/* Manual maintenance of ChangeLog.txt is deprecated. Please add a commit message instead, following this format: ``` module: add new feature * change this bit - add this bit ! fix this bit % optimize this bit ; comment, or just use `-` for any item. Ref: # Fixes # Closes # ``` Use 'add'/'fix'/etc. Not 'added', 'adding' or 'adds'. */ 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 2022-03-30 08:07 UTC-0300 Antonio Carlos Pantaglione (toninho/at/fwi.com.br) * contrib/hbmysql/mysql.c + add MYSQL_SET_CHARACTER_SET(), used to set the default character set. 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 part of the standard build process. It is built with -gc3 option as a static executable without MT. 2015-03-23 19:38 UTC+0100 Viktor Szakats * src/rtl/gtchrmap.c ! add missing cast 2015-03-23 18:56 UTC+0100 Viktor Szakats * contrib/gtwvw/gtwvwd.c * contrib/gtwvw/tooltip.c * contrib/gtwvw/wvwdraw.c * contrib/hbmemio/memio.c * contrib/hbmzip/3rd/minizip/minizip.dif * contrib/hbmzip/3rd/minizip/unzip.c ! fix problems detected by msvc * contrib/hbpost.hbm ! honor undocumented option to disable '-analyze' option for msvc 2015-03-23 17:56 UTC+0100 Viktor Szakats * appveyor.yml * cleanups 2015-03-23 17:44 UTC+0100 Viktor Szakats * appveyor.yml * increase clone depth to tolerate extra commits done while a CI build is running 2015-03-23 17:18 UTC+0100 Viktor Szakats * include/std.ch ! whitespace ! fix a merge regression * include/harbour.hbx * src/rtl/checkbox.prg * src/rtl/listbox.prg * src/rtl/pushbtn.prg * src/rtl/radiogrp.prg * sync casing of some internal functions with std.ch after merge 2015-03-23 16:50 UTC+0100 Viktor Szakats * config/postinst.hb * package/mpkg_win_nightly.bat * package/winuni/mpkg_win_uni.bat * use '7z' instead of '7za' to call 7-zip. It appears to be the more "standard" way, anyhow Harbour doesn't need any of the extra features of '7z', and '7z' is not a standalone exe, while '7za' is. % use maximum 7z compression for unified package * README.md * add p7zip to *nix tool list 2015-03-23 16:21 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/std.ch + added VIA and CODEPAGE parameters to SORT TO and TOTAL TO commands * formatting * include/hbsix.ch * synced SIX3 compatible SORT TO command with core SORT TO parameters 2015-03-23 16:15 UTC+0100 Viktor Szakats * appveyor.yml % disable contrib dlls to reduce build time % override build dir to reduce log output wrapping 2015-03-23 15:31 UTC+0100 Viktor Szakats * contrib/hbwin/hbwin.hbp * contrib/hbwin/win_proxyc.c * add option to disable winhttp.h header usage (some mingw distros don't have it, e.g. AppVeyor CI). Enabled with: set HBWIN_NO_WINHTTP_H=yes + replicate relevant winhttp.h options inside the source, so it can be built with C compilers offering outdated, incomplete Windows SDK headers. It is used for compilers known to fall into this category and when winhttp.h usage is manually disabled - see above. ; once the internal logic is proven to be good, it can be made the default and winhttp.h not required anymore. * appveyor.yml * enable HBWIN_NO_WINHTTP_H * package/winuni/mpkg_win_uni.bat * clean some more mingw stuff * internal improvement for sourcing mingw dlls 2015-03-23 15:03 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbapirdd.h * include/hbusrrdd.ch + added DBTF_RECALL flag which disables transferring record DELETED flag * src/rdd/dbcmd.c * src/rdd/workarea.c ! disable transferring DELETED flag to destination area in SORT TO / __dbArrange() operations * src/rdd/delim1.c * src/rdd/sdf1.c + added dummy RECALL() methods - now RECALL() can be executed by workarea TRANSREC() method when DBTF_RECALL flag is set 2015-03-23 11:00 UTC+0100 Viktor Szakats * config/win/msvc.mk + add undocumented option to disable '-analyze' option for msvc * appveyor.yml % suppress '-analyze' % do not build dynamic libs ; to try fitting the build into the time window 2015-03-23 04:31 UTC+0100 Viktor Szakats * config/postinst.hb * package/mpkg_win_nightly.bat * README.md % rework build scripts to use a single archiver tool: '7za' (was: a mixture of 7za/zip/unzip) % delete 'zip'/'unzip' tool from requirements/dependencies - delete section describing Harbour distro package creation on MS-DOS hosts. It's not supported anymore (could have been kept by keeping 'zip' dependency). 2015-03-23 03:32 UTC+0100 Viktor Szakats * src/rtl/gtwin/gtwin.c * 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:27 UTC+0100 Viktor Szakats * appveyor.yml + attempt to commit a working config * package/mpkg_win_nightly.bat ! fix folder name * README.md * favor posix-thread builds over win32-thread ones to go with the crowd + add link to win-builds.org ! casing * src/rtl/gtwin/gtwin.c % cleanup a #define spagetti * win-make.exe * updated from: https://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win32/Personal%20Builds/mingw-builds/4.9.2/threads-posix/sjlj/i686-4.9.2-release-posix-sjlj-rt_v4-rev2.7z 2015-03-22 23:01 UTC+0100 Viktor Szakats * appveyor.yml ! fix YAML structure * more experiments 2015-03-22 17:23 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rdd/dbf1.c * pacified warnings 2015-03-22 16:04 UTC+0100 Viktor Szakats * appveyor.yml * corrections 2015-03-22 15:28 UTC+0100 Viktor Szakats * appveyor.yml % enable shallow clone * more experiments * README.md * document recommended/supported mingw versions * update mingw64 homepage 2015-03-22 13:20 UTC+0100 Viktor Szakats * .travis.yml * and fail, no mariadb client found yet 2015-03-22 13:01 UTC+0100 Viktor Szakats * .travis.yml * another try 2015-03-22 12:56 UTC+0100 Viktor Szakats * .travis.yml * experimenting with mariadb * appveyor.yml * experimenting 2015-03-22 12:47 UTC+0100 Viktor Szakats * appveyor.yml * simplify for now * README.md + add AppVeyor badge 2015-03-22 12:33 UTC+0100 Viktor Szakats * .travis.yml * indentation * include/hbsetup.h * define HB_CPU_X84 as a future replacement for current HB_CPU_X86_64 * README.md ! typo + appveyor.yml + add AppVeyor CI config 2015-03-20 23:56 UTC+0100 Viktor Szakats * contrib/hbcurl/tests/email.prg * contrib/hbtip/tests/email.prg + allow custom hosts * clarify some terminology + merge (and revise) an upstream comment * contrib/hbwin/win_proxyc.c * internal rename 2015-03-21 12:54 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rdd/dbf1.c ! restored the line with initialization of allocated memory buffer I deleted by mistake removing my private comments before commit. Without this line sort could randomly crash on small tables (less then 65537 sorted records) 2015-03-20 16:34 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/Makefile - include/hbdbsort.h * src/rdd/Makefile - src/rdd/hbdbsort.c * src/rdd/dbf1.c - completely removed old code used in DBF* RDDs as low-level backend for SORT TO ... command and __dbArrange() function. It was buggy and extremely inefficient in some cases, i.e. after 20 hours I killed process which was sorting table with 2'000'000 records in reverted order so I cannot even say how much time it needed. * src/rdd/dbf1.c + added new code for table sorting in DBF* RDDs (SORT TO ... / __dbArrange() backend) New code fixes many different problems which existed in previous one like missing support for national collation, wrong descending orders, wrong sorting of numeric fields with negative values, missing support for sorting many field types, missing support for transferring MEMO fields, missing support for transferring records to table with different field structure or serving by different RDD, etc. New code is also many times faster then the old one. In practice it means is now usable for tables with more then few thousands records, i.e. the test table with 2'000'000 records I used with old code was copied in sorted order in 13 secs. when pure COPY TO needed 10 secs. Now it's possible to export sorted tables to different RDDs, i.e. using DELIM or SDF RDDs in desitnation area. New code is written in general form without any local to DBF* RDDs extensions so it can be adopted as base in any other RDD. Probably I'll move it to default workarea methods so it will be inherited by all Harbour RDDs and only if necessary authors of some RDDs may overload it, i.e. to move the operation to the server side in remote RDDs when source and destination tables are processed by the same server. This modification closes the last known for years bug or rather bag of bugs ;-) in Harbour. ; NOTE: For large tables new sorting algorithm may access source records more then once. It means that results may be wrongly sorted when sorted fields in exported records are modified concurrently by other station during exporting. This can be easy eliminated by copping source records to temporary file anyhow it will introduce additional overhead in all cases and user can easy eliminate the problem by simple FLOCK before sort or making export to temporary file and then sorting this file or he can simply ignore this problem as unimportant in the specific situation so I decided to not implement double copping. I haven't tested what Cl*pper exactly does in such case so I cannot say if current behavior is or isn't Cl*pper compatible. 2015-03-19 14:48 UTC+0100 Viktor Szakats * contrib/hbwin/win_proxyc.c ! fix to not fail with unsupported C compilers Fixes https://github.com/vszakats/hb/issues/113 2015-03-19 03:05 UTC+0100 Viktor Szakats * contrib/hbosx/proxy.prg + osx_ProxyDetect() extended to accept complete URL (was: protocol) * contrib/hbwin/win_proxy.prg ! win_ProxyDetect() param check and fix case-sensitivity in string comparison 2015-03-19 02:40 UTC+0100 Viktor Szakats * contrib/hbwin/hbwin.hbp * contrib/hbwin/hbwin.hbx + contrib/hbwin/win_proxyc.c + contrib/hbwin/win_proxy.prg + contrib/hbwin/tests/proxy.prg + add win_ProxyDetect( <cURL>, [@<cByPass>] ) -> <cProxyServer> Proxy detection for Windows (some C compilers may not support this, e.g. bcc55, watcom, tcc) * contrib/hbwin/wapi_secur32.c ! guard WAPI_GETUSERNAMEEX() for Tiny C * contrib/hbosx/proxy.prg * contrib/hbosx/proxyc.m * contrib/hbosx/tests/proxy.prg * rename osx_ProxyGet() to osx_ProxyDetect() [INCOMPATIBLE] 2015-03-18 23:16 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbrddcdx.h * src/rdd/dbfcdx/dbfcdx1.c % small speed improvement during indexing * casting * src/rdd/dbfnsx/dbfnsx1.c * src/rdd/dbfntx/dbfntx1.c * casting 2015-03-18 21:26 UTC+0100 Viktor Szakats * contrib/hbwin/wapi_secur32.c * don't ruin _WIN32_WINNT value if it's preset to a higher value than required for the Ugly Hack Ref https://github.com/vszakats/hb/issues/112 * contrib/hbwin/win_err.prg + win_ErrorDesc() add ERROR_WINHTTP_* codes 2015-03-18 18:08 UTC+0100 Viktor Szakats * contrib/hbwin/wapi_secur32.c * blindly tweaking the workaround for unsupported/buggy mingw distro Ref https://github.com/vszakats/hb/issues/112 2015-03-18 16:39 UTC+0100 Viktor Szakats * contrib/hbwin/wapi_secur32.c * add workaround for a very old bug (apparently not considered as such) in w32api package that comes with some (not recommended) mingw builds. Fixes https://github.com/vszakats/hb/issues/112 2015-03-18 13:25 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/teditor.prg ! resize missing text on line wrapping (issue #92) 2015-03-18 02:04 UTC+0100 Viktor Szakats * extras/gfspell/spell.prg ! DBF2Dic() generate proper temp filename instead of using a fixed name in cwd % use SWITCH * comment cleanup 2015-03-17 13:55 UTC+0100 Viktor Szakats * config/postinst.hb ! typo in prev 2015-03-17 13:54 UTC+0100 Viktor Szakats * config/postinst.hb * contrib/gtwvg/tests/_modal.prg * contrib/hbmysql/tmysql.prg * contrib/make.hb * extras/hbdoc/hbdoc.prg * src/rdd/hbsix/sxcompat.prg * utils/hbmk2/hbmk2.prg % use hb_AScanI() 2015-03-17 13:35 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rdd/workarea.c % small simplification 2015-03-17 12:55 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rdd/dbcmd.c ! fixed __dbArrange() to allow record transfer with the same conditions as __dbTrans() just like Cl*pper does. Low-level RDD code should respect it, i.e. it should be possible to sort using fields which exist only in source workarea, the order and number of fields in source and destination workareas can be completely different, etc. Low-level DBF* SORT() method is completely broken in such cases and has to be rewritten. 2015-03-17 04:45 UTC+0100 Viktor Szakats * contrib/hbxpp/xppopc.c * contrib/xhb/xhbmsgs.c * include/hbapi.h * src/vm/arrays.c + extend hb_arrayScan() with an additional fMatchCase argument * include/harbour.hbx * src/vm/arrayshb.c + add hb_AScanI() which is same as hb_AScan() but case-insentitive 2015-03-16 23:35 UTC+0100 Viktor Szakats * contrib/gtwvg/activex.prg * contrib/gtwvg/class.prg * contrib/gtwvg/combobox.prg * contrib/gtwvg/crt.prg * contrib/gtwvg/dataref.prg * contrib/gtwvg/pushbut.prg * contrib/gtwvg/statbar.prg * contrib/gtwvg/syswnd.prg * contrib/gtwvg/tabpage.prg * contrib/gtwvg/toolbar.prg * contrib/gtwvg/treeview.prg * contrib/gtwvg/wnd.prg * contrib/hbwin/win_tprn.prg * contrib/hbxpp/tthreadx.prg * contrib/xhb/trpc.prg * contrib/xhb/trpccli.prg % delete 'INIT NIL' from class definitions. NIL is the default value. 2015-03-16 23:00 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbtip/smtpcli.prg ! do not execute STARTTLS command if server does not report it's supported (issue https://github.com/harbour/core/issues/90) * src/rdd/dbcmd.c * use DBI_TRANSREC in __dbTrans() and __dbArrange() (pure record copping without sorting) ; Fixes https://github.com/vszakats/hb/issues/109 2015-03-15 19:46 UTC+0100 Viktor Szakats * package/mpkg_win_nightly.bat * package/winuni/mpkg_win_uni.bat % better batch comment style 2015-03-14 00:45 UTC+0100 Viktor Szakats * .travis.yml + try if gcc 4.9 accessible on Travis CI 2015-03-13 18:56 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbwin/win_bmp.c ! fixed copy and past typo in my last modification - thanks to Juan Francolino for reporting the problem and to Alexander Czjczyński for locating the reason. It closes issue #91. * contrib/hbtip/smtpcli.prg * be sure that server answer after HELO command (:open() method) is fully consumed * contrib/hbtip/sendmail.prg ! removed redundant waiting for sever answer after opening connection without authentication - it fixes timeout delay in such case ! do not create TIPClientSMTP() object twice when it's not necessary % small code simplification 2015-03-13 16:39 UTC+0100 Aleksander Czajczynski (hb fki.pl) * contrib/hbwin/win_bmp.c ! fix variable scope, win_LoadBitmapFile() code always returned empty string after a10bfbda4058e19a1a2373993f6f491174677851 2015-03-12 22:12 UTC+0100 Viktor Szakats - contrib/hbcity/* - delete hbcity. Its dependency was abandoned and taken over into a project called farmhash: https://code.google.com/p/farmhash/ * contrib/hbzebra/qrcode.c * update link 2015-03-12 09:41 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbtip/sendmail.prg ! fixed wrong login conditions - AICS it's old problem which had existed from very long time. * contrib/hbtip/smtpcli.prg ! eliminated redundant processing EHLO processing 2015-03-12 03:02 UTC+0100 Viktor Szakats * include/harbour.hbx * src/vm/cmdarg.c + add hb_ACmdLine() -> <array> returns the same array as hb_AParams() return in the entry function, but this one can be called in any function * utils/hbmk2/hbmk2.prg % minor optimization 2015-03-11 16:23 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbtip/hbtip.hbx * contrib/hbtip/httpcli.prg * contrib/hbtip/log.prg * contrib/hbtip/sessid.prg * contrib/hbtip/smtpcli.prg * contrib/hbtip/thtml.ch * contrib/hbtip/tip.ch * contrib/hbtip/url.prg * synced with Viktor's branch. 2015-03-10 19:58 UTC+0100 Viktor Szakats * contrib/hbtip/client.prg * contrib/hbtip/mailassy.prg * contrib/hbtip/mailsend.prg * finish merge/sync of 2015-03-10 18:06 UTC+0100 * contrib/hbtip/mail.prg - contrib/hbtip/sendmail.prg ! fix merge errors in prev 2015-03-10 18:06 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbtip/cgi.prg * contrib/hbtip/client.prg * contrib/hbtip/encb64.prg * contrib/hbtip/encoder.prg * contrib/hbtip/encqp.prg * contrib/hbtip/mail.prg * contrib/hbtip/sendmail.prg * synced manually with Viktor's branch (not all things). ; [vszakats] Manually, partial, pbly buggy and won't compile. * doc/xhb-diff.txt ! fixed few typos 2015-03-10 16:31 UTC+0100 Viktor Szakats * contrib/hbtip/mailsend.prg * contrib/hbtip/smtpcli.prg % optimizations 2015-03-10 01:42 UTC+0100 Viktor Szakats * README.md ! typo 2015-03-09 19:16 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbtip/smtpcli.prg ! consume whole EHLO output after STARTTLS 2015-03-09 18:33 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbtip/smtpcli.prg ! added missing space after AUTH PLAIN ! resend EHLO command after STARTTLS ; Thanks to Rolf for information about both problems. 2015-03-09 18:17 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbtip/client.prg * removed trailing spaces * contrib/hbtip/hbtip.hbp * contrib/hbtip/encurlc.c + contrib/hbtip/mime.c + contrib/hbtip/misc.c - contrib/hbtip/utils.c * synced with Viktor's branch * renamed some variables to follow rules used by Harbour % use binary search to locate mime extension * some minor cleanups and fixes 2015-03-09 15:08 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbtip/smtpcli.prg ! fixed typo in my previous commit ; [vszakats] not merged 2015-03-09 10:15 UTC+0100 Viktor Szakats * contrib/hbtip/smtpcli.prg ! reissue EHLO after switching to SSL in STARTTLS mode ! fix "AUTH PLAIN" command syntax in TIPClientSMTP():AuthPlain() confirmed by logic found in proper SMTP implementation (i.e. libcurl) ; both above suggested by Elch: https://groups.google.com/d/msg/harbour-devel/XWXbm1YVk54/0yesYr9lRMsJ 2015-03-07 22:26 UTC+0100 Viktor Szakats * CONTRIBUTING.md * README.md ! minor fixes * some styling 2015-03-07 20:38 UTC+0100 Viktor Szakats * contrib/hbwin/hbwin.ch ! prefix recently added constants with HB_; they aren't direct replicas of Windows constants * contrib/hbwin/win_tprn.prg * comments, whitespace 2015-03-07 20:16 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbtip/smtpcli.prg * synced with Viktor's branch - it should fix the problem with unconditional bind with HBSSL library after last Jean's patch. 2015-03-07 09:50 UTC+0100 Viktor Szakats * contrib/hbtip/mailsend.prg ! fix casing typo in comment from upstream 2015-03-06 19:40 UTC+0200 Viktor Szakats * contrib/hbhttpd/hbhttpd.hbp ! add hbtip as dependency Regression from 2014-07-15 13:29 UTC+0200 2015-03-06 19:28 UTC+0200 Viktor Szakats * src/3rd/pcre2/Makefile * pcre2 10.10 https://lists.exim.org/lurker/message/20150306.151512.10827001.en.html 2015-03-05 22:35 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rdd/dbf1.c ! do not refresh ModTime and RowVer fields just copied during transfer operation 2015-03-05 20:46 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbapi.h * src/vm/garbage.c + added hb_gcDummyClear() function * include/hbapirdd.h * include/hbusrrdd.ch + added DBTF_CPYCTR constant value - when set in dbTransInfo.uiFlags then after record transfer field counters should to be copied from source to destination area * include/hbapirdd.h * src/rdd/wafunc.c + added new C functions hb_dbTransInfoPut() and hb_dbTransInfoGet() which allow to store and retrieve pointer to DBTRANSINFO structure into/from HB_ITEM with strict type verification. * src/rdd/wafunc.c * pass pointer to DBTRANSINFO structure as argument of DBI_TRANSREC action. It allows RDD serving destination area to decide which fields and how should be transferred updating uiFlags, uiItemCount and lpTransItems members of DBTRANSINFO. If RDD removes all fields from DBTRANSINFO structure (uiItemCount==0) or does not return HB_SUCCESS for DBI_TRANSREC action (default WA implementation returns HB_SUCCESS so it's not necessary to overload it if RDD does not make any additional operations) then record transfer is interrupted. * copy field counters only when destination area asked about it setting DBTF_CPYCTR in dbTransInfo.uiFlags in DBI_TRANSREC action. * src/rdd/dbf1.c * do not copy automatically updated fields when destination area is not empty * set DBTF_CPYCTR to indicate that counters should be copied from source to destination area when original value of automatically updated fields are transferred ; Now DBF* RDDs in Harbour respects the following rules for record transfer operations (COPY TO / APPEND FROM) with automatically updated fields: - COPY TO transfers original values to destination table and finally copy counters from the source table to destination one so autoincrement fields in both tables after next append will be initialized with the same values regardless of number of copied records - even if only single record is copied then counters in destination table will inherit next values for new record from the source table. Also values of RowVer and ModTime fields are copied from source to destination table and not updated during transfer operation. - APPEND FROM works like COPY TO (original field values and then counters are copied to destination table) if the source table supports counters and destination table is empty and FLocked() or opened in exclusive mode. If source table does not support counters for given fields, i.e. it is processed by transfer RDD like DELIM or SDF (RDT_TRANSFER) or destination table is not empty or opened in shared mode and FLock is not set when APPEND FROM is executed then automatically updated fields (counters, RowVer, ModTime) are not copied and initialized with new values like for each new record added to destination table. * ChangeLog.txt ! typo in last ChangeLog entry 2015-03-04 11:18 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbapi.h ! fixed HB_ISMEMO() macro, original version was accepting the same items as HB_ISCHAR() so it was not compatible with ISMEMO() macro in Cl*pper. * src/rtl/valtype.c * use HB_ISMEMO() macro 2015-03-04 09:18 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rdd/dbf1.c * src/rtl/hbinet.c * pacified warnings (Thanks to Grigory) * src/rdd/dbcmd.c * src/rdd/wafunc.c * small code simplification and cleanup ! protection against GPF when wrong parameters are passed to __dbArrange() + added support for transferring records using __dbArrange() to area with different fields order (low-level driver may refuse to finish such operation but now it's possible. 2015-03-03 16:26 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/rddads/ads1.c ! use AdsSetLongLong() (if available) instead of AdsSetDouble() to not strip less significant bits from 64-bit integer number during conversion to double * allow ADS to decide if writing into rowver and modtime fields is legal instead of generating our own arbitrary RTE * include/dbinfo.ch * src/rdd/workarea.c + added new dbInfo() action DBI_TRANSREC It indicates if area is destination table of currently processed COPY TO or APPEND FROM operation. * include/hbapirdd.h * src/rdd/wafunc.c + added new C function: HB_ERRCODE hb_dbTransCounters( LPDBTRANSINFO lpdbTransInfo ); It copies field counters from source into destination table used in transfer operation. * src/rdd/dbcmd.c * src/rdd/wafunc.c + call DBI_TRANSREC to inform destination area that record transfer operation starts and stop. It allows destination RDD to change rules used for assign to automatically updated fields, i.e. unblock such operation. + call hb_dbTransCounters() to update counters in destination table after COPY TO operation * src/rdd/sdf1.c * src/rdd/delim1.c * clear AutoInc flag * src/rdd/dbf1.c + allow to set get and set counter for RowVer fields using DBS_COUNTER action * return HB_FAILURE for DBS_COUNTER and DBS_STEP if it's not supported by given field. + added support for DBI_TRANSREC - in case of DBF* RDDs it unblocks writing to automatically updated fields 2015-03-03 15:57 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/gtalleg/gtallegd.c * contrib/gtqtc/gtqtc1.cpp * contrib/hbblink/blinker.prg * contrib/hbbz2/core.c * contrib/hbcomio/comio.c * contrib/hbsqlit3/core.c * contrib/hbtcpio/tcpio.c * contrib/rddads/adsfunc.c * synced with Viktor's branch (formatting, macros instead of constant values, protection against wrong paramters, use *EVALITEM macros, use HB_ERR_ARGS_BASEPARAMS, ...) * contrib/hbsqlit3/core.c * contrib/hbsqlit3/hbsqlit3.hbx + add sqlite3_load_extension( <db>, <cModule>, [<cProc>], [@<cError>] ) -> <nResult> (borowed from Viktor's branch 2015-02-15 19:18 UTC+0100 Viktor Szakats) 2015-03-03 00:53 UTC+0100 Viktor Szakats * contrib/hbhpdf/tests/harupdf.prg * use constant 2015-03-02 23:56 UTC+0100 Viktor Szakats * contrib/hbcurl/hbcurl.ch * contrib/hbcurl/ver.c + add HB_CURLVERINFO_LEN constant * use recently added constants in wrapper code 2015-03-02 18:01 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbssl/ssl_inet.c ! restored comment begin token removed by mistake in my last commit 2015-03-02 16:38 UTC+0100 Viktor Szakats * contrib/hbcurl/hbcurl.ch * update copyright years 2015-03-02 16:08 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/hbinet.c * contrib/hbssl/ssl_inet.c ! fixed unfinished code with error code translation - thanks to Abe 2015-03-02 14:45 UTC+0100 Viktor Szakats * src/rtl/hbinet.c ! fix typo after bcbd37990b492f756c0c49d97cf06963bc8daaa1 Suggested fix by Abe https://groups.google.com/d/msg/harbour-devel/pwH8tl9kmTg/P2D2oLjU2jQJ Fixes https://github.com/vszakats/hb/issues/108 2015-03-02 14:03 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg % minor optimization 2015-02-27 10:51 UTC+0100 Viktor Szakats * README.md + add pcre2 to the list of Homebrew packages 2015-02-27 10:13 UTC+0100 Viktor Szakats * contrib/hbcurl/easy.c * update copyright year * contrib/hbwin/wapi_secur32.c ! fix function call position Fixes https://github.com/vszakats/hb/issues/107 2015-02-26 10:11 UTC+0100 Viktor Szakats * contrib/3rd/sqlite3/sqlite3.hbp * contrib/3rd/sqlite3/sqlite3.dif * contrib/3rd/sqlite3/* * update sqlite3 to https://sqlite.org/releaselog/3_8_8_3.html 2015-02-26 10:07 UTC+0100 Viktor Szakats * contrib/rddads/adsx.c ! delete local guard after merge 2015-02-26 09:36 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/rddads/ads1.c * removed unnecessary casting * contrib/rddads/adsx.c ! fixed to work with ACE < 6.1 2015-02-26 02:52 UTC+0100 Viktor Szakats * contrib/sddoci/core.c ! restore two local modifications lost after the previously committed merge 2015-02-25 22:06 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbodbc/odbc.c * contrib/hbodbc/sql.ch * minor formatting to sync with Viktor's branch + added missing defines from Viktor's branch * contrib/rddads/ads.ch * contrib/rddads/adsfunc.c + added AdsStmtSetTableReadOnly( <nMode> ) -> <lSuccess> (From Viktor's branch: 2015-01-21 18:43 UTC+0100 Viktor Szakats) + added ADS_REFRESHCOUNT constant and AdsGetRecordCount( [<nHandleType:ADS_TABLE>], ; [<nFilterOption:ADS_RESPECTFILTERS>], @nCount ) -> <nErrorCode> (From Viktor's branch: 2014-01-19 13:42 UTC+0100 Viktor Szakats) ! fixed connection handle parameter position in AdsDDRemoveTable() It was 4th: AdsDDRemoveTable( <cTableName>, <deleteFile>, , [ <nConnection> ] ) -> <lResult> Now is 3rd: AdsDDRemoveTable( <cTableName>, <deleteFile>, [ <nConnection> ] ) -> <lResult> (From Viktor's branch: 2014-01-14 23:53 UTC+0100 Viktor Szakats) * contrib/rddads/rddads.h + autodetection support for 11.10 (From Viktor's branch: 2013-12-26 01:22 UTC+0100 Viktor Szakats) * contrib/rddads/adsx.c * use hb_xgrabz() * formatting * contrib/rddsql/hbrddsql.h * contrib/rddsql/sqlbase.c * added const qualifier to SDD method pointer in SQLBASEAREA * declare default SDD method table with const qualifier * added s_ prefix to the name of static variable with SDD methods % optimized GOHOT() method * use hb_xgrab() instead of hb_xalloc() to force error when out of memory * use hb_xgrabz() * contrib/rddsql/sqlmix.c * use hb_xgrabz() * contrib/sddfb/core.c * added s_ prefix to the name of static variable with SDD methods % removed unnecessary memset() % optimized GOTO() method ! fixed very bad typo in record set resizing - for each record 64 dummy items were added to array with records so finally this array was 64 times longer then necessary. * contrib/sddmy/core.c * added s_ prefix to the name of static variable with SDD methods + added new field types from from Viktor's branch * use hb_xgrabz() % removed redundant comparison to NULL * contrib/sddoci/core.c * added s_ prefix to the name of static variable with SDD methods * check OCI_Initialize() result and generate error if fails (synced with Viktor's branch) * minor formatting to sync with Viktor's branch % removed unnecessary memset() % optimized GOTO() method ! fixed very bad typo in record set resizing - for each record 64 dummy items were added to array with records so finally this array was 64 times longer then necessary. * contrib/sddodbc/core.c * replaced unnecessary hb_xgrabz() with hb_xgrab() ! fixed very bad typo in record set resizing - for each record 64 dummy items were added to array with records so finally this array was 64 times longer then necessary. * contrib/sddpg/core.c * added s_ prefix to the name of static variable with SDD methods * use hb_xgrabz() * contrib/sddsqlt3/core.c * added s_ prefix to the name of static variable with SDD methods * minor formatting to sync with Viktor's branch ! fixed memory leak when RTE ESQLDD_STMTALLOC is generated (fix from Viktor's branch) % removed unnecessary memset() ! fixed very bad typo in record set resizing - for each record 64 dummy items were added to array with records so finally this array was 64 times longer then necessary. 2015-02-26 01:16 UTC+0100 Viktor Szakats * contrib/hbmisc/numtxtde.prg ! fix typo. Thanks to Elch. * contrib/rddads/rddads.h ! fix ADS version detection when built against 6.12 headers. previously it was detected as 6.20, but some 6.20 features are obviously missing from 6.12 headers, causing build errors. ; NOTE: 6.12 headers used for testing are only _likely_ to be 6.12, if someone has the original ones, pls send them. Original 6.10 headers are also wanted. * contrib/rddads/adsfunc.c + enable a feature for ADS 6.1x which was previously only enabled for 6.20 * contrib/rddads/adsx.c ! fix regression causing a build error when built against ADS version older than 6.1x, since: 2014-03-13 18:40 UTC+0200 Mindaugas Kavaliauskas ; NOTE: this update fixes the build but logic in adsxOrderCreate() might need further updates. [DONE] 2015-02-25 18:23 UTC+0100 Viktor Szakats + contrib/hbmisc/numtxtde.prg + add NumToTxtDE() function, thanks to Elch https://groups.google.com/d/msg/harbour-users/DwsGyuHMOW0/Zba1sL8UccMJ * contrib/hbmisc/hbmisc.hbp * contrib/hbmisc/hbmisc.hbx + contrib/hbmisc/tests/numtxtde.prg + add to build and add test for above function 2015-02-24 19:21 UTC+0100 Viktor Szakats * contrib/sddfb/core.c * contrib/sddmy/core.c * contrib/sddoci/core.c * contrib/sddodbc/core.c * contrib/sddpg/core.c ! clear dbFieldInfo structure before use - it resolves problems with random field flags caused by uninitialized uiFlags member * contrib/sddodbc/core.c + added support for NULLABLE, UNICODE and BINARY field flags + added support for SQL_BINARY fields ! fixed SQL_TIME mapping to Harbour field types. It was mapped as HB_FT_DATE instead of HB_FT_TIME. ! fixed extracting integer values on on platforms where long int is 64-bit integer (in practice all 64-bit *nixes). SQL_C_LONG should be used with SQLINTEGER not 'long int'. ; manual sync with: 2015-02-24 17:49 UTC+0100 Przemyslaw Czerpak https://github.com/harbour/core/commit/0198c7a72924d423136249adb24e6f414fd62fe1 2015-02-24 19:08 UTC+0100 Viktor Szakats * contrib/hbodbc/todbc.prg * rename vars to stay in sync with upstream * TODBC():LoadData() set width/decimals for integers too This version will pad varchars and fill exceptions with spaces instead of NILs to support hb_odbcBrowse() functionality It also kept a fix related to non-integer nPos values [vszakats] % few small optimization and casing usually based on Viktor's branch BTW pre incrementations/decrementations used in PUSH context are faster then post ones. * contrib/hbodbc/odbc.c + add support for different data types in SQLGetData() The original version was returning different types in their binary representation. Current implementation is based on similar one from Viktor's branch (2014-07-06 16:40 UTC+0200 Viktor Szakats) with small but important fixes. ! modified hb_odbcNumSetLen() to not break 64-bit integers by casting to double value ; mostly manual sync with: 2015-02-24 17:49 UTC+0100 Przemyslaw Czerpak https://github.com/harbour/core/commit/0198c7a72924d423136249adb24e6f414fd62fe1 2015-02-24 18:24 UTC+0100 Viktor Szakats * contrib/sddfb/core.c * contrib/sddmy/core.c * contrib/sddoci/core.c * contrib/sddodbc/core.c * contrib/sddpg/core.c * contrib/sddsqlt3/core.c * rename var to stay in sync with upstream https://github.com/harbour/core/commit/0198c7a72924d423136249adb24e6f414fd62fe1 2015-02-24 17:49 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/sddfb/core.c * contrib/sddmy/core.c * contrib/sddoci/core.c * contrib/sddodbc/core.c * contrib/sddpg/core.c * contrib/sddsqlt3/core.c ! clear dbFieldInfo structure before use - it resolves problems with random field flags caused by uninitialized uiFlags member * minor cleanup in variable names * use hb_xgrabz() * contrib/sddodbc/core.c + added support for NULLABLE, UNICODE and BINARY field flags + added support for SQL_BINARY fields ! fixed SQL_TIME mapping to Harbour field types. It was mapped as HB_FT_DATE instead of HB_FT_TIME. ! fixed extracting integer values on on platforms where long int is 64-bit integer (in practice all 64-bit *nixes). SQL_C_LONG should be used with SQLINTEGER not 'long int'. * contrib/hbodbc/odbc.c + add support for different data types in SQLGetData() The original version was returning different types in their binary representation. Current implementation is based on similar one from Viktor's branch (2014-07-06 16:40 UTC+0200 Viktor Szakats) with small but important fixes. ! modified hb_odbcNumSetLen() to not break 64-bit integers by casting to double value * contrib/hbodbc/sql.ch + added SQL_WCHAR * contrib/hbodbc/todbc.prg + use extended SQLGetData() and hb_odbcNumSetLen() functionality to extract ODBC data % few small optimization and casing usually based on Viktor's branch BTW pre incrementations/decrementations used in PUSH context are faster then post ones. 2015-02-24 11:14 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/gtxwc/gtxwc.c ! fixed GPF when empty window title is set and then retrieve - thanks to Teo. 2015-02-24 01:32 UTC+0100 Viktor Szakats * contrib/hbcurl/hbcurl.ch + add HB_CURLVERINFO_* constants (Harbour-only) * contrib/hbcurl/tests/email.prg * contrib/hbcurl/tests/ftp_uldl.prg + use HB_CURLVERINFO_* constants 2015-02-23 23:27 UTC+0100 Viktor Szakats * contrib/xhb/hbcompat.ch + translate Alert() to hb_Alert() for xhb sources and vice versa 2015-02-23 21:01 UTC+0100 Viktor Szakats * contrib/hbwin/tests/nameex.prg + show last error * contrib/hbwin/wapi_secur32.c ! wapi_GetUserNameEx() manually reset error code before call (Windows doesn't seem to do it) ! wapi_GetUserNameEx() check error code to decide if succeeded, (Windows sets the function return value inconsistently) ! wapi_GetUserNameEx() set last error when function not available * include/hbapi.h * src/rtl/hbgtcore.c + add and use hb_xreallocz() macro 2015-02-23 20:27 UTC+0100 Viktor Szakats * contrib/hbwin/hbwin.ch * contrib/hbwin/hbwin.hbp * contrib/hbwin/hbwin.hbx + contrib/hbwin/wapi_secur32.c + contrib/hbwin/tests/nameex.prg + add WIN_ENF_* constants + add wapi_GetUserNameEx( <nFormat>, <@cName> ) -> <lSuccess> https://msdn.microsoft.com/library/ms724435 2015-02-23 19:32 UTC+0100 Viktor Szakats * contrib/hbodbc/todbc.prg % minor optimizations based on https://github.com/harbour/core/commit/0bcc223b1494e9bbc74ed61cfa7b2a10ce4e0cb8#diff-2201d924825b96772a4411cc7ebe0257 2015-02-23 17:47 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbodbc/odbc.c * rewritten function SQLGetData() - new code is much simpler and fixes few bugs ; [REJECTED] Fork has a solution for this, upstream is not a clear step forward. It may contain parts adaptable but with no clear way to decide or merge. In fork SQLGetData() will return the proper type, while in upstream it will always return a string which is tweaked by the TODBC object layer. Fork supports more type and UNICODE. See also: 2014-07-06 16:40 UTC+0200 Viktor Szakats [vszakats] * contrib/hbodbc/todbc.prg % eliminated unnecessary AAdd() when final array size is already known ! do not round numbers read number to default number of decimal places ; [REJECTED] Fork has a solution for this, upstream is not a clear step forward. [vszakats] ; Here's the upstream diff for future reference: https://github.com/harbour/core/commit/0bcc223b1494e9bbc74ed61cfa7b2a10ce4e0cb8 2015-02-23 15:54 UTC+0100 Viktor Szakats * contrib/hbtip/smtpcli.prg ! fix TIPClientSMTP():StartTLS() to check if the SSL backend is linked before calling SSL functions Should fix https://github.com/vszakats/hb/issues/106 Regression from https://github.com/vszakats/hb/commit/19a1fdb52d3b675b6f13f9c14c683d346f3ecfce * contrib/gtwvg/wvgwing.c * standardize var name * contrib/gtwvw/tooltip.c * extras/gfspell/spellc.c * cleanup * contrib/gtwvw/wvwutils.c ! WVW_ADDTOOLTIPEX() add missing TOOLINFO structure size * package/winuni/mpkg_win_uni.bat % delete alternate CPU target and other non-essential parts of mingw64/nixman distros 2015-02-21 15:33 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * ChangeLog.txt * src/compiler/hbmain.c * src/nortl/nortl.c ! save and restore SETs which can be modified by -fn[:[l|u]|-], -fd[:[l|u]|-], -fp[:<char>] and -fs[-] compiler flags. It fixes problem with HBMK2 so now above switches can be used with HBMK2. 2015-02-21 14:34 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rdd/delim1.c * src/rdd/sdf1.c ! disabled code which allows to delete just added record. It was not Cl*pper compatible and caused bad side effects in COPY TO ... DELIM | SDF - deleted records were nor copied 2015-02-21 13:07 UTC+0100 Viktor Szakats * include/hbsetup.h * update broken link 2015-02-21 12:40 UTC+0100 Viktor Szakats * contrib/hbwin/olecore.c * contrib/hbwin/hbwin.hbx + win_oleClassExists( <cOleName | cCLSID> ) -> <lExists> (based on xHarbour, but rewritten) * contrib/xhb/xhbolec.c * contrib/xhb/xhb.hbx + add compatibility wrapper for above: IsOleObjectRegistered() 2015-02-20 11:40 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbssl/bio.c * contrib/hbssl/err.c * contrib/hbssl/evpciph.c * contrib/hbssl/evpmd.c * contrib/hbssl/hbssl.ch * contrib/hbssl/hbssl.hbc * contrib/hbssl/hbssl.hbm * contrib/hbssl/hbssl.hbx * contrib/hbssl/pem.c * contrib/hbssl/rand.c * contrib/hbssl/ssl.c * contrib/hbssl/ssl_hb.c * contrib/hbssl/sslctx.c * contrib/hbssl/x509.c ; synced with Viktor's branch: * favor openssl over libressl on darwin (2015-01-22 03:24 UTC+0100) * build against libressl on darwin, if installed (2015-01-22 03:24 UTC+0100) * deleted custom openssl option 'OPENSSL_NO_SEED' on darwin. (2015-01-22 03:24 UTC+0100) + AES/GCM ciphers added (couldn't make them work) (2014-12-26 01:53 UTC+0100) + added BIO_GET_CONN_INT_PORT() It's now fixed in OpenSSL, available in hbssl with OpenSSL 1.0.1 or upper (2014-03-03 00:45 UTC+0100) ! BIO object is now GC collected, solving the leak and hopefully some remaining memory problems around BIO_NEW_MEM_BUF() (2014-02-26 04:54 UTC+0100) ! SSL_SET_BIO(): fixed 3rd parameter (2014-02-26 04:54 UTC+0100) ! BIO_NEW_MEM_BUF(): fixed potential use-after-free. (2014-02-24 16:02) * formating and comments 2015-02-20 10:53 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbodbc/odbc.c * contrib/sddodbc/core.c * updated to compile with UnixODBC 2.2.0 I slightly changed one #if condition used to define SQLTCHAR. If it interacts with some other old UnixODBC version then please let me know. 2015-02-20 01:26 UTC+0100 Viktor Szakats * contrib/hbssl/err.c * contrib/hbssl/evpciph.c * contrib/hbssl/evpmd.c * return the same value types (ideally an error code / empty value) when function is not available in linked OpenSSL version * return NIL only when ctx variable is invalid * contrib/hbtip/popcli.prg * init variable before comparing it to a string 2015-02-19 23:10 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbssl/hbssl.h * added HB_SSL_CONST macro which can be used instead of 'const' qualifier to pacify "discards qualifier 'const'" warnings in OpenSSL versions prior 0.9.8 * contrib/hbssl/evp.c * contrib/hbssl/evpciph.c * contrib/hbssl/evpenc.c * contrib/hbssl/evpmd.c * contrib/hbssl/ssl.c * contrib/hbssl/sslctx.c * use HB_SSL_CONST macro to pacify warnings in 0.9.6 and 0.9.7 OpenSSL versions ; Now HBSSL compiles cleanly without any warnings with different OpenSSL final versions starting with 0.9.6 2015-02-19 13:15 UTC-0800 Pritpal Bedi (bedipritpal/at/hotmail.com) * contrib/hbtip/popcli.prg + Added: following convinient methods: METHOD getTop( nMsgId, lAsArray ) -> arrayOrStringOfHeaderOF_nMsgId METHOD getMessageRaw( nMsgId, lAsArray ) -> arrayOrStringOfEntireMessageOF_nMsgId METHOD getBody( nMsgId, lAsArray ) -> arrayOrStringOfMessageBodyOF_nMsgId METHOD getSubject( nMsgId ) -> cSubjectLineOF_nMsgId ; delete 'lAsArray' parameters. It's trivial to convert a multiline string to an array on the caller side. [vszakats] ; cleanups [vszakats] 2015-02-19 13:09 UTC-0800 Pritpal Bedi (bedipritpal/at/hotmail.com) * contrib/gtwvg/gtwvgd.c * contrib/gtwvg/gtwgud.c ! Fixed: a bug which was causing HB_GTI_SETPOS_XY/ROWCOL returning wrong values in case it is called as GET method. 2015-02-19 20:20 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbssl/evpciph.c * contrib/hbssl/hbssl.h ! added missing protection for EVP_rc5_32_12_16_cfb64() * cleaned version macro usage to not force final versions until beta ones is not confirmed to be broken 2015-02-19 19:42 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbssl/bio.c * contrib/hbssl/err.c * contrib/hbssl/evpciph.c * contrib/hbssl/evpmd.c * contrib/hbssl/hbssl.h * contrib/hbssl/ssl.c * contrib/hbssl/ssl_inet.c ! fixed compilation with older OpenSSL versions. Now minimum supported version of OpenSSL is 0.9.6. I tested current code only with finals releases (such releases have 'f' as last hex digit in OPENSSL_VERSION_NUMBER) so it's possible that some beta release may need additional tunes but now adopting the code should be quite easy job for anyone who need to use such OpenSSL version and has same very basic C knowledge. When older OpenSSL versions are used then warnings: "passing arg X discards qualifier 'const' from pointer target type" can appear. I didn't pacified them to not hide some possible bugs in the future though it breaks C++ compilation so maybe I'll add such casting using macro redefined only for older versions. ; [TODO] check if HB_OPENSSL_OLD_OSX_ macro is still required and if not then remove it. Maybe also other DARWIN macros can be removed. 2015-02-19 18:09 UTC+0100 Viktor Szakats * CONTRIBUTING.md + mention hbcompat.ch (part of xhb lib, but anyway) to be excluded from self-contained examples 2015-02-19 15:29 UTC+0100 Viktor Szakats * contrib/gtqtc/gtqtc.hbp * update QT release URL 2015-02-19 10:02 UTC+0100 Viktor Szakats * bin/harbour.ucf ! resolve one remaining duplicate setting 2015-02-19 10:01 UTC+0100 Viktor Szakats * bin/harbour.ucf ! resolve duplicate settings 2015-02-19 00:24 UTC+0100 Viktor Szakats * contrib/sddoci/sddoci.hbp * link to native domain instead of sf.net 2015-02-19 00:04 UTC+0100 Viktor Szakats * contrib/hbmzip/3rd/minizip/minizip.hbp * src/3rd/zlib/Makefile * use native links instead of sf.net mirrors 2015-02-18 23:52 UTC+0100 Viktor Szakats * bin/3rdpatch.hb * src/3rd/pcre/Makefile * src/3rd/pcre2/Makefile * src/3rd/png/Makefile * use native links instead of sf.net mirrors % use .tar.bz2 where available 2015-02-18 23:39 UTC+0100 Viktor Szakats * README.md * update CVS repo to Git for make 2015-02-18 23:24 UTC+0100 Viktor Szakats * contrib/hbtip/thtml.ch * contrib/hbtip/thtml.prg * extras/hbxlsxml/hbxlsxml.hbc * src/rtl/base64d.c * update links 2015-02-18 22:59 UTC+0100 Viktor Szakats * contrib/xhb/xhbkey.c ! whitespace 2015-02-18 18:03 UTC+0100 Viktor Szakats * contrib/xhb/fparse.c % delete unnecessary parenthesis * package/winuni/mpkg_win_uni.bat * avoid some warnings 2015-02-18 10:40 UTC+0100 Viktor Szakats * contrib/hbwin/tests/pdfcreat.prg ! update broken link ! delete link to malware/adware infested installer download 2015-02-18 10:32 UTC+0100 Viktor Szakats * extras/gfspell/gfspell.hbc * extras/hbusb/hbusb.hbc * extras/hbvpdf/hbvpdf.hbc * extras/hbxlsxml/hbxlsxml.hbc * extras/ps32/ps32.hbc * extras/rddado/rddado.hbc * extras/superlib/superlib.hbc + add descriptions * contrib/hbtip/thtml.ch * contrib/hbtip/thtml.prg * extras/hbxlsxml/tests/example.prg * extras/hbxlsxml/tests/example2.prg * extras/hbxlsxml/tests/example3.prg * extras/hbxlsxml/xlsxml_s.prg * extras/hbxlsxml/xlsxml_y.prg * extras/hbxlsxml/xlsxml.prg ! fix few casing typos * reduce number of sourceforge links (they tend to be down a lot) 2015-02-18 10:20 UTC+0100 Viktor Szakats * contrib/hbhpdf/errstr.prg % deleted redundant and now dead link 2015-02-17 21:48 UTC+0100 Viktor Szakats * contrib/xhb/hbcompat.h + add more C-level compatibility translations for xHarbour 2015-02-17 18:47 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/gtwin/gtwin.c * use VK_MENU macro instead of direct value and do not check VirtualScanCode in hack for ALT+<keypadnums,...> input 2015-02-17 17:57 UTC+0100 Viktor Szakats * package/winuni/mpkg_win_uni.bat % deleted commented line related to old TDM mingw release 2015-02-17 17:44 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * package/harb_win.mft * package/harb_win.rc * bumped copyright year to 2015 * package/mpkg_win_nightly.bat * package/winuni/mpkg_win_uni.bat * enclosed paths in "" for names with spaces 2015-02-17 17:22 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rdd/dbf1.c * modified code which tries to detect if field flags were used in DBF header for autoinc numeric fields 2015-02-17 16:35 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rdd/dbf1.c + added support for autoincrement fields with counter longer then 4 bytes Warning: if someone created tables with such fields i.e. { "I:+", 8, 0 } after my modification which added support for AutoInc flags in all numeric DBF fields then he should update counters manually using DBS_COUNTER flag. New code uses 64-bit counters for such field located in different part of DBFFIELD structure. 2015-02-17 13:28 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/compiler/cmdcheck.c ! fixed error messages when wrong parameters are passed. When wrong parameters are taken from HARBOURCMD or CLIPPERCMD "Bad command line option '%s'" error is generated and "Bad command line parameter '%s'" when wrong parameters are from command line. New behavior is Cl*pper compatible. 2015-02-17 12:06 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbssl/tests/inetssl.prg * contrib/rddads/ads1.c * src/rtl/teditor.prg * formatting of my recent modifications taken from Viktor's branch * src/common/hbfsapi.c * src/compiler/complex.c * formatting * include/hbset.h * src/vm/set.c * src/nortl/nortl.c + add new C functions to change HVM set values: hb_setSetFileCase(), hb_setSetDirCase(), hb_setSetDirSeparator(), hb_setSetTrimFileName() * include/hbcomp.h * include/hbcompdf.h * src/compiler/cmdcheck.c * src/compiler/hbmain.c * src/compiler/ppcomp.c * src/compiler/genc.c * src/compiler/hbusage.c * src/nortl/nortl.c * rewritten code used to parse command line and environment parameters. New code is covered by GPL + Harbour exception license. All parameters are decoded by only one function and whole code is smaller so it's much easier to modify this code. ! fixed some small bugs and incompatibilities with Cl*pper in parameter parsing ! fixed -y undocumented (YYDEBUG) switch - removed -x[<prefix>] set symbol init function name prefix (for .c only) compiler command line switch * moved -fn[:[l|u]|-] -fd[:[l|u]|-] -fp[:<char>] and -fs[-] switches parsing to core compiler library. Now these switches are also works with compiler library linked with HBMK2. ; FIXME: HBMK2 ignores -fn/-fd switches and allocates temporary names which are not compatible with names used later by harbour compiler when above switches are activated. HBMK2 should parse parameters and update SET FILECASE / SET DIRCASE before it creates temporary files [fixed by compiler modification] 2015-02-16 16:44 UTC+0100 Viktor Szakats * tests/rto_get.prg * tests/rto_tb.prg ! whitespace 2015-02-16 13:20 UTC+0100 Viktor Szakats * doc/xhb-diff.txt * restore original break block (it's automatically converted to __BreakBlock() by latest version of compiler) https://github.com/vszakats/hb/commit/54b5b54d76d3e4e9a87fc5c479407364169f266d#commitcomment-9760483 2015-02-16 08:36 UTC+0100 Viktor Szakats * src/rtl/teditor.prg ! whitespace 2015-02-16 07:26 UTC+0100 Viktor Szakats * contrib/hbhttpd/core.prg * contrib/hbmisc/udpds.prg * contrib/hbnetio/utils/hbnetio/netiomgm.hb * contrib/hbtest/core.prg * contrib/hbtip/mailsend.prg * contrib/hbtip/tests/dbtohtml.prg * contrib/hbtip/thtml.prg * contrib/hbwin/tests/ole.prg * contrib/hbwin/tests/olesrv1.prg * contrib/xhb/hbcompat.ch * contrib/xhb/xdbmodst.prg * contrib/xhb/xhbole.prg * doc/pp_prg.txt * doc/xhb-diff.txt * extras/httpsrv/uhttpd.prg * extras/rddado/ado.prg * src/debug/dbgtarr.prg * src/debug/dbgthsh.prg * src/debug/dbgtobj.prg * src/debug/debugger.prg * src/rtl/tpersist.prg * tests/clsccast.prg * tests/fuzz.prg * tests/macro.prg * tests/ppmacro.prg * tests/use.prg * utils/hbmk2/hbmk2.prg % use __BreakBlock() * tests/clipper.ch + add translation for __BreakBlock() * contrib/hbtest/core.prg * delete unnecessary ErrorBlock() call * utils/hbtest/hbtest.prg * var name cleanup 2015-02-15 23:44 UTC+0100 Viktor Szakats * contrib/hbssl/ssl_inet.c * contrib/hbssl/tests/inetssl.prg * contrib/rddads/ads1.c * src/codepage/cpfr850.c * src/codepage/cpfr850c.c * minor cleanups and formatting after merge 2015-02-15 23:05 UTC+0100 Viktor Szakats * contrib/hbtip/mailsend.prg * update tip_MailSend() to allow STARTTLS on port 587 * contrib/hbtip/client.prg * move SSL connect code to __tip_SSLConnectFD( ssl, fd ) * change all actual ref of 'TLS' to 'SSL' to distinguish it from STARTTLS * rename TIPClient():EnableTLS() to :EnableSSL() [INCOMPATIBLE] ; correct terminology is SSL (or TLS) for port 465 mode and STARTTLS for port 587 mode [vszakats]) * contrib/hbtip/smtpcli.prg + add TIPClientSMTP():StartTLS() to allow starting SSL after receiving the STARTTLS command only + add TIPClientSMTP():DetectSecurity() to detect authentication methods reading 250-xxx lines * contrib/hbtip/tests/email.prg + add STARTTLS examples [vszakats] ; manual recreation of upstream patch: 2015-01-29 23:55 UTC+0100 Jean Lefebvre (jfl/at/mafact.com) https://github.com/harbour/core/commit/873c60d54fe8d22d69dadc4a9caf526e739b64fd Related: https://github.com/vszakats/hb/issues/87 https://github.com/vszakats/hb/issues/84 [vszakats] 2015-02-15 19:21 UTC+0100 Viktor Szakats * contrib/hbsqlit3/core.c ! whitespace 2015-02-15 19:18 UTC+0100 Viktor Szakats * contrib/3rd/sqlite3/sqlite3.hbp * contrib/3rd/sqlite3/sqlite3.dif * contrib/3rd/sqlite3/* * update sqlite3 to https://sqlite.org/releaselog/3_8_8_2.html * contrib/hbsqlit3/core.c * contrib/hbsqlit3/hbsqlit3.hbx + add sqlite3_load_extension( <db>, <cModule>, [<cProc>], [@<cError>] ) -> <nResult> * src/Makefile * src/rtl/hbregexc.c ! build fixes for pcre2 2015-02-15 21:31 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rdd/dbf1.c * slightly modified code which tries to detect if field flags were used in DBF header 2015-02-15 20:44 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/common/hbdate.c ! fixed rounding negative UTC offsets in MS-Windows builds. It should fix issue #89. 2015-02-15 20:23 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/gtwin/gtwin.c * added hack to process characters generated without keydown event. It should fix issue #86. 2015-02-13 17:08 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/mlcfunc.c ! fixed MPosToLC() results for position in last line which have to be moved after analyzing rest of line due to word wrapping. * src/rtl/teditor.prg * rewritten whole internal code critical for basic functionality. + resolved the problem with keycode conflicts for GTs which support extended keycodes. + added support missing MemoEdit() editor functionality. ; Number of bugs and mistakes was too big to try to update it. New code is smaller and simpler. I tried to keep compatibility with previous version and added to new version most of "helper" methods which are not used in MemoEdit() at all anyhow I cannot guaranty that all existing code using TEditor will work without modifications, i.e. I had to remove :SetPos() and all logic bound with it because it was to hard for my brain to understand this idea and/or functionality. If someone needs strict compatibility with previous version then he should add to his source code copy of old code. Current code should addressed most of MemoEdit() problems with text formatting and editing reported in the past though probably not all. I have no spare time for precise tests of Cl*pper's MemoEdit(). ; [MINOR INCOMPATIBILITIES:] - cursor state is altered in :New() method * src/rtl/memoedit.prg * overload :InsertState() method to show <insert> SCOREBOARD message * changed "Abort Edit? (Y/N)" message position to be Clipper compatible * removed redundant keycode comparison * do not ::SetPos HBEditor method - this method has been removed [INCOMPATIBLE] 2015-02-11 19:59 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * ChangeLog.txt ! typo in issue number 2015-02-11 18:48 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/mlcfunc.c * modified unpadded MemoLine() mode to return last blank character in the line * src/rtl/teditor.prg ! fixed typo in MemoLine() parameters + added lSoftCR parameter to GetText() - when it's true returned text contains SoftCRs * src/rtl/memoedit.prg ! return text with SoftCRs - Cl*pper compatible ; Above modifications fix initial and result text formatting in MemoEdit() (#84) 2015-02-11 13:10 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * package/harbour-wce.spec.in * package/harbour-win.spec.in * package/harbour.spec * changed deprecated BuildPrereq tag to BuildRequires ! remove optionally created libtiff ; above modifications close issue #38 2015-02-11 12:31 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/codepage/l_fr.h + added 'Ç' and 'ç' characters to set of french letters ; this modification affected "FRISO" and "FRWIN" codepages. Users using them and above characters in index field should reindex their databases. * include/hbcpage.hbx * src/codepage/Makefile * src/codepage/cpfr850.c + src/codepage/cpfr850c.c * renamed "FR850" codepage to "FR850C". This is is Cl*pper ntxfre.obj compatible codepage. If someone uses DBF files with indexes simultaneously with Cl*pper applications using collation order defined in ntxfre.obj the he has to use "FR850C" codepage in Harbour. Warning: Any users using French "FR850" codepage so far should change the code to "FR850C". + added new French codepage "FR850" with all French characters and accented equal collation rules. ; above modifications close issue #88 2015-02-11 09:49 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rdd/dbf1.c * moved AutoInc field initialization to separate function % removed unnecessary AutoInc initialization from RowVer fields * cleanup few static function names 2015-02-11 09:26 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rdd/dbf1.c + finished support for AutoInc flag (+) for all numeric fields (N, F, I, B) in DBF* RDDs. Now user can define field like: { "COUNTER", "I:+", 4, 0 } and they will work like autoincrement fields but without any assign restrictions. 2015-02-10 17:23 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbznet.h * src/rtl/hbinet.c + added new C function hb_znetInetTimeout() * minor cleanup (local variables localization) * contrib/hbssl/hbssl.hbm * contrib/hbssl/hbssl.hbx + contrib/hbssl/ssl_inet.c + added support for SSL/TLS encryption in hb_inet*() sockets. To enable SSL/TLS encryption on such socket it's enough to call hb_inetSSL_connect() or hb_inetSSL_accept() passing as 1st parameter hb_inet socket item with already established connection and in in the 2nd parameter SSL item. The peer should call second function. In general hb_inetSSL_connect() should be called by client and hb_inetSSL_accept() by server. To use hb_inetSSL_accept() it's necessary to also set certificated (at least self ;-)) encryption keys. See the example I committed to test directory. The exact syntax of new functions is: hb_inetSSL_connect( <pSocket>, <pSSL> [, <nTimeout> ] ) hb_inetSSL_accept( <pSocket>, <pSSL> [, <nTimeout> ] ) To use hb_inet*() functions to connect with SSL/TLS server Harbour users only have to call hb_inetSSL_connect() after setting connection, i.e.: IF !Empty( sock := hb_inetConnect( cServer, nPort ) ) ssl_ctx := SSL_CTX_new() IF hb_inetSSL_connect( sock, SSL_new( ssl_ctx ) ) == 1 // SSL connection established // now user can use all hb_inet*() functions is // the same way as for raw TCP connections and // all parameters like timeouts are fully supported // but transmission is encrypted. [...] ENDIF ENDIF It's not longer necessary to use SSL_set_fd() + SSL_connect() and then SSL_read() / SSL_write() / hb_SSL_read_line() / hb_SSL_read_all(). BTW hb_SSL_read_line() and hb_SSL_read_all() in HBSSL library are broken and have to be fixed. TODO: Now HBTIP library can be nicely simplified and additional code for SSL/TLS read/write operations removed. It's enough to once call hb_inetSSL_connect() if SSL/TLS encryption is needed. + contrib/hbssl/tests/inetssl.prg + added test code for hb_inet*() SSL/TLS connections. It's client and server example which also generates self certificated encryption keys running openssl command. If this code is linked with non console GT then user should generated certificates himself (see comment in LoadCertificates() function for more information). 2015-02-10 13:03 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/xhb/xhberr.prg * contrib/xhb/xhb.hbx - removed __BreakBlock() function. The Harbour core implementation of __BreakBlock() function fully replaces it and is more efficient because it does not create new codeblock on each call. 2015-02-09 09:23 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbexpra.c * allow to use __BreakBlock() function as static initializer 2015-02-09 00:22 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/hardcr.c ! fixed HardCR() to work with codepages using custom character encoding in which SoftCR can be part of valid character, i.e. UTF8. * ChangeLog.txt * typos in prev my entry 2015-02-08 23:32 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/harbour.hbx * src/vm/hvm.c + added new PRG function: __BreakBlock() -> {|e| Break( e ) } * include/hbexprb.c % replace {|e| Break( e ) } with __BreakBlock() function call. __BreakBlock() returns exactly the same codeblock on each call so using it saves memory and improves a little bit speed because it's not necessary to allocate new GC memory block and register it in GC block list. Additionally in MT mode it eliminates mutex lock necessary to register new GC block. 2015-02-08 13:19 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rdd/workarea.c + added support for field flags in dbCreate()/dbStruct(). Flags can be passed in string with field type after ":", i.e. "C:U" means Unicode character field. The following flags are recognized: "N" - column can store null values "B" - binary column "+" - column is autoincrementing "Z" - column is compressed "E" - column is encrypted "U" - column stores Unicode strings * src/rdd/dbf1.c + added support for field flags in core DBF* RDDs. ; In core DBF* RDDs "N", "B", "U" and "+" flags are supported. When "N" flag is used then special hidden field with NULL bits is created. Such implementation is compatible with DBF created by VFP. * contrib/rddads/ads1.c + added support for field flags in ADS* RDDs ! added missing RTE when wrong field types are passed to dbCreate() ; The old format with long field names corresponding to ADS types is still supported but I had to rewrite this code so please make real life test and verify me. In few cases I slightly change the code and now it can be a little bit more restrictive, i.e. typos in "AtutoInc" field type will be detected (previous code checked only for 1st letter "A"). 2015-02-07 21:02 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbwin/win_bmp.c ! added missing C++ casting 2015-02-06 15:00 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/hbsocket.c * added support MAC addreses array returned by hb_socketGetIFaces() in BSD based systems like FreeBSD or Darwin (Mac OS X) * src/vm/hvm.c % small simplification in FOR EACH initial code * contrib/hbwin/win_bmp.c * contrib/hbwin/win_prn2.c * use Harbour FILE IO API instead of local file access * contrib/hbct/ctstrfil.c * formatting * contrib/gtqtc/gtqtc1.cpp ! fixed possible missing initialization for drawing character images 2015-01-29 23:55 UTC+0100 Jean Lefebvre (jfl/at/mafact.com) * contrib/hbtip/sendmail.prg * Modified hb_sendmail(...) to allow TLS on port 587 No change in parameters * contrib/hbtip/client.prg + added FUNCTION ActivateSSL(Self) * changed all actual ref to TLS to SSL for clarity with real TLS vars and methods * contrib/hbtip/smtpcli.prg + Added METHOD StartTLS() to allow starting SSL crypting after receiving the STARTTLS command only + Added METHOD DetectSecurity() to initiate Authentification methods reading 250-xxx lines * contrib/hbtip/tests/gmail.prg * changed comment to explain TLS on port 587 for gmail * changed port to 587 to allow testing * Auto detect SSL on 465 and plain text on 587 (till STARTTLS command) 2015-01-29 10:33 UTC+0100 Viktor Szakats * win-make.exe * updated from latest mingw build (version 4.1) https://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win32/Personal%20Builds/mingw-builds/4.9.2/threads-win32/sjlj/i686-4.9.2-release-win32-sjlj-rt_v3-rev1.7z 2015-01-28 17:54 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg ! whitespace after recent updates 2015-01-28 17:50 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg * minor 2015-01-28 15:39 UTC+0100 Viktor Szakats * src/rtl/Makefile ! pass HB_HAS_GPM flag so that it's reflected in HB_VERSION_OPTIONS 2015-01-28 15:09 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg * clean option detection code 2015-01-28 14:53 UTC+0100 Viktor Szakats * include/hbver.ch * src/rtl/version.c + add HB_VERSION_OPTIONS option to hb_Version() it will have a space delimited list of build time options: 'pcre1', 'pcre2', 'posix_regex', 'zlib', 'gpm', 'watt' * utils/hbmk2/Makefile * utils/hbmk2/hbmk2.prg ! use HB_VERSION_OPTIONS to detect whether to link pcre2 or pcre1 it should fix wrong detection after previous update * use HB_VERSION_OPTIONS instead of HB_HAS_* solution for gpm and watt detection 2015-01-26 00:35 UTC+0100 Viktor Szakats * config/detect.mk ! disable PCRE2 for bcc (it doesn't support this compiler) * src/3rd/Makefile + add pcre2 to build list 2015-01-26 00:00 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + add pcre2 support 2015-01-25 23:47 UTC+0100 Viktor Szakats * src/rtl/hbregex.c ! delete debug leftover 2015-01-25 23:37 UTC+0100 Viktor Szakats * include/hbregex.h * src/rtl/hbregex.c + add pcre2 support * src/3rd/pcre2/Makefile ! fix typo in condition ! add missing source file * config/detect.mk * do not bother detecting PCRE1 if PCRE2 is found * src/3rd/pcre2/pcre2.dif * (nothing but the dates) 2015-01-25 15:55 UTC+0100 Viktor Szakats * README.md * package/harbour.spec * package/mpkg_rpm.sh * config/bin.mk * config/dyn.mk * config/lib.mk * 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 * bin/3rdpatch.hb + add pcre2 ; TODO: hbmk2 [DONE] 2015-01-25 12:44 UTC+0100 Viktor Szakats * src/main/harbour.c * src/pp/hbpp.c * src/vm/mainstd.c * src/vm/mainwin.c ! export a single symbol to force mingw to create relocation table in executables in order to make ASLR work. '--dynamicbase' option is not enough. https://stackoverflow.com/questions/24283918/how-can-i-enable-aslr-dep-and-safeseh-on-an-exe-in-codeblocks-using-mingw 2015-01-25 10:10 UTC+0100 Viktor Szakats * config/win/mingw.mk * config/win/msvc.mk * config/win/pocc.mk + enable highentropyva option for win 64-bit targets * utils/hbmk2/hbmk2.prg + enable highentropyva option for win 64-bit targets with -harden enabled 2015-01-24 17:32 UTC+0100 Viktor Szakats * contrib/hbamf/amfenc.c ! fix uninitialized variable (shown by clang) 2015-01-24 16:39 UTC+0100 Viktor Szakats * src/3rd/pcre2/Makefile + src/3rd/pcre2/pcre2.dif + add local patch for pcre2 2015-01-24 16:35 UTC+0100 Viktor Szakats + src/3rd/pcre2/Makefile + add local "formula" for pcre2 sources (actual sources not yet uploaded) * config/detect.mk + detect pcre2 * src/rtl/Makefile + add pcre2 support * include/hbregex.h * src/rtl/hbregex.c + steps for pcre2 support (it doesn't yet compile without errors) https://lists.exim.org/lurker/message/20150105.162835.0666407a.en.html https://pcre.org/current/doc/html/ ! fix hb_pcre_grab(), hb_pcre_free() to emulate standard malloc()/free() behavior ; When detected, pcre2 has priority over pcre1. Since pcre2 support is incomplete yet, it means that build will break if pcre2 is installed and detected. 2015-01-24 16:29 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg ! fix typos in two legacy warnings 2015-01-23 15:36 UTC+0100 Viktor Szakats * contrib/3rd/sqlite3/sqlite3.hbp ! adjust sqlite3 build-time flags after this upstream patch: https://www.sqlite.org/src/info/9e92a5ed5aaba20461ed4ce8359d6e34e7773d68 fixes https://github.com/vszakats/hb/issues/103 2015-01-23 10:14 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg ! fix RTE in two HB_LEGACY_LEVEL4 warnings 2015-01-23 03:45 UTC+0100 Viktor Szakats * contrib/3rd/sqlite3/sqlite3.hbp * contrib/3rd/sqlite3/sqlite3.dif * contrib/3rd/sqlite3/* * sqlite3 update to https://sqlite.org/releaselog/3_8_8_1.html https://sqlite.org/releaselog/3_8_8.html 2015-01-22 03:24 UTC+0100 Viktor Szakats * contrib/hbssl/hbssl.hbm * favor openssl over libressl on darwin 2015-01-22 03:03 UTC+0100 Viktor Szakats * contrib/hbssl/hbssl.hbm + build against libressl on darwin, if installed * deleted custom openssl option 'OPENSSL_NO_SEED' on darwin. It clashes with libressl and it's not needed for Yosemite's default openssl build anymore. Building against older darwin versions' default openssl may require this build option: HB_USER_CFLAGS=-DOPENSSL_NO_SEED 2015-01-21 19:04 UTC+0100 Viktor Szakats * extras/hbdoc/hbdoc.prg + bump missed copyright year 2015-01-21 18:43 UTC+0100 Viktor Szakats * contrib/rddads/adsfunc.c * contrib/rddads/rddads.hbx + add AdsStmtSetTableReadOnly( <nMode> ) -> <lSuccess> 2015-01-21 17:17 UTC+0100 Viktor Szakats * CONTRIBUTING.md + link to blog post on how to handle Pull Requests 2015-01-20 12:22 UTC+0100 Viktor Szakats * contrib/hbcurl/easy.c * contrib/hbcurl/hbcurl.ch + add CURLOPT_SSL_VERIFYSTATUS option of upcoming libcurl 7.41.0 * utils/hbmk2/hbmk2.prg * minor 2015-01-19 13:24 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbwin/hbwin.hbx + added __oleVariantNullDate() * src/common/hbver.c * src/rtl/tget.prg ! applied Get():end() Cl*pper compatibility fix by Rolf. * synced with Viktor's branch * contrib/hbhpdf/image.c ! applied fixes sent by Peter Rees ! protection against GPF when wrong parameter is passed to HPDF_Image_GetColorSpace() (borrowed from Viktor's branch) * README.md * src/compiler/hbusage.c * src/pp/hbpp.c * utils/hbi18n/hbi18n.prg * utils/hbtest/hbtest.prg * contrib/hbformat/utils/hbformat.prg * contrib/hbnetio/utils/hbnetio/hbnetio.prg * contrib/hbnetio/utils/hbnetio/netiomgm.hb * bumped copyright year to 2015 2015-01-17 13:56 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg ! default pocc version to be the lowest supported 2015-01-17 02:45 UTC+0100 Viktor Szakats * package/winuni/RELNOTES.txt * utils/hbmk2/hbmk2.prg + accept 'x64' as an alternative for 'x86_64' (in filters, -cpu= option) + add pocc version detection + enable hardening options for pocc * README.md * config/win/pocc.mk + enable hardening options for pocc (HB_COMPILER_VER needs to be set manually) 2015-01-16 21:57 UTC+0100 Viktor Szakats * src/rtl/tget.prg ! Get():end() fix for Cl*pper compatibility patch by Elch, report and self-contained example by Yakano: https://groups.google.com/d/topic/harbour-users/Q1ZbA6DL6zE/discussion Cursor goes to the end of the picture (last char inserted in picture, but not stored in var), instead of last char (different from space) stored in the variable. 2015-01-16 17:03 UTC+0100 Viktor Szakats * contrib/gtwvw/gtwvwd.c * contrib/gtwvw/wvwdraw.c ! apply the same fix attempt to GTWVW as in 2015-01-16 15:10 UTC+0100 https://github.com/vszakats/hb/commit/cfcd33f3a4d881139bf5ef6293ada775dc435537 for GTWVG * contrib/gtwvw/wvwutils.c * use literal FALSE instead of 0 2015-01-16 15:10 UTC+0100 Viktor Szakats * contrib/gtwvg/wvgcore.c ! try fixing https://github.com/vszakats/hb/issues/102 (untested) Docs: https://msdn.microsoft.com/library/aa378980 2015-01-16 12:48 UTC+0100 Viktor Szakats * contrib/hbhpdf/image.c ! fix HPDF_LOADPNGIMAGEFROMMEM(), HPDF_LOADJPEGIMAGEFROMMEM() to pass the buffer instead of trying to return it. Reported here: https://groups.google.com/d/msg/harbour-devel/OMqJzur-XY0/rP5Qgq6d_uAJ 2015-01-15 18:40 UTC+0100 Viktor Szakats * src/rtl/tget.prg % minor optimization 2015-01-14 14:33 UTC+0100 Viktor Szakats * contrib/hbwin/hbwin.hbx + add __oleVariantNullDate 2015-01-14 13:00 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbwin/olecore.c + added new PRG function to control empty date conversion to OLE variant: __oleVariantNullDate( [<lNewNullFlag>] ) -> <lPrevNullFlag> This is per thread switch and by default initialized to .F. for each new thread. When set to .T. Harbour empty dates are translated to VT_NULL. Warning: it's possible that this function will be removed or replaced by other solution in the future. * contrib/gtqtc/gtqtc1.cpp * emulate CTRL by setting SHIFT + ALT in Android builds (It's temporary solution - my patch with support for CTRL in Android QT builds has been accepted so it should be included in next Qt releases) % set Qt::WA_NoSystemBackground * do not change number of rows and cols in maximized and fullscreen mode when font is changed and resize mode set to HB_GTI_RESIZEMODE_FONT. It was creating problems when user switched to fullscreen/maximized mode and application was not ready to dynamically update screen dimensions. * activate virtual keyboard on double click instead of click. It allows to hide virtual keyboard and control program using mouse and touch events. * src/rtl/gtwvt/gtwvt.c + added support for HB_K_MENU * src/rtl/gtxwc/gtxwc.c * use macros instead of constant values + added support for HB_K_MENU * reload font after HB_GTI_FONTSIZE (compatible with other graphic GTs) * eliminated recursive mutex XLIB locks in HB_GTI_FONTSEL * discard existing graphics characters and redraw console window contents after HB_GTI_FONTATTRIBUTE * tests/gtkeys.prg + added support for HB_K_MENU and HB_K_TERMINATE 2015-01-13 16:42 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg ! fix regression finding contrib.hbr after 2014-12-30 13:35 UTC+0100 2015-01-13 15:35 UTC+0100 Viktor Szakats * src/common/hbver.c ! correct previous patch should fix https://github.com/harbour/core/issues/85 2015-01-13 13:52 UTC+0100 Viktor Szakats * src/common/hbver.c ! fix typo causing old C compiler compatibility hack to fail should fix https://github.com/harbour/core/issues/85 2015-01-10 12:31 UTC+0100 Viktor Szakats * contrib/hbscrypt/hbscrypt.hbp * homebrew scrypt doesn't provide a library 2015-01-10 07:33 UTC+0100 Viktor Szakats * contrib/gtalleg/gtalleg.hbm * contrib/hbbz2/hbbz2.hbp * contrib/hbcurl/hbcurl.hbm * contrib/hbexpat/hbexpat.hbp * contrib/hbhpdf/hbhpdf.hbp * contrib/hbmlzo/hbmlzo.hbp * contrib/hbmzip/hbmzip.hbp * contrib/hbscrypt/hbscrypt.hbp * contrib/hbsqlit3/hbsqlit3.hbp * contrib/hbxdiff/hbxdiff.hbp * contrib/sddsqlt3/sddsqlt3.hbp + added homebrew package names + added homebrew header detection paths * contrib/hbssl/hbssl.hbm ! added missing homebrew header detection path * contrib/hbscrypt/hbscrypt.hbp * contrib/hbscrypt/scrypt.c + support builds against original scrypt header ; [TOTEST] 2015-01-10 04:29 UTC+0100 Viktor Szakats * contrib/hbmxml/hbmxml.hbp + find libmxml on OS X * contrib/hbmxml/3rd/minixml/config.h * contrib/hbmxml/3rd/minixml/minixml.dif * contrib/hbmxml/3rd/minixml/*.c * contrib/hbmxml/3rd/minixml/*.h * contrib/hbmxml/core.c ! fixed to build against system hosted libmxml 2015-01-09 19:19 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rdd/dbf1.c * minor foramtting * src/rtl/gtwvt/gtwvt.c ! do not generate K_MOUSEMOVE during marking phase * src/rtl/gtxwc/gtxwc.c ! fixed mapping XWindow mouse buttons to Harbour buttons (MRightDown() and MMiddleDown() were reverted) * src/rtl/memoedit.prg ! fixed processing unicode characters * src/rtl/teditor.prg * synced with Viktor's branch 2015-01-08 23:27 UTC+0100 Viktor Szakats * contrib/hbcurl/hbcurl.hbc + link wldap32 library on win/wce to support default static libcurl builds * contrib/hbwin/wapi_winuser.c * minor wording 2015-01-08 17:55 UTC+0100 Viktor Szakats * contrib/hbwin/wapi_winuser.c ! more blindish workarounds for GetIconInfo() and SendMessageTimeout() problems on wce and/or mingwarm https://github.com/vszakats/hb/issues/100 (confirmed to work) 2015-01-08 16:56 UTC+0100 Viktor Szakats * contrib/xhb/xhwinprn.prg ! Win32Prn() fixed xhb compatibility See: https://groups.google.com/d/msg/harbour-users/1XLc_vPEUhw/XKtb9ibFkLMJ * package/harbour.rb * minor cleanup 2015-01-08 10:25 UTC+0100 Viktor Szakats * package/harbour.rb + readable Harbour test code + check test output 2015-01-06 23:15 UTC+0100 Viktor Szakats * package/harbour.rb + call hbtest in formula test 2015-01-06 19:15 UTC+0100 Viktor Szakats * contrib/hbwin/wapi_winuser.c ! trying workaround for header bugs in older versions of cegcc https://github.com/vszakats/hb/issues/100 2015-01-06 17:22 UTC+0100 Viktor Szakats * package/harbour.rb + added quasi-stable revision (passes 'brew audit --strict') 2015-01-06 17:16 UTC+0100 Viktor Szakats * package/harbour.rb * use git instead of tarball for head 2015-01-05 17:56 UTC+0100 Viktor Szakats * package/harbour.rb * homebrew formula modernized 2014-12-31 12:40 UTC+0100 Viktor Szakats * contrib/xhb/xhbtedit.prg * ChangeLog.txt * update to soft new-line handling * src/rtl/teditor.prg * Text2Array(): deleted explicit soft new-line handling, it is handled by memo functions after upstream patch 2014-12-31 10:42 UTC+0100 Viktor Szakats * config/globsh.mk * missing quotes * config/postinst.hb * package/harbour.rb * whitespace 2014-12-31 01:45 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/memoedit.prg ! fixed repeat condition for ME_INIT initial user function call (correctly fixes #21) * src/rtl/mlcfunc.c * added temporary extension to MemoLine() which will be removed and replaced in the future * src/rtl/teditor.prg ! use temporary MemoLine() extension to fix problem with line trailing spaces I introduced with previous modification * src/rtl/replic.c % optimization for Replicate( <cStr>, 1 ) 2014-12-30 16:56 UTC+0100 Viktor Szakats * config/postinst.hb * package/harbour.rb + install .hbl files into the 'doc' directory, to comply with environments where 'bin' dir may not contain anything non-executable (e.g. homebrew) * utils/hbmk2/hbmk2.prg + .hbl files will now be picked up from the 'doc' directory as well as the binary's own dir (will need further tweaking to accomodate some Harbour dir layouts) 2014-12-30 13:35 UTC+0100 Viktor Szakats * config/postinst.hb * package/harbour.rb * utils/hbmk2/hbmk2.prg * do not install non-executable file harbour.ucf into 'bin' directory * moved contrib.hbr file from 'bin' directory to 'contrib' directory + hbmk2 extended to look for .hbr files in 'contrib' and 'addons' roots ; FIXME: move .hbl files to another location [DONE] 2014-12-30 11:04 UTC+0100 Viktor Szakats * contrib/hbct/ctwfunc.c * contrib/hbmysql/mysql.c * contrib/hbnetio/netiosrv.c * contrib/xhb/bkgtsks.c * contrib/xhb/dirrec.prg * doc/en/*.txt * doc/*.txt * include/hbcomp.h * include/hbextern.ch * include/hbmath.ch * include/hbpp.h * package/harbour-wce.spec.in * package/harbour-win.spec.in * package/harbour.spec * src/compiler/hbmain.c * src/rtl/chrasc.c * src/rtl/gtos2/gtos2.c * src/rtl/gtxwc/gtxwc.c * src/rtl/idle.c * src/rtl/profiler.prg * src/vm/extrap.c * src/vm/garbage.c * tests/color.prg * tests/hbpptest/_pp_test.prg * tests/profiler.prg * tests/wcecon.prg * comment capitalization, typos 2014-12-30 01:19 UTC-0800 Pritpal Bedi (bedipritpal/at/hotmail.com) * src/rtl/memoedit.prg ! Fixed: nUdfReturn value ME_UNKEY (1-31) were not being processed. [vszakats] Broken: https://github.com/harbour/core/issues/21 2014-12-30 09:18 UTC+0100 Viktor Szakats * src/rtl/teditor.prg ! fixed splitting lines one character too narrow. (Cl*pper compatibility) (regression from upstream) 2014-12-29 20:27 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbznet.h * src/rtl/hbinet.c * src/rtl/hbinetz.c * moved HB_INET_ERR_* macros to header file + added error and errorStr functions to hb_inet*() socket read/write wrappers ! call close function of hb_inet*() socket read/write wrappers before closing the socket + added hb_znetInetFD() C function * src/rtl/teditor.prg ! use hb_ATokens( <cText>, .T. ) and MemoLine() to divide text into lines to improve performance and fix TABs decoding * src/rtl/memoedit.prg * src/rtl/teditor.prg * applied recent fixes and cleanups from Viktor's branch. * src/rtl/tgetlist.prg * applied recent fixes from Viktor's branch: ; (2014-12-19 01:00 UTC+0100 Viktor Szakats) ! HBGetList():GUIApplyKey(): fixed bug introduced with UNICODE support in 93d3a46d843daaf6d08149d83fa5203ff910c484 (upstream). That patch had an undocumented workaround for the problem inside ListBox():findText(), which was not Cl*pper compatible, so it was later removed in 6f8508ff54a3955822b36bf4a65a2775a11bab23. This patch hopefully fixes the root cause. Reported here: https://groups.google.com/d/msg/harbour-devel/7Cpax5TdHnY/n5XfXX8N9vMJ 2014-12-29 17:28 UTC+0100 Viktor Szakats * contrib/hbhpdf/harupdf.ch ! deleted more C-isms 2014-12-29 02:13 UTC+0100 Viktor Szakats * contrib/hbcurl/hbcurl.ch + added new error codes * contrib/hbcurl/tests/email.prg * contrib/hbtip/tests/email.prg + added more SMTP provider examples (gmx.net, mail.ru, netease/163, office365, sina, UOL) 2014-12-28 23:26 UTC+0100 Viktor Szakats * contrib/hbcurl/tests/email.prg + recognize another sender domain 2014-12-28 23:23 UTC+0100 Viktor Szakats * contrib/hbmisc/spd.c * utils/hbmk2/hbmk2.prg * cleanups 2014-12-28 12:17 UTC+0100 Viktor Szakats * contrib/hbcurl/tests/email.prg + added support for apple and gmx mail ! fixed accessing servers that use STARTTLS % deleted default port 465 * package/winuni/mpkg_win_uni.bat * whitespace 2014-12-27 21:18 UTC+0100 Viktor Szakats * tests/iotcp.prg ! fixed to run as hbrun script ! fixed test service's port 2014-12-27 15:35 UTC+0100 Viktor Szakats * contrib/hbcurl/tests/gmail.prg -> contrib/hbcurl/tests/email.prg * contrib/hbtip/tests/gmail.hbp -> contrib/hbtip/tests/email.hbp * contrib/hbtip/tests/gmail.prg -> contrib/hbtip/tests/email.prg * renamed to be provider agnostic + added alternate SMTP providers 2014-12-26 01:53 UTC+0100 Viktor Szakats * contrib/hbssl/tests/crypt.prg ! typos ! FIXME added + changed cipher, added iv * contrib/hbssl/tests/encode.prg ! fixed terminology * contrib/hbssl/tests/test.prg ! fixed HTTP request * changed to use example.org * contrib/hbssl/evpciph.c * contrib/hbssl/hbssl.ch + AES/GCM ciphers added (couldn't make them work) * contrib/hbwin/win_os.prg * minor comment cleanup * contrib/xhb/thtm.prg * use example.org * contrib/xhb/xhbmemo.prg * whitespace 2014-12-25 02:34 UTC+0100 Viktor Szakats * src/3rd/png/* * src/3rd/png/Makefile * src/3rd/png/png.dif * update libpng to 1.6.16 2014-12-25 01:58 UTC+0100 Viktor Szakats * src/rtl/memoedit.prg % DO CASE -> SWITCH 2014-12-25 01:43 UTC+0100 Viktor Szakats * contrib/hbwin/tests/service.prg % minor opt * src/rtl/memoedit.prg * minor cleanup after ef35592760767403561c83e0ee8f80229ef54e10 (2014-03-28 13:09 UTC+0100) * src/rtl/teditor.prg * whitespace, comment 2014-12-22 13:55 UTC+0100 Viktor Szakats * package/mpkg_win_nightly.bat * package/winuni/mpkg_win_uni.bat ! fixed to work when installing from/to paths containing spaces, or with tools installed under paths containing spaces. * package/harbour.rc * package/winuni/mpkg_win_uni.nsi * cleanups 2014-12-22 11:57 UTC+0100 Viktor Szakats * config/postinst.hb ! avoid line-ending space in generated tgz sfx script 2014-12-22 02:09 UTC+0100 Viktor Szakats * config/postinst.hb ! fixed embedded tgz sfx script, it was double escaping some chars, so it never worked since moving it into postinst.hb % tgz sfx script converted to a __cstream, making the code cleaner * applied bash cleanups to tgz sfx script 2014-12-21 18:23 UTC+0100 Viktor Szakats * package/mpkg_rpm_wce.sh * package/mpkg_rpm_win.sh * package/mpkg_rpm.sh * package/mpkg_src.sh * package/mpkg_ver.sh % use single quotes where possible 2014-12-21 16:42 UTC+0100 Viktor Szakats * package/mpkg_rpm.sh * split long lines * package/mpkg_src.sh * use 'local' 2014-12-21 15:35 UTC+0100 Viktor Szakats * config/postinst.hb * applied bash changes 2014-12-21 15:12 UTC+0100 Viktor Szakats * package/mpkg_rpm_wce.sh * package/mpkg_rpm_win.sh ! use printf instead of echo to be POSIX compliant * package/mpkg_src.sh * cleanup for 'find' usage 2014-12-21 14:01 UTC+0100 Viktor Szakats * package/mpkg_rpm_wce.sh * package/mpkg_rpm_win.sh * package/mpkg_rpm.sh * package/mpkg_src.sh * package/mpkg_ver.sh * use $() for command substitution instead of deprecated backticks (`) 2014-12-21 13:05 UTC+0100 Viktor Szakats * package/mpkg_rpm_wce.sh * package/mpkg_rpm_win.sh * FIXMEs added for non-POSIX compatible commands 2014-12-21 12:31 UTC+0100 Viktor Szakats * config/globsh.mk * some missing quotes 2014-12-21 12:19 UTC+0100 Viktor Szakats * package/mpkg_rpm_wce.sh * package/mpkg_rpm_win.sh * package/mpkg_rpm.sh * package/mpkg_src.sh * various cleanups (unused vars, double echo) ! fixed missing quotes 2014-12-20 10:53 UTC+0100 Viktor Szakats * README.md * URL cleanups 2014-12-19 01:39 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + store 2000 lines in history (was: 500) 2014-12-19 01:00 UTC+0100 Viktor Szakats * src/rtl/tgetlist.prg ! HBGetList():GUIApplyKey(): fixed bug introduced with UNICODE support in 93d3a46d843daaf6d08149d83fa5203ff910c484 (upstream). That patch had an undocumented workaround for the problem inside ListBox():findText(), which was not Cl*pper compatible, so it was later removed in 6f8508ff54a3955822b36bf4a65a2775a11bab23. This patch hopefully fixes the root cause. Reported here: https://groups.google.com/d/msg/harbour-devel/7Cpax5TdHnY/n5XfXX8N9vMJ 2014-12-17 21:20 UTC+0100 Viktor Szakats * .travis.yml * can't work, yet. We need sudo in 'before_install:' 2014-12-17 21:11 UTC+0100 Viktor Szakats * .travis.yml + trying new Travis CI infrastructure 2014-12-17 01:33 UTC+0100 Viktor Szakats * README.md + added nice Git flowchart from beta.gitflowchart.com 2014-12-16 23:50 UTC+0100 Viktor Szakats * README.md * link updates 2014-12-15 15:48 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/hbtoken.c * cleaner version of recent hb_tokenPtr() fix which works correctly also with active delimiters 2014-12-14 10:59 UTC+0100 Viktor Szakats * doc/en/memo.txt * whitespace 2014-12-14 10:54 UTC+0100 Viktor Szakats * contrib/xhb/xhbtedit.prg * src/rtl/teditor.prg * reverted a non-optimization * contrib/hbnf/dispmsg.prg * doc/en/memo.txt % optimizations At() -> $ * minor code cleanup 2014-12-14 10:24 UTC+0100 Viktor Szakats * contrib/hbwin/hbwinole.h * contrib/hbwin/olecore.c * reverted this: 4d930c52252dc6333ec0ad441bea7b01a84dc92f (2014-02-21 15:16 UTC+0100) The fix was replacing a GPF with a leak, but it didn't even seem to fix the GPF properly. Original problem is still there after this revert. See: https://github.com/harbour/core/issues/33 2014-12-13 12:36 UTC+0100 Viktor Szakats * contrib/xhb/xhbtedit.prg % Text2Array() minor opt * src/rtl/teditor.prg ! Text2Array() fixed to strip "soft CR" byte from input. (Cl*pper compatibility) 2014-12-13 11:44 UTC+0100 Viktor Szakats * contrib/xhb/xhbtedit.prg * src/rtl/teditor.prg % use hb_tokenPtr( ,, .T. ) 2014-12-13 10:17 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/hbtoken.c ! fixed hb_tokenPtr() to work correctly with new EOLs Thanks to Viktor for information about the problem. 2014-12-13 04:40 UTC+0100 Viktor Szakats * contrib/gtwvg/tests/demowvg.prg * contrib/gtwvw/doc/intro.en.md * extras/httpsrv/home/testxmldb.html * src/rdd/hbsix/sxcompr.c * degooglify 2014-12-13 04:25 UTC+0100 Viktor Szakats * contrib/hbtip/tests/http_cli.prg + use example.com for https test * contrib/hbtip/tests/http_qry.prg * changed to use DuckDuckGo as the search engine. Google now has multiple problems preventing it to work (country specific redirection, redirected page refusing to return result) 2014-12-13 03:24 UTC+0100 Viktor Szakats * README.md + added brew-cask and cask command for installing X11/XQuartz 2014-12-13 03:15 UTC+0100 Viktor Szakats * extras/hbdoc/hbdoc.prg ! use hb_ATokens() instead of hand-rolled line splitting, making this code EOL agnostic 2014-12-13 02:50 UTC+0100 Viktor Szakats * contrib/xhb/xhbtedit.prg % Text2Array() dropped multiple workarounds for bugs in xHarbour's string tokenizer. These are not necessary in Harbour. % Text2Array() synced optimizations with core (teditor.prg) implementation * src/rtl/teditor.prg % optimized hb_tokenPtr() usage 2014-12-12 20:07 UTC+0100 Viktor Szakats * rtl/hbtoken.c ! reverted bad workaround in prev commit 2014-12-12 18:38 UTC+0100 Viktor Szakats * bin/3rdpatch.hb * bin/commit.hb * contrib/hbformat/hbfmtcls.prg * contrib/hbformat/hbfuncs.prg * contrib/hbsms/sms.prg * contrib/hbtip/ftpcli.prg * contrib/make.hb * doc/pp_prg.txt * extras/hbdoc/hbdoc.prg * src/debug/dbghelp.prg * src/debug/debugger.prg * src/rtl/hbdoc.prg * src/rtl/hbi18n2.prg * src/rtl/tpersist.prg * tests/big5_gen.prg * tests/checkssl.hb * tests/ppmacro.prg * tests/uc16_gen.prg * utils/hbmk2/hbmk2.prg % use hb_ATokens( <s>, .T. ) * src/rtl/hbtoken.c ! hb_tokenParam() temporary fix to set delimiter length to 1 (was: 0) when requested delimiter is .T. (EOL) FIXME: return 1 or 2 dynamically, when calling hb_tokenPtr() 2014-12-12 16:12 UTC+0100 Viktor Szakats * contrib/gtqtc/gtqtc1.cpp ! whitespace 2014-12-12 17:23 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/gtqtc/gtqtc1.cpp ! use window instead of internal image to calculate new console window dimensions after dynamic font size modification 2014-12-12 16:03 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/hbini.prg ! use hb_ATokens( <cData>, .T. ) to divide .ini file to lines It's much faster and fixes problem existing from initial version of this code that .ini files with mixed EOLs cannot be correctly decoded, i.e. .ini files with LF EOLs was couldn't be decoded if someone added even single line with CRLF. * small .ini read code reorganization 2014-12-12 13:30 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbcompdf.h * include/hbexprb.c * src/common/funcid.c * src/vm/hvm.c % optimize Array() function by replacing function call with HB_P_ARRAYDIM PCODE. Because this optimization changes RTE and interacts with broken code like aVal := Array( 10, 0, "A" ) then it's not enabled by default. User can enable it by -ko switch. * utils/hbtest/rt_array.prg * use #pragma -ko- to for tests which interacts with above modification * src/rtl/hbproces.c % optimize memory allocation for redirected STDOUT and STDERR buffers in hb_processRun() function. The previous implementation was extremly inneficient when hb_processRun() was used to extract very long output from child process. * src/rtl/hbtoken.c + added support for dividing text into lines using EOLs used by different platform. To enable it it's enough to specify .T. as delimiter. * src/rtl/filesys.c * pacified MSVC warning - in fact this modification is significant only for bugy code which changes current directory in MT programs. It's bug on all platforms using current directory as process not thread attribute (common behavior). * include/inkey.ch * src/rtl/hbgtcore.c + added new extended keycodes: HB_K_TERMINATE HB_K_MENU * contrib/gtqtc/gtqtc1.cpp + center and rescale to console window dimension keeping aspect size ratio picture passed to HB_GTI_DISPIMAGE when second parameter is .T. + added support for HB_K_MENU key ! fixed dynamic font size modification in fullscreen, maximized and HB_GTI_RESIZEMODE_ROWS modes 2014-12-11 15:05 UTC+0100 Viktor Szakats * CONTRIBUTING.md * minor extension of text about linking/sharing 2014-12-10 21:41 UTC+0100 Viktor Szakats * contrib/3rd/sqlite3/sqlite3.hbp * contrib/3rd/sqlite3/* * sqlite3 update to https://sqlite.org/releaselog/3_8_7_4.html 2014-12-10 19:15 UTC+0100 Viktor Szakats * contrib/hbrun/doc/hbrun.*.md * utils/hbmk2/doc/hbmk2.*.md * regenerated 2014-12-10 19:14 UTC+0100 Viktor Szakats * contrib/hbformat/utils/hbformat.prg * contrib/hbnetio/utils/hbnetio/hbnetio.prg * contrib/hbnetio/utils/hbnetio/netiomgm.hb * CONTRIBUTING.md * README.md * package/harbour.rc * src/compiler/hbusage.c * src/pp/hbpp.c * utils/hbi18n/hbi18n.prg * utils/hbmk2/hbmk2.prg * utils/hbtest/hbtest.prg * extras/hbdoc/hbdoc.prg * bumped copyright year to 2015 2014-12-10 17:23 UTC+0100 Viktor Szakats * extras/dbu/dbu52.dif * extras/dbu/dbu53.dif + support up to 128 fields per table (was 64) 2014-12-10 14:38 UTC+0100 Viktor Szakats * 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 2014-12-06 14:20 UTC+0100 Viktor Szakats * src/rtl/teditor.prg % MemoEdit()/HBEditor() minor optimization in load time ! MemoEdit()/HBEditor() fixed to split lines properly when input string has mixed LF/CRLF EOL types 2014-12-06 01:16 UTC+0100 Viktor Szakats * src/rdd/hbsix/sxcompat.prg % minor optimizations * formatting 2014-12-05 14:11 UTC+0100 Viktor Szakats * src/rtl/filesys.c ! restored and fixed extra GetCurrentDirectory() retval check to avoid msvc warning (though I deleted this compiler so can't check if it'd complain), anyhow it's still a valid check in MT apps where another thread can change cwd between calls. 2014-12-05 14:06 UTC+0100 Viktor Szakats * src/rtl/filesys.c ! fixed merge problem Fixes https://github.com/vszakats/hb/issues/95 * src/rtl/teditor.prg % use FOR/NEXT in prev mod 2014-12-05 03:29 UTC+0100 Viktor Szakats * src/rtl/memoedit.prg * src/rtl/teditor.prg ! MemoEdit()/HBEditor() fixed to expand tabs like Cl*pper (this will cause some load performance drop) ! MemoEdit() default tab width set to 4 (was 8) (Cl*pper compatibility) % HBEditor():SplitLine() optimizations like in Text2Array() 2014-12-05 03:17 UTC+0100 Viktor Szakats * src/rtl/teditor.prg ! fixed splitting lines one character too narrow. (Cl*pper compatibility) ! fixed wrongly splitting empty lines and lines ending with space (Cl*pper compatibility) ! ignore backspace key when in first column. (Cl*pper compatibility) % Text2Array() optimizations (speed, size) 2014-12-05 01:33 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/common/hbffind.c * src/common/hbfsapi.c * src/rtl/filebuf.c * src/rtl/fssize.c * contrib/hbmzip/mzip.c * contrib/xhb/filestat.c ! typo in comment - thanks to Viktor * include/hbexprb.c * small code reorganization * include/hbvmpub.h * src/vm/hvm.c % use HB_VM_PUSHNIL() macro ! generate RTE for code like: LOCAL aVar[ 10, -1 ] (Cl*pper compatible) 2014-12-05 00:29 UTC+0100 Viktor Szakats * contrib/hbcurl/easy.c * contrib/hbcurl/hbcurl.ch + added support for upcoming libcurl 7.40.0 feature CURLOPT_UNIX_SOCKET_PATH 2014-12-05 00:13 UTC+0100 Viktor Szakats * src/common/hbver.c * synced copyright with fork to be in sync with merged sources 2014-12-04 22:48 UTC+0100 Viktor Szakats * CONTRIBUTING.md * README.md * terminology 2014-12-04 19:28 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/filesys.c ! fixed typo in recent modification 2014-12-04 12:05 UTC+0100 Viktor Szakats * contrib/xhb/filestat.c * src/common/hbffind.c * src/common/hbfsapi.c * src/rtl/filebuf.c * src/rtl/fssize.c ! typo in comments 2014-12-04 10:06 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * ChangeLog.txt * contrib/hbct/doc/en/dattime3.txt * contrib/hbmzip/mzip.c * contrib/xhb/filestat.c * src/common/hbffind.c * src/rdd/hbsix/sxcompr.c * src/rtl/filebuf.c * src/rtl/filesys.c * src/rtl/fssize.c * src/rtl/fstemp.c ! typo in comments * src/common/hbfsapi.c ! hb_fsFNameMerge() fixed to not refer to szDrive in HB_TRACE mode (2014-11-29 14:29 UTC+0100 Viktor Szakats) * src/rtl/fnsplit.c * removed szDrive setting before call to hb_fsFNameMerge() - it's not longer necessary 2014-12-03 11:46 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbexprb.c ! fixed GPF in compilation of this code: DO hb_i18n_getText * include/achoice.ch * include/blob.ch * include/dbinfo.ch * include/hbapi.h * include/hbapicdp.h * include/hbatomic.h * include/hbclass.ch * include/hbinit.h * include/hbsetup.ch * include/hbsetup.h * include/inkey.ch * include/ord.ch * include/simpleio.ch * src/common/hbver.c * src/rtl/hbi18n2.prg * src/rtl/val.c * synced with Viktor's branch (casing, formatting, comment updating, clang support, use hb_FReadLen(), use hb_GetStdIn(), removed redundant casting) * include/fileio.ch + added HB_FLX_* constants * include/harbour.hbx * added __wapi_GetConsoleOutputCP() * include/hbapi.h * src/common/hbver.c + added hb_iswin*() functions borrowed from Viktor's branch 2014-12-03 00:41 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbsocket.ch + added HB_SOCKET_ERR_NONE * src/rtl/hbsocket.c * clear socket error when hb_socketRecv*() or hb_socketSend*() returns value greater then 0 % removed unnecessary error code setting in MS-Windows builds of hb_socketGetIFaces() * src/rtl/filesys.c ! allocate dynamically buffer for current directory name if default one is too small when current disk is checked * src/rtl/hbzlib.c * use hb_xalloc()/hb_xfree() to allocate/free memory during ZLIB compression and decompression instead of ZLIB default ones (finished code started in Viktor's branch) * src/rtl/tlabel.prg * src/rtl/treport.prg % use hb_ATokens() instead of local functions ListAsArray() * simplified reading labels and reports from files * src/rtl/teditor.prg * src/rtl/tget.prg * src/rtl/tlabel.prg * src/rtl/treport.prg * synced with Viktor's branch: removed explicit NIL from parameters, formatting, updated comments and variable names, use FOR EACH and SWITCH statements, use hb_defaultValue(), use hb_StrShrink(), formatting, few fixes * src/rtl/langcomp.prg * synced with Viktor's branch * src/rtl/memoedit.prg * synced with Viktor's branch, optimizations, formatting and fixes: ; 2014-03-28 13:09 UTC+0100 Viktor Szakats + MemoEdit(): allow BLOCK and SYMBOL types for user callbacks (only in the default, non-strict mode) ! MemoEdit(): fixed to only handle certain types of events in ME_INIT stage in harmony with Cl*pper documentation ! MemoEdit(): fixed to not get into an infinite loop on initialization when user callback is returning unhandled value https://github.com/harbour/core/issues/21 ! MemoEdit()/HBMemoEditor():KeyboardHook(): fixed to fall back to default handling of K_ESC if getting called recursively https://github.com/harbour/core/issues/21 + HBMemoEditor():HandleUserKey(): now returns whether the event was handled (as logical value) (previously: Self) [INCOMPATIBLE] * fixed some misleading variable names ; 2014-01-28 03:11 UTC+0100 Viktor Szakats ! MemoEdit() fixed to pass-through without interactivity when the user function is a boolean .F. ; 2014-01-27 15:15 UTC+0100 Viktor Szakats % abort key checking optimized and made unicode compatible * src/rtl/listbox.prg * synced with Viktor's branch, optimizations, formatting and fixes: ; 2014-07-21 08:56 UTC+0200 Viktor Szakats ! ListBox():findData(): fixed to be able to search for non-string data, to the same extent Cl*ipper is able to. ! ListBox():findData(): fixed exact/case-insensitive regression from 6f8508ff54a3955822b36bf4a65a2775a11bab23 ; 2014-07-21 03:26 UTC+0200 Viktor Szakats + LISTBOX object instance area made compatible with Cl*pper (relevant when object is accessed as array) ; 2014-07-21 01:20 UTC+0200 Viktor Szakats * renamed variable and macro to reflect their type + ListBox():findData(): documented potential RTE ; 2014-07-21 01:04 UTC+0200 Viktor Szakats % ListBox():findText(), ListBox():findData(): use hb_LeftEq[I]() ! ListBox():findText(), ListBox():findData(): fixed to not RTrim() while searching in EXACT mode. Regression from f61409bf19731c8485aa29bae273cae090c77502 + ListBox():findText(), ListBox():findData(): allow to search for any type of data in HB_CLP_STRICT mode to mimic Cl*pper behavior ! ListBox():findText(): fixed to allow zero length search text, like Cl*pper. Regression from 93d3a46d843daaf6d08149d83fa5203ff910c484 ! ListBox():addItem( cText, cData ): fixed to allow any type for cData, not just NIL and string, like Cl*pper + ListBox():setData(): documented a Cl*pper bug ; 2014-03-09 18:19 UTC+0100 Viktor Szakats ! ListBox():scroll() fixed to ignore non-numeric parameter (like Cl*pper) instead of an RTE 2014-11-29 18:35 UTC+0100 Viktor Szakats * src/rtl/tpersist.prg * restored -gc0 after manual merge 2014-11-29 14:29 UTC+0100 Viktor Szakats * include/hbapi.h * src/common/hbstr.c + restored hb_xstrcat() for Harbour upstream compatibility * src/common/hbfsapi.c ! hb_fsFNameMerge() fixed to not refer to szDrive in HB_TRACE mode 2014-11-29 06:03 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbapifs.h * src/common/hbffind.c * src/rtl/direct.c * src/rtl/dirscan.prg * src/rtl/filebuf.c + added lTime member to HB_FFIND structure + added 3rd parmeter to hb_fsDirectory() + extended default maximum number of Harbour file IO redirecros to 128 * use hb_xgrabz() * formatting * include/hbcompdf.h * include/hbpp.h * src/compiler/cmdcheck.c * src/compiler/genc.c * src/compiler/hbcomp.c * src/compiler/hbmain.c * src/compiler/ppcomp.c * src/pp/hbpp.c * src/pp/ppcore.c * src/pp/pplib.c + added support for -ql compiler switch - it disables displaying PRG line numbers during compilation + added internal support for switch which disables PRG names from final PCODE - it's not active by default * src/compiler/ppcomp.c + allow to change -gc? switch by #pragma directives * src/compiler/hbusage.c * present '-' as default option separator for all platforms * src/rdd/Makefile + src/rdd/rddshort.c - src/rdd/dbfuncs.prg * moved short function names (10 characters Cl*pper compatible) wrappers to rddshort.c * src/common/hbhash.c * src/compiler/gencc.c * src/compiler/hbcomp.c * src/compiler/hbdbginf.c * src/compiler/hbdead.c * src/compiler/hbmain.c * src/compiler/hbopt.c * src/debug/dbgentry.c * src/pp/ppcore.c * src/rdd/dbf1.c * src/rdd/dbfntx/dbfntx1.c * src/rdd/delim1.c * src/rdd/sdf1.c * src/rdd/hsx/hsx.c * src/rdd/usrrdd/usrrdd.c * src/rdd/wafunc.c * src/rdd/workarea.c * src/vm/classes.c * src/vm/dynsym.c * src/vm/estack.c * src/vm/runner.c * src/vm/set.c * src/vm/task.c * src/rtl/cdpapi.c * src/rtl/filebuf.c * src/rtl/gtcgi/gtcgi.c * src/rtl/gtcrs/gtcrs.c * src/rtl/gtstd/gtstd.c * src/rtl/gttrm/gttrm.c * src/rtl/gtxwc/gtxwc.c * src/rtl/hbdyn.c * src/rtl/hbgtcore.c * src/rtl/hbi18n1.c * src/rtl/hblpp.c * src/rtl/hbznet.c * src/rtl/iousr.c * use hb_xgrabz() * src/common/hbprintf.c * formatting * reduced variable scope * src/rdd/dblist.prg * src/rdd/hbsix/sxini.prg * src/rtl/hbfilehi.prg % use new hb_FName*() functions * src/codepage/cp_950.c * src/codepage/cp_big5.c * src/codepage/cp_gbk.c * src/codepage/cp_u16le.c * src/codepage/cp_utf8.c * src/common/hbfopen.c * src/common/hbstr.c * src/common/strwild.c * src/compiler/complex.c * src/compiler/genc.c * src/compiler/hbopt.c * src/compiler/hbusage.c * src/debug/dbghelp.prg * src/debug/debugger.prg * src/hbextern/hbextern.prg * src/main/harbour.1 * src/pp/ppcore.c * src/rdd/dbcmd.c * src/rdd/dbcmd53.c * src/rdd/dbf1.c * src/rdd/dbfcdx/dbfcdx1.c * src/rdd/dbfntx/dbfntx1.c * src/rdd/dbjoin.prg * src/rdd/dbnubs.c * src/rdd/dbsort.prg * src/rdd/dbstrux.prg * src/rdd/dbtotal.prg * src/rdd/dbupdat.prg * src/rdd/hbsix/sxcompat.prg * src/rdd/hbsix/sxcrypt.c * src/rdd/hbsix/sxini.prg * src/rdd/hsx/hsx.c * src/rdd/usrrdd/usrrdd.c * src/vm/debug.c * src/vm/estack.c * src/vm/set.c * src/vm/task.c * src/rtl/achoice.prg * src/rtl/adir.prg * src/rtl/alert.prg * src/rtl/altd.prg * src/rtl/base64d.c * src/rtl/browse.prg * src/rtl/cdpapi.c * src/rtl/checkbox.prg * src/rtl/color53.prg * src/rtl/dbedit.prg * src/rtl/dircmd.prg * src/rtl/dirscan.prg * src/rtl/errapi.c * src/rtl/errsys.prg * src/rtl/fnsplit.c * src/rtl/gtchrmap.c * src/rtl/gtcrs/gtcrs.c * src/rtl/gtsln/gtsln.c * src/rtl/gtsln/mousesln.c * src/rtl/gttrm/gttrm.c * src/rtl/gtwin/gtwin.c * src/rtl/gtwvt/gtwvt.c * src/rtl/gtxwc/gtxwc.c * src/rtl/gui.prg * src/rtl/hbbfish.c * src/rtl/hbdoc.prg * src/rtl/hbfilehi.prg * src/rtl/hbgtcore.c * src/rtl/hbi18n2.prg * src/rtl/hbini.prg * src/rtl/hblpphb.c * src/rtl/hbregexc.c * src/rtl/memvarhb.prg * src/rtl/menusys.prg * src/rtl/menuto.prg * src/rtl/objfunc.prg * src/rtl/padc.c * src/rtl/padl.c * src/rtl/padr.c * src/rtl/profiler.prg * src/rtl/radiobtn.prg * src/rtl/radiogrp.prg * src/rtl/setcolor.c * src/rtl/tbcolumn.prg * src/rtl/tbrowse.prg * src/rtl/tclass.prg * src/rtl/tgetint.prg * src/rtl/tgetlist.prg * src/rtl/tmenusys.prg * src/rtl/tobject.prg * src/rtl/tpersist.prg * src/rtl/tpopup.prg * src/rtl/tpopuphb.prg * src/rtl/treport.prg * src/rtl/tscalar.prg * src/rtl/tsymbol.prg * src/rtl/ttextlin.prg * src/rtl/typefile.prg * formatting, casing, comment updating, removed trailing spaces, casting, replace hb_itemType() with HB_IS_*() macros, updated variable and function names and scopes, pacified unused result warnings, removed redundant castings, use HB_SIZEOFARRAY() and sizeof(), removed explicit NIL from parameters, use hb_LeftEq[I](), added supports for symbol items used as codeblock replacements, use hb_defaultValue(), use FOR EACH statement, use SWITCH statement, replaced SubStr() with Left() or Right(), use hb_AScan(), use hb_FReadLen()/hb_VFReadLen(), removed FO_READ from FOpen() parameters, use Str() instead of PadL(), use hb_StrShrink() * src/lang/l_el.c * src/lang/l_es_419.c * src/lang/l_fr.c * src/lang/l_hu.c * src/lang/l_pt_br.c * src/lang/l_sk.c * src/lang/l_tr.c * synced with Viktor's branch * src/rtl/achoice.prg * src/rtl/cdpdet.prg * synced with Viktor's branch * src/vm/Makefile + src/vm/short.c + added short function names (10 characters Cl*pper compatible) wrappers * src/vm/extrap.c * synced with Viktor's branch * src/rtl/Makefile + src/rtl/rtlshort.c + added short function names (10 characters Cl*pper compatible) wrappers * src/rtl/cdpdetc.c * include/harbour.hbx + added __wapi_GetConsoleOutputCP() * src/rtl/datec.c * include/harbour.hbx + added hb_CDay( <nDayOfWeek> ) -> <cDayName> * src/rtl/filesys.c ! do not check for PIPEs handles in WinCE builds ! respect OS returnb code in SystemTimeToFileTime() * src/rtl/gete.c * covered GetE() function by HB_CLP_UNDOC macro * src/rtl/philes53.c * covered FSetDevMod() function by HB_CLP_UNDOC macro * src/rtl/hbdoc.prg * use HB_SERIALIZE_COMPRESS instead of explicit hb_ZCompress() (incompatible, .hbd files has to be regenerated) * src/rtl/hbjson.c * add a newline at EOF in human readable mode * src/rtl/hbzlibgz.c * disabled GZIP support in MSVC WinCE builds * src/rtl/philes.c * include/harbour.hbx + added hb_FReadLen() * src/rtl/vfile.c * include/harbour.hbx + added hb_VFReadLen() * src/rtl/strclear.c ! check hb_itemGetWriteCL() result ; above modifications borrowed from Viktor's branch with some small modifications - many thanks * src/rtl/hbinet.c * extened readahead buffer from 256 to 1500 bytes ! fixed possible wrong result in hb_InetDataReady() and redirected sockets (i.e. by hb_InetCompress()) * src/rtl/hbsocket.c ! typo in recent modification for BSD socket less builds + src/rtl/strutf8.c * include/harbour.hbx + added hb_StrIsUTF8() - it should be compatible with similar function from Viktor's branch * src/rtl/tpersist.prg * eliminated oSelf private variable and reduced macro expansion to item values * src/debug/dbgtmenu.prg * src/debug/dbgtwin.prg * src/debug/debugger.prg ! replaced SaveScreen()/RestScreen() with __dbgSaveScreen()/__dbgRestScreen() to fix problems with unicode characters which do not exists in HVM CP. * src/rdd/hbsix/sxcompat.prg + added support for timestamp values to sxChar(), sxNum(), sxDate() functions. 2014-11-29 02:57 UTC+0100 Viktor Szakats * contrib/hbpgsql/postgres.c * contrib/hbpgsql/postgres.ch * ChangeLog.txt * more docs ! fixed recent update for pgsql versions older than 7.4 2014-11-29 02:47 UTC+0100 Viktor Szakats * contrib/hbpgsql/hbpgsql.hbx * contrib/hbpgsql/postgres.c * contrib/hbpgsql/postgres.ch + added wrapper function PQresultErrorField( result, nFieldCode ) -> cString based on: https://groups.google.com/d/msg/harbour-users/XSvRpbzfcHc/ztSL32fYpl4J + added PG_DIAG_* constants * contrib/hbwin/tests/mapimail.prg * translation in comment 2014-11-26 14:59 UTC+0100 Viktor Szakats * bin/3rdpatch.hb * deleted editor-specific configuration comment 2014-11-25 03:24 UTC+0100 Viktor Szakats * src/3rd/png/* * src/3rd/png/Makefile * src/3rd/png/png.dif * update libpng to 1.6.15 2014-11-25 03:22 UTC+0100 Viktor Szakats * contrib/3rd/sqlite3/sqlite3.hbp * contrib/3rd/sqlite3/* * sqlite3 update to https://sqlite.org/releaselog/3_8_7_2.html 2014-11-25 00:37 UTC+0100 Viktor Szakats * CONTRIBUTING.md + reworded to emphasis submitting (and replicating) app problems using _hbmk2_. This shall avoid a multitude of potential problems resulting from doing builds manually. 2014-11-24 22:38 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/hbrand.c ! fixed memory leak * src/rtl/philes.c ! fixed number to handle casting * src/rtl/version.c ! added missing break in switch statement * src/rtl/hbsockhb.c * formatting and protection against wrong parameter passed to hb_socketGetHosts() ; above modifications borrowed from Viktor's branch with some small modifications * src/rtl/hbsocket.c ! always set pSockAddr and puiLen parameters passed to hb_socketAccept() and hb_socketRecvFrom() functions * formatting and comment syncing with Viktor's branch 2014-11-24 18:33 UTC+0100 Viktor Szakats * ChangeLog.txt * updated two entries 2014-11-24 10:30 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbnetio/netiocli.c * pacified warning 2014-11-24 09:43 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rdd/dbf1.c * pacified warning 2014-11-23 16:11 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg * tweaked wording for better clarity * added .hbc to list of possible input files ; [TRANSLATION] 2014-11-22 14:00 UTC+0100 Viktor Szakats * ChangeLog.txt * minor update 2014-11-22 13:21 UTC+0100 Viktor Szakats * contrib/hbwin/hbwin.hbx * contrib/hbwin/wapi_shellapi.c - deleted WAPI_SHELLEXECUTEEX(). It didn't compile due to broken/incomplete Windows headers shipping with some old compilers (mingw 4.8 with a distro shipping with buggy w32api headers, in this case). No capacity to fix this up. Switch to a recommended mingw release as an alternative solution, it's a free upgrade. Resolves https://github.com/vszakats/hb/issues/89 2014-11-21 16:31 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/gtqtc/gtqtc.hbc * contrib/gtqtc/gtqtc.hbp ! fixed detecting QT when both QT4 and GT5 versions are installed in OSX (synced with Viktor's branch) * src/rtl/gttrm/gttrm.c * small modification for future usage 2014-11-21 13:40 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/replic.c % optimized REPLICATE() function 2014-11-19 08:37 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbnetio/netiosrv.c * small simplification * src/rtl/hbznet.c ! fixed possible data stream corruption which could be exploited in systems which can accept only one byte in socket write operation when internal TCP output buffers are full. Rather seldom situation but theoretically possible, i.e. in VPN. 2014-11-18 14:13 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/dbinfo.ch + added new rddInfo() action: RDDI_DECIMALS * include/hbrdddbf.h * src/rdd/dbf1.c + added support for RDDI_DECIMALS - when set it's used as default number of decimal places in conversions to string for fields type "B" and "8" with 0 number of decimal places in DBF header. 2014-11-14 18:05 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/hbsocket.c * clear socket error after successful connect * src/rtl/hbznet.c ! fixed possible connection interrupting when data incomes fragmented in very small pieces 2014-11-12 18:01 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbgtinfo.ch + added HB_GTI_MINIMIZED * contrib/gtqtc/gtqtc.h * contrib/gtqtc/gtqtc1.cpp + added support for HB_GTI_MINIMIZED * src/rtl/gtxwc/gtxwc.c + added support for HB_GTI_MINIMIZED and HB_GTI_MAXIMIZED ; All above modifications created by Rolf - thanks * contrib/hbnetio/netiocli.c * updated some RTEs to be a little bit more precise * contrib/hbblat/hbblat.hbp * disabled unconditional dynamic library build 2014-11-12 01:33 UTC+0100 Viktor Szakats * extras/dbu/dbu52.dif * extras/dbu/dbu53.dif + added support for new dbu /p option to set a table password 2014-11-12 01:12 UTC+0100 Viktor Szakats * README.md + added Git article link * tests/inifile.prg ! deleted UI output from this abstract class 2014-11-09 20:23 UTC+0100 Viktor Szakats * contrib/xhb/xhbolec.c * use hbwapi.h everywhere and drop hbwin.h 2014-11-09 20:15 UTC+0100 Viktor Szakats * contrib/hbwin/hbwapi.h * contrib/hbwin/hbwin.ch * contrib/hbwin/hbwin.h + moved constants that need to be accessible from .prg code to .ch header * moved constants/declrations from hbwin.h into hbwapi.h to have them in one header % removed duplicate constant declarations * contrib/hbwin/*.c * use hbwapi.h everywhere and drop hbwin.h (though probably the reverse would be cleaner; left for the future) * contrib/gtwvw/legacy.c * made it easy to disable non-prefixed compatibility functions 2014-11-08 22:36 UTC+0100 Viktor Szakats * contrib/hbwin/hbwapi.h * contrib/hbwin/wapi_misc.c * contrib/hbwin/win_regc.c % moved internal function for better granularity ! fixed https://github.com/vszakats/hb/issues/88 2014-11-08 02:35 UTC+0100 Viktor Szakats * contrib/hbwin/wapi_shellapi.c * more cleanup 2014-11-07 18:40 UTC+0100 Viktor Szakats * contrib/hbwin/wapi_shellapi.c * cleanups 2014-11-07 18:34 UTC+0100 Viktor Szakats * contrib/hbwin/hbwapi.h * contrib/hbwin/win_regc.c + added public wapi function hbwapi_get_HKEY() * contrib/hbwin/hbwin.hbx * contrib/hbwin/wapi_shellapi.c + added wapi_ShellExecuteEx() --- LOCAL h ? wapi_ShellExecuteEx( h := { "lpVerb" => "open", "lpFile" => "https://example.com" } ) ? wapi_GetLastError(), h[ "hInstApp" ], h[ "hProcess" ] --- 2014-11-06 02:48 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + added link to useful overview about building C programs from the author of 'aimake' tool similar to hbmk2 2014-11-05 03:46 UTC+0100 Viktor Szakats * win-make.exe * updated from latest mingw build (version 4.1) https://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win32/Personal%20Builds/mingw-builds/4.9.2/threads-win32/sjlj/i686-4.9.2-release-win32-sjlj-rt_v3-rev0.7z 2014-11-05 03:16 UTC+0100 Viktor Szakats * contrib/hbmxml/3rd/minixml/minixml.dif * contrib/hbmxml/3rd/minixml/mxml_fil.c * contrib/hbmxml/3rd/minixml/mxml.hbp * updated 2.8 -> 2.9 2014-11-04 03:05 UTC+0100 Viktor Szakats * doc/dirstruc.txt + readded one-liner description for contrib and extras dirs 2014-11-04 02:52 UTC+0100 Viktor Szakats * doc/dirstruc.txt - deleted 'extras' subdir. See .hbc files and readmes for actual subdirs * updated /src/3rd dir description to require less maintenance * minor updates 2014-11-04 01:54 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * ChangeLog.txt * doc/xhb-diff.txt ! typos * doc/clipper.txt ! removed completely false information about 'LIST &cMacro' * updated information about FOR EACH ; in general information in this file are outdated and does not correctly describe current Harbour behavior. I strongly suggest to not use it in any other documentation. In some spare time I'll update this file or remove. * doc/cmpopt.txt + added information about unsupported by Clipper syntax extension: iif( <expr1>, <expr2>, <expr3> ) <op>= <expr4> * include/hbrddnsx.h * minor modification in comment * src/macro/macrolex.c * accept unconditionally hash 'key => value' operator * src/rdd/dbfnsx/dbfnsx1.c ! fixed very bad bug in leaf key compression. This problem could be exploited by keys containing containing CHR( 255 ) in encoded keys just before trailing empty key characters. This bug could cause index corruption. * use hb_xgrabz() * formatting 2014-11-03 03:14 UTC+0100 Viktor Szakats * contrib/hbrun/hbrun.hbp + statically link hbosx lib to hbrun on darwin * contrib/hbtip/hbtip.hbp * contrib/hbtip/hbtip.hbx + contrib/hbtip/base64u.prg + added tip_base64EncodeUrl(), tip_base64DecodeUrl() 2014-10-30 03:18 UTC+0100 Viktor Szakats * contrib/3rd/sqlite3/sqlite3.hbp * contrib/3rd/sqlite3/* * sqlite3 update 3.8.7.1 to https://sqlite.org/releaselog/3_8_7_1.html 2014-10-28 16:06 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * doc/xhb-diff.txt * updated information about extended CDX format and defined by user index page size in section "NATIVE RDDs" 2014-10-28 14:35 UTC+0100 Viktor Szakats * README.md + added link to another online doc creator service 2014-10-28 03:10 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + -vcshead= generated header will now contain two new constants when using a Git repository: _HBMK_VCS_GIT_COMMIT_COUNT_ "<n>" _HBMK_VCS_GIT_COMMIT_COUNT_NUM_ <n> which is a numeric value similar to SVN's revision number, but in Git it represents the current branch's commit count. ; to restore a given commit count: --- nth-commit.sh n [branch] branch=${2:-'master'} SHA1=$(git rev-list $branch | tail -n $1 | head -n 1) git checkout $SHA1 --- https://tgoode.com/2014/06/05/sensible-way-increment-bundle-version-cfbundleversion-xcode/ * config/global.mk + extract above Git branch commit count into /include/_repover.txt (it's not yet used) * src/common/expropt1.c * comment 2014-10-26 17:27 UTC+0100 Viktor Szakats * src/3rd/png/* * src/3rd/png/Makefile * src/3rd/png/png.dif * update libpng 1.6.13 -> 1.6.14 2014-10-26 01:55 UTC+0200 Viktor Szakats * contrib/hbrun/doc/hbrun.*.md * utils/hbmk2/doc/hbmk2.*.md * utils/hbmk2/po/hbmk2.*.po * synced/regenerated 2014-10-26 01:41 UTC+0200 Viktor Szakats * contrib/hbrun/hbrun.hbp * utils/hbmk2/hbmk2.hbp * utils/hbmk2/hbmk2.prg * renamed '-longhelp'/'--longhelp' -> '-fullhelp'/'--fullhelp' (old name still accepted) * renamed '-longhelpmd' -> '-fullhelpmd' ; [TRANSLATION] 2014-10-24 17:05 UTC+0200 Viktor Szakats * CONTRIBUTING.md * minor 2nd 2014-10-24 17:04 UTC+0200 Viktor Szakats * CONTRIBUTING.md * minor 2014-10-24 16:58 UTC+0200 Viktor Szakats * contrib/gtwvw/gtwvw.hbx * contrib/gtwvw/wvwutils.c + added wvw_GetCtrlHandle( nWin, nClass, nID, [@nStyle] ) -> hWnd based on https://groups.google.com/d/msg/harbour-users/kJko0UTKjpk/C7VJARcWhU0J 2014-10-24 16:29 UTC+0200 Viktor Szakats * CONTRIBUTING.md + added point to report 3rd party component problems (warnings and bugs) to their original maintainer 2014-10-24 16:16 UTC+0200 Viktor Szakats * src/common/hbver.c ! fixed unused var warnings in non-win builds 2014-10-24 15:15 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbrddntx.h * src/rdd/workarea.c * src/rdd/dbf1.c * src/rdd/delim1.c * src/rdd/sdf1.c * src/rdd/dbfcdx/dbfcdx1.c * src/rdd/dbfnsx/dbfnsx1.c * src/rdd/dbfntx/dbfntx1.c * src/rdd/dbffpt/dbffpt1.c * contrib/rddads/ads1.c * contrib/rddads/adsfunc.c * contrib/rddads/adsx.c * contrib/rddsql/sqlbase.c * contrib/rddsql/sqlmix.c * contrib/sddfb/core.c * contrib/sddmy/core.c * contrib/sddoci/core.c * contrib/sddodbc/core.c * contrib/sddpg/core.c * contrib/sddsqlt3/core.c * cleaned AREAP casting * unified some variable names * cleaned some DBOI_* actions * allow to call ORDERINFO() method without itmResult item. * few other cleanups 2014-10-24 13:07 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! configure __PLATFORM__* macros in android cross target scenarios Might fix https://github.com/vszakats/hb/issues/81 2014-10-24 12:58 UTC+0200 Viktor Szakats * contrib/rddads/ads1.c ! fixed error while building against older ADS versions Fixes https://github.com/vszakats/hb/issues/82 2014-10-24 04:13 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/rddads/ads1.c * contrib/rddads/adsfunc.c * contrib/rddads/rddads.h + added support for RDDI_INDEXPAGESIZE in ADI indexes * src/rdd/dbf1.c * minor cleanup * include/hbrddcdx.h * src/rdd/dbfcdx/dbfcdx1.c + added support for long index keys when bigger pages are used. Now maximum index key size is 4082 for 8192 bytes length index pages. Indexes are critical for database applications so please make tests with current code and report problems if you find any. 2014-10-23 17:58 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbrddcdx.h * src/rdd/dbfcdx/dbfcdx1.c * renamed CDX_TYPE_TEMPORARY to CDX_TYPE_PARTIAL * eliminated Temporary member from CDXTAG structure * cleaned tag signature flag setting to strictly follow CL5.2 (SIx3) and CL5.3 (COMIX) 2014-10-23 14:11 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rdd/dbfcdx/dbfcdx1.c * pacified warning 2014-10-23 13:50 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rdd/dbfcdx/dbfcdx1.c ; minor comment update * utils/hbmk2/hbmk2.prg ! fixed error/warning messages after recent modifications for -stop switch 2014-10-23 13:20 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/rddads/ads1.c * contrib/rddads/adsfunc.c ! check if AE_VALUE_OVERFLOW macro exists before use ! fixed memory leak % use char* instead of UNSIGNED8* to eliminate unnecessary casting * use HB_IT_EVALITEM instead of HB_IT_BLOCK * formatting and minor cleanups * include/hbrddcdx.h * src/rdd/dbfcdx/dbfcdx1.c * modifications for longer index keys when bigger pages are used (work in progress) 2014-10-23 00:27 UTC+0200 Viktor Szakats * contrib/xhb/thtm.prg ! THtml():New() fixed output to file not working (via xhb) 2014-10-22 23:40 UTC+0200 Viktor Szakats * contrib/hbcups/tests/test.prg + implemented ideas from https://github.com/tfonrouge/harbour/commit/03aa68ed9a71e336b4d7d80c99227301b3ef0170 2014-10-22 23:19 UTC+0200 Viktor Szakats * contrib/hbtip/tests/ftp_dl.prg * contrib/hbtip/tests/ftp_ul.prg % optimization 2014-10-22 23:05 UTC+0200 Viktor Szakats * tests/dynwin.prg * cleanup 2014-10-22 22:58 UTC+0200 Viktor Szakats * contrib/hbwin/hbwin.ch + added WIN_MAX_PATH constant * contrib/gtwvg/wvtwin.ch * contrib/gtwvg/wvtwinlg.ch * mapped MAX_PATH constant to hbwin.ch one ! fixed MAX_PATH value to be 260 (was 256) * contrib/hbxpp/tests/dllcall.prg * cleanups * src/common/hbver.c * whitepace 2014-10-22 16:14 UTC+0200 Viktor Szakats * src/common/hbver.c ! fixed win build when using certain buggy Windows headers (seen with former mingw) Fixes https://github.com/vszakats/hb/issues/80 * contrib/hbwin/win_osc.c % WIN_OSISTSCLIENT(): simplification 2014-10-22 10:25 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbrddcdx.h * src/rdd/dbfcdx/dbfcdx1.c * modifications for longer index keys when bigger pages are used (work in progress) 2014-10-22 03:18 UTC+0200 Viktor Szakats * src/common/hbver.c * rely less on GetVersion[Ex]() function for version detection ! hb_iswinver() fixed potential race condition * contrib/hbwin/win_osc.c % leverage core versioning functions * contrib/hbwin/tests/os.prg + more tests * contrib/hbwin/win_rpc.c ! WIN_UUIDCREATESTRING() fixed potential race condition 2014-10-22 02:24 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbrddcdx.h * src/rdd/dbfcdx/dbfcdx1.c * force default index page size when CDX header does not contain Harbour signature * added RTE when index expression returns item with unsupported type during indexing * modifications for longer index keys when bigger pages are used (work in progress) * formatting 2014-10-21 22:21 UTC+0200 Viktor Szakats * src/common/hbver.c + hb_iswinver(): added support for dmc and older msvc versions (untested) * contrib/hbwin/win_osc.c * WIN_OSIS*(): rewritten 2000 and upper version checks to use new hb_iswinver() call + contrib/hbwin/tests/os.prg + WIN_OSIS*() function tests * contrib/gtwvg/gtwvglo.h ! indenting 2014-10-21 16:57 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * utils/hbmk2/hbmk2.prg ! yet another -stop fix borrowed from Viktor's branch 2014-10-21 16:40 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbrddcdx.h * src/rdd/dbfcdx/dbfcdx1.c * added support for user defined index page size in DBFCDX. To change page size for newly created index it's enough to call: hb_rddInfo( RDDI_INDEXPAGESIZE, <nNewSize>, "DBFCDX" ) DBFCDX accepts page sizes which are power of 2 in from 512 to 8192. The upper range is my personal decision and can be easy changed in Harbour source code. 512 is default CDX index page size and only such indexes can be read by other RDDs. In some cases bigger pages can increase performance and reduce index size. In local networks probably 1024 should give optimal performance because can be transferred in single ethernet frame. Just make a tests. ; In next step I plan to add support for longer index keys when bigger pages are used. * utils/hbmk2/hbmk2.prg ! added -stop fix borrowed from Viktor's branch 2014-10-21 16:26 UTC+0200 Viktor Szakats * src/common/hbver.c ! fixed detecting Windows 2012 R2 when server is also a domain controller ! fixed recent changes to compile with dmc and older msvc compilers ! fixed an msvc cast warning ! eliminated GetVersionEx() call while detecting Win2K3 2014-10-21 13:28 UTC+0200 Viktor Szakats * contrib/3rd/sqlite3/sqlite3.hbp * contrib/3rd/sqlite3/* * sqlite3 update 3.8.6 to https://sqlite.org/releaselog/3_8_7.html 2014-10-21 12:45 UTC+0200 Viktor Szakats + config/coverity.c + added empty Coverity modeling file 2014-10-21 04:53 UTC+0200 Viktor Szakats * src/common/hbver.c * copyright header 2014-10-21 04:48 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! fixed so that '-stop' option (when issued in a subproject specified on the command-line) will now only stop the build of the subproject instead of the whole build 2014-10-21 04:36 UTC+0200 Viktor Szakats * contrib/hbwin/win_osc.c * include/hbapi.h * src/common/hbver.c ! fixed recent crash due to recursive call + added code to differenciate between server/desktop versions of Windows newer than 8.0 2014-10-21 03:58 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! deleted an accidental edit from prev commit 2014-10-21 03:48 UTC+0200 Viktor Szakats * contrib/hbwin/win_osc.c * include/hbapi.h * src/common/hbver.c % consolidated two recently added local functions to public core hb_iswinver() function * use VerSetConditionMask() instead of VER_SET_CONDITION() ; FIXME: new code crashes under Windows 8 or upper [DONE] * utils/hbmk2/hbmk2.prg ! fixed so that '-stop' option (when issued in a subproject) will now only stop the build of the subproject instead of the whole build [TOTEST] ! fixed to use constant in one place + documented '-skip' special option [TRANSLATION] 2014-10-20 23:40 UTC+0200 Viktor Szakats * src/common/hbver.c + OS() to return "Windows 8.1 6.3" and "Windows 10 6.4" on these systems. (build number is hidden for these - needs hacks to extract this information in unofficial ways) 2014-10-20 23:29 UTC+0200 Viktor Szakats * contrib/hbwin/hbwin.hbx * contrib/hbwin/win_osc.c * contrib/xhb/xhb.hbx * contrib/xhb/xwin_ver.c * include/hbapi.h * src/common/hbver.c + added C level hb_iswin10() + added win_osIs10() (hbwin), os_IsWin10() (xhb) functions to detect Windows 10 https://blogs.msdn.com/b/chuckw/archive/2013/09/10/manifest-madness/ 2014-10-20 23:15 UTC+0200 Viktor Szakats * contrib/hbwin/hbwin.hbx * contrib/hbwin/win_osc.c + added win_osIs81(). Now implemented in C and using official detection method. (build test only) * contrib/xhb/xhbmisc.prg * contrib/xhb/xwin_ver.c * mapped os_IsWin81() to hbwin function * src/common/hbver.c * code cleanup ! fixed indentation 2014-10-20 22:59 UTC+0200 Viktor Szakats * include/hbapi.h * src/common/hbver.c + added C level function hb_iswin81() * contrib/xhb/xhb.hbx * contrib/xhb/xhbmisc.prg + added os_IsWin81(). This one works without Manifest tricks. 2014-10-20 21:59 UTC+0200 Viktor Szakats * config/rules.mk * updated Swift support for stable Xcode 6.1 (first release to support both desktop and mobile apps) 2014-10-20 20:28 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg * added partial workaround for still-enabled legacy Windows OS filename matching behavior (where '*.ext' matches '*.ext*'). Applied only when evaluating hbmk2 input filenames. Note however that this is still a Windows issue, so you should rather consult with your MS representative or their leadership. (only very lightly tested) 2014-10-20 18:07 UTC+0200 Viktor Szakats * bin/commit.hb * contrib/hbhttpd/core.prg % changed to use shorter expression from upstream in UTC conversion * extras/httpsrv/uhttpd.prg ! fixed negative UTF offset * utils/hbmk2/hbmk2.prg * implement and use hb_RightEq() macro 2014-10-20 17:33 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * config/lang2po.hb ! fixed negative UTC offsets to string conversion * include/dbinfo.ch * src/rdd/dbfcdx/dbfcdx1.c * src/rdd/dbfnsx/dbfnsx1.c * src/rdd/dbfntx/dbfntx1.c + added DBOI_INDEXPAGESIZE - get index page size * include/dbinfo.ch * include/hbrdddbf.h * src/rdd/dbf1.c + added RDDI_INDEXPAGESIZE - get/set default index page size * include/hbrddcdx.h * src/rdd/dbfcdx/dbfcdx1.c * modification for user defined index page size (work in progress) 2014-10-20 01:13 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + added -hb32 (and related) options/filters to make it possible to use 3.4 hbmk2 executable to build projects with Harbour 3.2.0dev version (similarly to existing -xhb/-hb30/-hb20/-hb10 options) Since 3.2.0dev is an unstable version, this option might disappear/change in the future. 2014-10-19 14:46 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/gtwvt/gtwvt.c * small cleanup in HB_GTI_UNITRANS 2014-10-17 15:13 UTC+0200 Viktor Szakats * contrib/make.hb * use portable dirsep format in one of the hbmk2 options where this wasn't the case after prev commit 2014-10-17 14:55 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbrddcdx.h * src/rdd/dbfcdx/dbfcdx1.c + added support for large index files over 4 GiB length. These are slightly modified CDX indexes which stores index page numbers instead of index page offsets inside index file. This trick increase maximum index files size from 2^32 (4 GiB) to 2^41 (2 TiB). This index format is enabled automatically when DB_DBFLOCK_HB64 is used. This is the same behavior as in DBFNTX and DBFNSX for which I added support for large indexes (up to 4 TiB) few years ago. Warning: new CDX indexes are not backward compatible and cannot be read by other systems or older [x]Harbour versions. If you try to open new indexes using older [x]Harbour RDDs then RTE "DBFCDX/1012 Corruption detected" is generated. When current Harbour *DBFCDX/SIXCDX RDD open index file then it automatically recognize type of index file so it will work correctly with both versions without any problem. In short words: People using DB_DBFLOCK_HB64 should remember that after reindexing with new Harbour applications old ones cannot read new CDX indexes. ; In next step I plan to add support for user defined page size in CDX index files. * doc/xhb-diff.txt * added information about extended CDX format to section "NATIVE RDDs" * src/rdd/dbfcdx/dbfcdx1.c * src/rdd/dbfnsx/dbfnsx1.c * src/rdd/dbfntx/dbfntx1.c * disable record readahead buffer used during indexing when only one record can be stored inside ! generate RTE when data cannot be read into record readahead buffer during indexing 2014-10-16 10:04 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg * changed/fixed '-env:ENVVAR' option to _set_ 'ENVVAR' to an arbitrary, non-empty value ("1" ATM), instead of deleting it. * contrib/make.hb * display warning if any project to be added cannot be found ! fixed where path wasn't converted to OS native before displaying or calling FS functions (didn't cause any real world problems) 2014-10-15 14:22 UTC+0200 Viktor Szakats * contrib/gtwvw/tests/drawimg.prg * contrib/hbwin/tests/prn1.prg * contrib/hbwin/tests/prn2.prg ! Wider filename input fields Fixes https://github.com/vszakats/hb/issues/76 * contrib/hbnf/tests/mouse1.prg * formatting 2014-10-15 01:36 UTC+0200 Viktor Szakats * contrib/gtwvg/wvgcuig.c * code cleanups. Now it's easy to protect for an iHandle overflow/duplication. ! WVG_LABEL(), WVG_OUTLINE(), WVG_LINE(), WVG_PICTURE() fixed out-of-bounds memory access 2014-10-15 01:15 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.hbp * minor 2014-10-15 01:14 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.hbp % simplification to prev commit 2014-10-15 00:52 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg * -minipo option will now only control whether source references are included in the .po output. Harbour version will now always be turned off regardless of this setting. [TRANSLATION] * utils/hbmk2/hbmk2.hbp + added logic to regenerate EN .po file (run 'hbmk2 -env:HB_PO_UPDATE hbmk2.hbp') * utils/hbmk2/po/hbmk2.en.po * refreshed .po file with latest string changes in source * utils/hbmk2/doc/hbmk2.*.md * regenerated 2014-10-14 23:04 UTC+0200 Viktor Szakats * contrib/gtwvg/wvgcuig.c ! fixed about two dozen potential NULL dereferences 2014-10-14 20:11 UTC+0200 Viktor Szakats * src/lang/l_hu.c ! fixes * contrib/hbrun/doc/hbrun.*.md * utils/hbmk2/doc/hbmk2.*.md * regenerated 2014-10-14 14:05 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/gtxwc/gtxwc.c ! fixed size of picture shown by HB_GTI_DISPIMAGE ! fixed indexes used to restore text data after hb_gtInfo( HB_GTI_DISPIMAGE, "" ) 2014-10-13 19:06 UTC+0200 Viktor Szakats * CONTRIBUTING.md * minor 2014-10-13 18:53 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/gtxwc/gtxwc.c ! fixed recent modification (force character redrawing) 2014-10-13 17:11 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/Makefile ! fixed to only include compilable GTs in Harbour dynlib (borrowed from Viktor's fork) * src/rtl/gtxwc/gtxwc.c + redraw screen area when empty string is passed as image body to HB_GTI_DISPIMAGE, i.e.: hb_gtInfo( HB_GTI_DISPIMAGE, "" [, <aCords> ] ) If <aCords> is not given then whole screen is refreshed. 2014-10-13 13:18 UTC+0200 Viktor Szakats * contrib/gtwvg/wvgwing.c ! PackedDibLoad() fixed a typo in prev commit causing it to always fail % PackedDibLoad() synced flow with GTWVW 2014-10-12 18:45 UTC+0200 Viktor Szakats * contrib/hbcurl/easy.c * contrib/hbcurl/hbcurl.ch + added upcoming libcurl feature HB_CURLOPT_PINNEDPUBLICKEY 2014-10-12 18:33 UTC+0200 Viktor Szakats * contrib/gtwvg/wvgwing.c * PackedDibLoad() cleanups (more) 2014-10-12 17:49 UTC+0200 Viktor Szakats * contrib/gtwvg/wvgwing.c * PackedDibLoad() cleanups ! PackedDibLoad() added size limit as a filter for tainted input (size limit is the same as in hbwin for .bmp) * contrib/gtwvw/gtwvwd.c ! PackedDibLoad() added size check to avoid allocating zero bytes ! PackedDibLoad() added size limit as a filter for tainted input * contrib/hbwin/win_com.c ! initialize some variables/memory involved in read operations 2014-10-12 16:03 UTC+0200 Viktor Szakats * src/rtl/gtchrmap.c ! silence Coverity warning 2014-10-12 15:59 UTC+0200 Viktor Szakats * src/rdd/dbcmd.c ! silence Coverity warning 2014-10-12 14:58 UTC+0200 Viktor Szakats * contrib/hbwin/axcore.c ! fixed msvc analyzer warning * contrib/hbwin/wapi_winbase.c ! WAPI_FORMATMESSAGE() attempt to fix freeing an invalid pointer 2014-10-12 14:44 UTC+0200 Viktor Szakats * contrib/gtwvg/wvgwing.c ! fixed file handle leak after 2014-10-10 22:32 UTC+0200 * contrib/hbgd/gdwrp.c ! fixed memory leak in GDImageCreateFrom() * contrib/hbgs/core.c ! HB_GS() fixed two memory leaks * contrib/rddads/ads1.c ! fixed memory leak in adsCreate() * contrib/rddads/adsx.c ! fixed invalid pointer reference in DBOI_RELKEYPOS (check me) * contrib/sddoci/core.c ! fixed missing variable initialization * contrib/sddmy/core.c % deleted dead code * contrib/sddfb/core.c * contrib/sddmy/core.c * contrib/sddoci/core.c * contrib/sddpg/core.c * use hb_xgrabz() in all SDDs when allocating row buffer * src/vm/set.c ! silenced Coverity warning by adding a NULL check * contrib/xhb/bkgtsks.c * minor cleanups 2014-10-12 02:09 UTC+0200 Viktor Szakats * contrib/gtwvw/toolbar.c ! missing 'break;' (+ minor opt) (bug committed in 2009-08-23 19:50 UTC-0300 in xhb) * contrib/hbwin/win_prn1.c * contrib/hbwin/win_tprn.prg % deleted some dead code 2014-10-11 16:15 UTC+0200 Viktor Szakats * contrib/hbamf/amfenc.c % deleted dead code * contrib/hbct/dattime2.c * contrib/hbct/files.c * silence Coverity analyzer warnings * contrib/hbwin/win_tprn.prg % minor cleanup 2014-10-11 04:09 UTC+0200 Viktor Szakats * contrib/hbwin/win_tprn.prg + win_GetCharSize() .prg implementation. Not yet enabled. 2014-10-11 03:39 UTC+0200 Viktor Szakats * contrib/gtwvw/wvwharb.prg * contrib/gtwvw/wvwutils.c * win_CreateFont() rewritten as .prg calling wapi function. Recommended to use wapi_CreateFont() instead. * contrib/hbwin/hbwapi.h * contrib/hbwin/hbwin.hbx * contrib/hbwin/wapi_alloc.c * contrib/hbwin/wapi_wingdi.c * contrib/hbwin/win_prn1.c * contrib/hbwin/win_tprn.prg + added low-level APIs: hbwapi_is_HDC() hbwapi_is_HPEN() hbwapi_is_HBRUSH() hbwapi_is_HFONT() hbwapi_is_PDEVMODE() * win_CreateFont() rewritten in .prg as __win_CreateFont() and made it local to the win_Prn() class * win_CreateFont() deprecated with HB_LEGACY_LEVEL5, use wapi_CreateFont() instead, or look into __win_CreateFont() + added __wapi_Type() .prg level API to return type of GC collected pointers as strings, "POINTER" if raw pointer, or empty if unknown ! hb_gcAllocate() buffer sizes cleaned up. It doesn't make any difference since handles are the same size as pointers, but I hope it is correct now formally. I'm not sure though. ! WAPI_SELECTOBJECT() fixed to detect types of GC collected pointers properly 2014-10-10 23:07 UTC+0200 Viktor Szakats * README.md + use the new .svg Travis CI badge 2014-10-10 22:32 UTC+0200 Viktor Szakats * contrib/gtwvg/gtwvgd.c ! added missing 'break;' * contrib/gtwvg/wvgcore.c * contrib/gtwvg/wvgcuig.c * contrib/gtwvw/wvwdraw.c ! fixed potential zero division * contrib/gtwvg/wvgwing.c ! fixed potential integer overflow and zero allocation * contrib/gtwvw/combobox.c % deleted dead code ! fixed potential NULL deferences * contrib/gtwvw/gtwvwd.c ! fixed potential NULL deferences ! added missing 'break;' * suppressed static analyzer warnings ! fixed typo in scrollbar size calculation * contrib/gtwvw/wvwwin.c % deleted dead code * contrib/hbamf/amfstdio.c ! fixed memory leak * contrib/hbct/ctstr.c ! consistent NULL pointer checks * contrib/hbmisc/spd.c ! SQL_SPRINTF(): use memmove() in place of memcpy() with potentially overlapping buffers * contrib/hbtip/mime.c ! fixed typos in MIME_FLAG_TRIMTABS flag checks * contrib/hbwin/wapi_winbase_mutex.c ! fixed typo in buffer size calculation * contrib/hbwin/win_osc.c ! check return value of GetVersionEx() * src/common/hbver.c ! fixed ineffective check for a win structure member * src/compiler/hbcomp.c * src/rtl/gtchrmap.c * src/rtl/strclear.c * suppressed static analyzer warnings * src/rtl/version.c ! added missing 'break;' causing hb_Version( HB_VERSION_MT ) to return wrong value 2014-10-10 20:39 UTC+0200 Viktor Szakats * README.md + added Coverity status badge https://scan.coverity.com/projects/3208 * contrib/gtwvg/gtwvgd.c ! hb_gt_wvt_CreateWindow() fixed potential out-of-bounds write * contrib/gtwvg/wvgutils.c * contrib/gtwvw/gtwvwd.c ! fixed potential out-of-bounds read/writes in callbacks * contrib/gtwvw/menubar.c ! added missing initialization * contrib/hbmemio/memio.c ! fixed memory leak on internal error * contrib/hbmzip/mzip.c ! hb_zipStoreFile() fixed memory leak * contrib/hbwin/wapi_wingdi.c ! WAPI_STARTDOC() fixed memory leak * contrib/hbzebra/datamtrx.c ! hb_zebra_create_datamatrix() fixed memory leak * contrib/sddsqlt3/core.c ! sqlite3Execute() fixed memory leak * contrib/xhb/hbxml.c ! mxml_attribute_read() fixed memory leaks ! mxml_error_desc() fixed out-of-bounds (off by one) read * src/common/hbprintf.c ! silence one static analyzer warning * src/rtl/hbinet.c * added FIXME for potential double free * src/rtl/hbrand.c ! HB_RANDSTR() fixed memory leak * contrib/hbmxml/tests/reminder.prg % optimization * contrib/hbmxml/tests/testmxml.prg * formatting ; NOTE: several more similar "high-impact" problems were found in core and few contribs (e.g. hbzebra) 2014-10-10 15:47 UTC+0200 Viktor Szakats * .travis.yml * reverted (not necessary here) [ci-skip] 2014-10-10 15:15 UTC+0200 Viktor Szakats * .travis.yml * experimenting with coverity scan 2014-10-09 17:00 UTC+0200 Viktor Szakats * contrib/hbmisc/hb_f.c * contrib/hbmisc/twirler.prg * cleanups * package/mpkg_src.sh * replaced a bashism with portable construct https://wiki.ubuntu.com/DashAsBinSh 2014-10-09 14:25 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg * _SET_EOF (an archaic legacy) is now set to .F. for scripts [TRANSLATION] [INCOMPATIBLE] * contrib/hbnf/tests/textbrw.prg * cleanups 2014-10-09 01:35 UTC+0200 Viktor Szakats * contrib/hbmisc/hbmisc.hbx * exclude hb_F*() functions from dynlib builds of hbmisc * contrib/hbmisc/tests/hb_f.prg -> contrib/hbnf/tests/ft_f.prg * contrib/hbmisc/tests/rtfclass.prg -> contrib/hbnf/tests/rtfclass.prg * updated to use original ft_F*() API and moved into hbnf tests dir 2014-10-09 01:23 UTC+0200 Viktor Szakats * contrib/hbnf/fttext.c * contrib/hbnf/hbnf.hbx + added ft_FLastRec() as a synonym for ft_FLastRe() + added ft_FGoBottom() as a synonym for ft_FGoBot() (this is a Harbour extension) + contrib/hbnf/tests/textbrw.prg + added example/test code for ft_F*() function original source: http://www.creasolgroup.com/xOraclipLanguageReferenceGuide/xOraClip%20Language%20Reference/Functions/Hb_fuse_f.en.html cleaned, formatted, converted for hbnf, etc * contrib/hbmisc/hb_f.c * contrib/hbmisc/hbmisc.hbc * contrib/hbmisc/hbmisc.hbp % replaced buggy, old and limited copy-paste version of original ft_F*() API from NanFor lib - that was committed before NanFor was ported to Harbour - with redirections to hbnf equivalents: HB_FUSE() -> FT_FUSE() HB_FRECNO() -> FT_FRECNO() HB_FSKIP() -> FT_FSKIP() HB_FREADLN() -> FT_FREADLN() HB_FATEOF() -> FT_FEOF() HB_FGOTO() -> FT_FGOTO() HB_FGOBOTTOM() -> FT_FGOBOTTOM() HB_FGOTOP() -> FT_FGOTOP() HB_FLASTREC() -> FT_FLASTREC() HB_FSELECT( ) -> FT_FSELECT() it means that hbmisc now depends on hbnf. Anyhow, it's best to update any code to change the hbmisc calls as above. Two old extensions - HB_FINFO() and HB_FREADANDSKIP() - are now dummies returning empty values. These are not supported after this change [INCOMPATIBLE]. 2014-10-08 18:00 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/vm/arrays.c ! added protection against internal error when ACOPY() is executed with the same array passed as source and target without any indexes which can force item move. Now ACOPY() works like in Cl*pper. 2014-10-08 15:17 UTC+0200 Viktor Szakats * config/global.mk ! set /doc dir inside the Harbour subtree when not installing Harbour into a system location (this might break other scenarios, TL;DT) 2014-10-08 13:19 UTC+0200 Viktor Szakats * config/darwin/libs.mk * config/detect.mk * utils/hbmk2/hbmk2.prg + detect and link X11 on OS X Yosemite 2014-10-08 12:54 UTC+0200 Viktor Szakats * src/Makefile ! fixed to only include compilable GTs in Harbour dynlib * utils/hbmk2/hbmk2.prg % minor opt 2014-10-08 11:06 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbamf/amfdec.c ! simplified and fixed datetime decoding. Please verify what is the correct time base value. Used by current and commented previous wrong code: 1970-01-01 00:00:00 => 210866803200000 or: 1969/12/31 12:00:00 => 210866760000000 Testing please remember about UTC offset. * contrib/hbbz2/core.c ! fixed declaration for bz_internal_error() 2014-10-08 02:46 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbdefs.h * minor fix in recently added casting 2014-10-08 02:00 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbnetio/netiosrv.c * src/rtl/gtpca/gtpca.c * pacified warnings * src/rtl/hbjson.c ! include hbjson.h 2014-10-07 22:52 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbjson.h * exported hb_jsonEncode() and hb_jsonDecode() functions 2014-10-07 16:13 UTC+0200 Viktor Szakats * config/global.mk * config/win/msvc.mk * utils/hbmk2/hbmk2.prg ! fixed cl.exe based version detection for msvc64 after 55f6f02100840b70a43a2a7d64f96248a3aaa458 (in both GNU Make and hbmk2) + rc -nologo support is autodetected based on rc help output * delete rc -nologo usage, in sync with upstream (support could be added, but it's just not worth the effort, rc is used only once - for hbmk2 - throughout the core build process) 2014-10-07 10:58 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * config/win/msvc.mk * utils/hbmk2/hbmk2.prg * disabled -nologo option used with resource compiler in MSVC builds. Compiler version is not enough to detect supported parameters when Platform SDK rc.exe is used. ; [vszakats] not merged 2014-10-07 10:25 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/gtqtc/gtqtc1.cpp * src/rtl/gtxwc/gtxwc.c * src/rtl/langapi.c * pacified warnings * contrib/hbmlzo/3rd/minilzo/minilzo.hbp ! disabled dynamic library 2014-10-07 01:00 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbhpdf/3rd/libhpdf/hpdfpago.c * pacified warning * contrib/hbhpdf/3rd/libhpdf/libhpdf.dif * rediffed 2014-10-07 00:56 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbtinymt/3rd/tinymt/tinymt32.h * pacified warning * contrib/hbtinymt/3rd/tinymt/tinymt.dif * rediffed 2014-10-07 00:38 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbdefs.h * use strict aliasing friendly conversions in MSC builds which support intrinsic version of _byteswap_*() functions. It should also pacify some of MSC warnings. * include/hbdefs.h * src/rdd/dbffpt/dbffpt1.c * minor formatting * contrib/gtwvg/wvgcore.c ! fixed HANDLE to LONG casting - it's bug in 64-bit builds ; [vszakats] dropped as obsolete 2014-10-06 22:51 UTC+0200 Viktor Szakats * src/compiler/harbour.y * src/compiler/harbour.yyc * src/macro/macro.y * src/macro/macro.yyc * restored lost changes after manual merge 2014-10-06 22:35 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbcomp.h * include/hbcompdf.h * src/compiler/hbmain.c * src/compiler/harbour.y * src/compiler/harbour.yyc * replaced 'char' type holder with 'HB_BYTE' - this is part of never finished code which is completely dummy in current compiler and above modification is only to pacify warnings which are real bugs in existing implementation. I do not plan to modify or fix this code. I'll remove it working on fully functional strong typing implementation. 2014-10-06 22:15 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/compiler/harbour.y * src/macro/macro.y * disabled 4244 and 4702 warnings in MSVC builds - this warnings are from code generated by bison and they are out of our direct control * src/compiler/harbour.yyc * src/compiler/harbour.yyh * src/macro/macro.yyc * src/macro/macro.yyh * regenerated 2014-10-06 21:10 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/gtxwc/gtxwc.c ! fixed multiple input context initialization in HB_GTI_FONTSEL. Thanks to Rolf for the information. * contrib/hbnetio/netiocli.c * contrib/hbwin/wapi_winbase.c * src/rtl/iousr.c * src/vm/cmdarg.c * pacified MSVC warnings 2014-10-06 14:24 UTC+0200 Viktor Szakats * contrib/hbwin/wapi_winbase.c ! WAPI_COPYFILE() disabled for wce ! WAPI_COPYFILE() fixed to build on Windows version that don't support it (W2K and below) * contrib/hbwin/wapi_winuser.c ! fixed various functions to reset GetLastError() to ERROR_INVALID_FUNCTION when the call is made on platforms that don't support it (wce) 2014-10-06 14:15 UTC+0200 Viktor Szakats * contrib/hbwin/hbwin.hbx * contrib/hbwin/wapi_winbase.c + added wrapper WAPI_COPYFILE() https://msdn.microsoft.com/library/aa363851 ! WAPI_QUERYPERFORMANCECOUNTER(), WAPI_QUERYPERFORMANCEFREQUENCY() fixed to reset reference param on error 2014-10-06 02:55 UTC+0200 Viktor Szakats * CONTRIBUTING.md + added examples links for specific source tree revision in the browsers and for .zip archive download 2014-10-05 17:20 UTC+0200 Viktor Szakats * contrib/gtwvw/wvwdraw.c ! typo 2014-10-05 16:40 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/3rd/tiff/tiff.dif * src/3rd/tiff/tiffconf.h * do not redefine O_* macros in all *nix builds * src/compiler/harbour.yyc * src/compiler/harbour.yyh * src/macro/macro.yyc * src/macro/macro.yyh * regenerated with bison 3.0.2. * src/rtl/hbcom.c ! fixed compilation with OpenWatcom for Linux * src/rtl/hbsocket.c * pacified warning in OpenWatcom Linux builds * src/rtl/hbjson.c * own code for conversion integer numbers 2014-10-05 11:45 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/compiler/harbour.y * src/macro/macro.y * update declaration depreciated in new bison version * src/macro/macro.yyc * src/macro/macro.yyh * regenerated 2014-10-05 11:26 UTC+0200 Viktor Szakats * contrib/gtwvw/wvwdraw.c ! WVW_SETBRUSH() fixed to interpret 3rd param as pointer depending on 1st parameter 2014-10-05 11:09 UTC+0200 Viktor Szakats * contrib/gtwvg/wvgwing.c ! WVG_CREATETOOLTIPWINDOW(), WVG_SETTOOLTIPTEXT() fixed two places where numeric pointer types were assumed. Fixes https://github.com/vszakats/hb/issues/71 * contrib/gtwvw/wvwutils.c ! WVW_ADDTOOLTIPEX() 2nd parameter (a numeric pointer in the calling context) is now ignored, and filled automatically with the required window handle. Untested. 2014-10-05 02:01 UTC+0200 Viktor Szakats * src/compiler/harbour.y * src/compiler/harbour.yyc * src/macro/macro.y * src/macro/macro.yyc * silenced notorious msvc warnings caused by bison generated code 2014-10-04 21:25 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/gtqtc/gtqtc1.cpp + added support for decoded image data passed to HB_GTI_DISPIMAGE like in GTXWC. Supported formats are RGB32, RGB16 and MONO bitmap. Unlike GTXWC GTQTC rescales bitmap to passed cords. * src/rdd/wafunc.c ! fixed very bad bug introduced in previous modification - in fact potential problem existed from the beginning anyhow recent modification allow to exploit it in all complex index expressions. 2014-10-04 18:40 UTC+0200 Viktor Szakats * src/3rd/pcre/Makefile * src/3rd/pcre/* * updated pcre lib 8.35 -> 8.36 2014-10-04 02:35 UTC+0200 Viktor Szakats * contrib/hbfimage/hbfimage.hbc * contrib/hbfimage/hbfimage.hbp + contrib/hbfimage/hbfiint.h + contrib/hbfimage/win.c * contrib/hbfimage/fi_wrp.c -> contrib/hbfimage/core.c % moved win/wce specific functions to separate source * use hbwin low-level hbwapi function to accept HDC parameter It means that numeric HDC handle won't be accepted anymore [INCOMPATIBLE]. It also means that a local RTE won't be thrown anymore if wrong type is passed as 2nd param, the function will instead silently fail, just like when passing a NULL pointer. Numeric pointers may still throw an RTE depending on hbwin settings. * cleaned off _WINDOWS_ macro related logic on win/wce platforms. Build works without it against 3.15.4, didn't test with older versions. ; it means that hbfimage lib depends on hbwin contrib when using FI_WINCONVTODIB(), FI_WINCONVFROMDIB(), FI_WINDRAW() Windows specific functions. Builds won't break if hbfimage.hbc is used for linking. 2014-10-03 19:06 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/gtxwc/gtxwc.c ! fixed typo reported by Rolf 2014-10-03 18:18 UTC+0200 Viktor Szakats * contrib/sddsqlt3/core.c * deleted hack to store longer field names no longer necessary after 2014-10-03 16:03 UTC+0200 * contrib/hbwin/wapi_winbase.c ! merge conflicts resolved, keeping or reworking the local warning fixes 2014-10-03 16:03 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rdd/wafunc.c % use dynamic symbol pointer to find field index * src/rdd/workarea.c * set default maximum field size to HB_SYMBOL_NAME_LEN characters (by default in Harbour builds HB_SYMBOL_NAME_LEN is 63) Some RDDs may set longer names but it will be respected only by FieldName() function and in all other cases only HB_SYMBOL_NAME_LEN characters is significant for Harbour so such decision should be well thought by RDD authors because it may confuse users. Warning: all 3rd party RDDs which need to force shorter names should update uiMaxFieldNameLength in their NEW() method just after SUPER_NEW() call, i.e. like in core DBF RDD. ! respect uiMaxFieldNameLength when new fields are added * src/rdd/dbf1.c * set maximum field size to 10 characters * contrib/rddsql/sqlbase.c - removed code used to set uiMaxFieldNameLength to HB_SYMBOL_NAME_LEN. Now it's default field length value for each RDD unless it does not change it. * contrib/rddads/ads1.c * minor modification in adsFieldName() * contrib/hbwin/wapi_winbase.c + added support for FORMAT_MESSAGE_ALLOCATE_BUFFER and 6th <nSize> parameter to wapi_FormatMessage() function. The 6th <nSize> parameter has higher priority than size of string passed in the 5th parameter. ! fixed potential memory leak 2014-10-03 15:27 UTC+0200 Viktor Szakats * contrib/hbfimage/fi_wrp.c ! FI_WINCONVTODIB() changed to return empty pointer instead of NIL on error and in wce builds [INCOMPATIBLE] ! FI_WINCONVFROMDIB() same as above. [INCOMPATIBLE] ! FI_CLONE(), FI_LOADFROMMEMORY(), FI_LOAD() fixed to return empty pointer instead of NIL in error. [INCOMPATIBLE] % FI_WINDRAW() skip processing if an empty pointer is passed in 2nd param ; to check for error cases, remember to use 'Empty( ptr )', instead of NIL or type checks. * contrib/hbfimage/tests/test.prg ! fixed hb_MemoRead() call success check 2014-10-03 02:15 UTC+0200 Viktor Szakats * contrib/sddsqlt3/core.c ! restored a local fix and a comment lost after recent upstream merge * utils/hbmk2/hbmk2.prg ! fixed false .hbc hintings ! changed .hbc hinting to work with any .hbc file found in all search paths (not just contribs) that have a matching raw library name (this may turn out to be too broad, but using .hbc files is always a good idea - and limiting it to contrib is technically too complex to implement) This also fixes detection of matching .hbc files in contrib dir. Fixes https://github.com/vszakats/hb/issues/70 Please test. 2014-10-02 22:55 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbwin/win_prn2.c + save LastError value in win_PrintDataRaw() and win_PrintFileRaw() so user can access it using wapi_GetLastError() 2014-10-02 22:37 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/sddsqlt3/core.c * decalre default size for numeric, blob and any fields larger enough to store data after COPY TO * decalre default size for string fields to at least 10 * some simplifications 2014-10-02 22:01 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/sddsqlt3/core.c * set default number of decimal places in float SQLITE3 values to _SET_DECIMAL. If user needs different number of decimal places when he converts number to strings then he can set it explicitly. Harbour does not change values of float point number retrieved from SQLITE3 and always returns original data. * do not set default length of numeric values for to string conversions. 2014-10-03 00:57 UTC+0200 Viktor Szakats * contrib/sddsqlt3/core.c * manual merge of https://github.com/harbour/core/commit/4121935b5838132ede5730968bd75b37b66ce8a9 upstream 2014-10-02 22:37 UTC+0200 Przemyslaw Czerpak (in part implementing already existing functionality) 2014-10-03 00:46 UTC+0200 Viktor Szakats * contrib/sddsqlt3/core.c * manual merge of https://github.com/harbour/core/commit/092b8a5657af1e152d1dd681b6fc2c23743b6c3e upstream 2014-10-02 22:01 UTC+0200 Przemyslaw Czerpak (in part implementing already existing functionality) 2014-10-02 16:26 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg * comments 2014-10-02 16:20 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/sddsqlt3/core.c * removed dummy break statements * contrib/xhb/xhbmvinf.c ! store memvar values instead of references to memvar variables in array returned by __mvSymbolInfo() 2014-10-01 22:24 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbapi.h * src/common/hbstr.c + added new function hb_strAtI() - it works like hb_strAt() but it ignores the case of the ASCII characters * src/rtl/ati.c * renamed local static function hb_strAtI() to s_strAtI() to avoid conflict with new public hb_strAtI() function. * contrib/xhb/xhbat.c - removed local static function hb_strAtI() - current public hb_strAtI() is compatible with it. * contrib/sddsqlt3/core.c + added new code to set column type giving the highest priority SQLITE3 declared column types. Please test - I haven't made any. ! do not cast floating point values to integer * [vszakats] adapted to keep existing changes * [vszakats] cleaned/fixed some code when type is detected as HB_FT_NONE * contrib/hbwin/hbwin.hbx * contrib/hbwin/win_prn2.c ! fixed win_printerGetDefault() in Win9x builds - fix and some formatting and casting borrowed from Viktor's fork. + added new PRG function: win_PrintDataRaw( <cPrinter>, <cData> [, <cDocName>] ) -> <nBytesPrinted> It's similar to win_PrintFileRaw() but sends to given printer passed in 2nd parameter <cData> instead of file body. On error it returns negative value. * cleaned casting and minor formatting * src/rtl/gtxwc/gtxwc.c + added support for HB_GTI_DISPIMAGE. It's slightly modified code sent by Rolf to Harbour devel list. In comparison to original version it supports <nDepth> as 4th item of array with bitmap description to use with some other GTs which can support different color depths or can make conversion. It also supports bitmaps passed as strings. % slightly improved HB_GFX_GETPIXEL 2014-09-30 21:10 UTC+0200 Viktor Szakats * contrib/gtwvg/gtwvgd.c ! fixed HB_GTI_SETPOS_* to not change window position when called _without_ 2nd/3rd arguments. Regression after upstream patch 9688ee50586309457cc84838dee988acc3b3ef25 Fixes https://github.com/vszakats/hb/issues/68 2014-09-30 14:48 UTC+0200 Viktor Szakats * include/hbcompdf.h * include/hbpp.h * src/compiler/cmdcheck.c * src/compiler/hbcomp.c * src/compiler/hbusage.c * src/compiler/ppcomp.c * src/pp/hbpp.c * src/pp/ppcore.c * src/pp/pplib.c + added -ql compiler option to hide the line counter while preprocessing/compiling Discussion https://github.com/vszakats/hb/issues/67 2014-09-30 14:01 UTC+0200 Viktor Szakats * CONTRIBUTING.md + readded link to file sending service, now using an even better one. 2014-09-29 23:53 UTC+0200 Viktor Szakats * include/hbapi.h * src/vm/fm.c ! fixed warnings by extending internal structure to hold full C line numbers (in HB_FM_STATISTICS mode) ! silenced some more msvc warnings in HB_FM_STATISTICS mode 2014-09-29 17:30 UTC+0200 Viktor Szakats * contrib/gtwvg/wvgutils.c * contrib/gtwvg/wvgwin.c ! fixed two wce build errors 2014-09-29 15:37 UTC+0200 Viktor Szakats * contrib/hbscrypt/hbscrypt.hbp ! contrib disabled for whole wce platform Fixes https://github.com/vszakats/hb/issues/66 2014-09-29 14:09 UTC+0200 Viktor Szakats * contrib/hbwin/wapi_winuser.c ! fixed for wce after 2014-09-27 11:12 UTC+0200 2014-09-29 12:57 UTC+0200 Viktor Szakats * src/rtl/gtwvt/gtwvt.c ! fixed/workedaround wce/msvcarm build error after daa2a7f0cd505b21a53ddca10432efd90a1d71b7 2014-09-29 01:40 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! changed to not use the 'i686-w64-mingw32-' ccprefix for mingw tools after 39f9aa8dbbfb7d82a93ebf3f89ecd560006d7a5a Fixes https://github.com/vszakats/hb/issues/65 2014-09-27 14:56 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! give the .hbc file hint only for contribs (and not addons) (the convention that .hbc name is the same as the main libname is only enforced for contribs - addons may use any naming) 2014-09-27 11:33 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + hbmk2 will now make a hint to use .hbc file in case there is a link error and a raw library specified with -l option does have a matching .hbc file in contrib/addons locations. [TRANSLATION] 2014-09-27 11:12 UTC+0200 Viktor Szakats * contrib/hbwin/hbwin.hbx * contrib/hbwin/wapi_winuser.c + added function wapi_CloseWindow() ! fixed casing typo in prev commit 2014-09-27 11:09 UTC+0200 Viktor Szakats * contrib/hbwin/hbwin.hbx * contrib/hbwin/wapi_winuser.c + added function wapi_GetForegroundWindow() 2014-09-26 15:34 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * contrib/rddads/ads1.c ! extended and fixed CANDEFAULT error processing for data width error * contrib/rddads/adsx.c ! fixed typo in index creation code related to subindexing 2014-09-26 03:22 UTC+0200 Viktor Szakats * contrib/gtwvg/tests/_dyndlgs.prg ! fixed to call wapi_Rectangle() instead of win_Rectangle() (the former never did anything in upstream Harbour, now it does draw a border) Fixes https://github.com/vszakats/hb/issues/63 2014-09-25 21:00 UTC+0200 Viktor Szakats * contrib/sddsqlt3/core.c ! fixed duplicate case values after recent merge from upstream Fixes https://github.com/vszakats/hb/issues/62 2014-09-25 00:45 UTC+0200 Viktor Szakats * contrib/hbcurl/easy.c ! wrong file version kept after merge conflict 2014-09-25 00:37 UTC+0200 Viktor Szakats * config/global.mk * utils/hbmk2/hbmk2.prg * updated to consider mingw ccprefix 'i686-w64-mingw32-' as 32-bit target. This generated 64-bit target in the past, but with recent stable mingw releases it has settled to 32-bit. Ref https://github.com/vszakats/hb/issues/61 * config/global.mk ! fixed GNU Make gcc version detection to work with 32-bit hosted dual target mingw-w64 builds. 2014-09-25 00:04 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/sddsqlt3/core.c + map columns with SQLITE_NULL values as HB_FT_ANY fields 2014-09-24 00:13 UTC+0200 Viktor Szakats * contrib/hbzebra/tests/gtgfx.prg * applied new version from Elch (I suggest Pull Requests to make this process faster/simpler. It's nearly fully automatic, just edit the file on github.com and see) * ChangeLog.txt * README.md * cleanups 2014-09-23 16:43 UTC+0200 Viktor Szakats * contrib/sddmy/core.c + handle mysql 5.6+ types to avoid compiler warning * README.md + added issue statistics link 2014-09-23 13:18 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbcurl/core.c ! added protection against operation on NULL pointers borrowed from Viktor's branch. 2014-09-23 11:41 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/gtqtc/gtqtc1.cpp * src/rtl/gtwvt/gtwvt.c * contrib/gtwvg/gtwvgd.c * use hb_vmRequestQuit() instead of hb_vmRequestCancel() when close event is received - it is GTXWC compatible behavior and allows to execute user EXIT PROCEDUREs. Please also remember that all ALWAYS sections are executed too regardles of requested event (QUIT, BREAK, CANCEL) * src/rtl/gtwvt/gtwvt.c ! fixed processing WM_QUERYENDSESSION and WM_ENDSESSION messages. Now GTWVT applications do not interrupt system shutdown process and do not close application if other process interrupted it. In the future we can also add support for blocking system shutdown operation, i.e. using HB_GTI_CLOSEMODE as bitfield, anyhow before we begin to change it we should agree final version. ! applied Rolf's patch which fixes circle and ellipse cords. I haven't tested it and I hope that they were verified visually on the screen - some of Windows GUI functions do not access border points. 2014-09-23 10:47 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/rddsql/sqlbase.c ! set maximum field size to HB_SYMBOL_NAME_LEN * ChangeLog.txt * removed TABs and format some of recent entries 2014-09-22 23:32 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + the default value -jobs= option will now be the number of detected CPUs on the host platform (was: always 1). Detection is implemented for Windows/Darwin/BSD/Linux/POSIX/Solaris platforms [TRANSLATION] 2014-09-22 20:40 UTC+0200 Viktor Szakats * include/hbdate.h * src/common/hbdate.c * deleted workaround (c77cc2c844799c1faad8eaf83f33827f02a9c876) that became unnecessary after the fix (https://github.com/vszakats/hb/commit/15ccc4e8eeefe854b1f3febc8759b821840a2a40#diff-4) 2014-09-22 19:13 UTC+0200 Viktor Szakats * contrib/gtwvg/hbgtwvg.ch * moved the GTI value extensions to the 1000 range ! fixed HB_GTI_SPEC to be relative to the rest of GTI extended numbers * contrib/gtwvg/gtwvgd.c ! some NULL checks (they may be unnecessary, I'm not sure) * contrib/hbzebra/tests/gtgfx.prg * minor 2014-09-20 17:01 UTC-0800 Pritpal Bedi (bedipritpal/at/hotmail.com) * contrib/gtwvg/hbgtwvg.ch ! Fixed: overlapping HB_GRI_* constants which were added in GTWVT later that these were defined in GTWVG. * contrib/gtwvg/gtwvg.h + Borrowed some structure members from GTWVT. * contrib/gtwvg/gtwvgd.c + Added: GTWVT specific HB_GTI_CLOSEMODE implementation. + Added: to respect array to hb_gtInfo( HB_GTI_SETPOS_XY ) call. * Synchronized: 'X' button behavior as per GTWVT. ; Note: 'X' button behavior differs from GTWVT if HB_GTI_CLOSEMODE == 0. For other mode it is identical to GTWVT. ; [vszakats] Deleted tabs from Pritpal's ChangeLog entries 2014-09-19 15:39 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/gtxwc/gtxwc.c + added support for HB_GTI_MOUSEPOS_XY and HB_GFX_GETPIXEL. Modifciations created by Rolf. 2014-09-19 15:22 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/common/hbdate.c ! fixed typo in hb_timeUTCOffset() - this code was used in POSIX systems which do not support gmtime_r()/localtime_r() - many thanks to Teo. * src/debug/dbgentry.c * src/debug/debugger.prg * prepare the code to return error object when evaluated expression fails as proposed by Teo. This functionality is not enabled yet. I'm waiting for information about current public debugger API used in 3rd party projects before I decide to change it. 2014-09-18 22:32 UTC+0200 Viktor Szakats + contrib/hbzebra/tests/gtgfx.prg + added on-screen barcode example, created by elch (with some minor cleanups) https://groups.google.com/d/msg/harbour-users/_Wht51JZGgE/ZXyvaJNH9ggJ 2014-09-18 00:23 UTC-0800 Pritpal Bedi (bedipritpal/at/hotmail.com) * contrib/gtwvg/gtwgud.c + Added: hb_gtInfo( HB_GTI_SETPOS_XY, { nRow|nX, nCol|nY } ) in addition to previous implementation. 2014-09-18 00:48 UTC+0200 Viktor Szakats * contrib/gtwvg/wvtwinlg.ch * contrib/hbwin/hbwin.ch * contrib/gtwvg/wvtwin.ch + reworked upstream merge 2014-09-17 14:50 UTC-0800 to add some missing constants to hbwin.ch, move all constants that are mappable to hbwin.ch ones into wvtwinlg.ch and fixed the rest in wvtwin.ch to avoid C-isms, and not to rely on UNICODE macro (+ formatting). 2014-09-17 14:50 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/gtwvg/wvtwin.ch + Added: more WAPI constants. 2014-09-17 21:50 UTC+0200 Viktor Szakats * contrib/hbwin/hbwin.ch + added constants WIN_RC_* * contrib/hbwin/hbwin.hbx * contrib/hbwin/win_prn1.c * contrib/hbwin/win_tprn.prg * replaced win_BitmapsOK() with wapi call, and obsoleted it with HB_LEGACY_LEVEL5 [INCOMPATIBLE] * contrib/xhb/xhb.hbp * contrib/xhb/xhb.hbx + contrib/xhb/xhbdll.prg + added CallDll() compatibility function. Unfortunately it collides with the name used in hbmisc lib, so use it with care. [UNTESTED] * src/rtl/hbdynhb.c * HB_DYNCALL() minor cleanup 2014-09-17 16:45 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbdebug.ch + added HB_DBG_* constant values for arrays returned by __dbg*() functions * include/hbset.h * src/vm/set.c + added new C function: hb_setGetItem(); * src/debug/dbgentry.c * use HB_DBG_* constant values + added new debugger function: __dbgGetSETs() - it returns array with all HVM SETs: { { <nSet>, <cSetName>, <xSetValue> }, ... } % optimized hb_dbgActivateCallStackArray() and hb_dbgActivateModuleArray() * src/debug/debugger.prg * use HB_DBG_* constant values * use __dbgGetSETs() for "System Settings" window + added support for Harbour SET extensions * ChangeLog.txt * updated description for structure of array returned by __dbgGetBreakPoints() 2014-09-16 20:46 UTC+0200 Viktor Szakats * contrib/gtqtc/gtqtc.hbp * updated to new QT homepage * contrib/hbwin/hbwin.hbx * contrib/hbwin/win_prn1.c * contrib/hbwin/win_tprn.prg * replaced redundant win_* functions with wapi_* calls, and deprecated them with HB_LEGACY_LEVEL5 [INCOMPATIBLE] win_AbortDoc() win_CreateDC() win_DeleteDC() win_EndDoc() win_EndPage() win_FillRect() win_StartDoc() win_StartPage() win_TextOut() See the diff for details https://github.com/vszakats/hb/commit/8f2e8f9cd0d2b5a78557aefd2346b982d7bf6238?w=0 * contrib/xhb/xhbdepr.prg * contrib/xhb/xhbwin.c % minor cleanup (in disabled code) 2014-09-16 03:09 UTC+0200 Viktor Szakats * contrib/hbwin/hbwapi.h * contrib/hbwin/hbwin.hbx * contrib/hbwin/wapi_wingdi.c * contrib/hbwin/win_prn1.c * contrib/hbwin/win_tprn.prg * contrib/hbwin/tests/prngdi.prg + added low-level function hbwapi_stor_SIZE() + added function wapi_GetTextExtentPoint32( hDC, cString, [@]<hSIZE|aSIZE> ) -> <lSuccess> - deprecated win_GetTextSize() with HB_LEGACY_LEVEL5 [INCOMPATIBLE] * updated win_Prn() class to call wapi_GetTextExtentPoint32() instead of almost identical win_GetTextSize() * use more hbwapi_ret_L() calls 2014-09-16 01:28 UTC+0200 Viktor Szakats * win-make.exe * updated from latest mingw build https://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win32/Personal%20Builds/mingw-builds/4.9.1/threads-win32/sjlj/i686-4.9.1-release-win32-sjlj-rt_v3-rev1.7z 2014-09-15 18:27 UTC+0200 Viktor Szakats * contrib/hbwin/hbwin.hbx * contrib/hbwin/wapi_wingdi.c * contrib/hbwin/win_prn1.c * contrib/hbwin/tests/prngdi.prg + added function wapi_GetTextMetrics( <hDC>, [@]<hTM|aTM> ) -> <lSuccess> * functions deprecated in 2014-09-15 17:22 now in fact deprecated using HB_LEGACY_LEVEL5 [INCOMPATIBLE] * contrib/hbwin/hbwin.ch + added constants WIN_TMPF_* * contrib/hbwin/wapi_winuser.c * added TODO 2014-09-15 17:22 UTC+0200 Viktor Szakats * contrib/hbwin/hbwin.ch * contrib/hbwin/win_prn1.c * contrib/hbwin/win_tprn.prg + added constant HB_WIN_MB_BEEP * updated win_Prn() code to use wapi_*() functions instead of nearly identical win_*() ones. As a result, these win_*() functions are now deprecated: WIN_GETDEVICECAPS() -> wapi_GetDeviceCaps() (this may throw an RTE) WIN_SETMAPMODE() -> wapi_SetMapMode() (this may throw an RTE) WIN_GETPRINTERFONTNAME() -> wapi_GetTextFace() (this may throw an RTE) WIN_ARC() -> wapi_Arc() (this may throw an RTE) WIN_ELLIPSE() -> wapi_Ellipse() (this may throw an RTE) WIN_SETCOLOR() ~> wapi_SetTextColor() and/or wapi_SetBkColor() and/or wapi_SetTextAlign() WIN_LINETO() ~> wapi_MoveToEx() and wapi_LineTo() WIN_RECTANGLE() ~> wapi_Rectangle() or wapi_RoundRect() WIN_SETBKMODE() ~> wapi_SetBkMode() or wapi_GetBkMode() For more detailed guidance on how to replace them with wapi_*() calls, please refer to the diff of win_tprn.prg in this very commit. 2014-09-15 12:39 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/gtwvt/gtwvt.c ! update state of close button [x] and "Close" window menu item when new GTWVT window is created 2014-09-14 20:48 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbmysql/tmysql.prg * added support for nFlags in TMySQLServer constructor as suggested by Fernando Athayde ; [vszakats] kept existing implementation in the fork, which is the same as committed upstream plus support for SSL options * src/rtl/gtcgi/gtcgi.c % replaced hb_cdpnDup() with hb_cdpnDup3() to eliminate unnecessary memory block duplicating when translation is not activated. * src/vm/itemapi.c * removed old ugly hack used to mark infinite or undefined double value using double item length field. The code which created such item have been eliminated many years ago. * use HB_DEFAULT_WIDTH instead of hardcoded 99 to force numeric value length recalculation. 2014-09-13 13:32 UTC+0200 Viktor Szakats * contrib/hbmysql/tmysql.prg % minor optimization to prev 2014-09-13 13:04 UTC+0200 Viktor Szakats * contrib/hbmysql/tmysql.prg + added TMySQLServer:TableExists( cTable ) -> <lExists> 2014-09-12 22:08 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/vm/estack.c * always set NIL in item allocated by hb_stackAllocItem() when it's used as function. In internal macro this step is missing so allocated item still may contain other simple value. All places in HVM where hb_stackAllocItem() is used are safe for such situation (I've just verified them again). It fixes problem reported by Mindaugas when hb_stackAllocItem() was used inside DBFFPT as temporary item and could unintentionally change memo type if allocated item containes previous numeric value in valid memo type range. * src/rdd/wafunc.c * src/vm/hvm.c * src/vm/memvars.c * clear passed item before RTE when accessed memvar or field does not exists * src/vm/hashfunc.c ! set default value before decoding 2nd logical parameter in hb_HAutoAdd() function. It fixes ambiguity reported by Mindaugas. 2014-09-12 03:27 UTC+0200 Viktor Szakats * contrib/hbcurl/easy.c ! fixed to not allocate zero bytes when an empty buffer is passed or requested in HB_CURLOPT_UL_BUFF_SETUP or HB_CURLOPT_DL_BUFF_SETUP options Fixes https://github.com/vszakats/hb/issues/59 2014-09-11 21:14 UTC+0200 Viktor Szakats * contrib/gtwvg/wvgcore.c * contrib/gtwvg/wvgwing.c ! fixed few more places where pointer was passed back to Harbour as numeric value 2014-09-11 20:50 UTC+0200 Viktor Szakats * contrib/hbwin/wapi_wingdi.c * contrib/hbwin/wapi_winuser.c * contrib/hbwin/win_commdlg.c ! wce build fixes 2014-09-11 20:30 UTC+0200 Viktor Szakats * src/rtl/gtwin/gtwin.c % marked a recently (2014-09-03 20:21 UTC+0200) added internal function as 'static' * contrib/hbwin/hbwapi.h * contrib/hbwin/hbwin.ch * contrib/hbwin/hbwin.hbp + contrib/hbwin/win_commdlg.c * contrib/hbwin/hbwin.hbx + added constants WIN_CC_* + added macro hbwapi_par_RESULT() + added function win_ChooseColor( [<hWnd>], [<hInstance>], [<nColor>], [<aColor>], [<nFlags>], [<bCallback>], [<cTemplate>] ) -> <nColor> (it's in the 'win_' namespace, because its parameter list doesn't mimic Windows API one) * contrib/gtwvg/gtwvg.hbx * contrib/gtwvg/paint.prg * contrib/gtwvg/wvgutils.c * contrib/gtwvg/wvgwin.c * contrib/gtwvg/wvgwing.c * contrib/gtwvg/wvtwin.ch * contrib/gtwvg/wvtwinlg.ch * rewritten as wrappers to win_ChooseColor() in hbwin: wvg_ChooseColor( nColor, aColor, nFlags, hWnd ) wvt_ChooseColor( nColor, aColor, nFlags ) * mapped CC_* constants to hbwin ones ! fixed all callbacks' return value to match the Windows API documentation ! fixed all callbacks' return value to accept both pointer and numeric from Harbour-level callback function This fixes the pending coloring issues in some dialogs. ! fixed some callbacks not handling 64-bit values * contrib/gtwvw/gtwvwd.c * contrib/gtwvw/wvwharb.prg * contrib/gtwvw/wvwutils.c * rewritten as wrapper to win_ChooseColor() in hbwin: wvw_ChooseColor( nColor, aColor, nFlags ) ! fixed all callbacks' return value to accept both pointer and numeric from Harbour-level callback function ! fixed some callbacks not handling 64-bit values 2014-09-11 16:41 UTC+0200 Viktor Szakats * contrib/hbcurl/hbcurl.ch + updated for 7.38.0 This entry belongs to commit bbaa61e699a4fd89837bd88cb2c31fd0156700c1 2014-09-11 14:41 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/debug/dbgentry.c * moved code used to create callstack array to separate function hb_dbgActivateCallStackArray() * changed function order to avoid some forward declarations * src/debug/dbgwa.prg ! fixed position of some item in F6-WA window 2014-09-11 12:49 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/debug/dbgentry.c % optimized memvar updating 2014-09-10 14:22 UTC+0200 Viktor Szakats * contrib/hbwin/hbwin.hbx * contrib/hbwin/wapi_winuser.c + added function wapi_KillTimer() Resolves https://github.com/vszakats/hb/issues/57 2014-09-10 12:15 UTC+0200 Viktor Szakats * contrib/hbwin/hbwin.hbx * contrib/hbwin/wapi_winuser.c + added function wapi_SendNotifyMessage() * contrib/gtwvg/*.prg * contrib/gtwvg/gtwgud.c * contrib/gtwvg/gtwvg.hbx * contrib/gtwvg/gtwvgd.c * contrib/gtwvg/tests/_dyndlgs.prg + support for HB_GTI_WINHANDLE in GTWGU * deprecated wvt_GetWindowHandle() with HB_LEGACY_LEVEL5 use hb_gtInfo( HB_GTI_WINHANDLE ) instead * wvt_SetTimer(), wvt_KillTimer() rewritten to use hbwin functions instead of relying on special hb_gtInfo() calls 2014-09-10 10:29 UTC+0200 Viktor Szakats * src/vm/hvm.c * deleted local fix no longer necessary after 2014-09-10 00:51 UTC+0200 2014-09-10 00:51 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/vm/hvm.c ! added missing HB_STACK_TLS_PRELOAD - thanks to Teo 2014-09-10 00:01 UTC+0200 Viktor Szakats * contrib/hbwin/hbwin.ch ! typo in two constants 2014-09-09 23:22 UTC+0200 Viktor Szakats * contrib/hbwin/hbwapi.h * contrib/hbwin/hbwin.ch * contrib/hbwin/hbwin.hbx * contrib/hbwin/wapi_wingdi.c * contrib/hbwin/win_tprn.prg + added macro hbwapi_ret_raw_HGDIOBJ() + added constant WIN_MM_TO_INCH and rest of WIN_DMPAPER_* + added function wapi_GetStockObject() * use the above * contrib/gtwvg/* * contrib/gtwvw/* * mapped these to wapi functions WVG_GETSTOCKOBJECT() -> WAPI_GETSTOCKOBJECT() WIN_GETSTOCKOBJECT() -> WAPI_GETSTOCKOBJECT() * mapped more constants to hbwin ones * contrib/xhb/win32prn.ch * mapped all constants to hbwin ones * src/vm/hvm.c ! fixed missing HB_STACK_TLS_PRELOAD after merging 2014-09-09 20:49 UTC+0200 Fixes https://github.com/vszakats/hb/issues/56 2014-09-09 20:49 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbvm.h * src/vm/hvm.c + added new HVM function: hb_vmTryEval() This function tries to execute given block or function inside BEGIN SEQUENCE / RECOVER oErr / END SEQUENCE statement. It return HB_TRUE if it was executed without any problem and HB_FALSE otherwise. Result or RTE object is stored in 1st parameter and should be freed by the caller using hb_itemRelese() * src/debug/dbgentry.c ! use hb_vmTryEval() instead of hb_itemDo() to evaluate trace point expressions. Now debugger does not crash when user sets tracepoint expression which cannot be evaluated in executed context. ! allow to use expressions with more then 99 variables ! added missing protections against GPF when wrong parameters are passed to __dbg*() functions * keep original trace and watch point expression for farther processing * replaced IS_IDENT_*() macros with HB_IS*IDCHAR() + added new debuger function: __dbgGetWatchPoints() -> <aWatchTracePoints> <aWatchTracePoints> contains subarrays describing trace and watch points: { <cExpression>, <lTracePoint>, <lValid>, <xResult> } It was the last function necessary to extract all information about debugged context from core internals. Now it's possible to create fully functional standalone debugger without storing and updating locally any information about debugger state. All such information can be accessed at any time using __dbg*() functions. It should greatly simplify creating 3rd party debuggers like HWDebug or HBQTDebug. * src/debug/debugger.prg ! fixed callstack window updating during tracing and stepping. Tanks to Rolf for reporting the problem. 2014-09-09 17:58 UTC+0200 Viktor Szakats * contrib/hbwin/axcore.c * contrib/hbwin/wapi_shellapi.c * use hbwapi macros * contrib/hbwin/tests/activex.prg ! fixed typo causing it to RTE when run as script + use HB_GTI_WINHANDLE * include/harbour.hbx ! reverted 2014-09-08 23:50 UTC+0200 Fixes https://github.com/vszakats/hb/issues/55 * contrib/hbfimage/tests/test.prg * contrib/hbnf/mouse1.prg * contrib/hbwin/tests/eventlog.prg * contrib/hbwin/win_tcom.prg * contrib/rddsql/readme.txt * contrib/xhb/htmutil.prg * extras/hbvpdf/core.prg * extras/httpsrv/_session.prg * src/rtl/tgetint.prg * utils/hbmk2/hbmk2.prg * formatting 2014-09-09 16:38 UTC+0200 Viktor Szakats * contrib/hbwin/win_tprn.prg ! fixed to initialize empty pointers with NIL instead of numeric 0 to avoid the trap looking for numeric pointers (see __wapi_DbgUnsafeHandles()) Fixes regression https://github.com/vszakats/hb/issues/54 * contrib/xhb/xhwinprn.prg + use hbwin constants * contrib/hbwin/win_prn1.c * formatting 2014-09-08 23:50 UTC+0200 Viktor Szakats * include/harbour.hbx + added new debug function [REVERTED] 2014-09-08 23:40 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbct/ctwin.c ! fixed typo in window area checking when current window is 0 It fixes problem with debugger reported by Rolf. * src/debug/dbgentry.c % few optimizations ! added few protections against GPF when wrong parameters are passed ! fixed missing support for symbol, date and timestamp values in tracepoints + added __dbgCntWatch() * src/rtl/filesys.c * src/rtl/hbproces.c * pacified warning in more aggressive way for newer GCC versions * include/harbour.hbx * refreshed 2014-09-08 10:32 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + new markdown link + convert xbuild LPRG_DEBUG setting + convert xbuild RUNARGUMENTS setting + give warning and a hint when finding per-file options on xbuild conversion [TRANSLATION] ! fixed typo in prev commit 2014-09-07 18:05 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! apply defines also to C compiler for xbp and xmate conversions ! minor cleanups to xmate conversion * contrib/gtwvg/wvgwing.c * minor cleanup 2014-09-07 13:52 UTC+0200 Viktor Szakats * contrib/gtwvg/*.prg * contrib/gtwvg/tests/*.prg % use hbwin functions instead of wvg_*() wrappers * use ::hWnd instead of ::pWnd (they now both hold the same value) * contrib/gtwvg/gtwvg.hbx * contrib/gtwvg/legacy.c * deprecated with HB_LEGACY_LEVEL5: wvt_AppendMenu() -> wapi_AppendMenu() wvt_CreateMenu() -> wapi_CreateMenu() wvt_CreatePopupMenu() -> wapi_CreatePopupMenu( wvt_DeleteMenu() -> wapi_DeleteMenu() wvt_DestroyMenu() -> wapi_DestroyMenu() wvt_EnableMenuItem() -> wapi_EnableMenuItem() * contrib/gtwvw/legacy.c * deprecated with HB_LEGACY_LEVEL5: WIN_DELETEOBJECT() -> WVW_DELETEOBJECT() * contrib/hbwin/hbwin.ch * minor 2014-09-07 13:16 UTC+0200 Viktor Szakats * contrib/gtwvg/paint.prg * minor 2014-09-07 12:21 UTC+0200 Viktor Szakats * contrib/gtwvw/wvwharb.prg ! missing ; * contrib/gtwvw/tests/*.txt * cleanups 2014-09-07 12:02 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + xbp conversion improvements: - recognize and parse extra libnames/paths - recognize -map hardcoded linker option - recognize LAUTORUN option - split multiple libpaths and header paths ! enclose generated options in double quotes when necessary + added note after each conversion on verifying the results and make any remaining update manually. This conversion is meant as a head-start, not as a 1:1 conversion, which is BTW impossible. * contrib/gtwvg/paint.prg * contrib/gtwvg/wvgutils.c * contrib/gtwvg/wvgwin.c * rewritten in .prg code: wvg_LoadImage( ncImage, nSource, nBmpOrIcon, nWidth, nHeight ) wvg_TrackPopupMenu( hMenu, nFlags, x, y, hWnd ) wvt_TrackPopupMenu( hMenu ) wvt_GetMenu() * contrib/gtwvg/tests/demowvg.prg * contrib/gtwvw/tests/readme.txt % cleanups * contrib/gtwvw/wvwharb.prg * formatting 2014-09-06 23:26 UTC+0200 Viktor Szakats * contrib/gtwvg/gtwvg.h * contrib/gtwvg/wvgcore.c * contrib/gtwvg/wvgutils.c * contrib/gtwvg/wvgwin.c * contrib/gtwvg/wvgwing.c * contrib/hbwin/wapi_winuser.c ! 64-bit build regressions ! warning fixes 2014-09-06 22:58 UTC+0200 Viktor Szakats * contrib/gtwvg/paint.prg * contrib/gtwvw/wvwharb.prg * cleaned off default zero values + test .prg implementation of win_CreateFont() * contrib/gtwvg/gtwvg.h * contrib/gtwvg/gtwvgd.c * contrib/gtwvg/wvgcore.c * contrib/gtwvg/wvgcuig.c * contrib/gtwvw/gtwvwd.c * contrib/gtwvw/wvwdraw.c * variable name sync 2014-09-06 21:15 UTC+0200 Viktor Szakats * contrib/gtwvg/gtwgud.c * contrib/gtwvg/gtwvgd.c * contrib/gtwvw/gtwvwd.c * src/rtl/gtwvt/gtwvt.c * contrib/gtwvg/wvgutils.c * contrib/gtwvg/wvgwing.c * contrib/hbwin/win_misc.c * contrib/hbwin/wapi_winuser.c * HB_GTI_ICONFILE, HB_GTI_ICONRES to return a pointer type handle instead of numeric one. [INCOMPATIBLE] * MAKEINTRESOURCE() parameter sizes cleaned and removed unnecessary casts * contrib/gtwvg/paint.prg * contrib/gtwvg/wvgutils.c * wvt_DlgSetIcon() rewritten in .prg * contrib/gtwvg/wvtwin.ch * contrib/gtwvg/wvtwinlg.ch * contrib/hbwin/hbwin.ch * WIN_ICON_* constants to hbwin * contrib/hbwin/wapi_winuser_dlg.c * DialogFunc() note added about some potential cleanup in passed back parameters + DialogFunc()/WM_COMMAND to return pointer handle type when appropriate * contrib/hbwin/tests/dlg.prg * use WIN_LOWORD() instead of relying on a non-WAPI-like feature (special extra callback params) * cleaned off numeric empty handles 2014-09-06 20:09 UTC+0200 Viktor Szakats * contrib/hbwin/hbwin.ch + added WIN_WM_* messages (from GTWVT) to hbwin * contrib/gtwvg/*.prg * contrib/gtwvg/wvtwin.ch * contrib/gtwvg/wvtwinlg.ch * contrib/gtwvg/tests/*.prg * contrib/gtwvw/tests/*.prg * contrib/hbwin/tests/dlg.prg * use WIN_WM_* constants 2014-09-06 18:03 UTC+0200 Viktor Szakats * contrib/hbwin/hbwapi.h * cleanups + added hbwapi_par_BYTE() * contrib/gtwvw/* * contrib/hbwin/* ! WAPI_SETERRORMODE() adjusted return value size ! WAPI_SENDDLGITEMMESSAGE() typo in a param number * use more wapi macros * contrib/gtwvg/legacy.c * whitespace 2014-09-06 17:23 UTC+0200 Viktor Szakats * contrib/gtwvg/gtwvg.h * contrib/gtwvg/wvgcore.c * contrib/gtwvg/wvgwin.c * deleted oprhan prototypes * made some GTWVG C functions static [INCOMPATIBLE] * contrib/gtwvg/gtwvgd.c + added support for HB_GTI_WINHANDLE * contrib/gtwvg/legacy.c * contrib/gtwvg/wvgwing.c * new GTWVG mapping: WVG_FILLRECT() -> WAPI_FILLRECT() * contrib/gtwvg/paint.prg * contrib/gtwvg/wvgutils.c + reimplemented in .prg wvt_MessageBox() * contrib/gtwvg/sle.prg * use constant * avoided one keycode literal * contrib/gtwvg/wvgcore.c ! hb_wvt_gtLoadPictureFromResource(), hb_wvt_gtLoadPicture(), hb_wvt_DrawImage() fixed to release IStream object ! hb_wvt_gtLoadPictureFromResource() fixed leaking memory object ! hb_wvt_DrawImage() fixed potentially uninitialized IPicture pointer * contrib/gtwvw/gtwvwd.c * contrib/gtwvw/wvwdraw.c * contrib/gtwvw/wvwutils.c ! hb_gt_wvw_LoadPicture() fixed to release IStream object ! hb_gt_wvw_rr_LoadPicture() fixed potential early release of IStream object ! hb_gt_wvw_rr_LoadPicture() fixed leaking memory object when object lock failed ! WVW_OPENIMAGE() fixed leaking memory object in a failure case * contrib/hbwin/hbwin.ch + WIN_AD_* * contrib/hbwin/hbwin.hbx * contrib/hbwin/wapi_wingdi.c + added WAPI function WAPI_SETARCDIRECTION() * contrib/gtwvg/gtwgud.c * formatting 2014-09-06 14:40 UTC+0200 Viktor Szakats * contrib/hbwin/hbwapi.h * contrib/hbwin/hbwin.ch * contrib/hbwin/hbwin.hbx * contrib/hbwin/wapi_winuser.c + WIN_HWND_BROADCAST constant ! hbwapi_par_WPARAM(), hbwapi_par_LPARAM() macros fixed to accept both pointer and numeric without an RTE + new WAPI functions: wapi_CallWindowProc() wapi_DefWindowProc() wapi_PostMessage() ! WAPI_CREATEWINDOWEX() fixed to accept valid numeric input for hMenu parameter + wapi_AppendMenu(), wapi_InsertMenu() disable item type autodetection for items marked manually as separator * contrib/gtwvg/legacy.c * contrib/gtwvg/paint.prg * contrib/gtwvg/wvgwin.c * mapped more GTWVG functions to WAPI: WVG_CALLWINDOWPROC() -> WAPI_CALLWINDOWPROC() WVG_CREATEWINDOWEX() -> WAPI_CREATEWINDOWEX() (slightly different defaults) WVG_DEFWINDOWPROC() -> WAPI_DEFWINDOWPROC() WVG_POSTMESSAGE() -> WAPI_POSTMESSAGE() (will do UNICODE conversion for strings) * wvg_SetWndProc() rewritten as WAPI wrapper * contrib/gtwvg/wvgwing.c ! fixed recent warning 2014-09-06 13:47 UTC+0200 Viktor Szakats * contrib/gtwvg/legacy.c * contrib/gtwvg/wvgwin.c * mapped GTWVG functions to WAPI WVG_APPENDMENU() -> WAPI_APPENDMENU() WVG_INSERTMENU() -> WAPI_INSERTMENU() * contrib/hbwin/wapi_winuser.c ! fine tuned wapi_AppendMenu(), wapi_InsertMenu() item type autodetection to not kick-in for empty values 2014-09-06 13:18 UTC+0200 Viktor Szakats * contrib/hbwin/wapi_winuser.c * wapi_AppendMenu(), wapi_InsertMenu() ! updated to not RTE with numeric pointer support enabled Fixes: https://github.com/vszakats/hb/issues/53 + always consider <MenuItemID> param as pointer if WIN_MF_POPUP flag is passed + autodetect WIN_MF_POPUP flag only when <MenuItemID> param is a "P" pointer + autodetect menu flags MF_OWNERDRAW, MF_BITMAP, MF_SEPARATOR based on <NewItem> param ; please test * contrib/gtwvw/tests/demo.prg % simplified menu flags by relying on argument type based autodetection in WAPI + added submenu for API testing * utils/hbmk2/hbmk2.prg + link to CommonMark documentation 2014-09-05 22:08 UTC+0200 Viktor Szakats * src/rtl/val.c % Val()/hb_Val() deduplicated after recent update 2014-09-05 22:03 UTC+0200 Viktor Szakats * contrib/gtwvg/tests/_activex.prg * cleanups * src/rtl/val.c * whitespace formatting % unnecessary cast 2014-09-05 21:33 UTC+0200 Viktor Szakats * contrib/gtwvg/gtwvgd.c * formatting * contrib/gtwvg/parthdlr.prg ! convert numeric to pointer in two messages * contrib/gtwvg/tests/_tbrowse.prg * contrib/gtwvw/tests/demo.prg * use constants ! old typos * contrib/gtwvg/wvgwin.c ! WVG_DEFWINDOWPROC(), WVG_CALLWINDOWPROC() accept pointer types for lparam/wparam * contrib/gtwvg/wvgwing.c * multiplatform cleanup 2014-09-05 20:08 UTC+0200 Viktor Szakats * contrib/gtwvg/gtwgud.c * contrib/gtwvg/gtwvgd.c ! fixed some pointers passed as numeric * some casts added to indicate type of [l|w]params * contrib/gtwvw/tooltip.c ! fixed missing constant on some compilers 2014-09-05 18:54 UTC+0200 Viktor Szakats * contrib/gtwvg/legacy.c ! typo in mapping fixes miscoloring in treeviews * contrib/hbwin/hbwapi.h ! properly get GC collected HDC, HBRUSH, HFONT pointers 2014-09-05 18:35 UTC+0200 Viktor Szakats * contrib/hbwin/hbwin.hbx * contrib/hbwin/wapi_wingdi.c + Added new WAPI functions: wapi_SetDCBrushColor() wapi_SetDCPenColor() ! wce fixes for recent updates * contrib/gtwvg/gtwgud.c ! wce warning fix * contrib/gtwvg/wvgwing.c ! WVG_SETCURRENTBRUSH() fixed to accept std handle (was: numeric) * contrib/gtwvg/paint.prg * rewritten in .prg code: wvg_FindWindow( cTitle ) wvg_LoadIcon( ncIcon ) wvg_SetDCBrushColor( hDC, nRGB ) wvg_SetDCPenColor( hDC, nRGB ) wvg_SetWindowPosToBack( hWnd ) wvg_SetWindowPosToTop( hWnd ) wvg_SetWindowSize( hWnd, w, h, lPaint ) wvg_SetWindowPosition( hWnd, x, y, lPaint ) wvg_SetWindowPosAndSize( hWnd, x, y, w, h, lPaint ) wvg_ForceWindowToTop( hWnd ) * contrib/gtwvg/wnd.prg * contrib/gtwvg/wvgwin.c * Empty() check instead of NIL check for handles * contrib/hbwin/hbwin.ch + added WIN_CLR_INVALID * contrib/hbwin/wapi_commctrl.c % deleted duplicate #define * contrib/gtwvg/wvgutils.c * contrib/gtwvg/wvgwin.c * contrib/gtwvg/wvgwing.c * multiplatform cleanup * contrib/gtwvg/tests/_tbrowse.prg ! deleted index on exit * contrib/gtwvg/crt.prg * contrib/hbwin/wapi_winuser_dlg.c * cleanups 2014-09-05 13:24 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/harbour.hbx * src/rtl/val.c + added new function: hb_Val( <cStr> [, <nLen> ] ) -> <nVal> it works like a val but set length for numeric result to passed string length or <nLen> parameter if is large enough. * src/rtl/tget.prg ! use hb_Val() instead of Val() for numeric GETs to replicate Clipper behavior for pictures longer then 10 characters. 2014-09-04 21:17 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/itemseri.c * minor update in comments * contrib/hbct/ctwin.c * src/rtl/hbgtcore.c ! fixed GTCTW window handle save/restore on debugger activation I broke in 107b36e8477bed2db27d8627a081e657801ad560 Thanks to Rolf for the info and patch. * contrib/hbziparc/ziparc.prg * synced with Viktor's branch. This code should contain Rolf fixes. Please test. 2014-09-04 18:55 UTC+0200 Viktor Szakats * contrib/gtwvg/wvtwinlg.ch * contrib/hbwin/hbwin.ch + readded SW_MAX constant * contrib/gtwvg/*.c * contrib/gtwvw/*.c * contrib/hbwin/hbwapi.h + added wapi macro hbwapi_parv_COLORREF() * use it * contrib/hbwin/tests/retstru.prg * minor cleanup 2014-09-04 18:32 UTC+0200 Viktor Szakats * contrib/hbwin/hbwin.ch + added WIN_WS_EX_* constants * contrib/gtwvg/gtwgu.h * contrib/gtwvg/gtwvg.h + contrib/gtwvg/gtwvglo.h % deduplicated and common parts moved to a new local header * contrib/gtwvg/wvtwin.ch + contrib/gtwvg/wvtwinlg.ch * moved hbwin-based legacy constants to a separate file: wvtwinlg.ch * contrib/gtwvg/gtwvg.hbp * disabled legacy constants when building GTWVG itself * contrib/gtwvg/*.prg * contrib/gtwvg/tests/*.prg + use hbwin constants where possible 2014-09-04 17:43 UTC+0200 Viktor Szakats * contrib/hbwin/wapi_alloc.c * __wapi_DbgUnsafeHandles() default level set to trace+RTE, so numeric pointers are now not accepted by default and will be handled like an RTE * contrib/gtwvg/*.prg * contrib/gtwvg/tests/*.prg * contrib/gtwvw/tests/*.prg * use WIN_MF_* constants * deleted __wapi_DbgUnsafeHandles() calls 2014-09-04 17:34 UTC+0200 Viktor Szakats * contrib/gtwvg/gtwgu.h * contrib/gtwvg/gtwvg.h * contrib/gtwvw/hbgtwvw.h * deleted __GTWVX_RETURN_UNSAFE_POINTERS build-time option 2014-09-04 17:33 UTC+0200 Viktor Szakats * contrib/gtwvg/* * contrib/gtwvw/* * use wapi return macros 2014-09-04 17:21 UTC+0200 Viktor Szakats * contrib/gtwvg/* * contrib/gtwvw/* * use wapi parameter getter macros * contrib/hbwin/hbwapi.h * contrib/hbwin/wapi_commctrl.c ! typo in a wapi macro (hbwapi_par_raw_TREEITEM()) + added macro hbwapi_par_raw_DLGPROC() 2014-09-04 16:59 UTC+0200 Viktor Szakats * contrib/hbwin/hbwapi.h + added macro hbwapi_par_COLORREF_def() * cast added * contrib/gtwvg/*.c * contrib/gtwvw/*.c * use hbwin COLORREF macros where possible 2014-09-04 16:40 UTC+0200 Viktor Szakats * contrib/gtwvw/legacy.c * added mapping for a synonym: WIN_DELETEOBJECT() -> WVW_DELETEOBJECT() * contrib/gtwvw/static.c * contrib/gtwvw/wvwutils.c * contrib/gtwvw/wvwharb.prg + rewritten two functions in .prg: wvw_Minimize( nWin ) wvw_stSetText( dummy, hWnd, cText ) + contrib/hbwin/tests/retstru.prg + added some test code 2014-09-04 16:16 UTC+0200 Viktor Szakats * contrib/gtwvg/wvtwin.ch * contrib/hbwin/hbwin.ch * moved BS_* constants as WIN_BS_* to hbwin.ch + added WIN_DIB_* constants to hbwin.ch * contrib/gtwvg/wvgcuig.c * contrib/gtwvg/wvgwing.c + use hbwapi_par_HPEN(), hbwapi_par_HBRUSH() to accept PEN/BRUSH objects, so now GC collected objects create with WAPI functions can be used * contrib/hbwin/hbwapi.h * contrib/hbwin/hbwin.hbx * contrib/hbwin/wapi_alloc.c * contrib/hbwin/wapi_wingdi.c * contrib/hbwin/wapi_winuser.c + added new WAPI function: wapi_CreateBrushIndirect( <aLOGBRUSH | hLOGBRUSH> ) -> hBRUSH + these will now accept raw pointers (like hbwapi_par_HDC()): hbwapi_par_HPEN() hbwapi_par_HBRUSH() hbwapi_par_HFONT() ! fixed two potential leaks when passing non-hash, non-array types without reference: hbwapi_stor_POINT(), hbwapi_stor_RECT() ! WAPI_GETICONINFO() fixed potential leak when passing 2nd parameter without reference + added missing declaration for hbwapi_par_LOGFONT() to hbwapi.h * contrib/gtwvw/legacy.c * contrib/gtwvw/wvwutils.c * contrib/gtwvw/wvwharb.prg * mapped three GTWVW functions to WAPI ones: WVW_CREATEHATCHBRUSH() -> WAPI_CREATEHATCHBRUSH() WVW_CREATESOLIDBRUSH() -> WAPI_CREATESOLIDBRUSH() win_CreateBrush() -> wapi_CreateBrushIndirect() * minor cleanups * contrib/gtwvw/tests/demo.prg * light test for win_CreateBrush() 2014-09-04 13:30 UTC+0200 Viktor Szakats * contrib/gtwvg/wvtwin.ch * contrib/hbwin/hbwin.ch * moved VK_* constants to hbwin as WIN_VK_* * contrib/gtwvw/wvwharb.prg * contrib/gtwvw/wvwutils.c * contrib/gtwvw/wvwwin.c * rewritten these in .prg: wvw_SetTitle( nWin, cTitle ) wvw_SetWindowPos( nWin, x, y ) wvw_IsLButtonPressed() ! wvw_SetWinStyle() fixed typo in prev commit * contrib/gtwvg/paint.prg * contrib/gtwvg/wvgutils.c * rewritten wvt_IsLButtonPressed() in .prg * contrib/gtwvg/gtwvg.hbx - deleted WVT_UTILS() 2014-09-04 12:30 UTC+0200 Viktor Szakats * contrib/gtwvw/wvwharb.prg + added std copyright hdr 2014-09-04 12:25 UTC+0200 Viktor Szakats * contrib/hbwin/hbwapi.h * contrib/hbwin/hbwin.ch * contrib/hbwin/hbwin.hbx * contrib/hbwin/wapi_wingdi.c * contrib/hbwin/wapi_winuser.c + hbwapi_stor_RECT(), hbwapi_stor_POINT() will now automatically fill the return values with array if its type is neither array or hash, they will also resize the array to fit the return values + WAPI_GETCURSORPOS() to return standard POINT with hash option and other goodies + WAPI_GETWINDOWRECT(), WAPI_GETCLIENTRECT() to return standard RECT with hash option and other goodies + WAPI_SETWINDOWLONGPTR() to return/accept pointer type depending index value + added new constants: WIN_SMTO_* and from GTWVG: WIN_GWL*, WIN_DWL* + added new WAPI functions: wapi_GetIconInfo() wapi_GetWindowLongPtr() wapi_GetWindowText() wapi_SendMessageTimeout() * contrib/gtwvw/wvwharb.prg * contrib/gtwvw/menubar.c * contrib/gtwvw/wvwutils.c * contrib/gtwvw/wvwwin.c * rewritten in .prg code as light wrappers to WAPI functions: (please test them) win_LoadIcon( ncIcon ) win_LoadImage( ncImage, nSource ) wvw_AppendMenu( hMenu, nFlags, nMenuItemID, chCaption ) wvw_EnableMaximize( nWin, lEnable ) wvw_GetIconSize( hIcon ) wvw_GetScreenHeight() wvw_GetScreenWidth() wvw_GetTitle( nWin ) wvw_MessageBox( nWin, ... ) wvw_NoClose( nWin ) wvw_SetAsNormal( nWin ) wvw_SetOnTop( nWin ) wvw_SetParent( nWin1, nWin2 ) wvw_SetWinStyle( nWin, nStyle ) wvw_ShowWindow( nWin, nCmdShow ) wvw_TrackPopupMenu( nWin, hMenu ) wvw_UpdateWindow( nWin ) wvw_YesClose( nWin ) * contrib/gtwvg/wvtwin.ch * map more values to hbwin * contrib/gtwvw/gtwvwd.c * hb_gt_wvw_nWin_N() cleanup and extra checks 2014-09-03 20:52 UTC+0200 Viktor Szakats * contrib/gtwvg/* * contrib/gtwvw/* * replaced hbwapi_Instance() calls with 'GetModuleHandle( NULL )' which is the same in context of these components. It was even used in a few places, so now it's used consistently. * contrib/hbwin/hbwapi.h * contrib/hbwin/wapi_commctrl.c * contrib/hbwin/win_misc.c * deleted recently added hbwapi_Instance() 2014-09-03 20:21 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/gtwin/gtwin.c + added support for disabling [x] button of console window in older MS-Windows versions which do not have GetConsoleWindow() function, i.e. Win9x/ME 2014-09-03 20:09 UTC+0200 Viktor Szakats * contrib/gtwvg/* * contrib/gtwvg/tests/*.prg * contrib/gtwvw/* * minor cleanups - deprecated WVT_UTILS() dummy function with HB_LEGACY_LEVEL5 2014-09-03 19:24 UTC+0200 Viktor Szakats * contrib/hbwin/hbwin.ch * contrib/hbwin/hbwin.hbx * contrib/hbwin/wapi_winuser.c + added new WAPI function wapi_RedrawWindow() + added WIN_SC_*, WIN_ID* constants plus a few missing values * contrib/gtwvw/menubar.c * contrib/gtwvw/wvwutils.c * contrib/gtwvw/wvwharb.prg * rewritten some WVW functions in .prg, using light wrappers to WAPI calls: wvw_LoadIcon(), wvw_LoadImage(), wvw_LoadBitmap(), wvw_LoadBitmapEx(), wvw_DrawIcon(), wvw_RedrawWindow(), wvw_NoSysMenu(), wvw_GetMenu(), wvw_DrawMenuBar(), wvw_GetSystemMenu() * contrib/gtwvw/tests/*.prg * contrib/hbwin/tests/dlg.prg % use hbwin.ch constants * contrib/gtwvg/wvtwin.ch * cleanups, size reduction * use some hbwin.ch constants * mapped values to hbwin.ch constants 2014-09-03 16:48 UTC+0200 Viktor Szakats * contrib/gtwvw/wvwutils.c ! WVW_LOADICON() fixed a regression * contrib/hbwin/hbwin.hbx * contrib/hbwin/wapi_winuser.c + added new WAPI functions: wapi_DrawIcon() wapi_LoadBitmap() wapi_LoadIcon() 2014-09-03 16:20 UTC+0200 Viktor Szakats * contrib/gtwvg/wvgwing.c * contrib/gtwvw/wvwutils.c * deleted unnecessary casts ! WVW_LOADBITMAP(), WVW_LOADBITMAPEX() various fixes, some of them regressions 2014-09-03 15:35 UTC+0200 Viktor Szakats * contrib/hbwin/hbwapi.h * contrib/hbwin/wapi_misc.c + added hbwapi_Instance() which returns the HINSTANCE of the exe * contrib/gtwvg/* * contrib/gtwvw/* * contrib/hbwin/win_misc.c * mapped WVG_HINSTANCE() to WIN_HINSTANCE() * use hbwapi_Instance() % optimized out two HB_ISLOG() calls 2014-09-03 14:25 UTC+0200 Viktor Szakats * contrib/gtwvg/gtwvg.hbx * contrib/gtwvg/wvgwin.c - deleted a dummy function * contrib/gtwvw/gtwvw.hbx * do not export gtwvw function which have wrong or no prefix * contrib/gtwvw/tests/*.prg * use wapi functions instead of deprecated synonyms from gtwvw * contrib/gtwvw/wvwharb.prg * minor 2014-09-03 12:06 UTC+0200 Viktor Szakats * contrib/hbwin/hbwin.ch + added new macros: WIN_MAKEWORD( lb, hb ) WIN_MAKELONG( lw, hw ) WIN_MAKELRESULT( lw, hw ) * some recently added macros tweaked * contrib/gtwvg/wvtwin.ch * MAKELONG(), MAKELPARAM() mapped to hbwin equivalent and deprecated * contrib/gtwvg/* * contrib/gtwvw/* * contrib/gtwvw/doc/* * minor function name casing inconsistencies fixed 2014-09-03 03:40 UTC+0200 Viktor Szakats * contrib/gtwvg/gtwgud.c * contrib/gtwvg/gtwvgd.c * contrib/gtwvg/wvgwin.c ! missing casts * contrib/gtwvw/wvwharb.prg * contrib/gtwvw/wvwutils.c * wvw_BringToTop1() converted to .prg code * contrib/hbwin/hbwin.ch + added wapi_ShowWindow() constants WIN_SW_* * contrib/hbwin/hbwin.hbx * contrib/hbwin/wapi_winuser.c + added wapi_SetForegroundWindow() + added wapi_SetCursorPos() ! wapi_EndMenu() fixed build for WinCE 2014-09-03 02:58 UTC+0200 Viktor Szakats * contrib/gtwvw/gtwvw.hbx * contrib/gtwvw/legacy.c * contrib/gtwvw/wvwutils.c % deleted recently added wrappers which have local synonyms: wvw_SendMessage(), wvw_SetBkColor(), wvw_SetTextColor(), wvw_RGB() * WVW_XBSHOW() deprecated with HB_LEGACY_LEVEL5 Use its synonym WVW_XBVISIBLE() instead. [INCOMPATIBLE] * minor cleanup * contrib/gtwvg/legacy.c * cleanups 2014-09-03 02:12 UTC+0200 Viktor Szakats * contrib/hbwin/hbwin.ch * contrib/hbwin/hbwin.hbx * contrib/hbwin/wapi_winuser.c * contrib/hbwin/win_misc.c + contrib/hbwin/tests/macro.prg + added WAPI_LOWORD(), WAPI_HIWORD(), WAPI_RGB() functions * converted WIN_LOWORD(), WIN_HIWORD to macros. These are optimized at compile-time. Code using these will now need to include hbwin.ch or be linked with hbwin.hbc. * contrib/gtwvg/legacy.c * contrib/gtwvw/legacy.c * contrib/gtwvw/wvwharb.prg * changed translations to map to WAPI_LOWORD(), WAPI_HIWORD() and WAPI_RGB() 2014-09-03 01:41 UTC+0200 Viktor Szakats * contrib/gtwvg/* * contrib/gtwvg/tests/* * contrib/gtwvw/* * synced casing of wvg_/wvt_ prefixes with wvw_ * rerun 'hbmk2 -fixcase' on gtwvw 2014-09-03 01:27 UTC+0200 Viktor Szakats * contrib/hbwin/hbwin.hbx * contrib/hbwin/win_misc.c - win_P2N(), win_N2P() deleted. They were unsafe. [INCOMPATIBLE] add them to your project with some local name or avoid using them. If you need them, copy them in your own project from here: https://github.com/vszakats/hb/blob/0dd55d8cd76774060ca811a6f7daadec29353262/contrib/hbwin/win_misc.c#L221-L229 * contrib/hbwin/wapi_alloc.c + do not accept numeric pointers in __VMNOINTERNALS() mode + ignore any __wapi_DbgUnsafeHandles() settings in __VMNOINTERNALS() mode * contrib/gtwvg/wvgutils.c + added wvg_n2p(). Same as win_N2P() was in hbwin. * contrib/gtwvg/*.prg * contrib/gtwvg/tests/_dyndlgs.prg * win_N2P() -> wvg_n2p() * contrib/xhb/xhb.hbx * contrib/xhb/xhbfunc.c * contrib/xhb/xhbole.prg + added __xhb_p2n(). Same as win_P2N() was in hbwin. * use __xhb_p2n() instead of win_P2N() 2014-09-03 01:00 UTC+0200 Viktor Szakats * contrib/gtwvg/* * contrib/gtwvg/tests/* * use :ClassName() instead of __objGetClsName() internal function * use WIN_TRANSPARENT constant (hbwin.ch in included automatically via hbwin.hbc) * comment cleanup * contrib/hbwin/wapi_winuser_dlg.c ! WAPI_ENDDIALOG(), WAPI_GETDLGITEMTEXT(), WAPI_GETDLGITEM fixed to always set wapi_GetLastError() 2014-09-02 23:27 UTC+0200 Viktor Szakats * contrib/gtwvg/*.prg ! WvgPartHandler:controlWndProc() fixed an RTE when using real pointer types, due to missing type check of callback return value ! WvgWindow:nOldProc fixed initial value being a zero instead of NIL % minor optimization * contrib/gtwvg/gtwgud.c * contrib/gtwvg/gtwvgd.c * contrib/gtwvw/gtwvwd.c ! hb_gt_wvt_FireEvent(), hb_gt_wvwWndProc() fixed to accept callback results as a pointer ("P") type ! hb_gt_wvt_FireEvent() fixed to read callback return value as a large integer. Fixing potential problems on 64-bit. * contrib/gtwvg/tests/_tbrowse.prg * added FIXME to comment ; Above fixed the pending ActiveX hang/crash in demowvg.prg ; FIXME: there are still various minor coloring differences compared to upstream [DONE] 2014-09-02 22:38 UTC+0200 Viktor Szakats * contrib/hbwin/hbwapi.h * contrib/hbwin/hbwin.hbx * contrib/hbwin/wapi_alloc.c + added __wapi_DbgUnsafeHandles() to help debug numeric handles it is a runtime setting with following possible values: 0 = disallow numeric pointers, 1 = trace, 2 = trace + RTE, other = allow (default) ; This can be used by any application/library that is using the hbwapi parameter setter/getter macros/functions provided by hbwin * contrib/gtwvg/tests/demowvg.prg * contrib/gtwvw/tests/demo.prg + RTE on any numeric handle/pointer encountered * contrib/gtwvg/activex.prg ! WvgActiveXControl:Create() fixed to not pass a zero pointer to WAPI_CREATEWINDOWEX() * contrib/gtwvg/tests/_tbrowse.prg * temply disabled oCom:navigate() in hbrun mode, where it is crashes * config/postinst.hb * minor to output 2014-09-02 21:27 UTC+0200 Viktor Szakats * contrib/hbwin/wapi_alloc.c ! hbwapi_itemGet_HANDLE() typo in commit + ability to turn off support for accepting numeric pointers at build-time 2014-09-02 19:52 UTC+0200 Viktor Szakats * contrib/hbwin/wapi_winuser.c ! WAPI_SETWINDOWPOS() more input sanitization 2014-09-02 19:45 UTC+0200 Viktor Szakats * contrib/hbwin/hbwapi.h * contrib/hbwin/wapi_alloc.c + added new C level WAPI functions: hbwapi_itemGet_HANDLE() hbwapi_arrayGet_HANDLE() * contrib/hbwin/wapi_winuser.c * WAPI_SETWINDOWPOS() explicitly accept numeric values for the 2nd parameter so that some predefined numeric values (WIN_HWND_*) can be passed without converting them to pointer (or relying on accepting numeric pointers) * contrib/hbwin/hbwin.ch * deleted win_N2P() from WIN_HWND_* constants * contrib/gtwvg/* + contrib/gtwvg/legacy.c * contrib/gtwvw/* % permanently enabled all redirections to WAPI_*()/hbwin functions and deleted local duplicates NOTE: all wrappers are kept for now. This is the point of no return in the process of switching GTWVG/GTWIN to use real pointers. Since many 3rd party lib (HMG, HWGUI, FW?) use numeric pointers (and not even 64-bit compatible ones), if you need interoperibility with them, use WIN_P2N()/WIN_N2P(). Now Harbour always returns "P" type and accepts both "P" and "N" types for pointers. HWGUI started to support HWG_USE_POINTER_ITEM build option recently, use it. + added new macros for reading pointer/handle values: HB_ITEMGETHANDLE( i ), HB_ARRAYGETHANDLE( a, i ) ! WVW_CREATEIMAGELIST() fixed to read pointer/handle types properly ! WVW_CREATEIMAGELIST() fixed to not crash when 1st parameter is not an array * contrib/gtwvg/class.prg * contrib/gtwvg/paint.prg * contrib/gtwvg/tests/_dyndlgs.prg * contrib/gtwvg/tests/_utils.prg * renamed some functions to their wvg_*() prefixed synonym * contrib/hbwin/win_misc.c * comment added documenting that WIN_P2N()/WIN_N2P() are unsafe. ; TODO: move them to GTWVG/GTWVW libs with new prefixes (or to the 3rd party libs that need them) * contrib/hbwin/wapi_winuser_dlg.c ! Missing casts (fix to prev) Fixes https://github.com/vszakats/hb/issues/50 2014-09-02 17:22 UTC+0200 Viktor Szakats * contrib/gtwvg/*.prg * contrib/gtwvg/gtwvgd.c * contrib/gtwvg/wvgwin.c ! WVG_SENDCBMESSAGE() fixed to pass back some handles using macros instead being hard-coded as numeric ! WVG_CREATEWINDOWEX(), WVG_APPENDMENU() explicitly accept numeric input values where they should be accepted as non-pointers along with pointers ! fixed GTWVG .prg code to use Empty() instead of HB_ISNUMERIC() to check for valid handle * minor cleanups ; Now only ExecuteActiveX() doesn't work in demowvg.prg * contrib/gtwvg/gtwvg.hbp * contrib/gtwvg/gtwgu.h * contrib/gtwvg/gtwvg.h * contrib/gtwvw/hbgtwvw.h * changed option __GTWVX_UNSAFE_POINTERS to __GTWVX_RETURN_UNSAFE_POINTERS and will now only mean to return numeric pointers from GTWVG/GTWVW functions and GT driver. Both numeric and true pointer types are accepted regardless of any user setting. * contrib/hbwin/hbwapi.h * contrib/hbwin/wapi_alloc.c * converted __hbwapi_par_handle()/__hbwapi_parv_handle() to functions and added tracing of numeric values (disabled) * contrib/hbwin/wapi_winuser_dlg.c ! Missing casts Fixes https://github.com/vszakats/hb/issues/50 2014-09-02 15:41 UTC+0200 Viktor Szakats * contrib/gtwvg/* % #include cleanup 2014-09-02 15:37 UTC+0200 Viktor Szakats * contrib/gtwvg/* * contrib/gtwvw/* * synced names of value setter/getter macros accross the two contribs 2014-09-02 15:14 UTC+0200 Viktor Szakats * contrib/hbwin/hbwapi.h + new WAPI macro: hbwapi_parv_raw_HANDLE() * contrib/gtwvg/gtwgu.h * contrib/gtwvg/gtwvg.h * contrib/gtwvg/wvgcore.c * contrib/gtwvw/hbgtwvw.h * contrib/gtwvw/wvwutils.c * WVW_RESTSCREEN(), WVT_RESTSCREEN() fixed in safe pointer mode * contrib/gtwvw/wvwharb.prg ! fixed WVW_RGB() redirection 2014-09-02 14:18 UTC+0200 Viktor Szakats * contrib/gtwvg/paint.prg ! wvt_MakeDlgTemplate() fixed RTE in prev commit * contrib/hbwin/hbwapi.h * contrib/hbwin/wapi_alloc.c + hbwapi_par_raw_*(), hbwapi_par_HDC() will now accept numeric pointers + new hbwapi_is_HANDLE() macro to check for accepted handle/pointer type + new macros to pass handle/pointer to HVM: hbwapi_stor_HANDLE( h, n ) hbwapi_itemPut_HANDLE( i, h ) hbwapi_ArraySet_HANDLE( a, i, h ) hbwapi_vmPush_HANDLE( h ) * minor tweaks/cleanups to param macros * contrib/gtwvg/gtwgu.h * contrib/gtwvg/gtwvg.h * contrib/gtwvw/hbgtwvw.h % use hbwapi.h param macros in safe pointer mode % GTWVG: cleaned #include list * contrib/gtwvg/parthdlr.prg ! use win_N2P() to convert raw numeric LPARAM/WPARAM to pointer type ! use Empty() instead of zero comparison for pointer type ; This is not complete, so the solution for now is to accept numeric pointers in gtwin/gtwvg/gtwvw code wherever normal pointers are expected. It may be a long term solution as in Windows API it's customary to receive handles/pointers as numerics, e.g. in callbacks. ; FIXME: ActiveX stuff in demowvg.prg doesn't to work at all when using safe pointers [DONE] * contrib/gtwvg/tests/_dyndlgs.prg % use function pointers ! use win_N2P() to convert raw numeric LPARAM/WPARAM to pointer type ! fix to setting color of a STATIC control (this may not be right) * contrib/gtwvg/tests/_tbrowse.prg * open test.dbf in readonly mode * contrib/gtwvg/activex.prg * minor 2014-09-02 12:02 UTC+0200 Viktor Szakats * contrib/gtwvg/paint.prg % use hb_defaultValue(), hb_ArrayToParams(), HB_IS*() functions * contrib/gtwvw/hbgtwvw.h ! typo in recent commit * contrib/gtwvw/wvwharb.prg * contrib/gtwvw/wvwutils.c * mapped wvw_RGB() to hbwin macro WIN_RGB() 2014-09-02 11:44 UTC+0200 Viktor Szakats * contrib/hbwin/hbwin.hbx * contrib/hbwin/wapi_winuser.c + added new WAPI functions: wapi_ClientToScreen() wapi_MAKELPARAM() wapi_MAKEWPARAM() wapi_ScreenToClient() wapi_ShowWindow() wapi_UpdateWindow() * contrib/gtwvg/gtwvg.h * contrib/gtwvg/wvgutils.c - deleted internal functions, most of the unused [INCOMPATIBLE] if you used these. Use hbwapi.h ones instead. * contrib/gtwvg/wvgwin.c * WVG_CLIENTTOSCREEN(), WVG_SCREENTOCLIENT() updated to use hbwapi.h functions instead of local implementation. (it means they now support hash POINTs as well) * mapped more functions to hbwin equivalents: WVG_CLIENTTOSCREEN() -> WAPI_CLIENTTOSCREEN() WVG_SCREENTOCLIENT() -> WAPI_SCREENTOCLIENT() WVG_UPDATEWINDOW() -> WAPI_UPDATEWINDOW() WVG_SHOWWINDOW() -> WAPI_SHOWWINDOW() WVG_MAKELPARAM() -> WAPI_MAKELPARAM() * contrib/hbwin/wapi_wingdi.c % minor optimization 2014-09-02 02:45 UTC+0200 Viktor Szakats * contrib/hbwin/hbwin.hbx * contrib/hbwin/wapi_winuser_dlg.c + added internal __wapi_DLGTEMPLATE_Raw_New() based on existing *__MAKEDLGTEMPLATE() functions ! __wapi_DLGTEMPLATE_Raw_New() fixed to avoid potential security issue when strings contained zero bytes. Another regression since Unicode support (2014-08-12 14:26 UTC+0200). * contrib/gtwvg/wvgutils.c * contrib/gtwvw/wvwutils.c % map WVW__MAKEDLGTEMPLATE(), WVT__MAKEDLGTEMPLATE() functions to internal __wapi_DLGTEMPLATE_Raw_New() in hbwin * contrib/gtwvg/tests/_xbp.prg * make a formula maintenance free 2014-09-02 02:17 UTC+0200 Viktor Szakats * contrib/gtwvg/gtwvg.hbp * temp settings to disable safe pointers (commented) * contrib/gtwvg/* * contrib/gtwvw/* ! fixed to use windows/dlg types passed back to callbacks in sync with the rest of the code (it was hardcoded to use numeric type) ! WVT__MAKEDLGTEMPLATE(), WVW__MAKEDLGTEMPLATE() fixed to add a zero byte to close strings. Regression since about 2014-08-12 14:26 UTC+0200 * contrib/hbwin/wapi_winbase.c ! WAPI_GETVOLUMEINFORMATION() fixed buffer overflows when 2nd or 6th parameter is passed by reference * contrib/hbwin/wapi_winuser_dlg.c * contrib/hbwin/wapi_winuser.c * added 'unsafe' note to WAPI_SENDMESSAGE() and WAPI_SENDDLGITEMMESSAGE() because hbwin cannot make a guarantee that the passed buffers won't be overflown. * contrib/gtwvg/* + WVT_GETLASTMENUEVENT(), WVT_LBGETCOUNT(), WVT_LBDELETESTRING(), WVT_LBSETCURSEL(), WVT_CBADDSTRING(), WVT_CBSETCURSEL() will now return an integer like the original Windows API call * some of the above converted to use Windows API macros * wvg_GetMessageText() reimplemented as a .prg wrapper for WAPI_SENDMESSAGE() [FIXME: it's still unsafe] % moved to dialog callbacks to the source they are referred to and changed their scope to 'static' ! WVG_LBGETTEXT() fixed to allocate buffer of required size instead of using a fixed buffer of arbitrary size * mapped more functions to hbwin equivalents: GTVWG: WVT_CREATEMENU() -> WAPI_CREATEMENU() WVT_CREATEPOPUPMENU() -> WAPI_CREATEPOPUPMENU() WVT_DELETEMENU() -> WAPI_DELETEMENU() WVT_DESTROYMENU() -> WAPI_DESTROYMENU() WVT_ENABLEMENUITEM() -> WAPI_ENABLEMENUITEM() * contrib/gtwvg/paint.prg * contrib/gtwvw/menubar.c * contrib/gtwvg/tests/* * cleanups 2014-09-01 22:48 UTC+0200 Viktor Szakats * contrib/hbwin/hbwin.hbx * contrib/hbwin/wapi_winuser.c + added new WAPI functions: wapi_EndMenu() wapi_GetCursorPos() wapi_GetWindowRect() * contrib/gtwvg/* * contrib/gtwvw/* * mapped more functions to hbwin equivalents: (WARNING: it's a rather cognitively heavy modification, so mistakes and oversights are possible, please test.) GTWVG: wvt_GetCursorPos() -> WAPI_GETCURSORPOS() (with a compatibility stub) wvg_GetWindowRect() -> WAPI_GETWINDOWRECT() (with a compatibility stub) wvg_GetClientRect() -> WAPI_GETCLIENTRECT() (with a compatibility stub) WVG_DRAWTEXT() -> WAPI_DRAWTEXT() WVG_SENDMESSAGETEXT() -> WAPI_SENDMESSAGE() WVG_TREEVIEW_SETTEXTCOLOR() -> WAPI_TREEVIEW_SETLINECOLOR() WVG_TREEVIEW_SETBKCOLOR() -> WAPI_TREEVIEW_SETBKCOLOR() WVG_TREEVIEW_SETLINECOLOR() -> WAPI_TREEVIEW_SETLINECOLOR() WVG_TREEVIEW_SELECTITEM() -> WAPI_TREEVIEW_SELECTITEM() WVG_ISICONIC() -> WAPI_ISICONIC() WVG_ISZOOMED() -> WAPI_ISZOOMED() WVG_CREATEMENU() -> WAPI_CREATEMENU() WVG_CREATEPOPUPMENU() -> WAPI_CREATEPOPUPMENU() WVG_DELETEMENU() -> WAPI_DELETEMENU() WVG_DESTROYMENU() -> WAPI_DESTROYMENU() WVG_ENABLEMENUITEM() -> WAPI_ENABLEMENUITEM() WVG_CHECKMENUITEM() -> WAPI_CHECKMENUITEM() WVG_DRAWMENUBAR() -> WAPI_DRAWMENUBAR() GTWVW: wvw_GetCursorPos() -> WAPI_GETCURSORPOS() (with a compatibility stub) WIN_DRAWTEXT() -> WAPI_DRAWTEXT() WVW_CREATEMENU() -> WAPI_CREATEMENU() WVW_CREATEPOPUPMENU() -> WAPI_CREATEPOPUPMENU() WVW_DELETEMENU() -> WAPI_DELETEMENU() WVW_DESTROYMENU() -> WAPI_DESTROYMENU() WVW_ENABLEMENUITEM() -> WAPI_ENABLEMENUITEM() WVW_ENDMENU() -> WAPI_ENDMENU() WIN_SETMENU() -> WAPI_SETMENU() * src/3rd/jpeg/Makefile ! added source file missed from build Reported by elch: https://groups.google.com/d/msg/harbour-devel/cb5tmoa7jgc/sAwy4U63Tc4J 2014-09-01 21:41 UTC+0200 Viktor Szakats * contrib/hbwin/hbwin.hbx * contrib/hbwin/wapi_winuser_dlg.c * contrib/hbwin/wapi_winuser.c + added new WAPI functions: wapi_GetFocus() wapi_InvalidateRect() wapi_SendDlgItemMessage() wapi_SendMessage() wapi_SetTimer() ! WAPI_SENDDLGITEMMESSAGE(), WAPI_SENDMESSAGE() fixes potential HVM corruption by always deduplicating the string before passing it to Windows API, compared to existing implementations in GTWVG/GTWVW. * contrib/gtwvg/paint.prg * contrib/gtwvg/wvgwin.c * contrib/gtwvw/wvwharb.prg * contrib/gtwvw/wvwutils.c * WVG_TREEVIEW_GETSELECTIONINFO() added some safety, and use HB_SIZEOFARRAY() * mapped more functions to hbwin equivalents: GTWVG: wvg_SetTimer() -> wapi_SetTimer() (with a compatibility stub) wvg_InvalidateRect() -> wapi_InvalidateRect() (with a compatibility stub) WVG_SENDDLGITEMMESSAGE() -> WAPI_SENDDLGITEMMESSAGE() (it also adds missing Unicode support for 4th parameter) WVG_GETFOCUS() -> WAPI_GETFOCUS() WVG_SENDMESSAGE() -> WAPI_SENDMESSAGE() GTWVW: win_SetTimer() -> wapi_SetTimer() (with a compatibility stub) win_InvalidateRect() -> wapi_InvalidateRect() (with a compatibility stub) WIN_SENDDLGITEMMESSAGE() -> WAPI_SENDDLGITEMMESSAGE() (it also adds missing support for passing embedded zero characters in 4th param) WVW_SENDMESSAGE() -> WAPI_SENDMESSAGE() 2014-09-01 18:24 UTC+0200 Viktor Szakats * contrib/hbwin/wapi_winuser.c ! wapi_SetWindowLongPtr() fixed to support GetLastError() 2014-09-01 17:47 UTC+0200 Viktor Szakats * contrib/hbwin/wapi_commctrl.c * WAPI_TABCTRL_GETITEMRECT() changed to return the rect array in 3rd parameter passed by ref, and return a logical value indicating success. This way it matches the original Windows API function which is a design requirement for WAPI_*() calls. [INCOMPATIBLE] * contrib/hbwin/hbwin.hbx * contrib/hbwin/wapi_winuser_dlg.c * contrib/hbwin/wapi_winuser.c ! WAPI_SETDLGITEMTEXT() fixed to return logical (was: integer) to match Windows API [INCOMPATIBLE] + added new WAPI functions: wapi_BringWindowToTop() wapi_CheckDlgButton() wapi_CheckRadioButton() wapi_EnableWindow() wapi_GetClientRect() wapi_IsDlgButtonChecked() wapi_MoveWindow() wapi_SetParent() wapi_SetWindowLongPtr() wapi_SetWindowText() * contrib/gtwvg/wvgwin.c * contrib/gtwvw/combobox.c * contrib/gtwvw/editbox.c * contrib/gtwvw/menubar.c * contrib/gtwvw/wvwharb.prg * contrib/gtwvw/wvwutils.c % removed some redundancy by mapping some functions to existing copies inside the same project or in hbwin GTWVG: WVG_LOWORD(), WVG_HIWORD(), WVG_SETFOREGROUNDWINDOW(), WVG_SLEEP() GTWVW: WIN_SETTEXTCOLOR(), WIN_SETBKCOLOR() ! WVG_GETDLGITEMTEXT() fixed number of characters returned ! WVG_GETDLGITEMTEXT() fixed size of allocated buffer ! WVG_SETDCBRUSHCOLOR(), WVG_SETDCPENCOLOR() fixed to always return an integer (was: handle) ! WVG_SENDCBMESSAGE()/CB_GETLBTEXT fixed memory corruption due to wrong buffer size, also fixed number of characters returned ! WVW_CBGETCURTEXT(), WVW_EBGETTEXT(), WIN_GETDLGITEMTEXT() fixed number of characters returned % mapped various GTWVW, GTWVG functions to HBWIN equivalents (when built with safe pointers - the default ATM) This is an effort to reduce the nearly identical copy/paste implementations residing in GTWVG/GTWVW and HBWIN contribs, and to have one well-maintained and well-working one only in the generic Windows API wrapper namespace. Once the unsafe-pointer mode is deleted, the picture (and sources) will become much cleaner. WARNING: there may be minor differences, e.g. regarding default values in some places (MessageBox 1st param), handling of invalid parameters, where hbwin may throw and RTE in error cases and that the hbwin function _do_ set the wapi_GetLastError() value. GTWVG: WVG_SLEEP() -> WAPI_SLEEP() WVG_SETFOCUS() -> WAPI_SETFOCUS() WVG_SETTEXTCOLOR() -> WAPI_SETTEXTCOLOR() WVG_SETBKCOLOR() -> WAPI_SETBKCOLOR() WVG_SETBKMODE() -> WAPI_SETBKMODE() WVG_GETDIALOGBASEUNITS() -> WAPI_GETDIALOGBASEUNITS() WVG_SETDLGITEMTEXT() -> WAPI_SETDLGITEMTEXT() WVG_GETDLGITEMTEXT() -> WAPI_GETDLGITEMTEXT() WVG_CHECKDLGBUTTON() -> WAPI_CHECKDLGBUTTON() WVG_ISDLGBUTTONCHECKED() -> WAPI_ISDLGBUTTONCHECKED() WVG_CHECKRADIOBUTTON() -> WAPI_CHECKRADIOBUTTON() WVG_GETDLGITEM() -> WAPI_GETDLGITEM() WVG_MESSAGEBOX() -> WAPI_MESSAGEBOX() WVG_MOVEWINDOW() -> WAPI_MOVEWINDOW() WVG_GETDESKTOPWINDOW() -> WAPI_GETDESKTOPWINDOW() WVG_SETPARENT() -> WAPI_SETPARENT() WVG_BRINGWINDOWTOTOP() -> WAPI_BRINGWINDOWTOTOP() WVG_SETFOREGROUNDWINDOW() -> WAPI_BRINGWINDOWTOTOP() WVG_SETWINDOWTEXT() -> WAPI_SETWINDOWTEXT() WVG_SETWINDOWLONG() -> WAPI_SETWINDOWLONGPTR() WVG_ISWINDOW() -> WAPI_ISWINDOW() WVG_ENABLEWINDOW() -> WAPI_ENABLEWINDOW() WVG_DESTROYWINDOW() -> WAPI_DESTROYWINDOW() GTWVW: WIN_SETMENU() -> WAPI_SETMENU() WIN_SETFOCUS() -> WAPI_SETFOCUS() WVW_SETTEXTCOLOR() -> WAPI_SETTEXTCOLOR() WIN_SETTEXTCOLOR() -> WAPI_SETTEXTCOLOR() WVW_SETBKCOLOR() -> WAPI_SETBKCOLOR() WIN_SETBKCOLOR() -> WAPI_SETBKCOLOR() WVW_SETBKMODE() -> WAPI_SETBKMODE() WIN_SETDLGITEMTEXT() -> WAPI_SETDLGITEMTEXT() WIN_GETDLGITEMTEXT() -> WAPI_GETDLGITEMTEXT() WIN_CHECKDLGBUTTON() -> WAPI_CHECKDLGBUTTON() WIN_ISDLGBUTTONCHECKED() -> WAPI_ISDLGBUTTONCHECKED() WIN_CHECKRADIOBUTTON() -> WAPI_CHECKRADIOBUTTON() WIN_GETDLGITEM() -> WAPI_GETDLGITEM() WIN_MESSAGEBOX() -> WAPI_MESSAGEBOX() WVW_ISWINDOW() -> WAPI_ISWINDOW() WVW_RECTANGLE() -> WAPI_RECTANGLE() * contrib/hbwin/hbwapi.h * casts added that will be needed in the future * contrib/hbwin/wapi_wingdi.c * use hbwapi macro * contrib/hbwin/win_misc.c * minor cleanup to prev * contrib/gtwvg/wnd.prg * deleted commented code * contrib/gtwvw/hbgtwvw.h * cleanup * contrib/gtwvw/tests/inpfocus.prg ! fixed keyboard processing for Unicode * cleanups 2014-09-01 01:02 UTC+0200 Viktor Szakats * contrib/gtwvg/* * contrib/gtwvg/tests/*.prg * contrib/gtwvw/* * contrib/gtwvw/tests/*.prg + updated .prg code to work correctly also when the Windows handles/pointers are of pointer ("P") type This means changing comparisons with '0' to 'Empty()' calls ! identified and fixed parameter exchange code where pointers/handles are passed and wvg_*handle() macros weren't used. Now they are. + WVW_SENDMESSAGE() synced with WIN_SENDMESSAGE() to return any string content to 4th parameter * WIN_SENDMESSAGE() converted to a compatibility synonym to WVW_SENDMESSAGE(). It is now deprecated. + WVG_SENDMESSAGE(), WVG_SENDDLGITEMMESSAGE(), WVW_SENDMESSAGE(), WIN_SENDDLGITEMMESSAGE() will now accept pointer types for WPARAM/LPARAM parameters + WVG_APPENDMENU(), WVW_APPENDMENU() pointer type is now accepted for 3rd parameter (for submenus) + WVG_INSERTMENU() pointer type is now accepted for 4rd parameter (for submenus) + GTWVW/GTWVG switched to use pointer types ("P") on .prg level for Windows handles and pointers. This is much safer and allows to interoperate with GTWIN APIs, which use pointer types since many years. [INCOMPATIBLE] Adapt your code to use Empty() to check for an empty handle/pointer, instead of comparing with numeric zero. Build Harbour/GTWVW/GTWVG with '-D__GTWVX_UNSAFE_POINTERS' C and .prg option to enable the legacy pointers/handles, but this mode is now deprecated. * minor cleanups * contrib/hbwin/win_misc.c + WIN_P2N() to accept numeric input and return it unchanged + WIN_N2P() to accept pointer input and return it unchanged * contrib/hbfimage/fi_wrp.c ! FI_WINDRAW() fixed to accept pointer type for 2nd (Windows HDC) parameter 2014-08-31 20:56 UTC+0200 Viktor Szakats * contrib/gtwvw/wvwutils.c * minor cleanups 2014-08-31 20:52 UTC+0200 Viktor Szakats * contrib/gtwvw/gtwvw.hbx * do not export WVW_RGB() from gtwvw.dll * contrib/gtwvw/tests/demo.prg * contrib/gtwvw/tests/prog2.prg * WVW_RGB() -> WIN_RGB() ; WVW_RGB() and RGB() in GTWVW are now deprecated, use WIN_RGB() macro instead 2014-08-31 20:40 UTC+0200 Viktor Szakats * contrib/hbwin/hbwapi.h + added SetClassLongPtr compatibility macro (from GTWVW) * contrib/gtwvw/gtwvw.hbc * contrib/gtwvw/gtwvw.hbp * hbwin is now a depencency of GTWVW * contrib/gtwvw/gtwvwd.c * contrib/gtwvw/hbgtwvw.h ! enabled safe loading of msimg32.dll in GTWVW % deleted unnecessary Windows header #include % use hbwapi.h/hbwinole.h headers from hbwin * contrib/gtwvw/gtwvw.hbx * contrib/gtwvw/legacy.c * contrib/gtwvw/scrollbr.c * contrib/gtwvw/wvwutils.c % mapped redundant GTWVW functions to GTWIN equivalents. All old functions are deprecated: GETSYSCOLOR() -> WAPI_GETSYSCOLOR() WIN_GETDIALOGBASEUNITS() -> WAPI_GETDIALOGBASEUNITS() WIN_GETSYSCOLOR() -> WAPI_GETSYSCOLOR() WIN_MULDIV() -> WAPI_MULDIV() WVW_GETKEYSTATE() -> WAPI_GETKEYSTATE() WVW_HIWORD() -> WIN_HIWORD() WVW_LOWORD() -> WIN_LOWORD() WVW_XBSHOW() -> WVW_XBVISIBLE() ! adjusted casing of two functions * contrib/gtwvw/tests/eb7.prg * contrib/gtwvw/tests/inpfocus.prg * avoid deprecated functions * contrib/gtwvw/doc/en/gtwvw.txt * contrib/gtwvw/doc/pt_BR/gtwvw.txt * casing adjusted 2014-08-31 19:08 UTC+0200 Viktor Szakats * contrib/gtwvg/wvtwin.ch * deprecated RGB() macro with HB_LEGACY_LEVEL5. Use WIN_RGB() instead (it also works with upstream Harbour) [INCOMPATIBLE] Fixes https://github.com/vszakats/hb/issues/49 * contrib/gtwvg/*.prg * contrib/gtwvg/tests/*.prg * RGB() -> WIN_RGB() * contrib/gtwvw/tests/demo.prg ! fixed cosmetic problem in browse demo window * cleanups 2014-08-30 18:26 UTC+0200 Viktor Szakats * contrib/gtwvw/tests/demo.prg * contrib/gtwvw/wvt2wvw.ch * cleanups 2014-08-30 15:45 UTC+0200 Viktor Szakats * contrib/gtwvw/doc/en/gtwvw.txt * contrib/gtwvw/doc/pt_BR/gtwvw.txt * contrib/gtwvw/tooltip.c * cleanups 2014-08-30 13:39 UTC+0200 Viktor Szakats + contrib/gtwvw/tooltip.c * contrib/gtwvw/gtwvw.hbp * contrib/gtwvw/gtwvw.hbx * contrib/gtwvw/gtwvwd.c * contrib/gtwvw/hbgtwvw.h + restored, cleaned up, UNICODE-ized tooltip functions that were permanently disabled in upstream Harbour and xhb * contrib/gtwvw/doc/en/gtwvw.txt * contrib/gtwvw/doc/pt_BR/gtwvw.txt * updated casing after above patch 2014-08-30 03:08 UTC+0200 Viktor Szakats * contrib/gtwvw/doc/en/gtwvw.txt * contrib/gtwvw/doc/pt_BR/gtwvw.txt * contrib/gtwvw/doc/intro.en.md * contrib/gtwvw/doc/intro.pt_BR.md * contrib/gtwvw/gtwvwd.c * contrib/gtwvw/hbgtwvw.h * extras/hbvpdf/core.prg * utils/hbmk2/hbmk2.prg * Cl*pper * whitespace, casing and other cleanups (in docs) [TRANSLATION] in hbmk2 * CONTRIBUTING.md + added notice about Summer '87 compatibility 2014-08-29 03:02 UTC+0200 Viktor Szakats * src/rtl/itemseri.c * use #if 0 * tests/idle.prg ! typos in output text + tests/spdseri.prg + added test code posted by Przemek here https://groups.google.com/d/msg/harbour-devel/GdPsJhciKnE/H0kqrbT6XzkJ 2014-08-27 18:19 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbserial.ch * src/rtl/itemseri.c + added HB_SERIALIZE_IGNOREREF flag. This flag fully disables logic used to detect multireferences to the same complex (sub)items like arrays or hashes. It increses the speed of serialization but serialized data does not contain any information about refences, i.e. aVal[ 1 ] and aVal[ 2 ] in code below: aSub := { 1, 2, 3 } aVal := { aSub, aSub } are serialized as separated arrays. Additionally items with cyclic references like: aSub[ 2 ] := aSub cannot be serialized at all with HB_SERIALIZE_IGNOREREF flag because it will create infinite serialization loop and crash with out of memory message. * src/rtl/itemseri.c % rewritten algorithm used to detect cyclic and multi references in serialized items. The original algorithm has very high overhead when huge arrays were serialized, i.e. serialization of array with 1'000'000 of subarrays needed about 30 minutes on my i5@3.30GHz. Now it needs less then a second and this time is only a little bit bigger then used by serialization with HB_SERIALIZE_IGNOREREF flag. This modification improve performance also in other code using Harbour serialization mechanism like I18N files, HBNETIO, GTNET, ... when large arrays or hashes are saved or transmitted. * include/hbapi.h * include/hbapicls.h * src/vm/arrays.c * src/vm/classes.c * src/vm/hashes.c * src/vm/itemapi.c * replaced algorithm used to detect cyclic and multi references in array and hash clone operations with new one similar to current item serial code. The speed improvement for very large arrays is the same as in case of serialization code. * src/rtl/gtsln/mousesln.c ! typo in while loop - synced with Viktor's branch 2014-08-27 18:56 UTC+0200 Viktor Szakats * contrib/gtwvw/doc/intro.*.md ! Markdown escaping 2014-08-27 18:18 UTC+0200 Viktor Szakats * contrib/gtwvw/doc/intro.*.md * cleanup 2014-08-27 18:12 UTC+0200 Viktor Szakats * bin/commit.hb * config/postinst.hb * tests/wcecon.prg * utils/hbmk2/hbmk2.prg * use "cp437" instead "EN" for cleaner code * contrib/gtwvw/doc/intro_pt_BR.md -> contrib/gtwvw/doc/intro.pt_BR.md * contrib/gtwvw/doc/intro_en.md -> contrib/gtwvw/doc/intro.en.md * contrib/gtwvw/doc/whatsnew.txt -> contrib/gtwvw/doc/ChangeLog.txt * some renames and doc cleanups 2014-08-27 10:28 UTC+0200 Viktor Szakats * contrib/gtwvw/doc/intro_en.md ! Markdown fix 2014-08-27 03:37 UTC+0200 Viktor Szakats - contrib/gtwvw/doc/gtwvw.txt * contrib/gtwvw/doc/intro_en.md + merged .txt into .md 2014-08-27 01:26 UTC+0200 Viktor Szakats - contrib/gtwvw/doc/funclist.txt * contrib/gtwvw/doc/en/gtwvw.txt % merged non-redundant sections into main doc (redundant sections can still be found inside sources) * contrib/gtwvw/doc/intro_en.md * contrib/gtwvw/doc/intro_pt_BR.md * contrib/gtwvw/doc/gtwvw.txt * contrib/gtwvw/doc/pt_BR/gtwvw.txt * cleanups 2014-08-27 01:07 UTC+0200 Viktor Szakats * contrib/gtwvw/doc/en/gtwvw.txt * contrib/gtwvw/doc/pt_BR/gtwvw.txt ! fixes ! added some missed text from conversion 2014-08-27 00:10 UTC+0200 Viktor Szakats + contrib/gtwvw/doc/intro_pt_BR.md + contrib/gtwvw/doc/pt_BR/gtwvw.txt + added GTWVW docs in Portuguese (Brazilian) language, converted back from .pdf to nanfor doc format using custom script and intro section manually. Source: https://groups.google.com/d/msg/harbour-users/DAQ8VIIRYq0/S0QBiqDmmBQJ * contrib/gtwvw/doc/intro.md -> contrib/gtwvw/doc/intro_en.md ! cleanups/fixes * contrib/gtwvw/doc/en/gtwvw.txt ! normalized function casing (using 'hbmk2 -fixcase') * bin/commit.hb ! allow uppercase chars in doc paths 2014-08-26 19:30 UTC+0200 Viktor Szakats * contrib/gtwvw/wvwutils.c * WVW_SETICON() changed to return numeric pointer instead of pointer type, to be in sync with the rest of GTWVW functions (though ideally all functions should use pointer types) BTW doc says this function returns logical value, but it doesn't. [INCOMPATIBLE] + contrib/gtwvw/doc/intro.md + contrib/gtwvw/doc/en/gtwvw.txt + added GTWVW function docs, posted in .pdf format here: https://groups.google.com/d/msg/comp.lang.xharbour/XR3lZxwPjE8/S7QlUM2wACoJ Converted back to text and from there to nanfor doc format using a custom script, and intro section manually. The function docs is the work of Manoel N. Angeiras N. (intro.md largely overlaps with existing gtwvw.txt, this is to be sorted out later) * contrib/gtwvw/docs/funclist.txt -> contrib/gtwvw/doc/funclist.txt * contrib/gtwvw/docs/whatsnew.txt -> contrib/gtwvw/doc/whatsnew.txt * contrib/gtwvw/docs/gtwvw.txt -> contrib/gtwvw/doc/gtwvw.txt * use std directory name for docs * contrib/gtwvw/gtwvwd.c * whitespace 2014-08-26 14:09 UTC+0200 Viktor Szakats - extras/guestbk/_inifile.prg - extras/guestbk/guestbk.hbp - extras/guestbk/guestbk.txt * tests/inifiles.prg + tests/inifile.prg * extras/guestbk/_cgi.prg -> tests/cgi.prg * extras/guestbk/guestbk.html -> tests/guestbk.html * extras/guestbk/guestbk.ini -> tests/guestbk.ini * extras/guestbk/guestbk.prg -> tests/guestbk.prg * moved guestbk sample code to tests dir, consolidated duplicate code * extras/hbusb/hbusb.hbp * use https (will generate a certificate error on some/most clients) 2014-08-26 01:17 UTC+0200 Viktor Szakats * src/codepage/cpua866.c + more https * tests/checkssl.hb ! fixed 2014-08-25 22:39 UTC+0200 Viktor Szakats * contrib/hbtip/ftpcli.prg * completed TODO deleted 2014-08-25 22:23 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! -iflag= option was not honored since c72e900a2d0afbc6d949ff1cf6bb297e1dc77fd1 Fixes https://github.com/vszakats/hb/issues/46 Thanks @abebuch 2014-08-25 20:16 UTC+0200 Viktor Szakats * contrib/gtwvw/gtwvwd.c ! fixed a ANSI C99/C++-ism in one of the recent changes Fixes https://github.com/vszakats/hb/issues/45 Thanks for the report! * src/rtl/cdpdet.prg + hb_cdpTerm(), hb_cdpOS(): return pure std CP name when no language-specific Harbour CP is found. This overrides 2014-08-23 21:32 UTC+0200 as a superior solution. So e.g. "cp1250" will be returned instead of "CSWIN" when CP is Central European Windows, but the detected country is "EN". 2014-08-25 14:05 UTC+0200 Viktor Szakats * contrib/hbziparc/ziparc.prg ! hb_ZipFile() strip current dir (./) from paths + hb_ZipFile() respect <lFullPath> parameter. Default changed to .F. (it may not be compatible with original ziparc lib) ! hb_ZipFile() always store paths with forward slash dirseps ! hb_ZipFile() store path in filenames ! hb_ZipFile() fixed <lWithDrive> to actually work ! hb_ZipFile() do not store directories as zero length files on Linux * deleted an unnecessary HB_SYMBOL_UNUSED() ; above is based on patch by elch (with fixes, opts and cleanups): https://groups.google.com/d/msg/harbour-devel/amPKFDl0j34/ayCTo5M7OpgJ % optimized out temp variable + hb_ZipFile() clear the archive file attribute of input files * contrib/hbziparc/tests/zipa.prg * do not strip dir from stored filenames * src/rtl/fnsplit.c % HB_FNAMEMERGE() optimized to not read a 4th (drive) parameter which is not used anyway. 2014-08-25 03:49 UTC+0200 Viktor Szakats * contrib/gtwvw/gtwvwd.c ! synced box drawing algo with core. It fixes drawing bug when using Browse() * added FIXME for PutChar() repaint bug * contrib/gtwvw/tests/*.prg * cleanups % use hb_Scroll(). This also avoids a paint bug in PutChar(), so the background now appears properly. * src/rtl/hbgtcore.c * variable scoping 2014-08-24 03:56 UTC+0200 Viktor Szakats * contrib/hbtip/ftpcli.prg + TIPClientFTP():ListFiles() added ability to parse MS-DOS/IIS format FTP listings. They are rare and problematic, but anyway. 2014-08-23 21:32 UTC+0200 Viktor Szakats * src/rtl/cdpdet.prg * hb_cdpTerm(), hb_cdpOS(): sort the list of available Harbour CPs before looking for a specific standard CP in it. This way the first match is not influenced by linking order or codepage module initialization order, and thus results in a more stable/consistent Harbour CP returned. (the point is to return a Harbour CP that matches the OS environment (standard CP + language) _the closest_, which functionality doesn't change by this commit) 2014-08-23 12:10 UTC+0200 Viktor Szakats * contrib/gtwvw/gtwvwd.c * deleted some unnecessary casts 2014-08-23 11:14 UTC+0200 Viktor Szakats * contrib/gtwvg/gtwvgd.c * contrib/gtwvw/gtwvwd.c * contrib/hbwin/hbwapi.h * contrib/hbwin/wapi_misc.c ! refixed after 357baa2b8069cdc1a9fe1f7e3e22b03860b3e65b to avoid exposing public APIs that have UNICODE build setting dependent parameters. Introduced an alternate, public API layer which accepts filename in VM CP, to resolve it. 2014-08-23 11:01 UTC+0200 Viktor Szakats * contrib/hbwin/hbwapi.h ! made public a low-level API, so gtwvg doesn't fail to build anymore in .dll mode Fixes https://github.com/vszakats/hb/issues/43 2014-08-23 03:25 UTC+0200 Viktor Szakats * contrib/gtwvw/gtwvwd.c * some internal functions renamed % minor code deduplication 2014-08-23 03:04 UTC+0200 Viktor Szakats * contrib/gtwvw/gtwvwd.c ! fixed GT methods to honor target window rules. It was a regression from recent days. Fixes https://github.com/vszakats/hb/issues/42 ! Replicate() GT method invalidated an additional column since 3aed46cf9ce7c17f75fe75e79bc95ddbc4212a4c * contrib/gtwvw/wvwwin.c % optimizations * contrib/gtwvw/tests/*.prg ! fixed minor regression 2014-08-23 00:34 UTC+0200 Viktor Szakats * contrib/hbwin/win_prn1.c * WIN_CREATEFONT(): changed 9th charset parameter to have the default value DEFAULT_CHARSET (was: ANSI_CHARSET) This way they are in sync with rest of Harbour contrib functions. win_Prn():TextAtFont() method's 10th parameter also changed as above (in case a font is specified in 4th parameter). [INCOMPATIBLE] * one variable renamed * contrib/gtwvw/gtwvwd.c * deleted resolved FIXME comment 2014-08-23 00:00 UTC+0200 Viktor Szakats * src/rtl/hbhex.c * src/vm/itemapi.c * in case __VMNOINTERNALS() is enabled, do not display the actual value of POINTER variables, to avoid leaking address information to Harbour apps. Instead display a -1 address (0xFFFFFFFF*) for any non-NULL address. Other behavoir is unchanged (e.g. checking for Empty() value or comparing POINTER variables). It affects OUTSTD(), OUTERR(), [Q]QOUT(), DEVOUT(), [HB_]DISPOUT[AT](), HB_TRACELOG(), HB_VALTOSTR(), HB_NUMTOHEX() functions when called with POINTER ("P") types, and for the output of these, it's [INCOMPATIBLE] when opted in to no-internals. * contrib/gtwvw/gtwvwd.c * contrib/gtwvw/wvwharb.prg * HB_GTI_PALETTE behavior synced with GTWVT and GTWVG, so that the color number is now zero based (was: 1 based) when changing/querying colors one-by-one. [INCOMPATIBLE] * contrib/gtwvw/checkbox.c * contrib/gtwvw/progrbar.c % minor optimizations * contrib/gtwvw/tests/*.prg * cleanups and minor optimizations 2014-08-22 20:58 UTC+0200 Viktor Szakats * contrib/gtwvw/tests/* ! restored wvw_paint() function in drawimg.prg ! fixed drawimg.prg when run as script (screen dimensions were initialized before selecting the GT) * cleanups 2014-08-22 20:03 UTC+0200 Viktor Szakats * contrib/gtwvw/gtwvwd.c ! hb_gt_wvw_PutText(): invalidated an additional column in unicode mode, causing flicker (visible in prog2.prg GET entries) * hb_gt_wvw_Save(), hb_gt_wvw_Rest(): restored some negative coordinate doctoring. Most probably unnecessary, but restored it for now * cleanups * contrib/gtwvw/tests/*.prg * cleanups 2014-08-22 19:12 UTC+0200 Viktor Szakats * contrib/gtwvw/tests/* * cleanups 2014-08-22 16:01 UTC+0200 Viktor Szakats * config/postinst.hb ! another minor fix to prev 2014-08-22 15:41 UTC+0200 Viktor Szakats * .travis.yml * attempt to make Harbour build system to use gcc-4.8 [SUCCESS] * config/postinst.hb ! fix to prev * contrib/sddmy/core.c ! fixed unnecessary default in previously tweaked switch statement (how well this will work out against different MySQL/MariaDB versions is something to see) 2014-08-22 15:27 UTC+0200 Viktor Szakats * config/postinst.hb + show Harbour and C compiler version at the end of the build * contrib/sddmy/core.c ! rest of the unhandled MYSQL types added to avoid clang warning * src/rtl/gtsln/mousesln.c ! fixed a typo causing a while() loop body to execute only once after exiting the loop ! made global Gpm_Connect variable a local one (verify me) (shown as a clang warning) * extras/rddado/ado.prg * extras/rddado/rddado.hbx * extras/rddado/tests/*.prg + added new RDD name for ADORDD: "ADO" (for REQUEST, USE VIA, and rddSetDefault()) * Kept the old one ("ADORDD") for compatibility * Marked all old names as DEPRECATED ; See: https://github.com/vszakats/hb/issues/40 + extras/rddado/adordd.ch + added missing compatibility header (DEPRECATED) * extras/rddado/rddado.ch * cleanups to prev 2014-08-22 14:50 UTC+0200 Viktor Szakats * .travis.yml + trying to update gcc to 4.8 (from default 4.6) before the build * contrib/sddmy/core.c ! error in prev commit 2014-08-22 14:41 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/vm/hvm.c * map 0 and 1 byte length strings to the same addresses * src/vm/itemapi.c ! check also size if string addresses are the same 2014-08-22 14:38 UTC+0200 Viktor Szakats * contrib/gtalleg/gtallegd.c * contrib/hbgd/gdwrp.c * trying to avoid clang warnings * contrib/hbfimage/fi_wrp.c ! avoid clang warning * contrib/hbmisc/spd.c % added const * contrib/sddmy/core.c + added more enums to switch to mitigate clang warning 2014-08-22 14:16 UTC+0200 Viktor Szakats * .travis.yml * and another one [SUCCESS] 2014-08-22 14:08 UTC+0200 Viktor Szakats * .travis.yml * another attempt to override compiler autodetection 2014-08-22 14:04 UTC+0200 Viktor Szakats * .travis.yml * trying to override compiler autodetection 2014-08-22 13:44 UTC+0200 Viktor Szakats * contrib/hbrun/doc/hbrun.pt_BR.md * utils/hbmk2/doc/hbmk2.el.md * utils/hbmk2/doc/hbmk2.pt_BR.md * utils/hbmk2/po/hbmk2.el.po * utils/hbmk2/po/hbmk2.pt_BR.po * updated translations from Transifex. Thanks to the translators pete_wg and SAMI 2014-08-22 13:39 UTC+0200 Viktor Szakats * .travis.yml + enabled clang build run for Travis-CI 2014-08-22 12:52 UTC+0200 Viktor Szakats * src/3rd/png/* * src/3rd/png/Makefile * src/3rd/png/png.dif * update libpng 1.6.12 -> 1.6.13 2014-08-22 12:49 UTC+0200 Viktor Szakats * contrib/3rd/sqlite3/sqlite3.hbp * contrib/3rd/sqlite3/* * sqlite3 update 3.8.5 -> 3.8.6 2014-08-22 12:33 UTC+0200 Viktor Szakats * contrib/gtwvg/class.prg ! corrected formatting errors of older hbformat * contrib/gtwvg/wvg*.c * contrib/gtwvw/wvwutils.c * some var names synced with gtwvw * minor cleanups, var scoping ! WVG_PICTURE(), WVG_PICTUREEX(), WVG_IMAGE() fixed to return NIL on error as well (was: 0) * *_[LO|HI]WORD() functions cleaned up. Now they are the same as those in hbwin. * contrib/hbmysql/tmysql.prg * whitespace 2014-08-22 02:38 UTC+0200 Viktor Szakats * extras/rddado/rddado.hbp * extras/rddado/core.prg -> extras/rddado/ado.prg * renamed to ado.prg 2014-08-22 02:36 UTC+0200 Viktor Szakats * extras/rddado/core.prg * updates related to prev commit ; TODO: the internal name of the RDD still remains 'ADORDD'. 'ADO' would seem better. [DONE] 2014-08-22 02:19 UTC+0200 Viktor Szakats * extras/rddado/rddado.hbp * extras/rddado/tests/access1.prg * extras/rddado/tests/access2.prg * extras/rddado/tests/mysql1.prg * extras/rddado/tests/mysql3.prg * extras/rddado/adordd.ch -> extras/rddado/rddado.ch * extras/rddado/adordd.prg -> extras/rddado/core.prg + renamed adordd.ch to rddado.ch to be in sync with the name of the package. [INCOMPATIBLE] For compatibility with other Harbour branches/dialects, adordd.ch is kept as a redirect stub. * renamed adordd.prg to core.prg to make naming cleaner ; See: https://github.com/vszakats/hb/issues/40 * contrib/gtwvw/*.c * comment/whitespace cleanups 2014-08-21 14:38 UTC+0200 Viktor Szakats * contrib/gtwvg/*.c * contrib/gtwvw/*.c * contrib/hbwin/hbwapi.h * contrib/hbwin/*.c * backtracking a bit on 2014-08-21 13:04 UTC+0200 and one hunk of 2014-08-20 22:57 UTC+0200: for UINT its enough to use hb_parni() 2014-08-21 14:25 UTC+0200 Viktor Szakats * package/harbour.svg % deleted unnecessary paths * package/harbour.icns * package/harbour.ico * package/harbour.xpm * regenerated from latest .svg using latest toolchain 2014-08-21 13:04 UTC+0200 Viktor Szakats * contrib/gtwvg/*.c * contrib/gtwvw/*.c * contrib/hbwin/wapi_winbase.c * contrib/hbwin/wapi_wingdi.c * contrib/hbwin/win_shell.c * cleaned up getting 32-bit unsigned values from VM 2014-08-21 03:37 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg * consider a .hbc file dynamically loadable (for scripts) also when it has any 'gt=' items defined (was: 'libs=' only) * contrib/gtwvw/*.c * whitespace 2014-08-21 03:15 UTC+0200 Viktor Szakats * contrib/gtwvw/gtwvw.hbc * contrib/gtwvw/gtwvw.hbp * updated for contrib build environment 2014-08-21 03:14 UTC+0200 Viktor Szakats * extras/gtwvw/* -> contrib/gtwvw/* * moved gtwvw inside contrib directory 2014-08-21 02:58 UTC+0200 Viktor Szakats * extras/gtwvw/gtwvw.hbp * extras/gtwvw/gtwvwd.c ! UNICODE mode box drawing fixes + enabled UNICODE mode ; Notice that UNICODE support in GT driver code still lags a lot behind GTWVT, anyhow it should be in testable state by now. UNICODE mode changes CP behavior, so it's strictly speaking INCOMPATIBLE. * extras/gtwvw/tests/prog*.prg * formatting 2014-08-21 02:00 UTC+0200 Viktor Szakats * contrib/gtwvg/gtwgud.c * contrib/gtwvg/gtwvgd.c * extras/gtwvw/gtwvwd.c * synced copy-paste code with the recent upstream modification of GTWVT 2014-08-21 01:48 UTC+0200 Viktor Szakats * extras/gtwvw/gtwvwd.c * extras/gtwvw/hbgtwvw.h + internal screen buffers changed to use HB_SCREENCELL * minor cleanups * extras/gtwvw/tests/* * open test table in read-only mode * contrib/hbtip/mailsend.prg ! two comment typos fixed (from upstream) 2014-08-21 01:11 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbtip/mail.prg ! fixed missing 1st adress in CC and BCC parameters - many for information about the bug and patch ; [vszakats] kept better existing fix * contrib/hbtip/sendmail.prg ! typo in comment - thanks to Heinz V Bergen too * src/rtl/gtwvt/gtwvt.c * some minor modification to sync code with Vitkor's branch * src/vm/hvm.c * src/vm/itemapi.c * small optimization in string comparison 2014-08-20 23:13 UTC+0200 Viktor Szakats * contrib/hbwin/wapi_commctrl.c % minor cleanup to prev * extras/gtwvw/gtwvwd.c % deleted some disabled code 2014-08-20 23:03 UTC+0200 Viktor Szakats * contrib/hbwin/wapi_wingdi.c ! WAPI_TEXTOUT() fixed to not return .F. on success 2014-08-20 22:57 UTC+0200 Viktor Szakats * contrib/hbwin/*.c * contrib/hbwin/hbwapi.h ! WAPI_IMAGELIST_GETICONSIZE(), WAPI_GETSCROLLBARINFO(), WAPI_GETSCROLLINFO(), WAPI_GETSCROLLRANGE() fixed to clear ref params on error ! WAPI_TEXTOUT() fixed to return the right type on error ! WAPI_IMAGELIST_LOADIMAGE() fixed for UNICODE ! use NINT version of hb_ret/hb_stor/etc functions when returning DWORD/UINT value, to keep the sign intact when reading it on .prg level ! use hb_retnint() functions for larger than DWORD values (e.g. OLE error number and some more) * cleaned casts around MAKEINTRESOURCE() * added few missing casts, deleted few unnecessary ones % minor optimizations * minor cleanups * extras/gtwvw/*.c * use more HB_PARHANDLE() * cleaned casts around MAKEINTRESOURCE() * contrib/hbgt/*.c * comment cleanup 2014-08-20 19:21 UTC+0200 Viktor Szakats * extras/gtwvw/gtwvwd.c + more UNICODE GT cleanups, trying to sync with src/rtl/hbgtcore.c ; regressions are possible from this point * extras/gtwvw/toolbar.c * deleted commented code * extras/gtwvw/wvt2wvw.ch ! fixed a typo in prev commit * src/rtl/hbgtcore.c * var scoping 2014-08-20 15:38 UTC+0200 Viktor Szakats * extras/gtwvw/wvt2wvw.ch + eliminated PRIVATE variable * cleanups 2014-08-20 15:05 UTC+0200 Viktor Szakats * contrib/gtwvg/wvgutils.c * extras/gtwvw/wvwutils.c * formatting * contrib/gtwvg/wvgutils.c % optimizations 2014-08-20 14:16 UTC+0200 Viktor Szakats * extras/gtwvw/* ! replaced MessageBox() error popups with Harbour internal errors and RTEs % eliminated some vars 2014-08-20 12:52 UTC+0200 Viktor Szakats * extras/gtwvw/statbar.c % WVW_SBADDPART() do not restore HFONT in a temp DC ! WVW_SBADDPART() fixed potential leak introduced while adding UNICODE support 2014-08-20 12:16 UTC+0200 Viktor Szakats * extras/gtwvw/* % changed varname prefix in few remaining cases, eliminated variables 2014-08-20 11:21 UTC+0200 Viktor Szakats * extras/gtwvw/gtwvwd.c * extras/gtwvw/hbgtwvw.h + more UNICODE support in GT code ! fixed PutText() problem where it reached past buffer when passed color zero (0) % cleanups, reduction, var/func scopes * extras/gtwvw/tests/inpfocus.prg * extras/gtwvw/tests/prog*.prg ! fixed a regression in demos due to previous hb_defaultValue() optimizations % deleted non-GTWVW (=Clipper) branch from demo code ! fixed two warnings due to recent cleanups * src/rtl/hbgtcore.c * variable scoping 2014-08-19 23:48 UTC+0200 Viktor Szakats * extras/gtwvw/* * cleanups 2014-08-19 23:25 UTC+0200 Viktor Szakats * extras/gtwvw/combobox.c * ComboBox dropped-width calculation: ! fixed font selection which didn't work % do not save and restore font. It's unnecessary for a temp DC. ; this might need more fixing downstream ! WVW_CBCREATE() fixed to not leak a HFONT in error cases 2014-08-19 23:01 UTC+0200 Viktor Szakats * extras/gtwvw/* * renames, cleanups, reduction, QUESTION & FIXME added 2014-08-19 19:51 UTC+0200 Viktor Szakats * extras/gtwvw/* * extras/gtwvw/tests/*.prg % code reduction, optimizations * cleaned away some HB_UINT types * continued variable prefix renames 2014-08-19 15:32 UTC+0200 Viktor Szakats * extras/gtwvw/wvwdraw.c * code reduction 2014-08-19 13:48 UTC+0200 Viktor Szakats * extras/gtwvw/*.c % deleted checks now integrated into hb_gt_wvw_HBFUNCPrologue() 2014-08-19 13:22 UTC+0200 Viktor Szakats * extras/gtwvw/* * extras/gtwvw/tests/inpfocus.prg * optimizations, code reduction * syncing coding idioms accross functions 2014-08-19 11:11 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/debug/debugger.prg + implemented commmand window resizing with ALT+U and ALT+D keys 2014-08-19 07:54 UTC+0200 Viktor Szakats * extras/gtwvw/* * extras/gtwvw/tests/*.prg % deleted unnecessary local vars * variable renames ! fixed regression by readding WriteAt() GT function override fixes https://github.com/vszakats/hb/issues/39 2014-08-18 20:42 UTC+0200 Viktor Szakats * extras/gtwvw/editbox.c ! WVW_EBCREATE(), WVW_EBGETTEXT(), WVW_EBSETTEXT() deleted manual OEM/ANSI conversion. This was causing buffer corruption and it is not necessary as now GTWVW uses the string API to convert between _SET_OSCODEPAGE and VM CP when built in non-UNICODE mode (the default with GTWVW). IOW this is now incompatible, and will obey the standard codepage settings instead of using the old hard-wired and limited solution of converting from "OEM" VM CP to "ANSI" OS CP in these three functions. * extras/gtwvw/tests/eb7.prg * minor fix to prev * cleanups 2014-08-18 20:23 UTC+0200 Viktor Szakats * extras/gtwvw/gtwvwd.c * extras/gtwvw/wvwwin.c * extras/gtwvw/tests/prog2.prg * extras/gtwvw/tests/cbtest1.prg -> extras/gtwvw/tests/cb1.prg * extras/gtwvw/tests/cbtest6.prg -> extras/gtwvw/tests/cb6.prg * extras/gtwvw/tests/ebtest7.prg -> extras/gtwvw/tests/eb7.prg * extras/gtwvw/tests/wvwtest9.prg -> extras/gtwvw/tests/demo.prg * deleted 'test' from test filenames * cleanups ! fixed a regression in 'eb7.prg' preventing 'Close' button to work 2014-08-18 14:03 UTC+0200 Viktor Szakats * extras/gtwvw/* ! WVW_DRAWBITMAP() fixed wrong size in a GetObject() call * synced GFX code with GTWVT * type cleanups and var renames * contrib/gtwvg/gtwvgd.c * src/rtl/gtwvt/gtwvt.c * use macros * deleted unnecessary cast 2014-08-18 10:59 UTC+0200 Viktor Szakats * extras/gtwvw/* ! hb_gt_wvw_ButtonCreate() fixed regression where hWnd was not returned to caller ! fixed one remaining msvc -analyze warning * further type cleanups * variable renames * cleanups 2014-08-17 23:06 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbrddcdx.h * minor clarification in comment * src/rtl/hbgtcore.c * do not save and restore SetColor() when debugger is activated and closed 2014-08-17 12:56 UTC+0200 Viktor Szakats * extras/gtwvw/* % relocating more functions to their proper source files % dissolved some low-level API calls * README.md + added link to info about stable Harbour + added 'brew install' instructions for OS X * package/harbour.rb + added version 2014-08-16 19:18 UTC+0200 Viktor Szakats * extras/gtwvw/* % split off control specific functions into their corresponding sources ! WVW_TOOLBARADDBUTTONS() added UNICODE support (only build tested) ! WVW_TOOLBARADDBUTTONS() fixed potential memory corruption, now 4th parameter is ignored and array size is used instead * some minor type cleanup 2014-08-16 14:53 UTC+0200 Viktor Szakats * extras/gtwvw/*.c % deleted more unnecessary casts 2014-08-16 14:40 UTC+0200 Viktor Szakats * extras/gtwvw/* + type cleanup for color, attr and char gtwvw doesn't use any Windows types internally anymore * minor cleanups * src/rtl/gtwvt/gtwvt.c * whitespace 2014-08-16 12:41 UTC+0200 Viktor Szakats * extras/gtwvw/gtwvwd.c * extras/gtwvw/hbgtwvw.h + USHORT -> HB_SIZE for buffer sizes and positions 2014-08-16 12:19 UTC+0200 Viktor Szakats * extras/gtwvw/* + use 'int' type for every screen position and dimension it also means the near complete elimination of 'USHORT' type usage and reduction of casts ! two minor regressions (shown by msvc warnings) 2014-08-16 11:10 UTC+0200 Viktor Szakats * extras/gtwvw/* * minor cleanups 2014-08-16 10:58 UTC+0200 Viktor Szakats * extras/gtwvw/* * uncrustified 2014-08-16 10:53 UTC+0200 Viktor Szakats * extras/gtwvw/* * some internal renames ! fixed few more potential NULL dereference when dealing with controls 2014-08-16 10:29 UTC+0200 Viktor Szakats * extras/gtwvw/* % reworked the most often used low-level (internal) API calls 2014-08-16 01:53 UTC+0200 Viktor Szakats * extras/gtwvw/* * extras/gtwvw/gtwvw.hbp * extras/gtwvw/clipbrd.prg -> extras/gtwvw/wvwharb.prg * split off most HB_FUNCs from the GT source * split off low-level functions from GT source to where they are actually used ! added parameter validation to hopefully every .prg callable function, so memory corrution, NULL ptr dereference and other security problems are now fixed * low-level API got many changes, many of them are now incompatible do to different names, visibility or argument types 2014-08-15 15:35 UTC+0200 Viktor Szakats * contrib/gtwvg/*.c * extras/gtwvw/* * various minor cleanups 2014-08-15 11:06 UTC+0200 Viktor Szakats * extras/gtwvw/* * type cleanup for wnd and ctrl IDs, and some for COLORREF ! fixed thousands of possible out of bounds memory access and NULL ptr dereferences by extended argument evaluation ! fixed more -analyze warnings * minor cleanups * contrib/gtwvg/* + use safe method to load system library * hb_wvt_GetStringAttrib(), hb_wvt_PutStringAttrib() to not abort on the first error * minor cleanups * src/rtl/gtwvt/gtwvt.c * minor cleanups 2014-08-14 13:20 UTC+0200 Viktor Szakats * contrib/gtwvg/gtwgu.h * contrib/gtwvg/*.c * contrib/gtwvg/wvtwin.ch * extras/gtwvw/*.c * cleanups ! WVT_LOADPEN() fixed minor regression in recent commits ! WVG_STATUSBARCREATEPANEL(), WVW_SBADDPART() fixed potential write past buffer 2014-08-14 11:19 UTC+0200 Viktor Szakats * contrib/gtwvg/wvgcore.c * cleanup * extras/gtwvw/*.c % deleted unnecessary type checks 2014-08-14 10:43 UTC+0200 Viktor Szakats * contrib/gtwvg/*.c * extras/gtwvw/*.c * deleted more unnecessary casts ! par/ret size corrections * minor cleanups 2014-08-13 20:56 UTC+0200 Viktor Szakats * contrib/gtwvg/gtwvg.h * contrib/gtwvg/*.c * cleaned parameter receiving/returning use hbwapi macros, reduce number of local macros and moved them to the central header. ! fixed one 64-bit bug along the way * contrib/hbwin/axcore.c * contrib/hbwin/hbwapi.h * contrib/hbwin/wapi_wingdi.c * contrib/hbwin/win_prn1.c * use hbwapi_par_COLORREF() * extras/gtwvw/*.c * cleaned and fixed COLORREF passing 2014-08-13 19:20 UTC+0200 Viktor Szakats * extras/gfspell/spellc.c % minor optimizations * src/debug/debugger.prg * minor formatting 2014-08-13 19:14 UTC+0200 Viktor Szakats * contrib/gtwvg/*.c * cleanups * sync of some copy/paste code * tests/checkssl.hb * formatting 2014-08-13 16:27 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/debug/dbgentry.c * src/debug/debugger.prg * src/debug/tbrwtext.prg * use one function to divide text per lines with the same rules as used in Cl*pper and Harbour PP. ! fixed input line size in SET edit window ! fixed validation in some input boxes * process only 1st parameter in some commands just like Cl*pper does + added support for FILE OPEN <name> command ! fixed CALLSTACK ON | OFF command ! fixed NUM command + added support for VIEW <fileName> command + added support for LOCATE GOTOLINE <line> command + added support for LOCATE FIND <text> command + added support for RUN SPEED <num> command + added support for LIST WP|TP command + added support for BP <funcName> command + added support for DELETE ALL [TP|WP] and DELETE WP|TP <number> commands % few optimizations and some other minor fixes 2014-08-13 13:48 UTC+0200 Viktor Szakats * contrib/gtwvg/wvgutils.c ! WVT_DLGSETICON() fixed leak * minor cleanup 2014-08-13 13:40 UTC+0200 Viktor Szakats * extras/gtwvw/editbox.c * HINSTANCE type cleanup 2014-08-13 13:33 UTC+0200 Viktor Szakats * contrib/gtwvg/*.c * extras/gtwvw/*.c * rtl/gtwvt/gtwvt.c * HINSTANCE type cleanup 2014-08-13 13:05 UTC+0200 Viktor Szakats * contrib/gtwvg/*.c * extras/gtwvw/*.c * deleted unnecessary casts, declarations, redundand code * better feature guards ! fixed/silenced various warnings * use more par/ret macros * minor cleanups 2014-08-13 09:45 UTC+0200 Viktor Szakats * contrib/gtwvg/*.c * extras/gtwvw/*.c * use parameter getter macros * deleted unnecessary casts and parameter checks ! more internal NULL checks in GTWVW 2014-08-13 02:11 UTC+0200 Viktor Szakats * contrib/hbamf/amfdec.c * contrib/xhb/hbserv.c % use hb_itemArrayNew() * variables names 2014-08-13 01:50 UTC+0200 Viktor Szakats * extras/gtwvw/statbar.c ! WVW_SBGETTEXT() fixed potential buffer overflow ! WVW_SBGETTEXT() UNICODE support ! WVW_SBGETTEXT() to return strings with embedded null chars * contrib/gtwvg/*.c * extras/gtwvw/wvwutils.c ! use constant instead of literals ! fixed bcc warnings ! WVG_STATUSBARSETTEXT() fixed potential buffer overflow ! WVG_SENDCBMESSAGE() fixed memory leak when using CB_GETCOMBOBOXINFO message % use hb_itemArrayNew() % minor optimizations * cleanups 2014-08-12 23:59 UTC+0200 Viktor Szakats * contrib/gtwvg/*.c ! fixes to build for wce * contrib/gtwvg/gtwvg.hbc * contrib/gtwvg/gtwvg.hbp + enabled for WinCE * extras/gtwvw/gtwvw.hbc * extras/gtwvw/gtwvw.hbp * disabled for WinCE % build using WIN32_LEAN_AND_MEAN * extras/gtwvw/gtwvwd.c ! some protection for NULL ptr dereference in low-level code (very mild, there are plenty more places where it can happen) * src/rtl/gtwvt/gtwvt.c * src/rtl/gtwvt/gtwvt.h % use more HB_SIZEOFARRAY() * deleted unused constants 2014-08-12 21:46 UTC+0200 Viktor Szakats * contrib/gtwvg/*.c ! fixed return value in branches where it was not or wrongly set In some cases it means that the function will now return the same type on failure as it does on success, instead of NIL. * WVG_SENDMESSAGE() synced with WVW_SENDMESSAGE() ! WVT_LOADPICTUREFROMRESOURCEEX() fixed for 64-bit ! reset values passed by ref on failure % deleted unnecessary casts * some variable renames * extras/gtwvw/wvwutils.c * WVW_SENDMESSAGE() synced with WVG_SENDMESSAGE() * cleanups/sync with GTWVG 2014-08-12 20:40 UTC+0200 Viktor Szakats * contrib/gtwvg/* ! fixed missing, partial or wrong bounds checking for <nSlot> parameter % user more HB_SIZEOFARRAY() ! fixed few hb_ret*() calls that were believed to return from function, plus some other related cleanups/fixes + initialize some structures with zero % deleted some unnecessary constants and casts 2014-08-12 20:13 UTC+0200 Viktor Szakats * extras/gtwvw/* * stripped double empty lines 2014-08-12 20:01 UTC+0200 Viktor Szakats * contrib/gtwvg/* * extras/gtwvw/* * fixed battered copyright headers * deleted some comment decorations 2014-08-12 19:35 UTC+0200 Viktor Szakats * contrib/gtwvg/gtwvgd.c * contrib/gtwvg/wvgcore.c * contrib/gtwvg/wvgcuig.c * contrib/gtwvg/wvgutils.c * contrib/gtwvg/wvgwin.c * contrib/gtwvg/wvgwing.c * extras/gtwvw/gtwvwd.c * extras/gtwvw/wvwdraw.c * extras/gtwvw/wvwutils.c * src/rtl/gtwvt/gtwvt.c * deleted unnecessary parenthesis and some more * synced ???_DRAW*() function orders inside GTWVT and GTWVW sources 2014-08-12 17:51 UTC+0200 Viktor Szakats * contrib/gtwvg/wvgutils.c * extras/gtwvw/wvwutils.c ! WVT__MAKEDLGTEMPLATE(), WVW__MAKEDLGTEMPLATE() added limit checks to avoid writing past buffer + WVT__MAKEDLGTEMPLATE(), WVW__MAKEDLGTEMPLATE() changed to use hb_grabz() instead of LocalAlloc() 2014-08-12 15:47 UTC+0200 Viktor Szakats * extras/gtwvw/gtwvw.hbp * extras/gtwvw/gtwvw.hbx + extras/gtwvw/legacy.c * extras/gtwvw/draw.c -> extras/gtwvw/wvwdraw.c * extras/gtwvw/funcs.c -> extras/gtwvw/wvwutils.c * added WVW_ (or WIN_ [*]) prefix to all unprefixed function names. Old function names still work, but they are now simple wrappers, and they are all deprecated. Translation table is in source file 'legacy.c'. [*] WIN_ prefix for these three: WIN_CREATEFONT(), WIN_GETSYSCOLOR(), WIN_INVALIDATERECT() + WIN_INVALIDATERECT() extended with parameters implemented in INVALIDATERECT() (now deprecated) function * extras/gtwvw/tests/*.prg ! typo, warning fixes * RGB() -> WVW_RGB() * contrib/gtwvg/wvgutils.c * cleanup 2014-08-12 14:46 UTC+0200 Viktor Szakats * contrib/gtwvg/gtwvg.h * contrib/gtwvg/wvgutils.c * extras/gtwvw/funcs.c * extras/gtwvw/gtwvwd.c * extras/gtwvw/hbgtwvw.h % helper function made static * ChangeLog.txt + added another fundamental problem with GTWVW 2014-08-12 14:26 UTC+0200 Viktor Szakats * contrib/gtwvg/gtwvg.h * contrib/gtwvg/wvgutils.c ! WVT_CREATEDIALOGDYNAMIC() fixed passing a corrupted template when 3rd parameter is a numeric ! WVT__MAKEDLGTEMPLATE() fixed translation of strings from HVM CP to UNICODE * extras/gtwvw/funcs.c * extras/gtwvw/gtwvwd.c * extras/gtwvw/hbgtwvw.h + WVW__MAKEDLGTEMPLATE() UNICODE support + reenabled rewritten PackedDibLoad() code after finding and fixing the typo causing the crash (see 2014-08-09 23:18 UTC+0200) * type cleanups * src/rtl/gtwvt/gtwvt.c ! fixed -analyze warning in disabled non-UNICODE codepath 2014-08-12 11:44 UTC+0200 Viktor Szakats * contrib/gtwvg/wvgcore.c + FIXMEs added about iStream objects never released * extras/gtwvw/draw.c * extras/gtwvw/funcs.c * extras/gtwvw/gtwvwd.c * extras/gtwvw/hbgtwvw.h ! WVW_DRAWIMAGE_RESOURCE() fixed potential file handle leak ! WVW_DRAWIMAGE_RESOURCE() fixed freeing memory before releasing iStream ! WVW_DRAWIMAGE_RESOURCE() fixed potential NULL reference ! OPENIMAGE() fixed potential NULL references ! OPENIMAGE() reenabled OLE parts and heavily cleaned up (build tested only) * cleanups 2014-08-12 10:10 UTC+0200 Viktor Szakats * extras/gtwvw/gtwvw.hbp * disabled UNICODE for now * extras/gtwvw/editbox.c * extras/gtwvw/gtwvwd.c * extras/gtwvw/hbgtwvw.h * hb_wvw_key_ansi_to_oem() replaced with current GTWVT implementation * type cleanups * extras/gtwvw/tests/* + extras/gtwvw/tests/vr_1.ico * cleanups + added missing .ico * src/rtl/gtwvt/gtwvt.c * minor 2014-08-12 00:17 UTC+0200 Viktor Szakats * extras/gtwvw/* * type cleanups ! silenced an msvc warning 2014-08-11 23:15 UTC+0200 Viktor Szakats * extras/gtwvw/gtwvwd.c * extras/gtwvw/hbgtwvw.h * use more HB_SIZEOFARRAY() % deleted unused constant 2014-08-11 23:03 UTC+0200 Viktor Szakats * extras/gtwvw/funcs.c ! fixed minor regression 2014-08-11 22:59 UTC+0200 Viktor Szakats * extras/gtwvw/* ! added missing bounds checking * use more HB_SIZEOFARRAY() * cleanups 2014-08-11 20:48 UTC+0200 Viktor Szakats * extras/gtwvw/* + added UNICODE support where warnings were suppressed by casts * WIN_SENDMESSAGE(), WIN_SENDDLGITEMMESSAGE() heavily modified for UNICODE ; FIXME: fundamental problem with GTWVW is that the GT driver itself is lacking UNICODE support ; FIXME: another fundamental problem is that the legacy multi-window support is inferior to the Harbour core implementation with similar goal, plus that the GTWVW is not MT compatible ; FIXME: 3rd fundamental problem is that this code is yet another copy-paste job from GTWVG and GTWVT * extras/gtwvw/tests/* * cleanups 2014-08-11 19:49 UTC+0200 Viktor Szakats * extras/gtwvw/gtwvw.hbp * extras/gtwvw/scrollbr.c + extras/gtwvw/statbar.c * split off another component into separate source file * extras/gtwvw/tests/wvwtest9.prg * extras/gtwvw/gtwvwd.c * cleanups 2014-08-11 19:22 UTC+0200 Viktor Szakats * extras/gtwvw/* ! fixed remaining UNICODE problems causing C compiler warnings * uncrustified 2014-08-11 17:41 UTC+0200 Viktor Szakats * extras/gtwvw/* + more UNICODE support 2014-08-11 16:45 UTC+0200 Viktor Szakats * extras/gtwvw/* * extras/gtwvw/gtwvw.hbp + extras/gtwvw/clipbrd.prg + added UNICODE support + enabled UNICODE build mode * wvw_GetClipboard(), wvw_SetClipboard(), wvw_PasteFromClipboard() reimplemented in Harbour as wrappers. They might behave differently in some cases. * WVW_GETRGBCOLOR() now returns 0 instead of NIL on error * contrib/hbsqlit3/core.c * deleted commented hb_xmemset() call 2014-08-11 16:21 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) + contrib/hbcomio/hbcomio.hbx + added missing hbx file * package/harbour.spec ! fixed to not corrupt root filesystem during package build process. It was necessary to set HB_INSTALL_CONTRIB with package install prefix. (undocumented functionality) TODO: add single variable which can be used in such case for all HB_INSTALL_* variables. + added support for HBMK2 .hbc files for contrib libraries 2014-08-11 14:15 UTC+0200 Viktor Szakats * src/debug/dbghelp.prg ! formatting in latest merge 2014-08-11 14:09 UTC+0200 Viktor Szakats * src/debug/dbgentry.c * replaced hb_xgrab() + hb_xmemset() call pair with hb_xgrabz() This will result in the terrible performance penalty of an additional byte being filled with zero and the benefit of less convoluted code. 2014-08-11 13:54 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/debug/dbgbrwsr.prg ! fixed to not display last column out of browser area * src/debug/dbghelp.prg * src/debug/dbgmenu.prg * src/debug/debugger.prg * use strings to to locate help topics instead of hardcoded numeric offsets ! added support for topic specification in "HELP" command - Cl*pper compatibility ! allow to use FILE DOS (and F D shortcut) to activate OS Shell - Cl*pper compatibility * src/debug/dbgentry.c ! removed recent pseudo fix with memset() missing the last byte of allocated memory area since e59993bdb14fab12dcc3e1698c088e18f951d437. The original code was correct. In Harbour trailing 0 in all strings is set inside functions creating string items. * package/harbour.spec + added MXML library * package/mpkg_rpm.sh * respect HB_WITH_*=no and HB_WITH_*=local envvars 2014-08-11 11:19 UTC+0200 Viktor Szakats * extras/gtwvw/* * WVW_DLGSETICON() will now return 0 instead of NIL on failure [INCOMPATIBLE] ! made sure that parameters passed by ref are reset on failure (more) ! more 64-bit fixes ! fixed more msvc -analyze warnings (including a recent regression) ! always use WVW macros to get/return handle values 2014-08-11 10:50 UTC+0200 Viktor Szakats * extras/gtwvw/* % optimizations ! made sure that parameters passed by ref are reset on failure % better Extend API usage ! WVW_LOADPICTURE(), WVW_LOADFONT(), WVW_LOADPEN() fixed potential GPFs by adding parameter validation ! WIN_SENDMESSAGE(), WIN_SENDDLGITEMMESSAGE() fixed 64-bit problems 2014-08-11 07:54 UTC+0200 Viktor Szakats * extras/gtwvw/* * comment cleanup ! use hb_parnl() for HB_UINT 2014-08-11 01:07 UTC+0200 Viktor Szakats * extras/gtwvw/* * cleanups, optimizations, minor fixes * return value cleanup (might be incompatible in corner cases) % better use of Item API 2014-08-10 23:24 UTC+0200 Viktor Szakats * extras/gtwvw/* * variable renaming, standardization, unification, reduction etc + use Harbour types more 2014-08-10 21:34 UTC+0200 Viktor Szakats * extras/gtwvw/* % use more hb_parn*def() * use more Harbour types * comment cleanups * scoping 2014-08-10 20:12 UTC+0200 Viktor Szakats * extras/gtwvw/* * minor cleanups 2014-08-10 19:58 UTC+0200 Viktor Szakats * extras/gtwvw/* * another common variable rename 2014-08-10 19:52 UTC+0200 Viktor Szakats * extras/gtwvw/* % merged WVW_APP struct into WVW_GLOB * renamed var names referring to WVW_GLOB % use more hb_parn*def() * cleanups 2014-08-10 18:43 UTC+0200 Viktor Szakats * extras/gtwvw/gtwvwd.c * extras/gtwvw/hbgtwvw.h % moved some lone static vars into WVW_GLOB structure 2014-08-10 18:34 UTC+0200 Viktor Szakats * extras/gtwvw/* * WVW-specific data structures given names prefixed with WVW_ ! added missing static for s_pWvwData * deleted some inactive code 2014-08-10 17:22 UTC+0200 Viktor Szakats * extras/gtwvw/gtwvwd.c * extras/gtwvw/hbgtwvw.h * extras/gtwvw/menubar.c * formatting, cleanups, use HB_PATH_MAX - deleted DMC compiler support. If you need this, take the necessary hacks from GTWVG and make a Pull Request. 2014-08-10 17:07 UTC+0200 Viktor Szakats * extras/gtwvw/* * use more Harbour types * silenced warnings ! fix to prev commit 2014-08-10 13:49 UTC+0200 2014-08-10 15:20 UTC+0200 Viktor Szakats * src/rtl/langapi.c * attempt to silence msvc 2010 warning reported in https://github.com/vszakats/hb/issues/37 2014-08-10 13:49 UTC+0200 Viktor Szakats * contrib/gtwvg/wvgutils.c * contrib/hbfbird/firebird.c * contrib/hbfbird/tests/testapi.c * contrib/hbnf/fttext.c * contrib/hbwin/wapi_commctrl.c * contrib/hbwin/win_prn3.c * contrib/rddads/adsfunc.c * contrib/sddfb/core.c * deleted 'L' prefix from 0/1 literals * extras/gtwvw/*.c * cleanups, uncrustified 2014-08-10 09:50 UTC+0200 Viktor Szakats * extras/gtwvw/*.c * cleanups 2014-08-10 09:39 UTC+0200 Viktor Szakats * extras/gtwvw/* * cleanups 2014-08-10 03:53 UTC+0200 Viktor Szakats * extras/gtwvw/*.c * deleted unnecessary 'break;'s ! fixed C++ warnings and error with mingw ! fixed OLE calls to work like in GTWVG/HBWIN 2014-08-10 02:44 UTC+0200 Viktor Szakats * extras/gtwvw/*.c * cleanups 2014-08-10 02:28 UTC+0200 Viktor Szakats * extras/gtwvw/* * deleted unnecessary casts and parenthesis + UNICODE fixes/steps ! fixed remaining bcc warnings ! fixed some wrong casts * allow to be built in UNICODE mode * cleanups, reduction * contrib/gtwvg/wvgwin.c * contrib/gtwvg/wvgwing.c * formatting 2014-08-10 00:38 UTC+0200 Viktor Szakats * extras/gtwvw/* * extras/gtwvw/tests/*.prg * extras/gtwvw/tests/readme.txt * contrib/gtwvg/gtwgu.h * contrib/gtwvg/gtwvg.h * contrib/gtwvg/toolbar.prg * contrib/gtwvg/wvgwin.c * contrib/gtwvg/wvgwing.c * contrib/hbwin/wapi_commctrl.c * cleanups 2014-08-09 23:18 UTC+0200 Viktor Szakats * extras/gtwvw/checkbox.c * extras/gtwvw/funcs.c * extras/gtwvw/gtwvwd.c * extras/gtwvw/tests/wvwtest9.prg * cleanups ! PackedDibLoad() restored cleaned up version of the original. New Harbour FS API based version crashes. 2014-08-09 20:39 UTC+0200 Viktor Szakats - extras/gtwvw/tooltip.c * extras/gtwvw/gtwvw.hbp * deleted disabled (and non-compiling) code 2014-08-09 20:37 UTC+0200 Viktor Szakats * extras/gtwvw/*.c * extras/gtwvw/gtwvw.hbp * extras/gtwvw/hbgtwvw.h + extras/gtwvw/tooltip.c * heavier restructuring (regressions are possible) ! keep const attr of hb_parc*() value * split off (disabled) tooltop code 2014-08-09 19:27 UTC+0200 Viktor Szakats * extras/gtwvw/gtwvw.hbp * extras/gtwvw/wvwcheck.c -> extras/gtwvw/checkbox.c * extras/gtwvw/wvwedit.c -> extras/gtwvw/editbox.c * extras/gtwvw/wvwpush.c -> extras/gtwvw/pushbut.c * drop wvw prefix from filename 2014-08-09 19:25 UTC+0200 Viktor Szakats * extras/gtwvw/gtwvw.hbp * extras/gtwvw/wvwcheck.c * extras/gtwvw/wvwedit.c * extras/gtwvw/wvwpush.c + extras/gtwvw/combobox.c + extras/gtwvw/progrbar.c + extras/gtwvw/static.c * split off some components into separate sources 2014-08-09 19:20 UTC+0200 Viktor Szakats * extras/gtwvw/gtwvw.hbp * extras/gtwvw/wvwdraw.c -> extras/gtwvw/draw.c * extras/gtwvw/wvwfuncs.c -> extras/gtwvw/funcs.c * extras/gtwvw/wvwmenu.c -> extras/gtwvw/menubar.c * drop wvw prefix from filename 2014-08-09 19:18 UTC+0200 Viktor Szakats * extras/gtwvw/*.c * copyright cleanups * extras/gtwvw/gtwvw.hbp * extras/gtwvw/wvwstbar.c -> extras/gtwvw/scrollbr.c * extras/gtwvw/wvwtbar.c -> extras/gtwvw/toolbar.c * drop wvw prefix from filename 2014-08-09 19:14 UTC+0200 Viktor Szakats * extras/gtwvw/* ! fixed two warnings after latest changes 2014-08-09 19:11 UTC+0200 Viktor Szakats * extras/gtwvw/* * renamed wvw structure members to not have an 's_' prefix ! fixed code where it was assumed that hb_ret*() calls make the function return ! other minor fixes and cleanups 2014-08-09 18:25 UTC+0200 Viktor Szakats * extras/gtwvw/* * renamed public C functions to have a common prefix 2014-08-09 18:05 UTC+0200 Viktor Szakats * extras/gtwvw/gtwvwd.c + use more FS API 2014-08-09 17:47 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + show even without -info option if autodetected C compiler is skipped because Harbour libs are missing. * extras/gtwvw/* ! fixed for win/watcom ! fixed msvc -analyze warnings, some of the indicating real bugs ! fixed msvc64 warings + use Harbour FS API % header cleanup * cleanups, reduction, optimizations * contrib/gtwvg/gtwgu.h * contrib/gtwvg/gtwvg.h * contrib/gtwvg/wvtwin.ch * formatting 2014-08-09 13:36 UTC+0200 Viktor Szakats * extras/gtwvw/*.c * cleanups, reduction 2014-08-09 12:05 UTC+0200 Viktor Szakats - extras/gtwvw/hbole.h * extras/gtwvw/gtwvw.hbp * extras/gtwvw/gtwvw.hbx * extras/gtwvw/hbgtwvw.h * extras/gtwvw/*.c ! fixed Windows 64-bit warnings ! fixed remaining warnings % optimizations * cleanups + enabled C++ mode * hbole.h merged into hbgtwvw.h - deprecated WIN_MULDIV() with HB_LEGACY_LEVEL4. Use WAPI_MULDIV() from hbwin instead. * contrib/hbwin/hbwin.hbx * contrib/hbwin/wapi_winuser_dlg.c + added WAPI_GETDIALOGBASEUNITS() wrapper (from gtwvw) * extras/gfspell/gfspell.hbp * extras/gfspell/spell.prg ! fixed -w2/-w3 warnings + upped warning level 2014-08-09 01:11 UTC+0200 Viktor Szakats * extras/gtwvw/* % optimizations * cleanups 2014-08-09 00:54 UTC+0200 Viktor Szakats * extras/gtwvw/* + strcpy()/strcat()/sprintf() unsafe calls replaced with safe ones + eliminated more NIL checks * cleanups * contrib/hbwin/tests/oletst1.prg * cleanup 2014-08-08 21:14 UTC+0200 Viktor Szakats * contrib/hbwin/tests/olesrv1.prg * contrib/hbwin/tests/olesrv4.prg ! replaced deprecated function ! typo in comment ; fixes https://github.com/vszakats/hb/issues/36 2014-08-06 12:09 UTC+0200 Viktor Szakats * extras/gtwvw/*.c * cleanups 2014-08-06 11:59 UTC+0200 Viktor Szakats * extras/gtwvw/*.c + avoid HB_ISNIL(). It will mean stricter parameter checking in some places when passing non-accepted types. % optimizations, cleanups 2014-08-06 02:32 UTC+0200 Viktor Szakats * bin/commit.hb * contrib/hbcurl/tests/gmail.prg * README.md * utils/hbmk2/hbmk2.prg * cleanups 2014-08-06 01:06 UTC+0200 Viktor Szakats * ChangeLog.txt ! restored conflicting parts 2014-08-06 00:24 UTC+0200 Viktor Szakats * config/lang.hb + less hacky, more generic solution for HB_TRANSIFEX_RESOURCE, now named HB_TRANSIFEX_SLUG_MAP * utils/hbmk2/hbmk2.prg * minor cleanup 2014-08-05 21:33 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg * minor cleanup to latest merge 2014-08-05 20:08 UTC+0200 Viktor Szakats * config/lang.hb * curl debug option delete * contrib/hbrun/doc/*.md * utils/hbmk2/doc/*.md * utils/hbmk2/po/hbmk2.en.po * regenerated * utils/hbmk2/po/*.po * src/lang/l_sk.c * src/lang/l_tr.c * updated from Transifex 2014-08-05 19:56 UTC+0200 Viktor Szakats * src/debug/* + src/debug/en.txt * sync with https://github.com/vszakats/hb/tree/4d61fc5a25181f4f70abb8434a83697a068a43b0/src/debug * use DBS_* constants ! fixed to allow editing of CODEBLOCK types in hash/array/object elements as it was allowed in single variables ! fixed to detect all workareas not just the first arbitrary 512 ! fixed memset() missing the last byte of allocated memory area since e59993bdb14fab12dcc3e1698c088e18f951d437 + reworked help to store content in a text file out of the source code. It reduces binary size, makes translation possible, editing easier, source code leaner and easy to publish online. ! deleted help section explaining cld.exe * formatting, cleanups, optimization, translatability ; [vszakats] Pull of a sync pushed to upstream, effectively a noop 2014-08-05 16:29 UTC+0200 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_TimeOut( <pConnection> [, <nTimeOut>] ) -> [<nTimeOut>] Get/Set client side timeout for messages + inherit timeout used in socket connection and use it for farther message processing. Warning: incompatible, for slow connections or time consuming RPC functions people should set timeout using netio_TimeOut() function. In previous version timeout was set to -1 what means wait forever without any time limits or until connection is broken. 2014-08-05 13:29 UTC+0200 Viktor Szakats * config/lang.hb + spec mimetype on src_push + option to trace API call (HB_LANG_TRACE=yes) * CONTRIBUTING.md * README.md * links to new hbmk2 fork translation: https://www.transifex.com/projects/p/harbour/resource/hbmk2-vszakats/ * src/lang/*.c * metadata update 2014-08-05 12:19 UTC+0200 Viktor Szakats * config/lang.hb + allow to override Transifex project name with an envvar (hack) 2014-08-05 10:57 UTC+0200 Viktor Szakats * src/debug/dbgtobj.prg * src/debug/tbrwtext.prg ! formatting to prev merge 2014-08-05 03:30 UTC+0200 Viktor Szakats * src/debug/dbgbrwsr.prg ! typo in var name 2014-08-05 03:25 UTC+0200 Viktor Szakats * src/debug/*.prg * src/rdd/dbcmd53.c * src/rtl/valtoexp.prg * src/vm/fm.c ! fixed conflicts and manually reapplied some hunks after merging 2014-08-01 02:04 UTC+0200 * some cleanups, fixes and optimizations to upstream patch 2014-08-01 02:04 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * extras/gtwvw/gtwvwd.c ! fixed typo in WVW_SETICON() - thanks to Ash * src/rdd/dbcmd53.c ! typo in comment * src/rtl/dateshb.c % use hb_retclen() instead of hb_retc() when size is well known. * src/rtl/valtoexp.prg % use hb_defaultValue() * src/vm/estack.c * minor cleanup * src/vm/fm.c * modified a little bit HB_MEMINFO structure to force strict alignment + added debug code covered by HB_FM_FORCE_REALLOC macro which forces allocateing new block in each hb_xrealloc() call ! protect realloc() in HB_FM_STATISTIC by mutex, it fixes issue https://github.com/harbour/core/issues/77 * src/rtl/hbproces.c % unlock HVM waiting for process in OS2 builds ! build array of argument passed to process in hb_processRun() in parent process not forked one. It fixes possible deadlock in forked process because memory is allocated to create arguments array and in MT program memory managers may use mutexes internally which can be cloned to forked process in locked state. It fixes seldom and random HBMK2 freezing during compilation with -jobs=<n> parameter. * utils/hbmk2/hbmk2.prg ! fixed race condition in concurrent C compiler execution (-jobs=<n>) with script file * src/debug/dbgentry.c ! fixed crash when wrong expression is used as tracepoint ! fixed expression analyzer to correctly recognized extended strings e"..." * formatting * src/debug/dbgbrwsr.prg * src/debug/dbghelp.prg * src/debug/dbgtarr.prg * src/debug/dbgthsh.prg * src/debug/dbgtinp.prg * src/debug/dbgtmenu.prg * src/debug/dbgtobj.prg * src/debug/dbgtwin.prg * src/debug/dbgwa.prg * src/debug/debugger.prg * added calls to ::NotSupported() method for some still missing functionality ! do not use SetColor() but directly pass colors to used objects and functions ! do not use SetPos() and Row()/Col() for core functionality - it was source of few minor bugs % enable cursor only in input objects and disable it just after % eliminated code to save and restore cursor position and shape ! fixed initial positioning in help window + implemented HiLite() and DeHiLite() methods in HBDbBrowser() class ! fixed positioning when end of source data is reached in browser % eliminated some redundant or completely useless code and comments % use some fully functional HBDbBrowser() features instead of manual encoding similar functionality ! validate watchpoint and tracepoint expressions % use SWITCH statements ! fixed expression presentation (added __dbgValToExp() and __dbgValToStr()) ! fixed input for new expressions ! fixed browser scrolling in object inspector ! fixed inkey() processing inside debugger (ALT+D and ALT+C) ! fixed browsers highliting in WA inspector ! fixed hardcoded limit for 512 workareas in WA inspector ! fixed initial WA positioning in WA inspector * resized WA inspector window * many other minor fixes and improvements 2014-07-31 02:38 UTC+0200 Viktor Szakats * contrib/hbtip/ftpcli.prg * added comment with possible listing formats from libcurl https://github.com/curl/curl/blob/master/lib/ftplistparser.c * contrib/hbtip/mailassy.prg + detect an internal condition based on MIME-type rather than checking the extension * contrib/hbtip/mime.c * autodetect XML MIME-type as application/xml (was: text/xml) Both are valid, but this seems generally safer, because it's considered a binary e.g. by tip_MailAssemble() See: https://github.com/vszakats/hb/issues/32 Also see: 2013-08-22 16:06 UTC+0200 Viktor Szakats * README.md + linked CONTRIBUTING.md more 2014-07-31 00:48 UTC+0200 Viktor Szakats * contrib/hbblat/blatcls.prg * cleanup 2014-07-30 10:43 UTC+0200 Viktor Szakats * contrib/xhb/xhb.ch * contrib/xhb/xhb.hbx * contrib/xhb/xhbmisc.prg + xhb__Run(): added emulation of xhb's __Run() extension + added translation from __Run() to xhb__Run() when xhb.ch is #include-ed. Best practice is to use Harbour function hb_run() though. 2014-07-30 02:36 UTC+0200 Viktor Szakats * CONTRIBUTING.md ! minor 2014-07-30 02:23 UTC+0200 Viktor Szakats * src/vm/fm.c ! revert of commit 7349602fcbd9b336183d2fa355454c60cb2f91e1#diff-a0c79ea75e6fed6ae08fe9ffe63faa86 until a proper fix is developed Fixes https://github.com/vszakats/hb/issues/13 Fixes https://github.com/harbour/core/issues/77 2014-07-30 02:11 UTC+0200 Viktor Szakats * contrib/hbtip/mailassy.prg ! typo in prev 2014-07-30 02:08 UTC+0200 Viktor Szakats * contrib/hbtip/mailassy.prg ! TIP_MAILASSEMBLE() to only add 'x-unix-mode' attachment property if the _unix_ attribute value is non-zero (was: native OS attribute) 2014-07-30 01:57 UTC+0200 Viktor Szakats * contrib/hbtip/encqp.prg ! tip_QPEncode() fixed two issues where longer lines could be generated than the maximum in the QP specification See: https://github.com/vszakats/hb/issues/32 References: https://tools.ietf.org/html/rfc2045#page-19 https://en.wikipedia.org/wiki/Quoted-printable 2014-07-29 17:01 UTC+0200 Viktor Szakats * README.md * minor tweaks to intro section 2014-07-29 12:19 UTC+0200 Viktor Szakats * contrib/make.hb ! whitespace 2014-07-29 12:15 UTC+0200 Viktor Szakats * contrib/make.hb ! replaced previous attempts 01d8d47b801b742f0d6a9f153f950de2dfeada23 ea890acafb9a62a9f3c6d2236d0d3f0519813e39 c049bc5489ecd2808c08917e3de549114145684e to fix dependency path normalization 2014-07-29 11:49 UTC+0200 Viktor Szakats * src/vm/fm.c ! disabled fm stats accidentally enabled in 2014-07-28 21:56 UTC+0200 2014-07-29 01:27 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! fixed to build in HBMK_GENERIC (non-Harbour) mode * reworked the second fix of https://github.com/vszakats/hb/commit/05d760679e43bfec055eb68e626dbe978beee44a 2014-07-29 01:12 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! fixed another regression since https://github.com/vszakats/hb/commit/759ed84b28a92f9cb3b68fb012298944b078a848 when the autodetection process was looking for the wrong Harbour libs ! fixed a collateral bug which might have left CCPREFIX/CCSUFFIX wrongly set after skipping autodetected targets due to missing matching Harbour libs ; Should fix https://github.com/vszakats/hb/issues/31 please retest and confirm or resubmit 2014-07-29 00:47 UTC+0200 Viktor Szakats * contrib/hbfbird/tests/stress.prg * contrib/hbgd/gdbarcod.prg * contrib/hbmisc/numtxtru.prg * contrib/hbmysql/tests/dbf2mysq.prg * contrib/hbnf/miltime.prg * contrib/hbpgsql/tests/dbf2pg.prg * extras/hbxlsxml/xlsxml_y.prg * src/rdd/usrrdd/rdds/arrayrdd.prg * tests/big5_gen.prg * tests/codebl.prg * tests/rdd2.prg * tests/rddtest/*.prg * tests/uc16_gen.prg * tests/wvtext.prg * utils/hbmk2/hbmk2.prg * utils/hbtest/hbtest.prg * cleanups around '%' operator 2014-07-28 21:56 UTC+0200 Viktor Szakats * contrib/hbtip/ftpcli.prg ! reverted a faulty optimization in https://github.com/vszakats/hb/commit/ef050f77fde0d9604cae656afb21f2cee2306197 Fixes https://github.com/vszakats/hb/issues/30 * src/vm/fm.c * fmt 2014-07-28 12:42 UTC+0200 Viktor Szakats * config/wce/global.mk * utils/hbmk2/hbmk2.rc ! exclude harbour.ico for wce. (Vista .png icons are not supported) ; if you get "CVTRES : fatal error CVT1109: target machine "THUMB" requires "/WINDOWSCE"." you need a newer cvtres.exe that matches the version of link.exe. * utils/hbmk2/hbmk2.prg ! fixed poccarm/corelibc inclusion 2014-07-28 12:07 UTC+0200 Viktor Szakats * src/rtl/arc4.c % deleted process.h for non-*nix * src/rtl/hbzlib.c * name cleanup to prev 2014-07-28 01:31 UTC+0200 Viktor Szakats * contrib/make.hb ! added hack to fix not automatically building 3rd subprojects after https://github.com/vszakats/hb/commit/ea890acafb9a62a9f3c6d2236d0d3f0519813e39 * utils/hbmk2/hbmk2.prg ! fixed autodetection logic on windows for mscvarm ! fixed to include 'corelibc' library for mscvarm and poccarm * config/wce/msvcarm.mk * utils/hbmk2/hbmk2.prg % deleted unnecessary references to kernel32 lib under wce * contrib/hbcity/hbcity.hbp * contrib/hblzf/hblzf.hbp * contrib/hbmxml/hbmxml.hbp * contrib/hbscrypt/hbscrypt.hbp ! disabled for msvcarm * contrib/hbmzip/3rd/minizip/crypt.h * contrib/hbmzip/3rd/minizip/minizip.dif ! disabled call to time() for msvcarm (might be breaking/weakening the encryption feature) * contrib/hbmzip/3rd/minizip/minizip.hbp ! disabled 64-bit file access for wce * contrib/hbwin/olecore.c ! reverted commit f56d654c6340b2b19da0bd9698ae84a7f1cfe81a for msvcarm to make it compile * contrib/hbwin/wapi_winbase.c * contrib/hbwin/wapi_wingdi.c * contrib/hbwin/win_prn1.c ! do not call stubs from hbwince.c. They break contrib .dll creation on wce platform. * src/3rd/zlib/Makefile * src/rtl/hbzlib.c * src/rtl/hbzlibgz.c ! disabled gz*.c zlib parts that lost support for msvcarm in version 1.24 and up. It means HB_GZ*() .prg functions won't do anything with this combination. ! enabled Z_SOLO mode for msvcarm on zlib 1.24 and up, to make it build. + configure zlib memory allocation manually for mscvarm on zlib 1.24 and up because it is required with Z_SOLO build mode (build-tested only) * src/rtl/arc4.c ! do not #include "process.h" with msvcarm * comment added that "process.h" is not even needed for non-*nix platform TODO: delete these [DONE] * src/rtl/filesys.c ! hb_fsIsPipeOrSock() made a dummy on wce, because GetFileType() is not supported on this platform * src/rtl/gtwvt/gtwvt.c ! reverted 156bccb4617f02fe94abd5bea637f218468f11ae for wce to make it compile (LR_DEFAULTSIZE is the default on wce and cannot be explicitly enabled) 2014-07-27 11:05 UTC+0200 Viktor Szakats * contrib/hbct/*.c * contrib/hbnetio/netiosrv.c * contrib/hbnf/isprint.c * contrib/hbwin/win_prn1.c * contrib/rddads/adsfunc.c * contrib/xhb/bkgtsks.c * src/pp/pplib.c * src/rdd/dbcmd.c * src/rtl/fssize.c * src/rtl/hbregex.c * src/rtl/mlcfunc.c * src/vm/fm.c * src/vm/memvars.c * minor cleanups and optimizations 2014-07-26 13:11 UTC+0200 Viktor Szakats * contrib/hbct/screen2.c ! CLEARSLOW() fixed to return empty string + Unicode TODOs added * minor cleanups * contrib/hbnf/savearr.prg ! fixed max string size to 0x7fffffff * limit arrays the same (though AEval() accepts unsigned max index yet) * contrib/hbnf/dispc.c * contrib/hbnf/nwsem.c * contrib/hbnf/page.c * cleanups * src/rtl/cdpdet.prg ! fixed warning when built for dos/os2 2014-07-26 03:12 UTC+0200 Viktor Szakats * contrib/hbnf/savearr.prg % optimizations ! ft_SaveArr() fixed to not produce unreadable output with very large arrays and strings 2014-07-26 02:41 UTC+0200 Viktor Szakats * contrib/hbct/print.c * contrib/hbct/video.c + PRINTSEND(), CHARPIX(), VGAPALETTE(), VIDEOTYPE() upgraded DJGPP specific code to support all MS-DOS compilers * contrib/hbnf/nwsem.c % minor cleanup 2014-07-26 01:50 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! fixed not accepting a valid compiler target in some autodetection scenarios * contrib/hbnf/hbnf.hbp * contrib/hbnf/nwsem.prg -> contrib/hbnf/nwsem.c * contrib/hbnf/scancode.prg -> contrib/hbnf/scancode.c + rewritten .prg code using ft_int86() (and related functions) to C * contrib/hbnf/nwlstat.c ! compile error under MS-DOS (typo) - contrib/hbnf/cint86.c * contrib/hbnf/hbnf.hbp * contrib/hbnf/ftint86.ch % deleted FT_INT86() function which did nothing % deleted related constants * contrib/hbnf/hbnf.hbp * contrib/hbnf/hex2dec.prg -> contrib/hbnf/hex2dec.c * use HB_FUNC_TRANSLATE() * contrib/hbnf/*.prg * comment cleanups, formatting % two minor opts 2014-07-25 21:19 UTC+0200 Viktor Szakats * contrib/hbnf/*.prg * comment cleaups 2014-07-25 20:14 UTC+0200 Viktor Szakats * contrib/hbnf/*.prg * comment cleaups ! ft_Calendar() fixed calculating leap years 2014-07-25 19:31 UTC+0200 Viktor Szakats * contrib/hbnf/nwsem.prg * contrib/hbnf/pending.prg * contrib/hbnf/rand1.prg * contrib/hbnf/tests/pending.prg * cleanups ! disabled some more inactive code depending on ftint86.ch 2014-07-25 18:37 UTC+0200 Viktor Szakats * contrib/hbnf/* * headers compressed a bit 2014-07-25 18:24 UTC+0200 Viktor Szakats * contrib/hbnf/isshare.c * contrib/hbnf/mouse.c * contrib/hbnf/video1.c * full Harbour license text replaced with reference to COPYING.txt (Przemek, Luiz if you don't like this, pls tell and I'll restore, though best would be to release this small amount of code to public domain like the rest of the library is) * contrib/hbnf/nwsem.prg * contrib/hbnf/nwuid.prg * contrib/hbnf/scancode.prg * do not use ftint86.ch and ft_int86() call * contrib/hbnf/stod.c * replaced outdated local implementation with HB_FUNC_TRANSLATE() * contrib/hbnf/dhkey.h * contrib/hbnf/ftint86.ch * contrib/hbnf/ftmenuto.ch * contrib/hbnf/tests/menuto.prg * cleanups * COPYING.txt * debian/copyright * indicated that default license applies to contrib/extras dirs too 2014-07-25 17:00 UTC+0200 Viktor Szakats * contrib/hbnf/hbnf.hbp * contrib/hbnf/hbnf.hbx - contrib/hbnf/dosver.c + contrib/hbnf/dosver.prg * contrib/hbnf/support.c -> contrib/hbnf/nwlstat.c - contrib/hbnf/nwlstat.prg + FT_DOSVER() rewritten in Harbour + FT_NWLSTAT() merged with its internal worker function % _FT_TEMPFIL() unused internal function deleted * contrib/hbnf/dispc.c * contrib/hbnf/fttext.c * contrib/hbnf/vidmode.c * contrib/hbnf/ntow.prg * contrib/hbnf/pchr.prg * cleanups * contrib/hboslib/core.prg + OL_IsOS2() now works on all platforms (TODO completed) * contrib/hbnf/page.c % deleted permanently disabled code sections * contrib/hbnf/descendn.c % use hb_itemReturnRelease() * use NULL * contrib/hbtip/tests/ftp_adv.prg * try DELE command only if the URL contains a file component * utils/hbmk2/hbmk2.prg % minor opt 2014-07-24 13:41 UTC+0200 Viktor Szakats * contrib/hbnf/ntow.prg % and some more 2014-07-24 13:37 UTC+0200 Viktor Szakats * contrib/hbnf/ntow.prg % optimizations 2014-07-24 13:30 UTC+0200 Viktor Szakats * contrib/hbnf/ntow.prg ! two fixes to prev 2014-07-24 13:15 UTC+0200 Viktor Szakats * contrib/hbnf/ntow.prg ! FT_NTOW() fixed original bug missing space separator between certain words ! FT_NTOW() fixed to use '-' instead of space separator between certain words % minor cleanup ; e.g. try 14234325, 100234325, 100230003 2014-07-24 01:46 UTC+0200 Viktor Szakats * contrib/hbnf/popadder.prg * contrib/hbnf/clrsel.prg % cleanups and optimizations. Minus 2 kB of source (from popupadder). 2014-07-23 23:29 UTC+0200 Viktor Szakats * contrib/hbct/ctc.c * contrib/hbct/ctstrfil.c + SETFCREATE(), CSETSAFETY(), CSETARGERR() settings are now per-thread ; With this, hbct doesn't use any more global (= non-per-thread) internal data. Except KXLAT translation table, which is explicitly designed so. IOW now hbct is completely reentrant. * contrib/hbct/cterror.ch % deleted unused CTINIT/CTEXIT error codes * contrib/hbct/doc/en/token2.txt * updated after previous change 2014-07-23 22:58 UTC+0200 Viktor Szakats * contrib/hbct/hbct.hbp * contrib/hbct/hbct.hbx - contrib/hbct/ct.prg * contrib/hbct/ctc.c * contrib/hbct/ctmath.c * contrib/hbct/ctmath.h * contrib/hbct/ctstr.c * contrib/hbct/ctstr.h * contrib/hbct/readme.txt - contrib/hbct/doc/en/ct.txt * contrib/hbct/doc/en/ctc.txt * contrib/hbct/tests/*.prg % deleted semi-manual, non-MT compatible library initialization/deinitialization In practice it means that CTINIT()/CTEXIT() functions (and internal CTCINIT()/CTCEXIT() functions) are now dummy functions and deprecated with HB_LEGACY_LEVEL5, meaning you can safely remove those calls from your application. After latest MT-related changes, this old initialization logic lost all of its functions. C-level internal functions ct_[math|str]_[init|exit]() functions were dummies by now and got deleted. ; With this change hbct is now fully MT-ready 2014-07-23 15:05 UTC+0200 Viktor Szakats * contrib/hbct/token2.c + added MT support to token API * package/winuni/RELNOTES.txt * minor 2014-07-23 11:52 UTC+0200 Viktor Szakats * package/winuni/RELNOTES.txt * bumped mingw and libcurl versions * simplifications 2014-07-23 03:09 UTC+0200 Viktor Szakats * contrib/hbnf/hbnf.hbx * contrib/hbnf/*.c * contrib/hbnf/pegs.prg * contrib/hbnf/vidcur.prg * contrib/hbnf/doc/en/*.txt ! fixed casing of two function names * minor cleanups, var scoping 2014-07-23 01:49 UTC+0200 Viktor Szakats * contrib/hbnf/* * contrib/hbnf/tests/dfile.prg * cleanups, variable scoping, comment cleanup (shaving off 2-3 kB of source) + own code rereleased under public domain (shaving off another 27 kB) * README.md * minor 2014-07-22 23:50 UTC+0200 Viktor Szakats * contrib/hbnf/ntow.prg ! FT_NTOW() fixed to return empty string instead of RTE for negative values * contrib/hbnf/tests/*.prg ! fall back to default demo command-line arguments instead of RTE * README.md % deleted actual Linux package management commands, all is explained on the included link * better HB_COMPILER_VER examples 2014-07-22 20:42 UTC+0200 Viktor Szakats * contrib/hbct/numcount.c * contrib/hbct/ctmath.c + NUMCOUNT() counter is now per-thread + SETPREC(), GETPREC() value is now per-thread * contrib/hbct/hbct.hbx * contrib/hbct/ctmisc.prg * contrib/hbct/dummy.c * contrib/hbct/misc4.c + ISMATH(), ISCGA(), ISEGA(), ISMCGA(), ISPGA(), ISHERCULES(), ISMONO(), ISVGA() CGA40(), CGA80(), EGA43(), VGA28(), VGA50(), DISKTOTAL(), DISKFREE() functions implemented * contrib/hbct/hbct.hbp - contrib/hbct/ctset.c % deleted empty source * contrib/hbct/ctmath2.c % cleanups * contrib/hbct/ctnet.c * formatting 2014-07-22 10:46 UTC+0200 Viktor Szakats * win-make.exe * updated from latest mingw build * src/pp/ppcore.c ! typo in comment * src/rtl/checkbox.prg * src/rtl/listbox.prg * minor cleanups 2014-07-22 00:35 UTC+0200 Viktor Szakats * extras/gtwvw/wvwstbar.c * src/rtl/gtwvt/gtwvt.c * deleted casts from NULL values * replaced NULLs with 0 where applicable 2014-07-22 00:25 UTC+0200 Viktor Szakats * contrib/gtwvg/*.c * contrib/hbmysql/mysql.c * contrib/hbodbc/odbc.c * contrib/hbwin/*.c * contrib/xhb/hboutdbg.c * extras/gtwvw/*.c * src/common/hbver.c * src/rtl/gtsln/gtsln.c * deleted casts from NULL values * replaced NULLs with 0 where applicable ! WVW_NOPENWINDOW() fixed a possible uninitialized pointer 2014-07-21 19:34 UTC+0200 Viktor Szakats * contrib/hbwin/win_prn2.c ! fixed a win64 warning * contrib/hbwin/wapi_winuser.c * internal type cleanups * var name cleanups 2014-07-21 19:20 UTC+0200 Viktor Szakats * contrib/hbpost.hbm + enable -static-libgcc for mingw 4.8 and upper. ; to avoid contrib .dlls depending on libgcc_s_sjlj-1.dll * contrib/hbwin/win_prn2.c ! Reverted 7d36e41dd39b77f81de4ec1dfe3cfc820a28b0c9 Fixes https://github.com/vszakats/hb/issues/28 (Thanks for report(s)) Unfortunately it reintroduces 3 msvc -analyze warnings, which now appear impossible to suppress because those Windows API calls are designed to fail to retrieve required buffer sizes. So for now let's consider them msvc bugs. ! WIN_PRINTERGETDEFAULT(): fixed the same error that existed since long in a rarely if ever used Win9x code branch * some variables renamed to use unified names accross this source file * contrib/hbpgsql/tests/cache.prg * extras/gtwvw/tests/ebtest7.prg * extras/hbdoc/hbdoc.prg * src/rtl/teditor.prg * src/rtl/tgetlist.prg * tests/clipper.ch * formatting and cleanups 2014-07-21 08:56 UTC+0200 Viktor Szakats * src/rtl/listbox.prg ! ListBox():findData(): fixed to be able to search for non-string data, to the same extent Cl*ipper is able to. ! ListBox():findData(): fixed exact/case-insensitive regression from 6f8508ff54a3955822b36bf4a65a2775a11bab23 * config/win/mingw.mk + enable -static-libgcc for mingw 4.8 and upper. This way harbour dll won't depend on libgcc_s_sjlj-1.dll * package/mpkg_win_nightly.bat + HB_CPU=x86 * package/winuni/RELNOTES.txt ! minor * src/rtl/tlabel.prg * utils/hbmk2/hbmk2.prg % minor optimizations * src/rdd/usrrdd/rdds/arrayrdd.prg % use HB_ISSTRING() * src/rtl/gete.c * src/rtl/philes53.c ! added missing HB_CLP_UNDOC guard for GETE() and FSETDEVMOD() * tests/clipper.ch + added more translations * tests/gtchars.prg * tests/tb1.prg * use hb_DispOutAt(), hb_DispBox() 2014-07-21 03:51 UTC+0200 Viktor Szakats * src/rtl/cdpdet.prg % minor optimization * contrib/xhb/tests/decode.prg * contrib/xhb/tests/hbmk.hbm + converted to regression test 2014-07-21 03:26 UTC+0200 Viktor Szakats * src/rtl/listbox.prg + LISTBOX object instance area made compatible with Cl*pper (relevant when object is accessed as array) * contrib/hbnf/tests/tbwhile.prg ! typo in prev 2014-07-21 02:26 UTC+0200 Viktor Szakats * contrib/hbmisc/hbedit.prg * contrib/hbnetio/utils/hbnetio/hbnetio.prg * contrib/hbnf/findith.prg * contrib/hbtip/*.prg * contrib/xhb/hbcompat.ch * contrib/xhb/tedit.prg * contrib/xhb/xhbtedit.prg * extras/httpsrv/_cgifunc.prg * src/rdd/dbtotal.prg * utils/hbmk2/hbmk2.prg % use more hb_defaultValue() ; HB_ISLOGICAL( l ) .AND. ! l => ! hb_defaultValue( l, .T. ) HB_ISLOGICAL( l ) .AND. l => hb_defaultValue( l, .F. ) ! HB_ISLOGICAL( l ) .OR. ! l => ! hb_defaultValue( l, .F. ) ! HB_ISLOGICAL( l ) .OR. l => hb_defaultValue( l, .T. ) * contrib/hbnf/doc/en/findith.txt ! fixed typo in documentation 2014-07-21 01:20 UTC+0200 Viktor Szakats * src/rtl/listbox.prg * renamed variable and macro to reflect their type + ListBox():findData(): documented potential RTE * src/rtl/listbox.prg * src/rtl/tmenusys.prg % use hb_defaultValue() 2014-07-21 01:04 UTC+0200 Viktor Szakats * src/rtl/listbox.prg % ListBox():findText(), ListBox():findData(): use hb_LeftEq[I]() ! ListBox():findText(), ListBox():findData(): fixed to not RTrim() while searching in EXACT mode. Regression from f61409bf19731c8485aa29bae273cae090c77502 + ListBox():findText(), ListBox():findData(): allow to search for any type of data in HB_CLP_STRICT mode to mimic Cl*pper behavior ! ListBox():findText(): fixed to allow zero length search text, like Cl*pper. Regression from 93d3a46d843daaf6d08149d83fa5203ff910c484 ! ListBox():addItem( cText, cData ): fixed to allow any type for cData, not just NIL and string, like Cl*pper + ListBox():setData(): documented a Cl*pper bug * contrib/hbnf/tests/tbwhile.prg + use hb_LeftEq() * tests/rddtest/rddtst.prg + hb_LeftEq() as comment ! formatting - package/winuni/HARBOUR_README_MINGW64.txt * package/winuni/mpkg_win_uni.bat * package/winuni/mpkg_win_uni.nsi * package/winuni/RELNOTES.txt - deleted references to separate mingw x64 build. It is integrated into the mainline mingw lately (dual-build). * package/winuni/RELNOTES.txt + updated for dual-mode mingw * deleted references to WinCE, msvc + use ANSI dates * package/winuni/HARBOUR_README_MINGWARM.txt * wording 2014-07-20 16:01 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! reverted hunk https://github.com/vszakats/hb/commit/f1170581a0b1aa5dbf2ea0ea1315620b088bc685#diff-d8a74b6399f924fb68cd8f5894ebbbb3L10312 * contrib/hbfimage/tests/test.prg * contrib/xhb/tests/*.prg * cleanups 2014-07-19 15:02 UTC+0200 Viktor Szakats * config/global.mk * utils/hbmk2/hbmk2.prg + allow to choose between x86 and x86_64 targets when using dual-target mingw distros, by setting the HB_CPU envvar (or using -cpu= hbmk2 option) It allows to use compiler autodetection with these dual versions, even if the intended target platform differs from the default target (the host platform) of the compiler (e.g. using the 64-bit hosted build to create x86 apps, where instead of "HB_COMPILER=mingw" + "HB_COMPILER_VER=0409" now it's enough to set "HB_CPU=x86") [EXPERIMENTAL] 2014-07-19 12:34 UTC+0200 Viktor Szakats * .travis.yml * update pkg database before install * continue if a pkg fails to install * utils/hbmk2/hbmk2.prg % deleted HB_LEGACY_LEVEL4 parts no longer needed after https://sourceforge.net/p/qtcontribs/code/315/ * minor code cleanup 2014-07-19 11:54 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg % Levenshtein(): optimizations * minor related cleanups 2014-07-19 02:52 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + detect possibly mistyped function names for missing externals, based on Levenshtein distance [EXPERIMENTAL] E.g.: --- hbmk2: Hint: Add option 'hbnf.hbc' for missing Harbour function(s): ft_MGetX() hbmk2: Hint: Correct possibly mistyped function name(s): FTMGETX() -> ft_MGetX() --- * README.md + added Italian forum * doc/cmdline.txt * doc/en/set.txt * path examples updated * contrib/hbfbird/firebird.c * contrib/sddfb/core.c % deleted drive letters 2014-07-19 01:27 UTC+0200 Viktor Szakats * README.md + added links to community forums where one can reach conversations about the various Harbours 2014-07-18 23:48 UTC+0200 Viktor Szakats * contrib/xhb/tests/*.prg * cleanups 2014-07-18 23:28 UTC+0200 Viktor Szakats * contrib/xhb/txml.prg ! fixed a regression caused by rushed optimization 290b2929e300302b620c3a9207c02b9b311b5dab Fixes https://github.com/vszakats/hb/issues/26 * ChangeLog.txt * updated all #nn format Issue references to full URLs to make it clear which Issue database they exactly refer to (upstream or fork). (and also in the theoretical future when the codebase is moved to different version control server) From now on I'll stick to that in commit messages, and suggest the same for upstream commits. * README.md * wording 2014-07-18 14:04 UTC+0200 Viktor Szakats * config/global.mk + msvc version detection for newer msvcarm versions * contrib/hbtip/tests/http_cli.prg * contrib/hbtip/tests/http_qry.prg * degooglify * CONTRIBUTING.md * links to line-numbers updated to point to specific revisions (there is not much point in linking to line numbers unless talking about a specific revision) * extras/gtwvw/gtwvwd.c ! fixed another typo that may have caused a GPF see: https://groups.google.com/d/msg/harbour-users/2y_YWCe75Sk/p3BUiFH9tM0J * contrib/xhb/hbstruct.ch * contrib/xhb/xcstr.prg * doc/en/hashes.txt * use { => } instead of hb_Hash() + added { => } to the hb_Hash() documentation * README.md * updated msvc links * src/compiler/hbusage.c * comment cleanup 2014-07-17 11:17 UTC+0200 Viktor Szakats * contrib/gtwvg/*.prg * use the same METHOD declaration syntax accross its sources % use hb_StrReplace() % WvgSLE:returnPressed() cleanup/opt * cleanups 2014-07-17 09:46 UTC+0200 Viktor Szakats * src/rdd/Makefile * src/rtl/Makefile ! fixed five years old bug (70ee5f4d6065c95ab5cda76a412645f15ba90362) causing __PLATFORM* (and friends macros) to be wrongly defined in cross-builds. Caused an actual bug since 256803e47a8d036a373194093b7a7d2ac1899396 when src/rtl/cdpdet.prg was introduced as the first core .prg that relies on above macros. 2014-07-17 02:06 UTC+0200 Viktor Szakats * doc/en/1stread.txt ! typos * deleted direct link to FAQ * doc/en/1stread.txt * package/harbour-wce.spec.in * package/harbour-win.spec.in * package/harbour.rb * package/harbour.spec * package/mpkg_win.nsi * package/winuni/mpkg_win_uni.nsi * src/compiler/hbusage.c * src/pp/hbpp.c * src/rtl/version.c * replaced links to mainstream Harbour with links to the fork project page * src/pp/hbpp.1 * deleted link to homepage 2014-07-17 01:46 UTC+0200 Viktor Szakats * README.md + added homepage * src/compiler/hbusage.c % deleted duplicate link from credit page * src/main/harbour.1 * point to 'harbour -credits' for authors 2014-07-17 01:16 UTC+0200 Viktor Szakats * include/hbexprb.c * added NULL checks to silence msvc sanitize warnings * src/rtl/filesys.c ! silenced an msvc sanitize warning by extending the WinAPI result check 2014-07-17 00:45 UTC+0200 Viktor Szakats * contrib/gtwvg/wvgcore.c * contrib/gtwvg/wvgwin.c ! obtain string lengths from HB_PARSTR*() instead of calling lstrlen() 2014-07-17 00:40 UTC+0200 Viktor Szakats * contrib/gtwvg/*.c * var scoping, comment and other cleanups 2014-07-16 23:11 UTC+0200 Viktor Szakats * src/rtl/cdpdet.prg + recognize cp950 and gbk on windows + recognize much more CPs on *nix, code also optimized * src/rtl/hbcom.c ! fixed to build with linux/watcom after 74f298f8ec3a69f2dbae9e3f0f03fe8555525569 * src/rtl/hbsocket.c * workaround for linux/watcom 1.9 bug after 3134021021066452b9328fec4fdc76b35ca48e34 [ __WATCOMC__ is 2000 in 2.0, 1290 in 1.9 ] 2014-07-16 21:43 UTC+0200 Viktor Szakats * contrib/make.hb ! fixed dependency detection to feed correct data into tree sorting. Components were built in the wrong order when doing stdalone build for projects having subprojects (hbnetio, hbformat). UPDATE: stdalone builds had broken dependency detection in all projects 2014-07-16 17:37 UTC+0200 Viktor Szakats * contrib/gtwvg/*.c ! WVT_CREATEDIALOGMODAL() fixed potential NULL ptr dereference ! WVG_GETMESSAGETEXT() use heap instead of stack for large mem allocation, also initialize the buffer to be on the safe side. ! WVT_SETBRUSH() fixed to exit the function if the 1st param is not a number ! silenced various msvc sanitize warnings (only one left) % variable scoping % deleted some double initializations (POINT/RECT/GRECT) and some minor opts * contrib/hbct/charlist.c ! CHARNOLIST() fixed unitialized counter array * contrib/hbct/ctwin.c ! silenced an msvc sanitize warning in internal hb_ctw_ChangeWindowHandle() * contrib/hbwin/win_prn2.c * src/rtl/gtwin/gtwin.c ! fixed msvc sanitize warnings * src/rdd/hsx/hsx.c * silenced msvc sanitize warning 2014-07-16 13:27 UTC+0200 Viktor Szakats * src/rtl/gtcgi/gtcgi.c ! minor correction to Console CP deinit ! added missing Ctrl handler removal on deinit * utils/hbmk2/hbmk2.prg * recenly added regexp enclosed in R_() 2014-07-16 03:25 UTC+0200 Viktor Szakats * README.md * config/global.mk * config/cygwin/gcc.mk * config/wce/mingwarm.mk * config/win/mingw.mk * utils/hbmk2/hbmk2.prg * changed mingw HB_COMPILER_VER/${hb_comp_ver} version value to be in sync with msvc format and to get prepared for gcc 4.10.0 Old format: mingw: 48 msvc: 1800 New format: mingw: 0408 msvc: 1800 If you had manually set HB_COMPILER_VER for mingw, update it to the new format. hbmk2 will accept old format ('49') and automatically convert it to new format ('0409'), while showing a warning. GNU Make system will _silently ignore_ the old format. Please note that the best is to rely on autodetection and not to manually set either HB_COMPILER or HB_COMPILER_VER. You'll also need to update your .hbp/hbc files in the unlikely event you use the ${hb_comp_ver} macro in them, to compare it against the new values. [INCOMPATIBLE] [TRANSLATION] 2014-07-16 02:43 UTC+0200 Viktor Szakats * config/global.mk * utils/hbmk2/hbmk2.prg + replaced dirname based msvc version autodetection to use the output of cl.exe Implements https://github.com/vszakats/hb/issues/25 * src/rtl/gtcgi/gtcgi.c ! blind attempt to fix console CP left as UTF8 when abnormally terminating an app with Ctrl+C See https://github.com/vszakats/hb/issues/24 [CONFIRMED] * contrib/hbtip/ftpcli.prg * extras/httpsrv/_cgifunc.prg * tests/wcecon.prg % more optimal filename manipulation * config/win/msvc.mk * config/cygwin/gcc.mk * minor * src/rtl/gtwin/gtwin.c ! typo in comment 2014-07-15 23:04 UTC+0200 Viktor Szakats * bin/3rdpatch.hb ! fixed infinite loop due to 1b5142c162463dc7abed564c30f09146e74d9ab7 * bin/3rdpatch.hb * contrib/hbfbird/tests/*.prg * contrib/hbtip/thtml.prg * contrib/hbwin/tests/pdfcreat.prg * extras/gtwvw/tests/wvwtest9.prg * extras/hbdoc/hbdoc.prg * extras/httpsrv/modules/*.prg * extras/httpsrv/uhttpd.prg % use hb_cwd(), hb_FName*(), hb_DirSep*() (also fixes potential portability issues) * cleanups/opts 2014-07-15 20:42 UTC+0200 Viktor Szakats * contrib/hbtip/mime.c * contrib/xhb/dbf2txt.c * contrib/xhb/freadlin.c * contrib/xhb/hbxml.c * src/rtl/philes.c ! fixed to use hb_numToHandle() macro to receive file handles from Harbour code * minor cleanups 2014-07-15 20:28 UTC+0200 Viktor Szakats * extras/gtwvw/gtwvwd.c ! fixed typo in param number see: https://groups.google.com/d/msg/harbour-users/2y_YWCe75Sk/zO-n0rU-8UMJ * extras/gtwvw/hbgtwvw.h * cleanup 2014-07-15 19:32 UTC+0200 Viktor Szakats * src/vm/Makefile + src/vm/short.c + __CLASSINS(), __CLASSNAM() added as 10 char long aliases for some undocumented Cl*pper calls 2014-07-15 19:02 UTC+0200 Viktor Szakats * contrib/hbtip/mime.c + tip_*MimeType(): added second, string parameter to specify the MIME-type to return instead of "unknown" when the filename/content is not recognized. + low-level logic changed to use hb_fsFNameSplit() instead of locally implemented filename parsing logic * added TODOs and FIXMEs * contrib/hbhttpd/core.prg * contrib/hbtip/mail.prg * contrib/hbtip/mailassy.prg * extras/httpsrv/uhttpd.prg + use new second parameter of tip_*MimeType() functions + TIPMail():attachFile(): use hb_FNameNameExt() instead of locally implemented filename parsing logic * contrib/hbtip/tests/hbmk.hbm * contrib/hbtip/tests/mimetype.prg + contrib/hbtip/tests/test.prg + more MIME tests 2014-07-15 17:35 UTC+0200 Viktor Szakats * CONTRIBUTING.md * another attempt 2014-07-15 17:34 UTC+0200 Viktor Szakats * config/win/mingw.mk * config/win/msvc.mk * version value example * CONTRIBUTING.md * minor 2014-07-15 17:30 UTC+0200 Viktor Szakats * CONTRIBUTING.md * updated (about private messages, donators, how to report multiple issues, deleted reference to nightly/official, text adapted to apply for GitHub Issue reports, running examples as scripts and what encoding to use and how) * config/win/mingw.mk * config/win/msvc.mk * minor tweak to a warning message 2014-07-15 13:29 UTC+0200 Viktor Szakats * contrib/hbhttpd/core.prg * contrib/hbhttpd/hbhttpd.hbc * use tip_FileNameMimeType() for MIME-type detection * added hbtip to the dependency list + contrib/hbtip/misc.c * contrib/hbtip/utils.c -> contrib/hbtip/mime.c * contrib/hbtip/hbtip.hbp * MIME-type related and misc functions separate into two files ! some MIME-types corrected (partly to sync up with hbhttpd code) * src/rtl/gtcgi/gtcgi.c * turn on Windows UTF8 mode only on Vista and newer version as a workaround for reported bugs on XP: https://github.com/tajtiattila/test/tree/master/consoletest.go more on the elegance of UTF8 console support on Windows in general: https://bugs.python.org/issue1602 * contrib/hbct/tests/*.prg * contrib/hbhttpd/*.prg * contrib/hbnf/*.c * contrib/hbtip/ftpcli.prg * extras/hbdoc/hbdoc.prg * extras/hbvpdf/core.prg * src/rdd/dbcmd53.c * src/rtl/hbgtcore.c * cleanups % use StrZero() instead of PadL( , , "0" ) 2014-07-15 00:33 UTC+0200 Viktor Szakats * src/debug/debugger.prg * src/rdd/dblist.prg * src/rdd/hbsix/sxini.prg % use hb_FNameExtSet*() * src/rdd/hbsix/sxcompat.prg + sxChar(), sxDate(): datetime support * cleanups, formatting * contrib/hbnetio/utils/hbnetio/netiomgm.hb * extras/hbdoc/hbdoc.prg * src/rtl/memvarhb.prg * src/rtl/typefile.prg % use hb_defaultValue() in a less obvious case * src/debug/en.txt ! deleted section explaining cld.exe * extras/hbxlsxml/xlsxml_y.prg * extras/httpsrv/modules/tableservletdb.prg + check for type instead of NIL * extras/hbdoc/hbdoc.prg % missing STATICs for FUNC/PROC * src/rdd/hbsix/sxtrig.prg + added comment * contrib/hbgs/core.c * contrib/hbmisc/dates.c * contrib/hbnf/* * extras/hbdoc/*.prg * extras/gtwvw/tests/*.prg * extras/gtwvw/wvt2wvw.ch * src/rtl/menuto.prg * src/rtl/tgetlist.prg * cleanups/formatting * drop NILs when passed as parameters 2014-07-14 01:45 UTC+0200 Viktor Szakats * contrib/hbnf/*.prg * contrib/hbnf/tests/*.prg * contrib/hbnf/doc/en/tbwhile.txt * cleanups and minor optimizations 2014-07-13 15:45 UTC+0200 Viktor Szakats * include/harbour.hbx * src/rtl/datec.c + added hb_CDay( <nDow> ) -> <cDay> returns the day as a string input is a number between 1 and 7 (inclusive) * contrib/hbnf/*.prg % reduced overall .prg source size by another ~10 kB ! ft_TempFil() to honor _SET_TRIMFILENAME ! ft_SaveArr() fixed for UTF8 string values ! ft_Adder() fixed typo on help screen ! ft_Menu1() fixed RTE when first character of menu item was not in English alphabet, plus Unicode updates ! ft_DispMsg() fixed (I hope) to be case-insensitive when accepting a single key [INCOMPATIBLE] ! ft_DispMsg() Unicode fixes when accepting keys + ft_PickDay() will now display national day names according to hb_langSelect() [INCOMPATIBLE] % use hb_default() for internal functions and where the default value is Date() % use more hb_defaultValue(), use hb_FReadLen(), Stuff(), hb_StrReplace(), SWITCH % minor optimizations % cleaned unused code * formatting and cleanups * contrib/hbnf/tests/menu1.prg + Unicode tests + use box.ch * contrib/hbnf/tests/popadder.prg * minor cleanups * contrib/hbssl/rand.c ! regression from yesterday for non-win systems * src/rtl/dircmd.prg % minor optimization ! typos in comments 2014-07-13 00:34 UTC+0200 Viktor Szakats * contrib/hbnf/calendar.prg ! call Date() only once * contrib/hbnf/calendar.prg * contrib/hbnf/tests/calendar.prg ! use StrZero() for year value * extras/httpsrv/uhttpd.prg ! UHTTPD_UTCOFFSET() added missing Int() * config/lang2po.hb * contrib/hbnf/calendar.prg * extras/httpsrv/uhttpd.prg * utils/hbmk2/hbmk2.prg % drop Str()/StrZero() third param where unnecessary * contrib/hbnf/doc/en/setdate.txt % drop unnecessary DToC() call and use hb_default() * contrib/hbcairo/tests/table.prg * contrib/hbmzip/tests/myunzip.prg * cleanups * src/rtl/valtoexp.prg + CASE fall-through comment 2014-07-12 21:48 UTC+0200 Viktor Szakats * contrib/gtwvg/*.prg * contrib/gtwvg/wvtwin.ch * src/rtl/dbedit.prg * src/rtl/radiogrp.prg % optimizations (FOR EACH, SWITCH, ATail() and more) * use DO CASE and other cleanups ! Wvt_PasteFromClipboard() to use hb_keyCode() * contrib/gtwvg/tests/_wvtcls.prg * use inkey.ch constant * contrib/gtwvg/wvtwin.ch * contrib/hbnf/ftint86.ch * use hex notation * tests/wvtext.prg * minor 2014-07-12 20:42 UTC+0200 Viktor Szakats * contrib/hbnf/savearr.prg % minot optimization * contrib/xhb/xcstr.prg * formatting 2014-07-12 20:26 UTC+0200 Viktor Szakats * contrib/xhb/xcstr.prg ! CStrToVal(), ValToDate(): refined input format detection when date output is requested ! ValToDate(): fixed RTE when passing a string 2014-07-12 20:16 UTC+0200 Viktor Szakats * contrib/hbhttpd/core.prg * contrib/hbtip/client.prg * contrib/hbtip/mail.prg * doc/en/terminal.txt * extras/hbvpdf/core.prg * tests/wvtext.prg % use DATETIME type * contrib/hbhttpd/core.prg + use hb_randStr() to form session ID * contrib/hbtip/client.prg * var name cleanups * use hb_randStr() in RAND_seed() call * contrib/hbct/keytime.prg * cleanup, formatting * tests/*.prg * sysinfo output synced between tests 2014-07-12 19:18 UTC+0200 Viktor Szakats * contrib/hbssl/hbssl.hbx * contrib/hbssl/rand.c * contrib/hbssl/tests/test.prg * restored RAND_*() wrappers. This partially reverts 4cc32472a58193d94da2a853b44b9bcd33b7e2c7 [2014-07-11 22:20 UTC+0200] Kept the RAND_event() change. * contrib/hbhttpd/core.prg * contrib/hbtip/client.prg * restored RAND_*() calls deleted in 311ee01d9a51d42bcfe61807d7648cf1dd80158a + hbhttp RAND_add() call changed to use hb_randStr() instead Str( hb_Random() ) 2014-07-12 18:48 UTC+0200 Viktor Szakats * src/rtl/radiogrp.prg * src/rtl/tget.prg % use more SWITCH % deleted an unnecessary NIL check. ::cType is never NIL when ::hasFocus is .T. An overcorrection in 255c77f2978b42cc7e1dd0ffbd3a4b455e51cb9e in response to https://www.mail-archive.com/harbour@harbour-project.org/msg13359.html 2014-07-12 18:16 UTC+0200 Viktor Szakats * src/rtl/cdpdet.prg % optimizations 2014-07-12 15:08 UTC+0200 Viktor Szakats * config/global.mk ! attempt to fix repo hash detection when using bash shells 2014-07-12 14:42 UTC+0200 Viktor Szakats + tests/checkssl.hb + added script to check whether https version of http links exist (can be extended to check link validity overall) 2014-07-12 12:46 UTC+0200 Viktor Szakats * contrib/hbmlzo/3rd/minilzo/minilzo.hbp * contrib/hbmlzo/core.c * contrib/hbmlzo/hbmlzo.hbp * ChangeLog.txt * package/winuni/HARBOUR_README_MINGWARM.txt * url cleanups (lzo urls may require manual cert accept) * utils/hbmk2/po/*.po * updated from Transifex (no change) * contrib/hbxdiff/3rd/libxdiff/xdiff.hbp - contrib/hbxdiff/3rd/libxdiff/AUTHORS - contrib/hbxdiff/3rd/libxdiff/xdiff.txt - deleted unnecessary 3rd party files 2014-07-12 00:57 UTC+0200 Viktor Szakats * tests/html.prg * more 2014-07-12 00:52 UTC+0200 Viktor Szakats * config/global.mk * contrib/hbcups/hbcups.hbp * contrib/hbhpdf/tests/files/libsanrg.txt * contrib/hbhttpd/core.prg * contrib/hbhttpd/readme.txt * contrib/hbzebra/pdf417.c * extras/guestbk/guestbk.ini * README.md * src/codepage/uckam.c * https 2014-07-11 23:47 UTC+0200 Viktor Szakats * contrib/gtqtc/hbmk2_qtmoc.hb + added source reference for a hardwired PATH used in the source [ci-skip] 2014-07-11 23:14 UTC+0200 Viktor Szakats * contrib/hbhttpd/core.prg * contrib/hbtip/client.prg * deleted manual seeding into OpenSSL() rand subsystem (not sure yet what to do as a replacement, if any) 2014-07-11 22:20 UTC+0200 Viktor Szakats * contrib/hbssl/rand.c * contrib/hbssl/hbssl.hbx * contrib/hbssl/tests/test.prg + rand_*() wrappers updated to compile against libressl 2.0.0 (becoming dummies in this case) [REVERTED] ! rand_status() and rand_event() dummy versions changed to return 1 instead of 0, in the hope to avoid infinite loops waiting for success on systems where these functions are not supported [INCOMPATIBLE] - rand_*() wrappers depcrecated with HB_LEGACY_LEVEL5 [REVERTED] 2014-07-11 17:39 UTC+0200 Viktor Szakats * .travis.yml + try enabling freeimage dependency 2014-07-11 15:33 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/gtstd/gtstd.c ! fixed typo in for() loop counter (issue https://github.com/harbour/core/issues/75) 2014-07-11 11:29 UTC+0200 Viktor Szakats * extras/gfspell/spell.prg * extras/hbvpdf/core.prg * extras/hbxlsxml/xlsxml_y.prg * extras/httpsrv/_session.prg * extras/httpsrv/uhttpd.prg % code cleanups and optimizations * contrib/xhb/xhberr.prg * src/rtl/errsys.prg * var rename 'DOS' -> 'OS' 2014-07-11 03:27 UTC+0200 Viktor Szakats * CONTRIBUTING.md + more link examples * utils/hbmk2/hbmk2.prg * 'ELSEIF' flattening 2014-07-10 23:40 UTC+0200 Viktor Szakats * package/harbour.mft * whitespace * tests/db_brows.prg * tests/inherit.prg * tests/ppmacro.prg * tests/stripem.prg * tests/video.prg * cleanups 2014-07-10 22:08 UTC+0200 Viktor Szakats * bin/3rdpatch.hb * contrib/hbformat/hbfmtcls.prg * contrib/hbfoxpro/occurs.prg * contrib/hbfship/stroccur.prg * contrib/hbpgsql/tpostgre.prg * contrib/hbtip/mail.prg * contrib/hbtip/popcli.prg * contrib/xhb/xhbmisc.prg * doc/en/string.txt * src/debug/debugger.prg * src/rtl/radiogrp.prg * src/rtl/treport.prg * tests/big5_gen.prg * tests/inherit.prg * tests/stripem.prg * utils/hbmk2/hbmk2.prg * prefer '*At[I]() > 0' over '*At[I]() != 0' * prefer '*At[I]() == 0' over '*At[I]() < 1' * contrib/xhb/xhbmisc.prg * synced var names with copies in hbfoxpro and hbfhsip 2014-07-10 19:08 UTC+0200 Viktor Szakats * contrib/hbnf/easter.prg % deleted extra parenthesis * README.md + missing win/clang 2014-07-10 01:45 UTC+0200 Viktor Szakats * src/rdd/usrrdd/rdds/arrayrdd.prg * reverted two hunks from the previous commit, where the applied change was unnecessary * tests/gtchars.prg * tests/gtkeys.prg % use hb_defaultValue() 2014-07-10 00:46 UTC+0200 Viktor Szakats + tests/blowfish.prg + added blowfish encryption/decryption example Source: https://clipper.borda.ru/?1-4-0-00000794-000-10001-0#008 2014-07-10 00:35 UTC+0200 Viktor Szakats * contrib/gtwvg/class.prg * contrib/gtwvg/menubar.prg * contrib/gtwvg/statbar.prg * contrib/hbhttpd/core.prg * contrib/hbpgsql/tpostgre.prg * contrib/xhb/xhbtedit.prg * src/debug/dbgbrwsr.prg * src/rdd/usrrdd/rdds/arrayrdd.prg ! use '>= 1' rather than '> 0' when checking for lower bound of array indexes (mostly received as parameters). '> 0' will cause an RTE if passing e.g. 0.5 * contrib/hbblat/blatcls.prg * contrib/hbtip/ftpcli.prg * contrib/hbtip/popcli.prg * contrib/hbziparc/ziparc.prg ! better param check for fraction-of-one numeric values ! sanitize numeric input parameters before inserting them into protocol commands * contrib/hbct/keysec.prg ! KeySec(): better sanitize <nCounter> input param to avoid a never-expiring idle block * contrib/gtwvg/statbar.prg ! more param checks to avoid out of bound RTE * contrib/hbhttpd/core.prg * contrib/hbtip/cgi.prg * src/rdd/dblist.prg * use hb_defaultValue() instead of 'Empty( <boolean> )' trick (only as comment in RDD code) * src/rtl/tscalar.prg % minor opt by better param check * contrib/hbhttpd/core.prg % minor optimization * contrib/hbnf/datecnfg.prg ! FIXME added for potential problem when receiving numeric with fraction * contrib/hbmysql/tests/test.prg * correction to prev commit * tests/gtchars.prg * tests/gtkeys.prg * cleanups 2014-07-09 15:15 UTC+0200 Viktor Szakats * src/rtl/dircmd.prg ! __Dir(): changed to only trim input filename if _SET_TRIMFILENAME is enabled. Also changed LTrim() to AllTrim(). (didn't test against Cl*pper, but as a portability policy, Harbour should never alter filenames received from user code) * contrib/hbmysql/mysql.c * contrib/hbmysql/tmysql.prg * contrib/hbmysql/tests/test.prg * minor cleanups/optimizations 2014-07-09 11:29 UTC+0200 Viktor Szakats * src/rtl/dircmd.prg % use hb_Date() + FIXME with question [DONE] 2014-07-09 11:14 UTC+0200 Viktor Szakats * contrib/hbmysql/tmysql.prg * contrib/hbmysql/tsqlbrw.prg + more support for DATETIME/TIMESTAMP column type % optimizations, cleanups * contrib/hbmysql/tests/dbf2mysq.prg * contrib/hbpgsql/tests/async.prg * contrib/hbpgsql/tests/dbf2pg.prg * minor cleanup 2014-07-09 00:08 UTC+0200 Viktor Szakats * contrib/hbmysql/tmysql.prg * TMySQLQuery():GetRow() ! fixed typo in prev commit + added support for TIMESTAMP and DATETIME types % optimizations 2014-07-08 23:54 UTC+0200 Viktor Szakats * tests/clipper.ch + added Clipper translations for Harbour functions: hb_AIns(), hb_ADel(), hb_Date(), hb_CToD(), hb_DToC(), hb_UserName(), remaining HB_IS*() calls * contrib/hbfbird/tfirebrd.prg % TFbQuery():FieldGet() optimizations * contrib/hbmysql/tmysql.prg % use hb_CToD() * contrib/hbnf/easter.prg * contrib/hbnf/woy.prg % use hb_Date() * contrib/hbnf/tests/woy.prg * cleanups * contrib/hbtest/core.prg % minor optimizations * contrib/sddoci/tests/test1.prg + added stdout dump of 'emp' table * bin/commit.hb * config/lang2po.hb * minor uniformization in date formats * contrib/gtwvg/*.prg * dates converted to ANSI format in comment 2014-07-08 14:25 UTC+0200 Viktor Szakats * contrib/gtwvg/paint.prg ! fixed regression due to a typo in 2dacebd5b4f647c510b1fe051802a5dfacae5125 2014-07-08 13:21 UTC+0200 Viktor Szakats * contrib/sddoci/sddoci.hbc ! always link against 'ocilib' lib on non-Windows (Linux) systems and do the 'ocilib[a|m|w]' dance only on Windows, still defaulting to the "WIDE" version. On Linux the charset support will depend on build-time autodetection so 'ocilib' may be in any of the three modes. It means that 2014-07-07 20:55 UTC+0200 is required there. See also: https://github.com/harbour/core/issues/74 * contrib/hbpgsql/hbpgsql.hbx * contrib/hbpgsql/postgres.c + added pg_encoding_to_char() wrapper to convert numeric encoding ID to string * contrib/hbpgsql/tests/test.prg + use pg_encoding_to_char(), plus some more feedback regarding encodings * contrib/gtwvg/tests/demowvg.prg * contrib/gtwvg/tests/demowvg1.prg * cleanups 2014-07-08 11:44 UTC+0200 Viktor Szakats * contrib/hbgd/gdwrp.c + GDIMAGESTRINGFTEX(), GDIMAGESTRINGFTCIRCLE(): added HVM CP translation support (it means it will correctly display non-ASCII chars regardless of HVM CP, UTF-8 included) * contrib/hbgd/tests/gdapi.prg * contrib/hbgd/tests/gdclass.prg * some Unicode tests 2014-07-08 02:58 UTC+0200 Viktor Szakats * contrib/hbmlzo/3rd/minilzo/* * contrib/hbmlzo/3rd/minilzo/minilzo.hbp * updated LZO 2.07 -> 2.08 * contrib/hbgd/gd.prg * contrib/hbgd/gdbarcod.prg * contrib/hbgd/gdimage.prg * src/rtl/browse.prg % optimizations ! GDBarCode():Draw128(): fixed RTE in an expression relying on a hidden xhb extension * contrib/gtwvg/paint.prg * comment 2014-07-08 01:16 UTC+0200 Viktor Szakats * package/harbour.mft + request MS Windows Common Controls 6.0.0.0 The wonders of the Windows API: https://stackoverflow.com/questions/2545682/unicode-tooltips-not-showing-up See: https://groups.google.com/d/topic/harbour-devel/4FCO7cO0MYs/discussion Practically every Windows GUI app (including GTWVG/GTWVW) must include this manifest directive. Currently Harbour (hbmk2) doesn't add it automatically when producing executables, but hbrun/hbmk2 scripts now have it enabled. (this explains why 'dlg.mft' and 'wvwtest9.mft' existed) * contrib/gtwvg/pushbut.prg % use SWITCH * contrib/gtwvg/*.prg * whitespace 2014-07-07 20:55 UTC+0200 Viktor Szakats * contrib/sddoci/core.c + reworked interfacing with OCILIB so that SDDOCI now decides at _runtime_ whether to use Unicode or Legacy codepage to exchange strings with OCILIB. It means that now there is nothing to keep in sync at build-time, it's enough to link the preferred (or any) OCILIB flavor ("WIDE"/"ANSI"/"MIXED") and it should work correctly. See also: https://github.com/harbour/core/issues/74 * corrected some casts * contrib/sddoci/sddoci.hbc + Unicode ("WIDE") flavor of ocilib will now be linked by default. if for any reason you need the "ANSI" one (or "MIXED"), look into sddoci.hbc for the configuration envvars * contrib/sddoci/sddoci.hbp * contrib/sddoci/sddoci.hbx + contrib/sddoci/libinfo.c * contrib/sddoci/tests/test1.prg + added ocilib wrappers OCI_GetCharsetMetaData(), OCI_GetCharsetUserData() functions to query charset type ("WIDE"/"ANSI") + added ocilib wrapper OCI_GetImportMode() ; see contrib/sddoci/tests/test1.prg for usage 2014-07-07 17:49 UTC+0200 Viktor Szakats * CONTRIBUTING.md * tweak 2014-07-07 17:47 UTC+0200 Viktor Szakats * CONTRIBUTING.md + one more link example 2014-07-07 17:38 UTC+0200 Viktor Szakats * CONTRIBUTING.md * README.md % double backticks to single ones 2014-07-07 17:23 UTC+0200 Viktor Szakats * CONTRIBUTING.md * finished 2014-07-07 17:21 UTC+0200 Viktor Szakats * CONTRIBUTING.md * more experiments with GitHub Markdown link shortcuts 2014-07-07 17:15 UTC+0200 Viktor Szakats * contrib/hbfbird/tfirebrd.prg % optimizations ! make sure that FBGetData() and FBGetBlob() return value is of the type expected * CONTRIBUTING.md + added new section: "How to Share" (experimental) * contrib/hbfbird/tests/simple.prg * use dbstruct.ch constants * contrib/hbpgsql/tpostgre.prg ! typo in comment + comments explaining misleading code * contrib/hbfbird/tests/stress.prg * contrib/hbodbc/odbc.c * contrib/hbodbc/sql.ch * tests/hello.prg * cleanups 2014-07-07 12:38 UTC+0200 Viktor Szakats * contrib/hbodbc/todbc.prg * TODBC():RecCount() method deprecated with HB_LEGACY_LEVEL4 Use indentical TODBC():LastRec() instead * contrib/hbodbc/hbodbc.hbp * contrib/hbodbc/browodbc.prg -> contrib/hbodbc/browse.prg * source renamed * contrib/hbodbc/tests/odbc.prg * contrib/hbodbc/tests/odbccall.prg * contrib/hbodbc/tests/todbc.prg * cleanups, variables naming + more odbccall output * doc/en/rdddb.txt * src/rdd/dbcmd.c * tests/cdx.prg * tests/db_brows.prg * tests/newrdd.prg * utils/hbmk2/hbmk2.prg * use LastRec() instead of RecCount() (latter was deprecated in C5.x) 2014-07-07 03:30 UTC+0200 Viktor Szakats * contrib/hbodbc/browodbc.prg * contrib/hbodbc/hbodbc.hbx * contrib/hbodbc/odbc.c * hb_odbcSToD( s ) deprecated with HB_LEGACY_LEVEL5. Replace it with this expression: hb_CToD( s, "yyyy-mm-dd" ) * contrib/xhb/xhbmsgs.c * formatting 2014-07-07 03:12 UTC+0200 Viktor Szakats * contrib/hbodbc/tests/*.prg % cleanups and optimizations * CONTRIBUTING.md * cleanup 2014-07-07 03:00 UTC+0200 Viktor Szakats * contrib/hbodbc/browodbc.prg * contrib/hbodbc/hbodbc.hbx * contrib/hbodbc/tests/todbc.prg * contrib/hbodbc/todbc.prg % TODBC() optimized to call ::ClearData() only when necessary * BrowseODBC() renamed to hb_odbcBrowse() Old function available under HB_LEGACY_LEVEL5 + hb_odbcBrowse() headsep like in Browse() * demo to use AChoice() instead of MENU TO * some variable name cleanup 2014-07-07 02:27 UTC+0200 Viktor Szakats * contrib/hbodbc/browodbc.prg ! BrowseODBC(): fixed RTE with dimensions not passed ! BrowseODBC(): fixed visual glitches in status info ! BrowseODBC(): fixed infinite loop when moving past BOF * contrib/hbodbc/tests/todbc.prg + use BrowseODBC() * contrib/hbodbc/sql.ch + added missing types + added missing error codes + added SQL_SUCCEEDED() macro to check for SQL API call success like in sql.h * contrib/hbodbc/todbc.prg + use SQL_SUCCESS() macro + use hb_StrFormat() to form error message + TODBC():LoadData(), :ClearData() and :Fetch() are now PROTECTED methods [INCOMPATIBLE] 2014-07-07 00:59 UTC+0200 Viktor Szakats * contrib/hbodbc/todbc.prg * TODBC():LoadData() will not AllTrim() the field values anymore for SQL_LONGVARCHAR types. Caller can do this easily, when needed (with the minor inconvenience that right spaces in original varchar value are lost). * TODBC():LoadData() will now PadR() _all_ string types * TODBC():LoadData() to pad empty strings to the full field width in case of error * TODBC():LoadData() to return empty string instead of NIL, after today's changes + TODBCField():New() now accepts various init params * TODBCField() changed default/init object var values ! fixed to return padded empty string field values instead of NIL in certain error conditions % TODBC():Open(): SQLRowCount() call deleted, because the result was unused % TODBC():FieldByName() minor optimization * various minor code cleanups/optimizations ; May be [INCOMPATIBLE] * contrib/hbodbc/odbc.c * contrib/sddodbc/core.c % optimized to use hb_storclen_buffer()/hb_itemPutCLPtr() for binary strings after prev commit * contrib/hbodbc/tests/odbccall.prg + more minor extensions * contrib/hbformat/hbfmtcls.prg * contrib/hbnf/aredit.prg * contrib/hbpgsql/tests/cache.prg * contrib/xhb/dumpvar.prg * contrib/xhb/trpc.prg * src/debug/dbgtobj.prg * src/debug/debugger.prg * src/rdd/usrrdd/rdds/hscdx.prg * src/rdd/usrrdd/rdds/rlcdx.prg * src/rtl/objfunc.prg * tests/db_brows.prg * tests/gtkeys.prg * tests/hsx.prg * tests/rddtest/rddtst.prg * prefer 'AScan() > 0' over 'AScan() != 0' 2014-07-06 19:06 UTC+0200 Viktor Szakats * contrib/hbodbc/todbc.prg * contrib/hbodbc/tests/todbc.prg ! fixed TODBC():Open() to not return an empty record before the first movement % optimizations * contrib/hbodbc/browodbc.prg % optimization * contrib/hbodbc/tests/odbccall.prg + extended a bit * contrib/hbodbc/odbc.c * contrib/hbodbc/todbc.prg ! fixed a likely typo in a copyright year 2014-07-06 17:07 UTC+0200 Viktor Szakats * bin/3rdpatch.hb * contrib/gtwvg/paint.prg * contrib/hbnf/popadder.prg * contrib/hbtpathy/telepath.prg * extras/gtwvw/tests/wvwtest9.prg * extras/guestbk/_inifile.prg * src/rtl/treport.prg * tests/inifiles.prg % use ATail() * src/rtl/treport.prg % use hb_StrShrink() * src/rdd/usrrdd/rdds/arrayrdd.prg * formatting 2014-07-06 16:40 UTC+0200 Viktor Szakats * contrib/hbodbc/odbc.c + SQLGETDATA() rewritten to - not ignore the data type requested by the caller (was fixed to SQL_CHAR before) - to properly handle UNICODE field values - to properly read binary data (it may have trimmed data after the first zero byte before) - use <nLen> parameter as an optional maximum length returned. If it's not passed or zero, the value will be returned in its full length - reuse code for similar functionality implemented in contribs/sddodbc/core.c by Mindaugas - handle much more data types than it was implemented in TODBC() class may be [INCOMPATIBLE] * contrib/hbodbc/todbc.prg + TODBC():LoadData() retrieve field content in native type (was string, converted to Harbour type on .prg level) ! TODBC():LoadData() fixed to not set decimal width if it's zero % minor optimizations and cleanups * contrib/hbodbc/sql.ch + added new type constants * contrib/hbodbc/tests/odbc.prg + display field information + display non-string fields too * contrib/sddodbc/tests/test2.prg ! fixed to work as script * contrib/sddodbc/core.c * minor cleanups ! honor binary flag for strings when reading values ! map SQL_INTEGER to HB_FT_LONG (instead of HB_FT_INTEGER). (SQL_INTEGER maps to SQL_C_LONG inside ODBC) * contrib/hbodbc/tests/todbc.prg % use FOR EACH 2014-07-05 11:34 UTC+0200 Viktor Szakats * contrib/hbzebra/qrcode.c * updated link * package/winuni/HARBOUR_README_DJGPP.txt * package/winuni/HARBOUR_README_MINGW.txt * package/winuni/HARBOUR_README_MINGW64.txt * package/winuni/HARBOUR_README_POCC.txt * package/winuni/HARBOUR_README_WATCOM.txt * refer to README.md instead of repeating links 2014-07-05 01:54 UTC+0200 Viktor Szakats * config/lang.hb * README.md * src/rdd/dbfntx/dbfntx1.c * src/rtl/hbsocket.c * src/rtl/tscalar.prg * src/vm/asort.c * tests/symbolt.prg * updated dead links * contrib/hbhttpd/core.prg ! redirect URIs pointing to directories without a closing slash via https (instead of http) for https connections * contrib/hbhttpd/log.prg * contrib/hbtip/log.prg % minor optimizations * contrib/hbhttpd/readme.txt * contrib/hbnf/doc/en/calendar.txt * contrib/sddfb/core.c * formatting 2014-07-05 00:58 UTC+0200 Viktor Szakats * contrib/hbmisc/spd.c * contrib/hbmysql/tmysql.prg * contrib/hbnf/doc/en/*.txt * extras/gtwvw/tests/cbtest6.prg * extras/gtwvw/wvwdraw.c * extras/httpsrv/uhttpd.prg * include/hbdefs.h * include/hbexpra.c * include/hbpp.h * include/hbrddnsx.h * include/hbrddntx.h * src/compiler/harbour.y * src/compiler/harbour.yyc * src/rdd/dbfcdx/dbfcdx1.c * src/rdd/dbffpt/dbffpt1.c * src/rdd/dbfnsx/dbfnsx1.c * src/rdd/dbfntx/dbfntx1.c * src/rdd/hbsix/sxcrypt.c * src/rtl/gtcrs/gtcrs.c * src/rtl/gttrm/gttrm.c * tests/macro.prg * whitespace formatting * some minor cleanups * contrib/hbtip/encurlc.c * contrib/hbtip/utils.c * variable scoping 2014-07-04 20:21 UTC+0200 Viktor Szakats * contrib/hbnetio/utils/hbnetio/hbnetio.hbp * contrib/hbnetio/utils/hbnetio/hbnetio.prg + link all Harbour RTL functions by default * to build hbnetio without all Harbour functions, use -DHB_NO_EXTERN build-time option * contrib/make.hb ! fixed to build sub-projects (hbformat/hbnetio executables ATM) in standalone mode * contrib/hbnetio/tests/netiomt1.prg * whitespace 2014-07-04 14:59 UTC+0200 Viktor Szakats * contrib/hbwin/win_tprn.prg ! win_Prn():TextAtFont() fixed to return .F. instead of NIL when '! :CheckPage()' since 3db2d9964400633a8734e229107ef25f297b9167 * contrib/hbwin/win_tprn.prg * contrib/hbxpp/dbfuncsx.prg * contrib/hbxpp/thfuncx.prg * contrib/hbziparc/ziparc.prg % optimizations and minor cleanups * contrib/hbxdiff/hbxdiff.ch * cleanup 2014-07-03 18:08 UTC+0200 Viktor Szakats * contrib/hbexpat/core.c ! alloc/realloc allocation wrappers synced with standard C lib behavior 2014-07-03 17:46 UTC+0200 Viktor Szakats * contrib/hbbz2/core.c * contrib/hbxdiff/core.c ! memory allocation wrappers synced with standard C lib behavior to avoid potential problems with 3rd party calling them with non-regular values (e.g. free( NULL )) * contrib/hbxdiff/tests/test2.prg * cleanup 2014-07-03 15:20 UTC+0200 Viktor Szakats * contrib/hbtip/ftpcli.prg ! fixed two typos after 48606a4231199028829d6e2dd16eac28abe1a7c7 Fixed https://github.com/vszakats/hb/issues/22 Thanks! * package/mpkg_win.nsi * cleanup in comment * src/common/hbffind.c * formatting 2014-07-03 11:42 UTC+0200 Viktor Szakats * package/mpkg_win_nightly.bat - deleted parts related to uploading results to sf.net * doc/cmdline.txt * doc/en/misc.txt ! fixed doc text * contrib/hbmisc/tests/pe.prg * contrib/xhb/hbxml.c * contrib/xhb/hbxml.h * doc/en/1stread.txt * doc/locks.txt * Harbour name cleanup * src/vm/estack.c ! formatting 2014-07-03 02:45 UTC+0200 Viktor Szakats * contrib/* * extras/* * src/* * use hb_xgrabz() macro to replace hb_xgrab()/memset() call pairs * few hb_xmemset() calls eliminated where memset() was enough ; TODO: implement hb_xcalloc() (or hb_xgrabc()) which takes arguments similar to calloc() and clears memory too. Such call should make sure that (count * size) do not overflow. * contrib/hbmemio/memio.c ! fixed: allocated memory size being cast to HB_ULONG, while corresponding size in memset() call to HB_SIZE * src/debug/dbgentry.c ! fixed memset() missing the last byte of allocated memory area since e59993bdb14fab12dcc3e1698c088e18f951d437 * tests/big5_gen.prg ! fixed to read input file regardless of EOL style * tests/vars.prg ! fixed to serve its original purpose 2014-07-02 23:33 UTC+0200 Viktor Szakats * package/harbour.rb - deleted Harbour 3.0.0 reference. Even with the embedded hbcurl patch, it won't work well anymore with newest libcurl, so I opted to drop support from here. 2014-07-02 20:56 UTC+0200 Viktor Szakats * contrib/hbcurl/global.c ! memory allocation wrappers updated to better mimic behavior of standard malloc()/realloc()/free()/calloc() It is particularly important to let free() silently accept NULL argument. [I chose zero size allocations to return NULL.] ; Critical update for anyone using libcurl 7.36.0 or newer * README.md + Thanks note to donators! 2014-07-02 16:40 UTC+0200 Viktor Szakats * contrib/hbcurl/hbcurl.hbp + added new location of dll dependencies on win * tests/fileio.prg * UNICODE 2014-07-02 15:04 UTC+0200 Viktor Szakats * tests/big5_gen.prg + added support for UNICODE mode 2014-07-02 14:39 UTC+0200 Viktor Szakats * src/codepage/uc16def.c ! Fixed critical regression where Is*() functions could return wrong result for certain (even plain English) characters when UTF8EX CP was selected after de5da7772db6823dc1f0b2965e26a6f8bb84d6d3 ; The root problem was that I run tests/uc16_gen.prg as a script in UNICODE mode, but uc16_gen.prg wasn't compatible with UNICODE mode. * tests/uc16_gen.prg + added support to work in UTF8EX (UNICODE) mode * tests/wvt_fs.prg * cleanup 2014-07-02 02:21 UTC+0200 Viktor Szakats * tests/* * cleanups 2014-07-01 01:14 UTC+0200 Viktor Szakats * contrib/hbtip/mailassy.prg ! tip_MailAssemble() will now fall back to 'application/octet-stream' MIME-type instead of 'text/plain' for unknown attachment types * minor cleanups ; Notice to users of this fork: As mentioned in earlier commit messages, this fork stepped forward by disabling all deprecations marked as HB_LEGACY_LEVEL4 and later on enabled the policy to keep the current (HB_LEGACY_LEVEL5) deprecation stage disabled as well. This effectively means that all existing deprecations (most of them many years old) are disabled now and any new deprecations are effective as soon as they are committed (there is no years long "grace" period). To find out what exactly these deprecation levels mean and what user code changes are required, search for 'HB_LEGACY_LEVEL' in this file and follow the instructions. If not enough, look up the source code. Disabled HB_LEGACY_LEVEL4 code is still present in this repository though they may be deleted anytime without advance notice. Until this happens you may enable them in your own private builds using -DHB_LEGACY_LEVEL<n> HB_USER_CFLAGS and HB_USER_PRGFLAGS. Notice that such builds are not tested by me. If you find a problem, file an issue or even better a Pull Request. The best practice however, is to implement the required code changes in your code. 2014-06-30 21:22 UTC+0200 Viktor Szakats * contrib/gtwvg/wvgutils.c * contrib/gtwvg/wvgwing.c * src/rdd/hsx/hsx.c * src/rtl/errapi.c % use HB_IS_*() macro where pointer is never NULL * contrib/gtwvg/gtwgud.c * contrib/gtwvg/gtwvgd.c * src/rtl/gtwvt/gtwvt.c * include/hbapi.h * formatting 2014-06-30 18:36 UTC+0200 Viktor Szakats * * * reverted 69af56b106b096204e1ec5af92762f3d96156df8 (2014-06-27 21:53 UTC+0200) It was an unsafe change because HB_IS_*() macro doesn't check if the item is NULL. To be reapplied non-NULLness is guaranteed. Fixes https://github.com/vszakats/hb/issues/21 2014-06-30 18:33 UTC+0200 Viktor Szakats * * * reverted 7e860d84cc2e43625ed48210f287761bf4a6ded2 (2014-06-27 19:41 UTC+0200) It was an unsafe change because HB_IS_*() macro doesn't check if the item is NULL. To be reapplied non-NULLness is guaranteed. See https://github.com/vszakats/hb/issues/21 2014-06-30 17:27 UTC+0200 Viktor Szakats * contrib/hbtip/tests/http_cli.prg % minor 2014-06-30 17:19 UTC+0200 Viktor Szakats * contrib/hbtip/client.prg ! TIPClient():ReadHTTPProxyResponse() fixed to avoid infinite loop if there is an ::inetRecv() failure + TIPClient():SetProxy() will now accept a TUrl() object as the first parameter ! TIPClient():SetProxy() fixed to not accept invalid parameter types * contrib/hbtip/tests/http_cli.prg % pass TUrl object to :SetProxy() * contrib/hbtip/thtml.ch * formatting 2014-06-30 11:16 UTC+0200 Viktor Szakats * contrib/hbtip/client.prg * contrib/hbtip/ftpcli.prg * contrib/hbtip/thtml.prg * contrib/hbtip/url.prg % minor optimizations * cleanups * TIPClientFTP():TransferStart() fixed to honor buffer size settings in active mode (was: hard-wired 64 KiB) * TIPClientFTP():TransferStart() use ::inet*() methods instead of direct hb_inet*() calls to set buffer sizes * TIPClientFTP():TransferStart() fixed (I hope) to return .F. instead of .T. when hb_inetConnectIP() call fails in passive mode. * contrib/hbtip/tests/* * cleanups, formatting + ftp_dl.prg to support downloading multiple files 2014-06-29 13:54 UTC+0200 Viktor Szakats - contrib/hbtip/tests/test.prg * contrib/hbtip/tests/*.prg * contrib/hbtip/tests/httpcli.prg -> contrib/hbtip/tests/http_cli.prg * contrib/hbtip/tests/loadhtml.prg -> contrib/hbtip/tests/http_qry.prg * contrib/hbtip/tests/httpadv.prg -> contrib/hbtip/tests/http_adv.prg * various cleanups and optimizations 2014-06-29 13:38 UTC+0200 Viktor Szakats * contrib/hbtip/tests/ftp_adv.prg + set date format * contrib/hbtip/tests/tipmail.prg ! typo in d39c6c1b7cfddaa941d90c92990a32a1785f913f ! do not use FError() to check for MemoRead() success 2014-06-29 13:23 UTC+0200 Viktor Szakats * contrib/hbtip/ftpcli.prg % various optimizations and minor cleanups ! fixed to protect the global STATIC with a mutex (it was not critical in most cases, but anyway) * contrib/hbtip/tests/dnldftp.prg -> contrib/hbtip/tests/ftp_dl.prg * contrib/hbtip/tests/ftpadv.prg -> contrib/hbtip/tests/ftp_adv.prg * contrib/hbtip/tests/upld_ftp.prg -> contrib/hbtip/tests/ftp_ul.prg * renamed + updated to accept URL from the command-line as 1st argument + ftp_adv.prg now includes a file listing test * contrib/hbtip/tests/base64.prg % use FOR EACH ! fixed to not change case of passed filename * contrib/hbtip/tests/tipmmail.prg % use SWITCH ! use hb_MemoRead() for attachment 2014-06-29 03:49 UTC+0200 Viktor Szakats * contrib/hbtip/*.prg * copyright header consolidation/cleanup 2014-06-29 03:44 UTC+0200 Viktor Szakats * contrib/hbtip/ftpcli.prg * sorted methods 2014-06-29 03:39 UTC+0200 Viktor Szakats * contrib/hbtip/client.prg * formatting * contrib/hbtip/ftpcli.prg * cleanups * merged/cleaned copyright header * contrib/hbtip/httpcli.prg * contrib/hbtip/thtml.prg % use hb_defaultValue() 2014-06-29 02:47 UTC+0200 Viktor Szakats * contrib/hbtip/ftpcli.prg * TIPClientFTP():ReadAuxPort() deleted <cLocalFile> parameter. It was added in xhb repo @ r6065 with the goal to support file downloads via :Retr(). Much of the commit was deleted after implementing :DownloadFile(), but this parameter was left there by mistake @ r7968. [INCOMPATIBLE] % TIPClientFTP():ReadAuxPort() optimized % TIPClientFTP():ReadAuxPort() fixed for UNICODE by using hb_BLen() instead of Len() * contrib/hbtip/httpcli.prg ! TIPClientHTTP():PostByVerb(), TIPClientHTTP():PostMultiPart() fixed for UNICODE. It is now passing byte length in 'Content-Length:' header instead of number of characters 2014-06-29 02:04 UTC+0200 Viktor Szakats * contrib/hbtip/ftpcli.prg ! TIPClientFTP():ReadAuxPort() fixed to not leak a file handle when called with a string parameter and the call fails returning NIL. 2014-06-28 23:54 UTC+0200 Viktor Szakats * contrib/hbtip/ftpcli.prg * TIPClientFTP():MPUT() changed to return NIL instead of 0 in case of wrong parameter type [INCOMPATIBLE] (this way the method returns NIL/string types only) * TIPClientFTP():MGET() changed to return NIL instead of .F. if passive mode is requested but not available [INCOMPATIBLE] (this way the method returns NIL/string types only) ! TIPClientFTP():MGET() fixed regression from 122195bd747a7c4832bf5b7c7b4da076850dd014 where an RTE could occur in case of error (instead of returning NIL) * TIPClientFTP():ReadAuxPort() changed to return a string when the <cLocalFile> parameter is passed. Previously it returned .T. [INCOMPATIBLE] (this way the method returns NIL/string types only) * TIPClientFTP():UserCommand() added two QUESTIONs about its parameters % minor optimizations * contrib/hbtip/popcli.prg % TIPClientPOP():Read() optimized and comments added * extras/rddado/adordd.prg ! protect internal variables from unitialized values or assigment of wrong types % use SWITCH * do not pass 3rd param as reference to ADO_ORDINFO(), it's unnecessary * marked params expected by reference * config/detect.mk * config/detfun.mk ! typo * extras/rddado/adordd.ch * formatting 2014-06-28 21:53 UTC+0200 Viktor Szakats * contrib/hbgs/hbmk2.hb % cleanups * utils/hbmk2/hbmk2.prg + added hbmk_AddOption_PRG() plugin API [TRANSLATION] 2014-06-28 21:35 UTC+0200 Viktor Szakats * contrib/gtqtc/hbmk2_qtmoc.hb % deleted unused headers * contrib/hbgs/hbgs.hbp + contrib/hbgs/hbmk2.hb + added Ghostscript version autodetection via a custom hbmk2 plugin * utils/hbmk2/hbmk2.prg + added hbmk_AddOption_C() plugin API [TRANSLATION] % optimizations 2014-06-28 19:03 UTC+0200 Viktor Szakats * contrib/hbgs/core.c * contrib/hbgs/hbgs.hbp * disabled Ghostscript UTF8 support by default. 2014-06-28 18:39 UTC+0200 Viktor Szakats * .travis.yml * reverted, Travis-CI doesn't seem to support MariaDB * contrib/hbmysql/mysql.ch * contrib/hbmysql/tmysql.prg * contrib/hbmysql/tsqlbrw.prg * contrib/hbmysql/readme.txt * cleanups % optimizations * package/mpkg_rpm.sh * use more recent unixodbc package name by default 2014-06-28 17:35 UTC+0200 Viktor Szakats * .travis.yml * package/mpkg_win_nightly.bat * switched to MariaDB * extras/rddado/adordd.prg + added support for MariaDB * connection string cleanups * package/mpkg_rpm.sh + autodetect mysql client and mariadb client packages * package/mpkg_win_nightly.bat * updated HB_WITH_MYSQL include PATH for newer versions * contrib/hbmysql/hbmysql.hbc * contrib/hbmysql/readme.txt * contrib/hbmysql/tests/test.prg * contrib/sddmy/core.c * contrib/sddmy/sddmy.hbc * package/harbour.spec * added MariaDB next to MySQL * package/winuni/RELNOTES.txt * updated packages 2014-06-28 16:49 UTC+0200 Viktor Szakats * config/lang2po.hb * config/detect.mk * README.md ! typos in text * config/common/watcom.mk * config/detect.mk * config/detfun.mk * config/global.mk * config/globsh.mk * package/winuni/RELNOTES.txt * decoration cleanup * version agnostic target dir in RELNOTES.txt * tests/com.prg * tests/commouse.prg * cleanups 2014-06-28 15:12 UTC+0200 Viktor Szakats * contrib/hbtip/thtml.prg % tip_StrToHTML(), tip_HTMLToStr() (and legacy conversions) optimized to use hb_StrReplace() and reduced initialization code ! tip_StrToHTML() fix for potential problem where accented chars were wrongly translated to HTML markup when using an 8-bit CP. Solved by moving special chars to the bottom of the match list. (might still not be perfect though for all 8-bit CPs - recommended is to use Unicode VM CP) 2014-06-28 13:57 UTC+0200 Viktor Szakats * contrib/hbtip/thtml.prg ! tip_StrToHtml(): fixed missing UTF8 conversion in last pass * extras/hbvpdf/core.prg % optimizations * cleanups * extras/hbvpdf/hbvpdf.hbc + added description 2014-06-28 13:27 UTC+0200 Viktor Szakats * contrib/gtwvg/paint.prg * use hb_bitAnd() instead of local implementation * contrib/gtwvg/gtwvg.hbx * contrib/gtwvg/wvgwin.c * wvg_And(), wvg_Or(), wvg_Not(): deprecated with HB_LEGACY_LEVEL5 (means instant deactivation in this fork) Use hb_bit*() functions instead and be aware that hb_bit*() require numeric types, while wvg_*() ones take any type and converts them to zero * contrib/xhb/cstruct.prg ! internal AsString() fixed to use Stuff() instead of array-index-on-string syntax * src/3rd/tiff/Makefile * src/3rd/tiff/dirinfo.c * src/3rd/tiff/tiff.h * src/3rd/tiff/tiff.dif * updated to 4.0.4devel-2014-06-07 (CVS head) * contrib/hbblink/blinker.prg * SwpRunCmd() strict parameter check and minor optimization * contrib/hbcomm/comm.prg * extras/hbvpdf/core.prg * src/rtl/treport.prg * use hb_BChar( 0 ) instead of Chr( 0 ) in binary context * deleted completed FIXME in hbvpdf/core.prg * contrib/hbgs/core.c * contrib/hbodbc/browodbc.prg * contrib/hbodbc/todbc.prg * contrib/hbpgsql/tpostgre.prg * contrib/hbwin/tests/shfileop.prg * extras/guestbk/_cgi.prg * cleanups 2014-06-28 04:39 UTC+0200 Viktor Szakats * contrib/hbgs/core.c + HB_GS(): added UNICODE support. Requires Ghostscript 9.10 or upper. Autodetecting Ghostscript version is not trivially possible, so this feature is now enabled by default. * contrib/hbgd/gdimage.prg ! fixed minor mistake in 2014-06-28 00:59 UTC+0200 * contrib/xhb/thtm.prg * cleanups 2014-06-28 02:42 UTC+0200 Viktor Szakats * extras/hbvpdf/core.prg % more Harbour optimizations ! more Unicode fixes + stricted parameter checking, now with __defaultNIL() fully eliminated ! pdfSetLPI() fixed ineffective argument defaulting * extras/hbxlsxml/xlsxml_s.prg * extras/hbxlsxml/xlsxml.prg % use hb_StrReplace() % more optimization 2014-06-28 00:59 UTC+0200 Viktor Szakats * contrib/hbgd/gdimage.prg * changed __defaultNIL() to hb_default() (with a twist) This slightly changes behavior when a default color is set and an invalid type is passed as color override. It will now fall back to default instead of an RTE. + GDImage():SetColor() will now only allow NIL and numeric when called with single argument * contrib/hbgd/tests/fontdpi.prg ! fixed text to be visible * contrib/hbgd/gdwrp.c * use HB_*_HANDLE constants * contrib/xhb/xhberr.prg * contrib/xhb/xhbole.prg % minor optimization ! typo in error message text ! internal LogError() changed to use hb_FileMatch() to compare filenames * contrib/hbgd/tests/cgi.prg * formatting, cleanups % optimizations * contrib/xhb/tframe.prg * contrib/xhb/thtm.prg * cleanups * contrib/hbgd/tests/gdclass.prg * formatting * extras/hbvpdf/core.prg * minor optimization * src/rdd/dbf1.c ! typo in comment 2014-06-27 21:53 UTC+0200 Viktor Szakats * contrib/gtwvg/wvgutils.c * contrib/gtwvg/wvgwing.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/hsx/hsx.c * src/rdd/workarea.c * src/rtl/errapi.c % use 'HB_IS_*()' macro instead of 'hb_itemType() == HB_IT_*' expression 2014-06-27 19:57 UTC+0200 Viktor Szakats * contrib/hbnf/tests/tbwhile.prg * contrib/rddads/tests/datad.prg * contrib/xhb/hterrsys.prg * doc/en/*.txt * extras/httpsrv/modules/*.prg * extras/rddado/tests/*.prg * USE -> dbCloseArea() * CLOSE ALL -> dbCloseAll() * cleanups/optimizations 2014-06-27 19:41 UTC+0200 Viktor Szakats * contrib/gtalleg/gtallegd.c * contrib/gtqtc/gtqtc1.cpp * contrib/gtwvg/gtwgud.c * contrib/gtwvg/gtwvgd.c * contrib/rddads/rddads.h * contrib/rddsql/sqlbase.c * extras/gtwvw/gtwvwd.c * src/rdd/dbfnsx/dbfnsx1.c * src/rdd/dbfntx/dbfntx1.c * src/rdd/delim1.c * src/rdd/hbsix/sxcrypt.c * src/rdd/hsx/hsx.c * src/rdd/wafunc.c * src/rdd/workarea.c * src/rtl/gtcrs/gtcrs.c * src/rtl/gtdos/gtdos.c * src/rtl/gtgui/gtgui.c * src/rtl/gtsln/gtsln.c * src/rtl/gttrm/gttrm.c * src/rtl/gtwin/gtwin.c * src/rtl/gtwvt/gtwvt.c * src/rtl/gtxwc/gtxwc.c * src/rtl/hbgtcore.c % use 'HB_IS_*()' macro instead of 'hb_itemType() & HB_IT_*' expression s&r regexp formula: 'hb_itemType\( ([a-zA-Z0-9\-\>\.]*) \) \& HB_IT_([A-Z]*)' -> 'HB_IS_$2( $1 )' * include/hbapi.h * minor in comment 2014-06-27 17:31 UTC+0200 Viktor Szakats * contrib/hbnf/popadder.prg * changed __defaultNIL() to hb_default() in internal functions 2014-06-27 17:22 UTC+0200 Viktor Szakats * contrib/hbnf/popadder.prg * contrib/xhb/sprintf.prg * extras/gfspell/spell.prg * extras/hbvpdf/core.prg % use Stuff() (slight chance of regression in popadder.prg, it's hard to tell whether the old stuffing function might ever be called with a 'stuff_position < 1' condition - in that case Stuff() behaves differently) 2014-06-27 15:24 UTC+0200 Viktor Szakats * contrib/hbwin/olecore.c * cleanup 2014-06-27 17:20 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rdd/delim1.c * src/rdd/sdf1.c + added support for importing TIME and TIMESTAMP fields from SDF and DELIM RDDs 2014-06-27 14:53 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbwin/olecore.c * added workaround for missing DISP_E_BUFFERTOOSMALL declaration in some older C compilers i.e. BCC 5.5 ; [vszakats] It's probably older mingw versions. BCC55 supports it. 2014-06-27 14:20 UTC+0200 Viktor Szakats * src/rtl/tgetlist.prg * added comment 2014-06-27 13:55 UTC+0200 Viktor Szakats * src/common/hbfopen.c ! spacing in last patch ; NOTE: after 2014-06-27 12:45 UTC+0200 Przemyslaw Czerpak the _SET_OSCODEPAGE comment in 2014-06-26 15:35 UTC+0200 only applies to non-Windows platforms. IOW Harbour's all interaction with Windows API and C RTL are made in pure UNICODE. 2014-06-27 12:45 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/common/hbfopen.c * use _wfopen() instead of fopen() in MS-Windows UNICODE builds of hb_fopen(). It means that now hb_fopen() makes exactly the same file name conversions as hb_fs*() Harbour RTL functions, i.e. hb_fsOpen() * contrib/hbmxml/core.c ! fixed unnecessary conversions to UTF8 used for file names passed to hb_fopen() * contrib/hbmzip/3rd/minizip/ioapi.c * contrib/hbmzip/3rd/minizip/minizip.dif ! fixed wrongly used hb_fopen() instead of fopen() what caused double file name conversions when 32-bit stdio API was used. 2014-06-26 18:42 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbwin/olecore.c + added some additional error codes to win_oleErrorText() function * contrib/hbwin/hbole.ch + added OLE error code definitions with WIN_* prefix for errors returned by win_oleErrorText() * contrib/xhb/xhb.hbx * contrib/xhb/xhbole.prg + added new function OleDefaultArg() % minor simplification * src/rtl/itemseri.c * do not generate RTE when wrong string is deserialized. Now RTE 3016 is generated only when compressed data is deserialized and ZLIB is not linked with final binaries so users can easy locate the source of problem. ; [vszakats] replaced existing solution with the one above. It means that in case of corruption only the corrupted subitem will be NIL-led, not the whole serialized variable. * src/vm/garbage.c % added missing static in s_gcSpinLock declaration * src/rtl/hbi18n1.c * typo in comment * src/rdd/dbf1.c * src/rdd/dbffpt/dbffpt1.c * src/rdd/dbsql.c * formatting * src/rdd/usrrdd/rdds/logrdd.prg * src/rdd/usrrdd/usrrdd.c * src/rtl/checkbox.prg * src/rtl/getsys.prg * src/rtl/listbox.prg * src/rtl/menuto.prg * src/rtl/pushbtn.prg * src/rtl/radiobtn.prg * src/rtl/radiogrp.prg * src/rtl/scrollbr.prg * src/rtl/tbrowse.prg * src/rtl/tget.prg * src/rtl/tgetint.prg * src/rtl/tgetlist.prg * src/rtl/tmenuitm.prg * src/rtl/errapi.c * src/rtl/hbgtcore.c * src/rtl/hbi18n1.c * src/rtl/hbinet.c * src/rtl/idle.c * src/rtl/math.c * src/rtl/setkey.c * src/vm/asort.c * src/vm/hashfunc.c * src/vm/thread.c * accept any EVAL item not only codeblocks. Actually it means that also SYMBOL items are accepted but in the future we may extend it and accept also objects of classes with :eval() message. ; [vszakats] fixed indenting of SWITCH statement * src/rtl/tget.prg ! fixed GET default PICTURE for TIMESTAMP type fixes https://github.com/harbour/core/issues/65 [2014-05-11 00:05 UTC+0200 Viktor Szakats] ! fixed GET colors when _SET_INTENSITY == .F. [2014-04-22 02:35 UTC+0200 Viktor Szakats] % use Stuff() instead of different combinations of Left() and SubStr() * include/harbour.hbx * src/rtl/left.c + added new function to replace "=" operator without the SET EXACT ambiguity in its most common pattern of usage: hb_LeftEq( <cString1>, <cString2> ) -> <lResult> it's equivalent to this expression, but faster and shorter: ( Left( <cString1>, Len( <cString2> ) ) == <cString2> ) [2014-01-22 03:09 UTC+0100 Viktor Szakats] + added hb_LeftEqI(). Same as hb_LeftEq() but case-insensitive. hb_LeftEqI( <cString1>, <cString2> ) -> <lResult> [2014-02-04 13:38 UTC+0100 Viktor Szakats] * include/harbour.hbx * src/rtl/chruni.c + added hb_BRAt(). Same as hb_RAt() but for raw/binary strings [2014-06-25 19:54 UTC+0200 Viktor Szakats] * contrib/sddsqlt3/core.c ! fixed missing first record of query [2013-11-08 21:43 UTC+0100 Viktor Szakats] ; many of above modification was borrowed directly or try to follow some changes in Viktor's branch - thanks. ; [vszakats] Manual merge 2014-06-27 11:46 UTC+0200 Viktor Szakats * contrib/hbmlzo/3rd/minilzo/* * contrib/hbmlzo/3rd/minilzo/minilzo.hbp * updated LZO 2.06 -> 2.07 (fixing potential security issue) * contrib/xhb/fparse.c * whitespace * extras/hbdoc/hbdoc.ch ! typo in comment 2014-06-26 17:38 UTC+0200 Viktor Szakats * extras/hbvpdf/core.prg ! pdfJPEGInfo() fixed to recognize the optimized test color.jpg Fixes regression after 018df812b94cdbda51827c1e3539568b865cd1e8 * extras/hbvpdf/tests/pdf_demo.prg % use hb_HexToNum() instead of local implementation * cleanups * doc/en/string.txt * cleanups 2014-06-26 17:12 UTC+0200 Viktor Szakats * doc/en/string.txt * cleanups * src/rtl/gtchrmap.c % variable scoping ; [ Testing @vszakats ] 2014-06-26 16:07 UTC+0200 Viktor Szakats * CONTRIBUTING.md + added note about "wholesale" formatting of existing sources 2014-06-26 15:35 UTC+0200 Viktor Szakats * contrib/hbcurl/easy.c % deleted commented code that is no longer valid * contrib/hbmxml/core.c ! MXMLLOADFILE(), MXMLSAXLOADFILE(), MXMLSAVEFILE() fixed to not convert 2nd parameter to UTF8 before passing it to hb_fopen(). hb_fopen() needs to get filename in VM CP and will convert it to _SET_OSCODEPAGE CP automatically. It means these functions now require this line: Set( _SET_OSCODEPAGE, hb_cdpOS() ) * contrib/hbmxml/tests/custom.prg * contrib/hbmxml/tests/testmxml.prg * make sure to call Set( _SET_OSCODEPAGE, hb_cdpOS() ) to make them work with non-ASCII filenames * contrib/hbmxml/tests/test.xml ! fixed UTF8 content to not mess up the hardwired expected values inside testmxml.prg * contrib/xhb/dbgfxc.c * contrib/xhb/xhb.h ! disabled C level hb_ToLogFile() function because it is unsafely passing a printf() template to the C RTL without any validation * contrib/xhb/fparse.c * src/rtl/gtchrmap.c + added TODOs to rewrite code to use Harbour FS API instead of C RTL file functions 2014-06-26 14:42 UTC+0200 Viktor Szakats * contrib/hbcurl/easy.c ! indenting 2014-06-26 14:13 UTC+0200 Viktor Szakats * contrib/hbmisc/hbeditc.c * contrib/hbzebra/qrcode.c * src/vm/runner.c * src/vm/task.c % whitespace in comments 2014-06-26 13:54 UTC+0200 Viktor Szakats * contrib/hbct/charonly.c * contrib/hbgd/gdimage.prg * contrib/hbhpdf/harupdf.ch * contrib/hbmisc/hbeditc.c * contrib/hbnf/dispc.c * contrib/hbsqlit3/tests/backup.prg * contrib/hbwin/wapi_commctrl.c * contrib/hbxpp/hbxpp.ch * contrib/hbzebra/code128.c * contrib/rddads/adsmgmnt.c * contrib/xhb/xhbctbit.c * contrib/xhb/xhbinkey.ch * contrib/xhb/xhbver.ch * include/*.h * include/hbexpra.c * include/*.ch * include/vm.api % whitespace in comments 2014-06-26 11:39 UTC+0200 Viktor Szakats * contrib/hbcurl/easy.c * contrib/hbcurl/hbcurl.ch + added HB_CURLOPT_HTTPPOST_CONTENT to allow passing in-memory buffers (strings) as POST values. Based on this Pull Request: https://github.com/harbour/core/pull/73 by @emazv72 * contrib/hbpgsql/postgres.c ! fixed to use hb_fopen() instead of fopen() * extras/gtwvw/wvwfuncs.c ! fixed to use Harbour FS API instead of stdc 'FILE *' 2014-06-26 11:02 UTC+0200 Viktor Szakats * contrib/gtwvg/class.prg * contrib/gtwvg/tests/_tbrowse.prg * contrib/gtwvg/tests/_wvtcls.prg * contrib/hbpgsql/tests/cache.prg * contrib/xhb/ttable.prg * src/rdd/dbjoin.prg * tests/cdx.prg * tests/newrdd.prg * prefer dbSelectArea() over Select() when the return value is unused % some area selection optimizations in GTWVG * src/rdd/dbjoin.prg + added NOTE about behavior that is likely a bug in original Cl*pper * doc/en/var.txt * extras/hbvpdf/hbvpdf.ch * formatting * extras/gfspell/spell.prg % optimizations * cleanups * use more hbvpdf.ch constants * extras/hbvpdf/core.prg % optimizations * cleanups * use more hbvpdf.ch constants * tests/clipper.ch + translation for non-extended hb_RAt(), hb_BRAt() calls 2014-06-25 19:54 UTC+0200 Viktor Szakats * include/harbour.hbx * src/rtl/chruni.c + added hb_BRAt(). Same as hb_RAt() but for raw/binary strings * contrib/xhb/tfile.prg * extras/hbvpdf/core.prg ! use hb_BRAt(), fixing some pending UNICODE compatibility problems * extras/hbvpdf/core.prg ! various UNICODE fixes % optimizations 2014-06-25 17:37 UTC+0200 Viktor Szakats * extras/hbvpdf/core.prg % various optimizations ! fixed a regression in 407499cd778b3bdcf230df3278c0b48c3703043c * src/rtl/accept.c * whitespace 2014-06-24 16:56 UTC+0200 Viktor Szakats * contrib/hbct/ctmath2.c * contrib/hbct/finan.c * contrib/hbct/trig.c % use HB_ERR_FUNCNAME in hb_mathGetError() calls * src/rtl/math.c + hb_mathGetError(): added support for HB_ERR_FUNCNAME value for the second parameter to automatically fill the function name with the currently executed one, similar to the RTE API * include/hbmather.h * formatting 2014-06-24 16:46 UTC+0200 Viktor Szakats * contrib/hbct/ctmath2.c * contrib/hbct/finan.c * contrib/hbct/trig.c ! fixed wrong function names in hb_mathGetError() calls 2014-06-24 16:29 UTC+0200 Viktor Szakats * extras/httpsrv/*.prg % optimizations + stricter param checking * src/rtl/memoedit.prg % optimization * contrib/xhb/xhbmemo.prg % deleted no-op code * extras/gtwvw/hbgtwvw.h * src/rtl/scrollbr.prg * whitespace 2014-06-24 11:31 UTC+0200 Viktor Szakats * extras/gfspell/spell.prg * extras/hbusb/tests/test.prg % various optimizations + stricter param checking * code cleanups * utils/hbmk2/hbmk2.prg * minor cleanup * extras/gfspell/spellc.c * extras/hbusb/hbusb.ch * contrib/hbodbc/odbc.c * contrib/hbodbc/sql.ch * comment cleanup 2014-06-23 18:55 UTC+0200 Viktor Szakats * extras/hbvpdf/hbvpdf.hbx ! fix to prev 2014-06-23 18:52 UTC+0200 Viktor Szakats * contrib/hbtest/core.prg * cleanups + hbtest_AllValues(): added non-zero length empty test string ! minor Unicode fix * extras/guestbk/guestbk.html ! fixed to comply with HTML5 * contrib/hbmxml/core.c * use sizeof() - extras/guestbk/cgi.ch * extras/guestbk/_cgi.prg * extras/guestbk/guestbk.prg * extras/guestbk/guestbk.ini * extras/rddado/adordd.prg * src/rtl/*.prg * utils/hbtest/hbtest.prg * cleanups % optimizations - extras/hbvpdf/fonts.prg * extras/hbvpdf/core.prg * extras/hbvpdf/hbvpdf.hbp * extras/hbvpdf/hbvpdf.hbx % merged internal function into main .prg * extras/hbxlsxml/*.prg * formatting 2014-06-23 10:36 UTC+0200 Viktor Szakats * config/lang2po.hb * replaced link to devl list to GitHub Issues * contrib/hbtip/tests/loadhtml.prg % cleanups 2014-06-23 03:01 UTC+0200 Viktor Szakats * extras/superlib/hbsuper.prg + Shifty(): added Harbour implementation (replacing dummy stub) * extras/hbxlsxml/* * cleanups, optimizations and minor fixes * package/mpkg_win_nightly.bat % deleted commented lines 2014-06-23 01:21 UTC+0200 Viktor Szakats * utils/hbmk2/examples/plug_bis.hb + added support for -bisonflag= option * contrib/hbssl/tests/test.prg + updated to use hb_socket*() API instead of hb_inet*() * contrib/hbhpdf/core.c * utils/hbtest/hbtest.prg * comment updates * src/vm/dlmalloc.c * link updates * contrib/hbct/screen2.c * contrib/hbct/token2.c * contrib/hbct/trig.c * contrib/hbssl/tests/*.prg * contrib/hbtinymt/3rd/tinymt/tinymt.hbp * contrib/hbwin/tests/oletst2.js * cleanups 2014-06-22 16:18 UTC+0200 Viktor Szakats * contrib/hbwin/tests/oletst2.js * ChangeLog.txt * README.md * src/3rd/zlib/ChangeLog.txt % deleted links to various 3rd party mingw distros * clang link moved upwards * link/comment cleanups 2014-06-22 15:57 UTC+0200 Viktor Szakats * contrib/hbwin/win_err.prg * src/rtl/treport.prg * cleanups and optimizations 2014-06-22 13:29 UTC+0200 Viktor Szakats * src/rtl/tclass.prg * src/rtl/tlabel.prg * src/rtl/treport.prg % minor optimizations * cleanups, use constants 2014-06-21 17:08 UTC+0200 Viktor Szakats * contrib/hbct/tests/test.prg + added tests for Crypt() * contrib/hbtest/core.prg ! escape byte 127 2014-06-21 16:32 UTC+0200 Viktor Szakats * contrib/hbblat/blatcls.prg * contrib/hbblat/hbblat.ch ! very old typo in constant name: BLAT_ERR_UNKNONW -> BLAT_ERR_UNKNOWN [INCOMPATIBLE] 2014-06-21 16:23 UTC+0200 Viktor Szakats * doc/howtovcs.txt * package/mpkg_win.nsi * package/winuni/mpkg_win_uni.nsi * package/mpkg_win_nightly.bat * point to fork devel URLs + nightly script to use curl (instead of wget with no cert check) ; commented links to official user/devl lists * src/debug/debugger.prg * use HB_SET_CASE_* constants ; NOTE: a full rebuild may be needed because of this * contrib/hbsqlit3/tests/*.prg * cleanups 2014-06-21 14:09 UTC+0200 Viktor Szakats * contrib/hbssl/bio.c * extras/guestbk/guestbk.ini * extras/httpsrv/_cgifunc.prg * url cleanup 2014-06-21 13:50 UTC+0200 Viktor Szakats * contrib/hbrun/doc/hbrun.*.md * utils/hbmk2/doc/hbmk2.*.md + regenerated online help with latest versions 2014-06-21 13:46 UTC+0200 Viktor Szakats * contrib/hbtip/url.prg * minor 2014-06-21 13:04 UTC+0200 Viktor Szakats * doc/en/1stread.txt * package/harbour-wce.spec.in * package/harbour-win.spec.in * package/harbour.rb * package/harbour.spec * package/mpkg_win.nsi * package/winuni/mpkg_win_uni.nsi * src/compiler/hbusage.c * src/main/harbour.1 * src/pp/hbpp.1 * src/pp/hbpp.c * src/rtl/version.c * updated harbour-project.org URL to https://harbour.github.io/ (the classic one is a redirect since many years and admin access to it doesn't work anymore or ATM. It is also plain HTTP and due to the redirection, subdir level links to it do not work.) 2014-06-21 12:58 UTC+0200 Viktor Szakats * README.md * hbdoc generated docs now hosted on GitHub pages under the fork repo + use https for *.github.io sites 2014-06-21 12:46 UTC+0200 Viktor Szakats * extras/hbdoc/_genhtml.prg * cleaned doc tags 2014-06-21 12:28 UTC+0200 Viktor Szakats * src/* * extras/gtwvw/docs/gtwvw.txt * tests/memmgr.prg * deleting redundant text/link from copyright headers + added descriptions where missing 2014-06-21 11:25 UTC+0200 Viktor Szakats * contrib/hbhttpd/readme.txt * deleted obsolete email address * src/pp/hbpp.c * deleting redundant text/link from generated copyright headers 2014-06-21 11:16 UTC+0200 Viktor Szakats * include/hbver.ch * src/rtl/version.c + added new hb_Version() item to return the URL for the source tree used at build time if known (or to the source head, if not): hb_Version( HB_VERSION_URL_SOURCE ) 2014-06-21 03:56 UTC+0200 Viktor Szakats * include/hbver.ch * src/rtl/version.c + added new hb_Version() item to return the base URL of the project: hb_Version( HB_VERSION_URL_BASE ) * contrib/gtwvg/tests/*.prg * contrib/hbformat/utils/hbformat.prg * contrib/hbnetio/utils/hbnetio/hbnetio.prg * contrib/hbnetio/utils/hbnetio/netiomgm.hb * contrib/hbwin/tests/ole.prg * extras/gtwvw/tests/wvwtest9.prg * extras/hbdoc/hbdoc.prg * utils/hbi18n/hbi18n.prg * utils/hbmk2/hbmk2.prg + use hb_Version( HB_VERSION_URL_BASE ) instead of explicit project URLs * utils/hbtest/hbtest.prg * cleanup * tests/big5_gen.prg * tests/cpinfo.prg * tests/uc16_gen.prg * cleanups for generated header comments 2014-06-21 03:36 UTC+0200 Viktor Szakats * contrib/* * deleting redundant text/link from copyright headers * doc/class_tp.txt * minor 2014-06-21 01:32 UTC+0200 Viktor Szakats * doc/en/*.txt * include/* * deleting redundant text/link from copyright headers + added descriptions where missing * package/winuni/RELNOTES.txt * updated release link to point to GitHub 2014-06-21 00:38 UTC+0200 Viktor Szakats * tests/cpinfo.prg * tests/aliasrt.prg * tests/get2.prg * tests/html.prg * cleanups * extras/hbdoc/hbdoc.ch * tests/*.prg * tests/mt/*.prg * tests/rddtest/*.prg * deleting redundant text/link (and word 'project') from copyright headers 2014-06-21 00:09 UTC+0200 Viktor Szakats * include/harbour.hbx * src/rtl/cdpdet.prg * src/rtl/cdpdetc.c + readded __wapi_GetOEMCP() + hb_cdpTerm() will now fall back to returning OEMCP on Windows systems with GTs that provide no Windows console (f.e GTWVT). The intent is to provide more consistent behavior on the .prg level. Related issue/discussion: https://github.com/vszakats/hb/issues/20 2014-06-21 00:03 UTC+0200 Viktor Szakats * contrib/hbamf/amfdec.c * contrib/hbssl/ssl_hb.c * contrib/xhb/hbxml.c * src/rtl/base64d.c * minor formatting 2014-06-20 23:54 UTC+0200 Viktor Szakats * contrib/* * extras/* * include/* (partial) * src/* (partial) * converted internal PP directive indenting to external (e.g. '# define' -> ' #define') Harbour uses two styles, and internal indenting is not friendly with formatter tools. 2014-06-20 23:05 UTC+0200 Viktor Szakats * src/rtl/*.prg * minor cleanups 2014-06-20 21:34 UTC+0200 Viktor Szakats * include/* (partial) * src/codepage/* (partial) * src/common/*.c (partial) * src/rdd/*.prg (partial) * src/rtl/*.prg (partial) * src/vm/*.c (partial) * copyright header cleanup 2014-06-20 20:56 UTC+0200 Viktor Szakats * contrib/* (partial) * contrib/hbpost.hbm * contrib/hbpre.hbm * contrib/make.hb * utils/hbmk2/hbmk2.hbp * copyright header cleanup 2014-06-20 19:10 UTC+0200 Viktor Szakats * extras/hbvpdf/core.prg + pdfTIFFInfo()/pdfJPEGInfo(): added UNICODE mode compatibility 2014-06-20 15:38 UTC+0200 Viktor Szakats * src/rtl/cdpdet.prg % optimizations + extended list of Windows CPs recognized * tests/hbpptest/hbpptest.prg * tests/mt/mttest02.prg * tests/mt/mttest03.prg * tests/*.prg * cleanups, indenting * extras/hbdoc/hbdoc.hbp % force disable LTO at link-time * src/3rd/png/png.dif * src/3rd/png/pnglconf.h * minor whitespace * bin/commit.hb * #if 0 2014-06-19 01:23 UTC+0200 Viktor Szakats * tests/*.prg * cleanups, formatting, optimizations 2014-06-19 00:42 UTC+0200 Viktor Szakats * contrib/gtwvg/*.c * contrib/hbct/video.c * contrib/hbfbird/firebird.c * contrib/hbfbird/tfirebrd.prg * contrib/hbnf/fttext.c * contrib/hbsqlit3/core.c * doc/en/hbinet.txt * include/hbapigt.h * include/hbclass.ch * src/rtl/gtdos/gtdos.c * src/rtl/gtos2/gtos2.c * src/rtl/gtwin/gtwin.c * src/rtl/gtwvt/gtwvt.c * src/vm/classes.c * cleanups % multiple copyright header merge finished * tests/gtwin.prg * tests/langmsg.prg * tests/mt/mttest10.prg * minor 2014-06-18 19:48 UTC+0200 Viktor Szakats * config/global.mk * doc/class_tp.txt * doc/hdr_tpl.txt * doc/oldnews.txt * extras/* * package/winuni/RELNOTES.txt * tests/*.prg * utils/hbi18n/hbi18n.prg * utils/hbmk2/hbmk2.prg * utils/hbtest/* % reducing redundant text and links in comments/text 2014-06-18 19:16 UTC+0200 Viktor Szakats * bin/commit.hb * config/lang.hb * config/lang2po.hb * config/po2lang.hb * config/postinst.hb * utils/hbmk2/examples/plug_bis.hb * utils/hbmk2/examples/plug_tpl.hb * utils/hbmk2/hbmk2.prg * utils/hbmk2/pkg_dynl.hbm * utils/hbmk2/pkg_inst.hbm % reducing redundant text and links in copyright headers * copyright header cleanups 2014-06-18 17:34 UTC+0200 Viktor Szakats * README.md - deleted links (5 of them) pointing to Harbour mailing lists and latest stable release * src/debug/*.prg * tests/extend2.c * formatting, cleanups, optimization, translatability 2014-06-18 01:38 UTC+0200 Viktor Szakats * src/debug/dbghelp.prg + src/debug/en.txt + reworked help to store content in a text file out of the source code. It reduces binary size, makes translation possible, editing easier, source code leaner and easy to publish online. * tests/mt/*.prg * cleanups/fmt 2014-06-18 00:24 UTC+0200 Viktor Szakats * contrib/hbnf/tests/tbwhile.prg * tests/cdx.prg * tests/mt/*.prg * tests/newrdd.prg * tests/rdd.prg * tests/regex.prg * formatting, cleanups, optimizations, '.dbf' added to filenames ! fixed an mt example to run as script 2014-06-17 22:05 UTC+0200 Viktor Szakats * contrib/hbrun/doc/hbrun.*.md * utils/hbmk2/doc/hbmk2.*.md + regenerated online help with latest versions * extras/guestbk/_inifile.prg * tests/*.prg * cleanups 2014-06-17 18:06 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + new ${hb_ver_id} macro to return the version ID string (Git commit hash ATM) * contrib/hbhttpd/core.prg % optimization * contrib/hbsms/sms.prg * contrib/make.hb * src/debug/dbgtarr.prg * src/debug/dbgthsh.prg * cleanups 2014-06-17 12:58 UTC+0200 Viktor Szakats * contrib/hbhttpd/core.prg ! fixed to detect all workareas not just the first arbitrary 250 2014-06-17 12:50 UTC+0200 Viktor Szakats * src/debug/dbgwa.prg ! fixed to detect all workareas not just the first arbitrary 512 % optimizations * use DBS_* constants * src/debug/dbgbrwsr.prg * src/debug/dbgtarr.prg * src/debug/dbgthsh.prg * src/debug/debugger.prg * cleanups 2014-06-17 02:45 UTC+0200 Viktor Szakats * extras/superlib/readme.txt * updated for hbmk2 -sanitize option 2014-06-17 02:26 UTC+0200 Viktor Szakats * contrib/gtwvg/tests/demowvg.prg * contrib/hbct/tests/*.prg * contrib/hbnetio/tests/*.prg * contrib/hbnf/doc/en/clrsel.txt * contrib/hbnf/tests/*.prg * contrib/hbpgsql/tests/dbf2pg.prg * contrib/hbtinymt/tests/*.prg * doc/en/math.txt * extras/gtwvw/tests/*.prg * extras/httpsrv/uhttpd.prg * src/rtl/mod.c * tests/*.prg * tests/usrrdd/exarr.prg * utils/hbtest/*.prg * use Set() function * other cleanups/opts 2014-06-17 01:42 UTC+0200 Viktor Szakats * extras/httpsrv/*.prg * extras/httpsrv/uhttpd.hbp * cleanups, indenting % minor optimizations % use core filename handling functions % use hbtip functions instead of local implementation * utils/hbi18n/Makefile * utils/hbmk2/Makefile * utils/hbtest/Makefile * force disable LTO at link phase (for gcc 4.9) (LTO is very slow and not very useful for these) * contrib/hbct/tests/finan.prg * contrib/hbct/tests/math.prg * contrib/hbct/tests/num1.prg * contrib/hbct/tests/trig.prg * contrib/hbnf/doc/en/popadder.txt * contrib/hbnf/popadder.prg * contrib/hbnf/tests/popadder.prg * contrib/hbtinymt/tests/*.prg * doc/en/math.txt * doc/en/set.txt * doc/en/tgetlist.txt * tests/*.hb * tests/*.prg * utils/hbtest/rt_trans.prg * cleanups, minor fixes 2014-06-16 22:59 UTC+0200 Viktor Szakats * src/codepage/uc16def.c * updated using uc16_gen.prg based on latest https://unicode.org/Public/UNIDATA/UnicodeData.txt * tests/uc16_gen.prg ! fixed to read input file regardless of EOL style 2014-06-16 22:03 UTC+0200 Viktor Szakats * contrib/gtwvg/*.prg * contrib/hbhpdf/tests/harupdf.prg * contrib/hblzf/tests/test.prg * contrib/hbmlzo/tests/test.prg * contrib/hbmxml/tests/custom.prg * contrib/hbmxml/tests/reminder.prg * contrib/hbmzip/tests/myunzip.prg * contrib/hbpgsql/tests/dbf2pg.prg * contrib/hbpgsql/tests/test.prg * contrib/hbsqlit3/tests/blob.prg * contrib/hbtest/tests/test.prg * contrib/hbwin/tests/mutexwin.prg * contrib/hbwin/tests/prngdi.prg * contrib/hbxdiff/tests/test.prg * contrib/hbxpp/tests/dllcall.prg * contrib/hbziparc/ziparc.prg * contrib/xhb/dumpvar.prg * contrib/xhb/xhbtedit.prg * src/rdd/*.prg * src/rdd/hbsix/sxcompat.prg * src/rtl/objfunc.prg * src/rtl/tclass.prg * src/rtl/teditor.prg * src/rtl/tobject.prg * utils/hbmk2/hbmk2.prg * avoid using NIL for empty parameters (it's the default) * src/hbextern/hbextern.prg ! typo in comment 2014-06-16 21:14 UTC+0200 Viktor Szakats * include/set.ch + added missing HB_SET_CASE_* constants to .prg level * src/debug/debugger.prg * src/rdd/hbsix/sxcompat.prg % optimizations * src/rdd/dbjoin.prg * src/rdd/dbtotal.prg * src/rdd/dbupdat.prg * src/rdd/usrrdd/rdds/arrayrdd.prg * src/rdd/usrrdd/rdds/logrdd.prg * cleanups 2014-06-16 19:36 UTC+0200 Viktor Szakats * src/debug/*.prg * src/rtl/achoice.prg * src/rtl/alert.prg % optimizations * cleanups 2014-06-16 15:38 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/hbgtcore.c ! fixed typo in previous commit ; minor formatting ; [vszakats] fixes https://github.com/vszakats/hb/issues/19 2014-06-16 13:27 UTC+0200 Viktor Szakats * src/rtl/hbdoc.prg * src/rtl/hbi18n2.prg * src/rtl/langcomp.prg * src/rtl/teditor.prg % minor optimizations * contrib/hbgd/gdchart.prg * src/rtl/pushbtn.prg * src/rtl/wait.prg * cleanups 2014-06-16 01:15 UTC+0200 Viktor Szakats * contrib/hbblat/blatwrp.c * contrib/hbblat/hbblat.hbp + added support for Unicode mode when built against Blat 3.x (build tested only) * contrib/hbcomm/comm.prg * INCHR() to initialize returned buffer with zero bytes instead of spaces * contrib/hbblat/tests/blatcmd.prg ! missing #require when run as script * src/rtl/defpath.c * contrib/hbblat/tests/test.prg * cleanups * utils/hbmk2/hbmk2.prg * utils/hbtest/hbtest.prg % optimizations 2014-06-15 15:51 UTC+0200 Viktor Szakats * contrib/hbnf/kspeed.c % optimization * contrib/hbnf/page.c * contrib/hbnf/vidmode.c * casts * src/rtl/padc.c * src/rtl/padl.c * src/rtl/padr.c * variable scoping * contrib/hbnf/workdays.prg * fmt 2014-06-14 12:23 UTC+0200 Viktor Szakats * contrib/hbnf/dayofyr.prg * contrib/hbnf/nwsem.prg * contrib/hbnf/nwuid.prg * contrib/hbtip/cgi.prg * contrib/hbtip/log.prg * contrib/hbtip/mailsend.prg * contrib/hbtip/thtml.prg * contrib/hbtip/url.prg * tests/clipper.ch % optimizations and minor cleanups 2014-06-14 00:40 UTC+0200 Viktor Szakats * doc/codebloc.txt * extras/gtwvw/tests/*.prg * extras/guestbk/*.prg * extras/hbdoc/hbdoc.prg * extras/hbusb/core.c * extras/httpsrv/*.prg * tests/inifiles.prg * tests/initexit.prg % optimizations and minor cleanups 2014-06-13 20:45 UTC+0200 Viktor Szakats * bin/3rdpatch.hb * contrib/3rd/sqlite3/sqlite3.hbp * contrib/hbbz2/3rd/bz2/bz2.hbp * contrib/hbcity/3rd/cityhash/cityhash.hbp * contrib/hbexpat/3rd/expat/expat.hbp * contrib/hbhpdf/3rd/libhpdf/libhpdf.hbp * contrib/hblzf/3rd/liblzf/lzf.hbp * contrib/hbmlzo/3rd/minilzo/minilzo.hbp * contrib/hbmxml/3rd/minixml/mxml.hbp * contrib/hbmzip/3rd/minizip/minizip.hbp * contrib/hbscrypt/3rd/scrypt/scrypt.hbp * contrib/hbtinymt/3rd/tinymt/tinymt.hbp * contrib/hbxdiff/3rd/libxdiff/xdiff.hbp * src/3rd/jpeg/Makefile * src/3rd/pcre/Makefile * src/3rd/png/Makefile * src/3rd/zlib/Makefile % deleted "# VER" 3rdpatch headers where easily deductible from "# URL" % deleted "# ORIGIN" 3rdpatch headers where easily deductible from "# URL" 2014-06-13 20:35 UTC+0200 Viktor Szakats * README.md * reordered and commented links to further avoid confusion 2014-06-13 20:25 UTC+0200 Viktor Szakats * src/3rd/png/* * src/3rd/png/Makefile * src/3rd/png/png.dif * update libpng 1.6.10 -> 1.6.12 2014-06-13 20:14 UTC+0200 Viktor Szakats * contrib/3rd/sqlite3/sqlite3.hbp * contrib/3rd/sqlite3/* * sqlite3 update 3.8.4.3 -> 3.8.5 2014-05-16 16:04 UTC+0200 Aleksander Czajczynski (hb fki.pl) [MERGE] * src/rtl/hbgtcore.c * store last mouse position in base GT structures. This allows to use GTNUL driver itself with MSETPOS(), MROW(), MCOL() functions. It may be useful in .prg-level applications which use GTNUL as virtual terminal, e.g. network terminal server. https://github.com/alcz/harbour/commit/11ce5c8f4e38f45bd0cbb93ecd8834ca144d8b6b 2014-06-13 15:15 UTC+0200 Viktor Szakats * src/rtl/itemseri.c ! hb_itemDeserialize*() C level API (and thus hb_Deserialize() Harbour function) fixed to return NIL/NULL when attempting to load a compressed string that is corrupted instead of throwing an RTE. Fixes https://github.com/harbour/core/issues/71 --- test.hb #include "hbserial.ch" ? hb_Deserialize( StrTran( hb_Serialize( { Replicate( "a", 37 ) => 1 }, HB_SERIALIZE_COMPRESS ), hb_BChar( 0x56 ), Chr( 0 ) ) ) --- 2014-06-13 11:34 UTC+0200 Viktor Szakats * contrib/xhb/xhb.hbx * contrib/xhb/xhbole.prg + added OleDefaultArg(), based on this post: https://groups.google.com/d/msg/harbour-devel/bRneRR9O4Ew/6LUtYfCbGPQJ 2014-06-12 19:54 UTC+0200 Viktor Szakats * contrib/hbtip/client.prg * contrib/hbtip/mail.prg * contrib/hbtip/mailassy.prg * contrib/hbtip/mailsend.prg * contrib/hbtip/popcli.prg * contrib/hbtip/smtpcli.prg * contrib/hbtip/thtml.prg * contrib/hbtip/url.prg % optimizations These were committed in https://github.com/vszakats/hb/commit/bcec90c93e3ea0856e9d3b41bbdd7f7a5911a41f 2014-06-12 19:29 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/hbgtcore.c + allow to use GTNUL at runtime just like any other GT driver, i.e. creating dynamically new GT and use it as default thread GT. ; [vszakats] overriding existing implementation. Minor mod to keep string optimizations and restored "null" driver which I have no idea what it is, but anyway. 2014-06-12 11:06 UTC+0200 Viktor Szakats * contrib/hbtip/client.prg % optimizations + TIPClient():OpenProxy() got "Proxy-Connection: Keep-Alive" header * contrib/hbtip/tests/httpcli.prg + added optional proxy test HBTIP proxy support uses 'HTTP CONNECT tunneling' which is not fully supported by certain proxy servers, e.g. Privoxy. Anyhow HBTIP proxy doesn't seem to work even in HTTPS mode. [ use hbcurl for better success. ] * src/rtl/hbi18n2.prg * src/rtl/scrollbr.prg % use SWITCH * contrib/hbtip/tests/ftpadv.prg * contrib/hbtip/tests/gmail.prg * contrib/hbtip/tests/httpadv.prg * contrib/hbtip/tests/httpcli.prg * contrib/hbtip/tests/loadhtml.prg * contrib/hbtip/tests/tipwget.prg * minor adjustment to script mode * src/rtl/achoice.prg * comment cleanup 2014-06-12 01:23 UTC+0200 Viktor Szakats * src/rtl/dircmd.prg ! __DIR(): fixed regression in 2014-06-11 10:49 UTC+0200 % __DIR(): minor opt 2014-06-11 19:03 UTC+0200 Viktor Szakats * src/rtl/achoice.prg * tests/achoice3.prg ! attempt to fix the bug described in achoice3.prg Harbour will now not clear the achoice screen area to mimic Cl*pper behavior. Regressions are expected here, too. * tests/achoice2.prg * cleanups 2014-06-11 18:26 UTC+0200 Viktor Szakats * include/achoice.ch * src/rtl/achoice.prg + tests/achoice4.prg % optimizations ! fixed bug demonstrated in achoice4.prg (moved there from src/rtl/achoice.prg) (it's hackish and it may not be the ultimate or elegant fix) * cleanups 2014-06-11 14:24 UTC+0200 Viktor Szakats * src/rtl/achoice.prg ! finished previous fix by replacing numerically identical mode constants with the (hopefully) proper constants 2014-06-11 14:21 UTC+0200 Viktor Szakats * src/rtl/achoice.prg % optimizations ! fixed misusing mode constants vs callback result constants left a QUESTION and two TODO conversions * contrib/hbunix/linux.prg * include/achoice.ch * comment cleanup * src/rtl/profiler.prg + build report headers dynamically ! fixed mismatch between report headers and actual data lines 2014-06-11 10:49 UTC+0200 Viktor Szakats * src/rtl/cdpdet.prg * src/rtl/dircmd.prg * src/rtl/setfunc.prg * src/rtl/treport.prg % optimizations * src/rtl/hbini.prg ! fixed https://github.com/vszakats/hb/issues/18 regression in hb_defaultValue() usage * src/rtl/checkbox.prg * src/rtl/menusys.prg * src/rtl/radiogrp.prg * src/rtl/readvar.prg * src/rtl/scrollbr.prg * src/rtl/tbcolumn.prg * src/rtl/tclass.prg * src/rtl/tpopup.prg * src/rtl/tpopuphb.prg * src/rtl/tscalar.prg * src/rtl/typefile.prg * contrib/hbxpp/tests/dllcall.prg * cleanups * contrib/xhb/hjwindow.prg * contrib/xhb/hterrsys.prg * contrib/xhb/htjlist.prg * contrib/xhb/html.ch * contrib/xhb/tedit.prg * contrib/xhb/thtm.prg * cleanups % optimizations ! fixed consistent typo 'aling' -> 'align' This involves one user command keyword in DEFINE CELL [INCOMPATIBLE] 2014-06-10 12:17 UTC+0200 Viktor Szakats * contrib/hbwin/win_tcom.prg + win_Com():RecvTo() safe parameter check ! win_Com():RecvTo() fixed for Unicode mode * contrib/hbwin/win_tprn.prg % optimizations, cleanups + NIL checks changed for safe parameter checks * contrib/hbct/kxlat.prg * contrib/hbtip/thtml.prg * contrib/hbwin/tests/prn1.prg * contrib/hbwin/win_err.prg * contrib/hbxpp/thfuncx.prg * src/rtl/adir.prg % optimizations * contrib/hbct/ctmisc.prg * contrib/hbwin/win_reg.prg * contrib/hbxpp/tbrowsex.prg * src/rtl/achoice.prg * src/rtl/browdb.prg * cleanups 2014-06-09 16:56 UTC+0200 Viktor Szakats * contrib/hbnf/*.prg * contrib/hbnf/tests/*.prg * contrib/make.hb * contrib/xhb/t*.prg * package/mpkg_src.sh * package/mpkg_win_nightly.bat * package/mpkg_win.nsi * package/winuni/mpkg_win_uni.nsi * tests/clipper.ch * utils/hbi18n/hbi18n.prg * utils/hbtest/make_c5x.bat * utils/hbtest/rt_main.h % minor optimizations * comment/decoration cleanups 2014-06-08 22:59 UTC+0200 Viktor Szakats * contrib/hbnf/hbnf.hbp - contrib/hbnf/restsets.prg * contrib/hbnf/anomatch.prg * contrib/hbnf/dhkey.h * contrib/hbnf/pickday.prg * contrib/hbnf/popadder.prg * contrib/hbnf/savesets.prg * contrib/hbnf/scregion.prg * contrib/hbnf/sinkey.prg * contrib/hbnf/sleep.prg * contrib/hbnf/workdays.prg % cleanups and optimizations + ft_SInkey() now accepts a second parameter like Inkey() 2014-06-08 21:24 UTC+0200 Viktor Szakats * contrib/hbnf/* * comment cleanup ! ft_RgnStack(): fixed RTE regression when passed wrong parameter type + ft_MenuTo(): avoid CP/encoding dependent code % minor optimizations ; source is now 399 kB (with CRLF). Was 850 kB in 1.0.0 with less functionality. * src/rtl/hbgtcore.c - deleted 'null' as a synonym for GTNUL in hb_gtLoad() [INCOMPATIBLE] * utils/hbmk2/hbmk2.prg % minor optimizations 2014-06-06 18:35 UTC+0200 Viktor Szakats * bin/commit.hb * config/lang.hb * src/vm/codebloc.c * src/vm/debug.c * comment cleanups 2014-06-04 20:28 UTC+0200 Viktor Szakats * src/rtl/hbgtcore.c + allow NUL/GTNUL parameters for hb_gtCreate() and hb_gtReload() ; based on this commit https://github.com/alcz/harbour/commit/9c2ca67b3e9876b5b5ec4cab80c17d6f864d46b9 (fixed to allow name "GTNUL" like for normal GTs. Disallow "null" and empty parameter which are not valid GT names on Harbour .prg level. Extended support to hb_gtReload()) % minor change to help common string optimization 2014-06-04 14:59 UTC+0200 Viktor Szakats * config/c.mk * config/rules.mk + added compile rules for Swift sources * contrib/hbwin/win_os.prg * comment cleanup 2014-06-04 14:34 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/vm/classes.c ! added missing const to variable declaration in profiler code - problem reported by Ron Christie 2014-06-04 13:01 UTC+0200 Viktor Szakats * config/postinst.hb * contrib/hbnf/calendar.prg * contrib/hbnf/cntryset.prg * contrib/hbnf/datecnfg.prg * contrib/hbnf/dispmsg.prg * contrib/hbnf/menuto.prg * contrib/hbnf/mouse1.prg * contrib/hbnf/nooccur.prg * contrib/hbnf/nwsem.prg * contrib/hbnf/popadder.prg * contrib/hbnf/pvid.prg % minor optimizations * contrib/hbnf/* * deleted redundant comments * cleanups * contrib/hbnf/doc/en/nooccur.txt ! fixed to be in sync with the actual code * include/dbinfo.ch ! typo in comment * src/rtl/rtlshort.c * formatting 2014-06-04 00:43 UTC+0200 Viktor Szakats * contrib/hbct/datetime.c * contrib/hbmisc/dates.c * contrib/hbmysql/mysql.c * contrib/hbodbc/odbc.c * contrib/hbodbc/todbc.prg * contrib/hbtip/utils.c * contrib/hbwin/win_misc.c * contrib/xhb/cgi.ch * contrib/xhb/html.ch * contrib/xhb/htmlclrs.ch * contrib/xhb/htmlform.ch * contrib/xhb/xhberr.prg * contrib/xhb/xhbfunc.c * src/common/*.c * src/compiler/*.c * src/debug/*.prg * src/nortl/nortl.c * src/rdd/wacore.c * src/rtl/*.c * src/rtl/*.prg * src/vm/*.c % merged most additional copyright holders into copyright header * eliminated some comment decoration 2014-06-03 20:37 UTC+0200 Viktor Szakats * contrib/hbnf/* % use hb_defaultValue()/hb_default() % minor opts * contrib/gtwvg/tests/demoxbp.prg % eliminated substantial amount of copy/paste code * contrib/gtalleg/gtallegd.c * contrib/gtqtc/gtqtc1.cpp * contrib/gtwvg/*.c * contrib/gtwvg/tests/*.prg * contrib/hbamf/* * contrib/hbblat/blatcls.prg * contrib/hbcairo/*.c * contrib/hbct/*.c * contrib/hbct/tests/datetime.prg * contrib/hbcups/readme.txt * contrib/hbcurl/easy.c * contrib/hbcurl/hbcurl.ch * contrib/hbexpat/core.c * contrib/hbfimage/fi_wrp.c * contrib/hbfimage/tests/test.prg * contrib/hbgd/tests/antialia.prg * contrib/hbgt/bitflags.c * contrib/hbhpdf/*.c * contrib/hbhttpd/core.prg * contrib/hbhttpd/widgets.prg * contrib/hbmemio/memio.c * contrib/hbmisc/hb_f.c * contrib/hbmisc/hbeditc.c * contrib/hbmxml/core.c * contrib/hbmysql/*.prg * contrib/hbnf/* * contrib/hbodbc/todbc.prg * contrib/hbsms/sms.prg * contrib/hbssl/*.c * contrib/hbtip/tests/*.prg * contrib/hbtpathy/telepath.prg * contrib/hbwin/axcore.c * contrib/hbwin/tests/prn3.prg * contrib/hbwin/wapi_commctrl.c * contrib/hbzebra/core.c * contrib/rddads/* * contrib/rddsql/*.c * contrib/sddfb/core.c * contrib/sddmy/core.c * contrib/sddoci/core.c * contrib/sddodbc/core.c * contrib/sddpg/core.c * contrib/sddsqlt3/core.c * contrib/xhb/* * eliminated decorations from comments 2014-06-03 13:30 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! deleted two unused STATIC variables revealed after recent optimization 2014-06-03 12:07 UTC+0200 Viktor Szakats * contrib/hbblat/hbblat.ch * include/blob.ch * include/dbinfo.ch * include/hbclass.ch * include/hboo.ch * include/hbsix.ch * include/hbsxdef.ch * include/hbtrace.ch * include/hbusrrdd.ch * minor cleanups, indenting 2014-06-03 01:11 UTC+0200 Viktor Szakats * contrib/hbgd/gdbar.prg % an optimization ! a fix to a minor regression 2014-06-03 00:46 UTC+0200 Viktor Szakats * contrib/hbct/getsecrt.prg * minor correction 2014-06-03 00:43 UTC+0200 Viktor Szakats * contrib/hbct/getsecrt.prg * contrib/hbct/kxlat.prg * cleanups * contrib/hbfoxpro/misc.prg * contrib/hbfoxpro/occurs.prg * contrib/hbfship/stroccur.prg % minor opts 2014-06-03 00:26 UTC+0200 Viktor Szakats * bin/3rdpatch.hb * bin/commit.hb * contrib/gtwvg/genrc.prg * contrib/hbct/showtime.prg * contrib/hbexpat/unitable.prg * contrib/xhb/thtm.prg * extras/gtwvw/tests/wvwtest9.prg * tests/rto_get.prg * tests/rto_tb.prg * utils/hbmk2/hbmk2.prg % do not explicitly initialize STATICs to NIL 2014-06-02 22:55 UTC+0200 Viktor Szakats * contrib/hbsms/sms.prg % optimizations 2014-06-02 22:44 UTC+0200 Viktor Szakats * contrib/hbosx/proxy.prg % optimization 2014-06-02 21:14 UTC+0200 Viktor Szakats * contrib/hbct/cttime.prg ! SecToTime(): fixed RTE when called like SecToTime( "a", .T. ) ! Millisec(): fixed RTE when called with non-numeric parameter * contrib/hbct/ctmisc.prg % minor optimization * contrib/hbbz2/tests/test.prg * contrib/hbcairo/tests/*.prg * contrib/hbcity/tests/test.prg * contrib/hbcomm/tests/test.prg * cleanups * contrib/hbct/fcopy.prg * comment cleanup * README.md * update 2014-06-02 13:07 UTC+0200 Viktor Szakats * src/rtl/tget.prg * src/rtl/tlabel.prg * src/rtl/treport.prg % opimizations * src/rtl/teditor.prg * src/rtl/tpopup.prg * formatting 2014-06-02 02:03 UTC+0200 Viktor Szakats * contrib/hbfimage/tests/test.prg * contrib/hbgd/gd.ch * contrib/hbgd/gdimage.prg * contrib/hbgd/gdwrp.c * contrib/hbgd/tests/*.prg * contrib/xhb/*.prg * contrib/xhb/tests/regexrpl.prg * optimizations, cleanups, minor fixes 2014-06-01 23:46 UTC+0200 Viktor Szakats * contrib/hbgd/gd.prg * contrib/hbgd/gdbar.prg * contrib/hbgd/gdbarcod.prg * contrib/hbgd/gdchart.prg * contrib/hbgd/gdimage.prg % optimizations * cleanups ! parameter validation fixes 2014-06-01 22:42 UTC+0200 Viktor Szakats * contrib/hbblink/blinker.prg * contrib/hbgd/gdbarcod.prg * contrib/hbgd/gdchart.prg * contrib/hbgd/gdimage.prg % optimizations 2014-06-01 20:45 UTC+0200 Viktor Szakats * contrib/hbtpathy/telepath.prg * contrib/hbtpathy/tp_idle.prg * contrib/hbunix/hbunix.hbp * contrib/hbwin/tests/*.prg * contrib/hbxdiff/tests/test.prg * minor optimizations + contrib/hbunix/hbunix.hbx + contrib/hbunix/linux.prg + linux_MoveToTrash( cFileName ) -> <nErrorCode, 0 if success> 2014-06-01 18:40 UTC+0200 Viktor Szakats * package/harbour.rb * updated based on this: https://github.com/Homebrew/homebrew/pull/28609/files * utils/hbi18n/hbi18n.prg % optimized out a variable 2014-05-31 12:53 UTC+0200 Viktor Szakats * extras/hbvpdf/core.prg * extras/hbxlsxml/tests/example.prg * extras/hbxlsxml/tests/example2.prg * extras/hbxlsxml/tests/example3.prg * extras/hbxlsxml/xlsxml.prg * extras/rddado/adordd.prg * utils/hbi18n/hbi18n.prg % optimizations + hbvpdf to recognize .tiff/.jpeg/.jpe extensions 2014-05-31 12:13 UTC+0200 Viktor Szakats * contrib/hbblat/blatcls.prg * contrib/hbexpat/unitable.prg * contrib/hbgd/gdbarcod.prg * contrib/hbhttpd/core.prg % optimizations 2014-05-31 11:50 UTC+0200 Viktor Szakats * contrib/xhb/xhbmemo.prg * contrib/xhb/xhbole.prg * contrib/xhb/xhbtedit.prg * src/rtl/teditor.prg % optimizations * XHBEditor():SaveFile() now uses hb_MemoWrit() instead of MemoWrit() 2014-05-31 01:24 UTC+0200 Viktor Szakats * contrib/gtwvg/*.prg * extras/hbxlsxml/*.prg % use METHOD PROCEDURE (in Xbase++ declarations) ! fixed a bug related to xls comments 2014-05-31 00:58 UTC+0200 Viktor Szakats * include/hbclass.ch * contrib/gtwvg/class.prg + added support for METHOD FUNCTION/METHOD PROCEDURE for Xbase++ style METHOD declarations It's a Harbour (fork) extension. I'm not sure it is good idea, maybe it will be removed later, but even better would be to remove (or disable by default) Xbase++ style OOP syntax altogether. * contrib/gtwvg/activex.prg * WvgActiveXControl:subscribeStdEvents() to return Self instead of NIL * contrib/hbgd/gdchart.prg * contrib/hbgd/gdimage.prg * contrib/hbtip/popcli.prg * contrib/hbtip/url.prg * contrib/xhb/trpc.prg * contrib/xhb/trpccli.prg * contrib/xhb/ttable.prg * src/debug/dbgbrwsr.prg * src/debug/debugger.prg * src/rtl/listbox.prg * src/rtl/teditor.prg * utils/hbtest/rt_class.prg ! added missing CLASS specifier for METHOD definitions * src/rtl/hbrandom.c * cleanup 2014-05-30 21:22 UTC+0200 Viktor Szakats * contrib/gtwvg/*.prg * contrib/hbct/ctrand.prg * contrib/hbct/tests/datetime.prg * contrib/hbmisc/udpds.prg * contrib/hbnf/asum.prg * contrib/hbnf/tests/datecnfg.prg * contrib/hbtip/ftpcli.prg * contrib/xhb/cstruct.prg * contrib/xhb/xhbdepr.prg * extras/gtwvw/tests/ebtest7.prg * extras/hbvpdf/core.prg * src/rtl/altd.prg * src/rtl/browse.prg * src/rtl/cdpdet.prg * src/rtl/color53.prg * src/rtl/dirscan.prg * src/rtl/tgetlist.prg * src/rtl/tpersist.prg * utils/hbmk2/hbmk2.prg % various minor optimizations * src/vm/classes.c ! fixed missing const specifier when built with profiler 2014-05-30 16:14 UTC+0200 Viktor Szakats * contrib/gtwvg/class.prg * contrib/hbct/cttime.prg * contrib/hbhttpd/widgets.prg * contrib/hbnetio/tests/netiotst.prg * contrib/hbtip/mail.prg * extras/gtwvw/tests/wvwtest9.prg * extras/hbdoc/hbdoc.prg * extras/httpsrv/_cgifunc.prg * extras/httpsrv/_session.prg * extras/httpsrv/uhttpd.prg * extras/rddado/adordd.prg * src/debug/debugger.prg * src/rtl/hbini.prg * src/rtl/langcomp.prg * src/rtl/menusys.prg * src/rtl/objfunc.prg * src/rtl/profiler.prg * tests/video.prg * utils/hbmk2/hbmk2.prg % minor optimizations 2014-05-30 02:45 UTC+0200 Viktor Szakats * contrib/hbbz2/tests/test.prg * contrib/hbexpat/tests/tohash.prg * contrib/hbfimage/tests/test.prg * contrib/hbformat/utils/hbformat.prg * contrib/hbgd/tests/*.prg * contrib/hbhpdf/tests/harupdf.prg * contrib/hbhttpd/core.prg * contrib/hbhttpd/widgets.prg * contrib/hbmagic/tests/hbmagit.prg * contrib/hbmxml/tests/*.prg * contrib/hbmzip/tests/*.prg % optimizations * cleanups 2014-05-30 00:59 UTC+0200 Viktor Szakats * contrib/hbpgsql/tests/*.prg * contrib/hbscrypt/tests/test.prg * contrib/hbsms/sms.prg * contrib/hbsqlit3/tests/*.prg * contrib/hbtest/core.prg * contrib/hbtpathy/telepath.prg * contrib/hbwin/tests/*.prg * contrib/hbwin/wce_sim.prg * contrib/hbwin/win_tprn.prg * contrib/hbxpp/tbrowsex.prg * contrib/hbxpp/tests/*.prg * contrib/hbxpp/thfuncx.prg * contrib/hbxpp/tthreadx.prg * contrib/hbzebra/tests/*.prg * contrib/hbziparc/doc/en/hbziparc.txt * contrib/hbziparc/tests/*.prg * contrib/hbziparc/ziparc.prg % optimizations * cleanups, formatting * wce_Sim():aGetAllPhoneBookEntries() will now return an empty array instead of .F. on error [INCOMPATIBLE] 2014-05-29 22:23 UTC+0200 Viktor Szakats * contrib/xhb/ttable.ch * contrib/xhb/ttable.prg * cleanups (some of them very slightly incompatible) ! fixed for MT mode % minor optimizations * contrib/xhb/txml.prg * cleanups 2014-05-29 17:48 UTC+0200 Viktor Szakats * contrib/gtalleg/fixedth.sfc * contrib/gtalleg/ssf.c * contrib/gtalleg/ssf.h * contrib/hbpgsql/tests/cache.prg * more cleanups 2014-05-29 17:34 UTC+0200 Viktor Szakats * contrib/hbamf/hbamfobj.prg * contrib/hbblat/blatcls.prg * contrib/hbpgsql/tests/cache.prg * contrib/hbpgsql/tpostgre.prg * various cleanups, optimizations and a minor fix * src/rtl/tobject.prg * formatting 2014-05-29 10:53 UTC+0200 Viktor Szakats * contrib/hbcurl/easy.c * contrib/hbcurl/global.c * comment cleanups 2014-05-29 10:49 UTC+0200 Viktor Szakats * contrib/hbcurl/hbcurl.hbm * contrib/hbcurl/date.c * contrib/hbcurl/escold.c * contrib/hbcurl/ver.c + contrib/hbcurl/global.c * contrib/hbcurl/core.c -> contrib/hbcurl/easy.c * source rearrangement in hbcurl ! fixed descriptions in copyright headers 2014-05-29 02:04 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbmzip/mzip.c ! typo in previous commit 2014-05-29 01:07 UTC+0200 Viktor Szakats * contrib/hbmzip/mzip.c ! typos in comments 2014-05-29 00:34 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbmzip/mzip.c ! disable _LARGEFILE64_SOURCE after including system header files in non *nix builds just before including zlib headers. It's workaround for wrong condition in zconf.h ; [vszakats] fixed patch to align with above description 2014-05-28 23:45 UTC+0200 Viktor Szakats * contrib/hbamf/hbamfobj.prg * contrib/hbmisc/fileread.prg * contrib/hbmisc/tests/rtfclass.prg * contrib/hbmisc/twirler.prg * extras/guestbk/_cgi.prg * extras/guestbk/_inifile.prg * tests/*.prg * utils/hbtest/rt_class.prg * 'END CLASS' -> 'ENDCLASS' * cleanups 2014-05-28 23:37 UTC+0200 Viktor Szakats * contrib/hbfbird/tfirebrd.prg * contrib/hbmysql/tmysql.prg * contrib/hbmysql/tsqlbrw.prg * contrib/hbodbc/todbc.prg * contrib/hbpgsql/tpostgre.prg % various optimizations and cleanups 2014-05-28 22:55 UTC+0200 Viktor Szakats * contrib/hbmisc/*.prg * contrib/hbmisc/tests/*.prg * contrib/hbmisc/doc/en/*.txt + better param checking * converted all object vars to :PROTECTED in Twirler and TFileRead * minor cleanups 2014-05-28 11:48 UTC+0200 Viktor Szakats * contrib/hbunix/uidgid.c ! fixed for missing pwd structure member in Android fixes https://github.com/vszakats/hb/issues/17 * contrib/hbmisc/calldll.prg * contrib/hbmisc/fileread.prg * contrib/hbmisc/hbedit.prg * contrib/hbmisc/numtxtru.prg * contrib/hbmisc/stringp.prg * contrib/hbtip/sessid.prg * contrib/xhb/dumpvar.prg * contrib/xhb/hbcomprs.prg % various minor optimizations * contrib/hbmisc/numtxtru.prg ! various minor fixes 2014-05-28 02:09 UTC+0200 Viktor Szakats * contrib/gtwvg/gtwvgd.c * contrib/hbgt/strasint.c * contrib/hbmisc/hbeditc.c * contrib/hbmisc/tests/rtfclass.prg * contrib/hbmysql/tmysql.prg * contrib/hbmysql/tsqlbrw.prg * contrib/hbnf/aredit.prg * contrib/hbnf/ftmenuto.ch * contrib/hbnf/pegs.prg * contrib/hbsqlit3/tests/authoriz.prg * contrib/hbtpathy/telepath.prg * contrib/hbtpathy/tests/test.prg * contrib/hbwin/hbwinole.h * contrib/hbxpp/dblistx.prg * contrib/rddads/ads.ch * contrib/xhb/hbserv.ch * contrib/xhb/thtm.prg * contrib/xhb/trpc.prg * doc/oldnews.txt * extras/httpsrv/_cgifunc.prg * include/dbinfo.ch * src/codepage/cpsv437c.c * src/rdd/dblist.prg * tests/hbpptest/_pp_test.prg * tests/rddtest/rddtst.prg * tests/*.prg * comment cleanups * tests/uc16_gen.prg ! fixed oprhan closing comment * tests/seconds.prg % use hb_defaultValue() 2014-05-28 01:41 UTC+0200 Viktor Szakats * contrib/xhb/hjwindow.prg * contrib/xhb/hterrsys.prg * contrib/xhb/htjlist.prg * contrib/xhb/htmutil.prg * contrib/xhb/tedit.prg * contrib/xhb/tframe.prg * contrib/xhb/thtm.prg ! use platform EOL instead of fixed CRLF in HTML output * contrib/xhb/tfile.prg * added FIXME + made some CRLF specific code more generic 2014-05-28 01:33 UTC+0200 Viktor Szakats * contrib/xhb/hjwindow.prg * contrib/xhb/hterrsys.prg * contrib/xhb/htjlist.prg * contrib/xhb/html.ch * contrib/xhb/htmutil.prg * contrib/xhb/tcgi.prg * contrib/xhb/tedit.prg * contrib/xhb/tfile.prg * contrib/xhb/tframe.prg * contrib/xhb/thtm.prg * contrib/xhb/ttable.prg * contrib/xhb/txml.prg * contrib/xhb/xhwinprn.prg * quote cleanup, comment cleanup, formatting % minor optimizations 2014-05-27 23:34 UTC+0200 Viktor Szakats * contrib/xhb/xcstr.prg * extras/httpsrv/_cgifunc.prg ! fixed array element operator on strings * contrib/xhb/xcstr.prg * extras/httpsrv/_cgifunc.prg * contrib/hbpgsql/tests/dbf2pg.prg * src/rtl/treport.prg % optimizations 2014-05-27 12:56 UTC+0200 Viktor Szakats * contrib/hbunix/uidgid.c + enabled official feature guards for certain POSIX functions ; NOTE: to users, please stop using the official dev list to hint messages and reports to me. Use this fork's Issue tracker instead. 2014-05-27 00:25 UTC+0200 Viktor Szakats * src/rtl/listbox.prg * src/rtl/memvarhb.prg * src/rtl/menuto.prg * src/rtl/tbrowse.prg * src/rtl/teditor.prg * src/rtl/tget.prg * src/rtl/tlabel.prg * src/rtl/tmenusys.prg * src/rtl/treport.prg * src/rtl/tscalar.prg % use [METHOD] PROCEDURE * use DO CASE, #if 0, constants * cleanups ! __LabelForm() fixed to not return the internal label object 2014-05-26 18:54 UTC+0200 Viktor Szakats * contrib/hbcurl/hbcurl.hbp + added an implib source dir 2014-05-26 16:15 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/common/hbfsapi.c * src/rtl/filesys.c * src/rtl/filebuf.c * contrib/hbmzip/mzip.c * contrib/xhb/filestat.c ! if available always use stat64() instead of stat() in *nixes builds. On 32-bit platforms stat() fails for larger files (>2 GiB). It should fix problem reported by Lorenzo. 2014-05-26 10:40 UTC+0200 Viktor Szakats * contrib/hbcurl/core.c ! some missing safety cleanups in PHB_CURL_free() 2014-05-26 09:59 UTC+0200 Viktor Szakats * contrib/hbcurl/core.c ! added missing bits for libcurl 7.37.0 2014-05-26 01:03 UTC+0200 Viktor Szakats * contrib/gtwvg/class.prg * contrib/gtwvg/tests/*.prg * tests/*.prg * cleanups 2014-05-25 22:56 UTC+0200 Viktor Szakats * src/rtl/tbrowse.prg * src/rtl/menuto.prg * src/rtl/tlabel.prg * src/rtl/treport.prg * tests/*.prg * tests/clipper.ch % use FOR EACH in treport.prg and tlabel.prg % commented code * use inkey.ch constants % optimizations * formatting of array indexes * use hb_LeftEq() (to avoid '=' comparison) and use PROCEDURE in newly added uptream code * cleanups ! fixed one test to compile with Cl*pper * contrib/hbcity/hbcity.hbp * disabled for android 2014-05-25 15:49 UTC+0200 Viktor Szakats * bin/commit.hb * extras/guestbk/_inifile.prg * src/debug/dbgentry.c * src/debug/debugger.prg * tests/big5_gen.prg * tests/clipper.ch * tests/inherit.prg * tests/inifiles.prg * tests/money.prg * tests/ppapi.prg * tests/statics1.prg * tests/statics2.prg * tests/stripem.prg * tests/tbrowse.prg * tests/uc16_gen.prg * tests/wvtext.prg % misc cleanups and optimizations 2014-05-24 11:46 UTC+0200 Viktor Szakats * tests/inherit.prg * tests/stripem.prg * cleanups 2014-05-24 03:40 UTC+0200 Viktor Szakats * tests/hrb.prg * tests/html.prg * tests/inherit.prg * tests/inifiles.prg * tests/money.prg * tests/op.prg * tests/ppmacro.prg * tests/readhrb.prg * tests/stripem.prg * utils/hbmk2/hbmk2.prg % use hb_defaultValue() * extras/hbxlsxml/xlsxml_s.prg * minor cleanup 2014-05-24 03:21 UTC+0200 Viktor Szakats * extras/hbdoc/_genhtml.prg * extras/hbdoc/hbdoc.prg * extras/hbxlsxml/xlsxml_s.prg * extras/hbxlsxml/xlsxml_y.prg * extras/hbxlsxml/xlsxml.prg * extras/httpsrv/modules/showcounter.prg * extras/httpsrv/uhttpd.prg * extras/rddado/adordd.prg % use hb_defaultValue() * minor cleanups 2014-05-24 03:06 UTC+0200 Viktor Szakats * contrib/gtwvg/tests/_utils.prg * contrib/hbgd/gdbar.prg * contrib/hbgd/gdbarcod.prg * contrib/hbhttpd/core.prg * contrib/hbmysql/tmysql.prg * contrib/hbodbc/todbc.prg * contrib/hbpgsql/tpostgre.prg * contrib/hbtip/cgi.prg * contrib/hbtip/client.prg * contrib/hbtip/httpcli.prg * contrib/hbwin/wce_sim.prg * contrib/hbwin/win_tbmp.prg * contrib/hbwin/win_tprn.prg % use METHOD PROCEDURE % use PROCEDURE 2014-05-24 02:29 UTC+0200 Viktor Szakats * src/debug/*.prg % use METHOD PROCEDURE % use SWITCH * minor cleanups 2014-05-23 17:01 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/filebuf.c ! fixed bad typo inside hb_fileIsLocalName() - result was reverted. Many thanks to Juan Gálvez for locating the problem. * src/debug/dbgbrwsr.prg ! fixed typo in previous commit. It should fix also problem with positioning in debugger source window reported by Alexey Myronenko. % minor simplification * contrib/hbmisc/udpds.prg ! updated to send correct broadcast messages in * nixes and respect broadcast addresses returned by system for IP interfaces ; [vszakats] replaced local patch with this one. Formatted. * src/rdd/hbdbsort.c * src/rdd/hbsix/sxcompr.c * pacified warnings 2014-05-23 01:04 UTC+0200 Viktor Szakats * contrib/make.hb * contrib/hbcairo/tests/fancytxt.prg * contrib/hbcairo/tests/glyphdbg.prg * contrib/hbhpdf/tests/harupdf.prg * contrib/hbhttpd/tests/eshop.prg * contrib/hbmisc/hbedit.prg * contrib/hbmlzo/tests/test.prg * contrib/hbmysql/tests/dbf2mysq.prg * contrib/hbmzip/tests/myzip.prg * contrib/hbpgsql/tests/dbf2pg.prg * contrib/hbwin/tests/pdfcreat.prg * contrib/hbwin/win_reg.prg * contrib/hbxpp/dbfuncsx.prg * contrib/xhb/hblog.prg * contrib/xhb/traceprg.prg * contrib/xhb/trpc.prg * contrib/xhb/trpccli.prg * contrib/xhb/ttable.prg * contrib/xhb/xhberr.prg * contrib/xhb/xhbtedit.prg % use SWITCH * use DO CASE * contrib/gtwvg/3state.prg * contrib/gtwvg/paint.prg * cleanups 2014-05-22 12:33 UTC+0200 Viktor Szakats * contrib/hbgd/gdbarcod.prg * better parameter checks % use SWITCH * use DO CASE 2014-05-22 02:57 UTC+0200 Viktor Szakats * contrib/hbgd/gd.prg * contrib/hbgd/gdbarcod.prg * contrib/xhb/htjlist.prg * contrib/xhb/htmutil.prg * contrib/xhb/tedit.prg * contrib/xhb/thtm.prg * contrib/xhb/trpccli.prg * contrib/xhb/ttable.ch * contrib/xhb/ttable.prg % use hb_defaultValue() ! NetDbUse(): fixed to honor lReadOnly argument * cleanups, optimizations and minor fixes * quote cleanup * contrib/hbmisc/udpds.prg * use Len() == 0 instead of Empty() * contrib/hbtip/thtml.prg % use hb_AScan() with search value instead of AScan() with a block [REVERT] 2014-05-21 13:02 UTC+0200 Viktor Szakats * contrib/hbcups/tests/test.prg * contrib/hbexpat/tests/test.prg * contrib/hbexpat/tests/tohash.prg * contrib/hbtip/tests/dnldftp.prg * contrib/hbtip/tests/upld_ftp.prg % use hb_defaultValue() * contrib/gtwvg/tests/_activex.prg ! added protocol to URL 2014-05-21 12:50 UTC+0200 Viktor Szakats * contrib/gtwvg/tests/_activex.prg * contrib/gtwvg/tests/_dyndlgs.prg * contrib/gtwvg/tests/_modal.prg * contrib/gtwvg/tests/_utils.prg * contrib/gtwvg/tests/_xbp.prg * contrib/gtwvg/tests/demowvg.prg * contrib/gtwvg/tests/demowvg1.prg * contrib/gtwvg/tests/demoxbp.prg * contrib/hbgd/tests/cgi.prg * contrib/hbgd/tests/counter.prg * contrib/hbmisc/tests/hb_f.prg * contrib/hbnf/tests/dfile.prg * contrib/hbnf/tests/fttext.prg * contrib/hbnf/tests/sleep.prg * contrib/hbpgsql/tests/async.prg * contrib/hbpgsql/tests/cache.prg * contrib/hbpgsql/tests/simple.prg * contrib/hbpgsql/tests/stress.prg * contrib/hbpgsql/tests/test.prg * contrib/sddsqlt3/tests/test.prg % use hb_defaultValue() % use SWITCH * minor cleanups and fixes 2014-05-21 02:16 UTC+0200 Viktor Szakats * contrib/hbct/ctmisc.prg * contrib/hbct/getinput.prg * contrib/hbct/getsecrt.prg * contrib/hbct/scrmark.prg * contrib/hbfbird/tfirebrd.prg * contrib/hbfoxpro/misc.prg * contrib/hbhttpd/core.prg * contrib/hbmagic/hbmagis.prg * contrib/hbmisc/hbedit.prg * contrib/hbmysql/tmysql.prg * contrib/hbpgsql/tpostgre.prg * contrib/hbsms/sms.prg * contrib/hbsms/tests/send.prg * contrib/hbsqlit3/tests/authoriz.prg * contrib/hbsqlit3/tests/backup.prg * contrib/hbsqlit3/tests/hooks.prg * contrib/hbtip/encoder.prg * contrib/hbtip/httpcli.prg * contrib/hbtip/smtpcli.prg * contrib/hbtip/thtml.prg * contrib/hbwin/tests/serial1.prg * contrib/hbwin/wce_sim.prg * contrib/hbwin/win_os.prg * contrib/hbwin/win_reg.prg * contrib/hbwin/win_tprn.prg * contrib/hbziparc/ziparc.prg % use hb_defaultValue() * minor fixes * contrib/hbwin/wce_sim.prg % cleanups * contrib/hbmisc/udpds.prg % minor optimization 2014-05-20 23:36 UTC+0200 Viktor Szakats * contrib/hbtip/thtml.prg % use hb_AScan() with search value instead of AScan() with a block [REVERTED] 2014-05-20 23:12 UTC+0200 Viktor Szakats * config/postinst.hb % use hb_defaultValue() * contrib/xhb/thtm.prg * quote cleanup 2014-05-20 22:28 UTC+0200 Viktor Szakats * contrib/hbnetio/utils/hbnetio/_winsvc.prg * contrib/hbwin/tests/service.prg % optimizations 2014-05-20 22:08 UTC+0200 Viktor Szakats * src/debug/*.prg * src/rtl/alert.prg * src/rtl/dirscan.prg * src/rtl/hbfilehi.prg * src/rtl/hbini.prg * src/rtl/memoedit.prg * src/rtl/memvarhb.prg * src/rtl/profiler.prg * src/rtl/radiobtn.prg * src/rtl/tclass.prg * src/rtl/teditor.prg * src/rtl/tgetlist.prg * src/rtl/tlabel.prg * src/rtl/treport.prg * src/rtl/valtoexp.prg % use hb_defaultValue() (instead of hb_default()) 2014-05-20 19:49 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/debug/dbgbrwsr.prg ! update current row position after resizing It should fix 2nd problem reported by Rolf. 2014-05-20 18:38 UTC+0200 Viktor Szakats * src/debug/dbgbrwsr.prg * src/debug/dbgtarr.prg * src/debug/dbgthsh.prg * src/debug/dbgtobj.prg * src/debug/dbgtwin.prg * src/debug/debugger.prg * src/debug/tbrwtext.prg + use HB_IS*() calls instead of NIL checks ! use #if 0 2014-05-20 17:03 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/debug/debugger.prg ! calculate ListBox coordinates as integer value (it fixes RTE reported by Rolf in SWITCH statement) * src/debug/dbghelp.prg ! fixed number of help pages calculation 2014-05-20 16:04 UTC+0200 Viktor Szakats * contrib/hbmzip/tests/myzip.prg * use directry.ch instead of literals * contrib/xhb/dirrec.prg ! DIRECTORYRECURSE(): convert timestamp to date in returned array, for compatibility 2014-05-20 15:55 UTC+0200 Viktor Szakats * src/rtl/dirscan.prg + hb_DirScan(): will now return timestamp (instead of plain date) in F_DATE array position [INCOMPATIBLE] 2014-05-20 12:38 UTC+0200 Viktor Szakats * contrib/hbmisc/udpds.prg ! typo in prev commit 2014-05-20 12:32 UTC+0200 Viktor Szakats * contrib/hbmisc/udpds.prg + fall back to 255.255.255.255 broadcast address when there _are_ interfaces detected, but none of them report a proper broadcast address 2014-05-20 01:00 UTC+0200 Viktor Szakats * contrib/hbmisc/udpds.prg + fall back to default broadcast address if no interface is detected * do not suppress interface aliases % dropped a default param value ; based on post in mentioned thread 2014-05-19 23:59 UTC+0200 Viktor Szakats * contrib/hbmisc/udpds.prg ! fixed to use the broadcast address of each advertised interface instead of a hardcoded 255.255.255.255 also see: https://groups.google.com/d/msg/harbour-devel/MQjCKG_L0bQ/1aaDXi-U16sJ * utils/hbmk2/hbmk2.prg * formatting 2014-05-17 19:48 UTC+0200 Viktor Szakats * src/rtl/hbgtcore.c % deleted an unnecessary HB_SYMBOL_UNUSED() 2014-05-15 23:52 UTC+0200 Viktor Szakats * CONTRIBUTING.md ! typo in prev 2014-05-15 23:50 UTC+0200 Viktor Szakats * CONTRIBUTING.md + readded translation link ! fixed links pointing to README 2014-05-15 23:45 UTC+0200 Viktor Szakats * README.md + added Gittip to donation methods 2014-05-14 21:51 UTC+0200 Viktor Szakats * src/vm/extrap.c * minor cleanup 2014-05-12 16:23 UTC+0200 Viktor Szakats * win-make.exe + updated from this package (no code change): https://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win32/Personal%20Builds/mingw-builds/4.9.0/threads-win32/sjlj/i686-4.9.0-release-win32-sjlj-rt_v3-rev1.7z 2014-05-12 00:03 UTC+0200 Viktor Szakats * README.md * emphasis added to some text [ci-skip] 2014-05-11 00:05 UTC+0200 Viktor Szakats * src/rtl/tget.prg ! fixed GET default PICTURE for TIMESTAMP type fixes https://github.com/harbour/core/issues/65 2014-05-09 02:51 UTC+0200 Viktor Szakats * README.md + http -> https [ci-skip] 2014-05-06 18:16 UTC+0200 Viktor Szakats * src/rtl/hbjson.c ! restored two local changes lost in last merge 2014-05-06 17:32 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/cdpapi.c * src/rtl/iousr.c * src/rtl/hbjson.c * src/rtl/gtcrs/gtcrs.c * src/rtl/gtsln/gtsln.c * src/rtl/gttrm/gttrm.c * src/rtl/gtxwc/gtxwc.c * src/rdd/workarea.c * src/rdd/hbsix/sxcompr.c * contrib/hbct/token2.c * contrib/hbsqlit3/core.c * pacified some of -Wshadow warnings ; [vszakats] kept the superior fix already committed locally in cdpapi.c * include/hbapicdp.h ! typo in comment: bytes -> bits ; [vszakats] kept the superior fix already committed locally * src/vm/garbage.c * src/vm/thread.c * disabled some code with spinlocks when HB_HELGRIND_FRIENDLY macro is defined. It causes that final MT HVM code is slower using native platform mutexes but only such ones helgrind can recognize so the new macro can be useful for people who want to make some tests with helgrind. In such case they should rebuild Harbour with HB_USER_CFLAGS=HB_HELGRIND_FRIENDLY We use spinlocks and atomic integer operations also in few other places so it's possible that deeper tests can exploit them and we will have to cover them by HB_HELGRIND_FRIENDLY too just to easy detect real problems. 2014-05-05 00:59 UTC+0200 Viktor Szakats * README.md * updated mingw distro information 2014-05-02 17:57 UTC+0200 Viktor Szakats * extras/ps32/readme.txt * updated, download link added 2014-04-30 15:49 UTC+0200 Viktor Szakats * win-make.exe + updated to 4.0.90 from this package: https://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win32/Personal%20Builds/mingw-builds/4.9.0/threads-win32/sjlj/i686-4.9.0-release-win32-sjlj-rt_v3-rev0.7z 2014-04-29 23:28 UTC+0200 Viktor Szakats * contrib/hbtip/ftpcli.prg * contrib/hbtip/httpcli.prg ! fixed missing parameter type checking ! TIPClientFTP:List() fixed to not add a space after LIST command if passed parameter is empty * contrib/hbtip/client.prg ! use #if 0 2014-04-28 22:55 UTC+0200 Viktor Szakats * README.md ! markup cleanups [ci-skip] 2014-04-28 22:52 UTC+0200 Viktor Szakats * README.md * minor cleanups [ci-skip] 2014-04-28 11:42 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + ignore "all files" wildcards as -sanitize and -fixcase function arguments. Obviously it's not healthy to use it with binary files e.g. Closes https://github.com/vszakats/hb/issues/15 2014-04-27 20:57 UTC+0200 Viktor Szakats * config/win/mingw.mk * utils/hbmk2/hbmk2.prg * disabled -fstack-protector-strong. Apps crash on startup when using it with first non-official mingw 4.9.0 build (threads-win32/sjlj). 2014-04-25 16:36 UTC+0200 Viktor Szakats * README.md * updated OS X information to not refer to PPC anymore 2014-04-25 13:45 UTC+0200 Viktor Szakats * src/pp/hbpp.c * exclude last Harbour committer name and email address from executables built with Harbour (and from Harbour binaries) 2014-04-24 17:06 UTC+0200 Viktor Szakats * README.md ! fixed link in prev 2014-04-24 17:05 UTC+0200 Viktor Szakats * README.md + added X11 reference for darwin [ci-skip] 2014-04-24 16:29 UTC+0200 Viktor Szakats * package/mpkg_win_nightly.bat * updates * utils/hbtest/hbtest.prg * added the word 'Compatibility [Test Suite]' to app description in banner 2014-04-23 12:58 UTC+0200 Viktor Szakats * config/win/clang.mk * utils/hbmk2/hbmk2.prg ! applied change from previous commit to two more places I missed * src/compiler/hbusage.c * src/pp/ppcore.c * renamed some static variables to have s_ prefix * Harbour compiler help screen to show options with a '-' prefix on all platforms (was '/' on Windows and some others) This also fixes a clang warning. 2014-04-23 00:32 UTC+0200 Viktor Szakats * config/common/clang.mk * utils/hbmk2/hbmk2.prg * silence -Wvariadic-macros clang warning. It shows up in X11 headers. 2014-04-22 23:51 UTC+0200 Viktor Szakats * src/rtl/gtxwc/gtxwc.c ! fixed new -Wcovered-switch-default warnings after prev patch 2014-04-22 23:49 UTC+0200 Viktor Szakats * src/rtl/gtxwc/gtxwc.c ! fixed -Wswitch-enum warnings * src/rtl/iousr.c ! fixed -Wshadow warning 2014-04-22 02:35 UTC+0200 Viktor Szakats * src/rtl/tget.prg ! fixed GET colors when Set( _SET_INTENSITY ) == .F. * tests/rto_get.prg + added regression tests for above * src/vm/set.c + added comment 2014-04-20 23:26 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! do not detect a certain kind of error as missing Harbour symbol 2014-04-20 19:08 UTC+0200 Viktor Szakats * config/global.mk + display warning message if Git tool is not found in PATH. Put it there for best result. 2014-04-17 14:44 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + added -sanitize <filemask> option, which converts filenames to lowercase, converts EOLs to platform native and remove EOF character if present [TRANSLATION] + -fixcase extended to handle file masks * extras/dbu/readme.txt * extras/rl/readme.txt + use hbmk2 -sanitize option instead of complicated hbformat command-line * contrib/gtqtc/hbmk2_qtmoc.hb % minor 2014-04-15 19:50 UTC+0200 Viktor Szakats * contrib/xhb/xhbver.prg ! applied some missing changes after recent commit * include/hbapicdp.h ! typos in comment 2014-04-15 02:23 UTC+0200 Viktor Szakats * README.md * updated Git binary link 2014-04-14 21:53 UTC+0200 Viktor Szakats * config/global.mk * contrib/hbformat/utils/hbformat.prg * contrib/hbnetio/utils/hbnetio/hbnetio.prg * contrib/hbnetio/utils/hbnetio/netiomgm.hb * contrib/xhb/xhbver.prg * extras/hbdoc/hbdoc.prg * include/hbapi.h * include/hbver.ch * src/common/hbver.c * src/common/hbverdsp.c * src/main/harbour.c * src/pp/hbpp.c * src/rtl/version.c * src/vm/cmdarg.c * utils/hbi18n/hbi18n.prg * utils/hbmk2/hbmk2.prg + extract last commit date/time/author/email via Git, rather than ChangeLog.txt. This of course only works when building Harbour from a local Git repository and git tool present in PATH. Otherwise (tarball or svn gateway) it will fall back to read these from ChangeLog.txt as before, and the commit ID (hash) will be empty. A build script can still manually create include/_repover.txt and fill it with the proper information. + include commit id (hash) and formatted commit revision (date) in Version() value and harbour executable banner * renamed symbols to reflect above and previousl recent changes: hbver.ch HB_VERSION_CHANGELOG_ID -> HB_VERSION_ID (commit hash) HB_VERSION_CHANGELOG_LAST -> HB_VERSION_COMMIT_INFO C API: hb_verRevision() -> hb_verCommitRev() hb_verChangeLogLastEntry() -> hb_verCommitInfo() hb_verChangeLogID() -> hb_verCommitID() internal: HB_VER_CHLID -> HB_VER_COMMIT_ID HB_VER_REVID -> HB_VER_COMMIT_REV HB_VER_LENTRY -> HB_VER_COMMIT_INFO Some of these are protected by HB_LEGACY_LEVEL4, some with HB_LEGACY_LEVEL5, but these branches are not supported anymore and not even tested. ; all above ensures that the build process works properly without a ChangeLog.txt, and thus is also resilient to missing ChangeLog.txt or entries being in the wrong order. Also see issue https://github.com/vszakats/hb/issues/11 It also gives way to dropping ChangeLog.txt altogether and replacing it with dynamic call, i.e.: git log This in turn makes Pull Requests much more usable and commits easier to make for contributors. (so far all Pull Requests and vaste majority of submitted patches were missing a ChangeLog.txt update) This is also the norm is nearly all projects out there. ; TODO: Rethink the content of HB_VERSION_COMMIT_INFO. It is ATM redundant and contains personal information of last committer burnt into each executable built with Harbour, which is not ideal. [DONE] ; TODO: Update nightly script to generate _reporev.txt manually to make the resulting binaries identifiable by commit hash. * utils/hbmk2/hbmk2.prg * minor code generalization 2014-04-12 11:53 UTC+0200 Viktor Szakats * .gitignore ! added /include/_repover.txt to Git ignore list 2014-04-11 23:04 UTC+0200 Viktor Szakats * config/global.mk * src/pp/Makefile * src/pp/hbpp.c + embed Git commit hash in hbverbld.h (in HB_VER_CHLID) hb_Version( HB_VERSION_CHANGELOG_ID ) will return it on .prg level. It's the value that uniqely identifies a Git source repository state. The old ChangeLog.txt hash is now dropped. NOTE: It will be left empty if using a source tarball/zip instead of an actual Git repository, or if git CLI tool is not available. You can create /include/_repover.txt manually and include the hash if you have the value from another source. ; TODO: Rename HB_VER_CHLID/HB_VERSION_CHANGELOG_ID/hb_verChangeLogID() to reflect the new content. [DONE] * config/global.mk % minor optimization * contrib/hbformat/utils/hbformat.prg * contrib/hbnetio/utils/hbnetio/hbnetio.prg * contrib/hbnetio/utils/hbnetio/netiomgm.hb * extras/hbdoc/hbdoc.prg * utils/hbi18n/hbi18n.prg * utils/hbmk2/hbmk2.prg + include Git commit hash in version banners + synced version banner across all CLI tools * .gitattributes * ChangeLog.txt - deleted useless embedded version hash Id from ChangeLog.txt 2014-04-11 17:36 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/gtqtc/gtqtc.h * contrib/gtqtc/gtqtc1.cpp * overload inputMethodEvent() in console object and insert commitString() data into GT keyboard input queue. It's necessary for Android working with SoftwareInputPanel and it fixes problem with eaten standard characters. QT documentation says that QInputMethodEvent are generated only when Qt::WA_InputMethodEnabled attribute is set but tests shows that it's not true and these events are generated instead of keyPress/keyRelease ones for simple text input. CTRL modifier, ESC, INS, HOME, END, PGUP, PGDN and Fn keys still does not work with GTQTC in Android builds. * src/rtl/tbrowse.prg ! fixed compilation with HB_BRW_STATICMOUSE ! do not cover dummy ivar with HB_COMPAT_C53 macro * minor simplification * src/vm/arrays.c * removed old commented code not used with current GC 2014-04-11 01:56 UTC+0200 Viktor Szakats * win-make.exe + updated to 3.99.90 from this package: https://sourceforge.net/projects/mingwbuilds/files/host-windows/releases/4.8.1/32-bit/threads-win32/sjlj/x32-4.8.1-release-win32-sjlj-rev5.7z/download * contrib/hblzf/3rd/liblzf/lzf.hbp * contrib/hblzf/hblzf.hbp * follow project URL redirect 2014-04-10 22:58 UTC+0200 Viktor Szakats * contrib/3rd/sqlite3/sqlite3.hbp * contrib/hbsqlit3/hbsqlit3.hbp * contrib/sddsqlt3/sddsqlt3.hbp * restored https 2014-04-10 02:09 UTC+0200 Viktor Szakats * package/mpkg_win_nightly.bat * README.md + specify Windows 7 as minimum Windows version required for building Harbour, now that Windows XP has no more official support. * contrib/3rd/sqlite3/sqlite3.hbp * contrib/hbsqlit3/hbsqlit3.hbp * contrib/sddsqlt3/sddsqlt3.hbp * https -> http for sqlite.org * extras/gtwvw/docs/whatsnew.txt * cleanup 2014-04-09 22:27 UTC+0200 Viktor Szakats * src/3rd/pcre/Makefile * src/3rd/pcre/* - src/3rd/pcre/sjarmth2.c - src/3rd/pcre/sjarmv5.c + src/3rd/pcre/sjarm32.c + src/3rd/pcre/sjarm64.c + src/3rd/pcre/sjarmt2.c + src/3rd/pcre/sjmips64.c + src/3rd/pcre/sjspar32.c + src/3rd/pcre/sjsparc.c + src/3rd/pcre/sjtil64.c + src/3rd/pcre/sjtilenc.c * updated pcre lib 8.34 -> 8.35 2014-04-09 20:41 UTC+0200 Viktor Szakats * contrib/hbcurl/core.c * contrib/hbcurl/hbcurl.ch + added upcoming 7.37.0 features 2014-04-08 10:59 UTC+0200 Viktor Szakats * contrib/3rd/sqlite3/sqlite3.hbp * contrib/3rd/sqlite3/* * sqlite3 update 3.8.4.2 -> 3.8.4.3 * contrib/hbcurl/tests/hbmk.hbm + link with hbtip 2014-04-05 13:34 UTC+0200 Viktor Szakats * CONTRIBUTING.md * README.md * links 2014-04-03 14:26 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbnetio/netiosrv.c * fully consume RPC messages even if RPC is disabled. It allows to continue client connection in such case and process next messages. 2014-04-03 12:17 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbnetio/netiosrv.c ! added missing condition to interrupt broken client connections 2014-04-02 22:52 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbnetio/netiosrv.c ! fixed very bad bug in one of recent modifications which completely broke all servers using early authentication by netio_VerifyClient() 2014-04-02 12:46 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/filebufd.c * src/rtl/iousr.c * slightly modified code to pacify warnings in some older GCC versions * contrib/gtwvg/gtwvg.hbx * regenerated with new function 2014-04-02 08:31 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/vm/hashes.c ! added missing HB_STACK_TLS_PRELOAD 2014-04-01 14:38 UTC+0200 Viktor Szakats * bin/commit.hb * config/postinst.hb * utils/hbmk2/hbmk2.prg % avoid unnecessary ASort() codeblocks * contrib/hbexpat/core.c % optimized out local var after upstream patch (similarly to hbcurl/core.c) * contrib/hbnf/adessort.prg * avoid split lines 2014-04-01 12:33 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/filebuf.c ! unlock HVM stack before locking local mutex and calling hb_fs*() functions which also unlocks HVM. It fixes possible deadlock condition when hb_gcAll( .T. ) is executed. * include/hbapi.h * src/vm/garbage.c ! changed mark function semantic. Adding support for user defined mark function I created race condition in MT GC code. It happens because blocks marked as deleted were not scanned by GC mark code so their subitems where not accessible. To fix it we have to change mark function semantic. Now mark function can be executed also for blocks currently deleted. It means that GC block destructor should clean references to just removed items and subblocks. The best place to make it is clearing pointers to GC blocks just after hb_itemRelease() or hb_gcRefFree(). It is save to clean the reference just before hb_itemRelease() or hb_gcRefFree() but only for the single block passed to these functions. It is not save to clear reference to more then one block and then execute above functions. + check reference count after destructor execution for all blocks not only arrays - warning it may exploit some wrong C code. - removed not longer used hb_gcRefCheck() function. * include/hbvm.h * src/vm/hvm.c + added new internal function hb_vmLockForce() ! fixed to mark GC blocks with active threads * src/vm/thread.c * include/hbthread.h % modified sync mutexes used by xBase++ signal class emulation to not use item array internally * updated mutex destructor to new GC mark semantic ! mark GT items if GT is bound with thread item ! fixed mutex notify/subscribe code to not change GC items when HVM stack is unlocked ! use hb_vmLockForce() to eliminate potential deadlock + added new C function hb_threadEnterCriticalSectionGC(). It should be used instead of hb_threadEnterCriticalSection() in code which manipulates GC items inside critical section. It's slower but eliminates possible deadlock condition. Please remember that remember that both functions cannot be used for the same mutex. So if it's necessary to use hb_threadEnterCriticalSectionGC() in one place then it has to be used in all others when the same mutex is locked. * src/vm/arrays.c * src/vm/codebloc.c * src/vm/hashes.c * src/rtl/hbgtcore.c * contrib/hbcurl/core.c * contrib/hbexpat/core.c * updated destructors to new GC mark semantic * contrib/hbxpp/dllx.c ! fixed destructor for pointer item created by DllPrepareCall() Now it respects reference counter. ; added note about real behavior of library handle destructor, I haven't changed existing code behavior but maybe it should be done. * contrib/xhb/hbserv.c * src/debug/dbgentry.c * src/rdd/wacore.c ! fixed possible deadlocks by using hb_threadEnterCriticalSectionGC() instead of hb_threadEnterCriticalSection(). * contrib/hbmemio/memio.c ! slightly modified hb_memfsDirectory() code to avoid race condition without using hb_threadEnterCriticalSectionGC() * src/vm/fm.c % reduce the lock range in HB_FM_STAT builds * src/rtl/hbsocket.c ! added missing HVM stack unlocking in hb_socketSelect() function * src/rtl/gtxwc/gtxwc.c ! added few missing locks for version compiled with HB_XWC_XLIB_NEEDLOCKS * src/rdd/dbtotal.prg * allow to use symbols instead of codeblocks * modified Harbour extension which uses ordKey() as default group signature to work also without index. In such case all records are summarized into single one. ; Most of above modifications were critical for stability of MT programs. They should allow to activate GC in any place. ; [vszakats] converted C++ comments to #if 0 block in arrays.c 2014-03-31 01:20 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + dot prompt function name completion on <Tab> key (code is rough and probably misses some cases) 2014-03-29 15:15 UTC+0100 Viktor Szakats * contrib/hbcurl/tests/gmail.prg % minor simplification 2014-03-29 02:50 UTC+0100 Viktor Szakats * src/3rd/tiff/Makefile * src/3rd/tiff/*.c * libtiff 4.0.3 -> 4.0.4devel-2013-11-30 with various critical security fixes [ cvs -z3 -d:pserver:cvsanon@cvs.maptools.org:/cvs/maptools/cvsroot co -P libtiff ] 2014-03-29 02:42 UTC+0100 Viktor Szakats * contrib/xhb/decode.prg * extras/httpsrv/_cgifunc.prg * package/harbour.spec * src/rdd/dbtotal.prg * src/rdd/usrrdd/rdds/*.prg * cleanups 2014-03-29 01:17 UTC+0100 Viktor Szakats * src/rdd/usrrdd/rdds/arrayrdd.prg ! hb_Decode(): fixed condition always failing due to typo * contrib/xhb/decode.prg * synced with duplicate copy in src/rdd/usrrdd/rdds/arrayrdd.prg * src/rdd/usrrdd/rdds/arrayrdd.prg * src/rdd/usrrdd/rdds/dbtcdx.prg * src/rdd/usrrdd/rdds/fptcdx.prg * src/rdd/usrrdd/rdds/logrdd.prg * src/rdd/usrrdd/rdds/rlcdx.prg * src/rdd/usrrdd/rdds/smtcdx.prg * src/rdd/usrrdd/rdds/vfpcdx.prg % use SWITCH, merge assignment into IF, other minors * minor formatting, cleanups * tests/usrrdd/exlog.prg * use #if 0 * utils/hbmk2/hbmk2.prg + apply -fixcase to DYNAMIC statements 2014-03-28 20:17 UTC+0100 Viktor Szakats * contrib/hbgd/gdbarcod.prg * contrib/xhb/trpc.prg % deleted unused variables after prev optimizations 2014-03-28 20:06 UTC+0100 Viktor Szakats * bin/commit.hb * contrib/gtwvg/paint.prg * contrib/gtwvg/parthdlr.prg * contrib/hbct/getinfo.prg * contrib/hbtip/client.prg * contrib/hbtip/thtml.prg * src/debug/debugger.prg * src/rdd/usrrdd/rdds/hscdx.prg * src/rtl/gui.prg * src/rtl/objfunc.prg * utils/hbmk2/hbmk2.prg % use hb_AScan() with search value instead of AScan() with a block * contrib/hbtip/thtml.prg ! fixed AScan() calls with array/object search values (result of hidden extensions imported from xhb) * contrib/xhb/ttable.prg % use AScan() without block for numeric values 2014-03-28 19:05 UTC+0100 Viktor Szakats * contrib/hbcurl/tests/gmail.prg * extras/gfspell/spell.prg * tests/hsx.prg ! avoid AScan() with SET EXACT dependent search parameter * utils/hbmk2/hbmk2.prg + made SET EXACT ON the default setting for scripts and dot prompt this introduces an INCOMPATIBILITY compared to Cl*pper and previous versions. hbshell_Clipper() call resets it to legacy defaults. Use hb_LeftEq() to mimic '=' operator in SET EXACT OFF mode. * include/hbapi.h * src/common/hbver.c + added hb_iswin8() C level API * contrib/hbwin/wapi_misc.c + call LoadLibraryEx() hardened with LOAD_LIBRARY_SEARCH_SYSTEM32 on Win8 and newer * contrib/hbgd/gdbar.prg * contrib/hbgd/gdbarcod.prg % use hb_LeftEq() * src/rdd/usrrdd/rdds/hscdx.prg % optimizations * contrib/gtwvg/class.prg * contrib/hbformat/hbfmtcls.prg * extras/httpsrv/uhttpd.prg * avoid split lines for greppability * tests/db_brows.prg * fixed Hungarian notation for a variable 2014-03-28 17:11 UTC+0100 Viktor Szakats * contrib/gtwvg/class.prg * contrib/gtwvg/paint.prg * contrib/gtwvg/parthdlr.prg * contrib/hbblat/blatcls.prg * contrib/hbgd/gdbarcod.prg * contrib/hbhttpd/core.prg * contrib/hbmisc/fcomma.prg * contrib/hbmysql/tmysql.prg * contrib/hbnf/aredit.prg * contrib/hbtip/thtml.prg * contrib/xhb/cstruct.prg * contrib/xhb/decode.prg * contrib/xhb/trpc.prg * contrib/xhb/ttable.prg * extras/gfspell/spell.prg * extras/gtwvw/tests/cbtest6.prg * extras/gtwvw/tests/drawimg.prg * extras/guestbk/_cgi.prg * extras/guestbk/_inifile.prg * extras/hbvpdf/core.prg * src/debug/debugger.prg * src/rdd/usrrdd/rdds/arrayrdd.prg * src/rdd/usrrdd/rdds/hscdx.prg * src/rtl/listbox.prg * src/rtl/ttopbar.prg * tests/inifiles.prg % optimized AScan() calls followed by an IF * formatting 2014-03-28 13:44 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + added hbiousr.ch 2014-03-28 13:09 UTC+0100 Viktor Szakats * src/rtl/memoedit.prg + MemoEdit(): allow BLOCK and SYMBOL types for user callbacks (only in the default, non-strict mode) ! MemoEdit(): fixed to only handle certain types of events in ME_INIT stage in harmony with Cl*pper documentation ! MemoEdit(): fixed to not get into an infinite loop on initialization when user callback is returning unhandled value https://github.com/harbour/core/issues/21 ! MemoEdit()/HBMemoEditor():KeyboardHook(): fixed to fall back to default handling of K_ESC if getting called recursively https://github.com/harbour/core/issues/21 + HBMemoEditor():HandleUserKey(): now returns whether the event was handled (as logical value) (previously: Self) [INCOMPATIBLE] * fixed some misleading variable names ; NOTE: I didn't extensively test for side-effects so regressions are possible * contrib/xhb/xhbmemo.prg + xhb_MemoEdit(): allow BLOCK and SYMBOL types for user callbacks * contrib/hbpgsql/rddcopy.c * formatting ! deleted my (copypasted) copyright * src/rtl/teditor.prg % minor cleanups 2014-03-28 01:35 UTC+0100 Viktor Szakats * package/harbour.rb * updated head URL * package/harbour.spec ! fixed cyrillic text destroyed a few years ago * deleted long time resolved FIXME + use https 2014-03-27 22:49 UTC+0100 Viktor Szakats * contrib/hbcurl/core.c ! typos in curl 7.36.0 branch 2014-03-27 20:28 UTC+0100 Viktor Szakats * contrib/hbcurl/tests/gmail.prg * contrib/hbtip/tests/gmail.prg * cleanups 2014-03-27 17:03 UTC+0100 Viktor Szakats * contrib/hbcurl/tests/gmail.prg + download cacert.pem automatically 2014-03-27 16:13 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbpgsql/rddcopy.c ! fixed typos in my recent modification and potential memory corruption and/or wrong output due to ugly hack for last field terminator in old code. Thanks to Aleksander Czajczynski for reporting the problem. 2014-03-27 15:03 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/rddads/ads1.c * do not call memset() with zero length * include/hbapi.h * src/vm/fm.c + added new FM statistic C function: const char * hb_xinfo( void * pMem, HB_USHORT * puiLine ); * src/rtl/filebufd.c * src/rtl/iousr.c * modified casting to pacify more restrictive strict aliasing warnings * src/vm/garbage.c * minor formatting 2014-03-27 12:37 UTC+0100 Viktor Szakats * contrib/3rd/sqlite3/sqlite3.hbp * contrib/3rd/sqlite3/* * sqlite3 update 3.8.4.1 -> 3.8.4.2 * tests/db_brows.prg % optimizations 2014-03-27 02:57 UTC+0100 Viktor Szakats + contrib/hbcurl/tests/gmail.prg + added example for sending email via SMTPS using libcurl * src/rdd/dbfcdx/dbfcdx1.c * use #if 0 2014-03-27 01:15 UTC+0100 Viktor Szakats * doc/en/nation.txt ! various fixes around NationMsg() docs 2014-03-26 14:30 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * utils/hbtest/rt_class.prg * updated to follow modified RTE codes 2014-03-26 14:10 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/vm/garbage.c ! added protection for activating GC from thread with unlocked HVM stack when other thread is already executing GC passes. Such situation does not happen in core code and the protections is only just in case. * src/vm/hvm.c ! do not release HVM thread STOP signal when GC mark pass is activated. It was very serious bug which could cause memory corruption when thread unlocked HVM stack what allow to start GC mark pass by other thread and then locked HVM and begin to change complex variables still scanned by the GC thread. This problem have existed from the beginning when I committed initial version of Harbour MT support. I do not remember why I added code to remove the STOP signal - probably I was experimenting with some new things working on Harbour MT code and I forgot to deactivate it. NOTE: 3rd party developers who use GC collectible pointer items must not activate any PRG code execution inside their mark functions. 2014-03-25 15:59 UTC+0100 Viktor Szakats * src/rtl/vfile.c ! fix to previous interface resync fixed https://github.com/vszakats/hb/issues/10 2014-03-24 23:23 UTC+0100 Viktor Szakats * contrib/hbmemio/memio.c * contrib/hbnetio/netiocli.c * contrib/hbnetio/netiosrv.c * include/hbapifs.h * src/rtl/filebuf.c * src/rtl/filebufd.c * resynced the virtual I/O driver's binary interface with upstream It means the fDateTime parameter is now dropped from the Directory method. Instead in this fork, hb_vfDirectory() will unconditionally return a DATETIME type in F_DATE array position, this is an extension compared to upstream. * src/codepage/cp_950.c * src/codepage/cp_big5.c * src/codepage/cp_gbk.c * src/codepage/cp_u16le.c * src/rtl/cdpapi.c * whitespace 2014-03-24 23:07 UTC+0100 Viktor Szakats * include/hbiousr.ch * src/rtl/iousr.c * tests/iotcp.prg * formatting, indenting, casing, https fixes for new upstream files * contrib/hbmisc/fcomma.prg % deleted unnecessary parentheses 2014-03-25 00:38 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * tests/iotcp.prg ! fixed typo in macro name - thanks to Itamar for the info 2014-03-24 22:19 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/Makefile + include/hbiousr.ch * src/rtl/Makefile + src/rtl/iousr.c + added module for writting Harbour FILE IO redirectors at PRG level + tests/iotcp.prg + example code for FILE IO redirector written in PRG. It's IOTCP and gives exactly the same functionality as TCP redirector in contrib which is written in C. * src/vm/runner.c % modified internal structure to eliminate some memory allocations * contrib/hbpgsql/rddcopy.c % small simplification 2014-03-21 16:35 UTC+0100 Viktor Szakats * src/rtl/achoice.prg + ACHOICE(): accept SYMBOL type for xUserFunc parameter * src/rdd/dbf1.c * src/rdd/dbsql.c * src/rtl/dbedit.prg * src/rtl/gtchrmap.c * src/rtl/hbsocket.c * formatting * use #if 0 2014-03-21 12:38 UTC+0100 Viktor Szakats * contrib/gtwvg/class.prg * contrib/hbmisc/hbedit.prg * contrib/hbxpp/tthreadx.prg * extras/gtwvw/tests/cbtest6.prg * extras/gtwvw/tests/ebtest7.prg * extras/gtwvw/tests/wvwtest9.prg * extras/hbdoc/hbdoc.prg * src/rtl/checkbox.prg * src/rtl/getsys.prg * src/rtl/listbox.prg * src/rtl/menuto.prg * src/rtl/pushbtn.prg * src/rtl/radiobtn.prg * src/rtl/radiogrp.prg * src/rtl/scrollbr.prg * src/rtl/tbrowse.prg * src/rtl/tget.prg * src/rtl/tgetint.prg * src/rtl/tgetlist.prg * src/rtl/tmenuitm.prg * src/rdd/dbtotal.prg * src/rdd/usrrdd/rdds/logrdd.prg * tests/db_brows.prg * utils/hbmk2/hbmk2.prg + accept SYMBOL type where CODEBLOCKs are accepted ; with this, only these features are still restricted to CODEBLOCKs: RDD (except __dbTotal() and USRRDDs), AEVAL(), CLASS METHODs * src/debug/dbgtarr.prg * src/debug/dbgthsh.prg * src/debug/dbgtobj.prg ! fixed to allow editing of CODEBLOCK types in hash/array/object elements as it was allowed in single variables % optimizations * contrib/hbxpp/tthreadx.prg ! fixed formatting, indenting, casing * contrib/hbsqlit3/core.c * extras/gtwvw/wvwcheck.c * extras/gtwvw/wvwfuncs.c * extras/gtwvw/wvwpush.c * extras/gtwvw/wvwstbar.c ! unlock internal CODEBLOCK checks to allow SYMBOL types 2014-03-21 11:36 UTC+0100 Viktor Szakats * extras/gtwvw/gtwvwd.c * extras/gtwvw/wvwcheck.c * extras/gtwvw/wvwedit.c * extras/gtwvw/wvwfuncs.c * extras/gtwvw/wvwpush.c * extras/gtwvw/wvwstbar.c + accept SYMBOL type where CODEBLOCKs are accepted ! fixed active mingw warnings * tests/flock.prg * derive lock filename from source filename 2014-03-21 03:37 UTC+0100 Viktor Szakats * src/rtl/errapi.c * src/rtl/idle.c * src/rtl/setkey.c * src/vm/asort.c + accept SYMBOL type where CODEBLOCKs are accepted: ERRORBLOCK(), HB_IDLEADD(), SETKEY(), ASORT() * src/rdd/usrrdd/usrrdd.c % use HB_IS_EVALITEM() * contrib/hbexpat/tests/tohash.prg + one more test 2014-03-21 02:58 UTC+0100 Viktor Szakats * src/rtl/hbgtcore.c * src/rtl/hbi18n1.c * src/rtl/math.c * src/rtl/setkey.c * src/vm/hashfunc.c + accept SYMBOL type where CODEBLOCKs are accepted: HB_GTI_NOTIFIERBLOCK HB_I18N_PLURALFORM() HB_MATHERBLOCK() HB_SETKEY(), HB_SETKEYARRAY() HB_HMERGE(), HB_HEVAL(), HB_HSCAN() * contrib/gtwvg/gtwvgd.c * contrib/gtwvg/wvgcore.c * contrib/gtwvg/wvgcuig.c * contrib/gtwvg/wvgutils.c * contrib/gtwvg/wvgwing.c * contrib/hbamf/amfdec.c * contrib/hbamf/amfenc.c * contrib/hbpgsql/rddcopy.c * contrib/hbzebra/coredraw.c * contrib/rddads/adsfunc.c * contrib/xhb/dbf2txt.c * contrib/xhb/hbserv.c + accept SYMBOL type where CODEBLOCKs are accepted WVG_SETGOBJDATA(), WVG_OBJECT(), WVT_CREATEDIALOGDYNAMIC(), WVT_CREATEDIALOGMODAL() WVG_CHOOSEFONT(), WVG_SETWINDOWPROCBLOCK(), AMF3_DECODE() (debug), AMF3_FROMWA() HB_PQCOPYFROMWA(), HB_ZEBRA_DRAW(), ADSREGCALLBACK(), DBF2TEXT(), HB_PUSHSIGNALHANDLER() * src/rtl/hbinet.c * src/vm/thread.c * contrib/hbwin/axcore.c * contrib/hbwin/hbolesrv.c * use HB_IT_EVALITEM instead of ( HB_IT_BLOCK | HB_IT_SYMBOL ) * utils/hbmk2/hbmk2.prg ! rtlnk_read(): do not change input filename's extension to .lnk if it already has an extension. QUESTION added about this, because original code intent was ambiguous (it checked for empty extension, but unconditionally set it anyways). * cleanups, minor optimizations * tests/flock.prg * use less cryptic extension for lock file * tests/rto_get.prg * tests/rto_tb.prg * tests/speedtst.prg * use double quotes * tests/video.prg * cleanup 2014-03-20 14:59 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/filesys.c ! added workaround for offset returned by FSeek( hDir, 0, FS_END ) for directories handles in some *nixes [see https://github.com/harbour/core/pull/59] 2014-03-20 12:48 UTC+0100 Viktor Szakats * contrib/hbformat/hbfuncs.prg ! do not call hb_MemoRead() with an empty filename Referencing https://github.com/harbour/core/pull/59 * contrib/gtwvg/wvgcuig.c % deleted unnecessary parenthesis after last patch * tests/for.prg * minor 2014-03-20 11:24 UTC+0100 Viktor Szakats * src/rtl/filebuf.c ! applied local modification to upstream modification * tests/for.prg * tests/ipclnt.prg * tests/ipsvr.prg * tests/langapi.prg * cleanups 2014-03-19 21:27 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib\gtwvg\hbgtwvg.ch + Added: #define GOBJ_OBJDATA_PICTUREEX 10 #define GOBJ_OBJTYPE_LABEL_EX2 21 * contrib\gtwvg\gtwgud.c * contrib\gtwvg\gtwvgd.c % Changed: WM_CLOSE firing K_ESC => HB_K_CLOSE in accordance rest of GTs. * contrib\gtwvg\wvgcuig.c % Changed: hb_wvg_RefreshRect() flag to erase background: FALSE => TRUE. % Changed: WVG_SETGOBJDATA() now returns lSUCCESS or lFAILURE. + Added: new CGUI object type - GOBJ_OBJDATA_PICTUREEX. + Added: new function Wvg_LabelEx2( nTop, nLeft, nBottom, nRight, aPxlOff, cLabel, nAlign, nEscapement, nTextColor, nBkColor, cFontFace, nFontHeight, nFontWidth, nFontWeight, nQuality, nCharSet, lItalics, lUnderline, lStrikeOut ) + Added: 7th parameter [<lDoNotScale>] in Wvg_Picture( nTop, nLeft, nBottom, nRight, aPxlOff, nSlot, lDoNotScale ) % Changed: hb_wvg_RenderPicture() code to honor scaled vs non-scaled rendering. * contrib\gtwvg\wvgutils.c ! Fixed: Wvt_ChooseFont() to return correctly array of 9 elements instead of 8. ; [vszakats] fixed destroyed UTF8 chars and whitespace @ EOL in ChangeLog ; [vszakats] fixed gtwvg.hbx with new function (BTW the new function name is not a very good choice, now there is: Wvg_Label, Wvg_LabelEx, Wvg_LabelEx2) 2014-03-20 04:01 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbapifs.h * src/rtl/filebuf.c * src/rtl/filebufd.c * contrib/hbcomio/comio.c * contrib/hbmemio/memio.c * contrib/hbnetio/netiocli.c * contrib/hbtcpio/tcpio.c * changed internal FILE IO API. Now all functions which do not operate on PHB_FILE receive pointer to function table (PHB_FILE_FUNCS) used by given redirector. * src/rtl/vfile.c * open wirtual files in READWRITE mode by default * translate FO_* attributes to FXO_* ones * src/vm/classes.c ! fixed typo in RTE message * src/vm/garbage.c * use different error code (1301/1302) for destructor RTE * src/rtl/gtxwc/gtxwc.c * src/rtl/gtxwc/gtxwc.h + added support for HB_GTI_FONTWEIGHT with HB_GTI_FONTW_* actions * contrib/hbpgsql/rddcopy.c ! fixed memory leak % encapsulate PQ calls in hb_vmUnlock()/hb_vmLock() to not stop other threads when GC is activated ; [vszakats] minor whitespace 2014-03-18 20:14 UTC+0100 Viktor Szakats * contrib/gtqtc/gtqtc.hbc ! fixed build-time dependency detection with qt5/darwin * contrib/gtqtc/gtqtc.hbp + added autodetection of qt5 with homebrew/darwin 2014-03-18 19:21 UTC+0100 Viktor Szakats * include/fileio.ch * include/hbapifs.h + added HB_FLX_* hb_FLock() constants to fileio.ch * mapped FLX_* constants to new HB_FLX_* ones in fileio.ch * comment whitespace cleanups * contrib/gtqtc/gtqtc.hbp ! fixed failure to get past dependency detection with qt5 (homebrew) on darwin ! fixed wrong package name suggestion with qt5/darwin * contrib/gtqtc/hbmk2_qtmoc.hb * refined some output messages * README.md * adjustments after deleting contrib details * tests/tflock.prg -> tests/flock.prg ! fixed to change blocking mode as designed % optimizations % deleted 't' ("test") from filename * tests/speedtst.prg * tests/statics.prg * tests/tbrowse.prg * tests/hbpptest/hbpptest.prg * contrib/hbpgsql/hbpgsql.h * formatting, cleanups * utils/hbtest/hbtest.prg % use __CLIPPER__ macro instead of runtime Version() call 2014-03-18 03:20 UTC+0100 Viktor Szakats * contrib/gtqtc/gtqtc.hbp ! attempt to fix a regression from 2014-03-17 12:32 UTC+0100 (reported in the unrelated issue https://github.com/vszakats/hb/issues/9) * contrib/make.hb + force English language hbmk2 output * src/rtl/gtxwc/gtxwc.c * formatting 2014-03-18 02:45 UTC+0100 Viktor Szakats * contrib/gtqtc/hbmk2_qtmoc.hb ! expect 'moc -v' output on both stderr and stdout (for Qt 5.x) attempt to fix https://github.com/vszakats/hb/issues/9 2014-03-18 02:19 UTC+0100 Viktor Szakats * extras/hbdroid/hbdroid.hbp * extras/hbusb/hbusb.hbp * extras/template/hbtpl.hbp + added -depurlbase= and -deppkgname= options * bin/commit.hb * deleted more exceptions from function case fixing * tests/hbpptest/_pp_test.prg * tests/hbpptest/hbpptest.prg * tests/keywords.prg * applied hbmk2 -fixcase. It doesn't seem to have any adverse effect on testing results/performance. * some formatting * package/harbour-wce.spec.in * package/harbour-win.spec.in * package/harbour.spec * use BuildRequires instead of BuildPrereq [UNTESTED] ! fix for https://github.com/harbour/core/issues/38 * src/rtl/objfunc.prg % use hb_defaultValue() * utils/hbmk2/examples/plug_bis.hb % minor optimization * extras/hbdoc/_genbase.prg * extras/hbdoc/_genhtml.prg * extras/hbdoc/_gentxt.prg * extras/hbdoc/_tmplate.prg * extras/hbdoc/hbdoc.prg * minor cleanups 2014-03-17 23:15 UTC+0100 Viktor Szakats * bin/3rdpatch.hb * config/globsh.mk * contrib/gtwvg/tests/_activex.prg * contrib/gtwvg/tests/_tbrowse.prg * contrib/gtwvg/tests/demowvg.prg * contrib/hbcurl/tests/ftp_uldl.prg * contrib/hbtip/tests/tipwget.prg * contrib/hbwin/wapi_wingdi.c * contrib/hbwin/win_shell.c * contrib/hbzebra/datamtrx.c * contrib/hbzebra/qrcode.c * extras/gtwvw/tests/wvwtest9.prg * extras/httpsrv/readme.txt * README.md * src/rtl/tgetint.prg * src/vm/extrap.c * URL cleanup 2014-03-17 22:37 UTC+0100 Viktor Szakats * README.md * bin/3rdpatch.hb * src/3rd/pcre/Makefile * src/rtl/sha1.c * src/rtl/sha1.h + replaced all FTP URLs with HTTP[S] ones (few ones remain, but only in 3rd party files) * contrib/hbcurl/tests/ftp_uldl.prg + use a less-commercial company's servers for demoing purposes * bin/commit.hb % deleted unused code after recent changes 2014-03-17 19:22 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + use clear language when multiple *nix package dependencies are hinted 2014-03-17 19:15 UTC+0100 Viktor Szakats * contrib/gtqtc/gtqtc.hbp + moved a remaining built-time NOTE from readme.txt to the .hbp file * README.md * contrib/hbcups/readme.txt * contrib/hbfbird/readme.txt * contrib/hbmysql/readme.txt * contrib/hbmzip/readme.txt * contrib/rddads/readme.txt - contrib/gtalleg/readme.txt - contrib/gtqtc/readme.txt - contrib/hbblat/readme.txt - contrib/hbbz2/readme.txt - contrib/hbcairo/readme.txt - contrib/hbcity/readme.txt - contrib/hbcurl/readme.txt - contrib/hbexpat/readme.txt - contrib/hbfimage/readme.txt - contrib/hbgd/readme.txt - contrib/hbgs/readme.txt - contrib/hbhpdf/readme.txt - contrib/hblzf/readme.txt - contrib/hbmagic/readme.txt - contrib/hbmlzo/readme.txt - contrib/hbmxml/readme.txt - contrib/hbodbc/readme.txt - contrib/hbpgsql/readme.txt - contrib/hbscrypt/readme.txt - contrib/hbsqlit3/readme.txt - contrib/hbssl/readme.txt - contrib/hbtinymt/readme.txt - contrib/hbxdiff/readme.txt - contrib/sddfb/readme.txt - contrib/sddmy/readme.txt - contrib/sddoci/readme.txt - contrib/sddodbc/readme.txt - contrib/sddpg/readme.txt - contrib/sddsqlt3/readme.txt - deleted build and dependency information from readme.txt files Now all these information is present inside project .hbp and .hbc files and options hopefully shown to the user intelligently at build-time. Package manager specific commands, like 'sudo apt-get install', 'brew install' and so on, will now have to be known by users, it's not shown anymore. Also missing is the one-liner description about the dependencies, this information is best obtained from the listed project URLs. 2014-03-17 19:01 UTC+0100 Viktor Szakats * contrib/gtqtc/gtqtc.hbp * contrib/hbbz2/hbbz2.hbp * contrib/hbcups/hbcups.hbp * contrib/hbcurl/hbcurl.hbm * contrib/hbexpat/hbexpat.hbp * contrib/hbfbird/hbfbird.hbp * contrib/hbfimage/hbfimage.hbp * contrib/hbodbc/hbodbc.hbp * contrib/hbpgsql/hbpgsql.hbp * contrib/hbsqlit3/hbsqlit3.hbp * contrib/hbssl/hbssl.hbm * contrib/sddfb/sddfb.hbp * contrib/sddpg/sddpg.hbp * contrib/sddsqlt3/sddsqlt3.hbp + added *nix package names for remaining contribs * utils/hbmk2/hbmk2.prg + moved HBMK_WITH_* built-in dependency config macro in front of the list (it's preferred method. HB_WITH_* flavor is for compatibility) 2014-03-17 17:37 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg ! do not output anything from -echo or -stop in --hbinfo mode * do not use the dependency name as a default *nix package name (it makes giving hints to users unnecesserily complicated, and in most cases it was not a very useful default in practice - packages names are all over the place and different enough in each pkg manager.) [INCOMPATIBLE] + 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). [TOTEST] * contrib/hbcairo/hbcairo.hbp * contrib/hbcity/hbcity.hbp * contrib/hbmagic/hbmagic.hbp * contrib/hbmysql/hbmysql.hbp * contrib/sddmy/sddmy.hbp + added -deppkgname= options based on readme.txt files * contrib/hbhpdf/hbhpdf.hbp * contrib/rddads/rddads.hbp * moved build comments from readme.txt to .hbp * contrib/gtqtc/hbmk2_qtmoc.hb * minor 2014-03-17 13:26 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + minor refinements to dependency hints ! added missing R_() enclosure for recently added regexps * contrib/gtqtc/hbmk2_qtmoc.hb + added QT version detection and verification * minor cleanups * contrib/gtalleg/gtalleg.hbc * contrib/hbcurl/hbcurl.hbc * contrib/hbssl/hbssl.hbc + added NOTE about link-time options (as per readme.txt) 2014-03-17 12:43 UTC+0100 Viktor Szakats * contrib/hbblat/hbblat.hbp * contrib/hblzf/hblzf.hbp * contrib/hbmlzo/hbmlzo.hbp * contrib/hbmxml/hbmxml.hbp * contrib/hbmzip/hbmzip.hbp * contrib/hbscrypt/hbscrypt.hbp * contrib/hbtinymt/hbtinymt.hbp * contrib/hbxdiff/hbxdiff.hbp + added -depurlbase options for contribs with locally hosted dependencies 2014-03-17 12:32 UTC+0100 Viktor Szakats * contrib/gtqtc/gtqtc.hbp * contrib/hbbz2/hbbz2.hbp * contrib/hbcairo/hbcairo.hbp * contrib/hbcity/hbcity.hbp * contrib/hbcups/hbcups.hbp * contrib/hbcurl/hbcurl.hbm * contrib/hbexpat/hbexpat.hbp * contrib/hbfbird/hbfbird.hbp * contrib/hbfimage/hbfimage.hbp * contrib/hbhpdf/hbhpdf.hbp * contrib/hbmysql/hbmysql.hbp * contrib/hbpgsql/hbpgsql.hbp * contrib/hbsqlit3/hbsqlit3.hbp * contrib/hbssl/hbssl.hbm * contrib/rddads/rddads.hbp * contrib/rddads/readme.txt * contrib/sddfb/sddfb.hbp * contrib/sddmy/sddmy.hbp * contrib/sddoci/readme.txt * contrib/sddoci/sddoci.hbp * contrib/sddpg/sddpg.hbp * contrib/sddsqlt3/sddsqlt3.hbp + added -depurlbase= options for remaining contribs * updated a few URLs 2014-03-17 11:54 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + added -deburlbase=/depurlbase= .hbp/.hbc option it allows to specify the dependency project's url(s) for user convenience and making the dependency information more self-contained (thus making an accompanying readme.txt redundant) + when showing dependency configuration options, also show which header file used for the dependency checking + assume pkg and cygwin package managers for sunos/cygwin platforms respectively * contrib/gtalleg/gtalleg.hbm * contrib/hbgd/hbgd.hbp * contrib/hbgs/hbgs.hbp + added -depurlbase= options with dependent project urls * contrib/gtalleg/readme.txt * contrib/hbcairo/readme.txt * contrib/hbcups/readme.txt * contrib/hbcurl/readme.txt * contrib/hbfimage/readme.txt * contrib/hbgd/readme.txt * contrib/hbssl/readme.txt * contrib/rddads/readme.txt * contrib/sddfb/readme.txt * contrib/sddmy/readme.txt * contrib/sddodbc/readme.txt * contrib/sddpg/readme.txt % deleted mpkg_rpm.sh options. this should be a private matter of the mpkg_rpm script, it seems better to untie it from actual contrib project description. 2014-03-17 03:25 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + show package name hints if dependency is missing + show envvars on *nix if dependency is missing and package names are not known * minor tweak for fetching list of dependency configuration envvars * contrib/gtalleg/gtalleg.hbm * contrib/hbgs/hbgs.hbp * contrib/sddodbc/sddodbc.hbp + added package-based dependency detection [EXPERIMENTAL] * contrib/hbgs/hbgs.hbp + show hint for special configuration envvar when required, but not set 2014-03-17 02:24 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + added package manager filters (deb, rpm, portage, homebrew, rudix, macports, fink) [TRANSLATION] * contrib/hbgd/hbgd.hbp + added package dependency for debian and homebrew * contrib/gtalleg/gtallegd.c * contrib/gtqtc/gtqtc1.cpp * contrib/gtwvg/gtwvgd.c + more sensible GT driver descriptions 2014-03-17 01:45 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + warn if users try to manually define envvars that are meant to be defined dynamically by hbmk2 itself (e.g. HBMK_HAS_QT5) [It's always wrong solution to tweak these manually.] [TRANSLATION] + show hint about setting HBMK_WITH_* (and any custom one, like HB_WITH_*) envvars if a dependency couldn't be found (this is shown only on non-*nix systems) [TRANSLATION] * minor change in how missing dependencies are listed in output * utils/hbmk2/Makefile % remove user -flto option if present, to favour a quicker build * tests/speedtst.prg ! spelling and formatting * tests/set.prg * formatting 2014-03-16 20:22 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/rddads/adsx.c * pacified warnings 2014-03-16 19:54 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbapifs.h * src/rtl/filebuf.c * move HB_FILE_TYPE_MAX definition to header file % include C stat() header only in *nix builds * src/pp/ppcore.c ! force stringify when illegal characters are included inside square brackets [] 2014-03-16 18:48 UTC+0100 Viktor Szakats * contrib/hbmisc/calldll.prg * extras/hbdoc/_genhtml.prg * tests/gfx.prg * tests/gfx2.prg * tests/gtchars.prg * tests/speedstr.prg * avoid PP directives with internal indenting ("# define") it doesn't play well with indenting tools * include/dbinfo.ch * include/hbsetup.ch * include/inkey.ch * include/ord.ch * avoid the C word * 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/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/hbgtcore.c + more sensible GT driver descriptions 2014-03-15 16:13 UTC+0100 Viktor Szakats * package/mpkg_win_nightly.bat * package/winuni/RELNOTES.txt % deleted references to blat (has better and portable alternative - hbcurl + hbtip), and allegro (a dead project) * utils/hbmk2/hbmk2.prg * minor cleanup 2014-03-15 14:25 UTC+0100 Viktor Szakats * include/harbour.hbx - deleted CLIPPER520/CLIPPER530 2014-03-15 14:15 UTC+0100 Viktor Szakats * src/vm/cmdarg.c % do not process CLIPPER envvar unless HB_CLP_STRICT is enabled (The only documented option that overlaps between Clipper and Harbour is //INFO, so while INCOMPATIBLE, in practice it's unlikely to cause any problem - the only undocumented one is //NOALERT) If you use Harbour exclusively, change CLIPPER envvar to HARBOUR to specify runtime envvar options. * src/vm/harbinit.prg % do not include compatibility symbols CLIPPER520/CLIPPER530 unless HB_CLP_STRICT is enabled (INCOMPATIBLE, if your code happens to rely on these symbols) 2014-03-15 14:11 UTC+0100 Viktor Szakats * src/common/hbverdsp.c % show non-default options only, in "build options" 2014-03-15 14:05 UTC+0100 Viktor Szakats * tests/clsscope.prg * tests/com.prg * tests/commouse.prg * tests/math.prg * tests/rto_get.prg * tests/speedtst.prg * tests/wcecon.prg * cleanups, formatting 2014-03-15 13:15 UTC+0100 Viktor Szakats * tests/aliaslck.prg * tests/big5_gen.prg * tests/clsccast.prg * tests/clsicast.prg * tests/clsscast.prg * tests/clsscope.prg * tests/cpinfo.prg * tests/foreach2.prg * tests/gtwin.prg * tests/gtxfnt.prg * tests/speedtst.prg * tests/uc16_gen.prg * tests/wcecon.prg * formatting fixes to new style 2014-03-15 12:36 UTC+0100 Viktor Szakats * bin/commit.hb * include/std.ch + use standard function name casing in std.ch (it's not much of a hit for pedantic compatibility, only a handful of legacy Cl*pper function names had to be touched) 2014-03-15 12:31 UTC+0100 Viktor Szakats + contrib/hbcity/readme.txt + contrib/hbscrypt/readme.txt + added local readme files * tests/aliaslck.prg * tests/big5_gen.prg * tests/clsccast.prg * tests/clsicast.prg * tests/clsscast.prg * tests/clsscope.prg * tests/cpinfo.prg * tests/foreach2.prg * tests/gtwin.prg * tests/gtxfnt.prg * tests/mt/*.prg * tests/multifnc/*.prg * tests/rddtest/rddtst.prg * tests/speedtst.prg * tests/uc16_gen.prg * tests/wcecon.prg * formatting (avoid proc/func abbrev in Harbour codebase) % use STATIC * bin/commit.hb * utils/hbmk2/hbmk2.prg * contrib/hbmzip/readme.txt * minor cleanups 2014-03-15 02:53 UTC+0100 Viktor Szakats * bin/commit.hb * reduced file exceptions as far as function name casing goes (it doesn't contradict 'new code style') * doc/xhb-diff.txt * tests/big5_gen.prg * tests/clsccast.prg * tests/clsicast.prg * tests/clsscast.prg * tests/clsscope.prg * tests/cpinfo.prg * tests/foreach2.prg * tests/mt/*.prg * tests/multifnc/*.prg * tests/rddtest/*.prg * tests/speedstr.prg * tests/speedtst.prg * tests/uc16_gen.prg * tests/wcecon.prg * normalized function name casing * some whitespace formatting ; TODO: finalize 'new code style' in these sources, it should probably mean enforcing full lowercase for commands/statements/operators and other fully uppercased keywords in current style, plus maybe allowing full lowercase function naming as an option. Other aspects like whitespace usage should be identical to current. (this will result in significanly less cognitive load and Shift key usage while typing code) 2014-03-15 02:25 UTC+0100 Viktor Szakats * bin/commit.hb + restored Harbour specific filename filter 2014-03-15 02:16 UTC+0100 Viktor Szakats * bin/commit.hb * use external hbmk2/hbrun call to implement case fixing functionality, so redundant logic could be removed from the script (untested) 2014-03-15 01:58 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + added new EXPERIMENTAL option -fixcase which will attempt to adjust ("normalize") casing of function calls according to .hbx files. Core functions and all functions belonging to active contribs/addons with an .hbx file are corrected. Function names are corrected even in comments, including ANSI comments in C files. It's not foolproof method and rather tailored for the Harbour codebase at this time. The source code is rather rudimentary, too. * bin/commit.hb ! fixed fixing function name casing in source files containing UTF-8 chars * contrib/hbformat/hbfuncs.prg * whitespace 2014-03-14 23:51 UTC+0100 Viktor Szakats * src/3rd/png/* * src/3rd/png/Makefile * src/3rd/png/png.dif * update libpng 1.6.9 -> 1.6.10 2014-03-14 23:43 UTC+0100 Viktor Szakats * contrib/3rd/sqlite3/sqlite3.hbp * contrib/3rd/sqlite3/* * sqlite3 update 3.8.3.1 -> 3.8.4.1 2014-03-14 23:03 UTC+0100 Viktor Szakats * contrib/hbssl/readme.txt + documented '-with openssl' pkg build option * debian/control * moved each contrib dependency to separate line + sorted 2014-03-14 22:56 UTC+0100 Viktor Szakats * contrib/hbssl/readme.txt + added *nix package names * contrib/sddmy/readme.txt + added deb/rpm mariadb package names * debian/control * sync with contribs * moved core dependencies to top 2014-03-14 22:24 UTC+0100 Viktor Szakats * contrib/sddmy/readme.txt * moved mariadb to top in OS X package list * README.md + added reference to per-contrib readme.txt * minor cleanup 2014-03-14 21:26 UTC+0100 Viktor Szakats * README.md * contrib/hbcups/readme.txt * contrib/hbfbird/readme.txt * contrib/hbfimage/readme.txt * contrib/hbmysql/readme.txt * contrib/hbmzip/readme.txt * contrib/rddads/readme.txt + contrib/gtqtc/readme.txt + contrib/hbbz2/readme.txt + contrib/hbcairo/readme.txt + contrib/hbcurl/readme.txt + contrib/hbexpat/readme.txt + contrib/hbgd/readme.txt + contrib/hbgs/readme.txt + contrib/hbhpdf/readme.txt + contrib/hblzf/readme.txt + contrib/hbmagic/readme.txt + contrib/hbmlzo/readme.txt + contrib/hbmxml/readme.txt + contrib/hbodbc/readme.txt + contrib/hbpgsql/readme.txt + contrib/hbsqlit3/readme.txt + contrib/hbssl/readme.txt + contrib/hbtinymt/readme.txt + contrib/hbxdiff/readme.txt + contrib/sddfb/readme.txt + contrib/sddmy/readme.txt + contrib/sddoci/readme.txt + contrib/sddodbc/readme.txt + contrib/sddpg/readme.txt + contrib/sddsqlt3/readme.txt + moved contrib specific links/settings to contrib specific readme.txt - contrib/hbmysql/diff-en.txt - contrib/hbmysql/diff-es.txt - deleted very old local changelogs 2014-03-14 19:17 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg ! fixed last minute change causing the logic implemented in 2014-03-12 02:18 UTC+0100 to not work ! changed above logic (gendef) to only kick-in when a .def file is specified in -depimplibs= option. This is to avoid gendef.exe crash on certain .dll inputs. (e.g. latest stable niXman build 4.8.1 with alleg42.dll) 2014-03-14 18:46 UTC+0100 Viktor Szakats * contrib/hbblat/readme.txt + contrib/gtalleg/readme.txt + as the next step to componentize contribs, I started moving contrib-specific information from /README.md to per-contrib readme.txt files, using a brief, but human-readable format. ; in hbblat, this replaces a static copy of the blat.exe help output, which was pointless anyway. ; After this is finished, the only remaining step for componentization is to deleted contrib references from package building scripts in /package and /debian; Ideally all non-core components that have 3rd party dependencies should be packaged separately. Even more ideally, these should be distributed as source, and built locally by a Harbour package manager. * bin/commit.hb * allow SVN/CVS Id in all files (still not allowed in Harbour source files though, except in /ChangeLog.txt) * README.md * contrib/hbwin/tests/ole_wmi.prg * contrib/hbblat/hbblat.hbc * minor cleanups 2014-03-13 18:40 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * contrib/rddads/adsx.c * implemented intermediate index creation in case ADS can process index FOR or WHILE condition. Ex., if requested index has WHILE condition supported by server, but index key expression is not supported (or codeblock is used), server side index is created using WHILE condition. This intermediate index later is used to create final index. This logic increases speed dramatically if WHILE condition was used to filter a few records from a large database using subindex. 2014-03-12 02:18 UTC+0100 Viktor Szakats * contrib/hbmysql/hbmysql.hbp * contrib/sddmy/sddmy.hbp + added (hbmk2-helped - see below) hack to create proper implib for MariaDB/x64 where the supplied COFF .lib causes GPF when running final apps linked with it. * restored ordering to pre-2013-12-13 11:48 UTC+0100 state * utils/hbmk2/hbmk2.prg + implib generation under mingw will now attempt to generate a .def file from .dll if COFF processing failed (or was force-skipped) and original .def file was not found, before falling back to using the .dll as implib as is. + implib generation under mingw will now skip processing COFF .lib with the same name as the .dll if -depimplibs= option is passed the source dll with a .def extension (hack) * message cleanups around msvc .def generation 2014-03-11 19:36 UTC+0100 Viktor Szakats * src/rtl/gtcgi/gtcgi.c * save and restore Windows Console CP on exit 2014-03-11 14:36 UTC+0100 Viktor Szakats * contrib/sddpg/core.c + contrib/sddpg/tests/test1.prg ! fixed to clear Harbour item for NULL values retrieved ! fixed GPF when doing dbAppend() + dbGoto() support + added test code (based on sddmy test) ; these were manually reimplemented/adapted based on Pull Request https://github.com/harbour/core/pull/57 2014-03-11 11:24 UTC+0100 Viktor Szakats * contrib/hbcomm/comm.prg % optimizations * contrib/make.hb ! updated comment 2014-03-12 00:18 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rdd/hbdbsort.c * casting * src/rtl/filesys.c + added additional method to extract file time in MS-Windows version of hb_fsGetFileTime() * include/hbapifs.h * src/rtl/vfile.c + added C functions to manipulate PRG level hb_vf*() file pointer items * include/hbapifs.h * src/rtl/filebuf.c + added C functions to create/extract file IO handle from raw file handle + added C functions to check if file IO handle points to local file * contrib/hbmzip/mzip.c * changed hb_fs*() API to hb_file*() API ! fixed file time setting in *nix builds 2014-03-11 09:38 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbdbsort.h * include/hbrddcdx.h * include/hbrddnsx.h * include/hbrddntx.h * include/hbsxfunc.h * src/rdd/dbfcdx/dbfcdx1.c * src/rdd/dbffpt/dbffpt1.c * src/rdd/dbfnsx/dbfnsx1.c * src/rdd/dbfntx/dbfntx1.c * src/rdd/dbsql.c * src/rdd/hbdbsort.c * src/rdd/hbsix/sxcompr.c * src/rdd/hbsix/sxsem.c * changed hb_fs*() API to hb_file*() API 2014-03-10 22:51 UTC+0100 Viktor Szakats * contrib/hbcomm/comm.prg * contrib/hbsms/sms.prg + use hb_comFindPort(). It simplified code, cleared a long time FIXME, and made these libs work better when used in parallel. ; I hope it's right, but not having a serial device, it's untested. * contrib/hbcomm/comm.prg * INCHR(): cleanup * contrib/hbcomm/tests/test.prg ! unicode fix * contrib/hbtpathy/telepath.prg % use hb_defaultValue() % optimizations * contrib/hbcomio/comio.c ! use FO_* constants instead of a magic number * https * contrib/hbcomio/hbcomio.hbp * adapted for this fork + contrib/hbcomio/hbcomio.hbx + added .hbx missed from mainstream patch 2014-03-10 18:59 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbtcpio/tcpio.c * use default timeout defined in initial hostname string in read/write operations * include/hbapicom.h * src/rtl/hbcom.c + added new C function: int hb_comFindPort( const char * pszDevName, HB_BOOL fCreate ); It check if given port name is already defined and if not and second parameter fCreate is TRUE then it allocates such port in one of last free slots. On success port number is returned. If port cannot be found or created 0 is returned. * include/harbour.hbx * src/rtl/hbcomhb.c + added new PRG function: hb_comFindPort( <cDeviceName> [, <lCreate> = .F. ] ) -> <nPort> * contrib/hbplist.txt + contrib/hbcomio/comio.c + contrib/hbcomio/hbcomio.hbc + contrib/hbcomio/hbcomio.hbp + added new Harbour FILE IO redirector. It recognizes and process names with "COM<n>:" prefix, in form like: COM<n>:[<com_params>] <n> is port number or port name prefixed with "$" character. <com_params> may contain serial port parameters like baud rate, stop and data bits, parity and flow control (XON,XOFF,CTS, RTS,DST,DTR). As delimiter comma "," is accepted. This redirector can be used in different subsystems using Harbour FILE IO and stream read/write operations, i.e. REQUEST HB_COMIO SET PRINTER TO COM2:38400,N81,XONXOFF can be used to connect to serial printers. Please remember that redirectors like NETIO can be used as wrapper to other redirectors so code like: pFile := hb_vfOpen( "NET:example.local:::COM1:9600,8N1" ) opens 1st serial port on the server and pFile := hb_vfOpen( "NET:example.local:::COM$/dev/ttyUSB0:9600,8N1" ) opens "/dev/ttyUSB0" serial device on the server. 2014-03-10 00:45 UTC+0100 Viktor Szakats * contrib/hbmlzo/3rd/minilzo/minilzo.hbp ! fixed to skip build in dyn mode. fixes long time 'Cannot export' errors * utils/hbmk2/hbmk2.prg ! fixed typo in logic disabling -fomit-frame-pointer since 2014-03-08 14:47 UTC+0100 2014-03-10 00:17 UTC+0100 Viktor Szakats * contrib/hbnetio/utils/hbnetio/netiomgm.hb ! fixed an unused var warning after 2014-03-09 18:19 UTC+0100 * contrib/hbcurl/core.c + contrib/hbcurl/date.c + contrib/hbcurl/escold.c + contrib/hbcurl/ver.c * contrib/hbcurl/hbcurl.hbm % split off some wrappers to separate sources 2014-03-09 18:20 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg ! fixed help text in prev 2014-03-09 18:19 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + added -doc and -docjson options. If followed by a string (or strings), hbmk2 will look it up and display (or output JSON) documentation for the given function[s]/command[s]. E.g.: hbmk2 -doc acopy [EXPERIMENTAL] [TRANSLATION] * src/rtl/listbox.prg ! ListBox():scroll() fixed to ignore non-numeric parameter (like Cl*pper) instead of an RTE * config/postinst.hb * contrib/hbnetio/utils/hbnetio/netiomgm.hb * src/debug/debugger.prg * src/rdd/usrrdd/rdds/logrdd.prg * src/rtl/browse.prg * src/rtl/readkey.prg * src/rtl/valtoexp.prg * tests/usrrdd/exlog.prg % optimizations * contrib/hbwin/win_reg.prg * use DO CASE * bin/commit.hb * allow tabs in .mft files * package/harbour.mft % minimized * utils/hbtest/hbtest.prg * utils/hbtest/rt_hvma.prg * utils/hbtest/rt_misc.prg * use 0d0 instead of 0d00000000 * doc/xhb-diff.txt * some func name casing * contrib/hbtip/thtml.prg * src/rtl/tbrowse.prg * src/rtl/tgetlist.prg * formatting 2014-03-08 14:47 UTC+0100 Viktor Szakats * config/cygwin/gcc.mk * config/wce/mingwarm.mk * config/win/mingw.mk * utils/hbmk2/hbmk2.prg % do not enable -fomit-frame-pointer in mingw/gcc versions where it's the default * contrib/hbnf/tempfile.prg ! ft_TempFil() do not leak a file handle if the 3rd param is passed, but not by reference * src/debug/debugger.prg * src/rtl/valtoexp.prg % use "0d0" instead of "0d00000000" in hb_CStr() and hb_ValToExp() for empty dates (it might be INCOMPATIBLE for code that relies on this specific string for empty dates) This was added this way in 2008-06-25 16:48 UTC+0200. If there was a specific reason to use eight zeroes instead of one, above can be reverted. % minor optimization around above * src/rtl/filesys.c * src/rtl/hbproces.c * pacify warnings about not using some system call retvals 2014-03-08 14:00 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/compiler/hbcmplib.c * src/rtl/filesys.c * src/rtl/gtcrs/gtcrs.c * src/rtl/hbproces.c * src/rtl/memofile.c * src/vm/runner.c * contrib/xhb/txtline.c * pacified warnings * contrib/hbmemio/memio.c ! fixed C&P typo 2014-03-07 20:10 UTC+0100 Viktor Szakats * src/rtl/filebufd.c ! adjusted for this fork * include/hbdefs.h * deleted unnecessary empty lines * src/common/hbver.c * deleted unnecessary parenthesis 2014-03-07 12:33 UTC+0100 Viktor Szakats * src/common/hbver.c * use https 2014-03-07 12:18 UTC+0100 Viktor Szakats * * * renamed hb_LeftIs() to hb_LeftEq() * renamed hb_LeftIsI() to hb_LeftEqI() 2014-03-06 22:35 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbtcpio/tcpio.c ! fixed local static function prototype * include/harbour.hbx * casing 2014-03-06 21:24 UTC+0100 Viktor Szakats * contrib/hbtcpio/tcpio.c ! use FO_* constants instead of a magic number 2014-03-06 21:16 UTC+0100 Viktor Szakats * src/vm/set.c ! fmt 2014-03-06 21:13 UTC+0100 Viktor Szakats * src/rtl/filebufd.c ! https 2014-03-06 21:07 UTC+0100 Viktor Szakats * contrib/hbtcpio/hbtcpio.hbp * adapted for this fork * contrib/hbtcpio/tcpio.c ! fixed typo causing compilation error ! https 2014-03-06 19:07 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/vm/set.c ! fixed freed memory access exploited by interactions between modifications in last few years. ! do not try to remove trailing ^Z char reading from the stream if FS_END seek reports 0. ! if possible open printer/alternate/extra output in write only mode to avoid problem on devices where read access is not available. * src/rtl/langapi.c * keep EN lang active after deinitialization * src/rtl/filesys.c ! fixed condition for file time refresh in *nix builds ! fixed file time setting in *nix builds * include/hbapifs.h * src/rtl/Makefile * src/rtl/filebuf.c + src/rtl/filebufd.c * renamed hb_fileRegister2() to hb_fileRegisterFull() + added new function hb_fileRegisterPart() which simplifies writing small FILE IO redirectors. * contrib/hbmemio/memio.c * contrib/hbnetio/netiocli.c * use hb_fileRegisterFull() * contrib/hbplist.txt + contrib/hbtcpio/hbtcpio.hbc + contrib/hbtcpio/hbtcpio.hbp + contrib/hbtcpio/hbtcpio.hbx + contrib/hbtcpio/tcpio.c + added new Harbour FILE IO redirector. It recognizes and process names with "tcp:" prefix, in form like: tcp:<host>:<port>[:<timeout>] It can be used in different subsystems using Harbour FILE IO and stream read/write operations, i.e. REQUEST HB_TCPIO SET PRINTER TO tcp:example.local:9100 can be used to connect to network printers using TCP direct printing. * utils/hbmk2/po/hbmk2.pt_BR.po ! fixed typo in translation ; [vszakats] this should be fixed on Transifex (even by the reporter) and synced here. 2014-03-05 11:59 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/debug/dbgentry.c ! added additional protection against recursive debugger activation. It should fix problem reported by Rafa. * src/rtl/fssize.c * use explicit open attributes. * src/rtl/copyfile.c ! reset error object between different RTE calls in __copyFile() ! copy file attributes only on *nix platforms. In Cl*pper __copyFile() does not copy attributes so maybe also in *nixes we should make the same. * contrib/xhb/xhbcopyf.c * changed hb_fs*() API to hb_file*() API. 2014-03-04 19:12 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/xhb/hbserv.c * pacified CLANG warning reported by Franček 2014-03-04 18:15 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/debug/debugger.prg * minor cleanup * src/rtl/copyfile.c ! fixed RTE after recent modification (#55) 2014-03-04 04:30 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/compiler/gencc.c ! pacified CLANG warning in -gc3 output (issue: https://github.com/harbour/core/issues/53) 2014-03-04 04:03 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/vm/set.c * src/vm/memvars.c * src/rtl/copyfile.c ! casting and pacified warnings 2014-03-04 01:56 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbchksum.h * src/rtl/hbmd5.c * changed C function: void hb_md5file( HB_FHANDLE hFile, char * digest ) to HB_BOOL hb_md5file( const char * pszFileName, char * digest ) Warning: [INCOMPATIBLE] * src/rtl/copyfile.c * src/rtl/fscopy.c * src/rtl/hbmd5.c * src/rtl/isprint.c * src/rtl/memofile.c * changed hb_fs*() API to hb_file*() API * contrib/hbnetio/netiocli.c ! fixed GPF when non attributes are passed to hb_fileDirectory() redirected to NETIO - thanks to Rolf for the info about the problem. * contrib/hbnetio/netiosrv.c ! allow to pass empty directory to hb_fileDirectory() redirected to NETIO 2014-03-04 00:08 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/vm/set.c ! added missing FXO_APPEND flag. It should fix https://github.com/harbour/core/issues/54. * src/vm/asort.c ! respect milliseconds part when timestamp values are compared in ASORT() Note: ASORT() does not use exact comparison so when mixed date and timestamp values are used only date is significant. Just like in: ASort( aValue, {|x, y| x < y } ) ; [vszakats] fixed date/timestamp comparisons compared to local 2014-02-27 01:40 UTC+0100 * src/rtl/filebuf.c ! fixed C&P typo. It should fix problem with SET PRINTER TO reported by Rolf. * src/rtl/hbgtcore.c ! added missing break after HB_GTI_VERSION 2014-03-03 00:45 UTC+0100 Viktor Szakats * src/vm/extrap.c + include exception parameters in win/x86 and win/x64 GPF info see: https://msdn.microsoft.com/library/aa363082 + show the two common exception names in win/x86 and win/x64 GPF info * deleted '0x' prefixes from exception info on CPU platforms that had them * utils/hbmk2/hbmk2.prg ! force non-CLI launch when -gui is used * contrib/hbssl/bio.c * contrib/hbssl/hbssl.hbx + added BIO_GET_CONN_INT_PORT() It's now fixed in OpenSSL, available in hbssl with OpenSSL 1.0.1 or upper * src/compiler/gencc.c + added FIXME comment with example code about non-cross compilable -gc3 C code generated in a rare case 2014-03-01 14:54 UTC+0100 Viktor Szakats * include/hbdate.h * src/common/hbdate.c ! restored fix 2013-08-16 13:42 UTC+0200 over the alternative solution from mainstream in 2013-08-22 19:06 UTC+0200 The latter caused hb_UTCOffset() to return wrong (and varying) values under darwin (OS X 10.9.2) * include/hbdefs.h * use #if 0 2014-02-28 21:28 UTC+0100 Viktor Szakats * contrib/gtwvg/tests/_tbrowse.prg * contrib/hbmysql/tests/test.prg * contrib/xhb/htmutil.prg * contrib/xhb/ttable.prg * doc/en/string.txt * doc/en/terminal.txt * extras/gtwvw/tests/prog0.prg * extras/gtwvw/tests/prog1.prg * extras/gtwvw/tests/prog2.prg * extras/gtwvw/tests/wvwtest9.prg * src/rdd/hbsix/sxcompat.prg * tests/newrdd.prg * tests/wvtext.prg % DBS_* constants, use FOR EACH, FieldBlock(), hb_default(), HB_ISSTRING() * code cleanups and optimizations 2014-02-28 16:50 UTC+0100 Viktor Szakats * contrib/hbhttpd/core.prg * contrib/hbmemio/memio.c * contrib/hbnf/tests/aeminlen.prg * extras/httpsrv/_session.prg * extras/httpsrv/uhttpd.prg * include/directry.ch * src/rtl/direct.c * tests/directry.prg - deleted HB_F_DATETIME a synonym for new F_DATE content, simply use F_DATE * doc/en/datetime.txt * use StrZero() for Year() * ChangeLog.txt * contrib/gtwvg/tests/_tbrowse.prg ! spelling 2014-02-28 00:00 UTC+0100 Viktor Szakats * include/harbour.hbx ! readded hb_VFReadLen() lost in merge * config/lang2po.hb * tests/langchk.hb * marked some code with HB_LEGACY_LEVEL4 * extras/guestbk/guestbk.prg ! hb_ntos() -> StrZero() for year value * tests/readhrb.prg * tests/wvtext.prg * use hex literals * use dbstruct.ch instead of literals + use proper box chars in wvtext browse subwindow % use FOR EACH, use FieldBlock() in wvtext * cleanups * contrib/gtwvg/tests/_tbrowse.prg * contrib/xhb/ttable.prg * extras/gtwvw/tests/prog0.prg * extras/gtwvw/tests/prog1.prg * extras/gtwvw/tests/prog2.prg * extras/gtwvw/tests/wvwtest9.prg * src/rtl/browdb.prg % dbSkip( 1 ) -> dbSkip() * tests/foreach.prg * Inkey( 0 ) -> WAIT * contrib/hbwin/tests/mapimail.prg * contrib/hbwin/tests/ole.prg * cleanups, formatting 2014-02-27 16:36 UTC+0100 Viktor Szakats * contrib/hbnetio/netiosrv.c * HB_VFDIRECTORY() to return timestamp when using hbnetio (there is only one mode when using VF so the protocol doesn't have to be changed) 2014-02-27 15:00 UTC+0100 Viktor Szakats * contrib/hbmemio/memio.c * src/rtl/direct.c * HB_DIRECTORY() updated to fill F_TIME with string time just like DIRECTORY() does. It wastes some resources, but seems more convenient this way. * contrib/hbwin/win_os.prg * restored to use Directory(), some code cleanup kept * src/rtl/vfile.c ! fixed build error after recent changes HB_VFDIRECTORY() will work like HB_DIRECTORY(), returing timestamp in F_DATE/HB_F_DATETIME (except hbnetio). This is not compatible with Harbour mainstream, till this feature is adopted there. * contrib/hbnf/aemaxlen.prg * contrib/hbnf/aeminlen.prg * ft_AEMaxLen()/ft_AEMinLen(): changed to disregard NIL values instead of considering them zero length. 2014-02-27 12:12 UTC+0100 Viktor Szakats * contrib/hbnf/aemaxlen.prg * contrib/hbnf/aeminlen.prg ! ft_AEMaxLen()/ft_AEMinLen(): fixed to not RTE when stumbling into a NIL value. Consider them zero length instead. * contrib/hbhttpd/core.prg * contrib/hbnf/tests/aemaxlen.prg * contrib/hbnf/tests/aeminlen.prg ! fixed to use directry.ch instead of literals * use hb_Directory() * tests/dbf.prg * extras/gfspell/spell.prg ! fixed to use directry.ch instead of literals * bin/3rdpatch.hb * contrib/hbnetio/utils/hbnetio/netiomgm.hb * contrib/hbtip/httpcli.prg * src/rtl/hbi18n2.prg * utils/hbmk2/hbmk2.prg % use return value of ASort() * contrib/hbosx/proxy.prg ! casing 2014-02-27 01:40 UTC+0100 Viktor Szakats * src/vm/asort.c ! ASORT(): fixed sorting timestamp types to also process the time, not just the date. * tests/directry.prg + sort by timestamp * contrib/hbwin/win_os.prg * use hb_Directory() (in win_osNetVRedirOk()) * extras/httpsrv/_session.prg % use hb_Directory() * extras/httpsrv/uhttpd.prg * use hb_Directory() * contrib/hbtip/ftpcli.prg * cleanups 2014-02-26 23:56 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/filebuf.c ! use hb_fsReadLarge()/hb_fsWriteLarge() instead of hb_fsRead()/hb_fsWrite() for hb_fileRead()/hb_fileWrite() 2014-02-26 17:36 UTC+0100 Viktor Szakats * include/directry.ch * tests/directry.prg * minor cleanups to previous 2014-02-26 17:28 UTC+0100 Viktor Szakats * contrib/hbmemio/memio.c * contrib/hbnetio/netiocli.c * contrib/hbnetio/netiosrv.c * include/directry.ch * include/harbour.hbx * include/hbapifs.h * src/common/hbffind.c * src/rtl/direct.c * src/rtl/filebuf.c * tests/directry.prg + added HB_DIRECTORY(). Similar to DIRECTORY() but it returns a DATETIME type in array position HB_F_DATETIME (equal to F_DATE at the moment), and leaves F_TIME as NIL. The positive side-effect is that it will now return millisecond granular timestamps on platforms that support it (win + certain *nixes) New code should use this. ; TODO: support is missing from hbnetio, it will always return old-style array, and the only way to fix this is to extend the binary protocol, so it'll have to be done in sync with mainstream. [UPDATE: NOT NECESSARY] * src/rtl/hbi18n1.c ! typos in comment * contrib/make.hb * deleted debug trace * tests/directry.prg * removed obsolete extra parameter for Directory() 2014-02-26 13:21 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * ChangeLog.txt * include/harbour.hbx * src/rtl/Makefile - src/rtl/xfile.c + src/rtl/vfile.c * renamed PRG functions HB_X*() to HB_VF*() * renamed PRG functions hb_vf[GS]etAttr() to hb_vfAttr[GS]et() * renamed PRG functions hb_vf[GS]etDateTime() to hb_vfTime[GS]et() * include/hbapifs.h * src/rtl/filebuf.c * src/rtl/fscopy.c * contrib/hbmemio/memio.c * contrib/hbnetio/netio.h * contrib/hbnetio/netiocli.c * contrib/hbnetio/netiosrv.c * renamed C functions hb_file[GS]etAttr() to hb_fileAttr[GS]et() * renamed C functions hb_file[GS]etFileTime() to hb_fileTime[GS]et() * contrib/hbnetio/netio.h * contrib/hbnetio/netiocli.c * contrib/hbnetio/netiosrv.c + added support for redirecting hb_vfConfig() to the server. NETIO does not use it anyhow NETIO works as full redirector to server system and it may be used on the server side. * include/harbour.hbx ! [vszakats] fixed casing of new hb_VF*() functions 2014-02-26 04:54 UTC+0100 Viktor Szakats * contrib/make.hb - contrib/hbformat/projects.hbp - contrib/hbnetio/projects.hbp + contrib/hbformat/makesub.txt + contrib/hbnetio/makesub.txt ! previous method didn't work out (failing dyn mode and dependency detection). '-hbcontainer' method changed to a make.hb specific one, where makesub.txt lists all the extra subprojects in a contrib. * contrib/hbssl/bio.c * contrib/hbssl/pem.c * contrib/hbssl/ssl.c ! BIO object is now GC collected, solving the leak and hopefully some remaining memory problems around BIO_NEW_MEM_BUF() ; TODO: test more thoroughly ! SSL_SET_BIO(): fixed 3rd parameter * contrib/hbssl/tests/*.prg * copyright cleanup * doc/todo.txt * deleted item 2014-02-26 00:10 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbapifs.h * src/rtl/filebuf.c + added new C function hb_filePOpen() * include/hbset.h * src/vm/set.c * src/rtl/console.c * changed hb_fs*() API to hb_file*() API in HVM SETs * src/vm/memvars.c * changed hb_fs*() API to hb_file*() API in .mem files * src/vm/runner.c * changed hb_fs*() API to hb_file*() API in .hrb files * include/hbapifs.h * src/rtl/filesys.c * renamed hb_fsPOpen() param 2014-02-25 20:26 UTC+0100 Viktor Szakats * src/rtl/xfile.c * casing + Added hb_XReadLen( <pHandle>, <nToRead>, [ <nTimeOut> ] ) -> <cBuffer> similar to hb_FReadLen() * include/harbour.hbx + added symbols (with casing) * contrib/hbnetio/utils/hbnetio/hbnetio.prg ! fixed to use key constant plus formatting 2014-02-25 19:34 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbhpdf/3rd/libhpdf/hpdffdfj.c ! removed executable attribute * src/vm/thread.c ! fixed typo reported by Viktor - thanks. * include/hbapifs.h * src/rtl/hbproces.c * src/rtl/spfiles.c * src/rtl/filesys.c * src/rtl/file.c * synced parameter file and dir names used in declarations and implementations * include/hbrddcdx.h + added few fields used in ADI files * src/codepage/cp_utf8.c * src/rtl/cdpapi.c ! always return -1, 0 and 1 from hb_cdpcmp() function. Workaround for problem exploited by optimized memcmp() function. * src/rdd/dbfntx/dbfntx1.c ! fixed possible sort problem when optimized memcmp() is used * added feew missing const declarations * src/rdd/dbfntx/dbfntx1.c * src/rdd/dbfnsx/dbfnsx1.c * src/rdd/dbfntx/dbfntx1.c ! fixed OrdWildSeek() to work with optimized memcmp() * include/hbapifs.h * src/rtl/disksphb.c + added new C function: double hb_fsDiskSpace( const char * pszPath, HB_USHORT uiType ); * include/hbapifs.h * src/rtl/direct.c + added new C function: PHB_ITEM hb_fsDirectory( const char * pszDirSpec, const char * pszAttributes ); * src/rtl/filesys.c ! report EOF in hb_fsEof() also when file position is out of file size * updated comment * include/hbapifs.h * src/rtl/filebuf.c + extended Harbour FILE IO API and added support for read/write filepos, directory and link operations. Read/write filepos support in some systems (i.e. *nixes) needs additional emulation code. If it's not necessary then this functionality can be disabled by FXO_NOSEEKPOS attribute. Now this attribute is used by our RDD code. * src/rtl/Makefile + src/rtl/xfile.c + added PRG interface to Harbour FILE IO API The following PRG functions are available for Harbour programmers: HB_VFEXISTS( <cFileName>, [ @<cDestFileName> ] ) -> <lOK> HB_VFERASE( <cFileName> ) -> <nResult> HB_VFRENAME( <cFileSrc>, <cFileDst> ) -> <nResult> HB_VFCOPYFILE( <cFileSrc>, <cFileDst> ) -> <nResult> HB_VFDIREXISTS( <cDirName> ) -> <lExists> HB_VFDIRMAKE( <cDirName> ) -> <nSuccess> HB_VFDIRREMOVE( <cDirName> ) -> <nSuccess> HB_VFDIRECTORY( [ <cDirSpec> ], [ <cAttr> ] ) -> <aDirectory> HB_VFDIRSPACE( <cDirName>, [ <nInfoType> ] ) -> <nFreeSpace> HB_VFATTRGET( <cFileName>, @<nAttr> ) -> <lOK> HB_VFATTRSET( <cFileName>, <nAttr> ) -> <lOK> HB_VFTIMEGET( <cFileName>, @<tsDateTime> ) -> <lOK> HB_VFTIMESET( <cFileName>, <tsDateTime> ) -> <lOK> HB_VFLINK( <cExistingFileName>, <cNewFileName> ) -> <nSuccess> HB_VFLINKSYM( <cTargetFileName>, <cNewFileName> ) -> <nSuccess> HB_VFLINKREAD( <cFileName> ) -> <cDestFileName> | "" HB_VFOPEN( <cFileName>, [ <nMode> ], [ <nAttr> ] ) -> <pHandle> | NIL HB_VFCLOSE( <pHandle> ) -> <lOK> HB_VFLOCK( <pHandle>, <nStart>, <nLen>, [ <nType> ] ) -> <lOK> HB_VFUNLOCK( <pHandle>, <nStart>, <nLen> ) -> <lOK> HB_VFLOCKTEST( <pHandle>, <nStart>, <nLen>, [ <nType> ] ) ; -> <nPID> | 0 (nolock) | -1 (err) HB_VFREAD( <pHandle>, @<cBuff>, [ <nToRead> ], [ <nTimeOut> ] ) ; -> <nRead> HB_VFWRITE( <pHandle>, <cBuff>, [ <nToWrite> ], [ <nTimeOut> ] ) ; -> <nWritten> HB_VFREADAT( <pHandle>, @<cBuff>, [ <nToRead> ], [ <nAtOffset> ] ) ; -> <nRead> HB_VFWRITEAT( <pHandle>, <cBuff>, [ <nToWrite> ], [ <nAtOffset> ] ) ; -> <nWritten> HB_VFSEEK( <pHandle>, <nOffset>, [ <nWhence> ] ) -> <nOffset> HB_VFTRUNC( <pHandle>, [ <nAtOffset> ] ) -> <lOK> HB_VFSIZE( <pHandle> ) -> <nSize> HB_VFEOF( <pHandle> ) -> <lEOF> HB_VFFLUSH( <pHandle>, [ <lDirtyOnly> ] ) -> NIL HB_VFCOMMIT( <pHandle> ) -> NIL HB_VFCONFIG( <pHandle>, <nSet>, [ <nParam> ] ) -> <nResult> HB_VFHANDLE( <pHandle> ) -> <nOsHandle> HB_VFTEMPFILE( @<cFileName>, [ <cDir> ], [ <cPrefix> ], [ <cExt> ], ; [ <nAttr> ] ) -> <pHandle> | NIL Please remember that not all redirectors have to support all of them. I.e. MEMIO allows to use directory names in files but does not allow to create or remove directories. It also does not support file attributes and times in current implementation though it can be easy added. HB_VFCONFIG() is general function which can be used by redirector authors to make some special operations which are specific to given device. HB_VFTEMPFILE() always creates temporary files on local system without switching to FILE IO redirector. It's intentional behavior. * src/rtl/fscopy.c * used Harbour FILE IO API in hb_fsCopy()/HB_FCOPY() Please remember that HB_FCOPY() always makes operation using current system when HB_VFCOPY() may optimize it moving the operation to low level subsystem or even other computer i.e. NETIO can do that when both files are located on the same server. * src/rdd/delim1.c * src/rdd/sdf1.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/hsx/hsx.c * open files with FXO_NOSEEKPOS attribute to inform low-level API that read/write filepos is not used (disables unnecessary filepos emulation). * contrib/hbnetio/netio.h * contrib/hbnetio/netiocli.c * contrib/hbnetio/netiosrv.c + added support for extended Harbour FILE IO API. * contrib/hbnetio/utils/hbnetio/netiomgm.hb ! renamed "quit" command to "shutdown" as suggested by Rolf. * contrib/hbnetio/utils/hbnetio/hbnetio.prg * allow to interrupt server process using ESC when run in console window. * contrib/hbmemio/memio.c + added support for extended Harbour FILE IO API. I left two minor TODO notes - maybe someone will try to implement it. 2014-02-25 19:15 UTC+0100 Viktor Szakats * contrib/xhb/xhb.hbx * include/harbour.hbx * updated after turning off HB_LEGACY_LEVEL5. to recap: - HB_ISNIL() moved to xhb.hbc - hb_SetLastKey() renamed to hb_keySetLast() - hb_SetClsHandle() renamed to __objSetClassHandle() - hb_HSetAutoAdd(): use hb_HAutoAdd() instead - hb_HSetBinary(): use hb_HBinary() instead - hb_HSetCaseMatch(): use hb_HCaseMatch() instead - hb_HSetOrder(): use hb_HKeepOrder() instead Look for 'HB_LEGACY_LEVEL5' string in this file (or the source) for more. [INCOMPATIBLE] 2014-02-25 18:41 UTC+0100 Viktor Szakats * include/hbsetup.ch * utils/hbmk2/hbmk2.prg * switching to more dynamic and streamlined mode; This fork will now by a rule NOT define the next HB_LEGACY_LEVEL* while in development. It means that deprecated stuff will get deprecated right away. (Unless someone is explicitly enabling these using HB_USER_CFLAGS. Not recommended because deprecated stuff will not be maintained or supported.) The real turning point now is when code protected by HB_LEGACY_LEVEL* is actually deleted from source tree. This should happen typically on a stable release or after a reasonable timespan since the introduction of said legacy level. When that happens, users can copy the deleted parts to their projects and continue maintaining it there (or adapt code to not require them of course). * deleted HB_LEGACY_OFF setting, since it is the default now. ; In this fork this commit effectively means that HB_LEGACY_LEVEL5 will get disabled. 2014-02-25 18:31 UTC+0100 Viktor Szakats * contrib/gtwvg/tests/*.prg * utils/hbmk2/hbmk2.prg * cleanups 2014-02-25 17:39 UTC+0100 Viktor Szakats * contrib/hbosx/hbosx.hbc * contrib/hbosx/hbosx.hbp * contrib/hbosx/hbosx.hbx + contrib/hbosx/proxy.prg + contrib/hbosx/proxyc.m + contrib/hbosx/tests/proxy.prg + added osx_ProxyGet( [<cProtocol:"http">] ) -> <cProxy> (empty if no proxy, includes port if present) Detects system-wide proxy on OS X. * contrib/hbosx/hbosx.hbp * contrib/hbosx/core.m -> contrib/hbosx/trash.m * contrib/hbosx/tests/totrash.prg -> contrib/hbosx/tests/trash.prg * renamed 2014-02-25 14:54 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + automatically go into full screen browse() when hbrun/hbmk2 is passed a .dbf as a parameter (it only opened it so far) ! do not set RDD CP to UTF8 while it's not fully operational use the default Cl*pper 'EN' instead. 2014-02-25 00:32 UTC+0100 Viktor Szakats * config/cygwin/gcc.mk * config/win/mingw.mk * utils/hbmk2/hbmk2.prg * deleted manual -march/-mtune CPU tuning. mingw/cygwin gcc will now use the defaults. You can override it using HB_USER_CFLAGS. If you use mingw 4.8.1 (mingwbuilds/niXman), nothing will change because its defaults are the same as the manual setting were in Harbour. You can check the defaults of your compiler build using: 'gcc -v' ; This helps staying in sync with other targets in Harbour (which have no manual CPU tuning either), and other projects built using default options, plus we can rely on C compiler devs when to upgrade the defaults. 2014-02-24 16:43 UTC+0100 Viktor Szakats * config/cygwin/gcc.mk ! synced -march= with recent update 2014-02-24 16:02 UTC+0100 Viktor Szakats * contrib/hbssl/bio.c ! BIO_NEW_MEM_BUF(): fixed potential use-after-free. (now it's a leak, added FIXME) 2014-02-24 13:13 UTC+0100 Viktor Szakats * contrib/hbcurl/tests/ftp_uldl.prg * cleanups * contrib/hbnetio/projects.hbp ! force hbwin to be built, it will be needed by a sub-project (dependencies of subprojects are not autodetected) 2014-02-24 00:35 UTC+0100 Viktor Szakats * config/global.mk + always display HB_COMPILER_VER, if set (either manually or by autodetection) * config/global.mk * utils/hbmk2/hbmk2.prg + autodetect mingw 4.9 * config/win/mingw.mk * config/win/msvc.mk + display warning if HB_COMPILER_VER is not set for these platforms. If not set, it will cause various malfunctions because the build process has many compiler version dependent settings and needs proper version info. To set proper version info the easiest is to NOT set HB_COMPILER and let it autodetect. Only if autodetection fails should you set HB_COMPILER but in this case you must also set HB_COMPILER_VER, when using mingw or msvc. Check README for more. 2014-02-23 23:44 UTC+0100 Viktor Szakats * contrib/gtwvg/tests/_activex.prg * contrib/gtwvg/tests/_tbrowse.prg * contrib/gtwvg/tests/_xbp.prg * contrib/gtwvg/tests/demowvg.prg * contrib/gtwvg/tests/demowvg1.prg * contrib/gtwvg/tests/demoxbp.prg * use Harbour homepage instead of the current ones which are defaced by hackers * src/rtl/tclass.prg % minor optimization * use DO CASE * tests/hbinline.prg * formatting 2014-02-23 23:01 UTC+0100 Viktor Szakats * contrib/hbcurl/core.c ! adjusted all version guards which were based on guesses (only two of them were slightly off) based on file <curl>/docs/libcurl/symbols-in-versions and internet search 2014-02-23 22:28 UTC+0100 Viktor Szakats * contrib/xhb/tfile.prg * doc/en/file.txt * extras/hbxlsxml/xlsxml.prg % optimizations 2014-02-23 22:18 UTC+0100 Viktor Szakats * contrib/hbhttpd/log.prg * contrib/hbmisc/hbedit.prg * contrib/hbnf/floptst.prg * contrib/hbtip/cgi.prg * contrib/hbtip/client.prg * contrib/hbwin/tests/service.prg * contrib/hbxdiff/tests/test2.prg * contrib/xhb/dbgfx.prg * contrib/xhb/hblog.prg * contrib/xhb/tfile.prg * contrib/xhb/xhberr.prg * doc/en/file.txt * extras/hbvpdf/core.prg * extras/hbxlsxml/xlsxml.prg * extras/httpsrv/_cgifunc.prg * extras/httpsrv/_session.prg * src/rdd/usrrdd/rdds/logrdd.prg * src/rtl/hbdoc.prg * src/rtl/memvarhb.prg * tests/rto_get.prg * tests/rto_tb.prg * utils/hbtest/rt_file.prg % omit FC_NORMAL from [hb_]FCreate() calls, it's the default * contrib/xhb/stream.prg ! TStreamFileReader() changed to open the file in FO_READ mode by default (was FO_READWRITE) ! TStreamFileWriter():New() fixed to use 2nd (nMode) parameter for opening mode for new files. Previously it was used as file attribute. ! TStreamFileWriter():New() got 3rd <nAttr> parameter to specify file attribute for new files. * contrib/hbcurl/tests/ftp_uldl.prg % use hb_MemoWrit() * contrib/hbxdiff/tests/test2.prg % use hb_FNameExtSet() 2014-02-23 21:58 UTC+0100 Viktor Szakats * contrib/hbct/fcopy.prg * contrib/hbnetio/utils/hbnetio/hbnetio.prg * contrib/hbtip/cgi.prg * contrib/hbtip/client.prg * contrib/hbtip/httpcli.prg * contrib/hbziparc/ziparc.prg * doc/todo.txt * extras/guestbk/_inifile.prg * extras/hbvpdf/core.prg * src/rtl/hbdoc.prg * src/rtl/hbi18n2.prg * src/rtl/memvarhb.prg * tests/inifiles.prg * utils/hbmk2/hbmk2.prg % deleted plain FO_READ FOpen() opening mode, it's the default * extras/guestbk/_cgi.prg % use hb_MemoRead() % use FOR EACH instead of DO WHILE 2014-02-23 19:16 UTC+0100 Viktor Szakats + config/global/clang.mk * config/bsd/clang.mk * config/darwin/clang.mk * config/linux/clang.mk * config/minix/clang.mk % merged *nix clang target make files into one (except Windows where I use clang-cl compatibility layer) * config/win/clang.mk * utils/hbmk2/hbmk2.prg + synced clang warnings with *nix platforms ; it means that newly enabled warnings will now appear on all clang platforms * contrib/hbmisc/tests/hb_f.prg * contrib/hbnf/doc/en/fttext.txt * contrib/hbnf/tests/fttext.prg ! check ft_FUse()/hb_FUse() results against F_ERROR (instead of various hand-rolled methods) * contrib/hbwin/win_err.prg % minor opt * config/darwin/gcc.mk * utils/hbmk2/hbmk2.prg * deleted obsolete comment 2014-02-23 15:43 UTC+0100 Viktor Szakats * config/darwin/clang.mk * utils/hbmk2/hbmk2.prg + darwin/clang warning options upped from -Wall to -Weverything plus an explicit list of exclusions (can be extended/reduced over time) This will result in extra warnings. * src/compiler/complex.c * fixed wrong cast * src/rtl/cdpapi.c * src/rtl/gtchrmap.c * src/rtl/hbbfish.c * src/rtl/hbgtcore.c * src/vm/garbage.c ! added missing static keywords to local data * src/rtl/hbjson.c ! fixed variable redeclared in sub-block * contrib/hbmisc/spd.c * whitespace 2014-02-23 12:45 UTC+0100 Viktor Szakats * contrib/hbnetio/utils/hbnetio/hbnetio.prg * contrib/xhb/tcgi.prg * contrib/xhb/tfile.prg * include/harbour.hbx * src/rtl/dircmd.prg * src/rtl/hbdoc.prg * src/rtl/hbi18n2.prg * src/rtl/memvarhb.prg * src/rtl/philes.c * tests/inherit.prg * tests/readhrb.prg * tests/stripem.prg * utils/hbmk2/hbmk2.prg * renamed hb_FReadStr() to hb_FReadLen() to better differentiate it from legacy FReadStr() 2014-02-23 12:28 UTC+0100 Viktor Szakats * contrib/hbnetio/utils/hbnetio/hbnetio.prg * contrib/xhb/tfile.prg * src/rtl/dircmd.prg * src/rtl/hbdoc.prg * src/rtl/hbi18n2.prg * src/rtl/memvarhb.prg * src/rtl/tlabel.prg * src/rtl/treport.prg * utils/hbmk2/hbmk2.prg % use hb_FReadStr() * src/rtl/tlabel.prg * src/rtl/treport.prg ! upgraded MS-DOS/Windows specific path handling to portable % more FOR EACH ! HBLabelForm() fixed to close file handle after a read error % optimizations * contrib/hbnf/tests/tempfile.prg ! fixed to not RTE on missing parameters % use hb_MemoWrit() * extras/gfspell/spell.prg * deleted superfluous parenthesis * minor cleanup * extras/hbvpdf/core.prg ! indenting, whitepsace 2014-02-22 17:21 UTC+0100 Viktor Szakats * ChangeLog.txt * http -> https 2014-02-22 16:49 UTC+0100 Viktor Szakats * ChangeLog.txt ! typos/updates * CONTRIBUTING.md + post output messages in English * tests/cls.prg * tests/dbgcls.prg * tests/html.prg * tests/money.prg % use STATIC classes where possible * utils/hbmk2/hbmk2.prg * clang warning detail link, tweaked -W option plans * added FO_READ to a FOpen() (pedantic) * utils/hbmk2/po/hbmk2.pt_BR.po ! fixed content lost in translation * tests/mt/mttest01.prg * tests/mt/mttest04.prg * tests/mt/mttest05.prg * tests/mt/mttest06.prg * tests/mt/mttest07.prg * make it apparent in source that the ending spaces are significant * src/rtl/hbsocket.c * tests/mt/mttest09.prg * formatting 2014-02-22 02:37 UTC+0100 Viktor Szakats * contrib/hbcurl/core.c * contrib/hbcurl/hbcurl.ch + added some upcoming 7.36.0 features * contrib/hbexpat/tests/test.prg * contrib/hbexpat/tests/tohash.prg ! extra newline in output 2014-02-21 20:29 UTC+0100 Viktor Szakats * tests/debug.prg * tests/dynobj.prg * tests/inherit.prg * tests/inline.prg * tests/macro.prg * tests/objarr.prg * tests/objasign.prg * tests/stripem.prg + use proper class syntax instead of low-level code 2014-02-21 17:34 UTC+0100 Viktor Szakats * ChangeLog.txt ! fixed misleading conclusions and markup in prev entry regarding FReadStr(). it stops returning data after the first zero byte, but reads ASCII 26. ! changed status of prev change from * (update) to ! (fix) (tests/readhrb.prg worked only out of luck) ; conclusion: Never use FreadStr() for anything (unless Chr( 0 ) causes your app to break) * doc/en/file.txt ! fixed docs to make above fact clear. * include/harbour.hbx * src/rtl/philes.c + added hb_FReadStr() which is the same as FReadStr() but reads zero byte as well, so it can be used to read binary data, just like FRead(). * contrib/xhb/tcgi.prg ! TCgiFile():ReadStr(): use hb_FReadStr() instead of FReadStr() [INCOMPATIBLE: it will now read past a zero byte] * contrib/xhb/tfile.prg * tests/inherit.prg * tests/readhrb.prg * tests/stripem.prg % use hb_FReadStr() where it's better for performance 2014-02-21 17:05 UTC+0100 Viktor Szakats * include/simpleio.ch ! fixed to use hb_GetStdIn() instead of hard-coded literal * doc/en/file.txt ! FReadStr() docs: fixed misleading documentation. In Harbour, this function will _not_ stop on ASCII 26 (neither in Cl*pper, at least as per its docs). * contrib/hbmisc/tests/readfile.prg ! fixed to work instead of RTE without paramter * contrib/hbmisc/fileread.prg * contrib/xhb/tfile.prg * tests/inherit.prg * tests/readhrb.prg * tests/stripem.prg ! use FRead() instead of ambiguous FReadStr() function * tests/longdev.prg % use hb_MemoRead() instead of FReadStr() * contrib/hbtip/httpcli.prg % unnecessary C string marker deleted 2014-02-21 16:23 UTC+0100 Viktor Szakats * contrib/hbtip/httpcli.prg ! TIPClientHTTP():PostMultiPart() fixed to not RTE on various wrong input parameters passed via TIPClientHTTP():Attach() ! TIPClientHTTP():PostMultiPart() changed to use filename parsing core APIs instead of using local, non-portable implementation % TIPClientHTTP():PostMultiPart() optimizations (larger buffer, string building, loop, FOpen() mode, etc) ! TIPClientHTTP():PostMultiPart() fixed to always read in binary mode (callers' responsibility to configure mime-type correctly). See: https://groups.google.com/forum/#!topic/harbour-users/wOsubO8oifk ; (build tested only) 2014-02-21 15:16 UTC+0100 Viktor Szakats * contrib/hbnetio/utils/hbnetio/netiomgm.hb ! renamed colliding netio server management command 'quit' to 'shutdown' see: https://groups.google.com/forum/#!topic/harbour-devel/Rlwln0MKMD4 * contrib/hbwin/hbwinole.h * contrib/hbwin/olecore.c ! fixed hb_oleInit() which was probably meant to initialize the OLE internals (because no caller checks its return value), but the actual implementation did nothing else than returning the state of initialization of OLE internals, making it effectively a no-op. Now it initilizes the internals and returns void, which fixes the OLE crashes when used from script via hbwin-*.dll Fixes https://github.com/harbour/core/issues/33 [FIXME: This is not the right fix. It only replaces the GPF with a leak.] * src/rdd/dbfntx/dbfntx1.c ! deleted an unnecessary cast https://github.com/harbour/core/issues/46 * src/vm/thread.c ! hb_threadQuitRequest(): attempt to fix what seems like a contradiction resulting in a unconditional failure of the call, and always returning .F. Attempt to fix https://github.com/harbour/core/issues/50 [CONFIRMED by Przemek] * utils/hbmk2/hbmk2.prg + enabled -cli automatically for -gtpca GT, too * ChangeLog.txt ! typos * contrib/hbformat/projects.hbp * contrib/hbnetio/projects.hbp * whitespace 2014-02-19 22:54 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg ! spelling in comment * contrib/hbformat/hbfmtcls.prg * very rudimentary testing found -gc3 to be slower than -gc0. Switching back for now. 2014-02-19 22:14 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg ! fix to a problem where .c output of .hbx was not compiled/added to the output library in certain build cases (full rebuild?), manifesting itself in missing __HBEXTERN__HB<LIBNAME>__ errors when attempting to force-link the lib. [TESTED OK] Regression from 2014-02-13 17:07 UTC+0100 * contrib/hbtest/core.prg + added another Unicode char to test string 2014-02-19 17:28 UTC+0100 Viktor Szakats * contrib/make.hb - contrib/hbplist.txt + contrib/hbformat/projects.hbp + contrib/hbnetio/projects.hbp + make.hb will now automatically detect the list of contribs, so there is no more need to manually maintain hbplist.txt + make.hb now supports contribs with multiple subprojects, by calling 'projects.hbp' if there is one. (name tentative) + added projects.hbp container files for the two contribs that require it 2014-02-19 15:58 UTC+0100 Viktor Szakats * src/rtl/hbgtcore.c ! fixed C level hb_gtInfo() returning HB_FALSE for HB_GTI_VERSION (missing 'break;') ! fixed to return empty string for HB_GTI_FONTSEL * utils/hbmk2/hbmk2.prg ! enable worker function for HB_LEGACY_LEVEL5 * contrib/hbsqlit3/core.c ! fixed to not write space at EOL in log output * src/rtl/gttrm/gttrm.c ! typo in comment * src/rdd/dbffpt/dbffpt1.c * comment cleanup 2014-02-19 13:13 UTC+0100 Viktor Szakats * contrib/hbexpat/tests/test.prg * contrib/hbexpat/tests/tohash.prg * contrib/hbmisc/tests/numtxtru.prg * contrib/hbmxml/tests/custom.prg * contrib/hbmxml/tests/reminder.prg * contrib/hbmxml/tests/testmxml.prg * use ? instead of OutStd()/OutErr() * added code to ensure proper UTF-8 output on console * contrib/hbmagic/tests/hbmagit.prg * use ? instead of OutStd()/OutErr() * contrib/hbhpdf/tests/harupdf.prg ! added missing 'hb_cdpSelect( "UTF8EX" )' to make UTF8 work properly in non-script mode * extras/hbdoc/hbdoc.prg * added missing 'REQUEST HB_CODEPAGE_UTF8EX' * contrib/hbamf/tests/test.prg + added 'hb_SetTermCP( hb_cdpTerm() )' * tests/langchk.hb + use screen output for Unicode text now that it works * tests/gtchars.prg * src/rtl/langcomp.prg % deleted 'REQUEST HB_CODEPAGE_UTF8' (it's available without request) * contrib/hbpost.hbm * utils/hbmk2/hbmk2.prg * utils/hbmk2/po/hbmk2.hu.po * changed '(c)' to UTF-8 copyright symbol (note: it won't display properly on consoles not supporting Unicode) * renamed -safe[-] option to -harden[-] (old name is accepted till HB_LEGACY_LEVEL5 with a warning) [TRANSLATION] [INCOMPATIBILITY] * contrib/hbexpat/tests/test.xml * contrib/hbmxml/tests/test.xml + added UTF-8 text for testing * tests/gtxfnt.prg * extras/guestbk/guestbk.prg * minor cleanups 2014-02-19 03:23 UTC+0100 Viktor Szakats * src/rtl/gtcgi/gtcgi.c * deleted unnecessary block (in prev) 2014-02-19 03:15 UTC+0100 Viktor Szakats * include/harbour.hbx * src/rtl/cdpdet.prg * src/rtl/cdpdetc.c + added __wapi_GetConsoleOutputCP() to return active Windows console codepage. + hb_cdpTerm(): use above function to determine console CP on Windows. It replaces __wapi_GetOEMCP(), which was similar, but it returned a system-wide default setting, so it's less useful. - deleted __wapi_GetOEMCP(). It was an internal function, so not marked as incompatibility per se, but anyhow, use the replacement function instead if you need to, or use wapi_GetOEMCP() from hbwin [LATER READDED] * src/rtl/gtcgi/gtcgi.c + GTCGI on Windows (except WinCE) will now automatically enable UTF-8 in console output if it's supported by the OS version. It means that GTCGI apps can now display Unicode text on Windows consoles. It also means that GTCGI applications are now also required to properly configure the CP they are using in their strings, using: hb_cdpSelect( cCodePage /* e.g. "HU852" */ ) hb_SetTermCP( hb_cdpTerm() ) (if the app uses UTF-8 internally on Windows XP or newer, above manual configuration is not necessary) * utils/hbmk2/hbmk2.prg + automatically enable -cli mode when -gtstd is speficied (it means -run will run the app on the console, instead of a new window) * contrib/hbwin/hbwin.hbx * contrib/hbwin/wapi_winnls.c + added wapi_IsValidCodePage( <nCP> ) -> <lValid> docs: https://msdn.microsoft.com/library/dd318674 * src/rtl/listbox.prg * src/rtl/radiogrp.prg % minor optimization 2014-02-18 19:23 UTC+0100 Viktor Szakats * contrib/hbformat/hbfmtcls.prg * contrib/hbtest/core.prg * contrib/hbtip/encqp.prg * contrib/hbziparc/ziparc.prg % enabled -gc3 for speed critical .prg code * src/rdd/dbdelim.prg * src/rdd/dblist.prg * src/rdd/dbsdf.prg * src/rdd/dbsort.prg * src/rdd/dbstrux.prg * src/rdd/dbstruxu.prg * src/rdd/rddord.prg * src/rdd/rddordu.prg * src/rtl/achoice.prg * src/rtl/adir.prg * src/rtl/altd.prg * src/rtl/checkbox.prg * src/rtl/color53.prg * src/rtl/dbedit.prg * src/rtl/dircmd.prg * src/rtl/getsys53.prg * src/rtl/gui.prg * src/rtl/input.prg * src/rtl/listbox.prg * src/rtl/memoedit.prg * src/rtl/menusys.prg * src/rtl/menuto.prg * src/rtl/pushbtn.prg * src/rtl/radiobhb.prg * src/rtl/radiobtn.prg * src/rtl/radiogrp.prg * src/rtl/setfunc.prg * src/rtl/tbrowsys.prg * src/rtl/teditor.prg * src/rtl/tlabel.prg * src/rtl/tmenuitm.prg * src/rtl/tmenusys.prg * src/rtl/tpersist.prg * src/rtl/tpopup.prg * src/rtl/tpopuphb.prg * src/rtl/treport.prg * src/rtl/ttopbar.prg * src/rtl/wait.prg % disabled -gc3 for non-speed critical (or UI, rarely used, or certain legacy) code It means substancial size reduction for harbour dll, hbmk2 and certain user application, hopefully without any percievable loss of performance, continuing this optimization started with 2009-05-28 08:20 UTC+0200 * src/rtl/cdpdet.prg * src/rtl/langcomp.prg % disabled placeholder code * contrib/hbwin/oleauto.prg % minor optimization * contrib/hbwin/win_err.prg * cleanup * contrib/hbct/ctrand.prg * whitespace 2014-02-18 17:36 UTC+0100 Viktor Szakats * include/hbcompdf.h * src/compiler/hbmain.c * src/compiler/ppcomp.c + added support for '#pragma -gc<0-3>' to control code generation flavour on source file level. The setting takes effect on the whole source file it used in. * contrib/hbexpat/hbexpat.hbx * contrib/hbexpat/unitable.prg * tweak to internal function name 2014-02-18 14:39 UTC+0100 Viktor Szakats * CONTRIBUTING.md + pointed to include the original command-line when reporting an issue * CONTRIBUTING.md * README.md * spelling * utils/hbmk2/hbmk2.prg * spelling in comments 2014-02-18 12:58 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + added support for a standard specifier prefix in -signts= option. Can be 'rfc3161:' or 'authenticode:'. Default is RFC3161. [TRANSLATION] * changed the default -signts= value to one that supports both RFC3161 and MS Authenticode standards + signtool will now automatically switch to RFC3161 mode according to -signts= option value. posign will fail as it doesn't support it. [TRANSLATION] + added logic so that the default timetstamping service will use RFC3161 when using signtool and will automatically fall back to MS Authenticode for posign * src/rtl/tgetlist.prg * src/rtl/tmenuitm.prg * src/rtl/tmenusys.prg * pedantic tweak to a recently added macro 2014-02-18 03:43 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + -bldhead= will now generate a numeric version of the sequential ID, named _HBMK_BUILD_ID_NUM_ [TRANSLATION] % deleted few lines of unused logic * contrib/xhb/hbserv.c * contrib/xhb/xhb.hbx ! disabled two public debugging functions that are deliberately generating CPU exceptions [INCOMPATIBLE]: HB_SERVICEGENERATEFAULT(), HB_SERVICEGENERATEFPE() * cleanups * ChangeLog.txt ! spelling + added incompatibility note to .hbr/.hbd format * contrib/hbwin/tests/oletst2.js * formatting 2014-02-16 20:13 UTC+0100 Viktor Szakats * contrib/3rd/sqlite3/sqlite3.hbp * contrib/3rd/sqlite3/* * sqlite3 update 3.8.3 -> 3.8.3.1 (corrected previous run) 2014-02-16 20:04 UTC+0100 Viktor Szakats * contrib/3rd/sqlite3/sqlite3.hbp * contrib/3rd/sqlite3/* * sqlite3 update 3.8.3 -> 3.8.3.1 * utils/hbmk2/hbmk2.prg % minor optimizations 2014-02-16 19:18 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + changed -compr=max option to compress even more by using --lzma upx option + added -compr=high option to compress to the previous 'max' level 2014-02-16 15:24 UTC+0100 Viktor Szakats * src/rtl/hbjson.c ! fixed to add a newline at EOF in human readable mode * config/win/mingw.mk ! spelling in comment * contrib/make.hb % minor 2014-02-16 12:54 UTC+0100 Viktor Szakats * contrib/hbosx/core.m * contrib/hbosx/hbosx.hbx * contrib/hbosx/tests/totrash.prg * renamed function to osx_MoveToTrash() 2014-02-15 17:53 UTC+0100 Viktor Szakats * doc/howtovcs.txt + extended changelog markup information 2014-02-15 17:28 UTC+0100 Viktor Szakats * contrib/hbplist.txt + contrib/hbosx/core.m + contrib/hbosx/hbosx.hbc + contrib/hbosx/hbosx.hbp + contrib/hbosx/hbosx.hbx + contrib/hbosx/tests/hbmk.hbm + contrib/hbosx/tests/totrash.prg + added osx_MoveToTrash( <cFileName> ) -> <nStatus> (success == 0) (there are two deprecated warnings, though no info yet, how to implement this in a newly supported way) * contrib/hbunix/uidgid.c + added copyright line 2014-02-15 15:01 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + changed hbx related warning to only disappear after HB_LEGACY_LEVEL5 (was HB_LEGACY_LEVEL4) + more https links 2014-02-15 14:51 UTC+0100 Viktor Szakats * contrib/hbcity/3rd/cityhash/config.h + autoconf for big-endian 2014-02-15 14:40 UTC+0100 Viktor Szakats * contrib/hbtip/tests/httpcli.prg * contrib/hbtip/tests/loadhtml.prg + display effective URL to make it clear whether SSL is available at runtime or isn't 2014-02-15 14:27 UTC+0100 Viktor Szakats * contrib/hbcity/3rd/cityhash/city.cc + contrib/hbcity/3rd/cityhash/cityhash.dif * contrib/hbcity/3rd/cityhash/config.h * contrib/hbcity/3rd/cityhash/cityhash.hbp + use Harbour's byte swap macros for safer compiler/platform coverage * contrib/hbcity/3rd/cityhash/cityhash.hbp * contrib/hbcity/hbcity.hbp ! fixed wrong values in -cpp= option, silently failing to enable C++ mode + enabled for win/watcom * utils/hbmk2/hbmk2.prg + added warnings for invalid -cpp=/-c= option values 2014-02-15 13:16 UTC+0100 Viktor Szakats * contrib/hbwin/win_shell.c ! win_SHFileOperation(): fixed missing extra terminating zero byte in from/to parameters when they are passed as string (not as array), causing intermittent 87 (ERROR_INVALID_PARAMETER) errors. * win_SHFileOperation(): clear the structure before passing it to Windows. 2014-02-14 21:51 UTC+0100 Viktor Szakats * contrib/hbformat/hbfuncs.prg * utils/hbmk2/hbmk2.prg ! added protection for .hbr file corruption or read error ! deleted a no more necessary hb_ZUncompress() call in hbformat 2014-02-14 20:54 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + added support for -hbx= option together with -hbhrb * config/postinst.hb * src/rtl/hbdoc.prg * utils/hbmk2/hbmk2.prg % use HB_SERIALIZE_COMPRESS (in .hbr and .hbd file handling code) [INCOMPATIBLE file format, .hbr is fully internal, so it doesn't matter, .hbds won't be compatible with tools using mainstream Harbour] * contrib/hbgd/tests/cgi.prg * contrib/hbgd/tests/tpoly.prg * contrib/hbnf/clrsel.prg * contrib/hbnf/doc/en/putkey.txt * contrib/hbnf/pegs.prg * contrib/hbtest/hbtest.ch * tests/declare.prg * tests/rto_get.prg * tests/rto_tb.prg * tests/warnings.prg * utils/hbtest/rt_main.ch * use #xcommand/#xtranslate to avoid the dBase cruft 2014-02-14 03:57 UTC+0100 Viktor Szakats * contrib/hbcity/core.cpp % another minor cleanup 2014-02-14 03:52 UTC+0100 Viktor Szakats * contrib/hbcity/tests/hbmk.hbm ! corrected a copy paste typo 2014-02-14 03:51 UTC+0100 Viktor Szakats * contrib/hbcity/core.cpp % minor cleanup, indenting 2014-02-14 03:38 UTC+0100 Viktor Szakats * contrib/hbplist.txt + contrib/hbcity/3rd/cityhash/* + contrib/hbcity/3rd/cityhash/cityhash.hbc + contrib/hbcity/3rd/cityhash/cityhash.hbp + contrib/hbcity/3rd/cityhash/config.h + contrib/hbcity/core.cpp + contrib/hbcity/hbcity.hbc + contrib/hbcity/hbcity.hbp + contrib/hbcity/hbcity.hbx + contrib/hbcity/tests/hbmk.hbm + contrib/hbcity/tests/test.prg + added wrapper for CityHash non-cryptographic string hashing functions: https://code.google.com/p/cityhash/ https://en.wikipedia.org/wiki/CityHash ; TODO: 128-bit API is not supported, it will need HVM support. ; Only mingw/gcc and msvc are supported on Windows, other platforms not tested, but gcc/clang should work, the rest is doubtful. * config/win/mingw.mk + added more hardening options (commented) * contrib/3rd/sqlite3/sqlite3.hbp * contrib/hbbz2/3rd/bz2/bz2.hbp * contrib/hbexpat/3rd/expat/expat.hbp * contrib/hbhpdf/3rd/libhpdf/libhpdf.hbp * contrib/hblzf/3rd/liblzf/lzf.hbp * contrib/hbmlzo/3rd/minilzo/minilzo.hbp * contrib/hbmxml/3rd/minixml/mxml.hbp * contrib/hbmzip/3rd/minizip/minizip.hbp * contrib/hbscrypt/3rd/scrypt/scrypt.hbp * contrib/hbtinymt/3rd/tinymt/tinymt.hbp % deleted no longer necessary '-hbx=' options * ChangeLog.txt * updated to past items * src/rtl/altd.prg * src/rtl/tget.prg * use DO CASE * hbformat friendliness ; (no change in generated C code) 2014-02-13 17:07 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + -hbx= option will now automatically add the .hbx file passed as its parameter, to the list of input files. Therefore it's not needed anymore to list the .hbx file explicily as an input file. If done so, hbmk2 will issue a warning when HB_LEGACY_LEVEL4 is enabled (it's not, in this fork). This automatism is made possible after 2014-02-11 01:29 UTC+0100, since the addition of an .hbx file won't affect the way regular .prg files are built. IOW, if you now want to publish an .hbx file to help dynamic linking, function listing (hbmk2 -find) and formatting (hbformat), it's enough to pick a name which is not colliding with any input file, and specify a single -hbx=<name> option in your project. The rest will be handled automatically. + -hbx= will now default its parameter's extension to .hbx (previously it didn't change it at all) + more to help text for -hbx= option [TRANSLATION] + -hbx[-] option to suppress .hbx regeneration. it is used by contrib/make.hb to support HB_REBUILD_EXTERN option Harbour build option, and it's otherwise not recommended to use it. % FUNCTION -> PROCEDURE for some functions * contrib/make.hb * deleted logic that enabled -hbx= option automatically for contribs. Now that it's a single option, it's better and cleaner to specify it in each .hbp file * cleaned up some NILs * contrib/*/*.hbp * contrib/gtalleg/gtalleg.hbm * contrib/gtalleg/gtalleg.hbp * contrib/gtalleg/gtallegs.hbp * contrib/hbcurl/hbcurl.hbm * contrib/hbcurl/hbcurl.hbp * contrib/hbcurl/hbcurls.hbp * contrib/hbssl/hbssl.hbm * contrib/hbssl/hbssl.hbp * contrib/hbssl/hbssls.hbp % replaced '${hb_name}.hbx' option with '-hbx=${hb_name}' * similar change for projects with a secondary (static) project file (gtalleg, hbcurl, hbssl) * extras/*/*.hbp * extras/template/hbtpl.hbp % replaced '${hb_name}.hbx' + '-hbx=${hb_name}.hbx' options with '-hbx=${hb_name}' ; it means this aspect is now fully in sync between contrib and non-contrib .hbp files * contrib/hbpost.hbm + moved logic to handle HB_REBUILD_EXTERN option from make.hb to this file * contrib/hbplist.txt + added missing comments 2014-02-13 11:59 UTC+0100 Viktor Szakats * bin/3rdpatch.hb * contrib/hbnf/netpv.prg * contrib/hbnf/popadder.prg * contrib/hbnf/savearr.prg * contrib/hbunix/uidgid.c % optimizations 2014-02-13 01:44 UTC+0100 Viktor Szakats * extras/rddado/adordd.prg % use more SWITCH * #if 0 2014-02-13 01:19 UTC+0100 Viktor Szakats * extras/hbusb/core.c * initialize all variables passed by reference % simplified code 2014-02-13 01:08 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg % optimization * tests/tflock.prg * tests/warnings.prg * cleanups 2014-02-12 20:04 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg * updated -c=/-cpp= options to use the latest names of standards. It's incompatible and not tested, but it's also disabled, so it doesn't matter much ATM. + contrib/hbfoxpro/tests/dynfox.prg + added foxpro dyncall examples * contrib/hbfimage/freeimag.ch ! changed '|' operator to hb_bitOr() * contrib/hbfimage/freeimag.ch * contrib/hbfimage/readme.txt * tests/dyn.c * tests/dyn.prg * tests/dynobj.prg * tests/inkey.prg * tests/regex.prg * tests/regex2.prg * tests/returns.prg * tests/server.prg * tests/setmode.prg * cleanups 2014-02-12 15:58 UTC+0100 Viktor Szakats * contrib/hbunix/uidgid.c * posix_get??nam(): minor cleanups + posix_get??nam(): implemented fall-back code for old versions of the POSIX API. It's permanently disabled for now, enable it as needed. * contrib/xhb/ttable.ch * formatting 2014-02-12 15:35 UTC+0100 Viktor Szakats * contrib/hbunix/uidgid.c ! posix_getpwnam(): fixed a problem with returning ref var for non-existing user + contrib/hbunix/tests/uidgid.prg + added example for new functions * contrib/hbunix/tests/getpid.prg * shortened copyright msg 2014-02-12 14:39 UTC+0100 Viktor Szakats * contrib/hbunix/hbunix.hbx * contrib/hbunix/uidgid.c + added posix_getgrnam( <cGroupName> ) -> <nGID> + added posix_getpwnam( <cUserName>, [@<nGID>], [@<cUserInfo>], [@<cHomeDir>], [@<cShell>] ) -> <nUID> ; they return ID associated with username/group * src/rtl/dbedit.prg * src/rtl/ttextlin.prg % use hb_defaultValue() 2014-02-12 12:45 UTC+0100 Viktor Szakats * contrib/hbmysql/hbmysql.hbx * contrib/hbmysql/mysql.c + added MYSQL_NEXT_RESULT( mysql ) -> <lResult> + added MYSQL_MORE_RESULTS( mysql ) -> <lResult> + added mysql_get_ssl_cipher( mysql ) -> <cCipher> ! MYSQL_REAL_CONNECT() fixed to use port and flags parameters when built against pre-3.22 mysql versions + MYSQL_REAL_CONNECT() got new 6th parameter: hSSL possible hash members: "key", "cert", "ca", "capath", "cipher" All optional string values. If passed, MYSQL_REAL_CONNECT() will enable the CLIENT_SSL flag automatically. * contrib/hbmysql/mysql.ch + added CLIENT_* open flags * contrib/hbmysql/tmysql.prg + TMySQLServer():New(): new 5th parameter: nFlags + TMySQLServer():New(): new 6th parameter: hSSL + Added TMySQLServer():ssl_cipher(), wrapper to mysql_get_ssl_cipher() ; above is partly a reimplementation of past patches sent to the devel list. * contrib/hbmysql/tsqlbrw.prg * code cleanup, optimizations * contrib/hbwin/wapi_wingdi.c % __WAPI_DEVMODE_SET()/__WAPI_DEVMODE_GET(), WAPI_STARTDOC() optimizations 2014-02-12 02:35 UTC+0100 Viktor Szakats * contrib/hbexpat/unitable.prg ! fixed a mistake in 2014-02-09 18:56 UTC+0100 2014-02-12 01:58 UTC+0100 Viktor Szakats * extras/hbdoc/hbdoc.hbp ! typo in comment ; notice that in mainstream you can regenerate the docs for the Harbour website (https://harbour.github.io/doc/) using this command: extras/hbdoc$ hbmk2 hbdoc -run -runflag=-format=html -runflag=-output-single or in this fork, using this command: extras/hbdoc$ hbmk2 hbdoc -run ; for NF doc parsing I created an internal API long ago (it is used by HBIDE e.g.): hbmk2 -find __hbdoc_ usage examples in Harbour: grep -R __hbdoc_ * 2014-02-12 01:42 UTC+0100 Viktor Szakats * include/harbour.hbx * src/rtl/Makefile + src/rtl/strutf8.c + added hb_StrIsUTF8( <cString> ) -> <lIsUTF8Encoded> Will do heuristics to autodetect strings that are UTF8 encoded. Adapted from Far Manager source code. It works rather well. Implicitly detects UTF8 BOM, too. Uses the same kind of license as SHA1/SHA2 sources. * bin/commit.hb % use hb_StrIsUTF8() * src/rtl/cdpdet.prg % optimizations * tests/mt/mttest04.prg * tests/mt/mttest05.prg * tests/mt/mttest06.prg * identing 2014-02-12 00:52 UTC+0100 Viktor Szakats * tests/rddtest/adscl52.prg * tests/rddtest/adscl53.prg * tests/rddtest/cdxcl52.prg * tests/rddtest/cdxcl53.prg * tests/rddtest/ntxcl52.prg * tests/rddtest/ntxcl53.prg * tests/rddtest/rddmktst.prg * tests/rddtest/rddtst.prg * cleanups, indenting ; could not make the generator work though, it RTEs with missing index [UPDATE: got it!] * contrib/hbtpathy/telepath.prg % use FOR EACH 2014-02-11 22:45 UTC+0100 Viktor Szakats * contrib/hbfbird/tfirebrd.prg * contrib/hbhttpd/core.prg * contrib/hbhttpd/widgets.prg * contrib/hbmysql/tsqlbrw.prg * contrib/hbpgsql/tpostgre.prg * contrib/hbwin/tests/olesrv1.prg * contrib/xhb/trpc.prg * whitespace 2014-02-11 21:09 UTC+0100 Viktor Szakats * contrib/hbodbc/sql.ch * contrib/hbodbc/todbc.prg * contrib/hbodbc/browodbc.prg * contrib/hbodbc/tests/odbc.prg * contrib/hbodbc/tests/todbc.prg * various minor cleanups, optimizations + BrowseODBC(): implemented TODO * contrib/xhb/xcstr.prg * :classname -> :classname() 2014-02-11 20:15 UTC+0100 Viktor Szakats * contrib/hbpgsql/tpostgre.prg * contrib/hbpgsql/tests/dbf2pg.prg % minor optimizations * code cleanup 2014-02-11 18:43 UTC+0100 Viktor Szakats * contrib/hbmysql/tests/dbf2mysq.prg * contrib/hbpgsql/tests/dbf2pg.prg * cleanups and optimizations to source dbf handling 2014-02-11 18:18 UTC+0100 Viktor Szakats * contrib/hbpgsql/tpostgre.prg + TPQserver():New(): all parameters are now optional ! TPQserver():New(): fixed to escape connect parameter values + TPQserver():New(): added 7th optional hash parameter to pass custom connection parameters (e.g. SSL) https://www.postgresql.org/docs/devel/static/libpq-connect.html * contrib/hbmysql/tests/dbf2mysq.prg * contrib/hbpgsql/tests/dbf2pg.prg * contrib/hbpgsql/tests/*.prg ! fixed param checking in dbf2* converters * cleaned some filenames % use FOR/NEXT * cleaned param defaults ! fixed RTE on startup of dbf2pg * cleanups + use Set( _SET_DBCODEPAGE ) * contrib/hbziparc/doc/en/hbziparc.txt * src/rdd/dbcmd.c * tests/rddtest/adscl52.prg * tests/rddtest/adscl53.prg * tests/rddtest/cdxcl52.prg * tests/rddtest/cdxcl53.prg * tests/rddtest/ntxcl52.prg * tests/rddtest/ntxcl53.prg * tests/rddtest/rddmktst.prg * SET DELETE -> SET DELETED 2014-02-11 14:45 UTC+0100 Viktor Szakats * contrib/hbfbird/hbfbird.hbp * contrib/hbfbird/tests/simple.prg * contrib/hbfbird/tests/stress.prg * contrib/hbfbird/tests/test.prg * contrib/hbfbird/tests/testapi.c * contrib/hbfbird/tfirebrd.prg * contrib/sddfb/core.c * contrib/sddfb/sddfb.hbp * extras/rddado/adordd.prg * package/harbour.spec * tests/ipclnt.prg * cleanups, warning fixes * use localhost instead of 127.0.0.1 * 'Firebird' casing + contrib/hbfbird/tests/testapi.hbp + added hbmk2 project for C test code 2014-02-11 13:23 UTC+0100 Viktor Szakats * contrib/hbgd/*.prg * contrib/hbgd/tests/*.prg * fixes, cleanups and optimizations 2014-02-11 12:03 UTC+0100 Viktor Szakats * contrib/hbgd/gdbarcod.prg * contrib/hbnf/rand1.prg * contrib/hbpgsql/tests/stress.prg * extras/guestbk/guestbk.prg % use '%' operator instead of Mod() 2014-02-11 03:38 UTC+0100 Viktor Szakats * contrib/hbfbird/tests/*.prg * contrib/hbfbird/tests/testapi.c * contrib/hbnf/doc/en/sqzn.txt * contrib/hbpgsql/tests/*.prg * contrib/hbpgsql/tpostgre.prg * doc/en/rdddb.txt * doc/en/rddmisc.txt * tests/rdd2.prg * cleanups * utils/hbmk2/hbmk2.prg ! casing in a message [TRANSLATION] * include/dbinfo.ch * whitespace 2014-02-11 02:28 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg ! trace calls deleted from previous 2014-02-11 02:14 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg % optimized ArraySplitHBX() from previous commit 2014-02-11 01:29 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg ! fixed to define __HBEXTREQ__ macro for .hbx files only, and never for normal .prg sources. This makes workarounds for #include-ing .hbx (and hbext*.ch) files for weakly linked function calling unnecessary. * contrib/hbexpat/unitable.prg * contrib/hbhttpd/core.prg * contrib/hbtip/client.prg % deleted workaround for __HBEXTREQ__ being defined for normal sources * contrib/hbtip/client.prg * minor cleanups, formatting 2014-02-10 02:06 UTC+0100 Viktor Szakats * contrib/hbcurl/hbcurl.hbc * more precise description of additional libcurl static linking requirements 2014-02-10 01:09 UTC+0100 Viktor Szakats * contrib/hbtip/client.prg * contrib/hbtip/tests/tipwget.prg ! TIPClient():ReadToFile(): extended so that when the 1st parameter (cFileName) is passed by reference, it will download the content into that variable as a string. ! TIPClient():ReadToFile(): fixed to always pass to the :exGauge callback block its second parameter (nSize) as a zero if it's not specified or if of non-numeric type. INCOMPATIBLE: if you used this variable (3rd parameter of :ReadToFile()) as a means to pass some custom type to your gauge callback. Pass it directly via the codeblock instead. 2014-02-10 00:35 UTC+0100 Viktor Szakats * contrib/hbtip/client.prg % TIPClient():New(): optimization + TIPClient():SetProxy(): better type checking for optional parameters 2014-02-09 22:54 UTC+0100 Viktor Szakats * contrib/hbmisc/tests/bubbleb.prg * contrib/hbnf/scregion.prg * contrib/hbnf/sqzn.prg * contrib/hbnf/tests/scancode.prg * contrib/hbtip/client.prg * extras/hbusb/tests/test.prg * src/rtl/dircmd.prg * src/rtl/treport.prg * tests/commouse.prg * tests/readhrb.prg % use hb_BPeek( s, x ) instead of hb_BCode( hb_BSubStr( s, x, 1 ) ) * contrib/hbtip/client.prg % minor optimization near above * src/rtl/treport.prg % use hb_bitAnd() NOTE: this causes incompatibility when reading corrupt .frm files, where byte on offset 24 has a higher value than 8. Cl*pper will ignore the first 3 bits in this case, but Harbour will process them normally. [INCOMPATIBILE] * tests/commouse.prg ! added missing LOCAL 2014-02-09 22:14 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg ! fixed failure to detect any kind of source dependency (#require, SET PROCEDURE, #include) if the source contains a UTF-8 BOM 2014-02-09 21:50 UTC+0100 Viktor Szakats * src/rtl/treport.prg ! Asc() -> hb_BCode() 2014-02-09 21:31 UTC+0100 Viktor Szakats * contrib/hbmisc/hbedit.prg * extras/gfspell/spell.prg * src/rdd/usrrdd/rdds/logrdd.prg * src/rtl/memvarhb.prg * tests/fileio.prg * tests/html.prg * utils/hbtest/rt_file.prg % optimizations (eliminate var, use hb_FCreate(), use hb_MemoWrit()) * contrib/hbtip/cgi.prg * cleanup 2014-02-09 21:09 UTC+0100 Viktor Szakats * config/postinst.hb * contrib/hbcairo/tests/table.prg * contrib/hbpgsql/tests/dbf2pg.prg * contrib/hbtip/cgi.prg * contrib/hbtip/log.prg * contrib/xhb/hblog.prg * contrib/xhb/tfile.prg * contrib/xhb/xdbmodst.prg * doc/en/file.txt * extras/httpsrv/_session.prg * src/rdd/hbsix/sxcompat.prg ! use F_ERROR to check results of FErase()/FRename/hb_FCopy()/hb_FLink*() * use hb_FieldLen(), hb_FieldDec(), hb_FieldType() instead of dirty extension flavors % minor optimizations * tests/adir.prg * tests/hbdocext.hb * tests/varparam.prg * tests/wvtext.prg * minor cleanups 2014-02-09 19:38 UTC+0100 Viktor Szakats * contrib/hbcurl/tests/ftp_uldl.prg * contrib/hbmisc/fcomma.prg * contrib/hbtip/client.prg * contrib/hbxdiff/tests/test2.prg * contrib/xhb/hblog.prg * tests/cpinfo.prg * tests/readhrb.prg % minor optimizations 2014-02-09 18:56 UTC+0100 Viktor Szakats * bin/commit.hb * contrib/gtqtc/hbmk2_qtmoc.hb * contrib/hbexpat/unitable.prg * contrib/hbnf/invclr.prg * contrib/hbnf/savearr.prg * contrib/hbtip/client.prg * extras/rddado/adordd.prg * src/rtl/alert.prg * src/rtl/tget.prg * utils/hbmk2/hbmk2.prg % deleted empty 3rd parameter of hb_StrReplace() % use hb_StrReplace() to replace multiple StrTran() calls * contrib/hbnf/invclr.prg * contrib/hbexpat/unitable.prg % minor optimizations around above * tests/rto_get.prg ! silenced unused function warning * contrib/hbnf/tests/test.prg + added ft_InvClr() tests 2014-02-09 18:28 UTC+0100 Viktor Szakats * contrib/hbexpat/unitable.prg ! added workaround for pending hbmk2 .hbx handling problem (similar to what hbhttpd/core.prg and hbtip/client.prg has already) 2014-02-09 17:49 UTC+0100 Viktor Szakats * ChangeLog.txt ! added missing change from 2014-02-09 14:38 UTC+0100: * utils/hbmk2/hbmk2.prg ! fixed to look for SET PROCEDURE TO dependencies in the right directory 2014-02-09 17:46 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg ! fixed potential RTE while executing -run since 2014-02-03 21:07 UTC+0100 2014-02-09 16:05 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg ! missed an indenting in prev 2014-02-09 16:03 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg ! fix to -hbhrb workdir deletion 2014-02-09 14:38 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg ! fixed -hbhrb to not leave some temp files on disk ! fixed -hbhrb to not create workdir in -inc mode (there is no -inc mode here) + updated with new ISO C C11 standard headers ! fixed to look for SET PROCEDURE TO dependencies in the right directory 2014-02-09 14:36 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg % optimizations 2014-02-09 14:33 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg * two renames 2014-02-08 18:44 UTC+0100 Viktor Szakats * src/3rd/png/* * src/3rd/png/Makefile * src/3rd/png/png.dif * update libpng 1.6.8 -> 1.6.9 2014-02-08 18:38 UTC+0100 Viktor Szakats * contrib/3rd/sqlite3/sqlite3.hbp * contrib/3rd/sqlite3/* * sqlite3 update 3.8.2 -> 3.8.3 2014-02-08 18:36 UTC+0100 Viktor Szakats * contrib/hbnf/doc/en/chdir.txt * contrib/hbnf/doc/en/cint86.txt * contrib/hbnf/doc/en/floptst.txt * contrib/hbnf/doc/en/getenvrn.txt * contrib/hbnf/doc/en/isprint.txt * contrib/hbnf/doc/en/mkdir.txt * contrib/hbnf/doc/en/origin.txt * contrib/hbnf/doc/en/rmdir.txt * contrib/hbnf/doc/en/tempfile.txt * doc/cmdline.txt * doc/en/file.txt * doc/en/rddmisc.txt * doc/en/setmode.txt * extras/guestbk/guestbk.prg * include/hbapi.h ! spelling, cleanups * avoid MS-DOS specific example filenames * avoid non-existent runtime switches as example 2014-02-08 12:26 UTC+0100 Viktor Szakats * ChangeLog.txt ! URL in recent entry * doc/en/string.txt ! fixed high-character 2014-02-08 11:44 UTC+0100 Viktor Szakats * doc/en/*.txt ! source fixes and cleanup * output cleanup ! typos * contrib/hbhpdf/tests/harupdf.prg * package/harbour.svg * cleanups * tests/clipper.ch + added hb_LeftIsI() * utils/hbi18n/hbi18n.prg % optimizations 2014-02-08 00:32 UTC+0100 Viktor Szakats * contrib/gtwvg/tests/_tbrowse.prg * contrib/hbtip/tests/dbtohtml.prg * doc/en/*.txt * extras/gtwvw/tests/prog0.prg * extras/gtwvw/tests/prog1.prg * extras/gtwvw/tests/prog2.prg * extras/gtwvw/tests/wvwtest9.prg * src/vm/hvm.c * tests/aliasrt.prg * tests/browse.prg * tests/dbeval.prg * tests/dbi.prg * tests/delim.prg * tests/files.prg * tests/get2.prg * tests/hsx.prg * tests/ntx.prg * tests/rdd2.prg * tests/sdf.prg * tests/use.prg * tests/usrrdd/exlog.prg * tests/usrrdd/exrlx.prg * tests/warnings.prg * tests/wvtext.prg * use explicit (.dbf) extension in USE (and related) commands ! fixed all filenames to be lowercase in docs ! few filename fixes in docs * use function form instead of command form for some table operations * use WAIT instead of blind Inkey( 0 ) * cleaned USE parameters, prefer READONLY for test.dbf + make a copy of test.dbf before running non-readonly tests on it * some cleanups to doc examples * use clipper.ch in one more place * tests/clipper.ch + Cl*pper translation for hb_DirSepToOS() * tests/usrrdd/exhsx.prg ! setting RDD to make it work * tests/usrrdd/exlog.prg ! fixed to work out of the box ! fixed wrong field name reference ! fixed non-portable filename - tests/lbl.prg - tests/rpt.prg - overridden by rptlbl.prg 2014-02-07 22:51 UTC+0100 Viktor Szakats * ChangeLog.txt * updated previous entry 2014-02-07 22:20 UTC+0100 Viktor Szakats * config/win/mingw.mk * utils/hbmk2/hbmk2.prg % win/mingw CPU target upped to i686 (from i586) Slightly smaller binaries, and even faster. UPDATE: it requires PentiumPro CPUs or newer when using win/mingw. Some of these: https://en.wikipedia.org/wiki/Pentium_Pro Reference for tuning options: https://gcc.gnu.org/onlinedocs/gcc-4.8.1/gcc/i386-and-x86_002d64-Options.html 2014-02-07 20:45 UTC+0100 Viktor Szakats * config/cygwin/gcc.mk * config/win/mingw.mk * utils/hbmk2/hbmk2.prg % changed optimization for mingw, it will now generate smaller executables while running faster on modern CPUs (by 5%+ on my C2D). The new option will automatically adapt to CPU trends (e.g. with the next release - gcc 4.9) * utils/hbmk2/hbmk2.prg ! added missing cygwin/gcc tuning options * tests/speedtst.prg * suppress -w2/-w3 warnings when built for Harbour 2014-02-07 20:23 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/vm/dynsym.c * src/rtl/saverest.c ! casting 2014-02-07 19:22 UTC+0100 Viktor Szakats * contrib/hbcairo/tests/fancytxt.prg * contrib/hbcurl/tests/ftp_uldl.prg * contrib/hbnf/dispmsg.prg * contrib/hbnf/tests/getenvrn.prg * contrib/hbnf/tests/tbwhile.prg * doc/en/objfunc.txt * doc/en/rdddb.txt % use FOR EACH * doc/en/rdddb.txt ! typo * src/rdd/dbcmd.c ! marked DBSEEK() 3rd param as HB_EXTENSION (only in comment for now) (UPDATE: or is it a Cl*pper undocumented feature?) * src/rtl/tlabel.prg * src/rtl/treport.prg % optimizations + tests/rptlbl.prg + added mini test app for REPORT/LABEL * contrib/gtwvg/tests/_tbrowse.prg ! whitespace 2014-02-07 12:46 UTC+0100 Viktor Szakats * src/common/hbdate.c * silenced msvc warning about an intentionally ignored Windows API call result * src/vm/fm.c + added HB_OS_WIN_XP guarded (inactive) branch which uses GlobalMemoryStatusEx() to retrieve memory information. The active API - GlobalMemoryStatus() - is deprecated. * ChangeLog.txt + added suggestion for hb_xstrcat() replacement * bin/commit.hb * utils/hbmk2/hbmk2.prg * src/rtl/savebuff.prg * cleanups * bin/3rdpatch.hb * src/vm/runner.c * whitespace ; TODO: Threading crashes with win/clang (hbtest/DO_MTTES1()) Short test with TLS: --- clang-cl a.c a.c(1,0) : error: thread-local storage is unsupported for the current target __thread int hello = 0; ^ 1 error generated. --- 2014-02-07 02:19 UTC+0100 Viktor Szakats * src/rtl/filesys.c * minor fix and cleanup to previous patch 2014-02-07 02:15 UTC+0100 Viktor Szakats * config/win/msvc.mk ! disabled -analyze for clang * include/hbatomic.h + fixed/enabled thread support for win/clang (clang-cl) With LLVM/clang 3.4 now everything links and runs including .dlls. Executables are smaller compared to mingw 4.8.1, even though they have statically linked CRTL (= no external dependency to msvcrt.dll). Execution (and compilation) speed is a little bit lower than mingw. * README.md + word converted to link * src/rtl/cdpapi.c ! renamed variable redefined in sub-block * src/rtl/filesys.c ! hb_fsSetFileTime(): check result of SystemTimeToFileTime() on Windows. As suggested by msvc static analysis warning. * include/hbrddfpt.h * whitespace in comment 2014-02-06 18:08 UTC+0100 Viktor Szakats * ChangeLog.txt * fixed wrong issue number should be: fixes https://github.com/vszakats/hb/issues/7 2014-02-06 18:04 UTC+0100 Viktor Szakats * src/rtl/saverest.c ! added cast for ptr arithmetic for bcc fixes https://github.com/vszakats/hb/issues/7 * src/rtl/setcolor.c * use HB_SIZEOFARRAY()/sizeof() instead of magic numbers * src/rdd/dbf1.c * src/rdd/delim1.c * src/rdd/sdf1.c * src/rdd/usrrdd/usrrdd.c * formatting (also reducing source size and making it uncrustify-friendly) * config/postinst.hb * cleanup 2014-02-06 23:32 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/saverest.c ! fixed missing casting in last commit 2014-02-06 15:57 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/saverest.c ! added protection against passing too small screen buffer to RestScreen() function (issue https://github.com/harbour/core/issues/43) * src/rtl/xsavescr.c ! save and reuse original screen size in __XSaveScreen()/__XRestScreen() functions 2014-02-06 15:33 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rdd/hsx/hsx.c ! fixed hs_Version() - it wrongly used hb_xstrcat() instead of hb_xstrcpy() and last NULL parameter was missed. ; [vszakats] reapplied local changes, code condensed a bit * src/rdd/usrrdd/usrrdd.c ! fixed GPF when wrong parameters are passed to UR_SUPER_*() functions (issue https://github.com/harbour/core/issues/44) 2014-02-06 12:42 UTC+0100 Viktor Szakats * src/rtl/saverest.c ! RESTSCREEN(): Fixed memory access past buffer. Notice that RESTSCREEN() will not do anything if the buffer is not of sufficient size. In Cl*pper and other Harbour versions, it will use random memory and thus restore garbage onto the screen. https://github.com/harbour/core/issues/43 [ Overridden by 2014-02-06 15:57 UTC+0100. It will always set the screen area but will complement the buffer with zeroes automatically. ] 2014-02-06 12:29 UTC+0100 Viktor Szakats * include/harbour.hbx ! old casing typo 2014-02-06 12:25 UTC+0100 Viktor Szakats * ChangeLog.txt * updated previous entry 2014-02-06 12:16 UTC+0100 Viktor Szakats * config/postinst.hb + added manual .hbx regeneration with gcc, run it like: ./config$ hbrun -rehbx <path_to_harbour_dynlib> [<path_to_harbour.hbx>] (run it from 'config' dir or pass harbour.hbx path) + added logic to filter out 10 char Cl*pper shortnames from harbour.hbx * include/harbour.hbx - deleted 10 char Cl*pper shortnames ; it means these won't be accessible from hbrun scripts and apps built with -shared hbmk2 option [INCOMPATIBLE] * src/rtl/Makefile + enabled 10 char RTL function short names in rtlshort.c * src/rdd/rddshort.c + enabled remaining 10 char RDD function short names ! deleted an erroneous entry (previously disabled) * src/rdd/dbnubs.c * deleted a translation entry which belongs to rddshort.c (comment adjusted and moved there) * bin/commit.hb * contrib/make.hb % optimizations * tests/fuzz.prg ! fixed filter 2014-02-06 02:47 UTC+0100 Viktor Szakats * contrib/hbxpp/dllx.c ! DLLCALL(), DLLPREPARECALL(): fixed GPF on missing 1st parameter * contrib/hbxpp/xppopc.c * contrib/xhb/xhbmsgs.c ! XHB_INDEX(), XPP_INDEX(): fixed GPF when called as is * contrib/hbcairo/context.c ! CAIRO_SET_SOURCE_SURFACE(): fixed GPF on wrong parameters * contrib/hbnf/dispc.c ! _FT_DFINIT(): fixed memory leak when called multiple times ! _FT_DFINIT(): fixed allocation error when called with zero area ! _FT_DFINIT(): fixed various memory allocation errors when called with certain invalid buffer sizes * contrib/hbnf/fttext.c * contrib/hbmisc/hb_f.c ! fixed hang (waiting for stdin) when calling certain file handling functions in an unopened area (e.g. FT_FAPPEND(), FT_FDELETE(), FT_FINSERT(), FT_FGOBOT(), hb_FGoBottom()) * contrib/hbmisc/hbedit.prg ! SaveBox(): fixed to avoid GPF when RestBox() is called with its return value. * contrib/hbmisc/irm.c ! IRMEXECUTE(): fixed GPF on missing parameter * contrib/hbmisc/stringsx.c ! STRTOKEN(): fixed multiple GPFs on wrong parameters 2014-02-06 01:00 UTC+0100 Viktor Szakats * contrib/gtwvg/gtwgud.c * contrib/gtwvg/gtwvgd.c * contrib/gtwvg/wvgcore.c * contrib/gtwvg/wvgutils.c * contrib/gtwvg/wvgwin.c * contrib/gtwvg/wvgwing.c ! fixed GPF in nearly every WVT_*() functions ! clear some structures before passing it to Windows API * use variable name for sizeof()s on structures stored on stack 2014-02-06 00:02 UTC+0100 Viktor Szakats * contrib/hbwin/olecore.c ! WIN_OLEAUTO___OPINDEX(), WIN_OLEAUTO___ONERROR(): attempt to fix GPF when called directly from a hbrun script (or dot prompt) https://github.com/harbour/core/issues/42 [UPDATE: valid and needed even after 2014-02-21 15:16 UTC+0100 These were separate, but related issues.] 2014-02-05 23:12 UTC+0100 Viktor Szakats * ChangeLog.txt ! missed MXMLENTITYGETVALUE() from the list of fixed functions 2014-02-05 23:08 UTC+0100 Viktor Szakats * contrib/hbcurl/core.c ! fixed compile error with libcurl older than 7.10.8 (regression from some years ago) ; FIXME: GPF when calling this function sequence: CURL_EASY_INIT(); CURL_GLOBAL_CLEANUP(); CURL_GLOBAL_INIT() * contrib/hbmxml/core.c ! MXMLLOADFILE(), MXMLLOADSTRING(), MXMLSAXLOADFILE(), MXMLENTITYGETVALUE(): fixed GPF on wrong parameters * MXMLSAXLOADSTRING(): changed to throw an RTE when wrong second parameter is passed like it's done with above 3 functions % scoped variables * function call macro to look like a function call * uncrustified * contrib/hbsqlit3/core.c ! SQLITE3_COMPLETE(), SQLITE3_COMPILEOPTION_USED(): fixed GPF on wrong parameters * contrib/hbxdiff/core.c ! XDL_MMFILE_COMPACT(): fixed GPF on wrong parameters 2014-02-05 20:25 UTC+0100 Viktor Szakats * contrib/hbwin/wapi_winuser.c ! WAPI_GETSCROLLINFO(): fixed GPF when called with wrong parameters 2014-02-05 19:51 UTC+0100 Viktor Szakats * config/po2lang.hb * contrib/gtwvg/pushbut.prg * contrib/hbnetio/utils/hbnetio/netiomgm.hb * contrib/hbpgsql/tests/cache.prg * contrib/xhb/xcstr.prg * extras/gtwvw/tests/ebtest7.prg * extras/hbvpdf/core.prg * extras/httpsrv/uhttpd.prg * extras/rddado/adordd.prg * src/rtl/cdpdet.prg * tests/stripdoc.hb * tests/stripid.hb * utils/hbmk2/hbmk2.prg % use hb_FNameExt() % use hb_StrReplace() % optimizations 2014-02-05 19:39 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbct/ctwin.c ! added protection against wrong parameters passed to hb_gtAlert() It fixes https://github.com/harbour/core/issues/41 issue. 2014-02-05 18:48 UTC+0100 Viktor Szakats * src/rtl/hbsockhb.c ! HB_SOCKETGETHOSTS(): fixed GPF when called without parameter % use hb_retc_null() * tests/fuzz.prg ! fixed in compiled mode + avoid interactive functions, plus a few more 2014-02-05 18:04 UTC+0100 Viktor Szakats + tests/fuzz.prg + added basic fuzz testing for all functions linked/loaded into app or hbrun script. * include/hbapi.h * src/common/hbstr.c - deleted hb_xstrcat(). It was only used in broken HS_VERSION() implementation and it's an unsafe function. [INCOMPATIBLE: use hb_xstrcpy() instead: change function name and add an extra NULL parameter] * src/rdd/hsx/hsx.c ! HS_VERSION()/CFTSVERS(): reworked to not GPF and return version as intended. * src/rdd/rddshort.c ! fixed some 10 long functions missed by accident in previous patch * contrib/hbnetio/utils/hbnetio/_console.prg * contrib/hbnetio/utils/hbnetio/hbnetio.prg * contrib/hbnetio/utils/hbnetio/netiomgm.hb * contrib/hbnf/doc/en/fttext.txt * contrib/hbnf/pchr.prg * extras/gfspell/spell.prg * src/debug/debugger.prg * src/rdd/dbstrux.prg * src/rtl/achoice.prg * src/rtl/hbdoc.prg * src/rtl/menuto.prg * tests/foreach.prg * tests/inkey.prg * utils/hbmk2/hbmk2.prg % use hb_LeftIsI() * contrib/hbhpdf/tests/stress.prg % optimization 2014-02-05 17:02 UTC+0100 Viktor Szakats * src/rdd/Makefile - src/rdd/dbfuncs.prg + src/rdd/rddshort.c * src/rdd/dbcmd.c % optimized 10 char long compatibility function mappings + added more translations (but not enabled) * some __dbOpenSDF() comments moved to proper place + src/rtl/rtlshort.c + added more 10 char long function name translations (not enabled - it pollutes harbour.hbx) * utils/hbmk2/hbmk2.prg + give source modification suggestions when abbreviated core functions are not found at linking: --- hbmk2: Hint: Update Cl*pper abbreviated function name(s) to complete form: DBCLEARIND() -> dbClearIndex() --- * bin/3rdpatch.hb * bin/commit.hb * config/po2lang.hb * src/debug/debugger.prg * src/rdd/usrrdd/rdds/arrayrdd.prg * src/rtl/alert.prg * src/rtl/color53.prg * src/rtl/hbini.prg * src/rtl/tbrowse.prg * src/rtl/tget.prg * src/rtl/tlabel.prg * src/rtl/tpopup.prg * src/rtl/treport.prg * utils/hbmk2/hbmk2.prg * utils/hbtest/rt_misc.prg * contrib/gtwvg/class.prg * contrib/gtwvg/menubar.prg * contrib/gtwvg/paint.prg * contrib/gtwvg/wnd.prg * contrib/hbblink/blinker.prg * contrib/hbcairo/tests/glyphdbg.prg * contrib/hbct/keysec.prg * contrib/hbfbird/tfirebrd.prg * contrib/hbformat/hbfmtcls.prg * contrib/hbgd/gdbarcod.prg * contrib/hbgd/tests/cgi.prg * contrib/hbhttpd/core.prg * contrib/hbmisc/fcomma.prg * contrib/hbmisc/fileread.prg * contrib/hbmysql/tmysql.prg * contrib/hbnf/dispmsg.prg * contrib/hbnf/linked.prg * contrib/hbnf/pchr.prg * contrib/hbnf/tbwhile.prg * contrib/hbpgsql/tests/cache.prg * contrib/hbpgsql/tests/dbf2pg.prg * contrib/hbpgsql/tpostgre.prg * contrib/hbtip/*.prg * contrib/hbtpathy/telepath.prg * contrib/hbwin/win_os.prg * contrib/hbwin/win_reg.prg * contrib/hbwin/win_tcom.prg * contrib/hbzebra/tests/*.prg * contrib/hbziparc/ziparc.prg * contrib/xhb/*.prg * extras/gfspell/spell.prg * extras/guestbk/_cgi.prg * extras/hbdoc/hbdoc.prg * extras/hbvpdf/core.prg * extras/httpsrv/*.prg * tests/inherit.prg * tests/stripem.prg % inline At()/RAt()/hb_At()/hb_AtI()/hb_BAt() calls followed by an IF % use Right( c, x ) instead of SubStr( c, -x, x ) % use hb_StrShrink( c, n ) instead of Left( c, Len( c ) - n ) % IF merge % use != 0 instead of ! Empty() for numerics % At() converted to $ where the position was irrelevant ! use hb_defaultValue(), HB_IS*(), zero comparison instead of Empty() check % some other optimizations (Alert(), hb_Alert()) % some more SubStr( c, 1, n ) -> Left( c, n ) * more strict parameter checking in a few contrib/extras functions * contrib/hbtip/popcli.prg ! TIPClientPOP():Retrieve(): Unicode fixes, FIXME added for potential problem * src/rtl/errsys.prg * contrib/xhb/xhberr.prg * extras/httpsrv/uhttpd.prg % minor optimization in error Alert() loop * extras/gfspell/gfspell.hbx * extras/gfspell/spell.prg % replaced local fat() with hb_At() [INCOMPATIBLE: fat() not exported by the lib anymore] % replaced local bfat() with hb_BAt() * extras/hbvpdf/core.prg * pdfOpenHeader(): strict type checking % pdfOpenHeader(): deleted MS-DOS specific workaround (?) for long filenames * extras/httpsrv/uhttpd.prg ! fixed to create log files if they don't exist ! fixed to create log file dir if it doesn't exist ! some fixes for Unicode + use hb_ntos() ! use directry.ch constants instead of literals * tests/onidle.prg * renamed variable with proper prefix 2014-02-04 17:15 UTC+0100 Viktor Szakats * src/rtl/hbdoc.prg * src/rtl/hbi18n2.prg * utils/hbi18n/hbi18n.prg * utils/hbmk2/hbmk2.prg % minor optimizations (string concat merge, IF merge, assign/verify merge) 2014-02-04 14:30 UTC+0100 Viktor Szakats * contrib/hbfbird/tests/simple.prg * contrib/hbfbird/tests/stress.prg * contrib/hbfbird/tests/test.prg * contrib/hblzf/tests/test2.prg * contrib/hbmagic/tests/hbmagit.prg * contrib/hbmisc/fcomma.prg * contrib/hbmlzo/tests/test.prg * contrib/hbnetio/utils/hbnetio/hbnetio.prg * contrib/hbtip/tests/tipmmail.prg * contrib/hbwin/tests/mutexwin.prg * contrib/hbwin/tests/ole.prg * contrib/hbwin/win_tprn.prg * contrib/hbxdiff/tests/test2.prg * contrib/hbziparc/ziparc.prg * contrib/make.hb * contrib/xhb/hblog.prg * contrib/xhb/traceprg.prg * extras/httpsrv/_session.prg * extras/httpsrv/uhttpd.prg * extras/rddado/adordd.prg * src/debug/debugger.prg * src/rdd/dbstrux.prg * src/rdd/usrrdd/rdds/arrayrdd.prg * src/rtl/hbfilehi.prg * tests/hbdoc.prg * tests/wcecon.prg * utils/hbi18n/hbi18n.prg * utils/hbmk2/hbmk2.prg % use hb_ProgName() instead of hb_argv( 0 ) % use hb_FNameExt(), hb_FNameName(), hb_FNameNameExt(), hb_FNameDir() instead of hb_FNameSplit() % use hb_DirBase() % related optimizations % use __defaultNIL() in few new places * utils/hbi18n/hbi18n.prg % use FOR EACH * extras/httpsrv/uhttpd.prg ! '\' replaced with hb_ps() * contrib/hbfbird/tests/test.prg ! create temp database files in local dir instead of hiding them in temp dir * tests/speedtst.prg * casing 2014-02-04 13:38 UTC+0100 Viktor Szakats * contrib/hbtip/thtml.prg * replaced __TIP_PSTRCOMPI() with hb_LeftIsI() based expression (it's not exactly the same as former solution didn't have support for codepage dependent case-insensitivity) * contrib/hbtip/hbtip.hbx * contrib/hbtip/utils.c - deleted internal function __TIP_PSTRCOMPI() * extras/httpsrv/_cgifunc.prg ! replaced some functions dealing with filename with native APIs, also fixing RTEs in them due to accessing hashes via object messaging. * include/harbour.hbx * src/rtl/left.c * utils/hbtest/rt_stra.prg + added hb_LeftIsI(). Same as hb_LeftIs() but case-insensitive. * src/rtl/treport.prg % deleted meaningless expression 2014-02-04 11:36 UTC+0100 Viktor Szakats * src/rtl/tpersist.prg ! fixed to not emit double empty lines in certain cases ! fixed hard wired indentation in string literals + indentation stored as constant % optimizations * hbformatted * tests/persist.prg + more test variables for more output cases ! avoid variable data (date) in test object * src/rtl/tpopuphb.prg % merged some weird IF tricks % use FOR EACH * tests/menu.prg + test for hb_PopupMenu() + added hotkeys for main menus * src/rtl/tmenusys.prg * formatting 2014-02-04 01:35 UTC+0100 Viktor Szakats * src/rtl/tpersist.prg * renamed PRIVATE var to adhere with naming rules % use FOR EACH in one more place % minor cleanups and optimizations * tests/persist.prg + added test code for object reload (even this simple case RTEs if not requesting to ignore errors) * extras/hbdoc/_genbase.prg * minor 2014-02-04 00:28 UTC+0100 Viktor Szakats * contrib/hbhpdf/tests/files/libsanrg.ttf * contrib/hbhpdf/tests/files/libsanrg.txt * updated from 1.02 to 2.00.0 * contrib/hbhpdf/tests/harupdf.prg % use Pi() from hbct 2014-02-04 00:18 UTC+0100 Viktor Szakats * contrib/hbhpdf/tests/harupdf.prg % use FOR/NEXT ! fixed RTE in a rare error case * ChangeLog.txt + added some missing items to prev entry 2014-02-04 00:00 UTC+0100 Viktor Szakats * .gitattributes - contrib/hbhpdf/tests/files/a010013l.afm - contrib/hbhpdf/tests/files/a010013l.pfb + contrib/hbhpdf/tests/files/libsanrg.ttf + contrib/hbhpdf/tests/files/libsanrg.txt + replaced obsolete font format with free ttf, which is also Unicode compatible: https://en.wikipedia.org/wiki/Liberation_fonts * contrib/hbhpdf/tests/harupdf.prg + added UTF-8 mode. It will create UTF-8 encoded .pdf, add an UTF-8 character table page and create UTF-8 annotation. (requires libharu 2.3.0 or newer) + command-line option to turn off UTF-8 mode using -noutf8 + use .ttf font instead of .afm/.pfm ! fixed when run outside its own directory * various source formatting and cleanups % use FOR EACH, use DO CASE ! fixed character tables when run in UTF-8 mode (as hbrun script) + updated code which had hard-wired 8-bit charset codepoints * use #if 0 ! deleted one unnecessary "winansi" encoding * reordered character tables to make more sense ! fixed success message in case of failure * extras/hbdoc/_tmplate.prg + use AS HASH 2014-02-03 23:06 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbmzip/3rd/minizip/* * updated MINIZIP library 1.2.7 -> 1.2.8 (synced with Viktor's branch) 2014-02-03 22:26 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/compiler/complex.c + added support for AS HASH, POINTER, SYMBOL, TIMESTAMP + added support for AS BLOCK as synonym of AS CODEBLOCK + added support for AS DATETIME as synonym of AS TIMESTAMP * src/vm/classes.c + added support for "DATETIME" type uses as synonym of "TIMESTAMP" 2014-02-03 21:07 UTC+0100 Viktor Szakats * extras/hbdoc/_genbase.prg * extras/hbdoc/_genhtml.prg * extras/hbdoc/_gentxt.prg * extras/hbdoc/_genxml.prg * extras/hbdoc/hbdoc.hbp * extras/hbdoc/hbdoc.prg % optimized string handling / temp variable usage, IFs cleaned % enabled -kmo build options % cleaned header inclusion * utils/hbmk2/hbmk2.prg + automatically enable -cli mode when -gtcgi is speficied 2014-02-03 19:24 UTC+0100 Viktor Szakats * extras/hbxlsxml/tests/example.prg * extras/hbxlsxml/tests/example2.prg * extras/hbxlsxml/tests/example3.prg ! fixed more license headers * contrib/hbct/ctwin.c * minor 2014-02-03 19:19 UTC+0100 Viktor Szakats * extras/hbdoc/_tmplate.prg * extras/hbdoc/hbdoc.ch * extras/hbdoc/hbdoc.prg % reworked to not use PUBLIC vars at all % avoided some more macro expansions 2014-02-03 18:37 UTC+0100 Viktor Szakats * extras/hbdoc/_genhtml.prg * extras/hbdoc/_genxml.prg * extras/hbdoc/_tmplate.prg * extras/hbdoc/hbdoc.ch * extras/hbdoc/hbdoc.prg % converted a public var to hb_StrReplace() with hash * minor cleanups and optimizations 2014-02-03 18:22 UTC+0100 Viktor Szakats * extras/hbdoc/_genbase.prg * extras/hbdoc/_genhtml.prg * extras/hbdoc/_gentxt.prg * extras/hbdoc/_tmplate.prg * extras/hbdoc/hbdoc.prg * use PROTECTED obj vars % use SWITCH % merged some nested branches * use #if 0 for commented code % cleaned some array declarations % use hb_FNameExt() * avoid one macro expansion 2014-02-03 18:11 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbct/dattime2.c ! fixed potential GPF trap due to wrong protection condition and change internal variable name (synced with Viktor's branch) * src/vm/classes.c ! fixed typo in alternative code - thanks to Lorenzo for the info * contrib/hbhpdf/3rd/libhpdf/* * updated HARUPDF library 2.3.0RC2 -> 2.3.0RC3 (the same version is used in Viktor's branch) 2014-02-03 17:45 UTC+0100 Viktor Szakats * extras/hbdoc/hbdoc.hbp + added -run flags to regenarate docs for Harbour website * extras/hbdoc/hbdoc.prg * cleaned .AND./.OR. ambiguity % converted PUBLIC var to STATIC 2014-02-03 13:27 UTC+0100 Viktor Szakats * contrib/hbhpdf/3rd/libhpdf/hpdfcons.h * contrib/hbhpdf/3rd/libhpdf/hpdfpago.c * contrib/hbhpdf/3rd/libhpdf/libhpdf.dif * contrib/hbhpdf/3rd/libhpdf/libhpdf.hbp * updated libharu to 2.3.0rc3 (previous head + 1 minor patch) 2014-02-03 13:13 UTC+0100 Viktor Szakats * contrib/3rd/sqlite3/sqlite3.dif * contrib/hbbz2/3rd/bz2/bz2.dif * contrib/hbexpat/3rd/expat/expat.dif * contrib/hbmzip/3rd/minizip/minizip.dif * contrib/hbscrypt/3rd/scrypt/scrypt.dif * contrib/hbtinymt/3rd/tinymt/tinymt.dif * contrib/hbxdiff/3rd/libxdiff/libxdiff.dif * src/3rd/tiff/tiff.dif * rediffed with newer diff version which uses ISO timestamps * contrib/hbct/tests/math.prg * contrib/hbct/tests/trig.prg * src/compiler/genc.c * minor cleanups 2014-02-03 09:59 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * ChangeLog.txt * updated previous ChangeLog entry to mark group of files. 2014-02-03 09:45 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/3rd/jpeg/* * updated JPEG library 9 -> 9a * contrib/hbmxml/3rd/minixml/* * updated MINIXML library 2.7 -> 2.8 2014-02-03 09:09 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/3rd/pcre/* * updated PCRE 8.31 -> 8.34 [vszakats] restored local changes 2014-02-02 23:37 UTC+0100 Viktor Szakats * contrib/hbfbird/tests/test.prg * contrib/xhb/hbxml.h * extras/gtwvw/tests/ebtest7.prg * extras/gtwvw/tests/wvwtest9.prg * extras/guestbk/_inifile.prg * extras/guestbk/guestbk.prg * extras/hbdoc/_genbase.prg * extras/hbdoc/_genhtml.prg * extras/hbdoc/_gentxt.prg * extras/hbdoc/_genxml.prg * extras/hbdoc/_tmplate.prg * extras/hbdoc/hbdoc.prg * extras/hbvpdf/core.prg * extras/hbvpdf/tests/pdf_demo.prg * extras/hbxlsxml/xlsxml_s.prg * extras/hbxlsxml/xlsxml_y.prg * extras/hbxlsxml/xlsxml.prg * extras/httpsrv/uhttpd.prg * extras/rddado/adordd.prg % use FOR EACH, use hb_FCopy() ! fixed license headers ! use F_ERROR % optimizations * cleanups 2014-02-02 22:15 UTC+0100 Viktor Szakats * src/3rd/jpeg/*.c * src/3rd/jpeg/jpeg.dif * src/3rd/jpeg/Makefile * updated to jpeg 9a (from 9) 2014-02-02 22:11 UTC+0100 Viktor Szakats * contrib/hblzf/core.c * contrib/hbodbc/odbc.c * contrib/hbtpathy/telepath.prg * contrib/hbxdiff/core.c * contrib/hbxpp/dmlb.ch * contrib/hbxpp/wafuncx.c * contrib/hbxpp/xppopc.c * minor cleanups 2014-02-02 19:22 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/3rd/sqlite3/* * sqlite3 update 3.7.16.2. -> 3.8.2 * contrib/3rd/sqlite3/sqlite3.hbp + enabled FTS3/FTS4 (full text search) in SQLite * contrib/hbtinymt/3rd/tinymt/* * updated tinymt to 1.0.3 ; [vszakats] reapplied a change missing in copy to mainstream 2014-02-02 15:38 UTC+0100 Viktor Szakats * contrib/hbgd/gdwrp.c ! fixed possible memory corruption in an RTE call from GDImageSaveTo() * contrib/hbsqlit3/core.c % optimized RTE calls * contrib/hbct/dbftools.c * contrib/hbmisc/spd.c * formatting * contrib/hbct/tests/charnot.prg * contrib/hbct/tests/charrll.prg * contrib/hbct/tests/csetarge.prg * contrib/hbct/tests/finan.prg * contrib/hbct/tests/math.prg * contrib/hbct/tests/token2.prg * contrib/hbct/tests/trig.prg * contrib/hbcurl/tests/ftp_uldl.prg * contrib/hbmysql/tests/dbf2mysq.prg * contrib/hbmzip/tests/myunzip.prg * contrib/hbnf/tests/menu1.prg * contrib/hbpgsql/tests/dbf2pg.prg * tests/cdx.prg * tests/dbf.prg * tests/idle.prg * tests/memvar.prg * tests/newrdd.prg * tests/parseini.prg * tests/ppapi.prg * tests/video.prg % use WAIT * output cleanup 2014-02-02 14:10 UTC+0100 Viktor Szakats * contrib/hbtip/url.prg * contrib/xhb/bkgtsks.c * contrib/xhb/cstructc.c * contrib/xhb/datesxhb.c * contrib/xhb/dbgfxc.c * contrib/xhb/filestat.c * contrib/xhb/fparse.c * contrib/xhb/freadlin.c * contrib/xhb/hbcrypt.c * contrib/xhb/hbserv.c * contrib/xhb/ttable.prg * contrib/xhb/txtline.c * contrib/xhb/xhbfunc.c % optimizations, cleanups, one minor fix * README.md ! wording 2014-02-02 12:46 UTC+0100 Viktor Szakats * contrib/hbtip/utils.c + contrib/hbtip/tests/test.prg ! __tip_PStrCompI() fixed out of bound memory access (GPF) with certain input parameters + added test case ; TODO: replace __tip_PStrCompI() with hb_LeftIs() or similar [DONE] * contrib/hbhttpd/core.prg * contrib/hbtip/thtml.prg * contrib/hbtip/utils.c & cleanups, optimizations 2014-02-01 18:22 UTC+0100 Viktor Szakats * contrib/hbhttpd/core.prg % cleanups near mime type detection * contrib/hbtip/utils.c + added 7 more types * updated a few mime types * src/rtl/cdpdet.prg * minor to avoid having 'harbour' in a function name 2014-02-01 17:52 UTC+0100 Viktor Szakats * contrib/hbwin/wapi_winbase.c ! indenting to prev patch 2014-02-01 17:48 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg ! added two recenly added hb_key*() functions to GT autoconfig list 2014-02-01 17:33 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg ! -xhp= conversion: fixed parsing 'Include' line when it had multiple directories 2014-02-01 12:22 UTC+0100 Viktor Szakats * contrib/gtwvg/gtwvgd.c * contrib/hbwin/wapi_winbase.c * contrib/hbwin/wapi_wingdi_font.c * contrib/hbwin/win_rpc.c ! reapplied msvc fixes missing from mainstream * src/rtl/gtwvt/gtwvt.c ! applied msvc fix to commented code 2014-02-01 11:00 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbwince.h * added WINBASEAPI in declaration of redefined functions ; NOTE: if recent MSVC releases support above functions then they should be covered by some macros * src/rdd/dbfcdx/dbfcdx1.c * minor cleanup: EDBF_CREATE -> EDBF_CREATE_INDEX 2014-02-01 09:11 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbwince.h - removed GetProcAddress() redefinition which forced ANSI version not supported in recent Windows Mobile MSVC libraries * include/hbwinuni.h + added new macros which hide differences between Windows systems in GetProcAddress() usage: HB_WINAPI_GETPROCADDRESS() and HB_WINAPI_GETPROCADDRESST() The second one adds "W" or "A" suffix to function names. - removed not longer used HB_WINAPI_FUNCTION_NAME() macro * src/vm/dynlibhb.c * updated hb_libSymAddr() to work with Unicode version of GetProcAddress() in WinCE builds * src/vm/maindllp/dllpcode.c * updated hb_dllGetProcAddress() to work with Unicode version of GetProcAddress() in WinCE builds * contrib/hbwin/wapi_winbase.c * updated WAPI_GetProcAddress() to work with Unicode version of GetProcAddress() in WinCE builds * src/common/hbdate.c * src/common/hbver.c * src/rtl/diskspac.c * src/rtl/disksphb.c * src/rtl/fslink.c * src/rtl/gtwin/gtwin.c * src/rtl/gtwvt/gtwvt.c * src/vm/extrap.c * contrib/gtwvg/gtwvgd.c * contrib/gtwvg/wvgwin.c * contrib/hbwin/axcore.c * contrib/hbwin/mapi.c * contrib/hbwin/wapi_shellapi.c * contrib/hbwin/wapi_winbase.c * contrib/hbwin/wapi_wingdi_font.c * contrib/hbwin/win_prn2.c * contrib/hbwin/win_prn3.c * contrib/hbwin/win_rpc.c * extras/gtwvw/gtwvwd.c * use HB_WINAPI_GETPROCADDRESS*() 2014-01-31 23:12 UTC+0100 Viktor Szakats * contrib/hbnf/any2any.prg * contrib/hbnf/tests/test.prg * ft_XToY() cleanups * contrib/hbtest/core.prg * contrib/hbtest/hbtest.hbx * contrib/hbtest/tests/test.prg + added hbtest_AllTypes(), hbtest_AllValues(), hbtest_Object() to provide test values for e.g. fuzz testing. * contrib/hbgd/gdchart.prg * contrib/hbgd/tests/cgi.prg * contrib/hbmysql/tmysql.prg * contrib/hbtip/httpcli.prg * contrib/hbtip/mail.prg * contrib/hbwin/win_tprn.prg * contrib/xhb/hjwindow.prg * contrib/xhb/hterrsys.prg * contrib/xhb/htjlist.prg * contrib/xhb/htmutil.prg * contrib/xhb/tcgi.prg * contrib/xhb/tedit.prg * contrib/xhb/tframe.prg * contrib/xhb/thtm.prg * contrib/xhb/trpc.prg * contrib/xhb/trpccli.prg * contrib/xhb/ttable.prg + use type checks instead of NIL checks (!= NIL -> HB_IS*(), __defaultNIL() -> hb_default()) % string optimizations % use hb_defaultValue(), HB_IS*() instead of ValType(), hb_StrReplace(), FOR EACH, DO CASE * avoid Windows codepage in HTML output + support function pointers (symbols) where codeblocks are supported ! check for invalid file handle ! fixed minor bugs ! useless assignments not reported by Harbour compiler * various optimizations and cleanups * tests/clipper.ch + new translations and emulation of some more Harbour intrinsic macros ! one fix to prev commit 2014-01-31 03:34 UTC+0100 Viktor Szakats * contrib/hbtip/utils.c + added mime type for .ics (iCalendar) + added link to mime type IANA page * utils/hbmk2/hbmk2.prg ! comment wording 2014-01-30 22:12 UTC+0100 Viktor Szakats * bin/3rdpatch.hb * contrib/make.hb * contrib/gtqtc/hbmk2_qtmoc.hb * contrib/gtwvg/class.prg * contrib/gtwvg/menubar.prg * contrib/hbct/tempfile.prg * contrib/hbformat/hbfmtcls.prg * contrib/hbmxml/tests/custom.prg * contrib/hbmxml/tests/testmxml.prg * contrib/hbnetio/utils/hbnetio/hbnetio.prg * contrib/hbnf/miltime.prg * contrib/hbnf/pchr.prg * contrib/hbnf/round.prg * contrib/hbnf/xbox.prg * contrib/hbtip/ftpcli.prg * contrib/hbtip/mail.prg * contrib/hbtip/mailsend.prg * contrib/hbtip/popcli.prg * contrib/hbtip/smtpcli.prg * contrib/hbtip/tests/tipwget.prg * contrib/hbtip/thtml.prg * contrib/hbwin/tests/ole.prg * contrib/hbwin/win_tcom.prg * contrib/xhb/cstruct.prg * contrib/xhb/dumpvar.prg * contrib/xhb/sprintf.prg * contrib/xhb/xcstr.prg * doc/en/rdddb.txt * extras/gtwvw/tests/ebtest7.prg * extras/guestbk/_inifile.prg * extras/hbvpdf/core.prg * extras/hbxlsxml/xlsxml_y.prg * src/debug/dbgtmenu.prg * src/debug/dbgtobj.prg * src/debug/debugger.prg * src/rdd/dbstrux.prg * src/rdd/hbsix/sxini.prg * src/rtl/memvarhb.prg * src/rtl/objfunc.prg * src/rtl/tget.prg * src/rtl/tobject.prg * src/rtl/tpersist.prg * tests/inifiles.prg * tests/inkey.prg * tests/rdd2.prg * utils/hbmk2/hbmk2.prg % use hb_LeftIs() % minor optimizations around it * contrib/gtqtc/hbmk2_qtmoc.hb + show message when run as plain script * tests/clipper.ch + new translations 2014-01-30 17:53 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg ! restored commit 691bb888bdcf7c8da7130f5533ab918c0d905547 which got accidentally reverted in 2014-01-25 01:06 UTC+0100 due a local restore of a previous version for debugging purposes. 2014-01-30 17:40 UTC+0100 Viktor Szakats * contrib/hbgd/gdimage.prg * contrib/hbmisc/fileread.prg * contrib/hbmisc/hbedit.prg * contrib/hbmisc/numtxten.prg * contrib/hbmisc/numtxthu.prg * contrib/hbmisc/numtxtru.prg * contrib/hbnf/tests/clrsel.prg * contrib/hbnf/tests/d2e.prg * contrib/xhb/cstruct.prg * contrib/xhb/dbgfx.prg * contrib/xhb/dumpvar.prg * contrib/xhb/hblog.prg * contrib/xhb/hjwindow.prg * contrib/xhb/tcgi.prg * contrib/xhb/tfile.prg * contrib/xhb/tframe.prg * contrib/xhb/thtm.prg * contrib/xhb/ttable.prg % use hb_defaultValue() % use hb_default() ! use hb_default() in place of __defaultNIL() (bug incompatible) % use SWITCH, use CASE % minor optimizations ! use HB_IS*() instead of NIL comparison ! GDImage():SetColor(): fixed when called with single parameter * general cleanups, various other minor fixes and optimizations * contrib/hbwin/wapi_misc.c * reordered worker functions 2014-01-30 16:28 UTC-0200 Raphael Gozzo (raphaelgz users.noreply.github.com) * package/harbour.spec + Added detection of CentOS * The package name was changed to follow these guidelines: https://fedoraproject.org/wiki/Packaging:NamingGuidelines?rd=PackageNamingGuidelines#Non-Numeric_Version_in_Release 2014-01-30 11:05 UTC+0100 Viktor Szakats * bin/commit.hb * contrib/hbhttpd/core.prg * contrib/hbmysql/tmysql.prg * extras/httpsrv/uhttpd.prg % minor optimizations 2014-01-30 02:16 UTC+0100 Viktor Szakats * contrib/hbcurl/tests/ftp_uldl.prg * updated % deleted unnecessary code * contrib/xhb/dbgfx.prg * contrib/xhb/hblog.prg * contrib/xhb/hblognet.prg * contrib/xhb/hbstruct.prg % optimizations * cleanups, stricter param checks ! use hb_FCreate() * bin/commit.hb - do not fill the clipboard with the commit message 2014-01-30 00:11 UTC+0100 Viktor Szakats * contrib/xhb/xcstr.prg ! ValToNumber(): fixed to work instead of RTEing on pointers * contrib/hbhttpd/core.prg * contrib/hbwin/win_tprn.prg * contrib/xhb/hterrsys.prg * contrib/xhb/xhberr.prg * convert dates to ISO format where appropriate ! use full lowercase filenames ! use hb_MemoWrit() % deleted dead code % use hb_ntos() instead of Str() in one place 2014-01-29 23:41 UTC+0100 Viktor Szakats * README.md + added link to GitHub Guides 2014-01-29 23:14 UTC+0100 Viktor Szakats * contrib/hbfbird/tfirebrd.prg * contrib/hbhttpd/core.prg * contrib/hbmisc/numtxtru.prg * contrib/hbmysql/tmysql.prg * contrib/hbpgsql/tests/cache.prg * contrib/hbtip/ftpcli.prg * contrib/hbtip/sessid.prg * contrib/xhb/arrayblk.prg * contrib/xhb/cstruct.prg * contrib/xhb/dbgfx.prg * contrib/xhb/decode.prg * contrib/xhb/dirrec.prg * contrib/xhb/dumpvar.prg * contrib/xhb/hbcomprs.prg * contrib/xhb/hblog.prg * contrib/xhb/stream.prg * contrib/xhb/tcgi.prg * contrib/xhb/tedit.prg * contrib/xhb/tfile.prg * contrib/xhb/trpc.prg * contrib/xhb/trpccli.prg * contrib/xhb/txml.prg * contrib/xhb/xcstr.prg * extras/hbvpdf/core.prg * extras/httpsrv/_cgifunc.prg * src/rtl/profiler.prg ! fixed to use StrZero() on year % use hb_DToC() % use StrZero() instead of PadL( num, w, "0" ) * use Str() instead of PadL( num, w ) % use hb_defaultValue() ! better type checking % use hb_FNameExtSetDef() ! fixed HB_LogDbf():New() to be portable ! use constants instead of literals * various cleanups, optimizations, deleted dead code 2014-01-29 20:24 UTC+0100 Viktor Szakats * contrib/hbtpathy/telepath.prg * contrib/xhb/tfile.prg * contrib/xhb/trpc.prg * contrib/xhb/trpccli.prg * doc/en/file.txt ! Unicode fixes * contrib/xhb/tfile.prg % various optimizations, cleanups * contrib/gtwvg/class.prg * contrib/gtwvg/mle.prg * contrib/gtwvg/paint.prg * contrib/gtwvg/sle.prg * contrib/gtwvg/tests/_modal.prg * contrib/gtwvg/wnd.prg * contrib/hbformat/hbfmtcls.prg * contrib/hbnf/at2.prg * contrib/hbnf/clrsel.prg * contrib/hbnf/nwsem.prg * contrib/hbnf/sqzn.prg * contrib/hbnf/tbwhile.prg * contrib/hbtip/httpcli.prg * contrib/hbtip/thtml.prg * contrib/hbtpathy/telepath.prg * contrib/xhb/dumpvar.prg * contrib/xhb/hblognet.prg * contrib/xhb/tcgi.prg * contrib/xhb/tfile.prg * contrib/xhb/trpc.prg * contrib/xhb/trpccli.prg * contrib/xhb/xhbtedit.prg * doc/en/file.txt * extras/gfspell/spell.prg * extras/guestbk/_cgi.prg * extras/httpsrv/_cgifunc.prg * extras/httpsrv/_session.prg * extras/httpsrv/uhttpd.prg * src/debug/dbgtmenu.prg * src/debug/debugger.prg * src/rtl/color53.prg * src/rtl/dbedit.prg * src/rtl/tget.prg * src/rtl/tlabel.prg * src/rtl/tpopup.prg * tests/db_brows.prg % SubStr( x, 1, y ) -> Left( x, y ) % hb_BSubStr( x, 1, y ) -> hb_BLeft( x, y ) % SubStr( x, 1, Len( y ) ) == y -> hb_LeftIs( x, y ) % use hb_StrShrink() in one place ; except some cases, e.g. where '1' is a position in a structure * extras/hbvpdf/core.prg * utils/hbmk2/hbmk2.prg * formatting 2014-01-29 17:47 UTC+0100 Viktor Szakats * contrib/hbnetio/netiomt.prg ! reverted last change, it seems to be something else. (BTW not testing with NETIO, but a similar, but different case) 2014-01-29 17:08 UTC+0100 Viktor Szakats * contrib/hbnetio/netiomt.prg ! netio_MTServer(): if the RPC is a hash, clone it to avoid memory corruption on subsequent client connects. * contrib/hboslib/core.prg * include/inkey.ch * formatting * include/inkey.ch * INKEY_ALL to use the sum of its parts instead of literal 255 * src/rtl/hbini.prg % use Left() 2014-01-30 11:53 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/3rd/zlib/zutil.h ! removed not longer necessary hack for missing fdopen() function in WinCE builds. It's dummy code for older versions and current ZLIB does not use fdopen() function. * src/3rd/zlib/zlib.dif * rediffed 2014-01-30 10:34 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbtip/utils.c * src/rtl/gtwvt/gtwvt.c * casting to pacify some warnings * src/compiler/harbour.y * src/compiler/harbour.yyc * src/compiler/harbour.yyh * changed type of valChar.length from int to HB_SIZE * include/hbpp.h * src/pp/ppcore.c * changed type of last hb_pp_tokenBlockString() parameter from int * to HB_SIZE * * src/compiler/complex.c * removed unnecessary casting 2014-01-29 09:38 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/harbour.hbx * src/vm/dynsym.c + added PRG function which verifies internal global symbol table structure: __dynsVerify() -> <nError> (0 => no errors detected) * include/harbour.hbx * src/vm/hvm.c + added PRG function which verifies internal module symbol tables: __vmModulesVerify() -> <acBrokenSymbols> * include/harbour.hbx * src/vm/classes.c + added PRG function which verifies given class internal structure: __clsVerify( <nClassH> ) -> <acBrokenMessages> | NIL 2014-01-29 02:15 UTC+0100 Viktor Szakats * contrib/xhb/bkgtsks.c + use TSD instead of xhb legacy MT stuff + HB_BACKGROUNDADD(): changed to accept EVALITEM instead of strings and arrays [INCOMPATIBLE] + changed engine to support EVALITEM tasks instead of legacy string macros and (not working) arrays using hb_itemDo() ! fixed * made all C functions static % cleaned unnecessary headers * cleanups/optimizations + contrib/xhb/tests/bkgtest.prg + contrib/xhb/tests/bldinfo.prg + added tests, upgraded to Harbour standards + bkg tests adapted to incompatible change * include/hbapi.h + added HB_ISEVALITEM() macro * contrib/hbcurl/core.c * contrib/hbexpat/core.c * contrib/hbfimage/fi_wrp.c * contrib/hbmxml/core.c * contrib/hbsqlit3/core.c * contrib/hbssl/pem.c * contrib/hbssl/ssl.c * contrib/hbwin/win_svc.c * contrib/hbxdiff/core.c % use HB_ISEVALITEM() macro % use HB_IT_EVALITEM instead of ( HB_IT_BLOCK | HB_IT_SYMBOL ) * contrib/xhb/dumpvar.prg * comment cleanup * contrib/xhb/hblog.prg * contrib/xhb/hblognet.prg % deleted ST specific, inactive code * contrib/xhb/traceprg.prg ! TraceLog(): fixed to verify results of fopen()/fcreate() % deleted xhb specific, inactive code * contrib/xhb/xhberr.prg * minor to prev 2014-01-28 21:44 UTC+0100 Viktor Szakats * contrib/xhb/xdbmodst.prg ! dbModifyStructure(): - fixed to not RTE due to illegal automatic alias - fixed to delete temp files - fixed when passed filename has a directory - FIXME added: not MS-DOS compatible - fixed minor Y2K problem ! dbMerge()/dbImport(): fixed to not RTE with 2nd param missing * cleanups - tests/base64.prg * utils/hbtest/rt_misc.prg + moved standalone base64 tests to hbtest * contrib/xhb/xhberr.prg % deleted commented code * contrib/xhb/tests/regexrpl.prg % minor 2014-01-28 16:42 UTC+0100 Viktor Szakats * contrib/xhb/xdbmodst.prg % optimizations, use SWITCH * contrib/xhb/xhberr.prg + added missing Harbour specific SETs + display thread id * various fixes to error log output * changed default to _append_ to error.log ! use F_ERROR % deleted inactive code % deleted unnecessary macro usage % reworked/simplified disk log output (still not network compatible though) * optimizations * CONTRIBUTING.md + added note to use English language in human readable texts in reports * contrib/xhb/bkgtsks.c * formatting 2014-01-28 13:29 UTC+0100 Viktor Szakats * CONTRIBUTING.md * attempt to format prev commit 2014-01-28 13:25 UTC+0100 Viktor Szakats * CONTRIBUTING.md + added two great links about how to contribut and how to make a good issue report * contrib/xhb/regexrpl.prg ! hb_regexReplace(): fixed to work (it didn't do any substitution before) % optimizations * contrib/xhb/stream.prg * use F_ERROR * cleanups * contrib/xhb/traceprg.prg * use DO CASE * contrib/xhb/trpc.prg % IF reversal * cleanups * src/rdd/usrrdd/rdds/arrayrdd.prg % use SWITCH, use FOR EACH * cleanups and optimizations * contrib/xhb/tcgi.prg * contrib/xhb/tests/regexrpl.prg * cleanups 2014-01-28 03:11 UTC+0100 Viktor Szakats * src/rtl/memoedit.prg ! MemoEdit() fixed to pass-through without interactivity when the user function is a boolean .F. * contrib/xhb/xhbver.prg + hb_BuildInfo() to return foxpro/xbase/flagship compatibility status dynamically based on the corresponding contrib lib being loaded or linked. * contrib/xhb/xcstr.prg % minor optimizations * contrib/xhb/xhbmemo.prg * formatting % IF reversal * contrib/xhb/hbcompat.ch * contrib/xhb/xhbmt.prg * include/tbrowse.ch * formatting * contrib/xhb/xhwinprn.prg * cleanup 2014-01-27 23:09 UTC+0100 Viktor Szakats * contrib/xhb/thtm.prg * contrib/xhb/xhbmemo.prg * contrib/xhb/xhbtedit.prg * general cleanups, formatting, comment typos % some IF reversals * use DO CASE 2014-01-27 21:22 UTC+0100 Viktor Szakats * src/rtl/alert.prg * src/rtl/listbox.prg * src/rtl/objfunc.prg % hb_Alert(), _LISTBOX_(), __objGetValueList(): use FOR EACH and related optimizations % __objSetValueList(): minor opt * config/lang2po.hb * config/po2lang.hb % use FOR EACH * minor code cleanups 2014-01-27 16:55 UTC+0100 Viktor Szakats * contrib/gtqtc/gtqtc.h * contrib/xhb/hbsyslog.c * contrib/xhb/xhbinkey.ch * contrib/xhb/xhbkey.c ! fixed COPYING to COPYING.txt * contrib/xhb/xhbtedit.prg * src/debug/tbrwtext.prg * use DO CASE 2014-01-27 15:15 UTC+0100 Viktor Szakats * src/rtl/memoedit.prg % abort key checking optimized and made unicode compatible * contrib/xhb/xhbmemo.prg ! xhb_MemoEdit(): fixed to accept UTF8 chars. * contrib/xhb/xhbtedit.prg ! XHBEditor(): fixed tab width default to 4 (was 5) ! fixed scoreboard messages to adapt to screen dimensions ! fixed abort message to be the same as in Cl*pper ! fixed cursor position on abort message ! fixed to set LastKey() to K_ESC on abort 2014-01-27 15:04 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/3rd/zlib/zutil.c ! do not define dummy errno variable in WinCE builds - it's probably some dummy old code not necessary in current ZLIB versions * src/3rd/zlib/zlib.dif * rediffed 2014-01-27 14:49 UTC+0100 Viktor Szakats * src/rtl/teditor.prg * enabled line numbers for this source file, until potential RTEs are found and fixed. * src/rtl/memoedit.prg * formatting + contrib/xhb/tests/memoedit.prg + added xhb_MemoEdit() test code * contrib/xhb/stream.prg * contrib/xhb/xcstr.prg * contrib/xhb/xdbmodst.prg * contrib/xhb/xhbmemo.prg * contrib/xhb/xhbtedit.prg * comment cleanup % xhb_MemoEdit(): minor optimization ! xhb_MemoEdit(): fixed nTabWidth default value to be 4 (was 3), like in Cl*pper. also deleted related false comment. ! xhb_MemoEdit(): fixed some defaulting logic broken in 2014-01-14 21:15 UTC+0100 ! fixed remaining faulty logic resulting from pointless 'DEFAULT var TO NIL' expression ! fixed Throw() calls to always generate error object with xhb_ErrorNew() % deleted unnecessary Throw() translations 2014-01-27 14:09 UTC+0100 Viktor Szakats * contrib/hbtest/core.prg % optimization * contrib/hbwin/tests/prn3.prg * output cleanup * src/rtl/hblpphb.c * formatting/cleanup in comment * tests/readhrb.prg * minor cleanup * utils/hbtest/rt_tran2.prg ! Clipper compatibility 2014-01-27 00:48 UTC+0100 Viktor Szakats - tests/transfrm.prg + utils/hbtest/rt_tran2.prg * utils/hbtest/hbtest.hbp * utils/hbtest/hbtest.prg * utils/hbtest/make_c5x.bat * utils/hbtest/make_xpp.bat * utils/hbtest/Makefile + moved Transform() tests inside hbtest (also runnable as a script) * contrib/hbwin/olecore.c * simplification * contrib/hbwin/tests/dlg.prg * contrib/hbwin/tests/dlg.rc * contrib/hbwin/tests/ole_wmi.prg * contrib/hbwin/tests/olesrv1.prg * contrib/hbwin/tests/olesrv4.prg * contrib/hbwin/tests/prn3.prg * cleanups 2014-01-26 21:56 UTC+0100 Viktor Szakats * contrib/hbwin/win_err.prg ! minor correction to win_ErrorDesc() 2014-01-26 21:22 UTC+0100 Viktor Szakats * contrib/hbwin/hbwin.hbx * contrib/hbwin/win_err.prg * contrib/hbwin/tests/fmtmsg.prg * contrib/hbwin/tests/mutexwin.prg + added win_ErrorDesc( <nErrorCode:wapi_GetLastError()>, [<nLangId>] ) -> <cErrorDesc> it returns the description of a Windows error ID ! self-generator to better default on 32-bit Windows hosts + win_ErrorString() 1st parameter now defaults to wapi_GetLastError() instead of return error * use /**/ comment to separate generated code * contrib/hbwin/wapi_winbase.c % WAPI_FORMATMESSAGE(): minor optimization * contrib/hbwin/tests/serial1.prg * contrib/hbwin/tests/serial2.prg * contrib/hbwin/tests/service.prg * contrib/hbwin/tests/simwce.prg % output cleanup ! fixed RTE on missing CLI argument ! fixed serial tests for UTF8EX cp * contrib/hbwin/tests/service.prg % use win_ErrorDesc() * contrib/hbwin/wapi_commctrl.c * contrib/hbwin/tests/prn3.prg * src/rtl/memoedit.prg * formatting * tests/clipper.ch ! fixed typo in one previously add line 2014-01-25 13:15 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg ! use hb_GetStdOut() instead of hard-wired value + tests/memoedit.prg + added simple test for MemoEdit() (which is still crashing here and there) * tests/clipper.ch + added new translations * contrib/hbmisc/tests/pe.prg * contrib/hbwin/win_err.prg * src/rtl/teditor.prg * minor cleanups * tests/achoice.prg * tests/asort.prg * tests/gtkeys.prg * tests/gtstd.prg * tests/inkey.prg * tests/menuto.prg * tests/vmasort.prg % use clipper.ch 2014-01-25 01:41 UTC+0100 Viktor Szakats * contrib/hbwin/win_err.prg ! fix to prev. time to rest. 2014-01-25 01:36 UTC+0100 Viktor Szakats * contrib/hbwin/win_err.prg ! win_ErrorString(): fixed RTE when invalid parameter type is passed 2014-01-25 01:06 UTC+0100 Viktor Szakats + contrib/hbwin/win_err.prg * contrib/hbwin/hbwin.hbp * contrib/hbwin/hbwin.hbx * contrib/hbwin/tests/mutexwin.prg + Added: win_ErrorString( <nWinErrorCode> ) -> <cErrorString> + win_err.prg is also a hbrun script which when run, will regenerate itself if pointed to the latest winerror.h from Windows SDK + added simple test for win_ErrorString() * src/rtl/left.c * utils/hbtest/rt_stra.prg ! hb_LeftIs() fixed another silly typo making it case-insensitive + added test for this 2014-01-25 00:33 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbct/charlist.c ! fixed possible heap memory buffer overflow in CharSList() and CharNoList() % optimized 2014-01-24 23:25 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/3rd/zlib/Makefile * src/3rd/zlib/zlib.dif * src/3rd/zlib/* * updated ZLIB 1.2.7 -> 1.2.8 ; [vszakats] hbsockhb.c: comment fix ; [vszakats] restored SSL link 2014-01-24 22:32 UTC+0100 Viktor Szakats * src/lang/l_el.c ! space fixes in prev translation update 2014-01-24 22:24 UTC+0100 Viktor Szakats * src/rtl/left.c * utils/hbtest/rt_stra.prg ! hb_LeftIs(): fixed silly typo + hb_LeftIs(): added corresponding tests * src/lang/l_el.c * updated according to this patch (with fixes): https://github.com/Petewg/core/commit/2a583500ad0ee8d0f2d0f44cdb2643b05ba470c5 above is the wrong way of updating translations, it should be done via Transifex then synced down to source using: set HB_TRANSIFEX_LOGIN=username:password hbmk2 config/lang.hb trs_pull core-lang Transifex database has instructions against a typical mistake made here, too. 2014-01-24 21:59 UTC+0100 Viktor Szakats * README.md ! fixed a broken link to contribution section * minor cleanup 2014-01-24 21:54 UTC+0100 Viktor Szakats * README.md * utils/hbmk2/hbmk2.prg % cleaned watcom envvar configuration 2014-01-24 18:10 UTC+0100 Viktor Szakats * contrib/hbmysql/tmysql.prg ! TMySQLRow():FieldPut(): do not trim string when storing to memo type ! TMySQLRow():FieldPut(): be able to store strings to memo and vice versa ! TMySQLRow():MakePrimaryKeyWhere(), TMySQLTable():MakePrimaryKeyWhere(): allow any field which has the unique key flag % deleted unnecessary calling parameter ; Suggested by Elch (aka Rolf), here: https://groups.google.com/forum/#!topic/harbour-devel/R7ZEpK4rAl0 * contrib/hbmysql/tmysql.prg * contrib/hbtip/thtml.prg * contrib/xhb/hblog.prg * hb_bitAnd() call cleanup * README.md * utils/hbmk2/hbmk2.prg + updated for openwatcom 2.0 beta + autodetect x64-hosted watcom compiler on Windows 2014-01-24 12:35 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/3rd/png/* * src/3rd/png/Makefile * src/3rd/png/pnglconf.h * src/3rd/png/png.dif * updated libpng 1.6.1 -> 1.6.8 ; modifications below taken from Viktor branch Warning: some of them may cause problems with 3rd party code which needs fully functional libpng. * disabled PNG_CONSOLE_IO_SUPPORTED build option. (MSVS 2013 doesn't support 'stderr' constant) * disabled STDIO dependent parts for all platforms * disabled PNG_CONVERT_tIME_SUPPORTED to avoid using unsafe RTL calls (as shown by msvc) ; [vszakats] restored deleted comment and SSL link in Makefile 2014-01-24 00:12 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/gtqtc/gtqtc1.cpp + enable virtual keyboard in Android and WinCE builds on focusOn and mouseLeftButton events - just for tests so users can compile and try code like tests/gtkeys.prg ; Warning in Android builds Fn keys, INS, HOME, END, PgUP and letters without modifiers do not work with virtual keyboards. Any solutions are greatly welcome. Setting Qt::ImhNoPredictiveText in console widget is not sufficient workaround for letters. BTW in Android I suggest to install Hacker's Keyboard by Klaus Weidner. It supports all PC keys and they works in terminal mode with ATE (Android Terminal Emulator) and Harbour GTTRM raw binary applications. 2014-01-23 13:14 UTC+0100 Viktor Szakats * contrib/gtwvg/tests/_tbrowse.prg * contrib/hbct/tests/*.prg * contrib/hbnf/doc/en/metaph.txt * contrib/hbnf/tests/tbwhile.prg * contrib/rddads/doc/en/adsfuncs.txt * contrib/rddsql/readme.txt * contrib/sddmy/tests/test1.prg * contrib/xhb/ttable.prg * doc/en/rddord.txt * extras/gfspell/spell.prg * tests/files.prg * tests/ntx.prg * tests/rdd2.prg * various minor cleanups (e.g. do not use runtime alias in index key) * utils/hbtest/rt_hvm.prg * utils/hbtest/rt_stra.prg * moved hb_LeftIs() to str tests 2014-01-23 01:55 UTC+0100 Viktor Szakats * contrib/hbblat/blatcls.prg * contrib/hbct/tests/*.prg * contrib/hbgd/tests/*.prg * contrib/hbhpdf/tests/harupdf.prg * contrib/hbmisc/hbedit.prg * contrib/hbnf/tests/*.prg * contrib/hbtpathy/telepath.prg * contrib/hbwin/tests/prn1.prg * contrib/hbwin/win_tprn.prg * contrib/rddads/tests/datad.prg * contrib/xhb/*.prg * extras/gtwvw/tests/wvwtest9.prg * extras/hbvpdf/core.prg * extras/httpsrv/*.prg * extras/httpsrv/modules/*.prg * extras/httpsrv/uhttpd.prg * src/debug/debugger.prg * src/rdd/usrrdd/rdds/*.prg * src/rtl/hbini.prg * utils/hbmk2/hbmk2.prg * avoid using " = " in comments and strings ! fixed one stray = operator * src/rdd/usrrdd/rdds/*.prg % deleted unnecessary parenthesis 2014-01-22 18:26 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg ! one edit typo in prev 2014-01-22 14:58 UTC+0100 Viktor Szakats * bin/commit.hb * config/postinst.hb * contrib/hbformat/hbfuncs.prg * contrib/hbhpdf/tests/stress.prg * contrib/hbhttpd/core.prg * contrib/hbnetio/utils/hbnetio/_console.prg * contrib/hbnetio/utils/hbnetio/netiomgm.hb * contrib/hbnf/doc/en/fttext.txt * contrib/hbsms/sms.prg * contrib/hbtip/mailassy.prg * contrib/hbwin/win_reg.prg * contrib/xhb/xhbtedit.prg * extras/gfspell/spell.prg * extras/hbdoc/hbdoc.prg * extras/httpsrv/_session.prg * extras/httpsrv/uhttpd.prg * src/debug/debugger.prg * src/rtl/achoice.prg * src/rtl/hbdoc.prg * src/rtl/menuto.prg * src/rtl/profiler.prg * tests/cpinfo.prg * tests/stripeol.hb * tests/stripid.hb * utils/hbmk2/examples/plug_bis.hb * utils/hbmk2/hbmk2.prg % use hb_LeftIs() * utils/hbmk2/hbmk2.prg * replaced some SubStr() "magic" number parameters with Len() or + 1 to signal that the value is a length of a previous string. 2014-01-22 03:48 UTC+0100 Viktor Szakats * config/lang2po.hb * contrib/hbformat/hbfmtcls.prg * contrib/hbnf/pchr.prg * extras/gfspell/spell.prg * src/rdd/usrrdd/rdds/arrayrdd.prg * src/rtl/hbi18n2.prg * tests/big5_gen.prg * tests/foreach.prg * tests/langchk.hb * tests/uc16_gen.prg * utils/hbi18n/hbi18n.prg * utils/hbmk2/hbmk2.prg % use hb_LeftIs() * tests/cpinfo.prg * tests/rdd2.prg * tests/speedtst.prg * grep marker updated 2014-01-22 04:17 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/gtqtc/gtqtc.hbp ! fixed build condition (condition in {} can be used only once per line) 2014-01-22 03:30 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/hbproces.c ! do not use SetHandleInformation() in WinCE builds * config/wce/global.mk * utils/hbmk2/hbmk2.prg ! added iphlpapi to WinCE builds 2014-01-22 03:09 UTC+0100 Viktor Szakats * include/harbour.hbx * src/rtl/left.c * tests/clipper.ch * utils/hbtest/rt_hvm.prg + added new function to replace "=" operator without the SET EXACT ambiguity in its most common pattern of usage: hb_LeftIs( <cString1>, <cString2> ) -> <lResult> it's equivalent to this expression, but faster and shorter: ( Left( <cString1>, Len( <cString2> ) ) == <cString2> ) * tests/big5_gen.prg * tests/cpinfo.prg * tests/inherit.prg * tests/macro.prg * tests/menuto.prg * tests/parseini.prg * tests/passref.prg * tests/rdd2.prg * tests/setmode.prg * tests/speedtst.prg * tests/stripem.prg * tests/uc16_gen.prg * tests/usrrdd/exlog.prg * cleaned to avoid " = " even in comment and output * changed and/or marked " = " operator to SET EXACT indepentent code and marked it with LEFTEQUAL() comments % few additional cleanups/opts * tests/gtstd.prg % output cleanup * src/vm/hvm.c * commented code to #if 0 2014-01-22 02:57 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/gtqtc/gtqtc1.cpp ! do not set Qt::WA_KeyCompression attribute - farther tests shows that on some platforms QT eats characters which incomes from device (i.e. from barcode readers) very fast 2014-01-22 02:44 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) ; modifications taken from Viktor's branch. * include/hb.ch + added hbserial.ch * src/rtl/base64c.c + HB_BASE64ENCODE(): added second parameter to request specific line length for the output. Line length should be specified in visible characters (w/o the 2 EOL bytes). EOL is fixed to CRLF. https://en.wikipedia.org/wiki/Base64 ; probably there exist more optimal implementations ; (code slightly modified) 2014-01-21 21:26 UTC+0100 Viktor Szakats * contrib/hbtest/core.prg % do not include the argument list of error object in RTE results it just creates redundant and largely irrelevant information % optimizations % use native Harbour date literal format * contrib/hbct/tests/test.prg * contrib/hbtest/tests/test.prg * contrib/hbxpp/tests/test.prg * RTE results updated according to above 2014-01-21 20:41 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * Makefile * config/* * contrib/* * doc/* * extras/* * include/* * lib/* * package/* * src/* * tests/* * utils/* * removed empty lines left after removed '$' + 'Id' + '$' identifiers 2014-01-21 20:35 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbct/ctnet.c ! fixed copy and past typo in previous commit * src/rdd/hbsix/sxcompat.prg ! fixed sx_Compress() and sx_Decompress() used with arrays ; modifications below comes from Viktor fork: * include/dbinfo.ch * src/rdd/workarea.c + added support for new dbInfo() action: DBI_CODEPAGE It returns Harbour CP used by current work area. * src/common/expropt2.c * change instruction order to protect against NULL references if we ever add support for dummy lists * src/common/hbver.c ! CLANG detection * src/lang/l_fr.c * src/lang/l_hu.c * updated translations * src/rtl/cdpapihb.c * include/harbour.hbx + added function hb_cdpExists( <cCDP> ) -> <lExists> it returns .T. if the passed codepage is supported and linked, .F. otherwise * src/rtl/hbrand.c * include/harbour.hbx + added hb_randStr( <nLen> ) -> <cBytes> which returns a strong random stream of bytes of requested length * src/vm/hashfunc.c * include/harbour.hbx + New hash function to easily check for the existence of a key and at the same time retrieving its corresponding value: hb_HGetRef( <hHash>, <xKey>[, <@xValue> ] ) -> <lFound> If the key is not found, <xValue> is also reset to NIL. Useful to replace hb_HPos()/hb_HValueAt() call pairs and associated temp variable, or to avoid multiple hash lookups for the cost of one temp variable. * src/rtl/copyfile.c % use 64 KiB buffer * src/rtl/tget.prg ! Get():Insert()/Get():OverStrike() GET freeze fix reworked using better solution by Heinz. * src/rtl/tgetlist.prg * src/rtl/tmenuitm.prg * src/rtl/tmenusys.prg * src/rtl/tpopup.prg ! fixed to precisely verify against multiple expected class names previously a custom class named e.g. 'LIST' was accepted in some places for LISTBOX ! fixed FIXME where CP/encoding dependent string was used to determine whether a menu item is separator throughout the lifetime of the menu. * src/common/hbdate.c * src/common/hbprintf.c * src/common/hbtrace.c * src/common/hbver.c * src/compiler/compi18n.c * src/compiler/genc.c * src/compiler/gencc.c * src/compiler/hbusage.c * src/debug/dbgthsh.prg * src/debug/dbgtmenu.prg * src/debug/debugger.prg * src/debug/tbrwtext.prg * src/pp/hbpp.c * src/rdd/dbfcdx/dbfcdx1.c * src/rdd/dbfuncs.prg * src/rdd/dbtotal.prg * src/rdd/hbsix/sxcompat.prg * src/rdd/hbsix/sxini.prg * src/rdd/usrrdd/rdds/arrayrdd.prg * src/rdd/usrrdd/rdds/hscdx.prg * src/rtl/adir.prg * src/rtl/arc4.c * src/rtl/cdpdet.prg * src/rtl/dbedit.prg * src/rtl/dircmd.prg * src/rtl/diskspac.c * src/rtl/disksphb.c * src/rtl/errint.c * src/rtl/errintlo.c * src/rtl/errsys.prg * src/rtl/filesys.c * src/rtl/fslink.c * src/rtl/gtkbstat.c * src/rtl/gtwin/gtwin.c * src/rtl/gtwvt/gtwvt.c * src/rtl/hbbffnc.c * src/rtl/hbi18n1.c * src/rtl/hbi18n2.prg * src/rtl/hbini.prg * src/rtl/hbjson.c * src/rtl/listbox.prg * src/rtl/menusys.prg * src/rtl/mtran.c * src/rtl/radiogrp.prg * src/rtl/tgetlist.prg * src/rtl/tmenusys.prg * src/rtl/tobject.prg * src/rtl/tpersist.prg * src/rtl/tpopup.prg * src/rtl/tpopuphb.prg * src/rtl/treport.prg * src/rtl/tscalar.prg * src/rtl/ttopbar.prg * src/rtl/tget.prg * src/rtl/tlabel.prg * src/rtl/tmenuitm.prg * src/rtl/valtoexp.prg * src/rtl/valtype.c * src/vm/dlmalloc.c * src/vm/fm.c ! check module handle returned by GetModuleHandle() in MS-Windows builds ! use %u for unsigned printf formatting * casting, formatting, casing and some modifications in names * use #if 0 / #endif to mark commented blocks * updated year to 2014 % use FOR EACH, SWITCH, DO CASE statements % use :__enumFirst() / :__enumLast() % eliminated some local variables and redundant declarations % use hb_defaultValue() % use $ operator instead of At() and hb_HHasKey() % use hb_ADel() instead of ADel()+ASize() * replace some functions with procedures * pacified some MSC warnings * use hb_StrFormat() for user messages * use :: instead of Self: * use ANSI date delimiters ; [vszakats] the patch also contains extra DO CASE -> SWITCH conversions in debugger.prg 2014-01-21 19:14 UTC+0100 Viktor Szakats * contrib/hbct/tests/test.prg + added StrSwap() regression tests (didn't compare with CT3 though) 2014-01-21 18:49 UTC+0100 Viktor Szakats * contrib/hbmisc/ntp.prg * contrib/hbnf/sleep.prg * contrib/hbnf/tempfile.prg * contrib/hbtip/*.prg * contrib/hbunix/tests/daemon.prg * contrib/hbwin/tests/ole.prg * utils/hbmk2/hbmk2.prg % minor optimizations * cleanups * contrib/hbhttpd/tests/eshop.prg * contrib/hbmisc/tests/numtxtru.prg * output cleanup * contrib/xhb/tests/xml1.prg * tests/dynobj.prg * tests/extend1.prg * tests/memvar.prg * WAIT cmd cleanup * ChangeLog.txt ! typos * contrib/gtwvg/tests/_xbp.prg * contrib/hbnf/wda.prg * formatting 2014-01-20 21:02 UTC+0100 Viktor Szakats * ChangeLog.txt ! added few missing incompatibility markers 2014-01-20 19:18 UTC+0100 Viktor Szakats * contrib/hbct/charlist.c ! CharSList(), CharNoList(): fixed buffer overrun by one (and buffer smaller by one passed to hb_retclen_buffer()) (visible in tests/test.prg when calling CharNoList( NIL )) 2014-01-20 18:42 UTC+0100 Viktor Szakats - contrib/hbct/datetim4.prg * contrib/hbct/dattime2.c * contrib/hbct/fcopy.prg * contrib/hbct/hbct.hbp * contrib/hbct/strswap.c * contrib/hbmisc/bbabble.c * contrib/hbnetio/netiosrv.c * backported fixes that were reimplemented slightly differently or better in upstream 2014-01-20 17:36 UTC+0100 (also kept few local fixes which were missed from above) * contrib/hbmisc/tests/bubbleb.prg + tests changed to use hbtest * contrib/hbamf/tests/hbmk.hbm * contrib/hbct/tests/hbmk.hbm * contrib/hbgt/tests/hbmk.hbm * contrib/hbmisc/tests/hbmk.hbm * contrib/hbnf/tests/hbmk.hbm * contrib/hbscrypt/tests/hbmk.hbm * contrib/hbxpp/tests/hbmk.hbm + added hbtest lib 2014-01-20 18:09 UTC+0100 Viktor Szakats * contrib/hbnf/dfile.prg % minor optimization 2014-01-20 17:56 UTC+0100 Viktor Szakats * contrib/hbct/fcopy.prg * contrib/hbct/tempfile.prg % minor optimizations * package/harbour.icns * package/harbour.ico * package/harbour.svg * package/harbour.xpm % slightly enlarged the content inside the viewport * contrib/hbct/getinfo.prg * contrib/hbct/keysave.prg * contrib/hbct/screen3.prg * whitespace 2014-01-20 17:36 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/hbsocket.c * removed not longer valid TODO note * contrib/hbmisc/bbabble.c ! fixed buffer size calculation (it fixes buffer overflow for small strings, i.e. 2 bytes and does not allocate more memory then necessary for long ones) * contrib/hbct/dattime2.c ! fixed CToMonth() and CToDoW() to respect case intensive search for strings with national characters * variable name synced with Viktor branch ; [vszakats]: refixed an interval check and var name typo ; [vszakats]: refixed a CToMonth() and CToDoW() incompatibility * contrib/hbct/strswap.c ! fixed NULL reference when neither 1st nor 2nd parameter is passed by reference * contrib/hbct/fcopy.prg ! fixed source file positioning in case of partial write ! use hb_FGetDateTime() / hb_FSetDateTime() instead of FileDate()+FileTime() / SetFDaTi() It's faster and unlike FileDate() and FileTime() it does not leave directory open. ! fixed typo (RTE) % minor simplification * src/rtl/disksphb.c ! use dynamic binding for GetDiskFreeSpaceEx() function ; modifications below comes from Viktor fork: * contrib/hbct/ctwin.c % removed unnecessary declaration * contrib/hbct/envparam.c ! do not call FreeEnvironmentStrings() if it's not necessary * contrib/hbodbc/odbc.c ! fixed potential buffer overflow in SQLERROR()/SQLGETDIAGREC() * contrib/hbnetio/netiosrv.c ! fixed possible NULL reference * contrib/hbct/ctnet.c ! added missing check for result of WinAPI function call ; [vszakats]: refixed a constant typo * contrib/hbct/cttime.prg ! SecToTime(): fixed regression from 2007-11-18 13:46 UTC+0100 * contrib/hbwin/hbolesrv.c ! fixed char -> TCHAR after recent unicodification 2014-01-20 12:46 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg % minor tweak to prev 2014-01-20 12:42 UTC+0100 Viktor Szakats * package/harbour.icns * package/harbour.ico * package/harbour.xpm * re-rendered after tweaking the render process further * src/rtl/hbi18n2.prg ! __i18n_potArrayLoad(), __i18n_potArraySave(), hb_i18n_SavePOT() fixed to always reset @cErrorMsg to NIL if there was no error. ! __i18n_potArrayLoad(), reset @cErrorMsg to NIL before checking for its value. Previously the function's result was wrong if there was a stray non-NIL value in @cErrorMsg when calling the function. % minor optimizations * utils/hbmk2/hbmk2.prg ! fixed to delete .pot files in non-incremental mode and some error cases - package/favicon.ico * deleted unnecessary file for Harbour itself 2014-01-19 17:12 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg ! filter out some invalid source items in -hbmake= conversion * package/harb_win.rc -> package/harbour.rc ! missed rename from 2014-01-17 20:01 UTC+0100 * utils/hbmk2/hbmk2.rc * package/harb_win.mft -> package/harbour.mft * renamed * contrib/rddads/tests/datad.prg * contrib/rddads/tests/manage.prg * cleanups 2014-01-19 13:42 UTC+0100 Viktor Szakats * contrib/rddads/ads.ch * contrib/rddads/adsfunc.c * contrib/rddads/rddads.hbx * contrib/rddads/tests/datad.prg + added new function: AdsGetRecordCount( [<nHandleType:ADS_TABLE>], [<nFilterOption:ADS_RESPECTFILTERS>], @nCount ) -> <nErrorCode> + added ADS_REFRESHCOUNT constant (usable in above function) 2014-01-18 19:43 UTC+0100 Viktor Szakats * src/rtl/tgetlist.prg * src/rtl/tmenuitm.prg * src/rtl/tmenusys.prg ! fixed to precisely verify against multiple expected class names previously a custom class named e.g. 'LIST' was accepted in some places for LISTBOX * contrib/hbct/fcopy.prg % further minor optimizations 2014-01-18 17:20 UTC+0100 Viktor Szakats * contrib/hbct/ctmisc.prg * contrib/hbct/fcopy.prg % minor optimizations ! LToC() fixed to behave like CA-T*ools on wrong parameter type 2014-01-18 16:55 UTC+0100 Viktor Szakats * contrib/hbct/fcopy.prg ! fixed RTE in FileCCont() (similar to this one: 2008-06-12 08:55 UTC+0200) * ChangeLog.txt * missed changed from prev entry (Retina OS X icon) 2014-01-17 20:01 UTC+0100 Viktor Szakats - package/harb_os2.ico * utils/hbmk2/hbmk2.hbp * utils/hbmk2/hbmk2.rc - deleted legacy OS/2 icon. it was only used for hbmk2/hbrun, and it's very problematic (if possible) to generate/update outside OS/2 itself. * .gitattributes + package/harbour.xpm + added .xpm Harbour icon * contrib/xhb/xhbcopyf.c * src/rtl/copyfile.c % __COPYFILE()/XHB_COPYFILE() updated to use the same buffer sizes as HB_FCOPY(). It may result in significant speed up, especially on non-local drives. Notice that in XHB_COPYFILE() the progress block is called 8 times less frequently than before. * package/harbour.svg ! added xml header % optimized svg by dropping default color and grouping by common property * package/favicon.ico * package/mpkg_win.nsi * package/winuni/mpkg_win_uni.nsi * utils/hbmk2/hbmk2.hbp * utils/hbmk2/hbmk2.rc * package/harb_osx.icns -> package/harbour.icns * package/harb_win.ico -> package/harbour.ico * re-rendered icons by using an automated rendering pipeline * renamed Windows and OS X icons * added Retina icon for OS X ; Notice this will break QtContribs, since it still is wrongly doing a direct reference to Harbour source tree for the icons (maybe else, too). It should be fixed to use its own icon files instead and not rely on non-public Harbour files. 2014-01-17 00:24 UTC+0100 Viktor Szakats * package/harbour.svg * managed to convert original .eps to .svg and recreate the 2011 logo from there. * package/favicon.ico * package/harb_osx.icns * package/harb_win.ico * rerendered from .svg 2014-01-16 18:06 UTC+0100 Viktor Szakats * .gitattributes * bin/commit.hb + package/harbour.svg + added Harbour logo in SVG format it was converted from _harbour_logo-2011.eps (at https://harbour.github.io/art/harbour-logo-2011.zip) using the online vectorization service https://vectormagic.com (unfortunately I didn't manage to convert the original .ai from _harbour_logo.ai in https://harbour.github.io/art/harbour-logo_in_high_resolution.zip if you have Illustrator such conversion would be welcome) 2014-01-16 00:15 UTC+0100 Viktor Szakats * README.md - deleted troubleshooting section, now to be found in CONTRIBUTING.md 2014-01-16 00:07 UTC+0100 Viktor Szakats * README.md + CONTRIBUTING.md + split README chapters related to contribution. This file will be linked from the 'create issue' GitHub page * wording tweaks and rewording to not refer to the mainstream mailing list * bin/commit.hb * config/postinst.hb * doc/howtovcs.txt * package/mpkg_win.nsi * package/winuni/mpkg_win_uni.nsi + added CONTRIBUTING.md + tests/ppmacro.prg + added PP/macro example originally posted by Przemek * contrib/hbnf/doc/en/netpv.txt ! fix to avoid wrong hbdoc conversion to html * contrib/gtwvg/wvgwing.c ! typos in comment 2014-01-15 19:13 UTC+0100 Viktor Szakats * src/rtl/tmenuitm.prg * src/rtl/tpopup.prg ! fixed FIXME where CP/encoding dependent string was used to determine whether a menu item is separator throughout the lifetime of the menu. % use FOR EACH % deleted unnecessary bound checking before FOR TO loop % use hb_defaultValue() * src/rtl/ttopbar.prg % use FOR EACH % deleted unnecessary bound checking before FOR TO loop * src/rtl/tpopuphb.prg * deleted unnecessary parenthesis * src/rtl/menusys.prg * use DO CASE to be in sync with similar code in another file + tests/menu.prg + added menu test/example (original posted on the mailing list) * tests/checkbox.prg + enabled mouse * src/rtl/radiogrp.prg * src/rtl/tgetlist.prg * src/rtl/tscalar.prg % use FOR EACH in RadioGroup():HitTest()/:killFocus()/:setFocus()/:setColor()/:setStyle() HBGetList():HitTest() Array():Collect() * src/rtl/tpersist.prg % use FOR EACH in HBPersistent():SaveToText() % minor optimization * contrib/gtwvg/wvgwing.c * FIXME notes swapped for links to MSDN docs for explanation * contrib/hbxpp/xpparr.c * contrib/xhb/xhbarr.c * minor 2014-01-15 16:02 UTC+0100 Viktor Szakats * contrib/hbnf/savearr.prg * contrib/hbnf/tests/savearr.prg ! ft_SaveArr(): added 4th parameter to allow to drop Cl*pper compatibility and fix the Y2K bug, and to introduce date format independence. The catch is that files created with the new flag won't be readable by Cl*pper NFLIB if they contain a date value. The default is Cl*pper compatible behavior, pass .T. to request the new behavior. + ft_RestArr(): updated to be able to automatically detect and read files saved with proper, but non-Cl*pper compatible date values. + deleted FIXME note and hack by enabling non-Cl*pper compatible mode. * contrib/hbxpp/xpparr.c * contrib/xhb/xhbarr.c * comment cleanups to prev 2014-01-15 12:25 UTC+0100 Viktor Szakats * contrib/hbxpp/hbxpp.hbp * contrib/hbxpp/hbxpp.hbx + contrib/hbxpp/xpparr.c * contrib/xhb/xhb.hbx * contrib/xhb/xhbarr.c + contrib/hbxpp/tests/test.prg + moved ARemove() (synonym to ASplice()) function from xhb to xpp ! ARemove(): deleted xhb extensions [INCOMPATIBLE] + ARemove(): added regression tests ! ARemove(): fixed internal error with certain invalid input ; this fixes a long-time pending FIXME + tests/kbd.prg + tests/macaddr.prg + added some publicly posted sample code from Przemek * tests/*.prg * contrib/hbnf/tests/test.prg * cleanups 2014-01-15 10:36 UTC+0100 Viktor Szakats * contrib/hbwin/win_misc.c ! fixed C++-ism in WIN_LOADRESOURCE() after 2013-12-30 12:18 UTC+0100 * ChangeLog.txt + noted requirement for a full rebuild after 2014-01-12 11:58 UTC+0100 It stays to be a default requirement in case anything unexpected happens in a build, see: https://github.com/vszakats/hb/#troubleshooting 2014-01-15 00:49 UTC+0100 Viktor Szakats * README.md * added clarifying remark to links pointing to mainstream development/usage forums. * contrib/hbgd/tests/cgi.prg * src/rtl/hbsocket.c ! typos 2014-01-14 23:53 UTC+0100 Viktor Szakats * contrib/hbfbird/tfirebrd.prg ! TFbQuery():Refresh(): attempt to fix a FIXME that might have caused inconsistency. Untested. * fixed names for two variables * contrib/hbgd/tests/cgi.prg * contrib/hbgd/tests/fontdpi.prg * cleaned FIXMEs ! fixed RTE due to xhb specific string indexing + added running instructions to cgi.prg (though still unsure what it does) ! updated xhb specific functions to Harbour ones * contrib/hbhttpd/core.prg ! implemented UTC offset in response headers * contrib/hbodbc/tests/odbc.prg * output cleanup * contrib/hbodbc/todbc.prg % use hb_defaultValue() ; this class looks rather messed up * contrib/hbtip/ftpcli.prg ! TIPClientFTP():Port(): attempt to fix an MT problem with FTP ports. Untested. ! TIPClientFTP():Port(): attempt to fix running out of FTP ports. Untested. * contrib/hbtip/httpcli.prg ! TIPClientHTTP():PostMultiPart(): added error checking to disk read. will post an empty file, if open fails. * contrib/rddads/adsfunc.c ! ADSDDREMOVETABLE(): fixed very old problem where connection handle was expected in 4th parameter instead of 3rd. [INCOMPATIBLE] 2014-01-14 23:36 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * config/win/global.mk * utils/hbmk2/hbmk2.prg * src/rtl/hbsocket.c + added support for returning NIC MAC address by hb_socketGetIFaces() in MS-Windows builds. To see physical device addresses bound with active IP interfaces use: ``` #include "hbsocket.ch" PROCEDURE Main() LOCAL aIFace FOR EACH aIFace IN hb_socketGetIFaces( , .t. ) ? "IP:", aIFace[ HB_SOCKET_IFINFO_ADDR ], ; " MAC:", aIFace[ HB_SOCKET_IFINFO_HWADDR ] NEXT WAIT RETURN ``` 2014-01-14 21:15 UTC+0100 Viktor Szakats * contrib/gtwvg/*.prg * contrib/gtwvg/tests/*.prg * contrib/gtwvg/wvgparts.ch % use FOR EACH, do not use HB_ISNIL(), compare hb_bitAnd() results against 0, string optimization * use DO CASE, #if 0 + use HB_ISEVALITEM() instead of HB_ISBLOCK() ! fixed spelling in constants EVENT_UNHANDELLED and EVENT_HANDELLED to EVENT_UNHANDLED and EVENT_HANDLED Old constants kept with HB_LEGACY_LEVEL4 ! fixed regression in tests from recent STATIC-ification (when built as exe) * src/rtl/valtype.c * contrib/xhb/xhbfunc.c - deprecated HB_ISNIL() with HB_LEGACY_LEVEL5. It's an inferior synonym for the simple '== NIL' expression. + added HB_ISNIL() to xhb library with HB_LEGACY_LEVEL5 (meaning you'll need xhb lib to access this function when this legacy level is dropped - or change your code to avoid it, best with a type specific check instead of NIL check) * contrib/hbnf/aredit.prg * contrib/hbziparc/ziparc.prg + use HB_ISEVALITEM() instead of HB_ISBLOCK() * contrib/xhb/xhbmemo.prg % deleted unnecessary HB_ISNIL() calls * tests/cmphello.prg % use hb_DirSepToOS() * contrib/hbcomm/tests/test.prg * contrib/hbhttpd/core.prg * contrib/hblzf/tests/test2.prg * contrib/hbmisc/fileread.prg * contrib/hbmisc/tests/*.prg * contrib/hbpgsql/tests/*.prg * contrib/hbwin/tests/ole.prg * minor cleanups 2014-01-14 17:25 UTC+0100 Viktor Szakats * contrib/hbformat/hbfmtcls.prg + handle "ENDFOR" as a synonym for NEXT + contrib/hbwin/tests/ole_wmi.prg + added OLE/WMI example (from original post of Bernard Mouille) + added some more interesting examples * src/rtl/hbjson.c ! minor whitespace fix 2014-01-14 15:21 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/hbjson.c ! do not indent null used as cross reference replacement if human readable format is disabled 2014-01-14 14:56 UTC+0100 Viktor Szakats * contrib/hbexpat/tests/tohash.prg + save the internal hash as a json in both raw and human readable mode * src/rtl/hbjson.c ! reapplied lost changes in merge ! formatting in comment 2014-01-14 14:28 UTC+0100 Viktor Szakats * src/rtl/treport.prg % minor optimization * contrib/hbcurl/tests/ftp_uldl.prg * contrib/hbfbird/tests/simple.prg * contrib/hbfbird/tests/stress.prg * contrib/hbfbird/tests/test.prg * contrib/hbfbird/tfirebrd.prg * contrib/hbfship/stroccur.prg * contrib/hbgd/gd.prg * contrib/hbgd/gdbar.prg * contrib/hbgd/gdbarcod.prg * contrib/hbgd/gdchart.prg * contrib/hbhttpd/core.prg * contrib/hbhttpd/widgets.prg * contrib/hbmysql/tmysql.prg * contrib/hbpgsql/tpostgre.prg * contrib/hbsqlit3/tests/demo.prg * contrib/hbtpathy/telepath.prg * contrib/hbtpathy/tests/test.prg * contrib/rddads/tests/manage.prg % use FOR EACH, hb_defaultValue(), Left() % output, string and other minor optimizations ! minor fixes 2014-01-14 13:13 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/hbjson.c ! indent null used as cross reference replacement * strip space at the end of line after ":" in human readable output of objects with complex values * respect _SET_EOL setting in human readable output * round decoded number to keep the same final value as compiler * src/rtl/hbproces.c * minor simplification 2014-01-14 11:16 UTC+0100 Viktor Szakats * contrib/hbexpat/internal.c + added FIXME from ChangeLog * contrib/xhb/cstruct.prg * contrib/xhb/decode.prg * contrib/xhb/hjwindow.prg * contrib/xhb/htmutil.prg * contrib/xhb/tcgi.prg * contrib/xhb/tedit.prg * contrib/xhb/thtm.prg * contrib/xhb/trpc.prg * contrib/xhb/trpccli.prg * contrib/xhb/xhb.hbx % use FOR EACH, SWITCH, __defaultNIL() - deleted Greek translation between two unspecified 8-bit codepages hardcoded into some html output functions + added THtml():cEncoding variable + added THtml():WriteData() method to write text translated into THtml():cEncoding automatically % minor optimizations * ChangeLog.txt ! typos * update FIXME statuses 2014-01-13 22:31 UTC+0100 Viktor Szakats * contrib/hbgd/gd.prg * contrib/hbgd/gdimage.prg ! fixed to use __defaultNIL() in two cases where the default is an obj var that might hold NIL. In such case hb_default() didn't work. Regression from 2012-06-08 02:52 UTC+0200 ! use hb_GetStdOut() instead of hard-wired value * bin/commit.hb * contrib/hbhpdf/tests/files/*.png ! restored .png test files to their original internal format (exact internal png format is important for these tests) ! exclude all above file from optimizations * contrib/hbfimage/tests/test.prg * contrib/hbgd/tests/*.prg * contrib/hbsqlit3/tests/*.prg * output cleanup * always create output dir * contrib/hbgd/tests/counter.prg * contrib/hbgd/tests/digits/*.gif -> contrib/hbgd/tests/imgs_in/*.gif % use single dir for all input images - contrib/hbsqlit3/tests/pngtest.png + contrib/hbsqlit3/tests/test.jpg % replaced test binary with smaller jpg * contrib/hbgd/tests/imgs_in/gdlogo.png % optimized using pngquant (default settings) then ImageOptim * contrib/hbgd/gdwrp.c * contrib/hbwin/win_tprn.prg * formatting 2014-01-13 19:08 UTC+0100 Viktor Szakats * contrib/hbhttpd/tests/files/main.css * extras/guestbk/guestbk.html * extras/hbdoc/hbdoc.css * extras/httpsrv/home/css/base.css * extras/httpsrv/home/js/ajax.js * cleanup/formatting of web related files * extras/httpsrv/modules/showcounter.prg * extras/httpsrv/modules/tableservletdb.prg * extras/httpsrv/modules/testajax.prg * cleanup 2014-01-13 17:00 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/gtxwc/gtxwc.c % small improvement in recent modification 2014-01-13 13:05 UTC+0100 Viktor Szakats * ChangeLog.txt * package/mpkg_win_nightly.bat * minor corrections 2014-01-13 14:53 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/gtxwc/gtxwc.c ! process events disabled unintentionally in recent modification, thanks to Rolf for the information about the problem. 2014-01-13 12:40 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/hbproces.c % optimized MS-Windows version of hb_fsProcessRun() when only single stream is redirected 2014-01-13 00:29 UTC+0100 Viktor Szakats * ChangeLog.txt + added links to fixed issues ; BTW in original commit msg it's enough to add #<issue-number> and it will reference and close the issue automatically, see 2013-03-18 14:17 UTC+0100 * contrib/hbblat/blatcls.prg * contrib/hbblat/hbblat.ch * contrib/hbblat/tests/*.prg * contrib/hbnf/*.prg * contrib/hbnf/tests/*.prg * contrib/hbtip/*.prg * contrib/hbtip/tests/*.prg % optimizations, cleanups + GT resolution independence * utils/hbmk2/hbmk2.prg * gathering useful clang warnings in a comment * comment cleanups 2014-01-12 20:31 UTC+0100 Viktor Szakats * contrib/hbtest/core.prg + do not show expected result if it matches the actual one * contrib/hbnf/*.prg * contrib/hbnf/tests/*.prg * contrib/hbnf/doc/en/*.txt % cleanups, minor fixes, optimizations (SWITCH, hb_defaultValue(), etc) + contrib/hbnf/tests/test.prg + added regression tests * contrib/hbnf/tests/test.prg -> contrib/hbnf/tests/mouse.prg * renamed 2014-01-12 20:28 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/filesys.c + added support for setting non blocking mode in MS-Windows builds of hb_fsPipeUnblock() * src/rtl/hbproces.c ! rewritten MS-Windows version of hb_fsProcessRun() ; [vszakats] fixes https://github.com/harbour/core/issues/31 2014-01-12 11:58 UTC+0100 Viktor Szakats * include/hbcompdf.h * src/compiler/cmdcheck.c * src/compiler/genc.c * src/compiler/hbcomp.c * src/compiler/hbmain.c * src/compiler/ppcomp.c + added new internal setting to hide original source filename embedded in generated .c sources when not built with debug information. It also means that PROCFILE() will return an empty string in this case, just like in Cl*pper. Original source file might contain sensitive information and it's not needed to run any apps. If you need it in source, use the __FILE__ constant. ; NOTE: You need a full clean rebuild after that. 2014-01-11 20:01 UTC+0100 Viktor Szakats - cleaned junk files added to repo. sigh. 2014-01-11 19:58 UTC+0100 Viktor Szakats * contrib/hbtip/mailassy.prg + tip_MailAssemble() ignore non-string value from bSMIME codeblock 2014-01-11 15:29 UTC+0100 Viktor Szakats * contrib/hbtip/mail.prg * more strict param checking % use hb_defaultValue() * cleanups 2014-01-11 14:58 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/hbproces.c ! clear inheritance flag for second side of pipes passed to child process 2014-01-11 13:13 UTC+0100 Viktor Szakats * contrib/hbtip/hbtip.hbx * contrib/hbtip/mail.prg * contrib/hbtip/mailassy.prg + tip_MailAssembly(): added new parameter <bSMIME> callback to sign/encrypt the body of the email. Tested with S/MIME sign. + file attachments now set 'x-unix-mode' argument in Content-Type * tip_MailAssembly(): cleaned to use public TIPMail() methods only % TIPMail(): optimizations, rework, ::HeadersToString() added - TIPMail(): previous temporary S/MIME hack deleted * src/rtl/tget.prg ! Get():Insert()/Get():OverStrike() GET freeze fix reworked using better solution by Heinz. * contrib/hbtip/httpcli.prg % optimizations * contrib/hbnf/elapsed.prg % ft_Elapsed() reworked to make use of Harbour timestamp type * contrib/hbnf/tests/elapsed.prg + added new ft_Elapsed() test cases * cleanups * extras/httpsrv/_session.prg * extras/httpsrv/uhttpd.hbp * extras/httpsrv/uhttpd.prg % replaced ft_Elapsed() with local solution % do not depend on hbnf anymore * contrib/hbmxml/3rd/minixml/* * contrib/hbmxml/3rd/minixml/minixml.dif * contrib/hbmxml/3rd/minixml/mxml.hbp * updated 2.7 -> 2.8 * contrib/hbct/files.c * contrib/hbct/hbct.hbx ! fixed casing of a function * extras/httpsrv/uhttpd.ini * pathseps cleaned * extras/httpsrv/home/css/base.css + charset defined * contrib/hbhttpd/core.prg + use positional hb_StrFormat() placeholders * bin/3rdpatch.hb * contrib/hbformat/utils/hbformat.prg ! two format typos in prev patches * contrib/gtwvg/dialog.prg * contrib/hbhttpd/core.prg * contrib/hbhttpd/widgets.prg * contrib/hbtip/thtml.prg * extras/hbdoc/*.prg * src/rtl/tclass.prg * src/rtl/tobject.prg * src/rtl/tscalar.prg * tests/destruct.prg * tests/inline.prg * Self: -> :: * contrib/gtwvg/dialog.prg * contrib/gtwvg/wnd.prg * contrib/hbtip/cgi.prg * contrib/hbxpp/runshell.prg * formatting 2014-01-10 19:42 UTC+0100 Viktor Szakats * contrib/hbtip/cgi.prg * contrib/hbtip/thtml.prg % code cleanup, optimizations + changed HTML headers to HTML5 format % deleted unused functions * more strict parameter checking * src/vm/hashfunc.c * utils/hbtest/rt_misc.prg * hb_HGetRef() changed to behave as if the key was not found, in case the 1st parameter is not a hash type. More natural to use and no overhead to check for the type before call. TODO: hb_HGetDef() to behave the same way. * extras/hbdoc/_genhtml.prg * extras/httpsrv/home/*.html * extras/httpsrv/modules/cookie.prg + use HTML5 headers * contrib/hbtip/url.prg * utils/hbmk2/hbmk2.prg * formatting 2014-01-10 17:09 UTC+0100 Viktor Szakats * ChangeLog.txt + added entry for some changes mistakenly committed together with an upstream merge * tests/test.dbf * restored (committed accidentally) 2014-01-10 16:59 UTC+0100 Viktor Szakats * src/rtl/tget.prg ! fixed GET freeze reported by Heinz V Bergen % use __defaultNIL() * tests/rto_get.prg + added regression tests for above and an alternate case % turn off cursor 2014-01-10 11:07 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbatomic.h * for GCC >= 4.1 (except MinGW) use build-in GCC __sync_*() atomic functions instead of our x86 assembler macros. This can be disabled by HB_USE_GCCATOMIC_OFF macro. Please make tests on different platforms. If you find some platforms on which compile or link errors bound with __sync_*() functions are reported then please send information about used platform and GCC version. GCC 4.1 or higher should support it during compilation but not all runtime libraries have implementation for __sync_*() functions. Low-level implementations were added later for different platforms. In such case adding -DHB_USE_GCCATOMIC_OFF to HB_USER_CFLAGS should be sufficient workaround but I want to document such cases so please send information about it to devel list. ; This modification fixes problem with x86_64 CentOS and RH builds were default GCC does not respect volatile in our ASM macros and "optimize" them breaking our memory barriers. 2014-01-09 04:00 UTC+0100 Viktor Szakats * tests/big5_gen.prg * tests/dynobj.prg * tests/gtkeys.prg * tests/gtstd.prg * tests/newrdd.prg * tests/parseini.prg * tests/uc16_gen.prg * minor cleanups * tests/test.dbf * committed after local update by mistake ; these changes were mistakently committed when merging this upstream change: 2014-01-09 22:51 UTC+0100 2014-01-09 22:51 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/tgetint.prg ! force linking HB_PValue ; [vszakats] casing 2014-01-09 20:04 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbct/ctcom1.c ! fixed typo reported by Rolf * src/rtl/hbcom.c + added support for 1000000 baudrate setting in *nix builds covered by B1000000 macro 2014-01-09 19:15 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/tgetint.prg ! allow to accept complex expressions passed as string to __Get() function. It fixes the problem I introduced in previous modification. ! allow to use __GetA() for hashes * src/vm/macro.c ! do not ignore additional characters after blank ones looking for memvar name. More restrictive behavior is necessary for to fix problem with code like: MemVarBlock( "GETLIST [1]" ) 2014-01-09 17:51 UTC+0100 Viktor Szakats * include/harbour.hbx * src/vm/hashfunc.c * utils/hbtest/rt_misc.prg + New hash function to easily check for the existence of a key and at the same time retrieving its corresponding value: hb_HGetRef( <hHash>, <xKey>[, <@xValue> ] ) -> <lFound> If the key is not found, <xValue> is also reset to NIL. Useful to replace hb_HPos()/hb_HValueAt() call pairs and associated temp variable, or to avoid multiple hash lookups for the cost of one temp variable. * utils/hbmk2/hbmk2.prg % use __enumIsFirst() * avoid 2nd parameter in hb_ATokens( a, " " ) ! fixed parsing console plugin command tokens when multiple spaces were used as separator % avoid hb_HPos()/hb_HValueAt() pairs % deleted an AllTrim() call with 2nd (unused) parameter + tests/get2.prg + GET crasher test + tests/hashspd.prg + hash item retrieval speed comparison * bin/commit.hb * contrib/hbgd/gdchart.prg * src/rtl/valtoexp.prg % use __enumIsFirst() * contrib/hbblat/blatcls.prg % use __enumIsLast() * contrib/hbct/tests/ctwtest.prg * contrib/hbmysql/tsqlbrw.prg * formatting, comment cleanup * contrib/hbnetio/utils/hbnetio/_console.prg * contrib/hbnetio/utils/hbnetio/netiomgm.hb % avoid hb_HPos()/hb_HValueAt() pairs unless it really makes sense ! fixed parsing console command tokens when multiple spaces were used as separator * contrib/hbtip/cgi.prg % use FOR EACH % use hb_HGetRef() instead of hb_HPos()/hb_HValueAt() pairs * code cleanup, optimizations ! stricter parameter checking * use DO CASE * contrib/hbtip/client.prg % use __enumIsLast() * use DO CASE * contrib/hbtip/httpcli.prg % use FOR EACH * code cleanup, optimizations, CRLF cleanup, looped code redundancy % use __enumIsFirst() % do not check hb_regexSplit() for NIL * contrib/hbtip/mail.prg * extras/httpsrv/_session.prg * extras/httpsrv/uhttpd.prg ! stricter parameter checking % use hb_HGetRef() instead of hb_HPos()/hb_HValueAt() pairs % optimizations * contrib/hbtip/mailsend.prg % use __enumIsLast() % code cleanup, optimizations ! fixed BEGIN SEQUENCEs missing a local error block * use DO CASE * contrib/hbtip/popcli.prg % TIPClientPOP():retrieveAll() cleaned, optimized * contrib/hbtip/sessid.prg * contrib/hbtip/smtpcli.prg * contrib/hbtip/thtml.prg * minor optimizations * use DO CASE * contrib/xhb/dumpvar.prg * contrib/xhb/hblog.prg * contrib/xhb/tframe.prg * contrib/xhb/ttable.prg * contrib/xhb/xcstr.prg * contrib/xhb/xdbmodst.prg * contrib/xhb/xhberr.prg % use __enumIsFirst() % use __enumIsLast() * formatting * use DO CASE % minor string optimization * extras/hbxlsxml/xlsxml_s.prg * extras/hbxlsxml/xlsxml_y.prg * extras/httpsrv/_cgifunc.prg * extras/httpsrv/uhttpd.prg % use $ instead of hb_HPos() * src/debug/dbgthsh.prg * src/debug/debugger.prg * use DO CASE % use SWITCH * use #if 0 for commented code * formatting * src/debug/dbgtmenu.prg * src/debug/debugger.prg % use FOR EACH * src/rdd/hbsix/sxcompat.prg * src/rtl/tgetlist.prg * use DO CASE * tests/wvtext.prg ! disable SCOREBOARD % use hb_DispOutAt() instead of SAY * tests/dbgcls.prg + added variable for hash testing * tests/get.prg * tests/set.prg * cleanup * ChangeLog.txt ! typos 2014-01-09 02:01 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/vm/itemapi.c ! clear destination item in hb_itemParamStore*() functions if passed source item is NULL ; [vszakats] fixes https://github.com/harbour/core/issues/30 2014-01-08 18:33 UTC+0100 Viktor Szakats * contrib/xhb/hbcompat.ch ! turned off hb_HHasKey() translation to HHasKey() when hb_HHasKey() has three parameters. This feature doesn't exist in xhb. See: 2012-01-27 18:25 UTC+0200 * contrib/hbtip/cgi.prg % use hb_defaultValue() * contrib/hbtip/cgi.prg * contrib/hbtip/httpcli.prg * contrib/hbtip/mail.prg * contrib/hbtip/thtml.prg * contrib/gtwvg/activex.prg * contrib/hbamf/hbamfobj.prg * contrib/hbhttpd/core.prg * contrib/hbhttpd/tests/eshop.prg * contrib/hbhttpd/widgets.prg * contrib/hbmxml/tests/custom.prg * extras/hbdoc/hbdoc.prg * extras/httpsrv/modules/showcounter.prg * extras/httpsrv/modules/tableservletdb.prg * extras/httpsrv/modules/testajax.prg * extras/httpsrv/uhttpd.prg * src/rdd/hbsix/sxini.prg * src/rdd/usrrdd/rdds/arrayrdd.prg * src/rtl/hbini.prg * hb_HHasKey( x, y ) -> y $ x * contrib/hbhttpd/tests/eshop.prg * use DO CASE * contrib/hbnf/fttext.c * contrib/hbnf/tbwhile.prg * formatting 2014-01-08 14:39 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + added EXPERIMENTAL feature: .hrb libraries Enable with -hbhrb option. It supports multiple input .prg files and outputs one .hrb file. C components are all ignored. * contrib/hbnf/aading.prg * contrib/hbnf/aredit.prg * contrib/hbnf/tbwhile.prg * contrib/hbnf/vertmenu.prg % use FOR EACH * contrib/hbnf/dispmsg.prg % minor optimization * contrib/hbct/ctmisc.prg * contrib/hbnf/clrsel.prg * formatting 2014-01-08 11:40 UTC+0100 Viktor Szakats - tests/sha2.prg * utils/hbtest/rt_misc.prg + integrated SHA-2 related tests into hbtest 2014-01-08 11:30 UTC+0100 Viktor Szakats * contrib/hbtest/core.prg ! double EOL at EOF % optimized using FOR EACH * utils/hbtest/hbtest.prg * minor cleanup 2014-01-08 02:44 UTC+0100 Viktor Szakats * contrib/hbtest/core.prg + added banner and footer with test statistics (similar to hbtest) It's automatic, no test suite code changes are required. * contrib/hbtip/encqp.prg % restored inheritance which was removed due to a bug that since got fixed - contrib/hbtip/credent.prg * contrib/hbtip/hbtip.hbp * contrib/hbtip/hbtip.hbx % deleted TIPCredentials() class that was never implemented * contrib/hbtip/encb64.prg % minor optimization * contrib/hbtip/encoder.prg * utils/hbmk2/hbmk2.prg * utils/hbtest/hbtest.prg * utils/hbtest/rt_misc.prg * formatting 2014-01-07 22:51 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg % use FOR EACH instead of FOR NEXT for performance and shorter code * use DO CASE where it results in better style * reworked internal function ArrayAJoin() 2014-01-07 21:09 UTC+0100 Viktor Szakats * bin/commit.hb % speed up EOL detection loop by using SWITCH instead of DO CASE 2014-01-07 20:37 UTC+0100 Viktor Szakats * contrib/hbct/cttime.prg * contrib/hbct/tests/test.prg ! SecToTime(): fixed regression from 2007-11-18 13:46 UTC+0100 + SecToTime(): added regression tests * contrib/hbmisc/tests/ntp.prg + hb_ntp_GetTimeUTC(): added example on how to detect if the NTP call failed (due to no network) * contrib/hbtip/client.prg ! TIPClient():Read(), TIPClient():Write(), TIPClient():inetSendAll(): cleaned some input sanity checks * contrib/hbtip/url.prg ! TUrl(): better resiliency for method call order ! TUrl():SetAddress(): better parameter sanity checks % TUrl():AddGetForm(): cleaned and optimized * bin/commit.hb * contrib/make.hb * utils/hbtest/hbtest.prg * utils/hbtest/rt_class.prg * use DO CASE * contrib/hbtip/ftpcli.prg * contrib/hbtip/tests/loadhtml.prg * minor cleanups 2014-01-07 18:29 UTC+0100 Viktor Szakats * contrib/hbfoxpro/dll.prg * contrib/hbfoxpro/misc.prg * contrib/hbtip/cgi.prg ! __fox_DynCall(), Sys(), TIPCgi():Header(), TIPCgi():Redirect() strict validation of parameters * contrib/hbtip/client.prg * contrib/hbtip/ftpcli.prg * contrib/hbtip/mail.prg * contrib/hbtip/smtpcli.prg * use e"\r\n" instead of tip_CRLF() * contrib/hbtip/client.prg * contrib/hbtip/ftpcli.prg * cleaned up loop code redundancy * contrib/hbtip/ftpcli.prg ! fixed to use F_ERROR * contrib/hbtip/utils.c + added MIME type for .vcf * contrib/hbtip/cgi.prg % use += operator * contrib/hbfoxpro/occurs.prg * restored local changes 2014-01-07 13:59 UTC+0100 Viktor Szakats * contrib/hbtip/cgi.prg % code simplification % use hb_MemoWrit() instead of low-level file I/O ! use hb_GetStd*() functions instead of hard-wired values % deleted unused macro * use DO CASE instead of IF/ELSEIF ! use #if 0 to disable code sections * contrib/hbtip/mail.prg + added very crude (and not final) help to create S/MIME signed mails % TIPMail():SetFieldOption() cleanup and optimization * contrib/hbtip/tests/base64.prg ! use hb_GetStd*() functions instead of hard-wired values * contrib/xhb/cgi.ch - deleted STD_IN and STD_OUT macros, use hb_GetStdIn()/hb_GetStdOut() instead [INCOMPATIBLE] * contrib/xhb/htjlist.prg * contrib/xhb/tcgi.prg * contrib/xhb/tframe.prg * contrib/xhb/thtm.prg ! use hb_GetStd*() functions instead of hard-wired values ! TJSList():Put() safe param checking * contrib/xhb/stream.prg ! TStreamFileWriter():Write() 2nd parameter is now explicitly ignored (was implicitly) * contrib/xhb/traceprg.prg ! space at EOL in output * extras/guestbk/_cgi.prg % use hb_MemoWrit() instead of low-level file I/O * extras/hbvpdf/core.prg ! one UNICODE compatibility fix * extras/hbvpdf/core.prg * extras/httpsrv/_session.prg * tests/inherit.prg * tests/stripem.prg % do not specify length unnecessarily in FWrite() * extras/httpsrv/_session.prg * extras/httpsrv/uhttpd.prg * tests/debug.prg * tests/html.prg * tests/langmsg.prg * tests/macro.prg * tests/math.prg * tests/passref.prg * output cleanup * tests/clipper.ch + added hb_GetStd*() translations * tests/clsscope.prg * fmt * tests/cpinfo.prg ! UNICODE fix * tests/db_brows.prg * tests/inherit.prg * tests/passref.prg * tests/stripem.prg % use +=/++ operator * tests/fileio.prg % code cleanup % integrated fileio2.prg * tests/inifiles.prg * extras/guestbk/_inifile.prg * tests/langmsg.prg * code cleanup * tests/rddtest/rddtst.prg * fmt * use DO CASE - tests/fileio2.prg * moved inside fileio.prg - tests/sha1.prg * moved inside hbtest * ChangeLog.txt ! cleanup after prev 2014-01-07 13:15 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbfoxpro/hbfoxpro.hbp * contrib/hbfoxpro/misc.prg + contrib/hbfoxpro/occurs.prg * moved Occurs() function to separate file to avoid link conflict with xHarbour function using the same name 2014-01-07 13:01 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/harbour.hbx * src/rtl/hbdef.c + added new PRG function hb_defaultValue(). It's similar to hb_default() but it returns expected value instead of setting 1st parameter. New function can be used to replace code like: hb_default( @lParam, .T. ) IF lParam [...] ENDIF with: IF hb_defaultValue( lParam, .T. ) [...] ENDIF It's useful for two main reasons: 1) we do not damage original parameter value 2) if parameter is used only once then it's a little bit faster * contrib/hbfship/stroccur.prg ! do not generate error when wrong parameters are passed to StrOccurs() function (FS compatible behavior) ! set default value of 3rd parameter in StrOccurs() to .T. only if it's not passed at all, otherwise set it to .F. (FS compatible behavior) % small simplification * src/compiler/hbmain.c ! extended code which resolves conflicts with multiple static functions with the same name compiled from different PRG modules into single object file to resolve conflicts also with external function calls. It should fix problem reported by Viktor. ; [vszakats] fixes https://github.com/harbour/core/issues/27 2014-01-07 01:19 UTC+0100 Viktor Szakats * contrib/hbtip/httpcli.prg * contrib/hbtip/sessid.prg % tip_GenerateSID() optimized % TIPClientHTTP():Boundary() optimized 2014-01-07 01:05 UTC+0100 Viktor Szakats * contrib/hbtip/mail.prg ! TIPMail():setHeader(): ignore BCC option. BCC (=Blind CC) is not to be included in the mail message in any case. For that, there is CC. ! TIPMail():setHeader(): fixed to not ignore first CC address ! TIPMail():setHeader(): fixed to ignore empty TO and CC addresses % TIPMail():setHeader() optimizations % TIPMail():ToString() optimized % TIPMail():detachFile() optimized, cleaned 2014-01-07 00:22 UTC+0100 Viktor Szakats * contrib/hbtip/mail.prg ! minor fix to prev % minor optimization 2014-01-06 23:10 UTC+0100 Viktor Szakats * contrib/hbtip/encb64.prg % extended line length for base64 encoding to 76 (was 72) bytes see: https://en.wikipedia.org/wiki/Base64#Implementations_and_history * contrib/hbtip/mailassy.prg ! tip_MailAssemble() fixed to not corrupt all attachments by appending a CRLF at the end. This was added with the tag "borrowed from xHarbour" on 2008-04-24 13:00 UTC+0100 * minor cleanups * contrib/hbtip/mail.prg % TIPMail():NextAttachment(): optimized % TIPMail():MakeBoundary(): optimized ! added space between header "Mime-Version:" and its value ! added newline between end of attachment and boundary marker + TIPMail():setHeader(): simplify TO/CC/BCC names when email and descriptive name are identical * minor cleanups, optimizations * contrib/hbtip/utils.c + added .asc and .p7s MIME types (for signed/encrypted email) * contrib/hbfoxpro/misc.prg ! OCCURS(): fixed to return 0 instead of RTE if any of the parameters passed is not string. This isn't necessarily FoxPro compatible, but seems better than a Harbour specific RTE. * contrib/xhb/xhbmisc.prg % OCCURS(): minor optimization 2014-01-06 10:16 UTC+0100 Viktor Szakats * COPYING.txt * debian/copyright * updated CC license text to 4.0 * utils/hbtest/rt_misc.prg - tests/sortbug.prg + integrated SORT /D bug into hbtest + integrated SHA-1 tests into hbtest * src/vm/harbinit.prg * use function form * tests/com.prg * tests/inherit.prg * tests/menuto.prg * tests/money.prg * tests/overload.prg * tests/read.prg * tests/readhrb.prg * tests/stripem.prg * cleanups, optimizations, fixes 2014-01-06 00:20 UTC+0100 Viktor Szakats * contrib/sddfb/core.c * contrib/sddmy/core.c * contrib/sddodbc/core.c * contrib/sddpg/core.c * minor cleanups applied to rest of SDDs 2014-01-06 00:07 UTC+0100 Viktor Szakats * contrib/sddoci/core.c ! disabled OCI_Cleanup() call on exit, which avoids the frequent crash on exit. Root cause to be determined, see comment in source. + abort if OCI_Initialize() was unsuccessful * contrib/sddoci/tests/test1.prg + rudimentary method to support default connection name of Oracle Database XE (Express Edition) * contrib/sddsqlt3/core.c * minor cleanups 2014-01-05 20:10 UTC+0100 Viktor Szakats * contrib/sddsqlt3/core.c ! do not call explicit SQLite3 init and deinit API functions. These are not needed for regular apps using SQLite3, the latter is also not thread safe and removing it avoids the crasher [2014-01-05 03:14 UTC+0100] on exit. % cleanups after prev ! fixed another trace call 2014-01-05 12:33 UTC+0100 Viktor Szakats * contrib/gtwvg/tests/*.prg * extras/gtwvw/tests/*.prg % use PROCEDURE (instead of FUNCTION) where possible 2014-01-05 03:14 UTC+0100 Viktor Szakats * contrib/sddsqlt3/core.c + added trick to bump up maximum fieldname length according to field names found in the database. This makes work field/column names longer than 10 bytes. TODO: Verify the implementation. + since SQLite3 doesn't store any field/column width information, arbitrary values are now used instead, to make apps querying this information somewhat more usable. This arbitrary length is 10 bytes plus decimals for float type. + basic handling of SQLITE_NULL column type. They seem like blobs after very light testing. ! use SQLITE3_TEXT constant instead of SQLITE_TEXT ! fixed trace outputs * contrib/sddsqlt3/tests/test.prg + now acceps SQLite3 database filename on command line, it will use the first table found in the database + added comments about TBrowse() vs. variable field length database + dumps one screen worth of data from the database * cleaned output ! will not continue if connecting failed ; FIXME: crashes on exit (win/mingw) when opening a large, live SQLite3 database [DONE] * contrib/sddmy/tests/test1.prg * contrib/sddoci/tests/test1.prg * contrib/sddodbc/tests/test2.prg * minor cleanups 2014-01-04 23:52 UTC+0100 Viktor Szakats - contrib/gtwvg/tests/_cuigdlg.prg * contrib/gtwvg/tests/*.prg - extras/gtwvw/tests/_wvwmous.prg * extras/gtwvw/tests/*.prg * utils/hbtest/*.prg % using STATIC PROC/FUNC where possible % deleted unused functions % merged source from few separate files * other cleanups (using codeblocks, std extension) * doc/en/terminal.txt ! minor fix to prev ; FIXME: wrong .c code generated in this scenario, when compiling a.prg: [DONE] --- a.prg PROCEDURE Main() b() RETURN SET PROCEDURE TO "p.prg" --- --- p.prg STATIC PROCEDURE b() RETURN --- when .c code is compiled mingw 4.8 output is this: --- In file included from ../include/hbvmpub.h:52:0, from a.c:7: include/hbdefs.h:1596:51: error: static declaration of 'HB_FUN_B' follows non-static declaration #define HB_FUNC_STATIC( funcname ) static HARBOUR HB_FUN_##funcname ( void ) ^ a.c:16:1: note: in expansion of macro 'HB_FUNC_STATIC' HB_FUNC_STATIC( B ); ^ include/hbdefs.h:1595:78: note: previous declaration of 'HB_FUN_B' was here #define HB_FUNC_EXTERN( funcname ) HB_EXTERN_C_ HB_EXTERN_ HARBOUR HB_EXPORT HB_FUN_##funcname ( void ) ^ a.c:14:1: note: in expansion of macro 'HB_FUNC_EXTERN' HB_FUNC_EXTERN( B ); ^ --- 2014-01-04 20:12 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/vm/hvm.c ! removed unused variable 2014-01-04 19:00 UTC+0100 Viktor Szakats * config/po2lang.hb * contrib/gtwvg/combobox.prg * contrib/gtwvg/listbox.prg * contrib/gtwvg/tests/_tbrowse.prg * contrib/gtwvg/tests/demowvg.prg * contrib/hbcairo/tests/*.prg * contrib/hbct/ct.prg * contrib/hbct/tests/*.prg * contrib/hbfbird/tfirebrd.prg * contrib/hbgd/* * contrib/hbhpdf/tests/harupdf.prg * contrib/hbhttpd/core.prg * contrib/hbhttpd/readme.txt * contrib/hbmisc/hb_f.c * contrib/hbmisc/*.prg * contrib/hbmisc/tests/*.prg * contrib/hbmysql/*.txt * contrib/hbmzip/tests/myzip.prg * contrib/hbnetio/netiomt.prg * contrib/hbnetio/tests/netiot03.prg * contrib/hbnetio/tests/netiotst.prg * contrib/hbnf/*.prg * contrib/hbnf/doc/en/clrsel.txt * contrib/hbnf/tests/*.prg * contrib/hbodbc/tests/todbc.prg * contrib/hbpgsql/tests/*.prg * contrib/hbpgsql/tpostgre.prg * contrib/hbssl/tests/pem.prg * contrib/hbtip/httpcli.prg * contrib/hbtip/url.prg * contrib/hbtpathy/telepath.prg * contrib/hbwin/tests/ole.prg * contrib/hbwin/tests/pdfcreat.prg * contrib/hbwin/win_tprn.prg * contrib/hbxdiff/tests/*.prg * contrib/hbxpp/tthreadx.prg * contrib/xhb/*.prg * doc/en/*.txt * extras/gfspell/spell.prg * extras/gtwvw/gtwvwd.c * extras/gtwvw/hbgtwvw.h * extras/gtwvw/tests/*.prg * extras/guestbk/_inifile.prg * extras/hbvpdf/core.prg * extras/hbxlsxml/xlsxml.prg * extras/httpsrv/uhttpd.prg * extras/rddado/tests/access2.prg * src/debug/*.prg * src/rdd/usrrdd/rdds/arrayrdd.prg * src/rdd/usrrdd/rdds/hscdx.prg * src/rtl/cdpdet.prg * src/rtl/hbi18n2.prg * src/rtl/tbrowsys.prg * tests/*.prg * utils/hbi18n/hbi18n.prg * utils/hbmk2/hbmk2.prg * utils/hbtest/rt_mt.prg % use PROCEDURE (instead of FUNCTION) where possible % use DO CASE instead of IF/ELSEIF where it makes sense % use SWITCH where it makes sense * use DO WHILE instead of WHILE * use function form instead of command form in few missing places * colour -> color * more output cleanups % deleted unused STATIC function * function name casing cleanups in hbdebug * further test code cleanups * contrib/hbtip/tests/tipmmail.prg ! old crash at startup * contrib/hbblat/readme.txt * blat update 2014-01-04 18:22 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/vm/hvm.c ! release TSD handle in thread static destructors. It should fix problem reported by Lorenzo. 2014-01-04 11:50 UTC+0100 Viktor Szakats * contrib/hbct/tests/*.prg * contrib/hbexpat/tests/*.prg * contrib/hbmisc/doc/en/ht_class.txt * contrib/hbnf/*.prg * contrib/hbnf/tests/*.prg * contrib/hbnf/doc/en/*.txt * contrib/hbwin/tests/oletst2.vbs * tests/*.prg * cleanups: output functions, SWITCH, formatting, optimizations, minor fixes, use +=/-=/*= operators * contrib/hbct/tests/charhist.prg ! fixed compilation error after prev cleanups 2014-01-03 18:34 UTC+0100 Viktor Szakats * src/vm/fm.c ! use ANSI date separators in memory error message 2014-01-03 13:07 UTC+0100 Viktor Szakats * bin/commit.hb * contrib/hbgd/gdchart.prg * contrib/hbgd/tests/cgi.prg * contrib/hbmysql/tsqlbrw.prg * contrib/hbmzip/mziperr.prg * contrib/hbtip/httpcli.prg * contrib/hbwin/win_reg.prg * contrib/xhb/dumpvar.prg % use SWITCH * resolved some duplicate CASE values along the way % optimizations in xhb/dumpvar.prg * extras/gtwvw/tests/wvwtest9.prg * extras/httpsrv/uhttpd.prg % do not redefine ErrorSys() * tests/clipper.ch + more translations * extras/gtwvw/tests/*.prg * cleanups * tests/cls*.prg * formatting 2014-01-03 12:39 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/gtqtc/gtqtc.hbc * contrib/gtqtc/gtqtc.hbp * updated for QT 5.2 builds on Linux and some other *nixes ; TODO: update Mac OSX builds. [DONE] * contrib/gtqtc/gtqtc1.cpp ! removed Qt::WA_PaintOnScreen 2014-01-03 11:30 UTC+0100 Viktor Szakats * contrib/hbformat/hbfmtcls.prg * extras/gtwvw/tests/drawimg.prg * extras/guestbk/_inifile.prg * extras/hbvpdf/core.prg * src/rtl/listbox.prg * src/rtl/radiogrp.prg * src/rtl/teditor.prg * src/rtl/tpopup.prg * src/rtl/ttopbar.prg * tests/inifiles.prg * tests/wvtext.prg % use hb_AIns() instead of ASize()/AIns() or AAdd()/AIns() pairs % use hb_ADel() instead of ADel()/ASize() pairs * src/rtl/radiogrp.prg ! RadioGroup():delItem(): fixed bug which caused the item not getting deleted (but item count decremented) * src/rtl/teditor.prg % HBEditor():InsertLine(): reworked to avoid the redundant creation of internal HBTextLine() objects * tests/inifiles.prg * tests/harbour.ini -> tests/inifiles.ini * renamed for more conformity/less ambiguity 2014-01-02 21:01 UTC+0100 Viktor Szakats * tests/clipper.ch + added hb_gtVersion() emulation for Cl*pper 2014-01-02 18:41 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/vm/hvm.c * clear STATIC variables before releasing thread specific data. It should resolve potential problems with code using TSD to activate cleanup procedure and later cannot correctly execute pointer item destructors, i.e. OLE subsystem. 2014-01-02 15:56 UTC+0100 Viktor Szakats * contrib/gtwvg/tests/_tbrowse.prg * contrib/gtwvg/tests/_wvtcls.prg * extras/httpsrv/modules/showcounter.prg * extras/httpsrv/modules/tableservletdb.prg % use hb_DirSepToOS() * tests/cursor.prg + reworked * tests/dates.prg ! fixed to work in script mode and to use std date format for first tests * tests/clipper.ch + minor extension * README.md * typo * contrib/hbct/tests/datetime.prg * minor 2014-01-02 13:41 UTC+0100 Viktor Szakats * README.md * revert prev (could use 1. for all entries, but it's half solution) 2014-01-02 13:36 UTC+0100 Viktor Szakats * README.md % deleted numbered points from TOC * utils/hbmk2/hbmk2.prg * fmt 2014-01-02 13:11 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/itemseri.c ! fixed casting for C++ builds * contrib/rddads/ads1.c + use AdsIsNull() function instead of AdsIsEmpty() in DBS_ISNULL action for ACE library 9.0 or newer. * contrib/rddads/adsfunc.c * contrib/rddads/rddads.hbx + added new PRG function: AdsIsNull() For ACE libraries < 9.0 it's redirected to AdsIsEmpty() 2014-01-02 12:29 UTC+0100 Viktor Szakats * contrib/hbtip/client.prg % use HB_ISEVALITEM() and Eval() to evaluate gauge callback * contrib/hbfoxpro/dll.prg * contrib/hbfoxpro/hbfoxpro.hbx * renamed fox___DynCall() to __fox_DynCall() [INCOMPATIBLE] * contrib/xhb/cstruct.prg * contrib/xhb/xhb.hbx * deleted __init_LONGLONGs() as public function from xhb [INCOMPATIBLE] * contrib/make.hb * contrib/hbcairo/tests/*.prg * contrib/hbct/tests/datetime.prg * contrib/hbhttpd/core.prg * contrib/hbhttpd/readme.txt * contrib/hbhttpd/widgets.prg * contrib/hbnetio/utils/hbnetio/_winsvc.prg * contrib/hbnf/tests/dfile.prg * contrib/hbnf/tests/nwsem.prg * contrib/hbnf/tests/popadder.prg * contrib/hbpgsql/tests/*.prg * contrib/hbsqlit3/tests/authoriz.prg * contrib/hbtip/tests/tipwget.prg * contrib/hbwin/tests/prn1.prg * contrib/hbwin/tests/prn2.prg * contrib/rddads/doc/en/adsfuncs.txt * contrib/rddads/doc/en/readme.txt * contrib/xhb/tests/compress.prg * contrib/xhb/tests/regexrpl.prg % use STATIC, cleanups, use CLI instead of full screen output, formatting, use hb_default(), avoid keyword abbrevs, minor fixes 2014-01-02 01:37 UTC+0100 Viktor Szakats * contrib/hbmagic/hbmagic.hbp + autodetect under darwin/homebrew * contrib/hbtip/thtml.ch * contrib/hbtip/thtml.prg * contrib/hbtip/tip.ch * contrib/hbtip/utils.c * cleanups 2014-01-01 21:56 UTC+0100 Viktor Szakats * contrib/hbexpat/tests/tohash.prg ! fix to prev commit * contrib/hbtip/encoder.prg ! TIPEncoder() class fixed to actually do what it was supposed to do for 11 years. Before this fix it always returned exactly the same string as was passed to. % tip_GetEncoder() optimized * contrib/hbtip/tests/*.prg * cleanups, optimizations, fixes + added SSL support to httpadv.prg, httpcli.prg, loadhtml.prg, tipwget.prg * bin/3rdpatch.hb * contrib/hbfbird/tests/*.prg * contrib/hbgd/tests/counter.prg * contrib/hbmagic/tests/hbmagit.prg * contrib/hbmxml/tests/testmxml.prg * contrib/hbmysql/tests/*.prg * contrib/hbnetio/tests/netiot03.prg * contrib/hbnetio/tests/netiotst.prg * contrib/hbnf/doc/en/nwsem.txt * contrib/hbnf/doc/en/origin.txt * contrib/hbnf/tests/nwsem.prg * contrib/hbpgsql/tests/*.prg * contrib/hbtip/tests/*.prg * tests/db_brows.prg * tests/gfx.prg * tests/gfx2.prg * tests/mouse.prg * tests/wvt_fs.prg * tests/wvtext.prg * use RETURN instead of QUIT to exit from Main() * avoid Alert() where ? is used for output * minor cleanups ; FIXME: Missing 'Variable 'A' is assigned but not used in function' warnings: --- #pragma -w3 LOCAL a := 0 a := 0 // Missing warning FOR a := 0 TO 1; NEXT // Missing warning FOR EACH a IN { 0 }; NEXT // Missing warning (they all appear once this line is deleted) --- 2014-01-01 18:37 UTC+0100 Viktor Szakats + contrib/hbct/datetim4.prg * contrib/hbct/dattime2.c * contrib/hbct/hbct.hbp * contrib/hbct/tests/test.prg + rewritten CToMonth() and CToDoW(). It fixes: ! case insensitive behavior for languages with accented chars ! wrong value returned when looking for partial string with multiple matches (e.g. 'A' for months) + added regression tests * contrib/hbct/tests/datetime.prg % cleanups * src/rtl/itemseri.c ! fixed missing cast for C++ * contrib/hbct/tests/csetarge.prg * contrib/hbct/tests/dates4.prg * contrib/hbct/tests/math.prg * contrib/hbct/tests/trig.prg % use STATIC FUNCTION/PROCEDURE where possible * contrib/gtwvg/tests/_modal.prg * formatting * contrib/hbexpat/tests/test.prg * contrib/hbexpat/tests/tohash.prg * contrib/hbgd/tests/tpoly.prg * contrib/hbmagic/tests/hbmagit.prg * contrib/hbmlzo/tests/test.prg * contrib/hbmxml/tests/testmxml.prg * contrib/hbunix/tests/daemon.prg * always use positional hb_StrFormat() placeholders ! fixed an output message missing a value ; FIXME: contrib/hbmlzo/tests/test.prg often crashes on exit when run as script 2014-01-01 14:46 UTC+0100 Viktor Szakats * config/lang.hb + use self as the runner executable * contrib/hbrun/doc/*.md * utils/hbmk2/doc/*.md * regenerated 2014-01-01 14:39 UTC+0100 Viktor Szakats * contrib/hbsqlit3/hbsqlit3.hbx ! updated 2014-01-01 14:00 UTC+0100 Viktor Szakats * config/global.mk * debian/changelog * include/hbver.h * package/harb_win.mft * package/harbour-wce.spec.in * package/harbour-win.spec.in * package/harbour.spec * package/winuni/mpkg_win_uni.bat * appveyor.yml [for future reference] * trunk version bump. 3.2.0dev -> 3.4.0dev this is to distinguish this fork from mainstream version. There are some extra features and few incompatibilities, most notably the dropped support for HB_LEGACY_LEVEL4. 2014-01-01 12:35 UTC+0100 Viktor Szakats * config/postinst.hb * formatting after prev 2014-01-01 12:20 UTC+0100 Viktor Szakats * contrib/hbformat/utils/hbformat.prg * src/rtl/errsys.prg * src/rtl/hbi18n2.prg + use hb_StrFormat() to assemble human readable (=translatable) strings * bin/3rdpatch.hb * bin/commit.hb * config/postinst.hb * contrib/make.hb + use hb_StrFormat() for human readable strings where it wasn't * bin/3rdpatch.hb * always use positional hb_StrFormat() placeholders * do not put EOL using an hb_StrFormat() placeholder * src/rtl/dircmd.prg % optimization * src/rtl/hbini.prg ! fixed to write '=' consistently without space separators around it * src/rtl/tlabel.prg % optimized to make use of '+=', '++' and iif() operators, plus some more * src/rtl/tlabel.prg * src/rtl/treport.prg * tests/parseini.prg * formatting * README.md * avoid 'install' examples ; FIXME: Human readable JSON malformatted for self-references: --- LOCAL h := { "1" => } LOCAL a := { 0 } ? hb_jsonEncode( h, .T. ) // Correct h[ "1" ] := h; ? hb_jsonEncode( h, .T. ) // Incorrect ? hb_jsonEncode( a, .T. ) // Correct a[ 1 ] := a; ? hb_jsonEncode( a, .T. ) // Incorrect --- [DONE] 2013-12-31 11:30 UTC+0100 Viktor Szakats * contrib/hbwin/hbwin.ch + added resource type constants (WIN_RT_*) * contrib/hbwin/tests/dlg.prg * use above * contrib/hbwin/wapi_winbase.c * contrib/hbwin/win_regc.c ! fixed msvc analyzer warnings in: wapi_FormatMessage(), win_RegCreateKeyEx(), win_RegOpenKeyEx(), win_RegQueryValueEx() + contrib/hbwin/tests/fmtmsg.prg + added test for wapi_FormatMessage() 2013-12-30 12:18 UTC+0100 Viktor Szakats * contrib/hbwin/win_misc.c + WIN_LOADRESOURCE(): added support for numeric parameters * contrib/hbwin/tests/dlg.prg + verify at startup if resources are linked * contrib/hbwin/wapi_winuser.c ! fixed msvc analyzer warning * contrib/hbmisc/tests/bubbleb.prg * contrib/hbmisc/tests/numtxtru.prg * contrib/hbmisc/tests/pe.prg * cleanups 2013-12-30 01:24 UTC+0100 Viktor Szakats * contrib/hbmisc/bbabble.c ! BUBBLEBABBLEENCODE() fixed memory corruption in certain cases * contrib/hbmisc/tests/bubbleb.prg + added Unicode support for .prg version of BUBBLEBABBLEENCODE() * contrib/hbgd/tests/cgi.prg ! fixed #if inbalance after previous changes * contrib/hbgd/tests/cgi.prg * contrib/hbgd/tests/tpoly.prg * contrib/hbmisc/tests/numtxtru.prg * contrib/hbmysql/tests/dbf2mysq.prg * contrib/hbnetio/tests/netiot03.prg * contrib/hbnetio/tests/netiotst.prg * contrib/hbnf/tests/aredit.prg * contrib/hbnf/tests/menu1.prg * contrib/hbnf/tests/metaph.prg * contrib/hbnf/tests/savearr.prg * contrib/hbpgsql/tests/dbf2pg.prg * contrib/hbsqlit3/tests/backup.prg * contrib/hbsqlit3/tests/demo.prg * contrib/hbsqlit3/tests/hooks.prg * contrib/hbsqlit3/tests/metadata.prg * contrib/hbtip/tests/tipmmail.prg * contrib/hbtip/tests/tipwget.prg * contrib/hbwin/tests/dlg.prg * contrib/hbwin/tests/olesrv3.prg * contrib/hbwin/tests/service.prg * contrib/hbxdiff/tests/test3.prg * contrib/hbzebra/tests/cairo.prg * contrib/hbzebra/tests/harupdf.prg * contrib/hbzebra/tests/wingdi.prg * contrib/rddads/tests/datad.prg * contrib/rddsql/tests/arrayrdd.prg * tests/aliaslck.prg * tests/big5_gen.prg * tests/clsscope.prg * tests/cpinfo.prg * tests/memvar.prg * tests/profiler.prg * tests/rto_get.prg * tests/rto_tb.prg * tests/uc16_gen.prg * tests/wvtext.prg % use STATIC where possible (except speedtst) * added comment where public function/procedure is required * minor cleanups 2013-12-28 11:14 UTC+0100 Viktor Szakats * doc/oldnews.txt * README.md * src/vm/extrap.c * utils/hbmk2/hbmk2.prg * win bitness (terminology) cleanup * contrib/hbmisc/tests/ntp.prg * minor 2013-12-27 02:46 UTC+0100 Viktor Szakats * ChangeLog.txt * cleaned away abandoned domain from old entries * ChangeLog.txt ! [vszakats] deleted very old CVS conflict marker 2013-12-27 02:41 UTC+0100 Viktor Szakats * contrib/hbtinymt/3rd/tinymt/tinymt.hbp * contrib/hbtinymt/3rd/tinymt/* * updated tinymt to 1.0.3 * contrib/hbtinymt/tests/test32.prg * contrib/hbtinymt/tests/test64.prg * updated according to tinymt 1.0.3 * extras/hbdoc/hbdoc.css * pedantic 2013-12-27 01:37 UTC+0100 Viktor Szakats * bin/commit.hb * always include the whole log message in commit msg (even if it's a one liner) * doc/oldnews.txt * doc/xhb-diff.txt * package/mpkg_rpm_win.sh * package/winuni/RELNOTES.txt * README.md * utils/hbtest/rt_str.prg + better Windows bit neutrality (avoid 'win32'/'win64') * utils/hbmk2/examples/xbgtk.hbc + untested support for Windows 64-bit libs 2013-12-27 01:31 UTC+0100 Viktor Szakats * doc/oldnews.txt * doc/xhb-diff.txt * package/mpkg_rpm_win.sh * README.md * utils/hbmk2/examples/xbgtk.hbc 2013-12-27 00:56 UTC+0100 Viktor Szakats * tests/*.prg * more cleanups 2013-12-26 22:56 UTC+0100 Viktor Szakats * bin/commit.hb * contrib/hbexpat/core.c * contrib/hbmisc/numtxten.prg * contrib/hbwin/tests/ole.prg * contrib/hbxpp/tests/dllcall.prg * contrib/hbziparc/ziparc.prg * extras/httpsrv/uhttpd.prg * package/winuni/mpkg_win_uni.bat * src/common/hbtrace.c * src/debug/debugger.prg * src/rdd/dbfuncs.prg * src/rdd/dbtotal.prg * src/rtl/adir.prg * src/rtl/dbedit.prg * src/rtl/tget.prg * src/rtl/tmenuitm.prg * src/rtl/tmenusys.prg * src/rtl/tpopup.prg * tests/classch.prg * utils/hbmk2/hbmk2.prg * utils/hbtest/make_c5x.bat * utils/hbtest/make_xpp.bat * deleted a personal comment style/markup of mine * tests/rto_get.prg * fix to prev 2013-12-26 22:37 UTC+0100 Viktor Szakats * tests/*.prg * tests/*.ini * tests/clipper.ch * tests/test.frm * tests/test.lbl * utils/hbtest/hbtest.prg * extras/hbvpdf/core.prg * extras/hbvpdf/tests/pdf_demo.prg * ChangeLog.txt * various cleanups * tests/sha1.prg + added real tests from RFC - tests/os.prg % deleted redundant test, see version.prg 2013-12-26 13:25 UTC+0100 Viktor Szakats * contrib/hbmisc/calldll.prg * contrib/hbmisc/hbmisc.hbx * contrib/hbmisc/tests/calldll.prg + renamed CallDll32() to CallDll() [INCOMPATIBLE] ; CallDll32() kept for compatibility under HB_LEGACY_LEVEL4 * contrib/hbmisc/tests/ntp.prg + show system time for comparison * contrib/xhb/xcstr.prg ! fixed to use portable EOL instead of fixed CRLF * deleted empty lines and no longer valid comments * tests/op.prg * cleanup 2013-12-26 01:22 UTC+0100 Viktor Szakats * contrib/rddads/rddads.h + autodetection support for 11.10 * README.md * cleanup 2013-12-26 01:07 UTC+0100 Viktor Szakats * contrib/hbblat/readme.txt * updated FIXME: replace with an URL [DONE - deleted] * README.md * KB -> kB * tests/longdev.prg * cleanups 2013-12-25 22:41 UTC+0100 Viktor Szakats * bin/commit.hb * allow tabs in c# sources * extras/gtwvw/tests/maximize.prg * extras/hbvpdf/core.prg * extras/hbvpdf/tests/pdf_demo.prg * extras/httpsrv/_session.prg * tests/codebl.prg * tests/db_brows.prg * tests/idle.prg * tests/keywords.prg * avoid '&' char in comments * utils/hbmk2/hbmk2.prg ! indentation * contrib/hbpgsql/tests/cache.prg * translation 2013-12-25 12:05 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg ! missing ':' separator from hbrun error text 2013-12-24 13:26 UTC+0100 Viktor Szakats * contrib/hbmisc/ntp.prg % hb_ntp_GetTimeUTC(): minor simplification + hb_ntp_GetTimeUTC(): added support for fragments of second * contrib/hbwin/win_reg.prg * minor code readability 2013-12-24 10:13 UTC+0100 Viktor Szakats * contrib/hbmisc/ntp.prg * contrib/hbmisc/tests/ntp.prg % simplified expressions 2013-12-24 00:32 UTC+0100 Viktor Szakats * contrib/hbmisc/hbmisc.hbp * contrib/hbmisc/hbmisc.hbx + contrib/hbmisc/ntp.prg + contrib/hbmisc/tests/ntp.prg + added function to query to time from an NTP time server: hb_ntp_GetTimeUTC( <cServer>, [<nPort>=123], [<nTimeOut>=10000] ) -> <tTime> * contrib/hbmisc/hbmisc.hbx ! deleted hb_FEof() 2013-12-24 00:17 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + added '-cli' option which is similar to '-std', but forces the resulting executable to be run in the original window (ie. without 'start' or 'open') when used together with '-run' option * src/rtl/hbsockhb.c * formatting in comment 2013-12-23 18:15 UTC+0100 Viktor Szakats * include/hb.ch + added new header * utils/hbmk2/hbmk2.prg + added new header to hbrun + force linkage of zlib * include/hbserial.ch ! https 2013-12-23 17:11 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbapicdp.h * include/hbapiitm.h * src/rtl/itemseri.c * changed 2nd parameter in hb_itemSerialize() and hb_itemSerializeCP() from HB_BOOL fNumSize parameter to int iFlags. Previous fNumSize is replaced by HB_SERIALIZE_NUMSIZE flag. Warning: declaration is not backward compatible though existing code using these functions is binary compatible so it will work without recompilation. + added support for optional compression of serialized values. It can be enabled in C code by HB_SERIALIZE_COMPRESS flag. + added support for serialization flags passed in 2nd parameter to hb_Serialize() PRG function. ; Info: support for compression and decompression exists only in programs which are linked with ZLIB library. Programmers which want to use it and so far the haven't used ZLIB functions should add to their code REQUEST HB_ZCOMPRESS * include/Makefile + include/hbserial.ch + added header file with Harbour serialization flags. Now the following flags are supported: HB_SERIALIZE_NUMSIZE HB_SERIALIZE_COMPRESS I'll add support for HB_SERIALIZE_OBJECTSTRUCT soon. * src/rtl/hbi18n1.c * contrib/hbnetio/netiocli.c * contrib/hbnetio/netiosrv.c * updated to use new Harbour serialization flags. 2013-12-23 11:47 UTC+0100 Viktor Szakats * .travis.yml ! disabled some dependencies again * README.md * minor typo 2013-12-20 00:24 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbexpra.c ! fixed silly copy and paste typo 2013-12-19 23:40 UTC+0100 Viktor Szakats * src/3rd/pcre/* * src/3rd/pcre/Makefile * src/3rd/pcre/pcre.dif * updated pcre lib 8.33 -> 8.34 2013-12-19 23:32 UTC+0100 Viktor Szakats * src/3rd/png/* * src/3rd/png/Makefile * src/3rd/png/png.dif * update libpng 1.6.7 -> 1.6.8 2013-12-19 23:24 UTC+0100 Viktor Szakats * contrib/hbcurl/core.c * contrib/hbcurl/hbcurl.ch + added support for new 7.34.0 features ! fixed name of new 7.33.0 option to match actual curl.h header instead of the documentation. reported upstream: https://sourceforge.net/p/curl/bugs/1313/ * src/rtl/hbzlibc.c * http -> https 2013-12-19 09:31 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) + src/rtl/hbzlibc.c ! added file missing in previous commit 2013-12-19 08:44 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbexpra.c + added warning for undeclared get variables, it can be enabled by -w2 (it also fixes compilation problem after last commit - this modification was work in progress committed partially by mistake) 2013-12-18 21:05 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/Makefile + include/hbzlib.h * include/hbzlib.ch * src/rtl/Makefile * src/rtl/hbzlib.c + added new C functions weakly bound with ZLIB library: HB_SIZE hb_zlibCompressBound( HB_SIZE nLen ); HB_SIZE hb_zlibUncompressedSize( const char * pSrc, HB_SIZE nLen, int * piResult ); int hb_zlibCompress( char * pDst, HB_SIZE * pnDst, const char * pSrc, HB_SIZE nLen, int iLevel ); int hb_zlibUncompress( char * pDst, HB_SIZE * pnDst, const char * pSrc, HB_SIZE nLen ); these functions can be used by any C code without forcing ZLIB liking. If user usese in his code HB_ZCOMPRESS() function or has REQUEST HB_ZCOMPRESS then above funcitons are automatically bound with linked ZLIB library. Otherwise they return 0 or HB_ZLIB_RES_UNSUPPORTED error. * src/rdd/dbf1.c * small code simplification ; added note about alternative numeric value rounding when pure binary integer fields (without decimal places) are assigned. * src/common/hbdate.c ! added missing header for WinCE builds * include/hbexpra.c * minor simplification * src/vm/macro.c + added new implementation for MemVarBlock() function. It's much faster and does not force dynamic symbol table scanning on each call * src/rtl/Makefile - src/rtl/memvarbl.prg - removed previous implementation of MemVarBlock() * src/rtl/tgetint.prg ! fixed __Get() and __GetA() to return NIL when cVarName parameter is not string (CA-Cl*pper compatible) ! fixed __GetA() to return NIL when given aIndex parameter or value returned by variable block is not array (CA-Cl*pper compatible) ! fixed __Get() and __GetA() to use FieldWBlock() instead of manually created macro block which didn't respect workarea (CA-Cl*pper compatible) ! fixed __GetA() to create SET/GET block instead of access block (CA-Cl*pper compatible) ! fixed __Get() and __GetA() to not create simple SET/GET macro blocks but always force memvar usage (CA-Cl*pper compatible). Please remember that &( "DATA" ) gives code which tries to access field then memvar but &( "DATA := .T." ) gives code which always tries to assign memvar and does not even check if "DATA" field exists in current WA. It means that macro compiled code like: &( "{|_1| iif( _1 == NIL, DATA, DATA := _1 ) }" ) should not be used because gives higher priority for fields in access operation and always assigns memvars, if necessary creating them. ! allow to dynamically create memvars for get objects in error handler (CA-Cl*pper compatible) % use much faster MemVarBlock() instead of manually created codeblock which activates dynamic symbol table scanning on each call 2013-12-18 15:55 UTC+0100 Viktor Szakats * config/win/mingw.mk + enable -fstack-protector-strong for gcc 4.9 and above (for mingw) UPDATE: see article: https://lwn.net/Articles/584225/ * utils/hbmk2/hbmk2.prg + enable -fstack-protector-strong for gcc 4.9 and above when -safe option is enabled. EXPERIMENTAL. (for mingw and gcc on all platforms) * ChangeLog.txt + updated prev entry * README.md + more https 2013-12-13 11:53 UTC+0100 Viktor Szakats * .travis.yml ! readded dependency package now fixed in Travis CI 2013-12-13 11:48 UTC+0100 Viktor Szakats * contrib/hbmysql/hbmysql.hbp * contrib/sddmy/sddmy.hbp + added support for latest dir layout (tested with MariaDB 5.5.34) % reversed order of implib dirs, now on top is the latest variation * README.md + added MariaDB download link + adapted MYSQL config examples to latest version (tested with MariaDB 5.5.34) * contrib/hbgd/gdbar.prg * formatting 2013-12-12 00:04 UTC+0100 Viktor Szakats * config/aix/libs.mk * config/lang.hb * config/win/mingw.mk * contrib/hbfoxpro/dbfunc.c * contrib/hbfoxpro/miscfunc.c * contrib/hbfship/stroccur.prg * contrib/hbtip/encoder.prg * contrib/hbtip/httpcli.prg * README.md * src/rtl/hbjson.c * updated links + use HTTPS where possible * contrib/hbct/tests/datetime.prg * contrib/hbct/tests/trig.prg * contrib/hbct/tests/wordrepl.prg * contrib/hbct/tests/wordswap.prg * contrib/hbnf/tests/calendar.prg * contrib/hbnf/tests/datecnfg.prg * contrib/hbnf/tests/diskfunc.prg * contrib/hbnf/tests/dosver.prg * contrib/hbnf/tests/findith.prg * contrib/hbnf/tests/floptst.prg * contrib/hbnf/tests/fttext.prg * contrib/hbnf/tests/pickday.prg * contrib/hbnf/tests/setdate.prg * contrib/hbnf/tests/settime.prg * contrib/hbnf/tests/sleep.prg * contrib/hbnf/tests/sysmem.prg * contrib/hbnf/tests/tbwhile.prg * tests/com.prg * tests/cpinfo.prg * tests/dbf.prg * tests/diskspac.prg * tests/dynwin.prg * tests/gtstd.prg * tests/hbdoc.prg * tests/ipclnt.prg * tests/ipsvr.prg * tests/macro.prg * tests/math.prg * tests/memmgr.prg * tests/parseini.prg * tests/tflock.prg * tests/vmasort.prg * various minor cleanups/optimizations/formatting 2013-12-11 07:10 UTC+0100 Viktor Szakats * contrib/3rd/sqlite3/sqlite3.hbp * contrib/3rd/sqlite3/* * sqlite3 update 3.8.1 -> 3.8.2 2013-12-10 13:55 UTC+0100 Viktor Szakats * doc/en/file.txt * doc/en/string.txt * extras/gtwvw/docs/gtwvw.txt * extras/guestbk/_inifile.prg * extras/hbvpdf/core.prg * extras/httpsrv/uhttpd.prg * tests/inifiles.prg * tests/onidle.prg * tests/profiler.prg * tests/read.prg * tests/server.prg * tests/setmode.prg * tests/wvtext.prg % favor implicit type conversion or hb_ntos() instead of Str() % avoid zero as third parameter in Str() (where dealing with integers) 2013-12-10 11:24 UTC+0100 Viktor Szakats * contrib/gtwvg/activex.prg * contrib/hbct/tests/asciisum.prg * contrib/hbct/tests/ascpos.prg * contrib/hbct/tests/attoken.prg * contrib/hbct/tests/datetime.prg * contrib/hbct/tests/numtoken.prg * contrib/hbct/tests/token2.prg * contrib/hbct/tests/valpos.prg * contrib/hbfbird/tests/simple.prg * contrib/hbfbird/tests/stress.prg * contrib/hbfbird/tfirebrd.prg * contrib/hbhttpd/widgets.prg * contrib/hbnf/doc/en/nwlstat.txt * contrib/hbnf/doc/en/nwsem.txt * contrib/hbnf/doc/en/sysmem.txt * contrib/hbnf/doc/en/vidcur.txt * contrib/hbnf/doc/en/vidmode.txt * contrib/hbnf/tests/datecnfg.prg * contrib/hbnf/tests/diskfunc.prg * contrib/hbnf/tests/isshare.prg * contrib/hbnf/tests/mouse1.prg * contrib/hbnf/tests/nwlstat.prg * contrib/hbnf/tests/nwsem.prg * contrib/hbnf/tests/savearr.prg * contrib/hbnf/tests/sysmem.prg * contrib/hbnf/tests/test.prg * contrib/hbnf/tests/vidmode.prg * contrib/hbnf/tests/wda.prg * contrib/hbnf/tests/woy.prg * contrib/hbodbc/tests/odbc.prg * contrib/hbpgsql/tests/cache.prg * contrib/hbpgsql/tests/dbf2pg.prg * contrib/hbpgsql/tests/simple.prg * contrib/hbpgsql/tests/stress.prg * contrib/hbpgsql/tpostgre.prg * contrib/hbsqlit3/tests/demo.prg * contrib/hbwin/tests/simwce.prg * contrib/xhb/cstruct.prg * contrib/xhb/sprintf.prg * contrib/xhb/stream.prg * contrib/xhb/ttable.prg % favor implicit type conversion or hb_ntos() instead of Str() % avoid zero as third parameter in Str() (where dealing with integers) % avoid 10 as second parameter in Str() * minor cleanups * contrib/hbfbird/tfirebrd.prg % cleaned up excessive space usage in SQL strings * formatting ! fixed possible RTE in some cases * contrib/hbnf/tests/diskfunc.prg * contrib/hbnf/tests/wda.prg ! fixed RTE when run without parameter[s] * contrib/rddads/tests/datad.prg ! fixed filenames to work on *nix * formatting * contrib/gtwvg/wvtwin.ch * contrib/xhb/xhberr.prg * src/rtl/teditor.prg * formatting * contrib/hbct/tests/addascii.prg * contrib/hbhttpd/core.prg * cleanup 2013-12-10 06:04 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * ChangeLog.txt * removed trailing spaces 2013-12-10 05:30 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * ChangeLog.txt * removed UTF8 BOM and restored natinal characters 2013-12-06 15:01 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) ; [vszakats] Fixed readded UTF-8 BOM and destroyed UTF-8 chars in ChangeLog.txt for the umpteenth time. Minor cleanup in wvtwin.ch (TVN_FIRST and formatting). * contrib\gtwvg\gtwvg.h ! Increased: WVT_CHAR_QUEUE_SIZE 128 => 256 Required in cases where paste operation in a bigger character field is needed. Even this is hypothetical, but still works for most use cases. * contrib\gtwvg\gtwvgd.c % Changed: behaviour of hb_gt_wvt_PutChar() to let SUPER GT layer to take the next action if application is not compiled for GUI controls on CUI window. This is controlled by pWVT->bGui member of GTWVG structure. This makes GTWVG at par with GTWVT if GUI controls are not sought as long as screen refreshes are concerned. Przemek, can you correct me if I am wrong? * contrib\gtwvg\wvtwin.ch % Guarded: #deine RGB under #ifndef construct. 2013-12-06 10:52 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbbfish.h * src/rtl/hbbffnc.c + added HB_BF_CIPHERBLOCK macro 2013-12-05 10:33 UTC+0100 Viktor Szakats * contrib/hbscrypt/tests/test.prg + use hbtest framework 2013-12-03 09:03 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbmxml/3rd/minixml/mxml.hbp * updated source package URL * contrib/hbmxml/3rd/minixml/minixml.dif * rediffed with: hbmk2 ../../../../bin/3rdpatch.hb -rediff * src/rtl/gtxwc/gtxwc.c * minor cleanup 2013-12-03 01:41 UTC+0100 Viktor Szakats * include/inkey.ch ! reverted last commit for this file. It is used from C code. * ChangeLog.txt ; added clarification to prev entry 2013-12-02 23:00 UTC+0100 Viktor Szakats * contrib/gtwvg/class.prg * contrib/gtwvg/tests/_tbrowse.prg * contrib/gtwvg/tests/demowvg.prg * contrib/gtwvg/tests/demowvg1.prg * include/inkey.ch * src/rtl/tmenusys.prg * tests/gtkeys.prg * tests/wvtext.prg ! fixed code to 'or' INKEY_* constants instead of adding them * include/hbhash.ch ! fixed code to 'or' HB_HAUTOADD_* constants instead of adding them ; NOTE: These didn't cause any problems, but it was non-robust code that assumed constants having specific numeric values. 2013-11-29 19:59 UTC+0100 Viktor Szakats * README.md * ChangeLog.txt * COPYING.txt * debian/copyright * doc/cmdline.txt * doc/howtovcs.txt * doc/oldnews.txt * utils/hbmk2/hbmk2.prg * updated CC license to 4.0 (from 3.0) Summary of changes: https://wiki.creativecommons.org/License_Versions ; TODO: update embedded .txt copy in COPYING.txt/copyright (not yet available) [DONE] * contrib/hbrun/doc/hbrun.*.md * utils/hbmk2/doc/hbmk2.*.md * regenerated 2013-11-28 04:15 UTC+0100 Viktor Szakats * contrib/hbmxml/3rd/minixml/mxml.hbp * updated package archive link (also to HTTPS) * contrib/hbmxml/3rd/minixml/minixml.dif * updated after recent change in 3rd party code 2013-11-28 03:04 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbmxml/3rd/minixml/mxml_fil.c ! fixed mxmlLoadString() with top node - patch by Franček Prijatelj * contrib/hbmxml/core.c ! fixed mxml node reference counter in mxmlAdd() - it fixes 2nd problem reported by Franček Prijatelj 2013-11-27 20:32 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/gtxwc/gtxwc.c ! fixed typo which broke event loop processing - changed state was not flushed without incoming events 2013-11-27 18:01 UTC+0100 Viktor Szakats * src/rtl/hbini.prg * reverted fix from 2013-11-27 07:12 UTC+0100 in favor of the superior solution in 2013-11-27 13:06 UTC+0100 2013-11-27 13:06 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/gtxwc/gtxwc.c * minor modification for future usage * src/rtl/hbini.prg ! fixed RTE on 'include' directive 2013-11-27 08:03 UTC+0100 Viktor Szakats * ChangeLog.txt ! deleted orphan entry 2013-11-27 07:12 UTC+0100 Viktor Szakats * contrib/hbtip/tests/tipwget.prg * contrib/hbtip/tests/upld_ftp.prg * use example.com for example domains * contrib/hbtip/tests/tipwget.prg * contrib/xhb/tests/compress.prg * tests/parseini.prg * tests/server.prg * avoid spacing inside words * src/rtl/hbini.prg ! fixed to avoid RTE when an included file is missing * formatting + tests/parsein2.ini * tests/parseins.ini + added missing test .ini file * tests/parseini.ini * tests/parseins.ini ! typos 2013-11-26 09:58 UTC+0100 Viktor Szakats * contrib/hbformat/utils/hbformat.prg * contrib/hbnetio/utils/hbnetio/hbnetio.prg * contrib/hbnetio/utils/hbnetio/netiomgm.hb * ChangeLog.txt * package/harb_win.rc * README.md * src/compiler/hbusage.c * src/pp/hbpp.c * utils/hbi18n/hbi18n.prg * utils/hbmk2/hbmk2.prg * utils/hbtest/hbtest.prg * bumped copyright year to 2014 * contrib/hbrun/doc/hbrun.*.md * utils/hbmk2/doc/hbmk2.*.md * regenerated 2013-11-26 06:07 UTC+0100 Viktor Szakats * src/3rd/png/* * src/3rd/png/Makefile * src/3rd/png/png.dif * update libpng 1.6.6 -> 1.6.7 2013-11-26 01:00 UTC+0100 Viktor Szakats * ChangeLog.txt * marked FIXME as DONE 2013-11-26 00:52 UTC+0100 Viktor Szakats * ChangeLog.txt * typos 2013-11-26 00:51 UTC+0100 Viktor Szakats + contrib/hbscrypt/3rd/scrypt/* + contrib/hbscrypt/3rd/scrypt/scrypt.dif + contrib/hbscrypt/3rd/scrypt/scrypt.hbc + contrib/hbscrypt/3rd/scrypt/scrypt.hbp + added 3rd party code from: https://www.tarsnap.com/scrypt/ The work of Colin Percival, implementing safe password hashing function scrypt and PBKDF2 which it depends on. Plus Harbour build glue and patches to work with some other compilers than gcc and better work with Harbour. ; TODO: to use the core sha256 and hmac_sha256 functions, instead of the duplicate local copies. * contrib/hbplist.txt + contrib/hbscrypt/hbscrypt.hbc + contrib/hbscrypt/hbscrypt.hbp + contrib/hbscrypt/hbscrypt.hbx + contrib/hbscrypt/pbkdf2.c + contrib/hbscrypt/scrypt.c + contrib/hbscrypt/strcmpc.c + contrib/hbscrypt/tests/hbmk.hbm + contrib/hbscrypt/tests/test.prg + added hbscrypt package implementing following password hashing wrapper functions: hb_scrypt( <cPassword>, <cSalt>, <nCPU>, <nMem>, <nParallel>, <nKeyLen> ) -> <cKey> hb_pbkdf2_sha256( <cPassword>, <cSalt>, <nCount>, <nKeyLen> ) -> <cKey> + added function for length-constant time string comparison: hb_strcmpc( <cString1>, <cString2> ) -> <lEqual> ; NOTE: Tested using mingw, ming64, msvc, msvc64, watcom (win) The package is disabled for other compilers. 2013-11-25 23:23 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/common/strwild.c ! fixed hb_strMatchFile() (C) and hb_fileMatch() (PRG) to respect . and .* used at the end of pattern just like system does (or at least should, tests with more complicated wildcard expressions in my Windows7 exploit bugs in system wildcards interpretation) ; [vszakats] fixed ending whitespace. 2013-11-22 21:22 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/gtxwc/gtxwc.c * removed some old unused code ! restored window oriented message processing ! check window position on each HB_GTI_SETPOS_XY request - some WMs sends ConfigureNotify with 0,0 cords when window is resized overwriting correct values. * switched HB_GTI_SETPOS_XY coordinates to NorthWestGravity (upper left corner of window with frame and title bar) from StaticGravity (upper left corner of client area). Many thanks to Rolf for the hint which allows to translate coordinates from StaticGravity and NorthWestGravity ; updated note about StaticGravity/NorthWestGravity ; Warning: sometime WMs report wrong size in _NET_FRAME_EXTENTS and then HB_GTI_SETPOS_XY returns wrong position two. I observed this behavior in different situations and different WMs, e.g. in KWIN from Ubuntu, after: MAXIMIZE, FULLSCREEN-ON, FULLSCREEN-OFF wrong left and top offsets (3,3) are set which are later inherited also by NORMALSIZE window for which HB_GTI_SETPOS_XY returns wrong position. _NET_FRAME_EXTENTS begins to report correct size after next FULLSCREEN-ON.FULLSCREEN-OFF 2013-11-21 13:16 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/common/expropt2.c ! fixed setting number of decimal places in optimized multiple expressions with default number of decimal places, i.e.: ? ( 1 / 2 ) * ( 1 / 2 ) 2013-11-21 12:48 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/gtxwc/gtxwc.c ! updated HB_ULONG->HB_U32 used in pCurrScr. I missed them in previous commit. 2013-11-20 21:57 UTC+0100 Viktor Szakats * extras/dbu/dbu52.dif * extras/dbu/dbu53.dif % avoid CPU hogging in a hand-rolled Inkey() loop 2013-11-19 22:36 UTC+0100 Viktor Szakats * ChangeLog.txt ! deleted reference to no longer existing URL 2013-11-19 22:32 UTC+0100 Viktor Szakats * ChangeLog.txt ! typo 2013-11-19 19:26 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbwin/axcore.c ! protection against buffer underflow * src/rtl/gtxwc/gtxwc.c * src/rtl/gtxwc/gtxwc.h % use 32-bit screen buffer items also in 64-bit systems ! fixed race condition in SetMode() ! fixed infinite loop with size updating in fullscreen and maximized modes ! fixed typo in function name used in HB_TRACE() message * use _MOTIF_WM_HINTS to change window decoration and buttons instead of _NET_WM_ALLOWED_ACTIONS:_NET_WM_ACTION_CLOSE _MOTIF_WM_HINTS is much more portable and looks that most of WMs understand it. _NET_WM_ALLOWED_ACTIONS:_NET_WM_ACTION_CLOSE works only with few WMs (i.e. with default WM in Ubuntu). Many thanks to Rolf for information about this method. * use _MOTIF_WM_HINTS to control some other hints (i.e. resizing) in WMs which do not make it automatically using information form XSetWMNormalHints() * removed \r from all debug messages ; added note about StaticGravity and NorthWestGravity ; TODO: 1) add margins if window cannot be resized to requested size (i.e. in fullscreen or maximized mode) 2) add support for HB_GTI_RESIZEMODE=HB_GTI_RESIZEMODE_FONT 2013-11-13 08:22 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + more clarification for -winuni description in help 2013-11-13 08:19 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + minor clarification for -winuni description in help 2013-11-11 01:55 UTC+0100 Viktor Szakats * contrib/hbrun/doc/hbrun.*.md * utils/hbmk2/doc/hbmk2.*.md * utils/hbmk2/hbmk2.prg * added comment in hbmk2 help to not manually define predefined hbmk2 constants 2013-11-08 21:43 UTC+0100 Viktor Szakats * contrib/sddsqlt3/core.c ! fixed missing first record of query * contrib/sddsqlt3/tests/test.prg * minor fmt 2013-11-08 17:08 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/gtxwc/gtxwc.c ! missing parenthesis 2013-11-08 17:06 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/gtxwc/gtxwc.c ! protection agains switching [x] button before window is open 2013-11-08 16:50 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/gtqtc/gtqtc.h ! typo in variable type * contrib/gtqtc/gtqtc1.cpp * minor simplification * src/rtl/gtxwc/gtxwc.c + added support for disabling close button [x] on HB_GTI_CLOSEMODE==2 Thanks to Rolf for suggestion removing/adding _NET_WM_ACTION_CLOSE to _NET_WM_ALLOWED_ACTIONS property is honored by WMs I tested and they hide/show [x] button respectively. 2013-11-07 15:03 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/gtqtc/gtqtc1.cpp ! typo in last commit - flags and state were not changed * src/rtl/gtxwc/gtxwc.c * added XSync() just after XBell() to reduce a little bit potential delay 2013-11-07 01:24 UTC+0100 Viktor Szakats * contrib/gtqtc/gtqtc.h ! fixed typo in variable type in 2013-11-06 23:09 UTC+0100 2013-11-06 23:09 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbgtinfo.ch + added new hb_gtInfo() switch: HB_GTI_CLOSEMODE It controls close event (i.e. ALT+F4 and/or [x] button in MS-Windows) behavior: == 0 - terminate application >= 1 - generate HB_K_CLOSE == 2 - disable close button * contrib/gtqtc/gtqtc.h * contrib/gtqtc/gtqtc1.cpp % optimized setWindowFlags() and setWindowState() to not execute show() when flags/state are not changed. + added support for HB_GTI_CLOSEMODE * changed HB_GTI_CLOSABLE to work line in GTXWC and GTWVT * src/rtl/gtxwc/gtxwc.c ! fixed setting window position by HB_GTI_SETPOS_XY + added support for HB_GTI_CLOSEMODE ; note: in GTXWC we cannot easy disable close button so HB_GTI_CLOSEMODE==2 will work like 1 until we do not find some portable way to inform WM that is should hide close button * src/rtl/gtwin/gtwin.c * added type checking in few HB_GTI_* settings + added support for HB_GTI_CLOSEMODE ; note: in GTWIN we cannot catch close event so HB_GTI_CLOSEMODE==1 works like 2 In this GT HB_GTI_CLOSABLE also has to work like HB_GTI_CLOSEMODE==2 * src/rtl/gtwvt/gtwvt.h * src/rtl/gtwvt/gtwvt.c * added range checking in HB_GTI_RESIZEMODE setting + added support for HB_GTI_CLOSEMODE 2013-11-06 15:26 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/common/hbdate.c + added support for decooding timestamp values with semicolon ";" used as date and time part delimiters, i.e.: tValue := t"2013-11-06;15:14:45" ; [vszakats] FIXME: this creates a new and equivalent alternative syntax for no known reason. [FINE AS IT IS] 2013-11-05 23:05 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/gtwin/gtwin.c ! do not disable console control handler when terminal is suspended. ! ignore HB_K_BREAK event's caught when terminal was suspended. 2013-11-05 08:21 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rdd/dbcmd.c ! added missing ; in last commit 2013-11-04 19:25 UTC+0100 Viktor Szakats * contrib/hbfoxpro/hbfoxpro.ch ! formatting after 2013-11-04 16:54 UTC+0100 * src/rdd/dbcmd.c ! fixed missing ; after 2013-11-04 17:43 UTC+0100 2013-11-04 17:43 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rdd/dbcmd.c * src/rdd/dbcmd53.c * changed HB_USHORT to HB_AREANO in few declarations % simplified code taking order number or name from user parameters 2013-11-04 16:54 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbfship/hbfship.hbp * contrib/hbfship/hbfship.hbx + contrib/hbfship/stroccur.prg + added undocumented FlagShip function: StrOccurs( <cSub>, <cStr>, [<lAny>] ) -> <nCount> It returns the number of occurrences of <cSub> string in <cStr> If <lAny> is true (default) then it accepts any possible substring posittions otherwise (lAny == .F.) substrings cannot occupy common characters from <cStr>, i.e. StrOccurs( "aa", "aaaa", .T. ) => 3 StrOccurs( "aa", "aaaa", .F. ) => 2 * contrib/hbfoxpro/hbfoxpro.hbp * contrib/hbfoxpro/hbfoxpro.hbx + contrib/hbfoxpro/dbfunc.c + added FoxPro compatible database functions: Filter(), Ndx(), Relation(), FSize(), __fox_Used(), __fox_Seek() * contrib/hbfoxpro/hbfoxpro.hbp * contrib/hbfoxpro/hbfoxpro.hbx + contrib/hbfoxpro/miscfunc.c + added few functions which can be directly translated to Harbour ones: Parameters() => PCount() SRows() => MaxRow() SCols() => MaxCol() VarRead() => ReadVar() PrintStatus() => IsPrinter() Key() => InedxKey() * contrib/hbfoxpro/hbfoxpro.hbx * contrib/hbfoxpro/misc.prg + added few new actions to Sys() function + added AElement(), Occurs() and InsMode() functions * contrib/hbfoxpro/hbfoxpro.ch + added PP rules for few FoxPro commands and standard functions with aliases, i.e. SEEK <exp> TAG <tag> IN <wa> lUsed := USED( <wa> ) nRecordsInWA := RECCOUNT( <wa> ) + added PP rules for SCAN / ENDSCAN + added few other commands ; Please verify me. I'm not [V]FP user and I cannot check what [V]FP exactly does. It's possible that I missed something or wrongly understood. ; Special thanks to Alex Antypenko. I took information about [V]FP functions and syntax analyzing his code. ; [vszakats] deleted ending whitespaces in dbfunc.c and ChangeLog.txt 2013-11-01 01:21 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * src/compiler/hbopt.c ! fixed -w3 warning 'Variable ... is assigned but not used', reapplied patch 2012-04-04 20:20 UTC+0300 Mindaugas Kavaliauskas 2013-10-31 13:04 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbfship/hbfship.hbx ! removed FIELDDECI() reenabled by mistake during one of internal merges * src/rdd/dbfcdx/dbfcdx1.c * accept headers with KEY and FOR expression lengths without offset fields. * tests/video.prg ! fixed CLIP and xHarbour compilation + added support for testing UTF8 screen output (non empty 1st parameter) and HB_GTI_COMPATBUFFER (non empty second parameter) 2013-10-30 23:12 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rdd/dbf1.c ! set binary flag by default for PICTURE, BLOB and OLE fields + allocate system column for VFP tables and fields with NULLABLE flag 2013-10-30 02:13 UTC+0100 Viktor Szakats * .travis.yml ! deleted dependency package failing in Travis CI 2013-10-30 01:56 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/gtqtc/gtqtc.h * contrib/gtqtc/gtqtc1.cpp % removed redundant rect() usage ! force internal image repainting when font size is changed 2013-10-30 01:15 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/gtqtc/gtqtc1.cpp % small simplification: use set{Max,Min}imumSize() instead of set{Max,Min}imum{Width,Height}() 2013-10-30 01:02 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/compiler/hbopt.c * minor: 1 => HB_TRUE * src/rtl/gtwvt/gtwvt.c ! clear margins leaving maximized mode ; [vszakats] typo in comment 2013-10-29 15:48 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg * minor cleanup 2013-10-29 04:15 UTC+0100 Viktor Szakats * contrib/hbcurl/core.c * contrib/hbcurl/hbcurl.ch + updated for libcurl 7.33.0 2013-10-28 20:07 UTC+0100 Viktor Szakats * contrib/hbtip/popcli.prg ! fixed TOP command ! more buffer for TOP result ! worked around potential RTE in ::retrieveAll() 2013-10-28 17:18 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rdd/wafunc.c * minor cleanup * src/rtl/gtos2/gtos2.c * src/rtl/gttrm/gttrm.c * added protection against wrong SetMode() parameters * src/rtl/gtxwc/gtxwc.h * changed minim console window size from 3 x 6 to 1 x 1 ; [vszakats] fixed FieldDeci() having been readded to hbfship.hbx 2013-10-25 12:10 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbfship/hbfship.hbx ! removed not longer used FieldDeci() reference 2013-10-23 23:36 UTC+0200 Viktor Szakats * bin/commit.hb * allow tabs in java sources * contrib/3rd/sqlite3/sqlite3.hbp * contrib/3rd/sqlite3/* * sqlite3 update 3.8.0.2 -> 3.8.1 2013-10-23 14:39 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/gtqtc/gtqtc1.cpp * added support for keyevents with multicharacter strings. QT documentation says that such feature is enabled by Qt::WA_KeyCompression attribute and I left comment about it in the QTConsole() constructor but practice showed that on some platforms it was enabled even without setting this attribute and users using keyboard barcode readers reported "eaten" characters. * explicitly enabled Qt::WA_KeyCompression and removed comment about missing functionality in QTC keyPressEvent() code. 2013-10-23 12:41 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/gttrm/gttrm.c * send ST (ESC \) after Linux console palette set sequence (ESC ] P). ESC ] is Operating System Command (OSC) which by default should be terminated by ESC \ (ST). Some terminals which sets LINUX TERM envvar but do not correctly understand Linux console palette set sequence may hang waiting for ST. Now ST is sent to avoid such situation. Linux console simply ignore ST terminator so nothing wrong should happen. 2013-10-22 14:42 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/gttrm/gttrm.c * use non POSIX termios input line flag IUTF8 to detect UTF8 mode if other methods failed. 2013-10-17 16:38 UTC+0200 Viktor Szakats * win-make.exe * restored previous version 2013-10-15 23:29 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) - contrib/hbfship/flddeci.c * contrib/hbfship/hbfship.hbp - removed FieldDeci() function. Function with the same name and functionality exists in HBCT. * config/postinst.hb ! typo in my previous commit * ChangeLog.txt ! UTF8 BOM, indenting and trailing line spaces in one of recent commits 2013-10-15 18:58 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * contrib/gtwvg/gtwvgd.c ! fixed broken compile after 2013-10-11 21:36 UTC-0800 Pritpal Bedi 2013-10-13 21:54 UTC+0200 Viktor Szakats * bin/3rdpatch.hb * contrib/hbnf/linked.prg * contrib/hbtip/httpcli.prg * contrib/hbtip/mail.prg * contrib/hbtip/tests/dnldftp.prg * contrib/hbtip/tests/upld_ftp.prg * contrib/xhb/xhbtedit.prg * src/debug/debugger.prg % use $ instead of At() call % minor opts in ft_Linked() 2013-10-12 18:11 UTC+0200 Viktor Szakats * ChangeLog.txt ! fixed destroyed UTF-8 char after 2013-10-11 21:36 UTC-0800 Pritpal Bedi 2013-10-12 18:05 UTC+0200 Viktor Szakats * contrib/gtwvg/wvgcore.c * contrib/gtwvg/gtwvg.hbx * ChangeLog ; fixes for patch 2013-10-11 21:36 UTC-0800 Pritpal Bedi ! fixed new functions for win64 ! added new functions to .hbx ! deleted ChangeLog BOM yet again 2013-10-12 17:51 UTC+0200 Viktor Szakats * contrib/hbct/dbftools.c + contrib/hbct/dbfflddc.c * contrib/hbct/hbct.hbp + moved FIELDDECI() function to separate source file to avoid symbol collision when linked together with hbfship ! fixed FIELDDECI() to be translated to HB_FIELDDEC() (and not FIELDDEC() which violates core namespace rules) 2013-10-11 21:36 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/gtwvg/crt.prg + Added: Method RefreshEx() which refreshes the CRT window directly via WINAPI call instead of through hb_gtInfo( ... ) mechanism. This is useful in MT applications where one thread want to refresh the scren contents of CRT window in another thread. * contrib/gtwvg/gtwvgd.c + Added: hb_gtInfo( HB_GTI_BORDERSIZES ) -> { nLeft, nTop, nRight, nBottom } Useful in cases when you need to position precisely another window on top of existing GT window. % Aligned: hb_gtInfo( HB_GTI_SCREENHEIGHT and HB_GTI_SCREENWIDTH ) with GTWVG code with a small difference. * contrib/gtwvg/hbgtwvg.ch + Added: #define HB_GTI_BORDERSIZES * contrib/gtwvg/wvgcore.c + Added: HB_FUNC( WVT_DESTROYPICTURE ) <- <hIPicture> Destroys the IPicture created with WVT_LOADPICTURE*() functions. + Added: HB_FUNC( WVT_LOADPICTUREEX ) <- <cFilePicture> -> <hIPicture> 2013-10-11 15:30 UTC+0200 Viktor Szakats * config/postinst.hb ! msg typo in 2013-10-09 21:59 UTC+0200 2013-10-10 01:32 UTC+0200 Viktor Szakats * src/3rd/zlib/ChangeLog -> src/3rd/zlib/ChangeLog.txt * various cleanups 2013-10-09 21:59 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * config/globsh.mk * use $(CP) as workaround for missing soft links in NT shell. I know about mklink but it needs quite new Windows version and soft links need special privileges. Anyhow better solution is highly welcome. * config/postinst.hb * use hardlinks or copy files if symlinks do not work * config/linux/gcc.mk * added support for non SH shells - it allows to create Android builds in MS-Windows using Android NDK from Google. 2013-10-09 20:15 UTC+0200 Viktor Szakats * utils/hbmk2/po/hbmk2.fr.po ! fixed missed conflict 2013-10-09 20:13 UTC+0200 Viktor Szakats * utils/hbmk2/doc/hbmk2.fr.md - bin/check.hb - contrib/hbtip/sendmail.prg * ChangeLog.txt * README.md * src/lang/l_fr.c * src/lang/l_hu.c * utils/hbmk2/po/hbmk2.fr.po * cleaning conflicts after pull from upstream 2013-10-09 19:48 UTC+0200 Viktor Szakats * * * use web url instead of obfuscated email 2013-10-09 19:18 UTC+0200 Viktor Szakats * contrib/hbssl/tests/test.prg ! wrong hostname in request 2013-10-09 15:28 UTC+0200 Viktor Szakats * contrib/gtwvg/wvgcore.c ! fixed several msvc analyzer warnings ! uncrustified to fix all the double ';;' added since last time * win-make.exe * updated to GNU Make 4.0 (build with msvc 2013 rc) 2013-10-07 19:55 UTC+0200 Viktor Szakats * contrib/gtwvg/gtwgud.c * contrib/gtwvg/gtwvgd.c * contrib/gtwvg/wvgwing.c ! fixed/silenced certain code analyzer warnings 2013-10-07 01:46 UTC+0200 Viktor Szakats * ChangeLog.txt ! typos * src/rtl/errint.c * contrib/xhb/hbserv.c * suppress msvc code analysis warning * config/win/msvc.mk * made comment more precise * utils/hbmk2/hbmk2.prg * deleted code analysis files for more versions of msvc * contrib/xhb/xhb.hbx ! updated 2013-10-06 20:14 UTC+0200 Viktor Szakats * ChangeLog.txt ! typos * src/common/hbver.c ! do not call GetProcAddress() with NULL module handle * src/pp/hbpp.c * src/rdd/dbfcdx/dbfcdx1.c ! corrected *printf() format string sign mismatch ; remainder of the problems: https://gist.github.com/vszakats/c98b15d7e4d9340037a0 2013-10-06 04:43 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + clean msvc code analysis files 2013-10-06 04:26 UTC+0200 Viktor Szakats * contrib/hbct/ctnet.c ! fix to prev patch * src/common/hbdate.c * minor fmt 2013-10-06 03:58 UTC+0200 Viktor Szakats * config/win/msvc.mk * contrib/hbpost.hbm + added -analyze msvc 2013 option until problems found by code analysis are cleaned * contrib/hbct/ctnet.c ! added missing check for WinAPI call success * contrib/hbct/ctwin.c ! fixed potential NULL reference % fixed typo redefining var inside block * contrib/hbct/dattime2.c ! ct_daystomonth(): fixed typo in par validation making it ineffective causing potential out of buffer references * renamed static var * contrib/hbct/envparam.c ! do not call WinAPI with NULL param * contrib/hbct/strswap.c ! STRSWAP(): fixed GPF when passing non-reference parameters * contrib/hbnetio/netiosrv.c ! fixed possible NULL reference * contrib/hbodbc/odbc.c ! SQLERROR()/SQLGETDIAGREC(): fixed possible buffer overruns due to wrongly passed buffer sizes * contrib/hbsqlit3/core.c ! corrected fprintf() format string sign mismatch * contrib/hbwin/axcore.c ! fixed possible buffer overrun * contrib/hbwin/olecore.c * avoid variable name reuse inside block ! initialize variables passed by reference (to OLE API) * contrib/hbwin/wapi_commctrl.c ! WAPI_TREEVIEW_GETITEMRECT(): fixed memory corruption * contrib/hbwin/wapi_winbase.c * contrib/hbwin/wapi_wingdi_font.c * contrib/hbwin/win_rpc.c * src/common/hbdate.c * src/rtl/diskspac.c * src/rtl/disksphb.c * src/rtl/fslink.c * src/rtl/gtwin/gtwin.c ! do not call GetProcAddress() with NULL module handle * contrib/hbwin/win_com.c ! WIN_COMDEBUGDCB(): clear buffer before passing it to WinAPI * contrib/hbwin/win_dlg.c ! WIN_PRINTDLGDC(): fixed potential GPF * contrib/hbwin/win_misc.c ! WIN_SYSREFRESH(): handle error from WinAPI call * contrib/hbzebra/code11.c * contrib/hbzebra/code93.c * src/rtl/gtwvt/gtwvt.c * corrected ambiguous parenthesis in inline ifs * contrib/rddads/adsx.c ! adsxOrderDestroy(): fixed possible NULL reference (CHECKME) * src/common/expropt2.c ! hb_compExprListStrip(): fixed possible NULL reference due to wrong order of param validation * src/common/hbprintf.c * avoid variable name reuse inside block * src/compiler/compi18n.c * src/compiler/genc.c * src/compiler/gencc.c ! corrected fprintf() format string sign mismatch (mostly %d/%i -> %u) ! fixed one wrong formatting in -gc3 output * fixed one %d to %hu ; QUESTION: why is hb_p_pushbyte() using %i with ( signed char ) cast? * src/rtl/filesys.c ! casting an ignored _setmode() call result to ( void ) * src/rtl/gtkbstat.c ! fixed to check GetKeyboardState() success * src/rtl/gtwvt/gtwvt.c * avoid some warnings by code rearrangement (analyzer doesn't know that hb_errInternal() never returns) * src/rtl/hbbffnc.c % HB_BLOWFISHENCRYPT(), HB_BLOWFISHDECRYPT(): fixed typo causing redundant hb_parc() calls * src/rtl/hbi18n1.c ! fixed potential NULL reference ; NOTE: There are quite a bit more of these 2013-10-05 22:59 UTC+0200 Viktor Szakats * include/hbsetup.h + added MSVS 2013 to list of MS compilers 2013-10-05 22:55 UTC+0200 Viktor Szakats * config/global.mk * utils/hbmk2/hbmk2.prg + added MSVS 2013 version detection * README.md + added MSVS 2013 instructions * src/3rd/png/png.dif * src/3rd/png/pnglconf.h * disabled PNG_CONSOLE_IO_SUPPORTED build option. (MSVS 2013 doesn't support 'stderr' constant) 2013-10-05 15:11 UTC+0200 Viktor Szakats - contrib/hbsqlit3/hdbc.prg - contrib/hbsqlit3/tests/hdbc.prg * contrib/hbsqlit3/hbsqlit3.hbp * deleted hdbc stuff (it never worked) * contrib/hbhpdf/hbhpdf.hbp + untested experimental code added to install supplementary files in tests dir [TESTED OK] 2013-10-05 00:56 UTC+0200 Viktor Szakats * hbhpdf/3rd/libhpdf/hpdfimap.c * hbhpdf/3rd/libhpdf/libhpdf.dif ! fixed potentially uninitialized ptr upstream pull req: https://github.com/libharu/libharu/pull/47 2013-10-05 00:55 UTC+0200 Viktor Szakats * contrib/hbhpdf/3rd/libhpdf/hpdf.h * contrib/hbhpdf/3rd/libhpdf/hpdfu3d.c * contrib/hbhpdf/3rd/libhpdf/hpdfu3d.h * contrib/hbhpdf/3rd/libhpdf/libhpdf.dif * updated from upstream repo head 2013-10-05 00:26 UTC+0200 Viktor Szakats * contrib/hbwin/hbolesrv.c * whitespace formatting * contrib/hbwin/tests/oletst1.prg * contrib/hbwin/tests/oletst2.prg * contrib/hbwin/tests/oletst4.prg * set date format 2013-10-04 15:58 UTC+0200 Viktor Szakats * config/win/msvc.mk * contrib/hbpost.hbm + added code to enable -sdl option. not enabled, because some 3rd party components fail to compile * contrib/hbwin/hbolesrv.c ! fixed char -> TCHAR after recent unicodification * contrib/hbtip/utils.c * src/common/hbdate.c * src/rtl/gtwvt/gtwvt.c * added missing casts shown by msvc * src/3rd/png/Makefile * src/3rd/png/png.dif * src/3rd/png/pnglconf.h * disabled STDIO dependent parts for all platforms * disabled PNG_CONVERT_tIME_SUPPORTED to avoid using unsafe RTL calls (as shown by msvc) * README.md * wording 2013-10-03 01:15 UTC+0200 Viktor Szakats * contrib/hbtip/hbtip.hbp * contrib/hbtip/mailsend.prg + contrib/hbtip/mailassy.prg % moved tip_MailAssemble() to separate source file to avoid linking in the comm stack when using it 2013-10-01 16:43 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/gttrm/gttrm.c ! fixed terminal ISO mode auto detection (broken in previous patch) % use position from UTF8/ISO mode detection instead of double asking terminal cursor position. With the minor cost of unknown initial column position we have faster start on slow connections. 2013-10-01 10:11 UTC+0200 Viktor Szakats * contrib/gtwvg/paint.prg * contrib/gtwvg/wvgcore.c * contrib/gtwvg/wvgwing.c * contrib/gtwvg/wvtwin.ch * contrib/hbformat/hbfmtcls.prg * contrib/hbgd/tests/gdclass.prg * contrib/hbmysql/tsqlbrw.prg * contrib/hbnetio/utils/hbnetio/netiomgm.hb * contrib/hbssl/tests/crypt.prg * contrib/hbwin/win_dlg.c * contrib/hbwin/win_tprn.prg * contrib/xhb/html.ch * extras/hbdoc/_tmplate.prg * src/rtl/listbox.prg * src/rtl/memoedit.prg * src/rtl/pushbtn.prg * src/rtl/tbrowse.prg * src/rtl/tclass.prg * src/rtl/ttopbar.prg * whitespace formatting 2013-09-30 19:23 UTC+0200 Viktor Szakats * bin/3rdpatch.hb * config/global.mk * contrib/3rd/sqlite3/sqlite3.hbp * contrib/hbbz2/3rd/bz2/bz2.hbp * contrib/hbxdiff/3rd/libxdiff/xdiff.hbp * contrib/hbxdiff/3rd/libxdiff/xinclude.h * ChangeLog.txt * package/winuni/HARBOUR_README_POCC.txt * package/winuni/HARBOUR_README_WATCOM.txt * README.md * src/3rd/jpeg/Makefile * src/3rd/pcre/Makefile * src/3rd/png/Makefile * src/3rd/tiff/Makefile * utils/hbmk2/hbmk2.prg * URLs updated (deleted www, added https, location changes) 2013-09-24 16:59 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbvm.h * src/vm/hvm.c * added new 7th parameter fOverLoad to hb_vmRegisterSymbols() function. When it's TRUE then new public function symbols overload existing ones. * src/vm/runner.c ! use new fOverLoad parameter of hb_vmRegisterSymbols() function to overload existing functions (HB_HRB_BIND_OVERLOAD) instead of making local modifications in global symbol table. It fixes memory corruption when the same HRB module is reloaded with HB_HRB_BIND_OVERLOAD parameter. This was very old bug which has existed from the beginning when I added support for HB_HRB_BIND_* flags. 2013-09-20 15:42 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rdd/dbcmd.c ! fixed dbRSelect() to be compatible with undocumented Cl*pper behavior: When parameter is missing, wrong or 0 then 1 is used as relation number 2013-09-20 15:30 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/hbgtcore.c ! added explicit casting to strchr() result 2013-09-20 01:45 UTC+0200 Viktor Szakats * src/rtl/tgetint.prg ! __GET()/__GETA(): fixed GET setget blocks for plain field names to include current workarea instead of generic FIELD-> prefix, so that the blocks work after changing current workarea, like in Cl*pper 5.x. In Harbour it supports empty alias names as well. Test code: --- LOCAL o dbCreate( "aa", { { "A", "C", 1, 0 } } ) dbCreate( "bb", { { "B", "C", 1, 0 } } ) USE aa NEW ; dbAppend() ; FIELD->A := "A" USE bb NEW SELECT aa ; o := _GET_( A, "A" ) ; ? Select(), o:VarGet() SELECT bb ; ? Select(), o:VarGet() --- Thanks to László Juhász for reporting the problem. 2013-09-19 09:52 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/hbgtcore.c + added support for GT parameters passed in //GT<NAME> parameter after ":", i.e. //GT<NAME>:<params> or --hb:gt<name>:<params> * src/rtl/gttrm/gttrm.c + added new parameters set in //GTTRM:<params> 1) "NOPOS" - inform GTTRM that terminal does not support cursor position query: ESC [ 6 n At startup GTTRM asks terminal about cursor position and waits for answer for 2 seconds. If terminal doesn't support it then it's unnecessary delay at application startup. 2) "UTF8" or "UTF-8" - force UTF-8 terminal output Useful when terminal does not support cursor position query so it cannot be used to detect automatically UTF-8 or ISO terminal mode. 3) "ISO" - force ISO terminal output 4) "XTERM", "LINUX", "PUTTY", "CONS" - force given terminal type e.g. working with Android Terminal Emulator it's good to use //GTTRM:UTF8,NOPOS because it still does not support cursor position query and LANG variable is not set. 2013-09-17 22:06 UTC+0200 Viktor Szakats * contrib/gtalleg/gtalleg.hbm ! gtalleg disabled for win/clang. crashes the compiler. 2013-09-17 21:08 UTC+0200 Viktor Szakats * README.md + added win/clang to platform mix ! fixed old erroneous entry 2013-09-17 20:49 UTC+0200 Viktor Szakats * README.md * config/global.mk * config/win/clang.mk * config/win/msvc.mk * utils/hbmk2/hbmk2.prg + added clang-cl support, including autodetection * src/3rd/pcre/Makefile * include/hbinit.h * src/vm/dlmalloc.c + added clang-cl support * src/common/hbver.c + added support for clang-cl version detection * contrib/make.hb + display project name when showing --hbinfo call failure * utils/hbmk2/hbmk2.prg % minor optimization in SWITCH * config/win/mingw.mk ! deleted leading empty line 2013-09-16 23:45 UTC+0200 Viktor Szakats * bin/commit.hb ! fixed to use the same CP at hash lookup time as it was used at hash creation time. * doc/pp_prg.txt ! fixed formatting 2013-09-16 23:23 UTC+0200 Viktor Szakats * contrib/hbexpat/3rd/expat/expat.hbp * README.md * updated libexpat url 2013-09-16 22:54 UTC+0200 Viktor Szakats * bin/3rdpatch.hb * contrib/hbexpat/3rd/expat/expat.hbp * contrib/hbmzip/3rd/minizip/minizip.hbp * ChangeLog.txt * package/harbour.rb * README.md * src/3rd/png/Makefile * src/3rd/zlib/Makefile * sourceforge downloads links optimized, https-ed and migrated to the same format throughout the whole repository (should result in fewest number of redirects) * src/3rd/png/* * src/3rd/png/Makefile * src/3rd/png/png.dif * update 1.6.3 -> 1.6.6 2013-09-16 15:36 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * doc/pp_prg.txt ! added missing REQUEST __WAIT in example code 2013-09-16 15:11 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/hbsocket.c ! added missing error setting in hb_socketSelect() function 2013-09-16 15:00 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) + doc/pp_prg.txt + added description for preprocessor PRG API - __PP_*() functions 2013-09-16 11:25 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * doc/cmpopt.txt * doc/xhb-diff.txt * typos * src/rtl/hbsocket.c * simplified hb_socketSelect() code * src/rtl/mtran.c ! updated HB_TRACE message 2013-09-14 12:00 UTC+0200 Viktor Szakats * README.md * minor wording tweaks ! fixed an orphaned sentence 2013-09-10 20:56 UTC+0200 Viktor Szakats * contrib/hbwin/tests/dlg.prg * extras/gtwvw/docs/gtwvw.txt * package/winuni/RELNOTES.txt * src/rtl/arc4.c * 'win32' -> 'windows' 2013-09-10 02:09 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/cdpapi.c ! added missing static in s_en_buffer declaration % faster code for unicode to ASCII CP437 control codes translation 2013-09-09 20:54 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/cdpapi.c * use CP437 control codes in translations from unicode to ASCII * src/rtl/gtwvt/gtwvt.c * added support for key code typed using ALT + <ASCII_VALUE_FROM_KEYPAD> * tests/gtkeys.prg * added parenthesis to clarify expression order 2013-09-09 15:54 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/vm/dlmalloc.c * use __builtin_clz() and __builtin_ctz() only with GCC 3.4 or newer. Problem reported by David Arturo Macias Corona and OS2 GCC3.3.5. * README.md + added link suggested by David to os2gcc454 from Paul Smedley ; [vszakats] kept the upper level link with the cleanups * src/rtl/gtstd/gtstd.c + accept keyboard input from redirected file on platforms without dedicated code for keyboard support in GTSTD 2013-09-09 00:46 UTC+0200 Viktor Szakats * bin/3rdpatch.hb * contrib/hbwin/tests/pdfcreat.prg * contrib/hbzebra/qrcode.c * extras/hbxlsxml/tests/example.prg * extras/hbxlsxml/tests/example2.prg * extras/hbxlsxml/tests/example3.prg * extras/hbxlsxml/xlsxml_s.prg * extras/hbxlsxml/xlsxml_y.prg * extras/hbxlsxml/xlsxml.prg * package/winuni/HARBOUR_README_MINGW.txt * package/winuni/HARBOUR_README_MINGW64.txt * package/winuni/HARBOUR_README_MINGWARM.txt * package/winuni/RELNOTES.txt * README.md * src/rtl/base64d.c * use https for sourceforge.net top-domain urls (gets redirected to http when not logged in) 2013-09-09 00:32 UTC+0200 Viktor Szakats * doc/gmake.txt * README.md + more https ! typo in link fixed * package/winuni/HARBOUR_README_MINGW.txt * updated link 2013-09-05 21:20 UTC+0200 Viktor Szakats * contrib/3rd/sqlite3/sqlite3.hbp * contrib/3rd/sqlite3/* * sqlite3 update 3.8.0 -> 3.8.0.2 2013-09-05 21:17 UTC+0200 Viktor Szakats * contrib/hbtip/utils.c ! updated mime type of .js * .ackrc * sorted 2013-09-04 02:44 UTC+0200 Viktor Szakats * config/win/mingw.mk + Enabled support for explictly selecting CPU target (initially committed in 2010-06-16 11:45 UTC+0200 Viktor Szakats) This makes it easier to use dual-target mingw releases like mingwbuilds. If any old mingw version doesn't support these switches, it should be selectively disabled according to HB_COMPILER_VER. * utils/hbmk2/hbmk2.prg + same as above added to hbmk2 2013-09-03 18:15 UTC+0200 Viktor Szakats * contrib/hbgd/gdbarcod.prg * contrib/hbgd/gdimage.prg * contrib/hbgd/gdwrp.c * contrib/hbgd/tests/counter.prg * contrib/hblzf/tests/test.prg * contrib/hbtip/encurlc.c * contrib/hbtip/httpcli.prg * contrib/hbtip/sessid.prg * contrib/xhb/hbcrypt.c * contrib/xhb/hbxml.h * contrib/xhb/tests/compress.prg * contrib/xhb/trpc.prg * contrib/xhb/xhbtedit.prg * doc/en/rdddb.txt * extras/gfspell/spellc.c * extras/httpsrv/_session.prg * extras/httpsrv/modules/showcounter.prg ! lenght -> length ; INCOMPATIBLE: GDImage:StyleLenght() -> StyleLength() 2013-09-03 14:30 UTC+0200 Viktor Szakats * ChangeLog.txt * doc/Makefile * doc/oldnews.txt * doc/howtorep.txt -> doc/howtovcs.txt * better name for vcs usage howto doc 2013-09-03 14:27 UTC+0200 Viktor Szakats * contrib/hbtip/utils.c ! deleted two duplicate mime entries 2013-09-03 05:08 UTC+0200 Viktor Szakats * contrib/hbtip/client.prg ! TIPCLIENT() UTF-8 compatibility fixes (untested) * contrib/hbtip/utils.c + added ~60 new mime-types ! deleted duplicates ! updated/fixed few obsolete/wrong mime-types 2013-09-02 06:42 UTC+0200 Viktor Szakats * src/rtl/hbjson.c ! fixed to not add space after ':' when followed by a newline (in human readable mode) * src/lang/l_hu.c * updated/corrected a few translations 2013-08-30 01:24 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + added FIXME to the way #require and SET PROC detection is incorrect because it is done before the PP phase. * bin/commit.hb * ChangeLog.txt * example.com -> example.org 2013-08-30 00:12 UTC+0200 Viktor Szakats * bin/commit.hb * contrib/hbblat/tests/test.prg * contrib/hbcurl/tests/ftp_uldl.prg * contrib/hbhttpd/tests/eshop.prg * contrib/hbssl/ssl.c * contrib/hbtip/tests/gmail.prg * contrib/hbwin/tests/mapimail.prg * contrib/hbwin/tests/ole.prg * contrib/hbwin/win_prn2.c * contrib/hbzebra/qrcode.c * ChangeLog.txt * doc/en/hbinet.txt * extras/hbxlsxml/tests/example2.prg * include/hbbfish.h * use example.com in example addresses * use https in few more places 2013-08-29 16:06 UTC+0200 Viktor Szakats * include/dbinfo.ch * src/rdd/workarea.c + added dbInfo( DBI_CODEPAGE ) -> <cCP> It returns the active codepage for the current workarea. * ChangeLog.txt ! deleted incomplete/duplicate past entry 2013-08-28 17:18 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/hbsocket.c ! use sock_errno() instead of errno in OS2 WATCOM builds. It fixes few problems with socket code using errno value, i.e. hb_socketConnect() with timeout. 2013-08-28 11:47 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! formatting (whitespace) 2013-08-28 11:04 UTC+0200 Viktor Szakats * README.md * updated os2 gcc links 2013-08-28 00:49 UTC+0200 Viktor Szakats * bin/commit.hb * config/lang.hb * contrib/* * COPYING.txt * debian/copyright * doc/*.txt * extras/* * include/* * package/mpkg_win.nsi * package/winuni/mpkg_win_uni.nsi * package/winuni/RELNOTES.txt * src/* * tests/* * utils/* * http:// -> https:// where possible * src/compiler/hbopt.c ! deleted space @ EOL * utils/hbmk2/doc/*.md * contrib/hbrun/doc/*.md * regenerated 2013-08-27 11:05 UTC+0200 Viktor Szakats * include/harbour.hbx * src/rtl/hbrand.c + added HB_RANDSTR( <nLen> ) -> <cBytes> which returns a strong random stream of bytes of requested length 2013-08-27 03:37 UTC+0200 Viktor Szakats * contrib/3rd/sqlite3/sqlite3.hbp * contrib/3rd/sqlite3/* * sqlite3 update 3.7.17 -> 3.8.0 2013-08-27 01:55 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * config/global.mk * disabled HB_BUILD_CONTRIB_DYN in default non MS-Windows builds * utils/hbmk2/hbmk2.prg * formatting 2013-08-26 21:58 UTC+0200 Viktor Szakats * tests/gtchars.prg * tests/utf8at.prg * code generalization steps/opts, display CP names dynamically 2013-08-26 20:56 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/compiler/hbdbginf.c ! fixed module names generated for debugger line info when user compiles files passing path with drive letters, i.e. hbmk2 C:\temp\test.prg Thanks to Anton Ryzhov for the information about the problem. 2013-08-26 20:50 UTC+0200 Viktor Szakats * contrib/hbtip/mail.prg * contrib/hbwin/tests/ole.prg * extras/httpsrv/home/xsl/based.xsl * extras/httpsrv/home/xsl/basep.xsl * extras/httpsrv/modules/tableservletdb.prg + use UTF-8 instead of ISO CPs [INCOMPATIBLE] for TIPMail():SetCharset() parameter default (was: ISO-8859-1) * extras/httpsrv/home/xsl/based.xsl * extras/httpsrv/home/xsl/basep.xsl * fixed identation, now with tabs * bin/commit.hb + allow tabs in .xsl files 2013-08-26 15:51 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/hbsocket.c ! fixed hb_socketConnect() with timeout in DOS Watt-32 builds. Watt-32 sets socket error to EISCONN when connection is established. 2013-08-23 14:25 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/fstemp.c ! fixed casting for DOS C++ builds * config/dos/watcom.mk ! moved CRTL library to the end of linked library list - some other libraries may overload some C RTL functions or symbols, e.g. error descriptions in WATT-32 * utils/hbmk2/hbmk2.prg ! added hbpmcom library to linked library list in DOS builds ! fixed WATT-32 support in DOS builds to work in cross compilation environment ! link WATT-32 library before C RTL ! fixed simultaneous compilation with -jobs=N when N >= 2 The same hash array (hReplace) was shared between different threads and each thread tried to modify it overloading their own parameters. It was causing different side effects, i.e. all threads compiled the same .c file instead of their own ones or HBMK2 was crashing due to memory corruption. * always join all started threads ; [vszakats] fixed keyword casing in hbmk2.prg patch 2013-08-22 19:50 UTC+0200 Viktor Szakats * src/rtl/mtran.c % readded deleted 'static' from local function hb_strMemotran() in 46d64612b5 2013-08-22 19:45 UTC+0200 Viktor Szakats * include/hbdate.h * src/common/hbdate.c * applied new fix to replace 2013-08-16 13:42 UTC+0200 * contrib/hbwin/hbwin.hbx * contrib/hbwin/wapi_winuser.c + WAPI_GETKEYBOARDLAYOUT( [<nThreadID>:0] ) -> nDWORD + WAPI_GETKEYBOARDLAYOUTNAME( @<cName> ) -> lSuccess 2013-08-22 19:06 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbct/getsecrt.prg ! applied Clipper compatibility fix to GetSecret() by Pavel Tsarenko ; [vszakats] discarded, kept my fixed version instead * src/common/hbdate.c * removed explicit _BSD_SOURCE definition - it was confusing our code used to detect localtime_r() support and is not necessary if we do not use extended fields of tm structure * src/rtl/mtran.c * updated to show strict Clipper compatible behavior - Clipper ignores 3rd cSoftCR parameter if 2nd one cHardCR is not given (strict compatibility is covered by HB_CLP_STRICT macro and disabled by default - undocumented feature which may confuse users) % minor optimization 2013-08-22 17:04 UTC+0200 Viktor Szakats * contrib/hbtip/utils.c % whitespace 2013-08-22 16:56 UTC+0200 Viktor Szakats * contrib/hbtip/mailsend.prg % minor opt * contrib/hbtip/utils.c % rearranged mime type array to be more succinct + added more mime types (7z and some office docs - from xhb) + added macro to mark case-sensitive extension * ChangeLog.txt ! typos, https and more stable link 2013-08-22 16:06 UTC+0200 Viktor Szakats * contrib/hbtip/encb64.prg ! lowercased encoding name * contrib/hbtip/encqp.prg ! fixed QP encoding for input files with LF EOLs (hoping to get it right this time) * contrib/hbtip/mailsend.prg + TIP_MAILASSEMBLE(): support for an optional 3rd array element in file attachment list, which may specify the mime type + binary type detection generalized and now works based on mime-type. If mime-type starts with 'text/' it's considered text and sent with QP encoding, otherwise binary with base64 encoding. INCOMPATIBILITY: .xml and .css types are now considered text by default, were binary before. [UPDATE: .xml got changed to application/xml a year from this] 2013-08-22 15:25 UTC+0200 Viktor Szakats * contrib/hbtip/mailsend.prg + TIP_MAILASSEMBLE(): attempt to convert content to <cCharset> if it's supported by Harbour and linked to the app (so conversion now works for all CPs, not just UTF-8) * include/harbour.hbx * src/rtl/cdpapihb.c + added function HB_CDPEXISTS( <cCDP> ) -> <lExists> it returns .T. if the passed codepage is supported and linked, .F. otherwise 2013-08-22 07:52 UTC+0200 Viktor Szakats * contrib/hbtip/mailsend.prg ! typo in a last-minute mod in 2013-08-22 07:09 UTC+0200 2013-08-22 07:45 UTC+0200 Viktor Szakats * contrib/hbtip/mailsend.prg % use simple $ op instead of regexp for binary type detection 2013-08-22 07:09 UTC+0200 Viktor Szakats * contrib/hbtip/mailsend.prg * contrib/hbtip/utils.c + moved mime type detection from .prg to C level ! cleaned double and triple mime definitions, changed types to be std according to: https://svn.apache.org/viewvc/httpd/httpd/trunk/docs/conf/mime.types?view=co ! fixed TIP_MAILASSEMBLE() to enclose the attachment filename in 'name=' tag too (just like in 'filename=') ; added two more FIXMEs to TIP_MAILASSEMBLE() 2013-08-22 06:24 UTC+0200 Viktor Szakats * contrib/hbtip/hbtip.hbp * contrib/hbtip/hbtip.hbx * contrib/hbtip/tests/gmail.prg * contrib/hbtip/sendmail.prg -> contrib/hbtip/mailsend.prg * renamed HB_SENDMAIL() to TIP_MAILSEND() * renamed HB_MAILASSEMBLE() to TIP_MAILASSEMBLE() * old function names protected with HB_LEGACY_LEVEL4 ! fixed yet another old typo in extension list for binary detection + TIP_MAILASSEMBLE() got a new parameter indicating an HTML body + moved unsafe logic of loading .html body from disk file its filename is passed as <cBody> from TIP_MAILASSEMBLE() to TIP_MAILSEND(). It means former is now clean and safe. 2013-08-22 04:57 UTC+0200 Viktor Szakats * contrib/hbtip/hbtip.hbx * contrib/hbtip/sendmail.prg ; HB_MAILASSEMBLE() changes: + more sanity checks for input parameters + <cCharset> will now default to UTF-8 [INCOMPATIBLE] + will now automatically convert passed parameters to UTF-8 when UTF-8 cCharset is selected ! fixed broken regexp filter in binary type detection (it caused certain binary types not being detected as such - next question: which types were added there by mistake and unnoticed so far) % optimized binary type detection + sorted binary types by alphabet % cleaned/simplified lots of sloppy code ! deleted duplicate extensions in mime type detection ! fixed .htm/.html detection by filename ! enforce EOL and EOF also for .htm/html body ; TODO: move it to separate source file [DONE] * HB_SETMIMETYPE() removed as public function. [INCOMPATIBLE] Use tip_FileNameMimeType() instead. 2013-08-20 17:32 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/gtqtc/gtqtc1.cpp * accept META key as CTRL key in MacOSX builds. This QT Meta key is marked as "control" on Apple keyboards so this seems to be less confusing. Anyhow I'm not regular MacOSX user so if someone thinks it's bad idea then please inform me. "command" key is mapped by QT as CTRL key by default. ! disabled Qt::WA_InputMethodEnabled in default builds. I disabled it because it was breaking support for national characters in few European countries, e.g. Polish characters with ALT in MacOSX. Qt::WA_InputMethodEnabled is used for some Asian languages but I have no idea if it was working with GTQTC so far and if it's really necessary and usable. I'm waiting for information from people who lives in countries where it's used. Just let me know if you need GTQTC compiled with this window attribute. 2013-08-18 22:51 UTC+0200 Viktor Szakats * ChangeLog.txt ! typos * contrib/xhb/xhberr.prg * Use the name Harbour 2013-08-18 15:52 UTC+0200 Viktor Szakats * src/rtl/errintlo.c ! use ANSI date separators in internal error output 2013-08-18 03:49 UTC+0200 Viktor Szakats * src/3rd/png/* * src/3rd/png/Makefile * src/3rd/png/png.dif * update 1.6.2 -> 1.6.3 2013-08-17 21:14 UTC+0200 Viktor Szakats * contrib/hbcurl/core.c * contrib/hbcurl/hbcurl.ch + use new CURLOPT_XFERINFOFUNCTION for progress callback when compiled against libcurl 7.32.0 or newer. New callback supports large file offsets. + added new HB_CURLOPT_XFERINFOBLOCK constant. existing HB_CURLOPT_PROGRESSBLOCK is now compatibility macro. 2013-08-16 19:19 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! fixed missing variable from one debug message ! fixed one '...' usage + convert '...' to proper unicode char 2013-08-16 13:42 UTC+0200 Viktor Szakats * contrib/hbct/getsecrt.prg + applied backspace/del fix from Pavel Tsarenko ! fixed formatting in above * include/hbdate.h ! fixed localtime_r detection for watcom compilers regression from 2013-07-18 02:24 UTC+0200 2013-08-14 18:36 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/gtqtc/gtqtc1.cpp ! fixed missing HB_GTI_FONTA_NOSTRETCH in setting range 2013-08-14 18:10 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/gtqtc/gtqtc.hbp * do not use system QT directories in android builds * include/hbgtinfo.ch * contrib/gtqtc/gtqtc1.cpp + added new font attributte HB_GTI_FONTA_NOSTRETCH It disables font stretching in some GTs like QTC. On some platforms (i.e. MacOSX) font stretching does not work correctly (at least in my tests) so if someone wants to use GTQTC on MACs then I suggest to set: hb_gtInfo( HB_GTI_FONTATTRIBUTE, ; hb_bitOr( HB_GTI_FONTATTRIBUTE ), HB_GTI_FONTA_NOSTRETCH ) ! do not use QPainter::RasterOp_SourceXorDestination to display cursor and selection in MacOSX builds. RasterOp operations are not supported in MacOSX. 2013-08-13 17:25 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + added signts= .hbc directive 2013-08-13 15:06 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + added -signts= option to override default trusted timestamp server + show default -signts= value in help * contrib/hbtip/sendmail.prg * contrib/xhb/hbcompat.ch % deleted unnecessary parenthesis 2013-08-08 21:00 UTC+0200 Viktor Szakats * README.md + footer separator 2013-08-08 20:58 UTC+0200 Viktor Szakats * README.md * section reordering 2013-08-08 14:58 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + added new shell/script function: HBSHELL_SCRIPTNAME(): it returns the full path of the script being executed. It's empty when in shell mode. Probably it'd be better if hb_ProgName() returned this value when in script mode. At the moment it returns the script name as passed on the command-line (that may be without path and/or extension). 2013-08-08 13:55 UTC+0200 Viktor Szakats * contrib/hbcurl/core.c ! fixed potential null pointer access when built against libcurl older than 7.17.0 and passed non-string to certain CURL_EASY_SETOPT() options requiring string param. 2013-08-07 15:08 UTC+0200 Viktor Szakats * ChangeLog.txt ! fixed two wrongly attributed changelog entries (due to copy/paste error) 2013-08-04 16:01 UTC+0200 Viktor Szakats * config/global.mk * README.md ! reverted HB_BUILD_CONTRIB_DYN related hunk from 2013-03-26 16:32 UTC+0100 (= disabled HB_BUILD_CONTRIB_DYN on non-win platforms) 2013-08-04 12:19 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! typo in comment 2013-08-03 02:24 UTC+0200 Viktor Szakats * config/global.mk ! updated GNU Make source repository link (it's git now) * README.md * use coinbase link for bitcoin donation 2013-07-31 14:24 UTC+0200 Viktor Szakats * ChangeLog.txt ! typos 2013-07-31 14:08 UTC+0200 Viktor Szakats * src/rtl/base64c.c + HB_BASE64ENCODE(): added second parameter to request specific line length for the output. Line length should be specified in visible characters (w/o the 2 EOL bytes). EOL is fixed to CRLF. https://en.wikipedia.org/wiki/Base64 ; probably there exist more optimal implementations * contrib/hbtip/encb64.prg * contrib/hbtip/hbtip.hbx ! formatting - deleted tip_base64Encode() which had fatal performance with numeric second parameter and UTF8EX CP enabled % use hb_base64Encode() directly with new line splitting feature 2013-07-29 22:49 UTC+0200 Viktor Szakats * src/rtl/hbjson.c ! fixed to not add a space before ':' separator in human reabable mode. See: https://en.wikipedia.org/wiki/Json 2013-07-29 15:07 UTC+0200 Viktor Szakats * README.md + added donation section with paypal and bitcoin links 2013-07-29 12:58 UTC+0200 Viktor Szakats * README.md * lowercased SETs commands in WATCOM configs 2013-07-29 12:56 UTC+0200 Viktor Szakats * README.md ! use nbsp in copyright 2013-07-25 14:32 UTC+0200 Viktor Szakats * */Makefile % strip leading EOLs from Harbour sources ; FIXME: had to do this on *nix because hb_DirScan() misses files without extension on win. [DONE: in 2013-11-25 23:23 UTC+0100] 2013-07-25 14:19 UTC+0200 Viktor Szakats * bin/commit.hb * do not require copyright for */tests/* files ; FIXME: hb_FileMatch() works differently in *nix and non-*nix, E.g.: hb_FileMatch( "\dir\name.exe", "*\name.exe" ) returns .T. on win and .F. on *nix. It causes that much of commit.hb doesn't work on *nix. [note, it's regardless of what dirsep is used.] [DONE] * * + tests/stripeol.hb % strip leading EOLs from Harbour sources (except in 3rd party files) ; in line with 'git stripspace' tool rules 2013-07-24 23:59 UTC+0200 Viktor Szakats * contrib/hbgd/tests/imgs_in/gdlogo.png * contrib/hbhpdf/tests/files/basn0g01.png * contrib/hbhpdf/tests/files/basn2c08.png * contrib/hbhpdf/tests/files/basn2c16.png * contrib/hbhpdf/tests/files/basn3p01.png * contrib/hbhpdf/tests/files/basn3p02.png * contrib/hbhpdf/tests/files/basn3p04.png * contrib/hbhpdf/tests/files/basn3p08.png * contrib/hbhpdf/tests/files/basn4a16.png * contrib/hbhpdf/tests/files/basn6a16.png * contrib/hbsqlit3/tests/pngtest.png % optimized with ImageOptim 1.4.2 2013-07-24 23:51 UTC+0200 Viktor Szakats * bin/commit.hb * allow tabs in .vbs 2013-07-24 21:51 UTC+0200 Viktor Szakats * .gitattributes % deleted .htm reference 2013-07-19 22:17 UTC+0200 Viktor Szakats * README.md + added link to Markdown format used in Harbour 2013-07-18 17:55 UTC+0200 Viktor Szakats * README.md * use more em dash 2013-07-18 13:21 UTC+0200 Viktor Szakats * bin/commit.hb * allow tabs in .js files 2013-07-18 02:24 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbdate.h * src/common/hbdate.c + added new C functions: double hb_timeLocalToUTC( double dTimeStamp ); long hb_timeStampUTCOffset( int iYear, int iMonth, int iDay, int iHour, int iMinutes, int iSeconds ); ; warning: some C RTLs may not correctly detect Summer time for all past dates in few countries. * include/harbour.hbx * src/rtl/dateshb.c + added new PRG function: hb_TSToUTC( <tsLocal> ) -> <tsUTC> + added support for optional timestamp parameter in hb_UTCOffset() function, current syntax is: hb_UTCOffset( [ <tsLocal> ] ) -> <nSeconds> * contrib/hbtip/hbtip.hbx * contrib/hbtip/utils.c + added new PRG function: tip_FileNameMimeType( <cFileName> ) -> <cMimeType> It's a wrapper to old C function s_findFileMimeType() TODO: replace few independent mimetype functions by single one. [DONE] ! fixed tip_FileMimeType() to not call hb_fsClose() or any other FS function with wrong handler. ! fixed tip_TimeStamp() using hb_timeStampUTCOffset() instead of hb_timeUTCOffset() to correctly calculate UTC offset for dates different then current one. ! decode time passed as numeric second() value in 2nd parameter of tip_TimeStamp() only when the 1st one contains pure date value. 2013-07-15 18:10 UTC+0200 Viktor Szakats * bin/commit.hb + autoformat for .go sources 2013-07-10 20:26 UTC+0200 Viktor Szakats * config/global.mk * contrib/make.hb * ChangeLog.txt * README.md * utils/hbmk2/examples/plug_bis.hb * utils/hbmk2/examples/plug_tpl.hb * utils/hbmk2/hbmk2.prg + link to https 2013-07-09 22:25 UTC+0200 Viktor Szakats * ChangeLog.txt * added note 2013-07-08 23:34 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/debug/dbgentry.c + added protection against wrong parameters passed to __dbgDelBreak() * src/debug/debugger.prg + implemented display history for command window. This modification also fixes clearing command window when focus is changed. + added support for new commands: DELETE ALL BP DELETE BP <nNumber> LIST BP * replicated Clipper compatible command line shortcuts ! send :RefreshAll instead of :RefreshCurrent to source code window when break point changed ; TODO: add support for window resizing and repositioning. Commands like LIST BP are in practice unusable in 3 line command window. * src/rtl/console.c % minor optimization 2013-07-08 17:24 UTC+0200 Viktor Szakats * README.md ! minor to prev 2013-07-08 17:09 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/debug/dbgtmenu.prg ! allow to chose current menu item by its hotkey * src/debug/dbgtmitm.prg % eliminated dummy hb_DispOutAtBox() for not marked options * src/debug/debugger.prg ! keep RunAtStartup flag synced with menu ! fixed options decoding from init.cld file. Thanks to Franček Prijatelj for locating the problem though fix should be a little bit different. * src/debug/tbrwtext.prg ! respect LineNumbers on/off setting ; [vszakats] fixed formatting, minor optimization * src/rtl/console.c ! call hb_gtFlush() at the end of hb_DispOutAtBox() - it fixes different side effects in code using hb_DispOutAtBox(). 2013-07-08 13:59 UTC+0200 Viktor Szakats * README.md + minor English cleanups + use https links where possible + Travis CI, Read the Docs and Stack Overflow links + search link added to an unlinkable item * updated github page link 2013-07-08 12:54 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbct/ctwfunc.c ! extract box frame string passed to WBOX() using BOX CP * src/vm/procaddr.c ! added hb_extIsNil() to hb_vmProcAddress() - it fixes PCODE DLLs using [HB_]ISNIL() macro and linked with hbmaindllp library or other wrapper using hb_vmProcAddress() ; [vszakats] duplicate of 2013-07-03 22:56 UTC+0200 * src/vm/codebloc.c - removed old comment which was never true in real HVM MT model * ChangeLog.txt ! typo: tanks -> thanks ;) 2013-07-08 11:11 UTC+0200 Viktor Szakats * config/lang2po.hb ! fixed timezone forming problem in another source * utils/hbmk2/hbmk2.prg + applied two pending FIXMEs in source to the help text 2013-07-07 22:00 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + detect SET PROCEDURE TO dependencies (with some limitations) % do not parse source for Harbour specific dependencies when building in non-Harbour mode 2013-07-05 22:16 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! fixed to not mark empty strings as translatable after 2013-07-03 01:01 UTC+0200 2013-07-05 20:02 UTC+0400 Phil Krylov (phil a t newstar.rinet.ru) * src/debug/debugger.prg % Don't save debugger window positions if user did not change them as the original debugger behaves. + Support arguments to Options Save and Options Restore debugger commands as the original debugger does. 2013-07-05 17:47 UTC+0200 Viktor Szakats * src/debug/debugger.prg ! fixed indentation, missing whitespace, quote type, casing in 2013-07-05 19:34 UTC+0400 2013-07-05 19:34 UTC+0400 Phil Krylov (phil a t newstar.rinet.ru) * src/debug/debugger.prg ! Maintain fixed window logical order as the original debugger does. ! Load debugger settings in two steps: before and after debugger UI activation. ! Save watchpoints to the settings file. 2013-07-05 17:50 UTC+0400 Phil Krylov (phil a t newstar.rinet.ru) * src/debug/debugger.prg ! Set debugger activity flag before restoring settings. 2013-07-05 17:05 UTC+0400 Phil Krylov (phil a t newstar.rinet.ru) * src/debug/debugger.prg ! Fixed a typo in my last commit. ! Make the debugger show itself before it starts restoring its settings. 2013-07-05 14:12 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/debug/dbgentry.c ! added missing casting ; [vszakats] duplicate of 2013-07-05 11:46 UTC+0200 * src/debug/debugger.prg + show in call stack references to code compiled without debug info * src/rtl/itemseri.c * ignore HB_HASH_RESORT flag during hash serialization 2013-07-05 11:46 UTC+0200 Viktor Szakats * src/debug/dbgentry.c ! fixed missing cast after 2013-07-04 05:33 UTC+0200 * src/debug/debugger.prg * whitespace formatting after 2013-07-05 04:35 UTC+0400 2013-07-05 04:35 UTC+0400 Phil Krylov (phil a t newstar.rinet.ru) * src/debug/debugger.prg ! Fixed debugger crashes on some commands in the command window. + Added support for most menu commands to the command window. Now Alt key emulation is no longer necessary to enter menu on terminals where GTs don't support it; you can just type the menu first letter and press Enter. 2013-07-05 00:39 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/debug/dbgentry.c ! fixed line number setting in debugged coeblocks. Thanks to Teo for detail information about the problem. 2013-07-04 18:09 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/debug/dbgtwin.prg * src/debug/debugger.prg ! use explicitly INKEY mask in INKEY() calls to avoid interactions with user code * src/debug/debugger.prg * src/debug/tbrwtext.prg % removed code used for internal breakpoints handling - it was redundant and all necessary information can be easy and fast accessed directly from dbgentry.c. Current code is smaller, faster and we do not have to worry about keeping break point information synchronized between C level debugger internals, HBDebugger object and HBBrwText object. ! changed source code window navigation key to work like in Clipper debugger ! changed source lines displaying to work like in Clipper debugger - with HOME/END scrolling code horizontally it's not such important to always see line numbers ! redirect few missing K_CTRL_* keys to active window it fixes key navigation in some of them ! redirect K_ENTER to command window if command is not empty just like in Clipper debugger * src/rtl/inkeyapi.c ! do not convert ASCII 127 to character in hb_inkeyKeyString() and HB_KEYCHAR() 2013-07-04 05:33 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/debug/dbgentry.c + added new PRG functions: __dbgIsBreak( <pDbg>, <cModule>, <nLine> ) -> <nPos> __dbgGetBreakPoints( <pDbg> ) -> <aBreakPoints> <aBreakPoints> contains subarrays in one of the following form: { <nLine>, <cModule>, NIL } or { NIL, NIL, >cFuncName> } * src/debug/debugger.prg - removed old and long time unused PRG function __dbgAltDEntry() * src/rtl/hbproces.c * changed returned status when execvp() fails, -1 should give maximal exit code on given platform (i.e. 255) 2013-07-03 23:00 UTC+0200 Viktor Szakats * contrib/hbmxml/tests/custom.prg ! minor to prev 2013-07-03 22:56 UTC+0200 Viktor Szakats * contrib/hbmxml/tests/custom.prg * contrib/hbmxml/tests/reminder.prg * contrib/hbmxml/tests/testmxml.prg * cleanups ; FIXME: custom.prg always fails due to different serialized bytestream after creation and after deserialization of the same hash: --- local a ? len( hb_strtohex( a := hb_serialize( { "k" => 0 } ) ) ) // -> 12 ? len( hb_strtohex( hb_serialize( hb_deserialize( a ) ) ) ) // -> 18 --- [DONE: in 2013-07-05 14:12 UTC+0200] * src/vm/procaddr.c ! fixed loading certain Harbour dlls due to missing symbol after 2013-02-15 12:14 UTC+0100 * utils/hbmk2/hbmk2.prg ! Guarantee _HBMK_nArgTarget to be numeric even in shell mode. Necessary after 2013-06-26 00:03 UTC+0200 2013-07-03 12:14 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbapidbg.h * src/debug/dbgentry.c * src/debug/debugger.prg + added new C function hb_dbgGetModuleName() - it returns module name used to register module in HVM. In current version it only strips path part though in the future it may use some more advanced code which allow to debug modules with the same name but different paths in single application and such extension will be local to core debug code if upper level debugger uses hb_dbgGetModuleName() + added new PRG function __DBGGETMODULENAME() - it's wrapper to hb_dbgGetModuleName() + added new PRG function __DBGMODULEMATCH() ! use __DBGMODULEMATCH() instead of hb_FileMatch() and strip_path() ! eliminated strip_path() from PRG code and use hb_dbgGetModuleName() in C code in places where it's necessary ! replaced few strcmp() used to compare module names with FILENAME_EQUAL() ; above modification may fix few potential problem with breakpoints in debugger on some platforms if user uses different paths for debugger and compilers. ! eliminated hack with memvar/field name copy in watch points, it also fixes memory leak when fields are used in watch points. % replaced few DO CASE with SWITCH 2013-07-03 12:10 UTC+0200 Viktor Szakats * bin/commit.hb ! fixed stupid oversight where negative timezones generated double negative signs in ChangeLog entry header 2013-07-03 01:01 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.hbp * utils/hbmk2/hbmk2.prg + now possible to build hbmk2 as a general build tool without special Harbour language/environment support. Still refers to Harbour in a few places in help, and there are lots of remaining 'hb' prefixes in various public spots. To build: -env:HBMK_GENERIC=yes -DHBMK_GENERIC -nulrdd @hbmk2.hbp -omk -hbl=${hb_outputname}.%{hb_lng}.hbl 2013-07-03 01:17 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + -hbl= option to support macros 2013-07-02 21:47 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + allow -lng= with empty value to clear list * minor code cleanups 2013-07-01 12:41 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! fixed handling of .mm source extension 2013-07-01 10:13 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! fixed regression in -hbc option where Harbour default libpaths and similar were accidently activated * initialize some Harbour paths with empty strings ! better readability for target name in error output in one specific output line in sync with 2013-06-26 00:03 UTC+0200 ! do not look for hbc files on contrib/addon locations if they are empty (untested) 2013-07-01 00:13 UTC+0200 Viktor Szakats * contrib/hbwin/tests/dlg.rc ! fixed double ID ! fixed wrong FONT declaration with some toolchains * replaced {} with BEGIN/END % deleted unnecessary headers % deleted duplicate LANGUAGE line * README.md + added Git reference * utils/hbmk2/hbmk2.prg + new macro for the future 2013-06-26 14:04 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + make message wording clear that missing function list is for _Harbour_ functions * ChangeLog.txt ! typos in 2013-06-13 23:59 UTC+0200 2013-06-26 00:22 UTC+0200 Viktor Szakats * .travis.yml + reenabled vm components that now seem to work again 2013-06-26 00:03 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg % cleaned the way output msg prefixes are formed and target name is included in it + better readability for target name in error output + basic validation on parameter types in main entry function ! minor alignment fix when displaying 10th nesting level % disabled HB_LEGACY_LEVEL4 [INCOMPATIBLE] 2013-06-25 20:26 UTC+0200 Viktor Szakats * include/hbsetup.ch % disabled HB_LEGACY_LEVEL4 [INCOMPATIBLE] * contrib/gtwvg/gtwvg.hbx * contrib/hbfimage/hbfimage.hbx * contrib/hbgd/hbgd.hbx * contrib/hbodbc/hbodbc.hbx * contrib/hbtip/hbtip.hbx * include/harbour.hbx % deleted HB_LEGACY_LEVEL4 guarded functions from hbx * contrib/hbhttpd/core.prg * contrib/xhb/xhberr.prg ! use non-deprecated alternative for hb_BuildDate() * contrib/hbtip/thtml.prg ! fixed breakage with undefined HB_LEGACY_LEVEL4 * contrib/xhb/trpc.prg ! hb_regexMatch() (deprecated) calls renamed hb_regexHas() * contrib/xhb/xhbfunc.c ! fixed to build without HB_LEGACY_LEVEL4 ! HB_LEGACY_LEVEL4 guard changed to permanent disable since these have a second .prg implementation in the same lib * src/rtl/hbregexc.c * contrib/xhb/xhberr.prg * formatting 2013-06-25 19:16 UTC+0200 Viktor Szakats * contrib/gtwvg/class.prg * contrib/gtwvg/mle.prg * contrib/gtwvg/paint.prg * contrib/gtwvg/sle.prg * contrib/gtwvg/tests/demowvg.prg * contrib/gtwvg/tests/demowvg1.prg * ChangeLog.txt + missing copyrights in demos * deprecated with HB_LEGACY_LEVEL4 WVT specific functions synomym to standard hb_gtInfo() calls: Wvt_SetCodepage, Wvt_SetAltF4Close, Wvt_GetRGBColor Wvt_GetPalette, Wvt_SetPalette Wvt_GetScreenWidth, Wvt_GetScreenHeight Wvt_GetClipboard, Wvt_SetClipboard Wvt_SetTitle, Wvt_GetTitle [INCOMPATIBLE] + changed lib and demo code to avoid above decprecated functions * formatting 2013-06-25 13:28 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! when generating hbx output, use target binary if implib name is filled, but actual implib doesn't exist. This fixes hbx generation for -hbexe outputs. To exclude Harbour RTL/VM symbols, use -shared option. 2013-06-21 14:58 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/gtqtc/gtqtc.h * contrib/gtqtc/gtqtc1.cpp * replaced harbour oriented code with dedicated QT solution for XWindow synchronization and clipboard selection. * doc/xhb-diff.txt * updated section MULTI THREAD SUPPORT to make it more clear for users and added information about SETKEY() and GTs. 2013-06-19 14:31 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbapigt.h * include/hbgtcore.h * moved macros to manipulate Harbour extended key codes from hbgtcore.h to hbapigt.h 2013-06-17 17:02 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbgtinfo.ch + added new hb_gtInfo() action: HB_GTI_RESIZESTEP It enables/disables window resize progression. * contrib/gtqtc/gtqtc.h * contrib/gtqtc/gtqtc1.cpp + added optional code to enable XLib MT mode by XInitThreads() + added support for HB_GTI_RESIZESTEP and disabled window resize progression in default settings - with some XWindow managers it may cause bad side effects. * do not center window in SETMODE() if console window dimensions (rows and cols) are not changed. * contrib/hbhpdf/3rd/libhpdf/hpdfimac.c * modified isAligned() to not generate warnings on platforms were 'unsigned long' is not large enough to hold pointer (Win64). It should pacify warnings reported by Maurizio. ; [vszakats] Redone * contrib/hbhpdf/3rd/libhpdf/libhpdf.dif * rediffed with: hbmk2 ../../../../bin/3rdpatch.hb -rediff ; [vszakats] Redone 2013-06-13 23:59 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! reverted 2nd hunk of 2013-06-03 16:45 UTC+0200. It introduced unnecessary and confusing disparity between command-line and .hbp/.hbm while these are supposed to be working similarly. It also breaks syntax supported in .hbc directives, and it also makes behavior contradicting the way documented in hbmk2 help and hbmk2 examples. All this, to resolve the problem of space containing option values for the one specific and rare subcase of reverted apostrophs. To pass option/directive value containing a space, put the whole option (or the option value) in double quotes (as documented in help), this works equally well on the command line and in .hbp/.hbm/.hbc files. * ChangeLog.txt ! ending whitespaces ! explicitly filled git $Id 2013-06-12 14:33 UTC+0200 Viktor Szakats * contrib/gtwvg/gtwvg.h * contrib/gtwvg/wvgcore.c * contrib/gtwvg/wvgcuig.c ! fixed pointers passed as integers [overridden by upstream] ! formatting 2013-06-12 00:28 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/gtwvg/wvgcore.c * contrib/gtwvg/wvgcuig.c ! Fixed to compile for 64-bit, reported by Maurizio, thanks. 2013-06-11 20:26 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbpp.h * src/pp/ppcore.c * replaced compile time macro HB_PP_MULTILINE_STRINGS with runtime #pragma setting, i.e.: #paragma multilinestrings = on * src/vm/hashes.c % resize index during hash arrays sorting, i.e. when strict order is disabled or user call HB_HSORT() function ! fixed typo in timestamp value comparison - in practice only date part was significant ! fixed new code I added recently for resorting hash arrays with strict order 2013-06-10 17:54 UTC+0200 Viktor Szakats * contrib/hbtip/client.prg * contrib/hbtip/httpcli.prg ! formatting 2013-06-10 16:59 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/gtwvt/gtwvt.c * removed not longer user K_Ctrl[] array * contrib/gtqtc/gtqtc1.cpp ! fixed MT protection to work with recursive calls (such call can appear after ALT+ENTER) * doc/xhb-diff.txt * updated "HASH ARRAYS" paragraph * config/lang2po.hb * contrib/hbamf/amfdec.c * contrib/hbamf/amfenc.c * contrib/hbexpat/tests/tohash.prg * contrib/hbmxml/core.c * contrib/hbnetio/utils/hbnetio/hbnetio.prg * contrib/hbnetio/utils/hbnetio/netiomgm.hb * contrib/hbwin/hbolesrv.c * contrib/hbwin/tests/olesrv1.prg * contrib/hbwin/tests/olesrv2.prg * contrib/make.hb * contrib/xhb/xhbhasha.c * src/rtl/hbdoc.prg * src/rtl/hbini.prg * src/rtl/hbjson.c * tests/big5_gen.prg * tests/uc16_gen.prg * utils/hbmk2/hbmk2.prg * removed keeporder setting - now it's default for newly created hash arrays * contrib/gtwvg/gtwvg.hbx * added missing functions ! [vszakats] with some formatting in olesrv1.prg and netiomgm.hb 2013-06-07 11:38 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/itemseri.c ! force resorting deserialized hash arrays * src/rtl/tgetlist.prg ! applied fix reported by Tony: typo in INS msg 2013-06-06 14:03 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/vm/hashes.c ! added missing size update after hash array resorting 2013-06-06 01:56 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbtip/client.prg ! Fixed: to test if a connection is available actually or not before sending other info. This fixes a RTE when a SSL over HTTP request was made and internet access was not available. * contrib/hbtip/httpcli.prg + Added: METHOD Head() for HEAD verb of HTTP interface. METHOD SetConnectionPersistent() This does not send "Connection: close" header entry. Useful in cases where many requests are required to be submitted under one session. :close() may be called to close the connection explicitly. METHOD IsConnectionAlive() It allows the application to test connection's state and facilitates to take alternate action. 2013-06-05 23:40 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/gtwvg/wvgcore.c + Added: function WVT_DRAWPICTUREEX() WVT_LOADPICTUREFROMRESOURCEEX() * contrib/gtwvg/wvgcuig.c + Added: function WVG_PICTUREEX() * contrib/gtwvg/wvgwin.c + Added: function WVG_FORCEWINDOWTOTOP() 2013-06-05 19:15 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/gtqtc/gtqtc1.cpp ! added workaround for AltGR and German keyboard 2013-06-05 15:54 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/vm/hashes.c ! remove index when natural order is disabled by hb_hKeepOrder( hVal, .f. ) ! do not update index when item is deleted and hash array is marked to be resorted % few minor optimizations * contrib/sddoci/sddoci.hbc * use ocilib as library name in Linux builds. ; I do not know on which platforms ocilib[wma] is used but it's possible that this modification should be done also for other platforms not only for Linux. 2013-06-05 11:16 UTC+0200 Viktor Szakats * README.md * updated links to repo - deleted links to upstream nightly * tests/clipper.ch + better hb_keyChar() translation from upstream (with fixes) 2013-06-05 11:01 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/hbgtcore.c ! fix for recent modification 2013-06-05 10:37 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/gtwvt/gtwvt.c ! added workaround for AltGR and German keyboard * src/rtl/inkeyapi.c ! added missing 'static' in function declaration * src/rtl/hbgtcore.c ! added workarounds for HB_GTI_COMPAT_BUFFER switched to .F. by default. * tests/gtkeys.prg * switched to UTF8 CP by default + extended keycode information in Harbour ! [vszakats] reverted wrong #xtranslate conversion ! [vszakats] fixed casing 2013-06-04 20:25 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/pp/hbpp.c ! fixed memory leak due to unnecessary hb_strdup() * respect UTC offset in HB_VER_REVID created from ChangeLog entry 2013-06-04 15:14 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * tests/mt/mttest10.prg + allow to chose GT passing it's name as command line argument + initialize GT in main thread if GT needs it (currently QTC needs initialization in main thread) 2013-06-04 14:20 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/gtqtc/gtqtc1.cpp * added workaround for missing MT synchronization in QT for XLIB QT was designed to use screen widgets only in main thread so it's only workaround which helps but I cannot guaranty that it will help in all cases and some other problems will not appear. In fact QT does not even call XInitThreads(). * contrib/hbmzip/mzip.c * workaround for wrong st_mtime type in struct stat on android * src/rtl/hbsocket.c * do not check if IPPROTO_IP is defined, on some platforms like android it's only enum type. Warning if it exploits some problems on some seldom used platforms/compilers then please report it. * src/vm/hvm.c * minor * package/mpkg_ver.sh * do not use bash extensions * package/harbour-wce.spec.in * package/harbour-win.spec.in * package/harbour.spec * package/mpkg_rpm.sh * package/mpkg_rpm_wce.sh * package/mpkg_rpm_win.sh * removed bash from dependencies list 2013-06-03 16:45 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/hbtoken.c + added support for passing token parser parameters as bit field number. The goal is to replace last to parameters with single bit field which allows to set many different parsing aspects instead of adding many new parameters. + added support for reverted apostrophes quoting: `a b c` ; TODO: add constant values to control parser in token functions * utils/hbmk2/hbmk2.prg ! respect reverted apostrophes quoting in options read from .hbp/.hbm files. ! [vszakats]: reverted. It makes no sense to fix spaces for the specific case of reverted apostrophs, while breaking syntax parity between command line and .hbp/.hbm. They are supposed to work similarly. E.g. to pass option value containing a space, put the whole option in double quotes as documented in help. * do not ignore tool parameters passed in -*flags= hbmk2 params if they do not start with '-'. It resolves problems with shells which need special quoting to pass parameters, i.e. with both modifications it's possible to use in hbp files dynamic parameters encapsulated in different forms, depending on used platform, shell and parameter type, i.e. parameters are passed as set of separated arguments: -cflag=`config-tool1` or paramters are passed as single argument: -cflag="`config-tool2`" or parameters are passed in file which name shows config-tool3: -cflag="@`config-tool3`" In short words now things like: -cflag=`pkg-config --cflags gtk+-3.0` will work correctly with .hbp files ! [vszakats]: fixed change marker in above entry 2013-06-02 13:57 UTC+0200 Viktor Szakats * .travis.yml * disabled another dependency with install failure in Travis 2013-06-02 13:55 UTC+0200 Viktor Szakats * .travis.yml ! trying to fix another Travis install error where cups2 is a dependency 2013-06-02 13:44 UTC+0200 Viktor Szakats * .travis.yml * disabled dependency with install failure in Travis 2013-06-02 02:21 UTC+0200 Viktor Szakats * src/3rd/pcre/Makefile * src/3rd/pcre/pcre.dif * src/3rd/pcre/* * updated to 8.33 * made necessary configuration changes 2013-05-30 16:13 UTC+0200 Viktor Szakats * contrib/rddads/adsfunc.c ! another fix to 2013-05-17 14:20 UTC+0200 Jfl mafact 2013-05-29 15:14 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/vm/hashes.c ! fixed and optimized reordering when KEEPORDER flag is cleared in recent commit 2013-05-29 08:53 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/vm/hashes.c % changed sorting algorithm for hash arrays which keeps item order. % do not resort hash arrays when KEEPORDER flag is cleared but use existing internal index to create new order. * changed the behavior of hb_hSort() function. Now for hash arrays which keep item order it changes internal item pair position sorting them. The sort order depends on binary and case sensitivity hash array flags. * src/vm/hvm.c ! for literal hash array with repeated keys store the last item with the given key instead of the first one. It restores previous behavior. * contrib/rddads/rddads.hbx + added AdsSetIndexDirection() * contrib/rddads/adsfunc.c ! fixed formatting of AdsSetIndexDirection() 2013-05-28 01:59 UTC+0200 Tamas TEVESZ (ice extreme.hu) * src/vm/dynlibhb.c * Report dlopen() errors at HB_TR_LEVEL_DEBUG * ChangeLog.txt ! Put in a changelog entry I have completely missed previously. 2013-05-24 16:06 UTC+0200 Viktor Szakats * config/lang2po.hb * contrib/hbexpat/tests/tohash.prg * contrib/hbnetio/utils/hbnetio/hbnetio.prg * contrib/hbnetio/utils/hbnetio/netiomgm.hb * contrib/hbwin/tests/olesrv1.prg * contrib/hbwin/tests/olesrv2.prg * contrib/make.hb * src/rtl/hbdoc.prg * src/rtl/hbini.prg * tests/big5_gen.prg * tests/uc16_gen.prg * utils/hbmk2/hbmk2.prg % deleted hb_HKeepOrder( <h>, .T. ) calls. It's the default after 2013-05-23 18:16 UTC+0200. 2013-05-23 22:02 UTC+0200 Viktor Szakats * contrib/3rd/sqlite3/sqlite3.hbp * contrib/3rd/sqlite3/*.h * update 3.7.16.2 -> 3.7.17 2013-05-23 18:16 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbapi.h * src/vm/hvm.c * keep natural internal order in newly created hashes 2013-05-22 14:15 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * contrib/sddpg/core.c ! added missing parentheses in last commit 2013-05-22 13:29 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * contrib/sddpg/core.c + enhanced connection parameters support. Now it is possible to connect to PostgreSQL server using: 1) URI string RDDINFO(RDDI_CONNECT, {"POSTGRESQL", "postgresql://host"}) 2) Key=value parameter pairs RDDINFO(RDDI_CONNECT, {"POSTGRESQL", "host=localhost port=5432"}) 3) separate parameters. Support for port, options, tty is added RDDINFO(RDDI_CONNECT, {"POSTGRESQL", "host", "user", "passwd", "db", "port", "options", "tty"}) ; Please, test 2013-05-21 07:55 UTC-0300 Antonio Carlos Pantaglione (toninho/at/fwi.com.br) * contrib/rddads/adsfunc.c + Enable function ADSSETINDEXDIRECTION() only for ADS 9.0 or newer % small optmizations in ADSSETINDEXDIRECTION() ; Discarded and kept fork version which is slightly better [vszakats] 2013-05-19 00:37 UTC+0200 Viktor Szakats * contrib/3rd/sqlite3/sqlite3.hbp + enabled FTS3/FTS4 (full text search) in SQLite 2013-05-18 04:51 UTC+0200 Viktor Szakats * contrib/hbmzip/3rd/minizip/minizip.dif * contrib/hbmzip/3rd/minizip/minizip.hbp + changed 3rd package dependency in a way that it can now be managed by 3rdpatch automatically (with a little trick with file 'README') 2013-05-18 04:42 UTC+0200 Viktor Szakats * contrib/hbmzip/3rd/minizip/minizip.dif * contrib/hbmzip/3rd/minizip/minizip.hbp * contrib/hbmzip/3rd/minizip/unzip.c * contrib/hbmzip/3rd/minizip/unzip.h * updated with copy in zlib 1.2.8 * rediffed manually 2013-05-18 04:23 UTC+0200 Viktor Szakats * contrib/hbbz2/3rd/bz2/bz2.dif * contrib/hbexpat/3rd/expat/expat.dif * contrib/hbhpdf/3rd/libhpdf/libhpdf.dif * contrib/hbmxml/3rd/minixml/minixml.dif * contrib/hbmzip/3rd/minizip/minizip.dif * contrib/hbtinymt/3rd/tinymt/tinymt.dif * contrib/hbxdiff/3rd/libxdiff/libxdiff.dif * rediffed with latest 3rdpatch * contrib/hbxdiff/3rd/libxdiff/libxdiff.dif * contrib/hbxdiff/3rd/libxdiff/xdiff.hbp * contrib/hbxdiff/3rd/libxdiff/xinclude.h * contrib/hbxdiff/3rd/libxdiff/winconfig.h -> contrib/hbxdiff/3rd/libxdiff/winconf.h ! shortened long filename 2013-05-17 16:43 UTC+0200 Viktor Szakats * src/3rd/zlib/* * src/3rd/zlib/Makefile * update 1.2.7 -> 1.2.8 * src/3rd/png/* * src/3rd/png/Makefile * src/3rd/png/png.dif * update 1.6.1 -> 1.6.2 2013-05-17 14:47 UTC+0200 Viktor Szakats * contrib/rddads/rddads.hbx ! missing formatting and entry from 2013-05-17 14:20 UTC+0200 Jfl mafact * ChangeLog.txt ! fixed missing entry for 2013-05-17 02:57 UTC+0200 Tamas TEVESZ 2013-05-17 14:20 UTC+0200 Jfl mafact (jfl/at/mafact.com) * contrib/rddads/adsfunc.c + Adding new function ADSSETINDEXDIRECTION() ! fixed fatal code quality problems in 2013-05-17 14:20 UTC+0200 Jfl mafact [vszakats] 2013-05-17 02:57 UTC+0200 Tamas TEVESZ (ice extreme.hu) * contrib/3rd/sqlite3/sqlite3.c * contrib/3rd/sqlite3/sqlite3.dif * contrib/3rd/sqlite3/sqlite3.h * contrib/3rd/sqlite3/sqlite3.hbp * Update to SQLite 3.7.16.2 ! Correct fix for previous issue: re-enable SQLite for Minix, disable WAL extension only. 2013-05-16 22:34 UTC+0200 Tamas TEVESZ (ice extreme.hu) * contrib/3rd/sqlite3/sqlite3.hbp * Disable on Minix (no MAP_SHARED which is needed by SQLite WAL); (Hopefully a temporary measure.) * src/rtl/filesys.c ! Disable hb_fsPipeUnblock() on Minix; makes hb_processRun() work. Thanks to Przemek for the idea. 2013-05-16 17:00 UTC+0200 Jfl mafact (jfl/at/mafact.com) * contrib/rddads/adsfunc.c ! Adding 2nd param to function ADSCOPYTABLECONTENT() to allow filtering like in ADSCOPYTABLE() + fixed formatting [vszakats] 2013-05-15 19:54 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/pp/hbpp.c ! fixed ChangeLog file name detection broken after adding .txt extension. * src/rtl/hbproces.c + added support merged stdout and stderr output in hb_fsProcessRun() * src/rtl/hbprocfn.c + added support merged stdout and stderr output in hb_processRun() PRG function. To extract merged stdin and stdout application output it's enough to pass by reference in 3rd and 4th parameters the same variable, i.e.: nResult := hb_processRun( cCommand,, @cOutErr, @cOutErr ) * utils/hbmk2/hbmk2.prg ! use hb_processRun() intead of hb_processOpen() to extract merged stdout and stderr output. It fixes all builds in which hb_processOpen() does not exists due to some system limitations like missing pipes, i.e. DOS builds. * src/vm/fm.c ! fixed typo in DOS builds * src/rtl/gtwin/gtwin.c ! ignore mouse position reported in mouse wheel events which use screen based coordinates instead of console window ones. 2013-05-14 13:29 UTC+0200 Viktor Szakats * config/postinst.hb * do not create .hbl for the base language * .travis.yml * sorted dependencies alphabetically * src/rtl/tgetlist.prg ! fixed typo in 2013-04-02 22:09 UTC+0200 2013-05-13 13:24 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbct/ctwin.c ! fixed typo in recent commit 2013-05-10 08:28 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbgtinfo.ch + added HB_GTI_REDRAWMAX It sets maximum number of unchanged neighboring chars in redrawn line. It may help to optimize screen updates in some GTs. * include/hbgtcore.h * src/rtl/hbgtcore.c * contrib/hbct/ctwin.c + respect HB_GTI_REDRAWMAX in default REDRAWDIFF() GT methods. * contrib/gtqtc/gtqtc1.cpp ! added protection against font resizing for degenerated console window size. % set HB_GTI_REDRAWMAX to 1 * src/rtl/gtwvt/gtwvt.c ! translate screen base mouse wheel cords to window based ones. % set HB_GTI_REDRAWMAX to 1 * src/rtl/gttrm/gttrm.c % set HB_GTI_REDRAWMAX to 8 * src/rtl/gtwin/gtwin.c % set HB_GTI_REDRAWMAX to 4 2013-05-08 11:27 UTC+0200 Viktor Szakats * bin/commit.hb ! fixed git/svn root detection in default cases 2013-05-08 09:57 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/gtqtc/gtqtc1.cpp * minor: removed {} * src/rtl/gtwin/gtwin.c * reenabled code to get/set palette in GTWIN ! fixed console window resizing when palette is set ! do not change default console palette at application startup. It's Clipper compatible behavior which allows to inherit colors set by some initialization program executed before or by some parent processes which control console environment, i.e. other Harbour GTWIN applications. % reset palette on exit only if it was changed. + return predefined MS-Windows console palette also in systems where GetConsoleScreenBufferInfoEx() is not available. * src/rtl/gtwvt/gtwvt.c ! use predefined BLACK color for building box character bitmaps instead of palette color[ 0 ] because user can redefine palette. 2013-05-06 17:56 UTC+0200 Viktor Szakats * config/lang.hb % minor simplification * contrib/hbrun/doc/hbrun.*.md * utils/hbmk2/doc/hbmk2.*.md * src/lang/l_*.c * synced from Transifex 2013-04-30 16:59 UTC+0200 Viktor Szakats * contrib/gtqtc/gtqtc.hbc ! missing option to build dynamic lib 2013-04-30 13:43 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/gtqtc/gtqtc.hbc ! added QtWidgets library to all QT5 builds 2013-04-30 13:30 UTC+0200 Tamas TEVESZ (ice extreme.hu) * bin/3rdpatch.hb * Tweak error counter a bit 2013-04-30 12:30 UTC+0200 Tamas TEVESZ (ice extreme.hu) * bin/3rdpatch.hb * Change diff files to use Unix-style path separators; Thanks to Alexey Myronenko for testing. * src/3rd/jpeg/jpeg.dif * src/3rd/pcre/pcre.dif * src/3rd/tiff/tiff.dif * Change path separators to Unix-style 2013-04-30 10:26 UTC+0200 Viktor Szakats * contrib/gtqtc/gtqtc.hbc ! include new required lib for qt5 2013-04-30 09:49 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/gtqtc/gtqtc.hbc ! updated for QT5 MS-Windows and OS2 builds - only windows build tested 2013-04-30 08:56 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbct/ctwin.c ! added protection against GPF when reverted coordinates are used in WOPEN() 2013-04-30 02:53 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/gtqtc/gtqtc1.cpp ! reverted HB_GTI_DISPIMAGE cords ! keep maximized and fullscreen internal flags synced with QT window ! return HB_TRUE from SETMODE() method. ! updated font selection for better size approximation ! accept window size reported by QT in fullscreen and maximized modes ! set size increment steeps separately for ROWS and FONT resize modes ! respect resize step setting minimum window size - it fixes infinite resize loop in some WM % strip repeated HB_K_RESIZE keys * README.md * contrib/gtqtc/gtqtc.hbc * contrib/gtqtc/hbmk2_qtmoc.hb * synced with Viktor's patches for QT ; Pritpal, please verify if it works with QT5 2013-04-29 16:17 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * ChangeLog.txt ! Fixed: BOM troubled by wrong editor, now with Notepad++ and proper settings. I am unable to change Przemek's name changed in previous commit, rather unable to understand what should be changed. 2013-04-29 12:51 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/gtqtc/gtqtc.hbc * contrib/gtqtc/hbmk2_qtmoc.hb + Prepared to be compiled also with Qt version 5.0 onwards. 2013-04-29 01:15 UTC+0200 Tamas TEVESZ (ice extreme.hu) * doc/en/memo.txt ! Fix pastos in MemoWrit()/hb_MemoWrit() argument description 2013-04-27 16:46 UTC+0200 Tamas TEVESZ (ice extreme.hu) * src/3rd/png/png.dif + Regenerate after 67f0074 2013-04-27 14:17 UTC+0200 Viktor Szakats * contrib/gtqtc/gtqtc.hbc ! minor fix to darwin support (missed from previous patch) 2013-04-26 14:31 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) + contrib/xhb/xhbinkey.ch + contrib/xhb/xhbkey.c * contrib/xhb/xhb.hbp * contrib/xhb/xhb.hbx + added support for xHarbour compatible extended Inkey() key codes This functionality works with GTs which can operate on Harbour extended key codes which are translated at runtime to xHarbour extended keys (HB_EXT_INKEY). + added new PRG function: xhb_Inkey( [ <nDelay> ] [ , <nKeyMask> ] ) -> <nKey> which works like Inkey() but returns xHarbour extended key codes. + added new PRG function: xhb_KeyTrans( <nExtKey> ) -> <nXhbKey> which translates Harbour extended key code to xHarbour one. * include/hbapigt.h * src/rtl/inkeyapi.c + added new C function: int hb_inkeyKeyVal( int iKey ); It extract key/character code from Harbour extended key code * include/harbour.hbx * src/rtl/inkey.c + added new PRG function: hb_keyVal( <nExtKey> ) -> <nKeyVal> | <nCharVal> 2013-04-26 12:20 UTC+0200 Viktor Szakats * package/harb_win.mft % deleted copyright/year comment 2013-04-26 12:07 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/xhb/xhb.hbc * contrib/xhb/xhb.hbp ! protect hbwin.hbc with {allwin} macro 2013-04-26 03:51 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + added support for VCS specific -vcshead= version items + include extra Git version info with -vcshead= (latest commit date, full hash, author name/email) * bin/commit.hb * renamed variable 2013-04-26 02:11 UTC+0200 Viktor Szakats * bin/commit.hb ! fixed detection of merge situation 2013-04-25 19:40 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbct/ctwin.c ! use standard key codes in extended ALERT() GTCTW method 2013-04-25 17:16 UTC+0200 Viktor Szakats * bin/commit.hb + do not fill the commit message with last entry when doing a merge + detect repository sandbox root and use it where it makes sense 2013-04-25 16:05 UTC+0200 Viktor Szakats * src/3rd/png/png.dif ! missing update after mainstream png patch 2013-04-25 12:52 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * package/harbour.spec * package/mpkg_rpm.sh + addded --with openssl switch * src/3rd/png/pnglconf.h * disable PNG_STDIO_SUPPORTED macro when from autoconf file when PNG_NO_STDIO is set * src/3rd/png/Makefile ! disable stdio in WinCE builds by PNG_NO_STDIO macro 2013-04-25 12:21 UTC+0200 Viktor Szakats * src/rtl/teditor.prg ! added workaround for out of bounds RTE in HBEditor():LineLen() 2013-04-25 12:18 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/hbgtcore.c ! updated INKEYPOLL() code to respect extended key code in ALT+C and ALT+D detection 2013-04-24 23:58 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) - contrib/gtqtc/gtqtc.cpp + contrib/gtqtc/gtqtc1.cpp * contrib/gtqtc/gtqtc.hbp * renamed file gtqtc.cpp -> gtqtc1.cpp It fixes dynamic library creation by HBMK2 which tires to link gtqtc.o file twice adding second copy indirectly for gtqtc.hbx 2013-04-24 23:03 UTC+0200 Viktor Szakats * contrib/gtqtc/gtqtc.hbc + made linking work on darwin (using Homebrew) 2013-04-24 21:54 UTC+0200 Viktor Szakats * contrib/rddads/ads1.c ! excess {} in latest 2013-04-24 21:31 UTC+0200 Viktor Szakats * contrib/gtqtc/gtqtc.hbc + autodetect Qt5 at link-time and set lib names accordingly 2013-04-24 16:15 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/contrib/rddads/ads1.c + run error on invalid SQL query, ex., DBUSEAREA(,, "SELECT * FOM syntax_error") * changed ADS error description to be much more informative 2013-04-24 14:43 UTC+0200 Viktor Szakats * README.md + added QT + mention more Homebrew pkgs 2013-04-24 12:38 UTC+0200 Viktor Szakats * bin/commit.hb ! fixed to always use fwd slash in autoadded hook commands + exclude gtqtc from long filename check * contrib/gtqtc/hbmk2_qtmoc.hb * updated to use non-deprecated plugin API * #pragma style update 2013-04-24 12:22 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) + contrib/gtqtc/gtqtc.cpp + contrib/gtqtc/gtqtc.h + contrib/gtqtc/gtqtc.hbc + contrib/gtqtc/gtqtc.hbp + contrib/gtqtc/gtqtc.hbx + contrib/gtqtc/hbmk2_qtmoc.hb * contrib/hbplist.txt * .gitattributes + added new QT based GT driver: GTQTC. This implementation is slightly based on GTQTC created by Pritpal Bedi - many thanks. Now GTQTC supports nearly all GT features existing in all other GTs, i.e. fullscreen mode: hb_gtInfo( HB_GTI_ISFULLSCREEN, <lFullScreen> ) automatic fullscreen switch after ALT+ENTER: hb_gtInfo( HB_GTI_ALTENTER, <lEnable> ) maximized mode controlled by user: hb_gtInfo( HB_GTI_MAXIMIZED, <lEnable> ) clipboard selection with SHIFT + MouseLeftButton: hb_gtInfo( HB_GTI_SELECTCOPY, <lEnable> ) terminal window resizing: hb_gtInfo( HB_GTI_RESIZABLE, <lCanResize> ) both resize modes a) change number of rowas and columns: hb_gtInfo( HB_GTI_RESIZEMODE, HB_GTI_RESIZEMODE_ROWS ) b) keep number of rows and clomuns and update font size hb_gtInfo( HB_GTI_RESIZEMODE, HB_GTI_RESIZEMODE_FONT ) blocking ALT+F4 and [X] window buttons: hb_gtInfo( HB_GTI_CLOSABLE, <lCanClose> ) all cursor shapes and setting cursor blink rate: hb_gtInfo( HB_GTI_CURSORBLINKRATE, <nMilliSec> ) window positioning in screen pixels: hb_gtInfo( HB_GTI_SETPOS_XY, <aNewPosXY> ) -> <aPrevPosXY> mouse positioning in screen pixels: hb_gtInfo( HB_GTI_MOUSEPOS_XY ) -> <aPosXY> full control on font behavior with: a) box characters shown as predefined internally pixmapos: hb_gtinfo( HB_GTI_FONTATTRIBUTE, hb_bitOr( HB_GTI_FONTA_DRAWBOX, hb_gtinfo( HB_GTI_FONTATTRIBUTE ) ) ) b) forcing fixed size font metric: hb_gtinfo( HB_GTI_FONTATTRIBUTE, hb_bitOr( HB_GTI_FONTA_FIXMETRIC, hb_gtinfo( HB_GTI_FONTATTRIBUTE ) ) ) c) independent character cell clearing: hb_gtinfo( HB_GTI_FONTATTRIBUTE, hb_bitOr( HB_GTI_FONTA_CLRBKG, hb_gtinfo( HB_GTI_FONTATTRIBUTE ) ) ) d) displaying control characters ( ASC( x ) < 32 ) in row form: hb_gtinfo( HB_GTI_FONTATTRIBUTE, hb_bitOr( HB_GTI_FONTA_CTRLCHARS, hb_gtinfo( HB_GTI_FONTATTRIBUTE ) ) ) and many others like palette settings (HB_GTI_PALETTE), displaying pictures (HB_GTI_DISPIMAGE), keyboard modifiers (HB_GTI_KBDSHIFTS), clipboard reading and setting (HB_GTI_CLIPBOARDDATA) or icon and window title settings (HB_GTI_ICONFILE, HB_GTI_WINTITLE) GTQTC also supports GFX graphic primitives (hb_gfx*()) and it operates on new Harbour extended mouse and keyboard key codes. The console window is shown when some user outputs appears so it can be linked with GT GUI application been invisible by default. It's pure QT code so now is the most portable Harbour GT driver which can be used on platforms where we haven't native any GT so far or current GTs like GTXWC do not have native appearance. Because it uses only high-level GUI interface then it should be quite easy to convert it to other GUI libraries, i.e. GTK. 2013-04-23 14:02 UTC+0200 Viktor Szakats * bin/commit.hb ! add EOL to one-liner entries before inserting them as commit msg * utils/hbmk2/hbmk2.prg ! fixed formatting in mainstream patch 2013-04-23 13:20 UTC+0200 Viktor Szakats * tests/hbpptest/compare.hb * config/lang.hb * contrib/make.hb ! fixed/added shebangs, executable flag 2013-04-23 13:16 UTC+0200 Viktor Szakats * README.md * language improvements * bin/commit.hb * updated comment * contrib/hbmisc/numtxthu.prg * extras/hbxlsxml/xlsxml.prg * tests/db_brows.prg * tests/gtchars.prg * tests/mouse.prg * tests/sbar.prg * tests/tb1.prg * tests/tbrowse.prg * tests/video.prg * tests/wcecon.prg - deleted UTF-8 comments * tests/wvtext.prg ! fixed literal 2013-04-23 14:00 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/contrib/rddads/adsfunc.c * ADSREGCALLBACK() implemented using AdsRegisterCallbackFunction() instead of obsolete AdsRegisterProgressCallback(). This enables draw progress bar for both indexing and SQL query processing. ; implementation unchanged for old ADS versions (<= 6.1) 2013-04-22 22:05 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * bin/check.hb * bin/commit.hb ! added executable attribute * doc/xhb-diff.txt ! xBase++ -> Xbase++, Harbor -> Harbour * utils/hbmk2/hbmk2.prg + show project name in error messages ! applied Viktor fixes: 2013-04-17 03:45 UTC+0200 Viktor Szakats ! fixed to not leave temp .lnk file on disk with -hbdyn[vm] targets in win/gcc compiler family ! fixed win/tcc to not use gcc style .lnk files when creating -hbdyn[vm] targets ! added workaround for linker stderr messages redirected to stdout. It's not perfect but for sure much better then previous behavior. Now recently created problems like broken *nix builds can be well seen in stderr output. 2013-04-22 15:38 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbapi.h * include/hbapigt.h * include/hbvm.h * src/rtl/inkeyapi.c * src/vm/cmdarg.c * src/vm/hvm.c * replaced hb_cmdargProcessVM() with hb_cmdargProcess() and removed unused for long time custom user cancel key functionality. - removed dummy hb_inkeySetCancelKeys() C function. - removed not used for long time HVM C functions and macros: hb_vmFlagEnabled(), hb_vmFlagSet(), hb_vmFlagClear(), HB_VMFLAG_HARBOUR, HB_VMFLAG_ARRSTR * include/hbgtinfo.ch + added new HB_GTI_* actions: HB_GTI_WINHANDLE - Get console window low-level handle HB_GTI_MOUSEPOS_XY - Get mouse position in pixels HB_GTI_DISPIMAGE - Display image with given name * include/hbapigt.h * src/rtl/inkeyapi.c + added new C function: int hb_inkeyKeyMod( int iKey ) + added code for translation from extended key codes to standard Clipper ones * include/harbour.hbx * src/rtl/inkey.c + added new PRG function hb_keyMod( <nExtKey> ) -> <nModifiers> It extract keyboard modifiers (HB_KF_*) from extended key code. * include/hbgtcore.h * src/rtl/hbgtcore.c + added new macros for generating extended key codes with keyboard modifiers for ASCII and UNICODE characters % strip repeated extended key codes for mouse move ! use standard key codes in extended ALERT() GT method * include/inkey.ch + added key modifiers/flags for extended key codes: HB_KF_* + added extended key codes: HB_KX_* - removed unused HB_K_MULTICODE macro * src/rtl/gttrm/gttrm.c * replaced old keyboard and mouse code with new one using extended key codes for keyboard and mouse + added support for keyboard modifiers in GPM events + added support for keyboard modifiers in terminal mouse events * src/rtl/gtwvt/gtwvt.h * src/rtl/gtwvt/gtwvt.c ! invert selection region in WinCE builds ! fixed selection in fullscreen or maximized modes with margins * do not add EOL to one line selections + added support for painting box drawing characters. This mode can be enabled by: hb_gtInfo( HB_GTI_FONTATTRIBUTE, HB_GTI_FONTA_DRAWBOX ) and it causes that GTWVT draws all box characters as pixmap regardles of used font. So far this functionality existed only in GTXWC. + added support for HB_GTI_FONTA_FIXMETRIC and HB_GTI_FONTA_CLRBKG So far this functionality existed only in GTXWC. + added support for HB_GTI_WINHANDLE ! do not add EOL at the end of one line selection * src/rtl/gtxwc/gtxwc.h * src/rtl/gtxwc/gtxwc.c * replaced old keyboard and mouse code with new one using extended key codes for keyboard and mouse * renamed HB_GTXWC_* box drawing macros to HB_BOXCH_* ones * do not add EOL to one line selections ! fixed few keypad keycodes * use cursor blinking rate HB_GTI_CURSORBLINKRATE for whole show/hide period not only half of them. If someone use this GTI action in his code then now he should double passed value. [incompatible] ! fixed return value for HB_GTI_SETPOS_ROWCOL * few minor cleanups * tests/gtkeys.prg * replaced old keyboard and mouse code with new one using extended key codes for keyboard and mouse + added description for some key codes + added some initial HB_GTI_* actions + change cursor size by K_INS + display terminal size after HB_K_RESIZE + display mouse position after mouse key codes ! display all characters created by hb_keyChar() ! fixed formatting * src/rdd/dbf1.c * added more general protection against GPF in not fully initialized workarea 2013-04-22 14:27 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + merged -tshead= and -seqhead= into one new common option: -bldhead=. * bin/commit.hb * reverted one prev mod causing problems (line ending whitespaces) 2013-04-22 01:05 UTC+0200 Viktor Szakats * bin/commit.hb ! fixed commit checks being done in wrong dir after prev ! avoid phantom hits when checking shortened long files [REVERTED] 2013-04-21 11:19 UTC+0200 Viktor Szakats * src/rdd/dbf1.c ! fixed ambiguous expression after latest patch 2013-04-21 11:15 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + added support for upx when installed via batch wrapper, like in case of Chocolatey pkg manager + display msg if upx tool was needed but not found * minor code cleanup around the above * doc/howtorep.txt + mention local git configuration for crlf handling * README.md + mention ack in tools section + mention Chocolatey Windows tool package manager + .ackrc * bin/commit.hb + added ack tool exclude filters 2013-04-19 16:55 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/contrib/rddads/adsx.c ! fixed adsSeek() if seek string length is less than index key length * harbour/src/compiler/hbopt.c ! improved BEGIN/END SEQUENCE support in code trace optimizer. Problem of false positive warning 'Variable is assigned but not used' is solved in cases like: FUNC TEST() LOCAL n := 1 BEGIN SEQUENCE IF n == 1 n := 2 BREAK ENDIF n := 3 END SEQUENCE RETURN n ; TODO: test for more complicated cases like nested BEGIN/END SEQUENCE * harbour/src/rdd/dbf1.c * added :GetValue() GPF protection if area is "half opened" (ex., enumerating field values in error handler on area open failure). More general solution for "half opened" workareas is welcome 2013-04-19 16:35 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * contrib/hbct/token1.c * contrib/hbpgsql/rddcopy.c * removed unused assignment 2013-04-19 13:04 UTC+0200 Viktor Szakats * contrib/hbblat/hbblat.hbp ! fixed to not try to build dynamic target if dependency isn't satisfied 2013-04-19 00:44 UTC+0200 Viktor Szakats * doc/xhb-diff.txt ! typos in previous patch 2013-04-18 14:58 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * .gitignore ! removed executable file permission * package/mpkg_src.sh ! added executable file permission * contrib/hbct/screen2.c % use STR API for parameters instead of using local conversions * contrib/hbct/token1.c % small simplification * contrib/hbnetio/netiosrv.c + respect timeout parameter also in send operation * contrib/make.hb ! moved project name normalization and directory verification to AddProject() function. It fixes HB_BUILD_ADDONS envvar functionality. * doc/xhb-diff.txt + added new paragraph: DECLARATION AND INITIALIZATION OF VARIABLES * src/rtl/hbcom.c * added 3rd parameter to TIOCEXCL and TIOCNXCL ioctl() codes to pacify valgrind warnings * include/hbexpra.c ! fixed compilation with HB_USE_ENUM_FUNCTIONS macro * include/hbapicls.h * include/hbcompdf.h * include/hbexpra.c * src/compiler/harbour.y * src/vm/classes.c + added support for :__enumIsFirst() iterator message. It's opposite to recently added :__enumIsLast() + added support for overloading :__enumIsFirst() and :__enumIsLast() functionality in custom FOR EACH implementations * include/hbcompdf.h * include/hbexpra.c * src/compiler/harbour.y + added support for reverting :__enumIsFirst() and :__enumIsLast() messages in descendant FOR EACH loops. It's disabled now by 2 #if 0 but I think it should be discussed. Should we keep it enable it? The answer is not trivial when FOR EACH is used to iterate some objects. In general such names are confusing. * src/compiler/harbour.yyc * src/compiler/harbour.yyh * regenerated using bison 2.5 * tests/foreach.prg + added :__enumIsFirst() to test code * tests/foreach2.prg ! typo in comment 2013-04-18 00:15 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * contrib/sddfb/core.c * removed unused assignment 2013-04-17 03:45 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! fixed to not leave temp .lnk file on disk with -hbdyn[vm] targets in win/gcc compiler family ! fixed win/tcc to not use gcc style .lnk files when creating -hbdyn[vm] targets 2013-04-16 21:16 UTC+0200 Viktor Szakats * bin/commit.hb * reverted some submodule related changes, which are now unnecessary (that check only check files, not dirs) * config/lang.hb ! fixed to escape username/password % do not include Harbour version in generated .po files * utils/hbmk2/po/hbmk2.*.po * regenerated 2013-04-16 02:37 UTC+0200 Viktor Szakats * ChangeLog.txt ! another typo 2013-04-16 01:25 UTC+0200 Viktor Szakats * config/postinst.hb ! updated dir where .po files are looked for for util .hbl creation 2013-04-16 01:27 UTC+0200 Viktor Szakats * ChangeLog.txt ! typos 2013-04-16 01:23 UTC+0200 Viktor Szakats * contrib/make.hb ! fixed to convert dirseps and missing trim before existence check of hbplist.txt items 2013-04-15 23:12 UTC+0200 Viktor Szakats * bin/commit.hb * do not attempt to check directory entries (included by git when encountering submodules) * ChangeLog.txt ! mistakes in recent entries 2013-04-15 16:25 UTC+0200 Viktor Szakats * bin/commit.hb % minor opt ! fixed commit script ref in msg * contrib/hbct/*.c * parent. cleanup 2013-04-15 16:06 UTC+0200 Viktor Szakats * README.md * minor 2013-04-15 16:01 UTC+0200 Viktor Szakats * .gitattributes * bin/commit.hb - bin/check.hb + integrated check.hb into commit.hb + check to pick git filelist (instead of all files on disk) if run by itself + new, non-Harbour specific check exceptions + make some checks controllable via special .gitattributes comments + changed defaults of some checks to be less-Harbour specific ! do not include git submodules in filelist for check (somewhat redundant) + added various FIXMEs to check code ! fixes to hook installation ! do not offer to edit ChangeLog if not found + find local ChangeLog if any + find global ChangeLog (in Git) even if not in top dir + better Git repo detection + do not include submodule changes in commit msg template + minor tweak to commit msg generation to avoid some case when using submodules (to be enhanced) + added -c option to act like check.hb script ! fixed THREAD STATIC var name prefixes + cleaned the way command-line is parsed * config/postinst.hb ! updated dir where .po files are looked for for util .hbl creation % use more hb_DirSepToOS() * utils/hbmk2/hbmk2.prg + added -seqhead= option + detect Git submodules and handle them accordingly, thus making -vcshead= to return submodule version inside submodules + better detect Git repo, thus making -vcshead= work in subdirs ! fixed pulling Git revision in -vcshead= from non-cwd directories * README.md ! fixed dead link 2013-04-13 15:44 UTC+0200 Viktor Szakats * README.md * changed Travis CI link in README to the fork one 2013-04-13 15:33 UTC+0200 Viktor Szakats * .gitattributes % deleted .log * .travis.yml * do not process submodules (none atm) 2013-04-12 04:38 UTC+0200 Viktor Szakats * bin/check.hb ! typo regression from few days ago 2013-04-12 04:15 UTC+0200 Viktor Szakats * bin/check.hb * bin/commit.hb ! fixed regression causing these to break when used for any other repo than Harbour itself ! fixed to ignore .gitattributes check if it's empty (or not there) ! fixed to not try to add Git hook when using SVN 2013-04-11 18:40 UTC+0200 Viktor Szakats * contrib/hbhpdf/harupdf.ch * contrib/hbhpdf/hbhpdf.h * contrib/hbhpdf/errstr.prg + added new error code HB_HPDF_BADPARAM + added constant for existing error code -1, now named HB_HPDF_NOTSUPPORTED * contrib/hbhpdf/annot.c * contrib/hbhpdf/core.c * contrib/hbhpdf/image.c * contrib/hbhpdf/pdfa.c ! fixed GPFs when wrong parameter is passed + contrib/hbhpdf/tests/stress.prg + added stress test that calls every HPDF API with no parameter * contrib/hbhpdf/misc.prg * formatting 2013-04-11 14:57 UTC+0200 Viktor Szakats * contrib/hbhpdf/3rd/libhpdf/libhpdf.hbp * contrib/hbhpdf/3rd/libhpdf/* * updated to git repo head version. In the hope its new patches fix unicode handling. 2013-04-11 14:44 UTC+0200 Viktor Szakats * contrib/hbhpdf/core.c ! fixed GPF in two functions when page parameter is invalid (pbly more functions are affected) 2013-04-10 01:10 UTC+0200 Viktor Szakats * contrib/hbhpdf/3rd/libhpdf/hpdfimap.c * contrib/hbhpdf/3rd/libhpdf/libhpdf.dif + patched to build with libpng 1.6 w/o warning identical to this upstream patch: https://github.com/libharu/libharu/commit/f1817baea49ab09de4635e383dc86b04a0fc3d8f * bin/commit.hb ! fixed to add shebang to newly created commit hook * bin/check.hb ! exclude maskimag.png from processing ! typo in png processor name ! minor syntax clarification * contrib/hbhpdf/tests/files/maskimag.png ! restored original version, as any optimized version will cause hbhpdf to GPF (visible when running the demo) 2013-04-09 17:47 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/gtwvg/wvgwin.c ! Fixed: Loading of resource of type icon if pulled from a resource file. 2013-04-09 17:11 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/gtwvg/pushbut.prg ! Fixed: regression of copy/paste - WVT_IMAGE_ICON => WVG_IMAGE_BITMAP. 2013-04-09 03:27 UTC+0200 Viktor Szakats * bin/check.hb * deleted one more contrib exception * contrib/make.hb * do not try to build contribs/addons that don't exist * contrib/hbmisc/tests/pe.prg - contrib/hbmisc/tests/sample.txt * avoid storing non-ASCII, non-UTF8 file on disk * load above if no parameter given ! use hb_MemoWrit() to write result 2013-04-08 19:44 UTC+0200 Viktor Szakats * bin/commit.hb + implement prepare-commit hook, which fills the commit message with the last changelog entry + try to minimize the commit msg when committing single changes + generalized code to add git hooks 2013-04-08 14:57 UTC+0200 Viktor Szakats * bin/commit.hb + made it work regardless of cwd + automatically add pre-commit hook command * bin/check.hb * bin/commit.hb * minor to root path forming 2013-04-08 13:41 UTC+0200 Viktor Szakats * contrib/hbpost.hbm * utils/hbmk2/pkg_inst.hbm * converted hbmk2 macros to lowercase for consistency 2013-04-08 12:41 UTC+0200 Viktor Szakats * bin/check.hb ! fixed --fixup-case when used with single file + deleted few more exceptions (contribs in particular) * tests/clipper.ch + added few items + tests/bldtest/bldtext.hbp + added hbmk2 build file * tests/hbpptest/compare.bat -> tests/hbpptest/compare.hb * tests/hbpptest/pp_test.prg -> tests/hbpptest/_pp_test.prg * converted batch file to Harbour script * updated comments - contrib/hbhpdf/tests/files/cp932.txt - contrib/hbhpdf/tests/files/cp936.txt - contrib/hbhpdf/tests/files/elic_jp.txt - contrib/hbhpdf/tests/files/euc.txt - contrib/hbhpdf/tests/files/sjis.txt - turns out these were not used. deleted. * contrib/hbnetio/tests/netiomt1.prg * contrib/hbnetio/tests/netiot02.prg * contrib/hbnetio/tests/netiot03.prg * contrib/hbnetio/tests/netiotst.prg * hbformat, fix case, manual corrections (I like the former style better, because it's much easier to type and looks much less antique than std code format, but for now consistency won) * contrib/xhb/thtm.prg * code slightly altered to avoid embedded JS code to be case fixed 2013-04-08 02:12 UTC+0200 Viktor Szakats * config/postinst.hb * minor * doc/howtorep.txt * README.md ! updated link to hbmk2 doc * updated steps for committing to emphasis in bin/commit script than trying to describe some of the rules 2013-04-08 00:58 UTC+0200 Viktor Szakats * bin/commit.hb + do not overwrite clipboard content if it already contains what seems like part of changelog entry 2013-04-08 00:56 UTC+0200 Viktor Szakats * tests/inifiles.prg ! fix to prev 2013-04-08 00:52 UTC+0200 Viktor Szakats * bin/check.hb + will now check for missing copyright/license message in source files (except for tests and files shorter than 20 lines) * contrib/hbamf/amf.h * contrib/hbamf/amfstdio.c * contrib/hbamf/hbamfobj.prg * contrib/hbamf/hbcls.c * contrib/hbgt/strasint.c * contrib/hbhttpd/core.prg * contrib/hbhttpd/widgets.prg * contrib/hbmisc/hbedit.prg * contrib/hbmisc/hbeditc.c * contrib/hbmisc/stringsx.c * contrib/hbmisc/udpds.prg * contrib/hbnf/aredit.prg * contrib/hbnf/easter.prg * contrib/hbnf/mouse1.prg * contrib/xhb/hbsyslog.c * extras/guestbk/_cgi.prg * extras/guestbk/_inifile.prg * extras/guestbk/cgi.ch * extras/hbdroid/hvminit.c * extras/hbdroid/msginfo.c * extras/hbusb/core.c * extras/hbvpdf/hbvpdf.ch + added copyright/license headers where missing * tests/inifiles.prg + synced with another copy * include/hbclass.ch * src/compiler/expropta.c * src/compiler/exproptb.c * src/macro/macroa.c * src/macro/macrob.c * minor cleanup 2013-04-07 22:41 UTC+0200 Viktor Szakats * bin/commit.hb + do not add new empty entry template if one already exists, replace existing one instead + put last changelog entry to clipboard on pre-commit * bin/check.hb * refined and sorted exceptions for case checking * bin/check.hb - tests/fixcase.hb - deleted stdalong case fixer, now part of bin/check.hb (call it it --fixup-case option for same functionality) * doc/oldnews.txt * doc/pp.txt * casing fixes 2013-04-07 17:39 UTC+0200 Viktor Szakats * bin/check.hb * tests/fixcase.hb % changed negative file-type filters for case fixing to positive one 2013-04-07 13:09 UTC+0200 Viktor Szakats * bin/check.hb * tests/fixcase.hb * deleted some exceptions 2013-04-07 13:07 UTC+0200 Viktor Szakats * bin/check.hb * tests/fixcase.hb * minor cleanups * tests/fixcase.hb + work regardless of cwd 2013-04-07 12:49 UTC+0200 Viktor Szakats * bin/check.hb * tests/fixcase.hb ! fixed another loop of regexp search and replace to only change exactly the item it found. It will fix some weird cases experienced in the past, e.g. in extras/httpsrv/uhttpd.prg 2013-04-07 10:59 UTC+0200 Viktor Szakats * contrib/Makefile ! do not ignore failures in contribs in GNU Make build process (this will ensure a 'build failed' status in Travis) * bin/check.hb * tests/fixcase.hb ! fixed to the way search hits are replaced. Now it replaces only what it found and where it found it, instead of previous brute-force method of replacing each similar hit in the file, causing the errors experienced in 2013-04-05 16:24 UTC+0200. (plus also few similar cases in the past) * tests/fixcase.hb ! fixed to do comment only fix on .c files even when run in single file mode 2013-04-07 03:48 UTC+0200 Viktor Szakats * package/mpkg_win_nightly.bat ! delete source zip before download 2013-04-06 19:57 UTC+0200 Viktor Szakats * contrib/hbct/trig.c ! another fix * contrib/hbwin/wapi_winuser.c * deleted comment in some foreign programming language * src/rtl/hbmd5.c * cleaned comment 2013-04-06 18:25 UTC+0200 Viktor Szakats * src/rtl/hbmd5.c ! another typo in prev 2013-04-06 18:20 UTC+0200 Viktor Szakats * README.md * github pages domain name change 2013-04-06 16:17 UTC+0200 Viktor Szakats * src/rtl/hbmd5.c * src/vm/eval.c ! fixed some code messed up by case fixup (rather inexplicable yet) * src/rtl/hbinet.c * src/vm/dynsym.c * src/vm/eval.c ! typos in comments 2013-04-06 12:04 UTC+0200 Viktor Szakats * bin/check.hb * tests/fixcase.hb ! do not strip newlines from comments * include/hbrddnsx.h ! fixcase fixups 2013-04-06 11:54 UTC+0200 Viktor Szakats * src/compiler/cmdcheck.c ! fixed some code messed up by case fixup ; TODO: fix case fixup code (getccomment()?) [CLOSED: can't reproduce it anymore] 2013-04-05 18:58 UTC+0200 Viktor Szakats * bin/check.hb ! two fixes for uncrustify parameter when called for automatic fixup 2013-04-05 18:29 UTC+0200 Viktor Szakats * src/vm/hvm.c * more minor cleanups in comments 2013-04-05 16:35 UTC+0200 Viktor Szakats * contrib/hbct/disk.c * include/hbpcode.h * src/common/expropt2.c * src/compiler/hbopt.c * src/vm/macro.c * minor cleanups in comments 2013-04-05 16:24 UTC+0200 Viktor Szakats * bin/check.hb * tests/fixcase.hb + some exceptions for casing * deleted one file exception (a readme) * contrib/gtwvg/gtwvgd.c * contrib/gtwvg/wvgcore.c * contrib/gtwvg/wvgcuig.c * contrib/gtwvg/wvgwin.c * contrib/gtwvg/wvgwing.c * contrib/hbamf/amfenc.c * contrib/hbbz2/core.c * contrib/hbct/ctcom1.c * contrib/hbct/ctcom2.c * contrib/hbct/ctnet.c * contrib/hbct/ctstr.c * contrib/hbct/ctwfunc.c * contrib/hbct/ctwin.c * contrib/hbct/disk.c * contrib/hbct/finan.c * contrib/hbct/screen2.c * contrib/hbct/token1.c * contrib/hbct/token2.c * contrib/hbct/trig.c * contrib/hbgd/gdwrp.c * contrib/hbhpdf/image.c * contrib/hbmisc/irm.c * contrib/hbnetio/netiocli.c * contrib/hbnetio/netiosrv.c * contrib/hbnetio/readme.txt * contrib/hbnf/dispc.c * contrib/hbnf/ftattr.c * contrib/hbnf/origin.c * contrib/hbssl/ssl.c * contrib/hbwin/wapi_commctrl.c * contrib/hbwin/wapi_winuser.c * contrib/hbwin/win_dlg.c * contrib/hbwin/win_prn2.c * contrib/hbwin/win_shell.c * contrib/rddads/ads1.c * contrib/rddads/adsfunc.c * contrib/xhb/fparse.c * contrib/xhb/hbcrypt.c * contrib/xhb/hbserv.c * contrib/xhb/hbxml.c * contrib/xhb/txtline.c * contrib/xhb/xhbarr.c * contrib/xhb/xhbarrex.c * extras/gfspell/spellc.c * extras/gtwvw/gtwvwd.c * extras/gtwvw/hbgtwvw.h * extras/gtwvw/wvwcheck.c * extras/gtwvw/wvwdraw.c * extras/gtwvw/wvwedit.c * extras/gtwvw/wvwfuncs.c * extras/gtwvw/wvwmenu.c * extras/gtwvw/wvwpush.c * extras/gtwvw/wvwstbar.c * extras/gtwvw/wvwtbar.c * include/hbapi.h * include/hbapirdd.h * include/hbdefs.h * include/hbexpra.c * include/hbexprb.c * include/hbpcode.h * include/hbpp.h * include/hbrddcdx.h * include/hbrddnsx.h * src/codepage/cp_utf8.c * src/common/expropt1.c * src/common/expropt2.c * src/compiler/cmdcheck.c * src/compiler/genc.c * src/compiler/gencc.c * src/compiler/hbfunchk.c * src/compiler/hbopt.c * src/pp/pplib.c * src/rdd/dbcmd.c * src/rdd/dbf1.c * src/rdd/dbfcdx/dbfcdx1.c * src/rdd/hbsix/sxcompr.c * src/rdd/hbsix/sxord.c * src/rdd/hsx/hsx.c * src/rtl/chruni.c * src/rtl/cputime.c * src/rtl/dateshb.c * src/rtl/filehb.c * src/rtl/filesys.c * src/rtl/gtsln/gtsln.c * src/rtl/gtwvt/gtwvt.c * src/rtl/gtxwc/gtxwc.c * src/rtl/hbgtcore.c * src/rtl/hbinet.c * src/rtl/hblpphb.c * src/rtl/hbmd5.c * src/rtl/hbproces.c * src/rtl/hbsocket.c * src/rtl/hbsockhb.c * src/rtl/hbtoken.c * src/rtl/hbzlib.c * src/rtl/hbzlibgz.c * src/rtl/langapi.c * src/rtl/mlcfunc.c * src/rtl/philes.c * src/rtl/soundex.c * src/rtl/strzero.c * src/rtl/transfrm.c * src/vm/arrayshb.c * src/vm/classes.c * src/vm/dynsym.c * src/vm/eval.c * src/vm/garbage.c * src/vm/hvm.c * src/vm/macro.c * src/vm/memvars.c * src/vm/runner.c * src/vm/set.c * src/vm/thread.c * run tests/fixcase.hb now that it's able to fixup casing inside all comments 2013-04-05 16:16 UTC+0200 Viktor Szakats * tests/fixcase.hb * debug comment deleted 2013-04-05 16:14 UTC+0200 Viktor Szakats * bin/check.hb + fixed to apply fixes to non-binary files too * bin/check.hb * tests/fixcase.hb + improved fix casing to work in C files, too, but only inside comments 2013-04-05 15:16 UTC+0200 Viktor Szakats * extras/gtwvw/* ! uncrustified 2013-04-05 15:08 UTC+0200 Viktor Szakats * bin/check.hb ! made it work regardless of cwd + added --fixup option to fix/process files + extended detection of SVN IDs based on 'ident' option in .gitattributes. Now also warn if missing. + added detection of C++ style comments in C files + ported Harbour function name casing fixup code, so it can now be done automatically before commit * bin/commit.hb * minor change in option name * contrib/gtwvg/wvgwin.c * contrib/gtwvg/wvgwing.c ! deleted large amount of MSDN documentation in C++ comments ! fixed C++ comments * src/pp/ppcore.c * avoid false C++ comment detection in deffed out non-code section * src/rtl/gttrm/gttrm.c * contrib/rddads/adsx.c * contrib/xhb/filestat.c ! fixed C++ comment * contrib/hbrun/hbrun.hbp * utils/hbmk2/hbmk2.hbp + better comment * extras/gtwvw/hbgtwvw.h * extras/gtwvw/*.c ! fixed C++ comments 2013-04-05 02:57 UTC+0200 Viktor Szakats * bin/check.hb ! fixed to use local implementation instead of hb_DirScan() which has known bug of missing extensionless files on win. (due to hb_FileMatch() problem) + added support to optimize images and uncrustify C source before upload (inactive yet) + added necessary exceptions now that extensionless files properly found + checks for filenames without extensions + checks for filenames with extensions not in .gitattributes * bin/commit.hb + show helpful advice when pre-commit hook check fails ! fixed to propely pick filenames that result from rename operations (for check) ! fixed to not pick filenames of deleted files (for check) * config/lang.hb * doc/en/lang.txt * include/hblang.hbx * src/lang/Makefile * src/lang/l_zh_tra.c -> src/lang/l_zh.c * src/rtl/langcomp.prg * Language renamed: zh_tra -> zh (in sync with recently laid rules) The 'REQUEST HB_LANG_*' value become INCOMPATIBLE compared to previous dev versions * src/rtl/cdpdet.prg + added 'zh' country code to codepage detection * contrib/make.hb * contrib/hbplist -> contrib/hbplist.txt * renamed to have an extension * contrib/hbrun/doc/_GENERATED_ -> contrib/hbrun/doc/_autogen.txt * utils/hbmk2/doc/_GENERATED_ -> utils/hbmk2/doc/_autogen.txt * renamed to have names fitting naming rules + added warning message inside - extras/httpsrv/logs/empty - deleted unnecessary file with non-compliant filename - tests/stripeol.hb % deleted, now similar functionality is implemented in bin/check.hb * .gitattributes ! added missing .log and .ucf * contrib/hbtinymt/3rd/tinymt/tinymt.hbp ! deleted SVN ID * debian/copyright ! synced with COPYING.txt * debian/postinst * debian/postrm ! deleted multiple EOL at EOF 2013-04-04 16:09 UTC+0200 Viktor Szakats * config/lang.hb * utils/hbmk2/hbmk2.hbp * contrib/hbrun/doc/hbrun.es_ES.md -> contrib/hbrun/doc/hbrun.es.md * utils/hbmk2/doc/hbmk2.es_ES.md -> utils/hbmk2/doc/hbmk2.es.md * utils/hbmk2/po/hbmk2.es_ES.po -> utils/hbmk2/po/hbmk2.es.po * 'es_ES' -> 'es' ; General rule is to support the "root" language and any number of additional dialects, e.g. 'es'+'es_419', 'pt'+'pt_BR', 'fr'). (as opposed to dialects only, e.g. 'es_ES'+'es_419', 'pt_PT'+'pt_BR', 'fr_FR') 2013-04-04 16:02 UTC+0200 Viktor Szakats * bin/commit.hb + improvements to help workflow at pre-ChangeLog editing time and automatic pre-commit hook time 2013-04-04 05:55 UTC+0200 Viktor Szakats * .gitignore + added test command ! fixed exceptions to be in sync with files in repo * contrib/3rd/sqlite3/* * contrib/3rd/sqlite3/sqlite3.hbp * updated to 3.7.16 * src/3rd/png/* * src/3rd/png/Makefile * src/3rd/png/png.dif * src/3rd/png/pngpriv.h * updated to 1.6.1 2013-04-04 04:30 UTC+0200 Viktor Szakats * bin/commit.hb + added code to launch default git editor with ChangeLog.txt (not yet activated) * contrib/hbexpat/hbexpat.hbc - reverted these two: 2013-04-03 16:01 UTC+0200 2013-03-27 16:29 UTC+0100 It seems that expat.hbc is always installed regardless of local or system copy is used along the build/install process * utils/hbmk2/hbmk2.prg ! fixed -run on Darwin after 2013-03-15 13:57 UTC+0100 (untested) 2013-04-04 03:39 UTC+0200 Viktor Szakats * bin/check.hb ! fixed shrinking of ChangeLog.txt to not result in broken EOLs ! refinements around interactions of EOL checks and fixes ! include Harbour files "hidden" under /3rd/ dirs * bin/commit.hb + set errorlevel, so it can now be used as a git pre-commit hook (as 'exec hbrun bin/commit' in .gits/hooks/pre-commit) * contrib/hbexpat/hbexpat.hbc ! fixed expat.hbc detection to actually look for .hbc file not .h (which is never present) * utils/hbmk2/hbmk2.prg + added depfinish= .hbc directive. It was missing, yet I was using it in hbexpat.hbc in recent patch, and wondered why it didn't work [ the necessity of the whole previous patch is still suspect though. ] + show warning for any .hbc directives that is unknown. This should avoid above situation nicely. INCOMPATIBILITY: Thus far all lines with unknown directives were ignored, now only empty ones or ones that begin with '#' character (in first column), as documented. Clean your .hbc files accordingly. ! fixed typo in one help text. Pls retranslate, I hope Transifex keeps previous texts, but you can find it in next language update commit, if not. * package/harb_win.mft ! deleted BOM (detected by check.hb) * contrib/3rd/sqlite3/sqlite3.hbc * contrib/3rd/sqlite3/sqlite3.hbp * contrib/hbbz2/3rd/bz2/bz2.hbc * contrib/hbbz2/3rd/bz2/bz2.hbp * contrib/hbexpat/3rd/expat/_hbconf.h * contrib/hbexpat/3rd/expat/expat.hbc * contrib/hbexpat/3rd/expat/expat.hbp * contrib/hbhpdf/3rd/libhpdf/_hbhbpdf.c * contrib/hbhpdf/3rd/libhpdf/libhpdf.hbc * contrib/hbhpdf/3rd/libhpdf/libhpdf.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/config.h * contrib/hbmxml/3rd/minixml/minixml.dif * 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/_hbconf.h * contrib/hbxdiff/3rd/libxdiff/xdiff.hbc * contrib/hbxdiff/3rd/libxdiff/xdiff.hbp * lib/3rd/win/bcc/Makefile * lib/3rd/win/mingw/Makefile ! deleted SVN IDs * rediffed where required 2013-04-04 00:06 UTC+0200 Viktor Szakats * config/lang2po.hb + more translation comments + added source comments for core-lang translation source. (only the order of lang_id values is signficant, the actual values aren't) + minor code reabability * utils/hbmk2/hbmk2.hbp + enabled Galician translation * config/lang.hb * contrib/hbrun/doc/hbrun.fr_FR.md -> contrib/hbrun/doc/hbrun.fr.md * utils/hbmk2/doc/hbmk2.fr_FR.md -> utils/hbmk2/doc/hbmk2.fr.md * utils/hbmk2/po/hbmk2.fr_FR.po -> utils/hbmk2/po/hbmk2.fr.po * utils/hbmk2/hbmk2.hbp * fr_FR -> fr (to be in sync with lang modules and until there is no demand for fr_CA) * contrib/make.hb * whitespace 2013-04-03 16:09 UTC+0200 Viktor Szakats * config/lang2po.hb + further clarifications to some translations 2013-04-03 16:01 UTC+0200 Viktor Szakats * contrib/hbexpat/hbexpat.hbc ! further patch to 2013-03-27 16:29 UTC+0100, to ensure to link against 3rd party dependency lib even when the non-local copy is used (untested) 2013-04-03 13:53 UTC+0200 Viktor Szakats * bin/check.hb ! fixed BOM detection and fixup * contrib/gtwvg/pushbut.prg % use HB_ISSTRING() instead of ValType() call * ChangeLog.txt ! deleted BOM for the 4th time after: 2013-04-03 00:42 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) 2013-04-03 13:52 UTC+0200 Viktor Szakats * contrib/gtwvg/pushbut.prg * ChangeLog.txt 2013-04-03 13:12 UTC+0200 Viktor Szakats * config/lang.hb + implemented translation corrections for right-to-left languages + enabled translation corrections for core-lang modules 2013-04-03 12:13 UTC+0200 Viktor Szakats - src/lang/a/*.c - src/lang/l_en.c - deleted mistakenly autocommitted files * config/lang.hb ! exclude base lang from automatically formed list of core languages * src/rtl/hbi18n2.prg * minor code clarification (but worse performance) 2013-04-03 00:42 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/gtwvg/wvgparts.ch + Added: constants - WVG_IMAGE_ICONFILE WVG_IMAGE_ICONRESOURCE WVG_IMAGE_BITMAPFILE WVG_IMAGE_BITMAPRESOURCE * contrib/gtwvg/pushbut.prg + Implemented: Display of Bitmaps or Icons on the pushbuttons from resources also. Before, it was available from disk files only. For this to happen a push button be created like this: WITH OBJECT oXbp := WvgPushButton():new() :pointerFocus := .F. :caption := { "Vouch", WVG_IMAGE_ICONFILE, IMAGE_VR } :border := .F. :create( , , { {|| -( MaxRow() - 1 ) }, -31 }, { -2, -4 } ) :activate := {|| hb_threadStart( {|| demoXbp() } ) } :toolTipText := "Flat Button . Lines: press ESC when finished." ENDWITH :caption := { [<cButtonText>], <nImageType>, <xImage> } => { "Vouch", WVG_IMAGE_ICONFILE, hb_dirBase() + "vr1.ico" } { "Vouch", WVG_IMAGE_ICONRESOURCE, 212 /*Numeric ID in resource*/ } { "Vouch", WVG_IMAGE_ICONRESOURCE, "VOUCHICO" /*Character ID in resource*/ } IMPORTANT - :caption has to be defined before :create() is called. * contrib/gtwvg/tests/demowvg.prg + Added: code to demonstrate above usage. 2013-04-03 05:48 UTC+0200 Viktor Szakats * config/po2lang.hb * hide email in lang .c files * src/lang/*.c * updated/regenerated automatically 2013-04-03 04:08 UTC+0200 Viktor Szakats * config/lang2po.hb * tests/langchk.hb ! fixed filter to allow pt_br and other non-legacy lang ids to pass * src/lang/l_en_tpl.c % deleted outdated information * src/lang/l_pt_br.c * updated automatically 2013-04-03 03:33 UTC+0200 Viktor Szakats * config/lang.hb * contrib/hbrun/hbrun.hbp * utils/hbmk2/hbmk2.hbp * option rename * config/lang2po.hb ! typo * src/lang/l_pt_br.c ! typos * src/lang/l_pt.c * updated from Transifex 2013-04-03 03:15 UTC+0200 Viktor Szakats * bin/check.hb ! fix to filename filter (needs large cleanup) * config/lang.hb * include/hblang.hbx * src/lang/Makefile * src/rtl/langcomp.prg + src/lang/l_pt_br.c + added 'pt_br' language 2013-04-03 03:02 UTC+0200 Viktor Szakats * config/lang.hb + enabled pulling all translation for core-lang * src/lang/l_es_419.c ! fixed lang ID * src/lang/l_*.c * rebuilt automatically from translations pulled from Transifex * config/lang2po.hb + added further clarification to one of the translations, in sync with Transifex comment. (comments cannot be pushed/pulled via .po) * bin/check.hb * minor 2013-04-03 01:48 UTC+0200 Viktor Szakats * tests/lang2po.hb -> config/lang2po.hb * tests/po2lang.hb -> config/po2lang.hb * moved to their final location * config/lang.hb + implemented automatic processed for core lang modules (component name 'core-lang'). The script will automatically convert to/from .c language modules and .po files for Transifex. * src/lang/l_hu.c + updated using above script 2013-04-03 00:19 UTC+0200 Viktor Szakats * include/hblang.hbx * src/lang/Makefile * src/rtl/langcomp.prg + src/lang/l_es_419.c + added 'es_419' - Spanish (Latin America) to Harbour core languages ! fixed typo in language mapping of 'sr-sp-cyrl' to 'sr_cyr' + accept 'zh' for Chinese (Traditional) 2013-04-02 23:44 UTC+0200 Viktor Szakats * tests/lang2po.hb * tests/po2lang.hb ! final touches after uploading most core lang modules 2013-04-02 22:29 UTC+0200 Viktor Szakats * src/lang/l_hu.c + translated one missing item * tests/lang2po.hb * minor tweak 2013-04-02 22:17 UTC+0200 Viktor Szakats - src/lang/*.po * .po files will be intermediate format and not required in repo 2013-04-02 22:09 UTC+0200 Viktor Szakats * bin/check.hb + added file fixup feature (not yet activated) + refined detection of some problems * src/lang/l_de.c * src/lang/l_hu.c * src/lang/l_nl.c * src/lang/l_pl.c ! manual whitepsace/punctuation corrections * src/lang/l_el.c + manually applied translation from Transifex by Pete_wg * some manual whitepsace/punctuation corrections * src/rtl/langapi.c - deleted reference of unused and not needed RFC ID in language modules ; TODO: delete it from the language module string list * src/rtl/tgetlist.prg + handle the translation error where _GET_INSERT_OFF and _GET_INSERT_ON length doesn't match. Draw spaces instead of _GET_INSERT_OFF in that case * tests/lang2po.hb * tests/po2lang.hb + finalized two way .po <-> l_*.c file conversion (copyrights and RFC ID will be lost) 2013-04-02 17:49 UTC+0200 Viktor Szakats + bin/check.hb + new source verifier. Able to all documented (and more) required text file and filename properties. * bin/commit.hb + added feature to verify all files to be committed to conform with certain naming and text file content rules + added some more feedback * config/postinst.hb + include commit.hb and check.hb in 'install' * include/extend.h * contrib/hbcairo/paths.c * contrib/hbcairo/png.c * contrib/hbcairo/util.c * contrib/hbtpathy/readme.txt * tests/harbour.ini * tests/parseins.ini ! multiple EOL at EOF * contrib/hbhpdf/tests/files/cp932.txt * contrib/hbhpdf/tests/files/cp936.txt * contrib/hbhpdf/tests/files/elic_jp.txt ! line ending spaces ! missing EOL at EOF * contrib/hbhttpd/tests/tpl/app/account/edit.tpl * contrib/hbhttpd/tests/tpl/app/login.tpl * contrib/hbhttpd/tests/tpl/app/logout.tpl * contrib/hbhttpd/tests/tpl/app/main.tpl * contrib/hbhttpd/tests/tpl/app/register.tpl * lib/3rd/win/bcc/unicows_license.txt * lib/3rd/win/mingw/libunicows_license.txt ! missing EOL at EOF * COPYING.txt * src/rtl/gtcrs/hb-charmap.def * tests/big5_gen.prg ! tabs * extras/gfspell/spell.prg * src/rtl/gtwin/gtwin.c ! ASCII 127 * src/codepage/cp_tpl.c ! converted to UTF-8 (just guessing what the original CP was) * src/pp/hbpp.c ! do not generate SVN header in hbverbld.h + avoid SVN header string in source as is to miss matched in source verifier * src/vm/extrap.c ! do not generate whitespace at EOL in output * tests/lang2po.hb * tests/po2lang.hb + minor improvements ! fixed to generate consistent EOL * bin/3rdpatch.hb * newline at top deleted * extras/hbdoc/hbdoc.hbp * extras/hbdoc/hbdoc.prg * extras/hbdoc/_tmplates.prg -> extras/hbdoc/_tmplate.prg * contrib/hbcairo/tests/lightning.prg -> contrib/hbcairo/tests/lightnin.prg ! long filename * .gitattributes * extras/guestbk/guestbk.prg * extras/guestbk/guestbk.txt * extras/guestbk/guestbk.htm -> extras/guestbk/guestbk.html * deleted .htm file, now all HTML has extension .html * .exe references in doc made OS neutral ; Can only be used on non-MS-DOS systems, so it's okay 2013-04-02 02:57 UTC+0200 Viktor Szakats * config/lang.hb + include project name in screen output 2013-04-02 02:43 UTC+0200 Viktor Szakats * src/rtl/hbi18n2.prg ! __i18n_potArrayClean() to evaluate transformation codeblock in normal order (was reverse) * tests/lang2po.hb + made all necessary modification to allow two-way conversion + tests/po2lang.hb + added script that converts a core .po back to a lang module * src/rtl/strc.c * casing in comments * config/lang.hb + added std script options 2013-04-02 00:06 UTC+0200 Viktor Szakats - contrib/hbrun/doc/hbrun.md - utils/hbmk2/doc/hbmk2.md - deleted files uploaded accidentally * config/lang.hb ! fixed last minute bug in adding extension to doc file ! fixed being wrongly based, now should be as passed option relative to cwd (was self dir) 2013-04-02 00:00 UTC+0200 Viktor Szakats * config/lang.hb + now requires the target project to be passed on command-line + now pulls configuration from .hbp files. See .hbp changes in this very commit. + generalized the 'hbrun' special case in 'doc_make' mode + generalized doc output type (so can be other than .md now) % doesn't require hbrun tool anymore ; it means the tool is now more or less generic and can support else than hbmk2 * contrib/hbrun/hbrun.hbp * utils/hbmk2/hbmk2.hbp + added configuration options for lang.hb * utils/hbi18n/hbi18n.prg + steps to make it better translatable * utils/hbmk2/hbmk2.prg + provisions to enable context in hb_i18n_*() API usage 2013-04-01 23:45 UTC+0200 Viktor Szakats * utils/hbmk2/lang.hb -> config/lang.hb * moved to global location 2013-04-01 23:42 UTC+0200 Viktor Szakats * utils/hbmk2/lang.hb + trs_push to push all languages + do not create doc of there if not supported 2013-04-01 18:53 UTC+0200 Viktor Szakats * src/rtl/hbi18n2.prg * __i18n_potArrayClean() will now call transformation callback first again * __i18n_potArrayClean() transformation callback returning non-string will now be ignored instead of deleting the item * utils/hbmk2/hbmk2.prg * FIXME added to a help text 2013-04-01 13:36 UTC+0200 Viktor Szakats * .gitignore + added .hrb files * src/rtl/hbi18n2.prg * __i18n_potArrayClean() reverted to call transformation callback after deleting items [UNDONE] 2013-04-01 05:35 UTC+0200 Viktor Szakats * utils/hbmk2/lang.hb + more automatic doctoring of translated strings * utils/hbmk2/hbmk2.prg * added FIXME for an ambiguous translatable string 2013-04-01 04:21 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! few value names were translatable by mistake 2013-04-01 04:13 UTC+0200 Viktor Szakats * src/rtl/hbi18n2.prg + __i18n_potArrayClean() wlll now call transformation callback before deleting items ! __i18n_potArrayClean() fixed item deletion when transformation callback returns non-string * ChangeLog.txt * missed changed from prev 2013-04-01 03:33 UTC+0200 Viktor Szakats * src/rtl/hbi18n2.prg ! __i18n_potArraySort() fixed to not RTE when no source is present + __i18n_potArraySort() tweaked to sort items w/o source info to always come before ones with source info + __i18n_potArrayClean() will now call transformation callback before deleting items + __i18n_potArrayClean() will now remove the item in question if the callback returns any non-string value [CHANGED] + __i18n_potArrayClean()'s second lKeepVoidTranslations = .F. option will now also remove items where the translation is identical to the msg id + __i18n_potArrayClean() wlll now pass the msg id as second parameter to transformation callback (so it can do more advanced verifications) - utils/hbmk2/_po_pull.hb - utils/hbmk2/_po_push.hb - utils/hbmk2/_md_make.hb + utils/hbmk2/hblang.hb * merged separate management scripts into one + sort pulled .po files before stripping/processing ! do not process .po files in place to avoid race conditions between parallel script sessions * minor tweaks * README.md ! minor 2013-04-01 01:35 UTC+0200 Viktor Szakats * src/rtl/hbi18n2.prg * consider the complete original string when sorting (was first 30 chars) * utils/hbmk2/_po_pull.hb ! more automatic translation fixups: "( " -> "(" " )" -> ")" 2013-04-01 01:28 UTC+0200 Viktor Szakats * utils/hbmk2/_po_pull.hb ! fixed wrong EOL forming after prev % consolidated newline transformation into new doctoring calling + fixing EOL+space into EOL in translated text 2013-04-01 01:14 UTC+0200 Viktor Szakats * include/harbour.hbx * src/rtl/hbi18n2.prg + added __i18n_potArrayClean() function that can clean source comments, empty translations and able to do transformations on translations via use supplied callback. * utils/hbmk2/_po_pull.hb + do cleansing on .po files pulled from Transifex: % strip source comments % strip empty translations ! strip right/left padding from translated strings ! convert multiple spaces to single one in translated strings ; This will help keeping the diffs nice and tight and the .po files in repo minimal in size - utils/hbmk2/po/! - deleted another accindental file :( fixed auto-script to be more selective. 2013-04-01 00:17 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + will now use UTF-8 when the stdout is redirected to file (caveat: will also use UTF-8 when using Windows tools like 'more' that do not understand UTF-8) + will now use UTF-8 when using -viewhelp to open the help in viewer * README.md * minor clarification to formatting cmd templates * .gitattributes + some lines for future testing 2013-03-31 22:52 UTC+0200 Viktor Szakats * include/harbour.hbx * src/rtl/hbi18n2.prg + added __i18n_potArraySort( aTrans ) -> aTrans to sort .pot files to a predictable order (of first occurrence in file). It helps reducing unnecessarily large and unusable diffs when updating .pots and their related .po files * utils/hbmk2/hbmk2.prg * marked some string previously (and intentionally) marked as non-translatable, as translatable. One exception less. * utils/hbmk2/_po_push.hb + sort .pot before saving and pushing to localization service 2013-03-31 22:01 UTC+0200 Viktor Szakats * .gitignore * better rules to exclude lib subdir 2013-03-31 21:52 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + clarified 'target' in several help items + added 'to stdout' to clarifiy some help items + use 'platform/C compiler' except 'toolchain' 2013-03-31 21:38 UTC+0200 Viktor Szakats * doc/en/input.txt * doc/en/string.txt * minor cleanup 2013-03-31 21:35 UTC+0200 Viktor Szakats * contrib/hbgt/tests/test.prg * doc/en/array.txt * doc/en/command.txt * doc/en/rdddb.txt * doc/en/rddmisc.txt * doc/en/string.txt * doc/en/var.txt * include/dbinfo.ch * src/rdd/dbcmd53.c * src/rtl/mouse53.c * minor doc/comment/test cleanups 2013-03-31 21:22 UTC+0200 Viktor Szakats * .gitignore * deleted .def file as they are now covered by bin/*/ and otherwise .def files do exist in source repo * contrib/rddads/doc/en/adsfuncs.txt * doc/en/string.txt * cleanups * utils/hbmk2/hbmk2.prg * cleaned function skeletons in help * extras/hbdoc/hbdoc.prg + include unknown COMPLIANCE value as in is doc instead of an error msg * src/compiler/compi18n.c * uncrustified, tweak formatting manually % optimized variable scopes * src/rtl/hbi18n2.prg * minor formatting 2013-03-31 20:13 UTC+0200 Viktor Szakats - utils/hbmk2/po/hbmk2.hu!.po - deleted accidentally added file * utils/hbmk2/_md_make.hb * utils/hbmk2/_po_pull.hb * minor tweaks * utils/hbmk2/po/hbmk2.hu.po + added two translations for testing automatic .po translation upload 2013-03-31 16:34 UTC+0200 Viktor Szakats * utils/hbmk2/_md_make.hb * utils/hbmk2/_po_pull.hb * utils/hbmk2/_po_push.hb + generalizing further 2013-03-31 15:15 UTC+0200 Viktor Szakats * utils/hbmk2/_md_make.hb * utils/hbmk2/_po_pull.hb * utils/hbmk2/_po_push.hb + internals almost fully generalized + convert Transifex newline symbol to real newline * utils/hbmk2/hbmk2.prg + AllTrim() some translated text to avoid bad Markdown result when translated text contains left/right padding. ; TODO: double spaces in translated text and extend above to all strings, and move the whole post-processing/fixing to the po pull stage. Would be nice to have a core i18n function to be able to apply transformations via codeblock to translated text. [DONE] 2013-03-31 04:46 UTC+0200 Viktor Szakats * utils/hbmk2/_md_make.hb * utils/hbmk2/_po_pull.hb * utils/hbmk2/_po_push.hb % much faster .md generation + internals modified to ease moving the scripts to other dir + better feedback * utils/hbmk2/hbmk2.prg * formatting and minor 2013-03-30 16:43 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg * <lev> -> <level> in help for better clarity 2013-03-30 14:55 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg ! two missing hb_ prefixes in help 2013-03-30 12:09 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg ! fixed two base strings to not require translators to preserve whitespace padding 2013-03-30 12:06 UTC+0100 Viktor Szakats * .gitattributes + added .yml * utils/hbmk2/_md_make.hb ! fixed to include base language * utils/hbmk2/_po_push.hb ! fixed one cwd dependence * utils/hbmk2/hbmk2.hbp * fmt 2013-03-30 04:24 UTC+0100 Viktor Szakats * utils/hbmk2/_po_push.hb * utils/hbmk2/po/hbmk2.en.po * messing around with EOL types 2013-03-30 04:20 UTC+0100 Viktor Szakats * utils/hbmk2/_po_push.hb + will now refresh source language .po (.pot) from source code + will now save source .po locally 2013-03-30 03:52 UTC+0100 Viktor Szakats + utils/hbmk2/_po_push.hb + added script to upload English source .po file * utils/hbmk2/_po_pull.hb * minors * utils/hbmk2/_po_dl.hb -> utils/hbmk2/_po_pull.hb * utils/hbmk2/_md_gen.hb -> utils/hbmk2/_md_make.hb * renamed (slipped in a prev commit by mistake) 2013-03-30 02:48 UTC+0100 Viktor Szakats * README.md * terminology (translation -> localization) 2013-03-30 02:03 UTC+0100 Viktor Szakats * README.md * moved Travis build status to top + linked to two users' list posts on unstable builds % deleted old envvars recommended for deletion (they don't appear anymore in user reports) * utils/hbmk2/_po_dl.hb + allow login information to be supplied via envvar ! minor cleanup 2013-03-30 01:05 UTC+0100 Viktor Szakats * utils/hbmk2/_md_gen.hb ! fixed another cwd dependence 2013-03-30 01:00 UTC+0100 Viktor Szakats * utils/hbmk2/_md_gen.hb * utils/hbmk2/_po_dl.hb + made them work regardless of cwd (some changes slipped into prev automatic commit, sorry) 2013-03-30 00:43 UTC+0100 Viktor Szakats * README.md + added status chart and link about ui translation to README 2013-03-30 00:26 UTC+0100 Viktor Szakats * utils/hbmk2/_po_dl.hb ! fixed to work in its final location 2013-03-29 23:25 UTC+0100 Viktor Szakats * src/rtl/cdpdet.prg * src/rtl/langcomp.prg * utils/hbmk2/_md_gen.hb + added support for Spanish (Latin American) (es_419) dialect * utils/hbmk2/hbmk2.hbp + added es_419, synced with Transifex language codes + utils/hbmk2/_po_dl.hb + added automatic script that refreshes repo translations with Transifex translation data * utils/hbmk2/po/hbmk2.el.po * utils/hbmk2/po/hbmk2.hu.po * utils/hbmk2/po/hbmk2.it.po + utils/hbmk2/po/hbmk2.es_419.po + utils/hbmk2/po/hbmk2.fr_FR.po * utils/hbmk2/po/hbmk2.es.po -> utils/hbmk2/po/hbmk2.es_ES.po * synced language codes + updated from Transifex using new script _po_dl.hb * contrib/hbrun/doc/hbrun.hu.md * contrib/hbrun/doc/hbrun.it.md + contrib/hbrun/doc/hbrun.es_419.md * contrib/hbrun/doc/hbrun.fr.md -> contrib/hbrun/doc/hbrun.fr_FR.md * contrib/hbrun/doc/hbrun.es.md -> contrib/hbrun/doc/hbrun.es_ES.md * synced language codes + regerenated using _md_gen.hb * utils/hbmk2/doc/hbmk2.el.md * utils/hbmk2/doc/hbmk2.hu.md * utils/hbmk2/doc/hbmk2.it.md + utils/hbmk2/doc/hbmk2.es_419.md * utils/hbmk2/doc/hbmk2.fr.md -> utils/hbmk2/doc/hbmk2.fr_FR.md * utils/hbmk2/doc/hbmk2.es.md -> utils/hbmk2/doc/hbmk2.es_ES.md * synced language codes + regerenated using _md_gen.hb 2013-03-29 21:36 UTC+0100 Viktor Szakats + utils/hbmk2/_md_gen.hb + added script to generate .md helps + contrib/hbrun/doc/_GENERATED_ + contrib/hbrun/doc/hbrun.el.md + contrib/hbrun/doc/hbrun.es.md + contrib/hbrun/doc/hbrun.fr.md + contrib/hbrun/doc/hbrun.hu.md + contrib/hbrun/doc/hbrun.it.md + contrib/hbrun/doc/hbrun.pt_BR.md + utils/hbmk2/doc/_GENERATED_ + utils/hbmk2/doc/hbmk2.el.md + utils/hbmk2/doc/hbmk2.es.md + utils/hbmk2/doc/hbmk2.fr.md + utils/hbmk2/doc/hbmk2.hu.md + utils/hbmk2/doc/hbmk2.it.md + utils/hbmk2/doc/hbmk2.pt_BR.md * contrib/hbrun/hbrun.md -> contrib/hbrun/doc/hbrun.en.md * utils/hbmk2/hbmk2.md -> utils/hbmk2/doc/hbmk2.en.md + added hbmk2 and hbrun helps in all available languages + added French files (by Alain Aupeix) * README.md * updated hbmk2 and hbrun online doc links 2013-03-29 20:07 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + be more predictable when falling back to other dialects found on disk 2013-03-29 19:31 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + better match algrorithm for finding .hbl translation modules e.g. "es_AR" will fall back to "es", than fall back to whichever dialect is present. "es" will also be matched to "es_*" when "es" not present. ! now able to load languages Harbour doesn't even know about * utils/hbmk2/hbmk2.hbp * utils/hbmk2/po/hbmk2.el_GR.po -> utils/hbmk2/po/hbmk2.el.po * utils/hbmk2/po/hbmk2.es_PE.po -> utils/hbmk2/po/hbmk2.es.po * utils/hbmk2/po/hbmk2.hu_HU.po -> utils/hbmk2/po/hbmk2.hu.po * utils/hbmk2/po/hbmk2.it_IT.po -> utils/hbmk2/po/hbmk2.it.po % renamed to use short language code for languages that are unlikely to have multiple dialects implemented. We can branch out new dialects anytime as needed. (I'm still pending on Spanish. Please answer on the forum whether to have separate es_PE, es_AR and else.) 2013-03-29 18:17 UTC+0100 Viktor Szakats * utils/hbmk2/po/hbmk2.en_US.po -> utils/hbmk2/po/hbmk2.en.po * tuning language IDs 2013-03-29 16:32 UTC+0100 Viktor Szakats * utils/hbmk2/po/hbmk2.pt_BR.po * updated translation (by SAMI LAHAM) 2013-03-29 16:22 UTC+0100 Viktor Szakats * src/rtl/langcomp.prg ! fixed hb_langSelect() to accept ISO language codes using '_' as separator * utils/hbmk2/po/hbmk2.el_GR.po * updated translation (by Pete_wg) 2013-03-29 14:38 UTC+0100 Viktor Szakats * contrib/gtwvg/gtwvg.h * contrib/gtwvg/tests/demowvg.prg * contrib/gtwvg/wvgcore.c ! fixed to use HB_BOOL instead of BOOL ! formatting (.t. -> .T.) 2013-03-29 14:20 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.hbp * utils/hbmk2/hbmk2.el_GR.po -> utils/hbmk2/po/hbmk2.el_GR.po * utils/hbmk2/hbmk2.en_US.po -> utils/hbmk2/po/hbmk2.en_US.po * utils/hbmk2/hbmk2.es_PE.po -> utils/hbmk2/po/hbmk2.es_PE.po * utils/hbmk2/hbmk2.hu_HU.po -> utils/hbmk2/po/hbmk2.hu_HU.po * utils/hbmk2/hbmk2.it_IT.po -> utils/hbmk2/po/hbmk2.it_IT.po * utils/hbmk2/hbmk2.pt_BR.po -> utils/hbmk2/po/hbmk2.pt_BR.po * moved translation files under subdir 2013-03-29 12:51 UTC+0100 Viktor Szakats * README.md + added translation homepage to Harbour Links 2013-03-29 12:44 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.el_GR.po ! fixed encoding messed up by a Far Manager plugin which gets it wrong while trimming line ending whitespace 2013-03-29 12:34 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.hbp * utils/hbmk2/hbmk2.es_PE.po * utils/hbmk2/hbmk2.hu_HU.po * utils/hbmk2/hbmk2.pt_BR.po + utils/hbmk2/hbmk2.el_GR.po + utils/hbmk2/hbmk2.it_IT.po * updated translations from https://www.transifex.com/projects/p/harbour/resource/hbmk2/ + added two new languages from above team translation project 2013-03-28 18:05 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.*.po + added language header tag 2013-03-28 15:20 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/gtwvg/gtwvg.h * contrib/gtwvg/wvgcore.c * contrib/gtwvg/wvgwin.c * contrib/gtwvg/tests/demowvg.prg - Deleted: $id:$ headers which were restored in prev commit by mistake. 2013-03-28 12:12 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/gtwvg/gtwvg.h * contrib/gtwvg/wvgcore.c * contrib/gtwvg/wvgwin.c + Implemented: Wvt_DrawPicture( ,,,,,, lDoNotScale ) 7th Arg Wvt_DrawImage( ,,,,,, lDoNotScale ) 7th Arg Wvg_DrawImage( ,,,,, lDoNotScale ) 6th Arg If <lDoNotScale> is TRUE, then image will be displayed in its original proportion but centered in the supplied coordinates. This resolves many messages posted recently. * contrib/gtwvg/tests/demowvg.prg % Changed to demonstrate the use of <lDoNotScale> argument as above. 2013-03-28 17:59 UTC+0100 Viktor Szakats * README.md + added two .po links 2013-03-28 17:47 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg ! fixed to detect and find contrib/addons root in non-system location on *nix systems * ChangeLog.txt * update to 2013-03-27 16:29 UTC+0100 2013-03-28 17:33 UTC+0100 Viktor Szakats + utils/hbmk2/hbmk2.en_US.po + added base language .po file Generated using: $ harbour hbmk2.prg /jhbmk2.pot /i..\..\include /s $ hbi18n -a hbmk2.pot hbmk2.en_US.po -ohbmk2.en_US.po 2013-03-28 16:18 UTC+0100 Viktor Szakats * src/lang/*.po + added last copyright holder to as 'Last-Translator' 2013-03-28 16:17 UTC+0100 Viktor Szakats * src/lang/l_hr.c * one more cleanup 2013-03-28 16:09 UTC+0100 Viktor Szakats * src/lang/l_he.c * src/lang/l_hr.c * src/lang/l_is.c * src/lang/l_pt.c * src/lang/l_sk.c * src/lang/l_zh_sim.c * src/lang/l_zh_tra.c * further cleanup + src/lang/*.po + added .po files converted from language modules using tests/lang2po.hb script 2013-03-28 16:02 UTC+0100 Viktor Szakats * src/lang/l_cs.c * src/lang/l_de.c * src/lang/l_he.c * src/lang/l_hr.c * src/lang/l_is.c * src/lang/l_pt.c * src/lang/l_sk.c * cleaned copyright holder lists * tests/lang2po.hb % convert same as original translations to empty strings 2013-03-28 15:53 UTC+0100 Viktor Szakats * contrib/hbnetio/utils/hbnetio/netiomgm.hb * src/rtl/hbdoc.prg * src/rtl/hbfilehi.prg * tests/stripeol.hb % use :__enumIsLast() 2013-03-28 14:51 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.es_PE.po * utils/hbmk2/hbmk2.hu_HU.po * utils/hbmk2/hbmk2.pt_BR.po ! added standard .po meta headers (manually for now) ! fixed after validating them using 'msgfmt <.po> -c' * include/hbexpra.c * src/compiler/harbour.y * src/compiler/harbour.yyc * src/vm/classes.c * tests/foreach.prg + added :__enumIsLast() enum method. It returns .T. for last relement, .F. else. It's useful to replace conditions like: 'item:__enumIndex() < Len( item:__enumBase() )' * tests/lang2po.hb + added standard .po meta header ; use __enumIsLast() * contrib/hbnetio/utils/hbnetio/_console.prg ! fixed wrongly initialized management plugin (missed to update it when adapted the plugin for hbrun last year) * contrib/hbnetio/utils/hbnetio/netiomgm.hb ! fixed to show proper error instead of RTE, if RPC calls fail to return expect values * contrib/hbnetio/utils/hbnetio/hbnetio.prg * formatting 2013-03-28 03:24 UTC+0100 Viktor Szakats * .gitignore ! fixed excluding obj subdirs 2013-03-28 03:22 UTC+0100 Viktor Szakats * README.md * reverted to use ndashes * utils/hbmk2/hbmk2.prg % most option references changed to string variables, optimizing translatable strings and made them less dependent on changes in option names ! one typo in help * utils/hbmk2/*.po + regenerated. orphan translations deleted. * contrib/hbrun/hbrun.md * utils/hbmk2/hbmk2.md + regenerated 2013-03-27 16:51 UTC+0100 Viktor Szakats * README.md ! fixed bad links 2013-03-27 16:29 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg ! fixed to suppress remaining remaining double outputs at startup in hbrun mode, when processing .hbc files * contrib/hbexpat/hbexpat.hbc ! added usage-time detection of locally hosted 3rd party dependency to avoid warnings when the locally hosted dependency is not present (e.g. because the system hosted copy was used at build/install time) Experimental. ; TODO: If it works fine, should be applied to other similar contribs: hbbz2, hbhpdf, hblzf, hbmlzo, hbmxml, hbmzip, hbsqlit3, hbtinymt, hbxdiff, sddsqlt3 ; UPDATE: seems that expat.hbc is installed even if system expat is used, so above might not be necessary * README.md * typographic and misc improvements * config/global.mk + detect qnx cross-compile tool (via Francesco Perillo) * include/hbsetup.h * src/common/hbtrace.c + added macro HB_OS_QNX_BB10 for BlackBerry 10 subplatform + guard some stuff that's not present in BB10 (via Francesco Perillo) * contrib/hbtinymt/3rd/tinymt/tinymt.hbc ! deleted $Id 2013-03-27 03:54 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + changed the way script debugging is invoked, now instead of little awkward HBSHELL_DEBUG envvar, it's as simple as adding '--hb:debug' option to the command-line. ! fixed RTE after recent patch * README.md + typographic refinements + added script debugging example + added link to BOM article * .gitignore ! fixed to not match config/<platform> + config/qnx/gccarm.mk + added qnx/gccarm (with BB in mind) * package/winuni/RELNOTES.txt ! updated README section reference * COPYING.txt * minor * tests/hello.prg + std text 2013-03-26 16:32 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg ! fixed to use 'hbshell' prefix in output messages when running in hbrun mode ! do not display double warning about missing .hbc files % use _hbmk_OutErr() in hbshell code * config/global.mk * README.md + enabled HB_BUILD_CONTRIB_DYN on all platforms (regressions possible) (untested on platforms that do not support dynamic libs, like MS-DOS) * README.md % deleted redundant link + added no-BOM requirement 2013-03-26 11:07 UTC+0100 Viktor Szakats * contrib/hbssl/hbssl.hbx ! fixed casing inconsistencies 2013-03-26 03:58 UTC+0100 Viktor Szakats * extras/template/hbtpl.hbc * extras/template/hbtpl.hbp * utils/hbmk2/pkg_inst.hbm + added support and example for alternate header directory in 'include' subdirectory under package root. 2013-03-26 01:47 UTC+0100 Viktor Szakats * config/global.mk * config/postinst.hb * doc/gmake.txt * doc/howtorep.txt * doc/oldnews.txt * package/mpkg_win.nsi * package/winuni/mpkg_win_uni.bat * package/winuni/mpkg_win_uni.nsi * package/winuni/RELNOTES.txt * tests/hbdoc.prg * README.txt -> README.md * renamed README.txt to README.md 2013-03-26 01:26 UTC+0100 Viktor Szakats * contrib/make.hb * README.txt + simplified the way a contrib can be (re)built 2013-03-25 21:41 UTC+0100 Viktor Szakats + tests/achoice3.prg + added another AChoice() FIXME demonstration. Sent by Tony ! code adatped to Harbour stds, some formatting for hbformat misses. 2013-03-25 21:33 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg ! corrected a few spelling subtleties 2013-03-25 21:31 UTC+0100 Viktor Szakats * README.txt ! expression correction 2013-03-25 20:27 UTC+0100 Viktor Szakats * doc/Makefile ! updated for recently deleted file * config/global.mk * utils/hbmk2/hbmk2.prg + autodetect gcc 4.8 * package/winuni/mpkg_win_uni.bat + include sjlj and seh libgcc dlls (starting with gcc 4.8, libgcc dll is required by default) 2013-03-25 16:14 UTC+0100 Viktor Szakats * extras/template/tests/hbmk.hbm * reverted to not refer to hbtest.hbc * README.txt * sections renumbered + updated the way to submit patches to use Git facilities + it's now an UTF-8 file 2013-03-25 01:21 UTC+0100 Viktor Szakats * contrib/hbct/doc/en/ctstr.txt * deleted values of constants from docs 2013-03-24 23:49 UTC+0100 Viktor Szakats * extras/hbdoc/hbdoc.prg + handle unknown compliance strings gracefully 2013-03-24 23:47 UTC+0100 Viktor Szakats - contrib/hbmisc/doc/en/ht_doc.txt * contrib/hbmisc/doc/en/ht_conv.txt * doc cleanups 2013-03-24 23:38 UTC+0100 Viktor Szakats * extras/hbdoc/_tmplates.prg * extras/hbdoc/hbdoc.prg + several NF docs validation errors are now considered warnings only. This way contrib docs are now included. 2013-03-24 23:37 UTC+0100 Viktor Szakats * contrib/rddads/doc/en/readme.txt ! added missing category 2013-03-24 22:39 UTC+0100 Viktor Szakats * doc/en/subcodes.txt * extras/hbdoc/_tmplates.prg * extras/hbdoc/hbdoc.prg * extras/httpsrv/uhttpd.prg * tests/fixcase.hb * cleanups 2013-03-24 21:39 UTC+0100 Viktor Szakats * doc/en/browse.txt * doc/en/diskspac.txt * doc/en/file.txt * doc/en/objfunc.txt * doc/en/rdddb.txt * cleanups 2013-03-24 21:25 UTC+0100 Viktor Szakats * doc/en/datetime.txt * cleanups 2013-03-24 20:22 UTC+0100 Viktor Szakats * contrib/hbct/doc/en/*.txt * contrib/hbgt/doc/en/hbgt.txt * contrib/hbmisc/doc/en/*.txt * contrib/hbziparc/doc/en/hbziparc.txt * contrib/rddads/doc/en/adsfuncs.txt * doc/en/*.txt ! space after comma ! unicode fix ! minor corrections * extras/template/tests/hbmk.hbm * cleaned recently added comment 2013-03-23 18:01 UTC+0100 Viktor Szakats * extras/httpsrv/home/xsl/based.xsl ! missing EOL @ EOF 2013-03-23 17:51 UTC+0100 Viktor Szakats * contrib/hbhttpd/tests/files/main.css * extras/httpsrv/home/css/base.css * extras/httpsrv/home/index.html * extras/httpsrv/home/js/ajax.js * extras/httpsrv/home/postsample.html * extras/httpsrv/home/testajax.html * extras/httpsrv/home/testxmldb.html * extras/httpsrv/home/xsl/based.xsl * extras/httpsrv/home/xsl/basep.xsl ! EOL fixes to avoid Git warning 2013-03-23 17:33 UTC+0100 Viktor Szakats * extras/template/tests/hbmk.hbm + comment + link with hbtest automatically 2013-03-23 17:29 UTC+0100 Viktor Szakats * extras/httpsrv/home/counter.html ! EOL fix 2013-03-23 17:26 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + added new note about processing of target type options 2013-03-23 13:19 UTC+0100 Viktor Szakats * contrib/hbnetio/utils/hbnetio/hbnetio.hbp * contrib/hbnetio/utils/hbnetio/hbnetio.prg * extras/guestbk/guestbk.hbp * extras/guestbk/guestbk.prg * extras/hbdoc/hbdoc.hbp * extras/hbdoc/hbdoc.prg * extras/httpsrv/uhttpd.hbp * extras/httpsrv/uhttpd.prg ! partially reverted to pick sources from .hbp and only use SET PROCEDURE in script mode. Ugly, but SET PROCEDURE can only find sources in cwd. 2013-03-23 12:53 UTC+0100 Viktor Szakats * contrib/hbnetio/utils/hbnetio/hbnetio.hbp * README.txt ! corrections to prevs 2013-03-22 19:05 UTC+0100 Viktor Szakats * contrib/xhb/hbdll.ch + removed unnecessary win platform guard. (In Harbour dynlib calls work on every OS) 2013-03-22 11:12 UTC+0100 Viktor Szakats * README.txt + added link to automated build service page 2013-03-22 03:49 UTC+0100 Viktor Szakats * README.txt ! expat installation examples deleted (it's hosted locally) 2013-03-22 02:26 UTC+0100 Viktor Szakats * contrib/hbnetio/utils/hbnetio/hbnetio.hbp * contrib/hbwin/tests/dlg.prg * contrib/hbnetio/utils/hbnetio/netiocon.prg -> contrib/hbnetio/utils/hbnetio/_console.prg * contrib/hbnetio/utils/hbnetio/netiosvc.prg -> contrib/hbnetio/utils/hbnetio/_winsvc.prg * contrib/hbnetio/utils/hbnetio/netiosrv.prg -> contrib/hbnetio/utils/hbnetio/hbnetio.prg + hbnetio made runnable as script * minor cleanups 2013-03-22 01:52 UTC+0100 Viktor Szakats * extras/guestbk/guestbk.hbp * extras/guestbk/guestbk.prg * extras/guestbk/inifiles.prg -> extras/guestbk/_inifile.prg * extras/guestbk/cgi.prg -> extras/guestbk/_cgi.prg + guestbk made runnable as script + enabled -w3 warnings ! fixed to build with gtcgi ! fixed -w3 warnings 2013-03-21 19:00 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + when running a script with hbrun/hbmk2 from command-line, show an error if it's not found instead of launching the interactive menu. * doc/en/tbrowse.txt ! minor, for testing commits 2013-03-21 18:56 UTC+0100 Viktor Szakats * doc/en/tbrowse.txt 2013-03-21 13:08 UTC+0100 Viktor Szakats * contrib/hbmisc/hbedit.prg * contrib/xhb/stream.prg * contrib/xhb/tfile.prg * doc/en/file.txt * extras/gfspell/spell.prg * extras/httpsrv/_cgifunc.prg * src/rdd/usrrdd/rdds/logrdd.prg * tests/inifiles.prg ! fixed F_ERROR usage * extras/guestbk/cgi.prg * extras/guestbk/inifiles.prg * extras/hbvpdf/core.prg * tests/longdev.prg * unicode fix, #if 0, cleanups 2013-03-21 12:40 UTC+0100 Viktor Szakats * contrib/hbtip/client.prg * contrib/hbtip/ftpcli.prg * use F_ERROR + added FIXME for unhandled FOpen()/FCreate() error 2013-03-21 12:20 UTC+0100 Viktor Szakats * src/pp/hbpp.c ! bcc warning * less empty lines in generated .h 2013-03-20 16:22 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg ! fixed missed sysloc detection causing RTE in hbrun mode when running scripts using #request to .hbc files with libpath references in some cases 2013-03-20 12:34 UTC+0100 Viktor Szakats * README.txt + added new ways of following commits, including email. Section moved to unstable source section. 2013-03-20 12:12 UTC+0100 Viktor Szakats * doc/en/input.txt + use hb_keyChar(), some other corrections 2013-03-20 00:48 UTC+0100 Viktor Szakats * config/postinst.hb * utils/hbmk2/hbmk2.prg % string forming optimizations * doc/en/tlabel.txt * doc/en/treport.txt * made filename usage clear * README.txt + added new OpenSSL documentation wiki 2013-03-19 14:18 UTC+0100 Viktor Szakats * README.txt + added links where commits can be followed 2013-03-19 02:42 UTC+0100 Viktor Szakats * doc/howtorep.txt * minor casing * src/vm/dlmalloc.c * src/vm/hvm.c ! fixed mingw -Wstrict-prototypes warnings 2013-03-18 17:25 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbtip/httpcli.prg + Added: method delete() to post DELETE verb required for RESTful implementation. 2013-03-19 00:13 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg ! silly regression in 2013-02-17 12:43 UTC+0100 causing -icon= option to stop working. Thanks to Pritpal for reporting. 2013-03-18 23:46 UTC+0100 vszakats * README.txt + documented Git 1.7 requirement 2013-03-18 22:17 UTC+0100 Viktor Szakats * doc/en/dir.txt * extras/hbdoc/_genhtml.prg * extras/hbdoc/hbdoc.prg ! fixed not to double each doc entry * cleanups 2013-03-18 21:51 UTC+0100 Viktor Szakats - doc/en/strotype.txt * doc/en/compiler.txt * doc/en/garbage.txt * tests/dyn.prg * tests/dynwin.prg * cleanups 2013-03-18 19:03 UTC+0100 Viktor Szakats * doc/en/*.txt * doc cleanups 2013-03-18 17:22 UTC+0100 Viktor Szakats * contrib/hbcairo/pattern.c ! fixed cairo_pattern_get_radial_points() to cairo_pattern_get_radial_circles() after Pull Request https://github.com/harbour/core/pull/2 2013-03-18 17:13 UTC+0100 Viktor Szakats * contrib/hbcairo/context.c * contrib/hbcairo/core.c * contrib/hbcairo/pattern.c ! uncrustified after Pull Request https://github.com/harbour/core/pull/2 2013-03-18 14:17 UTC+0100 Viktor Szakats * ChangeLog.txt ! fixes https://github.com/harbour/core/issues/1 (test issue) 2013-03-18 01:27 UTC+0100 Viktor Szakats * contrib/hbcairo/context.c * contrib/hbcairo/transfor.c * formatting 2013-03-18 00:25 UTC+0100 Viktor Szakats * README.txt + added GitHub client links (Mac/Windows) 2013-03-18 00:09 UTC+0100 Viktor Szakats * bin/commit.hb + automatically use the git username and email in the generated ChangeLog.txt entries 2013-03-18 00:01 UTC+0100 Viktor Szakats * doc/howtorep.txt * updated for Git 2013-03-17 23:04 UTC+0100 Viktor Szakats * contrib/hbcairo/image.c ! fixed to always define .prg level CAIRO_IMAGE_SURFACE_CREATE() 2013-03-17 21:59 UTC+0100 Viktor Szakats * doc/en/dbstrux.txt * doc/en/hvm.txt * cleanups to $EXAMPLES$ 2013-03-17 21:48 UTC+0100 Viktor Szakats * extras/hbdoc/hbdoc.prg * extras/httpsrv/uhttpd.prg * extras/hbdoc/genbase.prg -> extras/hbdoc/_genbase.prg * extras/hbdoc/genhtml.prg -> extras/hbdoc/_genhtml.prg * extras/hbdoc/gentxt.prg -> extras/hbdoc/_gentxt.prg * extras/hbdoc/genxml.prg -> extras/hbdoc/_genxml.prg * extras/hbdoc/tmplates.prg -> extras/hbdoc/_tmplates.prg * extras/httpsrv/cgifunc.prg -> extras/httpsrv/_cgifunc.prg * extras/httpsrv/cookie.prg -> extras/httpsrv/_cookie.prg * extras/httpsrv/session.prg -> extras/httpsrv/_session.prg * renamed non-entry modules to have a '_' prefixed filename 2013-03-17 21:46 UTC+0100 Viktor Szakats * README.txt + added wikipedia article link * extras/hbdoc/genhtml.prg * extras/hbdoc/genxml.prg * extras/hbdoc/hbdoc.hbp * extras/hbdoc/hbdoc.prg * extras/hbdoc/tmplates.prg + can now be run as script ! fixed to not chop off left columns of examples and tests * synced banner function with utils * use strings instead of ASCII values to represent them ! fixed source directory reference ! close some unclosed HTML tags * doc/en/menu.txt * cleanup * doc/en/file.txt * doc/en/hbflock.txt * doc/en/memo.txt * doc/en/string.txt * deleted faulty 64 KiB limit information * extras/httpsrv/cgifunc.prg * extras/httpsrv/uhttpd.hbp * extras/httpsrv/uhttpd.ini * extras/httpsrv/uhttpd.prg * instead of HRBMAIN() start whatever is the first public function in external script modules + uhttpd can now be run as script * minor cleanups + extras/httpsrv/logs/empty + added empty directory to avoid error on startup of uhttpd 2013-03-17 16:06 UTC+0100 Viktor Szakats - package/updt_web_nightly.sh - deleted website updater script. no longer needed with GitHub 2013-03-17 16:06 UTC+0100 Viktor Szakats * package/updt_web_nightly.sh * updated repo name 2013-03-17 14:52 UTC+0100 Viktor Szakats * contrib/hbpost.hbm * contrib/hbpre.hbm * minor formatting 2013-03-17 10:21 UTC+0100 Viktor Szakats * .gitattributes + added .md * contrib/hbrun/hbrun.md * utils/hbmk2/hbmk2.prg * show 'hbrun' instead of 'hbmk2' when outputting hbrun help 2013-03-16 18:47 UTC+0100 Viktor Szakats * README.txt + added links to hbmk2 and hbrun help * replaced hbmk2 -help with web link for it 2013-03-16 18:42 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.md * utils/hbmk2/hbmk2.prg * minor correction to a help item * added note about accepted dirsep types 2013-03-16 18:28 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.md * utils/hbmk2/hbmk2.prg * added prompt to examples cmds 2013-03-16 18:25 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + added options (-longhelpmdsh) to generate hbrun .md help + contrib/hbrun/hbrun.md + added .md help for hbrun (generated using hbmk2 -longhelpmdsh > hbrun.md) 2013-03-16 18:20 UTC+0100 Viktor Szakats + utils/hbmk2/hbmk2.md + added .md help for hbmk2 (generated using hbmk2 -longhelpmd > hbmk2.md) 2013-03-16 18:11 UTC+0100 Viktor Szakats * config/global.mk * minor * utils/hbmk2/hbmk2.prg * experimenting with formatting the revision number to more readable format 2013-03-16 17:38 UTC+0100 Viktor Szakats * bin/commit.hb * contrib/hbblat/tests/test.prg * contrib/hbmisc/doc/en/ht_file.txt * contrib/hbmysql/diff-en.txt * contrib/hbnf/doc/en/video1.txt * contrib/hbnf/doc/en/woy.txt * contrib/hbnf/tests/datecnfg.prg * contrib/hbtip/ftpcli.prg * doc/en/diskspac.txt * doc/en/file.txt * doc/en/hbflock.txt * doc/en/set.txt * doc/en/tbrowse.txt * doc/Makefile * doc/pcode.txt * tests/db_brows.prg ! cleanups and fixes in comments/docs mostly 2013-03-16 16:59 UTC+0100 Viktor Szakats * contrib/hbct/screen2.c ! fixed to use HB_SIZE instead of int 2013-03-16 16:12 UTC+0100 Viktor Szakats * bin/3rdpatch.hb * COPYING -> COPYING.txt * src/common/hbver.c * 'Rev.' -> 'r' in VERSION() string. This affects all utility banners * utils/hbi18n/hbi18n.prg * assemble version display instead of assumptions about VERSION() content * utils/hbmk2/hbmk2.*.po * utils/hbmk2/hbmk2.prg * cleanups * tests/cblock.prg -> tests/codebl2.prg * rename 2013-03-16 13:49 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg * 'Rev.' -> 'r' in hbmk2/hbrun header 2013-03-16 12:52 UTC+0100 Viktor Szakats * tests/cpinfo.prg * do not generate VCS id header 2013-03-16 12:15 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.*.po * utils/hbmk2/hbmk2.prg * changed order of VCS systems in help * config/global.mk - deleted commented svn support * tests/stripsvn.hb -> tests/stripid.hb * avoid the word 'svn' 2013-03-16 12:10 UTC+0100 Viktor Szakats * README.txt * minor to git clone * src/pp/hbpp.c * avoid the word 'svn' 2013-03-16 04:51 UTC+0100 Viktor Szakats * config/global.mk ! fixed to not try to query git information and fail, when run in a source snapshot 2013-03-16 04:42 UTC+0100 Viktor Szakats * package/updt_web_nightly.sh + use curl instead of wget 2013-03-16 03:40 UTC+0100 Viktor Szakats + package/mpkg_src.sh + readded script which is required by other pkg scripts + implemented git support % svn related stuff (some inactive) deleted 2013-03-16 02:13 UTC+0100 Viktor Szakats * package/updt_web_nightly.sh ! fixed two oversights after git update % be less verbose on download * tests/stripsvn.hb * updated 2013-03-16 02:10 UTC+0100 Viktor Szakats * (all files) * stripped svn header * minor cleanups ; use following command to find out the history of files: git log git log --follow git blame git annotate 2013-03-15 18:27 UTC+0100 Viktor Szakats * package/* * src/compiler/harbour.y * src/compiler/harbour.yyc * src/macro/macro.y * src/macro/macro.yyc * src/pp/hbpp.1 * tests/*/* * utils/* * stripped svn header manually * tests/hbdocext.hb * tests/lang2po.hb * tests/big5_gen.prg * tests/uc16_gen.prg * do not add svn ids to generated sources + tests/stripsvn.hb + added script to strip svn header from sources 2013-03-15 17:31 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + replaced HBRawVersion() with better implementation * src/rtl/hbregex.c * formatting 2013-03-15 16:40 UTC+0100 Viktor Szakats * src/pp/hbpp.c + changed to form the "revision" number from last ChangeLog.txt entry's date/time. Revision will now be a 32-bit number, e.g. this revision: 1303151640 (YYMMDDhhmm). It will be the value returned by __HARBOUR__. This can be further formatted for better readability, as: '130315.1640' 2013-03-15 15:47 UTC+0100 Viktor Szakats * src/pp/hbpp.c * fall-back to revision 0 if there is no numeric revision information in ChangeLog header (for Git) Revision is useful, so maybe we should go with one formed from date/time: YYMMDDhhmm -> '130315.1547' this is quite universal and has some advantages over sequential nr. 2013-03-15 15:17 UTC+0100 Viktor Szakats * doc/howtorep.txt - deleted section dealing with svn IDs and svn props. no longer needed. 2013-03-15 13:57 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.hbp * utils/hbmk2/hbmk2.prg * utils/hbmk2/hbmk2.rc * utils/hbmk2/Makefile * utils/hbmk2/pkg_dynl.hbm * utils/hbmk2/pkg_inst.hbm * deleted svn headers + added new hbmk2/hbrun option -viewhelp, which will redirect the long help to a file and open it in the default text viewer application 2013-03-15 12:41 UTC+0100 Viktor Szakats * README.txt * cleanups to link descriptions 2013-03-15 12:28 UTC+0100 Viktor Szakats * package/mpkg_win.nsi * package/winuni/mpkg_win_uni.nsi * updated project development page to point to github 2013-03-15 12:25 UTC+0100 Viktor Szakats * package/mpkg_win.nsi * package/winuni/mpkg_win_uni.nsi ! updated defunct source timeline links in Windows "start menu" shortcuts 2013-03-15 11:58 UTC+0100 Viktor Szakats * package/harbour.rb * package/mpkg_win_nightly.bat * package/updt_web_nightly.sh * updated for github * deleted svn headers - package/mpkg_src_nightly.sh - package/mpkg_src.sh - deleted svn specific scripts 2013-03-15 11:34 UTC+0100 Viktor Szakats * README.txt * tweak to git raw links 2013-03-15 11:25 UTC+0100 Viktor Szakats - website/* - deleted website source, now stored inside this separate git repository: https://github.com/harbour/website 2013-03-15 11:17 UTC+0100 Viktor Szakats * README.txt * deleted 'harbour' top dirs 2013-03-15 11:14 UTC+0100 Viktor Szakats * bin/commit.hb * deleted hack that was required to handle 'harbour' top dir 2013-03-15 11:12 UTC+0100 Viktor Szakats * /harbour/* -> /* * moved whole Harbour source tree one level up to avoid single 'harbour' top dir 2013-03-15 11:02 UTC+0100 Viktor Szakats * .gitattributes + enabled keyword expansion for ChangeLog.txt * README.txt - deleted svn header * tests/setkeys.prg * cleanups 2013-03-15 04:18 UTC+0100 Viktor Szakats + tests/fwdref.prg + added FIXME and demonstration for this bug by Kevin Carmody: https://sourceforge.net/tracker/?func=detail&aid=1635310&group_id=681&atid=100681 + tests/sortbug.prg + added FIXME and demonstration for this bug: https://sourceforge.net/tracker/?func=detail&aid=2096950&group_id=681&atid=100681 2013-03-15 03:24 UTC+0100 Viktor Szakats * README.txt + updated with new git links this one is recommended: https://help.github.com/articles/set-up-git and this for Windows binaries: https://code.google.com/p/msysgit/downloads/list?q=full+installer+official+git 2013-03-15 02:46 UTC+0100 Viktor Szakats * config/global.mk + enabled git revision detection instead of svn + added detection for locally modified source code with git * bin/commit.hb + process 'T' git change status 2013-03-14 18:36 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg ! fixed to not issue warning about missing sign tool if signing was not requested, plus, related optimization * bin/commit.hb ! fixed processing git output * contrib/hbct/getsecrt.prg ! GetSecret() fixed to turn on cursor while waiting * contrib/hbct/getsecrt.prg * contrib/hbct/getinput.prg * contrib/hbsqlit3/core.c * doc/en/rddmisc.txt ! formatting 2013-03-14 20:10 UTC+0200 Pavel Tsarenko (tpe2 at mail.ru) * contrib/hbct/screen2.c * unicode support for SayMoveIn() and SaySpread() functions 2013-03-14 14:58 UTC+0200 Alexey Myronenko (m.oleksa/at/ukr.net) * doc/en/rddmisc.txt * samples corrected for Bof() and Eof() ! spelling 2013-03-13 02:20 UTC+0100 Viktor Szakats * contrib/gtwvg/gtwgud.c * contrib/gtwvg/gtwvgd.c ! fixed to use K_ESC instead of literals after 2013-03-12 18:06 UTC-0800 2013-03-12 18:06 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/gtwvg/gtwgud.c * contrib/gtwvg/gtwvgd.c ! Fixed: reverted parts of last reckless commit without checking the changes. Sorry, I must be more attentive next time. 2013-03-13 00:09 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg ! do not issue pointless pair warning for -rebuildall, it may be useful because it applies to subprojects 2013-03-12 23:42 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + smarter help output requiring less manual tweaking, allowing the same and narrower first column for all sections * minor cleanups * contrib/gtwvg/tests/demowvg1.prg ! deleted function with the same name as GTWVG macro 2013-03-12 14:36 UTC+0100 Tamas TEVESZ (ice extreme.hu) * src/common/hbprintf.c * src/common/hbver.c - Remove ACK support 2013-03-12 13:29 UTC+0100 Viktor Szakats * src/rtl/hbstrfmt.c ! fixed GPF regression after 2013-02-12 12:49 UTC+0100 when parameter was missing for d, x, X, f types * utils/hbmk2/hbmk2.*.po * utils/hbmk2/hbmk2.prg + show warning when both -inc and -rebuild options are unconditionally passed together on command-line or inside one make file. These instruct hbmk2 to do all the extra work involved with an incremental build, but to do it _every time_, making it effectively _not_ incremental, only leaving temp files in workdir, slower and thus probably not what one wants. (EXPERIMENTAL) Best practice is to put -inc inside the .hbp file, and use -rebuild[all] on command-line when a rebuild is needed. * minor cleanup to two existing warnings + documented exit code when -run is used + further clarified .hbp file format in help + contrib/hbbz2/3rd/bz2/bz2.dif * contrib/hbbz2/3rd/bz2/bz2.hbp * contrib/hbbz2/3rd/bz2/bzlib_pr.h ! fixed libbzip2 header bug where it cannot link mixed C/C++ builds with option -DBZ_NO_STDIO enabled + config/win/tcc.mk * include/hbdefs.h * include/hbfloat.h * include/hbinit.h * src/3rd/png/Makefile * 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 * utils/hbmk2/hbmk2.prg + added rough and experimental Tiny C Compiler support. Some Harbour features disabled. Some hunks quick and dirty. Needs: set HB_COMPILER=tcc; set HB_PLATFORM=win; set HB_BUILD_DYN=no Final Harbour apps fail in GT initialization. 2013-03-11 18:43 UTC+0100 Viktor Szakats * contrib/xhb/dbf2txt.c ! missing header after 2013-03-08 13:32 UTC+0100 * contrib/hbnf/doc/en/calendar.txt * extras/httpsrv/uhttpd.prg ! casing 2013-03-11 16:26 UTC+0100 Viktor Szakats * contrib/hbnf/doc/en/*.txt * tests/browse.prg * tests/db_brows.prg * tests/extend1.prg * website/samples/browse.prg.html * date cleanups 2013-03-11 12:07 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + added help and Markdown output for hbrun mode, using same options as in hbmk2 mode, run 'hbrun -help' + documented how to disable hbrun history + documented script search and script autodetection details + documented opening .dbf files + documented how to paste text into shell prompt + documented limitation that in script INIT PROCEDUREs, automatic selection of interactive GT doesn't work + __Accept(), __Wait() to trigger interactive GT in scripts * src/rtl/objfunc.prg ! __objGetMsgList(): fixed to not rely on any assumption about the collation. In UTF8EX mode it was always returning empty array. Plus cleanup/optimizations * contrib/xhb/hbxml.c ! fix to a memory double free Thanks to Jose F. Gimenez for the patch. * contrib/hbtest/core.prg * contrib/hbtest/tests/test.prg * contrib/hbamf/tests/test.prg + added support and tests for tests returning array, hash and object types * changed zero byte to be escaped to \0 (was \000) + added memo tests and related engine cleanups * src/rtl/valtoexp.prg + hb_ValToExp(): output for objects changed to use double quotes for strings instead of a mixture of double/single ones, to make it easier stringifying the result * src/rtl/hbfilehi.prg % hb_DirSepDel(): minor optimization * tests/fixcase.hb + correct casing of EXTERN/REQUEST references * contrib/hbwin/tests/olesrv4.prg * contrib/hbxpp/hbxpp.ch * contrib/xhb/hterrsys.prg * contrib/xhb/xhb.ch * extras/httpsrv/uhttpd.prg * src/rdd/dbdelim.prg * src/rtl/tgetint.prg * src/rtl/tpersist.prg * tests/ppapi.prg * tests/set.prg ! run fixcase.hb to format REQUEST/EXTERNs * contrib/hbmisc/spd.c * contrib/hbmisc/hbnf.hbx ! missing casing for one function + tests/extend1.hbp * tests/extend1.prg * tests/extend2.c ! fixed to build and run again under Harbour * tests/debug.prg * tests/dynobj.prg * tests/for2.prg * tests/memvar.prg * tests/ppapi.prg * tests/scroll.prg * tests/set.prg * tests/str.prg * __Accept() changed to WAIT or Inkey( 0 ) - contrib/hbrun/hbrun.1 * config/postinst.hb * deleted hbrun's (outdated) man doc. Now built into hbmk2.prg as hbrun help. * contrib/hbmisc/hb_f.c * contrib/xhb/tests/xml1.prg * tests/hrbext.prg * comment/minor update * tests/hrb.prg * tests/hrbext.prg + hrb.prg to create .hrb file if it doesn't exist + added INIT PROCEDURE * contrib/gtwvg/*.h * contrib/gtwvg/gtwvgd.c * contrib/hbnf/fttext.c * contrib/hbwin/hbwinole.h * contrib/rddads/adsfunc.c * contrib/rddbm/bmdbfx.c * doc/c_std.txt * extras/gtwvw/docs/funclist.txt * extras/gtwvw/wvwpush.c * include/*.h * src/codepage/cp_utf8.c * src/common/*.c * src/compiler/*.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 * src/rdd/usrrdd/rdds/arrayrdd.prg * src/rdd/*.c * src/rtl/*.c * src/rtl/gtsln/gtsln.h * src/rtl/gttrm/gttrm.c * src/rtl/gtwvt/gtwvt.c * src/vm/*.c * ! operator synced with uncrustify format * minor corrections in comment/text * tests/codebl.prg * tests/codebloc.prg * tests/dates3.prg * tests/foreach.prg * tests/macro.prg * tests/mouse.prg * tests/onidle.prg * tests/tbrowse.prg * tests/vmasort.prg * tests/wvtext.prg * website/samples/codebl.prg.html * website/samples/codebloc.prg.html * website/samples/dates3.prg.html * website/samples/foreach.prg.html * website/samples/macro.prg.html * website/samples/mouse.prg.html * website/samples/onidle.prg.html * website/samples/tbrowse.prg.html % local functions marked STATIC * contrib/hbmisc/spd.c * contrib/hbnf/clrsel.prg * contrib/hbnf/doc/en/*.txt * contrib/hbnf/popadder.prg * contrib/hbnf/tests/clrsel.prg * contrib/hbwin/win_tprn.prg * doc/en/datetime.txt * doc/en/set.txt * doc/oldnews.txt * extras/gfspell/spell.prg * extras/gtwvw/docs/gtwvw.txt * extras/gtwvw/hbgtwvw.h * extras/gtwvw/tests/ebtest7.prg * extras/gtwvw/wvwdraw.c * extras/gtwvw/wvwpush.c * tests/clsscope.prg * tests/extend1.prg ! few more dates converted to ISO format 2013-03-10 14:14 UTC+0100 Viktor Szakats * contrib/hbtest/core.prg + use octal notation for all non-displayable bytes. It fixes few issues with previous escaping logic and avoids non-displayable chars in RTE test sources and results. + use more space for test results, less for line numbers * contrib/hbtest/tests/test.prg * adapted to above change + added more tests * contrib/hbamf/tests/test.prg * use octal notation in expected results * contrib/hbct/charone.c ! WordOne(): fixed when second parameter is not passed (previously it was a noop in this case) * contrib/hbct/tests/test.prg ! typos in comments * utils/hbtest/hbtest.prg + force switch to cp437 ("EN") under Harbour * runtime configuration moved right to startup * contrib/hbnf/popadder.prg * extras/gtwvw/docs/gtwvw.txt * utils/hbtest/rt_misc.prg * utils/hbtest/rt_str.prg * tests/setmode.prg ! avoid remaining non-ASCII, non-UTF8 chars in source * contrib/hbmisc/nconvert.prg * contrib/hbnf/netpv.prg * contrib/hbnf/popadder.prg * contrib/hbnf/round.prg * contrib/hbnf/sqzn.prg * tests/money.prg * tests/str.prg * use '^' operator instead of '**' * contrib/hbmisc/stringp.prg * contrib/hbwin/tests/prn2.prg * cleanups 2013-03-09 14:06 UTC+0100 Viktor Szakats * contrib/hbct/tests/charadd.prg * contrib/hbct/tests/charand.prg * contrib/hbct/tests/charnot.prg * contrib/hbct/tests/charor.prg * contrib/hbct/tests/charrll.prg * contrib/hbct/tests/charrlr.prg * contrib/hbct/tests/charshl.prg * contrib/hbct/tests/charshr.prg * contrib/hbct/tests/charsub.prg * contrib/hbct/tests/tab.prg ! fix to prev when run under Clipper 2013-03-09 12:38 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + show warning when -sign was requested but no tool could be found * contrib/hbmisc/stringp.prg % TOCHAR() optimized * TOCHAR() now outputs date in ISO format [INCOMPATIBLE] * contrib/hbmisc/hbedit.prg * contrib/hbmisc/tests/pe.prg * contrib/hbmisc/tests/readfile.prg * contrib/hbmisc/tests/rtfclass.prg * contrib/hbmisc/tests/twirler.prg * src/vm/debug.c * src/vm/hvm.c * tests/debug.prg * tests/inherit.prg * tests/stripem.prg * cleanups ! fixed pe.prg missing #require * contrib/hbct/tests/charadd.prg * contrib/hbct/tests/charand.prg * contrib/hbct/tests/charnot.prg * contrib/hbct/tests/charor.prg * contrib/hbct/tests/charrll.prg * contrib/hbct/tests/charrlr.prg * contrib/hbct/tests/charshl.prg * contrib/hbct/tests/charshr.prg * contrib/hbct/tests/charsub.prg * contrib/hbct/tests/tab.prg ! use hb_BChar() * contrib/hbtest/core.prg * utils/hbtest/hbtest.prg + escape Chr( 1 ) and Chr( 2 ) * utils/hbtest/*.prg * formatting ! corrected two tests % cleaned results string from empty string fragments 2013-03-08 16:29 UTC+0100 Viktor Szakats * contrib/hbwin/win_prn2.c * src/codepage/cpsv437c.c * src/rtl/treport.prg * cleanups 2013-03-08 13:32 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + added support for posign.exe code signing tool that ships with free Pelles C 7.00.0 It's nice and small standalone tool, with some hopes it runs under WINE. It will be automatically used if signtool.exe is not found. (beware of using custom -signflag= flags because they may by passed to different tools depending on actual config) + added more details to -sign help * contrib/make.hb + show warning if 'hbmk2 --hbinfo' process fails for any reason (it may help catching hbmk2 and Harbour core bugs) * contrib/hbnf/fttext.c ! deleted unnecessary MSVC #pragmas * deleted embedded and redundant .prg example * contrib/hbct/readme.txt * Chr() -> hb_BChar() * contrib/hbnf/dispc.c * formatting * contrib/xhb/dbf2txt.c ! fixed Dbf2Text() to honor Set( _SET_EOF ) - doc/inet.txt % deleted as a duplicate of doc/en/hbinet.txt * contrib/hbct/doc/en/token1.txt * contrib/hbct/doc/en/token2.txt ! minor correction to prev * contrib/hbct/tests/*.prg * cleanups * contrib/hbct/readme.txt * contrib/hbnf/doc/en/fttext.txt * contrib/hbnf/doc/en/linked.txt * contrib/hbnf/doc/en/origin.txt * contrib/hbnf/doc/en/popadder.txt * contrib/hbnf/doc/en/xbox.txt * contrib/hbpgsql/postgres.c * contrib/hbwin/*.c * contrib/hbwin/hbwin.ch * contrib/hbwin/win_tprn.prg * contrib/hbxpp/idlex.c * contrib/rddads/ads1.c * contrib/rddads/adsmgmnt.c * contrib/rddads/doc/en/*.txt * contrib/rddsql/readme.txt * contrib/xhb/hbcompat.ch * contrib/xhb/xhb.hbx * contrib/xhb/xhbfunc.c * contrib/xhb/xhbhasha.c * doc/en/hbinet.txt * doc/en/idle.txt * doc/en/rdddb.txt * doc/en/var.txt * extras/gtwvw/docs/gtwvw.txt * extras/gtwvw/gtwvwd.c * include/hbapicdp.h * include/hbapifs.h * include/hbapigt.h * include/hbmacro.h * include/hbstack.h * include/hbstrict.ch * src/rtl/gtwvt/gtwvt.c * src/rtl/*.c * src/vm/break.c * src/vm/debug.c ! fixed typos in comments/docs ! deleted/updated outdated information comments/docs * casing of Harbour functions in comments/docs 2013-03-07 16:02 UTC+0100 Viktor Szakats * tests/fixcase.hb + extended to adjust cases in .c file copyright headers * tests/hbdocext.hb * tests/lang2po.hb * tests/langchk.hb * tests/stripdoc.hb * tests/stripeol.hb + enabled -w3 and opt options for scripts ! fixed warnings * extras/gfspell/spellc.c * use distinctive and uppercase name for macro * contrib/hbct/*.c * contrib/hbfship/*.c * contrib/hbmisc/strfmt.c * contrib/hbnetio/*.c * contrib/hbnf/*.c * contrib/hbodbc/*.c * contrib/hbtip/utils.c * contrib/hbwin/*.c * contrib/hbxpp/*.c * contrib/xhb/*.c * contrib/xhb/*.ch * src/pp/pplib2.c * src/rdd/*.c * src/rdd/hbsix/*.c * src/rtl/*.c * src/vm/*.c * src/rdd/usrrdd/rdds/arrayrdd.prg * src/rtl/valtoexp.prg * rerun tests/fixcase.hb 2013-03-07 12:37 UTC+0100 Viktor Szakats * src/rtl/ttextlin.prg ! HBTextLine():New() fixed to do strict type checking on its parameters ! fixed very old and grave problem of HBTextLine():New() truncating lines containing whitespace only (Empty() == .T.) It fixes this example: --- #include "inkey.ch" KEYBOARD "a" + Chr( K_CTRL_W ) ? Len( MemoEdit( Space( 30 ) ) ) == 30 --- * src/rtl/teditor.prg * added TODO for missing soft-newline handling in response to bug #2945732 by Wilfried Brunken: https://sourceforge.net/tracker/?func=detail&aid=2945732&group_id=681&atid=100681 * contrib/xhb/xhbtedit.prg % minor cleanups/optimizations ! use hb_BChar( 141 ) instead of Chr( 141 ) * bin/3rdpatch.hb * bin/commit.hb * config/postinst.hb * contrib/hbct/tests/afteratn.prg * contrib/hbct/tests/atnum.prg * contrib/hbct/tests/attoken.prg * contrib/hbct/tests/beforatn.prg * contrib/hbmysql/tsqlbrw.prg * contrib/hbnetio/utils/hbnetio/netiosvc.prg * contrib/hbtip/thtml.prg * extras/hbdoc/genhtml.prg * Chr( 34 ) -> '"' (avoid using Chr() for any displayable character) * doc/en/*.txt * contrib/hbct/readme.txt * contrib/hbct/doc/en/*.txt * contrib/hbnf/doc/en/*.txt * various doc updates/fixes * bin/3rdpatch.hb * tests/gfx.prg * hbformat friendliness * minor 2013-03-06 14:18 UTC+0100 Viktor Szakats * tests/gtkeys.prg * website/samples/browse.prg.html * cleanups after prevs 2013-03-06 13:34 UTC+0100 Viktor Szakats * src/lang/l_bg.c * src/lang/l_cs.c * src/lang/l_de.c * src/lang/l_fr.c * src/lang/l_it.c * src/lang/l_nl.c * src/lang/l_pl.c * src/lang/l_pt.c * src/lang/l_sk.c * src/lang/l_sr_cyr.c * src/lang/l_sv.c ! aligned translated DIR command header strings to match the actual content lines ; Checkme: bg, nl where I had to abbreviate to fit ; Not verified: zh_tra, zh_sim, ko, he + tests/langchk.hb + helper script for above * src/rtl/dircmd.prg * formatting 2013-03-06 12:17 UTC+0100 Viktor Szakats * src/vm/hashfunc.c + HB_HAUTOADD() extended, now it accepts 3rd parameter to set the default value used when autoadding a hash item, making separate HB_HDEFAULT() call unnecessary: hb_HAutoAdd( <hash>, [<nAutoAdd>|<lAutoAdd>], [<xDefault>] ) -> <nOldAutoAdd> * contrib/xhb/hbcompat.ch * doc/en/hashes.txt * src/vm/hashfunc.c * deprecated following Harbour core functions with HB_LEGACY_LEVEL5: hb_HSetCaseMatch(), hb_HSetAutoAdd(), hb_HSetBinary(), hb_HSetOrder() use these alternatives: hb_HCaseMatch(), hb_HAutoAdd(), hb_HBinary(), hb_HKeepOrder() they return the previous setting instead of the hash itself. * contrib/hbct/token1.c ! marked hidden/dirty Harbour extensions with HB_EXTENSION tag * src/debug/dbgtobj.prg + tests/dbgcls.prg ! ACCESS var is implemented using a full METHOD syntax, which can contain debug information. HVM sees this information while displaying ACCESS var value, the debugger gets reinvoked and confused. Patch and test code (hbformatted) by Aleksander Czajczynski. Thanks for the nice patch. https://groups.google.com/d/topic/harbour-devel/43hoC7GV7C4/discussion * src/rtl/alert.prg ! Alert()/hb_Alert(): fixed display colors when color parameter contained multiple color items. Reported by Tony Quick https://groups.google.com/d/topic/harbour-devel/20vFUGGtx9c/discussion * formatted 2 long lines for better readability * tests/altd.prg + light testing of custom Alert() colors * src/rtl/menuto.prg % added logic to avoid flicker when moving around the mouse. Protected by HB_CLP_STRICT, because Clipper flickers the same way, but it's something that seems possible to fix w/o adverse side effects on user level or breaking documented C5.3 behavior. Report if you think otherwise. Original patch provided by Miso Pucko in #3500627 https://sourceforge.net/tracker/?func=detail&aid=3500627&group_id=681&atid=100681 ; Checkme * tests/browse.prg * tests/menuto.prg + enabled mouse * minor cleanups * contrib/hbgd/gdchart.prg * contrib/hbgd/tests/cgi.prg * contrib/hbtip/cgi.prg * extras/httpsrv/cgifunc.prg * extras/httpsrv/uhttpd.prg * src/rdd/usrrdd/rdds/arrayrdd.prg * use 'h[ k ] := v' instead of 'hb_HSet( h, k, v )' * use 'h[ k ]' instead of 'hb_HGet( h, k )' ; do not use above function in Harbour sources * contrib/hbtip/mail.prg * contrib/hbtip/tests/loadhtml.prg * contrib/hbtip/thtml.prg * contrib/hbwin/tests/olesrv2.prg * contrib/xhb/hbcompat.ch * contrib/xhb/xhbhash.c * extras/httpsrv/cgifunc.prg * extras/httpsrv/uhttpd.prg * avoid deprecated hash functions in Harbour sources 2013-03-06 03:18 UTC+0100 Tamas TEVESZ (ice extreme.hu) * config/minix/clang.mk * config/minix/gcc.mk ! Actually add dyn rules, missed in the previous step 2013-03-05 20:22 UTC+0100 Viktor Szakats * src/rtl/hbfilehi.prg ! typo 2013-03-05 19:41 UTC+0100 Viktor Szakats * src/vm/dynsym.c ! __DYNSGETINDEX() fixed to return 1-based index in sync with rest of __DYNS* API, also fixing the issue that zero value was used to indicate error (name not found) as well. Fixes #3606911 by Kevin Carmody https://sourceforge.net/tracker/?func=detail&aid=3606911&group_id=681&atid=100681 [INCOMPATIBLE] * README.txt * config/global.mk * utils/hbmk2/hbmk2.prg % deleted macro support in HB_INSTALL_PREFIX envvar value. it was very niche feature, and {hb_top} is no longer needed to be able to use Harbour, since it works without 'install' as is. INCOMPATIBLE in the unlikely case you used this. (it also clears a related hbmk2 bug and a FIXME in code) * utils/hbmk2/hbmk2.prg + documented another -vcshead= feature * src/rtl/hbfilehi.prg ! hb_DirSepToOS() fixed to return empty string instead of RTE when wrong type is passed * contrib/xhb/hbcompat.ch * include/harbour.hbx * src/rtl/profiler.prg * src/rtl/tclass.prg * src/rtl/tsymbol.prg * tests/dynsym.prg * tests/lang2po.hb * utils/hbmk2/hbmk2.prg ! fixed casing of __dyns*() function names 2013-03-05 11:57 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + described internal/developer options in '-longhelp' * contrib/hbct/tempfile.prg ! TEMPFILE() to append a dirsep to <cDir> parameter, when missing Thanks to Tony Quick for the report and fix suggestion (not required after 2013-03-05 11:53 UTC+0100, but I'm committing anyway to document this requirement in source code, and to make it work with low-level implementations that don't do it) * contrib/hbnf/fttext.c * minor cleanup to last modifications * contrib/hbnf/video2.prg * extras/hbxlsxml/xlsxml.prg % use hb_default() * contrib/hbnf/wda.prg * minor 2013-03-05 11:53 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/src/rtl/fstemp.c ! fixed hb_fsCreateTempEx() to add dir separator if necessary % small optimization in DJGPP path conversions 2013-03-05 11:22 UTC+0100 Tamas TEVESZ (ice extreme.hu) * src/common/hbver.c ! Open64 5.0 does not define __OPENCC_PATCHLEVEL__ to a numeric value; treat it as 0. 2013-03-04 16:53 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg % eliminated unnecessary groups from regexps + made regexp expressions non-PCRE specific ; with the help of fantastic tool: https://www.debuggex.com/ % eliminated ATail() from regexp eval loops for better performance + marked all regexp strings to find them easily * config/postinst.hb * synced regexps with hbmk2.prg * include/harbour.hbx * regenerated * bin/commit.hb ! stricter regexp for timestamp * contrib/hbnf/fttext.c ! fixed EOL detection if CRLF pair falls onto the read buffer boundary * contrib/hbodbc/odbc.c * src/rtl/philes.c % "" -> NULL in hb_storc() * tests/gfx2.prg ! fixed to run as script * minors * src/rtl/gtxwc/gtxwc.c * use #if 0 instead of commented code 2013-03-04 12:58 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/contrib/hbnetio/netiosrv.c * harbour/contrib/hbnetio/hbnetio.hbx * harbour/contrib/hbnetio/readme.txt + added new PRG function: NETIO_SERVERTIMEOUT( <pConnectionSocket> [, <nTimeOut>] ) -> [<nTimeOut>] This function allows to set maximal time for client request. It can be useful if NETIO server is used only for short time connections in which client makes few requests and then disconnects. Clients keeping longer connections without any request will be disconnected automatically. It means that in some cases it's possible to create server which works efficiently in single thread mode without MT HVM. * harbour/contrib/hbnetio/netiomt.prg * restored formatting * harbour/src/rtl/gtxwc/gtxwc.c ! fixed getting window position in HB_GTI_SETPOS_XY and HB_GTI_SETPOS_ROWCOL. Warnings: 1) some WMs may report window upper left corner inside the border and some other ones border upper left corner. 2) Setting window position by this function strictly depends on WMs behavior and in most cases code like: aPos := hb_gtInfo( HB_GTI_SETPOS_XY ) hb_gtInfo( HB_GTI_SETPOS_XY, aPos ) will move the window because most of WMs used to add some offsets to XMoveWindow() cords. ! fixed GFX line and rect cords with reverted parameters ! fixed GFX circle and eclipse parameters - it is documented that 3rd parameter in hb_gfxCircle() is radius (also 3rd and 4th in hb_gfxEllipse()) but it was implemented as diameter. Warning: incompatible, existing code have to be updated. ! fixed GFX circle and eclipse parameters to correctly map updated region. ; Thanks to Rolf for reporting problems with GTXWC * harbour/src/rtl/gtwvt/gtwvt.c ! fixed rect size - it was one pixel smaller then in other GTs Now rect cords are interpreted in the same way as in BOX command and functions. ! fixed GFX circle and eclipse parameters - it is documented that 3rd parameter in hb_gfxCircle() is radius (also 3rd and 4th in hb_gfxEllipse()) but it was implemented as diameter. Warning: incompatible, existing code have to be updated. * harbour/contrib/gtalleg/gtallegd.c ! fixed GFX line and rect cords with reverted parameters + harbour/tests/gfx2.prg * added test code to check basic GFX cord settings. 2013-03-03 15:30 UTC+0100 Viktor Szakats * ChangeLog.txt ! fixed mistyped dates in entries 2013-12-14 14:26 UTC-0800 2013-12-18 15:40 UTC-0800 ! deleted UTF8 BOM added in 2013-02-14 14:26 UTC-0800 Pritpal, please turn off this feature in your editor, or edit Harbour UTF-8 files with one that doesn't add a BOM [https://en.wikipedia.org/wiki/Byte_order_mark] + added 'No BOM' note to header * tests/lang2po.hb ! minor cleanup * utils/hbmk2/hbmk2.prg ! deleted comment not relevant anymore 2013-03-03 14:31 UTC+0100 Tamas TEVESZ (ice extreme.hu) * bin/3rdpatch.hb ! typo 2013-03-03 13:40 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + new -signflag= option to pass user options to code sign tool + Windows code signing tool is now run in quiet mode (only if there is no verbose user flag) + tests/lang2po.hb + script to convert lang modules to .po files * src/rtl/langapi.c ! synced with /src/lang/en_tpl.c * src/lang/l_pl.c ! fixed indentation * doc/en/lang.txt - deleted outdated reference to physical lib names * contrib/hbwin/wapi_misc.c + security comment * ChangeLog.txt ! typo in prev entry 2013-03-02 12:07 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg ! HBSHELL_CLIPPER() extended to reset the date format to Clipper default as well + documented that the default date format for scripts is the ISO one (yyyy-mm-dd) * src/rtl/filesys.c ! hb_fsSetAttr() (and hb_FSetAttr()/SetFAttr()/etc) to handle the archive attribute correctly on Windows. Previously a call was always setting it. Thanks for the report and research to Tony Quick. ; Checkme * contrib/hbnf/fttext.c ! fixed internal error in FT_READLN() when used on an LF delimited text file. This API pbly needs more thorough review regarding portable EOL handling, e.g. it seems buggy when CRLF pair falls onto the buffer (length = 4096) boundary [DONE]. ! fixed 1 byte read past buffer in internal _findeol() function ; Checkme * contrib/hbnf/doc/en/fttext.txt * updates regarding EOL * contrib/hbcups/tests/test.prg * contrib/hbmisc/tests/hb_f.prg * contrib/hbnf/tests/dfile.prg * contrib/hbnf/tests/fttext.prg + accept filename as parameter * contrib/hbpgsql/tests/test.prg * contrib/hbwin/tests/mapimail.prg * contrib/xhb/tests/copyfile.prg ! minor cleanups * bin/3rdpatch.hb * tests/fixcase.hb * minor formatting 2013-03-02 09:55 UTC+0100 Tamas TEVESZ (ice extreme.hu) * src/rtl/gtcrs/gtcrs.h * utils/hbmk2/hbmk2.prg * config/detect.mk * config/minix/libs.mk * Add curses to Minix 2013-03-02 02:20 UTC+0100 Viktor Szakats + contrib/sddsqlt3/tests/test.prg - contrib/sddsqlt3/tests/test1.prg * renamed * contrib/hbtest/core.prg * minor cleanup * utils/hbmk2/hbmk2.prg * formatting * tests/rto_get.prg * tests/rto_tb.prg * utils/hbtest/hbtest.prg % use a more efficient hb_stod() implementation for non-Harbour branches (taken from tests/transfrm.prg by Przemek) * contrib/sddsqlt3/tests/test.prg * contrib/gtwvg/gtwgud.c * contrib/gtwvg/gtwvgd.c * contrib/gtwvg/tests/demowvg.prg * contrib/gtwvg/tests/demowvg1.prg * contrib/hbct/tests/dates4.prg * contrib/hbct/tests/datetime.prg * contrib/hbfbird/readme.txt * contrib/hbgt/ascposgt.c * contrib/hbgt/atdiff.c * contrib/hbgt/bitflags.c * contrib/hbgt/chareven.c * contrib/hbgt/charmixg.c * contrib/hbgt/charodd.c * contrib/hbgt/chrcount.c * contrib/hbgt/chrfirst.c * contrib/hbgt/chrtotal.c * contrib/hbgt/strcount.c * contrib/hbgt/strcspn.c * contrib/hbgt/strdiffg.c * contrib/hbgt/strexpan.c * contrib/hbgt/strleft.c * contrib/hbgt/strpbrk.c * contrib/hbgt/strright.c * contrib/hbhttpd/tests/eshop.prg * contrib/hbmisc/doc/en/dates2.txt * contrib/hbmisc/tests/strfmt.prg * contrib/hbmysql/readme.txt * contrib/hbmysql/tests/dbf2mysq.prg * contrib/hbmysql/tests/test.prg * contrib/hbmzip/tests/myunzip.prg * contrib/hbnetio/tests/netiot02.prg * contrib/hbnetio/utils/hbnetio/netiocon.prg * contrib/hbnetio/utils/hbnetio/netiosrv.prg * contrib/hbnf/doc/en/acctadj.txt * contrib/hbnf/doc/en/woy.txt * contrib/hbnf/tests/calendar.prg * contrib/hbnf/tests/datecnfg.prg * contrib/hbnf/tests/menu1.prg * contrib/hbnf/tests/savearr.prg * contrib/hbnf/tests/setdate.prg * contrib/hbnf/tests/woy.prg * contrib/hbpgsql/tests/dbf2pg.prg * contrib/hbtip/mail.prg * contrib/hbtip/popcli.prg * contrib/hbwin/tests/dlg.prg * contrib/hbziparc/tests/zipa.prg * contrib/rddads/ads1.c * contrib/sddoci/tests/test1.prg * contrib/sddodbc/tests/test1.prg * contrib/sddodbc/tests/test2.prg * contrib/xhb/decode.prg * contrib/xhb/dumpvar.prg * contrib/xhb/xhbmemo.prg * contrib/xhb/xhbtedit.prg * ChangeLog.txt * doc/en/string.txt * doc/gtapi.txt * doc/pragma.txt * doc/xhb-diff.txt * extras/dbu/dbu52.dif * extras/dbu/dbu53.dif * extras/gtwvw/docs/whatsnew.txt * extras/gtwvw/gtwvwd.c * extras/gtwvw/tests/ebtest7.prg * extras/gtwvw/tests/wvwtest9.prg * extras/gtwvw/wvwcheck.c * extras/gtwvw/wvwdraw.c * extras/gtwvw/wvwedit.c * extras/gtwvw/wvwfuncs.c * extras/gtwvw/wvwmenu.c * extras/gtwvw/wvwpush.c * extras/gtwvw/wvwstbar.c * extras/gtwvw/wvwtbar.c * extras/guestbk/cgi.prg * extras/hbxlsxml/tests/example.prg * extras/httpsrv/uhttpd.prg * extras/rddado/tests/access1.prg * extras/rddado/tests/access2.prg * include/hbclass.ch * src/common/hbdate.c * src/debug/dbgtarr.prg * src/debug/dbgthsh.prg * src/rdd/dbfcdx/dbfcdx1.c * src/rdd/usrrdd/rdds/arrayrdd.prg * src/rtl/filesys.c * src/rtl/gtos2/gtos2.c * src/rtl/gtwvt/gtwvt.c * src/rtl/net.c * src/rtl/teditor.prg * src/vm/thread.c * tests/adir.prg * tests/ddate.prg * tests/directry.prg * tests/extend1.prg * tests/newrdd.prg * tests/rto_get.prg * tests/rto_tb.prg * tests/say.prg * tests/speedtst.prg * tests/tb1.prg * tests/usrrdd/exarr.prg * tests/vmasort.prg * utils/hbmk2/hbmk2.prg * utils/hbtest/hbtest.prg * utils/hbtest/rt_date.prg * utils/hbtest/rt_str.prg * utils/hbtest/rt_stra.prg * utils/hbtest/rt_trans.prg * website/faq/harbour.html * website/faq/harbour63.html * website/faq/index.html * website/robots.txt + switched whole Harbour sources, comments, app logic, regression tests, output, to use the ISO date format: https://en.wikipedia.org/wiki/ISO_8601 in Harbour Set( _SET_DATEFORMAT, "yyyy-mm-dd" ) Use that exclusively in new commits ; hbtest retested on Clipper 5.2e ; no more 'SET DATE [TO] ANSI' and 'SET CENTURY ON' ; there are a few exceptions, mainly in test code and where compatibility required it. * utils/hbtest/rt_trans.prg + added 4 extra tests that behave differently when using 'yyyy-mm-dd' format instead of 'yyyy.mm.dd' 2013-03-01 14:50 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg % minor redundancy reduction in source ! minor fix to hbrund symlink help entry 2013-03-01 14:28 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + display warning when invalid value is passed to certain .hbc directives 2013-03-01 14:24 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + added support for debugging .hb scripts. set HBSHELL_DEBUG to any non-empty value, run the script and start debugging as you would in a regular Harbour app (.hrb precompiled script need to be compiled with -b option) + hbmk2/hbrun when run as 'hbrund' will automatically execute scripts in debug mode + new help section listing hbmk2 build-time configuration + new help section showing what hbmk2 can be symlinked/copied/renamed to, to alter default mode of operation + added '-safe'/'-safe-' options and safe=yes/no .hbc directive to enable security related options in C compiler/linker currently for -hbexe and -hbdyn outputs. It's currently enabled by default on Windows platform. Requires mingw (4.5 or upper) or msvc (15.00 or upper), or Linux (version requirement unknown) TODO: see if Linux tweak is okay to enable by default, and whether it can be enabled for other *nix systems. + display 'Markdown' as a link in '-longhelpmd' mode + minor extension to '-find' option description in help * contrib/hbpost.hbm % replaced manual options with new -safe hbmk2 options * tests/hrbext.prg * formatting 2013-02-28 17:19 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.*.po * utils/hbmk2/hbmk2.prg % minor optimization to recent patch + cleanups in some help items + '-?' and '-h' options are now accepted as '-help' + '-??' and '-hh' options are now accepted as '-longhelp' - deleted '-license' option, it's now part of '-longhelp' ! hbshell_gtSelect() parameter fixed to be case insentitive in an internal check + tests/clipper.ch + added header file that translates certain Harbour specific functions to ones understood by Clipper. Useful to compile lightly Harbour specific code in Clipper (or other Clipper compatible language), for comparison. * tests/*.prg - tests/exthrb.prg + tests/hrbext.prg * website/samples/*.prg.html ! various cleanups, minor fixes, formatting + #included "clipper.ch" to enable running what's possible to run with Clipper * src/rtl/gtwin/gtwin.c * src/rtl/gtwvt/gtwvt.c ! return string type for hb_gtInfo( HB_GTI_FONTSEL ) in sync with GTXWC * contrib/xhb/xhbfunc.c * include/hbdefs.h * HB_FUNC_EXEC() macro value to not end with ';', now it should be added on usage (almost all usages were such already). To be code formatter friendly. * contrib/xhb/xhb.hbp + contrib/xhb/xhbdepr.prg + added compatiblity stubs for functions deprecated from Harbour core, but still available in xHarbour. (xHarbour has yet to deprecate anything) So here we can gather stuff that's deprecated from Harbour core (except internal functions - most of them named '__*' -, and the "evil" ones) ; NOTE: Runtime efficiency is not a goal with these stubs, only "cheap" long term maintainability. - contrib/hbblat/tests/blattest.prg + contrib/hbblat/tests/test.prg * extras/guestbk/guestbk.hbp - extras/guestbk/testcgi.prg + extras/guestbk/cgi.prg * renames * src/vm/dynsym.c * contrib/hbfbird/tests/testapi.c * contrib/xhb/thtm.prg * minor 2013-02-27 19:12 UTC+0100 Viktor Szakats * tests/* * website/* * dropped 'tst'/'ts'/'test' from most filenames inside main 'tests' dir. 8 chars will allow for more descriptive names than 4-5. Some renamed to use the new space. Similar ones will now be much close together and easier to lookup in alphabetical order. ; NOTE: Perhaps a new distinction would be useful, for those which are indeed tests for the compiler or PP, e.g. these: declare.prg, dupvars.prg, keywords.prg, linecont.prg, lnlenli1.prg, lnlenli2.prg, pp.prg, pragma.prg, warnings.prg ; List of changes: tests/ac_test.prg -> achoice.prg tests/ac_test2.prg -> achoice2.prg tests/adirtest.prg -> adir.prg tests/ainstest.prg -> ains.prg tests/tstalias.prg -> aliasrt.prg tests/altdtest.prg -> altd.prg tests/atest.prg -> array.prg tests/tstasort.prg -> asort.prg tests/boxtst2.prg -> box2.prg tests/boxtest.prg -> box3.prg tests/testbrdb.prg -> browse.prg tests/tstblock.prg -> cblock.prg tests/testcdx.prg -> cdx.prg tests/tstchbx.prg -> checkbox.prg tests/testcls.prg -> cls.prg tests/tscmdarg.c -> cmdarg.c tests/tstcolor.prg -> color.prg tests/testcom1.prg -> com.prg tests/cursrtst.prg -> cursor.prg tests/dttest.prg -> datetime.prg tests/dbevalts.prg -> dbeval.prg tests/testdbf.prg -> dbf.prg tests/tstdbi.prg -> dbi.prg tests/debugtst.prg -> debug.prg tests/testdecl.prg -> declare.prg tests/testid.prg -> define.prg tests/delimtst.prg -> delim.prg tests/devtest.prg -> dev.prg tests/dirtest.prg -> directry.prg tests/tstdspac.prg -> diskspac.prg tests/disptest.prg -> disp.prg tests/testdyn.c -> dyn.c tests/testdyn1.prg -> dyn.prg tests/testdyn.prg -> dynwin.prg tests/testerro.prg -> errsys.prg tests/exittest.prg -> exit.prg tests/iotest.prg -> fileio.prg tests/iotest2.prg -> fileio2.prg tests/fortest.prg -> for.prg tests/testfor.prg -> for2.prg tests/testget.prg -> get.prg tests/tstgtapi.c -> gtapi.c tests/gtstdtst.prg -> gtstd.prg tests/hbdoctst.prg -> hbdoc.prg tests/testhrb.prg -> hrb.prg tests/hsxtest.prg -> hsx.prg tests/testhtml.prg -> html.prg tests/testidle.prg -> idle.prg tests/testinit.prg -> initproc.prg tests/inkeytst.prg -> inkey.prg tests/testlbl.prg -> lbl.prg tests/tstmacro.prg -> macro.prg tests/mathtest.prg -> math.prg tests/testmem.prg -> mem.prg tests/memtst.prg -> memmgr.prg tests/menutest.prg -> menuto.prg tests/testmny.prg -> money.prg tests/mousetst.prg -> mouse.prg tests/testntx.prg -> ntx.prg tests/testop.prg -> op.prg tests/testpers.prg -> persist.prg tests/testpp.prg -> pp.prg tests/testpre.prg -> ppapi.prg tests/tstprag.prg -> pragma.prg tests/testprof.prg -> profiler.prg tests/testrdd.prg -> rdd.prg tests/testrdd2.prg -> rdd2.prg tests/testread.prg -> read.prg tests/regextst.prg -> regex2.prg tests/testrpt.prg -> rpt.prg tests/sbartest.prg -> sbar.prg tests/sdf_test.prg -> sdf.prg tests/set_test.prg -> set.prg tests/videotst.prg -> setmode.prg tests/testsha1.prg -> sha1.prg tests/testsha2.prg -> sha2.prg tests/teststr.prg -> str.prg tests/testbrw.prg -> tbrowse.prg tests/transtst.prg -> transfrm.prg tests/tstuse.prg -> use.prg tests/testvars.prg -> vars.prg tests/vidtest.prg -> video.prg tests/testwarn.prg -> warnings.prg * tests/read.prg * use K_* value 2013-02-27 18:30 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg ! fixed hbmk_FNameEscape() plugin API's legacy fallback after latest patch (still untested) ! avoid potential RTE in hbmk_PathFromWorkdirToCWD() plugin API ! rtlink/blinker/exospace linker script processing will now add directories of library input files as libpaths (as opposed to passing them as part of the libname) ! fixed rtlink/blinker/exospace linker script processing to convert dirseps to native ones in output ! fixed rtlink/blinker/exospace linker script processing to strip extension from library name and output name (only if it's '.exe') ! fixed to verify non-portable output extensions in more reliable way * contrib/hbmisc/hb_f.c * contrib/hbmisc/fcomma.prg * contrib/hbmisc/hbmisc.hbx * contrib/hbmisc/tests/hb_f.prg * contrib/hbmisc/tests/numtxtru.prg * contrib/hbmisc/tests/rtfclass.prg * contrib/hbnf/fttext.c * contrib/hbnf/tests/fttext.prg * use constants instead of literals ! fixed buffer over- and underrun in HB_FSELECT() % HB_FUSE() optimized ! fixed long time core/hbmisc function name collision by renaming HB_FEof() inside hbmisc to hb_FAtEof(). hbmisc code and tests changed to use the new one. A parallel hb_FEof() in hbmisc remains until HB_LEGACY_LEVEL4. [INCOMPATIBLE] Update your hbmisc HB_FEOF() call according to above, or even better change HB_F*() calls to original FT_F*() API in hbnf. It's the original version of this code, what was cloned in a dumbed down version into hbmisc when hbnf didn't exist in Harbour yet. * contrib/hbamf/tests/encode.prg + updated to use hbtest instead of similar local solution * contrib/hbfimage/tests/fitest.prg % use core functions instead of local clones ! minor output fix * tests/mousetst.prg * obfuscate email address in this public sample * website/samples/mousetst.prg.html * website/samples/testhtml.prg.html * website/samples/tstmacro.prg.html * synced with code changes * contrib/*/tests/* * dropped 'tst'/'ts'/'test' from most filenames inside 'tests' subdirs. 8 chars will allow for more descriptive names than 4-5. + do not explicitly include the original source filename (use __FILE__ or similar) ; List of changes, in contrib/: hbmisc/tests/testbbab.prg -> bubbleb.prg hbmisc/tests/testcall.prg -> calldll.prg hbmisc/tests/testhbf.prg -> hb_f.prg hbmisc/tests/tsstrfmt.prg -> strfmt.prg hbmisc/tests/twirl.prg -> twirler.prg hbmisc/tests/udpdstst.prg -> udpds.prg hbxpp/tests/testdll.prg -> dllcall.prg xhb/tests/testcp.prg -> copyfile.prg hbwin/tests/testax.prg -> activex.prg hbwin/tests/testcom1.prg -> serial1.prg hbwin/tests/testcom2.prg -> serial2.prg hbwin/tests/testcopy.prg -> shfileop.prg hbwin/tests/testdir.prg -> sysdir.prg hbwin/tests/testevnt.prg -> eventlog.prg hbwin/tests/testgdi.prg -> prngdi.prg hbwin/tests/testmapi.prg -> mapimail.prg hbwin/tests/testole.prg -> ole.prg hbwin/tests/testprn.prg -> prn1.prg hbwin/tests/testprn2.prg -> prn2.prg hbwin/tests/testprn3.prg -> prn3.prg hbwin/tests/testprn4.prg -> prn4.prg hbwin/tests/testreg.prg -> registry.prg hbwin/tests/testrpc.prg -> uuid.prg hbwin/tests/testsim.prg -> simwce.prg hbwin/tests/testsvc.prg -> service.prg hbwin/tests/testwmtx.prg -> mutexwin.prg hbzebra/tests/testcair.prg -> cairo.prg hbzebra/tests/testhpdf.prg -> harupdf.prg hbzebra/tests/testwin.prg -> wingdi.prg rddads/tests/testmg.prg -> manage.prg hbodbc/tests/odbcdemo.prg -> todbc.prg hbodbc/tests/testodbc.prg -> odbc.prg hbsqlit3/tests/hdbctest.prg -> hdbc.prg hbsqlit3/tests/sl3_test.prg -> demo.prg hbunix/tests/testdmn.prg -> daemon.prg hbunix/tests/testpid.prg -> getpid.prg hbgd/tests/bartest.prg -> barcode.prg hbgd/tests/barms.prg -> barcode2.prg hbgd/tests/gdtest.prg -> gdapi.prg hbgd/tests/gdtestcl.prg -> gdclass.prg hbgd/tests/testdpi.prg -> fontdpi.prg hbgd/tests/test_out.prg -> cgi.prg hbtip/tests/test01.prg -> httpcli.prg hbtip/tests/tipmime.prg -> mimetype.prg hbtip/tests/tiptest.prg -> tipwget.prg hbtip/tests/tiptime.prg -> timestmp.prg hbamf/tests/tstendin.prg -> test.prg hbfimage/tests/fitest.prg -> test.prg hbtpathy/tests/testtp.prg -> test.prg hbgs/tests/testgs.prg -> test.prg * contrib/hbmxml/tests/testmxml.prg * contrib/rddads/tests/datad.prg * minor 2013-02-26 23:53 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + disable VM internals (__dbg*() API) on hbmk2/hbrun startup, unless built in debug mode Will break scripts that exploited VM internals via internal __dbg*() API calls. * tests/boxtest.prg * tests/regex.prg * tests/sbartest.prg * tests/mousetst.prg * contrib/hbodbc/tests/odbcdemo.prg ! fixed to not assume 80x25 screen layout * tests/regextst.prg ! fixed wrong error checking (RTE) * contrib/hbodbc/tests/odbcdemo.prg ! misc fixes/cleanups * tests/brwpos.prg ! fixed to use K_* values * website/menu/harbour-menu.js ! fixed missed reference to deleted license.html * contrib/hbodbc/todbc.prg * spaces 2013-02-26 14:41 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.*.po * utils/hbmk2/hbmk2.prg + do not share plugin variables (hbmk[ "vars" ]) between different plugins. It avoids potentially nasty issues with plugins stepping onto each other's toes. [INCOMPATIBLE - though it's unlikely anyone is affected. If you must communicate between plugins, use public function or variable.] + clarified in help that -icon might not work on all platforms/compilers and detailed Windows implementation (in particular it's disabled on bcc/bcc64 and on mingw it won't work when a manual .rc is specified, also on some (old?) msvc versions. Consult your C compiler's Windows resource handling limitations.) + clarified in help the syntax of filters + clarified in help that .hbp references are handled as sub-projects + clarification to command substitution macro ! strict parameter checks in all public shell APIs to avoid RTEs inside hbmk2 due to faulty API usage by scripts * utils/hbmk2/examples/plug_bis.hb * updated according to latest plugin changes * include/harbour.hbx * include/hbapi.h * src/vm/debug.c * src/vm/hvm.c + added internal function hb_vmInternalsEnabled() to query whether potentially sensitive internals are allowed to be accessed by public Harbour APIs + added .prg level function __vmNoInternals() to disable potentially sensitive internals by default accessible via public APIs. Intentionally a one-way function: once disabled, it cannot be reenabled from .prg or .c level. NOTE: It will break Harbour debug functionality, so it'd will be useful for hbrun scripts and release (non-debug) builds. + modified internal __dbg*() functions to return dummy values when internals are disabled via __vmNoInternals() functions. While the function return types are kept, apps relying on their specific values and certain relationships between them might break. ; NOTE: In the future, some more internals might be protected by this setting (e.g. low-level object and class functions and some API from hbdebug lib) ; Please review * tests/debugtst.prg ! fixed to compile warning-free without lowering warning level ! fixed to run RTE-free with internals disabled * bin/3rdpatch.hb * bin/commit.hb * config/postinst.hb * contrib/make.hb * contrib/hbtest/hbtest.ch * src/debug/*.prg * src/rtl/tclass.prg * utils/hbmk2/examples/plug_bis.hb * utils/hbmk2/examples/plug_tpl.hb * use short form #pragmas (the ones identical to Harbour options) ; NOTE: Except -l which works reversed compared to command-line -l option. FIXME? (I tried and failed) * src/rtl/hbi18n2.prg * contrib/xhb/tfile.prg * use F_ERROR instead of -1 literal * contrib/xhb/xhbtedit.prg ! replaced dirty xhb extension with std SubStr() call Reported by Tony Quick [pls report such bugs on Harbour devl list] * contrib/hbodbc/todbc.prg ! Don't continue ::Open() when SQLExecDir() have error Fix from xhb via Vicente Guerra, with cleanups. * tests/multifnc/multifnc.hbp + added comment + support for watcom * tests/multifnc/t1.prg ! missing file ending EOL * tests/*.prg * extras/gtwvw/tests/wvwtest9.prg * formatting 2013-02-25 17:56 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + documented hbmk2 plugin API calls + documented hbmk2 plugin variables + added license to the end of -longhelp[md] output ! fixed to do strict parameter checking in all public plugin API calls (where missing) to avoid RTEs inside hbmk2 code due to faulty plugin code + hbmk_FuncNameEncode() added with same functionality as hbmk_FNameToSymbol() - hbmk_FNameToSymbol() deprecated. Will disappear after HB_LEGACY_LEVEL4. INCOMPATIBLE. Change hbmk_FNameToSymbol() to hbmk_FuncNameEncode(). * changed parameters of hbmk_FNameEscape(). New calling convention requires the hbmk context to be passed as first parameter and it doesn't support the last two numeric values anymore. Will accept old calling convention till HB_LEGACY_LEVEL4 (untested though). INCOMPATIBLE. Change these: hbmk_FNameEscape( cFileName, hbmk[ "nCmd_Esc" ], hbmk[ "nCmd_FNF" ] ) to this: hbmk_FNameEscape( hbmk, cFileName ) * following hbmk2 plugin variables are deprecated and will disappear after HB_LEGACY_LEVEL4: "nCmd_Esc", "nScr_Esc", "nCmd_FNF", "nScr_FNF" + added new hbmk2 plugin variable: "apiver" it will return an integer with the plugin API compatibility level. Currently 2, will change to 3 after HB_LEGACY_LEVEL4. For compatibility, use this to retrieve it in plugins: apiver := iif( "apiver" $ hbmk, hbmk[ "apiver" ], 1 ) ! fixed to split certain long help section headers 2013-02-25 12:51 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.*.po * utils/hbmk2/hbmk2.prg + added 'description' section to help (visible in -longhelp[md]) + moved examples (and one note) from README.txt to hbmk2 help ! grammar cleanup and typos in help * formatting - website/license.html * website/*.html ! deleted another obsolete copy of the license and replaced with links directly to COPYING.txt in repository * contrib/hbsqlit3/hbsqlit3.ch * contrib/hbsqlit3/hdbc.prg * contrib/xhb/cgi.ch * contrib/xhb/*.prg * extras/gtwvw/docs/gtwvw.txt * extras/gtwvw/*.c ! fixed obsolete license references * tests/inherit.prg * tests/stripem.prg * contrib/xhb/*.prg * use hb_default(), misc cleanups, html closing tags * config/aix/libs.mk * doc/xhb-diff.txt * src/common/hbfsapi.c * src/rtl/gtcrs/hb-charmap.def * src/rtl/strcase.c * website/download.htm ! deleted line ending spaces * website/download.htm * doc/gmake.txt * doc/tracing.txt * utils/hbmk2/Makefile * cleanups 2013-02-25 10:49 UTC+0100 Tamas TEVESZ (ice extreme.hu) - config/minix/ack.mk * config/global.mk * config/minix/clang.mk * config/minix/gcc.mk * src/rtl/filesys.c * src/vm/dynlibhb.c * utils/hbmk2/hbmk2.prg * contrib/hbssl/hbssl.hbm * README.txt * Update for Minix 3.2.1 - ack is gone + build with shared library support 2013-02-24 13:37 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + documented the way to exclude libraries from linking (see '-l' option and 'libs=' directive) + documented '-hbcontainer' target type (no longer experimental) * '-hbimplib' option marked as Windows-only in help * '-hbimplib' option moved to long help * '-mt/-st' option moved to top of long help (to keep main help screen short) * doc/tracing.txt - deleted obsolete options from examples 2013-02-23 18:05 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + added HBSHELL_CLIPPER() shell/script API call, which configures the environment to be Clipper (non-Unicode) compatible. Identical to the default environment of compiled .prg apps. It's not recommended for new scripts, but it may be useful to run legacy code as script. + added '-license'/'--license' option to display the license of hbmk2 * formtting made hbformat friendly, minor optimizations * README.txt ! fixed minor typo in project description * website/index.html + updated project description with the one on sf.net and in README.txt * contrib/hbgd/tests/digits/odw.gif * contrib/hbgd/tests/imgs_in/gdlogo.png * contrib/hbhpdf/tests/files/*.png * website/images/*.png * website/samples/screenshots/*.png % optimized - website/samples/screenshots/*_w32.png + website/samples/screenshots/*_win.png * website/samples/screenshots/*.html * w32 -> win 2013-02-22 11:06 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + support '-version', for local consistency with other (regular) double dashed options + will now warn if .lib/.a extension is used with -hblib/-hbimplib modes or .dll extension with -hbdyn/-hbdynvm modes in -o option value. It's unnecessary unless you want to make your .hbp file non-portable. * contrib/hbtest/core.prg ! fixed to trim line ending spaces in output ! fixed to handle RTEs with values containing control chars * use hb_StrReplace() instead of repeated StrTran()s ! set language to EN while evaluating the test expressions so that RTEs come in one common language ! fixed to escape more control chars in strings ! control char escaping missing for Memo strings * hbformatted (with 1 manual correction) * utils/hbtest/hbtest.prg ! fixed to trim line ending spaces in output ! fixed to handle RTEs with values containing control chars * made more hbformat friendly * contrib/hbtest/tests/test.prg + added self-tests * contrib/xhb/xhbmemo.prg * space 2013-02-21 23:31 UTC+0100 Viktor Szakats * src/compiler/ppcomp.c + '#pragma nostartproc=' / '#pragma -n' will now return a permanent error. The compiler doesn't support (for longer than I can remember) on the fly modifying this option. Reading the option continues to be supported. [INCOMPATIBLE] in that t now will generate an error instead of being silently ignored. * doc/pragma.txt * marked 'nostartproc' #pragma as read-only * example to feature another pragma instead of 'nostartproc' * utils/hbmk2/hbmk2.prg * FuncNameEncode(): minor code cleanup * doc/gtapi.txt * doc/pragma.txt * date formatting * ChangeLog * closed two recent FIXMEs 2013-02-21 17:52 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.hbp * utils/hbmk2/hbmk2.prg * utils/hbmk2/Makefile ! fixed to not run shell in corner case of: hbmk2 -plugin=my.hb [...] + documented one missing script/shell API + refactored hbmk2/hbshell code to not utilize file wide STATIC variables. It allows to _compile_ hbmk2.prg regardless of -n option usage + added some black magic to be able to _run_ hbmk2.prg with or without using -n option + additional tricks to avoid defining any unnecessary or potentially colliding public functions. It means hbmk2/hbrun can now run _itself_ as a script. both as .hrb and .prg flavor and regardless of -n option usage. * contrib/hbcurl/hbcurl.ch + added HB_CURLFTP_CREATE_DIR* constants * contrib/hbcurl/tests/ftp_uldl.prg ! updated FTP test URL * cleaned configuration parameters to be strictly in sync with libcurl docs + do not disable SSL host/peer verifications * tests/testhrb.prg * src/vm/runner.c * misc comment cleanup * tests/testhtml.prg * code cleanup * contrib/gtwvg/gtwgud.c * contrib/gtwvg/gtwvgd.c * contrib/hbgt/bitflags.c * contrib/hbmysql/readme.txt * contrib/hbmysql/tests/dbf2mysq.prg * contrib/hbmysql/tsqlbrw.prg * contrib/hbtip/mail.prg * contrib/rddads/ads1.c * contrib/xhb/dumpvar.prg * contrib/xhb/xhbmemo.prg * contrib/xhb/xhbtedit.prg * doc/gtapi.txt * extras/gtwvw/gtwvwd.c * extras/hbxlsxml/tests/example.prg * extras/httpsrv/uhttpd.prg * src/debug/dbgtarr.prg * src/debug/dbgthsh.prg * src/lang/l_sk.c * src/rdd/dbfcdx/dbfcdx1.c * src/rdd/usrrdd/rdds/arrayrdd.prg * src/rtl/filesys.c * src/rtl/gtos2/gtos2.c * src/rtl/gtwvt/gtwvt.c * src/rtl/net.c * src/rtl/teditor.prg * src/vm/thread.c * website/news1.html * cleaned all remaining national/misc dates to be in ANSI format (YYYY.MM.DD) 2013-02-19 10:34 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg ! accept -n1 for compilation 2013-02-19 02:06 UTC+0100 Viktor Szakats * ChangeLog.txt * src/codepage/l_sr_cyr.h * typos/cleanups in comment 2013-02-19 02:01 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg ! fixed -find to continue search for substrings after a full match (e.g. hbmk2 -find str) + documented shell script API calls + new help section format for above + ensure -n2 build and enable warning settings to help building into an .hrb (quite fun to run hbmk2/hbrun as a hbrun script!) ! FuncNameEncode() "fixed" to be in sync with how Harbour compiler (incorrectly) encodes function names. This fixes: 'hbmk2 1.prg' ; FIXME: ? hb_compGenCFunc() in src/compiler to encode the first character of a function if it's a digit. [FINE AS IT IS] * doc/pragma.txt * src/pp/ppcore.c ! fixed '#pragma nostartproc'. Only 'off' worked, 'on' was silently ignored since who-knows-when (pointer to int type received HB_BOOL value). Now it will accept a numeric value in sync with '-n' option. [INCOMPATIBLE] ; FIXME: It still doesn't work. Nor does existing '#pragma -n2' Pbly it's too late to set this while compiling, or it needs deeper modifications. Or delete if unfixable. --- test_n2.prg #pragma tracepragmas=on #pragma -n2 #pragma -w3 STATIC stat := "stat" PROCEDURE Main() ? stat /* ISSUE: warning appears without command-line -n2 option */ RETURN --- $ harbour test_n2 $ harbour test_n2 -n2 [DONE] * README.txt * minor sync with hbmk2 help 2013-02-19 01:48 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/src/codepage/l_sr_cyr.h ! restored original Serbian collation by Srdjan Dragojlovic - thanks. * harbour/src/codepage/cpsr646c.c ! use special collation version for Serbian ISO-646C (Cyrillic YUSCII). AFAIK it should be the same order as in Serbian ISO-646 (Latin YUSCII) so user can dynamically switch between both encodings and still use the same binary indexes. If I'm wrong then Serbian users will have to fix me. 2013-02-18 15:40 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/gtwvg/gtwgud.c * contrib/gtwvg/gtwvgd.c + Applied: Rolf supplied patch but with changes. Now GTWVG is equal to GTWVT in many respects. 2013-02-18 17:32 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/src/rtl/strrepl.c * minor cleanup 2013-02-18 15:32 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg ! yuck 2013-02-18 15:29 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg ! weird editing typo in a recent HB_STRREPLACE() related commit, causing messed custom linker options 2013-02-18 14:48 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.*.po * utils/hbmk2/hbmk2.prg + added '-hb30' option and '{hb30}' filter macro to allow reverting back to Harbour 3.0.0 + added provisions for merging 'hblang' and 'hbcpage' core libs into new 'hbnat' lib + SETCURSOR() and SETCOLOR() references will now also trigger full screen CUI mode in hbrun scripts + documented the fact that GTCGI is default GT for scripts and that it's switched to another one (and which) when CUI mode script is detected + marked all information in help with '[*]' which shows host platform dependent, dynamic data (e.g. systems paths) + hbmk.hbc will now be searched for under user's home directory on non-*nix, too + added '-find' special hbmk2 option for finding Harbour functions. It will lookup any strings passed as command line arguments and display in which library they can be found. It will also do the lookup in packages not currently installed. Replaces similar 'hbrun bin/find' functionality, but now uses existing code inside hbmk2. The new implementation also supports wildcards. Example: hbmk2 -find wapi_*string ntos wild ! documented that hbstart.hb is first searched for in current working directory ! ${hb_ver} and ${hb_verstr} macros now change their value in compatibility modes (-hb10, -hb20, -hb30, -xhb) + -longhelpmd output will now not contain installation specific (and potentially sensitive) data: home directory, hbmk2 directory, only generic replacement terms + version= directive help text got a mention of its default value (it was so far only mentioned next to HBMK_HAS_<hbcname> envvar) + documented exit codes in help text * minor tweaks on some help lines * cleanup for Markdown formatting internals * plugin callback variable "nErrorLevel" renamed to "nExitCode" [INCOMPATIBLE] * exit code changed to value 6 from 1 when hbrun script has a compile error [INCOMPATIBLE] + use core hb_DirSepToOS() where possible - deleted hbmk2 plugin API function hbmk_PathSepToSelf() Use core hb_DirSepToOS() instead. [INCOMPATIBLE] + added '-exitstr' hbmk2 option which will display the exit result in textual format * contrib/hbpre.hbm * contrib/make.hb % use -exitstr hbmk2 option instead of rolling a local copy of possible result strings * src/pp/ppcore.c + generate '\a' '\f' '\v' escape chars - bin/find.hb * config/postinst.hb * package/harbour.spec - deleted find.hb for 'hbrun bin/find' functionality. Replaced by 'hbmk2 -find' option. * src/rtl/Makefile - src/rtl/strxchg.c + src/rtl/strrepl.c * src/rtl/tget.prg * utils/hbmk2/hbmk2.prg * include/harbour.hbx * ChangeLog.txt * renamed HB_STRXCHG() to HB_STRREPLACE(), according to: https://groups.google.com/d/topic/harbour-devel/vSzlAkv6h9Y/discussion * updated function skeleton in ChangeLog and C source (also with new hash parameter) * contrib/hbsqlit3/hbsqlit3.hbp * contrib/hbsqlit3/hbsqlit3.hbx + contrib/hbsqlit3/errstr.prg + hb_sqlite3_errstr_short( <nError> ) -> <cError> * contrib/hbsqlit3/tests/authoriz.prg * contrib/hbsqlit3/tests/backup.prg * contrib/hbsqlit3/tests/hooks.prg % use hb_sqlite3_errstr_short() instead of implementing it locally in each example % use sqlite3_errstr() API to get long error strings instead of reimplementing it locally % minor opt * contrib/hbsqlit3/hbsqlit3.hbp - contrib/hbsqlit3/hdbcsqlt.prg + contrib/hbsqlit3/hdbc.prg * renamed * contrib/hbhpdf/errstr.prg * contrib/hbmzip/mziperr.prg ! indenting * contrib/hbtip/tests/tiptest.prg * leave color 2013-02-17 12:43 UTC+0100 Viktor Szakats * src/codepage/*.c - src/codepage/l_*.c + src/codepage/l_*.h * src/lang/Makefile - src/lang/*.c + src/lang/l_*.c + renamed collation modules and language modules, so they now can be merged into a single directory (and sorted by extension to overview country coverage). * src/common/hbstr.c + added missing some C escaped chars: \a, \f, \v INCOMPATIBLE: thus far they had been converted to char 'a', 'f', 'v' respectively. e"" string literals, HB_STRCDECODE(), HB_STRDECODESCAPE() are affected. * utils/hbmk2/hbmk2.prg ! avoided one ASCII code dependent comparison ! missing value validation for -incpath= option * minor internal cleanups 2013-02-16 15:09 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg ! RTE regression in one last change 2013-02-15 19:21 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + remaining STRTRAN() to HB_STRXCHG() update * converted few NOTEs to TODOs to eliminate few cases of recursive macros (which exploited side-effect of repeated STRTRAN() calls) ; Any sort of regression is possible now. 2013-02-15 18:49 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + further STRTRAN() to HB_STRXCHG() updates. (one group left) 2013-02-15 16:19 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg ! fixed casing of hb_StrXChg() to match harbour.hbx ! fixed to not include and invalid header directory in a rare case (hbmk2 -head=native t.c -hbc -inc) on header detection. It seemed a duplicate value in valid cases anyway. + using HB_STRXCHG() with the new hash option almost everywhere + use HB_STRXCHG() in some more places when forming command (no everywhere yet, and the recursive replacement was localized but not sorted out yet) + use HB_STRXCHG() to replace macros in an internal template ; HB_STRXCHG() can resolve unlikely case where options/filenames contained macro names used inside the source. It also makes for a less ambiguous code. + added warnings if invalid value is used in certain options. (after HB_LEGACY_LEVEL4, until then, the replacement option is displayed) * src/rtl/tget.prg * utils/hbmk2/hbmk2.prg ! fixed casing of hb_StrXChg() to match harbour.hbx 2013-02-15 12:14 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/src/rtl/strxchg.c + added support for using hash arrays as replace pairs in second argument of hb_strXChg() - hash arrays are accepted if 3rd parameter is ommitted or is NIL. Now this alternative syntax: hb_StrReplace( <cString>, <hChanges> ) -> <cResult> is also supported, i.e.: cData := hb_StrReplace( cSource, { "{LI}" => cLIValue, ; "{FI}" => cFIValue } ) Please remember that single hash layer is much lighter data type then array of subarrays because it needs only one GC item when each subarray is new GC item. * harbour/include/hbtypes.h * renamed HB_EXTISARRAY to HB_EXTISPARAM, old type is covered by HB_LEGACY_LEVEL4 macro. * harbour/include/hbapi.h * harbour/src/vm/extend.c + added new public C function: HB_BOOL hb_extIsNil( int iParam ); % use hb_extIsNil(n) in HB_ISNIL(n) macro. It eliminates double function call and also double (n) usage so it improves the performance and allows to use complex expressions as HB_ISNIL() argument. * harbour/src/vm/maindllp/dllext.c + added wrappers for hb_extIsNil() abd hb_extIsObject() 2013-02-15 03:09 UTC+0100 Viktor Szakats * src/rtl/tget.prg % use HB_STRXCHG() * utils/hbmk2/hbmk2.prg + use HB_STRXCHG() for all Markdown conversion ! use HB_STRXCHG() in filter evaluation code. It will fix potential problem when macro values contained internal placeholder string ! fixed Markdown conversion in copyright banner % use \t instead of manual solution * other minor cleanups + added a good bunch of TODOs for remaining places where STRTRAN() has to be changed to HB_STRXCHG() I'm only wishing for a syntax that keeps search and replace values closer together to keep the source well readable, e.g.: HB_STRXCHG( str, { ; { "{LI}", cLIValue }, ; { "{FI}", cFIValue } } ) Though it may be solved with a local wrapper because they are not speed critical. Ideas welcome. 2013-02-15 02:11 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.*.po * utils/hbmk2/hbmk2.prg ! fixed most hacks around embedded newlines in hbmk2's own output messages. Now they are handled natively, which will fix output that contains "\n" as normal part of the text, e.g. "C:\name\", and makes the newlines in .po files standard. * ChangeLog.txt * utils/hbmk2/hbmk2.prg ! "Markdown" cased correctly * src/rtl/strxchg.c + SVN props * contrib/hbtip/httpcli.prg * cleanups 2013-02-15 01:53 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/include/harbour.hbx * harbour/src/rtl/Makefile + harbour/src/rtl/strxchg.c + added new PRG function: hb_StrReplace( <cString>, <cSource> | <acSource> | <hReplace>, ; <cDest> | <acDest> ] ) -> <cResult> This function allows to easy replace different substrings in given string. If 2nd is string then each character in <cString> which exists in <cSource> at <n> position is replaced by corresponding character at <n> position in <cDest> or string from <acDest>[ <n> ] If 2nd parameter is array then each <cString> substring which exists in <acSource> at <n> position is replaced by corresponding character at <n> position in <cDest> or string from <acDest>[ <n> ]. If <n> is longer then LEN() of <cDest> or <acDest> then given character/substring is removed from result. This function should help in code which wrongly uses repeated StrTran() calls all regex which can change also substituted values. Examples: // encode XML value cXmlText := hb_StrReplace( cText, "<>&", { "<", ">", "&" } ) // now decode it to raw text cText := hb_StrReplace( cXmlText, { "<", ">", "&" }, "<>&" ) // strip all digits from string cNoDigit := hb_StrReplace( cText, "0123456789" ) // extract all digits from string cDigits := hb_StrReplace( cText, cNoDigit ) // convert chosen letters to upper case ? hb_StrReplace( "hello world, "hlwd", "HLWD" ) * harbour/src/common/hbfopen.c * added workaround for missing wsystem() in XCC 2013-02-14 14:26 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbtip/httpcli.prg + Added: method :Put( xPostData, cQuery ). This is identical to :Post() but issues PUT verb instead of POST. PUT verb is required for certain RESTful operations. 2013-02-14 23:09 UTC+0100 Viktor Szakats * contrib/xhb/hbxml.c ! several memory leaks fixed in xhb XML support (TXml class) ; Patch by Jose F. Gimenez. Thank you very much. * utils/hbmk2/hbmk2.prg ! fixed -request= to work again for Harbour pcode dynlibs regression from: 2010-07-31 13:44 UTC+0200 Viktor Szakats ff5a1d161b149b6eeca8b86f69980e4c7bea8f6a (sf.net's SVN web browser is effectively unusable anymore for certain parts of Harbour, their server cannot handle the history) ! fixed missing detection for the proper bcc linker option that disables warning for duplicate symbols in executables * extras/template/hbtpl.hbp + added example to link dynlib against other Harbour (pcode) dynlib Disclaimer: There is no "generic support" for this, only a set of conventions used throughout Harbour contrib .hbc files, contrib/make.hbs and $hb_pkg_dynlib.hbm (aka utils/hbmk2/pkg_dynl.hbm) * extras/*/*.hbx * refreshed 2013-02-14 15:08 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.*.po * utils/hbmk2/hbmk2.prg * some internal cleanups + invalid libpath detection extended to .hbc files + invalid header path detection extended to .hbc files + invalid libpath detection extended to an alternate lib directory + invalid header/lib path detection now detects some relative path formats + invalid header/lib path detection now detects values pointing to embedded C compiler location (these are always invalid and handled by hbmk2 automatically) ; amazing what it takes to protect users from themselves! I guess users who make above errors won't read the warnings anyway. 2013-02-14 11:39 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg * -harbourhelp description detailed + documented -build option in help + support for -credits option ! fixed indentation in two recent functions * utils/hbmk2/examples/contrib.hbc ! minor correction 2013-02-13 23:30 UTC+0100 Viktor Szakats * contrib/hbformat/hbfmtcls.prg * contrib/hbformat/utils/hbformat.ini + allow control for how many spaces to insert (or leave as is) between comment markers and comment text. Thanks to Jose F. Gimenez for the bit-perfect patch. 2013-02-13 22:53 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg ! fixed libname suggestion in a very obscure case * utils/hbmk2/examples/contrib.hbc - utils/hbmk2/examples/contribf.hbc - deleted further .hbc examples with heavy contrib specific information. For live .hbc example it's best to check any of them in /extras/*/ and /contrib/*/ directories 2013-02-13 22:22 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + better detection of core libraries specified in user make files + hbmk2 will now detect certain common and non-portable/wrong library specifications in command line and .hbc file. It will also suggest to correct options to use. It's now a warning, but such wrong options will be ignored after HB_LEGACY_LEVEL4. Report if it causes warnings for proper usage scenarios. Some examples for wrong options detected: my.lib libmy.lib -lmy.lib -llibmy.lib -llibmy.a -lmy.a -lC:\libs\my.lib -lC:\libs\libmy.lib -lC:\libs\libmy.a -lC:\libs\my.a -lC:\libs\hbrtl.a -lC:\hb30\lib\win\mingw\ -lC:\hb30\lib\win\mingw\my -lC:\hb30\lib\win\mingw\my.a -lC:\hb30\lib\win\mingw\hbrtl.a -lhbrtl.lib -llibhbrtl.a -lhbrtl.a [ For those who wonder: all of these can be safely replaced with '-lmy -LC:\libs' ] 2013-02-13 12:43 UTC+0100 Viktor Szakats * README.txt * minor additions/tweaks to TROUBLESHOOTING section 2013-02-13 12:30 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg * utils/hbmk2/examples/contrib.hbc * minor internal and help cleanups - utils/hbmk2/examples/c4w.hbc - utils/hbmk2/examples/fwh.hbc - utils/hbmk2/examples/oohg.hbc - utils/hbmk2/examples/whoo.hbc - utils/hbmk2/examples/xhgtk.hbc - deleted example .hbc files for defunct, commercial or long time untested against 3rd party libs, that held no real example value anymore. It's best if these files are shipped by the projects themselves. 2013-02-12 20:59 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.*.po * utils/hbmk2/hbmk2.prg ! two typos in help 2013-02-12 20:01 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.*.po * utils/hbmk2/hbmk2.prg + added all supported filter values/expressions to help. ! fixed case insensitiveness in filter comparison expressions (=,>,<) to work on non-ASCII chars as well. (I wouldn't recommend using accented chars to control build behavior though) 2013-02-12 16:57 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.*.po * utils/hbmk2/hbmk2.prg * cleanups using the word "macro" in help 2013-02-12 12:49 UTC+0100 Viktor Szakats * src/rtl/hbstrfmt.c * HB_STRFORMAT(): changed to not RTE if there is format string reference to a parameter missing at runtime, but instead simply ignore that parameter specifier. Format strings are primarily meant to help language translation of human readable strings. Old behavior could result in very difficult to test or predict runtime errors caused by typos, mistakes in translation (.po) files. It may also be unsafe in some situations, allowing DoS attack. TODO: To implement parameter checking, Harbour compiler should handle HB_STRFORMAT() as intrinsic function and test and warn if the number of parameter specifiers differs from the actual number of parameters passed, at compile time. Similar to GCC/CLANG. * contrib/hbhttpd/tests/files/main.css * extras/hbdoc/hbdoc.css * extras/httpsrv/home/css/base.css * website/css/styles.css * cleanups and applied http://csscomb.com/ 2013-02-11 21:51 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + ability to output help text in Markdown format: hbmk2 --longhelpmd > man.md view it with any Markdown compatible viewer, or convert to HTML/PDF/MANPAGE/TROFF/etc. 2013-02-11 14:51 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg ! same internal typo in another name 2013-02-11 01:47 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg ! typo in an internal macro name 2013-02-11 01:45 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + documented $*.hbm embedded .hbm include files * utils/hbmk2/pkg_inst.hbm * avoid explicit "hbmk2" 2013-02-11 01:30 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + documented all predefined source and build file macros * extras/gfspell/spell.prg ! use ASC() instead of hardcoded numeric repr. 2013-02-08 12:02 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg * polishing to warning texts committed in prev 2013-02-08 11:58 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + show warning and offer best practice when non-portable ".exe" extension is used in -o option + show warning and offer best practice when non-portable "*.lib" library name is passed directly to hbmk2 2013-02-07 22:53 UTC+0100 Viktor Szakats * ChangeLog.txt * missed to tag prev entry as needed 2013-02-07 22:29 UTC+0100 Viktor Szakats * src/codepage/l_sv.c + NOTE with Klas's explanation of the extra chars included over the Swedish alphabet + 4 new characters add to the Swedish collation as per Klas's guidance: https://groups.google.com/d/msg/harbour-devel/13ImOaYoq8o/B-mDY708EpcJ (and its followup) [INCOMPATIBLE] Reindex, if you use either SVWIN or SVISO CP. * utils/hbmk2/hbmk2.prg ! very minor fix where -hbc= option's list value items are now trimmed from spaces. * config/aix/gcc.mk * config/beos/gcc.mk * config/bsd/clang.mk * config/bsd/gcc.mk * config/bsd/pcc.mk * config/cygwin/gcc.mk * config/darwin/clang.mk * config/darwin/gcc.mk * config/dos/djgpp.mk * config/global.mk * config/hpux/gcc.mk * config/linux/clang.mk * config/linux/gcc.mk * config/linux/sunpro.mk * config/minix/ack.mk * config/minix/clang.mk * config/minix/gcc.mk * config/os2/gcc.mk * config/qnx/gcc.mk * config/sunos/gcc.mk * config/sunos/sunpro.mk * config/symbian/gcc.mk * config/vxworks/gcc.mk * config/vxworks/global.mk * config/wce/mingwarm.mk * config/win/clang.mk * config/win/mingw.mk * utils/hbmk2/hbmk2.prg * README.txt * envvar renamed HB_CCPOSTFIX -> HB_CCSUFFIX INCOMPATIBLE. (I surmise few people need this, hence no grace period) * contrib/hbmemio/tests/test.prg * minor cleanup 2013-02-07 00:16 UTC+0100 Viktor Szakats * contrib/hbtip/popcli.prg + QUESTION to method that returns three different types (of those two are indicating different errors) + FIXME added to code that can RTE (due to similarly messy solution which returns multiple type in different cases, which is obviously not accounted for when calling it.) * include/harbour.hbx * updated/cased * contrib/hbtip/mail.prg * format 2013-02-06 23:32 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/include/hbapi.h * harbour/src/vm/arrays.c + added new internal VM C function: hb_arraySwap() ! fixed typo HB_TRACE message * harbour/src/vm/hvm.c + added support for codeblocks in __vmItemID() * harbour/src/vm/classes.c + added PRG new functions: __objRestoreIVars( <aIVars>, <hClass> | <sClassFunc> | <cClassName>[, <cClassFuncName>] ) -> <oObject> it works in similar way to __objSetIVars() but stores new object result in passed <aIVars> array. * harbour/src/rtl/valtoexp.prg ! fixed serialization code for nested objects with redefined [] operator ! fixed cross references detection broken in last modification 2013-02-06 13:24 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg * moved location of envvars inside help text ; change lost locally before prev patch 2013-02-06 13:19 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + added docs for 'depimplib' and 'depimplibsrc' built-in -instpath groups (aka filelists). 2013-02-06 03:14 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.*.po * utils/hbmk2/hbmk2.prg + help text added for .hbc directives + added -longhelp/--longhelp option which will include envvars, .hbc directives and maybe future details + added -depfinish=, -harbourhelp, -ldflag+=, -dflag+= to help text + -depfinish= will now show a warning if non-existing name is passed to it as parameter + all warnings will now go to stderr (some were going to stdout before) + added -dflags=, -dflags+= .hbc directives in sync with existing options 2013-02-05 23:04 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/include/hboo.ch * added small comment * harbour/include/hbapirdd.h * harbour/src/rdd/workarea.c * fixed typo in parameter name * harbour/include/hbapi.h * harbour/src/vm/arrays.c + added to new C functions: hb_arraySetCPtr() and hb_arraySetCConst() * harbour/src/vm/classes.c + added support for passing assign type restrictions to in HB_OO_MSG_PROPERTY and HB_OO_MSG_CLASSPROPERTY in __clsAddMsg() It can be done by new option 7th <xType> parameter. + added support for super class casting in __objGetIVars() and __objSetIVars(). Now this functions can be used to serialize all object instance variables also overloaded by other classes so they can be accessed only with super class casting or by nonvirtual messages. It means that above functions create fully functional serialization system and can be used as backend for HB_SERIALIZE() and HB_VALTOEXP() when objects are serialized. Such serialization consumes more time and needs more memory but objects can be deserialized by modified code which uses slightly different raw object representation. The original HB_SERIALIZE()/ HB_VALTOEXP() format is very fast and compact but it needs exactly the same raw object representation in the program which serialized object and in the program which later desrialize it. It may create serious problems if programmer modify the code, i.e adding new instance variables or changing their order in the object class or or in one of its ancestors and then tries to restore some objects serialized by previous program version. * updated some comments and few typos in local names * harbour/src/rtl/valtoexp.prg * modified HB_VALTOEXP() to use be default __objGetIVars() and __objSetIVars() to serialize objects. + added 2nd parameter <lRaw> to HB_VALTOEXP(). By default it's .F. Setting it to .T. forces all raw serialization format. 2013-02-05 13:01 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg * utils/hbmk2/hbmk2.es_PE.po * utils/hbmk2/hbmk2.hu_HU.po * utils/hbmk2/hbmk2.pt_BR.po * avoid English abbreivated forms 2013-02-05 12:53 UTC+0100 Viktor Szakats * utils/hbtest/hbtest.prg + will now recognize -help and --help options to display help - utils/hbmk2/hbmk2.1 - utils/hbtest/hbtest.1 * config/postinst.hb - deleted platform specific "man"-files, which were either outdated (hbmk2) or the exact same as regular help output (hbtest). They are also extremely inconvenient to edit with regular text editors, plus keeping two similar docs in sync is very inefficient so pbly it's better idea to create .md output from the tools themselves and convert those to man format using an automated tool like md2man.rb. * utils/hbmk2/hbmk2.es_PE.po * utils/hbmk2/hbmk2.hu_HU.po * utils/hbmk2/hbmk2.pt_BR.po * updated one string in sync with hbmk2.prg * utils/hbmk2/hbmk2.prg * update in a comment 2013-02-05 12:38 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + help text added for envvars, disk files and macros supported by hbmk2 + HB_CCSUFFIX envvar support added. Works the same as HB_CCPOSTFIX, only with a new name * HB_CCPOSTFIX envvar deprecated with HB_LEGACY_LEVEL4 * hbmk[ "cCCPOSTFIX" ] hbmk2 plugin variable renamed to hbmk[ "cCCSUFFIX" ]. INCOMPATIBLE. Update your plugin source if you used this. 2013-02-05 02:05 UTC+0100 Viktor Szakats * ChangeLog.txt ! fix to one recent log entry 2013-02-03 12:59 UTC+0100 Viktor Szakats * src/3rd/tiff/Makefile - disabled JPEG support in libtiff. I'm leaving tuning this to someone with more interest in this feature, or wait until libtiff is synced with latest jpeg lib changes. (Still related to the mess they are making with boolean types that collide with each other and certain platform ones.) 2013-02-02 21:26 UTC+0100 Viktor Szakats * contrib/hbssl/hbssl.hbm * suppressed a gazillion of warnings where Apple was telling us that OpenSSL - as a whole - is deprecated since OS X Lion 10.7 * src/3rd/tiff/tiff.dif * src/3rd/tiff/tiffconf.h ! fixed a zillion warnings when compiled on OS X 2013-02-02 20:42 UTC+0100 Viktor Szakats * config/bsd/clang.mk * config/darwin/clang.mk * config/linux/clang.mk * config/minix/clang.mk * config/win/clang.mk ! applied gcc/mingw 'HB_BUILD_WARN := no' settings to clang * src/3rd/tiff/Makefile ! fixed regression due to strange change in jpeglib 9 related to bool type 2013-02-02 19:53 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.*.po * utils/hbmk2/hbmk2.prg * further clarification around -comp/-plat help texts * README.txt ! typos * contrib/hbnf/setlastk.c ! map to HB_KEYSETLAST() instead of deprecated synonym * contrib/hbct/charlihb.c * contrib/hbct/charophb.c * contrib/hbct/ctwfunc.c * contrib/hbct/disk.c * contrib/hbct/screen1.c + HB_EXTENSION tags for Harbour extensions * contrib/hbct/screen2.c + TODOs for missing unicode support * contrib/hbct/tests/csetarge.prg + NOTE why CTOD( "" ) must be used here * tests/dates3.prg * website/samples/dates3.prg.html * use HB_STOD() instead of CTOD( "" ) ! typos * tests/transtst.prg * use HB_STOD() instead of STOD() * contrib/hbtinymt/3rd/tinymt/tinymt.hbp * contrib/hbtinymt/3rd/tinymt/* * src/3rd/jpeg/Makefile * src/3rd/jpeg/* * src/3rd/png/Makefile * src/3rd/png/* * updated using 3rdpatch to jpeg 9, libpng 1.5.14, tinymt 1.0.2 * contrib/hbct/cterror.ch * contrib/hbct/video.c * contrib/hbnf/popadder.prg * contrib/hbnf/xbox.prg * bin/harbour.ucf * formatting 2013-02-01 15:43 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/src/rtl/run.c * restored dummy if() to pacify "unused result" warning - some compilers ignores classic method with ( void ) prefixing. 2013-02-01 13:39 UTC+0100 Viktor Szakats * include/harbour.hbx + added/cased recently added RTL functions * include/harbour.hbx * include/hbcpage.hbx * include/hblang.hbx * include/hbscalar.hbx * include/hbusrrdd.hbx * updated with latest generator 2013-02-01 01:30 UTC+0100 Viktor Szakats * bin/3rdpatch.hb * bin/commit.hb * contrib/hbblink/blinker.prg * contrib/hbxpp/runshell.prg * utils/hbmk2/hbmk2.prg % replaced hb_GetEnv() calls with GetEnv() where the Harbour extension parameter was not used * src/rtl/gete.c ! synced comment with reality * ChangeLog.txt + missed one fix from prev log entry 2013-02-01 01:19 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg * adapted to previous change * contrib/hbblink/blinker.prg + SWPRUNCMD() now returns .F. on error, like the original ! SWPRUNCMD() fixed to run the shell itself if the passed command was empty 2013-02-01 00:26 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/include/hbwinuni.h + added HB_WINAPI_SYSTEM() macro * harbour/src/rtl/run.c * harbour/src/rtl/hbrunfun.c ! use MSCRTL system call in desktop MS-Windows builds of __RUN() and HB_RUN() functions. It restores Clipper compatible __RUN() behavior and now both functions work in the same way on all platforms except WinCE/Mobile which does not have shell system. 2013-02-01 00:05 UTC+0100 Viktor Szakats * ChangeLog.txt + added encoding information to the header, which is UTF-8 from now on. It means that high chars are now allowed, but ONLY in UTF-8 encoding. Configure your editor accordingly. + added SVN props for UTF-8. * contrib/hbblink/blinker.prg * contrib/hbxpp/runshell.prg ! RUNSHELL()/SWPRUNCMD() fixes for *nix systems. * src/codepage/l_hu.c * comment made bit more precise * src/codepage/cpua866.c + comment added about the differences from standard Ukrainian collation 2013-01-31 22:41 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/src/vm/classes.c ! added missing HB_STACK_TLS_PRELOAD 2013-01-31 19:48 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/include/hbapiitm.h * harbour/src/vm/itemapi.c + added new C function hb_itemEqual() * harbour/src/vm/hashes.c % use hb_itemEqual() * harbour/src/vm/classes.c ! updated some code to work with class and instance variables declared with SYNC attribute ! fixed __clsGetProperties() with .T. in 2nd parameter to not return PERSISTENT variables twice * added new PRG functions: __objGetIVars( <oObject>, [<nScope>], [<lChanged>] ) -> <aIVars> { { <cName>, <xVal> }, ... } __objSetIVars( <oObject> | <hClass> | <cClassName> | <sClassFunc>, <aIVars> ) -> <oObject> * harbour/src/rtl/cdpapi.c ! fixed upper and lower strings validation encoded in UTF8. If both string contained errors at the same place then it was silently ignored. + added stderr message about wrong CPs when compiled with __HB_IGNORE_CP_ERRORS macro * harbour/src/codepage/cpua866.c ! fixed UA866 definition. CP866 does not contain cyrillic version of "I" and "i" letters and also "?" and "?" so Ukrainian letters defined in l_ua.c cannot be used. 2013-01-31 14:04 UTC+0100 Viktor Szakats * ChangeLog.txt ! fixed uninitialized name in a past entry header Thanks Alexey. 2013-01-30 21:08 UTC+0100 Viktor Szakats * ChangeLog + Added incompatible note to prev along with some analysis and compatibility notes. 2013-01-30 20:55 UTC+0100 Viktor Szakats * src/codepage/cpsviso.c ! fixed codepage from ISO-8859-1 to ISO-8859-15, which is needed to be able to represent all characters in the current Swedish collation. Though it turns out these offending three chars are not part of the Swedish alphabet. So here I'm finishing and letting others to fix the rest if there is any. [INCOMPATIBLE] Reindex if you use "SVISO" CP. The three non-Swedish chars are now represented in their proper location, previously they were represented by their Windows-1252 codepoints. So another solution is if you switch to "SVWIN" which was formerly identical to "SVISO", the latter being wrong. 2013-01-30 20:35 UTC+0100 Viktor Szakats * README.txt + added reminder in TROUBLESHOOTING for users who prefer to install various Harbour version into system locations. Advice for millionth time: Never install unstable Harbour versions to system locations. 2013-01-30 19:48 UTC+0100 Viktor Szakats + src/codepage/l_sr_cyr.c + src/codepage/l_sr_lat.c * src/codepage/cpsr646.c * src/codepage/cpsr646c.c * separated collations from the two correct SR CP modules ; FIXME: ? This page suggests that there are latin digraphs that should be specially sorted: https://en.wikipedia.org/wiki/Serbo-Croatian#Writing_systems * src/codepage/cpsrwin.c * changed to utilize the standard Serbian cyrillic collation to the same used by SR646C CP module. Old one seemed quite wrong though I'm not even remotely expert in Serbian. [INCOMPATIBLE] If you use "SRWIN" CP for indexing, make sure to reindex ; Verify me * src/codepage/cpua866.c * changed to utilize the standard UK (Ukrainian) collation to the same used by all other Ukrainian CP modules. The old one missed the characters: U+0490 (UPPER) - https://codepoints.net/U+0490 [https://ssl.icu-project.org/icu-bin/ubrowse?go=0490] U+0491 (LOWER) - https://codepoints.net/U+0491 According to this page, these two chars are part of the Ukrainian alphabet: https://en.wikipedia.org/wiki/Ukrainian_language#Alphabet [REVERTED] ; FIXME: RUISO: This has 4 extra character pairs compared to all other Russian CP modules: UPPER: U+0401 - https://codepoints.net/U+0401 (Russian alphabet) U+0404 - https://codepoints.net/U+0404 (Ukrainian alphabet) U+0407 - https://codepoints.net/U+0407 (Ukrainian alphabet) U+040E - https://codepoints.net/U+040E (Belarusian alphabet) LOWER: U+0451 - https://codepoints.net/U+0451 (Russian alphabet) U+0454 - https://codepoints.net/U+0454 (Ukrainian alphabet) U+0457 - https://codepoints.net/U+0457 (Ukrainian alphabet) U+045E - https://codepoints.net/U+045E (Belarusian alphabet) From the above I surmise that it'd be better if above chars would be part of std russian collation, though neither I'm an expert nor I'm sure that putting them to the end of the collation does anything good, in which latter case, it'd be better be removed from RUISO. For sure though that U+401/U+0451 should be added to std collation in l_ru.c. Any comments from Russian-breathing Harbourers? 2013-01-30 18:24 UTC+0100 Viktor Szakats * doc/en/lang.txt * include/hbapilng.h * src/rtl/langapi.c + HB_LANGNAME() Harbour API extended to accept optional language ID. See docs. + HB_LANGMESSAGE() Harbour API extended to accept 2nd parameter as optional language ID. See docs. + added new C level API to retrieve a language string from any language module (not just selected one): const char * hb_langGetItem( const char * pszID, int iIndex ); + extended hb_langName() C level API to be able to retrieve name of any language modules, not just selected one: char * hb_langName( const char * pszID ); [INCOMPATIBLE] * hb_langDGetItem() C level API moved to 'compatibility' status * uncrustified unattendedly * src/codepage/l_fr.c ! fixed another typo which was result of local paste mistake * utils/hbmk2/hbmk2.hu_HU.po * utils/hbmk2/hbmk2.prg + extended the wording of -comp=/-plat= options, default behavior indicated * tests/langapi.prg ! updated to RTE at the end and to use non-legacy language IDs * tests/langapi.prg * contrib/hbnf/tests/datecnfg.prg * utils/hbtest/hbtest.prg * minor cleanup 2013-01-30 15:31 UTC+0100 Viktor Szakats - src/codepage/l_ua.c + src/codepage/l_uk.c * src/codepage/cpua1125.c * src/codepage/cpua1251.c * src/codepage/cpuakoi8.c ! renamed to be in sync with ISO language code and src/lang/uk.c filename 2013-01-30 15:27 UTC+0100 Viktor Szakats * src/codepage/l_sv.c ! fixed again after last patch where wrong value creeped back 2013-01-30 15:22 UTC+0100 Viktor Szakats * src/codepage/cphu852.c * src/codepage/cphuiso.c * src/codepage/cphuwin.c * src/codepage/l_hu.c % moved collation related NOTE to l_hu.c 2013-01-30 15:15 UTC+0100 Viktor Szakats + src/codepage/l_bg.c + src/codepage/l_cs.c + src/codepage/l_de.c + src/codepage/l_el.c + src/codepage/l_es.c + src/codepage/l_fr.c + src/codepage/l_he.c + src/codepage/l_hr.c + src/codepage/l_hu.c + src/codepage/l_is.c + src/codepage/l_it.c + src/codepage/l_lt.c + src/codepage/l_pl.c + src/codepage/l_pt.c + src/codepage/l_ro.c + src/codepage/l_ru.c + src/codepage/l_sk.c + src/codepage/l_sl.c + src/codepage/l_sv.c + src/codepage/l_tr.c + src/codepage/l_ua.c + added per language collation modules for "CP" modules that used the same ones for a given language. ie. deduplication. Original contributor name kept but without a copyright, after all, it's two strings. ; FIXME: Here's the list of "CP" modules, that use irregular, but not 'raw' collations, that can't be explained with compatibility or other obvious reasons: SRWIN - is this 'sr_cyr' or 'sr_lat', or else? [CYRILLIC] [PATCHED] RUISO - why has this 4 extra chars at the end compared to std ru collation? [MOVED] UA866 - why is it missing an accented version of a char compared to std ua collation? [PATCHED] [DONE] * src/codepage/cpbg866.c * src/codepage/cpbgiso.c * src/codepage/cpbgmik.c * src/codepage/cpbgwin.c * src/codepage/cpcs852.c * src/codepage/cpcsiso.c * src/codepage/cpcswin.c * src/codepage/cpde850.c * src/codepage/cpdeiso.c * src/codepage/cpdewin.c * src/codepage/cpel737.c * src/codepage/cpeliso.c * src/codepage/cpelwin.c * src/codepage/cpes850.c * src/codepage/cpesiso.c * src/codepage/cpesmwin.c * src/codepage/cpeswin.c * src/codepage/cpfriso.c * src/codepage/cpfrwin.c * src/codepage/cphe862.c * src/codepage/cphewin.c * src/codepage/cphr646.c * src/codepage/cphr852.c * src/codepage/cphriso.c * src/codepage/cphrwin.c * src/codepage/cphu852.c * src/codepage/cphuiso.c * src/codepage/cphuwin.c * src/codepage/cpis850.c * src/codepage/cpis861.c * src/codepage/cpitiso.c * src/codepage/cpitwin.c * src/codepage/cplt775.c * src/codepage/cpltwin.c * src/codepage/cppl852.c * src/codepage/cppliso.c * src/codepage/cpplmaz.c * src/codepage/cpplwin.c * src/codepage/cppt850.c * src/codepage/cpptiso.c * src/codepage/cpro852.c * src/codepage/cproiso.c * src/codepage/cprowin.c * src/codepage/cpru1251.c * src/codepage/cpru866.c * src/codepage/cprukoi8.c * src/codepage/cpsk852.c * src/codepage/cpskiso.c * src/codepage/cpskwin.c * src/codepage/cpsl646.c * src/codepage/cpsl852.c * src/codepage/cpsliso.c * src/codepage/cpslwin.c * src/codepage/cpsviso.c * src/codepage/cpsvwin.c * src/codepage/cptr857.c * src/codepage/cptriso.c * src/codepage/cptrwin.c * src/codepage/cpua1125.c * src/codepage/cpua1251.c * src/codepage/cpuakoi8.c % changed to #include "lng_??.c", to avoid maintaining the same duplicated collations for multiple "CP" modules. 2013-01-30 13:22 UTC+0100 Viktor Szakats * src/codepage/cpsviso.c ! fixed wrong conversion in prev. Turns out code 140, 156 and 159 are not part of the ISO-8859-1 CP: [ https://en.wikipedia.org/wiki/ISO/IEC_8859-1 ] ; NOTE: To Klas: I'd appreciate if you could test both SVISO and SVWIN if they work exactly like before. It probably will be wrong and if it's so probably it should be converted to raw form, or even better to use ISO-8859-15 CP, which does contain the required Swedish letters: [ https://en.wikipedia.org/wiki/ISO/IEC_8859-15 ] * src/codepage/cp_tpl.c * updated for UTF8 2013-01-30 12:25 UTC+0100 Viktor Szakats * src/codepage/cphr646.c * src/codepage/cpsl646.c * src/codepage/cpsr646.c ! fixed escape chars wrongly converted in prev commit * src/codepage/cpsr646c.c + converted to UTF-8. ; TODO: test it. * tests/cpinfo.prg + generate UTF-8 CP modules when using Harbour builds. ; NOTE: Now all CPs are using UTF-8 (#define HB_CP_UTF8) so now we may well delete the non-UTF-8 mode and the extra flag as well. 2013-01-30 10:34 UTC+0100 Viktor Szakats - src/codepage/cphuutf.c - deleted now obsolete sample * src/codepage/Makefile - src/codepage/cpeswinm.c - src/codepage/cprukoi.c - src/codepage/cpruwin.c - src/codepage/cpuakoi.c - src/codepage/cpuawin.c + src/codepage/cpesmwin.c + src/codepage/cpru1251.c + src/codepage/cprukoi8.c + src/codepage/cpua1251.c + src/codepage/cpuakoi8.c * src/codepage/cpcs852c.c * src/codepage/cpde850m.c * src/codepage/cpdk865.c * src/codepage/cpel437.c * src/codepage/cpes850c.c * src/codepage/cpes850m.c * src/codepage/cpfr850m.c * src/codepage/cpit850m.c * src/codepage/cpnl850.c * src/codepage/cpnl850m.c * src/codepage/cpsk852c.c * src/codepage/cpsv850.c * src/codepage/cpsv850m.c * src/codepage/cpbg866.c * src/codepage/cpbgiso.c * src/codepage/cpbgmik.c * src/codepage/cpbgwin.c * src/codepage/cpcsiso.c * src/codepage/cpcskamc.c * src/codepage/cpcswin.c * src/codepage/cpde850.c * src/codepage/cpdeiso.c * src/codepage/cpdewin.c * src/codepage/cpel737.c * src/codepage/cpeliso.c * src/codepage/cpelwin.c * src/codepage/cpes850.c * src/codepage/cpesiso.c * src/codepage/cpeswin.c * src/codepage/cpfi850.c * src/codepage/cpfr850.c * src/codepage/cpfriso.c * src/codepage/cpfrwin.c * src/codepage/cphe862.c * src/codepage/cphewin.c * src/codepage/cphr646.c * src/codepage/cphr852.c * src/codepage/cphriso.c * src/codepage/cphrwin.c * src/codepage/cphu852.c * src/codepage/cphu852c.c * src/codepage/cphuiso.c * src/codepage/cphuwin.c * src/codepage/cpis850.c * src/codepage/cpis861.c * src/codepage/cpit437.c * src/codepage/cpit850.c * src/codepage/cpitisb.c * src/codepage/cpitiso.c * src/codepage/cpitwin.c * src/codepage/cplt775.c * src/codepage/cpltwin.c * src/codepage/cpno865.c * src/codepage/cppl852.c * src/codepage/cppliso.c * src/codepage/cpplwin.c * src/codepage/cppt850.c * src/codepage/cppt860.c * src/codepage/cpptiso.c * src/codepage/cpro852.c * src/codepage/cproiso.c * src/codepage/cprowin.c * src/codepage/cpru866.c * src/codepage/cpruiso.c * src/codepage/cpskiso.c * src/codepage/cpskkamc.c * src/codepage/cpskwin.c * src/codepage/cpsl646.c * src/codepage/cpsl852.c * src/codepage/cpsliso.c * src/codepage/cpslwin.c * src/codepage/cpsr646.c * src/codepage/cpsrwin.c * src/codepage/cpsv437c.c * src/codepage/cpsviso.c * src/codepage/cpsvwin.c * src/codepage/cptr857.c * src/codepage/cptriso.c * src/codepage/cptrwin.c * src/codepage/cpua1125.c * src/codepage/cpua866.c + converted all 8-bit encoded CPs to UTF-8 * renamed all cp filenames to match internal CP ID ; NOTE: CP646C aka 'Serbian ISO-646C (Cyrillic YUSCII)' was not converted, and I have no idea what to do with it. Do it if you know this. [DONE] ; Verify them. I was getting all sorts of initialization failures with non-UTF8 ones, after converting all of them, I'm getting one for 'SR646'. [DONE] ; If this settles, it offers interesting new possiblities, because most of the "CP" modules now essentially differ only in HB_CP_UNITB setting for a given country/language (=culture). ; Now all files inside Harbour repo can ONLY be either 7-bit ASCII or UTF-8. Nothing. Else. Mark all UTF-8 files with (this won't be necessary with Git): 'svn propset svn:mime-type "text/plain; charset=UTF-8"' 2013-01-30 09:35 UTC+0100 Viktor Szakats * src/codepage/cpcs852.c * src/codepage/cpsk852.c + converted to UTF8. Also avoiding OS X/clang to hang * src/codepage/cpplmaz.c * 'svn propset svn:mime-type "text/plain; charset=UTF-8"' * src/rtl/cdpapi.c * spaces 2013-01-30 09:21 UTC+0100 Viktor Szakats * src/codepage/cpcs852.c * src/codepage/cpsk852.c * reverted last change for these two 2013-01-30 01:04 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/include/hbcdpreg.h * harbour/include/hbapicdp.h * harbour/src/rtl/cdpapi.c * added to hb_cdpRegisterNew() new parameter which informs CP engine that passed strings with upper and lower letters are in UTF8 encoding. * harbour/src/codepage/cpplmaz.c * defined PLMAZ codepage using UTF8 encoding - just as an example. * harbour/utils/Makefile * compile hbtest before hbmk2 - it alows to build HVM test tool even if HBMK2 cannot be compiled (i.e. some compilers does not accept resource/icon files used by HBMK2) 2013-01-29 19:32 UTC+0100 Viktor Szakats * src/codepage/cpcs852.c * src/codepage/cpsk852.c ! changed to forced binary (raw) format by regenerating them from Harbour with a patched cpinfo.prg. It resolves the clang hang on OS X after upgrading to Xcode 4.6 with clang 'Apple LLVM version 4.2 (clang-425.0.24) (based on LLVM 3.2svn)' Besides the above two, more cp sources are still generating warnings about invalid CP used, and these are the only remaining Harbour sources that use non-UTF-8 and non-7-bit ASCII chars (see 2012-07-22 16:09 UTC+0200), so probably it'd be best to fix them all either this way, or some other, e.g. by storing them as UTF-8. * tests/cpinfo.prg * minor in output formatting 2013-01-29 19:11 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/contrib/hbct/ctwin.c ! fixed default translation in GETSCRUC() for control characters * harbour/package/harbour.spec * updated for new files in bin dir 2013-01-29 00:03 UTC+0100 Viktor Szakats * src/3rd/zlib/Makefile ! fix to prev commit for wce 2013-01-28 20:17 UTC+0100 Viktor Szakats * contrib/hbhpdf/harupdf.ch + sync instruction comment for developers * contrib/xhb/xhberr.prg ! replaced very shoddy commented code dealing with memvars with clean code (though using internal calls) ! fixed screen dump for unicode/non-unicode * include/fileio.ch * replaced C-specific code in a Harbour header with non-future-proof but cross-compatible code. untested. * src/3rd/zlib/Makefile ! potential but untested fix for msvcarm targets 2013-01-28 17:53 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/src/vm/classes.c ! added missing HB_STACK_TLS_PRELOAD 2013-01-28 17:44 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/src/vm/classes.c + added new PRG function: __clsGetAncestors( <nClass> ) -> { <nSupper1>, <nSupper2>, ... } * generate RTE if someone tries to register scalar class with instance variables. * updated some comments * harbour/include/hbapiitm.h * harbour/src/vm/itemapi.c + added new C function hb_itemGetLX() It's similar to hb_itemGetL() but returns HB_TRUE for some non logical items to mimic Cl*pper behavior. * harbour/src/rdd/workarea.c * harbour/src/rdd/dbf1.c ! use hb_itemGetLX() instead of hb_itemGetL() in DBEVAL(), COPY TO ..., APPEND FROM ..., SORT TO ... functions and commands - Cl*pper compatible behavior. * harbour/src/rdd/dbfntx/dbfntx1.c * minor indenting * harbour/include/fileio.ch + added HB_FA_ANY macro value - it's attribute mask for hb_fsFindFirst() which includes all directory entries regardless of their attributes. * harbour/contrib/hbct/files.c ! fixed FILEATTR() to accept by default directories, hidden and system files when called with file name in first parameter - it's standard CT3 behavior. ! limit attributes in mask used by FILE*() functions to standard DOS ones - without it existing code is not portable to * nixes. 2013-01-26 15:06 UTC+0100 Viktor Szakats * src/rdd/usrrdd/rdds/arrayrdd.prg ! another formatting error in just added continued line 2013-01-26 15:03 UTC+0100 Viktor Szakats * src/rdd/usrrdd/rdds/arrayrdd.prg ! more formatting fix to latest patch ; FIXME: hbformat to uppercase 'NIL' and to add space between '!' operator and next token. Also to format #define code (old) and to not break with inline comments inside continued lines (old). 2013-01-26 15:00 UTC+0100 Viktor Szakats - contrib/hbhpdf/error.prg + contrib/hbhpdf/errstr.prg * contrib/hbhpdf/hbhpdf.hbp ! renamed to not have the word 'error' in filename * src/rdd/usrrdd/rdds/arrayrdd.prg * patch by Quique: ! Fix '=' (comparative operator) in seek and scope ! Fix ADel()/AIns with 3 arguments ! Fix unlock records when change the pointer + Add locate ! my fixes: if() -> iif(), ending EOL, missing formatting, copyright line 2013-01-24 23:13 UTC+0100 Viktor Szakats + contrib/hbhpdf/error.prg + contrib/hbhpdf/tests/test.prg * contrib/hbhpdf/hbhpdf.hbp * contrib/hbhpdf/hbhpdf.hbx * contrib/hbhpdf/tests/harupdf.prg + hb_HPDF_GetErrorString( <nStatus> ) -> <cStatus> + test code * contrib/hbmzip/mziperr.prg * cleanups 2013-01-24 19:37 UTC+0100 Viktor Szakats * contrib/hbhpdf/hbhpdf.hbx * casing of new func 2013-01-24 19:24 UTC+0100 Viktor Szakats * contrib/hbhpdf/core.c * contrib/hbhpdf/hbhpdf.hbx + added HPDF_GetErrorDetail( hDoc ) -> nErrorCode * contrib/hbhpdf/harupdf.ch + added error constants from hpdferro.h descriptions here: https://github.com/libharu/libharu/wiki/Error-handling * contrib/xhb/*.prg * HTML * contrib/xhb/dumpvar.prg % optimizations * contrib/hbhpdf/*.c * tests/wvtext.prg * src/rtl/itemseri.c * formatting (mostly comments) 2013-01-24 15:34 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/ChangeLog.txt ! removed multiple ChangeLog entry for my last commit 2013-01-24 15:28 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/src/rtl/itemseri.c + added support for deserialization items with cross references encoded by HB_SERIALIZE() in xHarbour. Now everything (except codeblocks) [hb_]serialized by xHarbour can be decoded by HB_DESERIALIZE() in Harbour. 2013-01-24 15:14 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + links to markdown and markdown to man-page converter tool ! minor cleanup to prev * utils/hbmk2/hbmk2.1 * some updates * ChangeLog.txt ! typos/updates in previous entry * extras/hbdoc/*.prg * src/rtl/memoedit.prg * tests/clasinh.prg * tests/classch.prg * tests/inhprob.prg ! updated for new ::super: syntax * src/rtl/itemseri.c ! fixed typo in latest modification: 'warning: use of unary operator that may be intended as compound assignment (+=)' * contrib/hbgd/tests/test_out.prg * contrib/hbhttpd/* * contrib/hbtip/thtml.prg * contrib/xhb/*.prg * extras/httpsrv/* * extras/guestbk/* * website/faq/*.html * website/samples/HowToBuildOnLinux.html * website/third-party.html * some steps to modernize old HTML * extras/hbdoc/*.prg * do not use [] as string delimiter - tests/function.cfm - website/samples/function.cfm.html * .gitattributes - obsolete file deleted 2013-01-23 17:14 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg * utils/hbmk2/*.po + added '-warn=yes' option in sync with warn= .hbc directive * cleaned help for -cpp and -cpp= options * '-inc' option moved to short help page and clarified a little - deprecated several hbmk2 option synonyms. After this update, hbmk2 will issue a warning with the recommended replacement switch (and exact location where it has found it), and these will ultimately disappear with HB_LEGACY_LEVEL4 (after next release, or earlier, depending on how disrupting it is or how long the new release will take): -compiler= -> -comp= -platform= -> -plat= -mwindows -> -gui -mconsole -> -std -nodebug -> -debug- -nooptim -> -optim- -nomap -> -map- -noimplib -> -implib- -nobeep -> -beep- -nominipo -> -minipo- -noinc -> -inc- -noignore -> -ignore- -nohbcppmm -> -hbcppmm- -nostrip -> -strip- -warn= (value omitted) -> -warn=yes -warn=<value invalid> -> -warn=yes -nowarn -> -warn- -compr= (value omitted) -> -compr=yes -compr=<value invalid> -> -compr=yes -compr=def -> -compr=yes -nocompr -> -compr- -head= (value omitted) -> -head=full -head=<value invalid> -> -head=full -head -> -head=full -head- -> -head=off -nohead -> -head=off -nocpp -> -cpp- -norun -> -run- -notrace -> -trace- .hbc directives (no warning for these ones): compr=def -> compr=yes <*>=1 -> <*>=yes <*>=0 -> <*>=no Macros (no warning for these ones): ${hb_platform} -> ${hb_plat} ${hb_compiler} -> ${hb_comp} ; Update your .hbp/.hbm/.hbc files and hbmk2 command-line according to above and the new warnings. Important to note, that _all_ of the required modifications are _backward compatible_ with Harbour 3.0.0 and 2.0.0. * package/winuni/RELNOTES.txt * use -plat= option in examples * tests/testcom1.prg + made it compatible with unicode/script mode 2013-01-23 08:56 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/src/vm/classes.c * updated some comments * renamed hb_setClsHandle() to __objSetClassHandle() old function name covered by HB_LEGACY_LEVEL5 macro * harbour/src/rtl/itemseri.c + added support for deserialization xHarbour HB_SERIALIZE() output. All types except codeblocks are supported. I haven't added support for xHarbour serialized data with cyclic references. If it's really necessary then I can implement it. I also added workaround for bug in xHarbour serialization code so now Harbour correctly decodes data with LONGLONG numbers though xHarbour cannot correctly decode its own stream. Now Harbour can deserialize xHarbour data encoded by HB_SERIALIZE() and stored somewhere. It can be important in migration process, i.e. SQLRDD uses HB_SERIALIZE() to encode data in memos so now SQLRDD port for Harbour should read old tables and decode xHarbour items correctly. The same is for any other tools which saves HB_SERIALIZE() output in xHarbour. * harbour/ChangeLog.txt * minor update 2013-01-23 00:59 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg ! FindInPath(): fixed for filenames with an empty extension on *nix systems when opening hbrun scripts. [slight chance of regression.] ! fixed to use ".\" also on non-*nix systems when using -run option and the target doesn't have a directory. Previously the wrong executable might have been executed if another one with the same name existed in path. + detect another variant of "multiple definitions" linker option + detect "multiple definitions" linker message for another C compiler + tests/testcom1.prg + added com sample code posted by Przemek earlier * contrib/hbsms/tests/send.prg + added Linux device name * src/rtl/cdpdet.prg * cleanup to local function name 2013-01-22 02:53 UTC+0100 Viktor Szakats * src/rtl/teditor.prg ! fixed current color being used instead of editor's own colorspec when scrolling the editing area using up/down/left/right keys * utils/hbmk2/hbmk2.prg ! -env: option being wrongly listed as command-line only in help. Regression after 2012-06-14 12:01 UTC+0200. * comments * ChangeLog.txt ! adjusted recommended replacement options in previous commit msg 2013-01-22 00:37 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg * code cleanup to ease adding linker message exceptions * unused functions enclosed in '#if 0' guards + show warning for options that are only valid on command line and ignored when used inside .hbp/.hbm files. - deleted compatibility features: - '-arch=' option (use '-plat=' instead) Notice it will now be passed to Harbour compiler and possibly interpreted as '-a' option, so it's better to update it _now_. - '${hb_arch}' compatibility macro (use '${hb_plat}' instead) - 'mt=mt' .hbc command (use 'mt=yes' instead) [INCOMPATIBLE] * '-mwindows' and '-mconsole' legacy options will now issue a warning with suggested replacement options (-gui/-std) + hbmk2 will now issue a warning if certain known low-level linker options are used. Current list is: -Wl,--allow-multiple-definition, -force:multiple, -w-dpl. These options are ideal if the goal is to shoot yourself in the foot, otherwise they are not recommended. * contrib/hbnf/clrsel.prg * contrib/hbnf/tests/clrsel.prg ! fixed obscure unicode issue * utils/hbtest/rt_class.prg * applied tests/fixcase.hb % use new Harbour functions in Harbour-only code * extras/httpsrv/uhttpd.prg % use new Harbour function 2013-01-21 16:36 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/src/vm/classes.c % small speed optimization for inline methods + added internal list of super classes bound with each class % use super class list for scope checking % use list of super classes for instance area casting % use super class list in super destructor code - it should cause noticeable speed improvement for releasing objects with destructors. ! few security fixes like possible GPF on wrong paramas. * harbour/src/vm/macro.c % use HB_P_DUPLICATE instrad of HB_P_PUSHUNREF in Field[W]Block() functions * harbour/src/rtl/gtwvt/gtwvt.c ! do not generate HB_K_RESIZE after SetMode() if there is no active console window. * harbour/include/hbstack.h * cleaned declarations of some hb_stack*() functions - moved to internal functions: hb_stackFree(), hb_stackInit(), hb_stackIncrease() and hb_stackRemove() exported: hb_stackPush(), hb_stackTopOffset() and hb_stackTotalItems() * harbour/include/hbwmain.c ! fixed typo in argv list declaration * harbour/utils/hbtest/rt_class.prg + added code to test non virtual hidden messages and super casting. * harbour/contrib/hbmzip/mzip.c * minor modifications in casting and parameter checking to make them compatible with other similar core operations, i.e. FWRITE() 2013-01-21 00:10 UTC+0100 Viktor Szakats * src/rtl/hbfilehi.prg ! hb_PathRelativize() with a lForceRelative == .T. option might have returned wrong result if the base directory had symlinks. As a workaround/hack, now the relative path will only be returned if it actually exists. Otherwise the non-relative variant will be returned. ; It should fix hbmk2 on OS X when e.g. building a plain .c source in (default) non-incremental mode. * utils/hbmk2/hbmk2.prg ! fixed to list missing symbols once even if reported multiple times in the linker output. ! fixed to not list symbols as missing if reported in certain different error situations (e.g. as doubly defined symbol). Extend exceptions as needed for other errors/compilers/language translations. 2013-01-19 00:01 UTC+0100 Viktor Szakats * src/rtl/tget.prg ! fixed RTE in ::OverStrike()/::Insert() when a non-string parameter was passed ! fixed Clipper incompatibility when passing certain multichar strings to ::OverStrike()/::Insert(). (e.g. "12", "23") Clipper always uses the first char only. ! fixed ::unTransform() missing the leading decimal point in number picture masks (e.g. ".9", "-.9", ".-9") * tests/rto_get.prg + added regression tests for cases fixed above * tests/rto_get.prg * tests/rto_tb.prg * minor modification to make them work as hbrun scripts 2013-01-18 04:31 UTC+0100 Viktor Szakats * contrib/hbmzip/3rd/minizip/minizip.dif * contrib/hbmzip/3rd/minizip/zip.c * contrib/hbmzip/mzip.c % eliminated part of local minizip patch by using newer API flavor and passing version_made_by value in interface code. * contrib/hbmzip/mzip.c % use sizeof() instead of repeating HB_PATH_MAX + use larger than HB_PATH_MAX buffer to read out filenames stored in zip file entries. (useful when using unicode filenames which are stored in UTF-8) + added support for .zip unicode filename and comment support introduced in PKZIP 6.3.2 [dated 2007] standard: [https://www.pkware.com/documents/casestudies/APPNOTE.TXT] hb_zipFileCreate()/hb_zipStoreFile()/hb_zipStoreFileHandle() will now accept a new last parameter <lUnicode>, which when .T. will force to store the filename/comment in UTF8 in the .zip file. hb_unzipFileInfo()/hb_unzipExtractCurrentFile() will now honor filenames/comments stored in unicode mode and make any necessary conversions. ; Notice that not every .zip tool support this relatively new PKZIP format extension. Also notice that before that extension the only officially supported codepage was CP437 [See D.1 in Appendix D], which means no accented chars. Whatever else CP used, the behavior becomes application dependent and may or may not work as expected. ; Test/review/whatever * contrib/hbmzip/tests/myunzip.prg + standardized date format + switched internally to unicode to work best with unicode zips * contrib/hbmzip/tests/myzip.prg + new '--unicode' switch to enable storing filenames in unicode by using PKZIP 6.3 .zip format and unicode mode internally 2013-01-17 16:10 UTC+0100 Viktor Szakats * src/rtl/gtwin/gtwin.c ! fixed to handle Alt+numpad keyboard entry in case the scan codes were received in a single ReadConsoleInput() call. Such behavior was observed when using "keypad"/"alt" mode with multiple brands of barcode scanners, but most probably it might have happened anytime. ! fixed warnings in trace printf() masks + printf() trace will now log all scan codes read by ReadConsoleInput(), more scan code information in more readable way and alt+numpad handling more comprehensibly logged * cleaned a few numeric types ; Review me. 2013-01-16 12:44 UTC+0100 Tamas TEVESZ (ice extreme.hu) * src/rtl/gtcrs/gtcrs.h ! fixed utmp.h on FreeBSD 9+. 2013-01-13 20:51 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + display option source file/line in some output messages ! '-nooptim' option was not recognized after 2009-05-13 08:10 UTC+0200 (recommended format '-optim-' was working all along) 2013-01-12 13:06 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/src/vm/classes.c ! fixed bug in scope checking 2013-01-11 13:26 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg * tweaks to prev patch 2013-01-11 00:43 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + show warning if user -I/-L parameters explicitly specify the core header/lib dirs of Harbour. This is wrong/unnecessary depending on context, and for sure never does any good. 2013-01-10 23:25 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/include/hbapicls.h * harbour/src/vm/classes.c + added new internal C function: void hb_objCloneTo( PHB_ITEM pDest, PHB_ITEM pSource, PHB_NESTED_CLONED pClonedList ); it copies object or clone it if class overloaded clone operation. ; TODO: add support for user defined class clone operation * harbour/include/hbapiitm.h * harbour/src/vm/itemapi.c * changed returned type of hb_itemCloneTo() to void * harbour/src/vm/itemapi.c * use hb_objCloneTo() in hb_itemClone*() functions. * harbour/src/vm/arrays.c * use hb_objCloneTo() in array/hash clone code. * harbour/src/vm/arrayshb.c ! fixed return values in AEVAL() and ACOPY() when array is passed by reference. * harbour/src/rtl/tclass.prg * harbour/src/vm/classes.c * declare :SUPER and :__SUPER messages as non virtual ones. Now ::SUPER and ::__SUPER messages executed in object method returns casting to 1st super object of the class in which executed method was defined. * harbour/include/hbclass.ch * removed xtranslations for SUPER(): - this workaround for missing non virtual messages in some Clipper OOP implementations was breaking valid code which tried to use real :SUPER message and made SUPER reserved word, i.e. it was not possible to create code like: LOCAL super := ::parent2 ? super:v1, super:v2 Now this hack is not longer necessary and :SUPER is non virtual massage in Harbour. INCOMPATIBLE: If someone has some code like: SUPER():MSG() SUPER( PARENT ):MSG() then please change it to: ::SUPER:MSG() ::PARENT:MSG() * harbour/contrib/hbmysql/tmysql.prg * harbour/contrib/hbmysql/tsqlbrw.prg ! fixed to use ::super() instead of super() * harbour/src/rdd/usrrdd/rdds/arrayrdd.prg + added GOCOLD() method - this method is necessary for WAs passed to HB_DBDETACH() * harbour/doc/xhb-diff.txt * small update * harbour/contrib/*/*.hbx * regenerated 2013-01-10 16:21 UTC+0100 Viktor Szakats * contrib/hbmysql/tmysql.prg ! commented code converted to #if 0 block ! indentation * contrib/3rd/sqlite3/* * contrib/3rd/sqlite3/sqlite3.hbp ! updated to 3.7.15.2 2013-01-03 13:30 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/src/rtl/hbcom.c + added translation for some OS error codes * harbour/src/rdd/dbdetach.c ! minor correction in comment * harbour/doc/xhb-diff.txt + added new section: THREAD LOCAL WORK AREAS AND CONCURRENT WORK AREA ACCESS 2012-12-28 14:01 UTC+0100 Viktor Szakats * src/rtl/teditor.prg ! fix to fix to fix. I'd appreciate if someone else would continue the work on Harbour. 2012-12-28 13:59 UTC+0100 Viktor Szakats * src/rtl/teditor.prg ! fix to fix (code was copied in from 3.0.0) 2012-12-28 13:03 UTC+0100 Viktor Szakats * src/rtl/teditor.prg ! fixed a regression from 2012-11-14 04:49 UTC+0100, caused by an odd coding case that doesn't occure anywhere else in codebase (verified). Thanks to Vlado for noticing. 2012-12-27 16:17 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/src/vm/classes.c ! fixed unexpected item clearing in object item assignment when variable is passed by reference - problem reported by Quique. Here are code examples which could exploit the problem: o:_var( @x ) or: o:var := { @x }[ 1 ] or: o:var := iif( .t., @x, ) * harbour/src/rtl/hbcom.c * enable RTS and DTR registers by default in MS-Windows builds. I hope it will reduce number of pseudo "error" messages sent by people who cannot read basic flow control documentation. % unlock HVM when break signal is sent * harbour/src/rtl/hbcom.c * harbour/src/rtl/hbsocket.c * harbour/src/rtl/filesys.c ! fixed timeval usage in repeated select() calls in systems like Linux * harbour/contrib/hbwin/win_rpc.c ! fixed WINCE builds * harbour/src/rtl/hbinet.c * repeat accept operation if other thread concurently accpeted new connection or some asynchronous network error appeared. ; FIXME: basic hbrun functionality is broken and now it is not possible to create scripts starting with line: #!/usr/bin/hbrun which do not have .hb or .prg file name extension [UPDATE: which has no extension] [DONE] 2012-12-27 01:52 UTC+0100 Viktor Szakats * package/winuni/mpkg_win_uni.nsi ! exclude bcc64 parts * contrib/3rd/sqlite3/* * contrib/3rd/sqlite3/sqlite3.hbp ! updated to 3.7.15.1 2012-12-19 07:08 UTC+0100 Viktor Szakats * contrib/hbcurl/core.c * doc/en/garbage.txt * include/hbapi.h * include/hbapicdp.h * include/hbapierr.h * include/hbcomp.h * include/hbcompdf.h * include/hbexpra.c * include/hbexprb.c * include/hbexprop.h * include/hbhash.h * include/hbmacro.h * src/common/expropt1.c * src/common/expropt2.c * src/common/hbhash.c * src/compiler/genc.c * src/compiler/gencc.c * src/compiler/harbour.y * src/compiler/harbour.yyc * src/compiler/harbour.yyh * src/compiler/hbcmplib.c * src/compiler/hbcomp.c * src/compiler/hbdead.c * src/compiler/hbfix.c * src/compiler/hbgenerr.c * src/compiler/hblbl.c * src/compiler/hbmain.c * src/compiler/hbopt.c * src/compiler/hbpcode.c * src/compiler/hbstripl.c * src/compiler/ppcomp.c * src/macro/macro.y * src/macro/macro.yyc * src/macro/macro.yyh * src/macro/macrolex.c * src/rdd/hsx/hsx.c * src/rdd/workarea.c * src/rtl/errapi.c * src/vm/garbage.c * src/vm/hashes.c * src/vm/hvm.c * src/vm/macro.c * HB_*_PTR pointer types renamed to HBP_* * left HB_MACRO_PTR, HB_ERROR_INFO_PTR, HB_HASH_TABLE_PTR, HB_GARBAGE_FUNC_PTR for compatibility, but they are deprecated. ; Now all Harbour specific pointers types have 'PHB_' prefix 2012-12-17 19:04 UTC+0100 Viktor Szakats - doc/en/hb_api.txt - doc/en/hb_apier.txt - doc/en/hb_apifs.txt - doc/en/hb_apigt.txt - doc/en/hb_apiit.txt - doc/en/hb_apiln.txt - doc/en/hb_apird.txt - doc/en/hb_compa.txt - doc/en/hb_date.txt - doc/en/hb_macro.txt - doc/en/hb_vm.txt * doc/en/hb_set.txt - deleted 0.5 MB worth of collection of very outdated 1:1 copies of C declarations and their comments from .h headers, as they were 12 years ago. * include/hbapi.h * include/hbvmpub.h * src/vm/codebloc.c * HB_CODEBLOCK_PTR type renamed to PHB_CODEBLOCK. Old type remains for a while for compatibility. ; TODO: Remaining list of similar ones: public: HB_MACRO_PTR PHB_MACRO HB_ERROR_HANDLER_PTR PHB_ERROR_HANDLER HB_ERROR_INFO_PTR PHB_ERROR_INFO HB_HASH_ITEM_PTR PHB_HASH_ITEM HB_HASH_TABLE_PTR PHB_HASH_TABLE internal: HB_VOID_PTR PHB_VOID HB_CBVAR_PTR PHB_CBVAR HB_EXPR_PTR PHB_EXPR HB_ENUMERATOR_PTR PHB_ENUMERATOR HB_ELSEIF_PTR PHB_ELSEIF HB_LOOPEXIT_PTR PHB_LOOPEXIT HB_SWITCHCASE_PTR PHB_SWITCHCASE HB_SWITCHCMD_PTR PHB_SWITCHCMD HB_RTVAR_PTR PHB_RTVAR HB_COMMON_PTR PHB_COMMON HB_PCODE_INFO_PTR PHB_PCODE_INFO HB_COMP_PTR PHB_COMP [DONE] 2012-12-17 18:35 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg ! hbshell_DirBase()/hbshell_ProgName() fixed to return proper non-ASCII chars (= if hbrun/hbmk2 resides in a directory with non-ASCII chars) even if the .hb script or a shell command had changed the default codepage. 2012-12-16 19:04 UTC+0100 Viktor Szakats * include/hbdefs.h - deleted redundant type: 'HB_FUNC_PTR' INCOMPATIBLE. If you used this, swap it for 'PHB_FUNC' * ws formatting * ChangeLog.txt ! typos * tests/testdyn.prg ! fixed -w3 warnings on non-win ! fixed possible type in text output * config/postinst.hb * utils/hbmk2/hbmk2.prg + use hb_StrFormat() in few more places + added minor exception after .hbx 'do no edit' * website/index.html ! unclosed tag 2012-12-16 06:26 UTC+0100 Viktor Szakats * ChangeLog.txt * include/hbcomp.h * include/hbcompdf.h * include/hbexprb.c * src/compiler/genc.c * src/compiler/gencc.c * src/compiler/genhrb.c * src/compiler/harbour.y * src/compiler/harbour.yyc * src/compiler/hbdbginf.c * src/compiler/hbdead.c * src/compiler/hbfix.c * src/compiler/hbgenerr.c * src/compiler/hblbl.c * src/compiler/hbmain.c * src/compiler/hbopt.c * src/compiler/hbpcode.c * src/compiler/hbstripl.c * src/vm/memvars.c * renamed most remaining non-prefixed Harbour types See: 2012-12-16 00:17 UTC+0100 2012-12-16 05:33 UTC+0100 Viktor Szakats * config/darwin/clang.mk + use 'clang++' in C++ mode * include/hbcomp.h * include/hbmacro.h * include/hbsetup.h % deleted redundant and/or unnecessary C RTL headers + config/win/clang.mk * utils/hbmk2/hbmk2.prg * utils/hbmk2/hbmk2.*.po * README.txt + added very experimental win/clang support to the build systems. Very lightly tested. ! fixed entry function detection not being enabled with clang ! fixed .res files not being added on os2/gcc[omf] from .hbc/sources= directive + added recently added new filter 'allbcc' to help text ! synced compiler list per platform in help/readme with reality * ChangeLog.txt + updated 2012-12-16 00:17 UTC+0100 with the first DONE item. * src/3rd/pcre/* - reverted to 8.31 until all the breakage in configurability is fixed either in pcre or by redesigning our way of configuring it. Command-line configuration -DHAVE_*=0 doesn't seem to work anymore. 2012-12-16 03:07 UTC+0100 Viktor Szakats + config/win/bcc64.mk * config/global.mk * config/postinst.hb * config/win/bcc.mk * package/winuni/mpkg_win_uni.bat * package/winuni/mpkg_win_uni.nsi * README.txt * utils/hbmk2/hbmk2.prg + added rough cut support for bcc64 to the two make systems. Untested. Autodetection and some 32-bit specific tricks not implemented. bcc64 is based on clang and it's only a bcc "emulation" layer on top of it. At least it will be a good compiler now, but it's important to see that it's internally a clang compiler, so its behavior and raw options are gcc-like. Changes are based on xhb patches and bcc64 online docs: http://docwiki.embarcadero.com/RADStudio/XE3/en/Command_Line_Utilities_Index 2012-12-16 00:35 UTC+0100 Viktor Szakats * include/hbcomp.h * include/hbcompdf.h * src/compiler/genc.c * src/compiler/genhrb.c * src/compiler/harbour.y * src/compiler/harbour.yyc * src/compiler/hbmain.c * few more type renames to have std Harbour prefix 2012-12-16 00:17 UTC+0100 Viktor Szakats * include/hbcomp.h * include/hbcompdf.h * src/compiler/genc.c * src/compiler/hbmain.c * src/compiler/ppcomp.c * renamed a non-prefixed Harbour type due to collision with bcc64 (as per xhb commit) ; TODO: Here is portion from my TODO backlog with a list of other remaining non-prefixed types to fix: VS_* -> HB_VSCOMP_* [DONE] VU_* -> HB_VU_* [DONE] VT_* -> HB_VT_* [DONE] FUN_* -> HB_FUNF_* [DONE] *COMDECLARED -> [P]HB_HDECLARED [DONE] *COMCLASS -> [P]HB_HCLASS [DONE] *COMSYMBOL -> [P]HB_HSYMBOL [DONE] VAR, PVAR -> [P]HB_HVAR [DONE] _FUNC, PFUNCTION -> [P]HB_HFUNC [DONE] _FUNCALL, PFUNCALL -> [P]HB_HFUNCALL [DONE] _INLINE, PINLINE -> [P]HB_HINLINE [DONE] _EXTERN, PEXTERN -> [P]HB_HEXTERN [DONE] FUNCTIONS -> HB_HFUNCTION_LIST [DONE] INLINES -> HB_HINLINE_LIST [DONE] SYMBOLS -> HB_HSYMBOL_LIST [DONE] -- These spill via .ch files included into .c code: FS_* -> HB_FS_* FC_* -> HB_FC_* FO_* -> HB_FO_* FD_* -> HB_FD_* F_ERROR -> (-) -- Several unprefixed Clipper legacy types in RDD code (e.g. AREAP - should be PHB_AREA) 2012-12-16 00:06 UTC+0100 Viktor Szakats * contrib/3rd/sqlite3/sqlite3.hbp * contrib/3rd/sqlite3/* * updated to 3.7.15 * contrib/hbsqlit3/core.c * contrib/hbsqlit3/hbsqlit3.hbx + added sqlite3_errstr(), new in 3.7.15 * minor cleanups 2012-12-12 01:12 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + use implibs (if available) as source of information for updating .hbx files in -hbdyn mode. See in-code comment for more. * utils/hbmk2/pkg_dynl.hbm + enabled to rebuild .hbx files even in -hbdyn mode (after above hbmk2 fix/improvement) * extras/template/hbtpl.hbc * extras/template/hbtpl.hbp * minor tidying 2012-12-11 17:41 UTC+0100 Viktor Szakats * utils/hbmk2/pkg_dynl.hbm * deleted no longer true reference to GNU Make * contrib/rddads/adsfunc.c * contrib/rddads/rddads.hbx + added AdsDDCreateRefIntegrity() and AdsDDRemoveRefIntegrity() (former looks similar to xhb version, but incompatible due to the several necessary fixes.) 2012-12-09 14:52 UTC+0100 Viktor Szakats * tests/fixcase.hb ! minor fix + accept single filename * contrib/hbct/fcopy.prg * contrib/hbnf/nwsem.prg * contrib/hbnf/tbwhile.prg * contrib/xhb/regexrpl.prg * extras/gtwvw/tests/_wvwmous.prg * src/rtl/tbrowse.prg * tests/devtest.prg * tests/mathtest.prg * tests/vidtest.prg ! rerun fixcase.hb after fix * tests/harbour.ini * tests/inifiles.prg * minor cleanups 2012-12-06 20:57 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + added 'hbshell: ' prefix to all output originating from hbshell ("hbdot") functionality 2012-12-06 20:04 UTC+0100 Viktor Szakats * extras/template/hbtpl.hbc * extras/template/hbtpl.hbp + added commented lines for 3rd party lib dependency 2012-12-06 19:51 UTC+0100 Viktor Szakats * extras/template/tests/hbstart.hb + added missing svn id + added comment 2012-12-06 15:51 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg * default .hbc version number changed to 1 (from 0) 2012-12-06 15:19 UTC+0100 Viktor Szakats + extras/template/tests/hbstart.hb * extras/template/readme.txt + added dot prompt support/info 2012-12-06 14:49 UTC+0100 Viktor Szakats * extras/template/core.prg * extras/template/corec.c * extras/template/hbtpl.ch * extras/template/tests/sample.prg * extras/template/tests/test.prg + comments added 2012-12-06 14:36 UTC+0100 Viktor Szakats + extras/template + extras/template/core.prg + extras/template/corec.c + extras/template/hbtpl.ch + extras/template/hbtpl.hbc + extras/template/hbtpl.hbp + extras/template/hbtpl.hbx + extras/template/readme.txt + extras/template/tests + extras/template/tests/hbmk.hbm + extras/template/tests/sample.prg + extras/template/tests/test.prg + added Harbour library project template it supports static and dynamic lib build mode, features user defined macro, command, PRG level function and C level function, sample code, regression tests, .hbc file and automatic installation to /addons and readme describing the commands to build and use the library. 2012-12-06 04:27 UTC+0100 Viktor Szakats * contrib/hbrun/hbrun.hbp ! load dynamically loaded hbunix/hbwin default extensions only on their native platforms. This avoid load warning if the packages is completely missing on a system, so the .hbc file isn't there, so the filter based detection cannot work. 2012-12-06 02:24 UTC+0100 Viktor Szakats - contrib/hbtest/corec.c * contrib/hbtest/hbtest.hbp * contrib/hbtest/hbtest.hbx % deleted unused function 2012-12-05 17:35 UTC+0100 Viktor Szakats * contrib/xhb/regexrpl.prg * contrib/xhb/xhb.hbx ! minor casing fix + contrib/xhb/tests/regexrpl.prg + added test from xhb (the function doesn't seem to work) + tests/regex.prg + tests/regextst.prg + added regex tests from xhb * contrib/hblzf/tests/test.prg ! typos * package/winuni/RELNOTES.txt * minor 2012-12-04 23:01 UTC+0100 Viktor Szakats * src/3rd/pcre/Makefile * src/3rd/pcre/pcre.dif * src/3rd/pcre/*.h * updated with 3rdpatch to 8.32 2012-12-04 14:14 UTC+0100 Viktor Szakats * contrib/hbpost.hbm * utils/hbmk2/pkg_dynl.hbm * hack to avoid contrib/addon dynamic libs being used automatically on *nix system when building executables. Now they will be put in bin dir, just like on win. * utils/hbmk2/hbmk2.prg + hbshell_include_list() API to list loaded core headers. + allow loading dynamic extensions on *nix even if built against static HVM. * display statically linked extensions in uppercase in dot prompt UI and dynamic ones with original (lower) case. (was normal case and postfixed with '*' respectively) + do not load dynamic extension if the .hbc file is not found + attempt to detect if dynamic extension loads fine on a given platform and only try loading the dynamic lib if it does. + added protection to not add duplicate compiler options when compiling dot prompt entry. * contrib/hbrun/hbrun.hbp + load default contrib libs dynamically on *nix, even if hbrun is built against static HVM. ; these make work dynamic extensions on *nix systems. * contrib/hbtip/sessid.prg * extras/httpsrv/cgifunc.prg * updated HTTP date format to use preferred format: https://tools.ietf.org/html/rfc2616#section-3.3.1 % optimized code and eliminated unnecessary _SET_DATEFORMATs ; tip_DateToGMT() and its uhttpd_DateToGMT() derivative * src/compiler/hbusage.c * updated contributor list * contrib/sddoci/tests/test1.prg * contrib/sddodbc/tests/test1.prg * contrib/sddodbc/tests/test2.prg * contrib/sddsqlt3/tests/test1.prg * use std way to configure date format 2012-12-04 00:59 UTC+0100 Viktor Szakats * extras/hbusb/hbusb.ch * extras/hbvpdf/hbvpdf.ch ! missing self-guards for standard headers 2012-12-04 00:51 UTC+0100 Viktor Szakats * contrib/hbrun/hbrun.hbp * utils/hbmk2/hbmk2.prg + loading packages using ext.load, hbshell_ext_load(), 'hb_ext.ini'/'hb_extension' config files and HB_EXTENSION envvar will now automatically load the packages' standard headers and will properly set HBMK_HAS_* macros, just like when running scripts or using .hbc files. + do not statically link contribs to hbrun when hbrun is built dynamically. Instead, load default contribs dynamically on startup (yes, performance will be worse. If you don't like this, see 2012-12-03 15:17 UTC+0100). This way these loaded packages will behave exactly the same as any other dynamically loaded packages, e.g. standard headers will be loaded and usable. + hbshell_include()/hbshell_uninclude() will now load/unload core headers available in dot prompt. + 'hb.ch' core header is now loaded for scripts and dot prompt by default. It means that K_ESC will now return 27 and hb_gtInfo( HB_GTI_VERSION ) will work as well, just like many other commonly used constants. For a precise list, see the content of include/hb.ch. If you don't like it, unload it from hbstart.hb using hbshell_uninclude( "hb.ch" ) % use embedded headers when using the dot prompt. * contrib/hbsms/sms.prg * commented code cleanup 2012-12-03 16:37 UTC+0100 Viktor Szakats + contrib/hbgt/tests/hbmk.hbm + missing autohbm file 2012-12-03 16:19 UTC+0100 Viktor Szakats * contrib/hbct/tests/test.prg * contrib/hbgt/tests/test.prg * contrib/hbmisc/tests/tsstrfmt.prg ! missing #requires 2012-12-03 15:40 UTC+0100 Viktor Szakats - contrib/gtalleg/gtalleg.c + contrib/gtalleg/gtallegd.c + contrib/gtalleg/gtalleg.hbx * contrib/gtalleg/gtalleg.hbc * contrib/gtalleg/gtalleg.hbm * contrib/gtalleg/tests/test.prg + build as dynlib + run as script (it hangs on exit) 2012-12-03 15:26 UTC+0100 Viktor Szakats * contrib/hbformat/utils/hbformat.prg * contrib/hbnetio/utils/hbnetio/netiomgm.hb * contrib/hbnetio/utils/hbnetio/netiosrv.prg * package/harb_win.mft * package/harb_win.rc * README.txt * src/compiler/hbusage.c * src/pp/hbpp.c * utils/hbi18n/hbi18n.prg * utils/hbmk2/hbmk2.hu_HU.po * utils/hbmk2/hbmk2.prg * utils/hbtest/hbtest.prg * Bumped copyright year to 2013. + updates to contributor list 2012-12-03 15:17 UTC+0100 Viktor Szakats * config/global.mk * README.txt + enabled dynlib generation by default on the Windows platform. It means that hbrun will be built in shared mode, so it can load them. You can copy hbmk2 to the name 'hbrun' and get a static built hbrun, or build it using its .hbp file to your own needs. If you feel offended anyways, turn off dyn contribs as described in README.txt 2012-12-03 13:03 UTC+0100 Viktor Szakats * (whole trunk repo) * COPYING -> COPYING.txt 2012-12-03 12:38 UTC+0100 Viktor Szakats * contrib/hbxdiff/tests/test3.prg ! fixed to run as script * contrib/hbnf/tests/dfile.prg * contrib/hbnf/tests/pending.prg * use CLS instead of old dBase trick 2012-12-01 21:40 UTC+0100 Viktor Szakats + contrib/sddfb/sddfb.hbx + contrib/sddmy/sddmy.hbx + contrib/sddoci/sddoci.hbx + contrib/sddodbc/sddodbc.hbx + contrib/sddpg/sddpg.hbx + contrib/sddsqlt3/sddsqlt3.hbx + contrib/sddfb/core.c + contrib/sddmy/core.c + contrib/sddoci/core.c + contrib/sddodbc/core.c + contrib/sddpg/core.c + contrib/sddsqlt3/core.c - contrib/sddfb/sddfb.c - contrib/sddmy/sddmy.c - contrib/sddoci/sddoci.c - contrib/sddodbc/sddodbc.c - contrib/sddpg/sddpg.c - contrib/sddsqlt3/sddsqlt3.c * contrib/sddfb/sddfb.hbp * contrib/sddmy/sddmy.hbp * contrib/sddmy/tests/test1.prg * contrib/sddoci/sddoci.hbp * contrib/sddoci/tests/test1.prg * contrib/sddodbc/sddodbc.hbp * contrib/sddodbc/tests/test1.prg * contrib/sddpg/sddpg.hbp * contrib/sddsqlt3/sddsqlt3.hbp * contrib/sddsqlt3/tests/test1.prg + all sdd drivers can now be used in scripts * extras/httpsrv/cookie.prg * extras/httpsrv/session.prg * extras/httpsrv/uhttpd.hbp * extras/httpsrv/uhttpd.prg ! fixed -w3 errors + enabled -w3 * utils/hbmk2/hbmk2.prg ! fixed to not redefine HBMK_HAS_* macros % minor opt to version 0 HBMK_HAS_* define 2012-12-01 19:04 UTC+0100 Viktor Szakats * include/harbour.hbx ! to prev 2012-12-01 12:17 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + automatically define HBMK_HAS_<packagename> macro if a given package is linked or loaded when running as script. E.g. HBMK_HAS_HBGD. The macro will have the value zero if there is no version information about the package and it will be 0x010203 if there is, via .hbc version=x[.y[.z]] directive. * extras/httpsrv/modules/showcounter.prg * extras/httpsrv/modulesg.hbp * extras/httpsrv/uhttpd.prg * extras/httpsrv/uhttpdgd.hbp + use HBMK_HAS_* macro instead of manually rolled solution 2012-11-30 17:30 UTC+0100 Viktor Szakats * extras/hbusb/hbusb.hbc * extras/hbusb/tests/hbmk.hbm * extras/hbusb/tests/test.prg * extras/hbvpdf/hbvpdf.hbc * extras/hbvpdf/tests/pdf_demo.prg + use default headers extras where it makes sense 2012-11-30 15:36 UTC+0100 Viktor Szakats * contrib/xhb/xhbcls.ch ! fixed recent casing typo in 2012-10-03 19:06 UTC+0200 2012-11-30 15:14 UTC+0100 Viktor Szakats * include/Makefile - include/hbtest.ch * src/rtl/Makefile - src/rtl/hbtest.prg * utils/hbmk2/hbmk2.prg - deleted hbtest from core. * contrib/hbct/tests/test.prg * contrib/hbgt/tests/test.prg * contrib/hbmisc/tests/tsstrfmt.prg * modified regression tests to use hbtest contrib instead of hbtest functionality in core RTL ; Thanks to Mindaugas and Przemek, now the contrib tests will require users to manually add 'hbtest.hbc' to their hbmk2 command-line in case someone would like to build exes from them. Which means that fewer people will bother to build and run them. They still run simply using 'hbrun <name>.prg' as scripts. 2012-11-30 15:09 UTC+0100 Viktor Szakats * contrib/hbplist + contrib/hbtest + contrib/hbtest/core.prg + contrib/hbtest/corec.c + contrib/hbtest/hbtest.ch + contrib/hbtest/hbtest.hbc + contrib/hbtest/hbtest.hbp + contrib/hbtest/hbtest.hbx + contrib/hbtest/tests + contrib/hbtest/tests/hbmk.hbm + contrib/hbtest/tests/test.prg + added hbtest functionality as contrib - src/rtl/hbtestc.c * include/harbour.hbx * src/rtl/Makefile % deleted function not use in core 2012-11-30 03:52 UTC+0100 Viktor Szakats * src/rtl/hbtest.prg ! made another accidentally public function STATIC % merged XToStr() and XToStrE() % XToStr() modified to use hb_CStr() where it can * utils/hbtest/hbtest.prg * utils/hbtest/rt_hvma.prg * utils/hbtest/rt_math.prg * utils/hbtest/rt_misc.prg * utils/hbtest/rt_trans.prg % synced in-string date format with src/rtl/hbtest.prg * contrib/hbmisc/tests/tsstrfmt.prg ! fixed to not rely on current date ! fixed to set date format 2012-11-29 15:29 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg * utils/hbmk2/*.po + accept .ch files as project input. These headers will be used as standard ones using -u+ option. E.g.: --- test.prg ? K_ESC --- $ hbmk2 inkey.ch test.prg $ test -> 27 + accept .ch files in sources= .hbc directive. ; TODO: consider deleting headers= directive 2012-11-29 14:56 UTC+0100 Viktor Szakats * include/hb.ch * utils/hbmk2/hbmk2.prg * minor sync between list of "essential" core headers and the minimal list of core headers embedded into hbmk2. (minimal list is not used in default builds) * added missing hbstrict.ch to full list of included headers 2012-11-29 14:39 UTC+0100 Viktor Szakats * contrib/rddads/tests/datad.prg * contrib/rddads/tests/testmg.prg * cleanup to script rdd registration code from yesterday 2012-11-29 13:54 UTC+0100 Viktor Szakats * contrib/hblzf/tests/hbmk.hbm * contrib/hblzf/tests/test.prg * contrib/hblzf/tests/test2.prg * contrib/hbodbc/tests/hbmk.hbm * contrib/hbodbc/tests/odbccall.prg * contrib/hbodbc/tests/odbcdemo.prg * contrib/hbodbc/tests/testodbc.prg * contrib/hbssl/tests/bio.prg * contrib/hbssl/tests/crypt.prg * contrib/hbssl/tests/digest.prg * contrib/hbssl/tests/encode.prg * contrib/hbssl/tests/hbmk.hbm * contrib/hbssl/tests/pem.prg * contrib/hbssl/tests/test.prg * contrib/hbtinymt/tests/hbmk.hbm * contrib/hbtinymt/tests/test32.prg * contrib/hbtinymt/tests/test64.prg * contrib/hbxdiff/tests/hbmk.hbm * contrib/hbxdiff/tests/test.prg * contrib/hbxdiff/tests/test2.prg * contrib/hbxdiff/tests/test3.prg * contrib/hbziparc/tests/hbmk.hbm * contrib/hbziparc/tests/unzipa.prg * contrib/hbziparc/tests/zipa.prg % moved simpleio.ch to hbmk.hbm 2012-11-29 13:49 UTC+0100 Viktor Szakats * contrib/hbfbird/tests/hbmk.hbm * contrib/hbfbird/tests/simple.prg * contrib/hbfbird/tests/stress.prg * contrib/hbfbird/tests/test.prg % moved simpleio.ch to hbmk.hbm * contrib/hbnf/tests/findith.prg * contrib/hbunix/tests/testdmn.prg * avoid QUIT 2012-11-29 13:21 UTC+0100 Viktor Szakats * src/rtl/hbtest.prg ! missed STATIC from an internal function 2012-11-29 13:16 UTC+0100 Viktor Szakats * contrib/hbgd/tests/hbmk.hbm * contrib/hbgd/tests/animgif.prg * contrib/hbgd/tests/antialia.prg * contrib/hbgd/tests/counter.prg * contrib/hbgd/tests/gdtest.prg * contrib/hbgd/tests/gdtestcl.prg * contrib/hbgd/tests/tostring.prg * contrib/hbgd/tests/tpoly.prg * experiment: instead of #including "simpleio.ch" in most tests, I added -u+simpleio.ch to hbmk.hbm so it's automatically enabled for all tests. (need to be careful about it e.g. in /tests/ where some code assumes that ?/?? goes to screen, not stdout) * contrib/hbwin/tests/testprn.prg * contrib/hbwin/tests/testprn2.prg * contrib/hbwin/win_tprn.prg * cleanups (names, avoid QUIT, use hb_StrFormat(), etc) 2012-11-29 01:44 UTC+0100 Viktor Szakats * contrib/gtwvg/gtwvg.hbc + added all three headers as standard one (they were all used in all tests files) * contrib/gtwvg/tests/_activex.prg * contrib/gtwvg/tests/_cuigdlg.prg * contrib/gtwvg/tests/_dyndlgs.prg * contrib/gtwvg/tests/_modal.prg * contrib/gtwvg/tests/_tbrowse.prg * contrib/gtwvg/tests/_utils.prg * contrib/gtwvg/tests/_wvtcls.prg * contrib/gtwvg/tests/_xbp.prg * contrib/gtwvg/tests/demowvg.prg * contrib/gtwvg/tests/demowvg1.prg * contrib/gtwvg/tests/demoxbp.prg % do not explicitly include standard gtwvg headers 2012-11-29 01:38 UTC+0100 Viktor Szakats * contrib/gtwvg/tests/_utils.prg ! fixed to not define a function which is already defined as a macro * contrib/gtwvg/wvgparts.ch * minor * contrib/gtwvg/hbgtwvg.ch ! fixed the way some HB_GTE_* event macro collision is avoided with core 2012-11-29 01:20 UTC+0100 Viktor Szakats * contrib/rddads/ads.ch ! added missing self-guard * contrib/hbmagic/tests/hbmagit.prg * contrib/hbmxml/tests/custom.prg * contrib/hbmxml/tests/reminder.prg * contrib/hbmxml/tests/testmxml.prg % no longer use #include to include standard package headers. Rely on autoload triggered by .hbc file or #require directive. (missed from prev) * contrib/rddads/tests/datad.prg * contrib/rddads/tests/testmg.prg ! fixed to run properly as scripts (need to register RDDs manually in such scenario, maybe this could be automatized?) * contrib/hbwin/hbwin.hbc * contrib/rddads/rddads.hbc + set hbwin.ch and ads.ch as standard headers ; NOTE: Seems that hbct, hbxpp and xhb contribs do not have such what could be called common standard headers. For gtwvg I cannot tell, but probably all three .ch files should be standard. * contrib/hbwin/tests/testax.prg * contrib/hbwin/tests/testcom1.prg * contrib/hbwin/tests/testcom2.prg * contrib/hbwin/tests/testcopy.prg * contrib/hbwin/tests/testevnt.prg * contrib/hbwin/tests/testgdi.prg * contrib/hbwin/tests/testmapi.prg * contrib/hbwin/tests/testprn.prg * contrib/hbwin/tests/testreg.prg * contrib/hbwin/tests/testsvc.prg * contrib/hbzebra/tests/testwin.prg * contrib/rddads/tests/datad.prg * contrib/rddads/tests/testmg.prg % no longer use #include to include standard package headers. Rely on autoload triggered by .hbc file or #require directive. ; WARNING: The autoload feature for standard package headers should be generally harmless, but it might as well pose an INCOMPATIBILITY if user code redefines or simply uses macro names/commands in user code that collide with the ones defined in these standard headers. If this comes up, avoid using .hbc files, until your code is changed/fixed to avoid name collisions either by renames or undeffing the standard ones. As consequence it's even more important to pay attention to macro namespaces used in package headers to avoid accidental collision with user code. This was standard practice for function/class names, now it is extended for macros/user commands. 2012-11-29 00:49 UTC+0100 Viktor Szakats * contrib/hbwin/hbole.ch ! missing svn props * contrib/hbwin/hbsim.ch * contrib/hbfoxpro/hbfoxpro.ch * contrib/hbmysql/mysql.ch ! added missing self-guards This was a requirement, but now it really must be done, if a header wants to be put in headers= directive in a .hbc file for auto-inclusion. * contrib/hbmysql/tests/dbf2mysq.prg ! missing #require directive * contrib/hbblat/hbblat.hbc * contrib/hbblink/hbblink.hbc * contrib/hbbz2/hbbz2.hbc * contrib/hbcairo/hbcairo.hbc * contrib/hbcurl/hbcurl.hbc * contrib/hbexpat/hbexpat.hbc * contrib/hbfimage/hbfimage.hbc * contrib/hbfoxpro/hbfoxpro.hbc * contrib/hbgd/hbgd.hbc * contrib/hbhpdf/hbhpdf.hbc * contrib/hblzf/hblzf.hbc * contrib/hbmagic/hbmagic.hbc * contrib/hbmlzo/hbmlzo.hbc * contrib/hbmxml/hbmxml.hbc * contrib/hbmysql/hbmysql.hbc * contrib/hbmzip/hbmzip.hbc * contrib/hbnetio/hbnetio.hbc * contrib/hbpgsql/hbpgsql.hbc * contrib/hbsqlit3/hbsqlit3.hbc * contrib/hbssl/hbssl.hbc * contrib/hbtpathy/hbtpathy.hbc * contrib/hbxdiff/hbxdiff.hbc * contrib/hbzebra/hbzebra.hbc * contrib/rddsql/rddsql.hbc + added .ch headers to .hbc files for autoload. ; For some contribs it still has to do for several reasons, e.g. .ch file overrides standard features so they must stay optional, or they must be optional for other reasons, or they have multiple headers and I didn't decide yet which one of those should be standard. * contrib/hbexpat/tests/test.prg * contrib/hbexpat/tests/tohash.prg * contrib/hbfimage/tests/fitest.prg * contrib/hbgd/tests/animgif.prg * contrib/hbgd/tests/antialia.prg * contrib/hbgd/tests/counter.prg * contrib/hbgd/tests/gdtest.prg * contrib/hbgd/tests/gdtestcl.prg * contrib/hbgd/tests/test_out.prg * contrib/hbgd/tests/testdpi.prg * contrib/hbgd/tests/tostring.prg * contrib/hbgd/tests/tpoly.prg * contrib/hbhpdf/tests/harupdf.prg * contrib/hblzf/tests/test.prg * contrib/hbmlzo/tests/test.prg * contrib/hbpgsql/tests/cache.prg * contrib/hbpgsql/tests/stress.prg * contrib/hbpgsql/tests/test.prg * contrib/hbsqlit3/tests/authoriz.prg * contrib/hbsqlit3/tests/backup.prg * contrib/hbsqlit3/tests/blob.prg * contrib/hbsqlit3/tests/hooks.prg * contrib/hbsqlit3/tests/metadata.prg * contrib/hbsqlit3/tests/pack.prg * contrib/hbsqlit3/tests/sl3_test.prg * contrib/hbssl/tests/bio.prg * contrib/hbssl/tests/crypt.prg * contrib/hbssl/tests/digest.prg * contrib/hbssl/tests/encode.prg * contrib/hbssl/tests/pem.prg * contrib/hbssl/tests/test.prg * contrib/hbxdiff/tests/test.prg * contrib/hbxdiff/tests/test2.prg * contrib/hbxdiff/tests/test3.prg * contrib/hbzebra/tests/testcair.prg * contrib/hbzebra/tests/testhpdf.prg * contrib/hbzebra/tests/testwin.prg * contrib/sddmy/tests/test1.prg * contrib/sddoci/tests/test1.prg * contrib/sddodbc/tests/test1.prg * contrib/sddodbc/tests/test2.prg * contrib/sddsqlt3/tests/test1.prg % no longer use #include to include standard package headers. Rely on autoload triggered by .hbc file or #require directive. 2012-11-29 00:09 UTC+0100 Viktor Szakats * contrib/hbblat/hbblat.hbc * contrib/hbblink/hbblink.hbc * contrib/hbbz2/hbbz2.hbc * contrib/hbcairo/hbcairo.hbc * contrib/hbcurl/hbcurl.hbc + specified automatic headers * contrib/hbcurl/tests/ftp_uldl.prg ! added missing #require * contrib/hbcairo/tests/fancytxt.prg * contrib/hbcairo/tests/glyphdbg.prg * contrib/hbcairo/tests/hellow.prg * contrib/hbcairo/tests/lightning.prg * contrib/hbcairo/tests/table.prg * contrib/hbcurl/tests/ftp_uldl.prg % do not explicitly #include headers ; Please note this will require that you build these samples using hbmk2 and using .hbc files, or run them as hbrun scripts. * contrib/hbodbc/hbodbc.hbc * minor 2012-11-28 23:54 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + automatically load headers listed in .hbc file when executing an .hb script * contrib/hbodbc/tests/testodbc.prg % #include "sql.ch" no longer needed either when built to an executable or when executed as script 2012-11-28 23:31 UTC+0100 Viktor Szakats * contrib/hbodbc/hbodbc.hbc + added experimental headers= line * utils/hbmk2/hbmk2.prg * utils/hbmk2/hbmk2.es_PE.po * utils/hbmk2/hbmk2.hu_HU.po * utils/hbmk2/hbmk2.pt_BR.po + added support for new .hbc directive: -headers=<.ch files> wildcards accepted. hbmk2 will automatically include the listed headers for all source files. It will be more efficient than including them to each file, as they are processed only once (well, at least I hope this optimization is done by Harbour PP/compiler) [YES, confirmed, they will be loaded only once]. It also makes it unnecessary to manually #include headers that belong to a module/package. 2012-11-28 21:28 UTC+0100 Viktor Szakats * 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_main.ch * 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_trans.prg % use the same HBTEST command format for tests as available for contribs and 3rd parties. It made source easier to edit and code size smaller by 111 kB. 2012-11-28 20:19 UTC+0100 Viktor Szakats + contrib/xhb/xhwinprn.prg - contrib/xhb/xhw32prn.prg * contrib/xhb/xhb.hbp * renamed to avoid using '32' when referring to Windows API * src/rtl/gtcrs/gtcrs.c * src/rtl/gtos2/gtos2.c * deleted excessive {} * commented code converted to #if 0 blocks * formatting 2012-11-28 17:59 UTC+0100 Viktor Szakats * src/rtl/checkbox.prg * src/rtl/listbox.prg * src/rtl/pushbtn.prg * src/rtl/radiobtn.prg * src/rtl/radiogrp.prg * src/rtl/scrollbr.prg * src/rtl/tbcolumn.prg * src/rtl/tbrowse.prg * src/rtl/tget.prg * src/rtl/tmenuitm.prg * src/rtl/tpopup.prg * src/rtl/tpopuphb.prg * src/rtl/ttopbar.prg ! fixed case of class names 2012-11-28 17:38 UTC+0100 Viktor Szakats * src/rtl/devoutp.prg + DEVOUTPICT() to support timestampe type * contrib/hbnf/tests/datecnfg.prg * timestamp type 2012-11-28 17:28 UTC+0100 Viktor Szakats + contrib/xhb/xhbmisc.prg * contrib/xhb/xhb.hbp * contrib/xhb/xhbcomp.prg * moved Occurs() to separate source + implemented optimizations and fix from Przemek. original behavior retained under HB_CLP_STRICT built-time branch. 2012-11-28 16:20 UTC+0100 Viktor Szakats + include/hbtest.ch * include/Makefile * utils/hbmk2/hbmk2.prg + missed to commit hbtest.ch 2012-11-28 14:56 UTC+0100 Viktor Szakats * contrib/xhb/xhbcomp.prg ! fixed casing in comment 2012-11-28 14:53 UTC+0100 Viktor Szakats * contrib/xhb/xhb.hbx * contrib/xhb/xhbcomp.prg + added OCCURS() from xhb which appears there in CT lib, but it's not a CT function. Reworked to meet Harbour standards and to avoid compiler warning. 2012-11-28 13:19 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/src/vm/classes.c ! fixed passing be reference pseudo object variables which are not bound with real messages but are redirected to class error handler 2012-11-28 01:16 UTC+0100 Viktor Szakats * contrib/hbct/dummy.c * contrib/hbmemio/memio.c * src/rdd/dbffpt/dbffpt1.c * src/rtl/gtcrs/gtcrs.c * use "{ ; }" for empty function body to be uniform in whole source base 2012-11-28 01:06 UTC+0100 Viktor Szakats * contrib/hbmysql/tmysql.prg * contrib/hbnf/doc/en/restsets.txt * contrib/hbnf/doc/en/savesets.txt * contrib/hbnf/pvid.prg * contrib/hbnf/restsets.prg * contrib/hbnf/savesets.prg * contrib/rddads/tests/testmg.prg * contrib/xhb/traceprg.prg * contrib/xhb/ttable.prg * contrib/xhb/xhberr.prg * ChangeLog.txt * extras/gtwvw/tests/ebtest7.prg * src/debug/debugger.prg * tests/dates.prg * tests/dates2.prg * tests/dates3.prg * tests/inherit.prg * tests/output.prg * tests/readhrb.prg * tests/set_num.prg * tests/set_test.prg * tests/stripem.prg * tests/tstcolor.prg * website/samples/dates3.prg.html % do not #include "set.ch" (it's automatically included via "std.ch") 2012-11-28 00:59 UTC+0100 Viktor Szakats * website/menu/harbour-menu.js ! missed one ChangeLog -> ChangeLog.txt rename 2012-11-28 00:57 UTC+0100 Viktor Szakats * extras/gtwvw/gtwvwd.c * extras/gtwvw/hbgtwvw.h * do not use <tchar.h> 2012-11-27 21:23 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/src/vm/cmdarg.c * eliminated unnecessary initialization * harbour/src/common/hbfopen.c * added workaround for missing _wopen() in XCC * harbour/config/win/xcc.mk * updated RC include paths ; FIXME: it's still wrong and hbmk2 cannot be compiled and xRC fails opening ../../package/harb_win.rc * harbour/contrib/hbwin/hbolesrv.c * do not include <tchar.h>, current code does not use any tchar functions and macros and some older MinGW versions are broken and this files breaks some standard unicode macros like TEXT() 2012-11-27 17:08 UTC+0100 Viktor Szakats * contrib/*/*.hbp % use ${hb_name}.hbx to avoid duplicating the project name inside the .hbp files 2012-11-27 16:57 UTC+0100 Viktor Szakats * package/winuni/RELNOTES.txt * msvc 2012 update 1 2012-11-27 14:38 UTC+0100 Viktor Szakats - ChangeLog + ChangeLog.txt * bin/commit.hb * doc/howtorel.txt * doc/howtorep.txt * package/harbour.spec * package/winuni/mpkg_win_uni.bat * package/winuni/mpkg_win_uni.nsi * package/winuni/RELNOTES.txt * README.txt * src/pp/hbpp.c * tests/fixcase.hb * website/changelog.html * website/index.html * website/news.html * website/news1.html * website/snapshot.html * renamed ChangeLog to ChangeLog.txt ; TODO: Please update SVN URL references in google groups web headers: .../ChangeLog -> .../ChangeLog.txt .../README -> .../README.txt [DONE] ; NOTE: Also update your local scripts to use ChangeLog.txt instead of ChangeLog. Or use bin/commit.hb script, which supports both. - w64-make.exe * README.txt % deleted. it was my private build and it didn't offer much over win-make.exe. 2012-11-27 14:21 UTC+0100 Viktor Szakats * doc/howtorep.txt * minor correction to prev 2012-11-27 14:15 UTC+0100 Viktor Szakats - COPYING + COPYING.txt * config/global.mk * config/postinst.hb * ChangeLog * debian/copyright * doc/class_tp.txt * doc/cmdline.txt * doc/hdr_tpl.txt * doc/howtorep.txt * doc/oldnews.txt * package/mpkg_win.nsi * package/winuni/mpkg_win_uni.bat * package/winuni/mpkg_win_uni.nsi * README.txt * tests/hbdoctst.prg * utils/hbmk2/hbmk2.prg * website/faq/harbour3.html * website/license.html * renamed COPYING to COPYING.txt ; TODO: Update reference in all sources 2012-11-27 14:06 UTC+0100 Viktor Szakats - README + README.txt * config/global.mk * config/postinst.hb * contrib/hbtpathy/telepath.prg * contrib/hbtpathy/tests/testtp.prg * doc/gmake.txt * doc/howtorep.txt * doc/oldnews.txt * package/mpkg_win.nsi * package/winuni/mpkg_win_uni.bat * package/winuni/mpkg_win_uni.nsi * package/winuni/RELNOTES.txt * tests/hbdoctst.prg * website/menu/harbour-menu.js * website/news.html * renamed README to README.txt This will make it easy for non-*nix users to open it, it also makes it clear that we're talking about a document when referring to it 2012-11-27 13:22 UTC+0100 Viktor Szakats + package/winuni/RELNOTES.txt - package/winuni/RELNOTES * package/winuni/mpkg_win_uni.bat * package/winuni/mpkg_win_uni.nsi * added .txt extension to RELNOTES doc 2012-11-27 02:35 UTC+0100 Viktor Szakats * src/rtl/hbtest.prg * cleanups 2012-11-27 02:26 UTC+0100 Viktor Szakats * contrib/hbct/tests/test.prg * CHR() -> HB_BCHAR() for most usage 2012-11-27 02:03 UTC+0100 Viktor Szakats * doc/en/datetime.txt * doc/en/input.txt * doc/en/misc.txt * doc/en/string.txt * doc/en/terminal.txt * doc/en/var.txt * cleaned away remaining $TESTS$ sections (mostly by merging with $EXAMPLES$) ! some portability fixes applied along the way 2012-11-27 00:36 UTC+0100 Viktor Szakats * contrib/hbct/tests/test.prg ! fixed one expected test result ! fixed one wrong test call ; FIXME: (first pbly result of different sting algorithm) ! MAIN(136) CharSort( "b1a4a3a2a1", 2, 1 ) Result: "a4a3a2a1b1" Expected: "a2a1a3a4b1" ! MAIN(87) WordOne( "12ABAB12" ) Result: "12ABAB12" Expected: "12AB12" * contrib/hbmisc/doc/en/ht_str.txt * contrib/hbmisc/tests/tsstrfmt.prg + moved tests to test code. old test code converted to regression tests. * doc/class_tp.txt * doc/hdr_tpl.txt - deleted $TESTS$ sections from templates 2012-11-27 00:15 UTC+0100 Viktor Szakats + contrib/hbct/tests/test.prg * contrib/hbct/doc/en/*.txt + replaced $TESTS$ in docs with regression test script ; NOTE: there are some failures * src/rtl/Makefile * include/harbour.hbx + src/rtl/hbtestc.c + added an internal function (which I didn't used yet after some experimentations) * src/rtl/hbtest.prg * minor cleanup 2012-11-26 22:47 UTC+0100 Viktor Szakats * src/rtl/Makefile + src/rtl/hbtest.prg * include/harbour.hbx + added simple regression test framework in core, so such tests can be easily added to contribs and 3rd party projects. It's based on the engine used in hbtest. Usage: #include "hbtest.ch" HBTEST <expression> IS <expected value> E.g.: HBTEXT 2 + 2 IS 4 * contrib/hbgt/tests/test.prg + use the new experimental regression test framework in core. * utils/hbmk2/hbmk2.prg + added note to help text about scripts being executed under a default codepage of UTF-8 * contrib/gtwvg/class.prg * contrib/gtwvg/dataref.prg * contrib/gtwvg/drawarea.prg * contrib/gtwvg/menubar.prg * contrib/gtwvg/wnd.prg * contrib/hbamf/readme.txt * contrib/hbgd/gd.prg * contrib/hbhttpd/core.prg * contrib/hbtip/mail.prg * contrib/xhb/cstruct.prg * contrib/xhb/dumpvar.prg * contrib/xhb/xdbmodst.prg * extras/hbdoc/genhtml.prg * extras/httpsrv/session.prg * src/debug/debugger.prg * src/rtl/tgetlist.prg * src/rtl/tobject.prg * src/rtl/valtoexp.prg * tests/clasname.prg * utils/hbmk2/hbmk2.prg * :CLASSNAME -> :CLASSNAME() * contrib/hbct/addascii.c * contrib/hbct/charmirr.c * contrib/hbct/charrepl.c * contrib/hbct/charsort.c * contrib/hbct/charswap.c * contrib/hbct/justify.c * contrib/hbct/pos2.c * contrib/hbct/relation.c * contrib/hbct/wordrepl.c * contrib/hbgt/chrcount.c * extras/gfspell/spellc.c * minor cleanups * utils/hbtest/hbtest.prg * utils/hbtest/rt_main.ch * cleanups 2012-11-26 18:51 UTC+0100 Viktor Szakats * contrib/hbhttpd/widgets.prg * contrib/hbtip/client.prg + support function pointers where codeblocks are accepted * contrib/hbnf/ontick.prg + FT_ONIDLE(): support Harbour function pointers as Harbour extension * contrib/xhb/xhberr.prg % Use DO() instead of EVAL( __DYNSN2SYM() ) thus avoiding internal core functions. 2012-11-26 15:25 UTC+0100 Viktor Szakats * src/rtl/dbedit.prg + also accept function pointers as user functions (not just codeblocks and macro strings) * src/rtl/achoice.prg + ACHOICE() now supports the Harbour extension similar to DBEDIT() where codeblocks and function pointers are also accepted instead of macro strings for the <xSelect> parameter that controls permission for items. * src/rtl/browse.prg * contrib/hbwin/wapi_shellapi.c * minor 2012-11-26 14:43 UTC+0100 Viktor Szakats * contrib/xhb/xhberr.prg % optimized hb_macroBlock() calls to __dynsN2Sym() calls. Thanks Przemek for the tip. * src/rdd/hbsix/sxcompat.prg % sx_VFGet(): restored macro evaluation, for speed 2012-11-26 12:20 UTC+0100 Viktor Szakats * contrib/hbwin/hbwin.ch ! added HB_ prefix to win defines * contrib/hbct/token2.c * contrib/xhb/bkgtsks.c * contrib/xhb/hbxml.h * cleanups * contrib/hbwin/axcore.c * formatting 2012-11-25 17:36 UTC+0100 Viktor Szakats * include/harbour.hbx * contrib/xhb/xhberr.prg ! minor casing fix 2012-11-25 17:25 UTC+0100 Viktor Szakats * src/rdd/hbsix/sxcompat.prg * src/rtl/achoice.prg * src/rtl/browse.prg * src/rtl/dbedit.prg * contrib/xhb/xcstr.prg * contrib/xhb/xhberr.prg + use HB_MACROBLOCK() instead of & operator Review me. ; These remain in core: rtl/dbedit.prg:318: &xUserFunc( nMode, oBrowse:colPos ), ; rtl/input.prg:59: RETURN iif( Empty( cString ), NIL, &cString ) rtl/tpersist.prg:102: AAdd( aObjects, &( cLine ) ) rtl/tpersist.prg:113: &( cLine ) rtl/tpersist.prg:125: &( cLine ) rtl/tpersist.prg:141: LOCAL oNew := &( ::ClassName() + "()" ):CreateNew() * contrib/hbpgsql/tests/cache.prg + avoid some macro operators ! fixed a typo in recent modifications * contrib/hbnf/calendar.prg * contrib/hbnf/pchr.prg * contrib/hbnf/xbox.prg % SUBSTR( x, 1, y ) -> LEFT( x, y ) * contrib/gtwvg/class.prg * contrib/gtwvg/paint.prg * contrib/hbct/fcopy.prg * contrib/hbct/tests/datetime.prg * contrib/hbct/tests/token2.prg * contrib/hbgd/tests/gdtestcl.prg * contrib/hbnf/metaph.prg * contrib/hbnf/popadder.prg * contrib/hbnf/tests/datecnfg.prg * contrib/hbnf/tests/popadder.prg * contrib/hbtip/sendmail.prg * contrib/hbtip/tests/base64.prg * contrib/hbtip/tests/tiptest.prg * contrib/hbwin/win_os.prg * contrib/hbwin/win_reg.prg * contrib/hbwin/win_tbmp.prg * contrib/hbwin/win_tprn.prg * contrib/xhb/htjlist.prg * contrib/xhb/xhbtedit.prg * contrib/xhb/xhw32prn.prg * avoid "&" in comments/outputs 2012-11-25 16:40 UTC+0100 Viktor Szakats * contrib/hbgt/*.c * comment cleanup * src/rtl/menuto.prg + avoided one macro usage when dealing with colors ! fixed handling of color specified in __ATPROMPT() ! fixed to not mess up default color in certain cases * changed misleading color variable names * tests/menutest.prg * modified to test __ATPROMPT() color * src/rtl/tclass.prg * src/rtl/tobject.prg * avoid using "&" in comments 2012-11-25 01:29 UTC+0100 Viktor Szakats * utils/hbmk2/pkg_dynl.hbm % do not override workdir for 3rd party projects. it's just not necessary and bad precedent. 2012-11-24 20:01 UTC+0100 Viktor Szakats * contrib/hbct/charsort.c * contrib/hbct/ctstr.c * contrib/hbct/dattime3.c * contrib/hbct/token1.c + added MT support for certain C level statics * contrib/hbgt/bitflags.c * contrib/hbnf/ftattr.c * contrib/hbnf/fttext.c * contrib/hbnf/proper.c % var scope cleanups * doc/gmake.txt ! deleted obsolete reference 2012-11-24 16:48 UTC+0100 Viktor Szakats * contrib/hbgt/hbgt.hbp * contrib/hbgt/hbgt.hbx * contrib/hbgt/asciisgt.c * contrib/hbgt/ascposgt.c * contrib/hbgt/atdiff.c * contrib/hbgt/bitflags.c * contrib/hbgt/chareven.c * contrib/hbgt/charmixg.c * contrib/hbgt/charodd.c * contrib/hbgt/chrcount.c * contrib/hbgt/chrfirst.c * contrib/hbgt/chrtotal.c * contrib/hbgt/strasint.c * contrib/hbgt/strcount.c * contrib/hbgt/strcspn.c * contrib/hbgt/strdiffg.c * contrib/hbgt/strexpan.c * contrib/hbgt/strleft.c * contrib/hbgt/strpbrk.c * contrib/hbgt/strright.c * contrib/hbgt/doc/en/hbgt.txt * code cleanup and optimizations + fixed flag functions (they wrote to read-only buffer) + enabled flag functions 2012-11-24 15:20 UTC+0100 Viktor Szakats * contrib/hbct/addascii.c * contrib/hbct/asciisum.c * contrib/hbct/ascpos.c * contrib/hbct/atadjust.c * contrib/hbct/atnum.c * contrib/hbct/atrepl.c * contrib/hbct/charevod.c * contrib/hbct/charmirr.c * contrib/hbct/charmix.c * contrib/hbct/charone.c * contrib/hbct/charonly.c * contrib/hbct/charop.c * contrib/hbct/charrepl.c * contrib/hbct/charsort.c * contrib/hbct/charsprd.c * contrib/hbct/charswap.c * contrib/hbct/count.c * contrib/hbct/ctc.c * contrib/hbct/ctmath.h * contrib/hbct/ctmath2.c * contrib/hbct/ctpad.c * contrib/hbct/ctstr.c * contrib/hbct/datetime.c * contrib/hbct/dattime2.c * contrib/hbct/exponent.c * contrib/hbct/files.c * contrib/hbct/finan.c * contrib/hbct/justify.c * contrib/hbct/num1.c * contrib/hbct/numat.c * contrib/hbct/numcount.c * contrib/hbct/pos1.c * contrib/hbct/pos2.c * contrib/hbct/posdiff.c * contrib/hbct/range.c * contrib/hbct/relation.c * contrib/hbct/remove.c * contrib/hbct/replace.c * contrib/hbct/strdiff.c * contrib/hbct/strswap.c * contrib/hbct/tab.c * contrib/hbct/token1.c * contrib/hbct/token2.c * contrib/hbct/trig.c * contrib/hbct/wordrepl.c * contrib/hbct/wordtoch.c * various cleanups (using hb_par*def(), drop isbyref checks before hb_stor*(), excessive {}, empty lines after {, empty lines before }, code in comment, references to borland, funcnames without (), added few {}s, minor cleanup/opt in sorting callbacks) * utils/hbmk2/hbmk2.prg * avoid commented code 2012-11-23 20:42 UTC+0100 Viktor Szakats * contrib/hbct/screen2.c + SAYDOWN(): CP translation (UTF-8) support 2012-11-23 20:15 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/extras/gtwvw/hbgtwvw.h * harbour/src/vm/cmdarg.c * changed '#ifdef UNICODE' to '#if defined( UNICODE )' for easier grepping * harbour/contrib/hbwin/hbolesrv.c * updated to operate internally on UNICODE strings 2012-11-23 19:10 UTC+0300 Pavel Tsarenko (tpe2 at mail.ru) * contrib/hbct/screen1.c * added codepage translation in ScreenMix and SayScreen functions * contrib/hbmisc/numtxtru.prg * small enhacement 2012-11-23 17:46 UTC+0100 Viktor Szakats * contrib/hbnf/aredit.prg * contrib/hbnf/popadder.prg % eliminated NextKey() calls Please review me % use HB_KEYSETLAST() * contrib/xhb/tcgi.prg * contrib/xhb/thtm.prg * contrib/xhb/traceprg.prg * cleanups 2012-11-23 17:14 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/contrib/xhb/xhbtedit.prg * harbour/contrib/hbmysql/tsqlbrw.prg * harbour/contrib/hbodbc/browodbc.prg % eliminated NextKey() calls ; FIXME: BrowseODBC() just like dbEdit() ignore setKey() actions If key is pressed during stabilization phase. I think it's implementation problem not intentional decision and it should be fixed - there is nothing worse then application which ignores some keystrokes if user types to fast ;) I'd like to ask authors of above code to check it. ; I haven't touched xhb/xhbmemo.prg - it makes some hacks with keyboard polling so it's serious chance I would break something. 2012-11-23 16:22 UTC+0100 Viktor Szakats * website/js/shBrushHarbour.js % limited the number of known functions to non-internal core ones and which are more often used 2012-11-23 15:26 UTC+0100 Viktor Szakats * include/hbwinuni.h + new HB_WINAPI_KERNEL32_DLL() macro to get kernel32.dll regardless of UNICODE or non-UNICODE mode * contrib/hbwin/wapi_winbase.c * src/rtl/diskspac.c * src/rtl/disksphb.c % use HB_WINAPI_KERNEL32_DLL() macro ! fixed a non-UNICODE bug that slipped in previous commit * src/rtl/direct.c * made it format well using uncrustify * src/vm/asort.c * src/vm/memvars.c * cleanups 2012-11-23 14:07 UTC+0100 Viktor Szakats * contrib/hbfbird/firebird.c * contrib/hbmisc/hb_f.c * contrib/hbpgsql/hbpgsql.h * contrib/hbpgsql/postgres.c * contrib/hbpgsql/rddcopy.c * contrib/hbsqlit3/core.c * contrib/hbtip/encurlc.c * various code cleanups and minor fixes (var scopes, excessive {}, commented code, bad formatting, uncrustify friendliness, while( HB_TRUE ), missing HB_EXTERN*, missing HB_EXPORT, missing header self-guard, etc) + contrib/hbmisc/dates.c - contrib/hbmisc/dates2.c * contrib/hbmisc/hbmisc.hbp * renamed 2012-11-23 12:50 UTC+0100 Viktor Szakats * contrib/xhb/hbcompat.h + added compatibility macros from xhb repository (untested) * formatting * contrib/xhb/hbdll.ch * contrib/xhb/htmlform.ch * contrib/xhb/ttable.ch * contrib/hbamf/amfdec.c * contrib/hbamf/amfenc.c * contrib/hbamf/hbamf.hbc * formatting, converted commented code to #if 0/#endif blocks, removed excessive {} blocks * contrib/hbnf/aredit.prg * contrib/hbnf/popadder.prg * added two TODOs to avoid NextKey() [DONE] ; NextKey() is also used in these files: hbct/keysec.prg hbmysql/tsqlbrw.prg hbodbc/browodbc.prg hbodbc/browodbc.prg xhb/xhbmemo.prg xhb/xhbtedit.prg ; Przemek, if you see this, would you mind doing it where it's possible to avoid? * contrib/hbnf/calendar.prg * minor cleanups * contrib/xhb/xhbfunc.c * src/rtl/philes.c * deprecated HB_OSPATHSEPARATOR() with HB_LEGACY_LEVEL4 (after next release). Use HB_PS() instead. HB_OSPATHSEPARATOR() will continue to live as an xhb compatibility function after that. 2012-11-23 00:17 UTC+0100 Viktor Szakats * contrib/xhb/xhbfunc.c * src/rtl/console.c * deprecated HB_OSNEWLINE() with HB_LEGACY_LEVEL4 (after next release). Use HB_EOL() instead. HB_OSNEWLINE() will continue to live as an xhb compatibility function after that. * utils/hbmk2/hbmk2.prg * minor cleanup to prev 2012-11-22 19:16 UTC+0100 Viktor Szakats * contrib/hbsqlit3/core.c ! fixed sqlite_prepare() to convert strings to UTF-8 Patch by Marcelo Faria. Many thanks. 2012-11-22 19:07 UTC+0100 Viktor Szakats * include/hbwinuni.h + added HB_WINAPI_FUNCTION_NAME() macro to form a WinAPI function name as a string (for dynamic calls) Thanks to Mindaugas for the idea. * contrib/hbwin/wapi_winbase.c * contrib/hbwin/wapi_wingdi_font.c * contrib/hbwin/win_prn2.c * contrib/hbwin/win_prn3.c * contrib/hbwin/win_rpc.c * src/rtl/diskspac.c * src/rtl/disksphb.c * src/rtl/fslink.c % eliminated few UNICODE build-time branches by using new HB_WINAPI_FUNCTION_NAME() macro (non-UNICODE branch not tested) 2012-11-22 18:46 UTC+0100 Viktor Szakats * contrib/hbct/doc/en/atadjust.txt * contrib/hbct/doc/en/color.txt * contrib/hbct/doc/en/count.txt * contrib/hbct/doc/en/ct.txt * contrib/hbct/doc/en/ctc.txt * contrib/hbct/doc/en/ctmath.txt * contrib/hbct/doc/en/ctstr.txt * contrib/hbct/doc/en/datetime.txt * contrib/hbct/doc/en/dattime2.txt * contrib/hbct/doc/en/dattime3.txt * contrib/hbct/doc/en/exponent.txt * contrib/hbct/doc/en/trig.txt * contrib/hbgt/doc/en/hbgt.txt * contrib/hbmisc/doc/en/ht_class.txt * contrib/rddads/doc/en/adsfuncs.txt * doc/en/command.txt * doc/en/dbdelim.txt * doc/en/dbsdf.txt * doc/en/dbstrux.txt * doc/en/eval.txt * doc/en/file.txt * doc/en/hashes.txt * doc/en/hbinet.txt * doc/en/hvm.txt * doc/en/lang.txt * doc/en/memo.txt * doc/en/memvar.txt * doc/en/misc.txt * doc/en/rddmisc.txt * doc/en/rddord.txt * doc/en/sayget.txt * doc/en/set.txt * doc/en/string.txt * doc/en/tbrowse.txt * doc/en/terminal.txt * doc/en/var.txt % cleaned $TESTS$ doc sections 2012-11-22 18:09 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/contrib/hbwin/hbwin.hbx * harbour/contrib/hbwin/wapi_winbase.c + added new function: wapi_GetVolumeInformation( <cRootPath>, @<cVolumeName>, @<nSerial>, @<nMaxComponentLength>, @<nFileSystemFlags>, @<cFileSystemName> ) -> <lSuccess> 2012-11-22 17:16 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/src/rtl/dbedit.prg ! fixed infinite loop introduced in my recent modification 2012-11-22 16:55 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + added support for .hbc autofind in contrib and addons dir, even if the .hbc names isn't the same as the contrib name. This can be used to autofind secondary supplementary or alternative .hbc files automatically on all platforms. * contrib/hbwin/tests/olesrv1.hbp * contrib/hbwin/tests/olesrv2.hbp * contrib/hbwin/tests/olesrv3.hbp * contrib/hbwin/tests/olesrv4.hbp % deleted relative paths from .hbc references to supplementary .hbc file. They will now be autofound. 2012-11-22 16:34 UTC+0100 Viktor Szakats * contrib/hbwin/tests/olesrv1.hbp * contrib/hbwin/tests/olesrv2.hbp * contrib/hbwin/tests/olesrv3.hbp * contrib/hbwin/tests/olesrv4.hbp ! fixed references to hbolsrv.hbc that went wrong in 2012-03-03 15:33 UTC+0100. These cannot be autofound yet, so relative dir reference is required. 2012-11-22 16:20 UTC+0200 Alexey Myronenko (m.oleksa/at/ukr.net) * doc/en/string.txt * doc corrected for hb_RAt() and RAt() + section $TESTS$ for hb_RAt() added 2012-11-22 13:07 UTC+0100 Viktor Szakats - extras/gtwvw/tests/wvwtest9.hbp - extras/gtwvw/tests/wvwtest9.mft - extras/gtwvw/tests/wvwtest9.rc % deleted manifest that seems unnecessary 2012-11-22 12:46 UTC+0100 Viktor Szakats * include/hbvmpub.h * src/vm/hvm.c * src/vm/macro.c * src/vm/memvars.c % deleted synonym type HB_DYNS_PTR (change it to PHB_DYNS) INCOMPATIBLE 2012-11-22 12:39 UTC+0100 Viktor Szakats * include/hbapifs.h % deleted synonym type HB_FNAME_PTR (change it to PHB_FNAME) INCOMPATIBLE * include/hbapi.h % deleted internal type HB_EXTREF_PTR (synonym of PHB_EXTREF) 2012-11-22 11:27 UTC+0100 Viktor Szakats + src/codepage/cp_gbk.c + src/codepage/gbk.c * src/codepage/Makefile * include/hbcpage.hbx + added GBK CP. GBK is an extension of the GB2312 character set for simplified Chinese characters, used in the People's Republic of China. GBK encoding support for Simplified Chinese, while fully contained BIG5. Microsoft implemented GBK in Windows 95 and Windows NT 3.51 as Code Page 936. Thanks to Wang Dongming for the two new source files. Please review/test it. * src/rtl/langcomp.prg ! use GBK CP instead of BIG5 for legacy CP "ZHGB" * extras/httpsrv/session.prg * cleanup 2012-11-21 19:52 UTC+0100 Viktor Szakats * website/index.html ! corrected link to .7z nightly package. Thanks to M. Ronaldo for report. 2012-11-21 19:06 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/src/vm/cmdarg.c ! fixed GetModuleFileName() usage 2012-11-21 17:50 UTC+0100 Viktor Szakats * src/rdd/hsx/hsx.c * src/rtl/gtxwc/gtxwc.c * src/vm/classes.c * src/vm/dynsym.c * src/vm/garbage.c * modified macros to act like functions, whether mapped to noop or noop code. These code parts will now not confuse code formatters. The generated code is indentical (tested under mingw, and to some extent on msvc and bcc) * include/hbtrace.h * minor 2012-11-21 16:20 UTC+0100 Viktor Szakats * contrib/hbsqlit3/core.c * contrib/rddsql/sqlbase.c * extras/gtwvw/gtwvwd.c * src/rtl/gtsln/mousesln.c * src/vm/classes.c * deleted excessive ';' line closing operators 2012-11-21 15:55 UTC+0100 Viktor Szakats * include/hbtrace.h ! fixed empty HB_TRACE() definitions to be 'do {} while( 0 )' as suggested by Przemek. * contrib/hbsqlit3/core.c * contrib/hbwin/axcore.c * contrib/hbzebra/datamtrx.c * contrib/hbzebra/qrcode.c * contrib/rddads/ads1.c * contrib/rddads/adsfunc.c * deleted {} block where HB_TRACE() was the only call made from the the block. It's now unnecessary. * contrib/hbzebra/codabar.c * contrib/hbzebra/code11.c * contrib/hbzebra/code128.c * contrib/hbzebra/code39.c * contrib/hbzebra/code93.c * contrib/hbzebra/core.c * contrib/hbzebra/datamtrx.c * contrib/hbzebra/eanupc.c * contrib/hbzebra/itf.c * contrib/hbzebra/msi.c * contrib/hbzebra/pdf417.c * contrib/hbzebra/qrcode.c * deleted few more unnecessary {} from single statement blocks 2012-11-21 15:36 UTC+0100 Viktor Szakats * contrib/hbwin/win_regc.c % merged UNICODE/non-UNICODE branch by using sizeof(). Checkme. * contrib/hbzebra/datamtrx.c * minor formatting * contrib/xhb/freadlin.c * deleted excessive () 2012-11-21 15:05 UTC+0100 Viktor Szakats * contrib/hbzebra/code128.c * contrib/hbzebra/pdf417.c * for(); -> for() ; * package/winuni/RELNOTES * FreeImage updated version 2012-11-21 13:12 UTC+0100 Viktor Szakats * src/common/hbver.c * src/compiler/hbpcode.c * src/pp/hbpp.c * src/pp/ppcore.c * src/rdd/dbf1.c * src/rdd/dbfcdx/dbfcdx1.c * src/rdd/wafunc.c * src/rtl/gttrm/gttrm.c * src/rtl/mlcfunc.c * src/vm/hvm.c * src/vm/itemapi.c * cleaned empty loops to be: for( ... ) ; or while( ... ) ; Please use this from now on. It's also what uncrsustify will do and it's well greppable and readable. (I didn't change yet where ';' is in the same line as while() and for(), and will let uncrustify do this in a future pass) * contrib/hbmisc/spd.c * minor 2012-11-21 12:34 UTC+0100 Viktor Szakats * ChangeLog * made decision how to clean empty loop code (it's bar ';' char, indented in next line) * include/hbtrace.h * inactive HB_TRACE() macro will now translate to empty {} block, so there is no need to manually do that when used alone in an 'else' branch for example. Checkme. * contrib/hbwin/win_svc.c % deleted {} braces from around HB_TRACE() calls * utils/hbmk2/hbmk2.prg ! fixed hb_processOpen() results to be displayed at once to avoid cutting potential UTF-8 (or other multibyte) output from tools to be cut in the middle of character. * contrib/hbct/charone.c * contrib/hbct/charop.c * contrib/hbct/token1.c * contrib/hbct/token2.c * deleted {} ending comments * contrib/hbmysql/tmysql.prg * contrib/hbmysql/tsqlbrw.prg * deleted change tracking comments. 'blame' functionality and repo history should be enough 2012-11-21 03:35 UTC+0100 Viktor Szakats * contrib/hbtip/mail.prg ! fixed regression in r18462 where casing of class name in a string got accidentally converted to natural. Many thanks to Itamar Lins for the find. 2012-11-21 01:07 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + implemented theoretically correct solution to extract linker output _while_ displaying it. It means that missing function hinting feature doesn't require a second pass to the linker anymore. ; Please test on all platforms. ; For those two people interested, it will create output like this: --- hbmk2: Hint: Add option 'hbct.hbc' for missing function(s): CharMirr() hbmk2: Hint: Add option 'hbusb.hbc' for missing function(s): libusb_exit() hbmk2: Hint: Add option 'hbsms.hbc' for missing function(s): smsctx_PIN() hbmk2: Error: Referenced, missing, but unknown function(s): NOTANYWHERE() --- * extras/httpsrv/uhttpd.prg ! fixed some code for unicode % fixed to not call FCLOSE() on an HB_PROCESSOPEN() handle * use F_ERROR instead of -1 literal * commented code converted to #if 0/#endif guarded one * src/rtl/hbprocfn.c * formatting * tests/fixcase.hb * new extension exceptions 2012-11-21 00:14 UTC+0100 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 * src/rtl/gtwvt/gtwvt.c % deleted extraneous {} block operators 2012-11-20 23:45 UTC+0100 Viktor Szakats * contrib/gtwvg/wvgutils.c ! fixed to use HB_OS_WIN_CE macro to detect WinCE, not some the arbitrary __WINCE__ ! fixed functions unsupported on WinCE to return the same type when as on Windows 2012-11-20 18:19 UTC+0100 Viktor Szakats * include/hbexprb.c ! corrected indentation 2012-11-20 17:44 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/src/vm/cmdarg.c ! fixed buffer overflow ! added protection against GPF if hb_cmdargBaseProgName() is called and there are no parameters initialized * use macros to allocate system memory in MS-Windows builds * harbour/src/vm/fm.c * changed s_fInitedFM initialization when memory statistic is enabled to avoid infinite recursion and GPF is some initialization function tries to allocate memory 2012-11-20 17:05 UTC+0100 Viktor Szakats * contrib/hbwin/tests/testsvc.prg + added some lines to test parameter passing * include/hbdefs.h * deprecated HB_TCHAR_*() macros with HB_LEGACY_LEVEL4 Everyone pls move on to Str API calls and hbwinuni.h macros. * include/hbexpra.c * include/hbexprb.c * include/hbwmain.c * applied uncrustify fixes 2012-11-20 16:32 UTC+0100 Viktor Szakats * contrib/hbct/tests/*.prg * contrib/hbnetio/tests/*.prg * contrib/hbwin/tests/dlg.prg * contrib/hbwin/tests/oletst1.prg * contrib/hbwin/tests/oletst2.prg * contrib/hbwin/tests/oletst3.prg * contrib/hbwin/tests/oletst4.prg * contrib/hbwin/tests/pdfcreat.prg * contrib/hbwin/tests/testdir.prg * contrib/hbwin/tests/testole.prg * contrib/hbwin/tests/testprn2.prg * contrib/hbwin/tests/testprn3.prg * contrib/hbwin/tests/testprn4.prg * contrib/hbwin/tests/testrpc.prg * contrib/hbwin/tests/testwmtx.prg + added #require directives (only needed when hbrun doesn't have these loaded by default) ! hbct tests now allow again to run under Clipper 2012-11-20 12:57 UTC+0100 Viktor Szakats * contrib/hbtpathy/hbtpathy.hbp * contrib/hbtpathy/telepath.prg + contrib/hbtpathy/tp_idle.prg ! TP_IDLE() moved to a separate source file to make it possible to override it from user code. This function is documented as a callback. 2012-11-20 11:59 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/src/vm/cmdarg.c ! fixed typo in my previous commit 2012-11-20 11:46 UTC+0100 Viktor Szakats * tests/fixcase.hb * some binaries excluded * src/rtl/dbedit.prg * src/rtl/getsys.prg * src/rtl/tgetlist.prg ! fixcase fixes * src/vm/cmdarg.c ! double ';' ! uncrustify fixes 2012-11-20 11:02 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/ChangeLog ! restored ChangeLog entry removed by my script in last commit, sorry and thanks to Viktor for the info. ! cleaned some c&p typos in my last chglog entry 2012-11-20 05:05 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/include/hbdefs.h * harbour/src/common/hbwin.c + added new C function hb_wctomblen() * harbour/include/hbapi.h * harbour/src/vm/cmdarg.c + added new C functions hb_winmainArgVBuild() and hb_winmainArgVFree() These functions are available only in MS-Windows builds and they use GetCommandLine() and GetModuleFileName() to build argument list. * updated to operate on MS-Windows unicode buffers if possible. * harbour/src/vm/hvm.c * initialize MS-Windows application startup parameters in hb_vmInit() * free MS-Windows application startup parameters in hb_vmQuit() * harbour/include/hbwmain.c * do not build argument list HB_VM_STARTUP mode - leave this job to new functions * harbour/src/rtl/teditor.prg * harbour/src/rtl/memoedit.prg % eliminated NextKey() calls to avoid unnecessary key polling It also fixes key dropping in small typeahead buffers. * harbour/src/rtl/dbedit.prg % eliminated NextKey() calls to avoid unnecessary key polling * harbour/src/rtl/getsys.prg * harbour/src/rtl/tgetlist.prg ! fixed active loops (100% CPU usage) * harbour/src/rtl/gtsln/gtsln.h ! define REAL_UNIX_SYSTEM in AIX builds - thanks to Luiz Rafael Culik for the information * harbour/src/rtl/achoice.prg % replaced Empty( NextKey() ) with NextKey() == 0 * harbour/src/rtl/gtsln/gtsln.h ! define REAL_UNIX_SYSTEM in AIX builds - thanks to Luiz Rafael Culik for the information * harbour/src/rtl/hbinet.c * uese hb_parni()/hb_retni() instead of hb_parnl()/hb_retnl() for int values * harbour/src/rtl/hbgtcore.c ! comment cleanup * harbour/contrib/hbwin/win_svc.c ! eliminated HB_TCHAR_* macros 2012-11-20 04:09 UTC+0100 Viktor Szakats * ChangeLog ! fixed name in recent entries. and configured commit.hb locally in yet another env. 2012-11-20 03:08 UTC+0100 Viktor Szakats * contrib/hbgd/gdwrp.c * minor cleanup * src/rtl/gtsln/Makefile * reverted prev for inclusion in gtsln.h itself 2012-11-20 02:18 UTC+0100 Viktor Szakats * ChangeLog * doc/howtorep.txt * minors to prev 2012-11-20 02:09 UTC+0100 Viktor Szakats * bin/commit.hb ! fixed for *nix systems * contrib/hbodbc/tests/testodbc.prg + added test for double opening * ChangeLog % moved copyright notice to end of file + added change markup quick reference to header * doc/howtorep.txt * synced wording with above * extras/hbxlsxml/tests/example.prg * do not use WITH OBJECT in its current form * src/rtl/gtsln/Makefile + added option needed for AIX. Reported by Luiz. * utils/hbmk2/hbmk2.prg * minor change in wording in help + added help note about incompatibility of Clipper binary objects/libs * tests/fixcase.hb % one exception removed + some others documented * contrib/gtwvg/tests/_activex.prg * contrib/gtwvg/tests/_tbrowse.prg * contrib/gtwvg/tests/_utils.prg * contrib/gtwvg/tests/demowvg.prg * contrib/gtwvg/tests/demowvg1.prg * contrib/xhb/trpccli.prg * utils/hbtest/rt_math.prg * rerun after removing one exception permanently, another temporarily. 2012-11-18 13:27 UTC+0100 Viktor Szakats * contrib/hbodbc/hbodbc.hbx * contrib/hbodbc/odbc.c - Deleted SQLBINDPARAMETER(). Thus resolving the FIXME, and after reading more about this function, it serves to bind stmt parameter to C memory buffers, where those bindings remain active for the lifetime of the stmt or the next call to this function. Such behavior is not so much useful for high-level languages, and it'd be quite complicated to solve (e.g. by keeping an array or hash around, attached to the stmt handle) compared to what it offers. Anyways, if someone feels like giving it a go, pls do. 2012-11-18 13:15 UTC+0100 Viktor Szakats * bin/commit.hb + support HBCOMMIT_USER envvar to configure commmiter user / email. * ChangeLog ! wrong commit email fixed yet again. I start to badly miss local branches (a la Git!), as I need to keep juggling with 3-4 local sandboxes to separate different change sessions. 2012-11-18 12:55 UTC+0100 Viktor Szakats * website/samples/*.*.html % pointed compatibility .js link to the project's cloud server 2012-11-18 12:46 UTC+0100 Viktor Szakats * src/pp/ppcore.c * src/pp/pplib.c * some uncrustify formattings applied * tests/testbrw.prg * website/samples/testbrw.prg.html * cleanup * website/menu/harbour-menu.js ! fixed menu links to work when used under a subdir * website/samples/array16.prg.html * website/samples/arreval.prg.html * website/samples/begin.prg.html * website/samples/byref.prg.html * website/samples/codebl.prg.html * website/samples/codebloc.prg.html * website/samples/dates3.prg.html * website/samples/foreach.prg.html * website/samples/hello.prg.html * website/samples/initexit.prg.html * website/samples/longdev.prg.html * website/samples/mousetst.prg.html * website/samples/onidle.prg.html * website/samples/osshell.prg.html * website/samples/parseini.prg.html * website/samples/switch.prg.html * website/samples/testbrdb.prg.html * website/samples/testbrw.prg.html * website/samples/testhtml.prg.html * website/samples/testidle.prg.html * website/samples/tstmacro.prg.html * enabled light mode to disable gutter, so now the code can be copy pasted easily 2012-11-18 02:52 UTC+0100 Viktor Szakats * package/mpkg_win.nsi * package/winuni/mpkg_win_uni.nsi * changed to launch README. It needs a hefty trick to open such extensionless filename * README + minor to welcome section - doc/welcome.txt * doc/Makefile - deleted obsolete welcome message 2012-11-18 02:07 UTC+0100 Viktor Szakats - doc/readme.txt + doc/welcome.txt * doc/Makefile * package/mpkg_win.nsi * package/winuni/mpkg_win_uni.nsi * making room for "real" readme.txt * tests/transtst.prg * minor 2012-11-18 02:02 UTC+0100 Viktor Szakats * contrib/hbgd/tests/test_out.prg * contrib/hbmisc/spd.c * contrib/hbmysql/diff-en.txt * contrib/hbmysql/diff-es.txt * contrib/hbmysql/tmysql.prg * contrib/hbnf/tests/datecnfg.prg * contrib/xhb/decode.prg * contrib/xhb/hbcomprs.prg * contrib/xhb/hbcrypt.c * contrib/xhb/hblog.prg * contrib/xhb/hblognet.prg * extras/gfspell/spellc.c * src/rdd/usrrdd/rdds/arrayrdd.prg * src/rdd/wacore.c * tests/server.prg * tests/switch.prg * tests/testrdd2.prg * website/samples/switch.prg.html * misc cleanups 2012-11-17 23:11 UTC+0100 Viktor Szakats * contrib/gtwvg/tests/_wvtcls.prg * contrib/gtwvg/tests/demowvg.prg * contrib/hbct/doc/en/dattime3.txt * contrib/hbct/tests/datetime.prg * contrib/hbnf/doc/en/acctadj.txt * contrib/hbnf/doc/en/acctmnth.txt * contrib/hbnf/doc/en/acctqtr.txt * contrib/hbnf/doc/en/acctweek.txt * contrib/hbnf/doc/en/acctyear.txt * contrib/hbnf/doc/en/dayofyr.txt * contrib/hbnf/doc/en/daytobow.txt * contrib/hbnf/doc/en/elapsed.txt * contrib/hbnf/doc/en/firstday.txt * contrib/hbnf/doc/en/lastday.txt * contrib/hbnf/doc/en/madd.txt * contrib/hbnf/doc/en/month.txt * contrib/hbnf/doc/en/qtr.txt * contrib/hbnf/doc/en/savearr.txt * contrib/hbnf/doc/en/setdate.txt * contrib/hbnf/doc/en/wda.txt * contrib/hbnf/doc/en/week.txt * contrib/hbnf/doc/en/workdays.txt * contrib/hbnf/doc/en/woy.txt * contrib/hbnf/doc/en/year.txt * contrib/hbnf/tests/elapsed.prg * contrib/hbnf/tests/savearr.prg * contrib/hbnf/tests/setdate.prg * contrib/hbnf/tests/wda.prg * contrib/hbnf/tests/workdays.prg * contrib/hbnf/tests/woy.prg * contrib/hbpgsql/tests/dbf2pg.prg * contrib/hbsqlit3/hdbcsqlt.prg * contrib/rddsql/tests/arrayrdd.prg * doc/en/datetime.txt * doc/en/math.txt * doc/en/string.txt * doc/hdr_tpl.txt * extras/gtwvw/tests/ebtest7.prg * extras/gtwvw/tests/wvwtest9.prg * extras/guestbk/inifiles.prg * extras/hbvpdf/core.prg * extras/httpsrv/cgifunc.prg * tests/array16.prg * tests/bldtest/bldtest.c * tests/byref.prg * tests/dates.prg * tests/gfx.prg * tests/inifiles.prg * tests/initexit.prg * tests/longdev.prg * tests/parseini.ini * tests/parseini.prg * tests/usrrdd/exarr.prg * website/samples/byref.prg.html * website/samples/initexit.prg.html * website/samples/longdev.prg.html * website/samples/mousetst.prg.html * website/samples/parseini.ini.html * website/samples/parseini.prg.html * various cleanups 2012-11-17 20:29 UTC+0100 Viktor Szakats * tests/mousetst.prg * website/samples/mousetst.prg.html * cleanup * website/css/shThemeDefault.css * another color tweak 2012-11-17 20:24 UTC+0100 Viktor Szakats * website/css/shThemeDefault.css * color tweak 2012-11-17 20:10 UTC+0100 Viktor Szakats * website/js/shBrushHarbour.js + added preprocessor rule from C/C++ script * website/css/shThemeDefault.css * swapped colors of comments and PP 2012-11-17 19:55 UTC+0100 Viktor Szakats * src/rtl/hbjson.c ! applied patch supplied by Oscar Hernandez Suarez in sf.net #3587899. Test code at https://groups.google.com/d/topic/harbour-devel/CyLxxmmJZRY/discussion ! fixed formatting ; Mindaugas, please review it. 2012-11-17 18:50 UTC+0100 Viktor Szakats + website/css/shCore.css + website/css/shThemeDefault.css + website/js + website/js/shCore.js + added components for https://github.com/syntaxhighlighter/syntaxhighlighter a JS based syntax highlighter by Alex Gorbatchev + website/js/shBrushHarbour.js + added Harbour theme (it's based on the php one) * website/menu/harbour-menu.js ! fixed wrongly displayed bitmaps when used from under a subdir. * website/samples/array16.prg.html * website/samples/arreval.prg.html * website/samples/begin.prg.html * website/samples/byref.prg.html * website/samples/codebl.prg.html * website/samples/codebloc.prg.html * website/samples/dates3.prg.html * website/samples/foreach.prg.html * website/samples/function.cfm.html * website/samples/hello.prg.html * website/samples/initexit.prg.html * website/samples/longdev.prg.html * website/samples/mousetst.prg.html * website/samples/onidle.prg.html * website/samples/osshell.prg.html * website/samples/parseini.ini.html * website/samples/parseini.prg.html * website/samples/switch.prg.html * website/samples/testbrdb.prg.html * website/samples/testbrw.prg.html * website/samples/testhtml.prg.html * website/samples/testidle.prg.html * website/samples/tstmacro.prg.html + replaced static syntax highlighting with new JS based one. Old system used old HTML standard and old unfixed copies of tests. See e.g.: https://harbour.github.io/samples/browse.html In new system the code can be copied as is from the source to these pages. (it'd be even better if a directly link could be used to the source repo on the web) + updated all code with fresh copies from /tests directory * tests/parseini.prg * tests/testhtml.prg * minor cleanups * website/samples/array16.html * website/samples/arreval.html * website/samples/begin.html * website/samples/byref.html * website/samples/codebl.html * website/samples/codebloc.html * website/samples/dates3.html * website/samples/foreach.html * website/samples/hello.html * website/samples/HowToBuildOnLinux.html * website/samples/HowToBuildOnWindows.html * website/samples/initexit.html * website/samples/longdev.html * website/samples/mousetst.html * website/samples/onidle.html * website/samples/osshell.html * website/samples/parseini.html * website/samples/switch.html * website/samples/testbrdb.html * website/samples/testbrw.html * website/samples/testhtml.html * website/samples/testidle.html * website/samples/tstmacro.html + changed to use absolute paths to refer to common page elements 2012-11-17 16:29 UTC+0100 Viktor Szakats * website/samples.html - website/samples/dosshell.html - website/samples/dosshell.prg.html - website/samples/screenshots/dosshell_linux.png - website/samples/screenshots/dosshell_w32.png + website/samples/osshell.html + website/samples/osshell.prg.html + website/samples/screenshots/osshell_linux.png + website/samples/screenshots/osshell_w32.png - website/samples/dates4.html - website/samples/dates4.prg.html - website/samples/testcgi.html - website/samples/testcgi.prg.html - website/samples/screenshots/testcgi.gif * synced files with /tests dir 2012-11-17 14:56 UTC+0100 Viktor Szakats * contrib/hbodbc/hbodbc.hbp * contrib/hbodbc/odbc.c * contrib/hbodbc/todbc.prg * contrib/hbodbc/tests/testodbc.prg % deleted conditional code dealing with GC pointers without memory management. Not necessary after finishing memory management implementation in 2012-11-16 22:32 UTC+0100 Przemyslaw Czerpak Thanks! * contrib/hbsqlit3/core.c ! minor in comment 2012-11-17 14:23 UTC+0100 Viktor Szakats * extras/hbdoc/hbdoc.css * website/css/styles.css % minor optimization * extras/hbdoc/hbdoc.css * website/css/styles.css * website/*.htm * website/*.html * website/faq/*.html * website/menu/*.js * website/samples/*.html ! svn charset prop set to UTF-8 2012-11-17 14:12 UTC+0100 Viktor Szakats * doc/en/lang.txt * doc/en/var.txt ! changed docs for non-existent HB_ISBYREF() to HB_PISBYREF() ! deleted 'include/' references 2012-11-17 13:52 UTC+0100 Viktor Szakats * contrib/hbct/doc/en/charonly.txt * contrib/hbct/doc/en/ctmath2.txt * doc/en/hashes.txt * doc/en/misc.txt ! added missing '()' from the end of function names * include/harbour.hbx ! fixed casing of Dbf() * tests/fixcase.hb + added exceptions fixed manually last time * doc/en/rdddb.txt * doc/en/rddmisc.txt * tests/newrdd.prg * rerun fixcase.hb 2012-11-16 22:32 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/contrib/hbodbc/odbc.c ! fixed length of string parameters passed to ODBC functions. This code was using hb_parclen() for strings translated to other encoding by O_HB_PARSTRDEF() - it's a bug - translation may completely change the string length and the final ones can be shorter or longer then value returned by hb_parclen(). The last parameter in these macro is a pointer to HB_SIZE item which may received the size of converted string and this value should be use. If some other code also uses similar hb_parclen()/hb_itemGetCLen() for translated string (i.e. code using hbwinuni.h macros) then it has to be fixed. ! fixed the code to respect manual call to SQLDisconnect() which discards associated statement handles % eliminated repeated calls to extract handles from pointer items ; FIXME: add protection against calling SQLConnect() with hDbc handle which is already in connected state. Possible solutions: - forbid such operation - execute SQLDisconnect() inside SQLConnect() ; FIXME: hb_parc() pointer is passed as write buffer inside SQLBindParameter() ; Please make real test. I made this modifications without any real test. I do not have access to any ODBC server here. 2012-11-16 18:05 UTC+0100 Viktor Szakats * extras/httpsrv/home/counter.html * extras/httpsrv/home/testxmldb.html ! restored some .html files that contain JS code 2012-11-16 18:01 UTC+0100 Viktor Szakats + tests/fixcase.hb + added automatic case fixer. It's ugly code and has some hard-coded exception, some of them arbitrary, some due to certain strings causing mis-matches (e.g. JS code embedded in string, or words like "token(s)" and "file(s)") ; TODO: interestingly hb_DirScan() won't return extensionless files, when using hb_osFileMask() (as opposed to Directory()). This was a good side-effect in this particular case though. [DONE] 2012-11-16 17:50 UTC+0100 Viktor Szakats * extras/hbvpdf/hbvpdf.hbx ! two more corrections * contrib/gtwvg/tests/_dyndlgs.prg * contrib/hbct/doc/en/finan.txt * contrib/hbct/readme.txt * contrib/hbct/tests/asciisum.prg * contrib/hbct/tests/trig.prg * contrib/hbfoxpro/dll.prg * contrib/hbhttpd/core.prg * contrib/hbhttpd/widgets.prg * contrib/hbmisc/fcomma.prg * contrib/hbmlzo/tests/test.prg * contrib/hbmxml/tests/custom.prg * contrib/hbmzip/readme.txt * contrib/hbnf/nwuid.prg * contrib/hbnf/vidcur.prg * contrib/hbtip/client.prg * contrib/hbwin/tests/olesrv1.prg * contrib/hbwin/tests/testprn.prg * contrib/xhb/cstruct.prg * contrib/xhb/hjwindow.prg * contrib/xhb/hterrsys.prg * contrib/xhb/htjlist.prg * contrib/xhb/htmutil.prg * contrib/xhb/tests/decode.prg * contrib/xhb/xhberr.prg * doc/cmdline.txt * doc/en/objfunc.txt * doc/en/set.txt * doc/en/string.txt * doc/pragma.txt * extras/gfspell/spell.prg * extras/gtwvw/docs/gtwvw.txt * extras/gtwvw/tests/wvwtest9.prg * extras/hbvpdf/core.prg * extras/hbvpdf/fonts.prg * extras/hbvpdf/tests/pdf_demo.prg * extras/httpsrv/cgifunc.prg * extras/httpsrv/home/counter.html * extras/httpsrv/home/testxmldb.html * extras/httpsrv/session.prg * extras/httpsrv/uhttpd.prg * tests/base64.prg * tests/boxtest.prg * tests/db_brows.prg * tests/ddate.prg * tests/inherit.prg * tests/langmsg.prg * tests/mathtest.prg * tests/memtst.prg * tests/readhrb.prg * tests/switch.prg * tests/testsha2.prg * tests/testwarn.prg * tests/tstdbi.prg * tests/utf8at.prg * utils/hbtest/hbtest.prg * utils/hbtest/rt_class.prg * utils/hbtest/rt_date.prg * utils/hbtest/rt_hvma.prg * utils/hbtest/rt_math.prg * utils/hbtest/rt_misc.prg * utils/hbtest/rt_trans.prg * website/news.html * website/news1.html * website/samples.html * website/samples/arreval.html * website/samples/codebl.prg.html * website/samples/dates3.html * website/samples/switch.prg.html * website/samples/testcgi.prg.html * website/samples/tstmacro.prg.html * rerun case fixer script after applying some fixes, and this time it run fully automatically. 2012-11-16 17:44 UTC+0100 Viktor Szakats * tests/uc16_gen.prg ! restored 2012-11-16 17:42 UTC+0100 Viktor Szakats * extras/hbvpdf/hbvpdf.hbx ! correction 2012-11-16 16:06 UTC+0100 Viktor Szakats * contrib/gtwvg/class.prg * contrib/gtwvg/paint.prg * contrib/gtwvg/parthdlr.prg * contrib/gtwvg/statbar.prg * contrib/gtwvg/tests/_dyndlgs.prg * contrib/gtwvg/tests/_modal.prg * contrib/gtwvg/tests/_tbrowse.prg * contrib/gtwvg/tests/_utils.prg * contrib/gtwvg/tests/_wvtcls.prg * contrib/gtwvg/tests/_xbp.prg * contrib/gtwvg/tests/demowvg.prg * contrib/gtwvg/tests/demowvg1.prg * contrib/gtwvg/tests/demoxbp.prg * contrib/gtwvg/toolbar.prg * contrib/gtwvg/wnd.prg * contrib/hbamf/issues.txt * contrib/hbamf/readme.txt * contrib/hbblink/hbblink.ch * contrib/hbct/ct.ch * contrib/hbct/ctcom.ch * contrib/hbct/ctrand.prg * contrib/hbct/cttime.prg * contrib/hbct/doc/en/addascii.txt * contrib/hbct/doc/en/ctmath2.txt * contrib/hbct/doc/en/ctstr.txt * contrib/hbct/doc/en/dattime2.txt * contrib/hbct/doc/en/finan.txt * contrib/hbct/doc/en/ftoc.txt * contrib/hbct/doc/en/misc1.txt * contrib/hbct/doc/en/trig.txt * contrib/hbct/fcopy.prg * contrib/hbct/getinfo.prg * contrib/hbct/getinput.prg * contrib/hbct/getsecrt.prg * contrib/hbct/keysave.prg * contrib/hbct/keysec.prg * contrib/hbct/keytime.prg * contrib/hbct/readme.txt * contrib/hbct/screen3.prg * contrib/hbct/scrmark.prg * contrib/hbct/showtime.prg * contrib/hbct/tempfile.prg * contrib/hbformat/utils/hbformat.prg * contrib/hbfship/isdb.prg * contrib/hbgd/gdimage.prg * contrib/hbgd/tests/gdtestcl.prg * contrib/hbgd/tests/test_out.prg * contrib/hbgd/tests/tostring.prg * contrib/hbgt/doc/en/hbgt.txt * contrib/hbgt/tests/test.prg * contrib/hbhpdf/tests/harupdf.prg * contrib/hbhttpd/tests/carts.dbf * contrib/hbhttpd/tests/items.dbf * contrib/hbhttpd/tests/users.dbf * contrib/hbmisc/doc/en/dates2.txt * contrib/hbmisc/fcomma.prg * contrib/hbmisc/stringp.prg * contrib/hbmisc/tests/testhbf.prg * contrib/hbmisc/udpds.prg * contrib/hbmxml/tests/custom.prg * contrib/hbmysql/diff-en.txt * contrib/hbmysql/diff-es.txt * contrib/hbmysql/tmysql.prg * contrib/hbnetio/netiomt.prg * contrib/hbnetio/utils/hbnetio/netiomgm.hb * contrib/hbnf/adapter.prg * contrib/hbnf/aredit.prg * contrib/hbnf/clrsel.prg * contrib/hbnf/default.prg * contrib/hbnf/dispmsg.prg * contrib/hbnf/floptst.prg * contrib/hbnf/ftint86.ch * contrib/hbnf/ftmenuto.ch * contrib/hbnf/lastday.prg * contrib/hbnf/linked.prg * contrib/hbnf/menuto.prg * contrib/hbnf/metaph.prg * contrib/hbnf/nwsem.prg * contrib/hbnf/ontick.prg * contrib/hbnf/pegs.prg * contrib/hbnf/popadder.prg * contrib/hbnf/savesets.prg * contrib/hbnf/sinkey.prg * contrib/hbnf/tbwhile.prg * contrib/hbnf/tempfile.prg * contrib/hbnf/vidcur.prg * contrib/hbnf/video2.prg * contrib/hbnf/woy.prg * contrib/hbodbc/tests/testodbc.prg * contrib/hbodbc/todbc.prg * contrib/hbpgsql/postgres.ch * contrib/hbtip/encoder.prg * contrib/hbtip/thtml.prg * contrib/hbtpathy/tests/testtp.prg * contrib/hbwin/tests/dlg.prg * contrib/hbwin/tests/olesrv1.prg * contrib/hbwin/tests/olesrv3.prg * contrib/hbwin/tests/olesrv4.prg * contrib/hbwin/tests/oletst4.prg * contrib/hbwin/tests/testprn.prg * contrib/hbwin/win_tbmp.prg * contrib/hbxpp/browdbx.prg * contrib/hbxpp/runshell.prg * contrib/hbxpp/tthreadx.prg * contrib/hbxpp/typefilx.prg * contrib/hbxpp/xppop.prg * contrib/rddads/doc/en/adsfuncs.txt * contrib/rddads/doc/en/readme.txt * contrib/rddads/tests/datad.prg * contrib/rddsql/readme.txt * contrib/xhb/cstruct.prg * contrib/xhb/dirrec.prg * contrib/xhb/diskhb.prg * contrib/xhb/hbcompat.ch * contrib/xhb/hbcomprs.prg * contrib/xhb/hterrsys.prg * contrib/xhb/htjlist.prg * contrib/xhb/htmutil.prg * contrib/xhb/stream.prg * contrib/xhb/tcgi.prg * contrib/xhb/thtm.prg * contrib/xhb/ttable.prg * contrib/xhb/txml.prg * contrib/xhb/xcstr.prg * contrib/xhb/xhberr.prg * contrib/xhb/xhbmemo.prg * contrib/xhb/xhbtedit.prg * contrib/xhb/xhbver.prg * doc/cmpopt.txt * extras/gfspell/spell.ng * extras/gfspell/spell.prg * extras/gfspell/words.dbf * extras/gtwvw/docs/funclist.txt * extras/gtwvw/docs/whatsnew.txt * extras/gtwvw/tests/_wvwmous.prg * extras/gtwvw/tests/cbtest6.prg * extras/gtwvw/tests/drawimg.prg * extras/gtwvw/tests/ebtest7.prg * extras/gtwvw/tests/inpfocus.prg * extras/gtwvw/tests/maximize.prg * extras/gtwvw/tests/prog0.prg * extras/gtwvw/tests/prog1.prg * extras/gtwvw/tests/prog2.prg * extras/gtwvw/tests/wvwtest9.prg * extras/gtwvw/wvt2wvw.ch * extras/guestbk/guestbk.prg * extras/hbdoc/tmplates.prg * extras/hbvpdf/core.prg * extras/httpsrv/cgifunc.prg * extras/httpsrv/cookie.prg * extras/httpsrv/session.prg * extras/httpsrv/uhttpd.prg * extras/rddado/adordd.ch * extras/rddado/adordd.prg * include/set.ch * src/debug/debugger.prg * src/rdd/dbfuncs.prg * src/rdd/dbjoin.prg * src/rdd/dblist.prg * src/rdd/dbsort.prg * src/rdd/dbstrux.prg * src/rdd/dbstruxu.prg * src/rdd/dbtotal.prg * src/rdd/dbupdat.prg * src/rdd/hbsix/sxcompat.prg * src/rdd/hbsix/sxini.prg * src/rdd/hbsix/sxtrig.prg * src/rdd/usrrdd/rdds/arrayrdd.prg * src/rdd/usrrdd/rdds/logrdd.prg * src/rdd/usrrdd/rdds/rlcdx.prg * src/rtl/achoice.prg * src/rtl/adir.prg * src/rtl/alert.prg * src/rtl/altd.prg * src/rtl/browdb.prg * src/rtl/dbedit.prg * src/rtl/devoutp.prg * src/rtl/dircmd.prg * src/rtl/hbi18n2.prg * src/rtl/input.prg * src/rtl/libname.prg * src/rtl/listbox.prg * src/rtl/memvarbl.prg * src/rtl/radiobhb.prg * src/rtl/readkey.prg * src/rtl/readvar.prg * src/rtl/setfunc.prg * src/rtl/setta.prg * src/rtl/tbrowse.prg * src/rtl/teditor.prg * src/rtl/text.prg * src/rtl/tget.prg * src/rtl/tgetlist.prg * src/rtl/tobject.prg * src/rtl/typefile.prg * src/rtl/valtoexp.prg * src/rtl/wait.prg * src/vm/harbinit.prg * tests/ac_test.prg * tests/ac_test2.prg * tests/adirtest.prg * tests/aliaslck.prg * tests/clsnv.prg * tests/codebl.prg * tests/debugtst.prg * tests/devtest.prg * tests/disptest.prg * tests/gtcolors.prg * tests/gtkeys.prg * tests/gtwin.prg * tests/gtxfnt.prg * tests/inkeytst.prg * tests/linecont.prg * tests/mathtest.prg * tests/memvar.prg * tests/newrdd.prg * tests/output.prg * tests/readhrb.prg * tests/seconds.prg * tests/set_test.prg * tests/tb1.prg * tests/testdyn.prg * tests/testdyn1.prg * tests/testhrb.prg * tests/testhtml.prg * tests/testidle.prg * tests/testpre.prg * tests/testrdd2.prg * tests/testsha1.prg * tests/teststr.prg * tests/ticktime.prg * tests/transtst.prg * tests/tstcolor.prg * tests/tstdbi.prg * tests/tstmacro.prg * tests/uc16_gen.prg * tests/usrrdd/exarr.prg * tests/usrrdd/exlog.prg * tests/utf8at.prg * tests/version.prg * tests/videotst.prg * tests/vidtest.prg * tests/wvtext.prg * utils/hbmk2/hbmk2.prg * utils/hbtest/hbtest.prg * utils/hbtest/rt_class.prg * utils/hbtest/rt_date.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_trans.prg * run case fixer script on all non-C file except some certain files, which I routinely skip when formatting. * minor manual cleanups along the way * tests/bldtest/bldtest.c * uncrustifed 2012-11-16 15:07 UTC+0100 Viktor Szakats * contrib/hbmisc/stringp.prg % use hb_default() instead of local variation named default() 2012-11-16 14:53 UTC+0100 Viktor Szakats + contrib/xhb/xhbctbit.c * contrib/xhb/xhb.hbp * contrib/xhb/xhb.hbx + implemented NUM*X() function from xhb, which are there present in CT lib as extensions. In Harbour they are in xhb lib. Adapted types, missing functions, some cleanups and uncrustify. 2012-11-16 14:12 UTC+0100 Viktor Szakats * extras/hbvpdf/hbvpdf.hbx + camelcased 2012-11-16 14:01 UTC+0100 Viktor Szakats * src/rtl/gtwvt/gtwvt.c * src/rtl/gtwvt/gtwvt.h ! made gfx drawing functions work again by disabling compositing on the first drawing call * contrib/hbodbc/hbodbc.hbp + enabled automatic MM after Przemek's changes. For me however, both odbcdemo.prg and testodbc.prg GPFs on exit. Maybe it's related to SQLDisconnect() calls? * contrib/hbodbc/odbc.c ! SQLALLOCENV() after my prev change to use ODBC 3 APIs to call some weird API to avoid an error. * contrib/hbodbc/tests/testodbc.prg * contrib/hbodbc/todbc.prg * disabled manual memory management hacks on prg level * contrib/rddsql/hbrddsql.h * contrib/sddfb/sddfb.c ! uncrustified * doc/howtorep.txt + added reference to commit.hb * contrib/gtwvg/class.prg * contrib/gtwvg/gtwvg.hbx * contrib/gtwvg/menubar.prg * contrib/gtwvg/paint.prg * contrib/gtwvg/syswnd.prg ! fixed few casing and where it was used * extras/gtwvw/gtwvw.hbx * extras/gtwvw/wvt2wvw.ch ! fixed few casing and where it was used * contrib/hbgd/gd.ch * minor 2012-11-16 13:52 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/contrib/rddsql/hbrddsql.h * added missing constant 2012-11-16 13:35 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/contrib/sddfb/sddfb.c ! added missing query execution :), multiple field type/value decoding changes, etc. 2012-11-16 11:35 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/contrib/hbodbc/odbc.c * unlock sub-handle pointer items - it can be safely done because these items are marked as used inside parent item GC mark function. ; This code using pointer items is a little bit more complicated then it has to be. In current code pointer items can keep references only to other pointer items in the form which cannot create cyclic reference. They also do not have any references to codeblocks, arrays, objects, hashes or any other complex items set by user which may create indirectly cyclic reference. In such case it's possible to eliminate all GC mark functions and use directly items allocated by hb_itemNew() without unlocking them with hb_gcUnlock(). By default all items allocated by hb_itemNew() are locked so GC automatically mark them and their GC memory blocks as used. It does not cause any speed or memory overhead so I left it as example for more complicated cases and as base for some potential extensions. 2012-11-16 09:39 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/include/hbapi.h * harbour/src/vm/cmdarg.c ! fixed to compile without UNICODE macro + added new C functions: hb_cmdargBaseProgName(), hb_cmdargPushArgs() * marked places which needs TCHAR conversions in MS-Windows builds * harbour/src/vm/hvm.c * use hb_cmdargPushArgs() * harbour/src/rtl/hbproces.c ! fixed to compile without UNICODE macro * harbour/src/rtl/gtxwc/gtxwc.c * modified code to set window title to always operate on UTF8 values * use hb_cmdargBaseProgName() * harbour/src/rtl/gtwvt/gtwvt.c * harbour/contrib/gtwvg/gtwgud.c * harbour/contrib/gtwvg/gtwvgd.c * harbour/contrib/gtalleg/gtalleg.c * harbour/extras/gtwvw/gtwvwd.c * use hb_cmdargBaseProgName() * harbour/contrib/hbodbc/odbc.c ! keep references to parent handles in sub-handles pointer structures ; please make real life tests if it works correctly 2012-11-16 04:10 UTC+0100 Viktor Szakats * ChangeLog ! restored/fixed file that got corrupted in 2012-11-15 16:07 UTC+0200 when spaces got converted to tabs. * doc/Makefile - doc/en/gtslang.txt + doc/gtslang.txt * moved non-nfdoc doc to /docs - doc/en/memvar2.txt + doc/en/memvar.txt * renamed - contrib/hbmisc/doc/en/ht_dbf.txt - deleted. it contained functions no longer in hbmisc - doc/en/cmdline.txt - doc/en/gnulice.txt - doc/en/readme.txt - deleted redundant/obsolete/duplicate docs * doc/cmdline.txt ! typo * minor sync with duplicate found in en/ subdir * contrib/hbgd/doc/en/hbgd.txt * contrib/hbnf/doc/en/tbwhile.txt * contrib/hbnf/tests/tbwhile.prg * doc/en/array.txt * doc/en/binnum.txt * doc/en/browse.txt * doc/en/datetime.txt * doc/en/dbstrux.txt * doc/en/dir.txt * doc/en/diskspac.txt * doc/en/errsys.txt * doc/en/eval.txt * doc/en/file.txt * doc/en/garbage.txt * doc/en/harbext.txt * doc/en/hashes.txt * doc/en/hb_api.txt * doc/en/hb_apier.txt * doc/en/hb_apifs.txt * doc/en/hb_apiit.txt * doc/en/hb_apiln.txt * doc/en/hb_date.txt * doc/en/hb_macro.txt * doc/en/hb_set.txt * doc/en/hb_vm.txt * doc/en/hbflock.txt * doc/en/hvm.txt * doc/en/input.txt * doc/en/lang.txt * doc/en/macro.txt * doc/en/math.txt * doc/en/memo.txt * doc/en/menu.txt * doc/en/misc.txt * doc/en/nation.txt * doc/en/objfunc.txt * doc/en/rddmisc.txt * doc/en/set.txt * doc/en/string.txt * doc/en/strotype.txt * doc/en/tbrowse.txt * doc/en/tclass.txt * doc/en/terminal.txt * doc/en/tgetlist.txt * doc/en/tlabel.txt * doc/en/treport.txt * doc/en/var.txt ! rerun my function casing fixer script after fixing a bug in it causing existing items not found in hash. (apparently the HVM CP must be the same when assembling the hash and when using it, or something of this effect) * rtl/vm/macro lib names now referred to as 'core' * utils/hbmk2/hbmk2.prg * formatted EXTERNAL statements * README + added some legal text from old readme under docs + added notes on configuring text editors when used with Harbour 2012-11-15 23:08 UTC+0100 Viktor Szakats * doc/clipper.txt * doc/cmpopt.txt * doc/codebloc.txt * doc/gtapi.txt * doc/hdr_tpl.txt * doc/inet.txt * doc/locks.txt * doc/pp.txt * doc/pragma.txt * doc/todo.txt * doc/tracing.txt * doc/vm.txt * doc/xhb-diff.txt * function name formatting * various minor cleanups and updates/fixes along the way 2012-11-15 22:50 UTC+0100 Viktor Szakats * contrib/hbct/doc/en/*.txt * contrib/hbmisc/doc/en/*.txt * contrib/rddads/doc/en/adsfuncs.txt * contrib/rddads/doc/en/readme.txt ! fixed library name references ! ctiii -> CT3 2012-11-15 19:41 UTC+0100 Viktor Szakats * contrib/hbct/doc/en/atnum.txt * contrib/hbct/doc/en/ctstr.txt * contrib/hbct/doc/en/token1.txt * contrib/hbct/doc/en/token2.txt * contrib/hbct/doc/en/trig.txt ! some fixes to prev. (my regex is not yet perfect) (it wasn't the regex) 2012-11-15 19:10 UTC+0100 Viktor Szakats * contrib/hbct/doc/en/*.txt * contrib/hbgd/doc/en/hbgd.txt * contrib/hbgt/doc/en/hbgt.txt * contrib/hbmisc/doc/en/*.txt * contrib/hbnf/doc/en/*.txt * contrib/hbnf/tests/*.prg * contrib/hbziparc/doc/en/hbziparc.txt * contrib/rddads/doc/en/*.txt * doc/en/*.txt * extras/gtwvw/docs/*.txt * synced casing of .prg level function names with .hbx files, even if those are in docs, comments or strings. 2012-11-15 18:57 UTC+0100 Viktor Szakats * doc/en/string.txt ! fixed function name casing in recent commit in $EXAMPLES$ section ! fixed casing in some strings 2012-11-15 16:07 UTC+0200 Alexey Myronenko (m.oleksa@ukr.net) * doc/en/string.txt + documentaion for HB_AT(), HB_RAT() added/corrected ! fixed examples for them - delete allusion for HB_OEMTOANSI(), HB_ANSITOOEM() due to they will disappear after next stable release 2012-11-15 13:42 UTC+0100 Viktor Szakats * contrib/hbamf/amfdec.c * contrib/rddsql/sqlbase.c * contrib/rddsql/sqlmix.c * contrib/sddfb/sddfb.c * contrib/sddmy/sddmy.c * contrib/sddoci/sddoci.c * contrib/sddodbc/sddodbc.c * contrib/sddpg/sddpg.c * contrib/sddsqlt3/sddsqlt3.c * deleted extra {} enclosures * converted commented code to #if 0/#endif blocks * some uncrustifying * while( 1 ) -> for( ;; ) 2012-11-15 13:02 UTC+0100 Viktor Szakats * contrib/hbformat/hbfmtcls.prg + added new TODO to add space between '!' operator and single (= not parenthesised) arguments. * contrib/hbfimage/fi_wrp.c * minor * contrib/hbodbc/odbc.c ! fixed to build under ODBC 1.x, 2.x ! fixed to use ODBC 3.x functions instead of deprecated functions. * minor cleanups to prev * contrib/sddodbc/sddodbc.c ! fixed to build under ODBC 1.x, 2.x * README + added note that hbrun scripts are started in UTF-8 mode. + added command lines for formatting C and PRG sources * minor cleanups * contrib/hbnf/doc/en/cint86.txt * contrib/hbnf/ftmenuto.ch * contrib/xhb/html.ch * contrib/xhb/htmlform.ch * extras/gtwvw/docs/funclist.txt * extras/gtwvw/docs/gtwvw.txt * extras/gtwvw/docs/whatsnew.txt * extras/gtwvw/gtwvwd.c * extras/gtwvw/tests/ebtest7.prg * extras/gtwvw/tests/prog0.prg * extras/gtwvw/tests/prog1.prg * extras/gtwvw/tests/prog2.prg * extras/gtwvw/tests/wvwtest9.prg * src/rtl/achoice.prg * src/vm/thread.c * website/samples/testcgi.prg.html * website/samples/testhtml.prg.html * website/third-party.html * lowercased (or deleted) references to source filenames. 2012-11-15 01:20 UTC+0100 Viktor Szakats * contrib/hbnf/floptst.prg * utils/hbmk2/hbmk2.prg * minor followup cleanup 2012-11-14 21:37 UTC+0100 Viktor Szakats * COPYING * debian/copyright * changed explicit reference to certain CC licensed files to generic wording. * TODO * GTWVG -> GTWVT - NEWS + doc/oldnews.txt - TODO + doc/todo.txt * renamed these files. TODO is essentially static since 10 years, not worth to keep in root and in distro root. NEWS was not updated since 2008. * doc/Makefile + updated with above files. (so they will still be distributed, just not in root) * doc/howtorel.txt * updated reference to NEWS doc * config/postinst.hb * package/mpkg_win.nsi * package/winuni/mpkg_win_uni.bat * package/winuni/mpkg_win_uni.nsi * deleted references to TODO and NEWS 2012-11-14 21:11 UTC+0100 Viktor Szakats * COPYING * debian/copyright * INSTALL -> README in two missed places 2012-11-14 20:49 UTC+0100 Viktor Szakats - INSTALL + README * config/global.mk * config/postinst.hb * contrib/hbmysql/readme.txt * doc/gmake.txt * NEWS * package/mpkg_win.nsi * package/winuni/mpkg_win_uni.bat * package/winuni/mpkg_win_uni.nsi * package/winuni/RELNOTES * tests/hbdoctst.prg * website/menu/harbour-menu.js * website/news.html * doc/howtorep.txt * 'INSTALL' doc renamed to 'README'. A little disruption, but hopefully it will be more intuitive place to look for. The doc by now contains lots more than installation procedures. This "new" name is also recognized and displayed by several source management web UIs automatically. ; To mailing list admins: Please update the links in the web group headers. Thank you! 2012-11-14 15:00 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.es_PE.po + extensive Spanish translation update from Guillermo Varona Silupu (GVS). Thanks very much. 2012-11-14 13:24 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + lib hinting feature will now re-run the failed linking command to catch its output and analyze it. It will only work if errors are not ignore and quiet mode is not enabled. + reenabled lib hinting feature. + show function names with their .hbx casing (instead of full uppercase) ! fixed casing for some internal functions, not present in .hbx. 2012-11-14 04:49 UTC+0100 Viktor Szakats * src/rtl/achoice.prg * src/rtl/alert.prg * src/rtl/hbfilehi.prg * src/rtl/hbi18n2.prg * src/rtl/hbini.prg * src/rtl/listbox.prg * src/rtl/memoedit.prg * src/rtl/memvarhb.prg * src/rtl/menuto.prg * src/rtl/objfunc.prg * src/rtl/profiler.prg * src/rtl/radiobtn.prg * src/rtl/tbrowse.prg * src/rtl/teditor.prg * src/rtl/tgetlist.prg * src/rtl/tmenuitm.prg * src/rtl/tobject.prg * src/rtl/typefile.prg * use HB_DEFAULT() instead of 'IF ! HB_IS*()' * include/harbour.hbx ! fixed one casing being wrong * contrib/hbmisc/stringp.prg * contrib/xhb/ttable.prg * contrib/xhb/xcstr.prg * tests/debugtst.prg ! fixed above casing where it got wrongly formatted 2012-11-14 03:11 UTC+0100 Viktor Szakats * src/rtl/hbdef.c ! HB_DEFAULT(): consider date and timestamp types interchangable. % HB_DEFAULT(): applied optimization from Przemek, so now an hb_pcount() call is saved. 2012-11-14 02:27 UTC+0100 Viktor Szakats * ChangeLog * another note missed, this time from 2012-11-13 19:00 UTC+0100 (FI_SETOUTPUTMESSAGE() gained MT support.) * config/postinst.hb * utils/hbmk2/hbmk2.prg * use HB_DEFAULT() instead of 'IF ! HB_IS*()' * contrib/hbgd/gdchart.prg + use HB_DEFAULT() instead of __DEFAULTNIL() after verifying that in no case they are expecting multiple types. 2012-11-14 01:58 UTC+0100 Viktor Szakats * ChangeLog * added a missed incompatibity note to previous entry. * contrib/hbcomm/comm.prg * contrib/hbct/ctmisc.prg * contrib/hbct/fcopy.prg * contrib/hbct/getinput.prg * contrib/hbct/getsecrt.prg * contrib/hbct/keysec.prg * contrib/hbct/scrmark.prg * contrib/hbct/tempfile.prg * contrib/hbfbird/tfirebrd.prg * contrib/hbfoxpro/misc.prg * contrib/hbmagic/hbmagis.prg * contrib/hbmisc/hbedit.prg * contrib/hbmysql/tmysql.prg * contrib/hbmysql/tsqlbrw.prg * contrib/hbodbc/todbc.prg * contrib/hbpgsql/tpostgre.prg * contrib/hbsms/sms.prg * contrib/hbtip/client.prg * contrib/hbtip/encb64.prg * contrib/hbtip/log.prg * contrib/hbtip/mail.prg * contrib/hbtip/popcli.prg * contrib/hbtip/sendmail.prg * contrib/hbtip/smtpcli.prg * contrib/hbtip/thtml.prg * contrib/hbwin/wce_sim.prg * contrib/hbwin/win_os.prg * contrib/hbwin/win_reg.prg * contrib/hbwin/win_tprn.prg * contrib/hbxpp/dbfuncsx.prg * contrib/xhb/dirrec.prg * contrib/xhb/dumpvar.prg * contrib/xhb/hbcomprs.prg * contrib/xhb/hjwindow.prg * contrib/xhb/htmutil.prg * contrib/xhb/sprintf.prg * contrib/xhb/tedit.prg * extras/gtwvw/tests/drawimg.prg * extras/gtwvw/tests/ebtest7.prg * extras/rddado/adordd.prg * use HB_DEFAULT() instead of 'IF ! HB_IS*()' constructs, where possible and optimal. 2012-11-14 00:46 UTC+0100 Viktor Szakats * contrib/hbodbc/hbodbc.hbp * contrib/hbodbc/odbc.c * contrib/hbodbc/todbc.prg * contrib/hbodbc/tests/odbccall.prg * contrib/hbodbc/tests/odbcdemo.prg * contrib/hbodbc/tests/testodbc.prg + implemented typed pointers. Automatic memory management is not enabled yet, as it suffers from the same problem in its current form as e.g. HBQT. I hope someone can solve this, maybe it could be a good and simple example for how to solve such problems in general. Memory management code is guarded with _HBODBC_AUTO_MM_ both on .prg and .c level. Also in test code. ; Since pointers are now checked for type, some old wrong code now may generate RTEs. INCOMPATIBLE. % cleanups to TODBC() class to not use a temp variable to pass object vars by reference * other minor .prg level cleanups * src/rtl/hbdef.c ! fixed HB_DEFAULT() to use high-level Harbour types for type comparison, so e.g. memo and string types are considered the same, just like float, integer, long subtypes of numerics. Many thanks to Francesco (Saverio Giudice) for the report. 2012-11-13 19:16 UTC+0100 Viktor Szakats * contrib/hbfoxpro/dll.prg * contrib/hbfoxpro/misc.prg * hbformatted 2012-11-13 19:02 UTC+0100 Viktor Szakats * contrib/hbfimage/fi_wrp.c * contrib/hbgd/gdwrp.c * forgot to uncrustify 2012-11-13 19:00 UTC+0100 Viktor Szakats * contrib/hbfimage/fi_wrp.c * contrib/hbfimage/tests/fitest.prg ! FI_SETOUTPUTMESSAGE(): fixed/implemented error callback. In previous version it was not working. Now the function accepts both function pointer and codeblock. Also fixed for MT apps. * adapted/fixed error callback setting in test + added test for error callback * contrib/xhb/hbcompat.ch * formatting 2012-11-13 17:59 UTC+0100 Viktor Szakats * INSTALL * minor tweak in hbmk2 examples to better emphasis .hbc files 2012-11-13 17:55 UTC+0100 Viktor Szakats - contrib/hbfimage/fi_winfu.c * contrib/hbfimage/fi_wrp.c * contrib/hbfimage/hbfimage.hbp * contrib/hbfimage/tests/fitest.prg * merged and cleaned Windows specific functions with main wrapper source + implemented GC collected pointers for FIBITMAP + implemented typed pointers for FIMULTIBITMAP * FI_UNLOAD() is now a dummy and deprecated with HB_LEGACY_LEVEL4 ! FI_UNLOCKPAGE() fixed: it was checking for wrong parameter type + enabled few tests after adapting them to API changes * FI_GETBACKGROUNDCOLOR() changed to work like the wrapped function; it will now return color in 2nd parameter, if passed by ref. The color is a 4 byte string in the format RGBA. It was a raw pointer before. It's now in sync with FI_SETBACKGROUNDCOLOR(). INCOMPATIBLE. * FI_SETBACKGROUNDCOLOR() fixed to check for color parameter length to avoid GPFs. * minor code rearrangements % deleted no longer necessary FI_UNLOAD() calls from test code ; please test/review * contrib/hbgd/gdwrp.c * renamed variables, formatting * tests/rto_get.prg * tests/rto_tb.prg * utils/hbtest/hbtest.prg * utils/hbtest/rt_date.prg * utils/hbtest/rt_hvm.prg * utils/hbtest/rt_hvma.prg * utils/hbtest/rt_math.prg * utils/hbtest/rt_misc.prg * utils/hbtest/rt_str.prg * utils/hbtest/rt_trans.prg * formatting 2012-11-13 14:28 UTC+0100 Viktor Szakats * contrib/hbfimage/fi_winfu.c * contrib/hbfimage/fi_wrp.c * contrib/hbgd/gdwrp.c * cleanups * include/hbzlib.ch ! missing 'also used in C code' comment * formatting 2012-11-13 13:03 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/extras/gtwvw/gtwvwd.c ! eliminated hb_wcntomb() 2012-11-13 12:34 UTC+0100 Viktor Szakats * contrib/hbwin/win_reg.prg ! fixed WIN_REGGET() for WIN_REG_DWORD_BIG_ENDIAN and WIN_REG_QWORD* values in unicode mode. % minor optimization WIN_REG_QWORD part of above 2012-11-13 12:16 UTC+0100 Viktor Szakats * extras/gtwvw/gtwvwd.c ! eliminated HB_TCHAR_*() macros ! fixed few missing TEXT()s * extras/gtwvw/wvwdraw.c * extras/gtwvw/wvwedit.c ! fixed three warnings 2012-11-13 12:09 UTC+0100 Viktor Szakats * contrib/hbgd/gdbar.prg * contrib/hbgd/gdbarcod.prg ! '2005-2005' in copyright header * extras/gtwvw/gtwvw.hbp + reenabled warnings * extras/gtwvw/hbgtwvw.h * added hbwinuni.h * extras/gtwvw/gtwvwd.c * extras/gtwvw/wvwdraw.c * extras/gtwvw/wvwfuncs.c * uncrustified (multiple run seems to make additional changes, just like sometimes in hbformat) 2012-11-13 08:33 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/contrib/hbct/disk.c * harbour/contrib/hbct/ctnet.c ! eliminated HB_TCHAR_*() macros 2012-11-13 05:38 UTC+0100 Viktor Szakats * contrib/hbgd/gdbar.prg * contrib/hbgd/gdbarcod.prg * contrib/hbgd/hbgd.hbx * contrib/hbgd/tests/barms.prg * contrib/hbgd/tests/bartest.prg * Renamed classes that have confusing and misleading names out of the gd namespace: (e.g. TBarCode class was in gdbar.prg, and TCode in gdbarcod.prg) These were very buggy until recently, so I doubt anybody uses them, anyways it's an INCOMPATIBLE change: class TBarCode -> GDBar class TCode -> GDBarCode 2012-11-13 05:15 UTC+0100 Viktor Szakats * contrib/hbgd/gdwrp.c * formatting cleanups 2012-11-13 04:50 UTC+0100 Viktor Szakats * contrib/hbgd/gdwrp.c * cleaned conversion between Harbour logical to/from int flags * deleted repetitive comments ! fixed to check for proper GC collected pointer type, not just any pointer. This may avoid some GPFs and memory corruption and report them as RTE ! GDIMAGESTRINGFTEX() to allow float numbers for ptsize parameter ! GDIMAGEFILLEDPOLYGON(), GDIMAGEOPENPOLYGON(), GDIMAGEPOLYGON() fixed to not leave uninitialized trash in point coordinates if wrongly formed parameter is passed ! GDIMAGEFILLEDPOLYGON(): fixed buffer overrun if number of points exceeded 50 ; further 700 LOC and 12 kB source size reduction * ChangeLog * added LOC reduction to prev (-2800 lines) 2012-11-13 03:03 UTC+0100 Viktor Szakats * contrib/hbfimage/fi_winfu.c * missed to include it in one of the recent entries: FI_LOADFROMMEM() has been renamed to FI_LOADFROMMEMORY() to be in sync with original FreeImage function name. Update your apps accordingly. INCOMPATIBLE. * contrib/hbfimage/tests/fitest.prg ! synced with above lib change * contrib/hbfimage/fi_winfu.c * contrib/hbfimage/fi_wrp.c * contrib/hbgd/gdwrp.c * contrib/hbgd/gd.prg * deleted excessive {} and () operators * eliminated split lines where only one char was present in a line % replaced RTE generator calls with more compact ones % dropped pcount() checks where HB_IS*() checks were present anyway * merged separate var declarations and initializations in wrapper code % eliminated local variables where it didn't make code less obvious % adujsted a few var scopes * deleted repetitive comments % protected hb_parcx() calls changed to hb_parc() ! GDIMAGESTRING(), GDIMAGESTRINGUP(), GDIMAGECHAR(), GDIMAGECHARUP() fixed for 1 character long strings. Code tried to retrieve a character by using hb_parni() which (purposefully) isn't supported in Harbour. The current effect is the same, with negligibly performance loss for one long strings. % GDIMAGECHAR(), GDIMAGECHARUP() now use C level forwarder. % using hb_parnintdef() ! fixed typo in RTE message % using hb_default() in gd.prg % number of LOC (-2800), source size (-46 kB) and generated binary code greatly reduced by the above. ; NOTE: error behavior might have slightly changed due to these changes. * src/rtl/tclass.prg * src/rtl/tobject.prg * commented code changed to #if 0 blocks ! some commented code fixed * some obsolete comments deleted * utils/hbmk2/hbmk2.prg + added following options to .hbc files: keywords= licenses= repository= all only informational, they do nothing ATM. 2012-11-12 16:35 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/include/hbexpra.c ! fixed recently added error in macrocompiler mode 2012-11-12 15:36 UTC+0100 Viktor Szakats * package/harbour.spec * deleted reference to 'hbhttpds' which no longer exists as separate lib since 2012-11-04 14:41 UTC+0100 2012-11-12 15:15 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/include/hbexpra.c * indenting * harbour/package/harbour.spec ! fixed ssl library detection * harbour/contrib/hbnetio/netiosrv.c ! fixed parameters numbers in NETIO_COMPRESS() * harbour/config/linux/libs.mk * harbour/config/bin.mk ! use pthread in linked library list if shared linking is enabled ! do not strip system libraries in shared mode - some systems (i.e. RH7.3) needs pthread to be given at link time to create correct MT programs and now harbour shared library is only in MT. 2012-11-12 15:02 UTC+0100 Viktor Szakats * utils/hbi18n/hbi18n.prg + converted UI strings to translatable ones % use core functions instead of FileExt() 2012-11-12 14:08 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/include/hbexpra.c + added compile time error for GETs with complex macros 2012-11-12 13:44 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg * utils/hbmk2/hbmk2.es_PE.po * utils/hbmk2/hbmk2.hu_HU.po * utils/hbmk2/hbmk2.pt_BR.po % "-*flag=" options' help text change to include the word 'single' for 'flag' (though 'flag' is not and never was in plural) % moved -prgflag= option downwards in the list to discourage using it by being less visible. In general, nobody needs this flag as all non-hbmk2 flags are automatically passed to Harbour compiler. 2012-11-12 13:19 UTC+0100 Viktor Szakats - contrib/hbct/ctextern.ch - contrib/hbgd/gdextern.ch - contrib/hbxpp/hbxppext.ch - contrib/rddads/adsextrn.ch - contrib/xhb/xhbextrn.ch % deleted compatibility extern puller headers. To pull externs more efficiently from any contribs, use this line in your source: 'REQUEST __HBEXTERN__<LIBNAME>_' INCOMPATIBLE. 2012-11-12 11:50 UTC+0100 Viktor Szakats * contrib/gtwvg/hbgtwvg.ch * contrib/gtwvg/wvgparts.ch * contrib/gtwvg/wvtwin.ch * contrib/hbblat/blatwrp.c * contrib/hbblat/hbblat.ch * contrib/hbgd/gd.ch * contrib/hbmlzo/hbmlzo.ch * contrib/hbodbc/sql.ch * contrib/hbtpathy/telepath.ch * contrib/hbwin/hbsim.ch * contrib/hbwin/hbwin.ch * extras/rddado/adordd.ch * cleanups (removal of () around negative numerics in macros for .ch files not used from C and some alignment, comment cleanup) 2012-11-12 02:03 UTC+0100 Viktor Szakats * extras/rddado/rddado.hbp * extras/rddado/tests/access1.prg * extras/rddado/tests/access2.prg * extras/rddado/tests/mysql1.prg * extras/rddado/tests/mysql3.prg ! added missing link against hbwin lib when building as dynamic lib. It needs the method described in 2010-07-31 01:59 UTC+0200 + added #require to tests so now they can be run as hbrun scripts + added CLS to automatically switch to interactive GT with hbrun * extras/gfspell/spell.prg * extras/gfspell/spellc.c * extras/gtwvw/tests/ebtest7.prg * minor 2012-11-12 00:17 UTC+0100 Viktor Szakats * extras/superlib/superlib.dif ! fixed RAT_EVENT() to not hog the CPU and also to call Harbour's idle loop while waiting for events. 2012-11-11 21:41 UTC+0100 Viktor Szakats * contrib/hbct/hbct.hbx * contrib/hbct/scrmark.prg * contrib/hbct/showtime.prg * minor format fixes 2012-11-11 20:39 UTC+0100 Viktor Szakats * extras/hbdroid/msginfo.c ! fixed to pass strings to Java in UTF-8 ! additional NULL checks to avoid GPFs ; Anybody remembers how to run/try this thing? 2012-11-11 11:18 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/*/doc/en/*.txt ! Changed: $FUNCNAME$ => $NAME$. 2012-11-11 19:47 UTC+0100 Viktor Szakats * extras/gfspell/gfspell.hbx * extras/gfspell/spell.prg * extras/gfspell/spellc.c * final cleanups 2012-11-11 19:38 UTC+0100 Viktor Szakats * extras/gfspell/spell.prg * extras/gfspell/spellc.c * unicode, 64-bit and various other minor cleanups, though this thing just doesn't work at all. XUNFORM() seems to be buggy, maybe it pulls the whole thing down. I'm giving up. I will delete this library if it stays unusable. 2012-11-11 18:41 UTC+0100 Viktor Szakats * extras/gfspell/spell.prg % deleted commented full screen debug trace lines % deleted not operational REDUCE_MEMORY_NEEDS built-time option. It was dead code that didn't even compile and caused RTE when fixed * other formatting 2012-11-11 17:33 UTC+0100 Viktor Szakats * extras/gfspell/spell.prg * comment cleanup % changed SAYs to hb_DispOutAt(). Much faster now. MT compatible, too. * extras/gfspell/spellc.c * minor 2012-11-11 16:55 UTC+0100 Viktor Szakats * extras/gfspell/spellc.c ! fixed memory corruption in SP_RATE() * extras/gfspell/words.dbf ! deleted two wrong records that cause DBF2DIC() to not work. * extras/gfspell/spell.prg * minor 2012-11-11 16:20 UTC+0100 Viktor Szakats * extras/gfspell/spellc.c + legacy Clipper API constructs upgraded to Harbour ones + upgraded to use Harbour string sizes + other minor code cleanups % public vars converted to static and const * extras/gfspell/spell.prg * renamed STATIC vars ! fixed some STATIC vars for MT mode ! few more unicode fixes * code cleanups 2012-11-11 13:59 UTC+0100 Viktor Szakats - contrib/hbdroid + extras/hbdroid + extras/hbdroid/hbdroid.hbx * extras/hbdroid/hbdroid.hbc * moved hbdroid to 'extras' + added .hbx file * adapted build files to 'extras' environment. ; Now can be built as dynamic lib 2012-11-11 13:45 UTC+0100 Viktor Szakats * contrib/hbdroid/hbdroid.hbp * minor cleanup * contrib/rddbm/rddbm.hbp ! missed to add .hbx as source * contrib/rddsql/tests/arrayrdd.prg + fixed to work when run as script. (Could not achieve the same with SDD tests.) * utils/hbmk2/hbmk2.prg + added very experimental support for using macros in source filenames. The search for options and special extensions will be done before macro expansion, ie. if it doesn't match any options or special extensions, it will be considered a source a file and then expanded. Useful e.g. for '${hb_name}.hbx', but plain '${ENVVAR}' will also be considered a source filename. Can be abused, too, but not recommended. 2012-11-11 12:59 UTC+0100 Viktor Szakats * contrib/rddbm/rddbm.hbp * extras/gtwvw/gtwvw.hbp * extras/hbvpdf/hbvpdf.hbp * extras/hbxlsxml/hbxlsxml.hbp * extras/ps32/ps32.hbp * extras/rddado/rddado.hbp * extras/superlib/superlib.hbp + unified the common build parameters, so now all supports dynamic libs, installation and .hbx files + contrib/rddbm/rddbm.hbx + extras/rddado/rddado.hbx + added two new .hbx files 2012-11-11 12:51 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg ! fixed to automatically create target directory for import library, if any. * extras/hbusb/hbusb.hbp * making options more uniform ; TODO: apply these to other 'extras' libs * extras/gfspell/spellc.c ! fixed compilation errors in spellc.c. ! fixed non-ANSI C comments. ! fixed warnings. * removed excessive parenthesis + extras/gfspell/gfspell.hbx * extras/gfspell/gfspell.hbp + added .hbx file + added option to build dynamic lib * extras/gfspell/spell.ch * extras/gfspell/spell.prg ! fixed to use lower-case filenames ! fixed '=' operators ! fixed BIT() calls to have the 1st param passed by ref ! fixed some formatting errors left by hbformat (notably: "{|xx|") ! disabled permanently enabled debug screen messages ! fixed to not leave temporary index on disk + some changes to make code more unicode compatible (incomplete) * Use F_ERROR * hbformatted using new .hbx % use hb_FileExists() ; NOTE: Strangely all this is not enough to make this work, because crucial files are missing from this packages, e.g. dict.dic and thes.dic. Anybody has these? * extras/gfspell/words.dbf ! fixed field name to be WORD (not W_ORD). I'm not even sure how this can go wrong, byt anyways. * contrib/hbnf/menuto.prg * minor 2012-11-10 18:32 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * src/rtl/rat.c % Small optimization. 2012-11-11 02:38 UTC+0100 Viktor Szakats + extras/gtwvw/wvt2wvw.ch - extras/gtwvw/tests/wvt2wvw.ch * extras/gtwvw/tests/readme.txt * cased function names, misc cleanups, moved to main project dir 2012-11-11 01:58 UTC+0100 Viktor Szakats * contrib/hbgs/core.c * contrib/hbwin/wapi_wingdi.c * contrib/hbwin/win_com.c * minor uncrustify fixes * extras/gtwvw/gtwvw.hbx * cased all function names * extras/gtwvw/wvwdraw.c * extras/gtwvw/wvwedit.c * extras/gtwvw/wvwfuncs.c * cleanups * extras/gtwvw/wvwfuncs.c ! fixed a few GPFs. There are so plenty of them and other sloppy code that it's an impossible task. * extras/gtwvw/tests/hbmk.hbm * set warning level to -w3 * extras/gtwvw/tests/_wvwmous.prg * extras/gtwvw/tests/cbtest1.prg * extras/gtwvw/tests/cbtest6.prg * extras/gtwvw/tests/drawimg.prg * extras/gtwvw/tests/ebtest7.prg * extras/gtwvw/tests/inpfocus.prg * extras/gtwvw/tests/maincoor.prg * extras/gtwvw/tests/maximize.prg * extras/gtwvw/tests/prog0.prg * extras/gtwvw/tests/prog1.prg * extras/gtwvw/tests/prog2.prg * extras/gtwvw/tests/wvwtest9.prg ! fixed one doubly defined function after recent change ! fixed all -w3 warnings ! enabled GTWVW specific code where it was conditionally enabled. ! hbformat formattings and related fixes ; Strangely all samples work relatively okay in script mode, but when built as exe they all crash badly. 2012-11-10 21:25 UTC+0100 Viktor Szakats * extras/hbdoc/hbdoc.hbp + use $hb_pkg_install.hbm * utils/hbmk2/pkg_inst.hbm + install executables into Harbour bin dir, but commented with NOTE because hbdoc works only when put in its current directory location. 2012-11-10 20:55 UTC+0100 Viktor Szakats * src/rtl/hbgtcore.c * changed HB_GTI_COMPATBUFFER default to be Clipper compatible. INCOMPATIBLE compared to 3.2 versions, but restores the compatibility with previous ones and Clipper. Applications using Unicode, must now manually change these buffers to be Unicode compatible using: #include "hbgtinfo.ch" hb_gtInfo( HB_GTI_COMPATBUFFER, .F. ) * include/assert.ch * include/hbclass.ch * contrib/rddads/ads.ch * contrib/xhb/hbdll.ch * contrib/xhb/hblog.ch * contrib/xhb/ttable.ch ! use 'END' instead of 'ENDIF' consistently in command translated code. (most of these is result of recent regression) * contrib/gtwvg/class.prg * contrib/gtwvg/combobox.prg * contrib/gtwvg/crt.prg * contrib/gtwvg/menubar.prg * contrib/gtwvg/statbar.prg * contrib/gtwvg/static.prg * contrib/gtwvg/syswnd.prg * contrib/gtwvg/tests/_modal.prg * contrib/gtwvg/wnd.prg * contrib/hbgd/tests/test_out.prg * contrib/hbmysql/tmysql.prg * contrib/xhb/decode.prg * contrib/xhb/xhbtedit.prg * extras/hbdoc/hbdoc.prg * extras/httpsrv/cgifunc.prg * extras/httpsrv/session.prg % deleted excessive parenthesis ! fixed some '- 1' to '-1' in older hbformatted code * extras/gtwvw/tests/_wvwmous.prg * extras/gtwvw/tests/wvt2wvw.ch * extras/hbvpdf/core.prg * extras/httpsrv/uhttpd.prg * extras/rddado/adordd.ch * include/hbsix.ch * minor cleanups 2012-11-10 19:44 UTC+0100 Viktor Szakats * contrib/hbwin/hbwin.ch ! C++ comment changed to ANSI C now that the file is indeed used from C. * minor cleanups 2012-11-10 19:27 UTC+0100 Viktor Szakats * config/global.mk + enabled HB_BUILD_CONTRIB_DYN=yes when creating an install package using HB_BUILD_PKG=yes. Very experimental, let's see what happens in the nightly. If it works out well, it can be enabled by default on all win/mingw build, then on all win builds, then on all builds. * contrib/hbwin/hbwin.ch * formatted function names in comments + added RPC_S_* values, plus HB_RPC_S_ERROR which is Harbour specific * contrib/hbwin/tests/testrpc.prg + display RPC status code * contrib/hbwin/win_rpc.c + return RPC status of UuidCreate() call in first reference parameter of WIN_UUIDCREATESTRING: WIN_UUIDCREATESTRING( [@<nStatus>] ) -> <cString> * uncrustified 2012-11-10 18:38 UTC+0100 Viktor Szakats * ChangeLog ! added missing incompatibility tag to the change which made SAVESCREEN() buffers not Clipper compatible in default mode. I think we should change the default back to be compatible. Opinions? 2012-11-10 18:17 UTC+0100 Viktor Szakats * bin/harbour.ucf + enabled some options to delete unwanted newlines in a few places. + enabled to remove double semicolons * added default pp formatting option for future mods * extras/gtwvw/gtwvwd.c * extras/gtwvw/wvwcheck.c * extras/gtwvw/wvwdraw.c * extras/gtwvw/wvwedit.c * extras/gtwvw/wvwfuncs.c * extras/gtwvw/wvwmenu.c * extras/gtwvw/wvwpush.c * extras/gtwvw/wvwstbar.c * extras/gtwvw/wvwtbar.c ! uncrustified more agressively by using these extra options: mod_full_brace_for = remove mod_full_brace_if = remove mod_full_brace_while= remove ! some commented code converted to #if 0/#endif blocks ! one code line changed to avoid uncrustify bug * extras/gtwvw/tests/drawimg.prg ! avoided GPF caused by WVW function when GT is not yet initialized. This should ideally be fixed in the GT itself. * extras/gtwvw/tests/inpfocus.prg ! fixed lines broken by an older version of hbformat * extras/gtwvw/hbole.h ! deleted non-ANSI C comments 2012-11-10 17:02 UTC+0100 Viktor Szakats * extras/hbxlsxml/tests/example.prg * extras/hbxlsxml/tests/example2.prg * extras/hbxlsxml/tests/example3.prg * extras/hbxlsxml/xlsxml_s.prg * extras/hbxlsxml/xlsxml_y.prg * extras/hbxlsxml/xlsxml.prg + various cleanups, optimizations, one minor fix, improved bad parameter type handling + output to contain much less empty space in tags * tests/foreach.prg * tests/menutest.prg * cleanups ('=' operator still, hb_ntos()) 2012-11-10 15:33 UTC+0100 Viktor Szakats * contrib/hbpre.hbm * contrib/make.hb * avoid one internal make.hb macro completely. This comes with a 7 chars longer command line which might be a problem on MS-DOS systems, but .dlls are not typical there and projects with many dependencies will be long anyway. 2012-11-10 15:26 UTC+0100 Viktor Szakats * contrib/hbpost.hbm % synced back with utils/hbmk2/pkg_dynl.hbm, thus avoiding most usages of one make.hb specific macro. 2012-11-10 15:14 UTC+0100 Viktor Szakats * config/postinst.hb * utils/hbmk2/hbmk2.prg + preserve casing of HB_FUNC_EXCLUDE/HB_FUNC_INCLUDE exception directives in .hbx files * contrib/hbwin/hbwin.hbx * applied casing the HB_FUNC_EXCLUDE function name * contrib/hbwin/hbolesrv.c * contrib/hbwin/tests/olesrv1.prg * contrib/hbwin/tests/olesrv2.prg * contrib/hbwin/tests/olesrv3.prg * contrib/hbwin/tests/olesrv4.prg * applied same casing to sources 2012-11-10 15:00 UTC+0100 Viktor Szakats * extras/gtwvw/gtwvw.hbx + applied casing for some of the function names 2012-11-10 14:30 UTC+0100 Viktor Szakats + utils/hbmk2/pkg_dynl.hbm * utils/hbmk2/hbmk2.prg + added built-in package $hb_pkg_dynlib.hbm which adds hbmk2 options needed to build standard dynamic libs out of lib projects the same way contribs are built when using HB_BUILD_CONTRIB_DYN=yes. * utils/hbmk2/pkg_inst.hbm ! fixed to place target dynamic libs to main project directory, so they can be used right away * extras/hbvpdf/hbvpdf.hbp - extras/hbvpdf/hbvpdf.prg + extras/hbvpdf/core.prg - extras/hbvpdf/hbvpsup.prg + extras/hbvpdf/fonts.prg * renamed source to not collide with .hbx file * renamed other source to simpler name * fonts.prg hbformatted * extras/gtwvw/gtwvw.hbp * extras/hbusb/hbusb.hbp * extras/hbvpdf/hbvpdf.hbp * extras/hbxlsxml/hbxlsxml.hbp + added $hb_pkg_dynlib.hbm built-in build rules, so now these can be built as dynamic libs using command: 'hbmk2 -hbdyn <name>.hbp' * extras/gtwvw/gtwvwd.c ! fixed wrong startup code causing GPF when used as hbrun script. * extras/hbusb/tests/test.prg * extras/hbvpdf/tests/pdf_demo.prg * extras/hbxlsxml/tests/example.prg * extras/hbxlsxml/tests/example2.prg * extras/hbxlsxml/tests/example3.prg + added #require directives to make them run as scripts. * extras/gtwvw/tests/cbtest1.prg * extras/gtwvw/tests/cbtest6.prg * extras/gtwvw/tests/drawimg.prg * extras/gtwvw/tests/ebtest7.prg * extras/gtwvw/tests/inpfocus.prg * extras/gtwvw/tests/maincoor.prg * extras/gtwvw/tests/maximize.prg * extras/gtwvw/tests/prog0.prg * extras/gtwvw/tests/prog1.prg * extras/gtwvw/tests/prog2.prg * extras/gtwvw/tests/wvwtest9.hbp * extras/gtwvw/tests/wvwtest9.prg - extras/gtwvw/tests/wvwmouse.prg + extras/gtwvw/tests/_wvwmous.prg + added #require directives and dynamic switching to GTWVW GT to make them run as scripts. * renamed one internal .prg to start with an underscore * changed the way _wvwmous.prg is added to the main project source to make it run as script (though the .rc file won't be available in this case) * extras/hbxlsxml/tests/example.prg ! fixed typo in a recent manual cleanup update ; After this, 3rd party addons can easily use this facility to build and used as dynamic libs, making it possible to use them from scripts. ; NOTE: I didn't check if these dynamic libs can be linked statically to dependent projects. Left for the future. ; TODO: - clean contrib/hbpost.hbm to be more in sync with utils/hbmk2/pkg_dynl.hbm [DONE] - inspect if _HB_DYNSUFF can be avoided in contrib .hbc files [COULDN'T BE DONE YET] 2012-11-10 03:59 UTC+0100 Viktor Szakats * contrib/gtwvg/bitmap.prg * contrib/gtwvg/drawarea.prg * contrib/gtwvg/mle.prg * contrib/gtwvg/radiobut.prg * contrib/gtwvg/scrollbr.prg * contrib/gtwvg/sle.prg * contrib/gtwvg/tabpage.prg ! deleted permantenly enabled debug messages (STILL!) Quite amazing these are tolerated in live apps for months/years. 2012-11-10 03:51 UTC+0100 Viktor Szakats - contrib/gtwvg/tests/activex.prg - contrib/gtwvg/tests/cuigdlgs.prg - contrib/gtwvg/tests/dyndlgs.prg - contrib/gtwvg/tests/modal.prg - contrib/gtwvg/tests/tbrowser.prg - contrib/gtwvg/tests/utils.prg - contrib/gtwvg/tests/wvtcls.prg - contrib/gtwvg/tests/xbp.prg + contrib/gtwvg/tests/_activex.prg + contrib/gtwvg/tests/_cuigdlg.prg + contrib/gtwvg/tests/_dyndlgs.prg + contrib/gtwvg/tests/_modal.prg + contrib/gtwvg/tests/_tbrowse.prg + contrib/gtwvg/tests/_utils.prg + contrib/gtwvg/tests/_wvtcls.prg + contrib/gtwvg/tests/_xbp.prg * contrib/gtwvg/tests/demowvg.prg * renamed internal .prg files to not confuse them with those that can be run as scripts or built to exes. 2012-11-10 03:43 UTC+0100 Viktor Szakats - contrib/gtwvg/gtwvg.c + contrib/gtwvg/gtwvgd.c - contrib/gtwvg/wvggui.h + contrib/gtwvg/gtwgu.h - contrib/gtwvg/wvggui.c + contrib/gtwvg/gtwgud.c * contrib/gtwvg/gtwvg.hbp * contrib/gtwvg/gtwvg.hbx ! fixed object name collision between compiled gtwvw.hbx and gtwvw.c driver code. + enabled gtwvg build in dynamic (dll) mode. + include HB_GT_WBG and HB_GT_WGU in gtwvg.hbx * renamed WGU driver sources to have a consistent name with GTWVG. ! fixed GTWVG and GTWVU driver code to not abend when hb_winMainArg() return false, but fall back just like GTWVT does. * contrib/gtwvg/tests/demowvg.prg * contrib/gtwvg/tests/demowvg1.prg * contrib/gtwvg/tests/demoxbp.prg * GT driver request tweaks to make it possible to run them as scripts. + added #require "gtwvg" so that these now work as hbrun scripts. * contrib/gtwvg/tests/activex.prg * contrib/gtwvg/tests/cuigdlgs.prg * contrib/gtwvg/tests/demowvg.prg * minor cleanups * contrib/gtwvg/tests/hbmk.hbm - contrib/gtwvg/tests/demowvg.hbp % no longer necessary * necessary options moved to hbmk.hbm * contrib/gtwvg/tests/cuigdlgs.prg ! fix to one of prev mods - extras/gtwvw/gtwvw.c + extras/gtwvw/gtwvwd.c * extras/gtwvw/gtwvw.hbp ! fixed object name collision between compiled gtwvw.hbx and gtwvw.c driver code. * contrib/hbnf/tests/metaph.prg % optimized code 2012-11-10 02:36 UTC+0100 Viktor Szakats * contrib/gtwvg/*.prg * class declaration formatting cleanups (fixed wrongly uppercased method names, tightened alignment) 2012-11-10 01:40 UTC+0100 Viktor Szakats * contrib/gtwvg/tests/activex.prg * contrib/gtwvg/tests/cuigdlgs.prg * contrib/gtwvg/tests/demowvg.prg * contrib/gtwvg/tests/demowvg1.prg * contrib/gtwvg/tests/demoxbp.prg * contrib/gtwvg/tests/dyndlgs.prg * contrib/gtwvg/tests/modal.prg * contrib/gtwvg/tests/tbrowser.prg * contrib/gtwvg/tests/utils.prg * contrib/gtwvg/tests/wvtcls.prg * contrib/gtwvg/tests/xbp.prg * deleted empty comments 2012-11-10 01:04 UTC+0100 Viktor Szakats * contrib/gtwvg/crt.prg * contrib/gtwvg/paint.prg * contrib/gtwvg/wnd.prg ! few fixes applied from hbformat, plus one manual mod to keep make one code line hbformat friendly 2012-11-09 15:46 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/gtwvg/3state.prg * contrib/gtwvg/activex.prg * contrib/gtwvg/bitmap.prg * contrib/gtwvg/checkbox.prg * contrib/gtwvg/class.prg * contrib/gtwvg/combobox.prg * contrib/gtwvg/crt.prg * contrib/gtwvg/dataref.prg * contrib/gtwvg/dialog.prg * contrib/gtwvg/drawarea.prg * contrib/gtwvg/genrc.prg * contrib/gtwvg/hbgtwvg.ch * contrib/gtwvg/htmlview.prg * contrib/gtwvg/listbox.prg * contrib/gtwvg/menubar.prg * contrib/gtwvg/mle.prg * contrib/gtwvg/paint.prg * contrib/gtwvg/parthdlr.prg * contrib/gtwvg/pushbut.prg * contrib/gtwvg/radiobut.prg * contrib/gtwvg/scrollbr.prg * contrib/gtwvg/sle.prg * contrib/gtwvg/statbar.prg * contrib/gtwvg/static.prg * contrib/gtwvg/syswnd.prg * contrib/gtwvg/tabpage.prg * contrib/gtwvg/toolbar.prg * contrib/gtwvg/treeview.prg * contrib/gtwvg/wnd.prg * contrib/gtwvg/wvgcore.c * contrib/gtwvg/wvgcuig.c * contrib/gtwvg/wvgparts.ch * contrib/gtwvg/wvgutils.c * contrib/gtwvg/wvgwin.c * contrib/gtwvg/wvgwing.c ! Formatting: removed few hbformt applied residuals. ! Bumped: copyright years. ! Changed: <pritpal@vouchcac.com> => <bedipritpal@hotmail.com> 2012-11-10 00:17 UTC+0100 Viktor Szakats * contrib/hbexpat/core.c * contrib/hbexpat/internal.c * uncrustified except function translation macro trick block at the end of core.c 2012-11-09 23:28 UTC+0100 Viktor Szakats * contrib/hbssl/*.c * contrib/xhb/*.c * manual code cleanup (single {} blocks, commented code converted to #if 0/#endif, deleted extra empty lines, made code uncrustify friendly) * applied all uncrustify fixes, except for HB_FUNC_[TRANSLATE|EXEC|etc] related code in xhb which it messes up badly. And some horizontally layed out lines in hbssl. 2012-11-09 20:49 UTC+0100 Viktor Szakats * contrib/hbpgsql/postgres.c ! added missing cast causing warning in msvc C mode present since 2010-11-21 20:42 UTC+0100 * contrib/hbct/token2.c * src/compiler/harbour.y * src/compiler/harbour.yyc * deleted unnecessary casts 2012-11-09 19:53 UTC+0100 Viktor Szakats * src/rtl/hbgtcore.c ! indentation to prev * src/rtl/sha1.c % removed unnecessary parenthesis 2012-11-09 19:31 UTC+0100 Viktor Szakats * src/common/hbprintf.c * src/common/hbtrace.c * src/compiler/harbour.y * src/compiler/hbcmplib.c * src/compiler/hbmain.c * src/macro/macro.y * src/macro/macrolex.c * src/pp/ppcore.c * src/rdd/dbcmd.c * src/rdd/dbffpt/dbffpt1.c * src/rdd/hsx/hsx.c * src/rtl/cdpapi.c * src/rtl/dates.c * src/rtl/filebuf.c * src/rtl/hbcom.c * src/rtl/hbgtcore.c * src/rtl/hbi18n1.c * src/rtl/hbjson.c * src/rtl/hbsocket.c * src/rtl/hbstrfmt.c * src/rtl/hbznet.c * src/vm/classes.c * src/vm/fm.c * src/vm/hvm.c * src/vm/itemapi.c * src/vm/macro.c * src/vm/set.c * applied some non-space formattings and changes to make it format better using uncrustify 2012-11-09 13:08 UTC+0100 Viktor Szakats * contrib/xhb/hbcompat.ch * contrib/xhb/htmutil.prg * contrib/xhb/stream.prg * contrib/xhb/tedit.prg * contrib/xhb/tfile.prg * contrib/xhb/tframe.prg * contrib/xhb/thtm.prg * contrib/xhb/trpc.prg * contrib/xhb/ttable.prg * contrib/xhb/xcstr.prg * contrib/xhb/xdbmodst.prg * contrib/xhb/xthrow.c * extras/httpsrv/modules/cookie.prg * extras/httpsrv/modules/info.prg * extras/httpsrv/modules/showcounter.prg * extras/httpsrv/modules/tableservletdb.prg * src/rdd/usrrdd/rdds/arrayrdd.prg * cleanups 2012-11-09 12:39 UTC+0100 Viktor Szakats * bin/find.hb + show component name (core/contrib/addon) instead of full path for .hbc files. * contrib/hbmxml/core.c * cleanups 2012-11-09 02:06 UTC+0100 Viktor Szakats * contrib/xhb/xhw32prn.prg * missed from prev * INSTALL * minor * src/rtl/base64d.c * uncrustify full 2012-11-09 00:15 UTC+0100 Viktor Szakats * contrib/xhb/xhb.hbx * contrib/hbtip/hbtip.hbx * minor fix for some class names * contrib/gtwvg/class.prg * contrib/gtwvg/menubar.prg * contrib/hbformat/hbfmtcls.prg * contrib/hbtip/cgi.prg * contrib/hbtip/client.prg * contrib/hbtip/credent.prg * contrib/hbtip/encoder.prg * contrib/hbtip/encurl.prg * contrib/hbtip/ftpcli.prg * contrib/hbtip/httpcli.prg * contrib/hbtip/log.prg * contrib/hbtip/mail.prg * contrib/hbtip/popcli.prg * contrib/hbtip/smtpcli.prg * contrib/hbtip/url.prg * contrib/hbwin/oleauto.prg * contrib/hbwin/wce_sim.prg * contrib/hbwin/win_tprn.prg * contrib/xhb/hblog.ch * contrib/xhb/hblog.prg * contrib/xhb/hjwindow.prg * contrib/xhb/htjlist.prg * contrib/xhb/trpc.prg * contrib/xhb/trpccli.prg * contrib/xhb/txml.prg * contrib/xhb/xhbmemo.prg * contrib/xhb/xhbole.prg * class names synced with the format in .hbx files 2012-11-08 23:51 UTC+0100 Viktor Szakats * contrib/xhb/hbcompat.ch * utils/hbmk2/hbmk2.prg * minor cleanups 2012-11-08 18:01 UTC+0100 Viktor Szakats * contrib/hbnf/any2any.prg * contrib/hbnf/d2e.prg ! Fixed wrongly cased local macros after last formatting. These macro names collided with function names used in other libs. I gave these macros a unique name to avoid that. Based on Andi Jahja's patch. Thank you. * include/*.ch * formatting (except std.ch) * contrib/xhb/hbcompat.ch ! minor fix to prev * include/harbour.hbx ! minor fix * contrib/gtwvg/hbgtwvg.ch * contrib/hbblink/hbblink.ch * contrib/hbcairo/hbcairo.ch * contrib/hbct/ct.ch * contrib/hbct/ctdisk.ch * contrib/hbct/ctvideo.ch * contrib/hbfimage/freeimag.ch * contrib/hbmxml/hbmxml.ch * contrib/hbnf/any2any.prg * contrib/hbnf/d2e.prg * contrib/hbtip/thtml.ch * contrib/hbtip/tip.ch * contrib/hbxpp/hbxpp.ch * contrib/hbzebra/hbzebra.ch * contrib/xhb/hbcompat.ch * contrib/xhb/hbdll.ch * contrib/xhb/hblog.ch * contrib/xhb/ttable.ch * extras/hbdoc/hbdoc.ch * extras/hbvpdf/hbvpdf.ch * utils/hbtest/rt_init.ch * minor cleanups/formatting 2012-11-08 16:02 UTC+0100 Viktor Szakats * contrib/hbmysql/tmysql.prg * contrib/hbnf/tests/test.prg * contrib/hbtip/cgi.prg * contrib/hbtip/tests/base64.prg * contrib/hbtip/tests/dbtohtml.prg * contrib/hbtip/tests/ftpadv.prg * contrib/hbtip/tests/httpadv.prg * contrib/hbtip/tests/tiptest.prg * contrib/hbtip/thtml.prg * contrib/rddads/tests/testmg.prg * extras/gfspell/spell.prg * extras/hbvpdf/hbvpdf.prg * extras/httpsrv/cgifunc.prg * extras/httpsrv/modules/tableservletdb.prg * extras/httpsrv/session.prg * extras/httpsrv/uhttpd.prg * utils/hbmk2/hbmk2.prg * minor cleanups * contrib/xhb/*.ch * formatted .ch files ! fixed SETLASTKEY() to be HB_SETLASTKEY() in xhb * contrib/hbtinymt/3rd/tinymt/tinymt.hbp - contrib/hbtinymt/3rd/tinymt/tinymt.hbx ! deleted .hbx file for 3rd lib and fixed not to generate it * extras/httpsrv/modules/tableservletdb.prg ! DEFAULT TO -> hb_default() 2012-11-08 14:59 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/src/rtl/rat.c ! fixed HB_RAT() to respect end range in the same way as in HB_AT() ; Warnings: 1) It's not backward compatible and may change the behavior of some code which expects that ranges are not strictly respected. If someone uses HB_RAT() with 4th parameter then he should check if above modification interacts with his code. The modification is significant only if 1st parameter is longer then 1 character. 2) xHarbour supports in its RAT() function 3rd and 4th parameters but their meaning is reverted then in HB_RAT() and they do not have any range checking so they are used in raw form accessing any memory addresses (even out of process memory area generating GPF in such case). It means that also above fix is not respected and may introduce the same incompatibilities in code which tires to use something like HB_RAT() with reverted 3rd and 4th parameters to emulate xHarbour RAT(). * harbour/src/rtl/rat.c % use 4th parameter of HB_RAT() function instead of creating temporary substring from 2nd parameter. * harbour/contrib/hbtinymt/3rd/tinymt/tinymt.hbx * regenerated (removed Id header) 2012-11-08 13:55 UTC+0100 Viktor Szakats * contrib/hbgd/doc/en/hbgd.txt * contrib/hbgd/gdimage.prg * cleanups related to no longer needed "destroy" code * GDImage:Destory() method deprecated with HB_LEGACY_LEVEL4 2012-11-08 10:52 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/src/rtl/rat.c ! fixed HB_RAT() used with 3rd and/or 4th parameter and multibyte CPs * harbour/contrib/hbct/disk.c + enabled NUMDISKL() in OpenWatcom DOS builds % extract string length in the same STR API call instead of using additional hb_parclen() * added real protection for buffer overflow in windows version of TRUENAME(). I do not know if it's really necessary but without the code which allocates one byte bigger buffer does not make any sense. ; FIXME: this code still uses HB_TCHAR_*() macros [DONE] 2012-11-07 16:55 UTC+0100 Viktor Szakats * config/postinst.hb * utils/hbmk2/hbmk2.prg % do not generate SVN ID comments into .hbx files * contrib/gtwvg/gtwvg.hbx * contrib/hbamf/hbamf.hbx * contrib/hbblat/hbblat.hbx * contrib/hbblink/hbblink.hbx * contrib/hbbz2/hbbz2.hbx * contrib/hbcairo/hbcairo.hbx * contrib/hbcomm/hbcomm.hbx * contrib/hbct/hbct.hbx * contrib/hbcups/hbcups.hbx * contrib/hbcurl/hbcurl.hbx * contrib/hbexpat/hbexpat.hbx * contrib/hbfbird/hbfbird.hbx * contrib/hbfimage/hbfimage.hbx * contrib/hbformat/hbformat.hbx * contrib/hbfoxpro/hbfoxpro.hbx * contrib/hbfship/hbfship.hbx * contrib/hbgd/hbgd.hbx * contrib/hbgs/hbgs.hbx * contrib/hbgt/hbgt.hbx * contrib/hbhpdf/hbhpdf.hbx * contrib/hbhttpd/hbhttpd.hbx * contrib/hblzf/hblzf.hbx * contrib/hbmagic/hbmagic.hbx * contrib/hbmemio/hbmemio.hbx * contrib/hbmisc/hbmisc.hbx * contrib/hbmlzo/hbmlzo.hbx * contrib/hbmxml/hbmxml.hbx * contrib/hbmysql/hbmysql.hbx * contrib/hbmzip/hbmzip.hbx * contrib/hbnetio/hbnetio.hbx * contrib/hbnf/hbnf.hbx * contrib/hbodbc/hbodbc.hbx * contrib/hboslib/hboslib.hbx * contrib/hbpgsql/hbpgsql.hbx * contrib/hbsms/hbsms.hbx * contrib/hbsqlit3/hbsqlit3.hbx * contrib/hbssl/hbssl.hbx * contrib/hbtinymt/hbtinymt.hbx * contrib/hbtip/hbtip.hbx * contrib/hbtpathy/hbtpathy.hbx * contrib/hbunix/hbunix.hbx * contrib/hbwin/hbwin.hbx * contrib/hbxdiff/hbxdiff.hbx * contrib/hbxpp/hbxpp.hbx * contrib/hbzebra/hbzebra.hbx * contrib/hbziparc/hbziparc.hbx * contrib/rddads/rddads.hbx * contrib/xhb/xhb.hbx * extras/gtwvw/gtwvw.hbx * extras/hbusb/hbusb.hbx * extras/hbvpdf/hbvpdf.hbx * extras/hbxlsxml/hbxlsxml.hbx * include/harbour.hbx * include/hbcpage.hbx * include/hblang.hbx * include/hbscalar.hbx * include/hbusrrdd.hbx * deleted SVN ID comments 2012-11-07 16:21 UTC+0100 Viktor Szakats * extras/gtwvw/tests/wvt2wvw.ch * formatting + extras/gtwvw/gtwvw.hbx * extras/gtwvw/gtwvw.hbp + added .hbx file + extras/hbvpdf/hbvpdf.hbx * extras/hbvpdf/hbvpdf.hbp * extras/hbvpdf/hbvpdf.prg * extras/hbvpdf/hbvpsup.prg + added .hbx file * renamed internal function + extras/hbxlsxml/hbxlsxml.hbx * extras/hbxlsxml/hbxlsxml.hbp * extras/hbxlsxml/xlsxml_s.prg * extras/hbxlsxml/xlsxml_y.prg * extras/hbxlsxml/xlsxml.prg + added formatted .hbx file % some internal functions made STATIC * one function name translated to English 2012-11-07 15:55 UTC+0100 Viktor Szakats * contrib/hbzebra/qrcode.c * pacify an msvc 2010 warning (possibly a C compiler issue) 2012-11-07 15:18 UTC+0100 Viktor Szakats * contrib/hbmxml/format.prg * contrib/hbmxml/hbmxml.hbx ! minor correction (regression) 2012-11-07 12:52 UTC+0100 Viktor Szakats * contrib/hbct/tests/*.prg ! applied casing to commented function names 2012-11-07 12:29 UTC+0100 Viktor Szakats * contrib/hbformat/hbfuncs.prg * utils/hbmk2/hbmk2.prg % Use HB_DIRSCAN() * src/vm/fm.c * applied some more uncrustify fixes 2012-11-07 12:18 UTC+0100 Viktor Szakats * contrib/hbnf/dispmsg.prg * contrib/hbnf/tests/dispmsg.prg * extras/httpsrv/cgifunc.prg * extras/httpsrv/cookie.prg * extras/httpsrv/session.prg * extras/httpsrv/uhttpd.prg * cleanups 2012-11-07 11:59 UTC+0100 Viktor Szakats * src/rtl/dirscan.prg + HB_DIRSCAN(): more strict check on parameters to avoid RTEs % HB_DIRSCAN(): minor optimizations * bin/find.hb % Use HB_DIRSCAN() * include/harbour.hbx * src/rtl/hbfilehi.prg + added HB_DIRSEPTOOS( <cDir> ) -> <cDirWithNativeDirSeps> * bin/find.hb * config/postinst.hb * contrib/make.hb * Use HB_DIRSEPTOOS() instead of locally rolled copy 2012-11-07 11:12 UTC+0100 Viktor Szakats * contrib/hbblink/hbblink.hbx * found original sources and formatted Blinker compatibility functions, too * contrib/hbblink/blinker.prg * hbformatted source (automatic) * contrib/hbnf/tests/mouse1.prg * minor 2012-11-07 04:26 UTC+0100 Viktor Szakats * contrib/hbformat/hbfuncs.prg * minor cleanup to how contrib .hbx parsing is optimized out. 2012-11-07 04:18 UTC+0100 Viktor Szakats * extras/httpsrv/cgifunc.prg * extras/httpsrv/modules/tableservletdb.prg * extras/httpsrv/session.prg * extras/httpsrv/uhttpd.hbp * extras/httpsrv/uhttpd.prg * extras/httpsrv/uhttpdgd.hbp * extras/rddado/adordd.prg * formatted ! some commented code converted to #if 0/#endif block % changed to use hbnf lib instead of keeping multiple copies of hbnf functions locally * minor cleanup in hbmk2 lib parameters 2012-11-07 03:28 UTC+0100 Viktor Szakats * contrib/hbnf/hbnf.hbx * contrib/hbodbc/hbodbc.hbx * contrib/hbtip/hbtip.hbx * contrib/hbtpathy/hbtpathy.hbx * contrib/xhb/xhb.hbx ! minor fixes * contrib/hblzf/tests/*.prg * contrib/hbmxml/format.prg * contrib/hbmysql/tests/test.prg * contrib/hbmysql/tmysql.prg * contrib/hbmysql/tsqlbrw.prg * contrib/hbnetio/netiomt.prg * contrib/hbnetio/utils/hbnetio/*.prg * contrib/hbnf/*.prg * contrib/hbnf/tests/*.prg * contrib/hbodbc/tests/testodbc.prg * contrib/hbodbc/todbc.prg * contrib/hbpgsql/tests/*.prg * contrib/hbpgsql/tpostgre.prg * contrib/hbssl/tests/*.prg * contrib/hbtip/*.prg * contrib/hbtip/tests/*.prg * contrib/hbtpathy/telepath.prg * contrib/hbzebra/tests/*.prg * contrib/rddads/tests/*.prg * contrib/xhb/*.prg * contrib/xhb/tests/*.prg * formatted ! commented code converted to #if 0/#endif block 2012-11-07 03:05 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/src/vm/fm.c * harbour/src/vm/dlmalloc.c * updated dlmalloc to version 2.8.6 * harbour/src/compiler/hbdead.c * minor 2012-11-07 01:56 UTC+0100 Viktor Szakats * config/postinst.hb * renamed harbour.hbr to contrib.hbr * contrib/hbformat/hbfmtcls.prg % minor optimizations ! added workaround for RTE while processing contrib/hbhttpd/core.prg (previously reported) * contrib/hbhttpd/hbhttpd.hbx * minor sync to actual casing used in code * contrib/hbhttpd/core.prg * hbformatted (only one sections gives problems due to reported issue) 2012-11-07 00:36 UTC+0100 Viktor Szakats * contrib/hbct/hbct.hbx * contrib/hbfbird/hbfbird.hbx * contrib/hbgd/hbgd.hbx * minor fixes * contrib/hbamf/hbamfobj.prg * contrib/hbamf/tests/tstendin.prg * contrib/hbblat/blatcls.prg * contrib/hbblat/tests/blatcmd.prg * contrib/hbbz2/tests/test.prg * contrib/hbct/tests/*.prg * contrib/hbfbird/tfirebrd.prg * contrib/hbfimage/tests/fitest.prg * contrib/hbgd/*.prg * contrib/hbgd/tests/*.prg * contrib/hbmisc/*.prg * contrib/hbmisc/tests/*.prg * reformatted ! commented code deleted or converted to #if 0/#endif block 2012-11-06 22:33 UTC+0100 Viktor Szakats * contrib/gtwvg/combobox.prg * contrib/gtwvg/listbox.prg * contrib/gtwvg/mle.prg * contrib/gtwvg/sle.prg * contrib/gtwvg/statbar.prg * contrib/gtwvg/toolbar.prg ! fixed some casing wrongly uppercased by hbformat in the past. 2012-11-06 22:16 UTC+0100 Viktor Szakats * contrib/hbformat/hbfmtcls.prg * made two code lines more hbformat friendly * contrib/gtwvg/gtwvg.hbx * contrib/xhb/xhb.hbx * fixes * contrib/gtwvg/*.prg * contrib/gtwvg/tests/*.prg * hbformatted. lib code almost fully automatically after adding few code tweaks. 2012-11-06 21:38 UTC+0100 Viktor Szakats * contrib/gtwvg/gtwvg.hbx * cleanups * ChangeLog ! missed this entry from prev patch: * contrib/hbformat/hbfmtcls.prg + Committed Maurizio's latest patch (#5) Many thanks for this great work to Maurizio. It resolves a great number of problems. * contrib/hbformat/hbfmtcls.prg ! fix for line ending spaces remaining after formatting * fixed few formatting for the recent patch * contrib/hbformat/hbformat.hbx * formatted new function name 2012-11-06 21:31 UTC+0100 Viktor Szakats * contrib/hbformat/hbfuncs.prg ! fixed typo in processing names from .hbr 2012-11-06 21:18 UTC+0100 Viktor Szakats * contrib/hbct/hbct.hbx * minor cleanup * contrib/hbformat/hbfmtcls.prg + Committed Maurizio's latest patch (#5) Many thanks for this great work to Maurizio. It resolves a great number of problems. + contrib/hbformat/hbfuncs.prg * contrib/hbformat/hbfmtcls.prg * contrib/hbformat/hbformat.hbp * contrib/hbformat/hbformat.hbx * moved function name loading functions to separate file + proper cased function names will now be loaded from .hbr files and /contrib and /addons folder structures automatically. 2012-11-06 20:08 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + hbmk2 will now read *.hbr for function/lib pairs instead of only hbmk2.hbr * config/postinst.hb * renamed hbmk2.hbr to harbour.hbr * INSTALL + added table of content (experimental) 2012-11-06 19:29 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg * minor internal cleanup 2012-11-06 19:03 UTC+0100 Viktor Szakats * contrib/gtwvg/gtwvg.hbx * contrib/hbct/hbct.hbx + formatted function names in .hbx files * contrib/gtwvg/gtwvg.c * contrib/gtwvg/hbgtwvg.ch * contrib/gtwvg/wvgcore.c * contrib/gtwvg/wvgcuig.c * contrib/gtwvg/wvgparts.ch * contrib/gtwvg/wvgutils.c * contrib/gtwvg/wvgwin.c * contrib/gtwvg/wvgwing.c * contrib/gtwvg/wvtwin.ch * contrib/gtwvg/gtwvg.hbx * various formatting cleanups ! moved WVG_GTINFOEX() outside the GT code * excluded GT driver puller symbols from .hbx 2012-11-06 17:31 UTC+0100 Viktor Szakats * contrib/hbfimage/fi_winfu.c ! fixes to previous modification * contrib/hbpgsql/postgres.c * contrib/hbpgsql/tests/test.prg * contrib/hbpgsql/tpostgre.prg * renamed few functions that are not direct wrappers: PQCREATETRACE() -> PQTRACECREATE() INCOMPATIBLE. * contrib/hbnf/mouse.c * contrib/hbnf/mouse1.prg * renamed internal function: _mset_sensitive() -> _ft_MSetSensitive() * contrib/hbhttpd/hbhttpd.hbx * contrib/hblzf/hblzf.hbx * contrib/hbmlzo/hbmlzo.hbx * contrib/hbmxml/hbmxml.hbx * contrib/hbmysql/hbmysql.hbx * contrib/hbnf/hbnf.hbx * contrib/hbnetio/hbnetio.hbx * contrib/hbodbc/hbodbc.hbx * contrib/hbpgsql/hbpgsql.hbx * contrib/hbssl/hbssl.hbx * contrib/hbtip/hbtip.hbx * contrib/hbtpathy/hbtpathy.hbx * contrib/hbxdiff/hbxdiff.hbx * contrib/hbzebra/hbzebra.hbx * contrib/rddads/rddads.hbx * contrib/xhb/xhb.hbx + formatted function names in .hbx files 2012-11-06 10:58 UTC+0100 Viktor Szakats + contrib/gtwvg/gtwvg.hbx * contrib/gtwvg/gtwvg.hbp + added .hbx file for GTWVG * contrib/hbfimage/fi_winfu.c * contrib/hbfimage/fi_wrp.c * renamed two windows-only functions: FI_FITOBITMAP() -> FI_WINCONVTODIB() FI_BITMAPTOFI() -> FI_WINCONVFROMDIB() Effective now. INCOMPATIBLE. * contrib/hbamf/hbamf.hbx * contrib/hbblat/hbblat.hbx * contrib/hbbz2/hbbz2.hbx * contrib/hbfbird/hbfbird.hbx * contrib/hbfimage/hbfimage.hbx * contrib/hbformat/hbformat.hbx * contrib/hbfoxpro/hbfoxpro.hbx * contrib/hbgd/hbgd.hbx * contrib/hbmagic/hbmagic.hbx * contrib/hbmisc/hbmisc.hbx + formatted function names in .hbx files * contrib/hbgt/tests/test.prg * cleanup, function names reformatted * contrib/hbmagic/hbmagis.prg * contrib/hbmagic/tests/hbmagit.prg * function names reformatted * contrib/hbct/ctextern.ch * contrib/hbgd/gdextern.ch * contrib/hbxpp/hbxppext.ch * contrib/rddads/adsextrn.ch * contrib/xhb/xhbextrn.ch * deprecated these headers with HB_LEGACY_LEVEL4. instructions added to files about recommended method for replacement ('REQUEST ...'). 2012-11-06 09:33 UTC+0100 Viktor Szakats * src/macro/macrolex.c * src/main/harbour.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/*.c * src/rdd/hsx/hsx.c * src/rdd/usrrdd/usrrdd.c * src/rtl/*.c * src/rtl/gt_tpl/gt_tpl.c * src/rtl/gtcgi/gtcgi.c * src/rtl/gtcrs/gtcrs.c * src/rtl/gtcrs/gtcrs.h * 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/gtsln.h * src/rtl/gtsln/*.c * src/rtl/gtstd/gtstd.c * src/rtl/gttrm/gttrm.c * src/rtl/gtwin/gtwin.c * src/rtl/gtwvt/gtwvt.c * src/rtl/gtwvt/gtwvt.h * src/rtl/gtxwc/gtxwc.c * src/rtl/gtxwc/gtxwc.h * src/vm/*.c * src/vm/maindllp/dllext.c * src/vm/maindllp/dllpcode.c * manually applied a selection of uncrustify fixes, plus some manual cleanups. (mostly whitespace, generated code unchanged) * contrib/gtwvg/gtwvg.c * contrib/gtwvg/wvggui.c * contrib/hbct/ctwin.c * contrib/rddads/ads1.c * contrib/sddfb/sddfb.c * contrib/sddoci/sddoci.c * contrib/sddodbc/sddodbc.c * contrib/sddsqlt3/sddsqlt3.c * contrib/xhb/xhbcopyf.c * src/common/hbstr.c * src/compiler/*.y* * src/macro/macro.y* * more formatting cleanups 2012-11-06 07:32 UTC+0100 Viktor Szakats * contrib/hbtip/tests/loadhtml.prg * contrib/hbwin/tests/testax.prg * doc/gtapi.txt * src/rtl/mod.c * tests/wvtext.prg * minor cleanups 2012-11-06 05:54 UTC+0100 Viktor Szakats * contrib/hbexpat/hbexpat.hbx * contrib/hbwin/hbwin.hbx ! minor corrections to casing * contrib/hbformat/hbfmtcls.prg ! fixed typo in a recent commit * minor code cleanup * contrib/hbformat/utils/hbformat.prg * use hb_ntos() to display number * contrib/hbformat/utils/hbformat.ini * commented all settings * contrib/hbexpat/tests/tohash.prg * contrib/hbexpat/unitable.prg * contrib/hbgs/tests/testgs.prg * contrib/hbmzip/mziperr.prg * contrib/hbmzip/tests/*.prg * contrib/hbwin/tests/*.prg * contrib/hbwin/*.prg * contrib/hbziparc/*.prg * contrib/hbziparc/ziparc.prg * reformatted using new .hbx files 2012-11-06 04:22 UTC+0100 Viktor Szakats * contrib/hbcairo/hbcairo.hbx * contrib/hbcups/hbcups.hbx * contrib/hbcurl/hbcurl.hbx * contrib/hbexpat/hbexpat.hbx * contrib/hbfship/hbfship.hbx * contrib/hbgs/hbgs.hbx * contrib/hbhpdf/hbhpdf.hbx * contrib/hbmzip/hbmzip.hbx * contrib/hboslib/hboslib.hbx * contrib/hbsqlit3/hbsqlit3.hbx * contrib/hbunix/hbunix.hbx * contrib/hbwin/hbwin.hbx * contrib/hbxpp/hbxpp.hbx * contrib/hbziparc/hbziparc.hbx + formatted function names in .hbx files * contrib/hbexpat/core.c ! fixed typo in wrapper name: XML_PARSERRESET() (was HB_PARSERESET()) INCOMPATIBLE * contrib/hbwin/wapi_commctrl.c * fixed to use wapi function to return Windows BOOL type * contrib/hbunix/posix.c * minor 2012-11-06 04:14 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/contrib/hbmxml/3rd/minixml/mxml_nod.c ! applied once again fix for mxmlDelete() - respect reference counters It was lost in one of Mini-XML updates. It's extremely important fix. Without it our howl wrapper does not work correctly corrupting memory. Please keep it in next updates. * harbour/contrib/hbmxml/3rd/minixml/mxml.hbp * added URL for Mini-XML 2.7 source code + harbour/contrib/hbmxml/3rd/minixml/minixml.dif + added diff file created by hbmk2 ../../../../bin/3rdpatch.hb -rediff ; FIXME: We have in our repository mxml-set.c v. 426 instead of mxml-set.c v. 441 which is inside mxml-2.7.tar.gz. Why? [DONE by updating to 2.8] 2012-11-05 12:32 UTC+0100 Viktor Szakats * contrib/hbamf/tests/tstendin.prg * contrib/hbblat/blatcls.prg * contrib/hbct/tests/ctwtest.prg * contrib/hbct/tests/token2.prg * contrib/hbhttpd/readme.txt * contrib/hbhttpd/widgets.prg * contrib/hbmisc/fileread.prg * contrib/hbmisc/hbedit.prg * contrib/hbmysql/diff-en.txt * contrib/hbmysql/diff-es.txt * contrib/hbmysql/tests/dbf2mysq.prg * contrib/hbmysql/tmysql.prg * contrib/hbmysql/tsqlbrw.prg * contrib/hbnetio/tests/netiot03.prg * contrib/hbnetio/tests/netiotst.prg * contrib/hbnf/doc/en/fttext.txt * contrib/hbodbc/browodbc.prg * contrib/hbodbc/tests/odbcdemo.prg * contrib/hbodbc/todbc.prg * contrib/hbtip/ftpcli.prg * contrib/hbwin/tests/olesrv1.prg * contrib/rddads/ads.ch * contrib/rddsql/readme.txt * contrib/sddodbc/tests/test2.prg * contrib/xhb/dbf2txt.c * contrib/xhb/hbcompat.ch * contrib/xhb/hblog.prg * contrib/xhb/html.ch * contrib/xhb/tfile.prg * contrib/xhb/tframe.prg * contrib/xhb/ttable.prg * ChangeLog * doc/en/dbdelim.txt * doc/en/dbsdf.txt * doc/en/rdddb.txt * doc/en/terminal.txt * extras/gtwvw/tests/wvt2wvw.ch * extras/httpsrv/cookie.prg * extras/httpsrv/modules/tableservletdb.prg * extras/rddado/adordd.ch * extras/rddado/adordd.prg * include/assert.ch * include/hbsix.ch * src/debug/dbgbrwsr.prg * src/debug/dbgtinp.prg * src/rdd/*.prg * src/rtl/*.prg * tests/*.prg * tests/rddtest/rddtst.prg * tests/usrrdd/exarr.prg * tests/usrrdd/exfcm.prg * utils/hbtest/hbtest.prg * more minor 2012-11-05 03:23 UTC+0100 Viktor Szakats * contrib/gtwvg/*.prg * contrib/gtwvg/tests/*.prg * contrib/hbct/fcopy.prg * contrib/hbgd/gdimage.prg * contrib/hbhttpd/core.prg * contrib/hbhttpd/tests/eshop.prg * contrib/hbmysql/tests/test.prg * contrib/hbmysql/tmysql.prg * contrib/hbmzip/tests/*.prg * contrib/hbnetio/netiomt.prg * contrib/hbnf/popadder.prg * contrib/hbsqlit3/hdbcsqlt.prg * contrib/hbwin/tests/*.prg * contrib/hbwin/win_tprn.prg * contrib/hbxpp/tthreadx.prg * contrib/hbziparc/ziparc.prg * contrib/xhb/*.prg * extras/gfspell/spell.prg * extras/gtwvw/tests/*.prg * extras/guestbk/testcgi.prg * extras/hbvpdf/hbvpdf.prg * extras/hbxlsxml/*.prg * extras/httpsrv/*.prg * extras/httpsrv/modules/showcounter.prg * src/debug/*.prg * src/rdd/*.prg * src/rdd/hbsix/*.prg * src/rdd/usrrdd/rdds/*.prg * src/rtl/*.prg * tests/*.prg * utils/hbtest/*.prg * website/samples/testcgi.prg.html * minor 2012-11-05 02:22 UTC+0100 Viktor Szakats * extras/gfspell/*.c * extras/gtwvw/*.[c|h] * extras/hbusb/*.c * uncrustified automatically (rerun with new settings) ! fixed some code/comments causing problems 2012-11-05 01:03 UTC+0100 Viktor Szakats + contrib/hbtip/tests/gmail.hbp + added hbmk2 project for gmail.prg (picked up automatically when using 'hbmk2 gmail' cmd) * config/global.mk ! fixed to not display 'autodetected' for HB_COMPILER if it's set by the user * contrib/hbgs/core.c % deleted unnecessary parenthesis * config/global.mk * utils/hbmk2/hbmk2.prg + added autodetection for mingw 4.7 versions * contrib/hbmisc/doc/en/ht_dbf.txt ! deleted broken and misplaced formatting tag * src/common/*.c * src/compiler/*.c * src/debug/*.c * src/nortl/*.c * src/pp/*.c * applied some uncrustify formatting 2012-11-04 21:34 UTC+0100 Viktor Szakats * contrib/hbgd/gdwrp.c * contrib/hbgd/tests/animgif.prg * contrib/hbgd/tests/antialia.prg * contrib/hbgd/tests/gdtest.prg * contrib/hbgd/tests/test.prg * contrib/hbgd/tests/tpoly.prg * deprecated GDIMAGEDESTROY() with HB_LEGACY_LEVEL4 * do not use GDIMAGEDESTROY() in tests (and docs) * contrib/hbgt/hbgt.hbx * camelcased function names * contrib/hbct/doc/en/charlihb.txt * contrib/hbct/doc/en/charmix.txt * contrib/hbct/doc/en/charop.txt * contrib/hbct/doc/en/charophb.txt * contrib/hbct/doc/en/ctmath2.txt * contrib/hbct/doc/en/dattime3.txt * contrib/hbct/doc/en/finan.txt * contrib/hbct/doc/en/tab.txt * contrib/hbct/doc/en/token1.txt * contrib/hbct/doc/en/token2.txt * contrib/hbct/doc/en/trig.txt * contrib/hbct/doc/en/video.txt * contrib/hbgd/doc/en/hbgd.txt * contrib/hbgt/doc/en/hbgt.txt * contrib/hbmisc/doc/en/ht_dbf.txt * contrib/hbmisc/doc/en/ht_doc.txt * contrib/hbnf/doc/en/*.txt * contrib/hbziparc/doc/en/hbziparc.txt * contrib/rddads/doc/en/adsfuncs.txt ! hbformatted $EXAMPLES$, $TESTS$ (manual cherry picking and additional corrections and fixes) 2012-11-04 17:48 UTC+0100 Viktor Szakats * contrib/hbct/*.[c|h] * contrib/hbmemio/*.[c|h] * contrib/hbnetio/*.[c|h] * contrib/rddads/*.[c|h] * contrib/rddbm/*.[c|h] * cherry picked uncrustify formattings * contrib/rddsql/*.[c|h] * contrib/sddfb/*.[c|h] * contrib/sddmy/*.[c|h] * contrib/sddodbc/*.[c|h] * contrib/sddpg/*.[c|h] * uncrustified automatically (rerun with new settings) * contrib/sddoci/*.[c|h] * contrib/sddsqlt3/*.[c|h] * uncrustified automatically ; most contrib C code is now automatically formatted. exceptions: hbct, hbmemio, hbnetio, rddads, rddbm, hbwin, xhb, hbzebra, hbexpat, hbssl. 2012-11-04 15:34 UTC+0100 Viktor Szakats * contrib/hbnf/tests/tbwhile.prg ! fixed for case-sensitive file systems 2012-11-04 15:12 UTC+0100 Viktor Szakats * contrib/hbhttpd/tests/eshop.prg * contrib/hbnf/tests/tbwhile.prg * contrib/xhb/ttable.prg * tests/testcdx.prg * tests/testrdd2.prg ! use HB_DBEXISTS()/HB_DBDROP() instead of HB_FILEEXISTS() and FERASE() for RDD files. 2012-11-04 14:52 UTC+0100 Viktor Szakats * ChangeLog * minor updated to prev entries * contrib/hbhttpd/hbhttpd.hbp * contrib/hbtip/hbtip.hbp * minor formatting 2012-11-04 14:41 UTC+0100 Viktor Szakats * bin/find.hb * config/postinst.hb * utils/hbmk2/hbmk2.prg + missed to extract __HBEXTERN__* puller symbols from hbx file when assembling the list of public functions * utils/hbmk2/hbmk2.prg * only process stderr output for hints - disabled experimental library hinting feature. It hid the error output, which is not very desirable. I wonder if there is a way to channel a copy of the combined stderr/stdout output into a string, while letting them go to stderr/stdout also. * contrib/hbssl/hbssl.hbc + new HB_DYNBIND_OPENSSL .hbc option to dynamically bind hbssl library and its dependencies. - contrib/hbtip/hbtip.hbm - contrib/hbtip/hbtipssl.hbp * contrib/hbplist * contrib/hbtip/hbtip.hbc * contrib/hbtip/hbtip.hbp * contrib/hbtip/client.prg * contrib/hbtip/sendmail.prg * contrib/hbtip/tests/gmail.prg + changed the way SSL is supported in HBTIP. Now SSL functionality is dynamically enabled at runtime if HBSSL library is available. Static app will need to use 'REQUEST __HBEXTERN__HBSSL__' to force linkage. For scripts, add both '#require "hbssl"' and '#require "hbtip"'. Experimental. It simplifies build process, cleans all problems arising from having two different physical flavors of the same library. INCOMPATIBLE. - contrib/hbhttpd/hbhttpds.hbp * contrib/hbhttpd/core.prg * contrib/hbhttpd/hbhttpd.hbc * contrib/hbhttpd/hbhttpd.hbp * contrib/hbhttpd/tests/eshop.prg * contrib/hbhttpd/tests/hbmk.hbm * contrib/hbplist + changed the way SSL is supported in HBTIP. Now SSL functionality is dynamically enabled at runtime if HBSSL library is available. Static app will need to use 'REQUEST __HBEXTERN__HBSSL__' to force linkage. For scripts, add both '#require "hbssl"' and '#require "hbhttpd"'. Experimental. INCOMPATIBLE. + eshop.prg can now be run as hbrun script. ! fixed double pathsep in compile_file() causing server RTE when run as script * contrib/hbformat/utils/hbformat.prg + added #request so it now can be run as script * contrib/hbformat/hbfmtcls.prg + added two new methods to be able to format strings (as opposed to files). % optimized source loader to not load the file twice * doc/en/*.txt * hbformatted $EXAMPLES$, $TESTS$ (manual cherry picking) latest patched hbformat has an issue (reported) where it doesn't format when outside FUNC/PROC, these small code snippets are usually like that, so it causes a problem here. * contrib/gtwvg/*.c * run uncrustify again with the new settings (except on GTWVT derived code) * contrib/hbwin/*.[c|h] * cherry picked uncrustify formatting fixes 2012-11-03 19:22 UTC+0100 Viktor Szakats * src/pp/hbpp.c ! bumped copyright year to 2012 2012-11-02 19:47 UTC+0100 Viktor Szakats * config/postinst.hb + compile list of all available contrib functions (into a file named 'hbmk2.hbr'), so hbmk2 can use it for hints for libs, even if they are not built/installed on the user's system. * utils/hbmk2/hbmk2.prg * tweaked the hint message for not installed packages ! fixed new strings not marked as translatable * package/winuni/mpkg_win_uni.bat * package/winuni/mpkg_win_uni.nsi * include .hbr files in winuni packages * contrib/xhb/xdbmodst.prg * contrib/xhb/xhbmemo.prg * contrib/hbct/disk.c * contrib/hbct/doc/en/dattime3.txt * contrib/hbct/doc/en/video.txt * extras/hbxlsxml/tests/*.prg * extras/hbxlsxml/*.prg * src/debug/dbgentry.c * minor cleanups 2012-11-02 18:13 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg ! fixed to use proper harbour root for finding missing function ! fixed to find missing functions regardless of casing ! fixed recent bug in the value of {HB_ADDONS} macro on *nix systems in certain configurations * cleanups to prev commits 2012-11-02 16:18 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg ! minor follow up, fixing to hint function names starting with an underscore 2012-11-02 16:09 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + added experimental feature, which will hint .hbc and -l options based on list of missing symbols at link time. It will hint components that reside in contrib and addons components, given that they provide an .hbx file. * bin/find.hb * minor cleanups 2012-11-02 13:41 UTC+0100 Viktor Szakats * bin/find.hb + only look for hbx files in 'include', 'contrib' and 'addons' subdirs, in that order. 2012-11-02 13:09 UTC+0100 Viktor Szakats * contrib/hbexpat/*.[c|h] * contrib/hbzebra/*.[c|h] * cherry picked some fixes from uncrustified code 2012-11-02 12:10 UTC+0100 Viktor Szakats * bin/find.hb + added support for multiple symbols at one run, e.g.: hbrun bin/find PRINTERPORTTONAME HB_EOL CLEAREOL ! show .hbx filenames with native pathseps * src/rdd/dbfcdx/dbfcdx1.c * src/rdd/dbfnsx/dbfnsx1.c * src/rdd/hbsix/sxcompr.c * src/rtl/gtpca/gtpca.c * src/rtl/gtsln/gtsln.c * src/rtl/gttrm/gttrm.c * src/rtl/hblpp.c * 'for( ; ; )' -> '( ;; )' 2012-11-01 18:12 UTC+0100 Viktor Szakats * contrib/hbxpp/xppopc.c * contrib/xhb/xcstr.prg * contrib/xhb/xhbmsgs.c * extras/hbdoc/hbdoc.prg * extras/hbdoc/tmplates.prg * utils/hbmk2/hbmk2.prg * avoid #undef * ChangeLog * added missing change to prev: * src/common/hbver.c * use {;} for empty loop body ; TODO: Use one common syntax for empty blocks. Harbour currently uses these: {}, { ; }, {;}, {};, ; DECISION: -> ';' indented in new line: --- for( ... ) ; --- [DONE] 2012-11-01 17:41 UTC+0100 Viktor Szakats * ChangeLog 2012-11-01 17:33 UTC+0100 Viktor Szakats * contrib/gtwvg/tests/demowvg.prg * contrib/gtwvg/tests/wvtcls.prg * contrib/hbct/tests/datetime.prg * contrib/hbmisc/hbedit.prg * contrib/hbnf/clrsel.prg * contrib/hbnf/doc/en/prtesc.txt * contrib/hbnf/doc/en/scregion.txt * contrib/hbnf/doc/en/video1.txt * contrib/hbnf/tests/metaph.prg * contrib/xhb/trpc.prg * src/rtl/gtchrmap.c * tests/dttest.prg * tests/mousetst.prg * tests/sbartest.prg * deleted unnecessary leading zeros from decimal numbers * minor formatting and cleanups in docs * use ANSI dates * src/common/hbver.c * use {;} for empty loop body ; TODO: Use one common syntax for empty blocks. Harbour currently uses these: {}, { ; }, {;}, {};, ; 2012-11-01 16:04 UTC+0100 Viktor Szakats * contrib/hbexpat/core.c * minor change to avoid uncrustify formatting a tricky macro * contrib/hbfship/*.[c|h] * contrib/hbmysql/*.[c|h] * contrib/hbmzip/*.[c|h] * contrib/hbsqlit3/*.[c|h] * contrib/hbssl/*.[c|h] (with some exceptions) * contrib/hbxpp/*.[c|h] * contrib/xhb/*.[c|h] (with some exceptions) * uncrustified * minor manual corrections before and after 2012-11-01 12:52 UTC+0100 Viktor Szakats * contrib/hbcups/*.[c|h] * contrib/hbcurl/*.[c|h] * contrib/hbdroid/*.[c|h] * contrib/hbfbird/*.[c|h] * contrib/hbfimage/*.[c|h] * contrib/hbgd/*.[c|h] * contrib/hbgs/*.[c|h] * contrib/hbgt/*.[c|h] * contrib/hbhpdf/*.[c|h] * contrib/hblzf/*.[c|h] * contrib/hbmagic/*.[c|h] * contrib/hbmisc/*.[c|h] * contrib/hbmlzo/*.[c|h] * contrib/hbmxml/*.[c|h] * contrib/hbodbc/*.[c|h] * contrib/hbpgsql/*.[c|h] * contrib/hbtip/*.[c|h] * contrib/hbxdiff/*.[c|h] * uncrustified 2012-10-31 22:00 UTC+0100 Viktor Szakats * src/rtl/hbadler.c * src/rtl/sha1.c * avoid ';' after {} blocks after previous modifications. ; Please review me 2012-10-31 21:22 UTC+0100 Viktor Szakats * contrib/gtwvg/gtwvg.c * contrib/gtwvg/wvggui.c * contrib/hbmemio/memio.c * contrib/hbnetio/netiocli.c * src/rtl/gtwvt/gtwvt.c * do not end macros with ';' to avoid uncrustify warning and wrong formatting as a consequence ; QUESTION: There is conditional macros having the same issue in hsx.c and gtxwc.c. Is the inactive branch still or ever needed there or can it be deleted? 2012-10-31 21:08 UTC+0100 Viktor Szakats * contrib/gtalleg/gtalleg.c + cleaned multiline macro to be more readable and to be friendly with uncrustify. Now reformatting won't change it. 2012-10-31 20:57 UTC+0100 Viktor Szakats * contrib/gtalleg/*.[c|h] * contrib/hbamf/*.[c|h] * contrib/hbbz2/*.[c|h] * contrib/hbcairo/*.[c|h] * uncrustified. pretty good results, without any or very minimal manual touching up. * src/vm/classes.c * src/vm/dynsym.c * src/vm/garbage.c * reverted patch targeting macros ending with ';' where it could cause double ';' in final source when the macro is defined to an empty value. * src/debug/dbgentry.c % deleted inactive code for non-MT build mode. 2012-10-31 18:54 UTC+0100 Viktor Szakats - config/hb_c.cfg + bin/harbour.ucf * renamed and moved to public dir * config/postinst.hb + added find.hb to the installed files + added harbour.ucf to the installed file * package/winuni/mpkg_win_uni.bat * package/winuni/mpkg_win_uni.nsi + added harbour.ucf to files included in winuni distro ! fixed missing bin/*.hb scripts in .7z winuni archive 2012-10-31 18:20 UTC+0100 Viktor Szakats * tests/gfx.prg + changed do display GT name on screen rather than to stdout 2012-10-31 17:30 UTC+0100 Viktor Szakats * INSTALL * package/harbour.rb * package/mpkg_src_nightly.sh * package/mpkg_win_nightly.bat * package/updt_web_nightly.sh * website/changelog.html * website/faq/harbour17.html * website/faq/harbour27.html * website/index.html * website/menu/harbour-menu.js * reverted all changes regarding new repo address * contrib/hbformat/hbfmtcls.prg * reverted accidentally committed Maurizio's patch, and left only the few minor changes regarding 'ALWAYS' indentation and external HBX support. * contrib/gtwvg/activex.prg * contrib/gtwvg/tests/activex.prg * contrib/gtwvg/tests/cuigdlgs.prg * contrib/gtwvg/tests/demowvg.prg * contrib/gtwvg/tests/demowvg1.prg * contrib/gtwvg/tests/demoxbp.prg * contrib/gtwvg/tests/dyndlgs.prg * contrib/gtwvg/tests/modal.prg * contrib/gtwvg/tests/tbrowser.prg * contrib/gtwvg/tests/utils.prg * contrib/gtwvg/tests/wvtcls.prg * contrib/gtwvg/tests/xbp.prg * minor follow ups * changed string delimiters to " 2012-10-31 13:25 UTC+0200 Viktor Szakats * include/harbour.hbx * fixes/changes to some function names * config/hb_c.cfg + updated to do better vertical aligment in structs, var declarations and assignments ; TODO: move this to /bin folder and add to 'install'-ed file list, rename to 'harbour.ucf' [DONE] * src/debug/*.prg * src/rdd/*.prg * src/rdd/hbsix/*.prg * src/rdd/usrrdd/rdds/*.prg * src/rtl/*.prg * src/vm/*.prg * utils/hbi18n/hbi18n.prg * utils/hbmk2/hbmk2.prg * utils/hbmk2/examples/*.hb * contrib/hbblat/blatcls.prg * contrib/gtwvg/*.prg * contrib/gtwvg/tests/*.prg * contrib/hbblink/*.prg * contrib/hbcairo/tests/*.prg * contrib/hbcomm/*.prg * contrib/hbcomm/tests/*.prg * contrib/hbcups/tests/*.prg * contrib/hbcurl/tests/*.prg * contrib/hbexpat/*.prg * contrib/hbexpat/tests/*.prg * contrib/hbfbird/*.prg * contrib/hbfbird/tests/*.prg * contrib/hbfoxpro/*.prg * contrib/hbfship/*.prg * contrib/hbgd/*.prg * contrib/hbgd/tests/*.prg * contrib/hbgs/tests/*.prg * contrib/hbhpdf/*.prg * contrib/hbhpdf/tests/*.prg * contrib/hbhttpd/*.prg * contrib/hbhttpd/tests/*.prg * contrib/hblzf/tests/*.prg * contrib/hbmagic/tests/*.prg * contrib/hbmisc/*.prg * contrib/hbmisc/tests/*.prg * contrib/hbct/*.prg * contrib/hbct/tests/*.prg * contrib/hbmlzo/tests/*.prg * contrib/hbmxml/*.prg * contrib/hbmxml/tests/*.prg * contrib/hbmysql/*.prg * contrib/hbmysql/tests/*.prg * contrib/hboslib/*.prg * contrib/hbsms/*.prg * contrib/hbtinymt/tests/*.prg * contrib/hbtpathy/*.prg * contrib/hbtpathy/tests/*.prg * contrib/hbunix/tests/*.prg * contrib/hbxdiff/tests/*.prg * contrib/hbzebra/tests/*.prg * contrib/hbziparc/*.prg * contrib/hbziparc/tests/*.prg * contrib/rddads/*.prg * contrib/rddads/tests/*.prg * contrib/hbodbc/*.prg * contrib/hbodbc/tests/*.prg * contrib/hbpgsql/*.prg * contrib/hbpgsql/tests/*.prg * contrib/hbsqlit3/*.prg * contrib/hbsqlit3/tests/*.prg * contrib/hbwin/*.prg * contrib/hbwin/tests/*.prg * contrib/hbxpp/*.prg * contrib/hbxpp/tests/*.prg * contrib/hbxhb/*.prg * contrib/hbxhb/tests/*.prg * contrib/hbnetio/*.prg * contrib/hbnetio/utils/hbnetio/*.hb * contrib/hbnetio/utils/hbnetio/*.prg * contrib/hbtip/*.prg * contrib/hbtip/tests/*.prg * tests/usrrdd/*.prg * tests/funcarr.prg * extras/gfspell/spell.prg * extras/gtwvw/tests/*.prg * extras/guestbk/*.prg * extras/hbdoc/*.prg * extras/rddado/*.prg * extras/rddado/tests/*.prg * extras/hbxlsxml/*.prg * extras/httpsrv/*.prg * extras/httpsrv/modules/*.prg * extras/hbsuper/*.prg * extras/hbvpdf/*.prg * extras/hbvpdf/tests/*.prg * tests/*.prg (except some which are well formatted but in different/fast-typing style) * tests/*.hb * bin/*.hb * contrib/*.hb * config/*.hb * some manual formatting to better be able to verify changes made by hbformat and be friendlier with hbformat. * most files reformatted with hbformat using Maurizio's patch, with mostly minor manual corrections and verification. All hbformat changes for revised one-by-one. ! __DIR(): fixed to be unicode compatible ! __hbdoc_ToSource(): make sure to not generate line ending spaces in output. + hbmk2/hbrun: HBMK_WITH_GTXWC built-time option to include GTXWC. Useful for hbrun. * hbct tests: change to not use [] as string delimiter + added full prototypes to Array class declaration ; NOTE: Only these were not or not fully formatted: contrib/hbnetio/tests/*.prg tests/hbpptest/*.prg tests/mt/*.prg tests/multifnc/*.prg tests/rddtest/*.prg utils/hbmk2/hbmk2.prg (for the most part) src/rtl/tbrowse.prg (for the most part) utils/hbtest/*.prg *.ch, *.c, *.h * src/rtl/cdpapi.c * src/rtl/hbadler.c * src/rtl/hbsocket.c * src/rtl/sha1.c * src/vm/classes.c * src/vm/dynsym.c * src/vm/garbage.c * src/debug/dbgentry.c * do not end macros with ';' to avoid uncrustify warning and wrong formatting as a consequence * src/compiler/cmdcheck.c * minor changes for uncrustify-friendliness * contrib/hbformat/utils/hbfmtcls.prg * contrib/hbformat/utils/hbformat.prg % optimizations in hbformat.prg ! fixed mask/filename handling to be multiplatform in hbformat.prg + added 'HBXList=' hbformat.ini parameter allowing to add any .hbx file for proper function name casing. ! fixed progress bar to display correctly * tests/speedstr.prg ! fixed to run as intended in unicode code * hbformatted - contrib/hbwin/tests/dlg.xml * contrib/hbwin/tests/dlg.rc - extras/gtwvw/tests/wvwtest9.xml + extras/gtwvw/tests/wvwtest9.mft * extras/gtwvw/tests/wvwtest9.rc * renamed manifest to have .mft extension % deleted unnecessary manifest * "Win32 API" -> "Windows API" ! deleted CPU arch from manifest * package/harb_win.mft * formatting * src/common/hbver.c + added version detection for win 8 and win server 2012 * minor formatting/code cleanup * tests/gfx.prg * updated to run in script mode. ; FIXME: it doesn't draw anything with GTWVT [DONE] * tests/gfx.prg * tests/gtwin.prg * tests/gtxfnt.prg * tests/wvt_fs.prg * tests/wvtext.prg + support for GTXWC when run as script * doc/en/*.txt * contrib/hbct/doc/en/*.txt * contrib/hbgd/doc/en/*.txt * contrib/hbgt/doc/en/*.txt * contrib/hbmisc/doc/en/*.txt * contrib/hbnf/doc/en/*.txt * contrib/hbziparc/doc/en/*.txt * contrib/rddads/doc/en/*.txt ! fixed few broken tags reported by Carlos % deleted line ending spaces * some minor formatting * contrib/hbnf/*.c * contrib/hbnf/*.h * extras/gfspell/spellc.c * uncrustified with updated hb_c.cfg * contrib/hbnf/*.prg * contrib/hbnf/tests/*.prg * hbformatted with Mauriozo's patch. * a few manual corrections (avoiding #translates, using hb_ColorIndex()) in general and to make hbformat happy. + contrib/hbnf/tests/menuto.prg + added sample code for MENU TO (adatped from docs) - src/rdd/dbfntx/dbfntx0.prg - deleted unused file with no enabled code in it * contrib/hbtip/tests/dbtohtml.prg * contrib/hbtip/tests/loadhtml.prg * contrib/hbtip/tests/tipmmail.prg * minor cleanups * contrib/hbtip/thtml.prg ! fixed typo due to s&r % use hb_memowrit() * src/rtl/tbrowse.prg * conditional code sorted to be hbformat friendly * some formatting * INSTALL * package/harbour.rb * package/mpkg_src_nightly.sh * package/mpkg_win_nightly.bat * package/updt_web_nightly.sh * website/changelog.html * website/faq/harbour17.html * website/faq/harbour27.html * website/index.html * website/menu/harbour-menu.js * updated repository URL to new sf.net one * tests/function.cfm * contrib/hbhttpd/tests/tpl/_main.tpl * contrib/hbtip/tests/tipmmail.prg * website/faq/*.html * website/samples/*.html * use utf-8 in html and email * contrib/hbrun/hbrun.hbp + support for HBMK_WITH_GTXWC * tests/rto_get.prg * tests/onidle.prg * tests/mousetst.prg * tests/wcecon.prg * tests/vmasort.prg - contrib/hbnf/tests/metaph.prg * minor cleanups * contrib/hbmysql/tests/test.prg * contrib/hbmysql/tests/dbf2mysq.prg % minor optimization, deleted outdated comment/line * src/compiler/harbour.yyc * src/compiler/harbour.y * minor formatting 2012-10-30 08:59 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/contrib/xhb/filestat.c ! fixed resource leak in FILESTATS() function caused by wrong close WIN API function. Problem reported by Robb - thanks. 2012-10-25 00:08 UTC+0200 Viktor Szakats * website/mailing.html - deleted reference to 3rd mailing list 2012-10-24 20:31 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/src/compiler/complex.c ! fixed lexer to correctly recognize ::msg as FOR iterator * harbour/include/hbexprb.c ! fixed compile time GPF in code like: QOut( @1-VAR ) 2012-10-24 18:50 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.1 * utils/hbmk2/hbmk2.es_PE.po * utils/hbmk2/hbmk2.hu_HU.po * utils/hbmk2/hbmk2.prg * utils/hbmk2/hbmk2.pt_BR.po ! fixed a notorious typo of mine 2012-10-24 18:43 UTC+0200 Viktor Szakats * contrib/hbmlzo/tests/test.prg * changed LZO_ADLER32() calls to HB_ADLER32() in test app. 2012-10-24 18:30 UTC+0200 Viktor Szakats * contrib/hbmlzo/core.c * LZO_ADLER32() changed to use core checksum function. it's equivalent to HB_ADLER32( <s>, 1 ) * src/rtl/hbadler.c % hb_adler32(): applied the loop unrolling optimization found in the mzlo implementation. 2012-10-24 15:35 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/include/hbexprb.c ! fixed typo in function IDs. HB_I18N_NGETTEXT_STRICT() and HB_I18N_NGETTEXT_NOOP() were not recognized as i18n gettext functions * harbour/doc/cmpopt.txt ! fixed HB_I18N_NGETTEXT_NOOP*() syntax used in examples * harbour/src/common/expropt2.c * harbour/doc/cmpopt.txt + added compile time optimizations for expressions like <exp> = <lVal> <exp> == <lVal> <exp> != <lVal> <lVal> = <exp> <lVal> == <exp> <lVal> != <exp> They are reduced to <exp> or !<exp>. Because it may disable some runtime errors so it's not Clipper compatible optimization and is enabled when -ko compiler switch is used. * harbour/src/compiler/hbgenerr.c ! do not generate some warnings like: Meaningless use of expression '%s' when -w harbour compiler option is not used * harbour/src/rtl/gtxwc/gtxwc.c ! indenting 2012-10-24 13:53 UTC+0200 Viktor Szakats * INSTALL + documented HB_INSTALL_3RDDYN envvar. 2012-10-24 13:47 UTC+0200 Viktor Szakats - doc/en/license.txt - deleted yet another copy of the Harbour license. A very outdated one. * contrib/gtwvg/gtwvg.hbp * contrib/hbcairo/hbcairo.hbp * contrib/hbct/hbct.hbp * contrib/hbhpdf/hbhpdf.hbp * contrib/hbmysql/hbmysql.hbp * contrib/hbmzip/hbmzip.hbp * contrib/hbpgsql/hbpgsql.hbp * contrib/hbsqlit3/hbsqlit3.hbp * contrib/hbtip/hbtip.hbm * contrib/hbwin/hbwin.hbp * contrib/hbzebra/hbzebra.hbp * contrib/rddads/rddads.hbp * contrib/rddsql/rddsql.hbp * contrib/xhb/xhb.hbp * do not copy contrib .ch files to central Harbour directory. It means that if you need to use these files from now on, you need to use the .hbc files for all Harbour contribs. INCOMPATIBLE. This is the final step to complete this TODO: 2012-03-04 20:31 UTC+0100 Now all contrib .ch and .hbx files are stored locally in package folder. * ChangeLog * updated status for past TODO/FIXME items 2012-10-24 02:03 UTC+0200 Viktor Szakats * contrib/hbcairo/hbcairo.hbp * contrib/hbct/hbct.hbp * contrib/hbhpdf/hbhpdf.hbp * contrib/hbmysql/hbmysql.hbp * contrib/hbmzip/hbmzip.hbp * contrib/hbpgsql/hbpgsql.hbp * contrib/hbsqlit3/hbsqlit3.hbp * contrib/hbtip/hbtip.hbm * contrib/hbwin/hbwin.hbp * contrib/hbzebra/hbzebra.hbp * contrib/rddads/rddads.hbp * contrib/xhb/xhb.hbp * do not copy .ch/.hbx files to central Harbour directory. It means that if you need to use these files from now on, you need to use the .hbc files to add these packages to your project: xhbextrn.ch ctextern.ch adsextrn.ch (and more if you need an .hbx file.) INCOMPATIBLE. This is a gradual step to complete this TODO: 2012-03-04 20:31 UTC+0100 Now all .hbx files are stored locally in package folder. 2012-10-24 01:48 UTC+0200 Viktor Szakats * contrib/hbblat/hbblat.hbp * contrib/hbbz2/hbbz2.hbp * contrib/hbgd/hbgd.hbp * contrib/hbodbc/hbodbc.hbp * contrib/hbxpp/hbxpp.hbp * do not copy .ch/.hbx files to central Harbour directory. It means that if you need to use these files from now on, you need to use the .hbc files to add these packages to your project: hbblat.ch hbbz2.ch dll.ch dmlb.ch hbxpp.ch thread.ch (hbxpp.hbc) gd.ch gdextern.ch (hbgd.hbc) (and more if you need an .hbx file.) INCOMPATIBLE. This is a gradual step to complete this TODO: 2012-03-04 20:31 UTC+0100 * contrib/hbblat/hbblat.ch * contrib/hbblat/tests/blattest.prg * cleanups 2012-10-24 00:48 UTC+0200 Viktor Szakats * doc/class_tp.txt * doc/hdr_tpl.txt * doc/inet.txt * some more, including the templates modified according to prev commit. 2012-10-24 00:18 UTC+0200 Viktor Szakats * src/rtl/hbdoc.prg % changed to save NFDOCs without the '*' prepended in each line. It was making editing much more difficult. Padding also changed to 3 chars like in every Harbour source. * contrib/hbct/doc/en/*.txt * contrib/hbgd/doc/en/*.txt * contrib/hbgt/doc/en/*.txt * contrib/hbmisc/doc/en/*.txt * contrib/hbnf/doc/en/*.txt * contrib/hbziparc/doc/en/*.txt * contrib/rddads/doc/en/*.txt * regenerated using hbdoc API * doc/en/*.txt * regenerated using hbdoc API * restored copyright headers manually * src/rtl/tlabel.prg * src/rtl/treport.prg ! unicode fixes (untested) % SubStr( x, 1, y ) -> Left( x, y ) 2012-10-23 23:33 UTC+0200 Viktor Szakats * config/detect.mk * contrib/hbct/print.c * contrib/hbnf/fttext.c * contrib/hbnf/n2color.c * contrib/hbnf/tests/clrsel.prg * contrib/hbnf/tests/menu1.prg * contrib/hbwin/win_tprn.prg * doc/en/browse.txt * doc/en/compiler.txt * doc/en/file.txt * doc/en/garbage.txt * doc/en/gtslang.txt * doc/en/idle.txt * doc/en/memo.txt * doc/en/misc.txt * doc/en/setmode.txt * doc/en/string.txt * doc/en/terminal.txt * doc/gtapi.txt * doc/tracing.txt * include/filesys.api * include/hbapifs.h * include/hbsetup.h * package/mpkg_win.nsi * package/winuni/RELNOTES * src/codepage/*.c * src/common/hbffind.c * src/rtl/gete.c * src/rtl/hbgtcore.c * src/rtl/isprint.c * src/rtl/net.c * src/rtl/run.c * src/rtl/tlabel.prg * src/rtl/treport.prg * src/vm/dynsym.c * tests/stripem.prg * tests/tstgtapi.c * various platform related doc cleanups 2012-10-23 22:16 UTC+0200 Viktor Szakats * contrib/hbamf/hbamf.hbp * contrib/hbblink/hbblink.hbp * contrib/hbcomm/hbcomm.hbp * contrib/hbcups/hbcups.hbp * contrib/hbcurl/hbcurl.hbm * contrib/hbdroid/hbdroid.hbp * contrib/hbexpat/hbexpat.hbp * contrib/hbfbird/hbfbird.hbp * contrib/hbfimage/hbfimage.hbp * contrib/hbformat/hbformat.hbp * contrib/hbfoxpro/hbfoxpro.hbp * contrib/hbfship/hbfship.hbp * contrib/hbgs/hbgs.hbp * contrib/hbgt/hbgt.hbp * contrib/hbhttpd/hbhttpd.hbp * contrib/hblzf/hblzf.hbp * contrib/hbmagic/hbmagic.hbp * contrib/hbmemio/hbmemio.hbp * contrib/hbmisc/hbmisc.hbp * contrib/hbmlzo/hbmlzo.hbp * contrib/hbmxml/hbmxml.hbp * contrib/hbnetio/hbnetio.hbp * contrib/hbnf/hbnf.hbp * contrib/hboslib/hboslib.hbp * contrib/hbsms/hbsms.hbp * contrib/hbssl/hbssl.hbm * contrib/hbtpathy/hbtpathy.hbp * contrib/hbxdiff/hbxdiff.hbp * contrib/hbxpp/hbxpp.hbp * contrib/hbziparc/hbziparc.hbp * do not copy .ch/.hbx files to central Harbour directory. It means that if you need to use these files from now on, you need to use the .hbc files to add these packages to your project: freeimag.ch ftmenuto.ch hbblink.ch hbcurl.ch hbexpat.ch hbfoxpro.ch hblzf.ch hbmagic.ch hbmlzo.ch hbmxml.ch hbssl.ch hbxdiff.ch hbxppext.ch telepath.ch (and more if you need an .hbx file.) INCOMPATIBLE. This is a gradual step to complete this TODO: 2012-03-04 20:31 UTC+0100 * contrib/hbfbird/readme.txt * contrib/hbfimage/readme.txt * contrib/hbmysql/readme.txt * contrib/hbnf/doc/en/chdir.txt * contrib/hbnf/doc/en/cint86.txt * contrib/hbziparc/doc/en/hbziparc.txt * contrib/rddads/doc/en/readme.txt * contrib/rddads/readme.txt * doc/en/file.txt * doc/dirstruc.txt * doc/en/dir.txt * doc/gmake.txt * doc/gtapi.txt * extras/httpsrv/readme.txt * utils/hbmk2/hbmk2.1 * various updates (removed OS specific stuff, added reference to .hbc files, hbmk2, removed certain outdated information, DOS -> MS-DOS) - tests/dosshell.prg + tests/osshell.prg * renamed/changed to be OS agnostic * config/dir.mk * config/dos/djgpp.mk * config/globsh.mk * DOS -> MS-DOS * extras/httpsrv/uhttpd.prg * src/debug/dbghelp.prg * utils/hbmk2/hbmk2.es_PE.po * utils/hbmk2/hbmk2.prg * utils/hbmk2/hbmk2.pt_BR.po * DOS -> OS * contrib/gtwvg/class.prg * contrib/gtwvg/crt.prg * contrib/gtwvg/dialog.prg * contrib/gtwvg/mle.prg * contrib/gtwvg/syswnd.prg * contrib/gtwvg/wnd.prg * removed unnecessary parentheses 2012-10-23 15:50 UTC+0200 Viktor Szakats * contrib/hbwin/tests/testax.prg * contrib/hbwin/tests/testcom1.prg * contrib/hbwin/tests/testcom2.prg * contrib/hbwin/tests/testcopy.prg * contrib/hbwin/tests/testevnt.prg * contrib/hbwin/tests/testgdi.prg * contrib/hbwin/tests/testmapi.prg * contrib/hbwin/tests/testprn.prg * contrib/hbwin/tests/testreg.prg * contrib/hbwin/tests/testsim.prg * contrib/hbwin/tests/testsvc.prg * necessary changes to run hbwin tests as scripts ; NOTE: testax.prg will RTE with 'Not exported method: _msgDestructor' * utils/hbmk2/examples/plug_bis.hb * utils/hbmk2/examples/plug_tpl.hb * added missing RETURN * use ? instead of OUTSTD() for errmsg when not run as plugin * contrib/hbnetio/utils/hbnetio/netiosrv.prg * tests/ipsvr.prg * avoid 'request hb_mt' (it's not script compatible). detect missing mt at runtime. * utils/hbmk2/hbmk2.prg * minor in comment 2012-10-23 14:48 UTC+0200 Viktor Szakats * contrib/xhb/hbcompat.ch * include/harbour.hbx * src/debug/debugger.prg * src/rtl/achoice.prg * src/rtl/inkey.c * src/rtl/memoedit.prg + added HB_KEYSETLAST() which is the successor of HB_SETLASTKEY() but renamed to put it into the right namespace. HB_SETLASTKEY() is deprecated and will disappear after the second major release. (HB_LEGACY_LEVEL5) * utils/hbmk2/hbmk2.prg + added interactive keyboard functions to trigger full screen UI in scripts * contrib/hbct/tests/*.prg % deleted #include "ct.ch" where it's not used ! added #require "ct" where ct.ch is #included * contrib/hbct/tests/csetarge.prg % CLS not needed anymore to force interactive UI * contrib/hbfbird/firebird.c ! typo in comment * contrib/hbct/tests/math.prg * minor 2012-10-23 12:01 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/include/hbvm.h * harbour/src/vm/hvm.c * harbour/src/vm/runner.c * use deferred function mechanism for overloaded function symbols. It allows to unload HRB modules without leaving dummy references. 2012-10-23 10:42 UTC+0200 Viktor Szakats * contrib/hbfbird/firebird.c % further simplifications and fixed typo in prev 2012-10-23 10:37 UTC+0200 Viktor Szakats * contrib/hbfbird/firebird.c ! fixed missing formatting/indenting in prev commit % simplified code 2012-10-23 07:15 UTC+0200 Jacek Kubica (jkubica/at/wssk.wroc.pl) * contrib/hbfbird/firebird.c ! correction in FBFETCH() 2012-10-23 03:27 UTC+0200 Viktor Szakats * contrib/gtwvg/class.prg * contrib/hbct/tests/attoken.prg * contrib/hbct/tests/charnot.prg * contrib/hbct/tests/charrll.prg * contrib/hbct/tests/charrlr.prg * contrib/hbct/tests/charshl.prg * contrib/hbct/tests/charshr.prg * contrib/hbct/tests/csetarge.prg * contrib/hbct/tests/datetime.prg * contrib/hbct/tests/finan.prg * contrib/hbct/tests/token.prg * contrib/hbct/tests/tokensep.prg * contrib/hbct/tests/trig.prg * contrib/hbgd/gdbarcod.prg * contrib/hbnf/doc/en/fttext.txt * contrib/hbnf/doc/en/nwsem.txt * contrib/hbnf/popadder.prg * contrib/hbnf/tests/mouse1.prg * contrib/hbsqlit3/tests/hdbctest.prg * contrib/hbtip/httpcli.prg * contrib/hbtpathy/telepath.prg * contrib/xhb/stream.prg * contrib/xhb/tedit.prg * contrib/xhb/thtm.prg * contrib/xhb/ttable.prg * contrib/xhb/xcstr.prg * contrib/xhb/xhbmemo.prg * contrib/xhb/xhbtedit.prg * extras/gtwvw/tests/ebtest7.prg * extras/hbxlsxml/xlsxml.prg * extras/rddado/adordd.prg * src/debug/debugger.prg * src/rtl/memoedit.prg * tests/sdf_test.prg * tests/tstasort.prg * tests/videotst.prg * tests/vmasort.prg % minor cleanups, fixes, optimizations and formatting (e.g. using hb_ntos(), avoiding '== .F./.T.' expressions, etc) ; NOTE: hbformat couldn't reformat adordd.prg, and even after removing parts that caused and error and finished error free, it failed to format the file after a certain line. 2012-10-23 01:31 UTC+0200 Viktor Szakats * contrib/hbgd/gdbar.prg * contrib/hbgd/gdbarcod.prg % cleanups and optimizations 2012-10-23 00:56 UTC+0200 Viktor Szakats * contrib/hbgd/gdbarcod.prg ! fixed generating check digit 0 instead of '*' for EAN13 * contrib/hbrun/hbrun.hbp ! typo in comment 2012-10-22 23:47 UTC+0200 Viktor Szakats * contrib/hbct/tests/*.prg ! various cleanups and fixes after running them each using hbrun 2012-10-22 16:22 UTC+0200 Viktor Szakats * contrib/hbct/dattime3.c * contrib/hbct/tests/dates4.prg * contrib/hbct/tests/datetime.prg * contrib/hbct/tests/expomant.prg * contrib/hbgd/tests/tpoly.prg * contrib/hbmisc/hbeditc.c * contrib/hbnf/tests/floptst.prg * contrib/hbnf/tests/gcd.prg * contrib/hbnf/tests/rand1.prg * contrib/hbtinymt/tests/test32.prg * contrib/hbtinymt/tests/test64.prg * contrib/hbunix/tests/testdmn.prg * various minor cleanups/fixes/formatting 2012-10-22 14:59 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/src/rtl/gttrm/gttrm.c ! fixed support for national characters in terminals working in ISO mode * harbour/contrib/xhb/xhbfunc.c * minor code simplification * harbour/doc/xhb-diff.txt * typo 2012-10-22 01:51 UTC+0200 Viktor Szakats * contrib/hbct/ctmath.c * contrib/hbct/ctstr.c * contrib/hbct/ctstrfil.c * contrib/hbct/ctstrfil.h * contrib/hbct/ctwin.c * contrib/hbct/dattime3.c * contrib/hbct/token1.c * contrib/hbct/token2.c * renamed statics to have s_/sc_ prefix * changed int to HB_FATTR for file attributes * contrib/hbct/tests/datetime.prg + implemented TODO now allowing to select language * contrib/hbsms/sms.prg + added links regarding sending in unicode * extras/httpsrv/uhttpd.prg ! fixed a FIXME 2012-10-21 15:42 UTC+0200 Viktor Szakats * contrib/hbnf/aredit.prg ! deleted code that never worked right, and it's a condition the caller can easily check anyway * contrib/hbnf/isprint.c + enabled [HB_]ISPRINT() on *nix system. It will try to open the passed device name. default is /dev/lp0. * src/rtl/hbsocket.c ! fixed dos/watcom error * src/rtl/isprint.c ! FT_ISPRINT(): default to PRN on non-*nix 2012-10-21 14:27 UTC+0200 Viktor Szakats * extras/hbvpdf/hbvpdf.ch * extras/hbvpdf/hbvpdf.prg % reduced file size by changing long decoration comments * CRLF macro moved to source file from public header. INCOMPATIBLE. 2012-10-21 12:40 UTC+0200 Viktor Szakats * contrib/hbnf/any2any.prg * optimized out macro * contrib/hbnf/fttext.c * contrib/hbnf/hbnf.hbx * deleted public function which was not there in original in this form (it was ASM specific debug trick) * contrib/hbnf/asum.prg * formatting 2012-10-21 12:18 UTC+0200 Viktor Szakats * contrib/hbformat/hbfmtcls.prg + added one known and one new minor FIXME + Array2File() changed to strip extra EOLs from the end of file (sometimes and extra EOL is generated by hbformat). * src/debug/debugger.prg * src/rtl/tbrowse.prg * src/vm/harbinit.prg * utils/hbmk2/hbmk2.prg * formatting changed so that its fit hbformat style * contrib/sddmy/tests/test1.prg * contrib/sddoci/tests/test1.prg * contrib/sddodbc/tests/test1.prg * contrib/sddodbc/tests/test2.prg + added missing #require-s, anyways they don't run as scripts with the previously reported error. * ChangeLog ! typos 2012-10-21 01:44 UTC+0200 Viktor Szakats * */*.hbx * renegerated remaining ones 2012-10-20 23:31 UTC+0200 Viktor Szakats * config/postinst.hb * utils/hbmk2/hbmk2.prg % avoid lines and padding in autogenerated .hbx file comments * include/hblang.hbx ! fixed to exclude legacy language modules that missed the generic wildcard filter * */*.hbx * regenerated * src/rtl/langapi.c * deleted unnecessary comment 2012-10-20 10:03 UTC+0200 Viktor Szakats * contrib/xhb/xhbhash.c ! typo in a recent commit 2012-10-19 21:21 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg * avoid splitting branching statements with #if branches to make it easy for hbformat to do its job. (patched hbformat still fails around line 3900) * contrib/xhb/htmutil.prg + FIXME added for unicode incompatible Greek CP conversion (from what to what it's not marked) [DONE] 2012-10-19 15:18 UTC+0200 Viktor Szakats * contrib/hbct/ctchksum.c * contrib/hbct/ctcrypt.c * contrib/hbct/ctnet.c * contrib/hbct/ctdummy.prg * contrib/hbct/ctmisc.prg * contrib/hbct/ctrand.prg * contrib/hbct/cttime.prg * contrib/hbct/fcopy.prg * contrib/hbct/getinfo.prg * contrib/hbct/getinput.prg * contrib/hbct/keysave.prg * contrib/hbct/keysec.prg * contrib/hbct/keytime.prg * contrib/hbct/kxlat.prg * contrib/hbct/screen3.prg * contrib/hbct/scrmark.prg * contrib/hbct/showtime.prg * contrib/hbct/tempfile.prg * hbformatted (using it with Maurizio's patch) (with few minor corrections - vert.alignment, '/' operator) * CA-T*ols * contrib/hbct/readme.txt * deleted multiple ending EOLs 2012-10-19 13:59 UTC+0200 Viktor Szakats * contrib/hbct/getsecrt.prg * SET() -> Set() 2012-10-19 13:51 UTC+0200 Viktor Szakats * contrib/hbct/getsecrt.prg ! GETSECRET() fixed to not access protected TGETLIST variables when SET KEY is pressed. * hbformatted * contrib/hbformat/hbfmtcls.prg * applied formatting changes from Maurizio's patch (it makes it easier to see what changed) * contrib/hbnf/prtscr.c % optimized 2012-10-19 01:06 UTC+0200 Viktor Szakats * contrib/xhb/xhbhash.c * use HB_FUNC_TRANSLATE() on two extra functions which were reimplemented but the same implementations also exist in core so they can be used: HB_HSETAUTOADD()/HB_SETCASEMATCH() 2012-10-19 00:55 UTC+0200 Viktor Szakats * contrib/hbct/ctwfunc.c * contrib/hbct/files.c * contrib/hbfship/dbsetloc.c * contrib/hbgd/gdwrp.c * contrib/hbnf/fttext.c * contrib/xhb/xhbgt.c * contrib/xhb/xhbtrim.c * src/rdd/dbcmd.c * src/rdd/dbfcdx/dbfcdx1.c * src/rdd/dbffpt/dbffpt1.c * src/rdd/dbfnsx/dbfnsx1.c * src/rdd/dbfntx/dbfntx1.c * src/rtl/cdpapihb.c * src/rtl/dirdrive.c * src/rtl/gete.c * src/rtl/hbi18n1.c * src/rtl/trim.c * src/vm/classes.c * use HB_FUNC_TRANSLATE() where the target function was present in the same physical source file (plus some RDD ones missed in prev) 2012-10-18 23:52 UTC+0200 Viktor Szakats * contrib/gtwvg/wvgutils.c * contrib/hbct/dbftools.c * contrib/hbfship/flddeci.c * contrib/hbfship/isfunc.c * contrib/hbfship/secondfs.c * contrib/hbnf/mouse.c * contrib/hbxpp/dbcmdx.c * contrib/hbxpp/dbdetacx.c * contrib/hbxpp/dllx.c * contrib/rddsql/sqlmix.c * contrib/sddfb/sddfb.c * contrib/sddmy/sddmy.c * contrib/sddoci/sddoci.c * contrib/sddodbc/sddodbc.c * contrib/sddpg/sddpg.c * contrib/sddsqlt3/sddsqlt3.c * contrib/xhb/xhbarr.c * contrib/xhb/xhbdate.c * contrib/xhb/xhbfs.c * contrib/xhb/xhbfunc.c * contrib/xhb/xhbgt.c * contrib/xhb/xhbhash.c * contrib/xhb/xhbi18n.c * contrib/xhb/xhbinet.c * contrib/xhb/xhbini.c * contrib/xhb/xhbmtc.c * contrib/xhb/xhbolec.c * contrib/xhb/xhbprn.c * contrib/xhb/xhbproc.c * contrib/xhb/xhbregx.c * contrib/xhb/xhbwin.c * contrib/xhb/xwin_reg.c * contrib/xhb/xwin_ver.c * src/rdd/dbcmdhb.c * src/rdd/dbdrop.c * src/rdd/dbexists.c * src/rdd/dbnubs.c * src/rdd/dbrename.c * src/rdd/fieldhb.c * src/rdd/hbsix/sxredir.c * src/rdd/hsx/cftsfunc.c * src/rdd/rddinfo.c * src/rtl/cdpapihb.c * src/rtl/defpathu.c * src/rtl/errapiu.c * src/rtl/natmsgu.c * src/rtl/pad.c * src/rtl/shadowu.c * src/vm/memvclip.c * use HB_FUNC_TRANSLATE() when creating pure forwarder stubs (I might rename this to HB_FUNC_FORWARD() or HB_FUNC_ALIAS()) 2012-10-18 20:59 UTC+0200 Viktor Szakats * contrib/hbmisc/hb_f.c ! fixed clang warning * contrib/hbzebra/datamtrx.c ! applied patch from Mindaugas, fixing literal truncation warning on MSVC. Thank you. * include/harbour.hbx * src/rtl/mouse53.c + added HB_MGETBOUNDS( /* @ */ nTop, /* @ */ nLeft, /* @ */ nBotton, /* @ */ nRight ) -> NIL * contrib/hbnf/hbnf.hbx * contrib/hbnf/mouse.c * contrib/hbnf/mouse1.prg * all possible MS-DOS specific mouse handling functions rewritten in Harbour using core mouse API. Now the included sample more or less work. There are still two important functions (FT_MBUT*()) that are MS-DOS specific and don't work. Have no idea yet how to rewrite these in multiplatform way, they work in very MS-DOS specific way. ! fixed few bugs along the way. Maybe introduced new ones. It doesn't help that NF functions (sometimes?) use X for vertical and Y for horizontal position. * contrib/hbnf/tests/mouse1.prg % turn cursor off to avoid excessive flicker * contrib/hbnf/fttext.c * contrib/hbnf/tests/metaph.prg * contrib/hbnf/tests/prtesc.prg * extras/gtwvw/docs/funclist.txt * formatting (mostly fighting long separator lines still) * src/rtl/mousehb.c % use HB_FUNC_TRANSLATE() 2012-10-18 14:50 UTC+0200 Viktor Szakats * INSTALL ! found typo (while testing a diffing tool) 2012-10-18 12:58 UTC+0200 Viktor Szakats * contrib/hbnf/hbnf.hbx * contrib/hbnf/menu1.prg * contrib/hbnf/mouse.c % use MROW()/MCOL()/MHIDE()/MSHOW() functions in place of MS-DOS low-level implementations * disabled page handling functions * contrib/hbnf/aading.prg * contrib/hbnf/acctadj.prg * contrib/hbnf/aemaxlen.prg * contrib/hbnf/aeminlen.prg * contrib/hbnf/at2.prg * contrib/hbnf/calendar.prg * contrib/hbnf/dfile.prg * contrib/hbnf/dispmsg.prg * contrib/hbnf/lastday.prg * contrib/hbnf/menu1.prg * contrib/hbnf/menuto.prg * contrib/hbnf/metaph.prg * contrib/hbnf/mouse1.prg * contrib/hbnf/netpv.prg * contrib/hbnf/nwuid.prg * contrib/hbnf/pending.prg * contrib/hbnf/popadder.prg * contrib/hbnf/sqzn.prg * contrib/hbnf/tbwhile.prg * contrib/hbnf/xbox.prg * use __defaultNIL()/hb_default() % optimizations done along the way * contrib/hbnf/tests/mouse1.prg * updated with mouse2.prg * contrib/hbnf/peek.c * synced with gtdos.c after Przemek's changes. ! added missing MK_FP() definition if not defined * src/rtl/gtdos/gtdos.c ! fixed old typo in one variable name - contrib/hbnf/tests/mouse2.prg - deleted duplicate code 2012-10-18 12:22 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/src/rtl/gtdos/gtdos.c ! fixed MK_FP() macro * use HB_PEEK_BYTE() and HB_POKE_BYTE() macros if possible - removed POKE_BYTE() macro * renamed outport() to outportw() ; question: why this code was updating number of lines at 0x0004:0084 after some set modes? Is it necessary? 2012-10-18 11:31 UTC+0200 Viktor Szakats * contrib/hbnf/*.prg * cleanups, minor opts 2012-10-18 02:19 UTC+0200 Viktor Szakats * src/rtl/gtdos/gtdos.c * FIXME added about duplicate macros with same functionality but different name (POKE_BYTE/HB_POKE_BYTE) [DONE] ! fixed C++ comment ! fixed indenting/formatting in few places * contrib/hbnf/page.c - disabled FT_SETVPG()/FT_GETVPG() to do anything even on MS-DOS, because no other functions support video pages. * contrib/hbnf/hbnf.hbp - contrib/hbnf/poke.c * contrib/hbnf/peek.c * contrib/hbnf/support.c + Implemented FT_PEEK()/FT_POKE()/FT_INP()/FT_OUTP() for MS-DOS platform. Macros taken from gtdos.c. (build tested with Watcom/DOS. Might break in other build and not work in any of them. Please test) * contrib/hbnf/vidcur.prg + Implemented FT_SETVCUR()/FT_GETVCUR() w/o page support, using GT. * contrib/hbnf/kspeed.c * contrib/hbnf/page.c * renamed variable to be uniform * contrib/hbnf/scancode.prg * added TODO comment - contrib/hbnf/readme.txt - deleted, now TODOs are in source 2012-10-18 00:55 UTC+0200 Viktor Szakats * contrib/hbnf/sysmem.prg * contrib/hbnf/readme.txt + Implemented FT_SYSMEM() * contrib/hbnf/dosver.c * contrib/hbnf/isshare.c * contrib/hbnf/kspeed.c * contrib/hbnf/mouse.c * contrib/hbnf/page.c * contrib/hbnf/setdate.c * contrib/hbnf/settime.c * contrib/hbnf/support.c * contrib/hbnf/vidmode.c ! fixed to #include <dos.h> (not "dos.h") * src/vm/fm.c + Memory( HB_MEM_FM ) to report low-memory on MS-DOS systems (build tested) * contrib/hbnf/nwsem.prg * contrib/hbnf/nwuid.prg * code cleanup, TODOs added 2012-10-18 00:32 UTC+0200 Viktor Szakats * src/3rd/tiff/Makefile - src/3rd/tiff/warning.c + src/3rd/tiff/warn.c * renamed to avoid the word 'warning' coming up unnecessarily in build logs. 2012-10-18 00:18 UTC+0200 Viktor Szakats * src/compiler/complex.c ! added missing HB_SIZE cast * src/rdd/dbffpt/dbffpt1.c * src/rdd/dbfnsx/dbfnsx1.c * src/rdd/dbfntx/dbfntx1.c * suppressed remaining MSVC 32 and 64-bit warnings (a very long time TODO). I used casts named after the type it casts to, so they are easy to identify: HB_ULONGCAST, HB_[U]SHORTCAST, HB_INTCAST So they can be searched for or converted to proper types in the future. This is the complete list of MSVC warnings that remain after this: --- harbour.y(1077) : warning C4244: '=' : conversion from 'HB_SIZE' to 'int', possible loss of data harbour.y(1371) : warning C4309: 'argument' : truncation of constant value harbour.y(1374) : warning C4309: 'argument' : truncation of constant value harboury.c(4089) : warning C4244: '=' : conversion from 'int' to 'yytype_int16', possible loss of data harboury.c(7737) : warning C4702: unreachable code harboury.c(7776) : warning C4701: potentially uninitialized local variable 'hb_comp_yylval' used macroy.c(1786) : warning C4065: switch statement contains 'default' but no 'case' labels macroy.c(1915) : warning C4244: '=' : conversion from 'int' to 'yytype_int16', possible loss of data macroy.c(3254) : warning C4702: unreachable code macroy.c(3293) : warning C4701: potentially uninitialized local variable 'hb_macro_yylval' used ../../../dbffpt1.c(521) : warning C4310: cast truncates constant value ../../../dbffpt1.c(904) : warning C4310: cast truncates constant value --- 2012-10-17 22:04 UTC+0200 Viktor Szakats * contrib/hbnf/hbnf.hbp * contrib/hbnf/readme.txt - contrib/hbnf/setdate.prg - contrib/hbnf/settime.prg + contrib/hbnf/setdate.c + contrib/hbnf/settime.c + Implemented FT_SETTIME()/FT_SETDATE() for MS-DOS (build tested) 2012-10-17 20:39 UTC+0200 Viktor Szakats * contrib/hbnf/hbnf.hbx * contrib/hbnf/video1.c + Implemented FT_REVATTR(), FT_REVCHR() * contrib/hbnf/floptst.prg + Implemented FT_FLOPTST() * contrib/hbct/doc/en/*.txt ! fixed lib name where wrong * contrib/hbnf/cint86.c * contrib/hbnf/support.c * changed TODOs to visible warnings on MS-DOS platform * contrib/hbnf/ftattr.c % FT_RESTATT(): buffering output * minor cleanups * contrib/hbnf/readme.txt * updated * contrib/hbnf/doc/en/*.txt ! minor fixes 2012-10-17 16:31 UTC+0200 Viktor Szakats * contrib/hbct/doc/en/*.txt * doc/en/*.txt * deleted source file references. use grep instead, which always give up to date results. 2012-10-17 15:39 UTC+0200 Viktor Szakats * contrib/hbct/doc/en/*.txt * contrib/hbnf/doc/en/*.txt * cleanups and fixes 2012-10-17 14:41 UTC+0200 Viktor Szakats * contrib/hbnf/caplock.c * contrib/hbnf/kspeed.c * contrib/hbnf/numlock.c * contrib/hbnf/proper.c * code cleanups 2012-10-17 12:45 UTC+0200 Viktor Szakats * contrib/hbnf/acctmnth.prg * contrib/hbnf/acctyear.prg * contrib/hbnf/madd.prg * contrib/hbnf/popadder.prg * contrib/hbnf/round.prg ! fixed wrongly formatted negative numbers 2012-10-17 11:43 UTC+0200 Viktor Szakats * contrib/hbnf/popadder.prg * minor formatting (in part to be more hbformat friendly) * contrib/hbnf/video2.prg % minor cleanup 2012-10-17 11:13 UTC+0200 Viktor Szakats * contrib/hbnf/doc/en/*.txt * set mime-type to UTF-8 * contrib/hbnf/hbnf.hbp * contrib/hbnf/hbnf.hbx * contrib/hbnf/readme.txt + contrib/hbnf/video2.prg + implemented FT_CLS(), FT_VIDSTR(), FT_WRTCHR() * contrib/hbnf/video1.c + added dummy implementation of few missing functions. (commented) * contrib/hbnf/doc/en/video1.txt ! fixed old typo in example 2012-10-17 10:23 UTC+0200 Viktor Szakats - tests/hbdocext.prg + tests/hbdocext.hb * renamed to .hb * contrib/hbnf/hbnf.hbp * contrib/hbnf/hbnf.hbx + contrib/hbnf/adapter.prg + added FT_ADAPTER() + contrib/hbnf/doc/en/cint86.txt + added one more missing doc (formatted a bit) * contrib/hbnf/cint86.c ! fixed to return .F. instead of NIL * contrib/hbnf/doc/en/outp.txt * contrib/hbnf/doc/en/prtscr.txt * contrib/hbnf/doc/en/reboot.txt * contrib/hbnf/doc/en/round.txt * formatting. * contrib/hbnf/support.c + added dummy versions of FT_INP(), FT_OUTP(), FT_REBOOT() all returning permanent failure. * contrib/hbnf/readme.txt * updated 2012-10-17 09:56 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + added note about the requirement of GPL license next to all hb_compile()/hb_compileFromBuf() calls. 2012-10-17 09:20 UTC+0200 Viktor Szakats * contrib/gtwvg/*.prg * contrib/gtwvg/tests/*.prg * contrib/hbamf/tests/tstendin.prg * contrib/hbct/doc/en/dattime3.txt * contrib/hbct/tests/token2.prg * contrib/hbgd/tests/gdtestcl.prg * contrib/hbhttpd/core.prg * contrib/hbhttpd/tests/eshop.prg * contrib/hbmysql/tests/dbf2mysq.prg * contrib/rddads/tests/datad.prg * contrib/xhb/tedit.prg * extras/gtwvw/tests/*.prg * src/rdd/usrrdd/rdds/arrayrdd.prg * src/rdd/usrrdd/rdds/hscdx.prg * removed space after .f./.t. 2012-10-17 08:24 UTC+0200 Viktor Szakats + contrib/hbnf/doc/en/adapter.txt + contrib/hbnf/doc/en/default.txt + contrib/hbnf/doc/en/inp.txt + contrib/hbnf/doc/en/outp.txt + contrib/hbnf/doc/en/reboot.txt + contrib/hbnf/doc/en/shadow.txt + contrib/hbnf/doc/en/video1.txt + added doc for missing functions * contrib/hbnf/hbnf.hbp * contrib/hbnf/hbnf.hbx + contrib/hbnf/default.prg + implemented FT_DEFAULT() - contrib/hbnf/doc/en/mouse2.txt - contrib/hbnf/doc/en/readme.txt - deleted duplicate content * contrib/hbnf/hbnf.hbp - contrib/hbnf/ftidle.c - contrib/hbnf/ftint86.c - contrib/hbnf/ftisprn.c - contrib/hbnf/ftround.prg - contrib/hbnf/ftshadow.c - contrib/hbnf/getver.c - contrib/hbnf/getvid.c - contrib/hbnf/menutonf.prg - contrib/hbnf/tests/ftgete.prg - contrib/hbnf/doc/en/ftidle.txt - contrib/hbnf/doc/en/ftisprn.txt - contrib/hbnf/doc/en/ftround.txt + contrib/hbnf/cint86.c + contrib/hbnf/dosver.c + contrib/hbnf/idle.c + contrib/hbnf/isprint.c + contrib/hbnf/isshare.c + contrib/hbnf/menuto.prg + contrib/hbnf/page.c + contrib/hbnf/round.prg + contrib/hbnf/shadow.c + contrib/hbnf/support.c + contrib/hbnf/video1.c + contrib/hbnf/vidmode.c + contrib/hbnf/tests/getenvrn.prg + contrib/hbnf/doc/en/idle.txt + contrib/hbnf/doc/en/isprint.txt + contrib/hbnf/doc/en/round.txt * files renamed and/or split to match the original NF layout % cleaned unnecessary headers * contrib/hbnf/dispc.c * contrib/hbnf/invclr.prg * contrib/hbnf/mouse.c * contrib/hbnf/prtscr.c * contrib/hbnf/putkey.c * contrib/hbnf/tempfile.prg * contrib/hbnf/doc/en/ftattr.txt * contrib/hbnf/doc/en/mouse1.txt * misc cleanups, formatting ! FT_PUTKEY() fixed to allow any keycode (e.g. unicode ones) * contrib/hbnf/readme.txt * updated 2012-10-16 21:14 UTC+0200 Viktor Szakats * contrib/hbnf/acctmnth.prg * contrib/hbnf/acctqtr.prg * contrib/hbnf/acctweek.prg * contrib/hbnf/acctyear.prg * contrib/hbnf/savearr.prg % some more minor cleanups and opts 2012-10-16 20:58 UTC+0200 Viktor Szakats * contrib/hbzebra/codabar.c ! minor correction to prev 2012-10-16 20:34 UTC+0200 Viktor Szakats * contrib/hbnf/descendn.c + enabled FT_DESCEND() for all platforms * contrib/hbnf/hbnf.hbp * contrib/hbnf/hbnf.hbx * contrib/hbnf/peek.c * contrib/hbnf/poke.c * FT_PEEK(), FT_POKE() will now be compiled and returning permanent failure on all platforms. * contrib/hbnf/ftisprn.c * contrib/hbnf/ftshadow.c * contrib/hbnf/kspeed.c * contrib/hbnf/setkeys.c * contrib/hbnf/setlastk.c * use HB_FUNC_TRANSLATE() * contrib/hbnf/getver.c * contrib/hbnf/mkdir.c * contrib/hbnf/proper.c * minor fmt 2012-10-16 19:24 UTC+0200 Viktor Szakats * contrib/hbzebra/datamtrx.c ! fixed a char truncation warning 2012-10-16 18:25 UTC+0200 Viktor Szakats * contrib/hbzebra/codabar.c * contrib/hbzebra/code39.c * contrib/hbzebra/code93.c * cleanup for 64-bit compatibility 2012-10-16 18:13 UTC+0200 Viktor Szakats * contrib/hbnf/hbnf.hbx * contrib/hbnf/mouse.c * contrib/hbnf/mouse1.prg % removed many .prg layer stub functions ! fixed lots of typos and other bugs. * contrib/hbnf/menu1.prg * contrib/hbnf/popadder.prg % two internal callbacks made STATIC. INCOMPATIBLE, but doubtful anybody would use these accidentally public special functions. 2012-10-16 16:50 UTC+0200 Viktor Szakats - contrib/hbnf/dosver.prg - contrib/hbnf/isshare.prg - contrib/hbnf/mouse2.prg - contrib/hbnf/page.prg - contrib/hbnf/vidmode.prg * contrib/hbnf/at2.prg * contrib/hbnf/blink.prg * contrib/hbnf/byteneg.prg * contrib/hbnf/cntryset.prg * contrib/hbnf/d2e.prg * contrib/hbnf/diskfunc.prg * contrib/hbnf/dispc.c * contrib/hbnf/elapmil.prg * contrib/hbnf/elapsed.prg * contrib/hbnf/findith.prg * contrib/hbnf/floptst.prg * contrib/hbnf/ftint86.c * contrib/hbnf/ftint86.ch * contrib/hbnf/getver.c * contrib/hbnf/getvid.c * contrib/hbnf/hbnf.hbp * contrib/hbnf/hbnf.hbx * contrib/hbnf/hex2dec.prg * contrib/hbnf/madd.prg * contrib/hbnf/menu1.prg * contrib/hbnf/mouse.c * contrib/hbnf/mouse1.prg * contrib/hbnf/nooccur.prg * contrib/hbnf/nwlstat.prg * contrib/hbnf/nwsem.prg * contrib/hbnf/nwuid.prg * contrib/hbnf/rand1.prg * contrib/hbnf/savearr.prg * contrib/hbnf/scregion.prg * contrib/hbnf/sinkey.prg * contrib/hbnf/sleep.prg * contrib/hbnf/tempfile.prg ! FT_MBUTPRS() fixed RTE ! fixed FT_DSKFREE(), also made it work on platform w/o drive letters ! fixed FT_DSKSIZE(), also made it work on platform w/o drive letters ! fixed FT_DOSVER() to return string type on all platforms + rewritten functions to use HB_BIT*() and hex number handling functions + rewritten FT_SLEEP() to use hb_idleSleep() internally % dispc.c rewritten to use hb_gtRectSize( 0, 0, 0, 0, &nSize ) to find out cell size and cleaned code to adapt with minimal redundancy % optimized out several .prg level stubs % using SWITCH, hb_default(), hb_ntos() in some more places * removed some unuseful macros * minor formatting + fixed warnings and errors and enabled mouse1.prg % deleted outdated and duplicate mouse2.prg % deleted lots of MS-DOS specific commented code ! deleted #include for stdlib.h and string.h * include/hbapigt.h * src/rtl/gtapi.c - deleted just added hb_gtIsCompatBuffer(). It's better to use hb_gtRectSize( 0, 0, 0, 0, &nSize ) for this purpose. * contrib/hbformat/hbfmtcls.prg * minor formatting 2012-10-16 12:29 UTC+0200 Viktor Szakats * contrib/hbnf/bitclr.prg * contrib/hbnf/bitset.prg * contrib/hbnf/byt2bit.prg * contrib/hbnf/byt2hex.prg * contrib/hbnf/byteand.prg * contrib/hbnf/bytenot.prg * contrib/hbnf/byteor.prg * contrib/hbnf/bytexor.prg * contrib/hbnf/ftint86.ch * contrib/hbnf/isbit.prg * contrib/hbnf/isbiton.prg * contrib/hbnf/tempfile.prg % reworked bit functions to use HB_BIT*() * contrib/hbnf/workdays.prg * deleted unnecessary parentheses 2012-10-16 11:12 UTC+0200 Viktor Szakats * contrib/hbnf/acctmnth.prg * contrib/hbnf/acctqtr.prg * contrib/hbnf/acctweek.prg * contrib/hbnf/aemaxlen.prg * contrib/hbnf/aeminlen.prg * contrib/hbnf/aredit.prg * contrib/hbnf/clrsel.prg * contrib/hbnf/dayofyr.prg * contrib/hbnf/elapsed.prg * contrib/hbnf/month.prg * contrib/hbnf/qtr.prg * contrib/hbnf/tbwhile.prg * contrib/hbnf/week.prg * contrib/hbnf/xbox.prg % optimizations (cleaned constructs, opt out variables, use SWITCH) ! FT_AEMINLEN() fixed to return proper length for strings larger than Clipper's maximum. * use K_ENTER instead of K_RETURN (to use uniformly K_ENTER in repo) * contrib/hbnf/popadder.prg * use hb_keyCode() instead of hardwired key numbers * contrib/hbmisc/hbedit.prg * contrib/hbmysql/tsqlbrw.prg * contrib/xhb/xhbtedit.prg * src/rtl/teditor.prg * tests/ac_test.prg * tests/ac_test2.prg * tests/sbartest.prg * use K_ENTER instead of K_RETURN (to use uniformly K_ENTER in repo) * contrib/hbnf/tests/datecnfg.prg ! use a non-current date for better testing * use simpleio.ch * contrib/hbnf/aavg.prg * contrib/hbnf/adessort.prg * contrib/hbnf/anomatch.prg * contrib/hbnf/any2any.prg * contrib/hbnf/asum.prg * formatting 2012-10-15 15:22 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/gtwvg/gtwvg.c ! Handling of K_ALT_COMMA and K_ALT_PERIOD has been added. Brought from GTWVT - by Kresin. 2012-10-15 22:42 UTC+0200 Viktor Szakats * src/rtl/teditor.prg ! fixed typo in 2012-10-11 00:43 UTC+0200 Thanks to Rafal K for the report * contrib/hbnf/calendar.prg * minor 2012-10-15 22:14 UTC+0200 Viktor Szakats * tests/tstgtapi.c ! fixed to compile with current GT API * contrib/hbfbird/firebird.c ! fixed to use ANSI C comments * contrib/hbfbird/tfirebrd.prg ! fixed possible typo in prev in using 'FBGetdata( qry, 1 )' instead of 'FBGetdata( qry, 3 )' ! formatted, long line split. * ChangeLog + added incompatibiliy note to 2012-10-15 21:48 UTC+0200. it will now force field names to their aliases. 2012-10-15 21:48 UTC+0200 Jacek Kubica (jkubica/at/wssk.wroc.pl) * contrib/hbfbird/tfirebrd.prg * contrib/hbfbird/firebird.c + added missing support for aliases in sql queries [INCOMPATIBLE] ! proper translation sql TIMESTAMP -> Harbour's T value type 2012-10-15 21:27 UTC+0200 Viktor Szakats * contrib/gtwvg/wvgwin.c ! casts added after previous mod 2012-10-15 19:51 UTC+0200 Viktor Szakats * include/hbapigt.h * src/rtl/gtapi.c + added HB_BOOL hb_gtCompatBuffer() to return the status of HB_GTI_COMPATBUFFER setting. BTW, shouldn't the default setting be changed to be Clipper compatible? * contrib/hbnf/dispc.c + added support for the now default HB_GTI_COMPATBUFFER == .F. mode. % exit char string is now internally converted to a keycode list. * use HB_UCHAR (was char) for buffer cells. * FIXME changed for support for input file encoding and translating this to unicode when putting to screen. * contrib/hbnf/dfile.prg + FT_DFSETUP() 9th parameter got a Harbour extension by enabling an old low-level feature to be able to pass list of exist chars as array of numerics. This is unicode compatible. * contrib/hbnf/tests/dfile.prg + Pass array of numerics to FT_DFSETUP() function, which make K_F3 exit key work. + Display keyboard as number and as char in unicode compatible way. * utils/hbmk2/hbmk2.prg * explicitly turn off HB_GTI_COMPATBUFFER for scripts to not depend on Harbour default 2012-10-15 19:33 UTC+0200 Viktor Szakats * contrib/hbnf/dispc.c + added support for unicode buffers * contrib/hbnf/dfile.prg * contrib/hbnf/tests/dfile.prg 2012-10-15 19:03 UTC+0200 Viktor Szakats * contrib/hbnf/dispc.c % pass around low-level structure as parameter to internal functions instead of using TSD 2012-10-15 18:32 UTC+0200 Viktor Szakats * contrib/make.hb * extras/httpsrv/uhttpd.prg * tests/ac_test2.prg * tests/alias.prg * tests/begin.prg * tests/db_brows.prg * tests/memfile.prg * tests/omacro.prg * tests/sbartest.prg * tests/switch.prg * tests/testget.prg * tests/testpp.prg * tests/tstblock.prg * tests/varparam.prg * use m_ prefix for PRIVATEs, p_ for PUBLICs and s[c]_ for STATICs % optimized out some PRIVATEs % use hb_Disp*() instead of @ SAY in db_browse.prg (this fixes cursor flickering) * ChangeLog ! typos * utils/hbtest/rt_class.prg * utils/hbtest/rt_math.prg * formatting 2012-10-15 15:21 UTC+0200 Viktor Szakats * contrib/hbformat/hbfmtcls.prg * new FIXME: "end class" is converted to "end CLASS" instead of "END CLASS" * contrib/gtwvg/3state.prg * contrib/gtwvg/activex.prg * contrib/gtwvg/bitmap.prg * contrib/gtwvg/checkbox.prg * contrib/gtwvg/class.prg * contrib/gtwvg/combobox.prg * contrib/gtwvg/crt.prg * contrib/gtwvg/dataref.prg * contrib/gtwvg/dialog.prg * contrib/gtwvg/drawarea.prg * contrib/gtwvg/htmlview.prg * contrib/gtwvg/listbox.prg * contrib/gtwvg/menubar.prg * contrib/gtwvg/mle.prg * contrib/gtwvg/parthdlr.prg * contrib/gtwvg/pushbut.prg * contrib/gtwvg/radiobut.prg * contrib/gtwvg/scrollbr.prg * contrib/gtwvg/sle.prg * contrib/gtwvg/statbar.prg * contrib/gtwvg/static.prg * contrib/gtwvg/syswnd.prg * contrib/gtwvg/tabpage.prg * contrib/gtwvg/toolbar.prg * contrib/gtwvg/treeview.prg * contrib/gtwvg/wnd.prg * contrib/hbgd/gdbarcod.prg * contrib/hbgd/gdchart.prg * contrib/hbgd/gdimage.prg * contrib/hbtip/client.prg * contrib/hbtip/url.prg * contrib/xhb/hblog.prg * contrib/xhb/hblognet.prg * contrib/xhb/hjwindow.prg * contrib/xhb/htjlist.prg * contrib/xhb/htmutil.prg * contrib/xhb/tcgi.prg * contrib/xhb/tfile.prg * contrib/xhb/trpc.prg * contrib/xhb/trpccli.prg * contrib/xhb/ttable.prg * contrib/xhb/txml.prg * contrib/xhb/xhbtedit.prg * doc/clipper.txt * doc/en/command.txt * doc/en/objfunc.txt * extras/gtwvw/tests/drawimg.prg * extras/gtwvw/tests/wvwmouse.prg * extras/hbdoc/genbase.prg * extras/hbdoc/genhtml.prg * extras/hbdoc/gentxt.prg * extras/hbdoc/tmplates.prg * extras/httpsrv/cookie.prg * extras/httpsrv/modules/tableservletdb.prg * extras/httpsrv/session.prg * tests/testdecl.prg * changed code to use Class(y) OOP syntax DATA -> VAR, CLASSDATA -> CLASS VAR, CLASS -> CREATE CLASS (except ENDCLASS -> END CLASS, because hbformat doesn't recognize it yet) 2012-10-15 16:20 UTC+0300 Alexander Kresin <alex at belacy.belgorod.su> * harbour/src/rtl/gtwvt/gtwvt.c ! Handling of K_ALT_COMMA and K_ALT_PERIOD has been added. 2012-10-15 13:55 UTC+0200 Viktor Szakats * contrib/gtwvg/wvgwin.c * contrib/hbamf/amfdec.c * contrib/hbamf/amfenc.c * contrib/hblzf/core.c * contrib/hbpgsql/postgres.c * contrib/hbxdiff/core.c * contrib/hbzebra/codabar.c * contrib/hbzebra/code39.c * contrib/hbzebra/code93.c * contrib/hbzebra/core.c * contrib/hbzebra/qrcode.c * contrib/rddads/ads1.c ! fixed various 64-bit problems revealed by compiler warnings (used casts, changed variables type, changed Harbour API functions, please review especially hbamf, hbzebra and gtwvg) * extras/httpsrv/uhttpd.prg + changed to use keyboard events to detect window close, instead of deprecated and now dummy feature HB_GTI_NOTIFIERBLOCK 2012-10-15 13:43 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/contrib/hbwin/win_prn1.c ! disabled EnumFontFamiliesEx() in WinCE builds 2012-10-15 13:34 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/src/compiler/harbour.y * harbour/src/compiler/harbour.yyc ! removed unnecessary HB_P_POP in empty switch statement 2012-10-15 12:57 UTC+0200 Viktor Szakats * contrib/hbpgsql/tests/simple.prg ! fixed SQL query syntax (via xhb) 2012-10-15 12:20 UTC+0200 Viktor Szakats * contrib/hbformat/hbfmtcls.prg * new FIXME: ".T.," / ".F.," gets wrongly corrected to ".T. ," / ".F. ," * contrib/hbct/tests/atrepl.prg * contrib/hbct/tests/ctwtest.prg * contrib/hbct/tests/datetime.prg * contrib/hbgd/gdbar.prg * contrib/hbgd/gdbarcod.prg * contrib/hbgd/tests/barms.prg * contrib/hbgd/tests/bartest.prg * contrib/hbgd/tests/gdtestcl.prg * contrib/hbgd/tests/test_out.prg * contrib/hbhpdf/tests/harupdf.prg * contrib/hbmisc/fcomma.prg * contrib/hbnf/calendar.prg * contrib/hbnf/dispmsg.prg * contrib/hbnf/floptst.prg * contrib/hbnf/ftround.prg * contrib/hbnf/mouse1.prg * contrib/hbnf/pegs.prg * contrib/hbnf/popadder.prg * contrib/hbnf/tempfile.prg * contrib/hbnf/tests/aading.prg * contrib/hbnf/tests/calendar.prg * contrib/hbnf/tests/clrsel.prg * contrib/hbnf/tests/dispmsg.prg * contrib/hbnf/tests/findith.prg * contrib/hbnf/tests/menu1.prg * contrib/hbnf/tests/tbwhile.prg * contrib/hbnf/tests/vertmenu.prg * contrib/hbsqlit3/tests/authoriz.prg * contrib/hbsqlit3/tests/backup.prg * contrib/hbsqlit3/tests/hooks.prg * contrib/hbsqlit3/tests/metadata.prg * contrib/hbsqlit3/tests/pack.prg * contrib/hbsqlit3/tests/sl3_test.prg * contrib/hbtip/sendmail.prg * contrib/hbtip/tests/base64.prg * contrib/hbtip/tests/httpadv.prg * contrib/hbtip/thtml.prg * contrib/hbtpathy/telepath.prg * contrib/hbwin/tests/testole.prg * contrib/rddads/tests/datad.prg * contrib/rddads/tests/testmg.prg * contrib/rddsql/tests/arrayrdd.prg * contrib/sddmy/tests/test1.prg * contrib/sddoci/tests/test1.prg * contrib/sddodbc/tests/test1.prg * contrib/sddodbc/tests/test2.prg * contrib/sddsqlt3/tests/test1.prg * contrib/xhb/dumpvar.prg * contrib/xhb/hblog.prg * contrib/xhb/trpc.prg * contrib/xhb/trpccli.prg * contrib/xhb/ttable.prg * contrib/xhb/xcstr.prg * contrib/xhb/xhberr.prg * contrib/xhb/xhbtedit.prg * extras/gtwvw/tests/cbtest6.prg * extras/gtwvw/tests/drawimg.prg * extras/gtwvw/tests/ebtest7.prg * extras/gtwvw/tests/maximize.prg * extras/gtwvw/tests/prog0.prg * extras/gtwvw/tests/prog1.prg * extras/gtwvw/tests/prog2.prg * extras/gtwvw/tests/wvwtest9.prg * extras/hbvpdf/hbvpdf.prg * extras/hbvpdf/tests/pdf_demo.prg * extras/httpsrv/modules/info.prg * extras/httpsrv/modules/showcounter.prg * tests/ac_test2.prg * tests/adirtest.prg * tests/and_or.prg * tests/brwpos.prg * tests/clasname.prg * tests/extend1.prg * tests/newrdd.prg * tests/testbrw.prg * tests/testcdx.prg * tests/testdbf.prg * tests/transtst.prg * tests/tstasort.prg * tests/usrrdd/exarr.prg * tests/usrrdd/exhsx.prg * formatting (mostly fixing one formatting error by hbformat) 2012-10-15 11:01 UTC+0200 Viktor Szakats * contrib/gtwvg/class.prg * contrib/gtwvg/parthdlr.prg * contrib/gtwvg/radiobut.prg * contrib/gtwvg/toolbar.prg * contrib/gtwvg/wnd.prg * contrib/hbnf/doc/en/amedian.txt * contrib/hbnf/doc/en/ftidle.txt * contrib/hbnf/doc/en/iamidle.txt * contrib/hbnf/tests/datecnfg.prg * contrib/hbsqlit3/tests/sl3_test.prg * contrib/hbtip/tests/ftpadv.prg * contrib/hbtip/tests/httpadv.prg * contrib/xhb/hblog.prg * contrib/xhb/htmutil.prg * contrib/xhb/sprintf.prg * doc/clipper.txt * extras/gtwvw/tests/ebtest7.prg * extras/gtwvw/tests/maximize.prg * extras/gtwvw/tests/prog0.prg * extras/gtwvw/tests/prog1.prg * extras/gtwvw/tests/prog2.prg * extras/gtwvw/tests/wvwmouse.prg * extras/gtwvw/tests/wvwtest9.prg * extras/hbdoc/hbdoc.prg * extras/httpsrv/cookie.prg * extras/httpsrv/session.prg * src/rtl/tbrowse.prg * tests/destruct.prg * tests/switch.prg * tests/t1.prg * tests/testbrw.prg * tests/tstuse.prg * utils/hbmk2/hbmk2.prg * utils/hbtest/rt_math.prg * END -> END* * other minor cleanups and formatting 2012-10-15 04:48 UTC+0200 Viktor Szakats * extras/guestbk/inifiles.prg * tests/inifiles.prg * synced 2012-10-15 04:42 UTC+0200 Viktor Szakats * extras/guestbk/inifiles.prg * extras/guestbk/testcgi.prg * tests/inifiles.prg * tests/stripem.prg * tests/testhtml.prg + changed low-level class creation to hbclass.ch one * extras/guestbk/guestbk.hbp * minor 2012-10-15 04:12 UTC+0200 Viktor Szakats * contrib/gtwvg/tests/activex.prg * contrib/gtwvg/tests/demowvg.prg * contrib/gtwvg/tests/demowvg1.prg * contrib/gtwvg/tests/demoxbp.prg * contrib/gtwvg/tests/tbrowser.prg * contrib/hbhpdf/tests/harupdf.prg * contrib/hbmisc/fileread.prg * contrib/xhb/tcgi.prg * extras/gtwvw/tests/ebtest7.prg * extras/gtwvw/tests/maximize.prg * extras/gtwvw/tests/wvwtest9.prg * extras/hbxlsxml/xlsxml.prg * extras/httpsrv/session.prg * tests/alias.prg * tests/begin.prg * tests/byref.prg * tests/funcarr.prg * tests/testwarn.prg * tests/wvtext.prg * renamed STATIC vars to start with 's_' * renamed PUBLIC/PRIVATE vars to start with 'p_' * renamed STATIC "const" vars to start with 'sc_' * contrib/hbhpdf/tests/harupdf.prg ! fixed unused STATIC function warnings * contrib/hbmisc/tests/rtfclass.prg + changed low-level class creation to hbclass.ch one 2012-10-15 03:39 UTC+0200 Viktor Szakats - contrib/hbmysql/utils - contrib/hbmysql/utils/dbf2mysq.prg - contrib/hbmysql/utils/hbmk.hbm + contrib/hbmysql/tests/dbf2mysq.prg * moved to tests (in sync with hbpgsql) * src/rtl/hbi18n2.prg ! fixed to use HB_ASCAN() instead of ASCAN() when 5th extension parameter is used. * src/debug/debugger.prg * contrib/hbfbird/tfirebrd.prg * contrib/hbnf/clrsel.prg * contrib/hbmysql/tmysql.prg * contrib/hbmysql/tests/dbf2mysq.prg * contrib/hbtip/ftpcli.prg * extras/hbdoc/hbdoc.prg * extras/hbdoc/tmplates.prg ! use HB_ASCAN( x, y,,, .T. ) to avoid relying on _SET_EXACT % use ASCAN() instead of HB_ASCAN() if Harbour extension is not used (hbdoc) * contrib/gtwvg/tests/modal.prg ! use HB_ASCAN( x, y,,, .T. ) to avoid relying on _SET_EXACT ! use HB_KEYCHAR() instead of CHR() on key codes * contrib/xhb/tedit.prg * contrib/xhb/thtm.prg * contrib/xhb/xhbole.prg * tests/fortest.prg * tests/initexit.prg * tests/statinit.prg * tests/vidtest.prg * tests/rddtest/rddtst.prg * extras/hbdoc/hbdoc.prg * renamed STATIC vars to start with 's_' * renamed PUBLIC/PRIVATE vars to start with 'p_' * renamed STATIC "const" vars to start with 'sc_' * contrib/hbsqlit3/hdbcsqlt.prg * contrib/xhb/tedit.prg * hbformatted * contrib/sddmy/tests/test1.prg * contrib/xhb/tcgi.prg * contrib/xhb/thtm.prg * tests/brwpos.prg * formatting 2012-10-15 01:58 UTC+0200 Viktor Szakats * contrib/gtwvg/genrc.prg * contrib/gtwvg/tests/dyndlgs.prg * contrib/gtwvg/tests/tbrowser.prg * contrib/xhb/hbcomprs.prg * src/debug/dbgtmenu.prg * src/debug/debugger.prg * tests/mt/mttest05.prg * tests/mt/mttest12.prg * renamed THREAD STATIC vars to start with 't_' * minor formatting * tests/mousetst.prg * END IF -> ENDIF 2012-10-15 01:39 UTC+0200 Viktor Szakats * contrib/hbmisc/hb_f.c + added MT compatibility by moving static vars to a structure and that structure to TSD ! converted two global buffers to local ones, plus fixed some wrong code around that ; QUESTION: This is duplicate and dumbed down code from HBNF. What is the point of having it maintained, when one can just use the ones in HBNF? * contrib/hbmisc/calldll.prg ! added mutex protection around STATIC usage * contrib/hbmisc/numtxtru.prg ! sc_ prefix added to STATIC variable names * contrib/hbmisc/hbedit.prg ! STATIC converted to THREAD STATIC * unused constant deleted * contrib/hbmisc/spd.c * contrib/hbmisc/dates2.c % static vectors set to const and renamed * contrib/hbnf/fttext.c * minors 2012-10-15 00:37 UTC+0200 Viktor Szakats + contrib/hbnf/tests/fttext.prg + added test code for FTTEXT API * contrib/hbnf/fttext.c + added MT compatibility by moving static vars to a structure and that structure to TSD * contrib/hbnf/menutonf.prg * use HB_KEYPUT() instead of FT_PUTKEY() * extras/gtwvw/tests/cbtest1.prg * extras/gtwvw/tests/cbtest6.prg * extras/gtwvw/tests/inpfocus.prg * extras/gtwvw/tests/wvwmouse.prg * KEYBOARD/__KEYBOARD() -> hb_keyPut() * extras/gtwvw/tests/inpfocus.prg ! Do not use K_* constants for characters. * contrib/gtwvg/tests/demowvg.prg * extras/gtwvw/tests/wvwtest9.prg * minor code cleanup * contrib/gtwvg/class.prg * contrib/gtwvg/menubar.prg * contrib/gtwvg/paint.prg * contrib/hbct/fcopy.prg * contrib/hbcups/tests/test.prg * contrib/hbcurl/tests/ftp_uldl.prg * contrib/hbmisc/hb_f.c * contrib/hbmisc/tests/testhbf.prg * contrib/hbmysql/utils/dbf2mysq.prg * contrib/hbnf/amedian.prg * contrib/hbnf/tests/dfile.prg * contrib/hbpgsql/tests/dbf2pg.prg * contrib/hbpgsql/tests/test.prg * contrib/hbtip/tests/upld_ftp.prg * contrib/hbwin/tests/testcopy.prg * contrib/hbwin/tests/testmapi.prg * contrib/xhb/tests/testcp.prg * contrib/xhb/xhbtedit.prg * tests/ac_test.prg * tests/db_brows.prg * tests/stripem.prg * tests/testhtml.prg * deleted references to self-filename, or replaced them with __FILE__, so they will continue to work (and there won't be outdated comments) when files are renamed. * tests/sbartest.prg * minor 2012-10-14 22:43 UTC+0200 Viktor Szakats * contrib/hbnf/dispc.c ! static vars moved to a structure and that structure moved to TSD so it's now MT compatible. * contrib/hbnf/datecnfg.prg % FT_DATECNFG() do not set _SET_DATEFORMAT internally * contrib/hbnf/pegs.prg + doesn't use THREAD STATIC anymore, but reentrant code * contrib/hbnf/savearr.prg + do not use PRIVATE var. * FIXME added. This code only works with CENTURY OFF and the on-disk format is dependent on _SET_DATEFORMAT. * contrib/hbnf/woy.prg % FT_WOY()/FT_DOY(): optimized out legacy hacks dealing with century handling and CTOD() usage. * contrib/hbnf/year.prg * avoided one internal CTOD() call. % do not set _SET_DATEFORMAT internally * contrib/hbnf/dfile.prg * use fileio.ch constant * contrib/hbnf/tests/calendar.prg * contrib/hbnf/tests/datecnfg.prg * contrib/hbnf/tests/menu1.prg * contrib/hbnf/tests/savearr.prg * contrib/hbnf/tests/setdate.prg * contrib/hbnf/tests/tbwhile.prg * contrib/hbnf/tests/wda.prg * contrib/hbnf/tests/workdays.prg * contrib/hbnf/tests/woy.prg ! avoid using CTOD() (use date type and STOD() instead) + SET CENTURY ON where dates are displayed + hb_langSelect( "en" ) where output has language dependent strings + FIXME added where NF code is incompatible with CENTURY ON (and RTEs) + use LOCAL instead of MEMVAR * contrib/gtwvg/hbgtwvg.ch * include/hbgtinfo.ch * Marked deprecated and unused HB_GTE_* constants with HB_LEGACY_LEVEL4. INCOMPATIBLE. Use locally defined constants for these or HB_K_* constants from inkey.ch or hbgtwvg.ch if you use contrib/GTWVG. * contrib/hbnf/doc/en/acctadj.txt * contrib/hbnf/doc/en/acctmnth.txt * contrib/hbnf/doc/en/acctqtr.txt * contrib/hbnf/doc/en/acctweek.txt * contrib/hbnf/doc/en/acctyear.txt * contrib/hbnf/doc/en/dayofyr.txt * contrib/hbnf/doc/en/daytobow.txt * contrib/hbnf/doc/en/elapsed.txt * contrib/hbnf/doc/en/firstday.txt * contrib/hbnf/doc/en/lastday.txt * contrib/hbnf/doc/en/madd.txt * contrib/hbnf/doc/en/month.txt * contrib/hbnf/doc/en/qtr.txt * contrib/hbnf/doc/en/savearr.txt * contrib/hbnf/doc/en/setdate.txt * contrib/hbnf/doc/en/stod.txt * contrib/hbnf/doc/en/wda.txt * contrib/hbnf/doc/en/week.txt * contrib/hbnf/doc/en/workdays.txt * contrib/hbnf/doc/en/woy.txt * contrib/hbnf/doc/en/year.txt ! use STOD() instead of setting dependent (and not Y2K compatible) CTOD() 2012-10-14 20:28 UTC+0200 Viktor Szakats * contrib/hbnetio/tests/netiot03.prg * use Asc( "A" ) instead of 65. (still lot more to do for EBCDIC compatibility, though) * src/rtl/memoedit.prg ! do not use K_TAB for tab character * tests/gtchars.prg * minor change to make it work better when run as script * tests/vidtest.prg * minor formatting 2012-10-14 15:09 UTC+0200 Viktor Szakats * contrib/gtwvg/class.prg * changed GET to Get():New() % minor optimization to GET handling ; Check me I'm unsure how to test this part * contrib/hbnf/pegs.prg * changed GETs to Get():New() ! replaced GetList memvar with a LOCAL ; FIXME: It offers wrong move suggestions in some cases + contrib/hbnf/tests/pegs.prg + added test app for FT_PEGS() * contrib/hbnf/tests/menu1.prg ! fixed to use RETURN (not QUIT) at the end of Main() * tests/setkeys.prg ! unicode keyboard handling fixes * use ?/?? instead of [Q]QOUT() * utils/hbmk2/hbmk2.prg % minor GetList related optimization in shell prompt * contrib/gtwvg/tests/demowvg.prg + SET CENTURY ON 2012-10-13 20:38 UTC+0200 Viktor Szakats * src/rtl/setfunc.prg * src/rtl/tlabel.prg * tested new hbformat. * more manual corrections. (actually it seems as if hbformat silently stopped doing any reformatting past around line 150 in tlabel.prg) 2012-10-13 18:40 UTC+0200 Viktor Szakats * src/rtl/tlabel.prg * cleaned to use DISP*()/SETPOS() functions instead of @ commands (DEV*() functions). The code already use f.e HB_SCROLL() and INKEY(). 2012-10-13 11:03 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! fixed to recognize built-in .hbm files even if a dir was present in the name (e.g. when referencing a built-in .hbm from another referenced .hbm) * contrib/hbnf/menu1.prg * contrib/hbnf/popadder.prg ! FT_Adder() fixed to use proper drawing chars for single boxes % changed to use codeblock as achoice() use func % optimized out one THREAD STATIC var in FT_Adder() 2012-10-12 19:52 UTC+0200 Viktor Szakats * contrib/hbodbc/browodbc.prg * missed two @ commands to convert 2012-10-12 18:57 UTC+0200 Viktor Szakats * contrib/hbnf/aredit.prg * contrib/hbnf/blink.prg * contrib/hbnf/calendar.prg * contrib/hbnf/clrsel.prg * contrib/hbnf/dispmsg.prg * contrib/hbnf/menu1.prg * contrib/hbnf/nwsem.prg * contrib/hbnf/pegs.prg * contrib/hbnf/pending.prg * contrib/hbnf/popadder.prg * contrib/hbnf/xbox.prg * Changed @ commands (except GETs and PROMPTs) to hb_Disp*() counterparts. It may introduce small incompatibilities, maybe even some regressions, where cursor positioning was relying on old functions. Pls report if you've found or seen something. 2012-10-12 17:38 UTC+0200 Viktor Szakats * contrib/hbmisc/hbedit.prg * contrib/hbmisc/twirler.prg * contrib/hbodbc/browodbc.prg * contrib/xhb/xhbtedit.prg * use HB_DISPOUTAT() instead of @ SAY ; TODO: hbnf [DONE] * contrib/hbmisc/hbedit.prg * some unicode compatibility fixes * src/rtl/profiler.prg * minor 2012-10-12 17:25 UTC+0200 Viktor Szakats * contrib/hbmysql/utils/dbf2mysq.prg * formatting. for some reason hbformat misses to uppercase one specific FOR/NEXT loop. * contrib/hbnf/menu1.prg * contrib/hbnf/pegs.prg * contrib/hbnf/vertmenu.prg * extras/gtwvw/tests/prog0.prg * extras/gtwvw/tests/prog1.prg * extras/gtwvw/tests/prog2.prg * tests/db_brows.prg * tests/onidle.prg * tests/scroll.prg * tests/testbrw.prg % replaced DEVPOS()/DEVOUT() with HB_DISPOUTAT()/SETPOS() calls * include/harbour.hbx * contrib/hbnf/aredit.prg * contrib/hbnf/tbwhile.prg * extras/gtwvw/tests/prog0 * extras/gtwvw/tests/prog1 * extras/gtwvw/tests/prog2 * extras/gtwvw/tests/wvwtest9 * tests/brwpos.prg * tests/tb1.prg * tests/testbrw.prg ! fixed some function names wrongly camelcased * src/rtl/profiler.prg * formatted + added parameter list to METHOD declarations * tests/testprof.prg * replaced with copy embedded in src/rtl/profiler.prg * formatted * tests/wcecon.prg ! unicode fix 2012-10-12 16:31 UTC+0200 Viktor Szakats * contrib/xhb/xhbtedit.prg * formatting 2012-10-12 16:27 UTC+0200 Viktor Szakats * contrib/hbnf/menu1.prg * contrib/hbnf/popadder.prg * contrib/hbnf/tbwhile.prg % using color setting ability of HB_DISP*()/HB_SCROLL() function 2012-10-12 16:05 UTC+0200 Viktor Szakats * contrib/hbmisc/hbedit.prg * contrib/hbnf/clrsel.prg * contrib/hbnf/menu1.prg * contrib/hbnf/pegs.prg * contrib/hbnf/pending.prg * contrib/hbnf/pickday.prg * contrib/hbnf/popadder.prg * contrib/hbnf/tbwhile.prg * contrib/hbnf/vertmenu.prg * contrib/hbnf/xbox.prg * tests/db_brows.prg * tests/testbrw.prg * @ CLEAR TO -> hb_Scroll() * @ BOX -> hb_DispBox() * tests/testbrw.prg % hb_DispOutAt() instead of @ SAY and saving/restoring position * contrib/gtwvg/class.prg * contrib/gtwvg/tests/cuigdlgs.prg * contrib/gtwvg/tests/demowvg.prg * contrib/gtwvg/tests/demowvg1.prg * contrib/gtwvg/tests/wvtcls.prg * extras/gtwvw/tests/wvwtest9.prg % PAD() -> PADR() 2012-10-12 15:34 UTC+0200 Viktor Szakats * contrib/gtwvg/class.prg * contrib/gtwvg/tests/demowvg.prg * contrib/gtwvg/tests/demowvg1.prg * contrib/gtwvg/tests/modal.prg * contrib/gtwvg/tests/tbrowser.prg * contrib/gtwvg/tests/utils.prg * contrib/hbmisc/hbedit.prg * contrib/hbnetio/utils/hbnetio/netiocon.prg * contrib/hbnf/popadder.prg * contrib/xhb/ttable.prg * contrib/xhb/xhbtedit.prg * extras/gtwvw/tests/maincoor.prg * extras/gtwvw/tests/prog0.prg * extras/gtwvw/tests/prog1.prg * extras/gtwvw/tests/prog2.prg * src/debug/dbghelp.prg * src/debug/dbgtwin.prg * src/debug/debugger.prg * tests/db_brows.prg * tests/testprof.prg * DispOut*() -> hb_DispOut*() * DispBox*() -> hb_DispBox*() * Scroll()/CLEAR TO -> hb_Scroll() ; For being MT-friendly and more efficient/flicker-free in general ; Please review if I had missed some places where the legacy API usage was actually intentional to position the cursor. (e.g. some places in gtwvg) * tests/gtstdtst.prg * minor 2012-10-12 15:06 UTC+0200 Viktor Szakats * src/rdd/usrrdd/rdds/arrayrdd.prg ! fixed negative index on array + contrib/xhb/tests/decode.prg * contrib/xhb/decode.prg * moved test code to separate file ! fixed test code to run % optimized an internal function * contrib/hbgd/gdbarcod.prg * use local constant instead of literals * contrib/xhb/cstruct.prg * formatting 2012-10-12 15:05 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/package/harbour.spec ! reenbaled ldconfig in post install/uninstall harbour-li*.rpm scripts 2012-10-12 14:19 UTC+0200 Viktor Szakats * contrib/hbhttpd/core.prg * contrib/hbhttpd/widgets.prg * contrib/hbpgsql/tests/cache.prg * extras/hbxlsxml/xlsxml_s.prg * extras/hbxlsxml/xlsxml_y.prg * extras/hbxlsxml/xlsxml.prg * extras/httpsrv/cgifunc.prg * extras/httpsrv/cookie.prg * extras/httpsrv/session.prg * extras/httpsrv/uhttpd.prg * src/rtl/dirscan.prg % LTRIM(STR(x,y)) converted to hb_ntos() where y had no significance or just limited the width unnecessarily % ValType() usage converted to HB_IS*() or optimized by rearragement of code or using SWITCH/CASE 2012-10-12 11:16 UTC+0200 Viktor Szakats * contrib/hbgd/gdbarcod.prg % AllTrim() removed from around Str( n, 1 ) * FIXME added to gdbarcod.prg in one place where Str( n, 1 ) is used and the value can be 10. [DONE] * contrib/gtwvg/tests/dyndlgs.prg * extras/hbxlsxml/tests/example.prg * tests/ac_test.prg * tests/aliaslck.prg * tests/gtstdtst.prg * tests/rto_get.prg * tests/rto_tb.prg * tests/teststr.prg * *LTRIM(STR()) -> hb_ntos() including cases where a size limit was used, but it was unnecessary. #define added for Clipper where needed. * contrib/hbnf/ntow.prg % LTrim( Str( n, 0 ) ) -> hb_ntos() zero is currected to 10 by runtime. Plus minor opt. * contrib/hbnf/acctmnth.prg * contrib/hbnf/acctqtr.prg * contrib/hbnf/acctweek.prg * contrib/hbnf/dayofyr.prg * contrib/hbnf/month.prg * contrib/hbnf/qtr.prg * contrib/hbnf/week.prg % PAD(*TRIM(STR()),,"0") -> StrZero() * extras/hbxlsxml/xlsxml_s.prg * extras/hbxlsxml/xlsxml_y.prg * extras/hbxlsxml/xlsxml.prg * website/samples/dates3.prg.html * website/samples/dates4.prg.html * website/samples/testcgi.prg.html * website/samples/testhtml.prg.html * hb_osnewline() -> hb_eol() 2012-10-12 10:25 UTC+0200 Viktor Szakats * contrib/hbhpdf/tests/harupdf.prg * contrib/hbmisc/numtxthu.prg * src/debug/dbgtarr.prg * src/debug/dbgthsh.prg * tests/mt/mttest04.prg * tests/mt/mttest05.prg * tests/mt/mttest06.prg * tests/mt/mttest07.prg * *LTRIM(STR()) -> hb_ntos() ; In some places (e.g. debug lib) artificial size limits have been removed. * extras/gtwvw/tests/maincoor.prg ! fixed LTRIM(STR()) conversion with a zero size * contrib/gtwvg/class.prg * contrib/gtwvg/tests/dyndlgs.prg * contrib/hbct/tests/attoken.prg * contrib/hbct/tests/charnot.prg * contrib/hbct/tests/charrll.prg * contrib/hbct/tests/charrlr.prg * contrib/hbct/tests/charshl.prg * contrib/hbct/tests/charshr.prg * contrib/hbct/tests/csetarge.prg * contrib/hbct/tests/token.prg * contrib/hbct/tests/tokensep.prg ! fixed recent manual s&r error resulting in Q? instead of ?? * minor formatting 2012-10-12 01:41 UTC+0200 Viktor Szakats * extras/hbxlsxml/xlsxml.prg ! fixed missing UTF-8 mime-type svn prop * tests/gtkeys.prg ! fixed typo in recent mods causing it to fail under Clipper * contrib/hbunix/tests/testdmn.prg * contrib/xhb/tfile.prg * contrib/xhb/xhberr.prg * contrib/xhb/xhbtedit.prg * contrib/gtwvg/class.prg * contrib/gtwvg/tests/utils.prg * contrib/hbnf/dfile.prg * contrib/hbgd/tests/counter.prg * contrib/hbtip/tests/tipmime.prg * src/debug/debugger.prg * src/rtl/teditor.prg * src/rtl/typefile.prg * src/rdd/usrrdd/rdds/logrdd.prg * tests/testrdd2.prg * tests/inifiles.prg * extras/gtwvw/tests/drawimg.prg * extras/httpsrv/cgifunc.prg * extras/httpsrv/session.prg % File() -> hb_FileExists() ; pls review me in core * contrib/gtwvg/class.prg * contrib/gtwvg/menubar.prg * contrib/gtwvg/paint.prg * contrib/gtwvg/parthdlr.prg * contrib/gtwvg/tests/modal.prg * contrib/gtwvg/tests/utils.prg * contrib/gtwvg/toolbar.prg % VALTYPE() -> HB_IS*() and some related optimizations * tests/codebloc.prg * tests/newrdd.prg * tests/inkeytst.prg * tests/files.prg * tests/testrdd.prg * tests/wcecon.prg * tests/testrdd2.prg * tests/inifiles.prg * *LTRIM(STR()) -> hb_ntos() (keeping macro for Clipper where seemed necessary) 2012-10-11 23:35 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/src/common/hbprintf.c + added HB_NO_MODFL compile time macro. It can be used on some old systems which do not have modfl() function. In such case it's enough to set HB_USER_CFLAGS=-DHB_NO_MODFL 2012-10-11 20:59 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! fixed handling of -ku:<cp> option. Now hbmk2 will pass -ku to Harbour compiler, which seems to help, but I still can't see any effect of the <cp> passed, so still unsure if this is the way to go. See original commit here: 2012-04-23 20:31 UTC+0200 2012-10-11 20:47 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/src/rtl/gtwvt/gtwvt.h * harbour/src/rtl/gtwvt/gtwvt.c ! fixed some HB_GTI_* actions which could access pWVT->hWnd before console window in created. ! fixed reverted parameters passed in array to HB_GTI_SETPOS_ROWCOL ! removed hb_retl() used inside HB_GTI_SETPOS_XY, HB_GTI_SETPOS_ROWCOL actions. ! respect HB_GTI_SETPOS_XY, HB_GTI_SETPOS_ROWCOL set before console window in created. * harbour/src/rtl/gtxwc/gtxwc.c ! set fullscreen mode if user sets: hb_gtInfo( HB_GTI_ISFULLSCREEN, .t. ) hb_gtInfo( HB_GTI_RESIZABLE, .t. ) at application startup before console window in created. + added support for HB_GTI_SETPOS_XY, HB_GTI_SETPOS_ROWCOL 2012-10-11 20:37 UTC+0200 Viktor Szakats * extras/hbxlsxml/xlsxml.prg * extras/hbxlsxml/xlsxml_s.prg ! fixed long time broken charcodes in "OEM" to HTML conversion and accent stripping funcion. ! fixed "OEM" conversion and accent striping function to work with any HVM CP, even unicode * Chr( 141 ) removed from accent striping. Maybe it was meant as SOFTCR char, anyways, it was stripped to an empty char, not a non-accented one. - deleted AnsiToHtml() function (it did nothing) * renamed OEMTOHTML()/OEMTOHTMLESPECIAL() to STRTOHTML()/STRTOHTMLESPECIAL() * contrib/hbtip/thtml.prg ! minor fix in recently added StrToHTML() function to work well when HVM CP is dynamically changing at runtime 2012-10-11 19:52 UTC+0200 Viktor Szakats * contrib/3rd/sqlite3/sqlite3.c * contrib/3rd/sqlite3/sqlite3.dif * contrib/3rd/sqlite3/sqlite3.h * contrib/3rd/sqlite3/sqlite3.hbp * sqlite3 updated. https://sqlite.org/releaselog/3_7_14_1.html 2012-10-11 18:58 UTC+0200 Viktor Szakats * extras/rddado/adordd.prg * src/rtl/hbini.prg * utils/hbmk2/hbmk2.prg * use Chr(34) as string quote wherever possible 2012-10-11 18:07 UTC+0200 Viktor Szakats * contrib/hbblat/tests/blatcmd.prg * contrib/hbblat/tests/blattest.prg * contrib/hbbz2/tests/test.prg * contrib/hbcomm/tests/test.prg * contrib/hbcups/tests/test.prg * contrib/hbexpat/tests/test.prg * contrib/hbexpat/tests/tohash.prg * contrib/hbfbird/tests/simple.prg * contrib/hbfbird/tests/stress.prg * contrib/hbfbird/tests/test.prg * contrib/hbfimage/tests/fitest.prg * contrib/hbgs/tests/testgs.prg * contrib/hbhpdf/tests/harupdf.prg * contrib/hblzf/tests/test.prg * contrib/hbmagic/tests/hbmagit.prg * contrib/hbmemio/tests/test.prg * contrib/hbmxml/tests/custom.prg * contrib/hbmxml/tests/reminder.prg * contrib/hbmxml/tests/testmxml.prg * contrib/hbmysql/tests/test.prg * contrib/hbmzip/tests/myunzip.prg * contrib/hbmzip/tests/myzip.prg * contrib/hbodbc/tests/odbccall.prg * contrib/hbodbc/tests/odbcdemo.prg * contrib/hbodbc/tests/testodbc.prg * contrib/hbpgsql/tests/async.prg * contrib/hbpgsql/tests/cache.prg * contrib/hbpgsql/tests/dbf2pg.prg * contrib/hbpgsql/tests/simple.prg * contrib/hbpgsql/tests/stress.prg * contrib/hbpgsql/tests/test.prg * contrib/hbsms/tests/send.prg * contrib/hbsqlit3/tests/authoriz.prg * contrib/hbsqlit3/tests/backup.prg * contrib/hbsqlit3/tests/blob.prg * contrib/hbsqlit3/tests/hdbctest.prg * contrib/hbsqlit3/tests/hooks.prg * contrib/hbsqlit3/tests/metadata.prg * contrib/hbsqlit3/tests/pack.prg * contrib/hbsqlit3/tests/sl3_test.prg * contrib/hbssl/tests/bio.prg * contrib/hbssl/tests/crypt.prg * contrib/hbssl/tests/digest.prg * contrib/hbssl/tests/encode.prg * contrib/hbssl/tests/pem.prg * contrib/hbssl/tests/test.prg * contrib/hbtip/tests/base64.prg * contrib/hbtip/tests/dbtohtml.prg * contrib/hbtip/tests/dnldftp.prg * contrib/hbtip/tests/ftpadv.prg * contrib/hbtip/tests/gmail.prg * contrib/hbtip/tests/httpadv.prg * contrib/hbtip/tests/loadhtml.prg * contrib/hbtip/tests/test01.prg * contrib/hbtip/tests/tipmail.prg * contrib/hbtip/tests/tipmime.prg * contrib/hbtip/tests/tipmmail.prg * contrib/hbtip/tests/tiptest.prg * contrib/hbtip/tests/tiptime.prg * contrib/hbtip/tests/upld_ftp.prg * contrib/hbtpathy/tests/testtp.prg * contrib/hbunix/tests/testdmn.prg * contrib/hbunix/tests/testpid.prg * contrib/hbxdiff/tests/test.prg * contrib/hbxdiff/tests/test2.prg * contrib/hbxdiff/tests/test3.prg * contrib/rddsql/tests/arrayrdd.prg * contrib/sddsqlt3/tests/test1.prg * contrib/xhb/tests/compress.prg * contrib/xhb/tests/dll.prg * contrib/xhb/tests/testcp.prg * contrib/xhb/tests/xml1.prg + added #require directives, so the tests can now be run as scripts. It will require a dynamically built hbrun and contrib dlls. To make them, use: HB_BUILD_CONTRIB_DYN=yes and rebuild Harbour. * minor cleanups along the way ; RDDSQL fails in RDDSETDEFAULT(). * contrib/gtwvg/toolbar.prg ! fixed yet another != (disguised as <>) operator on string 2012-10-11 16:32 UTC+0200 Viktor Szakats * contrib/hbamf/tests/tstendin.prg ! fixed infinite loop after one recent change ! fixed to not redefine ? operator, making it ambiguous. use unused command name instead ! fixed one test value, which actually needs to be in UTF-8 to give proper results. + added #require so it now works as script * contrib/hbamf/hbamfobj.prg * contrib/hbhttpd/widgets.prg * contrib/hbnf/linked.prg * contrib/xhb/xhbtedit.prg * extras/gtwvw/tests/ebtest7.prg ! do not use = operator 2012-10-11 15:07 UTC+0200 Viktor Szakats * contrib/hbamf/readme.txt * contrib/hbcairo/tests/table.prg * contrib/hbpgsql/tests/cache.prg * contrib/hbwin/tests/testprn3.prg * contrib/hbxpp/tthreadx.prg * contrib/xhb/txml.prg * contrib/xhb/xhbtedit.prg * src/rtl/hbi18n2.prg * ValType() related optimizations * contrib/hbwin/tests/testsim.prg * contrib/hbct/tests/datetime.prg * formatting 2012-10-11 14:38 UTC+0200 Viktor Szakats * contrib/hbfbird/tests/stress.prg * minor * contrib/hbfimage/tests/italia.gif * contrib/hbfimage/tests/sample1.jpg * contrib/hbgd/tests/digits/57chevy.gif * contrib/hbgd/tests/digits/7seg.gif * contrib/hbgd/tests/digits/brsd.gif * contrib/hbgd/tests/digits/digib.gif * contrib/hbgd/tests/digits/fdb.gif * contrib/hbgd/tests/digits/jelly.gif * contrib/hbgd/tests/digits/odb.gif * contrib/hbgd/tests/digits/odw.gif * contrib/hbgd/tests/digits/pdg.gif * contrib/hbgd/tests/digits/pdw.gif * contrib/hbsqlit3/tests/pngtest.png * extras/gtwvw/tests/vouch1.gif * extras/hbvpdf/tests/files/color.jpg * extras/httpsrv/home/images/ajax-loader.gif * optimized images 2012-10-11 14:13 UTC+0200 Viktor Szakats * tests/tstchbx.prg * extras/httpsrv/modules/showcounter.prg * lessen references and references to Windows * contrib/hbfbird/tests/stress.prg * use UTF8 instead of Windows specific CP * formatting * contrib/hbhttpd/widgets.prg * use UTF8 instead of Windows specific CP * contrib/hbcairo/tests/fancytxt.prg * contrib/hbcairo/tests/glyphdbg.prg * contrib/hbcairo/tests/hellow.prg * contrib/hbcairo/tests/lightning.prg * contrib/hbcairo/tests/table.prg * contrib/hbxpp/tests/opover.prg * contrib/hbxpp/tests/testdll.prg + added #require "<pkgname>" so these can now be run as scripts. * contrib/hbgd/gdimage.prg % no longer needed manual image destroy methods converted to empty stubs * contrib/hbgd/gdwrp.c ! GDIMAGEDESTROY() to act as true dummy wrapper. Before it was still checking parameter and RTE-ing as a result. * contrib/hbgd/gdbarcod.prg ! fixed RTEs caused by using [] operator on strings * contrib/hbgd/tests/animgif.prg * contrib/hbgd/tests/antialia.prg * contrib/hbgd/tests/barms.prg * contrib/hbgd/tests/bartest.prg * contrib/hbgd/tests/counter.prg * contrib/hbgd/tests/gdtest.prg * contrib/hbgd/tests/gdtestcl.prg * contrib/hbgd/tests/test_out.prg * contrib/hbgd/tests/test.prg * contrib/hbgd/tests/testdpi.prg * contrib/hbgd/tests/tostring.prg * contrib/hbgd/tests/tpoly.prg + added #require "hbgd" so they can be run as scripts * deleted platform specific stuff + added FIXMEs for non-working font settings (not even before above modifications) ! fixed some examples to save output to file * some mods to make code portable * some formatting * contrib/hbmisc/tests/readfile.prg * contrib/hbmisc/tests/rtfclass.prg * contrib/hbmisc/tests/testbbab.prg * contrib/hbmisc/tests/testcall.prg * contrib/hbmisc/tests/testhbf.prg * contrib/hbmisc/tests/tsstrfmt.prg * contrib/hbmisc/tests/twirl.prg * contrib/hbmisc/tests/udpdstst.prg + added #require "hbmisc" so they can be run as scripts ! added one missing platform guard * minor cleanups in SVN header and Windows references 2012-10-11 12:55 UTC+0200 Viktor Szakats * tests/gtwin.prg * tests/wvt_fs.prg + made them work as scripts using hbrun 2012-10-11 12:42 UTC+0200 Viktor Szakats * src/rtl/gtwin/gtwin.c * src/rtl/gtwvt/gtwvt.c + added dummy return values for certain HB_GTI_* parameters, so they won't RTE an app when used with the other GT. (the problem is wider and ideally all HB_GTI_* values should at least return the same _type_ with all GTs) So e.g. now wvtext.prg works with GTWIN, but it should with any GTs. The point of GTs is that they're _replacable_, just like RDDs. * tests/wvtext.prg + select WVT dynamically when run under hbrun. ! protect Windows specific parts with defined( __PLATFORM__WINDOWS ) * utils/hbmk2/hbmk2.prg - deleted hbshell_gtInteractive() public shell API. INCOMPATIBLE. + replaced above with hbshell_gtSelect( [<cGT>] ) -> NIL by default <cGT> will be the default interactive (positionable) GT for the given platform. + include GTWVT in code, so scripts can now use WVT if they explicitly request it with this code: 2012-10-11 11:48 UTC+0200 Viktor Szakats * extras/hbxlsxml/xlsxml.prg * extras/httpsrv/modules/info.prg * extras/httpsrv/modules/showcounter.prg * extras/httpsrv/modules/testajax.prg * tests/mathtest.prg * tests/memfile.prg * tests/memory.prg * tests/memtst.prg * tests/memvar.prg * tests/newrdd.prg * contrib/hbmisc/hbeditc.c * formatting * src/rdd/usrrdd/rdds/hscdx.prg * src/rdd/usrrdd/rdds/rlcdx.prg * hbformat, manual fixups * contrib/hbformat/hbfmtcls.prg * added FIXME for not recognizing INIT/EXIT PROCEDURE statements * tests/memtst.prg ! typo in comment * tests/mathtest.prg ! added CLS to run well under hbrun 2012-10-11 02:41 UTC+0200 Viktor Szakats * ChangeLog ! typo 2012-10-11 01:41 UTC+0200 Viktor Szakats * contrib/gtwvg/class.prg * contrib/gtwvg/menubar.prg * contrib/gtwvg/paint.prg * contrib/gtwvg/parthdlr.prg * contrib/gtwvg/statbar.prg * contrib/hbmzip/tests/myunzip.prg * contrib/hbnf/aredit.prg * extras/gtwvw/tests/cbtest6.prg * extras/gtwvw/tests/drawimg.prg * extras/gtwvw/tests/ebtest7.prg * extras/gtwvw/tests/prog0.prg * extras/gtwvw/tests/prog1.prg * extras/gtwvw/tests/prog2.prg * extras/gtwvw/tests/wvwmouse.prg * extras/guestbk/inifiles.prg * extras/hbdoc/hbdoc.prg * src/debug/debugger.prg * src/rdd/usrrdd/rdds/arrayrdd.prg * src/rdd/usrrdd/rdds/hscdx.prg * src/rdd/usrrdd/rdds/rlcdx.prg * src/rtl/tbrowse.prg * src/rtl/tpersist.prg * src/rtl/tscalar.prg * tests/db_brows.prg * tests/debugtst.prg * tests/inifiles.prg * tests/mathtest.prg ! inifiles.prg fixed to run % using HB_IS*() functions instead of ValType() checks % using HB_AINS() instead of ASIZE()+AINS() % using HB_ADEL() instead of ADEL()+ASIZE() * some formatting * contrib/hbnf/popadder.prg * deleted ASHRINK() macro used only once * contrib/hbmagic/tests/hbmagit.prg * contrib/hbmisc/tests/rtfclass.prg * contrib/hbmxml/tests/testmxml.prg * contrib/hbsqlit3/hdbcsqlt.prg * contrib/xhb/trpccli.prg * contrib/xhb/ttable.ch * contrib/xhb/ttable.prg * contrib/xhb/xhbtedit.prg * extras/gtwvw/tests/wvwtest9.prg * utils/hbtest/rt_class.prg * formatting 2012-10-11 00:43 UTC+0200 Viktor Szakats * src/rtl/teditor.prg + added three TODOs, related to Ctrl+B and Ctrl+T missing key implementations * contrib/xhb/cstruct.prg * contrib/xhb/hblognet.prg * contrib/xhb/trpc.prg * contrib/xhb/trpccli.prg * contrib/xhb/ttable.prg * contrib/xhb/xhberr.prg * contrib/xhb/xhbmemo.prg ! random unicode fixes where I stumbled into incompatible code ! fixed two 'ValType( x ) == "NI"' expressions which were never true. I assumed it was meant to check for numeric and replaced with HB_ISNUMERIC() calls. % ADel()/ASize() pairs replaced with hb_ADel( ,, .T. ) calls * removed some unnecessary parentheses and minor formatting ! fixed one [] operator on a string (possibly used with the intention to preallocate a 255 byte long string) * replaced K_TAB used a character constant with 9 ! fixed one -1 array index to use ATail() instead ; only build-tested * doc/xhb-diff.txt ! typo regarding the meaning of a[ -1 ] in xhb * contrib/xhb/hbcrypt.c * formatted * contrib/xhb/xhbtedit.prg ! :ReformParagraph() fixed for unicode (untested) * :ReformParagraph() code cleaned * replaced all Chr( 141 ) + Chr( 10 ) references for a local function returning it. This code sequence is not unicode (UTF-8) compatible, so something will have to be done with it in the future. * minor formatting, typos in comment ; only build-tested 2012-10-11 00:01 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/contrib/hbfbird/firebird.c % some small optimizations ! fixed few memory leaks ! fixed passing queries longer then 255 bytes ; Thanks to Jacek Kubica for reporting the problem 2012-10-10 19:10 UTC+0200 Viktor Szakats * bin/commit.hb ! fixed finding last changelog entry in ChangeLogs which have non-ASCII, non-UTF8 chars (e.g. any 8-bit high chars, e.g. legacy accented or drawing chars, like it is the case with hwgui's ChangeLog file, where one such char caused the problem.) 2012-10-10 15:49 UTC+0200 Viktor Szakats * bin/commit.hb ! fixed GMT sign in inserted header when offset is negative * ChangeLog ! fixed some recent entry headers of mine 2012-10-10 15:56 UTC+0200 Alexey Myronenko (m.oleksa@ukr.net) * ChangeLog * doc/howtorep.txt instead doc/howtosvn.txt 2012-10-10 12:04 UTC+0200 Viktor Szakats * bin/commit.hb * avoid the word svn + added one comment to a git detection trick * contrib/hbhpdf/harupdf.ch * minor formatting 2012-10-10 00:46 UTC+0200 Viktor Szakats * doc/howtorep.txt * minor cleanup 2012-10-09 20:27 UTC+0200 Viktor Szakats * extras/gfspell/gfspell.hbp * extras/gtwvw/gtwvw.hbp * extras/hbvpdf/hbvpdf.hbp * extras/hbxlsxml/hbxlsxml.hbp * extras/ps32/ps32.hbp * extras/rddado/rddado.hbp * extras/superlib/superlib.hbp + added $hb_pkg_install.hbm so they now all will automatically install into /addons/ * extras/gtwvw/tests/hbmk.hbm * extras/hbvpdf/tests/hbmk.hbm * extras/ps32/tests/hbmk.hbm * extras/rddado/tests/hbmk.hbm * deleted relative dir from .hbc file references + extras/hbxlsxml/hbxlsxml.hbc * extras/hbxlsxml/tests/hbmk.hbm + added missing .hbc file * extras/hbusb/hbusb.hbc * deleted dll related leftovers that only work with contribs - extras/commouse - extras/commouse/commouse.prg + tests/commouse.prg * moved to /tests/ 2012-10-09 19:49 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! minor fix to prev to properly parent built-in hbm files included in hbmk.hbm ! deleted accidentally left debug output 2012-10-09 19:45 UTC+0200 Viktor Szakats * ChangeLog ! typo in prev commit description 2012-10-09 19:38 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.*.po * utils/hbmk2/hbmk2.prg + added experimental feature to embed whole build-file logic into the hbmk2 executable and reference these from user make files. Currently .hbm files are supported (.hbm file is simply a collection of hbmk2 options which do not form a separate subproject). To refer to such built-in .hbm files, one should use $<filename.hbm> It's a straightforward way to ship ready-made collections of options for specific purposes, without installing external .hbm files. Filenames are case-sensitive. NOTE: When referring to built-in .hbm files, it will behave as it was part of the parent make file, which means ${HB_DIR}, ${HB_DIRNAME}, ${HB_NAME}, ${HB_SELF} will return the parent file, not the name of the built-in file itself. As usual you can override any options by placing them after including the .hbm file. + added option to remove files added via -instfile= option by using -instfile=[<group>:]. All files added to the specified group will be removed from the list. Note that removing internally added files by hbmk2 itself (e.g. the main built target (empty group) and implibs ('implib', 'depimplib', 'depimplibsrc')) have undefined results, so avoid it. ! fixed to use THREAD STATIC instead of STATIC in some places (could not cause problems in current usage) * use hb_HCaseMatch() instead of hb_HSetCaseMatch() + utils/hbmk2/pkg_inst.hbm * utils/hbmk2/hbmk2.prg + added built-in .hbm file named '$hb_pkg_install.hbm' Its purpose is to provide complete 'install' logic for external projects. It will install .hb, .hbx, .ch, .txt, tests/* files, along with installing necessary libs, dynlibs and implibs. It honors HB_INSTALL_3RDDYN and HB_INSTALL_IMPLIB settings. * extras/hbusb/hbusb.hbp + use $hb_pkg_install.hbm instead of rolling the complete install logic locally. * utils/hbmk2/Makefile + added Harbour compiler option so that files from subdirs can be included (not yet used) 2012-10-09 13:42 UTC+0200 Viktor Szakats * extras/hbusb/hbusb.hbp * minor cleanup to prev 2012-10-09 13:34 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + added ${HB_ADDONS} macro which will return the path of the default addons dir, where 3rd party project might deploy their distributable files (headers, libs, etc) Note, the return value doesn't have an ending backslash, so you need to add it if you need it. * extras/hbusb/hbusb.hbp + added sample usage of full installation of this package, utilizing ${HB_ADDONS} macro. This method can be used by any 3rd party project. * minor cleanup to force the implib name to a value to avoid problems with double extension ("libusb-1.0") * extras/hbusb/tests/hbmk.hbm * since hbusb is installed now, the relative reference to hbusb.hbc could be changed to simply 'hbusb.hbc' and autofind will find it. 2012-10-09 11:12 UTC+0200 Viktor Szakats * contrib/gtwvg/class.prg * contrib/gtwvg/syswnd.prg * contrib/hbgd/gdchart.prg + using HB_IS*() for strict type checking instead of 'IF x == NIL' check recently converted from DEFAULT TO commands. This is INCOMPATIBLE for cases where wrong type was passed for these parameters. * contrib/xhb/cstruct.prg * contrib/xhb/tcgi.prg * src/debug/dbghelp.prg * src/debug/dbgtmenu.prg * src/debug/dbgtmitm.prg * src/debug/debugger.prg * contrib/hbhttpd/core.prg * contrib/hbpgsql/tests/cache.prg * contrib/hbpgsql/tpostgre.prg * contrib/hbnf/metaph.prg * extras/gtwvw/tests/ebtest7.prg * extras/guestbk/testcgi.prg * extras/gfspell/spell.prg % deleted 3rd parameter from expressions 'StrTran( x, y, "" )' Empty string is the default. * contrib/xhb/cstruct.prg ! fixed formatting and indentation using hbformat and manually * utils/hbmk2/hbmk2.prg % minor opt by replacing 'iif( ! Empty(' with 'iif( Empty(' 2012-10-08 23:27 UTC+0200 Viktor Szakats * extras/hbvpdf/hbvpdf.ch * extras/hbvpdf/hbvpdf.prg * changed DEFAULT TO to __defaultNIL() ! deleted common.ch and fileio.ch from public header file. INCOMPATIBLE. If you need these, include them explicitly. 2012-10-08 22:49 UTC+0200 Viktor Szakats * contrib/gtwvg/tests/activex.prg * contrib/gtwvg/tests/cuigdlgs.prg * contrib/gtwvg/tests/demowvg.prg * contrib/gtwvg/tests/demowvg1.prg * contrib/gtwvg/tests/demoxbp.prg * contrib/gtwvg/tests/dyndlgs.prg * contrib/gtwvg/tests/modal.prg * contrib/gtwvg/tests/tbrowser.prg * contrib/gtwvg/tests/utils.prg * contrib/gtwvg/tests/wvtcls.prg * contrib/gtwvg/tests/xbp.prg * contrib/hbgd/gdchart.prg * extras/hbvpdf/hbvpdf.prg * extras/httpsrv/modules/cookie.prg * extras/httpsrv/modules/showcounter.prg * changed DEFAULT TO to hb_default()/__defaultNIL() * deleted common.ch from all files. It's not used anymore in Harbour repo. 2012-10-08 22:09 UTC+0200 Viktor Szakats * contrib/gtwvg/activex.prg * contrib/gtwvg/class.prg * contrib/gtwvg/crt.prg * contrib/gtwvg/menubar.prg * contrib/gtwvg/paint.prg * contrib/gtwvg/parthdlr.prg * contrib/gtwvg/pushbut.prg * contrib/gtwvg/statbar.prg * contrib/gtwvg/static.prg * contrib/gtwvg/syswnd.prg * contrib/gtwvg/tabpage.prg * contrib/gtwvg/toolbar.prg * contrib/gtwvg/wnd.prg * extras/httpsrv/cgifunc.prg * extras/httpsrv/cookie.prg * extras/httpsrv/session.prg * extras/httpsrv/uhttpd.prg * use __defaultNIL() instead of DEFAULT TO * deleted common.ch from all files * contrib/hbmisc/numtxtru.prg % minor optimization * contrib/hbmisc/tests/numtxtru.prg * avoid using a .dbf as output, instead use STDOUT * added lines to make it work using hbrun * switched output and HVM to UTF-8, so it can be displayed on more systems (both as stdalone exe and as hbrun script) 2012-10-08 21:55 UTC+0300 Pavel Tsarenko (tpe2 at mail.ru) * contrib/hbmisc/numtxtru.prg * contrib/hbmisc/tests/numtxtru.prg * some fixes for unicode support 2012-10-08 20:04 UTC+0200 Viktor Szakats * .gitattributes ! fixed the two attribute exceptions 2012-10-08 19:32 UTC+0200 Viktor Szakats * contrib/xhb/dbgfx.prg * contrib/xhb/decode.prg * contrib/xhb/dumpvar.prg * contrib/xhb/hblognet.prg * contrib/xhb/hjwindow.prg * contrib/xhb/htjlist.prg * contrib/xhb/htmutil.prg * contrib/xhb/stream.prg * contrib/xhb/tcgi.prg * contrib/xhb/tedit.prg * contrib/xhb/tfile.prg * contrib/xhb/tframe.prg * contrib/xhb/thtm.prg * contrib/xhb/ttable.prg * contrib/xhb/txml.prg * contrib/xhb/xhbcomp.prg * contrib/xhb/xhberr.prg * contrib/xhb/xhbfunp.prg * contrib/xhb/xhbmemo.prg * contrib/xhb/xhbole.prg * contrib/xhb/xhbtedit.prg * contrib/xhb/xhw32prn.prg * use __defaultNIL() instead of DEFAULT TO * deleted common.ch from all files 2012-10-08 19:14 UTC+0200 Viktor Szakats * contrib/xhb/hjwindow.prg * contrib/xhb/htmutil.prg * contrib/xhb/thtm.prg * avoid multiline DEFAULT TO cmds * avoid DEFAULT TO with complex expressions ! fixed one commented DEFAULT := cmd 2012-10-08 19:00 UTC+0200 Viktor Szakats * contrib/hbmisc/numtxtru.prg ! don't use # op. 2012-10-08 18:37 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/src/rtl/cdpapihb.c % minor optimization * harbour/contrib/hbmisc/numtxtru.prg ! fixed SVN attributes * indenting 2012-10-08 18:11 UTC+0200 Viktor Szakats + contrib/hbmisc/tests/numtxtru.prg * contrib/hbmisc/numtxtru.prg * contrib/hbmisc/hbmisc.hbx * tests/testmny.prg * applied coding standards (no common.ch, no '=' op, move test code to separate source, use iif(), unicode support, UTF-8/ASCII source only, use svn props, use IS*()/hb_default() functions, updated .hbx, hbformat, hb_ntos(), PROCEDURE Main(), no # and <> ops) * changed interface to accept language code as string instead of numeric constant. ; Please review 2012-10-08 17:40 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/src/compiler/harbour.y * harbour/src/compiler/harbour.yyc * minor formatting * harbour/contrib/hbct/ctwfunc.c * harbour/contrib/hbct/ctwin.c * harbour/contrib/hbct/ctwin.h + added undocumented CT3 window functions: WALIAS( <nHandle> ) -> <nHandle> | -1 change current window handle to <nHandle> if <nHandle> is not used by other window. return <nHandle> on success or -1 to indicate error. Warning: I replicated CT3 limit here so <nHandle> cannot be bigger then 255 WLIST() -> <cHandleList> _WSTACK() -> <cHandleList> return string with window handles in each character, the ASCII value of the first character is handle of the most bottm window and the last character is the top window. Warning: this is compatibility only function which works correctly for first 255 windows. Harbour does not have any internal limits on maximum number of windows so it's possible to create more then 255 windows and this function will return wrong results. 2012-10-08 18:28 UTC+0300 Pavel Tsarenko (tpe2 at mail.ru) * contrib/hbmisc/hbmisc.hbp + contrib/hbmisc/numtxtru.prg + added functions to convert a number and date to East Slavic (Russian, Ukrainian and Belorussian) text: NumToTxtRU() - convert a number MnyToTxtRU() - convert a money DateToTxtRU() - convert a date + tests/testmny.prg + added sample class Money with overloading of arithmetical operations 2012-10-08 15:49 UTC+0200 Viktor Szakats + .gitattributes + added config file to setup EOL handling in a git repo 2012-10-08 15:28 UTC+0200 Viktor Szakats * contrib/hbmlzo/3rd/minilzo/minilzo.hbp - contrib/hbmlzo/3rd/minilzo/README.LZO + contrib/hbmlzo/3rd/minilzo/README * avoid non-standard filename extensions 2012-10-08 15:14 UTC+0200 Viktor Szakats * src/rdd/usrrdd/rdds/arrayrdd.prg * deleted reference to INSTALL * website/faq/harbour17.html * website/faq/harbour27.html * updated dead links to source repository * INSTALL * website/changelog.html * website/index.html * website/menu/harbour-menu.js * updated links to source repository to point to SVN directly instead of viewvc UI * doc/howtorep.txt * deleted svn:keywords property * cleaned 2012-10-08 02:29 UTC+0200 Viktor Szakats * package/winuni/mpkg_win_uni.bat * package/winuni/mpkg_win_uni.nsi - package/winuni/HARBOUR_README_ADDONS - package/winuni/HARBOUR_README_DJGPP - package/winuni/HARBOUR_README_MINGW - package/winuni/HARBOUR_README_MINGW64 - package/winuni/HARBOUR_README_MINGWARM - package/winuni/HARBOUR_README_POCC - package/winuni/HARBOUR_README_WATCOM + package/winuni/HARBOUR_README_ADDONS.txt + package/winuni/HARBOUR_README_DJGPP.txt + package/winuni/HARBOUR_README_MINGW.txt + package/winuni/HARBOUR_README_MINGW64.txt + package/winuni/HARBOUR_README_MINGWARM.txt + package/winuni/HARBOUR_README_POCC.txt + package/winuni/HARBOUR_README_WATCOM.txt * renamed these files to have an extension 2012-10-08 00:47 UTC+0200 Viktor Szakats * INSTALL + added git next to svn * website/snapshot.html * avoid the word 'subversion' 2012-10-08 00:39 UTC+0200 Viktor Szakats * ChangeLog ! fixed some recent chglog entry headers 2012-10-08 00:31 UTC+0200 Viktor Szakats * bin/commit.hb * made git detection generic ! fixed calling shell on OS/2 * config/global.mk * minor sync with other parts of Harbour * contrib/hbblink/blinker.prg ! fixed SWPRUNCMD() on OS/2 * contrib/hbxpp/runshell.prg ! fixes for RUNSHELL() on non-*nix platforms 2012-10-07 23:38 UTC+0200 Viktor Szakats * doc/Makefile - doc/howtosvn.txt + doc/howtorep.txt * NEWS * website/news1.html * renamed to neutral name * .gitignore - deleted .svn * bin/commit.hb + added support for git * config/global.mk + added support for git (commented) * contrib/hbpost.hbm * avoid the word SVN 2012-10-07 22:56 UTC+0200 Viktor Szakats * src/common/hbverdsp.c ! fix to previous commit * contrib/xhb/trpc.prg * formatting * src/rtl/achoice.prg * modified in-source bug example to use hb_keyPut() 2012-10-07 22:49 UTC+0200 Viktor Szakats * contrib/hbhttpd/readme.txt * doc/dirstruc.txt * doc/xhb-diff.txt * include/hbapi.h * INSTALL * NEWS * src/common/hbver.c * src/main/harbour.c * src/pp/hbpp.c * src/rtl/version.c * src/vm/cmdarg.c * Avoiding the word "SVN" (use 'source repository', 'repository' or 'repo' for short) * Added new names that don't refer to SVN: C level: - hb_verRevision() (was: hb_verSvnID()) - hb_verChangeLogID() (was: hb_verSvnChangeLogID()) - hb_verChangeLogLastEntry() (was: hb_verSvnLastEntry()) .prg level: - HB_VER_REVID built-in macro (was: HB_VER_SVNID) ; Old functions/macros will be deleted after next major revision, start using the new names until then. 2012-10-07 18:06 UTC+0200 Viktor Szakats * src/debug/dbgtinp.prg * src/debug/dbghelp.prg * src/debug/dbgtmenu.prg * src/debug/dbgtmitm.prg * src/debug/dbgtwin.prg * src/debug/dbgwa.prg * contrib/hbtip/tests/tiptest.prg ! fixed drawing and keyboard handling to be unicode compatible * contrib/hbxpp/hbxpp.ch + added unicode compatible box drawing macros * contrib/hbmxml/tests/custom.prg ! use Chr() instead of using keyboard macro * contrib/hbnf/doc/en/setkeys.txt * contrib/hbnf/doc/en/setlastk.txt ! use unicode compatible code * contrib/hbtip/smtpcli.prg * contrib/hbtip/thtml.prg * use string literal instead of chr() call * tests/db_brows.prg ! fixed mistake in a recently added hb_keyChar() check 2012-10-07 17:25 UTC+0200 Viktor Szakats * src/debug/debugger.prg ! replaced KEYBOARD cmd unicode compatible call * contrib/hbct/doc/en/token1.txt * contrib/hbct/tests/charadd.prg * contrib/hbct/tests/charand.prg * contrib/hbct/tests/charor.prg * contrib/hbct/tests/charsub.prg * contrib/hbct/tests/tab.prg * contrib/hbnf/doc/en/scancode.txt * contrib/xhb/hterrsys.prg * contrib/xhb/html.ch * doc/en/file.txt * doc/en/input.txt * doc/en/memo.txt * doc/en/misc.txt * doc/en/set.txt * doc/en/terminal.txt * extras/gfspell/spell.prg * extras/gtwvw/wvwedit.c * extras/hbdoc/genhtml.prg * extras/hbdoc/genxml.prg * extras/hbdoc/hbdoc.prg * extras/hbvpdf/hbvpdf.prg * extras/httpsrv/cgifunc.prg * extras/httpsrv/uhttpd.prg * tests/rto_get.prg * tests/rto_tb.prg * formatting 2012-10-07 15:10 UTC+0200 Viktor Szakats * contrib/hbnf/aavg.prg * contrib/hbnf/adessort.prg * contrib/hbnf/amedian.prg * contrib/hbnf/anomatch.prg * contrib/hbnf/any2any.prg * contrib/hbnf/asum.prg * contrib/hbnf/clrsel.prg * contrib/hbnf/d2e.prg * contrib/hbnf/ftround.prg * contrib/hbnf/invclr.prg * contrib/hbnf/nwsem.prg * contrib/hbnf/popadder.prg * contrib/hbnf/tbwhile.prg * contrib/hbnf/tests/clrsel.prg * contrib/hbnf/tests/d2e.prg * do not use common.ch. __defaultNIL() is used instead, for full compatibility here. Should ideally be changed to hb_default(), but it will break RTE compatibility for invalid values. Should we do it? (this would also fix calling internal functions from a contrib) * contrib/hbnf/tests/d2e.prg ! fixed defaulting to wrong value (regression) * extras/gtwvw/tests/drawimg.prg * extras/gtwvw/tests/ebtest7.prg * extras/gtwvw/tests/prog0.prg * extras/gtwvw/tests/prog1.prg * extras/gtwvw/tests/prog2.prg * extras/gtwvw/tests/wvwmouse.prg * extras/gtwvw/tests/wvwtest9.prg * do not use common.ch. Use hb_default() instead. ; Only gtwvg, hbgd, xhb and httpsrv remain to use common.ch for DEFAULT TO command. Notice it's bad practice since it only checks for NIL for defaulting, so RTE can easily be forced by passing a value of wrong type. DEFAULT TO can be directly replaced with __defaultNIL(), or ideally with hb_default(). Notice that hb_default() is a pure function, and since the default value needs to be evaluated even if correctly typed parameter is passed, it may have a performance penalty if that default value is coming as a result of complex expression or function call. I value type safety more than performance, so in most cases this is IMO a useful compromise, though of course someone might as well use 'IF ! HB_IS*( xVar ); xVar := xValue; ENDIF' which is type safe while having no extra RT performance penalty, though a bit verbose. * tests/hbpptest/hbpptest.prg * utils/hbtest/rt_misc.prg * do not include unused common.ch * contrib/xhb/cgi.ch * formatting 2012-10-07 14:40 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/include/hbcomp.h * harbour/src/compiler/hbmain.c * harbour/src/compiler/hbstripl.c % eliminate repeated HB_P_LINE pcodes bound by unconditional jump This optimization is not enabled when debug mode (-b) is used. * harbour/include/hberrors.h * harbour/src/compiler/hbgenerr.c * harbour/src/compiler/harbour.y * harbour/src/compiler/harbour.yyc + added new compile time error: "Duplicate case value" 2012-10-06 17:20 UTC+0200 Viktor Szakats * src/rtl/checkbox.prg ! another very old visual bug on the appearance of non-checked checkbox. 2012-10-06 16:06 UTC+0200 Viktor Szakats * src/debug/dbgwa.prg * src/rtl/browse.prg * src/rtl/dbedit.prg % deleted EXIT from SWITCH statements' OTHERWISE branches. (it'd be nice if the compiler could ignore these automatically - in case it can be solved with low cost) 2012-10-06 15:54 UTC+0200 Viktor Szakats * extras/gtwvw/tests/prog2.prg * extras/gtwvw/tests/wvwtest9.prg * src/debug/debugger.prg * src/rtl/tgetlist.prg * tests/sbartest.prg * tests/tb1.prg ! further cases of object vars called as methods, though these didn't (necessarily) caused errors. I wish Harbour had a native core OOP engine to catch all (there are more cases than above) this mess at compile-time. 2012-10-06 15:26 UTC+0200 Viktor Szakats * src/rtl/browse.prg ! fixed not appending a new record when pressing K_DOWN in append mode (and perhaps some other cases) The problem was using 'oBrw:HitBottom( .T. )' instead of 'oBrw:HitBottom := .T.' * minor optimizations and cleanup. ; Some stats: it was a 5 year old bug took about 10 hours to find the solution. Sheet. 2012-10-06 12:05 UTC+0200 Viktor Szakats * contrib/xhb/cstructc.c * contrib/xhb/dbf2txt.c * contrib/xhb/fparse.c * contrib/xhb/hbxml.c * contrib/xhb/xhbis.c * minor formatting * use ',' instead of 44 * extras/gtwvw/gtwvw.c ! fixed one code line after uncrustify 2012-10-06 02:14 UTC+0200 Viktor Szakats * src/rtl/browse.prg * use K_* constant * contrib/hbgd/tests/counter.prg * contrib/hbmxml/tests/testmxml.prg * contrib/hbnetio/netiomt.prg * contrib/hbnetio/utils/hbnetio/netiosrv.prg * contrib/hbtip/thtml.prg * contrib/hbwin/tests/olesrv1.prg * src/debug/dbgtinp.prg * src/debug/dbgwa.prg * src/debug/debugger.prg * src/rdd/hbsix/sxcompat.prg * src/rdd/hbsix/sxini.prg * src/rdd/hbsix/sxtrig.prg * src/rtl/dbedit.prg * src/rtl/menuto.prg * src/rtl/readkey.prg * src/rtl/tclass.prg * src/rtl/treport.prg * SWITCH indentation synced with hbformat style * ChangeLog ! fixed typo in a recent entry * contrib/hbzebra/tests/testcair.prg * tests/testcdx.prg * minor 2012-10-05 22:31 UTC+0200 Viktor Szakats * contrib/hbmisc/fileread.prg * contrib/hbmisc/tests/readfile.prg * contrib/hbmisc/tests/rtfclass.prg * contrib/hbmisc/tests/testhbf.prg * contrib/hbmisc/tests/twirl.prg * minor cleanups, hbformat, using fileio.ch constants, minor regression in one test app 2012-10-05 22:10 UTC+0200 Viktor Szakats * contrib/xhb/hterrsys.prg * contrib/xhb/htmutil.prg * contrib/xhb/tfile.prg * contrib/xhb/xhberr.prg * doc/en/file.txt * extras/gfspell/spell.prg * extras/guestbk/testcgi.prg * extras/httpsrv/cgifunc.prg * extras/httpsrv/uhttpd.prg * tests/inifiles.prg * utils/hbmk2/hbmk2.prg ! TCgiFile():Tell() fixed to return correct value * use fileio.ch constants instead of literals 2012-10-05 21:31 UTC+0200 Viktor Szakats * extras/hbvpdf/hbvpdf.prg ! s&r typo in recent mods * extras/hbvpdf/hbvpsup.prg ! typo in recent mods * contrib/hbnf/doc/en/mouse2.txt * contrib/xhb/xhbtedit.prg * extras/gfspell/spell.prg * extras/hbvpdf/tests/pdf_demo.prg * .not. -> ! * contrib/hbformat/hbfmtcls.prg + enabled to convert .not. to ! by default 2012-10-05 19:22 UTC+0200 Viktor Szakats * contrib/gtwvg/syswnd.prg * contrib/gtwvg/tests/tbrowser.prg * contrib/gtwvg/treeview.prg * contrib/hbct/doc/en/dattime3.txt * contrib/hbtip/tests/tiptest.prg * contrib/xhb/trpc.prg * contrib/xhb/xhbtedit.prg * extras/gfspell/spell.prg * src/rdd/dbjoin.prg * src/rtl/tpopup.prg * tests/testrdd2.prg * TRIM() -> RTRIM() 2012-10-05 18:56 UTC+0200 Viktor Szakats * tests/tb1.prg ! fixed unicode for some cases 2012-10-05 18:08 UTC+0200 Viktor Szakats * contrib/xhb/arrayblk.prg * contrib/xhb/dbgfx.prg * contrib/xhb/dumpvar.prg * contrib/xhb/hblognet.prg * contrib/xhb/hjwindow.prg * contrib/xhb/hterrsys.prg * contrib/xhb/htjlist.prg * contrib/xhb/htmutil.prg * contrib/xhb/tcgi.prg * contrib/xhb/tfile.prg * contrib/xhb/trpc.prg * contrib/xhb/trpccli.prg * contrib/xhb/ttable.prg * contrib/xhb/txml.prg * contrib/xhb/xcstr.prg * contrib/xhb/xdbmodst.prg * contrib/xhb/xhberr.prg * contrib/xhb/xhbtedit.prg * hbformatted, manually corrected * few corrections to use constants, hb_BChar() 2012-10-05 12:55 UTC+0200 Viktor Szakats * contrib/hbct/tests/ctwtest.prg * contrib/hbwin/tests/testole.prg * contrib/xhb/cstruct.prg * contrib/xhb/dumpvar.prg * contrib/xhb/hblog.prg * contrib/xhb/htmutil.prg * contrib/xhb/thtm.prg * contrib/xhb/traceprg.prg * contrib/xhb/trpccli.prg * contrib/xhb/xhberr.prg * extras/gtwvw/tests/wvwtest9.prg * extras/hbvpdf/hbvpdf.ch * extras/hbvpdf/hbvpdf.prg * extras/httpsrv/session.prg * extras/httpsrv/uhttpd.prg * tests/gtkeys.prg * tests/tb1.prg * tests/wvtext.prg * use hb_keyCode(), hb_keyChar(), hb_ntos() (with __HARBOUR__) * some xhb lib sources hbformatted along the way * contrib/xhb/traceprg.prg * contrib/xhb/trpc.prg * hbformat, hand corrections * extras/hbvpdf/hbvpdf.hbp - extras/hbvpdf/hbvpdft.prg - extras/hbvpdf/tests/tstpdf.prg - deleted duplicated code that implements hbvpdf functionality in an OOP flavor. Please rework it in a way that it uses the underlying API and avoid copy/pasting complete source. 2012-10-05 12:09 UTC+0200 Viktor Szakats * tests/gtkeys.prg * use hb_keyCode() instead of Asc() with __HARBOUR__ 2012-10-05 11:59 UTC+0200 Viktor Szakats * src/rtl/philes.c ! HB_FGETDATETIME(): make sure to set the referential parameters to empty values when a failure is detected. 2012-10-05 11:55 UTC+0200 Viktor Szakats * config/postinst.hb * utils/hbmk2/hbmk2.prg + Use the first parameter in HB_CWD() calls. * contrib/hbformat/hbfmtcls.prg ! fixed embedded comment in last commit. 2012-10-05 10:28 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/src/rtl/philes.c * modified HB_CWD() to return previous path if new one is set by optional parameter so current syntax is: HB_CWD( [ <cNewWD> ] ) -> <cPrevWD> + set FError() in HB_CWD() function. Now programmer can check if HB_CWD() succeed checking result of FError() function, i.e. HB_CWD( cNewPath ) IF FError() != 0 ? "Cannot set working directory to:", cNewPath ELSE // stuff ENDIF + set FError() in the following functions: HB_FGETATTR(), HB_FSETATTR(), HB_FGETDATETIME(), HB_FSETDATETIME(), HB_FISDEVICE() 2012-10-05 03:01 UTC+0200 Viktor Szakats * contrib/hbformat/hbfmtcls.prg + added FIXME * INSTALL + added https://sourceforge.net/projects/mingwbuilds/ as recommended source for mingw builds (both 32 and 64-bit) Be aware that these are not QT-compatible (as of now), but they seem to be much faster at compile time. * tests/tscmdarg.c * formatting 2012-10-05 02:40 UTC+0200 Viktor Szakats * contrib/gtwvg/*.prg * formatted using hbformat, critical manual fixups ; FIXME: hbformat breaks code like this: FUNCTION Hello( /* comment */ ) * contrib/gtwvg/tests/*.prg * formatted using hbformat, manual fixups * extras/gtwvw/*.c * extras/gtwvw/*.h * formatted using uncrustify + hbc.cfg 2012-10-05 01:18 UTC+0200 Viktor Szakats - extras/gtwvw/readme.txt - empty file deleted * contrib/hbnf/tests/test.prg * tests/brwpos.prg * tests/db_brows.prg * use K_* constants * contrib/hbssl/pem.c * contrib/hbssl/ssl.c * contrib/hbtip/sendmail.prg * deleted long separator lines * extras/gtwvw/tests/cbtest1.prg * extras/gtwvw/tests/cbtest6.prg * extras/gtwvw/tests/drawimg.prg * extras/gtwvw/tests/ebtest7.prg * extras/gtwvw/tests/inpfocus.prg * extras/gtwvw/tests/maximize.prg * extras/gtwvw/tests/prog0.prg * extras/gtwvw/tests/prog1.prg * extras/gtwvw/tests/prog2.prg * extras/gtwvw/tests/wvwmouse.prg * extras/gtwvw/tests/wvwtest9.prg * extras/gtwvw/tests/wvwtest9.xml * formatted with hbformat and manually * minor fixes (unicode) and optimizations 2012-10-04 17:44 UTC+0200 Viktor Szakats * contrib/gtwvg/tests/demowvg1.prg * contrib/gtwvg/tests/demoxbp.prg * contrib/hbmisc/doc/en/ht_dbf.txt * doc/codebloc.txt * doc/pcode.txt * extras/gtwvw/tests/cbtest1.prg * extras/gtwvw/tests/cbtest6.prg * extras/gtwvw/tests/drawimg.prg * extras/gtwvw/tests/ebtest7.prg * extras/gtwvw/tests/inpfocus.prg * extras/gtwvw/tests/maximize.prg * extras/gtwvw/tests/prog0.prg * extras/gtwvw/tests/prog1.prg * extras/gtwvw/tests/prog2.prg * extras/guestbk/guestbk.prg * extras/httpsrv/uhttpd.prg * extras/rddado/tests/mysql1.prg * extras/rddado/tests/mysql3.prg * tests/clsscope.prg * tests/keywords.prg * tests/rddtest/rddtst.prg * tests/testwarn.prg * startup functions converted to PROCEDUREs * extras/httpsrv/uhttpd.prg ! fixed to return errorlevels using ERRORLEVEL() function instead of Main() return value. 2012-10-04 17:11 UTC+0200 Viktor Szakats * tests/aliaslck.prg * tests/files.prg * tests/inherit.prg * tests/newrdd.prg * tests/omacro.prg * tests/testcdx.prg * tests/testdbf.prg * tests/testrdd.prg * tests/testrdd2.prg * tests/tstuse.prg * tests/wcecon.prg ! fixed to deleted test dbfs/indexes/dirs created along the way ! misc other corrections 2012-10-04 13:25 UTC+0200 Viktor Szakats * extras/httpsrv/uhttpd.prg * tests/db_brows.prg * tests/inherit.prg * tests/stripem.prg - deleted now unnecessary SET EXACT settings. There is none of those in Harbour repo anymore. 2012-10-04 13:20 UTC+0200 Viktor Szakats - tests/testtok.prg - deleted obsolete token test code * contrib/hbformat/hbfmtcls.prg * contrib/hbgd/tests/test_out.prg * contrib/hbhttpd/core.prg * contrib/hbmxml/tests/custom.prg * contrib/hbmxml/tests/testmxml.prg * contrib/hbnf/ftround.prg * contrib/hbpgsql/tpostgre.prg * contrib/hbtip/ftpcli.prg * extras/gfspell/spell.prg * extras/gtwvw/tests/ebtest7.prg * extras/hbvpdf/hbvpdf.prg * extras/hbvpdf/hbvpdft.prg * extras/httpsrv/cgifunc.prg * extras/httpsrv/session.prg * extras/httpsrv/uhttpd.prg * src/debug/dbgtmenu.prg * src/debug/debugger.prg * tests/db_brows.prg * tests/inherit.prg * tests/rto_tb.prg * tests/stripem.prg * utils/hbi18n/hbi18n.prg ! fixed/avoided != operator on strings 2012-10-04 12:47 UTC+0200 Viktor Szakats * src/rtl/tget.prg ! fixed regression from 2012-01-29 17:22 UTC+0100 when non-numeric index was allowed on a non-hash variable and then an RTE generated. Caused rto_get.prg to RTE in the middle. * contrib/gtwvg/activex.prg * contrib/gtwvg/class.prg * contrib/gtwvg/tests/demoxbp.prg * contrib/gtwvg/tests/utils.prg * contrib/rddads/doc/en/adsfuncs.txt * contrib/rddads/doc/en/readme.txt * contrib/xhb/tfile.prg * contrib/xhb/txml.prg * contrib/xhb/xhbole.prg * doc/windll.txt * extras/gtwvw/gtwvw.c * extras/gtwvw/hbgtwvw.h * extras/gtwvw/tests/maincoor.prg * extras/gtwvw/wvwcheck.c * extras/gtwvw/wvwdraw.c * extras/gtwvw/wvwedit.c * extras/gtwvw/wvwfuncs.c * extras/gtwvw/wvwmenu.c * extras/gtwvw/wvwpush.c * extras/gtwvw/wvwstbar.c * extras/gtwvw/wvwtbar.c * extras/hbdoc/tmplates.prg * tests/gtcolors.prg * tests/ipclnt.prg * tests/ipsvr.prg * tests/rto_get.prg * tests/rto_tb.prg * tests/usrrdd/exarr.prg * tests/usrrdd/exfcm.prg * tests/usrrdd/exhsx.prg * tests/usrrdd/exlog.prg * tests/usrrdd/exmemo.prg * tests/usrrdd/exrlx.prg * tests/wcecon.prg * full formatting using hbformat (where needed) * Win32 -> Windows * 32-bit deleted where it didn't make sense * using K_* constants ! fixed != operators where used on strings (more to come) Thanks to Jose F. Gimenez for the ones in txml.prg. * avoid "common.ch" % use hb_ntos() in Harbour specific code 2012-10-04 04:56 UTC+0200 Viktor Szakats * contrib/gtwvg/tests/dyndlgs.prg * contrib/gtwvg/tests/wvtcls.prg * contrib/hbgd/tests/test_out.prg * contrib/hbhpdf/tests/harupdf.prg * contrib/hbhttpd/core.prg * doc/en/set.txt * extras/guestbk/guestbk.prg * extras/guestbk/inifiles.prg * extras/guestbk/testcgi.prg * extras/httpsrv/modules/tableservletdb.prg * formatting and EOL related cleanups 2012-10-04 04:21 UTC+0200 Viktor Szakats * extras/httpsrv/home/index.html * updated reference to long deleted batch file to hbmk2 command-line * tests/db_brows.prg * deleted inactive/broken parts + enable ADS APIs automatically ! use inkey.ch constants ! fixed keyboard handling for unicode * enabled editing (warning: do not commit modified test.dbf) ! fixed function names of Harbour extended functions (commented) * tests/newrdd.prg ! fixed failure due to wrongly selected RDD * formatting * tests/inherit.prg * tests/stripem.prg * various cleanups (do not add EOF char, unicode compatibility, use platform-specific EOL) * tests/inkeytst.prg ! fixed another unicode incompatibility for __HARBOUR__ * tests/readhrb.prg % use HB_NUMTOHEX() instead of local implementation * formatting * tests/inifiles.prg ! untested fixes for platform independent EOL handling * tests/test.prg * tests/version.prg * minor 2012-10-04 02:18 UTC+0200 Viktor Szakats - tests/fsplit.prg - deleted very old and platform specific file splitter * contrib/hbblat/tests/blattest.prg * use .bin instead of .bat 2012-10-04 02:11 UTC+0200 Viktor Szakats * contrib/hbct/doc/en/dattime3.txt * contrib/hbfbird/readme.txt * contrib/hbnf/color2n.c * contrib/hbziparc/doc/en/hbziparc.txt * doc/en/idle.txt * doc/gtapi.txt * doc/howtosvn.txt * extras/httpsrv/uhttpd.prg * src/lang/es.c * tests/flink.prg * reviewed platform specific parts a minor corrections made. * include/hbcompdf.h % deleted HB_LANG_OBJ32 enum 2012-10-04 01:47 UTC+0200 Viktor Szakats - tests/test_all.prg * deleted MS-DOS batch specific tool. Now hbrun can be used to run tests very easily * contrib/hbmisc/tests/rtfclass.prg * platform dependent stuff deleted/fixed * contrib/xhb/xhbfs.c * corrected .prg macro to C one (doesn't change compiled code) * tests/test.prg * minor * utils/hbmk2/hbmk2.prg * changed "||" operator to ".OR." in #ifdef 2012-10-04 01:04 UTC+0200 Viktor Szakats * include/harbour.hbx * src/rtl/hbdoc.prg * tests/hbdoctst.prg + added __hbdoc_DirLastModified( <cDir> ) -> <tLastModified> function that returns last modification timestamp for a given NF doc root directory. It returns empty date if the directory doesn't exist or is empty. It can be used to decide whether to update .hbd files e.g. in an hbmk2 plugin that builds .hbd files automatically. 2012-10-04 00:23 UTC+0200 Viktor Szakats * contrib/hbblat/blatwrp.c * contrib/hbct/tests/datetime.prg * contrib/hbct/token2.c * contrib/hbcurl/core.c * contrib/hbexpat/core.c * contrib/hbfimage/fi_winfu.c * contrib/hbfimage/fi_wrp.c * contrib/hbfimage/freeimag.ch * contrib/hbfimage/tests/fitest.prg * contrib/hbgd/gdwrp.c * contrib/hbgd/tests/test_out.prg * 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/image.c * contrib/hbhpdf/tests/harupdf.prg * contrib/hbmisc/hbedit.prg * contrib/hbmysql/tmysql.prg * contrib/hbmysql/tsqlbrw.prg * contrib/hbodbc/todbc.prg * contrib/hbwin/wapi_commctrl.c * contrib/hbwin/wapi_winuser.c * contrib/hbwin/win_reg.prg * contrib/xhb/cstruct.prg * contrib/xhb/fparse.c * contrib/xhb/xcstr.prg * contrib/xhb/xdbmodst.prg * contrib/xhb/xhbmemo.prg * contrib/xhb/xhbtedit.prg * extras/guestbk/testcgi.prg * extras/hbvpdf/hbvpdft.prg * extras/hbxlsxml/tests/example.prg * extras/httpsrv/cgifunc.prg * extras/httpsrv/cookie.prg * extras/httpsrv/session.prg * extras/httpsrv/uhttpd.prg % deleted/reformatted large number of long decoration/separator comment lines from source * extras/httpsrv/cgifunc.prg ! fixed Chr() to hb_BChar() for unicode compatibility * contrib/hbformat/hbfmtcls.prg * deleted one completed TODO 2012-10-03 22:45 UTC+0200 Viktor Szakats * website/* + set eol-style to native for all text files ! fixed inconsistent EOL in 3rd party .js files * contrib/hbct/tests/addascii.prg * contrib/hbct/tests/ctwtest.prg * contrib/hbct/tests/math.prg * contrib/hbct/tests/num1.prg * contrib/hbct/tests/trig.prg * contrib/hbnf/clrsel.prg * contrib/hbnf/menu1.prg * contrib/hbnf/sqzn.prg * tests/db_brows.prg * tests/fsplit.prg * tests/mathtest.prg * tests/newrdd.prg * tests/round.prg * tests/say.prg * tests/scroll.prg * tests/teststr.prg * tests/transtst.prg * tests/wvtext.prg ! fixed to use inkey.ch macros instead of literals * corrected hbformat mistakes 2012-10-03 16:01 UTC-0300 Vailton Renato (vailtom gmail com) * website/mailing.html * website/menu/harbour-menu.js * Updated mailing url and javascript file. 2012-10-03 19:06 UTC+0200 Viktor Szakats + extras/hbvpdf/fonts.dat * contrib/gtwvg/* * extras/gtwvw/* * contrib/hbct/tests/addascii.prg * contrib/hbct/tests/expomant.prg * contrib/hbct/tests/finan.prg * contrib/hbct/tests/math.prg * contrib/hbct/tests/num1.prg * contrib/hbct/tests/trig.prg * contrib/hbct/tests/wordswap.prg * contrib/hbct/token2.c * contrib/hbfimage/tests/fitest.prg * contrib/hbmisc/stringp.prg * contrib/hbnf/tests/aredit.prg * contrib/hbpgsql/tests/cache.prg * contrib/hbsqlit3/tests/metadata.prg * contrib/hbsqlit3/tests/sl3_test.prg * contrib/hbtip/popcli.prg * contrib/hbwin/tests/olesrv4.prg * contrib/hbwin/tests/oletst3.prg * contrib/rddads/tests/datad.prg * contrib/xhb/hbstruct.ch * contrib/xhb/tcgi.prg * contrib/xhb/tedit.prg * contrib/xhb/thtm.prg * contrib/xhb/ttable.prg * contrib/xhb/txml.prg * contrib/xhb/xhbcls.ch * contrib/xhb/xhberr.prg * contrib/xhb/xhbtedit.prg * doc/en/set.txt * extras/guestbk/testcgi.prg * extras/hbvpdf/hbvpdf.prg * extras/hbvpdf/hbvpdft.prg * extras/hbvpdf/hbvpsup.prg * extras/hbvpdf/tests/pdf_demo.prg * extras/hbvpdf/tests/tstpdf.prg * src/compiler/hbopt.c * src/rtl/gtsln/gtsln.c * src/rtl/tlabel.prg * src/rtl/treport.prg * tests/and_or.prg * tests/db_brows.prg * tests/gtchars.prg * tests/mt/mttest04.prg * tests/mt/mttest10.prg * tests/parexpr.prg * tests/rddtest/rddtst.prg * tests/vec1.prg * utils/hbtest/rt_misc.prg * utils/hbtest/rt_stra.prg * utils/hbtest/rt_trans.prg * more cleanups % font.dat restored and now included in binary form in source using __streaminclude #pragma (was base64 encoded) 2012-10-03 17:29 UTC+0200 Viktor Szakats * config/postinst.hb * utils/hbmk2/hbmk2.prg + using HB_CWD() instead of DIRCHANGE() - tests/speedold.prg * contrib/gtwvg/3state.prg * contrib/gtwvg/activex.prg * contrib/gtwvg/bitmap.prg * contrib/gtwvg/checkbox.prg * contrib/gtwvg/class.prg * contrib/gtwvg/combobox.prg * contrib/gtwvg/crt.prg * contrib/gtwvg/dataref.prg * contrib/gtwvg/dialog.prg * contrib/gtwvg/drawarea.prg * contrib/gtwvg/genrc.prg * contrib/gtwvg/gtwvg.c * contrib/gtwvg/htmlview.prg * contrib/gtwvg/listbox.prg * contrib/gtwvg/menubar.prg * contrib/gtwvg/mle.prg * contrib/gtwvg/paint.prg * contrib/gtwvg/parthdlr.prg * contrib/gtwvg/pushbut.prg * contrib/gtwvg/radiobut.prg * contrib/gtwvg/scrollbr.prg * contrib/gtwvg/sle.prg * contrib/gtwvg/statbar.prg * contrib/gtwvg/static.prg * contrib/gtwvg/syswnd.prg * contrib/gtwvg/tabpage.prg * contrib/gtwvg/tests/activex.prg * contrib/gtwvg/tests/cuigdlgs.prg * contrib/gtwvg/tests/demowvg.prg * contrib/gtwvg/tests/demowvg1.prg * contrib/gtwvg/tests/demoxbp.prg * contrib/gtwvg/tests/dyndlgs.prg * contrib/gtwvg/tests/modal.prg * contrib/gtwvg/tests/tbrowser.prg * contrib/gtwvg/tests/utils.prg * contrib/gtwvg/tests/wvtcls.prg * contrib/gtwvg/tests/xbp.prg * contrib/gtwvg/toolbar.prg * contrib/gtwvg/treeview.prg * contrib/gtwvg/wnd.prg * contrib/gtwvg/wvgcore.c * contrib/gtwvg/wvgcuig.c * contrib/gtwvg/wvtwin.ch * contrib/hbct/getinfo.prg * contrib/hbhttpd/readme.txt * contrib/hbhttpd/widgets.prg * contrib/hbmzip/tests/myunzip.prg * contrib/hbmzip/tests/myzip.prg * contrib/hbnetio/tests/netiot02.prg * contrib/hbnf/hex2dec.prg * contrib/hbsqlit3/tests/backup.prg * contrib/hbwin/tests/pdfcreat.prg * contrib/hbwin/tests/testole.prg * contrib/rddsql/tests/arrayrdd.prg * contrib/xhb/cstruct.prg * contrib/xhb/dumpvar.prg * contrib/xhb/trpc.prg * contrib/xhb/ttable.ch * contrib/xhb/txml.prg * contrib/xhb/xcstr.prg * contrib/xhb/xdbmodst.prg * ChangeLog * doc/en/command.txt * doc/en/hvm.txt * doc/en/menu.txt * doc/en/tbrowse.txt * extras/gtwvw/gtwvw.c * extras/gtwvw/hbgtwvw.h * extras/gtwvw/tests/cbtest1.prg * extras/gtwvw/tests/cbtest6.prg * extras/gtwvw/tests/drawimg.prg * extras/gtwvw/tests/ebtest7.prg * extras/gtwvw/tests/inpfocus.prg * extras/gtwvw/tests/prog0.prg * extras/gtwvw/tests/prog1.prg * extras/gtwvw/tests/prog2.prg * extras/gtwvw/tests/wvwmouse.prg * extras/gtwvw/tests/wvwtest9.prg * extras/gtwvw/wvwcheck.c * extras/gtwvw/wvwdraw.c * extras/gtwvw/wvwfuncs.c * extras/gtwvw/wvwmenu.c * extras/gtwvw/wvwpush.c * extras/gtwvw/wvwstbar.c * extras/gtwvw/wvwtbar.c * extras/hbvpdf/hbvpdf.prg * extras/hbvpdf/hbvpdft.prg * extras/hbxlsxml/tests/example.prg * extras/hbxlsxml/tests/example2.prg * extras/hbxlsxml/tests/example3.prg * extras/hbxlsxml/xlsxml_s.prg * extras/hbxlsxml/xlsxml_y.prg * extras/hbxlsxml/xlsxml.prg * extras/httpsrv/cookie.prg * extras/httpsrv/session.prg * extras/httpsrv/uhttpd.prg * src/compiler/hbmain.c * src/debug/dbgtarr.prg * src/debug/dbgthsh.prg * src/debug/dbgtobj.prg * src/debug/debugger.prg * src/rdd/dbfcdx/dbfcdx1.c * src/rdd/dbfnsx/dbfnsx1.c * src/rdd/dbfntx/dbfntx1.c * src/rdd/hbsix/sxcompat.prg * src/rtl/tpersist.prg * tests/and_or.prg * tests/clsccast.prg * tests/clsicast.prg * tests/clsscast.prg * tests/clsscope.prg * tests/codebl.prg * tests/cpinfo.prg * tests/foreach.prg * tests/inherit.prg * tests/memvar.prg * tests/mt/mttest01.prg * tests/mt/mttest02.prg * tests/mt/mttest03.prg * tests/mt/mttest04.prg * tests/mt/mttest05.prg * tests/mt/mttest06.prg * tests/mt/mttest07.prg * tests/mt/mttest09.prg * tests/mt/mttest10.prg * tests/rddtest/rddmktst.prg * tests/rddtest/rddtst.prg * tests/rto_get.prg * tests/rto_tb.prg * tests/speedtst.prg * tests/stripem.prg * tests/testpre.prg * tests/testwarn.prg * tests/transtst.prg * utils/hbtest/hbtest.prg * utils/hbtest/rt_hvma.prg * various formal cleanups ! fixed ==/!= operator usage in hbxlsxml 2012-10-03 11:15 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/include/hbapifs.h * harbour/src/rtl/filesys.c + added two new C functions: HB_BOOL hb_fsGetCWD( char * pszBuffer, HB_SIZE nSize ); HB_BOOL hb_fsSetCWD( const char * pszDirName ); * synced some parameters names with declarations in header * harbour/src/rtl/hbfilehi.prg * harbour/src/rtl/philes.c * rewritten HB_CWD() function in C ! fixed to HB_CWD() work with UNC path in MS-Windows and other systems using drive letters + added support for setting new working directory (and drive) by HB_CWD( <cNewWD> ) 2012-10-02 23:02 UTC+0200 Viktor Szakats * tests/inkeytst.prg * tests/mousetst.prg ! added unicode support when run under Harbour * contrib/hbnf/floptst.prg * tests/codebl.prg * tests/memvar.prg * tests/switch.prg * cleanups, formatting 2012-10-02 21:43 UTC+0200 Viktor Szakats * contrib/hbct/tests/ctwtest.prg * contrib/hbcurl/tests/ftp_uldl.prg * contrib/hbnf/clrsel.prg * contrib/hbnf/dispmsg.prg * contrib/hbnf/menutonf.prg * extras/gfspell/spell.prg * extras/gtwvw/tests/prog0.prg * extras/gtwvw/tests/prog1.prg * extras/gtwvw/tests/prog2.prg * extras/gtwvw/tests/wvwtest9.prg * tests/wvtext.prg * cleanups targeting usage of MT-friendly GT HB_DISP*() calls * formatting 2012-10-02 21:14 UTC+0200 Viktor Szakats * contrib/hbct/tests/*.prg * tests/tstuse.prg * cleanups (mostly QOUT() -> ?) ; hbrun works beautifully with tests, finally I don't have to build them to exe to run them. 2012-10-02 20:35 UTC+0200 Viktor Szakats * contrib/hbamf/tests/tstendin.prg * contrib/hbgt/tests/test.prg * contrib/hbmisc/stringp.prg * contrib/hbmisc/tests/readfile.prg * contrib/hbmisc/tests/testhbf.prg * contrib/hbmysql/tests/test.prg * contrib/hbmysql/tmysql.prg * contrib/hbnf/doc/en/*.txt * contrib/hbnf/tests/*.prg * contrib/hbsqlit3/tests/*.prg * contrib/hbssl/tests/pem.prg * contrib/hbziparc/doc/en/hbziparc.txt * doc/en/objfunc.txt * doc/en/rdddb.txt * doc/en/rddmisc.txt * doc/en/string.txt * tests/clasinit.prg * tests/debugtst.prg * tests/dynobj.prg * tests/funcarr.prg * tests/inherit.prg * tests/objarr.prg * tests/objasign.prg * tests/stripem.prg * cleanups 2012-10-02 14:13 UTC+0200 Viktor Szakats * src/rtl/gtapiu.c ! synced hb_gtWVis() definition with declaration 2012-10-02 13:52 UTC+0200 Viktor Szakats * tests/adirtest.prg * tests/ainstest.prg * tests/and_or.prg * tests/array16.prg * tests/arrayidx.prg * tests/arrays.prg * tests/arrindex.prg * tests/atest.prg * tests/base64.prg * tests/byref.prg * tests/calling.prg * tests/cdow.prg * tests/clasinit.prg * tests/clasname.prg * tests/classch.prg * tests/classes.prg * tests/clsdata.prg * tests/cmphello.prg * tests/codebl.prg * tests/curdirt.prg * tests/cursrtst.prg * tests/dates.prg * tests/dates2.prg * tests/dates3.prg * tests/debugtst.prg * tests/delimtst.prg * tests/devtest.prg * tests/dirtest.prg * tests/disptest.prg * tests/docase.prg * tests/dosshell.prg * tests/dttest.prg * tests/dupvars.prg * tests/dynobj.prg * tests/dynsym.prg * tests/exittest.prg * tests/extend1.prg * tests/fib.prg * tests/fornext.prg * tests/fortest.prg * tests/funcarr.prg * tests/hbdoctst.prg * tests/hsxtest.prg * tests/ifelse.prg * tests/inifiles.prg * tests/initexit.prg * tests/inkeytst.prg * tests/inline_c.prg * tests/inline.prg * tests/iotest.prg * tests/iotest2.prg * tests/ipclnt.prg * tests/ipsvr.prg * tests/longstr.prg * tests/mathtest.prg * tests/memvar.prg * tests/multiarg.prg * tests/nums.prg * tests/objarr.prg * tests/objasign.prg * tests/objects.prg * tests/os.prg * tests/overload.prg * tests/parexpr.prg * tests/passref.prg * tests/procname.prg * tests/recursiv.prg * tests/returns.prg * tests/round.prg * tests/sdf_test.prg * tests/seconds.prg * tests/set_num.prg * tests/set_test.prg * tests/sound.prg * tests/statfun.prg * tests/statics.prg * tests/statics1.prg * tests/statics2.prg * tests/strdelim.prg * tests/stripem.prg * tests/t1.prg * tests/test.prg * tests/testerro.prg * tests/testfor.prg * tests/testget.prg * tests/testhtml.prg * tests/testid.prg * tests/testop.prg * tests/teststr.prg * tests/testtok.prg * tests/testvars.prg * tests/tflock.prg * tests/tstalias.prg * tests/version.prg * tests/videotst.prg * tests/while.prg * tests/wvtext.prg ! various cleanups and fixes after running almost all of them * ChangeLog * changed hbqt new repository to its new location: https://sourceforge.net/projects/qtcontribs/ 2012-10-02 11:26 UTC+0200 Viktor Szakats * contrib/hbnf/popadder.prg * src/rtl/listbox.prg * src/rtl/scrollbr.prg * src/rtl/tmenuitm.prg * tests/db_brows.prg ! reverted to use plain Chr() for low-ASCII (0-31) drawing chars (hb_UTF8ToStr*() converts these to "?", which is expected) 2012-10-02 10:58 UTC+0200 Viktor Szakats * tests/tstdspac.prg ! fixed two problems 2012-10-02 04:07 UTC+0200 Viktor Szakats * contrib/hbnf/dispc.c + added FIXME (needs to be updated for unicode savescreen buffers) * contrib/hbnf/menu1.prg ! use inkey.ch constants * contrib/hbnf/pickday.prg * comment * contrib/hbnf/tests/*.prg + added '#require "hbnf"' so they all work as hbrun scripts now. pretty cool. * Added CLS calls for few files to force CUI mode. 2012-10-02 03:33 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg * minor code cleanup by using macros for special dirs 2012-10-02 03:08 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + added tricky feature which attempts to autodetect whether a script is meant to be run on an interactive CUI as opposed to the default command line (CLI, aka GTCGI) mode. It makes it possible to keep command-line oriented scripts running using GTCGI, while full-screen apps are run using GTWIN and friends without code changes. E.g. /tests apps can be run this way easily. ; scripts can force to use CLI by using: 'REQUEST HB_GT_CGI_DEFAULT' ; scripts can switch to CUI mode explicitly by running this code: #ifdef __HBSCRIPT__HBSHELL hbshell_gtInteractive() #endif Experimental, might change to something more elegant. * tests/db_brows.prg ! fixed CUI for unicode and readded CUI drawing elements * tests/sbartest.prg * comment deleted 2012-10-02 01:29 UTC+0200 Viktor Szakats * ChangeLog * deleted TODO from 2012-10-02 01:10, C level box drawing is already perfect in current Harbour. 2012-10-02 01:10 UTC+0200 Viktor Szakats * contrib/hbmisc/hbedit.prg * src/debug/dbghelp.prg * src/debug/dbgtmenu.prg * src/debug/dbgtwin.prg * src/debug/dbgwa.prg * src/rtl/browse.prg * src/rtl/listbox.prg * src/rtl/radiogrp.prg * src/rtl/tmenuitm.prg * src/rtl/tpopup.prg * tests/gtwin.prg * tests/box.prg * tests/boxtst2.prg * tests/scroll.prg * tests/vidtest.prg ! fixed to use new unicode-compatible box.ch/button.ch macros For standalone programs (in tests) in only makes any difference when running them as scripts, now they will work (after adding hbshell_gtInteracive() call at startup), while before the drawing chars were scrambled. * src/rtl/browse.prg * src/rtl/checkbox.prg * src/rtl/dbedit.prg * src/rtl/dbedit.prg * src/rtl/listbox.prg * src/rtl/scrollbr.prg * src/rtl/tmenuitm.prg ! fixed Chr() calls for drawing chars to unicode strings to be compatible with both unicode and non-unicode (and any BOXCP) mode. * src/rtl/browse.prg ! fixed to use '!( hb_keyChar( nKey ) == "" )' instead of looking for keycode between 32 and 255 (inclusive) making it unicode compatible * formatting * src/rtl/tpersist.prg * src/rtl/memoedit.prg * src/debug/debugger.prg * src/debug/dbgthsh.prg * src/debug/dbgtarr.prg * src/debug/tbrwtext.prg * formatting * src/rtl/tmenuitm.prg * src/rtl/tpopup.prg + added FIXMEs where drawing chars are used as internal flags. This may cause problems if switching CPs while using these objects. * tests/sbartest.prg + unicode compatibility while keeping it Cl*pper compatible ! fixed RTE due to using wrong SCROLLBAR method * tests/tb1.prg * changed to use new unicode-compatible box.ch/button.ch macros while keeping Cl*pper compatibility * tests/vidtest.prg ! fixed remaining drawing chars using Chr() (Cl*pper compatibility maintained) * tests/testsha2.prg * tests/utf8at.prg ! fixed to use HB_BCHAR() instead of CHR() for unicode compatibility. ; NOTE: After above changes scripts and commands run via hbrun will display drawing chars properly. Unicode apps as well, even with BOXCP set to unicode, too. 2012-10-01 23:48 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/src/pp/ppcore.c ! fixed possible GPF when some broken expressions are used as part of extended expression match marker * harbour/src/rtl/padr.c * harbour/src/rtl/padc.c * harbour/src/rtl/padl.c ! fixed PADR(), PADL() and PADC() to accept pad mulibyte characters when CPs with such encoding is used, i.e. CP950 or UTF8EX * harbour/contrib/xhb/xhb.hbx * updated to follow recent modifications 2012-10-01 22:23 UTC+0200 Viktor Szakats * include/box.ch * include/button.ch + added Unicode compatible macros for drawing strings * contrib/hbmisc/hbedit.prg * contrib/hbmisc/stringp.prg * contrib/hbmisc/twirler.prg * contrib/hbmisc/hbmisc.hbx * formatted using hbformat and manually * DEFAULT() made STATIC. It was colliding with xhb after latest changes. INCOMPATIBLE. Use HB_DEFAULT() instead. ! DEFAULT() fixed using != on strings 2012-10-01 19:39 UTC+0200 Viktor Szakats * src/rtl/Makefile - src/rtl/cdpbox.prg + src/rtl/cdpbox.c % HB_UTF8TOSTRBOX() converted to C 2012-10-01 19:30 UTC+0200 Viktor Szakats * src/rtl/cdpbox.prg % use HB_UTF8TOSTR() instead of HB_TRANSLATE() 2012-10-01 19:13 UTC+0200 Viktor Szakats * include/harbour.hbx * src/rtl/Makefile + src/rtl/cdpbox.prg + added HB_UTF8TOSTRBOX( <cUTF8String> ) -> <cStringEncodedIn_GT_BOXCP> It's needed because HB_UTF8TOSTR() will convert to main CP, but box drawing CP can be setup differently with HB_GTI_BOXCP, that function call will take that into account. * contrib/hbnf/aredit.prg * contrib/hbnf/clrsel.prg * contrib/hbnf/dispmsg.prg * contrib/hbnf/menu1.prg * contrib/hbnf/pegs.prg * contrib/hbnf/pickday.prg * contrib/hbnf/popadder.prg * contrib/hbnf/tbwhile.prg * contrib/hbnf/vertmenu.prg * tests/db_brows.prg * tests/gtchars.prg * tests/testbrw.prg * extras/gtwvw/tests/prog0.prg * extras/gtwvw/tests/prog1.prg * extras/gtwvw/tests/prog2.prg ! fixed drawing chars to display properly regardless of HB_GTI_BOXCP setting. ! some related minor fixes * tests/tb1.prg ! fixed to compile and build using Cl*pper after recent UTF8 compatibility updates (not tested though) ; FIXME: Pad*() function handle 3rd parameter as binary string, so it doesn't work properly in UTF8 mode. [DONE] 2012-10-01 11:33 UTC+0200 Viktor Szakats ! ChangeLog ! deleted UTF-8 char. (Maybe its time to switch to UTF-8 for the ChangeLog and other text files?) 2012-10-01 11:33 UTC+0200 Viktor Szakats * src/lang/sk.c + updated Slovak language module. Patch by Jaroslav Janik. Many thanks. * contrib/hbnf/calendar.prg * contrib/hbnf/pegs.prg * tests/ac_test.prg * minor formatting. 2012-09-30 23:08 UTC+0200 Viktor Szakats + contrib/hbct/tests/dates4.prg - tests/dates4.prg * contrib/hbnf/byt2bit.prg * contrib/hbnf/dectobin.prg * contrib/hbnf/popadder.prg * tests/ac_test2.prg * tests/ainstest.prg * tests/and_or.prg * tests/array16.prg * tests/arrays.prg * tests/begin.prg * tests/byref.prg * tests/calling.prg * tests/clasinh.prg * tests/clasinit.prg * tests/classes.prg * tests/clsnv.prg * tests/codebloc.prg * tests/dates.prg * tests/debugtst.prg * tests/destruct.prg * tests/dirtest.prg * tests/dynobj.prg * tests/exittest.prg * tests/fib.prg * tests/files.prg * tests/fornext.prg * tests/fsplit.prg * tests/gtchars.prg * tests/ifelse.prg * tests/inherit.prg * tests/inifiles.prg * tests/initexit.prg * tests/inkeytst.prg * tests/inline.prg * tests/iotest.prg * tests/iotest2.prg * tests/longdev.prg * tests/longstr2.prg * tests/memvar.prg * tests/multiarg.prg * tests/newrdd.prg * tests/nums.prg * tests/objasign.prg * tests/objects.prg * tests/overload.prg * tests/passref.prg * tests/procname.prg * tests/readhrb.prg * tests/returns.prg * tests/rto_get.prg * tests/rto_tb.prg * tests/sbartest.prg * tests/setkeys.prg * tests/speed.prg * tests/statfun.prg * tests/statics.prg * tests/stripem.prg * tests/switch.prg * tests/tb1.prg * tests/test_all.prg * tests/testbrw.prg * tests/testcls.prg * tests/testerro.prg * tests/testfor.prg * tests/testmem.prg * tests/testntx.prg * tests/testop.prg * tests/testpp.prg * tests/testrdd2.prg * tests/teststr.prg * tests/testvars.prg * tests/testwarn.prg * tests/tstasort.prg * tests/tstdbi.prg * tests/tstmacro.prg * tests/varparam.prg * tests/vidtest.prg * various cleanups, fixes and formatting now most tests are warning and error free 2012-09-30 14:51 UTC+0200 Viktor Szakats * contrib/gtalleg/gtalleg.hbc * contrib/gtwvg/gtwvg.hbc * contrib/hbamf/hbamf.hbc * contrib/hbblat/hbblat.hbc * contrib/hbblink/hbblink.hbc * contrib/hbbz2/hbbz2.hbc * contrib/hbcairo/hbcairo.hbc * contrib/hbcomm/hbcomm.hbc * contrib/hbct/hbct.hbc * contrib/hbcups/hbcups.hbc * contrib/hbcurl/hbcurl.hbc * contrib/hbdroid/hbdroid.hbc * contrib/hbexpat/hbexpat.hbc * contrib/hbfbird/hbfbird.hbc * contrib/hbfimage/hbfimage.hbc * contrib/hbformat/hbformat.hbc * contrib/hbfoxpro/hbfoxpro.hbc * contrib/hbfship/hbfship.hbc * contrib/hbgd/hbgd.hbc * contrib/hbgs/hbgs.hbc * contrib/hbgt/hbgt.hbc * contrib/hbhpdf/hbhpdf.hbc * contrib/hbhttpd/hbhttpd.hbc * contrib/hblzf/hblzf.hbc * contrib/hbmagic/hbmagic.hbc * contrib/hbmemio/hbmemio.hbc * contrib/hbmisc/hbmisc.hbc * contrib/hbmlzo/hbmlzo.hbc * contrib/hbmxml/hbmxml.hbc * contrib/hbmysql/hbmysql.hbc * contrib/hbmzip/hbmzip.hbc * contrib/hbnetio/hbnetio.hbc * contrib/hbnf/hbnf.hbc * contrib/hbodbc/hbodbc.hbc * contrib/hboslib/hboslib.hbc * contrib/hbpgsql/hbpgsql.hbc * contrib/hbsms/hbsms.hbc * contrib/hbsqlit3/hbsqlit3.hbc * contrib/hbssl/hbssl.hbc * contrib/hbtinymt/hbtinymt.hbc * contrib/hbtip/hbtip.hbc * contrib/hbtpathy/hbtpathy.hbc * contrib/hbunix/hbunix.hbc * contrib/hbwin/hbwin.hbc * contrib/hbxdiff/hbxdiff.hbc * contrib/hbxpp/hbxpp.hbc * contrib/hbzebra/hbzebra.hbc * contrib/hbziparc/hbziparc.hbc * contrib/rddads/rddads.hbc * contrib/rddbm/rddbm.hbc * contrib/rddsql/rddsql.hbc * contrib/sddfb/sddfb.hbc * contrib/sddmy/sddmy.hbc * contrib/sddoci/sddoci.hbc * contrib/sddodbc/sddodbc.hbc * contrib/sddpg/sddpg.hbc * contrib/sddsqlt3/sddsqlt3.hbc * contrib/xhb/xhb.hbc + added 'description=' lines to all contrib .hbc files. * doc/dirstruc.txt - deleted information on contribs. 2012-09-30 21:26 UTC+0200 Viktor Szakats * contrib/hbnf/calendar.prg * contrib/hbnf/dispmsg.prg * contrib/hbnf/menu1.prg * contrib/hbnf/xbox.prg % use HB_SHADOW() instead of FT_SHADOW() * contrib/hbnf/tests/d2e.prg * contrib/hbnf/tests/menu1.prg * contrib/hbnf/tests/tempfile.prg ! fixed to build after separation * contrib/hbnf/d2e.prg * formatting 2012-09-30 12:56 UTC+0200 Viktor Szakats * contrib/3rd/sqlite3/sqlite3.hbp ! set SQLITE_OS_OTHER (to disable pthread) for all OS/2 C compilers. 2012-09-30 12:21 UTC+0200 Viktor Szakats * contrib/hbnf/tests/* % deleted line ending spaces 2012-09-30 12:15 UTC+0200 Viktor Szakats * include/harbour.hbx * src/rtl/Makefile + src/rtl/savebuff.prg + added few helper functions to work on savescreen buffers __XSaveGetChar( <cSaveScreen>, <nPos> ) -> <cChar> __XSaveGetColor( <cSaveScreen>, <nPos> ) -> <nColor> __XSaveGetAttr( <cSaveScreen>, <nPos> ) -> <nAttr> * contrib/hbnf/datecnfg.prg % minor optimization ! fixed to not use != on string * contrib/hbnf/dispmsg.prg % deleted unnecessary header * contrib/hbnf/ftround.prg * formatting * contrib/hbnf/popadder.prg ! fixed parts that directly manipulated savescreen buffers ! use HB_SHADOW() instead of locally rolled solutions that manipulates savescreen buffers * contrib/hbnf/tests/aredit.prg * contrib/hbnf/tests/calendar.prg * contrib/hbnf/tests/clrsel.prg * contrib/hbnf/tests/d2e.prg * contrib/hbnf/tests/dispmsg.prg * contrib/hbnf/tests/menu1.prg * contrib/hbnf/tests/popadder.prg ! fixed missing headers 2012-09-30 00:41 UTC+0200 Viktor Szakats * include/button.ch * changed file mime-type to UTF8 + added UTF8 equivalent of CP437 encoded CHR() calls in comments. 2012-09-29 22:06 UTC+0200 Viktor Szakats * src/3rd/tiff/Makefile * src/3rd/tiff/* * updated to 4.0.3 (from 4.0.2) using 3rdpatch.hb * src/3rd/png/Makefile * src/3rd/png/* * updated to 1.5.13 (from 1.5.12) using 3rdpatch.hb 2012-09-29 19:44 UTC+0200 Viktor Szakats + contrib/hbnf/tests/aading.prg + contrib/hbnf/tests/aemaxlen.prg + contrib/hbnf/tests/aeminlen.prg + contrib/hbnf/tests/amedian.prg + contrib/hbnf/tests/aredit.prg + contrib/hbnf/tests/at2.prg + contrib/hbnf/tests/blink.prg + contrib/hbnf/tests/calendar.prg + contrib/hbnf/tests/clrsel.prg + contrib/hbnf/tests/d2e.prg + contrib/hbnf/tests/datecnfg.prg + contrib/hbnf/tests/dectobin.prg + contrib/hbnf/tests/dfile.prg + contrib/hbnf/tests/diskfunc.prg + contrib/hbnf/tests/dispmsg.prg + contrib/hbnf/tests/dosver.prg + contrib/hbnf/tests/e2d.prg + contrib/hbnf/tests/elapsed.prg + contrib/hbnf/tests/findith.prg + contrib/hbnf/tests/floptst.prg + contrib/hbnf/tests/gcd.prg + contrib/hbnf/tests/hex2dec.prg + contrib/hbnf/tests/isshare.prg + contrib/hbnf/tests/linked.prg + contrib/hbnf/tests/menu1.prg + contrib/hbnf/tests/metaph.prg + contrib/hbnf/tests/miltime.prg + contrib/hbnf/tests/mouse1.prg + contrib/hbnf/tests/mouse2.prg + contrib/hbnf/tests/netpv.prg + contrib/hbnf/tests/ntow.prg + contrib/hbnf/tests/nwlstat.prg + contrib/hbnf/tests/nwsem.prg + contrib/hbnf/tests/nwuid.prg + contrib/hbnf/tests/pending.prg + contrib/hbnf/tests/pickday.prg + contrib/hbnf/tests/popadder.prg + contrib/hbnf/tests/prtesc.prg + contrib/hbnf/tests/rand1.prg + contrib/hbnf/tests/savearr.prg + contrib/hbnf/tests/savesets.prg + contrib/hbnf/tests/scancode.prg + contrib/hbnf/tests/setdate.prg + contrib/hbnf/tests/settime.prg + contrib/hbnf/tests/sleep.prg + contrib/hbnf/tests/sysmem.prg + contrib/hbnf/tests/tbwhile.prg + contrib/hbnf/tests/tempfile.prg + contrib/hbnf/tests/vertmenu.prg + contrib/hbnf/tests/vidmode.prg + contrib/hbnf/tests/wda.prg + contrib/hbnf/tests/workdays.prg + contrib/hbnf/tests/woy.prg + contrib/hbnf/tests/xbox.prg - contrib/hbnf/hbmk.hbm - contrib/hbnf/tests/nftest.prg * contrib/hbnf/aading.prg * contrib/hbnf/aemaxlen.prg * contrib/hbnf/aeminlen.prg * contrib/hbnf/amedian.prg * contrib/hbnf/aredit.prg * contrib/hbnf/at2.prg * contrib/hbnf/blink.prg * contrib/hbnf/calendar.prg * contrib/hbnf/clrsel.prg * contrib/hbnf/d2e.prg * contrib/hbnf/datecnfg.prg * contrib/hbnf/dectobin.prg * contrib/hbnf/dfile.prg * contrib/hbnf/diskfunc.prg * contrib/hbnf/dispmsg.prg * contrib/hbnf/dosver.prg * contrib/hbnf/e2d.prg * contrib/hbnf/elapsed.prg * contrib/hbnf/findith.prg * contrib/hbnf/floptst.prg * contrib/hbnf/gcd.prg * contrib/hbnf/hex2dec.prg * contrib/hbnf/isshare.prg * contrib/hbnf/linked.prg * contrib/hbnf/menu1.prg * contrib/hbnf/metaph.prg * contrib/hbnf/miltime.prg * contrib/hbnf/mouse1.prg * contrib/hbnf/mouse2.prg * contrib/hbnf/netpv.prg * contrib/hbnf/ntow.prg * contrib/hbnf/nwlstat.prg * contrib/hbnf/nwsem.prg * contrib/hbnf/nwuid.prg * contrib/hbnf/pending.prg * contrib/hbnf/pickday.prg * contrib/hbnf/popadder.prg * contrib/hbnf/prtesc.prg * contrib/hbnf/rand1.prg * contrib/hbnf/savearr.prg * contrib/hbnf/savesets.prg * contrib/hbnf/scancode.prg * contrib/hbnf/setdate.prg * contrib/hbnf/settime.prg * contrib/hbnf/sleep.prg * contrib/hbnf/sysmem.prg * contrib/hbnf/tbwhile.prg * contrib/hbnf/tempfile.prg * contrib/hbnf/vertmenu.prg * contrib/hbnf/vidmode.prg * contrib/hbnf/wda.prg * contrib/hbnf/workdays.prg * contrib/hbnf/woy.prg * contrib/hbnf/xbox.prg + extracted FT_TEST code into separate .prg files and copied to /tests dir, replacing nftest.prg which was a copy of the same code merged into one file. 2012-09-29 18:34 UTC+0200 Viktor Szakats * contrib/hbnf/aavg.prg * contrib/hbnf/adessort.prg * contrib/hbnf/aemaxlen.prg * contrib/hbnf/aeminlen.prg * contrib/hbnf/amedian.prg * contrib/hbnf/anomatch.prg * contrib/hbnf/asum.prg * contrib/hbnf/at2.prg * contrib/hbnf/blink.prg * contrib/hbnf/clrsel.prg * contrib/hbnf/datecnfg.prg * contrib/hbnf/dosver.prg * contrib/hbnf/findith.prg * contrib/hbnf/gcd.prg * contrib/hbnf/invclr.prg * contrib/hbnf/lastday.prg * contrib/hbnf/menutonf.prg * contrib/hbnf/metaph.prg * contrib/hbnf/miltime.prg * contrib/hbnf/mouse1.prg * contrib/hbnf/nooccur.prg * contrib/hbnf/nwlstat.prg * contrib/hbnf/pegs.prg * contrib/hbnf/pending.prg * contrib/hbnf/pickday.prg * contrib/hbnf/popadder.prg * contrib/hbnf/settime.prg * contrib/hbnf/sleep.prg * contrib/hbnf/tbwhile.prg * contrib/hbnf/week.prg * manual formatting (comments mostly) + added FIXMEs where savescreen() buffers are manipulated * contrib/hbnf/tests/ftgete.prg * contrib/hbnf/tests/nftest.prg * contrib/hbnf/tests/test.prg * formatting * contrib/hbpre.hbm * contrib/make.hb ! fix to prev for disabling hbmk.hbm (it makes command-line longer though, which might be a problem on MS-DOS) 2012-09-29 17:24 UTC+0200 Viktor Szakats * contrib/hbnf/aading.prg * contrib/hbnf/clrsel.prg * contrib/hbnf/dispmsg.prg * contrib/hbnf/e2d.prg * contrib/hbnf/elapsed.prg * contrib/hbnf/floptst.prg * contrib/hbnf/linked.prg * contrib/hbnf/menutonf.prg * contrib/hbnf/miltime.prg * contrib/hbnf/ntow.prg * contrib/hbnf/pchr.prg * contrib/hbnf/pegs.prg * contrib/hbnf/popadder.prg * contrib/hbnf/tbwhile.prg * contrib/hbnf/wda.prg * manual formatting * contrib/hbpre.hbm * contrib/make.hb ! disable hbmk.hbm when detecting depdencies and building contribs (contrib/hbnf/hbmk.hbm could cause troubles) 2012-09-28 20:18 UTC+0200 Viktor Szakats * contrib/rddads/adsfunc.c ! one other fix for ADS 6.00 2012-09-28 20:13 UTC+0200 Viktor Szakats * contrib/hbpost.hbm * contrib/make.hb * INSTALL + implemented 'install' option when building contribs in standalone mode (aka when doing a partial [re]build). Experimental, very lightly tested and the recommended way remains to _avoid_ 'install' in all situations and to use .hbc files to use packages. 2012-09-28 18:17 UTC+0200 Viktor Szakats * include/box.ch * src/rtl/browse.prg * src/rtl/radiogrp.prg * src/rtl/checkbox.prg * src/rtl/dbedit.prg * src/rtl/listbox.prg * src/rtl/scrollbr.prg * src/rtl/tmenuitm.prg * changed file mime-type to UTF8 + added UTF8 equivalent of CP437 encoded CHR() calls in comments. + use box.ch in radiogrp instead of locally defining the same strings 2012-09-28 11:51 UTC+0200 Viktor Szakats * contrib/rddads/adsfunc.c ! another fix for ADS 6.00, as it turned out the header I got was a modified one. 2012-09-28 09:44 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/contrib/xhb/xhbfunc.c ! fixed typo with reverted function names in HB_BITISSET() -> HB_BITTEST() wrapper 2012-09-28 01:56 UTC+0200 Viktor Szakats * contrib/hbnf/aredit.prg * contrib/hbnf/calendar.prg * contrib/hbnf/datecnfg.prg * contrib/hbnf/dfile.prg * contrib/hbnf/diskfunc.prg * contrib/hbnf/dispmsg.prg * contrib/hbnf/elapsed.prg * contrib/hbnf/linked.prg * contrib/hbnf/menu1.prg * contrib/hbnf/metaph.prg * contrib/hbnf/mouse1.prg * contrib/hbnf/mouse2.prg * contrib/hbnf/savearr.prg * contrib/hbnf/savesets.prg * contrib/hbnf/vertmenu.prg ! fixed various warnings to compile with -w3 ! fixed one Cl*pper incompatibility causing error (order of LOCALs referencing each other) * formatted along the way and some misc minor changes 2012-09-28 01:24 UTC+0200 Viktor Szakats * contrib/hbnf/popadder.prg ! replaced Chr() calls for CP437 chars with unicode strings 2012-09-28 01:20 UTC+0200 Viktor Szakats + contrib/hbnf/hbmk.hbm + added automatic .hbm to make it easy to build embedded test code protected by FT_TEST macro (note most/some test code will fail in -w3 mode) * contrib/hbnf/nwuid.prg * contrib/hbnf/tempfile.prg * minor in comment * contrib/hbnf/pchr.prg * use string literals instead of Chr() call * minor formatting * contrib/hbnf/dispmsg.prg ! fixed test code to compile in -w3 mode ! fixed key handling for unicode (including one regression from recent days) * formatted // comments * contrib/hbnf/aredit.prg * use Asc() instead of using hardwired char codes * contrib/hbnf/clrsel.prg ! fixed test code to compile in -w3 mode ! replaced Chr() calls for CP437 chars with unicode strings * formatted // comments * contrib/hbnf/woy.prg * use Tone() instead of Chr( 7 ) * utils/hbmk2/hbmk2.prg + hbshell_gtInteractive() to set hb_SetTermCP() ! for pure unicode mode, set HB_GTI_BOXCP to UTF8EX (note this will cause problems with current default box drawing chars used in RTL) 2012-09-27 23:44 UTC+0200 Viktor Szakats * utils/hbmk2/examples/plug_bis.hb % minor cleanup - contrib/hbnetio/utils/hbnetioq - deleted (find it here or from repo history: https://sourceforge.net/projects/qtcontribs/) * utils/hbmk2/examples/contribf.hbc * updated 2012-09-27 23:06 UTC+0200 Viktor Szakats * contrib/hbmxml/3rd/minixml/config.h ! deleted macro redefinition to silence MSVC warning ! fixed built-time error with some missing internal helper functions in C++ mode (e.g. MSVC) Thanks to Ronaldo M++ for report. 2012-09-27 18:32 UTC+0200 Viktor Szakats + contrib/hbexpat/tests/test.xml * contrib/hbexpat/tests/test.prg * contrib/hbexpat/tests/tohash.prg + added local test xml file for expat test functions 2012-09-27 18:27 UTC+0200 Viktor Szakats + contrib/gtwvg/tests/activex.prg + contrib/gtwvg/tests/cuigdlgs.prg + contrib/gtwvg/tests/dyndlgs.prg + contrib/gtwvg/tests/modal.prg + contrib/gtwvg/tests/tbrowser.prg + contrib/gtwvg/tests/utils.prg + contrib/gtwvg/tests/wvtcls.prg + contrib/gtwvg/tests/xbp.prg - contrib/gtwvg/tests/wvgactivex.prg - contrib/gtwvg/tests/wvgcuigdialog.prg - contrib/gtwvg/tests/wvgdyndialogs.prg - contrib/gtwvg/tests/wvgmodal.prg - contrib/gtwvg/tests/wvgqt.prg - contrib/gtwvg/tests/wvgtbrowser.prg - contrib/gtwvg/tests/wvgutilities.prg - contrib/gtwvg/tests/wvgwvtclasses.prg - contrib/gtwvg/tests/wvgxbp.prg * contrib/gtwvg/tests/demowvg.hbp * contrib/gtwvg/tests/demowvg.prg * use short filenames, avoid same prefix for all files - deleted QT dependent parts (possibly to be moved to hbqt repo tests dir) * extras/hbxlsxml/hbxlsxml.hbp * synced with rest of extras .hbp files (allowing e.g. multiple target builds in parallel) 2012-09-27 18:13 UTC+0200 Viktor Szakats * contrib/gtwvg/* % reduced code size by 10%+ by replacing long function separator comments with short ones. 2012-09-27 17:06 UTC+0200 Viktor Szakats * contrib/hbnf/menu1.prg * contrib/hbnf/menutonf.prg * contrib/hbnf/pegs.prg * contrib/hbnf/pending.prg * contrib/hbnf/popadder.prg * Renamed THREAD STATIC variables to all have a t_ prefix 2012-09-27 16:01 UTC+0200 Viktor Szakats * contrib/rddads/rddads.h ! fixed version detection for ADS 6.00 and 6.10/6.11 Thanks to jb for providing the header file. * contrib/rddads/ads1.c ! fixed for ADS 6.00 * contrib/rddads/adsfunc.c ! fixed for ADS older than 6.00 2012-09-27 15:31 UTC+0200 Viktor Szakats * contrib/gtwvg/combobox.prg * contrib/gtwvg/listbox.prg * contrib/gtwvg/pushbut.prg * contrib/gtwvg/statbar.prg * contrib/gtwvg/static.prg * contrib/gtwvg/tabpage.prg * contrib/gtwvg/toolbar.prg * contrib/gtwvg/treeview.prg ! deleted (most possibly copyright protected) MSDN documentation copied to the end of source files from MS website. Visit this link to find the same information online: https://msdn.microsoft.com/library/bb773169 2012-09-27 13:50 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/contrib/xhb/hbcompat.ch * harbour/contrib/xhb/xhbinet.c ! fixed typo in function name should be INETISSOCKET() instead of ISINETSOCKET() * harbour/contrib/xhb/xhbinkey.prg ! fixed typo in SetInkeyBeforeBlock() function name * harbour/contrib/xhb/xhbfs.c + added new function ISDIR() * harbour/contrib/xhb/xhbfunc.c + added new functions: HB_HASHID(), HB_LIBDO(), HB_BITTEST(), DEFAULT() * harbour/contrib/xhb/xhb.hbx * updated 2012-09-27 12:11 UTC+0200 Viktor Szakats - contrib/hbide - contrib/hbqt - contrib/hbxbp - deleted hbqt, hbxbp, hbide as final step of contrib split to separate project. find them in this (temporary) repository: https://sourceforge.net/projects/qtcontribs/ or checkout from Harbour repository using: svn co -r 18153 https://harbour-project.svn.sourceforge.net/svnroot/harbour-project/trunk/harbour 2012-09-27 01:59 UTC+0200 Viktor Szakats * contrib/hbnf/* % deleted original filename embedded in headers % deleted commented ASM code (all these have been long rewritten in C) * minor formatting 2012-09-27 01:26 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! add -static option for win-wce/mingw* platforms when -fullstatic hbmk2 option is used. (in sync with rest of platform). Reported by Przemek. Please checkme! 2012-09-26 19:25 UTC+0200 Viktor Szakats * contrib/hbnf/datecnfg.prg * contrib/hbnf/dfile.prg * contrib/hbnf/dispmsg.prg * contrib/hbnf/menu1.prg * contrib/hbnf/menutonf.prg * contrib/hbnf/nwsem.prg * contrib/hbnf/nwuid.prg * contrib/hbnf/scancode.prg * contrib/hbnf/scregion.prg * contrib/hbnf/sinkey.prg * contrib/hbnf/sqzn.prg * contrib/hbnf/tempfile.prg + more unicode compatibility updates. ; regressions possible, please review & test * minor formatting along the way * contrib/hbnf/dispc.c % globally visible variables made static. This introduces a slight incompatibility in case some C code tried to access these, though there was never a header for it, ie. they were never documented variables. 2012-09-26 17:54 UTC+0200 Viktor Szakats * contrib/hbnf/bitclr.prg * contrib/hbnf/bitset.prg * contrib/hbnf/byt2hex.prg * contrib/hbnf/byteand.prg * contrib/hbnf/byteneg.prg * contrib/hbnf/bytenot.prg * contrib/hbnf/byteor.prg * contrib/hbnf/bytexor.prg * contrib/hbnf/floptst.prg * contrib/hbnf/isbit.prg * contrib/hbnf/pchr.prg * contrib/hbnf/popadder.prg * contrib/hbnf/scancode.prg ! cleaned some CHR() and ASC() calls for unicode ! FT_Adder(): fixed typo causing </> key not to be recognized 2012-09-26 17:11 UTC+0200 Viktor Szakats * contrib/hbnf/aredit.prg * contrib/hbnf/calendar.prg * contrib/hbnf/menu1.prg * contrib/hbnf/popadder.prg + use std headers and constants instead of locally rolled solutions + KEYBOARD -> hb_keyPut() * formatting 2012-09-26 16:41 UTC+0200 Viktor Szakats * contrib/hbnf/dosver.prg * contrib/hbnf/eltime.prg * contrib/hbnf/floptst.prg * contrib/hbnf/miltime.prg * contrib/hbnf/min2dhm.prg * contrib/hbnf/mouse1.prg * contrib/hbnf/mouse2.prg * contrib/hbnf/nwsem.prg * contrib/hbnf/popadder.prg % use hb_ntos(). (lots of them can be further reduced to StrZero()) % minors 2012-09-26 16:29 UTC+0200 Viktor Szakats * contrib/hbnf/acctadj.prg * contrib/hbnf/acctmnth.prg * contrib/hbnf/acctqtr.prg * contrib/hbnf/acctweek.prg * contrib/hbnf/aemaxlen.prg * contrib/hbnf/aeminlen.prg * contrib/hbnf/amedian.prg * contrib/hbnf/at2.prg * contrib/hbnf/calendar.prg * contrib/hbnf/clrsel.prg * contrib/hbnf/d2e.prg * contrib/hbnf/datecnfg.prg * contrib/hbnf/dayofyr.prg * contrib/hbnf/dfile.prg * contrib/hbnf/dispmsg.prg * contrib/hbnf/e2d.prg * contrib/hbnf/elapsed.prg * contrib/hbnf/floptst.prg * contrib/hbnf/linked.prg * contrib/hbnf/menu1.prg * contrib/hbnf/month.prg * contrib/hbnf/pchr.prg * contrib/hbnf/pegs.prg * contrib/hbnf/pending.prg * contrib/hbnf/popadder.prg * contrib/hbnf/qtr.prg * contrib/hbnf/savearr.prg * contrib/hbnf/tbwhile.prg * contrib/hbnf/tempfile.prg * contrib/hbnf/week.prg * contrib/hbnf/pickday.prg * contrib/hbnf/vertmenu.prg ! avoid box.ch for unicode compatibility * ' -> " * minor formatting * avoided a few STATICs ! FT_ACCTADJ() fixed second parameter handling to be in sync with docs and logic 2012-09-26 13:29 UTC+0200 Viktor Szakats * contrib/hbnf/aavg.prg * contrib/hbnf/adessort.prg * contrib/hbnf/aeminlen.prg * contrib/hbnf/amedian.prg * contrib/hbnf/anomatch.prg * contrib/hbnf/any2any.prg * contrib/hbnf/asum.prg * contrib/hbnf/clrsel.prg * contrib/hbnf/d2e.prg * contrib/hbnf/datecnfg.prg * contrib/hbnf/dispmsg.prg * contrib/hbnf/findith.prg * contrib/hbnf/ftround.prg * contrib/hbnf/gcd.prg * contrib/hbnf/hex2dec.prg * contrib/hbnf/linked.prg * contrib/hbnf/menu1.prg * contrib/hbnf/menutonf.prg * contrib/hbnf/metaph.prg * contrib/hbnf/netpv.prg * contrib/hbnf/nooccur.prg * contrib/hbnf/ntow.prg * contrib/hbnf/pchr.prg * contrib/hbnf/pegs.prg * contrib/hbnf/popadder.prg * contrib/hbnf/prtesc.prg * contrib/hbnf/pvid.prg * contrib/hbnf/savearr.prg * contrib/hbnf/scregion.prg * contrib/hbnf/sqzn.prg * contrib/hbnf/tempfile.prg * contrib/hbnf/vertmenu.prg * manual formatting ! fixed few places where HB_UTF8TOSTR() call was missing 2012-09-26 11:39 UTC+0200 Viktor Szakats * debian/control * INSTALL * package/harbour.spec * package/mpkg_rpm.sh * package/mpkg_win_nightly.bat * package/winuni/mpkg_win_uni.bat * package/winuni/mpkg_win_uni.nsi % deleted QT related docs, dependencies and script logic 2012-09-26 11:35 UTC+0200 Viktor Szakats * contrib/hbnf/clrsel.prg * contrib/hbnf/datecnfg.prg * contrib/hbnf/dayofyr.prg * contrib/hbnf/dfile.prg * contrib/hbnf/easter.prg * contrib/hbnf/elapsed.prg * contrib/hbnf/floptst.prg * contrib/hbnf/isbit.prg * contrib/hbnf/month.prg * contrib/hbnf/mouse1.prg * contrib/hbnf/mouse2.prg * contrib/hbnf/popadder.prg * contrib/hbnf/qtr.prg * contrib/hbnf/savearr.prg * contrib/hbnf/setdate.prg * contrib/hbnf/settime.prg * contrib/hbnf/sleep.prg * contrib/hbnf/tbwhile.prg * contrib/hbnf/tempfile.prg * contrib/hbnf/week.prg * contrib/hbnf/woy.prg % using HB_IS*() functions % minor cleanups/optimizations 2012-09-26 10:57 UTC+0200 Viktor Szakats * contrib/hbnf/acctadj.prg * contrib/hbnf/acctmnth.prg * contrib/hbnf/acctqtr.prg * contrib/hbnf/acctweek.prg * contrib/hbnf/acctyear.prg * contrib/hbnf/aredit.prg * contrib/hbnf/bitclr.prg * contrib/hbnf/bitset.prg * contrib/hbnf/byt2bit.prg * contrib/hbnf/byt2hex.prg * contrib/hbnf/byteand.prg * contrib/hbnf/byteneg.prg * contrib/hbnf/bytenot.prg * contrib/hbnf/byteor.prg * contrib/hbnf/bytexor.prg * contrib/hbnf/datecnfg.prg * contrib/hbnf/daytobow.prg * contrib/hbnf/firstday.prg * contrib/hbnf/madd.prg * contrib/hbnf/xbox.prg % using HB_IS*() functions + FIXMEs added % minor cleanups/optimizations 2012-09-26 03:40 UTC+0200 Viktor Szakats * contrib/hbnf/aading.prg * contrib/hbnf/aavg.prg * contrib/hbnf/acctadj.prg * contrib/hbnf/acctmnth.prg * contrib/hbnf/acctqtr.prg * contrib/hbnf/acctweek.prg * contrib/hbnf/acctyear.prg * contrib/hbnf/adessort.prg * contrib/hbnf/aemaxlen.prg * contrib/hbnf/aeminlen.prg * contrib/hbnf/amedian.prg * contrib/hbnf/anomatch.prg * contrib/hbnf/any2any.prg * contrib/hbnf/aredit.prg * contrib/hbnf/asum.prg * contrib/hbnf/at2.prg * contrib/hbnf/bitclr.prg * contrib/hbnf/bitset.prg * contrib/hbnf/blink.prg * contrib/hbnf/byt2bit.prg * contrib/hbnf/byt2hex.prg * contrib/hbnf/byteand.prg * contrib/hbnf/byteneg.prg * contrib/hbnf/bytenot.prg * contrib/hbnf/byteor.prg * contrib/hbnf/bytexor.prg * contrib/hbnf/calendar.prg * contrib/hbnf/clrsel.prg * contrib/hbnf/cntryset.prg * contrib/hbnf/d2e.prg * contrib/hbnf/datecnfg.prg * contrib/hbnf/dayofyr.prg * contrib/hbnf/daytobow.prg * contrib/hbnf/dectobin.prg * contrib/hbnf/dfile.prg * contrib/hbnf/diskfunc.prg * contrib/hbnf/dispmsg.prg * contrib/hbnf/dosver.prg * contrib/hbnf/e2d.prg * contrib/hbnf/easter.prg * contrib/hbnf/elapmil.prg * contrib/hbnf/elapsed.prg * contrib/hbnf/eltime.prg * contrib/hbnf/findith.prg * contrib/hbnf/firstday.prg * contrib/hbnf/floptst.prg * contrib/hbnf/ftround.prg * contrib/hbnf/gcd.prg * contrib/hbnf/hex2dec.prg * contrib/hbnf/invclr.prg * contrib/hbnf/isbit.prg * contrib/hbnf/isbiton.prg * contrib/hbnf/isshare.prg * contrib/hbnf/lastday.prg * contrib/hbnf/linked.prg * contrib/hbnf/madd.prg * contrib/hbnf/menu1.prg * contrib/hbnf/menutonf.prg * contrib/hbnf/metaph.prg * contrib/hbnf/miltime.prg * contrib/hbnf/min2dhm.prg * contrib/hbnf/month.prg * contrib/hbnf/mouse1.prg * contrib/hbnf/mouse2.prg * contrib/hbnf/netpv.prg * contrib/hbnf/nooccur.prg * contrib/hbnf/ntow.prg * contrib/hbnf/nwlstat.prg * contrib/hbnf/nwsem.prg * contrib/hbnf/nwuid.prg * contrib/hbnf/ontick.prg * contrib/hbnf/page.prg * contrib/hbnf/pchr.prg * contrib/hbnf/pegs.prg * contrib/hbnf/pending.prg * contrib/hbnf/pickday.prg * contrib/hbnf/popadder.prg * contrib/hbnf/prtesc.prg * contrib/hbnf/pvid.prg * contrib/hbnf/qtr.prg * contrib/hbnf/rand1.prg * contrib/hbnf/restsets.prg * contrib/hbnf/savearr.prg * contrib/hbnf/savesets.prg * contrib/hbnf/scancode.prg * contrib/hbnf/scregion.prg * contrib/hbnf/setdate.prg * contrib/hbnf/settime.prg * contrib/hbnf/sinkey.prg * contrib/hbnf/sleep.prg * contrib/hbnf/sqzn.prg * contrib/hbnf/sysmem.prg * contrib/hbnf/tbwhile.prg * contrib/hbnf/tempfile.prg * contrib/hbnf/vertmenu.prg * contrib/hbnf/vidcur.prg * contrib/hbnf/vidmode.prg * contrib/hbnf/wda.prg * contrib/hbnf/week.prg * contrib/hbnf/workdays.prg * contrib/hbnf/woy.prg * contrib/hbnf/xbox.prg * contrib/hbnf/year.prg * formatted using hbformat and manually * code cleanups and standardizations 2012-09-26 02:44 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/include/hbexprb.c * harbour/include/hbapicdp.h * harbour/src/rdd/dbfcdx/dbfcdx1.c * harbour/src/vm/fm.c * harbour/src/rtl/hbgtcore.c * harbour/src/rtl/hbsockhb.c * harbour/contrib/hbct/ctwin.c * harbour/contrib/hbwin/win_misc.c * pacified some warnings 2012-09-26 01:35 UTC+0200 Viktor Szakats - website/samples/_notes - website/samples/_notes/dwsync.xml - deleted trash * contrib/hbnf/caplock.c * contrib/hbnf/chdir.c * contrib/hbnf/dispc.c * contrib/hbnf/ftattr.c * contrib/hbnf/ftisprn.c * contrib/hbnf/getenvrn.c * contrib/hbnf/getver.c * contrib/hbnf/getvid.c * contrib/hbnf/iamidle.c * contrib/hbnf/kspeed.c * contrib/hbnf/mkdir.c * contrib/hbnf/mouse.c * contrib/hbnf/numlock.c * contrib/hbnf/peek.c * contrib/hbnf/poke.c * contrib/hbnf/putkey.c * contrib/hbnf/rmdir.c * contrib/hbnf/setkeys.c * contrib/hbnf/setlastk.c * formatted using uncrustify 2012-09-26 01:24 UTC+0200 Viktor Szakats * contrib/hbnf/aading.prg * contrib/hbnf/aemaxlen.prg * contrib/hbnf/aeminlen.prg * contrib/hbnf/amedian.prg * contrib/hbnf/any2any.prg * contrib/hbnf/at2.prg * contrib/hbnf/blink.prg * contrib/hbnf/calendar.prg * contrib/hbnf/clrsel.prg * contrib/hbnf/d2e.prg * contrib/hbnf/dectobin.prg * contrib/hbnf/dfile.prg * contrib/hbnf/diskfunc.prg * contrib/hbnf/doc/en/dosver.txt * contrib/hbnf/doc/en/proper.txt * contrib/hbnf/doc/en/setdate.txt * contrib/hbnf/doc/en/settime.txt * contrib/hbnf/dosver.prg * contrib/hbnf/e2d.prg * contrib/hbnf/findith.prg * contrib/hbnf/gcd.prg * contrib/hbnf/hex2dec.prg * contrib/hbnf/invclr.prg * contrib/hbnf/isshare.prg * contrib/hbnf/linked.prg * contrib/hbnf/menu1.prg * contrib/hbnf/metaph.prg * contrib/hbnf/miltime.prg * contrib/hbnf/mouse1.prg * contrib/hbnf/mouse2.prg * contrib/hbnf/netpv.prg * contrib/hbnf/ntow.prg * contrib/hbnf/nwlstat.prg * contrib/hbnf/nwsem.prg * contrib/hbnf/nwuid.prg * contrib/hbnf/pending.prg * contrib/hbnf/pickday.prg * contrib/hbnf/prtesc.prg * contrib/hbnf/rand1.prg * contrib/hbnf/savesets.prg * contrib/hbnf/scancode.prg * contrib/hbnf/setdate.prg * contrib/hbnf/settime.prg * contrib/hbnf/sleep.prg * contrib/hbnf/sysmem.prg * contrib/hbnf/tempfile.prg * contrib/hbnf/vertmenu.prg * contrib/hbnf/vidmode.prg * contrib/hbnf/wda.prg * contrib/hbnf/workdays.prg * contrib/hbnf/woy.prg * contrib/hbnf/xbox.prg * doc/codebloc.txt * extras/hbxlsxml/tests/example.prg * extras/hbxlsxml/tests/example2.prg * extras/hbxlsxml/tests/example3.prg * extras/httpsrv/uhttpd.prg * website/samples/codebloc.prg.html * website/samples/testbrw.prg.html * website/samples/testcgi.prg.html * more cleanup, formatting 2012-09-26 00:52 UTC+0200 Viktor Szakats * contrib/hbamf/tests/tstendin.prg * contrib/hbnf/floptst.prg * contrib/hbtip/tests/base64.prg * contrib/hbtip/tests/ftpadv.prg * contrib/hbtip/tests/httpadv.prg * contrib/hbtip/tests/tipmail.prg * contrib/hbtip/tests/tipmime.prg * contrib/hbtip/tests/tipmmail.prg * contrib/hbtip/tests/tiptest.prg * contrib/rddads/tests/datad.prg * doc/codebloc.txt * tests/hbpptest/pp_test.prg * tests/testwarn.prg * tests/usrrdd/exarr.prg * tests/usrrdd/exfcm.prg * tests/usrrdd/exhsx.prg * tests/usrrdd/exlog.prg * tests/usrrdd/exmemo.prg * tests/usrrdd/exrlx.prg * formatting * ChangeLog * marked FIXME in '2012-06-17 11:41 UTC+0200' DONE (fixed in '2012-09-25 13:29 UTC+0200') 2012-09-25 20:41 UTC+0200 Viktor Szakats * package/mpkg_win_nightly.bat * package/winuni/mpkg_win_uni.bat * package/winuni/mpkg_win_uni.nsi * remmed HBQT/HBIDE related logic * package/winuni/RELNOTES * deleted QT 4.8.0 reference 2012-09-25 19:28 UTC+0200 Viktor Szakats + package/updt_web_nightly.sh + added automatic nightly script to update live website from SVN. ; it's also setup now on Tamas Tevesz's server (which serves to create nightly source packages). We will see how they work tonight. * website/mailing.html ! minor formatting for testing website automatic update * package/mpkg_src_nightly.sh * minor fix in comment 2012-09-25 15:49 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/src/compiler/harbour.y * harbour/src/macro/macro.y * disabled meaningless warnings in BCC and OpenWatcom builds * harbour/src/compiler/harbour.yyh * harbour/src/compiler/harbour.yyc * harbour/src/macro/macro.yyc * harbour/src/macro/macro.yyh * regenerated with unpatched bison 2.5 * harbour/config/win/pocc.mk * added -I$(TOP) to PORC build flags - it's necessary to compile HBMK2 with PORC 4.50.1 2012-09-25 15:43 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/src/compiler/harbour.y * harbour/src/macro/macro.y * disabled meaningless warnings in BCC and OpenWatcom builds * harbour/src/compiler/harbour.yyh * harbour/src/compiler/harbour.yyc * harbour/src/macro/macro.yyc * harbour/src/macro/macro.yyh * regenerated with unpatched bison 2.5 2012-09-25 13:29 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/src/compiler/harbour.yyh * harbour/src/compiler/harbour.yyc * harbour/src/macro/macro.yyc * harbour/src/macro/macro.yyh * regenerated with bison 2.5 * harbour/src/rdd/dbcmd.c * added note about Cl*pper incompatibility in our implementation of __dbSkipper() functions * harbour/src/vm/hvm.c * allow to overwrite non local function symbols from dynamic libraries by local ones also loaded from dynamic library if they point to the same function. This modification resolves the problem with class defined in multiple module dynamic libraries. 2012-09-25 01:40 UTC+0200 Viktor Szakats * extras/gtwvw/gtwvw.c * extras/gtwvw/gtwvw.hbp * extras/gtwvw/hbgtwvw.h * extras/gtwvw/wvwedit.c * extras/gtwvw/wvwfuncs.c * extras/gtwvw/wvwpush.c * extras/gtwvw/wvwstbar.c * extras/gtwvw/wvwtbar.c * updated to build without fatal errors on win x64. (code it still mostly 32-bit only though) 2012-09-25 00:20 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + hbstart.hb is now searched also at standard locations on *nix systems (the same places where hbmk.hbc is searched.) + hbstart.hb is now executed as normal script code (was line by line), so this .hb file can be just like any other .hb file. 2012-09-24 20:37 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/src/vm/macro.c ! added missing HB_STACK_TLS_PRELOAD in last commit - it's necessary for some platforms 2012-09-24 19:13 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/src/rtl/Makefile - harbour/src/rtl/fieldbl.prg - removed old PRG level implementation of FIELDBLOCK() and FIELDWBLOCK() functions * harbour/src/vm/macro.c + created new implementation of FIELDBLOCK() and FIELDWBLOCK() functions in C. This implementation is strictly Clipper compatible and allows to create field blocks only for symbols already registered in HVM so it does not create new symbols in HVM. When table is open then all field symbols are registered in HVM. It means that new functions may not create field block if table is not open yet and field name was never used explicitly in whole compiled application. It's possible to easy change it and automatically register new symbols if we decide it's real limitation and we should drop strict Cl*pper compatibility. Anyhow it may cause that some code will register big number of completely unnecessary symbols in HVM so it should be well thought decision. This implementation makes exactly the same fied name conversions as default implementation of ADDFIELD() workarea method so exactly the same set of symbols is accepted. It means that after opening table which has field names with spaces or other characters which are not accepted as PRG identifiers it's possible to create field blocks for them. It should be also noticeable faster because macrocompiler is not used at all and is many times faster in codeblock evaluation then implementation like in xHarbour which uses fieldget( fieldpos( cFieldName ) ) to support fields with embeded spaces. * harbour/src/rtl/hbgtcore.c % small optimization in INKEY() code 2012-09-24 11:26 UTC+0200 Viktor Szakats * contrib/hbplist * disabled HBQT, HBXBP and HBIDE components. See this place for their new home: https://sourceforge.net/projects/qtcontribs/ 2012-09-24 10:39 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + added support for 'hbstart.hb' script that gets executed _line by line_ on each startup. File is looked for in current dir than in the dir of hbrun/hbmk2 executable. ! fixed -run option on Windows for GUI executables (e.g. gtwvt) Thanks to Klas for details and Qatan for initial report [ It's possible similar patch is needed for OS/2. Please test and report. ] * contrib/hbqt/qtgui/qth/QWidget.qth ! disabled HBQT methods working differently on each platform. meaning they can only be used in platform dependent way (ie. they are non-portable methods) while HBQT is to be a portable component. - If .qth files start to support conditionals, it can be readded as built-time option: HB_BUILD_PRGFLAGS=-DHBQT_NON_PORTABLE - or kept as local patch for those who need this. - or moving HBQT/HBXBP/HBIDE to separate repository with (https://sourceforge.net/projects/hbqt/) Pritpal as project lead. It will be great benefit for both project, leaving them both focusing on their apparently different goals and development style. - contrib/hbqt/tests/activex.hbp - contrib/hbqt/tests/activex.prg - contrib/hbqt/tests/activex.ui - Deleted Windows-specific code added to the portable HBQT component. Please readd it in separate HBQT project. 2012-09-23 11:32 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/tests/activex.hbp * contrib/hbqt/tests/activex.prg * contrib/hbqt/tests/activex.ui + Added: a demonstration applying HbQt's controvertial QWidget():winID() call to be used with Harbour's native ActiveX engine. The demo is less than 70 lines of code and blends Qt Creator, HbQt, hbWIN in a meaningful way. 2012-09-22 08:58 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/main.prg ! Fixed: regression - IdeDBU was not showing up auto when HbIDE was invoked in DBU mode, reported by Massimo, thanks. 2012-09-22 12:23 UTC+0200 Viktor Szakats * website/index.html ! synced with today's filename lowercasing effort 2012-09-22 12:05 UTC+0200 Viktor Szakats + website + Added Harbour website (except art, docs and stat subdirs) ; TODO: configure automatic mechanism to extract site from here and regularly updload to sf.net web area [DONE] ; TODO: Clean HTML code, remove unused picture/files, avoid JS Any takers? ; NOTE: Please make modifications to website code only in SVN, then upload the content to web server manually. IOW never update on web server directly. 2012-09-22 02:27 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/actions.prg + Added: prompts of IdePARTS in "View" menu. * contrib/hbide/docks.prg - Deleted: some redundant code. * contrib/hbide/main.prg * contrib/hbide/parts.prg + Added: new part "IdeREPORTS" as a non-dock widget. It is parallel to "IdeDBU". - Deleted: ReportsManager relevant docking widget code. * contrib/hbide/hbide.qrc - Deleted: resources which are part of XbpAddOns lib. * contrib/hbide/xbpaddons/dbu.prg + contrib/hbide/xbpaddons/misc.prg * contrib/hbide/xbpaddons/reports.prg * contrib/hbide/xbpaddons/xbp.qrc * contrib/hbide/xbpaddons/xbpaddons.hbp + Transferred: resources used for IdeREPORTS. * contrib/hbxbp/toolbar.prg % Optimized: XbpToolbar() class. 2012-09-22 11:28 UTC+0200 Viktor Szakats + contrib/hbide/xbpaddons/dbstruct.ui + contrib/hbide/xbpaddons/fetchdate.ui + contrib/hbide/xbpaddons/tables.ui - contrib/hbide/xbpaddons/xbpdbstruct.ui - contrib/hbide/xbpaddons/xbpfetchdate.ui - contrib/hbide/xbpaddons/xbptables.ui ! redone the naming scheme introduced few month ago and added to this new component yesterday, which was since undone by Pritpal. * contrib/hbide/xbpaddons/xbpaddons.hbp * contrib/hbide/hbide.hbp ! deleted wrongly added -L option by Pritpal .hbc should take care of it. * utils/hbmk2/hbmk2.prg ! hbshell_gtInteractive() will now create new GT only when necessary + internal changes to support multiple initial commands 2012-09-21 19:41 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/hbide.hbp - contrib/hbide/hbqreportsmanager.prg * contrib/hbide/main.prg + contrib/hbide/xbpaddons/reports.prg * contrib/hbide/xbpaddons/xbpaddons.hbp % Moved: IdeReports functionality from HbIDE to XbpAddOns lib. DONE: move IdeReports specific resources to XbpAddOns. 2012-09-21 18:50 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) - contrib/hbide/dbstruct.ui - contrib/hbide/tables.ui * contrib/hbide/hbide.hbp * contrib/hbide/misc.prg - Deleted: two more resources which have already been moved to xbpaddons library. 2012-09-21 18:07 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) - contrib/hbide/idedbu/* + contrib/hbide/xbpaddons/* - Deleted xbpaddons consumed resources from hbide/resources. 2012-09-21 12:04 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/hbide.hbp * contrib/hbxbp/hbxbp.hbp * contrib/hbxbp/hbxbp.hbx % Updated for latest movement of Xbp parts. 2012-09-21 10:41 UTC+0200 Viktor Szakats + contrib/hbide/idedbu + contrib/hbide/idedbu/idedbu.hbc + contrib/hbide/idedbu/idedbu.hbp + contrib/hbide/idedbu/dbstruct.ui + contrib/hbide/idedbu/dbu.prg + contrib/hbide/idedbu/dbu.qrc + contrib/hbide/idedbu/fetchdate.ui + contrib/hbide/idedbu/resources + contrib/hbide/idedbu/tables.ui - contrib/hbxbp/dbu.prg - contrib/hbxbp/resources - contrib/hbxbp/resources/closetab.png - contrib/hbxbp/resources/database_accept.png - contrib/hbxbp/resources/database_add.png - contrib/hbxbp/resources/database_down.png - contrib/hbxbp/resources/database_lock.png - contrib/hbxbp/resources/database_next.png - contrib/hbxbp/resources/database_previous.png - contrib/hbxbp/resources/database_process.png - contrib/hbxbp/resources/database_remove.png - contrib/hbxbp/resources/database_search.png - contrib/hbxbp/resources/database_up.png - contrib/hbxbp/resources/database.png - contrib/hbxbp/resources/dbf_p1.png - contrib/hbxbp/resources/dbf_p10.png - contrib/hbxbp/resources/dbf_p2.png - contrib/hbxbp/resources/dbf_p3.png - contrib/hbxbp/resources/dbf_p4.png - contrib/hbxbp/resources/dbf_p5.png - contrib/hbxbp/resources/dbf_p6.png - contrib/hbxbp/resources/dbf_p7.png - contrib/hbxbp/resources/dbf_p8.png - contrib/hbxbp/resources/dbf_p9.png - contrib/hbxbp/resources/dbstruct.png - contrib/hbxbp/resources/dc_delete.png - contrib/hbxbp/resources/find.png - contrib/hbxbp/resources/form.png - contrib/hbxbp/resources/formview.png - contrib/hbxbp/resources/fullscreen.png - contrib/hbxbp/resources/gotoline3.png - contrib/hbxbp/resources/open3.png - contrib/hbxbp/resources/panel_7.png - contrib/hbxbp/resources/panel_8.png - contrib/hbxbp/resources/save3.png - contrib/hbxbp/resources/sort.png - contrib/hbxbp/resources/table.png - contrib/hbxbp/resources/view_cascaded.png - contrib/hbxbp/resources/view_docks.png - contrib/hbxbp/resources/view_horzstacked.png - contrib/hbxbp/resources/view_organized.png - contrib/hbxbp/resources/view_refresh.png - contrib/hbxbp/resources/view_tabbed.png - contrib/hbxbp/resources/view_tiled.png - contrib/hbxbp/resources/view_vertstacked.png - contrib/hbxbp/resources/view_zoomin.png - contrib/hbxbp/resources/view_zoomout.png - contrib/hbxbp/xbp.qrc - contrib/hbxbp/xbpdbstruct.ui - contrib/hbxbp/xbpfetchdate.ui - contrib/hbxbp/xbptables.ui * contrib/hbide/hbide.hbp * contrib/hbxbp/generic.prg * contrib/hbxbp/hbxbp.hbp * HBIDE submodule DBU moved under HBIDE. Such module (complete with its own UI theme, GUI resources hard-wired texts) has nothing to do in a generic library. I can hardly imagine what the goal was with this move. It's also good idea to consult/ask questions before making such code rearrangement. Untested. ; FIXME: Some more stuff (code) has been added to hbxbp, I didn't deal with those. [SOLVED] ; FIXME: Someone please remove the duplicate resources from hbide/resources. Also, please make use of 'svn move' when moving around objects inside the repository tree, otherwise such thing will happen and history is also lost along the way. [SOLVED] 2012-09-20 22:18 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/hbmk2_qt.hb * contrib/hbqt/qtgui/qth/QWidget.qth + Enabled: "WId" casted calls. WARNING: These are portable to the extent that Qt does not throw error. But what you do with the WId is non portable. So be careful. 2012-09-20 23:17 UTC+0200 Viktor Szakats * ChangeLog ! fixed header of 2012-09-14 21:07 UTC+0200 entry. Thanks Alexey. ! typo fixed in above entry 2012-09-20 16:55 UTC+0200 Alexey Myronenko (m.oleksa@ukr.net) * harbour/doc/en/memo.txt + documentation for HB_MEMOREAD(), HB_MEMOWRIT() added ! spelling * updated examples 2012-09-20 03:34 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/qth/QImage.qth ! Fixed: missing inheritance from QPaintDevice. 2012-09-20 11:15 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/contrib/xhb/txml.prg ! xHarbour compatibility patch from Jose F. Gimenez - thanks 2012-09-20 00:17 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/gtwvg/crt.prg ! Fixed: regression caused by redirection of "?" command. Changed: ? " " => CLS This fixes nasty behavior of WvgCRT() not showing up altogether. Took roughly four hours to debug. 2012-09-19 18:46 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/main.prg * contrib/hbxbp/dbu.prg * contrib/hbxbp/hbxbp.hbx % Rationalized: HbpDBU()'s class structure. 2012-09-19 17:07 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/gtwvg/toolbar.prg + Added code to pass <pBitmap> as a pointer to bitmap in memory. + contrib/hbxbp/resources + contrib/hbxbp/resources/closetab.png + contrib/hbxbp/resources/database.png + contrib/hbxbp/resources/database_accept.png + contrib/hbxbp/resources/database_add.png + contrib/hbxbp/resources/database_down.png + contrib/hbxbp/resources/database_lock.png + contrib/hbxbp/resources/database_next.png + contrib/hbxbp/resources/database_previous.png + contrib/hbxbp/resources/database_process.png + contrib/hbxbp/resources/database_remove.png + contrib/hbxbp/resources/database_search.png + contrib/hbxbp/resources/database_up.png + contrib/hbxbp/resources/dbf_p1.png + contrib/hbxbp/resources/dbf_p10.png + contrib/hbxbp/resources/dbf_p2.png + contrib/hbxbp/resources/dbf_p3.png + contrib/hbxbp/resources/dbf_p4.png + contrib/hbxbp/resources/dbf_p5.png + contrib/hbxbp/resources/dbf_p6.png + contrib/hbxbp/resources/dbf_p7.png + contrib/hbxbp/resources/dbf_p8.png + contrib/hbxbp/resources/dbf_p9.png + contrib/hbxbp/resources/dbstruct.png + contrib/hbxbp/resources/dc_delete.png + contrib/hbxbp/resources/find.png + contrib/hbxbp/resources/form.png + contrib/hbxbp/resources/formview.png + contrib/hbxbp/resources/fullscreen.png + contrib/hbxbp/resources/gotoline3.png + contrib/hbxbp/resources/open3.png + contrib/hbxbp/resources/panel_7.png + contrib/hbxbp/resources/panel_8.png + contrib/hbxbp/resources/save3.png + contrib/hbxbp/resources/sort.png + contrib/hbxbp/resources/table.png + contrib/hbxbp/resources/view_cascaded.png + contrib/hbxbp/resources/view_docks.png + contrib/hbxbp/resources/view_horzstacked.png + contrib/hbxbp/resources/view_organized.png + contrib/hbxbp/resources/view_refresh.png + contrib/hbxbp/resources/view_tabbed.png + contrib/hbxbp/resources/view_tiled.png + contrib/hbxbp/resources/view_vertstacked.png + contrib/hbxbp/resources/view_zoomin.png + contrib/hbxbp/resources/view_zoomout.png + contrib/hbxbp/xbp.qrc + Added: various images for HbpDBU() class implementation. * contrib/hbxbp/hbxbp.hbp + Added: dbu.prg, xbpdbstruct.ui, xbpfethdate.ui, xbptables.ui. * contrib/hbxbp/hbxbp.hbx * Regenerated. + contrib/hbxbp/dbu.prg * contrib/hbxbp/dialog.prg * contrib/hbxbp/generic.prg * contrib/hbxbp/toolbar.prg + contrib/hbxbp/xbpdbstruct.ui + contrib/hbxbp/xbpfetchdate.ui + contrib/hbxbp/xbptables.ui + Implemented: HbpDBU() class which was developed for HbIDE initially. Now this class is self contained object like a COM object which can be embedded into your HbQt/HbXBP based applications. The syntax to embed in your applications is like : oWidget := QWidget() oLayout := QHBoxLayout( oWidget ) oWidget:setLayout( oLayout ) oDBU := HbpDBU():new() oDBU:qtObject := oWidget oDBU:create( , , {0,0}, {100,100}, , .T. ) And you will see the DBU will all its bells and whisles inside oWidget. oWidget can be any container of your application, but it must have a layout set on it. Layout can be any. But if it is QGridlayout then row/column 0,0 is consumed with rowspan/columnsspan 1,1. It is usable as it was usable in HbIDE, but a lot of improvements/features are planned lurking on my drawingboard. So just for now, you can play. * contrib/hbide/actions.prg - Deprecated: ideDBU opening inside dock widget. Removed this action from <Main Menu><View> and also from <Dock Widgets Toolbar>. ! Fixed: Selection Mode toggle action not working in Selected-text Toolbar. - contrib/hbide/browse.prg - Removed: ideDBU source. * contrib/hbide/docks.prg % Adjusted: toggle actions. * contrib/hbide/hbqtoolbar.prg % Few refinements. * contrib/hbide/main.prg * contrib/hbide/parts.prg * contrib/hbide/hbide.hbp - Removed: browse.prg. DONE: to remove resources consumed by ideDBU. 2012-09-19 14:39 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/doc/en/compiler.txt * updated to follow recent modifications in compiler code. Thanks to Alexey Myronenko. 2012-09-19 12:45 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/src/compiler/hbmain.c ! fixed bug intorduced in my last commit when - PCODE ofr empty strings "" were not generated if -km switch was not used ! fixed possible problem with allocating variable using dynamic buffer for variable name * minor code cleanup 2012-09-19 04:06 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/include/hbexprb.c * harbour/include/hbcomp.h * harbour/include/hbcompdf.h * harbour/src/compiler/hbusage.c * harbour/src/compiler/harbour.yyc * harbour/src/compiler/harbour.y * harbour/src/compiler/ppcomp.c * harbour/src/compiler/hbmain.c * harbour/src/compiler/cmdcheck.c * harbour/doc/cmpopt.txt * harbour/doc/xhb-diff.txt + added new harbour compiler switch: -kd => accept macros with declared symbols This switch allows to use declared symbols like LOCALs, STATICs and FIELDs in macros and macrocodeblocks (early evaluated). ; Please do not confuse different things. Above modification does not mean to that such variables are visible for macro compiler. It only allows to write code like: cbVar := {|| &cLocal + cPrivate } or: cbVar := {|| &cLocalPref.func&cPriv1( cPriv2 ) } or: ? &cLocalPref.func&cPriv1( cPriv2 ) etc. If possible then for macrocodeblocks Harbour compiler tries to generate early eval code in which macros are expanded when codeblock is created. Otherwise macros are expanded each time codeblocks are evaluated. For more information look at harbour/doc/xhb-diff.txt section: MACROS WITH DECLARED SYMBOLS 2012-09-18 18:26 UTC+0200 Viktor Szakats * contrib/hbide/main.prg ! include rddads.hbx on win/linux platforms only 2012-09-17 20:51 UTC+0200 Viktor Szakats * package/winuni/RELNOTES * updated some tool versions 2012-09-17 15:30 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) + harbour/contrib/hbwin/hbole.ch + added header file with constant values for OLE variant types WIN_VT_* 2012-09-17 14:51 UTC+0200 Viktor Szakats * contrib/hbpgsql/tests/dbf2pg.prg ! avoid OEM/ANSI conversion.Will now convert from current CP to UTF8. + CP can be set using '-cp <CP>' command-line option. * contrib/hbwin/hbwin.hbx ! updated 2012-09-17 14:47 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/contrib/hbwin/olecore.c ! fixed problems reported by Jose F. Gimenez * renamed recently added PRG functions to follow Mindaugas suggestion: __oleVariantNew( <nVariantType> [, <xInitValue>] ) -> <pVariant> __oleVariantGetValue( <pVariant> ) -> <xAnyValue> __oleVariantGetType( <pVariant> ) -> <nVariantType> 2012-09-17 14:03 UTC+0200 Viktor Szakats + contrib/hbwin/oemansi.c * contrib/hbwin/hbwin.hbp * contrib/hbwin/hbwin.hbx + added WIN_OEMTOANSI() and WIN_ANSITOOEM(). These are compatible with current core HB_OEMTOANSI()/HB_ANSITOOEM() Usage of them is not recommended. * contrib/hbxpp/oemansix.c * CONVTOANSICP()/CONVTOOEMCP() changed to use local implementation instead of relying on now deprecated core OEM/ANSI functions * src/rtl/oemansi.c * HB_OEMTOANSI()/HB_ANSITOOEM() Windows-specific functions deprecated with HB_LEGACY_LEVEL4 (meaning they will disappear after next stable release). Either avoid these calls completely (recommended) or change them to hbwin, hbxpp or xhb equivalents. * contrib/hbtip/thtml.prg * contrib/hbtip/hbtip.hbx * deprecated HtmlToAnsi(), HtmlToOem(), AnsiToHtml(), OemToHtml() functions with HB_LEGACY_LEVEL4. + added TIP_STRTOHTML(), TIP_HTMLTOSTR() functions which cover major above functionality, but in a portable and CP agnostic way. Code untested, if you need it, test it and provide feedback and/or fix. 2012-09-17 12:23 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/contrib/hbwin/hbwinole.h * harbour/contrib/hbwin/olecore.c + added new public C functions: VARIANT * hb_oleItemGetVariant( PHB_ITEM pItem ); PHB_ITEM hb_oleItemPutVariant( PHB_ITEM pItem, VARIANT * pVariant, HB_BOOL fMove ); + added new PRG functions: create variant pointer item of given OLE type <nVariantType> and initialize it with <xInitValue> __oleVariant( <nVariantType> [, <xInitValue>] ) -> <pVariant> extract Harbour value from variant pointer item __oleVariantValue( <pVariant> ) -> <xAnyValue> return OLE type of given variant pointer item __oleVariantType( <pVariant> ) -> <nVariantType> + added support for variant pointer items passed as parameters to OLE methods ! removed AddRef() sent to object returned by QueryInterface() when VT_UNKNOWN Variant was updated. QueryInterface() should already increase reference count for the returned object. * modified default translation rule for VT_[U]I8 | VT_ARRAY variants. Now they are converted to harbour strings items without any CP translations. Before such variants were converted to array of integers. Warning! this modification is not backward compatible. If some needs previous behavior then he should change create conversion functions. [INCOMPATIBLE] ; Please test it. I made all this modifications in Linux without any real tests. 2012-09-16 16:47 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/gtwvg/gtwvg.c + hb_gtInfo( HB_GTI_SETPOSANDSIZE ) returns the existing position and size: { nX, nY, nWidth, nHeight } in pixels. * contrib/hbqt/hbmk2_qt.hb + someObject:setHtml( cHtmlCode ) now reads the html text correctly off a .ui file. This makes possible to draft html pages in Qt creator itself and assigned to an relevant object, like QLabel, QTextEdit, QTextBrowser, etc. 2012-09-14 21:07 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg * hbmk_OutStdRaw() and hbmk_OutErrRaw() hbmk2 plugin API functions parameter list modified so that now they expect hbmk context as first parameter. INCOMPATIBLE. ! made sure that hbmk_OutStdRaw() and hbmk_OutErrRaw() won't emit output in --hbinfo mode. * contrib/hbqt/hbmk2_qt.hb * utils/hbmk2/examples/plug_bis.hb * updated as per above incompatible change * contrib/make.hb * minor 2012-09-14 17:13 UTC+0200 Viktor Szakats * extras/hbvpdf/hbvpdft.prg ! missing #define LEFTEQUAL() 2012-09-14 16:32 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! keep -trace mode turned off in --hbinfo mode, otherwise some plugins (e.g. HBQT plugin) might litter the output with their own messages, making the JSON output corrupt. Thus problem might have caused that dependencies were wrongly detected when HBQT was involved in the dependency tree. Thanks to Lautaro for the report. ! further steps made that stray output is minimized in --hbinfo mode. (though some raw plugin API call may still generate output, it's yet to be done, and it will API compatibility breakage in few calls) [DONE] 2012-09-14 15:43 UTC+0200 Viktor Szakats * INSTALL ! correction to prev for x64 mode on 64-bit OS 2012-09-14 09:54 UTC+0200 Viktor Szakats * config/global.mk * include/hbsetup.h * INSTALL * utils/hbmk2/hbmk2.prg + added bits (docs, version autodetect, etc) for MS Visual Studio 2012 2012-09-13 14:27 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbxbp/toolbar.prg + Added: to send a QIcon() along the text for a toolbar button. * contrib/hbxbp/treeview.prg ! Minor. :setCaption() was not setting :caption value. 2012-09-13 16:02 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/src/rtl/hbbffnc.c * harbour/include/harbour.hbx + added new functions for BlowFish encryption using CFB (cipher feedback) mode instead of ECB (electronic codebook) mode with ANSI X.923 padding: hb_blowfishEncrypt_CFB( <cBfKey>, <cText> [, <cInitSeed> ] ) -> <cCipher> | NIL return string encrypted using CFB (cipher feedback) mode or NIL on error (wrong parameters) hb_blowfishDecrypt_CFB( <cBfKey>, <cCipher> [, <cInitSeed> ] ) -> <cText> | NIL return string decrypted using CFB (cipher feedback) mode or NIL on error (wrong parameters), * harbour/src/rtl/Makefile + harbour/src/rtl/hbmd5enc.c * harbour/include/harbour.hbx + added new functions for MD5 encryption/decryption using CFB (cipher feedback) mode: hb_MD5Encrypt( <cText>, <cPasswd> ) -> <cCipher> hb_MD5Decrypt( <cCipher>, <cPasswd> ] ) -> <cText> 2012-09-13 10:06 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/include/hbpcode.h ! force PCODEs enumeration from zero - some compilers may use different value what can cause problems with casting to bytes * harbour/contrib/xhb/regexrpl.prg ! fixed hb_regexReplace() - hack for older HB_REGEXALL() code could cause RTE 2012-09-12 14:13 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/gtwvg/gtwvg.h ! Fixed: casting. * contrib/gtwvg/wvgwin.c + Added: WVG_POSTMESSAGE( hWnd, nMsg, wParam, lParam ). 2012-09-12 11:47 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/gtwvg/gtwvg.c * contrib/gtwvg/gtwvg.h ! Pacified warnings correctly. 2012-09-12 07:33 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/gtwvg/crt.prg % Cleanup. * contrib/gtwvg/gtwvg.c * contrib/gtwvg/gtwvg.h ! Pacified warnings. 2012-09-12 13:02 UTC+0200 Viktor Szakats * contrib/hbexpat/3rd/expat/expat.dif * contrib/hbexpat/3rd/expat/expat.h * contrib/hbexpat/3rd/expat/expat.hbp * contrib/hbexpat/3rd/expat/xmlparse.c * contrib/hbexpat/3rd/expat/xmlrole.c * contrib/hbexpat/3rd/expat/xmltok_i.c * contrib/hbexpat/3rd/expat/xmltok.c + updated to 2.1.0 (from 2.0.1) using 3rdpatch ; fallouts possible on some platforms * contrib/hbexpat/core.c * contrib/hbexpat/hbexpat.hbx + added wrapper for (new in 2.1.0) XML_SETHASHSALT() function 2012-09-12 12:51 UTC+0200 Viktor Szakats * contrib/hbexpat/core.c * contrib/hbwin/win_misc.c * contrib/hbzebra/qrcode.c ! pacified some MSVC warnings (untested with MSVS 2012) 2012-09-12 11:51 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/include/hbmacro.h * harbour/src/vm/macro.c % added static function hb_macroClear() and cleand hb_macroDelete() code - removed not longer necessary HB_MACRO_DEALLOCATE macro * harbour/src/rdd/hsx/hsx.c * use hb_vmDestroyBlockOrMacro() * harbour/src/vm/hvm.c * allow to execute hb_vmThreadState() by threads without HVM stack * harbour/src/3rd/zlib/gzlib.c * harbour/src/3rd/zlib/zlib.dif * updated for Digital Mars builds builds * harbour/src/rtl/gtwvt/gtwvt.c * pacified warning 2012-09-11 16:27 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/gtwvg/hbgtwvg.ch + Added: constants HB_GTE_CREATED and HB_GTE_CLOSED. * contrib/gtwvg/gtwvg.c * contrib/gtwvg/gtwvg.h + Implemented: two more events fired at PRG code, one when window is created and another when window is closed. The events supply a two element array: 1. Window Handle No 2. Thread Number. These events will greatly help develop a rewarding GUI applns. * contrib/gtwvg/parthdlr.prg * contrib/gtwvg/crt.prg + Added: slot :notifierBlock( ... ) SETGET which accepts a block from the application code which pass on designated events back. 2012-09-11 13:19 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/gtwvg/hbgtwvg.ch ! Fixed: wrong contant values for HB_GTS_SW_* constants. * contrib/hbqt/hbmk2_qt.hb + Added: code to set right C++ callable function when a dock widget was added to QMainWindow object. 2012-09-11 22:04 UTC+0200 Viktor Szakats + doc/en/hbflock.txt + tests/tflock.prg + Documentation and test code for Harbour file locking functions Contributed by Doug. * tests/tflock.prg * Code fixed to build in -w3 mode and simplified. * contrib/hbformat/hbfmtcls.prg ! Fixed to indent OTHERWISE statement properly ! Fixed to not pad '++', '--' and '->' operators ! Fixed not uppercasing FOR/NEXT keywords ! Fixed not recognizing 'CREATE CLASS' as class declaration statement ! Fixed to not indent '//' comments ! Fixed to not add space between characters of codeblock operator '{|' ; Patches by Maurizio la Cecilia. * contrib/hbformat/hbfmtcls.prg % minor rework to not avoid using '=' (SET EXACT dependent) operator and OTHERWISE/ELSE to be handled with adding exception cases. Maurizio, please verify me. * tests/db_brows.prg * tests/testcdx.prg * modified after testing new hbformat with them 2012-09-11 21:22 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/utils/hbmk2/hbmk2.prg * harbour/config/win/bcc.mk + added support for BCC6.5 - please verify me. ; unicows library does not support BCC 6.5. BCC users who want to compile Harbour should delete harbour/lib/3rd/win/bcc directory. TODO: add build time option to disable unicows in windows harbour builds 2012-09-10 09:34 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/main.prg ! Fixed: crash when IdeDBU or PRG mode was invoked. Reported by Itamar, thanks. 2012-09-10 09:24 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/saveload.prg ! Fixed: a bug where wrong parent to QInputDialog() was sent. Reported by Massimo, thanks. 2012-09-09 16:16 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/browse.prg ! Fixed: a bug where wrong parent to QInputDialog() was sent. Reported by Maurizio, thanks. 2012-09-09 15:30 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) + contrib/hbqt/tests/qtwvg.hbp + contrib/hbqt/tests/qtwvg.prg + Added: demonstration code to exploit the power of Qt with existing GTWVT/GTWVG based applications. This demo opens a HbQt dialog from where n number of GTWVG dialogs can be opened. This protocol requires that your applications are MT based, at least for the main application window to appear. Examine the code and adopt it to your own advantage. This protocol opens up a vast horizon for our console applications, believe me. 2012-09-09 18:50 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/config/dos/watcom.mk * harbour/utils/hbmk2/hbmk2.prg ! cleaned and synced optimization flags which interacts with calling convention * harbour/src/3rd/zlib/zconf.h ! added missing export attribute in OS2 dll builds * harbour/src/3rd/zlib/zlib.dif * rediffed * harbour/src/compiler/hbmain.c * minor modification to pacify warning generated by some compilers * harbour/src/rtl/gete.c ! added missing #include "hbapicdp.h" in DOS and OS2 builds * harbour/src/rtl/gtdos/gtdos.c ! fixed typo * harbour/contrib/3rd/sqlite3/sqlite3.hbp ! set SQLITE_OS_OTHER in Watcom OS2 builds - it does not support PTHREAD and some OS extensions used in default SQLite builds 2012-09-09 14:02 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/src/rdd/workarea.c ! set FOUND flag in child workareas when non index but record number relation is used - Clipper compatible behavior. Many thanks to Davor Siklic for information about the problem and self contain code example. 2012-09-07 18:24 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/gtwvg/crt.prg ! A Nasty Fix. Was not releasing children snd hence the memory. * contrib/hbide/actions.prg * contrib/hbide/docks.prg + Added: separate toolbar for "Files" actions. 2012-09-07 09:24 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/docks.prg * contrib/hbide/stylesheets.prg + Applied: some visual effects on docking widgets. 2012-09-07 10:17 UTC+0200 Viktor Szakats - extras/hbapollo - deleted. Too much effort and size for nothing, it was untested, and strictly Windows-only for a dying product. RDDADS is superior replacement. 2012-09-05 07:31 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/updown_v.ui % Reduced: the size of icons to match rest. Now look of toolbars is more professional. 2012-09-05 09:29 UTC+0200 Viktor Szakats * contrib/rddads/adsx.c ! fixed wrong cast causing compiler warning 2012-09-04 22:05 UTC+0200 Viktor Szakats * contrib/3rd/sqlite3/sqlite3.* * contrib/3rd/sqlite3/sqlite3.hbp * update to 3.7.14 * contrib/hbide/projectwizard.prg ! referring to .hbc files as '.hbc files' not 'Hbc files' ; FIXME: this source is a total mess, replicating parts of hbmk2 options in a rigid and limited, fully incompatible with hbmk2, whilst hbmk2 supports these out of the box. It also contains references to an arbitrary selection of non-Harbour SVN project and payware products. Even after reporting it on the list and received the answer that it will get a meaning later. Well, it didn't. [SOLVED] 2012-09-04 21:57 UTC+0200 Viktor Szakats * contrib/rddads/rddads.h + autodetection for ADS client v11.00 2012-09-04 18:49 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/src/rtl/fstemp.c ! fixed GCC PP rules - thanks to Teo Fonrouge for the information about the problem 2012-09-04 14:47 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/src/debug/debugger.prg * harbour/src/debug/dbgwa.prg * harbour/src/debug/dbgtarr.prg * harbour/src/debug/tbrwtext.prg * harbour/src/debug/dbgthsh.prg * minor formatting % use: hb_ADel( <aVal>, <nPos>, .t. ) instead of: ADel( <aVal>, <nPos> ); ASize( <aVal>, Len( <aVal> ) - 1 ) ! fixed absolute positioning in HBBrwText class - it was implemented as repeated line skipping from the top causing incredible fatal performance when larger source files are presented. 2012-09-03 22:03 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/actions.prg * contrib/hbide/docks.prg * contrib/hbide/edit.prg * contrib/hbide/editor.prg * contrib/hbide/hbqtoolbar.prg * contrib/hbide/main.prg * contrib/hbide/misc.prg * contrib/hbide/object.prg * contrib/hbide/saveload.prg % Normailization of code parts. Toolbars management transferred from different sources to actions.prg. + Implemented: two more toolbars separating actions from main into logical chunks. This facilitates better management and placement of toolbars by user choice. Now these are the available toolbars: Main Ide Parts Ide Project Docking Widgets % Changed: dimensions of the toolbar icons. ow all toolbars have the same height/width of icons and are made sleak to give professional look. 2012-09-03 18:21 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/editor.prg ! Fix: to r18056, a nasty one. 2012-09-03 17:01 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/saveload.prg % Changed: the behavior of active item in dictionaries list. Now it is the most recent visited or first if first time. Pointed out by Maurizio. * contrib/hbqt/qtgui/hbqt_hbqplaintextedit.cpp + Implemented: auto activation of column-selection mode if selction is made with mouse with ALT key is kept pressed. A request by Maurizio, which btw, seems to be logical. 2012-09-03 15:35 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/editor.prg * contrib/hbide/misc.prg * contrib/hbide/saveload.prg * contrib/hbide/setup.ui % Changed: naming of <Setup><Font> => <Miscellaneous> % Restored: the source extension on the editor tabs by default. + Implemented: to toggle source extension to be removed from source tabs to get more sources viewable at any given time. Activation: <Setup><HbIDE Setup><Miscellaneous><Remove File Extension> This is not in-place activable, restart of HbIDE is required. + Implemented: source tabs having closable button. Activation: <Setup><HbIDE Setup><Miscellaneous><Add Closing Button> This is not in-place activable, restart of HbIDE is required. This is not the default, needs to be activated. 2012-09-03 10:05 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/main.prg * contrib/hbxbp/listbox.prg % Changed: XbpListBox():addItem( cItem, qIcon ) => :addItem( cItem ) to confirm to Xbase++ calling arguments. + Added: XbpListBox():setIcon( nIndex, oIcon ) to attach image to a listbox item. This is Harbour extension and is documented in the sources. 2012-09-03 09:45 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/editor.prg * contrib/hbide/main.prg * contrib/hbide/sources.prg ! Fixed: bug in Opening a source from main menu where the source was being distributed on another panel (untitled) which should not have happened. Reported by Francessco Perillo, thanks. 2012-09-03 11:57 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/src/rtl/chruni.c * harbour/include/harbour.hbx + added new functions to operate on unicode and binary strings. They work like hb_At() but are CP independent. hb_UAt( <cSubString>, <cString>, [<nFrom>], [<nTo>] ) -> <nAt> hb_BAt( <cSubString>, <cString>, [<nFrom>], [<nTo>] ) -> <nAt> 2012-09-03 08:05 UTC+0200 Viktor Szakats * ChangeLog ! typo 2012-09-02 00:47 UTC+0200 Viktor Szakats * contrib/make.hb * minor formatting to be in sync with rest of code 2012-09-01 02:22 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/functions.prg * contrib/hbide/uisrcmanager.prg ! Fixed: QBrush, a non-QOject derived object was being applied :setObjectName() method. There may be few more, but will will be implemented if those are actually used under Qt Designer properties. 2012-08-31 17:42 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) + contrib/hbide/resources/confgtoolbars.png * contrib/hbide/hbide.qrc + Added: new image. * contrib/hbxbp/toolbar.prg * contrib/hbide/actions.prg * contrib/hbide/docks.prg % Rearranged: <Main Menu><View> with organized sub-menues. This covers the long-standing demand from users. 2012-08-31 15:43 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/browse.prg * contrib/hbide/docks.prg * contrib/hbide/hbide.ch * contrib/hbide/hbide.hbp * contrib/hbide/hbqreportsmanager.prg * contrib/hbide/main.prg * contrib/hbide/object.prg + contrib/hbide/parts.prg + Separated: the code to manage IdePARTS effectively and efficiently, in anticipation that many more extensions will be added in future and also some existing components qualifies to fall under the domain of this protocol. 2012-08-31 09:17 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/uisrcmanager.prg ! Fixed: error pertaining to QPalette() reported by Maurizio, thanks. 2012-08-31 05:35 UTC+0200 Viktor Szakats * contrib/hbide/resources/align_at.png * contrib/hbide/resources/browser.png * contrib/hbide/resources/dc_class.png * contrib/hbide/resources/dc_method.png * contrib/hbide/resources/dc_procedure.png * contrib/hbide/resources/dictionary.png * contrib/hbide/resources/editor.png * contrib/hbide/resources/launch_r.png * contrib/hbide/resources/stringify.png % optimized (significantly) * contrib/hbwin/hbwin.hbx * contrib/hbwin/win_osc.c * contrib/xhb/xhb.hbx * contrib/xhb/xwin_ver.c + added WIN_OSIS8() and xhb compatibility OS_ISWIN8() 2012-08-30 16:22 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/browse.prg % Changed: IdeDBU will be available both ways, new implemented or previous one. Switching one mode to another will switch the parenting too. This has rendered IdeDBU versatile, really!!! 2012-08-30 15:56 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/resources/browser.png % Replaced with new image. + contrib/hbide/resources/editor.png + Added: new image * contrib/hbide/hbide.qrc * contrib/hbide/actions.prg * contrib/hbide/browse.prg * contrib/hbide/docks.prg * contrib/hbide/main.prg + Implemented: future ready stacked widget as central widget of main window. For now IdeDBU is transferred to one of the stacks. If preferred by the user, he/she can continue to work as current. Two button on main toolbar are added. One for IdeDBU and another for IdeEDITOR. The functionality is as such: 1. Click on the IdeDBU icon on the main toolbar. 2. Editing interface will hide and DBU will appear occupying all of the HbIDE's real-estate. 3. Status-bar will disappear. 4. Once activated, IdeDBU will not show up in right-side docking area. If not activated via IdeDBU icon, IdeDBU can be used as before. 5. Clicking on the IdeEDITOR icon, editing interface will be restored and status-bar will show-up again. This implementation makes HbIDE future ready in the sense that application real-estate will never be a problem, and hence, a lot of diversified actions can be brought into play. I am interested in groups views as which other parts can be brought to this new implementation, existing as well as futuristic. 2012-08-30 13:02 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/hbqt_hbqplaintextedit.cpp ! Done: pairing of #ifdef|#if - #endif. With this commit pair highlighting is complete until someone points to which escaped my knowledge. 2012-08-30 15:30 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/include/hbinit.h * added HB_INIT_SYMBOLS_COUNT macro 2012-08-29 19:38 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/hbqt_hbqplaintextedit.cpp * contrib/hbqt/qtgui/hbqt_hbqplaintextedit.h + Added: METHOD|FUNCTION|PROCEDURE-RETURN pairs. + Added: #if-#endif pair. DONE: #ifdef-#endif pair. 2012-08-29 14:16 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/console.prg ! Fixed: at some unknown states Console UI Designer was GPFing. This seems to be the two event loops clashing somewhere. Jope it should behave properly now. 2012-08-29 11:43 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbxbp/window.prg * Activated: QEvent_Resize signal be manipulated per Xbase++ docs. * contrib/hbxbp/dialog.prg ! Fixed: the way a XbpDialog() was assigned :drawingArea() (a.k.a. centralWidget()) via a .ui file. 2012-08-29 08:54 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/functions.prg ! Fixed: logical error like: hb_default( lGUI, .T. ) => DEFAULT lGUI TO .T. It should not happen, but... 2012-08-28 17:50 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) + contrib/hbide/resources/dictionary.png + contrib/hbide/resources/launch_r.png * contrib/hbide/hbide.qrc * contrib/hbide/actions.prg * contrib/hbide/functions.prg * contrib/hbide/main.prg + Implemented: creation of .tag file usable as a dictionary. The activation is : <Project Tree><Projact Name><Right-Click><Create .tag Dictionary> Dictionary will be created in same folder where .hbp resides having same name with extention .tag. Thus created tags are not populated in the existing list of tags. 2012-08-28 17:50 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/docks.prg * Changed: placement of Selected-text toolbar in stream-selection-mode to position itself on one line above the current selected row if selection is performed bottom-up. For bottom-down process, position is at one line below the current row. 2012-08-28 16:45 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/hbide.qrc + contrib/hbide/resources/stringify.png * contrib/hbide/docks.prg * contrib/hbide/edit.prg * contrib/hbide/editor.prg + Implementd: Stringify a selection. The activation is via "Stringify" icon ( added new ) next to "Double to Single Quotes" icon on editing-instance top toolbar or Selected-text toolbar. The behavior: Column-selection Mode : Simply Superb Anyway Excellent Left Blanks Starts Here and Ends Longer => "Simply Superb" "Anyway Excellent" " Left Blanks" "Starts Here and Ends Longer" Stream-selection Mode: Multi-line - No quotes Single-line|word - no trimming at the right. This is a Long text and a part will be Selected. ^^^^^ - Selection > This is a "Long "text and a part will be Selected. 2012-08-28 14:13 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/dict.prg * contrib/hbide/functions.prg * contrib/hbide/saveload.prg + Added: to load HbIDE created {project_name}.tag files for "Dictionaries" implementation.The options earlier were .hbx, .dic, .txt. It will save you a lot of time to create disctionaries manually. 2012-08-28 12:46 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/hbqt_init.cpp ! Fixed: QTableWidgetItem => QTableWidgetItem* Was breaking QTableWidget() signals which used QTableWidgetItem* argument. 2012-08-27 18:38 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/main.prg % Changed: the theme for the code fregment editors. ! Fixed: a small glich where only first window-full of source was being highlighted. 2012-08-27 17:32 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/editor.prg * contrib/hbide/main.prg + Implemented: display of code fragment of an identifier in a separate window. This small display editor is powered with syntax highliting, opens new window 10/20 pixels away in x/y coordinates with same window size of the last opened. There is no limit to the open windows. These windows have Qt_Sheet attribute set, so will always remain floated on top of the main window. To activate: 1. Bring into display <Functions List> docking window. 2. Right-click on the identifier the display is sought. 3. From the context menu, select <Show Code Fragment>. 4. Adjust the position and size of the window. 5. Next window will open 10/20 pixels away from this window. This is a productivity tool. At times we need reference from other functions and switch forth and back in the editing instances. With this feature you can keep frequently referenced identifier, i.e., function/method/class/procedure within viweing without leaving the current editing instance. 2012-08-27 21:59 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/src/rtl/fstemp.c ! added yet another protection against buffer overflow % eliminated redundant code * harbour/include/hbvmpub.h * harbour/include/hberrors.h * harbour/src/compiler/hbgenerr.c * harbour/src/compiler/hbmain.c * harbour/src/compiler/genc.c + added new warning message: STATIC Function '????' defined but never used It's enabled by -w2 and higher. The idea was inspired by recent modification in xHarbour but implementation is completely different. BTW I cannot even make this warning working in xHarbour. * harbour/src/rtl/cdpdet.prg ! disabled static functions which are unused in different builds * harbour/src/debug/debugger.prg ! removed unused function StripUntil() * harbour/utils/hbmk2/hbmk2.prg ! compile hbmk_COMP_Setup() and FindInSamePath() static functions only for platforms were they are used ! commented out unused static functions: ArrayJoinNoClone(), AAddNewAtTop(), DepTreeToList() ! commented out unused static functions: rtlnk_libtrans(), rtlnk_filetrans() Looks that this functionality is not longer supported. FIXME: re-enable it or remove this code and document that automatic translation for libraries and files defined in Clipper .lnk files is not longer supported. * harbour/src/rdd/usrrdd/rdds/arrayrdd.prg * harbour/contrib/hbtip/cgi.prg * harbour/contrib/hbide/hbqreportsmanager.prg * harbour/contrib/hbide/actions.prg * harbour/contrib/hbide/console.prg * harbour/contrib/hbide/themes.prg * harbour/contrib/hbide/editor.prg * harbour/contrib/hbxbp/browse.prg * harbour/contrib/hbmysql/tmysql.prg * harbour/contrib/hbsms/sms.prg * harbour/contrib/xhb/hterrsys.prg ! commented out unused static functions - please review the code ; Warning: I tested only Linux builds. Please check other builds and disable unused static functions in the rest of code. 2012-08-27 17:26 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/src/rtl/fstemp.c ! added protection against possible buffer overflow * enable mkstemps() for GLIBC 2.12 and higher * harbour/src/compiler/harbour.y ! added missing ';' at the end of C code - newer bisons do not add them automatically 2012-08-26 23:22 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbxbp/listbox.prg + Extended: method :addItem( cText, qImage ) in XbpListBox() class. This is Harbour extension, Xbase++ does not accepts <qImage>. + contrib/hbide/resources/dc_class.png + contrib/hbide/resources/dc_method.png + contrib/hbide/resources/dc_procedure.png * contrib/hbide/docks.prg * contrib/hbide/editor.prg * contrib/hbide/hbide.qrc * contrib/hbide/main.prg * contrib/hbide/misc.prg * contrib/hbide/tags.prg + Added: icons to represent the type of identifier in <Functions List>. The following four types are considered: 1. Class 2. Method 3. Procedure 4. Function STATIC FUNCTION/PROCEDURE is considered normal FUNCTION/PROCEDURE. 2012-08-26 17:46 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/edit.prg * Fixed: a small glich in building the aligned line. 2012-08-26 16:32 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/docks.prg * contrib/hbide/edit.prg * contrib/hbide/editor.prg * contrib/hbide/hbide.qrc + contrib/hbide/resources/align_at.png * contrib/hbqt/qtgui/hbqt_hbqplaintextedit.cpp + Implemented: aligning a selected-text fragment (column-selection mode) to a contained string. The activation is selected-text toolbar icon <Align At...>. This activation presents a input dialog to provide string to align-at. The following illustration will make it clear: abc := 212 bcdefg := 323 a := 413 xyzab := 33 => Select above lines with column-selection mode Clock on <Align At...> icon Type ":=" in the input dialog => abc := 212 bcdefg := 323 a := 413 xyzab := 33 2012-08-25 23:02 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/hbqt_hbqplaintextedit.cpp + Pair-matching of DO CASE/ENDCASE and DO WHILE/ENDDO. * contrib/hbide/docks.prg * contrib/hbide/hbqtoolbar.prg * contrib/hbide/saveload.prg * contrib/hbide/setup.ui + Implemented: <Setup><HbIDE Setup><General><Show Selection Toolbar>. This toggle the selected-text toolbar to appear as soon as selection process starts. + Enhanced: Selected-text toolbar orientation for column-selection mode. It is now verutical and is positioned 30 pixels to the right of selected rectangle. Also toolbar never leaves the top and bottom edges of editing-instance's viewport. 2012-08-24 22:31 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/docks.prg * contrib/hbide/edit.prg * contrib/hbide/editor.prg ! Refined: selected-text's in-line toolbar; its positioning and the actions which bring it up and hide. Now toolbar has title-bar and X button, and is positioned in the center of the editing-instance horizintally. Vertical it follows the cursor position but one line down. 2012-08-24 10:13 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/docks.prg * contrib/hbide/edit.prg * contrib/hbide/main.prg + Implemented: in-place toolbar of actions belonging to selected text. The moment selection of text is initiatiated, either via keyboard or mouse, a highlighted toolbar will follow the current cursor position containing actions pertaining to selected text. The toolbar will hide itself as soon as selection process is over. This seems to be natural as such but opinions are welcome. Also I foresee some other attributes which can be implemented on this protocol, which may follow in next commits. 2012-08-24 16:17 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/contrib/make.hb * enable concurrent compilation of contrib projects when -j<n> GNU make switch is used. It reduced compilation time of clean Harbour SVN tree in my system from 5m:16s to 2m:30s Please review me. I do not know if chose good place to enable it. 2012-08-24 15:04 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/include/hbdefs.h ! typo defien -> define 2012-08-24 15:01 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/doc/locks.txt * harbour/extras/hbapollo/ttable.prg * harbour/extras/hbapollo/use.c * harbour/extras/hbapollo/tindex.prg * harbour/extras/hbapollo/tools.c * harbour/extras/hbapollo/ttag.prg * harbour/extras/hbapollo/unsix.ch * harbour/extras/hbxlsxml/hbxlsxml.hbp * harbour/extras/hbxlsxml/xlsxml.prg * harbour/extras/hbxlsxml/xlsxml_s.prg * harbour/extras/hbxlsxml/tests/example.prg * harbour/extras/hbxlsxml/tests/example2.prg * harbour/extras/hbxlsxml/tests/example3.prg * harbour/extras/hbxlsxml/tests/hbmk.hbm * harbour/extras/hbxlsxml/xlsxml_y.prg * harbour/bin/3rdpatch.hb * harbour/contrib/hbxbp/tests/xbpqtc.prg * harbour/contrib/hbxbp/crt.prg * harbour/contrib/make.hb * harbour/contrib/gtwvg/genrc.prg * harbour/contrib/hbqt/tests/cls_dbstruct.prg * harbour/contrib/hbqt/tests/browarray.prg * harbour/contrib/hbqt/tests/ideui.hbp * harbour/contrib/hbqt/tests/dbfbrowserclass.prg * harbour/contrib/hbqt/tests/dbstruct.prg * harbour/contrib/hbqt/tests/dbfbrowser.prg * harbour/contrib/hbqt/qtsvg/hbqt_init.cpp * harbour/contrib/hbqt/qtsvg/hbqtsvg.hbm * harbour/contrib/hbqt/qtsvg/hbqtsvg.hbp * harbour/contrib/hbqt/qtsvg/hbqtsvg.ch * harbour/contrib/hbqt/qtsvg/hbqtsvg.hbc * harbour/contrib/hbqt/qtsvg/hbqtsvgs.hbp * harbour/contrib/hbqt/qtsvg/qth/filelist.hbm * harbour/contrib/hbqt/qtsvg/hbqtsvg.hbx * harbour/contrib/hbqt/gtqtc.hbc * harbour/contrib/hbqt/gtqtc/gtqtc.hbm * harbour/contrib/hbqt/gtqtc/gtqtc.h * harbour/contrib/hbqt/gtqtc/gtqtc.hbp * harbour/contrib/hbqt/gtqtc/gtqtc.hbc * harbour/contrib/hbqt/gtqtc/gtqtcs.hbp * harbour/contrib/hbqt/gtqtc/gtqtc.cpp * harbour/contrib/hbide/console.prg * harbour/contrib/hbide/uisrcmanager.prg * harbour/contrib/hbide/changelog.prg ! fixed hardcoded CRLF EOLs ! set svn:eol-style to native ! set svn:keywords to Author Date Id Revision 2012-08-24 14:25 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/src/3rd/tiff/LICENSE ! fixed EOLs and set svn:eol-style to native * harbour/src/3rd/tiff/tiff.dif * rediffed with hbmk2 ../../../bin/3rdpatch.hb -rediff 2012-08-24 14:11 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/include/hbapicls.h * harbour/src/vm/classes.c + added new C function: PHB_ITEM hb_objGetVarPtr( PHB_ITEM pObject, PHB_DYNS pVarMsg ); it returns pointer to object instance variable * harbour/src/rtl/tclass.prg * cleand parameter name * harbour/contrib/hbmisc/spd.c * removed unnecessary comment for older version which didn't use hb_snprintf() * formatting * harbour/contrib/hbmxml/3rd/minixml/config.h % use hb_snprintf() and hb_vsnprintf() instead of local emulation based on CRTL sprintf() * harbour/include/hbdefs.h + added HB_PF64 definition - it's printf format for HB_[UI]64 type * harbour/src/3rd/tiff/print.c * harbour/src/3rd/tiff/tiffconf.h ! use HB_PF64 instead of PFLL * harbour/src/3rd/tiff/tiffconf.h + added TIFF_FILE_HANDLE definition * harbour/src/3rd/tiff/tiffio.h ! use TIFF_FILE_HANDLE * harbour/src/3rd/tiff/dirread.c ! fixed typo in TIFF_UINT32_MAX definition * harbour/src/3rd/tiff/Makefile ! enabled fcntl.h in *unix builds * harbour/src/3rd/tiff/tiff.dif * updated 2012-08-23 21:25 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/gtwvg/gtwvg.c - Reverted: last commit. It was by mistake and went unnoticed, ageing eyes. 2012-08-23 19:44 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/edit.prg ! Enhanced: tab-key and shift-tab-key management. 2012-08-23 18:57 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/hbqt_hbqplaintextedit.cpp ! Fixed: a small visual glich; result of prev commit. 2012-08-23 18:57 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/hbqt_hbqplaintextedit.cpp * Optimizations: pair-matching of Harbour control structures shifted to C++ level and made in-line, no need to click on the keywords. Pairs are highlighted while navigaing the source. This is spontaneous. ! Tab key to behave differently while in column-selection mode. Before tab spaces were inserted at the last column selected, now it is first column selected, which is the normal behavor. % While in selection mode, pair-matching is disabled, giving us speed advantage. - Removed: PRG block call on QEvent_MouseButtonPress. 2012-08-23 10:56 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/edit.prg * contrib/hbqt/qtgui/hbqt_hbqplaintextedit.cpp * contrib/hbqt/qtgui/hbqt_hbqplaintextedit.h * Optimizations: exlanation in next commit. 2012-08-22 19:03 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/hbqt_hbqplaintextedit.cpp ! Refined: the way bookmarks were published. Now line-area's background is painted with the same color that of bookmark line, instead of inreasing the width of line-area and painting a rectangle at the left side. This had two unwanted effects: 1. A flicker of entire editing area, 2. Selection of text by mouse was leaving a weired trail sometimes. 2012-08-22 17:36 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/dict.prg * contrib/hbide/edit.prg * contrib/hbide/themes.prg + Implemented: The concept of <User-Dictionaries> for sake of syntax highlighting and case conversion while editing a source. User has the ability to pull keywords from : a. standard text file (.txt), b. Harbour's symbol collection mechanism knows as .hbx files, c. a text file with the extension .dic (xMate), d. or any other type of text file ( be careful ). Dictionaries can be kept activated/deactivated. The following attributes can be assigned to the keywords: 1. Bold 2. Italic 3. Underlined 4. Text Color 5. Back Color 6. Case Sensitivity : from coloring point of view Keywords can be attributed to be converted to: 1. As is typed by the user 2. Upper-cased 3. Lower-cased 4. As published in the dictionary. All changes in the dictionary management are reflective in next run of HbIDE. The changes cannot be made effective inline. ; This commit completes a long-standing and much requested feature. 2012-08-22 09:48 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/dict.prg * contrib/hbide/misc.prg * contrib/hbide/saveload.prg * contrib/hbide/setup.ui + Advanced: User-Dictionaries. 2012-08-21 10:02 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/actions.prg - Removed: some options which cannot be implemented, at least from here. * contrib/hbide/dict.prg * contrib/hbide/saveload.prg * contrib/hbide/setup.ui * contrib/hbide/themes.prg + Advanced: User-Dictionaries. 2012-08-20 20:01 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/dict.prg + Added: line number to the Book-Mark button's tooltip. * contrib/hbide/edit.prg * contrib/hbide/saveload.prg + Advanced: the user-interface elements needed to implement User-Dictionaries, still a work-in-progress. 2012-08-20 17:01 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/docks.prg * contrib/hbide/edit.prg * contrib/hbide/editor.prg + Implemented: tooltip on BookMark Buttons. The tooltip content will be the source line over which visited bookmark is installed. With many bookmarks active, one tends to forget which belongs to what and where one wants to jump. This is very handy visual element in those situations. 2012-08-20 16:30 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/edit.prg + Enhanced: Alignment of assigment opertaor ":=" on previous lines now honors SELF:instanceVariable := also. For Example, ::oBrw:nTop := 12 ::oBrw:nBottom :=. => ::oBrw:nTop := 12 ::oBrw:nBottom :=. 2012-08-20 14:25 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/edit.prg ! Refined: Alignment of assigment opertaor ":=" on previous lines starting at the same indent position. Now object:variable := is also honoured. For example: oError:severity := ES_ERROR oError:args :=. => oError:severity := ES_ERROR oError:args :=. 2012-08-20 11:17 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/include/hbgtinfo.ch + added new hb_gtInfo() action: HB_GTI_UNITRANS It allows to set translation table for UNICODE characters * harbour/src/rtl/gtwvt/gtwvt.c * harbour/src/rtl/gtwvt/gtwvt.h + added support for HB_GTI_UNITRANS - due to limited support for unicode values in MS-Windows raster fonts it's necessary for some custom fonts. * harbour/src/rtl/tpersist.prg + implemented 2nd parameter <lIgnoreErrors> in ::LoadFromFile() and ::LoadFromText() methods * harbour/src/rtl/cdpapi.c * indenting 2012-08-19 17:34 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/hbmk2_qt.hb ! Fixed: the treatment of html compliant ->setToolTip( calls. It has been tedius because it went unnoticed due to Qt versions where they always keep on changing the string treatment. This fixes issue reported on users list. 2012-08-19 13:49 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/hbqt_hbqplaintextedit.cpp ! Reinstated: execution of Mouse events to PRG level. These events cannot be catched with our existing event handeller, probably Qt does not propogate them to the widget in QPlainTextEdit(). * contrib/hbide/edit.prg + Implemented: <Setup><HbIDE Setup><Intelli-sense><Align Operator := to Prev Lines> If activated you will experience the following behavior: IF lThis abc := 200 /* . == editing cursor */ bcdefghijk :=. ENDIF => IF lThis abc := 200 bcdefghijk :=. ENDIF You continue: IF lThis abc := 200 bcdefghijk := 3044 x :=. ENDIF => IF lThis abc := 200 bcdefghijk := 3044 x :=. ENDIF 2012-08-16 23:49 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/tests/browarray.prg + Added: Insert and Delete Rows functionality. Already present push buttons allowed it to do fast. 2012-08-16 18:52 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) + contrib/hbqt/tests/browarray.prg + Added: an array browser which also allows to add data rows to the existing array. This facilitates the understanding of HBQAbstractItemModel()'s internal working. This commit answers to many question posted in the mailing-list and also directed to my mail-box. 2012-08-15 15:55 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/edit.prg ! Fixed: a nasty side-effect of pair-matching; weired editing behaviour. Now another click will clear the matching but keeping the cursor position at its previous row/column. You may need to click twice to place cursor at desired position if matched/pair is active. 2012-08-15 14:17 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/edit.prg + Added: class/endclass, function|procedure|method/return to control structures list, for the purpose of highlighting pairs. ! Refined: the cuursor position exactly where it should been after highlight operation. 2012-08-15 02:51 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/hbqt_hbqplaintextedit.cpp * Called: <block> on QEvent::MouseButtonPress. For unknown reasons this event is not being received on PRG level with current mechanism [TOBE: investigated]. * contrib/hbide/edit.prg * contrib/hbide/editor.prg + Implemented: highlighting matching control structure. The supported matches are: if/endif; do while/enddo; do case/endcase; switch/endswitch; for/next ; HOWTO: click on any control strucure keyword as above, this and its matching pair will be highlighted. Next click will clear the previous one and initiate the new match. Any key will clear the current match. 2012-08-14 23:45 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/edit.prg * contrib/hbide/editor.prg % Optimized: collection of variables: a) longer than 3 characters, b) variable is collected if space,coma,collon " ,:" follows it. + Started: matching of control structures, a work-in-progress. 2012-08-14 20:07 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/edit.prg * contrib/hbide/editor.prg + Implemented: collection of variables while editing the source and making them available next time that variable is started to be typed again. Thus collected variable is populated in Code Completion List of Prototypes and Keywords. This is a productivity tool and comes handy where one is addict to long variable names. 2012-08-14 16:45 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/qth/QTextCursor.qth ! Fixed: a nasty overlook. 2012-08-14 12:44 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/src/rtl/valtype.c * modified HB_ISEVALITEM() to use HB_IS_EVALITEM() macro * harbour/src/pp/ppcore.c ! fixed typo in .ppt file handle - many thanks to Teo Fonrouge for the information about the problem. * harbour/include/hbthread.h * harbour/src/vm/thread.c + added new C function: HB_THREAD_NO hb_threadNO( void ) it returns unique thread number * harbour/src/vm/classes.c * cleaned static function names * harbour/src/rdd/dbffpt/dbffpt1.c * use RDDINFO() method instead of direct access to RDD TSD data * harbour/src/rdd/dbfntx/dbfntx1.c * harbour/src/rdd/dbfnsx/dbfnsx1.c * changed initialization method - now RDD TSD data is initialized by each thread which access it. It resolves the problem with memo type in NSX and NTX RDDs - it was SMT/DBT in main thread but in child threads default FPT driver was used. * harbour/tests/speedtst.prg ! fixed xHarbour compilation - it was broken by HB_EOL() 2012-08-13 22:52 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/edit.prg + Implemented: <Class Declaration> complete with class name. CLASS abc . OR CREATE CLASS abc . => CREATE CLASS abc . DATA xDummy INIT NIL METHOD new() METHOD create() ENDCLASS METHOD new() CLASS abc RETURN Self METHOD create() CLASS abc RETURN Self 2012-08-13 22:27 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/edit.prg * contrib/hbide/saveload.prg * contrib/hbide/setup.ui + Added: flag to toggle <Function Declaration> [YES]. + Implemented: <Setup><HbIDE Setup><Intelli-sense><Class Declaration> [YES] [Data Member][VAR], [METHODS][new], [FORMAT][class:method] These are self explanatory, please report deviations. 2012-08-13 09:30 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/dict.prg % Added: some more data members, q work-in-progress. * contrib/hbide/themes.prg * Minor. * contrib/hbide/setup.ui * contrib/hbide/edit.prg * contrib/hbide/saveload.prg + Added: <Setup><HbIDE Setup><Intelli-sense><Function Declaration> To Toggle [LOCAL] [YES], [RETURN] [YES], [SEPERATOR] [YES], [DOCUMENTATION] [NO] [TOBE] FUNCTION|function|Function|fUnCtioN . => FUNCTION . LOCAL RETURN /*....................*/ // User defined separator line // and a blank line after the separator 2012-08-11 22:52 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/edit.prg ! Fixed: undo stack was behaving weired once statement structures were inserted. % Changed: the behaviour of "Embrace Lines on Same Indent", activable from <Setup><HbIDE Setup><Intelli-sense>, not to embrace if immediate next line is empty on. Here is the illustration: ORIGINAL: DO WHILE .T. abc := 12 bcd += 2 IF bcd > 200 EXIT ENDIF ENDDO DO WHILE .T. IF . // type IF . ( dot means your cursor ) abc := 12 // note, there is no blank line in between bcd += 2 // IF . and abc := 12 IF bcd > 200 EXIT ENDIF ENDDO DO WHILE .T. IF . // Converted to ( dot means your cursor ) abc := 12 bcd += 2 IF bcd > 200 EXIT ENDIF ENDIF ENDDO DO WHILE .T. IF . // type IF . ( dot means your cursor ) // note, there is a blank line in between abc := 12 // IF . and abc := 12 bcd += 2 IF bcd > 200 EXIT ENDIF ENDDO DO WHILE .T. IF . // Converted to ( dot means your cursor ) ENDIF abc := 12 bcd += 2 IF bcd > 200 EXIT ENDIF ENDDO 2012-08-10 23:31 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/saveload.prg ! Miss from prev commit. 2012-08-10 19:43 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/hbqt_hbqplaintextedit.cpp % Code cleanup. * contrib/hbide/setup.ui + Added: a new page <Intelli-sense> next to <General>. It holds the user-defined values for next level of source editing intellisense. Read below. * contrib/hbide/edit.prg + Implemented: most of the next level of editing intellisense points are configurable by the developer. These include: 1. To activate the closing structure of a statements as a whole lot [YES] 2. To toggle IF/ENDIF [YES] ELSE [NO] Embrace Lower Lines [NO] 3. To toggle FOR/NEXT [YES] 4. To toggle DO WHILE/ENDDO [YES] 5. To toggle DO CASE/ENDCASE [YES] # CASES [3] OTHERWISE [NO] 6. To toggle SWITCH/ENDSWITCH [YES ] # CASES [3] OTHERWISE [NO] EXIT on same line [NO] 7. To toggle ADD CLOSING PARENTHESIS of a function [NO] 8. To toggle INSERT SPACES - () >= ( . ) [NO] 9. To toggle ADD CODEBLOCK BODY - {|. => {|.| } [NO] 10.To toggle ADD SPACE AFTER := [NO] 11.To toggle ALIGN := WITH PREVIOUS LINES [NO] [TOBE] 12.To toggle FORMAT LINE AFTER ENTER [NO] [TOBE] ; Please forward your suggessions. 2012-08-10 13:44 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtcore/hbqt_hbqslots.cpp ! Fixed: a wrong variable used in trace call under debug mode. 2012-08-10 10:37 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/edit.prg + Implemented: "else" and "elseif" align to its parent if. This is materialized after typing a space after these keywords. 2012-08-09 10:41 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/edit.prg + Included: qtcore; qtgui; qtnetwork; functions list to be properly cased while writing the code. ; QUESTION: .hbx files contain upper-cased function list, the only exception is harbour.hbx where functions are properly cased. Is there a way to get .hbx(es) with properly cased functions ? 2012-08-08 19:56 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/edit.prg + Implemented: auto insertions of statements closing structure. IF, FOR, DO CASE, DO WHILE, SWITCH The moment you type SPACE after the statement, the next elements are inserted automatically. The cursor stays at where . is shown: IF . Is it logical to insert ELSEIF ? ENDIF FOR . NEXT DO CASE CASE . CASE can be configured to CASE allign the DO CASE indentation CASE or one more tab to the right. OTHERWISE Also number of CASE stements. ENDCASE DO WHILE . ENDDO SWITCH . CASE can be configured to CASE allign the SWITCH indentation EXIT or one more tab to the right. CASE Also number of CASE stements. EXIT CASE EXIT ENDSWITCH 2012-08-08 17:49 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/edit.prg * contrib/hbide/hbide.qrc * contrib/hbqt/qtgui/hbqt_hbqplaintextedit.cpp * contrib/hbqt/qtgui/hbqt_hbqplaintextedit.h * contrib/hbqt/qtgui/qth/HBQPlainTextEdit.qth % Changed: the way function prototype was being displayed. It now take use of QToolTip() instead of QWidget/QLabel combination tied to editor's viewport. 2012-08-08 12:44 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) - contrib/hbide/hbfunc.txt - Removed: hbfunc.txt * contrib/hbide/edit.prg % Applied: harbour.hbx instead of hbfunc.txt provided listing of Harbour core functions. Thanks Viktor for the tip. TODO: set right the camel casing of some function groups, for example, dbSetOrder => DbSetOrder and its group. 2012-08-08 10:50 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/edit.prg % Some more synchronization and code clean-up. ! Fixed: tab was misbehaving at certain situations. 2012-08-07 21:55 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/hbfunc.txt % Extracted: function names from harbour.hbx and applied capitalization for few groups. I really had never viewed harbour.hbx, an excellent repository what Harbour contains. 2012-08-07 19:42 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/dict.prg * contrib/hbide/edit.prg * contrib/hbide/themes.prg + Started: implementation of user-defined dictionaries. 2012-08-07 18:10 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) + contrib/hbide/hbfunc.txt * contrib/hbide/hbide.qrc + Added: Harbour core's functions list with proper capitalization. Please review and add/delete/change as per set standards. * contrib/hbide/edit.prg * contrib/hbide/editor.prg * contrib/hbide/saveload.prg + Implemented: auto case conversion of Harbour functions as per disctionary which is contained inside HbIDE executable as a resource. + Implemented: auto-tab placement based on the Harbour keyword. So if you start typing a keyword, say at col 4, and tab-spaces are set to 3, then that keyword will automatically placed at column 3. + Implemented: logical text operators to be converted to uppercase. These are .OR. .AND. .NOT. .F. .T. NOTE: this commit also improves the speed of editing, plus corrects the function names as per Harbour standards. So if a Harbour function is called you need not to pay attention in which way you are writing. You simply need to remember that opening brace must follow the end of function which triggers the corrective action. Regression is possible to some extent, please report. You can also forward suggessions to improve the editing part. 2012-08-06 17:09 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/sources.prg % Remoded: redundant code parts and organized with more options. * contrib/hbqt/qtgui/hbqtgui.hbx * contrib/hbqt/qtgui/qth/filelist.hbm + contrib/hbqt/qtgui/qth/QToolTip.qth + Added: class QToolTip(). Note that this class is usable from within QEvent_ToolTip signal which will post QHelpEvent() object like: oWidget:connect( QEvent_ToolTip, {|oEvent| ::execEvent( QEvent_Help, oEvent ) } ) Then METHOD myClass:execEvent( nEvent, oEvent ) LOCAL oToolTip IF oEvent:type() == QEvent_ToolTip oToolTip := QToolTip() oToolTip:showText( oEvent:globalPos(), "some other text" ) RETURN .T. /* To stop the event chain */ ENDIF RETURN .F. 2012-08-04 21:56 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/tools.prg + Implemented: removal of a editng panel with confirmation. All modified sources will be confirmed to be saved if modified before a panel is removed. ! Fixed: if order has not been changed, alert message requesting re-loading HbIDE will not be displayed. Before the message was displayed in every click on <OK> button. 2012-08-04 00:51 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) + contrib/hbide/panels.ui * contrib/hbide/hbide.hbp + Added: new widget to manage editing panels. * contrib/hbide/docks.prg * contrib/hbide/saveload.prg * contrib/hbide/tools.prg + Implemented: 1. to reorder editing panels : drag & drop mechanism 2. to define panel tabs shape : rounded | triangular 3. to define panel tabs position : top | left | bottom | right Activation is through <Panels> icon on top-toolbar of editing area. 2012-08-03 21:30 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/resources/b_18.png * contrib/hbide/resources/b_19.png * contrib/hbide/resources/b_2.png * contrib/hbide/resources/b_5.png * contrib/hbide/resources/b_8.png % Reordered: to put more glamour to HbIDE. * contrib/hbide/edit.prg * contrib/hbqt/qtgui/hbqt_hbqplaintextedit.cpp ! Fixed: tab key was misbehaving on an empty line. ! Fixed: while in column mode, if the original text cursor was before logical cursor, insertion of any key was clearing the selection. An annoying bug it was. 2012-08-03 15:31 UTC+0200 Viktor Szakats + bin/commit.hb + bin/find.hb - bin/hbcommit.hb - bin/hbfind.hb * ChangeLog % deleted 'hb' prefix * updated examples 2012-08-03 15:23 UTC+0200 Viktor Szakats * doc/en/cmdline.txt * doc/en/command.txt * doc/en/compiler.txt ! More spelling (command.txt, cmdline.txt). ! compiler.txt synchronized with harbour /help output. ; Patch by Alexey Myronenko 2012-08-02 10:00 UTC+0200 Viktor Szakats * contrib/hbide/misc.prg % use core API instead of inferior local implementation * ChangeLog ! fixed mistyped ChangeLog entry headers in previous two commits 2012-08-01 14:08 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/hbqtgui.ch ! Fix to prev. 2012-08-01 14:01 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/hbqtgui.ch + Added: QDir_* constants. 2012-07-31 15:10 UTC+0200 Viktor Szakats * bin/hbfind.hb % minor * ChangeLog * minor updates to examples in prev two 2012-07-31 15:00 UTC+0200 Viktor Szakats + bin/hbfind.hb + added script to list and/or find public symbols in Harbour core and contribs (and some extras). To list all symbols (functions, classes): $ hbrun bin/find To find string in symbols (case-insensitive): $ hbrun bin/find vol 2012-07-31 14:50 UTC+0200 Viktor Szakats * contrib/hbide/projectwizard.prg ! '.hbptmplt' extension renamed to '.tpl'. First it doesn't have anything to do with hbmk2's .hbp file. It's reinvented version of a small subset of hbmk2 features using a brand new and incompatible, HBIDE and feature-specific format. 'tpl' is the standard abbreviation for 'template'. ; I suggest for any users needing such feature to simply stick with .hbm and .hbc files which were developed with the exact same idea in mind, but they fully support all hbmk2 features they work on all platforms and they work with any IDEs and in command line mode: --- mydefaultprojectsetting.hbm -w3 -es2 -warn=yes -gtwvt{win} # etc etc --- or --- mydefaultprojectsettings.hbc prgflags=-w3 -es2 warn=yes gt=wvt{win} # etc etc --- then: --- myproject.hbp mydefaultprojectsetting.hbm # ... --- or --- myproject.hbp mydefaultprojectsetting.hbc # ... --- respecitvely. 2012-07-31 02:53 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/projectwizard.prg * contrib/hbide/projectwizard.ui + Implemented: the contents entered in the "New Project Wizard" are saved in _thePathdesignatedForHbp_.hbptmplt. This will be the intermediate file from where .hbp will be created as per standardards adopted so far and then loaded in HbIDE. If such template already exists on the .hbp path asked for, it will be loaded in the interface. How and what action will ask for loading/saving may change. for now examine the template file. 2012-07-30 21:01 UTC+0200 Viktor Szakats * INSTALL + added NOTE on 'install' not working in partial rebuild mode 2012-07-30 20:36 UTC+0200 Viktor Szakats * contrib/make.hb - deleted TODO which is unimportant and works well in practice 2012-07-30 16:06 UTC+0200 Viktor Szakats + contrib/hbtip/tests/test01.prg * contrib/hbtip/httpcli.prg ! RTE was happening in class TIPClientHTTP when calling method post() after calling method setCookie(): Error BASE/1123 Argument error: HB_HKEYAT Called from HB_HKEYAT(0) Called from TIPCLIENTHTTP:GETCOOKIES(0) This error happens because in r7888 (changelog: 2007-10-30 19:45 UTC+0100 Lorenzo Fiorini (lorenzo.fiorini/at/gmail.com)) the function HGetKeys() was replaced by HB_HKeyAt() and the correct is HB_HKeys(). ; Report, patch and description by Raphael Gozzo. Thank you. 2012-07-30 12:47 UTC+0200 Viktor Szakats * ChangeLog ! typo in prev ChangeLog example 2012-07-30 12:43 UTC+0200 Viktor Szakats * contrib/hbhttpd/hbhttpd.hbc + added comment about HB_HTTPD_OPENSSL (similar purpose as HB_TIP_OPENSSL) * utils/hbmk2/hbmk2.prg + added env= .hbc command to be able to control envars also from .hbc files. - contrib/hbhttpd/hbhttpds.hbc - contrib/hbtip/hbtipssl.hbc - deleted alternate .hbc files that enabled OpenSSL flavor of these libs. Autofind didn't work with these. Use HB_[HTTPD|TIP]_OPENSSL=yes envvar setting to enable these. You can use -env: hbmk2 option or env= .hbc command to enable it, so e.g. hbtipssl.hbc can be emulated by this .hbc file: -- hbtipssl.hbc env=HB_TIP_OPENSSL=yes hbcs=hbtip.hbc -- [OBSOLETE - IGNORE] 2012-07-30 12:24 UTC+0200 Viktor Szakats * package/winuni/mpkg_win_uni.bat * utils/hbmk2/hbmk2.prg ! examples -> extras 2012-07-30 11:53 UTC+0200 Viktor Szakats * package/winuni/mpkg_win_uni.nsi ! examples -> extras 2012-07-30 02:03 UTC+0200 Viktor Szakats * INSTALL * minor cleanups 2012-07-30 01:58 UTC+0200 Viktor Szakats * contrib/hbct/doc/en/addascii.txt * contrib/hbct/doc/en/asciisum.txt * contrib/hbct/doc/en/ascpos.txt * contrib/hbct/doc/en/atadjust.txt * contrib/hbct/doc/en/atnum.txt * contrib/hbct/doc/en/atrepl.txt * contrib/hbct/doc/en/charevod.txt * contrib/hbct/doc/en/charlihb.txt * contrib/hbct/doc/en/charlist.txt * contrib/hbct/doc/en/charmirr.txt * contrib/hbct/doc/en/charmix.txt * contrib/hbct/doc/en/charone.txt * contrib/hbct/doc/en/charonly.txt * contrib/hbct/doc/en/charop.txt * contrib/hbct/doc/en/charophb.txt * contrib/hbct/doc/en/charrepl.txt * contrib/hbct/doc/en/charsort.txt * contrib/hbct/doc/en/charswap.txt * contrib/hbct/doc/en/color.txt * contrib/hbct/doc/en/count.txt * contrib/hbct/doc/en/ct.txt * contrib/hbct/doc/en/ctc.txt * contrib/hbct/doc/en/ctmath.txt * contrib/hbct/doc/en/ctmath2.txt * contrib/hbct/doc/en/ctpad.txt * contrib/hbct/doc/en/ctstr.txt * contrib/hbct/doc/en/datetime.txt * contrib/hbct/doc/en/dattime2.txt * contrib/hbct/doc/en/dattime3.txt * contrib/hbct/doc/en/exponent.txt * contrib/hbct/doc/en/finan.txt * contrib/hbct/doc/en/justify.txt * contrib/hbct/doc/en/keyset.txt * contrib/hbct/doc/en/num1.txt * contrib/hbct/doc/en/numat.txt * contrib/hbct/doc/en/numconv.txt * contrib/hbct/doc/en/pos1.txt * contrib/hbct/doc/en/pos2.txt * contrib/hbct/doc/en/posdiff.txt * contrib/hbct/doc/en/print.txt * contrib/hbct/doc/en/range.txt * contrib/hbct/doc/en/relation.txt * contrib/hbct/doc/en/remove.txt * contrib/hbct/doc/en/replace.txt * contrib/hbct/doc/en/screen1.txt * contrib/hbct/doc/en/strdiff.txt * contrib/hbct/doc/en/strswap.txt * contrib/hbct/doc/en/tab.txt * contrib/hbct/doc/en/token1.txt * contrib/hbct/doc/en/token2.txt * contrib/hbct/doc/en/trig.txt * contrib/hbct/doc/en/video.txt * contrib/hbct/doc/en/wordrepl.txt * contrib/hbct/doc/en/wordtoch.txt * code formatting, minor cleanups 2012-07-30 01:40 UTC+0200 Viktor Szakats * contrib/hbide/resources/b_1.png * contrib/hbide/resources/b_10.png * contrib/hbide/resources/b_11.png * contrib/hbide/resources/b_12.png * contrib/hbide/resources/b_13.png * contrib/hbide/resources/b_14.png * contrib/hbide/resources/b_15.png * contrib/hbide/resources/b_16.png * contrib/hbide/resources/b_17.png * contrib/hbide/resources/b_18.png * contrib/hbide/resources/b_19.png * contrib/hbide/resources/b_2.png * contrib/hbide/resources/b_20.png * contrib/hbide/resources/b_3.png * contrib/hbide/resources/b_4.png * contrib/hbide/resources/b_5.png * contrib/hbide/resources/b_6.png * contrib/hbide/resources/b_7.png * contrib/hbide/resources/b_8.png * contrib/hbide/resources/b_9.png * contrib/hbide/resources/split_close.png * contrib/hbide/resources/split_h.png * contrib/hbide/resources/split_v.png * contrib/hbide/resources/split.png ! optimized * contrib/hbtip/hbtip.hbc + added comment about HB_TIP_OPENSSL envvar 2012-07-29 01:37 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/hbide.qrc + contrib/hbide/resources/split.png + contrib/hbide/resources/split_close.png + contrib/hbide/resources/split_h.png + contrib/hbide/resources/split_v.png + Added: more images representing edit-instance split actions in context menu of any editing instance. * contrib/hbide/actions.prg * contrib/hbide/edit.prg * contrib/hbide/editor.prg * Implementation of above images into the code. 2012-07-28 22:46 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/hbide.qrc + contrib/hbide/resources/b_1.png + contrib/hbide/resources/b_10.png + contrib/hbide/resources/b_11.png + contrib/hbide/resources/b_12.png + contrib/hbide/resources/b_13.png + contrib/hbide/resources/b_14.png + contrib/hbide/resources/b_15.png + contrib/hbide/resources/b_16.png + contrib/hbide/resources/b_17.png + contrib/hbide/resources/b_18.png + contrib/hbide/resources/b_19.png + contrib/hbide/resources/b_2.png + contrib/hbide/resources/b_20.png + contrib/hbide/resources/b_3.png + contrib/hbide/resources/b_4.png + contrib/hbide/resources/b_5.png + contrib/hbide/resources/b_6.png + contrib/hbide/resources/b_7.png + contrib/hbide/resources/b_8.png + contrib/hbide/resources/b_9.png + Added: face-uplifting images. * contrib/hbide/saveload.prg * contrib/hbide/docks.prg % Changed: editing panels dot images. now these are more crsip. Older images are retained for some other purposes. This has given a fresh look to HbIDE interface. % Changed: the docking behavior on right docking area to accept any arrangement. before it was accepting only tabbed and horizonal nesting. This change originated to give strength to recently implemented to swicth multiple views with a click. + contrib/hbide/projectwizard.prg ! Fixed: where collapsing/expanding of source-type nodes was stopped functioning by click on +/- button. 2012-07-28 14:20 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/docks.prg + IdeSource Manager Panels made movable to change their position. Compatible to Qt 4.8. * contrib/hbide/main.prg + Complete .hbp name with path on <Project Tree><Project Name> tooltip. * contrib/hbide/projectwizard.prg ! Advanced. * contrib/hbqt/qtgui/qth/QMdiArea.qth + Added: methods introduced in Qt 4.8 guarded against version control. 2012-07-27 22:28 UTC+0200 Viktor Szakats * extras/gtwvw/gtwvw.c ! one last char 2012-07-27 22:23 UTC+0200 Viktor Szakats * extras/gtwvw/gtwvw.c * extras/gtwvw/wvwdraw.c ! deleted remaining 8-bit ASCII chars (for real). 2012-07-27 21:57 UTC+0200 Viktor Szakats * extras/gtwvw/hbgtwvw.h * extras/hbvpdf/hbvpdf.prg * extras/gtwvw/tests/prog0.prg * extras/gtwvw/tests/prog1.prg * extras/gtwvw/tests/prog2.prg ! fixed remaining 8-bit ASCII chars. Now they are only present in hbtest and codepage source files (where they generate lots of warnings with Xcode 4.4 / clang). (plus a few in 3rd party code) 2012-07-27 20:58 UTC+0200 Viktor Szakats * contrib/hbmisc/doc/en/dates2.txt * contrib/hbmisc/doc/en/ht_dbf.txt * contrib/hbmisc/doc/en/ht_doc.txt * contrib/hbmisc/doc/en/ht_file.txt * contrib/hbmisc/doc/en/ht_str.txt ! various errors and cleanups, formatting to examples 2012-07-27 20:45 UTC+0200 Viktor Szakats * contrib/hbmisc/doc/en/ht_class.txt * example code upped to Harbour standard 2012-07-27 20:09 UTC+0200 Viktor Szakats + utils/hbmk2/examples/plug_bis.hb + hbmk2 plugin for bison support. Syntax checked but not tested. * utils/hbmk2/examples/plug_tpl.hb + made it display an error message when run in standalone mode * contrib/hbqt/hbmk2_qt.hb * formatting 2012-07-27 19:59 UTC+0200 Viktor Szakats * contrib/hbtinymt/tests/test32.prg * contrib/hbtinymt/tests/test64.prg ! minor formatting 2012-07-27 19:55 UTC+0200 Viktor Szakats * contrib/hbtinymt/core32.c * contrib/hbtinymt/core64.c * contrib/hbtinymt/hbtinymt.hbx * contrib/hbtinymt/tests/test32.prg * contrib/hbtinymt/tests/test64.prg ! deleted unnecessary HB_ prefix from wrapper function names, so now they match the low-level names exactly. (incompatible with xhb) 2012-07-27 11:24 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg - deleted compatibility plugin API functions starting with HBMK2_. It was not enabled anyway and I chose not to deal with as probably there is very few people using these. So, change all plugin API calls to start with HBMK_*() instead of HBMK2_*(). INCOMPATIBLE. 2012-07-27 09:01 UTC+0200 Viktor Szakats * extras/hbusb/tests/test.prg ! fixed SVN props 2012-07-26 17:08 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/tags.prg ! Fixed: to honor "CREATE CLASS " notation. It was breaking functions list navigation. 2012-07-27 01:20 UTC+0200 Viktor Szakats + extras/hbusb/hbusb.hbc + extras/hbusb/hbusb.hbp + extras/hbusb/hbusb.hbx + extras/hbusb/tests/hbmk.hbm * extras/hbusb/core.c * extras/hbusb/hbusb.ch * extras/hbusb/tests/test.prg + added hbmk2 make files including detection logic for libusb (might need more tweaks, I don't know which is the preferred libusb binary on Windows yet) Use HB_WITH_LIBUSB envvar to set header location + added hbx file * renamed file references internally + reformatted sources with uncrustify and hbformat then manually ! removed non-ANSI comments ! fixed #include + added SVN headers * renamed wrapper functions to match the name in libusb * renamed macros to have LIBUSB_ prefix ! fixed to use pointer type for pointers instead of numeric, it fixes the code for non-32-bit builds ! test fixed to compile w/o warnings * test modified to output to stdout, plus some cleanups * LIBUSB_INIT() changed to look for 1st param passed by ref, instead of logical value to indicate that ! C code fixed to fill params passed by ref even in error cases ! some type corrections in C ! fixed (mingw, msvc) warnings in C code * other minor cleanups ; FIXME: try to use GC collected pointers ; FIXME: C code allows .prg code to create GPFs, e.g. in 'devicelist[ hb_parni( 2 ) ]' the pointer is not checked for NULL, nor the index is validated to be inside limits. ; TODO: RTE for invalid parameters ; TODO: testing on various platforms ; NOTE: bcc is not supported for multiple reasons ; NOTE: C++ mode causes warnings in libusb header ; NOTE: Links: src + bin/win: https://sourceforge.net/projects/libusb/files/libusb-1.0/libusb-1.0.21/ 2012-07-27 00:55 UTC+0200 Viktor Szakats + extras/hbusb + extras/hbusb/core.c + extras/hbusb/hbusb.ch + extras/hbusb/tests + extras/hbusb/tests/test.prg + added LIBUSB wrappers by courtesy of its author Doug (dougf at people dot net dot au) * renamed some file, more changes will come in separate commit 2012-07-26 15:27 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/uisrcmanager.prg ! Fixed: a nasty bug, discovered by Guillermo Varona, thanks. 2012-07-26 13:24 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/uisrcmanager.prg + Added: few more classes which are not derived from QObject. 2012-07-26 09:48 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/hbqtgui.ch + Added: QSettings_* and QIODevice_* constants. + contrib/hbide/env + contrib/hbide/env/pritpalsfav.ide + contrib/hbide/settings.qrc + Added: new folder containing HbIDE settings embedded as a resource. Only one environment is added, quickly, to review its usefulness. * contrib/hbide/findreplace.prg ! Formatting. * contrib/hbide/actions.prg * contrib/hbide/hbide.hbp * contrib/hbide/main.prg * contrib/hbide/misc.prg * contrib/hbide/saveload.prg * contrib/hbide/tools.prg + Implemented: Multiple-view of HbIDE's application window. The views take care of toolbars associated with mainwindow and all the docking widgets. The view remembers their state and dimensions, whether these are visible, floating, etc. ; How To: 1. Click on <Main Toolbar><HbIDE Views> icon. 2. Opens a FileSave dialog, provide a location and name, your current view will be saved. 3. Click on <Main Toolbar><HbIDE Views> icon's drop-down menu. 4. You can see, beside others, an entry <Pritpals Favourite>. 5. Click on it and see your view is changed instantly. 6. Repeat #4 and click on the entry representing your view saved via #2. 7. And you are back with your original settings. These views are switchable with a click of a key. This also covers a gread demand from users where it is asked that HbIDE should be like, Starter, Advanced, Professional, Enterprised, etc. Or where desk-top territory is compalined. For example, activate IdeDBU and then make it floatable, adjust windows size to your taste, save this view. Then at single click you can brought it back. This is a big productivity boost, believe me. ; REQUEST: send me the useful views you employ in day-to-day needs and if deemed fit will be included in HbIDE itself for others to be benefitted. 2012-07-25 11:51 UTC+0200 Viktor Szakats * src/lang/fr.c ! old typo in month name, by Guy Roussin * src/lang/uk.c ! old typo in native language name, by Alexey Myronenko * src/rtl/langcomp.prg ! recent typo in compatibility UAWIN CP, by Grigory Filatov ; Thanks guys 2012-07-25 11:26 UTC+0200 Viktor Szakats * src/lang/hu.c + minor tweaks to translation 2012-07-25 10:37 UTC+0200 Viktor Szakats * src/lang/hu.c + translated one last string to Hungarian 2012-07-25 10:25 UTC+0200 Viktor Szakats * src/lang/hr.c + Croatian language module updates and fixes from Alen Uzelac. Thanks! 2012-07-25 04:29 UTC+0200 Viktor Szakats * src/lang/hu.c ! minor cleanup to prev 2012-07-25 04:24 UTC+0200 Viktor Szakats * contrib/rddads/rddads.hbc * do not force shared mode for host project if HB_DYNLOAD_RDDADS is enabled. It should fix hbide forced to be built in -shared mode unconditionally after enabling rddads support in hbide in 2012-06-14 12:01 UTC+0200 ; please test * src/lang/hu.c + translated rest of strings to Hungarian (though they seem to make much more sense in English) 2012-07-24 19:22 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/docks.prg ! Fix to prev commit. 2012-07-24 19:15 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/docks.prg + contrib/hbide/docs/faq.htm * contrib/hbide/hbide.qrc + Discovered: how .html resources can be embedded into executable and brought to service in QTextBrowser. HbIDE's FAQ is now shown in <HbIde Help> docking widget. It is scheduled to be extended to bring all the help I could write over-time under it. The design may be changed. Now it is much easier to write/edit/embed .htm pages inside HbIDE. 2012-07-25 01:34 UTC+0200 Viktor Szakats * src/rtl/langcomp.prg * src/rtl/langlgcy.prg ! HB_LANGSELECT() fixed to keep compatibiliy with legacy language module IDs passed in not fully uppercased. Only two-letter legacy language module IDs needs to be passed full uppercase to maintain compatibility. * changed HB_LEGACY_LEVEL5 to HB_LEGACY_LEVEL4 so these compatibility hacks disappear quicker 2012-07-25 00:30 UTC+0200 Viktor Szakats * src/codepage/Makefile - deleted HUUTF CP, it caused problems with -shared builds where all CPs got unconditionally linked. 2012-07-24 23:21 UTC+0200 Viktor Szakats * src/rtl/cdpapi.c + Extended to accept real codepage names where Harbour "codepage" names (which are really codepage + collation combinations, like "HUWIN") are accepted. It makes it possible to do: hb_translate( "stuff", "cp1250", "cp852" ) This mod is implemented on the surface in simple way, which implies some notices and warnings: - real codepages are accepted also in places where you're better to specify a Harbour CP tied to a collation, e.g. in hb_cdpSelect() or Set( _SET_DBCODEPAGE ). In such case it's important to see that an arbitrary Harbour CP will be selected from those linked to the requested real codepage. - 'hb_cdpSelect( "iso8859-2" ); ? hb_cdpSelect()' will not show "iso8859-2", but one of the corresponding Harbour CPs. - you cannot REQUEST a specific real codepage, but you can request all of them which are linked to a Harbour CPs using '#include "hbextcdp.ch"'. ; NOTE: With more deep rework, which I most probably won't be able to ever do, Harbour's concept of CPs should be split into real codepages and collation modules, than interfaces identified where a collation is expected vs. real codepages, or both, question how to do that without breaking too much compatibility and question how to fit current HB_CP_RAW CPs into that model. For former problem, notation like 'HU.cp852' might be possible solution, where any of the parts can be omitted, depending on context: 'HU' or 'cp852'. 2012-07-24 19:27 UTC+0200 Viktor Szakats * contrib/hbide/resources/view_docks.png % optimized. please do it before uploading images. * extras/hbxlsxml/xlsxml.prg ! fixed wrong Chr() values in patch 2012-07-22 18:46 UTC+0200 2012-07-24 10:04 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/hbide.qrc + contrib/hbide/resources/view_docks.png + Added: one more image. * contrib/hbide/editor.prg ! Removed the source's extension from the editor's tab display which facilitates more tabs to be visible in the editor's manager. Good for low resolution monitors. Note that full pathname is available under tooltip. * contrib/hbide/actions.prg + Added: <HbIDE Views> icon on the <Main> toolbar. * contrib/hbide/hbqtoolbar.prg ! Changed the toolbar's basic attributes. * contrib/hbide/misc.prg ! Fixed some dialogs to release memory properly on exit. * contrib/hbide/tools.prg + Started: implementation of user defined views of HbIDE. It is working but will write the details after applying finer points. Expression is through <HbIDE View> icon on <Main> toolbar. 2012-07-24 16:02 UTC+0200 Viktor Szakats * src/codepage/Makefile + src/codepage/cphuutf.c + added Hungarian collation module in UTF-8. It's an experiment and will require low-level changes in the CP subsystem, since it is not yet possible to use HB_UNITB_UTF8 for HB_CP_UNITB parameter. The idea is to make it possible to define collation modules in UTF-8, which would in turn allow to drop the link to a specific legacy CP, thus allowing to drop the different CP flavours of them, then finally simplifying the naming, maintenance and usage of these modules. We could also finally call them what they are: 'collations' (and not "codepages" like today) I understand this may need substantial low-level modifications, by doing automatic translation on each HVM CP change, etc. * ChangeLog + added compatibility notes to previous (2012-07-24 15:04 UTC+0200) entry * src/rtl/langlgcy.prg * minor cleanup 2012-07-24 15:15 UTC+0200 Viktor Szakats * src/lang/en_tpl.c + added comment about forming HB_LANG_ID value 2012-07-24 15:04 UTC+0200 Viktor Szakats * doc/en/lang.txt * include/hblang.hbx * src/lang/be.c * src/lang/bg.c * src/lang/ca.c * src/lang/cs.c * src/lang/de.c * src/lang/el.c * src/lang/en_tpl.c * src/lang/eo.c * src/lang/es.c * src/lang/eu.c * src/lang/fr.c * src/lang/gl.c * src/lang/he.c * src/lang/hr.c * src/lang/hu.c * src/lang/id.c * src/lang/is.c * src/lang/it.c * src/lang/ko.c * src/lang/lt.c * src/lang/nl.c * src/lang/pl.c * src/lang/pt.c * src/lang/ro.c * src/lang/ru.c * src/lang/sk.c * src/lang/sl.c * src/lang/sr_cyr.c * src/lang/sr_lat.c * src/lang/sv.c * src/lang/tr.c * src/lang/uk.c * src/lang/zh_sim.c * src/lang/zh_tra.c * src/rtl/langcomp.prg * src/rtl/langlgcy.prg * renamed UTF8 language modules internally. The new names are the two letter ISO language code in lowercase. With postfixes where required. For dialects and variants, it's now possible to use "LLDD", "LLDD_VVV" or "LL_VVV" formats, too. See the current list in doc/en/lang.txt ! Ukrainian had an "UE" prefix before, now it got corrected to "UK", which is it's official ISO code. + HB_LANGSELECT() now accepts second parameter: <cCodepage> to specify the CP into which the translations should be converted. This parameter works for legacy lang module IDs, too. The default is hb_cdpSelect() (or legacy CP for legacy language module IDs). + extended the way compatibility is preserved. The problem is with legacy language modules with a two character ID only (ie. without CP specification), this is the list: CA, DE, EL, EO, ES, EU, FR, GL, IT, PT, RO, SV If these language IDs are passed in UPPERCASE as above, they will be handled in compatibility mode and legacy default CP selected. Compatibility code is marked with HB_LEGACY_LEVEL5, which means it will stay in next two stable releases. Compatibility notes when using legacy language modules IDs: - codepage string (hb_langMessage( 4 )) may not be exactly the same as it was before - hb_langSelect() will return a different value than it was returning before. To depart from compatibility (recommended), use the new lowercase flavor: hb_langSelect( "pl" ), hb_langSelect( "pt" ), hb_langSelect( "sr_cyr" ), or use standard language IDs: hb_langSelect( "hu-HU" ) Or simply use this code: --- #include "hbextlng.ch" hb_langSelect( hb_UserLang() [, <CP> ] ) /* if <CP> is not specified, hb_cdpSelect() will be used */ --- 2012-07-24 11:59 UTC+0200 Viktor Szakats * src/lang/sk.c * src/lang/tr.c ! removed extra string ending spaces 2012-07-24 11:43 UTC+0200 Viktor Szakats * src/lang/be.c * src/lang/bg.c * src/lang/ca.c * src/lang/cs.c * src/lang/de.c * src/lang/el.c * src/lang/en_tpl.c * src/lang/eo.c * src/lang/es.c * src/lang/eu.c * src/lang/fr.c * src/lang/gl.c * src/lang/he.c * src/lang/hr.c * src/lang/hu.c * src/lang/id.c * src/lang/is.c * src/lang/it.c * src/lang/ko.c * src/lang/lt.c * src/lang/nl.c * src/lang/pl.c * src/lang/pt.c * src/lang/ro.c * src/lang/ru.c * src/lang/sk.c * src/lang/sl.c * src/lang/sr_cyr.c * src/lang/sr_lat.c * src/lang/sv.c * src/lang/tr.c * src/lang/uk.c * src/lang/zh_sim.c * src/lang/zh_tra.c * further cleaned comments and redundancy 2012-07-24 11:34 UTC+0200 Viktor Szakats * src/lang/be.c * src/lang/bg.c * src/lang/ca.c * src/lang/cs.c * src/lang/de.c * src/lang/el.c * src/lang/en_tpl.c * src/lang/eo.c * src/lang/es.c * src/lang/eu.c * src/lang/fr.c * src/lang/gl.c * src/lang/he.c * src/lang/hr.c * src/lang/hu.c * src/lang/id.c * src/lang/is.c * src/lang/it.c * src/lang/ko.c * src/lang/lt.c * src/lang/nl.c * src/lang/pl.c * src/lang/pt.c * src/lang/ro.c * src/lang/ru.c * src/lang/sk.c * src/lang/sl.c * src/lang/sr_cyr.c * src/lang/sr_lat.c * src/lang/sv.c * src/lang/tr.c * src/lang/uk.c * src/lang/zh_sim.c * src/lang/zh_tra.c % deleted redundant comments * cleaned copyright headers 2012-07-24 11:20 UTC+0200 Viktor Szakats * src/lang/be.c * src/lang/bg.c * src/lang/ca.c * src/lang/cs.c * src/lang/de.c * src/lang/el.c * src/lang/en_tpl.c * src/lang/eo.c * src/lang/es.c * src/lang/eu.c * src/lang/fr.c * src/lang/gl.c * src/lang/he.c * src/lang/hr.c * src/lang/hu.c * src/lang/id.c * src/lang/is.c * src/lang/it.c * src/lang/ko.c * src/lang/lt.c * src/lang/nl.c * src/lang/pl.c * src/lang/pt.c * src/lang/ro.c * src/lang/ru.c * src/lang/sk.c * src/lang/sl.c * src/lang/sr_cyr.c * src/lang/sr_lat.c * src/lang/sv.c * src/lang/tr.c * src/lang/uk.c * src/lang/zh_sim.c * src/lang/zh_tra.c ! CP changed from UTF-8 to UTF8 2012-07-23 22:41 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/edit.prg * contrib/hbide/editor.prg * contrib/hbqt/qtgui/hbqt_hbqplaintextedit.cpp * contrib/hbqt/qtgui/hbqt_hbqplaintextedit.h % An exhaustive commit focused on selctions management, specially column selection. It also fixes the regression injected in last commit where I broke few here-and-theres. The changes are so exhaustive that I lost many to document, but following are the main points you should know: 1. + Tripple click selection of a line. Unlike other editors, HbIDE implements tripple-click like this: double-click selects a word; do-not move the cusor, click once, line is selected. Standard editors measure the time between clicks, HbIDE measure the position of click. This way user is not constrained to quickly inject the third click. However, double-click carries standard behavior. 2. + Shift+TAB now behaves as expected. It removes preceeding <nTabSpaces>. <nTabSpaces> can be configured via <Setup><Setup HbIDE>. Defaults to 3. 3. + TAB and Shift+TAB are also available in column selection. 4. + Ctrl+Left|Right, TAB/Shift+TAB and Backspace moves the selection cursor without affecting selected rows in column-selection mode when starting and ending columns are the same; which eventually becomes the multiline editing cursor. In practice there are lot many times when moving to another column without leaving the multi-line selection is needed. 5. + Enabled the physical cursor at all times, no matter in which selection mode the cursor is. Earlier it was disabled in column selection mode. 6. + TAB keys management is brought to PRG level instead of C++. This has made it possible to have them working under multi-line block editing mode ( extended column-selection mode). ;; A good amount of efforts have gone in this direction, and as I am into it deep, please forward your suggessions as to how the various behaviors should be. 2012-07-24 03:04 UTC+0200 Viktor Szakats * src/rtl/langapi.c + HB_LANGNEW() extended to translate language module's codepage string, too. 2012-07-24 02:06 UTC+0200 Viktor Szakats * src/lang/pt.c ! fixed very old CP problem in one of the strings 2012-07-24 01:55 UTC+0200 Viktor Szakats + src/lang/be.c + src/lang/bg.c + src/lang/ca.c + src/lang/cs.c + src/lang/de.c + src/lang/el.c + src/lang/en_tpl.c + src/lang/eo.c + src/lang/es.c + src/lang/eu.c + src/lang/fr.c + src/lang/gl.c + src/lang/he.c + src/lang/hr.c + src/lang/hu.c + src/lang/id.c + src/lang/is.c + src/lang/it.c + src/lang/ko.c + src/lang/lt.c + src/lang/nl.c + src/lang/pl.c + src/lang/pt.c + src/lang/ro.c + src/lang/ru.c + src/lang/sk.c + src/lang/sl.c + src/lang/sr_cyr.c + src/lang/sr_lat.c + src/lang/sv.c + src/lang/tr.c + src/lang/uk.c + src/lang/zh_sim.c + src/lang/zh_tra.c - src/lang/msg_tpl.c - src/lang/msgbeutf.c - src/lang/msgbgutf.c - src/lang/msgcautf.c - src/lang/msgcsutf.c - src/lang/msgdeutf.c - src/lang/msgelutf.c - src/lang/msgeoutf.c - src/lang/msgesutf.c - src/lang/msgeuutf.c - src/lang/msgfrutf.c - src/lang/msgglutf.c - src/lang/msgheutf.c - src/lang/msghrutf.c - src/lang/msghuutf.c - src/lang/msgidutf.c - src/lang/msgisutf.c - src/lang/msgitutf.c - src/lang/msgkoutf.c - src/lang/msgltutf.c - src/lang/msgnlutf.c - src/lang/msgplutf.c - src/lang/msgptutf.c - src/lang/msgroutf.c - src/lang/msgruutf.c - src/lang/msgskutf.c - src/lang/msgslutf.c - src/lang/msgsrlat.c - src/lang/msgsrutf.c - src/lang/msgsvutf.c - src/lang/msgtrutf.c - src/lang/msguautf.c - src/lang/msgzhsim.c - src/lang/msgzhutf.c * src/lang/Makefile % shortened language module names, deleted UTF prefix, since every one of them is now UTF and only-UTF, cleaned postfixes for languages with multiple flavors ! fixed UA -> UK 2012-07-24 01:43 UTC+0200 Viktor Szakats + src/lang/msgzhsim.c - src/lang/msgko.c - src/lang/msgzhgb.c * include/hblang.hbx * src/lang/msgzhutf.c * src/lang/Makefile * src/rtl/langcomp.prg * src/rtl/langlgcy.prg - deleted language module KO (Korean) using CP949, which CP is not supported by Harbour. INCOMPATIBLE. + readded Chinese Traditional language module, along with legacy language module "ZHGB". Notice however that the CP it now uses is BIG5, not the otherwise unsupported by Harbour, CP936. INCOMPATIBLE. ; Migration of legacy language modules is now finished. 2012-07-24 01:20 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + select Harbour language module in conjunction with hbmk2's own language module. This makes for a little more localization and also tests and demonstrates the language module subsystem. 2012-07-24 00:56 UTC+0200 Viktor Szakats * src/rtl/langcomp.prg + HB_LANGSELECT() extended to understand standard language codes, e.g. the ones returned by HB_USERLANG(). It means that from now on the recommended way to select language module is this: --- #include "hbextlng.ch" hb_langSelect( hb_UserLang() [, <CP> ] ) /* if <CP> is not specified, hb_cdpSelect() will be used */ --- * ChangeLog * updated previous language selection code sample in 2012-07-23 21:48 UTC+0200 to work more universally * src/rtl/cdpdet.prg + added Hebrew to mapping list * src/rtl/cdpdet.prg * src/rtl/langcomp.prg + added Esperanto to language/CP mapping lists ; hopefully in the future Harbour cores will shift to use standard primary IDs, so all these mappings can be dropped. 2012-07-23 22:52 UTC+0200 Viktor Szakats * src/lang/msgcsutf.c * src/lang/msgskutf.c ! fixed long-time missing items. it fixes reported GPF. 2012-07-23 22:43 UTC+0200 Viktor Szakats * src/lang/msg_tpl.c ! fixed reference to iso language code lookup doc * src/lang/msgbeutf.c ! excessive space * src/lang/msghrutf.c ! replaced month and day names with accented versions 2012-07-23 22:02 UTC+0200 Viktor Szakats * include/hblang.hbx * src/lang/Makefile + src/lang/msgsrlat.c * src/lang/msgsrutf.c * src/rtl/langcomp.prg + added Serbian (latin) language module ! fixed SR852 and SRISO legacy lang modules to use latin Serbian ; NOTE: I'd like to ask everyone to test language files after these changes. There may be typos, conversion errors or the original version I did the conversion from might not have been the best translation from the multiple ones available. 2012-07-23 21:48 UTC+0200 Viktor Szakats * include/hblang.hbx * src/rtl/Makefile * src/rtl/langcomp.prg + src/rtl/langlgcy.prg + added emulation for 'REQUEST HB_LANG_<id>' legacy code. protected with HB_LEGACY_LEVEL5, though until then probably some more shuffling will be needed to simplify usage (e.g. remapping UTF-8 language modules to 'LL' codes as opposed to 'LLUTF' codes used ATM) % only pull all codepages and base language modules required for dynamic language modules when user app REQUESTs and HB_LANG_<id>s. ; FIXME: HB_LANGMESSAGE() often returns garbage when using it from hbrun or other dynamic apps. Changing hb_retc_const() to hb_retc() didn't seem to fix it. * src/lang/msghuutf.c ! reconverted from a better legacy CP version, fixing some missing accented chars and translations 2012-07-23 17:48 UTC+0200 Viktor Szakats * contrib/gtwvg/activex.prg * contrib/gtwvg/gtwvg.c ! cleaned 1 out of about 4 different debugging method used in this component ! fixed lib depending on a function implemented in demo code. 2012-07-23 17:38 UTC+0200 Viktor Szakats + contrib/hbide/actions.prg + contrib/hbide/browse.prg + contrib/hbide/changelog.prg + contrib/hbide/console.prg + contrib/hbide/dict.prg + contrib/hbide/docks.prg + contrib/hbide/docwriter.prg + contrib/hbide/edit.prg + contrib/hbide/editor.prg + contrib/hbide/environ.prg + contrib/hbide/findreplace.prg + contrib/hbide/format.prg + contrib/hbide/functions.prg + contrib/hbide/harbourhelp.prg + contrib/hbide/home.prg + contrib/hbide/main.prg + contrib/hbide/misc.prg + contrib/hbide/object.prg + contrib/hbide/parseexpr.c + contrib/hbide/plugins.prg + contrib/hbide/projectwizard.prg + contrib/hbide/projmanager.prg + contrib/hbide/saveload.prg + contrib/hbide/shortcuts.prg + contrib/hbide/skeletons.prg + contrib/hbide/sources.prg + contrib/hbide/stylesheets.prg + contrib/hbide/tags.prg + contrib/hbide/themes.prg + contrib/hbide/tools.prg + contrib/hbide/uisrcmanager.prg + contrib/hbide/wizard.prg - contrib/hbide/ideactions.prg - contrib/hbide/idebrowse.prg - contrib/hbide/idechangelog.prg - contrib/hbide/ideconsole.prg - contrib/hbide/idedict.prg - contrib/hbide/idedocks.prg - contrib/hbide/idedocwriter.prg - contrib/hbide/ideedit.prg - contrib/hbide/ideeditor.prg - contrib/hbide/ideenviron.prg - contrib/hbide/idefindreplace.prg - contrib/hbide/ideformat.prg - contrib/hbide/idefunctions.prg - contrib/hbide/ideharbourhelp.prg - contrib/hbide/idehome.prg - contrib/hbide/idemain.prg - contrib/hbide/idemisc.prg - contrib/hbide/ideobject.prg - contrib/hbide/ideparseexpr.c - contrib/hbide/ideplugins.prg - contrib/hbide/ideprojectwizard.prg - contrib/hbide/ideprojmanager.prg - contrib/hbide/idesaveload.prg - contrib/hbide/ideshortcuts.prg - contrib/hbide/ideskeletons.prg - contrib/hbide/idesources.prg - contrib/hbide/idestylesheets.prg - contrib/hbide/idetags.prg - contrib/hbide/idethemes.prg - contrib/hbide/idetools.prg - contrib/hbide/ideuisrcmanager.prg - contrib/hbide/idewizard.prg * contrib/hbide/hbide.hbp * deleted 'ide' prefix from all source files 2012-07-23 17:26 UTC+0200 Viktor Szakats + contrib/gtwvg/3state.prg + contrib/gtwvg/activex.prg + contrib/gtwvg/bitmap.prg + contrib/gtwvg/checkbox.prg + contrib/gtwvg/class.prg + contrib/gtwvg/combobox.prg + contrib/gtwvg/crt.prg + contrib/gtwvg/dataref.prg + contrib/gtwvg/dialog.prg + contrib/gtwvg/drawarea.prg + contrib/gtwvg/genrc.prg + contrib/gtwvg/htmlview.prg + contrib/gtwvg/listbox.prg + contrib/gtwvg/menubar.prg + contrib/gtwvg/mle.prg + contrib/gtwvg/paint.prg + contrib/gtwvg/parthdlr.prg + contrib/gtwvg/pushbut.prg + contrib/gtwvg/radiobut.prg + contrib/gtwvg/scrollbr.prg + contrib/gtwvg/sle.prg + contrib/gtwvg/statbar.prg + contrib/gtwvg/static.prg + contrib/gtwvg/syswnd.prg + contrib/gtwvg/tabpage.prg + contrib/gtwvg/toolbar.prg + contrib/gtwvg/treeview.prg + contrib/gtwvg/wnd.prg + contrib/hbxbp/3state.prg + contrib/hbxbp/appevent.prg + contrib/hbxbp/bitmap.prg + contrib/hbxbp/browse.prg + contrib/hbxbp/checkbox.prg + contrib/hbxbp/clipboard.prg + contrib/hbxbp/combobox.prg + contrib/hbxbp/crt.prg + contrib/hbxbp/dataref.prg + contrib/hbxbp/dialog.prg + contrib/hbxbp/filedialog.prg + contrib/hbxbp/fontdialog.prg + contrib/hbxbp/generic.prg + contrib/hbxbp/gra.prg + contrib/hbxbp/htmlviewer.prg + contrib/hbxbp/listbox.prg + contrib/hbxbp/menubar.prg + contrib/hbxbp/mle.prg + contrib/hbxbp/parthandler.prg + contrib/hbxbp/presspace.prg + contrib/hbxbp/printdialog.prg + contrib/hbxbp/printer.prg + contrib/hbxbp/pushbutton.prg + contrib/hbxbp/radiobutton.prg + contrib/hbxbp/rtf.prg + contrib/hbxbp/scrollbar.prg + contrib/hbxbp/sle.prg + contrib/hbxbp/spinbutton.prg + contrib/hbxbp/static.prg + contrib/hbxbp/statusbar.prg + contrib/hbxbp/style.prg + contrib/hbxbp/tabpage.prg + contrib/hbxbp/toolbar.prg + contrib/hbxbp/treeview.prg + contrib/hbxbp/window.prg - contrib/gtwvg/wvg3stat.prg - contrib/gtwvg/wvgax.prg - contrib/gtwvg/wvgbitmp.prg - contrib/gtwvg/wvgcheck.prg - contrib/gtwvg/wvgclass.prg - contrib/gtwvg/wvgcombo.prg - contrib/gtwvg/wvgcrt.prg - contrib/gtwvg/wvgdarea.prg - contrib/gtwvg/wvgdatar.prg - contrib/gtwvg/wvgdlg.prg - contrib/gtwvg/wvggenrc.prg - contrib/gtwvg/wvghtmlv.prg - contrib/gtwvg/wvglistb.prg - contrib/gtwvg/wvgmenub.prg - contrib/gtwvg/wvgmle.prg - contrib/gtwvg/wvgpaint.prg - contrib/gtwvg/wvgphdlr.prg - contrib/gtwvg/wvgpushb.prg - contrib/gtwvg/wvgradio.prg - contrib/gtwvg/wvgscrlb.prg - contrib/gtwvg/wvgsle.prg - contrib/gtwvg/wvgstatb.prg - contrib/gtwvg/wvgstatc.prg - contrib/gtwvg/wvgsysw.prg - contrib/gtwvg/wvgtabpg.prg - contrib/gtwvg/wvgtoolb.prg - contrib/gtwvg/wvgtreev.prg - contrib/gtwvg/wvgwnd.prg - contrib/hbxbp/xbp3state.prg - contrib/hbxbp/xbpappevent.prg - contrib/hbxbp/xbpbitmap.prg - contrib/hbxbp/xbpbrowse.prg - contrib/hbxbp/xbpcheckbox.prg - contrib/hbxbp/xbpclipboard.prg - contrib/hbxbp/xbpcombobox.prg - contrib/hbxbp/xbpcrt.prg - contrib/hbxbp/xbpdataref.prg - contrib/hbxbp/xbpdialog.prg - contrib/hbxbp/xbpfiledialog.prg - contrib/hbxbp/xbpfontdialog.prg - contrib/hbxbp/xbpgeneric.prg - contrib/hbxbp/xbpgra.prg - contrib/hbxbp/xbphtmlviewer.prg - contrib/hbxbp/xbplistbox.prg - contrib/hbxbp/xbpmenubar.prg - contrib/hbxbp/xbpmle.prg - contrib/hbxbp/xbpparthandler.prg - contrib/hbxbp/xbppresspace.prg - contrib/hbxbp/xbpprintdialog.prg - contrib/hbxbp/xbpprinter.prg - contrib/hbxbp/xbppushbutton.prg - contrib/hbxbp/xbpradiobutton.prg - contrib/hbxbp/xbprtf.prg - contrib/hbxbp/xbpscrollbar.prg - contrib/hbxbp/xbpsle.prg - contrib/hbxbp/xbpspinbutton.prg - contrib/hbxbp/xbpstatic.prg - contrib/hbxbp/xbpstatusbar.prg - contrib/hbxbp/xbpstyle.prg - contrib/hbxbp/xbptabpage.prg - contrib/hbxbp/xbptoolbar.prg - contrib/hbxbp/xbptreeview.prg - contrib/hbxbp/xbpwindow.prg * contrib/gtwvg/gtwvg.hbp * contrib/hbxbp/hbxbp.hbp % deleted unnecessary prefix from .prg filenames, thus making the much more easily searchable and recognizable and also allowing more room for the real description with much less undecipherable abbreviations. 2012-07-23 17:17 UTC+0200 Viktor Szakats * contrib/gtwvg/tests/demoxbp.prg * contrib/gtwvg/tests/wvgactivex.prg * contrib/gtwvg/tests/wvgmodal.prg * contrib/gtwvg/tests/wvgxbp.prg * contrib/gtwvg/wvgcheck.prg * contrib/hbide/ideconsole.prg * contrib/hbide/idetags.prg * contrib/hbnf/tests/nftest.prg * contrib/hbxbp/tests/demoxbp.prg * contrib/hbxbp/tests/dialogqt.prg * contrib/hbxbp/tests/xbpqtc.prg * contrib/hbxbp/xbpappevent.prg * contrib/hbxbp/xbptreeview.prg * contrib/xhb/hjwindow.prg * contrib/xhb/hterrsys.prg * contrib/xhb/htjlist.prg * contrib/xhb/htmutil.prg * contrib/xhb/ttable.prg * contrib/xhb/xhberr.prg * extras/gtwvw/tests/cbtest6.prg * extras/guestbk/cgi.ch * extras/guestbk/guestbk.prg * extras/guestbk/guestbk.txt * extras/guestbk/inifiles.prg * extras/hbapollo/fblock.prg * extras/hbapollo/tests/test45.prg * extras/hbxlsxml/xlsxml_y.prg * extras/httpsrv/cgifunc.prg * extras/httpsrv/session.prg * extras/httpsrv/uhttpd.prg ! if() -> iif() * formatting * *trim( str() ) -> hb_ntos() * modernized generated html 2012-07-23 16:52 UTC+0200 Viktor Szakats * src/lang/msgelutf.c * src/lang/msgko.c ! minor corrections 2012-07-23 15:16 UTC+0200 Viktor Szakats + src/codepage/cphe862.c + src/codepage/cphewin.c - src/lang/msghe862.c - src/lang/msghewin.c - src/lang/msgsr852.c - src/lang/msgsriso.c - src/lang/msguados.c * include/hbcpage.hbx * include/hblang.hbx * src/codepage/Makefile * src/lang/Makefile * src/rtl/langcomp.prg + added HE862 and HEWIN codepage modules. Only to for CP conversion, so they do not feature a collation table yet. Please add it. + using HE862 and HWIN to dynamically create Hebrew language modules for legacy CPs from UTF-8 one. + mapped SR852 and SRISO lang modules to CPs, and deleted old modules + mapped USDOS lang module to CP and deleted old module 2012-07-23 13:49 UTC+0200 Viktor Szakats * src/rtl/langcomp.prg - deleted recently added UAKOI and RUKOI language modules (use the old names UAKOI8 and RUKOI8) 2012-07-23 13:42 UTC+0200 Viktor Szakats - src/lang/msghucwi.c * doc/en/lang.txt * include/hblang.hbx * src/lang/Makefile * src/rtl/langcomp.prg - deleted support for HUCWI which used a long-time dead CP. If you use it, it's probably time to switch to something more recent, or submit a patch for a CWI CP in Harbour (or implement your translation locally). 2012-07-23 13:31 UTC+0200 Viktor Szakats * src/rtl/langcomp.prg ! using BIG5 instead of CP950 for ZHB5 language module ; NOTE: One will have to use 'REQUEST HB_CODEPAGE_BIG5' to make the compatibility layer work, or generate the CP dynamically using this call: hb_langNew( "ZHB5", "CP950", "ZHUTF", "UTF8" ) 2012-07-23 13:28 UTC+0200 Viktor Szakats - src/lang/msgzhb5.c * include/hblang.hbx * src/lang/Makefile * src/rtl/langcomp.prg % deleted ZHB5 language module, which is now converted dynamically from UTF8 version 2012-07-23 13:14 UTC+0200 Viktor Szakats - src/lang/msgbe866.c - src/lang/msgbewin.c - src/lang/msgbg866.c - src/lang/msgbgiso.c - src/lang/msgbgmik.c - src/lang/msgbgwin.c - src/lang/msgca.c - src/lang/msgcs852.c - src/lang/msgcsiso.c - src/lang/msgcskam.c - src/lang/msgcswin.c - src/lang/msgde.c - src/lang/msgdewin.c - src/lang/msgel.c - src/lang/msgelwin.c - src/lang/msgeo.c - src/lang/msges.c - src/lang/msgeswin.c - src/lang/msgeu.c - src/lang/msgfr.c - src/lang/msggl.c - src/lang/msghr646.c - src/lang/msghr852.c - src/lang/msghriso.c - src/lang/msghrwin.c - src/lang/msghu852.c - src/lang/msghuiso.c - src/lang/msghuwin.c - src/lang/msgid.c - src/lang/msgis850.c - src/lang/msgit.c - src/lang/msgltwin.c - src/lang/msgnl.c - src/lang/msgpl852.c - src/lang/msgpliso.c - src/lang/msgplmaz.c - src/lang/msgplwin.c - src/lang/msgpt.c - src/lang/msgptiso.c - src/lang/msgro.c - src/lang/msgru866.c - src/lang/msgrukoi.c - src/lang/msgruwin.c - src/lang/msgsk852.c - src/lang/msgskiso.c - src/lang/msgskkam.c - src/lang/msgskwin.c - src/lang/msgsl646.c - src/lang/msgsl852.c - src/lang/msgsliso.c - src/lang/msgslwin.c - src/lang/msgsrwin.c - src/lang/msgsv.c - src/lang/msgsvwin.c - src/lang/msgtr857.c - src/lang/msgtrwin.c - src/lang/msgua866.c - src/lang/msguakoi.c - src/lang/msguawin.c * src/lang/Makefile * src/rtl/langcomp.prg * include/hblang.hbx - deletes legacy codepages now implemented in HB_LANGSELECT() compatibility layer dynamically + readded support for UEKOI8 and RUKOI8 CPs. Now this can be done cheaply ; Legacy languages left because of missing CPs: HE862, HEWIN, HUCWI, KO, SR852, SRISO, UADOS, ZHB5, ZHGB * include/harbour.hbx + added __HB_LANGSELECT() internal function (do not use it) * src/lang/msg_tpl.c + updated to UTF-8 2012-07-23 13:00 UTC+0200 Viktor Szakats + src/rtl/langcomp.prg * src/rtl/langapi.c * src/rtl/Makefile + added compatibility layer to HB_LANGSELECT() that dynamically generates language modules for legacy codepages from the UTF-8 codepages. ; TODO: Move this layer to C level (I need help) ; TODO: Delete legacy codepages ; TODO: Resolve language modules with missing codepage modules (ideally by implementing the option to chose from real codepages directly) 2012-07-23 11:43 UTC+0200 Viktor Szakats * src/lang/msgcsutf.c * src/lang/msgelutf.c * minor formatting 2012-07-23 11:35 UTC+0200 Viktor Szakats * include/hblang.hbx + added new UTF language modules ! synced UEKOI8 and RUKOI8 with lang module changes 2012-07-23 02:07 UTC+0200 Viktor Szakats * src/lang/msgbgutf.c ! fix to prev 2012-07-23 02:00 UTC+0200 Viktor Szakats + src/lang/msgbeutf.c + src/lang/msgbgutf.c + src/lang/msgcautf.c + src/lang/msgcsutf.c + src/lang/msgdeutf.c + src/lang/msgelutf.c + src/lang/msgeoutf.c + src/lang/msgesutf.c + src/lang/msgeuutf.c + src/lang/msgfrutf.c + src/lang/msgglutf.c + src/lang/msgheutf.c + src/lang/msghrutf.c + src/lang/msgidutf.c + src/lang/msgisutf.c + src/lang/msgitutf.c + src/lang/msgkoutf.c + src/lang/msgltutf.c + src/lang/msgnlutf.c + src/lang/msgplutf.c + src/lang/msgptutf.c + src/lang/msgroutf.c + src/lang/msgruutf.c + src/lang/msgskutf.c + src/lang/msgslutf.c + src/lang/msgsrutf.c + src/lang/msgsvutf.c + src/lang/msgtrutf.c + src/lang/msguautf.c + src/lang/msgzhutf.c * src/lang/Makefile + added UTF-8 encoded version of language modules ; these will allow to drop all the 8-bit specific flavors putting an end to the CP mess. 2012-07-23 01:51 UTC+0200 Viktor Szakats * src/lang/msgrukoi.c * src/lang/msguakoi.c ! fixed wrong module IDs. RUKOI8 -> RUKOI, UAKOI8 -> UAKOI 2012-07-23 01:50 UTC+0200 Viktor Szakats * src/lang/msgrukoi.c * src/lang/msguakoi.c ! some more 2012-07-23 01:42 UTC+0200 Viktor Szakats * src/lang/msgzhb5.c * src/lang/msgzhgb.c ! more minor header fixes 2012-07-23 01:29 UTC+0200 Viktor Szakats * src/lang/msgeswin.c ! wrong RFC ID 2012-07-23 01:26 UTC+0200 Viktor Szakats * src/lang/msgelwin.c * src/lang/msgeswin.c * src/lang/msgltwin.c ! more minor header cleanups 2012-07-23 00:43 UTC+0200 Viktor Szakats * src/lang/msg_tpl.c * src/lang/msgbe866.c * src/lang/msgbewin.c * src/lang/msgbgmik.c * src/lang/msgca.c * src/lang/msgcs852.c * src/lang/msgcskam.c * src/lang/msgcswin.c * src/lang/msgde.c * src/lang/msgdewin.c * src/lang/msgel.c * src/lang/msgelwin.c * src/lang/msgeo.c * src/lang/msges.c * src/lang/msgeswin.c * src/lang/msgeu.c * src/lang/msgfr.c * src/lang/msggl.c * src/lang/msghe862.c * src/lang/msghewin.c * src/lang/msghr646.c * src/lang/msghr852.c * src/lang/msghrwin.c * src/lang/msghu852.c * src/lang/msgid.c * src/lang/msgis850.c * src/lang/msgit.c * src/lang/msgko.c * src/lang/msgnl.c * src/lang/msgpl852.c * src/lang/msgplwin.c * src/lang/msgpt.c * src/lang/msgptiso.c * src/lang/msgro.c * src/lang/msgru866.c * src/lang/msgrukoi.c * src/lang/msgruwin.c * src/lang/msgsk852.c * src/lang/msgskkam.c * src/lang/msgskwin.c * src/lang/msgsl852.c * src/lang/msgslwin.c * src/lang/msgsr852.c * src/lang/msgsrwin.c * src/lang/msgsv.c * src/lang/msgsvwin.c * src/lang/msgtr857.c * src/lang/msgtrwin.c * src/lang/msgua866.c * src/lang/msguakoi.c * src/lang/msguawin.c ! cleanups (to headers and metainfo) 2012-07-22 23:52 UTC+0200 Viktor Szakats * contrib/hbct/tests/ctwtest.prg * contrib/hbcups/tests/test.prg * contrib/hbfbird/tests/stress.prg * contrib/hbnf/aredit.prg * contrib/hbnf/doc/en/aredit.txt * contrib/hbnf/menu1.prg * contrib/hbnf/popadder.prg * contrib/hbnf/tbwhile.prg * contrib/hbpgsql/tests/async.prg * contrib/hbpgsql/tests/cache.prg * contrib/hbpgsql/tests/stress.prg * contrib/hbpgsql/tests/test.prg * contrib/hbtip/tests/tiptest.prg * contrib/xhb/tests/compress.prg * doc/en/sayget.txt * src/rtl/profiler.prg * tests/ac_test.prg * tests/boxtst2.prg * tests/fortest.prg * tests/menutest.prg * tests/mt/mttest11.prg * tests/parseini.prg * tests/speedold.prg * tests/tstchbx.prg * tests/usrrdd/exarr.prg * tests/videotst.prg * tests/vidtest.prg * formatting ! deleted SetMode()s * CLEAR SCREEN -> CLS * other minor cleanups 2012-07-22 21:46 UTC+0200 Viktor Szakats * extras/hbapollo/sxapi.h ! deleted some more duplicated definitions from 3rd party header * header guard renamed 2012-07-22 21:15 UTC+0200 Viktor Szakats * contrib/hbnf/doc/en/clrsel.txt * contrib/hbnf/doc/en/kspeed.txt * contrib/hbnf/doc/en/mouse1.txt * contrib/hbnf/doc/en/mouse2.txt * contrib/xhb/htmutil.prg * contrib/xhb/ttable.prg * extras/gfspell/spell.prg * extras/hbvpdf/hbvpdf.prg * extras/hbvpdf/hbvpdft.prg * extras/hbxlsxml/xlsxml_y.prg * extras/httpsrv/cgifunc.prg * utils/hbtest/rt_misc.prg * contrib/hbnf/aredit.prg * contrib/hbnf/clrsel.prg * contrib/hbnf/dispmsg.prg * contrib/hbnf/menu1.prg * contrib/hbnf/mouse1.prg * contrib/hbnf/mouse2.prg * contrib/hbnf/pegs.prg * contrib/hbnf/popadder.prg * contrib/hbnf/tbwhile.prg ! further removing high 8-bit chars 2012-07-22 20:08 UTC+0200 Viktor Szakats * include/hbapigt.h * tests/db_brows.prg ! fixes to prev 2012-07-22 19:45 UTC+0200 Viktor Szakats * extras/hbapollo/hbapollo.hbp + utilize original COFF implibs provided by the vendor (it makes link-time warnings disappear, when using mingw and enables implib generation for all compilers) 2012-07-22 19:31 UTC+0200 Viktor Szakats * contrib/hbgt/doc/en/hbgt.txt * doc/en/gtslang.txt * extras/gfspell/spell.prg * tests/mousetst.prg * tests/testdbf.prg * tests/testrdd2.prg * contrib/hbmisc/numtxthu.prg * contrib/hbqt/tests/wvtqt.prg * contrib/hbxbp/tests/wvtqt.prg * include/hbapigt.h * tests/db_brows.prg * tests/gtchars.prg * tests/tb1.prg * tests/testbrw.prg * tests/wcecon.prg ! fixing high 8-bit chars (using various methods) (finished. Except: hbnf, xhb, hbtest, most extras, utils) ; NOTE: Some sources have been converted to UTF-8, so from now on make sure to use an UTF-8 enabled editor and use only UTF-8 chars when typing non-ASCII (7-bit) characters. 2012-07-22 18:46 UTC+0200 Viktor Szakats * contrib/hbct/ctnet.c * contrib/hbhpdf/annot.c * contrib/hbhpdf/core.c * contrib/hbhpdf/tests/harupdf.prg * contrib/hbide/ideconsole.prg * contrib/hbide/idemisc.prg * contrib/hbmisc/tests/rtfclass.prg * contrib/hbpgsql/tests/cache.prg * extras/hbxlsxml/tests/example.prg * extras/httpsrv/cgifunc.prg * contrib/hbcairo/tests/hellow.prg ! fixing high 8-bit chars (using various methods) (to be continued) * extras/hbxlsxml/xlsxml.prg ! fixed to use CHR() for high 8-bit chars. Patch from Andi, thanks! 2012-07-22 16:09 UTC+0200 Viktor Szakats * contrib/hbtip/tests/dnldftp.prg * contrib/hbtip/tests/upld_ftp.prg ! translated output to English. At the same time removed non-ASCII (accented) chars. ; FIXME: extras/hbxlsxml which contains high 8-bit chars with unspecified codepage, which got corrupted in recent changes. [DONE] ; NOTE: Please use 7-bit ASCII chars only in sources and files, or, use UTF-8 while setting in SVN: svn propset svn:mime-type "text/plain; charset=UTF-8" Other codepages are not allowed in SVN, and if you need certain high 8-bit bytes or chars, always use Chr() or hb_BChar() to create them. * extras/hbapollo/global.c * extras/hbapollo/hbapollo.hbp * extras/hbapollo/sde.c * extras/hbapollo/sxapi.h ! deleted copied sections from sde7.h 3rd party header ! replaced _sx_SysProp() with sx_SysProp() calls. It's most probably not valid, but couldn't find the nature of the hack in original implementation + generate implibs ! added hack to make it possible to link statically to Apollo libs ! disabled C warnings to silence formal warnings resulting from above hack * extras/hbapollo/tests/hbmk.hbm ! minor fix to find .hbc find no in regular location * contrib/hbhpdf/core.c * formatting 2012-07-22 15:55 UTC+0200 Viktor Szakats * contrib/hbide/idestylesheets.prg * contrib/hbide/idetags.prg ! fixed wrong usage of hb_B*() raw string functions * contrib/hbmysql/utils/dbf2mysq.prg * formatting * contrib/hbpgsql/tests/dbf2pg.prg * extras/httpsrv/session.prg * extras/hbvpdf/hbvpdf.prg * extras/hbvpdf/hbvpdft.prg * tests/rddtest/rddtst.prg * using F_ERROR instead of -1 * contrib/hbtip/tests/dnldftp.prg * contrib/hbtip/tests/upld_ftp.prg * tests/codebloc.prg * tests/recursiv.prg * tests/test_all.prg * tests/testdbf.prg * tests/teststr.prg * using hb_eol() instead of explict chr() values 2012-07-21 19:21 UTC+0200 Viktor Szakats + extras/hbapollo/LICENCE + added license 2012-07-21 19:09 UTC+0200 Viktor Szakats + extras - examples * doc/dirstruc.txt * renamed 'examples' to what it is more: 'extras' 2012-07-21 18:31 UTC+0200 Viktor Szakats + tests/stripeol.hb + added script to strip spaces at EOL * contrib/gtalleg/tests/test.prg * contrib/gtwvg/tests/demoxbp.prg * contrib/gtwvg/tests/wvgactivex.prg * contrib/gtwvg/tests/wvgxbp.prg * contrib/gtwvg/wvgclass.prg * contrib/hbamf/tests/tstendin.prg * contrib/hbbz2/tests/test.prg * contrib/hbcairo/tests/fancytxt.prg * contrib/hbcairo/tests/table.prg * contrib/hbct/ctrand.prg * contrib/hbct/doc/en/addascii.txt * contrib/hbct/doc/en/atadjust.txt * contrib/hbct/doc/en/count.txt * contrib/hbct/doc/en/ct.txt * contrib/hbct/doc/en/ctc.txt * contrib/hbct/doc/en/ctmath.txt * contrib/hbct/doc/en/ctmath2.txt * contrib/hbct/doc/en/ctpad.txt * contrib/hbct/doc/en/ctstr.txt * contrib/hbct/doc/en/datetime.txt * contrib/hbct/doc/en/dattime2.txt * contrib/hbct/doc/en/exponent.txt * contrib/hbct/doc/en/finan.txt * contrib/hbct/doc/en/ftoc.txt * contrib/hbct/doc/en/justify.txt * contrib/hbct/doc/en/keyset.txt * contrib/hbct/doc/en/misc1.txt * contrib/hbct/doc/en/num1.txt * contrib/hbct/doc/en/numat.txt * contrib/hbct/doc/en/numconv.txt * contrib/hbct/doc/en/pos1.txt * contrib/hbct/doc/en/pos2.txt * contrib/hbct/doc/en/posdiff.txt * contrib/hbct/doc/en/print.txt * contrib/hbct/doc/en/range.txt * contrib/hbct/doc/en/relation.txt * contrib/hbct/doc/en/remove.txt * contrib/hbct/doc/en/replace.txt * contrib/hbct/doc/en/screen1.txt * contrib/hbct/doc/en/strdiff.txt * contrib/hbct/doc/en/strswap.txt * contrib/hbct/doc/en/token1.txt * contrib/hbct/doc/en/token2.txt * contrib/hbct/doc/en/trig.txt * contrib/hbct/doc/en/video.txt * contrib/hbct/doc/en/wordtoch.txt * contrib/hbct/getinfo.prg * contrib/hbfimage/tests/fitest.prg * contrib/hbgd/gdimage.prg * contrib/hbgd/tests/counter.prg * contrib/hbgd/tests/gdtest.prg * contrib/hbgd/tests/gdtestcl.prg * contrib/hbgd/tests/test_out.prg * contrib/hbide/idetags.prg * contrib/hblzf/tests/test2.prg * contrib/hbmisc/doc/en/ht_conv.txt * contrib/hbmisc/fcomma.prg * contrib/hbmisc/fileread.prg * contrib/hbmisc/hbedit.prg * contrib/hbnf/anomatch.prg * contrib/hbnf/calendar.prg * contrib/hbnf/clrsel.prg * contrib/hbnf/dispmsg.prg * contrib/hbnf/doc/en/aading.txt * contrib/hbnf/doc/en/aavg.txt * contrib/hbnf/doc/en/acctadj.txt * contrib/hbnf/doc/en/acctmnth.txt * contrib/hbnf/doc/en/acctqtr.txt * contrib/hbnf/doc/en/acctweek.txt * contrib/hbnf/doc/en/acctyear.txt * contrib/hbnf/doc/en/adessort.txt * contrib/hbnf/doc/en/aemaxlen.txt * contrib/hbnf/doc/en/aeminlen.txt * contrib/hbnf/doc/en/amedian.txt * contrib/hbnf/doc/en/anomatch.txt * contrib/hbnf/doc/en/any2any.txt * contrib/hbnf/doc/en/aredit.txt * contrib/hbnf/doc/en/asum.txt * contrib/hbnf/doc/en/at2.txt * contrib/hbnf/doc/en/bitclr.txt * contrib/hbnf/doc/en/bitset.txt * contrib/hbnf/doc/en/blink.txt * contrib/hbnf/doc/en/byt2bit.txt * contrib/hbnf/doc/en/byt2hex.txt * contrib/hbnf/doc/en/byteand.txt * contrib/hbnf/doc/en/byteneg.txt * contrib/hbnf/doc/en/bytenot.txt * contrib/hbnf/doc/en/bytexor.txt * contrib/hbnf/doc/en/calendar.txt * contrib/hbnf/doc/en/chdir.txt * contrib/hbnf/doc/en/cntryset.txt * contrib/hbnf/doc/en/color2n.txt * contrib/hbnf/doc/en/d2e.txt * contrib/hbnf/doc/en/datecnfg.txt * contrib/hbnf/doc/en/dayofyr.txt * contrib/hbnf/doc/en/daytobow.txt * contrib/hbnf/doc/en/dfile.txt * contrib/hbnf/doc/en/diskfunc.txt * contrib/hbnf/doc/en/dispc.txt * contrib/hbnf/doc/en/dispmsg.txt * contrib/hbnf/doc/en/dosver.txt * contrib/hbnf/doc/en/e2d.txt * contrib/hbnf/doc/en/easter.txt * contrib/hbnf/doc/en/elapsed.txt * contrib/hbnf/doc/en/findith.txt * contrib/hbnf/doc/en/floptst.txt * contrib/hbnf/doc/en/ftattr.txt * contrib/hbnf/doc/en/ftidle.txt * contrib/hbnf/doc/en/ftisprn.txt * contrib/hbnf/doc/en/ftround.txt * contrib/hbnf/doc/en/fttext.txt * contrib/hbnf/doc/en/gcd.txt * contrib/hbnf/doc/en/getenvrn.txt * contrib/hbnf/doc/en/hex2dec.txt * contrib/hbnf/doc/en/iamidle.txt * contrib/hbnf/doc/en/isbit.txt * contrib/hbnf/doc/en/isbiton.txt * contrib/hbnf/doc/en/isshare.txt * contrib/hbnf/doc/en/kspeed.txt * contrib/hbnf/doc/en/linked.txt * contrib/hbnf/doc/en/madd.txt * contrib/hbnf/doc/en/menutonf.txt * contrib/hbnf/doc/en/metaph.txt * contrib/hbnf/doc/en/miltime.txt * contrib/hbnf/doc/en/month.txt * contrib/hbnf/doc/en/netpv.txt * contrib/hbnf/doc/en/nooccur.txt * contrib/hbnf/doc/en/ntow.txt * contrib/hbnf/doc/en/nwlstat.txt * contrib/hbnf/doc/en/nwsem.txt * contrib/hbnf/doc/en/nwuid.txt * contrib/hbnf/doc/en/ontick.txt * contrib/hbnf/doc/en/origin.txt * contrib/hbnf/doc/en/page.txt * contrib/hbnf/doc/en/pchr.txt * contrib/hbnf/doc/en/peek.txt * contrib/hbnf/doc/en/pending.txt * contrib/hbnf/doc/en/poke.txt * contrib/hbnf/doc/en/popadder.txt * contrib/hbnf/doc/en/proper.txt * contrib/hbnf/doc/en/prtesc.txt * contrib/hbnf/doc/en/putkey.txt * contrib/hbnf/doc/en/qtr.txt * contrib/hbnf/doc/en/rand1.txt * contrib/hbnf/doc/en/savearr.txt * contrib/hbnf/doc/en/scregion.txt * contrib/hbnf/doc/en/setdate.txt * contrib/hbnf/doc/en/setkeys.txt * contrib/hbnf/doc/en/setlastk.txt * contrib/hbnf/doc/en/settime.txt * contrib/hbnf/doc/en/sinkey.txt * contrib/hbnf/doc/en/sleep.txt * contrib/hbnf/doc/en/sqzn.txt * contrib/hbnf/doc/en/sysmem.txt * contrib/hbnf/doc/en/tbwhile.txt * contrib/hbnf/doc/en/tempfile.txt * contrib/hbnf/doc/en/vertmenu.txt * contrib/hbnf/doc/en/vidcur.txt * contrib/hbnf/doc/en/vidmode.txt * contrib/hbnf/doc/en/wda.txt * contrib/hbnf/doc/en/week.txt * contrib/hbnf/doc/en/workdays.txt * contrib/hbnf/doc/en/woy.txt * contrib/hbnf/doc/en/xbox.txt * contrib/hbnf/doc/en/year.txt * contrib/hbnf/ftround.prg * contrib/hbnf/metaph.prg * contrib/hbnf/nwsem.prg * contrib/hbnf/nwuid.prg * contrib/hbnf/pending.prg * contrib/hbnf/popadder.prg * contrib/hbnf/scregion.prg * contrib/hbnf/tbwhile.prg * contrib/hbnf/workdays.prg * contrib/hbodbc/browodbc.prg * contrib/hbqt/tests/browqt.prg * contrib/hbqt/tests/dbfbrowserclass.prg * contrib/hbqt/tests/testbrow.prg * contrib/hbsqlit3/tests/blob.prg * contrib/hbsqlit3/tests/sl3_test.prg * contrib/hbxbp/tests/demoxbp.prg * contrib/hbxbp/tests/dialogqt.prg * contrib/hbxbp/xbpdataref.prg * contrib/hbxbp/xbpmenubar.prg * contrib/hbxbp/xbpprintdialog.prg * contrib/hbxbp/xbpprinter.prg * contrib/hbxbp/xbprtf.prg * contrib/hbxbp/xbpscrollbar.prg * contrib/xhb/cstruct.prg * contrib/xhb/hblog.prg * contrib/xhb/hterrsys.prg * contrib/xhb/htjlist.prg * contrib/xhb/sprintf.prg * contrib/xhb/stream.prg * contrib/xhb/tcgi.prg * contrib/xhb/tedit.prg * contrib/xhb/tfile.prg * contrib/xhb/thtm.prg * contrib/xhb/trpc.prg * contrib/xhb/trpccli.prg * contrib/xhb/ttable.prg * contrib/xhb/txml.prg * contrib/xhb/xcstr.prg * contrib/xhb/xhberr.prg * contrib/xhb/xhbmt.prg * doc/cmpopt.txt * doc/en/dbstrux.txt * examples/hbapollo/array.prg * examples/hbvpdf/hbvpdf.prg * examples/hbvpdf/hbvpdft.prg * examples/hbxlsxml/xlsxml_s.prg * examples/hbxlsxml/xlsxml_y.prg * examples/httpsrv/cgifunc.prg * examples/httpsrv/cookie.prg * examples/httpsrv/modules/cookie.prg * examples/httpsrv/modules/info.prg * examples/httpsrv/modules/showcounter.prg * examples/httpsrv/modules/tableservletdb.prg * examples/httpsrv/modules/testajax.prg * examples/httpsrv/session.prg * examples/httpsrv/uhttpd.prg * include/hbclass.ch * include/hbtrace.ch * src/debug/dbgtinp.prg * src/debug/debugger.prg * src/debug/tbrwtext.prg * src/rdd/usrrdd/rdds/hscdx.prg * src/rtl/hbi18n2.prg * src/rtl/valtoexp.prg * formatting, fixed indentation, cleanups, deleting system specific information, optimizing out platform dependent code, using hb_ntos() 2012-07-21 14:17 UTC+0200 Viktor Szakats * examples/hbxlsxml/tests/example.prg * examples/hbxlsxml/tests/example2.prg * examples/hbxlsxml/tests/example3.prg * examples/hbxlsxml/xlsxml_s.prg ! deleted spaces at EOL 2012-07-21 14:05 UTC+0200 Viktor Szakats * contrib/gtwvg/tests/demowvg.prg * contrib/gtwvg/tests/demowvg1.prg * contrib/hbct/tests/datetime.prg * contrib/hbnf/datecnfg.prg * examples/gtwvw/tests/ebtest7.prg * examples/gtwvw/tests/wvwtest9.prg * examples/hbapollo/tests/test05.prg * examples/hbvpdf/tests/tstpdf.prg * examples/hbxlsxml/tests/example.prg * tests/usrrdd/exarr.prg * use SET DATE ANSI 2012-07-21 13:55 UTC+0200 Viktor Szakats * contrib/hbide/idemain.prg * contrib/hbmysql/tests/test.prg * contrib/hbmysql/utils/dbf2mysq.prg * contrib/hbpgsql/tests/dbf2pg.prg * examples/hbapollo/tests/test02.prg * examples/hbapollo/tests/test05.prg * examples/hbapollo/tests/test07.prg * examples/hbapollo/tests/test08.prg * examples/hbapollo/tests/test11.prg * examples/hbapollo/tests/test12.prg * examples/hbapollo/tests/test13.prg * examples/hbapollo/tests/test14.prg * examples/hbapollo/tests/test15.prg * examples/hbapollo/tests/test20.prg * examples/hbapollo/tests/test21.prg * examples/hbapollo/tests/test22.prg * examples/hbapollo/tests/test23.prg * examples/hbapollo/tests/test24.prg * examples/hbapollo/tests/test25.prg * examples/hbapollo/tests/test26.prg * examples/hbapollo/tests/test27.prg * examples/hbapollo/tests/test28.prg * examples/hbapollo/tests/test29.prg * examples/hbapollo/tests/test30.prg * examples/hbapollo/tests/test34.prg * examples/hbapollo/tests/test35.prg * examples/hbapollo/tests/test36.prg * examples/hbapollo/tests/test37.prg * examples/hbapollo/tests/test38.prg * examples/hbapollo/tests/test39.prg * examples/hbapollo/tests/test41.prg * examples/hbapollo/tests/test42.prg * examples/hbapollo/tests/test43.prg * examples/hbapollo/tests/test45.prg * examples/hbapollo/tests/test46.prg * examples/hbapollo/tests/test47.prg * examples/hbapollo/tests/test50.prg * examples/hbapollo/tests/test51.prg * examples/hbapollo/tests/test52.prg * examples/hbapollo/tests/test53.prg * examples/hbapollo/tests/test54.prg * examples/hbapollo/tests/test55.prg * examples/hbapollo/tests/test56.prg * examples/hbapollo/tests/test57.prg * examples/hbapollo/tests/test58.prg * examples/hbapollo/tests/test60.prg * examples/hbapollo/tests/test61.prg * examples/httpsrv/uhttpd.prg * tests/fsplit.prg * deleted archaic SET EPOCH commands, using SET CENTURY ON instead * use SET DATE ANSI * some formatting 2012-07-20 15:23 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/idefindreplace.prg ! Fixed: Find action in FindInFiles was opening the source in "Main" view before searching. It should had been if source is opened only then take it from editing instance otherwise from disk. I suspect yesterday night I was too tired. 2012-07-20 21:30 UTC+0200 Viktor Szakats * contrib/gtwvg/tests/demowvg.prg * contrib/gtwvg/tests/wvgwvtclasses.prg * contrib/hbct/doc/en/dattime3.txt * contrib/hbct/tests/datetime.prg * contrib/hbide/ideconsole.prg * contrib/hbnf/any2any.prg * contrib/xhb/decode.prg * doc/en/datetime.txt * doc/hdr_tpl.txt * examples/gtwvw/tests/cbtest1.prg * examples/gtwvw/tests/cbtest6.prg * examples/gtwvw/tests/drawimg.prg * examples/gtwvw/tests/ebtest7.prg * examples/gtwvw/tests/inpfocus.prg * examples/gtwvw/tests/maximize.prg * examples/gtwvw/tests/wvwmouse.prg * examples/gtwvw/tests/wvwtest9.prg * examples/hbapollo/tests/test02.prg * examples/hbapollo/tests/test09.prg * examples/hbapollo/tests/test11.prg * examples/hbapollo/tests/test12.prg * examples/hbapollo/tests/test13.prg * examples/hbapollo/tests/test14.prg * examples/hbapollo/tests/test15.prg * examples/hbapollo/tests/test20.prg * examples/hbapollo/tests/test21.prg * examples/hbapollo/tests/test22.prg * examples/hbapollo/tests/test23.prg * examples/hbapollo/tests/test24.prg * examples/hbapollo/tests/test25.prg * examples/hbapollo/tests/test26.prg * examples/hbapollo/tests/test27.prg * examples/hbapollo/tests/test28.prg * examples/hbapollo/tests/test29.prg * examples/hbapollo/tests/test30.prg * examples/hbapollo/tests/test34.prg * examples/hbapollo/tests/test35.prg * examples/hbapollo/tests/test36.prg * examples/hbapollo/tests/test37.prg * examples/hbapollo/tests/test38.prg * examples/hbapollo/tests/test39.prg * examples/hbapollo/tests/test41.prg * examples/hbapollo/tests/test42.prg * examples/hbapollo/tests/test43.prg * examples/hbapollo/tests/test45.prg * examples/hbapollo/tests/test46.prg * examples/hbapollo/tests/test47.prg * examples/hbapollo/tests/test50.prg * examples/hbapollo/tests/test51.prg * examples/hbapollo/tests/test52.prg * examples/hbapollo/tests/test53.prg * examples/hbapollo/tests/test54.prg * examples/hbapollo/tests/test55.prg * examples/hbapollo/tests/test56.prg * examples/hbapollo/tests/test57.prg * examples/hbapollo/tests/test58.prg * examples/hbapollo/tests/test60.prg * examples/hbapollo/tests/test61.prg * examples/hbapollo/tests/test62.prg * examples/hbapollo/tests/test63.prg * examples/hbapollo/tests/test64.prg * examples/hbapollo/tests/test73.prg * examples/hbapollo/tests/test74.prg * examples/hbapollo/tests/test75.prg * examples/hbapollo/tests/test76.prg * examples/hbapollo/tests/test78.prg * examples/hbapollo/tests/test82.prg * tests/dates.prg * tests/usrrdd/exarr.prg ! avoid using CTOD() to create dates ! avoid setting SET DATE to arbirary formats * some formatting 2012-07-20 21:01 UTC+0200 Viktor Szakats * contrib/hbct/tests/charhist.prg * contrib/hbct/tests/csetarge.prg * contrib/hbgd/tests/gdtestcl.prg * examples/hbapollo/array.prg * examples/httpsrv/uhttpd.prg * formatting * contrib/hbmisc/tests/rtfclass.prg ! fixes * contrib/hbmisc/tests/rtfclass.prg * contrib/hbgd/tests/gdtestcl.prg ! fixed to not use OS() with string comparisons to detect host OS * contrib/gtwvg/wvgdlg.prg * contrib/hbide/ideactions.prg * contrib/hbide/ideconsole.prg * contrib/hbide/idemain.prg * contrib/hbide/idemisc.prg * contrib/hbide/idetags.prg * contrib/hbxbp/tests/xbpqtc.prg * examples/gfspell/spell.prg * examples/gtwvw/tests/cbtest6.prg * examples/gtwvw/tests/ebtest7.prg * examples/gtwvw/tests/prog0.prg * examples/gtwvw/tests/prog1.prg * examples/gtwvw/tests/prog2.prg * examples/gtwvw/tests/wvwtest9.prg * examples/hbvpdf/hbvpdf.prg * examples/hbxlsxml/xlsxml_y.prg * examples/hbxlsxml/xlsxml.prg * tests/codebloc.prg * tests/langmsg.prg * tests/memvar.prg * tests/statics.prg * tests/testwarn.prg * tests/tstmacro.prg % removed superfluous parentheses from RETURN statements * examples/hbapollo/tests/test65.prg * examples/hbapollo/tests/test66.prg * examples/hbapollo/tests/test77.prg ! fixed looking for Windows in fixed location * examples/hbapollo/tests/test25.prg * examples/hbapollo/tests/test34.prg * examples/hbapollo/tests/test35.prg * examples/hbapollo/tests/test36.prg * examples/hbapollo/tests/test37.prg * examples/hbapollo/tests/test38.prg * examples/hbapollo/tests/test49.prg * examples/hbapollo/tests/test53.prg * examples/hbapollo/tests/test56.prg * examples/hbapollo/tests/test57.prg * examples/hbapollo/tests/test58.prg ! removed most hard-wired windows locations 2012-07-20 14:02 UTC+0200 Viktor Szakats * include/clipdefs.h * include/extend.api * include/hbapi.h * include/hbdefs.h * deprecated HB_LEGACY_TYPES_ON build-time option. Use native Harbour types instead. (deprecated using HB_LEGACY_LEVEL4) + added HB_PARAMNO Harbour type to denote parameter number. ; FIXME: Use HB_PARAMNO instead of HB_BYTE, HB_USHORT, int, HB_ULONG * src/rtl/version.c * deprecated HB_BUILDDATE(). use HB_VERSION( HB_VERSION_BUILD_DATE_STR ) instead * deprecated HB_PCODEVER(). use HB_VERSION( HB_VERSION_PCODE_VER_STR ) instead ; both deprecated using HB_LEGACY_LEVEL4 2012-07-20 02:03 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/hbqt_hbqplaintextedit.cpp ! Fixed: clicking on selected area was not removing the selection. Was ever waiting the user if he/she will drag the text. Now only one chance of dragging is available, otherwise selection will disappear. 2012-07-20 10:53 UTC+0200 Viktor Szakats * contrib/xhb/hbxml.c * formatting % deleted superfluous C std header 2012-07-19 23:43 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/ideedit.prg * contrib/hbide/idefindreplace.prg ! Fixed: Search and Replace in <FindInFiles> where multiple S&R operations were producing irritating behavior. Please test properly ( only lightly tested ). ! Fixed and Optimized: CTRL+F - Find & Replace dialog behavior. It was not as par with standard dialogs of this kind. ; This commit finishes touches in Search & Replace functionality. 2012-07-20 07:50 UTC+0200 Viktor Szakats * contrib/hbnf/dispc.c * contrib/hbnf/fttext.c * contrib/hbnf/peek.c * contrib/hbnf/poke.c % removed excessive parentheses 2012-07-20 07:33 UTC+0200 Viktor Szakats * contrib/xhb/filestat.c * uncrustified * contrib/gtalleg/gtalleg.c * contrib/hbct/atadjust.c * contrib/xhb/hbxml.c * include/hbexpra.c * src/rtl/gtxwc/gtxwc.c * minor formatting 2012-07-20 07:22 UTC+0200 Viktor Szakats * examples/gfspell/spellc.c * uncrustified * contrib/xhb/hbxml.c * some formatting * contrib/hbct/atadjust.c * contrib/hbct/atnum.c * contrib/hbct/atrepl.c * contrib/hbct/charone.c * contrib/hbct/charonly.c * contrib/hbct/charop.c * contrib/hbct/charswap.c * contrib/hbct/count.c * contrib/hbct/ctwin.c * contrib/hbct/justify.c * contrib/hbct/numat.c * contrib/hbct/pos1.c * contrib/hbct/token1.c * contrib/hbgd/gdwrp.c * contrib/rddads/adsx.c * examples/hbapollo/get.c * examples/hbapollo/put.c * include/hbdefs.h * include/hbstack.h * src/rdd/dbffpt/dbffpt1.c * src/rtl/gtdos/gtdos.c * src/rtl/gtos2/gtos2.c * src/rtl/gtpca/gtpca.c * src/rtl/gtstd/gtstd.c * minor formatting errors (whitespace) 2012-07-20 07:07 UTC+0200 Viktor Szakats * contrib/gtwvg/gtwvg.c * contrib/gtwvg/wvggui.c * contrib/hbcairo/context.c * contrib/hbhpdf/core.c * contrib/hbnf/n2color.c * contrib/hbpgsql/rddcopy.c * contrib/hbzebra/eanupc.c * contrib/hbzebra/itf.c * contrib/hbzebra/msi.c * contrib/rddads/adsx.c * contrib/sddfb/sddfb.c * contrib/sddmy/sddmy.c * contrib/sddpg/sddpg.c * examples/hbapollo/replace.c * examples/hbapollo/use.c * src/rdd/dbfnsx/dbfnsx1.c * src/rdd/wafunc.c * src/rtl/gtgui/gtgui.c * src/rtl/gtos2/gtos2.c * src/rtl/gtpca/gtpca.c * src/rtl/gtsln/keytrans.c * src/rtl/gtsln/mousesln.c * src/rtl/gtstd/gtstd.c * src/rtl/gtxwc/gtxwc.c * src/vm/estack.c * src/vm/garbage.c * src/vm/itemapi.c * tests/bldtest/bldtest.c * minor formatting errors (whitespace) * contrib/rddsql/sqlbase.c * contrib/rddsql/sqlmix.c * larger commented code blocks disabled by #if 0 * contrib/xhb/txtline.c * contrib/hbqt/qtgui/hbqt_hbqgraphicsscene.cpp * contrib/rddsql/sqlbase.c * contrib/rddsql/sqlmix.c * uncrustified 2012-07-20 06:44 UTC+0200 Viktor Szakats * examples/hbapollo/append.c * examples/hbapollo/dbdelim.c * examples/hbapollo/global.c * examples/hbapollo/sde.c * examples/hbapollo/sxapi.h * examples/hbapollo/tools.c * examples/hbapollo/use.c ! added 's_' prefix to static varnames ! one static var got a FIXME, but probably more should have * cleaned externs * minor fixes (also to prev) * contrib/hbmisc/hb_f.c * contrib/rddsql/sqlbase.c * contrib/rddsql/sqlmix.c * contrib/sddfb/sddfb.c * contrib/sddmy/sddmy.c * contrib/sddodbc/sddodbc.c * contrib/sddpg/sddpg.c * uncrustified 2012-07-19 19:39 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/hbqreportsmanager.prg * contrib/hbide/ideactions.prg * contrib/hbide/idebrowse.prg * contrib/hbide/idehome.prg * contrib/hbide/idemain.prg * contrib/hbide/idemisc.prg * contrib/hbide/ideprojmanager.prg * contrib/hbide/idesaveload.prg * contrib/hbide/idethemes.prg ! Changed: hbIDE => HbIDE. Formatting and code cleanup. * contrib/hbide/ideedit.prg * contrib/hbqt/qtgui/hbqt_hbqplaintextedit.cpp ! Optimized: Column selection mode. % Code cleanup. * contrib/hbide/ideshortcuts.prg * contrib/hbide/idefindreplace.prg ! Fixed: CTRL+N behavior. This now searches the last selected string from cursors current location. 2012-07-19 22:09 UTC+0200 Viktor Szakats * contrib/hbfbird/tests/testapi.c * uncrustified * contrib/hbwin/olecore.c * minor formatting 2012-07-19 21:10 UTC+0200 Viktor Szakats * contrib/hbnf/descendn.c * contrib/hbnf/dispc.c * contrib/hbnf/fttext.c * contrib/hbnf/peek.c * contrib/hbnf/poke.c * contrib/hbnf/proper.c * contrib/hbnf/prtscr.c * uncrustified ! fixed warning on __max()/__min() macros by replacing them with Harbour macros 2012-07-19 20:49 UTC+0200 Viktor Szakats * examples/hbapollo/dbedit.prg ! fix (to a source redone for Harbour) 2012-07-19 14:57 UTC+0200 Viktor Szakats + examples/hbapollo + examples/hbapollo/*.c + examples/hbapollo/*.prg + examples/hbapollo/hbapollo.hbc + examples/hbapollo/hbapollo.hbp + examples/hbapollo/tests + examples/hbapollo/tests/hbmk.hbm + examples/hbapollo/tests/*.prg + added "sixapi" lib borrowed from xhb. It's a binding for Apollo libs. Available only for win/x86. A very old and short implementation was BTW just recently removed from Harbour. ; Code received lots of generic polishing and minor cleanups, hbmk2 build system, etc. Still has a lot of Windows types, but that's what Apollo seems to use, so it's not easy to drop them. ; I'm not sure if this is worth including, Apollo seems to be highly non-portable and a dead product, but I had some spare time so I'm uploading it and if nobody is interested I'll remove it. 2012-07-19 11:28 UTC+0200 Viktor Szakats * tests/cursrtst.prg * tests/db_brows.prg * tests/debugtst.prg * tests/dirtest.prg * tests/foreach.prg * tests/funcarr.prg * tests/memvar.prg * tests/objarr.prg * tests/onidle.prg * tests/speedstr.prg * tests/speedtst.prg * tests/switch.prg * tests/testdbf.prg * tests/testdecl.prg * tests/testget.prg * formatting 2012-07-19 11:00 UTC+0200 Viktor Szakats * tests/ac_test.prg * tests/ac_test2.prg * tests/begin.prg * tests/box.prg * tests/byref.prg * tests/codebl.prg * tests/codebloc.prg * tests/db_brows.prg * tests/ddate.prg * tests/ifinline.prg * tests/memvar.prg * tests/menutest.prg * tests/readhrb.prg * tests/speed.prg * tests/speedtst.prg * tests/stripem.prg * tests/switch.prg * tests/testbrw.prg * tests/testcdx.prg * tests/testdecl.prg * tests/testhrb.prg * tests/testpre.prg * tests/testwarn.prg * tests/tstalias.prg * tests/tstmacro.prg * tests/varparam.prg * more cleanups. (assignment operator and string quote usage) 2012-07-19 10:23 UTC+0200 Viktor Szakats * tests/arrayidx.prg * tests/brwpos.prg * tests/clasinit.prg * tests/clsicast.prg * tests/clsscast.prg * tests/clsscope.prg * tests/codebl.prg * tests/codebloc.prg * tests/cpinfo.prg * tests/db_brows.prg * tests/destruct.prg * tests/dynobj.prg * tests/flink.prg * tests/fortest.prg * tests/fsplit.prg * tests/inherit.prg * tests/keywords.prg * tests/multiarg.prg * tests/newrdd.prg * tests/onidle.prg * tests/overload.prg * tests/rto_get.prg * tests/setkeys.prg * tests/speedtst.prg * tests/stripem.prg * tests/tb1.prg * tests/testbrw.prg * tests/testdbf.prg * tests/testhtml.prg * tests/testwarn.prg * tests/tstblock.prg * tests/tstmacro.prg * tests/wvtext.prg * more cleanups 2012-07-19 01:14 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/hbqreportsmanager.prg * contrib/hbide/idebrowse.prg * contrib/hbide/idechangelog.prg * contrib/hbide/idefindreplace.prg * contrib/hbide/idefunctions.prg * contrib/hbide/ideharbourhelp.prg * contrib/hbide/idehome.prg * contrib/hbide/idesaveload.prg * contrib/hbide/ideshortcuts.prg * contrib/hbide/ideskeletons.prg * contrib/hbide/idethemes.prg * contrib/hbide/idetools.prg * contrib/hbide/idewizard.prg ! Changed: signal/event handelling via numeric representation instead of character strings. This completes this part of optimizations. 2012-07-19 09:52 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! fixed minor formatting inconsistencies 2012-07-18 20:04 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/idedocks.prg * contrib/hbide/ideedit.prg * contrib/hbide/ideeditor.prg * contrib/hbide/ideprojectwizard.prg * contrib/hbide/ideuisrcmanager.prg ! Optimized: character constants to numeric ones. Must speed up the user experience. * contrib/hbqt/qtgui/hbqt_hbqsyntaxhighlighter.cpp * contrib/hbqt/qtgui/hbqt_hbqsyntaxhighlighter.h + Implemented: any #define with front and back as two underscores will be displayed in different color in HbIDE. Like.. #define __this_is_some_constant__ 212 2012-07-18 16:14 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/ideuisrcmanager.prg ! Fixed: a regression caused by changes in .ui manipulation; accessing objects from a hash to genuine class variable. ; INCOMPATIBLE: any class created through IdeUISourceManager should begin with "uie_" instead of "ui_" ( the namespace in use in new .ui manipulation ). So please change this in "cls_"uiFileName.prg manually. 2012-07-18 18:15 UTC+0200 Viktor Szakats * contrib/hbgt/tests/test.prg * formatting (manual) * contrib/hbct/bitnum.c * contrib/hbct/charmirr.c * contrib/hbct/charonly.c * contrib/hbct/charsort.c * contrib/hbct/ctpad.c * contrib/hbct/ctstr.c * contrib/hbct/envparam.c * contrib/hbct/expand.c * contrib/hbct/files.c * contrib/hbct/justify.c * contrib/hbct/misc2.c * contrib/hbct/numat.c * contrib/hbct/pos1.c * contrib/hbct/posdiff.c * contrib/hbct/relation.c * contrib/hbct/replace.c * contrib/hbct/strswap.c * contrib/hbct/token1.c * contrib/hbct/token2.c * minor whitespace formatting * contrib/hbgt/ascposgt.c * contrib/hbgt/atdiff.c * contrib/hbgt/bitflags.c * contrib/hbgt/chareven.c * contrib/hbgt/charmixg.c * contrib/hbgt/charodd.c * contrib/hbgt/chrcount.c * contrib/hbgt/chrfirst.c * contrib/hbgt/chrtotal.c * contrib/hbgt/strasint.c * contrib/hbgt/strcount.c * contrib/hbgt/strcspn.c * contrib/hbgt/strdiffg.c * contrib/hbgt/strexpan.c * contrib/hbgt/strleft.c * contrib/hbgt/strpbrk.c * contrib/hbgt/strright.c * reformatted using uncrustify 2012-07-18 16:25 UTC+0200 Viktor Szakats * tests/clsnv.prg * tests/cursrtst.prg * tests/foreach2.prg * tests/testpp.prg * tests/transtst.prg * tests/tscmdarg.c * more cleanups 2012-07-18 15:52 UTC+0200 Viktor Szakats * tests/ainstest.prg * tests/codebloc.prg * tests/procname.prg * tests/server.prg * tests/testrdd2.prg * tests/tstuse.prg * more cleanups 2012-07-18 15:35 UTC+0200 Viktor Szakats * tests/ac_test2.prg * tests/adirtest.prg * tests/ainstest.prg * tests/altdtest.prg * tests/and_or.prg * tests/array16.prg * tests/arrayidx.prg * tests/arrays.prg * tests/arreval.prg * tests/arrindex.prg * tests/atest.prg * tests/box.prg * tests/boxtst2.prg * tests/byref.prg * tests/calling.prg * tests/clasinit.prg * tests/clasname.prg * tests/classch.prg * tests/classes.prg * tests/clsdata.prg * tests/cmphello.prg * tests/codebl.prg * tests/codebloc.prg * tests/comments.prg * tests/curdirt.prg * tests/db_brows.prg * tests/dbevalts.prg * tests/docase.prg * tests/dosshell.prg * tests/dupvars.prg * tests/dynobj.prg * tests/dynsym.prg * tests/exittest.prg * tests/extend1.prg * tests/exthrb.prg * tests/fib.prg * tests/fornext.prg * tests/fortest.prg * tests/funcarr.prg * tests/gfx.prg * tests/gtchars.prg * tests/gtcolors.prg * tests/gtkeys.prg * tests/hello.prg * tests/ifelse.prg * tests/inherit.prg * tests/inhprob.prg * tests/inifiles.prg * tests/initexit.prg * tests/inline.prg * tests/iotest.prg * tests/iotest2.prg * tests/keywords.prg * tests/langmsg.prg * tests/linecont.prg * tests/lnlenli1.prg * tests/lnlenli2.prg * tests/longdev.prg * tests/longstr.prg * tests/longstr2.prg * tests/mathtest.prg * tests/memfile.prg * tests/memory.prg * tests/readhrb.prg * tests/rto_get.prg * tests/rto_tb.prg * tests/scroll.prg * tests/seconds.prg * tests/set_test.prg * tests/speedold.prg * tests/stripem.prg * tests/t1.prg * tests/test_all.prg * tests/testbrw.prg * tests/testhtml.prg * tests/testid.prg * tests/testpre.prg * tests/testwarn.prg * tests/ticktime.prg * tests/tstchbx.prg * tests/tstmacro.prg * tests/tstprag.prg * tests/vec1.prg * tests/videotst.prg * tests/vidtest.prg * cleaning up tests (roughly complete) 2012-07-18 13:54 UTC+0200 Viktor Szakats + contrib/hbgt/tests + contrib/hbgt/tests/test.prg + contrib/hbmisc/tests/rtfclass.prg - tests/rtfclass.prg - tests/test10.prg - tests/testgt.prg * tests/ac_test.prg * tests/alias.prg * tests/begin.prg * tests/boxtest.prg * tests/cdow.prg * tests/clasinh.prg * tests/dates.prg * tests/dates2.prg * tests/dates3.prg * tests/dates4.prg * tests/ddate.prg * tests/debugtst.prg * tests/delimtst.prg * tests/devtest.prg * tests/disptest.prg * tests/foreach.prg * tests/gtstdtst.prg * tests/ipclnt.prg * tests/ipsvr.prg * tests/langapi.prg * tests/memtst.prg * tests/memvar.prg * tests/menutest.prg * tests/mousetst.prg * tests/multiarg.prg * tests/newrdd.prg * tests/nums.prg * tests/objarr.prg * tests/objasign.prg * tests/objects.prg * tests/omacro.prg * tests/onidle.prg * tests/os.prg * tests/output.prg * tests/overload.prg * tests/parexpr.prg * tests/passref.prg * tests/procline.prg * tests/procname.prg * tests/recursiv.prg * tests/returns.prg * tests/round.prg * tests/say.prg * tests/sbartest.prg * tests/scroll.prg * tests/sdf_test.prg * tests/seconds.prg * tests/server.prg * tests/set_num.prg * tests/set_test.prg * tests/setkeys.prg * tests/sound.prg * tests/speed.prg * tests/statfun.prg * tests/statics.prg * tests/statics1.prg * tests/statics2.prg * tests/statinit.prg * tests/strdelim.prg * tests/stripem.prg * tests/switch.prg * tests/symbolt.prg * tests/t1.prg * tests/tb1.prg * tests/testbrdb.prg * tests/testbrw.prg * tests/testcdx.prg * tests/testcls.prg * tests/testdbf.prg * tests/testdecl.prg * tests/testerro.prg * tests/testfor.prg * tests/testget.prg * tests/testhrb.prg * tests/testhtml.prg * tests/testidle.prg * tests/testmem.prg * tests/testpers.prg * tests/testtok.prg * tests/testwarn.prg * tests/tstalias.prg * tests/tstasort.prg * tests/tstblock.prg * tests/tstdbi.prg * tests/tstmacro.prg * tests/varparam.prg * tests/wvt_fs.prg * cleaning up tests 2012-07-18 12:43 UTC+0200 Viktor Szakats * contrib/hbct/addascii.c * contrib/hbct/ascpos.c * contrib/hbct/atadjust.c * contrib/hbct/atnum.c * contrib/hbct/atrepl.c * contrib/hbct/charevod.c * contrib/hbct/charmirr.c * contrib/hbct/charmix.c * contrib/hbct/charone.c * contrib/hbct/charonly.c * contrib/hbct/charrepl.c * contrib/hbct/charsort.c * contrib/hbct/charsprd.c * contrib/hbct/charswap.c * contrib/hbct/count.c * contrib/hbct/ctpad.c * contrib/hbct/ctstr.c * contrib/hbct/dattime2.c * contrib/hbct/expand.c * contrib/hbct/exponent.c * contrib/hbct/justify.c * contrib/hbct/numat.c * contrib/hbct/pos1.c * contrib/hbct/pos2.c * contrib/hbct/posdiff.c * contrib/hbct/range.c * contrib/hbct/relation.c * contrib/hbct/remove.c * contrib/hbct/replace.c * contrib/hbct/screen1.c * contrib/hbct/screen2.c * contrib/hbct/strswap.c * contrib/hbct/tab.c * contrib/hbct/token1.c * contrib/hbct/token2.c * contrib/hbct/wordrepl.c * contrib/hbct/wordtoch.c % removed superfluous parenthesis * whitespace formatting 2012-07-18 10:50 UTC+0200 Viktor Szakats * contrib/hbide/resources/maximize_all.png * contrib/hbide/resources/maximize.png * contrib/hbide/resources/minimize_all.png * contrib/hbide/resources/minimize.png % further optimized them using ImageOptim. 2012-07-18 01:29 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/hbide.qrc + contrib/hbide/resources/maximize.png + contrib/hbide/resources/maximize_all.png + contrib/hbide/resources/minimize.png + contrib/hbide/resources/minimize_all.png + Added: more images. * contrib/hbide/ideprojectwizard.prg * contrib/hbide/projectwizard.ui ! Advanced: user interface is almost done and is ready for final show-down. Please review the working of the components. ; QUESTION: should everything go inside .hbp or should I introduce templates to hold the project sections and be reloadable by 1) only switches and parameters, 2) sources also. 2012-07-18 09:41 UTC+0200 Viktor Szakats * contrib/hbide/resources/collapse_m.png * contrib/hbide/resources/expand_m.png % optimized them using ImageOptim. Please run at least 'optipng' (available for all platform for free) on .png files before uploading them to SVN. Thank you. 2012-07-17 19:40 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/hbide.qrc + contrib/hbide/resources/collapse_m.png + contrib/hbide/resources/expand_m.png + Added: two more images. * contrib/hbide/ideprojectwizard.prg * contrib/hbide/projectwizard.ui ! Advanced: now many components of the interface are complete. Specially the section where "Libraries" etc. are requested, play; you will enjoy. 2012-07-17 22:29 UTC+0200 Viktor Szakats * contrib/hbct/tests/addascii.prg * contrib/hbct/tests/afteratn.prg * contrib/hbct/tests/asciisum.prg * contrib/hbct/tests/ascpos.prg * contrib/hbct/tests/atadjust.prg * contrib/hbct/tests/atnum.prg * contrib/hbct/tests/atrepl.prg * contrib/hbct/tests/attoken.prg * contrib/hbct/tests/beforatn.prg * contrib/hbct/tests/charadd.prg * contrib/hbct/tests/charand.prg * contrib/hbct/tests/chareven.prg * contrib/hbct/tests/charhist.prg * contrib/hbct/tests/charlist.prg * contrib/hbct/tests/charmirr.prg * contrib/hbct/tests/charmix.prg * contrib/hbct/tests/charnlst.prg * contrib/hbct/tests/charnot.prg * contrib/hbct/tests/charodd.prg * contrib/hbct/tests/charone.prg * contrib/hbct/tests/charonly.prg * contrib/hbct/tests/charor.prg * contrib/hbct/tests/charrem.prg * contrib/hbct/tests/charrepl.prg * contrib/hbct/tests/charrll.prg * contrib/hbct/tests/charrlr.prg * contrib/hbct/tests/charshl.prg * contrib/hbct/tests/charshr.prg * contrib/hbct/tests/charslst.prg * contrib/hbct/tests/charsort.prg * contrib/hbct/tests/charsub.prg * contrib/hbct/tests/charswap.prg * contrib/hbct/tests/charxor.prg * contrib/hbct/tests/csetarge.prg * contrib/hbct/tests/csetatmu.prg * contrib/hbct/tests/csetref.prg * contrib/hbct/tests/ctwtest.prg * contrib/hbct/tests/datetime.prg * contrib/hbct/tests/expomant.prg * contrib/hbct/tests/finan.prg * contrib/hbct/tests/math.prg * contrib/hbct/tests/num1.prg * contrib/hbct/tests/numtoken.prg * contrib/hbct/tests/rangerem.prg * contrib/hbct/tests/rangerep.prg * contrib/hbct/tests/setatlik.prg * contrib/hbct/tests/strdiff.prg * contrib/hbct/tests/tab.prg * contrib/hbct/tests/token.prg * contrib/hbct/tests/token2.prg * contrib/hbct/tests/tokenlow.prg * contrib/hbct/tests/tokensep.prg * contrib/hbct/tests/tokenupp.prg * contrib/hbct/tests/trig.prg * contrib/hbct/tests/valpos.prg * contrib/hbct/tests/wordone.prg * contrib/hbct/tests/wordonly.prg * contrib/hbct/tests/wordrem.prg * contrib/hbct/tests/wordrepl.prg * contrib/hbct/tests/wordswap.prg * tests/stripem.prg * tests/testbrw.prg * formatting ! deleted relative directory in #include directive 2012-07-17 13:17 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/hbqtgui.ch + Added: QTreeWidgetItem_* constants. 2012-07-17 10:15 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/ideprojectwizard.prg * contrib/hbide/projectwizard.ui + Some visual enhancements ( not final yet ). 2012-07-17 10:03 UTC+0200 Viktor Szakats * contrib/hbformat/hbfmtcls.prg ! iif() added to list of functions * minor formatting * tests/readhrb.prg * minor to prev 2012-07-17 09:51 UTC+0200 Viktor Szakats * tests/readhrb.prg + updated by Vailton Renato to work on current .hrb format and more + further formatted, cleaned, unicodized, etc 2012-07-16 23:31 UTC+0200 Viktor Szakats * src/vm/extrap.c ! old IA64 compilation typo. Thanks to Raphael for report and patch. 2012-07-16 16:20 UTC+0200 Viktor Szakats * contrib/hbide/projectpropertiesex.ui ! HBMK2 -> hbmk2 to be consistent with everywhere else * contrib/hbqt/hbmk2_qt.hb ! fixed misleading RTE subsystem * include/hbver.ch + added HB_VERSION_MAX_ to denote the highest valid paramater. Please note that the valid values start at 0 2012-07-16 12:39 UTC+0200 Viktor Szakats * src/3rd/png/Makefile * src/3rd/png/* * updated to 1.5.12 (from 1.5.11) using 3rdpatch.hb (no change in actual png source code, the vulnerability didn't affect Harbour as it was build related) 2012-07-16 11:19 UTC+0200 Viktor Szakats * contrib/hbide/ideprojectwizard.prg * contrib/hbide/projectwizard.ui ! HbMk2 -> hbmk2 to be consistent with everywhere else 2012-07-16 01:14 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/idemain.prg * contrib/hbide/idemisc.prg * contrib/hbide/ideprojectwizard.prg * contrib/hbide/projectwizard.ui ! Advanced: to a comfortable level how a project can be constructed. Please play with <Main Menu><Project><New Project Wizard>. It implements very nice constructs to enter various elements. Still a work-in-progress, but concept has begining to impress. 2012-07-15 00:57 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/idetools.prg * Minor. * contrib/hbide/hbide.hbp * contrib/hbide/ideactions.prg * contrib/hbide/idemain.prg * contrib/hbide/ideobject.prg + contrib/hbide/ideprojectwizard.prg + contrib/hbide/projectwizard.ui + Added: .ui and class to offer the facility to create a project with minimum of efforts. It is just the begining, only user interface is available currently, a work-in-progress. This can be accessed via <Main Menu><Project><New Project Wizard>. Do have a look and let me know if more can be added... 2012-07-14 13:50 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/ideedit.prg * contrib/hbide/ideeditor.prg * contrib/hbide/idefindreplace.prg * contrib/hbqt/qtgui/hbqt_hbqplaintextedit.cpp * contrib/hbqt/qtgui/hbqt_hbqplaintextedit.h * contrib/hbqt/qtgui/qth/HBQPlainTextEdit.qth - Deleted some methods. % Optimized code flow. This fixes many minor glitches in editing. 2012-07-14 03:59 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/hbmk2_qt.hb - Reverted: a minor change in logic which produced regression at a particular .ui. * contrib/hbide/idedocks.prg * contrib/hbide/ideedit.prg * contrib/hbide/ideeditor.prg * contrib/hbide/idesources.prg * contrib/hbqt/qtgui/hbqt_hbqplaintextedit.cpp + Enhancements: - tremendous speed improvements while editing and selecting. - fixed many small but important artifacts about column-selections. + added bookmark icon on the statusbar too. It makes it convinient to manipulate them in speedy way. - Lost: number of characters selected. It has been a speed breaker. - TODO: cleanup the hbqt_hbqplaintextedit.cpp source. 2012-07-13 16:04 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/qth/QClipboard.qth * Fixed: constructor ( void* ) QApplication::clipboard() => ( void* ) __hbqtgui_app()->clipboard() * contrib/hbqt/qtgui/qth/QWidget.qth + Added: void setInputMethodHints ( Qt::InputMethodHints hints ) [*V=0x040600*] 2012-07-13 15:57 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/hbqtgui.ch * contrib/hbqt/hbmk2_qt.hb + Applied: patch received from Ryszard Glab ( with my fixes of one overlook ). fixes: - some issues with QApplication:translation method - it allows for binding QAction to a window for wchich the action was defined, for example, if SomeDialog.ui file has actions defined then virtual methods: <actionName>_triggered is added to UI_SomeDialog class. Thanks Ryszard, it is pleasure to see you on-board again. 2012-07-12 23:33 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/idebrowse.prg * contrib/hbide/ideeditor.prg * contrib/hbide/idemain.prg * contrib/hbide/idesources.prg + Implemented: 1. IdeDBU mode where .dbf files can be passed on command-line, as: HbIDE.exe \harbour\tests\test.dbf myOther.dbf This mode can be combined with pure source editing mode where source(s) are passed on the command-line, like; HbIDE.exe \harbour\tests\test.dbf myOther.dbf \mysources\first.prg. This mode also hides "Main" and "Docking Widgets" toolbars, thus presents a lean look. If a .dbf is passed as above, then IdeDBU gets preference over source editor in terms of application's real-estate, which seems logical. Currently, DBFCDX driver is used to open these tables, but logic is in place to honour other drivers; the only issue is how to get this information on the command-line. 2. A "default.prg" source will welcome the user on "Main" panel ready to accept input, if HbIDE is opened without any sources made available to be opened. The actual filename will be requested at the time of saving that source; either explicitly saved, or on termination. This request will come-up only if the source has been modified. 2012-07-12 09:26 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/ideedit.prg * contrib/hbide/ideeditor.prg ! Optimizations: what exactly should get fired with which event. User must experience speed improvement while navigating and editing the sources. ; NOTE: this is the first commit in series of enhancements, optimizations and improvements in HbIDE. Please speak out your expectations, concerns, suggestions, what-ever, about HbIDE. Next few weeks I will be working on this tool only. 2012-07-12 18:22 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/src/common/hbdate.c * increased stability of hb_dateDecode() for date values having year > 9999 * harbour/contrib/rddads/ads1.c ! fixed errorous fallthrough (the value of rowversion and autoincrement fields was float but not integer) * minor formatting * harbour/contrib/rddads/adsx.c * LPMIXKEY -> PMIXKEY, LPMIXTAG -> PMIXTAG. Let's forget about long pointers and memory segmentation + implemented ADSX tag (custom tag) update on RDD PutValue method 2012-07-11 23:41 UTC+0200 Viktor Szakats * .gitignore + extended, further cleaned up 2012-07-11 12:29 UTC+0200 Viktor Szakats * src/3rd/pcre/Makefile * src/3rd/pcre/* * 8.30 -> 8.31 (using 3rdpatch) 2012-07-11 01:39 UTC+0200 Viktor Szakats * contrib/hbqt/hbmk2_qt.hb * src/rtl/spfiles.c ! formatting 2012-07-10 15:22 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/idebrowse.prg * contrib/hbide/idechangelog.prg * contrib/hbide/idedict.prg * contrib/hbide/idedocwriter.prg * contrib/hbide/ideedit.prg * contrib/hbide/ideenviron.prg * contrib/hbide/idefindreplace.prg * contrib/hbide/ideformat.prg * contrib/hbide/idefunctions.prg * contrib/hbide/ideharbourhelp.prg * contrib/hbide/idemisc.prg * contrib/hbide/ideprojmanager.prg * contrib/hbide/idesaveload.prg * contrib/hbide/ideshortcuts.prg * contrib/hbide/ideskeletons.prg * contrib/hbide/idethemes.prg * contrib/hbide/idetools.prg - Replaced: all occurances of accessing objects in ui_* classes prefixed with "q_". Removing "q_" was enough to achieve it. 2012-07-10 15:18 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/hbmk2_qt.hb ! Added: destroy() method. * Changed: order of generated ui_* class methods plus some formatting. * contrib/hbqt/qtgui/hbqtgui.ch + Added: a few more constants. 2012-07-10 20:23 UTC+0200 Viktor Szakats * src/rtl/alert.prg * src/rtl/typefile.prg % using FOR EACH * src/rtl/spfiles.c * formatting (whitespace) 2012-07-10 10:46 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/hbqtgui.ch + Added: few QLCD* constants. * contrib/hbqt/qtgui/qth/QLCDNumber.qth + Added: digitCount()/setDigitCount() methods introduced in Qt 4.6. 2012-07-10 19:39 UTC+0200 Viktor Szakats * INSTALL ! old typo 2012-07-10 13:55 UTC+0200 Viktor Szakats * contrib/hbqt/hbqt_commons.hbm * contrib/hbssl/hbssls.hbp ! do not generate .hbx files for optional static versions of libs 2012-07-10 02:25 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/tests/dbfbrowser.prg * Minor: using the table in shared mode instead of exclusively. 2012-07-10 02:14 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/hbqreportsmanager.prg * contrib/hbide/ideactions.prg * contrib/hbide/idebrowse.prg * contrib/hbide/idechangelog.prg * contrib/hbide/ideconsole.prg * contrib/hbide/idedict.prg * contrib/hbide/idedocks.prg * contrib/hbide/idedocwriter.prg * contrib/hbide/ideedit.prg * contrib/hbide/ideeditor.prg * contrib/hbide/idefindreplace.prg * contrib/hbide/idefunctions.prg * contrib/hbide/ideharbourhelp.prg * contrib/hbide/idehome.prg * contrib/hbide/idemain.prg * contrib/hbide/idemisc.prg * contrib/hbide/ideplugins.prg * contrib/hbide/ideprojmanager.prg * contrib/hbide/idesaveload.prg * contrib/hbide/ideshortcuts.prg * contrib/hbide/ideskeletons.prg * contrib/hbide/idestylesheets.prg * contrib/hbide/idetags.prg * contrib/hbide/idethemes.prg * contrib/hbide/idetools.prg * contrib/hbide/ideuisrcmanager.prg * contrib/hbide/idewizard.prg - Removed: qObj[ cObjName ] to current syntax. % Started: to make it unicode compliant but struck in between while global find/replaced left me in static state. So I need to commit. 2012-07-10 02:04 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/hbqtgui.hbm * contrib/hbqt/qtgui/hbqtgui.hbx - contrib/hbqt/qtgui/THbQtUI.prg - Removed: class HbQtUi() no longer required. * contrib/hbqt/hbmk2_qt.hb + Implemented: .ui manipulation as proper class object. Now any object of interface can be accessed by its objectName given in the Qt Creator. To keep compatibility with old code, the "q_" prefix is also retained. User will see no difference in his code but is encouraged to use new syntax which is mode in line with a true object. For example: oUI := hbqtui_uifilename( oParent ) oUI:q_btnClose:connect( ...) => oUI := ui_uifilename():new( oParent ) oUI:btnClose:connect( ... ) ; INCOMPATIBLE: to access qObj[ cObjectName ] is no more available. Please update your code to honor new syntax. 2012-07-10 02:02 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtopengl/hbqtopengl.hbc * contrib/hbqt/qtscript/hbqtscript.hbc * contrib/hbqt/qtsvg/hbqtsvg.hbc * contrib/hbqt/qtxml/hbqtxml.hbc - Removed: not required dependancies. 2012-07-10 01:23 UTC+0200 Viktor Szakats * src/3rd/tiff/read.c * src/3rd/tiff/tiff.dif ! another correction to local patch 2012-07-10 01:17 UTC+0200 Viktor Szakats * src/3rd/tiff/print.c * src/3rd/tiff/tiff.dif ! typo in local patch 2012-07-10 01:09 UTC+0200 Viktor Szakats * .gitignore * updated after light testing 2012-07-09 22:00 UTC+0200 Viktor Szakats + .gitignore + added .gitignore file. experimental. * utils/hbmk2/hbmk2.prg + -hbx= without parameter will now disable .hbx generation instead of being a noop * minor formatting * contrib/3rd/sqlite3/sqlite3.hbp * contrib/gtalleg/gtalleg.hbm * contrib/gtwvg/gtwvg.hbp * contrib/hbbz2/3rd/bz2/bz2.hbp * contrib/hbexpat/3rd/expat/expat.hbp * contrib/hbhpdf/3rd/libhpdf/libhpdf.hbp * contrib/hbhttpd/hbhttpds.hbp * contrib/hblzf/3rd/liblzf/lzf.hbp * contrib/hbmlzo/3rd/minilzo/minilzo.hbp * contrib/hbmxml/3rd/minixml/mxml.hbp * contrib/hbmzip/3rd/minizip/minizip.hbp * contrib/hbqt/gtqtc/gtqtc.hbm * contrib/hbtip/hbtipssl.hbp * contrib/rddbm/rddbm.hbp * contrib/rddsql/rddsql.hbp * contrib/sddfb/sddfb.hbp * contrib/sddmy/sddmy.hbp * contrib/sddoci/sddoci.hbp * contrib/sddodbc/sddodbc.hbp * contrib/sddpg/sddpg.hbp * contrib/sddsqlt3/sddsqlt3.hbp % make sure not to create .hbx files we're not using anyway * contrib/hbqt/gtqtc/gtqtc.hbp * minor formatting 2012-07-09 18:49 UTC+0200 Viktor Szakats * examples/guestbk/guestbk.htm * examples/guestbk/testcgi.prg * tests/function.cfm * minor updates * lowercased html tags ! deleted broken links 2012-07-09 18:37 UTC+0200 Viktor Szakats * contrib/hbcurl/tests/ftp_uldl.prg ! fixed broken link 2012-07-09 18:19 UTC+0200 Viktor Szakats * bin/hbcommit.hb % minor optimization to prev 2012-07-09 14:09 UTC+0200 Viktor Szakats * bin/hbcommit.hb + convert props change markup properly * INSTALL + src/3rd/tiff + src/3rd/tiff/* + src/3rd/tiff/LICENSE + src/3rd/tiff/Makefile + src/3rd/tiff/tiff.dif * src/3rd/Makefile + added TIFF library. Build tested on win/mingw,msvc,bcc and linux/watcom ; Test and tweak tiffconf.h and/or Makefile further * src/3rd/pcre/pcrebyte.c * src/3rd/pcre/pcrejitc.c * src/3rd/pcre/sjarmth2.c * src/3rd/pcre/sjarmv5.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/sjmipsc.c * src/3rd/pcre/sjppc32.c * src/3rd/pcre/sjppc64.c * src/3rd/pcre/sjppcc.c * src/3rd/pcre/sjutils.c * src/3rd/pcre/sjx8632.c * src/3rd/pcre/sjx8664.c * src/3rd/pcre/sjx86c.c ! deleted svn:keywords prop from non-Harbour files 2012-07-09 00:44 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/hbmk2_qt.hb ! Fixed: to identify and set the object's name. Though it was not doing any harm, but it is a futuristic move where we would be able to retrieve an object given its name. 2012-07-08 10:56 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/hbmk2_qt.hb + Added: few more Qt defined variable types. Miss from prev commit. * contrib/hbqt/qtcore/hbqt_bind.cpp ! Fixed: some more rare cases where GPF on exit was there. ; NOTE: with this commit I feel the new engine is working absolutely fine without GPF's and also along the Harbour way of programming practice. If you find any regression, please report. Till then I concentrate on other parts of HbQt. 2012-07-08 16:17 UTC+0200 Viktor Szakats * INSTALL + Clarified 'stable' vs 'unstable' in HOW TO GET HARBOUR section. 2012-07-07 02:11 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) + contrib/hbqt/qtscript + contrib/hbqt/qtscript/doc + contrib/hbqt/qtscript/doc/en + contrib/hbqt/qtscript/hbqt_init.cpp + contrib/hbqt/qtscript/hbqtscript.ch + contrib/hbqt/qtscript/hbqtscript.hbc + contrib/hbqt/qtscript/hbqtscript.hbm + contrib/hbqt/qtscript/hbqtscript.hbp + contrib/hbqt/qtscript/hbqtscript.hbx + contrib/hbqt/qtscript/hbqtscripts.hbp + contrib/hbqt/qtscript/qth + contrib/hbqt/qtscript/qth/filelist.hbm + contrib/hbqt/qtscript/qth/QScriptable.qth + contrib/hbqt/qtscript/qth/QScriptClass.qth + contrib/hbqt/qtscript/qth/QScriptClassPropertyIterator.qth + contrib/hbqt/qtscript/qth/QScriptContext.qth + contrib/hbqt/qtscript/qth/QScriptContextInfo.qth + contrib/hbqt/qtscript/qth/QScriptEngine.qth + contrib/hbqt/qtscript/qth/QScriptEngineAgent.qth + contrib/hbqt/qtscript/qth/QScriptExtensionPlugin.qth + contrib/hbqt/qtscript/qth/QScriptProgram.qth + contrib/hbqt/qtscript/qth/QScriptString.qth + contrib/hbqt/qtscript/qth/QScriptSyntaxCheckResult.qth + contrib/hbqt/qtscript/qth/QScriptValue.qth + contrib/hbqt/qtscript/qth/QScriptValueIterator.qth + Added: Qt's QtScript Module specific classes. 2012-07-06 23:25 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtsvg/hbqt_init.cpp * contrib/hbqt/qtsvg/hbqtsvg.hbm ! Copy and type fixes. 2012-07-06 23:15 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) + contrib/hbqt/qtmultimedia + contrib/hbqt/qtmultimedia/doc + contrib/hbqt/qtmultimedia/doc/en + contrib/hbqt/qtmultimedia/hbqt_init.cpp + contrib/hbqt/qtmultimedia/hbqtmultimedia.ch + contrib/hbqt/qtmultimedia/hbqtmultimedia.hbc + contrib/hbqt/qtmultimedia/hbqtmultimedia.hbm + contrib/hbqt/qtmultimedia/hbqtmultimedia.hbp + contrib/hbqt/qtmultimedia/hbqtmultimedia.hbx + contrib/hbqt/qtmultimedia/hbqtmultimedias.hbp + contrib/hbqt/qtmultimedia/qth + contrib/hbqt/qtmultimedia/qth/filelist.hbm + contrib/hbqt/qtmultimedia/qth/QAbstractVideoBuffer.qth + contrib/hbqt/qtmultimedia/qth/QAbstractVideoSurface.qth + contrib/hbqt/qtmultimedia/qth/QAudioDeviceInfo.qth + contrib/hbqt/qtmultimedia/qth/QAudioFormat.qth + contrib/hbqt/qtmultimedia/qth/QAudioInput.qth + contrib/hbqt/qtmultimedia/qth/QAudioOutput.qth + contrib/hbqt/qtmultimedia/qth/QVideoFrame.qth + contrib/hbqt/qtmultimedia/qth/QVideoSurfaceFormat.qth + Added: Qt's QtMultimedia Module specific classes. 2012-07-06 17:21 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/hbmk2_qt.hb + Added: casting "const QString &". + contrib/hbqt/qtsvg + contrib/hbqt/qtsvg/doc + contrib/hbqt/qtsvg/doc/en + contrib/hbqt/qtsvg/hbqt_init.cpp + contrib/hbqt/qtsvg/hbqtsvg.ch + contrib/hbqt/qtsvg/hbqtsvg.hbc + contrib/hbqt/qtsvg/hbqtsvg.hbm + contrib/hbqt/qtsvg/hbqtsvg.hbp + contrib/hbqt/qtsvg/hbqtsvg.hbx + contrib/hbqt/qtsvg/hbqtsvgs.hbp + contrib/hbqt/qtsvg/qth + contrib/hbqt/qtsvg/qth/filelist.hbm + contrib/hbqt/qtsvg/qth/QGraphicsSvgItem.qth + contrib/hbqt/qtsvg/qth/QSvgGenerator.qth + contrib/hbqt/qtsvg/qth/QSvgRenderer.qth + contrib/hbqt/qtsvg/qth/QSvgWidget.qth + Added: Qt's QtSvg module specific classes. 2012-07-06 01:08 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) + contrib/hbqt/qtxml + contrib/hbqt/qtxml/doc + contrib/hbqt/qtxml/doc/en + contrib/hbqt/qtxml/hbqt_init.cpp + contrib/hbqt/qtxml/hbqtxml.ch + contrib/hbqt/qtxml/hbqtxml.hbc + contrib/hbqt/qtxml/hbqtxml.hbm + contrib/hbqt/qtxml/hbqtxml.hbp + contrib/hbqt/qtxml/hbqtxml.hbx + contrib/hbqt/qtxml/hbqtxmls.hbp + contrib/hbqt/qtxml/qth + contrib/hbqt/qtxml/qth/filelist.hbm + contrib/hbqt/qtxml/qth/QDomAttr.qth + contrib/hbqt/qtxml/qth/QDomCDATASection.qth + contrib/hbqt/qtxml/qth/QDomComment.qth + contrib/hbqt/qtxml/qth/QDomDocument.qth + contrib/hbqt/qtxml/qth/QDomDocumentFragment.qth + contrib/hbqt/qtxml/qth/QDomDocumentType.qth + contrib/hbqt/qtxml/qth/QDomElement.qth + contrib/hbqt/qtxml/qth/QDomEntity.qth + contrib/hbqt/qtxml/qth/QDomEntityReference.qth + contrib/hbqt/qtxml/qth/QDomImplementation.qth + contrib/hbqt/qtxml/qth/QDomNamedNodeMap.qth + contrib/hbqt/qtxml/qth/QDomNode.qth + contrib/hbqt/qtxml/qth/QDomNodeList.qth + contrib/hbqt/qtxml/qth/QDomNotation.qth + contrib/hbqt/qtxml/qth/QDomProcessingInstruction.qth + contrib/hbqt/qtxml/qth/QDomText.qth + contrib/hbqt/qtxml/qth/QXmlAttributes.qth + contrib/hbqt/qtxml/qth/QXmlContentHandler.qth + contrib/hbqt/qtxml/qth/QXmlDeclHandler.qth + contrib/hbqt/qtxml/qth/QXmlDefaultHandler.qth + contrib/hbqt/qtxml/qth/QXmlDTDHandler.qth + contrib/hbqt/qtxml/qth/QXmlEntityResolver.qth + contrib/hbqt/qtxml/qth/QXmlErrorHandler.qth + contrib/hbqt/qtxml/qth/QXmlInputSource.qth + contrib/hbqt/qtxml/qth/QXmlLexicalHandler.qth + contrib/hbqt/qtxml/qth/QXmlLocator.qth + contrib/hbqt/qtxml/qth/QXmlNamespaceSupport.qth + contrib/hbqt/qtxml/qth/QXmlParseException.qth + contrib/hbqt/qtxml/qth/QXmlReader.qth + contrib/hbqt/qtxml/qth/QXmlSimpleReader.qth + Added: Qt's QtXml module contained classes. 2012-07-05 21:15 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) + contrib/hbqt/qtdeclarative + contrib/hbqt/qtdeclarative/doc + contrib/hbqt/qtdeclarative/doc/en + contrib/hbqt/qtdeclarative/hbqt_init.cpp + contrib/hbqt/qtdeclarative/hbqtdeclarative.ch + contrib/hbqt/qtdeclarative/hbqtdeclarative.hbc + contrib/hbqt/qtdeclarative/hbqtdeclarative.hbm + contrib/hbqt/qtdeclarative/hbqtdeclarative.hbp + contrib/hbqt/qtdeclarative/hbqtdeclarative.hbx + contrib/hbqt/qtdeclarative/hbqtdeclaratives.hbp + contrib/hbqt/qtdeclarative/qth + contrib/hbqt/qtdeclarative/qth/filelist.hbm + contrib/hbqt/qtdeclarative/qth/QDeclarativeComponent.qth + contrib/hbqt/qtdeclarative/qth/QDeclarativeContext.qth + contrib/hbqt/qtdeclarative/qth/QDeclarativeEngine.qth + contrib/hbqt/qtdeclarative/qth/QDeclarativeError.qth + contrib/hbqt/qtdeclarative/qth/QDeclarativeExpression.qth + contrib/hbqt/qtdeclarative/qth/QDeclarativeImageProvider.qth + contrib/hbqt/qtdeclarative/qth/QDeclarativeItem.qth + contrib/hbqt/qtdeclarative/qth/QDeclarativeListReference.qth + contrib/hbqt/qtdeclarative/qth/QDeclarativeParserStatus.qth + contrib/hbqt/qtdeclarative/qth/QDeclarativeProperty.qth + contrib/hbqt/qtdeclarative/qth/QDeclarativePropertyMap.qth + contrib/hbqt/qtdeclarative/qth/QDeclarativePropertyValueSource.qth + contrib/hbqt/qtdeclarative/qth/QDeclarativeScriptString.qth + contrib/hbqt/qtdeclarative/qth/QDeclarativeView.qth + Added: Qt's QtDeclrative module specifc classes. * contrib/hbqt/qtgui/qth/filelist.hbm - Removed: QDeclrative*.qth classes. - contrib/hbqt/qtgui/qth/QDeclarativeComponent.qth - contrib/hbqt/qtgui/qth/QDeclarativeContext.qth - contrib/hbqt/qtgui/qth/QDeclarativeEngine.qth - contrib/hbqt/qtgui/qth/QDeclarativeError.qth - contrib/hbqt/qtgui/qth/QDeclarativeExpression.qth - contrib/hbqt/qtgui/qth/QDeclarativeImageProvider.qth - contrib/hbqt/qtgui/qth/QDeclarativeItem.qth - contrib/hbqt/qtgui/qth/QDeclarativeListReference.qth - contrib/hbqt/qtgui/qth/QDeclarativeParserStatus.qth - contrib/hbqt/qtgui/qth/QDeclarativeProperty.qth - contrib/hbqt/qtgui/qth/QDeclarativePropertyMap.qth - contrib/hbqt/qtgui/qth/QDeclarativePropertyValueSource.qth - contrib/hbqt/qtgui/qth/QDeclarativeScriptString.qth - contrib/hbqt/qtgui/qth/QDeclarativeView.qth - Moved: QDeclarative module specific files in <qtdeclarative> folder. This effectively in line with Harbour's quest TO maintain modularity. 2012-07-05 10:54 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/hbqt_hbqsyntaxhighlighter.cpp ! Fixed: QRegExpression - patternQuotation - which was displaying more than one per line string literals wrongly. Patch provided by Grzegorz on users-list, thanks. 2012-07-05 12:47 UTC+0200 Viktor Szakats * doc/en/sayget.txt * doc/en/set.txt * doc/en/setmode.txt * doc/en/string.txt * doc/en/subcodes.txt ! More spelling. by Alexey Myronenko 2012-07-05 01:00 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/idebrowse.prg * contrib/hbide/ideconsole.prg * contrib/hbide/idedocks.prg ! Fixed: some regressions plus releasing objects no longer required during execution of HbIDE. * contrib/hbqt/gtqtc/gtqtc.cpp ! Fixed: a regression caused by latest changes i HbQt. 2012-07-05 00:43 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) + contrib/hbqt/qtopengl + contrib/hbqt/qtopengl/doc + contrib/hbqt/qtopengl/doc/en + contrib/hbqt/qtopengl/hbqt_init.cpp + contrib/hbqt/qtopengl/hbqtopengl.ch + contrib/hbqt/qtopengl/hbqtopengl.hbc + contrib/hbqt/qtopengl/hbqtopengl.hbm + contrib/hbqt/qtopengl/hbqtopengl.hbp + contrib/hbqt/qtopengl/hbqtopengl.hbx + contrib/hbqt/qtopengl/hbqtopengls.hbp + contrib/hbqt/qtopengl/qth + contrib/hbqt/qtopengl/qth/filelist.hbm + contrib/hbqt/qtopengl/qth/QGL.qth + contrib/hbqt/qtopengl/qth/QGLBuffer.qth + contrib/hbqt/qtopengl/qth/QGLColormap.qth + contrib/hbqt/qtopengl/qth/QGLContext.qth + contrib/hbqt/qtopengl/qth/QGLFormat.qth + contrib/hbqt/qtopengl/qth/QGLFramebufferObject.qth + contrib/hbqt/qtopengl/qth/QGLFramebufferObjectFormat.qth + contrib/hbqt/qtopengl/qth/QGLFunctions.qth + contrib/hbqt/qtopengl/qth/QGLPixelBuffer.qth + contrib/hbqt/qtopengl/qth/QGLShader.qth + contrib/hbqt/qtopengl/qth/QGLShaderProgram.qth + contrib/hbqt/qtopengl/qth/QGLWidget.qth + Added: QtOpenGL module contained classes. * contrib/hbqt/hbmk2_qt.hb ! Tuned to adopt some new constants used in QtOpenGL module. 2012-07-04 15:14 UTC+0200 Viktor Szakats * doc/en/compiler.txt * doc/en/var.txt ! minor fixes in $EXAMPLES$/$TESTS$ 2012-07-04 12:59 UTC+0200 Tamas TEVESZ (ice extreme.hu) * contrib/xhb/filestat.c ! Use consistent conditions as the rest of the code 2012-07-04 12:43 UTC+0200 Viktor Szakats * doc/en/set.txt * doc/en/string.txt * doc/en/terminal.txt ! minors * examples/hbdoc/genhtml.prg ! ugly fix to keep indentation for $EXAMPLES$ and $TESTS$ sections in html output * examples/hbdoc/hbdoc.prg * formal updates 2012-07-04 11:57 UTC+0200 Viktor Szakats * examples/hbdoc/hbdoc.prg * use hash literal instead of hb_hash() 2012-07-04 11:41 UTC+0200 Viktor Szakats * examples/hbdoc/genhtml.prg * examples/hbdoc/hbdoc.prg * examples/hbdoc/tmplates.prg * formal updates 2012-07-04 02:28 UTC+0200 Viktor Szakats * contrib/hbgd/tests/barms.prg * contrib/hbgd/tests/bartest.prg * contrib/hbqt/qtgui/hbqtgui.ch * contrib/hbqt/tests/dbfbrowserclass.prg * contrib/hbunix/daemon.c ! tabs converted to spaces 2012-07-04 02:06 UTC+0200 Viktor Szakats * examples/gfspell/spell.prg * examples/gfspell/spellc.c * tabs converted to spaces (multiple tab widths inside one file) ! silenced two kinds of gcc warnings * examples/hbdoc/hbdoc.prg * formatting 2012-07-04 00:23 UTC+0200 Viktor Szakats * examples/hbdoc/genhtml.prg * examples/hbdoc/hbdoc.prg ! minor fixes * minor updates * using Left() and Right() 2012-07-03 22:25 UTC+0200 Viktor Szakats * doc/en/memvar2.txt * doc/en/menu.txt * doc/en/misc.txt * doc/en/nation.txt * doc/en/objfunc.txt * doc/en/rdddb.txt * doc/en/rddmisc.txt * doc/en/rddord.txt * doc/en/sayget.txt * doc/en/set.txt * doc/en/string.txt * doc/en/tbrowse.txt * doc/en/tclass.txt * doc/en/terminal.txt * doc/en/tgetlist.txt * doc/en/tlabel.txt * doc/en/treport.txt * doc/en/var.txt ! further fixes in $EXAMPLES$ sections 2012-07-03 13:14 UTC+0200 Viktor Szakats * 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/eval.txt * doc/en/garbage.txt * doc/en/gtslang.txt * doc/en/hashes.txt * doc/en/hb_api.txt * doc/en/hb_apier.txt * doc/en/hb_apigt.txt * doc/en/hb_apiit.txt * doc/en/hb_apiln.txt * doc/en/hb_apird.txt * doc/en/hb_compa.txt * doc/en/hb_date.txt * doc/en/hb_macro.txt * doc/en/hb_set.txt * doc/en/hb_vm.txt * doc/en/idle.txt * doc/en/input.txt * doc/en/lang.txt * doc/en/macro.txt * doc/en/math.txt * doc/en/memo.txt * doc/en/memvar2.txt * doc/en/misc.txt * doc/en/string.txt * doc/en/var.txt * fixes in $EXAMPLES$ sections * doc/en/*.txt * set mime-type to UTF-8 2012-07-03 11:32 UTC+0200 Viktor Szakats * doc/en/file.txt ! Spelling. by Alexey Myronenko ! some more * doc/en/array.txt * doc/en/binnum.txt * doc/en/browse.txt * formatted $EXAMPLES$ * made $EXAMPLES$ unicode-ready 2012-07-03 10:03 UTC+0200 Viktor Szakats * doc/en/file.txt ! Examples for FOPEN, FCREATE, DELETE FILE are corrected, filenarne to filename changed by Alexey Myronenko * doc/en/file.txt ! All $EXAMPLES$ sections fixed to use correct coding style and formatting 2012-07-02 22:19 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtcore/hbqt_bind.cpp % Optimized: hbqt_bindDestroyQtObject(). This might resolve double-freeing of objects on Linux. * contrib/hbqt/tests/demoqt.prg + Enabled: Build_Tree() function. 2012-07-02 16:01 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/qth/QTreeWidgetItem.qth ! Fixed: regression as per prev commit. QTreeWidgetItem() can receive another QTreeWidgetItem as its child and hence is subject to not destroy Qt object by Harbour. * contrib/hbqt/tests/browqt.prg + Enabled: Build_TreeView() which was causing GPF on exit, a result of above fix. 2012-07-02 17:01 UTC+0200 Viktor Szakats * doc/en/file.txt ! Double DIRCHANGE removed and 'he' to 'be' changed. by Alexey Myronenko 2012-07-02 11:46 UTC+0200 Viktor Szakats * contrib/hbtinymt/tests/test64.prg ! typo in test description 2012-07-02 02:14 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/qth/QBoxLayout.qth * contrib/hbqt/qtgui/qth/QComboBox.qth * contrib/hbqt/qtgui/qth/QDirModel.qth * contrib/hbqt/qtgui/qth/QDockWidget.qth * contrib/hbqt/qtgui/qth/QDrag.qth * contrib/hbqt/qtgui/qth/QGraphicsScene.qth * contrib/hbqt/qtgui/qth/QGridLayout.qth * contrib/hbqt/qtgui/qth/QLayout.qth * contrib/hbqt/qtgui/qth/QMainWindow.qth * contrib/hbqt/qtgui/qth/QMenu.qth * contrib/hbqt/qtgui/qth/QMenuBar.qth * contrib/hbqt/qtgui/qth/QScrollArea.qth * contrib/hbqt/qtgui/qth/QStandardItemModel.qth * contrib/hbqt/qtgui/qth/QStatusBar.qth * contrib/hbqt/qtgui/qth/QTabWidget.qth * contrib/hbqt/qtgui/qth/QToolBar.qth * contrib/hbqt/qtgui/qth/QTreeWidgetItem.qth * contrib/hbqt/qtgui/qth/QWidget.qth % Replaced: [*D=n*] => [*X=n*] except for QTreeWidget/QListWidget/QTableWidget as per the change in core engine where deletion of a Qt object is entirely thought of on new grounds. * contrib/hbqt/tests/demoqt.prg ! Optimizations and removal of redundant code. * contrib/hbqt/qtcore/hbqt.h * contrib/hbqt/qtcore/hbqt_bind.cpp * contrib/hbqt/qtcore/hbqt_destroyer.cpp * contrib/hbqt/qtcore/hbqt_destroyer.h + Overhauled: the Qt object destruction protocol. This commit is the result of two weeks intensive debugging spree. This commits now handles MT applications better then before. This commit also covers the mem leaks evident for certain widgets. WARNING: regression is possible, please report. 2012-07-01 00:42 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/hbmk2_qt.hb + Implemented: some missing functionality which seemed not possible at the time this tool was developed. Now very rich interfaces created by Qt Creator can be deployed in an Harbour application. Alain's report on users-group led to this maturity. 2012-06-29 19:43 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/qth/QImage.qth + Added: few static member functions. 2012-06-29 14:06 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/hbqtgui.ch + Added: remaining QPalette_* constants. 2012-06-29 19:49 UTC+0200 Viktor Szakats * contrib/hbtinymt/tests/test32.prg * contrib/hbtinymt/tests/test64.prg % simplified ! minor fixes 2012-06-29 19:37 UTC+0200 Viktor Szakats + contrib/hbtinymt/tests/test64.prg ! another missing file. ; FIXME: 64-bit supposedly unsigned numbers are returned with signs * contrib/hbtinymt/tests/test32.prg + added #require to make it run as script 2012-06-29 17:17 UTC+0200 Viktor Szakats * contrib/hbtinymt/core64.c ! type fixes * contrib/hbtinymt/3rd/tinymt/tinymt.dif * contrib/hbtinymt/3rd/tinymt/tinymt64.h * msvc warning silenced 2012-06-29 16:31 UTC+0200 Viktor Szakats * contrib/hbtinymt/core32.c ! applied patch received from Andi. Thank you. + contrib/hbtinymt/core64.c ! missing file from previous commit 2012-06-29 14:31 UTC+0200 Viktor Szakats * contrib/hbqt/tests/harbour-icon.png * contrib/hbqt/tests/harbour-logo.png * contrib/hbqt/tests/open.png * contrib/hbqt/tests/save.png % optimized images using ImageOptim (https://imageoptim.com/) 2012-06-29 13:21 UTC+0200 Viktor Szakats * examples/hbdoc/hbdoc.css ! minor in comment 2012-06-29 12:19 UTC+0200 Viktor Szakats + contrib/hbtinymt + contrib/hbtinymt/3rd + contrib/hbtinymt/3rd/tinymt + 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/tinymt.hbx + 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/core.c + contrib/hbtinymt/hbtinymt.hbc + contrib/hbtinymt/hbtinymt.hbp + contrib/hbtinymt/hbtinymt.hbx + contrib/hbtinymt/tests + contrib/hbtinymt/tests/hbmk.hbm + contrib/hbtinymt/tests/test32.prg + contrib/hbtinymt/tests/test64.prg * contrib/hbplist * INSTALL + hbtinymt and 3rd party dependency tinymt added. hbtinymt is borrowed from xhb with my additions and fixes: MT support, type fixes, redone 3rd party dependency and tinymt patch, Harbour make files, formatting, enabled 64-bit flavor of tinymt, implemented HB_TINYMT32_GENERATE_FLOAT01(), implemented wrappers for 64-bit tinymt API, added tests for new functions. 2012-06-29 02:59 UTC+0200 Viktor Szakats * src/rtl/gtwvt/gtwvt.c * using TEXT( '\0' ) instead of 0 * src/rtl/run.c * using contants instead of literals 2012-06-28 12:30 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbxbp/xbpfiledialog.prg ! Fix: to prev fix. I must test all scenarios before committing!!! 2012-06-28 12:14 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbxbp/xbpfiledialog.prg ! Fixed: memory leak. Please read previously documented here how a child can be destroyed properly with a temp parent. 2012-06-28 11:56 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbxbp/xbpfiledialog.prg ! Fixed: a regression where QApplication():focusWidget() was returned as a NIL instead of QWidget. 2012-06-28 11:25 UTC+0200 Viktor Szakats * doc/dirstruc.txt * updated * made little easier to maintain 2012-06-27 23:08 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtcore/qth/QTimer.qth ! Removed: :singleShot() method as it cannot be implemented as per documented because of how signal/slots are implemented in Harbour. Instead, use code like this ( courtesy Ligui ): ::oQtSingleShot := QTimer( ::oQtObject ) ::oQtSingleShot:setSingleShot( .T. ) ::oQtSingleShot:setInterval( 0 ) ::oQtSingleShot:connect( "timeout()", { || ::__OnReadyExec() } ) ::oQtSingleShot:start() 2012-06-27 12:49 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! fixed similar regression as in 2012-06-27 10:35 UTC+0200 but for hbrun 2012-06-27 11:06 UTC+0200 Viktor Szakats * examples/hbdoc/hbdoc.prg * one remaining ? convert to OUTSTD() 2012-06-27 10:35 UTC+0200 Viktor Szakats + examples/hbdoc/hbdoc.css * examples/hbdoc/genhtml.prg * examples/hbdoc/hbdoc.prg * examples/hbdoc/tmplates.prg % avoid simpleio.ch * moved CSS code to separate file * renamed CSS file to hbdoc.css ! further unicode fix for html/xml outputs * utils/hbmk2/hbmk2.prg ! fixed recent regression 2012-06-27 10:20 UTC+0200 Viktor Szakats * examples/hbdoc/genhtml.prg * write well-formatted CSS code * examples/hbdoc/hbdoc.ch * examples/hbdoc/hbdoc.prg * examples/hbdoc/tmplates.prg % eliminated one PUBLIC var 2012-06-27 00:22 UTC+0200 Viktor Szakats + examples/hbdoc/genbase.prg - examples/hbdoc/gentpl.prg * examples/hbdoc/genhtml.prg * examples/hbdoc/hbdoc.hbp * examples/hbdoc/hbdoc.prg * further cleanups 2012-06-27 00:09 UTC+0200 Viktor Szakats * examples/hbdoc/genhtml.prg * examples/hbdoc/gentpl.prg * examples/hbdoc/gentxt.prg * examples/hbdoc/genxml.prg * examples/hbdoc/hbdoc.prg * examples/hbdoc/tmplates.prg % cleanups and formatting + added support for UTF8 HVM CP + enabled UTF8 HVM CP. it means that now input files can really be UTF8 ones. 2012-06-26 22:44 UTC+0200 Viktor Szakats * contrib/xhb/xhberr.prg ! typo in prev commit 2012-06-26 20:37 UTC+0200 Viktor Szakats * contrib/xhb/tfile.prg * contrib/xhb/ttable.prg * contrib/xhb/xhberr.prg * contrib/xhb/xhbtedit.prg ! unicode compatibility patches. build tested only. review me and continue. * examples/hbdoc/genhtml.prg * examples/hbdoc/hbdoc.prg ! fixed regression from 2012-06-11 15:31 UTC+0200 + changed to generate HTML5 compliant HTML output 2012-06-26 18:29 UTC+0200 Viktor Szakats * TODO - deleted unicode support from TODO list. Now implemented in core and contribs. (except: hbnf, xhb, hbide, hbxbp, gtwvg) 2012-06-26 15:54 UTC+0200 Viktor Szakats * contrib/sddmy/tests/test1.prg * contrib/sddoci/tests/test1.prg * contrib/sddodbc/tests/test1.prg * contrib/sddodbc/tests/test2.prg * contrib/sddsqlt3/tests/test1.prg * formatting 2012-06-26 11:19 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg % use HBMK_IS_IN() where possible 2012-06-26 11:09 UTC+0200 Viktor Szakats * INSTALL * minor update * utils/hbmk2/hbmk2.prg * make sure to convert script parameter to native pathseps 2012-06-25 09:52 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtcore/hbqt_hbqevents.cpp ! Fixed: a heavy memory leak and optimization in event handelling. 2012-06-25 12:09 UTC+0200 Viktor Szakats * contrib/xhb/decode.prg * contrib/xhb/dumpvar.prg * contrib/xhb/hbcompat.ch * contrib/xhb/regexrpl.prg % using HB_IS*() functions. * formatting 2012-06-23 10:53 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/hbmk2_qt.hb ! Fixed: to handle QList<Q*object> implementation. * contrib/hbqt/qtcore/qth/QMimeData.qth - Deleted: Harbour specific hbUrls() method not needed now. 2012-06-23 03:42 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtcore/hbqt_bind.cpp ! Simplified: hbqt_bindDestroyHbObject/QtObject. 2012-06-22 21:46 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/qth/QClipboard.qth ! Fixed: constructor respecting previous commit. 2012-06-22 15:09 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/hbmk2_qt.hb ! Optimized to not add code for constructors which do not have Qt objects. Results can be viewed in QLibraryInfo.cpp. 2012-06-22 12:47 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/hbmk2_qt.hb * contrib/hbqt/qtcore/hbqt.h * contrib/hbqt/qtcore/hbqt_init.cpp - Removed: a hack introduced some months back where C++ static items were held in a list them released at exit of an application. This was double work and now is not needed at all. * contrib/hbqt/qtcore/hbqt_bind.cpp - Reverted: last fix where <qtObject> was compared against a numeric, which, BTW was a stupid implementation. A pointer casted to a numeric is always true. * contrib/hbqt/qtgui/hbqt_init.cpp - Deleted: deleting the QApplication object. It was breaking such code: oWnd:connect( QEvent_Close, {|| QApplication():quit() } ) QApplication():exec() the reason was any code executed after QApplication():quit() was rendered unexcutable because appln was forced to stop execution. * contrib/hbqt/qtcore/hbqt_hbqevents.cpp + Reintroduced: QEvent_Close's return value to true. It is necessary to intercept this event at appln level. * contrib/hbqt/qtcore/qth/QLibraryInfo.qth * contrib/hbqt/qtgui/qth/QDesktopServices.qth + Reworked: constructors. Previous implementation was wrong. Applied Francesco's thought and it worked, thanks. * contrib/hbqt/qtgui/qth/QSound.qth + Added: two slot methods. 2012-06-22 19:39 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg * minor cleanup (var renamed) 2012-06-22 19:36 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg % consolidated/updated TODO comments ! fixed and optimized _HBMK_EMBEDDED_ build mode 2012-06-22 19:25 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.hbp * utils/hbmk2/hbmk2.prg * utils/hbmk2/Makefile * minor changes to do not require std.ch + enabled -u option for hbmk2 source code. 2012-06-22 19:17 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg * avoiding some language elements/minor optimizations 2012-06-22 15:59 UTC+0200 Viktor Szakats * src/3rd/png/Makefile * src/3rd/png/* * updated to 1.5.11 (from 1.5.10) using 3rdpatch.hb 2012-06-21 22:43 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/idedocks.prg ! Fixed: one more QIcon() regression, though not used. * contrib/hbqt/qtcore/hbqt_hbqslots.cpp ! Fixed: to pass correct class name for some type of slots <pList> in constructors. 2012-06-21 12:22 UTC+0200 Viktor Szakats + tests/ipclnt.prg + tests/ipsvr.prg + added IP client/server example from Alex Strickland 2012-06-20 19:57 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtcore/hbqt_bind.cpp ! Organized: tracelog entries. * contrib/hbqt/qtgui/THbQtUI.prg - Deleted: DESTRUCTOR _destroy(). 2012-06-20 18:44 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtcore/qth/QDataStream.qth * contrib/hbqt/qtcore/qth/QEventLoop.qth * contrib/hbqt/qtcore/qth/QResource.qth * contrib/hbqt/qtcore/qth/QSettings.qth * contrib/hbqt/qtgui/qth/QCompleter.qth * contrib/hbqt/qtgui/qth/QFontDialog.qth * contrib/hbqt/qtgui/qth/QFontMetrics.qth * contrib/hbqt/qtgui/qth/QFontMetricsF.qth * contrib/hbqt/qtgui/qth/QGraphicsLinearLayout.qth * contrib/hbqt/qtgui/qth/QGraphicsProxyWidget.qth * contrib/hbqt/qtgui/qth/QGraphicsView.qth * contrib/hbqt/qtgui/qth/QSlider.qth * contrib/hbqt/qtgui/qth/QSystemTrayIcon.qth * contrib/hbqt/qtgui/qth/QWindowStateChangeEvent.qth ! Fixed: wrong "else if" in constructors. Now all classes has been scanned for this regression. Please report if you find something weired still. 2012-06-20 17:27 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtcore/hbqt_bind.cpp * contrib/hbqt/qtcore/qth/QLibraryInfo.qth * contrib/hbqt/qtgui/qth/QDesktopServices.qth ! Implemented: mechanism to generate a Harbour level class without the need of a Qt level object for those classes where methods are executed by Qt code only. This fixes the bug issue reported by Ligui. 2012-06-20 16:30 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtcore/hbqt_bind.cpp * contrib/hbqt/qtcore/hbqt_misc.prg + Implemented: DESTRUCTOR FUNCTION <somePrgOrCFunc()> * contrib/hbqt/qtgui/hbqt_init.cpp * contrib/hbqt/qtcore/hbqt_init.cpp ! Fixed: some rare signals issued by Qt with NULL pointers. This fixes regression reported on user-list a few days back. And probably fixes many-many unexplained GPF's. 2012-06-20 19:02 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg * marked the file as UTF8 * added accent to my own name. let's see on which platforms and configs it appears alright (second "a" should appear with an acute accent: "a'") [ms-dos and OS/2 is not expected to work] 2012-06-20 17:13 UTC+0200 Viktor Szakats * INSTALL % tuned to not require regular updates when new versions of certain linked products are release (ie. deleted latest version specific links and references) 2012-06-20 07:55 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/qth/QDateEdit.qth * contrib/hbqt/qtgui/qth/QDateTimeEdit.qth * contrib/hbqt/qtgui/qth/QTimeEdit.qth ! Fixed: wrong "else if" in constructors. 2012-06-20 07:32 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/idebrowse.prg * contrib/hbide/idedocks.prg * contrib/hbide/ideeditor.prg * contrib/hbide/ideharbourhelp.prg * contrib/hbide/idehome.prg * contrib/hbide/ideshortcuts.prg * contrib/hbide/idesources.prg * contrib/hbide/idetools.prg * contrib/hbide/idewizard.prg ! Fixed: remaining QIcon() specific regression. 2012-06-20 15:17 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/include/hbclass.ch + added support for DESTRUCTOR FUNCTION <FuncName>[()] in class declaration. It allows to define as object destructors external functions, i.e. defined in C 2012-06-20 13:02 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/src/rtl/valtype.c * harbour/include/harbour.hbx + added new PRG function HB_ISEVALITEM() It returns true if item can be evaluated by EVAL() function, i.e. for codeblocks and function symbols. In the future it can be extended to accept objects with :EVAL() methods. 2012-06-20 09:27 UTC+0200 Viktor Szakats * config/os2/watcom.mk ! same RC fix for os2 2012-06-19 21:29 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtcore/hbqt_bind.cpp + Implemented: Events, Slots, Destroyers on thread level. Previously those were created per object level. This greatly decreased the os-resource count and also simplifies the code. Thanks to Przemek for the tip. + Implemented: release of all objects per thread level. hbQT employs internal counter to identify threads. All widgets are created in one global list which has made it possible to use Qt's blocking widgets, like QMessageBox, in Harbour MT applications. It seems that Qt looks for the event processing only in main appln thread and hence these widgets were not usable in other threads. The testbed is hbqt/tests/demoqt.prg which is now multithreaded. You check it with menu option <Dialog><Another Dialog>. + Formatting: in tracelog entries. * contrib/hbqt/qtcore/hbqt_hbqevents.cpp - Commented out: a hack where QClosEvent was being treated differently then other events. * contrib/hbqt/tests/demoqt.prg * Parented: QMessageBox() ( Read below ) * contrib/hbide/idedocks.prg - Removed: one hack which at begining was there to activate QMainWindow's docking area resizable. * contrib/hbide/idemain.prg + Changed: ::cWrkCodec to be "EN" by default. It fixes recent regression in hbIDE for certain users. * contrib/hbide/idemisc.prg * Parented: QMessageBox() should always be constructed with a parent because of special handelling of blocking dialog where parent is treated slightly different than other Qt widgets. This fixes a long-standing bug in hbIDE where appnl was rendered in indefinite loop when "X" button was employed to terminate and confirm dialog would not be terminated internally. So for QMessageBox() and, to be on the safer side, all widets derived from QDialog() should be constructed with a parent and at the end be reparented with a just-to-be-deleted-QWidget(), like: oMB := QMessageBox( oParent ) ... oMB:setParent( QWidget() ) RETURN something 2012-06-19 16:24 UTC+0200 Viktor Szakats * config/win/watcom.mk ! fixed RC compilation for watcom 2012-06-19 14:29 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg * deleted all remaining "hbmk2" occurrences from comments 2012-06-19 12:21 UTC+0200 Viktor Szakats + contrib/hbsqlit3/tests/pngtest.png ! added missing file for test code * contrib/hbsqlit3/tests/authoriz.prg * contrib/hbsqlit3/tests/blob.prg * formatting 2012-06-19 08:14 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/src/common/hbffind.c * ulAttr -> nAttr + added support for softlinks in * nix systems. Now they are reported with "L" attribute by directory() function. This modification also fixes directory scanning interrupted by dummy softlinks. * harbour/contrib/xhb/dirrec.prg ! fixed double added extension to file mask 2012-06-18 18:29 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtcore/hbqt_bind.cpp + Added: static HB_CRITICAL_NEW( s_qtMtx ); and parts. + Tuned: compilable with or without TSD protocol. To turn on TSD protocol, change __HBQT_WITH_MT_SUPPORT__NO => __HBQT_WITH_MT_SUPPORT__ 2012-06-18 21:12 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg - do not include Harbour bin dir in linker libpath on non-*nix systems. In could cause some compilers (e.g. mingw) to link to .dlls stored there (e.g. 3rd party dynamic dlls enabled with HB_INSTALL_3RDDYN), not letting user supplied libpaths to kick in. If you for some reason want to include Harbour bin dir in libpath, use: -L${HB_LIB} option, or to include dynamic lib dir (emulating old behavior on non-*nix), use -L${HB_DYN} ! fixed -env option processing after 2012-06-14 12:01 UTC+0200 2012-06-18 20:06 UTC+0200 Viktor Szakats * INSTALL + use win-make in primary build example except mingw32-make, change wording a little % tweaked information about large attachment in HOW TO PARTICIPATE section 2012-06-18 09:37 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtcore/hbqtcore.hbx * contrib/hbqt/qtgui/hbqtgui.hbx + Restored. 2012-06-18 17:33 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/include/dbinfo.ch * harbour/src/rdd/dbf1.c + added new dbFieldInfo() actions: DBS_COUNTER - get/set autoincrement field counter DBS_STEP - get/set autoincrement field step * reset autoincrement and row version fields in ZAP operation 2012-06-18 15:32 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/src/3rd/pcre/Makefile * disabled JIT support in default builds. It fixes build process for platforms which do not support MT mode like some old Linux distors. I also made runtime tests with some simple expressions and on x86 based CPUs the difference is really minor. PCRE compiled with JIT is a little bit faster in regex compilation (~5%) but slower in regex evaluation (10%). AFAIR completely different results then suggested by documentation. For tests I used rather simple expression on small data set: cData := hb_TSToStr( hb_datetime() ) cExp := "[:]([a-zA-Z]|[0-9])[0-9][:]..[.]" But such short expressions and data are quite common in real programs. If someone wants to enable JIT in his build then he can make it using SUPPORT_JIT macro, i.e.: export HB_USER_CFLAGS=-DSUPPORT_JIT 2012-06-18 12:49 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg * made --hbinfo to return information only for the top project (not nested ones) This should fix regression of not generating .hbx files for the hbqt special case since 2012-06-06 16:02 UTC+0200 + added --hbinfo=nested to return information also on nested projects + --hbinfo will now append an 0x0A byte after each JSON block, so multiple JSON blocks can be parsed by the caller * contrib/hbqt/hbqt_commons.hbm * changed to be friendly with '--hbinfo=nested' hbmk2 option (not used in Harbour make process) 2012-06-18 11:29 UTC+0200 Viktor Szakats * contrib/make.hb * deleted few old TODOs * src/rtl/cdpdet.prg ! updated to not give fatal warnings on msdos and os2 2012-06-18 00:42 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtcore/hbqt_bind.cpp * contrib/hbqt/qtcore/hbqt_hbqevents.cpp * contrib/hbqt/qtcore/hbqt_hbqslots.cpp * contrib/hbqt/qtcore/hbqt_init.cpp * contrib/hbqt/qtcore/hbqt_misc.prg * contrib/hbqt/qtcore/qth/filelist.hbm - contrib/hbqt/qtcore/qth/HBQEvents.qth + Implemented: __pEvents transferred from PRG to C++ level. 2012-06-18 02:53 UTC+0200 Viktor Szakats * contrib/hbtip/encqp.prg * contrib/hbtip/mail.prg * contrib/hbtip/smtpcli.prg ! UTF8 HVM CP fixes * contrib/hbqt/qtcore/hbqtcore.hbx * contrib/hbqt/qtgui/hbqtgui.hbx * blanked these two broken files. HBQT devs should regenerate them. 2012-06-17 11:40 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtcore/hbqt_hbqslots.cpp ! Fixed: build breaker header inculsion. 2012-06-17 10:10 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtcore/hbqt.h * contrib/hbqt/qtcore/hbqt_bind.cpp * contrib/hbqt/qtcore/hbqt_hbqevents.cpp * contrib/hbqt/qtcore/hbqt_hbqslots.cpp * contrib/hbqt/qtcore/hbqt_misc.prg * contrib/hbqt/qtcore/hbqt_pointer.cpp + Implemented: __pSlots brought from PRG to C++ greatly reducing Harbour GC variables. ; The above implementation is forwarded by Francesco Perillo, thanks. + Implemented: better MT functionality. * contrib/hbqt/qtgui/hbqtgui.h * contrib/hbqt/qtcore/hbqtcore.h - Cleanup: redundant constants. - contrib/hbqt/qtcore/qth/HBQSlots.qth * contrib/hbqt/qtcore/qth/filelist.hbm - Removed: HBQSlots.qth ; DONE: bring __pEvents to C++. 2012-06-17 16:08 UTC+0200 Viktor Szakats * contrib/hbamf/amfenc.c * contrib/hbamf/hbamf.hbx * contrib/hbamf/hbamfobj.prg * contrib/hbamf/readme.txt + applied Aleksander Czajczynski's patch for a missing class. Thank you very much, I didn't have to touch it, only autoupdate the .hbx file. 2012-06-17 15:59 UTC+0200 Viktor Szakats * contrib/hbrun/hbrun.hbp * utils/hbmk2/hbmk2.hbp * utils/hbmk2/Makefile * package/mpkg_win.nsi * package/winuni/mpkg_win_uni.nsi ; trying to crawl out from this pool of dynamic mud. * enabled all embedded headers for both hbmk2 and hbrun so we're back to square one with this, except that now hbmk2 also holds the full set of core headers not just a minimal selection. The reason is to keep hbmk2 as the distributable runner tool. It also syncs all C compilers and platforms. * hbmk2 built in -static mode again. It will fix the 'make clean' problem, it will make it distributable. * hbrun changed to be built in -shared mode to allow to load dynamic modules. ; so this is the state right now (if I didn't make any mistake): hbmk2: all embedded core headers no contrib modules static build no dynamic modules fully movable/distributable as a runner cannot be self-registered as .hb runner on Windows hbrun: all embedded core headers some contrib modules shared build when HB_BUILD_CONTRIB_DYN enabled dynamic modules possible less movable/distributable, needs harbour dll, dynamic modules need Harbour dir layout can be self-registered as .hb runner on Windows ; "Ext:" banner on interactive shell will have blue color if dynamic modules are enabled and grey if not. * utils/hbmk2/hbmk2.prg * minor change to show the actual name of the tool in the error message requesting a -shared build. 2012-06-17 14:49 UTC+0200 Viktor Szakats * contrib/rddads/ads1.c * contrib/rddads/adsfunc.c * contrib/rddads/adsx.c * src/common/hbfsapi.c ! deleted explicit newlines at EOL in HB_TRACE() calls * INSTALL + added new '0. GUARANTEES AND LIABILITY' section ! updated instructions to create debug build * utils/hbmk2/hbmk2.prg * minor cleanups * utils/hbmk2/Makefile + enabled dynamic version of hbmk2 only for mingw builds. Rest of the targets may or may not work due to CRTL usage (fprintf()) from HB_COMPILE*() calls which causes GPF in currently generated shared builds, most probably due to double copy of statically linked CRTL code. mingw uses MSVCRT.DLL, so it's not prone to this. Solution is either to avoid file handling CRTL calls in compiler code, or to tweak -shared build setting to death to make it work for all non-mingw compilers. Both of these is very difficult. This means that dynamic module loading from scripts will only work in hbmk2 built with mingw. ; FIXME: 'make clean' on contribs doesn't work with mingw, because harbour dll is deleted before hbmk2 is called, so it cannot be started for cleanup. [DONE] 2012-06-17 11:41 UTC+0200 Viktor Szakats * contrib/hbtip/encoder.prg * contrib/hbtip/encqp.prg % use hb_default() * contrib/hbtip/encqp.prg ! fixed RTE when using TIPEncoderQP class from a dynamically loaded hbtip. It has been reported long time ago, so now I hacked a local solution which simply removes inherition from this class, which works around the problem. Hopefully the core can get the fixes to allow derived classes to be used from dynamic libs and this can be reverted. In this case only one variable was inherited, so it was easy to do. BTW I was trying to use hb_MailAssemble() from a script which triggered this. FIXME: Self contained example (tested on win/mingw): --- hbmk2 test.hb #require "hbtip" PROCEDURE Main() TIPEncoderBase64():New() --- -> Error BASE/3003 Cannot find super class 'TIPENCODER': __CLSINSTSUPER Called from __CLSINSTSUPER(0) Called from HBCLASS:CREATE(0) Called from TIPENCODERBASE64(0) --- [DONE] 2012-06-17 11:23 UTC+0200 Viktor Szakats * contrib/hbtip/encqp.prg * contrib/hbtip/hbtip.hbx + added two new functions: TIP_QPENCODE(), TIP_QPDECODE() formerly only accessible via OOP code * utils/hbmk2/hbmk2.prg % merged FindInPath() and __hbshell_FindInPath() into one 2012-06-16 18:06 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbxbp/xbpdialog.prg + Added: Main application windows object name as "PleseDoNotDelete" * contrib/hbxbp/xbplistbox.prg - Removed: traces from prev commit. * contrib/hbqt/qtcore/hbqt_hbqevents.cpp * contrib/hbqt/qtcore/hbqt_hbqslots.cpp ! Fixed: a couple of potential memory leaks. * contrib/hbqt/qtcore/hbqt_bind.cpp + Implemented: Thread safe global list. Now objects are released in a proper manner. + Added: a hack not to delete a QMainWindow if its name is "PleaseDoNotDelete". It is scheduled to be removed once it is resolved that why on certain circumstances, if a QMainWindow is deleted, it results in GPF. 2012-06-17 02:51 UTC+0200 Viktor Szakats * contrib/hbrun/hbrun.hbp * restored to embed headers in hbrun * utils/hbmk2/hbmk2.prg ! minor cleanups in runner UI ! fixed to open .dbf using cmd 'hbmk2 test.dbf' (emulating old hbrun behavior) + shows error messages when dynamic library failed to load 2012-06-17 02:20 UTC+0200 Viktor Szakats * contrib/hbcurl/hbcurl.hbp ! stupid typo in prev 2012-06-17 02:14 UTC+0200 Viktor Szakats * contrib/hbcurl/hbcurl.hbp + install *.dll from libcurl bin dir when experimental HB_INSTALL_3RDDYN option is used 2012-06-17 01:39 UTC+0200 Viktor Szakats * contrib/hbblat/hbblat.hbp * contrib/hbcurl/hbcurl.hbp * contrib/hbssl/hbssl.hbp ! fix to prev * contrib/hbpost.hbm * contrib/hbqt/hbqt_common.hbm * deleted extra pathsep * contrib/hbfbird/hbfbird.hbp * contrib/hbgd/hbgd.hbp * contrib/sddfb/sddfb.hbp ! fixed to use .dll imp lib source in -hbdyn mode. it's a fix for experimental HB_INSTALL_3RDDYN option. * contrib/make.hb * minor cleanups in errorlevel descriptions * utils/hbmk2/hbmk2.prg ! fixed finding scripts in path and without extensions in runner mode ! fixed to not execute '.' when runner mode is started with 'hbmk2 .' command 2012-06-17 00:18 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + will now gather a list of existing 3rd party dll dependencies using the file-group named 'depimplibsrc'. This list can be used to install these files to user-specific locations * contrib/hbpost.hbm + added global solution to install 3rd party dll dependencies, with minor fixes * contrib/hbblat/hbblat.hbp * contrib/hbcurl/hbcurl.hbp * contrib/hbssl/hbssl.hbp - deleted local solution to install 3rd party dll dependencies 2012-06-16 22:16 UTC+0200 Viktor Szakats * contrib/make.hb + added textual hbmk2 results 2012-06-16 21:52 UTC+0200 Viktor Szakats * contrib/hbcurl/hbcurl.hbp * contrib/hbssl/hbssl.hbp + added experimental support to install 3rd party .dll dependencies for these libs into the Harbour bin dir. Enabled with new build option, not yet documented, see it in the patch. * src/rtl/cdpdet.prg + request linkage of all codepages. I chose this to ensure the detection code can use all CPs automatically and it won't be unusable if users forget to request CPs themselves. This has an overhead if someone uses CP autodetection, but it makes it foolproof. * utils/hbmk2/hbmk2.prg * minor formatting 2012-06-16 18:02 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.hbp * utils/hbmk2/Makefile % disabled embedded headers again, now dir layout detection should work well even under GNU Make, so it's not necessary 2012-06-16 17:59 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! ignore HB_INSTALL_* envvars too in runner mode 2012-06-16 16:48 UTC+0200 Viktor Szakats * contrib/hbamf/hbamfobj.prg * made it more friendly with grep when finding undocumented functions by removing #translate. * src/vm/hvm.c ! added HB_STACK_TLS_PRELOAD * include/harbour.hbx ! added __ITEMSETREF(), __VMITEMID() * src/rtl/valtoexp.prg * hb_setItemRef() -> __itemSetRef(). Please tell if it's meant to be a user-accessible, public core API * utils/hbmk2/hbmk2.prg ! fixed to ignore HB_INSTALL_PREFIX variable in runner mode. This points to invalid places while running as part of GNU Make and prevents autodetection. TODO: Recheck if it now works without embedded headers. [DONE] TODO: Obsolete HB_INSTALL_PREFIX also in hbmk2 mode. [CAN'T. It's used in contrib/make.hb to support cross builds.] 2012-06-16 12:42 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/include/hbexprb.c ! fixed hb_arrayToParams() used in array index context ( var[ hb_arrayToParams() ] ) unintentionally disabled by 2010-11-08 23:37 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/vm/hvm.c + added __vmItemId() function. * harbour/src/rtl/valtoexp.prg + added support for array, object and hash references to hb_valToExp(). Now this function works correctly also for items with cyclic references. 2012-06-16 11:41 UTC+0200 Viktor Szakats * contrib/xhb/xhbcls.ch ! include hboo.ch * utils/hbmk2/hbmk2.prg ! Fixed to transform \n to eol in one certain warning message newly issued from the runner subsystem * utils/hbmk2/Makefile * utils/hbmk2/hbmk2.hbp * contrib/hbrun/hbrun.hbp ! restored to embed core headers. It's required when running build scripts as part of the GNU Make process, while HB_INSTALL_PREFIX setting is set to a value where Harbour isn't installed yet 2012-06-15 14:44 UTC+0200 Viktor Szakats * config/win/bcc.mk ! fixed RC support 2012-06-15 14:00 UTC+0200 Viktor Szakats * contrib/make.hb * INSTALL + re-disabled HB_BUILD_CONTRIB_DYN=yes by default. The mere presence of dynamic versions of libs was causing the executables on *nix systems got linked against them, even in -static mode, which might not be desired. So until someone finds out how to control this aspect, it's best to disable then altogether. Or maybe it could enabled by default only on non-*nix systems. 2012-06-15 10:59 UTC+0200 Viktor Szakats + contrib/hbamf/hbamfobj.prg * contrib/hbamf/amfdec.c * contrib/hbamf/amfenc.c * contrib/hbamf/hbamf.hbp * contrib/hbamf/hbamf.hbx + added missing parts as per Aleksander's instructions. with some renames/formatting. OBJAMF renamed to AMF_OBJ, please review and test. https://groups.google.com/d/msg/harbour-devel/EPdeo6zbFt8/FTd7mkyTPawJ * utils/hbmk2/hbmk2.prg * minor formatting 2012-06-15 10:16 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! fixed RTE when running hbrun without parameter 2012-06-15 03:28 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! do not try to dynamically load hbwin for registry functions, if the lib is already linked ! allow -hbreg and -hbunreg to be passed when it's renamed to hbrun 2012-06-15 03:17 UTC+0200 Viktor Szakats * bin/3rdpatch.hb * contrib/make.hb * changed to be executed by hbmk2 - contrib/hbrun/extdyn.prg - contrib/hbrun/hbrun.prg - contrib/hbrun/hbrun.rc - contrib/hbrun/headers.prg - contrib/hbrun/p_ext.hb - contrib/hbrun/plugins.prg * contrib/hbrun/hbrun.hbp % changed to use hbmk2 sources and make file to build hbrun, implementing the build method described in previous ChangeLog entry. The lost feature is netio management plugin, which is now not loaded by default. Plus, since this is a static build, dynamic extensions don't work. * contrib/make.hb * src/pp/ppcore.c * deleted reference to hbrun in comment * contrib/hbnetio/utils/hbnetio/netiocon.prg * contrib/hbnetio/utils/hbnetio/netiomgm.hb * __hbrun_plugin() -> __hbshell_plugin() * INSTALL * minor in previous change 2012-06-15 02:26 UTC+0200 Viktor Szakats * contrib/make.hb * contrib/hbrun/hbrun.hbp * INSTALL + enabled HB_BUILD_CONTRIB_DYN=yes by default. It will cause longer build-times, but it will also create dynamic builds for all contribs now. HBQT is particularly huge, so maybe we should disable dynamic libs creations for them. ; EXPERIMENTAL. This feature has been available for quite a long time now and some users have tested, but anyways build breaks are possible. [REVERTED] - contrib/hbrun/extstat.prg * contrib/hbrun/extdyn.prg * contrib/hbrun/hbrun.hbp * contrib/hbrun/hbrun.prg % simplified the way static contribs are pulled into the executable. Now the list if linked contribs needs to be maintained only inside hbrun.hbp * utils/hbmk2/hbmk2.prg + inclusion of embedded core headers can now be enabled using -DHBMK_WITH_EMBEDDED_HEADERS build-time option for a minimal set (formely enabled by default in hbmk2) and -DHBMK_WITH_ALL_EMBEDDED_HEADERS for the full set, which is compatible with hbrun * hbmk2 will act as a shell/script runner also if its own name _starts_ or _ends_ with hbrun, so e.g. hbrun2, and xhbrun will be okay as well (in sync with other similar alias name rules). + shell screen will now display the list of non-core, statically linked extra libs ; NOTE: to custom build a complete hbrun emulation from hbmk2 source, use the following configuration: 1. create file 'hbrun_emu.hbm' with this content: --- -ohbrun -static -DHBMK_WITH_ALL_EMBEDDED_HEADERS hbct.hbc -request=__HBEXTERN__HBCT__ hbexpat.hbc -request=__HBEXTERN__HBEXPAT__ hbmemio.hbc -request=__HBEXTERN__HBMEMIO__ hbmzip.hbc -request=__HBEXTERN__HBMZIP__ hbnetio.hbc -request=__HBEXTERN__HBNETIO__ hbunix.hbc{unix} -request=__HBEXTERN__HBUNIX__{unix} hbwin.hbc{allwin} -request=__HBEXTERN__HBWIN__{allwin} --- 2. build hbrun emulation using this command: $ hbmk2 utils/hbmk2/hbmk2.hbp hbrun_emu.hbm 3. This will create a fully static executable, with the name hbrun, with all embedded core headers and statically linked list of contribs listed in the .hbm file. The list can be configured at will. This is self-contained executable that can be distributed easily. Notice however that dynamic extension feature will not work in this type of build. * utils/hbmk2/hbmk2.hbp * minor formatting 2012-06-14 14:28 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtcore/hbqt_hbqslots.cpp * contrib/hbqt/qtcore/hbqt_misc.prg * contrib/hbqt/qtcore/hbqt_pointer.cpp * contrib/hbqt/qtcore/qth/filelist.hbm + contrib/hbqt/qtcore/qth/HBQSlots.qth ! Reverted: back to the version before Francesco's. 2012-06-14 09:45 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtcore/hbqt_hbqslots.cpp * contrib/hbqt/qtcore/hbqt_misc.prg * contrib/hbqt/qtcore/hbqt_pointer.cpp - Removed: trace entries. 2012-06-14 14:43 UTC+0200 Francesco Perillo ( fperillo at gmail.com ) * contrib/hbqt/qtcore/hbqt_pointer.cpp * contrib/hbqt/qtcore/hbqt_hbqslots.cpp * contrib/hbqt/qtcore/hbqt_misc.prg * Moved: all slots related functions from hbqt_pointer to hbqt_hbqslots.cpp. - Removed: __pSlots variable and use of harbour class HBQSlots Partially implemented hbqt_disconnect function hbqt_connect now also accepts harbour style (qtObject, signal, codeblock). It is the preferred way of making a signal/slot connection... - contrib/hbqt/qtcore/qth/HBQSlots.qth * contrib/hbqt/qtcore/qth/filelist.hbm * removed generated harbour HBQSlots class 2012-06-14 15:20 UTC+0200 Viktor Szakats * package/winuni/mpkg_win_uni.bat * package/winuni/mpkg_win_uni.nsi + add all contrib .dlls for x86 and x64 windows builds (if present). Untested. 2012-06-14 14:40 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.hbp - -head=dep no longer needed (with embedded plugin code) 2012-06-14 14:38 UTC+0200 Viktor Szakats * INSTALL + documented hbmk2 usage as shell, script runner and .hrb builder/runner * package/mpkg_win.nsi * package/winuni/mpkg_win_uni.nsi + use hbmk2 as interactive shell instead of hbrun * utils/hbmk2/hbmk2.prg + display Harbour version when starting up the interactive shell 2012-06-14 14:27 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg * killed some more 'dynamic' in hbshell source 2012-06-14 14:22 UTC+0200 Viktor Szakats * contrib/hbrun/hbrun.prg * utils/hbmk2/hbmk2.prg ! old indentation problem 2012-06-14 14:21 UTC+0200 Viktor Szakats - utils/hbmk2/p_ext.hb * utils/hbmk2/hbmk2.prg * embedded shell plugin into hbmk2.prg ! fixed typos in prev causing shell plugin to not load * killed the word 'dynamic extension'. All extensions are now dynamic * killed word 'hbrun' from hbmk2 source, now the shell is called 'hbshell', 'shell' or 'Harbour shell' 2012-06-14 13:30 UTC+0200 Viktor Szakats + contrib/hbrun/p_ext.hb + utils/hbmk2/p_ext.hb - contrib/hbrun/extdynpl.hb - utils/hbmk2/p_extdyn.hb * contrib/hbqt/hbmk2_qt.hb * contrib/hbrun/hbrun.prg * contrib/hbrun/plugins.prg * contrib/make.hb * utils/hbmk2/hbmk2.prg * cleanups, syncing between hbrun and hbmk2 runner mode. __HBSCRIPT__* predefined macros renamed, public hbshell (was hbrun) APIs renamed. INCOMPATIBLE but its doubtful anybody used these. - deleted just added public APIs to load/unload extensions 2012-06-14 12:12 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! bah, leftover test line deleted 2012-06-14 12:11 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! fixed not updating extension list on screen when it became empty 2012-06-14 12:01 UTC+0200 Viktor Szakats * contrib/hbide/hbide.hbp * contrib/hbide/idemain.prg + enabled rddads by default. Requires rddads dynamic build, use HB_BUILD_CONTRIB_DYN=yes * contrib/hbrun/plugins.prg ! fixed shell plugin extension changed in prev * utils/hbmk2/hbmk2.prg * utils/hbmk2/hbmk2.es_PE.po * utils/hbmk2/hbmk2.hu_HU.po * utils/hbmk2/hbmk2.pt_BR.po + -env: option is now available inside .hbp/.hbp files ! fixed -env: option to be processed only for the main project (and not processed again for subprojects) 2012-06-14 02:01 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtcore/hbqt_hbqevents.cpp ! Fix to prev. * contrib/hbqt/tests/browqt.prg * contrib/hbqt/tests/dbfbrowser.prg * contrib/hbqt/tests/demoqt.prg * contrib/hbqt/tests/draggable.prg * contrib/hbqt/tests/inherit.prg * contrib/hbqt/tests/qtrevamp.prg * contrib/hbqt/tests/testbrow.prg - Removed: :disconnect() calls. Now all is working like the way we are accustomed to. 2012-06-14 00:31 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtcore/hbqt_bind.cpp + Enabled: by default to clear all items in the global list. This has fixed GPF on exit under certain situations. DemoQt.prg is now fully functional even with multiple dialogs open at once. * contrib/hbqt/qtcore/hbqt_hbqevents.cpp + Added: protection against HVM is active or not. * contrib/hbqt/qtgui/hbqt_init.cpp * contrib/hbqt/qtgui/qth/QApplication.qth - Removed: unnecessary code written at early days. * contrib/hbxbp/xbplistbox.prg - Commented out: few signals not being used. 2012-06-13 21:03 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/tests/dbfbrowser.prg * contrib/hbqt/tests/dbfbrowserclass.prg ! replaced: new code provided by Bacco. * contrib/hbxbp/xbplistbox.prg * contrib/hbxbp/xbpwindow.prg - removed: :hasValidPointer() calls. 2012-06-13 19:47 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtcore/hbqt_bind.cpp ! Normalized: hbqt_bindDestroyHbObject(). 2012-06-14 04:00 UTC+0200 Viktor Szakats * contrib/hbnetio/utils/hbnetio/hbnetio.hbp - contrib/hbnetio/utils/hbnetio/netiomgm.prg + contrib/hbnetio/utils/hbnetio/netiomgm.hb * renamed hbrun/hbmk2 shell plugin code to .hb extension * contrib/hbnetio/utils/hbnetio/netiosvc.prg ! added missing copyright and SVN ID header * utils/hbmk2/hbmk2.prg + documented '.' parameter on -help screen. ; With this, hbmk2 has all the features of hbrun. Except: - it doesn't contain the selection of statically linked contribs: hbct, hbxpp, hbexpat, hbmemio, hbmzip, hbnetio, hbunix, hbwin These can now be loaded on-demand, e.g. by speccing them in envvar HB_EXTENSION, from shell prompt or #require directive, etc - it doesn't contain the 'hbnetio management console' shell plugin. It now can be loaded by copying /contrib/hbnetio/utils/hbnetio/netiomgm.hb to <home>/.harbour/. It means hbmk2 can now be used to: - convert Harbour source code to various kind of executables/binaries - run Harbour source code directly - serve as an interactive Harbour prompt/shell. ; As a next steps, HB_BUILD_CONTRIB_DYN may be enabled by default, hbrun be deleted and hbmk2 renamed to e.g. simply 'hb'. ; Needs testing on non-Windows envs 2012-06-14 03:32 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.hbp + copied some remaining options from hbrun.hbp * utils/hbmk2/hbmk2.prg + added -hbreg[=global] and -hbunreg[=global] to register/unregister .hb file type on Windows. It uses a trick to load hbwin dynamically, so this will only work with HB_BUILD_CONTRIB_DYN=yes. It's grey area of dependency because core cannot depend on contrib, but in this case it's done dynamically and optionally and it gracefully fails if the contrib component is missing, but still, it uses it, if available. Hopefully in the future win registry functions can be moved to core so it can be cleaned, or this functionality removed from hbmk2 anytime, since it's not critical. + always detecting Harbour dir layout when entering runner mode, so all subsystems can now use that information * cleaned loading user configured dynamic extensions in runner mode ! fixed not adding global Harbour include dir in runner mode + all strings moved from hbrun code made translatable (except some CUI elements for now) % experimentally disabled embedded Harbour headers (build break possible) ! fixed loading "ext" (dynamic extension loader) shell plugin + output shell plugin load RTE to stderr 2012-06-14 01:09 UTC+0200 Viktor Szakats * contrib/hbrun/hbrun.prg * utils/hbmk2/hbmk2.prg % minor optimization to not try to create ~/.harbour directory on each __hbrun_ConfigDir() call, only when saving there. 2012-06-14 00:55 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/include/hbset.h * harbour/src/vm/set.c % removed HB_SET_OSCODEPAGE % replaced HB_SET_DBCODEPAGE with hb_set_dbcp * generate RTE when wrong parameter type (not string or NIL) is passed to HB_SET_LANGUAGE, HB_SET_CODEPAGE, HB_SET_OSCODEPAGE, HB_SET_DBCODEPAGE * harbour/src/rtl/langapi.c * generate RTE 1303 when not existing lang module name is passed to hb_langSelectID() C function. It affects on all upper level code using this function. NULL is accepted as valid parameter. * harbour/src/rtl/cdpapi.c * generate RTE 1302 when not existing codepage name is passed to hb_cdpFindExt() C function. It affects on all upper level code using this function. NULL is accepted as valid parameter. If programmer does not want to generate RTE when wrong codepage name is passed then he should use hb_cdpFind() instead. * harbour/src/rtl/cdpapihb.c * use hb_cdpFindExt() instead if hb_cdpFind() in HB_CDPUNIID() function. * harbour/src/rtl/cdpapihb.c * harbour/contrib/hbexpat/internal.c ! use hb_parc() instead of hb_parcx() to get codepage name from optional parameter. * harbour/utils/hbmk2/Makefile ! fixed build process, now hbmk2 need HB_LIBS_MT_RDD * harbour/src/rtl/tpersist.prg % optimized decoding code which could be two slow with UTF8EX or similar CPs. 2012-06-14 00:24 UTC+0200 Viktor Szakats * contrib/hbamf/amfdec.c * contrib/hbamf/amfenc.c * contrib/hbamf/amfstdio.c ! fixed about 30 compiler warnings mostly on missing parenthesis causing ambiguous expressions, superfluous variable initializations and one case where probably an 'else' was missing. Please review the patch to see if ambiguous cases were correctly fixed. 2012-06-13 13:59 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) - contrib/hbqt/qtcore/hbqt_obj.prg - Deleted: hbQT already has a super class HBQTOBJECTHANDELLER and concerned protocol is embedded into that. * contrib/hbqt/qtcore/hbqt_hbqevents.cpp * contrib/hbqt/qtcore/hbqt_hbqevents.h ! Changed: constructor without a parent. In certain situations under current protocol, this had a overhead where destructor on this object was not being called at appropriate time. * contrib/hbqt/qtcore/hbqt_hbqslots.cpp * contrib/hbqt/qtcore/hbqt_hbqslots.h ! Formatting. * contrib/hbqt/qtcore/hbqt_misc.prg * contrib/hbqt/qtcore/hbqtcore.hbm * contrib/hbqt/qtcore/hbqtcore.hbx - Deleted: hbqt_obj.prg * contrib/hbqt/qtcore/qth/HBQEvents.qth - Deleted: un-used variables. 2012-06-13 22:55 UTC+0200 Viktor Szakats - contrib/hbamf/hbref.c * contrib/hbamf/amfdec.c * contrib/hbamf/amfenc.c * contrib/hbamf/amfstdio.c * contrib/hbamf/hbamf.hbp * contrib/hbamf/hbcls.c * added hbamf_ prefix to public C functions * locally used public C functions converted to static * utils/hbmk2/hbmk2.prg * minor 2012-06-13 16:16 UTC+0200 Viktor Szakats * contrib/hbplist + contrib/hbamf + contrib/hbamf/amf.h + contrib/hbamf/amfdec.c + contrib/hbamf/amfenc.c + contrib/hbamf/amfstdio.c + contrib/hbamf/hbamf.hbc + contrib/hbamf/hbamf.hbp + contrib/hbamf/hbamf.hbx + contrib/hbamf/hbcls.c + contrib/hbamf/hbref.c + contrib/hbamf/issues.txt + contrib/hbamf/readme.txt + contrib/hbamf/tests + contrib/hbamf/tests/hbmk.hbm + contrib/hbamf/tests/tstendin.prg + added AMF3 encoder/decoder work of Aleksander Czajczynski and Ilina Stoilkovska (with minor additions of mine: build file cleanup, some C level formatting/comment cleanup, C++ fixes) ; NOTE: this is only the pure AMF3 encoder/decoder, and doesn't include websocket layers ; TODO: adding license [NO LICENSE] * utils/hbmk2/hbmk2.prg * minor in comments 2012-06-13 15:44 UTC+0200 Viktor Szakats * contrib/hbrun/hbrun.prg * contrib/hbrun/plugins.prg * utils/hbmk2/hbmk2.prg * synced recent changes + changed extension filename to <home>/.harbour/hb_extension (hb_ext.ini in MS-DOS) envvar to HB_EXTENSION + plugins are now loaded from <home>/.harbour/*.hb, <home>/.harbour/*.hrb 2012-06-13 15:31 UTC+0200 Viktor Szakats * contrib/hbrun/hbrun.prg * utils/hbmk2/hbmk2.prg * renamed history file to have a tool agnostic name INCOMPATIBLE (history will be lost unless you rename the existing file from .hbrun_history to .hb_history) 2012-06-13 15:14 UTC+0200 Viktor Szakats * INSTALL * minor clarifications to INSTALL/TROUBLESHOOTING * config/os2/watcom.mk * config/wce/mingwarm.mk * config/wce/msvcarm.mk * config/wce/poccarm.mk * config/win/bcc.mk * config/win/mingw.mk * config/win/msvc.mk * config/win/pocc.mk * config/win/watcom.mk * config/win/xcc.mk + added std header paths to RC commands * utils/hbmk2/Makefile + utils/hbmk2/hbmk2.rc * utils/hbmk2/hbmk2.hbp + added std windows versioninfo and manifest to hbmk2 * utils/hbmk2/hbmk2.prg + utils/hbmk2/p_extdyn.hb + added almost complete hbrun functionality into hbmk2 to run it, type: 'hbmk2 .' Missing is extension registration, plugins don't seem to work yet, and I plan to switch from full screen prompt to shell-like prompt. ; Plugin paths, extension configuration, history on-disk files need further polishing. [DONE] + hbmk2 will act as a hbrun, if renamed to hbrun * contrib/hbqt/qtcore/hbqt_misc.prg + added two FIXMEs for missing PROTECTED keyword for two object variables of unknown purpose. Not even HBQT developers know what it is, but without it, HBQT breaks. ; Those who need "stable" hbqt (meaning "it builds") Go to: https://sourceforge.net/p/hbqt/ 2012-06-13 15:17 UTC+0200 Francesco Perillo (fperillo at gmail.com) * Changelog * typo and missing description previous commit * contrib/hbqt/qtcore/hbqt_hbqslots.cpp * mispelled function name 2012-06-13 15:00 UTC+0200 Francesco Perillo (fperillo at gmail.com) * contrib/hbqt/qtcore/hbqt_bind.cpp + added code (not active) to release items stuck on global list + added definitions * contrib/hbqt/qtcore/hbqt_hbqslots.cpp - eliminated code not needed - fixed a memory leak * contrib/hbqt/qtcore/hbqt_hbqslots.cpp * contrib/hbqt/qtcore/hbqt_hbqslots.h * contrib/hbqt/qtcore/qth/HBQSlots.qth - eliminated parameter from constructor * contrib/hbqt/qtgui/hbqt_hbqabstractitemmodel.cpp - eliminated remmed code * contrib/hbqt/qtcore/hbqt_misc.prg * reverted last commit 2012-06-13 12:34 UTC+0200 Viktor Szakats * contrib/hbqt/qtcore/hbqt_bind.cpp ! using core constant instead of arbirary buffer size % use HB_SIZEOFARRAY() instead of calculated explicit versions of above arbitrary sized buffers * contrib/hbqt/qtcore/hbqt_misc.prg * minor formatting 2012-06-13 11:41 UTC+0200 Viktor Szakats * contrib/hbqt/qtcore/hbqt_bind.cpp * contrib/hbqt/qtcore/hbqt_hbqevents.cpp * contrib/hbqt/qtcore/hbqt_hbqslots.cpp * contrib/hbqt/qtcore/hbqt_misc.prg * contrib/hbqt/qtcore/hbqt_pointer.cpp * contrib/hbqt/qtcore/hbqt.h * contrib/hbqt/qtcore/hbqtcore.hbx - __HBQT_ISPOINTER() + TODO for HBQT_ISEQUAL() - __HBQT_PTR() from .hbx ! fixed insane inverse camel casing in hbqt_bindGetHbObjectBYqtObject() + FIXME for MT which is completely broken now. - deleted '#if 1's. Experiment locally, do not readd them. - deleted code protected by '#if 0'. Experiment locally, do not readd them. + QUESTION for code like: 'if( 1 == 1 )' - HBQT_PROMOTEWIDGET2() -> HBQT_PROMOTEWIDGET() .hbx is now in sync with the code + QUESTION for HbQtObjectHandler (_three_ different lists for events? two for slots? Is this needed?) ! hEvents -> __hEvents, made PROTECTED. Fix other code if this broke anything. ! __Slots/__Events made PROTECTED. Fix other code if this broke anything. ! _destroy() -> __destroy(). Fix other code if this broke anything. ; I'd like to ask HBQT developers to enable in their editor the deletion of line-ending spaces and to enable HB_REBUILD_EXTERN=yes in their local configuration to keep .hbx files up to date (asking these for the umpteenth times!). 2012-06-13 01:15 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/hbqreportsmanager.prg * contrib/hbide/ideharbourhelp.prg * contrib/hbide/ideskeletons.prg * contrib/hbide/ideuisrcmanager.prg - Removed: all calls to :hasAValidPointer(). * contrib/hbqt/qtcore/hbqt_bind.cpp + Added: more debug code to view what happens when appln exits. * contrib/hbqt/qtcore/hbqt_hbqevents.cpp * contrib/hbqt/qtcore/hbqt_hbqevents.h * contrib/hbqt/qtcore/hbqt_hbqslots.cpp * contrib/hbqt/qtcore/qth/HBQEvents.qth ! Synchronized: per QObject standards. * contrib/hbqt/qtgui/qth/QStringListModel.qth ! Fixed: wrong if/else if constructs. * contrib/hbqt/qtcore/hbqt_misc.prg * contrib/hbqt/qtgui/THbQtUI.prg - Removed: the use of :pPtr variable plus method :hasValidPointer(). * contrib/hbqt/tests/demoqt.prg ! Reworked: to adapt to revamped hbQT where variable is not needed to hold the built widget if parent is provided or is :connect()ed. 2012-06-13 01:48 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg * further cleaned *HB_INSTALL* variable usage % merged harbour dir layout detection code used in build and runner modes. 2012-06-12 16:22 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/gtqtc/gtqtc.cpp * contrib/hbqt/hbmk2_qt.hb * contrib/hbqt/qtcore/hbqt.h * contrib/hbqt/qtcore/hbqt_bind.cpp * contrib/hbqt/qtcore/hbqt_hbqevents.cpp * contrib/hbqt/qtcore/hbqt_hbqslots.cpp * contrib/hbqt/qtcore/hbqt_init.cpp * contrib/hbqt/qtcore/hbqt_misc.prg * contrib/hbqt/qtcore/hbqt_pointer.cpp * contrib/hbqt/qtcore/qth/HBQEvents.qth * contrib/hbqt/qtcore/qth/HBQSlots.qth * contrib/hbqt/qtcore/qth/QLibraryInfo.qth * contrib/hbqt/qtcore/qth/QMimeData.qth * contrib/hbqt/qtgui/hbqt_hbqabstractitemmodel.cpp * contrib/hbqt/qtgui/hbqt_hbqgraphicsitem.cpp * contrib/hbqt/qtgui/hbqt_hbqgraphicsscene.cpp * contrib/hbqt/qtgui/hbqt_hbqplaintextedit.cpp * contrib/hbqt/qtgui/hbqt_hbqtableview.cpp * contrib/hbqt/qtgui/hbqt_init.cpp * contrib/hbqt/qtgui/qth/HBQAbstractItemModel.qth * contrib/hbqt/qtgui/qth/HBQGraphicsItem.qth * contrib/hbqt/qtgui/qth/HBQGraphicsScene.qth * contrib/hbqt/qtgui/qth/HBQPlainTextEdit.qth * contrib/hbqt/qtgui/qth/HBQTableView.qth * contrib/hbqt/qtgui/qth/QApplication.qth * contrib/hbqt/qtgui/qth/QClipboard.qth * contrib/hbqt/qtgui/qth/QDirModel.qth * contrib/hbqt/qtgui/qth/QDropEvent.qth * contrib/hbqt/qtgui/qth/QFileSystemModel.qth * contrib/hbqt/qtgui/qth/QGraphicsSceneDragDropEvent.qth * contrib/hbqt/qtnetwork/hbqt_init.cpp * contrib/hbqt/tests/draggable.prg * contrib/hbxbp/xbpbrowse.prg * contrib/hbide/ideedit.prg * contrib/hbide/idefindreplace.prg + Implemented: Revamped HBQT. The complete code base has been cleaned as per new API and there is no leftover is kept inside the sources. All demos and hbIDE seems TO be working fine with few exceptions here and there, but usually all seems fine. The only issue left, so far I can assess is that no object is subject to destrution if a connect is issued onto that. And I have no idea how TO handle this situation. It is the programmers responsibility to disconnect whenever an object is supposed to go out of scope. TODO: still debug tracelog entries ( under HB_TR_DEBUG ) are retained in hbqt_bind.c which are schduled TO be removed once code base stabilizes enough. 2012-06-12 22:21 UTC+0200 Francesco Perillo (fperillo at gmail.com) * contrib/hbqt/qtgui/qth/filelist.hbm * added remark to QDeclarativeParserStatus since all other QDeclarative* classes are remmed and it break build on Qt 4.5 2012-06-12 21:55 UTC+0200 Viktor Szakats - examples/hbapollo - examples/hbbtree - examples/hscript - examples/misc - examples/terminal - deleted obsolete and/or unmaintained components 2012-06-12 21:14 UTC+0200 Viktor Szakats * examples/hbbtree/tests/ctest.c ! converted Windows type to Harbour one * INSTALL ! typo in prev * utils/hbmk2/hbmk2.prg * cleaned output msgs in runner mode * cleaning *HB_INSTALL* variable usage. step one. 2012-06-12 18:56 UTC+0200 Viktor Szakats * INSTALL + extended troubleshooting instructions for code that involves non-ASCII chars * utils/hbmk2/hbmk2.prg + use UTF8 HVM in runner mode + enabled translations in runner mode ! in runner mode fixed setting up core header dir when no dyanmic libs are used ! in runner mode, dynamic lib location should now be detected also on *nix systems (untested) * some other minor cleanups and tweaks to runner mode 2012-06-11 23:03 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/hbmk2_qt.hb ! Commented out #define __HBQT_REVAMP__, left as is in prev commit. 2012-06-11 19:29 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtcore/hbqt_bind.cpp * contrib/hbqt/qtcore/hbqt_pointer.cpp + Implemented: [*D=1*] token of methods in .qth for __HBQT_REVAMP__. This changes the ownership of an object from Harbour to Qt. 2012-06-12 04:17 UTC+0200 Viktor Szakats * contrib/hbhttpd/log.prg * contrib/hbtip/log.prg * contrib/hbziparc/ziparc.prg * src/rtl/hbdoc.prg * src/rtl/hbi18n2.prg * src/rtl/memvarhb.prg * src/rtl/tlabel.prg * src/rtl/treport.prg % use HB_FNAMEEXTSETDEF() instead of manual logic. it also fixes RTEs in hbziparc when passed non-string filename to nearly any of its APIs. * utils/hbi18n/hbi18n.hbp * missed -shared enabled in .hbp * utils/hbmk2/Makefile * utils/hbmk2/hbmk2.hbp + enabled -shared build for hbmk2 * utils/hbmk2/hbmk2.prg % consolidated .hbc finder logic % moved 'hbmk' structure initializations to subfunctions + added Harbour installation autodetection for hbmk2's runner mode. It's copy-paste code yet. + added automatic include path configuration in hbmk2's runner mode. It means that now #require-d extensions will have their include paths setup, so their header will be found, so they can be used now. ; I more and more see it a reality to integrate hbrun functionality into hbmk2. #require logic needs much of hbmk2's facilities, and hbmk2 already has basic runner capabilities. Contrib libs (and plugins) will all have to be loaded dynamically in such case, but since it works well, it should not be a problem. Finally hbmk2 can be the utility that runs scripts dynamically and also able to build an exe from them, using the exact same source code, without any external configuration, if the source code provides "#require" clues. All it needs is both dynamic and static versions of extensions (=contribs or addons). 2012-06-11 16:28 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtcore/hbqt_bind.cpp ! Changed: HB_TR_ALWAYS => HB_TR_DEBUG ( really a nuisiance causer ). Will try to be consistent next time. 2012-06-11 16:08 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/hbmk2_qt.hb ! Formatting: of generated sources. * contrib/hbqt/qtcore/hbqt_bind.cpp ! Minor. * contrib/hbqt/tests/browqt.prg * contrib/hbqt/tests/dbfbrowser.prg * contrib/hbqt/tests/dbfbrowserclass.prg * contrib/hbqt/tests/demoqt.prg * contrib/hbqt/tests/qtrevamp.prg * contrib/hbqt/tests/testbrow.prg * contrib/hbqt/tests/testqaim.prg ! Tweaked: to excute flawless on both protocols. 2012-06-11 12:56 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) + contrib/hbqt/tests/dbfbrowser.prg + contrib/hbqt/tests/dbfbrowserclass.prg + Added: Table browser demo code by Bacco, thank you. This code works absolutely flawless both with current and __HBQT_REVAMP__ protocols. 2012-06-11 21:06 UTC+0200 Viktor Szakats * contrib/hbtpathy/telepath.prg * using hb_default() instead of rolling it manually * contrib/gtwvg/tests/wvgactivex.prg * contrib/gtwvg/tests/wvgmodal.prg * contrib/hbhttpd/core.prg * contrib/hbhttpd/log.prg * contrib/hbide/hbqreportsmanager.prg * contrib/hbide/hbqtoolbar.prg * contrib/hbide/idebrowse.prg * contrib/hbide/ideconsole.prg * contrib/hbide/idedict.prg * contrib/hbide/idedocks.prg * contrib/hbide/ideedit.prg * contrib/hbide/ideeditor.prg * contrib/hbide/idefindreplace.prg * contrib/hbide/ideharbourhelp.prg * contrib/hbide/idemisc.prg * contrib/hbide/ideprojmanager.prg * contrib/hbide/ideshortcuts.prg * contrib/hbide/idesources.prg * contrib/hbide/idestylesheets.prg * contrib/hbide/idethemes.prg * contrib/hbide/idetools.prg * contrib/hbide/ideuisrcmanager.prg * contrib/hbmagic/hbmagis.prg * contrib/hbmxml/tests/custom.prg * contrib/hbnetio/utils/hbnetio/netiomgm.prg * contrib/hbnetio/utils/hbnetio/netiosrv.prg * contrib/hbnf/menutonf.prg * contrib/hbnf/ontick.prg * contrib/hboslib/core.prg * contrib/hbqt/tests/cls_dbstruct.prg * contrib/hbqt/tests/demoqt.prg * contrib/hbxbp/tests/xbpqtc.prg * contrib/xhb/stream.prg * contrib/xhb/xhbole.prg * examples/hbxlsxml/xlsxml_s.prg * examples/hbxlsxml/xlsxml_y.prg * examples/hbxlsxml/xlsxml.prg * tests/parseini.prg * formatting HB_IS*() calls ! using HB_ISSTRING() instead of HB_ISCHAR() on .prg level * utils/hbmk2/hbmk2.prg ! minor typo on help screen 2012-06-11 17:35 UTC+0200 Viktor Szakats * contrib/hbplist + reenabled hbqt and dependencies. it should build now. 2012-06-11 17:17 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/contrib/hbct/misc1.c % optimized XTOC() * harbour/doc/xhb-diff.txt * added some additional description to the section OOP AND CLASS OBJECT/CLASS MESSAGES * harbour/doc/Makefile * added xhb-diff.txt * harbour/include/hbapi.h * harbour/src/vm/arrays.c + added new C function hb_arrayFromId() * harbour/contrib/hbqt/qtcore/hbqt_bind.cpp * use hb_arrayFromId() instead of local hb_arrayCreateClone() with hb_arrayPushBase() inside * do not use hbvmint.h ! fixed few bugs in this code. I haven't analyzed this code deeply and how it's used so I cannot say it's correct. I only fixed few completly wrong places which caused HVM stack corruption, internal GC item list corruption or were completly dummy calls. 2012-06-11 16:33 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg * utils/hbmk2/hbmk2.es_PE.po * utils/hbmk2/hbmk2.hu_HU.po * utils/hbmk2/hbmk2.pt_BR.po - deleted a few "experimental" flags 2012-06-11 16:30 UTC+0200 Viktor Szakats * contrib/hbide/ideedit.prg * contrib/hbide/idemisc.prg * contrib/hbide/idesaveload.prg * contrib/hbrun/hbrun.prg * utils/hbmk2/hbmk2.prg * utils/hbmk2/hbmk2.es_PE.po * utils/hbmk2/hbmk2.hu_HU.po * utils/hbmk2/hbmk2.pt_BR.po - deleted support for .hbs extension for Harbour Scripts. use .hb now. INCOMPATIBLE. 2012-06-11 15:31 UTC+0200 Viktor Szakats * include/harbour.hbx * src/vm/dynsym.c + added HB_ISFUNCTION( <cName> ) -> <lExists> uses Przemek's code from hbfship/ISFUNCTION() with minor adaptation for VM. Use it instead of __DYNSISFUN() and TYPE( <cName> ) == "UI". * include/harbour.hbx * formatted HB_IS*() functions used for type checking * contrib/hbfship/isfunc.c % converted ISFUNCTION() to wrapper for HB_ISFUNCTION() * contrib/hbide/ideplugins.prg * contrib/hbrun/hbrun.prg * contrib/hbxpp/xppop.prg * contrib/xhb/xhbcomp.prg * contrib/xhb/xhberr.prg * examples/hbdoc/hbdoc.prg % Using HB_ISFUNCTION() instead of __DYNSISFUN() and TYPE( <cName> ) == "UI" 2012-06-11 14:14 UTC+0200 Viktor Szakats * bin/hbcommit.hb + To configure your own name and email address used in ChangeLog entries, create a file called ".hbcommit" in the root of Harbour SVN sandbox, and fill it with this: 'Firstname Lastname (my example.org)' (in single line, without quotes, and no EOLs and padding is necessary) 2012-06-11 13:20 UTC+0200 Viktor Szakats * contrib/hbrun/hbrun.prg + use .hb as default extension for Harbour sources. (was .prg) + bin/hbcommit.hb + added commit preparer script. It will pull all changed files, format it according to Harbour ChangeLog standard, add standard commit header and prepend the entry before latest on into ChangeLog file. Usage: <harbour SVN root>$ hbrun commit.hb Please try it and use it when committing to Harbour SVN * contrib/hbplist * disabled hbqt and its dependencies, until the nightly build breaker problem is resolved. 2012-06-11 12:21 UTC+0200 Viktor Szakats * contrib/hbblat/hbblat.hbp + added experimental support for installing 3rd party .dll to bin dir. Enabled with new build option, not yet documented, see it in the patch. * contrib/hbhpdf/tests/harupdf.prg * formatted 2012-06-10 18:09 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/hbmk2_qt.hb ! Fixed: some formatting in generated source. * contrib/hbqt/qtcore/hbqt.h + Added: HB_EXPORT PHB_ITEM hbqt_bindSetHbObject( PHB_ITEM pItem, void * qtObject, const char * szClassName, PHBQT_DEL_FUNC pDelFunc, int iFlags ); * contrib/hbqt/qtcore/hbqt_bind.cpp + Added: static PHB_DYNS s_dynsym_SETSLOTS = NULL; Used to initiate __Slots hash to contain code block for slots. + Added: PHB_ITEM hbqt_bindSetHbObject( PHB_ITEM pItem, void * qtObject, const char * szClassName, PHBQT_DEL_FUNC pDelFunc, int iFlags ) Used for class inheritance with :new() method. void hbqt_bindDelSlots( PHB_ITEM pSenderObject ); Used to delete all slots for an object. + Added: HB_FUNC( HBQT_PROMOTEWIDGET2 ) Provided by Francesco. + Added: HB_FUNC( HBQT_ITEMSONGLOBALLIST ) Provided by Francesco. - Transferred: some HB_EXPORT prototypes in hbqt.h from hbqt_bind.cpp. * contrib/hbqt/qtcore/hbqt_hbqslots.cpp + Transferred: code blocks exploiting slots to PRG level from C++ level. * contrib/hbqt/qtcore/hbqt_init.cpp * contrib/hbqt/qtgui/hbqt_init.cpp * Formatting. * contrib/hbqt/qtcore/hbqt_misc.prg + Added: VAR __Slots + Added: METHOD setSlots() * contrib/hbqt/qtcore/qth/QObject.qth + Uncommented: metaObject() method. * contrib/hbqt/tests/inherit.prg + Added: demo code to exploit inheritance of classes. This implementation is aimed at transferring signal/slot codeblocks from C++ level to PRG level. This to happen, I am driffting from Przemek's orginal idea of a separate class, encapsulating the same in exsting superclass HbqtObjectHandeller. So far has been successful but the concept has introduced a GPF on exit. 2012-06-11 01:01 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + added support for #require directive in minimal script runner. The plan is to model .hbc processing and header directory setup for #require-ed extensions and backport it to hbrun. 2012-06-10 17:19 UTC+0200 Viktor Szakats * include/hbapi.h ! minor correction to compatibility macro definition 2012-06-10 16:43 UTC+0200 Viktor Szakats * contrib/hbziparc/ziparc.prg ! fixed using old IS*() macro w/o common.ch * contrib/hbziparc/tests/unzipa.prg * contrib/hbziparc/tests/zipa.prg + added #require directives * contrib/hbgd/tests/animgif.prg * contrib/hbgd/tests/antialia.prg * contrib/hbgd/tests/barms.prg * contrib/hbgd/tests/bartest.prg * contrib/hbgd/tests/counter.prg * contrib/hbgd/tests/gdtest.prg * contrib/hbgd/tests/gdtestcl.prg * contrib/hbgd/tests/test_out.prg * contrib/hbgd/tests/testdpi.prg * contrib/hbgd/tests/tostring.prg * contrib/hbgd/tests/tpoly.prg * examples/httpsrv/modules/showcounter.prg * cleanups and fixes (replaced ISDIRECTORY() xhb function, fixed Windows dir detection, added simpleio.ch) * contrib/hbzebra/tests/testcair.prg * contrib/hbzebra/tests/testhpdf.prg * contrib/hbzebra/tests/testwin.prg * contrib/rddads/tests/datad.prg * contrib/rddads/tests/testmg.prg + added #require directives for testing * contrib/hbfoxpro/misc.prg * contrib/hbnf/clrsel.prg * contrib/hbnf/menu1.prg * contrib/hbnf/metaph.prg * src/rtl/hbi18n2.prg * utils/hbtest/rt_str.prg * formatting (to help a grep case) 2012-06-10 14:11 UTC+0200 Viktor Szakats * src/rtl/cdpdet.prg ! *nix specific CP autodetection code missed to call a local conversion subfunction. * src/rtl/gtfunc.c * HB_SETDISPCP(), HB_SETTERMCP(), HB_SETKEYCP() will now not RTE when passed NIL as 1st paramater. This makes it smoother to fall-back on purposedly invalid values, e.g. return values of new HB_CDPOS() and HB_CDPTERM() in case of failure. * contrib/hblzf/tests/test2.prg + replaced in-source hbmk2 command-line instructions with #require directive * contrib/gtwvg/tests/wvgactivex.prg ! fixed reference to non-existing batch file * doc/en/file.txt * doc/gmake.txt * doc/windll.txt * examples/gtwvw/docs/gtwvw.txt * examples/gtwvw/docs/whatsnew.txt * examples/gtwvw/tests/drawimg.prg * examples/guestbk/guestbk.txt * examples/hscript/readme.txt - deleted references to non-existing/obsolete batch files 2012-06-10 01:26 UTC+0200 Viktor Szakats * contrib/hbmlzo/hbmlzo.hbc ! fixed commented lib reference rendering the .hbc file unusable * contrib/hbmlzo/tests/test.prg + replaced in-source hbmk2 command-line instructions with #require directive * contrib/hbqt/hbmk2_qt.hb * src/rtl/hbdoc.prg * utils/hbmk2/examples/plug_tpl.hb % use '%d' in hb_strformat() instead of calling hb_ntos() * utils/hbmk2/hbmk2.prg + show different message when .hbc file is triggered by #require directive * contrib/hbmlzo/hbmlzo.ch * formatting 2012-06-09 21:19 UTC+0200 Viktor Szakats * include/harbour.hbx * src/rtl/Makefile + src/rtl/cdpdet.prg + src/rtl/cdpdetc.c + moved terminal and OS detection logic from hbmk2 to RTL with changes necessary to fit into core. New functions are: hb_cdpOS() -> <cCP | NIL> hb_cdpTerm() -> <cCP | NIL> it means these functions can be used in any apps now. Example: hb_SetTermCP( hb_cdpTerm() ) Set( _SET_OSCODEPAGE, hb_cdpOS() ) * contrib/hbrun/hbrun.prg * utils/hbmk2/Makefile - utils/hbmk2/hbmk2c.c * utils/hbmk2/hbmk2.hbp * utils/hbmk2/hbmk2.prg * using hb_cdpOS() and hb_cdpTerm() to automatically configure OS and terminal CP 2012-06-09 18:38 UTC+0200 Viktor Szakats * contrib/gtwvg/wvgpaint.prg ! fixed #3488700 * contrib/gtwvg/wvg3stat.prg * contrib/gtwvg/wvgcheck.prg * contrib/gtwvg/wvgcombo.prg * contrib/gtwvg/wvgdatar.prg * contrib/gtwvg/wvgdlg.prg * contrib/gtwvg/wvgmenub.prg * contrib/gtwvg/wvgpaint.prg * contrib/gtwvg/wvgpushb.prg * contrib/gtwvg/wvgradio.prg * contrib/gtwvg/wvgstatb.prg * contrib/gtwvg/wvgtreev.prg * contrib/gtwvg/wvgwnd.prg * contrib/hbhttpd/core.prg * contrib/hbide/hbqreportsmanager.prg * contrib/hbide/ideconsole.prg * contrib/hbide/idedocks.prg * contrib/hbide/ideedit.prg * contrib/hbide/idemisc.prg * contrib/hbide/ideprojmanager.prg * contrib/hbide/ideshortcuts.prg * contrib/hbide/idesources.prg * contrib/hbide/idethemes.prg * contrib/hbqt/qtcore/hbqt_misc.prg * contrib/hbxbp/xbp3state.prg * contrib/hbxbp/xbpcheckbox.prg * contrib/hbxbp/xbpcrt.prg * contrib/hbxbp/xbpdataref.prg * contrib/hbxbp/xbpdialog.prg * contrib/hbxbp/xbpfiledialog.prg * contrib/hbxbp/xbplistbox.prg * contrib/hbxbp/xbpmenubar.prg * contrib/hbxbp/xbpmle.prg * contrib/hbxbp/xbpprinter.prg * contrib/hbxbp/xbppushbutton.prg * contrib/hbxbp/xbpradiobutton.prg * contrib/hbxbp/xbprtf.prg * contrib/hbxbp/xbpstatic.prg * contrib/hbxbp/xbpstatusbar.prg * contrib/hbxbp/xbptreeview.prg * contrib/hbxbp/xbpwindow.prg ! HB_ISCHAR() -> HB_ISSTRING() 2012-06-09 17:58 UTC+0200 Viktor Szakats * contrib/hbrun/hbrun.prg + enabled UTF8EX as default CP for hbrun script. This makes scripts portable and on par with other script languages. It also syncs this aspect with hbmk2's script runner facility. INCOMPATIBLE. Make sure to create scripts that are unicode compatible and use UTF8 CP for accents. If you need old behavior, add 'hb_cdpSelect( "EN" )' to the top of your script. ; contains copy/paste code from hbmk2 for OS and terminal CP detection. These should eventually make it into the RTL [DONE] * INSTALL ! minor 2012-06-09 17:27 UTC+0200 Viktor Szakats * contrib/make.hb % use '%d' in hb_strformat() instead of calling hb_ntos() ! switched to UTF8EX to be in sync with hbmk2 * utils/hbmk2/hbmk2.prg ! fixed nasty regression caused by old problem where --hbinfo output might have contained other information. Now hbmk2 makes sure to keep -info disabled and -quiet enabled when in --hbinfo mode 2012-06-08 20:04 UTC+0200 Viktor Szakats * contrib/hbmzip/3rd/minizip/minizip.dif * minor correction 2012-06-08 16:29 UTC+0200 Viktor Szakats * bin/3rdpatch.hb ! fixed RTE when doing -rediff in minizip * contrib/hbmzip/3rd/minizip/crypt.h * contrib/hbmzip/3rd/minizip/unzip.c * contrib/hbmzip/3rd/minizip/zip.c ! fixed to build warning free with zlib 1.27 while keeping support for older zlib versions * contrib/hbmzip/3rd/minizip/minizip.hbp * contrib/hbmzip/3rd/minizip/minizip.dif * updated 2012-06-08 12:30 UTC+0200 Viktor Szakats * tests/hbpptest/hbpptest.prg ! updated to build correctly 2012-06-07 20:00 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/hbmk2_qt.hb * contrib/hbqt/qtcore/hbqt.h * contrib/hbqt/qtcore/hbqt_bind.cpp * contrib/hbqt/qtcore/hbqt_hbqevents.cpp * contrib/hbqt/qtcore/hbqt_hbqslots.cpp * contrib/hbqt/qtcore/hbqt_init.cpp * contrib/hbqt/qtcore/qth/QLibraryInfo.qth * contrib/hbqt/qtcore/qth/QMimeData.qth * contrib/hbqt/qtgui/hbqt_hbqgraphicsitem.cpp * contrib/hbqt/qtgui/hbqt_hbqgraphicsscene.cpp * contrib/hbqt/qtgui/hbqt_hbqplaintextedit.cpp * contrib/hbqt/qtgui/hbqt_hbqtableview.cpp * contrib/hbqt/qtgui/hbqt_init.cpp * contrib/hbqt/qtgui/qth/QApplication.qth * contrib/hbqt/qtgui/qth/QClipboard.qth * contrib/hbqt/qtgui/qth/QDirModel.qth * contrib/hbqt/qtgui/qth/QDropEvent.qth * contrib/hbqt/qtgui/qth/QFileSystemModel.qth * contrib/hbqt/qtgui/qth/QGraphicsSceneDragDropEvent.qth ! Changed: PHB_ITEM hbqt_bindGetHbObject( PHB_ITEM pItem, void * qtObject, PHB_SYMB pClassName, PHBQT_DEL_FUNC pDelFunc, int iFlags ) => PHB_ITEM hbqt_bindGetHbObject( PHB_ITEM pItem, void * qtObject, const char * szClassName, PHBQT_DEL_FUNC pDelFunc, int iFlags ) This facilitates the easy manipulation of objects and also a central point to scale its usage. It is much easier to recognize the non-QObject derived classes, which are in plenty, and hence take corrective actions in case of some exceptions are buried inside descriptions instead of headers. 2012-06-08 02:52 UTC+0200 Viktor Szakats * contrib/hbgd/gdbar.prg * contrib/hbgd/gdbarcod.prg * contrib/hbgd/gdchart.prg * contrib/hbgd/gdimage.prg * formatting % using HB_DEFAULT() instead of DEFAULT TO and local DEFAULT() macro (it means that in these places, type checking is more thourough than before). I left DEFAULT TO in places where the default expression is complex. ! fixed TCODE():New() to not use Alert(), use ::DrawError() instead % HGetValue(): use HB_HGETDEF() instead of equivalent local logic % use HB_ISHASH() instead of ValType() % use hb_ntos() instead of LTrim( Str() ) ; build tested only, pls review 2012-06-07 16:44 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/hbqtoolbar.prg * contrib/hbide/ideedit.prg * contrib/hbide/idefindreplace.prg ! Minor. * contrib/hbqt/qtcore/hbqt_bind.cpp * Refined: deletion of objects handelling. * contrib/hbqt/qtcore/hbqt_init.cpp * contrib/hbqt/qtgui/hbqt_init.cpp + Added: destructors to objects created under __HBQT_REVAMP__. 2012-06-08 01:14 UTC+0200 Viktor Szakats * contrib/hbct/getsecrt.prg * contrib/hbgd/gdbar.prg * contrib/hbgd/gdbarcod.prg * contrib/hbhttpd/tests/eshop.prg * contrib/hbide/ideconsole.prg * contrib/hbide/idemisc.prg * contrib/hbodbc/browodbc.prg * contrib/hbodbc/todbc.prg * contrib/hbqt/hbmk2_qt.hb * contrib/hbqt/tests/wvtqt.prg * contrib/hbsqlit3/tests/hdbctest.prg * contrib/hbtip/tests/tiptest.prg * contrib/hbtip/thtml.prg * contrib/hbwin/tests/olesrv1.prg * contrib/hbwin/tests/testax.prg * contrib/hbxpp/browdbx.prg * contrib/hbxpp/tthreadx.prg * contrib/xhb/cstruct.prg * contrib/xhb/dirrec.prg * contrib/xhb/dumpvar.prg * contrib/xhb/htjlist.prg * contrib/xhb/tcgi.prg * contrib/xhb/tedit.prg * contrib/xhb/thtm.prg * contrib/xhb/ttable.prg * contrib/xhb/xcstr.prg * contrib/xhb/xhbcls.ch * contrib/xhb/xhberr.prg * contrib/xhb/xhbole.prg * contrib/xhb/xhbtedit.prg * doc/codebloc.txt * doc/en/command.txt * doc/en/objfunc.txt * include/hbpers.ch * include/std.ch * src/common/expropt1.c * src/compiler/hbmain.c * src/debug/dbghelp.prg * src/debug/dbgtarr.prg * src/debug/dbgthsh.prg * src/debug/dbgtobj.prg * src/debug/dbgwa.prg * src/debug/debugger.prg * src/rdd/dbfntx/dbfntx0.prg * src/rdd/hbsix/sxcompat.prg * src/rdd/usrrdd/rdds/hscdx.prg * src/rdd/usrrdd/rdds/rlcdx.prg * src/rtl/browdb.prg * src/rtl/browse.prg * src/rtl/dirscan.prg * src/rtl/errsys.prg * src/rtl/hbini.prg * src/rtl/listbox.prg * src/rtl/tclass.prg * src/rtl/tlabel.prg * src/rtl/tobject.prg * src/rtl/treport.prg * utils/hbtest/rt_mt.prg * some formatting (almost only whitespace) * contrib/xhb/dirrec.prg * src/rtl/dirscan.prg ! use directry.ch constants * contrib/hbqt/tests/draggable.prg ! hbformat and manual formats/cleanups * src/vm/maindllp/dllext.c ! fixed typo in recent addition 2012-06-07 07:52 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/tests/draggable.prg ! Uncommented: oWId:setAttribute( Qt_WA_TranslucentBackground ) 2012-06-07 07:38 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/tests/draggable.prg + Added: a draggable Harbour Logo without titlebar. * contrib/hbqt/tests/testres.prg ! Rewritten: per current hbQT implementation. ; Both are supplied by Bacco, thankyou. 2012-06-07 15:40 UTC+0200 Viktor Szakats * contrib/hbrun/hbrun.hbp + build hbrun in -shared mode if HB_BUILD_CONTRIB_DYN is enabled. This means that new dynamic loading feature will work out of the box if Habrour is build using HB_BUILD_CONTRIB_DYN=yes. 2012-06-07 12:45 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + added darwin Homwbrew support * minor improvements on darwin pkg manager usage 2012-06-07 12:15 UTC+0200 Viktor Szakats * include/Makefile * include/common.ch + include/hbhash.ch + moved hash-related constants from common.ch to new hbhash.ch ; common.ch include hbhash.ch for compatibility, protected by HB_LEGACY_LEVEL4 so it will stop being included automatically. If you use HB_HAUTOADD_* or HB_HMERGE_* constants, make sure to #include "hbhash.ch". * contrib/hbrun/headers.prg * utils/hbmk2/hbmk2.prg + include hbhash.ch * src/rdd/hbsix/sxini.prg * use hbhash.ch instead of common.ch 2012-06-06 21:26 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/tests/qtrevamp.prg - Removed: note on returned QAction if it is not of same type as stated in previous commit. New hbQT is always returning NIL if a valid Qt pointer could not been obtained. This holds true for all type of objects. Actually I did not test it along these lines. So with __HBQT_REVAMP__ there is no need of :isValidPointer() any more, just test a returned object against NIL. 2012-06-06 18:54 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtcore/hbqt_bind.cpp * Struggled: to set pointer arithmatic to be used properly. Also at times Qt returns different type instead of one defined in documentation, but referred in description part only. For example, a popup menu returns null instead of QAction if no item is selected or user pressed escape. This is not possible to manage such instances in present engine. For this reason only :isValidPointer() method was introduced. In REVAMPED hbQT this is different. So to test it, the only way to ascertain is if the Harbour class name is of same type. * contrib/hbqt/tests/qtrevamp.prg + Added: popup menu option to demonstrate what happens at the background, if tracelog is activated. ; NOTE: I am not from C or C++ background at all, so some things may not be as elegant as those should be when viewed from source point of view. Also trace entries are left in the code, though under DEBUG mode, which will be cleaned once code settles down. 2012-06-07 00:43 UTC+0200 Viktor Szakats * contrib/xhb/bkgtsks.c % cleanup missed in prev 2012-06-07 00:23 UTC+0200 Viktor Szakats * contrib/xhb/bkgtsks.c * doc/en/hb_api.txt * doc/en/hb_apird.txt * include/hbapi.h * include/hbapicls.h * include/hbapierr.h * include/hbapirdd.h * include/hbcompdf.h * include/hbstack.h * include/hbtypes.h * include/hbvmpub.h * src/rdd/nulsys/nulsys.c * src/rdd/wafunc.c * src/rtl/idle.c * src/rtl/type.c * src/vm/arrays.c * src/vm/classes.c * src/vm/estack.c * src/vm/garbage.c * src/vm/hvm.c * src/vm/itemapi.c * src/vm/macro.c * src/vm/maindllp/dllext.c * src/vm/memvars.c % HB_ITEM_PTR -> PHB_ITEM * HB_ITEM_PTR, PHB_CODEBLOCK and HB_BASEARRAY_PTR marked with HB_LEGACY_LEVEL4, latter two were unused inside Harbour SVN. * contrib/xhb/bkgtsks.c * src/vm/dynsym.c % two more local pointer type synonyms deleted 2012-06-06 19:17 UTC+0200 Viktor Szakats * include/hbapi.h - deleted unused old HB_BASEARRAY_PTR type. INCOMPATIBLE. Same as PHB_BASEARRAY, use this instead. * include/hbtypes.h * src/vm/maindllp/dllext.c + added hb_macroTextValue() to hbmaindllp. ; TODO: rename all HB_ITEM_PTR to PHB_ITEM and delete former. pls shout if there is any difference in usage between these two. [DONE] 2012-06-06 16:02 UTC+0200 Viktor Szakats * contrib/make.hb * utils/hbmk2/hbmk2.es_PE.po * utils/hbmk2/hbmk2.hu_HU.po * utils/hbmk2/hbmk2.pt_BR.po * utils/hbmk2/hbmk2.prg + use JSON format instead of hand-rolled microformat for --hbinfo output (used in Harbour SVN for communication between contrib make.hb script and hbmk2) INCOMPATIBLE. Update your system in the unlikely event you use --hbinfo output. 2012-06-06 15:17 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg * marked hbmk2_* plugin API functions with HB_LEGACY_LEVEL4 2012-06-06 12:53 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + added code signing options to help screen (though still untested on darwin) 2012-06-06 12:44 UTC+0200 Viktor Szakats + contrib/hbrun/extdyn.prg + contrib/hbrun/extdynpl.hb + contrib/hbrun/extstat.prg - contrib/hbrun/pullext.prg - contrib/hbrun/pullextp.hb * contrib/hbrun/hbrun.hbp * contrib/hbrun/hbrun.prg * contrib/hbrun/plugins.prg * internal cleanup, renames and restructuring + findinpath function to accept arrays + loaded dynamic extensions are now searched in curdir, hbrun dir and PATH on non-*nix and LD_LIBRARY_PATH on *nix systems ! fixed findinpath always returning success * renamed some stuff recently introduced: HBRUN_DYN -> HBRUN_EXT hbrun.dyn -> hbrun.ext dyn plugin -> ext plugin (e.g. ext.list, ext.load, ext.unload) ; all non-core modules are called "extensions", the ones linked at build time are called "static extensions", ones loaded dynamically are called "dynamic extensions". Console command plugins are called "plugins". It's still not final. * utils/hbmk2/hbmk2.prg ! misplaced comment 2012-06-06 10:26 UTC+0200 Viktor Szakats * src/pp/ppcore.c + accept and ignore '#require' PP directive * contrib/hbrun/hbrun.prg * utils/hbmk2/hbmk2.prg + use '#require "name"' to request modules. (This replaces former '//#require', '//#pragma module' and '*#pragma module' directives.) * utils/hbmk2/hbmk2.prg + add .hbc automatically for '#require' directives (experimental) ; TODO: to work also in non-incremental mode and to work reliably in -inc mode. To not impact performance, the compiler could do a callback when #require is found, hbmk2 could find the .hbc and extend compiler options dynamically. ! fixed finding .hbc files that were detected automatically * contrib/hbrun/hbrun.1 + added my name as author 2012-06-06 04:07 UTC+0200 Viktor Szakats * contrib/hbrun/hbrun.prg * contrib/hbrun/pullext.prg + changed to use '//#require' syntax. ! filter empty dynamic modules + display error when trying to load dynamic modules in static hbrun build * include/hbver.ch * src/rtl/version.c + added hb_Version( HB_VERSION_SHARED ) to query whether the app was built in shared or static mode. FIXME: Delete it or make it work reliably 2012-06-06 03:35 UTC+0200 Viktor Szakats * contrib/hbrun/hbrun.prg ! typo causing '*#pragma module' to fail. + changed to use '//#pragma module' syntax to avoid using obsolete comment marker. 2012-06-06 02:22 UTC+0200 Viktor Szakats * contrib/hbrun/hbrun.prg + added experimental script syntax to dynamically load modules: --- testcurl.hb #require "hbcurl" ? curl_version() --- ; QUESTION: Is it possible to allow unknown #pragmas so above comment-hack could be avoided? ATM harbour compilers issues and error whenever an unknown pragma is found. 2012-06-06 02:07 UTC+0200 Viktor Szakats + contrib/hbrun/pullextp.hb * contrib/hbrun/hbrun.hbp * contrib/hbrun/hbrun.prg * contrib/hbrun/plugins.prg * contrib/hbrun/pullext.prg + added experimental support for dynamic loading of modules into hbrun. Modules can be speficied using HBRUN_EXT envvar using space delimited list, or using text file named 'hbrun.ext' in the same dir as hbrun, each line containing module name, lines beginning with '#' are considered comments. Modules can be loaded/unloaded from the console using 'ext.load <list>', 'ext.unload <list>' commands and listed using 'ext.list'. E.g.: 'ext.load hbgd' Names, UI and everything else may still change. Important: hbrun must be built in -shared mode for this to work, notice that by default it's built in -static mode ATM. Loadable modules can be created using HB_BUILD_CONTRIB_DYN=yes Harbour build-time option. Headers belonging to dynamic modules are not available in embedded for, so they need to be present on disk in current dir. 2012-06-05 15:54 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtcore/hbqt_bind.cpp + Implemented: Harbour way of looking at hbQT. QAction has been controlled, which has facilitated to achieve the desired behavior. + contrib/hbqt/tests/qtrevamp.prg + Added: demo source to review if __HBQT_REVAMP__ protocol is upto Harbour expectations. I have added few notes here and there so that user is aware of some sublities. ; NOTE: please add to qtrevamp.prg any functionality to test all parts of Qt which may not be confirming to Harbour vision, and report back on the list. 2012-06-05 23:00 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg * utils/hbmk2/hbmk2.es_PE.po * utils/hbmk2/hbmk2.hu_HU.po * utils/hbmk2/hbmk2.pt_BR.po % use '%d' in hb_strformat() instead of manually converting to string using hb_ntos() or str() ! fixed header misalignment in generated .hbx files after today's mods 2012-06-05 19:08 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg * default -plugin= extension is .hb (was .prg) + hbmk_FindInPath() API now accepts array as second parameter + .hbp files are now looked for in addons/contrib paths. They will be found the same way as .hbc files, e.g. hello.hbp in addons/hello/hello.hbp or contrib/hello/hello.hbp (dir and .hbp name must be the same for this to happen). You can extend the list of root dirs using HB_INSTALL_ADDONS (same as for .hbc files). '-info' option will output the the path where an .hbp file was found by hbmk2. This works both for .hbp files passed to command-line directly and embedded .hbp subprojects. * utils/hbmk2/hbmk2.es_PE.po * utils/hbmk2/hbmk2.hu_HU.po * utils/hbmk2/hbmk2.pt_BR.po * updated with new original strings 2012-06-05 16:45 UTC+0200 Viktor Szakats - examples/hbdoc/hbdoc2.prg + examples/hbdoc/hbdoc.prg ! fix to prev 2012-06-05 15:46 UTC+0200 Viktor Szakats * contrib/hbqt/hbmk2_qt.hb + using new API names (avoid "hbmk_2_") * utils/hbmk2/hbmk2.prg ! fixed name collision after prev - examples/hbdoc2 - examples/hbdoc2/genhtml.prg - examples/hbdoc2/gentpl.prg - examples/hbdoc2/gentxt.prg - examples/hbdoc2/genxml.prg - examples/hbdoc2/hbdoc2.ch - examples/hbdoc2/hbdoc2.hbp - examples/hbdoc2/hbdoc2.prg - examples/hbdoc2/tmplates.prg + examples/hbdoc - examples/hbdoc/hbdoc2.ch + examples/hbdoc/hbdoc.ch - examples/hbdoc/hbdoc2.hbp + examples/hbdoc/hbdoc.hbp * examples/hbdoc/genhtml.prg * examples/hbdoc/gentpl.prg * examples/hbdoc/gentxt.prg * examples/hbdoc/genxml.prg * examples/hbdoc/hbdoc2.prg * examples/hbdoc/tmplates.prg * hbdoc2 renamed to hbdoc 2012-06-05 15:06 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + added all public plugin API function with "hbmk_" prefix. old "hbmk2_" prefixed ones still exist for compatibility, but it's recommended to change them. "hbmk2" is only used now as the tool's name, but internally it's uniformly referred to as "hbmk". * utils/hbmk2/examples/plug_tpl.hb + most "hbmk2" converted to "hbmk" 2012-06-05 14:55 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg * utils/hbmk2/hbmk2.es_PE.po * utils/hbmk2/hbmk2.hu_HU.po * utils/hbmk2/hbmk2.pt_BR.po + "hbmk2" name avoided inside the source and generated comments + "hbmk2" name converted to variable so it can be easily changed ! fixed few typos in outputs/help 2012-06-05 14:17 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + added extra protection to not delete the VCS revision information when it already exists but current VCS revision extraction command didn't return any results. This often happens with new SVN 1.7.5, which fails with internal sqlite error nearly always unless 'svn cleanup' is issued. 2012-06-05 11:52 UTC+0200 Viktor Szakats * contrib/hbqt/qtgui/hbqt_errorsys.prg ! HB_ISCHAR() -> HB_ISSTRING(). Never use HB_ISCHAR() in Harbour SVN, it won't accept memo type. 2012-06-05 02:49 UTC+0200 Viktor Szakats * src/debug/debugger.prg * src/rdd/dbstrux.prg * src/rdd/dbtotal.prg * src/rdd/dbupdat.prg * src/rdd/rddord.prg * src/rdd/usrrdd/rdds/logrdd.prg * src/rtl/adir.prg * src/rtl/alert.prg * src/rtl/checkbox.prg * src/rtl/dbedit.prg * src/rtl/getsys.prg * src/rtl/getsys53.prg * src/rtl/hbi18n2.prg * src/rtl/hbini.prg * src/rtl/listbox.prg * src/rtl/menuto.prg * src/rtl/objfunc.prg * src/rtl/pushbtn.prg * src/rtl/radiobtn.prg * src/rtl/radiogrp.prg * src/rtl/scrollbr.prg * src/rtl/tbrowse.prg * src/rtl/tget.prg * src/rtl/tgetlist.prg * src/rtl/tlabel.prg * src/rtl/tmenuitm.prg * src/rtl/tmenusys.prg * src/rtl/tpopup.prg * src/rtl/treport.prg * src/rtl/ttopbar.prg * converted 'DEFAULT ... TO ...' to a) __defaultNIL() where bug compatibility is desired b) IF ... == NIL ... where default value had execution cost c) hb_default() where above side-effects were not in play % deleted '#include "common.ch"' * minor formatting ; "common.ch" is now eliminated from all core core and all contribs except gtwvg/hbide/hbxbp/xhb/examples where it's used excessively and very few more places. Please don't readd it, but use HB_DEFAULT() and HB_IS*() functions instead. Only use "common.ch" if you need HB_HAUTOADD_* or HB_HMERGE_* constants. 2012-06-05 02:07 UTC+0200 Viktor Szakats * ChangeLog ! fixed pathseps in recent changelog entries, after stabilizing new automatic .hb script. 2012-06-04 17:00 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/hbqt_errorsys.prg * Changed: ISNUMBER() => HB_ISNUMERIC() ISCHARACTER() => HB_ISCHAR() 2012-06-05 01:06 UTC+0200 Viktor Szakats * contrib/hbgd/gdbar.prg * contrib/hbqt/tests/demoqt.prg * contrib/hbqt/tests/cls_dbstruct.prg * using HB_DEFAULT() instead of DEFAULT ... TO ... % deleted '#include "common.ch"' * contrib/hbide/ideuisrcmanager.prg * generate code that better fits Harbour standards (use Class(y) syntax, separate SVN header, avoid common.ch and DEFAULT ... TO ...) * contrib/hbqt/hbmk2_qt.hb ! deleted references to hbqt2 2012-06-05 00:43 UTC+0200 Viktor Szakats * src/rtl/radiogrp.prg % deleted '#include "common.ch"' * contrib/hbtip/sessid.prg ! playing it safe: using simple IF/ENDIF instead of HB_DEFAULT() on a multi-type variable ; NOTE: One more implication of HB_DEFAULT vs. DEFAULT ... TO ... is that the default expression is always evaluated with the former. 2012-06-05 00:18 UTC+0200 Viktor Szakats * contrib/hbblat/tests/blatcmd.prg * contrib/hbblat/tests/blattest.prg * contrib/hbct/tests/datetime.prg * contrib/hbcurl/tests/ftp_uldl.prg * contrib/hbfimage/tests/fitest.prg * contrib/hbformat/hbfmtcls.prg * contrib/hbformat/utils/hbformat.prg * contrib/hbfoxpro/dll.prg * contrib/hbgd/gd.prg * contrib/hbgd/gdbarcod.prg * contrib/hbgd/tests/animgif.prg * contrib/hbgd/tests/antialia.prg * contrib/hbgd/tests/counter.prg * contrib/hbgd/tests/gdtest.prg * contrib/hbgd/tests/gdtestcl.prg * contrib/hbgd/tests/test_out.prg * contrib/hbgd/tests/testdpi.prg * contrib/hbgd/tests/tostring.prg * contrib/hbmagic/tests/hbmagit.prg * contrib/hbmisc/fcomma.prg * contrib/hbmxml/tests/testmxml.prg * contrib/hbmysql/tsqlbrw.prg * contrib/hbnf/menu1.prg * contrib/hbnf/pegs.prg * contrib/hbnf/popadder.prg * contrib/hbnf/savesets.prg * contrib/hbnf/tempfile.prg * contrib/hbpgsql/tests/cache.prg * contrib/hbpgsql/tests/dbf2pg.prg * contrib/hbpgsql/tests/simple.prg * contrib/hbpgsql/tests/stress.prg * contrib/hbqt/qtgui/hbqt_errorsys.prg * contrib/hbsms/tests/send.prg * contrib/hbsqlit3/hdbcsqlt.prg * contrib/hbsqlit3/tests/authoriz.prg * contrib/hbsqlit3/tests/backup.prg * contrib/hbsqlit3/tests/hdbctest.prg * contrib/hbsqlit3/tests/hooks.prg * contrib/hbtip/cgi.prg * contrib/hbtip/client.prg * contrib/hbtip/ftpcli.prg * contrib/hbtip/httpcli.prg * contrib/hbtip/sessid.prg * contrib/hbtip/tests/dnldftp.prg * contrib/hbtip/tests/gmail.prg * contrib/hbtip/tests/upld_ftp.prg * contrib/hbwin/tests/dlg.prg * contrib/hbwin/tests/testsvc.prg * contrib/hbwin/win_tcom.prg * contrib/hbxpp/tgetx.prg * contrib/hbxpp/xppop.prg * contrib/hbziparc/ziparc.prg * examples/hbbtree/tbtree.prg * examples/httpsrv/modules/info.prg * examples/httpsrv/modules/testajax.prg * examples/rddado/adordd.prg * examples/terminal/terminal.prg * src/rdd/usrrdd/rdds/arrayrdd.prg * src/rdd/usrrdd/rdds/logrdd.prg * src/rtl/achoice.prg * src/rtl/radiogrp.prg * src/rtl/tclass.prg * tests/usrrdd/exlog.prg * using HB_DEFAULT() instead of DEFAULT ... TO ... % deleted '#include "common.ch"' where possible ; please pay attention to places where multiple values are accepted and DEFAULT applied. It's possible some of these might have been slipped my attention and converted to HB_DEFAULT(), causing regression. * src/rdd/usrrdd/rdds/arrayrdd.prg ! typos in recent mods 2012-06-04 15:15 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/hbmk2_qt.hb ! Tweaked: ( QString * ) casted argument to be compilable. * contrib/hbqt/qtgui/qth/QFileDialog.qth + Enabled: getOpenFileName() etc. methods which we commented out because of lack of knowledge how those should been handelled. 2012-06-04 23:24 UTC+0200 Viktor Szakats * contrib/gtwvg/wvgwing.c ! fixed 64-bit warning (do not use NULL for numeric parameters) * contrib/hbqt/gtqtc/gtqtc.cpp * contrib/hbqt/hbmk2_qt.hb * contrib/hbqt/qtcore/hbqt_bind.cpp * contrib/hbqt/qtcore/hbqt_pointer.cpp * contrib/hbqt/qtgui/hbqt_errorsys.prg * contrib/hbqt/tests/demoqt.prg * contrib/hbqt/tests/testbrow.prg ! killed HB_TR_ALWAYS _again_. Do not readd them. + added FIXME for .qth information embedded into plugin % minor opt in .prg code * include/harbour.hbx * src/rtl/hbdef.c + added __DEFAULTNIL() which is fully compatible with DEFAULT ... TO ... * src/debug/dbghelp.prg * src/debug/dbgtarr.prg * src/debug/dbgthsh.prg * src/debug/dbgtmitm.prg * src/debug/dbgtobj.prg * src/debug/dbgtwin.prg * src/debug/debugger.prg * src/rdd/usrrdd/rdds/arrayrdd.prg * src/rtl/achoice.prg * src/rtl/radiogrp.prg * src/rtl/tbrowse.prg * src/rtl/tclass.prg * src/rtl/tget.prg * src/rtl/tlabel.prg * src/rtl/treport.prg * using HB_DEFAULT() instead of DEFAULT ... TO ... % deleted '#include "common.ch"' where possible 2012-06-04 14:11 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qscintilla/qth/QsciStyledText.qth ! Fixed: ( residual ) usage of hbqt_par_QString(). 2012-06-04 14:02 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/hbqreportsmanager.prg * contrib/hbide/hbqtoolbar.prg * contrib/hbide/ideactions.prg * contrib/hbide/idebrowse.prg * contrib/hbide/idechangelog.prg * contrib/hbide/idedocks.prg * contrib/hbide/idedocwriter.prg * contrib/hbide/ideeditor.prg * contrib/hbide/idefindreplace.prg * contrib/hbide/ideharbourhelp.prg * contrib/hbide/idemain.prg * contrib/hbide/idemisc.prg * contrib/hbide/ideprojmanager.prg * contrib/hbide/idesaveload.prg * contrib/hbide/ideshortcuts.prg * contrib/hbide/idetools.prg * contrib/hbide/ideuisrcmanager.prg ! Changed: QIcon() specific calls respecting latest changes in hbQT. * Optimized some code to respond to old and __HBQT_REVAMP__ proto. 2012-06-04 14:00 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/tests/demoqt.prg * contrib/hbqt/tests/signalslots.prg * contrib/hbxbp/tests/demoxbp.prg ! Changed: QIcon() specific calls respecting latest changes in hbQT. 2012-06-04 13:57 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbxbp/xbpbrowse.prg * contrib/hbxbp/xbpcombobox.prg * contrib/hbxbp/xbpcrt.prg * contrib/hbxbp/xbpdialog.prg * contrib/hbxbp/xbpfiledialog.prg * contrib/hbxbp/xbpmenubar.prg * contrib/hbxbp/xbppushbutton.prg * contrib/hbxbp/xbptoolbar.prg * contrib/hbxbp/xbptreeview.prg * contrib/hbxbp/xbpwindow.prg ! Changed: QIcon() specific calls respecting latest changes in hbQT. 2012-06-04 13:34 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/hbmk2_qt.hb ! Guarded: qth_is_QObject() function under __HBQT_REVAMP__. This facilitates to change how we would like to use this construct in the future. Also there is a lot which may be added to this protocol, apart from only detecting if a class is QObject() derived, and hence is subject to change. We will do what is proposed after all is settled on new protocol. - Removed: QIcon() hack which was exploiting hbqt_par_Qstring() usage. Also it was not per Qt documantation. Now anywhere an icon is needed, it has to be constructed explicitily with a call to QIcon( cFileName ). Earlier QIcon() was passed as only a <cFileName> INCOMPATIBLE: 3rd party libs have to modify their code. * contrib/hbqt/qtcore/qth/QLibraryInfo.qth * contrib/hbqt/qtcore/qth/QMimeData.qth * contrib/hbqt/qtgui/qth/QClipboard.qth * contrib/hbqt/qtgui/qth/QDirModel.qth * contrib/hbqt/qtgui/qth/QDropEvent.qth * contrib/hbqt/qtgui/qth/QFileSystemModel.qth * contrib/hbqt/qtgui/qth/QGraphicsSceneDragDropEvent.qth + Implemented: _HBQT_REVAMP__ specific signal/slot firing objects. * contrib/hbqt/qtgui/qth/QPushButton.qth - Removed: <CLASS> PaintEvent = </CLASS> token. * contrib/hbqt/qtgui/hbqt_hbqgraphicsitem.cpp * contrib/hbqt/qtgui/hbqt_hbqgraphicsscene.cpp * contrib/hbqt/qtgui/hbqt_hbqplaintextedit.cpp * contrib/hbqt/qtgui/hbqt_hbqtableview.cpp + Implemented: _HBQT_REVAMP__ specific signal/slot firing objects. * contrib/hbqt/qtcore/hbqt_bind.cpp * contrib/hbqt/qtcore/hbqt_hbqevents.cpp * contrib/hbqt/qtcore/hbqt_hbqslots.cpp * contrib/hbqt/qtcore/hbqt_init.cpp * contrib/hbqt/qtcore/hbqt_pointer.cpp * contrib/hbqt/qtgui/hbqt_init.cpp + Implemented: _HBQT_REVAMP__ specific signal/slot/events management. ; NOTE: hbIDE is almost running under __HBQT_REVAMP__ methodoly with signal/slots/events catched anfired properly. This implementation is subject to a lot of improvements but at of current shows up a good promise to achieve the end-results soon. 2012-06-04 13:30 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qscintilla/qth/QsciStyle.qth * contrib/hbqt/qscintilla/qth/QsciStyledText.qth ! Fixed: usage of hbqt_par_QString(). 2012-06-04 13:27 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/gtwvg/wvgwing.c ! Fixed: (probably) 64-bit warning reported on the list. 2012-06-04 19:36 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + use HB_DEFAULT() % deleted common.ch * contrib/hbrun/hbrun.prg ! fixed typo causing scripts being found in PATH to fail to open. 2012-06-04 19:15 UTC+0200 Viktor Szakats * contrib/hbblink/blinker.prg * contrib/xhb/thtm.prg * contrib/xhb/xcstr.prg * examples/hbvpdf/hbvpdf.prg * examples/hbvpdf/hbvpdft.prg * some exceptions missed in previous commit 2012-06-04 19:02 UTC+0200 Viktor Szakats * contrib/gtwvg/wvg3stat.prg * contrib/gtwvg/wvgax.prg * contrib/gtwvg/wvgcheck.prg * contrib/gtwvg/wvgclass.prg * contrib/gtwvg/wvgcombo.prg * contrib/gtwvg/wvgcrt.prg * contrib/gtwvg/wvgdarea.prg * contrib/gtwvg/wvgdatar.prg * contrib/gtwvg/wvgdlg.prg * contrib/gtwvg/wvggenrc.prg * contrib/gtwvg/wvghtmlv.prg * contrib/gtwvg/wvglistb.prg * contrib/gtwvg/wvgmenub.prg * contrib/gtwvg/wvgmle.prg * contrib/gtwvg/wvgpaint.prg * contrib/gtwvg/wvgphdlr.prg * contrib/gtwvg/wvgpushb.prg * contrib/gtwvg/wvgradio.prg * contrib/gtwvg/wvgscrlb.prg * contrib/gtwvg/wvgsle.prg * contrib/gtwvg/wvgstatb.prg * contrib/gtwvg/wvgstatc.prg * contrib/gtwvg/wvgsysw.prg * contrib/gtwvg/wvgtabpg.prg * contrib/gtwvg/wvgtoolb.prg * contrib/gtwvg/wvgtreev.prg * contrib/gtwvg/wvgwnd.prg * contrib/hbblat/blatcls.prg * contrib/hbblink/blinker.prg * contrib/hbcomm/comm.prg * contrib/hbct/ctmisc.prg * contrib/hbct/ctrand.prg * contrib/hbct/cttime.prg * contrib/hbct/fcopy.prg * contrib/hbct/getinfo.prg * contrib/hbct/getinput.prg * contrib/hbct/getsecrt.prg * contrib/hbct/keysec.prg * contrib/hbct/keytime.prg * contrib/hbct/kxlat.prg * contrib/hbct/screen3.prg * contrib/hbct/scrmark.prg * contrib/hbct/showtime.prg * contrib/hbct/tempfile.prg * contrib/hbfbird/tests/test.prg * contrib/hbfbird/tfirebrd.prg * contrib/hbgd/gd.prg * contrib/hbgd/gdbar.prg * contrib/hbgd/gdbarcod.prg * contrib/hbgd/gdchart.prg * contrib/hbmisc/calldll.prg * contrib/hbmisc/hbedit.prg * contrib/hbmisc/udpds.prg * contrib/hbmysql/tmysql.prg * contrib/hbmysql/tsqlbrw.prg * contrib/hbodbc/browodbc.prg * contrib/hbodbc/todbc.prg * contrib/hbpgsql/tpostgre.prg * contrib/hbqt/qtcore/hbqt_misc.prg * contrib/hbrun/hbrun.prg * contrib/hbsms/sms.prg * contrib/hbsqlit3/hdbcsqlt.prg * contrib/hbtip/cgi.prg * contrib/hbtip/client.prg * contrib/hbtip/encb64.prg * contrib/hbtip/encoder.prg * contrib/hbtip/ftpcli.prg * contrib/hbtip/httpcli.prg * contrib/hbtip/log.prg * contrib/hbtip/mail.prg * contrib/hbtip/popcli.prg * contrib/hbtip/sendmail.prg * contrib/hbtip/smtpcli.prg * contrib/hbtip/thtml.prg * contrib/hbtip/url.prg * contrib/hbtpathy/telepath.prg * contrib/hbwin/tests/testprn.prg * contrib/hbwin/wce_sim.prg * contrib/hbwin/win_os.prg * contrib/hbwin/win_reg.prg * contrib/hbwin/win_tbmp.prg * contrib/hbwin/win_tprn.prg * contrib/hbxbp/hbpprocess.prg * contrib/hbxbp/xbp3state.prg * contrib/hbxbp/xbpbrowse.prg * contrib/hbxbp/xbpcheckbox.prg * contrib/hbxbp/xbpcombobox.prg * contrib/hbxbp/xbpcrt.prg * contrib/hbxbp/xbpdataref.prg * contrib/hbxbp/xbpdialog.prg * contrib/hbxbp/xbpfiledialog.prg * contrib/hbxbp/xbpfontdialog.prg * contrib/hbxbp/xbpgeneric.prg * contrib/hbxbp/xbpgra.prg * contrib/hbxbp/xbphtmlviewer.prg * contrib/hbxbp/xbplistbox.prg * contrib/hbxbp/xbpmenubar.prg * contrib/hbxbp/xbpmle.prg * contrib/hbxbp/xbpparthandler.prg * contrib/hbxbp/xbppresspace.prg * contrib/hbxbp/xbpprintdialog.prg * contrib/hbxbp/xbpprinter.prg * contrib/hbxbp/xbppushbutton.prg * contrib/hbxbp/xbpradiobutton.prg * contrib/hbxbp/xbprtf.prg * contrib/hbxbp/xbpscrollbar.prg * contrib/hbxbp/xbpsle.prg * contrib/hbxbp/xbpspinbutton.prg * contrib/hbxbp/xbpstatic.prg * contrib/hbxbp/xbpstatusbar.prg * contrib/hbxbp/xbpstyle.prg * contrib/hbxbp/xbptabpage.prg * contrib/hbxbp/xbptoolbar.prg * contrib/hbxbp/xbptreeview.prg * contrib/hbxbp/xbpwindow.prg * contrib/hbxpp/dbfuncsx.prg * contrib/hbxpp/runshell.prg * contrib/hbxpp/thfuncx.prg * contrib/hbxpp/tthreadx.prg * contrib/xhb/cstruct.prg * contrib/xhb/dbgfx.prg * contrib/xhb/dirrec.prg * contrib/xhb/dumpvar.prg * contrib/xhb/hbcomprs.prg * contrib/xhb/hblog.prg * contrib/xhb/hjwindow.prg * contrib/xhb/hterrsys.prg * contrib/xhb/htmutil.prg * contrib/xhb/sprintf.prg * contrib/xhb/tedit.prg * contrib/xhb/tframe.prg * contrib/xhb/thtm.prg * contrib/xhb/trpc.prg * contrib/xhb/trpccli.prg * contrib/xhb/ttable.prg * contrib/xhb/xcstr.prg * contrib/xhb/xdbmodst.prg * contrib/xhb/xhberr.prg * contrib/xhb/xhbmemo.prg * contrib/xhb/xhbmt.prg * contrib/xhb/xhbtedit.prg * contrib/xhb/xhbver.prg * examples/guestbk/inifiles.prg * examples/hbdoc2/genhtml.prg * examples/hbdoc2/hbdoc2.prg * examples/hbvpdf/hbvpdf.prg * examples/hbvpdf/hbvpdft.prg * examples/httpsrv/uhttpd.prg * examples/rddado/adordd.prg * IS*() macros converted to HB_IS*() function calls. (using full uppercase to make them stand out) % deleted '#include "common.ch"' where possible 2012-06-04 17:51 UTC+0200 Viktor Szakats * include/harbour.hbx * src/rtl/Makefile + src/rtl/hbdef.c + added HB_DEFAULT( @<xVariable>, <xDefaultValue> ) it can replace DEFAULT ... TO ... command. In addition it will set the value to the default one even when the variable has any other type, not only NIL. 2012-06-04 17:21 UTC+0200 Viktor Szakats * src/debug/dbgbrwsr.prg * src/debug/dbgtarr.prg * src/debug/dbgthsh.prg * src/debug/dbgtinp.prg * src/debug/dbgtmenu.prg * src/debug/dbgtobj.prg * src/debug/dbgwa.prg * src/debug/debugger.prg * src/rdd/dbstruxu.prg * src/rdd/dbtotal.prg * src/rdd/hbsix/sxcompat.prg * src/rdd/hbsix/sxini.prg * src/rdd/hbsix/sxtrig.prg * src/rdd/rddord.prg * src/rdd/rddordu.prg * src/rdd/usrrdd/rdds/arrayrdd.prg * src/rdd/usrrdd/rdds/hscdx.prg * src/rdd/usrrdd/rdds/logrdd.prg * src/rdd/usrrdd/rdds/rlcdx.prg * src/rtl/achoice.prg * src/rtl/adir.prg * src/rtl/alert.prg * src/rtl/checkbox.prg * src/rtl/color53.prg * src/rtl/dbedit.prg * src/rtl/einstv52.prg * src/rtl/einstvar.prg * src/rtl/errsys.prg * src/rtl/fieldbl.prg * src/rtl/getsys.prg * src/rtl/getsys53.prg * src/rtl/gui.prg * src/rtl/hbdoc.prg * src/rtl/hbfilehi.prg * src/rtl/hbi18n2.prg * src/rtl/hbini.prg * src/rtl/libname.prg * src/rtl/listbox.prg * src/rtl/memoedit.prg * src/rtl/memvarbl.prg * src/rtl/memvarhb.prg * src/rtl/menusys.prg * src/rtl/menuto.prg * src/rtl/objfunc.prg * src/rtl/profiler.prg * src/rtl/pushbtn.prg * src/rtl/radiobtn.prg * src/rtl/radiogrp.prg * src/rtl/readvar.prg * src/rtl/scrollbr.prg * src/rtl/setfunc.prg * src/rtl/tbcolumn.prg * src/rtl/tbrowse.prg * src/rtl/tbrowsys.prg * src/rtl/tclass.prg * src/rtl/teditor.prg * src/rtl/tget.prg * src/rtl/tgetlist.prg * src/rtl/tmenuitm.prg * src/rtl/tmenusys.prg * src/rtl/tobject.prg * src/rtl/tpersist.prg * src/rtl/tpopup.prg * src/rtl/ttopbar.prg * src/rtl/typefile.prg * tests/hbdoctst.prg * utils/hbmk2/hbmk2.prg * IS*() macros converted to HB_IS*() function calls. (using full uppercase to make them stand out) % deleted '#include "common.ch"' where possible 2012-06-04 15:26 UTC+0200 Viktor Szakats * src/3rd/zlib/Makefile * src/3rd/zlib/* * updated to 1.2.7 from 1.2.6. Using 3rdpatch.hb and .dif reapplied manually. * src/rtl/hbzlibgz.c + HB_GZOPEN() updated to use new in zlib 1.2.7 wide gzopen() on Windows. It means now it supports unicode filenames. * contrib/hbmzip/3rd/minizip/zip.c * updated manually from zlib 1.2.7 (two warnings fixed) 2012-06-04 14:25 UTC+0200 Viktor Szakats * src/3rd/png/Makefile * src/3rd/png/* * updated to 1.5.10 from 1.5.9 (using 3rdpatch.hb) 2012-06-04 14:00 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + '-trace' option to log VCS version exract command * contrib/3rd/sqlite3/sqlite3.c * contrib/3rd/sqlite3/sqlite3.dif * contrib/3rd/sqlite3/sqlite3.h * contrib/3rd/sqlite3/sqlite3.hbp * updated to 3.7.12.1 from 3.7.10 (using 3rdpatch.hb) 2012-06-04 13:45 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg * utils/hbmk2/hbmk2.pt_BR.po * utils/hbmk2/hbmk2.hu_HU.po * utils/hbmk2/hbmk2.es_PE.po ! synced help text with actual list of supported macros. 2012-06-04 11:51 UTC+0200 Viktor Szakats * tests/rddtest/adscl52.prg * tests/rddtest/adscl53.prg * tests/rddtest/ntxcl52.prg * tests/rddtest/ntxcl53.prg * tests/rddtest/cdxcl52.prg * tests/rddtest/cdxcl53.prg * examples/gfspell/spell.prg * examples/httpsrv/uhttpd.prg * examples/httpsrv/cookie.prg * examples/httpsrv/cgifunc.prg * examples/httpsrv/session.prg * examples/terminal/trm_cli.prg * examples/terminal/terminal.prg * examples/terminal/trm_srv.prg * examples/terminal/trm_app.prg * examples/terminal/readme.txt * examples/gtwvw/tests/wvwmouse.prg * examples/gtwvw/tests/cbtest1.prg * examples/gtwvw/tests/maincoor.prg * examples/gtwvw/tests/cbtest6.prg * examples/gtwvw/tests/wvwtest9.prg * examples/gtwvw/tests/ebtest7.prg * examples/gtwvw/tests/maximize.prg * examples/gtwvw/tests/inpfocus.prg * '<>' -> '!=' 2012-06-04 11:41 UTC+0200 Viktor Szakats * contrib/hbformat/hbfmtcls.prg + use harbour.hbx as proper-casing database (instead of incomplete local list of Harbour functions) + completed list of IS*() macros 2012-06-04 11:28 UTC+0200 Viktor Szakats * contrib/hbformat/hbfmtcls.prg + DispOutAt * contrib/hbnetio/utils/hbnetioq/netiosrq.prg * contrib/gtwvg/wvgclass.prg * contrib/gtwvg/wvgdlg.prg * contrib/gtwvg/wvgpaint.prg * contrib/gtwvg/wvgtoolb.prg * contrib/gtwvg/tests/wvgtbrowser.prg * contrib/gtwvg/tests/demoxbp.prg * contrib/gtwvg/tests/wvgxbp.prg * contrib/gtwvg/tests/wvgactivex.prg * contrib/gtwvg/wvgwnd.prg * contrib/gtwvg/wvgdatar.prg * contrib/gtwvg/wvgsysw.prg * contrib/gtwvg/wvgmenub.prg * contrib/gtwvg/wvgphdlr.prg * contrib/gtwvg/wvgbitmp.prg * contrib/gtwvg/wvgstatc.prg * contrib/xhb/decode.prg * contrib/xhb/ttable.prg * contrib/hbide/ideconsole.prg * tests/db_brows.prg * tests/inkeytst.prg * tests/ifinline.prg * tests/inifiles.prg * tests/test_all.prg * tests/fsplit.prg * '<>' -> '!=' or '!( == )' caught a few _SET_EXACT dependend code too. 2012-06-04 01:14 UTC+0200 Viktor Szakats * contrib/hbtip/thtml.prg ! typo in prev 2012-06-04 00:40 UTC+0200 Viktor Szakats * contrib/hbziparc/ziparc.prg ! fixed for unicode in another location % optimization to prev unicode fix * contrib/hbtip/thtml.prg ! fixed chr() usage for unicode mode * formatted (hbformat and manual) % deleted excessive parentheses ! STATICs converted to THREAD STATIC * contrib/hbtip/cgi.prg * contrib/hbtip/httpcli.prg * contrib/hbtip/client.prg * contrib/hbtip/tests/base64.prg ! fread()/fwrite() calls fixed for unicode ! fixed some more anomalies, like wrongly checkingg fwrite() for negative result, calling fread() with 4 parameters, passing buffer by reference to fwrite(), minor optimizations and formatting. * contrib/hbtip/url.prg * formatting ; build tested only 2012-06-03 23:14 UTC+0200 Viktor Szakats * contrib/hbqt/qtcore/hbqt.h ! deleted hbqt_par_QString() macro. It was not translating between HVM CP, so it was wrong. ; FIXME: HBQSCINTILLA is broken now, because it's still used there. [DONE] 2012-06-03 11:16 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtcore/qth/HBQString.qth * contrib/hbqt/qtcore/qth/QFileInfo.qth * contrib/hbqt/qtnetwork/qth/QNetworkProxy.qth - Eliminated: any hbqt_par_QString() occurances. 2012-06-03 03:02 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtcore/hbqt_bind.cpp + Implemented: requested by the group protocol - to handle parent-child relations internally by hbQT leading not to hold everything in scoped variables. All objects will behave accordingly except QAction() which is never get a parent accoring to Qt docs. ; NOTE: will explain this in detail in reply to the message of this commit. 2012-06-03 01:48 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/hbmk2_qt.hb ! Changed: hb_itemReturn() => hb_itemReturnRelease() to honor Harbour variable scoping protocol. We need another method to keep it alive inside new methodology. + contrib/hbqt/qtcore/hbqt_destroyer.cpp + contrib/hbqt/qtcore/hbqt_destroyer.h + Contains: HBQDestroyer() a generic class whose sole purpose is to catch "destroyed()" signal of any QObject and then forward it to new engine to delete harbour object. * contrib/hbqt/qtcore/hbqt_bind.cpp + Added: "destroyed()" signal on QObject() derived classes. * contrib/hbqt/qtcore/hbqt_misc.prg + Added: #define __HBQT_REVAMP__ then commented out. Activated: destructor guarded against above define. * contrib/hbqt/qtcore/hbqtcore.hbm + Added: new sources. ; NOTE: this implementation prevents double freeing of Qt objects while keeping Harbour variable's scope protocol intact. So if Qt deletes an object, Harbour object is also cleared automatically. The same applies if Harbour variable goes out of scope, Qt object is deleted, which is safe, because Qt allows it. Now no GPF on exit on any demo, including hbIDE, with __HBQT_REVAMP__ enabled. 2012-06-03 10:01 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + added ${hb_verstr} macro returning: "3.2.0dev" + added ${hb_ver} macro returning: "030200" (in hex like __HARBOUR__ constant) 2012-06-02 15:43 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtcore/qth/QChildEvent.qth * contrib/hbqt/qtcore/qth/QEvent.qth * contrib/hbqt/qtcore/qth/QLatin1Char.qth * contrib/hbqt/qtcore/qth/QLatin1String.qth * contrib/hbqt/qtcore/qth/QMimeData.qth * contrib/hbqt/qtcore/qth/QObject.qth * contrib/hbqt/qtcore/qth/QTextDecoder.qth * contrib/hbqt/qtcore/qth/QTextEncoder.qth * contrib/hbqt/qtcore/qth/QThread.qth * contrib/hbqt/qtcore/qth/QTranslator.qth ! Fixed: constructors. 2012-06-02 14:40 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/qth/QCalendarWidget.qth * contrib/hbqt/qtgui/qth/QCheckBox.qth * contrib/hbqt/qtgui/qth/QCloseEvent.qth * contrib/hbqt/qtgui/qth/QCommandLinkButton.qth * contrib/hbqt/qtgui/qth/QCompleter.qth * contrib/hbqt/qtgui/qth/QConicalGradient.qth * contrib/hbqt/qtgui/qth/QDateEdit.qth * contrib/hbqt/qtgui/qth/QDateTimeEdit.qth * contrib/hbqt/qtgui/qth/QDeclarativeContext.qth * contrib/hbqt/qtgui/qth/QDial.qth * contrib/hbqt/qtgui/qth/QDialog.qth * contrib/hbqt/qtgui/qth/QDockWidget.qth * contrib/hbqt/qtgui/qth/QDoubleSpinBox.qth * contrib/hbqt/qtgui/qth/QDrag.qth * contrib/hbqt/qtgui/qth/QErrorMessage.qth * contrib/hbqt/qtgui/qth/QFileSystemModel.qth * contrib/hbqt/qtgui/qth/QFocusFrame.qth * contrib/hbqt/qtgui/qth/QFontComboBox.qth * contrib/hbqt/qtgui/qth/QFontMetrics.qth * contrib/hbqt/qtgui/qth/QFontMetricsF.qth * contrib/hbqt/qtgui/qth/QGroupBox.qth * contrib/hbqt/qtgui/qth/QInputDialog.qth * contrib/hbqt/qtgui/qth/QItemSelection.qth * contrib/hbqt/qtgui/qth/QKeySequence.qth * contrib/hbqt/qtgui/qth/QLCDNumber.qth * contrib/hbqt/qtgui/qth/QListView.qth * contrib/hbqt/qtgui/qth/QMatrix.qth * contrib/hbqt/qtgui/qth/QMessageBox.qth * contrib/hbqt/qtgui/qth/QMovie.qth * contrib/hbqt/qtgui/qth/QPainterPath.qth * contrib/hbqt/qtgui/qth/QPixmap.qth * contrib/hbqt/qtgui/qth/QProgressBar.qth * contrib/hbqt/qtgui/qth/QProgressDialog.qth * contrib/hbqt/qtgui/qth/QRadioButton.qth * contrib/hbqt/qtgui/qth/QSpacerItem.qth ! Fixed: constructors. This has been a tidious process and I could have broken something in the process, though, all demoes and hbIDE is working fine. If you find some inconsistency, please shout. Also if someone can overlook the .qth's for remaining files yet needs the constructors reworked, it will be a great help. 2012-06-01 17:40 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/hbqtoolbar.prg * contrib/hbide/ideactions.prg * contrib/hbide/ideeditor.prg * contrib/hbide/idethemes.prg ! Changed: a little to pass correct parameters to methods as per the changes in constructors. ; NOTE: now hbIDE neither throws any GPF on exit nor reports "object destructure failure : reference to freed block" 2012-06-01 17:14 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/qth/HBQSyntaxHighlighter.qth * contrib/hbqt/qtgui/qth/QAction.qth * contrib/hbqt/qtgui/qth/QBoxLayout.qth * contrib/hbqt/qtgui/qth/QFormLayout.qth * contrib/hbqt/qtgui/qth/QFrame.qth * contrib/hbqt/qtgui/qth/QGridLayout.qth * contrib/hbqt/qtgui/qth/QLineEdit.qth * contrib/hbqt/qtgui/qth/QPushButton.qth * contrib/hbqt/qtgui/qth/QScrollArea.qth * contrib/hbqt/qtgui/qth/QSizeGrip.qth * contrib/hbqt/qtgui/qth/QSlider.qth * contrib/hbqt/qtgui/qth/QSound.qth * contrib/hbqt/qtgui/qth/QSpinBox.qth * contrib/hbqt/qtgui/qth/QSplashScreen.qth * contrib/hbqt/qtgui/qth/QSplitter.qth * contrib/hbqt/qtgui/qth/QStackedWidget.qth * contrib/hbqt/qtgui/qth/QStandardItem.qth * contrib/hbqt/qtgui/qth/QStandardItemModel.qth * contrib/hbqt/qtgui/qth/QStringListModel.qth * contrib/hbqt/qtgui/qth/QSystemTrayIcon.qth * contrib/hbqt/qtgui/qth/QTabBar.qth * contrib/hbqt/qtgui/qth/QTableWidget.qth * contrib/hbqt/qtgui/qth/QTabWidget.qth * contrib/hbqt/qtgui/qth/QTextBrowser.qth * contrib/hbqt/qtgui/qth/QTextDocument.qth * contrib/hbqt/qtgui/qth/QTextEdit.qth * contrib/hbqt/qtgui/qth/QTextFormat.qth * contrib/hbqt/qtgui/qth/QTimeEdit.qth * contrib/hbqt/qtgui/qth/QToolBox.qth * contrib/hbqt/qtgui/qth/QToolButton.qth * contrib/hbqt/qtgui/qth/QTreeView.qth * contrib/hbqt/qtgui/qth/QTreeWidget.qth * contrib/hbqt/qtgui/qth/QWidgetAction.qth * contrib/hbqt/qtgui/qth/QWidgetItem.qth * contrib/hbqt/qtgui/qth/QWizardPage.qth ! Fixed: constructors. Now hbIDE shows up with __HBQT_REVAMP__. 2012-06-01 08:05 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/qth/HBQTableView.qth * contrib/hbqt/qtgui/qth/QHeaderView.qth * contrib/hbqt/qtgui/qth/QListWidgetItem.qth * contrib/hbqt/qtgui/qth/QStatusBar.qth * contrib/hbqt/qtgui/qth/QTextDocument.qth * contrib/hbqt/qtgui/qth/QTreeWidgetItem.qth ! Fixed: constructors for few more classes. Now contrib/hbxbp/demoxbp.prg shows up at least. 2012-05-31 23:32 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/qth/QApplication.qth * contrib/hbqt/qtgui/qth/QColorDialog.qth * contrib/hbqt/qtgui/qth/QDirModel.qth * contrib/hbqt/qtgui/qth/QHBoxLayout.qth * contrib/hbqt/qtgui/qth/QPageSetupDialog.qth * contrib/hbqt/qtgui/qth/QScrollBar.qth * contrib/hbqt/qtgui/qth/QTableView.qth * contrib/hbqt/qtgui/qth/QVBoxLayout.qth * contrib/hbqt/qtgui/qth/QWizard.qth ! Fixed: constructors which was basically wrong way to get a class object. This became visible only when QPointer< QClass > guard is eliminated which was hiding this wrong way. * contrib/hbqt/hbmk2_qt.hb * contrib/hbqt/qtcore/hbqt.h + contrib/hbqt/qtcore/hbqt_bind.cpp + contrib/hbqt/qtcore/hbqt_obj.prg * contrib/hbqt/qtcore/hbqt_pointer.cpp * contrib/hbqt/qtcore/hbqtcore.hbm * contrib/hbqt/qtcore/hbqtcore.hbx + Implemented Przemek's draft concept with some changes. This can be invoked by uncommenting #define __HBQT_REVAMP__ directive in hbqt.h and hbmk2_qt.hb and recompiling hbQT. ; NOTE: all demo tests in contrib/hbqt/tests/* are working ok with new revamped engine, which, I hope will be matured with time, and only if Przemek will revive his interest in this project. The demos are working ok with a GPF on exit. I did not tried hard to track but hopefully will be a minor issue. This implementation is not taking use of QPointer<> guard and is operational on pure pointers, it has discovered a fundamental flaw in some of the .qth where constructors were not adhering to primary rules. It may take me a while to visit all the classes and make the correction. Today's implementation has fixes for those classes which are used in demo programs. This commit became essential in the wake of divided thoughts about having two implementations in parallel. This commit shows the way that we do not need that, just few changes in core engine will establish the solid foundation. 2012-05-31 13:58 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/contrib/hbct/getsecrt.prg ! do not use RANGEREPL() which is not UTF8 ready function 2012-05-26 12:12 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtcore/hbqt_pointer.cpp ! Changed: HB_FUNC( SIGNAL2SLOT ) => HB_FUNC( HBQT_CONNECT ) * contrib/hbqt/tests/signalslots.prg * Applied above change. 2012-05-25 18:36 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtcore/qth/QObject.qth + Uncommented: method QList<QObject*> children() const. 2012-05-25 00:12 UTC+0200 Francesco Perillo (fperillo at gmail.com) * Changelog * Mispelled name corrected 2012-05-24 12:15 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtcore/hbqt_pointer.cpp + Added: HB_FUNC( SIGNAL2SLOT ) which simulates exactly Qt's way of signal/slot mechanism. Now hbQT has yet another way to mimic signal/slots. + contrib/hbqt/tests/signalslots.prg + Added: deno program to demonstrate Qt's way of signal/slot affinity in Harbour. NOTE: above contribution is made by Francesco Perillo, thanks. 2012-05-24 14:35 UTC+0200 Viktor Szakats * contrib/hbtip/ftpcli.prg ! fixed item deletion inside FOR EACH loop (regression from 5 years ago). Suggested by Klas Engwall. 2012-05-24 13:09 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/config/postinst.hb ! remove old links before hb_FLinkSym() is called. Without it old links were not overloaded and I've just noticed that I have still active links to old harbour shared library in my system. 2012-05-23 18:48 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/hbqreportsmanager.prg * contrib/hbide/idefindreplace.prg * contrib/hbide/ideskeletons.prg ! Fixed: some more regression failures. 2012-05-23 15:41 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/hbqtoolbar.prg * contrib/hbide/ideactions.prg * contrib/hbide/idebrowse.prg * contrib/hbide/idedocks.prg * contrib/hbide/idemisc.prg ! Streamlined: HBQToolbar class adding more methods and refining others. All toolbars in hbIDE except the one, are now based on HBQToolbar() class and probably it becomes candidate to be transferred to hbQT after a bit of polishing. 2012-05-23 14:24 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbxbp/xbpfiledialog.prg - Removed: a latest introduced test code. 2012-05-22 18:11 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbxbp/xbptoolbar.prg ! Fixed: one regression based on recent hbQT mem leak fixes. * contrib/hbide/ideedit.prg * Fixed: recursively attching self to some instance variable. * Normalized: code. * contrib/hbide/ideactions.prg * contrib/hbide/idemisc.prg * Fixed: some lost actions resulting after recent hbQT changes. NOTE: more are left still, stay tuned. 2012-05-22 14:13 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbxbp/xbpfiledialog.prg * Fixed: how :connect()/:disconnect() was applied. NOTE: until a :disconnect() is performed on an object which has an actice :connect(), it never goes out-of-scope. 2012-05-22 18:42 UTC+0200 Viktor Szakats * src/rtl/hbdoc.prg * src/rtl/hbini.prg * src/rtl/hbi18n2.prg ! fixed potential bugs with UTF8 HVM CP % using hb_FileExists() instead of File() in .ini handling code ; build tested only, review me & test 2012-05-22 16:50 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/src/vm/arrays.c * allow to call hb_arrayId() with NULL parameter * harbour/include/hbapiitm.h * harbour/src/vm/itemapi.c + added internal HVM function hb_itemPutPtrRawGC() - it's necessary for blocks allocated with hb_gcAllocRaw(). * harbour/src/vm/thread.c ! use hb_itemPutPtrRawGC() instead of hb_itemPutPtrGC() It fixes internal errors (i.e. reported in build process) after my previous commit. 2012-05-22 14:42 UTC+0200 Viktor Szakats * INSTALL + updated platform compatibility matrix to use Markdown markup (try with any Markdown enabled editor/viewer) 2012-05-21 15:43 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/src/vm/garbage.c + allow to call hb_itemPutPtrGC() with the same GC block more then once. 2012-05-18 17:58 UTC+0200 Viktor Szakats * contrib/hbwin/win_reg.prg ! fixed RTE when non-NIL/non-numeric nRegSam is passed + minor cleanup/formatting 2012-05-18 18:15 UTC+0300 Pavel Tsarenko (tpe2 at mail.ru) * contrib/hbwin/win_reg.prg * contrib/hbwin/tests/test_reg.prg * added nRegSam (access mask) parameter into functions: win_regRead, win_regWrite, win_regGet, win_regDelete, win_regQuery, win_regSet. This parameter can be used in win32 applications, running under win64 systems for access to 32-bit or 64-bit registry. 2012-05-18 16:49 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/include/hbcom.ch * harbour/src/rtl/hbcom.c + added two new errors: HB_COM_ERR_ACCESS, HB_COM_ERR_NOCOM 2012-05-17 14:07 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/hbmk2_qt.hb ! Fix to last fix. * contrib/hbqt/qtgui/qth/QListWidget.qth * contrib/hbqt/qtgui/qth/QMainWindow.qth + Added: attach/detach/return_not_new tags. [*D=n;A=n;R=n*] * contrib/hbqt/tests/demoqt.prg ! On path to prevent memory leaks. Please investigate the code changes and you will know how many objects were been around without any mechanism to free them. You can take help of Qt documentation. ; NOTE: currently demoqt.prg is the test bed for oncoming GC related changes. * contrib/hbide/hbqreportsmanager.prg * contrib/hbide/hbqtoolbar.prg * contrib/hbide/idebrowse.prg * contrib/hbide/ideeditor.prg * contrib/hbide/ideharbourhelp.prg ! On path to preparation for memory leakage. ; WARNING: hbIDE is not at stable stage present. ; I always wondered why memory consumption goes on increasing with time application written with hbQT. Now I have the answer, and hopefully in few coming days a great amount of them will be covered. 2012-05-17 14:07 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/hbmk2_qt.hb + Implemented: detach a returned object of a method where parent do not retain the ownership of the child with itself. In that case Harbour has to delete it explicitly. This can be activated with [*R=1*] tag postfixing the method call in relevant .qth. EXAMPLE: QToolBar():addAction( cText ) * contrib/hbqt/qtgui/qth/QMenu.qth * contrib/hbqt/qtgui/qth/QMenuBar.qth * contrib/hbqt/qtgui/qth/QToolBar.qth + Added: [*R=1*] tags whereever necessary. ; NOTE: I have tried with QAction() only to locate where it is returned as a not-owned object. Please dig into Qt documentation to find the other occurances. I know it is a tedious job, but we have to do it anyway, which me alone cannot achieve. 2012-05-17 23:08 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/include/hbgtinfo.ch + added new HB_GTI_FONTATTRIBUTE value: HB_GTI_FONTA_CTRLCHARS When used it forces using CTRL characters (from chr(0) to chr(31)) directly without translation to CP437 unicode values. In windows some fonts need it to correctly display them. * harbour/src/rtl/gtwvt/gtwvt.h * harbour/src/rtl/gtwvt/gtwvt.c + added support for hb_gtInfo( HB_GTI_FONTATTRIBUTE, HB_GTI_FONTA_CTRLCHARS ) * harbour/src/rtl/hbgtcore.c ! do not replace CTRL chars with '?' in HB_GTSELF_GETUC() method 2012-05-17 22:54 UTC+0200 Viktor Szakats * include/harbour.hbx ! minor 2012-05-17 18:33 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/src/rtl/cdpapi.c % use HB_CDP_ISUTF8( cdp ) macro instead of cdp == &s_utf8_codepage It should eliminate unnecessary translations and speedup some operations. 2012-05-17 18:12 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/include/hbstack.h * harbour/src/vm/codebloc.c * harbour/src/vm/estack.c * harbour/src/vm/hvm.c % split hb_stackLocalVariable( int * ) macro and function into two different actions: hb_stackLocalVariable( int ) // access/assign local var hb_stackLocalVariableAt( int * ) // create reference to local var 2012-05-16 12:24 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtcore/hbqt.h * contrib/hbqt/qtcore/hbqt_pointer.cpp - Removed: residual contructs pointing to "HB_U32 type" member of all the important structure of HBQT plus the functions associated with it. Strange point is that the bug was not showing up on Windows. Thanks Francesco for dig-up. 2012-05-16 19:23 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/src/vm/classes.c % small optimization in __CLSGetProperties() function * harbour/src/rtl/tpersist.prg ! force linkin ARRAY() function when HBPersistent class is used ! use hb_ValToExp() instead of local ValToText() function which didn't work correctly for memos and some other types ! fixed infinite loop in HBPersistent:LoadFromText() used with empty text. The problem was also exploited by :LoadFromFile() method if file does not exists or it's empty() ! fixed deserialization of strings containing "=" char inside ! fixed deserialization of strings containing "::" ! added support for decoding nested objects - the code was not finished and this part was not implemented at all + added support for serialized text using ":=" assign operator instead of "=" * use ":=" instead of "=" as assign operator in new serialized text + ignore lines starting with "//" and added support for files which do not start with OBJECT directive * ignore pointer and codeblock items stored in instance variables during serialization ; now HBPersistent class in Harbour should read serialized files created in xHarbour with few exceptions: - Harbour does not allow to serialize codeblocks See "CODEBLOCK SERIALIZATION / DESERIALIZATION" in doc/xhb-diff.txt for the reasons. If Harbour application restores xHarbour HBPersistent files with serialized codeblocks then RTE Undefined function: HB_RESTOREBLOCK is generated. - xHarbour serialize pointer items as numeric items saved in hexadecimal notation. Then restore them as numbers. - HBPersistent does not support hash arrays - they are serialized by default serialization code used by both compilers to generate expressions. In Harbour it's done by hb_valToExp() function and in xHarbour ValToPrg() is used. ValToPrg() does not create valid macrocompiler expressions for arrays and objects so HBPersistent files created by xHarbour are broken and cannot be correctly deserialized. It happens if object has hash arrays in instance variables and these hash arrays contain normal arrays or objects. If Harbour application restores such xHarbour HBPersistent file then RTE "Syntax error: &" is generated. ; xHarbour encapsulates deserialization code inside TRY/CATCH/END statement saving errors to trace.log file. Harbour generates RTE. If programmer needs similar behavior then he should call :LoadFromText() and :LoadFromFile() methods inside BEGIN SEQUENCE [ / RECOVER ... ] / END SEQUENCE statement. ; xHarbour reinitialize all or properties instance variables to default state inside :LoadFromText() and :LoadFromFile() methods. The 3rd parameter in above method <lPropertiesOnly> allows to chose which install variables should be reinitialized: all (default) or properties only. Harbour does not have such functionality. If programmer needs it then he should reinitialize them himself. It can be easy done be simple function. Alternatively we can implement this functionality but in such case I'd suggest to define three actions for such switch: none (default), all, properties only. ; Harbour does not support 2nd parameter <lIgnoreBadIVars> which exist in xHarbour versions of HBPersistent:LoadFromText() and HBPersistent:LoadFromFile(): If necessary we can implement it though it's usable only if we want to ignore some wrong lines and process others. [Update: support for <lIgnoreErrors> have been added] ; Warning: Neither Harbour nor xHarbour supports arrays and objects with cyclic references in HBPersistent code - infinite loop appears in such case. ; I've never used HBPersistent and the state of the previous HBPersistent code in Harbour suggests that no one used it for some serious jobs so I'm open for any opinions and suggestions about it from xHarbour users. * harbour/src/compiler/harbour.y * generate line numbers before extended codeblocks - it gives more debugger friendly code. * harbour/src/compiler/harbour.yyh * harbour/src/compiler/harbour.yyc * regenerated (with bison 2.4.1) 2012-05-16 18:38 UTC+0200 Viktor Szakats * src/rtl/hbgtcore.c * src/rtl/rat.c * src/codepage/cp_utf8.c % deleted unnecessary assignment generating warnings with some compilers 2012-05-16 18:28 UTC+0200 Viktor Szakats * src/vm/set.c ! added missing '#include "hbvm.h"' for hb_vmIsReady() 2012-05-15 20:40 UTC+0300 Pavel Tsarenko (tpe2 at mail.ru) * contrib/hbtip/ftpcli.prg ! small fix in the :FileSize() method * contrib/hbtip/client.prg * added additional check in the :ReadToFile() method 2012-05-15 18:08 UTC+0200 Viktor Szakats * contrib/hbqt/qtwebkit/hbqtwebkit.hbm * contrib/hbqt/hbqt_common.hbm * INSTALL + added support for QT from Homebrew package manager. Probably a better option than the official installer which is a) not compatible with latest Xcode changes b) copies millions of files into the system file structure with no easy uninstall or upgrade option. 2012-05-15 13:20 UTC+0200 Viktor Szakats * src/common/hbgete.c ! fix to prev. test and review pls. BTW, the solution is on google, so you can redo it too: https://issues.apache.org/jira/browse/STDCXX-358 2012-05-15 13:05 UTC+0200 Viktor Szakats * src/common/hbgete.c ! fixed unsetenv() usage for older Darwin versions (e.g. Tiger) (please test) 2012-05-15 00:01 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/hbmk2_qt.hb * contrib/hbqt/qtcore/hbqtcore.h * contrib/hbqt/qtgui/hbqt_hbqabstractitemmodel.cpp * contrib/hbqt/qtgui/hbqtgui.h - Removed: the usage of HBQT_TYPE_xxxx constants. It was a hack to identify a few type of objects Qt had not provided the mechanism to retrieve. NOTE: there should be improvement in build speed of hbQT. * contrib/hbqt/qtgui/hbqt_hbqplaintextedit.cpp - Added: deletion of child widget of HBQPlainTextEdit. 2012-05-13 16:46 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/hbmk2_qt.hb - Removed: #define __GCMARK__ * contrib/hbqt/qtgui/qth/QStyleOptionFrame.qth ! Fixed: wrong "Inherit" value - qStyleOption => QStyleOption. 2012-05-13 12:44 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/hbmk2_qt.hb ! Fixed: to properly handle HBQxxx classes alongwith Qxxx ones. 2012-05-13 12:25 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/hbqt_hbqsyntaxhighlighter.h * contrib/hbqt/qtgui/qth/HBQSyntaxHighlighter.qth + Added: method hbSetEditor( QPlainTextEdit edit ). This fixes issues where some of the components of hbIDE were not working properly due to strict object inheritance checking. 2012-05-13 00:30 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtcore/hbqt_hbqevents.cpp * contrib/hbqt/qtcore/hbqt_hbqslots.cpp * contrib/hbqt/qtcore/hbqt_misc.prg * Optimizations. * More VM protections. * contrib/hbxbp/xbplistbox.prg ! Fixed: a nasty construct in :clear() method where slots were being disconnected and connected again increasing the unnecessary object destruction/creation. * contrib/hbqt/tests/demoqt.prg * contrib/hbqt/tests/testbrow.prg ! Minor guards. ; NOTE: all the hbQT related test programmes are working flawlessly. hbIDE still reports "reference to freed block" error but this is not due to hbQT, instead, the complex object relationship of hbXBP/hbQT/hbIDE classes. This is only visible when hbIDE is linked without :destroy() mechanism. BUT no GPF whatsoever. With :destroy() calls hbIDE EXITS normally. 2012-05-13 00:19 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtcore/qth/*.qth * contrib/hbqt/qtgui/qth/*.qth * contrib/hbqt/qtnetwork/qth/*.qth ! Copyright year bump. + Formatting. - Long coptyright notice to short one. 2012-05-12 00:55 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/hbmk2_qt.hb * Fixed: the objects derived from QObject but without a constructor were conflickting somehow with the use of shared pointer. Now any demo in hbqt/tests and hbxbp/tests does not through error messages at EXIT. TESTBROW.PRG with #if 0 / #if 1 works flawlessly. However, in hbIDE these error messages still exist if :destroy() is not employed, otherwise, neither error messages nor GPF. 2012-05-11 18:45 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/idefunctions.prg * contrib/hbide/ideharbourhelp.prg * contrib/hbide/idemain.prg * contrib/hbide/idemisc.prg * contrib/hbide/ideshortcuts.prg * Optimized: to avoid repeated QApplication() object creation and destruction. * contrib/hbqt/qtcore/hbqt_hbqslots.cpp * contrib/hbqt/qtcore/hbqt_misc.prg * contrib/hbqt/qtcore/hbqt_pointer.cpp * Changed: the way :connect()/disConnect() could been applied to an object. Now programmer cannot make a mistake, controlling one more pitfall. * contrib/hbqt/qtcore/qth/QUrl.qth * contrib/hbqt/qtgui/qth/QListWidgetItem.qth - Inherits = QObject * contrib/hbqt/qtgui/qth/QWidget.qth - PainEvent = YES ; NOTE: still "Reference to freed block" messages at EXIT are unresolved and very much reproducable. 2012-05-11 01:45 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/hbmk2_qt.hb + Applied: concept forwarded by Francesco a few days back, where class creation and registration has been separated. This reduces a lot of object creation and destruction. It also increases the speed, you can experience in hbIDE. Not confirmed, but have also noticed that memory consumption has also been optimized. 2012-05-09 16:04 UTC+0200 Viktor Szakats * utils/hbmk2/Makefile * utils/hbmk2/hbmk2.hbp + utils/hbmk2/hbmk2c.c * utils/hbmk2/hbmk2.prg + added automatic detection of _SET_OSCODEPAGE and hb_SetDispCP() Experimental, not well tested and it may need extensions to handle all possible CPs and cases on *nix systems. MS-DOS and OS/2 support are missing. Autodetection will now be used instead of generic assumptions and defaults stored in translation files. + enabled UTF8EX HVM CP on remaining (non-*nix) platforms. ; Once matured, this code can be moved to the core, possible after rewrite in C. This will make it unnecessary to roll private C code for hbmk2. ; Several problems remain on non-*nix systems when working with actual non-ASCII filenames. * utils/hbmk2/hbmk2.pt_BR.po * utils/hbmk2/hbmk2.hu_HU.po * utils/hbmk2/hbmk2.es_PE.po - deleted translation (language) dependent CP settings. 2012-05-09 14:35 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/idemain.prg ! Disabled: :destroy() calls before application quits. * Simplified: ambigous variable reference. ; NOTE: now hbIDE does not produces GPF on EXIT but throws 2 RTE the contents of them can be viewed in tracelog. . Error BASE/1301 Object destructor failure: Reference to freed block. 2012-05-09 12:15 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/hbqt_errorsys.prg + Added: HB_TRACE() call if HVM is closed and error message needs to be retrieved somehow. It will allow us to peep in further to pin-point the EXIT GPF. * contrib/hbqt/qtgui/hbqtgui.hbx * Re-generated. * contrib/hbxbp/tests/demoxbp.prg * Minor. * contrib/hbide/idehome.prg * Minor. * contrib/hbide/idemain.prg ! Enabled: :destroy() calls before application quits. ; NOTE: now no more EXIT GPF is reported in hbIDE. Please shout if you get one and report the message available on std error output, for Window which will be debugger like debug.exe. 2012-05-09 16:14 UTC+0200 Viktor Szakats * src/common/hbdate.c ! hb_dateStrPut() fixed to never put non-digits in the result. E.g. in this case: ? 0d19700101 + 1100000000 2012-05-09 11:24 UTC+0200 Viktor Szakats * contrib/hbqt/qtgui/hbqt_init.cpp ! use C syntax where C++ is not required * bin/3rdpatch.hb ! updated name in docs 2012-05-08 20:25 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/hbqt_init.cpp * Fixed: one more potential GPF trap. 2012-05-08 20:04 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/hbqt_errorsys.prg * Guarded: against possible recursive error handler calls with hbqt_isActiveApplication(). * contrib/hbqt/qtgui/hbqt_init.cpp + Added: HB_FUNC( HBQT_ISACTIVEAPPLICATION ). ; NOTE: there may be a better solution, I know, but... 2012-05-08 16:04 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtwebkit/qth/QWebFrame.qth * contrib/hbqt/qtwebkit/qth/QWebHistoryItem.qth * contrib/hbqt/qtwebkit/qth/QWebHitTestResult.qth * contrib/hbqt/qtwebkit/qth/QWebPage.qth * contrib/hbqt/qtwebkit/qth/QWebPluginFactory.qth * contrib/hbqt/qtwebkit/qth/QWebSecurityOrigin.qth * contrib/hbqt/qtwebkit/qth/QWebView.qth - Replaced: HB_ISOBJECT() => hbqt_par_isDerivedFrom() * Rationalized: constructors. 2012-05-08 15:14 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtnetwork/qth/QFtp.qth * contrib/hbqt/qtnetwork/qth/QHttp.qth * contrib/hbqt/qtnetwork/qth/QHttpHeader.qth * contrib/hbqt/qtnetwork/qth/QHttpRequestHeader.qth * contrib/hbqt/qtnetwork/qth/QHttpResponseHeader.qth * contrib/hbqt/qtnetwork/qth/QNetworkProxy.qth * contrib/hbqt/qtnetwork/qth/QNetworkRequest.qth * contrib/hbqt/qtnetwork/qth/QUrlInfo.qth - Replaced: HB_ISOBJECT() => hbqt_par_isDerivedFrom() * Rationalized: constructors. 2012-05-08 18:20 UTC+0200 Viktor Szakats * contrib/hbnetio/utils/hbnetio/netiosrv.prg * contrib/hbrun/plugins.prg - deleted .hbs script support from places where it was unlikely to be used in the wild * contrib/hbide/ideplugins.prg * changed to support .hb extension for plugins instead of .hbs (plus, same applies as above0 2012-05-08 18:05 UTC+0200 Viktor Szakats * INSTALL * COPYING * debian/copyright * package/harbour.spec - contrib/make.hbs + contrib/make.hb * contrib/Makefile * Makefile - config/postinst.hbs + config/postinst.hb * .hbs -> .hb for Harbour scripts in core ; NOTE: Use '.hb' extension for Harbour script from now on. '.hbs' is deprecated. 2012-05-08 17:55 UTC+0200 Viktor Szakats * contrib/hbpost.hbm - contrib/hbqt/hbmk2_qt.hbs + contrib/hbqt/hbmk2_qt.hb * contrib/hbqt/hbqt_common.hbc * contrib/hbqt/hbqt_common.hbm * .hbs -> .hb for Harbour scripts in contribs 2012-05-08 17:51 UTC+0200 Viktor Szakats * config/postinst.hbs * implemented same ASORT() fix as in prev commit by Przemek. (it may be important once we modify hbrun/hbmk2 to run scripts under UTF8 CP) * contrib/hbnetio/utils/hbnetio/modules.hbp - contrib/hbnetio/utils/hbnetio/rpcdemo.hbs + contrib/hbnetio/utils/hbnetio/rpcdemo.hb - contrib/hbide/plugins/hbide_script_qtgui.hbs + contrib/hbide/plugins/hbide_script_qtgui.hb - contrib/hbide/plugins/hbide_plugin_savebackup.hbs + contrib/hbide/plugins/hbide_plugin_savebackup.hb - utils/hbmk2/examples/plug_tpl.hbs + utils/hbmk2/examples/plug_tpl.hb - tests/stripdoc.hbs + tests/stripdoc.hb * .hbs -> .hb for Harbour scripts. * tests/stripdoc.hb + use directry.ch 2012-05-08 17:47 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/utils/hbmk2/hbmk2.prg ! sort functions in .hbx files using "EN" CP. This modification fixed problem with resorted functions in .hbx files for CPs using non ASCII collation order for [A-Z], [0-9] and [_] characters 2012-05-08 17:29 UTC+0200 Viktor Szakats - bin/hb3rdpat.hbs + bin/3rdpatch.hb * config/postinst.hbs * package/harbour.spec * package/winuni/mpkg_win_uni.nsi * renamed public script to use .hb extension. * utils/hbmk2/hbmk2.prg * formatting 2012-05-08 06:50 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/qth/QWheelEvent.qth ! Fixed: ISNUM() => HB_ISNUM. 2012-05-08 12:28 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/src/common/expropt2.c * small code simplification * harbour/src/rtl/hbregex.c % eliminated call to pcre_config() on each regex compilation * harbour/utils/hbmk2/hbmk2.prg ! fixed -head=full for code using non UTF8 characters. It was broken because in Unix builds UTF8 is always enabled as HVM CP in HBMK2 and this setting was inherited by PCRE with PCRE_UTF8 flag. If this flag is used PCRE validates all strings and refuse to make any operations if they are not valid UTF8 string so it was not working at all for source code using different encoding. ! fixed regex used in -head=full to respect shortcuts in #include directive, i.e.: #incl "file.ch" ! fixed regex used in -head=full to recognize #include directives separated by ';', i.e.: #include "file1.ch" ; #include "file2.ch" ; #include "file3.ch" ; FIXME: UTF8 mode on output should not be enabled unconditionally in all Unix builds. There are many *nix installations where UTF8 is not system CP, i.e. older Linux distributions. In fact it's user attribute so each user can use different encoding local to his connection and/or terminal settings. Probably it's good idea to use code like: lUTF8 := "UTF-8" $ GetEnv( "LANG" ) .OR. ; "UTF-8" $ GetEnv( "LC_CTYPE" ) [DONE] 2012-05-08 12:26 UTC+0200 Viktor Szakats * ChangeLog * deleted my EOL spaces 2012-05-07 20:08 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/qth/QDeclarativeEngine.qth * contrib/hbqt/qtgui/qth/QDeclarativeError.qth * contrib/hbqt/qtgui/qth/QDeclarativeItem.qth * contrib/hbqt/qtgui/qth/QDeclarativeListReference.qth * contrib/hbqt/qtgui/qth/QDeclarativePropertyMap.qth * contrib/hbqt/qtgui/qth/QDeclarativeScriptString.qth * contrib/hbqt/qtgui/qth/QDialogButtonBox.qth * contrib/hbqt/qtgui/qth/QDockWidget.qth * contrib/hbqt/qtgui/qth/QDoubleValidator.qth * contrib/hbqt/qtgui/qth/QDragEnterEvent.qth * contrib/hbqt/qtgui/qth/QDragLeaveEvent.qth * contrib/hbqt/qtgui/qth/QDragMoveEvent.qth * contrib/hbqt/qtgui/qth/QDropEvent.qth * contrib/hbqt/qtgui/qth/QFileDialog.qth * contrib/hbqt/qtgui/qth/QFileOpenEvent.qth * contrib/hbqt/qtgui/qth/QFocusEvent.qth * contrib/hbqt/qtgui/qth/QFont.qth * contrib/hbqt/qtgui/qth/QFontDialog.qth * contrib/hbqt/qtgui/qth/QFontInfo.qth * contrib/hbqt/qtgui/qth/QGraphicsGridLayout.qth * contrib/hbqt/qtgui/qth/QGraphicsItemAnimation.qth * contrib/hbqt/qtgui/qth/QGraphicsItemGroup.qth * contrib/hbqt/qtgui/qth/QGraphicsLinearLayout.qth * contrib/hbqt/qtgui/qth/QGraphicsProxyWidget.qth * contrib/hbqt/qtgui/qth/QGraphicsSimpleTextItem.qth * contrib/hbqt/qtgui/qth/QGraphicsSvgItem.qth * contrib/hbqt/qtgui/qth/QGraphicsTextItem.qth * contrib/hbqt/qtgui/qth/QGraphicsWidget.qth * contrib/hbqt/qtgui/qth/QHelpEvent.qth * contrib/hbqt/qtgui/qth/QHideEvent.qth * contrib/hbqt/qtgui/qth/QHoverEvent.qth * contrib/hbqt/qtgui/qth/QImage.qth * contrib/hbqt/qtgui/qth/QInputEvent.qth * contrib/hbqt/qtgui/qth/QInputMethodEvent.qth * contrib/hbqt/qtgui/qth/QIntValidator.qth * contrib/hbqt/qtgui/qth/QItemDelegate.qth * contrib/hbqt/qtgui/qth/QItemEditorFactory.qth * contrib/hbqt/qtgui/qth/QItemSelectionModel.qth * contrib/hbqt/qtgui/qth/QKeyEvent.qth * contrib/hbqt/qtgui/qth/QKeySequence.qth * contrib/hbqt/qtgui/qth/QLabel.qth * contrib/hbqt/qtgui/qth/QLinearGradient.qth * contrib/hbqt/qtgui/qth/QListWidget.qth * contrib/hbqt/qtgui/qth/QMainWindow.qth * contrib/hbqt/qtgui/qth/QMdiArea.qth * contrib/hbqt/qtgui/qth/QMdiSubWindow.qth * contrib/hbqt/qtgui/qth/QMenu.qth * contrib/hbqt/qtgui/qth/QMenuBar.qth * contrib/hbqt/qtgui/qth/QMessageBox.qth * contrib/hbqt/qtgui/qth/QMouseEvent.qth * contrib/hbqt/qtgui/qth/QMoveEvent.qth * contrib/hbqt/qtgui/qth/QPainter.qth * contrib/hbqt/qtgui/qth/QPaintEvent.qth * contrib/hbqt/qtgui/qth/QPalette.qth * contrib/hbqt/qtgui/qth/QPicture.qth * contrib/hbqt/qtgui/qth/QPlainTextDocumentLayout.qth * contrib/hbqt/qtgui/qth/QPlainTextEdit.qth * contrib/hbqt/qtgui/qth/QPrinter.qth * contrib/hbqt/qtgui/qth/QPushButton.qth * contrib/hbqt/qtgui/qth/QRadialGradient.qth * contrib/hbqt/qtgui/qth/QRadioButton.qth * contrib/hbqt/qtgui/qth/QRegExpValidator.qth * contrib/hbqt/qtgui/qth/QResizeEvent.qth * contrib/hbqt/qtgui/qth/QShortcutEvent.qth * contrib/hbqt/qtgui/qth/QShowEvent.qth * contrib/hbqt/qtgui/qth/QSizePolicy.qth * contrib/hbqt/qtgui/qth/QSortFilterProxyModel.qth * contrib/hbqt/qtgui/qth/QSpacerItem.qth * contrib/hbqt/qtgui/qth/QTableWidgetItem.qth * contrib/hbqt/qtgui/qth/QTextBlock.qth * contrib/hbqt/qtgui/qth/QTextBlockFormat.qth * contrib/hbqt/qtgui/qth/QToolBar.qth * contrib/hbqt/qtgui/qth/QWheelEvent.qth * contrib/hbqt/qtgui/qth/QWidget.qth * contrib/hbqt/qtgui/qth/QWindowStateChangeEvent.qth - Replaced: HB_ISOBJECT( n ) => hbqt_par_isDerivedFrom( n, "QXXX" ) + Added: RTE where needed. 2012-05-07 01:04 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtcore/hbqt_pointer.cpp + Added: hbqt_par_isDerivedFrom() - protection against a null pointer passed as an argument. This makes possible to detect if an object is still active when passed. If not, a RTE is generated. This covers some more potential user mistakes. 2012-05-07 00:57 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/qth/HBQGraphicsItem.qth * contrib/hbqt/qtgui/qth/HBQGraphicsScene.qth * contrib/hbqt/qtgui/qth/HBQPlainTextEdit.qth * contrib/hbqt/qtgui/qth/QAction.qth * contrib/hbqt/qtgui/qth/QActionEvent.qth * contrib/hbqt/qtgui/qth/QActionGroup.qth * contrib/hbqt/qtgui/qth/QBrush.qth * contrib/hbqt/qtgui/qth/QButtonGroup.qth * contrib/hbqt/qtgui/qth/QCloseEvent.qth * contrib/hbqt/qtgui/qth/QColor.qth * contrib/hbqt/qtgui/qth/QComboBox.qth * contrib/hbqt/qtgui/qth/QContextMenuEvent.qth - Replaced: HB_ISOBJECT( n ) => hbqt_par_isDerivedFrom( n, "QXXX" ) 2012-05-06 23:36 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtcore/qth/QAbstractEventDispatcher.qth * contrib/hbqt/qtcore/qth/QBitArray.qth * contrib/hbqt/qtcore/qth/QBuffer.qth * contrib/hbqt/qtcore/qth/QByteArray.qth * contrib/hbqt/qtcore/qth/QChar.qth * contrib/hbqt/qtcore/qth/QChildEvent.qth * contrib/hbqt/qtcore/qth/QDataStream.qth * contrib/hbqt/qtcore/qth/QDate.qth * contrib/hbqt/qtcore/qth/QDateTime.qth * contrib/hbqt/qtcore/qth/QDir.qth * contrib/hbqt/qtcore/qth/QEvent.qth * contrib/hbqt/qtcore/qth/QEventLoop.qth * contrib/hbqt/qtcore/qth/QFile.qth * contrib/hbqt/qtcore/qth/QFileInfo.qth * contrib/hbqt/qtcore/qth/QFileSystemWatcher.qth * contrib/hbqt/qtcore/qth/QGenericArgument.qth * contrib/hbqt/qtcore/qth/QGenericReturnArgument.qth * contrib/hbqt/qtcore/qth/QIODevice.qth * contrib/hbqt/qtcore/qth/QLatin1Char.qth * contrib/hbqt/qtcore/qth/QLatin1String.qth * contrib/hbqt/qtcore/qth/QLine.qth * contrib/hbqt/qtcore/qth/QLineF.qth * contrib/hbqt/qtcore/qth/QList.qth * contrib/hbqt/qtcore/qth/QLocale.qth * contrib/hbqt/qtcore/qth/QModelIndex.qth * contrib/hbqt/qtcore/qth/QObject.qth * contrib/hbqt/qtcore/qth/QPoint.qth * contrib/hbqt/qtcore/qth/QPointF.qth * contrib/hbqt/qtcore/qth/QProcess.qth * contrib/hbqt/qtcore/qth/QRect.qth * contrib/hbqt/qtcore/qth/QRectF.qth * contrib/hbqt/qtcore/qth/QRegExp.qth * contrib/hbqt/qtcore/qth/QResource.qth * contrib/hbqt/qtcore/qth/QSettings.qth * contrib/hbqt/qtcore/qth/QSignalMapper.qth * contrib/hbqt/qtcore/qth/QSize.qth * contrib/hbqt/qtcore/qth/QSizeF.qth * contrib/hbqt/qtcore/qth/QStringList.qth * contrib/hbqt/qtcore/qth/QStringRef.qth * contrib/hbqt/qtcore/qth/QTextBoundaryFinder.qth * contrib/hbqt/qtcore/qth/QTextDecoder.qth * contrib/hbqt/qtcore/qth/QTextEncoder.qth * contrib/hbqt/qtcore/qth/QTextStream.qth * contrib/hbqt/qtcore/qth/QTime.qth * contrib/hbqt/qtcore/qth/QTimeLine.qth * contrib/hbqt/qtcore/qth/QTimer.qth * contrib/hbqt/qtcore/qth/QTranslator.qth * contrib/hbqt/qtcore/qth/QUrl.qth - Replaced: HB_ISOBJECT( n ) => hbqt_par_isDerivedFrom( n, "QXXX" ) 2012-05-06 16:11 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/qth/QBitmap.qth * contrib/hbqt/qtgui/qth/QBrush.qth * contrib/hbqt/qtgui/qth/QCursor.qth * contrib/hbqt/qtgui/qth/QDeclarativeContext.qth * contrib/hbqt/qtgui/qth/QDeclarativeProperty.qth * contrib/hbqt/qtgui/qth/QDeclarativeView.qth * contrib/hbqt/qtgui/qth/QFontMetrics.qth * contrib/hbqt/qtgui/qth/QFontMetricsF.qth * contrib/hbqt/qtgui/qth/QGraphicsEllipseItem.qth * contrib/hbqt/qtgui/qth/QGraphicsLineItem.qth * contrib/hbqt/qtgui/qth/QGraphicsPathItem.qth * contrib/hbqt/qtgui/qth/QGraphicsPixmapItem.qth * contrib/hbqt/qtgui/qth/QGraphicsPolygonItem.qth * contrib/hbqt/qtgui/qth/QGraphicsRectItem.qth * contrib/hbqt/qtgui/qth/QGraphicsScene.qth * contrib/hbqt/qtgui/qth/QGraphicsView.qth * contrib/hbqt/qtgui/qth/QIcon.qth * contrib/hbqt/qtgui/qth/QPaintEvent.qth * contrib/hbqt/qtgui/qth/QPen.qth * contrib/hbqt/qtgui/qth/QPixmap.qth * contrib/hbqt/qtgui/qth/QPrintDialog.qth * contrib/hbqt/qtgui/qth/QPrinterInfo.qth * contrib/hbqt/qtgui/qth/QPrintPreviewDialog.qth * contrib/hbqt/qtgui/qth/QPrintPreviewWidget.qth * contrib/hbqt/qtgui/qth/QRegion.qth * contrib/hbqt/qtgui/qth/QTextCursor.qth - Replaced: HBQT_TYPE_Qxxx => hbqt_par_isDerivedFrom(). Now it is safe to remove HBQT_TYPE_Qxxx constants from hbqtcore. 2012-05-05 20:30 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtcore/qth/QDataStream.qth * contrib/hbqt/qtcore/qth/QDateTime.qth * contrib/hbqt/qtcore/qth/QFile.qth * contrib/hbqt/qtcore/qth/QFileInfo.qth * contrib/hbqt/qtcore/qth/QFileSystemWatcher.qth * contrib/hbqt/qtcore/qth/QRect.qth * contrib/hbqt/qtcore/qth/QRectF.qth * contrib/hbqt/qtcore/qth/QTextStream.qth * contrib/hbqt/qtcore/qth/QVariant.qth - Replaced: HBQT_TYPE_Qxxx => hbqt_par_isDerivedFrom(). Now it is safe to remove HBQT_TYPE_Qxxx constants from hbqtcore. 2012-05-05 20:30 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/hbmk2_qt.hbs * Optimized: HB_ISLOG( n ) ? hb_parl( n ) : false | true ) => hb_parl( n ) | hb_parldef( n, true ) 2012-05-05 19:44 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/hbmk2_qt.hbs ! Fixed: to take use of the hbqt_par_isDerivedFrom() completely. This renders parameter checking with Class TYPE constants redundant which can be removed alltogether. This also facilitates usage of subclassing a Qt class. ; TODO: impliment siblings checking inside hbqt_par_isDerivedFrom(). HBQPlainTextEdit() is a sibling of QPlainTextEdit(). [SOLVED] 2012-05-05 15:51 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtnetwork/qth/QNetworkProxy.qth + Fixed: constructors now respect new str API. 2012-05-05 14:37 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtcore/qth/QDir.qth * contrib/hbqt/qtcore/qth/QFile.qth * contrib/hbqt/qtcore/qth/QFileInfo.qth * contrib/hbqt/qtcore/qth/QLocale.qth * contrib/hbqt/qtcore/qth/QRegExp.qth * contrib/hbqt/qtcore/qth/QResource.qth * contrib/hbqt/qtcore/qth/QSettings.qth * contrib/hbqt/qtcore/qth/QStringList.qth * contrib/hbqt/qtcore/qth/QStringRef.qth * contrib/hbqt/qtcore/qth/QTextBoundaryFinder.qth * contrib/hbqt/qtcore/qth/QUrl.qth * contrib/hbqt/qtcore/qth/QVariant.qth + Fixed: constructors now respect new str API. 2012-05-04 20:01 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/qth/QAbstractItemView.qth * contrib/hbqt/qtgui/qth/QAction.qth * contrib/hbqt/qtgui/qth/QBitmap.qth * contrib/hbqt/qtgui/qth/QCheckBox.qth * contrib/hbqt/qtgui/qth/QColor.qth * contrib/hbqt/qtgui/qth/QCursor.qth * contrib/hbqt/qtgui/qth/QDockWidget.qth * contrib/hbqt/qtgui/qth/QFileOpenEvent.qth * contrib/hbqt/qtgui/qth/QFont.qth * contrib/hbqt/qtgui/qth/QFontMetrics.qth * contrib/hbqt/qtgui/qth/QFontMetricsF.qth * contrib/hbqt/qtgui/qth/QGraphicsSimpleTextItem.qth * contrib/hbqt/qtgui/qth/QGraphicsSvgItem.qth * contrib/hbqt/qtgui/qth/QGraphicsTextItem.qth * contrib/hbqt/qtgui/qth/QGraphicsView.qth * contrib/hbqt/qtgui/qth/QIcon.qth * contrib/hbqt/qtgui/qth/QImage.qth * contrib/hbqt/qtgui/qth/QKeyEvent.qth * contrib/hbqt/qtgui/qth/QKeySequence.qth * contrib/hbqt/qtgui/qth/QLabel.qth * contrib/hbqt/qtgui/qth/QMainWindow.qth * contrib/hbqt/qtgui/qth/QMenu.qth * contrib/hbqt/qtgui/qth/QPen.qth * contrib/hbqt/qtgui/qth/QPixmap.qth * contrib/hbqt/qtgui/qth/QPlainTextEdit.qth * contrib/hbqt/qtgui/qth/QPushButton.qth * contrib/hbqt/qtgui/qth/QRadioButton.qth * contrib/hbqt/qtgui/qth/QRegion.qth * contrib/hbqt/qtgui/qth/QSound.qth * contrib/hbqt/qtgui/qth/QTableWidgetItem.qth * contrib/hbqt/qtgui/qth/QTextCursor.qth * contrib/hbqt/qtgui/qth/QTextEdit.qth * contrib/hbqt/qtgui/qth/QToolBar.qth + Fixed: constructors now respect new str API. * contrib/hbxbp/xbpbrowse.prg ! Fied: to respect optimized constructor protocol. NOTE: some regression is expected in hbIDE so can be in your codes also. 2012-05-04 20:07 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! fixed RTE when logging sign command ! fixed `` operator to strip CRs and convert LFs to space in stdout output. * src/rdd/dbcmd.c ! clarified DBCREATE() 4th parameter in comment 2012-05-04 12:57 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg * .hb? input make files are now considered with UTF8 encoding. + enabled full UTF8 CP on *nix systems. EXPERIMENTAL. * debian/copyright * package/winuni/mpkg_win_uni.nsi * utils/hbmk2/hbmk2.prg * contrib/hbpost.hbm * contrib/hbnetio/utils/hbnetio/modules.hbp * contrib/hbnetio/utils/hbnetio/netiosrv.prg * contrib/hbqt/hbqt_common.hbm * contrib/hbide/ideedit.prg * contrib/hbide/idemisc.prg * contrib/hbide/idesaveload.prg * contrib/hbrun/hbrun.prg * contrib/hbrun/plugins.prg * config/postinst.hbs * COPYING + added support for .hb extension for Harbour scripts. I plan to make a full switch to .hb from .hbs. 2012-05-04 09:31 UTC+0200 Viktor Szakats * contrib/hbtip/sessid.prg * contrib/hbtip/encqp.prg * formatting 2012-05-04 03:18 UTC+0200 Viktor Szakats * contrib/hbct/getsecrt.prg * use hb_keyCode() instead of Asc() to form numeric key value. * contrib/hbtip/encqp.prg ! Quoted-printable encoding/decoding fixed to use FOR/NEXT loop instead of FOR/EACH and HB_B*() string functions to operate on binary data regardless of HVM CP. ! Fixed old typo causing no encoding for line-ending whitespaces. * contrib/hbtip/mail.prg ! Q-encoding fixed to use FOR/NEXT loop instead of FOR/EACH and HB_B*() string functions to operate on binary data regardless of HVM CP. 2012-05-04 01:51 UTC+0200 Viktor Szakats * include/harbour.hbx * src/rtl/cdpapihb.c + HB_CDPCHARMAX( [<cCP>] ) -> <nMaxCharCode> (ATM 0xFFFF for unicode or 0xFF for non-unicode (default) CPs) 2012-05-04 01:12 UTC+0200 Viktor Szakats * src/rtl/hbstrsh.c + HB_STRSHRINK() updated to work on custom character indexes (UTF8) 2012-05-03 12:13 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + added experimental code signing support for win and darwin using '-sign=<ID> [-signpw=<pw>]' options. on win, it requires MS Windows SDK in path. 2012-05-02 19:32 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! fixed missed incremental updates in '-inc -head=dep' mode on win/os2/dos systems when -workdir= was set to an absolute path. The drive separator colon was confused with the file/dependency separator colon. Nasty. 2012-05-02 17:30 UTC+0200 Viktor Szakats * examples/dbu/dbu52.dif * examples/dbu/dbu53.dif + updated for UTF8 HVM CP. Start with "-utf" option to activate. In -utf mode, tables will also be open using UTF8EX CP. + added support for clipboard paste using <Alt+V> + link all CPs ! fixed to use hb_ps() instead of MS-DOS/win specific pathsep * examples/commouse/commouse.prg + updated for unicode 2012-05-02 14:02 UTC+0200 Viktor Szakats * contrib/hbmysql/tsqlbrw.prg * contrib/hbct/getsecrt.prg * contrib/hbziparc/ziparc.prg * contrib/hbblink/blinker.prg * contrib/hbnetio/utils/hbnetio/netiosrv.prg * contrib/hbhttpd/core.prg * contrib/hbhttpd/log.prg * contrib/hbwin/win_reg.prg * contrib/hbsms/sms.prg * contrib/hbcomm/comm.prg * contrib/hbtip/log.prg * contrib/hbrun/hbrun.prg ! updated/fixed for unicode (only build-tested) * contrib/hbxdiff/hbxdiff.ch * contrib/hbblat/blatcls.prg * formatting ; FIXME: hb_StrShrink() to work on UTF8 HVM CP [DONE] ; FIXME: hbnf [DONE], hbtip [DONE], xhb, gtwvg, tests and docs for unicode 2012-05-02 12:48 UTC+0200 Viktor Szakats * ChangeLog ! copy/paste error in fn skeletons 2012-05-02 12:30 UTC+0200 Viktor Szakats * include/hbcompdf.h * include/hbexprop.h * include/hbexprb.c * src/common/funcid.c * src/common/expropt2.c + added compile-time optimization for HB_BCHAR() and HB_BCODE(). * contrib/hbct/hbct.hbp * contrib/hbct/hbct.hbx + contrib/hbct/ctscan.ch + contrib/hbct/kxlat.prg * contrib/hbct/ctdummy.prg * contrib/hbct/dummy.c + added CT compatiblity functions: SETKXLAT(), GETKXLAT(), SETKXTAB(), GETKXTAB(). Former two replaces existing dummy implementations. Check CT documentation for syntax. NOTES: - KS_PAD[0-9] and KS_PAD_DECIMAL are not supported in Harbour, because they have no corresponding inkey.ch value. - Harbour uses HB_GTI_INKEYFILTER to implement these functions, and due to this, they will gracefully fail if the application has already set HB_GTI_INKEYFILTER to a custom value. + added: HBCT_SETKXLAT( <nOrgKey>[, <nNewKey> ] ) -> <lAccepted> HBCT_GETKXLAT( <nOrgKey> ) -> <nNewKey> HBCT_SETKXTAB( <hTrs> ) -> <lAccepted> HBCT_GETKXTAB() -> <hTrs> Same as above, but they use standard inkey() values. ; USE AT YOUR OWN RISK. NO GUARANTEES. * contrib/hbct/showtime.prg * contrib/hbct/screen2.c * internal fn renamed: _HB_CTDSPTIME() -> __HBCT_DSPTIME() 2012-05-01 20:50 UTC+0200 Viktor Szakats * src/rtl/hbregex.c % deleted unnecessary protection around PCRE_CONFIG_UTF8 macro usage. (it was used unprotected elsewhere in the code for a long time) * INSTALL + added mingw64 on win64 host example. (same as on win32, except comment) 2012-04-27 12:08 UTC+0200 Viktor Szakats * src/rtl/cdpapihb.c % HB_UTF8TOSTR()/HB_STRTOUTF8() optimized to "fall through" if the HVM CP is UTF8. Check me. * utils/hbmk2/hbmk2.prg ! FIXME removed from two FOR EACH loops, they work on ASCII chars only ! one FOR EACH loop conditionally converted to FOR NEXT to work with all CPs ! one FOR EACH loop converted to FOR NEXT and to work on binary data ! Changed certain function calls to hb_ascii*() prefixed versions ! fixed .hbx generator to work with accented filenames 2012-04-26 17:01 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/src/rtl/gtstd/gtstd.c * harbour/src/rtl/gttrm/gttrm.c * harbour/src/rtl/gtsln/gtsln.c * harbour/src/rtl/gtpca/gtpca.c ! do not redirect STDERR to screen buffer if default screen output is not redirected to console/tty device 2012-04-26 16:26 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg * LEN() -> HB_BLEN() where needed. (some for the sake of clean code, one as an actual fix) 2012-04-26 16:13 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + hbmk2 code made compatible with UTF8 HVM CP except where FOR EACH is used on strings, which are all broken with UTF8 now. Marked these with FIXME. + strip UTF8 BOM from .hbm/.hbp/.hbc input files + added PROC CLIPINIT (I can't make it work, so commented for now) ; Switching to UTF8EX creates quite many strange problems when accepting command-line arguments, passing them to embedded compiler, external tools, so it's not yet enabled. Also, one some platforms _SET_OSCODEPAGE is required (DOS/OS2), on some not, and detection of these cases and actual value is not easy (if possible). Tests made only on Windows, maybe on *nix I'll retry and moving to UTF8 will be done platform by platform. ; NOTE: I plan to make UTF8 the standard encoding for .hbp/.hbm/.hbc files. [DONE] ; FIXME: FOR EACH for UTF8EX CP ; FIXME: command-line arguments via Main() parameters, hb_AParams() and hb_cmdLine() on Windows. ; TODO: Add a way to detect maximum bit width of unicode chars, for now I hard-coded 16-bit. [DONE] 2012-04-26 10:35 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/src/rtl/hbgtcore.c ! fixed typo in OUTSTD() handler - thanks to Mindaugas for locating the problem. 2012-04-25 16:20 UTC+0200 Viktor Szakats * tests/parseini.prg ! fixed to compile. Thanks for patch suggestion to Alexey Myronenko 2012-04-25 16:16 UTC+0200 Viktor Szakats * include/harbour.hbx * src/rtl/cdpapihb.c + added HB_CDPISUTF8( <cCDPID> ) -> <lResult> 2012-04-25 14:44 UTC+0200 Viktor Szakats * config/global.mk ! missed from prev 2012-04-25 14:11 UTC+0200 Viktor Szakats * config/global.mk * include/hbver.h * package/harbour.spec * package/harb_win.mft * package/harbour-win.spec.in * package/harbour-wce.spec.in * package/winuni/mpkg_win_uni.bat * harbour/debian/changelog * trunk version bump. 3.1.0dev -> 3.2.0dev this is to make it easy to create conditional code for new features and the few incompatibilities after introducing unicode in Harbour. May be bumped further when FOR EACH is decided. * contrib/hbexpat/tests/tohash.prg + enabled UTF8EX for testing 2012-04-25 12:08 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/include/harbour.hbx ! fixed typo in previous commit 2012-04-25 11:41 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/include/harbour.hbx * harbour/src/rtl/chruni.c + added HB_ULEFT(), HB_BLEFT(), HB_URIGHT(), HB_BRIGHT() 2012-04-25 02:20 UTC+0200 Viktor Szakats * include/harbour.hbx * src/rtl/inkey.c + added HB_KEYCODE( <cChar> ) -> <nExtKey> ; pls review me. It helps replacing ASC() calls in unicode apps where it's used to convert characters (e.g. hotkeys) to keyboard codes. 2012-04-25 00:03 UTC+0200 Viktor Szakats * contrib/hbmisc/udpds.prg + updated to be CP agnostic + changed protocol to use UTF8 through the wire ; NOTE: requires not yet committed HB_BLEFT() * include/harbour.hbx * minor 2012-04-24 17:34 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/include/harbour.hbx * harbour/src/rtl/chruni.c + added HB_BSUBSTR() and HB_USUBSTR() 2012-04-24 16:20 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/include/hbapilng.h * harbour/src/vm/hvm.c * harbour/src/rtl/langapi.c * harbour/include/harbour.hbx + added new PRG function: HB_LANGNEW( <cNewLangId>, <cNewLangCpId>, <cLangId>, <cLangCpId> ) -> <lOK> this function dynamically creates new lang module translating existing one then registers it, i.e.: request HB_CODEPAGE_DE850 request HB_CODEPAGE_DEISO request HB_LANG_DE HB_LANGNEW( "DEISO", "DEISO", "DE", "DE850" ) SET( _SET_LANGUAGE, "DEISO" ) * harbour/src/rtl/cdpapi.c * changed dynamic buffer for "EN" CP translations and flags to static one - it allows to use this CP after hb_cdpReleaseAll() 2012-04-24 10:25 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/src/vm/cmdarg.c ! respect HB_ARGSHIFT( .T. ) in windows version of hb_cmdargProgName() * harbour/ChangeLog ! fixed some typos in my unicode ChangeLog entry 2012-04-24 08:43 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/src/rtl/inkey.c * modified HB_KEYPUT() and HB_KEYINS() to convert strings into key codes instead of passing them directly to keyboard buffer like in __KEYBOARD() function. * harbour/include/hbgtcore.h * harbour/src/rtl/hbgtcore.c * modified hb_inkeySetText() (PRG __KEYBOARD() function) to translate passed string into unicode values This modification affects also HB_GTI_CLIPBOARDPASTE 2012-04-24 07:18 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/include/hbgtcore.h ! fixed typo in HB_GTSELF_KEYTRANS() macro. It should also fix problem with function keys in some GTs, i.e. ENTER in GTOS2 ALERT() reported by David. * harbour/src/rtl/filesys.c * use TEXT() macro * minor modification in fs_win_get_drive() * harbour/src/vm/hvm.c * added protection against potential memory leak if programmer change type of enumerated item 2012-04-24 02:16 UTC+0200 Viktor Szakats * src/rtl/filesys.c % fs_win_get_drive() simplified for win platform, eliminated mb conversion. Code posted by Przemek. 2012-04-23 20:31 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + added experimental framework for -ku:<cp> option. It is processed by hbmk2 and HVM CP set appropriately before calling the embedded Harbour compiler. As discussed here: https://groups.google.com/d/msg/harbour-devel/a1_-DDXVVYM/CE3NspTzHV4J I couldn't spot or test the effect of this yet. Accepted <cp> values: "utf8", "cp1250", "cp852", etc... + added TODO to switch the internal codepage to UTF8EX. it should help further in handling filenames with accents. non-priority. * src/rtl/menuto.prg * formatting * contrib/hbqt/gtqtc/gtqtc.cpp - delete recently commented lines 2012-04-23 14:16 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/src/rtl/gtwin/gtwin.c * redirect OUTSTD() and OUTERR() to GT buffer if corresponding handles are redirected to console window. 2012-04-23 13:56 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/src/rtl/filesys.c ! fixed typo in last commit which disabled filename translations in hb_fsNameConv*() functions. 2012-04-22 09:56 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/idedocks.prg * contrib/hbide/idedocwriter.prg * contrib/hbide/ideenviron.prg * contrib/hbide/idefindreplace.prg * contrib/hbide/idefunctions.prg * contrib/hbide/ideharbourhelp.prg * contrib/hbide/ideprojmanager.prg * contrib/hbide/idesaveload.prg * contrib/hbide/idethemes.prg ! Fixed: changes due to HBQT engine which now checks the object validity by looking at object inheritance. This covers many cases but not all. For all practical purposes hbIDE is working ok now but in some extended usage, it again fails. Looking at the ways if this could be covered under object inheritance chain, which looks to be dim, so far. So probably we have to revert back that change but let me build the hypothesis before reverting. 2012-04-20 11:02 UTC+0200 Viktor Szakats * contrib/hbqt/qtcore/hbqt_pointer.cpp * contrib/hbqt/qtcore/hbqt.h * string variable names corrected 2012-04-20 10:45 UTC+0200 Viktor Szakats * contrib/gtwvg/wvgwin.c ! fixed broken compilation in WVG_SendCBMessage() when using mingw 4.7 * doc/howtosvn.txt + added some more stuff * ChangeLog ! removed tabs and added missing markup in latest commit + added reference to doc/howtosvn.txt 2012-04-20 23:18 UTC+0200 Francesco Perillo ( fperillo at gmail.com ) * contrib/hbqt/hbmk2_qt.hbs ! Typo that generated wrong cpp code *HBQT USERS PLEASE READ* Please note that this patch introduces parameter checking on hbQt methods when parameter is a hbQt object. Up to now you could do some weird (and illegal) things like passing a QLabel when a QToolbar was expected. These lead to GPF, also random. Now hbQt checks that the object passed is of the expected type or of a subclass. If the method expects a QToolbar as parameter now an error is generated if we pass a QLabel. If the method expects a QWidget, it is possible to pass a QWidget, a QLabel, or any other hbQt object derived from QWidget, also user-defined ones. It may be that this patch breaks old *WRONG* code that just for casualty was not generating GPF. So if your program starts to report errors for wrong parameters, please check your code. Another change is that when a hbQt goes out of scope a disconnect() is forced immediately in the destructor. This will prevent that events/signals are activated by Qt for that object while it waits for harbour GC to delete it. This was common during window closing step or program end. 2012-04-20 21:22 UTC+0200 Viktor Szakats * include/harbour.hbx * set formatting for new functions * ChangeLog ! deleted unicode BOM. Please set your editor to not readd it. * contrib/hbqt/gtqtc/gtqtc.cpp ! quick fix for build failure. * contrib/hbqt/hbmk2_qt.hbs * contrib/hbqt/qtcore/hbqt_pointer.cpp * contrib/hbqt/qtcore/hbqt.h * object type checking patch from Teo and Francesco. Please test. (with minor changes) + added FIXME for missing CP conversion in certain cases. * contrib/hbqt/qtcore/hbqt_misc.prg * implemented destroy patch from Francesco. Please test. 2012-04-20 17:52 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/include/hbdefs.h * moved HB_WCHAR definition from hbapicdp.h to hbdefs.h * harbour/include/hbapicdp.h * harbour/include/hbcdpreg.h * harbour/src/rtl/cdpapi.c * harbour/src/rtl/cdpapihb.c + added support for custom sorting redirected from HVM + added support for custom character indexes in strings + added support for custom character flags (upper, lower, alpha, digit) + added support for custom upper/lower conversions + added support for CPs using unicode character values instead of ASCII ones + added new CP functions which respects custom CP settings: hb_cdpUpperWC(), hb_cdpTextLen(), hb_cdpTextPos(), hb_cdpTextPosEx(), hb_cdpTextGetU16(), hb_cdpTextPutU16(), hb_cdpCharEq(), hb_cdpCharCaseEq() + added new conversion functions: hb_cdpGetUC(), hb_cdpGetWC(), hb_cdpGetU16Ctrl() + added macros to detect codepage parameters: HB_CDP_ISBINSORT() - codepage uses simple binary sorting HB_CDP_ISCUSTOM() - codepage uses custom string decoding HB_CDP_ISCHARIDX() - codepage use character indexes instead of bytes ones HB_CDP_ISCHARUNI() - CHR(), ASC() and similar functions operates on Unicode values instead of bytes HB_CDP_ISUTF8() - codepage uses UTF-8 encoding * harbour/include/inkey.ch - removed HB_INKEY_EXTENDED - it was not used in Harbour + added new flag HB_INKEY_EXT - it allows to use different event encoding system with automatic translation to standard Clipper values. It will be used in the future as base for low-level GT code. Now it's possible to selectively switch to the new system. New codes are unique and do not interacts with Clipper ones. + added HB_INKEY_ALL macro - it's similar to INKEY_ALL but enables also GTEVENT keys. * harbour/include/hbgtcore.h * harbour/src/rtl/hbgtcore.c * changed character values in internal screen buffer to unicode. Warning: this modification interacts with SAVESCREE()/RESTSCREEN() data. Now all GTs use extended definition. If somene has code which needs VGA like screen buffers returned by SAVESCREE() then it can be forced by hb_gtInfo( HB_GTI_COMPATBUFFER, .t. ) Anyhow it will force to use only one CP in output. INCOMPATIBLE. + added new GT methods which operate on HB_WCHAR values * modified existing methods using HB_WCHAR/HB_USHORT parameters to operate on HB_WCHAR values + added codepage conversion code directly to core code so it can be eliminated from low-level GT drivers which do not need some special operations on it. + added support for extended inkey codes, they allow to encode unicode values, mouse events with flags, keyboard events with modifier flags (shift,alt,ctrl,...), etc. Now in low-level GT code only unicode key values are used but I plan to updated all GTs and switch to new codes - it should resolve many small problems inherited with Clipper inkey codes. * harbour/include/hbapifs.h * moved hb_fsNameConvU16() definition from hbapicdp.h to hbapifs.h * harbour/include/hbxvm.h - removed comment copied by mistake from GT header file * harbour/include/hbwinuni.h * changed HB_CHARDUP() and HB_CHARDUPN() macros - now they operate on functions which can be used without active HVM. In such case ANSI CP is used as source encoding. + added new macros: HB_OSSTRDUP() and HB_OSSTRDUP2(). They make conversions from OS encoding to HVM one. They can be used without active HVM and in such case ANSI CP is used as destination encoding. * harbour/include/hbapi.h * harbour/src/vm/cmdarg.c + added new function hb_cmdargProgName() It returns application name with path or NULL if not set, caller must free returned value with hb_xfree() if not NULL. The string is in HVM encoding so it does not need any additional translations. * modified hb_cmdargString() to return strings in HVM encoding. % some small code optimizations ; NOTE: parameters passed to MS-WINDOWS GUI programs which use WinMain() instead of main() as startup entry are translated to ANSICP before they can be accessed by application. This can be eliminated though not for console programs where C compiler makes such translation for main() parameters. In all systems parameters are passed to application startup and init functions before programmer can set OS CP. This can be resolved by adding: INIT PROC CLIPINIT() SET( _SET_CODEPAGE, <userCP> ) SET( _SET_OSCODEPAGE, <systemCP> ) RETURN to linked code. INIT procedures called CLIPINIT() are executed before any other ones. * harbour/include/hbapi.h * harbour/src/vm/set.c + added new functions for CP converisons which can be used with and without active HVM: hb_osStrEncode(), hb_osStrEncodeN(), hb_osStrDecode(), hb_osStrDecode2(), hb_osStrU16Encode(), hb_osStrU16EncodeN(), hb_osStrU16Decode(), hb_osStrU16Decode2(), * harbour/include/hbvm.h * harbour/src/vm/hvm.c + added new function hb_vmIsReady() - it's similar to hb_vmActive() but it also checks if current thread has active HVM stack. * moved hb_cdpReleaseAll() to the end of HVM cleanup code so CP conversions are longer active. * harbour/include/hbcomp.h * harbour/src/compiler/cmdcheck.c * harbour/src/compiler/hbusage.c * harbour/src/common/expropt2.c + added new compiler switch: -ku - strings in user encoding Now it informs compiler that strings use custom encoding so some optimizations which are byte oriented cannot be used. It's possible that in the future we will change above definition to something like: "strings in UTF8 encoding" but now I would like to keep more general form. * harbour/src/vm/macro.c * inform macrocompiler about custom CPs using own character indexes to disable byte oriented optimizations. * harbour/include/hbapigt.h * harbour/src/rtl/gtapi.c * harbour/src/rtl/inkeyapi.c + added HB_B_*_W macros with unicode box character definitions + added HB_MBUTTON_* macros + added new GT functions: hb_gtHostCP() and hb_gtBoxCP() which allows to extract CPs used in translations by GTs. + added new function hb_inkeyKeyString() - it converts inkey value to corresponding string + added new function hb_inkeyKeyStd() - it converts new extended key value to standard Clipper one. * harbour/include/hbapifs.h * harbour/src/common/hbffind.c * moved OS codepage translations fully to hb_fsFind*() functions. It fixes few problems which existed before, i.e. double CP conversions in MS-Windows builds and simplifies upper level code. * harbour/src/pp/hbpp.c * harbour/src/rtl/direct.c * harbour/src/rtl/fssize.c * harbour/src/rtl/file.c * harbour/contrib/hbct/files.c * eliminated not longer necessary CP conversions in code calling hb_fsFind*() functions. * harbour/src/common/hbgete.c * moved OS codepage translations to hb_getenv(), hb_getenv_buffer() and hb_setenv() functions. It fixes few problems which existed before, i.e. double CP conversions in MS-Windows builds and simplifies upper level code. * harbour/src/rtl/net.c * harbour/src/rtl/gete.c * eliminated not longer necessary CP conversions in code calling hb_getenv()/hb_setenv() functions. ; NOTE: additional parameters in HB_GETENV() and HB_SETENV() which disabled CP conversions are not longer supported. They were strictly platform dependent and ignored in chosen cases (i.e. in MS-Windows UNICODE builds we always have to convert strings transferred between HVM and OS. If someone needs old functionality for other platforms then he should temporary disable _SET_OSCODEPAGE. * harbour/src/common/hbver.c * harbour/src/common/hbfsapi.c * harbour/src/rtl/fstemp.c * harbour/src/rtl/fslink.c * eliminated HB_TCHAR_*() macros * harbour/src/common/strwild.c + added supprot for custom CPs using own character indexes in: hb_strMatchWild(), hb_strMatchWildExact(), hb_strMatchCaseWildExact() * harbour/src/nortl/nortl.c + added new dummy function replacement for binaries which are not linked with HVM. * harbour/src/rtl/filesys.c ! fixed double CP conversions in MS-Windows builds of hb_fsCurDirBuff() * use hb_vmIsReady() instead of hb_stackId() in file name conversions. * use hb_cmdargProgName() in hb_fsBaseDirBuff() * harbour/src/rtl/philes.c * use hb_cmdargProgName() in HB_PROGNAME() function. * harbour/src/rtl/gtcgi/gtcgi.c * harbour/src/rtl/gtstd/gtstd.c * harbour/src/rtl/gtpca/gtpca.c * harbour/src/rtl/gtdos/gtdos.c * harbour/src/rtl/gtos2/gtos2.c * harbour/src/rtl/gtwin/gtwin.c * harbour/src/rtl/gtwvt/gtwvt.h * harbour/src/rtl/gtwvt/gtwvt.c * harbour/src/rtl/gttrm/gttrm.c * harbour/src/rtl/gtcrs/gtcrs.c * harbour/src/rtl/gtsln/gtsln.c * harbour/src/rtl/gtsln/kbsln.c * harbour/src/rtl/gtsln/gtsln.h * harbour/src/rtl/gtxwc/gtxwc.h * harbour/src/rtl/gtxwc/gtxwc.c * harbour/contrib/gtwvg/gtwvg.c * harbour/contrib/gtwvg/gtwvg.h * harbour/contrib/gtalleg/gtalleg.c * harbour/contrib/hbqt/gtqtc/gtqtc.cpp * harbour/contrib/hbqt/gtqtc/gtqtc.h * updated to work with new unicode GT API please make tests with different GTs - I'm not able to test all of them, i.e. I do not have any OS2 machine. * harbour/src/rtl/box.c * harbour/src/rtl/oldbox.c * harbour/src/rtl/scroll.c * harbour/src/rtl/console.c * updated to work with new unicode GT API and CPs using custom character indexes * harbour/src/rtl/at.c * harbour/src/rtl/ati.c * harbour/src/rtl/rat.c * harbour/src/rtl/len.c * harbour/src/rtl/transfrm.c * harbour/src/rtl/left.c * harbour/src/rtl/right.c * harbour/src/rtl/substr.c * harbour/src/rtl/stuff.c * harbour/src/rtl/padc.c * harbour/src/rtl/padl.c * harbour/src/rtl/padr.c * updated to work with CPs using custom character indexes * harbour/src/rtl/chrasc.c + added support for HB_CDP_ISCHARUNI() CPs. * harbour/src/rtl/mlcfunc.c * rewritten from scratch to work with CPs using custom character indexes * harbour/src/rtl/accept.c * updated to work with unicode inkey values and CPs using custom character indexes * harbour/src/rtl/strmatch.c % small optimization * harbour/src/rtl/Makefile + harbour/src/rtl/chruni.c + added new PRG functions which allows to make byte/binary and unicode/character operations on strings: HB_UCHAR( <nCode> ) -> <cText> return string with U+nCode character in HVM CP encoding HB_BCHAR( <nCode> ) -> <cText> return 1 byte string with <nCode> value HB_UCODE( <cText> ) -> <nCode> return unicode value of 1st character (not byte) in given string HB_BCODE( <cText> ) -> <nCode> return value of 1st byte in given string HB_ULEN( <cText> ) -> <nChars> return string length in characters HB_BLEN( <cText> ) -> <nBytes> return string length in bytes HB_UPEEK( <cText>, <n> ) -> <nCode> return unicode value of <n>-th character in given string HB_BPEEK( <cText>, <n> ) -> <nCode> return value of <n>-th byte in given string HB_UPOKE( [@]<cText>, <n>, <nVal> ) -> <cText> change <n>-th character in given string to unicode <nVal> one and return modified text HB_BPOKE( [@]<cText>, <n>, <nVal> ) -> <cText> change <n>-th byte in given string to <nVal> and return modified text * harbour/src/rtl/hbdoc.prg * harbour/src/rtl/memvarhb.prg * use HB_BCHAR() for binary string definitions * harbour/src/rtl/hbi18n2.prg * use hb_utf8CHR( 0xFEFF ) instead of hardcoded binary string and HB_BLEN() instead of LEN() * harbour/src/rtl/inkey.c + added new functions: HB_KEYCHAR( <nKey> ) -> <cChar> HB_KEYSTD( <nExtKey> ) -> <nClipKey> ! use HB_INKEY_ALL instead of INKEY_ALL in LASTKEY() * harbour/src/rtl/achoice.prg * harbour/src/rtl/browse.prg * harbour/src/rtl/menuto.prg * harbour/src/rtl/tgetlist.prg * harbour/src/rtl/teditor.prg * harbour/src/rtl/tlabel.prg * harbour/src/rtl/tpopup.prg * harbour/src/rtl/radiobtn.prg * harbour/src/rtl/radiogrp.prg * harbour/src/rtl/wait.prg * updated to work with unicode inkey() values * harbour/src/rtl/listbox.prg * use box.ch macros instead of explicit CHR(...) definitions * harbour/src/rtl/ttopbar.prg * updated to work with different type of CPs * harbour/src/rtl/scrollbr.prg * formatting * harbour/src/rtl/mouse53.c * use HB_MBUTTON_* macros instead of local ones * harbour/src/codepage/cp_utf8.c + harbour/src/codepage/uc16def.c + harbour/src/codepage/utf8sort.c * replaced UTF8ASC with new CP: UTF8EX This CP uses character indexes instead of bytes one and operates on unicode characters flags. Tables for upper/lower conversions and upper/lower/alpha/digit flags were generated automatically from https://unicode.org/Public/UNIDATA/UnicodeData.txt It also uses custom collation rules. It's very simple one level sorting based on UTF8 C collation. If someone needs some advanced sorting rules, then it's enough to create copy of this cp with user custom version of UTF8_cmp() and UTF8_cmpi() functions, i.e. they can be redirected to some external library like ICU (icu-project.org). * harbour/contrib/hbct/ctwin.c * harbour/contrib/hbct/ctwin.h * harbour/contrib/hbct/ctwfunc.c * added support for new unicode GT API * harbour/contrib/xhb/xhbfunc.c * redirected HB_CMDARGARGV() to HB_PROGNAME() * harbour/contrib/hbnf/origin.c * redirected FT_ORIGIN() to HB_PROGNAME() * harbour/contrib/hbnf/getenvrn.c ! windows version of FT_GETE() fully rewritten - it should fix well known problems reported to the devel list. Please test. % small optimization for other systems * harbour/contrib/hbfship/exec.c * use hb_cmdargProgName() in EXECNAME() + harbour/tests/uc16_gen.prg + added code which generates tables with unicode character flags from https://unicode.org/Public/UNIDATA/UnicodeData.txt harbour/src/codepage/uc16def.c was generated by this code. * harbour/tests/inkeytst.prg * harbour/tests/wvtext.prg * harbour/tests/gtkeys.prg * use HB_INKEY_ALL * harbour/include/harbour.hbx * harbour/include/hbcpage.hbx * harbour/include/hblang.hbx * regenerated ; It was quite big peace of modifications and for sure not everything is well tested so please make test and report problems you will find. ; This is basic version which introduce to HVM CPs with custom encodings. Some contrib code has to be updated to work correctly with it. I hope that developers interesting in will make necessary updates. I haven't touched GTWVW code at all - sorry but it needs very serious work to make it production ready and fix all existing problems. ; Special thanks to OTC - this firm sponsored adding basic UTF8 support to HVM. 2012-04-20 08:14 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/src/common/hbffind.c ! fixed stupid typo in my previous commit which caused memory and resource leak 2012-04-19 12:15 UTC+0200 Viktor Szakats * include/hbapicdp.h * src/rtl/hbregex.c * src/rtl/cdpapi.c + will now automatically enable UTF8 in PCRE searches, if the HVM CP is set to UTF8. 2012-04-19 02:30 UTC+0200 Viktor Szakats * include/harbour.hbx * contrib/hbnetio/utils/hbnetio/netiosrv.prg * contrib/hbrun/hbrun.prg ! fixes to prev 2012-04-19 02:23 UTC+0200 Viktor Szakats * src/3rd/pcre/Makefile + enabled UTF8 support in PCRE (binary size overhead ~150 kB) + enabled unicode properties support in PCRE (binary size overhead ~50 kB) * src/rtl/hbregex.c + added commented logic to detect UTF8 support in PCRE and enable UTF8 mode when the HVM CP is also UTF8. Latter logic is missing yet and subject to review. * contrib/hbnetio/utils/hbnetio/netiosrv.prg * contrib/hbnetio/utils/hbnetio/netiocon.prg * contrib/hbnetio/utils/hbnetio/netiomgm.prg * contrib/hbrun/hbrun.prg * tests/ac_test.prg * tests/ac_test2.prg * tests/tstmacro.prg * tests/tstalias.prg * formatted using automatic tools 2012-04-18 15:14 UTC+0200 Viktor Szakats * contrib/xhb/hblognet.prg * contrib/hbssl/tests/test.prg * tests/server.prg ! replaced hb_inetCRLF() with CRLF literals (via macro or variable) now it's not used anywhere in Harbour SVN * tests/parseini.prg * tests/sbartest.prg * tests/server.prg * tests/ac_test.prg * tests/mousetst.prg * formatting * deleted legacy comments (*) 2012-04-18 04:39 UTC+0200 Viktor Szakats * contrib/hbcurl/hbcurl.ch * contrib/hbcurl/core.c + added new features introduced between libcurl 7.22.0 and 7.25.0 (inclusive) 2012-04-18 03:59 UTC+0200 Viktor Szakats * package/winuni/RELNOTES * updated some versions 2012-04-18 01:50 UTC+0200 Viktor Szakats * contrib/hbwin/win_prn1.c ! TRUE -> 1 (was HB_TRUE till yesterday) * include/harbour.hbx * formatted some remaining names 2012-04-17 16:20 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/src/rtl/hbsocket.c ! fixed WSAEFAULT (or sometimes GPF) error by passing correct buffer length to getsockopt() 2012-04-17 13:02 UTC+0200 Viktor Szakats * src/rtl/run.c * src/rtl/hbrunfun.c * experimental: use hb_processRun() on all win targets (was wince targets) instead of system() from C RTL. QUESTION: do the same for all platforms? * contrib/hbwin/win_prn1.c * contrib/hbwin/hbwin.ch * contrib/hbwin/hbwin.hbx + WIN_ENUMFONTS() modified to work also when no HDC is passed. + WIN_ENUMFONTFAMILIES( [ <nCharset> ][, <cName> ] ) -> <aFonts> * contrib/gtwvg/wvgcuig.c * contrib/gtwvg/wvgcore.c ! fixed possible GPF in some functions if font name was not passed 2012-04-12 12:35 UTC+0200 Viktor Szakats * INSTALL + extended TROUBLESHOOTING about generic common-sense information about not overdoing custom configuration, especially for C compiler. I didn't specifically include anything about bcc, but let me here note, that hbmk2 and Harbour core build system doesn't require bcc32.cfg and ilink32.cfg to be _present at all_ since quite long, so please remove them for best results. 2012-04-12 00:13 UTC+0200 Viktor Szakats * src/rtl/fscopy.c * reverted last change targeting hb_fs* -> hb_file* conversion. Ref: https://groups.google.com/d/topic/harbour-devel/dTN7rchixh8/discussion 2012-04-11 18:46 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/src/pp/ppcore.c ! fixed GPF if #pragma __*streaminclude is used with redirect user custom files 2012-04-11 13:53 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg * do not consider ".C" (uppercase c) as C++ source file. it might have caused confusion when bringing .c source files from legacy filesystems like MS-DOS, it may also be an advantage when doing multiplatform development between MS-DOS and newer systems. 2012-04-10 17:57 UTC+0200 Viktor Szakats * src/rtl/tget.prg ! ignore custom picture mask characters for date var type for CA-Cl*pper 5.x compatibility. E.g.: '@ 0, 0 GET dDate PICTURE "D"' 2012-04-10 02:57 UTC+0200 Viktor Szakats * contrib/gtwvg/gtwvg.c ! HB_GTINFOEX(): fixed using object after freeing it ! renamed HB_GTINFOEX() -> WVG_GTINFOEX() to avoid occupying Harbour core namespace in non-core component. It also uses raw pointer to access internals. (if such functionality is to be ever implemented in core, it should probably be done by extending existing HB_GTINFO()) ; INCOMPATIBLE. Update your function calls according to above. 2012-04-10 02:41 UTC+0200 Viktor Szakats * contrib/gtwvg/wvgclass.prg * contrib/gtwvg/wvgpaint.prg ! renamed public functions without namespace. INCOMPATIBLE. SetPaint() -> wvg_SetPaint() GetPaint() -> wvg_GetPaint() DelPaint() -> wvg_DelPaint() PurgePaint() -> wvg_PurgePaint() InsertPaint() -> wvg_InsertPaint() 2012-04-09 21:33 UTC+0200 Viktor Szakats * src/rtl/fscopy.c + using hb_file*() API instead of hb_fs*() API. Completing TODO originating from: https://groups.google.com/d/msg/harbour-devel/0QY0SJ8HBFU/rWbUvJXygWYJ ; review me. I had to add an ugly-looking hack for win, because error 38 was returned when reaching the end of file successfully. with hb_fs*() API this didn't happen. 2012-04-09 11:13 UTC+0200 Viktor Szakats * contrib/hbformat/hbfmtcls.prg ! use HB_FCOPY() instead of FRENAME() to create backup. this makes it work when .bak already exists. 2012-04-09 00:07 UTC+0200 Viktor Szakats * bin/hb3rdpat.hbs * formatting 2012-04-09 00:04 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg * bin/hb3rdpat.hbs ! fixed minor formatting problems mainly using custom automatic script * include/harbour.hbx * contrib/hbsms/hbsms.hbx + applied std casing to function names. it enhances readability, plus makes possible to use .hbx file for automatic formatting purposes. * utils/hbmk2/hbmk2.prg * config/postinst.hbs + preserve casing of function names in .hbx files ! fixed non-fatal typo in regex expressions 2012-04-06 11:05 UTC+0200 Viktor Szakats * contrib/hbhpdf/3rd/libhpdf/libhpdf.hbp * contrib/hbhpdf/3rd/libhpdf/libhpdf.dif + contrib/hbhpdf/3rd/libhpdf/hpdf3dme.h + contrib/hbhpdf/3rd/libhpdf/hpdf3dme.c + contrib/hbhpdf/3rd/libhpdf/hpdfencu.c + contrib/hbhpdf/3rd/libhpdf/hpdfexda.h + contrib/hbhpdf/3rd/libhpdf/hpdfexda.c + contrib/hbhpdf/3rd/libhpdf/hpdfimac.c + contrib/hbhpdf/3rd/libhpdf/t4.h * contrib/hbhpdf/3rd/libhpdf/* + libharu 2.2.1 -> 2.3.0RC2 updated to latest RC2 because I may also need it and the project is pretty much dead these days, so it might take a while to decide on a release. (plus I submitted Pull Request for warnings and report about more warnings) beware of bugs and if you find any, report to libharu developers. most important new stuff is partial unicode (1-2 bytes UTF8) and PDF/A support. it also incorporates our png patch, so local patching is minimal now. ; TODO: add hbhpdf wrappers for new functions not yet covered. 2012-04-05 16:13 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/include/hbapifs.h * harbour/src/common/hbffind.c ! fixed potential freeing uninitialized handlers on some platforms * hide private members * harbour/src/codepage/Makefile * harbour/include/hbcpage.hbx + harbour/src/codepage/cp950.c + harbour/src/codepage/cp_950.c + added new Harbour codepage "CP950". It's similar to BIG5 and used by MS-Windows. Please test and inform me if you can replace BIG5 in your applications with CP950 without any problems. * harbour/contrib/hbnf/hbnf.hbx + added FT_IDLE() 2012-04-04 22:43 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/src/rtl/hbsocket.c ! fixed problems with missing error setting in select() executed for asynchronous connect() (windows builds) and overwritten error codes in connect() and accept() (all builds). Many thanks for Mindaugas for locating the problem and patch. 2012-04-04 22:29 UTC+0200 Viktor Szakats * hbhpdf/hbhpdf.hbp * hbhpdf/hbhpdf.hbx + hbhpdf/misc.prg * hbhpdf/core.c + added HB_HPDF_VERSION( @nMajor, @nMinor, @nBugfix ) -> NIL + added HB_HPDF_ISVERSION( nMajor, nMinor, nBugfix ) -> lLogical ; these use the built-time version 2012-04-04 20:06 UTC+0200 Viktor Szakats * examples/guestbk/testcgi.prg * examples/hscript/multiply.hs * examples/hscript/readme.txt * examples/hscript/hello.hs * cleanups 2012-04-04 20:01 UTC+0200 Viktor Szakats * include/hb_io.h * src/main/harbour.1 * src/rtl/gtdos/gtdos.c * src/rtl/gtos2/gtos2.c * src/rtl/gtpca/gtpca.c * utils/hbmk2/hbmk2.1 * utils/hbtest/hbtest.1 * contrib/hbqt/hbmk2_qt.hbs * contrib/hbide/idemisc.prg * contrib/hbide/idesaveload.prg * contrib/hbide/ideprojmanager.prg * tests/sbartest.prg * tests/videotst.prg * tests/testhtml.prg * tests/vidtest.prg * tests/setkeys.prg * tests/mousetst.prg * TODO * NEWS * examples/guestbk/cgi.ch * examples/hscript/cgi.ch * "harbour project" name usage cleanup (except in license texts) * minor cleanups (e.g. updated project description and mailing list name in hbide) 2012-04-04 20:20 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * src/compiler/hbopt.c ! fixed -w3 warning 'Variable ... is assigned but not used' in case of BEGIN SEQUENCE/END SEQUENCE sentence. Ex.: BEGIN SEQUENCE nI := 1 BREAK(NIL) RECOVER ? nI END SEQUENCE 2012-04-04 16:33 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg * better fix 2012-04-04 16:30 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! fixed RTE in prev when lib/3rd is not present 2012-04-04 16:23 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! typo in prev 2012-04-04 15:45 UTC+0200 Viktor Szakats * contrib/make.hbs * contrib/hbpost.hbm + use HB_LIB3RD hbmk2 macro instead of rolling custom logic to detect and enable unicows lib. * utils/hbmk2/hbmk2.prg + added HB_LIB3RD internal variable (usable as filter and as macro) it's filled when '<hbroot>/lib/3rd/<plat>/<comp>' directory is present + added EXPERIMENTAL pseudo-function for filters to detect presence of file or directory: {hb_ispath='<file or directory>'}. if the value is not an absolute path, it will be meant relative to source hbmk2 file. * package/harb_win.mft * package/harb_win.rc * package/mpkg_win.nsi * package/mpkg_src_nightly.sh * package/winuni/mpkg_win_uni.nsi * "Harbour Project" -> "Harbour" * "hbrun" shortcut -> "Harbour (Interactive shell)" 2012-04-03 22:17 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/contrib/xhb/hboutdbg.c * eliminated HB_TCHAR_*() macros 2012-04-03 11:26 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbxbp/tests/demoxbp.prg ! Fixed: visibility of sub-menu's was off and thus main menu was not being displayed, reported by Zoran. 2012-04-03 19:02 UTC+0200 Viktor Szakats * package/harb_win.mft ! managed to mess up an UTF8 char in prev commit 2012-04-03 18:59 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/include/hbwinuni.h ! typos in previous commit * harbour/src/rtl/hbproces.c ! include hbwinuni.h 2012-04-03 18:43 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/include/hbapicdp.h * harbour/src/rtl/cdpapi.c + added new C functions: hb_cdpDupn(), hb_cdpStrDupU16(), hb_cdpnStrDupU16() * harbour/include/hbwinuni.h + added new macros: HB_CHARDUP() and HB_CHARDUPN() Warning: this macros uses HVM functions so cannot be used in code which is executed without active HVM i.e. in pure harbour compiler code (common library) * harbour/src/rtl/filesys.c * use hb_cdpStrDupU16() * harbour/src/rtl/hbproces.c ! fixed double OS codepage conversion in hb_fsProcessRun() * use HB_CHARDUP*() macros to respect _SET_CODEPAGE and _SET_OSCODEPAGE in Windows builds 2012-04-03 12:08 UTC+0200 Viktor Szakats * contrib/rddads/rddads.hbx * contrib/rddads/adsfunc.c + added ADSDDADDINDEXFILE(). posted by Lucas De Beltran. * contrib/hbformat/utils/hbformat.prg % changed manual logic to HB_DIRSEPADD() call ! changed SET( _SET_DIRSEPARATOR ) to HB_PS() 2012-04-03 02:28 UTC+0200 Viktor Szakats * src/lang/Makefile + src/lang/msghuutf.c + added Hungarian language module in unicode (UTF-8 encoding). 2012-04-03 00:01 UTC+0200 Viktor Szakats * package/harb_win.rc * package/harb_win.mft * 2011 -> 2012 * ChangeLog ! typos 2012-04-01 21:10 UTC+0200 Viktor Szakats * src/common/hbverdsp.c * do not show '(WINANSI)' in the list of version flags. * utils/hbmk2/hbmk2.prg + add -inc to xbuild and xmate converted projects, this being the default mode of operation (AFAI guess) of these tools. * contrib/hbct/disk.c * contrib/hbnf/kspeed.c * contrib/hbnf/peek.c * contrib/hbnf/proper.c * contrib/hbnf/ftidle.c * contrib/hbnf/mouse.c * contrib/hbnf/stod.c * contrib/hbnf/getvid.c * contrib/hbnf/getver.c * contrib/hbnf/getenvrn.c * contrib/hbnf/mkdir.c * contrib/hbnf/rmdir.c ! formatting 2012-04-01 17:07 UTC+0200 Viktor Szakats * config/win/mingw.mk * removed undocumented way (committed in prev rev) to disable separate compile pass for mingw Harbour-*.dll. if you're bothered, use existing and documented: HB_BUILD_DYN=no ; NOTE: separate compile pass has another important benefit: it will finally remove the implicit .dll exports, IOW now only explicitly exported symbols will be public, in sync with harbour-*.dlls created with all the other C compilers. 2012-04-01 16:30 UTC+0200 Viktor Szakats * config/win/mingw.mk + solved mingw harbour dll and unicows problem, so now -shared Harbour executables built using mingw will be able to run on Win9x, "out of the box". (has a downside that now separate compile pass is needed to build objects with -DHB_DYNLIB (like with all the other C compilers), but I left it enabled anyways to give uniform support for unicows by default, including the nightly and official builds.) * config/win/watcom.mk * config/win/xcc.mk * config/win/icc.mk * config/win/pocc.mk * config/win/bcc.mk * config/win/msvc.mk * restored to link 3rd libs (currently unicows, if available) to harbour-*.dll with above compilers. These are currently noops (except for bcc, where it just doesn't work), they are fundemantally correct, but may require further C compiler specific mods. ; TODO: problem with bcc harbour-*.dll remains. unicows is present, [DROPPED] specified, but ignored when linking, even though it's not ignored when contrib dlls are built using similar method. I leave resolving this problem to bcc users. 2012-04-01 11:55 UTC+0200 Viktor Szakats * config/win/watcom.mk * config/win/xcc.mk * config/win/icc.mk * config/win/mingw.mk * config/win/pocc.mk * config/win/bcc.mk * config/win/msvc.mk ! do not link unicows to harbour dll. it seems a noop for some compilers, and breaks some others (mingw). 2012-04-01 11:21 UTC+0200 Viktor Szakats * config/win/watcom.mk * config/win/xcc.mk * config/win/icc.mk * config/win/global.mk * config/win/mingw.mk * config/win/pocc.mk * config/win/bcc.mk * config/win/msvc.mk + reworked unicows lib support so now watcom will also work (not tested) * config/wce/mingwarm.mk * config/wce/poccarm.mk * config/wce/msvcarm.mk - deleted $(SYSLIBPATHS) in sync with win, left multiple lib path support. * contrib/hbwin/win_regc.c * formatting 2012-03-31 20:32 UTC+0200 Viktor Szakats * contrib/gtwvg/gtwvg.hbp * contrib/hbwin/hbwin.hbp * contrib/hbodbc/hbodbc.hbp * contrib/sddodbc/sddodbc.hbp * forced UNICODE on * examples/gtwvw/gtwvw.hbp * forced UNICODE off 2012-03-31 19:29 UTC+0200 Viktor Szakats * config/win/global.mk * config/rules.mk * moved UNICODE enabler logic to win platform make files, similarly to wce. * contrib/gtwvg/gtwvg.hbp * contrib/gtwvg/wvtwin.ch % deleted forced -DUNICODE option % deleted unused non-UNICODE macros from Harbour level header 2012-03-31 18:55 UTC+0200 Viktor Szakats * config/win/global.mk * Makefile ! fixed to find unicows libs when HB_BUILD_NAME is set 2012-03-31 18:42 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + will now add lib/3rd dir to the link commands, so unicows lib will be found in uninstalled Harbour SVN source tree. * contrib/make.hbs * contrib/hbpost.hbm + automatically enable unicows support for contribs, if available. - deleted support for undocumented __HB_BUILD_WINUNI envvar * config/global.mk * config/rules.mk - deleted support for undocumented __HB_BUILD_WINUNI envvar * package/winuni/mpkg_win_uni.bat * package/mpkg_win_nightly.bat - deleted special support for unicows libs for nightly and official releases, along with HB_DIR_UNICOWS envvar. Now these libs are included in all builds. * config/win/global.mk + automatically enable unicows support for core, if available. * config/win/xcc.mk * config/win/icc.mk * config/win/mingw.mk * config/win/pocc.mk * config/win/bcc.mk * config/win/msvc.mk + added support for SYSLIBPATHS. (used by unicows support) ! fixed bcc dynlib link command missing libpaths. ; NOTE: watcom unicows support is missing, as it needs special tricks due to missing separate libpath option in this compiler/linker. [SOLVED] * config/wce/mingwarm.mk * config/wce/poccarm.mk * config/wce/msvcarm.mk * synced with config/win files + config/libbin.mk + added rule to install pre-built binary libs. (for unicows libs) * Makefile + lib/3rd + lib/3rd/win + lib/3rd/win/mingw + lib/3rd/win/mingw/Makefile + lib/3rd/win/mingw/libunicows.a + lib/3rd/win/mingw/libunicows_license.txt + lib/3rd/win/bcc + lib/3rd/win/bcc/unicows_license.txt + lib/3rd/win/bcc/unicows.lib + lib/3rd/win/bcc/Makefile + added locally hosted unicows runtime/implibs from: https://libunicows.sourceforge.io/ by author Vaclav Slavik. With these libs, it's possible to use UNICODE builds with both MS unicows.dll and opencows .dll on legacy Windows-system (Win9x) (however, Harbour only fully supports unicows.dll). These libs will be installed to Harbour core lib directory, and also used from lib/3rd directory, if they are available. I've uploaed mingw and bcc libs because these are used nearly exclusively by users, but they are also available for older msvc, watcom, dmc and lcc compilers. I don't think it's worth the extra size to support Win9x using these legacy compilers, anyhow they can be added easily if needed. ; These changes mean three things: 1. Harbour now has only one build mode on Windows: UNICODE This will greatly simplify coding and testing and will allow to focus much better on what's important. It also allows to drop lots of dual code dealing with separate UNICODE and non-UNICODE branches. 2. Harbour default builds will now run on Win9x (currently when using mingw or bcc compilers), though UNICOWS.DLL is now required. See INSTALL how to get this free .dll from MS. This also means that Harbour can now theoretically by built on Win9x systems (I didn't try). 3. Harbour users can create UNICODE builds compatible with Win9x, by simply adding -lunicows to their .hbp projects. No extra installation is required. 2012-03-31 01:26 UTC+0200 Viktor Szakats * package/winuni/mpkg_win_uni.bat ! typo in mingw unicows license filename * contrib/hbqt/gtqtc/gtqtc.cpp - deleted Windows specific UNICODE macro refs 2012-03-30 19:38 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! fixed foreign make file conversion to add comment prefix for original filename included in .hbp file + .xbp conversion will add -hblib and -hbdyn if filename contains .lib and .dll respectively. (not sure how is this official rule or just convention or anything) 2012-03-30 19:06 UTC+0200 Viktor Szakats * contrib/xhb/filestat.c + switched from HB_TCHAR_* macros to Str API 2012-03-30 18:27 UTC+0200 Viktor Szakats * contrib/hbct/ctnet.c + switched from HB_TCHAR_* macros to Str API * contrib/xhb/filestat.c + preparation for HB_TCHAR_* macro elimination by removing static worker function ! fixed wrong OS_UNIX_COMPATIBLE macro which effectively disabled *nix specific code. Now new code is enabled, so beware of platform fallout especially on more exotic *nix flavors. (untested on *nix) * contrib/hbqt/gtqtc/gtqtc.cpp - deleted inactive code using HB_TCHAR_* macro 2012-03-30 17:21 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/include/hbwinuni.h * added explicit casting to HB_FSNAMECONV() macro to force compile time warnings when wrongly used also in UNICODE builds 2012-03-30 15:53 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/include/hbwinuni.h ! fixed typos in HB_FSNAMECONV() definition * harbour/src/rtl/filesys.c * harbour/src/rtl/fstemp.c * harbour/src/rtl/fslink.c * harbour/src/rtl/hbcom.c * harbour/contrib/hbmzip/mzip.c ! fixed casting in recent modifications (missing const) * harbour/src/rtl/gtcrs/hb-charmap.def * formatting 2012-03-30 12:07 UTC+0200 Viktor Szakats * src/rtl/fslink.c * contrib/hbmzip/mzip.c ! fixed missing Windows macro for legacy C compilers (bcc, lcc, dmc) regression from 2012-03-28 20:09 UTC+0200 and 2012-03-19 12:55 UTC+0100 reported by Grigory Filatov 2012-03-29 03:45 UTC+0200 Viktor Szakats * src/rtl/fstemp.c * hb_fsCreateTempEx(): changed to have only one return point ! hb_fsCreateTempEx(): do not call hb_fsNameConv() before calling hb_fsCreateEx(). Latter does this since a few commits, causing a regression here. ! low-level hb_fsTempName() fixed to use HB_FSNAMECONV() instead of HB_TCHAR_*() macros. This is slightly inappropriate for 'prefix' parameter, but will do for now. ! low-level hb_fsTempName() fixed to convert back result to _SET_OSCODEPAGE. This fixes caller hb_fsCreateTemp() which passes the value to hb_fsCreateEx(). ! hb_fsTempDir(): fixed to convert result to _SET_OSCODEPAGE. ; NOTE: These are supposed to fix some recent and not so recent oddities with HB_FCREATETEMP[EX]() and HB_DIRTEMP() functions when used with non-ASCII chars, especially on Windows. Tests done only on Windows, please review and test, also on other platforms, non-UNICODE mode. Regressions are possible. Oddly, HB_FCREATETEMP() won't work well without properly set _SET_OSCODEPAGE, probably something requiring further fixes (and/or internal unicode support?). ; NOTE: As a loose rule of thumb, each Harbour high-level (.prg) and low-level (.c) public APIs should expect and return strings in _SET_CODEPAGE, while applying FSCONV transformations on input filenames, and converting to/from _SET_OSCODEPAGE when interfacing with OS-level FS APIs (_SET_OSCODEPAGE should be ignored if OS-level FS APIs are capable of handling unicode, e.g. in Windows default build mode). Currently, low-level code uses a mixture of different methods to achieve this, HB_TCHAR_* macros and equivalent APIs, HB_FSNAMECONV(), hb_osDecodeCP()/hb_osEncodeCP(), hb_fsNameConv(), Str API. * contrib/hbmzip/mzip.c + Changed to use HB_FSNAMECONV() instead of HB_TCHAR_*() macros. ; review me! 2012-03-29 00:06 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/src/vm/itemapi.c % removed redundant trailing 0 setting * harbour/src/rtl/fslink.c ! fixed hb_osDecodeCP() usage * harbour/ChangeLog * marked last FIXME as [DONE] 2012-03-28 23:56 UTC+0200 Viktor Szakats * src/rtl/fslink.c + use hb_vmUnlock()/hb_vmLock() 2012-03-28 22:56 UTC+0200 Viktor Szakats * contrib/hbhpdf/3rd/libhpdf/libhpdf.hbp * alpha-sorted sources 2012-03-28 20:09 UTC+0200 Viktor Szakats * src/rtl/fslink.c + replaced HB_TCHAR_CONVTO() with HB_FSNAMECONV() on win + added hb_fsNameConv() support on *nix !!! review me !!! ! HB_FLINKSYM()/hb_fsLinkSym() fixed to work with directories on win, performance should be better also ! HB_FLINKREAD()/hb_fsLinkRead() fixed to return information for directories on win. + HB_FLINKREAD()/hb_fsLinkRead() now returns value in core codepage. FIXME: It crashes now on *nix, after hours of trying I give up, please review the hb_osDecodeCP() call and fix it. [DONE] ; TODO: this leaves only one HB_TCHAR_COPYFROM() macro in this file. [DONE] * tests/flink.prg ! fixed typo in HB_FLINKSYM() directory test * minor cleanup for directory link name 2012-03-28 14:18 UTC+0200 Viktor Szakats * src/rtl/fslink.c % using HB_TCHAR_COPYFROM() macro instead of locally rolled (equivalent) logic. 2012-03-28 11:25 UTC+0200 Viktor Szakats * contrib/hbhpdf/3rd/libhpdf/hpdfcfg.h ! stripped unused (as of 2.2.1) and potentially misleading libharu version information from local configuration header 2012-03-27 02:52 UTC+0200 Viktor Szakats * src/rtl/tbrowse.prg ! ignore non-string column picture value like Clipper (instead of RTE) (reported by Rossine) ; review/check me * INSTALL + added TROUBLESHOOTING / 13. on testing compatibility components against original implementation. 2012-03-26 16:45 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * contrib/rddads/ads1.c * added more error check 2012-03-21 14:04 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/src/vm/thread.c ! added missind HB_STACK_TLS_PRELOAD - thanks to Rossine for info. 2012-03-21 12:14 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/src/vm/thread.c + added support for optional parameters to hb_mutexEval() function: hb_mutexEval( <pMtx>, <bCode> | <@sFunc()> [, <params,...> ] ) -> <xCodeResult> 2012-03-20 19:32 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/src/codepage/cp_big5.c ! minor typo in information message 2012-03-20 19:26 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/include/hbcdpreg.h + added few macros for extended CP definition * harbour/src/codepage/cp_big5.c * harbour/src/codepage/cp_utf8.c * harbour/src/codepage/cp_u16le.c * updated macros for CP definition * harbour/tests/big5_gen.prg % added small improvement in code hashing character translation tables so they are a little bit smaller * harbour/src/codepage/big5.c * regenerated 2012-03-20 19:14 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/src/codepage/cp_utf8.c ! added if() statement missing in previous commit 2012-03-20 19:06 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/src/rtl/cdpapi.c * harbour/src/rtl/cdpapihb.c * harbour/src/codepage/cp_utf8.c * slightly modified algorithms for decoding UTF8 characters to work better with broken UTF8 strings (i.e. to not eat characters after broken and unclosed multibyte one) * some minor improvements in HB_UTF8STUFF() * formating 2012-03-20 18:44 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/include/hbapicdp.h + added missing declaration of hb_fsNameConvU16() 2012-03-20 18:40 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/include/hbwinuni.h + added HB_FSNAMECONV() macro - it's automatically redirected to hb_fsNameConv() or hb_fsNameConvU16() functions depending on UNICODE windows macro * harbour/include/hbapifs.h * harbour/src/rtl/filesys.c + added hb_fsNameConvU16() C function - it makes similar operatin to hb_fsNameConv() but returns UTF16 string. + added hb_fsPipeUnblock() C function - currently it works only in POSIX systems * HB_FSNAMECONV() instead of HB_TCHAR_*() macros * harbour/src/rtl/hbcom.c * HB_FSNAMECONV() instead of HB_TCHAR_*() macros % encapsulate port open and close operations inside hb_vmUnlock()/hb_vmLock() - on some systems this can be slow operations, i.e. close() is delayed until byte in output buffer are not transmitted. * harbour/src/rtl/hbproces.c % prefer read then write in pipe operations ! in POSIX systems set unblocking mode for PIPE handles in hb_fsProcessRun() function - it fixes potential deadlock * harbour/src/common/strwild.c * formatting * harbour/src/rtl/dircmd.prg % use space( n ) instead of repl( chr( 0 ), n ) for allocating dirty buffer * harbour/src/rtl/gttrm/gttrm.c * harbour/src/rtl/gtsln/kbsln.c * ignore broken UTF8 characters in input 2012-03-19 12:55 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/contrib/hbmzip/mzip.c ! fixed typo in DOS/Windows/OS2 READONLY attribute translation ! fixed EXECUTE attribute setting for *.sh files extracted from non *nix ZIP archives % eliminated repeated GetFileAttributes() calls in windows builds ! fixed attribute setting in *nix builds when filenames are translated due to some of filename releated _SET_* settings. ! enable (unintentionally disabled by typo) automatic attribute translation for archives created in DOS/Windows/OS2 without *nix attributes (i.e. by some local ZIP implementations) * harbour/contrib/hbmzip/tests/myunzip.prg ! translate datetime to date before is shown on the screen - it fixes output formatting 2012-03-19 02:05 UTC+0100 Viktor Szakats * src/compiler/hbusage.c ! typo * INSTALL ! generic *nix instructions moved after *nix specific ones 2012-03-15 13:44 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/ideuisrcmanager.prg + Implemented: the refreshed .ui in "UI Src Manager" positions its current object and action exactly in same state it was before editing in "cls_*ui.prg" was intiated and saved. Now, it is true two-way editing of class source; changes in one is reflected instantly in the other; a great productivity boost. 2012-03-15 10:31 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/idemain.prg * contrib/hbide/idesources.prg * contrib/hbide/ideuisrcmanager.prg + Implemented: click on a .ui note in <Projects Tree> will open the <UI Src Manager> dock containing .ui widget. + Implemented: modifying a "cls_*ui.prg" in the editor will refresh the related .ui in the "UI Src Manager> if it is already opened there. This facilitates the 2-way editing of event methods. 2012-03-14 02:14 UTC+0100 Viktor Szakats * contrib/hbqt/tests/ideui.hbp ! fixed non-portable local system dependent options. * rest cleaned and optimized. * contrib/hbqt/hbqt_common.hbm - deleted -prgflag=-D_HB_TR_NOALWAYS_ * contrib/hbxbp/tests/* * contrib/hbnetio/utils/hbnetioq/* * contrib/hbqt/tests/* * contrib/hbhpdf/tests/files/* (except one) * contrib/hbgd/tests/imgs_in/* * contrib/hbide/resources/* % optimized images using ImageOptim (https://imageoptim.com/) ; result is 200 kB smaller hbide executable on all platforms. 2012-03-13 16:09 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/ideuisrcmanager.prg * Completed: minimum required components to materialize some project based on this protocol. + contrib/hbqt/tests/cls_dbstruct.prg + contrib/hbqt/tests/dbstruct.prg + contrib/hbqt/tests/dbstruct.ui + contrib/hbqt/tests/ideui.hbp + Added: a small project where cls_dbstruct.prg is created by hbIDE's UI Src Manager. ; Note: event is define for only first button. Try with other buttons yourselves and come-out with suggessions. 2012-03-13 09:37 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * ontrib/hbide/ideuisrcmanager.prg * Some operational refinements. 2012-03-13 13:53 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/contrib/sddpg/sddpg.c * harbour/contrib/sddsqlt3/sddsqlt3.c * harbour/contrib/sddmy/sddmy.c * harbour/contrib/sddfb/sddfb.c * harbour/contrib/sddodbc/sddodbc.c * harbour/contrib/sddoci/sddoci.c * removed redundant fieldname conversions ; I left one FIXME note in sddfb.c - It's not critical but I'd like to ask someone with FB experience to verify it. 2012-03-13 12:55 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/package/harbour.spec ! added missing attribute for harbour.ld.conf file ! added optional hbhttpds library * harbour/contrib/hbct/envparam.c * harbour/contrib/hbct/dummy.c * harbour/contrib/hbct/hbct.hbp * harbour/contrib/hbct/hbct.hbx + added ENVPARM() - now it's implemented for all platforms but it should be tested on different *nixes - some of them may not support 'char * environ' public variable * harbour/contrib/xhb/hbserv.c * added missing dummy functions in DOS builds * harbour/utils/hbmk2/hbmk2.prg ! do not set binding to hb_forceLinkMainWin() when -nohblib and -gui switches are used together * harbour/include/hbapicdp.h * harbour/src/rtl/cdpapi.c + added new C functions hb_cdpnDupUpper(), hb_cdpnDupLower(), hb_cdpnDup2Upper() and hb_cdpnDup2Lower(). They should be used instead of hb_strUpper() and hb_strLower() functions because they can work well with CPs where upper and lower characters uses different number of bytes, i.e. UTF8 has such characters. * harbour/src/rtl/strcase.c * harbour/src/rtl/fstemp.c * harbour/src/rtl/filesys.c * harbour/src/rdd/dbfcdx/dbfcdx1.c * harbour/src/rdd/hbsix/sxsem.c * replaced obsolete hb_strUpper() and hb_strLower() functions with new hb_cdpnDup*Upper()/hb_cdpnDup*Lower() ones. * harbour/src/rdd/hbsix/sxutil.c * replaced obsolete hb_charUpper() function with hb_cdpnDupUpper() * harbour/contrib/sddpg/sddpg.c * harbour/contrib/sddsqlt3/sddsqlt3.c * harbour/contrib/sddmy/sddmy.c * harbour/contrib/sddfb/sddfb.c * harbour/contrib/sddodbc/sddodbc.c * harbour/contrib/sddoci/sddoci.c ! fixed memory leaks * replaced obsolete hb_strUpper() and hb_strLower() functions with new hb_cdpnDup*Upper()/hb_cdpnDup*Lower() ones. ; TODO: these conversions are redundant - I'll remove them in next commit. [DONE] 2012-03-13 11:10 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg ! in '.hbc not found' messages show .hbc reference without rebased path (=as it appears in .hbp file or on command-line), after macro expansion. 2012-03-13 00:47 UTC+0100 Viktor Szakats * contrib/hbqt/hbqt_common.hbm ! added special install support for unique dir structure of hbqt 2012-03-12 12:18 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/ideuisrcmanager.prg - Deleted: hack "HB_QTPATH" embedding in batch file. I was wrong in my assertion that fired process does not take over current process's enviroment. 2012-03-12 08:24 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/idemisc.prg * contrib/hbide/ideuisrcmanager.prg ! Changed: hb_osNewLine() => hb_eol() 2012-03-11 21:53 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/ideenviron.prg * contrib/hbide/ideharbourhelp.prg * contrib/hbide/idemain.prg * contrib/hbide/idemisc.prg * contrib/hbide/idesaveload.prg * contrib/hbide/ideuisrcmanager.prg ! Improved: how Harbour's root path is detected for .ui Source Manager. This is tried in the order below: 1. If any hbIDE specific environment protocol is used. ( It is hbQT specific or not is not verified so can fail ) 2. If entry is present in <Setup><hbIDE Setup><Paths><Harbour Root>. ( The most preferred way to avoid any ambiquity ) 3. If HB_INSTALL_PREFIX env variable is detected. ( Covers Harbour Developers ) 4. If "harbour.exe" or "harbour" file is detected alongside hbide.exe. ( Covers users of Harbour Nightly Builds ) ! Improved: how Qt path is detected, needed for uic.exe. HB_QTPATH is detected and then populated in the temp batch file. ; This commit is primarily focussed on tool detection. Please try again as per above specifications. 2012-03-07 20:25 UTC+0100 Viktor Szakats * contrib/hbhpdf/harupdf.ch ! fixed two constants 2012-03-06 16:47 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/hbide.hbp * contrib/hbide/ideactions.prg * contrib/hbide/idedocks.prg * contrib/hbide/ideenviron.prg * contrib/hbide/idemain.prg * contrib/hbide/ideobject.prg + contrib/hbide/ideuisrcmanager.prg + Started: implementation of IDE's next evolution step to write the upper level code to manipulate Qt Designer generated ".ui" dialogs. HOW IT WORKS 1. Click on "UI Source Manager" icon or "View" menu option. Will open a dock widget at the right docking area. 2. Drop a .ui ( take one from hbide included .ui's ) onto it. The dialog will show up. 3. Click on "Build Source" icon on top-toolbar of "UI Src Manager" dock widget. Notice that a new editing instance is initiated on the current panel with source file prefixed with "cls_" and suffixed by .ui's filename. For example, if you have dropped "dbstruct.ui" then source will be "cls_dbstruct.prg". This .prg will reside in the same folder where .ui is. 4. Examine the class code contained in the .prg. 5. Click on various controls and see a focus rectangle is placed around that control. Also viaualize the status-bar. 6. If the control happens to be of type QToolButton or QPushButton ( proof of concept is build for these controls only, yet ), you will see two entries in lower-left tree view. 7. Click on "Activated" tree-node and see the right-side editor comes into focus. Write some code in this editor, and then click on some other control or other tree-node. 8. Visualize that editing instance containing "cls_*ui.prg" will be refreshed and will contain some additional methods. 9. Now change something in the source itself, save, and come out, then re-drop the same .ui. See that changes will be reflected in methods represented in the tree-nodes. PLAY AROUND. Concept is in the making and have to go a long way, but surely it has a potentiality to reach a mile-stone. Your suggestions are welcome. 2012-03-04 23:11 UTC+0100 Viktor Szakats + package/harbour.rb + experimental (and untested) Homebrew formula * debian/dirs * debian/rules + added contrib dir (untested) * utils/hbmk2/hbmk2.prg * autodetect contrib/addons dirs at /usr/local/share/harbour/ and /usr/share/harbour/ * config/global.mk * changed contrib location on *nix systems to <root>/share/harbour/contrib unless the <root> is /opt/harbour. 2012-03-04 21:00 UTC+0100 Viktor Szakats * contrib/hbct/hbct.hbp * contrib/hbwin/hbwin.hbp * contrib/xhb/xhb.hbp + install .h headers to contrib dir only (and not anymore to the central Harbour include dir). This means that 3rd party or user code that uses these C-level contrib headers will now have to add contrib package using <contrib>.hbc hbmk2 option instead of manual -l options. INCOMPATIBLE. 2012-03-04 20:31 UTC+0100 Viktor Szakats * contrib/hbpost.hbm + install .hbx files to respective contrib dirs. ; TODO: delete all '-instfile=inc:' options from contrib .hbp files so that contrib headers are no longer duplicated in central Harbour include dir. This WILL BE INCOMPATIBLE change requiring users to use <contrib>.hbc files to add contrib packages to their projects (as opposed to manual -l options). [DONE] 2012-03-04 14:29 UTC+0100 Viktor Szakats * package/winuni/mpkg_win_uni.bat ! fix to prev 2012-03-04 14:06 UTC+0100 Viktor Szakats * contrib/hbpost.hbm * contrib/hbwin/hbwin.hbp % .def file install moved to hbwin - do not publish contrib-specific .h files 2012-03-04 13:55 UTC+0100 Viktor Szakats * contrib/make.hbs * deleted commented logic 2012-03-04 13:54 UTC+0100 Viktor Szakats * contrib/make.hbs * contrib/hbpost.hbm + implemented contrib-specific public file copy process using standard hbmk2 logic. (with very minor help from make.hbs) * contrib/make.hbs * cleaned up previously added logic, then disabled the whole thing, now replaced by standard hbmk2 logic. * config/postinst.hbs * minor fmt ; TODO: replace global contrib-specific file rules with contrib-local ones. so that unnecessary files won't be copied and any extra/special files will be. [DONE] 2012-03-03 16:12 UTC+0100 Viktor Szakats * contrib/hbpost.hbm * missed from prev 2012-03-03 16:10 UTC+0100 Viktor Szakats * package/winuni/mpkg_win_uni.bat - deleted windows-only contrib-specific file installation procedure. now done by contrib/make.hbs. ; it also means that contrib-specific public files are now included in non-unified installation packages, created using HB_BUILD_PKG=yes. ; TODO: modify *nix package creation scripts to include /opt/harbour/contrib in the package. * config/global.mk * INSTALL * changed HB_INSTALL_IMPLIB default to 'yes'. This means that now the implibs for 3rd party .dlls will be included in install packages, including the nightly/stable releases. This is theoretically wrong solution and bad practice, but to me real life shows that users don't have a clue about implibs and how to generate them and it also requires users to build Harbour themselves if they want to use any of the many libs with implib dependencies, instead of being able to use binary releases. One big WARNING applies (quote from INSTALL): "Also note that the generated implibs will require .dlls compatible with the ones used at build time." IOW you must be using the same (or binary compatible) .dll as was used at built time. If you use something else, you still will have to generate the implib yourself or change your .dll version according to above. [I hope Marek Paliwoda doesn't mind.] 2012-03-03 15:40 UTC+0100 Viktor Szakats * contrib/hbrun/headers.prg * utils/hbmk2/hbmk2.prg * changed #include filename references to _CASE-SENSITIVE_. This is to ensure and enforce that .hbs scripts and hbmk2 plugins are created in portable form so e.g. once developed on a win system, they won't crash on a *nix system. INCOMPATIBLE: Change all your #include references to exactly match casing of the filename. For Harbour headers, this means plain lowercase, so e.g. '#include "FileIO.ch"' is wrong, '#include "fileio.ch"' is right. * config/global.mk * minor 2012-03-03 15:33 UTC+0100 Viktor Szakats * contrib/hbmysql/tests/hbmk.hbm * contrib/hbct/tests/hbmk.hbm * contrib/hbgs/tests/hbmk.hbm * contrib/hbmxml/tests/hbmk.hbm * contrib/hbmzip/tests/hbmk.hbm * contrib/hbunix/tests/hbmk.hbm * contrib/sddpg/tests/hbmk.hbm * contrib/hbziparc/tests/hbmk.hbm * contrib/hbxbp/tests/hbmk.hbm * contrib/hblzf/tests/hbmk.hbm * contrib/hbxdiff/tests/hbmk.hbm * contrib/hbcurl/tests/hbmk.hbm * contrib/hbnetio/tests/hbmk.hbm * contrib/rddsql/tests/hbmk.hbm * contrib/hbmlzo/tests/hbmk.hbm * contrib/hbhttpd/tests/hbmk.hbm * contrib/gtwvg/tests/hbmk.hbm * contrib/hbpgsql/tests/hbmk.hbm * contrib/sddsqlt3/tests/hbmk.hbm * contrib/hbwin/tests/olesrv1.hbp * contrib/hbwin/tests/olesrv2.hbp * contrib/hbwin/tests/olesrv3.hbp * contrib/hbwin/tests/olesrv4.hbp * contrib/hbwin/tests/hbmk.hbm * contrib/hbsms/tests/hbmk.hbm * contrib/hbzebra/tests/hbmk.hbm * contrib/gtalleg/tests/hbmk.hbm * contrib/sddmy/tests/hbmk.hbm * contrib/xhb/tests/hbmk.hbm * contrib/hbodbc/tests/hbmk.hbm * contrib/sddfb/tests/hbmk.hbm * contrib/hbtpathy/tests/hbmk.hbm * contrib/hbsqlit3/tests/hbmk.hbm * contrib/hbmagic/tests/hbmk.hbm * contrib/hbexpat/tests/hbmk.hbm * contrib/hbblat/tests/hbmk.hbm * contrib/hbqt/tests/hbmk.hbm * contrib/hbfbird/tests/hbmk.hbm * contrib/hbbz2/tests/hbmk.hbm * contrib/hbnf/tests/hbmk.hbm * contrib/hbmemio/tests/hbmk.hbm * contrib/hbxpp/tests/hbmk.hbm * contrib/hbcups/tests/hbmk.hbm * contrib/hbhpdf/tests/hbmk.hbm * contrib/rddads/tests/hbmk.hbm * contrib/hbfimage/tests/hbmk.hbm * contrib/sddodbc/tests/hbmk.hbm * contrib/hbgd/tests/hbmk.hbm * contrib/hbmisc/tests/hbmk.hbm * contrib/sddoci/tests/hbmk.hbm * contrib/hbcomm/tests/hbmk.hbm * contrib/hbtip/tests/hbmk.hbm * contrib/hbcairo/tests/hbmk.hbm * contrib/hbssl/tests/hbmk.hbm % deleted relative paths from .hbc references 2012-03-03 15:20 UTC+0100 Viktor Szakats * contrib/make.hbs + added installation support of contrib-specific public files (.hbc, .hbs, local headers, .def files, readmes and tests) * config/global.mk * set install destination for contrib-specific public files to <root>/contrib for non-*nix and /opt/harbour/contrib for *nix systems. * utils/hbmk2/hbmk2.prg * changed HB_INSTALL_CONTRIB to HB_INSTALL_ADDONS E.g.: export HB_INSTALL_ADDONS=/usr/local/share/harbour/contrib:/usr/local/share/harbour/addons 2012-03-03 03:33 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + support for HB_INSTALL_CONTRIB envvar to specify dir(s) of contribs/addons for .hbc autofind purposes. Accepts multiple dirs. E.g.: export HB_INSTALL_CONTRIB=/usr/local/share/harbour/contrib:/usr/local/share/harbour/addons Experimental. 2012-03-02 11:27 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg * tuned Harbour root autodetection code to avoid corner case where another Harbour installation is present one or two dir levels upper in the tree. Regressions are possible. Please test. 2012-02-29 09:58 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + show .hbp file reference when .hbc is not found * config/postinst.hbs * corrected double dirseps in one case. * contrib/hbqt/qtgui/hbqtgui.hbx * contrib/hbqt/qtgui/qth/filelist.hbm ! disabled QDeclarative* wrappers until reported link problems are fixed. This allows HB_BUILD_CONTRIB_DYN=yes to work again. * contrib/hbqt/hbqt.hbc * contrib/hbqt/hbqt_all.hbp ! disabled hbqtsql until link problems (missing functions and wrappers) are fixed. This allows HB_BUILD_CONTRIB_DYN=yes to work again. 2012-02-28 20:59 UTC+0100 Viktor Szakats * config/global.mk + display HB_BUILD_CONTRIB_DYN setting in make output. some users might be forgetting they have this enabled. 2012-02-28 20:46 UTC+0100 Viktor Szakats * contrib/hbqt/gtqtc/gtqtc.hbm ! fixed to skip building .dll target. + contrib/hbqt/qtsql/hbqt_init.cpp * contrib/hbqt/qtsql/hbqtsql.hbm * contrib/hbqt/qtsql/hbqtsql.hbx ! added missing initialization/puller-code module. causing link failures when building .dll target. 2012-02-28 19:02 UTC+0100 Viktor Szakats * contrib/hbxbp/hbxbp.hbp * contrib/hbxbp/hbxbp.hbc * include hbqt.hbc instead of relative references to hbqt sublib .hbcs. This means hbxbp now includes all hbqt sublibs. * contrib/hbxbp/hbxbp.hbc * deleted reference to qtqtc.hbc. * contrib/hbide/hbide.hbp + removed relative path from .hbc references. * hbqt sublib reference replace with hbqt.hbc * contrib/hbxbp/hbxbp.hbp * contrib/hbide/hbide.hbp - deleted -prgflag=-D_HB_TR_NOALWAYS_ 2012-02-28 16:45 UTC+0100 Viktor Szakats * contrib/sddpg/sddpg.hbp * contrib/sddpg/sddpg.hbc * contrib/hbziparc/hbziparc.hbp * contrib/hbziparc/hbziparc.hbc * contrib/hbhttpd/hbhttpd.hbc * contrib/hbhttpd/hbhttpds.hbp * contrib/hbhttpd/hbhttpds.hbc * contrib/gtwvg/gtwvg.hbc * contrib/gtwvg/gtwvg.hbp * contrib/sddsqlt3/sddsqlt3.hbp * contrib/sddsqlt3/sddsqlt3.hbc * contrib/sddmy/sddmy.hbp * contrib/sddmy/sddmy.hbc * contrib/xhb/xhb.hbc * contrib/xhb/xhb.hbp * contrib/sddfb/sddfb.hbp * contrib/sddfb/sddfb.hbc * contrib/sddodbc/sddodbc.hbp * contrib/sddodbc/sddodbc.hbc * contrib/hbgd/hbgd.hbc * contrib/hbgd/hbgd.hbp * contrib/sddoci/sddoci.hbc * contrib/sddoci/sddoci.hbp * contrib/hbtip/hbtipssl.hbc * contrib/hbtip/hbtipssl.hbp * contrib/hbtip/hbtip.hbc + removed relative path from .hbc references from contrib area except: hbqt related cases, which is more complicated and hbmk.hbm files in test dirs (to avoid this extra point of failure for now). ; path-free reference to hbc files was pioneered by hbrun and it works on all systems (except one or two, yet to be determined why). 2012-02-28 16:35 UTC+0100 Viktor Szakats * contrib/hbmysql/utils/hbmk.hbm * contrib/hbnetio/utils/hbnetio/hbnetio.hbp * contrib/hbnetio/utils/hbnetioq/hbnetioq.hbp * contrib/hbformat/utils/hbformat.hbp + removed relative path from .hbc references * utils/hbmk2/hbmk2.prg + show warning when referenced .hbc file could not be found 2012-02-28 16:06 UTC+0100 Viktor Szakats * config/global.mk + detect rudix 2012-02-28 16:04 UTC+0100 Viktor Szakats * contrib/hbtip/client.prg ! typo * examples/ps32/ps32.hbc * examples/rddado/rddado.hbc + removed relative path from .hbc references in examples area 2012-02-28 15:46 UTC+0100 Viktor Szakats * examples/ps32/ps32.hbc * \ -> / * examples/dbu/readme.txt * examples/rl/readme.txt * minor 2012-02-27 11:17 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtcore/qth/QSignalMapper.qth - Commented-out: QWidget specific method calls. This is in accordance of our goal to keep modularity of HbQt libraries intact. 2012-02-24 13:46 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/include/hbcompdf.h * harbour/src/compiler/hbmain.c * harbour/src/compiler/hbcomp.c * harbour/src/compiler/harbour.y * harbour/src/compiler/harbour.yyc ! fixed compile time GPF exploited by strings used in CASE values of SWITCH statement compiled with active TEXHIDDEN pragma. Warning: strings used in such context (CASE values) are not encrypted in generated code, i.e. ".jpeg", ".jpg", ".png" in this code: SWITCH hb_FNameExt( cFileName ) CASE ".jpeg" CASE ".jpg" CASE ".png" show_pict( "Article picture", cFileName ) ENDSWITCH 2012-02-24 13:23 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * contrib/rddbm/bmdbfx.c ! fixed GPF after filter reallocation 2012-02-23 15:16 UTC+0100 Viktor Szakats * INSTALL ! updated mingw make links 2012-02-23 12:14 UTC+0100 Viktor Szakats * contrib/hbfimage/hbfimage.hbp * contrib/hbgd/hbgd.hbp * contrib/hbcairo/hbcairo.hbp + added /usr/local/include to dependency search path to make Homebrew happy (untested) 2012-02-23 12:03 UTC+0100 Viktor Szakats * INSTALL + updated OS X package manager instructions to Homebrew (from MacPorts) 2012-02-23 00:19 UTC+0100 Viktor Szakats * INSTALL * minor fixes 2012-02-21 23:40 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/contrib/hbct/ctwin.c * harbour/contrib/hbct/ctwin.h * harbour/contrib/hbct/ctwfunc.c * modified CTWLASTKEY() to set optionaly last key value TODO: finish support for KEYREAD()/KEYSEND() 2012-02-21 12:31 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/src/3rd/zlib/zutil.h * removed not longer necessary workaround for fdopen(), current ZLIB do not use stdio file functions * harbour/src/3rd/zlib/zlib.dif * rediffed with ../../../bin/hb3rdpat.hbs -rediff 2012-02-20 18:12 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/src/3rd/zlib/zlib.dif * rediffed with ../../../bin/hb3rdpat.hbs -rediff Thanks to Viktor for the info. 2012-02-20 16:25 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/src/3rd/zlib/gzlib.c ! do not use _lseeki64 in MinGWCE builds - such function does not exists in CTRL * harbour/contrib/3rd/sqlite3/sqlite3.c ! fixed declaration of 64-bit integer constant value in WinCE builds ; FIXME: in WInCE builds the following error is generated: implicit declaration of function 'osUnlockFileEx' and of course such functions does not exists (it's internal SQLITE3 macro) * harbour/contrib/3rd/sqlite3/sqlite3.hbp ! fixed declaration of _WIN32_WCE macro - it should be set to WinCE API version number. * harbour/contrib/3rd/sqlite3/sqlite3.dif * rediffed with ../../../bin/hb3rdpat.hbs -rediff * harbour/contrib/hbzebra/qrcode.c * pacified warning 2012-02-20 11:58 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/src/3rd/pcre/sjconfi.h ! disabled fastcall function attr in GCC older then 3.4 * harbour/src/3rd/pcre/pcre.dif * rediffed 2012-02-20 10:47 UTC+0100 Viktor Szakats * src/3rd/png/Makefile * src/3rd/png/* * 1.5.8 -> 1.5.9 (using hb3rdpat) ; Fixed vulnerability: CVE-2011-3026 2012-02-19 11:17 UTC+0100 Viktor Szakats * config/global.mk * added detection of homebrew package manager on darwin * utils/hbmk2/hbmk2.prg * INSTALL * fmt 2012-02-18 13:37 UTC+0100 Viktor Szakats * src/3rd/zlib/zlib.dif ! rediffed 2012-02-17 21:04 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/include/hbcom.ch * harbour/src/rtl/hbcom.c + added new serial error code: HB_COM_ERR_PIPE It's usable for some devices which use EPIPE error to signal disconnected state. * harbour/src/3rd/zlib/zlib.h + added missing declarations for exported public functions * harbour/src/3rd/zlib/gzlib.c * harbour/src/3rd/zlib/gzguts.h ! fixed POCC and XCC compilation * enabled support for vsnprintf() in OpenWatcom builds * harbour/src/3rd/zlib/Makefile ! fixed all non windows and WATCOM builds - critical macro set by ./configure in ZLIB was not defined ; warning long file support is broken on most of 32-bit platforms so be careful with GZIP functions. * harbour/contrib/gtwvg/gtwvg.h + define WINVER 0x0500 - it's necessary for some macros and structures used by GTWVG code * harbour/contrib/gtwvg/wvgwin.c * removed redundant line with 'break;' instruction 2012-02-17 16:32 UTC+0100 Viktor Szakats * package/winuni/mpkg_win_uni.bat * INSTALL * minor corrections 2012-02-17 08:59 UTC+0100 Viktor Szakats * INSTALL ! 'XCode' -> 'Xcode' 2012-02-17 08:42 UTC+0100 Viktor Szakats * INSTALL + added reference to 'Command Line Tools for XCode' ! fixed link for XCode 2012-02-16 13:26 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/hbqt_hbqplaintextedit.cpp * contrib/hbqt/qtgui/hbqt_hbqplaintextedit.h * Changed: dragging operation starting off mouse move event instead of mouse press event. 2012-02-16 19:27 UTC+0100 Viktor Szakats * INSTALL * minor to prev 2012-02-16 19:23 UTC+0100 Viktor Szakats * INSTALL + updated the description of Harbour (in sync with sf.net page) to put better emphasis on Harbour's values. 2012-02-16 17:30 UTC+0100 Viktor Szakats * INSTALL * 'Mac OS X' -> 'OS X' in sync with Apple. 2012-02-16 17:03 UTC+0100 Viktor Szakats * config/global.mk + XCode 4.3 clang support 2012-02-14 17:31 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/hbqt_hbqplaintextedit.cpp * Refined: dragging-text image made transparent with respect to editors background color, current-line highlight color. The experience now is smoother than before. 2012-02-14 16:40 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/hbqt_hbqplaintextedit.cpp * contrib/hbqt/qtgui/hbqt_hbqplaintextedit.h + Implemented: dragging of selected-text off an editing instance of hbIDE shows up image of text as mouse-trail. 2012-02-13 12:07 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/hbqt_hbqplaintextedit.cpp * contrib/hbqt/qtgui/hbqt_hbqplaintextedit.h * Fixed: drag & drop behavior. Now hbIDE confirms to standard Windows norms to select/drag/copy|paste operations. Additionally it also confirms to hbIDE's column-selected text and retains its standard behavior. 2012-02-12 16:44 UTC+0100 Viktor Szakats * INSTALL + added to self-contained source code example text: "Do not post executables and other binary files." It's redundant, but it apparently "source code" wasn't clear enough. 2012-02-12 16:32 UTC+0100 Viktor Szakats * contrib/hbhttpd/core.prg * explicitly set HKEEPORDER to not depend on default setting * contrib/xhb/hbdll.ch % replaced huge CASE statment with one-liner. also fixing typo in CASE statement. UNTESTED. 2012-02-09 13:49 UTC+0100 Viktor Szakats * src/rtl/hbjson.c + HB_JSONDECODE(): retain physical order of value pair in returned hash * utils/hbmk2/hbmk2.prg ! formatting * INSTALL ! wording 2012-02-08 12:57 UTC+0100 Viktor Szakats * INSTALL + added link to http://sscce.org/ which site describes quite precisely what a short, self-contained code example is. 2012-02-08 02:02 UTC+0100 Viktor Szakats * src/3rd/pcre/Makefile * src/3rd/pcre/pcre.dif + src/3rd/pcre/pcrebyte.c + added missing file ! adjusted Makefile list after prev commit 2012-02-08 01:51 UTC+0100 Viktor Szakats * src/3rd/pcre/pcre.dif * deleted patch applied upstream * src/3rd/pcre/Makefile - src/3rd/pcre/pcreinfo.c - src/3rd/pcre/pcretryf.c - src/3rd/pcre/pcreprni.h + src/3rd/pcre/pcreprni.c * src/3rd/pcre/* * 8.21 -> 8.30 (using hb3rdpat) ; supports 16-bit char API flavour (pcre16_*()). not enabled in Harbour ATM. 2012-02-08 01:25 UTC+0100 Viktor Szakats * src/3rd/pcre/Makefile + added translation for JIT files from PCRE package PCRE JIT is work of Zoltan Herczeg (hzmester/at/freemail.hu) ARM v5/v7/thumb2, MIPS 32, x86/x64, PPC32/64 CPU platforms are currently supported. + enabled PCRE JIT for mingw and msvc/x86/x64 (mainstream) compilers. Some alternate C compilers like bcc and watcom are not supported, others not tested. Enable those which work. + enabled PCRE JIT for linux and darwin (EXPERIMENTAL). Please test and adjust platform/compiler filters as required. ; fallouts are possible because this is brand new code never tested on Harbour platforms. ; TODO: to enable JIT on more platforms (*nixes, MS-DOS, etc). (Cygwin fails) * src/3rd/pcre/pcrejitc.c * src/3rd/pcre/pcre.dif + manual patch for sjlir.c inclusion (to be determined why hb3rdpat didn't apply this automatically) + src/3rd/pcre/sjmipsc.c + src/3rd/pcre/sjexeca.c + src/3rd/pcre/sjppcc.c + src/3rd/pcre/sjlir.c + src/3rd/pcre/sjx86c.c + src/3rd/pcre/sjconf.h + src/3rd/pcre/sjx8632.c + src/3rd/pcre/sjarmv5.c + src/3rd/pcre/sjlir.h + src/3rd/pcre/sjppc64.c + src/3rd/pcre/sjarmth2.c + src/3rd/pcre/sjutils.c + src/3rd/pcre/sjconfi.h + src/3rd/pcre/sjmips32.c + src/3rd/pcre/sjppc32.c + src/3rd/pcre/sjx8664.c + added PCRE JIT sources 2012-02-08 00:05 UTC+0100 Viktor Szakats * src/3rd/zlib/zlib.dif * src/3rd/zlib/Makefile * src/3rd/zlib/* * 1.2.5 -> 1.2.6 (using hb3rdpat + manual) ; NOTE: vsnprintf() fallouts possible. They patched it extensively, which overrode our similar efforts. ; TODO: please reapply __XCC__ patches. [DROPPED] * contrib/hbmzip/3rd/minizip/minizip.dif * contrib/hbmzip/3rd/minizip/minizip.hbp * contrib/hbmzip/3rd/minizip/* * 1.1 -> zip 1.2.6 (manual) ; NOTE: 64-bit file handling fallouts possible (they patched extensively what we did downstream) ; tested lightly on win. ; review this stuff 2012-02-07 22:47 UTC+0100 Viktor Szakats * contrib/hbmlzo/3rd/minilzo/minilzo.hbp * contrib/hbmlzo/3rd/minilzo/* * 2.05 -> 2.06 (using hb3rdpat) 2012-02-07 22:42 UTC+0100 Viktor Szakats * contrib/3rd/sqlite3/sqlite3.dif - deleted hunk fixed upstream * contrib/3rd/sqlite3/sqlite3.hbp * contrib/3rd/sqlite3/* * 3.7.7.1 -> 3.7.10 (using hb3rdpat) 2012-02-07 22:36 UTC+0100 Viktor Szakats * src/3rd/png/Makefile * src/3rd/png/* * 1.5.4 -> 1.5.8 (using hb3rdpat) ; Fixed vulnerability: CVE-2011-3464 2012-02-07 22:25 UTC+0100 Viktor Szakats * src/3rd/pcre/Makefile * src/3rd/pcre/* + src/3rd/pcre/pcrejitc.c * 8.12 -> 8.21 (using hb3rdpat) ; NOTE: New JIT feature off by default, not enabled 2012-02-07 22:10 UTC+0100 Viktor Szakats * src/3rd/jpeg/Makefile * src/3rd/jpeg/* * 8c -> 8d (using hb3rdpat) 2012-02-07 20:48 UTC+0100 Viktor Szakats * src/vm/set.c ! SET( _SET_DEVICE ) to accept anything starting with "PRIN" as "PRINTER" for Cl*pper compatibility. * src/rtl/filesys.c ! use utimes() instead of utime() on non-watcom linux platform to avoid warning (and to follow the other similar utimes() call). ; lightly tested, review me 2012-02-07 15:49 UTC+0100 Viktor Szakats * INSTALL + added new item to TROUBLESHOOTING section: "12. If you are to report a problem with Harbour itself, always provide self-contained, minimal sample source code. Do not use xhb contrib library, or any 3rd party Harbour libraries. The sample shall reproduce the problem using official stable or nightly Harbour build." 2012-02-03 17:26 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/hbqt_hbqplaintextedit.cpp * contrib/hbqt/qtgui/hbqt_hbqplaintextedit.h + Implemented: Drag & Drop of selected text. It confirms to the standard Windows behavior per drop protocol, and in addition, also confirms to the hbIDE's column-selection mode. 2012-02-02 10:32 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/gtwvg/wvgcrt.prg * contrib/gtwvg/wvgwnd.prg * contrib/hbxbp/xbpcrt.prg * contrib/hbxbp/xbpwindow.prg * Fixed: ::sSize => ::aSize. Overlook reported by Miso Pucko on bug-tracker. * Moved: some methods to PROTECTED: section. * Fixed: ::isParentCrt() which was preventing the subclassing WvgCRT(). Requested by Miso Pucko on bug-tracker. 2012-02-02 10:04 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/ideprojmanager.prg * Formatting. + contrib/hbide/resources/panel_10.png + contrib/hbide/resources/panel_11.png + contrib/hbide/resources/panel_12.png + contrib/hbide/resources/panel_13.png + contrib/hbide/resources/panel_9.png + Added: new images for panels. * contrib/hbide/hbide.qrc + Added: above images. 2012-02-01 00:50 UTC+0100 Viktor Szakats * contrib/hbxbp/xbpgeneric.prg * contrib/hbqt/qtgui/hbqt_hbqplaintextedit.cpp * contrib/hbide/hbqreportsmanager.prg ! neverending cleanup of HB_TR_ALWAYS debug lines * contrib/hbxbp/xbp.ch * contrib/hbide/hbide.ch + solution to end the neverending cleanup of HB_TR_ALWAYS debug lines ; NOTE: use debug msgs as described in INSTALL 2012-01-31 17:56 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/hbqt_hbqplaintextedit.cpp ! Fixed: a long standing mis-behavior where K_END was not working as expected in column-selection mode. 2012-02-01 00:50 UTC+0100 Viktor Szakats * ChangeLog ! added 'incompatible' flag to recent hbhttpd changelog entry 2012-02-01 00:44 UTC+0100 Viktor Szakats * examples/gtwvw/tests/ebtest7.prg * ARRAY( 0 ) -> {} 2012-01-31 14:19 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/qth/QWidget.qth + Restored: PaintEvent = YES * contrib/hbqt/hbmk2_qt.hbs + Implemented: Style-sheets working when current class is actually a sub-class. Tip and code snippet forwarded by Francesco Perillo, many thanks. 2012-01-31 20:04 UTC+0100 Viktor Szakats * src/rdd/usrrdd/rdds/arrayrdd.prg * contrib/gtwvg/wvgax.prg * contrib/hbwin/tests/testgdi.prg * contrib/hbgd/tests/test_out.prg * contrib/hbtip/tests/loadhtml.prg * contrib/hbide/ideactions.prg * tests/parseini.prg * examples/httpsrv/cgifunc.prg * examples/httpsrv/modules/tableservletdb.prg * examples/httpsrv/session.prg * HB_HASH() -> { => } 2012-01-31 16:22 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/src/pp/ppcore.c ! added resetting conditional compilation stack in hb_pp_reset() Before this modification unclosed #if[def] statements were significant for next PRG files passed to Harbour compiler as single command (in such way works also HBMK2 with build in compiler). * clean stream functions and user operators in hb_pp_reset() 2012-01-31 10:43 UTC+0100 Viktor Szakats * INSTALL * typo and minor tweak to troubleshooting section 2012-01-31 05:07 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/src/pp/ppcore.c ! fixed line numbering in extended codeblocks with multiline commands 2012-01-30 17:47 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/qth/QWidget.qth - Removed: PaintEvent = Yes flag. It should cover misbehavior reported by CarozoDeQuilmes. 2012-01-30 17:36 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/docviewgenerator.ui + Added: toolbar button on Document Viewer dock to "Save All as PDF". * contrib/hbide/idefunctions.prg + Added: ::lQuitting message handelling. * contrib/hbide/ideharbourhelp.prg + Implemented: to save all Harbour help documents to .pdf. User will be asked to provide a file name which will be used as prefix to complete .pdf filename. It will be suffixed with "_" + function name. User is requested to select an empty sub-folder to get all PDFs which will be over 2000+ as per current SVN. * contrib/hbide/idemain.prg + Reworked: how hbIDE was exiting. It may fix the exit crash. * contrib/hbide/idesaveload.prg + Fixed: a wrongly accesses class variable. This might potentially be causing hbIDE to generate GPF at startup on Windows 7, please test. * contrib/hbide/ideshortcuts.prg + Added: ::lQuitting message handelling. 2012-01-31 00:56 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/contrib/gtwvg/wvgwin.c ! added workaround for possible HVM string corruption and GPF in WVG_SENDMESSAGE() function. This function is still very danger when it's used with messages extracting data to passed buffer and user have to pass string large enough to avoid possible buffer overflow. 2012-01-31 00:37 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/contrib/gtwvg/wvgwin.c ! fixed wrongly used string handler instead of string pointer as HB_STORSTR() parameter ! added missing casting for C++ mode ! added casting to pacify warning 2012-01-30 15:19 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg * config/postinst.hbs ! use HB_WILDMATCH() with .T. option to make it behave as expected * include/harbour.hbx * include/hbcpage.hbx * regenerated 2012-01-30 14:33 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/include/harbour.hbx + added HB_FUNC_EXCLUDE HB_MT FIXME: it also disabled HB_MTVM() function. It should not happen. [DONE] * harbour/include/hbcpage.hbx + added HB_FUNC_EXCLUDE HB_CODEPAGE_BIG5 * harbour/include/harbour.hbx * harbour/include/hbusrrdd.hbx * harbour/include/hbscalar.hbx * harbour/include/hblang.hbx * harbour/include/hbcpage.hbx * regenerated automatically * harbour/src/rtl/valtype.c + added new PRG function: HB_ISHASHKEY( <xVal> ) -> <lValidHashKey> * harbour/src/lang/msgskiso.c * harbour/src/lang/msgskwin.c * harbour/src/lang/msgskkam.c * harbour/src/lang/msgsk852.c * modification in Slovak CPs by Jaroslav Janik - many thanks. 2012-01-30 14:38 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * ChangeLog ! fixed multiple typos in previous ChangeLog entry 2012-01-30 10:27 UTC+0100 Viktor Szakats * src/rtl/getsyshb.prg % optimization * contrib/hbqt/hbmk2_qt.hbs ! fixed version guards to add complete .prg level interface when the whole class is unsupported in the QT version we're building against 2012-01-29 17:22 UTC+0100 Viktor Szakats * src/rtl/tget.prg * src/rtl/getsyshb.prg + added support for hash GET variables * utils/hbmk2/hbmk2.prg + added REQUESTs to blowfish, md5, sha1 and few sha2 functions for 3rd party plugins * contrib/hbhttpd/core.prg * fmt 2012-01-27 22:40 UTC+0100 Viktor Szakats * contrib/hbhttpd/tests/eshop.prg * deleted debug line 2012-01-27 21:15 UTC+0100 Viktor Szakats * contrib/hbhttpd/core.prg * contrib/hbhttpd/tests/eshop.prg + enabled SSL after successful testing * moved cert generation instructions to sample app src 2012-01-27 20:52 UTC+0100 Viktor Szakats * contrib/hbplist * contrib/hbhttpd/core.prg * contrib/hbhttpd/hbhttpd.hbp * contrib/hbhttpd/hbhttpd.hbc + contrib/hbhttpd/hbhttpds.hbp + contrib/hbhttpd/hbhttpds.hbc * contrib/hbhttpd/widgets.prg * contrib/hbhttpd/hbhttpd.hbx - contrib/hbhttpd/tests/webapp.prg + contrib/hbhttpd/tests/eshop.prg * contrib/hbhttpd/tests/files/main.js + contrib/hbhttpd/tests/tpl + merged latest uhttpd changes (0.4) posted by Mindaugas on his website into hbhttpd. It implements these changes (quote): + SSL support * strict scope for UHttpd class methods and variables * support for more HTTP status codes * added error handler for child processes ! fixed bug in HttpDateUnformat() * new server parameters setting approach implemented [INCOMPATIBLE] * more friendly UProcInfo() output format + client IP filtering 2012-01-27 18:25 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * include/hbapi.h * src/vm/hashes.c * src/vm/hashfunc.c + implemented possibility to use hashes as sorted arrays with binary search. Implemented HB_BOOL hb_hashScanSoft( pHash, pKey, &nPos ). Function is similar to hb_hashScan(), but returns nPos even if pKey is not found in pHash. Extended HB_HHASKEY( aHash, xKey [, @nPos ] ) --> lFound Function optionally returns position of the item with a largest key smaller or equal to xKey. If xKey is less than all keys in hash, zero position is returned. I.e., aHash := {10=>, 20=>} ? HB_HHASKEY( aHash, 5, @nPos ), nPos // .F. 0 ? HB_HHASKEY( aHash, 10, @nPos ), nPos // .T. 1 ? HB_HHASKEY( aHash, 15, @nPos ), nPos // .F. 1 ? HB_HHASKEY( aHash, 20, @nPos ), nPos // .T. 2 ? HB_HHASKEY( aHash, 25, @nPos ), nPos // .F. 2 2012-01-27 13:34 UTC+0100 Viktor Szakats * INSTALL * deleted announcement mailing list. pls recreate with new owner if needed. 2012-01-26 14:55 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbxbp/xbpwindow.prg ! Fixed: (Hopefully) the main menu issue on MAC reported by Antonio Linares. 2012-01-26 12:37 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/idebrowse.prg * contrib/hbide/idechangelog.prg * contrib/hbide/idedocks.prg * contrib/hbide/idedocwriter.prg * contrib/hbide/ideedit.prg * contrib/hbide/ideeditor.prg * contrib/hbide/idefindreplace.prg * contrib/hbide/ideformat.prg * contrib/hbide/idefunctions.prg * contrib/hbide/ideharbourhelp.prg * contrib/hbide/idehome.prg * contrib/hbide/idemain.prg * contrib/hbide/ideobject.prg * contrib/hbide/idesaveload.prg * contrib/hbide/ideshortcuts.prg * contrib/hbide/ideskeletons.prg * contrib/hbide/idethemes.prg * contrib/hbide/idetools.prg * Fixed: (Hopefully) hbIDE crash at exit. This might happen at certain situations when a slot is executed while object has already been destroyed by its parent. The problem report was furnished by Antonio Linares, thanks. 2012-01-26 10:14 UTC+0100 Viktor Szakats * contrib/hbqt/hbqt_common.hbc ! untested patch to switch static supc++ to dynamic stdc++ on darwin systems (following bsd systems in 2010-11-26 13:44 UTC+0100) as suggested by Antonio Linares to make hbide build on OS X Lion. [ to be tested that earlier OS X version are still okay. ] 2012-01-25 18:05 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/idefindreplace.prg ! Changed: <Replace> option in <Find in Files> now opens the modified source on <Main> panel only instead the current active panel if the source is not open already. This facilitates the easy management of saving/closing those sources in bulk. 2012-01-25 15:04 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/idefindreplace.prg ! Changed: <Replace> option in <Find in Files> now keeps open the modified source in modified state which has to be saved/closed by the user manually. To accomplish this task efficiently there already exist an option in <Main Menu><Files><Save All> or by other tool-bar controlled icons. [ Suggested by Maurizio and Qatan ] ! Changed: Harbour Root Install path is automatically detected and posted to Harbour Documents Viewer if it is standard hb31 nightly installation. [ Omitted from prev post ] 2012-01-25 14:23 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/ideharbourhelp.prg + Changed: the way .hbd page was being displayed. Now it contains the complete syntax of the function/method etc. Thanks to Massimo for the tip. * contrib/hbide/idemain.prg * Fixed: SplashScreen() issue reported by Itamar. 2012-01-25 20:23 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + warning will be shown and lib ignored if user explicitly specifies Harbour core library. ! visual glitch in two trace msgs. * contrib/hbblat/tests/hbmk.hbm * contrib/hbhpdf/tests/hbmk.hbm + best practice: using .hbc files instead of -l options. 2012-01-24 18:00 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/idefindreplace.prg * contrib/hbide/idesources.prg + Implemented: <Replace> option in <Find in Files> protocol. Please test and forward your suggessions as to what can be improved hereunder. 2012-01-24 15:19 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/idedocks.prg * contrib/hbide/idemain.prg * contrib/hbide/idesaveload.prg ! Optimized: to display the user interface as fast as possible. The only feature compromized is the Window Theme set via <Setup><General><Style>. Now it appears to be lightening fast, let me know your experiences. 2012-01-24 23:50 UTC+0100 Viktor Szakats * ChangeLog ! typo * config/global.mk * changed wording in a rare error msg 2012-01-24 13:10 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/gtwvg/wvgwin.c + Added: WVG_SetMenuItem( hMenu, nPos, nFlags, cPrompt|oSubMenu, lPrompt ). * contrib/gtwvg/wvgmenub.prg + Implemented: ::setItem( nItemIndex, aItem ) * contrib/gtwvg/tests/demowvg.prg + Demonstrated: how to change the text of an existing menu prompt. 2012-01-23 17:49 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/gtwvg/wvg3stat.prg * contrib/gtwvg/wvgcheck.prg * contrib/gtwvg/wvgdatar.prg * contrib/gtwvg/wvglistb.prg * contrib/gtwvg/wvgmle.prg * contrib/gtwvg/wvgparts.ch * contrib/gtwvg/wvgradio.prg * contrib/gtwvg/wvgscrlb.prg * contrib/gtwvg/wvgsle.prg * contrib/gtwvg/wvgstatc.prg * contrib/gtwvg/wvgtreev.prg * Changed: Class DataRef() => WvgDataRef() It was conflicting with DataRef() in hbXBP implementation rendering both libraries mutually exclusive. * contrib/gtwvg/wvgcombo.prg + Implemented: WvgComboBox() exactly per Xbase++ documentation. * contrib/gtwvg/wvgwin.c + Added: WVG_SendCBMessage( hWnd, nMessage, wParam, lParam ) => xRetValue. * contrib/gtwvg/wvtwin.ch + Added: few missing CB_* constants. * contrib/gtwvg/tests/wvgtbrowser.prg + Demonstrated: WvgComboBox() functionality by replacing index orders list box with combobox. 2012-01-20 16:35 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/gtwvg/wvgdatar.prg * Fixed: :setData() method for WvgListBox(). * contrib/gtwvg/wvglistb.prg + Implemented: oWvgListBox:killInputFocus and oWvgListBox:setInputFocus callbacks. * contrib/gtwvg/wvgmenub.prg + Implemented: oMenu:insItem( nItemIndex, aItem ) -> nItemIndex oMenu:isItemChecked( nItemIndex ) -> lChecked oMenu:isItemEnabled( nItemIndex ) -> lEnabled oMenu:getItem( nItemIndex ) -> aItem * contrib/gtwvg/wvgwin.c + Added: WVG_InsertMenu( hMenu, nPosition, nFlags, nMenuId|hSubMenu, cPrompt ) -> lSuccess WVG_IsMenuItemChecked( hMenu, nPosition ) -> lChecked WVG_IsMenuItemEnabled( hMenu, nPosition ) -> lEnabled * contrib/gtwvg/tests/demowvg.prg + Added: demo code to demonstrate above features. 2012-01-18 17:41 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/gtwvg/hbgtwvg.ch + Added: HB_GTS_KEYTOITEM constant. * contrib/gtwvg/gtwvg.c + Added: WM_VKEYTOITEM and WM_CHARTOITEM messages fired as events. * contrib/gtwvg/wvglistb.prg + Added: LBS_NOINTEGRALHEIGHT and LBS_WANTKEYBOARDINPUT attributes. + Added: recognizing keyboard input. K_ENTER press on a listbox item now activates :itemSelected callback. * contrib/gtwvg/wvgphdlr.prg * contrib/gtwvg/wvgwnd.prg + Added: to recognize HB_GTS_KEYTOITEM event. 2012-01-18 12:02 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/hbqtgui.ch + Added: constants for QDeclarative_*. * contrib/hbqt/qtgui/hbqtgui.hbx * Refreshed. 2012-01-18 11:59 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/gtwvg/tests/demowvg.prg * Fixed: some artifacts. * contrib/gtwvg/tests/wvgtbrowser.prg * Fixed: browser movements in relation to scrollbars. 2012-01-17 18:07 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/qth/filelist.hbm + Added: new following classes. + contrib/hbqt/qtgui/qth/QDeclarativeComponent.qth + contrib/hbqt/qtgui/qth/QDeclarativeContext.qth + contrib/hbqt/qtgui/qth/QDeclarativeEngine.qth + contrib/hbqt/qtgui/qth/QDeclarativeError.qth + contrib/hbqt/qtgui/qth/QDeclarativeExpression.qth + contrib/hbqt/qtgui/qth/QDeclarativeImageProvider.qth + contrib/hbqt/qtgui/qth/QDeclarativeItem.qth + contrib/hbqt/qtgui/qth/QDeclarativeListReference.qth + contrib/hbqt/qtgui/qth/QDeclarativeParserStatus.qth + contrib/hbqt/qtgui/qth/QDeclarativeProperty.qth + contrib/hbqt/qtgui/qth/QDeclarativePropertyMap.qth + contrib/hbqt/qtgui/qth/QDeclarativePropertyValueSource.qth + contrib/hbqt/qtgui/qth/QDeclarativeScriptString.qth + contrib/hbqt/qtgui/qth/QDeclarativeView.qth + Implemented: QDeclarative*() classes. These classes implement the "Qt Quick" protocol introduced in Qt 4.7 onwards and being a whole new world to Harbour developers. TODO: an example how to use them in the context of Harbour. 2012-01-17 12:13 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/tests/browqt.prg * contrib/hbqt/tests/wvtqt.prg * Refined: to execute a Qt dialog from within GTWVT application. This implementation assumes that GTWVT is the main application window and Qt dialogs are opened in separate thread. Will look into how the reverse can be achieved. 2012-01-16 17:32 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/gtwvg/gtwvg.c * contrib/gtwvg/gtwvg.h * contrib/gtwvg/hbgtwvg.ch + Implemented: HB_GTI_MAXIMIZABLE message. hb_gtInfo( HB_GTI_MAXIMIZABLE, TRUE/FALSE ) -> lPrevState TODO: implement in GTWVT if deemed fit. 2012-01-16 16:50 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/gtwvg/gtwvg.c + Extended: hb_gtInfo( HB_GTI_SPEC, HB_GTS_SETPOSITION, [{x,y}] ) to return the previous window position as {x,y} array. 2012-01-16 16:30 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/gtwvg/wvgdatar.prg ! Synchronized: WvgListBox():getData() method. * contrib/gtwvg/wvglistb.prg * contrib/gtwvg/wvgtreev.prg * contrib/gtwvg/wvgwnd.prg + Implemented: oXbp:pointerFocus instance variable for WvtListBox() and WvtTreeView() objects. If a control is laid onto a WvgCrt(), then this variable can be set to FALSE to keep focus on console window. INCOMPATIBLE: this behavior is not available in Xbase++. 2012-01-16 16:26 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtcore/hbqtcore.hbx * contrib/hbqt/qtcore/qth/filelist.hbm * contrib/hbqt/qtcore/qth/QFileSystemWatcher.qth * contrib/hbqt/qtcore/qth/QObject.qth + Added: QFileSystemWatcher() class. Elements pulled by Bacco, thank you, with a small change. 2012-01-16 23:36 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/contrib/xhb/hbcompat.ch * added few more translation rules * harbour/contrib/xhb/hbxml.ch * synced with xHarbour * harbour/contrib/rddads/rddads.h * harbour/contrib/rddads/ads1.c * harbour/contrib/rddads/adsfunc.c * moved ADS call back to TSD + added optional support for storing connection handler in TSD. By default it's disabled and can be enabled by compile time macro: HB_ADS_TSD_CONNECTION (i.e. set/export HB_USER_CFLAGS=-DHB_ADS_TSD_CONNECTION) I added it for tests. I'm still waiting for code example which can exploit problems in ACE library when single connection handle is used by different threads. 2012-01-16 19:28 UTC+0100 Viktor Szakats * package/winuni/RELNOTES * INSTALL * qt version 2012-01-12 18:48 UTC+0100 Viktor Szakats * src/rtl/hbdynhb.c - deleted support to accept raw function pointers. [INCOMPATIBLE] (note the C-level and XBase++ compatibility .prg-level interfaces continue to offer that option) ; HB_DYNCALL() should be called as follows: HB_DYNCALL( { <cFunction>, <cLibrary> | <pLibrary> [, <nFuncFlags> [, <nArgFlags1>, ..., <nArgFlagsn> ]] }, ... ) -> <xResult> where <nFuncFlags> can be: hb_bitOr( HB_DYN_CTYPE_*, HB_DYN_ENC_*, HB_DYN_CALLCONV_* ) <nArgFlags*> can be: hb_bitOr( HB_DYN_CTYPE_*, HB_DYN_ENC_* ) 2012-01-12 00:12 UTC+0100 Viktor Szakats * src/rtl/memvarhb.prg % '&varname := value' -> __mvPut( varname, value ) * formatting * contrib/hbrun/hbrun.prg ! formatting 2012-01-11 23:56 UTC+0100 Viktor Szakats * src/rdd/dbtotal.prg * contrib/hbqt/qtcore/hbqt_misc.prg * contrib/hbide/idemisc.prg * contrib/hbide/hbqreportsmanager.prg % '&("{||" + c + "}")' -> HB_MACROBLOCK() * contrib/hbqt/qtcore/hbqtcore.hbx * contrib/hbqt/qtcore/hbqt_misc.prg * contrib/hbxbp/xbpbrowse.prg ! typo in public function name: HBQT_PROMOTWIDGET() -> HBQT_PROMOTEWIDGET() [INCOMPATIBLE] * ChangeLog ! added incompatible flag to relevant part of latest entry 2012-01-11 19:25 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * contrib/hbcairo/core.c ! fixed typo * contrib/hbssl/ssl.c ! fixed typo in SSL_GET_MODE() * contrib/hbssl/hbssl.h * contrib/hbssl/x509.c * contrib/hbssl/ssl.c + implemented release option for X509 collectable pointer ; openSSL increments reference counter for X509 returned by SSL_get_peer_certificate(), but does not increment it for SSL_get_certificate(). Unnecessary freeing of X509 pointer caused random GPF later * src/rtl/hbsockhb.c * changed .prg level hb_socketSetBlockingIO() return value type from lSuccess to nSuccess, to have the same return value meaning precision as C level function [INCOMPATIBLE] * src/rtl/hbsockhb.c * include/harbour.hbx + hb_socketGetFD( hSocket ) --> nFD 2012-01-11 14:47 UTC+0100 Viktor Szakats * tests/testdyn.prg ! fixed typo discovered by Alex Strickland. Thank you. * contrib/hbrun/hbrun.hbp - deleted unfinished solution for "DSO" builds (having two FIXMEs for many months). Please supply required extra libs ('m' and 'z' in case of hbrun) manually to the build via HB_USER_LDFLAGS, HB_USER_LIBS, until a complete solution is discovered. 2012-01-10 14:38 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/include/hbhrb.ch * harbour/src/vm/runner.c * disabled access to INIT and EXIT functions in HB_HRBGETFUNSYM() and HB_HRBGETFUNLIST() + added 2nd parameter <nType> to HB_HRBGETFUNLIST() HB_HRBGETFUNLIST( <pHRB> [, <nType>] ) -> <aFuncList> <nType> is defined in hbhrb.ch: HB_HRB_FUNC_PUBLIC - locally defined public functions HB_HRB_FUNC_STATIC - locally defined static functions HB_HRB_FUNC_LOCAL - locally defined functions HB_HRB_FUNC_EXTERN - external functions used in HRB module 2012-01-09 22:20 UTC+0100 Viktor Szakats * contrib/hbtip/sendmail.prg * contrib/hbtip/smtpcli.prg ! After a conversation with Antonio Maniero (also subscriber of the dev-list), we detected some trouble with hb_sendmail() under some conditions: EXIM servers refuse the HELO/EHLO greeting that doesn't conform to RFC2821, so when one try to autenticate with username containing an @ or any other character that is not allowed in FQDNs, the server refuses to proceed. Many SMTP servers, (EG: Google ones) are more tolerant, so I believe that this helped the problem gets unnoticed. The patch introduces a new parameter, preserving backward compatibility and at the same time fixing the @ problem, even in unmodified code that doesn't provide the extra parameter (as we removed the cUser from the HELO string, that is causing trouble with EXIM. Anyway, these strings would be accepted only by tolerant servers, so the correct one should cause no problem at all). ; Patch and description by Carlos Bacco. Thank you. 2012-01-09 16:18 UTC+0100 Viktor Szakats * contrib/hbssl/ssl.c * contrib/hbssl/sslctx.c ! disabled references to stuff deleted from OpenSSL 1.0.0+ 2012-01-09 14:41 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/src/rdd/dbf1.c ! fixed default initialization value in UNICODE fields after APPEND BLANK. Many thanks to Phil Krylov for information about the problem and patch. The fix I committed is slightly different just to follow idea of this code. 2012-01-06 16:13 UTC+0100 Viktor Szakats * ChangeLog * (whole tree) * changed email address 2012-01-06 12:12 UTC+0100 Francesco Saverio Giudice (info/at/fsgiudice.com) * harbour/contrib/hbblat/blatcls.prg * Update copyright years * Updated to 2.7.6 blat version + Added lNoMD5 class var for -nomd5 option + Added cContentType class var for -contentType <string> option * Fixed error in ArrayToString() when file name contains " char 2012-01-05 14:47 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/include/hbrdddbf.h * moved DBF record lock range for DB_DBFLOCK_HB64 to avoid potential problems with integer overflows in system or network transport layer. Warning: INCOMPATIBLE! all applications using DB_DBFLOCK_HB64 locking mode should be updated - it is not safe to concurrently access the same files using programs compiled with older Harbour versions and current one. 2012-01-05 14:07 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/src/rtl/hbgtcore.c + added default value (0) for HB_GTI_KBDSHIFTS in GTs which do not support this HB_GTI_* flag 2012-01-04 00:12 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/src/rtl/filebuf.c ! modified the code to work with optimizations like -fstrict-overflow in GCC which assumes signed overflow does not occur. 2012-01-03 14:39 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/ideconsole.prg * Minor. * contrib/hbide/finddialog.ui * Changed: the appearance and a bit of functionality of "Find & Replace" dialog. It was occupying larger desktop territory than needed, which, at times is too precious. * contrib/hbide/idefindreplace.prg * Reworked: the way "Find What" edit control of "Find & Replace" dialog was behaving. Now it is almost at par with XMate. * Fixed: the window coordinates were not being maintained either with repositioning or close via "X" button. 2012-01-03 15:40 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/src/rtl/filebuf.c ! fixed next three integer overflows exploited by HB64 locking mode. BTW probably I'll move the lock range to not operate on last positive offset because such overflow problems can be also exploited in low level OS or network transport layer code - it happened in the past. I'll do that when we confirm that current Harbour implementation is correct. 2012-01-03 10:39 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/src/rtl/filebuf.c ! fixed integer overflow in code scanning the lock pool. It fixes the problem with releasing FLOCK() reported by Viktor. 2012-01-02 23:10 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/src/rtl/gtwvt/gtwvt.c * harbour/contrib/gtwvg/gtwvg.c ! always set trailing 0 in the buffer containing font name set by HB_GTI_FONTNAME - protection against too long strings. * harbour/contrib/gtwvg/wvgwing.c ! fixed memory leak in last commit - thanks to Mindaugas. % use HB_ITEMCOPYSTR() in WVG_FONTCREATE() to eliminate memory allocation. 2012-01-02 22:29 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/contrib/gtwvg/wvgutils.c * harbour/contrib/gtwvg/wvgwing.c * eliminated HB_TCHAR_*() macros ; FIXME: replace hb_parvc() and nCopyAnsiToWideChar() function with valid HB_STR* macros. Function nCopyAnsiToWideChar() should be removed. * harbour/contrib/xhb/xhw32prn.prg ! added missing ; 2012-01-02 21:38 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/include/hbapistr.h * harbour/src/vm/strapi.c + added new C functions: const char * hb_parastr( int iParam, HB_SIZE nIndex, void * cdp, void ** phString, HB_SIZE * pnLen ); const char * hb_parastr_utf8( int iParam, HB_SIZE nIndex, void ** phString, HB_SIZE * pnLen ); const HB_WCHAR * hb_parastr_u16( int iParam, HB_SIZE nIndex, int iEndian, void ** phString, HB_SIZE * pnLen ); * harbour/include/hbwinuni.h + added new C macros for windows builds: HB_PARASTR( nItem, nIndex, phStr, pnLen ) HB_PARASTRDEF( nItem, nIndex, phStr, pnLen ) * harbour/src/vm/hashes.c + added optional code for deleting items from hash arrays with strict order. This code can be enabled by Harbour compile time macro: HB_FAST_HASH_DEL. I added it for testing only. 2012-01-01 14:05 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/gtwvg/wvgcore.c * contrib/gtwvg/wvgcuig.c * contrib/gtwvg/wvgutils.c * contrib/gtwvg/wvgwin.c ! Removed: remaining occurances of hb_parc(x) whereever relevant. Only 4 occurances are remaining. ! Cleaned: some "//" comments. 2011-12-31 21:16 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/gtwvg/gtwvg.c * contrib/gtwvg/gtwvg.h * contrib/gtwvg/wvgcore.c * contrib/gtwvg/wvgcuig.c * contrib/gtwvg/wvggui.c * contrib/gtwvg/wvgutils.c * contrib/gtwvg/wvgwin.c * contrib/gtwvg/wvgwing.c ! Removed: TCHAR_* macros, almost. Only 6 occurances are still present in the code which I do not know how to cover. * contrib/gtwvg/wvgmenub.prg ! Adapted: the conversion of character '~' to '&' at prg level instead of C level. 2011-12-31 03:30 UTC+0100 Viktor Szakats * contrib/xhb/xhw32prn.prg ! fixed typo in ::TEXTATFONT() to pass vertical alignment parameter. (checkme) 2011-12-30 13:15 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/ChangeLog ! fixed typo in file name in my previous commit. It should be gtwvg.c not gtwvg.h * harbour/src/rtl/disksphb.c ! fixed variable declaration for strict ANSI C compilers 2011-12-29 23:51 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/include/hbapistr.h * harbour/src/vm/strapi.c + added new C functions: hb_wstrncpy(), hb_wstrncat() * harbour/src/common/hbstr.c ; minor updated in comment * harbour/include/hbwinuni.h + added new macros: HB_STRLEN(), HB_STRNLEN(), HB_STRDUP(), HB_STRNDUP(), HB_STRNCPY(), HB_STRNCAT(), HB_STRCMP(), HB_STRNCMP() * harbour/src/rtl/disksphb.c * harbour/src/rtl/gtwvt/gtwvt.h * harbour/src/rtl/gtwvt/gtwvt.c * eliminated HB_TCHAR_*() macros 2011-12-29 16:17 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/contrib/gtwvg/gtwvg.h ! added missing 'void * hText' member to HB_GOBJS struct ! changed 'LPTSTR lpText' to 'LPCTSTR lpText' in HB_GOBJS struct * harbour/contrib/gtwvg/gtwvg.c ! fixed old code not updated to follow recent Pritpal modifications * harbour/contrib/hbzebra/qrcode.c ! pacified GCC warnings 2011-12-29 16:01 UTC+0100 Viktor Szakats * INSTALL * further clarified the way to submit diffs (use _one_ .dif file created from root of SVN sandbox using 'svn diff', use extension '.zip') * clarified the names of mailing list. * clarified which mingw tdm 4.6.1 version is okay. * simplified to use 'zip' tool and .zip extension for submitted logs. 2011-12-25 14:47 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/gtwvg/wvgcore.c * contrib/gtwvg/wvgcuig.c * contrib/gtwvg/wvggui.c * contrib/gtwvg/wvggui.h * contrib/gtwvg/wvgutils.c * contrib/gtwvg/wvgwin.c * contrib/gtwvg/wvgwing.c ! Replaced: HB_TCHAR_* macros to HB_STR*() API. I could not find the hb_str*() api interface for remaining macros. 2011-12-24 12:05 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/hbqtgui.ch * contrib/hbqt/qtgui/hbqtgui.hbx * contrib/hbqt/qtgui/qth/filelist.hbm * contrib/hbqt/qtgui/qth/QPixmap.qth + Added: version dependant :scroll() methods. + contrib/hbqt/qtgui/qth/QPrintPreviewWidget.qth + Added: QPrintPreviewWidget class. Patch provided by Bacco, thank you. 2011-12-24 01:30 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/gtwvg/gtwvg.c * contrib/gtwvg/gtwvg.h ! Synchronized: with GTWVT as much possible. Mainly eliminated TCHAR_* macros and used hb_str* api. Also tried to synchronize codepage issue, not sure how much I succeeded. 2011-12-24 10:31 UTC+0100 Viktor Szakats * doc/pragma.txt ! minor to prev 2011-12-24 03:32 UTC+0100 Viktor Szakats * ChangeLog * (whole tree) * removed obsolete antispam measure from my email address 2011-12-24 01:55 UTC+0100 Viktor Szakats * doc/pragma.txt ! typos + added some new pragmas 2011-12-23 14:34 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/tests/demoqt.prg ! Demonstrated: how hovering effect on a pushbutton can be achieved. ! Decorated: pushbutton with some minor details. 2011-12-23 13:09 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtcore/hbqt_misc.prg + Embedded: oQt:hbSetEventBlock( QEvent_Paint, bBlock ) => oQt:connect( QEvent_Paint, bBlock ) NOTE: the difference is that in all other events only one parameter is passed to bBlock, i.e., an object of type relevant QEvent, whereas, for paintEvent two parameters are passed, first as usual qPaintEvent, the other qPainter. * contrib/hbqt/tests/demoqt.prg ! Replaced: oBtn:hbSetEventBlock( QEvent_Paint, bBlock ) => oBtn:connect( QEvent_Paint, bBlock ) 2011-12-23 11:43 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/hbmk2_qt.hbs ! Fixed: a strategic omission where return value of a block was not being retrieved properly. Now newly introduced engine to render owner-drawn objects at the .prg level is working flawlessly. 2011-12-23 19:12 UTC+0100 Viktor Szakats * contrib/hbzebra/tests/testwin.prg * contrib/hbzebra/tests/testcair.prg * contrib/hbzebra/tests/testhpdf.prg ! indenting * casing 2011-12-23 18:00 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) + contrib/hbzebra/qrcode.c * contrib/hbzebra/hbzebra.ch * contrib/hbzebra/hbzebra.hbp * contrib/hbzebra/hbzebra.hbx + QR Code ; Christmas gift for Harbour project :) ; TODO: encoding optimisation using mode switching * contrib/hbzebra/hbzebra.h * contrib/hbzebra/core.c + hb_bitbuffer_buffer(), hb_bitbuffer_not(), hb_bitbuffer_cat_int_rev() * formatting * contrib/hbzebra/tests/testcair.prg * contrib/hbzebra/tests/testhpdf.prg * contrib/hbzebra/tests/testwin.prg * updated to include QR Code * contrib/hbzebra/datamtrx.c * minor modification: code text support 2011-12-23 10:43 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/include/hbapicdp.h * harbour/src/rtl/cdpapi.c ! fixed typo in hb_cdpUTF8StringPeek() declaration 2011-12-21 17:05 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/tests/demoqt.prg + Added: a little more animation to push button. 2011-12-21 16:50 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/tests/demoqt.prg + Implemented: pushbutton differentiates color based on its state. 2011-12-21 16:23 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/qth/QPushButton.qth * contrib/hbqt/qtgui/qth/QWidget.qth + Added: PaintEvent = YES to check if engine is working ok. Yes, it is working. * contrib/hbqt/tests/demoqt.prg + Added: functionality to paint a PushButton via user code. Still looking for the how to determine state of the object, in this case, pushbutton, whether it is being pushed or otherwise. * contrib/hbqt/hbmk2_qt.hbs + Implemented: engine to receive protected methods, i.e., events and a way to exploit them. The code needs some more make-over but the proof of concept is working. Lookfor hbqt/tests/demoqt.prg for a live example. NOTE: there is only a minimal need to add few keywords, rest all is handelled by the engine. The next step is to synchronize this methodology with :connect() / :disconnect() protocol. 2011-12-20 16:55 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/qth/QItemSelection.qth * contrib/hbqt/qtgui/qth/QItemSelectionModel.qth + Enforced: methods with QModelIndexList => QList< QModelIndex ). * contrib/hbqt/qtgui/qth/QWidget.qth + Added: futuristic keyword "PaintEvent" in <CLASS> section. * contrib/hbqt/hbmk2_qt.hbs ! Fixed: to honor QModelIndexList cast. + Added: building blocks to create classes with their protected methods. The constructor methods are valid for only QWidget class and this code will be replaced with real-code soon. Still I am looking for how to include resultant .cpp in final binaries. Till then this code stays as is. 2011-12-20 13:03 UTC+0100 Viktor Szakats * src/rdd/usrrdd/rdds/arrayrdd.prg ! formatting/cleanup, removed unncessary e"" string ! replaced '='/'!=' operator on strings with ==. It's most probably still broken, but at least now consistently so. 2011-12-19 17:49 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/contrib/rddads/adsx.c ! fixed BOF(), EOF() after DBSKIP(-1) + DBOI_KEYVAL * harbour/contrib/hbcairo/context.c ! fixed cairo_set_dash() to accept empty dash pattern array + harbour/contrib/hbcairo/ps.c * harbour/contrib/hbcairo/hbcairo.hbx * harbour/contrib/hbcairo/hbcairo.hbp + added some PostScript support * harbour/contrib/hbwin/olecore.c + added exception handling, extended error reporting information 2010-12-19 03:28 UTC+0100 Viktor Szakats * src/rdd/usrrdd/rdds/arrayrdd.prg ! formatting and syntax cleanup + FIXMEs added 2011-12-18 17:03 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * src/rdd/usrrdd/rdds/arrayrdd.prg ! Just and just formatting. ! Compliance to -w3 switch. 2011-12-18 19:57 UTC+0100 Francesco Saverio Giudice (info/at/fsgiudice.com) * harbour/src/rdd/usrrdd/rdds/arrayrdd.prg * Cleaned windows xhb debug using HB_TRACE() function and removed old lines * harbour/ChangeLog * formatted previous log entry 2011-12-18 11:19 UTC+0100 Francesco Saverio Giudice (info/at/fsgiudice.com) * harbour/src/rdd/usrrdd/rdds/arrayrdd.prg * Added Index and Set Filter Support by Quique <quique@quiquesoft.com>. Thank you 2011-12-18 12:48 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/qth/QPrinter.qth * contrib/hbqt/qtgui/qth/QPrintPreviewDialog.qth * Fixed: constructors. * contrib/hbqt/qtcore/qth/QLibraryInfo.qth * contrib/hbqt/qtgui/qth/QFileSystemModel.qth * contrib/hbqt/qtgui/qth/QGraphicsGridLayout.qth * contrib/hbqt/qtgui/qth/QGraphicsLayout.qth * contrib/hbqt/qtgui/qth/QLineEdit.qth * contrib/hbqt/qtgui/qth/QPlainTextEdit.qth * contrib/hbqt/qtgui/qth/QWizard.qth * contrib/hbqt/qtwebkit/qth/QWebFrame.qth * contrib/hbqt/qtwebkit/qth/QWebPage.qth + Added: methods introduced in later versions of Qt than 4.5.3. Please speak-out if some are missing. * contrib/hbqt/hbmk2_qt.hbs + Implemented: Qt version dependant class and methods compilations. Current implementation does not generate any error for methods which are called in application but are not present in used Qt version. It can be changed to throw run-time error. Classes are only compiled when version of Qt is what is intended. NOTE: this implemenattion opens the door to include any new classes and methods to existing classes no matter which version is current on the users system. 2011-12-15 16:38 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/gtwvg/wvgtoolb.prg * contrib/gtwvg/wvgwing.c * Fixed: WvgToolbar() was wrongly displaying toolbar buttons when number was exceeding 16. Now n number of buttons can be displayed. 2011-12-13 17:13 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/gtwvg/wvgax.prg * contrib/gtwvg/wvgcheck.prg * contrib/gtwvg/wvgdarea.prg * contrib/gtwvg/wvglistb.prg * contrib/gtwvg/wvgpushb.prg * contrib/gtwvg/wvgscrlb.prg * contrib/gtwvg/wvgsle.prg * contrib/gtwvg/wvgwin.c * contrib/gtwvg/wvtwin.ch + Implemented: ::pointerFocus for WvgPushButton() and WvgCheckBox(). This facilitates not to keep focus on push buttons after click. ! Fixed: focussing issues for WvgScrollBar() objects. + Implemented: WvgActiveXControl() for CUI hosting. * contrib/gtwvg/tests/demowvg.prg * contrib/gtwvg/tests/wvgtbrowser.prg + Reworked: The browser demonstration now holds Shell.Explorer.2 active-x control to navigate the web. Just click on "Active-X" check box. ! Fixed: navigation glitch when another control was activated while the current focus has been on another GUI control. NOTE: this implementation is now production ready, take use of it. 2011-12-13 10:37 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/src/rdd/dbfnsx/dbfnsx1.c ! fixed index header verification when index is loaded. In Harbour DBFNSX and DBFNTX automatically switch to different internal format when HB_DBFLOCK_HB64 is used. In this format they store in index files page numbers instead of page offsets what effectively increase maximal file size to 4 TiB (from 4 GiB). 2010-12-13 03:33 UTC+0100 Viktor Szakats * src/pp/hbpp.c * src/compiler/hbusage.c * contrib/hbnetio/utils/hbnetio/netiosrv.prg * contrib/hbnetio/utils/hbnetio/netiomgm.prg * contrib/hbnetio/utils/hbnetioq/netiosrq.prg * contrib/hbformat/utils/hbformat.prg * contrib/hbide/idethemes.prg * contrib/hbrun/hbrun.prg * utils/hbmk2/hbmk2.hu_HU.po * utils/hbmk2/hbmk2.prg * utils/hbi18n/hbi18n.prg * utils/hbtest/hbtest.prg * package/harb_win.rc * package/harb_win.mft * INSTALL * Bumped copyright year to 2012. 2011-12-13 01:12 UTC+0100 Viktor Szakats * contrib/hbnetio/utils/hbnetio/netiosrv.prg * contrib/hbnetio/utils/hbnetio/netiosvc.prg + use latest hbwin/wapi capabilities to install service thus allowing to change back the default run mode to interactive + install service as auto-start + added Windows service related option to command-line help screen + display textual error msg on service related errors ! minor typo in an error msg 2011-12-12 14:01 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/gtwvg/wvgwing.c * Replaced: hbwin specific argument casting to local implementation. Maybe this fixes compilation error with BCC55, though I feel that could be a result of some local modifications, reported by Jacek. 2011-12-12 21:39 UTC+0100 Viktor Szakats * contrib/hbnetio/utils/hbnetio/netiocon.prg ! fixed to display generic commands in console help + show management console commands in console help 2011-12-12 21:13 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/contrib/xhb/regexrpl.prg ! fixed hb_regexReplace() * harbour/doc/locks.txt ! typo * harbour/doc/Makefile * added locks.txt 2011-12-12 11:54 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/gtwvg/wvggenrc.prg * contrib/gtwvg/wvglistb.prg * contrib/gtwvg/wvgphdlr.prg * contrib/gtwvg/wvgsle.prg * contrib/gtwvg/wvgwnd.prg * Changed: SetAppWindow() => WvgSetAppWindow() To facilitate simultaneous use of GTWVG with HBXBP. * Fixed: the way an indivisual child was being destroyed. It was causing flicker and GUI loss when clicking inside a control. Thanks Zoran for pointer and code example. * contrib/gtwvg/tests/demowvg.prg * contrib/gtwvg/tests/wvgtbrowser.prg * Refined: to accomodate above issues. 2011-12-10 13:52 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/gtwvg/tests/wvgtbrowser.prg + Extended: the way to anchor tree-view control's row-to to maxrow()-1. This facilitattes that the control is automatically resized keeping height adjusted to tbrowse's nBottom. 2011-12-10 12:57 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/gtwvg/gtwvg.c * contrib/gtwvg/wvgtoolb.prg * contrib/gtwvg/wvgtreev.prg * contrib/gtwvg/wvgwin.c ! Fixed: some focussing issues. For controls spread over GT console it is important to set the input focus onto console window instead of child window to execute defined action. * contrib/gtwvg/tests/wvgtbrowser.prg ! Minor. 2011-12-08 12:36 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/gtwvg/wvgwin.c * Optimized: string handelling. * contrib/gtwvg/wvtwin.ch + Added: few more constants. 2011-12-08 12:19 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/gtwvg/gtwvg.c ! Fixed: Menu Key Event was being generated even on BN_CLICK notification for push buttons. * contrib/gtwvg/wvgcheck.prg * contrib/gtwvg/wvglistb.prg * contrib/gtwvg/wvgphdlr.prg * contrib/gtwvg/wvgpushb.prg * contrib/gtwvg/wvgstatc.prg * contrib/gtwvg/wvgtreev.prg * contrib/gtwvg/wvgwnd.prg * contrib/gtwvg/wvtwin.ch * Reshuffle: of code and rationalization of conrols' WndProc callbacks. * contrib/gtwvg/tests/wvgtbrowser.prg ! Minor. 2011-12-07 16:24 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/debian/changelog * harbour/debian/rules * changed version number to 3.1.0-1 * removed HB_BUILD_DEBUG=yes * use 'dh_prep' instead of deprecated 'dh_clean -k' * harbour/src/rtl/gttrm/gttrm.c ! fixed my C&P typo in HB_TRACE() message + harbour/doc/locks.txt + added descirption of DBF locking schemes 2011-12-07 10:54 UTC+0100 Viktor Szakats * INSTALL + added the word 'binary' to 3rd party pkg requirements + added 'advanced' for static linking of 3rd party pkgs 2011-12-06 23:28 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/gtwvg/gtwvg.hbp + Added: wvggenrc.prg * contrib/gtwvg/gtwvg.h + Added: structure member - PHB_ITEM pNotifierGUI * contrib/gtwvg/gtwvg.c * contrib/gtwvg/wvgwin.c * contrib/gtwvg/wvgwing.c * contrib/gtwvg/hbgtwvg.ch + Added: event notification - HB_GTE_ANY * contrib/gtwvg/wvg3stat.prg * contrib/gtwvg/wvgax.prg * contrib/gtwvg/wvgcheck.prg * contrib/gtwvg/wvgclass.prg * contrib/gtwvg/wvgcombo.prg * contrib/gtwvg/wvgcrt.prg * contrib/gtwvg/wvgcuig.c * contrib/gtwvg/wvgdarea.prg * contrib/gtwvg/wvgdatar.prg * contrib/gtwvg/wvgdlg.prg + contrib/gtwvg/wvggenrc.prg + Implemented: Xbase++ compliant SetAppWindow() function. The function simulates a WvgCRT() window from current thread specific GT console if the function is called without parameters and current thread has not posted any application window. This facilitates hosting WVG*Gui controls on pure GT invoked console. * contrib/gtwvg/wvghtmlv.prg * contrib/gtwvg/wvglistb.prg * contrib/gtwvg/wvgmenub.prg * contrib/gtwvg/wvgmle.prg * contrib/gtwvg/wvgpaint.prg + Added: WVT_GetRGBColorByString( cClipperColorString, nForeBack ) Retrieves RGB color given the clipper color string from active GT palette: WVT_GetRGBColorByString( "W+/GR", 0 ) => nRGBForeColor WVT_GetRGBColorByString( "W+/GR", 1 ) => nRGBBackColor * contrib/gtwvg/wvgphdlr.prg * contrib/gtwvg/wvgpushb.prg * contrib/gtwvg/wvgradio.prg * contrib/gtwvg/wvgscrlb.prg * contrib/gtwvg/wvgsle.prg * contrib/gtwvg/wvgstatb.prg * contrib/gtwvg/wvgstatc.prg * contrib/gtwvg/wvgsysw.prg * contrib/gtwvg/wvgtoolb.prg * contrib/gtwvg/wvgtreev.prg * contrib/gtwvg/wvgwnd.prg + Restructured: GTWVG at GUI space. Xbase++ compatible controls can be hosted on CUI console. The only requirement is that the parent of such GUI controls is an object created with WvgCRT(). If there is no object of type WvgCRT() is in sight, in case of a pure GT invoked console, a WvgCRT() object is created and current console window handle is assigned to it. This is achieved through SetAppWindow() function which is called if a control's parent is supplied as NIL, in accordance with Xbase++ documentation. The events assigned and executed by such controls are not posted to inkey() processing, instead, are executed directly. Just before executing an assigned event, focus is imposed on GT console and returned to GUI control after processing the execution. This ensures that GT is always in focus while GUI control executes an assignment. + Introduced: In accordance with console coordinate system, the positioning and size parameters supplied at the time of construction of GUI objects now support aPos == { nRow, nColumn } and aSize == { nRows, nColumns } protocol. This has been achieved by supplying all four values in negative. Thus WVG engine checks for negativity of position and size values and determines that coordinate system be interpreted as row/column instead of x/y(s). For example, WvgPushButton( , , { -10, -2 }, { -3, -10 } ) call will render the push button at 10,2,13,12 console area in terms of rows and columns. These coordinates will be maintained with resizing of console, etc. To extend this coordinate system a step further, the pos and size arrays can be populated with code blocks evaluating to a negative numeric value. This implimentation facilitates to ancor any GUI control to a specific postion always. Thus, WvgPushButton( , , { {|| -( maxrow()-3 ) }, -2 }, { -10, -3 } ) will always position push button on last row-3 of the console no matter how many rows the console is resized to. + Introduced: oWVG:SetColorFG/BG() now accept clipper color string and renders the corresponding RGB color of active GT palette. This facilitates the embedding of GUI controls on Clipper complaint screen colors. Thus, oStatic:setColorBG( "GR*" ) will render the background of text label as yellow. IMPORTANT: The above concepts are on the top of existing ones so no current functionality is lost. * contrib/gtwvg/tests/demowvg.prg * contrib/gtwvg/tests/wvgtbrowser.prg * contrib/gtwvg/tests/wvgutilities.prg * contrib/gtwvg/tests/wvgxbp.prg + Restructured: the code parts to demonstrate newly introduced GTWVG concepts. Specialy look at main window's menu system, push buttons at the bottom. Also look at <Main Menu><Traditional><Browser - GTWVG - Threaded>. This example is reworked entirely and is a testimony to GTWVG power. NOTE: more changes and code shifting and simplifying is on the drawing board. Hopefully code will get an an overhaul in coming days. 2011-12-06 11:42 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbrdddbf.h * modified DB_DBFLOCK_HB64 locking scheme - extended RLOCK/FLOCK area from 2^31-2 to 2^32-2 it effectively changes maximum number of records in this locking scheme to 4'294'967'294 - use COMIX like hyper locking mode it should increase performance Warning: INCOMPATIBLE! all applications using DB_DBFLOCK_HB64 locking mode should be updated - it is not safe to concurrently access the same files using programs compiled with older Harbour versions and current one. * renamed the following DB_DBFLOCK_* macros: DB_DBFLOCK_CLIP to DB_DBFLOCK_CLIPPER DB_DBFLOCK_CL53 to DB_DBFLOCK_COMIX DB_DBFLOCK_CL53EXT to DB_DBFLOCK_HB32 * added new locking scheme: DB_DBFLOCK_CLIPPER2 This locking scheme is designed to replicate _real_ locking scheme used by Cl*pper applications linked with NTXLOCK2.OBJ It's different then the documented one. ; Now Harbour supports the following locking schemes: DB_DBFLOCK_CLIPPER 1 default Clipper locking scheme DB_DBFLOCK_COMIX 2 COMIX and CL53 DBFCDX hyper locking scheme DB_DBFLOCK_VFP 3 [V]FP, CL52 DBFCDX, SIx3 SIXCDX, CDXLOCK.OBJ DB_DBFLOCK_HB32 4 Harbour hyper locking scheme for 32-bit file API DB_DBFLOCK_HB64 5 Harbour hyper locking scheme for 64-bit file API DB_DBFLOCK_CLIPPER2 6 extended Clipper locking scheme NTXLOCK2.OBJ * harbour/include/hbrdddbf.h * harbour/include/hbrddntx.h * harbour/include/hbrddnsx.h * harbour/include/hbrddcdx.h * harbour/src/rdd/dbf1.c * harbour/src/rdd/dbfntx/dbfntx1.c * harbour/src/rdd/dbfnsx/dbfnsx1.c * harbour/src/rdd/dbfcdx/dbfcdx1.c + finished support for COMIX like hyper locking. This modification enables periodical switch to write locks by readers to eliminate starvation effect on some systems where many readers can completely block writer. By default readers use exclusive lock once per each 16 operations. + added optional support for delayed index write locks (flush locks) in hyper locking modes. If index RDD can use such locks then write lock can be divided into two parts: 1) block writers and new readers (write lock) [prepare index modifications in memory] 2) wait for old readers still active (flush lock) [write modifications to index file] [release locks] This mode reduces time when index is locked exclusively increasing reader performance and also increase writer performance because waiting for active readers it can prepare index modifications in memory. * harbour/src/rdd/dbfcdx/dbfcdx1.c + added support for delayed index write locks (flush locks) in DBFCDX * harbour/src/rtl/filebuf.c * automatically change write file locks to read locks when file is open in readonly mode in POSIX systems. * harbour/src/vm/classes.c * disabled inheriting of class variables values from ancestor classes when new class is dynamically created. Warning: INCOMPATIBLE! This modification is not backward compatible and can interact with some existing code which has to be updated for new behavior. 2011-11-25 14:23 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/qth/QClipboard.qth * contrib/hbqt/qtgui/qth/QDirModel.qth * contrib/hbqt/qtgui/qth/QFileSystemModel.qth + Implemented: commented out methods returning data of type QMimeData. 2011-11-25 11:38 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/package/mpkg_rpm.sh ! fixed RPM _topdir detection. Patch created by Raphael Gozzo - many thanks. * harbour/INSTALL * added info about libraries necessary to build hbgs and hbmagic in Ubuntu. * harbour/contrib/hbmagic/hbmagic.hbx * added HB_MAGIC_SIMPLE (regenerated automatically) 2011-11-23 19:05 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/package/harbour.spec ! removed hbclipsm which does not exists in current SVN 2011-11-23 18:31 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/ChangeLog * restored ChangeLog damage by my script for automatic ChangeLog updating - it didn't work correctly in my new system. 2011-11-17 09:46 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/filebuf.c ! fixed silly typo in previous fix: 2011-09-02 14:03 UTC+0200 ! fixed race condition in code emulating DOS/Windows file lock behavior in POSIX systems. The problem could be exploited by Harbour MT programs using the same files in many threads in more then on process. Many thanks to Zsolt for the info and test code example. [TOMERGE 3.0] 2011-11-23 00:08 UTC+0100 Viktor Szakats * src/rtl/hbini.prg ! fixed HB_HKEEPORDER() usage in prev patch. Thx for input to Qatan and Mindaugas. 2011-11-22 18:15 UTC+0100 Viktor Szakats * src/rtl/hbini.prg + keep order of ini items. Patch by Qatan. * modified to use HB_HKEEPORDER() instead of HB_HSETORDER() to be consistent along the patch and because former is the native, faster synonym. 2011-11-17 10:47 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtcore/qth/QLibraryInfo.qth - Deleted: QLibraryInfo::buildDate() method call. 2011-11-17 10:47 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtcore/qth/QLibraryInfo.qth ! Guarded: QLibraryInfo::buildDate() to be avialble only for Qt 4.6 and above. Function call stays as is, only return value will be nil. 2011-11-17 09:46 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbwin/hbwapi.h * harbour/contrib/hbwin/wapi_winbase.c * harbour/contrib/hbwin/hbwin.hbx + added to new WIN API wrappers: WAPI_QueryPerformanceCounter( @nCounter ) -> <lSuccess> WAPI_QueryPerformanceFrequency( @nFrequency ) -> <lSuccess> Warning: read in MSDN about above functions and possible interactions with multi CPU machines. * harbour/contrib/hbwin/win_misc.c * harbour/contrib/hbwin/hbwin.hbx + added new function which converts QueryPerformance counters to seconds: WIN_QPCOUNTER2SEC( nCounter ) -> <nSeconds> I suggest to use it to convert difference between two calls to WAPI_QueryPerformanceCounter(), i.e.: WAPI_QueryPerformanceCounter( @nCounterStart ) [...] WAPI_QueryPerformanceCounter( @nCounterEnd ) ? "total time:", ; WIN_QPCOUNTER2SEC( nCounterEnd - nCounterStart ), "sec." 2011-11-15 23:28 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/hbproces.c * added workaround for missing chroot() in OpenWatcom 1.9 linux libraries 2011-11-14 13:23 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/gtxwc/gtxwc.c + added support for selecting text with mouse and coping it to clipboard buffer. By default this functionality is disabled and can be enabled by: hb_gtInfo( HB_GTI_SELECTCOPY, .t. ) Marked mode is started by LEFT MOUSE button pressed with SHIFT key and stopped when LEFT MOUSE button is released. Selected text is highlight in similar way to GTWVT. 2011-11-14 11:54 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/gtxwc/gtxwc.c * minor code cleanup 2011-11-13 11:42 UTC+0100 Viktor Szakats - contrib/hbclipsm * contrib/hbplist * doc/dirstruc.txt - deleted local implementation of CA-Cl*pper SOURCE/SAMPLE functions. Many of these have equivalents in hbct, hbmisc libs and core, and some functions had implementation bugs (notably ADDMONTH(), even in original Cl*pper implementation, though a different one there). Simply compile original Cl*pper sources to use these functions in your app or use the alternatives. 2011-11-10 10:34 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/gtxwc/gtxwc.c ! create initial console window in fullscreen mode if user called hb_gtInfo( HB_GTI_ISFULLSCREEN, .T. ) before window was created * harbour/tests/gtkeys.prg * modified to optionally test different CPs some extended GT keys 2011-11-09 17:17 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/gtxwc/gtxwc.c * return HB_GTI_RESIZEMODE_ROWS for HB_GTI_RESIZEMODE HB_GTI_RESIZEMODE_FONT is not supported yet by GTXWC + added support for HB_GTI_ISFULLSCREEN and HB_GTI_ALTENTER They work like in GTWVT with HB_GTI_RESIZEMODE_FONT. Some window managers may not support it so please test it. + added support for HB_K_CLOSE, HB_K_GOTFOCUS and HB_K_LOSTFOCUS like in GTWVT 2011-11-08 20:08 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbct/blank.c + added support for timestamp values in BLANK() function 2011-11-08 19:53 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/gtxwc/gtxwc.c + added support for 'Root' input context for systems where XLib supports Xutf8LookupString() It should resolve problems with national characters and some local signs supported by different keyboards (i.e. 1/2, euro sign, itp.) Please test it with different systems. 2011-11-08 12:38 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbdefs.h ! fixed HB_STRICT_ALIGNMENT setting. Now it's enabled for all non x86[_64] CPUs. 2011-11-08 12:29 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/gtxwc/gtxwc.h * harbour/src/rtl/gtxwc/gtxwc.c * minor code cleanup * harbour/src/rtl/gttrm/gttrm.c + added support for HB_GTI_WINTITLE for XTerm compatible terminals 2011-11-07 15:23 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/hbqtgui.ch + Added: QAbstractSpinBox_* constants, extracted by Luiqi Ferraris. 2011-11-03 15:24 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/ideedit.prg + Implemented: F3 key as "Search Next" per default key for next search of previous string on some platforms. NOTE: if you have mapped F3 for some other action than "Search Next" action will be ceased. 2011-10-30 01:35 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/hbdyn.c * added dummy assignment to pacify warning * harbour/src/rtl/hbsocket.c * added workaround for EREFUSED == ECONNREFUSED. It has to be tested with different OS-es 2011-10-29 01:53 UTC+0200 Viktor Szakats * contrib/hbziparc/ziparc.prg % minor optimization to last change. checkme. - contrib/hbxlsxml + examples/hbxlsxml ! moved to examples. this code is not even close to Harbour code quality and implements not .xls file format but HTML format renamed to .xls. It's not understood by lots of tools, it's not a standard. see details on list. 2011-10-28 15:03 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbxlsxml/xlsxml.prg * Fixed: a last moment introduced element. 2011-10-28 11:23 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) + contrib/hbxlsxml + contrib/hbxlsxml/hbxlsxml.hbp + contrib/hbxlsxml/xlsxml.prg + contrib/hbxlsxml/xlsxml_s.prg + contrib/hbxlsxml/xlsxml_y.prg + Added: Fausto Di Creddo Trautwein's XML compliant interface to generate native files for Microsoft's Excel. The work is based on Robert F Greer's PHP based interface. Thanks to both of them. + contrib/hbxlsxml/tests + contrib/hbxlsxml/tests/example.prg + contrib/hbxlsxml/tests/example2.prg + contrib/hbxlsxml/tests/example3.prg + contrib/hbxlsxml/tests/hbmk.hbm + Added: user test code based on above library written by Fausto Di Creddo. ; NOTES: As I have found this library quite useful it is placed in contrib section instead of in examples. I have simply formatted sources to Harbour standards tweaking something here and there only. The sources have the potential to further optimize, but as in its current state itself, it is robust. 2011-10-28 01:26 UTC+0200 Viktor Szakats * src/rtl/tget.prg ! fixed RTE when setting :picture to NIL for N and C types in some certain rare circumstances. The :picture setting operation is ignored in such case, since the internally stored original value is not known. Tested OK against CA-Cl*pper 5.3, though maybe it's possible to refine this even further with more test cases. * tests/rto_get.prg + added test case for RTE reported by Quique ! fixed warnings 2011-10-27 19:12 UTC+0200 Viktor Szakats * contrib/hbziparc/ziparc.prg ! HB_ZIPFILE(): one fix to filename matching ! HB_UNZIPFILE(): two fixes to previous patch ; Patch by Grigory Filatov. 2011-10-27 14:28 UTC+0200 Viktor Szakats * contrib/hbexpat/core.c ! fixed two errors in conditional code for <=1.95.8 expat versions ! fixed buggy version checking macro ; Patch by Raphael. Thank you. * contrib/hbhpdf/hbhpdf.h * contrib/hbgd/gdwrp.c ! applied above fix to similarly wrong version checking macros. 2011-10-27 12:37 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/gtxwc/gtxwc.h * harbour/src/rtl/gtxwc/gtxwc.c + added font independent set of custom box characters 2011-10-25 13:06 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtcore/hbqtcore.ch + Added: QLocale_* constants extracted by Luigi Ferraris * contrib/hbqt/qtgui/hbqtgui.ch + Added: QImage_* and QTextOption_* constants extracted by Luigi Ferraris. 2011-10-25 21:32 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbwin/hbwin.hbx + added WAPI_ADDFONTRESOURCE() and WAPI_REMOVEFONTRESOURCE() 2011-10-24 13:34 UTC+0200 Viktor Szakats * src/rtl/gtwin/gtwin.c ! Missing break clause causing following code also changes console window title. hb_gtInfo( HB_GTI_BOXCP, hb_cdpSelect() ) Patch by Aleksander Czajczynski 2011-10-24 01:40 UTC+0200 Viktor Szakats * contrib/hbmysql/tmysql.prg ! tinyInt type in MySQL is now always regarded as numeric value (was bool) Patch by Mitja Podgornik. ; This causes unavoidable INCOMPATIBILITY. [INCOMPAT] * doc/howtosvn.txt + added INCOMPAT as new tag. Use it to mark changes which introduce incompatibility. 2011-10-23 15:53 UTC+0200 Viktor Szakats * contrib/hbziparc/ziparc.prg ! HB_UNZIPFILE(): fixed counting bytes read. Please test. 2011-10-22 16:22 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/vm/fm.c ! do not enable by default DLMALLOC in WinCE builds. It was the source of problems reported by Jarek with file read/write operation in WinCE builds. Now it should work correctly - please make some tests with real devices - I used emulator only. * harbour/contrib/hbwin/wapi_wingdi_font.c + added WAPI_ADDFONTRESOURCE() and WAPI_REMOVEFONTRESOURCE() 2011-10-21 15:52 UTC+0200 Viktor Szakats * contrib/hbziparc/ziparc.prg ! fix to prev 2011-10-21 15:46 UTC+0200 Viktor Szakats * contrib/hbziparc/ziparc.prg + added support for HB_UNZIPFILE() lWithPath parameter ! fixed HB_UNZIPFILE() after latest patch and added better error checking ! fixed setting attribs ; Patch by Grigory Filatov, with these changes of mine: * deleted changes to existing code and replaced it with optimizated code * deleted reformatting of existing code ! fixed adding ending pathsep * minor simplification ! fixed RTE when using progress bar (from Leandro's new patch) ; Please test - contrib/hbpgsql/tests/hdbctest.prg - deleted HDBC/PGSQL tests 2011-10-21 12:34 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/gtwvt/gtwvt.c ! fixed infinite recursive loops and GPF in WinCE builds caused by SetWindowPos()/ProcessMessages() when WM_SIZE message is processed. Now GTWVT can be used again in WinCE builds. 2011-10-20 23:06 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/compiler/hbmain.c ! take starting line number from PP to eliminate possible synchronization problem * harbour/src/compiler/hbcmplib.c ! minor fix in meta filename detecting 2011-10-20 22:03 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbpp.h * harbour/include/hbcomp.h * harbour/src/pp/ppcore.c * harbour/src/compiler/hbmain.c * harbour/src/compiler/hbcmplib.c + added support for setting starting line number in code compiled from memory buffer ! removed unnecessary EF_CANDEFULT flag from recently added compiler RTE 2011-10-20 20:19 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbpp.h * harbour/include/hbcomp.h * harbour/include/hbcompdf.h * harbour/src/compiler/hbmain.c * harbour/src/compiler/hbcomp.c * harbour/src/compiler/hbgenerr.c + added support for redirecting compiler warning and error messages to user function. * harbour/src/compiler/hbcmplib.c + optional support for generating RTE in HB_COMPILE*() functions on compile errors. 2011-10-20 15:21 UTC+0200 Viktor Szakats * contrib/hbpgsql/hbpgsql.hbx * contrib/hbpgsql/hbpgsql.hbp - contrib/hbpgsql/hdbcpg.prg - Deleted HDBC class layer due references to deprecated wrapper function which caused link errors in dynamic builds or HDBC apps. Please readd the file if interested in making this technially simple fix. * contrib/hbmzip/mzip.c % eliminated one local variable in HB_UNZIPFILEREAD() * contrib/hbziparc/ziparc.prg + HB_UNZIPFILE(): added progress bar support. Patch by Leandro Damasio, with following changes: ! refixed to use cPath when forming target filename ! missing hHandle declaration % FERASE() removed, FCREATE() will recreate it % Left() eliminated from FWRITE() call * minor symbol casing ; I didn't test this code, so please do it. 2011-10-20 12:56 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/transfrm.c % eliminated hb_charUpper() called for picture clauses and minor code optimization * harbour/src/rtl/gtapi.c ! fixed typo in function name: hb_gtBoxS() was wrongly redirected to HB_GTSELF_BOXD() instead of HB_GTSELF_BOXS() 2011-10-17 12:55 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/ideedit.prg ! Fixed: uppercased source names were not considered for Harbour keywords. 2011-10-14 10:42 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapicdp.h * harbour/src/rtl/cdpapi.c - removed hb_cdpchrcmp() function and HB_CDP_ISBYTESORT() macro + added new function: const HB_UCHAR * hb_cdpGetSortTab( PHB_CODEPAGE cdp ); it returns binary sort table or NULL if given CP uses more complicated sorting algorithm. * harbour/include/hbrddcdx.h * harbour/src/rdd/dbfcdx/dbfcdx1.c % use hb_cdpGetSortTab() to take binary sort table used by WA CP instead of creating new one for each WA. 2011-10-14 02:34 UTC+0200 Viktor Szakats * ChangeLog ! accented char in my prev commit * doc/xhb-diff.txt ! "sth" -> "something" 2011-10-13 15:31 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtcore/hbqtcore.ch + Added: QLibraryInfo_* constants. * contrib/hbqt/qtcore/hbqtcore.hbx * contrib/hbqt/qtcore/qth/filelist.hbm + contrib/hbqt/qtcore/qth/QLibraryInfo.qth + Added: Class QLibraryInfo() Not tested. 2011-10-13 23:37 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/ChangeLog * marked patches merged with 3.0 branch ; I think it's time to create new 3.0.1 binaries with recent patches 2011-10-11 16:54 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/utils/hbmk2/hbmk2.prg * added -CP437 to BCC switches [MERGED 3.0] * harbour/contrib/hbwin/olecore.c * pacified warning 2011-10-11 01:56 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/natmsg.c ! fixed typo in recent commit 2011-10-10 20:59 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/natmsg.c ! modified __NATISAFFIRM() and __NATISNEGATIVE() to work with multibyte CPs 2011-10-10 19:50 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapi.h * harbour/src/rtl/cdpapi.c + added new string C functions operating on current HVM CP: HB_BOOL hb_strIsDigit( const char * szChar ); HB_BOOL hb_strIsAlpha( const char * szChar ); HB_BOOL hb_strIsLower( const char * szChar ); HB_BOOL hb_strIsUpper( const char * szChar ); * harbour/src/rtl/is.c * use hb_strIs*() functions instead of hb_charIs*() * harbour/include/hbapi.h * harbour/src/vm/set.c + added new function to check if OS<->Harbour codepage conversion is enabled: HB_BOOL hb_osUseCP( void ); * harbour/src/rtl/filesys.c * use hb_osUseCP() function * harbour/include/hbapicdp.h + added HB_CDP_ISBINSORT(cdp) and HB_CDP_ISBYTESORT(cdp) macros * harbour/src/vm/itemapi.c * harbour/src/rdd/dbfntx/dbfntx1.c * harbour/src/rdd/dbfnsx/dbfnsx1.c * harbour/src/rdd/dbfcdx/dbfcdx1.c * harbour/contrib/rddsql/sqlmix.c * harbour/contrib/rddads/adsx.c * use HB_CDP_IS*SORT() macros * harbour/src/rdd/dbfcdx/dbfcdx1.c % simplified hb_cdxFindBag() * harbour/src/rtl/hbascii.c ! fixed HB_ASCIIUPPER() and HB_ASCIILOWER() functions: hb_strUpper() was wrongly used inside both functions - probably C&P mistake [MERGED 3.0] * harbour/src/rdd/dbf1.c * updated comment 2011-10-08 00:30 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/rddbm/bmdbfx.c % simplified function used for resetting logical index position. 2011-10-06 08:02 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/xhb/xhb.hbx * harbour/contrib/xhb/xhbinkey.prg * harbour/contrib/xhb/hbcompat.ch ! removed hb_ prefix from SetInkeyAfterBlock() and SetInkeyBeforeBlock() function names [MERGED 3.0] 2011-10-05 23:12 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/pp/ppcore.c ! fixed problem with line numbering exploited by recent modification [MERGED 3.0] * harbour/contrib/hbwin/wapi_winuser_dlg.c ! fixed memory leak [MERGED 3.0] 2011-10-05 14:12 UTC+0200 Viktor Szakats * src/rtl/tget.prg ! If the cursor is located in the middle of a word, ::wordLeft() now places it at the beginning of this word, the cursor jumps to the previous one. ! If the cursor is located at the end of a word ::wordRight() now places it at the beginning of the next word skipping only the spaces between them, the next word is skipped entirely. ; Patch and description by Juan Galvez 2011-10-04 23:59 UTC+0200 Viktor Szakats * include/hbthread.h * include/hbsetup.h * src/3rd/zlib/Makefile * utils/hbmk2/hbmk2.prg * config/detplat.mk * config/global.mk + config/aix + config/aix/libs.mk + config/aix/gcc.mk + config/aix/global.mk + added IBM AIX support to Harbour Patch by Aleksander Czajczynski 2011-10-04 23:51 UTC+0200 Viktor Szakats * tests/testpre.prg ! updated for Harbour 3.1.x Patch by Alexey Myronenko 2011-10-01 19:00 UTC+0200 Viktor Szakats * ChangeLog * marked two patches merged with 3.0 branch * INSTALL + added aix (slipped in, but I'll leave it now) 2011-10-01 17:46 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/ChangeLog * marked patches merged with 3.0 branch 2011-09-30 22:23 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/pp/ppcore.c ! fixed few problems with line numbering and code using extended codeblocks [MERGED 3.0] * harbour/src/pp/pplib2.c ! fixed typo in comment [MERGED 3.0] 2011-09-28 21:11 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/gtxwc/gtxwc.h * harbour/src/rtl/gtxwc/gtxwc.c % use common buffer for different box drawing character definitions [MERGED 3.0] 2011-09-27 20:06 UTC+0200 Viktor Szakats * contrib/hbqt/gtqtc/gtqtc.cpp ! deleted unused static function shown by new mingw version. * INSTALL * mingw 4.6.1 is OK for Harbour. ; I didn't test the 64-bit version in 32-bit mode, I hope someone will, maybe it has the float precision fixed and it can become recommended version for both x86 and x64 mingw builds. 2011-09-27 19:20 UTC+0200 Viktor Szakats * package/winuni/RELNOTES * INSTALL * version (QT, mingw) and housekeeping (BCC and EOL-space removal) updates 2011-09-27 15:15 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/gtxwc/gtxwc.c ! fixed window activation just after SETMODE() and before any output ! fixed mouse methods to not activate console window but only connect to XServer if necessary ! fixed internal error reported when HB_GTI_RESIZABLE was called before creating console window % do not allocate colors in HB_GTI_PALETTE if there is no console window [MERGED 3.0] 2011-09-27 15:00 UTC+0200 Viktor Szakats * contrib/hbcurl/core.c ! fixed mistake in recent adoption of libcurl 7.21.6 feature CURLOPT_TRANSFER_ENCODING. Thanks to Itamar for the report. [MERGED 3.0] 2011-09-27 09:04 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/gtwvt/gtwvt.c * harbour/src/rtl/gtxwc/gtxwc.c + allow to use HB_GTI_ONLINE to check if terminal window exists * harbour/src/rtl/gtxwc/gtxwc.c ! protection against possible GPF when XServer is not accessible and user calls HB_GTI_FONTSEL * do not activate terminal window by HB_GTI_FONTSEL * use maximal logical width of character instead of maximal size of character rectangle to calculate width of character cell [MERGED 3.0] 2011-09-26 10:57 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbgtcore.h * harbour/src/rtl/gtclip.c ! fixed possible random data settings by hb_gt_winapi_setClipboard() ! fixed possible memory leak in hb_gt_winapi_setClipboard() + added new C function for WIN32 builds: HB_BOOL hb_gt_winapi_setClipboardRaw( HB_UINT uFormat, void * pData, HB_SIZE nSize ); [MERGED 3.0] 2011-09-24 11:49 UTC+0200 Viktor Szakats * contrib/hbmzip/mzip.c ! HB_UNZIPFILEINFO(): date returned was off by one month. Report and fix by Juan Galvez. [MERGED 3.0] 2011-09-24 11:10 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbtrace.h * harbour/src/common/hbtrace.c + added new C function: const char * hb_tracemode( const char * szNewMode ); it can be called with "a" or "w" parameter to set open mode for newly created by hb_tracefile() log files. * harbour/src/rtl/trace.c + added new PRG function: HB_TRACEMODE( [<cNewMode>] ) -> <cPrevMode> 2011-09-23 18:36 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/hbrandom.c ! fixed HB_RANDOMINTMAX() to return correct value for new PRNG used by HB_RANDOM() and HB_RANDOMINT() functions ! fixed missing protection against initialization of PRNG seed with 0 * modified the range of hb_random_num() results from ( 0 , 1 ) to [ 0, 1 ) % added alternative PRN calculation for builds with 64-bit integers ! allocate separate PRNG seed for each thread (MT support) * modified default initialization of PRNG: if PRNG is not initialized or after HB_RANDOMSEED( 0 ) then first call to HB_RANDOM() or HB_RANDOMINT() activates initialization which generates new seed using current time in milliseconds and HVM stack address (for MT modes). I used such method because it nicely simplifies code and is backward compatible with previous implementation. If someone needs repeatable results from HB_RANDOM() and HB_RANDOMINT() then he should initialize PRNG seed for each thread with some fixed value i.e.: HB_RANDOMSEED( 123456789 ) ; Many thanks to Viktor and Mindaugas for their help. [MERGED 3.0] * harbour/contrib/xhb/xhbole.prg ! added missing SETGET in method declaration. Many thanks to Juan Galvez for locating the problem. 2011-09-20 17:12 UTC+0200 Viktor Szakats * include/hbapi.h * src/rtl/hbrandom.c + Changed Harbour's core pseudo-random generator from STD C rand()/srand() to superior implementation. New implementation fixed MT problems with the standard solution on certain targets (e.g. win/mingw, win/msvc) Based on Przemek's patch which is in turn based on algorithm by Steve Park: http://www.cs.wm.edu/~va/software/park/ suggested by me on the list. Further modifications: * HB_RANDOMINTMAX() adapted. Checkme, I'm not sure about this. * HB_RANDOMSEED() updated. + headers cleaned, copyright updated, note added + automatic seed defaulting like in previous version (checkme, we may as well drop it, though it will be create incompatibility) ; per-thread seed didn't work well for me (even with new engine) so I didn't implement it. + added proto for hb_random_seed() [MERGED 3.0] 2011-09-20 13:56 UTC+0200 Viktor Szakats * src/rtl/teditor.prg ! fixed following issue: in MEMOEDIT() insert mode the word wrap inserts an additional, not typed space in the new line [when typing at EOL at the moment of word wrap - vszakats]. The space is inserted at the place, where the word wrap takes place. Report and patch provided by Dr.Claudia Neumann. Many thanks. (with my formatting: indenting, tab/EOL-space removal) [MERGED 3.0] * contrib/hbqt/qtcore/hbqt_pointer.cpp ! fixed to avoid non-MT compatible strtok() C RTL call. Many thanks to Carlos Bacco for the patch. (with my minor formatting 'if (' -> 'if(', 'while (' -> 'while( ') NOTE: Please continue to avoid strtok() usage in any further Harbour patches, it is avoided for good reason. * INSTALL + added another (this is the 3rd!) mention to use unmodified ("vanilla") 3rd party packages (especially to make implib generation to work). * minor updates * contrib/hbrun/hbrun.hbp + added another FIXME to latest patch, about HB_HAS_ZLIB_LOCAL usage, which has to be eliminated. * ChangeLog + added UPDATE to previous ChangeLog entry 2011-09-16 11:56 UTC-0500 Teo Fonrouge (teo/at/windtelsoft/dot/com) * ChangeLog * minor formatting * contrib/hbrun/hbrun.hbp * using macro HB_BUILD_DSO to state an linux env with ld DSO linking model thanks to Viktor. ; FIXME: export this functionality to other .hbc files in need of this UPDATE: Before doing the above, it should be fixed to not use HB_HAS_ZLIB_LOCAL, as it is Harbour core build specific and is not present when using .hbc files outside this environment. Then this fix should be _moved_ to respective .hbc files. Current location is wrong, as it's not a hbrun problem to solve, even though the problem happens to show up when building hbrun. [vszakats] 2011-09-15 23:47 UTC-0500 Teo Fonrouge (teo/at/windtelsoft/dot/com) * contrib/hbrun/hbrun.hbp ! Fixed linking on recent linux distros (i.e. F15) that are using the ld DSO linking model which requires specific declaration of objs/libs. Added specific declaration on linux of: -lz (conditionated by HB_HAS_ZLIB_LOCAL) -lm 2011-09-13 10:00 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.*.po * utils/hbmk2/hbmk2.prg + added support for path lists separated by ';' character in -L and -i/-I options. It's not very elegant (and thus it's not documented) so please don't use it in Harbour SVN hbmk2 files. I decided to implement it because -depincpath* options already had it. * do not document ';' delimited path list for -depincpath* options * minor change in one help line 2011-09-12 17:41 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/filesys.c * harbour/src/rtl/hbproces.c ! use hb_fsOsError() instead of errno which can be overwritten by by hb_fsSetIOError() [MERGED 3.0] * harbour/tests/gtxfnt.prg % hb_processRun() instead of hb_processOpen()/fread()/hb_processClose() + set font attributes: HB_GTI_FONTA_FIXMETRIC, HB_GTI_FONTA_CLRBKG, HB_GTI_FONTA_DRAWBOX [MERGED 3.0] 2011-09-11 13:00 UTC+0200 Viktor Szakats * contrib/hbformat/hbfmtcls.prg ! fixed casing of some function names. * utils/hbmk2/hbmk2.prg ; all changes below apply to .xhp (xMate) to .hbp conversion: ! properly convert input filenames with spaces in them ! remove lib prefix from .a input filenames % do not add empty -L options * do not add include paths with %HB_INSTALL%\ in them + split non-portable, Borland-specific include path lists concatenated with ';' into distinct -I options % do not add empty include paths * tests/testop.prg * tests/testntx.prg * tests/vmasort.prg * tests/testlbl.prg * tests/testidle.prg * tests/videotst.prg * tests/testmem.prg * tests/testinit.prg * tests/testhtml.prg * tests/tstcolor.prg * tests/vidtest.prg * tests/tstuse.prg * tests/vec1.prg * tests/while.prg * tests/tstdspac.prg * tests/version.prg * tests/testpre.prg * tests/tstprag.prg * formatted. mostly with hbformat. 2011-09-08 22:00 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/gtxwc/gtxwc.h * harbour/src/rtl/gtxwc/gtxwc.c * cleaned macro names [MERGED 3.0] 2011-09-07 18:32 UTC+0200 Viktor Szakats * doc/howtosvn.txt + added extra rules to "1.3 Here's how to format your ChangeLog entries" section. * Change markup is not optional anymore, pls stick to it. * contrib/hbcups/tests/test.prg * contrib/hbcups/readme.txt + Added more test code and extra info to hbcups. Update provided by Dr. Claudia Neumann (with my minor fixes/formatting). Many thanks! * contrib/hbpgsql/rddcopy.c * contrib/hbpgsql/hbpgsql.h ! svn props * tests/testtok.prg * tests/testrdd.prg * tests/tstchbx.prg * tests/tstblock.prg * tests/ticktime.prg * tests/testvars.prg * tests/tstasort.prg * tests/testprof.prg * tests/testread.prg * tests/testrpt.prg * tests/teststr.prg * formatting. 2011-09-06 11:03 UTC+0200 Viktor Szakats * contrib/hbqt/qtcore/hbqt_hbqevents.cpp + patch for implementation of events handling according to Qt docs. It MAY break existing code, please read: up to now the event handler always returned false. That means the event was propagated to parent widget. Sometimes it is necessary to stop event propagation and so we must return the boolean value returned from the codeblock. So, if your codeblock returned .F. or a non-boolean value the code is ok, if it returned .T. it may broke functionality. Patch from Francesco Perillo (with minor type fix) * minor formatting/indenting, removed old 'DO NOT Reformat' comment 2011-09-06 10:32 UTC+0200 Viktor Szakats * contrib/hbgs/hbgs.hbp * contrib/hbodbc/hbodbc.hbp * contrib/sddodbc/sddodbc.hbp * '&&' -> '&' 2011-09-06 09:33 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbgtinfo.ch + added new hb_gtInfo() action: HB_GTI_FONTATTRIBUTE and attributes: HB_GTI_FONTA_FIXMETRIC, HB_GTI_FONTA_CLRBKG, HB_GTI_FONTA_DRAWBOX * harbour/src/rtl/gtxwc/gtxwc.c + implemented HB_GTI_FONTATTRIBUTE. Now user can make: hb_gtInfo( HB_GTI_FONTATTRIBUTE, HB_GTI_FONTA_FIXMETRIC + ; HB_GTI_FONTA_CLRBKG + HB_GTI_FONTA_DRAWBOX ) and use also fonts with broken metrics. [MERGED 3.0] 2011-09-05 22:40 UTC+0100 Jean Lefebvre mafact (jfl@mafact.com) * contrib/rddads/ads1.c + Correction: ahIndex Back from 512 to 256 (max coumpound index) ( Thanks to you Toninho ) [MERGED 3.0] 2011-09-05 03:12 UTC+0200 Viktor Szakats * contrib/hbssl/sslsess.c ! fixed to define SSL_SESSION_CMP(), SSL_SESSION_HASH() for OpenSSL 1.0.0 and later (they are noops in these versions) 2011-09-05 02:05 UTC+0200 Viktor Szakats + contrib/hbcups/readme.txt + added readme created by Chris Gonnerman. Thank you very much. 2011-09-04 16:07 UTC+0200 Viktor Szakats - contrib/hbcuied * now integrated into hbide 2011-09-02 14:03 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/ChangeLog ! formatting to 80 columns * harbour/src/rtl/filebuf.c ! fixed GPF in file locking code. Many thanks to Kultyshev Igor Anatolevich for reporting the bug and locating exact reason of the problem. [MERGED 3.0] 2011-08-30 12:30 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/xhb/xhb.hbp * harbour/contrib/xhb/xhb.hbx + harbour/contrib/xhb/xhbwin.c + harbour/contrib/xhb/xhbolec.c + added xHarbour compatible functions removed from HBWIN * harbour/contrib/hbssl/hbssl.hbx + added SSL_SESSION_CMP(), SSL_SESSION_HASH() 2011-08-29 22:38 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/hbide.hbp * Missed from prev commit. 2011-08-29 16:04 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/gtqtc/gtqtc.cpp * Minor. * contrib/hbide/hbide.qrc * contrib/hbide/ideactions.prg * contrib/hbide/ideconsole.prg * contrib/hbide/idedocks.prg * contrib/hbide/idemain.prg * contrib/hbide/ideobject.prg * contrib/hbide/resources/cuied.png + Implemented: CUI Screen Designer in hbIDE. Activate: <View><CUI Screen Designer> OR CUI Screen Designer icon. NOTE: must exit the screen designer with <ESC> <CTRL+ENTER> before clsoing hbIDE. It is necessary because when CUI Designer is active, there are two loops in progress. So, exiting CUI designer the way we exit an application is necessary before exiting hbIDE itself. 2011-08-29 13:40 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/qth/QPrintDialog.qth ! Fixed: constructor. It was very limiting before. TODO: need to review constructors on all the .qth's. 2011-08-29 17:00 UTC+0100 Jean Lefebvre mafact (jfl@mafact.com) * contrib/rddads/ads1.c + Enhanced: growning ahIndex from 50 to 512 to allows virtually unlimited TAG. Needed for Free Text search where each field must be indexed. (would otherwhise generate an ADS error 5005). [MERGED 3.0] 2011-08-28 22:28 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/gtqtc/gtqtc.cpp * contrib/hbqt/gtqtc/gtqtc.h + Enhanced: caret management, now it is almost real-time. 2011-08-28 15:10 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/hbmk2_qt.hbs * Upgraded: one level up - class creation lock for MT compliance. 2011-08-27 13:49 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/hbmk2_qt.hbs * contrib/hbqt/qtcore/hbqt.h + Implemented: C level class creation is now thread-safe. With this only pending issue with hbQT remains to replace usage of strtok() function with Harbour's implementation. 2011-08-27 13:09 UTC+0200 Viktor Szakats * INSTALL + added link to Cl*ipper 5.3. online docs (NG) on x-hacker.org + added link to online ChangeLog (SVN trunk) * ChangeLog ! removed pasted tabs from prev entry * package/winuni/mpkg_win_uni.bat ! completed 2011-08-18 14:12 UTC+0200 Viktor Szakats 2011-08-27 12:56 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbwin/olecore.c * few cleanups in recently added functions * harbour/contrib/xhb/xhb.hbp * harbour/contrib/xhb/xhb.hbx + harbour/contrib/xhb/xhbprn.c * added xHarbour windows printer functions. * harbour/contrib/xhb/xhb.hbp * harbour/contrib/xhb/xhb.hbx + harbour/contrib/xhb/xhbole.prg * added xHarbour compatible TOLEAUTO class and OLE functions: CreateObject(), GetActiveObject(), CreateOLEObject() 2011-08-27 10:09 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/hbinet.c % small simplification in error code setting * harbour/src/rtl/hbcom.c * always set explicitly tty device in raw mode even if cfmakeraw() exists to avoid potential problems with some platforms which may not make some necessary settings. [MERGED 3.0] 2011-08-25 16:02 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbcuied/cu_object.prg * contrib/hbcuied/cu_utlty.prg + Implemented: K_ALT_P preview. Preview takes following considerations: 0. Background color is always set to "W/B". You can change this behavior with a BOX covering entire screen. 1. Rows and columns of the screen are calculated based on maximum ending row and column of objects defined. if those values are greater than 25/80 then one more row and column is added to them, otherwise, rows/columns are 25/80 as in standard screen. 2. If COLOR is defined as a literal value enclosed in quotes, then this value is used otherwise "W/B" is used. 3. If PICTURE is defined as literal string enclosed in quotes, then it is used, otherwise left. For numeric fields, picture is always generated as "9999??[.9?]" based on field length and decimals. 2011-08-24 17:21 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbcuied/cu_object.prg * contrib/hbcuied/cu_utlty.prg * contrib/hbcuied/hbcuied.ch + Implemented: K_PGUP/K_PGDN to navigate vertically. K_ALT_Z to undo last action. K_ALT_G to re-order GETS. * Improved: help screens adding highlights and additopnal text. ! Fixed: many misbehaving artifacts. NOTE: Harbour Screen Designer is almost at production level. I am awaiting groups response as to what else they need. To Viktor: is it possible that it be included in Harbour's bin folder. I wish to embed this into hbIDE. 2011-08-23 22:40 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbcuied/cu_object.prg * contrib/hbcuied/cu_utlty.prg * Improved: help text and screens rotation. many artifacts. 2011-08-23 17:28 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbcuied/cu_object.prg * contrib/hbcuied/cu_utlty.prg * contrib/hbcuied/hbcuied.ch + Implemented: K_HOME places the cursor to zero column of the screen. K_END places the cursor to next column of last object on that row. Alt_N Inserts blank row at current cursor position. All objects on/after that row are moved one row down. Alt_O Delets current row. All objects on that row are also delted. Subsequent objects are moved one row up. + Added: help screens <General> containing info about the designer. * Updated: help screen <Keys> with latest changes. 2011-08-23 08:08 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbcuied/cu_object.prg * contrib/hbcuied/cu_utlty.prg * Inplace: building blocks of extended help screens. + GETS are now formatted nicely when writing back to PRG. 2011-08-22 18:06 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbcuied/cu_main.prg * contrib/hbcuied/cu_object.prg * contrib/hbcuied/cu_utlty.prg + Opens with SetMode( 28,80 ) to present real-time 25x80 console window equivalent design area. + Added: F1-Help screen which, BTW, is designed with hbCuiEd itself. + Added: Expression execution with SAY objects, press F4 on a text object. * Many improvements on saving/loading routines. 2011-08-19 16:38 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbcuied/cu_object.prg ! Refined: save/load interface with proper validation. At this point hbCuiEd is in a usable state. 2011-08-19 15:01 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/ideenviron.prg * Auto Detection: if hbide.exe is accompanied by hbmk2.exe, and no environment is set, attempt is made to set path of Harbour installation automatically. I do not know the logic foe *.nix systems, please fix. 2011-08-18 14:12 UTC+0200 Viktor Szakats * contrib/rddsql/sqlbase.c ! fixed transfering records between two "array" SQLBASE workareas, when there is a text/long/clob/memo field Patch by Ilina Stoilkovska. [MERGED 3.0] * contrib/hbpgsql/postgres.c ! added #include pg_config.h, '#if PG_VERSION_NUM' clauses were not working + plain wrappers for bulk data insert functions PQputCopyData, PQputCopyEnd + new function PQCOPYFROMWA which copies current workarea with CSV-like bulk data transfer functions to PostgreSQL database, without the need of creating temporary files - similar to __dbTrans() and __dbSql() <lResult> := PQCOPYFROMWA( <pConn>, <cTable>, [<bWhileBlock>], [<bForBlock>], [<aFieldNames>], [<nCount>], [<lTrimStrings>], [<nPreBuffer>] ) <nPreBuffer> - default is 1, which turns into 1 * 1400 bytes (to keep it below typical network MTU of 1500 bytes), needs testing how libPQ is doing buffering by itself, and if this is needed? Patch by Ilina Stoilkovska. Many thanks. * contrib/hbpgsql/hbpgsql.hbx + contrib/hbpgsql/rddcopy.c + contrib/hbpgsql/hbpgsql.h * contrib/hbpgsql/postgres.c * contrib/hbpgsql/hbpgsql.hbp + moved PQ related declarations to separate header. low-level functions made public. % moved new PQCOPYFROMWA() to separate source to untie the main wrappers from RDD components * HB_ prefix to PQCOPYFROMWA() name * minor mods to above * package/winuni/mpkg_win_uni.bat * package/winuni/mpkg_win_uni.nsi - deleted x64 flavor of some exes which don't give any benefit of the 64-bitness 2011-08-19 02:58 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbcuied/cu_object.prg + Implemented: two-way saving/loading of screens from PRG sources. Alt+S - Save / Alt+L - Load, keys are defined. At startup, if hbCuiEd is invoked with a .prg file name as first and only parameter, then all screens embedded in the source are presented for selection, and selected screen is brought in the designer. On save the actual indent of the loaded screen is preserved which means screens can be designed in real-time. If there is a need screens can be edited in the PRG ( assumed, it follows the protocols laid down by the designer ). Screens can be saved with new name. In this case a new function as "hbcui_" + screen name will be appended to the source which later can be edited and placed anywhere in the PRG. Will write a test program to demonstrate its two-way capabilities in a couple of days. 2011-08-18 08:28 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbcuied/cu_object.prg * Changed: saves screen at the previous location in a PRG if one exists with the same name. 2011-08-18 15:10 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + hbmk2 executable if renamed, copied or symlinked to the name 'harbour', it will make it behave as classic harbour executable, or IOW it will switch to hbmk2 -hbraw mode in such scenario. This makes it possible to continue using 'harbour' as a command even in distros which don't ship with classic harbour executable. 2011-08-18 11:47 UTC+0200 Viktor Szakats * contrib/hbcuied/cu_main.prg ! do not reference SVN source tree at runtime (-icon option is enough) BTW favicon.ico is for webpages, for apps harb_win.ico is the one * contrib/hbtip/sendmail.prg ! if hb_SendMail() receives invalid password, mail isn't sent, but hb_SendMail() returns .T. Fix from Dmitry Ryzhkov via Pavel Tsarenko. 2011-08-18 11:12 UTC+0200 Viktor Szakats * contrib/hbcuied/cu_main.prg ! deleted forced GT selection code to let it build on any platform ! do not show local version number (v1.0) * contrib/hbcuied/hbcuied.hbp ! -gtwvt guarded for win platform 2011-08-17 18:08 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbcuied/cu_object.prg + Implemented: source is generated. Provide source file name and screen identity and look into the code it generates. Let me know if that can be refined anyway. 2011-08-17 16:24 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbcuied/cu_main.prg * contrib/hbcuied/cu_object.prg * contrib/hbcuied/cu_utlty.prg * contrib/hbcuied/hbcuied.ch * Many more refinements. Try F4 on any object. 2011-08-16 18:22 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbcuied/cu_object.prg * More code cleanup, formatting, and optimizations. 2011-08-17 02:11 UTC+0200 Viktor Szakats * contrib/hbcuied/cu_utlty.prg * contrib/hbcuied/cu_achoi.prg * contrib/hbcuied/hbcuied.ch ! removed #include "hbgtwvg.ch" * local K_* constants -> standard inkey.ch constants * NTRIM() -> hb_ntos() 2011-08-16 16:55 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbcuied/cu_object.prg * contrib/hbcuied/hbcuied.ch * Code normalized. 2011-08-17 01:05 UTC+0200 Viktor Szakats * contrib/hbcurl/core.c ! do not include curl/types.h to make it build with 7.21.7 and newer. Thanks to Guy Roussin for the report. % version guarded curl/easy.h and curl/types.h so now they are only used for those very old libcurl versions that require it [MERGED 3.0] * contrib/hbcuied/hbcuied.hbp * sync with other exe contrib 2011-08-16 15:08 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) - contrib/hbcuied/cu_desgn.prg * contrib/hbcuied/cu_main.prg - contrib/hbcuied/cu_menu.prg * contrib/hbcuied/cu_object.prg - contrib/hbcuied/cu_outpt.prg - contrib/hbcuied/cu_prpty.prg * contrib/hbcuied/cu_utlty.prg * contrib/hbcuied/hbcuied.ch * contrib/hbcuied/hbcuied.hbp - Deleted: some sources. * Code cleanup and more constructs. * Changed: procedural approach to class code. 2011-08-15 10:20 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbcuied/cu_desgn.prg - contrib/hbcuied/cu_field.prg * contrib/hbcuied/cu_menu.prg + contrib/hbcuied/cu_object.prg * contrib/hbcuied/cu_outpt.prg * contrib/hbcuied/cu_prpty.prg * contrib/hbcuied/hbcuied.hbp * More refinements. 2011-08-13 17:25 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbcuied/cu_desgn.prg * contrib/hbcuied/cu_main.prg * contrib/hbcuied/cu_menu.prg * contrib/hbcuied/cu_outpt.prg * contrib/hbcuied/cu_prpty.prg * contrib/hbcuied/cu_utlty.prg * contrib/hbcuied/hbcuied.hbp - Removed: dependancy on GTWVG. Now hbCuiEd is portable across any platform. In SVN it has GTWVT dependancy. Just tweak the hbcuied.hbp according to your platform. * Changed: a lot of code cleanup and formatting, much more to come. 2011-08-12 18:06 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) + contrib/hbcuied + contrib/hbcuied/cu_achoi.prg + contrib/hbcuied/cu_desgn.prg + contrib/hbcuied/cu_field.prg + contrib/hbcuied/cu_main.prg + contrib/hbcuied/cu_menu.prg + contrib/hbcuied/cu_outpt.prg + contrib/hbcuied/cu_prpty.prg + contrib/hbcuied/cu_utlty.prg + contrib/hbcuied/hbcuied.ch + contrib/hbcuied/hbcuied.hbp + Added: initial commit of Harbour's CUI Forms Editor. NOTE: It is a work-in-progress and hence is subject to heavy changes. For now you can just play with it, though, it does not offer anything singnificant. Only building blocks are set in place. This code has been pulled out from my application sources which is a part of much larger reports object. Hence, it contains some code which eventually will be stripped out. Also sources need to be formatted heavily per Harbour standards. During next several days I will be occupied with this development. Any suggessions coming in way will highly benefit this tool. 2011-08-12 15:49 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/ideactions.prg * contrib/hbide/ideedit.prg * contrib/hbide/ideeditor.prg * contrib/hbide/idemain.prg * contrib/hbide/idethemes.prg + Added: <Edit><Format><Upper Case Harbour Keywords> option. When applied to an editing instance, Harbour keywords are capitalized. It is a useful utility for old sources where we were lazy on readable importance of our sources. 2011-08-12 17:53 UTC+0200 Viktor Szakats * contrib/hbtip/sendmail.prg * contrib/hbtip/httpcli.prg * contrib/hbtip/smtpcli.prg * contrib/hbtip/client.prg * contrib/hbtip/log.prg * contrib/hbtip/ftpcli.prg * contrib/hbtip/popcli.prg + allowing to pass custom tracelog filename to TIPCLIENT*:New() % moved tracelog initialization from subclasses to TIPCLIENT class + added TIPLOG:Clear() method - deleted TIPCLIENTFTP:StartCleanLogFile() and TIPCLIENTFTP:cLogFile because they're not compatible with the generic logging solution implemented now, ie. they wouldn't work when using custom tracelog block and would require additional changes into the wrong direction to implement fully. In current form, it was also broken, creating an RTE. For similar functionality a custom codeblock can be used together with TIPLOG:Clear() method, and this can be used with all TIPCLIENT* classes. * minor formatting and renamed bTrace to xTrace ; Thanks to Klas Engwall for raising and walking through these issues. ; Please test and tell if anything is broken 2011-08-12 02:46 UTC+0200 Viktor Szakats * package/winuni/mpkg_win_uni.bat ! added workaround for what it seems like a BCC IMPLIB tool bug (met in the past a few times already), where IMPLIB will forget to add leading underscore for certain symbols, leading to unexplained "unresolved external" errors when trying hbmk2 with -shared option with BCC. The bug is present in BCC 5.5 and BCC 5.8, no newer versions tested. The workaround is to convert to .def file first using IMPDEF, then correct the .def to avoid an IMPLIB pitfall, where it cannot handle '-' char in library name unless enclosed between double-quotes (but IMPDEF doesn't add those double quotes). [ So now winuni pkg builder script requires GNU SED tool.] Then the corrected .def file can be converted to .lib by IMPLIB correctly. [MERGED 3.0] 2011-08-12 02:37 UTC+0200 Viktor Szakats * contrib/hbwin/hbwin.hbx * rebuilt after recently added symbols 2011-08-09 14:26 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/vm/classes.c ! added missing initialization of onError and destructor flags. The problem could be exploited when class inherits from more then one parent classes and onError handler[s] or destructor[s] were neither defined in the class nor in the first ancestor. [MERGED 3.0] * harbour/contrib/hbwin/olecore.c + added helper PRG functions: __oleInvokeMethod(), __oleInvokePut(), __oleInvokeGet(), __oleGetNameId() 2011-08-08 15:55 UTC+0200 Tamas TEVESZ (ice extreme.hu) * contrib/hbct/ctwin.c ! use correct format string for int * contrib/hbexpat/internal.c ! fix comparison of integers of different signs * contrib/hbnf/fttext.c ! remove extraneous parentheses ; issues found by Clang [MERGED 3.0] 2011-08-08 12:25 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbwin/olecore.c ! typo in previous commit 2011-08-08 12:13 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/hbcomhb.c * indenting * harbour/contrib/xhb/xhb.hbp - harbour/contrib/xhb/xthrow.prg + harbour/contrib/xhb/xthrow.c * rewritten THROW() function in C * harbour/contrib/hbwin/olecore.c + add PRG function __OLEISDISP() which can be used to verify if given parameter is Harbour OLE pointer item. 2011-08-07 19:33 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + better accept libs passed as names in oldschool 'name.lib' format * src/rtl/objfunc.prg * casing 2011-08-05 19:37 UTC+0200 Viktor Szakats * include/hbclass.ch ! typo in VO specific (inactive) section: HIDDE -> HIDDEN Checkme. [MERGED 3.0] * examples/gtwvw/wvwdraw.c * examples/gtwvw/wvwmenu.c * examples/gtwvw/gtwvw.c * examples/gtwvw/wvwstbar.c * examples/gtwvw/wvwcheck.c * examples/gtwvw/wvwfuncs.c * examples/gtwvw/wvwpush.c * examples/gtwvw/wvwedit.c * examples/gtwvw/wvwtbar.c * examples/gtwvw/hbgtwvw.h ! basic fixes to make it build with Harbour 3.1.0dev - IS*() -> HB_IS*() - manual windows.h inclusion instead of retired HB_OS_WIN_USED trick 2011-08-04 02:43 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/vm/hvm.c * small code modification to pacify warning 2011-08-04 01:51 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/vm/runner.c * do not execute EXIT procedures inside HB_HRBDO() call. This modification allows to call HB_HRBDO() more then once for the same HRB module without activating INIT and EXIT procedures on each call. EXIT procedures will be activated when HRB modules is unloaded or on HVM QUIT. [MERGED 3.0] * harbour/contrib/hbwin/axcore.c ! cleaned casting [MERGED 3.0] 2011-08-02 13:04 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/gtwvg/wvgutils.c - Removed: WVT__GetOpenFileName() and WVT__GetSaveFileName() functions. * contrib/gtwvg/wvgpaint.prg * Swapped: Wvg_GetOpenFileName() now calls hbwin/Win_GetOpenFileName() and Wvg_GetSaveFileName() now calls hbwin/Win_GetSaveFileName(). hbwin implementation is far superior. 2011-08-02 13:17 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/fserr.c ! moved HB_TRACE() message - it was overwritting OS error code. [MERGED 3.0] * harbour/src/rtl/filesys.c ! removed dup2() function call left by mistake during some modifications [MERGED 3.0] 2011-08-02 00:11 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/common/hbprintf.c + added very basic support for '%ls' in hb_snprintf() [MERGED 3.0] * harbour/ChangeLog ! typo in last description 2011-08-01 15:28 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbstack.h * harbour/src/vm/estack.c + added internal function hb_stackLockCount() [MERGED 3.0] * harbour/src/vm/hvm.c * modified hb_vmRequestReenter() to return HB_FALSE instead of GPF when called from non HVM thread. * extended hb_vmRequestReenter[Ext]()/hb_vmRequestRestore() to save and restore HVM stack lock state and lock HVM stack before successful return. This extensions is critical for MT applications which need to safely reenter HVM also from code encapsulated inside unknown number of hb_vmUnlock()/hb_vmLock() calls. [MERGED 3.0] * harbour/src/compiler/cmdcheck.c % removed redundant conditions [MERGED 3.0] 2011-07-30 00:00 UTC+0200 Viktor Szakats * src/3rd/png/pngerror.c * src/3rd/png/pngwrite.c * src/3rd/png/pngconf.h * src/3rd/png/pngwtran.c * src/3rd/png/pngset.c * src/3rd/png/pngpread.c * src/3rd/png/LICENSE * src/3rd/png/pngrutil.c * src/3rd/png/png.dif * src/3rd/png/pnginfo.h * src/3rd/png/pngstru.h * src/3rd/png/pngwutil.c * src/3rd/png/pnglconf.h * src/3rd/png/pngread.c * src/3rd/png/pngmem.c * src/3rd/png/png.c * src/3rd/png/png.h * src/3rd/png/pngpriv.h * src/3rd/png/pngrtran.c * src/3rd/png/Makefile * src/3rd/png/pngtrans.c * update to 1.5.4 * contrib/3rd/sqlite3/sqlite3.c * contrib/3rd/sqlite3/sqlite3.dif * contrib/3rd/sqlite3/sqlite3.h * contrib/3rd/sqlite3/sqlite3.hbp * update to 3.7.7.1 ; Both patch from Tamas Tevesz. Thank you. ; Administrative note: I'm also giving up applying patches, so I'm looking for devs taking over this task. I'd be most happy if Tamas could commit directly his own, since he is doing a great job and the patches almost never require any touchups, so I'm gladly opening R/W access for direct commit. Tamas, what do you think? 2011-07-29 22:50 UTC+0200 Viktor Szakats * package/winuni/RELNOTES ! adjusted hbmk2 command-line example for building wce apps (it gets around the problem fixed in hbmk2 below) [MERGED 3.0] * utils/hbmk2/hbmk2.prg ! fixed to only look for ccprefix/ccpostfix-ed gcc executable on wce, if ccprefix/ccpostfix is non-empty. This fixes misdetection of cygwin when -plat=wce is used. * contrib/hbnf/menutonf.prg ! FT_MenuTo() fixed to default 3rd parameter if non-logical type is passed. this is original NFLIB bug. Spotted and fix siggested by Klas Engwall. * ChangeLog + added TOMERGE to previous entry 2011-07-28 13:02 UTC+0200 Viktor Szakats * src/compiler/cmdcheck.c ! added workaround for what it seems like a clang bug in latest Apple XCode 4.1 'Apple clang version 2.1 (tags/Apple/clang-163.7.1) (based on LLVM 3.0svn)', manifesting in this error: --- /Developer/usr/bin/clang -I. -I../../../../../include -fno-common -W -Wall -O3 -o cmdcheck.o -c ../../../cmdcheck.c clang: error: unable to execute command: Segmentation fault: 11 clang: error: clang frontend command failed due to signal 1 (use -v to see invocation) --- The fix simply introduces a new variable to use ptr reference instead of indexed vector access in one specific loop. Please review/refix it, I didn't make functional tests. [MERGED 3.0] 2011-07-28 00:32 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/vm/hvm.c ! fixed infinite error retry loop when variable is create inside error handler [MERGED 3.0] 2011-07-28 00:08 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! -hbcc help description cleanup as suggested by Phil Krylov 2011-07-26 13:42 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/ChangeLog * changed [TOMERGE 3.0] status to [MERGED 3.0] 2011-07-26 13:18 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/common/hbgete.c * harbour/src/common/hbprintf.c * harbour/src/rtl/arc4.c * harbour/utils/hbmk2/hbmk2.prg * harbour/contrib/hbmysql/hbmysql.hbp * harbour/contrib/sddmy/sddmy.hbp ! fixes for FreeBSD 6.2 build Patch provided by Phil Krylov - many thanks. [MERGED 3.0] 2011-07-25 13:02 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/idemain.prg + Implemented: Order of "Functions List" is remembered as per last setting initiated by the user via context menu. The order can be "Natural" or "Ascending". 2011-07-23 15:08 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbwin/olecore.c ! fixed to use Harbour STR API instead of hardcoded ANSI CP for conversions between Harbour and OLE items. Patch provided by Phil Krylov with some minor modifications. [MERGED 3.0] 2011-07-22 23:13 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/hbcom.c ! updated to compile on HP-UX - please test. [MERGED 3.0] 2011-07-22 09:57 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/vm/hvm.c ! added protection against self-recursive iterating in code like: FOR EACH var in @var [...] NEXT Now RTE is generated in such case instead of GPF 2011-07-21 01:27 UTC+0200 Viktor Szakats * INSTALL ! typo [MERGED 3.0] 2011-07-20 11:11 UTC+0200 Viktor Szakats * NEWS + copied known issues from recent Harbour thread + added text redirecting users to ChangeLog for new featues, changes and possible incompatibilities. [MERGED 3.0] 2011-07-18 12:42 UTC+0200 Viktor Szakats * INSTALL + added link to new announcement list [MERGED 3.0] 2011-07-18 02:58 UTC+0200 Viktor Szakats * debian/changelog ! forgot to bump version in debian packaging best is to use plain make, apparently debian packaging was not tested since quite long. [MERGED 3.0] 2011-07-18 01:42 UTC+0200 Viktor Szakats * debian/rules - disabled contrib dynlibs. [MERGED 3.0] 2011-07-17 22:30 UTC+0200 Viktor Szakats * include/harbour.hbx * updated * config/global.mk * bumped version number 2011-07-17 16:21 UTC+0200 Viktor Szakats * include/extend.api * include/harbour.hbx * include/hbdefs.h * include/hbapi.h * include/hbvm.h * include/hbapigt.h * include/clipdefs.h - src/pp/pplib3.c * src/pp/Makefile * src/vm/hvm.c * src/rtl/hbtoken.c * src/rtl/inkey.c * src/rdd/usrrdd/usrrdd.c * contrib/hbmysql/hbmysql.hbx - contrib/hbmysql/mysqlold.c * contrib/hbmysql/mysql.c * contrib/hbmysql/hbmysql.hbp * contrib/hbmysql/mysql.ch * contrib/hbpgsql/hbpgsql.hbx * contrib/hbpgsql/postgres.c * contrib/hbwin/hbwin.hbp * contrib/hbwin/hbwin.hbx - contrib/hbwin/legacy.prg - contrib/hbwin/legacycd.c - contrib/hbwin/legacyco.c - contrib/hbwin/legacycp.c * contrib/hbodbc/hbodbc.hbx - contrib/hbodbc/odbcold.c * contrib/hbodbc/odbc.c * contrib/hbodbc/hbodbc.hbp * contrib/hbtip/utils.c * contrib/hbtip/hbtip.hbx * deleted things marked with HB_LEGACY_LEVEL3, finishing cleanup job started many years ago. ; this also means that windows.h and os2.h will no longer be included by Harbour headers, HB_OS_WIN_USED is thus ineffective, so if someone needs these headers to access system APIs, they should be manually included in each source file. Some old hacks have also been removed which disabled some Clipper compatibility macros/types in compatibility headers (clipdefs.h, *.api), if someone uses these alongside windows.h/os2.h inclusion, it will be broken, here the strategy is to move to Harbour types and Harbour API headers, simply Clipper headers and newer OS headers are not compatible. ; HB_DONT_DEFINE_BASIC_TYPES is not effective anymore. ; INKEY_RAW is no more, use HB_INKEY_RAW instead. ; NEXTKEY() hidden parameter extension is disabled. Use HB_KEYNEXT() Harbour alternative which has it. ; Some legacy PP functions are no more. ; hb_vmPushState()/hb_vmPopState() APIs were now permanently deleted. ; __STR*() token handling legacy functions are no more, use native HB_TOKEN*() ones instead. ; WRITEBHEADER in USRRDD is no more, WRITEDBHEADER is the replacement. ; hbmysql, hbodbc compatibilty and deprecated functions were deleted ; hbwin compatibility functions were deleted. If there is demand, mainly to help migrating xhb users, they can be readded to xhb lib by interested developers, now deleted code should be changed to fall back to dummies on non-Windows builds. ; some deprecated hbpgsql functions were deleted ; hbtip HB_BASE64() is deleted. Use core HB_BASE64ENCODE() instead. ; Anyone affected by above changes has the option to stick with 3.0.x Harbour versions or to update their source code according to above instructions (or instructions included in past ChangeLog entries) ; Some fallouts in Harbour build is possible after these changes 2011-07-17 15:29 UTC+0200 Viktor Szakats * include/hbsetup.ch - deleted HB_LEGACY_LEVEL3 + added HB_LEGACY_LEVEL5 2011-07-17 15:26 UTC+0200 Viktor Szakats * include/extend.api * include/hbdefs.h * include/hbapi.h * include/clipdefs.h * contrib/hbpost.hbm * contrib/hbfimage/hbfimage.hbp * config/rules.mk - deleted HB_LEGACY_TYPES_OFF macro. it is the default in post 3.0.x Harbour versions. + added HB_LEGACY_TYPES_ON macro. This should be used when building C code which uses Clipper/Harbour legacy types (e.g. LONG or BOOL). It will stay until next stable version when all legacy types will be permanently removed. This gives time for 3rd party developers to update code to use Harbour (non-legacy) types in C code. See '2009-11-01 11:35 UTC+0100 Viktor Szakats' ChangeLog entry about non-legacy Harbour types. 2011-07-17 15:01 UTC+0200 Viktor Szakats * include/hbver.h * package/harbour.spec * package/harbour-win.spec.in * package/winuni/mpkg_win_uni.bat * package/harbour-wce.spec.in * package/harb_win.mft * trunk version bump. 2.1.0rc2 -> 3.1.0dev ---------- branch 3.0 created ---------- 2011-07-17 14:50 UTC+0200 Viktor Szakats * ChangeLog ! typo 2011-07-17 14:46 UTC+0200 Viktor Szakats * NEWS * set date of stable release 2011-07-17 14:45 UTC+0200 Viktor Szakats * contrib/hbpost.hbm ! added HB_BUILD_STRIP support for contribs 2011-07-17 14:39 UTC+0200 Viktor Szakats * contrib/hbqt/qtnetwork/hbqtnetwork.hbc ! updated/fixed implib name for OS/2 As suggested by David Arturo Macias Corona 2011-07-17 12:30 UTC+0200 Viktor Szakats * contrib/hbmysql/hbmysql.hbc * contrib/sddmy/sddmy.hbc - deleted (most probably static) OpenSSL libs forced in .hbc file. if such requirements are present for certain versions/builds of 3rd party lib I suggest to add them via HB_USER_LDFLAGS options at build time. This way the build will not break when using different builds of these libs. The bottom line is that Harbour .hbc files are not the best place to track the dependency tree of libs linked statically to 3rd party libs. [to help such cases, maybe we can add them as comments, but even better if dynamic versions of these libs are used, so user don't have to deal with dependency tree at build time at all] 2011-07-17 12:13 UTC+0200 Viktor Szakats * contrib/hbide/hbide.hbp ! removed forced strip 2011-07-17 11:38 UTC+0200 Viktor Szakats * contrib/hbqt/qtgui/hbqt_init.cpp * contrib/hbqt/qtcore/hbqt_init.cpp ! moved s_PHB_ITEM_tobedeleted logic to HBQTCORE 2011-07-17 11:21 UTC+0200 Viktor Szakats * contrib/hbqt/qtgui/hbqt_init.cpp * variables scopes * formatting ; FIXME: s_PHB_ITEM_tobedeleted logic to be moved to hbqtcore [DONE] 2011-07-16 15:59 UTC+0200 Viktor Szakats * src/rtl/gtwvt/gtwvt.c * contrib/gtwvg/gtwvg.c ! fixed to use LONG instead of DWORD for GetWindowLong() values ! fixed to use LONG_PTR instead of LONG for GetWindowLongPtr() values on systems requiring it, e.g. win64 builds ; review me pls ; TODO: GTWVG would have to be synced with recent GTWVT changes 2011-07-16 14:56 UTC+0200 Viktor Szakats * contrib/hbmlzo/core.c ! fixed to use hb_storns() instead of hb_storni() to make win64 builds happy 2011-07-16 14:53 UTC+0200 Viktor Szakats * contrib/hbmlzo/core.c ! fixed uninitialized variable in rare error case (signaled by msvc warning) 2011-07-16 14:49 UTC+0200 Viktor Szakats * contrib/hbmxml/3rd/minixml/config.h ! fixed redefinition of snprintf and vsnprintf macros (upstream bugs) (apparent in msvc/msvc64 builds) 2011-07-16 14:28 UTC+0200 Viktor Szakats * src/rtl/gtgui/gtgui.c ! added cast to pacify msvc64 warning 2011-07-16 14:02 UTC+0200 Viktor Szakats * contrib/hbmysql/hbmysql.hbc * contrib/sddmy/sddmy.hbc ! modified non-*nix 3rd party libs references to fix them for OS/2. based on David's test results 2011-07-16 14:02 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbct/numbase.c * casting to pacify warning 2011-07-16 13:51 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/utils/hbtest/rt_str.prg ! disabled workaround for 64-bit [U]LONG values in Win64 builds. Unlike all other 64-bit platforms MS-Windows 64-bit uses 32 bits [U]LONG integer values and this workaround should not be enabled. This modification reduces number of errors reported by HBTEST in Win64 builds. 2011-07-16 13:17 UTC+0200 Viktor Szakats * contrib/hbssl/hbssl.hbc * updated 3rd party lib list for OS/2. Patch by David Arturo Macias Corona 2011-07-15 21:56 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbct/ct.h * harbour/contrib/hbct/bitnum.c * declared HB_BOOL ct_numParam( int iParam, HB_MAXINT * plNum ) as public function so it can be used by different number and bit manipulation CT3 functions * harbour/contrib/hbct/hbct.hbp + harbour/contrib/hbct/numbase.c ! added new CTON() and NTOC() implementation. This version is written in C and fixes many different problems which existed in the previous one. Both functions can work with 64-bit integers. Passing 3rd logical parameter to CTON() forces 32-bit mode for binary compatibility with CT3. * harbour/contrib/hbct/hbct.hbp + harbour/contrib/hbct/bitstr.c ! added new CTOBIT() and BITTOC() implementation. This version is written in C and fixes many different problems which existed in the previous one. * harbour/contrib/hbct/hbct.hbp * harbour/contrib/hbct/numconv.prg - removed old CTON(), NTOC(), CTOBIT() and BITTOC() implementation. 2011-07-15 18:24 UTC+0200 Viktor Szakats * src/rtl/hbini.prg ! fixed HB_INIREAD() unable to read values containing '=' sign Patch by Francesco Saverio Giudice. Thank you. 2011-07-15 11:44 UTC+0200 Viktor Szakats * contrib/hbcups/hbcups.hbc * added libs for OS/2. As suggested by David Arturo Macias Corona * config/global.mk ! added missing $(HB_HOST_BIN_EXT) in wildcard command used of user HB_CCPATH/HB_CCPREFIX verification. (in line 960) 2011-07-12 21:11 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg * config/postinst.hbs ! fixed wrongly placed @cStdErr parameter in hb_processRun() calls. it didn't cause any error as the param is empty and return value currently unused. 2011-07-12 16:06 UTC+0200 Viktor Szakats * contrib/hbssl/ssl.c * previous patch modified along with Przemek's suggestion to also RTE for -1 values passed 2011-07-12 16:02 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/macro/macrolex.c ! added missing YY token assignment I removed by mistake in last macrolex modification. This modification fixes problem with extended string decoding by macrocompiler. * harbour/config/global.mk ! added missing $(HB_HOST_BIN_EXT) in wildcard command used of user HB_CCPATH/HB_CCPREFIX verification. 2011-07-12 08:51 UTC+0200 Viktor Szakats * package/winuni/RELNOTES * adjusted installed sizes after fixing included C compiler to be 1) 4.5.2 tdm 2) trimmed down a little bit compared to nightly 3) fixing mingw dlls in Harbour bin dir ; TODO: adjust the C compiler included in nightly accordingly * contrib/hbssl/ssl.c + SSL_SET_[RW]FD(): throwing RTE if second param is not numeric 2011-07-11 21:43 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/hbqt_hbqsyntaxhighlighter.cpp ! Fixed: wrongly highlighted text where single-line comment is inside the quoted text, viz., "ABC//DEF" which is greyed after "//", reported by Miso Pucko on the bug tracker. 2011-07-12 00:10 UTC+0200 Viktor Szakats * config/win/global.mk * contrib/hbpost.hbm + added undocumented build option __HB_BUILD_WINUNI=unicows to build Harbour core binaries (.exes and .dlls) with unicows lib linked in so they run on Win9x systems. User has to supply unicows libs, see INSTALL about them. 2011-07-11 23:30 UTC+0200 Viktor Szakats * package/winuni/mpkg_win_uni.bat * changed to copy mingw dlls from mingw rather than from QT to be in sync with embedded mingw files 2011-07-10 22:05 UTC+0200 Viktor Szakats * examples/gtwvw/tests/wvwtest9.prg ! fixed bad code: inkey()!=Chr(0) -> inkey()!=0 (perfect example why certain "extensions" are not a good idea from a technical standpoint.) 2011-07-08 15:50 UTC+0200 Viktor Szakats * package/winuni/HARBOUR_README_MINGW ! updated tdm link 2011-07-08 12:56 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg * config/global.mk + mingw64-tdm autodetection. PLEASE TEST! 2011-07-08 12:55 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg * config/global.mk + autodetect mingw 4.6 2011-07-08 12:53 UTC+0200 Viktor Szakats * config/global.mk + show autodetected HB_CCPREFIX and HB_CCPOSTFIX (based on Przemek's patch with addition of HB_CCPOSTFIX) 2011-07-07 21:44 UTC+0200 Viktor Szakats * contrib/sddoci/sddoci.c ! added OCI_ENV_THREADED flag to OCI_Initialize() in an attempt to solve MT problems reported by Marek. Many thanks to Vincent Rogier (author of OCILIB) for the tip and advice. Please retest now. [TESTED OK] 2011-07-06 00:05 UTC+0200 Viktor Szakats * src/rtl/gtwin/gtwin.c ! using HB_ prefixed name for locally defined CONSOLE_SCREEN_BUFFER_INFOEX structure related names and then these are mapped to Windows names using #define (untested) ! disabled whole above logic since it's not used currently anyway. this should fix compilation with mingw64-tdm and some other mingw64 builds with Windows headers featuring CONSOLE_SCREEN_BUFFER_INFOEX structure ; review me please 2011-07-05 22:52 UTC+0200 Viktor Szakats * contrib/hbqt/qtgui/hbqt_hbqabstractitemmodel.cpp * deleted empty lines and commented bad code 2011-07-05 13:34 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/hbqt_hbqabstractitemmodel.cpp ! Fixed: a possible GPF trap where a GC item was being released in application code without owning it. 2011-07-05 22:21 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg - disabled addition of header and libs paths for optional package managers on bsd platforms. in some situations this may be unwanted. (added in 2010-11-03 19:01 UTC+0100 Viktor Szakats) 2011-07-05 17:09 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! fixed to put requests to stub code for core GTs when -gt* options are used (the fix it meant to be unintrusive and could use a future cleanup/optimization by using the raw GT list to form the library list instead of rolling both lists in parallel) Please test. * minor cleanup to IsGTRequested() so it can be reused in the future 2011-07-05 07:49 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/pp/ppcore.c % removed dummy (always false) condition * harbour/src/rtl/arc4.c ! do not uses sysctl() in Android builds 2011-07-04 20:41 UTC+0200 Viktor Szakats * contrib/hbwin/tests/testsvc.prg + added comment about 'S' internal parameter + added textual error messages 2011-07-01 20:03 UTC+0200 Viktor Szakats * examples/gtwvw/gtwvw.c ! fixed display problem when using browse in wvwtest9 sample. patch suggested by Ash and its replicating xhb solution. 2011-06-27 12:14 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/idedocks.prg * contrib/hbide/idesaveload.prg * contrib/hbide/setup.ui * Changed: the icon size of toolbars of editing instances from 16x16 to 12x12 by default. This can be adjusted to suit one preferences via <Setup><hbIDE Setup><General>. This change has effected an aesthetically pleasing look to editing area. 2011-06-23 09:49 UTC+0200 Viktor Szakats * src/vm/classes.c ! error if HB_USE_PROFILER is defined. Patch from Teo Fonrouge. 2011-06-21 16:00 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg * -vcshead= option made more robust by eliminating redirection operator from command-line and usage of temp file 2011-06-21 12:16 UTC+0200 Viktor Szakats * contrib/hbmzip/tests/myzip.prg * contrib/hbmzip/tests/myunzip.prg ! use MAIN() as entry point to make some platforms happy 2011-06-19 17:09 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtcore/qth/QStringList.qth ! Commented out: duplicate ( from Harbour's POW ) function calls which were generating warnings "Unreachable code". 2011-06-20 02:05 UTC+0200 Viktor Szakats * contrib/hbide/idemain.prg ! fixed to show the same encoding name as selected from menu 2011-06-20 00:14 UTC+0200 Viktor Szakats * contrib/xhb/trpccli.prg * contrib/xhb/trpc.prg ! fixed '!=' operator on strings * contrib/xhb/sprintf.prg ! indenting, formatting (verified) * contrib/xhb/xhbmemo.prg * whitespace 2011-06-19 18:09 UTC+0200 Viktor Szakats * contrib/xhb/xhbtedit.prg ! fixed to not use deprecated internal functions __str*() % minor opt to strtran() calls 2011-06-19 17:56 UTC+0200 Viktor Szakats * contrib/xhb/xhbtedit.prg ! transformed some xhb syntax extensions to Harbour equivalents 2011-06-19 17:18 UTC+0200 Viktor Szakats * contrib/xhb/xhbtedit.prg ! fixed to handle some of the "extended" keys without build-time hacks, so selection/copy/paste should now work * formatting + contrib/xhb/xhbmemo.prg * contrib/xhb/xhb.hbp * contrib/xhb/xhb.hbx + added XHB_MEMOEDIT() function, completing commit 2011-05-25 19:35 UTC+0200 2011-06-19 08:06 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtcore/qth/HBQString.qth * contrib/hbqt/qtcore/qth/QByteArray.qth ! Commented out: duplicate ( from Harbour's POW ) function calls which were generating warnings "Unreachable code". 2011-06-19 11:27 UTC+0200 Viktor Szakats * contrib/hbqt/qtcore/hbqt_pointer.cpp + added FIXME to strtok() calls [DONE] 2011-06-19 11:24 UTC+0200 Viktor Szakats * contrib/hbqt/hbmk2_qt.hbs ! fixed != operator on strings * DATA -> VAR * formatting, indenting * cleaned unnecessary parameter in hbqtgen_BuildCopyrightText() - deleted '#define _xGEN_TRACE_' 2011-06-18 22:55 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/hbqt_hbqplaintextedit.cpp ! Fixed: a function call dependent on Qt v4.6 +. 2011-06-18 13:53 UTC+0200 Viktor Szakats * package/winuni/RELNOTES * NEWS * updates 2011-06-18 13:19 UTC+0200 Viktor Szakats * package/winuni/RELNOTES * updated installed sizes 2011-06-18 12:43 UTC+0200 Viktor Szakats * INSTALL * updated comment for tdm mingw recommending official build for x64 compiler 2011-06-18 12:31 UTC+0200 Viktor Szakats * package/winuni/RELNOTES * some updates * package/winuni/mpkg_win_uni.bat ! minor fix for current rc version 2011-06-17 18:29 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/ideactions.prg * contrib/hbide/idedocks.prg * contrib/hbide/ideedit.prg * contrib/hbide/idefindreplace.prg * contrib/hbide/idehome.prg * contrib/hbide/idemain.prg * contrib/hbide/idesaveload.prg * Changed: the way "Stats" window was implemented in the parallel with edit instances. Now it is an independent "Qt_Sheet" window which can be activated with "Welcome" main toolbar icon. This has cleaned the editing environment. - Removed: non-mdi protocol for editing areas. It is now only one. This has simplified the code considerably and has also cleaned the ambiguity. ! Fixed: first-timer visual glitch which was presenting the two MDI windows side-by-side, "Stats" and "Main". 2011-06-17 12:18 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/setup.ui * contrib/hbide/ideedit.prg * contrib/hbide/ideeditor.prg * contrib/hbide/idesaveload.prg + Implemented: integration with Microsoft Visual SourceSafe for version control. Current implementation only offers, Checkin, Checkout, Undocheckout, Get Latest Version. Diff is not funtional as it should be. ; It is assumed that VSS is already installed on your system and Project(s) and files are already setup for your sources. The interface to carry-out these operations is right-click on editing instance and choosing an action via "Source Control - VSS" sub-menu. Your input will be highly valuable. ; Probably this will be my last commit before release 3.0.0. 2011-06-17 20:27 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbgtinfo.ch * harbour/src/rtl/gtwvt/gtwvt.c + added support for HB_GTI_MAXIMIZED Patch created by Heinz V. Bergen - thank you. * harbour/src/common/hbstr.c % simplified hb_strAt() code and added missing stop condition. This modification also quite nicely optimized the average speed of AT() function and $ operator. 2011-06-17 19:33 UTC+0200 Viktor Szakats * package/winuni/mpkg_win_uni.bat * package/mpkg_win_nightly.bat + added unicows implibs for applicable platforms. these are totally free files accessible from the internet for anyone, for some Win9x users it's too much though, so I'm adding them to binary distro. To be tested 2011-06-17 14:57 UTC+0200 Viktor Szakats * contrib/xhb/xhb.hbp ! added hbfship to .hbp file too. even though hbfship is included in .hbc just to offer hbfship functions while they are not actually called from xhb code, for dynamic xhb lib builds it must be built beforehand. Fixes problem reported by Tamas. 2011-06-16 00:38 UTC+0200 Viktor Szakats * src/rtl/gtwvt/gtwvt.c ! fixed WinCE regression after recent patch % minor optimization 2011-06-15 13:45 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/ideeditor.prg ! Fixed: relaoding a source now correctly sets the READONLY attribute associated with the file and also positions the cursor approximately at the same position as it was before. This helps in keeping the same session if a file is checked in/out of some version control systems which sets the attribute to read-only when checked in. 2011-06-15 12:50 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/idechangelog.prg ! Fixed: a silly comparison in prev commit. 2011-06-15 11:53 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/changelog.ui * contrib/hbide/idechangelog.prg * contrib/hbide/idesaveload.prg * Changed: "Manage ChangeLog(s)" dialog - <Title> and <Sources> entry fields are now editable drop-down combo boxes. They retain the entered text for next run. The retained entries are inserted alphabetically to retreive fast. 2011-06-14 22:09 UTC+0200 Viktor Szakats * tests/ac_test.prg ! warnings 2011-06-14 11:50 UTC+0200 Viktor Szakats * src/rtl/strtran.c ! minor in webpage URL * src/rtl/gtwvt/gtwvt.c ! Patch from Heinz V. Bergen, fixing full screen and alt-enter GT features when GTWVT windows was not open yet, also fixing screen positioning/sizing regression. * src/rtl/inkey.c * include/harbour.hbx + added HB_KEYLAST() which allows to pass a mask (I'm not sure if this is ultimate solution, but there it goes for now. Pls remove it if there is better one) * package/winuni/RELNOTES * updated 3rd party version numbers 2011-06-12 13:33 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hblzf/3rd/liblzf/lzf_c.c ! use __int64 instead of _int64 in WIN64 builds Some MinGW64 versions (i.e. tdm64-gcc-4.5.2.exe_ do not support _int64 as default type. * harbour/contrib/hblzf/3rd/liblzf/liblzf.dif * regenerated with: ../../../../bin/hb3rdpat.hbs -rediff 2011-06-12 13:16 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/strtran.c ! rewritten STRTRAN() to fix incompatibilities with Clipper and fatal performance of original code. This implementation is over 3 times faster then the previous code. 2011-06-09 22:50 UTC+0200 Viktor Szakats * src/rtl/gtwvt/gtwvt.h * src/rtl/gtwvt/gtwvt.c * tests/wvtext.prg + Massive GTWVT patch from Heinz V. Bergen. Thank you very much. Details: - fixed Alt-Enter for full screen, will no longer send the K_ENTER to the Input queue. - HB_K_RESIZE only sent if the Rows/Cols size actually changed. - Clicking Maximize (top right corner) button, will maximize window and change to Restore button, then clicking Restore button will restore the window to its previous size. - Dbl-clicking Title-Bar will maximize, then Dbl-Clicking Title bar again will restore. - Resizing window when in RESIZEMODE_FONT, will dynamically display the resulting size changes in real time. - All Maximize / Restore / Sizing works in RESIZEMODE_ROWS as would be expected. - Windows 7, dragging Window (Title-Bar) to top of screen will maximize, then dragging maximized window's Title bar down will Restore to previous size. - Windows 7, dragging Window (Title-Bar) left or right until mouse pointer hits the edge of the screen will size and dock to the left or right half of the screen, then dragging title bar away from docked position will restore the Window to its previous size. - Windows 7, resizing top or bottom until edge of screen hit (or dbl-clicking) will resize for maximum height. Then dragging title bar away will restore to previous size. - Before, depending on monitor's resolution, and when using Courier New or Terminal font, maximizing would fail due to Font metrics being incompatible with the Window's size or maybe due to math issues, I was able to resolve by slightly adjusting the Font's width or height down and then trying again until successful. - Pressing Alt-Enter (when enabled) for full screen mode and then pressing Alt-Enter again will restore Window to previous non-maximized size. - extended GT test app ; Please make test and report any experiences on devel list 2011-06-09 15:31 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapifs.h * harbour/src/rtl/filesys.c % removed unnecessary PID setting in POSIX file lock function. + added new C function: int hb_fsLockTest( HB_FHANDLE hFileHandle, HB_FOFFSET nStart, HB_FOFFSET nLength, HB_USHORT uiMode ); It allows to test file range lock status. It returns -1 on error, 0 when lock can be set and value greater then 0 if part of given range is locked by other process. In POSIX systems this value is PID of current lock owner. In other systems it's always 1. In uiMode only FLX_SHARED bit is significant. * harbour/include/hbapifs.h * harbour/src/rtl/filebuf.c + added new C function: int hb_fileLockTest( PHB_FILE pFile, HB_FOFFSET nStart, HB_FOFFSET nLen, int iType ); It's redirected to hb_fsLockTest() * harbour/contrib/hbnetio/netio.h * harbour/contrib/hbnetio/netiocli.c * harbour/contrib/hbnetio/netiosrv.c * harbour/contrib/hbmemio/memio.c + implemented hb_fileLockTest() low-level code * harbour/include/dbinfo.ch + added DBI_LOCKTEST * harbour/src/rdd/dbf1.c % small code simplification + implemented DBI_LOCKTEST dbInfo( DBI_LOCKTEST [, <nRecNo> ] ) -> <nStatus> returns corresponding results to C level hb_fsLockTest() function. If current workarea is already locked then 0 is returned. If low-level FS is located on POSIX system (accessed directly or by HBNETIO) then value greater then 0 is PID of current lock owner. If the lock is hold by aliased area or other thread of calling process then <nStatus> is current PID. In Other systems 1 is returned when lock cannot be set in current workarea. If <nRecNo> is given then the test is for RLOCK() otherwise FLOCK() operation. 2011-06-07 18:15 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/ideactions.prg * contrib/hbide/idemain.prg ! Reverted: latest changes affecting <Setup><CodePage> sub-menu. 2011-06-08 00:27 UTC+0200 Viktor Szakats * examples/superlib/superlib.hbp * examples/ps32/ps32.hbp * examples/gfspell/gfspell.hbp * examples/rddado/rddado.hbp * examples/hbapollo/hbapollo.hbp * examples/hbvpdf/hbvpdf.hbp * examples/hbbtree/hbbtree.hbp * examples/hbbtree/hbbtree.hbc * examples/gtwvw/gtwvw.hbp * examples/gtwvw/gtwvw.hbc ! synced libpaths in .hbp and .hbc files. it also means multitarget support * contrib/hbmxml/3rd/minixml/config.h ! fixed redefinition of strdup() macro (upstream bug) [Tamas Tevesz] 2011-06-07 15:04 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/ideactions.prg * contrib/hbide/idemain.prg + Implemented: full list of codepages Harbour supports. Earlier the list included only unique CPs at the back. * contrib/hbide/idesaveload.prg * contrib/hbide/idechangelog.prg + Fixed: "Changelog User" was sharing a similar looking instance variable name. 2011-06-07 11:45 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/changelog.ui * contrib/hbide/idechangelog.prg * contrib/hbide/idesaveload.prg + Added: retaining the user name updating the changelogs. First time it is asked as before, later it can be modified in User: edit control at top-right of the dialog. 2011-06-06 21:31 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/idechangelog.prg ! Fixed: initializing a new ChangeLog was generating error, stupid typo. 2011-06-06 18:13 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/idechangelog.prg * Changed: behavior of "Current Log Entry" to scroll to last after an element is added. * contrib/hbide/ideactions.prg * contrib/hbide/idemain.prg * Changed: "Setup/CodePage" menu to display Harbour recognized codepage name alsong its unique id. Let me know if that makes the whole list of Harbour's code pages. 2011-06-06 15:37 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/idechangelog.prg * contrib/hbide/idesaveload.prg + Implemented: to remember the position and size of ChangeLog(s) dialog. 2011-06-06 14:47 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/changelog.ui * contrib/hbide/idechangelog.prg * Changed: the way "Current Log Entry" is built. Now user can edit the contents of built entry. ; NOTE: 1. Action tokens should be preserved as is when editing built log entry. 2. If a new line be inserted in "Descriptions" start it from the column 1, hbIDE will auto format when saving. 3. If indentation is needed in "Descriptions" then start a new line at column 15 or higher only, just below where ": " seperates action token. 2011-06-06 21:19 UTC+0200 Viktor Szakats * contrib/hbmzip/hbmzip.hbp * contrib/hbmzip/hbmzip.hbx + contrib/hbmzip/mziperr.prg + HB_ZIPERRORSTR(), HB_UNZIPERRORSTR() 2011-06-06 07:16 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/idechangelog.prg * Fixed: a stupid typo. 2011-06-06 02:26 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/ideactions.prg ! Fixed: "CodePage" submenu in "Setup" went hidden for some time. 2011-06-05 20:10 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/hbqt_hbqsyntaxhighlighter.cpp * contrib/hbide/idechangelog.prg * Changed: token to represent "Changed" from "&" to "*" confirming to universal standard for ChangeLogs. 2011-06-06 01:33 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg - disabled -c=/-cpp= feature. options are accepted, but ignored. 2011-06-06 00:59 UTC+0200 Viktor Szakats - contrib/hbcurl/core_t1.c - contrib/hbcurl/hbcurlt1.ch - deleted half-done implementation of HB_CURLOPT_HTTPPOST. I hope someone can finish it, it was a good initiative. * ChangeLog ! remove changelog format examples from recent changelog entry. they belong to some local standard, not Harbour's, or general open source software. 2011-06-05 07:59 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/hbqt_hbqsyntaxhighlighter.cpp * contrib/hbqt/qtgui/hbqt_hbqsyntaxhighlighter.h * contrib/hbqt/qtgui/qth/HBQSyntaxHighlighter.qth + Implemented: new syntax highlighter for ChangeLog(s)( hbIDE defined ). * contrib/hbide/changelog.ui * contrib/hbide/idechangelog.prg + Implemented: managing interface to ChangeLog(s) with color highlightings. Entry number is auto incremented in entry header. Entry header is followed by "Title" ( optional ). Then the "Source(s)" followed by "Action(s)" accompanied by "Description(s)". Every part is color highlighted. Invoke with <Setup><Manage Changelog(s)> main menu option, create an empty Changelog from <New> button at the top-right of presented dialog and play a little. Waiting for your input as to what can be improved. 2011-06-03 18:45 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/idemisc.prg ! Minor. * contrib/hbide/changelog.ui + One more button. * contrib/hbide/idechangelog.prg + Advanced: now you can build a log in real-time. It is scheduled to be polished a bit more. 2011-06-04 01:33 UTC+0200 Viktor Szakats * examples/superlib/superlib.hbc ! adjusted libname 2011-06-04 00:11 UTC+0200 Viktor Szakats * contrib/hbplist + contrib/hboslib + contrib/hboslib/core.prg + contrib/hboslib/hboslib.hbx + contrib/hboslib/hboslib.hbp + contrib/hboslib/hboslib.hbc + added OSLib emulation lib for Harbour see docs here: http://www.davep.org/clipper/OSLib/ 2011-06-03 13:15 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/idebrowse.prg % Set vertical scrollbars of XbpBrowse() class to honor thumb positioning per open index. Pointed out by Franček. 2011-06-03 13:11 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/hbqtgui.hbx * contrib/hbqt/qtgui/qth/filelist.hbm * contrib/hbqt/qtgui/qth/QDialogButtonBox.qth + Added: QDialogButtonBox() class. 2011-06-03 17:19 UTC+0200 Viktor Szakats * contrib/rddads/tests/datad.prg ! fixed 'field -> id' index expr which wasn't recognized by ADS * contrib/rddads/tests/datad.prg * contrib/rddads/tests/testmg.prg ! use hb_libpostfix() * contrib/hbide/idemain.prg ! use hb_libpostfix() which fixes loading rddads on non-win systems (untested, I can't wait for HBQT build to finish) 2011-06-03 14:09 UTC+0200 Viktor Szakats * INSTALL + added TROUBLESHOOTING/11: 'Do not alter the directory layout and files in Harbour and 3rd party packages.' 2011-06-02 19:17 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/idechangelog.prg ! Advanced: more refinements. * contrib/hbxbp/xbpfiledialog.prg ! Fixed: XbpFileFialog() is made to open fast, was responding extremely slow. 2011-06-03 02:16 UTC+0200 Viktor Szakats * src/rtl/listbox.prg ! missing parenthesis, causing miscalculation in :changeItem() with dropdown listboxes. pls test. 2011-06-03 01:55 UTC+0200 Viktor Szakats * src/vm/thread.c * upped sleep timeout in *nix version of hb_threadReleaseCPU() to 20 ms it halves CPU consumption. pls revert/comment if you notice causing this any harm. 2011-06-02 15:32 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/changelog.ui ! Changed: QDialog() => QWidget(). * contrib/hbide/setup.ui + Added: more constants to control docking widgets appearance. * contrib/hbide/idechangelog.prg + Advanced: few more additions. Last worked ChangeLog file is saved for next run and is shown opened when activated. TODO: compose a new syntax-highlighter. * contrib/hbide/ideedit.prg + Added: "WITH" and "REPLACE" as Harbour keywords. * contrib/hbide/ideplugins.prg ! Fixed: Possible return value bug. * contrib/hbide/idesaveload.prg + Added: "REPLACE" as Harbour keyword. * contrib/hbide/idemain.prg * contrib/hbide/idedocks.prg * contrib/hbide/idethemes.prg + Implemented: user-controlled dock-widgets tab-position and shape. ! Activated: last state of dock-widgets if visible or not for next run. This facilitates that now user can arrange dock widgets once-for-all and bring all in focus or push back if not required. 2011-06-02 21:05 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/vm/thread.c * set sleep timeout in *nix version of hb_threadReleaseCPU() to 10 ms * harbour/src/compiler/hbpcode.c ! fixed typo which could cause compile time crash when debugger code is generated (-b) and file name with extenssion has only one or two characters * harbour/include/hbcompdf.h * harbour/src/compiler/hbmain.c * harbour/src/compiler/hbstripl.c * harbour/src/compiler/harbour.y * harbour/src/compiler/harbour.yyc ! removed old code designed to optimize line numbers generated in PCODE. It cannot work correctly and in some cases it was generating HB_P_LINE pcodes in wrong places. % enabled new code for HB_P_LINE PCODEs optimization also in debugger (-b) compilation so it can be used to replaced the old one. 2011-06-02 14:51 UTC+0200 Viktor Szakats * contrib/hbwin/wapi_winbase.c ! fixed to pull proper default getlasterror value 2011-06-02 11:01 UTC+0200 Viktor Szakats * contrib/hbwin/mapi.c ! fixed UNICODE conflict after recent LoadLibrary patch. this file has forced UNICODE off due to MS idiocy so I had to add more idiocy to interface with properly UNICODE setting compliant local API Note, I didn't test non-UNICODE build, if you're interested in it, pls do it * contrib/hbwin/tests/testmapi.prg + simpleio 2011-05-31 15:12 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/hbide.qrc * contrib/hbide/resources/hideshow.png + Added: image for top-toolbar to activate show/hide of dock widgets. * contrib/hbide/ideactions.prg * contrib/hbide/idedocks.prg * contrib/hbide/idemain.prg * contrib/hbide/idesaveload.prg + Implemented: a single-click mechanism to hide or show all managed dock widgets in all docking areas. This can be accomplished via "Hide Show Docks" top-toolbar icon or <View> main menu option. This implementation is extremely usable feature, requested by Massimo. Just manage docks to the desired position and areas, activate this option on/off and then see how useful it is. User gets more editing area and also has the power to do additional tasks by bringing back the last setup as and when required. The setup is remembered for the next run even if docks are hidden at the time of previous close. 2011-05-31 16:03 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/gttrm/gttrm.c * enable resizing if PuTTY is autodetected regardles of [HB_]TERM setting 2011-05-31 15:33 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/gttrm/gttrm.c * gives higher priority for PuTTY terminal autodetection then for envvar [HB_]TERM=linux 2011-05-31 00:02 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/setup.ui + Started: few more user-definable elements to manage docking widgets to suit one's preferences. * contrib/hbide/mainwindow.ui * contrib/hbide/idedocks.prg + Enabled: more options for docking widgets. Now docks can be placed tabifyied, horizonal to each other, vertical to each other and/or tabified within its group. Now user can arrange docks in any area with any combination. TODO: control this behavior via <setup>, slots are already added. 2011-05-30 21:05 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/docviewgenerator.ui ! Changed: behavior of <Index> tab, now width is never more than required. 2011-05-30 20:36 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/hbqt_hbqplaintextedit.cpp * contrib/hbqt/qtgui/hbqt_hbqsyntaxhighlighter.cpp ! Optimizations. * contrib/hbide/findinfilesex.ui * contrib/hbide/themesex.ui ! Changed: user interface. Now it is more appealing and slim. * contrib/hbide/ideedit.prg * contrib/hbide/idefindreplace.prg * contrib/hbide/idethemes.prg ! Changed: to adopt above changes in user-interfaces. 2011-05-28 15:18 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/hbqt_hbqsyntaxhighlighter.cpp ! Fixed: wrong multi-line syntax highlighting in case multi-line comment indicator "/*" is embedded in a string, like __run("mdel a:/*.*"). Was a long standing bug in hbIDE. 2011-05-28 20:09 UTC+0200 Viktor Szakats * contrib/hbodbc/hbodbc.hbc * contrib/sddodbc/sddodbc.hbc ! added 3rd party libs for non-darwin unix 2011-05-27 18:22 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/gtwvg/tests/wvgtbrowser.prg + Implemented: highlighting the cell where mouse click occurs. 2011-05-27 17:32 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/gtwvg/tests/wvgtbrowser.prg ! Reworked: scrollbars of TBrowse. Now these are WvgScrollbar()s instead of WvtScrollbar()s. WvtScrollbar() are best suited for WvtCrt() protocol not for WvgCrt() protocol. Now these are smooth. This concept is pulled from my applications and slightly adjusted for demowvg. 2011-05-27 23:42 UTC+0200 Viktor Szakats * examples/hbdoc2/gentxt.prg * examples/hbdoc2/genxml.prg * examples/hbdoc2/genhtml.prg ! removed extra dot before extension in filename references. it also caused bad links in .html output. Reported by Claudia. 2011-05-27 19:04 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapicdp.h * harbour/src/codepage/Makefile + harbour/src/codepage/uc858.c + added CP858 - basically it's CP850 but contains EURO SIGN (U+20AC) at position 0xD5 instead of Turkish dotless-i (U+0131) 2011-05-27 08:14 UTC+0200 Viktor Szakats * contrib/3rd/sqlite3/sqlite3.c * contrib/3rd/sqlite3/sqlite3.dif * contrib/3rd/sqlite3/sqlite3.h * contrib/3rd/sqlite3/sqlite3.hbp * update sqlite to 3.7.6.3 [Tamas Tevesz] 2011-05-26 14:25 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/gtwvg/tests/wvgtbrowser.prg * contrib/gtwvg/tests/wvgutilities.prg * contrib/gtwvg/wvgclass.prg + Implemented: scrollbars used along TbrowseWVG() in demowvg as requested by Zoran. 2011-05-25 21:13 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/idechangelog.prg % Advanced: more complete. You can play building the current entry. 2011-05-25 21:00 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) + contrib/hbide/changelog.ui + Added: miss from prev commit. 2011-05-25 17:11 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/hbide.hbp * contrib/hbide/hbide.qrc * contrib/hbide/ideactions.prg + contrib/hbide/idechangelog.prg * contrib/hbide/idemain.prg * contrib/hbide/idemisc.prg * contrib/hbide/ideobject.prg + contrib/hbide/resources/memo.png + Added: <Setup><Manage ChangeLog(s)> option. This is announced ChangeLog Manager which simply constructs the changelog entry and inserts at the top of specified ChangeLog file. It is a work-in-progress and this is a just initial commit, but can faily understand what I mean. 2011-05-25 12:48 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/gtwvg/wvgpaint.prg ! Fixed: focus was not set to the window from where a modal dialog was being initiated. Thanks Zoran Sibinovic for code example. 2011-05-25 12:25 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/ideedit.prg ! Fixed: CTRL+Insert was not copying text to the clipboard. Reported on SourceForge bug tracker. 2011-05-25 19:43 UTC+0200 Viktor Szakats * contrib/xhb/xhbtedit.prg ! fixed formatting (using hbformat + manual corrections) 2011-05-25 19:35 UTC+0200 Viktor Szakats + contrib/xhb/xhbtedit.prg * contrib/xhb/xhb.hbp * contrib/xhb/xhb.hbx + borrowed complete extended TEDITOR() class from xhb. The code looks very unclean and not Clipper compatible, so it will be part of xhb. Contains fixes to make it compile under vanilla Harbour with (default) high warning level. Plus some more basic code cleanups. Class was renamed to XHBEDITOR. 2011-05-25 15:18 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/ChangeLog ! removed repeated entry 2011-05-25 15:14 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbwin/win_prn2.c ! fixed typo in variable name in my previous modification 2011-05-24 14:13 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/gtwvg/wvgcore.c ! Fixed: wrongly handelled WM_CLOSE message in modal/modeless dialogs. The fact is reported by Zoran Sibinovic. 2011-05-24 11:59 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/arc4.c ! changed size parameter passed by reference to sysctl() to size_t ! fixed WINCE builds % enable pid checking only in *nix systems. If system does not support fork() or compatible operation (i.e. vfork(), clone()) then PID checking is completely useless. * harbour/src/rtl/gtwvt/gtwvt.c * pacified WINCE warnings * harbour/contrib/rddads/adsx.c ! fixed potentially uninitialized pTag variable 2011-05-23 11:27 UTC+0200 Viktor Szakats * src/rtl/arc4.c ! build error on osx 2011-05-22 13:56 UTC+0200 Viktor Szakats * src/vm/vmmt/Makefile ! added pbyref.c 2011-05-21 14:53 UTC+0200 Viktor Szakats * src/rtl/teditor.prg ! fixed regression occurred in commit: 2007-01-10 17:50 UTC+0800 Pritpal Bedi reproducible using: 'memoedit(chr(13)+chr(10)+"abcdef"+space(50),1,1,2,20,,,90,,1,10,0,0) and in the edit window, press <down> once and <left> ten times after that. As you see, the edit windows shows incorrect data on the screen now.' Thanks to vbdasc for the report and fix. 2011-05-21 13:13 UTC+0200 Viktor Szakats * include/harbour.hbx + src/vm/pbyref.c * src/vm/Makefile + added HB_PISBYREF() (renamed because HB_PARAM* prefix would be new, whereas HB_P*() is already utilized) [Przemek] * contrib/xhb/xhb.hbx * contrib/xhb/xhbfunc.c - commented HB_ISBYREF(). it's broken. 2011-05-21 12:41 UTC+0200 Viktor Szakats * include/harbour.hbx * src/rtl/hbrandom.c * HB_RANDOMMAX() -> HB_RANDOMINTMAX() ; FIXME: now broken under mingw in all places where HB_RANDOMINT() is potentially called with larger than HB_RANDOMINTMAX() value. This will be impossible e.g. in RANDOM() CT function. [NOT A BUG] * src/rtl/hbrandom.c * src/rtl/hbrand.c + hb_random_block() changed to use ARC4 backend. * examples/httpsrv/modules/showcounter.prg % hb_ntos() 2011-05-21 12:02 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/valtoexp.prg ! fixed typo in recent modifications causing RTE in HB_VALTOEXP() * harbour/contrib/hbwin/win_prn2.c ! allocate dynamic memory for print buffer in WIN_PRINTFILERAW() 32 KiB variable on process execution stack is potential source of random GPFs in programs using deeper recursive calls and killer for MT mode when smaller thread stack is allocated. ! fixed potential data lost in WIN_PRINTFILERAW() when not all data is transfered in single WritePrinter() call ! interrupt printing in WIN_PRINTFILERAW() if WritePrinter() returns error * harbour/include/harbour.hbx * harbour/src/rtl/hbrandom.c ! restored my old fix - it was correct and the results over RAND_MAX range expected + added new PRG function: HB_RANDOMMAX() -> <nRAND_MAX> 2011-05-20 17:27 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/idethemes.prg + Added: "NOT" as Harbour keyword. * contrib/hbide/ideactions.prg + Added: Toggle actions for MDI editing area's top and left toolbars. ; TODO: to retain these settings for next run. * contrib/hbide/idedocks.prg * contrib/hbide/ideedit.prg * contrib/hbide/idemain.prg ! Fixed: many artifacts when MDI editing is switched off. ! Started: to provide "Stats -> Welcome" a different home. A difficult job but seems it has to be done anyway. ! Changed: default mimimize to system tray => minimize to task bar. ; TODO: should be user definable. 2011-05-20 17:26 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/gtwvg/gtwvg.c ! Applied: GTWVT fix by Przemek regarding HB_GTI_FONTSIZE. 2011-05-20 17:11 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/gtwvt/gtwvt.c ! update font metrics after HB_GTI_FONTSIZE also when window is not active yet - without it all other calculations are broken * harbour/src/codepage/uc1250.c * harbour/src/codepage/uc1251.c * add some missing codes which are not officially defined but MS-Windows uses them - I've just check it reading unicode values from some fonts. It also look that some fonts have VGA glyphs attached only to control values at range 0-31 without their real Unicode representation. It's the reason why they are not shown in GTWVT UNICODE builds. Pritpal reported such problem recently. This can be quite easy resolved by replacing hb_cdpGetU16Disp() with hb_cdpGetU16() in gtwvt.c but it may cause that we lost control characters in some other fonts. I would like to ask MS-Windows users to makes some tests with such modified GTWVT and check if control code are well shown with different fonts. If not then we can add HB_GTI_* switch to enable/disable control codes to unicode values translation. 2011-05-20 15:51 UTC+0200 Viktor Szakats * contrib/hbexpat/hbexpat.ch + added constants for attr array element positions * contrib/hbexpat/tests/test.prg * contrib/hbexpat/tests/tohash.prg + using them * contrib/hbmxml/3rd/minixml/mxml.hbp * contrib/hbmzip/hbmzip.hbp * C std-level related tweaks [Tamas Tevesz] 2011-05-19 16:55 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/idedocks.prg ! Fixed: regression where RTE was generated while closing hbIDE after MDI default has been changed to FALSE. 2011-05-19 16:40 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/ideedit.prg * contrib/hbide/ideeditor.prg ! Fixed: syntax highlighting on split window. This is activated when used clicks in the window. ! Fixed: <Next><Previous> icons on the editing area left-toolbar were rendered hidden once a split window was closed. * contrib/hbide/idethemes.prg ! Changed: .AND. .OR. IN as keywords only instead of operators. This facilitates better visual experience in the editor. * contrib/hbqt/qtgui/hbqt_hbqsyntaxhighlighter.cpp + Added: consider a source line as a comment if starts with "*". 2011-05-20 00:29 UTC+0200 Viktor Szakats * contrib/hbide/idesaveload.prg * turned off MDI mode by default reasons: - MDI as a concept is off the map these days - in MDI mode it's not possible (at least I could not find a way) or not easily to disable the "stats" window - in MDI mode it's not possible to disable the editor related toolbars - in MDI mode the window positions are not kept - it's very confusing as default state even if above are fixed if group thinks that MDI is the future and it makes HBIDE a much better tool, pls shout. 2011-05-20 00:17 UTC+0200 Viktor Szakats * contrib/hbide/idemain.prg % do not force-link _all_ hbqt symbols/components to HBIDE. most useful components are already linked because they are used by HBIDE, so it should be possible to create rich plugins already. pls only add extra components which are specifically requested by plugin developers, like e.g. I did with hbmk2 plugin/runner support. This will keep HBIDE size down and help on startup speed. (on win the exe size went down from 5 MB to 4.4 MB) 2011-05-19 20:28 UTC+0200 Viktor Szakats * src/rtl/arc4.c ! silence warning on bsd [Tamas Tevesz] 2011-05-19 11:24 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/hbqt_hbqplaintextedit.cpp ! Fixed: regression on optimization on syantax highlighting. Split windows now behave properly. ; FIXED: syntax highlighting in split windows. 2011-05-19 19:31 UTC+0200 Viktor Szakats * src/rtl/arc4.c ! fixed for watcom/linux and watcom/dos and more [Tamas Tevesz] 2011-05-19 18:59 UTC+0200 Viktor Szakats * src/rtl/valtype.c * contrib/xhb/xhb.hbx * contrib/xhb/xhbfunc.c * HB_ISBYREF() function uncommented and moved from core to xhb lib * contrib/xhb/xhb.hbc + linking hbfship to better emulate xhb environment * contrib/hbfoxpro/misc.prg * formatting 2011-05-19 17:49 UTC+0200 Viktor Szakats * src/debug/debugger.prg * src/rtl/valtoexp.prg + __dbgValToStr() support for type "T" % RTrim( Str() ) -> Str() and hb_ntos() % hb_VALTOEXP() minor optimization ! synced string representation of codeblocks and arrays * formatting ; TODO: to show the address instead of "pointer"? 2011-05-19 08:31 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/ideedit.prg * contrib/hbide/ideeditor.prg ! Fixed: regression in last commit. Now hbIDE opens ok. ; FIXED: split window is broken. 2011-05-19 17:32 UTC+0200 Viktor Szakats * src/rtl/valtoexp.prg * formatted HB_CSTR() * src/debug/debugger.prg ! __dbgCStr() synced with HB_CSTR() 2011-05-19 17:15 UTC+0200 Viktor Szakats * src/rtl/arc4.c ! fixed for watcom (getpid) ! cast for msvc ! fixed for dmc (ms struct missing for win seed) ! fixed for bcc (inline disabled for this dead compiler, getpid) ! fixed warning for all non-unix, non-win targets ; FIXME: it's also broken for watcom/dos and watcom/linux Tamas, can you take a look at it? [DONE] * utils/hbmk2/hbmk2.prg + use HB_RAND32() 2011-05-19 16:31 UTC+0200 Viktor Szakats * src/rtl/Makefile * src/rtl/hbrandom.c + src/rtl/hbrand.c + src/rtl/arc4.c + src/rtl/arc4.h + added C level arc4 API. adapted to Harbour by Tamas Tevesz, original authors listed in sources * moved HB_RAND32() function to separate source * changed HB_RAND32() to use arc4 backend, which means it will now return properly string random numbers ; arc4 code may need tweaks on some platforms (android e.g.), pls test 2011-05-19 14:55 UTC+0200 Viktor Szakats * contrib/hbmzip/mzip.c * formatting 2011-05-19 14:48 UTC+0200 Viktor Szakats * contrib/hbmzip/mzip.c ! fixed to honor core filename settings and OS codepage ! fixed OS/2 to check for wrong filename in hb_zipStoreFile() when finding out file attributes. ; please review me and beware of regressions both build-time and runtime. 2011-05-19 04:32 UTC+0200 Viktor Szakats - contrib/hbtip/encb64c.c * contrib/hbtip/encb64.prg * contrib/hbtip/hbtip.hbx * contrib/hbtip/hbtip.hbm % elminated redundant base64 encoder implementation, now hbtip used the core one + TIP_BASE64ENCODE( <cData>, [<nLineLength>], [<cCRLF>] ) -> <nBase64Encoded> function added to create base64 encoded data split into lines, separated by passed EOL. default EOL is hb_eol(), if <nLineLength> is not specced, there will be no long splitting 2011-05-18 18:31 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/ideeditor.prg * contrib/hbqt/qtgui/hbqt_hbqsyntaxhighlighter.cpp * contrib/hbqt/qtgui/hbqt_hbqsyntaxhighlighter.h * contrib/hbqt/qtgui/qth/HBQSyntaxHighlighter.qth + Optimized: further the loading time of a source. It should be much fatser than before. 2011-05-18 12:51 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/idedocks.prg * contrib/hbxbp/xbpdialog.prg * contrib/hbxbp/xbpwindow.prg ! Fixed: a logical glitch causing X button on hbIDE behaving not as intended. 2011-05-18 20:45 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbwin/axcore.c ! added missing AddRef() for OLE object returbed by __AXREGISTERHANDLER() 2011-05-18 16:17 UTC+0200 Viktor Szakats * contrib/hbrun/hbrun.hbp * contrib/hbrun/pullext.prg + include hbxpp * src/rdd/dbcmd53.c * formatting 2011-05-18 16:57 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/contrib/rddads/adsx.c ! fixed DBORDERINFO() and ORDNUMBER(), etc. behaviour, for order specified using tag parameter 2011-05-18 09:49 UTC+0200 Viktor Szakats + contrib/xhb/tests/dll.prg + dll call sample * contrib/xhb/hbdll.ch ! several fixes to make it work in Harbour and MT apps 2011-05-17 17:53 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/idedocks.prg * contrib/hbide/ideedit.prg * contrib/hbide/ideeditor.prg + Added: some methods used internally to provide hbIDE speed advantage. * contrib/hbide/idesaveload.prg ! Changed: the default behavior of :lTrimTrailingBlanks to FALSE responsible to strip trailing blanks from saved sources. Now if this behavior is desired, change the settings from <Setup><hbIDE Setup><General>. * contrib/hbide/idethemes.prg * contrib/hbqt/qtgui/hbqt_init.cpp + Added: Slot "QRect$int" for updateRequest(QRect,int) for QPlainTextEdit. * contrib/hbqt/qtgui/qth/HBQPlainTextEdit.qth * contrib/hbqt/qtgui/qth/HBQSyntaxHighlighter.qth + Added: more methods. * contrib/hbqt/qtgui/hbqt_hbqplaintextedit.cpp ! Fixed: 2 pixel margin around a document text which was causing a major visual glich which selecting text in an editing instance. Now it is 0,0 no matter which font and size is used. * contrib/hbqt/qtgui/hbqt_hbqplaintextedit.h * contrib/hbqt/qtgui/hbqt_hbqsyntaxhighlighter.cpp * contrib/hbqt/qtgui/hbqt_hbqsyntaxhighlighter.h + Synchronized: to apply syntax highlighting per page basis. Qt applies highlighting to the entire document when supplied which, conceptually, should be onto the page brought forward. This has rendered hbIDE extremely fast at startup no matter how many sources are loaded probably making hbIDE the fastest IDE at startup. 2011-05-18 01:46 UTC+0200 Viktor Szakats * src/rtl/gtwvt/gtwvt.c ! fixed regression referred to in 2011-05-18 01:06 UTC+0200 Viktor Szakats I'm still not exactly sure what's happening (besides I'm tired as hell), but now it seems that it's not VK_RETURN override at fault, but composited mode on Vista/7 which I enabled recently. Actually copy worked only the selection was not visible. Now I turn off composited on mark and select and renable when finished. I imagine this is not proper solution though I don't have Bill Gates's number to make a support call ATM. + reenabled VK_RETURN * ChangeLog * edited prev entry 2011-05-18 01:06 UTC+0200 Viktor Szakats * src/rtl/gtwvt/gtwvt.c ! fixed regression in: 2011-02-26 20:07 UTC+0100 Viktor Szakats VK_RETURN event override caused 'Mark and Copy' menu functionality to break, it's no longer possible to select an area. 2011-05-17 22:27 UTC+0200 Viktor Szakats * contrib/xhb/xhb.hbc * contrib/xhb/xhb.hbp ! typos 2011-05-17 22:26 UTC+0200 Viktor Szakats * contrib/xhb/xhb.hbc * contrib/xhb/xhb.hbp + added hbxpp as a dependency for xhb. for dll handling. + contrib/xhb/hbdll.ch + added header from xhb project, with some basic adaptation. fully untested. 2011-05-17 21:57 UTC+0200 Viktor Szakats * config/global.mk ! fixed mingw64 detection regression breaking official mingw64 build on win 2011-05-17 19:21 UTC+0200 Viktor Szakats * src/rtl/hbrandom.c ! fixed wrong random numbers being generated after: 2011-03-11 09:42 UTC+0100 Przemyslaw Czerpak this is simple revert, Przemek pls recheck/refix original issue. Values 0x????FFFF and 0x????0000 were returned from these calls: hb_randomInt( 0xFFFFFFFF ) hb_randomInt( 0xFFFFFFFE ) hb_randomInt( 0x7FFFFFFF ) under mingw32 and mingw64 (both win and linux builds) 2011-05-17 19:02 UTC+0200 Viktor Szakats * include/harbour.hbx * src/rtl/hbrandom.c + HB_RAND32() -> <32-bit random number> ; FIXME: random numbers are broken under mingw 4.5.2, only high 16 bits are random. in all HB_RAND*() functions [DONE] 2011-05-17 17:48 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! escape fn passed to upx 2011-05-17 17:33 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/pp/ppcore.c ! do not strip spaces from serialized codeblocks with late macro evaluation 2011-05-17 16:51 UTC+0200 Viktor Szakats * src/compiler/gencc.c ! hb_p_pushlong: conditional -gc3 generated code modified to evaluate the condition at C compile time rather than .c code generation time. This particular fix would pbly only affect 16-bit cross builds, which we don't have any ATM. ; FIXME: same in hb_p_pushlonglong 2011-05-17 15:40 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/gtxwc/gtxwc.c * harbour/src/rtl/gtwvt/gtwvt.c * harbour/contrib/xhb/hboutdbg.c * harbour/contrib/xhb/xhbfunc.c ! use 'hb_cmdargARGVN( 0 )' instead of 'hb_cmdargARGV()[ 0 ]' to avoid GPF when no arguments are initialized * harbour/contrib/hbwin/hbolesrv.hbc * use {allmingw} instead of {mingw} macro for MinGW64 builds * harbour/src/codepage/Makefile * harbour/src/codepage/uc646_yu.c + harbour/src/codepage/uc646yuc.c * harbour/include/hbapicdp.h + added JUS I.B1.003 - Cyrillic script variant of ISO-646-YU for Serbian and Macedonian language * harbour/src/codepage/Makefile + harbour/src/codepage/cpsr646.c + harbour/src/codepage/cpsr646c.c * harbour/include/hbcpage.hbx + added SR646 and SR646C Harbour codeapges. Both code pages uses the same 8-bit representation but different unicode values - SR646 uses Latin script and SR646C Cyrillic script. It means that it's useless to make any translations between SR646 and SR646C because both versions uses the same ASCII values but they can help in translation to other encodings or CPs, i.e. to convert some Serbian text in one of the above CPs to Latin letters in UTF8 encoding then it's enough to make: hb_strToUTF8( <cText>, "SR646" ) -> <cUtf8LatinText> and for conversion to UTF8+Cyrillic: hb_strToUTF8( <cText>, "SR646C" ) -> <cUtf8CyrillicText> 2011-05-16 17:38 UTC+0200 Viktor Szakats * contrib/hbmisc/udpds.prg ! replaced previous workaround with one that doesn't need any delay in hb_UDPDS_Stop() 2011-05-16 09:33 UTC+0200 Viktor Szakats * include/harbour.hbx * src/vm/runner.c + HB_HRBGETFUNLIST() -> <aArray>: New function posted to the list by Francesco Saverio Giudice (NOTE: I changed the name a little bit) * tests/gfx.prg ! fixed console output. Patch by Tamas Tevesz * changed rest of ? commands to outstd() 2011-05-15 17:19 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/config/global.mk * harbour/utils/hbmk2/hbmk2.prg ! fixed autodetection of mingw-gcc-tdm64 2011-05-15 12:14 UTC+0200 Viktor Szakats + contrib/hbunix/sleep.c + missed file 2011-05-15 12:12 UTC+0200 Viktor Szakats * src/vm/set.c * _SET_EOF default set to .T. on *nix to match other plaforms (and Clipper I might guess) CHECKME! * formatting ! missing 'break;'. it didn't cause error, anyhow pls check me maybe it was intentional (in 'case HB_SET_PRN_CON:' branch) CHECKME! * contrib/hbunix/hbunix.hbp * contrib/hbunix/hbunix.hbx + POSIX_SLEEP( <n> ) -> <n> * contrib/hbcurl/hbcurl.ch * contrib/hbcurl/core.c + added changes from latest libcurl version (untested with latest version) * utils/hbmk2/hbmk2.prg ! fixed symbol names in hbx generation for watcom/{linux|dos|os2} 2011-05-13 21:20 UTC+0200 Viktor Szakats * contrib/hbmisc/udpds.prg ! added not very beautiful workaround (how to kill a thread from caller proc?) to RTE in worker thread loop because of closed socket after calling hb_UDPDS_Stop() 2011-05-13 17:41 UTC+0200 Viktor Szakats * contrib/hbwin/win_svc.c ! typo in prev 2011-05-13 17:32 UTC+0200 Viktor Szakats * contrib/hbwin/hbwin.ch * contrib/hbwin/win_svc.c + added 4th param to WIN_SERVICEINSTALL() to spec start type + added related constants * contrib/hbwin/wapi_misc.c ! cast for win64 2011-05-13 04:05 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbstack.h * harbour/src/vm/hvm.c ! fixed stack preloading in hb_vmRequestReenterExt() when new stack has to be allocated 2011-05-12 18:45 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg % avoid duplicate requests for GT in .c stub 2011-05-12 10:03 UTC+0200 Viktor Szakats * contrib/xhb/tcgi.prg ! = -> == (it changes behavior, though I consider previous one as buggy) 2011-05-12 09:34 UTC+0200 Viktor Szakats * src/pp/ppcore.c * hb_xgrab( nSize ) -> hb_xgrab( nSize * sizeof( char ) ) trying to make flto warning disappear to no avail * contrib/hbexpat/unitable.prg ! static -> thread static 2011-05-11 22:31 UTC+0200 Viktor Szakats * contrib/hbwin/wapi_winuser.c * contrib/hbwin/hbwin.hbx + WAPI_FINDWINDOW( [<cClassName>], [<cWindowName>] ) -> <hHwnd> * contrib/hbide/idetags.prg * contrib/hbide/idebrowse.prg ! fixed code to be _SET_EXACT agnostic 2011-05-11 19:06 UTC+0200 Viktor Szakats * contrib/hbnf/nwsem.prg * contrib/hbnf/mouse2.prg * contrib/hbnf/tests/nftest.prg * examples/gfspell/spell.prg ! fixed = operator to :=/== ; now Harbour SVN is clean. Except quite a few problems in HBIDE and two more known code lines. Pritpal can you fix HBIDE to not use ambiguous '=' operator? * src/rdd/usrrdd/rdds/logrdd.prg * ltrim(str()) -> ntos() 2011-05-11 18:16 UTC+0200 Viktor Szakats * contrib/hbnf/rand1.prg * contrib/hbnf/mouse1.prg * contrib/hbnf/pegs.prg * contrib/hbnf/menu1.prg * contrib/hbnf/popadder.prg * contrib/hbnf/scregion.prg * contrib/hbnf/mouse2.prg * contrib/hbnf/menutonf.prg * contrib/hbnf/pvid.prg * contrib/hbnf/datecnfg.prg * contrib/hbnf/ntow.prg * contrib/hbnf/pending.prg ! fixed STATICs for MT * marked const STATICs as such 2011-05-11 18:04 UTC+0200 Viktor Szakats * contrib/hbnf/scancode.prg * contrib/hbnf/vidmode.prg * contrib/hbnf/miltime.prg * contrib/hbnf/savearr.prg * contrib/hbnf/dispmsg.prg * contrib/hbnf/mouse1.prg * contrib/hbnf/settime.prg * contrib/hbnf/page.prg * contrib/hbnf/pegs.prg * contrib/hbnf/min2dhm.prg * contrib/hbnf/dosver.prg * contrib/hbnf/metaph.prg * contrib/hbnf/woy.prg * contrib/hbnf/setdate.prg * contrib/hbnf/linked.prg * contrib/hbnf/aredit.prg * contrib/hbnf/xbox.prg * contrib/hbnf/ftround.prg * contrib/hbnf/dectobin.prg * contrib/hbnf/aemaxlen.prg * contrib/hbnf/nwlstat.prg * contrib/hbnf/tempfile.prg * contrib/hbnf/scregion.prg * contrib/hbnf/mouse2.prg * contrib/hbnf/pickday.prg * contrib/hbnf/datecnfg.prg * contrib/hbnf/easter.prg * contrib/hbnf/aeminlen.prg * contrib/hbnf/pchr.prg * contrib/hbnf/tbwhile.prg * contrib/hbnf/calendar.prg * contrib/hbnf/elapsed.prg * contrib/hbnf/aading.prg * examples/hbvpdf/hbvpdf.prg * examples/hbvpdf/hbvpdft.prg * examples/gtwvw/tests/prog1.prg * examples/gtwvw/tests/prog2.prg * examples/gtwvw/tests/wvwtest9.prg * examples/gtwvw/tests/ebtest7.prg * examples/gtwvw/tests/prog0.prg ! eliminated most (if not all) ' = ' operators some minor compatibility notes added to NF (NF being buggy by behaving inconsistently due to _SET_EXACT setting) 2011-05-11 16:24 UTC+0200 Viktor Szakats * include/harbour.hbx + HB_HCLEAR * contrib/hbide/hbide.hbp * deactivating HB_TR_ALWAYS 2011-05-11 16:01 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapi.h * harbour/src/vm/hashes.c + add new public C function: HB_BOOL hb_hashClear( PHB_ITEM pHash ) * do not generate RTE when unexisting key is passed to HB_HDEL() now code which makes something like: if xKey $ hValue hb_hDel( hValue, xKey ) endif can be reduced to: hb_hDel( hValue, xKey ) * harbour/src/vm/hashfunc.c + added new PRG function: HB_HCLEAR( <hValue> ) -> <hValue> 2011-05-11 06:55 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbxbp/xbpmenubar.prg ! Changed: XbpMenubar():visible := FALSE to TRUE. Only XbpMenu() is documented to have this behavior. 2011-05-11 12:50 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + added experimental -ldflag+=, -dflag+= command-line options and ldflags+= .hbc option. Such flags will be added after libs, which may be useful in some situations, e.g. pkg-config % only enclose libnames and paths inside single-quotes if they contain any non-ASCII, non-digit, non-., non-/ chars ! fixed .hbx generation on darwin 2011-05-11 02:52 UTC+0200 Viktor Szakats * include/hbtrace.ch * added way to disable HB_TR_ALWAYS for more: 2011-04-16 23:04 UTC+0200 Viktor Szakats * contrib/hbxbp/hbxbp.hbp * contrib/hbqt/hbqt_common.hbm + disabled HB_TR_ALWAYS permanent messages from SVN builds ; TODO: move this logic to hbpre.hbm 2011-05-10 17:02 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/hbqreportsmanager.prg * contrib/hbide/ideactions.prg * contrib/hbxbp/xbpdialog.prg * contrib/hbxbp/xbpmenubar.prg ! Fixed: many artifacts related with XbpMenu() and MDI handelling. I did not know Xbase++ diverted from uniform arguments behavior for every object for XbpMenu() where :visible instance variable is FALSE by default. Thanks Shum for code and looking inside the docs. 2011-05-10 21:43 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/vm/hashes.c ! fixed HB_HMERGE() to work correctly when destination and source hash arrays are the same ! fixed HB_HASH_INTERSECT in HB_HMERGE() % two minor optimizations 2011-05-09 22:24 UTC+0200 Viktor Szakats * contrib/gtwvg/gtwvg.hbp * sorted * contrib/gtwvg/wvgmle.prg * contrib/gtwvg/wvgtreev.prg * contrib/gtwvg/wvgcrt.prg * contrib/gtwvg/wvgdatar.prg * contrib/gtwvg/wvgsysw.prg * contrib/gtwvg/wvgmenub.prg * contrib/gtwvg/wvgphdlr.prg * contrib/gtwvg/wvgstatc.prg * contrib/hbnf/acctadj.prg * contrib/hbnf/month.prg * contrib/hbnf/ftint86.ch * contrib/hbide/idethemes.prg * contrib/hbide/idetags.prg ! IF() -> IIF() 2011-05-09 21:44 UTC+0200 Viktor Szakats * include/Makefile + include/hbstrict.ch * contrib/hbpost.hbm + added experimental -u+ header to catch some common code style problems. currently IF() is caught, but it interferences with std.ch, hbsix.ch, so it's not enabled * config/global.mk * src/dynlib/2nd/Makefile * src/dynlib/Makefile * secondary harbour dynlib is now enabled by __HB_BUILD_DYN_2ND=yes * renamed secondary harbour dynlib to harbour2* + it's now possible (again) to build harbour .dll in ST mode by using __HB_BUILD_DYN_ST=yes. if used together with __HB_BUILD_DYN_2ND=yes, the secondary dynlib will be MT. (pls note the secondary dynlib is never directly used by hbmk2, so it's there for mere build convenience only) * contrib/hbxbp/xbpmenubar.prg * contrib/hbxbp/xbprtf.prg * contrib/hbxbp/xbpfiledialog.prg * contrib/hbxbp/xbpprintdialog.prg * contrib/hbxbp/xbpscrollbar.prg * contrib/hbxbp/xbpprinter.prg * contrib/hbxbp/xbpdataref.prg ! IF() -> IIF() (with the help of hbstrict.ch) * contrib/hbformat/hbfmtcls.prg ! fixed mistakenly changed '==' to LEFTEQUAL() in prev commit 2011-05-09 20:03 UTC+0200 Viktor Szakats * src/rtl/hbi18n2.prg * utils/hbi18n/hbi18n.prg * contrib/hbformat/hbfmtcls.prg * changed ' = ' to LEFTEQUAL() macro * src/rdd/hbsix/sxini.prg * contrib/hbgd/tests/gdtestcl.prg * contrib/hbide/idebrowse.prg * changed ' = ' to ' Left( ... ) == ' * contrib/hbct/tests/csetarge.prg * contrib/hbct/tests/trig.prg * contrib/gtwvg/tests/wvgactivex.prg * contrib/xhb/trpccli.prg * contrib/xhb/trpc.prg * contrib/hbcairo/tests/glyphdbg.prg * contrib/hbide/hbqreportsmanager.prg * examples/httpsrv/cgifunc.prg * examples/httpsrv/session.prg * ' = ' -> ' := ' * contrib/xhb/traceprg.prg * contrib/xhb/ttable.prg * contrib/hbfbird/tfirebrd.prg * contrib/hbtip/tests/base64.prg * contrib/hbide/idemisc.prg * contrib/hbide/idebrowse.prg * examples/terminal/trm_srv.prg * ' = ' -> ' == ' * contrib/xhb/tedit.prg * ' = ' -> ' == ' (I'm unsure about this, pls correct if you know the intent) * contrib/xhb/hbstruct.prg * ' = ' -> ' := ' * formatted * contrib/hbtip/tests/base64.prg * File() -> hb_FileExists() ; FIXME: - files with ' = ' operator: * contrib/hbide/idetags.prg [DONE] * contrib/xhb/tcgi.prg [DONE] - these also need to be fixed: * contrib/hbwin/legacy.prg:298: xRet := ( ::OleValue = xArg ) /* NOTE: Intentionally using '=' operator. */ There are a ton more in gtwvw [DONE], hbnf [DONE], other examples and tests, I left them as is 2011-05-09 19:06 UTC+0200 Viktor Szakats * src/rtl/memofile.c ! enabled EOF char on *nix platforms * src/rtl/base64d.c * uppercase hex nums to be in sync with base64c.c 2011-05-09 18:56 UTC+0200 Viktor Szakats * examples/httpsrv/uhttpd.prg * examples/httpsrv/cookie.prg * examples/httpsrv/cgifunc.prg * examples/httpsrv/session.prg * TRUE -> .T. * FALSE -> .F. * END -> ENDSWITCH 2011-05-09 18:48 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/memofile.c % eliminated two call to hb_fsSeek() and one hb_fsRead() from non *nix version of MEMOREAD() function ! do not write final EOF character if write failed in MEMOWRIT() function ; FIXME: In *nixes support for EOF character in MEMOREAD() and MEMOWRITE() is disabled by default - IMHO it's wrong because it's not possible to use these functions to exchange safely data with CA-Cl*pper applications or even DOS/Windows versions of Harbour applications. [DONE] * harbour/src/rtl/hbcom.c * replaced infinite waiting for reading/writing from/to serial port in *nix builds with loops checking periodically (once per second) for HVM events (i.e. thread interrupting). * harbour/src/codepage/uc88591b.c * converted hex digit to uppercase * harbour/contrib/hbwin/win_dlg.c + added support for setting default file name in WIN_GETOPENFILENAME() and WIN_GETSAVEFILENAME() functions: WIN_GETOPENFILENAME( [[@]<nFlags>], [<cTitle>], [<cInitDir>], [<cDefExt>], [<acFilter>], [[@]<nFilterIndex>], [<nBufferSize>], [<cDefName>] ) -> <cFilePath> | <cPath> + e"\0" + <cFile1> [ + e"\0" + <cFileN> ] | "" WIN_GETSAVEFILENAME( [[@]<nFlags>], [<cTitle>], [<cInitDir>], [<cDefExt>], [<acFilter>], [[@]<nFilterIndex>], [<nBufferSize>], [<cDefName>] ) -> <cFilePath> | <cPath> + e"\0" + <cFile1> [ + e"\0" + <cFileN> ] | "" 2011-05-09 18:30 UTC+0200 Viktor Szakats * src/rtl/listbox.prg ! corrected minor typo in change: 2009-02-18 14:18 UTC+0100 Przemyslaw Czerpak equality operator stayed '=' in one place. didn't cause any user level problem * utils/hbmk2/hbmk2.prg + avoiding '=' operator to be _SET_EXACT agnostic % deleted setting _SET_EXACT 2011-05-09 15:54 UTC+0200 Viktor Szakats * src/rtl/net.c ! NETNAME(): fixed potential GPF on linux/watcom builds ! HB_USERNAME(): fixed potential GPF on *nix and os2 builds ; Pls chk me 2011-05-09 15:25 UTC+0200 Viktor Szakats * contrib/hbwin/wapi_misc.c ! trying to make hbwapi_LoadLibrarySystem() really safe by using LoadLibraryEx() with special flag. On win7/64 tested with 32-bit or 64-bit exe, it still tries to load e.g. winspool.drv from the apps own dir, at least as per procmon. GetSystemDirectory() will return system32 as the .dll dir, though it is SysWOW64, but this seems to be fixed internally by kernel. (safety is apparently fully going against MS's will, but anyway, maybe I'm not getting it) * contrib/hbwin/wce_simc.c * contrib/hbwin/wce_smsc.c * contrib/hbwin/hbwin.hbx * contrib/hbwin/wce_sim.prg ! fixed to always define wce (and compiler) specific .prg level functions 2011-05-09 13:32 UTC+0200 Viktor Szakats * contrib/hbwin/hbwapi.h * contrib/hbwin/wapi_misc.c * hbwapi_FileNameAtSystemDir() made static + hbwapi_LoadLibrarySystem() public function added this is safe version of LoadLibrary() when loading Windows system dlls. it will avoid dll hijacking vulnerability. ! deleted HB_EXPORT from hbwapi_t*() functions, they are public to this lib due to UNICODE setting dependance ; TODO: make hbwapi_LoadLibrarySystem() effective also for WinCE, for now it will not add any system path under this platform. * contrib/hbwin/axcore.c * contrib/hbwin/mapi.c * contrib/hbwin/win_prn2.c * contrib/hbwin/win_prn3.c * contrib/hbwin/wapi_shellapi.c ! LoadLibrary() -> hbwapi_LoadLibrarySystem() thus fixing dll hijack vulnerability 2011-05-09 13:13 UTC+0200 Viktor Szakats + contrib/hbwin/wapi_misc.c * contrib/hbwin/hbwin.hbp * contrib/hbwin/hbwapi.h * contrib/hbwin/win_prn3.c * hb_tstrlen() -> hbwapi_tstrlen() and made public * hb_tstrncat() -> hbwapi_tstrncat() and made public + hbwapi_tstrdup() + hbwapi_FileNameAtSystemDir() public function please review it, I'm notoriously bad with 1 byte over/underruns 2011-05-09 12:32 UTC+0200 Viktor Szakats * contrib/gtwvg/gtwvg.c * examples/gtwvw/gtwvw.c % LoadLibraryEx() -> LoadLibrary() 2011-05-09 12:24 UTC+0200 Viktor Szakats * contrib/gtwvg/gtwvg.c * contrib/gtwvg/wvgwin.c ! fixed to use GetModuleHandle() instead of LoadModule() on user32.dll and kernel32.dll. safer and faster. 2011-05-09 12:06 UTC+0200 Viktor Szakats * contrib/hbwin/wapi_winbase.c * contrib/hbwin/hbwin.hbx + contrib/hbwin/tests/testdir.prg + WAPI_GETWINDOWSDIRECTORY() -> <cDir> + WAPI_GETSYSTEMDIRECTORY() -> <cDir> 2011-05-09 09:49 UTC+0200 Viktor Szakats * contrib/hbide/ideedit.prg * contrib/hbide/idemisc.prg * contrib/hbide/idedict.prg * contrib/hbide/idethemes.prg * contrib/hbide/idesaveload.prg * contrib/hbide/idetools.prg * contrib/hbide/ideharbourhelp.prg * contrib/hbide/idemain.prg * contrib/hbide/ideeditor.prg * contrib/hbide/ideprojmanager.prg * contrib/hbide/ideskeletons.prg * contrib/hbide/ideenviron.prg * contrib/hbide/idebrowse.prg * contrib/hbide/idedocks.prg ! fixed '!=' operator usage on strings It has been told and written a hundred times, I hope this is the final one: Please never use '!=' operator on string operands, even if both operands are always the same length. Use '!( == )' instead. 2011-05-09 09:40 UTC+0200 Viktor Szakats * src/rtl/net.c ! fixed potential NULL dereference with pass->pw_name I'm not sure it's real possibility anyhow it cannot hurt reason for this change is that I was getting GPF under Linux in this call which wasn't BTW fixed by this change. * contrib/hbxbp/xbpcheckbox.prg * contrib/hbxbp/xbpbrowse.prg * contrib/hbxbp/xbpstatusbar.prg * contrib/hbxbp/xbpfontdialog.prg * contrib/hbxbp/xbptreeview.prg * contrib/hbxbp/xbpparthandler.prg * contrib/hbxbp/xbpdataref.prg * contrib/hbide/idemisc.prg * contrib/hbide/ideeditor.prg ! Fixed '!=' operator used with string ! '<>' operator changed to '!=' Please never use '<>' or '#' unequality operator in Harbour SVN 2011-05-09 00:16 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbxbp/xbpmenubar.prg * contrib/hbxbp/xbpparthandler.prg ! Corrected: many artifacts related to XbpMenu() and :setOwner()/:setParent() functionality. Thanks Shum for insight. 2011-05-07 13:18 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbxbp/xbpmenubar.prg ! Fixed: where XbpMenu() activation was not supplying the documented parameters when activated, thanks Shum for watching it closely. 2011-05-07 11:25 UTC+0200 Viktor Szakats * src/vm/maindllp/dllpcode.c * readded more win specific macros (msvc didn't like it) 2011-05-06 11:46 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbxbp/xbp.ch * contrib/hbxbp/xbpdialog.prg * contrib/hbxbp/xbppushbutton.prg + Implemented: XbpDialog():showModal() functionality. 2011-05-06 11:46 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbxbp/xbpdialog.prg * contrib/hbxbp/xbpwindow.prg ! Fixed: handelling of :close callback and PostAppEvent( xbeP_Close ). 2011-05-06 11:00 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/qth/QPrinterInfo.qth ! Fixed: constructor. * contrib/hbxbp/xbpgeneric.prg ! Minor. * contrib/hbxbp/xbpwindow.prg ! Fixed: rather commented out the code where :handleEvent() was destroying the object. I will look into another way how this can be achieved where :close callback is not defined to destroy the object and only xbeP_Close is sent via PostAppEvent(). Like: oXbpDialog:close := {|mp1,mp2,obj| PostAppEvent( xbeP_Close, , , obj ) } instead of oXbpDialog:close := {|mp1,mp2,obj| PostAppEvent( xbeP_Close, , , obj ), obj:destroy() } 2011-05-06 16:36 UTC+0200 Viktor Szakats * ChangeLog ! typo in last entry 2011-05-06 13:38 UTC+0200 Viktor Szakats * contrib/hbtip/encurl.prg * contrib/hbtip/hbtip.hbx * contrib/hbtip/cgi.prg * contrib/hbtip/url.prg * contrib/hbtip/httpcli.prg * contrib/hbtip/encurlc.c * promoted to documented level (renamed, INCOMPATIBLE): __TIP_URL_ENCODE() -> TIP_URLENCODE() __TIP_URL_DECODE() -> TIP_URLDECODE() * contrib/hbtip/encb64c.c * contrib/hbtip/encb64.prg % deleted __TIP_BASE64_ENCODE() replaced by core HB_BASE64ENCODE() 2011-05-06 13:14 UTC+0200 Viktor Szakats * INSTALL * little discouragment to use HB_QTPATH users tend to make everything as complicated as possible by using all imaginable custom settings. bad idea in most cases. 2011-05-06 09:06 UTC+0200 Viktor Szakats * examples/gtwvw/tests/prog2.prg * examples/gtwvw/tests/wvwtest9.prg ! fixed to not use internal TBColumn property 2011-05-05 19:28 UTC+0200 Viktor Szakats * INSTALL + added TROUBLESHOOTING/#10 to use -trace when reporting hbmk2 build errors 2011-05-05 19:15 UTC+0200 Viktor Szakats * package/winuni/mpkg_win_uni.bat * package/winuni/mpkg_win_uni.nsi + added qtsql related files. ought to fix regression causing broken hbqt in nightly binary since this commit: 2011-03-25 18:24 UTC-0800 Pritpal Bedi NOTE: since my SVN changes don't seem to affect nightly creation on Francesco's server anymore, I'm not sure when this fix will go "live". 2011-05-05 08:01 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbxbp/xbpdialog.prg ! Fixed: a RTE on some ocassions. Thanks Shum for reporting. 2011-05-05 16:53 UTC+0200 Viktor Szakats * include/harbour.hbx * src/rtl/libnamec.c + added HB_LIBPOSTFIX(). not finalized. it returns the dynamic lib postfix used by Harbour convention (e.g. '-21', or '-21-wce-arm') by Harbour core dll and contrib dlls * src/vm/maindllp/dllpcode.c * reduced win specific macros * contrib/xhb/xhb.hbx * contrib/xhb/xhberr.prg + added XHB_ERRORLOG( [<cFileName>], [<lAppend>] ) -> { cOldName, lOldAppend } to replace xhb _SET_ERRORLOG extension (build test only) ! fixed != operator on string 2011-05-04 18:40 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbxbp/xbpappevent.prg * contrib/hbxbp/xbpdialog.prg * contrib/hbxbp/xbpgeneric.prg * contrib/hbxbp/xbppushbutton.prg * contrib/hbxbp/xbpsle.prg + Implemented: XbpPushButton() now understands <ENTER> pressed. : XbpSLe() now responds to <ENTER> key which simulates windows equivalent TAB key. ! Rationalized: event loop, now no delays in processing. With this commit, you can experiment with real applications. Angel, can you re-visit the application you had sent to the list almost an year back ? 2011-05-04 12:39 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbxbp/xbpdialog.prg * contrib/hbxbp/xbpwindow.prg + Implemented: remaining visual parameters for XbpDialog(). :toolTipText, XBPDLG_DLGBORDER, :taskList, :sysMenu, XBP_DISP_APPMODAL. ! Fixed: :alwaysOnTop. 2011-05-04 17:01 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbinit.h * formatting * harbour/src/common/hbstr.c * pacified warnings generated by C compilers having modf() function wrongly defined in header files * harbour/src/rtl/hbtoken.c ! fixed bug reported by Patrick on xHarbour devel list * harbour/src/rdd/dbfcdx/dbfcdx1.c * modified to use different startup function names as workaround for problems with non unique function names reported by compilers using HB_INITSEG_STARTUP - it's not a fix but workaround only. 2011-05-04 14:05 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/pp/ppcore.c ! fixed #pragma __binarystreaminclude used with zero length files. Thanks to Viktor for information. 2011-05-04 01:25 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbxbp/xbpwindow.prg * contrib/hbxbp/xbpdialog.prg + Implemented: XbpDialog() :tasklist, :border, :maxButton, :minButton, :alwaysOnTop functionality. Shum, can you provide feedback ? 2011-05-03 23:17 UTC+0200 Viktor Szakats * contrib/hbct/doc/en/tab.txt * contrib/xhb/hbcompat.ch * doc/pragma.txt * doc/en/terminal.txt * doc/en/file.txt * hb_osnewline() -> hb_eol() * doc/Makefile ! deleted howtobld.txt 2011-05-03 13:44 UTC+0200 Viktor Szakats * INSTALL + added more text to how to identify log sections relevant for error reporting (after seeing the ~100th report including only the 3-4 last lines indicating 'make: *** [...] Error <n>' rendering the report useless and igniting unncessary rounds 2011-05-03 00:38 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + added mingw-w64 autodetection on *nix * doc/xhb-diff.txt ! typos * config/global.mk + added mingw-w64 autodetection on *nix. build with 'make HB_COMPILER=mingw64' ! supposedly fixed wce/mingw (intel) comp autodetection * had to change CC*/compiler autodetection on *nix cross builds and since this file is black magic, fallouts are possible. pls test it (disc: I'm no heavy linux user, you've been warned) ; NOTE: win/mingw64 build on linux results in broken exes (400+ hbtest failures and even the percentage of failure is calculated as 0.0%), most likely due to these (which may even be mingw64 bugs): ../../../hbarch.c: In function 'hb_put_ord_ieee754': ../../../hbarch.c:181: warning: 'iExp' may be used uninitialized in this function ../../../hbarch.c: In function 'hb_put_ieee754': ../../../hbarch.c:114: warning: 'iExp' may be used uninitialized in this function ../../../hbstr.c: In function 'hb_numRound': ../../../hbstr.c:500: warning: statement with no effect ../../../hbstr.c: In function 'hb_numInt': ../../../hbstr.c:525: warning: statement with no effect ../../../hbstr.c:519: warning: 'dInt' is used uninitialized in this function ../../../hbstr.c: In function 'hb_numRound': ../../../hbstr.c:512: warning: 'doComplete5i' may be used uninitialized in this function ../../../hbstr.c: In function 'hb_numDecConv': ../../../hbstr.c:514: warning: 'doComplete5i' may be used uninitialized in this function ../../../hbstr.c:396: note: 'doComplete5i' was declared here In file included from ../../../hvmall.c:105: ../../../itemapi.c: In function 'hb_itemStrBuf': ../../../itemapi.c:2329: warning: 'dDig' may be used uninitialized in this function 2011-05-02 01:33 UTC+0200 Viktor Szakats * contrib/make.hbs % normalize bin path (for *nix) 2011-05-02 01:15 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + 'hbmk2 <myproj>' will now build '<myproj>.hbp' if such file exists. if not, it will build <myproj>.prg like before. Experimental, it's quite useful, but let's see how much confusion does it create. 2011-05-01 23:52 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! show translation author only if there is a translation 2011-05-01 22:34 UTC+0200 Viktor Szakats * INSTALL * minor corrections 2011-05-01 22:20 UTC+0200 Viktor Szakats * contrib/hbtip/tests/upld_ftp.prg * contrib/rddads/tests/datad.prg * contrib/rddads/tests/testmg.prg * function main() -> procedure main() + cleanup * contrib/rddads/tests/datad.prg * contrib/rddads/tests/testmg.prg * contrib/rddads/doc/en/adsfuncs.txt * contrib/rddads/doc/en/readme.txt * formatted (hbformat, manual) * fixes * src/rtl/gtxwc/gtxwc.h * src/rtl/gtxwc/gtxwc.c * src/rtl/hbmd5.c * contrib/gtwvg/tests/demowvg.prg * contrib/gtwvg/tests/wvgdyndialogs.prg * contrib/gtwvg/tests/wvgwvtclasses.prg * contrib/hbtip/thtml.prg * contrib/hbtip/tests/loadhtml.prg * tests/server.prg * examples/hbvpdf/hbvpdft.prg * Using 'harbour' name in outputs and some comments * src/rdd/dbcmd.c * typo 2011-05-01 21:41 UTC+0200 Viktor Szakats * contrib/hbct/tests/datetime.prg * contrib/hbcurl/tests/ftp_uldl.prg * contrib/hbhttpd/tests/webapp.prg * contrib/hbpgsql/tests/simple.prg * contrib/hbpgsql/tests/async.prg * contrib/hbpgsql/tests/hdbctest.prg * contrib/hbpgsql/tests/cache.prg * contrib/hbsqlit3/tests/blob.prg * contrib/hbsqlit3/tests/hdbctest.prg * contrib/hbsqlit3/tests/hooks.prg * contrib/hbsqlit3/tests/authoriz.prg * contrib/hbsqlit3/tests/backup.prg * contrib/hbfbird/tests/simple.prg * contrib/hbfbird/tests/test.prg * contrib/hbfbird/tests/stress.prg * contrib/hbgd/tests/bartest.prg * contrib/hbgd/tests/barms.prg * FUNCTION main() -> PROCEDURE main() ! fixed RETURN <x> in main() to ErrorLevel() call ! fixed <> operator for strings * formatting * deleted some decoration comments 2011-05-01 12:06 UTC+0200 Viktor Szakats * src/rtl/tmenusys.prg * src/rtl/tmenuitm.prg ! accept extended popupmenu 2011-05-01 09:38 UTC+0200 Viktor Szakats * contrib/hbpgsql/tests/simple.prg ! typo 2011-04-30 17:57 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbxbp/xbpparthandler.prg * contrib/hbxbp/xbpprinter.prg * contrib/hbxbp/xbpwindow.prg ! Code optimizations. * contrib/hbxbp/xbpgeneric.prg ! Changed: the way event loop was being constructed and processed. Now, no event is missed and is dealt with properly. Not best of the ways but my experiments could not lead to any better algorithm. 2011-04-30 16:21 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/gtwvg/gtwvg.c * contrib/gtwvg/gtwvg.h + Implemented: GTWVT like fullScreen functionality. 2011-05-01 01:04 UTC+0200 Viktor Szakats * src/rtl/tpopuphb.prg ! non-c53 mode fix 2011-05-01 00:57 UTC+0200 Viktor Szakats * src/rtl/tpopuphb.prg ! typo? 2011-04-30 18:26 UTC+0200 Viktor Szakats * src/rtl/tpopuphb.prg * copyrights 2011-04-30 18:24 UTC+0200 Viktor Szakats * src/rtl/tpopuphb.prg + Missed from prev commit. 2011-04-30 18:21 UTC+0200 Viktor Szakats * src/rtl/Makefile * src/rtl/tpopup.prg + Replaced last remaining HB_EXTENSION build-time conditional branch in Harbour codebase with runtime solution. (similar to GET vs. HB_GET) ; IMPORTANT: If you had so far built Harbour with HB_USER_PRGFLAGS=-DHB_EXTENSION to use TPOPUP class extensions: :shadowed, :setCoors(), :isShortCut(), :isQuick(), switch your app to use HB_POPUPMENU() (from POPUPMENU()). This in practice will mean to use this code: PopUp( nTop, nLeft, nBottom, nRight ) to this: hb_PopUpMenu():New( nTop, nLeft, nBottom, nRight ) Then delete your custom HB_USER_PRGFLAGS (or use nightly binary) [pls make tests, I don't have test code for POPUP(). ] 2011-04-30 16:59 UTC+0200 Viktor Szakats * include/harbour.hbx * src/rtl/inkey.c * contrib/xhb/hbcompat.ch + added HB_KEYNEXT( [<nEventMask>] ) -> <nKey> (same as now disabled dirty xhb extension for NEXTKEY()) 2011-04-29 23:29 UTC+0200 Viktor Szakats * contrib/hbssl/ssl.c * contrib/hbssl/bio.c ! fixed BIO_TEST_FLAGS(), SSL_SET_MTU() to be always defined on prg level 2011-04-29 18:12 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/filesys.c ! fixed time checking in *nix version of hb_fsPipeIsData() * harbour/contrib/hbwin/win_bmp.c ! fixed buffer overflow 2011-04-29 11:18 UTC+0200 Viktor Szakats * contrib/hbqt/hbqt_common.hbc * reverted: 2011-04-19 21:15 UTC+0200 Viktor Szakats ! do not satisfy the HBQT dependency when HB_BUILD_3RDEXT=no. 2011-04-29 02:43 UTC+0200 Viktor Szakats * src/rtl/gtwvt/gtwvt.c ! put back CS_HREDRAW | CS_VREDRAW apparently needed for HB_GTI_RESIZEMODE_FONT. Thanks Pritpal. * use XP double buffering on Vista and upper systems only (was: all). This is not based on hard scientific data at this time, some users reported "slowness" on certain XP systems. It doesn't seem to be tied to any particular video chipset (or driver), exact reason still uncertain (other software? GPO setting? SP level?). I cannot find evidence for general WS_EX_COMPOSITED related problem on the internet. So we're back to *fugly* screen updates on XP and lower systems, this means that visible lag will be seen when drawing text with changing colors in them (e.g. menubar with hotkey). If you know better, speak up. * contrib/hbqt/hbmk2_qt.hbs ! fixed typo in one HB_WITH_QT envvar reference (Thanks Francesco) + accept HB_QTPATH with or without ending dirsep ! use host exe extension when looking for qt tools + use win/os2 specific autodetection logic based on host OS, rather than target OS, thus helping QT in cross-builds, like droid. And now let the avalanche of crap follow. - doc/howtobld.txt - outdated, deleted * doc/howtosvn.txt * minor update 2011-04-28 16:32 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/gtwvg/gtwvg.c ! Normalized code close to GTWVT as much as possible. TODO: add full screen functionality. * contrib/gtwvg/wvgpaint.prg ! Minor. 2011-04-28 12:57 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + added (aka: "fixing a build issue") new -depincroot=/depincroot= setting to set root dir for -depincpath= values * contrib/hbodbc/hbodbc.hbp * contrib/sddodbc/sddodbc.hbp * formatting 2011-04-28 12:22 UTC+0200 Viktor Szakats * package/winuni/mpkg_win_uni.bat * package/mpkg_win_nightly.bat + echoing self ; FIXME: nightly binaries are hosed and they don't seem to use live .bat files from SVN. also, mingw is outdated. 2011-04-28 10:31 UTC+0200 Viktor Szakats * contrib/hbnf/ontick.prg * precise tick per sec value. Thanks Klas! * config/detect.mk * do not disable some 3rd party libs for android (revert) 2011-04-27 17:46 UTC+0200 Viktor Szakats * contrib/hbmxml/3rd/minixml/config.h ! yet another bcc problem. my last after the last. anyone to pick up fixing bcc bugs? * config/detect.mk - exclude slang/curses/x11 for android * contrib/hbct/strdiff.c * contrib/hbct/dattime3.c * uncrustified * contrib/hbct/misc2.c * contrib/hbct/token1.c * contrib/hbct/print.c * formatted 2011-04-27 11:59 UTC+0200 Viktor Szakats * contrib/hbqt/hbmk2_qt.hbs * contrib/hbqt/qtgui/hbqtgui.h * contrib/hbqt/qtgui/qth/QGraphicsPathItem.qth * contrib/hbqt/qtgui/qth/QBrush.qth * contrib/hbqt/qtgui/qth/QGraphicsScene.qth * contrib/hbqt/qtgui/qth/QGraphicsRectItem.qth * contrib/hbqt/qtgui/qth/QGraphicsSceneDragDropEvent.qth * contrib/hbqt/qtgui/qth/QGraphicsPolygonItem.qth * contrib/hbqt/qtgui/qth/QGraphicsLineItem.qth * contrib/hbqt/qtgui/qth/QDropEvent.qth * contrib/hbqt/qtgui/qth/QGraphicsEllipseItem.qth * contrib/hbqt/qtgui/qth/QGraphicsPixmapItem.qth * contrib/hbqt/qtgui/qth/QPixmap.qth * contrib/hbqt/qtcore/hbqt_pointer.cpp * contrib/hbqt/qtcore/hbqt.h * contrib/hbqt/qtcore/qth/QResource.qth * contrib/hbqt/qtcore/qth/QMimeData.qth * contrib/hbqt/qtcore/hbqtcore.h * contrib/hbqt/qtcore/hbqt_hbqslots.cpp * contrib/hbqt/qtcore/hbqt_hbqevents.cpp * contrib/hbqt/qtsql/qth/QSqlQuery.qth * hbqt_par_obj() -> hbqt_par_ptr() * hbqt_gcpointer() -> hbqt_par_ptr() * hbqt_pPtrFromObj() -> hbqt_par_ptr() * hbqt_getObjectGC() -> hbqt_par_ptrGC() * hbqt_detachgcpointer() -> hbqt_par_detach_ptrGC(), retval set to void (from void *) * hbqt_pPtrFromObject() -> hbqt_get_ptr() * hbqt_set_pptr() renamed, cleaned, made static ! hbqt_isObjectType() retval changed to HB_BOOL - hbqt_getqtptr() deleted, unused 2011-04-27 10:59 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbct/dattime3.c * set _SVID_SOURCE macro before any header files to enable stime() in Linux builds even when C89 is forced by some compiler switches 2011-04-27 10:50 UTC+0200 Viktor Szakats * contrib/hbqt/qtcore/hbqt_pointer.cpp % Further simplified, cleaned, optimized, recursive call unrolled. ; TODO: Leave only one of these: [DONE] void * hbqt_par_obj( int iParam ) void * hbqt_gcpointer( int iParam ) void * hbqt_pPtrFromObj( int iParam ) 2011-04-26 18:25 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtcore/hbqt_pointer.cpp ! Removed: any other constructs of raw-pointers. Normalized: the code flow. 2011-04-27 03:17 UTC+0200 Viktor Szakats * contrib/hbide/resources/hb-32x32.png * contrib/hbide/resources/hb-16x16.png * contrib/hbide/resources/hbide.png + Updated * contrib/hbide/hbide.qrc - space @ EOF 2011-04-27 00:58 UTC+0200 Viktor Szakats * contrib/hbide/hbide.ico * examples/httpsrv/home/favicon.ico * static copies updated 2011-04-27 00:36 UTC+0200 Viktor Szakats * contrib/hbqt/qtcore/hbqt_pointer.cpp * contrib/hbqt/qtcore/hbqtcore.hbx - deleted HBQT_FINDCHILD(). it used raw pointer. was used by hbqtuitools. % deleted unused extern. * package/winuni/mpkg_win_uni.bat * contrib/hbnetio/utils/hbnetioq/hbnetioq.hbp * contrib/hbqt/hbqt.hbc * contrib/hbqt/hbqt_all.hbp - contrib/hbqt/tests/QtUiTools.txt - contrib/hbqt/qtuitools - contrib/hbqt/hbqtuitools.hbc * contrib/hbide/hbide.hbp - deleted dynamic UI loading. it had too many hopeless FIXMEs and it required raw pointers. and a lot of bloat. Should be reimplemented by loading and processing .ui files manually. 2011-04-26 22:31 UTC+0200 Viktor Szakats * package/mpkg_win_nightly.bat + disabled bcc libs in nightly binary build. bcc is not tested by most developers anymore, so its risky to include it and let it break the build. * contrib/hbrun/hbrun.rc - Disable app icon for bcc builds. bcc is too old or buggy to handle .ico files with certain properties. * utils/hbmk2/hbmk2.prg - Disabled -icon= option for bcc to avoid build breaks due to more recent .ico files. * contrib/hbmlzo/hbmlzo.hbx * autoupdate ; NOTE: This was my last patch targeting a bcc specific problem. It's a waste of time. 2011-04-26 18:10 UTC+0200 Viktor Szakats + contrib/hbnf/tests/ontick.prg - contrib/hbnf/ontick.c * contrib/hbnf/hbnf.hbp * contrib/hbnf/hbnf.hbx + contrib/hbnf/ontick.prg + implemented: FT_ONTICK( [<bBlock>][, <nTickInterval> ] ) -> NIL (after spotting thread on clipper.borda.ru) Note, I didn't test it against original NFLib, and second param looks like undocumented one. * contrib/xhb/bkgtsks.c * uncrustified 2011-04-26 07:52 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtcore/hbqt.h ! Miss from prev commit. * contrib/hbxbp/tests/dialogqt.prg ! Removed: :setStyleSheet() calls. 2011-04-26 16:28 UTC+0200 Viktor Szakats * contrib/hbwin/hbwin.ch * contrib/hbwin/win_regc.c * contrib/hbwin/win_reg.prg * contrib/hbwin/tests/testreg.prg + added type parameter to win_regWrite()/win_regSet()/win_regSetValueEx() functions + added QWORD support in win registry ! fixed very old xhb typo: sizeof( REG_DWORD ) -> sizeof( DWORD ) (didn't cause actual error in compiled code) + added REG_DWORD, REG_QWORD tests * package/mpkg_win.nsi * package/winuni/mpkg_win_uni.nsi * uninstall icon changed to better looking one 2011-04-26 14:34 UTC+0200 Viktor Szakats * package/harb_osx.icns * package/harb_win.ico + reworked square logo - contains 'Hb' instead of 'H' or 'ha' - transparent bckg - full length boat - hi-res icons for Vista/7 + package/favicon.ico + added web favicon. 2011-04-26 12:55 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + dependency check to define HBMK_DIR_* macro with autodetected header dir + macro evaluator to return actual value (if any) for internally defined macro + contrib/hbdroid + contrib/hbdroid/hvminit.c + contrib/hbdroid/hbdroid.h + contrib/hbdroid/hbdroid.hbc + contrib/hbdroid/hbdroid.hbp + contrib/hbdroid/msginfo.c + Android lib Based on code sent to the list by Antonio. Only build tested (on win). 2011-04-26 03:07 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtcore/hbqt_hbqevents.cpp * contrib/hbqt/qtcore/hbqt_hbqevents.h * contrib/hbqt/qtcore/hbqt_hbqslots.cpp * contrib/hbqt/qtcore/hbqt_hbqslots.h * contrib/hbqt/qtcore/hbqt_misc.prg * contrib/hbqt/qtcore/hbqt_pointer.cpp * contrib/hbqt/qtcore/hbqtcore.hbx * contrib/hbqt/qtcore/qth/HBQEvents.qth * contrib/hbqt/qtcore/qth/HBQSlots.qth * contrib/hbqt/tests/demoqt.prg * contrib/hbxbp/xbptabpage.prg ! Removed: entirely - raw-pointers from hbQT. WARNING: this may cause a temporary instability, please report. 2011-04-26 11:09 UTC+0200 Viktor Szakats * INSTALL + Added 'comparing xharbour to harbour' document direct URL to '15. FOR MORE INFORMATION' section. * contrib/hbwin/tests/testole.prg * minor 2011-04-25 23:16 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/hbmk2_qt.hbs ! Removed: one already commented-out section. * contrib/hbqt/qtcore/hbqt_pointer.cpp ! Removed: few more raw-pointers constructs which were hanging around unnecessarily. 2011-04-26 02:35 UTC+0200 Viktor Szakats * contrib/hbct/token2.c % deleted unnecessary null check of hb_xrealloc() retval * formatting 2011-04-26 01:54 UTC+0200 Viktor Szakats * package/winuni/RELNOTES * INSTALL * version updates 2011-04-26 01:50 UTC+0200 Viktor Szakats * contrib/hbcurl/core.c % unary inc opt 2011-04-25 23:06 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + show CCPREFIX/CCPOSTFIX with -info * ChangeLog * some followups and typo fixes. 2011-04-25 22:30 UTC+0200 Viktor Szakats * contrib/hbct/hbct.hbp * raise c dialect to gnu90 on linux for stime() * contrib/hbwin/wapi_winbase.c ! define WAPI_GET*PATHNAME() as noop functions on wce * contrib/hbwin/win_shell.c ! made WIN_SHELLNOTIFYICON() a dummy on wce * contrib/hbwin/mapi.c ! do not undef UNICODE for wce (results in missing LoadLibraryA() on link) * contrib/hbwin/wapi_commctrl.c ! made WAPI_IMAGELIST_LOADIMAGE() a dummy on wce * contrib/sddfb/sddfb.hbp * contrib/hbfbird/hbfbird.hbp * set c dialect to gnu90 for fbird headers * contrib/hbpre.hbm * set c dialect to gnu90 for wce/allmingw for cegcc Windows headers 2011-04-25 03:33 UTC+0200 Viktor Szakats * src/rtl/gtwvt/gtwvt.c ! Fixed HB_GTI_ICONFILE not working with "certain" .ico files. * contrib/hbqt/hbqt_common.hbc + added libpath for beos [Tamas Tevesz] 2011-04-24 10:06 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! fixed "cross-talk" in compiler options between C and C++ build passes + contrib/hbqt/qtsql/doc/en ! added missing dir causing doc gen errors * contrib/hbmlzo/3rd/minilzo/README.LZO * contrib/hbmlzo/3rd/minilzo/lzoconf.h * contrib/hbmlzo/3rd/minilzo/minilzo.c * contrib/hbmlzo/3rd/minilzo/minilzo.h * contrib/hbmlzo/3rd/minilzo/COPYING * contrib/hbmlzo/3rd/minilzo/minilzo.hbp * contrib/hbmlzo/3rd/minilzo/lzodefs.h + update to 2.05 [Tamas Tevesz] * contrib/hbqt/qtsql/hbqtsql.hbc ! deleted GUI related settings * contrib/hbqt/qtsql/qth/filelist.hbm * sorted * contrib/hbqt/qtsql/hbqtsql.hbm * contrib/hbqt/qtsql/qth/QSqlField.qth * contrib/hbqt/qtsql/qth/QSqlRelationalTableModel.qth * contrib/hbqt/qtsql/qth/QSqlDatabase.qth * contrib/hbqt/qtsql/qth/QSqlQuery.qth * contrib/hbqt/qtsql/qth/QSqlQueryModel.qth * contrib/hbqt/qtsql/qth/QSqlIndex.qth * contrib/hbqt/qtsql/qth/QSqlTableModel.qth * contrib/hbqt/qtsql/qth/QSqlError.qth * contrib/hbqt/qtsql/qth/QSqlDriver.qth * contrib/hbqt/qtsql/qth/QSqlRecord.qth * contrib/hbqt/qtsql/qth/QSqlResult.qth * deleted EOL/EOF spaces 2011-04-23 23:25 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/gtqtc/gtqtc.cpp * contrib/hbqt/gtqtc/gtqtc.h ! Regained: box-characters. 2011-04-23 11:05 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/tests/demoqt.prg ! Fixed: a -w3 warning. 2011-04-23 10:38 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/filesys.c * casting to pacify warnings on some platforms which may use negative errno codes 2011-04-23 00:40 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/gtwvg/wvgwing.c ! Converted: remaining C++ comments to Ansi C style. * contrib/hbplist ! Enabled: gtwvg to be built with whole package. 2011-04-22 21:35 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/gtwvg/gtwvg.c * contrib/gtwvg/wvgscrlb.prg * contrib/gtwvg/wvgsysw.prg * contrib/gtwvg/wvgtoolb.prg ! Changed: C++ comments to Ansi C compatible. Hopefully I did it right, not tested the build. 2011-04-23 02:53 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.*.po * utils/hbmk2/hbmk2.prg + Added recently added options to help text. 2011-04-23 02:11 UTC+0200 Viktor Szakats * ChangeLog ! Missed to document one change: * src/rtl/gtwvt/gtwvt.c % Deleted CS_HREDRAW | CS_VREDRAW flags from Harbour window class. Please make sure to review this, I'm not expert, but these flags are apparently not needed for GTWVT and advised against on many forums. 2011-04-23 02:07 UTC+0200 Viktor Szakats * INSTALL + Added TROUBLESHOOTING/9.: how to submit logs to dev list. Please read it. * src/rtl/diskspac.c * src/rtl/disksphb.c ! Fixed possible MT race condition in DISKSPACE()/HB_DISKSPACE() where no value could be returned. * src/rtl/gtwvt/gtwvt.c * Changed to use WS_EX_COMPOSITED instead of WS_EX_LAYERED. This works on XP and above (previous one also worked on W2K), and I mean this as another round of live testing, as WS_EX_LAYERED turned out to be causing strange flickers (maybe hardware induced, I don't know) on some non-virtualized/non-remote OS installations. Maybe this will work better. If not, even this will be deleted. Then maybe software/DC double-buffering will be the ultimate soltion. [RESULT: Yes it works better and removed flickering on at least one sampled system. - vszakats] % Dropped fiddling with SetLayeredWindowAttributes() call. * Formatting. % Deleted CS_HREDRAW | CS_VREDRAW flags from Harbour window class. Please make sure to review this, I'm not expert, but these flags are apparently not needed for GTWVT and advised against on many forums. * contrib/make.hbs + Added 'verbose' keyword. Equivalent to HB_BUILD_VERBOSE=yes. + Added 'rebuild' keyword. (Equivalent to 'clean all') * contrib/3rd/sqlite3/sqlite3.hbp ! Added workaround for gcc/mingw bug in 4.5.0 and 4.5.1 versions, where it shows compile error when iso89 c dialect is selected. Now in 4.5.x gnu89 is used instead to avoid it. Problem is also fixed in 4.5.2. * contrib/hbplist - Disabled gtwvg due to build breakage. 2011-04-22 16:29 UTC+0200 Viktor Szakats + config/minix/clang.mk + Added new compiler for minix. [Tamas Tevesz] * utils/hbmk2/hbmk2.prg * INSTALL + Added minix/clang. - Deleted minix/pcc references. 2011-04-21 19:25 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Typo in prev for djgpp/C++. 2011-04-21 19:24 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added -c=/-cpp= dialect support for sunpro, icc, clang, watcom. Many thanks to Tamas for the information. + Added dialect support for vxworks/diag * contrib/hbpre.hbm - do not set any C++ std in contrib area it's a mess. 2011-04-21 16:56 UTC+0200 Viktor Szakats * ChangeLog ! Added missing change to 2011-04-21 01:00 UTC+0200 Viktor Szakats: * src/rtl/gtwin/gtwin.c ! Reverted optimization patch in 2011-03-30 14:20 UTC+0200 Viktor Szakats It caused strange effects (<Alt> key causing INKEY() to return <Ctrl+PgUp> on some national keysets or some other region related attributes, it was reported by few users from Brazil.) 2011-04-21 10:33 UTC+0200 Viktor Szakats * include/harbour.hbx * include/hbapi.h * src/common/hbver.c * src/rtl/version.c + hb_verHostCPU() to return CPU architecture the host OS is running under. (long time TODO) It may or may not give precise answer depending on target OS. For win, it works as exptected. + HB_OSCPU() -> <cCPU> same for .prg level apps. * contrib/hbmxml/3rd/minixml/mxml_str.c ! Ultimate isdigit() fix. [Tamas Tevesz] 2011-04-21 03:11 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added experimental -c=[iso90|iso99|iso1x|gnu90|gnu99|gnu1x] and -cpp=[iso98|iso0x|gnu98|gnu0x] hbmk2 options to select C/C++ dialect in a C compiler and built setting independent way. It will currently affect GCC and compatible family of compilers. If you happen to know about C dialect/std selection in other compilers, pls tell and they can be mapped to this option. E.g. in other win compilers the adaptation to C/C++ stds is very fuzzy, where such option exists at all (e.g. BCC -A* options), mostly it's just toggling some compiler extensions. Comments are welcome of course. + Added FIXME for vxworks with potential disagreement on C std level. I used hardwired C99 forcage hack while porting Harbour to it. + Added internal logic for C- and C++-only options. ; NOTE: Behavior with Objective C sources is yet to be tested. * contrib/hbmzip/3rd/minizip/minizip.hbp * contrib/hbunix/hbunix.hbp * contrib/gtalleg/gtalleg.hbm * contrib/xhb/xhb.hbp * contrib/hbqt/hbqt_common.hbm * contrib/rddads/rddads.hbp * contrib/hbfimage/hbfimage.hbp * contrib/hbpre.hbm * contrib/hbssl/hbssl.hbm + -cflag=-std=... => -c=gnu90 hbmk2 option. 2011-04-21 01:04 UTC+0200 Viktor Szakats * contrib/hbcurl/core.c * contrib/hbcurl/core_t1.c ! Applied sf.net patch #3290483. [Benjamin Jacobs] 2011-04-21 01:00 UTC+0200 Viktor Szakats * src/rtl/gtwin/gtwin.c ! Reverted optimization patch in 2011-03-30 14:20 UTC+0200 Viktor Szakats It caused strange effects (<Alt> key causing INKEY() to return <Ctrl+PgUp> on some national keysets or some other region related attributes, it was reported by few users from Brazil.) * contrib/hbmxml/3rd/minixml/mxml.hbp * contrib/hbmxml/3rd/minixml/mxml_str.c ! Fixed isdigit() warning which was result of missing mxml header. [Tamas Tevesz] + contrib/hbcurl/hbcurlt1.ch + contrib/hbcurl/core_t1.c + Implemented new way of using HB_CURLOPT_HTTPPOST, now all meaningful values are supported in any order and combination. See: https://curl.se/libcurl/c/curl_formadd.html The patch is heavily based on patch/implementation submitted by Benjamin Jacobs, many thanks for it. Final patch includes some rework, simplification, compile and other fixes, plus formatting with uncrustify. Please make sure to test/review this version as I didn't do any functional tests, just build ones. Sample code: curl_easy_setopt( curl, HB_CURLOPT_HTTPPOST, { ; { HB_CURLFORM_COPYNAME, "nparam1", ; HB_CURLFORM_COPYCONTENTS, "value1" }, ; { HB_CURLFORM_COPYNAME, "nparam2", ; HB_CURLFORM_COPYCONTENTS, "value" }, ; { HB_CURLFORM_COPYNAME, "fileparam", ; HB_CURLFORM_FILE, filename } } ) WARNING: This implementation is INCOMPATIBLE with the previous one. FIXME: Current implementation does allow to create GPFs because it allows .prg code manually pass buffer sizes. This must be fixed and buffer length should always be automatically taken from Harbour item. This will require more sophisticated code to build the low-level array (e.g. size calculation). Benjamin, can you look at it? NOTE: I'm uploading this unfinished code as new temp files, because SVN doesn't support light branching, so this poor man's solution is left to manage it. 2011-04-20 21:05 UTC+0200 Viktor Szakats * contrib/hbmxml/3rd/minixml/mxml.hbp * contrib/hbmxml/3rd/minixml/config.h * Testing without HAVE_SNPRINTF/HAVE_VSNPRINTF in ANSI C89 mode. * utils/hbmk2/hbmk2.prg + Added '-cflag+=' experimental option which works like -cflag=, but it adds the custom flag _after_ C flags added internally by hbmk2. This allows for some better fine tuning (e.g. see rddads.hbp). Another possbility would have been to move all user flags after internal ones, but this could make it easy to break builds, and it would also make cflags behave differently than the rest, so I decided to add this new syntax. + Some step to support hbmk2 options to control C/C++ dialect. % Minor optimization in formed C compiler and linker command-lines. * contrib/rddads/rddads.hbp ! Fixed gcc option to disable stupid warning caused by sloppy #pragma usage in ACE header. Also changed to use '-cflag+=' to make it work. At last! 2011-04-20 17:55 UTC+0200 Viktor Szakats * contrib/hbmxml/3rd/minixml/mxml.hbp * -> -std=gnu89. Details in comment. * contrib/hbunix/hbunix.hbp * -> -std=gnu89. * contrib/xhb/hbserv.c * formatting. * contrib/hbmxml/tests/testmxml.prg ! Fix. [Tamas Tevesz] 2011-04-20 13:52 UTC+0200 Viktor Szakats * contrib/xhb/xhb.hbp ! Moving to -std=gnu89 for hbserv.c (maybe more) for *nix platforms. Didn't test it. 2011-04-20 13:43 UTC+0200 Viktor Szakats * hbbz2/3rd/bz2/bz2.hbp * hbbz2/core.c + Build bz2 with BZ_NO_STDIO option. This will get rid of fileno() call, so it becomes C89 compliant. + Added internal error handler required when BZ_NO_STDIO is used. % Deleted -std=gnu89 override. ; Checkme. * utils/hbmk2/hbmk2.prg + -depimplibs= also supports multiple arguments separated by ';'. 2011-04-20 13:19 UTC+0200 Viktor Szakats * contrib/hbmxml/hbmxml.hbp * contrib/hbmxml/3rd/minixml/mxml.hbp * contrib/hbmxml/3rd/minixml/config.h + Disabled HAVE_STRDUP so now it's using its own implementation and it's ANSI C89 compliant. 2011-04-20 13:13 UTC+0200 Viktor Szakats * contrib/hbmxml/hbmxml.hbp * contrib/hbmxml/3rd/minixml/mxml.hbp * contrib/hbmzip/3rd/minizip/minizip.hbp * contrib/gtalleg/gtalleg.hbm * contrib/hbbz2/3rd/bz2/bz2.hbp * contrib/rddads/rddads.hbp * contrib/hbfimage/hbfimage.hbp * contrib/hbpre.hbm * contrib/hbssl/hbssl.hbm ! -std=c90 -> -std=c89, -std=gnu90 -> -std=gnu89 Some gcc builds have problem with c90. 2011-04-20 12:46 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fixed compiled resources not triggering rebuild of target executable in incremental mode unless the resource sources were also changed. Thanks to Mindaugas for reporting it. 2011-04-20 11:27 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + -depincpath= now supports multiple paths separated by ';' (on all platforms) * contrib/3rd/sqlite3/sqlite3.hbp ! Fixed wrong hbmk2 filter expression. * contrib/hbmzip/3rd/minizip/minizip.hbp * contrib/rddads/rddads.hbp * contrib/hbpre.hbm * -std=c89/gnu89 -> -std=c90/gnu90. same, but gcc recommends the latter. * contrib/hbhpdf/core.c * contrib/rddsql/sqlmix.c ! Fixed C++ comments. * contrib/hbmxml/hbmxml.hbp * contrib/hbmxml/3rd/minixml/mxml.hbp ! -std=gnu90 for strdup() * contrib/hbbz2/3rd/bz2/bz2.hbp * contrib/hbssl/hbssl.hbm ! -std=gnu90 for fileno() * contrib/hbfimage/hbfimage.hbp * contrib/gtalleg/gtalleg.hbm ! -std=gnu90 for 3rd party headers. * contrib/hbbz2/3rd/bz2/bz2.hbp % Enabled BZ_STRICT_ANSI. This effectively disabled bzdopen(), so if anyone needs it, speak up. * contrib/hbqt/hbqt_common.hbm ! Temp hack to override -std option for C++. 2011-04-20 03:43 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + new filter values: lngcpp and lngc. Can be used to check forced C++/C mode. * contrib/hbmzip/3rd/minizip/ioapi.h * contrib/hbmzip/3rd/minizip/zip.h * contrib/hbmzip/3rd/minizip/minizip.dif ! C++ -> ANSI C comments * contrib/hbmzip/3rd/minizip/minizip.hbp ! Override c89 mode with gnu89. For f*64() functions. * contrib/rddads/rddads.hbp ! Override c89 mode with gnu89. ADS headers need it. * contrib/hbpre.hbm + Forcing c89 mode for GCC family compilers (in non C++ forced mode) Results were pretty good and Harbour/3rd party code complies very well. * contrib/hbunix/hbunix.hbp * contrib/hbcurl/hbcurl.hbm * contrib/hbnetio/hbnetio.hbp * contrib/gtwvg/gtwvg.hbp * contrib/hbwin/hbwin.hbp * contrib/hbsqlit3/hbsqlit3.hbp * contrib/hbexpat/hbexpat.hbp * contrib/hbmemio/hbmemio.hbp - Deleted just added local c89 mode forcage. Now it's done global. * contrib/hbqt/qtgui/hbqtgui.h ! Fixed HBQT_TYPE_QIcon redefinition. Pls check, I didn't rebuild the whole package after the mod [IT'S OK]. 2011-04-20 02:19 UTC+0200 Viktor Szakats * contrib/hbunix/hbunix.hbp * contrib/hbcurl/hbcurl.hbm * contrib/hbnetio/hbnetio.hbp * contrib/gtwvg/gtwvg.hbp * contrib/hbwin/hbwin.hbp * contrib/hbsqlit3/hbsqlit3.hbp * contrib/hbexpat/hbexpat.hbp + Enabled -std=c89 option when building with any gcc compiler. (FIXME: now GTWVG breaks with error) I mean this as an experiment which I'd like to extend gradually to whole Harbour as it seems a good way to ensure the code being truly ANSI C as we claim it. It can certainly avoid a few unnecessary rounds with committed code problems. Now that there are multiple ANSI C standards we may want to discuss which level we want to stick with (C89/C90, C99, C1X) until then let's assume C89 even though not all of Harbour code complies ATM. E.g.: ../../../hbprintf.c:543:4: warning: implicit declaration of function 'modfl' ../../../hbprintf.c:1146:25: warning: implicit declaration of function 'isfinite' * contrib/hbnetio/hbnetio.hbx * autoupdated. * contrib/hbqt/qtgui/hbqt_hbqsyntaxhighlighter.cpp * contrib/hbqt/qtgui/hbqt_hbqplaintextedit.cpp * contrib/hbqt/qtgui/hbqt_hbqgraphicsscene.cpp * contrib/hbqt/qtgui/hbqt_hbqgraphicsitem.cpp * contrib/hbqt/qtcore/hbqt_pointer.cpp * contrib/hbqt/qtcore/hbqt_hbqslots.cpp ! Converted C++ style comments to ANSI C. Even though it's C++ code it's good to stick with one comment style (ANSI C) accross Harbour to avoid getting wrong customs. Pls stick to it. 2011-04-19 16:43 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbxbp/xbpparthandler.prg ! Changed: ::_aOwned => ::a_Owned to not generate error when class inheriting an XbpPart has a data member as ::aOwned. 2011-04-20 01:23 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg * config/global.mk * INSTALL + added android platform to core build and hbmk2 untested. ; TODO: autodetection 2011-04-19 16:19 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/gtwvg/gtwvg.c ! Reversed: previous commit. Was causing GPF. 2011-04-20 01:00 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added experimental feature to filter out libs from the lib lists: -l-kernel32, libs=-kernel32 Harbour core libs cannot be disabled this way (except hbzlib and hbpcre) 2011-04-20 00:28 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.pt_BR.po * utils/hbmk2/hbmk2.hu_HU.po * utils/hbmk2/hbmk2.es_PE.po * utils/hbmk2/hbmk2.prg * INSTALL * Use 'please' more sparingly. Use 'always' a bit more. * config/lib.mk * config/bin.mk * config/dyn.mk + Added internal configuration '__HB_BUILD_NOSYSLIB=<lib1> [<lib2>]' to delete items from default list of system libs used by core build. 2011-04-20 00:23 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/config/linux/libs.mk * harbour/config/android/libs.mk * filter out libraries which does not exists in android inside android not linux config files 2011-04-19 21:15 UTC+0200 Viktor Szakats * contrib/hbqt/hbqt_common.hbc ! do not satisfy the HBQT dependency when HB_BUILD_3RDEXT=no. Pls test. 2011-04-19 18:43 UTC+0200 Viktor Szakats * config/android/gccarm.mk - config/android/mingw.mk * Fixed to prev. Test these, I didn't do. 2011-04-19 18:39 UTC+0200 Viktor Szakats * src/common/hbtrace.c * contrib/xhb/hbsyslog.c - Deleted Android specific logging. syslog works good. + config/android + config/android/libs.mk + config/android/gcc.mk + config/android/gccarm.mk + config/android/global.mk + config/android/mingw.mk + Added android specific core build files. They are all redirected to linux. * config/linux/libs.mk + Do not add rt and pthreads libs for android targets. 2011-04-19 17:55 UTC+0200 Viktor Szakats * include/harbour.hbx * src/rtl/version.c * Renamed recently added function HB_OSBITWIDTH() to HB_OSIS64BIT() 2011-04-19 16:15 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/filesys.c ! fixed typo in HB_TR_DEBUG message - thanks to Tamas 2011-04-19 16:09 UTC+0200 Viktor Szakats * contrib/3rd/sqlite3/sqlite3.c * contrib/3rd/sqlite3/sqlite3.dif * contrib/3rd/sqlite3/sqlite3.h * contrib/3rd/sqlite3/sqlite3.hbp * update sqlite to 3.7.6.2 [Tamas Tevesz] 2011-04-19 16:07 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbmzip/3rd/minizip/minizip.dif * regenerated using: ../../../../bin/hb3rdpat.hbs -rediff 2011-04-19 15:11 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/vm/procaddr.c ! removed dummy entry at the end of function table * harbour/src/common/hbstr.c * harbour/src/rdd/dbfcdx/dbfcdx1.c * harbour/src/rdd/hsx/hsx.c * harbour/contrib/xhb/fparse.c * pacified warnings * harbour/include/hbsetup.h * disabled flatten function attribute in ANDROID builds, it causes that Android_NDK-GCC GPFs compiling src/vm/procaddr.c * harbour/include/hbdate.h * enabled localtime_r() in Android builds * harbour/src/common/hbgete.c * enabled setenv() in Android builds * harbour/src/common/hbtrace.c ! fixed ANDROID_LOG_* flags ; QUESTION: why Android log is used instead of syslog? It causes that harbour has to be linked with log library (-llog). * harbour/src/common/hbprintf.c * disabled modfl() in Android builds * harbour/src/rtl/filesys.c * added hack for missing functions in android libc library * harbour/src/rtl/diskspac.c * harbour/src/rtl/disksphb.c * use statfs instead of statvfs in Android builds * harbour/contrib/hbct/dattime3.c * disabled stime() in Android builds * harbour/contrib/hbmzip/3rd/minizip/ioapi.h * do not use 64-bit FILE functions in Android builds * harbour/contrib/xhb/hbsyslog.c * disabled using Android log in Android builds - use standard syslog instead. This code needs deeper modification to switch to Android log. ; I have just recompiled whole Harbour code for android-3, android-5 and android-9 at ARM using standard Harbour Linux build files. Android does not have pthread and rt libraries (they are merged with android c library) so to avoid link errors I simply created soft links from libpthread.a and librt.a to libc.a. With this hack could use unmodified hbmk2 and linux .mk files. BTW exporting HB_CPU="arm" was not enough to switch to cross build in my x86@64 Linux machine so I had to export HB_HOST_BIN and set HB_BUILD_3RDEXT="no" 2011-04-19 13:54 UTC+0200 Viktor Szakats * ChangeLog * Corrected some old text. * config/wce/mingw.mk * Fixed to include mingwarm. Note however that x86 wce targets are extremely rare, so it's unlikely that you need this. 2011-04-18 18:29 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/ideskeletons.prg ! Fixed: a recent regression ( :setStyleSheet() on oXbp ). 2011-04-18 18:04 UTC+0200 Viktor Szakats * config/detect.mk ! Deleted OS X specific (MacPorts) autodetection location for pcre. Now it's using locally hosted version. This was the error without this: --- libtool: can't locate file for: -lpcre libtool: file: -lpcre is not an object file (not allowed in a library) make[3]: *** [libharbour.2.1.0.dylib] Error 1 --- 2011-04-18 17:21 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapifs.h * harbour/src/rtl/filesys.c + added new C function: int hb_fsIsPipeOrSock( HB_FHANDLE hPipeHandle ); * harbour/src/rtl/filesys.c + added protection against slow function interrupting by signals in *nixes 2011-04-18 16:27 UTC+0200 Viktor Szakats * include/harbour.hbx + added HB_PREAD 2011-04-18 09:33 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapifs.h * harbour/src/rtl/filesys.c + added new C functions: HB_BOOL hb_fsPipeCreate( HB_FHANDLE hPipe[ 2 ] ); HB_SIZE hb_fsPipeIsData( HB_FHANDLE hPipeHandle, HB_SIZE nBufferSize, HB_MAXINT nTimeOut ); HB_SIZE hb_fsPipeRead( HB_FHANDLE hPipeHandle, void * buffer, HB_SIZE nSize, HB_MAXINT nTimeOut ); * harbour/src/rtl/philes.c + added new PRG function: HB_PREAD( <nPipeHandle>, <@cBuffer>, [<nBytes>], [<nTimeOut>] ) -> <nBytesRead> It can be used for unblocking read from pipes, i.e. using handles returned by hb_processOpen() function. <nPipeHandle> is pipe read handle <cBuffer> is string variable passed by reference with read buffer <nBytes> is maximum number of bytes which can be read <nTimeOut> is timeout in milliseconds to wait for data to read, this function returns when at least one byte can be read <nBytesRead> is number of bytes read from the pipe, on error this function return -1. * harbour/src/rtl/hbproces.c + add new implementation of hb_fsProcessValue() and hb_fsProcessClose() for OS2 which uses OS2 API * use hb_fsPipeCreate() * harbour/src/rtl/hbjson.c * minor code reorganization to cleanup warning 2011-04-18 09:33 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg * INSTALL + Added autodetection of mingwarm compilers under win hosts. 2011-04-18 00:13 UTC+0200 Viktor Szakats * contrib/hblzf/core.c ! Fixed AVOID_ERRNO usage. * contrib/hblzf/3rd/liblzf/lzf.hbc * contrib/hblzf/3rd/liblzf/lzf.hbp + Enabled AVOID_ERRNO for wce platform. * INSTALL + Described known issue when doing partial rebuild in contrib area for certain (e.g. wce) platforms where hbmk2 autodetection lags behind core build autodetection. 2011-04-17 11:03 UTC+0200 Viktor Szakats * config/global.mk * Minor text clarification. 2011-04-17 11:00 UTC+0200 Viktor Szakats * contrib/hbpost.hbm * config/global.mk * config/rules.mk * Renamed HB_BUILD_WINUNI -> __HB_BUILD_WINUNI to reflect its internal, non-documented status. * utils/hbmk2/hbmk2.pt_BR.po * utils/hbmk2/hbmk2.hu_HU.po * utils/hbmk2/hbmk2.es_PE.po * utils/hbmk2/hbmk2.prg + Added support for -winuni[-] option and winuni= .hbc options. * Changed 'unicode' filter to 'winuni' and 'ascii' to 'winansi'. ; This finishes pending TODO. * contrib/hbpost.hbm * Changed to use -winuni option instead of -cflag=-DUNICODE. 2011-04-16 11:59 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/gtwvg/gtwvg.c ! Fixed: a potential memory leak. 2011-04-17 05:13 UTC+0200 Viktor Szakats * INSTALL - Deleted HB_BUILD_WINUNI option. It's not documented option anymore. Pls don't use it. Use UNICOWS solution if you need Win9x/ME support. Pls also note that _building Harbour_ on Win9x/ME systems is deprecated (as it is only possible to build Harbour in non-UNICODE version in such scenario). * config/global.mk - Deleted some built-in build names which only differed in WINUNI setting. 2011-04-16 23:04 UTC+0200 Viktor Szakats * contrib/hbxbp/xbpfiledialog.prg * contrib/hbxbp/tests/xbpqtc.prg * contrib/hbxbp/xbpbrowse.prg * contrib/hbxbp/xbpgeneric.prg * contrib/hbqt/gtqtc/gtqtc.cpp * contrib/hbqt/qtcore/hbqt_pointer.cpp * contrib/hbqt/qtcore/qth/HBQSlots.qth * contrib/hbqt/qtcore/qth/HBQEvents.qth * contrib/hbqt/qtcore/hbqt_hbqslots.cpp * contrib/hbqt/tests/demoqt.prg * contrib/hbide/hbqreportsmanager.prg * contrib/hbide/idemain.prg * contrib/hbide/ideeditor.prg ! HB_TR_ALWAYS -> HB_TR_DEBUG. Neverending battle with abused debugging facilities continue. Please _never_ use HB_TR_ALWAYS in committed code, not even in commented lines because it's confusing, it trashes console on *nix systems, it creates a rubbish/unfinished feel for anyone trying out these components and it creates unnecessary noise on lists in the form of problem reports. For those few developers who actually need these lines: _Set HB_TR_LEVEL on your development machine_ to HB_TR_DEBUG to get those debug lines!! Also: Never use HB_TR_ALWAYS as a mean of generating test output meant for users, I've found some of these in tests/ .prgs. Use something native instead, like a text box, msgbox, log file, OutStd(), QOut(), etc. If this won't change in the future, the best will be to simply remove HB_TR_ALWAYS from hbtrace.ch, thus making it unsuited for purposes it wasn't designed for. Thank you. * config/win/mingw.mk + Added commented -Wextra warning option which will be particularly interesting with the release of gcc 4.6, since they've finally implemented the last useful feature which was unique to BCC: -Wunused-but-set-variable and -Wunused-but-set-parameter See: https://gcc.gnu.org/gcc-4.6/changes.html 2011-04-16 11:59 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/ideactions.prg * contrib/hbide/idedocks.prg ! Adopted: to comply with latest hbXBP change where oXbp:setStyleSheet() was made PROTECed method. 2011-04-16 20:32 UTC+0200 Viktor Szakats * contrib/3rd/sqlite3/sqlite3.c * contrib/3rd/sqlite3/sqlite3.dif * contrib/3rd/sqlite3/sqlite3.h * contrib/3rd/sqlite3/sqlite3.hbp + update sqlite to 3.7.6.1 [Tamas Tevesz] 2011-04-16 20:27 UTC+0200 Viktor Szakats * include/hbstack.h * include/hbapi.h ! Marked functions as HB_EXPORT (should be HB_EXPORT_INT in the future) which are used by hbdebug lib. It caused link error when using '-b -shared' hbmk2 options on non-mingw windows compilers: hb_stackDebugInfo hb_macroGetType hb_macroGetValue hb_memvarGetValueBySym 2011-04-16 19:40 UTC+0200 Viktor Szakats * src/common/hbtrace.c * contrib/xhb/hbsyslog.c + Added Android specific logging support. Untested. * contrib/xhb/hbsyslog.c ! Disabled syslog() call for Symbian. * include/hbsetup.h + Added Android OS platform detection. Untested. * utils/hbmk2/hbmk2.prg % Disabled some very old HB_INSTALL_PREFIX autodetection logic, which supports some obsolete looking scenarios when hbmk2 executable is not in standard location. Rest of logic and failure detection rearranged accordingly. After this step hbmk2 no more requires harbour executable to be present next to it. IMPORTANT: This is live testing, pls report any problems. 2011-04-16 09:30 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbxbp/xbpfontdialog.prg ! Minor. * contrib/hbxbp/xbpwindow.prg ! Protected: :setStyleSheet() method. It was not Xbase++ compatible so to achieve exactly Xbase++ compatibility, this is necessary. 2011-04-16 16:53 UTC+0200 Viktor Szakats + contrib/hbqt/tests/testres.hbp + Added project file for testres. * contrib/hbqt/tests/wvtqt.hbp * Cleaned. 2011-04-15 22:43 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbxbp/xbpfontdialog.prg * contrib/hbxbp/xbpmenubar.prg * contrib/hbxbp/xbpstatic.prg * contrib/hbxbp/xbpwindow.prg ! Restructured: Presentation Parameters engine. Restored: CSS enabled presentation parameters management. Perhaps this is the only way to handle many artifacts cummulatively. The engine is enhanced to offer users as Harbour extenstion, to enhance GUI components. oXbp:setStyleSheet( cIdentifier, cCSS ) where <cIdentifier> can be used to re-arrange widget attributes. * contrib/hbxbp/tests/demoxbp.prg ! Commented-out but adopted to new protocol :setStyleSheet() calls. 2011-04-15 22:03 UTC+0200 Viktor Szakats * contrib/hbqt/hbmk2_qt.hbs * contrib/hbrun/headers.prg * contrib/hbrun/plugins.prg * utils/hbmk2/hbmk2.prg * formatting on streaminclude directives 2011-04-15 22:03 UTC+0200 Viktor Szakats * include/hbapi.h * include/harbour.hbx * src/common/hbver.c * src/rtl/version.c + added hb_verHostBitWidth( void ) -> int which retrieves bit width of host OS + added HB_OSBITWIDTH() -> <nBits> ; It will currently work on win platform, falling back to target arch bits for others. Pls extend it for *nixes. For MS-DOS, 32 will be returned with both currently supported compilers. 2011-04-15 09:59 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbxbp/xbppushbutton.prg ! Fixed: :activate was firing event twice, on press and release, both. * contrib/hbxbp/xbpwindow.prg ! Fixed: to reset window size as per GUI norms. Xbase++ seems wrong on this account where XbpDialog() height is "excluding" window frame-height whereas width is "inclusing" frame-width. 2011-04-15 01:52 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbxbp/xbpwindow.prg ! Depricated: setting fore/background colors of a part via style sheet which was raising some issues. It needs further rationalization as well for some type of components. 2011-04-15 10:21 UTC+0200 Viktor Szakats * include/harbour.hbx + added HB_MUTEXEVAL * utils/hbmk2/hbmk2.prg * utils/hbmk2/*.po + Added note to -l option: 'Do not add core Harbour libraries, they are automatically added as needed.' * utils/hbmk2/hbmk2.hbp ! Deleted bad hack linking in hbcplr, hbpp, hbcommon on non-mingw win compilers. 2011-04-15 00:59 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbxbp/xbpfontdialog.prg * contrib/hbxbp/xbpparthandler.prg * contrib/hbxbp/xbpwindow.prg ! Fixed: XbpFont() as per Xbase++ documentation. 2011-04-14 18:23 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/gtqtc/gtqtc.cpp * contrib/hbqt/gtqtc/gtqtc.h ! More additions. * contrib/hbxbp/tests/hbmk.hbm + Added: -mt switch. + contrib/hbxbp/tests/print.png + Added: long missed resource. * contrib/hbxbp/xbpcrt.prg ! More synchronized. + contrib/hbxbp/tests/xbpqtc.prg + Added: an XBP and QTC specific demonstartion which also offers Qt console(s) as threaded modules. 2011-04-14 11:59 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/gtqtc/gtqtc.hbc ! Fixed: compilable for static linking on nix*es. 2011-04-14 20:20 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/vm/thread.c * renamed hb_criticalCode() to hb_mutexEval() * harbour/src/rtl/cdpapi.c * added HB_CODEPAGE_ANNOUNCE( UTF8 ) so user can use REQUEST HB_CODEPAGE_UTF8 in PRG code. * harbour/tests/big5_gen.prg ; added note about characters mapped to U+FFFD REPLACEMENT CHARACTER in BIG5.TXT and iconv mapping for the same characters. 2011-04-14 15:38 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/vm/thread.c + added new function: hb_criticalCode( <pMtx>, <bCode> | <@sFunc()> ) -> <xCodeResult> it executes <bCode> or @sFunc() when <pMtx> is locked by this function. ! fixed hb_mutexQueueInfo() to not overwrite RTE subst value. This function may only return .T. or generate RTE so the logical return value is useless. I think that it should be removed and this function should simply return NIL. * updated syntax of PRG functions 2011-04-13 18:20 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtcore/qth/HBQEvents.qth * contrib/hbqt/qtcore/qth/HBQSlots.qth ! Commented out tracelogs. * contrib/hbqt/gtqtc/gtqtc.cpp * contrib/hbqt/gtqtc/gtqtc.h ! Improved: object handelling. * contrib/hbxbp/xbpgeneric.prg ! Minor. * contrib/hbxbp/xbpcrt.prg + Functional: the class is functional to an extent. Example code in reply-message to this commit on dev-list. NOTE: now this seems possible that Harbour can have a pure GUI along with a console inside it to pave a way for seemless migration to GUI world. See example code. 2011-04-13 03:13 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added FIXME. There is a build error caused by gpm, when trying to build 64-bit Harbour on a 32-bit Ubuntu (10.10) Linux. gpm lib is not available in 64-bit form, but 32-bit hbmk2 is built flagged with HB_HAS_GPM, so when run it will want to include gpm also for 64-bit target. I'm not sure what is the solution for this. Ideally hbmk2 should dynamically decide if gpm is really required for a given target. It could e.g. look into gttrm lib to check for this. [ though maybe this build scenario is just too awkward for any sane purpose, even more so because X11 is also not available in 64-bit form, limiting its use even more. Probably it's more realistic goal to cross-build 32-bit targets on a 64-bit host. ] 2011-04-13 22:33 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg * utils/hbmk2/*.po + Added -nodefgt[-] command-line option and nodefgt=[yes|no] .hbc commands. It will disable linkage of default GT when creating statically linked application. It's little hakish solution, so pls be careful when playing with it. % Only link to gpm lib if any of GTTRM, GTCRS or GTSLN GTs are actually linked. (it can be useful in conjunction with -nodefgt option) 2011-04-13 21:31 UTC+0200 Viktor Szakats * contrib/hbxbp/xbpparthandler.prg ! fixed to not use != operator on strings 2011-04-13 12:18 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbxbp/xbpparthandler.prg ! Fixed: fading inner XbpDialog() while moving the parent ( not owner ). 2011-04-13 21:13 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! fixed RTE when using invalid GT name from command-line ('hbmk2 test -gt.') 2011-04-13 11:45 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbxbp/xbpparthandler.prg ! Changed: ::aOwned to ::_aOwned to suggest that this is internal. 2011-04-13 17:19 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbnetio/netiosrv.c * harbour/contrib/hbnetio/readme.txt + added new server function: NETIO_VERIFYCLIENT( <pConnectionSocket> ) -> <lAccepted> By default client verification is done inside NETIO_SERVER() function but some servers may want to verify client password before they execute some expensive initialization code necessary for RPC executed from NETIO_SERVER() 2011-04-13 14:12 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/cdpapi.c ! fixed U+0000 conversion - it should not be converted. * harbour/src/rtl/hbjson.c ! fixed decoding unicode value from strings with \uHHHH ! fixed to use hb_cdpU16ToStr() instead of hb_cdpGetChar() which cannot be used with CPs using multibyte encoding. * harbour/ChangeLog ! fixed typos in my previos ChangeLog entry (I should try to read such things at least once before I'll commit) ; FIXME: contrib/hbexpat/internal.c: uses hb_cdpGetU16() which cannot be used with CPs using multibyte encoding. 2011-04-13 11:07 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapicdp.h * harbour/include/hbcdpreg.h * harbour/src/rtl/cdpapi.c * harbour/src/rtl/cdpapihb.c + added support for user defined character encoding. Now it's possible to easy create and register in HVM CPs any encoding so I expect that users interested in adding support for new exotic character encoding will create such mapping instead of asking for it. % moved support for codepages using multibyte characters mapped to single unicode values to user defined encoding - it nicely simplified the code and eliminated unnecessary overhead in other CPs. * allow to chose UTF8 as HVM CP * harbour/src/rtl/idle.c ! fixed idle mode flag resetting * harbour/src/rdd/hbsix/sxutil.c ! fixed SX_SLIMFAST() result when nested quoting with (") and (') is used + harbour/tests/big5_gen.prg + added code to generate C source with conversion tables between BIG5 and UCS16 using data defined by Unicode, Inc. in BIG5.TXT https://unicode.org/Public/MAPPINGS/OBSOLETE/EASTASIA/OTHER/BIG5.TXT + harbour/src/codepage/cp_utf8.c + added alternative UTF8 Harbour CP (UTF8ASC) as an example of Harbour user defined codapged with multibyte character encoding * harbour/src/codepage/Makefile + harbour/src/codepage/cp_u16le.c + added Harbour codepage using UTF16 little endian encoding * harbour/src/codepage/Makefile + harbour/src/codepage/big5.c + harbour/src/codepage/cp_big5.c + added BIG5 Harbour CP. It can be used with programs using Harbour STR API with automatic translations. ; This CP needs really big translation tables. I added code which makes some very simple compression which reduced raw size from 176100 bytes to 77354 but it's still large (77 kB) so maybe we should think about moving this CP to other Harbour codpage library which is not part of harbour shared library harbour*{.dll|.so|.dyn|...} Alternatively I can try to reduce static size to about 30 kB and then build necessary tables dynamically at runtime when they are used first time though in such case I will need additional 176 kB of dynamic memory instead of 77 kB of static memory used by current code. 2011-04-13 04:56 UTC+0200 Viktor Szakats * src/rtl/fstemp.c ! hb_fsTempDir(): due to misplaced else branch it returned './' on *nix systems when temp dir ended with pathsep, for the same reason it return empty string instead of './' if temp dir could not be determined. ; Please check me. 2011-04-13 04:13 UTC+0200 Viktor Szakats + contrib/hbunix/chdir.c * contrib/hbunix/hbunix.hbp * contrib/hbunix/hbunix.hbx + POSIX_CHDIR( <cNewDir> ) -> <nResult> also sets errno on error * contrib/hbunix/chroot.c ! copypaste typo in header comment 2011-04-13 04:01 UTC+0200 Viktor Szakats * contrib/hbunix/chroot.c ! following suit with the others functions, on error, errno should be saved. + further, in about 101% of the cases, chroot() is to be followed by a chdir("/"), so i think it would be right to include this right here. ; [Tamas Tevesz] 2011-04-13 02:09 UTC+0200 Viktor Szakats + contrib/hbunix/chroot.c * contrib/hbunix/hbunix.hbp * contrib/hbunix/hbunix.hbx + Added UNIX_CHROOT() * contrib/hbqt/hbqt_common.hbc ! Exclude pcc compiler 2011-04-12 16:40 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/gtqtc/gtqtc.cpp * contrib/hbqt/gtqtc/gtqtc.h ! Fixed: to be compiled on *nixes. 2011-04-12 13:08 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbxbp/xbpgeneric.prg * contrib/hbxbp/xbpwindow.prg ! Fixed: where XbpDialog() was calculating positions incorrectly for whole frame instead of primary monitor. 2011-04-12 12:42 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/gtqtc/gtqtc.cpp * contrib/hbqt/gtqtc/gtqtc.h ! Fixed to be compilable on nix*es. 2011-04-12 13:40 UTC+0200 Viktor Szakats * contrib/hbcurl/core.c ! fix double free in PHB_CURL_free. hb_curl_form_free walks the linked list. Calling it again on the last item results in a double free. [Benjamin Jacobs] (Thank you very much!) 2011-04-12 01:16 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbxbp/hbxbp.hbc * contrib/hbxbp/hbxbp.hbp * contrib/hbxbp/hbxbp.hbx + contrib/hbxbp/xbpcrt.prg + Added: XbpCrt() class. It is just a skelton code yet. 2011-04-12 00:58 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) - contrib/hbqt/gtqtc/gtqtc.hbx - Removed: unwanted .hbx. 2011-04-12 00:37 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbxbp/xbpgeneric.prg ! Fix( try ) to calculate desktop width for primary monitor. * contrib/hbxbp/xbpparthandler.prg ! Fixed: RTE while moving a window with owned windows. * contrib/hbxbp/xbpwindow.prg ! Fix( try ) to have width exactly that of Xbase++ size. 2011-04-11 22:45 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) + contrib/hbqt/gtqtc.hbc + contrib/hbqt/gtqtc/gtqtc.hbc + contrib/hbqt/gtqtc/gtqtc.hbm + contrib/hbqt/gtqtc/gtqtc.hbp + contrib/hbqt/gtqtc/gtqtc.hbx + contrib/hbqt/gtqtc/gtqtcs.hbp * contrib/hbqt/hbqt.hbc * contrib/hbqt/hbqt_all.hbp + Added: makefiles for gtqtc library. 2011-04-12 04:00 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg * replaced common.ch IS*() macros with hb_is*() functions 2011-04-12 03:50 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fixed potential RTE occurring at filter expression evaluation time (e.g. with filter {x86-64}) + Added warning (suppressible with -quiet) when any error in filter expression formation or evaluation is found. 2011-04-12 03:33 UTC+0200 Viktor Szakats * contrib/hbqt/qtgui/hbqtgui.hbx * contrib/hbqt/qtgui/hbqtgui.hbm - contrib/hbqt/qtgui/gtqtc.h - contrib/hbqt/qtgui/gtqtc.cpp + contrib/hbqt/gtqtc + contrib/hbqt/gtqtc/gtqtc.cpp + contrib/hbqt/gtqtc/gtqtc.h * Moved readded GTQTC related files to their original position. Please add build files (e.g. from old SVN) and add them to HBQT core makefiles, like e.g. for hbqtsql. IMPORTANT: .hbx is not required for any GT, so it's not needed for GTQTC either. * contrib/hbqt/hbqt_common.hbm * utils/hbmk2/hbmk2.prg * config/bsd/pcc.mk * pcc fixups [Tamas Tevesz] * utils/hbmk2/hbmk2.prg + Added pcc to help screen * config/bsd/pcc.mk * XXX -> TODO * INSTALL + Added pcc to more platforms. 2011-04-11 17:19 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/hbqtgui.hbm * contrib/hbqt/qtgui/hbqtgui.hbx + contrib/hbqt/qtgui/gtqtc.cpp + contrib/hbqt/qtgui/gtqtc.h + Reintroduced: half-cooked console implementation of hbQT. This time it is targeted to provide a console widget inside GUI MDI inetrface to run Clipper console code alongside GUI controls. DISCLAIMER: this is an effort and still don't know if I will succeed or be failure. But if I do succeed, it will allow the migration of existing Harbour console applications to GUI world easily. * contrib/hbxbp/xbpparthandler.prg * contrib/hbxbp/xbpwindow.prg ! Fixed: error generated at after an owned XbpDialog() is deleted. 2011-04-11 15:44 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/hbqt_hbqabstractitemmodel.cpp ! Minor. * contrib/hbxbp/xbpwindow.prg ! Fixed: :currentSize() was not returning the correct values in case of XbpDialog(). 2011-04-11 13:13 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbxbp/xbpparthandler.prg * contrib/hbxbp/xbpwindow.prg + Implemented: Xbase++ compatible :moveWithOwner feature. Any dialog with :moveWithOwner set to TRUE will move together with its owner if user moves the window which owns them. 2011-04-11 13:00 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbxbp/xbpdialog.prg * contrib/hbxbp/xbpparthandler.prg ! Fixed: window geometry while converting to/from as MDI client. 2011-04-11 09:41 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/idemain.prg ! Fixed: to restore the last run state of hbIDE. It was forgetting docking widgets geometry. 2011-04-11 09:36 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtcore/qth/HBQEvents.qth - Removed: tracelogs. * contrib/hbqt/qtgui/hbqt_hbqabstractitemmodel.cpp ! Optimizations only. * contrib/hbxbp/xbpbrowse.prg * contrib/hbxbp/xbpdialog.prg * contrib/hbxbp/xbpgeneric.prg * contrib/hbxbp/xbpparthandler.prg + Implemented: Xbase++ compatible MDI engine. Now Xbase++ code can be compiled and run with this feature, Shum ? DONE: fix some small artifacts when XbpDialog() is made a MDI client. Resuming it back to desktop it is ok. 2011-04-10 12:43 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapicdp.h * harbour/src/rtl/cdpapi.c * removed fCtrl parameter from hb_cdp*() functions. It was used only in very specific case for GT output translations to show characters with ASCII codes in range < 0x00 : 0x1F > as corresponding CGA/EGA/VGA glyphs and was not necessary in normal conversions + added new function for character translation in GT output operations: hb_cdpTranslateDispChar(), hb_cdpGetU16Disp(),hb_cdpStrToUTF8Disp() * some small fixes, simplifications and improvements in CDP translation code * harbour/src/vm/strapi.c * harbour/src/rtl/cdpapihb.c * harbour/src/rtl/hbjson.c * harbour/contrib/hbexpat/internal.c * removed not longer necessary parameter from hb_cdp*() functions * harbour/src/rtl/gtdos/gtdos.c * harbour/src/rtl/gtwin/gtwin.c * harbour/src/rtl/gtxwc/gtxwc.c * harbour/src/rtl/gtcrs/gtcrs.c * harbour/src/rtl/gtstd/gtstd.c * harbour/src/rtl/gttrm/gttrm.c * harbour/src/rtl/gtsln/gtsln.c * harbour/src/rtl/gtsln/kbsln.c * harbour/src/rtl/gtpca/gtpca.c * harbour/src/rtl/gtwvt/gtwvt.c * harbour/contrib/gtwvg/gtwvg.c * harbour/contrib/gtwvg/wvggui.c * use hb_cdp*Disp() functions instead of old ones with fCtrl=HB_TRUE parameter * removed not longer necessary fCtrl parameter from other hb_cdp*() functions * harbour/src/codepage/uc646_yu.c * harbour/src/codepage/uc737.c * harbour/src/codepage/uc775.c * harbour/src/codepage/uc850.c * harbour/src/codepage/uc852.c * harbour/src/codepage/uc855.c * harbour/src/codepage/uc856.c * harbour/src/codepage/uc857.c * harbour/src/codepage/uc860.c * harbour/src/codepage/uc861.c * harbour/src/codepage/uc862.c * harbour/src/codepage/uc863.c * harbour/src/codepage/uc864.c * harbour/src/codepage/uc865.c * harbour/src/codepage/uc866.c * harbour/src/codepage/uc869.c * harbour/src/codepage/uc874.c * harbour/src/codepage/uc1006.c * harbour/src/codepage/uc1125.c * harbour/src/codepage/uc1250.c * harbour/src/codepage/uc1251.c * harbour/src/codepage/uc1252.c * harbour/src/codepage/uc1253.c * harbour/src/codepage/uc1254.c * harbour/src/codepage/uc1255.c * harbour/src/codepage/uc1256.c * harbour/src/codepage/uc1257.c * harbour/src/codepage/uc1258.c * harbour/src/codepage/uc8859_1.c * harbour/src/codepage/uc88591b.c * harbour/src/codepage/uc8859_2.c * harbour/src/codepage/uc8859_3.c * harbour/src/codepage/uc8859_4.c * harbour/src/codepage/uc8859_5.c * harbour/src/codepage/uc8859_6.c * harbour/src/codepage/uc8859_7.c * harbour/src/codepage/uc8859_8.c * harbour/src/codepage/uc8859_9.c * harbour/src/codepage/uc885910.c * harbour/src/codepage/uc885911.c * harbour/src/codepage/uc885913.c * harbour/src/codepage/uc885914.c * harbour/src/codepage/uc885915.c * harbour/src/codepage/uc885916.c * harbour/src/codepage/ucascii.c * harbour/src/codepage/ucatari.c * harbour/src/codepage/uckam.c * harbour/src/codepage/uckoi8.c * harbour/src/codepage/uckoi8u.c * harbour/src/codepage/ucmacce.c * harbour/src/codepage/ucmaccyr.c * harbour/src/codepage/ucmacgrk.c * harbour/src/codepage/ucmacice.c * harbour/src/codepage/ucmacrom.c * harbour/src/codepage/ucmactrk.c * harbour/src/codepage/ucmaz.c * harbour/src/codepage/ucmik.c * harbour/src/codepage/ucnext.c * removed not longer necessary unicode codes in range < 0x00 : 0x1F > Now it's possible to define additional characters in this range though I suggest to not use edit/flow control codes (BEL, BS, TAB, LF, CR, XON, XOFF) * harbour/src/codepage/uc037.c * harbour/src/codepage/uc424.c * harbour/src/codepage/uc500.c * harbour/src/codepage/uc875.c * harbour/src/codepage/uc1026.c * restored EBCDIC control codes 2011-04-10 02:17 UTC+0200 Viktor Szakats * INSTALL ! update to osx unibin config info 2011-04-10 01:58 UTC+0200 Viktor Szakats * src/rtl/gtxwc/gtxwc.c % undone small optimization in 2011-04-04 10:48 UTC+0200 Przemyslaw Czerpak because it caused random app stalls where the app would only continue if some input events were manually made. Cursor blinking also only happened on input events. I've seen this issue on Ubuntu 10.10 and latest OS X. After this patch, it works OK again. Przemek, please review this patch, most probably there is a solution which keeps the optimization and avoids this problem. 2011-04-10 01:26 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/cdpapi.c ! some fixes for future CPs which may have together multibyte characters with and without single UNICODE representation. 2011-04-09 11:08 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/hbqt_hbqabstractitemmodel.cpp ! Fixed: to supply strings per UTF8 conversion to Qt. Now it is equivalent to hbQT engine. 2011-04-09 13:35 UTC+0200 Viktor Szakats * src/3rd/png/pngwrite.c * src/3rd/png/pngconf.h * src/3rd/png/pngwtran.c * src/3rd/png/pngpread.c * src/3rd/png/LICENSE * src/3rd/png/pngrutil.c * src/3rd/png/png.dif * src/3rd/png/pnglconf.h * src/3rd/png/pngread.c * src/3rd/png/png.c * src/3rd/png/png.h * src/3rd/png/pngpriv.h * src/3rd/png/pngrtran.c * src/3rd/png/Makefile * src/3rd/png/pngtrans.c + update png to 1.5.2 [Tamas Tevesz] 2011-04-07 21:53 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbxbp/xbpdialog.prg ! Fixed: window hiding/terminating behavior on QEvent_Close as per recent fix in hbQT. 2011-04-07 16:21 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/hbqt_hbqabstractitemmodel.cpp ! Fixed: a last minute change in previous commit. 2011-04-07 16:21 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtcore/hbqt.h ! Missed from prev commit. 2011-04-07 16:17 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtcore/qth/QBitArray.qth * contrib/hbqt/qtcore/qth/QBuffer.qth * contrib/hbqt/qtcore/qth/QByteArray.qth * contrib/hbqt/qtcore/qth/QChar.qth * contrib/hbqt/qtcore/qth/QDataStream.qth * contrib/hbqt/qtcore/qth/QDate.qth * contrib/hbqt/qtcore/qth/QDateTime.qth * contrib/hbqt/qtcore/qth/QDir.qth * contrib/hbqt/qtcore/qth/QEvent.qth * contrib/hbqt/qtcore/qth/QEventLoop.qth * contrib/hbqt/qtcore/qth/QFile.qth * contrib/hbqt/qtcore/qth/QFileInfo.qth * contrib/hbqt/qtcore/qth/QGenericArgument.qth * contrib/hbqt/qtcore/qth/QGenericReturnArgument.qth * contrib/hbqt/qtcore/qth/QLatin1Char.qth * contrib/hbqt/qtcore/qth/QLatin1String.qth * contrib/hbqt/qtcore/qth/QLineF.qth * contrib/hbqt/qtcore/qth/QList.qth * contrib/hbqt/qtcore/qth/QLocale.qth * contrib/hbqt/qtcore/qth/QMimeData.qth * contrib/hbqt/qtcore/qth/QModelIndex.qth * contrib/hbqt/qtcore/qth/QObject.qth * contrib/hbqt/qtcore/qth/QRect.qth * contrib/hbqt/qtcore/qth/QRectF.qth * contrib/hbqt/qtcore/qth/QRegExp.qth * contrib/hbqt/qtcore/qth/QResource.qth * contrib/hbqt/qtcore/qth/QSettings.qth * contrib/hbqt/qtcore/qth/QSignalMapper.qth * contrib/hbqt/qtcore/qth/QSizeF.qth * contrib/hbqt/qtcore/qth/QStringList.qth * contrib/hbqt/qtcore/qth/QTextBoundaryFinder.qth * contrib/hbqt/qtcore/qth/QTextCodec.qth * contrib/hbqt/qtcore/qth/QTextDecoder.qth * contrib/hbqt/qtcore/qth/QTextEncoder.qth * contrib/hbqt/qtcore/qth/QTextStream.qth * contrib/hbqt/qtcore/qth/QTime.qth * contrib/hbqt/qtcore/qth/QTimeLine.qth * contrib/hbqt/qtcore/qth/QTimer.qth * contrib/hbqt/qtcore/qth/QTranslator.qth * contrib/hbqt/qtcore/qth/QUrl.qth * contrib/hbqt/qtcore/qth/QVariant.qth ! Restructured: constructors. This achieves 99% compatibility of Qt's constructor methods. * contrib/hbqt/qtgui/hbqt_hbqabstractitemmodel.cpp ! Minor. * contrib/hbqt/qtcore/hbqt_pointer.cpp + Added: hbqt_getObjectType( iParam ); 2011-04-07 22:53 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbunix/hbposix.h * harbour/contrib/hbunix/uidgid.c * harbour/contrib/hbunix/posixerr.c * harbour/contrib/hbnetio/hbnetio.ch * harbour/contrib/gtwvg/tests/demowvg1.prg * harbour/contrib/hbqt/tests/browqt.prg * harbour/contrib/hbqt/qtsql/hbqtsql.hbm * harbour/contrib/hbqt/qtsql/hbqtsql.hbp * harbour/contrib/hbqt/qtsql/hbqtsql.ch * harbour/contrib/hbqt/qtsql/hbqtsql.hbc * harbour/contrib/hbqt/qtsql/hbqtsqls.hbp * harbour/contrib/hbqt/qtsql/qth/filelist.hbm * harbour/contrib/hbqt/qtsql/hbqtsql.hbx * harbour/contrib/hbqt/hbqtsql.hbc * harbour/contrib/hbfship/dbsetloc.c * harbour/contrib/hbfship/users.c * harbour/contrib/hbfship/exec.c * harbour/contrib/hbfship/index.c * harbour/tests/speedstr.prg * cleaned SVN attributes 2011-04-07 16:05 UTC+0200 Viktor Szakats * src/rtl/fserr.c * src/rtl/gtapi.c * src/rtl/natmsg.c * src/rdd/dbf1.c ! Fixed trace messages. [Tamas Tevesz] 2011-04-07 11:56 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/vm/thread.c * cleaned comment * harbour/src/common/hbdate.c ! fixed typo in hb_dateMilliSeconds() on platforms using ftime() function. 2011-04-06 19:39 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtcore/hbqtcore.h * contrib/hbqt/qtgui/hbqt_hbqabstractitemmodel.cpp * contrib/hbqt/qtgui/hbqtgui.h ! Updated: HBQT_TYPE_Q*Class with latest values. * contrib/hbxbp/xbpbrowse.prg ! Optimized to hold QIcon's and QColor's in hashes. 2011-04-06 18:21 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtcore/hbqt_hbqevents.cpp ! QEvent:Close now returns TRUE to the calling loop. Now this is the responsibility of the user code to set an event to be accepted or ignored. 2011-04-06 17:48 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/CREDITS.txt ! Updated: credits. 2011-04-06 17:20 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtcore/hbqt_hbqevents.cpp ! Restore the point of execution when QEvent::Close is set to ignore(). This might have impact on user code where it is set to any other value. * contrib/hbqt/qtgui/qth/QColor.qth ! Fixed constructor. TODO: to review constructor code in all .qth's. 2011-04-06 20:15 UTC+0200 Maurilio Longo (maurilio.longo@libero.it) * harbour/src/common/hbdate.c ! Fixed OS/2 compilation, it was not using gettimeofday() and so hb_dateMilliSeconds() had a one second resolution effectively killing thread switching. 2011-04-05 06:56 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/hbqreportsmanager.prg * contrib/hbide/hbqtoolbar.prg ! Removed: some tracelogs. * contrib/hbqt/qtgui/qth/QBoxLayout.qth ! Detached: one child. * contrib/hbqt/qtgui/qth/QLabel.qth ! Improved: constructor to accept a string also. 2011-04-05 15:33 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/vm/hvm.c ! fixed missing write unreferencing in my last modification 2011-04-05 08:41 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/vm/hvm.c * extended item references created by hb_vmPushItemRef() so they can be used to create reference chain and detached in executed PRG code. Such reference chain is cleanly break when original reference item is removed from HVM stack. 2011-04-04 22:34 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/qth/HBQAbstractItemModel.qth ! Formatting. * contrib/hbide/ideprojmanager.prg ! Fixed: to "build a source" witout any environment set. Now hbmk2 is called from the folder where source resides. This feature assumes that hbMK2 is correctly executed, i.e., hbIDE is started from a console which is tuned to that effect. Alternatively, if a default project is defined, current environment overrides the above protocol. In the process hbmk.hbm residing in that folder is processed as usual by hbMK2. It means, in a folder one can keep all the source examples alongwith a hbmk.hbm and build those sources just by opening it. 2011-04-04 18:22 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtcore/qth/HBQString.qth * contrib/hbqt/qtcore/qth/QByteArray.qth * contrib/hbqt/qtcore/qth/QLocale.qth * contrib/hbqt/qtcore/qth/QVariant.qth * contrib/hbqt/qtgui/qth/QLabel.qth * contrib/hbqt/qtgui/qth/QLCDNumber.qth * contrib/hbqt/qtgui/qth/QMatrix.qth * contrib/hbqt/qtgui/qth/QPainter.qth * contrib/hbqt/qtgui/qth/QTransform.qth * contrib/hbqt/qtgui/qth/QWidget.qth * contrib/hbqt/qtnetwork/qth/QHttp.qth - Commented out: methods of duplicating parameters (Harbour types) to go through the modified generator engine. * contrib/hbqt/hbmk2_qt.hbs ! Restructured: c++ code which now handles arguments efficiently. hbIDE seems to be working fine but regression cannot be ruled out. NOTE: code is now less tolerent to number and type of arguments. ;TOREVIEW: all c++ source files one-by-one to detect wrong constructs which might be waiting to be fixed. 2011-04-04 10:48 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/gtxwc/gtxwc.c % small optimization ! added hack for multiple window resizing when user executes series of setmode() function. I'll look for cleaner solution in some spare time. 2011-04-03 12:47 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/qth/HBQGraphicsItem.qth * contrib/hbqt/qtgui/qth/HBQGraphicsScene.qth * contrib/hbqt/qtgui/qth/HBQPlainTextEdit.qth * contrib/hbqt/qtgui/qth/HBQTableView.qth ! Formatting. * contrib/hbxbp/xbpbrowse.prg ! Made constructor Xbase++ compatible. [Shum]. 2011-04-03 08:33 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/hbqtgui.ch + Added: QFormLayout_* constants. * contrib/hbqt/qtgui/qth/QWidget.qth ! Modified: :setParent( QWidget * w ) => :setParent( QWidget * w = 0 ) It is undocumented change but perhaps Qt has ommitted. Works fine. So to set the parent of a widget to nil is now easier. * contrib/hbqt/hbmk2_qt.hbs ! Code cleanup. ! Minor formatting. ! zimproved handelling of default parameters. ; ROUND # 1: More to follow. 2011-04-03 08:14 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/qth/QDockWidget.qth ! Detached: :setWidget(). 2011-04-02 17:22 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/qth/QDockWidget.qth * contrib/hbqt/qtgui/qth/QLayout.qth * contrib/hbqt/qtgui/qth/QWidget.qth ! Modified: constructors, detatchment, attachment. 2011-04-01 17:09 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/hbmk2_qt.hbs ! Optimized: hb_itemReturn( hb_stackSelfItem() ); is now inserted at the end of multi-functions methods. It will produce significantly reduced .cpp in size. 2011-04-01 12:55 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/hbqt_hbqgraphicsscene.cpp * contrib/hbqt/qtgui/hbqt_hbqtableview.cpp * contrib/hbqt/qtcore/hbqt_hbqevents.cpp ! Minor: class object encapsulated in new item. * contrib/hbqt/qtcore/hbqt_pointer.cpp ! Minor optimization. * contrib/hbqt/qtgui/qth/QBrush.qth + Added: some HBQT_TYPE_ constants which cannot be included when generated auto. * contrib/hbqt/qtgui/qth/QPainter.qth ! Started: to rewrite manually all classes as current engine is not good enough to do it auto. * contrib/hbide/hbqreportsmanager.prg ! Achieved: Reports Manager is reworking again. * contrib/hbqt/hbmk2_qt.hbs ! Changed the way constant HBQT_TYPE_Q*Class was constructed. Now Q*Class name is taken alone is submitted to hb_crc32(). 2011-04-01 18:10 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/package/harbour.spec * updated to work with current contribs and harbour shared library 2011-04-01 14:19 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/vm/itemapi.c ! fixed compilation in MT mode with some C compilers using HB_STACK_TLS_PRELOAD * updated also hb_itemParamStore() function to set NIL to item passed by reference when is called with NULL pItem parameter. 2011-04-01 13:56 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/vm/itemapi.c * set NIL to item passed by reference when hb_itemParamStoreForward() or hb_itemParamStoreRelease() is called with NULL pItem parameter. * harbour/contrib/hbnetio/netiosrv.c ! fixed possible memory leak when NETIO_SRVSTATUS( ..., NETIO_SRVINFO_PEERADDRESS, ... ) is called without 3rd parameter passed by reference * harbour/examples/gtwvw/gtwvw.c * replaced repeated TONE code with hb_gt_winapi_tone() + added MOUSE_GETPOS() method * harbour/examples/gtwvw/wvwtbar.c ! fixed to compile with Harbour 2011-04-01 00:19 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/rddads/ads1.c + added missing GOCOLD() method to ADS* RDDs 2011-03-31 12:55 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/ideharbourhelp.prg ! Fixed: a regression. * contrib/hbqt/hbmk2_qt.hbs ! Formatting. * contrib/hbqt/qtgui/hbqt_hbqgraphicsscene.cpp ! Formatting. * contrib/hbqt/tests/demoqt.prg ! QComboBox() demo code updated to insert items alphabetically. 2011-03-31 10:03 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/hbqreportsmanager.prg * contrib/hbide/idedocks.prg * contrib/hbqt/qtgui/hbqt_hbqgraphicsitem.cpp ! Minors. * contrib/hbqt/qtgui/qth/QPainter.qth ! Rewritten: manually :fillrect() which does not overload proper method with same number and types of arguments. FIXME: hbmk2_qt.hbs to entertain this construct. 2011-03-31 16:36 UTC+0100 Francesco Perillo ( fperillo at gmail.com ) * contrib/hbqt/hbmk2_qt.hbs * contrib/hbqt/qtcore/hbqt.h * contrib/hbqt/qtcore/hbqt_hbqevents.cpp * contrib/hbqt/qtcore/hbqt_hbqslots.cpp * contrib/hbqt/qtcore/hbqt_pointer.cpp * contrib/hbqt/qtcore/qth/HBQEvents.qth * contrib/hbqt/qtcore/qth/HBQSlots.qth * contrib/hbqt/qtgui/hbqt_hbqabstractitemmodel.cpp * contrib/hbqt/qtgui/hbqt_hbqgraphicsitem.cpp * contrib/hbqt/qtgui/hbqt_hbqgraphicsscene.cpp * contrib/hbqt/qtgui/hbqt_hbqplaintextedit.cpp * contrib/hbqt/qtgui/hbqt_hbqtableview.cpp * contrib/hbqt/qtgui/qth/HBQAbstractItemModel.qth * contrib/hbqt/qtgui/qth/HBQGraphicsItem.qth * contrib/hbqt/qtgui/qth/HBQGraphicsScene.qth * contrib/hbqt/qtgui/qth/HBQPlainTextEdit.qth * contrib/hbqt/qtgui/qth/HBQTableView.qth ! Fixed: implemented correct GC memory collection. Thanks to Przemek to have shown me the way. ! Fixed: some code has been changed PLEASE be sure to do a full "make clean" before compiling * contrib/hbqt/tests/testbrow.prg ! Fixed: eliminated STATIC variables or moved to LOCAL 2011-03-30 17:56 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/qth/QDropEvent.qth * contrib/hbqt/qtgui/qth/QGraphicsSceneDragDropEvent.qth ! Fixed: manual code creating HMV destroyable object. * contrib/hbqt/qtcore/hbqt_hbqslots.cpp ! Removed: tracelog entry. * contrib/hbide/hbqreportsmanager.prg * contrib/hbide/hbqtoolbar.prg * contrib/hbide/idebrowse.prg * contrib/hbide/idedocks.prg ! Removed: all occurances exploiting raw pointer with QList(). 2011-03-30 15:50 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/gtwvg/tests/demowvg.prg * contrib/gtwvg/tests/wvgmodal.prg * contrib/gtwvg/tests/wvgtbrowser.prg * contrib/gtwvg/tests/wvgutilities.prg ! Fixed: many artifacts which got broken with GT changes in a couple of years. + Added: a menu option which to execute a modal Harbour Gt window on top of a GUI window. + contrib/gtwvg/tests/demowvg1.prg + Added: a highly simplified demo for beginners to understand the underlying concepts how GUI controls can be exploited with CUI output. Press F2 which navigaing the GETS. This demo used GTWVG's inbuilt GUI controls handelling mechanism instead of devising one's own. This mechanism was introduced in GTWVG mush later that demowvg.prg was written. In future I will try to rewrite the demowvg.prg with in-built protocol. 2011-03-30 14:45 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Continue if there were no input files specified. This can be useful in some situations. * Show warning about no input files only when -info option is used. + Consider resource files as valid input files when showing above warning. 2011-03-30 14:20 UTC+0200 Viktor Szakats * src/rtl/gtwin/gtwin.c % Replaced kbd modifier readout with a more efficient version. It contains hack required to make core low-level function to work correctly with win consoles. Patch co-developed with Przemek. * contrib/hbtip/sendmail.prg ! Implemented fix to enclose attachment filenames in dbl quotes as suggested by George Frehner. Pls test. * contrib/hbtip/mail.prg * Formatting. 2011-03-30 13:40 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbgtinfo.ch ! fixed wrong decimal value defined for HB_GTI_KBD_RALT. * translated HB_GTI_KBD_* values from decimal to hex numbers to avoid such mistakes in the future. 2011-03-29 14:19 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/idebrowse.prg * contrib/hbide/idedocks.prg * contrib/hbide/ideedit.prg * contrib/hbide/ideprojmanager.prg ! Optimized: destructors. * contrib/hbxbp/xbpwindow.prg ! Minor. * contrib/hbqt/qtcore/qth/QStringList.qth ! Uncommented: many methods, commented one. * contrib/hbqt/hbmk2_qt.hbs + Implemented: QList< * > generating a list of Harbour objects. Now no more raw pointers generated with hb_retptr() in hbQT. Please review and test. WARNING: third party libs should check their sources to entertain this change. 2011-03-29 10:07 UTC+0200 Viktor Szakats * src/rtl/gtwin/gtwin.c - Fully disabled palette setting feature due to bad side effects reported by Mindaugas. Maybe it could be reenabled in some cases, pls refine it if you need this feature. Pls also retest, I have a hard time replicating this side-effect on my system. * INSTALL * Updated. mingw tdm 4.5.2 works fine again. * examples/hbdoc2/gentpl.prg ! Fixed typo reported on users' list by Emmer. 2011-03-29 09:55 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/vm/thread.c * pacified warnings * harbour/src/rtl/hbrandom.c ! fixed typo in previous commit * harbour/src/rtl/hbproces.c * minor formatting 2011-03-29 08:05 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/hbznet.c % use Z_PARTIAL_FLUSH instead of Z_SYNC_FLUSH in hb_znetFlush() It should reduce a little bit the size of compressed data stream. 2011-03-28 12:13 UTC+0200 Viktor Szakats * contrib/hbgs/core.c ! Fixed C++ warning. * contrib/hbmxml/3rd/minixml/mxml.hbp * contrib/hbmxml/3rd/minixml/mxml_fil.c * contrib/hbmxml/3rd/minixml/mxml_nod.c - contrib/hbmxml/3rd/minixml/minixml.dif * Updated. ; Patches from Tamas Tevesz. 2011-03-28 01:19 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtcore/hbqt_hbqevents.cpp * contrib/hbqt/qtcore/hbqt_hbqslots.cpp ! Code cleanup. * contrib/hbqt/qtcore/hbqt_misc.prg ! Changed: :connect()/:disconnect() not to generate RTE. * contrib/hbxbp/xbpwindow.prg ! Misspelled :disconnect() [ Francesco ]. * contrib/hbide/hbqreportsmanager.prg * contrib/hbide/hbqtoolbar.prg * contrib/hbide/idebrowse.prg * contrib/hbide/idedict.prg * contrib/hbide/idedocks.prg * contrib/hbide/ideeditor.prg * contrib/hbide/ideenviron.prg * contrib/hbide/ideformat.prg * contrib/hbide/idefunctions.prg * contrib/hbide/ideharbourhelp.prg * contrib/hbide/idehome.prg * contrib/hbide/idemain.prg * contrib/hbide/idemisc.prg * contrib/hbide/ideplugins.prg * contrib/hbide/ideprojmanager.prg * contrib/hbide/idesaveload.prg * contrib/hbide/ideshortcuts.prg * contrib/hbide/idesources.prg * contrib/hbide/idethemes.prg * contrib/hbide/idetools.prg ! Optimized: desructors. Now hbIDE has around 769 unreleased blocks if started afresh and exited without openening any source. 2011-03-27 12:45 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapi.h * harbour/src/rtl/hbrandom.c added new C functions which fills memory block with random values: void hb_random_block( void * data, HB_SIZE len ) this function should be used with "good enough" random generator so in the future it may be changed to use internally something different than rand(). * harbour/src/vm/thread.c * pacified minor warning 2011-03-26 00:13 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) + contrib/hbqt/hbqtsql.hbc ! Miss from prev commit. * contrib/hbqt/qtgui/qth/QDropEvent.qth * contrib/hbqt/qtsql/qth/QSqlQuery.qth ! Manual code insertion/modification. 2011-03-26 03:32 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/hbproces.c ! fixed one HB_TRUE wrongly used instead of TRUE * minor simplification * harbour/include/hbgtinfo.ch * harbour/src/rtl/hbgtcore.c + added HB_GTI_VERSION - it returns version information just like hb_gtVersion() - usually the same but can be different in some multilevel GTs, i.e. when different GT drivers are used locally and remotely. * harbour/include/inkey.ch * harbour/src/rtl/hbgtcore.c + added HB_K_CONNECT and HB_K_DISCONNECT inkey codes. They can be used to signal that remote terminal is connected or diconnected. * harbour/tests/gtkeys.prg + added HB_K_* keycodes * harbour/contrib/hbnetio/netiosrv.c * removed unnecessary casting 2011-03-25 18:33 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/hbqreportsmanager.prg * contrib/hbide/hbqtoolbar.prg * contrib/hbide/idedocks.prg * contrib/hbide/idefunctions.prg * contrib/hbide/ideharbourhelp.prg * contrib/hbide/idemain.prg * contrib/hbide/ideprojmanager.prg * contrib/hbide/idesaveload.prg ! Optimized: destructors. Unreleased memory blocks are shortened in number considerably. + Project Properties dialog now displays project name in its title-bar. 2011-03-25 18:24 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) + contrib/hbqt/qtsql + contrib/hbqt/qtsql/doc + contrib/hbqt/qtsql/hbqtsql.ch + contrib/hbqt/qtsql/hbqtsql.hbc + contrib/hbqt/qtsql/hbqtsql.hbm + contrib/hbqt/qtsql/hbqtsql.hbp + contrib/hbqt/qtsql/hbqtsql.hbx + contrib/hbqt/qtsql/hbqtsqls.hbp + contrib/hbqt/qtsql/qth + contrib/hbqt/qtsql/qth/filelist.hbm + contrib/hbqt/qtsql/qth/QSqlDatabase.qth + contrib/hbqt/qtsql/qth/QSqlDriver.qth + contrib/hbqt/qtsql/qth/QSqlError.qth + contrib/hbqt/qtsql/qth/QSqlField.qth + contrib/hbqt/qtsql/qth/QSqlIndex.qth + contrib/hbqt/qtsql/qth/QSqlQuery.qth + contrib/hbqt/qtsql/qth/QSqlQueryModel.qth + contrib/hbqt/qtsql/qth/QSqlRecord.qth + contrib/hbqt/qtsql/qth/QSqlRelationalTableModel.qth + contrib/hbqt/qtsql/qth/QSqlResult.qth + contrib/hbqt/qtsql/qth/QSqlTableModel.qth * contrib/hbqt/hbqt.hbc * contrib/hbqt/hbqt_all.hbp + Initial upload of classes contained in QtSql module. 2011-03-25 08:24 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/idedocks.prg ! Fixed: mystery of flashing and disappearing windows before hbIDE's application window appears. 2011-03-24 11:57 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/hbmk2_qt.hbs ! Code clean-up. ! Restrored: how the object is addressed in methods. NOTE: Do not change. * contrib/hbqt/qtcore/hbqt_misc.prg ! Restored: :disconnect(). ! Connect was generating error it obejct was freed prior to execution. 2011-03-23 12:27 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/idedocks.prg ! Changed: the way destructors were called. 2011-03-23 07:56 UTC+0100 Viktor Szakats - hooks - db - conf - format - locks - README.txt ! Apparently wrong commit undone: https://sourceforge.net/apps/trac/harbour-project/changeset/16495 2011-03-22 18:44 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/idedocks.prg ! Fixed: RTE at exit. 2011-03-22 18:27 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/gtwvg/gtwvg.c ! Reverted. Seems it had been hectic today. 2011-03-22 18:23 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbxbp/hbpprocess.prg * contrib/hbxbp/tests/demoxbp.prg * contrib/hbxbp/xbprtf.prg ! Small fixes. 2011-03-22 18:12 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtcore/qth/QMimeData.qth * contrib/hbqt/qtgui/qth/QDropEvent.qth * contrib/hbqt/qtgui/qth/QGraphicsSceneDragDropEvent.qth ! Fixed: some manual code which was not taking use of new protocol. * contrib/hbqt/qtgui/hbqt_hbqgraphicsitem.cpp * contrib/hbqt/qtgui/hbqt_hbqgraphicsscene.cpp * contrib/hbqt/qtgui/hbqt_hbqplaintextedit.cpp ! Changed: hbqt_create_object() => hbqt_create_objectGC() 2011-03-22 15:05 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtcore/hbqt_hbqevents.cpp * contrib/hbqt/qtcore/hbqt_hbqslots.cpp ! Changed: the behaviour of oQObject:connect(). Now if called next time, it will replace the original codeblock. This is important in certain situations. ! Fixed: potential memory leak. * contrib/hbqt/qtcore/hbqt_misc.prg ! Introduced: DESTRUCTOR _destroy() which explictly destroys singals and slots prior to destroying the object. [ Francesco ]. This renderes calling oQObject:disconnect() useless. Now there is no more GPF on hbIDE. Please build for different OS's and report on the list. ; TODO: remove :disconnect calls from hbXBP and hbIDE. 2011-03-21 18:45 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtcore/hbqt_init.cpp * contrib/hbqt/qtgui/hbqt_init.cpp ! Transferred logic of destructors from core to gui. The whole lot should be in one source. We cannot control the order of execution of _init_ functions. Francesco, take care of these changes. NOTE: now hbIDE enters, used with all flavours, exits without GPF. The remaining issue is to control memory leaks. Francesco is working onto that. 2011-03-21 18:36 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/idebrowse.prg * contrib/hbide/idedocks.prg * contrib/hbide/ideharbourhelp.prg * contrib/hbide/idemisc.prg * contrib/hbide/idesources.prg ! Connect/disconnect per current implementation. * contrib/hbide/idemain.prg ! Put to more stress test at exit by destroying all objects explictly. 2011-03-21 18:29 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/THbQtUI.prg ! Destructor more rationalized. * contrib/hbxbp/xbp3state.prg * contrib/hbxbp/xbpbrowse.prg * contrib/hbxbp/xbpcheckbox.prg * contrib/hbxbp/xbpcombobox.prg * contrib/hbxbp/xbpdialog.prg * contrib/hbxbp/xbpfiledialog.prg * contrib/hbxbp/xbphtmlviewer.prg * contrib/hbxbp/xbplistbox.prg * contrib/hbxbp/xbpmenubar.prg * contrib/hbxbp/xbppushbutton.prg * contrib/hbxbp/xbpradiobutton.prg * contrib/hbxbp/xbprtf.prg * contrib/hbxbp/xbpscrollbar.prg * contrib/hbxbp/xbpsle.prg * contrib/hbxbp/xbpspinbutton.prg * contrib/hbxbp/xbptabpage.prg * contrib/hbxbp/xbptoolbar.prg * contrib/hbxbp/xbptreeview.prg * contrib/hbxbp/xbpwindow.prg ! Restored: :disconnect() method. Without disconnecting events/slots object does not get destroyed. The reason is :__pSlots and :__pEvents holds reference to self which needs to be released before object itself is released, a cyclical phenomena. 2011-03-21 17:23 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/qth/QBoxLayout.qth * contrib/hbqt/qtgui/qth/QLayout.qth * contrib/hbqt/qtgui/qth/QMainWindow.qth * contrib/hbqt/qtgui/qth/QTableWidget.qth * contrib/hbqt/qtgui/qth/QTreeWidget.qth ! Fixed: detached objects. Hopefully hbIDE should exit clean if just entered and exited. However, if some dialog using .ui (.uic) files, it is still broken. 2011-03-21 12:01 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/hbmk2_qt.hbs ! HB_TRACE() rationalized. 2011-03-19 23:26 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbxbp/hbpprocess.prg * contrib/hbxbp/xbp3state.prg * contrib/hbxbp/xbpbrowse.prg * contrib/hbxbp/xbpcheckbox.prg * contrib/hbxbp/xbpcombobox.prg * contrib/hbxbp/xbpdialog.prg * contrib/hbxbp/xbphtmlviewer.prg * contrib/hbxbp/xbplistbox.prg * contrib/hbxbp/xbpmenubar.prg * contrib/hbxbp/xbppushbutton.prg * contrib/hbxbp/xbpradiobutton.prg * contrib/hbxbp/xbprtf.prg * contrib/hbxbp/xbpscrollbar.prg * contrib/hbxbp/xbpsle.prg * contrib/hbxbp/xbpspinbutton.prg * contrib/hbxbp/xbptabpage.prg * contrib/hbxbp/xbptoolbar.prg * contrib/hbxbp/xbptreeview.prg * contrib/hbxbp/xbpwindow.prg ! Removed: occurances and methods calling :disconnect(). It is automatic with destructors. 2011-03-19 23:21 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/hbmk2_qt.hbs * contrib/hbqt/qtcore/hbqt.h * contrib/hbqt/qtcore/hbqt_hbqevents.cpp * contrib/hbqt/qtcore/hbqt_hbqslots.cpp * contrib/hbqt/qtcore/hbqt_init.cpp * contrib/hbqt/qtcore/hbqt_pointer.cpp ! Applied: Francesco's patch with few changes and formatting. * contrib/hbqt/qtgui/hbqt_hbqtableview.cpp ! hbqt_create_object() => hbqt_create_objectGC() * contrib/hbqt/qtgui/THbQtUI.prg ! Rationalized: object destruction. * contrib/hbqt/tests/demoqt.prg ! Rationalized. 2011-03-18 23:06 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtcore/hbqt_hbqevents.cpp * contrib/hbqt/qtcore/hbqt_hbqslots.cpp * contrib/hbqt/qtcore/hbqt_misc.prg * contrib/hbqt/qtgui/hbqt_init.cpp ! FIXED: GPF at exit and sometimes along running application. Harbourearns, it is day to cheer. 2011-03-19 06:59 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/filesys.c ! added protection for potentially unfinished due to signal interrupt close() operation in *nix systems in hb_fsClose() function * use hb_fsClose() instead of close() to be sure that the operation is completed in *nix systems * return NULL for DosToWinHandle( FS_ERROR ) ; TODO: add protection against signal interrupting to all hb_fs*() functions which may need it. * harbour/src/rtl/hbproces.c * use hb_fsClose() instead of close() to be sure that the operation is completed in *nix systems ! Do not inherit ends of pipe handles in MS-Windows builds of hb_fsProcessOpen() ! Added missing CloseHandle( hProcess ) in MS-Windows builds of hb_fsProcessRun() ; QUESTION: Does hb_fsProcessRun() work correctly in MS-Windows builds? I've just noticed that I used WaitForMultipleObjects() WIN API function with unnamed pipe handles and I cannot find any information in MSDN that this is legal operation. 2011-03-18 15:34 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/qth/QActionEvent.qth * contrib/hbqt/qtgui/qth/QContextMenuEvent.qth * contrib/hbqt/qtgui/qth/QDragEnterEvent.qth * contrib/hbqt/qtgui/qth/QDragLeaveEvent.qth * contrib/hbqt/qtgui/qth/QDragMoveEvent.qth * contrib/hbqt/qtgui/qth/QDropEvent.qth * contrib/hbqt/qtgui/qth/QFocusEvent.qth * contrib/hbqt/qtgui/qth/QHelpEvent.qth * contrib/hbqt/qtgui/qth/QHideEvent.qth * contrib/hbqt/qtgui/qth/QHoverEvent.qth * contrib/hbqt/qtgui/qth/QInputEvent.qth * contrib/hbqt/qtgui/qth/QMainWindow.qth * contrib/hbqt/qtgui/qth/QPaintEvent.qth * contrib/hbqt/qtgui/qth/QResizeEvent.qth * contrib/hbqt/qtgui/qth/QShortcutEvent.qth * contrib/hbqt/qtgui/qth/QShowEvent.qth * contrib/hbqt/qtgui/qth/QWindowStateChangeEvent.qth ! Made: constructors more fault tolerant. 2011-03-18 13:10 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtcore/hbqtcore.hbx ! Miss from prev commit. 2011-03-18 12:28 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtcore/hbqt_init.cpp * contrib/hbqt/qtcore/qth/filelist.hbm + contrib/hbqt/qtcore/qth/QChildEvent.qth * contrib/hbqt/qtgui/hbqt_init.cpp * contrib/hbqt/qtgui/hbqtgui.hbx * contrib/hbqt/qtgui/qth/filelist.hbm + contrib/hbqt/qtgui/qth/QActionEvent.qth + contrib/hbqt/qtgui/qth/QFileOpenEvent.qth + contrib/hbqt/qtgui/qth/QHoverEvent.qth * contrib/hbqt/qtgui/qth/QMoveEvent.qth * contrib/hbqt/qtgui/qth/QPaintEvent.qth + contrib/hbqt/qtgui/qth/QShortcutEvent.qth + Added: more events specific classes. * contrib/hbqt/hbmk2_qt.hbs ! Rationalized code fragments. - Deleted: meta object checking as it is now handelled by the generator. * contrib/hbqt/qtcore/hbqt_hbqevents.cpp ! Rationalized: catching the event. NOTE: hb_itemNew() should not be called here. The function returns an hb_stackReturnItem(). Object is already contained in .prg variable in user application and will be auto destructed when out of scope. 2011-03-18 13:37 UTC+0100 Viktor Szakats * contrib/hbqt/qtgui/qth/QDesktopServices.qth * Patch [Francesco Perillo] 2011-03-17 09:38 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbgtinfo.ch + added HB_GTI_ONLINE - Is terminal connected? * harbour/src/rtl/hbproces.c ! fixed MS-Windows version of hb_fsProcessRun() to unlock HVM stack when thread is waiting for child process 2011-03-17 09:23 UTC+0100 Viktor Szakats * contrib/hbct/disk.c ! Fixed regression in prev patch. [via Andi] 2011-03-17 08:46 UTC+0100 Viktor Szakats * src/common/hbver.c + New Intel compiler version detection. [Tamas Tevesz] * src/rtl/tpopup.prg ! Fixing shadow extension. [Maurizio la Cecilia] (with my indenting, fix and deletion of commented lines) * contrib/hbqt/qtgui/hbqtgui.hbx * Updated. * contrib/hbqt/qtcore/hbqt_hbqevents.cpp ! Experimental fix [via Francesco Perillo] 2011-03-16 13:49 UTC+0100 Viktor Szakats * src/rtl/gtxwc/gtxwc.c * contrib/hbct/disk.c ! Fixing warnings. [Tamas Tevesz] * contrib/hbqt/hbmk2_qt.hbs + Added traces. [Francesco Perillo] ! Formatted ! Changed ALWAYS to DEBUG. + contrib/hbqt/qtgui/qth/QCloseEvent.qth * contrib/hbqt/qtgui/qth/filelist.hbm * contrib/hbqt/qtgui/hbqt_init.cpp + Patch. [Francesco Perillo] ; Applied manually as it failed to apply automatically. Untested. 2011-03-15 17:51 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/vm/hvm.c ! fixed HB_STACK_TLS_PRELOAD after recent modification 2011-03-15 14:26 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbthread.h * harbour/src/vm/thread.c + added internal functions hb_threadStateClone() and hb_threadStart() * modified code to use new functions * harbour/include/hbvm.h * harbour/src/vm/hvm.c + added public function hb_vmThreadStart() which creates new thread with HVM stack + added protection against executing hb_vmThreadRelease() for not registered thread state 2011-03-14 13:46 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtcore/hbqt_hbqevents.cpp ! Fixed: wrong event was being fired instead of relevant one. * contrib/hbqt/qtcore/hbqt_pointer.cpp ! Fixed: a memory leak. 2011-03-14 16:17 UTC+0100 Viktor Szakats * contrib/hbssl/x509.c + Enable feature which is fixed with newer (1.0.0) openssl version. It's now enabled for 1.0.0 final and newer, I did only test it with 1.0.0d. 2011-03-12 21:44 UTC+0100 Viktor Szakats * contrib/hbqt/qtgui/hbqtgui.hbc * contrib/hbqt/qtwebkit/hbqtwebkit.hbc * contrib/hbqt/qtcore/hbqtcore.hbc * contrib/hbqt/qtnetwork/hbqtnetwork.hbc * contrib/hbqt/qtuitools/hbqtuitools.hbc * contrib/hbqt/qtdesigner/hbqtdesigner.hbc + beos support. [Tamas Tevesz] 2011-03-12 19:24 UTC+0100 Viktor Szakats * contrib/hbqt/qtgui/hbqt_init.cpp * contrib/hbqt/qtcore/hbqt_pointer.cpp * contrib/hbqt/qtcore/hbqt.h * contrib/hbqt/qtcore/hbqt_hbqevents.cpp * contrib/hbqt/qtcore/hbqt_init.cpp * Changed the way low-level event objects are created. * contrib/hbqt/qtcore/qth/QResource.qth ! Fix to unregisterresource functions. ; [Francesco Perillo] 2011-03-11 13:41 UTC+0100 Viktor Szakats * config/postinst.hbs * Changed to use target platform instead of host platform to decide about ld config. Checkme. 2011-03-11 13:36 UTC+0100 Viktor Szakats * contrib/hbrun/hbrun.prg ! Fixed to not crash due to corrupted .hrb leftover files next to hbrun executable. * src/compiler/hbusage.c ! typo in email address * contrib/hbqt/hbqt_common.hbm + qt autodetection on beos * config/postinst.hbs * ld config -> linux only ; [Tamas Tevesz] 2011-03-11 09:42 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/hbrandom.c ! fixed double number calculation for random values by removing some wrong trick with epsilon value. rand() function returns numbers in range [0,RAND_MAX] (inclusive) so can give RAND_MAX+1 different results and this is the correct divisor to map rand() results to real range [0,1) ( 0 <= n < 1 ) 2011-03-10 19:13 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtcore/hbqt_init.cpp ! Fixed: one remaining warning - arguments. * contrib/hbxbp/xbpbrowse.prg ! Fixed: slot "commitData(QWidget*)" was not working. It is hack on PRG level and is scheduled to be shifted to C++. 2011-03-10 17:53 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/hbmk2_qt.hbs ! Optimized: methods callable with no arguments. 2011-03-11 01:26 UTC+0100 Viktor Szakats * contrib/hbqt/hbmk2_qt.hbs % Deleted now unnecessary .prg wrapper generation logic. * Moved .qth processing to "pre_c" phase. ! Deleted HB_FUNC_EXTERN for constructor now declared locally. ! Added constructor to symbol table. * contrib/3rd/sqlite3/sqlite3.hbp * contrib/hbbz2/3rd/bz2/bz2.hbp * contrib/hbexpat/3rd/expat/expat.hbp * contrib/hbhpdf/3rd/libhpdf/libhpdf.hbp * contrib/hblzf/3rd/liblzf/lzf.hbp * contrib/hbmlzo/3rd/minilzo/minilzo.hbp * contrib/hbmzip/3rd/minizip/minizip.hbp * contrib/hbmxml/3rd/minixml/mxml.hbp * contrib/hbxdiff/3rd/libxdiff/xdiff.hbp + Added -pic option to 3rd party libs. This switch will make them use -pic when creating their static libs, which allows to link them to contrib dynlibs when using HB_BUILD_CONTRIB_DYN=yes. * contrib/hbwin/tests/dlg.prg * Minor formatting. 2011-03-10 16:07 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtcore/hbqt_misc.prg + Added and experimental function scheduled to be removed. * contrib/hbqt/qtcore/hbqtcore.hbx * contrib/hbqt/qtdesigner/hbqtdesigner.hbx * contrib/hbqt/qtgui/hbqtgui.hbx * contrib/hbqt/qtnetwork/hbqtnetwork.hbx * contrib/hbqt/qtuitools/hbqtuitools.hbx * contrib/hbqt/qtwebkit/hbqtwebkit.hbx * contrib/hbqt/hbmk2_qt.hbs + Implemented: removed the need of any PRG wrapper to Q*Class() calls. Shifted to C++ level. NOTE: still corresponding blank .prg(s) are created inside .hbmk folders. I could not follow the logic to remove them from build process, Viktor ? 2011-03-10 22:38 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/compiler/hbmain.c ! fixed GPF when -build cor -credit parameters were used with embedded compiler 2011-03-10 20:59 UTC+0100 Viktor Szakats * contrib/hbwin/hbwapi.h + Added Set/GetWindowLongPtr macros from GTWVT. + Added GWLP_USERDATA macro. * contrib/hbwin/hbwin.hbp * contrib/hbwin/hbwin.hbx + contrib/hbwin/wapi_winuser_dlg.c + contrib/hbwin/tests/dlg.xml + contrib/hbwin/tests/dlg.rc + contrib/hbwin/tests/dlg.hbp + contrib/hbwin/tests/dlg.prg + Added basic win dialog handling functions and small test app posted on user's list by Vailton Renato. + Added win64 compatibility. ! Fixed a few casts and compiler errors/warnings. ! Formatted using uncrustify and hbformat. + Added license and SVN ID. * Renamed WAPI_DIALOGBOX() to WAPI_DIALOGBOXPARAM() 2011-03-10 20:23 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/common/hbtrace.c ! use hb_getenv_buffer() instead of hb_getenv() to not allocate memory when trace system is activated and added protection against recursive calls. * harbour/src/common/hbprintf.c ! use internal function _hb_strnlen() instead of hb_strnlen() to avoid recursive calls in Harbour trace system 2011-03-10 19:04 UTC+0100 Viktor Szakats * bin/hb3rdpat.hbs + Added -validate option ! Fixed short fn checking * Touchups [Tamas Tevesz] 2011-03-10 18:56 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/pp/ppcore.c % small optimization 2011-03-10 17:12 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbpp.h * harbour/include/hbvmpub.h * harbour/include/hbapi.h * harbour/include/hbcomp.h * harbour/include/hbcompdf.h * harbour/include/hbexpra.c * harbour/include/hbexprop.h * harbour/include/hbhash.h * harbour/src/compiler/harbour.yyc * harbour/src/compiler/harbour.y * simplified function type declarations * harbour/src/common/hbstr.c ! fixed potential GPF in hb_strnicmp() HB_TR_DEBUG message 2011-03-10 11:13 UTC+0100 Viktor Szakats * contrib/hbqt/hbmk2_qt.hbs * Do not include source filenames in doc. 2011-03-10 09:59 UTC+0100 Viktor Szakats * contrib/hbqt/hbmk2_qt.hbs ! Fix to prev. ; QUESTION: What is the reason that the constructor code is manually written for each class, instead of being automatically generated? [CAN BE DONE] ; TODO: Autogenerate constructors. 2011-03-10 07:53 UTC+0100 Viktor Szakats * contrib/hbgs/hbgs.hbp + Added autodetection path [Tamas Tevesz] - contrib/hbmlzo/3rd/minilzo/minilzo.hbx - Deleted .hbx file (always empty, not needed for 3rd libs) * contrib/hbmlzo/3rd/minilzo/minilzo.hbp - Deleted commented/empty option. * contrib/hbqt/hbmk2_qt.hbs * contrib/hbqt/qtcore/hbqt_pointer.cpp * contrib/hbqt/qtcore/hbqt.h * Formatting. * config/global.mk + Attempt to add better LIBRARY_PATH envvar support for beos. Please test. 2011-03-10 00:56 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/lang/msgbgiso.c ! fixed typo in lang module name: "BGWIN" -> "BGISO" ; TODO: sync codepage and land module names to use the same ID. Now it's necessary to look at Harbour source code to find corresponding modules. * harbour/src/rtl/gtwvt/gtwvt.c ! fixed GPF when fullscreen was enabled before console window is created. Now it's possible to enable full screen mode before application starts without flickering window, i.e.: #include "hbgtinfo.ch" REQUEST HB_GT_WVT_DEFAULT PROCEDURE Main() hb_gtInfo( HB_GTI_ISFULLSCREEN, .T. ) ? hb_datetime() ? version() ? hb_compiler() ? hb_gtVersion(), hb_gtVersion(1) WAIT RETURN 2011-03-10 00:40 UTC+0200 Petr Chornyj (myorg63 at mail.ru) + contrib/hbmlzo + contrib/hbmlzo/3rd + contrib/hbmlzo/3rd/minilzo + contrib/hbmlzo/3rd/minilzo/COPYING + contrib/hbmlzo/3rd/minilzo/lzoconf.h + contrib/hbmlzo/3rd/minilzo/lzodefs.h + contrib/hbmlzo/3rd/minilzo/minilzo.c + contrib/hbmlzo/3rd/minilzo/minilzo.h + contrib/hbmlzo/3rd/minilzo/minilzo.hbc + contrib/hbmlzo/3rd/minilzo/minilzo.hbp + contrib/hbmlzo/3rd/minilzo/minilzo.hbx + contrib/hbmlzo/3rd/minilzo/README.LZO + contrib/hbmlzo/core.c + contrib/hbmlzo/hbmlzo.ch + contrib/hbmlzo/hbmlzo.hbc + contrib/hbmlzo/hbmlzo.hbp + contrib/hbmlzo/hbmlzo.hbx + contrib/hbmlzo/tests + contrib/hbmlzo/tests/hbmk.hbm + contrib/hbmlzo/tests/test.prg * contrib/hbplist * INSTALL + added wrapper to miniLZO -- mini subset of the LZO real-time data compression library 2011-03-09 22:39 UTC+0100 Viktor Szakats * INSTALL + XCode is commercial now. Source code changed to hybrid. 2011-03-09 22:13 UTC+0100 Viktor Szakats * contrib/hbqt/qtcore/hbqt_pointer.cpp ! Missing hb_xfree() when remerging my old changes to recent C++ migration patch. 2011-03-09 21:32 UTC+0100 Viktor Szakats * src/rtl/hbzlibgz.c ! In block declaration in recent patch. * utils/hbmk2/hbmk2.prg ! Regression in recent xhb patch. * contrib/hbwin/axcore.c ! Format warning in trace. 2011-03-09 20:00 UTC+0100 Viktor Szakats * contrib/hbnetio/utils/hbnetio/hbnetio.hbp * contrib/hbnetio/utils/hbnetio/netiosrv.prg + contrib/hbnetio/utils/hbnetio/netiosvc.prg + hbnetio will act as a service on Windows platform. To run it interactively from console, use: 'hbnetio -a' ; FIXME: I'm getting 'error 1067' when starting up the service. It get resolved when I build hbnetio in -st mode. (I use mingw and did a full rebuild) * contrib/rddads/rddads.hbp ! Suppressing annoying mingw warning in ace.h. ; FIXME: hbmk2 overrides this ATM. 2011-03-09 18:30 UTC+0100 Viktor Szakats * contrib/hbwin/win_svc.c * contrib/hbwin/tests/testsvc.prg + WIN_SERVICESTART() changed to accept codeblock and function reference as second parameter (was string). INCOMPATIBLE: Pls update your code to use new method. NOTE: If someone knows how to add string support without duplicating code and other hacks, pls do, however I think that codeblock and function reference is much more modern and fool-proof solution. 2011-03-09 17:51 UTC+0100 Viktor Szakats * contrib/hbqt/qtgui/hbqt_init.cpp * contrib/hbqt/qtcore/hbqt_init.cpp ! QWidget related event moved to hbqtgui to avoid build breakage. 2011-03-09 17:17 UTC+0100 Viktor Szakats * contrib/hbqt/hbmk2_qt.hbs ! Fixed scope of generate HB_EXTERN section. ! Fixed (pls review/test) to provide separate void * pointer for each hb_parstr_utf8() calls. ! Formatting fixes to generated code. * contrib/hbqt/qtcore/hbqt_pointer.cpp * Formatting. 2011-03-09 14:18 UTC+0100 Viktor Szakats * contrib/hbqt/qtgui/hbqt_errorsys.prg * contrib/hbide/plugins/hbide_script_qtgui.hbs * contrib/hbide/ideeditor.prg - Deleted :new() calls. * contrib/hbqt/qtcore/hbqt_pointer.cpp * contrib/hbqt/qtcore/hbqt.h * Formatting. 2011-03-09 11:15 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/hbzlibgz.c % encapsulated all GZIP IO functions inside hb_vmUnlock() / hb_vmLock() calls. 2011-03-09 10:51 UTC+0100 Viktor Szakats * contrib/hbqt/hbmk2_qt.hbs * contrib/hbqt/qtcore/hbqt_pointer.cpp % Deleted HB_FUNC_EXTERN for locally defined function. Pls review me. ! Fixed formatting in generated code. + Added local __instantiate() function. Commented yet. % Converted method names to uppercase on invocation. + Added QUESTION about 'return;' in HB_<QCLASS>() functions. "INSTANCE" method is not called the first time this function is called. 2011-03-09 09:30 UTC+0100 Viktor Szakats * contrib/hbqt/qtgui/hbqtgui.hbx * contrib/hbqt/qtwebkit/hbqtwebkit.hbx * contrib/hbqt/qtuitools/hbqtuitools.hbx * contrib/hbqt/qtdesigner/hbqtdesigner.hbx * Updated. 2011-03-09 09:07 UTC+0100 Viktor Szakats * src/rtl/gtwvt/gtwvt.c * Indenting. * INSTALL + Added new ghostscript link. [Tamas Tevesz] (left the old one as it has some information the new one doesn't) * contrib/hbqt/hbmk2_qt.hbs * contrib/hbqt/qtgui/qth/*.qth * contrib/hbqt/qtcore/hbqtcore.hbx * contrib/hbqt/qtcore/hbqt_pointer.cpp * contrib/hbqt/qtcore/hbqt_misc.prg * contrib/hbqt/qtcore/hbqt.h * contrib/hbqt/qtcore/qth/*.qth * contrib/hbqt/qtnetwork/qth/*.qth * contrib/hbqt/qscintilla/qth/*.qth * contrib/hbqt/qtdesigner/qth/*.qth + Patch to move wrapper code to C++. [Francesco Perillo] * My mods: - Restored the way registerResource() is implemented. (TODO: needs generic solution) - Formatting, some cleanups. - Minor corrections in generated code format (more TBD) - Deleted some unused code - Refixed strcpy() usage. - Added C++ puller for __QT* symbol. - Added manual version of HBQEventsFromPointer() which is still needed by hbqtcore. (FIXME) Please test. ; FIXME: Remove remaining generated .prg, holding this code: FUNCTION QtClass( ... ) RETURN HB_QtClass():new( ... ) Any takers? 2011-03-08 23:53 UTC+0100 Viktor Szakats * contrib/hbgs/core.c * HB_GSAPI_REVISION() changed to return integer result like the original function. 2011-03-08 09:44 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbvm.h * harbour/src/vm/hvm.c * added new public C function: HB_BOOL hb_vmRequestReenterExt( void ); hb_vmRequestReenterExt() checks if given thread has registered HVM stack and if not it creates new one otherwise it makes the same operations as hb_vmRequestReenter(). It should be also used with hb_vmRequestRestore() which checks if new stack was allocated and if yes then it releases it. For ST HVM hb_vmRequestReenterExt() works exactly like hb_vmRequestReenter(). * harbour/include/hbthread.h ! typo in comment * harbour/contrib/hbwin/win_svc.c ! fixed to work with MT HVM + accept function symbol (@func()) as 2nd parameter of WIN_SERVICESTART() function * replaced one HB_TCHAR_*() function by Harbour STR API one. (for full UNICODE support we should eliminate all HB_TCHAR_*() functions) 2011-03-08 08:59 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg * Invoke xhb compiler (in -xhb mode) for each input source file, to avoid xhb compiler bugs (like aborting due to too many warnings even if -w0 is used - reported by Pritpal in xhb 2007 Oct version). 2011-03-08 00:27 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/cdpapihb.c ! fixed typo in my last commit 2011-03-07 22:43 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/minmax.c ! fixed MAX() for mixed date and timestamp values * harbour/src/rtl/strtran.c % minor modification * harbour/src/rtl/cdpapihb.c * updated for signed HB_SIZE type 2011-03-07 15:06 UTC+0100 Viktor Szakats * contrib/hbgs/tests/testgs.prg * contrib/hbgs/hbgs.hbx * contrib/hbgs/core.c * contrib/hbgs/hbgs.hbp * contrib/hbgs/hbgs.hbc + Added HB_GSAPI_REVISION() wrapper + test code. - Disabled for dos and wce. + Added autodetection on *nix systems. + Added darwin support. + Added os2 dll name. ; FIXME: Test (which is more or less the same as the official example code) doesn't work on darwin, it pops X11 and gives a gs cmd prompt. 2011-03-07 14:04 UTC+0100 Viktor Szakats * contrib/hbgs/hbgs.hbp ! Copy/paste typo. Thanks to Tamas for noticing. 2011-03-07 12:53 UTC+0100 Viktor Szakats * INSTALL * contrib/hbplist + contrib/hbgs + contrib/hbgs/core.c + contrib/hbgs/hbgs.hbx + contrib/hbgs/hbgs.hbp + contrib/hbgs/hbgs.hbc + contrib/hbgs/tests + contrib/hbgs/tests/testgs.prg + contrib/hbgs/tests/hbmk.hbm + Added basic, high-level Ghostscript wrapper. (only tested on win/win64) 2011-03-07 12:44 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/valtype.c * modified to work with any HB_IT_STRING flags we may add in the future * harbour/src/rdd/dbcmd.c * eliminated explicit hb_parinfo() usage * harbour/src/compiler/harbour.y * added casting which seems to be necessary for some newer bison versions * harbour/doc/xhb-diff.txt * typo 2011-03-07 12:31 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Two minor fixes to prev. 2011-03-07 12:28 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fixed to recognize filters in options having ${} macros, if the filter is placed after the macros. 2011-03-06 18:38 UTC+0100 Viktor Szakats * contrib/hbpost.hbm * config/postinst.hbs ! Cygwin fixes. Also contains logic from Tamas. * contrib/hbhpdf/3rd/libhpdf/libhpdf.hbp - Deleted comment. [Tamas Tevesz] 2011-03-05 16:53 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/ideedit.prg ! XbpAppEventToQKeyEvent() => hbxbp_AppEventToQKeyEvent() * contrib/hbxbp/hbxbp.hbx ! Re-generated. * contrib/hbxbp/xbpappevent.prg * contrib/hbxbp/xbpbrowse.prg * contrib/hbxbp/xbpgeneric.prg * contrib/hbxbp/xbppushbutton.prg * contrib/hbxbp/xbpwindow.prg ! XbpAppEventToQKeyEvent() => hbxbp_AppEventToQKeyEvent() And other functions updated to use "hbxbp_" namespace. HBXBPAPPDESKTOP() => HbpAppDesktop(), this is on line with Hbp* classes namespace we agreed earlier. 2011-03-05 19:34 UTC+0100 Viktor Szakats * debian/control * Update. * contrib/hbmzip/3rd/minizip/minizip.dif * contrib/hbmzip/3rd/minizip/ioapi.h ! Fixed type for haiku/beos. ; [Tamas Tevesz] * contrib/hbxbp/xbpappevent.prg ! Renamed XbpAppEventToQKeyEvent() to hbxbp_AppEventToQKeyEvent() ; FIXME: Demessify these public function names: HBXBPAPPDESKTOP HBXBP_APPEVENTTOQKEYEVENT HBXBP_CLEAREVENTBUFFER HBXBP_CONVERTAFACTFROMXBP HBXBP_GETNEXTID HBXBP_INITIALIZEEVENTBUFFER HBXBP_SETEVENTLOOP XBP_SETPRESPARAM XBP_SETPRESPARAMIFNIL XBP_XBPTOQTNAME Probably HBXBP_ should be used consistently in all above. 2011-03-05 15:41 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbexprb.c + enabled o:var += <cString> optimization when -ko switch is used I added this optimization few years ago but I haven't enabled it so far. + harbour/tests/speedstr.prg + added test code for <exp> += <cString> optimization Try this code compiled with -kc switch (disabled += optimization) without any -k? switches (default, += optimized for all expressions except <obj>:<msg>) and finally with -ko switch (+= optimized for all expressions) (Warning for larger string non optimized code begins to be _very_ slow, i.e. for '#define N_LOOP 1000000' it needs fee minutes to pass single test) 2011-03-04 17:50 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbxbp/xbpappevent.prg + Added: XbpAppEventToQKeyEvent() and XbpAppEventModifier() * contrib/hbxbp/xbpgeneric.prg + Implemented: PostAppEvent( nEventType, mp1, mp2, oXbp ) Currently it is implemented for nEventType == xbeP_Keyboard. 2011-03-04 13:07 UTC+0100 Viktor Szakats * debian/control * debian/compat * debian/rules - add all build-depends - create detached debug symbol package - various small bits ; [Tamas Tevesz] * contrib/hbpost.hbm * Removed soversion from dynlib name for cygwin targets. (untested) * contrib/hbtip/tests/httpadv.prg * contrib/hbtip/tests/dnldftp.prg * contrib/hbtip/tests/tipmmail.prg * contrib/hbtip/tests/tiptest.prg * contrib/hbtip/tests/dbtohtml.prg * contrib/hbtip/tests/upld_ftp.prg * contrib/hbtip/tests/tipmail.prg * contrib/hbtip/tests/base64.prg * contrib/hbtip/tests/ftpadv.prg * contrib/hbtip/tests/loadhtml.prg * contrib/hbtip/tests/tipmime.prg ! inside is one real fix (unused var in base64.prg), the rest is generous use of hbformat + some manual editing (weed out funky chars, reduce eye bleeding caused by comment blocks, throw away c++-style comments, and the like). ; [Tamas Tevesz] 2011-03-04 11:31 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/pp/pplib.c * updated function description * harbour/src/pp/pplib3.c * covered old long time obsolete functions: __PPADDRULE(), __PREPROCESS(), __PP_FREE() by HB_LEGACY_LEVEL3 macro 2011-03-04 00:14 UTC+0100 Viktor Szakats * contrib/hbmzip/3rd/minizip/ioapi.h ! Fixed high chars resulting from copy/pasting from email msg. 2011-03-04 00:10 UTC+0100 Viktor Szakats * contrib/hbmzip/3rd/minizip/minizip.dif * contrib/hbmzip/3rd/minizip/ioapi.h ! Fixed for cygwin. [Tamas Tevesz] * contrib/hblzf/3rd/liblzf/lzfP.h * contrib/hblzf/3rd/liblzf/liblzf.dif ! Fixed for bcc. [Tamas Tevesz] * utils/hbmk2/hbmk2.prg ! Fixed to include hbmainstd after converting cygwin from compiler to platform. ; QUESTION: should we use hbmainwin for cygwin apps in -gui mode? 2011-03-03 14:50 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbnetio/utils/hbnetioq/netiosrq.prg * contrib/hbqt/qtuitools/THbQtUILoader.prg * contrib/hbxbp/xbpdialog.prg * contrib/hbxbp/xbpprinter.prg ! Deleted: Q*FromPointer() calls leftovers. 2011-03-03 11:31 UTC+0100 Viktor Szakats * contrib/hbxbp/xbpsle.prg * contrib/hbxbp/xbplistbox.prg * contrib/hbxbp/xbpcheckbox.prg * contrib/hbxbp/xbpmenubar.prg * contrib/hbxbp/xbpradiobutton.prg * contrib/hbxbp/xbprtf.prg * contrib/hbxbp/xbptabpage.prg * contrib/hbxbp/xbpwindow.prg * contrib/hbxbp/xbpstatusbar.prg * contrib/hbxbp/xbpcombobox.prg * contrib/hbxbp/xbppushbutton.prg * contrib/hbxbp/xbpscrollbar.prg * contrib/hbxbp/xbpstatic.prg * contrib/hbxbp/xbptreeview.prg * contrib/hbxbp/xbpdialog.prg * contrib/hbxbp/xbptoolbar.prg * contrib/hbxbp/xbp3state.prg * contrib/hbxbp/xbpspinbutton.prg * contrib/hbxbp/xbpmle.prg ! Deleted FromQtPtr() methods. They are relying on FromPointer() HBQT functionality, which will be deleted soon. - examples/hbqt_tut - Deleted this local copy of the tutorial. You can find it here: www.gruppoeratostene.com/harbour/tutorial-qt.zip [LOST LINK] Please add test.dbf, test.jpg, hbmk.hbm, prova.ui to above .zip package. They are available from the nightly Harbour source .zip. 2011-03-02 21:43 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/qth/QGraphicsSceneEvent.qth ! Fixed: compilable with Qt 4.6 and above. 2011-03-02 17:15 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtcore/qth/QCoreApplication.qth ! Reversed previous commit. * contrib/hbqt/qtgui/hbqt_init.cpp - Deleted: hbqtgui_eventpush() function, not needed anymore. * contrib/hbqt/qtgui/qth/QContextMenuEvent.qth * contrib/hbqt/qtgui/qth/QDragEnterEvent.qth * contrib/hbqt/qtgui/qth/QDragLeaveEvent.qth * contrib/hbqt/qtgui/qth/QDragMoveEvent.qth * contrib/hbqt/qtgui/qth/QDropEvent.qth * contrib/hbqt/qtgui/qth/QFocusEvent.qth * contrib/hbqt/qtgui/qth/QGraphicsSceneContextMenuEvent.qth * contrib/hbqt/qtgui/qth/QGraphicsSceneDragDropEvent.qth * contrib/hbqt/qtgui/qth/QGraphicsSceneEvent.qth * contrib/hbqt/qtgui/qth/QGraphicsSceneHelpEvent.qth * contrib/hbqt/qtgui/qth/QGraphicsSceneHoverEvent.qth * contrib/hbqt/qtgui/qth/QGraphicsSceneMouseEvent.qth * contrib/hbqt/qtgui/qth/QGraphicsSceneMoveEvent.qth * contrib/hbqt/qtgui/qth/QGraphicsSceneResizeEvent.qth * contrib/hbqt/qtgui/qth/QGraphicsSceneWheelEvent.qth * contrib/hbqt/qtgui/qth/QHelpEvent.qth * contrib/hbqt/qtgui/qth/QHideEvent.qth * contrib/hbqt/qtgui/qth/QInputMethodEvent.qth * contrib/hbqt/qtgui/qth/QKeyEvent.qth * contrib/hbqt/qtgui/qth/QMouseEvent.qth * contrib/hbqt/qtgui/qth/QMoveEvent.qth * contrib/hbqt/qtgui/qth/QPaintEvent.qth * contrib/hbqt/qtgui/qth/QResizeEvent.qth * contrib/hbqt/qtgui/qth/QShowEvent.qth * contrib/hbqt/qtgui/qth/QWheelEvent.qth + Added: constructors for all events with due parameters. I do not know why it elluded me so far. And I cannot recollect what wrong I was doing. May be due to some problems at initial stages kept unattended with ongoing development. 2011-03-02 15:29 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtcore/qth/QCoreApplication.qth ! Commented out: sendEvent() and postEvent() methods until issue with Q*Event() class constructors is resolved. + contrib/hbqt/tests/browqt.prg ! Copied testbrows.prg to suit embedded dialog. * contrib/hbqt/tests/wvtqt.hbp * contrib/hbqt/tests/wvtqt.prg ! Modified: to execute hbQT dialog from within GTWVT window. 2011-03-02 15:30 UTC+0100 Viktor Szakats * include/hbapicls.h ! Added missing export from C level class creation functions (to make shared HBQT apps work on non-mingw targets) 2011-03-02 04:38 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.pt_BR.po * utils/hbmk2/hbmk2.hu_HU.po * utils/hbmk2/hbmk2.prg * utils/hbmk2/hbmk2.es_PE.po + Added -pic[-] option and pic= .hbc command to enable PIC. It's always enabled when using -hbdyn/-hbdynvm. ! Using -fPIC for bsd. (in sync with core make) + Added sunos/sparc PIC option, though to really kick in, CPU detection should be implemented, or it should be manually supplied using -cpu=sparc option. Please review these. * contrib/hblzf/3rd/liblzf/lzf_d.c * contrib/hblzf/3rd/liblzf/lzfP.h * contrib/hblzf/3rd/liblzf/LICENSE * contrib/hblzf/3rd/liblzf/lzf.hbp * contrib/hblzf/3rd/liblzf/liblzf.dif * contrib/hblzf/3rd/liblzf/Changes * contrib/hblzf/3rd/liblzf/README * contrib/hblzf/3rd/liblzf/lzf_c.c * update lzf to 3.6 [Tamas Tevesz] * contrib/hbqt/qtgui/hbqt_init.cpp * Renamed HBQT_PUSHEVENT() to HBQTGUI_EVENTPUSH(). * Commented this new function with a detailed FIXME note, with some notes needing more close inspection. 2011-03-01 18:22 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/hbqt_init.cpp + Added: HBQT_PUSHEVENT( <qObject>, <nQEventType>, <nKey>, [nKeyboardModifiers], [cKey], [lRepeat=.f.], [ntimes=1] ) Current implementation is only for keyboard events, viz., QEvent_KeyPress and QEvent_KeyRelease. Mouse events needs QPoint() to be present which is in the gtcore namespace, so needs a different approach as per current hbQT scenario, do the needful. 2011-03-01 17:38 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtnetwork/hbqt_init.cpp * contrib/hbqt/qtnetwork/hbqtnetwork.hbx * contrib/hbqt/qtnetwork/qth/filelist.hbm ! Adjusted: to take use of new classes intead of NULL pointers. + contrib/hbqt/qtnetwork/qth/QNetworkProxy.qth + contrib/hbqt/qtnetwork/qth/QUrlInfo.qth + Added: two pending classes. 2011-03-01 16:02 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * examples/hbqt_tut/win01.prg * examples/hbqt_tut/win02.prg * examples/hbqt_tut/win02a.prg * examples/hbqt_tut/win03.prg * examples/hbqt_tut/win04.prg * examples/hbqt_tut/win05.prg * examples/hbqt_tut/win06.prg * examples/hbqt_tut/win07.prg * examples/hbqt_tut/win08.prg * examples/hbqt_tut/win09.prg * examples/hbqt_tut/win10.prg * examples/hbqt_tut/win11.prg * examples/hbqt_tut/win12.prg * examples/hbqt_tut/win13.prg * examples/hbqt_tut/win14.prg * examples/hbqt_tut/win15.prg * examples/hbqt_tut/win16.prg * examples/hbqt_tut/win17.prg * examples/hbqt_tut/win18.prg * examples/hbqt_tut/win19.prg * examples/hbqt_tut/win20.prg * examples/hbqt_tut/win21.prg * examples/hbqt_tut/win22.prg * examples/hbqt_tut/win23.prg ! Some small optimization. 2011-03-01 13:54 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbxbp/xbptreeview.prg ! Added missing elements on return values of two methods. Thanks Shum. 2011-03-01 15:35 UTC+0100 Viktor Szakats * examples/hbqt_tut/win01.prg * examples/hbqt_tut/win10.prg * examples/hbqt_tut/win20.prg * examples/hbqt_tut/win02.prg * examples/hbqt_tut/win11.prg + examples/hbqt_tut/win02a.prg * examples/hbqt_tut/win21.prg * examples/hbqt_tut/win12.prg * examples/hbqt_tut/win03.prg * examples/hbqt_tut/win22.prg * examples/hbqt_tut/win13.prg * examples/hbqt_tut/win04.prg * examples/hbqt_tut/win05.prg * examples/hbqt_tut/win23.prg * examples/hbqt_tut/win14.prg * examples/hbqt_tut/win06.prg * examples/hbqt_tut/win15.prg * examples/hbqt_tut/win07.prg * examples/hbqt_tut/win16.prg * examples/hbqt_tut/win08.prg * examples/hbqt_tut/win17.prg * examples/hbqt_tut/win09.prg * examples/hbqt_tut/win18.prg * examples/hbqt_tut/win19.prg * Update [Marco Bra] 2011-03-01 14:31 UTC+0100 Viktor Szakats * contrib/hbformat/hbfmtcls.prg ! Fixed a call to deleted function. NOTE: I didn't test it and no idea if ini file reader functionality relies on empty lines being filtered on load. 2011-03-01 12:55 UTC+0100 Viktor Szakats * contrib/hbformat/utils/hbformat.prg * contrib/hbformat/hbformat.hbx * contrib/hbformat/hbfmtcls.prg * contrib/hbformat/hbformat.hbp - contrib/hbformat/fileread.c ! Fixed to load LF delimited files on non-*nix systems. * Changed output EOL type to OS default (from 'no change') * Changed the way EOL type is detected in 'no change' mode. (it's pretty simple code and not as efficient as previously. my main goal was to fix file load.) + Showing number of lines. * examples/hbqt_tut/win21.prg * examples/hbqt_tut/win12.prg + examples/hbqt_tut/win22.prg + examples/hbqt_tut/win23.prg + Updated. [Marco Bra] ! Fixed formatting. Please use hbformat on the code before submitting. 2011-03-01 11:50 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/config/win/bcc.mk * harbour/utils/hbmk2/hbmk2.prg * disabled W8060 warnings in BCC builds when warning level is set to low * harbour/src/rtl/gtwin/gtwin.c ! added missing void in hb_gt_win_IsFullScreen() declaration 2011-03-01 11:11 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/hbjson.c ! fixed typo which caused that \uNNNN in strings were ignored instead of being decoded ; QUESTION: why we are not using unicode strings in encoding by default? 2011-03-01 09:43 UTC+0100 Viktor Szakats * include/hbgtinfo.ch * src/rtl/gtwin/gtwin.c * src/rtl/gtwvt/gtwvt.c + HB_GTI_ISFULLSCREEN checking and setting inside GTWIN done. ! Minor fix for GTWVT, code patched to work on Windows 95 (tested). ; [Aleksander Czajczynski] * config/beos/gcc.mk * config/bsd/clang.mk * config/bsd/pcc.mk * config/linux/clang.mk + add soname specs to some gnu lds [Tamas Tevesz] 2011-03-01 02:06 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/utils/hbmk2/hbmk2.prg * harbour/config/dos/watcom.mk * harbour/config/win/watcom.mk * harbour/config/linux/watcom.mk * harbour/config/os2/watcom.mk ! fixed to not use -wcd124 and -wcd136 in OpenWatcom C++ builds * harbour/config/win/xcc.mk ! added -noexpobj as workaround for problems with creating shared library * removed now unnecessary $(RM) harbour*.dll * harbour/src/rtl/base64d.c * pacified warning % removed unnecessary condition with RTE - decoded string has to be shorter then the source one taken from HVM string item so for sure it cannot exceed maximum string item size * harbour/src/rtl/base64c.c * generate RTE if encode string size is too big * eliminated unnecessary INT_MAX string limit 2011-02-28 23:21 UTC+0100 Viktor Szakats * contrib/hbqt/qtgui/hbqt_hbqgraphicsitem.cpp * contrib/hbqt/qtcore/hbqt_init.cpp * Final cleanups to de-raw-pointerization [Francesco Perillo] 2011-02-28 21:42 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbpp.h * harbour/include/hbapilng.h * harbour/include/hbapi.h * harbour/include/hbcomp.h * harbour/src/pp/pplib.c * harbour/src/pp/ppcore.c * harbour/src/common/hbstr.c * harbour/src/rtl/sha2.c * harbour/src/rtl/hbinet.c * harbour/src/compiler/ppcomp.c * harbour/src/compiler/hbfunchk.c * harbour/src/compiler/hbgenerr.c * harbour/contrib/hbtip/utils.c % added missing const to some variable declarations so they can be stored in readonly segments * harbour/doc/xhb-diff.txt ! fixed few typos 2011-02-28 21:07 UTC+0100 Viktor Szakats * include/hbgtinfo.ch * src/rtl/hbgtcore.c * src/rtl/gtdos/gtdos.c * src/rtl/gtwin/gtwin.c * src/rtl/gtxwc/gtxwc.c * src/rtl/gtcrs/gtcrs.c * src/rtl/gtstd/gtstd.c * src/rtl/gttrm/gttrm.c * src/rtl/gtos2/gtos2.c * src/rtl/gtsln/gtsln.c * src/rtl/gtpca/gtpca.c * src/rtl/gtwvt/gtwvt.c * contrib/hbct/ctwin.c * contrib/gtwvg/gtwvg.c * contrib/gtwvg/wvggui.c * contrib/gtalleg/gtalleg.c * contrib/hbrun/hbrun.prg * tests/wvt_fs.prg * examples/gtwvw/gtwvw.c * Renamed HB_GTI_FULLSCREEN to HB_GTI_ISSCREENPOS HB_GTI_FULLSCREEN is now deprecated and will be deleted in future version of Harbour, use the new name instead. * Renamed HB_GTI_FULLSCREEN to HB_GTI_ISFULLSCREEN in context of GT window being fullscreen on physical display recently added in 2011-02-26 20:07 UTC+0100 Viktor Szakats ; If someone has further name suggestions, pls tell. * src/rtl/hbgtcore.c * Setting defaults for HB_GTI_ISFULLSCREEN and HB_GTI_ALTENTER. 2011-02-28 20:53 UTC+0100 Viktor Szakats * include/hbdefs.h + Added HB_EXPORT_INT macro similar to HB_EXPORT, but used for exported _internal_ functions. (we may easily rename this to something else if a better idea pops up) ; TODO: Change HB_EXPORT to HB_EXPORT_INT for rest of internal functions. * include/hbpp.h * include/hbapi.h * include/hbcomp.h * include/hbexprop.h * include/hbhash.h + Using HB_EXPORT_INT to export functions. * contrib/hbide/hbide.hbp * contrib/hbrun/hbrun.hbp ! Deleted bad hack linking in hbcplr, hbpp, hbcommon on non-mingw win compilers. 2011-02-28 20:00 UTC+0100 Viktor Szakats * contrib/hbmzip/hbmzip.hbp * Changed header used for minizip autodetection. zip.h is also used by component named libzip. Thanks to Przemek for the hint. [ looking for multiple headers (possibly connected by various bool operators) is too huge work for so far too little gain, so for now I pass it.] * contrib/hbrun/hbrun.prg + Use HB_GTI_FULLSCREEN to detect if the GT is capable of non-console mode of operation (formely hard-wired check for GTCGI was done). Pls verify me. * config/postinst.hbs + Show msg that postinst.hbs is finished (and errlev) [Tamas] 2011-02-28 18:12 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/utils/hbmk2/Makefile ! fixed list of linked libraries - hbpp and hbcommon libs were given explicitly though they are also included in harbour shared library. It means that for HB_BUILD_SHARED=yes some semi dynamic hbmk2 executable was created with repeated compiled hbpp and hbcommon code. The first copy was inside hbmk2 executable file and the second one inside harbour shared library (.so, .dyn, .dll, ...). This fix should also resolves the problem with missing math library when hbmk2 was linked. 2011-02-28 17:09 UTC+0100 Viktor Szakats * contrib/hbxbp/xbplistbox.prg * contrib/hbxbp/xbptabpage.prg * contrib/hbxbp/xbptreeview.prg * contrib/hbxbp/xbpgeneric.prg * contrib/hbqt/qtcore/hbqt_pointer.cpp * contrib/hbqt/qtcore/hbqtcore.hbx * contrib/hbide/idesaveload.prg * contrib/hbide/ideharbourhelp.prg * contrib/hbide/ideeditor.prg * contrib/hbide/idebrowse.prg * contrib/hbide/idedocks.prg * Renamed HBQT_ISEQUALGCQTPOINTER() to HBQT_ISEQUAL(). [ as a personal note I don't get how two different .prg level objects can have the same QT object pointer associated with them. IOW the most natural solution would be to use ( oObj1 == oObj2 ) expression on .prg level. ] [EXPLAINED] 2011-02-28 16:31 UTC+0100 Viktor Szakats * contrib/hbqt/qtgui/hbqt_init.cpp * contrib/hbqt/qtgui/hbqt_hbqgraphicsitem.cpp * contrib/hbqt/qtcore/hbqt_pointer.cpp * contrib/hbqt/qtcore/hbqt.h * contrib/hbqt/qtcore/hbqt_init.cpp * contrib/hbqt/qtcore/hbqtinit.h * contrib/hbqt/qtnetwork/hbqt_init.cpp ! Implementing idea of Francesco. Object creation split into two versions, one where GC pointer is used and one where a normal one. Latter is used when dealing with events (except one place). Please do tests. 2011-02-28 16:10 UTC+0100 Viktor Szakats * contrib/hbmagic/hbmagic.hbp ! Fixed missing dep setting. [Tamas] 2011-02-28 14:00 UTC+0100 Viktor Szakats * src/rtl/hbsocket.c ! Added hb_socketGetHostName() stub when HB_SOCKET_OFF. * contrib/hbrun/hbrun.hbp + Linking in hbpmcom on dos platform. [Tamas] 2011-02-28 13:47 UTC+0100 Viktor Szakats * contrib/hbqt/qtgui/hbqt_hbqgraphicsitem.cpp % Cast deleted. * contrib/hbqt/qtcore/hbqt_init.cpp * contrib/hbqt/qtnetwork/hbqt_init.cpp * object constructors fixed to have hb_ prefix. 2011-02-28 12:58 UTC+0100 Viktor Szakats * contrib/hbqt/qtgui/hbqt_init.cpp + Add missing signal reg call. 2011-02-28 08:50 UTC+0100 Viktor Szakats * contrib/hbqt/qtcore/hbqt_pointer.cpp * contrib/hbqt/qtcore/hbqt_hbqslots.cpp * contrib/hbqt/qtcore/hbqt_init.cpp + Patch from Francesco. (more slot callbacks + minor formatting patches of mine) * src/rtl/gtwvt/gtwvt.h * src/rtl/gtwvt/gtwvt.c * Minors. 2011-02-27 18:25 UTC+0100 Viktor Szakats * contrib/hbqt/qtgui/hbqt_init.cpp * contrib/hbqt/qtcore/hbqt_pointer.cpp * contrib/hbqt/qtcore/hbqt_hbqslots.cpp * contrib/hbqt/qtcore/hbqt_init.cpp + Adding more signal handlers plus some other mods. Patch from Francesco (with some minor mods and fixex, pls check) 2011-02-27 14:22 UTC+0100 Viktor Szakats * contrib/hbqt/qtcore/hbqt.h + contrib/hbqt/qtcore/hbqtinit.h * contrib/hbqt/qtgui/hbqt_init.cpp * contrib/hbqt/qtwebkit/hbqt_init.cpp * contrib/hbqt/qtcore/hbqt_init.cpp * contrib/hbqt/qtnetwork/hbqt_init.cpp * contrib/hbqt/qscintilla/hbqt_init.cpp * contrib/hbqt/qtuitools/hbqt_init.cpp * contrib/hbqt/qtdesigner/hbqt_init.cpp + Added HBQT_SLOT_CALLBACK_OBJ_INT(), HBQT_SLOT_CALLBACK_OBJ_OBJ() * Renamed HBQT_SLOT_CALLBACK_OBJ_1() to HBQT_SLOT_CALLBACK_OBJ(). * Moved these macros to separate header. * contrib/hbqt/qtgui/hbqt_hbqplaintextedit.cpp * contrib/hbqt/qtgui/hbqt_hbqgraphicsscene.cpp * contrib/hbqt/qtgui/hbqt_hbqtableview.cpp ! Fixed after prev. 2011-02-27 12:19 UTC+0100 Viktor Szakats * contrib/hbqt/qtcore/hbqt.h + Added HBQT_SLOT_CALLBACK_OBJ_1() macro to easily create slot callbacks passing 1 object. ; TODO: Use it. [DELETED] 2011-02-27 11:17 UTC+0100 Viktor Szakats * contrib/hbqt/qtcore/hbqt_hbqslots.cpp ! Patch from Francesco. 2011-02-27 11:06 UTC+0100 Viktor Szakats * contrib/hbqt/qtgui/hbqt_init.cpp * contrib/hbqt/qtgui/hbqt_hbqgraphicsitem.cpp * contrib/hbqt/qtcore/hbqt_pointer.cpp * contrib/hbqt/qtcore/hbqt.h * contrib/hbqt/qtcore/hbqtcore.hbx * contrib/hbqt/qtcore/hbqt_hbqevents.cpp * contrib/hbqt/qtcore/hbqt_misc.prg * contrib/hbqt/qtcore/hbqt_init.cpp * contrib/hbqt/qtnetwork/hbqt_init.cpp * Changed few raw pointers missed in other commits. Some of them commented because the class wrapper is not implemented yet. % Deleted unused code. * Changed object creation according to patch from Francesco. (with my changes) 2011-02-27 09:25 UTC+0100 Viktor Szakats * contrib/hbqt/qtgui/hbqt_init.cpp * contrib/hbqt/qtgui/hbqt_hbqgraphicsitem.cpp * contrib/hbqt/qtcore/hbqt_pointer.cpp * contrib/hbqt/qtcore/hbqt.h * contrib/hbqt/qtcore/hbqt_hbqslots.cpp * contrib/hbqt/qtcore/hbqt_init.cpp + Applied (fully manually) Francesco's patch to address inefficiency (to avoid using macro evaluation and calling back to a .prg stub to create objects) in recent raw pointer modification. It contains modifications of mine. ; FIXME: Add puller code for internally created objects. Or, even better use pure C++ object creation code, so this is not a problem. ; TODO: Delete remains of old method. [DONE] 2011-02-27 08:46 UTC+0100 Viktor Szakats * contrib/hbqt/qtcore/hbqt_hbqevents.cpp ! Fixed to convert object name to uppercase when registering an event. Francesco's patch with a twist to do less .toUpper() calls. Pls test. + examples/hbqt_tut + examples/hbqt_tut/hbmk.hbm + examples/hbqt_tut/win01.prg + examples/hbqt_tut/win10.prg + examples/hbqt_tut/win20.prg + examples/hbqt_tut/win02.prg + examples/hbqt_tut/win11.prg + examples/hbqt_tut/win21.prg + examples/hbqt_tut/win12.prg + examples/hbqt_tut/win03.prg + examples/hbqt_tut/win13.prg + examples/hbqt_tut/win04.prg + examples/hbqt_tut/win14.prg + examples/hbqt_tut/win05.prg + examples/hbqt_tut/win15.prg + examples/hbqt_tut/win06.prg + examples/hbqt_tut/win07.prg + examples/hbqt_tut/win16.prg + examples/hbqt_tut/win08.prg + examples/hbqt_tut/win17.prg + examples/hbqt_tut/win09.prg + examples/hbqt_tut/win18.prg + examples/hbqt_tut/win19.prg + examples/hbqt_tut/prova.ui + examples/hbqt_tut/test.jpg + examples/hbqt_tut/test.dbf + Added HBQT tutorial created by Giovanni Di Maria. ! Used hbformat to format them. * Renamed a.jpg to test.jpg + Added hbmk.hbm 2011-02-27 00:24 UTC+0100 Viktor Szakats * contrib/hbqt/qtcore/hbqt_hbqevents.cpp ! Fixed recent typo. Thanks Francesco. 2011-02-26 23:10 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fixed to always set -quiet and -info- when --hbdir* or --hbinfo options are used. 2011-02-26 20:07 UTC+0100 Viktor Szakats * include/hbgtinfo.ch * src/rtl/gtwvt/gtwvt.h * src/rtl/gtwvt/gtwvt.c + tests/wvt_fs.prg + Added ability to switch GTWVT screen into fullscreen. See example for usage. Patch by Aleksander Czajczynski. Many thanks! Pls test. * contrib/hbqt/qtcore/hbqt_pointer.cpp ! Fixed bug introed in 2011-02-24 18:03 UTC-0800 Pritpal Bedi where char array declaration used runtime size value. Replaced with hb_strdup(). In previous commit I've also fixed an strcpy() usage. strcpy() is strictly forbidden in Harbour codebase. Hopefully it fixes MSVC build failure. 2011-02-26 14:28 UTC+0100 Viktor Szakats * config/postinst.hbs ! Typo. 2011-02-26 12:20 UTC+0100 Viktor Szakats * contrib/hbqt/qtgui/hbqtgui.ch * contrib/hbqt/qtgui/hbqt_init.cpp * contrib/hbqt/qtcore/hbqt_init.cpp % Using QT event enums instead of HBQT's .ch. % Moved timer event registration to hbqtcore. 2011-02-26 10:58 UTC+0100 Viktor Szakats * contrib/hbqt/qtgui/hbqt_hbqplaintextedit.cpp * contrib/hbqt/qtgui/hbqt_hbqgraphicsscene.cpp * contrib/hbqt/qtgui/hbqt_hbqgraphicsitem.cpp * contrib/hbqt/qtgui/hbqt_hbqtableview.cpp * Changed to use hbqt_create_objectFromEventType2() instead of hbqt_create_objectFromEventType(). ; Please test, it's likely the new function doesn't work properly yet and should be fixed. 2011-02-26 10:50 UTC+0100 Viktor Szakats * contrib/hbqt/qtgui/hbqtgui.ch * contrib/hbqt/qtgui/hbqt_init.cpp * contrib/hbqt/qtcore/hbqt_pointer.cpp * contrib/hbqt/qtcore/hbqt.h * contrib/hbqt/qtcore/hbqt_hbqevents.cpp * contrib/hbqt/qtcore/hbqt_misc.prg * contrib/hbqt/qtcore/hbqt_init.cpp ! Fixed indentation in recent additions. + Added new function hbqt_create_objectFromEventType2() which is supposed to create the object and fill PPTR in C code (without calling back to .prg) I didn't make any functional tests so pls do it. + Added mechanism to register/unregister event types with object names. + QTGUI will now register its event types on init. + Event filter changed to look for registeres event types and create appropriate object dynamically. ; TODO: Old code is still there, until the new one gets tested. Please do tests. ! Fixed to pull required class wrappers for object types associated with events. ; FIXME: hbqt_create_object()/HBQT_CREATEQTOBJECT() is wrong because it uses macro expansion to call object instantation, which means _ALL_ HBQT apps now require to pull and link every existing QT symbols to work reliably, which is unacceptable for all apps (except HBIDE which pulls all these anyway) [DONE] We should move to full C++ wrappers to solve this cleanly. ; FIXME: Clean code to never use the unsafe hbqt_create_objectFromEventType(). [DONE] ; FIXME: Just a note: Raw pointers are still used in QLIST e.g., so even the raw pointer problem is not fully solved yet. * contrib/hbqt/qtgui/hbqtgui.hbx * contrib/hbqt/qtcore/hbqtcore.hbx * Regenerated automatically. ; !!! FOR HBQT (AND ALL) DEVELOPERS: Please enable HB_REBUILD_EXTERN=yes !!! * contrib/hbtip/sendmail.prg + Encode .xml attachments in base64. Response to sf.net #3192722 + Set MIME type for .xml (text/xml) ; Pls review this. * config/postinst.hbs + Create dynlib symlinks only if the dynlib was actually created and exists. (different patch from what we've dicussed on the list, so pls verify it) 2011-02-25 18:37 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/hbqt_hbqplaintextedit.cpp ! Fixed: a regression where raw pointer was supplied instead of Harbour object. 2011-02-25 09:15 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtcore/hbqt_misc.prg ! Fixed: to not rely on another library. 2011-02-24 18:40 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/tests/testbrow.prg * contrib/hbqt/tests/testqaim.prg * contrib/hbqt/tests/testres.prg ! Adopted: to latest hbQT changes. 2011-02-24 18:03 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/hbmk2_qt.hbs * contrib/hbqt/qtcore/hbqt.h * contrib/hbqt/qtcore/hbqt_hbqevents.cpp * contrib/hbqt/qtcore/hbqt_hbqslots.cpp * contrib/hbqt/qtcore/hbqt_init.cpp * contrib/hbqt/qtcore/hbqt_misc.prg * contrib/hbqt/qtcore/hbqt_pointer.cpp * contrib/hbqt/qtcore/hbqtcore.hbx * contrib/hbqt/qtgui/hbqt_hbqgraphicsitem.cpp * contrib/hbqt/qtgui/hbqt_hbqgraphicsscene.cpp * contrib/hbqt/qtgui/hbqt_hbqtableview.cpp * contrib/hbqt/qtgui/hbqt_init.cpp * contrib/hbqt/qtgui/hbqtgui.hbx * contrib/hbqt/qtgui/qth/QStandardItemModel.qth * contrib/hbqt/qtgui/qth/QTreeWidget.qth * contrib/hbqt/qtnetwork/hbqt_init.cpp * contrib/hbxbp/xbpappevent.prg * contrib/hbxbp/xbpbrowse.prg * contrib/hbxbp/xbpdialog.prg * contrib/hbxbp/xbplistbox.prg * contrib/hbxbp/xbpstatic.prg * contrib/hbxbp/xbpstatusbar.prg * contrib/hbxbp/xbptabpage.prg * contrib/hbxbp/xbptreeview.prg * contrib/hbxbp/xbpwindow.prg * contrib/hbide/hbqreportsmanager.prg * contrib/hbide/hbqtoolbar.prg * contrib/hbide/idebrowse.prg * contrib/hbide/idedocks.prg * contrib/hbide/ideedit.prg * contrib/hbide/ideeditor.prg * contrib/hbide/idefindreplace.prg * contrib/hbide/ideharbourhelp.prg * contrib/hbide/idehome.prg * contrib/hbide/idemain.prg * contrib/hbide/idemisc.prg * contrib/hbide/idethemes.prg + Eliminated: raw pointers available to PRG code totally. Only a couple of places are left which I will look into shortly. [FIXME] INCOMPATIBLE: Now any event fired by the Qt itself, either via SIGNAL/SLOTS mechanism or QEvent_* constants, it supplies Harbour object instead of Qt pointer. This is a massive change and hence regression is expected. Please report. 2011-02-24 22:40 UTC+0100 Viktor Szakats * src/rtl/fscopy.c ! HB_USHORT -> HB_SIZE after recent mod. 2011-02-24 19:33 UTC+0100 Viktor Szakats * config/globsh.mk ! make the clean target also remove the newly-created libharbour* symlinks [Tamas] * utils/hbmk2/hbmk2.prg + Added TODO to eventually delete lib grouping. * config/linux/watcom.mk - Disabled dynlib creation on linux/watcom, because watcom support is broken yet. 2011-02-23 10:58 UTC+0100 Viktor Szakats * config/linux/sunpro.mk * config/sunos/gcc.mk * config/sunos/sunpro.mk + adjust dt_soname generation for sun toolchain [Tamas] * contrib/hbpost.hbm + Added soname support for sunos. Pls test. * config/global.mk * Minor. 2011-02-23 02:09 UTC+0100 Viktor Szakats * contrib/hbexpat/hbexpat.hbp ! Fixed to not disable detection of local copy when HB_BUILD_3RDEXT=no 2011-02-23 00:30 UTC+0100 Viktor Szakats * config/global.mk ! Fixed to use cygharbour-21.dll name for cygwin targets. * config/bsd/gcc.mk + Added -soname option. * config/cygwin/gcc.mk ! Revert. cygwin doesn't have $(LN) command. ; Some useful looking links, for the record: - http://www.fortran-2000.com/ArnaudRecipes/sharedlib.html - https://www.akkadia.org/drepper/dsohowto.pdf - https://abicheck.sourceforge.io/abicheck.html#Documentation 2011-02-22 23:54 UTC+0100 Viktor Szakats * config/bsd/pcc.mk * config/darwin/icc.mk * config/hpux/gcc.mk * config/linux/watcom.mk * config/linux/icc.mk * config/cygwin/gcc.mk * $(LN) commands inlined in ($DY) line. ; So now symlinks are generated on all targets. 2011-02-22 23:50 UTC+0100 Viktor Szakats * config/beos/gcc.mk * config/linux/sunpro.mk * config/sunos/sunpro.mk + Added $(LN) commands to these remaining targets. Only vxworks is missing them now, but I can't remember how this worked there. 2011-02-22 23:45 UTC+0100 Viktor Szakats * config/bsd/pcc.mk * config/hpux/gcc.mk * config/linux/watcom.mk * config/linux/icc.mk + Added $(LN) calls for targets it was missing from. (and which they use multiline dynlib creation block) * config/cygwin/gcc.mk * Moved $(LN) calls to separate lines to be in sync with rest of platforms with multiline dynlib creation block. 2011-02-22 23:37 UTC+0100 Viktor Szakats * config/qnx/gcc.mk * config/bsd/gcc.mk * config/bsd/clang.mk * config/linux/clang.mk * config/cygwin/gcc.mk * config/symbian/gcc.mk + Added symlinks for "2.1" versioned dynlib name. ; [ Apparently several *nix platforms/compilers don't have symlinks implemented yet at all. [DONE] ] 2011-02-22 23:31 UTC+0100 Viktor Szakats * config/linux/sunpro.mk * config/sunos/gcc.mk * config/sunos/sunpro.mk * massage solaris configs to be more in line with other gccs. [Tamas] 2011-02-22 22:17 UTC+0100 Viktor Szakats * src/rtl/fscopy.c ! Use hb_fsReadLarge()/hb_fsWriteLarge(). + Added TODO to use hb_fileExtOpen(). ! Deleted FXO_DEFAULTS after carefully checking there is no more "extra" feature of hb_fsExtOpen() enabled in this specific scenario. 2011-02-22 21:49 UTC+0100 Viktor Szakats * config/darwin/clang.mk ! Typo after recent mods. 2011-02-22 21:36 UTC+0100 Viktor Szakats * config/global.mk ! Fixed regression for win/wce systems after recent dynlib changes. On these systems the referenced lib name should always contain the version number. 2011-02-22 12:26 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbxbp/hbpprocess.prg * contrib/hbxbp/xbp3state.prg * contrib/hbxbp/xbpbitmap.prg * contrib/hbxbp/xbpbrowse.prg * contrib/hbxbp/xbpcheckbox.prg * contrib/hbxbp/xbpclipboard.prg * contrib/hbxbp/xbpcombobox.prg * contrib/hbxbp/xbpdataref.prg * contrib/hbxbp/xbpdialog.prg * contrib/hbxbp/xbpfiledialog.prg * contrib/hbxbp/xbpfontdialog.prg * contrib/hbxbp/xbphtmlviewer.prg * contrib/hbxbp/xbplistbox.prg * contrib/hbxbp/xbpmenubar.prg * contrib/hbxbp/xbpmle.prg * contrib/hbxbp/xbppresspace.prg * contrib/hbxbp/xbpprintdialog.prg * contrib/hbxbp/xbpprinter.prg * contrib/hbxbp/xbppushbutton.prg * contrib/hbxbp/xbpradiobutton.prg * contrib/hbxbp/xbprtf.prg * contrib/hbxbp/xbpscrollbar.prg * contrib/hbxbp/xbpsle.prg * contrib/hbxbp/xbpspinbutton.prg * contrib/hbxbp/xbpstatic.prg * contrib/hbxbp/xbpstatusbar.prg * contrib/hbxbp/xbpstyle.prg * contrib/hbxbp/xbptabpage.prg * contrib/hbxbp/xbptoolbar.prg * contrib/hbxbp/xbptreeview.prg ! Changed: Method :new() => :init() as per Xbase++ compatibility. 2011-02-22 18:35 UTC+0100 Viktor Szakats * config/vxworks/gcc.mk * config/vxworks/diab.mk * config/darwin/gcc.mk * config/darwin/icc.mk * config/darwin/clang.mk * config/linux/gcc.mk * Cleaned to use new central variables for harbour dynlib links. ; TODO: Do the same with rest of *nix targets when adding soname and '2.1' style symlinks, when current system proves okay with darwin and linux/gcc targets. 2011-02-22 18:06 UTC+0100 Viktor Szakats * src/rtl/fscopy.c * Restored open mode. Still waiting for proper fix. * Upped buffer to 65536. * config/qnx/gcc.mk * config/bsd/gcc.mk * config/bsd/clang.mk * config/darwin/gcc.mk * config/darwin/icc.mk * config/darwin/clang.mk * config/linux/gcc.mk * config/linux/clang.mk * config/dyn.mk * config/cygwin/gcc.mk * config/symbian/gcc.mk * Renamed DYN_FILE2/DYN_NAME2 to DYN_FILE/NAME_NVR. (NVR for 'versionless') 2011-02-22 16:25 UTC+0100 Viktor Szakats * config/linux/gcc.mk * Using central macros for dynlib versions. * config/dyn.mk + Added macros to help creation of .major.minor versioned dynlib links. 2011-02-22 16:12 UTC+0100 Viktor Szakats * config/vxworks/gcc.mk * config/vxworks/diab.mk * config/darwin/gcc.mk * config/darwin/icc.mk * config/darwin/clang.mk ! LIB_PREF -> DYN_PREF 2011-02-22 16:08 UTC+0100 Viktor Szakats * config/global.mk % Deleted two remaining HB_DYNLIB_NAME* variables. 2011-02-22 16:01 UTC+0100 Viktor Szakats * src/dynlib/2nd/Makefile * src/dynlib/Makefile * config/none.mk * config/vxworks/gcc.mk * config/vxworks/diab.mk * config/darwin/gcc.mk * config/darwin/icc.mk * config/darwin/clang.mk * config/linux/gcc.mk * config/dyn.mk * config/os2/gcc.mk * DYNNAME2 -> DYNNAME 2011-02-22 15:53 UTC+0100 Viktor Szakats * src/dynlib/2nd/Makefile * src/dynlib/Makefile * config/none.mk * config/dyn.mk % Dropped DYNNAME. Now using DYNNAME2 only. % Dropped HB_DYNLIB_NAME*. Now using HB_DYNLIB_BASE* only. ; TODO: Rename DYNNAME2 to DYNNAME. [DONE] 2011-02-22 14:20 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/src/rtl/fscopy.c * rewrote using hb_fsOpen()/hb_fsCreate() as requested by Viktor 2011-02-22 13:11 UTC+0100 Viktor Szakats * config/postinst.hbs * config/global.mk * config/bin.mk * config/darwin/gcc.mk * config/darwin/icc.mk * config/darwin/clang.mk * config/linux/gcc.mk * config/dyn.mk * config/os2/gcc.mk * Trying to cleanup the harbour dynlib name situation. Here's the plan (which is similar to what's used in contrib area): win, wce: harbour-21[-subtype][.dll/.lib] dos, os2: harbour[.dll|.???] darwin: libharbour.2.1.0.dylib libharbour.2.1.dylib -> (symlink) [compatibility level] libharbour.dylib -> (symlink) *nix: # libharbour.s?.2.1.0 # libharbour.s?.2.1 -> (symlink) [soname] # libharbour.s? -> (symlink) ; It's possible it's broken now. Pls test linux/gcc and darwin. 'install' was not tested. ; TODO: Clean variable usage, there is some redundancy, plus some places where current solution is not generic, e.g. using HB_VER_*, HB_DYNLIB_BASE vs. HB_DYNLIB_NAME, etc. [DONE] * harbour/src/rtl/fscopy.c * Reverted 2011-02-22 12:27 UTC+0200 Mindaugas Kavaliauskas which made behavior inconsistent with rest of similar functions like FERASE(), FRENAME(), which also don't throw RTE if bad parameter is passed, but return FERROR() and failure instead. Also restored _SET_DEFAULT handling to not create a special case compared to __COPYFILE() behavior, ia. some features like FXO_SHARELOCK are still enabled while FXO_DEFAULT is not). Pls rewrite it using hb_fsOpen()/hb_fsCreate() if that behavior bothers you. 2011-02-22 12:27 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/src/rtl/fscopy.c * added runtime error for HB_FCOPY() bad param types only * made a function HB_FCOPY() a pure file system function does not dependent on _SET_DEFAULT setting ; File open mode is not altered a avoid any influence on OS/2 behaviour if source and destination files are the same (see ChangeLog entry at 2009-11-24 16:57). I guess, hb_fsExpOpen() still can be changed to hb_fsOpen() with FO_EXCLUSIVE, FO_CREAT, and FO_TRUNC but I'm unable to test it, so, I leave current code. 2011-02-21 20:15 UTC+0100 Viktor Szakats * src/rtl/fscopy.c * Reverted my recent changes. ; Pls read past ChangeLog entries as to why this function is implementet the way it is make changes which don't break e.g. OS/2. Not throwing an RTE from this function is intentional. * Added parentheses to recent patch to hb_fsCopy(). 2011-02-21 18:25 UTC+0100 Viktor Szakats * src/rtl/fscopy.c ! Fixed missing header in prev. ! Fixed to check empty value of parameters properly. 2011-02-21 16:40 UTC+0100 Viktor Szakats * src/rtl/fscopy.c ! HB_FCOPY(): RTE when either of the parameters is not string. - Deleted FXO_DEFAULTS from open flags, so HB_FCOPY() and hb_fsCopy() don't depend on _SET_DEFAULT setting anymore. 2011-02-21 16:28 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/contrib/hbwin/axcore.c * return NIL instead of runtime error if failed to obtain connection point ; Please test * harbour/src/rtl/fscopy.c * added error check for read operation 2011-02-21 13:59 UTC+0100 Viktor Szakats * src/rtl/filesys.c + fs_win_set_drive(): Setting SEM_FAILCRITICALERRORS before SetCurrentDirectory() call to avoid screen msg in some error scenarios. Thanks to vbdasc (final patch has two modifications, so pls retest it). + hb_fsChDir(): Applied similar logic as above. * Using FALSE instead of 0 in both function above. * contrib/hbssl/evppkey.c * Comment. 2011-02-20 22:53 UTC+0100 Viktor Szakats + contrib/hbct/tests/numline.prg * contrib/hbct/numline.c + Added NUMLINE() tests. The results are based on real tests with CT3, which differ from what CT3 NG states for 'NUMLINE("")' ! NUMLINE(): fixed to handle LF EOLs (like original CT3) % NUMLINE(): variable scope plus minor optimization. ! NUMLINE(): don't strip const when casting. * NUMLINE(): use HB_CHAR_* constant. ! NUMLINE(): fixed line counting to be compatible with CT3. Supposed to fix sf.net #3029405 bug. Please test and review. 2011-02-20 19:46 UTC+0100 Viktor Szakats * contrib/hbpost.hbm * config/linux/gcc.mk + Setting -soname on linux systems. Experimental, I don't know a bit about what this value should be or how it's supposed to work, so pls test. Once settled one something, it should be extended to all *nix platforms and all linux compilers. 2011-02-20 18:01 UTC+0100 Viktor Szakats * package/winuni/RELNOTES * Updated. * package/winuni/mpkg_win_uni.bat + Using mingw64 .dlls and .exe for win64. (was msvc64) Now mingw64 binaries look fine and they are about the same size as mingw32 ones. * package/winuni/mpkg_win_uni.nsi * Formatting. 2011-02-20 13:49 UTC+0100 Viktor Szakats * contrib/hbnetio/utils/hbnetio/hbnetio.hbp * contrib/hbformat/utils/hbformat.hbp * contrib/hbrun/hbrun.hbp - Deleted nxcompat (and friends) flags from local .hbp files. They are enabled by config/hbpost.hbm, in more precise manner. * utils/hbmk2/hbmk2.hbp * utils/hbi18n/hbi18n.hbp * utils/hbtest/hbtest.hbp - Deleted also from here. (These .hbp files are not used by core make.) 2011-02-20 01:54 UTC+0100 Viktor Szakats * src/compiler/gencc.c ! Fixed typos in 2011-02-15 13:39 UTC+0100 Przemyslaw Czerpak breaking strlarge and strhidden VM ops. 2011-02-19 20:49 UTC+0100 Viktor Szakats * package/harbour.spec * package/harbour-win.spec.in * package/harbour-wce.spec.in * include/hbver.h * config/global.mk + Changed version number to: 2.1.0rc2 (from 2.1.0rc1) 2011-02-19 17:26 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg * Some more. 2011-02-19 17:20 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg * Changed "TODO" used as variable names to not collide with TODO comments. * INSTALL * revert. 2011-02-19 15:41 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/hbsocket.c ! added missing casting for C++ mode 2011-02-19 10:16 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Deleted local version of HB_FNAMEDIR(). 2011-02-19 09:27 UTC+0100 Viktor Szakats * src/rtl/Makefile + src/rtl/hbfilehc.c * src/rtl/hbfilehi.prg % Rewritten high-level HB_FNAME*() functions in C. 2011-02-18 17:53 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/ideharbourhelp.prg ! Fixed: a last moment nasty omission in previous commit. * contrib/hbqt/hbmk2_qt.hbs ! Started: implementation of all C++ level class creation. Currently new class structure is only appended in QPainDevice.cpp and QWidget.cpp. ; This has to go in SVN to keep track of heavy changes in the engine plus my different working systems (home/office). * contrib/hbqt/qtcore/qth/QAbstractItemModel.qth * contrib/hbqt/qtgui/qth/QGraphicsLinearLayout.qth * contrib/hbqt/qtgui/qth/QLayout.qth * contrib/hbqt/qtgui/qth/QMessageBox.qth * contrib/hbqt/qtgui/qth/QScrollArea.qth * contrib/hbqt/qtgui/qth/QTreeWidgetItem.qth % Tweaked: detached and attached attributes of child widgets. 2011-02-18 23:44 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.pt_BR.po * utils/hbmk2/hbmk2.hu_HU.po * utils/hbmk2/hbmk2.es_PE.po * utils/hbmk2/hbmk2.prg + Added -F<framework> option to pass OS X/Darwin frameworks to the linker (in both hbexe and hbdyn modes) + <name.framework> input files will be recognized as OS X/Darwin frameworks. + Added support for frameworks= command in .hbc files. * contrib/hbqt/qtgui/hbqtgui.hbc * contrib/hbqt/qtwebkit/hbqtwebkit.hbc * contrib/hbqt/qtcore/hbqtcore.hbc * contrib/hbqt/qtnetwork/hbqtnetwork.hbc * contrib/hbqt/qscintilla/hbqscintilla.hbc * contrib/hbqt/qtdesigner/hbqtdesigner.hbc * Replaced manual hack to add QT frameworks on darwin, with new hbmk2 framework options. * contrib/sddfb/sddfb.hbc * contrib/hbfbird/hbfbird.hbc + Added Firebird as framework on darwin. 2011-02-18 22:20 UTC+0100 Viktor Szakats * contrib/rddads/rddads.h * contrib/rddads/ads1.c ! Fixed to check ADS_LIB_VERSION instead of ADS_LONGLONG to enable longlong related features. * Changed to use ADS_LIB_VERSION to detect availability of ADS_MONEY. * Deleted hack (which was a pending QUESTION for at least 4 years now) which redefined ADS_MAX_KEY_LENGTH for ADS 7.10 to 256, while the official value is 4082 there. Now rddads uses whatever value is defined by ADS header. ! Deleted hack to force usage of ADS_CISTRING, ADS_ROWVERSION, ADS_MODTIME. Now these features will be enabled based on ADS_LIB_VERSION. This was old pending FIXME. It may theoretically change behavior for these field types in certain client/server version combinations, ..or not. Pls comment, I'm not ADS user. ! Added missing cast/warning when built against ADS 5.00. 2011-02-18 21:44 UTC+0100 Viktor Szakats * contrib/rddads/ads.ch ! Deleted COMMIT command which collided with Clipper command of the same name. If you need old ads.ch functionality, replace these command with AdsWriteAllRecords() call. * contrib/rddads/adsx.c * contrib/rddads/ads1.c ! Fixed to always defined ADSVFP and ADSVFPX. (otherwise the .hbx file content will be dependent on version of the 3rd party dependency) 2011-02-18 21:14 UTC+0100 Viktor Szakats * contrib/hbrun/headers.prg * contrib/hbrun/hbrun.prg + Setup internal headers for compiled plugins. + Sped up internal header hash assembly. 2011-02-18 20:47 UTC+0100 Viktor Szakats * contrib/hbrun/plugins.prg ! Fck. Left there some debug alerts. 2011-02-18 20:42 UTC+0100 Viktor Szakats * INSTALL * Changed SVN download command to use http (instead of https) Even though the https version is the official flavor shown on sf.net. Interesting even such trivial matter can generate support question, with too complicate answer. * contrib/hbqt/hbmk2_qt.hbs ! Typo in comment. Copied from Francesco's test version of the plugin. 2011-02-18 13:28 UTC+0100 Viktor Szakats * contrib/hbrun/hbrun.prg * Setting app icon. * contrib/hbqt/hbmk2_qt.hbs * contrib/hbqt/qtgui/hbqtgui.h * contrib/hbqt/qtcore/hbqt_pointer.cpp * contrib/hbqt/qtcore/hbqt.h * contrib/hbqt/qtcore/hbqtcore.h ! Fixed to use HB_U32 for object type (instead of a mixture of int and unsigned int) 2011-02-17 15:01 UTC+0100 Viktor Szakats * contrib/hbrun/hbrun.prg + Added GTWVT on win builds. * src/rtl/gtcrs/gtcrs.c ! Typo in comment. * src/rtl/errapi.c ! Deleted old FIXME most pbly not relevant anymore. * tests/testid.prg ! Deleted old FIXME and formatting. 2011-02-17 13:57 UTC+0100 Viktor Szakats * src/rtl/achoice.prg + Added FIXME. * src/rtl/hbrandom.c ! Fixed type and initialization of a variable. * utils/hbmk2/hbmk2.prg * Formatting. 2011-02-17 10:28 UTC+0100 Viktor Szakats * src/rtl/hbrandom.c ! Typo in comment. [Tamas] + Enabled using DBL_EPSILON in hb_random_num() on Windows platform, except bcc, which - according to the comment from original author - has some problems with this value. * package/harb_win.rc * contrib/hbrun/hbrun.rc * Modified manifest inclusion to be friendly with all Windows compilers (ie. not break them with their own headers and predefined macro definitions). 2011-02-16 18:40 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/qth/QTableWidget.qth * contrib/hbqt/qtgui/qth/QTreeWidget.qth * contrib/hbqt/qtgui/qth/QTreeWidgetItem.qth + Added: [*A=1*] token to methods where ownership is returned back to HVM from Qt object. * contrib/hbqt/hbmk2_qt.hbs + Implemented: protocol to transfer the ownership to free a Qt object to HVM. TODO: spot methods in all .qth files where ownership is switched to application instead of its parent. Speak-out if you find one. 2011-02-16 17:02 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/qth/HBQPlainTextEdit.qth ! Fix: optional parameter was not properly laid. * contrib/hbide/idedocwriter.prg * contrib/hbide/ideharbourhelp.prg + Implemented: Harbour's core API functions to manage Documents retrieval and storage. 2011-02-17 00:53 UTC+0100 Viktor Szakats * contrib/hbrun/plugins.prg + Will now load custom plugins places next to the hbrun executable, having the extesion .hbs or .hrb. 2011-02-17 00:42 UTC+0100 Viktor Szakats * contrib/hbnetio/utils/hbnetio/hbnetio.hbp * contrib/hbrun/plugins.prg - contrib/hbnetio/utils/hbnetio/netioeng.prg + contrib/hbnetio/utils/hbnetio/netiomgm.prg * Renamed. - contrib/hbnetio/utils/hbnetio/hbnetioc.hbp - contrib/hbnetio/utils/hbnetio/netiocmd.prg - Deleted standalone hbnetio management console, now built in hbrun as plugin. 2011-02-16 22:16 UTC+0100 Viktor Szakats + contrib/hbrun/hbrun.rc + Missed from prev commit. ! Enable mft/ver features only for msvc, bcc and mingw, the rest will die various deaths. * package/harb_win.rc * Tweak a little to not cause most RC to die. * contrib/hbnetio/utils/hbnetio/hbnetio.hbp * contrib/hbrun/hbrun.hbp * Enabled security options only on win platform. * contrib/hbrun/hbrun.hbp + Added msvcarm option to avoid fatal compiler error in headers.c. 2011-02-16 21:47 UTC+0100 Viktor Szakats + package/harb_win.rc + package/harb_win.mft * contrib/hbrun/hbrun.hbp + Stirring the sh*t-bucket of nice Windows features! Added extremely useful manifest file and versioninfo, currently used with hbrun. Let's see how different win/wce builds fall apart! (note: if there will be too much problem, I'll just delete it, as it most pbly isn't worth the extra work required for maintaining these files) 2011-02-16 13:17 UTC+0100 Viktor Szakats * contrib/rddads/ads.ch + Added FIXME regarding COMMIT cmd. * contrib/hbtip/cgi.prg ! Fixed FIXME where *nix specific temp dir was hard-wired into multiplatform code. Pls test it. 2011-02-16 10:27 UTC+0100 Viktor Szakats * contrib/rddads/ads.ch ! Restored deleted ADS commands. * contrib/hbtip/cgi.prg * Updated from file sent to the list by Lorenzo. I had to fix a problem which made it obvious that the file was never even compiled in Harbour SVN tree, so please review it. This change also makes this class incompatible with previous version. * doc/en/rdd.txt * doc/en/terminal.txt ! Two typos. (sent to users's list by Alain Aupeix) 2011-02-15 20:55 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbthread.h * harbour/src/vm/hvm.c * harbour/src/vm/thread.c * on main thread exit unlock all main thread PRG mutexes before other thread terminates and EXIT functions are executed. * wake-up all thread waiting on subscribe operation when main thread is terminated. 2011-02-15 17:31 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/contrib/rddads/ads.ch * deleted ADS specific commands with general names 2011-02-15 13:39 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/compiler/gencc.c * added workaround for C compilers which cannot compile very long strings. This hack is not enabled by default and can be enabled by __HB_CSTRING_SIZE_MAX[=<maxsize>] macro (by default <maxsize> is 4 KiB). 2011-02-15 09:21 UTC+0100 Viktor Szakats * contrib/hbqt/hbmk2_qt.hbs * Whitespace. * include/harbour.hbx * src/rtl/hbdoc.prg * tests/stripdoc.hbs * Added __HBDOC_FILTEROUT( <cFile> ) -> <cFile> internal function to strip all NG doc content from a file and return the stripped file. * contrib/hbide/idedocwriter.prg + Use core __HBDOC_TOSOURCE() to generate NG doc source. (just build tested) ; FIXME: idedocwriter.prg and ideharbourhelp.prg still makes direct reference to NG doc physical format. Pls change these to use __HBDOC_* functions. 2011-02-14 15:55 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/idemain.prg * contrib/hbide/idemisc.prg * contrib/hbide/idebrowse.prg + Added: slots to use once RDDAds is linked with hbIDE. ( As per __HBDYNLOAD__RDDADS__ ). * contrib/hbide/ideharbourhelp.prg + Implemented: to honor .hbd files. .hbd files are looked into Harbour's root path and if found, are used by "Documentation Viewer" other standard .txt files are processed in /doc OR /doc/en folders anywhere under the root folder. HBGD seems to be missing from .hbd compilation. 2011-02-15 00:48 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapicls.h * harbour/src/vm/classes.c + added new C function HB_SIZE hb_clsGetVarIndex( HB_USHORT uiClass, PHB_DYNS pVarSym ); which can be used as hack to speedup accessing some object instance variables 2011-02-15 00:11 UTC+0100 Viktor Szakats * contrib/hbide/idemain.prg + Minor to prev. Now possible to build hbide with RDDADS if 'set HB_DYNLOAD_RDDADS=yes' is used prior to build. It's not supported, endorsed or even planned for this release, IOW don't send me reports if it doesn't work. 2011-02-14 23:53 UTC+0100 Viktor Szakats * contrib/hbide/hbide.hbp * contrib/hbide/idemain.prg - Disabled RDDADS dynamic load. It requires further work and brainstorm, which in turn requires interested contributors. Delayed to the future, after stable release. 2011-02-14 23:30 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/src/vm/classes.c ! fixed typo 2011-02-14 19:48 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbclass.ch + added some class(y) compatible commands for delegated messages * harbour/include/hboo.ch * harbour/src/vm/classes.c * harbour/src/rtl/tclass.prg * native support for delegated messages - work in progress * harbour/src/rtl/hbsocket.c ! fixed error checking to eliminate possible error code overload * harbour/ChangeLog * marked old TODO as [DONE] 2011-02-14 18:30 UTC+0100 Viktor Szakats * contrib/hbrun/hbrun.prg + Changed to use hbwin functions to register/unregister hbrun as .hbs runner. (was regedt32 external call) 2011-02-14 17:19 UTC+0100 Viktor Szakats * src/rtl/hbfilehi.prg ! Silly cut&paste typo causing major problem in some cases in HB_PATHNORMALIZE(). (in 2011-02-11 12:04 UTC+0100 Viktor Szakats) Thanks Teo for reporting the darwin/gcc problem it caused. 2011-02-14 16:27 UTC+0100 Viktor Szakats * contrib/hbtip/utils.c * contrib/hbtip/hbtip.hbx + Applied update from Lorenzo: - removed text/plain logic in magic search since this breaks css and js mimes - removed magic check for pkzip (today many formats like ooxml and odf are zips) - added extension mime for css, js, ods, xlsx, zip - added TIP_JSONSPECIALCHARS() * Formatting, cleaned error calls, variables names and scopes (also in TIP_HTMLSPECIALCHARS()) * TIP_JSONSPECIALCHARS(), TIP_HTMLSPECIALCHARS(): Changed to not RTE when empty string is passed. Empty string will return empty string. 2011-02-14 14:39 UTC+0100 Viktor Szakats * contrib/hbwin/hbwin.hbx * contrib/hbwin/win_regc.c * contrib/hbwin/win_reg.prg * contrib/hbwin/tests/testreg.prg + Added WIN_REGDELETE() high-level function. + Added WIN_REGDELETEKEY() Windows API (non-1-to-1) wrapper. + Added WIN_REGDELETEVALUE() Windows API (non-1-to-1) wrapper. * contrib/hbqt/hbmk2_qt.hbs * contrib/hbqt/qtgui/hbqtgui.h * contrib/hbqt/qtcore/hbqtcore.h + Cast HBQT_TYPE_ constants to unsigned int. 2011-02-14 12:58 UTC+0100 Viktor Szakats * contrib/hbide/idemain.prg * contrib/hbide/hbide.hbp + Loading rddads lib dynamically in HBIDE. One will need rddads-21.dll built for this and places in the same dir as hbide (that's where it's generated). You can build rddads-21.dll using HB_BUILD_CONTRIB_DYN=yes. ; FIXME: Get the dynamic lib name right for non-win platforms. Pbly some core functions will be needed for that. 2011-02-14 12:04 UTC+0100 Viktor Szakats * contrib/hbqt/hbmk2_qt.hbs * Adapted to hbdoc changes: no more manual padding necessary. * contrib/hbct/doc/en/color.txt * contrib/hbmisc/doc/en/ht_str.txt * contrib/hbmisc/doc/en/ht_dbf.txt * contrib/hbmisc/doc/en/ht_class.txt * contrib/hbmisc/doc/en/ht_doc.txt * doc/en/hashes.txt * doc/en/rddord.txt * doc/en/rddmisc.txt * doc/en/nation.txt * doc/en/var.txt * doc/en/harbext.txt * doc/en/browse.txt * doc/en/menu.txt * doc/en/file.txt * doc/en/tclass.txt * doc/en/set.txt * doc/en/readme.txt ! Fixed misalignments. 2011-02-14 11:26 UTC+0100 Viktor Szakats * src/rtl/hbdoc.prg * Minor fix to not add padding when content line is empty. * doc/en/1stread.txt * contrib/hbnf/doc/en/numlock.txt * contrib/hbnf/doc/en/mouse1.txt * contrib/hbnf/doc/en/mkdir.txt * contrib/hbnf/doc/en/menu1.txt * contrib/hbnf/doc/en/byteor.txt * contrib/hbnf/doc/en/mouse2.txt * contrib/hbnf/doc/en/clrsel.txt * contrib/hbnf/doc/en/rmdir.txt * contrib/hbnf/doc/en/scancode.txt ! Fixed unaligned content lines. * doc/en/*.txt ! Restored. 2011-02-14 01:45 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * doc/en/1stread.txt * doc/en/array.txt * doc/en/browse.txt * doc/en/cmdline.txt * doc/en/compiler.txt * doc/en/datetime.txt * doc/en/dbstrux.txt * doc/en/file.txt * doc/en/garbage.txt * doc/en/gnulice.txt * doc/en/harbext.txt * doc/en/hashes.txt * doc/en/hb_api.txt * doc/en/hb_apier.txt * doc/en/hb_apifs.txt * doc/en/hb_apigt.txt * doc/en/hb_apiit.txt * doc/en/hb_apiln.txt * doc/en/hb_compa.txt * doc/en/hvm.txt * doc/en/idle.txt * doc/en/input.txt * doc/en/license.txt * doc/en/macro.txt * doc/en/menu.txt * doc/en/misc.txt * doc/en/rdddb.txt * doc/en/rddord.txt * doc/en/readme.txt * doc/en/set.txt * doc/en/strotype.txt * doc/en/terminal.txt * doc/en/var.txt ! Formatted: to start contents at column 9 which was the existing layout for majority of files in doc/en. Some contribs are using column 8 as the base. hbQT can be fixed at the generator level. hbCT needs rework to base at column 9. To shift to column 9 is simple than shift to column 8. QUESTION: which way should we go? 2011-02-14 10:20 UTC+0100 Viktor Szakats * src/rtl/hbdoc.prg + Added logic to detect in which column the actual content starts and read it accordingly. It uses the first content line as a base, so if that one is wrong, the content will be read wrongly and such NG sources should be fixed manually. * On output it will always start content in column 8 (base 1). * contrib/hbmysql/mysql.c ! MYSQL_REAL_ESCAPE_STRING() fixed taking wrong params. Reported by Bacco, thanks! * contrib/hbrun/pullext.prg * contrib/hbrun/hbrun.prg * contrib/hbrun/plugins.prg * contrib/hbrun/headers.prg * Formatting. 2011-02-14 01:04 UTC+0100 Viktor Szakats * src/rtl/hbdoc.prg * tests/hbdocext.prg * tests/hbdoctst.prg * Using new core filename handling functions instead of local copies. 2011-02-14 00:01 UTC+0100 Viktor Szakats * contrib/hbnetio/utils/hbnetio/netioeng.prg * contrib/hbrun/hbrun.prg * contrib/hbrun/hbrun.hbp + netio plugin now supports accepting command-line parameters ! fixed domain handling + new 'about' netio command + selecting wrong domain will display available options * minor tweaks + Enabled -head=dep 2011-02-13 22:42 UTC+0100 Viktor Szakats * contrib/hbrun/hbrun.prg * contrib/hbrun/hbrun.hbp + contrib/hbrun/plugins.prg + Added plugin support. + Added hbnetio management console to hbrun, as plugin. Use: "netio.<command> <params>" format to access it. Or enter netio command domain with ".netio" and use regular netio commands. Exit netio command domain with "." command. * package/winuni/mpkg_win_uni.bat * package/winuni/mpkg_win_uni.nsi * contrib/hbplist - Stdalone hbnetio management console is not built or included in distro anymore. Use hbrun. * contrib/hbrun/hbrun.prg * contrib/hbrun/hbrun.hbp + contrib/hbrun/headers.prg * Moved headers to separate file. * contrib/hbrun/pullext.prg * Minor. * contrib/hbnetio/utils/hbnetio/netioeng.prg * contrib/hbnetio/utils/hbnetio/netiocon.prg * Renamed entry function for console plugin. 2011-02-13 19:20 UTC+0100 Viktor Szakats + contrib/hbnetio/utils/hbnetio/netioeng.prg * contrib/hbnetio/utils/hbnetio/hbnetio.hbp * contrib/hbnetio/utils/hbnetio/hbnetioc.hbp * contrib/hbnetio/utils/hbnetio/netiocon.prg * contrib/hbnetio/utils/hbnetio/netiocmd.prg + netio management client-side command handling moved to a separate module and rewritten to act as a command handler plugin. This makes it possible to move the whole logic inside console hosts, e.g. hbrun. 2011-02-13 13:43 UTC+0100 Viktor Szakats * config/global.mk * src/dynlib/Makefile + src/dynlib/2nd + src/dynlib/2nd/Makefile * Changed so that _HB_BUILD_DYN_ST=yes now creates a separate, secondary dll in ST mode, called harbourst/harbours. 2011-02-13 09:23 UTC+0100 Viktor Szakats * contrib/hbmzip/3rd/minizip/minizip.dif * contrib/hbmzip/3rd/minizip/ioapi.h * Shot in the dark for OS/2. Pls make tests. 2011-02-12 16:53 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * doc/en/gnulice.txt * doc/en/setmode.txt ! Corrected: NF confirmant mis-alignments. * contrib/hbide/ideharbourhelp.prg ! Fixed: a bug in retreival of values agains blank data. Pointed out by Alain Aupeix. 2011-02-12 13:03 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbxbp/hbpprocess.prg ! Reworked: how command line parameters are passed to the appln. * contrib/hbide/idebrowse.prg ! Fixed: Goto() usage was broken in ideDBU ( result of strict parameter checking introduced lately ). * contrib/hbide/ideharbourhelp.prg ! Tried: yet another time to cover case sensitivity in "Document Viewer". * contrib/hbide/idetools.prg ! Tweaked: to pass application parameters for new protocol. 2011-02-12 12:59 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * src/rtl/browse.prg ! Reversed some of the changes in previous commit. Still I am trying to understand how a record can be edited without RLock() ( only for lAppend == TRUE, it is OK ). 2011-02-12 19:02 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/hbsocket.c * added HB_HAS_GETHOSTBYADDR to control access to gethostbyname() function * added alternative implementation of hb_socketGetHostName() function when gethostbyname() is not available 2011-02-11 15:38 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtcore/hbqt_init.cpp * contrib/hbqt/qtgui/hbqt_init.cpp * contrib/hbqt/qtnetwork/hbqt_init.cpp ! Fixed: to return GC Collectible pointers instead of raw ones. TODO: add 3 more classes which are required to handle Qt events. These methods will not work until then. 2011-02-11 15:36 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/qth/QBitmap.qth * contrib/hbqt/qtgui/qth/QColor.qth * contrib/hbqt/qtgui/qth/QComboBox.qth % Cleaned: constructor functions were left in <Proto> section, a result of an earlier version. Thanks Francesco to point it out. 2011-02-11 14:27 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * src/rtl/browse.prg % Optimized. On some RDD some points were a killer. 2011-02-11 13:52 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/dbstruct.ui * contrib/hbide/idebrowse.prg * contrib/hbide/ideharbourhelp.prg * contrib/hbide/idehome.prg ! Fixed: "Welcom" tab - tooltip and links were broken sometimes. + Added: "ideBrowse" - "Structure" dialog - <Copy Struct> button. Click results in structure of the current table structure be pasted on the clipboard under this format: . LOCAL aStruct := { { "Name", "C", 20, 0 },; { "Code", "C", 8, 0 } } % Tried to fix "nix" dependant path cases. Hopefully "Documents Viewer" be avialble on "nixes". 2011-02-11 21:57 UTC+0100 Viktor Szakats * contrib/hbqt/qtcore/hbqt_pointer.cpp * contrib/hbqt/qtcore/hbqt.h ! Fixed type param sign in prev. 2011-02-11 21:33 UTC+0100 Viktor Szakats * contrib/hbqt/qtcore/hbqt_pointer.cpp * contrib/hbqt/qtcore/hbqt.h + Added int hbqt_IsObjectType( int iParam, int iType ). [Francesco Perillo - with some of my mods] 2011-02-11 19:27 UTC+0100 Viktor Szakats * src/rtl/base64d.c ! Err... 2011-02-11 19:24 UTC+0100 Viktor Szakats * src/rtl/base64d.c ! Fixed FIXME to handle too large result. Now it will RTE. Please check me. * src/rtl/hbrandom.c * Formatting. * src/rtl/space.c * Fixed commented call. 2011-02-11 15:45 UTC+0100 Viktor Szakats * contrib/hbqt/qtcore/hbqt_pointer.cpp * contrib/hbqt/qtcore/hbqt.h + Added hbqt_errRT_ARG() to raise argument RTE in wrapper methods. 2011-02-11 14:46 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/base64d.c ! fixed destination buffer size calculation - it was too small ! fixed to work with platform/compilers where 'char' is unsigned type. Please NEVER use 'char' type in math calculation without explicit 'signed' or 'unsigned' specifier. On some platforms (i,e. MIPS Linux ports or in all OpenWatcom builds) 'char' is unsigned type. I once cleaned whole code and fixed all wrong places. I do not want to repeat it - sometimes is hard to locate problematic places. ! fixed index to ASCII decode table verification - '{' was accepted as valid base64 char. BTW this code works only on ASCII based machines. It's not the one code with such limitation in Harbour SVN anyhow it would be good to mark such limitation - maybe someone will want to port Harbour to some IBM mainframe machines. % removed redundant code 2011-02-11 13:30 UTC+0100 Viktor Szakats * src/rtl/base64d.c ! Fixed crash when empty or non-string parameter was passed to HB_BASE64DECODE(). + tests/base64.prg + Added base64 test suite. [Tamas] 2011-02-11 12:21 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fixed regression in 2011-02-10 23:45 UTC+0100 Viktor Szakats, in making .hbmk dir hidden when converting from custom DirBuild() to core hb_DirBuild(). Due to typo the dir was not made hidden. ! Fixed to make .hbmk hidden regardless of casing (e.g. on MS-DOS). 2011-02-11 12:04 UTC+0100 Viktor Szakats * src/rtl/hbfilehi.prg ! Fixed HB_PATHNORMALIZE() recent change to strip double pathseps. It was slashing ending pathsep too, which caused hbmk2 env detection to die and not find libs. NOTE: HB_PATHNORMALIZE() got very inefficient after this addition, so if I may chose to restore stable versions from hbmk2 code. ; There are at least two remaining bugs in recent changes. 2011-02-11 07:48 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Readded REQUEST HB_FSETATTR. It was used in conditional code, so it was not linked on *nix builds, causing failure to run postinst.hbs. * src/rtl/hbrandom.c * Minor formatting. 2011-02-11 00:10 UTC+0100 Viktor Szakats * src/rtl/base64d.c ! HB_BASE64DECODE(): Forgot to return sized buffer in recently added C version of this function. ; Please review and/or stree-test this function. [DONE] 2011-02-10 23:55 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg % PathMakeAbsolute() converted to macro. 2011-02-10 23:45 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg * Changed to use core filename functions. (except PathMakeAbsolute() to hb_PathJoin()) * contrib/hbqt/hbmk2_qt.hbs * Changed hbmk2_*() API calls to Harbour core functions. If you have hbmk2 plugins, pls make these API changes: hbmk2_cwd() -> hb_cwd() hbmk2_PathMakeAbsolute( r, a ) -> hb_PathJoin( a, r ) hbmk2_PathNormalize( ... ) -> hb_PathNormalize( ... ) hbmk2_PathMakeRelative( ... ) -> hb_PathRelativize( ... ) hbmk2_DirAddPathSep( ... ) -> hb_DirSepAdd( ... ) hbmk2_DirDelPathSep( ... ) -> hb_DirSepDel( ... ) hbmk2_DirBuild( ... ) -> hb_DirBuild( ... ) hbmk2_DirUnbuild( ... ) -> hb_DirUnbuild( ... ) hbmk2_FNameDirGet( ... ) -> hb_FNameDir( ... ) hbmk2_FNameNameGet( ... ) -> hb_FNameName( ... ) hbmk2_FNameNameExtGet( ... ) -> hb_FNameNameExt( ... ) hbmk2_FNameExtGet( ... ) -> hb_FNameExt( ... ) hbmk2_FNameExtDef( ... ) -> hb_FNameExtSetDef( ... ) hbmk2_FNameExtSet( ... ) -> hb_FNameExtSet( ... ) * contrib/hbide/idesaveload.prg ! Missed to change one function to core version in 2011-02-10 13:33 UTC+0100. 2011-02-10 21:58 UTC+0100 Viktor Szakats * package/harbour.spec * Deleted reference to harbourmt. ; QUESTION: Is this line right? Provides: %{name} harbour lib%{name}.so [ %{name} is also 'harbour', so 'harbour' is there twice ] 2011-02-10 21:50 UTC+0100 Viktor Szakats * src/dynlib/Makefile * config/postinst.hbs * config/global.mk * config/bin.mk * Cleaned up names after previous change. 2011-02-10 19:18 UTC+0100 Viktor Szakats - src/dynlib/mt * src/dynlib/Makefile * src/vm/maindllp/dllpcode.c * package/winuni/mpkg_win_uni.bat * package/winuni/mpkg_win_uni.nsi * utils/hbmk2/hbmk2.prg * config/postinst.hbs * config/global.mk * config/bin.mk * Changed to have only one harbour dll, and this one with MT support. This means the old MT mode dll named harbourmt/harbourm is no more and the old ST mode dll vanished also. This will result in much cleaner layout of Harbour binary tree, smaller distribution size, and unambigous dll tree when linking an app with dll multiple components (e.g. contribs). If someone wants to build an ST mode harbour dll, she can use the internal build-time option: _HB_BUILD_DYN_ST=yes ; Please test. ; TODO: Do a final cleanup on internal variable names to not have "ST" in them. [DONE] 2011-02-10 13:33 UTC+0100 Viktor Szakats * contrib/make.hbs * contrib/hbide/idemisc.prg * contrib/hbide/idefunctions.prg * contrib/hbide/ideprojmanager.prg * contrib/hbrun/hbrun.prg * config/postinst.hbs * bin/hb3rdpat.hbs * Using new filename handling functions from core. % Deleted redundant local copies of these functions. * utils/hbmk2/hbmk2.prg + REQUESTing new filename handling function till they are used in hbmk2 too. ; TODO: Make the switch in hbmk2 too. [DONE] 2011-02-10 12:19 UTC+0100 Viktor Szakats * contrib/hbmysql/hbmysql.hbc * contrib/sddpg/sddpg.hbc * contrib/hbpgsql/hbpgsql.hbc * contrib/sddmy/sddmy.hbc * contrib/hbmagic/hbmagic.hbp * contrib/hbmagic/hbmagic.hbc * contrib/hbfimage/hbfimage.hbc * contrib/hbcairo/hbcairo.hbc + Added libpaths for darwin. + Added libmagic detection on darwin. * contrib/hbgd/hbgd.hbc ! Fixed libpath option for darwin. * utils/hbmk2/hbmk2.prg * Add watt lib path to path list only if exists. * Add -L and libpaths= values to path lists only if they exist. ! Fixed option order in dynlib libtool command for darwin. 2011-02-10 09:38 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + switched to use libtool for lib assembly with all darwin compilers (was gcc only + TODO) + switched to use libtool for dynlib assembly with all darwin compilers (instead of compiler) + Added '-flat_namespace -undefined suppress -single_module' options for dynlib assembly. Now in sync with core build. ; Pls test. I didn't test if the created .dylibs actually work. * contrib/hbpost.hbm - Deleted now unecessary manual darwin dylib options. 2011-02-10 01:30 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Tweak to self name filter. * contrib/hbpost.hbm ! Added options for darwin to make dynlib building work again after the -hbdynvm/-hbdyn change last year. ; TODO: Move these to hbmk2. Also maybe it'd be better to use libtool there, like in core Harbour build. + Added dynlib internal name and version info. * contrib/hbodbc/hbodbc.hbc * contrib/sddodbc/sddodbc.hbc + Added odbc lib name for darwin. 2011-02-09 21:23 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbwin/axcore.c ! fixed double binding of ax event handler with two different OLE pointer items - it was causing accessing freed or reused by other things memory potentially with all possible bad side effect. Mindaugas, please verify me but I think that you forgot to remove the old binding when you were adding the code I proposed and you didn't leave it intentionally. Am I right? 2011-02-09 16:56 UTC+0100 Viktor Szakats * contrib/hbmysql/hbmysql.hbc * contrib/hbct/hbct.hbc * contrib/hbgt/hbgt.hbc * contrib/hbmxml/hbmxml.hbc * contrib/make.hbs * contrib/hbmzip/hbmzip.hbc * contrib/hbunix/hbunix.hbc * contrib/sddpg/sddpg.hbc * contrib/hbziparc/hbziparc.hbc * contrib/hbxbp/hbxbp.hbc * contrib/hblzf/hblzf.hbc * contrib/hbblink/hbblink.hbc * contrib/hbxdiff/hbxdiff.hbc * contrib/hbcurl/hbcurl.hbc * contrib/hbnetio/hbnetio.hbc * contrib/rddsql/rddsql.hbc * contrib/hbhttpd/hbhttpd.hbc * contrib/gtwvg/gtwvg.hbc * contrib/hbpgsql/hbpgsql.hbc * contrib/sddsqlt3/sddsqlt3.hbc * contrib/hbformat/hbformat.hbc * contrib/hbwin/hbwin.hbc * contrib/hbsms/hbsms.hbc * contrib/gtalleg/gtalleg.hbc * contrib/sddmy/sddmy.hbc * contrib/hbodbc/hbodbc.hbc * contrib/xhb/xhb.hbc * contrib/sddfb/sddfb.hbc * contrib/hbtpathy/hbtpathy.hbc * contrib/rddbm/rddbm.hbc * contrib/hbsqlit3/hbsqlit3.hbc * contrib/hbmagic/hbmagic.hbc * contrib/hbexpat/hbexpat.hbc * contrib/hbblat/hbblat.hbc * contrib/hbqt/qtgui/hbqtgui.hbc * contrib/hbqt/qtwebkit/hbqtwebkit.hbc * contrib/hbqt/qtcore/hbqtcore.hbc * contrib/hbqt/qtnetwork/hbqtnetwork.hbc * contrib/hbqt/qtuitools/hbqtuitools.hbc * contrib/hbqt/qscintilla/hbqscintilla.hbc * contrib/hbqt/qtdesigner/hbqtdesigner.hbc * contrib/hbfbird/hbfbird.hbc * contrib/hbbz2/hbbz2.hbc * contrib/hbnf/hbnf.hbc * contrib/hbmemio/hbmemio.hbc * contrib/hbxpp/hbxpp.hbc * contrib/hbfship/hbfship.hbc * contrib/hbcups/hbcups.hbc * contrib/hbfoxpro/hbfoxpro.hbc * contrib/hbhpdf/hbhpdf.hbc * contrib/hbclipsm/hbclipsm.hbc * contrib/rddads/rddads.hbc * contrib/hbfimage/hbfimage.hbc * contrib/sddodbc/sddodbc.hbc * contrib/hbgd/hbgd.hbc * contrib/hbmisc/hbmisc.hbc * contrib/sddoci/sddoci.hbc * contrib/hbcomm/hbcomm.hbc * contrib/hbtip/hbtipssl.hbc * contrib/hbtip/hbtip.hbc * contrib/hbcairo/hbcairo.hbc * contrib/hbssl/hbssl.hbc * Renamed __HB_DYN__ to _HB_DYNSUFF + Added _HB_DYNPREF * contrib/hbcairo/hbcairo.hbc ! Fixed libname when _HB_DYNPREF is set. * contrib/hbqt/qtgui/hbqtgui.hbc * contrib/hbqt/qtwebkit/hbqtwebkit.hbc * contrib/hbqt/qtcore/hbqtcore.hbc * contrib/hbqt/qtnetwork/hbqtnetwork.hbc * contrib/hbqt/qtuitools/hbqtuitools.hbc * contrib/hbqt/qscintilla/hbqscintilla.hbc * contrib/hbqt/qtdesigner/hbqtdesigner.hbc ! Fixed linux static mode when _HB_DYNPREF is set * Changed to use ${hb_name} instead of explicit libname 2011-02-09 14:40 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Also exclude self from lib list on *nix systems. + Try harder to detect self lib by stripping all extensions in the name. 2011-02-09 13:47 UTC+0100 Viktor Szakats * contrib/hbmxml/3rd/minixml/mxml.hbp * contrib/3rd/sqlite3/sqlite3.hbp * contrib/hbmzip/3rd/minizip/minizip.hbp * contrib/hblzf/3rd/liblzf/lzf.hbp * contrib/hbxdiff/3rd/libxdiff/xdiff.hbp * contrib/hbexpat/3rd/expat/expat.hbp * contrib/hbbz2/3rd/bz2/bz2.hbp * contrib/hbhpdf/3rd/libhpdf/libhpdf.hbp ! Do not create dynamic version of 3rd party dependencies hosted locally. It should fix some problems on *nix builds with HB_BUILD_CONTRIB_DYN=yes. * contrib/hbrun/hbrun.hbp + -o option. * utils/hbmk2/hbmk2.prg + Added dynlib dir + prefix to --hbinfo output. 2011-02-09 03:21 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + REQUESTed some functions needed by postinst.hbs. + Added .hbs/.hrb capability to help notes. 2011-02-09 02:27 UTC+0100 Viktor Szakats * contrib/hbplist - contrib/hbrun/hbrunext.hbp + contrib/hbrun/hbrun.prg + contrib/hbrun/hbrun.hbp + contrib/hbrun/hbrun.1 * config/postinst.hbs - utils/hbrun * utils/Makefile * Moved hbrun to contrib area. ; Now it can contain any contrib libs. 2011-02-09 02:12 UTC+0100 Viktor Szakats * contrib/hbplist - contrib/hbrunext + contrib/hbrun * doc/dirstruc.txt * Renamed hbrunext to hbrun. Step #1. * utils/hbmk2/hbmk2.prg * utils/hbmk2/hbmk2.pt_BR.po * utils/hbmk2/hbmk2.hu_HU.po * utils/hbmk2/hbmk2.es_PE.po ! One English word. 2011-02-08 23:22 UTC+0100 Viktor Szakats * Makefile * contrib/Makefile + Changed script runner tool to hbmk2 (from hbrun). So now hbrun is not required for build process. * utils/Makefile * package/harbour.spec * INSTALL * Changed to reflect that now hbmk2 runs the build scripts. * utils/hbmk2/hbmk2.prg * utils/hbrun/hbrun.prg + Added hbrun_ProgrName() function to return runner executable name. 2011-02-08 22:29 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added experimental hbrun script runner "emulation" to hbmk2. With a few differences: - there is no interactive console - it works only if filename with .hbs or .hrb is passed as first parameter (which present a minor incompatibility for those using hbmk2 to compile .hbs scripts to executables) - the default GT environment for scripts is GTCGI. - scripts may request interactivity with HBRUN_GTINTERACTIVE() function call. This will switch mode to GTWIN/GTTRM/GTDOS/GTOS2 depending on platform. Though interactive functions linked into hbmk2 are very limited. - only a limited set of functions and headers are available, those which may be useful for command-line apps. (which means hbmk2 size didn't grow significantly after this commit) ; The goal is to make it possible to replace hbrun with hbmk2 for Harbour build related scripts, and other simple user scripts. * utils/hbrun/hbrun.prg * Minor cleanups. * Using HB_PROGNAME() instead of HB_ARGV( 0 ) 2011-02-08 14:50 UTC+0100 Viktor Szakats * contrib/hbnetio/hbnetio.hbp + contrib/hbnetio/hbnetio.hbx + Added hbx for hbnetio. * contrib/hbrunext/pullext.prg * contrib/hbrunext/hbrunext.hbp + Added hbnetio to hbrunext tool. 2011-02-08 14:36 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/tbrowse.prg ! set default minimal number of visible rows to ::rowpos() when ::configure() method is called - clipper compatibility fix. 2011-02-08 13:39 UTC+0100 Viktor Szakats * contrib/hbnetio/utils/hbnetio/netiocon.prg + Accepting notification events coming from the server in a separate thread, so now they are realtime-ish (it's poll). It's little rough around the edges yet. * contrib/hbnetio/utils/hbnetio/hbnetioc.hbp + Enabled MT mode also for console client. * contrib/hbnetio/utils/hbnetio/netiosrv.prg + Send out 'shutdown' notifications to mgmnt clients. 2011-02-08 11:05 UTC+0100 Viktor Szakats * ChangeLog * contrib/hbnetio/utils/hbnetio/netiosrv.prg ! Set netio root data dir to 'data' subdir by default to avoid overwriting anything in the daemon's own directory (e.g. its settings) ! Set netio root data dir to invalid dir name ("*?:*?:") to prevent management clients to create any files on server. QUESTION: Is there a better way to prevent RDD I/O redirection for given server session? 2011-02-08 09:02 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/gtwvt/gtwvt.c * redefine [GS]etWindowLongPtr() -> [GS]etWindowLong() in one place only Please verify it with MSC builds. 2011-02-07 17:09 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbnetio/utils/hbnetioq/netiosrq.prg ! Enabled: "Stop" a connection, either via toolbar icon or context menu on a connection row in the browser. % Fixed: to refresh browser every 3 seconds. 2011-02-08 00:56 UTC+0100 Viktor Szakats * src/common/hbverdsp.c + Instead of adding "(UNICODE)" marker in build info for UNICODE builds, now it will add "(WINANSI)" for non-UNICODE builds. * contrib/hbnetio/utils/hbnetio/netiosrv.prg * Using more hb_StrFormat() * contrib/hbnetio/utils/hbnetio/netiocon.prg * Tweak to one cmd help. * utils/hbrun/hbrun.prg * Formatting. 2011-02-08 00:31 UTC+0100 Viktor Szakats * contrib/hbnetio/utils/hbnetio/netiosrv.prg * contrib/hbnetio/utils/hbnetio/netiocon.prg + Internal enhancements in output creation. * INSTALL * Minor. 2011-02-07 22:52 UTC+0100 Viktor Szakats * contrib/hbnetio/utils/hbnetioq/netiosrq.prg ! Synced one RPC call with recent change in server. 2011-02-07 22:46 UTC+0100 Viktor Szakats * src/3rd/zlib/Makefile ! Fixed pocc64 related change in 2011-02-01 16:59 UTC+0100 Viktor Szakats Which broke zlib in harbour dll on all win platforms. Unfortunately pocc64 is broken (6.5 even) due to bugs in the compiler, so I _very strongly suggest_ to take out pocc64 from tests, but at least not use HB_BUILD_CONTRIB_DYN=yes, when building it. * src/rtl/base64d.c * Copyright header tweak. 2011-02-07 13:29 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbnetio/utils/hbnetioq/netiosrq.prg ! Ebnabled to get information from netiosrv daemon. Currently only connections info. Time interva to refresh browser is 10 seconds currently. Still a lot to be implemented based on latest features of netiosrv daemon. A work-in-progress. 2011-02-07 17:39 UTC+0100 Viktor Szakats * contrib/hbcurl/hbcurl.hbc * contrib/hbssl/hbssl.hbc ! Fixed to always look for dynamic version of own implib (which is thus filtered out) and the dependencies when used for building dynamic lib (IOW in this case disregard the HB_STATIC_* setting), e.g. when HB_BUILD_CONTRIB_DYN=yes. 2011-02-07 17:18 UTC+0100 Viktor Szakats * include/harbour.hbx + Added HB_SOCKETGETHOSTNAME(). * contrib/hbcurl/hbcurls.hbp * contrib/hbssl/hbssls.hbp * Changed to not build dlls against static lib dependencies. * contrib/hbssl/hbssl.hbp ! Fixed regression (in 2011-02-03 01:44 UTC+0100 Viktor Szakats) causing implibs to not be generated for openssl. 2011-02-07 14:43 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/gttrm/gttrm.c ! fixed typo in key escape sequence * harbour/include/hbsocket.h * harbour/src/rtl/hbsocket.c + added new C function: char * hb_socketGetHostName( const void * pSockAddr, unsigned len ); * harbour/src/rtl/hbsockhb.c + added new PRG function: HB_SOCKETGETHOSTNAME( <aAddr> ) --> <cHostName> 2011-02-07 10:54 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Do not add .hbx file to input file list if the file doesn't exist. This is to resolve the chicken-egg problem when initially creating the .hbx file for a new project. ! Never use .hbx filename for forming the output name and deciding about startup module. * utils/hbmk2/hbmk2.prg * config/postinst.hbs + Do not add duplicates to extern list. (it may have only happened if renaming sources and building without clean) 2011-02-07 10:19 UTC+0100 Viktor Szakats * contrib/hbmxml/hbmxml.hbx * contrib/hbexpat/hbexpat.hbx * contrib/hbcomm/hbcomm.hbx * Removed duplicates using clean build. 2011-02-06 20:22 UTC+0100 Viktor Szakats * contrib/hbnetio/utils/hbnetio/netiosrv.prg * contrib/hbnetio/utils/hbnetio/netiocon.prg - Deleted filtering on client host name. * contrib/hbnetio/utils/hbnetio/netiocon.prg ! Fixed RTE when there were no notifications. 2011-02-06 17:10 UTC+0100 Viktor Szakats * contrib/make.hbs ! Fixed RTE regression in recent hbx updates. 2011-02-06 16:40 UTC+0100 Viktor Szakats * contrib/make.hbs ! Temp fix. [DONE] * contrib/hbmysql/hbmysql.hbp * contrib/hbhttpd/hbhttpd.hbp * contrib/hbpgsql/hbpgsql.hbp * contrib/hbodbc/hbodbc.hbp * contrib/hbblat/hbblat.hbp * contrib/hbfbird/hbfbird.hbp * contrib/hbfimage/hbfimage.hbp * contrib/hbtip/hbtip.hbm * contrib/hbcairo/hbcairo.hbp + Added .hbx file to the projects. * contrib/hbcups/hbcups.hbp - contrib/hbcups/hbcups.c + contrib/hbcups/core.c * contrib/hbcurl/hbcurl.hbm - contrib/hbcurl/hbcurl.c + contrib/hbcurl/core.c * contrib/hbformat/hbformat.hbp - contrib/hbformat/hbformac.c + contrib/hbformat/fileread.c - contrib/hbformat/hbformat.prg + contrib/hbformat/hbfmtcls.prg * contrib/hbmagic/hbmagic.hbp - contrib/hbmagic/hbmagic.c + contrib/hbmagic/core.c * contrib/hbsqlit3/hbsqlit3.hbp - contrib/hbsqlit3/hbsqlit3.c + contrib/hbsqlit3/core.c * contrib/hbssl/hbssl.hbm - contrib/hbssl/hbssl.c + contrib/hbssl/ssl_hb.c * contrib/hbziparc/hbziparc.hbp - contrib/hbziparc/hbziparc.prg + contrib/hbziparc/ziparc.prg * Renamed sources to not collide with .hbx file. + Added .hbx file to the projects. ; Completes all TODOs from: 2010-08-04 20:15 UTC+0200 Viktor Szakats 2011-02-06 16:19 UTC+0100 Viktor Szakats * contrib/hbhpdf/hbhpdf.hbp - contrib/hbhpdf/harupdf.c + contrib/hbhpdf/core.c * Rename. 2011-02-06 16:16 UTC+0100 Viktor Szakats * contrib/hbhpdf/hbhpdf.hbp * contrib/hbhpdf/hbhpdf.h * contrib/hbhpdf/harupdf.c + contrib/hbhpdf/annot.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/image.c + contrib/hbhpdf/pdfa.c + Split monolithic wrapper into logical parts. This will result in significant decrease in executable size for most users. 2011-02-06 15:44 UTC+0100 Viktor Szakats + contrib/hbhpdf/hbhpdf.h * contrib/hbhpdf/harupdf.c + Created separate header. 2011-02-06 15:39 UTC+0100 Viktor Szakats * contrib/hbpgsql/hbpgsql.hbx * contrib/hbpgsql/tests/hdbctest.prg * contrib/hbpgsql/hdbcpg.prg * contrib/hbsqlit3/tests/hdbctest.prg * contrib/hbsqlit3/hbsqlit3.hbx * contrib/hbsqlit3/hdbcsqlt.prg + Renamed HDBC classes to have 'hdbc' prefix (was: 'T') 2011-02-06 15:30 UTC+0100 Viktor Szakats * contrib/hbfimage/fi_winfu.c ! Fixed to define windows specific functions on all platforms (as noop dummies) 2011-02-06 15:22 UTC+0100 Viktor Szakats + contrib/hbblat/hbblat.hbx + contrib/hbcairo/hbcairo.hbx + contrib/hbcups/hbcups.hbx + contrib/hbcurl/hbcurl.hbx + contrib/hbfbird/hbfbird.hbx + contrib/hbfimage/hbfimage.hbx + contrib/hbformat/hbformat.hbx + contrib/hbhttpd/hbhttpd.hbx + contrib/hbmagic/hbmagic.hbx + contrib/hbmysql/hbmysql.hbx + contrib/hbodbc/hbodbc.hbx + contrib/hbpgsql/hbpgsql.hbx + contrib/hbsqlit3/hbsqlit3.hbx + contrib/hbssl/hbssl.hbx + contrib/hbtip/hbtip.hbx + contrib/hbziparc/hbziparc.hbx * contrib/hbblat/hbblat.hbp * contrib/hbcairo/hbcairo.hbp * contrib/hbcups/hbcups.hbp * contrib/hbcurl/hbcurl.hbm * contrib/hbfbird/hbfbird.hbp * contrib/hbfimage/hbfimage.hbp * contrib/hbformat/hbformat.hbp * contrib/hbhttpd/hbhttpd.hbp * contrib/hbmagic/hbmagic.hbp * contrib/hbmysql/hbmysql.hbp * contrib/hbodbc/hbodbc.hbp * contrib/hbpgsql/hbpgsql.hbp * contrib/hbsqlit3/hbsqlit3.hbp * contrib/hbssl/hbssl.hbm * contrib/hbtip/hbtip.hbm * contrib/hbziparc/hbziparc.hbp + Added .hbx files for remaining projects. (except sdd and rdd ones, this is to be decided) * contrib/gtalleg/gtalleg.hbm * contrib/gtwvg/gtwvg.hbp ! Fixed to not generate dynamic version of them. (there is no point, plus gtwvg didn't build as dll anyway) * contrib/hbclipsm/hbclipsm.hbx * contrib/hbcomm/hbcomm.hbx * contrib/hbfoxpro/hbfoxpro.hbx * contrib/hbfship/hbfship.hbx * contrib/hbgd/hbgd.hbx * contrib/hbgt/hbgt.hbx * contrib/hbhpdf/hbhpdf.hbx * contrib/hbmisc/hbmisc.hbx * contrib/hbnf/hbnf.hbx * contrib/hbqt/qtcore/hbqtcore.hbx * contrib/hbqt/qtdesigner/hbqtdesigner.hbx * contrib/hbqt/qtgui/hbqtgui.hbx * contrib/hbqt/qtnetwork/hbqtnetwork.hbx * contrib/hbqt/qtuitools/hbqtuitools.hbx * contrib/hbqt/qtwebkit/hbqtwebkit.hbx * contrib/hbsms/hbsms.hbx * contrib/hbtpathy/hbtpathy.hbx * contrib/hbxbp/hbxbp.hbx * contrib/hbzebra/hbzebra.hbx * contrib/rddads/rddads.hbx * contrib/xhb/xhb.hbx * Refreshed. 2011-02-06 14:34 UTC+0100 Viktor Szakats * contrib/hbnetio/utils/hbnetio/netiosrv.prg + Reworked and reenabled host name based filtering. NOTE: Host name lookup is not implemented for win platforms in hbsocket. 2011-02-06 13:57 UTC+0100 Viktor Szakats * contrib/hbnetio/utils/hbnetio/netiosrv.prg * contrib/hbnetio/utils/hbnetio/netiocon.prg + Resolved remaining TODOs regarding client notifications. + Added automatic deletion of (abnormally) disconnected clients from notification list. * Commented filter code dealing with host names until we find out how to get those from IP. * contrib/hbhttpd/core.prg ! English translation of one word. * contrib/hbformat/hbformat.prg ! Added missing ASCAN() from list of functions. 2011-02-06 11:14 UTC+0100 Viktor Szakats * contrib/hbrunext/hbrunext.hbp * contrib/hbrunext/pullext.prg * utils/hbrun/hbrun.prg + Will now show the list of available extensions if any is linked. * INSTALL * watt homepage update. [Tamas] 2011-02-06 10:36 UTC+0100 Viktor Szakats * contrib/hbct/keysec.prg * contrib/hbct/keytime.prg ! Fixed KEYSEC() and KEYTIME() functions to work. They used xhb specific __KEYBOARD() extension, now swapped for HB_KEYPUT(). Reported by Georgewf. ! Fixed KEYSEC() to work around midnight. * Formatting. 2011-02-06 03:04 UTC+0100 Viktor Szakats * contrib/hbnetio/utils/hbnetio/netiosrv.prg * contrib/hbnetio/utils/hbnetio/netiocon.prg + Implemented notifications to management clients about server side event, curently connection/disconnections. Quite many TODOs are left, and since the console client is ST yet, the display of server events is done after processing a console command. E.g. a GUI client can use such information to refresh list of clients. * contrib/hbnetio/utils/hbnetioq/netiosrq.prg * Cleanups. 2011-02-05 23:19 UTC+0100 Viktor Szakats * contrib/hbnetio/utils/hbnetioq/netiosrq.prg * Roughly reworked to act as management client UI. I didn't touch any GUI logic. + Accept server port and password in ini file, which is now named 'hbnetioq.exe.config'. This can also be extended and fine tuned at will. ; To test, run it like the console client, e.g.: hbnetio -adminpass=toptopsecret hbnetioq -pass=toptopsecret ; NOTE: Only one RPC call is implemented, pls fill the rest, plus some periodic refresh would have to implemented for the browse. Pls see contrib/hbnetio/utils/hbnetio/netiocon.prg for possible RPC commands and returned values. 2011-02-05 22:25 UTC+0100 Viktor Szakats * contrib/make.hbs ! Fixed recent regression: build hbx only for hblib/hbdyn projects. * contrib/hbrunext/pullext.prg * contrib/hbrunext/hbrunext.hbp * Internal rename. * contrib/hbwin/hbwin.hbx * contrib/hbmemio/hbmemio.hbx * contrib/hbct/hbct.hbx * Refreshed. (comment only) 2011-02-05 22:11 UTC+0100 Viktor Szakats * src/3rd/zlib/Makefile ! Fixed to export symbols with bcc. * src/3rd/png/pngerror.c * src/3rd/png/pngconf.h * src/3rd/png/pngwrite.c * src/3rd/png/pngset.c * src/3rd/png/pngpread.c * src/3rd/png/LICENSE * src/3rd/png/png.dif * src/3rd/png/pngrutil.c * src/3rd/png/pnglconf.h * src/3rd/png/pngread.c * src/3rd/png/pngmem.c * src/3rd/png/png.c * src/3rd/png/pngget.c * src/3rd/png/png.h * src/3rd/png/pngpriv.h * src/3rd/png/pngrtran.c * src/3rd/png/pngtrans.c * src/3rd/png/Makefile + Updated to 1.5.1 (from 1.5.0) [Tamas] 2011-02-05 18:29 UTC+0100 Viktor Szakats * examples/gtwvw/wvwfuncs.c * Renamed WIN_RECTANGLE() to WVW_RECTANGLE() * Renamed WIN_SETBKMODE() to WVW_SETBKMODE() - Deleted WIN_LOWORD() - Deleted WIN_HIWORD() ; INCOMPATIBILITY: If you used WIN_RECTANGLE() or WIN_SETBKMODE() specifically from GTWVW, change these calls to the new WVW_*() versions. If you used WIN_LOWORD() or WIN_HIWORD(), link hbwin lib (hbwin.hbc) to your app. * contrib/*/*.hbx * Regenerated. 2011-02-05 17:51 UTC+0100 Viktor Szakats * contrib/hbssl/ssl.c ! Suppressed msvc warning. ! Fixed build error in bcc. ; Both regression after 2011-02-03 01:44 UTC+0100 Viktor Szakats * config/postinst.hbs - config/hbextern.hbs * Merged hbextern.hbs into postinst.hbs. 2011-02-05 16:56 UTC+0100 Viktor Szakats * contrib/hbbz2/hbbz2.hbp ! Fix to prev. * contrib/hbbz2/hbbz2.hbx * contrib/hbxpp/hbxpp.hbx * Updated. 2011-02-05 16:52 UTC+0100 Viktor Szakats * contrib/make.hbs + Updated to use hbmk2 to create hbx files. * contrib/3rd/sqlite3/sqlite3.hbc * Fix for Minix. From Tamas. * contrib/hbblink/hbblink.hbx * Updated. * utils/hbmk2/hbmk2.prg * Refinements in hbx related console feedback. 2011-02-05 14:02 UTC+0100 Viktor Szakats * contrib/hbplist + Added hbrunext to contrib list, so it's now built for everyone. ; It also builds nicely using full shared mode (on win platform with '-env:__HB_DYN__=_dll -shared' options). .exe is 1 MB with mingw. But, there is one catch, harbourmt.dll and harbour.dll are mixed (mt pulled by hbrunexp, st pulled by contrib dlls), which is tricky business. What's best solution for this? (Obviously, building both ST and MT versions of all .dlls doesn't seem like a very good idea) * utils/hbmk2/hbmk2.prg * utils/hbmk2/hbmk2.pt_BR.po * utils/hbmk2/hbmk2.hu_HU.po * utils/hbmk2/hbmk2.es_PE.po + Added 'requests=' command to .hbc files. * utils/hbrun/hbrun.prg + Added my name to copyright banner. 2011-02-05 13:41 UTC+0100 Viktor Szakats * contrib/hbbz2/hbbz2.hbp + contrib/hbbz2/hbbz2.hbx - contrib/hbbz2/hbbz2.c + contrib/hbbz2/core.c * Renamed sources. + Added .hbx file. ; NOTE: BTW I'm not sure it's very good to name all main .c files in wrapper libs as 'core.c', so if anyone have better idea, pls shout. 2011-02-05 12:51 UTC+0100 Viktor Szakats * contrib/hbmxml/hbmxml.hbp - contrib/hbmxml/hbmxml.c + contrib/hbmxml/core.c - contrib/hbmxml/hbmxmlp.prg + contrib/hbmxml/format.prg - contrib/hbmxml/hbmxmlx.prg * contrib/hblzf/hblzf.hbp - contrib/hblzf/hblzf.c + contrib/hblzf/core.c - contrib/hblzf/hblzfx.prg * contrib/hbxdiff/hbxdiff.hbp - contrib/hbxdiff/hbxdiff.c + contrib/hbxdiff/core.c - contrib/hbxdiff/hbxdiffx.prg * contrib/hbexpat/hbexpat.hbp * contrib/hbexpat/hbexpat.hbx - contrib/hbexpat/hbexpat.c + contrib/hbexpat/core.c - contrib/hbexpat/hbexpatc.c + contrib/hbexpat/internal.c - contrib/hbexpat/hbexpatp.prg + contrib/hbexpat/unitable.prg - contrib/hbexpat/hbexpatx.prg * Renamed sources. % Optimized to use .hbx files directly without extra puller source. * contrib/hblzf/core.c ! Fixed dependence on <errno.h> which broke certain targets, e.g. msvcarm. BTW errnos are not set by lzf lib anyways, due to default configuration. ! Fixed to always set 3rd parameter in HB_LZF_DECOMPRESS(). Pls review. * contrib/hblzf/3rd/liblzf/lzf.hbp - Deleted commented line. 2011-02-05 11:31 UTC+0100 Viktor Szakats * contrib/hbmzip/hbmzip.hbp + contrib/hbmzip/hbmzip.hbx - contrib/hbmzip/hbmzip.c + contrib/hbmzip/mzip.c * contrib/hbmemio/hbmemio.hbp + contrib/hbmemio/hbmemio.hbx * contrib/hbzebra/hbzebra.hbp + contrib/hbzebra/hbzebra.hbx + Added .hbx files and included them in .hbp. * Renamed sources with colliding (with .hbx) names. * contrib/hbrunext/hbrunext.hbp * contrib/hbrunext/pullext.prg + Added hbmzip and hbmemio. * contrib/hbgt/hbgt.hbx * contrib/hbsms/hbsms.hbx * contrib/hbnf/hbnf.hbx * contrib/hbclipsm/hbclipsm.hbx * contrib/hbcomm/hbcomm.hbx * Regenerated. 2011-02-05 11:04 UTC+0100 Viktor Szakats * utils/hbmk2/examples/contribf.hbc ! Updated rddbm name. * contrib/hbmxml/hbmxmlx.prg * contrib/hblzf/hblzfx.prg * contrib/hbxdiff/hbxdiffx.prg * contrib/hbexpat/hbexpatx.prg + Added manual #define __HBEXTREQ__ * contrib/hbgt/hbgt.hbp + contrib/hbgt/hbgt.hbx * contrib/hbblink/hbblink.hbp + contrib/hbblink/hbblink.hbx * contrib/hbsms/hbsms.hbp + contrib/hbsms/hbsms.hbx - contrib/hbsms/hbsms.prg + contrib/hbsms/sms.prg * contrib/hbtpathy/hbtpathy.hbp + contrib/hbtpathy/hbtpathy.hbx * contrib/hbnf/hbnf.hbp + contrib/hbnf/hbnf.hbx * contrib/hbfship/hbfship.hbp + contrib/hbfship/hbfship.hbx * contrib/hbfoxpro/hbfoxpro.hbp + contrib/hbfoxpro/hbfoxpro.hbx * contrib/hbhpdf/hbhpdf.hbp + contrib/hbhpdf/hbhpdf.hbx * contrib/hbclipsm/hbclipsm.hbp + contrib/hbclipsm/hbclipsm.hbx * contrib/hbmisc/hbmisc.hbp + contrib/hbmisc/hbmisc.hbx + contrib/hbcomm/hbcomm.hbx * contrib/hbcomm/hbcomm.hbp - contrib/hbcomm/hbcomm.prg + contrib/hbcomm/comm.prg + Added .hbx files and included them in .hbp. * Renamed sources with colliding (with .hbx) names. 2011-02-05 10:46 UTC+0100 Viktor Szakats * contrib/hbmxml/hbmxml.hbp * contrib/hblzf/hblzf.hbp * contrib/hbxdiff/hbxdiff.hbp * contrib/hbwin/hbwin.hbp * contrib/hbexpat/hbexpat.hbp + Added missing -instfile for .hbx. 2011-02-05 10:42 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + Add -D__HBEXTREQ__ whenever an .hbx module is present in a project. * contrib/hbpost.hbm - Delete manual -D__HBEXTREQ__. Now automatic. 2011-02-05 10:15 UTC+0100 Viktor Szakats - contrib/hbct/ctextern.prg * contrib/hbct/hbct.hbp - contrib/hbxbp/hbxbpext.prg * contrib/hbxbp/hbxbp.hbp - contrib/hbwin/hbwinext.prg * contrib/hbwin/hbwin.hbp * contrib/hbqt/qtgui/hbqtgui.hbm - contrib/hbqt/qtgui/hbqt_extern.prg * contrib/hbqt/qtwebkit/hbqtwebkit.hbm - contrib/hbqt/qtwebkit/hbqt_extern.prg - contrib/hbqt/qtcore/hbqt_extern.prg * contrib/hbqt/qtcore/hbqtcore.hbm - contrib/hbqt/qtnetwork/hbqt_extern.prg * contrib/hbqt/qtnetwork/hbqtnetwork.hbm - contrib/hbqt/qtuitools/hbqt_extern.prg * contrib/hbqt/qtuitools/hbqtuitools.hbm - contrib/hbqt/qscintilla/hbqt_extern.prg * contrib/hbqt/qscintilla/hbqscintilla.hbm - contrib/hbqt/qtdesigner/hbqt_extern.prg * contrib/hbqt/qtdesigner/hbqtdesigner.hbm - contrib/rddads/adsextrn.prg * contrib/rddads/rddads.hbp - contrib/hbgd/gdextern.prg * contrib/hbgd/hbgd.hbp % Deleted separate puller modules and added .hbx to the project directly. ; TODO: Some wrapper projects have the name already used for .c files, so .hbx cannot be directly included ATM. [DONE] ; TODO: Move -D__HBEXTREQ__ to local .hbp files so they kick in in stdalone mode too. Or maybe hbmk2 should always define it, if there is an .hbx file included in a project, after all it can generate these .hbx files, too. [DONE] * contrib/hbmxml/hbmxmlx.prg * contrib/hblzf/hblzfx.prg * contrib/hbxdiff/hbxdiffx.prg * contrib/hbexpat/hbexpatx.prg % Deleted some lines no more necessary. * contrib/xhb/xhb.hbp * contrib/hbxpp/hbxpp.hbp + Added .hbx puller to projects. 2011-02-05 09:21 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg * config/hbextern.hbs + Now generates code which makes it possible to use __HBEXTREQ__ macro to compile .hbx as extern puller module. So no extra .prg is needed for that. * contrib/hbpost.hbm + Define __HBEXTREQ__ * contrib/hbunix/hbunix.hbp + contrib/hbunix/hbunix.hbx + Added extern puller (now without extra .prg) * contrib/hbrunext/pullext.prg * contrib/hbrunext/hbrunext.hbp + Added hbunix for *nix builds. * contrib/hbct/hbct.hbx * contrib/hbmxml/hbmxml.hbx * contrib/hbxbp/hbxbp.hbx * contrib/hblzf/hblzf.hbx * contrib/hbxdiff/hbxdiff.hbx * contrib/hbwin/hbwin.hbx * contrib/xhb/xhb.hbx * contrib/hbexpat/hbexpat.hbx * contrib/hbqt/qtgui/hbqtgui.hbx * contrib/hbqt/qtwebkit/hbqtwebkit.hbx * contrib/hbqt/qtcore/hbqtcore.hbx * contrib/hbqt/qtnetwork/hbqtnetwork.hbx * contrib/hbqt/qtuitools/hbqtuitools.hbx * contrib/hbqt/qtdesigner/hbqtdesigner.hbx * contrib/hbxpp/hbxpp.hbx * contrib/rddads/rddads.hbx * contrib/hbgd/hbgd.hbx * Regenerated. ; TODO: Optimize out extern puller .prgs. [DONE] 2011-02-04 18:54 UTC+0100 Viktor Szakats * contrib/hbrunext/pullext.prg + copyright header. 2011-02-04 18:26 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added -request= option to force linking any custom function/procedure to target executable. * contrib/hbrunext/hbrunext.hbp * Replaced small hack using -main= to force linking, with -request= option. 2011-02-04 18:14 UTC+0100 Viktor Szakats + contrib/hbrunext + contrib/hbrunext/hbrunext.hbp + contrib/hbrunext/pullext.prg + Added new hbrun clone named 'hbrunext', which is able to include any of the contribs. Currently it links with hbct, hbexpat and hbwin. 2011-02-04 17:59 UTC+0100 Viktor Szakats * contrib/hbwin/hbwin.hbp + contrib/hbwin/hbwinext.prg + contrib/hbwin/hbwin.hbx + Added extern puller logic for hbwin. To pull it, use: REQUEST __HBEXTERN__HBWIN__ in the main app module. 2011-02-04 15:59 UTC+0100 Viktor Szakats * contrib/hbsqlit3/hbsqlit3.c ! Fixed recent additions to always define Harbour level functions and return dummy value if low-level functionality is not available in an actual build: SQLITE3_ENABLE_LOAD_EXTENSION() SQLITE3_TABLE_COLUMN_METADATA() SQLITE3_COLUMN_DATABASE_NAME() SQLITE3_COLUMN_TABLE_NAME() SQLITE3_COLUMN_ORIGIN_NAME() 2011-02-03 01:44 UTC+0100 Viktor Szakats * contrib/hbssl/hbssl.hbp * contrib/hbssl/hbssl.hbm * contrib/hbssl/ssl.c ! Implemented special OpenSSL requirement when using OpenSSL as a .dll under win, for version 0.9.8 and above. ! https://www.openssl.org/support/faq.html#PROG2 ; NOTE: SSL_INIT() must be called by the user application for this to work. * contrib/hbssl/tests/bio.prg * contrib/hbssl/tests/encode.prg * contrib/hbssl/tests/digest.prg * contrib/hbssl/tests/crypt.prg * contrib/hbssl/tests/pem.prg + Call SSL_INIT() * contrib/hbssl/pem.c ! PEM_READ_BIO_*() functions fixed to not require a second parameter (a password callback or string). * contrib/3rd/sqlite3/sqlite3.c + contrib/3rd/sqlite3/sqlite3.dif * contrib/3rd/sqlite3/sqlite3.hbp ! make sqlite3 work in minix. Patch by Tamas. ; NOTE: I'd be good to submit this mod upstream. It might be nasty to rediff this code. [vszakats] 2011-02-03 22:43 UTC+0100 Viktor Szakats * include/harbour.hbx * src/rtl/hbfilehi.prg * Renames in new path/fn handling functions. * HB_FNAMEDIRGET() -> HB_FNAMEDIR() * HB_FNAMENAMEGET() -> HB_FNAMENAME() * HB_FNAMENAMEEXTGET() -> HB_FNAMENAMEEXT() * HB_FNAMEEXTGET() -> HB_FNAMEEXT() * HB_FNAMEEXTDEF() -> HB_FNAMEEXTSETDEF() ; Patch from Tamas: * src/rtl/hbcom.c + adds minix serial device names to hbcom * utils/hbmk2/hbmk2.prg ! Fixed RTE regression in previous recent minix patch. * config/dos/djgpp.mk ! Applied previous C++ gcc flag patch also to djgpp. 2011-02-03 18:16 UTC+0100 Viktor Szakats * src/rtl/hbsocket.c * contrib/xhb/xhb.hbp * contrib/3rd/sqlite3/sqlite3.hbp * contrib/hbmzip/3rd/minizip/minizip.dif * contrib/hbmzip/3rd/minizip/ioapi.h * INSTALL ; Further Minix patch from Tamas: * contains small touchups to src/rtl/hbsocket.c to bring the previous modifications in line with the rest, plus typo fixes * disables contrib/xhb until minix gets the features needed * disables contrib/3rd/sqlite3, pending investigation * makes contrib/hbmzip work * adds some notes to INSTALL 2011-02-03 18:13 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg * config/beos/gcc.mk * config/qnx/gcc.mk * config/bsd/gcc.mk * config/wce/mingwarm.mk * config/vxworks/gcc.mk * config/minix/gcc.mk * config/darwin/gcc.mk * config/hpux/gcc.mk * config/win/mingw.mk * config/linux/gcc.mk * config/cygwin/gcc.mk * config/symbian/gcc.mk * config/os2/gcc.mk * config/sunos/gcc.mk ! Separate -Wimplicit-int and -Wimplicit-function-declaration so that they are added to cflags only when not in cpp mode. ; Patch by Tamas. 2011-02-03 13:55 UTC+0100 Viktor Szakats * include/harbour.hbx * src/rtl/hbfilehi.prg * HB_PATHMAKEABSOLUTE() swapped two input parameters. Now: ( <PathAbs>, <PathRel> ) * HB_PATHMAKEABSOLUTE() renamed to HB_PATHJOIN() * HB_PATHMAKERELATIVE() 3rd (<lForceRelative>) parameter default changed to .T. * HB_PATHMAKERELATIVE() renamed to HB_PATHRELATIVIZE() * HB_DIRADDPATHSEP() renamed to HB_DIRSEPADD() * HB_DIRDELPATHSEP() renamed to HB_DIRSEPDEL() ; HB_PATHNORMALIZE() name finalized * contrib/hbide/idemisc.prg - Deleted unused hbmk2_PathMakeRelative() 2011-02-03 13:32 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/hbsocket.c * added workaround to pacify warning in some winsock header files defining SOCKET as signed integer 2011-02-03 12:30 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rdd/dbf1.c ! fixed DBI_ENCRYPT to use previously set password if no new one is given * harbour/src/rdd/hbsix/sxtable.c ! fixed wrong parameter checking in SX_SETPASS() ! removed wrong comment about optional parameter in SX_DBFENCRYPT() * harbour/src/vm/cmdarg.c ! added missing OS CP conversion in HB_ARGV() * harbour/contrib/hbct/ctmisc.prg * use HB_PROGNAME() instead of HB_ARGV( 0 ) in EXENAME() * harbour/contrib/hbnetio/readme.txt ! fixed two typos in description 2011-02-03 12:27 UTC+0100 Viktor Szakats * src/3rd/pcre/Makefile ! Disabled inttypes.h also for msvcarm. Pls test. 2011-02-03 09:47 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg * INSTALL + Minix additions. * config/global.mk ! Added missing 'else' after prev. 2011-02-03 09:18 UTC+0100 Viktor Szakats * include/hbthread.h * include/hbdefs.h * include/hbsetup.h * include/hbatomic.h * include/hbfloat.h * src/vm/task.c * src/common/hbgete.c * src/common/hbver.c * src/common/hbprintf.c * src/rtl/gtcrs/gtcrs.h * src/rtl/hbsocket.c * utils/hbmk2/hbmk2.prg * config/detplat.mk * config/global.mk * config/detect.mk + config/minix + config/minix/libs.mk + config/minix/gcc.mk + config/minix/ack.mk + config/minix/global.mk + Added Harbour port for minix 3 operating system. ; Created by Tamas Tevesz. Many thanks! 2011-02-02 22:21 UTC+0100 Viktor Szakats - examples/hbextern - Deleted hbextern generator tool. Long time not used and now replaced by HB_REBUILD_EXTERN=yes Harbour build option, and hbmk2 -hbx= option. 2011-02-02 22:15 UTC+0100 Viktor Szakats * package/harbour.spec * config/postinst.hbs - bin/hbmk2l2d.hbs - Deleted now obsolete workaround tool. Use HB_BUILD_CONTRIB_DYN=yes instead. 2011-02-02 22:08 UTC+0100 Viktor Szakats * config/postinst.hbs * MAKEDIR() -> HB_DIRCREATE(). Warning: Make a 'make clean' _before_ updating to this revision. Or, do a fresh checkout and build that. Or, do a clean rebuild twice. (otherwise plain 'make clean' will end with an error) - examples/pp - Deleted obsolete PP code. ; NOTE: Now that HB_BUILD_CONTRIB_DYN=yes works pretty much okay on both win and linux, I will delete this tool meant as a temporary workaround for those requiring dynamic versions of Harbour libs: bin/hbmk2l2d.hbs If you need it, make a copy of it locally, though most pbly nobody ever used this. 2011-02-02 18:14 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added -manifest= hbmk2 option for -hbexe/-hbdyn targets on Windows platform. (all compilers supported) Pls test. ; To generate manifests with -hbdyn and pocc/msvc compilers, use -dflag=-manifest (or any other manifest related options their linker support) ; FIXME: bcc's resource compiler doesn't work in -inc mode. [DROPPED] 2011-02-02 11:15 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added "nCOMPVer" variable for hbmk2 plugins. This returns C Compiler version, which currently gives results for mingw and msvc. 2011-02-02 11:08 UTC+0100 Viktor Szakats * package/winuni/mpkg_win_uni.bat + Redirect stderr too, into the log file. 2011-02-02 02:22 UTC+0100 Viktor Szakats * contrib/3rd/sqlite3/sqlite3.c * contrib/3rd/sqlite3/sqlite3.h * contrib/3rd/sqlite3/sqlite3.hbp + Updated to 3.7.5 (from 3.7.4) ; Patch by Tamas. 2011-02-01 23:08 UTC+0100 Viktor Szakats * contrib/hbqt/hbqt_common.hbc * contrib/hbqt/hbqt_common.hbm - contrib/hbqt/hbqt_hbmk2_plugin.hbs + contrib/hbqt/hbmk2_qt.hbs * Renamed HBQT hbmk2 plugin to have a short name. Just blind step to help DJGPP get around the long filename problems and head into a dead end. 2011-02-01 22:42 UTC+0100 Viktor Szakats * contrib/hbwin/hbwin.hbp + contrib/hbwin/oleuuid.c ! Fixed linking Harbour OLE functions when using watcom compiler. It also caused build errors with HB_BUILD_CONTRIB_DYN=yes. Many thanks to Andi for suggesting the solution. * contrib/xhb/hbsyslog.c * Guard cleanup. Patch from Tamas. 2011-02-01 22:03 UTC+0100 Viktor Szakats * contrib/hbodbc/odbc.c ! Added workaround for OpenWatcom (1.9) missing an entry for SQLSetStmtAttr() function's wide version (SQLSetStmtAttrW), while it has it properly present in the header. The workaround will disable UNICODE for hbodbc lib when built for win/watcom. [ I'd appreciate if someone could report this problem upstream. ] 2011-02-01 20:24 UTC+0100 Viktor Szakats * contrib/hbnetio/utils/hbnetioq/netiosrq.prg ! Fixed casing in #include lines. Please remember that case-sensitive file systems exist. Patch by Tamas. 2011-02-01 19:05 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + Implemented experimental link script for mingw compilers with -hbdyn targets. If it works out it can be extended to -hbexe outputs, too. With further work it can be extended for os2 and dos platforms. I will only do this if someone actually reports such problems and can do tests. ; Please retest mingw build with HBQT contrib enabled, long HB_BUILD_NAME, and HB_BUILD_CONTRIB_DYN=yes, and also normal cases. 2011-02-01 17:31 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + Adding clib3s lib to system lib list for win/watcom when in -hbdyn mode. This is to fix link errors of 3rd (non-Harbour) dynamic libs in HB_BUILD_CONTRIB_DYN=yes mode. I have no idea why it's needed, so please extended or tweak this fix if you have a better understanding of it. (maybe the lib should be add for all platforms, or for all link modes, etc) * contrib/hbhpdf/3rd/libhpdf/libhpdf.hbp + Enabled for win/watcom. I don't know since when it builds and what fixed it, so it's possible it's still broken with older watcom verions. Now it builds fine with 1.9. ; FIXME: watcom still has problems with missing externals when building hbwin dll: Error! E2028: IID_IDispatch is an undefined reference Error! E2028: IID_IOleObject is an undefined reference Error! E2028: IID_IUnknown is an undefined reference Error! E2028: GUID_NULL is an undefined reference Error! E2028: IID_IProvideClassInfo2 is an undefined reference Error! E2028: IID_IProvideClassInfo is an undefined reference Error! E2028: IID_IConnectionPointContainer is an undefined reference Error! E2028: IID_IEnumVARIANT is an undefined reference [DONE] gtwvg dll: Error! E2028: IID_IPicture is an undefined reference [DONE] and hbodbc dll: Error! E2028: _SQLSetStmtAttrW@16 is an undefined reference [DONE] Any idea? 2011-02-01 16:59 UTC+0100 Viktor Szakats * src/3rd/zlib/Makefile ! Deleted ugly pocc64 workaround for zlib dynamic build. This should fix link errors when using HB_BUILD_CONTRIB_DYN=yes. 2011-02-01 16:06 UTC+0100 Viktor Szakats * contrib/hbhpdf/3rd/libhpdf/libhpdf.hbp ! Fixed to build with pocc after recent png update. * src/rtl/hbfilehi.prg * Comments. 2011-02-01 14:39 UTC+0100 Viktor Szakats * contrib/hbnetio/utils/hbnetio/netiosrv.prg * contrib/hbnetio/utils/hbnetio/netiocon.prg + Added GPL license. * contrib/hbnetio/utils/hbnetioq/netiosrq.prg + Added GPL license. (once the server code is deleted and only the UI remains, this should be updated) 2011-02-01 11:36 UTC+0100 Viktor Szakats * contrib/make.hbs ! Fixed to not define _HB_BUILD_ when doing a custom build (explicitly passed .hbp file) in stdalone mode. * contrib/hbnetio/utils/hbnetio/netiosrv.prg + Enabled keepsort on the saved configuration hash. * contrib/hbhpdf/harupdf.c - Deleted wrapper to HPDF_PDFA_GENERATEID(), what rather seems an internal function. * Tweaked previous fix to HPDF_PDFA_SETPDFACONFORMANCE(), so that now it's included in dynamic builds, just returning dummy result. Still a pending FIXME though, as it's not right that dynamic and static version of the same lib works differently. Any tips which way to choose? It would be great asking libharu developers about whether HPDF_PDFA_SetPDFAConformance() is meant as a public function. 2011-02-01 03:34 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/vm/hashfunc.c * harbour/src/vm/hashes.c * moved HB_HASH_RESORT setting to avoid potential problems when some 3rd party code didn't set it correctly. * harbour/src/rtl/itemseri.c ! fixed restoring hash arrays with strict order - they were not resorted 2011-02-01 01:56 UTC+0100 Viktor Szakats * contrib/hbnetio/utils/hbnetio/netiosrv.prg * contrib/hbnetio/utils/hbnetio/netiocon.prg + Added RPC and console command to save filters. They will be reloaded automatically when starting up the server daemon. * ChangeLog ! Fixed previous entry header. 2011-02-01 01:56 UTC+0100 Viktor Szakats * contrib/hbnetio/utils/hbnetio/netiosrv.prg + Keep order of filter lists. * utils/hbmk2/hbmk2.prg ! Use _hbmkcpp_<cFirstFile>.cpp (instead of _hbmkcpp.cpp) on non MS-DOS platforms. 2011-02-01 01:08 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/utils/hbmk2/hbmk2.prg ! do not use the first source file name to set hbmk[ _HBMK_cPROGNAME ] when -gh switch is used - in such case multiple files are generated so there is no single output file. + added support for incremental builds when -gh option is used ! clean .hrb files when -gh and -clean options are used ! clean .ppo, ppt and .pot files when -clean option is used in incremental mode. ! use _hbmkaut_<cFirstFile>.[r]c instead of _hbmkaut.[r]c on non DOS platforms to resolve name conflicts in multitarget builds % do not check dependencies when -clean option is used % do not rebuild/update .po files when -clean option is used * added info message "Target(s) up to date." when none of .hrb file have to be rebuild in -inc mode ; TODO: copy .hrb files created in -workdir to output directory specified by -o option or to the current one ; NOTE: please verify above modifications 2011-02-01 00:32 UTC+0100 Viktor Szakats * contrib/hbnetio/utils/hbnetio/netiosrv.prg * contrib/hbnetio/utils/hbnetio/netiocon.prg + Added console commands to add/remove filters. + Added rpc and console commands to list filters. 2011-01-31 22:50 UTC+0100 Viktor Szakats * src/rtl/hbfilehi.prg + PATHNORMALIZE(): Will now strip double pathseps, except the UNC root ones. I hope. Pls make tests. 2011-01-31 22:33 UTC+0100 Viktor Szakats * ChangeLog ! Typo in prev. 2011-01-31 22:29 UTC+0100 Viktor Szakats * include/harbour.hbx * src/rtl/hbfilehi.prg ! HB_DIRADDPATHSEP() fixed to not add pathsep to plain drivespec. ! HB_DIRDELPATHSEP() fixed to not remove double pathspec from UNC root. ! Fixed to work if HB_OSDRIVESEPARATOR()'s length is not 1: HB_PATHMAKERELATIVE(), HB_DIRUNBUILD(), HB_DIRDELPATHSEP(). (QUESTION: is this a valid possibility, or is this over-design?) + Added TODO to HB_CWD() to also be able to change dir. This will require adding Harbour versions of DIRCHANGE() and DISKCHANGE(), or moving the implementation to C level. (possibly the latter) - Deleted HB_FNAMEDIREXTSET(). Doesn't satisfy a general need. 2011-01-31 08:23 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/ideformat.prg % Fix to prev commit. 2011-01-31 16:14 UTC+0100 Viktor Szakats * src/rtl/hbfilehi.prg % Minor optimization, cleanups. * contrib/hbide/idemisc.prg * contrib/hbide/ideprojmanager.prg * Cleaned PathProc() to have the name PathMakeAbsolute(). Deleted duplicate copies under different names. 2011-01-31 15:48 UTC+0100 Viktor Szakats * src/rtl/dirdrive.c + Added HB_DIRCREATE(), which is same as MAKEDIR() C5.3 function, but it's always available, not just when HB_COMPAT_C53 is enabled. + Added HB_DIRDELETE(), which is same as DIRREMOVE() C5.3 function, but it's always available, not just when HB_COMPAT_C53 is enabled. * contrib/hbnetio/tests/netiotst.prg * contrib/hbnetio/tests/netiot03.prg * contrib/hbfimage/tests/fitest.prg * contrib/hbide/idesaveload.prg * utils/hbmk2/hbmk2.prg * utils/hbrun/hbrun.prg * tests/wcecon.prg * tests/flink.prg * bin/hb3rdpat.hbs * examples/hbdoc2/gentpl.prg * Replaced MakeDir() with universally available hb_DirCreate(). ; TODO: same in config/postinst.hbs (delayed to avoid a million false bug reports) [DONE] * src/rtl/Makefile + src/rtl/hbfilehi.prg + Added generic file/dir/path handling functions. They are taken from hbmk2 code, added parameter checking, did two minor change to DirBuild() to be generic, renamed to have HB_ prefix. Please note the parameter list and any details are subject to change yet, IOW these APIs are not yet finalized: hb_cwd() -> <cPath> hb_PathNormalize( <cPath> ) -> <cPath> hb_PathMakeAbsolute( <cPathRel>, <cPathAbs> ) -> <cPath> hb_PathMakeRelative( <cPathBase>, <cPathTarget>, <lForceRelative> ) -> <cPath> hb_DirAddPathSep( <cDir> ) -> <cDir> hb_DirDelPathSep( <cDir> ) -> <cDir> hb_DirBuild( <cDir> ) -> <lSuccess> hb_DirUnbuild( <cDir> ) -> <lSuccess> hb_FNameDirGet( <cFileName> ) -> <cDir> hb_FNameNameGet( <cFileName> ) -> <cName> hb_FNameNameExtGet( <cFileName> ) -> <cNameExt> hb_FNameExtGet( <cFileName> ) -> <cExt> hb_FNameExtDef( <cFileName>, <cDefExt> ) -> <cFileName> hb_FNameExtSet( <cFileName>, <cExt> ) -> <cFileName> hb_FNameDirExtSet( <cFileName>, <cDirNew>, <cExtNew> ) -> <cFileName> ; TODO: Review, clean interface. [DONE] ; TODO: Use these functions in .hbs files, utils, hbide. [DONE] * include/harbour.hbx * Updated. * utils/hbmk2/hbmk2.prg * One internal function renamed. 2011-01-31 13:38 UTC+0100 Viktor Szakats * contrib/hbide/idemisc.prg ! Applied FN_FromArray() fix to the copy in HBIDE. ; QUESTION: Should we make some of these file manipulation functions part of core (possibly with reorganized names)? These are generally useful, and some of them are not trivial, some others are often used, and all of them generic: Some possible candidates from hbmk2: hb_pwd() PathNormalize( ... ) PathMakeAbsolute( ... ) PathMakeRelative( ... ) PathSepToSelf( ... ) DirAddPathSep( ... ) DirDelPathSep( ... ) DirBuild( ... ) DirUnbuild( ... ) FNameDirGet( ... ) FNameDirExtSet( ... ) FNameNameGet( ... ) FNameNameExtGet( ... ) FNameExtGet( ... ) FNameExtDef( ... ) FNameExtSet( ... ) FNameEscape( ... ) 2011-01-31 13:00 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/utils/hbmk2/hbmk2.prg ! small fix in FN_FromArray() which caused that relative paths were converted to the root directory, i.e. -workdir=. was not working correctly 2011-01-31 09:52 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + Enabled to use link scripts with msvc compilers, to avoid too long command-line problems. (experienced when creating qtgui lib in dynamic version (HB_BUILD_CONTRIB_DYN=yes) with HB_BUILD_NAME set to a longer name, so it was quite a stress case and should not cause a problem for most users.) 2011-01-30 19:55 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/ideformat.prg ! Provided: to view formatted results of select text. Now if "Selected Text" checkbox is checked then only selected source is supplied for the formatting. 2011-01-30 19:41 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/ideeditor.prg * contrib/hbide/idemisc.prg * contrib/hbide/idesaveload.prg + Added: .hbp in "Compiler File" types. .qrc as "Text Files" type. % Rearranged: "Format" option in editing instance's context menu. 2011-01-31 01:52 UTC+0100 Viktor Szakats * include/hbapi.h * include/hbstack.h + Added HB_EXPORT flag to these functions: (required by xhb, hbfship) hb_stackBaseOffset() hb_stackItem() hb_stackBaseProcOffset() hb_stackGetRecoverBase() hb_stackWithObjectOffset() hb_memvarSaveInArray() 2011-01-31 00:59 UTC+0100 Viktor Szakats * contrib/hbnetio/utils/hbnetio/netiosrv.prg + Added client address filtering engine for both data and management interface. It will do quick match against IP, then wildcard match against IP, then quick host name match, wildcard hostname match. Block filter has priority over allow filter. It's possible to control via management RPC, console UI not yet extended to use it. A lot of other TODO is quickly generated by this feature, e.g. making settings persistent, supporting IP subnet masks, etc. I didn't test this at all, pls do. * src/rtl/strmatch.c ! Typo in comment. 2011-01-31 00:54 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/pp/ppcore.c ! fixed to not strip path in .d dependencies list for files included from -I<directories> * harbour/utils/hbmk2/hbmk2.prg % do not use FindHeader() for dependencies list extracted from .d files - they should contain full paths so it's not necessary 2011-01-31 00:06 UTC+0100 Viktor Szakats * contrib/3rd/sqlite3/sqlite3.hbc * contrib/hbmxml/3rd/minixml/mxml.hbc * contrib/hbmzip/3rd/minizip/minizip.hbc * contrib/hbexpat/3rd/expat/expat.hbc * contrib/hblzf/3rd/liblzf/lzf.hbc * contrib/hbbz2/3rd/bz2/bz2.hbc * contrib/hbxdiff/3rd/libxdiff/xdiff.hbc * contrib/hbhpdf/3rd/libhpdf/libhpdf.hbc ! Fixed linking in HB_BUILD_CONTRIB_DYN=yes mode. * contrib/hbexpat/hbexpat.hbp ! Fixed linking in HB_BUILD_CONTRIB_DYN=yes mode with certain win compilers (e.g. msvc). * ChangeLog * Corrected information about recently fixed HBQT problem. 2011-01-30 14:38 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbnetio/utils/hbnetioq/hbnetioq.hbp + contrib/hbnetio/utils/hbnetioq/manageips.ui * contrib/hbnetio/utils/hbnetioq/netiosrq.prg * contrib/hbnetio/utils/hbnetioq/netiosrq.qrc + contrib/hbnetio/utils/hbnetioq/refresh.png + Implemented: activate/deactivate banning IPs from connecting to server. This implementation provides for the -ini=cINIFile command line switch. <cINIFile> contains the info about IPs. User-interface to manage activations is via toolbar button which allows to <Add><Delete><Save> IPs and also to flag to activate/deactivate IPs on-the-go. TODO: take use of console daemon by separating the user inetrface. Hopefully by next week. 2011-01-30 20:00 UTC+0100 Viktor Szakats * src/rtl/Makefile - src/rtl/base64.prg + src/rtl/base64d.c + Replaced HB_BASE64DECODE() with an optimized C implementation. The core code is borrowed from libb64 project (https://sourceforge.net/projects/libb64/) and has been placed to public domain by author Chris Venter. I've reformatted the code and made some minor modifications. I had used the Harbour license for the whole file. This code is 50-100 times faster than old Harbour code doing the same job. Please review it, especially the buffer size calculation. [DONE] BTW the C code uses a unique trick called 'Duff's device'. 2011-01-30 18:35 UTC+0100 Viktor Szakats * contrib/hbqt/hbqt_hbmk2_plugin.hbs ! Fixed to initialize pText value to avoid MSVC warning about possible uninitialized variable: a:\lib\win\msvc.vc_900a6\.hbmk\hbqtcore\qbytearray.cpp(564) : warning C4701: potentially uninitialized local variable 'pText' used * contrib/hbide/hbide.hbp ! Added static libs required for embedded Harbour compiler. 2011-01-30 18:09 UTC+0100 Viktor Szakats * contrib/rddads/rddads.h + Detects 10.10. BTW 10.10 has finally useful additions. * package/winuni/RELNOTES * ACE update to 10.10 2011-01-30 16:01 UTC+0100 Viktor Szakats * contrib/hbhpdf/harupdf.c ! Fixed to build in dynamic mode (HB_BUILD_CONTRIB_DYN=yes). Two recently added wrappers (PDF/A related) are not exported from libharu, which may either be a design decision or a bug. Requires further fix once we've found out. 2011-01-30 15:51 UTC+0100 Viktor Szakats * contrib/hbwin/hbolesrv.c ! Fixed doubly defined symbols in HB_BUILD_CONTRIB_DYN=yes. 'hbmaindllp.lib(dllpcode.obj) : error LNK2005: _DllMain@12 already defined in hbolesrv.obj' OLE server code will be left out of the .dll version of hbwin lib, please refine it if needed. 2011-01-30 15:36 UTC+0100 Viktor Szakats * src/rtl/listbox.prg ! LISTBOX(): Fixed RTE (and 5.3 incompatibility) when non-logical/non-NIL type is passed as 5th parameter. This makes the ListBox() example included in 5.3 NG behave exactly the same in Harbour as in C5.3. (Yes, the example passes wrong parameter, plus it has a compiler stopping typo, and it still RTEs even after the fix, so better find some better example.) 2011-01-30 00:27 UTC+0100 Viktor Szakats * src/rtl/listbox.prg ! Fixed casing in some words in license gone wrong in a very old reformatting session. 2011-01-30 00:21 UTC+0100 Viktor Szakats * src/rtl/listbox.prg ! _LISTBOX_(): Fixed very old bug (can't access ViewVC ATM, but around ~r7550) causing incompatibility with C5.3 regarding IsOpen initial value. It was wrongly initialized by parameter what is now correctly renamed to lScrollBar. Was wrongly named lIsOpen before this fix. % Don't pass default style value to ScrollBar() 2011-01-29 20:29 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg * utils/hbmk2/hbmk2.*.po ! Fixed RTE in FindNewerHeaders() when using autohbc feature. (it's regression from around 2010-08-05 15:58 UTC+0200 Viktor Szakats) + Added -head=dep option to help. 2011-01-29 18:50 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/utils/hbmk2/hbmk2.prg ! fixed dependences checking for -head=full and @.clp files + added automatic dependencies checking for .prg files using .d files generated by harbour compiler (-head=dep) ; TODO: extend it for .c files and GCC based compilers 2011-01-29 16:33 UTC+0100 Viktor Szakats * src/rtl/einstvar.prg * src/rtl/einstv52.prg * Fixed to use manifest constants. Two more. 2011-01-29 16:26 UTC+0100 Viktor Szakats * src/rtl/listbox.prg * Internal var renamed to reflect its type. * src/rtl/einstvar.prg * src/rtl/einstv52.prg * Fixed to use manifest constants. * utils/hbrun/hbrun.prg ! Fixed to allow case-insensitive match for headers on non-*nix platforms. 2011-01-29 14:00 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/utils/hbmk2/hbmk2.prg ! remove .d files from .hbmk working dir when -clean option is used ! do not ignore dependencies list read from .d files * check dependencies specified by .d files for .c and .o files generated from .prg ones % some minor optimizations ; FIXME: it's not safe to call FindNewerHeaders() with 3rd parameter set to NIL (RTE) and HBMK2 does it when -autohbc option is used [DONE] 2011-01-29 00:32 UTC+0100 Viktor Szakats * package/winuni/mpkg_win_uni.bat * package/winuni/mpkg_win_uni.nsi + Added hbnetio management console to winuni distro. (only the 32-bit build, because the 64-bit has no advantage at all in case of this thin client app) 2011-01-29 00:12 UTC+0100 Viktor Szakats * contrib/make.hbs + Defined _HB_BUILD_=yes to tell .hbp files we're building for a Harbour build. * contrib/hbnetio/utils/hbnetio/hbnetioc.hbp * contrib/hbformat/utils/hbformat.hbp + Tweak to not build in -shared mode when directly building the .hbp file (and not as part of Harbour build). * contrib/hbnetio/utils/hbnetioq/hbnetioq.hbp * contrib/hbide/hbide.hbp + Added tweak to build in shared mode when building as part of Harbour build. This will make the distro size noticeably smaller. * contrib/hbnetio/utils/hbnetio/netiosrv.prg * contrib/hbnetio/utils/hbnetio/netiocon.prg + Show server config feature converted to client-server. 2011-01-28 23:35 UTC+0100 Viktor Szakats * contrib/hbplist + Added hbnetioc to tools automatically built. This is management console for hbnetio deamon. * contrib/hbnetio/utils/hbnetio/hbnetioc.hbp * Tweak to build hbformat in shared mode for win/wce/os2 systems. 2011-01-28 21:41 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.hu_HU.po ! Minor fix. * utils/hbmk2/hbmk2.prg ! Resolved FIXMEs related to cygwin. + Added -head=dep option. Nothing fancy, just making room for it. 2011-01-28 11:01 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + Changed to use hb_milliSeconds() to measure build time when using -debugtime option. This will now work precisely for builds taking more than 1 day. 2011-01-28 01:35 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg * Cleaned up Harbour build specific information in generated comment. 2011-01-28 01:27 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added experimental support for creating extern headers in .hbx. It's currently only supported for static libs (-hblib mode), and only for gcc based compilers (can be extended to all platorms where 'nm' tool is available), msvc, pocc, watcom and bcc compilers. Some of these have not been tested. The feature implements the same functionality which already exists in Harbour build system (enabled with HB_REBUILD_EXTERN=yes), but now integrated into hbmk2 and with few minor enhancements. 2011-01-27 20:54 UTC+0100 Viktor Szakats * contrib/hbnetio/utils/hbnetio/netiosrv.prg * contrib/hbnetio/utils/hbnetio/netiocon.prg * contrib/hbnetio/utils/hbnetio/netiocmd.prg * Minor cleanups. * examples/pp/pp.c * examples/pp/hbpragma.c * examples/pp/hbppcore.c * examples/pp/hbppcomp.c * examples/pp/hbppdef.h * Reformatted with uncrustify. Still an amazing tool. 2011-01-27 20:46 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/examples/pp/hbppdef.h * harbour/examples/pp/hbpragma.c * updated to compile with current header files. 2011-01-27 14:30 UTC+0100 Viktor Szakats * contrib/hbnetio/utils/hbnetio/hbnetio.hbp * contrib/hbnetio/utils/hbnetio/hbnetioc.hbp * contrib/hbnetio/utils/hbnetio/netiosrv.prg + contrib/hbnetio/utils/hbnetio/netiocon.prg - contrib/hbnetio/utils/hbnetio/netiocui.prg + contrib/hbnetio/utils/hbnetio/netiocmd.prg + Split netiocui.prg into command-line tool and console logic. The latter is now used by both the daemon tool and command-line tool. 2011-01-27 13:55 UTC+0100 Viktor Szakats * contrib/hbplist - contrib/hbnetio/utils/netiosrq + contrib/hbnetio/utils/hbnetio - contrib/hbnetio/utils/netiosrv + contrib/hbnetio/utils/hbnetioq * Renaming second pass. 2011-01-27 13:49 UTC+0100 Viktor Szakats * contrib/hbplist - contrib/hbnetio/utils/netiosrv/netiosrv.hbp + contrib/hbnetio/utils/netiosrv/hbnetio.hbp - contrib/hbnetio/utils/netiosrv/netiocui.hbp + contrib/hbnetio/utils/netiosrv/hbnetioc.hbp - contrib/hbnetio/utils/netiosrq/netiosrq.hbp + contrib/hbnetio/utils/netiosrq/hbnetioq.hbp ! Renamed back to get in sync with installer. ; FIXME: Change hbnetioq to a pure management client without embedded server daemon code. Pritpal, can you do it? [~DONE-ISH] ; TODO: Change hbnetio to be pure server daemon and add separate management console tool. Or, it's possible to put the console UI in a lib and keeping it included in daemon for convenience. [DONE] 2011-01-27 12:26 UTC+0100 Viktor Szakats * ChangeLog * Marked TODOs/FIXMEs DONE. 2011-01-27 10:21 UTC+0100 Viktor Szakats * src/rtl/tget.prg * Formatting. * contrib/hbnetio/utils/netiosrv/netiocui.prg + Added some SETs. 2011-01-27 07:29 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rdd/wacore.c % minor optimization * harbour/src/rdd/usrrdd/usrrdd.c + extended USRRDD_ID() to accept RDD name as parameter * harbour/src/rdd/usrrdd/rdds/arrayrdd.prg * harbour/src/rdd/usrrdd/rdds/logrdd.prg ! fixed to not use: ( AScan( RDDLIST( RDT_FULL ), "ARRAYRDD" ) - 1 ) to extract RDD ID. In theory it could work if RDDLIST( 0 ) is used instead of RDDLIST( RDT_FULL ) anyhow it's much more efficient to simply store RDD ID in static variable inside *_GETFUNCTABLE() function 2011-01-27 01:30 UTC+0100 Viktor Szakats * contrib/hbnetio/utils/netiosrv/netiosrv.prg * contrib/hbnetio/utils/netiosrv/netiocui.prg + Added 'clientinfo <ip:port>' console command. This will display the self-identification variable sent by the client to the server on connect. It's fully up to the client what this info contains. The command works for both normal and management connections. + Added 'adminfo' console command to list management client connections. + Added stream based "cargo" data exchange based on Przemek's code, purely as an experiment. Cargo data will be shown in connection lists. % Optimized out redundant connector code in console UI. 2011-01-27 00:22 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbcompdf.h * harbour/src/compiler/hbmain.c * save and restore compiler settings when separated .prg files are compiled as different modules. Files compiled as single module (i.e. by .clp files, #included, added by DO ... [WITH ...], etc.) are still compiled using the same settings inheriting any modifications introduced by #pragma. It's intentional behavior. 2011-01-26 23:56 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbpp.h * harbour/src/pp/ppcore.c ! added resetting some internal PP states in hb_pp_reset() 2011-01-26 23:22 UTC+0100 Viktor Szakats * contrib/hbnetio/utils/netiosrv/netiocui.prg + Shows server address in prompt when connected. + Shows server address when connecting. 2011-01-26 23:14 UTC+0100 Viktor Szakats * contrib/hbnetio/utils/netiosrv/netiosrv.prg * contrib/hbnetio/utils/netiosrv/netiocui.prg + RPC command names changed to begin with "hbnetiomgm_" (instead of "netio_") % Using constants for default ip/port and showing them dynamically in help screens. + Cleaned CUI options now there is simple -addr=<ip[:port]> format supported. * CUI option -adminpass= renamed to -pass=. + CUI now supports disconnect/connect command on the console. connect will ask for the password if omitted. It also means that console can now be in 'disconnected' state. This will be the mode it starts up when no password is specced on the command-line. 2011-01-26 20:58 UTC+0100 Viktor Szakats * contrib/hbnetio/utils/netiosrv/netiocui.prg * Minor correction in help screen. 2011-01-26 20:37 UTC+0100 Viktor Szakats * contrib/hbnetio/utils/netiosrv/netiosrv.prg + Added 'netio_ping' RPC function. (utilitzed to detect broken connection. Is there a better way?) * contrib/hbnetio/utils/netiosrv/netiosrv.hbp - contrib/hbnetio/utils/netiosrv/netiocmd.prg + contrib/hbnetio/utils/netiosrv/netiocui.prg * Renamed console UI source. + Added 'exit' command to console UI, to simply exit the console. + Added detection of lost connection in console UI. % Deleted NETIO_DISCONNECT() call. Not needed ti NETIO_GETCONNCETION(). + Added support for standalone console UI build mode. Added required entry/command-line help functions. + Added error msg when connection to server management failed. + contrib/hbnetio/utils/netiosrv/netiocui.hbp + Added .hbp file for standalone console UI. 2011-01-26 19:08 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/pp/hbpp.c * modified syntax info to keep output well formatted for 80 columns * harbour/src/pp/hbpp.1 * updated * harbour/src/rdd/dbf1.c * harbour/src/rdd/delim1.c * harbour/src/rdd/sdf1.c * harbour/contrib/rddsql/sqlbase.c ! added protection against GPF when wrong field index is passed to {GET|PUT}VALUE[FILE]() methods 2011-01-26 18:06 UTC+0100 Viktor Szakats * contrib/hbnetio/utils/netiosrv/netiosrv.prg * contrib/hbnetio/utils/netiosrv/netiocmd.prg + Help text now show port and iface defaults. + Client info is now stored in the connection table (not used anywhere ATM). Finally solved it by using thread ID to identify connections in RPC server side. + Added thread ID to the per connection data structure. + 'show' command now shows thread ID instead of ordinal. 2011-01-26 13:54 UTC+0100 Viktor Szakats * contrib/hbnetio/utils/netiosrv/netiosrv.prg * contrib/hbnetio/utils/netiosrv/netiocmd.prg ! 'netio_logconn()' RPC was returning wrong value. + Console UI extended to use NETIO_GETCONNECTION() and use pConnection to make RPC calls. Which opens the door to support multiple server connections at the same time. + Added experimental code for management client indentification. Currently the management client will identify itself right after connection, and this information will be shown on the server console. ; QUESTION: How to find out in an RPC call on the server side, which connection it belongs to? [DONE: Using the thread ID] ; QUESTION: Should NETIO_DISCONNECT() support optional pConnection parameter (instead of IP/port pair)? 2011-01-25 23:15 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbxbp/xbpmenubar.prg ! Fixed: a stupid untested typo. 2011-01-26 02:10 UTC+0100 Viktor Szakats * contrib/hbnetio/utils/netiosrv/netiosrv.prg * contrib/hbnetio/utils/netiosrv/netiocmd.prg + Console UI moved to separate thread and it's now fully contained in netiocmd.prg. The only communication between console UI and netio server is via remote management RPC interface. This means the console UI can be easily removed or moved to separate executable. + Added -noui command-line option which disables interactive console. ; Little rough around the edges, but it shows the capabilities. 2011-01-25 14:41 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbnetio/utils/netiosrq/netiosrq.hbp % Fix to previous partial fix. 2011-01-25 23:32 UTC+0100 Viktor Szakats * contrib/hbnetio/utils/netiosrv/netiosrv.prg * contrib/hbnetio/tests/netiomt1.prg + Added 'netio_conninfo' remote mgmnt command. It will return all client connections in an array of hashes. 2011-01-25 23:13 UTC+0100 Viktor Szakats * contrib/hbnetio/utils/netiosrv/netiosrv.prg * contrib/hbnetio/utils/netiosrv/netiocmd.prg + contrib/hbnetio/tests/netiomt1.prg + Added secondary server interface for remote management. Little hacky and incomplete yet. New options added: -adminport, -adminiface, -adminpass + Added remote management function: "netio_shutdown" (similar to 'quit' command) + Added 'shconn' and 'noshconn' commands to enable/disable console feedback when client connects/disconnects. (this is permanently enabled for management connections) 2011-01-25 13:34 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbnetio/utils/netiosrq/netiosrq.hbp % Fixed: wrong path. * contrib/hbnetio/utils/netiosrq/netiosrq.prg ! Adopted: Latest changes in netio_* API. + Implemented: Bytes sent and received per connection. 2011-01-25 12:16 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbxbp/hbxbp.hbx ! Auto-changed. I should have taken care of it with my last commit. I really apologize for lapse in concentration. 2011-01-25 18:11 UTC+0100 Viktor Szakats * contrib/hbnetio/utils/netiosrv/netiosrv.prg * contrib/hbnetio/utils/netiosrv/netiocmd.prg + Added command to enable/disable incoming connections. (noconn/conn commands) It makes client crash with read error, so I'm not sure if this is good solution, or how to solve it better. * Renamed 'conn' command to 'show'. 2011-01-25 17:53 UTC+0100 Viktor Szakats * contrib/hbnetio/utils/netiosrv/netiosrv.prg * contrib/hbnetio/utils/netiosrv/netiocmd.prg + Added command to stop specific or every connection. Using 'stop <ip:port>' or 'stop all'. 2011-01-25 16:54 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/vm/itemapi.c * do not clear parameter when NULL item is passed to hb_itemParamStore*() functions * harbour/contrib/hbnetio/netiosrv.c * harbour/contrib/hbnetio/readme.txt - removed NETIO_SRVSOCKET() * harbour/ChangeLog * marked TODO as DONE 2011-01-25 16:39 UTC+0100 Viktor Szakats * contrib/hbnetio/utils/netiosrv/netiosrv.prg * Minors. * contrib/hbnetio/utils/netiosrv/netiocmd.prg - Deleted now completed TODO items. 2011-01-25 15:58 UTC+0100 Viktor Szakats * contrib/hbnetio/utils/netiosrv/netiosrv.prg * Eliminated netio_srvSocket() call. + Displaying bytes sent and received. + Displaying connection status. ; FIXME: NETIO_SRVINFO_PEERADDRESS doesn't seem to work, returning NIL (or nothing), it's possible I'm missing something. [DONE - full rebuild fixed it] 2011-01-25 15:26 UTC+0100 Viktor Szakats * contrib/hbnetio/utils/netiosrv/netiosrv.hbp ! Corrected relative path to hbnetio.hbc * contrib/hbnetio/hbnetio.hbc ! Added missing incpath option. * contrib/hbnetio/hbnetio.ch * contrib/hbnetio/netiosrv.c ! Typo: NETIO_SRVINFO_PEERADDRES -> NETIO_SRVINFO_PEERADDRESS * contrib/hbnetio/netiosrv.c - Deleted: NETIO_OPENFILESCOUNT(). ; TODO: Pls update netiosrq to use the new interface. Same for netiosrv [DONE]. I'll do it in next commit. * contrib/hbnetio/hbnetio.ch ! Added notice that this .ch file is used also by .c code. 2011-01-25 14:19 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapiitm.h * harbour/src/vm/itemapi.c + added new C function hb_itemParamStoreRelease() * modified hb_itemParamStore*() functions to accept NULL items + harbour/contrib/hbnetio/hbnetio.ch * harbour/contrib/hbnetio/netio.h * harbour/contrib/hbnetio/netiosrv.c * harbour/contrib/hbnetio/readme.txt + extended NETIO_SRVSTATUS() function so now it can be used to extract some additional information about connection socket: NETIO_SRVSTATUS( <pConnectionSocket> [, <nStreamID> | <nSrvInfo>, @<xData> ] ) -> <nStatus> <nSrvInfo> can be: NETIO_SRVINFO_FILESCOUNT NETIO_SRVINFO_BYTESSENT NETIO_SRVINFO_BYTESRECEIVED NETIO_SRVINFO_PEERADDRES ; TODO: please eliminate NETIO_SRVSOCKET() from any code using it. It's too danger so I'll remove this function from HBNETIO soon. NETIO_SRVOPENFILESCOUNT() is also redundant now and can be replaced by: NETIO_SRVSTATUS( pConnSock, NETIO_SRVINFO_FILESCOUNT, @nCount ) so it can be removed too. [DONE] 2011-01-25 12:11 UTC+0100 Viktor Szakats * contrib/hbnetio/utils/netiosrv/netiosrv.prg * contrib/hbnetio/utils/netiosrv/netiocmd.prg + Added 'conn' console command to show number of connections and show information for all connections. The data includes IP and port, time of connection, no. of open files. Utilizing some concepts from Pritpal's netiosrq code, but rewritten, so new code doesn't use STATIC var, it's little bit more efficient. I didn't implement unfinished features, like byte counting. 2011-01-25 11:07 UTC+0100 Viktor Szakats * contrib/hbnetio/utils/netiosrq/netiosrq.prg ! STATIC var prefix with s_. 2011-01-25 10:41 UTC+0100 Viktor Szakats * contrib/hbplist - contrib/hbnetio/utils/netiosrv/hbnetio.hbp + contrib/hbnetio/utils/netiosrv/netiosrv.hbp * Renamed. * contrib/hbnetio/netiosrv.c ! Fixed build-stopper typo in this modification: 2011-01-25 12:41 UTC-0800 Pritpal Bedi I'd like to ask developers to _at least_ do _build test_ before committing to SVN !!! Obviously this wasn't done for the above commit. - contrib/hbnetio/utils/netiosrq/netiosrvq.prg + contrib/hbnetio/utils/netiosrq/netiosrq.prg - contrib/hbnetio/utils/netiosrq/netiosrvqt.hbp + contrib/hbnetio/utils/netiosrq/netiosrq.hbp - contrib/hbnetio/utils/netiosrq/netiosrvq.qrc + contrib/hbnetio/utils/netiosrq/netiosrq.qrc - contrib/hbnetio/utils/netiosrq/harbour.ico ! Fixed inconsistent names. - Deleted Windows specific icon file. ! Fixed long filenames. + Added icon for OS/2. ; FIXME: Build doesn't work due to missing external (CONFIRMBOX). [UPDATE: have to rebuild hbxbp.] 2011-01-25 10:21 UTC+0100 Viktor Szakats * contrib/hbunix/daemon.c ! Fixed gcc warning. Patch by Tamas. * contrib/hbplist - contrib/hbnetio/utils/netiosrvq.prg - contrib/hbnetio/utils/harbour.png - contrib/hbnetio/utils/fullscreen.png - contrib/hbnetio/utils/netiosrvqt.hbp - contrib/hbnetio/utils/exit.png - contrib/hbnetio/utils/about.png - contrib/hbnetio/utils/terminate.png - contrib/hbnetio/utils/help.png - contrib/hbnetio/utils/harbour.ico - contrib/hbnetio/utils/netiosrvq.qrc + contrib/hbnetio/utils/netiosrq + contrib/hbnetio/utils/netiosrq/netiosrvq.prg + contrib/hbnetio/utils/netiosrq/fullscreen.png + contrib/hbnetio/utils/netiosrq/harbour.png + contrib/hbnetio/utils/netiosrq/netiosrvqt.hbp + contrib/hbnetio/utils/netiosrq/harbour.ico + contrib/hbnetio/utils/netiosrq/help.png + contrib/hbnetio/utils/netiosrq/terminate.png + contrib/hbnetio/utils/netiosrq/exit.png + contrib/hbnetio/utils/netiosrq/about.png + contrib/hbnetio/utils/netiosrq/netiosrvq.qrc - contrib/hbnetio/utils/hbnetio.hbp - contrib/hbnetio/utils/rpcdemo.hbs - contrib/hbnetio/utils/modules.hbp - contrib/hbnetio/utils/netiosrv.prg - contrib/hbnetio/utils/netiocmd.prg + contrib/hbnetio/utils/netiosrv + contrib/hbnetio/utils/netiosrv/hbnetio.hbp + contrib/hbnetio/utils/netiosrv/modules.hbp + contrib/hbnetio/utils/netiosrv/netiosrv.prg + contrib/hbnetio/utils/netiosrv/rpcdemo.hbs + contrib/hbnetio/utils/netiosrv/netiocmd.prg ! Fixed long filenames not allowed area. (more to come) Please don't upload long filenames without discussion. ! Fixed mixing two multi-file tool source into the same dir. ! Fixed to not put Windows specific icon file to non-Windows area. * contrib/hbnetio/netiosrv.c * contrib/hbnetio/utils/netiosrq/netiosrvq.prg * Renamed NETIO_SRVOPENFILES() to NETIO_SRVOPENFILESCOUNT(). (it doesn't actually return list of file just number of files) 2011-01-25 00:41 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbxbp/xbp3state.prg * contrib/hbxbp/xbpbrowse.prg * contrib/hbxbp/xbpcheckbox.prg * contrib/hbxbp/xbpdataref.prg * contrib/hbxbp/xbplistbox.prg * contrib/hbxbp/xbpmenubar.prg * contrib/hbxbp/xbpmle.prg * contrib/hbxbp/xbpradiobutton.prg * contrib/hbxbp/xbpscrollbar.prg * contrib/hbxbp/xbpsle.prg * contrib/hbxbp/xbpspinbutton.prg * contrib/hbxbp/xbptoolbar.prg * contrib/hbxbp/xbptreeview.prg * contrib/hbxbp/xbpwindow.prg ! Renamed: XbpDataRef() => DataRef() to be exact Xbase++ compatible. + XbpMenu():popup() * contrib/hbnetio/netiosrv.c + Added: NETIO_SRVOPENFILES( pConnectionSocket ) -> nFilesOpen + contrib/hbnetio/utils/harbour.ico + contrib/hbnetio/utils/about.png + contrib/hbnetio/utils/exit.png + contrib/hbnetio/utils/fullscreen.png + contrib/hbnetio/utils/harbour.png + contrib/hbnetio/utils/help.png + contrib/hbnetio/utils/terminate.png + contrib/hbnetio/utils/netiosrvq.qrc + contrib/hbnetio/utils/netiosrvq.prg + contrib/hbnetio/utils/netiosrvqt.hbp + Added: GUI NetIO Server based on hbXBP and hbQT. implements : DateTime In, DateTime Out, IP connected from, Port number connected from, number of files open. implements : Termination of a particular connection via context menu or toolbar icon. 2011-01-24 23:12 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbcomp.h * harbour/src/compiler/cmdcheck.c * harbour/src/compiler/hbmain.c * harbour/src/compiler/hbusage.c - removed some old unused declarations and code * harbour/src/main/harbour.1 * updated 2011-01-23 19:10 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) - harbour/contrib/hbunix/guids.c + harbour/contrib/hbunix/uidgid.c * harbour/contrib/hbunix/hbunix.hbp * renamed 2011-01-23 17:26 UTC+0100 Viktor Szakats * contrib/hbhpdf/harupdf.c + Added wrapper for HPDF_UseUTFEncodings(). It requires 2.3.0 which is not released yet, so it's also not the version hosted in Harbour SVN. 2011-01-23 10:23 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Minor typo in help text. * utils/hbmk2/hbmk2.pt_BR.po * utils/hbmk2/hbmk2.hu_HU.po * utils/hbmk2/hbmk2.es_PE.po + Updated from source. * contrib/hbmxml/tests/rem.xml * contrib/hbmxml/tests/rem_err.xml ! Added missing EOL @ EOF. * contrib/hbunix/hbposix.h + Added generic macro to accept both logical and numeric type for boolean-like input parameters. * contrib/hbunix/tests/testdmn.prg * contrib/hbunix/daemon.c + UNIX_DAEMON(): Changed to accept numeric value for logical parameters. + UNIX_DAEMON(): Changed to return numeric value. ; Patch by Tamas. 2011-01-21 16:47 UTC+0100 Viktor Szakats * config/hb_c.cfg * Changed to align assignments. ! Fixed to align case statments like it's done in Harbour. * contrib/gtwvg/wvgcuig.c * contrib/gtwvg/wvgwin.c * contrib/gtwvg/wvgutils.c * contrib/gtwvg/wvgcore.c * contrib/gtwvg/wvgwing.c * Reformatted with uncrustify. Results are fantastic with this tool. 2011-01-21 16:31 UTC+0100 Viktor Szakats - contrib/hbunix/hbposix.hbp + contrib/hbunix/hbunix.hbp - contrib/hbunix/hbposix.hbc + contrib/hbunix/hbunix.hbc - contrib/hbunix/hbposix.c + contrib/hbunix/posix.c * contrib/hbunix/tests/hbmk.hbm * Renamed hbposix lib to hbunix. Step 2 of 2. ; Please test. * contrib/hbunix/daemon.c * contrib/hbunix/tests/testdmn.prg * Renamed HB_POSIX_DAEMON() to UNIX_DAEMON(). 2011-01-21 16:26 UTC+0100 Viktor Szakats - contrib/hbposix + contrib/hbunix * contrib/hbplist * Renaming hbposix lib to more generic hbunix. Step 1 of 2. 2011-01-21 10:44 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) + harbour/contrib/hbposix/hbposix.h + added header file for POSIX function wrappers * harbour/contrib/hbposix/hbposix.hbp + harbour/contrib/hbposix/posixerr.c + added C functions to save/restore errno value + added POSIX_ERRNO() PRG function + harbour/contrib/hbposix/guids.c + added POSIX_[GS]ET[E][UG]ID() functions * harbour/contrib/hbposix/daemon.c * use hbposix.h * save errno * harbour/contrib/hbposix/hbposix.c * use hbposix.h 2011-01-21 09:59 UTC+0100 Viktor Szakats + contrib/hbposix/tests/testdmn.prg * contrib/hbposix/hbposix.hbp + contrib/hbposix/daemon.c + Added HB_POSIX_DAEMON( lNoChdir, lNoClose ) --> lResult * contrib/hbmxml/hbmxmlp.prg * contrib/hbmagic/hbmagis.prg * contrib/hbmagic/tests/hbmagit.prg * contrib/hbmagic/hbmagic.c ! Minor fix to copyright line. ; Patch from Tamas. Thank you! * contrib/hbposix/tests/testdmn.prg * contrib/hbposix/daemon.c * Renamed POSIX_DAEMON() to HB_POSIX_DAEMON() to reflect fact that it implement higher-level POSIX functionality (as opposed to being a direct wrapper to posix function names 'deamon()') 2011-01-21 07:04 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbmxml/hbmxml.c % optimization - moved hb_itemNew()/hb_itemRelease() outside for() loop 2011-01-21 02:22 UTC+0100 Viktor Szakats * config/hb_c.cfg + Some more settings. * Changed to not wrap lines at column 100. It'd be great feature, though sometimes it makes code less readable. * contrib/gtwvg/wvgcuig.c * contrib/gtwvg/wvgwin.c * contrib/gtwvg/wvgutils.c * contrib/gtwvg/wvgcore.c * contrib/gtwvg/wvgwing.c ! Fixed formatting using uncrustify. * contrib/gtwvg/wvggui.c * Minor modification to make it not break when autoformatted. * contrib/hbmisc/dates2.c * contrib/hbtip/encurlc.c * contrib/hbwin/win_prn2.c % Optimized out HB_ISLOG() calls. 2011-01-20 20:31 UTC+0100 Viktor Szakats * config/c.mk * config/rules.mk + Added support for Objective C input files (.m) 2011-01-20 19:09 UTC+0100 Viktor Szakats + contrib/hbct/misc4.c * contrib/hbct/dummy.c * contrib/hbct/hbct.hbp * contrib/hbct/hbct.hbx + Added two very simple functions ISAT() and TOOLVER(). 2011-01-20 18:48 UTC+0100 Viktor Szakats * contrib/hbmxml/hbmxml.hbx ! Updated. * contrib/hblzf/hblzf.hbp + contrib/hblzf/hblzf.hbx + contrib/hblzf/hblzfx.prg * contrib/hbxdiff/hbxdiff.hbp + contrib/hbxdiff/hbxdiff.hbx + contrib/hbxdiff/hbxdiffx.prg + Added extern puller parts. 2011-01-20 18:28 UTC+0100 Viktor Szakats * package/harbour.spec * package/harbour-win.spec.in * package/harbour-wce.spec.in * include/hbver.h * config/global.mk + Changed version number to: 2.1.0rc1 (from 2.1.0beta3) 2011-01-20 11:37 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbmxml/hbmxml.c ! redesigned to use mxml_node reference counters - it should fix all problems with memory leak and accessing freed memory which where in our wrapper. ! fixed few typos and possible GPF I've found ! modified mxmlDelete() wrapper to respect reference counter It means that it cannot call mxmlDelete() MXML function directly. - removed mxmlRelease() and mxmlRetain() PRG wrappers * harbour/contrib/hbmxml/3rd/minixml/mxml_fil.c ! fixed double mxml_node releasing * harbour/contrib/hbmxml/3rd/minixml/mxml_nod.c ! fixed mxmlDelete() to respect reference counters ; TODO: There are still two problems but inside MXML library. 1. memory leak in testmxml rem_err.xml The leak is inside MXML function and have to be fixed by author (I do not want to change this code too deeply). Here is valgrind report: (88 direct, 1 indirect) bytes in 1 blocks are definitely lost at 0x4C234E7: calloc () by 0x40ABF9: mxml_new (mxml_nod.c:758) by 0x40AE39: mxmlNewText (mxml_nod.c:547) by 0x407421: mxml_load_data (mxml_fil.c:1585) by 0x404E50: HB_FUN_MXMLLOADFILE (hbmxml.c:794) by 0x50A9FF6: hb_vmProc (hvm.c:5795) by 0x5086104: hb_vmExecute (hvm.c:1655) by 0x50A9FF6: hb_vmProc (hvm.c:5795) by 0x50ADC12: main (mainstd.c:96) 2. Index functions in MXML library does not update reference counters. It means that it's possible to create index then remove nodes and access such nodes extracting their addresses from the index. It's the only one place I know when user can make something wrong with memory using just modified HBMXML wrapper and it cannot be fixed without modifications in MXML library. Please test it. 2011-01-19 17:05 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbnetio/netiomt.prg + added 8th parameter <sSrvFunc> to NETIO_MTSERVER(). It allows to set own server function which can be used for statistic or connection INIT/EXIT code. By default it's @netio_server() is used. User functions may look like: function custom_netio_server( pConnectionSocket ) register_connection( pConnectionSocket ) begin sequence netio_server( pConnectionSocket ) finally unregister_connection( pConnectionSocket ) end sequence return nil * harbour/contrib/hbnetio/netiosrv.c + added new server function NETIO_SRVSOCKET( <pConnectionSocket> ) -> <pHbSocket> <pHbSocket> can be used with Harbour socket functions (hb_socket*()) Please remember that <pHbSocket> handle can be used only for statistics and must not be used for any send/receive operations. * harbour/contrib/hbnetio/readme.txt * updated * harbour/contrib/hbwin/tests/olesrv1.prg * modified to return HVM error object as OLE object to the client on RTE 2011-01-19 07:21 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbexpra.c ! fixed casting for C++ mode 2011-01-18 22:27 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbexpra.c * harbour/include/hbexprb.c * harbour/src/common/expropt1.c ! fixed codeblock parameter processing in EVAL() call inside codeblock when -kc compiler switch is used ! fixed potential modification of constant string + harbour/contrib/hbfship/users.c + added new FlagShip compatible functions: USERSMAX() -> <nMaxUsers> (1024) (1024 is returned by unlimited FS version) 2011-01-18 18:14 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) + harbour/contrib/hbfship/dbsetloc.c * harbour/contrib/hbfship/hbfship.hbp + added new FlagShip compatible function: DBSETLOCATE[BLOCK]( <bFor> ) -> <lSet> 2011-01-18 17:51 UTC+0100 Viktor Szakats * contrib/hblzf/hblzf.c * Reformatted by uncrustify (nothing serious). * contrib/hbfship/index.c ! Fixed double assignment reported by bcc. * src/3rd/jpeg/Makefile * src/3rd/jpeg/jcmarker.c * src/3rd/jpeg/jpeglib.h * src/3rd/jpeg/jpeg.dif * src/3rd/jpeg/jcmaster.c * src/3rd/jpeg/jversion.h * src/3rd/jpeg/README + Updated to 8c. Patch from Tamas. Thanks! 2011-01-18 16:32 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbfship/exec.c ! fixed to work with non *nix platforms + harbour/contrib/hbfship/index.c * harbour/contrib/hbfship/hbfship.hbp + added new FlagShip compatible functions: INDEXCOUNT() -> <nIndexCount> INDEXNAMES() -> <acIndexNames> 2011-01-18 14:58 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) + harbour/contrib/hbfship/exec.c * harbour/contrib/hbfship/hbfship.hbp + added new FlagShip compatible functions: EXECNAME( [ <lFullPath> ] ) -> <cName> EXECPIDNUM() -> <nPID> 2011-01-18 12:48 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbfoxpro/misc.prg ! PROCEDURE -> FUNCTION 2011-01-18 12:32 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbexprb.c ! allow to use variable in parenthesis as lvalue when -kc switch is used - Clipper compatibility * harbour/contrib/hbfoxpro/misc.prg + __FOX_ARRAY( <dims,...> ) which returns array initialized with .F. values - it can be used to initialize arrays declared using FP syntax * harbour/contrib/hbfoxpro/hbfoxpro.ch + added some new PP rules for FP array declarations + added DISPLAY FIELDS ... command 2011-01-17 23:02 UTC+0100 Viktor Szakats * contrib/hbmxml/hbmxml.c * Reformatted with uncrustify. 2011-01-17 22:55 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbmxml/hbmxml.c ! fixed hb_strdup() wrongly used instead of strdup() Thanks to Petr for the information. * modified MXMLSAVESTRING() to follow recent Viktor modifications in MXMLSAVEALLOCSTRING() and not strip trailing EOL 2011-01-17 20:52 UTC+0100 Viktor Szakats * contrib/hbmxml/hbmxml.c % In MXMLSAVEALLOCSTRING() strdup()-ed buffer passed directly to hb_retclen_buffer() replaced with plain hb_retclen() call. hb_retclen_buffer() is to be used only if there is already an allocated buffer to pass as is. ! MXMLSAVEALLOCSTRING() modified to not remove EOLs from buffers received from minixml lib. Reason two-fold: 1. hbmxml libs job is to be as transparent as possible, so it should not tamper with the contents 2. Do not make any assumptions about the size of EOL, which was 1, but now it can be 2 on certain platforms. ; Please review and test. There is no test code for this call, so I only did build tests. * contrib/hbfoxpro/hbfoxpro.hbp + contrib/hbfoxpro/misc.prg + Added very humble attempt to emulate SYS(). I'm no FoxPro user and don't have any facility to make tests against real FoxPro. Please fix and extend as you deem necessary. * bin/hb3rdpat.hbs + Changed tool detection to only require what's really to be used in a certain session. + Added detection to more tools. ; Thanks Tamas for the patch session. 2011-01-17 19:38 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/ChangeLog * added file name missing in my previous ChangeLog entry 2011-01-17 19:24 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbexprb.c ! allow to assign to variable in parenthesis in compiler when -kc switch is used (Clipper compatibility), i.e.: (var) := 1 Please remember that Clipper does not accept such syntax in macrocompiler and Harbour replicates this behavior when -kc compile time switch is used. 2011-01-17 12:38 UTC+0100 Viktor Szakats * contrib/hbmxml/3rd/minixml/mxml.hbp * contrib/hbmxml/3rd/minixml/mxml_fil.c + Patched libmxml code to create native CRLF EOL on win/dos/os2 platforms. 2011-01-17 12:14 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbmxml/hbmxml.c * use hb_parstr_utf8() instead of hb_parc() in custom_save_cb() 2011-01-16 23:29 UTC+0100 Viktor Szakats * contrib/hbmxml/tests/testmxml.prg ! Reverted 2011-01-17 00:05 UTC+0200 Petr Chornyj. It's wrong solution, it makes the output non-portable. ; FIXME: Change LF to CRLF in libmxml for a proper fix. [DONE] 2011-01-17 00:05 UTC+0200 Petr Chornyj (myorg63 at mail.ru) * contrib/hbmxml/hbmxml.c ! Fixed warning reported by bcc55 in mxmlNewCustom() * contrib/hbmxml/tests/testmxml.prg * Changed whitespace_cb() to respect official mxml test result e.g. hb_eol() -> e"\n" 2011-01-16 17:06 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbmxml/hbmxml.c % optimized user callback calls * declare all helper functions as static - all public functions except HB_FUNC() ones should be declared in .h files If it's not necessary the please do not declare functions as public. It's much easier to update the code when developers know that it's use only locally and not accessed from some other or user code. 2011-01-16 16:46 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbmxml/hbmxml.c ! fixed C&P typo in previous commit 2011-01-16 16:11 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbmxml/hbmxml.c ! fixed MXMLSAVESTRING() to correctly shrink destination buffer. Please test. * small code simplification 2011-01-16 15:49 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hblzf/hblzf.c ! fixed decompress buffer resizing 2011-01-16 00:40 UTC+0200 Petr Chornyj (myorg63 at mail.ru) * contrib/hbmxml/hbmxml.c + Added experimental hb_mxmlGetAttrsCount(), hb_mxmlGetAttrs(), hb_mxmlGetAttrsArray() ; WARNING: can be changed or even removed after final 2.7 miniXML release 2011-01-15 22:00 UTC+0200 Petr Chornyj (myorg63 at mail.ru) * contrib/hbmxml/hbmxml.c ! Fixed mxmlIndexDelete(), simplified mxmlSaveString() - contrib/hbmxml/tests/test.prg - removed as unnecessary * contrib/hbmxml/tests/testmxml.prg * minor typo in comment 2011-01-15 20:30 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added support for .def input files when creating executable targets. ; Please test it. 2011-01-15 18:34 UTC+0100 Viktor Szakats * src/3rd/pcre/pcre.h * src/3rd/pcre/pcre.dif * src/3rd/pcre/config.h * src/3rd/pcre/Makefile + Upgraded PCRE to 8.12. (it's a no-op regarding the lib itself) ; Patch by Tamas. Thanks! 2011-01-15 17:50 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapi.h * harbour/src/vm/cmdarg.c ! use 'void *' instead of HANDLE in hb_winmainArgInit() parameters 2011-01-15 16:34 UTC+0100 Viktor Szakats * bin/hb3rdpat.hbs + Added error message when URL is missing. ; FIXME: I could not test it because of this error: 'E: Cannot find xz' I indeed don't have it, but this tool is not needed for this diffing session, so IMO it should be left out when checking for prerequisites. Tamas, can you take a look? [DONE] 2011-01-15 13:47 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbmxml/hbmxml.c ! fixed using released strings ! added missing callback item clearing ! release previous callback items in MXMLSETERRORCALLBACK() and MXMLSETCUSTOMHANDLERS() - it fixes memory leak in repeated calls and allows to free all items used by codeblock callbacks before application/thread exit. ; small note about TSD functions: hb_stackGetTSD() always returns non NULL pointer, on first call it allocates and initialize new structure. It's not necessary to check if return value is not NULL. hb_stackTestTSD() return NULL if TSD structure is not allocated yet by current thread, otherwise it returns this structure. Newly allocated TSD structures are cleared so it's not necessary to clear their members inside init functions. In such case init functions can be ignored (set to NULL in HB_TSD_NEW(). I know that on some platforms NULL can be represented as non 0 value anyhow current Harbour code is not ready to work with such platforms and needs a lot of modifications to adopt it to such condition. I do not expect that anyone will try to make such port in the future. ; QUESTION: why custom_save_cb() uses hb_parc() instead of hb_parstr_utf8()? ; QUESTION2: what TODO in MXMLDELETE() means? 2011-01-15 12:07 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapi.h * harbour/include/hbwmain.c * harbour/src/vm/cmdarg.c * moved declaration of hb_winmainArgInit() to header file * harbour/contrib/hbmxml/3rd/minixml/mxml_fil.c * harbour/contrib/hbmxml/3rd/minixml/mxml.h ! fixed to compile with WinCE builds ; I cannot regenerate .diff file because ../../../../bin/hb3rdpat.hbs -rediff generates RT error: Error BASE/1123 Argument error: HB_ATOKENS Called from HB_ATOKENS(0) Called from URL_GETFILENAME(810) Called from FETCHANDEXTRACT(673) Called from MAIN(412) Sorry, probably I'm missing something what was already discussed but I was not able to follow all post on the list in last weeks so I would like to ask Viktor or Tamas for the help. 2011-01-15 10:43 UTC+0100 Viktor Szakats * include/hbwmain.c * src/vm/cmdarg.c ! Fixed missing declaration for hb_winmainArgInit() ! Fixed missing HB_EXTERN_* from around hb_winmainArgInit() declaration. ; Patches from Andi. Thank you. * Added HB_EXPORT to the declaration in hbwmain.c. 2011-01-15 01:15 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbcomp.h * do not inherit in macrocompiler -z compile time switch when -kc is also used * harbour/src/common/expropt2.c * disable logical expression optimization (reduction) in macrocompiler when -kc compile time switch is used. * harbour/config/beos/gcc.mk * harbour/config/qnx/gcc.mk * harbour/config/bsd/gcc.mk * harbour/config/wce/mingwarm.mk * harbour/config/vxworks/gcc.mk * harbour/config/hpux/gcc.mk * harbour/config/darwin/gcc.mk * harbour/config/dos/djgpp.mk * harbour/config/win/mingw.mk * harbour/config/linux/gcc.mk * harbour/config/cygwin/gcc.mk * harbour/config/symbian/gcc.mk * harbour/config/os2/gcc.mk * harbour/config/sunos/gcc.mk * harbour/utils/hbmk2/hbmk2.prg * enable some important warnings in GCC builds using -W<name>... instead of -Wall and -Wno-<name>... for warning level set to low. It should help in backward compatibility with some older GCC versions. 2011-01-14 10:12 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/config/beos/gcc.mk * harbour/config/qnx/gcc.mk * harbour/config/bsd/gcc.mk * harbour/config/wce/mingwarm.mk * harbour/config/vxworks/gcc.mk * harbour/config/hpux/gcc.mk * harbour/config/darwin/gcc.mk * harbour/config/dos/djgpp.mk * harbour/config/win/mingw.mk * harbour/config/linux/gcc.mk * harbour/config/cygwin/gcc.mk * harbour/config/symbian/gcc.mk * harbour/config/os2/gcc.mk * harbour/config/sunos/gcc.mk * use -Wall -Wno-unused -Wno-pointer-sign -Wno-uninitialized -Wno-switch -Wno-strict-overflow -Wno-main instead of -W when warnings are not enabled with GCC based compilers. Using only -W only is rather useless because this switch enables warnings which can be usually ignored in 3rd party code. This modification should help in locating bugs introduced by us to 3rd party code, i.e. due to wrong header files used on some platforms (we do not use autoconf assuming some default settings what can be wrong in some cases). It should also not hide some important/critical bugs in 3rd party code. This modification pacifies some common warnings which can be ignored usually but it also enables some more important ones. If it's necessary then we can tune it a little bit more and disable some other warnings too. It's possible that on some platforms using very old GCC versions some of -W* switches are not supported - please make tests and inform us about problems. * harbour/utils/hbmk2/hbmk2.prg * use -Wall -Wno-unused -Wno-pointer-sign -Wno-uninitialized -Wno-switch -Wno-strict-overflow -Wno-main instead of -W when warning level is set to low with GCC based compilers 2011-01-14 08:35 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbdefs.h * use native stdint.h for MSVC 2010. Patch by Andi, thx. * harbour/contrib/hbwin/hbwinole.h * fixing __DMC__ compilation. Patch by Andi, thx. * harbour/contrib/hblzf/hblzf.c * pacified warning 2011-01-13 19:44 UTC+0100 Viktor Szakats * contrib/hbexpat/tests/test.prg * contrib/hbexpat/tests/tohash.prg * Tweaked to find example xml file out of the box. * contrib/hbexpat/hbexpat.c * contrib/hbcurl/hbcurl.c * contrib/hbssl/ssl.c * contrib/hbssl/pem.c % Using hb_vmPush*() functions instead of less efficient hb_evalBlock*(). Calls requiring UTF8 conversion were not optimized. * contrib/hbzebra/coredraw.c ! Fixed to use HB_DEFAULT_DECIMALS instead of hard coded 2. * contrib/hbmxml/hbmxml.c ! Fixed to use hb_itemPutC() instead of hb_itemPutCConst(). (use the latter for 'static const' strings only) 2011-01-13 16:54 UTC+0100 Viktor Szakats * contrib/hbxdiff/3rd/libxdiff/_hbconf.h ! Fix for msvc6. Patch by Andi. 2011-01-13 10:44 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/stuff.c * minor modification which should pacify warnings in some compilers * harbour/src/rtl/gtgui/gtgui.c * removed unnecessary assignment to pacify BCC warning * harbour/contrib/hbxdiff/hbxdiff.c ! fixed file handle to pointer casting - on some platforms/C compilers old code could cause compile time warnings or even errors 2011-01-12 02:03 UTC+0100 Viktor Szakats * contrib/hbmxml/hbmxml.c + Enabled function pointer support with new PHB_ITEM based callback system. ! MXMLSETERRORCALLBACK() fixed to reset error handler to NULL if wrong (or no) parameter is passed. ! Replaced hb_vmProc() with hb_vmSend(). ! Fixed some missed locations still using dynsyms directly. * contrib/hbmxml/tests/custom.prg * contrib/hbmxml/tests/testmxml.prg * contrib/hbmxml/tests/reminder.prg * Switched back to use function pointers. * contrib/hbsqlit3/hbsqlit3.c * contrib/hbxdiff/hbxdiff.c * Renamed variables to reflect recent changes. 2011-01-12 01:23 UTC+0100 Viktor Szakats * contrib/hbsqlit3/hbsqlit3.c + Enabled function pointers. It's even easier I thought since the block calling method also supports function pointers automatically. * contrib/hbxdiff/hbxdiff.c % Deleted separate (original) function symbol support, and enabled it on the codeblock branch. Now it supports both without redundant code. * contrib/hbxdiff/tests/test3.prg + Added back function pointer example. 2011-01-12 01:13 UTC+0100 Viktor Szakats * contrib/hbmxml/hbmxml.c + First round to switch to supporting codeblocks and storing callback information in PHB_ITEM instead of PHB_DYNS. For some reason I couldn't figure, reminder.prg fails after this modification. Please verify. + Added FIXME to severe buffer handling problem in all MXMLSAVE*() functions. Buffer is returned from save_cb() callback after it's freed. * contrib/hbmxml/tests/custom.prg * contrib/hbmxml/tests/testmxml.prg * contrib/hbmxml/tests/reminder.prg * Changed to use codeblock callbacks. (later some examples might be readded for function pointers, it's simple s&r) * Some formatting. Deleted line spaces @ EOL. ; NOTE: e.g. testmxml.prg fails instantly. It failed the same way before this commit. 2011-01-12 00:07 UTC+0100 Viktor Szakats * contrib/hbexpat/hbexpat.c * contrib/hbcurl/hbcurl.c * contrib/hbssl/ssl.c * contrib/hbssl/pem.c * contrib/hbqt/qtcore/hbqt_hbqslots.cpp * Changed to use hb_evalBlock()/hb_evalBlock1()/hb_evalBlock0() instead of hb_vmEvalBlockV(). * src/vm/eval.c ! Minor in comment. * contrib/hbqt/qtcore/hbqt_hbqevents.cpp * Formatting. 2011-01-11 23:06 UTC+0100 Viktor Szakats * contrib/hbmxml/tests/reminder.prg * contrib/hbmxml/tests/test.prg ! Fixed warnings and errors preventing these tests from building. * contrib/hbexpat/hbexpat.c * contrib/hbcurl/hbcurl.c * contrib/hbssl/ssl.c * contrib/hbssl/pem.c + Added support also for function pointers where codeblocks were accepted. Please test it. NOTE: It was easy change because PHB_ITEM was already used to store the callback value and official Eval API was used to call the callbacks. * contrib/hbssl/tests/pem.prg + Added example for function pointer callback. * contrib/hbssl/pem.c % Minor optimization. 2011-01-11 19:35 UTC+0100 Viktor Szakats * contrib/hbsqlit3/hbsqlit3.c + Switched to use codeblocks for callbacks (instead of function pointers). ; I'd like to kindly ask those who understand the topic to review GC unlock/mark mechanism. I also didn't make any tests, because they are missing from tests dir. * contrib/hbxdiff/hbxdiff.c ! Another typo in prev. 2011-01-11 19:17 UTC+0100 Viktor Szakats * contrib/hbxdiff/hbxdiff.c ! Typo in prev. 2011-01-11 19:12 UTC+0100 Viktor Szakats * contrib/hbxdiff/hbxdiff.c + Added support for codeblocks as callbacks. ; I'm not sure if we should keep symbol callbacks, looks like inferior alternative and codeblocks are the preferred choice in 98% (well all except this, and recently added hbsqlit3 extension and hbmxml) of Harbour wrappers addons. * contrib/hbxdiff/tests/test.prg * contrib/hbxdiff/tests/test2.prg * contrib/hbxdiff/tests/test3.prg * Changed to use codeblock in callback example. * Formatting. 2011-01-11 16:13 UTC+0100 Viktor Szakats * contrib/hbmxml/tests/testmxml.prg + Completed missing parts (SAX), formatting, etc. By Tamas Tevesz. 2011-01-11 11:11 UTC+0100 Viktor Szakats + contrib/hbmxml/tests/testmxml.prg + Added official mxml test rewritten in Harbour language. By Tamas Tevesz. 2011-01-11 01:11 UTC+0100 Viktor Szakats * contrib/hbformat/hbformat.prg ! Fixed to recognize ENDSWITCH. + Added vague FIXME section. E.g. OTHERWISE is also not recognized, and increment/decrement statements have space separator added between variable name and operator (i ++), same is true for negative literals (- 1). * Formatting. * tests/gfx.prg ! Typo in prev modification. 2011-01-10 22:35 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/gtgui/gtgui.c * use MB_ABORTRETRYIGNORE instead of MB_RETRYCANCEL only when defined by default and program is executed in W2K or newer Windows version 2011-01-10 20:27 UTC+0100 Viktor Szakats * contrib/hbformat/utils/hbformat.prg * contrib/hbformat/hbformat.prg * Formatting. ! Using manifest constants. * != -> !( == ) (none of them causing actual errors) 2011-01-10 20:02 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/gtgui/gtgui.c + added basic support for redirecting ALERT() to MessageBox() in MS-Windows GTGUI builds. Please remember that MessageBox() supports only few predefined buttons so it's not possible to show all user options. Anyhow it should be enough to present error messages generated by default error handler. 2011-01-10 19:59 UTC+0100 Viktor Szakats * contrib/hbformat/utils/hbformat.prg % Minor optimizations. * Formatting. ! Fixed to use OutStd()/OutErr() instead of ?/?? 2011-01-10 19:52 UTC+0100 Viktor Szakats * contrib/hbformat/hbformat.prg * Formatting. ! Fixed camelcasing of some function names in formatting code. % Optimized when forming long string constants. * tests/gfx.prg ! Fixed -w3 warning. * Formatted. 2011-01-10 10:11 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbwin/wapi_winuser.c + Added: WAPI_IsWindow( phWnd ) -> lYes - contrib/gtwvg/wvgsink.c - Deleted local implementation of Active-X events management. Core is now much more accomplished. * contrib/gtwvg/wvgax.prg ! Modified: to honor core components instead of local ones. * contrib/gtwvg/gtwvg.hbp - Deleted: wvgsink.c * contrib/gtwvg/tests/wvgactivex.prg ! Changed: URL * contrib/hbide/ideeditor.prg ! Added: "Format Source" prompt in editing instance's context menu. 2011-01-10 13:44 UTC+0100 Viktor Szakats * contrib/hbct/ctnet.c ! NETRMTNAME(): Futher fix along the code sent by vbdasc. 2011-01-10 13:36 UTC+0100 Viktor Szakats * src/3rd/png/Makefile + Added special hack for pocc family of compilers to make it build png 1.5.x. This should be fixed in png code. 2011-01-10 12:02 UTC+0100 Viktor Szakats * src/3rd/png/Makefile - Do not set PNG_NO_SETJMP anymore. % Minor opt in condition check for PNG_NO_SNPRINTF. 2011-01-10 11:50 UTC+0100 Viktor Szakats * contrib/hbhpdf/3rd/libhpdf/hpdfimap.c * contrib/hbhpdf/3rd/libhpdf/libhpdf.dif ! Updated libharu code to work with libpng 1.5 Thanks to Tamas for the patch and Anthony Dovgal for the quick update on libharu code. * contrib/hbhpdf/3rd/libhpdf/libhpdf.hbp * Not needed anymore to suppress pedandic png warnings. 2011-01-09 21:30 UTC+0200 Petr Chornyj (myorg63 at mail.ru) * ChangeLog ! Fixed previous entry 2011-01-09 17:45 UTC+0200 Petr Chornyj (myorg63 at mail.ru) * contrib/hbmxml/hbmxml.hbp + contrib/hbmxml/hbmxml.hbx + contrib/hbmxml/hbmxmlx.prg + Added .hbx and extern puller harness. Borrowed from hbexpat/Viktor Szakats. 2011-01-09 16:05 UTC+0200 Petr Chornyj (myorg63 at mail.ru) * contrib/hbmxml/tests/custom.prg * Minor changes * contrib/hbmxml/hbmxml.c ! Fixed mxmlEntityGet[Name|Value]() 2011-01-09 13:00 UTC+0200 Petr Chornyj (myorg63 at mail.ru) * contrib/hbmxml/tests/test.prg * contrib/hbmxml/hbmxml.c + Added mxmlSAXLoadString() 2011-01-09 12:20 UTC+0200 Petr Chornyj (myorg63 at mail.ru) * contrib/hbmxml/tests/test.prg * Minor changes * contrib/hbmxml/hbmxml.c * contrib/hbmxml/tests/custom.prg + Added mxml[Get|New|Set]Custom() 2011-01-08 22:09 UTC+0100 Viktor Szakats - config/hbc.cfg + config/hb_c.cfg * Renamed to not have 'hbc' which may sound misleading. 2011-01-08 12:20 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbxbp/xbpgeneric.prg ! hbxbp_SetEventLoop() - applied patch from Shum, thanks. * contrib/hbxbp/xbptoolbar.prg ! Fixed a badly ignored change in changed implementation of connection slots. 2011-01-08 20:57 UTC+0100 Viktor Szakats * doc/howtosvn.txt + Added some comments to 'svn propset svn:keywords' command example, regarding quoting of its parameter. 2011-01-08 20:43 UTC+0100 Viktor Szakats * src/3rd/zlib/README * src/3rd/png/pngdebug.h * src/3rd/png/LICENSE * src/3rd/png/png.dif * src/3rd/png/pnginfo.h * src/3rd/png/pngstru.h * src/3rd/png/pnglconf.h * src/3rd/hbpmcom/com.c * src/3rd/hbpmcom/wrap_ow.c * src/3rd/hbpmcom/irq.h * src/3rd/hbpmcom/irq_ow.c * src/3rd/hbpmcom/irq_g.c * src/3rd/hbpmcom/com.h * src/3rd/hbpmcom/irqwrap.h * src/3rd/jpeg/README * src/3rd/pcre/LICENCE * contrib/hbexpat/3rd/expat/expat.dif * contrib/hbbz2/3rd/bz2/LICENSE - Deleted svn:keywords SVN props. 2011-01-08 19:25 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/filesys.c ! fixed function name in HB_TRACE() message * harbour/src/rdd/sdf1.c * harbour/src/rdd/delim1.c * add CHR(26) at the end of COMMA and SDF files only when _SET_EOF is .T. 2011-01-08 16:25 UTC+0100 Viktor Szakats + src/3rd/png/png.dif * src/3rd/png/Makefile + Added new .dif for png to cover recent local changes. * src/3rd/jpeg/jpeg.dif * src/3rd/jpeg/README ! Minor fix to .dif. ; Both patches sent by Tamas. 2011-01-08 13:52 UTC+0100 Viktor Szakats * src/3rd/png/pnglconf.h ! Fix for watcom compilers. Patch by Tamas. * contrib/hbmxml/hbmxmlp.prg % Optimized out local variables. * ChangeLog ! Fixed missing credit for Tamas in 2011-01-07 18:30 UTC+0200 Petr Chornyj 2011-01-08 13:47 UTC+0100 Viktor Szakats * contrib/hbmisc/nconvert.prg * Removed unnecessary parentheses. ! Corrected to use ENDDO instead of END. 2011-01-08 13:43 UTC+0100 Viktor Szakats * contrib/hbformat/hbformat.prg ! Fixed to not use PRIVATE variable to communicate between methods. The solution is trivial, so trivial that I couldn't decipher why PRIVATE was used in the first place, which means there is a chance I broke something. Please review it. ; FIXME: hbformat doesn't understand 'SWITCH' statement, which means it break with many valid source files with an error. [DONE] 2011-01-08 13:38 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/vm/dlmalloc.c * harbour/contrib/xhb/win32prn.ch * harbour/contrib/rddbm/bmdbfx.c * harbour/contrib/hbxdiff/hbxdiff.ch * harbour/contrib/hbmisc/nconvert.prg * harbour/contrib/hbssl/bio.c * replaced TABs with SPACEs 2011-01-08 13:27 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/xhb/xhbmvinf.c * harbour/contrib/3rd/sqlite3/sqlite3x.h * harbour/contrib/rddbm/rddbm.hbp * harbour/contrib/rddbm/bmdbfcdx.prg * harbour/contrib/rddbm/rddbm.hbc * harbour/contrib/rddbm/bmdbfx.c * harbour/contrib/rddbm/bmdbfnsx.prg * harbour/contrib/rddbm/bmdbfntx.prg * harbour/contrib/hbide/ideformat.prg * cleaned svn:keywords and svn:eol-style 2011-01-08 13:15 UTC+0100 Viktor Szakats * package/harbour.spec - Deleted hbformat. It now resides in contrib. * doc/dirstruc.txt * Moved hbformat. * contrib/hbformat/utils/hbformat.hbp * Reimplemented tweak to build hbformat in shared mode for win/wce/os2 systems. (to minimize distro size) 2011-01-08 13:05 UTC+0100 Viktor Szakats * contrib/hbformat/hbformac.c ! Formatted with uncrustify. ! Fixed to use HB_SIZE instead of unsigned long. 2011-01-08 12:31 UTC+0100 Viktor Szakats + src/3rd/png/pngdebug.h + src/3rd/png/pnginfo.h + src/3rd/png/pngstru.h + src/3rd/png/pnglconf.h + Added files for png 1.5. 2011-01-08 12:25 UTC+0100 Viktor Szakats - contrib/hbformat/utils/hbformac.c + contrib/hbformat/hbformac.c * contrib/hbformat/utils/hbformat.hbp * contrib/hbformat/hbformat.hbp ! Moved back this C level helper function to lib. * Renamed RF_FILEREAD() to __HBFORMAT_FILEREAD() * contrib/hbformat/utils/hbformat.prg * contrib/hbformat/hbformat.prg * hbformat.ini reference moved to command-line wrapper level. * Formatting. * contrib/hbide/ideformat.prg * Changed to use hbformat lib class, instead of local copy paste copy. - contrib/hbide/thbformt.prg * contrib/hbide/hbide.hbp - Deleted local copy paste (+ mods) copy of hbformat class code. ; TODO: Pritpal, please reapply your changes (except formatting) to hbformat lib code. [NOT NEEDED] 2011-01-08 12:07 UTC+0100 Viktor Szakats * src/3rd/png/pngerror.c * src/3rd/png/pngrio.c * src/3rd/png/pngwrite.c * src/3rd/png/pngconf.h * src/3rd/png/pngwtran.c * src/3rd/png/pngpread.c * src/3rd/png/pngset.c * src/3rd/png/LICENSE * src/3rd/png/pngwio.c * src/3rd/png/pngrutil.c * src/3rd/png/pngwutil.c * src/3rd/png/pngread.c * src/3rd/png/pngmem.c * src/3rd/png/png.c * src/3rd/png/pngget.c * src/3rd/png/png.h * src/3rd/png/pngpriv.h * src/3rd/png/pngrtran.c * src/3rd/png/pngtrans.c * src/3rd/png/Makefile * libpng update to 1.5 (from 1.4.5) ; Patch by Tamas Tevesz. Thanks very much! 2011-01-08 12:04 UTC+0100 Viktor Szakats * contrib/hbide/hbide.hbp + Added hbformat.hbc as dependency for hbide. 2011-01-08 12:02 UTC+0100 Viktor Szakats * contrib/hbplist - contrib/hbformat/hbformat.ini + contrib/hbformat/utils/hbformat.ini + contrib/hbformat/utils/hbformac.c + contrib/hbformat/utils/hbformat.prg + contrib/hbformat/utils/hbformat.hbp - contrib/hbformat/hbformac.c * contrib/hbformat/hbformat.prg * contrib/hbformat/hbformat.hbp + contrib/hbformat/hbformat.hbc * Separated command-line wrapper from class. ; FIXME: Class uses a MEMVAR! [DONE] ; FIXME: Class uses hbformat.ini, this is wrong as the notion of .ini config should be part of the command-line wrapper. [DONE] 2011-01-08 11:47 UTC+0100 Viktor Szakats * contrib/hbformat/utils + Added. - contrib/hbformat/Makefile - Deleted, not needed anymore. 2011-01-08 11:45 UTC+0100 Viktor Szakats * contrib/hbplist + contrib/hbformat - utils/hbformat * utils/Makefile * Moved hbformat to contrib area. 2011-01-08 11:40 UTC+0100 Viktor Szakats * src/vm/cmdarg.c * Formatting. * package/winuni/mpkg_win_uni.nsi + Added FIXME to recent HBIDE shortcut addition. It should only be there if HBIDE component was selected. - Disabled HBIDE icon until a proper solution is found. * contrib/hbct/ctnet.c ! NETRMTNAME(): Fixed along the patch sent by vbdasc. Please test it. * contrib/hbmxml/3rd/minixml/config.h ! Space at EOL. 2011-01-08 03:27 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/filesys.c + added new macros HB_WIN_IOREAD_LIMIT and HB_WIN_IOWRITE_LIMIT They are used to define maximal size of single IO read and write operations. In Win64 builds they are set by defauly to HB_U32_MAX. It's possible to rebuild Harbour with above macros setting some smaller limits. 2011-01-07 16:41 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) + contrib/hbide/format.ui + Added: dock-widget populated .ui to manage code formatting. * contrib/hbide/setup.ui + Added: <Setup><hbIDE Setup><Formatting> page which contains slots to define hbFormat specific settings ( work-in-progress ). * contrib/hbide/hbide.hbp + Added: ideformat.prg : thbformt.prg : format.ui * contrib/hbide/ideactions.prg + Implemented: <Edit><Format><Format Source> menu prompt which invokes "Formatting" dock-widget at the right hosting all attributes of a tearable dock-widget as usual. * contrib/hbide/idedocks.prg * contrib/hbide/idemain.prg * contrib/hbide/idemisc.prg * contrib/hbide/ideobject.prg * contrib/hbide/idesaveload.prg + contrib/hbide/ideformat.prg + Added: "Formatting Manger" class to handle formatting steps. + contrib/hbide/thbformt.prg + Added: Stripped version of utils/hbformat/hbFormat.prg which will be placed as a lib in contrib/hbformat once its functionality gets matured. I have added few more methods which are scheduled to be implemented in hbIDE interface. As of current, its working is exactly the same as original taking use of default swtches. hbIDE will now onwards be able to format sources on the fly and with visual interface to present the formatted source for review before swapping it into current editing instance. Right now it just displays the source for review. I will be waiting groups comments before proceeding which direction it should take. Also note that currently formatting is done with default switches. Slots are arranged in <setup><Formatting> page. In the coming days those will come into effect. Placeholder will be hbide.ini itself instead of hbformat.ini. Please go through the process quickly and let me know if interface needs any improvements. 2011-01-07 18:30 UTC+0200 Petr Chornyj (myorg63 at mail.ru) * contrib/hbmxml/3rd/minixml/config.h + Fixed stupid typo. * contrib/hbmxml/hbmxml.c * contrib/hbmxml/hbmxml.ch * contrib/hbmxml/tests/test.prg + Added mxmlSAXLoadFile() 2011-01-07 18:30 UTC+0200 Petr Chornyj (myorg63 at mail.ru) * ChangeLog ! Fixed previous entry * contrib/hbmxml/3rd/minixml/config.h * contrib/hbmxml/hbmxml.c * contrib/hbmxml/hbmxml.ch * Minor/cosmetic changes * contrib/hbmxml/hbmxml.hbp + hbmxml/hbmxmlp.prg Added mxmlSetTextf()/mxmlNetTextf()/mxmlElementSetAttrf Code by Tamas Tevesz. 2011-01-07 15:30 UTC+0200 Petr Chornyj (myorg63 at mail.ru) * contrib/hbmxml/hbmxml.c * contrib/hbmxml/tests/test.prg + Added mxmlLoadFile()/mxmlSaveFile functions 2011-01-07 10:18 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/vm/cmdarg.c + added support for //F:<nFiles> application runtime switch in DOS and OS2 Open Watcom builds, code by Lorenzo Fiorini and Maurilio Longo borrowed from xHarbour. 2011-01-07 10:10 UTC+0200 Petr Chornyj (myorg63 at mail.ru) * contrib/hblzf/3rd/liblzf/lzf.h + Applied path from liblzf.dif 2011-01-06 23:55 UTC+0200 Petr Chornyj (myorg63 at mail.ru) * ChangeLog ! Fixed Date in my entry + contrib/hblzf/3rd/liblzf/liblzf.dif * contrib/hblzf/3rd/liblzf/lzf.hbp + Added liblzf.dif * contrib/hbmxml/3rd/minixml/minixml.dif + Fixed not use absolute file path in minixml.dif ! contrib/hbmxml/hbmxml.c ! Many fixes and changes 2011-01-05 13:31 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbxbp/xbpdialog.prg * contrib/hbxbp/xbpgeneric.prg * contrib/hbxbp/xbpwindow.prg ! Modified: the behaviour of XbpDialog():close callback slot. It was returning logical while it was supposed to return nothing. Now it is responsibility of the programmer to handle xbeP_Close event in its main event loop and act according to the context of :close callback slot. * contrib/hbide/ideactions.prg + Added: <Find in Files> option in <Edit> menu. * contrib/hbide/idedocks.prg ! Changed: XbpDialog():close block to post to a set/get function hbide_setClose(). * contrib/hbide/idemain.prg ! Trapped: value of hbide_setClose() before actually closing hbIDE. * contrib/hbide/idemisc.prg + Added: set/get function hbide_setClose(). 2011-01-05 18:07 UTC+0100 Viktor Szakats * package/winuni/mpkg_win_uni.nsi + Installer to add shortcut to hbide. Fully untested. * bin/hb3rdpat.hbs + Patch by Tamas to support zx archiver. * ChangeLog ! Date in my last entry. 2011-01-05 10:28 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/hbproces.c ! fixed hb_fsProcessExec() in DOS, OS2 and WinCE builds and hb_fsProcessOpen() in OS2 builds to close handles open for stdin, stdout and stderr communication 2011-01-04 16:57 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbxbp/hbxbp.hbx ! Auto-generated. * contrib/hbxbp/xbpgeneric.prg ! Changed: AppDesktop() returning instance of HbXbpAppDesktop() instead of QDesktopWindow() directly. * contrib/hbxbp/xbpwindow.prg + Implemented: CLASS HbXbpAppDesktop(). - :width( nScreen = -1 ) - :height( nScreen ) Returns the width/height of the monitor represented by nScreen. By default nScreen == PrimaryScreen == -1. - :virtualWidth()/virtualHeight() Returns the total width/height of the virtual desktop. - Pointed and requested by Shum. 2011-01-04 14:20 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbxbp/xbpbrowse.prg ! Changed: :addColumn( oCol ) -> RETURN SELF => RETURN oCol * contrib/hbxbp/xbpgeneric.prg ! Modified: AppEvent() now returns a numeric always. * contrib/hbxbp/xbpparthandler.prg ! A little optimization. 2011-01-04 15:20 UTC+0200 Petr Chornyj (myorg63 at mail.ru) + hbxdiff/3rd/libxdiff/_hbconf.h + Added config file placeholder. - hbxdiff/3rd/libxdiff/config.h + hbxdiff/3rd/libxdiff/winconfig.h * hbxdiff/3rd/libxdiff/xdiff.hbp * hbxdiff/3rd/libxdiff/xinclude.h + hbxdiff/3rd/libxdiff/libxdiff.dif * Updated to reflect above 2011-01-03 16:58 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbxbp/hbxbp.hbx * Auto-regenerated. * contrib/hbxbp/xbp.ch + Added: XBPMB_* constants. * contrib/hbxbp/xbpdialog.prg - Removed: :cargo being populated with hb_threadId(). * contrib/hbxbp/xbpstatic.prg ! Default: :type == XBPSTATIC_TYPE_TEXT * contrib/hbxbp/xbpgeneric.prg + Added: ConfirmBox( oOwner, cMessage, cTitle, nButtons, nStyle, nStartBtn ) The function behaves exactly like Xbase++ except that dialog cannot be honoured for nStyle += XBPMB_SYSMODAL. It is always XBPMB_APPMODAL. No code change is required on the part of the user, though. All above points brought to light by Shum, thanks. * contrib/hbxbp/tests/demoxbp.prg + Added: <Miscellaneous><ConfirmBox()> menu option. 2011-01-03 13:01 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/findinfilesex.ui ! .rc => .txt * contrib/hbide/idefindreplace.prg + Included: all text files defined per <Setup><Fonts><Text file extensions> for "Find in Files" to be searched along other pre defined file types. This is also valid for files included in projects per -3rd= option. First commit in year 2011 - Wish all Harbourians a Rewarding New Year. 2011-01-03 22:20 UTC+0200 Petr Chornyj (myorg63 at mail.ru) * contrib/hbmisc/nconvert.prg + Added DecToRoman() function * contrib/hbmxml/hbmxml.c * Changed to use STR API for UTF8 conversions ; QUESTION: for mxmlNewCDATA, mxmlSetCDATA, mxmlGetCDATA it's acceptable? 2011-01-03 17:30 UTC+0200 Petr Chornyj (myorg63 at mail.ru) * contrib/hbmxml/tests/reminder.prg ! Fixed to use with miniXML r433 * contrib/hbxdiff/3rd/libxdiff/config.h ! Fixed libxdiff build with bcc 5.5 2011-01-03 15:25 UTC+0200 Petr Chornyj (myorg63 at mail.ru) * contrib/hbmxml/3rd/minixml/config.h * contrib/hbmxml/3rd/minixml/COPYING + contrib/hbmxml/3rd/minixml/minixml.dif - contrib/hbmxml/3rd/minixml/mxml-private.h * contrib/hbmxml/3rd/minixml/mxml.h * contrib/hbmxml/3rd/minixml/mxml.hbp * contrib/hbmxml/3rd/minixml/mxml_ent.c * contrib/hbmxml/3rd/minixml/mxml_fil.c + contrib/hbmxml/3rd/minixml/mxml_get.c * contrib/hbmxml/3rd/minixml/mxml_ind.c * contrib/hbmxml/3rd/minixml/mxml_nod.c * contrib/hbmxml/3rd/minixml/mxml_pri.c * contrib/hbmxml/3rd/minixml/mxml_pri.h * contrib/hbmxml/3rd/minixml/mxml_sea.c * contrib/hbmxml/3rd/minixml/mxml_set.c * miniXML updated to r433 * contrib/hbmxml/hbmxml.c * contrib/hbmxml/tests/test.prg * updated to use with miniXML r433 + contrib/hbmxml/tests/rem.xml + contrib/hbmxml/tests/rem_err.xml + contrib/hbmxml/tests/reminder.prg + added new test * INSTALL + Added miniXML related information. 2011-01-02 15:35 UTC+0200 Petr Chornyj (myorg63 at mail.ru) * contrib/hbxdiff/3rd/libxdiff/config.h ! Fixed libxdiff build with msvc and bcc (tested with bcc 6.3) * contrib/hbxdiff/hbxdiff.c ! Fixed memory leak * contrib/hbxdiff/3rd/libxdiff/xdiff.hbp * Minor changes * INSTALL + Added libxdiff related information. 2011-01-02 10:43 UTC+0100 Viktor Szakats * contrib/hbplist + Added new libs. * contrib/hbmxml/hbmxml.c ! Fixed ISBYREF() non-existent macro. ! Fixed MSVC (C++) missing cast. ! Applied uncrustify. ! type_cb() made static. (it's not used anywhere though) ; FIXME: bcc warning: [DONE] Warning W8004 ..\hbmxml\hbmxml.c 585: 'iResult' is assigned a value that is never used in function type_cb * contrib/hbxdiff/hbxdiff.c ! Fixed build-stopper typo in GC function name. ! Made memory wrapper functions static. ; FIXME: libxdiff build fails with msvc because of missing unistd.h. it also doesn't build with bcc, due to many and various errors. [DONE] ; FIXME: Update INSTALL with these new libs. Petr, can you do it? [DONE] 2011-01-02 11:30 UTC+0200 Petr Chornyj (myorg63 at mail.ru) * ChangeLog * contrib/hbmxml/3rd/minixml/mxml.hbp * Minor changes (f.e 2010->2011 - Happy New Year to all :)) 2011-01-02 11:10 UTC+0200 Petr Chornyj (myorg63 at mail.ru) + contrib/hbmxml + contrib/hbmxml/3rd + contrib/hbmxml/3rd/minixml + contrib/hbmxml/3rd/minixml/config.h + contrib/hbmxml/3rd/minixml/COPYING + contrib/hbmxml/3rd/minixml/mxml-private.h + contrib/hbmxml/3rd/minixml/mxml.h + contrib/hbmxml/3rd/minixml/mxml.hbc + contrib/hbmxml/3rd/minixml/mxml.hbp + contrib/hbmxml/3rd/minixml/mxml_att.c + contrib/hbmxml/3rd/minixml/mxml_ent.c + contrib/hbmxml/3rd/minixml/mxml_fil.c + contrib/hbmxml/3rd/minixml/mxml_ind.c + contrib/hbmxml/3rd/minixml/mxml_nod.c + contrib/hbmxml/3rd/minixml/mxml_pri.c + contrib/hbmxml/3rd/minixml/mxml_pri.h + contrib/hbmxml/3rd/minixml/mxml_sea.c + contrib/hbmxml/3rd/minixml/mxml_set.c + contrib/hbmxml/3rd/minixml/mxml_str.c + contrib/hbmxml/hbmxml.c + contrib/hbmxml/hbmxml.ch + contrib/hbmxml/hbmxml.hbc + contrib/hbmxml/hbmxml.hbp + contrib/hbmxml/tests + contrib/hbmxml/tests/hbmk.hbm + contrib/hbmxml/tests/test.prg + contrib/hbmxml/tests/test.xml + added wrapper to miniXML library. Not finished yet, work in progress + contrib/hbxdiff + contrib/hbxdiff/3rd + contrib/hbxdiff/3rd/libxdiff + contrib/hbxdiff/3rd/libxdiff/AUTHORS + contrib/hbxdiff/3rd/libxdiff/config.h + contrib/hbxdiff/3rd/libxdiff/COPYING + contrib/hbxdiff/3rd/libxdiff/xadler32.c + contrib/hbxdiff/3rd/libxdiff/xadler32.h + contrib/hbxdiff/3rd/libxdiff/xalloc.c + contrib/hbxdiff/3rd/libxdiff/xbdiff.c + contrib/hbxdiff/3rd/libxdiff/xbdiff.h + contrib/hbxdiff/3rd/libxdiff/xbpatchi.c + contrib/hbxdiff/3rd/libxdiff/xdiff.h + contrib/hbxdiff/3rd/libxdiff/xdiff.hbc + contrib/hbxdiff/3rd/libxdiff/xdiff.hbp + contrib/hbxdiff/3rd/libxdiff/xdiff.txt + contrib/hbxdiff/3rd/libxdiff/xdiffi.c + contrib/hbxdiff/3rd/libxdiff/xdiffi.h + contrib/hbxdiff/3rd/libxdiff/xemit.c + contrib/hbxdiff/3rd/libxdiff/xemit.h + contrib/hbxdiff/3rd/libxdiff/xinclude.h + contrib/hbxdiff/3rd/libxdiff/xmacros.h + contrib/hbxdiff/3rd/libxdiff/xmerge3.c + contrib/hbxdiff/3rd/libxdiff/xmissing.c + contrib/hbxdiff/3rd/libxdiff/xmissing.h + contrib/hbxdiff/3rd/libxdiff/xpatchi.c + contrib/hbxdiff/3rd/libxdiff/xprepare.c + contrib/hbxdiff/3rd/libxdiff/xprepare.h + contrib/hbxdiff/3rd/libxdiff/xrabdiff.c + contrib/hbxdiff/3rd/libxdiff/xrabply.c + contrib/hbxdiff/3rd/libxdiff/xtypes.h + contrib/hbxdiff/3rd/libxdiff/xutils.c + contrib/hbxdiff/3rd/libxdiff/xutils.h + contrib/hbxdiff/3rd/libxdiff/xversion.c + contrib/hbxdiff/hbxdiff.c + contrib/hbxdiff/hbxdiff.ch + contrib/hbxdiff/hbxdiff.hbc + contrib/hbxdiff/hbxdiff.hbp + contrib/hbxdiff/tests + contrib/hbxdiff/tests/hbmk.hbm + contrib/hbxdiff/tests/test.prg + contrib/hbxdiff/tests/test2.prg + contrib/hbxdiff/tests/test3.prg + added wrapper to libxdiff library. Not finished yet, work in progress 2010-12-23 22:40 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/fieldbl.prg ! fixed FieldBLock() and FieldWBLock() to be CA-Cl*pper compatible (they should return NIL for field names which are not valid identifiers and generate RTE during evaluation if field does not exist) 2010-12-23 13:45 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/contrib/rddads/ads1.c + added DBFIELDINFO( DBS_ISNULL, ) support ; ADT tables support NULL values, but ADS returns ISNULL=.T. for all empty CDX values. ; This modification does not alter FIELDGET() values * harbour/contrib/hbmemio/memio.c * pacified MSVC warnings 2010-12-22 01:36 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/vm/itemapi.c + added support for symbol items in hb_itemString() function 2010-12-21 17:52 UTC+0100 Viktor Szakats * src/rdd/dbffpt/dbffpt1.c ! Silenced msvc warning. 2010-12-21 17:17 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbexprop.h * removed unused declaration * harbour/src/rtl/filesys.c * replaced ULONG_MAX used as 32 bits mask with 0xFFFFFFFF * harbour/src/vm/macro.c * harbour/src/rdd/dbfcdx/dbfcdx1.c * harbour/src/rdd/hsx/hsx.c * harbour/src/rdd/dbffpt/dbffpt1.c * pacified few MSVC warnings 2010-12-21 16:11 UTC+0100 Viktor Szakats * contrib/hbct/video.c ! Silenced msvc warnings. 2010-12-21 14:12 UTC+0100 Viktor Szakats * contrib/hbwin/mapi.c ! Disabled UNICODE support for WIN_MAPISENDMAIL(). Apparently this is called "Simple MAPI" interface by Microsoft, it's deprecated and _doesn't_ support U16 UNICODE. UTF-8 is supposed to be supported to some extent, but in a weird way, so I'm leaving the implementation to interested users. I recommend everyone to use hbcurl + hbtip for sending emails. 2010-12-21 00:15 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/hbqt_hbmk2_plugin.hbs ! Modified: hbQT class framework where any method which was returning NIL ( void ) now returns reference to SELF. This means code like: oWidget:setTitle( "blah..." ) oWidget:setIcon( "this..." ) can be written as: oWidget:setTitle( "blah..." ):setIcon( "this..." ) After long I updated my sources. A lot has been changed. The above change needes hbQT to be rebuild but I cannot figure-out how to tweak it. I had to clean build Harbour to get above changes into effect. 2010-12-21 01:53 UTC+0100 Viktor Szakats * contrib/hbcurl/hbcurl.c ! HB_CURLOPT_SSL_VERIFYHOST option fixed to accept numeric value instead of bool. 2010-12-20 23:59 UTC+0100 Viktor Szakats * src/3rd/png/pngrio.c * src/3rd/png/pngconf.h * src/3rd/png/pngwtran.c * src/3rd/png/pngpread.c * src/3rd/png/pngset.c * src/3rd/png/LICENSE * src/3rd/png/pngrutil.c * src/3rd/png/pngwutil.c * src/3rd/png/pngread.c * src/3rd/png/png.c * src/3rd/png/pngget.c * src/3rd/png/png.h * src/3rd/png/pngpriv.h * src/3rd/png/pngrtran.c * src/3rd/png/Makefile * src/3rd/pcre/pcre.h * src/3rd/pcre/pcrevutf.c * src/3rd/pcre/pcreexec.c * src/3rd/pcre/pcreinal.h * src/3rd/pcre/pcredfa.c * src/3rd/pcre/pcrecomp.c * src/3rd/pcre/pcre.dif * src/3rd/pcre/config.h * src/3rd/pcre/pcreprni.h * src/3rd/pcre/pcrestud.c * src/3rd/pcre/Makefile + update pcre to 8.11, png to 1.4.5 changelogs: https://vcs.pcre.org/pcre/code/trunk/ChangeLog?revision=581&view=markup https://github.com/glennrp/libpng/blob/df68ef4d5e1fc90a4def8a52f87096a2d95d7530/ANNOUNCE build-tested in a couple of cross scenarios, looks ok. Patch from Tamas Tevesz. * contrib/hbtip/sendmail.prg % Minor. 2010-12-20 21:04 UTC+0100 Viktor Szakats * contrib/hbtip/sendmail.prg - Deleted debug line. 2010-12-20 21:00 UTC+0100 Viktor Szakats * contrib/hbtip/sendmail.prg + HB_SENDMAIL() function changed to contain only communication logic, mail payload assembly moved to new function: HB_MAILASSEMBLE( <cFrom>, <xTo>, <xCC>, <cBody>, <cSubject>, <aFiles>, <nPriority>, <lRead>, <cReplyTo>, <cCharset>, <cEncoding> ) -> <cString> This makes it easy to convert apps to use different mail sending backends like, e.g. hbcurl/libcurl. This separation makes it much easier to understand what the code does, and it makes it easier to fix/extend it. 2010-12-20 15:02 UTC+0100 Viktor Szakats * package/winuni/RELNOTES * contrib/hbcurl/hbcurl.c * contrib/hbcurl/hbcurl.ch + Added support for new features of libcurl 7.21.3 2010-12-17 14:33 UTC+0100 Viktor Szakats * package/winuni/RELNOTES * mysql update. * contrib/hbqt/qtcore/hbqt_pointer.cpp * contrib/hbqt/qtcore/hbqtcore.hbx + Added __HBQT_SETUTF8(): Practically enables turning off CP translation between Harbour and QT. Useful for far-east languages. Borrowed from HWGUI / Przemek. 2010-12-17 02:16 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/package/harbour.spec ! updated to work with new name of rddbm library 2010-12-17 02:00 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/cdpapi.c * removed dummy assignment * harbour/src/lang/msgpl852.c * harbour/src/lang/msgplmaz.c * harbour/src/lang/msgpliso.c * harbour/src/lang/msgplwin.c ! fixed one message translation * harbour/config/dos/watcom.mk * harbour/config/win/watcom.mk * harbour/config/linux/watcom.mk * harbour/config/os2/watcom.mk * disable explicitly some Open Watcom warnings in 3rd party code which we can safely ignore when HB_BUILD_WARN='no' * harbour/utils/hbmk2/hbmk2.prg * disable explicitly some Open Watcom warnings in 3rd party code which we can safely ignore when warning level is low 2010-12-15 10:42 UTC+0100 Viktor Szakats * ChangeLog ! Fixed TZ in my recent entry headers. 2010-12-15 09:29 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/package/mpkg_rpm_win.sh * synced MINGW cross compiler detection with global.mk 2010-12-15 01:52 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbssl/hbssl.c ! fixed HB_SSL_READ_ALL() and HB_SSL_READ_LINE() to not call hb_socketSelectRead() with wrong socket descriptors - it was causing GPF on some platforms * use SSL_get_rfd() instead of SSL_get_fd() to extract socket read descriptor 2010-12-12 23:12 UTC+0100 Viktor Szakats * contrib/hbssl/tests/encode.prg ! Fixed warning. 2010-12-12 22:09 UTC+0100 Viktor Szakats * contrib/hbexpat/hbexpat.hbc ! Minor correction for dynamic build. * INSTALL ! Typo in valgrind build config. 2010-12-12 11:50 UTC+0200 Petr Chornyj (myorg63 at mail.ru) * contrib/hblzf/3rd/liblzf/Changes * contrib/hblzf/3rd/liblzf/crc32.h * contrib/hblzf/3rd/liblzf/LICENSE * contrib/hblzf/3rd/liblzf/lzf.h * contrib/hblzf/3rd/liblzf/lzf_c.c * contrib/hblzf/3rd/liblzf/lzf_d.c * contrib/hblzf/3rd/liblzf/lzfP.h * contrib/hblzf/3rd/liblzf/README + Set svn:eol-style=native * contrib/hblzf/3rd/liblzf/lzf.hbc * contrib/hblzf/3rd/liblzf/lzf.hbp * contrib/hblzf/hblzf.c * contrib/hblzf/hblzf.hbc * contrib/hblzf/hblzf.hbp * contrib/hblzf/tests/hbmk.hbm * contrib/hblzf/tests/test.prg * contrib/hblzf/tests/test2.prg ! Fixed SVN ID (I hope) and set svn:eol-style=native 2010-12-12 00:56 UTC+0100 Viktor Szakats * contrib/hbqt/hbqt_hbmk2_plugin.hbs + Showing -v output (version string) of detected QT tools in -info mode. * contrib/make.hbs ! Typo. 2010-12-11 23:35 UTC+0100 Viktor Szakats * INSTALL + Added uncrustify to tool lists. 2010-12-11 23:31 UTC+0100 Viktor Szakats * examples/hbbtree/hb_btree.h * examples/hbbtree/hb_btree.c * Reformatted to Harbour standard using uncrustify tool. - examples/hbsqlit2 - Deleted. 2010-12-11 23:22 UTC+0100 Viktor Szakats * config/hbc.cfg + Enabled alignment of PP definitions. ! Tabs -> spaces. * contrib/hbmisc/spd.c * contrib/hbmisc/stringsx.c * Reformatted to Harbour standard using uncrustify tool. 2010-12-11 23:10 UTC+0100 Viktor Szakats * contrib/hblzf/hblzf.c % Removed unnecessary casts readded in last commit. hb_parns() returns HB_SIZE, so casting it to '( HB_SIZE )' adds nothing. * contrib/hbsqlit3/hbsqlit3.c * Reformatted to Harbour standard using uncrustify tool. 2010-12-11 22:55 UTC+0200 Petr Chornyj (myorg63 at mail.ru) * contrib/hblzf/hblzf.c ! Fixed the algorithm used in HB_LZF_COMPRESSBOUND(), HB_LZF_COMPRESS() + contrib/hblzf/tests/test2.prg + added yet another simple test for HB_LZF_[DE]COMPRESS() 2010-12-11 18:33 UTC+0100 Viktor Szakats * config/hbc.cfg + More adjustment for Harbour. * examples/gtwvw/wvwdraw.c * examples/gtwvw/wvwmenu.c * examples/gtwvw/gtwvw.c * examples/gtwvw/wvwstbar.c * examples/gtwvw/wvwcheck.c * examples/gtwvw/wvwfuncs.c * examples/gtwvw/wvwpush.c * examples/gtwvw/wvwedit.c * examples/gtwvw/wvwtbar.c ! Fixed wrongly encoded char in header. 2010-12-11 17:52 UTC+0100 Viktor Szakats * src/rtl/gtwin/gtwin.c + Attempt to enable HB_GTI_PALETTE support for MSVC 2005/2008 combined with Longhorn SDK. (also reverted prev change) Please retest in above environments, plus old MSVC and BCC 5.9. * config/hbc.cfg + More tweaks to make it Harbour-ready. 2010-12-11 16:17 UTC+0100 Viktor Szakats * src/rtl/gtwin/gtwin.c ! Disabled HB_GTI_PALETTE support for MSVC 2005/2008 versions combined with certain (older) SDK versions. The symptom is missing NDDI_* detection support, yet present CONSOLE_SCREEN_BUFFER_INFOEX structure. (Most pbly SDK 6.x. SDK 7.0a is fine) Thanks to Andi for the tests. * config/hbc.cfg + Few tweaks to make it more Harbour compliant. E.g. for hblzf.c it now generated perfect result. * contrib/hblzf/hblzf.c * contrib/hblzf/tests/test.prg ! Added missing EOL at EOF. ! Restored my formatting fixes from previous commits. ! Refixed wrong formatting. (for the ~5th time) - Deleted synonym added in previous commit. I suggest to write a few words of reasoning for changes not having obviously apparent reason. It's brand new lib, so we should decide about _one_ (the best) initial name and stick to it. Let's use synonyms if we later find out that we did some mistakes in the past, or other special occasion. 2010-12-11 14:50 UTC+0200 Petr Chornyj (myorg63 at mail.ru) * contrib/hblzf/hblzf.c * contrib/hblzf/tests/test.prg ! Changed syntax of HB_LZF_DECOMPRESS() to HB_LZF_DECOMPRESS( <cData>, [<nDstBufLen>|<@cBuffer>], [<@nResult>] ) => <cDecompressedData> or NIL on Error (suggested by Przemek) + Added HB_LZF_UNCOMPRESS() synonym for HB_LZF_DECOMPRESS() * contrib/hblzf/hblzf.ch + Added HB_LZF_DEFAULT_BUFFSIZE macro 2010-12-11 11:15 UTC+0100 Viktor Szakats * src/rtl/gtwin/gtwin.c + Added HB_GTI_PALETTE support to GTWIN for all non-msvc compilers. (solution is hackish so it may need revision as future non-msvc, non-watcom compiler versions implement this feature in their own WinAPI headers.) 2010-12-11 01:14 UTC+0100 Viktor Szakats * INSTALL + Minor detail to HB_BUILD_WINUNI. Moved its position towards end of option list. + Added some clarification to HB_BUILD_CONTRIB=no <...> option. * contrib/hbqt/hbqt_hbmk2_plugin.hbs + Added extra error message when .uic file is empty or unreadable. 2010-12-11 00:30 UTC+0100 Viktor Szakats * config/global.mk * config/rules.mk * contrib/hbpost.hbm * INSTALL + Renamed HB_BUILD_UNICODE to HB_BUILD_WINUNI. Reasons many-fold, first it makes it clear this is a Windows only setting, second it makes room for future UNICODE setting which may mean a native UNICODE Harbour HVM, third is to try to clear up the wide misunderstandings surrounding this setting (several users thought this will enable general UNICODE support in Harbour). + Extended/changed description of option HB_BUILD_WINUNI, explaining its purpose better, giving more precise details for WinCE builds and builds on Win9x/ME hosts. ; INCOMPATIBLE: If you use this setting, rename it on your system. Note1: You don't have to set this when doing WinCE builds (it's ignored). Note2: Try UNICOWS, instead of overriding this setting. It works. 2010-12-10 20:18 UTC+0100 Viktor Szakats * contrib/hblzf/tests/test.prg * contrib/hblzf/hblzf.c ! Turns out none of the LZF_[DE]COMPRESS() functions are pure wrappers. Readded HB_ prefix to both. 2010-12-10 15:14 UTC+0100 Viktor Szakats * contrib/hblzf/tests/test.prg * contrib/hblzf/hblzf.c * contrib/hblzf/hblzf.hbp + contrib/hblzf/hblzf.ch * Re-renamed HB_LZF_*() pure wrapper functions to LZF_*(). % Deleted unnecessary HB_SIZE casts. ! Fixed formatting to Harbour standard in new code. ! Added HB_ prefix to locally rolled macros. + Moved locally rolled macros to separate .ch file. ! Fixed test to use hblzf.ch instead of repeating macro definitions. ; FIXME: errno.h. Replace with HB_LZF_* values? [DONE] * tests/wvtext.prg ! Fixed -w3 warnings. 2010-12-10 15:30 UTC+0200 Petr Chornyj (myorg63 at mail.ru) * contrib/hblzf/hblzf.c * contrib/hblzf/tests/test.prg * Renamed LZF_COMPRESS() to HB_LZF_COMPRESS() ! Changed syntax of HB_LZF_COMPRESS() to HB_LZF_COMPRESS( <cData>, [<nDstBufLen>|<@cBuffer>], [<@nResult>] ) => <cCompressedData> or NIL on Error (suggested by Przemek) + Added HB_LZF_COMPRESSBOUND( <cData> | <nDataLen> ) -> <nMaxCompressLen> (suggested by Przemek) 2010-12-10 09:59 UTC+0100 Viktor Szakats * contrib/hblzf/hblzf.c ! Fixed against trying to allocate negative size. (it _will_ result in compile time warning. Don't report it) 2010-12-10 09:59 UTC+0100 Viktor Szakats * contrib/hblzf/hblzf.c ! Fixed against trying to allocate negative size. (it _will_ result in compile time warning. Don't report it) 2010-12-10 09:50 UTC+0100 Viktor Szakats * contrib/hblzf/hblzf.c * contrib/hblzf/tests/test.prg + Changed delta and buffer size settings to be extra parameters in compress/decompress calls instead of rolling separate setter/getters and storing them in TSD. 2010-12-10 09:08 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) - harbour/contrib/hbwin/oleinit.c * removed old OLE initialization and cleanup code which was working only for main thread * harbour/contrib/hbwin/axcore.c * harbour/contrib/hbwin/olecore.c * harbour/contrib/hbwin/hbwin.hbp * harbour/contrib/hbwin/hbolesrv.c * harbour/contrib/hbwin/legacyco.c + added new OLE init/exit code which is thread oriented WARNING: now OLE is initialized when thread executes first time one of Harbour OLE functions not at application startup. C code which uses OLE without calling any Harbour PRG level OLE function should initialize OLE for each thread calling hb_oleInit() - it's very fast function so it can be called without noticeable overhead. Please remember that such initialization should be done for each thread. Please test it - I do not have access to MS-Windows computer now so I cannot make any test myself. 2010-12-09 19:36 UTC+0100 Viktor Szakats * package/winuni/RELNOTES * INSTALL * QT updated to 4.7.1. 2010-12-09 15:34 UTC+0100 Viktor Szakats * contrib/hblzf/tests/test.prg * contrib/hblzf/hblzf.c * Changed HB_LZF_OPTIMIZED_FOR() to HB_LZF_OPTIMIZED_FOR_SPEED() and to return logical value. 2010-12-09 14:42 UTC+0100 Viktor Szakats * contrib/hblzf/hblzf.c % Deleted unnecessary assignment (fixing potential bcc warning) ! Fixed missing casts in allocations, breaking C++ mode (e.g. msvc) 2010-12-09 14:38 UTC+0100 Viktor Szakats * contrib/hblzf/hblzf.c ! Fixed for MT mode by moving static vars to TSD. 2010-12-09 13:37 UTC+0100 Viktor Szakats - contrib/3rd/sqlite3/sqlite3ext.h + contrib/3rd/sqlite3/sqlite3x.h - contrib/3rd/sqlite3/sqlite3.dif * contrib/3rd/sqlite3/sqlite3.hbp ! Fixed original source URL to point to new version. ! Fixed to rename newly added header with long filename to 8.3. And this pretty much defeats its whole purpose, and I can't see a reson to host this file in SVN, sincet the sole purpose of this locally hosted source is to serve as dependency for _Harbour sources_. Other non-Harbour sources should not use this source, therefore hosting sqlite3ext.h has no point until Harbour SVN itself needs it. (and in such case our own code should refer to it using short filename) ! Updated .dif, which means deletion, since sqlite team applied this patch. 2010-12-09 11:46 UTC+0100 Viktor Szakats * contrib/hblzf/hblzf.c * contrib/hblzf/tests/test.prg ! Rearranged to not have code after hb_err*() call. % Deleted HB_IS*() checks before hb_stor*() call. (unnecessary) ! Fixed formatting to comply with Harbour style. Pls don't reformat it with local style. + Added FIXME: eliminate static vars for MT compliance [DONE] + Added FIXME: eliminate reliance on errno.h, as it's not present on some systems. * Renamed HB_LZF_DECOMPRESS()/HB_LZF_COMPRESS() to not have HB_ prefix. (HB_ prefix is only needed for functions which are not strict wrappers) ! Fixed HB_LZF_DELTA(), HB_LZF_BUFFERSIZE() to only set settings when parameter was passed. To reset to default value: pass NIL. This makes it possible to read these values without resetting them. ! Fixed LZF_DECOMPRESS() to allocate space for termination byte, this also fixes allocating zero bytes when empty string is passed. * contrib/hblzf/hblzf.hbp * Minor formatting. * INSTALL ! Restored my latest change. Please ALWAYS update before commit. (and needless to say, work in local SVN sandbox, instead of copying in changes from elsewhere) 2010-12-09 12:10 UTC+0200 Petr Chornyj (myorg63 at mail.ru) * contrib/3rd/sqlite3/sqlite3.c * contrib/3rd/sqlite3/sqlite3.h * Update sqlite to 3.7.4. + contrib/3rd/sqlite3/sqlite3ext.h + Added sqlite3ext.h It's needed for some 3rd sqlite extension, e.g. ICU * contrib/3rd/sqlite3/sqlite3.hbp * Update sqlite to 3.7.4. + Added -cflag=-DSQLITE_ENABLE_COLUMN_METADATA * contrib/hbsqlit3/hbsqlit3.c + Added sqlite3_blob_reopen(), sqlite3_stmt_readonly() + sqlite3_enable_load_extension() function guarded with SQLITE_OMIT_LOAD_EXTENSION It's needed for some 3rd sqlite extension, e.g. SQLCIPHER for security reasons + contrib/hblzf + contrib/hblzf/3rd + contrib/hblzf/3rd/liblzf + contrib/hblzf/3rd/liblzf/Changes + contrib/hblzf/3rd/liblzf/crc32.h + contrib/hblzf/3rd/liblzf/LICENSE + contrib/hblzf/3rd/liblzf/lzf.h + contrib/hblzf/3rd/liblzf/lzf.hbc + contrib/hblzf/3rd/liblzf/lzf.hbp + contrib/hblzf/3rd/liblzf/lzf_c.c + contrib/hblzf/3rd/liblzf/lzf_d.c + contrib/hblzf/3rd/liblzf/lzfP.h + contrib/hblzf/3rd/liblzf/README + contrib/hblzf/hblzf.c + contrib/hblzf/hblzf.hbc + contrib/hblzf/hblzf.hbp + contrib/hblzf/tests + contrib/hblzf/tests/hbmk.hbm + contrib/hblzf/tests/test.prg + contrib/hbplist * contrib/hbplist * INSTALL + added wrapper to liblzf library (LZF compression). 2010-12-09 06:18 UTC+0100 Viktor Szakats * package/harbour.spec ! Fixed broken UTF8 chars after prev commit. (it was caused by Far Manager bug in latest stable release) 2010-12-09 06:09 UTC+0100 Viktor Szakats * package/harbour.spec * package/harbour-win.spec.in * package/harbour-wce.spec.in * include/hbver.h * config/global.mk + Changed version number to: 2.1.0beta3 (from 2.1.0beta2) * contrib/gtwvg/gtwvg.hbc ! Typo. * contrib/gtwvg/tests/wvgactivex.prg * Eliminated WITH OBJECT. Now Harbour doesn't use this statement except in test code. 2010-12-08 23:46 UTC+0100 Viktor Szakats * src/pp/hbpp.c * Bumped some more years. ! Fixed to $ Id $ in generated code. 2010-12-08 23:37 UTC+0100 Viktor Szakats * src/pp/hbpp.c * src/compiler/hbusage.c * contrib/hbnetio/utils/netiosrv.prg * contrib/hbide/idethemes.prg * utils/hbformat/hbformat.prg * utils/hbmk2/hbmk2.hu_HU.po * utils/hbmk2/hbmk2.prg * utils/hbi18n/hbi18n.prg * utils/hbtest/hbtest.prg * utils/hbrun/hbrun.prg * INSTALL * Bumped copyright year to 2011. * contrib/hbide/ideprojmanager.prg ! Fixed $ id $ in generated source. 2010-12-08 21:53 UTC+0100 Viktor Szakats * src/debug/debugger.prg * contrib/hbodbc/tests/odbccall.prg * contrib/hbblat/tests/blattest.prg * contrib/hbgd/gd.prg * contrib/hbtip/tests/tipmail.prg * examples/rddado/adordd.prg * examples/httpsrv/cgifunc.prg * Eliminated using WITH OBJECT. % Some optimizations, little fixes. * tests/omacro.prg * Formatting. 2010-12-08 12:20 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/compiler/complex.c ! fixed condition used in some seldom places to convert expressions inside square brackets [] to strings, i.e.: FOR EACH c IN [abc] ? c NEXT * keep Clipper restrictions for FUNCTION and PROCEDURE keywords covered by -kc switch 2010-12-06 22:53 UTC+0100 Viktor Szakats * contrib/hbhpdf/harupdf.ch + Added HPDF_PRINT_SCALING_NONE. 2010-12-06 19:57 UTC+0100 Viktor Szakats * contrib/hbhpdf/3rd/libhpdf/hpdfcons.h * contrib/hbhpdf/3rd/libhpdf/hpdfcata.c * contrib/hbhpdf/3rd/libhpdf/libhpdf.dif * contrib/hbhpdf/3rd/libhpdf/hpdfdoc.c * contrib/hbhpdf/3rd/libhpdf/libhpdf.hbp * contrib/hbhpdf/3rd/libhpdf/hpdf.h * contrib/hbhpdf/3rd/libhpdf/hpdfvers.h * Updated to 2.2.1 (from 2.2.0) ; Patch by Tamas. * ChangeLog ! Fixed previous entry header. 2010-12-06 18:05 UTC+0100 Viktor Szakats * utils/hbrun/hbrun.prg + Readded -I<selfdir> option. (partial revert of 2010-11-23 19:05 UTC+0100) 2010-12-05 12:15 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/tests/cpinfo.prg * small modification for non latin CPs having first lower letter before upper * keep signature for generated CP files as "$Id' + "$" to avoid automatic replacing by SVN 2010-12-05 10:51 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/codepage/cpcskamc.c * harbour/src/codepage/cpskkamc.c * replaced binary tables used to create CSKAMC and SKKAMC with human readable definition using HB_CDP_CSSORT_MIXED 2010-12-05 01:04 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapicdp.h * harbour/include/hbcdpreg.h * harbour/src/rtl/cdpapi.c * harbour/tests/cpinfo.prg + added support to define CPs using different letter case sorting in human readable form. Now it's possible to use: // uppers before lowers: ABCDE...abcde... #define HB_CP_CSSORT HB_CDP_CSSORT_UPLO // uppers and lowers are mixed: AaBbCcDdEe.... #define HB_CP_CSSORT HB_CDP_CSSORT_MIXED // ignore case #define HB_CP_CSSORT HB_CDP_CSSORT_IGNORE 2010-12-04 19:32 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/dbinfo.ch * harbour/src/rdd/dbfntx/dbfntx1.c * harbour/src/rdd/dbfnsx/dbfnsx1.c * harbour/src/rdd/dbfcdx/dbfcdx1.c + added DBOI_RESETPOS action which can be used to discard cached logical and raw position in all index files in given WA 2010-12-04 12:53 UTC+0100 Viktor Szakats * src/rtl/hbsocket.c ! Fixed typo breaking MS-DOS builds. 2010-12-02 21:42 UTC+0100 Viktor Szakats * src/rtl/hbinet.c * Do not set SO_EXCLUSIVEADDRUSE on Windows in HB_INETSERVER(), HB_INETDGRAMBIND() calls. ; NOTE: INET API is compatibility API, it's deprecated and not recommended. Use SOCKET API instead, where you have full control of above options and it's also much superior API. 2010-12-02 14:41 UTC+0100 Viktor Szakats * include/harbour.hbx * include/hbsocket.h * src/rtl/hbsocket.c * src/rtl/hbinet.c * src/rtl/hbsockhb.c + Added hb_socketSetExclusiveAddr() on .c level. + Added hb_socketSetExclusiveAddr() on .prg level. * hb_socketSetReuseAddr() cleaned from SO_EXCLUSIVEADDRUSE (Windows-only) logic. * Changed HB_INETSERVER(), HB_INETDGRAMBIND() to call hb_socketSetExclusiveAddr()(). We may delete these if they cause problems on some Windows platforms, though we must absolutely use this option (for security reasons) in every server component, if Windows host supports it. ; TODO: Call hb_socketSetExclusiveAddr() from hbnetio server, hbhttpd server. * include/hbcpage.hbx * src/codepage/Makefile + src/codepage/cpcs852c.c * src/codepage/cpsk852c.c - src/codepage/cpcskam.c + src/codepage/cpcskamc.c - src/codepage/cpskkam.c + src/codepage/cpskkamc.c ! Fixed SK852C to be fully Clipper compatible. (generated with cpinfo) ! Added Clipper compatible CS852C CP. (generated with cpinfo) * SK/CS Kamenicky CP moved to Clipper compatibility status. Updated to be Clipper compatible. (generated with cpinfo) INCOMPATIBLE. Pls update CP names if you used these. Thanks to Jaroslav Janik for the help. Please test all these. 2010-12-02 11:19 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/codepage/cpcs852.c * harbour/src/codepage/cpcskam.c * harbour/src/codepage/cpcsiso.c * harbour/src/codepage/cpcswin.c ! switched from HB_CDP_ACSORT_INTERLEAVED to HB_CDP_ACSORT_NONE in Czech code pages. * harbour/config/win/bcc.mk * disable explicitly some common BCC warnings in 3rd party code which we can safely ignore when HB_BUILD_WARN=no * harbour/utils/hbmk2/hbmk2.prg * disable explicitly some common BCC warnings which we can safely ignore when warning level is set to low * harbour/contrib/hbmisc/bbabble.c * removed unnecessary incrementation to pacify compile warning 2010-11-30 23:25 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rdd/dbfntx/dbfntx1.c * harbour/src/rdd/dbfnsx/dbfnsx1.c * harbour/src/rdd/dbfcdx/dbfcdx1.c ! fixed hb_cdpcmp() call used in indexing RDDs so it can work with CPs using digraphs 2010-11-30 08:37 UTC+0100 Viktor Szakats * src/rtl/hbsocket.c ! hb_socketSetReuseAddr() changed on win platforms to use SO_EXCLUSIVEADDRUSE instead of SO_REUSEADDR. See: https://msdn.microsoft.com/library/ms740621 Rough patch, maybe the logic isn't applied to the right place, maybe extra win version checks are required, please test it and patch it further if needed. * src/rtl/hbinet.c * s_inetBind() changed back to call hb_socketSetReuseAddr() also on win platforms. * contrib/hbwin/tests/testole.prg + Added shortcut creation example. * contrib/hbide/idemisc.prg ! Fixed HBIDE_PATHNORMALIZED() to _never_ lowercase passed filename. As discussed very long time ago, such behavior is not portable. For comparison purposes HB_FILEMATCH() should be used, for other purposes _no_ change should be done by hbide in filename casing. Ever. This is brute force fix only applied to low-level code. It will cause regressions on the higher-level, which have to be fixed. ; TODO: Delete this second parameter from all calls, now the value is ignored. ; FIXME: Review all HBIDE_PATHNORMALIZED() and HBIDE_PATHNORMALIZED( p, .T. ) calls if they are used in comparison context and change caller code to use HB_FILEMATCH(). ; FIXME: All current code which uses LOWER()/UPPER() to "normalize" filename before comparison with '==' operator should also be changed to HB_FILEMATCH(). (except for cases where extension is used in the sense of file type). ; FIXME: Rest of cases where LOWER()/UPPER() is applied to filenames. ! Fixed HBIDE_PATHFILE() to never uppercase drive letter. It's not strictly required since all so far known systems supporting drive letter are case insensitive, but it's nevertheless not the job of hbide to reformat pathnames. * contrib/hbide/ideactions.prg * contrib/hbide/idesaveload.prg * contrib/hbide/ideharbourhelp.prg * contrib/hbide/ideeditor.prg * contrib/hbide/ideprojmanager.prg * contrib/hbide/idesources.prg ! Fixed some code to use HB_FILEMATCH() instead of unconditional uppercasing/lowercasing. Please review and finish this modification, there might be more hidden places and might have overlooked anything in this patch. 2010-11-29 15:47 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/codepage/cpsk852.c * harbour/src/codepage/cpskiso.c ! fixed typo in CP declaration: HB_CDP_ACSORT_INTERLEAVED -> HB_CDP_ACSORT_NONE 2010-11-29 15:42 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/cdpapi.c ! fixed character sort weight calculation for digraphs 2010-11-28 20:36 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) - harbour/contrib/rddbm/bmdbfcdx.c - harbour/contrib/rddbm/bmdbfnsx.c - harbour/contrib/rddbm/bmdbfntx.c + harbour/contrib/rddbm/bmdbfx.c * created common code for all BMDBF* RDDs + harbour/contrib/rddbm/bmdbfcdx.prg + harbour/contrib/rddbm/bmdbfnsx.prg + harbour/contrib/rddbm/bmdbfntx.prg * harbour/contrib/rddbm/rddbm.hbp + added support for BMDBFCDX, BMDBFNTX, BMDBFNSX using common BMDBF* code 2010-11-28 17:57 UTC+0100 Viktor Szakats * contrib/rddbm/rddbm.hbp - Disabled ntx/nsx driver. It's not that simple. 2010-11-28 10:37 UTC+0100 Viktor Szakats + config/hbc.cfg + Added .c source formatter config file for uncrustify source code formatter, tailored to mimic Harbour C formatting style. https://uncrustify.sourceforge.io/ This tool looks very promising to save manual formatting time. (in our case it's useful for new code, existing code is mostly quite well formatted in most parts) ; WARNING: The config is currently at experimental stage (IOW it's not perfect), so don't use it to format any existing Harbour source, but you may try it with your local source which you want to submit or see how would it look in Harbour-style. * contrib/hbtip/url.prg ! Fixed to store passed url in :cAddress VAR. Like with most Harbour OOP code, this simple change may introduce hard-to-detect imcompatibility, so check your code. - contrib/rddbm/rddbmcdx.hbp + contrib/rddbm/rddbm.hbp - contrib/rddbm/rddbmcdx.hbc + contrib/rddbm/rddbm.hbc ! Renamed too. * src/codepage/cpsk852.c * src/codepage/cpskiso.c * src/codepage/cpskwin.c * Trying to add digraphs. (doesn't work here, but can't find out why) ; TODO: Update Kamenicky. (can't even do it with hb_translate(), as it's messed up the first time I edit it. [DONE] ; TODO: Apply final fixes to CS CPs. [DONE] * contrib/sddoci/sddoci.hbp + Added support for implib creation for win x64 targets. * package/winuni/RELNOTES * OCILIB version update. * contrib/rddbm/bmdbfcdx.c * contrib/hbhttpd/core.prg * contrib/hbhttpd/widgets.prg * Formatting. 2010-11-27 21:11 UTC+0100 Viktor Szakats * contrib/hbplist - contrib/rddbmcdx + contrib/rddbm * Renamed to have index driver agnostic name. 2010-11-27 21:09 UTC+0100 Viktor Szakats * contrib/rddbmcdx/rddbmcdx.hbp * contrib/rddbmcdx/bmdbfcdx.c + contrib/rddbmcdx/bmdbfnsx.c + contrib/rddbmcdx/bmdbfntx.c + Added BMDBFNTX and BMDBFNSX variants. 2010-11-27 20:49 UTC+0100 Viktor Szakats * config/global.mk ! HB_INSTALL_PREFIX now defaults to /opt/harbour (instead of /usr/local) on darwin systems. (not tested) /opt/local is for MacPorts, plus /opt/harbour is the location hardcoded into hbmk2 for .hbc autofind, so I opted for the latter. * contrib/hbhttpd/core.prg * Formatting. 2010-11-27 11:35 UTC+0100 Viktor Szakats * contrib/hbhttpd/core.prg * contrib/hbhttpd/tests/webapp.prg * contrib/hbhttpd/readme.txt * contrib/hbhttpd/widgets.prg ! Fixed RTE when trying to open a directory which is not a mount point. * Renamed server:aMount -> hMount * Formatting. * contrib/hbqt/qtgui/hbqt_hbqgraphicsitem.cpp ! HB_TR_ALWAYS -> HB_TR_DEBUG 2010-11-26 13:44 UTC+0100 Viktor Szakats * include/hbapi.h * src/common/hbver.c + Added hb_iswin2k3(). * src/rtl/hbsocket.c + Comment. ; FIXME: Use SO_EXCLUSIVEADDRUSE on Windows. See: https://msdn.microsoft.com/library/ms740621 - examples/udpds + contrib/hbmisc/tests/udpdstst.prg + contrib/hbmisc/udpds.prg * contrib/hbmisc/hbmisc.hbp + Moved UDPDS functions to hbmisc lib. Added hb_ prefix to names, plus formatted with hbformat. * contrib/hbhttpd/tests/webapp.prg * Formatting. ; Patch from Tamas: * config/bsd/gcc.mk * config/bsd/clang.mk * switch bsd to -fPIC, otherwise not even core builds (on 8.1/amd64) * while there, bring bsd/gcc.mk in line with linux/gcc.mk (now they are identical) * ditto for bsd/clang.mk * contrib/hbqt/hbqt_common.hbc * for hbqt, switch static supc++ to dynamic stdc++, otherwise dyn hbqt doesn't build. this is because on at least fbsd supc++ is apparently not pic; but switching from static supc++ to dynamic stdc++ easily fixes it. 2010-11-26 12:55 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rdd/dbf1.c * harbour/src/rdd/sdf1.c * harbour/src/rdd/delim1.c * harbour/src/rdd/dbffpt/dbffpt1.c * harbour/src/rdd/dbfntx/dbfntx1.c * harbour/src/rdd/dbfnsx/dbfnsx1.c * harbour/src/rdd/dbfcdx/dbfcdx1.c * harbour/contrib/rddads/adsx.c * harbour/contrib/rddbmcdx/bmdbfcdx.c * harbour/contrib/rddsql/sqlbase.c * harbour/contrib/rddsql/sqlmix.c * harbour/contrib/sddmy/sddmy.c * harbour/contrib/sddfb/sddfb.c * harbour/contrib/sddpg/sddpg.c * harbour/contrib/sddoci/sddoci.c * harbour/contrib/sddodbc/sddodbc.c * harbour/contrib/sddsqlt3/sddsqlt3.c * harbour/include/harbour.hbx * harbour/contrib/rddads/rddads.hbx * declare *_GETFUNCTABLE() functions as static - they do not have to be public C functions * simplified if possible RDD registration code and modified supper RDD request method so it's not stripped by compiler when hb_errInternal() function is declared with NORETURN attribute 2010-11-25 11:51 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/hbinet.c * restored old behavior of listen sockets used by hb_inet*() functions for non Windows platforms (SO_REUSEADDR) 2010-11-25 10:39 UTC+0100 Viktor Szakats * contrib/hbplist + Enabled new rddbmcdx. * contrib/rddbmcdx/bmdbfcdx.c ! Fixed typo in a pointer type. * contrib/hbmagic/hbmagic.ch ! Fixed to use hb_bitOr(). ; Patch from Tamas: * contrib/hbmagic/tests/hbmagit.prg + Added two more tests. * bin/hb3rdpat.hbs ! Fixed past patch/manual editing error. 2010-11-25 03:20 UTC+0100 Viktor Szakats + contrib/hbmisc/irm.c * contrib/hbmisc/hbmisc.hbp + Added IRM (Independent Record Map) API contributed and donated to public domain by Mindaugas. - IRMEXECUTE( aFilterTree ) --> pMap Condition array syntax: { operation, tag, bag, value } E.g.: IrmExecute( { "&", { "<=", "date",, 0d20100101 }, { "=", "place",, 12 } } ) - IRMMAPNEXT( pMap, @ulRecNo ) --> lFound - IRMMAPSKIP( pMap, @ulRecNo ) --> lFound - IRMMAPCOUNT( pMap ) --> nRecCount (function names may change in the recent future) + Added 'NO GUARANTEES" disclaimer on top. (pls refine it if needed) ! Some minor tweaks to compile with current Harbour. ! Casts for win64. * Changed to use Harbour types, and minor cleanups in variable scopes. % Added optimized bit counting to hb_irmMapCount(). (it was a TODO) Mindaugas, pls take a look at it and/or test it with real code. 2010-11-25 02:28 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) + harbour/contrib/rddbmcdx + harbour/contrib/rddbmcdx/rddbmcdx.hbp + harbour/contrib/rddbmcdx/rddbmcdx.hbc + harbour/contrib/rddbmcdx/bmdbfcdx.c + added new alternative BMDBFCDX implementation which respects RDD inheritance scheme and gives similar functionality and PRG functions as modified by Miguel Angel Marchuet <miguelangel@marchuet.net> DBFCDX with directly hardcoded bitmap filters. This code is completely new implementation and does not contain any code created by Miguel. This RDD inherits from DBFCDX so it's called BMDBFCDX anyhow it can inherit from any other RDDs so if users are interesting I can add also BMDBFNTX and BMDBFNSX. I haven't time of any deeper tests so please make them. 2010-11-24 19:47 UTC+0100 Viktor Szakats - contrib/rddbm * contrib/hbplist - Deleted rddbm (bmdbfcdx) RDD. It's broken beyond repair. Everyone interested pls visit this project: https://sourceforge.net/projects/bmdbfcdx/ * config/instsh.mk * Cleanup to if structure. 2010-11-24 18:52 UTC+0100 Maurilio Longo (maurilio.longo@libero.it) ! config/instsh.mk ! os2mkdir.exe and os2cp.exe need forward slashes as path separators. 2010-11-24 18:42 UTC+0100 Viktor Szakats * INSTALL + contrib/hbmagic + contrib/hbmagic/hbmagic.hbp + contrib/hbmagic/hbmagic.hbc + contrib/hbmagic/hbmagic.ch + contrib/hbmagic/hbmagic.c + contrib/hbmagic/hbmagis.prg + contrib/hbmagic/tests + contrib/hbmagic/tests/hbmk.hbm + contrib/hbmagic/tests/hbmagit.prg + Added wrapper for libmagic library. ; Many thanks to Tamas Tevesz for creating it (and making it so that it needed no extra tweaks to be SVN ready) * contrib/hbplist + Added hbmagic to contrib list. 2010-11-24 18:21 UTC+0100 Viktor Szakats * contrib/rddbm/hbrddbm.h * contrib/rddbm/bmdbfcdx.c + Brute force patching. Trying to make it build by any cost. Now it does. - Disabled wildseek related stuff, which was reaching deeply into cdx internals. (seems redundant now that core has this feature, though maybe this knows something extra?) - Commented (with non-ANSI comments) everything touching cdx tags. - Changed to use AREAP instead of CDXAREAP. - Changed to determine recno using official way instead of going deep into internal structure. - Some of these are for sure wrong. Maybe all. - Deleted core filter data replicated in BM specific structure. - Indention, formatting. 2010-11-24 18:20 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/fstemp.c * enabled mkstemp() usage in *nix OpenWatcom 1.8 and newer builds * harbour/src/rtl/hbsocket.c * disabled getpeername() and shutdown() usage in OpenWatcom *nix builds only for OpenWatcom <= 1.9 * harbour/src/rtl/diskspac.c * minor formatting * harbour/src/rtl/hbproces.c * enabled sysconf() hack only for OpenWatcom <= 1.9 * harbour/src/rtl/hbcom.c * disabled OpenWatcom *nix builds only for OpenWatcom <= 1.9 ; it's possible that above modifications will cause error if problems are not fixed in newer OpenWatcom releases but in such case we can simply change to OW number in #if condition. 2010-11-24 17:17 UTC+0100 Viktor Szakats * contrib/sddoci/sddoci.c ! Fix regression in 2010-10-13 19:33 UTC+0200. ; Please test. 2010-11-24 17:10 UTC+0100 Viktor Szakats * src/rdd/dbfntx/dbfntx1.c * src/rdd/dbfnsx/dbfnsx1.c * src/rdd/dbfcdx/dbfcdx1.c * src/rdd/dbffpt/dbffpt1.c ! Casts for msvc. 2010-11-24 16:55 UTC+0100 Viktor Szakats * contrib/hbhttpd/core.prg * contrib/hbhttpd/widgets.prg * contrib/hbhttpd/tests/webapp.prg + Added :bTrace block to server class. + Changed to use bTrace block for any trace output, meaning there is no explicit '?' command anymore in server lib. 2010-11-24 16:11 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fixed RTE in language file generation in some side cases, reported by Mindaugas. (not tested, pls do) 2010-11-24 15:42 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fixed typo causing not recognized -hbl (without parameter) resetting option. Thanks to Mindaugas for the find. * contrib/hbhttpd/core.prg ! Changed UErrorHandler() to not issue a BREAK, to avoid new Harbour compiler behavior making it impossible to close a PROCEDURE with RETURN. * contrib/hbhttpd/log.prg * Reworked a little bit. 2010-11-24 12:11 UTC+0100 Viktor Szakats - contrib/rddbmcdx + contrib/rddbm * Renamed. ; It's still a lie though. This is broken RDD now. If we won't have any contributor picking this up from this stage, this contrib will be moved to examples. 2010-11-24 12:08 UTC+0100 Viktor Szakats - contrib/rddbmcdx/rddbmcdx.hbp + contrib/rddbmcdx/rddbm.hbp - contrib/rddbmcdx/rddbmcdx.hbc + contrib/rddbmcdx/rddbm.hbc - contrib/rddbmcdx/hbbmcdx.h + contrib/rddbmcdx/hbrddbm.h * contrib/rddbmcdx/bmdbfcdx.c * Renaming to make it index-type agnostic. * Trying to hunt down "CDX" in source code. Huge quantity of them remain. * contrib/hbhttpd/core.prg ! Fixed unreachable code after BREAK. 2010-11-24 11:56 UTC+0100 Viktor Szakats * contrib/hbplist * contrib/rddbmcdx/bmdbfcdx.c * contrib/rddbmcdx/hbbmcdx.h - Deleted all redundant code from this RDD. Made some changes towards inheritance support, but I cannot continue from there and in its current form it doesn't build, due to interdependencies and other stuff which I don't understand. * Disabled this contrib. ; TODO: Rename it to rddbm. [DONE] 2010-11-24 11:23 UTC+0100 Viktor Szakats * src/rdd/dbfcdx/dbfcdx1.c + Added DBOI_TEMPLATE, DBOI_MULTIKEY related code from bmcdx. It's commented. * contrib/rddbmcdx/bmdbfcdx.c * Resynced with core. This also means that DBOI_TEMPLATE, DBOI_MULTIKEY are now commented here, too. - Deleted HB_BMCDXTURBO build-time "turbo" option. * Formatting/Indenting in patched areas. ; Now the patched areas can be clearly seen. 2010-11-24 11:07 UTC+0100 Viktor Szakats * contrib/rddbmcdx/bmdbfcdx.c * Synced with core. ; Also some formerly disputed features are synced. ; TODO: To remove the "turbo" feature from BMCDX, because it blocks the way from inheritance and its also an unsafe optimization, which can potentially corrupt databases, if not used with care (and I bet not many users know the exact definition of 'care') [DONE] ; QUESTION: What is DBOI_TEMPLATE, DBOI_MULTIKEY? They are suppored in BMCDX, but not in core. [DONE] * src/rdd/dbfnsx/dbfnsx1.c * src/rdd/dbfcdx/dbfcdx1.c * Added some casts. * contrib/hbhttpd/tests/webapp.prg - Deleted unused headers. * Using FIELD-> alias, instead of FIELD command. 2010-11-24 10:11 UTC+0100 Viktor Szakats * contrib/hbhttpd/hbhttpd.hbp + contrib/hbhttpd/log.prg + Added simple logger class. * contrib/hbhttpd/core.prg * contrib/hbhttpd/tests/webapp.prg + Changed logging. Now core provides callbacks for logging and doesn't do any logging on its own. * contrib/hbhttpd/widgets.prg * contrib/hbhttpd/tests/webapp.prg * Renamed one public function to have 'U' prefix. 2010-11-24 01:58 UTC+0100 Viktor Szakats - contrib/hbhttpd/umain.prg + contrib/hbhttpd/core.prg - contrib/hbhttpd/uhttpd2.hbp - contrib/hbhttpd/uwidgets.prg - contrib/hbhttpd/uhttpd2.hbc + contrib/hbhttpd/hbhttpd.hbp + contrib/hbhttpd/hbhttpd.hbc + contrib/hbhttpd/widgets.prg * contrib/hbhttpd/tests/hbmk.hbm * Renames. 2010-11-24 01:55 UTC+0100 Viktor Szakats * contrib/hbplist - examples/uhttpd2 + contrib/hbhttpd + Moved uhttpd2 to contrib area under the name hbhttpd. 2010-11-24 01:48 UTC+0100 Viktor Szakats * examples/uhttpd2/umain.prg * examples/uhttpd2/uhttpd2.hbp * examples/uhttpd2/uwidgets.prg - examples/uhttpd2/uhbext.prg * Formatting. * Cleanups. * examples/httpsrv/uhttpd.prg * Formatting. * doc/en/garbage.txt * Applied patch from Tamas. 2010-11-24 01:09 UTC+0100 Viktor Szakats * examples/uhttpd2/uhttpd2.hbp * Converted uhttpd2 core to a lib. + examples/uhttpd2/uhttpd2.hbc + Added .hbc file. * examples/uhttpd2/umain.prg * examples/uhttpd2/uwidgets.prg * examples/uhttpd2/uhbext.prg * examples/uhttpd2/app.prg * Formatted (with hbformat for the most part) * Minor cleanups. ! Fixed all -w3 warnings. + examples/uhttpd2/tests + examples/uhttpd2/tests/hbmk.hbm - examples/uhttpd2/carts.dbf - examples/uhttpd2/items.dbf - examples/uhttpd2/users.dbf + examples/uhttpd2/tests/carts.dbf + examples/uhttpd2/tests/items.dbf + examples/uhttpd2/tests/users.dbf - examples/uhttpd2/files + examples/uhttpd2/tests/files - examples/uhttpd2/app.prg + examples/uhttpd2/tests/webapp.prg + Added tests dir and moved app specific files there. 2010-11-23 23:58 UTC+0100 Viktor Szakats + contrib/hbposix/tests + contrib/hbposix/tests/hbmk.hbm + contrib/hbposix/tests/testpid.prg + Added test. 2010-11-23 19:05 UTC+0100 Viktor Szakats * utils/hbrun/hbrun.prg ! Do not process HB_INSTALL_INC to find external headers. This envvar is no longer supported and it only makes things more difficult now that hbrun has embedded headers. Also removed adding the host dir of input .hbs/.prg file as -I option (it's processed automatically by compiler). So now hbrun uses exactly the same rules as harbour compiler to find headers. 2010-11-23 18:10 UTC+0100 Viktor Szakats * contrib/hbplist + contrib/hbposix + contrib/hbposix/hbposix.hbp + contrib/hbposix/hbposix.hbc + contrib/hbposix/hbposix.c + Added POSIX_GETPID() (in new POSIX wrapper lib). 2010-11-23 17:52 UTC+0100 Viktor Szakats * contrib/hbwin/wapi_winbase.c + WAPI_GETCURRENTTHREADID(): Added. * contrib/sddmy/sddmy.c * contrib/sddodbc/sddodbc.c ! Indenting. * contrib/hbgd/gdwrp.c * contrib/hbgd/gd.prg * contrib/hbgd/gdchart.prg * contrib/hbgd/gdimage.prg - Deleted commented obsolete trace calls. ! Indenting. 2010-11-23 12:13 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbmzip/hbmzip.c * cleaned unnecessary variable initialization 2010-11-23 12:01 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rdd/dbfcdx/dbfcdx1.c ! fixed wrongly used SUPER_DELETED() instead of SELF_DELETED() * harbour/src/rdd/ordwldsk.c ! cleaned typo in error code used by OrdWildSeek() when wrong parameters are passed 2010-11-22 10:00 UTC+0100 Miguel Angel Marchuet <miguelangel@marchuet.net> * contrib/rddbmcdx/bmdbfcdx.c * contrib/rddbmcdx/hbbmcdx.h * Synchronized with current dbfcdx. * BMTurbo capabilitie can be activated with MACRODEFINE HB_BMCDXTURBO. 2010-11-22 03:32 UTC+0100 Viktor Szakats * contrib/hbgd/gd.ch * contrib/hbgd/hbgd.hbx * contrib/hbgd/gdwrp.c + Added HB_GD_VERSION( @maj, @min, @rel ) function to return GD version hbgd was built against. - Deleted GD2_VERS and GD2_ID constants. * contrib/hbgd/hbgd.hbx * contrib/hbgd/gdchart.prg * contrib/hbgd/gdbar.prg * contrib/hbgd/gdbarcod.prg * Indenting. * Some formatting. ! Replaced tabs with spaces. % Optimized out and deleted public function named ISINT(). Caller seems wrong BTW. 2010-11-22 03:00 UTC+0100 Viktor Szakats * contrib/hbodbc/odbc.c ! Variables renamed to reflext their real type. ! More type related cleanups. ! Fixed remaining cases where return buffers were not initialized to empty string. 2010-11-22 02:39 UTC+0100 Viktor Szakats * contrib/hbodbc/odbc.c ! Fixed remaining wrappers to not make decisions based on result returned by C level ODBC function, and always pass everything back as is. % Applied minor optimization as a result of above. ! Deprecated SQLEXECUTESCALAR() fixed to initialize buffer and length before calling C level ODBC function. ! Fixed one double assignment typo from prev commit. 2010-11-21 21:17 UTC+0100 Viktor Szakats * contrib/hbsqlit3/hdbcsqlt.prg * contrib/hbpgsql/hdbcpg.prg % Minor optimizations. ! Fixed RTEs by EXPORTing two object variables: TSQLTStatement:pRes (used from HDBC code) TSQLTResultSet:nRows I'm not sure this is right solution, e.g. one of them is used internally by HBODBC code. 2010-11-21 20:42 UTC+0100 Viktor Szakats * contrib/hbpgsql/postgres.c + Added PQPREPARE(), PQEXECPREPARED(). Based on code donated by Lorenzo Fiorini. Modified to compile with current Harbour, changed parameter handling and error checking, and changed to return GC collected result pointer. (I didn't make any tests, so pls do) * contrib/hbpgsql/hbpgsql.hbp - contrib/hbpgsql/pgrdd.prg - contrib/hbpgsql/tests/tstpgrdd.prg - Deleted experimental USRRDD for PGSQL. 2010-11-21 19:38 UTC+0100 Viktor Szakats * contrib/hbsqlit3/hbsqlit3.hbp + contrib/hbsqlit3/hdbcsqlt.prg + contrib/hbsqlit3/tests/hdbctest.prg * contrib/hbpgsql/hbpgsql.hbp + contrib/hbpgsql/hdbcpg.prg + contrib/hbpgsql/tests/hdbctest.prg + Added code posted by Lorenzo Fiorini. Many thanks for this contribution. It's JDBC-like classes to access PGSQL and SQLITE backends. + Cleanups to build in Harbour. + Added PROTECTED scope for all object variables. This cause at least one failure in sqlt. see FIXME section. + Changed to use PQconnectDB() instead of deprecated PQconnect() + Some formatting. ; FIXME: These hbpgsql functions are required, but they are not yet implemented in Harbour SVN: [DONE] PQPREPARE() PQEXECPREPARED() ; FIXME: Internal are accessing obj vars directly: [DONE - by simply exporting it, not necessarily good solution] Error BASE/42 Scope violation (protected): TSQLTSTATEMENT:PRES Called from TSQLTSTATEMENT:PRES(0) Called from TSQLTRESULTSET:NEW(0) Called from TSQLTSTATEMENT:EXECUTEQUERY(0) Called from MAIN(91) ; TODO: Delete PQRDD experimental RDD from hbpgsql. [DONE] ; TODO: Rename classes to begin with HDBC* [DONE] ; TODO: Somehow we should ensure the class layout doesn't deviate from a common standard. E.g. by inheritance, or I don't know if Harbour has something like interfaces in OOP. 2010-11-21 17:35 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/vm/thread.c * cover s_fThreadInit declaration by HB_MT_VM macro * harbour/src/rtl/hbsocket.c ! added missing const to 1st parameter of hb_inet_ntoa() 2010-11-21 15:56 UTC+0100 Viktor Szakats * contrib/hbgd/tests/tpoly.prg + Applied PI patch from Tamas. * contrib/hbgd/gd.ch ! Changed tabs to spaces. * Formatting. - Deleted GD_VERS which was not working and its wrong concept anyway. * contrib/hbgd/gdwrp.c ! Fixed to always define all wrappers regardless of GD version. * contrib/hbgd/gdimage.prg ! Deleted reliance on GD_VERS. 2010-11-21 13:53 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbcpage.hbx * harbour/src/codepage/Makefile + harbour/src/codepage/cpskkam.c * restored SKKAM CP - rebuilt automatically from SKISO using hb_translate() function. 2010-11-21 12:39 UTC+0100 Viktor Szakats * include/hbcpage.hbx - src/codepage/cpskkam.c * src/codepage/Makefile - Deleted SKKAM codepage. (I couldn't edit/view it anyways) 2010-11-21 12:36 UTC+0100 Viktor Szakats * contrib/hbodbc/odbc.c ! SQLEXECUTESCALAR() marked with HB_LEGACY_LEVEL3. Do no use this function. It's not a direct ODBC function wrapper and it internally calls SQLGetData with a fixed SQL_CHAR type, which is wrong. ! SQLGETDATA() fixed to default some parameters properly (so far it was checking for zero value instead of looking at Harbour type). Potentially incompatible change. ! SQLROWCOUNT() fixed to always return value by reference. (it's not wrapper's job to check success value and act anything depending on it). ; FIXME: There are some more wrappers which do that: SQLDESCRIBECOL(), SQLCOLATTRIBUTES(), SQLGETCONNECTATTR(), SQLGETSTMTATTR(). [DONE] % SQLROWCOUNT(), SQLGETINFO(), SQLNUMRESULTCOLS(), SQLCOLATTRIBUTE(): Minor optimization. ! SQLGETINFO(), SQLNUMRESULTCOLS(), SQLGETSTMTATTR(), SQLSETCONNECTATTR(), SQLGETCONNECTATTR(), SQLDESCRIBECOL(): Setting initial value to parameter retrieved by reference. ! SQLDESCRIBECOL(), SQLCOLATTRIBUTE(): fixed to not crash if wrong length is passed. * contrib/hbodbc/todbc.prg % TODBC:LoadData() got some minor optimizations. * TODBC:LoadData() changed to be able to retrieve fields with length of 256, instead of 64. This is still hack and should be fixed to retrieve full length. ! FIXME: TODBC:LoadData() to pull data in its original type instead of pulling everything as string, then trying to convert it back to original type. * src/rtl/dircmd.prg ! Typo in comment. 2010-11-21 00:20 UTC+0100 Viktor Szakats * include/hbcpage.hbx * src/codepage/Makefile + src/codepage/cpsk852c.c + Added Clipper compatible Slovak collation. * src/codepage/cpsk852.c * src/codepage/cpskkam.c * src/codepage/cpskiso.c * src/codepage/cpskwin.c ! Fixed Slovak collation. ; INCOMPATIBLE: All users using any of the above codepages will have to reindex. ; Thanks to Julius Bartal for sorting it out. 2010-11-20 21:31 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rdd/dbfntx/dbfntx1.c * harbour/src/rdd/dbfnsx/dbfnsx1.c * harbour/src/rdd/dbfcdx/dbfcdx1.c * harbour/contrib/rddads/ads1.c * casting cleanup * harbour/contrib/hbssl/ssl.c * use hb_itemGetWriteCL() instead of hb_itemUnShareString() ! do not allow to overwrite trailing 0 in string item - we have such code in FREAD() which uses hb_parcsize() instead of hb_parclen() but only for strict compatibility with CL5.x FREAD() function and it should not be replicated in any other code - strings without trailing 0 may cause GPF in some other code uisng [hb_]str*() C functions. 2010-11-20 19:08 UTC+0100 Viktor Szakats * contrib/hbgd/tests/tpoly.prg * Applied patch from Tamas. Nicer flakes! 2010-11-20 17:27 UTC+0100 Viktor Szakats * src/rtl/sha1.c * Settling back to original version of some lines. - contrib/hbgd/tests/tpoly.hbp - contrib/hbgd/tests/tpolyc.c - Using hbct functions with same name, so this is not needed. * contrib/hbgd/tests/tpoly.prg * Applied patch from Tamas. * Since final patch didn't apply I went on to rename static vars to have s_ prefix. * contrib/hbgd/tests/gdtest.prg * contrib/hbgd/tests/barms.prg * contrib/hbgd/tests/bartest.prg * contrib/hbgd/tests/gdtestcl.prg * contrib/hbgd/tests/tostring.prg * contrib/hbgd/tests/animgif.prg * contrib/hbgd/tests/testdpi.prg * contrib/hbgd/tests/test.prg * contrib/hbgd/tests/counter.prg * contrib/hbgd/tests/antialia.prg * Using hb_ps(). Patch from Tamas. 2010-11-20 13:22 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/sha1.c * cleaned casting to not drop canst attribute 2010-11-20 12:58 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/common/expropt2.c * casting 2010-11-20 12:14 UTC+0100 Viktor Szakats * src/rtl/sha1hmac.h * src/rtl/sha1hmac.c * src/rtl/hbsha1.c * src/rtl/hbsha1hm.c * src/rtl/sha1.c * src/rtl/sha1.h * Reverted previous two fix attempts (for the most part) and replaced it with patch posted by Przemek. This fixes low-level SHA1 code, and it's the efficient solution. 2010-11-20 11:28 UTC+0100 Viktor Szakats * src/rtl/sha1hmac.h * src/rtl/sha1hmac.c * src/rtl/hbsha1.c * src/rtl/hbsha1hm.c ! Futher fixes to 'const controversy' (which in my terms meant 'wrong usage of const'). Didn't make extensive tests (pls do) and this change makes SHA1 functions very inefficient for large input buffers. Either we should remove this, or find a proper implementation which doesn't tamper with the input buffer internally. Pls note that after these changes SHA1 functions will RTE if any input parameter is not string. + contrib/hbgd/tests/tpoly.hbp + contrib/hbgd/tests/tpoly.prg + contrib/hbgd/tests/tpolyc.c + Added GD sample submitted to the list by Tamas. (I converted tabs to spaces, rename a file, cleaned the hbp file, and changed to std SVN header format) 2010-11-19 14:49 UTC+0100 Viktor Szakats * src/rtl/sha1.c * src/rtl/sha1.h ! Fixed some const controversy and writing to read-only memory area. ; Please review me. 2010-11-19 15:20 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/contrib/rddads/ads1.c ! fixed varchar support for windows introduced in one of last commits ; Varchar is not working, if ADS is set to use "OEM charset support", because AdsGetFieldRaw() returns raw field data and maximum field length value is always returned. ADS_USE_OEM_TRANSLATION is actually ugly hack to solve some DOS/WIN codepage issues. I'm not sure what was the reason to introduce it. Sharing the same database between DOS and Windows app or what?... It would be nice if someone who need this setting will test and support logic in case of variable string, binary string, unicode string. 2010-11-19 12:38 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbdefs.h * harbour/src/rdd/dbfntx/dbfntx1.c * harbour/src/rdd/dbfnsx/dbfnsx1.c * harbour/src/rdd/dbfcdx/dbfcdx1.c * harbour/src/rdd/dbffpt/dbffpt1.c * harbour/contrib/hbct/token2.c * harbour/contrib/hbct/charsort.c * harbour/contrib/hbct/charop.c * harbour/contrib/hbct/pos1.c * harbour/contrib/hbct/token1.c * harbour/contrib/hbct/pack.c * harbour/contrib/hbct/range.c * harbour/contrib/sddmy/sddmy.c * harbour/contrib/xhb/hbcrypt.c * harbour/contrib/xhb/xhbsave.c * harbour/contrib/xhb/txtline.c * harbour/contrib/xhb/cstructc.c * harbour/contrib/hbmzip/hbmzip.c * harbour/contrib/sddsqlt3/sddsqlt3.c * cleaned const pointer casting 2010-11-19 11:10 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/ChangeLog * marked may last TODO note as DONE - thanks to Viktor and Mindaugas * harbour/include/hbmacro.h ! added missing const in hb_macroGenPCodeN() declaration * harbour/include/hbapi.h * added const to HB_CODEBLOCK.pCode * harbour/include/hbcompdf.h ! added missing const to HB_MACRO.string * harbour/src/pp/ppcore.c * harbour/src/common/hbstr.c * harbour/src/compiler/hbmain.c * harbour/src/compiler/hbfix.c * harbour/src/compiler/complex.c * harbour/src/compiler/hbdead.c * harbour/src/compiler/genc.c * harbour/src/compiler/hbident.c * harbour/src/compiler/gencc.c * harbour/src/compiler/hblbl.c * harbour/src/compiler/harbour.yyc * harbour/src/compiler/harbour.y * harbour/src/compiler/harbour.yyh * harbour/src/vm/macro.c * harbour/src/vm/codebloc.c * harbour/src/vm/itemapi.c * harbour/src/vm/hvm.c * harbour/src/rtl/hbjson.c * harbour/src/rtl/sha1.c * harbour/src/rtl/sha2hmac.c * harbour/src/rtl/hbsocket.c * harbour/src/rtl/hbbffnc.c * harbour/src/rtl/itemseri.c * harbour/src/rtl/filebuf.c * harbour/src/rtl/hbbfish.c * harbour/src/rtl/gttrm/gttrm.c * harbour/src/rdd/workarea.c * harbour/src/macro/macrolex.c * harbour/src/rdd/usrrdd/usrrdd.c * cleaned const pointer casting * harbour/src/rdd/usrrdd/usrrdd.c ! fixed very serious bug located during const pointer cleanup which should cause GPF on user code creating indexes * harbour/src/rtl/sha2.c * minor formatting ; FIXME: Seems that there is something wrong with src/rtl/sha1.c. Function SHA1_Transform() wrongly declares 2nd parameter buffer[64] as const when in fact it changes it what can be seen if BYTE64QUAD16 *block; is changed to: const BYTE64QUAD16 *block; This casting which removes const hides potentially very serious bug - modifying readonly memory area. SHA1_Transform() changes the buffer so the 2nd parameter must be declared without const. After such modification C compiler should warn when const buffers are passed to this function and such places should be fixed. In fact it seems to be only line 136: SHA1_Transform(context->state, &data[i]); Viktor can you look at it and fix the code? [DONE] 2010-11-18 20:15 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/include/harbour.hbx ! one more try to make correct .hbx file 2010-11-18 20:05 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/include/hbcpage.hbx ! HB_CODEPAGE_LT755 -> HB_CODEPAGE_LT775 * harbour/include/harbour.hbx + added hb_lpp*() 2010-11-18 15:00 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/include/Makefile * hbjson.h included * harbour/include/hbcpage.hbx * HB_CODEPAGE_LT775 included * harbour/ChangeLog ! fixed UTC offset for my ChangeLog entries 2010-11-18 14:42 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) + harbour/include/hbjson.h + added missing include file * harbour/include/hbjson.c * deleted comment line. It is no valid for current code * harbour/src/codepage/Makefile + harbour/src/codepage/cplt775.c + added Lithuanian CP-775 (DOS) codepage support * harbour/contrib/hbzebra/code39.c * removed unused commented code 2010-11-18 13:31 UTC+0100 Viktor Szakats * contrib/hbtip/sendmail.prg ! Fixed to not add 'Bcc:' entry to email headers, since this will reveal all the supposedly secret addresses to all addressees. It's interesting how such huge bug can persist for so long time without anyone noticing. Please test and correct if needed. * contrib/sddpg/sddpg.c + Recognizing OIDOID column type. Patch from Aleksander Czajczynski. * contrib/hbpgsql/postgres.c % Minor opt. 2010-11-18 12:49 UTC+0100 Viktor Szakats * contrib/hbtip/sendmail.prg * contrib/hbtip/mail.prg ! Fixed various ages-old bugs in recipient list handling. ; FIXME: BEWARE to all users. BCC is NOT actually blind in this implementation. If someone has an idea how to fix this bug, pls shout. [DONE] 2010-11-18 12:21 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbct/bitnum.c ! fixed && operator wrongly used instead of & in function NumMirr() * harbour/contrib/rddads/ads1.c * removed variable declaration which was hiding other one with the same name * harbour/src/rtl/hbdyn.c * harbour/src/rtl/gtsln/mousesln.c * harbour/src/rtl/gtsln/kbsln.c * harbour/tests/bldtest/bldtest.c ! added missing ( void ) to declarations of functions without parameters () 2010-11-18 10:43 UTC+0100 Viktor Szakats * contrib/sddpg/sddpg.c * contrib/hbpgsql/postgres.c ! Reverted previous fix because it didn't work on non-*nix platform. - Deleted FIXME comment, as apparently there is no better official way to get these macros. * contrib/hbpgsql/postgres.c + Added PQCONNECTDB() wrapper. Based on Tamas's patch, but implemented little bit differently. + Extended PQCONNECT() (now deprecated compatibility function) to be more flexible in accepting parameters and not create wrong low-level call if some of them are missing. Patch from Tamas, with my cleanups. * Marked PQCONNECT() wrapper with HB_LEGACY_LEVEL3. It's now deprecated. INCOMPATIBLE: Switch to PQCONNECTDB() ASAP. * contrib/hbpgsql/tests/async.prg * contrib/hbpgsql/tests/test.prg * contrib/hbpgsql/tests/stress.prg * contrib/hbpgsql/tpostgre.prg + Changed to use PQCONNECTDB() direct wrapper instead of PQCONNECT. 2010-11-17 21:59 UTC+0100 Viktor Szakats * src/common/hbver.c * Commented not-yet-implemented function hb_verHostCPU() * src/rtl/sha2.c ! Two local functions made static. 2010-11-17 21:11 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbpp.h ! removed repeated declaration of hb_pp_eof() * harbour/include/hbapicdp.h * harbour/include/hbapilng.h * harbour/include/hbgtcore.h * added extern declaration to HB_*_REQUEST() macros to pacify undeclared global functions warnings * harbour/include/hbstack.h ! added missing hb_stackDec() declaration * harbour/include/hbdefs.h ! added missing const in some endian macros * removed some unnecessary casting which may hide bugs in the code * harbour/include/hbapi.h ! removed repeated declaration of hb_strVal() * harbour/include/hbznet.h ! removed repeated declaration of hb_znetError() * harbour/include/hbcompdf.h * minor comment * harbour/src/vm/hvm.c ! added missing static to hb_vmTSVarClean() declaration * added extern hb_vmForceLink() declaration to pacify undeclared global functions warnings * harbour/src/vm/thread.c * make hb_threadInit() and hb_threadExit() internal HVM functions available only in MT mode * harbour/src/rtl/dates.c ! added missing static to hb_dateUnformatRaw() declaration * harbour/src/macro/macrolex.c * added extern hb_macro_yylex() declaration to pacify undeclared global functions warnings * harbour/src/rdd/workarea.c * added extern _hb_rddWorkAreaForceLink() declaration to pacify undeclared global functions warnings * harbour/src/compiler/complex.c * added extern hb_comp_yylex() declaration to pacify undeclared global functions warnings * harbour/contrib/hbnetio/netiocli.c ! added missing static to s_fileFlush() declaration * harbour/contrib/hbct/tempfile.prg ! respect in TmepFile() function default file attributes set by SetFCreate() * harbour/contrib/hbct/ctstrfil.h ! added missing declarations for ct_getfcreate() and ct_setfcreate() * harbour/contrib/hbwin/legacy.prg * removed dummy RETURN statement * harbour/contrib/xhb/fparse.c ! added missing static to hb_ParseLine() declaration * harbour/contrib/xhb/freadlin.c ! added missing static to hb_fsReadLine() declaration * harbour/contrib/xhb/txtline.c ! added missing static to hb_readLine() and hb_tabexpand() declarations ! fixed uninitialized variable warning exploited by above modification (static function was automatically inlined increasing optimizations) * harbour/contrib/xhb/hbserv.c ! removed repeated declaration of hb_isService() and hb_serviceExit() * harbour/contrib/xhb/cstructc.c * disabled public C functions hb_retclenAdoptRaw() and hb_retclenStatic() * harbour/contrib/xhb/xhbat.c * declare C function hb_AtSkipStrings() as static Warning: this functions is part of public xHarbour C API. ; TODO: The following functions are declared as public but without any prototypes in header files so they should be made static or we should add them to some header files: hbver.c:143: hb_verHostCPU() [DONE] hbjson.c:640: hb_jsonEncode() [DONE] hbjson.c:665: hb_jsonDecode() [DONE] sha2.c:228: sha256_transf() [DONE] sha2.c:445: sha512_transf() [DONE] I would like to ask authors to look at them and chose best solution. [DONE] 2010-11-17 18:07 UTC+0100 Viktor Szakats * contrib/hbpgsql/postgres.c + Switched to built-in versioning macro instead of rolling our own. (not tested) 2010-11-17 12:19 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbzebra/pdf417.c * harbour/contrib/hbzebra/code128.c * harbour/contrib/hbzebra/eanupc.c * harbour/contrib/hbzebra/code11.c * harbour/contrib/hbzebra/itf.c * harbour/contrib/hbzebra/datamtrx.c * harbour/contrib/hbzebra/code39.c * harbour/contrib/hbzebra/code93.c * harbour/contrib/hbzebra/codabar.c % added const to all static table declarations and updated code to use const pointers to them. Please remember that memory regions declared as const can be better optimized by compiler during compilation and on some machines also on runtime because can be located in readonly area which is cached in more efficient way. ! fixed some non const declarations for pure "..." strings 2010-11-17 12:03 UTC+0100 Viktor Szakats * examples/terminal/trm_srv.prg * examples/terminal/readme.txt ! Fixed to use localhost instead of IPV4 specific 127.0.0.1 ; Patches from Tamas: (Thanks a lot!) + debian/postinst + debian/postrm + make deb package run ldconfig when needed * contrib/hbfbird/tests/simple.prg * contrib/hbfbird/tests/test.prg * contrib/hbfbird/tests/stress.prg * Formatting, fixes, cleanup. ; FIXME: OOP layer in hbfbird. * contrib/sddpg/sddpg.c * contrib/hbpgsql/postgres.c ! Fixed postgres header situation. + contrib/hbgd/tests/test.prg * contrib/hbgd/gdwrp.c + Resolved TODO. + Added new test. 2010-11-16 10:29 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/xhb/xthrow.prg ! removed unreachable RETURN statement reported by extended BREAK() detection in compiler code * harbour/contrib/xhb/xhbmvinf.c * harbour/contrib/xhb/xhbscr.c * updated header comments * harbour/contrib/xhb/xhb.hbx * harbour/contrib/xhb/xhberr.prg + added xhb_ErrorNew() function which accepts xHarbour ErrorNew() parameters ! fixed xHarbour error handlers to work with Harbour error object which does not contain some local xHarbour extensions * harbour/contrib/xhb/stream.prg * harbour/contrib/xhb/xcstr.prg ! use xhb_ErrorNew() instead of ErrorNew() 2010-11-15 16:13 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/gtclip.c ! fixed bug in calculation of maximum unicode clipboard buffer size * harbour/src/compiler/complex.c ! recognize BREAK( [<exp>] ) as BREAK [<exp>] statement not function call - it enables some addiitonal compiler logic like warning for unreachable code, i.e.: proc main() break() ? "Hello World!!!" return * harbour/contrib/xhb/xhb.hbp * harbour/contrib/xhb/xhb.hbx + harbour/contrib/xhb/xhbmvinf.c + added __MVSYMBOLINFO() xHarbour compatible function * harbour/src/rdd/dbfntx/dbfntx1.c * harbour/src/rdd/dbfnsx/dbfnsx1.c * harbour/src/rdd/dbfcdx/dbfcdx1.c ! fixed INDEX ON ... command with USECURRENT clause to ignore active filter on internal GOTOP operation. Many thanks to Oleg for bug report and self contain code example illustrating the problem. 2010-11-14 14:18 UTC+0100 Viktor Szakats * contrib/hbhpdf/harupdf.ch * contrib/hbhpdf/harupdf.c + Added HPDF_PDFA_SETPDFACONFORMANCE(). Patch from Tamas. + Added HPDF_PDFA_GENERATEID(). 2010-11-13 19:56 UTC+0100 Viktor Szakats * contrib/hbzebra/tests/testhpdf.prg * Fixed wrong drawing of 2D barcodes (Mindaugas). * Using HPDF_Page_GetHeight() instead of hardcoded page height (Tamas). ! Delete .pdf before creating it. * Synced caller code with cairo test. * contrib/hbzebra/tests/testwin.prg ! Minor formatting. 2010-11-13 04:48 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/contrib/hbzebra/datamtrx.c + added support for full 0..255 range character encoding. We are still using ASCII encode mode only. 2010-11-13 04:28 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/contrib/hbzebra/datamtrx.c ! fixed typo 2010-11-13 00:58 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/contrib/hbzebra/datamtrx.c * harbour/contrib/hbzebra/pdf417.c * harbour/contrib/hbzebra/code128.c * attempt to pacify MSVC warnings 2010-11-12 23:41 UTC+0100 Viktor Szakats * contrib/hbzebra/pdf417.c * contrib/hbzebra/datamtrx.c ! Silenced msvc warnings. ; FIXME: These remaining ones: [DONE] ..\hbzebra\datamtrx.c(452) : warning C4309: '=' : truncation of constant value ..\hbzebra\pdf417.c(1230) : warning C4701: potentially uninitialized local variable 'coef' used ..\hbzebra\code128.c(265) : warning C4701: potentially uninitialized local variable 'iCodeSet' used * contrib/hbzebra/tests/testcair.prg * Synced with other tests to use SWITCH/CASE. * contrib/hbzebra/tests/testwin.prg * contrib/hbzebra/tests/testhpdf.prg + Added DATAMATRIX tests. Nice! 2010-11-13 00:05 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) + harbour/contrib/hbzebra/datamtrx.c * harbour/contrib/hbzebra/hbzebra.hbp * harbour/contrib/hbzebra/hbzebra.ch + added DataMatrix 2D barcode support ; implemented ASCII encoding only. This is enough for most real life applications, but it is only a minor part of available codeword encodings. I just unable to implement without docs. Reverse engineering of black and white dots take a lot of time for 2D barcodes, so I've dropped this idea. If someone has full ISO/IEC 16022:2006 specification, I can implement the rest. * harbour/contrib/hbzebra/tests/testcair.prg + added DataMatrix test ; Please, add it to other backend tests * harbour/contrib/hbzebra/core.c * changed bitbuffer logic a little * harbour/contrib/hbzebra/pdf417.c * comment added * small cleanup 2010-11-12 12:41 UTC+0100 Viktor Szakats * contrib/hbzebra/tests/testhpdf.prg ! Cleaned up output order. Patch thanks to Tamas. 2010-11-12 04:35 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/contrib/hbzebra/code39.c * harbour/contrib/hbzebra/eanupc.c ! fixed errors 2010-11-12 01:57 UTC+0100 Viktor Szakats * package/winuni/mpkg_win_uni.bat ! Fixed to install all .hbc files inside the contrib dir structure. This is needed because now they exist also under '3rd' dirs, referenced from contrib .hbc files. (lightly tested, will find out with next nightly) [It's OK] * contrib/hbzebra/hbzebra.hbc ! Deleted no more needed reference to hbcairo.hbc 2010-11-11 23:44 UTC+0100 Viktor Szakats * contrib/hbzebra/tests/testwin.prg * Trying to figure what's best way to round off coordinates to the stupid integers the winapi requires. Patch it further if you know better. * bin/hb3rdpat.hbs + Clarification to help text, by Tamas. 2010-11-11 22:44 UTC+0100 Viktor Szakats * contrib/hbzebra/coredraw.c + Added protection against NULL pCallback pointer. * contrib/hbzebra/tests/testwin.prg * contrib/hbzebra/tests/testcair.prg * contrib/hbzebra/tests/testhpdf.prg * Minor formatting. - contrib/hbzebra/d_cairo.c * contrib/hbzebra/hbzebra.hbp - Deleted cairo specific backend. 2010-11-11 23:05 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/contrib/hbzebra/coredraw.c ! added missing include * harbour/ChangeLog ! fixed error in previous commit log 2010-11-11 21:30 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/contrib/hbzebra/hbzebra.ch * harbour/contrib/hbzebra/hbzebra.h * harbour/contrib/hbzebra/hbzebra.hbp + harbour/contrib/hbzebra/pdf417.c + added two-dimensional PDF417 barcode support HB_ZEBRA_CREATE_PDF417( cData, [ nFlags ] [, nDataColumns ] ) --> hZebra ; This requires testing on real scanners. E.g., some internet online PDF417 decoders does not allow encoding mode switching from numeric to text. Though I see no reason to be this prohibited by specification. * harbour/contrib/hbzebra/coredraw.c + implemented 2D barcode drawing * changed argument error logic to generate RTE from Harbour level * harbour/contrib/hbzebra/testcair.prg * harbour/contrib/hbzebra/testhpdf.prg * harbour/contrib/hbzebra/testwin.prg * included new barcode into test samples 2010-11-10 22:47 UTC+0100 Viktor Szakats * contrib/hbwin/tests/testcom1.prg * contrib/hbwin/tests/testcom2.prg * contrib/hbwin/win_tcom.prg * contrib/hbwin/win_com.c ! Fixed samples to not query error value (since it RTEs if the port is not open) + WIN_COMISVALID( <nPort> ) -> <l> added to check if port number is a valid one. + WIN_COMERRORCLEAR( <nPort> ) added to clear last error. ! WIN_COMERROR() changed to not clear the error on read. + WIN_COM():ERROR() method added to retrieve last error in numeric form. * Samples changed to use :ERRORTEXT() to show errors. ; INCOMPATIBLE changes. ; DISCLAIMER: I'm not a user of this, so to raise your chances for a fix, pls submit patches. I also couldn't spend huge time to rethink the whole concept of these interfaces. IOW: Contribute. 2010-11-10 21:44 UTC+0100 Viktor Szakats * package/harbour.spec * package/harbour-win.spec.in * package/harbour-wce.spec.in + Converted to UTF8. (from cp1252 and KOI8) ; I didn't make any tests and nobody commented about this, hopefully it will work. Pls test it. 2010-11-10 18:50 UTC+0100 Viktor Szakats * contrib/hbzebra/hbzebra.hbp - contrib/hbzebra/d_gen.c + contrib/hbzebra/coredraw.c * Renamed. * contrib/hbzebra/tests/testhpdf.prg ! Fixed to use HPDF_PAGE_FILL(). * contrib/hbzebra/hbzebra.hbp - contrib/hbzebra/d_win.c - contrib/hbzebra/d_hpdf.c - Deleted specialized drawing backend from HBZEBRA. ; TODO: Delete also cairo backend. [DONE] 2010-11-10 18:21 UTC+0100 Viktor Szakats * contrib/hbzebra/code39.c ! Pacified remaining msvc warnings/error. Please review me & test. 2010-11-10 18:14 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Adjusted the way Harbour dynlib is calculated for cygwin, after making it a platform. + Added feedback when platform is redetected along compiler autodetection process. 2010-11-10 19:12 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/contrib/hbzebra/codabar.c * harbour/contrib/hbzebra/code11.c * harbour/contrib/hbzebra/code128.c * harbour/contrib/hbzebra/code39.c * harbour/contrib/hbzebra/code93.c * harbour/contrib/hbzebra/eanupc.c * harbour/contrib/hbzebra/itf.c * harbour/contrib/hbzebra/msi.c * pacified warning 2010-11-10 15:40 UTC+0100 Viktor Szakats * contrib/hbzebra/d_gen.c + Implemented C level callback interface. + .prg level codeblock callback interface reimplemented on above generic layer. ; So now there is a pure C level callback mechanism and the .prg level HB_ZEBRA_DRAW() builds upon this. * contrib/hbzebra/d_hpdf.c ! Silenced msvc warning. 2010-11-10 14:58 UTC+0100 Viktor Szakats * contrib/hbzebra/hbzebra.ch * contrib/hbzebra/hbzebra.hbp + contrib/hbzebra/d_gen.c + Added generic HB_ZEBRA_DRAW() drawing function. It needs a codeblock accepting x, y, width, height parameters. * contrib/hbzebra/tests/testcair.prg * contrib/hbzebra/tests/testhpdf.prg * contrib/hbzebra/tests/testwin.prg + Reimplemented using generic HB_ZEBRA_DRAW() function and simple callbacks. * contrib/hbzebra/hbzebra.ch + Added 'used by C code' note. 2010-11-10 13:08 UTC+0100 Viktor Szakats * contrib/hbzebra/hbzebra.hbp - contrib/hbzebra/cairo.c + contrib/hbzebra/d_cairo.c - contrib/hbzebra/tests/test1.prg + contrib/hbzebra/tests/testcair.prg * Renames. 2010-11-10 13:03 UTC+0100 Viktor Szakats * contrib/hbzebra/hbzebra.hbp + contrib/hbzebra/d_hpdf.c + contrib/hbzebra/d_win.c + contrib/hbzebra/tests/testhpdf.prg + contrib/hbzebra/tests/testwin.prg + Added Windows DC renderer + Added libharu renderer ; TODO: rework current rendering solution. Thinking about callback based solution, to give it a smoother layout. Current system has too much interdependencies and too much redundancy even in renderer "plugins". [DONE] * utils/hbmk2/hbmk2.prg + Readded PathNormalize() calls missed after prev modif. 2010-11-10 02:04 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Reworked logic calculating link contents (for -ln= options) ; Please test. * contrib/hbpost.hbm * Cygwin tweak for HB_BUILD_CONTRIB_DYN=yes mode, from Tamas. 2010-11-09 17:16 UTC+0100 Viktor Szakats * contrib/hbexpat/hbexpat.hbp ! Deleted reference to non-existing header. * contrib/hbzebra/hbzebra.hbp * My latest change formatted differently. * contrib/hbzebra/tests/test1.prg + Added SVN ID. 2010-11-09 18:00 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/contrib/hbzebra/code128.c * pacified warning 2010-11-09 16:39 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/vm/classes.c ! fixed typo: uiClass -> s_uiClasses * harbour/src/common/hbver.c ! fixed typo: missing ; 2010-11-09 15:13 UTC+0100 Viktor Szakats * contrib/hbplist + Enabled hbzebra. * contrib/hbzebra/hbzebra.hbp + Added optional cairo dependency. + Enabled cairo dependent components if cairo is detected. - Deleted hard-coded reference to cairo lib. + Adjusted reference to hbcairo.hbc. * contrib/hbzebra/itf.c * contrib/hbzebra/codabar.c * Silenced three warnings. ; FIXME: Remains one: [DONE] ../../../../../contrib/hbzebra/code128.c: In function 'hb_zebra_create_code128': ../../../../../contrib/hbzebra/code128.c:316:19: warning: suggest parentheses around '&&' within '||' * contrib/hbzebra/core.c ! Replaced hbcairo.h header reference with hbstack.h * contrib/hbzebra/cairo.c * contrib/hbzebra/hbzebra.hbc ! Added EOL at EOF. * Indenting. 2010-11-09 14:56 UTC+0100 Viktor Szakats * src/common/hbver.c + Added support for hb_iswin*() and HB_OSISWIN*() functions on MS-DOS platforms. Please test them. ; TODO: Detection of 2K and Vista isn't currently implemented, but can be added if someone knows how to detect them. 2010-11-09 15:20 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) + harbour/contrib/hbzebra + harbour/contrib/hbzebra/hbzebra.ch + harbour/contrib/hbzebra/hbzebra.h + harbour/contrib/hbzebra/core.c + harbour/contrib/hbzebra/codabar.c + harbour/contrib/hbzebra/code11.c + harbour/contrib/hbzebra/code128.c + harbour/contrib/hbzebra/code39.c + harbour/contrib/hbzebra/code93.c + harbour/contrib/hbzebra/eanupc.c + harbour/contrib/hbzebra/itf.c + harbour/contrib/hbzebra/msi.c + harbour/contrib/hbzebra/hbzebra.hbc + harbour/contrib/hbzebra/hbzebra.hbp + added barcode library. It supports these types of barcodes: EAN-13, EAN-8, UPC-A, UPC-E, Code 128, Code 93, Code 39, Code 11, Codabar, Interleave 2 of 5 (ITF), MSI. Library has both C and Harbour level API functions. GC pointers are used to store Zebra structures in Harbour items. Current impementation has Cairo draw backend only. Draw A different backends can be added Harbour level API: hb_zebra_create_<type>( cCode [, nFlags ] ) --> hZebra hb_zebra_destroy( hZebra ) hb_zebra_geterror( hCairo ) --> nError hb_zebra_getcode( hCairo ) --> cPrintableCode hb_zebra_draw_cairo( hZebra, hCairo, nX, nY, nLineWidth, nHeight [, nFlags ] ) --> hZebra + harbour/contrib/hbzebra/tests + harbour/contrib/hbzebra/tests/test1.prg + harbour/contrib/hbzebra/tests/hbmk.hbm + added test app to generate barcodes. Creates .pdf and .png output, uses Cairo backend to draw barcode ; TODO: (my todo list with low priority) - 2-digit and 5-digit supplemental barcodes for EAN13 - draw EAN, UPC barcode in native format - 2D barcode support [DONE] - PDF417 [DONE] ; If someone has real scanner it would be nice to do tests and get feedback. ; I guess I've implemented Code 128 encoding (code set selection, etc) that generates the optimal (shortest) barcode. If someone can find a sample of barcode that encodes the same data and is shorter than hbzebra's barcode, please inform me. ; Make system is not working and a requires to be fixed by someone! This library has properties that possibly could not be solved in current make implementation. It can have multiple draw backends: Cairo, Win32 GDI, GD, ASCII art, libharu, etc. These depends on system and installed packages. I do not know howto put all backends into the same hbzebra library. A separate library for each backend seems to be wasteful way to solve a problem, because draw backend implements only one function (a few more functions should be implemented to support EAN/UPC native draw, some 2D barcodes, but backend code size is small). 2010-11-09 13:52 UTC+0100 Viktor Szakats * contrib/hbqt/hbqt_hbmk2_plugin.hbs % Normalizing doc .txt filenames. * INSTALL * Made TDM again the recommended mingw compiler, as apparently official version 4.5.0-1 has a random crash bug (in dbfnsx.c usually). WARNING: TDM 4.5.1 has another bug, which prevent it from working, so stick with 4.5.0, DWARF2 build recommended. WARNING2: TDM 4.5.0 installation might be tricky. Read devel list. * contrib/hbhpdf/harupdf.c ! More fixes by Saulius Zrelskis, in recently added libharu wrappers. * package/winuni/RELNOTES * Updated C compiler name. 2010-11-09 12:52 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbexpat/hbexpatc.c * harbour/contrib/hbexpat/hbexpatp.prg * harbour/contrib/hbexpat/hbexpat.hbp * harbour/contrib/hbexpat/hbexpat.ch * harbour/contrib/hbexpat/hbexpat.hbc * harbour/contrib/hbexpat/hbexpat.c * harbour/contrib/hbqt/tests/testres.prg * harbour/contrib/hbqt/qtuitools/hbqtuitools.hbm * harbour/contrib/hbqt/qtuitools/hbqtuitools.hbp * harbour/contrib/hbqt/qtuitools/hbqtuitools.hbc ! fixed hardcoded CRLF EOLs and set svn:eol-style=native * harbour/contrib/xhb/xhbarrex.c * harbour/contrib/hbexpat/hbexpatc.c * harbour/contrib/hbexpat/hbexpatp.prg * harbour/contrib/hbexpat/hbexpat.hbp * harbour/contrib/hbexpat/hbexpat.ch * harbour/contrib/hbexpat/hbexpat.hbc * harbour/contrib/hbexpat/hbexpat.c * harbour/contrib/hbqt/qtgui/hbqt_hbqabstractitemmodel.cpp * harbour/contrib/hbqt/qtgui/hbqt_init.cpp * harbour/contrib/hbqt/qtgui/hbqt_hbqabstractitemmodel.h * harbour/contrib/hbqt/qtgui/hbqt_hbqgraphicsscene.cpp * harbour/contrib/hbqt/qtgui/hbqt_hbqgraphicsitem.cpp * harbour/contrib/hbqt/qtgui/hbqt_hbqgraphicsscene.h * harbour/contrib/hbqt/qtgui/hbqt_hbqgraphicsitem.h * harbour/contrib/hbqt/qtwebkit/hbqtwebkit.hbm * harbour/contrib/hbqt/qtwebkit/hbqtwebkit.hbp * harbour/contrib/hbqt/qtcore/hbqt_hbqstring.cpp * harbour/contrib/hbqt/qtcore/hbqt_init.cpp * harbour/contrib/hbqt/qtcore/hbqt_hbqstring.h * harbour/contrib/hbqt/qtnetwork/hbqt_init.cpp * harbour/contrib/hbqt/tests/testres.prg * harbour/contrib/hbqt/tests/wvtqt.hbp * harbour/contrib/hbqt/tests/wvtqt.prg * harbour/contrib/hbqt/qtuitools/hbqtuitools.hbm * harbour/contrib/hbqt/qtuitools/hbqtuitools.hbp * harbour/contrib/hbqt/qtuitools/hbqtuitools.hbc * harbour/contrib/hbqt/qtdesigner/hbqtdesigner.hbm * harbour/contrib/hbqt/qtdesigner/hbqtdesigner.hbp * harbour/contrib/hbfship/fldarr.prg * harbour/contrib/hbfship/isbegseq.c * harbour/contrib/hbfship/isfunc.c * harbour/contrib/hbfship/isdb.prg * harbour/contrib/hbfship/flddeci.c * set svn:keywords="Author Date Id Revision" 2010-11-09 11:14 UTC+0100 Viktor Szakats * contrib/hbhpdf/harupdf.c ! Applied patch from Saulius Zrelskis, fixing non-uppercased HB_FUNC names in newly added wrapper functions. 2010-11-09 10:47 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rdd/sdf1.c ! fixed bug in SDF import procedure - many thanks to Enrico Maria Giordano for reporting the problem and to Vicente Guerra for locating the reason BTW fix committed to xHarbour may work but it's not correct, I suggest to update it. * harbour/src/rtl/hbdyn.c * harbour/src/rtl/hbsocket.c * harbour/src/rdd/dbfnsx/dbfnsx1.c * harbour/src/rdd/dbfcdx/dbfcdx1.c * harbour/src/rdd/dbffpt/dbffpt1.c * harbour/contrib/hbct/bitnum.c * harbour/contrib/hbwin/olecore.c * pacified some of MSVC6 warnings reported by Andi * harbour/utils/Makefile * added internal/developers build switch 2010-11-09 10:01 UTC+0100 Viktor Szakats * src/rtl/hbdyn.c ! Added casts to silence msvc6 warnings. 2010-11-09 02:27 UTC+0100 Viktor Szakats * contrib/hbqt/hbqt_hbmk2_plugin.hbs - Deleted debug lines. * contrib/hbqt/qtwebkit/hbqtwebkit.hbm * contrib/hbqt/hbqt_common.hbm + Added -deppkgname= to dependency checks. * config/global.mk * config/cygwin/gcc.mk * minor cygwin dyn fixes From Tamas. 2010-11-09 01:40 UTC+0100 Viktor Szakats + contrib/hbexpat/3rd/expat/expat.dif * contrib/hbexpat/3rd/expat/expat.hbp + Added .dif file. * contrib/hbhpdf/3rd/libhpdf/libhpdf.dif * Updated .dif file. ; NOTE: Previous failures were caused by .hbs extension being associated with hbrun and I relied on this when running hb3rdpat.hbs. It wouldn't work this way, and I experienced various unexpected behavior in such case with other scripts too in the past. So moral of the story, always use 'hbrun <name>.hbs', at least on Windows. 2010-11-09 01:17 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/Makefile % small optimization in concurrent build (-j GNU make switch) dependency 2010-11-08 23:37 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbcompdf.h * harbour/include/hbexprb.c * harbour/src/common/expropt1.c + added protection against pushing series of parameters on HVM stack by hb_arrayToParams() function used in wrong contects, i.e.: var := hb_arrayToParams( { 1, 2, 3 } ) Possible TODO: add compile time warning in such case. * harbour/contrib/hbexpat/3rd/expat/_hbconf.h * harbour/contrib/hbexpat/3rd/expat/expat.hbp * harbour/contrib/hbexpat/3rd/expat/xmltok.c * harbour/contrib/hbexpat/3rd/expat/xmlrole.c * harbour/contrib/hbexpat/3rd/expat/xmlparse.c * updated to define endian setting using information from hbdefs.h * harbour/contrib/hbexpat/3rd/expat/xmltok.c ! added missing members in structure initializations 2010-11-08 22:28 UTC+0100 Viktor Szakats * contrib/hbexpat/3rd/expat/expat.hbp + *nix support. * contrib/hbqt/qtwebkit/hbqtwebkit.hbm * contrib/hbqt/hbqt_common.hbm + bsd support. ; Along the patch by Tamas. 2010-11-08 12:40 UTC+0100 Viktor Szakats * contrib/hbhpdf/3rd/libhpdf/libhpdf.hbp ! Fixed to enable win-specific dynamic lib related option only on win platform. * doc/xhb-diff.txt ! Minor typo. 2010-11-08 12:20 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/xhb/xhb.hbp * harbour/contrib/xhb/xhb.hbx + harbour/contrib/xhb/xhbarrex.c + added ASIZEALLOC(), ALENALLOC() xHarbour functions In Harbour they are in practice useless because we are using dynamic array preallocation not static one as in xHarbour. * harbour/doc/xhb-diff.txt + added information about HB_ARRAYTOPARAMS() function 2010-11-08 11:17 UTC+0100 Viktor Szakats * contrib/hbqt/hbqt_hbmk2_plugin.hbs ! Do not apply HB_QTPOSTFIX to rcc tool. * utils/hbmk2/hbmk2.prg + Added two potential FIXMEs. I'd be grateful is something could get to the end of them. 2010-11-08 01:38 UTC+0100 Viktor Szakats * contrib/hbmysql/hbmysql.hbp * contrib/gtalleg/gtalleg.hbm * contrib/sddmy/sddmy.hbp * contrib/hbodbc/hbodbc.hbp * contrib/sddfb/sddfb.hbp * contrib/hbsqlit3/hbsqlit3.hbp * contrib/hbmzip/hbmzip.hbp * contrib/hbmzip/3rd/minizip/minizip.hbp * contrib/hbexpat/hbexpat.hbp * contrib/hbqt/hbqt_common.hbm * contrib/hbfbird/hbfbird.hbp * contrib/sddpg/sddpg.hbp * contrib/hbbz2/hbbz2.hbp * contrib/hbcurl/hbcurl.hbm * contrib/hbcups/hbcups.hbp * contrib/hbhpdf/hbhpdf.hbp * contrib/hbhpdf/3rd/libhpdf/libhpdf.hbp * contrib/hbpgsql/hbpgsql.hbp * contrib/sddsqlt3/sddsqlt3.hbp * contrib/hbfimage/hbfimage.hbp * contrib/sddodbc/sddodbc.hbp * contrib/hbgd/hbgd.hbp * contrib/sddoci/sddoci.hbp * contrib/hbcairo/hbcairo.hbp * contrib/hbwin/hbwin.hbp * contrib/hbssl/hbssl.hbm * config/detfun.mk * config/global.mk * INSTALL * HB_BUILD_EXTDEF -> HB_BUILD_3RDEXT 2010-11-08 01:28 UTC+0100 Viktor Szakats * package/harbour.spec ! Fixed messed accents. ; QUESTION: Can we switch this file to UTF-8? It contains translations to multiple different languages, so current state is already not very optimal. Anyone? [NO ANSWER - going on with UTF8 convert] * ChangeLog + Added TODO to prev. (HB_BUILD_EXTDEF -> HB_BUILD_3RDEXT) 2010-11-08 01:23 UTC+0100 Viktor Szakats * utils/hbmk2/examples/contrib.hbc * utils/hbmk2/hbmk2.prg * config/detfun.mk * config/detect.mk * INSTALL * Terminology cleanup: "external code" -> "3rd party code" ; TODO: Rename HB_BUILD_EXTDEF to something other, like HB_BUILD_3RDEXT. [DONE] - bin/hbxpatch.hbs + bin/hb3rdpat.hbs * config/postinst.hbs * package/harbour.spec * Renamed hbxpatch.hbs to hb3rdpat.hbs to reflect terminology cleanup ("external code" -> "3rd party code") * utils/hbmk2/examples/contrib.hbc * utils/hbmk2/examples/contribf.hbc * utils/hbmk2/examples/oohg.hbc * Using .hbc files. * contrib/hbssl/ssl.c + SSL_GET_READ_AHEAD() function enabled. Made it a dummy for bcc, where it for some reason creates unresolved external when referencing the corresponding openssl API. 2010-11-07 20:28 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + HB_HAS_<name> hbmk2 macro is now defined, in case a given dependency gets detected. + HB_HAS_<name>_LOCAL hbmk2 macro is now defined, in case a given dependency gets detected on a local path. + Added -depfinish=<name> option which will tell hbmk2 to not expect any more <name> related dependency information, and do the detection right there while processing options. Combined with above macros, now it's possible to use filters based dependency detection results. * contrib/hbsqlit3/hbsqlit3.hbp * contrib/hbmzip/hbmzip.hbp * contrib/hbexpat/hbexpat.hbp * contrib/hbbz2/hbbz2.hbp * contrib/hbhpdf/hbhpdf.hbp * contrib/sddsqlt3/sddsqlt3.hbp + By using above hbmk2 feature, now the locally hosted dependency won't be referenced (and thus won't be built) if the dependency is detected on a user supplied or system path. This effectively restores previous behavior (before moving 3rd party libs to hbmk2 build system / contrib area), and e.g. if a Linux user has sqlite3 installed as a system package, the locally hosted version won't be built. * contrib/hbexpat/3rd/expat/expat.hbp * expat locally hosted sources are now not excluded from *nix builds, and they will be used if it's not installed as a system package. 2010-11-07 18:36 UTC+0100 Viktor Szakats * contrib/make.hbs - Deleted completed TODO. * contrib/hbhpdf/hbhpdf.hbp ! Updated libharu source location after latest changes. 2010-11-07 18:28 UTC+0100 Viktor Szakats - external - Deleted. 2010-11-07 18:15 UTC+0100 Viktor Szakats - external/zlib - external/png - external/jpeg - external/hbpmcom - external/pcre - external/Makefile + src/3rd + src/3rd/zlib * src/3rd/zlib/Makefile + src/3rd/png * src/3rd/png/Makefile + src/3rd/hbpmcom * src/3rd/hbpmcom/Makefile + src/3rd/jpeg * src/3rd/jpeg/Makefile + src/3rd/pcre * src/3rd/pcre/Makefile + src/3rd/Makefile * Moved /external to /src/3rd ; This way all core components reside in core. ; NOTE: png, jpeg are not referenced by core components, so they may be moved to contrib area in the future. * config/detect.mk * Makefile * src/Makefile * src/rtl/hbcom.c * contrib/hbmzip/hbmzip.hbp * contrib/hbmzip/3rd/minizip/minizip.hbp * contrib/hbhpdf/hbhpdf.hbp * contrib/hbhpdf/3rd/libhpdf/libhpdf.hbp * contrib/hbwin/hbwin.hbp * Updated to reflect above change. ; NOTE: Now -j builds can be optimized to better overlap with 3rd component builds. Please do it in src/Makefile. * contrib/hbplist * Updated. * contrib/hbhpdf/3rd/libhpdf/hpdf.h ! Restored original line ending whitespaces. 2010-11-07 17:25 UTC+0100 Viktor Szakats - contrib/hbbz2/3rd/bz2/Makefile - Deleted. 2010-11-07 17:24 UTC+0100 Viktor Szakats * contrib/hbbz2/hbbz2.hbp * contrib/hbbz2/hbbz2.hbc * Modified for new 3rd source location. * external/Makefile - external/bzip2 + contrib/hbbz2/3rd + contrib/hbbz2/3rd/bz2 - contrib/hbbz2/3rd/bz2/bzip2.hbc + contrib/hbbz2/3rd/bz2/bz2.hbc - contrib/hbbz2/3rd/bz2/bzip2.hbp + contrib/hbbz2/3rd/bz2/bz2.hbp * Moved to contrib local dir. * Renamed to bz2 to match lib name. - contrib/hbhpdf/3rd/libhpdf/Makefile - Deleted. 2010-11-07 17:12 UTC+0100 Viktor Szakats * contrib/hbhpdf/hbhpdf.hbp * contrib/hbhpdf/hbhpdf.hbc * Modified for new 3rd source location. * contrib/hbexpat/3rd/expat/expat.hbc ! Fixed for 'HB_BUILD_CONTRIB_DYN=yes' * external/Makefile - external/libhpdf + contrib/hbhpdf/3rd + contrib/hbhpdf/3rd/libhpdf * contrib/hbhpdf/3rd/libhpdf/libhpdf.hbc * contrib/hbhpdf/3rd/libhpdf/libhpdf.hbp * Moved to contrib local dir. + Added support for 'HB_BUILD_CONTRIB_DYN=yes' * contrib/hbhpdf/3rd/libhpdf/hpdf.h ! Fixed for dynamic build. ; TODO: Regenerate .dif. For me it restored original copy for some reason :( [DONE] * contrib/hbsqlit3/hbsqlit3.hbc * contrib/sddsqlt3/sddsqlt3.hbc * Using .hbc file for 3rd party lib. * contrib/3rd/sqlite3/sqlite3.hbp * contrib/hbhpdf/3rd/libhpdf/libhpdf.hbp * contrib/hbmzip/3rd/minizip/minizip.hbp * contrib/hbexpat/3rd/expat/expat.hbp ! Changed -warn=no to -warn=low, which is equivalent to 'HB_BUILD_WARN := no' in Makefile. 2010-11-07 16:03 UTC+0100 Viktor Szakats - external/sqlite3 * Wrestle with svn and its bl$dy tree conflicts. 2010-11-07 15:58 UTC+0100 Viktor Szakats * src/rtl/version.c + HB_VERSION( HB_VERSION_PLATFORM ) changed to use hb_verPlatformMacro(). This means it will now supported recently added platforms. ; NOTE: For consistency, __PLATFORM__WINDOWS should pbly be changed to __PLATFORM__WIN, and __PLATFORM__WINCE to __PLATFORM__WCE. * utils/hbmk2/hbmk2.prg + Added HB_HOST_PLAT macro, returning: hb_Version( HB_VERSION_PLATFORM ) + Added HB_HOST_PLAT_UNIX macro. ! Fixed cygwin to be detected as cross target platform. ! Few cygwin related FIXMEs cleared. * external/Makefile - external/sqlite3 + contrib/3rd + contrib/3rd/sqlite3 * contrib/3rd/sqlite3/sqlite3.hbc + contrib/3rd/sqlite3/sqlite3.hbp - contrib/3rd/sqlite3/Makefile * Moved sqlite3 foreign code to contrib/3rd dir from global 3rd party code dir. + Migrated remaining platform tweaks from Makefile to sqlite3.hbp Bumps are expected, pls test. * contrib/hbsqlit3/hbsqlit3.hbp * contrib/sddsqlt3/sddsqlt3.hbp * Changed sqlite3 position. + Added sqlite3 reference. ; Please note that after above changes sqlite3 will only be built if required. * src/common/hbver.c * Formatting. 2010-11-07 13:49 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg * Changed the way target selection (-hblib, -hbdyn*, -hbexe, etc) options are handled. So far the last one specified remained active, now the first one specified will stay active. IOW: 'hbmk2 -hbdyn mylib.hbp' will result in dynamic lib target, even if mylib.hbp contains -hblib option. ; Beware of some regressions or incompatibility with certain build configs. * contrib/hbpost.hbm * contrib/hbpre.hbm * Moved -hbdyn option to hbpre.hbm. This makes it possible for .hbp files to act differently when built as dynamic lib. ; Such will be required for * external/libhpdf/libhpdf.hbp * Cleared FIXME after above changes. * contrib/hbplist * contrib/hbmzip/hbmzip.hbp * contrib/hbmzip/hbmzip.hbc - external/minizip + contrib/hbmzip/3rd + contrib/hbmzip/3rd/minizip * contrib/hbmzip/3rd/minizip/minizip.hbc * contrib/hbmzip/3rd/minizip/minizip.hbp - contrib/hbmzip/3rd/minizip/Makefile * Moved minizip dir under the contrib that uses it. ; Please test. 2010-11-07 12:57 UTC+0100 Viktor Szakats * external/sqlite3/sqlite3.hbp * external/sqlite3/Makefile + Added -DSQLITE_OMIT_DEPRECATED as suggested by Petr. Shaves off a few Ks from sqlite3 lib size. * contrib/hbodbc/tests/testodbc.prg * Formatting. * config/hbextern.hbs * cygwin update. * bin/hbmk2l2d.hbs ! Added missing #endif * Changed guard. * INSTALL * Updated hbmk2 examples about using libs/packages. 2010-11-07 01:40 UTC+0100 Viktor Szakats * contrib/hbodbc/tests/testodbc.prg * contrib/hbodbc/odbc.c ! Two minor corrections to prev. 2010-11-07 01:33 UTC+0100 Viktor Szakats * contrib/hbodbc/odbc.c ! SQLERROR(): Fixed to accept handle as pointer (not as number). ! SQLERROR(): Fixed returned cErrorMsg using proper length. ! SQLERROR(): Fixed to initialize 'out' parameters. + Added SQLGETDIAGREC( <nHandleType>, <hHandle>, <nRecNumber>, @<cSQLState>, @<nError>, @<cErrorMsg> ) -> <nResult> * contrib/hbodbc/sql.ch * Added self-guard * Enclosed negative constant values in parents. + Added SQL_HANDLE_* constants. * contrib/hbodbc/tests/odbcdemo.prg * contrib/hbodbc/tests/odbccall.prg * contrib/hbodbc/tests/testodbc.prg * Added "simpleio.ch" * Formatting. ! Changed locally rolled WITH OBJECT emulation with real WITH OBJECT syntax. + Added SQLERROR() and SQLGETDIAGREC() test calls. 2010-11-06 23:25 UTC+0100 Viktor Szakats * INSTALL * Little clarification to '2. HOW TO DO A PARTIAL [RE]BUILD' section. 2010-11-06 23:12 UTC+0100 Viktor Szakats * src/rtl/gete.c % Optimized out memory allocation on non-dos/os2 platforms. + contrib/hbexpat/3rd/expat/_hbconf.h + Added config file placeholder. Not yet used and empty. * contrib/hbqt/hbqt_hbmk2_plugin.hbs * Formatting. % More StrTran() minor opt. * utils/hbmk2/hbmk2.prg * config/linux/gcc.mk * config/linux/icc.mk * config/linux/clang.mk * -fpic -> -fPIC for linux dynamic libs. ; From Tamas. * INSTALL + Added expat related information. 2010-11-06 14:18 UTC+0100 Viktor Szakats * contrib/hbexpat/hbexpat.c ! Added missing 'enum' keyword to just added cast. ; Patches from Tamas: * utils/hbmk2/hbmk2.prg + cygwin is pic by default * bin/hbxpatch.hbs + report all missing tools in one go 2010-11-05 20:25 UTC+0100 Viktor Szakats * INSTALL * Reworded two sentences where HB_COMPILER/HB_PLATFORM is explained. * Changed the order of settings to reflect importance. HB_INSTALL_PREFIX is first, HB_USER_* are second. - Deleted HB_INSTALL_??? envvars from list of documented settings. 2010-11-05 20:02 UTC+0100 Viktor Szakats * contrib/hbexpat/hbexpat.c ! Cast for C++. * contrib/hbexpat/tests/test.prg * contrib/hbexpat/tests/tohash.prg * HB_OSNEWLINE() -> HB_EOL() 2010-11-05 19:21 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fixed bad typo in watcom platform redetection. win was misdetected as dos. (this fixes expat watcom build) + Added experimental -depcontrol=<name>:strict:/opt/mingw/include option, which will make the given path the only one where header detection is done. * contrib/hbexpat/3rd/expat/expat.hbp ! Deleted unnecessary input files. ! Fixed os2 build by setting HAVE_MEMMOVE. 2010-11-05 18:11 UTC+0100 Viktor Szakats * contrib/hbexpat/hbexpat.hbp * contrib/hbexpat/hbexpat.hbc - contrib/hbexpat/expat + contrib/hbexpat/3rd + contrib/hbexpat/3rd/expat * Moved expat 3rd party code under '3rd' dir. * contrib/hbexpat/hbexpat.hbp + contrib/hbexpat/hbexpat.hbx + contrib/hbexpat/hbexpatx.prg + Added .hbx and extern puller harness. 2010-11-05 16:38 UTC+0100 Viktor Szakats * contrib/hbexpat/hbexpat.hbp ! Minor typo. * contrib/hbexpat/tests/tohash.prg - Deleted json dump. * utils/hbrun/hbrun.prg * Minor change to make it easier to update header list. 2010-11-05 15:58 UTC+0100 Viktor Szakats * contrib/hbexpat/expat/expat.hbp * contrib/hbexpat/hbexpat.hbp * contrib/hbexpat/hbexpat.hbc * Minor cleanups. * contrib/hbexpat/tests/tohash.prg + Added HB_HKEEPORDER( , .T. ) * external/Makefile * config/global.mk * INSTALL - Deleted central option to control external lib building: HB_EXTERNALLIBS ! Also deleted one reference to HB_EXTERNAL_ADDONS, which has been removed earlier. + external/minizip/minizip.hbp + external/minizip/minizip.hbc + external/sqlite3/sqlite3.hbc + external/sqlite3/sqlite3.hbp + external/bzip2/bzip2.hbc + external/bzip2/bzip2.hbp + external/libhpdf/libhpdf.hbc + external/libhpdf/libhpdf.hbp + Added experimental hbmk2 make files for foreign code which is used solely by contribs. 2010-11-05 14:54 UTC+0100 Viktor Szakats * contrib/make.hbs ! Don't pick up dependencies with long-filename on MS-DOS hosts. Please test. * contrib/hbplist ! Added missing dependency comment. * contrib/rddads/rddads.h ! Fixed mingw warnings after recent change. Now _declspec is only defined for mingw, if it isn't already. Pls review me. * utils/hbmk2/hbmk2.prg * Formatting. 2010-11-05 14:25 UTC+0100 Viktor Szakats * contrib/hbqt/hbqt_hbmk2_plugin.hbs + Added support for converting multiple input .qth files to generated source/doc. - contrib/hbqt/tests/hbqtgen.prg - Deleted initial generator tools. Its code now lives in hbqt_hbmk2_plugin.hbs script/plugin. * contrib/hbplist * Added comment. * utils/hbmk2/hbmk2.prg % Minor opt. 2010-11-05 13:41 UTC+0100 Viktor Szakats + contrib/hbexpat + contrib/hbexpat/hbexpat.c + contrib/hbexpat/hbexpatc.c + contrib/hbexpat/hbexpatp.prg + contrib/hbexpat/hbexpat.ch + contrib/hbexpat/hbexpat.hbp + contrib/hbexpat/hbexpat.hbc + contrib/hbexpat/tests + contrib/hbexpat/tests/hbmk.hbm + contrib/hbexpat/tests/test.prg + contrib/hbexpat/tests/tohash.prg + Added Harbour bindings for expat XML parser lib. ; Test contains XML to hash conversion. It's very nice, small and complete, callback-based parser: https://expat.sourceforge.io/ https://www.xml.com/pub/a/1999/09/expat/index.html https://web.archive.org/web/www.xml.com/lpt/a/47 + contrib/hbexpat/expat + contrib/hbexpat/expat/expat.hbp + contrib/hbexpat/expat/expat.hbc + contrib/hbexpat/expat/COPYING + contrib/hbexpat/expat/amigacon.h + contrib/hbexpat/expat/ascii.h + contrib/hbexpat/expat/asciitab.h + contrib/hbexpat/expat/expat.h + contrib/hbexpat/expat/expat_ex.h + contrib/hbexpat/expat/iasciita.h + contrib/hbexpat/expat/internal.h + contrib/hbexpat/expat/latin1ta.h + contrib/hbexpat/expat/macconfi.h + contrib/hbexpat/expat/nametab.h + contrib/hbexpat/expat/utf8tab.h + contrib/hbexpat/expat/winconfi.h + contrib/hbexpat/expat/xmlparse.c + contrib/hbexpat/expat/xmlrole.c + contrib/hbexpat/expat/xmlrole.h + contrib/hbexpat/expat/xmltok.c + contrib/hbexpat/expat/xmltok.h + contrib/hbexpat/expat/xmltok_i.c + contrib/hbexpat/expat/xmltok_i.h + contrib/hbexpat/expat/xmltok_n.c + Added expat as foreign code. It's ANSI C with MIT license. It's first example of adding foreign code in the contrib domain, using hbmk2 as build tool. It's also configured to work with hbxpatch.hbs. ; Please test, I bet MS-DOS builds are broken, and I didn't make tests with OS/2 and WinCE either, plus with some C compilers. Should build fine though with mingw[64], msvc[64], pocc[64], bcc. ; FIXME: Watcom build is broken. Any takers? [DONE] * contrib/hbplist + Enabled hbexpat. * utils/hbmk2/hbmk2.prg ! Minor fix. 2010-11-05 12:59 UTC+0100 Viktor Szakats * include/hbvm.h * src/vm/hvm.c + Added hb_vmPushPointerGC(). * contrib/hbqt/qtcore/hbqt_init.cpp + Added experimental (not activated) code example to pass GC collected pointer back from callbacks. This is just intermediate step, as it should return .prg level class, but at least some room for leaks can be avoided this way, plus the pointer type is identifiable. Based on code posted to list by Pritpal. 2010-11-05 00:58 UTC+0100 Viktor Szakats * config/cygwin/gcc.mk * include/hbwmain.c * src/vm/Makefile * src/vm/mainwin.c * src/vm/hvm.c * src/vm/cmdarg.c * src/vm/mainstd.c * utils/hbmk2/hbmk2.prg + Finalizing cygwin/gcc entry point. ; Patch by Tamas. + Added hbmainstd for shared cygwin/gcc builds. * utils/hbrun/hbrun.hbp + Enabled header inclusion also in hbmk2 make file. 2010-11-04 22:44 UTC+0100 Viktor Szakats * src/rtl/hbjson.c * src/rtl/hblpp.c ! Silenced msvc64 warnings. * utils/hbrun/hbrun.prg * Moved creation of header hash to separate function. + Added HBRUN_NOHEAD envver to disable embedded headers. Any non-empty value will have this effect. * utils/hbrun/Makefile + Enabled embedded headers. * contrib/make.hbs * config/postinst.hbs * bin/hbxpatch.hbs ! Resolved FIXME notes: now the headers can be used just like in any .prg, and no need to locally #define core constants. Also hbqt_hbmk2_plugin.hbs should work now in stdalone mode, with all the OOP code. 2010-11-04 21:33 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg * MS-DOS LFN vs. SFN next guess: deleted hack when loading plugin. * include/hbwmain.c * src/vm/cmdarg.c * config/bin.mk * Cygwin main entry patch from Tamas. * INSTALL + Added note that all settings are case sensitive. Not that those would read it who would need to. 2010-11-04 20:27 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbpp.h * harbour/include/hbcomp.h * harbour/src/pp/ppcore.c * harbour/src/main/harbour.c * harbour/src/compiler/hbmain.c * harbour/src/compiler/ppcomp.c * harbour/src/compiler/hbcmplib.c * added support for setting hash array as container for included files in HB_COMPILE*() functions. * harbour/utils/hbrun/hbrun.prg + added optional support for embedding all core header files into final HBRUN executable file. It can be enabled by compilation with HBRUN_WITH_HEADERS macro. * harbour/contrib/hbsqlit3/hbsqlit3.c ! removed non standard C construction % push function parameters directly on HVM stack 2010-11-04 18:05 UTC+0200 Petr Chornyj (myorg63 at mail.ru) * harbour/contrib/hbsqlit3/hbsqlit3.c ! Fixed last modification typo 2010-11-04 18:00 UTC+0200 Petr Chornyj (myorg63 at mail.ru) * harbour/contrib/hbsqlit3/hbsqlit3.c * Protected sqlite3_sourceid() by SQLITE_VERSION_NUMBER + Added sqlite3_create_function() sqlite3_create_function( db, cFuncName, nArg, [Nil]|[cFunc]|[sFunc] ) -> nResult Only scalar function creation now supported. 2010-11-04 15:39 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + MS-DOS builds got internal protection against trying to load .hbc/.hbp/.hbm/plugin files with long filenames (only in filename/extension part, so it's sort of a hack). Such would result in unpredictable behavior depending on MS-DOS OS or emulation used, but for sure none can load the intended file. So current hack will consider such files non-existent, and consequently fail along the way. Please test in on MS-DOS. 2010-11-04 13:06 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/cdpapi.c + added internal macro for developers making tests with C compilers which can make some character translations in compiler strings. This macro (__HB_IGNORE_CP_ERRORS) disables 9994 internal error. ("Harbour CP (%s) initialization failure"). It should not be used in production builds. 2010-11-04 12:07 UTC+0100 Viktor Szakats - contrib/hbqt/qtgui/g - contrib/hbqt/qtgui/doc/en/*.txt - contrib/hbqt/qtwebkit/g - contrib/hbqt/qtwebkit/doc/en/*.txt - contrib/hbqt/qtcore/g - contrib/hbqt/qtcore/doc/en/*.txt - contrib/hbqt/qtnetwork/g - contrib/hbqt/qtnetwork/doc/en/*.txt - contrib/hbqt/qscintilla/g - contrib/hbqt/qscintilla/doc/en/*.txt - contrib/hbqt/qtuitools/g - contrib/hbqt/qtuitools/doc/en/*.txt - contrib/hbqt/qtdesigner/g - contrib/hbqt/qtdesigner/doc/en/*.txt - Deleted generated files which are now created dynamically. - contrib/hbqt/utils - Deleted utils dir. + contrib/hbqt/tests/hbqtgen.prg + contrib/hbqt/tests/QtUiTools.txt + contrib/hbqt/tests/hbqtgen2.prg + contrib/hbqt/tests/QtGui.txt + contrib/hbqt/tests/QtCore.txt + contrib/hbqt/tests/QtNetwork.txt * Moved to tests dir. * contrib/hbqt/hbqt_hbmk2_plugin.hbs - Disabled one debug output left in. ; After these changes HBQT overall size went from 9.5 MB to 1.6 MB. It still makes it the largest contrib lib in terms of dir content size. ; BTW, most of current .qth content could be dropped by dynamically extracting information from original QT headers. QT is required anyway to build HBQT, and in such dynamic scenario the generated wrappers could always precisely match the QT version we're building against. Until then, .qth files are matching the QT version they were created for (currently 4.5), and it needs hefty manual work to update it to newer versions of QT (latest 4.7). Chances are good that such extraction tool already exists for PyQt and similar projects. 2010-11-04 11:23 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/contrib/rddsql/sqlbase.c + added timestamp type support in PutValue RDD method * harbour/contrib/hbwin/axcore.c * commented out debug line to be in sync with commented out function that it uses 2010-11-04 05:02 UTC+0100 Viktor Szakats * include/hbwmain.c * src/vm/cmdarg.c + Cygwin HB_PROGNAME()/HB_ARGV(0) patch from Tamas. * src/rtl/hbcom.c * Cygwin related comment added. Patch by Tamas. * hbqt/qtgui/qth/*.qth * hbqt/qtwebkit/qth/*.qth * hbqt/qtcore/qth/*.qth * hbqt/qtnetwork/qth/*.qth * hbqt/qscintilla/qth/*.qth * hbqt/qtuitools/qth/*.qth * hbqt/qtdesigner/qth/*.qth % Harbour license text changed to a one-liner reference to COPYING file. Copyright message kept as is. Overal .qth file size dropped to half. ! Deleted multiple empty lines at EOL. 2010-11-04 04:34 UTC+0100 Viktor Szakats * hbqt/hbqt_hbmk2_plugin.hbs ! Fixed to not pickup false object references. ! Fixed to automatically pickup object references in manual contructor code. * crc32 restored to be compatible with old one. ! Fixed typo causing incremental build always rebuild everything (for .qth files). * hbqt/qtcore/qth/HBQString.qth ! Fixed reference to manual header. * hbqt/qtgui/hbqt_hbqtableview.h * hbqt/qtgui/hbqt_hbqsyntaxhighlighter.h * hbqt/qtgui/hbqt_hbqplaintextedit.h * hbqt/qtgui/hbqt_hbqgraphicsitem.h * Header cleanup. Hopefully good. * contrib/hbqt/qtwebkit/qth/QWebView.qth - Deleted reference to no more existing hbqtnetwork.h + hbqt/qtgui/hbqtgui.h + hbqt/qtcore/hbqtcore.h + Added headers with stuff referenced by non-generated code (and some more) + contrib/hbqt/qtgui/qth/filelist.hbm + contrib/hbqt/qtwebkit/qth/filelist.hbm + contrib/hbqt/qtcore/qth/filelist.hbm + contrib/hbqt/qtnetwork/qth/filelist.hbm + contrib/hbqt/qscintilla/qth/filelist.hbm + contrib/hbqt/qtuitools/qth/filelist.hbm + contrib/hbqt/qtdesigner/qth/filelist.hbm + Added new .hbm files pulling in .qth and setting up generation. This way also .qth placement became fully modular. * contrib/hbqt/hbqt_common.hbm * hbqt/qtgui/hbqtgui.hbc * hbqt/qtgui/hbqtgui.hbm * hbqt/qtwebkit/hbqtwebkit.hbc * hbqt/qtwebkit/hbqtwebkit.hbm * hbqt/qtcore/hbqtcore.hbc * hbqt/qtcore/hbqtcore.hbm * hbqt/qtnetwork/hbqtnetwork.hbc * hbqt/qtnetwork/hbqtnetwork.hbm * hbqt/qscintilla/hbqscintilla.hbm * hbqt/qscintilla/hbqscintilla.hbc * hbqt/qtuitools/hbqtuitools.hbm * hbqt/qtuitools/hbqtuitools.hbc * hbqt/qtdesigner/hbqtdesigner.hbm * hbqt/qtdesigner/hbqtdesigner.hbc - Deleted 'g' subdir from header path list. * Changed to use .qth files directly. ; TODO: If things go well, g subfolders, doc/en folder content and utils dirs can be deleted. [DONE] ; TODO: Cleanup the way HBQT_TYPE_* and hb_par_* are defined. It's currently kinda hackish. ; Now everyone can start to bitch, moan and argue or ignore. That's sole reason I'm doing commits. Thanks in advance. 2010-11-04 01:52 UTC+0100 Viktor Szakats * contrib/hbqt/hbqt_hbmk2_plugin.hbs + Reworked standalone hbqt generator as dynamic hbmk2 plugi. It will now dynamically convert .qth to .cpp + .prg + .txt. .qtp lists can now be replaced by .hbm files. See them inside /qth dirs. * Minor cleanups and optimizations to generator code. * Standalone conversion mode is also available, though it's little difficult to run due to current hbrun limitations. % Generated code further slimmed down. + Since now we have no generated central header, each required declarations have to be repeated in each source file. Consistency is maintained by generator. ; TODO: Consider splitting .qth generator functionality from mainstream hbqt hbmk2 plugin. ; TODO: Switch to using new dynamic code generation. [DONE] ; TODO: Consider merging .cpp + .prg using #pragma BEGINDUMP. In generated code, I find it benign, and hopefully eventually .prg code can be eliminated fully. [WONTWORK] ; TODO: Resolve dependence on generated central headers, in manual source files. [DONE] ; FIXME: Error message in plugin now erroneously shows as "hbclass.ch(131)", IOW the compiler thinks its compiling the header, while in reality its compiling the .hbs file. * utils/hbmk2/hbmk2.prg + REQUESTing some stuff for hbqt plugin. 2010-11-03 29:59 UTC+0100 Viktor Szakats * include/harbour.hbx * src/rtl/dateshb.c + Added HB_DATE( [<nYear>, <nMonth>, <nDay>] ) -> <dDate> If called without options, it returns current date, just like DATE(). * Changed HB_DATETIME() to work like above except for timestamps. * contrib/hbqt/hbqt_all.hbp - Deleted wrong MS-DOS fix. * contrib/hbqt/utils/hbqtgen.prg % Optimized to not read each input file twice. * contrib/hbqt/hbqt_hbmk2_plugin.hbs + Added #include "hbclass.ch". After 2010-11-03 23:28 UTC+0100 it works as expect. Thanks a lot Przemek! Header dir is setup correctly now by hbmk2, so hbmk2 plugins can safely use Harbour headers. (in hbmk2 context the headers should be present anyway, so this is square) 2010-11-03 23:28 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/compiler/hbmain.c + allow to use -p* switches in HB_COMPILEFROMBUF() * harbour/src/compiler/harbour.y + accept #line <num> directive without file name. It can be usable in some cases and it also resolves the problem reported by Viktor when we compile file without any name, i.e. using HB_COMPILEFROMBUF() function. * harbour/src/compiler/harbour.yyc * regenerated 2010-11-03 23:24 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/Makefile + added missing hblpp.ch file * harbour/src/pp/ppcore.c % removed redundant fBinary paramater from hb_pp_pragmaStreamFile() 2010-11-03 19:36 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/compiler/hbmain.c ! fixed very old bug which can be exploited in some seldom cases, i.e. the one reported by Viktor using HBRUN. 2010-11-03 19:01 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg * Using _APPMAIN() instead of MAIN() as entry function, to be friendly with plugins using MAIN(). * Commented test code added for hbrun integration. + Added popular package handler's lib and include directory to bsd builds' default setup. * Added comments describint which such directory belongs to which package system (darwin, bsd) + Plugins will now be called with Harbour header directory properly setup, so it's possible to use headers in them. * include/hbclass.ch - Deleted some lines which were active when __HARBOUR__ is not defined. As I understand this is Harbour-only header, so __HARBOUR__ is always to be defined. Please speak up if you know what it was for. It was added here: 2006-10-04 02:30 UTC+0200 * src/pp/hbpp.c + Support for -e option which lets override the name of the public entry function in generated PP rules .c file. * contrib/hbqt/hbqt_hbmk2_plugin.hbs + Some provisions to handle .qth files. * INSTALL * https links changed to http for win nightly pkgs. 2010-11-03 13:07 UTC+0100 Viktor Szakats * contrib/hbqt/utils/hbqtgen.prg % Deleted need for Harbour headers. Except hbclass.ch. To convert this to script, OOP code must be converted to regular one. * contrib/hbqt/utils/qtcore.qtp * contrib/hbqt/utils/qtnetwork.qtp * contrib/hbqt/utils/qscintilla.qtp * contrib/hbqt/utils/qtuitools.qtp * contrib/hbqt/utils/qtdesigner.qtp * contrib/hbqt/utils/qtgui.qtp * contrib/hbqt/utils/qtwebkit.qtp * Changed to use hbmk2 style comments. 2010-11-03 12:32 UTC+0100 Viktor Szakats * contrib/hbqt/hbqt_all.hbp - Disable whole container for dos platform, as it seems to get confused about long filenames. * ChangeLog * TODOs marked as DONE. ! Typos. * contrib/hbqt/utils/hbqtgen.prg % Do not generate extern pullers automatically. They are quite simple, rarely (if ever) changing files, so this is not big drawbacks, and it opens the door to generate rest of files dynamically. * contrib/hbqt/qtgui/hbqtgui.hbm * contrib/hbqt/qtgui/g/filelist.hbm - contrib/hbqt/qtgui/g/hbqtgui_extern.prg + contrib/hbqt/qtgui/hbqt_extern.prg * contrib/hbqt/qtwebkit/hbqtwebkit.hbm * contrib/hbqt/qtwebkit/g/filelist.hbm - contrib/hbqt/qtwebkit/g/hbqtwebkit_extern.prg + contrib/hbqt/qtwebkit/hbqt_extern.prg * contrib/hbqt/qtcore/hbqtcore.hbm * contrib/hbqt/qtcore/g/filelist.hbm - contrib/hbqt/qtcore/g/hbqtcore_extern.prg + contrib/hbqt/qtcore/hbqt_extern.prg * contrib/hbqt/qtnetwork/hbqtnetwork.hbm * contrib/hbqt/qtnetwork/g/filelist.hbm - contrib/hbqt/qtnetwork/g/hbqtnetwork_extern.prg + contrib/hbqt/qtnetwork/hbqt_extern.prg * contrib/hbqt/qscintilla/hbqscintilla.hbm * contrib/hbqt/qscintilla/g/filelist.hbm - contrib/hbqt/qscintilla/g/hbqscintilla_extern.prg + contrib/hbqt/qscintilla/hbqt_extern.prg * contrib/hbqt/qtuitools/hbqtuitools.hbm * contrib/hbqt/qtuitools/g/filelist.hbm - contrib/hbqt/qtuitools/g/hbqtuitools_extern.prg + contrib/hbqt/qtuitools/hbqt_extern.prg * contrib/hbqt/qtdesigner/hbqtdesigner.hbm * contrib/hbqt/qtdesigner/g/filelist.hbm - contrib/hbqt/qtdesigner/g/hbqtdesigner_extern.prg + contrib/hbqt/qtdesigner/hbqt_extern.prg * Moved extern pullers to non-generated area. 2010-11-03 11:29 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/external/minizip/minizip.dif * regenerated .diff file by ../../bin/hbxpatch.hbs -rediff Thanks to Tamas. 2010-11-03 02:58 UTC+0100 Viktor Szakats * external/sqlite3/Makefile + Cygwin patch from Tamas Tevesz. * contrib/hbqt/qtcore/hbqt_pointer.cpp * Formatting. 2010-11-03 00:48 UTC+0100 Viktor Szakats * contrib/hbqt/utils/hbqtgen.prg % Simplified GC release code. ! Fixed potential GPF in GC release code. (p->ph might have been assigned NULL even if p was NULL) ; Please review and test. * contrib/hbqt/*/g/*.cpp * Regenerated. 2010-11-03 00:13 UTC+0100 Viktor Szakats * contrib/hbqt/qtgui/hbqt_init.cpp ! Fixed missing HB_EXTERN_BEGIN/END from around a new internal function. * contrib/hbqt/utils/hbqtgen.prg ! Fixed to not spit HB_TR_ALWAYS msgs while running. % Deleted unnecessary HB_SYMBOL_UNUSED in generated code. % Minor optimization in generate code. ; TODO: Optimize code generated for GC desctructor. [DONE] * contrib/hbqt/*/g/* * Regenerated. * utils/hbmk2/hbmk2.prg + Will now accept macros in Harbour options. (lightly tested) 2010-11-02 18:42 UTC+0100 Viktor Szakats * contrib/hbqt/utils/hbqtgen.prg % Optimized generated source code to be more compact. The result is almost 60% smaller (6.2 MB -> 4 MB for qtgui) generated sources: - credits and copyrights moved to separate file, so it's now present in only one copy. - disabled HB_TRACE lines from output. - disabled {} braces from one-liner blocks. - deleted some long separator lines. - made original function prototype comments more compact. + contrib/hbqt/CREDITS.txt + Added standalone credits and full copyright text. * contrib/hbqt/*/g/* * Regenerated. * package/winuni/mpkg_win_uni.bat + Distribute contrib/*/*.txt files. 2010-11-02 18:55 UTC+0200 Petr Chornyj (myorg63 at mail.ru) * harbour/contrib/hbsqlit3/hbsqlit3.c * Changed to use STR API for UTF8 conversions in few places. Lightly tested - seems now it's works as expected. + Added sqlite_sourceid() 2010-11-02 15:42 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbstack.h * minor improvement in #include "hbthread.h" condition * harbour/external/minizip/ioapi.h * harbour/external/png/Makefile * harbour/src/common/hbffind.c * harbour/src/rtl/hbsocket.c * updated to compile with DMC 2010-11-02 14:35 UTC+0100 Viktor Szakats * src/rtl/gete.c % Deleted very old code to satisfy Borland C++ getenv() requirement, and which turned out to be a mere Borland documentation error (confirmed by Borland). Thanks to Tamas Tevesz for getting to end of this and the patch. * utils/hbmk2/hbmk2.prg * Formatting. * ChangeLog ! Fixed bloody daylight saving timezone in recent commits. 2010-11-01 22:56 UTC+0100 Viktor Szakats * src/pp/ppcore.c ! Fixed regression in 2010-11-01 16:42 UTC+0200. Forgot to set value for __PLATFORM__* macros. INCOMPATIBLE: So far the value returned by __PLATFORM__* macros were the version part from the string also returned by OS(), but only in non-cross platform situations. Now they are defined without any value, which means now the returned value is consistent regardless of build-situation and OS version. If you relied on this feature, change your code to extract OS version from value return by OS() function. * src/vm/mainwin.c % Do not include windows header. * src/vm/cmdarg.c - Undone some (innocent) part of patch in 2010-11-01 13:53 UTC+0200. * INSTALL * Moved around cygwin inside example section. 2010-11-01 16:42 UTC+0100 Viktor Szakats * include/hbapi.h * src/common/hbver.c + Added hb_verPlatformMacro(), which returns string as it appears in __PLATFORM__* macro. This function will have to be extended for each new platform Harbour is getting ported to. * src/pp/ppcore.c ! Changed to use hb_verPlatformMacro() value to form __PLATFORM__* macro, instead of using hb_verPlatform(), which offers no guarantee for the value on *nix systems and it's was hack on other platforms too (e.g. it got messed up when Windows version string was changed to show "wine" at the beginning of the human readable platform string). % Made forming of __PLATFORM__* macros simpler, using hb_snprintf(). ! Now WINCE builds of pp will also defined __PLATFORM__WINDOWS. ; Please review/test. 2010-11-01 13:53 UTC+0100 Viktor Szakats * src/vm/Makefile * src/vm/mainwin.c * src/vm/hvm.c * src/vm/cmdarg.c * src/vm/vmmt/Makefile * utils/hbmk2/hbmk2.prg * config/global.mk * config/cygwin/global.mk + Cygwin related patch from Tamas Tevesz. - Fixing cygwin dynamic lib name - Dynamic lib linking - defining __PLATFORM__CYGWIN in cross-platform builds * src/rtl/dateshb.c + tests/dttest.prg + HB_DATETIME() got new, optional nYear, nMonth, nDay, nHour, nMinute, nSecond, nFragment parameters. If passed, it will return date or timestamp based on passed parameters instead of current timestamp. Based on initiative and code by Carlos Bacco. Thank you! * contrib/hbsqlit3/hbsqlit3.c - Reverted UTF8 patch in 2010-11-01 00:05 UTC+0200. + Replaced above solution with transparent one, using Str API usage and extended it for all places where UTF8 strings are expected or returned by sqlite3 API. Please test. This clears an old FIXME. + Added FIXME for raw pointer usage. * contrib/hbqt/qtgui/g/QApplication.cpp * contrib/hbqt/qtgui/qth/QApplication.qth ! Fixed to wrap one declaration in HB_EXTERN_BEGIN/END. 2010-11-01 00:05 UTC+0200 Petr Chornyj (myorg63 at mail.ru) * harbour/contrib/hbsqlit3/hbsqlit3.c * Changed syntax of sqlite3_exec() to sqlite3_exec( db, cSQLTEXT, [pCallbackFunc]|[cCallbackFunc], [lConvertSQLTextToUTF8], "cCDP" ) -> nResultCode From now we can replace cSQLTEXT := hb_strToUTF8( cSQLTEXT, "RU1251" ) sqlite3_exec( db, cSQLTEXT ) with sqlite3_exec( db, cSQLTEXT, , .t., "RU1251" ) * Changed syntax of sqlite3_bind_text(), sqlite3_column_text() in such way * Changed sqlite3_bind_blob() according to sqlite3 docs. 2010-10-31 22:50 UTC+0200 Petr Chornyj (myorg63 at mail.ru) * harbour/src/rtl/hbinet.c ! HB_INETSERVER fixed to use parameters properly Syntax of HB_INETSERVER is hb_inetServer( nPort, [pSocket | NIL], [cBindAddr], [nListenLimit] ) 2010-10-31 13:11 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbhpdf/harupdf.c ! fixed typo 2010-10-29 21:42 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Applied cygwin patch from Tamas Tevesz. ! Few more cygwin related fixes here and there. + Added more cygwin related FIXME notes. 2010-10-29 21:27 UTC+0200 Viktor Szakats * config/global.mk + Do not warn about or require HB_HOST_BIN when doing cygwin cross-builds. 2010-10-29 14:50 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/hbcom.c * added patches created by Tamas TEVESZ and default port name for AIX 2010-10-29 14:00 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Platform/compiler checks made robust and don't give match anymore for 'win' when checking it against 'darwin' or 'cygwin'. * utils/hbmk2/hbmk2.prg * INSTALL * Updated to reflect that cygwin is now distinct platform. (TODO: examples [DONE]) 2010-10-29 10:22 UTC+0200 Viktor Szakats * include/hb_io.h * include/hbthread.h * include/hbsetup.h * src/vm/thread.c * src/vm/dynlibhb.c * src/common/hbgete.c * src/common/hbprintf.c * src/rtl/gttrm/Makefile * src/rtl/hbsocket.c * src/rtl/filesys.c * src/rtl/hbcom.c * config/global.mk - config/win/cygwin.mk + config/cygwin + config/cygwin/libs.mk + config/cygwin/gcc.mk + config/cygwin/global.mk + Applied cygwin patch from Tamas Tevesz. The goal is to migrate win/cygwin to cygwin/gcc, IOW to make cygwin a distinct platform (which is primarily unixy with option to access winapi) as it should be. Changes made by me compared to original patch: - Fixed to HB_HOST_PLAT stay 'win'. Cygwin is not a host platform. - Fixed to set HB_COMPILER to gcc and HB_PLATFORM to cygwin when cygwin is detected on win platform. - Consequently some changes in global.mk could be dropped. - Deleted hbcom patches not related to cygwin. - Removed hbmk2 patch until we solve the 'plat $ 'cygwin' problem. 2010-10-29 09:37 UTC+0200 Viktor Szakats * contrib/hbqt/qtcore/hbqt_misc.prg * Changed to not RTE when connecting to an already connected event. It will now return .F.. This emulates old behavior. 2010-10-29 01:12 UTC+0200 Viktor Szakats * contrib/hbqt/qtgui/hbqt_init.cpp * contrib/hbqt/qtwebkit/hbqt_init.cpp * contrib/hbqt/qtcore/hbqt_hbqslots.cpp * contrib/hbqt/qtcore/hbqt_hbqevents.cpp * contrib/hbqt/qtcore/hbqt_init.cpp * contrib/hbqt/qtnetwork/hbqt_init.cpp * contrib/hbqt/qscintilla/hbqt_init.cpp * contrib/hbqt/qtuitools/hbqt_init.cpp * contrib/hbqt/qtdesigner/hbqt_init.cpp % Deleted unnecessary Harbour header #includes. 2010-10-29 00:51 UTC+0200 Viktor Szakats * contrib/hbqt/qtcore/hbqt_hbqslots.cpp * __HBQT_SLOTS_DISCONNECT() - Fixed a variable name to match real content (slot -> pszSignal) % __HBQT_SLOTS_CONNECT() - Synced with disconnect, added local variable to avoid double hb_parcx() calls. 2010-10-29 00:21 UTC+0200 Viktor Szakats * contrib/hbwin/win_os.prg * Reverted 2010-10-22 19:08 UTC+0200 Turns out it was alright without the fix, as hb_osIsWinVista() returns .T. also for upper versions (win7) by design, so it was not necessary to change it to win_osIsVistaOrUpper() hbwin specific call. Please double check it though, maybe I'm just too tired. 2010-10-28 23:51 UTC+0200 Viktor Szakats * contrib/hbqt/qtcore/hbqt_misc.prg + Changed to not RTE when disconnecting not-connected event. It will instead return .F. now. To be consistent with slots in this regard. * Undone previous optimization after realizing that events and slots low-level functions return different error codes. It didn't cause any harm with current system though. * contrib/hbqt/qtcore/hbqt_hbqevents.cpp % Optimized hb_snprintf() calls. * contrib/hbqt/qtcore/hbqt_hbqevents.cpp * contrib/hbqt/qtcore/hbqt_hbqslots.cpp * Formatting. * src/common/hbver.c * Name of SPARC adjusted. Thanks to Tamas Tevesz. 2010-10-28 19:25 UTC+0200 Viktor Szakats * contrib/hbqt/qtcore/hbqt_misc.prg * Laxed the rules for handling low-level connect/disconnect errors. Now some cases will RTE, some will return .F., some will get ignored and .T. returned. Please refine it as required. % Optimized :connect()/:disconnect() * contrib/hbqt/qtcore/hbqt_hbqslots.cpp ! __HBQT_SLOTS_CONNECT() fixed to check for codeblock parameter before actually making the connection on QT level. Hopefully this was not some intentional feature. * contrib/hbxbp/xbpmenubar.prg ! xbpMenuBar:delItem() fixed :disconnect() calls with wrong parameter. Blindish fix, pls review and test. 2010-10-28 16:19 UTC+0200 Viktor Szakats * contrib/hbqt/tests/demoqt.prg ! Fixed wrong :connect call. Thanks to Tamas Tevesz for pinpointing it. - contrib/hbqt/tests/dialogqt.prg - Deleted file which doesn't compile since 1 year. 2010-10-28 12:44 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rdd/dbstrux.prg * harbour/contrib/hbtip/sendmail.prg * minor formatting 2010-10-28 12:08 UTC+0200 Viktor Szakats * contrib/hbqt/utils/hbqtgen.prg + Generate REQUEST __HBQT<NAME> puller code to each class definition .prg. This will ensure that lib init code will always automatically run if any QT class is used by an application. * contrib/hbqt/*/g/* * Regenerated. * contrib/hbqt/tests/testres.prg * contrib/hbqt/tests/demoqt.prg * contrib/hbqt/tests/dialogqt.prg * contrib/hbqt/tests/testbrow.prg * contrib/hbqt/tests/testqaim.prg * contrib/hbxbp/tests/demoxbp.prg * contrib/hbxbp/tests/dialogqt.prg - Deleted no more necessary REQUEST HB_QT and REQUEST HB_QTGUI lines. INCOMPATIBLE: Please delete these from your user code. 2010-10-28 11:42 UTC+0200 Viktor Szakats * contrib/hbqt/qtgui/hbqtgui.hbm - contrib/hbqt/qtgui/hbqt_registersignals.cpp + contrib/hbqt/qtgui/hbqt_init.cpp * contrib/hbqt/qtwebkit/hbqtwebkit.hbm + contrib/hbqt/qtwebkit/hbqt_init.cpp * contrib/hbqt/qtcore/hbqtcore.hbm - contrib/hbqt/qtcore/hbqt_registersignals.cpp + contrib/hbqt/qtcore/hbqt_init.cpp * contrib/hbqt/qtnetwork/hbqtnetwork.hbm - contrib/hbqt/qtnetwork/hbqt_registersignals.cpp + contrib/hbqt/qtnetwork/hbqt_init.cpp * contrib/hbqt/qscintilla/hbqscintilla.hbm + contrib/hbqt/qscintilla/hbqt_init.cpp * contrib/hbqt/qtuitools/hbqtuitools.hbm + contrib/hbqt/qtuitools/hbqt_init.cpp * contrib/hbqt/qtdesigner/hbqtdesigner.hbm + contrib/hbqt/qtdesigner/hbqt_init.cpp + Extended existing signal register init modules to be generic lib level initialization ones. + Added such lib level init module to all remaining HBQT libs. * contrib/hbqt/qtgui/hbqtgui.hbx * contrib/hbqt/qtwebkit/hbqtwebkit.hbx * contrib/hbqt/qtnetwork/hbqtnetwork.hbx * contrib/hbqt/qtuitools/hbqtuitools.hbx * contrib/hbqt/qtdesigner/hbqtdesigner.hbx * Regenerated. * contrib/hbqt/hbqt_all.hbp + Enabled HBQTDESIGNER and HBQTWEBKIT libs. * contrib/hbqt/qtgui/qth/QApplication.qth * contrib/hbqt/qtgui/g/QApplication.cpp * contrib/hbqt/qtcore/qth/QCoreApplication.qth * contrib/hbqt/qtcore/g/QCoreApplication.cpp + Merged existing lib init functionality into generic lib init code. * contrib/hbide/idemain.prg * Adapted to above changes. ; TODO: Add automatic references to puller symbols. [DONE] ; TODO: Delete old explicit puller symbols. [DONE] 2010-10-28 01:08 UTC+0200 Viktor Szakats * contrib/hbqt/qtcore/hbqt_misc.prg ! Debug stuff left in. 2010-10-28 00:50 UTC+0200 Viktor Szakats * contrib/hbqt/qtcore/hbqt_pointer.cpp + __HBQT_ERROR() accepts error code. * contrib/hbqt/qtcore/hbqt_hbqevents.cpp * contrib/hbqt/qtcore/hbqt_hbqslots.cpp + __HBQT_SLOTS_[DIS]CONNECT(), __HBQT_EVENTS_[DIS]CONNECT() will now return a numeric error code which is zero on success and a negative number on failure. Each failure case returns a distinct number. % Cleaned and simplified the code, though it's still very messy and it probably has some bad race conditions and other oddities also. Variable names also need a revamp to get consistent. Remove several TRACE calls, now the error ones should RTE. % Merged two internal worker functions into caller function. ! Fixed bad miss in hbqt_slots_unregister_callback(). (It's not called in Harbour code yet) Thanks Francesco Perillo for spotting it. * contrib/hbqt/qtcore/hbqt_misc.prg * :connect()/:disconnect() will now throw RTEs in case any errors were detected. Can be fine tuned later, if needed. ; NOTE: Please contribute with code and patches as I have hardly much time to deal with complaints in detail. Peer-review is also highly welcome. commit mailing list is recommended to verify what has been changed. 2010-10-27 18:51 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/ChangeLog - removed wrong ChangeLog entry committed unintentionally with previous commit * harbour/src/rdd/hbsix/sxcompat.prg ! fixed very old typo 2010-10-27 18:30 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rdd/dbcmd.c * modified HB_FIELDLEN(), HB_FIELDDEC(), HB_FIELDTYPE() to accept also field name (not only field index) * harbour/contrib/hbfship/hbfship.hbp + harbour/contrib/hbfship/fldarr.prg + harbour/contrib/hbfship/isdb.prg + harbour/contrib/hbfship/isfunc.c + harbour/contrib/hbfship/isbegseq.c + harbour/contrib/hbfship/flddeci.c + added FlagShip compatible functions: FieldGetArr( [ <nRecNo> ] ) -> <aFieldValues> FieldPutArr( <aFieldValues> [, <nRecNo> ] ) -> <lSuccess> IsDbExcl() -> <lExclusive> IsDbFlock() -> <lFLocked> IsDbRLock( [ <xRec> ] ) -> <lLocked> IsFunction( <cName> ) -> <lExists> IsBegSeq() -> <lResult> FieldDeci( <cFieldName> | <nFieldPos> ) -> <nDecimals> * harbour/contrib/hbwin/axcore.c * minor cleanup - replaced some 0 values with S_OK macro 2010-10-27 17:45 UTC+0200 Viktor Szakats * contrib/hbqt/tests/demoqt.prg * contrib/hbqt/tests/dialogqt.prg % Deleted unnecessary manifest constants for signal names (used inconsistently). * contrib/hbxbp/tests/demoxbp.prg * contrib/hbxbp/tests/dialogqt.prg % Deleted unnecessary synonym for HB_SYMBOL_UNUSED(). 2010-10-27 05:21 UTC+0200 Viktor Szakats * src/rtl/gete.c % Optimization to GETENV()/HB_GETENV(). Patch by Tamas Tevesz. + Added more details to comment on why it's needed to strip '=' part from envvar name. * contrib/hbqt/tests/demoqt.prg * contrib/hbqt/tests/dialogqt.prg * contrib/hbqt/tests/testqaim.prg ! Fixed external files' references to use executable's directory as a base, instead of current dir. * contrib/hbhpdf/harupdf.c ! HPDF_Page_CreateStampAnnot(): Fixed wrongly passed 3rd parameter. * contrib/hbssl/evpmd.c ! EVP_SIGNFINAL(): Fixed wrong returned buffer size. * config/postinst.hbs * Implemented GetEnv() caching, based on patch sent by Tamas Tevesz and further optimized. 2010-10-25 17:20 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/hbjson.c * modified the if() condition to pacify some compiler warnings 2010-10-25 15:21 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/hbstrfmt.c + added support for 'x' and 'X' specifiers in hb_strFormat() function 2010-10-25 13:31 UTC+0200 Viktor Szakats * contrib/hbqt/qtgui/hbqt_registersignals.cpp * contrib/hbqt/qtcore/hbqt_registersignals.cpp * contrib/hbqt/qtnetwork/hbqt_registersignals.cpp + Added FIXME notes to each hb_vmPushPointer() calls. 2010-10-25 12:09 UTC+0200 Viktor Szakats * contrib/hbqt/qtcore/hbqt_hbqevents.cpp * contrib/hbqt/qtcore/hbqt_hbqslots.cpp ! Fixed to use hb_snprintf() instead of unsafe sprintf(). ! Fixed __HBQT_SLOTS_CONNECT() to not accept non-blocks as handlers. ! __HBQT_SLOTS_CONNECT() fixed to use its own function name in generated RTE, instead of "CONNECT" string which might not be easily located. ; TODO: Maybe it'd be even better to throw the RTE from the wrapper class. [DONE] - Deleted commented lines. * Formatted according to Harbour stds. 2010-10-25 01:56 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/g/QApplication.cpp - Deleted: debug info remain hanging in last commit. 2010-10-25 01:49 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtcore/hbqt.h * contrib/hbqt/qtcore/hbqt_hbqslots.cpp + contrib/hbqt/qtcore/hbqt_registersignals.cpp * contrib/hbqt/qtcore/hbqtcore.hbc * contrib/hbqt/qtcore/hbqtcore.hbm * contrib/hbqt/qtcore/hbqtcore.hbx * contrib/hbqt/qtgui/g/QApplication.cpp + contrib/hbqt/qtgui/hbqt_registersignals.cpp * contrib/hbqt/qtgui/hbqtgui.hbm * contrib/hbqt/qtgui/hbqtgui.hbx + contrib/hbqt/qtnetwork/hbqt_registersignals.cpp * contrib/hbqt/qtnetwork/hbqtnetwork.hbm * contrib/hbqt/qtnetwork/hbqtnetwork.hbx + Implemented: module specific signal/slots mechanism. Now each module contains its own signals. The basic patch was forwarded by Viktor, cheer him. * contrib/hbide/idemain.prg + Added: REQUEST __HBQT_REGISTERCORECALLBACKS REQUEST __HBQT_REGISTERGUICALLBACKS REQUEST __HBQT_REGISTERNETWORKCALLBACKS I know this is a hack and can be removed once this new protocol is fine tuned, so, so long. 2010-10-24 13:31 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtcore/hbqt_hbqslots.cpp - Disabled: QtNetwork module related signals. It was causing circulary dependencies of Qt* libs. 2010-10-24 13:31 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtcore/hbqt_hbqslots.cpp + Implemented: remaining signals from all classes included in hbQT. It also include all signals related to QWebKit though any component of this module is not referenced at all. + Implemented: another very sleak and manageable design. 2010-10-23 11:30 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtcore/doc/en/class_hbqslots.txt * contrib/hbqt/qtcore/g/HBQSlots.cpp * contrib/hbqt/qtcore/g/THBQSlots.prg * contrib/hbqt/qtcore/qth/HBQSlots.qth - Deleted: unused methods. * contrib/hbqt/qtcore/hbqt_hbqslots.cpp * contrib/hbqt/qtcore/hbqt_hbqslots.h - Deleted: unused methods. ! Fixed: wrong notations: "QModel" => "QModelIndex" Signal/Slots are now bare sleek and scalable. 2010-10-23 11:02 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/hbqreportsmanager.prg * contrib/hbide/idebrowse.prg * contrib/hbide/idedocks.prg * contrib/hbide/ideedit.prg * contrib/hbide/idefindreplace.prg * contrib/hbide/idefunctions.prg * contrib/hbide/ideharbourhelp.prg * contrib/hbide/idehome.prg * contrib/hbide/idesaveload.prg * contrib/hbide/ideshortcuts.prg * contrib/hbxbp/xbpbrowse.prg * contrib/hbxbp/xbplistbox.prg * contrib/hbxbp/xbpprintdialog.prg * contrib/hbxbp/xbptreeview.prg ! Changed: :connect( "QClass *", ... ) => :connect( "QClass*", ... ) This way we are uniform with signal notation also confirm to Qt protocol. 2010-10-23 10:27 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/idebrowse.prg * contrib/hbide/idedocks.prg ! Fixed: QMdiSubWindow => QMdiSubWindow * global replacement was wrong. 2010-10-23 18:45 UTC+0200 Viktor Szakats * contrib/hbhpdf/harupdf.c ! Newly added 2.2.0 wrapper code protected with version guards. Added fallback code for older versions. ; TODO: Split the wrapper into separate files to save final binary size. [DONE] 2010-10-23 09:07 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbhpdf/harupdf.c + Added: following functions contained in LibHaru 2.2.0: HPDF_GetContents HPDF_CheckError HPDF_Page_SetZoom HPDF_Page_CreateFreeTextAnnot HPDF_Page_CreateLineAnnot HPDF_Page_CreateTextMarkupAnnot HPDF_Page_CreateHighlightAnnot HPDF_Page_CreateUnderlineAnnot HPDF_Page_CreateSquigglyAnnot HPDF_Page_CreateStrikeOutAnnot HPDF_Page_CreatePopupAnnot HPDF_Page_CreateStampAnnot HPDF_Page_CreateSquareAnnot HPDF_Page_CreateCircleAnnot HPDF_Annot_SetRGBColor HPDF_Annot_SetCMYKColor HPDF_Annot_SetGrayColor HPDF_Annot_SetNoColor HPDF_MarkupAnnot_SetTitle HPDF_MarkupAnnot_SetSubject HPDF_MarkupAnnot_SetCreationDate HPDF_MarkupAnnot_SetTransparency HPDF_MarkupAnnot_SetIntent HPDF_MarkupAnnot_SetPopup HPDF_MarkupAnnot_SetRectDiff HPDF_MarkupAnnot_SetCloudEffect HPDF_MarkupAnnot_SetInteriorRGBColor HPDF_MarkupAnnot_SetInteriorCMYKColor HPDF_MarkupAnnot_SetInteriorGrayColor HPDF_MarkupAnnot_SetInteriorTransparent HPDF_TextMarkupAnnot_SetQuadPoints HPDF_Annot_Set3DView HPDF_PopupAnnot_SetOpened HPDF_FreeTextAnnot_SetLineEndingStyle HPDF_FreeTextAnnot_Set3PointCalloutLine HPDF_FreeTextAnnot_Set2PointCalloutLine HPDF_FreeTextAnnot_SetDefaultStyle HPDF_LineAnnot_SetPosition HPDF_LineAnnot_SetLeader HPDF_LineAnnot_SetCaption HPDF_Annotation_SetBorderStyle HPDF_Page_Create3DView HPDF_LoadPngImageFromMem HPDF_LoadJpegImageFromMem HPDF_Image_AddSMask HPDF_AttachFile HPDF_ICC_LoadIccFromMem HPDF_LoadIccProfileFromFile Not tested yet. Witll update the demo code later. 2010-10-23 16:44 UTC+0200 Viktor Szakats * contrib/hbqt/qtcore/hbqt_hbqslots.cpp ! Deleted hack to centrally manipulate non-standard slot names used in app level code: "QWidget" -> "QWidget *" "QPrinter" -> "QPrinter *" "QLWItem" -> "QListWidgetItem *" "QTWItem" -> "QTreeWidgetItem *" "QTblWItem" -> "QTableWidgetItem *" "QMdiSubWindow" -> "QMdiSubWindow *" * contrib/hbxbp/xbplistbox.prg * contrib/hbxbp/xbpbrowse.prg * contrib/hbxbp/xbpprintdialog.prg * contrib/hbxbp/xbptreeview.prg * contrib/hbide/idefindreplace.prg * contrib/hbide/ideedit.prg * contrib/hbide/hbqreportsmanager.prg * contrib/hbide/idefunctions.prg * contrib/hbide/idesaveload.prg * contrib/hbide/ideharbourhelp.prg * contrib/hbide/idehome.prg * contrib/hbide/ideshortcuts.prg * contrib/hbide/idebrowse.prg * contrib/hbide/idedocks.prg ! Fixed to use standard slot names. 2010-10-23 16:27 UTC+0200 Viktor Szakats * contrib/hbqt/qtgui/hbqtgui.hbx * contrib/hbqt/qtgui/THbQtUI.prg * Renamed HbQtUI2 class to HbQtUI. * contrib/hbqt/hbqt_hbmk2_plugin.hbs * Changed code generared for .ui embedding to use new, cleaned HbQtUI object. ; TODO: Fix user code to not access HbQtUI internal variables. * contrib/hbqt/qtcore/hbqt_hbqslots.cpp * contrib/hbqt/qtcore/hbqt_hbqslots.h - Deleted old monolithic code. - Deleted eval callback variation (it was disabled). % Cleaned headers. ; TODO: Dynamically register the callbacks, so we can finally delete QtGui references from this code. [DONE] * contrib/hbqt/qtcore/hbqtcore.hbm % Do not include hbqt_hbqslots.h anymore. * contrib/hbqt/qtuitools/hbqtuitools.hbx * contrib/hbqt/qtuitools/THbQtUILoader.prg * Renamed HbQtUI class to HbQtUILoader. + Added FIXME to change this class to inherit from HbQtUI. ; INCOMPATIBLE: If you use HbQtUI class to load on-disk .ui or .uic files, update your code to use HbQtUILoader(). ; NOTE: hbide must be clean built. (and all other apps that are embedding .ui files) 2010-10-23 14:16 UTC+0200 Viktor Szakats * external/libhpdf/libhpdf.dif * Patched up the diff file, fixing previous problem and applying recent local change. Thanks to Tamas Tevesz for this patch. 2010-10-23 13:26 UTC+0200 Viktor Szakats * external/libhpdf/hpdfpdfa.c ! Fixed C++ variable declraration. ; NOTE: Could not rediff because the newly added hpdfpdfa.c file is missing from the diffing process. Also current .diff appears to contain some invalid diffs for this file. [DONE] 2010-10-23 11:00 UTC+0200 Viktor Szakats * contrib/hbtip/encqp.prg * QP decoder will now accept LF EOLs (to work well with non-compliant mailers). * external/libhpdf/hpdfpags.h * external/libhpdf/hpdffdfb.c * external/libhpdf/hpdfxref.c * external/libhpdf/hpdfcons.h * external/libhpdf/hpdfextg.c * external/libhpdf/hpdfencc.c * external/libhpdf/hpdffdfj.c + external/libhpdf/hpdfpdfa.c * external/libhpdf/hpdfextg.h * external/libhpdf/hpdfstre.c * external/libhpdf/hpdffdfn.c + external/libhpdf/hpdfpdfa.h * external/libhpdf/hpdffdf1.c * external/libhpdf/hpdfenck.c * external/libhpdf/hpdfstri.c * external/libhpdf/hpdfstre.h * external/libhpdf/hpdffdft.c * external/libhpdf/hpdfoutl.c * external/libhpdf/hpdfenco.c * external/libhpdf/hpdfecyd.c * external/libhpdf/hpdfimap.c * external/libhpdf/hpdfoutl.h * external/libhpdf/hpdfenco.h * external/libhpdf/Makefile * external/libhpdf/hpdffond.h * external/libhpdf/hpdfency.h * external/libhpdf/hpdffon1.c * external/libhpdf/hpdffont.c * external/libhpdf/hpdfcata.c * external/libhpdf/hpdffont.h * external/libhpdf/hpdfutil.c * external/libhpdf/hpdfcata.h * external/libhpdf/hpdfutil.h * external/libhpdf/hpdfdict.c * external/libhpdf/hpdfreal.c * external/libhpdf/hpdfarra.c * external/libhpdf/hpdfdocp.c * external/libhpdf/libhpdf.dif * external/libhpdf/hpdfconf.h * external/libhpdf/hpdfinfo.c * external/libhpdf/hpdfanno.c * external/libhpdf/hpdfgsta.c * external/libhpdf/hpdfdest.c * external/libhpdf/hpdfinfo.h * external/libhpdf/hpdfanno.h * external/libhpdf/hpdfnumb.c * external/libhpdf/hpdffdfc.c * external/libhpdf/hpdfgsta.h * external/libhpdf/hpdfdest.h * external/libhpdf/hpdfdoc.c * external/libhpdf/hpdferro.c * external/libhpdf/hpdffdfi.c * external/libhpdf/hpdfbina.c * external/libhpdf/hpdfdoc.h * external/libhpdf/hpdffdfk.c * external/libhpdf/hpdflist.c * external/libhpdf/hpdferro.h * external/libhpdf/hpdfimag.c * external/libhpdf/hpdfencj.c * external/libhpdf/hpdflist.h * external/libhpdf/hpdfecy.c * external/libhpdf/hpdfimag.h * external/libhpdf/hpdfencn.c * external/libhpdf/hpdffonc.c * external/libhpdf/hpdfu3d.c * external/libhpdf/hpdfencr.h * external/libhpdf/hpdffdf.c * external/libhpdf/hpdfu3d.h * external/libhpdf/hpdfmmgr.c * external/libhpdf/hpdfmmgr.h * external/libhpdf/hpdfnull.c * external/libhpdf/README * external/libhpdf/hpdffott.c * external/libhpdf/hpdfpage.c + external/libhpdf/hpdfndic.c * external/libhpdf/hpdfobje.c * external/libhpdf/hpdfname.c * external/libhpdf/hpdfpage.h + external/libhpdf/hpdfndic.h * external/libhpdf/hpdf.h * external/libhpdf/hpdfobje.h * external/libhpdf/hpdfvers.h * external/libhpdf/hpdfpago.c * external/libhpdf/hpdftype.h * external/libhpdf/hpdfpags.c * external/libhpdf/hpdfbool.c + libharu updated to official 2.2.0 release (from 2.1.0). Patch sent by Tamas Tevesz. * Added new files to Makefile. 2010-10-23 10:40 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/external/zlib/zlib.dif * regenerated .diff file - many thanks to Tamas Tevesz for very nice tool which automates this process 2010-10-23 09:36 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbct/video.c * updated to compile with DJGPP 2.03 2010-10-23 09:16 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/external/zlib/zutil.h * harbour/external/zlib/gzguts.h * disable vsnprintf() in DOS builds only for DJGPP 2.03 or earlier ! reenabled #include <io.h> in DOS builds - it was disabled by our local modifications TODO: regenerate .diff file * harbour/contrib/hbssl/hbssl.hbc * moved 'skip={dos}' after 'incpaths=.' as workaround for broken DOS build process at hbtipssl 2010-10-23 08:20 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/hbcom.c ! fixed path to PMCOM header files 2010-10-24 02:21 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/rtl/hbjson.c + added support for date and timestamp type encoding 2010-10-24 02:10 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/rtl/hbjson.c + added human readable JSON encoding support char * hb_jsonEncode( PHB_ITEM pValue, HB_SIZE * pnLen, HB_BOOL fHuman ); hb_jsonEncode( xValue [, lHuman = .F. ] ) --> cJSON ! removed UTF8 encoding from JSON functions. These function should return/accept data in VM codepage, just like any other string function. If JSON string is to be stored as some binary stream (ex., file), HB_StrToUTF8() should be applied on the hb_jsonEncode() result. This conversion removal fixes code when returned JSON string is used not as a binary stream. Ex.: oIE:document:getElementById("data_div"):innerHtml := hb_jsonEncode(xValue) 2010-10-23 21:15 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) - harbour/include/hbnsctp.ch - harbour/include/hbnsctp.h - harbour/src/rtl/hbnsctp.c - harbour/src/rtl/hbnsctph.c + harbour/include/hblpp.ch + harbour/include/hblpp.h + harbour/src/rtl/hblpp.c + harbour/src/rtl/hblpphb.c * harbour/src/rtl/Makefile * NSCTP -> LPP 2010-10-22 19:08 UTC+0200 Viktor Szakats * contrib/hbwin/win_os.prg ! Fixed all Vista stuff to also apply to above Vista. 2010-10-22 10:01 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/hbide.hbp ! -3rd=file= => -3rd=hbide_file= * contrib/hbide/ideprojmanager.prg ! A little fix for -3rd=file= => -3rd=hbide_file=. 2010-10-22 09:51 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/idebrowse.prg ! Fixed: :stretchLastSection() => :setStretchLastSection(). 2010-10-22 18:45 UTC+0200 Viktor Szakats * contrib/hbide/idemisc.prg * contrib/hbide/ideprojmanager.prg * -3rd=file= -> -3rd=hbide_file= ; Pls test and correct me if needed. 2010-10-22 09:32 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/idemisc.prg ! Fixed: a possible bug where .h files included in .hbp were not guarded against -3rd=file=. 2010-10-22 17:49 UTC+0200 Viktor Szakats * contrib/hbwin/win_os.prg + WIN_OSNETREGOK() extended to disable some SMB2 internal caches, which if left on default might cause db corruption on Vista and above systems. * include/hbnsctp.ch + Added comment that the file is used by C code. 2010-10-22 15:09 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/external/Makefile + harbour/external/hbpmcom + harbour/external/hbpmcom/Makefile + harbour/external/hbpmcom/wrap_ow.c + harbour/external/hbpmcom/com.c + harbour/external/hbpmcom/irq.h + harbour/external/hbpmcom/irq_ow.c + harbour/external/hbpmcom/irq_g.c + harbour/external/hbpmcom/com.h + harbour/external/hbpmcom/wrap_g.sx + harbour/external/hbpmcom/irqwrap.h + harbour/external/hbpmcom/doc + harbour/external/hbpmcom/doc/readme.txt + harbour/external/hbpmcom/doc/com.txt + added PMCOM library - RS-232 DOS communication library by Peter Marinov. The original PMCOM 1.0 library has not been updated for very long time and this code is quite strongly modified so I haven't tried to generate any .diff files. I do not think it will be possible to make autoamtic merege with newwer version (if any appears). This is also the reason I decided to use HBPMCOM name instead of PMCOM to avoid potential conflicts with some local versions of this library. TODO: add support for flow control - now flow control functions are dummy and do not enable any handshaking. * harbour/src/rtl/hbcom.c * harbour/config/dos/watcom.mk * harbour/config/dos/djgpp.mk + added support for serial port in DOS builds (hb_com*() PRG and C API) using HBPMCOM library. 2010-10-22 14:29 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/vm/fm.c * added workaround for some compiler which defines FORCEINLINE macro with 'extern' keyword (i.e. some MinGW versions). * harbour/contrib/rddads/rddads.h * added workaround for some MinGW versions which do not understand _declspec() but only __declspec() 2010-10-22 11:24 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/gtwvt/gtwvt.c ! use ERROR_CLASS_ALREADY_EXISTS instead of hardcoded 1410 value * allow to use GTWVT in programs linked as non GUI ones (console programs) 2010-10-22 01:39 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtcore/g/HBQString.cpp * contrib/hbqt/qtcore/g/QAbstractItemModel.cpp * contrib/hbqt/qtcore/g/QAbstractListModel.cpp * contrib/hbqt/qtcore/g/QAbstractTableModel.cpp * contrib/hbqt/qtcore/g/QByteArray.cpp * contrib/hbqt/qtcore/g/QSettings.cpp * contrib/hbqt/qtcore/g/QUrl.cpp * contrib/hbqt/qtgui/g/HBQAbstractItemModel.cpp * contrib/hbqt/qtgui/g/QComboBox.cpp * contrib/hbqt/qtgui/g/QCompleter.cpp * contrib/hbqt/qtgui/g/QDirModel.cpp * contrib/hbqt/qtgui/g/QGraphicsItem.cpp * contrib/hbqt/qtgui/g/QGraphicsLayoutItem.cpp * contrib/hbqt/qtgui/g/QGraphicsScene.cpp * contrib/hbqt/qtgui/g/QGraphicsView.cpp * contrib/hbqt/qtgui/g/QIcon.cpp * contrib/hbqt/qtgui/g/QImage.cpp * contrib/hbqt/qtgui/g/QPainter.cpp * contrib/hbqt/qtgui/g/QPainterPath.cpp * contrib/hbqt/qtgui/g/QPixmap.cpp * contrib/hbqt/qtgui/g/QStandardItemModel.cpp * contrib/hbqt/qtgui/g/QStringListModel.cpp * contrib/hbqt/qtgui/g/QTextDocument.cpp * contrib/hbqt/qtnetwork/g/QNetworkRequest.cpp * contrib/hbqt/qtwebkit/g/QWebFrame.cpp * contrib/hbqt/qtwebkit/g/QWebView.cpp * Re-generated: HB_ISPOINTER => HB_ISOBJECT. * contrib/hbqt/utils/hbqtgen.prg ! Fixed: for HB_ISPOINTER => HB_ISOBJECT in C++ code. 2010-10-22 01:01 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/projectpropertiesex.ui % Rearranged: tab names in accordance with new Project Management. * contrib/hbide/hbide.hbp ! Loaded in hbIDE, added hbide.ch, and saved. * contrib/hbide/idemain.prg * contrib/hbide/idemisc.prg * contrib/hbide/ideprojmanager.prg + Implemented: in-demand-since-begining feature to contain anciallary files within the project tree but still keeping compatibility with hbMK2. Also to have single project file with all its contents intact, for GUI and command line interface. It is how it is achieved: a .hbp is loaded in HBP tab "as is" except stripping the header part which is readded when the project is saved. The header part is comprised of : # # $Id # -3rd=hbide_* contents. Rest whole of the on-disk contents of .hbp are made available for editing. When a source is added via Add button, it is checked if it is a compilable source. If not then "-3rd=file=" + filename is added at the bottom. Compilable sources are recognized by extention: ".c,.cpp,.prg,.hbs,.rc,.res,.hbm,.hbc,.qrc,.ui" If any is missing, please shout. TODO: user defined list of extentions for this purpose. The project tree is now more organized and is listed sorted on extention and filename. User can easily locate the source of interest and click to bring it into the editor. Please test extensively, I might have left new bugs for sure. 2010-10-21 12:51 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtcore/hbqt_hbqslots.cpp + Added: "QModelIndex,QModelIndex" constant. * contrib/hbqt/tests/testbrow.prg - Replaced: BREAK => EXIT. Under such context, BREAK ( break; ) is a C statement not Harbour. 2010-10-21 22:12 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/contrib/sddodbc/sddodbc.c + added support for SQL_NUMERIC data type 2010-10-21 09:12 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/idehome.prg ! Corrected: paths to be shown in original case in "Stats" tab. It fixes the wrong representation of paths in *nix systems. 2010-10-21 19:05 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/src/rtl/hbnsctph.c * changes to make compilers happy 2010-10-21 14:10 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/src/rtl/hbnsctp.c * added type casting and local variable initialization to make some compilers happy 2010-10-21 03:18 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/contrib/hbmysql/hbmysql.hbp * harbour/contrib/sddmy/sddmy.hbp * added alternative mysql library path + harbour/include/hbnsctp.ch + harbour/include/hbnsctp.h * harbour/src/rtl/Makefile + harbour/src/rtl/hbnsctp.c + harbour/src/rtl/hbnsctph.c + added NSCTP (Not Stream Control Transfer Protocol) functions. Both C and PRG interfaces functions provided. ; Idea, protocol description, name, function description, samples are presented at the beginning of hbnsctph.c file. I only put function syntax here to help ChangeLog be a source of documentation: hb_nsctpCreate( hSocket ) --> hNSCTP hb_nsctpDestroy( hNSTP ) hb_nsctpError( hNSCTP ) --> nError hb_nsctpSetLimit( hNSCTP, nLimit ) hb_nsctpSend( hNSCTP, cBuf [, nTimeout = FOREVER ] ) --> lSuccess hb_nsctpRecv( hNSCTP, @cBuf [, nTimeout = FOREVER ] ) --> lSuccess hb_nsctpSendLen( hNSCTP ) --> nBytesSent hb_nsctpRecvLen( hNSCTP ) --> nBytesReceived 2010-10-20 17:02 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qscintilla/qth/QsciAbstractAPIs.qth * contrib/hbqt/qscintilla/qth/QsciCommand.qth * contrib/hbqt/qscintilla/qth/QsciCommandSet.qth * contrib/hbqt/qscintilla/qth/QsciLexer.qth * contrib/hbqt/qtdesigner/qth/QDesignerActionEditorInterface.qth * contrib/hbqt/qtdesigner/qth/QDesignerFormWindowCursorInterface.qth * contrib/hbqt/qtdesigner/qth/QDesignerFormWindowInterface.qth * contrib/hbqt/qtdesigner/qth/QDesignerFormWindowManagerInterface.qth * contrib/hbqt/qtdesigner/qth/QDesignerObjectInspectorInterface.qth * contrib/hbqt/qtdesigner/qth/QDesignerPropertyEditorInterface.qth * contrib/hbqt/qtdesigner/qth/QDesignerWidgetBoxInterface.qth * contrib/hbqt/qtgui/qth/QApplication.qth + Added: Constructor = no. * contrib/hbqt/qtgui/qth/QClipboard.qth + Added: Constructor = no. QClipboard() does not have constructor so it has never to be released. Maybe this fixes the bug reported on HMG forums. * contrib/hbqt/qtgui/g/QClipboard.cpp * Re-generated. * contrib/hbqt/utils/hbqtgen.prg + Introduced: ::isDetached member pulled from .qth header. 2010-10-21 00:52 UTC+0200 Viktor Szakats * utils/hbrun/hbrun.prg ! Refixed icon ordinal in file type registration. 2010-10-20 23:57 UTC+0200 Viktor Szakats * contrib/hbcurl/hbcurl.hbc * Changed to use 'libcurl' as implib name also for mingw. This name will work for the implib generated by Harbour build process. If you want to use something else (e.g. one shipped with a prebuilt libcurl binary release), update the .hbc file locally. * utils/hbrun/hbrun.prg * Minor stdization in recent output msgs. 2010-10-20 16:29 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/common/hbtrace.c ! fixed to not overwrite user trace settings with default or environment configuration on 1st call to hb_tr_level()/ hb_tracelevel() function 2010-10-20 07:36 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbct/hbct.hbx * harbour/contrib/hbqt/qtuitools/hbqtuitools.hbx * harbour/examples/httpsrv/home/js/ajax.js ! set svn:eol-style to native * set svn:keywords to Author Date Id Revision * harbour/src/lang/msgsv.c * harbour/src/lang/msgsvwin.c * harbour/contrib/xhb/xhbinkey.prg * harbour/contrib/hbxbp/tests/dialogqt.prg * harbour/contrib/hbxbp/tests/wvtqt.hbp * harbour/contrib/hbxbp/tests/wvtqt.prg * harbour/contrib/hbide/hbqtoolbar.prg * harbour/contrib/hbide/hbqreportsmanager.prg * harbour/contrib/hbide/plugins/hbide_script_rdds.prg * harbour/contrib/hbide/idedict.prg * harbour/contrib/hbide/idebrowse.prg * set svn:keywords to Author Date Id Revision 2010-10-20 07:07 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/harbour.hbx * harbour/include/hblang.hbx * regenerated BTW 'make install' does not regenerate core .hbx files so they were not updated for quite long time thogh I have set export HB_REBUILD_EXTERN=yes * harbour/contrib/xhb/hbcompat.ch + added hb_bitTest() <-> hb_bitIsSet() translations 2010-10-19 16:55 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/idedocks.prg ! Code cleanup. * contrib/hbqt/qtcore/hbqt_hbqslots.cpp * contrib/hbqt/qtcore/hbqt_hbqslots.h ! Fixed: hb_vmPushLogical( *reinterpret_cast< int( * ) >( arguments[ 1 ] ) ); => hb_vmPushLogical( *reinterpret_cast< bool( * ) >( arguments[ 1 ] ) ); ! Reimplemented: Francesco's signal management protocol which got broke due to above overlook. 2010-10-20 00:14 UTC+0200 Viktor Szakats * contrib/hbziparc/hbziparc.prg + HB_ZIPFILE() will now store file timestamp in zip. * utils/hbrun/hbrun.prg * Minor cleanup. 2010-10-19 23:54 UTC+0200 Viktor Szakats * utils/hbrun/hbrun.prg + Added support for registering/unregistering .hbs file type in Windows registry. Based on .reg files provided by Mindaugas (with modifications and unregister support). I changed the way defaulticon entry is made, but it still doesn't appear, maybe I need reboot or something. Pls test it. Usage (from command-line): -r - register for current user -ra - register for all users (requires admin rights) -u - unregister for current user -ua - unregister for all users (requires admin rights) Tested on Win7 using current user only. NOTE: regedit (the tool used for registration) doesn't return errorlevels on error, so it's not possible to write correct feedback (so hbrun always shows success). 2010-10-19 23:00 UTC+0200 Viktor Szakats * package/winuni/mpkg_win_uni.bat ! Added .hbs files in contrib roots to unified windows package. In practice this means that the hbmk2 qt plugin will now be shipped with standard distro. * utils/hbmk2/hbmk2.prg ! Typo in comment. 2010-10-19 09:19 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/hbqtgui.ch + Added: more constants. * contrib/hbqt/qtcore/hbqt_hbqslots.cpp * contrib/hbqt/qtcore/hbqt_hbqslots.h % Reverted: back to signals previous protocol until new is mature enough. * contrib/hbqt/qtcore/hbqtcore.hbx * contrib/hbqt/qtgui/hbqtgui.hbx * contrib/hbqt/qtnetwork/hbqtnetwork.hbx * contrib/hbqt/qtuitools/hbqtuitools.hbx * Re-generated. * contrib/hbqt/qt*/g/*.prg * Re-generated after effected changes in hbqtgen.prg. * contrib/hbqt/qtgui/qth/QMainWindow.qth ! More children detached. * contrib/hbide/idedocks.prg ! A small fix. * contrib/hbide/ideprojmanager.prg ! Fixed: Launching a project from main-menu was generating a RTE when there was no project defined, repoted by Frank. 2010-10-18 14:10 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/idemisc.prg + Applied: patch from Viktor. Now .hbm files are available inside list of project files and it also become part of the .hbp if that is written back on disk plus for editing purposes. 2010-10-18 21:35 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/debug/dbgwa.prg ! added missing REQUEST FIELDGET + added support for timestamp, hash and NIL values which can be extracted from fields in some RDDs 2010-10-18 13:43 UTC+0200 Viktor Szakats * package/winuni/mpkg_win_uni.bat * package/winuni/mpkg_win_uni.nsi ! Added uic/rcc tools to install packages. * QT related runtime/build time files are now installed unconditionally and independently from HBIDE. 2010-10-18 12:18 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/compiler/hbmain.c ! reset function and class declaration between compiling files included by SET PROCEDUR TO <name> or DO <name> [ WITH <args,...> ] This behavior is synced with PP rules resetting. * harbour/contrib/xhb/xhb.hbp + added two .ch files * harbour/contrib/hbct/hbct.hbx * regenerated with LF EOL. I think that these files should be declared in SVN as using native EOLs 2010-10-17 18:44 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/idebrowse.prg % Changed: one signal to new format. * contrib/hbide/idemain.prg % Changed: instance variables to local ones. * contrib/hbxbp/hbpprocess.prg % Changed: one signal to new format. * contrib/hbxbp/xbpbrowse.prg % Changed: one signal to new format. * contrib/hbxbp/xbpspinbutton.prg ! Destroy() was misbehaving. * contrib/hbqt/qtcore/hbqt_hbqslots.cpp * contrib/hbqt/qtcore/hbqt_hbqslots.h + Implemented: Francesco's signal/slot mechanism over older one. It is a big leap forward, please cheer Francesco Perillo. TODO: changing signal definitions to exactly that of Qt itself. It is a challenging job and needs a real concentration. 2010-10-18 00:57 UTC+0200 Viktor Szakats * contrib/hbqt/qtgui/hbqtgui.hbx + contrib/hbqt/qtgui/THbQtUI.prg * contrib/hbqt/qtgui/hbqtgui.hbm * contrib/hbqt/qtuitools/hbqtuitools.hbm * contrib/hbqt/qtuitools/hbqtuitools.hbx - contrib/hbqt/qtuitools/THbQtUI.prg + contrib/hbqt/qtuitools/THbQtUILoader.prg * contrib/hbqt/hbqt_hbmk2_plugin.hbs + Added new HbQtUI class (with temp name HbQtUI2) which is light version of HbQtUI with no ties to qtuitools/uiloader components. New class is inheriting from HBQT root class, it contains minor optimizations and cleanups. It works, but it's not yet activated. * Moved Q__TR() to hbqtgui from hbqtuitools. ; TODO: Clear all FIXME/QUESTION/TODO items in THbQtUI.prg. E.g. user code like hbide makes quite many direct manipulations on HbQtUI internal variables. This should pbly be fixed. ; TODO: Optimize the OnError way of doing things in HbQtUI class. * Renamed THbQtUI.prg to THbQtUILoader.prg in hbqtuitools. 2010-10-17 23:35 UTC+0200 Viktor Szakats * contrib/hbxbp/hbxbp.hbc * contrib/hbide/hbide.hbp * Moved inclusion of hbqtuitools from hbxbp to hbide. Dynamic QUiLoader shall only be needed if app explicitly requires loading .ui/.uic files dynamically. ; FIXME: Separate dynamic ui loader code from static one (pbly HbQtUi class needs to be split into two parts) [DONE] * contrib/hbide/idemain.prg + Reenabled puller code, because external scripts may need it. 2010-10-17 22:36 UTC+0200 Viktor Szakats * contrib/hbide/idemain.prg % Do not link all HBXBP classes. It's not required now that .ui files are compiled to .prg at build time. This will make hbide slightly smaller. 2010-10-17 22:33 UTC+0200 Viktor Szakats * contrib/hbide/idemain.prg % Do not link all GUI classes. It's not required now that .ui files are compiled to .prg at build time. This will make hbide slightly smaller. 2010-10-17 21:34 UTC+0200 Viktor Szakats * contrib/hbqt/qtuitools/hbqtuitools.hbc ! Typo in prev. 2010-10-17 21:33 UTC+0200 Viktor Szakats * contrib/hbqt/qtuitools/hbqtuitools.hbc ! Fixed to include the lib itself. 2010-10-17 20:59 UTC+0200 Viktor Szakats * contrib/hbxbp/hbxbp.hbc + Added missing hbqtuitools reference after last commit. 2010-10-17 16:35 UTC+0200 Viktor Szakats * contrib/hbqt/hbqt.hbc * contrib/hbqt/hbqt_all.hbp + contrib/hbqt/hbqtuitools.hbc + contrib/hbqt/utils/QtUiTools.txt + contrib/hbqt/utils/qtuitools.qtp + contrib/hbqt/qtuitools + contrib/hbqt/qtuitools/hbqtuitools.hbm + contrib/hbqt/qtuitools/hbqtuitools.hbx + contrib/hbqt/qtuitools/hbqtuitools.hbp + contrib/hbqt/qtuitools/doc + contrib/hbqt/qtuitools/doc/en + contrib/hbqt/qtuitools/g + contrib/hbqt/qtuitools/THbQtUI.prg + contrib/hbqt/qtuitools/hbqtuitools.hbc + contrib/hbqt/qtuitools/qth + contrib/hbqt/qtuitools/qth/QUiLoader.qth + Added hbqtuitools lib which contains qtuitools dependent parts from hbqtgui (QUiLoader, HbQtUI) + contrib/hbqt/qtuitools/doc/en/class_quiloader.txt + contrib/hbqt/qtuitools/g/filelist.hbm + contrib/hbqt/qtuitools/g/TQUiLoader.prg + contrib/hbqt/qtuitools/g/hbqtuitools.h + contrib/hbqt/qtuitools/g/QUiLoader.cpp + contrib/hbqt/qtuitools/g/hbqtuitools_extern.prg * Generated. * contrib/hbqt/utils/qtgui.qtp * contrib/hbqt/qtgui/hbqtgui.hbx * contrib/hbqt/qtgui/hbqtgui.hbc - contrib/hbqt/qtgui/THbQtUI.prg * contrib/hbqt/qtgui/hbqtgui.hbm - contrib/hbqt/qtgui/qth/QUiLoader.qth * contrib/hbqt/qtgui/g/filelist.hbm * contrib/hbqt/qtgui/g/hbqtgui.h - contrib/hbqt/qtgui/g/QUiLoader.cpp - contrib/hbqt/qtgui/g/TQUiLoader.prg - contrib/hbqt/qtgui/doc/en/class_quiloader.txt - Deleted parts moved to hbqtuitools. 2010-10-17 16:05 UTC+0200 Viktor Szakats * package/winuni/mpkg_win_uni.bat * package/winuni/mpkg_win_uni.nsi * Renamed QT license file (now shows "LGPL"). + Added uic.exe and rcc.exe to Windows unified build. + Added QT implibs for mingw compiler. ; It means that now default Windows unified package can be used to create QT apps without installing QT package separately. Please someone verify this is in compliance with LGPL QT license. * contrib/hbqt/hbqt_hbmk2_plugin.hbs - Removed support for compatibility setting HB_QT_MOC_BIN. + Will now autodetect uic/rcc/moc if present next to hbmk2 (only on win/os2 systems). This will be the case when using unified Windows package. Only lightly tested. * contrib/hbide/idemisc.prg * contrib/hbide/idemain.prg * contrib/hbide/hbide.ch * Cleaned/optimized loading of UI. - Deleted reference to HbQtUi() so that the static lib QtUiTools is not required to build hbide. (it was not actively used anyway) ; FIXME: QUiLoader class should be moved to a separated lib from hbqtgui. [DONE] 2010-10-17 16:40 UTC+0200 Petr Chornyj (myorg63 at mail.ru) * harbour/ChangeLog ! Fixed date in my today's commits. 2010-10-17 16:20 UTC+0200 Petr Chornyj (myorg63 at mail.ru) * contrib/hbsqlit3/hbsqlit3.ch * contrib/hbsqlit3/hbsqlit3.c + Added sqlite3_compileoption_*() for diagnostics purposes. + Added sqlite3_limit( pDb, nId, nNewVal ) -> nOldVal 2010-10-17 16:10 UTC+0200 Petr Chornyj (myorg63 at mail.ru) * external/sqlite3/sqlite3.c * external/sqlite3/sqlite3.dif * external/sqlite3/sqlite3.h * external/sqlite3/Makefile * Update sqlite to 3.7.3. 2010-10-17 13:18 UTC+0200 Viktor Szakats * contrib/hbqt/utils/qtcore.qtp ! Reenabled recently disabled classes so that these generated sources will get updated (and not generate false grep hits) * contrib/hbqt/qtcore/hbqt_misc.prg - Deleted HbQtObjectHandler:from() method. If such object "casting" is needed, it should be added on a per class basis, using something like this code: --- METHOD <class>:from( oObject ) LOCAL pPtr IF hbqt_isObject( oObject ) .AND. ; ( oObject:className == "xxx" .OR. oObject:className == "yyy" ... ) IF hbqt_isPointer( pPtr := oObject:pPtr ) ::pPtr := pPtr ENDIF ELSE __hbqt_Error() ENDIF RETURN Self --- * contrib/hbqt/utils/hbqtgen.prg ! Fixed to generate doc source for classes without methods. - Deleted :from() references. - Do not generate <class>From() function anymore. (TODO: Need regeneration after that) * contrib/hbqt/utils/hbqtgen.prg * contrib/hbqt/qtgui/THbQtUI.prg * contrib/hbqt/hbqt_hbmk2_plugin.hbs - Deleted commented references to :from() method. * contrib/hbqt/qtgui/doc/* * contrib/hbqt/qtwebkit/doc/* * contrib/hbqt/qtcore/g/* * contrib/hbqt/qtcore/doc/* * contrib/hbqt/qtnetwork/doc/* * contrib/hbqt/qscintilla/doc/* * contrib/hbqt/qtdesigner/doc/* * Regenerated. 2010-10-17 12:51 UTC+0200 Viktor Szakats * contrib/hbqt/qtgui/THbQtUI.prg * HB_ISOBJECT() -> HBQT_ISOBJECT() * contrib/hbqt/qtcore/hbqt_pointer.cpp * contrib/hbqt/qtcore/hbqtcore.hbx * contrib/hbqt/qtcore/hbqt_misc.prg * __HBQT_ISVALIDPOINTER() -> __HBQT_ISPOINTER() * contrib/hbqt/qtcore/hbqt_misc.prg + :from() changed to only accept HBQT objects and else RTE. * Updated notes. * Renamed :pSlots -> :__pSlots * Renamed :pEvents -> :__pEvents + Made :pSlots and :pEvents PROTECTED. + Added TODO to rename :pPtr to :__pPtr. ; Pls test. * contrib/hbqt/tests/dialogqt.prg * Cleanups (:new(), :pptr). No testing made. 2010-10-16 19:24 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtcore/hbqt_misc.prg ! hbqt_ptr() => __hbqt_ptr() * contrib/hbqt/qtcore/hbqt_pointer.cpp - Deleted: HBQT_PTR() * contrib/hbqt/qt*/g/*.prg * Re-generated. 2010-10-17 01:38 UTC+0200 Viktor Szakats * contrib/hbqt/qtcore/hbqt_pointer.cpp * contrib/hbqt/qtcore/hbqt_hbqslots.cpp * contrib/hbqt/qtcore/hbqt_hbqevents.cpp * contrib/hbqt/qtcore/hbqt_misc.prg * contrib/hbqt/utils/hbqtgen.prg * Renamed HBQT_PTR() -> __HBQT_PTR(). (HBQT_PTR() still present and can be renamed once sources were regenerated) * Renamed QT_[SLOTS|EVENTS]_*() -> __HBQT_[SLOTS|EVENTS]_*() This also fixes the problem where these were missing from .hbx file. * Renamed HBQT_ERROR() -> __HBQT_ERROR(). + Added NOTE about contradiction where :hasValidPointer() will never return .T. for valid objects created with <class>FromPointer() call. Another reason to drop this object instantiation method. + Added more TODO/NOTE/FIXME text. * contrib/hbqt/qtcore/hbqtcore.hbx * contrib/hbqt/qtnetwork/hbqtnetwork.hbx * Refreshed. * contrib/hbqt/tests/dialogqt.prg * contrib/hbide/plugins/hbide_script_qtgui.hbs * QT_[SLOTS|EVENTS]_*() -> __HBQT_[SLOTS|EVENTS]_*() ; QUESTION: Should these examples changed to use :connect()/:disconnect()? 2010-10-16 14:36 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtcore/hbqt_misc.prg ! Adopted: HB_*Class:from( pPtr ) => *ClassFromPointer( pPtr ). * contrib/hbqt/hbqt_hbmk2_plugin.hbs * contrib/hbqt/qtgui/THbQtUI.prg ! Minor optimization. * contrib/hbqt/tests/testbrow.prg ! Adopted: HB_*Class:from( pPtr ) => *ClassFromPointer( pPtr ). * contrib/hbqt/utils/hbqtgen.prg + Implemented: HB_*Class:from( pPtr ) => *ClassFromPointer( pPtr ). * contrib/hbqt/qtcore/g/*.prg * contrib/hbqt/qtgui/g/*.prg * contrib/hbqt/qtnetwork/g/*.prg * contrib/hbqt/qtwebkit/g/*.prg * Re-generated. * contrib/hbxbp/xbp3state.prg * contrib/hbxbp/xbpappevent.prg * contrib/hbxbp/xbpbrowse.prg * contrib/hbxbp/xbpcheckbox.prg * contrib/hbxbp/xbpcombobox.prg * contrib/hbxbp/xbpdialog.prg * contrib/hbxbp/xbpmenubar.prg * contrib/hbxbp/xbpmle.prg * contrib/hbxbp/xbpprinter.prg * contrib/hbxbp/xbppushbutton.prg * contrib/hbxbp/xbpradiobutton.prg * contrib/hbxbp/xbpscrollbar.prg * contrib/hbxbp/xbpsle.prg * contrib/hbxbp/xbpspinbutton.prg * contrib/hbxbp/xbpstatic.prg * contrib/hbxbp/xbpstatusbar.prg * contrib/hbxbp/xbptabpage.prg * contrib/hbxbp/xbptoolbar.prg * contrib/hbxbp/xbpwindow.prg ! Adopted: HB_*Class:from( pPtr ) => *ClassFromPointer( pPtr ). * contrib/hbide/hbqreportsmanager.prg * contrib/hbide/hbqtoolbar.prg * contrib/hbide/idebrowse.prg * contrib/hbide/idedocks.prg * contrib/hbide/ideedit.prg * contrib/hbide/ideeditor.prg * contrib/hbide/idefindreplace.prg * contrib/hbide/ideharbourhelp.prg * contrib/hbide/idehome.prg * contrib/hbide/idemain.prg * contrib/hbide/idethemes.prg ! Adopted: HB_*Class:from( pPtr ) => *ClassFromPointer( pPtr ). REGRESSION(s) are possible because hbQT now does another parameter check. 2010-10-16 10:21 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/hbqtgui.ch + Added: constants for QComboBox(). 2010-10-16 09:26 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/ChangeLog * harbour/utils/Makefile * harbour/contrib/xhb/xhb.hbp * reverted my last unintentional commit 2010-10-15 20:46 UTC+0200 Viktor Szakats * contrib/hbqt/utils/hbqtgen.prg ! Fixed to pass 'uchar' where QT needs it (instead of current 'char') ; FIXME: hb_parc() return value is still de-const-ed and passed to QT which is 100% way to create random GPFs. See FIXMEs in code. * utils/hbmk2/hbmk2.prg * Formatting. 2010-10-15 10:29 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/ideedit.prg ! Minor. * contrib/hbide/ideprojmanager.prg ! Fixed: one regression : qProcess:start_1() => qProcess:start() * contrib/hbqt/qtgui/THbQtUI.prg ! Fixed: :isValidObject() => :hasValidPointer() 2010-10-15 17:26 UTC+0200 Viktor Szakats * contrib/rddads/rddads.hbp ! Reordered lookup order for possible .dll (+ COFF .lib) location to fix implib generation with some ADS releases (7.x, 8.x). 2010-10-15 10:01 UTC+0200 Viktor Szakats * contrib/hbqt/utils/hbqtgen.prg + Changed HB_<class> class instantiation function STATIC. + Added <class>FromPointer() function to create class from a raw class pointer. (this should be eliminated ASAP) + Added <class>From() function to create class from another class. It's now simply calling :from() in base class, which is wrong and should be fixed for two reasons: - raw pointer is allowed (all such calls should be changed to <class>FromPointer()) - no object type checking is made. ; NOTE: Please update HBIDE and HBXBP to use these rules: HB_<class>:from( ptr ) => <class>FromPointer( ptr ) HB_<class>:from( obj ) => <class>From( obj ) 2010-10-15 09:52 UTC+0200 Viktor Szakats * contrib/hbqt/qtcore/hbqt_pointer.cpp * contrib/hbqt/qtcore/hbqtcore.hbx + HBQT_ISOBJECT() will return .T. if the passed object is a HBQT one. * contrib/hbqt/qtcore/hbqt_misc.prg * :isValidObject() -> :hasValidPointer() + :fromPointer(): New method used solely to convert raw QT pointers to HBQT objects. In such case no object type checking can be done, so it's dangerious, thus raw pointers should eventually be eliminated from HBQT code and as final step this method removed. The method will RTE is non-pointer parameter is passed. + Added TODOs. ; TODO: Change :from() method to only allow QT object input parameter and RTE otherwise. At the same time :from() calls with pointer input should be changed to :fromPointer(). As next step :from() should be moved to class level and proper object type checking added to avoid assigning wrong QT object to HBQT object wrapper. [DONE-ish] * contrib/hbxbp/xbplistbox.prg * contrib/hbxbp/xbpwindow.prg * contrib/hbxbp/xbptreeview.prg * contrib/hbide/idefindreplace.prg * contrib/hbide/ideedit.prg * contrib/hbide/idemisc.prg * contrib/hbide/hbqreportsmanager.prg * contrib/hbide/ideharbourhelp.prg * contrib/hbide/ideskeletons.prg * :isValidObject() -> :hasValidPointer() * INSTALL + Added OS/2 GCC link. 2010-10-14 20:24 UTC+0200 Viktor Szakats * harbour/utils/hbmk2/hbmk2.prg + *nix builds will now use /opt/harbour/contrib and /opt/harbour/addons dirs to autofind .hbc files. (if /opt/harbour dir exists) 2010-10-14 16:45 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/contrib/hbwin/axcore.c ! fixed CPP compilation by using compiler macros in method calls * harbour/contrib/hbwin/hbwinole.h * harbour/contrib/hbwin/axcore.c * harbour/contrib/hbwin/olecore.c + implemented additional OLE destructors. Added Undavise() call to :__hSink destructor. This fixes unresponsive OLE server app behaviour after corresponding Harbour object is freed ; Code proposed by Przemek, some fixes applied 2010-10-14 08:45 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/gtstd/gtstd.c * updated to compile with WinCE * harbour/package/harbour.spec * modified to work with new HBMK2 translations * harbour/contrib/hbmzip/hbmzip.c ! fixed function order * harbour/contrib/hbwin/axcore.c * include <olectl.h> ! fixed buffer sizes in debug function * removed trailing spaces and tabs * harbour/contrib/hbwin/hbolesrv.c * include <tchar.h> - for some compilers which do not make it with OLE header files 2010-10-14 05:45 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/contrib/hbwin/axcore.c + added support for obtaining default callback event interface. __AxRegisterHandler( pDisp, bHandler [, cIID ] ) parameter can be: - event interface ID, i.e. "{...}"; - event interface name, ex., DWebBrowserEvents; - otherwise default event interface is tried to obtain. ; NOTE: some regresions are possible. IDispatch is not the default value for cIID. To force the previous behaviour, you should use __AxRegisterHandler(,, "{00020420-0000-0000-C000-000000000046}"), but I guess this should never be required. ; Don't ask me how I've written this code :) * harbour/contrib/hbwin/tests/pdfcreat.prg * changed to sync with new __AxRegisterHandler() behaviour * harbour/contrib/hbwin/tests/testole.prg + added new Internet Explorer test to show OLE callback events 2010-10-14 00:31 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/rddads/ads1.c ! casting * harbour/utils/hbmk2/hbmk2.es_PE.po ! typos 2010-10-13 20:59 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/utils/hbmk2/hbmk2.prg * use "~hbmk" instead of ".hbmk" as temporary directory name in DOS builds to avoid problem with unsupported file names. TODO: for better customization we need new function: HB_FNameCheck( <cFileName> ) -> <lNameOK> * harbour/contrib/hbmzip/hbmzip.c ! fixed GPF when file datetime is passed as 3rd argument to HB_ZipFileCreate() % eliminated repeated code 2010-10-13 21:52 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/src/rtl/gtstd/gtstd.c * code cleanup to make some compilers happy 2010-10-13 19:33 UTC+0200 Viktor Szakats * package/winuni/RELNOTES * pgsql version. * contrib/xhb/hboutdbg.c ! Fixed missing xhb.h for public function declaration. * contrib/sddoci/sddoci.c ! Implemented fix based on Przemek's recent commit to sddpg. (2010-10-04 12:43 UTC+0200) I made no testing, just tried to copy the method since the situation looked the same. Please review/test. + utils/hbmk2/hbmk2.es_PE.po * utils/hbmk2/hbmk2.hbp + Added Spanish translation. Many thanks to Guillermo Varona Silupu (GVS) for the translation and for making it available to Harbour. ; QUESTION: These are used from xhb lib, yet they are not exported from harbour dll. Should they be worked around in xhb or exported?: hb_stackItem, hb_stackBaseOffset, hb_stackBaseProcOffset, hb_stackWithObjectOffset [EXPORTED] 2010-10-13 20:00 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/contrib/hbwin/tests/pdfcreat.prg ! fixed warning for whose who uses alternatve sample branch #if 0 * harbour/src/rtl/gtstd/gtstd.c ! fixed console input pooling for Windows (you don't need to keep a key pressed to run application) 2010-10-13 09:24 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/idesaveload.prg ! Fixed: GPF reported by Maurizio. 2010-10-13 13:21 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/gttrm/gttrm.c ! added protection against GPF when wrong parameters are passed to hb_gtInfo( HB_GTI_ADDKEYMAP, ... ) * harbour/src/rtl/hbgtcore.c ! added protection against GPF when wrong parameters are passed to hb_gtAlert() * harbour/src/rtl/gtapi.c * formatting * harbour/src/rtl/cdpapi.c ! fixed return value in hb_cdpStrAsU16Len() * harbour/src/rdd/dbf1.c * harbour/src/rdd/dbffpt/dbffpt1.c + added support for UNICODE fields compatible with the one used by ADS * harbour/contrib/hbxbp/hbxbp.hbx + automatically updated * harbour/contrib/rddads/ads1.c * casting * harbour/doc/xhb-diff.txt * updated information about PRG level hb_socket*() API + added information about serial port support 2010-10-12 22:20 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtcore/hbqt_misc.prg * contrib/hbqt/qtgui/THbQtUI.prg * contrib/hbxbp/xbp3state.prg * contrib/hbxbp/xbpbrowse.prg * contrib/hbxbp/xbpcheckbox.prg * contrib/hbxbp/xbpcombobox.prg * contrib/hbxbp/xbpmle.prg * contrib/hbxbp/xbppushbutton.prg * contrib/hbxbp/xbpradiobutton.prg * contrib/hbxbp/xbpscrollbar.prg * contrib/hbxbp/xbpsle.prg * contrib/hbxbp/xbpspinbutton.prg * contrib/hbxbp/xbpstatic.prg * contrib/hbxbp/xbpstatusbar.prg * contrib/hbxbp/xbptabpage.prg * contrib/hbide/hbqreportsmanager.prg * contrib/hbide/hbqtoolbar.prg * contrib/hbide/idebrowse.prg * contrib/hbide/idedocks.prg * contrib/hbide/ideedit.prg * contrib/hbide/ideeditor.prg * contrib/hbide/ideharbourhelp.prg * contrib/hbide/idehome.prg * contrib/hbide/idemain.prg * contrib/hbide/idethemes.prg % Optimized: Q*Class():from( pPtr ) => HB_Q*Class():from( pPtr ) 2010-10-12 18:22 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/idefindreplace.prg ! Fixed: another regression. 2010-10-11 09:05 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/ideedit.prg ! Fixed: a small glitch in copy operation. When two lines were copied, where last line was blank, paste operation was inserting one more blank line. 2010-10-10 22:32 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtcore/hbqt_hbqslots.cpp * contrib/hbqt/qtcore/hbqt_hbqslots.h - Removed: events synonymous signals, i.e., :mousePressEvent() and family. These must be trapped via events interface instead of signals interface. INCOMPATIBLE: if any third party lib is using them, please update. * contrib/hbqt/qtgui/g/HBQTableView.cpp * contrib/hbqt/qtgui/g/THBQTableView.prg * contrib/hbqt/qtgui/hbqt_hbqtableview.cpp * contrib/hbqt/qtgui/hbqt_hbqtableview.h * contrib/hbqt/qtgui/qth/HBQTableView.qth - Removed: events synonymous signals. + Introduced: :hbSetBlock( bBlock ) method along the lines of similar mechanism for other sub-classes. This maybe the building block for thought-of sub-calling of Qt classes. * contrib/hbqt/qtgui/hbqtgui.ch + Added: HBQT_HBQTABLEVIEW_scrollContentsBy constant. * contrib/hbxbp/xbpappevent.prg * contrib/hbxbp/xbpbrowse.prg * contrib/hbxbp/xbpdataref.prg * contrib/hbxbp/xbpdialog.prg * contrib/hbxbp/xbpgeneric.prg * contrib/hbxbp/xbptabpage.prg ! Fixed: many artifacts which are the results of recent changes in hbQT structure and implementation. New protocol surfaced many shortcomings in previous implementation. * contrib/hbide/hbqtoolbar.prg * contrib/hbide/idedocks.prg * contrib/hbide/ideedit.prg * contrib/hbide/idemain.prg * contrib/hbide/idemisc.prg * contrib/hbide/idesources.prg ! Fixed: many artifacts, specially in editing area. Now you may enjoy better editing experience than before. 2010-10-10 14:23 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbxbp/xbpfiledialog.prg ! Fixed: a regression bug surfaced after recent changes. QDialog() was not setting the focus to original widger at "close". * contrib/hbqt/qtcore/hbqt_hbqslots.cpp Fixed: "windowStateChanged(Qt::WindowStates,Qt::WindowStates)" signal parameters. * contrib/hbqt/qtgui/hbqt_hbqgraphicsitem.cpp * contrib/hbqt/qtgui/hbqt_hbqtableview.cpp * contrib/hbqt/qtgui/hbqt_hbqtableview.h ! Minor. * contrib/hbqt/utils/qtgui.qtp + Added: new class QSortFilterProxyModel.qth 2010-10-10 13:55 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qscintilla/qth/*.qth * contrib/hbqt/qtcore/qth/*.qth * contrib/hbqt/qtdesigner/qth/*.qth * contrib/hbqt/qtgui/qth/*.qth * contrib/hbqt/qtnetwork/qth/*.qth * contrib/hbqt/qtwebkit/qth/*.qth ! Cleaned: very old constructs needed no more. Code is more readable now. ! Changed: copyright info. * contrib/hbqt/qscintilla/g/*.cpp *.prg *.txt * contrib/hbqt/qtcore/g/*.cpp *.prg *.txt * contrib/hbqt/qtdesigner/g/*.cpp *.prg *.txt * contrib/hbqt/qtgui/g/*.cpp *.prg *.txt * contrib/hbqt/qtnetwork/g/*.cpp *.prg *.txt * contrib/hbqt/qtwebkit/g/*.cpp *.prg *.txt * Re-generated, whichever are affected. This commit prepares .qth(s) for next overhaul for constructors. 2010-10-09 19:07 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapirdd.h + added new field flag: HB_FF_UNICODE * harbour/contrib/rddads/ads1.c + added support for new ADS 10.0 UNICODE fields: NChar, NVarChar, NMemo They are supported in all ADS* RDDs. 2010-10-09 09:58 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/lang/msg_tpl.c ! added one missing message * harbour/src/lang/msgsv.c * harbour/src/lang/msgsvwin.c * removed redundant item copied from xHarbour Thanks to Klas Engwall for the info. * harbour/src/lang/Makefile ! added Swedish CPs Thanks to Klas Engwall for the info. 2010-10-08 17:59 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/utils/hbmk2/hbmk2.prg ! disabled automatic generation of dll_hb_vmProcAddress() in binaries linked with hbmaindllp library. Such function should be attached to the code linked with HVM on user request i.e. using some new HBMK2 switch. * harbour/contrib/xhb/xhw32prn.prg * added dummy WIN32BMP() function in non MS-Windows builds * harbour/contrib/rddads/adsfunc.c * added dummy ADSREGCALLBACK() and ADSCLRCALLBACK() functions to Linux builds * harbour/contrib/hbxpp/hbxpp.hbx * harbour/contrib/hbqt/qtgui/hbqtgui.hbx * harbour/contrib/hbqt/qtcore/hbqtcore.hbx * automatically updated by HB_REBUILD_EXTERN=yes 2010-10-08 11:15 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/hbcom.c * explicitly set HB_COM_ERR_TIMEOUT and return -1 in all OS-es if hb_comSend() or hb_comRecv() writes/reads 0 bytes. It should help in creating portable code eliminating OS dependent differences. 2010-10-08 10:17 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapi.h * harbour/src/common/hbstr.c + added new C function: double hb_numExpConv( double dNum, int iExp ) * harbour/src/rdd/dbf1.c + added support for decoding exponents part from 'F' fields 2010-10-07 18:05 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/ideedit.prg ! Fixed: paste operation was not deleting the selected text before pasting new text. 2010-10-07 10:21 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/compiler/hbmain.c * declare automatically created function in code compiled by HB_COMPILEFROMBUF() with -n2 switch as static. It eliminates possible conflicts when user tries to register in single HVM instance many HRB modules with such startup function. 2010-10-06 16:33 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbxbp/xbpwindow.prg ! An important regression fix. Please always construct an object when :from() is used as: HB_Q*Class():from( pPtr ) instead of Q*Class():from( pPtr ) 2010-10-06 12:22 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/ideedit.prg ! Fixed: regression reported by Itamar. 2010-10-06 20:56 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/gtwvt/gtwvt.c ! fixed possible double font freeing in non UNICODE builds * harbour/contrib/hbwin/win_misc.c + added prg function WIN_UNICODE() which returns logical value indicating if UNICODE macro was used or not 2010-10-06 08:47 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) + contrib/hbqt/qtgui/doc/en/class_qcommonstyle.txt + contrib/hbqt/qtgui/doc/en/class_qdateedit.txt + contrib/hbqt/qtgui/doc/en/class_qdragenterevent.txt + contrib/hbqt/qtgui/doc/en/class_qdragleaveevent.txt + contrib/hbqt/qtgui/doc/en/class_qhboxlayout.txt + contrib/hbqt/qtgui/doc/en/class_qhideevent.txt + contrib/hbqt/qtgui/doc/en/class_qradiobutton.txt + contrib/hbqt/qtgui/doc/en/class_qscrollbar.txt + contrib/hbqt/qtgui/doc/en/class_qshowevent.txt + contrib/hbqt/qtgui/doc/en/class_qsizegrip.txt + contrib/hbqt/qtgui/doc/en/class_qstylehintreturn.txt + contrib/hbqt/qtgui/doc/en/class_qstylehintreturnmask.txt + contrib/hbqt/qtgui/doc/en/class_qstylehintreturnvariant.txt + contrib/hbqt/qtgui/doc/en/class_qtextblockgroup.txt + contrib/hbqt/qtgui/doc/en/class_qtimeedit.txt + contrib/hbqt/qtgui/doc/en/class_qvboxlayout.txt + contrib/hbqt/qtgui/doc/en/class_qwindowsstyle.txt + Added: missing doc files. + contrib/hbqt/qtgui/qth/QSortFilterProxyModel.qth + Added: new class, requeted on HMG forums. + contrib/hbqt/qtgui/g/QSortFilterProxyModel.cpp + contrib/hbqt/qtgui/g/TQSortFilterProxyModel.prg + contrib/hbqt/qtgui/doc/en/class_qsortfilterproxymodel.txt + Re-generated. * contrib/hbqt/qtgui/g/filelist.hbm * contrib/hbqt/qtgui/g/hbqtgui.h ! Re-generated. 2010-10-06 07:19 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/utils/hbrun/hbrun.prg ! fixed typo in my last commit - Thanks to Frank Van Nuffel for information about the problem + harbour/src/lang/msgsv.c + harbour/src/lang/msgsvwin.c + added Swedish language modules by Klas Engwall (borrowed from xHarbour with some small modifications - please verify) 2010-10-05 12:45 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/utils/hbrun/hbrun.prg + extended error message so it reports more precisely the problem with user command. + use -n2 instead of -n for user command compilation It allows to use: DO <proc> [WITH <args,...>] when <proc>.prg contains code without explicit startup procedure. % removed useless hbrun_DirAddPathSep() - hb_FNameMerge() automatically adds directory separator if necessary. ! changed the order of locating files without extension so files in local directory are not hidden by file in PATH or hb_baseDir() ! interrupt execution when given .hbs or .prg file cannot be cleanly compiled. ! generate error when file passed as in parameters cannot be found. ! do not strip quote characters from PATHs in *nix builds.0 ! use in DOS builds "~harbour" instead of ".harbour" as directory name for hbrun history file. ; Possible TODO: add function: HB_FNameCheck( <cFileName> ) -> <lNameOK> which will check if <cFileName> is correct and can be used with given file system. <cFileName> should contain full path so it can be verified with correct file system. Such extension should eliminate code which disable unconditionally long file names in all DOS builds. 2010-10-04 18:52 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/utils/hbmk2/hbmk2.prg * added /opt/cross to directories scanned for MinGW cross binaries in *nix hosts (just like in global.mk) 2010-10-04 18:23 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/fstemp.c ! fixed typo in my last commit (#elif instead of #if) Thanks to Itamar M. Lins Jr. for the info. 2010-10-04 08:57 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbxbp/xbplistbox.prg ! Changed: the way context menu was being fired. * contrib/hbqt/qtcore/hbqt_hbqslots.cpp * contrib/hbqt/qtcore/hbqt_hbqslots.h + Added: Francesco Perillo's new SIGNAL/SLOT mechanism. It is guarded against #ifdef __PRITPAL__ which is defined by default in hbqt_hbqslots.h. To switch over to new mechanism, simply comment out #define __PRITPAL__ and recompile hbQT. Once all slots will be working, sections covered under __PRITPAL__ will be removed. This way we can test new protocol whosoever wants to investigate insides. 2010-10-04 13:22 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/fstemp.c * disabled using tmpnam() in OS2 builds % small code cleanup 2010-10-04 12:43 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/sddpg/sddpg.c ! fixed access to uninitialized pItem variable (probably GPF trap) % small optimization * harbour/contrib/rddads/adsx.c ! fixed typo in HB_TRACE message 2010-10-03 15:10 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbxbp/xbptreeview.prg ! Fix: to last commit. Thanks Francesco for reporting. 2010-10-03 23:50 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rdd/dbffpt/dbffpt1.c ! fixed my typo in HB_TRACE massage reported by Alexandr Okhotnikov 2010-10-03 14:03 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtcore/qth/HBQEvents.qth * contrib/hbqt/qtcore/qth/HBQSlots.qth * contrib/hbqt/qtcore/qth/HBQString.qth * contrib/hbqt/qtcore/qth/QAbstractEventDispatcher.qth * contrib/hbqt/qtcore/qth/QAbstractItemModel.qth * contrib/hbqt/qtgui/qth/HBQAbstractItemModel.qth * contrib/hbqt/qtgui/qth/HBQGraphicsItem.qth * contrib/hbqt/qtgui/qth/HBQGraphicsScene.qth * contrib/hbqt/qtgui/qth/HBQSyntaxHighlighter.qth * contrib/hbqt/qtgui/qth/HBQTableView.qth * contrib/hbqt/qtgui/qth/HBQTextBlockUserData.qth * contrib/hbqt/qtgui/qth/QBrush.qth * contrib/hbqt/qtgui/qth/QWidget.qth ! Some tweaks to be ready for next massive commit where CONSTRIUCTORS will be managed automatically. * contrib/hbqt/utils/hbqtgen.prg + Added: constructs to manage CONSTRUCTORS automatically. ( yet not activated - a work-in-progress ) * contrib/hbxbp/xbptreeview.prg ! Refined SLOTS as per Fracesco's tips. * contrib/hbqt/qtcore/hbqt_hbqslots.cpp ! Refined SLOTS as per Fracesco's tips for QTreeWidget(). * contrib/hbide/hbqreportsmanager.prg * contrib/hbide/ideskeletons.prg ! Fixed: two reported regressions. * contrib/hbide/idemain.prg ! Small optimization. * Re-generated sources. 2010-10-03 11:14 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtcore/hbqt_pointer.cpp ! Fixed: to not reach end of code with return type. * contrib/hbqt/utils/qtcore.qtp ! Commented out: wrongly commented QMimeData.qth. * contrib/hbqt/qtcore/g/filelist.hbm * contrib/hbqt/qtcore/g/hbqtcore.h * Re-generated. 2010-10-03 17:45 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added MS-DOS compiler (djgpp) detection when used on *nix platform in cross-compile scenario. BTW I've also found that I had already implemented win and wce autodetection based on global.mk, so it' supposed to work. Please test it. * config/global.mk - Deleted a variable not used anymore. 2010-10-03 11:16 UTC+0200 Viktor Szakats * contrib/gtwvg/wvgwing.c ! Fixed after prev. Suggested by YD0DKL * contrib/hbqt/utils/hbqtgen.prg + Added FIXMEs to some generated code lines. (missing const, hb_retptr(), char vs uchar) * contrib/hbqt/utils/hbqtgen.prg * contrib/hbqt/qtgui/qth/*.qth * contrib/hbqt/qtwebkit/qth/*.qth * contrib/hbqt/qtcore/qth/*.qth * contrib/hbqt/qtnetwork/qth/*.qth * contrib/hbqt/qscintilla/qth/*.qth * contrib/hbqt/qtdesigner/qth/*.qth * Changed to use '__HB_RETPTRGC__' macro instead of using (valid function) 'hb_retptr()' as code generation marker. * contrib/hbqt/qtgui/g/* * contrib/hbqt/qtwebkit/g/* * contrib/hbqt/qtcore/g/* * contrib/hbqt/qscintilla/g/* * contrib/hbqt/qtdesigner/g/* * Regenerated. ; FIXME: Why is commented code in .qth spilling into generated code? * contrib/hbqt/qtcore/g/filelist.hbm * contrib/hbqt/qtcore/g/hbqtcore.h * Regenerated after prev commit. 2010-10-02 23:18 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtcore/g/filelist.hbm * contrib/hbqt/utils/qtcore.qtp ! Commented out not ready classes. 2010-10-02 17:34 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/hbqreportsmanager.prg * contrib/hbide/idebrowse.prg * contrib/hbide/ideedit.prg * contrib/hbide/ideeditor.prg * contrib/hbide/idefindreplace.prg * contrib/hbide/idefunctions.prg * contrib/hbide/ideharbourhelp.prg * contrib/hbide/idemain.prg * contrib/hbide/idemisc.prg * contrib/hbide/ideprojmanager.prg * contrib/hbide/idesaveload.prg * contrib/hbide/ideshortcuts.prg * contrib/hbide/idethemes.prg * contrib/hbide/idetools.prg * contrib/hbqt/hbqt_hbmk2_plugin.hbs * contrib/hbqt/qtcore/hbqt.h * contrib/hbqt/qtcore/hbqt_misc.prg * contrib/hbqt/qtcore/hbqt_pointer.cpp * contrib/hbqt/qtcore/qth/HBQEvents.qth * contrib/hbqt/qtcore/qth/HBQSlots.qth * contrib/hbqt/qtcore/qth/HBQString.qth * contrib/hbqt/qtcore/qth/QAbstractEventDispatcher.qth * contrib/hbqt/qtcore/qth/QAbstractItemModel.qth * contrib/hbqt/qtcore/qth/QMetaObject.qth * contrib/hbqt/qtcore/qth/QMetaType.qth * contrib/hbqt/qtgui/qth/QBitmap.qth * contrib/hbqt/qtgui/qth/QBrush.qth * contrib/hbqt/qtgui/qth/QColor.qth * contrib/hbqt/qtgui/qth/QComboBox.qth * contrib/hbqt/qtgui/qth/QWidget.qth * contrib/hbqt/qtgui/THbQtUI.prg * contrib/hbxbp/xbpbrowse.prg * contrib/hbxbp/xbpdialog.prg * contrib/hbxbp/xbplistbox.prg * contrib/hbxbp/xbprtf.prg * contrib/hbxbp/xbptabpage.prg * contrib/hbxbp/xbptreeview.prg * contrib/hbqt/utils/hbqtgen.prg ! Changed: massively to produce optimized and 0 fault tolerant code. * contrib/hbqt/qt*/*.cpp, *.prg, *.txt * Re-generated, whichever fall into above changes. This commit addresses a lot of issues: 1. Parameters checking is now mandatory. You have to supply the correct number of parameters. No defaults are assumed. PLUS you need to supply correct type of parameter. 2. PRG class representation is changed. Now you can get fairly good documentation from looking at the class declaration. You will never have to refer the method body which has no meaning as such. Here is a snippet: METHOD itemAbove // ( oQTreeWidgetItem ) -> oQTreeWidgetItem METHOD itemAt // ( oQPoint ) -> oQTreeWidgetItem // ( nX, nY ) -> oQTreeWidgetItem METHOD itemBelow // ( oQTreeWidgetItem ) -> oQTreeWidgetItem METHOD itemWidget // ( oQTreeWidgetItem, nColumn ) -> oQWidget METHOD openPersistentEditor // ( oQTreeWidgetItem, nColumn ) -> NIL The methods with variable number and type of parameters are shown beneth first call. 3. Accordingly, class_*.txt documentation is also updated. 4. A method call now never accepts a pointer, only an hbQT object. This fixes one/half of the issue - one sided. TODO: fix sending raw pointers to PRG code from C++ code. :-)) hbIDE is up and running with all its glory, no GPFs. Some regression would be possible but you will have RTE popping up, so easily fixable. 2010-10-02 11:43 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added workaround for mingw compiler problem where it tends to leave zero byte long objects in cases when the build process gets (manually) aborted. Please check it and report any potential performace problems (hbmk2 needs to read the objects' size from the directory listing). Maybe we will need a Harbour function which returns both timestamp and size in one call. * contrib/hbodbc/todbc.prg - Deleted 'FROM HBCLASS' from class declarations. Thanks to Manu for the report. * contrib/hbxpp/dbfuncsx.prg + Added XPP_DBUSEAREA() which emulates non-Clipper compatible behavior of Xbase++ DBUSEAREA() implementation. Based on code and information sent by Shum * contrib/gtwvg/wvgwing.c ! Fixed compilation in newer BCC versions (6.3). Fix suggested by YD0DKL * package/winuni/mpkg_win_uni.bat + Added copyright msg. 2010-10-01 17:24 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/contrib/sddpg/sddpg.c * added text field support provided by Aleksander Czajczynski with some changes 2010-10-01 17:15 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/contrib/hbwin/tests/oletst2.vbs * restored unintentional commit 2010-10-01 17:07 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/contrib/rddsdd/sqlbase.c * harbour/contrib/sddfb/sddfb.c * harbour/contrib/sddmy/sddmy.c * harbour/contrib/sddoci/sddoci.c * harbour/contrib/sddodbc/sddodbc.c * harbour/contrib/sddpg/sddpg.c * harbour/contrib/sddsqlt3/sddsqlt3.c ! added protection agains double resource freeing in case of double CLOSE method; 2010-09-30 10:20 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) + contrib/hbqt/qtcore/qth/QGenericArgument.qth + contrib/hbqt/qtcore/qth/QGenericReturnArgument.qth + contrib/hbqt/qtcore/qth/QMetaClassInfo.qth + contrib/hbqt/qtcore/qth/QMetaEnum.qth + contrib/hbqt/qtcore/qth/QMetaMethod.qth + contrib/hbqt/qtcore/qth/QMetaObject.qth + contrib/hbqt/qtcore/qth/QMetaProperty.qth + contrib/hbqt/qtcore/qth/QMetaType.qth + Added: classes to manage QMetaObject() and allied. Still not on compilable levels. 2010-09-30 17:12 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/contrib/rddsdd/sqlmix.c ! fixed typo 2010-09-30 11:51 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg * utils/hbrun/hbrun.rc * Changed to use plain number for icons, instead of 'ICONn' name to ease addressing them in some situations. ; INCOMPATIBLE: If you used hb_GTInfo( HB_GTI_ICONRES, "ICONn" ) to set app icon at runtime, change it to: hb_GTInfo( HB_GTI_ICONRES, n ) 2010-09-30 10:55 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbtrace.h * harbour/src/common/hbtrace.c + added new C function: int hb_tracesysout( int new_sysout ) * harbour/src/rtl/trace.c + added new PRG function: HB_TRACESYSOUT( [ <nSysOut> | <lSysOut> ] ) -> <lPrevSysOut> 2010-09-30 01:34 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/g/TQFormLayout.prg * contrib/hbqt/qtgui/g/TQGraphicsItem.prg * contrib/hbqt/qtgui/g/TQPainter.prg * contrib/hbqt/qtnetwork/g/TQHttp.prg ! Re-generated. * contrib/hbqt/utils/hbqtgen.prg ! Tweaked to generate proper SWITCH statements if multi methods contain more than one Q*Class objects. Only 4 classes are reported to have this combination. So it will be unlikely that any one will have three objects to compare with. 2010-09-30 10:10 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/compiler/hbmain.c + added support to compile code not encapsulated in function using HB_COMPILEFROMBUF() with -n2 switch 2010-09-29 23:59 UTC+0200 Viktor Szakats * contrib/hbqt/qtcore/hbqt_pointer.cpp * contrib/hbqt/qtcore/hbqt_misc.prg % Rewritten HBQT_ERROR() in C. * contrib/hbqt/qtcore/hbqtcore.hbx ! Added missing HBQT_ERROR. 2010-09-29 15:00 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/idebrowse.prg * contrib/hbide/idedocks.prg * contrib/hbide/ideeditor.prg * contrib/hbide/ideharbourhelp.prg * contrib/hbide/idesaveload.prg * contrib/hbxbp/xbplistbox.prg * contrib/hbxbp/xbptabpage.prg * contrib/hbxbp/xbptreeview.prg ! Removed all remaining occurances of :pPtr. 2010-09-29 23:48 UTC+0200 Viktor Szakats * contrib/hbqt/qtcore/hbqt_misc.prg % Optimized HbQtObjectHandler:connect() and HbQtObjectHandler:disconnect() ! Typo in error msg text in hbqt_error() % Deleted unnecessary headers. * contrib/hbpre.hbm * Turned off -trace by default. You can now turn on with HB_BUILD_VERBOSE=yes 2010-09-30 00:35 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/contrib/rddsdd/sqlmix.c ! fixed typo in last commit 2010-09-30 00:33 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/contrib/rddsdd/sqlmix.c ! fixed typo in last commit 2010-09-30 00:30 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/contrib/sddmy/sddmy.c * be more valgrind friendly * harbour/contrib/rddsdd/sqlmix.c ! fixed GPF bug: MIXKEY should not be reused in another tag ! fixed memory leak 2010-09-29 21:52 UTC+0200 Viktor Szakats * contrib/hbqt/qtcore/hbqt_pointer.cpp * contrib/hbqt/qtcore/hbqt_misc.prg + Finished C implementation of HBQT_PTR(). ; Please review. - Deleted old .prg implementation of HBQT_PTR(). 2010-09-29 21:22 UTC+0200 Viktor Szakats * contrib/hbqt/qtcore/hbqt.h ! Deleted declaration for no more existing function hbqt_pPtrFromItem(). * contrib/hbqt/qtcore/hbqt_destruct.cpp % Deleted unused hbqt_gcpointerFromItem() function. - Deleted __HBQT_SETCODECFORCSTRINGS(), __HBQT_SETCODECFORTR() functions. - contrib/hbqt/qtcore/hbqt_base.cpp + contrib/hbqt/qtcore/hbqt_version.cpp - contrib/hbqt/qtcore/hbqt_destruct.cpp + contrib/hbqt/qtcore/hbqt_pointer.cpp * contrib/hbqt/qtcore/hbqtcore.hbm * Moved pointer related functions to hbqt_destruct.cpp. * Renamed sources. * contrib/hbqt/qtcore/hbqt_base.cpp * contrib/hbqt/qtcore/hbqt_destruct.cpp * contrib/hbqt/qtcore/hbqtcore.hbx * contrib/hbqt/qtcore/hbqt_misc.prg + Renamed HBQT_ISEMPTYQTPOINTER() to __HBQT_ISVALIDPOINTER() and optimized a bit. + HBQT_ISEQUALGCQTPOINTER() rewritten to accept .prg level classes. Please test! + Added HBQT_PTR__() as experimental replacement for .prg version HBQT_PTR(). * contrib/hbxbp/xbpwindow.prg + XbpWindow:getHWND() changed to throw RTE. * contrib/hbide/hbqreportsmanager.prg * hbqt_isEmptyQtPointer() replaced with :isValidObject() call. 2010-09-29 21:20 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/contrib/sddodbc/sddodbc.c ! fixed getting of empty string value. Thanks David Montano for bug report ; Please, test 2010-09-29 10:51 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbxbp/xbp3state.prg * contrib/hbxbp/xbpappevent.prg * contrib/hbxbp/xbpbitmap.prg * contrib/hbxbp/xbpbrowse.prg * contrib/hbxbp/xbpcheckbox.prg * contrib/hbxbp/xbpclipboard.prg * contrib/hbxbp/xbpcombobox.prg * contrib/hbxbp/xbpdataref.prg * contrib/hbxbp/xbpdialog.prg * contrib/hbxbp/xbpfiledialog.prg * contrib/hbxbp/xbpfontdialog.prg * contrib/hbxbp/xbpgeneric.prg * contrib/hbxbp/xbpgra.prg * contrib/hbxbp/xbphtmlviewer.prg * contrib/hbxbp/xbplistbox.prg * contrib/hbxbp/xbpmenubar.prg * contrib/hbxbp/xbpmle.prg * contrib/hbxbp/xbpparthandler.prg * contrib/hbxbp/xbppresspace.prg * contrib/hbxbp/xbpprintdialog.prg * contrib/hbxbp/xbpprinter.prg * contrib/hbxbp/xbppushbutton.prg * contrib/hbxbp/xbpradiobutton.prg * contrib/hbxbp/xbprtf.prg * contrib/hbxbp/xbpscrollbar.prg * contrib/hbxbp/xbpspinbutton.prg * contrib/hbxbp/xbpstatic.prg * contrib/hbxbp/xbpstatusbar.prg * contrib/hbxbp/xbpstyle.prg * contrib/hbxbp/xbptabpage.prg * contrib/hbxbp/xbptoolbar.prg * contrib/hbxbp/xbptreeview.prg * contrib/hbxbp/xbpwindow.prg ! Class structure re-organized. ! Code normalized. ! Copyright touched. 2010-09-29 16:51 UTC+0200 Viktor Szakats * examples/dbu/dbu52.dif * examples/dbu/dbu53.dif + Patched to use available screen are for the browse. * examples/dbu/dbu53.dif ! Synced with 5.2. 2010-09-29 13:15 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added HB_LEVEL macro. 2010-09-28 22:42 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/g/QStatusBar.cpp * contrib/hbqt/qtgui/qth/QStatusBar.qth - Detached: items in two methods. * contrib/hbxbp/xbpcombobox.prg * contrib/hbxbp/xbpdialog.prg * contrib/hbxbp/xbplistbox.prg * contrib/hbxbp/xbpmenubar.prg * contrib/hbxbp/xbpprintdialog.prg * contrib/hbxbp/xbpprinter.prg * contrib/hbxbp/xbpsle.prg * contrib/hbxbp/xbpstatusbar.prg * contrib/hbxbp/xbptabpage.prg * contrib/hbxbp/xbptoolbar.prg * contrib/hbxbp/xbptreeview.prg * contrib/hbxbp/xbpwindow.prg - Removed: occurances of :pPtr. * contrib/hbide/idesaveload.prg - Removed: occurances of :pPtr. + hbqt_isEmptyQtPointer( pPtr ) => oWidget:isValidObject() TODO: rewrite: hbqt_isEqualGcQtPtr( pPtr, pPtr1 ) 2010-09-28 18:23 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/doc/en/class_qpainter.txt * contrib/hbqt/qtgui/g/QPainter.cpp * contrib/hbqt/qtgui/g/TQPainter.prg * contrib/hbqt/qtgui/qth/QPainter.qth * contrib/hbide/hbqreportsmanager.prg ! Few optimizations. 2010-09-28 17:17 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/tests/testbrow.prg ! Adopted to latest changes. 2010-09-29 02:08 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapirdd.h * harbour/src/rdd/workarea.c + added new 5th parameter with pointer to super table ID to <RDD>_GETFUNCTABLE() function + added new C function hb_rddInheritEx() which allows to retrieve super RDD ID during registration. + added new C function: HB_BOOL hb_rddIsDerivedFrom( HB_USHORT uiRddID, HB_USHORT uiSupperRddID ); which returns HB_TRUE if one of uiRddID ancestors is uiSupperRddID * harbour/src/rdd/dbf1.c * harbour/src/rdd/delim1.c * harbour/src/rdd/sdf1.c * harbour/src/rdd/dbffpt/dbffpt1.c * harbour/src/rdd/dbfntx/dbfntx1.c * harbour/src/rdd/dbfnsx/dbfnsx1.c * harbour/src/rdd/dbfcdx/dbfcdx1.c * harbour/src/rdd/usrrdd/usrrdd.c * harbour/src/rdd/usrrdd/rdds/arrayrdd.prg * harbour/src/rdd/usrrdd/rdds/dbtcdx.prg * harbour/src/rdd/usrrdd/rdds/fptcdx.prg * harbour/src/rdd/usrrdd/rdds/hscdx.prg * harbour/src/rdd/usrrdd/rdds/vfpcdx.prg * harbour/src/rdd/usrrdd/rdds/logrdd.prg * harbour/src/rdd/usrrdd/rdds/rlcdx.prg * harbour/src/rdd/usrrdd/rdds/smtcdx.prg * harbour/contrib/rddbmcdx/bmdbfcdx.c * harbour/contrib/rddsql/sqlbase.c * harbour/contrib/rddsql/sqlmix.c * harbour/contrib/rddads/adsx.c * harbour/contrib/rddads/ads1.c * respect new parameter in <RDD>_GETFUNCTABLE() and use hb_rddInheritEx() instead of hb_rddInherit() * harbour/contrib/rddads/ads1.c * use hb_rddIsDerivedFrom() to recognize RDDs which inherits from one of ADS* RDDs. It should resolve some problems with ADS*X RDDs and help to simplify ADS*X RDDs code. Please test it and update ADS*X code removing some code which is not longer necessary. 2010-09-28 16:58 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbxbp/xbpbrowse.prg * contrib/hbxbp/xbptreeview.prg ! Code normalized. 2010-09-28 19:26 UTC+0200 Viktor Szakats * contrib/hbqt/qtcore/hbqt_base.cpp * contrib/hbqt/qtgui/THbQtUI.prg ! QT_FINDCHILD -> HBQT_FINDCHILD * contrib/hbqt/qtcore/hbqt_destruct.cpp % hbqt_gcpointerFromItem() made static. * contrib/hbqt/qtcore/hbqt_destruct.cpp * contrib/hbqt/qtcore/hbqt_hbqslots.cpp - Deleted unused hbqt_pPtrFromItem(). 2010-09-28 09:43 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtwebkit/g/TQWebSecurityOrigin.prg * contrib/hbqt/qtwebkit/g/TQWebSettings.prg * contrib/hbqt/qtwebkit/g/TQWebView.prg * contrib/hbide/hbqreportsmanager.prg * contrib/hbide/hbqtoolbar.prg * contrib/hbide/ideactions.prg * contrib/hbide/idebrowse.prg * contrib/hbide/idedocks.prg * contrib/hbide/idedocwriter.prg * contrib/hbide/ideedit.prg * contrib/hbide/ideeditor.prg * contrib/hbide/idefindreplace.prg * contrib/hbide/idefunctions.prg * contrib/hbide/ideharbourhelp.prg * contrib/hbide/idemisc.prg * contrib/hbide/ideprojmanager.prg * contrib/hbide/idesaveload.prg * contrib/hbide/ideshortcuts.prg * contrib/hbide/ideskeletons.prg * contrib/hbide/idethemes.prg * contrib/hbide/idetools.prg ! Adopted to latest changes. * contrib/hbxbp/hbpprocess.prg * contrib/hbxbp/xbp3state.prg * contrib/hbxbp/xbpappevent.prg * contrib/hbxbp/xbpbitmap.prg * contrib/hbxbp/xbpbrowse.prg * contrib/hbxbp/xbpcheckbox.prg * contrib/hbxbp/xbpclipboard.prg * contrib/hbxbp/xbpcombobox.prg * contrib/hbxbp/xbpdialog.prg * contrib/hbxbp/xbpfiledialog.prg * contrib/hbxbp/xbpfontdialog.prg * contrib/hbxbp/xbphtmlviewer.prg * contrib/hbxbp/xbplistbox.prg * contrib/hbxbp/xbpmenubar.prg * contrib/hbxbp/xbpmle.prg * contrib/hbxbp/xbpprintdialog.prg * contrib/hbxbp/xbppushbutton.prg * contrib/hbxbp/xbpradiobutton.prg * contrib/hbxbp/xbprtf.prg * contrib/hbxbp/xbpscrollbar.prg * contrib/hbxbp/xbpsle.prg * contrib/hbxbp/xbpspinbutton.prg * contrib/hbxbp/xbpstatic.prg * contrib/hbxbp/xbpstatusbar.prg * contrib/hbxbp/xbptabpage.prg * contrib/hbxbp/xbptoolbar.prg * contrib/hbxbp/xbptreeview.prg * contrib/hbxbp/xbpwindow.prg * Adopted to latest changes. * contrib/hbqt/tests/demoqt.prg * Adopted to latest changes. * contrib/hbqt/utils/hbqtgen.prg + Implemented: many-t-one class method call on PRG level. NOTES: this implementation is a leap forward in the evolution of hbQT. Now any method call returns the Harbour compatible type. It means any Qt method call which is expected to return a hbQT object was returning a pointer to the object, now returns a hbQT class object instance instead. So, the code like this: qCursor := QTextCursor():from( qDoc:textCursor() ) => qCursor := qDoc:textCursor() And this implementation is exactly like Qt itself where you can pass the return object directly as an argument to the another method call. pw := iif( abs( ::pen():widthF() ) > 0, abs( ::pen():widthF() ), 1 ) See hbIDE code to review how it is simplified by now. WARNING: regression is highly possible and may be hbIDE become unstable for some time. 3rd party libraries: adopt new code to your advantage. Many things are incompatible now. 2010-09-28 09:14 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/qth/QDesktopServices.qth * contrib/hbqt/qtgui/qth/QGraphicsScene.qth * contrib/hbqt/qtgui/qth/QImage.qth * contrib/hbqt/qtgui/qth/QPainter.qth * contrib/hbqt/qtgui/qth/QPainterPath.qth * contrib/hbqt/qtgui/qth/QPixmap.qth * Normalized. Pulled all c++ level constructs. * contrib/hbqt/qtgui/THbQtUI.prg * contrib/hbqt/utils/hbqtgen.prg * contrib/hbqt/utils/qtgui.qtp + Implemented: many-to-one method call resolving protocol. * contrib/hbqt/qt*/g/*.cpp, *.prg, *.txt * Re-generated. Details follow in next commit. 2010-09-28 17:50 UTC+0200 Viktor Szakats * src/compiler/hbusage.c + Added to the list of contributors: Carlos Bacco (carlosbacco gmail.com) Francesco Perillo (fperillo gmail.com) Istvan Bisz (istvan.bisz t-online.hu) Tamas Tevesz (ice extreme.hu) (I accept recommendation about who else should be added, it's be a while I updated this list) * contrib/hbide/ideparseexpr.c % Using hb_parldef(). 2010-09-28 17:46 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbcom.ch + added new error constant value: HB_COM_ERR_IO * harbour/src/rtl/hbcom.c + added translation for some important OS error code in *nix builds + added translation ERROR_TIMEOUT -> HB_COM_ERR_TIMEOUT in Windows build. TODO: check real error codes for it and also for other operations like opening the same port more then once and add valid translations ; TODO: add some basic translation for OS2 error codes. HB_COM_ERR_TIMEOUT seems to be most important for portable programs. 2010-09-28 09:56 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/hbcom.c ! fixed typo in MS-Windows builds 2010-09-28 08:32 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbcom.ch * updated few comments * harbour/include/hbapicom.h * harbour/src/rtl/hbcom.c + added new C function: HB_FHANDLE hb_comGetDeviceHandle( int iPort ); * small cleanup in OS2 flow control setting * harbour/src/rtl/hbcomhb.c + added new PRG function HB_COMGETDEVICEHANDLE( nPort ) --> nHandle | F_ERROR * modified HB_COMFLOWCONTROL() to not change existing flow control when 3rd parameter is missing: HB_COMFLOWCONTROL( nPort, @nOldFlow [, nNewFlow] ) --> lSuccess * harbour/contrib/hbmzip/hbmzip.c ! fixed date setting in HB_ZIPFILECREATE() 2010-09-28 03:53 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg * config/global.mk * INSTALL ! HB_BUILD_NAME/-build= no longer supports pathseps (backslash/fwdslash) (it would need costly solution to resolve compilation of hbrun.rc, maybe more. It's also "cleaner" this way, since the dir structure is not altered) 2010-09-27 19:53 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbtrace.h * harbour/src/common/hbtrace.c + added new C functions: int hb_traceflush( int new_flush ); HB_BOOL hb_tracefile( const char * szFile ); * harbour/src/rtl/trace.c + added new PRG functions: HB_TRACESYSOUT( [ <nFlush> | <lFlush> ] ) -> <lPrevFlush> HB_TRACEFILE( <cFileName> ) -> <lSetCorrectly> * modified PRG function HB_TRACESTATE() to accept logical value as parameter and return logical value as reult: HB_TRACESTATE( [ <nEnabled> | <lEnabled> ] ) -> <lPrevEnabled> 2010-09-27 11:54 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbwin/hbwinole.h * harbour/contrib/hbwin/olecore.c + C functions hb_oleItemGetDispatch() and hb_oleDispatchToItem() made public 2010-09-26 23:03 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Harbour environment autodetection will now work if pathseps are present in HB_BUILD_NAME/-build= setting. (so now it's in sync with Harbour build in this regard) 2010-09-26 17:28 UTC+0200 Viktor Szakats * examples/gtwvw/tests/wvwtest9.prg + Changed to use HB_GTI_INKEYFILTER instead of xhb specific calls. This fixes last known missing showstopper in gtwvw for Harbour. * utils/hbmk2/hbmk2.prg + Added support for macros in -gt/gt= options. (thus fixing gtwvw.hbc) ; Patches received from Tamas Tevesz. Thanks a lot! * external/png/pngconf.h * external/png/pngpread.c * external/png/LICENSE * external/png/pngrutil.c * external/png/png.c * external/png/png.h * external/png/pngpriv.h * external/png/Makefile * external/png/pngtrans.c * Update to 1.4.4 (from 1.4.3) * external/bzip2/blocksor.c * external/bzip2/decompre.c * external/bzip2/crctable.c * external/bzip2/LICENSE * external/bzip2/bzlib.c * external/bzip2/huffman.c * external/bzip2/bzlib.h * external/bzip2/randtabl.c * external/bzip2/bzlib_pr.h * external/bzip2/compress.c * external/bzip2/Makefile * Update to 1.0.6 (from 1.0.5) 2010-09-24 17:43 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/THbQtUI.prg ! Synchronized with plugin...hbs. 2010-09-24 15:45 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtcore/qth/QFile.qth * contrib/hbqt/qtcore/qth/QIODevice.qth * contrib/hbqt/qtcore/qth/QResource.qth * contrib/hbqt/qtgui/qth/QBrush.qth * contrib/hbqt/qtgui/qth/QColor.qth * contrib/hbqt/qtgui/qth/QFormLayout.qth * contrib/hbqt/qtgui/qth/QIcon.qth * contrib/hbqt/qtgui/qth/QImage.qth * contrib/hbqt/qtgui/qth/QMainWindow.qth * contrib/hbqt/qtgui/qth/QMenu.qth * contrib/hbqt/qtgui/qth/QMenuBar.qth * contrib/hbqt/qtgui/qth/QPainter.qth * contrib/hbqt/qtgui/qth/QPainterPath.qth * contrib/hbqt/qtgui/qth/QPixmap.qth * contrib/hbqt/qtgui/qth/QWidget.qth + Normalized as much as possible. In some cases almost 100%. * contrib/hbqt/hbqt_hbmk2_plugin.hbs * contrib/hbxbp/xbpbrowse.prg * contrib/hbxbp/xbplistbox.prg - Changed: calls postfixed with "_1" and family methods. * contrib/hbide/hbqreportsmanager.prg * contrib/hbide/idebrowse.prg * contrib/hbide/idedocks.prg * contrib/hbide/idefindreplace.prg * contrib/hbide/idefunctions.prg * contrib/hbide/ideharbourhelp.prg * contrib/hbide/idesaveload.prg * contrib/hbide/ideshortcuts.prg - Changed: calls postfixed with "_1" and family methods. Nothing else is looked into yet. * contrib/hbqt/qtcore/hbqt_misc.prg + Added one more method :valtypes() * contrib/hbqt/utils/hbqtgen.prg + Implemented: resolving parameters and calling many-to-one methods at PRG level. It is extremely complex composition but has been achieved to the point where, at least, hbIDE is build properly and is running. Many more points needs to be addressed but that I will undertake after a couple of days. REGRESSION is highly possible and reporting will be extremely helpful to further fine-tune the concept. Goal is to bring everything on PRG code. * contrib/hbqt/qt*/g/*.cpp;*.prg,*.txt * Re-generated. 2010-09-23 18:52 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtcore/qth/HBQString.qth * contrib/hbqt/qtcore/qth/QBuffer.qth * contrib/hbqt/qtcore/qth/QByteArray.qth * contrib/hbqt/qtcore/qth/QChar.qth * contrib/hbqt/qtcore/qth/QList.qth * contrib/hbqt/qtcore/qth/QStringList.qth * contrib/hbqt/qtgui/qth/QImage.qth * contrib/hbqt/qtgui/qth/QPrintDialog.qth ! Commented out duplicate ( Harbour's type ) methods. Preparatory work for next commit. 2010-09-24 01:57 UTC+0200 Viktor Szakats * contrib/hbmzip/hbmzip.c ! Fixed potential GPF in HB_ZIPDELETEFILE() and HB_UNZIPFILEINFO() Report and patch by Leandro Damasio. Thanks. * INSTALL - Deleted actual example value from HB_QTPOSTFIX. Users were setting this unnecessarily thinking they need it. The minority how really need this will know what this is about anyway. 2010-09-23 17:36 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbwin/olecore.c * harbour/contrib/hbwin/hbolesrv.c ! fixed typos in string terminating characters reported by Mindaugas 2010-09-23 12:11 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/pp/ppcore.c + added new PP directive: #warning <*msg*> * harbour/include/hbclass.ch * use #warning instead of #error for class method declaration mismatch (enabled by -w3 compiler switch) 2010-09-23 11:24 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbwin/olecore.c ! fixed to return assigned value instead of 1st parameter when more then one parameter is used in code like: object:_name( param, value ) * harbour/contrib/hbwin/hbolesrv.c ! fixed updating of OLE object reference counter used by DllCanUnloadNow() 2010-09-23 10:34 UTC+0200 Viktor Szakats * contrib/hbqt/hbqt.hbc ! Typo causing this make file to not work. Error reported by Francesco Perillo. 2010-09-23 06:05 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/contrib/hbwin/olecore.c + added possibility to use more than one parameter in property put call. This allows to make a workaround for non-existant Harbour language syntax: object.name(param) = value Workaround syntax: object._name(param, value) + added comment documenting OLE automation behaviour for various VBScript sentences + harbour/contrib/hbwin/tests/pdfcreat.prg + added sample code for producing .pdf documents using OLE and PDFCreator 2010-09-22 18:48 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/qth/QBoxLayout.qth * contrib/hbqt/qtgui/qth/QComboBox.qth * contrib/hbqt/qtgui/qth/QDrag.qth * contrib/hbqt/qtgui/qth/QGridLayout.qth * contrib/hbqt/qtgui/qth/QLayout.qth * contrib/hbqt/qtgui/qth/QListWidget.qth * contrib/hbqt/qtgui/qth/QTableWidget.qth * contrib/hbqt/qtgui/qth/QTabWidget.qth * contrib/hbqt/qtgui/qth/QToolBar.qth * contrib/hbqt/qtgui/qth/QTreeWidget.qth * contrib/hbqt/qtgui/qth/QTreeWidgetItem.qth * contrib/hbqt/qtgui/qth/QWidget.qth - Deleted all occurances where a widget was detached from GC cycle. Now it is done automatically by the generator. To flag an argument to detach, prototype body is post-fixed with [*D=n*] where "n" is the ordinal position of the argument as seen in the prototype body. * contrib/hbqt/utils/hbqtgen.prg + A thoughly simplified, artionalized, object based implementation. It is now easily possible to extend it with many more constructs. WARNING: though this implementation produces the working code but I have not re-generated sources because a lot more is still on my drawing-board. You can generate sources but only at your local end. DO NOT UPDATE SVN. 2010-09-23 00:07 UTC+0200 Viktor Szakats * tests/inline_c.prg ! Fixed. (deleted old code not working since 10 years) 2010-09-22 18:35 UTC+0200 Viktor Szakats * package/winuni/RELNOTES * INSTALL * Refreshed for QT 4.7.0 2010-09-22 16:58 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/config/rules.mk * added hack for some older GCC versions which do not enable preprocessor for .sx files 2010-09-22 16:52 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapicom.h * harbour/src/rtl/hbcom.c + added public C function: void hb_comSetError( int iPort, int iError ) * harbour/src/rtl/hbcomhb.c + added PRG function: HB_COMSETERROR( nPort, nError ) --> NIL * harbour/src/rtl/hbsocket.c * minor formatting * harbour/config/doc.mk * harbour/config/postinst.hbs * harbour/contrib/make.hbs * do not install documentation files when HB_INSTALL_DOC=no * harbour/config/postinst.hbs ! do not install .hbl files for core utils when HB_BUILD_PARTS=lib + added support for HB_INSTALL_SCRIPT executed after install step. It allows to extract some variables set by our GNU make system, i.e. it's used to retrieve HB_CCPREFIX in win/wince .spec files. * harbour/package/harbour-win.spec.in * use HB_INSTALL_DOC=no to disable DOC file installation * generate hb{w|ce}mk2 scripts as wrappers to hbmk2 with cross build settings so it can be easy used used by users to create Windows/WindowsCE binaries. Temporary solution until we will not have something more general. 2010-09-21 12:37 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtwebkit/g/hbqtwebkit.h + Added SVN properties. 2010-09-21 09:39 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/g/QMenu.cpp * Re-generated. * contrib/hbqt/qtgui/qth/QMenu.qth ! A try to fix error reported on some builds. I am not sure if this is the cause but let us try. 2010-09-21 19:10 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/contrib/rddsql/sqlbase.c ! fixed connection freeing in RDDI_DISCONNECT * harbour/include/hbsocket.h * added socket item API functions 2010-09-21 01:15 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/doc/en/class_qbrush.txt * contrib/hbqt/qtgui/doc/en/class_qcolor.txt * contrib/hbqt/qtgui/doc/en/class_qicon.txt * contrib/hbqt/qtgui/doc/en/class_qimage.txt * contrib/hbqt/qtgui/doc/en/class_qpixmap.txt * contrib/hbqt/qtgui/g/QBrush.cpp * contrib/hbqt/qtgui/g/QColor.cpp * contrib/hbqt/qtgui/g/QIcon.cpp * contrib/hbqt/qtgui/g/QImage.cpp * contrib/hbqt/qtgui/g/QPixmap.cpp * contrib/hbqt/qtgui/g/TQBrush.prg * contrib/hbqt/qtgui/g/TQColor.prg * contrib/hbqt/qtgui/g/TQIcon.prg * contrib/hbqt/qtgui/g/TQImage.prg * contrib/hbqt/qtgui/g/TQPixmap.prg * Re-generated. * contrib/hbqt/qtgui/qth/QBrush.qth * contrib/hbqt/qtgui/qth/QColor.qth * contrib/hbqt/qtgui/qth/QIcon.qth * contrib/hbqt/qtgui/qth/QImage.qth * contrib/hbqt/qtgui/qth/QPixmap.qth + Implemented: many-to-one method calling protocol. Refined: constructors. * contrib/hbqt/tests/demoqt.prg * contrib/hbxbp/xbpstatic.prg * contrib/hbide/hbqreportsmanager.prg * contrib/hbide/hbqtoolbar.prg ! Adopted to many-to-one changes as per above. 2010-09-20 18:56 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/tests/demoqt.prg * contrib/hbxbp/xbpmenubar.prg * contrib/hbxbp/xbptoolbar.prg * contrib/hbide/hbqreportsmanager.prg * contrib/hbide/ideactions.prg * contrib/hbide/idedocks.prg * contrib/hbide/ideedit.prg * contrib/hbide/ideeditor.prg * contrib/hbide/idefindreplace.prg * contrib/hbide/idemain.prg * contrib/hbide/idemisc.prg * contrib/hbide/ideskeletons.prg * contrib/hbqt/qtgui/doc/en/class_qmainwindow.txt * contrib/hbqt/qtgui/doc/en/class_qmenu.txt * contrib/hbqt/qtgui/g/QMainWindow.cpp * contrib/hbqt/qtgui/g/QMenu.cpp * contrib/hbqt/qtgui/g/TQMainWindow.prg * contrib/hbqt/qtgui/g/TQMenu.prg * Re-generated. * contrib/hbqt/qtgui/qth/QMainWindow.qth * contrib/hbqt/qtgui/qth/QMenu.qth + Implemented: many-to-one method call protocol. 2010-09-20 16:34 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/idedocks.prg * contrib/hbide/idedocwriter.prg * contrib/hbide/idefindreplace.prg * contrib/hbide/ideharbourhelp.prg * contrib/hbide/ideshortcuts.prg * contrib/hbide/ideskeletons.prg ! Adjusted for many-to-one protocol. * contrib/hbxbp/xbppushbutton.prg * contrib/hbxbp/xbpwindow.prg ! Adjusted for many-to-one protocol. * contrib/hbqt/qtgui/doc/en/class_qwidget.txt * contrib/hbqt/qtgui/g/QWidget.cpp * contrib/hbqt/qtgui/g/TQWidget.prg * Re-generated. * contrib/hbqt/qtgui/qth/QWidget.qth + Implemented: many-to-one method call protocol. 2010-09-20 15:07 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/doc/en/class_qpainter.txt * contrib/hbqt/qtgui/doc/en/class_qpainterpath.txt * contrib/hbqt/qtgui/g/QPainter.cpp * contrib/hbqt/qtgui/g/QPainterPath.cpp * contrib/hbqt/qtgui/g/TQPainter.prg * contrib/hbqt/qtgui/g/TQPainterPath.prg * Re-generated. * contrib/hbqt/qtgui/qth/QPainter.qth ! Implemented remaining methods - many-to-one. NOTE: :fillRect() with Qt_BrushStyle is omitted. This omission goes in favour of Qt_GlbalColor because fill with a color is mostly used call. * contrib/hbqt/qtgui/qth/QPainterPath.qth + Implemented: many-to-one method synchronization. * contrib/hbide/hbqreportsmanager.prg ! Modified to honor above changes. WARNING: 3rd Party Developers - Please revisit your printing functions. 2010-09-20 13:48 UTC+0200 Viktor Szakats - contrib/hbqt/qtcore/g/THBEvents.prg + contrib/hbqt/qtcore/g/THBQEvents.prg - contrib/hbqt/qtcore/g/THBSlots.prg + contrib/hbqt/qtcore/g/THBQSlots.prg * Renamed. Missed from original commit. 2010-09-20 13:47 UTC+0200 Viktor Szakats - contrib/hbqt/qtcore/g/THBQSlots.prg - contrib/hbqt/qtcore/g/THBQEvents.prg - Deleted. They should be renamed from old files. 2010-09-20 01:30 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/hbqreportsmanager.prg * contrib/hbide/idemisc.prg * contrib/hbqt/qtgui/doc/en/class_qpainter.txt * contrib/hbqt/qtgui/g/QPainter.cpp * contrib/hbqt/qtgui/g/TQPainter.prg * contrib/hbqt/qtgui/qth/QPainter.qth + Implemented: all multiple entry functions of QPainter() class under single function call. Only exception is :fillRect() which accepts similar parameters for different overloadings. 2010-09-19 17:48 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) + contrib/hbqt/qtcore/g/THBQEvents.prg + contrib/hbqt/qtcore/g/THBQSlots.prg + Missings from prev commit of Viktor. * contrib/hbqt/qtgui/doc/en/class_qpainter.txt * contrib/hbqt/qtgui/g/QPainter.cpp * contrib/hbqt/qtgui/g/TQPainter.prg * contrib/hbqt/qtgui/qth/QPainter.qth + More streamlined many-to-one function calls. Still a work in progress. * contrib/hbide/hbqreportsmanager.prg * contrib/hbide/ideactions.prg * contrib/hbide/idemain.prg * contrib/hbide/idesaveload.prg + Implemented: Harbour level codepage protocol. Please make experiments. WARNING: you may need to re-select appropriate codepage from <MainMenu><Setup><Codepages> menu option before saving any source. Better would be - select codepage as above and exit hbIDE, reenter. 2010-09-20 01:35 UTC+0200 Viktor Szakats * contrib/make.hbs + Stop build in case a contrib build failed. 2010-09-20 00:51 UTC+0200 Viktor Szakats * contrib/hbqt/qtcore/hbqtcore.hbm * contrib/hbqt/qtcore/hbqtcore.hbc - contrib/hbqt/qtcore/hbqt_hbevents.cpp + contrib/hbqt/qtcore/hbqt_hbqevents.cpp - contrib/hbqt/qtcore/hbqt_hbslots.cpp + contrib/hbqt/qtcore/hbqt_hbqslots.cpp - contrib/hbqt/qtcore/hbqt_hbevents.h + contrib/hbqt/qtcore/hbqt_hbqevents.h - contrib/hbqt/qtcore/hbqt_hbslots.h + contrib/hbqt/qtcore/hbqt_hbqslots.h * contrib/hbqt/qtcore/g/filelist.hbm * contrib/hbqt/qtcore/g/hbqtcore.h - contrib/hbqt/qtcore/g/HBEvents.cpp + contrib/hbqt/qtcore/g/HBQEvents.cpp - contrib/hbqt/qtcore/g/HBSlots.cpp + contrib/hbqt/qtcore/g/HBQSlots.cpp - contrib/hbqt/qtcore/qth/HBEvents.qth + contrib/hbqt/qtcore/qth/HBQEvents.qth - contrib/hbqt/qtcore/qth/HBSlots.qth + contrib/hbqt/qtcore/qth/HBQSlots.qth - contrib/hbqt/qtcore/doc/en/class_hbevents.txt + contrib/hbqt/qtcore/doc/en/class_hbqevents.txt - contrib/hbqt/qtcore/doc/en/class_hbslots.txt + contrib/hbqt/qtcore/doc/en/class_hbqslots.txt * contrib/hbqt/utils/qtcore.qtp ! Renamed HBSLOTS -> HBQSLOTS ! Renamed HBEVENTS -> HBQEVENTS * contrib/hbqt/qtgui/hbqtgui.hbx * contrib/hbqt/qtcore/hbqtcore.hbx * contrib/hbqt/qtnetwork/hbqtnetwork.hbx * Regenerated after several recent changes. * contrib/hbqt/tests/testres.prg * contrib/hbqt/tests/demoqt.prg * contrib/hbqt/tests/dialogqt.prg * contrib/hbqt/tests/testbrow.prg * contrib/hbqt/tests/testqaim.prg * contrib/hbxbp/tests/demoxbp.prg * contrib/hbxbp/tests/dialogqt.prg * contrib/hbide/idemain.prg * Changed 'REQUEST HB_QT' -> 'REQUEST HB_QTGUI' * contrib/hbnetio/utils/netiosrv.prg ! Fixed one type prefix in constant name. 2010-09-19 21:15 UTC+0200 Viktor Szakats * contrib/hbqt/qtcore/hbqtcore.hbx * contrib/hbqt/qtcore/hbqt_destruct.cpp * Renamed: HBQT_SETCODECFORCSTRINGS() -> __HBQT_SETCODECFORCSTRINGS() * Renamed: HBQT_SETCODECFORTR -> __HBQT_SETCODECFORTR() ; These should never be called by a Harbour application. ; TODO: Remove them in the future. [DONE] * contrib/hbqt/qtgui/qth/QApplication.qth * contrib/hbqt/qtcore/qth/QCoreApplication.qth ! Fixed to initialize default QT text codec to UTF8 inside HBQTCORE (instead of HBQTGUI). HB_QTGUI puller will automatically pull HB_QTCORE. ! Fixed to use HB_QTCORE and HB_QTGUI puller symbols instead of former HB_QT. Please change your code. ; TODO: Change HB_QT to HB_QTGUI. [DONE] ; TODO: Delete HB_QT [DONE] * contrib/hbqt/qtgui/g/QApplication.cpp * contrib/hbqt/qtcore/g/QCoreApplication.cpp * Regenerated. * contrib/hbqt/qtgui/doc/en/class_qpainter.txt * contrib/hbqt/qtgui/g/QPainter.cpp * contrib/hbqt/qtgui/g/TQPainter.prg * Regenerated. (due to some previous commits) * contrib/hbqt/qtwebkit/g/hbqtwebkit.h * Regenerated. (why?) * contrib/hbxbp/hbxbp.hbx * contrib/hbxbp/xbpgeneric.prg - Deleted wrappers dealing with modifying QT text codec: HBXBP_SETCODEC(), HBXBP_SETCODECFORTR() * contrib/hbide/idemain.prg - Deleted manual init of QT text codec. + Changed to display active CP based on Harbour setting. 2010-09-19 11:00 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtcore/hbqt_hbslots.h - Deleted: references to QSessionManager(). * contrib/hbqt/qtgui/g/QApplication.cpp * contrib/hbqt/qtgui/qth/QApplication.qth ! QTextCodec::codecForLocale() => QTextCodec::codecForName( "UTF8" ) This synchronizes the codepage used by hbQT for its translation operations. It is not needed in QCoreApplication() because for all types of hbQT based applications QApplication() is ever to be called as first line. TODO: needed an option for users to set Harbour's recognized codepages. 2010-09-18 13:05 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtcore/hbqt_hbslots.cpp * contrib/hbqt/qtcore/hbqt_hbslots.h + Added: signals for QApplication(). 2010-09-18 10:12 UTC+0200 Viktor Szakats * src/rtl/ttopbar.prg ! Reverted: 2010-09-17 15:49 UTC-0800 2010-09-17 19:37 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/qth/QPainter.qth ! Prepared: drawText() for single call protocol as :hbDrawText(). 2010-09-17 18:22 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/doc/en/class_qpainter.txt * contrib/hbqt/qtgui/g/QPainter.cpp * contrib/hbqt/qtgui/g/TQPainter.prg * Re-generated. * contrib/hbqt/qtgui/qth/QPainter.qth + Implemented: single call :drawLine() method. * contrib/hbqt/utils/hbqtgen.prg + Implemented: "..." parameter as method argument. Needed to streamline in single call of Qt's overloaded by argument type methods. * contrib/hbide/hbqreportsmanager.prg ! Demonstrated the use of QPainter():drawLine( ... ) with variable type of argument types. NOTE: this mechanism holds good if arguments are constructed via Q*Class( ... ) call only. Also this mechanism seems to be working best for only those classes of Qt which are neither inherited nor inheriting other class. The classes in this bracket are like - QBrush, QColor, QPixmap, QRect, QPoint, etc. 2010-09-17 15:49 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * src/rtl/ttopbar.prg ! Changed: Instance variable <cargo> to SETGET METHOD cargo( xCargo ). Request received on SF's bug tracker. 2010-09-17 15:31 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/g/QComboBox.cpp * Re-generated. * contrib/hbqt/qtgui/qth/QComboBox.qth ! Detached one child from GC cycle - :setView() * contrib/hbxbp/xbpcombobox.prg ! Fixed to support inheritance. Thanks Shum for real-time Xbase++ code example. Now it can be compiled with Harbour + hbQT without any line change. 2010-09-17 08:19 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/qth/QIcon.qth ! An important change in constructor. TO-REMEMBER: whenever any parameter has to be tested with HB_ISCHAR() and HB_ISPOINTER(), HB_ISCHAR() must ever be checked first then HB_ISPOINTER(), at least for hbQT. * contrib/hbqt/utils/hbqtgen.prg ! Fixed: how a QIcon() is passed to another methods. * contrib/hbqt/qt*/g/*.prg * contrib/hbqt/qt*/doc/en/*.txt * Auto generated. 2010-09-17 07:59 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbwin/win_rpc.c * casting to pacify MinGW warnings 2010-09-16 16:00 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/ideshortcuts.prg ! Demonstrated: how a QLabel can be intercepted for key events. 2010-09-16 13:32 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/ideactions.prg * contrib/hbide/ideobject.prg ! Minor. * contrib/hbqt/hbqt_hbmk2_plugin.hbs + Added: required :pPtr initialization. * contrib/hbqt/qtcore/hbqt_misc.prg ! Changed the way hbqt_ptr( oQtOROtherObject ) was returning :pPtr. Now it checks <:pPtr> instance variable's presence if it is a member of the class or not. WARNING: Now onwards any class derived from hbQT class must contain :pPtr instance variable to work properly. * contrib/hbqt/qtgui/THbQtUI.prg + Added: :pPtr instance vaiable. 2010-09-15 19:05 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/idemain.prg ! A last minute miss. 2010-09-15 18:53 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/ideactions.prg * contrib/hbide/idesaveload.prg + Implemented: UTF-8 codepage strictly. We need to explore how Harbour defined codepages can be implemented. * contrib/hbqt/qtcore/hbqt.h + #include "hbapistr.h" * contrib/hbqt/utils/hbqtgen.prg + Implemented: QString to respect Harbour Str API to respect UTF-8. * contrib/hbide/qt*libs/*.cpp * Re-generated. This implementation overcomes a long standing glich in hbIDE at least. 2010-09-15 15:55 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbxbp/xbp.ch + Added XBP_*_GROUP constants. * contrib/hbxbp/xbpwindow.prg ! :group instance variable now returns XBP_NO_GROUP instead of 0. 2010-09-15 14:35 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/hbqt_hbmk2_plugin.hbs * contrib/hbqt/qtgui/g/QGraphicsEllipseItem.cpp * contrib/hbqt/qtgui/g/QGraphicsLineItem.cpp * contrib/hbqt/qtgui/g/QGraphicsPathItem.cpp * contrib/hbqt/qtgui/g/QGraphicsPixmapItem.cpp * contrib/hbqt/qtgui/g/QGraphicsPolygonItem.cpp * contrib/hbqt/qtgui/g/QGraphicsRectItem.cpp * contrib/hbqt/qtgui/g/QGraphicsScene.cpp * contrib/hbqt/qtgui/g/QGraphicsSimpleTextItem.cpp * contrib/hbqt/qtgui/g/QGraphicsTextItem.cpp * contrib/hbqt/qtgui/g/QWidget.cpp * Regenerated. * contrib/hbqt/qtgui/qth/QGraphicsEllipseItem.qth * contrib/hbqt/qtgui/qth/QGraphicsLineItem.qth * contrib/hbqt/qtgui/qth/QGraphicsPathItem.qth * contrib/hbqt/qtgui/qth/QGraphicsPixmapItem.qth * contrib/hbqt/qtgui/qth/QGraphicsPolygonItem.qth * contrib/hbqt/qtgui/qth/QGraphicsRectItem.qth * contrib/hbqt/qtgui/qth/QGraphicsScene.qth * contrib/hbqt/qtgui/qth/QGraphicsSimpleTextItem.qth * contrib/hbqt/qtgui/qth/QGraphicsSvgItem.qth * contrib/hbqt/qtgui/qth/QGraphicsTextItem.qth * contrib/hbqt/qtgui/qth/QWidget.qth * contrib/hbqt/qtwebkit/g/hbqtwebkit.h ! Corrected constructors which were wrongly based on p->HBQT_TYPE_Q*Class for certain situations. CAUTION: HBQT_TYPE_Q*Class member of hbQT structure is only usable for objects which neither _INHERIT_ nor _INHERITED_ by any other class. Also it may pose problems if direct pointer obtained from some method call is supplied to the constructor. - contrib/hbqt/qtgui/hbqt_hbqgraphicsrectitem.cpp - contrib/hbqt/qtgui/hbqt_hbqgraphicsrectitem.h - Deleted sub-classes no longer required. 2010-09-15 23:25 UTC+0200 Viktor Szakats * config/global.mk + Pointing to INSTALL doc in missing HB_INSTALL_PREFIX error message. 2010-09-15 23:00 UTC+0200 Viktor Szakats * contrib/hbwin/hbwin.hbp + contrib/hbwin/win_rpc.c + contrib/hbwin/tests/testrpc.prg + Added WIN_UUIDCREATESTRING() function to generate UUIDs via Windows API. Requires W2K or upper as per MSDN. If not supported, it returns empty string. 2010-09-15 20:01 UTC+0200 Viktor Szakats + contrib/hbqt/qtgui/hbqtgui.ch * contrib/hbqt/qtgui/hbqtgui.hbc * contrib/hbqt/qtgui/hbqtgui.hbp + contrib/hbqt/qtwebkit/hbqtwebkit.ch * contrib/hbqt/qtwebkit/hbqtwebkit.hbc * contrib/hbqt/qtwebkit/hbqtwebkit.hbp + contrib/hbqt/qtcore/hbqtcore.ch * contrib/hbqt/qtcore/hbqtcore.hbp + Monotlithic hbqt.ch split to per-component headers. - contrib/hbqt/hbqt.ch - Deleted. Please use hbqtcore.ch, hbqtgui.ch instead. ; INCOMPATIBLE. ; NOTE: hbqt.ch was automatically including hbtrace.ch, with per-component headers this is no longer true, so if you need it you have to include it explicitly. ; NOTE: QT_PTROF() compatibility macro has been removed. It was a dummy, so either remove it from your code or readd the macro locally until then. * contrib/hbqt/qtcore/hbqt.h * Changed 'type' form int to unsigned int. * contrib/gtwvg/tests/wvgqt.prg - Deleted obsolete macro. * contrib/hbqt/qtcore/hbqt_misc.prg * contrib/hbqt/hbqt_hbmk2_plugin.hbs * contrib/hbqt/qtgui/hbqt_errorsys.prg * contrib/hbqt/qtgui/THbQtUI.prg * contrib/hbqt/qtgui/qth/QColor.qth * contrib/hbqt/tests/demoqt.prg * contrib/hbqt/tests/testres.prg * contrib/hbqt/tests/dialogqt.prg * contrib/hbqt/tests/testbrow.prg * contrib/hbqt/tests/testqaim.prg * contrib/hbxbp/xbpappevent.prg * contrib/hbxbp/xbp.ch * contrib/hbxbp/xbpstatic.prg * contrib/hbxbp/hbpprocess.prg * contrib/hbide/hbqtoolbar.prg * contrib/hbide/idefindreplace.prg * contrib/hbide/ideedit.prg * contrib/hbide/idewizard.prg * contrib/hbide/hbqreportsmanager.prg * contrib/hbide/idefunctions.prg * contrib/hbide/idedict.prg * contrib/hbide/idethemes.prg * contrib/hbide/idesaveload.prg * contrib/hbide/idetools.prg * contrib/hbide/idedocwriter.prg * contrib/hbide/ideharbourhelp.prg * contrib/hbide/ideeditor.prg * contrib/hbide/ideprojmanager.prg * contrib/hbide/ideskeletons.prg * contrib/hbide/ideenviron.prg * contrib/hbide/idesources.prg * contrib/hbide/idehome.prg * contrib/hbide/ideshortcuts.prg * contrib/hbide/idebrowse.prg * contrib/hbide/idedocks.prg * Changed to #include hbqtcore.ch/hbqtgui.ch instead of hbqt.ch. * contrib/hbqt/qtgui/doc/en/class_qcolor.txt * Regenerated. ; Everything HBQT related shall be rebuilt. 2010-09-15 17:50 UTC+0200 Viktor Szakats * contrib/hbqt/utils/hbqtgen.prg + Changed HBQT_TYPE_* constants to be crc32 hashes derived from component name + type name + "HBQT_TYPE_" string to guarantee uniqueness (and to make it possible to generate it dynamically). [ BTW formerly the base value was derived from component name with crc16, and the rest was incremented counter dependent on input file order. ] Please review hash generation, as it needs to be constant for a longer time, and hash method should be possible to extend to other IDs, like QT enums. * contrib/hbqt/qtgui/g/hbqtgui.h * contrib/hbqt/qtwebkit/g/hbqtwebkit.h * contrib/hbqt/qtcore/g/hbqtcore.h * contrib/hbqt/qtnetwork/g/hbqtnetwork.h * contrib/hbqt/qscintilla/g/hbqscintilla.h * contrib/hbqt/qtdesigner/g/hbqtdesigner.h * Regenerated. * src/rtl/inkeyapi.c * src/rtl/inkey.c ! Copyright comments moved/updated. 2010-09-15 16:54 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/hbzlib.c ! fixed typo 2010-09-15 16:04 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbclass.ch % small modification to reduce lock time * harbour/src/common/hbdate.c ! fixed hb_timeUTCOffset() in MS-Windows builds to work in some countries/windows versions where GetTimeZoneInformation() returns TIME_ZONE_ID_INVALID but sets correct tzInfo.StandardBias field. * harbour/package/mpkg_ver.sh ! fixed to set correctly root path after moving build scripts to ./package subdirectory * harbour/utils/Makefile ! do not build executable files when HB_BUILD_PARTS is set to 'lib' 2010-09-14 15:15 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/tests/testbrow.prg * contrib/hbqt/tests/testqaim.prg * contrib/hbqt/tests/testres.prg ! Adopted to new hbQT syntax. Q*Class():new( ... ) => Q*Class( ... ) Regression is highly possible, so please verify. 2010-09-14 15:05 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/hbqreportsmanager.prg * contrib/hbide/hbqtoolbar.prg * contrib/hbide/ideactions.prg * contrib/hbide/idebrowse.prg * contrib/hbide/idedict.prg * contrib/hbide/idedocks.prg * contrib/hbide/ideedit.prg * contrib/hbide/ideeditor.prg * contrib/hbide/idefindreplace.prg * contrib/hbide/idefunctions.prg * contrib/hbide/ideharbourhelp.prg * contrib/hbide/idehome.prg * contrib/hbide/idemain.prg * contrib/hbide/idemisc.prg * contrib/hbide/ideprojmanager.prg * contrib/hbide/idesaveload.prg * contrib/hbide/ideshortcuts.prg * contrib/hbide/ideskeletons.prg * contrib/hbide/idethemes.prg * contrib/hbide/idetools.prg * contrib/hbide/idewizard.prg ! Adopted to new hbQT class syntax. Q*Class():new( ... ) => Q*Class( ... ) Regression is highly possible, so please report errors. 2010-09-14 15:00 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbxbp/hbpprocess.prg * contrib/hbxbp/xbp3state.prg * contrib/hbxbp/xbpbitmap.prg * contrib/hbxbp/xbpbrowse.prg * contrib/hbxbp/xbpcheckbox.prg * contrib/hbxbp/xbpclipboard.prg * contrib/hbxbp/xbpcombobox.prg * contrib/hbxbp/xbpdialog.prg * contrib/hbxbp/xbpfiledialog.prg * contrib/hbxbp/xbpfontdialog.prg * contrib/hbxbp/xbpgeneric.prg * contrib/hbxbp/xbphtmlviewer.prg * contrib/hbxbp/xbplistbox.prg * contrib/hbxbp/xbpmenubar.prg * contrib/hbxbp/xbpmle.prg * contrib/hbxbp/xbpprintdialog.prg * contrib/hbxbp/xbpprinter.prg * contrib/hbxbp/xbppushbutton.prg * contrib/hbxbp/xbpradiobutton.prg * contrib/hbxbp/xbprtf.prg * contrib/hbxbp/xbpscrollbar.prg * contrib/hbxbp/xbpsle.prg * contrib/hbxbp/xbpspinbutton.prg * contrib/hbxbp/xbpstatic.prg * contrib/hbxbp/xbpstatusbar.prg * contrib/hbxbp/xbptabpage.prg * contrib/hbxbp/xbptoolbar.prg * contrib/hbxbp/xbptreeview.prg * contrib/hbxbp/xbpwindow.prg ! Adopted to new hbQT syntax. Q*Class():new( ... ) => Q*Class( ... ) 2010-09-14 14:47 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/tests/demoqt.prg ! Adopted to new syntax. * contrib/hbqt/utils/hbqtgen.prg + Implemented: Q*Class( ... ) syntax over Q*Class():new( ... ). The tips extended by Viktor, thanks. * contrib/hbqt/qtgui/THbQtUI.prg ! Adopted to new syntax. * contrib/hbqt/qtcore/g/*.prg * contrib/hbqt/qtgui/g/*.prg * contrib/hbqt/qtnetwork/g/*.prg * contrib/hbqt/qtwebkit/g/*.prg * contrib/hbqt/qtdesigner/g/*.prg * Regenerated. 2010-09-13 14:43 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/g/QTableWidget.cpp * Regenerated. * contrib/hbqt/qtgui/qth/QTableWidget.qth * Transferred ownership of <qWidget> in :setCellWidget( nRow, nCol, qWidget ) to its parent object. 2010-09-13 22:21 UTC+0200 Viktor Szakats * ChangeLog ! Added missing item to recent entry: * config/detect.mk + pick up csw-installed pcre on sunos Patch by Tamas Tevesz. 2010-09-13 12:34 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/hbqt_hbqabstractitemmodel.cpp ! Reverted back last commit, was generating GPF. This is subject to further investigation as I was trying to locate the cause of always increasing memory consumption. 2010-09-13 20:36 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/config/win/watcom.mk * removed .exe suffix from executed tools. It fixes cross builds using native Linux binaries. If someone wants to make some tests using windows binaries executed by WINE then please make the following soft links: wpp386 -> wpp386.exe wcc386 -> wcc386.exe wlink -> wlink.exe wrc -> wrc.exe or script wrappers 2010-09-13 17:00 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbwin/hbwinole.h * harbour/contrib/hbwin/axcore.c * harbour/contrib/hbwin/olecore.c * harbour/contrib/hbwin/hbolesrv.c + added new 'HB_USHORT uiClass' parameter to hb_oleDispInvoke() C function and updated corresponding code. 2010-09-13 15:46 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbwin/olecore.c ! use hb_oleVariantToItemEx() instead of hb_oleVariantToItem() in hb_oleSafeArrayToItem() to keep original object class when arrays are created. * keep original OLE object class when new OLE object is created in parameters passed by reference or returned by executed OLE method * keep original OLE object class when new OLE object is created by overloaded [] operator + added 3rd parameter to __OleEnumNext() function which allow to set OLE object class. * harbour/contrib/hbwin/oleauto.prg * keep original OLE object class in enumerators (__OleEnumNext()) 2010-09-13 16:05 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/contrib/hbwin/hbwinole.h * harbour/contrib/hbwin/olecore.c + implemented WIN_OLEAUTO class overloading * harbour/contrib/hbwin/legacy.prg - removed "[]" overloading. It's in the core object now. * src/rtl/hbjson.c ! fixed long long printf format 2010-09-13 13:39 UTC+0200 Viktor Szakats * package/harbour-win.spec.in * package/harbour-wce.spec.in ! Fixed messed up 8-bit codepage by my editor. ; QUESTION: Is it possible to switch to UTF-8 for these rpm scripts? 2010-09-13 13:30 UTC+0200 Viktor Szakats * package/harbour-win.spec.in * package/harbour-wce.spec.in ! Set HB_INSTALL_PREFIX, to follow this change: 2010-09-10 22:09 UTC+0200 ; TODO: Untested. Might need extra steps to package root files too (ChangeLog, COPYING, NEWS, TODO). [DONE] 2010-09-13 13:13 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbqt/hbqt_common.hbm ! respect HB_BUILD_EXTDEF=no * harbour/package/harbour-win.spec.in * harbour/package/harbour-wce.spec.in ! removed HB_BUILD_EXTDEF=no which is not necessary -my fault ; FIXME: now windows builds need HB_INSTALL_PREFIX so these RPMs still cannot be created. [DONE] 2010-09-13 12:12 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/package/harbour-win.spec.in * harbour/package/harbour-wce.spec.in ! added HB_BUILD_EXTDEF=no to fix cross compilation Question: in the past HB_BUILD_EXTDEF=no was set automatically for cross compilation. Why we removed this setting? * harbour/package/harbour.spec ! use libhbqt*.a for Harbour QT wrapper libraries instead of explicit names which were not correctly synced. * harbour/contrib/xhb/xhbmsgs.c ! fixed assign last character in string using [] operators in xHarbour emulation library, i.e.; cVal[ len( cVal ) ] := "*" 2010-09-13 11:40 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/hbzlib.c + added new PRG function: HB_GZCOMPRESSBOUND( <cData> | <nDataLen> ) -> <nMaxCompressLen> ! fixed compilation with ZLIB versions earlier then 1.2.0 broken by missing deflateBound() function which I used recently. 2010-09-13 09:59 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/hbzlib.c ! added our own version of compressBound() function for ZLIB versions 1.2.0 and earlier. It makes HB_ZCOMPRESSBOUND() working and fixes code like: <cResult> := HB_ZCOMPRESS( <cData> ) + added new PRG function: HB_GZCOMPRESS( <cData>, [<nDstBufLen>|<@cBuffer>], ; [<@nResult>], [<nLevel>] ) => <cCompressedData> or NIL on Error It works like HB_ZCOMPRESS() but uses GZIP instead of ZLIB encapsulation for compressed data. + added support for GZIP compressed strings to HB_ZUNCOMPRESS() and HB_ZUNCOMPRESSLEN() functions so they can be used with data compressed by HB_GZCOMPRESS() function or read from .gz files. 2010-09-12 22:09 UTC+0200 Viktor Szakats + contrib/hbqt/hbqt.hbc + Added .hbc for HBQT. So it can be referred in other projects simply as 'hbqt.hbc' (with no path). - contrib/hbqt/hbqt.hbp + contrib/hbqt/hbqt_all.hbp * contrib/hbplist * Renamed so that make.hbs doesn't pick-up hbqt.hbc automatically. * contrib/hbqt/qtgui/hbqtgui.hbx * contrib/hbqt/qtcore/hbqtcore.hbx * Automatically updated. * config/detect.mk + pick up csw-installed pcre on sunos Patch by Tamas Tevesz. ; hbqt doesn't build here with HB_BUILD_CONTRIB_DYN=yes mode. Reason unknown. No time to investigate. 2010-09-12 11:17 UTC+0200 Viktor Szakats * INSTALL ! Typo 2010-09-12 00:42 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/hbqt.ch + A couple of more constants. + contrib/hbide/resources/rp_arc.png + contrib/hbide/resources/rp_chord.png + contrib/hbide/resources/rp_diamond.png + contrib/hbide/resources/rp_ellipse.png + contrib/hbide/resources/rp_linediagleft.png + contrib/hbide/resources/rp_linediagright.png + contrib/hbide/resources/rp_linehorz.png + contrib/hbide/resources/rp_linevert.png + contrib/hbide/resources/rp_rectangle.png + contrib/hbide/resources/rp_roundrectangle.png + contrib/hbide/resources/rp_shapes.png + contrib/hbide/resources/rp_triangle.png * contrib/hbide/hbide.qrc + Added: above images. * contrib/hbide/hbqtoolbar.prg + Added: METHOD getItem(). * contrib/hbide/hbqreportsmanager.prg + Implemented: different shapes. Rectangle, Rounded Rectangle, Ellipse, Arc, Chord, Line - Horizontal, vertical, diagonal forward, diagobal backward. Diamond, Triangle. Graphics shapes implementation supports drag-drop features. 2010-09-11 09:22 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rdd/dbfcdx/dbfcdx1.c ! save and restore index tag during reindexing when one of tags with smaller number then the current one is moved to the end of tag list - Clipper compatibility problem reported by Maurilio. ; Please remember that in Harbour DBFCDX during reindexing adds new tag at the end of tag list removing the old one. It's CL53 DBFCDX and COMIX compatible behavior but it's different then CL52 DBFCDX and SIXCDX. * harbour/src/rdd/dbfnsx/dbfnsx1.c * harbour/src/rdd/dbfntx/dbfntx1.c ! update tag numbers after reindexing 2010-09-10 19:10 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/ideedit.prg ! Alt+PageUp/Down now position the cursor to next line after function ..() declaration line. * contrib/hbide/ideshortcuts.prg + Added: Alt+PageDown, Alt+PageUp macros. User now can tune it according to his editing habits. 2010-09-10 22:51 UTC+0200 Viktor Szakats * config/global.mk ! Adjustment to prev. Comment added. 2010-09-10 22:09 UTC+0200 Viktor Szakats * config/global.mk * Will now show fatal error if HB_INSTALL_PREFIX is not set at all on non-*nix systems. Not setting this will result in missing COPYING file (which is obligatory accessory when distributing Harbour) and other crucial files like INSTALL, NEWS and ChangeLog. * INSTALL * HB_INSTALL_??? envvars deprecated. It's recommended to use HB_INSTALL_PREFIX instead and let the build system decide about the internal directory layout. Setting these to arbitrary values may break Harbour tools like hbmk2. 2010-09-10 07:05 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/g/QPrinter.cpp * Regenerated. * contrib/hbqt/qtgui/qth/QPrinter.qth ! Fixed: constructor, now it accepts QPrinterInfo also as a parameter. * contrib/hbide/ideedit.prg + Implemented: Alt+PageDown/PageUp keys to navigate to next/previous function. A request received at FWH forums. 2010-09-10 11:34 UTC+0200 Viktor Szakats * contrib/hbide/hbide.hbp - contrib/hbide/hbide.prg + contrib/hbide/idemain.prg * Renamed to avoid users trying 'hbmk2 hbide' (and fail). 2010-09-10 09:57 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbwin/olecore.c ! do not convert parameters passed by reference for DISPID_PROPERTYPUT It should fix potential memory leak because in such case we do not use PutParams() which release them. ! return assigned value instead of index in __OPINDEX() method. 2010-09-10 05:14 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/contrib/hbwin/olecore.c * harbour/contrib/hbwin/oleauto.prg + implemented overloading of operator [] * harbour/vm/classes.c * pacified compiler warning 2010-09-09 09:19 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/hbqreportsmanager.prg ! Few more steps gained on printing front. 2010-09-09 23:51 UTC+0200 Viktor Szakats * contrib/make.hbs ! Fixed matching pathseps in filter. 2010-09-09 09:19 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) + contrib/hbqt/qtcore/g/HBQString.cpp + Added: missing file from prev commit. Damm it, I am getting less attentive since few days last, sorry. 2010-09-09 17:22 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/filesys.c * unified hb_fsSeek[Large]() return value when seek operation cannot be executed for given file handle. Now it's 0 for all platforms. * harbour/include/hbapicls.h * harbour/src/vm/classes.c + added new public C function PHB_SYMB hb_clsFuncSym( HB_USHORT uiClass ) It returns class function symbol or NULL. * harbour/ChangeLog * harbour/config/os2/gccomf.mk * harbour/include/hbpcode.h * harbour/include/hbdebug.ch * harbour/include/hbmath.ch * harbour/include/hbgfx.ch * harbour/src/vm/classes.c * harbour/utils/hbmk2/hbmk2.prg * removed dummy trailing spaces at EOLs 2010-09-08 18:41 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/utils/hbqtgen.prg ! Code cleanup. * contrib/hbqt/utils/qtcore.qtp + Added: two more classes. + contrib/hbqt/qtcore/qth/HBQString.qth ! It is exactly QString() class wrapper. + contrib/hbqt/qtcore/qth/QStringRef.qth + Added: two more classes. * contrib/hbqt/qtcore/qth/QObject.qth - Commented out two methods. * contrib/hbqt/qtcore/g/filelist.hbm * contrib/hbqt/qtcore/g/hbqtcore.h + contrib/hbqt/qtcore/g/QObject.cpp + contrib/hbqt/qtcore/g/QStringRef.cpp + contrib/hbqt/qtcore/g/THBQString.prg + contrib/hbqt/qtcore/g/TQStringRef.prg + Auto-generated. + contrib/hbqt/qtcore/hbqt_hbqstring.cpp + contrib/hbqt/qtcore/hbqt_hbqstring.h * contrib/hbqt/qtcore/hbqtcore.hbm + Added: hbqt_hbqstring.cpp * contrib/hbide/hbqreportsmanager.prg ! Some experiments. 2010-09-08 14:36 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/idemisc.prg * contrib/hbide/idetools.prg * contrib/hbide/ideprojmanager.prg + Implemented: hbIDE specific macros available in Project's Environments batch. The usage is like : [ MinGW 4.4.1 ] {content} SET project_name=${project_name} {content} SET project_path=${project_path} All macros available in Tools & Utilities can be used here also. + Project Tree: context-menu - Any project building action sets the current project to the one which is invoked. Here we have nothing to loose, rather gain. Thanks Maurizio for pointing. 2010-09-08 20:33 UTC+0200 Viktor Szakats * src/rtl/hbjson.c * Making some compilers happy. 2010-09-08 18:47 UTC+0200 Viktor Szakats * src/rtl/ttopbar.prg ! Added missing cargo instvar. 2010-09-08 18:28 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) + harbour/include/harbour.hbx * added new JSON functions 2010-09-08 18:15 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) + harbour/src/rtl/hbjson.c + added JavaScript Object Notation (JSON) encoder, decoder functions ; C level functions: char * hb_jsonEncode( PHB_ITEM pValue, HB_SIZE * pnLen ); pValue - value to encode; pnLen - if pnLen is not NULL, length of returned buffer is stored to *pnLen; returns pointer to encoded JSON buffer. buffer must be fried by the caller. HB_SIZE hb_jsonDecode( const char * szSource, PHB_ITEM pValue ); szSource - JSON source; pValue - item to store decoded value. Item value is undetermined in case of error; returns number of bytes decoded from the buffer. This allows to use the remaining part of the buffer for some other purposes. Returns 0 on error. Harbour level functions: hb_jsonDecode( cJSON, @xValue ) --> nLengthDecoded hb_jsonEncode( xValue ) --> cJSON Note: - Harbour types unsupported by JSON (date, timestamp, etc.) are encoded as null values; - strings are encoded in UTF-8; - JSON encode functions are safe for recursive arrays and hashes. Recursive part of array or hash will be stored as null. JSON encoder still allows to use same structure in the leaves, in this case content will be duplicate. I.e.: xI := {1, NIL} xI[2] := xI ? hb_jsonEncode( xI ) // [1,null] but: xI := {1, .T.} xI := {2, xI, xI} ? hb_jsonEncode( xI ) // [2,[1,true],[1,true]] 2010-09-08 08:42 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/config/c.mk * harbour/config/rules.mk * use .sx file extension instead of .S to avoid problems with non case sensitive filesystems * harbour/src/rtl/fstemp.c ! fixed DOS version of hb_fsTempDir() - tmpnam() may return pure file name without path i.e. in OpenWartcom builds * accept optionally TEMP, TMP and TMPDIR environment variables in DOS and OS2 build looking for directory with temporary files 2010-09-07 21:00 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) + contrib/hbqt/qtgui/qth/QPrinterInfo.qth + Added: new class. + contrib/hbqt/qtgui/doc/en/class_qprinterinfo.txt + contrib/hbqt/qtgui/g/QPrinterInfo.cpp + contrib/hbqt/qtgui/g/TQPrinterInfo.prg + Auto-generated. * contrib/hbqt/qtgui/g/filelist.hbm * contrib/hbqt/qtgui/g/hbqtgui.h * contrib/hbqt/utils/qtgui.qtp + Added: QPrinterInfo() class. 2010-09-07 19:22 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/hbqreportsmanager.prg + Print Preview synchronized. Now many facts are under control. % A lot other small artifacts covered. 2010-09-07 16:22 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/idemisc.prg * contrib/hbide/ideprojmanager.prg * contrib/hbide/idetools.prg + Added: Tools & Utilities - new macros: "source_name_less_ext" Current editing instance's source file's name part only. hb_fNameSplit( cSource, , @cName ) => cName "project_title" Last compiled project's title. If no project is yet compiled in current session of hbIDE, then project title of current set project is used. If no current project is set, empty string is substituted. "project_path" Last compiled project's path. Rest per "project_title" above. "project_output_path" Last compiled project's output path. If no project has been compiled under current session, null string is substituted. Here no assumption is taken from current set project. Macros added per requested by Maurizio. 2010-09-08 00:17 UTC+0200 Viktor Szakats * src/rtl/sha1.c * src/rtl/sha1.h * src/rtl/hbsha1hm.c * src/rtl/sha2.c * src/rtl/sha2.h * src/rtl/hbsha2hm.c * src/rtl/sha1hmac.c * src/rtl/sha1hmac.h * src/rtl/hbsha1.c * src/rtl/sha2hmac.c * src/rtl/sha2hmac.h * src/rtl/hbsha2.c ! Renamed internal SHA functions to have hb_ prefix to avoid colliding with other tools, like OpenSSL. * utils/hbmk2/hbmk2.prg ! Typos in comment. 2010-09-07 09:30 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtcore/hbqt_hbslots.cpp ! Minor typo. 2010-09-07 01:05 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbxbp/hbpprocess.prg + Prepared to route stdOut and stdErr outputs accordingly. * contrib/hbxbp/xbprtf.prg ! Minor. * contrib/hbide/idemisc.prg * contrib/hbide/ideprojmanager.prg + Implemented: first error reported by hbMK2 when a project is built, is made visible in the "Output Console" after compile/link cycle is finished. This facilitates to track errors instantly without naviaging the contents of output console. 2010-09-07 09:16 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbmysql/hbmysql.hbp * harbour/contrib/gtalleg/gtalleg.hbm * harbour/contrib/sddmy/sddmy.hbp * harbour/contrib/hbodbc/hbodbc.hbp * harbour/contrib/sddfb/sddfb.hbp * harbour/contrib/hbsqlit3/hbsqlit3.hbp * harbour/contrib/hbmzip/hbmzip.hbp * harbour/contrib/hbqt/hbqt_common.hbc * harbour/contrib/hbfbird/hbfbird.hbp * harbour/contrib/sddpg/sddpg.hbp * harbour/contrib/hbbz2/hbbz2.hbp * harbour/contrib/hbcurl/hbcurl.hbm * harbour/contrib/hbcups/hbcups.hbp * harbour/contrib/hbhpdf/hbhpdf.hbp * harbour/contrib/hbpgsql/hbpgsql.hbp * harbour/contrib/sddsqlt3/sddsqlt3.hbp * harbour/contrib/hbfimage/hbfimage.hbp * harbour/contrib/sddodbc/sddodbc.hbp * harbour/contrib/hbgd/hbgd.hbp * harbour/contrib/sddoci/sddoci.hbp * harbour/contrib/hbwin/hbwin.hbp * harbour/contrib/hbcairo/hbcairo.hbp * harbour/contrib/hbssl/hbssl.hbm * updated to respect HB_BUILD_EXTDEF=no setting and automatic switching to locally hosted external libraries (if available) Thanks to Viktor for the proposed solution. * harbour/config/c.mk * harbour/config/rules.mk + added rules to compile .s files by GCC. I will need it for serial port support in DJGPP builds. 2010-09-07 00:10 UTC+0200 Viktor Szakats * src/compiler/hbcomp.c ! Revisiting non-*nix stdout/stderr usage in compiler. From now on the Clipper (and old MS-DOS/Windows tool) compatible behavior is only maintained for MS-DOS Harbour builds, for the rest error messages are output to stderr, regular msgs are output to stdout. 2010-09-06 23:44 UTC+0200 Viktor Szakats * contrib/hbqt/qtgui/hbqt_hbqgraphicsrectitem.cpp ! Missing EOL @ EOF. * utils/hbmk2/hbmk2.prg ! Minor typo in comment. 2010-09-05 17:35 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/hbqt.ch + Added more constants. * contrib/hbqt/qtgui/doc/en/class_hbqgraphicsitem.txt * contrib/hbqt/qtgui/doc/en/class_hbqgraphicsscene.txt * contrib/hbqt/qtgui/g/HBQGraphicsItem.cpp * contrib/hbqt/qtgui/g/HBQGraphicsScene.cpp * contrib/hbqt/qtgui/g/QLinearGradient.cpp * contrib/hbqt/qtgui/g/THBQGraphicsItem.prg * contrib/hbqt/qtgui/g/THBQGraphicsScene.prg * contrib/hbqt/qtgui/hbqt_hbqgraphicsitem.cpp * contrib/hbqt/qtgui/hbqt_hbqgraphicsitem.h * contrib/hbqt/qtgui/hbqt_hbqgraphicsscene.cpp * contrib/hbqt/qtgui/hbqt_hbqgraphicsscene.h * contrib/hbqt/qtgui/qth/HBQGraphicsItem.qth * contrib/hbqt/qtgui/qth/HBQGraphicsScene.qth * contrib/hbqt/qtgui/qth/QLinearGradient.qth * contrib/hbqt/tests/demoqt.prg ! One of the main-menu prompt constructed differently. * contrib/hbide/hbqreportsmanager.prg + HbqReportsManager() class is split in two to manage graphic objects more efficiently. + Implemented: Reports Manager - all graphics items drawn on .prg levels. This implementation has cleans all c++ code responsible to draw graphics primitives, and hance greatly reducing the c++ dependancy. More c++ => prg conversion is on the cards. 2010-09-04 12:30 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbatomic.h * added two new build time macros which can be used to control using GCC atomic builtin functions changing the default settings. HB_USE_GCCATOMIC_OFF - disable using atomic builtins HB_USE_GCCATOMIC - force using atomic builtins - harbour/src/pp/hbpp.1 + harbour/examples/pp/pp.1 ! moved man files for old harbour preprocessor to correct place + harbour/src/pp/hbpp.1 + added new man file for current hbpp 2010-09-03 21:19 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/utils/hbqtgen.prg + Implemented: QIcon() as a parameter now can be supplied as filename, resource name, or constructed QIcon() as pointer. Notified at HMG forums. Since begining QIcon is passed as a string only. I do not remember why I did it like that but it was very limiting, though it solved our purpose well. * contrib/hbqt/qtgui/g/QAbstractButton.cpp * contrib/hbqt/qtgui/g/QAction.cpp * contrib/hbqt/qtgui/g/QActionGroup.cpp * contrib/hbqt/qtgui/g/QApplication.cpp * contrib/hbqt/qtgui/g/QComboBox.cpp * contrib/hbqt/qtgui/g/QListWidgetItem.cpp * contrib/hbqt/qtgui/g/QMenu.cpp * contrib/hbqt/qtgui/g/QMenuBar.cpp * contrib/hbqt/qtgui/g/QStandardItem.cpp * contrib/hbqt/qtgui/g/QSystemTrayIcon.cpp * contrib/hbqt/qtgui/g/QTableWidgetItem.cpp * contrib/hbqt/qtgui/g/QTabWidget.cpp * contrib/hbqt/qtgui/g/QToolBar.cpp * contrib/hbqt/qtgui/g/QToolBox.cpp * contrib/hbqt/qtgui/g/QTreeWidgetItem.cpp * contrib/hbqt/qtgui/g/QWidget.cpp * Regenerated. 2010-09-03 20:35 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtcore/hbqt_hbslots.cpp * contrib/hbqt/qtcore/hbqt_hbslots.h + Added: signals for QDateTimeEdit() class, reuested on HMG forums. 2010-09-03 19:03 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/hbqreportsmanager.prg ! More c++ => .prg. 2010-09-02 19:11 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/hbqreportsmanager.prg ! c++ => .prg. 2010-09-01 18:45 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) + contrib/hbqt/qtgui/doc/en/class_qdoublevalidator.txt + contrib/hbqt/qtgui/doc/en/class_qintvalidator.txt + contrib/hbqt/qtgui/doc/en/class_qregexpvalidator.txt + contrib/hbqt/qtgui/g/QDoubleValidator.cpp + contrib/hbqt/qtgui/g/QIntValidator.cpp + contrib/hbqt/qtgui/g/QRegExpValidator.cpp + contrib/hbqt/qtgui/g/TQDoubleValidator.prg + contrib/hbqt/qtgui/g/TQIntValidator.prg + contrib/hbqt/qtgui/g/TQRegExpValidator.prg + contrib/hbqt/qtgui/qth/QDoubleValidator.qth + contrib/hbqt/qtgui/qth/QIntValidator.qth + contrib/hbqt/qtgui/qth/QRegExpValidator.qth * contrib/hbqt/qtgui/g/filelist.hbm * contrib/hbqt/qtgui/g/hbqtgui.h * contrib/hbqt/utils/qtgui.qtp + Added: more classes to support validations in QLineEdit(). 2010-09-01 18:31 UTC+0200 Viktor Szakats * package/mpkg_win_nightly.bat * Requirements. * utils/hbmk2/hbmk2.prg * Changed -rebuild option to not rebuild sub-projects. + Added -rebuildall option which will also rebuild sub-proects. * contrib/make.hbs * -rebuild -> -rebuildall 2010-08-31 14:06 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbxbp/xbpparthandler.prg * contrib/hbxbp/xbpwindow.prg ! :status() more synchronized. NIL => Not initialized. XBP_STAT_INIT => Object is initialized. XBP_STAT_CREATE => Object creation is successful. XBP_STAT_FAILURE => Object creation is either failed or object is destroyed. 2010-08-31 13:55 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbxbp/xbp.ch * contrib/hbxbp/xbp3state.prg * contrib/hbxbp/xbpbrowse.prg * contrib/hbxbp/xbpcheckbox.prg * contrib/hbxbp/xbpcombobox.prg * contrib/hbxbp/xbpdialog.prg * contrib/hbxbp/xbpfiledialog.prg * contrib/hbxbp/xbpfontdialog.prg * contrib/hbxbp/xbphtmlviewer.prg * contrib/hbxbp/xbplistbox.prg * contrib/hbxbp/xbpmenubar.prg * contrib/hbxbp/xbpmle.prg * contrib/hbxbp/xbpparthandler.prg * contrib/hbxbp/xbpprintdialog.prg * contrib/hbxbp/xbppushbutton.prg * contrib/hbxbp/xbpradiobutton.prg * contrib/hbxbp/xbprtf.prg * contrib/hbxbp/xbpscrollbar.prg * contrib/hbxbp/xbpsle.prg * contrib/hbxbp/xbpspinbutton.prg * contrib/hbxbp/xbpstatic.prg * contrib/hbxbp/xbpstatusbar.prg * contrib/hbxbp/xbptabpage.prg * contrib/hbxbp/xbptoolbar.prg * contrib/hbxbp/xbptreeview.prg * contrib/hbxbp/xbpwindow.prg + Implemented: :status() method as per Shum's request. It just remained unimplemented for so long. 2010-08-30 18:55 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/hbqt_hbqgraphicsitem.cpp * contrib/hbqt/qtgui/hbqt_hbqgraphicsscene.cpp * contrib/hbide/hbqreportsmanager.prg ! More graphics stuff on .prg layer. 2010-08-30 08:26 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/hbqtgui.hbx - Deleted reference to HBQMainWindow. - contrib/hbqt/qtgui/qth/HBQMainWindow.qth - Dleted: leftover .qth from prev commits. 2010-08-30 07:27 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) - contrib/hbqt/qtgui/hbqt_hbqmainwindow.h - Deleted: miss from the previous deletes. 2010-08-30 02:36 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) - contrib/hbqt/qtgui/doc/en/class_hbqgraphicsrectitem.txt - contrib/hbqt/qtgui/g/HBQGraphicsRectItem.cpp - contrib/hbqt/qtgui/g/THBQGraphicsRectItem.prg - contrib/hbqt/qtgui/qth/HBQGraphicsRectItem.qth - contrib/hbqt/qtgui/g/HBQMainWindow.cpp - contrib/hbqt/qtgui/g/THBQMainWindow.prg - contrib/hbqt/qtgui/hbqt_hbqmainwindow.cpp - Deleted: two not required classes. * contrib/hbqt/qtgui/qth/HBQGraphicsItem.qth * contrib/hbqt/qtgui/doc/en/class_hbqgraphicsitem.txt * contrib/hbqt/qtgui/g/filelist.hbm * contrib/hbqt/qtgui/g/HBQGraphicsItem.cpp * contrib/hbqt/qtgui/g/hbqtgui.h * contrib/hbqt/qtgui/g/THBQGraphicsItem.prg * contrib/hbqt/qtgui/hbqt_hbqgraphicsitem.cpp * contrib/hbqt/qtgui/hbqt_hbqgraphicsitem.h * contrib/hbqt/qtgui/hbqt_hbqgraphicsscene.cpp * contrib/hbqt/qtgui/hbqtgui.hbm * contrib/hbqt/utils/qtgui.qtp * contrib/hbxbp/hbxbp.hbx ! Deleted: references to Xbp_getSlotsPtr and xbp_getEventsPtr(). Verify me if it is the right way. * contrib/hbxbp/xbpdialog.prg - Deleted: HBQMainWindow() reference. * contrib/hbxbp/xbpgeneric.prg - Deleted: xbp_getSlotsPtr() and xbp_getEventsPtr() calls. * contrib/hbide/idedocks.prg ! Minor. * contrib/hbide/ideshortcuts.prg ! Fixed: a regression report on old/new slots mechanism. * contrib/hbide/hbqreportsmanager.prg + Started: printing stuff - all on prg layer ( hopefully I will succeed ). 2010-08-29 14:37 UTC+0200 Viktor Szakats * external/sqlite3/sqlite3.c * external/sqlite3/sqlite3.dif * external/sqlite3/sqlite3.h * external/sqlite3/Makefile * Update sqlite to 3.7.2. * bin/hbxpatch.hbs + don't create a backup .orig file if a hunk needed some massaging to apply. ; Patches by Tamas Tevesz. Thanks! 2010-08-29 12:52 UTC+0200 Viktor Szakats * contrib/hbcurl/hbcurl.hbc ! Fixed for mingw64 + Added libssh2 libs for win static mode. * contrib/hbtip/hbtip.hbc + hbtipssl can now be requested using HB_TIP_OPENSSL=yes * contrib/hbssl/hbssl.hbc + Updated static lib names. 2010-08-28 13:08 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.pt_BR.po * utils/hbmk2/hbmk2.hu_HU.po * utils/hbmk2/hbmk2.prg + Switched .po files to UTF-8. + Set svn:mime-type accordingly. ; NOTE: Make sure to use UTF-8 aware editor to edit these files from now on. These are the first UTF-8 files in hb repo. * INSTALL + Added .xz source file. Thanks Tamas for installing it required tools onto the nightly server. * package/mpkg_win_nightly.bat * Minor to reqs. 2010-08-27 18:32 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/hbqt_hbqgraphicsitem.cpp * contrib/hbqt/qtgui/hbqt_hbqgraphicsscene.cpp * contrib/hbide/hbqreportsmanager.prg + Advanced: Report's save/load artifacts. + Context-menu on scene areas where no item is under cursor. + ObjectsTree without any item highlighted if no item is visible selected in the scene. 2010-08-27 12:49 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/tests/demoqt.prg - Replaced: remaining old implementation code for Slots/Events. It was creating confusion unnecessarily. 2010-08-27 09:08 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/hbqt_hbqgraphicsscene.cpp ! Minor. * contrib/hbide/hbqreportsmanager.prg + Implemented: first alfa version to save and load a report. Save and Open icons on the HBReportsManger's top-toolbar conatin these actions. Now it is easier to play with this tool. 2010-08-27 15:49 UTC+0200 Viktor Szakats * src/rtl/hbi18n2.prg * utils/hbmk2/hbmk2.prg + UTF8 BOM logic contained in core. Should fix it for all cases in hbmk2 and hbi18n. 2010-08-27 15:33 UTC+0200 Viktor Szakats * src/rtl/hbi18n2.prg ! __I18N_POTARRAYSAVE() typo in BOM flag default. 2010-08-27 14:56 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbssl/hbssl.h ! define OPENSSL_NO_SEED for OpenSSL 0.9.8e and earlier TODO: current HBSSL library cannot be compiled with some older versions of OpenSSL library (i.e. 0.9.6b). We should clearly define minimum OpenSSL version required by HBSSL. 2010-08-26 22:50 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/hbqreportsmanager.prg * contrib/hbide/idedocwriter.prg * contrib/hbide/ideenviron.prg * contrib/hbide/idefindreplace.prg * contrib/hbide/idefunctions.prg * contrib/hbide/ideharbourhelp.prg * contrib/hbide/ideprojmanager.prg * contrib/hbide/ideshortcuts.prg * contrib/hbide/idethemes.prg ! 2nd round of Slots/Events reforms. Still some margin of regression is possible. Please report. * contrib/hbqt/qtgui/THbQtUI.prg - :signal() and :event() methods. 2010-08-26 21:58 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/idedocks.prg % An important arti-fix. * contrib/hbqt/qtcore/doc/en/class_qobject.txt * contrib/hbqt/qtcore/g/QObject.cpp * contrib/hbqt/qtcore/g/TQObject.prg * contrib/hbqt/qtcore/qth/QObject.qth * contrib/hbqt/qtgui/THbQtUI.prg * contrib/hbxbp/xbpbrowse.prg * contrib/hbxbp/xbpdialog.prg * contrib/hbxbp/xbpwindow.prg % First regression fix - ::connect() was defined in more classes than required. 2010-08-26 18:15 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) - contrib/hbide/idereportsmanager.prg - contrib/hbide/idetoolbar.prg + contrib/hbide/hbqreportsmanager.prg + contrib/hbide/hbqtoolbar.prg * contrib/hbide/hbide.hbp * contrib/hbide/hbide.prg * contrib/hbide/idebrowse.prg * contrib/hbide/idedocks.prg * contrib/hbide/ideedit.prg * contrib/hbide/ideeditor.prg * contrib/hbide/idefindreplace.prg * contrib/hbide/ideharbourhelp.prg * contrib/hbide/idehome.prg * contrib/hbide/idemisc.prg * contrib/hbide/ideobject.prg * contrib/hbide/idesaveload.prg * contrib/hbide/ideshortcuts.prg * contrib/hbide/ideskeletons.prg * contrib/hbide/idethemes.prg * contrib/hbide/idetools.prg + Adopted to latest Slots/Events protocol. + Renamed two classes and also their filenames. + Advanced: saving a report. WARNING: regression is highly possible, please report any errors. 2010-08-26 18:03 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbxbp/hbpprocess.prg * contrib/hbxbp/tests/demoxbp.prg * contrib/hbxbp/xbp3state.prg * contrib/hbxbp/xbpbrowse.prg * contrib/hbxbp/xbpcheckbox.prg * contrib/hbxbp/xbpcombobox.prg * contrib/hbxbp/xbpdataref.prg * contrib/hbxbp/xbpdialog.prg * contrib/hbxbp/xbpfiledialog.prg * contrib/hbxbp/xbpfontdialog.prg * contrib/hbxbp/xbpgeneric.prg * contrib/hbxbp/xbphtmlviewer.prg * contrib/hbxbp/xbplistbox.prg * contrib/hbxbp/xbpmenubar.prg * contrib/hbxbp/xbpprintdialog.prg * contrib/hbxbp/xbppushbutton.prg * contrib/hbxbp/xbpradiobutton.prg * contrib/hbxbp/xbprtf.prg * contrib/hbxbp/xbpscrollbar.prg * contrib/hbxbp/xbpsle.prg * contrib/hbxbp/xbpspinbutton.prg * contrib/hbxbp/xbptabpage.prg * contrib/hbxbp/xbptoolbar.prg * contrib/hbxbp/xbptreeview.prg * contrib/hbxbp/xbpwindow.prg + Adopted to latest Slots/Events protocol. WARNING: regression is highly possible, please report any errors. 2010-08-27 00:40 UTC+0200 Viktor Szakats * src/rtl/hbi18n2.prg + __I18N_POTARRAYSAVE(): new lUTF8BOM parameter. * utils/hbmk2/hbmk2.prg + Retain UTF8 BOM in .po files. 2010-08-27 00:01 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/contrib/sddodbc/tests/test2.prg ! reverted accidentally changed file in last commit * harbour/src/rtl/hbsockhb.c + added public functions to use socket GC pointers from other modules: HB_SOCKET hb_socketParam( int iParam ); HB_SOCKET hb_socketItemGet( PHB_ITEM pItem ) PHB_ITEM hb_socketItemPut( PHB_ITEM pItem, HB_SOCKET sd ); void hb_socketItemClear( PHB_ITEM pItem ); 2010-08-26 20:34 UTC+0200 Viktor Szakats * package/mpkg_win_nightly.bat * Adjustment to requirements (RDC access preferred). * contrib/hbide/idereportsmanager.prg ! Deleted www. from web address. Pls do not use www.. ; FIXME: ? IMO the saved report files should not hold or contain a Harbour copyright message. [DONE] * INSTALL * Updated mingw make links. + Added mingw distro. 2010-08-26 10:16 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/idereportsmanager.prg + Implemented: dropping a .dbf onto scene updates "Data Source" tree. + Started: to save Report/Document in .ini format, extension used is .hrp. 2010-08-26 18:30 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/src/rtl/hbsockhb.c + added public functions to use socket GC pointers from other modules 2010-08-25 19:15 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/idereportsmanager.prg % Some more refinements towards how a report would be saved/retreived. 2010-08-25 15:48 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtcore/hbqt_misc.prg + Implemented: object local "Slots" and "Events" management. Now no need to setup slots and events variable. These are automatically created on demand. EVENTS: oWnd := QMainWindow():new() Earlier: pEvents := Qt_Events_New() oWnd:installEventFilter( ::pEvents ) Qt_Events_Connect( ::pEvents, oWnd, QEventClose, {|| MsgBox( "Closing" ) } ) Now: oWnd:connect( QEvent_Close, {|| MsgBox( "Closing" ) } ) SLOTS: oBtn := QPushButton():new() Earlier: pSlots := Qt_Slots_New() Qt_Slots_Connect( pSlots, oBtn, "clicked()", {|| ... } ) Now: oBtn:connect( "clicked()", {|| ... } ) This implementation fixes very old demand to isolate this glitch. * contrib/hbqt/tests/demoqt.prg % Demonstrates the new Slots and Events management protocol. Still a part of old proto is also retained for comparison. * contrib/hbide/hbide.prg * contrib/hbide/idedocks.prg * contrib/hbide/idereportsmanager.prg + Renamed: IdeReportsManager() class to HbpReportsManager(). Also made this class totally independant to hbIDE engine. This opens up the way to shift it to hbQT itself. The only limitation is images. We need a way to include a minimal set of images in hbQT ( if it makes sense ) so that this component be invoked from any application just by supplying a parent to host it, just like a COM component. 2010-08-26 00:36 UTC+0200 Viktor Szakats * src/rtl/hbi18n2.prg + __I18N_POTARRAYLOAD(): UTF8 BOM support 2010-08-25 09:40 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/hbide.qrc + contrib/hbide/resources/r-landscape.png + contrib/hbide/resources/r-portrait.png * contrib/hbqt/qtgui/qth/HBQGraphicsItem.qth * contrib/hbqt/qtgui/doc/en/class_hbqgraphicsitem.txt * contrib/hbqt/qtgui/g/HBQGraphicsItem.cpp * contrib/hbqt/qtgui/g/THBQGraphicsItem.prg * contrib/hbqt/qtgui/hbqt_hbqgraphicsitem.cpp * contrib/hbqt/qtgui/hbqt_hbqgraphicsitem.h * contrib/hbqt/qtgui/hbqt_hbqgraphicsscene.cpp * contrib/hbqt/qtgui/hbqt_hbqgraphicsscene.h * contrib/hbide/idereportsmanager.prg + Implemented: ideReports Manager: + Landscape and Portrait page orientation at design time. + Context-menu basics for objects on the page - scheduled to be expanded per type of object. 2010-08-25 16:24 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/package/harbour.spec ! fixed to work with current build system 2010-08-25 15:20 UTC+0200 Viktor Szakats * package/mpkg_src_nightly.sh + tar.xz nightly source. 2010-08-25 15:57 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/contrib/sddmy/sddmy.c * extended RDDINFO( RDDI_CONNECT, ) to support all parameters of MySql connect, i.e. port, unix socket name, and client flags were added. 2010-08-25 09:44 UTC+0200 Viktor Szakats * package/mpkg_win_nightly.bat + Upload logs even if build failed. ; NOTE: On current build machine mingw suffers transient "segmentation fault" failures. It may be a sign of hardware or OS problem. This means missing nightly binaries for no apparent reason. * contrib/hbide/hbide.prg ! SET DATE ANSI * INSTALL * Minor. 2010-08-24 18:55 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/hbqt_hbqgraphicsitem.cpp * contrib/hbide/resources/f-image.png + contrib/hbide/resources/r-page.png + contrib/hbide/resources/r-report.png * contrib/hbide/hbide.qrc * contrib/hbide/idemisc.prg * contrib/hbide/idereportsmanager.prg + Implemented: ideReports Manager: * "Objects" tree now showsup type of object icon. * Rotate selected object clock wise and anti-clock wise. Currently it is 10 deg per click. Later an interface to rotate precisely to be introduced. Rotated objects keep the exact aspect ratio. This is testified on barcode which reads the correct string after 90, 180, 270 and 360 deg rotation. * Atarted API to separate this component from direct calls to hbIDE to gather various info from the application. Right now these are the images which now call app_image() instead of hbide_image(). app_image() function will reside in application so that this class be linked with application independently of hbIDE. 2010-08-24 09:29 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/doc/en/class_hbqgraphicsitem.txt * contrib/hbqt/qtgui/g/HBQGraphicsItem.cpp * contrib/hbqt/qtgui/g/THBQGraphicsItem.prg * contrib/hbqt/qtgui/hbqt_hbqgraphicsitem.cpp * contrib/hbqt/qtgui/hbqt_hbqgraphicsitem.h * contrib/hbqt/qtgui/qth/HBQGraphicsItem.qth * contrib/hbide/idereportsmanager.prg + Implemented: ideReport Designer: * Barcode 3of9 - the code belongs to someone I have no idea now. Please speak out who he is so that I post due credit to him. I had adopted this code for Vouch32 family of libraries many years back. Now adopted to hbQT + hbIDE. * Simple bar-chart. Both above implementations are quick ones and I see a lot of avenues for improvement which are scheduled to be addressed later. 2010-08-24 11:16 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbwin/olecore.c ! added missing call to Release() method in __OleGetActiveObject() function. It should fix problem reported by Daniel Garcia-Gil. 2010-08-24 09:44 UTC+0200 Viktor Szakats * package/winuni/mpkg_win_uni.bat ! Typo. 2010-08-24 08:54 UTC+0200 Viktor Szakats * package/mpkg_win_nightly.bat + allegro. 2010-08-23 20:44 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/hbqt.ch * contrib/hbqt/qtgui/doc/en/class_hbqgraphicsitem.txt * contrib/hbqt/qtgui/g/HBQGraphicsItem.cpp * contrib/hbqt/qtgui/g/THBQGraphicsItem.prg * contrib/hbqt/qtgui/qth/HBQGraphicsItem.qth * contrib/hbqt/qtgui/hbqt_hbqgraphicsitem.cpp * contrib/hbqt/qtgui/hbqt_hbqgraphicsitem.h * contrib/hbqt/qtgui/hbqt_hbqgraphicsscene.cpp * contrib/hbide/hbide.qrc * contrib/hbide/resources/f-image.png + contrib/hbide/resources/toback.png + contrib/hbide/resources/tofront.png * contrib/hbide/idereportsmanager.prg + Advanced: ideReports Designer - many artifacts implemented: * Synchronized "Objects" tree and objects on the "Page(s)". Clicking either way is reflected to the other. * Activated magnets - while dragging an object provides guiding lines from other objects which are helpful in alignment. * Corrected reszing behavior. Now handles are located with ease. * Text display management improved. * Added more methods to control futuristic features. * Many other small improvements difficult to explain. 2010-08-23 10:32 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/idereportsmanager.prg + Advanced: populated "Objects" tree with spreaded objects. provided tooltips for spreaded objects. 2010-08-23 13:54 UTC+0200 Viktor Szakats * contrib/hbmysql/mysql.c + MYSQL_ERRNO() + MYSQL_PING() ; Patch by Bacco. Thanks a lot! 2010-08-23 11:50 UTC+0200 Viktor Szakats * package/winuni/mpkg_win_uni.bat + bcc special implib support for contrib .dlls. * package/mpkg_win_nightly.bat * Comment. 2010-08-23 00:16 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/hbqt.ch * contrib/hbqt/qtgui/doc/en/class_hbqgraphicsitem.txt * contrib/hbqt/qtgui/doc/en/class_hbqgraphicsscene.txt * contrib/hbqt/qtgui/g/filelist.hbm * contrib/hbqt/qtgui/g/HBQGraphicsItem.cpp + contrib/hbqt/qtgui/g/HBQGraphicsScene.cpp * contrib/hbqt/qtgui/g/hbqtgui.h * contrib/hbqt/qtgui/g/THBQGraphicsItem.prg + contrib/hbqt/qtgui/g/THBQGraphicsScene.prg * contrib/hbqt/qtgui/hbqt_hbqgraphicsitem.cpp * contrib/hbqt/qtgui/hbqt_hbqgraphicsitem.h * contrib/hbqt/qtgui/hbqt_hbqgraphicsrectitem.cpp * contrib/hbqt/qtgui/hbqt_hbqgraphicsrectitem.h + contrib/hbqt/qtgui/hbqt_hbqgraphicsscene.cpp + contrib/hbqt/qtgui/hbqt_hbqgraphicsscene.h * contrib/hbqt/qtgui/hbqtgui.hbm * contrib/hbqt/qtgui/qth/HBQGraphicsItem.qth + contrib/hbqt/qtgui/qth/HBQGraphicsScene.qth * contrib/hbqt/utils/qtgui.qtp * contrib/hbide/hbide.qrc * contrib/hbide/resources/designer.png * contrib/hbide/resources/grid.png * contrib/hbide/idereportsmanager.prg + Added: more classes forming the building blocks of Report Designer. + Implemented: in Report Designer: Reworked: GraphicsScene mechanism. Added: Objects - Images, Gradients, Ellipses, etc. Refined: other objects. Added: Sources and Fields with drag support. Obejct Resizing. And many other aspects. Please play. 2010-08-22 12:29 UTC+0200 Viktor Szakats * external/sqlite3/sqlite3.c * external/sqlite3/sqlite3.dif * external/sqlite3/sqlite3.h * external/sqlite3/Makefile + Upgraded to 3.7.0.1 (from 3.7.0) Patch by Tamas Tevesz. Thank you very much. 2010-08-20 19:04 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/idemisc.prg * contrib/hbide/idereportsmanager.prg % Dragging the icons on left-toolbar of ideReports Designer place a rectangular object on the page, experimentations. 2010-08-20 11:12 UTC+0200 Viktor Szakats * package/mpkg_win_nightly.bat * Change cwd to batch dir. + Added requirements. + Added notes. ! Uses internal svn installation. + Errorlevel handling. * Renamed logs. - Deleted -batch from pscp calls. * package/winuni/mpkg_win_uni.bat * Comment * Changed temp dir to more universal one. * INSTALL + Links to nightly win binaries. 2010-08-19 19:01 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/hbqt_hbqgraphicsrectitem.cpp * contrib/hbqt/qtgui/hbqt_hbqgraphicsrectitem.h + A lot of structural changes. * contrib/hbide/idereportsmanager.prg * contrib/hbide/idetoolbar.prg + Advanced: "Page" management and "objects" placement. Page presented is now true to A4 size with margins. Objects placement is achieved to be dropped exactly at the cursor position. To play with: try to drag "Rect" node in "Data" tree onto page surface. Use multiple iterations, move at will the rectangles. 2010-08-19 14:28 UTC+0200 Viktor Szakats * package/mpkg_win_nightly.bat % Minor. 2010-08-19 13:46 UTC+0200 Viktor Szakats * package/winuni/mpkg_win_uni.bat ! ps 2010-08-19 13:06 UTC+0200 Viktor Szakats * package/winuni/mpkg_win_uni.bat * package/winuni/mpkg_win_uni.nsi + Added hbide to unified distro. * package/mpkg_win_nightly.bat + Upload nightly logs. * contrib/hbide/hbide.hbp + -strip 2010-08-19 02:23 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/g/QDrag.cpp * contrib/hbqt/qtgui/qth/QDrag.qth % Shifted: ownership of QMimeData to QDrag object. 2010-08-19 11:09 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbpp.h * harbour/src/pp/ppcore.c + added new result marker <@> which creates token significant for PP but invisible for compiler. This extenssion allows to resolve problem with circular rules in very easy way, i.e. #command function <!name!>( [@]<!par1!> [:= <val1>] ; [, [@]<!parN!> [:= <valN>]] ) => ; function <name>( <par1> [, <parN> ] ) <@> 2010-08-19 03:41 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Workaround for regression in mingw's PATH requirement. (New official release needs to have bin dir in PATH) 2010-08-19 03:07 UTC+0200 Viktor Szakats + package/mpkg_win_nightly.bat + Added nightly binary builder script. Relocatable. Makes unified Windows build. Regular target builds also supported. Unified build currently has mingw and bcc enabled. - package/winuni/mpkg_win_uni_extra_copy.bat * package/winuni/mpkg_win_uni.bat * package/winuni/mpkg_win_uni.nsi + Made it fully configurable, removed any hard-wired version numbers, .nsi now fully modular, manual steps no more required. - package/mpkg_nightly.sh + package/mpkg_src_nightly.sh * Renamed. 2010-08-18 22:48 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added extension to license. Pls read it, especially projects including hbmk2 or modified version of hbmk2 (e.g. MiniGUI). Help text and documentation is now covered by Creative Commons Attribution-ShareAlike 3.0. Plus some restriction to not tear hbmk2 off of Harbour Project, to clearly show modified nature and always distribute modified source. My intent is to leave hbmk2 as coherent part of Harbour, possibly unmodified and my name not stripped. * config/global.mk % Minor opt. * package/mpkg_nightly.sh ! Harmless typo. * package/winuni/RELNOTES * Updated. 2010-08-18 22:42 UTC+0200 Viktor Szakats * INSTALL + Some binary link. * utils/hbmk2/hbmk2.prg ! Changed the way links are installed. This should fix it for win platform. * Will now delete link before trying to create it in install phase. 2010-08-18 12:19 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/g/QGraphicsScene.cpp * contrib/hbqt/qtgui/qth/QGraphicsScene.qth % Fixed: GPF on exit. QGraphicsScene:addItem() is owned by the scene. 2010-08-17 20:32 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) + contrib/hbqt/qtgui/hbqt_hbqgraphicsrectitem.cpp + Added: miss from the prev commit. 2010-08-17 23:10 UTC+0200 Viktor Szakats * include/hbcomp.h * src/macro/macro.yyc * src/macro/macro.y * src/macro/macrolex.c * src/compiler/hbmain.c * src/compiler/complex.c * src/compiler/harbour.yyc * src/compiler/harbour.y * Changed prefix used for bison generated function prefix (hb_comp -> hb_comp_yy, hb_macro -> hb_macro_yy) ; Pls review. This avoids collision between hb_macroError/hb_macroerror for obsolete tools like bcc implib which uses case-insensitive symbol lookup by default) * package/winuni/mpkg_win_uni_extra_copy.bat + Added trick to generate special implib for core .dlls so that now bcc can use the regular Harbour one and doesn't need the special '-bcc' postfixed version to be shipped. An ugly trick for an obsolete compiler. (release process now requires bcc implib tool because of this) * utils/hbmk2/hbmk2.prg + Added -c option to implib calls. This fixes implib generation for certain .dlls, like OpenSSL. 2010-08-17 19:42 UTC+0200 Viktor Szakats * package/winuni/RELNOTES * INSTALL * contrib/rddads/rddads.h * contrib/rddads/rddads.hbc * contrib/rddads/rddads.hbp + Added support for ACE 10.00, including win64 build. * contrib/hbwin/hbwin.ch + contrib/xhb/win32prn.ch + Added compatibility header. * Moved compatibility definitions from hbwin.ch there. (may be incompatible for some users) * contrib/hbgd/hbgd.hbp + contrib/hbgd/gdextern.prg + Added extern puller. * contrib/rddads/adsextrn.prg * Minor. 2010-08-17 09:56 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) + contrib/hbqt/qtgui/hbqt_hbqgraphicsrectitem.h + Added: miss from the prev commit. 2010-08-17 08:15 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/utils/qtgui.qtp * contrib/hbqt/qtcore/g/QByteArray.cpp * contrib/hbqt/qtcore/qth/QByteArray.qth * contrib/hbqt/qtgui/qth/QMouseEvent.qth + contrib/hbqt/qtgui/qth/HBQGraphicsRectItem.qth + contrib/hbqt/qtgui/doc/en/class_hbqgraphicsrectitem.txt + contrib/hbqt/qtgui/g/HBQGraphicsRectItem.cpp + contrib/hbqt/qtgui/g/THBQGraphicsRectItem.prg * contrib/hbqt/qtgui/g/QMouseEvent.cpp * contrib/hbqt/qtgui/g/hbqtgui.h * contrib/hbqt/qtgui/g/filelist.hbm + contrib/hbqt/qtgui/hbqt_hbqabstractitemmodel.cpp + contrib/hbqt/qtgui/hbqt_hbqgraphicsitem.cpp + contrib/hbqt/qtgui/hbqtgui.hbm + Added: one more class and set constructors right for others. * contrib/hbide/hbide.prg * contrib/hbide/ideactions.prg * contrib/hbide/idedocks.prg * contrib/hbide/ideobject.prg * contrib/hbide/idereportsmanager.prg * contrib/hbide/idethemes.prg * contrib/hbide/idetoolbar.prg % Fixed: a bug in "Highlighting Themes" - reported on FWH forums. + Implemented: "Toggle Animation" and "Toggle Statusbar" <View> menu options now show toggle indicators in the menu also. + Advanced: drag and drop from QTreeWidget() and QToolButto(). These are the building blocks for Harbour's Report Generator ( thought-of ). 2010-08-16 19:27 UTC+0200 Viktor Szakats * src/rtl/fslink.c ! Windows typo, non-UNICODE build. * tests/flink.prg + HB_FLINKREAD() calls. 2010-08-15 21:00 UTC+0200 Viktor Szakats * src/rtl/fslink.c ! Fixed hb_fsLinkRead() on Win Vista/7 for non-links * contrib/make.hbs * Comment 2010-08-14 20:23 UTC+0200 Viktor Szakats * include/harbour.hbx * include/hbapifs.h * src/rtl/fslink.c + Added hb_fsLinkRead() function. + Added HB_FLINKREAD() function. ; Please review/fix or remove. * utils/hbmk2/hbmk2.prg + Added -ln= option to specify symlinks to targets. + Added ${hb_dynprefix} macro. * contrib/hbpost.hbm + Enabled creation of versionless and major-minor versioned links to dynamic libs. + Will now create versioned .dll names on win/wce. * include/hbapifs.h * include/fileio.ch + Moved some attr constants to .ch header. * contrib/make.hbs ! Fixed to propage make control options to container projects. 2010-08-13 18:34 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/ideobject.prg * contrib/hbide/idereportsmanager.prg % Little more advancement in drg-drop functionality. 2010-08-13 18:29 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) + contrib/hbqt/qtgui/doc/en/class_hbqgraphicsitem.txt + contrib/hbqt/qtgui/g/HBQGraphicsItem.cpp + contrib/hbqt/qtgui/g/hbqtgui.h + contrib/hbqt/qtgui/g/THBQGraphicsItem.prg * contrib/hbqt/qtgui/g/filelist.hbm + contrib/hbqt/qtgui/qth/HBQGraphicsItem.qth + contrib/hbqt/qtgui/hbqt_hbqgraphicsitem.cpp + contrib/hbqt/qtgui/hbqt_hbqgraphicsitem.h * contrib/hbqt/qtgui/hbqtgui.hbm * contrib/hbqt/utils/qtgui.qtp + Added: HBQGraphicsItem() inheriting QGraphicsItem. It is necessary to recieve many events which otherwise are not possible via plain .prg code. 2010-08-13 16:58 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) + contrib/hbqt/qtgui/doc/en/class_qdrag.txt + contrib/hbqt/qtgui/g/QDrag.cpp + contrib/hbqt/qtgui/g/TQDrag.prg + contrib/hbqt/qtgui/qth/QDrag.qth * contrib/hbqt/qtgui/g/filelist.hbm * contrib/hbqt/qtgui/g/hbqtgui.h * contrib/hbqt/utils/qtgui.qtp + Added: one more class to initiate "drag" operation. 2010-08-13 14:23 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbpp.h ! typo in comment * harbour/src/pp/ppcore.c ! fixed to not include file by #pragma __*streaminclude <file> | ... used inside code disabled by #if* condition, i.e. #if 0 #pragma __streaminclude "file.unknown" | ? %s #endif ! fixed memory leak and unclosed file handle when too long file was included by #pragma __*streaminclude <file> | ... ! fixed line numbering in code using #pragma __*streaminclude <file> | ... ! fixed possible wrong preprocessing or even GPF in code using #pragma __*streaminclude <file> | ... indirectly (i.e. by some other PP directives) or more then once in single line (i.e. using ';' as directive separator) 2010-08-12 19:00 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtcore/hbqt_hbslots.cpp * contrib/hbqt/qtcore/hbqt_hbslots.h + Added: one more signal to manage QGraphicsScene. * contrib/hbqt/qtgui/qth/QGraphicsView.qth * contrib/hbqt/qtgui/g/QGraphicsView.cpp % Fallen back to my original method of pointer propogation up its parent. I was hoping to get success with Bacco's patched "p->type" implementation. TODO: clean other QGraphics* classes. * contrib/hbide/idereportsmanager.prg + Started: QGraphics* based ideReportManager's implementation. 2010-08-12 17:40 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) + contrib/hbqt/qtgui/qth/QGraphicsSceneContextMenuEvent.qth + contrib/hbqt/qtgui/qth/QGraphicsSceneDragDropEvent.qth + contrib/hbqt/qtgui/qth/QGraphicsSceneEvent.qth + contrib/hbqt/qtgui/qth/QGraphicsSceneHelpEvent.qth + contrib/hbqt/qtgui/qth/QGraphicsSceneHoverEvent.qth + contrib/hbqt/qtgui/qth/QGraphicsSceneMouseEvent.qth + contrib/hbqt/qtgui/qth/QGraphicsSceneMoveEvent.qth + contrib/hbqt/qtgui/qth/QGraphicsSceneResizeEvent.qth + contrib/hbqt/qtgui/qth/QGraphicsSceneWheelEvent.qth * contrib/hbqt/qtgui/g/filelist.hbm * contrib/hbqt/qtgui/g/hbqtgui.h * * contrib/hbqt/utils/qtgui.qtp * * contrib/hbqt/hbqt.ch + Added: few more classes to handle graphics scene events. + contrib/hbqt/qtgui/doc/en/class_q*.txt + contrib/hbqt/qtgui/g/Q*.cpp + contrib/hbqt/qtgui/g/TQ*.prg + Autogenerated. 2010-08-12 14:43 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/qth/QGraphicsEllipseItem.qth * contrib/hbqt/qtgui/qth/QGraphicsGridLayout.qth * contrib/hbqt/qtgui/qth/QGraphicsItemAnimation.qth * contrib/hbqt/qtgui/qth/QGraphicsItemGroup.qth * contrib/hbqt/qtgui/qth/QGraphicsLinearLayout.qth * contrib/hbqt/qtgui/qth/QGraphicsLineItem.qth * contrib/hbqt/qtgui/qth/QGraphicsPathItem.qth * contrib/hbqt/qtgui/qth/QGraphicsPixmapItem.qth * contrib/hbqt/qtgui/qth/QGraphicsPolygonItem.qth * contrib/hbqt/qtgui/qth/QGraphicsProxyWidget.qth * contrib/hbqt/qtgui/qth/QGraphicsRectItem.qth * contrib/hbqt/qtgui/qth/QGraphicsSimpleTextItem.qth * contrib/hbqt/qtgui/qth/QGraphicsSvgItem.qth * contrib/hbqt/qtgui/qth/QGraphicsTextItem.qth * contrib/hbqt/qtgui/qth/QGraphicsWidget.qth + Set right the constructors. * contrib/hbqt/qtgui/g/Q*.cpp * Regenerated. 2010-08-11 23:01 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbxbp/xbptreeview.prg ! Changed: context-menu implementation protocol. * contrib/hbide/idedocks.prg * contrib/hbide/ideedit.prg * contrib/hbide/idetoolbar.prg ! Fixed: many artifacts reported on FWH forum. % Applied: IdeToolbar() class to editors area top and left toolbars. 2010-08-11 20:19 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) + contrib/hbqt/qtgui/g/TQAbstractGraphicsShapeItem.prg + Added: omission from prev commit. 2010-08-11 18:21 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/hbqt.ch * * contrib/hbqt/qtcore/g/filelist.hbm * contrib/hbqt/qtcore/g/hbqtcore.h * contrib/hbqt/qtcore/qth/QTimeLine.qth * contrib/hbqt/qtdesigner/g/hbqtdesigner.h * contrib/hbqt/qtgui/g/filelist.hbm * contrib/hbqt/qtgui/g/hbqtgui.h + contrib/hbqt/qtgui/qth/QAbstractGraphicsShapeItem.qth + contrib/hbqt/qtgui/qth/QGraphicsEllipseItem.qth + contrib/hbqt/qtgui/qth/QGraphicsGridLayout.qth + contrib/hbqt/qtgui/qth/QGraphicsItem.qth + contrib/hbqt/qtgui/qth/QGraphicsItemAnimation.qth + contrib/hbqt/qtgui/qth/QGraphicsItemGroup.qth + contrib/hbqt/qtgui/qth/QGraphicsLayout.qth + contrib/hbqt/qtgui/qth/QGraphicsLayoutItem.qth + contrib/hbqt/qtgui/qth/QGraphicsLinearLayout.qth + contrib/hbqt/qtgui/qth/QGraphicsLineItem.qth + contrib/hbqt/qtgui/qth/QGraphicsPathItem.qth + contrib/hbqt/qtgui/qth/QGraphicsPixmapItem.qth + contrib/hbqt/qtgui/qth/QGraphicsPolygonItem.qth + contrib/hbqt/qtgui/qth/QGraphicsProxyWidget.qth + contrib/hbqt/qtgui/qth/QGraphicsRectItem.qth + contrib/hbqt/qtgui/qth/QGraphicsScene.qth + contrib/hbqt/qtgui/qth/QGraphicsSimpleTextItem.qth + contrib/hbqt/qtgui/qth/QGraphicsSvgItem.qth + contrib/hbqt/qtgui/qth/QGraphicsTextItem.qth + contrib/hbqt/qtgui/qth/QGraphicsView.qth + contrib/hbqt/qtgui/qth/QGraphicsWidget.qth + contrib/hbqt/qtgui/qth/QStyleOptionGraphicsItem.qth * contrib/hbqt/qtwebkit/g/hbqtwebkit.h * contrib/hbqt/utils/qtcore.qtp * contrib/hbqt/utils/qtgui.qtp + Added: QGraphics* classes to form the basis of ideReport Designer. + contrib/hbqt/qtgui/doc/en/class_* + contrib/hbqt/qtgui/g/Q/Q* + contrib/hbqt/qtcore/doc/en/class_* + contrib/hbqt/qtcore/g/Q* + Regenerated. 2010-08-11 17:03 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/vm/classes.c + extended error messages in __CLSINSTSUPER() function to show the name of super class which cannot be created * harbour/src/rtl/tclass.prg * force RTE for superclasses defined using function declared as DYNAMIC It should help in locating the problem in wrongly linked code, i.e. without some superclasses. 2010-08-11 12:28 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/empty.c * modified EMPTY() function behavior so now for symbols created for functions declared as DYNAMIC it does not return .T. but .F. for functions which are registered in HVM. As side effect above modifications should fix some code in RTL and contrib which used !EMPTY() for DYNAMIC function symbols. 2010-08-10 22:26 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/tests/demoqt.prg ! Fixed: X click or "Exit" option was not working. 2010-08-10 09:58 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/hbqt.ch + contrib/hbide/resources/designer.png + contrib/hbide/resources/f-bold-1.png + contrib/hbide/resources/f-generic.png + contrib/hbide/resources/f-image.png + contrib/hbide/resources/f-italic-1.png + contrib/hbide/resources/f-strike-1.png + contrib/hbide/resources/f-underline-1.png + contrib/hbide/resources/f_align_bottom.png + contrib/hbide/resources/f_align_center.png + contrib/hbide/resources/f_align_justify.png + contrib/hbide/resources/f_align_left.png + contrib/hbide/resources/f_align_middle.png + contrib/hbide/resources/f_align_right.png + contrib/hbide/resources/f_align_top.png + contrib/hbide/resources/f_barcode.png + contrib/hbide/resources/f_box_all.png + contrib/hbide/resources/f_box_bottom.png + contrib/hbide/resources/f_box_left.png + contrib/hbide/resources/f_box_matrix.png + contrib/hbide/resources/f_box_plain.png + contrib/hbide/resources/f_box_right.png + contrib/hbide/resources/f_box_shadow.png + contrib/hbide/resources/f_box_top.png + contrib/hbide/resources/f_chart.png + contrib/hbide/resources/f_gradient.png * contrib/hbide/hbide.qrc + Added: few more icons. * contrib/hbide/hbide.hbp + Added: ideprojectmanager.prg and idetoolbar.prg * contrib/hbide/hbide.prg * contrib/hbide/ideactions.prg * contrib/hbide/idedocks.prg * contrib/hbide/ideobject.prg + contrib/hbide/idereportsmanager.prg + contrib/hbide/idetoolbar.prg + Started: implementation of Harbour's Report Designer and Print Engine. NOTE: It is a very complex subject and more so I have a little knowledge about Qt's rendering system, so please do not pin high hopes. I still do not know which way it will proceed, will we be successful or failure, will it touch our expectations. It is an ambitious project I ever dreamt of developing one, so I just started. If you can extend help in this direction, every bit will matter. So please gear-up yourselves for next logical evolution of hbIDE. 2010-08-08 16:49 UTC+0200 Viktor Szakats + contrib/rddads/adsextrn.prg * contrib/rddads/rddads.hbp * contrib/rddads/rddads.hbx * contrib/rddads/ads1.c * contrib/rddads/rddads.hbc * contrib/rddads/tests/datad.prg * contrib/rddads/tests/testmg.prg + Made possible to load rddads rdd dynamically. 2010-08-07 16:18 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/hbide.qrc ! Fixed: last minute inculsion - hbide3.png. 2010-08-07 15:35 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) + contrib/hbide/resources/dbf_p1.png + contrib/hbide/resources/dbf_p10.png + contrib/hbide/resources/dbf_p2.png + contrib/hbide/resources/dbf_p3.png + contrib/hbide/resources/dbf_p4.png + contrib/hbide/resources/dbf_p5.png + contrib/hbide/resources/dbf_p6.png + contrib/hbide/resources/dbf_p7.png + contrib/hbide/resources/dbf_p8.png + contrib/hbide/resources/dbf_p9.png * contrib/hbide/resources/formview.png * contrib/hbide/resources/home3.png * contrib/hbide/resources/new.png * contrib/hbide/resources/print.png * contrib/hbide/resources/statistics.png * contrib/hbide/resources/view_organized.png * contrib/hbide/resources/view_tiled.png * contrib/hbide/resources/view_vertstacked.png * contrib/hbide/resources/view_zoomin.png * contrib/hbide/resources/view_zoomout.png + contrib/hbide/resources/zoomin3.png + contrib/hbide/resources/zoomout3.png * contrib/hbide/hbide.qrc + Added and refined above images. * contrib/hbide/idedocks.prg + Assigned: "statistics" icon to "Welcome" tab. ! Reworked: many artifacts. * contrib/hbide/idebrowse.prg + Implemented: Edits MDI area icons equivilent functionality in ideDBU panels also. Now you can view browsers in organized, cascaded, tiled, maximized, vertically tiled, horizontally tiled, mode. Verically|Horizontally tiled modes can be zoomed to fit the user requirements. However the last close mode is not retained. Next run always open the "Main" panel with "Organized" view. + Assigned: color-differentiated icons to every open browser window. Now the view is more attractive and allows one to memorize a browser by color. With this commit, rounds of beutification for this session ends. Now concentrating on a really-useful implementation you will know by the end of next-week. 2010-08-07 15:28 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbxbp/xbp.ch + Added: few more constants with HBP* prefix to be used for upcoming HbpMdiArea() class to manage MDI areas containing sub-windows. * contrib/hbxbp/xbpwindow.prg + Implemented: ERROR HANDLER OnError( ... ) method. Now it is possible to call Qt object methods directly with Xbp* objects. For example, oXbp:oWidget:setLayout( ... ) => oXbp:setLayout( ... ) It is a very useful extension and empowers the developer more freedom. 2010-08-07 19:40 UTC+0200 Viktor Szakats * contrib/make.hbs ! Fixed to not propagate custom flags to container projects. * config/global.mk ! Changed realpath to abspath. 2010-08-07 17:39 UTC+0200 Viktor Szakats * contrib/gtalleg/gtalleg.hbc ! Fixed allegro-config command to not contain output redirection. * contrib/hbcurl/hbcurl.hbc ! Fixed lib name on non-win platforms. * contrib/hbgd/hbgd.hbc ! Fixed gd lib name on Linux. * contrib/hbodbc/hbodbc.hbp * contrib/sddodbc/sddodbc.hbp * contrib/hbssl/hbssls.hbp * contrib/hbcurl/hbcurl.hbc * contrib/hbcurl/hbcurls.hbp % Using allwin instead of win|wce. * utils/hbmk2/hbmk2.prg + Added trick to not corrupt version numbers in libnames when adding extension. (it will check for extensions beginning with numeric and add instead of replace extension in such case) ! Fixed pkg-config/*-config parser when result contained LF chars. * config/postinst.hbs * Do not create dynlib symlink on non-*nix platforms. ; Now HB_BUILD_CONTRIB_DYN works for all contribs also on Linux. ; TODO: Shouldn't harbour-2.1.0.so be called harbour.so.2.1.0 ? ; TODO: Creating versionless links for contribs. [DONE] 2010-08-07 15:55 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! And another typo in prev. 2010-08-07 15:47 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fix to prev. 2010-08-07 15:23 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added ${hb_dynext} macro. * contrib/hbpost.hbm ! Further tweaked -hbdyn output names for *nix systems. 2010-08-07 14:52 UTC+0200 Viktor Szakats * contrib/hbpost.hbm ! Little fix to prev. 2010-08-07 14:49 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fixed to prepend dynlib prefix to output name -hbdyn mode. 2010-08-07 14:38 UTC+0200 Viktor Szakats * contrib/hbpost.hbm ! Fixed to place contrib dynamic libs in lib dir on *nix systems. 2010-08-07 11:59 UTC+0200 Viktor Szakats * contrib/make.hbs + Generalized the way dynamic lib dependencies are found to make it work on *nix systems, too. * include/harbour.hbx + src/rtl/libnamec.c * src/rtl/libname.prg * src/rtl/Makefile + Added HB_LIBEXT() and HB_LIBPREFIX() functions. * utils/hbmk2/hbmk2.prg + Added "platform", "compiler", "cpu", "buildname", "dynsuffix" to --hbinfo returned data. * INSTALL + Documented HB_BUILD_CONTRIB_DYN setting. The default is 'no', and if set to 'yes', the build system will create dynamic lib versions of the contribs. * src/Makefile * utils/hbformat/Makefile * utils/hbi18n/Makefile * utils/hbtest/Makefile * config/global.mk * config/dos/watcom.mk * config/dos/djgpp.mk * config/dyn.mk * config/rules.mk * INSTALL * Renamed HB_BUILD_DLL to HB_BUILD_DYN. 2010-08-07 11:00 UTC+0200 Viktor Szakats * contrib/hbqt/qtcore/hbqt.h * contrib/hbqt/utils/hbqtgen.prg ! Added HB_EXTERN_* around non-C++ declarations. * contrib/hbqt/qtcore/hbqt.h * contrib/hbqt/qtcore/hbqt_destruct.cpp % Made one function and a structure static. * contrib/hbqt/qtgui/g/hbqtgui.h * contrib/hbqt/qtwebkit/g/hbqtwebkit.h * contrib/hbqt/qtcore/g/hbqtcore.h * contrib/hbqt/qtnetwork/g/hbqtnetwork.h * contrib/hbqt/qscintilla/g/hbqscintilla.h * contrib/hbqt/qtdesigner/g/hbqtdesigner.h * Regenerated. 2010-08-06 18:46 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) + contrib/hbide/resources/exit3.png + contrib/hbide/resources/gotoline3.png + contrib/hbide/resources/home3.png * contrib/hbide/resources/save3.png * contrib/hbide/hbide.qrc + Added: three more icons. * contrib/hbide/ideactions.prg * contrib/hbide/idebrowse.prg * contrib/hbide/idedocks.prg * contrib/hbide/idemisc.prg ! 2nd round of reforms in icons arrangement and colors. A work-in-progress, please remain patient. 2010-08-06 18:55 UTC+0200 Viktor Szakats * debian/rules + Added LD_LIBRARY_PATH. (it's needed here because the called make process won't pass back any envvars to caller process) * config/global.mk + Shows LD_LIBRARY_PATH in log. - Do not clear HB_SYSLOC to allow override (from package makers). + Export HB_DYNLIB_PREF (for postinst.hbs). * config/postinst.hbs + Creating Harbour dynamic lib symlinks, like the old postinst.sh did. This fixes Debian build problems, and probably more. ; TODO: I didn't implement one scenario, I'd appreciate if someone with bash and *nix skill could decipher the old code and create the few .prg lines for this functionality. ! Fixed .hbx creation for core dynlibs on *nix systems. 2010-08-06 09:32 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/resources/blockindentl.png * contrib/hbide/resources/blockindentr.png + contrib/hbide/resources/bookmark.png + contrib/hbide/resources/close3.png * contrib/hbide/resources/curlinehilight.png * contrib/hbide/resources/fullscreen.png * contrib/hbide/resources/help1.png * contrib/hbide/resources/horzruler.png + contrib/hbide/resources/indent-less.png + contrib/hbide/resources/indent-more.png + contrib/hbide/resources/open3.png + contrib/hbide/resources/save3.png * contrib/hbide/resources/stream.png * contrib/hbide/resources/togglelinenumber.png * contrib/hbide/resources/view_cascaded.png * contrib/hbide/resources/view_horzstacked.png * contrib/hbide/resources/view_organized.png * contrib/hbide/resources/view_tabbed.png * contrib/hbide/resources/view_tiled.png * contrib/hbide/resources/view_vertstacked.png * contrib/hbide/hbide.qrc + Added: few more icons. % Changed: few existing. * contrib/hbide/ideactions.prg * contrib/hbide/idedocks.prg * contrib/hbide/ideedit.prg + Rationalized: icon colors, now they present a professional look. % Fixed: behavior of few MDI area toolbars actions, went weired after the introduction of MDI concept. 2010-08-06 15:50 UTC+0200 Viktor Szakats * contrib/hbpost.hbm ! Fixed to create dynlibs and executables in -fullshared mode if HB_SYSLOC is 'yes. I've yet to test this. 2010-08-06 15:15 UTC+0200 Viktor Szakats * ChangeLog * include/harbour.hbx * src/rtl/Makefile + src/rtl/libname.prg + tests/libname.prg + Added HB_LIBNAME( <cDynLibName>[, <cDynLibDir> ] ) -> <cOSDynLibName> Serves to convert a raw dynlib name, e.g. "hbct" to OS specific notation, by adding platform specific extension, lib name prefix and optional directory * utils/hbmk2/hbmk2.prg ! Fixed dynlib prefix for symbian 2010-08-06 14:35 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg * contrib/hbqt/qtgui/hbqtgui.hbc * contrib/hbqt/qtwebkit/hbqtwebkit.hbc * contrib/hbqt/qtcore/hbqtcore.hbc * contrib/hbqt/qtnetwork/hbqtnetwork.hbc * contrib/hbqt/qtdesigner/hbqtdesigner.hbm * config/symbian/libs.mk * config/symbian/gcc.mk * config/symbian/global.mk + Some more Symbian support: - file extensions - qt lib names - disabling qtdesigner - workaround for gcc crash ; Pls note Harbour regards Symbian as Unix OS, while it's not. Later this can be cleaned. 2010-08-06 13:29 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbcomp.h ! fixed description of HB_VS_CBLOCAL_VAR macro * harbour/src/compiler/hbmain.c ! fixed wrongly generated E0047 compile time error for codeblocks with early evaluated macros accessing local parameters. It should fix problem reported by Itamar. * harbour/src/vm/hvm.c * modified one #if condition to pacify ICC warning reported by Andi 2010-08-06 12:49 UTC+0200 Viktor Szakats + config/symbian + config/symbian/libs.mk + config/symbian/gcc.mk + config/symbian/global.mk * include/hbthread.h * include/hbsetup.h * src/vm/thread.c * src/common/hbtrace.c * src/common/hbprintf.c * src/rtl/gtstd/gtstd.c * src/rtl/gttrm/Makefile * src/rtl/hbsocket.c * src/rtl/filesys.c * src/rtl/diskspac.c * src/rtl/hbgtcore.c * src/rtl/disksphb.c * src/rtl/gtpca/gtpca.c * src/rtl/hbproces.c * src/rtl/gtsys.c * src/rtl/hbcom.c * utils/hbmk2/hbmk2.prg * config/global.mk * INSTALL + Rough port to Symbian OS. It compiles OK, no exes build and I had to disable hbsocket.c due to too many errors. 2010-08-06 11:30 UTC+0200 Viktor Szakats * INSTALL * win-make.exe * w64-make.exe + Update included GNU Make to 3.82 (from 3.81) (locally built from CVS using msvc2010). * contrib/hbpost.hbm % Minor opt/cleanup. 2010-08-06 10:46 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fixed to not propagate _ERRLEV_STOP from sub-projects. % -stop will now stop processing any further command-line options. * Avoided one dangerous IF instruction. * contrib/hbqt/hbqt_commons.hbm % If static mode is not requested stop before loading plugins. * config/global.mk ! Always set HB_REBUILD_* options to 'no' when HB_BUILD_PKG=yes. 2010-08-06 10:12 UTC+0200 Viktor Szakats * debian/rules * package/harbour.spec + Added HB_INSTALL_DYN (same content as HB_INSTALL_LIB) * config/postinst.hbs * HB_INSTALL_LIB -> HB_INSTALL_DYN * config/global.mk * config/postinst.hbs * debian/rules * package/harbour.spec * package/harbour-win.spec.in * package/harbour-wce.spec.in * HB_INSTALL_PKG_TOP -> HB_INSTALL_PKG_ROOT * debian/dirs + Added usr/share/man (I'm not sure of this file and I didn't retest yet) * debian/rules % Optimized variable usage. 2010-08-06 09:56 UTC+0200 Viktor Szakats * config/global.mk ! Fixed setting LD_LIBRARY_PATH under pre-3.81 GNU Makes. + Will now set HB_SYSLOC=yes when creating .tgz packages which are meant to be installed to system locations. (didn't test this one) + Will now set HB_INSTALL_DOC to /share/doc/harbour on *nix systems. ! Fixed to set HB_INSTALL_MAN to /share/man (instead of /man) on *nix systems. ; Please test/review these. * config/postinst.hbs + Create directory for "root documents". They are now stored in /share/doc/harbour for *nix. ! Fixed to store proper directory in ld.so.conf.d setting by removing HB_INSTALL_PKG_TOP from the beginning of full dynlib path. * debian/rules * package/harbour.spec * package/harbour-win.spec.in * package/harbour-wce.spec.in ! Use HB_INSTALL_PKG_TOP to denote the root of package dir structure. ; TODO: Change the name to HB_INSTALL_PKG_ROOT [DONE] ; TODO: Optimize variable usage. [DONE~] ; FIXME: Use HB_INSTALL_DYN instead HB_INSTALL_LIB in context of dynamic libs in postinst.hbs and package scripts. [DONE] * package/harbour.spec ! Fixed to honor HB_BUILD_NAME in local LD_LIBRARY_PATH setting. (is it needed?) * INSTALL - Deleted note about GNU Make 3.81.90 3.82 is out and the bug was fixed. ! Updated mpkg_src.sh location. * contrib/make.hbs * Do not create dynlib, .hbd, .hbx if the main build process returned with non-zero errorlevel. * utils/hbmk2/hbmk2.prg + Return errorlevel when -stop is used in project. + Use manifest constants for errorlevels. * config/hbextern.hbs * Local function renamed. * contrib/xhb/xhb.hbx * contrib/hbxpp/hbxpp.hbx * Regenerated. * src/vm/pvaluehb.c ! Typo in comment. 2010-08-05 18:27 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) + contrib/hbide/resources/view_refresh.png * contrib/hbide/hbide.qrc + Added: one more image. * contrib/hbide/hbide.prg * contrib/hbide/idedocks.prg * contrib/hbide/ideedit.prg * contrib/hbide/ideeditor.prg + Added: "Reload Source" icon on the MDI area top-toolbar. This facilitates to reload the source from disk. If the source in the editor in modified state, a confirmation dialog is presented. ! Rearranged: MDI area left-toolbar icons to break them in more logical units. ! Fixed: under MDI editing mode "Find" icon had stopped to work. ! Fixed: "Horizontal/Vertical" split option was not refreshed under context menu after first activation. 2010-08-05 21:26 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fixed accindentally deleted line (today) causing pocc link errors. 2010-08-05 19:40 UTC+0200 Viktor Szakats * src/rtl/gtwin/gtwin.c ! Workaround for incomplete pocc6 Windows headers causing compilation error. 2010-08-05 15:58 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg % Implemented optimized header parser code created by Przemek. With these additions/modifications from previous algorithm: + Use FindHeader() to locate the referenced headers. + Use different algorithm to find C vc PRG headers. % Completely skip known standard system headers. % Do not go down to headers included as system (using <>) IOW Check their timestamp but don't parse it for sub-headers. Please review it, it was quite a tough task, so I may have missed something. Here my reference build time went down from ~4 to ~2.5secs. ! Above implementation had the nice side effect that it fixed -autohbc feature in -inc mode. ! Fixed header finder code to always look in parent dir (and don't look in current dir in such case). I'd appreciate if this function (FindHeader() would be peer-reviewed to verify if it really matches the way how Harbour and C compilers try to find headers. * config/postinst.hbs ! Fixed typo in a recent commit causing RTE. * config/hbextern.hbs * Hide stderr in lib listing call. * contrib/hbcurl/hbcurl.c % Use '#include <>' to refer to curl header. 2010-08-05 08:40 UTC+0200 Viktor Szakats * config/hbextern.hbs % Synced extern extractor regex queries between compilers. + Added NOTE that non-gcc extractors don't support dynamic lib as input, so they cannot be used to generate core .hbx files. * contrib/make.hbs % Deleted unused code that's really not needed anymore. 2010-08-05 07:58 UTC+0200 Viktor Szakats * config/hbextern.hbs + Added HB_REBUILD_EXTERN support for msvc, pocc, watcom and bcc compilers. * contrib/make.hbs * config/postinst.hbs ! Fixed to convert input file for extern generation to native format. 2010-08-05 01:38 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added ${hb_dynsuffix} macro which returns a dynlib suffix value compatible with the naming system used for Harbour core dynlib (-x64, -wce-arm, -bcc, etc..) % Internals optimized to use dynsuffix value when calculating harbour core dynlib name. ! Fixed to not require macros inside filters to be uppercases. (as a side effect now unknown macro names will be passed as is to getenv() to check for possible envvar value) * contrib/hbpost.hbm + Will now use ${hb_dynsuffix} when forming output name in -hbdyn mode. So e.g. for x64 targets an '-x64' suffix will be used, which matches with the one used with core harbour dynlib. Also bcc targets will get -bcc postfix. + Will now use ${hb_dynsuffix) when forming implib output name if it's not empty (for x86, ia64, wce and bcc in practice). * contrib/make.hbs * config/postinst.hbs ! Display msg about extern generation only if it was really started. * config/hbextern.hbs ! Fixed to check for the presence of input file. 2010-08-04 23:40 UTC+0200 Viktor Szakats * contrib/hbct/ctextern.prg ! Fixed missing #defines after latest changes. 2010-08-04 22:15 UTC+0200 Viktor Szakats * config/header.mk - Deleted API_HEADERS variable. Not used anymore. 2010-08-04 22:09 UTC+0200 Viktor Szakats * examples/httpsrv/uhttpd.prg * examples/hscript/hscript.prg % Using __HB_EXTERN__ instead of header, to request full core. 2010-08-04 22:02 UTC+0200 Viktor Szakats * config/hbextern.hbs ! Fixed filtering ANNOUNCE self-reference. ! Changed to do ANNOUNCE only if specifically requested using __HBEXTERN__<libname>__ANNOUNCE * include/harbour.hbx ! Added __HB_EXTERN__ to exclude list. * config/postinst.hbs - include/hbextudd.ch + include/harbour.hbx - include/hbextsca.ch + include/hbusrrdd.hbx * include/hbextcdp.ch + include/hbscalar.hbx * include/hbextlng.ch + include/hbcpage.hbx * include/Makefile * include/hbextern.ch + include/hblang.hbx * ChangeLog * contrib/hbct/ctextern.ch * contrib/hbct/hbct.hbp * contrib/hbct/hbct.hbx * contrib/xhb/xhb.hbp + contrib/xhb/xhb.hbx * contrib/xhb/xhbextrn.ch * contrib/hbqt/utils/hbqtgen.prg * contrib/hbqt/qtgui/hbqtgui.hbp + contrib/hbqt/qtgui/hbqtgui.hbx * contrib/hbqt/qtgui/g/filelist.hbm - contrib/hbqt/qtgui/g/hbqtgui_extern.ch + contrib/hbqt/qtgui/g/hbqtgui_extern.prg * contrib/hbqt/qtwebkit/hbqtwebkit.hbm * contrib/hbqt/qtwebkit/hbqtwebkit.hbp + contrib/hbqt/qtwebkit/hbqtwebkit.hbx * contrib/hbqt/qtwebkit/g/filelist.hbm + contrib/hbqt/qtwebkit/g/hbqtwebkit_extern.prg - contrib/hbqt/qtwebkit/g/hbqtwebkit_extern.ch * contrib/hbqt/qtcore/hbqtcore.hbp + contrib/hbqt/qtcore/hbqtcore.hbx * contrib/hbqt/qtcore/g/filelist.hbm - contrib/hbqt/qtcore/g/hbqtcore_extern.ch + contrib/hbqt/qtcore/g/hbqtcore_extern.prg * contrib/hbqt/qtnetwork/hbqtnetwork.hbm * contrib/hbqt/qtnetwork/hbqtnetwork.hbp + contrib/hbqt/qtnetwork/hbqtnetwork.hbx * contrib/hbqt/qtnetwork/g/filelist.hbm + contrib/hbqt/qtnetwork/g/hbqtnetwork_extern.prg - contrib/hbqt/qtnetwork/g/hbqtnetwork_extern.ch + contrib/hbqt/qscintilla/hbqscintillas.hbx * contrib/hbqt/qscintilla/hbqscintilla.hbp * contrib/hbqt/qscintilla/g/filelist.hbm + contrib/hbqt/qscintilla/g/hbqscintilla_extern.prg - contrib/hbqt/qscintilla/g/hbqscintilla_extern.ch * contrib/hbqt/qtdesigner/hbqtdesigner.hbm * contrib/hbqt/qtdesigner/hbqtdesigner.hbp + contrib/hbqt/qtdesigner/hbqtdesigner.hbx * contrib/hbqt/qtdesigner/g/filelist.hbm + contrib/hbqt/qtdesigner/g/hbqtdesigner_extern.prg - contrib/hbqt/qtdesigner/g/hbqtdesigner_extern.ch + contrib/hbxbp/hbxbpext.prg + contrib/hbxbp/hbxbp.hbx - contrib/hbxbp/hbxbp_extern.ch * contrib/hbxbp/hbxbp.hbp * contrib/hbxpp/hbxpp.hbp + contrib/hbxpp/hbxpp.hbx * contrib/hbxpp/hbxppext.ch * contrib/rddads/adsextrn.ch + contrib/rddads/rddads.hbx * contrib/rddads/rddads.hbp + contrib/hbgd/hbgd.hbx * contrib/hbgd/gdextern.ch * contrib/hbgd/hbgd.hbp * Generated core files are now named include/*.hbx + Added .hbx files for contribs which already had the "extern" feature. * Changed existing "extern" headers to reference .hbx files. + Added .hbx file to installed header list. * Changed hbqt generator to generate stubs with reference to .hbx files rather than rolling its own extern generator. + Changed hbxbp to use a puller stub to include all functions. * contrib/hbide/hbide.prg + Changed to use __HBEXTERN__ method instead of header method to pull complete libs. * contrib/hbqt/qtgui/g/THBQAbstractItemModel.prg ! Fixed props. 2010-08-04 20:15 UTC+0200 Viktor Szakats * contrib/make.hbs * config/postinst.hbs * config/hbextern.hbs + Implemented manual include/exclude filter in extern header generation process. Include filters can be specified using '// HB_FUNC_INCLUDE <func>', exclude filters using '// HB_FUNC_EXCLUDE <func>'. By default everything is included, this can be overridden using HB_FUNC_INCLUDE, and exceptions made using HB_FUNC_EXCLUDE. <func> can contain wildcards, so it's very flexible. NOTE: - By default the functions are declared using DYNAMIC so these generated can be directly used when the goal is to load pcode dynamic libs dynamically. - By #defining '__HBEXTERN__<libname>__REQUEST' the generated headers will switch to EXTERNAL declaration, so they can be used when building dynamic libs or when user wants to explicitly pull all functions into lib code. Do not use this from app code. - When __HBEXTERN__<libname>__REQUEST is defined, the generated headers will also ANNOUNCE __HBEXTERN__<libname>, which means that application can simply pull all functions into app code, using: 'REQUEST __HBEXTERN__<libname>__' command. - Names are not necessarily finalized yet. ("extern", ".hbx") - Deleted hard-coded exceptions from generator code. ; TODO: Clean core generated headers to behave like before. [DONE] ; TODO: Adapt hbextern lib to these changes. [NOT NEEDED] ; TODO: Add generated headers to SVN for contrib libs. [DONE] ; TODO: Add stubs which include generated headers to all libs. [DONE] ; TODO: Long term TODO: make it easy to generate such headers for 3rd party projects. [DONE] * include/hbextudd.ch * include/hbextsca.ch * include/hbextcdp.ch * include/hbextlng.ch * include/hbextern.ch * contrib/hbct/hbct.hbx + Filled HB_FUNC_INCLUDE, HB_FUNC_EXCLUDE exceptions to achieve the previous hard-coded results. * Regenerated. * contrib/hbqt/hbqt_hbmk2_plugin.hbs * config/postinst.hbs * config/hbextern.hbs * bin/hbmk2l2d.hbs * bin/hbxpatch.hbs + Added -km, -ko options. 2010-08-04 08:06 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/idedocks.prg ! Visual change: MDI area shows up scrollbars only when needed. 2010-08-04 08:01 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/idedocks.prg % Fixed: a nasty bug which surfaces at some new installation. Reported on FWH forum. 2010-08-04 14:27 UTC+0200 Viktor Szakats * config/postinst.hbs ! Fixed to only do install tasks in install build phase. * Changed to only regenerate headers in non-install phase. * Makefile + Passing build phase to postinst.hbs. * INSTALL + Elaborating a bit more on the meaning of 'local' in HB_WITH_* settings. 2010-08-04 11:40 UTC+0200 Viktor Szakats * include/hbextudd.ch * include/hbextsca.ch * include/hbextern.ch * config/postinst.hbs ! Fixed to exclude HB_GT_ symbols, put HBSYMBOL to hbextsca.ch, put USRRDD_* to hbextudd.ch. ; NOTE: May I ask to review the new headers compared to old one to see what else have to be filtered out or moved to different header? 2010-08-04 11:22 UTC+0200 Viktor Szakats * utils/hbrun/hbrun.prg + Will now add the script's home directory to the header dir list. * contrib/make.hbs * config/postinst.hbs + config/hbextern.hbs + Moved extern header generation low-level logic to separate script. + Added feedback about extern generation. + Moved core extern header generation logic to postinst.hbs. ! Minor fix to output when postinst is used in non-install phase. * contrib/global.mk + Displays HB_REBUILD_EXTERN setting. * Makefile * Changed to always execute config/postinst.hbs, not just in install phase. * include/hbextudd.ch * include/hbextsca.ch * include/hbextcdp.ch * include/hbextlng.ch * include/hbextern.ch + Replaced content with automatically generated one. * contrib/hbxbp/xbpgeneric.prg * contrib/hbide/idemisc.prg * contrib/hbide/idesaveload.prg * contrib/hbide/ideprojmanager.prg * contrib/hbide/ideshortcuts.prg * Deleted "just" functions and replaced them with HB_SYMBOL_UNUSED() macro, which has no runtime overhead. * contrib/hbide/hbide.hbp - contrib/hbide/iderequests.prg - Deleted requesting HBQT component via "just" function. Now it's done by EXTERNAL statements. BTW this function was not called, so it was ineffective. Pls correct me if I missed the point of the old solution. 2010-08-04 01:47 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/ideshortcuts.prg ! Deleted calls to HB_TRACE(). oErr was not being referenced after HB_TR_ALWAYS => HB_TR_DEBUG. 2010-08-03 10:40 UTC+0200 Viktor Szakats * contrib/make.hbs + Generalized extern generation. + Added generation of core extern headers. (no launched yet) * config/global.mk + Exporting variables needed for automatic hbextern gerenation. % Deleted HB_DYN_COMPILE variable. (unused) * include/Makefile - include/hbexturs.ch + include/hbextudd.ch + include/hbextsca.ch * include/hbextern.ch + Added separate header for scalar classes. INCOMPATIBLE: Now they should be activated by '#include "hbextsca.ch"' instead of '#define HB_REQUEST_SCALAR / #include "hbextern.ch"' * Renamed hbexturs.ch to hbextudd.ch * contrib/hbqt/qtgui/hbqt_hbqsyntaxhighlighter.cpp * contrib/hbqt/qtgui/hbqt_hbqmainwindow.cpp * contrib/hbqt/qtgui/THbQtUI.prg * contrib/hbqt/qtcore/hbqt_hbslots.cpp * contrib/hbxbp/xbptabpage.prg * contrib/hbxbp/xbpwindow.prg * contrib/hbxbp/xbpdialog.prg * contrib/hbxbp/xbpgeneric.prg * contrib/hbide/ideedit.prg * contrib/hbide/idemisc.prg * contrib/hbide/ideobject.prg * contrib/hbide/idefunctions.prg * contrib/hbide/idedict.prg * contrib/hbide/idesaveload.prg * contrib/hbide/ideeditor.prg * contrib/hbide/ideprojmanager.prg * contrib/hbide/idesources.prg * contrib/hbide/hbide.prg * contrib/hbide/ideshortcuts.prg * contrib/hbide/idedocks.prg * HB_TR_ALWAYS -> HB_TR_DEBUG. 2010-08-04 01:28 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/ideprojmanager.prg ! Populated: Project Properties dialog with properties of project set as the current one. It necessarily activates the dialog window. Reported by Parteciepe. 2010-08-03 23:36 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/resources/view_organized.png * contrib/hbide/resources/view_tiled.png + contrib/hbide/resources/view_horzstacked.png + contrib/hbide/resources/view_vertstacked.png + contrib/hbide/resources/view_zoomin.png + contrib/hbide/resources/view_zoomout.png + Added: few more images. Refined some old. * contrib/hbide/hbide.qrc + Added: above images. * contrib/hbide/idedocks.prg + Added: MDI Area - Left-Toolbar action images. 2010-08-03 18:02 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/ideprojmanager.prg % Fixed: ( hopefully ) the OS path syndrome when a .hbp from Windows is ported to *nixes. * contrib/hbide/ideedit.prg ! Minor. * contrib/hbide/idedocks.prg + Implemented: MDI Editing Area - LeftToolbar - Actions: 1. Show Maximized: turns all panels in maximized mode. In this mode MDI and Stacked protocols are almost the same, though, MDI mode has many other advantages than Stacked one. 2. Show Stacked Vertically: viewport is distributed in equal parts vertically and each panel is assigned this much height. Width of the panel is limited to viewport width. In this mode "Stats" panel is not considered. 3. Show Stacked Horizontally: viewport is distributed in equal parts horizontally and each panel is assigned this much width. Height of the panels equals viewport height. 4. Zoom-in: If view mode is "Stacked Vertically | Horizontally", then per zoom-in increases the height|width of the panel by 25% more than the current. Zoom-in and zoom-out are never in the same ratio. If hbIDE is closed in maximized state, it is presented the same at next run. This is not true for Vertical|Horizontal stacked view. The reason is size of the viewport is not determined at the time of panel creation. Icons on the toolbar are not representing the actions properly, and hence are subject to change. 2010-08-03 21:57 UTC+0200 Viktor Szakats * include/hbextern.ch * src/vm/Makefile * src/vm/vmmt/Makefile + src/vm/pvaluehb.c + Added PVALUE() to Harbour core. * contrib/xhb/hbcompat.ch * contrib/xhb/xhb.hbp - contrib/xhb/xhbpval.c * contrib/hbxpp/hbxpp.hbp - contrib/hbxpp/pvalue.c * contrib/hbfship/hbfship.hbp - contrib/hbfship/pvalue.c - Deleted PVALUE() definitions from contrib libs. 2010-08-03 21:49 UTC+0200 Viktor Szakats * contrib/xhb/xhb.hbp + contrib/xhb/xhbpval.c * contrib/xhb/xhbfunc.c + PVALUE() moved to separate source. 2010-08-03 21:00 UTC+0200 Viktor Szakats * contrib/make.hbs ! Fixed to create .hbx only for -hblib and -hbdyn targets. 2010-08-03 20:54 UTC+0200 Viktor Szakats * contrib/make.hbs ! Fixed missing output from hbmk2 runs. * Will not echo the --hbinfo hbmk2 invokation anymore. * INSTALL * Minor. 2010-08-03 10:11 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/idedocks.prg * contrib/hbide/ideedit.prg % A hacked fix: to context menu actions inside editor, reported at FWH forum. % Fixed: switching over to non-MDI mode from MDI mode was raising RTE. 2010-08-03 18:34 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fixed error introduced in '2010-08-03 16:00 UTC+0200' Causing crash on output-less targets like -hbcontainer. 2010-08-03 16:52 UTC+0200 Viktor Szakats * contrib/hbct/hbct.hbx * contrib/make.hbs ! Fixed to not generate reference to self ANNOUNCE symbol. 2010-08-03 16:49 UTC+0200 Viktor Szakats * hbct/hbct.hbx * Missed to regenerate after last minute mod. 2010-08-03 16:46 UTC+0200 Viktor Szakats + contrib/hbct/hbct.hbx + Added automatically generated extern puller code. * contrib/hbct/ctextern.prg * contrib/hbct/ctextern.ch * Changed to simply include hbct.hbx for backward compatibility. * contrib/make.hbs ! Fixed to exclude HB_GT_*_DEFAULT symbols. ! Fixed RTE for projects which have no output name, e.g. because they are unsupported on given platform/compiler. ; NOTE: libname.hbx is not good as if compiled the object name will collide with often used libname.prg. 2010-08-03 16:00 UTC+0200 Viktor Szakats * contrib/make.hbs + Will now automatically generate EXTERN lists for libs if using HB_REBUILD_EXTERN=yes setting and GCC compiler. Pls note that after regeneration a new build pass is required to reflect the changes in final binaries. NOTE: I chose the .hbx extension for EXPORT code. Pls comment on it (adding a postfix to regular .prg or .ch extension is not an option as it won't fit the 8.3 filename limit). * Changed --hbinfo call to pass parameters just like the "real" hbmk2 call, to get correct information about the project. % Minor optimizations. * utils/hbmk2/hbmk2.prg + --hbinfo extended to return 'outputname'. * INSTALL + Documented HB_REBUILD_EXTERN 2010-08-03 14:28 UTC+0200 Viktor Szakats * contrib/hbqt/qtwebkit/hbqtwebkit.hbm + Added QtWebKit detection. Thanks to Francesco Perillo for tests. % Optimized. * contrib/hbqt/qtgui/hbqtguis.hbp * contrib/hbqt/qtgui/hbqtgui.hbc * contrib/hbqt/qtgui/hbqtgui.hbm * contrib/hbqt/qtgui/hbqtgui.hbp * contrib/hbqt/qtwebkit/hbqtwebkits.hbp * contrib/hbqt/qtwebkit/hbqtwebkit.hbc + contrib/hbqt/qtwebkit/hbqtwebkit.hbm * contrib/hbqt/qtwebkit/hbqtwebkit.hbp * contrib/hbqt/qtcore/hbqtcore.hbp * contrib/hbqt/qtcore/hbqtcore.hbc * contrib/hbqt/qtcore/hbqtcores.hbp * contrib/hbqt/qtcore/hbqtcore.hbm * contrib/hbqt/qtnetwork/hbqtnetwork.hbp * contrib/hbqt/qtnetwork/hbqtnetworks.hbp * contrib/hbqt/qtnetwork/hbqtnetwork.hbc + contrib/hbqt/qtnetwork/hbqtnetwork.hbm * contrib/hbqt/qscintilla/hbqscintilla.hbm * contrib/hbqt/qscintilla/hbqscintilla.hbp * contrib/hbqt/qscintilla/hbqscintilla.hbc * contrib/hbqt/qscintilla/hbqscintillas.hbp + contrib/hbqt/qtdesigner/hbqtdesigner.hbm * contrib/hbqt/qtdesigner/hbqtdesigner.hbp * contrib/hbqt/qtdesigner/hbqtdesigners.hbp * contrib/hbqt/qtdesigner/hbqtdesigner.hbc % Optimization (removed some redundancy). * Synced option ordering. * utils/hbmk2/hbmk2.prg + Added TODO + Added 'nm' command-line to extract HB_FUNCs. Sent by Przemek. (TODO: adapt it to leading underscore for win) 2010-08-03 12:34 UTC+0200 Viktor Szakats * contrib/hbct/hbct.hbp + contrib/hbct/ctextern.prg + Added extern puller .prg (suggested by Przemek) This fixes dynamic loading of hbct dynamic lib. We need a system which keeps these files updated for every contribs. * contrib/hbct/video.c ! Fixed to always define functions (not just in dos targets) ! Fixed warnings that came up along the way. ! Fixed to return compatible type on non-dos. * contrib/hbct/ctextern.ch + Updated with current function list. * contrib/make.hbs ! Fixed to propagate make options also to "contained" projects. Currently these are the HBQT subprojects referenced from hbqt.hbp container project file. Before e.g. clean option was not effective on these projects. * contrib/hbqt/utils/hbqtgen.prg * contrib/hbqt/qtgui/g/hbqtgui_extern.ch * contrib/hbqt/qtwebkit/g/hbqtwebkit_extern.ch * contrib/hbqt/qtcore/g/hbqtcore_extern.ch * contrib/hbqt/qtnetwork/g/hbqtnetwork_extern.ch * contrib/hbqt/qscintilla/g/hbqscintilla_extern.ch * contrib/hbqt/qtdesigner/g/hbqtdesigner_extern.ch * Use EXTERNAL instead of REQUEST to be in sync with rest of files in Harbour. 2010-08-03 11:14 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fixed to clean map file when -map option is used. * Little cleanup to prev. 2010-08-03 11:07 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fixed to clean implibs generated in -hbdyn and -hbexe modes. 2010-08-03 09:53 UTC+0200 Viktor Szakats * contrib/hbqt/qtgui/hbqtgui.hbc * contrib/hbqt/qtwebkit/hbqtwebkit.hbc * contrib/hbqt/qtcore/hbqtcore.hbc * contrib/hbqt/qtnetwork/hbqtnetwork.hbc * contrib/hbqt/qscintilla/hbqscintilla.hbc * contrib/hbqt/qtdesigner/hbqtdesigner.hbc - Deleted hack not required anymore after '2010-08-03 09:07 UTC+0200 Viktor Szakats' * contrib/hbqt/hbqt.hbp - Commented qtwebkit and qtdesigner sub-components. qtwebkit still isn't available on several systems (Linux e.g.), so pbly extra dependency detection should be added, and qtdesigner is not used. Seeing lack of positive reaction about these components (and recent moves whatsoever), it's better to concentrate on more interesting things now and not waste more CPU/brain cycles on that. BTW if someone is interested in them, they can be built using .hbp file, pls send patches if you find them broken. 2010-08-03 09:38 UTC+0200 Viktor Szakats * include/hbgtcore.h * include/hbapifs.h * include/hbapi.h + Added HB_EXPORT flag to these functions: (required by xhb, gtwvg and minizip) hb_gt_ItemBase() hb_gt_gcMark() hb_gt_winapi_setClipboard() hb_gt_winapi_getClipboard() hb_gt_winapi_getKbdState() hb_gt_winapi_setKbdState() hb_gt_winapi_tone() hb_fsAttrFromRaw() hb_fsAttrToRaw() hb_fsAttrEncode() hb_fsAttrDecode() hb_fopen() hb_gcCollect() hb_gcCollectAll() ; FIXME: I didn't want to add these as they look heavily internal (some even marked as such, they are all used by xhb lib: hb_stackBaseOffset() hb_stackItem() hb_stackBaseProcOffset() hb_stackWithObjectOffset() [DONE] * contrib/gtalleg/gtalleg.hbm ! Fixed missing -a implib flag for bcc. * contrib/hbqt/qscintilla/hbqscintilla.hbc + Added lib dependency name. * contrib/hbide/hbide.prg ! Fix to prev. 2010-08-03 09:07 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added trick to filter out target lib name from input lib list -hblib mode and to filter out target implib name from input lib list in -hbdyn mode. This fixes problems when linking -hbdyn by speccing both project .hbp and .hbc files. I'm still thinking of a better solution to solve this problem. * contrib/make.hbs ! Fixed recent bug in filter processing. * include/hbapi.h + Added HB_EXPORT to hb_releaseCPU(), hb_idle*() and hb_cmdarg*() functions. * contrib/hbide/idemisc.prg * contrib/hbide/hbide.ch * contrib/hbide/hbide.prg * Cleanup. 2010-08-02 18:17 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) + contrib/hbide/updown_v.ui + Added: widget to expose <Next><Previous>Top><Bottom><Highlight> buttons for selected text. * contrib/hbide/hbide.hbp * contrib/hbide/idebrowse.prg * contrib/hbide/idedocks.prg * contrib/hbide/idefindreplace.prg * contrib/hbide/idemisc.prg % Swapped: editing MDI area's top-toolbar actions with left-toolbar. Now the visual elements are synchrinized with how we are used to view these actions. + Implemented: in MDI editors mode, actions to navigate selection for <Next><Prev..> etc exposed via left toolbar. These actions are shown enabled only if there is active selection text is visible, either by double clicking on a word or by virtue of Find/Replace dialog. It fixes the visual irritating artifact discussed recently. + Implemented: MDI editing panels are now remembered for their last state for the next run. It effectively means that if a panel(s) are left maximized, minimized, cascaded, tiled, under tabbed view or subwindowed view, next run correctly position all of them. This is on top of your own layout which you would have saved earlier, which can ever be brought back by clicking on "View as arranged" icon. 2010-08-02 20:09 UTC+0200 Viktor Szakats * contrib/hbqt/utils/hbqtgen.prg + Will now generate hbqt*_extern.ch with REQUEST for all classed contained in given lib. + contrib/hbqt/qtgui/g/hbqtgui_extern.ch + contrib/hbqt/qtwebkit/g/hbqtwebkit_extern.ch + contrib/hbqt/qtcore/g/hbqtcore_extern.ch + contrib/hbqt/qtnetwork/g/hbqtnetwork_extern.ch + contrib/hbqt/qscintilla/g/hbqscintilla_extern.ch + contrib/hbqt/qtdesigner/g/hbqtdesigner_extern.ch * contrib/hbqt/qtgui/hbqtgui.hbp * contrib/hbqt/qtwebkit/hbqtwebkit.hbp * contrib/hbqt/qtcore/hbqtcore.hbp * contrib/hbqt/qtnetwork/hbqtnetwork.hbp * contrib/hbqt/qscintilla/hbqscintilla.hbp * contrib/hbqt/qtdesigner/hbqtdesigner.hbp + Added hbqt*_extern.ch files. + contrib/hbxbp/hbxbp_extern.ch * contrib/hbxbp/hbxbp.hbp + Added REQUEST list for hbxbp. * contrib/hbide/idemisc.prg - Deleted usrrdd hack not mentioned in ChangeLog. + Changed to use new hbqt*_extern.ch and hbxbp_extern.ch files instead of rolling a private list of external lib functions. * src/rdd/usrrdd/usrrdd.c + Readded old mistyped function name guarded with HB_LEGACY_LEVEL3. WARNING: Change UR_SUPER_WRITEBHEADER() to UR_SUPER_WRITEDBHEADER() in your code. 2010-08-02 19:40 UTC+0200 Viktor Szakats * include/hbapidbg.h + Added HB_EXPORT to the complete hb_dbg*() API set. This should fix -shared -b builds on win/wce when using non-mingw compiler. * src/vm/hvm.c * Formatting. 2010-08-02 09:52 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/idedocks.prg * contrib/hbide/idemisc.prg + Added: scrollbars to Edits MDI area. 2010-08-02 18:52 UTC+0200 Viktor Szakats * contrib/hbide/hbide.hbp + Added missing reference to hbqtnetwork. 2010-08-02 18:34 UTC+0200 Viktor Szakats * config/postinst.hbs * Synced mk_hb_processRun() with make.hbs. (minor, doesn't change functionality) 2010-08-02 18:32 UTC+0200 Viktor Szakats * contrib/hbxbp/hbxbp.hbp ! Missed to update hbqt .hbc file references. * contrib/make.hbs * Deleted unused code. 2010-08-02 18:22 UTC+0200 Viktor Szakats + contrib/hbqt/hbqtgui.hbc + contrib/hbqt/hbqtnetwork.hbc + Added two missing from SVN files. 2010-08-02 17:46 UTC+0200 Viktor Szakats * contrib/make.hbs ! Fixed minor but fatal problem in .hbd creation for contribs. + Will now create docs also for projects referenced from project list, but not actually on it (qt sub-projects). 2010-08-02 16:46 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fixed regression where -head=native would miss the header dir options when doing the header detection. + Added FIXME about (experimental) -autohbc not working with -inc option. 2010-08-02 15:13 UTC+0200 Viktor Szakats * contrib/hbqt/qtgui/qth/QMainWindow.qth * contrib/hbqt/qtgui/qth/QGridLayout.qth * contrib/hbqt/qtgui/qth/QTableWidget.qth * contrib/hbqt/qtgui/qth/QWidget.qth * contrib/hbqt/qtgui/qth/QLayout.qth * contrib/hbqt/qtgui/qth/QToolBar.qth * contrib/hbqt/qtgui/qth/QListWidget.qth * contrib/hbqt/qtgui/qth/QTreeWidgetItem.qth * contrib/hbqt/qtgui/qth/QBoxLayout.qth * contrib/hbqt/qtgui/qth/QTabWidget.qth * contrib/hbqt/qtgui/qth/QMenu.qth * contrib/hbqt/qtgui/qth/QTreeWidget.qth * contrib/hbqt/qtgui/hbqt_hbqabstractitemmodel.cpp * contrib/hbqt/qtcore/hbqt.h * contrib/hbqt/qtcore/hbqt_destruct.cpp * contrib/hbqt/qtcore/hbqt_base.cpp * contrib/hbqt/utils/hbqtgen.prg * Renamed QT_G_FUNC* and QGC_POINTER to have HBQT prefix and be little bit more convenient, though new names are still not perfect. * contrib/hbqt/qtgui/g/* * contrib/hbqt/qtcore/g/* * contrib/hbqt/qtnetwork/g/* * contrib/hbqt/qscintilla/g/* * contrib/hbqt/qtdesigner/g/* * contrib/hbqt/qtwebkit/g/* * Regenerated. ; FIXME: qt docs are not currently converted to .hbd. I will deal this in the future, anyhow nobody uses .hbd yet, so it not a loss. [DONE] 2010-08-02 14:49 UTC+0200 Viktor Szakats - contrib/hbqt/gtqtc - Deleted experimental GT written for QT API. 2010-08-02 14:47 UTC+0200 Viktor Szakats * contrib/hbqt/qscintilla/hbqscintilla.hbc + Added libname. + Added bare dependency autodetection. 2010-08-02 14:37 UTC+0200 Viktor Szakats * contrib/hbqt/utils/qscintilla.qtp - contrib/hbqt/hbqscintilla + contrib/hbqt/qscintilla * Dir renamed. 2010-08-02 14:29 UTC+0200 Viktor Szakats * contrib/hbqt/qtcore/hbqtcore.hbc - contrib/hbqt/hbqt.h + contrib/hbqt/qtcore/hbqt.h * Moved hbqt.h inside hbqtcore. * contrib/hbqt/hbqt.ch * contrib/hbqt/qtgui/hbqt_hbqabstractitemmodel.h ! Moved HBQT_AIM* constants to local file. * contrib/hbqt/hbqt.ch % Cleaned embedded HB_BITOR() calls. - contrib/hbqt/hbqscintilla/hbqscintilla.qtp + contrib/hbqt/utils/qscintilla.qtp * Moved .qtp next to others. * contrib/hbqt/hbqscintilla/hbqscintilla.hbp + contrib/hbqt/hbqscintilla/hbqscintilla.hbc + contrib/hbqt/hbqscintilla/hbqscintilla.hbm + contrib/hbqt/hbqscintilla/hbqscintillas.hbp - contrib/hbqt/hbqscintilla/* - contrib/hbqt/hbqscintilla/hbqt_local.h + contrib/hbqt/hbqscintilla/g + contrib/hbqt/hbqscintilla/g/* + contrib/hbqt/hbqscintilla/g/filelist.hbm * contrib/hbqt/hbqscintilla/doc/en/* * Moved hbqscintilla files to match new layout. + Added new hbmk2 make files. Updated existing one. * Regenerated. + Added TODOs to make files. + Added hbqtcore and hbqtgui as dependencies. * contrib/hbqt/gtqtc/gtqtc.cpp * contrib/hbqt/gtqtc/gtqtc.hbc ! Some tweaks to at least make it build. Probably this project should be deleted. * contrib/hbqt/hbqscintilla/hbqt_hbqsciscintilla.cpp % Deleted unnecessary headers. * contrib/hbqt/hbqscintilla/hbqt_hbqsciscintilla.h ! Fixed QT header references. ! Added EOL @ EOF. * contrib/hbqt/hbqscintilla/hbqscintilla.ch * Formatting. * contrib/hbqt/hbqscintilla/qth/HBQsciScintilla.qth * contrib/hbqt/hbqscintilla/qth/QsciAbstractAPIs.qth * contrib/hbqt/hbqscintilla/qth/QsciAPIs.qth * contrib/hbqt/hbqscintilla/qth/QsciCommand.qth * contrib/hbqt/hbqscintilla/qth/QsciCommandSet.qth * contrib/hbqt/hbqscintilla/qth/QsciDocument.qth * contrib/hbqt/hbqscintilla/qth/QsciLexer.qth * contrib/hbqt/hbqscintilla/qth/QsciLexerCPP.qth * contrib/hbqt/hbqscintilla/qth/QsciLexerFlagship.qth * contrib/hbqt/hbqscintilla/qth/QsciScintilla.qth * contrib/hbqt/hbqscintilla/qth/QsciStyle.qth * contrib/hbqt/hbqscintilla/qth/QsciStyledText.qth * Deleted manual headers which are now automatic. * utils/hbmk2/hbmk2.prg * utils/hbmk2/hbmk2.hu_HU.po * utils/hbmk2/hbmk2.pt_BR.po - Deleted -head=partial header parsing method. The new default is -head=full. Partial didn't give much performance increase, while having the risks to miss a header. * contrib/hbqt/qtgui/hbqtgui.hbm * contrib/hbqt/qtgui/hbqtgui.hbp * contrib/hbqt/qtgui/hbqtguis.hbp * contrib/hbqt/qtcore/hbqtcore.hbm * contrib/hbqt/qtcore/hbqtcore.hbp * contrib/hbqt/qtcore/hbqtcores.hbp % Removed some redundancy. 2010-08-02 13:15 UTC+0200 Viktor Szakats * contrib/hbqt/utils/hbqtgen.prg + Added to automatically generate HBQT_TYPE_* constants. * contrib/hbqt/hbqt.h - Deleted (manual and central) HBQT_TYPE_* constants, along with the FIXME note. * contrib/hbqt/qtwebkit/g/hbqtwebkit.h * contrib/hbqt/qtcore/g/hbqtcore.h * contrib/hbqt/qtnetwork/g/hbqtnetwork.h * contrib/hbqt/qtdesigner/g/hbqtdesigner.h * contrib/hbqt/qtgui/g/hbqtgui.h * Regenerated. * contrib/hbqt/qtgui/hbqt_hbqabstractitemmodel.h ! Fixed to use hbqtgui header instead of hbqt. * contrib/hbqt/qtgui/hbqt_hbqabstractitemmodel.cpp * contrib/hbqt/qtgui/hbqt_hbqsyntaxhighlighter.cpp * contrib/hbqt/qtgui/hbqt_hbqmainwindow.cpp * contrib/hbqt/qtgui/hbqt_hbqplaintextedit.cpp * contrib/hbqt/qtgui/hbqt_hbqtableview.cpp ! Fixed header inclusion regression after prev change. * contrib/hbqt/qtcore/hbqtcore.hbc * contrib/hbqt/qtgui/hbqtgui.hbc * contrib/hbqt/qtwebkit/hbqtwebkit.hbc * contrib/hbqt/qtnetwork/hbqtnetwork.hbc * contrib/hbqt/qtdesigner/hbqtdesigner.hbc + Added g dir to header path list. * contrib/hbqt/qtwebkit/hbqtwebkit.hbc * contrib/hbqt/qtwebkit/hbqtwebkits.hbp * contrib/hbqt/qtwebkit/hbqtwebkit.hbp * contrib/hbqt/qtwebkit/qth/QWebPluginFactory.qth * contrib/hbqt/qtwebkit/qth/QWebFrame.qth * contrib/hbqt/qtwebkit/qth/QWebView.qth * contrib/hbqt/qtwebkit/qth/QWebPage.qth * contrib/hbqt/qtwebkit/qth/QWebSecurityOrigin.qth * contrib/hbqt/qtwebkit/qth/QWebHistoryItem.qth * contrib/hbqt/qtwebkit/qth/QWebSettings.qth * contrib/hbqt/qtwebkit/qth/QWebHitTestResult.qth + Added hbqtgui and hbqtnetwork as a dependency. - Disabled QList<Plugin>, QList<QWebDatabase> references since they fail at build time. * contrib/hbqt/qtdesigner/hbqtdesigner.hbp * contrib/hbqt/qtdesigner/hbqtdesigners.hbp * contrib/hbqt/qtdesigner/hbqtdesigner.hbc * contrib/hbqt/qtdesigner/qth/QDesignerActionEditorInterface.qth * contrib/hbqt/qtdesigner/qth/QDesignerFormWindowManagerInterface.qth * contrib/hbqt/qtdesigner/qth/QDesignerFormWindowCursorInterface.qth * contrib/hbqt/qtdesigner/qth/QDesignerFormEditorInterface.qth * contrib/hbqt/qtdesigner/qth/QDesignerFormWindowInterface.qth * contrib/hbqt/qtdesigner/qth/QDesignerPropertyEditorInterface.qth * contrib/hbqt/qtdesigner/qth/QDesignerWidgetBoxInterface.qth * contrib/hbqt/qtdesigner/qth/QDesignerObjectInspectorInterface.qth + Added hbqtgui as dependency. * contrib/hbqt/qtdesigner/g/* * contrib/hbqt/qtwebkit/g/* * contrib/hbqt/qtwebkit/doc/en/* * Regenerated. * contrib/hbqt/hbqt.hbp + Enabled hbqtwebkit and hbqtwebdesigner 2010-08-02 12:34 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/xhb/xhbqself.c * do not use depreciated symbol hb_symEval in HB_QSELF() function 2010-08-02 12:12 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rdd/dbcmd53.c * removed one redundant casting * harbour/package/mpkg_rpm.sh ! move source code archive to RPM directory structure to not leave it after creating RPMs * harbour/package/mpkg_src.sh ! fixed to work correctly after moving from root directory - harbour/package/harbour-win.spec + harbour/package/harbour-win.spec.in * harbour/package/mpkg_rpm_win.sh - harbour/package/harbour-wce.spec + harbour/package/harbour-wce.spec.in * harbour/package/mpkg_rpm_wce.sh ! renamed cross build .spec files to fix -ta option To keep this functionality working only one file in tar archive can have .spec extension 2010-08-02 11:49 UTC+0200 Viktor Szakats * contrib/hbqt/qtcore/hbqtcore.hbm * contrib/hbqt/qtgui/hbqtgui.hbm - contrib/hbqt/qtcore/hbqt_utils.cpp + contrib/hbqt/qtgui/hbqt_utils.cpp ! Moved QtGui related file to qtgui lib. % Do not include hbqt.h, it's already included by hbqtcore.h. % Protect hbqt.h also with header guard in generated headers. * contrib/hbqt/utils/hbqtgen.prg + Merged component header with component GC (_garbage) header. - contrib/hbqt/qtcore/g/hbqtcore_garbage.h - contrib/hbqt/qtdesigner/g/hbqtdesigner_garbage.h - contrib/hbqt/qtgui/g/hbqtgui_garbage.h - contrib/hbqt/qtnetwork/g/hbqtnetwork_garbage.h - contrib/hbqt/qtwebkit/g/hbqtwebkit_garbage.h - Deleted separate GC headers. * contrib/hbqt/qtcore/g/* * contrib/hbqt/qtdesigner/g/* * contrib/hbqt/qtgui/g/* * contrib/hbqt/qtnetwork/g/* * contrib/hbqt/qtwebkit/g/* * Regenerated. * hbqt/qtgui/qth/HBQMainWindow.qth * hbqt/qtgui/qth/QApplication.qth * hbqt/qtcore/hbqt_hbevents.h * hbqt/qtcore/hbqt_hbslots.h * contrib/hbqt/qtgui/hbqt_hbqabstractitemmodel.cpp * contrib/hbqt/qtgui/hbqt_hbqabstractitemmodel.h * contrib/hbqt/qtgui/hbqt_hbqmainwindow.cpp * contrib/hbqt/qtgui/hbqt_hbqmainwindow.h * contrib/hbqt/qtgui/hbqt_hbqplaintextedit.cpp * contrib/hbqt/qtgui/hbqt_hbqplaintextedit.h * contrib/hbqt/qtgui/hbqt_hbqsyntaxhighlighter.cpp * contrib/hbqt/qtgui/hbqt_hbqsyntaxhighlighter.h * contrib/hbqt/qtgui/hbqt_hbqtableview.cpp * contrib/hbqt/qtgui/hbqt_hbqtableview.h % Cleaned header inclusion. 2010-08-02 10:22 UTC+0200 Viktor Szakats * contrib/hbqt/hbqt.h - Deleted component specific hbqt_par_*() defines. - Deleted some hbqt_par_*() defines which were not defined anymore or not used. * contrib/hbqt/hbqt_common.hbm % Deleted hbqtcore dir from header path list. * contrib/hbqt/qtcore/hbqt_hbevents.h * contrib/hbqt/qtcore/hbqt_hbslots.h + Include main component header. * contrib/hbqt/utils/hbqtgen.prg + Will now generate hbqt_par_*() macros automatically, in local component dir. % Deleted more unused code. * contrib/hbqt/qtdesigner/qth/QDesignerActionEditorInterface.qth * contrib/hbqt/qtdesigner/qth/QDesignerFormEditorInterface.qth * contrib/hbqt/qtdesigner/qth/QDesignerFormWindowCursorInterface.qth * contrib/hbqt/qtdesigner/qth/QDesignerFormWindowInterface.qth * contrib/hbqt/qtdesigner/qth/QDesignerFormWindowManagerInterface.qth * contrib/hbqt/qtdesigner/qth/QDesignerObjectInspectorInterface.qth * contrib/hbqt/qtdesigner/qth/QDesignerPropertyEditorInterface.qth * contrib/hbqt/qtdesigner/qth/QDesignerWidgetBoxInterface.qth * contrib/hbqt/qtwebkit/qth/QWebFrame.qth * contrib/hbqt/qtwebkit/qth/QWebHistory.qth * contrib/hbqt/qtwebkit/qth/QWebHistoryInterface.qth * contrib/hbqt/qtwebkit/qth/QWebHistoryItem.qth * contrib/hbqt/qtwebkit/qth/QWebHitTestResult.qth * contrib/hbqt/qtwebkit/qth/QWebPage.qth * contrib/hbqt/qtwebkit/qth/QWebPluginFactory.qth * contrib/hbqt/qtwebkit/qth/QWebSecurityOrigin.qth * contrib/hbqt/qtwebkit/qth/QWebSettings.qth * contrib/hbqt/qtwebkit/qth/QWebView.qth - Deleted manual references to component header. (now automatically generated) * contrib/hbqt/qtcore/hbqtcore.hbp * contrib/hbqt/qtcore/hbqtcores.hbp * contrib/hbqt/qtgui/hbqtgui.hbp * contrib/hbqt/qtgui/hbqtguis.hbp + Added main component dir to header path list. * contrib/hbqt/qtgui/qth/HBQAbstractItemModel.qth * contrib/hbqt/qtgui/qth/HBQMainWindow.qth * contrib/hbqt/qtgui/qth/HBQPlainTextEdit.qth * contrib/hbqt/qtgui/qth/HBQSyntaxHighlighter.qth * contrib/hbqt/qtgui/qth/HBQTableView.qth * contrib/hbqt/qtgui/qth/HBQTextBlockUserData.qth * contrib/hbqt/qtgui/qth/QSyntaxHighlighter.qth * contrib/hbqt/qtgui/qth/QTextBlock.qth * contrib/hbqt/qtcore/qth/HBEvents.qth * contrib/hbqt/qtcore/qth/HBSlots.qth - Deleted relative paths when referencing component local headers. * contrib/hbqt/qtgui/qth/QPaintEngine.qth ! Commented references to QPaintEngineState (it's not implemented). * contrib/hbqt/qtcore/qth/QSignalMapper.qth ! Commented references to QWidget (it's QtGui component. It can be readded by adding some tricks if absolutely necessary, I don't know how important these methods are). - contrib/hbqt/qtwebkit/hbqt_local.h - contrib/hbqt/qtdesigner/hbqt_local.h + contrib/hbqt/qtdesigner/g/hbqtdesigner.h + contrib/hbqt/qtwebkit/g/hbqtwebkit.h + contrib/hbqt/qtcore/g/hbqtcore.h + contrib/hbqt/qtgui/g/hbqtgui.h + contrib/hbqt/qtnetwork/g/hbqtnetwork.h + Added/moved component local headers to g dir. These are now generated automatically. - contrib/hbqt/qtgui/g/QInputContext.cpp - contrib/hbqt/qtgui/g/TQInputContext.prg - Deleted generated source which is not generated since long. * contrib/hbqt/qtcore/doc/en/* * contrib/hbqt/qtcore/g/* * contrib/hbqt/qtdesigner/g/* * contrib/hbqt/qtgui/doc/en/* * contrib/hbqt/qtgui/g/* * contrib/hbqt/qtnetwork/g/* * contrib/hbqt/qtwebkit/g/* * Regenerated. 2010-08-02 08:44 UTC+0200 Viktor Szakats - contrib/hbqt/qtdesigner/* + contrib/hbqt/qtdesigner/g + contrib/hbqt/qtdesigner/g/* - contrib/hbqt/qtwebkit/- + contrib/hbqt/qtwebkit/g + contrib/hbqt/qtwebkit/g/* * Moved generated files under g subdir. * Renamed _garbage header to have component prefix * Regenerated * contrib/hbqt/qtdesigner/doc/en/* * contrib/hbqt/qtwebkit/doc/en/* * Regenerated * contrib/hbqt/qtwebkit/hbqtwebkit.hbp * contrib/hbqt/qtwebkit/hbqtwebkits.hbp * contrib/hbqt/qtdesigner/hbqtdesigner.hbp * contrib/hbqt/qtdesigner/hbqtdesigners.hbp * Updated to reflect above changes. * Synced with other components. + contrib/hbqt/hbqtdesigner.hbc + contrib/hbqt/hbqtwebkit.hbc + contrib/hbqt/qtdesigner/hbqtdesigner.hbc + contrib/hbqt/qtwebkit/hbqtwebkit.hbc + Added .hbc files for these components. + contrib/hbqt/hbqt_commons.hbm + Added common hbm for static build settings. * contrib/hbqt/qtdesigner/qth/* * contrib/hbqt/qtwebkit/qth/* - Deleted manually added local GC headers. * contrib/hbqt/qtcore/hbqt_hbslots.h + Added FIXME about QtGui dependency. * contrib/hbqt/qtcore/hbqtcores.hbp * contrib/hbqt/qtgui/hbqtguis.hbp * contrib/hbqt/qtnetwork/hbqtnetworks.hbp % Using hbqt_commons.hbm * contrib/hbqt/utils/qtdesigner.qtp ! Fixed typo in target dirs. 2010-08-02 02:10 UTC+0200 Viktor Szakats * contrib/make.hbs + Make it capable to build project dependencies which are not on the central project list. (this feature is used with hbqt) + Added -shl to hbmk2 build calls. * utils/hbmk2/hbmk2.prg + Added -shl option to show sub-project level in every output line. + Added experimental -hbcontainer target mode, which is virtual target, it won't create anything. Name not finalized yet. + Normalizing some more paths. ! Fixed not include the same plugin twice. ! Some internal fixes to -hb<target> option handling. Could have caused problems in rare situations. % Minor optimizations. * contrib/hbqt/utils/hbqtgen.prg * Changed to generate hbqt.h header references without relative dir, so it can now be freely solved using header dir options at build time. - contrib/hbqt/hbmk2_plugin_qt.hbs + contrib/hbqt/hbqt_hbmk2_plugin.hbs * contrib/hbqt/hbqt_common.hbc * contrib/hbqt/hbqt_common.hbm * Renamed. * contrib/hbqt/qtcore/hbqtcore.hbc * contrib/hbqt/qtgui/hbqtgui.hbc * contrib/hbqt/qtnetwork/hbqtnetwork.hbc ! Readded previously deleted trick which is required for successful dynlib link. * contrib/hbplist * contrib/hbqt/hbqt.hbp + Modified how container project is defined. * Now main container subproject is listed in central project list file. * contrib/hbqt/hbqt_common.hbc * contrib/hbqt/qtgui/hbqtgui.hbp - Moved -gui/-gtnul options inside hbqtgui. * contrib/hbqt/hbqt_common.hbm + Added hbqt root dir as header dir. * contrib/hbqt/utils/qtcore.qtp * contrib/hbqt/utils/qtgui.qtp * contrib/hbqt/utils/qtnetwork.qtp * contrib/hbqt/hbqt_common.hbm * contrib/hbqt/qtcore/hbqtcore.hbp * contrib/hbqt/qtcore/hbqtcores.hbp - contrib/hbqt/qtcore/* + contrib/hbqt/qtcore/g + contrib/hbqt/qtcore/g/* * contrib/hbqt/qtgui/hbqtgui.hbp * contrib/hbqt/qtgui/hbqtguis.hbp - contrib/hbqt/qtgui/* + contrib/hbqt/qtgui/g + contrib/hbqt/qtgui/g/* * contrib/hbqt/qtnetwork/hbqtnetwork.hbp * contrib/hbqt/qtnetwork/hbqtnetworks.hbp - contrib/hbqt/qtnetwork/* + contrib/hbqt/qtnetwork/g + contrib/hbqt/qtnetwork/g/* * Moved generated sources inside 'g' subdir. * Sources regenerated. - contrib/hbqt/hbqt_base.cpp - contrib/hbqt/hbqt_destruct.cpp - contrib/hbqt/hbqt_hbevents.cpp - contrib/hbqt/hbqt_hbevents.h - contrib/hbqt/hbqt_hbslots.cpp - contrib/hbqt/hbqt_hbslots.h - contrib/hbqt/hbqt_misc.prg - contrib/hbqt/hbqt_utils.cpp + contrib/hbqt/qtcore/hbqt_base.cpp + contrib/hbqt/qtcore/hbqt_destruct.cpp + contrib/hbqt/qtcore/hbqt_hbevents.cpp + contrib/hbqt/qtcore/hbqt_hbevents.h + contrib/hbqt/qtcore/hbqt_hbslots.cpp + contrib/hbqt/qtcore/hbqt_hbslots.h + contrib/hbqt/qtcore/hbqt_misc.prg + contrib/hbqt/qtcore/hbqt_utils.cpp * contrib/hbqt/qtcore/hbqtcore.hbm * Moved hbqtcore files to their own component subdir. - contrib/hbqt/hbqt_errorsys.prg - contrib/hbqt/hbqt_hbqabstractitemmodel.cpp - contrib/hbqt/hbqt_hbqabstractitemmodel.h - contrib/hbqt/hbqt_hbqmainwindow.cpp - contrib/hbqt/hbqt_hbqmainwindow.h - contrib/hbqt/hbqt_hbqplaintextedit.cpp - contrib/hbqt/hbqt_hbqplaintextedit.h - contrib/hbqt/hbqt_hbqsyntaxhighlighter.cpp - contrib/hbqt/hbqt_hbqsyntaxhighlighter.h - contrib/hbqt/hbqt_hbqtableview.cpp - contrib/hbqt/hbqt_hbqtableview.h - contrib/hbqt/THbQtUI.prg + contrib/hbqt/qtgui/hbqt_errorsys.prg + contrib/hbqt/qtgui/hbqt_hbqabstractitemmodel.cpp + contrib/hbqt/qtgui/hbqt_hbqabstractitemmodel.h + contrib/hbqt/qtgui/hbqt_hbqmainwindow.cpp + contrib/hbqt/qtgui/hbqt_hbqmainwindow.h + contrib/hbqt/qtgui/hbqt_hbqplaintextedit.cpp + contrib/hbqt/qtgui/hbqt_hbqplaintextedit.h + contrib/hbqt/qtgui/hbqt_hbqsyntaxhighlighter.cpp + contrib/hbqt/qtgui/hbqt_hbqsyntaxhighlighter.h + contrib/hbqt/qtgui/hbqt_hbqtableview.cpp + contrib/hbqt/qtgui/hbqt_hbqtableview.h + contrib/hbqt/qtgui/THbQtUI.prg * contrib/hbqt/qtgui/hbqtgui.hbm * Moved hbqtgui files to their own component subdir. - contrib/hbqt/qtdesigner/hbqtdesigner.qtp - contrib/hbqt/qtwebkit/hbqtwebkit.qtp + contrib/hbqt/utils/qtdesigner.qtp + contrib/hbqt/utils/qtwebkit.qtp * Moved .qtp files into utils subdir. 2010-08-01 23:21 UTC+0200 Viktor Szakats - contrib/hbqt/generator - Deleted. [ Confused SVN ] 2010-08-01 19:44 UTC+0200 Viktor Szakats - contrib/hbqt/generator/* + contrib/hbqt/utils + contrib/hbqt/utils/hbqtgen2.prg + contrib/hbqt/utils/QtGui.txt + contrib/hbqt/utils/QtCore.txt + contrib/hbqt/utils/QtNetwork.txt * Renamed generator dir to utils. 2010-08-01 19:42 UTC+0200 Viktor Szakats - contrib/hbqt/doc - Deleted empty doc dir. 2010-08-01 19:41 UTC+0200 Viktor Szakats + contrib/hbqt/hbqt_common.hbc * contrib/hbqt/hbqt_common.hbm * contrib/hbqt/hbqtcore.hbc - contrib/hbqt/hbqtcore.hbp - contrib/hbqt/hbqtcores.hbp - contrib/hbqt/hbqtcore_filelist.hbm + contrib/hbqt/qtgui/hbqtgui.hbc + contrib/hbqt/qtgui/hbqtgui.hbm + contrib/hbqt/qtgui/hbqtgui.hbp + contrib/hbqt/qtgui/hbqtguis.hbp - contrib/hbqt/hbqtgui_filelist.hbm + contrib/hbqt/qtcore/hbqtcore.hbc + contrib/hbqt/qtcore/hbqtcore.hbm + contrib/hbqt/qtcore/hbqtcore.hbp + contrib/hbqt/qtcore/hbqtcores.hbp - contrib/hbqt/hbqtgui.hbp - contrib/hbqt/hbqtguis.hbp - contrib/hbqt/hbqtnetwork.hbp - contrib/hbqt/hbqtnetworks.hbp + contrib/hbqt/qtnetwork/hbqtnetwork.hbc + contrib/hbqt/qtnetwork/hbqtnetwork.hbp + contrib/hbqt/qtnetwork/hbqtnetworks.hbp * contrib/hbplist * Moved as much as possible make logic to components. (left central .hbc file to make autofind happy and hide internal layout details from users) ! Missed some files form prev commits. + contrib/hbqt/hbqt.hbp + Readded central make file to make it easy to build all sub-components at once. - contrib/hbqt/generator2 + contrib/hbqt/generator/hbqtgen2.prg + contrib/hbqt/generator/QtGui.txt + contrib/hbqt/generator/QtCore.txt + contrib/hbqt/generator/QtNetwork.txt * Moved generator2 code to generator dir. 2010-08-01 18:27 UTC+0200 Viktor Szakats - contrib/hbqt/qth - contrib/hbqt/doc * contrib/hbqt/generator/qtcore.qtp * contrib/hbqt/generator/qtnetwork.qtp * contrib/hbqt/generator/qtgui.qtp + contrib/hbqt/qtgui/qth + contrib/hbqt/qtgui/qth/* + contrib/hbqt/qtgui/doc + contrib/hbqt/qtgui/doc/en + contrib/hbqt/qtgui/doc/en/* + contrib/hbqt/qtcore/qth + contrib/hbqt/qtcore/qth/* + contrib/hbqt/qtcore/doc + contrib/hbqt/qtcore/doc/en + contrib/hbqt/qtcore/doc/en/* + contrib/hbqt/qtnetwork/qth + contrib/hbqt/qtnetwork/qth/* + contrib/hbqt/qtnetwork/doc + contrib/hbqt/qtnetwork/doc/en + contrib/hbqt/qtnetwork/doc/en/* + qth and doc files moved inside their own component dirs. 2010-08-01 18:03 UTC+0200 Viktor Szakats * contrib/hbqt/generator/qtcore.qtp * contrib/hbqt/generator/qtgui.qtp - contrib/hbqt/qtcore/THBQAbstractItemModel.prg - contrib/hbqt/qtcore/HBQAbstractItemModel.cpp + contrib/hbqt/qtgui/THBQAbstractItemModel.prg + contrib/hbqt/qtgui/HBQAbstractItemModel.cpp * contrib/hbqt/qtgui/filelist.hbm * contrib/hbqt/qtcore/filelist.hbm * contrib/hbqt/qtgui/hbqtgui_garbage.h * contrib/hbqt/qtcore/hbqtcore_garbage.h * contrib/hbqt/hbqtgui_filelist.hbm * contrib/hbqt/hbqtcore_filelist.hbm * Moved GUI dependent classes to hbqtgui. * contrib/hbqt/hbqt_common.hbm * contrib/hbqt/hbqtcore.hbc + Added my copyright. * contrib/hbqt/hbqtcore.hbc + Added FIXME about slots subsystem making qtgui references. * contrib/hbqt/generator/hbqtgen.prg - Deleted more inactive code. * contrib/hbqt/hbqt_errorsys.prg * contrib/hbqt/THbQtUI.prg * contrib/hbqt/hbqtgui_filelist.hbm * contrib/hbqt/hbqtcore_filelist.hbm * contrib/hbqt/hbqt_misc.prg ! Fixed to throw RTE instead of displaying uncontrollable msgbox. * QT errorsys now calls hbqt_messagebox() directly. % hbqt_messagebox() moved inside errorsys code and made static. ! Moved QT errorsys to hbqtgui subsystem. Overriding default errorsys is only required for apps using QT GUI subsystem. ; I didn't test the actual code, so there might be stupid typos left, pls test me. * contrib/hbqt/doc/en/* * Changed after regeneration (due to some last minute changes in prev commit) 2010-08-01 14:09 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg % normalize rebased sources paths (mingw, *nix/gcc). - contrib/hbqt/generator/qt45.qtp + contrib/hbqt/generator/qtcore.qtp + contrib/hbqt/generator/qtnetwork.qtp + contrib/hbqt/generator/qtgui.qtp * Split monolithic .qtp to components. ! Moved QUiLoader to qtgui (from qtcore) to fix circular component dependency. * contrib/hbqt/generator/hbqtgen.prg + Rewrote to avoid internal tricks to detect which class belongs to which component. + Changed to create GC related functions on a per-component bases (instead of monolithic hbqt_garbage.h). * Changed to save documents using core hbdoc API. % Deleted some unused functions and variables. ; After these changes the generator doesn't have any hard-coded information about components, so it can be extended with new one via new .qth files. * contrib/hbqt/qtgui/* * contrib/hbqt/qtcore/* * contrib/hbqt/qtnetwork/* * contrib/hbqt/doc/en/* * Regenerated. - contrib/hbqt/qtcore/TQUiLoader.prg - contrib/hbqt/qtcore/QUiLoader.cpp + contrib/hbqt/qtgui/QUiLoader.cpp + contrib/hbqt/qtgui/TQUiLoader.prg ! Moved QUiLoader to qtgui (from qtcore) to fix circular component dependency. * contrib/hbqt/qth/QUrl.qth ! Fixed to not inherit from class present in qtgui. (fixes dependency) * contrib/hbqt/hbqt.h - contrib/hbqt/hbqt_garbage.h * contrib/hbqt/hbqt_hbevents.h * contrib/hbqt/hbqt_hbslots.h + contrib/hbqt/qtcore/hbqtcore_garbage.h + contrib/hbqt/qtgui/hbqtgui_garbage.h + contrib/hbqt/qtnetwork/hbqtnetwork_garbage.h - Deleted central header for GC functions. + Added per component GC function header. - contrib/hbqt/filelist.hbm - contrib/hbqt/hbqt.hbc - contrib/hbqt/hbqt.hbp - contrib/hbqt/hbqtmain.hbp - contrib/hbqt/hbqtmains.hbp - Deleted central hbqt holder project and .hbc file. + contrib/hbqt/hbqtcore.hbc * contrib/hbqt/hbqtcore.hbp * contrib/hbqt/hbqtcores.hbp * contrib/hbqt/hbqtgui.hbp * contrib/hbqt/hbqtguis.hbp + contrib/hbqt/hbqtgui_filelist.hbm * contrib/hbqt/hbqtnetwork.hbp * contrib/hbqt/hbqtnetworks.hbp + contrib/hbqt/hbqtcore_filelist.hbm + Merged qtmain lib content to qtcore and qtgui. This finally drops the need for an additional wrapper lib compared to qt ones, and it fixes build dependencies. Formerly libs had circular dependencies, now qtcore is the main lib and other qt* libs depend on this central one. * contrib/hbqt/hbqt_common.hbm + Added qtcore to header path list. * contrib/hbqt/tests/hbmk.hbm * contrib/hbqt/tests/wvtqt.hbp * contrib/hbxbp/hbxbp.hbc * Updated to include per component .hbc files instead of central hbqt.hbc. * contrib/hbplist * Changed central hbqt project to its three components. * contrib/hbxbp/tests/wvtqt.hbp ! Fixed hbc reference. ; After these changes, the qt lib layout is much cleaner and it makes it possible to build .dll versions of them. Except still one issue. ; TODO: Further cleanup to file layout. Componentize docs, qth files, move files in central dir to component dirs. [DONE] ; FIXME: hbqtcore references qtgui in QMESSAGEBOX() which is a hbqtgui function. This has to be fixed. hbqtcore.dll is not build because of this. The easiest would be to rewrite HBQT_MESSAGEBOX() in C++ to use QMessageBox QT class directly and place this function into hbqtcore. [DONE - differently] ; FIXME: If this is done it would be also good to fix hbqtcore -> qtgui dependencies. Currently this is QMessageBox plus some stuff referenced from hbqt_hbqabstractitemmodel.cpp. This latter can pbly be solved by moving this HB class to hbqtgui. [DONE] 2010-07-31 23:57 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/gtwvg/wvgscrlb.prg % Reversed the order of structures to comply with current scenario. * contrib/hbide/setup.ui + Added: checkbox: Edits MDI. * contrib/hbide/hbide.prg * contrib/hbide/ideactions.prg * contrib/hbide/idebrowse.prg * contrib/hbide/idedocks.prg * contrib/hbide/idemisc.prg * contrib/hbide/idesaveload.prg * contrib/hbide/idetools.prg + Implemented: MDI interface for editing panels. This implementation is on top of existing one and is switchable through "Setup->Edits MDI". For now it is "ON" by default just to give a first-hand experience to the user and show advantages it has over existing one. LAYOUT: Editing area is comprised of : 1. Top toolbar Collection of actions which affect the presentation of panels, windows hosting them and editors. 2. Left toolbar Collection of actions which affect editing instances. 3. MDI Area Hosting panels inside MDI windows. 4. Various panels in MDI area, each separate in a MDI window: a. <Stats> Holds: <Welcome> and <FAQ> tabs. b. <Main> panel, the default one, always present. c. <User-defined Panel 1> <User-defined Panel 2> <User-defined Panel n> Holds: n number of editing instances each per tab in a tabbed widget. Every panel has the same behavior as before. All features are exactly the same as before. ADVANTAGES: allows to view and edit multiple sources simultaneous. : better organization of sources across logical development units. Regression is possible though every care has been taken for accuracy. Toggling MDI to Stacked mode is not in-place, hbIDE needs to be exetuted again to take this change active. 2010-07-31 20:10 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg * Changed to not give fatal error if command-line (or .hbp) didn't contain any sources. Just warn. Required for hbqt.hbp, which is a holder project without own output. ; NOTE: BTW HBQT fails very badly on any dynamic lib creating attempt, and the reason is that it's still a monolithic lib under the surface, just split some files into separate libs to avoid command-line length. [RESOLVED after complete rework] 2010-07-31 14:30 UTC+0200 Viktor Szakats * contrib/hbqt/hbqt.hbc * contrib/hbqt/hbqt.hbp + contrib/hbqt/hbqtmain.hbp - contrib/hbqt/hbqts.hbp + contrib/hbqt/hbqtmains.hbp * Renamed hbqt lib to hbqtmain. * Flattened the internal .hbp sub-projects to control the build order (until hbmk2 gets automatic internal sub-project dependency order sorting logic). This was required for HB_BUILD_CONTRIB_DYN mode, because hbqt (now hbqtmain) needs to be built first, to be able to link hbqtcore and the rest. * contrib/hbqt/hbqt_hbqabstractitemmodel.h ! Fixed missing copyright and SVN headers. 2010-07-31 13:59 UTC+0200 Viktor Szakats * contrib/hbmysql/hbmysql.hbc * contrib/gtalleg/gtalleg.hbc * contrib/sddmy/sddmy.hbc * contrib/hbodbc/hbodbc.hbc * contrib/xhb/xhb.hbc * contrib/sddfb/sddfb.hbc * contrib/hbtpathy/hbtpathy.hbc * contrib/hbgt/hbgt.hbc * contrib/hbsqlit3/hbsqlit3.hbc * contrib/hbblat/hbblat.hbc * contrib/hbfbird/hbfbird.hbc * contrib/sddpg/sddpg.hbc * contrib/hbziparc/hbziparc.hbc * contrib/hbbz2/hbbz2.hbc * contrib/hbblink/hbblink.hbc * contrib/hbnf/hbnf.hbc * contrib/hbcurl/hbcurl.hbc * contrib/hbmemio/hbmemio.hbc * contrib/hbxpp/hbxpp.hbc * contrib/hbfship/hbfship.hbc * contrib/hbcups/hbcups.hbc * contrib/hbfoxpro/hbfoxpro.hbc * contrib/rddbmcdx/rddbmcdx.hbc * contrib/hbhpdf/hbhpdf.hbc * contrib/gtwvg/gtwvg.hbc * contrib/hbpgsql/hbpgsql.hbc * contrib/hbclipsm/hbclipsm.hbc * contrib/rddads/rddads.hbc * contrib/sddsqlt3/sddsqlt3.hbc * contrib/hbfimage/hbfimage.hbc * contrib/sddodbc/sddodbc.hbc * contrib/hbgd/hbgd.hbc * contrib/hbmisc/hbmisc.hbc * contrib/sddoci/sddoci.hbc * contrib/hbcomm/hbcomm.hbc * contrib/hbcairo/hbcairo.hbc * contrib/hbsms/hbsms.hbc + Added ${__HB_DYN__} to main lib libs= entry. This way the shared lib flavor can be selected to experiment with it. (use '-env:__HB_DYN__=_dll' hbmk2 option) 2010-07-31 13:44 UTC+0200 Viktor Szakats * contrib/make.hbs % Code consolidation. ! Fixed recent regression, whereas now again the root project's .hbc file will be added to the make process in HB_BUILD_CONTRIB_DYN mode. + Changed the way filter is processed, now dependent packages will always be built, so there is no need to manually pick all the dependencies too. * Internal terminology cleanup. + Will now also rebuild the _dependencies_ in HB_BUILD_CONTRIB_DYN mode. - Deleted forcing English language for hbmk2 output. ; Regressions are possible ; NOTE: This dynamic stuff is a real can of worms. Virtually infinite combinations of dynamic vs static libs may be supported, plus there is ST vs MT issue, where we must decide about this at dynlib build time, and e.g. what happens when trying to load two .dlls one with was linked against MT Harbour and the other against ST? It's a combinatorical explosion. * src/vm/vmmt/Makefile ! Fixed missing procaddr.c causing unresolved externals when creating MT mode dynlibs. * config/global.mk ! Attempt to fix LD_LIBRARY_PATH problem, adding dynamic lib build dir to this envvar while doing the build, pls test it, I didn't. + contrib/hbplist - contrib/pkglist * Renamed. * contrib/hbct/ctwin.h ! Added missing HB_EXPORT. * contrib/xhb/xhb.hbp * contrib/hbgd/hbgd.hbp ! Added missing project references also to .hbp files. * utils/hbmk2/hbmk2.prg ! Fixed regression with mingw -hbdyn after adding new stub which stole the show by explicitly exporting one symbol which (due to autoexport function in mingw) prevented regular symbols to be exported. This fix will remove the exception so far applied to mingw/cygwin compilers where HB_DYNLIB was not used with these, now it's used equally on all compilers/platforms. For this to be effective, it should be noted that HB_EXPORT must be used in all public declarations, even in contrib. ! Fix (?) to not include MAIN proc force code when building with hbmaindllp. * contrib/xhb/thtm.prg % Changed hbct LTOC to simple iif() ; FIXME: xhb makes reference to (deprecated) hb_symEval symbol: Info: resolving _hb_symEval by linking to __imp__hb_symEval (auto-import) [DONE] * contrib/rddsql/hbrddsql.h ! Added HB_EXTERN_BEGIN/END ! Added HB_EXPORT ! Added extern * contrib/sddoci/sddoci.hbp ! Restored some flags present in old Makefile to make it work with mingw and bcc. * contrib/hbqt/generator/hbqtgen.prg * contrib/hbqt/hbqt.h ! Fixed to add HB_EXPORT to public declarations. ; FIXME: hbqt still doesn't link in hbdyn mode. [DONE] * contrib/hbqt/hbqt_garbage.h * contrib/hbqt/doc/en/*.txt * Regenerated. * contrib/hbqt/hbqt.hbc ! Fixed to not include QtUiTools in -hbdyn mode. It creates duplicate symbols at link. Maybe this is not the right fix, go figure. (HB_STATIC_QT mode still has to be checked) ; TODO: Add ${__HB_DYN__} to all .hbc files. [DONE] 2010-07-31 02:44 UTC+0200 Viktor Szakats * include/Makefile + include/hbexturs.ch * include/hbextern.ch + Moved User RDD declarations to separate file so that they can be included without the full set of Harbour functions. * include/Makefile ! Added missing hbcom.ch 2010-07-31 02:32 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + -implib= option now accepts filename, too (exactly like -o option) So it's possible to manually set the generated implib lib in -hbdyn (and -hbexe) modes. * contrib/hbpost.hbm + Moved the _dll/_exe implib output name postfixing logic from hbmk2 (though hbmk2 will still keep appending these by default) This way the "_dll" postfix thing is fully controlled by make.hbs and hbpost.hbm, no hidden "agreements" with hbmk2. * config/global.mk + Added log warning, if the source tree is modified. 2010-07-31 01:59 UTC+0200 Viktor Szakats * contrib/make.hbs + Reworked, simplified internals to support multiple projects inside one package directory (currently hbtip is the only one) + Implemented to honor directories in .hbc references. (clearing one item in TODO list) ; HB_BUILD_CONTRIB_DYN feature is out of experimental status as far as make.hbs is concerned. * contrib/hbmzip/hbmzip.hbc * contrib/hbxbp/hbxbp.hbc * contrib/hbnetio/hbnetio.hbc + Added experimental support to request libs in dynamic (.dll) flavour. Currently this can be enabled by setting envvar: __HB_DYN__=_dll To make this work one has to build all contribs using HB_BUILD_CONTRIB_DYN=yes beforehand. 2010-07-30 21:16 UTC+0200 Viktor Szakats * include/hbextern.ch * src/rdd/usrrdd/usrrdd.c ! Fixed typo in function name: WRITEBHEADER() -> WRITEDBHEADER() Eagle-eye spotted by Marcos Gambeta. * contrib/make.hbs ! Fixed to include dependent .hbc files instead of referencing own .hbc file in HB_BUILD_CONTRIB_DYN mode. It was not good solution as it was referencing itself that way. + Will now request dynamic version of dependencies when building HB_BUILD_CONTRIB_DYN dynlibs. This is required otherwise e.g. hbxbp lib will contain a static copy of hbqt libs, which is not very good. ! Fixed to not attempt to build dynamic version of referenced projects in HB_BUILD_CONTRIB_DYN mode. * contrib/hbct/hbct.hbc * contrib/hbqt/hbqt.hbc * contrib/rddsql/rddsql.hbc * contrib/hbtip/hbtipssl.hbc * contrib/hbtip/hbtip.hbc * contrib/hbwin/hbwin.hbc * contrib/hbssl/hbssl.hbc + Experimental move to support linking dynamic version of the dependencies when building dynamic lib in HB_BUILD_CONTRIB_DYN mode. This is starting to get insanely ugly (thanks Microsoft) so I'll with it some more and probably leave it. ; I hope I didn't miss any contribs which can also be a dependency (probably I did) * contrib/pkglist * contrib/hbtip/hbtip.hbp * hbtipssl made a separate project instead of being a sub-project of hbtip. hbtipssl has different dependencies, so this move was needed for libdyn support. * INSTALL * tdragon mingw marked as non-recommended. They due to incompatible with previous release tool naming, our make systems cannot currently support it. (it needs CCPOSTFIX for windres tool when using the dwarf-2 installation) 2010-07-30 20:20 UTC+0200 Viktor Szakats * src/rdd/usrrdd/rdds/arrayrdd.prg ! Fixed typo in function name: hb_setArryRdd() Thanks to Marcos Gambeta for the find. 2010-07-30 20:17 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Will now autodetect /bin/plat/comp bin dir, if present. ! Fixed to set dynlib dir to bin dir on non-*nix platforms. As a conseqeunce bin dir will now be added to the libpath list on these platforms. Allowing to access .dlls directly in compilers that support it (mingw). ! Fixed to use HB_INSTALL_PREFIX instead of bin dir as a base to find addons/contribs dir structures (for .hbc autofind). ! Fixed to really include hbmaindllp stub added in recent commit. Anyhow, loading contrib .dlls dynamically still don't work. * contrib/make.hbs ! Fixed to honor user setting when creating dynlib in stdalone mode. * contrib/hbcomm/hbcomm.prg * space @ EOL. 2010-07-30 18:13 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added -depimplib[-] option to contrib implib creation for dependency dlls. + Added -autohbm[-] command-line-only option to disable processing of hbmk.hbm in current directory. * contrib/hbpost.hbm + Disabled implib creation for dependency dlls for HB_BUILD_CONTRIB_DYN mode. * contrib/hbgd/hbgd.hbp ! Fixed to use .lib as implib source for coff-compatible targets and mingw. ; NOTE: Successfully created a small test app which uses harbour.dll and contrib .dlls: 'contrib\hbct\tests\hbmk2 addascii.prg -lhbct_dll -shared -autohbm-' 'contrib\hbpgsql\tests\hbmk2 async.prg -lhbpgsql_dll -shared -autohbm-' (-autohbm is there only to disable hbmk.hbm processing) Quite nice, isn't it? For these examples, there are problems: 'contrib\hbblat\tests\hbmk2 blatcmd.prg -lhbblat_dll -lhbwin_dll -shared -autohbm-' It's showing application errro 0xc0000142. For this other one: 'contrib\hbgd\tests\hbmk2 barms.prg -lhbgd_dll -shared -autohbm-' It's showing this RTE: --- Error BASE/3003 Cannot find super class: __CLSINSTSUPER Called from __CLSINSTSUPER(0) Called from HBCLASS:CREATE(0) Called from TCODE(0) Called from MAIN(30) --- "Almost" there. If you have any idea why it fails, pls tell. Loading contrib pcode .dlls dynamically: --- hbmk2 testdyn.prg -shared -autohbm- DYNAMIC CHARADD PROCEDURE Main() LOCAL l := hb_libLoad( hb_libName( "hbct" ) ) IF ! Empty( l ) QOUT( CHARADD( "abc", Chr( 1 ) ) ) ENDIF RETURN --- Running it results in: --- Error BASE/1001 Undefined function: CHARADD Called from CHARADD(0) Called from MAIN(7) --- [SOLVED] 2010-07-30 16:09 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fixed RTE when using post-process command on systems without implib functionality. Recent regression. % Fixed bad performance in default -head=partial mode, which made it slower than -head=full. Now they are on par, so maybe -head=full should be made the default and partial mode deleted. ; Thanks to Przemek for bug reports. * include/hbset.h * include/hbgtcore.h * include/hbapi.h + Added some HB_EXPORT flags. 2010-07-30 14:26 UTC+0200 Viktor Szakats * src/rdd/usrrdd/usrrdd.c ! Fixed to prev since new warnings appeared after the change. Please review this. The stack API in some places expects 'int' while other calls use HB_ISIZ. In this case a value is formed from ( hb_stackTopOffset() - hb_stackBaseOffset() ), both HB_ISIZ, which is then passed to hb_stackItemFromBase(), which expects an int. What is the best way to correct this? 2010-07-30 14:18 UTC+0200 Viktor Szakats * src/rdd/usrrdd/usrrdd.c ! Fixed new msvc64 HB_ISIZ vs HB_LONG warnings popped after finishing variable cleanup in stack API. * src/rdd/dbcmd53.c ! Silenced one remaining warning (with a cast) in hbrdd lib. 2010-07-30 14:08 UTC+0200 Viktor Szakats * include/hbextern.ch + Added usrrdd functions. 2010-07-30 14:04 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fixed ${hb_workdynsub} macro not returning correct value. ! Fixed to install implibs when -instforce is used and targets are up to date. + Added -implib=<dir> option to control placement of implibs generated in -hbdyn and -hbexe modes. (by default it's the output dir for main target) + Added autodetection of hbmaindllp lib and this case generate little stub posted by Przemek on the list earlier this year, and in this case also enabling linkage of shared Harbour lib in -shared mode. NOTE: Pls check this, this solution is Windows centric, but until I know this is the correct track I didn't want to extend it. Przemek can you take a look at it? * Changed the install group name to "depimplib" for implibs generated for dependencies, and use "implib" group for implibs generated for our own targets. This is needed to be able to control them separately, since we don't necessarily want to install "depimplib" while we always want to install "implib"s. * contrib/make.hbs * contrib/hbpost.hbm * Updated list of TODOs * HB_BUILD_CONTRIB_DLL changed to HB_BUILD_CONTRIB_DYN + HB_BUILD_CONTRIB_DYN now works also in stdalone mode. % Moved HB_BUILD_CONTRIB_DYN related options to hbpost.hbm + Added -shared and -lmaindllp options to dynamic lib build mode. * Changed dependency implib install target to have 'depimplib' prefix to differenciate from -hbdyn implib install target. + Added -implib=<dir> option to tell hbmk2 to create implibs in lib dir in -hbdyn mode. + Added install target for implibs generated in -hbdyn mode. ; All this means that now by setting HB_BUILD_CONTRIB_DYN=yes, a dynamic version will be build of the libs, import lib placed in lib dir, dynamic lib placed into dynamic lib dir (bin on non-*nix platforms, lib on *nix platforms). IOW, now HB_BUILD_CONTRIB_DYN=yes should work, at least on win and wce. I didn't make functional tests though. Please review/test it. 2010-07-30 13:38 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rdd/workarea.c * harbour/src/rdd/wacore.c * harbour/src/rdd/dbcmd.c * harbour/src/rdd/dbf1.c * harbour/src/rdd/dbcmd53.c * harbour/src/rdd/usrrdd/usrrdd.c * harbour/src/rdd/wafunc.c * harbour/src/rdd/hbsix/sxcompr.c * casting and type modifications to eliminate possible lost data warnings 2010-07-30 10:43 UTC+0200 Viktor Szakats + contrib/hbmisc/bbabble.c + contrib/hbmisc/tests/testbbab.prg * contrib/hbmisc/hbmisc.hbp + BubbleBabbleEncode(): Added BubbleBabble encoder. There is also an equivalent version written in Harbour in testbbab.prg. 2010-07-30 09:55 UTC+0200 Viktor Szakats * include/hbsocket.h * src/rtl/hbsocket.c ! Fixed type in C level function name. * src/rtl/hbdoc.prg ! Fixed to always use CRLF as EOL in internal doc data. * contrib/hbtip/utils.c ! HB_BASE64() marked as HB_LEGACY_LEVEL3. + Added TIP_CRLF() * contrib/hbtip/smtpcli.prg * contrib/hbtip/client.prg * contrib/hbtip/ftpcli.prg * contrib/hbtip/mail.prg * Using TIP_CRLF() instead of HB_INETCRLF(). * config/postinst.hbs + More meaningful message when doing 'make install' without HB_INSTALL_PREFIX being set. * contrib/hbpost.hbm + Added extra protection to not try to install anything when using 'install' without target dir being specified. * INSTALL * Updated to reflect the optional nature of make 'install' option. * Updated to reflect change in HB_INSTALL_PREFIX. * {hb_top} HB_INSTALL_PREFIX macro not documented anymore. 2010-07-29 18:47 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/doc/en/class_hbqplaintextedit.txt * contrib/hbqt/hbqt_hbqplaintextedit.cpp * contrib/hbqt/hbqt_hbqplaintextedit.h * contrib/hbqt/qtgui/HBQPlainTextEdit.cpp * contrib/hbqt/qtgui/THBQPlainTextEdit.prg * contrib/hbqt/qth/HBQPlainTextEdit.qth + Added: methods to control code completions and completion tips. + contrib/hbide/resources/help1.png + contrib/hbide/resources/infotips.png * contrib/hbide/hbide.qrc + Added: two more images foe code completions and completion tips. * contrib/hbide/idedocks.prg * contrib/hbide/ideedit.prg * contrib/hbide/ideeditor.prg + Added: controls to toggle code completions and completion tips. The settings are not saved for the next run and are applicable per editing instance. 2010-07-29 15:49 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/hbide.prg ! Minor. * contrib/hbide/idethemes.prg + Added: "PROCEDURE" and "THREAD" as Harbour keywords, got missed somehow. * contrib/hbide/ideedit.prg * contrib/hbide/ideskeletons.prg + Implemented: Code Snippets->execution->Ctrl+K : inserts the snippet if word under cursor is one of the name of a code snippet definition. So, if you have a snippet named "doit" then immediately after typeing "doit" you press Ctrl_K, then, instead of presenting you with menu to select a snippet, it is executed automatically. 2010-07-30 00:13 UTC+0200 Viktor Szakats * config/postinst.hbs ! Missed one modification from prev. 2010-07-30 00:08 UTC+0200 Viktor Szakats * debian/dirs ! Deleted doc/en dir. * doc/Makefile - doc/whatsnew.txt + NEWS * COPYING * doc/howtorel.txt * debian/changelog * package/mpkg_win.nsi * package/winuni/mpkg_win_uni.bat * package/winuni/mpkg_win_uni.nsi * Renamed doc/whatsnew.txt to /NEWS * debian/copyright * Updated with COPYING content. * package/harbour.spec ! Fixed to include doc/* instead of doc/*.txt. * utils/hbrun/hbrun.prg - Deleted envvar method of passing dirbase to scripts. * contrib/make.hbs + Using HBRUN_DIRBASE() function instead of envvar trick. Maybe some more generic named value passing would be better. * contrib/Makefile ! Using '-' prefix when running hbrun instead of '+', to not cause fatal breakage in build stage if make.hbs contains something which previous build of hbrun didn't offer. * config/global.mk - HB_INSTALL_PREFIX will not default anymore to source root dir (on non-*nix systems) to avoid FAQ where installation fails because of former install into source root, causing old contrib headers to ovveride current ones and breaking build. Please note that 'install' is truly optional with current builds, so only use it for what it was designed. Pls should if some things fail with empty HB_INSTALL_PREFIX and requesting 'install' anyway. * contrib/xhb/xhbat.c ! Applied this fix to Harbour: 2010-07-29 12:28 UTC-0430 Ron Pinkas <ron.pinkas/at/xharbour.com> * source/rtl/at.c + Added missing extended strings support, to hb_AtSkipStrings() 2010-07-29 19:37 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/contrib/rddads/adsx.c ! fixed RDDNAME() value by implementing newarea RDD method + ADSVFPX RDD * harbour/contrib/rddads/rddads.hbp ! fixed ACE library name for linux 2010-07-29 17:31 UTC+0200 Viktor Szakats * utils/hbrun/hbrun.prg * utils/hbrun/hbrun.hbp * utils/hbrun/Makefile - Deleted "burn-in" trick to tell hbrun where to find the Harbour include dirs. We need to find something universally useful (portable). 2010-07-29 15:46 UTC+0200 Viktor Szakats - mpkg_rpm.sh - mpkg_rpm_wce.sh - mpkg_rpm_win.sh - mpkg_src.sh + package/mpkg_rpm.sh + package/mpkg_rpm_wce.sh + package/mpkg_rpm_win.sh + package/mpkg_src.sh * INSTALL * Moved rpm package creator scripts to package dir. * Update INSTALL accordingly. ; Please test/review it. 2010-07-29 15:30 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/compiler/gencc.c ! fixed wrongly used HB_ISIZ instead of HB_LONG * harbour/package/harbour.spec ! fixed /etc/ld.so.conf.d detection % minor improvement ; FIXME: * /etc/ld.so.conf.d/harbour.conf in final RPM contains wrong path due to missing HB_INSTALL_PREFIX * soft links to harbour shared libraries for systems without /etc/ld.so.conf.d are missing * soft links with short shared libraries names are missing and current long names do not confirm standard Linux shared library naming convention: <name>.so[.<maj>[.<min>[.<rel>]]] hbmk2 also uses short names so it does not work correctly with binaries installed from the RPMs 2010-07-29 14:38 UTC+0200 Viktor Szakats * package/harbour-win.spec * package/harbour-wce.spec * config/global.mk * INSTALL * Renamed HB_BIN_COMPILE to HB_HOST_BIN (old pending TODO) * tests/flink.prg + Added comment. + Added example to dir symlink. * contrib/hbpre.hbm + Added comments. * config/beos/gcc.mk * config/global.mk * config/qnx/gcc.mk * config/bsd/gcc.mk * config/bsd/clang.mk * config/bsd/pcc.mk * config/wce/mingwarm.mk * config/wce/poccarm.mk * config/wce/msvcarm.mk * config/vxworks/gcc.mk * config/vxworks/diab.mk * config/darwin/gcc.mk * config/darwin/icc.mk * config/darwin/clang.mk * config/hpux/gcc.mk * config/dos/watcom.mk * config/dos/djgpp.mk * config/c.mk * config/win/xcc.mk * config/win/mingw.mk * config/win/pocc.mk * config/win/bcc.mk * config/win/watcom.mk * config/win/icc.mk * config/win/cygwin.mk * config/win/msvc.mk * config/linux/watcom.mk * config/linux/gcc.mk * config/linux/icc.mk * config/linux/clang.mk * config/linux/sunpro.mk * config/rules.mk * config/os2/watcom.mk * config/os2/gcc.mk * config/sunos/gcc.mk * config/sunos/sunpro.mk * Renamed HB_INC_COMPILE to HB_HOST_INC (it's still not precise name, just in sync with HB_HOST_BIN. In Harbour there is no difference between headers accross the platforms, so they could just be called something more neutral. If you have an idea, pls speak up.) 2010-07-29 14:12 UTC+0200 Viktor Szakats * src/rtl/hbsocket.c ! hb_socketBind((): Deleted hb_socketSetReuseAddr() call, which caused that the same addr:port could be opened multiple times on Windows (tested on 7) systems, causing uncertain behavior. This is documented MS (mis?)feature. 2010-07-29 13:54 UTC+0200 Viktor Szakats * debian/rules * src/pp/Makefile * src/dynlib/mt/Makefile * src/dynlib/Makefile * package/harbour-win.spec * package/harbour-wce.spec * package/harbour.spec * contrib/make.hbs * utils/hbmk2/hbmk2.1 * utils/hbmk2/hbmk2.prg * utils/hbrun/hbrun.prg * utils/hbrun/hbrun.hbp * utils/hbrun/Makefile * doc/gmake.txt * config/postinst.hbs * config/global.mk * config/lib.mk * config/bin.mk * config/header.mk * config/dyn.mk * config/doc.mk * INSTALL * Renamed install dir control envvars to be in the same "namespace": (INCOMPATIBLE if you used to manually configure these, anyhow it's not recommended to set these manually, so better to not set them again.) HB_BIN_INSTALL -> HB_INSTALL_BIN HB_LIB_INSTALL -> HB_INSTALL_LIB HB_DYN_INSTALL -> HB_INSTALL_DYN HB_INC_INSTALL -> HB_INSTALL_INC HB_DOC_INSTALL -> HB_INSTALL_DOC HB_MAN_INSTALL -> HB_INSTALL_MAN HB_ETC_INSTALL -> HB_INSTALL_ETC * contrib/hbide/idemisc.prg - Deleted unused code. 2010-07-29 13:12 UTC+0200 Viktor Szakats * utils/hbrun/hbrun.prg + Added public function HBRUN_DIRBASE() which returns the same value as envvar __HBRUN__DIRBASE, but this one looks a superior interface between scripts and runner environment. Pls comment. * contrib/make.hbs * contrib/hbpost.hbm * Updated TODO list. * Renamed internal _HB_*_INSTALL vars to _HB_INSTALL_* ; TODO: Do the same in Harbour with HB_*_INSTALL envvars. [DONE] 2010-07-29 12:52 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Changed pkg-config based dependency detection to only consider a given component present, if there is -I option present among the returned options. This should fix false positive cups detection, though I've yet to try it. Maybe it'd be even better to make detection even more robust by checking for the key header on the found headers paths when using pkg-config based detection. 2010-07-29 10:44 UTC+0200 Viktor Szakats * utils/hbrun/hbrun.prg + Making available original hbrun location using __HBRUN__DIRBASE envvar. This information is lost when doing the argshift trick, pls shout if you see a better solution for it (or any concerns with this one). * contrib/make.hbs + Will now use unified method for both stdalone and GNU Make to find out the location of hbmk2. It will look for it in the same dir as of hbrun's. * config/postinst.hbs * Converting bash to .prg in progress. * INSTALL + Documented Mac OS X architecture flags. 2010-07-29 00:36 UTC+0200 Viktor Szakats * src/rtl/Makefile * include/hbapifs.h * include/hbextern.ch + src/rtl/fslink.c + tests/flink.prg + Added new C level functions to create file links: HB_BOOL hb_fsLink( const char * pszExisting, const char * pszNewFile ); HB_BOOL hb_fsLinkSym( const char * pszTarget, const char * pszNewFile ); + Added new Harbour level functions to create file links: HB_FLINK( <cExistingFileName>, <cNewFileName> ) -> <nSuccess> HB_FLINKSYM( <cTargetFileName>, <cNewFileName> ) -> <nSuccess> ; They work on POSIX and Windows Vista/7 systems. * src/rtl/fserr.c + Mapped Windows error ERROR_PRIVILEGE_NOT_HELD to DOS error 5. 2010-07-28 23:08 UTC+0200 Viktor Szakats * external/sqlite3/sqlite3.c * external/sqlite3/sqlite3.dif ! Fix for OS/2. "already reported upstream" Patch by Tamas Tevesz. Thanks a lot. 2010-07-28 22:38 UTC+0200 Viktor Szakats * package/harbour-win.spec * package/harbour-wce.spec * package/harbour.spec - Deleted package properties not recommended by RPM docs. + Added RPM doc references. - Deleted commented lines. % Optimized out seemingly unused temp envvars. (I didn't retest) * package/winuni/mpkg_win_uni.nsi + Added bin/*.hbs files. * config/postinst.hbs - Deleted mandrake distro autodetection. * contrib/hbide/idestylesheets.prg + Disabled all UI customizations when "animations" is not enabled. This makes the UI to look like on normal system UI on all supported OSes (IOW it now looks like a standard application), it fixes most reported visual irreguralitites on Linux. Maybe multiple levels of UI customizations are required, anyway totally off should always stay an option and only those configs should be presented on a given platform which were actually tested on that given platform. It didn't fix the bugs in highlight position calculation, which is off on Linux (latest Ubuntu) by almost a line in some occasions. 2010-07-28 19:16 UTC+0200 Viktor Szakats * package/harbour.spec ! Deleted hbbz2 from lib list. It was not added to contrib list. ; FIXME: This separately maintained contrib (and target lib) list should be somehow avoided. It's a permanent maintainence problem. Is there a way to automatically include all files in a given directory when creating rpms? ! Added hbminizip lib to lib list. ! Deleted one of the double hbmzip libs from lib listing. ! Added .hbl and .hbs files in bin dir. 2010-07-28 18:30 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added -instforce option which will force the target to be copied to -instpath even if it was up to date. This is to make it in sync with GNU Make behaviour, where single 'make install' will copy everything regardless of being up to date or not. * contrib/hbpost.hbm + Added -instforce to make it in sync with old GNU Make behavior. Such case is exploited by .rpm generation, and this is the reason why the contrib libs weren't appearing in target lib dir. * config/postinst.hbs + Added two .so related FIXMEs. * mpkg_src.sh + Changed to always delete temp file bin/hb_flst.tmp containing a list of all source files. (anyone knows why was it left there?) 2010-07-28 17:40 UTC+0200 Viktor Szakats * package/harbour.spec * Minor in comment. * Temply commented adding .so files in the lib/ root (without harbour postfix) * contrib/make.hbs * contrib/hbpost.hbm + Added support for HB_MAN_INSTALL, HB_ETC_INSTALL. * utils/hbmk2/hbmk2.prg + Enabled multi-input compilation for *nix gcc family. This means that all C source files will be now compiled in one gcc invokation, instead of compiling them one by one. % PATHNORMALIZE(): delete unused function. % ISDRIVESPEC() converted to macro _ISDRIVESPEC(). * config/postinst.hbs + Added code to create ld config file. + Added commented original bash code to create .so links which I cannot understand. Anyone to jump in? + Added PathNormalize() function from hbmk2. + Changed back DirBuild() to always normalize path before creating it (to filter out potential ".." and "." dirs from it). Required for ld creation. * config/global.mk * HB_ETC_INSTALL is now format equally on all *nix platforms to have a 'harbour' subdir. Required to work well with ld creation logic in postinst.hbs. 2010-07-28 08:29 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbxbp/xbplistbox.prg + Added: method :setVisible(). * contrib/hbide/ideedit.prg * contrib/hbide/hbide.prg + Implemented: "Functions List" now supports "Sorted" and "Natural Order" display which is switchable via right-click context menu. * contrib/hbide/idedocks.prg % Fixed: a rare bug where if hbIDE is minimized by any other action than clicking on the "Minimize" title-bar icon on the right, on restoration it was producing RTE. * contrib/hbide/idesaveload.prg + Added: ::aDictionaries instance variable. Futuristic implementation. 2010-07-28 14:04 UTC+0200 Viktor Szakats * config/postinst.hbs ! Synced mandriva linux distro abbrev with rpm .spec files. 2010-07-28 13:59 UTC+0200 Viktor Szakats * mpkg_rpm.sh - Deleted conectiva specific branch which apparently was never run. * package/harbour-win.spec * package/harbour-wce.spec * package/harbour.spec - Deleted CC_HB_USER_PRGFLAGS. - Deleted conectiva and aurox (discontinued) distro detection. ! Fixed to delete libbz2.a (I hope it's right) - Deleted logic installing man and .def files. Now it's done by postinst.hbs. ! Fixed HB_MAN_INSTALL definition not being included before build. 2010-07-28 13:41 UTC+0200 Viktor Szakats * mpkg_rpm.sh ! Fixed very old typo in two cp commands which now got activated. 2010-07-28 13:04 UTC+0200 Viktor Szakats * contrib/hbpre.hbm + Enabled -trace for contribs by default (HB_BUILD_VERBOSE=no will disable it for now), to better resemble core build process. 2010-07-28 12:56 UTC+0200 Viktor Szakats * contrib/make.hbs % Cleaned away test/migration modes. * One STATIC var changed to local. * contrib/hbpre.hbm + It's now possible to get all hbmk2 output along the Harbour build process by setting HB_BUILD_VERBOSE=yes. * examples/hbdoc2/gentpl.prg * examples/hbdoc2/genhtml.prg * examples/hbdoc2/hbdoc2.prg % Optimized out another pathsep holder variable. 2010-07-28 12:45 UTC+0200 Viktor Szakats * mpkg_rpm.sh * Another shot in the dark. - contrib/hbdoc2 + examples/hbdoc2 * Moved back to examples. ; TODO: Should be updated to use core API to load docs and to generate output from the internal doc hashes. 2010-07-28 11:06 UTC+0200 Viktor Szakats * mpkg_rpm.sh ! Fix to always copy harbour.spec to SPECS dir. Shot in the dark. * package/harbour-win.spec * package/harbour-wce.spec * package/harbour.spec - Deleted RPM specific readme. Similar information is now found in INSTALL. * contrib/hbwin/win_regc.c ! WIN_REGQUERYVALUEEX(): Fixed to check return value of subsequent internal RegQueryValueEx() calls. Return NIL if failed. (value length will still be reported as received back from first RegQueryValueEx() call) * contrib/hbide/hbide.hbp ! Fixed QT .dll copying options. Commented the whole thing. 2010-07-28 01:23 UTC+0200 Viktor Szakats * contrib/make.hbs + Added support for 'clean all' build mode. This is the only way to clean and rebuild in one pass if someone doesn't want to install at the same time. ! Fixed to add -inc option in clean sessions. * contrib/hbide/ideactions.prg ! Fixed menu item text to not contain '&' mark. It's converted to underscore on Linux. 2010-07-28 00:16 UTC+0200 Viktor Szakats * config/postinst.hbs + Will now install root documents (INSTALL, COPYING, TODO, ChangeLog) to HB_DOC_INSTALL on *nix systems. + Will now create the HB_MAN_INSTALL dir before copying. * debian/rules + Sets HB_MAN_INSTALL. + Sets HB_BUILD_SHARED=yes. % Deleted explicit reference to man files and ChangeLog, these are now installed by postinst.hbs and picked automatically by debhelper. This means that now debian/rules doesn't have to be tweaked if any Harbour files change name or location. 2010-07-27 23:52 UTC+0200 Viktor Szakats - package/debian + debian * INSTALL * Moved back to root. Seems like this MUST be in root and there is no way to tell debhelper tools otherwise. * debian/rules % Deleted unnecessary stuff. Pls review me. * config/global.mk ! Minor in comments. 2010-07-27 22:40 UTC+0200 Viktor Szakats * config/postinst.hbs + Added more feedback. * Internal cleanups. + Changed to always copy to etc if there is target dir defined. ! Fixed typo in man copying. * config/global.mk + Added logic to setup dirs for *nix package creation. Fixing .tgz creation to work like before. * Changed to only set HB_MAN_INSTALL if installing to sysloc. * utils/hbmk2/hbmk2.prg * config/postinst.hbs ! Fixed DirBuild() function when crearing absolute paths without a drive letter. It created dir in current dir on non-*nix and didn't do anything while returning success on *nix. ; Now mpkg_tgz.sh replacement is about finished. It's pbly not 100% the same still, so pls review it. 2010-07-27 19:04 UTC+0200 Viktor Szakats * config/postinst.hbs ! Fixed missing EOLs in embedded install bash script. + Added Przemek copyright for embedded install bash script. ! Minor fix to uname based *nix system name detection. 2010-07-27 18:42 UTC+0200 Viktor Szakats * src/pp/ppcore.c ! Fixed missing const when compiled with HB_PP_STRICT_LINEINFO_TOKEN option. Reported by Frank van Nuffel. 2010-07-27 18:07 UTC+0200 Viktor Szakats * config/postinst.hbs ! Fixed to tar creation. 2010-07-27 16:29 UTC+0200 Viktor Szakats * config/postinst.hbs ! Typo in tar detection. 2010-07-27 15:32 UTC+0200 Viktor Szakats * utils/hbrun/hbrun.prg ! Typo in prev. 2010-07-27 15:30 UTC+0200 Viktor Szakats * config/postinst.hbs ! Fixed to copy bin/*.hbs files also on *nix systems. 2010-07-27 15:25 UTC+0200 Viktor Szakats * mpkg_rpm.sh * mpkg_rpm_wce.sh * mpkg_rpm_win.sh - harbour.spec - harbour-wce.spec - harbour-win.spec + package/harbour.spec + package/harbour-wce.spec + package/harbour-win.spec * .spec files moved inside package dir. * INSTALL ! Correction to tgz creation command. 2010-07-27 13:32 UTC+0200 Viktor Szakats - contrib/hbqt/qtgui/filelist.mk - Deleted no more used make file. 2010-07-27 12:54 UTC+0200 Viktor Szakats * mpkg_rpm_wce.sh * mpkg_rpm_win.sh * mpkg_src.sh - bin/hb-func.sh + package/mpkg_ver.sh - Deleted unused function from hb-func.sh * Moved and renamed hb-func.sh * config/postinst.hbs - bin/hbmk_l2d.hbs + bin/hbmk2l2d.hbs * Renamed. - mpkg_nightly.sh + package/mpkg_nightly.sh * Moved to package dir. 2010-07-27 12:44 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added new plugin APIs: - hbmk2_AddInput_OBJ() - hbmk2_PathFromWorkdirToCWD() - hbmk2_CWD() + Changed to not abort processing if there are no input files, but there are custom plugin input parameter. + bin/hbmk_l2d.hbs + Added rough plugin to convert static libs to dynamic libs on platforms supporting 'ar' tool (and of course the notion of such conversion). This is meant to replace functionality provided by bash script hb-mkdyn.sh. Pls find command-line example in the script header. * config/postinst.hbs + Now installs hbmk_l2d.hbs - bin/hb-mkdyn.sh - Deleted hb-mkdyn speciality shell tool to convert static libs to dynamic ones. - bin/postinst.sh - Deleted, it only started hb-mkdyn.sh, which was just deleted. * Makefile - Do not run postinst.sh anymore. 2010-07-27 11:26 UTC+0200 Viktor Szakats - debian + package/debian * INSTALL * Moved debian package creation stuff from root to package dir. 2010-07-27 11:23 UTC+0200 Viktor Szakats * mpkg_rpm_win.sh - harbour-win-spec + harbour-win.spec * mpkg_rpm_wce.sh - harbour-wce-spec + harbour-wce.spec * Renamed to have standard extension. * config/postinst.hbs - Deleted detection for no longer existing Linux distros. 2010-07-27 11:06 UTC+0200 Viktor Szakats * external/sqlite3/sqlite3.c * external/sqlite3/sqlite3.dif * external/sqlite3/sqlite3.h * external/sqlite3/Makefile + Upgraded to 3.7.0 (from 3.6.23.1) It was a manual update because hbxpatch created a dif with the whole content due to fact that the original zip download has LF EOLs while the one in my local (Windows) sandbox has CRLF. * config/common/watcom.mk ! Fixed regression after (adding .exe extension to win/watcom $(CC)): 2010-07-21 10:14 UTC+0200 - mpkg_rpm_from_svn.sh - Deleted. 2010-07-27 00:58 UTC+0200 Viktor Szakats * contrib/make.hbs + Added new TODO. * contrib/hbblat/hbblat.hbc * contrib/gtwvg/gtwvg.hbc * contrib/rddads/rddads.hbc * contrib/hbfimage/hbfimage.hbc * contrib/hbwin/hbwin.hbc * contrib/hbssl/hbssl.hbc * Updated skip= commands according to recent hbmk2 changes, to avoid displaying 'yes' when the lib is unsupported. 2010-07-26 15:40 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/hbide.prg * contrib/hbide/idebrowse.prg * contrib/hbide/ideedit.prg % Fixed: a bug in code completion flush in FIELD-> and ALIAS-> section. 2010-07-26 14:57 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbxbp/xbpmenubar.prg % Fixed: a nasty bug. 2010-07-26 23:17 UTC+0200 Viktor Szakats * config/postinst.hbs ! Typo fixed. 2010-07-26 22:34 UTC+0200 Viktor Szakats - mpkg_deb.sh - Deleted wrapper script. Pls use the method documented in INSTALL to build .deb files. * utils/hbmk2/hbmk2.prg * Minor change in output for better clarity. 2010-07-26 21:17 UTC+0200 Viktor Szakats * bin/hb-func.sh - Deleted one more now unused function. * config/postinst.hbs ! Fix to prev. 2010-07-26 20:43 UTC+0200 Viktor Szakats * debian/rules * harbour.spec * config/instsh.mk * Do not use HB_INST_PKGPREF. * harbour.spec + Use HB_MAN_INSTALL * config/global.mk + Added HB_MAN_INSTALL and HB_ETC_INSTALL + PKG_NAME is now filled in little bit different way for *nix systems to emulate old mpkg_tgz.sh logic. * bin/postinst.sh - Deleted no more used subroutines. - Deleted mk_hblibso() function. - it maintained loca list of contribs which breaks the effort of contrib "plug-in" system - it contained lots of platform dependent build details in hard to maintain bash shell code. ; If someone needs this functionality pls try to integrate it in hbmk2 or write a .hbs script in modular fashion (not contrib names). I cannot tell what exactly was the functionality implemented there though. Maybe rewriting it locally is also an option. ! Do not use HB_INST_PKGPREF. * config/postinst.hbs + Rewritten mpkg_tgz.sh logic in .prg code. This logic is finally in its proper place. + Implemented copying of man files on *nix systems. ; NOTE: Not tested at all, it was hard enough to rewrite it, pls help on finishing and debugging it. See TODOs in source. Previous replicated with some differences. - mpkg_tgz.sh - Deleted. Now implemented in postinst.sh. Build Harbour with HB_BUILD_PKG=yes to try it. * INSTALL + Added HB_MAN_INSTALL and HB_ETC_INSTALL + Updated .tgz binary instructions (now same on all platforms) * utils/hbrun/hbrun.prg * utils/hbrun/hbrun.hbp * utils/hbrun/Makefile * Renamed include dir control var. * Change so that now simple HB_INC_INSTALL value will trigger burn-in of header location. + Added logic to only use burnt-in header location if it is an absolute path. ! Synced .hbp file with this feature. ; NOTE: This is still non-portable and error prone solution. Pls see my thought on dev list about possible solutions to use precompiled Harbour headers compiled right into the executable. 2010-07-26 15:08 UTC+0200 Viktor Szakats * src/rtl/fscopy.c ! Fixed to properly set FERROR() values. * contrib/hbnetio/utils/netiosrv.prg ! Do not pass the password by reference. 2010-07-26 12:34 UTC+0200 Viktor Szakats * contrib/hbqt/tests/wvtqt.hbp * contrib/hbxbp/tests/wvtqt.hbp ! Added missing SVN header. % Cleanup. * INSTALL * contrib/hbpost.hbm * config/global.mk * Changed HB_BUILD_IMPLIB to HB_INSTALL_IMPLIB to reflect new meaning after recent changes. With new build system the implibs are always created in lib working dir, and this setting only controls whether to copy it to final install directory. The default is still 'no'. Setting it to yes is only recommended if the installation will be used in local environment (3rd party .dlls) only. IOW never set this to yes when creating a build for other users (e.g. for distribution). INCOMPATIBLE if you used this setting, pls change it now. * INSTALL + Documented HB_STATIC_* options. * contrib/make.hbs * Updated TODO list. * src/debug/debugger.prg * src/rtl/dirscan.prg * tests/wcecon.prg * contrib/xhb/traceprg.prg * contrib/hbqt/tests/wvtqt.hbp * contrib/hbqt/generator2/hbqtgen2.prg * contrib/hbxbp/tests/demoxbp.prg * contrib/hbxbp/tests/dialogqt.prg * contrib/hbxbp/tests/wvtqt.hbp * contrib/hbhpdf/tests/harupdf.prg * contrib/gtwvg/tests/wvgtbrowser.prg * contrib/gtwvg/tests/wvgwvtclasses.prg * contrib/hbtip/tests/dbtohtml.prg * contrib/hbtip/mail.prg * contrib/hbide/idemisc.prg * contrib/hbide/ideactions.prg * contrib/hbide/idetools.prg * contrib/hbide/idesources.prg * contrib/hbide/hbide.prg * examples/uhttpd2/umain.prg * examples/hbvpdf/tests/pdf_demo.prg * examples/httpsrv/uhttpd.prg * examples/httpsrv/cgifunc.prg * examples/httpsrv/modules/tableservletdb.prg * examples/httpsrv/session.prg * HB_OSPATHSEPARATOR() -> HB_PS() % Delete temp vars along the way. * utils/hbmk2/hbmk2.prg + Generalized internals for support for older Harbour and xhb versions. + Added -hb20 option. (thanks for asking for it so nicely ;) 2010-07-25 17:47 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/tests/dialogqt.prg % Some refinement. + contrib/hbxbp/tests/dialogqt.prg + contrib/hbxbp/tests/wvtqt.hbp + contrib/hbxbp/tests/wvtqt.prg + Presented: how a Windows console application can make use of powerful Qt capabilities. The key lies in the MT mode. NOTE: follow previous log entry for details. 2010-07-25 16:13 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) + contrib/hbqt/tests/dialogqt.prg + contrib/hbqt/tests/wvtqt.hbp + contrib/hbqt/tests/wvtqt.prg + Presented: how a Windows console application can make use of powerful Qt capabilities. The key lies in the MT mode. 1. Issue hbmk2 wvtqt.hbp -run 2. Press F12 to open Qt dialog. It is the same as in demoqt.prg. 3. Navigate in the Qt and console window at will. 4. Remaining in console, press F12 again, another dialog will open. 5. To go further, in any Qt dialog, point to <Dialog> menu option and click on "Another dialog". 6. Navigate among windows. 7. Close any Qt window. I mean play with the opened windows. This opens up yet another vast space for Harbour developer. NEXT: in the process to present same functionality with hbXBP also. 2010-07-25 14:42 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/hbqt_hbqplaintextedit.cpp * contrib/hbqt/hbqt_hbqplaintextedit.h + Added: more class methods. * contrib/hbide/ideedit.prg % Refined: alias->fieldsList protocol. + Implemented: abbreviated code completion usage. Here is how it works: 1. Create {hbide_resources_path}/hbide_protos_shorthand.txt 2. Include entries ( one for every separate line ) similar to: zSDB- SET DATE BRITISH zSAT- SET ALTERNATE TO "myfile" zCmdD- DEFINE WINDOW oWnd BLAH-BLAH-BLAH 3. Execute hbIDE. Remember that any file prefixed as "hbide_protos_" will be populated in the code completion lists. 4. In some editing instance, type "z" and you will see above entries inside completion popup. 5. As usual, select one, say zSAT, and you will see 'SET ALTERNATE TO "myfile"' inserted removing keyword characters. NOTE: shorthand keyword is case insensitive. So you can use this feature to the best of visualization. Keywords demonstrated as above are prefixed with "z", just because all shorthand(S) will be clubbed together, but you may use any characters you like. Keyword must ever be followed by "-" (hyphen) character without any spaces in between. This tells hbIDE that it is a shorthand word. Anyhow you can format the value as you like best. On basis of above theory, we can implement more constructs. I am looking forward what else you preceive which can be done. 2010-07-25 17:42 UTC+0200 Viktor Szakats * ChangeLog ! Fixed missing changelog entry for hbmk2.prg. See it right below. 2010-07-25 10:41 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg * Changed to fix bcc installations (.cfg files) even if the .cfg files do exist (so far hbmk2 was only doing this configuration, if bcc was not configured at all). This makes it in sync with Harbour GNU Make logic. This issue seems to be a neverending problem with (for) bcc users. Pls note that Harbour will do a minimal bcc configuration only, to make it possible to create Harbour apps. If hbmk2 is used to create other bcc apps, users will pbly have to configure bcc properly, in accordance with its own readme/install docs. * contrib/xhb/hbcompat.ch + Added xhb translations for hb_eol() and hb_ps(). * contrib/make.hbs - Deleted SetCancel(). * src/debug/tbrwtext.prg * src/debug/debugger.prg * src/rtl/errsys.prg * src/rtl/profiler.prg * src/rtl/hbini.prg * src/rtl/treport.prg * src/rtl/tpersist.prg * src/rtl/hbi18n2.prg * src/rtl/ttextlin.prg * src/rtl/teditor.prg * src/rdd/usrrdd/rdds/logrdd.prg * tests/hbpptest/hbpptest.prg * tests/longstr2.prg * tests/cdow.prg * tests/output.prg * tests/dirtest.prg * tests/tstdbi.prg * tests/speedold.prg * tests/dates3.prg * tests/set_test.prg * tests/rto_get.prg * tests/cpinfo.prg * tests/speedtst.prg * tests/dates.prg * tests/set_num.prg * tests/rto_tb.prg * tests/testhtml.prg * tests/round.prg * tests/dates2.prg * tests/dates4.prg * tests/version.prg * tests/seconds.prg * tests/gtkeys.prg * tests/adirtest.prg * include/simpleio.ch * include/assert.ch * contrib/hbct/tests/tab.prg * contrib/hbct/tests/expomant.prg * contrib/xhb/traceprg.prg * contrib/xhb/hblog.prg * contrib/xhb/dumpvar.prg * contrib/xhb/dbgfx.prg * contrib/xhb/xhberr.prg * contrib/xhb/cstruct.prg * contrib/hbqt/generator/hbqtgen.prg * contrib/hbqt/hbqt_errorsys.prg * contrib/hbqt/generator2/hbqtgen2.prg * contrib/hbxpp/hbxpp.ch * contrib/hbnetio/utils/netiosrv.prg * contrib/hbnetio/utils/rpcdemo.hbs * contrib/hbnetio/utils/netiocmd.prg * contrib/hbpgsql/tests/dbf2pg.prg * contrib/hbmisc/tests/readfile.prg * contrib/hbmisc/tests/testhbf.prg * contrib/hbtip/thtml.prg * contrib/hbtip/client.prg * contrib/hbwin/tests/testsim.prg * contrib/hbwin/tests/testole.prg * contrib/hbwin/tests/testsvc.prg * contrib/hbssl/tests/bio.prg * contrib/hbssl/tests/pem.prg * contrib/hbide/ideedit.prg * contrib/hbide/idemisc.prg * contrib/hbide/idethemes.prg * contrib/hbide/idesaveload.prg * contrib/hbide/idedocwriter.prg * contrib/hbide/hbide.ch * contrib/hbide/ideprojmanager.prg * contrib/hbide/idehome.prg * contrib/hbide/ideshortcuts.prg * utils/hbformat/hbformat.prg * utils/hbi18n/hbi18n.prg * utils/hbtest/hbtest.prg * examples/hbextern/hbextern.prg * examples/uhttpd2/umain.prg * examples/guestbk/inifiles.prg * examples/guestbk/testcgi.prg * examples/httpsrv/uhttpd.prg * examples/hscript/hscript.prg * hb_osnewline() -> hb_eol() (deleting temp variables and temp pp macros used in the past to workaround the long typing of the old function name) * Some formatting along the way in tests dir. * src/rtl/errsys.prg - Deleted usage of ISNIL(). It's a quite pointless macro. * src/rtl/errsys.prg * src/rtl/listbox.prg * src/rtl/profiler.prg * src/rtl/treport.prg * src/rtl/tpersist.prg * src/rtl/tgetlist.prg * src/rtl/teditor.prg % DO CASE -> SWITCH * src/rtl/alert.prg * Replaced DEFAULT TO with simple NIL check. * src/compiler/gencc.c * Formatting of generated code. * contrib/hbide/ideedit.prg * contrib/hbide/idemisc.prg * contrib/hbide/idethemes.prg * contrib/hbide/idesaveload.prg * contrib/hbide/idedocwriter.prg * contrib/hbide/hbide.ch * contrib/hbide/ideprojmanager.prg * contrib/hbide/idehome.prg * contrib/hbide/ideshortcuts.prg * hb_osPathSeparator() (and static variable) -> hb_ps() 2010-07-24 18:27 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qth/HBQPlainTextEdit.qth * contrib/hbqt/qtgui/THBQPlainTextEdit.prg * contrib/hbqt/qtgui/HBQPlainTextEdit.cpp * contrib/hbqt/doc/en/class_hbqplaintextedit.txt * contrib/hbqt/hbqt_hbqplaintextedit.cpp * contrib/hbqt/hbqt_hbqplaintextedit.h + Added: one more method call. * contrib/hbide/idebrowse.prg * contrib/hbide/ideedit.prg * contrib/hbide/ideeditor.prg + Implemented: <intellisense><code completion> for FIELD-> and someAlias-> table fields for tables opened in ideDBU. How it Works: 1. Open few tables in ideDBU. 2. In some editor instance type "FIELD->" It will set the field completion mode ON. 3. type some letter starting a field, say, "a" Code completion dialog will open with all fields starting with "a" contained in all the tables opened. 4. To get list of all fields in all tables, after typing FIELD-> type "x" and then press back space. 5. To get field completions for a particular alias, type "that_Particular_alias->" and then some letter. 6. To get all fields in an alias type "alias" then "->" then "x" then press "backspace". Presentation: FIELD-> FieldName ( TableName ) FieldsOrdinalNumber, FieldType, FieldLength, DecPlaces => SaleAmount ( Invoice ) 13, N, 12, 2 Invoice-> FieldName FieldsOrdinalNumber, FieldType, FieldLength, DecPlaces => SaleAmount 13, N, 12, 2 2010-07-24 13:23 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/hbqt_hbqabstractitemmodel.cpp * contrib/hbxbp/xbpbrowse.prg + Applied: patch forwarded by Bacco. 2010-07-23 09:23 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/doc/en/class_hbqplaintextedit.txt * contrib/hbqt/hbqt_hbqplaintextedit.cpp * contrib/hbqt/hbqt_hbqplaintextedit.h * contrib/hbqt/qtgui/HBQPlainTextEdit.cpp * contrib/hbqt/qtgui/THBQPlainTextEdit.prg * contrib/hbqt/qth/HBQPlainTextEdit.qth + Prepared: to handle another field completion protocol - a work-in-progress. * contrib/hbxbp/xbpbrowse.prg ! Minor. * contrib/hbide/idebrowse.prg * contrib/hbide/ideedit.prg * contrib/hbide/ideeditor.prg + Prepared: to handle field completion engine. 2010-07-23 17:34 UTC+0200 Viktor Szakats * harbour-win-spec * harbour-wce-spec * harbour.spec * HB_CONTRIBLIBS -> HB_BUILD_CONTRIBS * contrib/make.hbs ! Adjusted wording in log output. * utils/hbmk2/hbmk2.prg ! Fixed bad regression caused by extending filters to all options. I reverted it. It has a killer effect without huge benefit. Maybe it will be implemented differently in the future. The user effect of the regression was that libs were created in bin dir. * Cleaned some variable names passed to plugins. * utils/hbmk2/examples/plug_tpl.hbs + Added comment about requirement of reentrancy. 2010-07-23 14:02 UTC+0200 Viktor Szakats * contrib/make.hbs + Accept package simply as 'hbmylib'. In such case it will use 'hbmylib/hbmylib.hbp' as project file. 2010-07-23 13:04 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg - Deleted handling of .hbi extension. - Deleted -target and -alltarget command-line options as an effort for simplification. Now all command-line options apply to all targets. + .hbp file references will now be executed as sub-projects, using an internal recursive call to the hbmk2 engine. This means that projects can now be embedded. INCOMPATIBLE if someone used .hbp file references inside other make files. If you want to create common settings in a separate file, always use .hbm extension. Pls note that sub-projects will inherit all command-line options of original hbmk2 invocation. + Added ${hb_targetname} macro to return the parent project name. + Added ${hb_targettype} macro. Returning target type. + Changed -run option to only run the top-level project. + Changed --hbinfo to return a flat list of information about all projects involved. Currently the main project is the last one in the list (order of execution). + Filters can now be used also for file inclusion and -skip options (which means they can now be used for all possible command-line and .hbm/.hbp options) [REVERTED IN: 2010-07-23 17:34 UTC+0200] ! Fixed the way automatic command-line options based on hbmk2's own filename are created. From now -hbcmp, -hblnk, -hbcc, -rtlink, -xhb, -hb10 will be added to the left side of the existing option (to precede everything else), while the rest (e.g. -hblib, -hbexe, -hbdyn) will be added last. ; NOTE: Quite heavy changes so pls expect (and report) any regressions. Most probably there will be room for tweaks here and there to make the new cascading build feature as smooth as possible. * contrib/make.hbs % Internally simplified since now the handling of sub-projects is the job of hbmk2 and .hbp make files. + In standalone mode it will now detect the name of the project in current dir, so the codepaths are much similar to the GNU Make mode now and stdalone mode will also rely on pkglist, instead of trying to detect what to build on its own. + Not require pkglist to list any sub-projects anymore, now it's simple list of main .hbp files. + Changed along with hbmk2 to deal with multiple project information returned by --hbinfo. + Avoid using the word "contrib", use "package" instead. * contrib/pkglist * Simplified to a mere list of main .hbp files for packages. * utils/hbrun/hbrun.prg * contrib/make.hbs * config/postinst.hbs * PathSepToSelf() rewritten to not make assumptions about __PLATFORM__* macro vs hb_ps() value, instead use hb_ps() value to decide what to do. * utils/hbrun/hbrun.prg ! Fixed to not save the (empty) history after each non-interactive session. * config/win/cygwin.mk ! Fixed to add z and pcre libs if the locally hosted ones aren't used. * contrib/hbqt/generator/hbqtgen.prg ! Fixed OS names in doc output. * Formatting. * contrib/gtalleg/gtalleg.hbm * contrib/gtalleg/gtalleg.hbp * contrib/gtalleg/gtallegs.hbp * contrib/hbcurl/hbcurl.hbm * contrib/hbcurl/hbcurl.hbp * contrib/hbcurl/hbcurls.hbp * contrib/hbtip/hbtip.hbm * contrib/hbtip/hbtip.hbp * contrib/hbtip/hbtipssl.hbp * contrib/hbssl/hbssl.hbm * contrib/hbssl/hbssl.hbp * contrib/hbssl/hbssls.hbp * contrib/hbqt/hbqt_common.hbm - contrib/hbqt/hbqt.hbm + contrib/hbqt/filelist.hbm * contrib/hbqt/hbqt.hbp * contrib/hbqt/hbqts.hbp * contrib/hbqt/hbqtgui.hbp * contrib/hbqt/hbqtguis.hbp * contrib/hbqt/hbqtcore.hbp * contrib/hbqt/hbqtcores.hbp * contrib/hbqt/hbqtnetwork.hbp * contrib/hbqt/hbqtnetworks.hbp - contrib/hbqt/gtqtc/gtqtc.hbm + contrib/hbqt/gtqtc/filelist.hbm * contrib/hbqt/gtqtc/gtqtc.hbp * contrib/hbqt/gtqtc/gtqtcs.hbp * contrib/hbqt/qtwebkit/hbqtwebkit.hbp * contrib/hbqt/qtwebkit/hbqtwebkits.hbp * contrib/hbqt/qtdesigner/hbqtdesigner.hbp * contrib/hbqt/qtdesigner/hbqtdesigners.hbp * contrib/hbqt/hbqscintilla/hbqscintilla.hbp * Cleanup along with latest changes: Using ${hb_targetname} instead of ${hb_name}, so it's safe to use it inside .hbm file, instead of replicating them in every .hbp file. + Now primary .hbp project files always reference the sub-project .hbp files: - hbqt + hbqts + hbqtcore + hbqtcores + hbqtgui + hbqtguis + hbqtnetwork + hbqtnetworks Which means that 'hbmk2 hbqt.hbp' will rebuild the whole stuff (all libs, and even static libs if requested) in one pass. * Renamed some file for more uniform layout. 2010-07-22 18:51 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbxbp/xbpbrowse.prg + Changed: width of the columns : maximum of data or header. * contrib/hbide/idebrowse.prg * contrib/hbide/idemisc.prg + Implemented: ideDBU - left-toolbar icons. Append, Delete, Lock, Gotop, GoBottom, ToFirstColumn, ToLastColumn, Search. + Implemented: ideDBU - context menu: > Scroll to... Opens a input dialog to fetch fieldname ( case insensitive ). Any first characters will scroll the browser to make that column visible. Vey handy especially in tables with lot of fields. > Search in Field Opens input dialog to fetch a value to be searched sequentially on the highlighted field. This option is available in any state of the table, indexed or natural order. > Form View Triggers the form-view scrollable widget visible. 2010-07-22 10:15 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbxbp/hbpprocess.prg + Added: :waitForFinished() method. * contrib/hbide/idebrowse.prg % Reworked: ideDBU:formView - now it is presented in a scrollable widget. * contrib/hbide/ideprojmanager.prg + Added: "xbuild" project files .xbp as basis for project conversion. ! Changed: hb_processRun() => QProcess(). 2010-07-22 16:58 UTC+0200 Viktor Szakats - contrib/hbqt/hbqt_hbdbfmodel.cpp * contrib/hbqt/generator/qt45.qtp - contrib/hbqt/qth/HBDbfModel.qth - contrib/hbqt/qtcore/THBDbfModel.prg * contrib/hbqt/qtcore/filelist.hbm - contrib/hbqt/qtcore/HBDbfModel.cpp - contrib/hbqt/doc/en/class_hbdbfmodel.txt * contrib/hbqt/hbqt.h - contrib/hbqt/hbqt_hbdbfmodel.h * contrib/hbqt/hbqt_garbage.h * contrib/hbqt/hbqt.hbm - Deleted now obsolete DBFMODEL. * src/rtl/gtcrs/gtcrs.h * Minor formatting. (from patch by Tamas Tevesz) * config/detect.mk ! Fixed autodetection of curses under Cygwin. Requires Cygwin sh shell to work. Patch by Tamas Tevesz. * utils/hbmk2/hbmk2.pt_BR.po * utils/hbmk2/hbmk2.hu_HU.po * utils/hbmk2/hbmk2.prg * Minor. 2010-07-22 14:45 UTC+0200 Viktor Szakats * contrib/make.hbs + contrib/pkglist + Changed to use external file to load the package list and package layout from. + Handling the case when .hbp filename has pathsep in it. + contrib/gtalleg/gtalleg.hbm * contrib/gtalleg/gtalleg.hbp * contrib/gtalleg/gtallegs.hbp + contrib/hbcurl/hbcurl.hbm * contrib/hbcurl/hbcurl.hbp * contrib/hbcurl/hbcurls.hbp + contrib/hbtip/hbtip.hbm * contrib/hbtip/hbtip.hbp * contrib/hbtip/hbtipssl.hbp + contrib/hbssl/hbssl.hbm * contrib/hbssl/hbssl.hbp * contrib/hbssl/hbssls.hbp + contrib/hbqt/hbqt.hbm * contrib/hbqt/hbqt.hbp * contrib/hbqt/hbqts.hbp + contrib/hbqt/gtqtc/gtqtc.hbm * contrib/hbqt/gtqtc/gtqtc.hbp * contrib/hbqt/gtqtc/gtqtcs.hbp * Moved common make settings to .hbm files instead of making internal reference to other .hbp file. * contrib/hbqt/hbqt_common.hbm + Added -hblib option. * contrib/hbqt/hbqtgui.hbp * contrib/hbqt/hbqtguis.hbp * contrib/hbqt/hbqtcore.hbp * contrib/hbqt/hbqtcores.hbp * contrib/hbqt/hbqtnetwork.hbp * contrib/hbqt/hbqtnetworks.hbp * contrib/hbqt/hbqscintilla/hbqscintilla.hbp + contrib/hbqt/qtwebkit/filelist.hbm * contrib/hbqt/qtwebkit/hbqtwebkits.hbp * contrib/hbqt/qtwebkit/hbqtwebkit.hbp + contrib/hbqt/qtdesigner/filelist.hbm * contrib/hbqt/qtdesigner/hbqtdesigner.hbp * contrib/hbqt/qtdesigner/hbqtdesigners.hbp * Delete references from .hbp files to other .hbp files. * Moved file lists into separate .hbm files. 2010-07-22 10:14 UTC+0200 Viktor Szakats * src/rtl/gtcrs/gtcrs.c ! Fixed to build on Cygwin. * external/minizip/minizip.dif * external/minizip/ioapi.h ! Patch by Tamas Tevesz: "it's rather questionable this has ever done what it was intended to do. bad name for one macro, half of other macro missing." Fixes to largefile support. 2010-07-21 17:53 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/QTreeWidget.cpp * contrib/hbqt/qth/QTreeWidget.qth % Changed: :addTopLevelItem() to detach from GC cycle. * contrib/hbide/hbide.prg * contrib/hbide/idebrowse.prg + Added: Rdd DBFNSX. Some artifacts corrected. 2010-07-22 00:54 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fixed stupid error not allowing to add the same install path for multiple groups. ! Fixed to not create workdir in --hbinfo mode. % Do not install twice the implibs defined in dependencies. * contrib/make.hbs + Make sure to disable envvars influencing build options also in stdalone mode. 2010-07-21 20:37 UTC+0200 Viktor Szakats * src/rtl/stuff.c ! Fixed GPF in STUFF() when HB_SIZE is signed value. (HB_SIZE_SIGNED mode) * contrib/make.hbs % Normalized some dirs to give cleaner and shorter output. + Shows HB_BUILD_CONTRIBS value. ! Fixed to only generate doc once for multi-hbp packages (HBQT e.g.). % Internal cleanups. * contrib/hbqt/hbmk2_plugin_qt.hbs + Honor HB_WITH_QT also on OS/2. * Internal. Feedback is still not perfect. * utils/hbmk2/hbmk2.prg + Normalize implib source dirs, -o dirs, -workdir dirs. + Implibs automatically generated for dependencies are now put in the 'implib' install target category, so they can be controlled separately. * contrib/hbpost.hbm ! Fixed to only install new automatic implibs when HB_BUILD_IMPLIB=yes. ; TODO: Rename this setting to HB_INSTALL_IMPLIB (or some better name). Now implib are always made, this setting only controls whether to install them (e.g. we don't want to install them when creating package for distribution). [DONE] - Deleted stuff belonging to stdalone -hbimplib targets. This method is deprecated inside contrib area. * config/global.mk - Do not show HB_CONTRIBLIBS value anymore. 2010-07-21 16:14 UTC+0200 Viktor Szakats * contrib/hbblat/hbblat.hbp ! Added missed flag for bcc. (was there in .hbi) 2010-07-21 16:06 UTC+0200 Viktor Szakats * INSTALL * Documented how to [re]build one specific contrib package. * INSTALL * contrib/make.hbs * Using 'contrib package' instead of 'contrib lib'. * package/winuni/mpkg_win_uni_extra_copy.bat * Do not install contrib utils sources anymore. If they are important, they can be built as part of regular build a shipped as binary. * package/winuni/mpkg_win_uni_extra_copy.bat * contrib/make.hbs * contrib/hbqt/generator/hbqtgen.prg - contrib/hbmysql/hbmysql.hbi - contrib/hbmysql/Makefile - contrib/gtalleg/gtalleg.hbi - contrib/gtalleg/gtallegs - contrib/gtalleg/Makefile - contrib/hbct/Makefile - contrib/sddmy/sddmy.hbi - contrib/sddmy/Makefile - contrib/hbodbc/Makefile - contrib/xhb/Makefile - contrib/sddfb/sddfb.hbi - contrib/sddfb/Makefile - contrib/hbtpathy/Makefile - contrib/hbgt/Makefile - contrib/hbsqlit3/Makefile - contrib/hbmzip/Makefile - contrib/hbblat/Makefile - contrib/hbblat/hbblat.hbi - contrib/hbqt/qtgui/qtguis - contrib/hbqt/qtgui/Makefile - contrib/hbqt/qtcore/qtcores - contrib/hbqt/qtcore/Makefile - contrib/hbqt/qtcore/filelist.mk - contrib/hbqt/Makefile - contrib/hbqt/detect.mk - contrib/hbqt/filelist.mk - contrib/hbqt/hbqts - contrib/hbqt/gtqtc/gtqtcs - contrib/hbqt/gtqtc/Makefile - contrib/hbqt/moc.mk - contrib/hbqt/qtnetwork/filelist.mk - contrib/hbqt/qtnetwork/qtnetworks - contrib/hbqt/qtnetwork/Makefile - contrib/hbfbird/hbfbird.hbi - contrib/hbfbird/Makefile - contrib/sddpg/sddpg.hbi - contrib/sddpg/Makefile - contrib/hbziparc/Makefile - contrib/hbxbp/Makefile - contrib/hbbz2/Makefile - contrib/hbblink/Makefile - contrib/hbnf/Makefile - contrib/hbcurl/hbcurl.hbi - contrib/hbcurl/hbcurls - contrib/hbcurl/Makefile - contrib/hbmemio/Makefile - contrib/hbxpp/Makefile - contrib/hbfship/Makefile - contrib/hbcups/Makefile - contrib/rddbmcdx/Makefile - contrib/hbfoxpro/Makefile - contrib/hbnetio/Makefile - contrib/rddsql/Makefile - contrib/hbhpdf/hbhpdf.hbi - contrib/hbhpdf/Makefile - contrib/gtwvg/Makefile - contrib/hbpgsql/hbpgsql.hbi - contrib/hbpgsql/Makefile - contrib/hbclipsm/Makefile - contrib/rddads/rddads.hbi - contrib/rddads/Makefile - contrib/sddsqlt3/Makefile - contrib/hbfimage/hbfimage.hbi - contrib/hbfimage/Makefile - contrib/sddodbc/Makefile - contrib/hbgd/hbgd.hbi - contrib/hbgd/Makefile - contrib/hbmisc/Makefile - contrib/sddoci/sddoci.hbi - contrib/sddoci/Makefile - contrib/hbcomm/Makefile - contrib/hbtip/hbtipssl - contrib/hbtip/Makefile - contrib/hbcairo/hbcairo.hbi - contrib/hbcairo/Makefile - contrib/hbwin/Makefile - contrib/hbssl/hbssls - contrib/hbssl/hbssl.hbi - contrib/hbssl/Makefile - contrib/hbsms/Makefile - Deleted references to .hbi and GNU Make files in contrib area. Now hbmk2 is used here to create the targets. This has a few consequences: - From now on *.hbp / *.hbc files need to be updated whenever files are added, deleted or renamed. Pls remember it. - hbmk2 will have to be updated in sync with the GNU Make system when adding new platforms and compilers. - in-place 'make' won't work, pls see new method in INSTALL. (it may still change) 2010-07-21 14:46 UTC+0200 Viktor Szakats * contrib/hbqt/hbmk2_plugin_qt.hbs + Do not pollute output with meaningless error message, when HB_WITH_QT=no is used. * contrib/hbpgsql/postgres.c ! Fixed msvc C mode warning. (this one is valid, though I couldn't find out why this is only reported in C mode, there are also some other seemingly unfixable warnings reported in C mode.) * contrib/hbpre.hbm + Will now enable C++ mode by default for msvc compilers, to stay in since with GNU Make behavior. * utils/hbmk2/hbmk2.prg ! Fixed to not rebase dirs passed to -deptimplibs options. ! Fixed to stay silent but still fail when dependencies are forcefully disabled. ! Reorganized msvc compiler version dependent options to better handle the case when no compiler version is present (to go with the less risky option in such case) * config/global.mk + Added msvc64 and msvcia64 version detection. * Renamed one variable to avoid being same as new hbmk2 macro. * config/postinst.hbs * Minor in feedback text. 2010-07-21 02:55 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/idebrowse.prg % Refind: <ideDBU><browser><context-menu><Scroll to Column>< SrNo Type FieldName> + Added: <ideDBU><browser><context-menu><Seek...> <Seek> <Seek Soft> <Seek Last> <Go Top> <Go Bottom> <Goto Record> ------------- <Append Blank> <Delete Record> <Recall Deleted> 2010-07-21 11:28 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Tackled watcom target platform autodetection to be in sync with global.mk. Whole autodetection should be rewritten in hbmk2 (it's an old TODO). ! Fixed to not show error when trying to create implibs defined in dep spec on platform that don't support it. * contrib/make.hbs - Deleted one TODO. * ChangeLog ! Typos in prev. Add note new 'option names tentative' yet. 2010-07-21 10:14 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added mingw/mingw64 version detection. Not very extensively tested. + Added -depimplibs=, -depimplibd= command-line options, and depimplibs= and depimplibd= .hbc options. They serve to configure automatic (without stdalone .hbi file using -hbimplib) import library generation for dependencies. The internal logic is the same, but now implibs can be generated for multiple dependencies at once, using pure .hbp files (or even .hbc for that matter). (option names tentative) + Filters now also support '<' and '>' operators. + Filters will now expand internal macros before looking for envvars. + Added HB_COMP_VER macro, returning compiler version. ! Fixed to handle "*.hbs" passed as option. ! Fixed to do entry detection also for .hbs files. * contrib/make.hbs - Temply disabled .hbi handling, now it's done by .hbp files. ! Refixed to skip hbhrb/hbppo projects in stdalone mode. * contrib/hbqt/tests/testbrow.prg * Updated with Bacco's 'testedit.prg' sent to the list. * Formatting. (pls try to format it like this) * contrib/hbpost.hbm + Enabled 'dynamicbase' and 'nxcompat' exe generation flags for newer versions of msvc and mingw, to be in sync with our GNU Make settings (and safety). * contrib/xhb/hbcompat.ch ! Fixed some wrong xhb to Harbour translations reported by Rossine. * contrib/hbide/hbide.hbp % Deleted -gc3. It made the executable 2 MBs larger. Pls report any performance problems after this change. * contrib/gtalleg/gtalleg.hbp * contrib/hbblat/hbblat.hbp * contrib/hbcairo/hbcairo.hbp * contrib/hbcurl/hbcurl.hbp * contrib/hbfbird/hbfbird.hbp * contrib/hbfimage/hbfimage.hbp * contrib/hbgd/hbgd.hbp * contrib/hbhpdf/hbhpdf.hbp * contrib/hbmysql/hbmysql.hbp * contrib/hbpgsql/hbpgsql.hbp * contrib/hbssl/hbssl.hbp * contrib/rddads/rddads.hbp * contrib/sddfb/sddfb.hbp * contrib/sddmy/sddmy.hbp * contrib/sddoci/sddoci.hbp * contrib/sddpg/sddpg.hbp + Added new switches to enabled automatic import library generation without .hbi files. Please note that this means that now HB_WITH_BLAT will have to be set from now on for hbblat lib. * config/global.mk * Minor. * config/win/watcom.mk ! Fixed to add .exe extension to watcom tools to make it work in wine-based cross build situations. [pls note that watcom can create cross builds using its native tools, so this is just the cherry on top :)] Patch provided by Tamas Tevesz. 2010-07-20 18:30 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbxbp/xbpbrowse.prg + Added: constructs to allow context menu. * contrib/hbide/idebrowse.prg * contrib/hbide/idemisc.prg + Implemented: context menu on a browser. Context menu has three options: 1. Set to Natural Order. 2. Set to Indexed Order -> presents further menu of index definitions. 3. Scroll to Column -> presents menu to select a column. More actions are scheduled to go inside this menu. 2010-07-20 17:53 UTC+0200 Viktor Szakats * contrib/make.hbs * Internal renames, cleaned debug stuff, comments. + Added some provision to cleanup the referenced component directory handling. Still a TODO. * Makefile * contrib/Makefile * Will now skip all hbrun/hbscript based build parts if HB_NO_HBSCRIPT=yes is set. Name tentative. * contrib/hbide/hbide.hbp * contrib/hbqt/hbqt.hbc ! Added SVN header. - Deleted -gc3 switch. It will make the final exe 2 MB smaller. + Moved HBQT specific msvc settings to hbqt.hbc. * Added QUESTION to -gc3 switch enabled for HBIDE. It makes the executable significantly larger (~2 MB without debug info) Was this ever tested, or just enabled and forgotten about? ; TODO: HBIDE should hold its 'plugins' dir in user and all users home dirs, and use the name 'hbide_plugins' in the executable's home directory to avoid collision with other tool which might also have a "plugin" folder. [DONE] - contrib/rddbmcdx/hbbmcdx.hbp + contrib/rddbmcdx/rddbmcdx.hbp - contrib/rddbmcdx/hbbmcdx.hbc + contrib/rddbmcdx/rddbmcdx.hbc * contrib/make.hbs * Renamed make files and output name (when using hbmk2) to match its recently renamed directory. Thanks to Juan Galvez for reporting it. 2010-07-19 19:17 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbxbp/xbpbrowse.prg + Added: constructs to edit cells. * contrib/hbide/idebrowse.prg * contrib/hbide/idesaveload.prg + Implemented: basic cell editing feature. To invoke: 1. press CTRL+E on any cell, change the value, 2. press TAB|SHIFT+TAB to advance to next|previous field under edit mode, OR 3. press ENTER to terminate the editing mode. 4. Changed value is saved to table instantly. All the four types are supported: Character, Date, Numeric, Logical. TODO: mask management and editable fields. row wide editing OR column wide. + Implemented: ideDBU toolbar icon "Tables" treeview now presents formatted structure plus tooltip on "Table name" node suggesting more artifacts about the table. "Tables" dialog now remembers its previous position. 2010-07-19 23:19 UTC+0200 Viktor Szakats * src/rtl/hbsocket.c * include/hbthread.h ! Fix for two cygwin build breakers. 2010-07-19 21:00 UTC+0200 Viktor Szakats * contrib/make.hbs * contrib/hbpre.hbm + Will now automatically rebuild all dependent contribs. So e.g. when building hbide, it will automatically update hbqt then hbxbp. Pls note that extra hbmk2 options passed at the command-line are only applied to primary target. + Will now automatically sort the list of contribs in order of dependency. [ there is quite interesting tree parsing/building and topological sorting employed. ] + Added log message at the end of the build process. + Standalone mode will now launch raw hbmk2 session if anything non-option and non-GNU control keyword is passed to it (e.g. a .hbp or a .prg). In such case it will act as plain hbmk2 call. ! Fixed -quiet keyword to be really quiet (should be on the command-line for that effect). + Added GPL2 license header. * contrib/Makefile % Greatly simplified. * contrib/hbqt/hbmk2_plugin_qt.hbs + Changed to do all tool detection in init 'pre_all' stage, and return an error if anything is missing. This allows hbmk2 to gracefully end the build process in such case. * utils/hbmk2/hbmk2.prg + hbmk2 will now gracefully exit with errorlevel 20 if any plugins return error at 'pre_all' stage. + --hbinfo will now return whether incremental mode is enabled for a project. + Plugins can now return at 'init' stage, in such case the plugin will be instantly unloaded. + hbmk2 will now display the stage where error is reported by plugins. * Experimental trick added: On win/wce/os2/dos platforms, if no explicit dependency location path was set by user (using HB_WITH_*) and there was no locally hosted location specified either, hbmk2 will show a warning instead of an error. + Added new internal variable to store implib extension. (OS/2 supports .imp as such extension, although hbmk2 does not yet) + Replaced os2/gcc -implib method with a new post cmd method (instead of using --out-implib mingw-like option which doesn't exist in OS/2). Thanks Maurilio for tests and information. * INSTALL + Added more visibility and more clear wording to TROUBLESHOOTING section reference in top of INSTALL doc. + Numbered items in TROUBLESHOOTING section so that they can be easily referred to. + Added new TROUBLESHOOTING suggestion (somewhat redundant) to first try to remove any special build options. * Makefile + Never attempt to run postinst.bat and postinst.cmd. * ChangeLog * Changes marked as DONE. 2010-07-18 23:49 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) + contrib/hbide/resources/database.png + contrib/hbide/resources/database_accept.png + contrib/hbide/resources/database_add.png + contrib/hbide/resources/database_down.png + contrib/hbide/resources/database_lock.png + contrib/hbide/resources/database_next.png + contrib/hbide/resources/database_previous.png + contrib/hbide/resources/database_process.png + contrib/hbide/resources/database_remove.png + contrib/hbide/resources/database_search.png + contrib/hbide/resources/database_up.png + contrib/hbide/resources/open2.png + Added: few more images for ideDBU interface. + contrib/hbide/tables.ui * contrib/hbide/hbide.hbp * contrib/hbide/hbide.qrc + Added: one more dialog resource - tables.ui. * contrib/hbqt/hbqt.ch + Added: constant for QAbstractItemDelegate class manipulation. * contrib/hbxbp/xbpbrowse.prg + Added: few methods ( experimental ) to have editing available in browsers. Now with a little success. Hopefully in near future I could implement "editing" with masks and validities. * contrib/hbide/idebrowse.prg * contrib/hbide/idemisc.prg + Added: many constructs, viz., left-toolbar, status-bar, etc. ! Rearranged: icons on the ideDBU toolbar in logical sections. % Corrected: many artifacts about focus and allied. + Added: toolbar-icon to present all tables on all panels with structures under a tree representation, a very handy info. 2010-07-18 16:58 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/hbqt_hbqabstractitemmodel.cpp + Added: :flags - Qt::ItemIsEditable. * contrib/hbqt/hbqt_hbslots.cpp * contrib/hbqt/hbqt_hbslots.h + Added: signals for QAbstractItemDelegate(). * contrib/hbxbp/xbpbrowse.prg + Code cleanup. + Added: :setFocus() method. + Added: CASE Qt_EditRole. This will form the basis of editing in the browser. So far prelimanaries only, I could not implement how to. 2010-07-18 14:57 UTC+0200 Viktor Szakats * contrib/make.hbs * contrib/hbpost.hbm % Internal simplifications, merged list of contribs into one. % Moved HB_BUILD_PARTS logic to .hbmk file. * contrib/sddodbc/sddodbc.c ! Applied previous patch for hbodbc to sddodbc. Thanks for Tamas Tevesz to supply the .dif. 2010-07-18 12:38 UTC+0200 Viktor Szakats * contrib/make.hbs + Instead of having to list .hbi files explicitly, it will now always look for one and build it automatically if exists. * Cleanups. 2010-07-18 12:09 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Will now append a _dll postfix in -hbdyn mode (and _exe in -hbexe mode) to implib generated when -implib option is used. This is needed to make it not collide with statis libraries generated in parallel. + Added technique with which even the fatal borland C compiler can tricked to create implibs with custom names. I didn't test it very much, I just hope the implib is equivalent with the one generated directly by linker. For borland users I recommend to switch to a modern compiler. + Will now also install implib if -instpath is specified and -implib is used on platforms that it's supported. ! Fixed to escape filenames in post-build command (strip on some platforms and now implib). * contrib/make.hbs + Enabled -implib hbmk2 option in HB_BUILD_CONTRIB_DLL=yes mode. * Disabled debug stuff. 2010-07-18 11:04 UTC+0200 Viktor Szakats * config/postinst.hbs * Changed to only create .hbd documentation file for the core. This is to ensure separation of components. * contrib/Makefile - Deleted old Makefile-based build logic in contrib area, now this make file does nothing else than passing the control to make.hbs Harbour script. * contrib/make.hbs * contrib/hbpre.hbm * contrib/hbpost.hbm % Moved -instpath options to hbpost.hbm to save command-line length. % Moved HB_BUILD_SHARED control logic from make.hbs to hbpost.hbm ! -warn option moved to hbpre from hbpost, so libs can override it (can be important for external code) + Will now compile .hbd binary documentation in 'install' phase and copy it to HB_DOC_INSTALL. * Internal pathsep cleanup. ! Fixed to accept 'install'/'clean' regardless of casing. + Now accepts HB_BUILD_CONTRIBS instead of HB_CONTRIBLIBS (though old envvar still work for while) + Log feedback now show the build action executed. + Added more TODOs. * INSTALL * Documented the change to HB_BUILD_CONTRIBS from HB_CONTRIBLIBS. * utils/hbmk2/hbmk2.prg + Will now automatically recognize HB_BUILD_NAME envvar and convert it to -build= command-line option. * contrib/hbodbc/todbc.prg * contrib/hbodbc/odbcold.c * contrib/hbodbc/odbc.c * Renamed SQLSTOD() to HB_ODBCSTOD() * Renamed SQLSETNUMLEN() to HB_ODBCSETNUMLEN(). * Old names are deprecated with HB_LEGACY_LEVEL3. If you happen to use these function names, pls update to the new ones ASAP. 2010-07-17 21:50 UTC+0200 Viktor Szakats * contrib/Makefile + Enabled to build all contribs using hbmk2 from now on. This is huge step, but in fact a zillion little ones in the last 2 years, and it means that contribs now rely on hbmk2 and hbmk2 make files (.hbp and .hbc) to be build and used respectively. For implibs, .hbi is used. The whole process is orchestrated by a script written in Harbour: make.hbs. With this change GNU Make is retired when it comes to contrib area. This new hbmk2 based system gives us much flexibility, many complicated build situations can now be potentially handled, while also making the contrib area fully modular, since they don't depend even on /config GNU Make system anymore. This means that any external contribs having hbmk2 make files are easy to import and any Harbour contribs are easy to detach from our SVN. It also allows to include more features (e.g. executables) in final distros. Executables hosted in the contrib area have the great advantage that they can use any other contrib libs (so far we were limited to core features for exes). It also allows to dynamically add extra contribs (or delete existing ones) on a per distro basis, so e.g. certain builders can create their own binary distro with a standard core and extra set of contribs. New system also makes it possible to build dynamic libs from contribs. It's also easier to move locally hosted external projects inside the contrib tree, even as a subdir inside the contrib that requires it (e.g. minizip, bz2 or sqlite). This can make these projects fully self-contained. Some things are not perfect yet, e.g. I'm still fighting with command-line length (relevant in MS-DOS) and the "in-place" build (I call "in-place" build when you build only one contrib at a time, like when issuing win-make inside a contrib subdir) will certainly need some getting used to, and maybe even some refinement in make.hbs. I've yet to implement automatic dependency detection and tree-sorting so that everything automatically builds in right order of dependency. Such thing can even be added for "in-place" build mode, and e.g. building hbide can automatically launch hbqt and hbxbp builds. BTW I retained the "header-copy-on-install" method, but I'm not sure it's right solution, anyhow we still have time to think about a better one. If everything goes fine, the GNU Makefiles in contrib area will be gone, so there won't be any redundancy again. * utils/hbmk2/hbmk2.pt_BR.po * utils/hbmk2/hbmk2.hu_HU.po * utils/hbmk2/hbmk2.prg + -stop command-line option now accepts a message it displays before stopping. + skip= .hbc command will now stop if there is text in its parameter. INCOMPATIBLE: So far -skip only skipped if 'on' was passed as value, now it will always skip. This means this command always has to be used along a filter. If the filter evaluates, skip will happen, if not it won't. + Added stop= .hbc command which will halt complete build process, similarly to -stop command-line option. It also supports text to be displayed. * contrib/hbqt/hbqt.hbc + Will now stop with a screen message if this component is tried to be used on unsupported platform. * contrib/hbwin/hbolesrv.hbc * examples/hbsqlit2/hbsqlit2.hbp * examples/gtwvw/gtwvw.hbp * Changed to use new hbmk2 -stop facilities. * src/rtl/filesys.c + Missed two casts from previous commit. - examples/gtwvw/Makefile - Deleted. 2010-07-17 20:07 UTC+0200 Viktor Szakats * include/hbdefs.h + Added HB_SIZE_SIGNED macro which enables signed HB_SIZE types. It so far dangerous setting because it may generate breakage without compiler warning, e.g. STUFF() GPFs in hbtest after enabling it. Plus there is about 40-60 new warnings shown, I'm out of ideas how to fix most of them. * src/rtl/filesys.c * Changed to pass LPDWORD to ReadFile()/WriteFile() win32 branch, instead of *HB_SIZE. It caused warnings for signed HB_SIZE. ; Please review me. * ChangeLog * Updated VxWorks notes in 2010-07-16 18:22 UTC+0200 Viktor Szakats with missing hb_secondsCPU() support yet. * contrib/gtalleg/gtallegs.hbp * contrib/hbcurl/hbcurls.hbp * contrib/hbssl/hbssls.hbp * contrib/hbtip/hbtipssl.hbp + Added -hblib options to make it easy for tools to detect target types. * contrib/gtalleg/gtalleg.c ! Fixed C mode MSVC function pointer cast warning. * src/rtl/hbsocket.c * Minor cosmetic. * contrib/hbqt/qtgui/QFormLayout.cpp * contrib/hbqt/doc/en/*.txt * Regenerated. * contrib/hbqt/generator/hbqtgen.prg ! Fixed missing initialization for enums returned by reference. An msvc warning was shown about them. ; FIXME: I've reported similar warnings long ago with msvc. Anybody to fix them? --- hbqt_hbqplaintextedit.cpp ...\qt\4.5.3\include\qtcore\../../src/corelib/concurrent/qtconcurrentiteratekernel.h(101) : warning C4512: 'QtConcurrent::BlockSizeManager' : assignment operator could not be generated ...\qt\4.5.3\include\qtcore\../../src/corelib/concurrent/qtconcurrentiteratekernel.h(83) : see declaration of 'QtConcurrent::BlockSizeManager' hbqt_hbqsyntaxhighlighter.cpp ...\qt\4.5.3\include\qtcore\../../src/corelib/global/qglobal.h(2078) : warning C4512: 'QForeachContainer<T>' : assignment operator could not be generated with [ T=QMap<QString,HBQSyntaxHighlighter::HighlightingRule> ] hbqt\hbqt_hbqsyntaxhighlighter.cpp(172) : see reference to class template instantiation 'QForeachContainer<T>' being compiled with [ T=QMap<QString,HBQSyntaxHighlighter::HighlightingRule> ] moc_hbqt_hbqplaintextedit.cpp ...\qt\4.5.3\include\qtcore\../../src/corelib/concurrent/qtconcurrentiteratekernel.h(101) : warning C4512: 'QtConcurrent::BlockSizeManager' : assignment operator could not be generated ...\qt\4.5.3\include\qtcore\../../src/corelib/concurrent/qtconcurrentiteratekernel.h(83) : see declaration of 'QtConcurrent::BlockSizeManager' QMimeData.cpp ...\qt\4.5.3\include\qtcore\../../src/corelib/global/qglobal.h(2078) : warning C4512: 'QForeachContainer<T>' : assignment operator could not be generated with [ T=QList<QUrl> ] hbqt\qtcore\QMimeData.cpp(451) : see reference to class template instantiation 'QForeachContainer<T>' being compiled with [ T=QList<QUrl> ] HBQPlainTextEdit.cpp ...\qt\4.5.3\include\qtcore\../../src/corelib/concurrent/qtconcurrentiteratekernel.h(101) : warning C4512: 'QtConcurrent::BlockSizeManager' : assignment operator could not be generated ...\qt\4.5.3\include\qtcore\../../src/corelib/concurrent/qtconcurrentiteratekernel.h(83) : see declaration of 'QtConcurrent::BlockSizeManager' --- 2010-07-17 17:10 UTC+0200 Viktor Szakats * ChangeLog * src/vm/dynlibhb.c * config/vxworks/libs.mk + Documented fact that VxWorks only supports dlopen() in shared executables. I can see no way how Harbour could support this. * config/vxworks/gcc.mk * config/vxworks/diab.mk * Minor cleanups to HB_BUILD_SHARED mode. 2010-07-17 16:28 UTC+0200 Viktor Szakats * contrib/hbodbc/todbc.prg * contrib/hbodbc/odbcold.c * contrib/hbodbc/odbc.c - Deleted SQLEXTENDEDFETCH() wrapper. The original ODBC function was in compatibility status since ODBC 3.0 and it was causing permanent build problems in Harbour, due to disagreement in parameter widths/types on different platforms and compiler headers (e.g. on Linux AMD64 C++ mode, POCC and XCC). INCOMPATIBILITY: This compatibility function was deleted, use SQLFETCHSCROLL() instead. * Replaced SQLEXTENDEDFETCH() with SQLFETCHSCROLL() in TODBC code as recommended by MS. ! Added cast to silence msvc C mode warning. * config/vxworks/gcc.mk ! Fixed vxworks/gcc HB_BUILD_SHARED=yes link mode. 2010-07-17 15:20 UTC+0200 Viktor Szakats * include/hbdefs.h * src/rtl/hbsocket.c * include/hbthread.h * Moved header collision avoidance hack to the root of the problem, right after '#include <stdint.h>'. This way it's done centrally. * config/vxworks/diab.mk - Deleted fixed FIXME. 2010-07-17 14:59 UTC+0200 Viktor Szakats * ChangeLog * Updated VxWorks notes in 2010-07-16 18:22 UTC+0200 Viktor Szakats * include/hbsetup.h * Enabled HB_USE_SHARELOCKS_OFF for VxWorks. This fixes creation of plain .dbf files, _but_ it will make a weird bug surface when creating .dbf+.dbt: The content of the .dbt file is written into the .dbf and the .dbt is kept as a zero length file. Przemek if you read this, do you have any idea what this could be? * src/rtl/hbgtcore.c * src/rtl/gtsys.c ! Fixed to set default GT for vxworks also in hbgtcore. Made NOTE in source that needs to be kept in sync. This finally fixes the uninitialized GT error. * Reset default vxworks GT to GTSTD instead of GTCGI. * utils/hbmk2/hbmk2.prg * Minor. 2010-07-17 12:53 UTC+0200 Viktor Szakats * contrib/hbodbc/odbc.c - Deleted compatibility trick which mapped SQL[U]LEN to SQL[U]INTEGER. The trick is most likely not needed anymore, they were first introduced in 2007-01-24 10:25 UTC+0100 Przemyslaw Czerpak with the description 'synced with xhb', next it was extended with the "U" version in 2008-08-13 03:08 UTC+0200 Viktor Szakats, for __DMC__ compatibility. We dropped DMC support since. ; Tamas can you pls retest if this fixed the Linux AMD64 build error in C++ mode? * src/rtl/gtsys.c * Made GTCGI the default GT for VxWorks. (GTSTD doesn't work now) 2010-07-17 11:36 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg % Won't anymore do dependency check on system headers found on autodetected dependency locations. This has the upside that now hbmk2 e.g. won't traverse the deep header structures of QT, greatly enhancing build performance. The downside is that now libs won't be automatically rebuilt if such dependency is updated (e.g. after upgrading to a new version of QT). Pls speak up if you have an opinion on this, maybe using other solution or to control this behavior using a global or dependency level switch. 2010-07-17 10:24 UTC+0200 Viktor Szakats * config/vxworks/gcc.mk * config/vxworks/diab.mk + Setting 'soname'. It's mandatory according to VxWorks docs. Now shared diab exes will find Harbour dynlib (but not the libc one, but I reckon this needs local env tweaks only). 2010-07-17 09:45 UTC+0200 Viktor Szakats * INSTALL * utils/hbmk2/hbmk2.prg + Added pcc to few places (with experimental status). 2010-07-17 09:41 UTC+0200 Viktor Szakats * config/darwin/gcc.mk * config/darwin/icc.mk * config/darwin/clang.mk ! Fixed to use variable instead of hardcoded 'harbour' text to set .dylibs 'install name'. It also fixes 'harbour' being used also for MT mode dylib. * contrib/hbide/idemisc.prg ! Fixed to add some new chars which need to be escapted in HTML output. % Removed some redundancy. 2010-07-17 08:50 UTC+0200 Viktor Szakats * tests/hbdoctst.prg + Updated to use __HBDOC_SAVEHBD(). 2010-07-17 08:43 UTC+0200 Viktor Szakats * src/rtl/hbsocket.c + Enabled ioctl() calls for VxWorks. ! Worked around 'socklen_t' vs 'int' warnings with VxWorks. (still remains some 'const char *' and 'caddr_t' vs 'char * warnings, nothing serious though) * include/hbthread.h ! Enabled HB_CRITICAL_NEED_INIT for VxWorks. Avoids the compiler warnings caused by PTHREAD_COND_INITIALIZER having one less structure member than initialized structure. MT mode still doesn't work though. * contrib/hbodbc/odbc.c + Added HB_ODBCVER() function to return build-time ODBC version reported by ODBCVER macro. * contrib/hbodbc/tests/testodbc.prg + Show ODBC version number. - contrib/hbqt/doc/html - Deleted. doc dirs now have to abide by the HBDOC rules posted on the dev list, which means doc may contain (non-empty) language dirs only. html should be generated by client app or by install process. * contrib/hbwin/hbwinole.h ! Patch by Tamas Tevesz, fixing NONAMELESSUNION issue for watcom. 2010-07-16 18:33 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/idefindreplace.prg * contrib/hbide/idemisc.prg ! Fixed: a bug in "find in Files" output where characters "<" and ">" were eaten up by the html engine, reported by Massimo Belgrano. * contrib/hbide/idebrowse.prg + Implemented: "connections" concept for third-party RDD hooks. Will write a white-paper to this effect soon once the engine becomes stable. It is working for my native RDDs. 2010-07-16 20:55 UTC+0200 Viktor Szakats * include/hbsetup.h * src/vm/hvm.c * contrib/hbmisc/hb_f.c ! Added workaround for diab bug. Now build goes fine without HB_LONG_LONG_OFF trick. * config/vxworks/diab.mk + Minor change to sync one C compiler option with VxWorks Workbench generated one. (missed from prev commit) 2010-07-16 19:04 UTC+0200 Viktor Szakats * INSTALL + Added Windows and OS/2 specific extra requirements for GNU Make version. Windows: 3.81, OS/2: 3.81r3 Older versions are too buggy/risky on these platforms. * ChangeLog + Added more VxWorks NOTEs to 2010-07-16 18:22 UTC+0200. 2010-07-16 18:22 UTC+0200 Viktor Szakats * external/minizip/minizip.dif + Updated after latest changed by Tamas Tevesz. Thanks a lot! * utils/hbmk2/hbmk2.prg + Added support for vxworks/diab compiler. * utils/hbtest/hbtest.prg + Added my name to the copyright header. * config/global.mk ! Fixed to only assign *nix specific default value HB_INSTALL_PREFIX on *nix hosts (only a problem when doing *nix cross-builds _from_ non-*nix systems). * utils/hbmk2/hbmk2.prg * config/vxworks/gcc.mk * config/vxworks/diab.mk + Added minimal support for HB_BUILD_SHARED=yes for vxworks targets. For diab it just won't find the harbour .so (see comment for more) For gcc it links okay, though it's detected as kernel task, so current support is most probably not right. * config/vxworks/diab.mk * Minor change to sync one C compiler option with VxWorks Workbench generated one. ; NOTE: By this change Harbour VxWorks base port is finished. Besides being an interesting exercise, it helped to develope new non-*nix to *nix cross building codepaths, tweak Harbour for "headless" (w/o terminal) OSes, and to break the ground for target CPU selection inside one target platform. Harbour builds cleanly using both vxworks/gcc and vxworks/diab, and compiler tools plus non-MT utils run properly as well. Obviously I made few functional tests, but from the experiences of the port effort, these are the remaining areas: - reporting compiler bug to Wind River (the one breaking hvm.c compilation, requiring HB_LONG_LONG_OFF forcage, causing other unnecessary limits and hbtest failures) - serial I/O needs to be implemented using VxWorks specific sioLib API - 'fork' has to be replaced. - sockets were not tested, anyhow they are supposed to work. (only few benign cast warnings are present, plus ioctl() calls guarded off) - termios is missing, so large parts of GTSTD and GTTRM are disabled on this platform. - ARM/MIPS CPU support needs to be added to hbatomic.h - HB_LIBLOAD() and friends need to be implemented, but I hit walls here. [CLOSED: VxWorks supports dlopen() only in shared executables. For static executables it fails at link time.] - MT apps GPFs, this needs to be fixed probably inside our code, but it's possible some build options are needed which I missed all along. GPF is inside pthread_mutex_lock(). - HB_SHARED_MODE=yes needs further tweaking. [DONE] - GNU Make 3.80 is shipped with the VxWorks package, and it fails with strange error which is not suprise how buggy make was in 2002, the first usable version is 3.81 on Windows. Simply copying make.exe over with the mingw 3.81 build makes it work (or setup Workbench to launch win-make.exe?). [CLOSED] - Maybe the dbCreate() problem worth looking into, as e.g. hb_out.log and _hbtmp_.dbf were both created fine on the FS, but the latter stayed to be a zero length file. HB_USE_SHARELOCKS_OFF changes the situation a bit but still no good. - hb_secondsCPU() support is missing. 2010-07-16 09:04 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/idebrowse.prg ! Fixed: ideDBU - sequential search on a character field was making exact comparison, i.e., fieldval == searchval, now it is : fieldval = searchval. 2010-07-16 15:15 UTC+0200 Viktor Szakats * include/hbinit.h ! Fix to prev. Missed another 'static' qualifier. ; Now hbtest runs OK on vxworks/diab. (there are more errors though due to HB_LONG_LONG_OFF) * utils/hbmk2/hbmk2.prg ! Fixed to not request GTTRM in vxworks builds. 2010-07-16 14:51 UTC+0200 Viktor Szakats * utils/hbrun/hbrun.prg ! Fixed to show error in GTCGI mode instead of going into an infinite loop when launched with interactive options. 2010-07-16 13:55 UTC+0200 Viktor Szakats * utils/hbtest/hbtest.prg * utils/hbtest/rt_hvm.prg * utils/hbtest/rt_hvma.prg * utils/hbtest/rt_stra.prg * utils/hbtest/rt_vars.ch - Disabled long string tests for vxworks. They fail because of memory exhaustion. ! Fixes to prev. ; Now hbtest runs OK on vxworks/gcc. * config/global.mk + Now defines __PLATFORM__VXWORKS for cross-builds. ! Fixed typo in lastly added __PLATFORM__ redefinition. * INSTALL + Added vxworks/diab example. 2010-07-16 13:27 UTC+0200 Viktor Szakats * utils/hbtest/hbtest.prg * utils/hbtest/rt_hvm.prg * utils/hbtest/rt_hvma.prg * utils/hbtest/rt_stra.prg * utils/hbtest/rt_vars.ch + Enabled GTCGI for Harbour builds. This makes it independent for GTs, to there is better chance to run it. Now it also works on VxWorks. + Will now detect .dbf creation failure and continue gracefully with a message and skipping all related tests. * src/rtl/hbsocket.c * external/minizip/ioapi.h * include/hbthread.h + Added/cleaned hacks to avoid collision between VxWorks's own system types. * external/minizip/ioapi.h ! Disabled 64-bit FSIO for whole VxWorks. * config/vxworks/gcc.mk * config/vxworks/diab.mk * config/vxworks/global.mk + _VX_CPU is now defined in vxworks/global.mk. * src/common/hbarch.c ! Fixed hb_put_le_uint64() definition to match declaration. * include/hbdefs.h ! Fixed compatibility type definitions in HB_LONG_LONG_OFF mode. * include/hbsetup.h + Added bzero() declaration hack for vxworks. * include/hbinit.h + Added support for diag compiler init function. It requires the constructor to have public visibility. * src/common/hbver.c + Changed to always display x.x.x.x format verison no for diab. (in generic way). * INSTALL * Updated list of CPUs supported by vxworks. 2010-07-16 03:07 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/hbide.hbp ! Missing from previous. 2010-07-16 02:52 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/doc/en/class_hbqplaintextedit.txt * contrib/hbqt/hbqt_hbqplaintextedit.cpp * contrib/hbqt/hbqt_hbqplaintextedit.h * contrib/hbqt/qtgui/HBQPlainTextEdit.cpp * contrib/hbqt/qtgui/THBQPlainTextEdit.prg * contrib/hbqt/qth/HBQPlainTextEdit.qth + Added: :hbSelectAll() method. * contrib/hbxbp/xbpbrowse.prg ! Minor. + contrib/hbide/fetchdate.ui + Added: dialog to fetch a date value. It also employs calender widget. * contrib/hbide/ideedit.prg ! Fixed: many artifacts related to selection behaviour. * contrib/hbide/idemisc.prg * contrib/hbide/idebrowse.prg + Implemented: search in the current browser. Search is available in two modes: 1. When table has some index active : DbSeek() is performed. The value to seek is based on the type returned by valtype( &( IndexKey() ) ). 2. When table has no active index: sequential search is performed. The value of search is based on the current highlighted cell. Input dialog is presented depending upon the search variable type. Sequential search is a slow process but there is no alternative to that. Sequential search is initiated from the current record downwards and terminated either on oBrw:hitBottom is encountered or value is found. Icon: ideDBU toolbar-serach Hotkey: CTRL+F + Implemented: goto record. It is straight forward. DbGoto( nRecord ) is issued. Icon: ideDBU toolbar-goto record Hotkey: CTRL+G Please forward your opinions. 2010-07-16 08:16 UTC+0200 Viktor Szakats * contrib/hbqt/tests/testqaim.prg ! Two fixes reported by Tamas and Bacco respectively. 2010-07-16 08:10 UTC+0200 Viktor Szakats * src/common/hbver.c * Formatting. * config/vxworks/diab.mk ! Refined tweak added to make hbsocket compile. I overdid it, causing other breakage. ! Fixed dynlib generation to cope with Windows command-line length limits. + Added proper dynlib generation rule. * config/vxworks/gcc.mk * config/vxworks/global.mk + HB_CCPOSTFIX setup made common to all compilers, because it's needed for 'strip' call. * utils/hbmk2/hbmk2.prg + Some vxworks environment setup made common to all compilers. * harbour-win-spec * harbour-wce-spec ! Deleted hbmk.hbc references. ; Patches by Tamas Tevesz: * harbour.spec ! Fixes to make it work. * external/minizip/minizip.dif * Updated. * INSTALL. * Nevermind. 2010-07-15 18:54 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/doc/en/class_hbqplaintextedit.txt * contrib/hbqt/hbqt_hbqplaintextedit.cpp * contrib/hbqt/hbqt_hbqplaintextedit.h * contrib/hbqt/qtgui/HBQPlainTextEdit.cpp * contrib/hbqt/qtgui/THBQPlainTextEdit.prg * contrib/hbqt/qth/HBQPlainTextEdit.qth ! Changed: the space character not to terminate the code completion dialog. It is needed for commands to be selected at next level. + contrib/hbide/plugins/hbide_script_rdds.prg + Added a dummy script to supply the required info for different actions of an RDD operation if another RDD is linked with hbIDE. DBFCDX and DBFNTX are linked by default. To make this feature functional, this dummy script has to be popiulated with real-time code and be copied inside "resources" folder with another name prefixed as: hbide_persist_myrdd.prg A complete example will be published in the meantime. * contrib/hbide/hbide.prg * contrib/hbide/idebrowse.prg * contrib/hbide/ideplugins.prg + Implemented: persistent record/order/rowpos/colpos of ideDBU views. Now tables are opened in the same state of last run. + Totally reworked table-management engine. Now supports external RDDs if linked which take effect automatically for database operations, i.e., /rdds/exists/select/open; more actions will follow. 2010-07-16 00:25 UTC+0200 Viktor Szakats * config/vxworks/diab.mk + Implemented support for Wind River Compiler. Incomplete yet, as I couldn't test each build feature due to errors in earlier build stages. * src/common/hbver.c + Added fourth version number level. + Added version detection for Wind River Compiler (diag). * Formatting. * src/common/hbprintf.c * external/minizip/ioapi.h + Fixes for Wind River Compiler (diag) * src/rtl/hbdyn.c ! Dirty fix to compile in HB_LONG_LONG_OFF mode. Przemek if you see this, can you take a look at it if it's right or at least not terribly off? * include/hbsetup.h ! Temporary hack for Wind River Compiler to use HB_LONG_LONG_OFF, otherwise the compiler crashes with internal error in hvm.c (without hvmall and optimizations also). Now, this flag caused another slew of problems, so as it looks now support for this compiler cannot be added: "../../../hvm.c", line 9827: internal compiler error (etoa:1000): - Failed allocating register pair please contact support@windriver.com */ * include/hbinit.h + Enabled Wind River compiler to use the GCC init mode. (didn't actually test it, but it compiles) * utils/hbmk2/hbmk2.prg + Added new debug switch -debugpars to get a list of input parameters processed by hbmk2. + Synced automatic HB_CCPOSTFIX configuration based on cpu setting with GNU Make logic. * config/vxworks/gcc.mk * Cleanups. + Added more CPU postfixes. * INSTALL * Minor convenience added to prev. 2010-07-15 21:48 UTC+0200 Viktor Szakats * INSTALL ! VxWorks casing. + Added vxworks/gcc/arm example. * utils/hbmk2/hbmk2.prg % -DARMEL no more defined for vxworks/gcc/arm. It turns out it's a predefined macro. * config/global.mk ! Fixed HB_CPU autodetection after prev change. * INSTALL ; NOTE: After previous change HB_CCPOSTINST is automatically set on vxworks/gcc. * config/vxworks/libs.mk * config/vxworks/gcc.mk + Tried to enable dynlibhb, didn't succeed, see comments. * config/vxworks/gcc.mk % Deleted unnecessary compile time macros. ; FIXME: vxworks HB_BUILD_SHARED=yes is broken. harbour .so is not found. Couldn't find out why. [DONE] ; FIXME: vxworks/gcc/arm hbatomic.h needs support added. arm harbour and hbpp builds fine. 2010-07-15 20:24 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added experimental -cpu option. (not at the level of comp/plat internally, as there won't be separate subdir open for different cpu builds created in parallel) + Added some untested support for vxworks/gcc/arm. * utils/hbmk2/hbmk2.hbp + Synced with Makefile. * config/global.mk ! Fixed to default HB_CPU value to x86 for vxworks. + Exports HB_CPU. * config/vxworks/libs.mk * config/vxworks/gcc.mk + Added experimental support to select arm target by using HB_CPU=arm. * config/wce/msvcarm.mk ! Missed re-xmastree changed done now. (for pre GNU Make 3.81 compatibility) 2010-07-15 19:20 UTC+0200 Viktor Szakats * include/hbthread.h ! Hacked around collision between VxWorks headers. * ChangeLog ! Fixed casing of VxWorks. * utils/hbmk2/hbmk2.prg + Added vxworks/gcc libpaths. ! Fixed vxworks/gcc system lib list. ! Fixed ar to have postfix. ; All these are syncs with GNU Make. * src/rtl/hbsocket.c ! Typos in previous vxworks patchs. * config/global.mk ! Fixed forming automatic HB_INSTALL_PREFIX value in *nix cross-build situations. (it's still wrong as it assumes nix->win cross-builds) ; Now vxworks/gcc/x86 build is clean. There are iTODOs left, and - this particular class of warnings, which seems to be a bug down the <pthread.h> system header: hbnetio\netiocli.c:155: warning: missing initializer hbnetio\netiocli.c:155: warning: (near initialization for 's_netioMtx.mutexAttr.mutexAttrType') - also this, each time FD_ZERO() and friends are used: warning: implicit declaration of function 'bzero' - "argument n of 'x' differ in signedness" and "discards qualifiers from pointer target type" warnings in hbsocket.c code. ; FIXME: - Unrecoverable error 9998: Harbour terminal (GT) initialization failure when running hbtest. [DONE] - GPF when running hbmk2 and hbrun. (hbformat, hbi18 startup fine) It's related to MT mode. 2010-07-15 17:34 UTC+0200 Viktor Szakats * external/zlib/zlib.dif * external/jpeg/Makefile + external/jpeg/jpeg.dif + Added/updated diffs after VxWorks changes. Patch by Tamas Tevesz. Thanks! 2010-07-15 17:10 UTC+0200 Viktor Szakats * contrib/hbpost.hbm ! Fixed issue where prg flags were interpreted as implib tool flags when building *.hbi files via make.hbs. Caused problems for bcc, watcom and some rarer other cases. * config/beos/gcc.mk * config/qnx/gcc.mk * config/bsd/gcc.mk * config/bsd/clang.mk * config/bsd/pcc.mk * config/wce/mingwarm.mk * config/darwin/gcc.mk * config/darwin/icc.mk * config/darwin/clang.mk * config/hpux/gcc.mk * config/win/mingw.mk * config/win/cygwin.mk * config/linux/gcc.mk * config/linux/icc.mk * config/linux/clang.mk * config/linux/sunpro.mk * config/os2/gcc.mk * config/sunos/gcc.mk * config/sunos/sunpro.mk % Using 'LD = $(CC)' instead of duplicating the 'CC = ' line with identical value. * contrib/hbqt/THbQtUI.prg * Minor. * tests/hbdocext.prg ! Minor portability. 2010-07-15 16:57 UTC+0200 Viktor Szakats * INSTALL + config/vxworks + config/vxworks/libs.mk + config/vxworks/gcc.mk + config/vxworks/diab.mk + config/vxworks/global.mk + Started experimental VxWorks port. ; NOTE: VxWorks port was made possible by Wind River Systems Inc., who were so kind to mail me a full VxWorks development environment, for the purpose of porting Harbour to this platform. Thank you very much guys. [ The free license is valid for one month, so if anyone is interested in helping in this project, I can help with real tests, builds and information. BTW, the devenv is Eclipse based plus command-line, running on Windows (available for Linux and Solaris, too) and the target VxWorks exes run in a virtual environment. ] * config/global.mk + Added autodetection of VxWorks platform. * utils/hbmk2/hbmk2.prg + Added VxWorks support. It's incomplete yet. ! Fixed to quote *nix/gcc compiler family in Windows-host cross-platform situations. * src/vm/thread.c * src/common/hbgete.c * src/common/hbffind.c * src/common/hbtrace.c * src/common/hbdate.c * src/rtl/gtstd/gtstd.c * src/rtl/gttrm/Makefile * src/rtl/hbsocket.c * src/rtl/filesys.c * src/rtl/diskspac.c * src/rtl/cputime.c * src/rtl/disksphb.c * src/rtl/gtpca/gtpca.c * src/rtl/net.c * src/rtl/hbproces.c * src/rtl/gtsys.c * src/rtl/hbcom.c * external/zlib/inflate.c * external/jpeg/jmorecfg.h * external/pcre/Makefile * include/hbapifs.h * include/hbthread.h * include/hbdefs.h * include/hbsetup.h * contrib/xhb/hboutdbg.c * contrib/xhb/hbsyslog.c * contrib/xhb/hbserv.c + vxworks/gcc port. First phase. ; Please review. ; NOTE: - vxworks has no termios, for serial comm support it has sioLib.h. - vxworks supports another C compiler, which was not tested yet. [DONE] - vxworks supports lots of CPUs, only x86 was tested yet. - There are still mutex related warnings to sort out. - Some parts had to disabled, like HB_LIB*() functionality. ; TODO: Regenarate .difs in external/. [DONE] * src/vm/hashfunc.c * Silenced warnings shown by vxworks/gcc. 2010-07-15 07:12 UTC+0200 Viktor Szakats * contrib/hbdoc2/hbdoc2.prg * contrib/hbdoc2/hbdoc2.hbp - contrib/hbdoc2/genhbd.prg - Deleted .hbd geneation from hbdoc2. This tool will have to redesigned to use core hbdoc load/save functions, etetc. ; Patches by Tamas Tevesz: * src/pp/ppcore.c ! Fixed very old bad typo on one of the PP error msgs. * contrib/gtwvg/wvgwin.c * contrib/gtwvg/wvgwing.c * contrib/hbwin/win_shell.c * Cleanups after recent changes. 2010-07-14 18:06 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/hbqt_hbqplaintextedit.cpp ! Fixed: a nasty bug in :paintEvent plus its subsidiaries. The bug went unnoticed on Windows by some reasons unknown, though it is documented in Qt help. This is repoted by Antonio Linares when he was testing hbIDE on OSX. * contrib/hbxbp/xbpbrowse.prg ! Fixed: :keyboard slot was not working. * contrib/hbide/idebrowse.prg * contrib/hbide/idesaveload.prg + Implemented: indexed table navigation. Current implementation only supports structural indexes in DBFCDX. Click on some table header, point to "Index" ideDBU toolbar icon and click on drop-down list of index tags and expressions, select one and this index will become the active one. + Implemented: search feature on indesed tables, only for string fields. While staying inside a browser, press CTRL+F (Find), provide serach string, and there you will be. + Titlebar now holds the various facts about the navigation. Tooltip on the titlebar holds the table's full path. TODO: after settling all actions, a left-side toolbar will hold them as icons. One toolbar only for all panels and browsers. If you have better ideas please forward. 2010-07-14 23:17 UTC+0200 Viktor Szakats * src/rtl/hbdoc.prg + __HBDOC_LOADHBD()/__HBDOC_SAVEHBD() now adds signature to .hbd file format, which is verified on load. + .hbd file format now uses zlib compression, hugely reducing file sizes. 2010-07-14 22:13 UTC+0200 Viktor Szakats * include/hbextern.ch * src/rtl/hbdoc.prg + Added __HBDOC_LOADHBD( <cFileName> ) -> <hbdoc> | NIL + Added __HBDOC_SAVEHBD( <cFileName>, <hbdoc> ) -> <lSuccess> - doc/en/Makefile * doc/Makefile * package/mpkg_win.nsi * package/winuni/mpkg_win_uni_extra_copy.bat * package/winuni/mpkg_win_uni.nsi - Don't install doc sources. * config/postinst.hbs + Will now build .hbd files from doc sources at 'install' phase. .hbd files will be installed in HB_DOC_INSTALL path, which is /doc by default. ; NOTE: Apps like hbide can now use __HBDOC_LOADHBD() to load these .hbd files. ; NOTE: We may add other doc generators to hbrtl, plus we may further enhance .hbd format to be more easily usable for client apps (and e.g. to consume less disk space). ; TODO: Config HB_DOC_INSTALL also on *nix systems. * contrib/gtwvg/wvgwing.c ! Fixes after previous commit. Patch by Tamas Tevesz. * contrib/make.hbs * Minor. 2010-07-14 19:23 UTC+0200 Viktor Szakats * contrib/hbqt/hbqt_hbqplaintextedit.cpp ! Fix for paint bug typo. Report/patch by Antonio Linares. * src/rtl/hbdoc.prg ! __HBDOC_FROMSOURCE(): added parameter validation. * tests/stripdoc.hbs ! Fixed -w3 warning. * contrib/gtwvg/wvgwin.c * contrib/gtwvg/wvgsink.c * contrib/gtwvg/wvgwing.c * contrib/hbwin/hbwinole.h * contrib/hbwin/win_shell.c * contrib/hbwin/olecore.c * contrib/hbwin/hbolesrv.c + Applied patch sent by Tamas Tevesz, targeting to change OLE code to use MS supplied macros to access certain structure elements. Also contains tweaks to NONAMELESSUNION Windows mess. "the attached is take two to use ole api accessors instead of hard-coded member names which may or may not be present anyway." ; Plus some casing adjusments in macro variable names. * contrib/gtwvg/gtwvg.c * contrib/gtwvg/wvggui.c * contrib/gtwvg/wvgwin.c % Deleted ( HWND ) casts from MS Windows-defined constants. Still when using plain MS defined constant, msvc will show some warnings when compiled in C mode: gtwvg.c(3594) : warning C4306: 'type cast' : conversion from 'int' to 'HWND' of greater size Couldn't find a way to defeat it. * contrib/gtwvg/gtwvg.h * contrib/gtwvg/wvggui.h + Upped IE version we are building against to 0x0500. This avoids some plain C mode msvc warnings. * contrib/gtwvg/wvgwing.c + Added ( HB_PTRDIFF ) cast to newly activated code after making above change. 2010-07-14 14:52 UTC+0200 Viktor Szakats * contrib/hbnf/acctyear.prg * contrib/hbnf/byteneg.prg * contrib/hbnf/isshare.prg * contrib/hbnf/sinkey.prg * contrib/hbnf/kspeed.c * contrib/hbnf/prtscr.c * contrib/hbnf/descendn.c * contrib/hbnf/peek.c * contrib/hbnf/scancode.prg * contrib/hbnf/vidmode.prg * contrib/hbnf/nwsem.prg * contrib/hbnf/acctadj.prg * contrib/hbnf/week.prg * contrib/hbnf/vidcur.prg * contrib/hbnf/iamidle.c * contrib/hbnf/miltime.prg * contrib/hbnf/prtesc.prg * contrib/hbnf/acctmnth.prg * contrib/hbnf/proper.c * contrib/hbnf/savearr.prg * contrib/hbnf/madd.prg * contrib/hbnf/rand1.prg * contrib/hbnf/dispmsg.prg * contrib/hbnf/fttext.c * contrib/hbnf/mouse1.prg * contrib/hbnf/settime.prg * contrib/hbnf/page.prg * contrib/hbnf/restsets.prg * contrib/hbnf/byt2bit.prg * contrib/hbnf/setkeys.c * contrib/hbnf/month.prg * contrib/hbnf/byt2hex.prg * contrib/hbnf/findith.prg * contrib/hbnf/at2.prg * contrib/hbnf/acctweek.prg * contrib/hbnf/dispc.c * contrib/hbnf/gcd.prg * contrib/hbnf/pegs.prg * contrib/hbnf/min2dhm.prg * contrib/hbnf/acctqtr.prg * contrib/hbnf/numlock.c * contrib/hbnf/dosver.prg * contrib/hbnf/nooccur.prg * contrib/hbnf/dayofyr.prg * contrib/hbnf/metaph.prg * contrib/hbnf/ontick.c * contrib/hbnf/menu1.prg * contrib/hbnf/byteand.prg * contrib/hbnf/sqzn.prg * contrib/hbnf/bytexor.prg * contrib/hbnf/ftidle.c * contrib/hbnf/workdays.prg * contrib/hbnf/byteor.prg * contrib/hbnf/asum.prg * contrib/hbnf/shift.c * contrib/hbnf/sleep.prg * contrib/hbnf/wda.prg * contrib/hbnf/woy.prg * contrib/hbnf/aavg.prg * contrib/hbnf/any2any.prg * contrib/hbnf/origin.c * contrib/hbnf/mouse.c * contrib/hbnf/chdir.c * contrib/hbnf/adessort.prg * contrib/hbnf/setdate.prg * contrib/hbnf/netpv.prg * contrib/hbnf/amedian.prg * contrib/hbnf/blink.prg * contrib/hbnf/stod.c * contrib/hbnf/vertmenu.prg * contrib/hbnf/linked.prg * contrib/hbnf/qtr.prg * contrib/hbnf/aredit.prg * contrib/hbnf/n2color.c * contrib/hbnf/alt.c * contrib/hbnf/xbox.prg * contrib/hbnf/ftround.prg * contrib/hbnf/hex2dec.prg * contrib/hbnf/getver.c * contrib/hbnf/nwuid.prg * contrib/hbnf/dectobin.prg * contrib/hbnf/aemaxlen.prg * contrib/hbnf/bitset.prg * contrib/hbnf/nwlstat.prg * contrib/hbnf/invclr.prg * contrib/hbnf/ctrl.c * contrib/hbnf/popadder.prg * contrib/hbnf/lastday.prg * contrib/hbnf/tempfile.prg * contrib/hbnf/diskfunc.prg * contrib/hbnf/scregion.prg * contrib/hbnf/d2e.prg * contrib/hbnf/mouse2.prg * contrib/hbnf/ftisprn.c * contrib/hbnf/pickday.prg * contrib/hbnf/firstday.prg * contrib/hbnf/daytobow.prg * contrib/hbnf/anomatch.prg * contrib/hbnf/menutonf.prg * contrib/hbnf/ftattr.c * contrib/hbnf/pvid.prg * contrib/hbnf/isbiton.prg * contrib/hbnf/color2n.c * contrib/hbnf/isbit.prg * contrib/hbnf/datecnfg.prg * contrib/hbnf/cntryset.prg * contrib/hbnf/putkey.c * contrib/hbnf/getenvrn.c * contrib/hbnf/easter.prg * contrib/hbnf/bytenot.prg * contrib/hbnf/ntow.prg * contrib/hbnf/aeminlen.prg * contrib/hbnf/poke.c * contrib/hbnf/floptst.prg * contrib/hbnf/pchr.prg * contrib/hbnf/savesets.prg * contrib/hbnf/tbwhile.prg * contrib/hbnf/mkdir.c * contrib/hbnf/year.prg * contrib/hbnf/caplock.c * contrib/hbnf/rmdir.c * contrib/hbnf/calendar.prg * contrib/hbnf/e2d.prg * contrib/hbnf/elapsed.prg * contrib/hbnf/sysmem.prg * contrib/hbnf/bitclr.prg * contrib/hbnf/eltime.prg * contrib/hbnf/aading.prg * contrib/hbnf/dfile.prg * contrib/hbnf/elapmil.prg * contrib/hbnf/setlastk.c * contrib/hbnf/pending.prg * contrib/hbnf/clrsel.prg - Stripped NFDOC/HBDOC from source code. 2010-07-14 14:41 UTC+0200 Viktor Szakats * include/hbextern.ch * src/rtl/hbdoc.prg + Added __HBDOC_FROMSOURCE( <cStream> ) -> <aEntry> + tests/stripdoc.hbs + Strips NFDOC/HBDOC from .c/.prg sources. + tests/hbdocext.prg + Extracts NFDOC/HBDOC from source code. * contrib/hbct/bitnum.c * contrib/hbct/strdiff.c * contrib/hbct/token2.c * contrib/hbct/charlist.c * contrib/hbct/ctnet.c * contrib/hbct/charonly.c * contrib/hbct/atadjust.c * contrib/hbct/ctmath.c * contrib/hbct/ctset.c * contrib/hbct/ctwin.c + contrib/hbct/doc + contrib/hbct/doc/en + contrib/hbct/doc/en/strdiff.txt + contrib/hbct/doc/en/token1.txt + contrib/hbct/doc/en/token2.txt + contrib/hbct/doc/en/keyset.txt + contrib/hbct/doc/en/ct.txt + contrib/hbct/doc/en/charmirr.txt + contrib/hbct/doc/en/ctc.txt + contrib/hbct/doc/en/charlist.txt + contrib/hbct/doc/en/charlihb.txt + contrib/hbct/doc/en/relation.txt + contrib/hbct/doc/en/atadjust.txt + contrib/hbct/doc/en/charonly.txt + contrib/hbct/doc/en/ctmath.txt + contrib/hbct/doc/en/atnum.txt + contrib/hbct/doc/en/numconv.txt + contrib/hbct/doc/en/charsort.txt + contrib/hbct/doc/en/count.txt + contrib/hbct/doc/en/posdiff.txt + contrib/hbct/doc/en/ftoc.txt + contrib/hbct/doc/en/charmix.txt + contrib/hbct/doc/en/charevod.txt + contrib/hbct/doc/en/finan.txt + contrib/hbct/doc/en/range.txt + contrib/hbct/doc/en/wordrepl.txt + contrib/hbct/doc/en/charrepl.txt + contrib/hbct/doc/en/exponent.txt + contrib/hbct/doc/en/addascii.txt + contrib/hbct/doc/en/ctmath2.txt + contrib/hbct/doc/en/strswap.txt + contrib/hbct/doc/en/trig.txt + contrib/hbct/doc/en/tab.txt + contrib/hbct/doc/en/video.txt + contrib/hbct/doc/en/charswap.txt + contrib/hbct/doc/en/dattime2.txt + contrib/hbct/doc/en/dattime3.txt + contrib/hbct/doc/en/replace.txt + contrib/hbct/doc/en/charop.txt + contrib/hbct/doc/en/misc1.txt + contrib/hbct/doc/en/asciisum.txt + contrib/hbct/doc/en/color.txt + contrib/hbct/doc/en/charone.txt + contrib/hbct/doc/en/num1.txt + contrib/hbct/doc/en/pos1.txt + contrib/hbct/doc/en/pos2.txt + contrib/hbct/doc/en/numat.txt + contrib/hbct/doc/en/charophb.txt + contrib/hbct/doc/en/atrepl.txt + contrib/hbct/doc/en/ascpos.txt + contrib/hbct/doc/en/wordtoch.txt + contrib/hbct/doc/en/ctpad.txt + contrib/hbct/doc/en/datetime.txt + contrib/hbct/doc/en/print.txt + contrib/hbct/doc/en/justify.txt + contrib/hbct/doc/en/remove.txt + contrib/hbct/doc/en/ctstr.txt + contrib/hbct/doc/en/screen1.txt + Moved embedded docs to separate files. * contrib/hbct/charsort.c * contrib/hbct/ftoc.c * contrib/hbct/charmix.c * contrib/hbct/charevod.c * contrib/hbct/wordrepl.c * contrib/hbct/exponent.c * contrib/hbct/charrepl.c * contrib/hbct/files.c * contrib/hbct/strswap.c * contrib/hbct/trig.c * contrib/hbct/video.c * contrib/hbct/charswap.c * contrib/hbct/dattime3.c * contrib/hbct/charop.c * contrib/hbct/ct.prg * contrib/hbct/cursor.c * contrib/hbct/misc2.c * contrib/hbct/color.c * contrib/hbct/charone.c * contrib/hbct/num1.c * contrib/hbct/pos1.c * contrib/hbct/ctcom1.c * contrib/hbct/charophb.c * contrib/hbct/ascpos.c * contrib/hbct/numconv.prg * contrib/hbct/ctstr.c * contrib/hbct/screen1.c * contrib/hbct/token1.c * contrib/hbct/keyset.c * contrib/hbct/charmirr.c * contrib/hbct/ctc.c * contrib/hbct/ctwfunc.c * contrib/hbct/charlihb.c * contrib/hbct/relation.c * contrib/hbct/setlast.c * contrib/hbct/atnum.c * contrib/hbct/count.c * contrib/hbct/disk.c * contrib/hbct/posdiff.c * contrib/hbct/finan.c * contrib/hbct/range.c * contrib/hbct/addascii.c * contrib/hbct/ctmath2.c * contrib/hbct/tab.c * contrib/hbct/dattime2.c * contrib/hbct/replace.c * contrib/hbct/misc1.c * contrib/hbct/asciisum.c * contrib/hbct/pos2.c * contrib/hbct/numat.c * contrib/hbct/fcopy.prg * contrib/hbct/atrepl.c * contrib/hbct/ctcom2.c * contrib/hbct/wordtoch.c * contrib/hbct/ctpad.c * contrib/hbct/datetime.c * contrib/hbct/print.c * contrib/hbct/justify.c * contrib/hbct/remove.c - Stripped NFDOC/HBDOC from source code. + contrib/hbnf/doc + contrib/hbnf/doc/en + contrib/hbnf/doc/en/acctmnth.txt + contrib/hbnf/doc/en/savearr.txt + contrib/hbnf/doc/en/rand1.txt + contrib/hbnf/doc/en/madd.txt + contrib/hbnf/doc/en/dispmsg.txt + contrib/hbnf/doc/en/numlock.txt + contrib/hbnf/doc/en/mouse1.txt + contrib/hbnf/doc/en/settime.txt + contrib/hbnf/doc/en/restsets.txt + contrib/hbnf/doc/en/page.txt + contrib/hbnf/doc/en/prtscr.txt + contrib/hbnf/doc/en/color2n.txt + contrib/hbnf/doc/en/byt2bit.txt + contrib/hbnf/doc/en/month.txt + contrib/hbnf/doc/en/byt2hex.txt + contrib/hbnf/doc/en/findith.txt + contrib/hbnf/doc/en/at2.txt + contrib/hbnf/doc/en/acctweek.txt + contrib/hbnf/doc/en/gcd.txt + contrib/hbnf/doc/en/poke.txt + contrib/hbnf/doc/en/pegs.txt + contrib/hbnf/doc/en/min2dhm.txt + contrib/hbnf/doc/en/acctqtr.txt + contrib/hbnf/doc/en/dosver.txt + contrib/hbnf/doc/en/mkdir.txt + contrib/hbnf/doc/en/nooccur.txt + contrib/hbnf/doc/en/dayofyr.txt + contrib/hbnf/doc/en/metaph.txt + contrib/hbnf/doc/en/menu1.txt + contrib/hbnf/doc/en/byteand.txt + contrib/hbnf/doc/en/setlastk.txt + contrib/hbnf/doc/en/sqzn.txt + contrib/hbnf/doc/en/bytexor.txt + contrib/hbnf/doc/en/workdays.txt + contrib/hbnf/doc/en/byteor.txt + contrib/hbnf/doc/en/asum.txt + contrib/hbnf/doc/en/sleep.txt + contrib/hbnf/doc/en/wda.txt + contrib/hbnf/doc/en/aavg.txt + contrib/hbnf/doc/en/woy.txt + contrib/hbnf/doc/en/alt.txt + contrib/hbnf/doc/en/any2any.txt + contrib/hbnf/doc/en/adessort.txt + contrib/hbnf/doc/en/setdate.txt + contrib/hbnf/doc/en/netpv.txt + contrib/hbnf/doc/en/amedian.txt + contrib/hbnf/doc/en/blink.txt + contrib/hbnf/doc/en/ctrl.txt + contrib/hbnf/doc/en/vertmenu.txt + contrib/hbnf/doc/en/qtr.txt + contrib/hbnf/doc/en/linked.txt + contrib/hbnf/doc/en/aredit.txt + contrib/hbnf/doc/en/shift.txt + contrib/hbnf/doc/en/fttext.txt + contrib/hbnf/doc/en/xbox.txt + contrib/hbnf/doc/en/ftround.txt + contrib/hbnf/doc/en/hex2dec.txt + contrib/hbnf/doc/en/nwuid.txt + contrib/hbnf/doc/en/dectobin.txt + contrib/hbnf/doc/en/chdir.txt + contrib/hbnf/doc/en/bitset.txt + contrib/hbnf/doc/en/aemaxlen.txt + contrib/hbnf/doc/en/nwlstat.txt + contrib/hbnf/doc/en/invclr.txt + contrib/hbnf/doc/en/popadder.txt + contrib/hbnf/doc/en/lastday.txt + contrib/hbnf/doc/en/dispc.txt + contrib/hbnf/doc/en/ftattr.txt + contrib/hbnf/doc/en/tempfile.txt + contrib/hbnf/doc/en/diskfunc.txt + contrib/hbnf/doc/en/stod.txt + contrib/hbnf/doc/en/scregion.txt + contrib/hbnf/doc/en/mouse2.txt + contrib/hbnf/doc/en/d2e.txt + contrib/hbnf/doc/en/kspeed.txt + contrib/hbnf/doc/en/descendn.txt + contrib/hbnf/doc/en/pickday.txt + contrib/hbnf/doc/en/firstday.txt + contrib/hbnf/doc/en/daytobow.txt + contrib/hbnf/doc/en/getenvrn.txt + contrib/hbnf/doc/en/anomatch.txt + contrib/hbnf/doc/en/menutonf.txt + contrib/hbnf/doc/en/pvid.txt + contrib/hbnf/doc/en/proper.txt + contrib/hbnf/doc/en/isbiton.txt + contrib/hbnf/doc/en/isbit.txt + contrib/hbnf/doc/en/cntryset.txt + contrib/hbnf/doc/en/datecnfg.txt + contrib/hbnf/doc/en/caplock.txt + contrib/hbnf/doc/en/easter.txt + contrib/hbnf/doc/en/bytenot.txt + contrib/hbnf/doc/en/ftisprn.txt + contrib/hbnf/doc/en/setkeys.txt + contrib/hbnf/doc/en/ntow.txt + contrib/hbnf/doc/en/aeminlen.txt + contrib/hbnf/doc/en/floptst.txt + contrib/hbnf/doc/en/pchr.txt + contrib/hbnf/doc/en/savesets.txt + contrib/hbnf/doc/en/tbwhile.txt + contrib/hbnf/doc/en/year.txt + contrib/hbnf/doc/en/calendar.txt + contrib/hbnf/doc/en/e2d.txt + contrib/hbnf/doc/en/sysmem.txt + contrib/hbnf/doc/en/elapsed.txt + contrib/hbnf/doc/en/n2color.txt + contrib/hbnf/doc/en/bitclr.txt + contrib/hbnf/doc/en/eltime.txt + contrib/hbnf/doc/en/putkey.txt + contrib/hbnf/doc/en/aading.txt + contrib/hbnf/doc/en/dfile.txt + contrib/hbnf/doc/en/elapmil.txt + contrib/hbnf/doc/en/pending.txt + contrib/hbnf/doc/en/peek.txt + contrib/hbnf/doc/en/clrsel.txt + contrib/hbnf/doc/en/ontick.txt + contrib/hbnf/doc/en/acctyear.txt + contrib/hbnf/doc/en/byteneg.txt + contrib/hbnf/doc/en/isshare.txt + contrib/hbnf/doc/en/sinkey.txt + contrib/hbnf/doc/en/iamidle.txt + contrib/hbnf/doc/en/ftidle.txt + contrib/hbnf/doc/en/rmdir.txt + contrib/hbnf/doc/en/scancode.txt + contrib/hbnf/doc/en/vidmode.txt + contrib/hbnf/doc/en/origin.txt + contrib/hbnf/doc/en/nwsem.txt + contrib/hbnf/doc/en/acctadj.txt + contrib/hbnf/doc/en/week.txt + contrib/hbnf/doc/en/vidcur.txt + contrib/hbnf/doc/en/readme.txt + contrib/hbnf/doc/en/prtesc.txt + contrib/hbnf/doc/en/miltime.txt + Moved embedded docs to separate files. * contrib/hbnf/kspeed.c * contrib/hbnf/iamidle.c * contrib/hbnf/miltime.prg * contrib/hbnf/mouse1.prg * contrib/hbnf/setkeys.c * contrib/hbnf/origin.c * contrib/hbnf/chdir.c * contrib/hbnf/hex2dec.prg * contrib/hbnf/mouse2.prg * contrib/hbnf/ftisprn.c * contrib/hbnf/putkey.c * contrib/hbnf/floptst.prg * contrib/hbnf/mkdir.c * contrib/hbnf/rmdir.c * contrib/hbnf/setlastk.c ! Fixed NFDOC formatting. ; TODO: Strip docs. [DONE] 2010-07-14 12:49 UTC+0200 Viktor Szakats * contrib/hbct/screen2.c * contrib/hbct/token2.c * contrib/hbct/charsprd.c * contrib/hbct/atadjust.c * contrib/hbct/ctwin.c * contrib/hbct/maxline.c * contrib/hbct/dattime3.c * contrib/hbct/misc2.c * contrib/hbct/ctchksum.c * contrib/hbct/screen1.c * contrib/hbct/token1.c * contrib/hbct/atnum.c * contrib/hbct/blank.c * contrib/hbct/ctcrypt.c * contrib/hbct/disk.c * contrib/hbct/ctstrfil.c * contrib/hbct/dattime2.c * contrib/hbct/expand.c * contrib/hbct/numat.c * contrib/hbct/atrepl.c * contrib/hbct/ctpad.c * contrib/hbct/print.c * HB_SIZE/HB_ISIZ/HB_FOFFSET variables renamed. (verified with msvc64 obj comparison) * contrib/hbct/token1.c ! Fixed to use HB_SIZE_MAX instead of literal limit. 2010-07-14 12:25 UTC+0200 Viktor Szakats * utils/hbmk2/Makefile * utils/hbmk2/hbmk2.prg + Added build time configuration for GPM (on Linux) and WATT (on MS-DOS) builds. This makes hbmk.hbc generation (at 'install' phase) unnecessary, which means that now 'install' is not required on _any_ platforms and scenarios to use hbmk2. Since hbmk2 is now used to build contribs, this is now also a reqiurement. ; Please test, I didn't make any Linux, MS-DOS build tests after this change. * config/postinst.hbs - Deleted hbmk.hbc creation. Now this logic is included in hbmk2 at build-time on Linux and MS-DOS build which have GPM lib and WATT lib detected respectively. * contrib/hbct/numline.c * HB_ISIZ variables renamed. 2010-07-14 11:46 UTC+0200 Viktor Szakats * include/hbapi.h * src/common/Makefile + src/common/hbstrbm.c + Added hb_strAtTBM() which provides fast text search using Turbo Boyer-Moore(-Crochemore) algorithm. The interface is the same as hb_strAt(). HB_AT()/AT() could use it beyond some haystack sizes to speed up the results. + contrib/hbqt/tests/testbrow.prg + Added useful browse example implemented using QT. * tests/utf8at.prg + Changed to not use high chars. 2010-07-14 10:10 UTC+0200 Viktor Szakats * include/hbapicdp.h * src/rtl/cdpapi.c * src/rtl/cdpapihb.c + tests/utf8at.prg + Added hb_cdpUTF8StringAt() ; Patch by Carlos Bacco. Many thanks! * include/hbextern.ch * include/hbapicdp.h * src/rtl/cdpapi.c * src/rtl/cdpapihb.c ; my modifications to above patch: - Using HB_BOOL instead of int for flag value. % HB_UTF8AT(), HB_UTF8RAT() optimized to use hb_param(), plus optimized out variables. ! HB_UTF8AT(), HB_UTF8RAT() fixed 'nEnd < nStart' case. ! Some formatting. + Added new functions to hbextern.ch. * tests/utf8at.prg * Changed to use UTF8 string as base. * Avoiding "OEM" and "ANSI" Microsoft misleading terms, using standard CP names instead. ! Using HB_TRANSLATE() to convert between CPs (instead of non-portable, Windows-only HB_OEMTOANSI()/HB_ANSITOOEM() functions). * Formatting. * Using '?' instead of QOUT(), plus added simpleio.ch to allow redirection of output. * contrib/make.hbs * Minor step to make dependency evaluation and automatic sorting of components for build. * utils/hbmk2/hbmk2.pt_BR.po * utils/hbmk2/hbmk2.hu_HU.po * utils/hbmk2/hbmk2.prg + Added -vcshead support for Monotone version control software. % Cleaned and optimized "in dir" C compiler run mode. (currently used by mingw) ! Fixed "in dir" C compiler run mode when using -jobs= option for multithreaded builds. % Little optimization to --hbinfo option. 2010-07-13 19:24 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) + contrib/hbide/dbstruct.ui + contrib/hbide/resources/dbstruct.png * contrib/hbide/hbide.hbp * contrib/hbide/hbide.qrc * contrib/hbide/idebrowse.prg * contrib/hbide/idemisc.prg + Implemented: ideDBU - View and navigate the structure of current table in focus. More features follow. 2010-07-13 16:02 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fixed to rebase -I dirs also, when using new in-dir mingw (experimental) call method. * contrib/hbmzip/hbmzip.c * contrib/hbbz2/hbbz2.c * contrib/hbmemio/memio.c * contrib/hbxpp/xppopc.c * contrib/hbmisc/strfmt.c * contrib/hbmisc/stringsx.c * contrib/hbtip/utils.c * HB_SIZE/HB_ISIZ variables renamed. * contrib/hbmemio/memio.c * HB_ULONG -> HB_SIZE in missing places. * contrib/hbtip/utils.c * contrib/hbtip/thtml.prg * PSTRCOMPI() function renamed to __TIP_PSTRCOMPI() INCOMPATIBLE: If someone by any chance used this internal worker function in user code, pls update the name. % __TIP_PSTRCOMPI(): optimization. 2010-07-13 12:00 UTC+0200 Viktor Szakats * src/rtl/hbdoc.prg * include/hbextern.ch + Added __HBDOC_TOSOURCE( <aEntry> ) which is able to rebuild original HBDOC source from memory variable. ATM language information is lost in the process, this will have to be solved in the future. * utils/hbmk2/hbmk2.prg + Added experimental optimization to mingw build, where the compiler is called only once to compile all files. Since gcc doesn't have a switch for that, it's done in tricky way by changing directory and recalculating source dir relative from workdir. Now it's active by default, pls report any build errors, especially in multithreaded mode. * contrib/hbqt/generator/hbqtgen.prg * Cleanups * contrib/hbwin/win_shell.c ! Reverted previous patch 2010-07-13 08:55, it broke mingw builds. 2010-07-13 08:55 UTC+0200 Viktor Szakats + tests/hbmk.hbm + Added hbmk2 automatic configuration to set warning level to 3. * tests/hbdoctst.prg * Minor. * contrib/hbdoc2/hbdoc2.hbp + Added output name. * contrib/hbnetio/utils/hbnetio.hbp * Commented -DHB_EXTERN option. * contrib/hbwin/win_shell.c ! Patch by Tamas Tevesz to fix compilation on newer (>= 0x621) Borland compiler versions. 2010-07-12 18:33 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/idestylesheets.prg ! Fixed: main menu colors for navigated prompts. Let me know if you have other opinions. 2010-07-12 17:27 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/idebrowse.prg * contrib/hbxbp/xbpbrowse.prg % Ratified: many artifacts about vertical navigation, especially after resizing is affected. Now you can see this difference in demoXBP and hbIDE's ideDBU. 2010-07-12 22:50 UTC+0200 Viktor Szakats - contrib/hbqt/gensource ! Unused, deleted. * contrib/hbqt/qtgui/* * contrib/hbqt/qtcore/* * contrib/hbqt/qtnetwork/* * Regenerated. 2010-07-12 22:37 UTC+0200 Viktor Szakats * contrib/make.hbs + Added support for HB_CONTRIBS ennvar which is to replace HB_CONTRIBLIBS eventually. * contrib/hbqt/generator/hbqtgen.prg * contrib/hbqt/hbqt.ch * contrib/hbqt/hbqt.h * contrib/hbqt/hbqt_hbqabstractitemmodel.cpp ! Applied patch by Bacco (QT_TYPE -> HBQT_TYPE) with formatting fixes (whichspace, alignment), please adapt them. 2010-07-12 12:44 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * tests/hbdoctst.prg + Added missing "directry.ch" header. 2010-07-12 21:40 UTC+0200 Viktor Szakats * contrib/hbqt/hbqt.hbp ! Fixed wrongly added header for moc processing in: 2010-07-11 22:35 UTC-0800 This was causing all the reported problems in the last few hours. Pls make sure to keep hbmk2 build files in proper condition, as they are activated for more and more projects and such problems will surface as soon as the switch is made to hbmk2 build system for contribs. 2010-07-12 21:38 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fixed to not generate implibs in --hbinfo mode. * contrib/make.hbs % Minor. 2010-07-12 20:39 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fixed to honor -stop option in -hbimplib mode. ! Fixed --hbinfo when there is missing dependency. * contrib/hbmysql/hbmysql.hbi * contrib/gtalleg/gtalleg.hbi * contrib/sddmy/sddmy.hbi * contrib/sddfb/sddfb.hbi * contrib/hbblat/hbblat.hbi * contrib/hbfbird/hbfbird.hbi * contrib/sddpg/sddpg.hbi * contrib/hbcurl/hbcurl.hbi * contrib/hbhpdf/hbhpdf.hbi * contrib/hbpgsql/hbpgsql.hbi * contrib/rddads/rddads.hbi * contrib/hbfimage/hbfimage.hbi * contrib/hbgd/hbgd.hbi * contrib/sddoci/sddoci.hbi * contrib/hbcairo/hbcairo.hbi * contrib/hbssl/hbssl.hbi + Added -stop option in case HB_WITH_* var is empty. This helps reducing some clutter in build log output. * contrib/make.hbs ! Fixed to clear target type detection result from previous contrib (even though such case cannot happen if hbmk2 does it's job right) * contrib/hbdoc2/gentpl.prg * contrib/hbdoc2/gentxt.prg * contrib/hbdoc2/tmplates.prg * contrib/hbdoc2/genxml.prg * contrib/hbdoc2/genhtml.prg * contrib/hbdoc2/hbdoc2.prg * contrib/hbdoc2/hbdoc2.ch % Peeling off unused code and other cleanup work. (didn't retest) 2010-07-12 18:44 UTC+0200 Viktor Szakats * include/hbextern.ch * src/rtl/Makefile + src/rtl/hbdoc.prg + Added __HBDOC_LOADDIR() internal RTL function to read NFDOC formatted documentation source directories into memory. The result will be a list of hashes which contain the raw content of doc files. The function does format validation (but not content) and add all agreed-on metadata to the hashes. It's a start and I hope others can join to create new layers of function for below functionality: - doc content validation - pre-formatting - output generators The goal is to avoid local solutions and standardize the format. + tests/hbdoctst.prg + Added small test app which will find and parse all documentation inside the Harbour source tree and save them in .hbd (serialized doc hash) format. Such .hdb files can be generated by the build process in the future, so tools like HBIDE can use the content to display intellisense or built-in help. ; TODO: HBQT doc/html should be removed as it's hbdoc tools' job to convert HBDOC source format to html or whatever else format needed. [DONE] * harbour.spec * debian/rules - doc/man + src/pp/hbpp.1 + src/main/harbour.1 + utils/hbmk2/hbmk2.1 + utils/hbtest/hbtest.1 + utils/hbrun/hbrun.1 * Moved man doc files to their own component dirs. * doc/Makefile * doc/en/Makefile + doc/clipper.txt - doc/en/clipper.txt * Moved non-NFDOC formatted doc file to doc dir. * doc/en/Makefile ! Fixed missing 1stread.txt * doc/en/hb_apigt.txt * doc/en/hbinet.txt * doc/en/tbrowse.txt * doc/en/hb_apifs.txt ! Fixed NFDOC non-standard entries. * bin/hbxpatch.hbs ! Fixed detecting dirs. (could cause errors only in rare cases) * contrib/hbdoc2/tmplates.prg * Formatting. 2010-07-12 09:06 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/idesources.prg ! Fixed: "Save As..." had gone disabled with another fix. + contrib/hbqt/qtcore/HBQAbstractItemModel.cpp + contrib/hbqt/qtcore/THBQAbstractItemModel.prg + Added: missing files from previous commit. * contrib/hbxbp/xbpdialog.prg ! Minor. 2010-07-12 15:05 UTC+0200 Viktor Szakats * contrib/xhb/xhbat.c * Renamed HB_SIZE/HB_ISIZ variables. * src/vm/hashfunc.c * src/rtl/at.c * src/rtl/ati.c * contrib/xhb/xhbat.c % Deleted unnecessary HB_SIZE casts. * contrib/hbdoc2/gentpl.prg * contrib/hbdoc2/gentxt.prg * contrib/hbdoc2/tmplates.prg * contrib/hbdoc2/genxml.prg * contrib/hbdoc2/genhtml.prg * contrib/hbdoc2/hbdoc2.prg * contrib/hbdoc2/genhbd.prg ! Typo in prev regarding .hdb output. + Attempt to creating separate .hbd file for each input. Doesn't work. * .NOT. -> ! ! ' = ' -> ' := ' ! Fixed to parse contrib dirs properly (still not good, we'd need a better way to indentify doc subdirs and enable doc parsing only inside these dirs) ! Fixed to not crash when parsing hbgd docs. Now this still needs fixing as it now shows errors for almost all docs inside the contrib area. ! Added '#include "simpleio.ch"' + Enabled to parse contrib area (mainly for testing). ; NOTE: I sense an extreme chaos even in our "agreed" doc format. This parser needs serious cleanup and we should have _one_ _proper_ implementation to parse doc texts and to write them to disk. Now all tools have their own standards and imaginations (extension) about the doc format, which is a sure way to kill the whole effort. A proper implementation should first convert the on-disk NF format to an in-memory format, then pass it to output generator modules. * contrib/xhb/freadlin.c ! Fixed hb_xfree warning after recent cleanup. * contrib/xhb/hboutdbg.c * contrib/xhb/xhbenum.c * contrib/xhb/dbf2txt.c * contrib/xhb/fparse.c * contrib/xhb/xstrdel.c * contrib/xhb/xhbsave.c * contrib/xhb/xhbwith.c * contrib/xhb/xhbhasha.c * contrib/xhb/datesxhb.c * contrib/xhb/xhbat.c * contrib/xhb/xhbmsgs.c * contrib/xhb/freadlin.c * contrib/xhb/xhbarr.c * contrib/xhb/txtline.c * contrib/xhb/xhbtrim.c * contrib/xhb/hbserv.c * contrib/xhb/cstructc.c * contrib/xhb/xhbfunc.c * HB_SIZE/HB_ISIZ variables renamed. * 'unsigned int' -> 'HB_UINT' where applicable. 2010-07-12 11:33 UTC+0200 Viktor Szakats * contrib/hbqt/tests/testres.prg + contrib/hbqt/tests/testqaim.prg * contrib/hbqt/hbqt_hbqabstractitemmodel.cpp + Added patch from Bacco. ! Fixed indentation, formatting, whitespaces, SVN ID, using hb_ntos(), END -> ENDSEQUENCE. Pls check my diff to adapt to the style. * contrib/hbqt/hbqt.ch * contrib/hbqt/hbqt.h * contrib/hbqt/hbqt_hbqabstractitemmodel.cpp * contrib/hbqt/tests/testqaim.prg * contrib/hbxbp/xbpbrowse.prg * Renamed QT_QAIM_* to HBQT_QAIM_*. These don't look like QT contants, pls tell me if I'm wrong. 2010-07-12 10:04 UTC+0200 Viktor Szakats * contrib/hbqt/hbqt_hbqabstractitemmodel.cpp ! Fixed formatting. ! Added copyright header. ! Added SVN header, * contrib/hbdoc2/gentpl.prg * contrib/hbdoc2/gentxt.prg * contrib/hbdoc2/genxml.prg * contrib/hbdoc2/genhtml.prg + contrib/hbdoc2/genhbfdb.prg * contrib/hbdoc2/hbdoc2.prg * contrib/hbdoc2/hbdoc2.hbp * Minor cleanups. ! Fixed RTE when using target formats without index. * Changed default output format to -output-category + Added new experimental output format tailored to help "intellisense" technology. It currently holds function prototype only, but in the future it can hold full docs so that ide's like hbide can easily extract all documentation and present it smartly. Current format has the extension .hbd, and it's a serialized array of strings of function prototypes. Also probably hashes would be better. ; TODO: Fix hbdoc2 to generate separate output dirs/files for separate components. Currently everything is mashed together. [DONE] * contrib/make.hbs * contrib/Makefile * hbqt and hbxbp are now built using hbmk2. This has the nice "side-effect" that now libs will be rebuild even if some headers changed, so there is less chance to have broken build after a plain (non-clean) rebuild. 2010-07-11 22:35 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/filelist.mk * contrib/hbqt/generator/hbqtgen.prg * contrib/hbqt/generator/qt45.qtp * contrib/hbqt/hbqt.ch * contrib/hbqt/hbqt.h * contrib/hbqt/hbqt.hbp * contrib/hbqt/hbqt_garbage.h + contrib/hbqt/hbqt_hbqabstractitemmodel.cpp + contrib/hbqt/hbqt_hbqabstractitemmodel.h * contrib/hbqt/qtcore/filelist.hbm * contrib/hbqt/qtcore/filelist.mk + contrib/hbqt/qth/HBQAbstractItemModel.qth * contrib/hbxbp/xbpbrowse.prg + Applied patch provided by Bacco, thanks. This implements one more member to the structure which will help simplifying many complex structures in hbQT. * Regenerated: *.cpp 2010-07-11 19:29 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/hbide.hbp - Deleted: ideprotos.prg - contrib/hbide/plugins/example_gui.hbs + contrib/hbide/plugins/hbide_script_qtgui.hbs + Added: the prefix "hbide_script_" to hbide callable script files. - contrib/hbide/plugins/savebackup.hbs + contrib/hbide/plugins/hbide_plugin_savebackup.hbs + Added: the prefix "hbide_plugin_" to hbIDE plugin files. + contrib/hbide/resources/file-open.png * contrib/hbide/hbide.qrc + Added: one more image for tool-buttons on "Files" page of "Setup". * contrib/hbide/editor.ui * contrib/hbide/environments.ui * contrib/hbide/setup.ui % Modified and Added: some of the components. * contrib/hbide/hbide.prg * contrib/hbide/ideeditor.prg * contrib/hbide/ideenviron.prg * contrib/hbide/ideharbourhelp.prg * contrib/hbide/idehbprotos.prg * contrib/hbide/idemisc.prg * contrib/hbide/ideplugins.prg * contrib/hbide/ideprojmanager.prg * contrib/hbide/idesaveload.prg * contrib/hbide/ideskeletons.prg * contrib/hbide/idesources.prg * contrib/hbide/idethemes.prg + Implemented: hbIDE installation independent paths to hold various files and components. Now only hbide.ini reference is required to load all other parameters pointing to next needed locations for various components. It also effectively means that hbIDE can be distributed as stand alone single executable ( if linked statically with Qt ) or only with Qt's run-time .dlls. hbIDE now makes no assumptions itself. User has to furnish few infos, though, interfaced at a single point. The Interface to hold information : <Setup><Files> The Paths and Files Interpretation: 0. hbide.ini Path - File - Cmd Line: APPDATA|HOME/hbide 1. Harbour's Root Path - Path - No Assumptions: should be provided 2. Hbmk2 Executable Location - File - Default: hb_getenv("HBIDE_DIR_HBMK2")/hbmk2 3. Resources [Plugins,Scripts,etc] - Path - Default: _Path_of_hbIDE_ini_ 4. Temporary Files - Path - Reserved: TODO 5. Environments [.env] - File - Default: _Path_of_hbIDE_ini_dot_env 6. Keyboard Mappings [.scu] - File - Default: _Path_of_hbIDE_ini_dot_scu 7. Code Snippets [.skl] - File - Default: _Path_of_hbIDE_ini_dot_skl 8. Syntax Highlighter Themes [.hbt]- File - Default: _Path_of_hbIDE_ini_dot_hbt The interface provides for a quick editing of .env.skl.hbt files in-place. Interface also provides for viewing facility of hbide.ini file. Plugins and scripts have gone prefix and usage changes: 1. _Path_to_Resources/hbide_auto_*.hbs|prg are automatically executed just after hbIDE appears on the screen. 2. _Path_to_Resources/hbide_plugin_*.prg|hbs|hrb can be defined to be executed as per previous instructions. 3. _Path_to_Resources/hbide_protos_* are automatically loaded for code completion lists leading to proto-tips. [New - details below] + Implemented: auto loading of code completion lists and proto-tips. Any file as hbide_protos_SOMENAME_with_or_without_extention placed in _Resources_ folder will be automatically loaded at startup. These files are plain text files. The following rules apply: 1. Each proto must be placed on one line. 2. Blank lines are permissible. 3. Commands can be placed on multiple lines, each line ending with ";" except the last one, like: COPY [TO <(f)>] [SDF] [FIELDS <fields,...>] ; [FOR <for>] [WHILE <while>] [NEXT <next>] ; [RECORD <rec>] [<rest:REST>] [ALL] [CODEPAGE <cp>] 4. Functions must be opened with a brace without any preceeding space: MyFunction ( abd, cde, efg ) => Wrong MyFunction( abd, cde, efg ) => Right I must be omitting some more facts which may have been changed|removed. Also regression is possible, please make few tests and report back if something went weired. 2010-07-11 22:40 UTC+0200 Viktor Szakats - examples/hbdoc2 + contrib/hbdoc2 * contrib/make.hbs + Moved hbdoc2 to contrib area. + Added hbdoc2 to std set of utils built. ; I plan to add hbdoc2 to std build process so that we don't have to ship raw doc files in distros, plus, tools like hbide can use pre-compiled docs for "intellisense" feature. We don't have such pre-compiled file format. ; TODO: Delete hbdoc processing logic and code from hbide and use external calls to hbdoc2 for such tasks (e.g. when compiling "intellisense" database for addon lib. * contrib/hbpost.hbm ! Fixed typo in -o option. ! Fixed tricky error in last commit causing workdir to be placed at wrong place. 2010-07-10 19:15 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qth/HBQPlainTextEdit.qth * contrib/hbqt/qtgui/HBQPlainTextEdit.cpp * contrib/hbqt/qtgui/THBQPlainTextEdit.prg + Added: two more arguments in :hbShowPrototype(). * contrib/hbqt/doc/en/class_hbqplaintextedit.txt * contrib/hbqt/hbqt_hbqplaintextedit.cpp * contrib/hbqt/hbqt_hbqplaintextedit.h * contrib/hbide/ideedit.prg + Implemented: vertical display of proto-tip. Now if number or arguments in a funtion prototype are more than 1, the tip will be presented as vertical list. An image to this effect will follow in reply to this message. 2010-07-10 12:03 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/hbqt_hbqplaintextedit.cpp ! Adjusted horizontal position of proto-tip. * contrib/hbide/hbide.prg * contrib/hbide/ideedit.prg * contrib/hbide/ideeditor.prg * contrib/hbide/idesources.prg ! Changed: the way sources were alerted to be saved if in modified state when exiting hbIDE. Now <Cancel> option is not provided. + Implemented: proto-tip highlights the current argument corresponding to the cursor position within the function's opening brace and end of the line. 2010-07-10 10:48 UTC+0200 Viktor Szakats * include/hbassert.h ! Fixed to only enable assert()s when HB_BUILD_DEBUG is activated. (So far assert() was disabled for msvcarm only in normal builds.) Pls check me. In some places assert(0) is used which is a permanent exit, so maybe these would need to be replaced with hb_errInternal()? * include/assert.ch ! Typo in comment. * contrib/make.hbs % Minor opt. 2010-07-10 08:52 UTC+0200 Viktor Szakats * src/rtl/gtdos/gtdos.c * src/rtl/gtwin/gtwin.c * src/rtl/gtos2/gtos2.c * src/rtl/gtsln/kbsln.c * include/hbapigt.h ! Fixed code to use HB_INKEY_RAW constant. * Marked C level INKEY_RAW constant with HB_LEGACY_LEVEL3. 2010-07-10 08:15 UTC+0200 Viktor Szakats * utils/hbrun/hbrun.prg * Upped history length to 500 (from 128) * contrib/make.hbs * Skip hbppo projects. * Minor internal mods. * contrib/hbqt/hbqt_common.hbm ! Fixed hbmk2 plugin name. 2010-07-09 18:35 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/doc/en/class_hbqplaintextedit.txt * contrib/hbqt/hbqt_hbqplaintextedit.cpp * contrib/hbqt/hbqt_hbqplaintextedit.h * contrib/hbqt/qtgui/HBQPlainTextEdit.cpp * contrib/hbqt/qtgui/THBQPlainTextEdit.prg * contrib/hbqt/qth/HBQPlainTextEdit.qth * contrib/hbide/hbide.prg * contrib/hbide/ideedit.prg * contrib/hbide/ideeditor.prg * contrib/hbide/idefunctions.prg * contrib/hbide/ideharbourhelp.prg + Implemented: completely reworked code completion basics and brand new function prototype display as tooltip ( now entirely native widget with many extras ). 2010-07-09 22:57 UTC+0200 Viktor Szakats * contrib/make.hbs * contrib/hbpre.hbm ! Fixed -build option to be always passed on the command-line. % Cleaned 'hbmk2 --hbinfo' command-line. 2010-07-09 22:49 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + --hbrefs option renamed to --hbinfo and now also includes target type. + Extended target detection with 'hbppo' and 'hbhrb' types. These are automatically detected from Harbour option usage. + Added ${hb_outputname} macro. Returns the output name as specified with -o option, without extension. Returns empty if there wasn't -o option at the point of usage. + Added ${hb_outputdir} macro. Returns the output dir as specified with -o option. Returns empty if there wasn't -o option at the point of usage. + -p -s options don't require to manually select -hbraw mode, it will be autodetected. ! Fixed to not interpret -i- Harbour option as include dir. + Don't add the same Harbour option twice. * contrib/Makefile * contrib/make.hbs + contrib/hbpost.hbm + contrib/hbpre.hbm % Cleaned the way build options are passed to hbmk2. + Synced much more options and build behavior of hbmk2 based contrib build with GNU Make build (debug, unicode, warnings, Harbour settings, C settings) + Added more projects to hbmk2 build method. % Deleted MS-DOS specific hack (for now) because the new command-lines are very short. ; TODO: Now make.hbs is not self-contained, which would better be solved somehow. * contrib/make.hbs + It will now detect and show target type in stdalone mode. + Synced default build options with GNU Make. * contrib/hbqt/hbqts.hbp * contrib/hbqt/hbqtguis.hbp * contrib/hbqt/hbqtcores.hbp * contrib/hbqt/hbqtnetworks.hbp + Added -hblib option to make it easy to detect target type for 3rd party tools. * contrib/hbnetio/utils/netiosrv.prg + Will now also accept .hbs and .prg files as RPC filters. - contrib/hbnetio/utils/modules * contrib/hbnetio/utils/modules.hbp + contrib/hbnetio/utils/rpcdemo.hbs * Renamed RPC demo to .hbs. * Deleted modules subdir. - contrib/hbnetio/utils/hbmk.hbm * contrib/hbnetio/utils/hbnetio.hbp - Deleted separate hbmk.hbm. * contrib/hbnetio/utils/netiocmd.prg ! Minor in help screen. * contrib/hbnetio/tests/netiotst.prg + Added some feedback. 2010-07-09 16:22 UTC+0200 Viktor Szakats * src/rtl/gtsys.c ! Added hack to fix setting default GT in bcc C++ builds. (please replace this with more elegant solution) * src/rtl/gtwin/gtwin.c * static var prefixed with 's_' * contrib/hbqt/hbqt_common.hbm * contrib/hbqt/hbqtcore.hbp * contrib/hbqt/qtwebkit/hbqtwebkit.hbp * contrib/hbqt/hbqscintilla/hbqscintilla.hbp * contrib/hbqt/hbqtnetwork.hbp * contrib/hbqt/qtdesigner/hbqtdesigner.hbp * contrib/hbqt/hbqt.hbp * contrib/hbqt/hbqtgui.hbp - -hblib option moved from common part to each .hbp. It's cleaner and more generic this way plus it helps tools (make.hbs and hbide) to decide about project type. 2010-07-09 15:08 UTC+0200 Viktor Szakats * src/compiler/genc.c * src/compiler/gencc.c ! Fixed format strings to be win64 compatible. Also fixing mingw64 (4.6.0) reported warnings. ; I'd appreciate a review here. There are explicit lengths used in some of these format strings, which may need to be extended. * src/rdd/dbffpt/dbffpt1.c ! Silenced bcc warning. 2010-07-09 14:51 UTC+0200 Viktor Szakats * contrib/hbide/idehbprotos.prg - Deleted references to contribs (and some local projects not present in SVN). Pls don't readd them as they break separation of components. ; FIXME: Remove even Harbour one, because hbide is supposed to be a separate component, which means HBIDE users shouldn't be forced to match their HBIDE version with the Harbour version which they use. E.g. they may even use HBIDE to develop using multiple versions of Harbour or even xhb, so hard-wiring language information directly into the .exe is not good solution. Instead pl rely on doc/en folder dynamically found in pointed distribution. [DONE] 2010-07-09 14:45 UTC+0200 Viktor Szakats * contrib/hbqt/generator/hbqtgen.prg + Will now generate hbmk2 style makefiles too. + contrib/hbqt/qtgui/filelist.hbm + contrib/hbqt/qtcore/filelist.hbm + contrib/hbqt/qtnetwork/filelist.hbm + Added new generated files. * contrib/hbqt/hbqtcore.hbp * contrib/hbqt/hbqtnetwork.hbp * contrib/hbqt/hbqtgui.hbp * contrib/hbqt/qtwebkit/hbqtwebkit.hbp * contrib/hbqt/qtdesigner/hbqtdesigner.hbp + Added explicit file list instead of relying on wildcards. 2010-07-09 11:56 UTC+0200 Viktor Szakats * src/rtl/console.c * src/rtl/hbgtcore.c * Made internal error codes of "terminal init failure"s occuring in different situations different. I hope I left 9998 for the one that happens usually. * contrib/Makefile - Deleted hbnetio from list, it's now made by make.hbs. * config/postinst.hbs * Minor. 2010-07-09 10:29 UTC+0200 Viktor Szakats * contrib/make.hbs + Honor HB_BUILD_PARTS for contribs. 2010-07-09 10:02 UTC+0200 Viktor Szakats * package/winuni/mpkg_win_uni_extra_copy.bat + Include /doc/* tree in binary distro. This makes code generation and embedding that large amount of generated code into hbide itself (at build time) unnecessary. All hbide needs to do is processing these docs at runtime, and storing the results and index (e.g. as serialized hash into some local cache dir in its setting area). At startup, periodically, or by users request it can rescan the docs and regenerate its caches. * utils/hbmk2/hbmk2.prg + Added nesting level information to --hbrefs output. 2010-07-09 00:04 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/hbqt_hbqplaintextedit.cpp ! Changed: threshhold to activate codec ompletion list from 3 to 1. + contrib/hbide/idehbprotos.prg + Added: Harbour prototypes generated auto from Harbour documentation text file spread in harbour/../doc/en folders. * contrib/hbide/hbide.hbp + Added: idehbprotos.prg. * contrib/hbide/ideeditor.prg * contrib/hbide/ideharbourhelp.prg * contrib/hbide/idesaveload.prg + Implemented: in-place Harbour keywords and prototypes as a .prg list. Now no need to have Harbour installed on the machine to have them. 2010-07-08 19:01 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/hbide.prg * contrib/hbide/idedocks.prg * contrib/hbide/ideedit.prg * contrib/hbide/ideeditor.prg * contrib/hbide/idefunctions.prg * contrib/hbide/ideharbourhelp.prg + Implemented: Harbour function definitions which are part of Harbour documentation files in /doc/en folders viewable in Documentation Viewer available as code completion lists. For this to happen, you must have Harbour's root path provided in Documentation Viewer dialog. So, as an example, if definitions are loaded ok, you must see a list of QWeb*() functions as soon as you type "Web" in an editing instance. Please provide your input what else is missing. 2010-07-08 10:21 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/hbide.prg * contrib/hbide/idedocks.prg ! More fix to previous. Now the visibility of source behavior is Ok. * contrib/hbide/ideeditor.prg ! Changed: numeric to character events notation. * contrib/hbide/idesaveload.prg ! Minor. 2010-07-08 17:39 UTC+0200 Viktor Szakats * INSTALL * contrib/hbqt/hbqts.hbp * contrib/hbqt/Makefile * contrib/hbqt/hbqtguis.hbp * contrib/hbqt/hbqtcores.hbp * contrib/hbqt/hbqtnetworks.hbp * HB_QT_STATIC renamed to HB_QT_BUILD_STATIC (INCOMPATIBLE) * contrib/hbqt/hbqt.hbc * Using HB_STATIC_QT envvar to chose to build against static HBQT/QT components. This makes it in sync with rest of contribs. 2010-07-08 17:28 UTC+0200 Viktor Szakats * contrib/make.hbs + Added experimental dependency display in stdalone mode. * Reflist prefix changed to 'hbrefs{{' from '{{' * contrib/gtalleg/gtalleg.hbc - contrib/gtalleg/gtallegs.hbc * contrib/hbqt/gtqtc/gtqtc.hbc - contrib/hbqt/gtqtc/gtqtcs.hbc * contrib/hbqt/hbqt.hbc - contrib/hbqt/hbqts.hbc * contrib/hbcurl/hbcurl.hbc - contrib/hbcurl/hbcurls.hbc * contrib/hbssl/hbssl.hbc - contrib/hbssl/hbssls.hbc * Merged static .hbc files into "normal" .hbc files. Now static mode can be selected by setting HB_STATIC_* to 'yes' or '1'. ; TODO: Rename HB_QT_STATIC to HB_STATIC_QT. [DONE] ; TODO: Document new setting in install. [DONE] * contrib/hbssl/tests/test.prg ! Fixed warning. * utils/hbmk2/hbmk2.prg % Cleaned code path in --hbrefs mode. 2010-07-08 14:54 UTC+0200 Viktor Szakats * utils/hbrun/hbrun.prg ! Fixed to open .dbf passed on the command-line in shared mode. 2010-07-08 13:22 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added --hbref option which outputs project references (.hbc) to stdout in machine parsable format. 2010-07-08 12:35 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbpp.h * harbour/include/hbmacro.h * harbour/include/hbcomp.h * harbour/include/hbcompdf.h * harbour/include/hbexprb.c * harbour/src/pp/ppcore.c * harbour/src/compiler/hbmain.c * harbour/src/vm/macro.c ! fixed code used to decide about early and late macro evaluation in codeblocks to be exactly Clipper compatible. Now if codeblock contains at least one macro variable (i.e.: &var, any&var, any&var.2) then it's always early evaluated. Please remember that codeblocks which contains only simple macro variable ( &var[.] ), i.e.: {|| &var } are modified during compilation by Clipper and Harbour compilers to: &( "{||" + var + "}" ) and then PCODE is generated. It allows to use LOCALs, STATICs and FIELDs as 'var' in such expressions. In xHarbour above functionality was extended to work also with macrotext variables, i.e.: {|| &var.2 } If you think it's important extension then I can make the same in Harbour or I can even implement it for all codeblock expressions with macros using declared non memvar symbols, i.e. {|| &var + 1 } what should effectively eliminate E0047 compile time error ! fixed compile time error E0042 "Macro of declared symbol..." to be generated with the same conditions as in Clipper. ! fixed compile time error E0047 "Code block contains both macro and declared symbol references..." to be generated with the same conditions as in Clipper. Note: -km switch disables macro text evaluation so also above errors unless macro is not used in codeblock Warning: above modifications can cause compile time errors in some code which was not Clipper compatible and in such case they will have to be updated. * harbour/utils/hbtest/rt_math.prg ! updated code with Clipper incompatible code exploited by above modifications 2010-07-08 11:52 UTC+0200 Viktor Szakats * bin/hbxpatch.hbs * utils/hbmk2/hbmk2.prg * contrib/make.hbs * config/postinst.hbs * contrib/hbide/idemisc.prg * contrib/hbide/idefunctions.prg * hbmk2 rooted filename/path handling functions renamed. Now they are in sync with hbmk2_*() (plugin) flavour. With their new names they could even be included in core, by adding an hb_ prefix to them. * Renamed one internal constant in hbmk2. * contrib/hbide/idemisc.prg - Deleted unused hbmk2 function. 2010-07-08 10:32 UTC+0200 Jacek Kubica (kubica@wssk.wroc.pl) * contrib/hbmysql/tmysql.prg ! Fixed: variable name problem from previous commit. Reported by marco bra (marcobra.ubuntu@gmail.com) 2010-07-08 10:23 UTC+0200 Viktor Szakats * contrib/hbmysql/tmysql.prg ! Fixed indentation. 2010-07-08 10:32 UTC+0200 Jacek Kubica (kubica@wssk.wroc.pl) * contrib/hbmysql/tmysql.prg + Added Method DeleteDatabase( cDataBase ) CLASS TMySQLServer 2010-07-08 09:24 UTC+0200 Viktor Szakats * src/vm/macro.c * src/vm/hashes.c * src/vm/itemapi.c * src/vm/hvm.c * src/vm/arrays.c * src/vm/extend.c * src/common/expropt1.c * src/common/expropt2.c * src/rtl/hbgtcore.c * src/compiler/hbmain.c * include/hbgtcore.h * include/hbmacro.h * include/hbapi.h * include/hbapiitm.h * include/hbvm.h * include/hbcomp.h * include/hbexprop.h * Variable name cleanups. * Corrections/completions in declarations. 2010-07-08 08:50 UTC+0200 Viktor Szakats * src/rtl/filesys.c * src/rtl/filebuf.c * src/rtl/fssize.c * HB_FOFFSET vars renamed to have n prefix (instead of ul and ll) * contrib/make.hbs ! Fixed output dirs in stdalone mode. * contrib/hbsqlit3/hbsqlit3.c * contrib/hbwin/olecore.c * contrib/hbwin/win_bmp.c * HB_SIZE vars renamed. * utils/hbmk2/hbmk2.prg % Never delete the same file twice in -hbimplib -clean mode. 2010-07-07 23:20 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/hbide.prg ! Fixed: no-show of source's contents when a panel was hosting only one source. Now source is visible loaded. 2010-07-07 18:44 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/idemisc.prg * contrib/hbide/idesaveload.prg * contrib/hbide/idestylesheets.prg * contrib/hbide/setup.ui + Implemented: application of constructed gradients to hbIDE components. Now n number of gradients can be defined to be applied to hbIDE. "Toggle Animation" respects these settings as well. <Setup Dialog><Themes> provides you with necessary constructs to define and apply. Still the last applied is not saved: TODO. So next run will revert to defaults as per animation mode. 2010-07-07 23:11 UTC+0200 Viktor Szakats * src/rdd/sdf1.c * src/rdd/delim1.c * include/hbrddsdf.h * include/hbrdddel.h * HB_SIZE/HB_FOFFSET renames in structs (ul* -> n*). (objects verified) * include/hbcomp.h * include/hbapicdp.h * More HB_SIZE var renames (in decl only). * src/rtl/filesys.c * include/hbapifs.h * HB_FOFFSET renames (ul*, ll* -> n*). (object verified) 2010-07-07 22:51 UTC+0200 Viktor Szakats * src/vm/fm.c ! Fixed two remaining format strings for size value. * src/nortl/nortl.c ! Fixed format strings for size value. (BTW the signedness differs from fm.c, is this intended?) * long -> HB_ISIZ in fm stat. * src/rdd/dbfcdx/dbfcdx1.c * HB_ULONG -> HB_SIZE in hb_cdxSortSortPage(). * src/nortl/nortl.c * src/macro/macrolex.c * src/rtl/gtwin/gtwin.c * src/rtl/gtstd/gtstd.c * src/rtl/gtcgi/gtcgi.c * src/rtl/gtpca/gtpca.c * src/rtl/gtwvt/gtwvt.c * src/rdd/dbfntx/dbfntx1.c * src/rdd/dbfnsx/dbfnsx1.c * src/rdd/dbfcdx/dbfcdx1.c * src/rdd/dbsql.c * src/rdd/wacore.c * src/rdd/sdf1.c * src/rdd/dbcmd.c * src/rdd/delim1.c * src/rdd/dbf1.c * src/rdd/hsx/hsx.c * src/rdd/usrrdd/usrrdd.c * src/rdd/hbsix/sxfname.c * src/rdd/hbsix/sxtable.c * src/rdd/hbsix/sxutil.c * src/rdd/hbsix/sxcompr.c * src/rdd/hbsix/sxcrypt.c * HB_SIZE/HB_ISIZ variables renamed. (objects verified) 2010-07-07 20:41 UTC+0200 Viktor Szakats * contrib/make.hbs ! Fixed stdalone mode to create target in their usual GNU Make target dir. ! Fixed HB_BUILD_NAME handling. * INSTALL * utils/Makefile * config/postinst.hbs % Changed postinst to create .hbl file on its own behalf without calling hbi18n. 2010-07-07 10:49 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/idesaveload.prg * contrib/hbide/idestylesheets.prg * contrib/hbide/setup.ui + Implemented: application themes - a work-in-progress yet for final implementation. Just have a fun to play with it currently. Next commit will see it to real fruitation. 2010-07-07 19:02 UTC+0200 Viktor Szakats * src/pp/ppcore.c ! Extended one variable type to HB_ISIZ from int after latest PP modifications. Shown by msvc64. 2010-07-07 18:53 UTC+0200 Viktor Szakats * src/vm/macro.c ! Added missing renames from prev session. * src/common/expropt1.c * src/common/expropt2.c * src/compiler/hbmain.c * src/compiler/harbour.yyc * src/compiler/harbour.y * include/hbcompdf.h * include/hbexpra.c * include/hbexprb.c * Some final renames in compiler area. (compiler objects verified) * contrib/make.hbs * Updated header. 2010-07-07 18:13 UTC+0200 Viktor Szakats * src/compiler/ppcomp.c * src/compiler/hbmain.c * src/compiler/hbpcode.c * src/compiler/hbdead.c * src/compiler/gencc.c * src/compiler/hblbl.c * include/hbcompdf.h * lPCodeSize -> nPCodeSize * pulLabels -> pnLabels (objects verified) 2010-07-07 18:08 UTC+0200 Viktor Szakats * src/compiler/hbmain.c * src/compiler/hbfix.c * src/compiler/hbdbginf.c * src/compiler/hbpcode.c * src/compiler/genhrb.c * src/compiler/hbdead.c * src/compiler/genc.c * src/compiler/hbopt.c * src/compiler/gencc.c * src/compiler/hblbl.c * src/compiler/harbour.yyc * src/compiler/hbstripl.c * src/compiler/harbour.y * include/hbcomp.h * include/hbcompdf.h * include/hbexprb.c * lPCodePos -> nPCodePos (objects verified) 2010-07-07 18:03 UTC+0200 Viktor Szakats * src/compiler/ppcomp.c * src/compiler/hbmain.c * src/compiler/hbdbginf.c * src/compiler/hbpcode.c * src/compiler/genhrb.c * src/compiler/hbdead.c * src/compiler/hbopt.c * src/compiler/genc.c * src/compiler/hbident.c * src/compiler/gencc.c * src/compiler/hbcmplib.c * src/compiler/hblbl.c * HB_SIZE/HB_ISIZ variable rename. (objects verified) 2010-07-07 17:25 UTC+0200 Viktor Szakats * include/hbcomp.h ! Renamed back one variable in header which caused an avalanch of problems in .c code. I'll redo this later. 2010-07-07 17:13 UTC+0200 Viktor Szakats * INSTALL * contrib/make.hbs + Added standalone mode. The goal is to emulate GNU Make's nice in-place build feature for contribs hbmk2 make files. Run with 'hbrun ../make.hbs [clean] [install]' (install mode's installation phase doesn't work yet) + Added contrib type autodetection. * HB_ADDONS_LIB, HB_ADDONS_BIN merged into HB_BUILD_ADDONS, now the type is autodetected. % Move hbmk2 command-line to HBMK_OPTION only on MS-DOS hosts. + Added *nix script header. + Updated TODO list. ; NOTE: Most tasks are ready now regarding make system migration in contrib area from GNU Make to hbmk2. * config/postinst.hbs + Added native .hbl generation logic which doesn't require hbi18n executable. (not used yet) * bin/hbxpatch.hbs * contrib/make.hbs + Added svn:executable flag. 2010-07-07 15:40 UTC+0200 Viktor Szakats * src/vm/extend.c * include/hbapicdp.h * include/hbstack.h * include/hbgtcore.h * include/hbapifs.h * include/hbxvm.h * include/hbdefs.h * include/hbmacro.h * include/hbapi.h * include/hbapiitm.h * include/hbcomp.h * include/hbsxfunc.h * include/hbexprop.h * include/hbapigt.h * include/hbhash.h * include/hbregex.h * HB_SIZE/HB_ISIZ/some HB_MAXINT variables renamed. 2010-07-07 14:50 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/cdpapi.c % removed one redundant if() condition * replaced not working HB_CDP_[UN]LOCK used in hb_cdpList() function with simple counter as protection against possible overflow. * harbour/src/compiler/complex.c + added support also for "." as date delimiters in VFP compatible date[time] constant values. * harbour/doc/xhb-diff.txt * updated description of date[time] constant values syntax to follow current Harbour and xHarbour behavior. 2010-07-07 12:52 UTC+0200 Viktor Szakats * contrib/hbide/idemisc.prg * contrib/hbide/ideprojmanager.prg + Using hbmk2 to do xMate conversion. It's now also possible to convert from hbmake (I don't its standard extension), and xbuild projects (I didn't add it to the UI though). Please fix me: I'm still having a hard-time telling hbide where hbmk2 is. Plus I used hb_processRun(), pls replace it with any method is fit for hbide. - Deleted redundant copy-pasted (and outdated) code from hbmk2 source into hbide. (BTW their licences were also incompatible, pls don't put this code back there) * utils/hbmk2/hbmk2.prg + Added comments to converted .hbp files about the original source and format. 2010-07-07 11:52 UTC+0200 Viktor Szakats * INSTALL * GNU Make 3.81 recommended (without 'or upper') + Documented GNU Make 3.81.90 bug. * contrib/make.hbs * Minor tweak to avoid line ending spaces in stdout. * Minor visual cleanup. * contrib/hbide/hbide.hbp + Added instfile option to install .dlls on Windows systems. * config/postinst.hbs ! Fixes in comment and feedback output. - Deleted commented .hbl generation stuff based on hbmk2. 2010-07-07 10:08 UTC+0200 Viktor Szakats * config/postinst.hbs + Using hbi18n tool to generate .hbl files to utils. (currently hbmk2 only) This fixes missing .hbl after latest changes which dropped regenerating utils at postinst phase. At the same time it enables .hbl file generation for all platforms. The logic will automatically generate .hbl files for all .po files found under any utils. * INSTALL * utils/Makefile + Added hbi18 to the list of tools required to build Harbour in cross-platform situations. * contrib/hbqt/hbmk2_plugin_qt.hbs ! Fixed QT tools detection on HB_WITH_QT. 2010-07-06 18:29 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) + contrib/hbide/editor.ui + Added: to be used a little while. * contrib/hbide/setup.ui + Added: <Selections><Code Completion> 1. Completion List with Arguments ? 2. Complete Code including Arguments ? * contrib/hbide/hbide.hbp * contrib/hbide/idebrowse.prg * contrib/hbide/ideedit.prg * contrib/hbide/ideeditor.prg * contrib/hbide/idefunctions.prg * contrib/hbide/idesaveload.prg + Implemented: a better control over code completion feature. Now completion list can be presented with argument list intact, i.e., hbide_isValidSource( cSourceFile ) can be presented either as (default) hbide_isValidSource OR hbide_isValidSource( cSourceFile ) Similarily, code can also be completed including arguments list or without it. Please experiment. 2010-07-07 01:46 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + -autohbc now has natural defaults, header part will automatically get .ch extension, .hbc part will automatically get .hbc extension. If .hbc is not specified, it will become the same as header name. So e.g. '-autohbc=hbwin.ch:hbwin.hbc' can be written simply as: '-autohbx=hbwin'. 2010-07-07 01:23 UTC+0200 Viktor Szakats * Makefile * contrib/Makefile * Changed wording. * contrib/xhb/xhbqself.c * contrib/xhb/cstructc.c ! Adapted to internal name changes. 2010-07-07 01:01 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.pt_BR.po * utils/hbmk2/hbmk2.hu_HU.po * utils/hbmk2/hbmk2.prg + Added new experimental feature: .hbp: -autohbc=<.ch>:<.hbc> .hbc: autohbcs=<.ch>:<.hbc> If such setting is used, e.g. in hbmk.hbc, it's possible to automatically trigger .hbc files by key headers. So e.g. if 'autohbcs=hbwin.ch:hbwin.hbc' is added to hbmk.hbc, every projects where any .prg file references hbwin.ch will automatically include hbwin.hbc, thus setting up headers dir, libs and everything else that's required for hbwin. % Minor opt to -instfile handling. 2010-07-06 15:02 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/hbqt_hbqplaintextedit.cpp ! Corrected: code completion popup's vertical positioning. It was not nonoring the visibility of horizintal ruler. 2010-07-06 23:31 UTC+0200 Viktor Szakats * src/common/hbffind.c * src/common/hbwin.c * src/common/hbstr.c * src/common/expropt1.c * src/common/expropt2.c * src/common/hbmem.c * src/common/strwild.c * src/common/hbhash.c * include/hbhash.h * src/rtl/substr.c * src/rtl/hbzlibgz.c * src/rtl/hbtoken.c * src/rtl/hbstrfmt.c * src/rtl/transfrm.c * src/rtl/hbadler.c * src/rtl/hbcomhb.c * src/rtl/hbmd5.c * src/rtl/hbascii.c * src/rtl/hbregexc.c * src/rtl/hbprocfn.c * src/rtl/hbsocket.c * src/rtl/hbinet.c * src/rtl/gtapi.c * src/rtl/filesys.c * src/rtl/hbregex.c * src/rtl/hbbffnc.c * src/rtl/hbgtcore.c * src/rtl/hbi18n1.c * src/rtl/gtclip.c * src/rtl/itemseri.c * src/rtl/hbsockhb.c * src/rtl/hardcr.c * src/rtl/hbzlib.c * src/rtl/hbhex.c * src/rtl/gete.c * src/rtl/hbproces.c * src/rtl/cdpapihb.c * src/rtl/ati.c * src/rtl/memofile.c * src/rtl/hbstrsh.c * Renamed HB_SIZE variables to have 'n' prefix. (verified to generate the same objects as before) 2010-07-06 13:39 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) + contrib/hbide/plugins/example_gui.hbs + Added: a gui dialog script which can be executed from "Run as Script" toolbar icon or as auto executable script. The aim to put this script in SVN is to facilitate third party libraries to provide their users with a GUI interactive interface to set library specific environment based on user options. 2010-07-06 22:28 UTC+0200 Viktor Szakats * src/vm/hashfunc.c * src/vm/macro.c * src/vm/pcount.c * src/vm/estack.c * src/vm/debug.c * src/vm/hvm.c * src/vm/pvalue.c * src/vm/arrays.c * src/vm/fm.c * src/vm/proc.c * src/vm/memvars.c * src/vm/arrayshb.c * src/vm/eval.c * src/vm/classes.c * include/hbstack.h * include/hbapi.h * Renamed HB_ISIZ variables to have 'n' prefix. (verified to generate the same objects as before) * src/vm/fm.c ! Fixed HB_ISIZ values to be displayed using HB_PFS format string. * src/vm/hvm.c * HB_ISIZ -> HB_LONG in places where it was wrong. 2010-07-06 12:46 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/ideedit.prg ! .hbs extension treated as .prg for editing operations and syntax highlighting. * contrib/hbide/ideeditor.prg ! .hbs extension treated as a source. * contrib/hbide/ideplugins.prg ! deleted redundant code. * contrib/hbide/ideprojmanager.prg ! Enabled to compile a source and run it without any project definition ( Reported by Antonio Linares ). * contrib/hbide/idesaveload.prg ! Included .hbs as valid text file extension. 2010-07-06 21:47 UTC+0200 Viktor Szakats * src/vm/hvm.c ! Deleted one HB_ULONG cast in HB_SIZE context. ! Changed hb_itemGetNL() to hb_itemGetNS(). 2010-07-06 21:44 UTC+0200 Viktor Szakats * src/vm/hashfunc.c * src/vm/macro.c * src/vm/estack.c * src/vm/codebloc.c * src/vm/hashes.c * src/vm/debug.c * src/vm/asort.c * src/vm/garbage.c * src/vm/hvm.c * src/vm/cmdarg.c * src/vm/arrays.c * src/vm/fm.c * src/vm/arrayshb.c * src/vm/extend.c * src/vm/classes.c * Renamed HB_SIZE variables to have 'n' prefix. (verified to generate the same objects as before) ; FIXME: as marked in hvm.c. [DONE] 2010-07-06 21:00 UTC+0200 Viktor Szakats * utils/hbrun/hbrun.prg ! Don't search passed program in PATH and hbrun dir, if program name has path component. * contrib/xhb/xhbenum.c * contrib/xhb/xhbqself.c * contrib/xhb/xhbwith.c * contrib/xhb/xhberrc.c ! Fixed msvc64 warnings after HB_SIZE extension in stack API. * contrib/make.hbs + Added logic to protect against case when 'clean install' is used but hbrun or hbmk2 isn't available when launching the make process. In this case 'clean' phase won't be executed for contribs, which is solved by forcing a -rebuild in 'install' phase. * src/vm/strapi.c * src/vm/runner.c * src/vm/itemapi.c * src/vm/asort.c * src/vm/hvm.c * src/vm/arrays.c * src/vm/memvars.c * src/vm/set.c * src/vm/classes.c * src/rtl/lennum.c * src/rtl/strcase.c * src/rtl/replic.c * src/rtl/padr.c * src/rtl/padc.c * src/rtl/strtran.c * src/rtl/strtoexp.c * src/rtl/padl.c * src/rtl/saverest.c * src/rtl/right.c * src/rtl/philes.c * src/rtl/mlcfunc.c * src/rtl/left.c * src/rtl/xsavescr.c * src/rtl/setkey.c * src/rtl/stuff.c * src/rtl/trace.c * src/rtl/samples.c * src/rtl/inkeyapi.c * src/rtl/inkey.c * src/rtl/mtran.c * src/rtl/colorind.c * src/rtl/rat.c * include/hbapi.h * include/hbapistr.h * Renamed HB_SIZE variables to have 'n' prefix. (verified to generate the same objects as before) * src/rtl/philes.c * Changed hb_retnint()/hb_retni() to hb_retns(). * contrib/hbgd/gdwrp.c * Formatting. 2010-07-06 16:32 UTC+0200 Viktor Szakats * contrib/hbwin/hbwapi.h * contrib/hbwin/wapi_winbase.c * contrib/hbwin/wapi_winuser.c * contrib/hbwin/wapi_commctrl.c * contrib/hbwin/win_shell.c * contrib/hbwin/win_dlg.c * contrib/gtwvg/wvgwin.c * contrib/gtwvg/wvgwing.c ! wapi_*() macros renamed to hbwapi_*() and for raw pointers to hbwapi_*_raw_*(). This fixes wrong macro prefix, syncs it with other symbols and makes it easier to find where raw pointers are exchanges with Windows. It also fixes ambiguous names 'wapi_ret_HDC()' vs. 'hbwapi_ret_HDC()'. * contrib/hbwin/wapi_winbase_mutex.c * wapi_* -> hbwapi_* for static function. 2010-07-06 14:07 UTC+0200 Viktor Szakats * utils/hbrun/hbrun.prg + Extended to look in current dir, hbrun dir and PATH for passed script name, if no extension was passed, it will try .hbs and .hrb in that order. This means hbrun is pretty much like a shell command processor now. * bin/hbxpatch.hbs * utils/hbmk2/hbmk2.prg * utils/hbrun/hbrun.prg * contrib/hbqt/hbmk2_plugin_qt.hbs * config/postinst.hbs * HB_OSPATHSEPARATOR() -> HB_PS() * HB_OSNEWLINE() -> HB_EOL() * utils/hbmk2/hbmk2.prg * Using string literals instead of Chr() in few places. ! FindInPath() corrected to honor original dir in filename it receives. This may affect plugins if they pass such argument. 2010-07-06 13:02 UTC+0200 Viktor Szakats * src/rtl/console.c * src/rtl/philes.c * include/hbextern.ch + Added: HB_PS() function, which does the same as HB_OSPATHSEPARATOR(). + Added: HB_EOL() function, which does the same as HB_OSNEWLINE(). ; These are very often used functions with an exceptionally long and hard to type name, so most programs employed macros for it. Now this is unnecessary. Long names are deprecated. * contrib/Makefile - contrib/makefile.hbs + contrib/make.hbs * Renamed to be shorter. + Little steps for standlone running mode. + Using HB_EOL() and HB_PS(). ; TODO: Change it all over Harbour SVN. [DONE] 2010-07-06 12:28 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Added strict parameter checking in sensitive places. 2010-07-06 12:15 UTC+0200 Viktor Szakats * contrib/hbqt/hbmk2_plugin_qt.hbs + Return errors if required tools are not detected. (these errors are not yet all handled by hbmk2) + Refined tools detection on Windows to not try HB_WITH_QT if not set at all. ! Fixed tool detection failure err msg to display proper list of envvars able to control the process. * contrib/makefile.hbs + Employed several different techniques to avoid long command-line length to make certain (e.g. MS-DOS) hosts happy. * utils/hbmk2/hbmk2.prg + Added hbmk2_ArrayToList() function. 2010-07-06 00:51 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/idebrowse.prg * contrib/hbide/idedocks.prg * contrib/hbide/ideplugins.prg * contrib/hbide/idesaveload.prg + Implemented: drg/drop support in "Projects" tree. Now you can drop .hbp project files onto it. % Fixed: RTE when a table was being opened twice. Now an alert message is flashed to this effect. ! Fixed: right-side dock widgets visibility behavior. Before next clicked dock was hidden under the tabs and user had to click again on the tab. 2010-07-05 15:05 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/hbide.prg * contrib/hbide/idebrowse.prg * contrib/hbide/idedocks.prg * contrib/hbide/ideplugins.prg + Implemented: drag and drop support at two points: 1. When a valid text file supported by hbIDE is dragged and dropped on editor widget. 2. When a .dbf file is dropped on ideDBU widget. Please feel free to extend your comments. 2010-07-05 13:41 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/doc/en/class_qmimedata.txt * contrib/hbqt/qtcore/QMimeData.cpp * contrib/hbqt/qtcore/TQMimeData.prg * contrib/hbqt/qth/QMimeData.qth + Added method QStrinList * hbUrlList() which returns list of Urls as strings. It is a workarount until proper QList<QUrl> implementation is not in place. 2010-07-05 22:24 UTC+0200 Viktor Szakats * contrib/makefile.hbs * utils/hbmk2/hbmk2.prg - Deleted support for compatibility hbmk/hbmk2/bld.bat envvars below: - HB_MT - HB_GUI - HB_SHARED - HB_DEBUG - HB_NULRDD - HB_GT INCOMPATIBILITY. Use HBMK_OPTION envvar instead with regular hbmk2 options: 'HBMK_OPTION=-mt -gui' etc. 2010-07-05 22:17 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + -instfile will now only copy changed files in -inc mode. * contrib/makefile.hbs - Deleted verbose hbmk2 output. 2010-07-05 21:56 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Will now strip all path components from -instfile before forming the target filename. ! Won't turn off anymore the -info flag when speccing the build type. + Will now copy -instfiles even if the targe is up to date (in such case the target itself won't be copied) 2010-07-05 19:59 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added support for -instpath in -hbimplib mode. This should fix missing implibs after recent make system rework. * contrib/makefile.hbs ! Fix to prev. 2010-07-05 19:19 UTC+0200 Viktor Szakats * contrib/hbmysql/hbmysql.hbp * contrib/hbct/hbct.hbp * contrib/hbodbc/hbodbc.hbp * contrib/xhb/xhb.hbp * contrib/hbtpathy/hbtpathy.hbp * contrib/hbsqlit3/hbsqlit3.hbp * contrib/hbmzip/hbmzip.hbp * contrib/hbblat/hbblat.hbp * contrib/hbqt/gtqtc/gtqtc.hbp * contrib/hbqt/hbqt.hbp * contrib/hbxbp/hbxbp.hbp * contrib/hbbz2/hbbz2.hbp * contrib/hbblink/hbblink.hbp * contrib/hbnf/hbnf.hbp * contrib/hbcurl/hbcurl.hbp * contrib/hbxpp/hbxpp.hbp * contrib/hbfoxpro/hbfoxpro.hbp * contrib/rddsql/rddsql.hbp * contrib/hbhpdf/hbhpdf.hbp * contrib/gtwvg/gtwvg.hbp * contrib/hbpgsql/hbpgsql.hbp * contrib/hbclipsm/hbclipsm.hbp * contrib/rddads/rddads.hbp * contrib/hbfimage/hbfimage.hbp * contrib/hbgd/hbgd.hbp * contrib/hbtip/hbtip.hbp * contrib/hbcairo/hbcairo.hbp * contrib/hbwin/hbwin.hbp * contrib/hbssl/hbssl.hbp * examples/ps32/ps32.hbp * examples/hbsqlit2/hbsqlit2.hbp * examples/gfspell/gfspell.hbp * examples/rddado/rddado.hbp * examples/hbvpdf/hbvpdf.hbp * examples/hbbtree/hbbtree.hbp + -instfile updated with header file group. 2010-07-05 19:12 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + -clean will now delete the target for -hbdyn, -hblib and default -hbexe modes. .bak is also deleted for -hblib mode. Probably more autogenerated extensions will have to be deleted here to become in sync with globsh.mk. + Extended -instfile and -instpath support to also accept a file group prefix. This way multiple set of files can be copied to a set of target directories. ; TODO: Change all -instfile options to point to 'inc' group. [DONE] + dos/djgpp will now use -gstabs+ for debug mode instead of -g. Following change made in GNU Make system by Tamas. * contrib/makefile.hbs + Reworked the way GNU Make operations are mapped to hbmk2 actions. E.g. 'clean install' needs special attention as plain clean cannot be done because + Added hbblat to limited set of test contribs. + Better isolation and preparation of hbmk2 configuration. + Cleanups to dynamic lib creation from contribs. + Added experimental support to install headers similarly as GNU Make does. * Makefile ! Fixed to reverse order and dependency of contrib and utils trees in clean without install mode. In pure clean mode, the contribs need to be traversed first, because hbrun and hbmk2 are required for this task. * Makefile * contrib/Makefile + Will now inform about missing hbrun and .hbs scripts not run because of it. * examples/hbapollo/hbapollo.hbp * -instfile updated with header file group. * src/rtl/hbproces.c ! Fixed some unused variable warnings experienced with poccarm. ; Patches from Tamas Tevesz: * config/dos/djgpp.mk + debug switch changed to -gstabs+ from -g. Following this: https://www.delorie.com/djgpp/mail-archives/thread.cgi?msg=djgpp-workers/2002/05/29/06:33:31&mode=frames * bin/hbxpatch.hbs * Updated after latest changes. Thanks! * src/common/hbver.c ! Fix for pcc detection. * src/rtl/gtdos/gtdos.c * src/rtl/hbproces.c ! MS-DOS fixes for TRACE() messages. 2010-07-05 08:24 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qth/QList.qth + Uncommented few methods. * contrib/hbqt/qth/QUrl.qth ! Changed: the constructor. * contrib/hbqt/doc/en/class_qlist.txt * contrib/hbqt/qtcore/QList.cpp * contrib/hbqt/qtcore/QUrl.cpp * contrib/hbqt/qtcore/TQList.prg * Auto generated 2010-07-05 00:20 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/generator/hbqtgen.prg + Implemented: QList support for Q* data types as return value. Still I could not find a dynamic way to pass it as an argument to a function. This feature enables to harness Qt's power to greater extent. * contrib/hbqt/qth/QAction.qth * contrib/hbqt/qth/QDropEvent.qth * contrib/hbqt/qth/QFileDialog.qth * contrib/hbqt/qth/QFontDatabase.qth * contrib/hbqt/qth/QInputMethodEvent.qth * contrib/hbqt/qth/QLocale.qth * contrib/hbqt/qth/QMimeData.qth * contrib/hbqt/qth/QPrinter.qth * contrib/hbqt/qth/QTextEdit.qth * contrib/hbqt/qth/QTextLayout.qth * contrib/hbqt/qth/QTextOption.qth ! Commented out those functions returnin QList of type other than Q*. * contrib/hbqt/qtcore/* * contrib/hbqt/qtgui/* * contrib/hbqt/qtnetwork/* ! Regenerated. 2010-07-05 03:39 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.pt_BR.po * utils/hbmk2/hbmk2.hu_HU.po * utils/hbmk2/hbmk2.prg + Added -instfile= option, instfiles= .hbc option and hbmk2 plugin API to add new files to the list of files to be copied to -instpath= targets. This option makes it possible to install extra files along the target lib or exe itself, e.g. headers or other supplementary files. This option only works for -instpath= options which point to a dir (not a file). * contrib/gtwvg/gtwvg.hbp * contrib/hbblat/hbblat.hbp * contrib/hbblink/hbblink.hbp * contrib/hbbz2/hbbz2.hbp * contrib/hbcairo/hbcairo.hbp * contrib/hbclipsm/hbclipsm.hbp * contrib/hbct/hbct.hbp * contrib/hbcurl/hbcurl.hbp * contrib/hbfimage/hbfimage.hbp * contrib/hbfoxpro/hbfoxpro.hbp * contrib/hbgd/hbgd.hbp * contrib/hbhpdf/hbhpdf.hbp * contrib/hbmysql/hbmysql.hbp * contrib/hbmzip/hbmzip.hbp * contrib/hbnf/hbnf.hbp * contrib/hbodbc/hbodbc.hbp * contrib/hbpgsql/hbpgsql.hbp * contrib/hbqt/gtqtc/gtqtc.hbp * contrib/hbqt/hbqt.hbp * contrib/hbsqlit3/hbsqlit3.hbp * contrib/hbssl/hbssl.hbp * contrib/hbtip/hbtip.hbp * contrib/hbtpathy/hbtpathy.hbp * contrib/hbwin/hbwin.hbp * contrib/hbxbp/hbxbp.hbp * contrib/hbxpp/hbxpp.hbp * contrib/rddads/rddads.hbp * contrib/rddsql/rddsql.hbp * contrib/xhb/xhb.hbp + Added -instfile= options for headers installed by Makefile. ; TODO: Make copying of headers to central dir unnecessary on *nix platforms as well. * contrib/makefile.hbs * Updated TODOs. * contrib/hbqt/gtqtc/gtqtc.hbp % Deleted -pi= option. * contrib/hbqt/gtqtc/gtqtcs/Makefile * Not needed to install headers from secondary (static) Makefile. * examples/gfspell/gfspell.hbp * examples/gtwvw/gtwvw.hbp * examples/hbapollo/hbapollo.hbp * examples/hbbtree/hbbtree.hbp * examples/hbdoc2/hbdoc2.hbp * examples/hbextern/hbextern.hbp * examples/hbsqlit2/hbsqlit2.hbp * examples/hbvpdf/hbvpdf.hbp * examples/ps32/ps32.hbp * examples/rddado/rddado.hbp * examples/superlib/superlib.hbp + Added -instfile= options for headers installed by Makefile. + Added -w option where missing. - Deleted -q0, -l where present. + Synced output setup with contribs. ! Added hbxpp.hbc reference for ps32. + Added dependency detection for hbsqlit2, hbapollo. ! hbdoc2 GT changed to GTCGI. ; Now the contrib and examples .hbp files are completely on the same feature level. 2010-07-05 00:58 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + -width=0 now means unlimited width. * contrib/makefile.hbs * contrib/hbide/ideprojmanager.prg * Changed to use -width=0. 2010-07-05 00:57 UTC+0200 Viktor Szakats * src/common/hbver.c * src/rtl/Makefile [t] * src/rdd/Makefile [t] * include/hbdefs.h * include/hbsetup.h + config/bsd/pcc.mk * config/rules.mk [t] + First step to add support for pcc (Portable C Compiler) on bsd. ; Patch by Tamas Tevesz. ; TODO: ? I guess the -gc3 and -l disabler hacks are temporary. (in files marked with [t]) 2010-07-04 15:48 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/ideplugins.prg + Extended auto execuable scripts to have .hbs extension besides .prg. 2010-07-04 15:18 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/idemisc.prg + #include "hbextern.ch" * contrib/hbide/ideplugins.prg * contrib/hbide/hbide.prg + Implemented: execution of auto scripts. Any .prg placed in /plugins folder with "auto_" prefix, e.g., /harbour/contrib/hbide/plugins/auto_setenv.prg will be executed just after hbIDE dialog is made visible. hbIDE itself is passed as only parameter sent to the script. The idea is to allow developers of miscllaneous GUI libraries to setup their own environment variables. Another aspect of this feature could be changing the behavior of hbIDE itself through its various component objects, though it may need some more API functions. An idea which can be extended and offers developers greater control over the affairs. ! Modified last commit's missing entry. 2010-07-04 14:17 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/hbqt_hbqplaintextedit.cpp ! Fixed: horizontal selection where background color was missed by a couple of pixels to the left. * contrib/hbide/idefindreplace.prg ! Fixed to not "find" twice if "Return" is pressed. * contrib/hbide/ideedit.prg 2010-07-04 21:25 UTC+0200 Jacek Kubica (kubica@wssk.wroc.pl) * examples/httpsrv/modules/tableservletdb.prg ! Fixed: mismatch error in two methods declaration 2010-07-04 12:49 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/hbqt_hbqplaintextedit.cpp ! Fixed: one more glitch in selected text background color off by few pixels verically - now the bottom line. 2010-07-04 12:20 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/hbqt_hbqplaintextedit.cpp ! Fixed: glitch in selected text background color off by few pixels. 2010-07-04 20:45 UTC+0200 Viktor Szakats * INSTALL * external/Makefile * contrib/Makefile * utils/Makefile - Deleted HB_CONTRIB_ADDONS, HB_EXTERNAL_ADDONS, HB_UTIL_ADDONS. + Documented HB_ADDONS_LIB, HB_ADDONS_BIN (still not necessarily the final names) * package/winuni/mpkg_win_uni_extra_copy.bat * package/winuni/mpkg_win_uni.bat * package/winuni/mpkg_win_uni.nsi + Included hbnetio in Windows based installers. (.zip already had it after previous changes) * package/winuni/mpkg_win_uni_extra_copy.bat * package/winuni/mpkg_win_uni.bat * package/winuni/mpkg_win_uni.nsi * config/postinst.hbs - Deleted building hbrun-dll. It makes simpler, won't be missed by too many users. Users needing fully shared binaries can use HB_BUILD_SHARED=yes. 2010-07-04 19:51 UTC+0200 Viktor Szakats * contrib/makefile.hbs ! Fixed to pass -inc option in install phase. + Added -shared option when building dynamic libs. + Honoring HB_BUILD_SHARED when building binaries. + Added new build pass for locally hosted external libs specific to contribs. Currently these are sqlite3, minizip and bz2. * Internal cleanups. * contrib/makefile.hbs + contrib/hbnetio/utils/hbnetio.hbp - contrib/hbnetio/utils/netiosrv.hbp * Renamed. * Changed naming to be simply hbnetio without platform or cpu postfix. 2010-07-04 19:03 UTC+0200 Viktor Szakats - bin/patchup.hbs + bin/hbxpatch.hbs * Renamed to have hb prefix. Better suggestions are welcome for the name, don't consider this final. Probably something like hbupdext.prg would be better. * contrib/Makefile * Changed test status of makefile.hbs call to make it do some actual work. * config/postinst.hbs - Deleted implib creation. Now done by makefile.hbs. Implibs are never required for core, so this is now much cleaner. - Deleted experimental HB_BUILD_ADDONS support. This feature has moved to makefile.hbs and it can be controlled by HB_ADDONS_LIB and HB_ADDONS_BIN to add non-hosted extra components to the build process. The envvar names are not finalized. * Changed to only copy .hbs files starting with 'hb' in bin dir to avoid catching local scripts and adding them to install. * contrib/makefile.hbs + Marked dependencies from external. * Reworked the way project list is assembled. ! Fixed root dir issues. ! Fixed -instpath option * config/postinst.hbs * Tweaked to convert pathseps in external tool calls to native. * ChangeLog ! Corrected most basic problems with Massimo's latest log entry. Massimo: You fixed a one byte typo and caused by to fix about 10 typos writing 3-4 letters. This isn't very effective help. 2010-07-04 18:30 UTC+0100 Belgrano Massuno (mbelgrano@deltain.it) * harbour/examples/httpsrv/uhttpd.prg made and posted from Jacek Kubica corrected small typo in 2010-07-04 09:08 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbxbp/xbpmenubar.prg ! Added "style" management method - unique to Harbour. 2010-07-04 08:40 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/hbqt.ch * contrib/hbqt/hbqt_hbslots.cpp * contrib/hbqt/hbqt_hbslots.h + Added: more slots covering QMdiArea and QMdiSubWindow classes. * contrib/hbxbp/xbpbrowse.prg ! Reworked: event handelling methods more spontaneous. + contrib/hbide/resources/browser.png + contrib/hbide/resources/formview.png + contrib/hbide/resources/thumbnail.png + contrib/hbide/resources/view_cascaded.png + contrib/hbide/resources/view_organized.png + contrib/hbide/resources/view_tabbed.png + contrib/hbide/resources/view_tiled.png * contrib/hbide/hbide.qrc + Added: few images as above. * contrib/hbide/hbide.prg * contrib/hbide/ideactions.prg * contrib/hbide/idebrowse.prg * contrib/hbide/idedocks.prg * contrib/hbide/ideeditor.prg * contrib/hbide/idemisc.prg * contrib/hbide/ideskeletons.prg * contrib/hbide/idestylesheets.prg * contrib/hbide/idethemes.prg * contrib/hbide/idetools.prg + Reworked: application theme management. Now it includes the missing components from previous. + Reworked: ideDBU interface. Now it is hosted in a MDI interface which is more natural to table management, including relational views. User can rearrange and resize the browsers to his personal tastes. Here is the layout hirarchy of ideDBU: hbIDE ideDBU - docking pane, right-hand, floatable, dockable. Toolbar Add a table, Form View, Tabbed View, Original View, Cascaded View, Tiled View, Remove browser, Panels - create button, switch menu Panels - user defined, only one visible at a time Panel 1 Browser 1 - .dbf, an array ( TODO, functionality is there ) Browser 2 Browser n Panel 2 Browser 1 Browser 2 Browser n Panel n Browser 1 Browser 2 Browser n Panels retain their last contents and are presented on next run as is. The only exception being panel "Main" is always the first visible. NOTE: there is a lot on my drawing board. So far I was struggling to make the behavior of XbpBrowser stable per TBrowse specs and interface design. Rest will follow soon. 2010-07-04 15:53 UTC+0200 Viktor Szakats * harbour-win-spec * harbour-wce-spec * harbour.spec * package/winuni/mpkg_win_uni.bat * package/winuni/mpkg_win_uni.nsi * utils/hbmk2/hbmk2.pt_BR.po * utils/hbmk2/hbmk2.hu_HU.po * utils/hbmk2/hbmk2.prg * config/postinst.hbs * Renamed hbmk.cfg to hbmk.hbc, to use std extensions. This file is a sortof autoexec.hbc. * utils/hbmk2/hbmk2.prg - Deleted line from help about automatic .hbc processing in cwd. 2010-07-04 15:46 UTC+0200 Viktor Szakats * COPYING * utils/hbmk2/examples/plug_tpl.hbs * contrib/hbqt/hbmk2_plugin_qt.hbs + Changed to use same license as hbmk2 (pure GPL) also for hbmk2 plugin scripts. * utils/hbmk2/hbmk2.prg ! Corrected to display any type of return value coming from plugins. (all non-empty return value is considered an error) 2010-07-04 15:27 UTC+0200 Viktor Szakats * bin/patchup.hbs * contrib/hbqt/hbmk2_plugin_qt.hbs * contrib/makefile.hbs * contrib/hbide/plugins/savebackup.hbs * utils/hbmk2/examples/plug_tpl.hbs * config/postinst.hbs + Added license headers, information about script content and context. 2010-07-04 14:49 UTC+0200 Viktor Szakats - bin/patchup.prg + bin/patchup.hbs - utils/hbmk2/examples/plug_tpl.prg + utils/hbmk2/examples/plug_tpl.hbs - contrib/hbide/plugins/savebackup.prg + contrib/hbide/plugins/savebackup.hbs * Renamed standalone and plugin Harbour scripts to have .hbs extension. * contrib/hbqt/hbqt.hbc - contrib/hbqt/hbmk2_plugin_qt.prg + contrib/hbqt/hbmk2_plugin_qt.hbs * Renamed standalone and plugin Harbour scripts to have .hbs extension. * contrib/Makefile - contrib/makefile.prg + contrib/makefile.hbs * Renamed standalone and plugin Harbour scripts to have .hbs extension. * Makefile - config/postinst.prg + config/postinst.hbs * Renamed standalone and plugin Harbour scripts to have .hbs extension. 2010-07-04 14:45 UTC+0200 Viktor Szakats - external/patchup.prg + bin/patchup.prg * Moved to bin dir for universal access. E.g. we may want to support external components inside contribs or anywhere else in the tree. + Added support to recognize and use .hbp file as well, if Makefile is not available in current dir. 2010-07-04 12:21 UTC+0200 Viktor Szakats * src/rtl/cdpapi.c * src/rtl/cdpapihb.c * include/hbapicdp.h + Added new low-level hb_cdpList() function. ! cdp list generation logic now protected with mutex. ! HB_CDPLIST() .prg level function moved to cdpapihb.c, thus clearing the last pending FIXME here regarding layer separation. Low-level can now be moved to common lib (or is there anything else missing?). * contrib/hbqt/hbmk2_plugin_qt.prg * Minor correction in one stdalone error msg. 2010-07-02 10:44 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added feature for plugins to register the file extensions they can handle. This makes -pi option unnecessary for passing special file types to the build process. File types handled by hbmk2 cannot be overridden this way, if you want to do such thing -pi option is required, this is by design, and this way plugins cannot inadvertently mess up the build process. + Added strict parameter checking to hbmk2 plugin functions which requires the hbmk2 context. Now calling them with bad parameters won't cause RTE inside hbmk2 code. * contrib/hbqt/hbmk2_plugin_qt.prg + Registering the file types the plugin can handle. * contrib/hbqt/hbqtcore.hbp * contrib/hbqt/qtwebkit/hbqtwebkit.hbp * contrib/hbqt/hbqscintilla/hbqscintilla.hbp * contrib/hbqt/hbqtnetwork.hbp * contrib/hbqt/qtdesigner/hbqtdesigner.hbp * contrib/hbqt/hbqt.hbp * contrib/hbqt/hbqtgui.hbp * contrib/hbide/hbide.hbp - Dropped -pi option. It is now unnecessary in these cases (well, all cases in Harbour) * contrib/hbqt/hbqscintilla/hbqscintilla.hbp ! Fixed content. The referenced plugin name was deleted quite long ago already when this file was committed. Was this file ever tested before commit? + contrib/hbqt/tests/harbour-logo.png + contrib/hbqt/tests/harbour-icon.png + contrib/hbqt/tests/testres.prg + contrib/hbqt/tests/testres.qrc + Added example for QT resource embedding. Sent to the list by Bacco, with my cleanups, formatting, renames etc. I didn't add a .hbp file for it, so pls remember to build it using: 'hbmk2 testres testres.qrc' 2010-07-02 09:14 UTC+0200 Viktor Szakats * contrib/makefile.prg ! Temporarly disabled -w3 warning level. 2010-07-02 16:13 UTC+0200 Viktor Szakats * contrib/hbqt/hbmk2_plugin_qt.prg * Changed to use __binarystreaminclude facility instead of rolling local .prg (or .c) generation logic. - Deleted .qrc to .c generator. - Deleted standalong mode of .qrc to source conversion (there is nothing interesting in it anymore) * ChangeLog ; Previous TODO marked as NONISSUE: string encoding in .ppo file is not often subject to editing. 2010-07-02 16:05 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/pp/ppcore.c % do not allocate 16 MiB buffer even if included file has 1 byte. * changed the maximum size for data included by #pragma __[c]streaminclude from 64 KiB to 16 MiB 2010-07-02 15:04 UTC+0200 Viktor Szakats * src/pp/ppcore.c * include/hbpp.h + Added #pragma __binarystreaminclude. Works the same as other stream include pragmas, but here it the size limit is ~16 MiB and it accepts binary files for input. ; TODO: The encoding now contains high ASCII chars which is unsafe as it can be converted by editors thus corrupting the embedded binary. [NONISSUE: the problem could only be with the .ppo file, which is rarely edited.] * contrib/hbqt/hbmk2_plugin_qt.prg % Optimized .qrc to .prg converter to not split the lines. Harbour is able to compile very long source lines, pbly todays patch from Przemek was needed for that. Nice! 2010-07-02 14:33 UTC+0200 Viktor Szakats * contrib/hbqt/hbmk2_plugin_qt.prg + Activated new resource binary generator code, which doesn't require qt headers anymore. * contrib/hbqt/hbqt.hbc - Deleted qt dependency. Not needed anymore. * contrib/Makefile * contrib/makefile.prg + Some contrib libs will now be built using new hbmk2 based method as an experiment. + hbnetiosrv will now be built as well using hbmk2, also as an experiment. * contrib/hbide/hbide.prg + Loading resources manually using new QResource method implemented by Bacco. * utils/hbmk2/hbmk2.prg + Implemented support for #import Objective C specific directive when detecting header dependencies. * .m extension is now compiled with C compiler (not C++) - Deleted 'experimental' status from plugin related options. ; Patches from Bacco: * contrib/hbqt/generator/hbqtgen.prg * contrib/hbqt/qth/QResource.qth * contrib/hbqt/qtcore/TQResource.prg * contrib/hbqt/qtcore/QResource.cpp * contrib/hbqt/doc/en/class_qresource.txt * contrib/hbqt/hbqt.h + Added QResource:registerResource()/QResource:unregisterResource() * With some minor modification from me (unsigned char -> uchar, some formatting) ; Patches from Tamas Tevesz: * src/rtl/memvarhb.prg * src/rtl/hbcom.c * Tweaks for prev patch: formatting and .hbv type description. ; Thanks to both contributors! 2010-07-02 14:20 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbpp.h * harbour/src/pp/ppcore.c * harbour/src/pp/hbpp.c * harbour/src/pp/pplib.c * harbour/src/compiler/complex.c * eliminated HB_USHORT limit for maximum token size * changed prefix of HB_SIZE numeric values from 'ul' to 'n' * harbour/contrib/rddads/adsfunc.c + added wrapper to AdsGetMemoDataType() function 2010-07-02 10:10 UTC+0200 Viktor Szakats * ChangeLog * Revised and updated status for pending TODOs FIXMEs of this year. * contrib/hbcurl/hbcurl.c * contrib/hbcurl/hbcurl.ch + Added support for all new libcurl features introduced in 7.19.4, 7.20.0, 7.21.0 * Changed some recently added constants to be in sync libcurl values. * contrib/hbwin/Makefile * contrib/hbwin/hbwin.hbp + contrib/hbwin/wapi_winnetwk.c + Added WAPI_WNETGETLASTERROR() * contrib/hbct/ctnet.c * NETREDIR(): Deleted Windows specific 4th parameter extension which activated debug-style features (introduced in xhb) based on WNetGetLastError() call. Such call was now added separately to hbwin. * contrib/hbide/hbide.prg ! Deleted hard-coded reference for specific QT version. This should be solved differently. ; FIXME: BTW the whole notion of having a special build for a given distro is wrong. It should rather do autodetection in all builds. ; Patches from Tamas Tevesz: * src/rtl/memvarhb.prg * Adjusted information on magic byte + Version number change to 1. * src/rtl/hbcom.c ! Fix for linux/watcom link problem. * bin/postinst.sh * Ajustment for some undisclosed but probably weird system :) 2010-07-01 17:32 UTC+0200 Viktor Szakats * src/rtl/memvarhb.prg + Added file signature and version no. to .hbv files. ; Patch by Tamas Tevesz with a few modifications: - added high byte at 1st pos is signature - deleted RTEs in case of invalid file content on load (to mimic original __MVRESTORE() which is also silent) - minor optimization on signature checking. ; INCOMPATIBLE: The file format has changed so you won't be able to interchange it with previous versions of Harbour. Anyhow it's very new format, so this shouldn't affect many users. * utils/hbmk2/hbmk2.prg * utils/hbrun/hbrun.prg + Shows .hbs as support input file format (where applicable) ! Little fix in displaying options w/o description on help screen. * utils/hbrun/hbrun.prg + Added clipboard paste support with Alt+V key. * contrib/hbide/hbide.prg - Temply disabled reference to new-style embedded resources. 2010-07-01 10:05 UTC+0200 Viktor Szakats * src/rtl/gtsln/kbsln.c * public variable hb_DeadKey made static and renamed to s_iDeadKey. Pls shout if this is needed to be kept public, but even in that case it should get a new name. * static hb_DeadKeyEnvName renamed to s_DeadKeyEnvName * Changed HRBNATIONDEADKEY to HB_GTSLN_NATIONDEADKEY to better fit into Harbour control envvar names. Pls shout if this break lots of configurations. * Whitespace formatting. 2010-07-01 09:56 UTC+0200 Viktor Szakats * contrib/hbqt/hbmk2_plugin_qt.prg + Added .qrc to .prg generator logic. ! Fixed .qrc to .c generator leaving last few bytes off. % Optimized .qrc to .c generator output to have only one line. * utils/hbrun/hbrun.prg + Internal history length changed to 128 (from 32). - Deleted extra limit on number of saved history items. % Minor optimization to history saving. * src/rtl/gtsln/gtsln.c * Whitespace formatting. 2010-07-01 02:31 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/compiler/harbour.y * harbour/src/compiler/harbour.yyh * harbour/src/compiler/harbour.yyc * increase the maximum bison stack size limit from 10000 items to 100000 * harbour/src/rtl/gtsln/kbsln.c + added support for HB_K_RESIZE * harbour/contrib/hbwin/axcore.c * harbour/contrib/hbwin/hbolesrv.c * do not pass message ID (DISPID) as first parameter of codeblock or function taken from hash array indexed by DISPIDs. This modification restores old format, i.e. the one expected by GTWVG code. * harbour/contrib/hbwin/tests/olesrv1.prg ! comment 2010-07-01 01:04 UTC+0200 Viktor Szakats * src/rtl/gtcrs/gtcrs.c + GTCRS will now generate HB_K_RESIZE Harbour INKEY() events if the terminal window is resized. Thanks for Tamas Tevesz for the suggestion + patch. * Whitespace formatting. 2010-07-01 00:46 UTC+0200 Viktor Szakats * include/std.ch + Added .hbv version of SAVE TO / RESTORE FROM commands. Use 'SAVE HBV ...' and 'RESTORE HBV ...' commands to use Harbour specific mem file format (with .hbv extension). The file format supports long variable names and much larger amount of data then Clipper compatible .mem files. The file format is NOT compatible with Clipper. ; Pls review. This is my first time extending Harbour commands, plus I'm not very much a command freak, so maybe there is more natural (and compatible) way to extend existing SAVE/RESTORE command. * utils/hbrun/hbrun.prg * Variable scope cleanup to prev. 2010-06-30 23:52 UTC+0200 Viktor Szakats * src/rtl/gttrm/gttrm.c + GTTRM will now generate HB_K_RESIZE Harbour INKEY() events if the terminal window is resized. * utils/hbrun/hbrun.prg + Will now automatically resize the UI if the window is resized (on GTs which support this: GTTRM, GTWVT, GTXWC) + Now shows little red 'o' sign if history recording is enabled (default) + Set resize mode to 'rows' (only meaningful if using GTs that support it). % hbrun_Info() optimized. 2010-06-30 22:49 UTC+0200 Viktor Szakats * utils/hbrun/hbrun.prg + Added load/save of command history. It can be disabled by -p command-line option or by adding a single line "no" (without quotes) to the history filename. Otherwise last 500 commands will be remembered. History filename is %APPDATA|HOME%/.harbour/.hbrun_history if such envvar is present, otherwise hbrun dir. On MS-DOS it's hbrun dir and hbrunhst.ini. * utils/hbmk2/hbmk2.prg * Minor variable/constant name cleanup. * contrib/hbqt/hbmk2_plugin_qt.prg ! Typo in #if statements. 2010-06-30 10:23 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/idebrowse.prg ! Fixed: closing a table in ideDBU was causing RTE. 2010-06-30 19:17 UTC+0200 Viktor Szakats * src/vm/extend.c * include/hbapi.h + Added hb_retclen_const() to return constant byte arrays. * contrib/hbqt/hbmk2_plugin_qt.prg * contrib/hbide/hbide.prg + Implemented pure Harbour .c QT resource support. Commented, waiting for HBQT API to load resources from byte stream. This method will create a pure .c source files from binary QT resource, so it doesn't require QT headers to be present. * contrib/hbqt/hbmk2_plugin_qt.prg * contrib/hbide/idemisc.prg * contrib/hbide/ideskeletons.prg * Changed 'ui' prefix to 'hbqtui_' for compiled .ui file entry function names. * utils/hbmk2/hbmk2.prg + Added hbmk2_FNameToSymbol() plugin function to convert filename to Harbour symbol name. * contrib/hbide/hbide.env - Deleted QT setup from compilers where QT is not supported. 2010-06-30 10:02 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/hbqt_hbqplaintextedit.cpp ! Fixed: right-button-press was clearing selection. 2010-06-30 10:40 UTC+0200 Viktor Szakats * external/bzip2/Makefile - Deleted now not needed old URL tag. * external/patchup.prg + Added option to create temp dir in cwd. + Using --force-local tar option to make broken Windows tar build (gnuwin32 latest 1.13 release from 2003) happy. + Changing to target dir on our own instead of using -C tar option. This option is broken on Windows tar build (gnuwin32 latest 1.13 release from 2003) * package/winuni/RELNOTES + libcurl updated. 2010-06-30 01:30 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/ideedit.prg % Changed: context-menu options for "Split..." are now edit instance's state dependent. ! Thumbnail window is not closed while split is closed. 2010-06-30 00:27 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/hbqt_hbqplaintextedit.cpp ! Fixed: the paint behavior in "thumbnail". Selected text was covered behind highlight area. * contrib/hbide/idebrowse.prg * contrib/hbide/idedocks.prg * contrib/hbide/idesaveload.prg + Added: more icons to ideDBU toolbar, close and toggle form view. + Implemented: to save and restore table informations per panel. Now ideDBU is presented with opened tables as was closed previously. + Implemented: "Panels" concept where each panel can hold different tables. TODO: interface to add panels. Please test. 2010-06-29 17:44 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/ideedit.prg * contrib/hbide/ideeditor.prg * contrib/hbide/idetools.prg % Minor fix in "buttonBrowse_clicked" event which was causing RTE when there was no other Tool defined. ! Fix to Ctrl+G which stopped working after keyboard macros synchronization few days back. ! Thumbnail window is closed if a source is closed. To activate it for another source you need to activate it again. However, switching over to another source, it stays as is. + Reimplemented: split behavior of current editing instance. Before it was done in fixed halved window plus split was available verically and horintally any level deep. This was neither appropriate nor desired behavior. Now split is presented in resizable window either horizontally or vertically. The behavior can be changed if all splitted windows are closed first and then again split is initiated. Above anomalies reported by Viktor, thanks. Please test and report back any fix is not upto mark. 2010-06-29 21:29 UTC+0200 Viktor Szakats * contrib/hbide/ideprojmanager.prg + Changed to not save hbide options with empty or default values to .hbp files. * contrib/hbqt/hbqscintilla/hbqscintilla.hbp * contrib/gtwvg/tests/demowvg.hbp * contrib/hbide/hbide.hbp % Deleted empty and default hbide options from .hbp files. 2010-06-29 21:02 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added support for specifying dependencies in .hbc files. * contrib/hbide/hbide.hbp * contrib/hbqt/hbqt.hbc * Moved qt dependency specification from local make file to central hbqt.hbc. * INSTALL * contrib/hbqt/hbmk2_plugin_qt.prg ! Minor correction to compile to hbmk2 plugin .hrb if compiled with harbour. + Added support for HB_QTPATH, HB_QTPOSTFIX envvars. This is now the recommended way to override QT tools autodetection. Kept HB_QT_MOC_BIN for compatibility. Deprecated. (just added support for HB_QT_UIC_BIN, HB_QT_RCC_BIN removed) - Deleted hardcoded hack to look for '-qt4' postfix when looking for QT tools. Now it's QT version agnostic. Use HB_QTPOSTFIX instead. ! Fixed deleting temp .uic file in stdalone mode. + Added -w3 pragma. 2010-06-29 11:21 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/ideactions.prg - Removed: "Insert Randome Name" option in <Edit><Insert>. Actually inserting any text can be accomplished through macros. * contrib/hbide/idesources.prg % Fixed: "Save all sources" option of <File> menu. A fatal one. Thanks to Reinaldo for reporting. 2010-06-29 09:31 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/hbide.qrc + Added: "runscript" icon. + contrib/hbide/resources/runscript.png + New icon for "Run as Script" action on main toolbar. 2010-06-29 09:07 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbxbp/xbpbrowse.prg ! Some more tweaking in event handelling. * contrib/hbide/idebrowse.prg * contrib/hbide/idedocks.prg * contrib/hbide/ideeditor.prg + Prepared: to honor multiple panels to host views of ideDBU sessions plus arranged to host a tree-view at the left if there will be a need in the future. + Added: toolbar to ideDBU interface with ounly one button <Open> to add a table to the view. Now table open dialog is not presented at the time of invocation. + Improved: ideDBU view to take care of available space more intelligently. 2010-06-29 14:56 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Will now define macro __HBSCRIPT__HBMK for all scripts executed in source form. * utils/hbrun/hbrun.prg + Will now define macro __HBSCRIPT__HBRUN for all scripts executed in source form. * contrib/hbqt/hbmk2_plugin_qt.prg + Will now act as a stdalone uic to prg converter tool if invoked via hbrun (or anything other than hbmk2). This is useful for testing this conversion process easily. * Variable rename. - contrib/hbqt/utils - Deleted hbqtui stdalone tool. * contrib/makefile.prg + Updated TODOs 2010-06-29 14:00 UTC+0200 Viktor Szakats * contrib/hbide/ideharbourhelp.prg * contrib/hbide/idehome.prg + Changed to use embedded .png resources in html pages. ; /resources dir isn't required now to run hbide. * contrib/hbide/ideskeletons.prg ! Fixed to use embedded UI resource. 2010-06-29 13:13 UTC+0200 Viktor Szakats * contrib/hbide/ideplugins.prg + Added support for .hbs extension (handled similarly as .prg). The logic is very fuzzy here, it could be greatly simplified like it is in hbrun or hbmk2. I don't understand why hbide is trying to guess the filename, shouldn't it be the basic input parameter? or even better the result of a DIRECTORY() scan, as we've discussed? * contrib/hbide/plugins/savebackup.prg - Deleted .ch header reference to make it work as source code plugin. - contrib/hbide/plugins/savebackup.hrb - Delete prebuilt .hrb. It's better to use the source version by default. 2010-06-29 13:00 UTC+0200 Viktor Szakats * contrib/hbide/hbide.env ! Fixed all entries. Synced with INSTALL and other required changes to work with current Harbour. Deleted unnecessary forced platform, compiler values, deleted unnecessary, wrong and misleading version informations. Deleted left padding spaces from section headers. 2010-06-29 12:44 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Separated package dependency by key header autodetection logic from header dependency parsing logic. This way the code is cleaner and it has the added benefit that dependencies will be detected even without actual source code using the key headers. This e.g. makes it possible to pull dependencies for autogenerated code (such example can be found in hbide where generated .cpp depends on qt). Another benefit is that pkg detection by header will also work in non incremental mode or forcefully disabled header parsing option, it also causes better header parsing performance. * contrib/hbqt/hbqt_common.hbm - contrib/hbqt/hbmk2_plugin_moc.prg * contrib/hbqt/hbmk2_plugin_qt.prg + Merged moc plugin into qt plugin. This way some of the common code and logic is now integrated, forming a common hbmk2 plugin for all QT purposes. % Merged common code. * Some internal renames. * Further changes regarding proper -clean behavior. * contrib/hbide/hbide.prg * contrib/hbide/ideprojmanager.prg - contrib/hbide/resources/hbide.env + contrib/hbide/hbide.env * Moved hbide.env to hbide root. ; TODO: It remains to be solved that hbide.env be searched at the same locations as as hbide.ini. It would be even better if hbide.env could use more standard .ini layout and be simply merged into hbide.ini. Pritpal, could you check this issue? [NO FEEDBACK] 2010-06-29 09:52 UTC+0200 Viktor Szakats * INSTALL + Added HB_QT_RCC_BIN ; TODO: Change these envvars to HB_QTPOSTFIX and HB_QTPATH. [DONE] * contrib/hbqt/hbqt.hbc - contrib/hbqt/hbmk2_plugin_ui.prg + contrib/hbqt/hbmk2_plugin_qt.prg * Renamed. This plugin now handles .qrc files too. + Added support to compile .qrc files into final executables. This uses 'rcc' QT tool and since this one generates a .cpp file, the build process will require QT headers. ; TODO: If possible, create QRC .cpp to .prg converter to remove this dependency. [DONE] + contrib/hbide/hbide.qrc + Added QRC file with all the .png files in resources dir. * contrib/hbide/hbide.hbp + Added QT detection. I'm not so secrectly hoping someone will create a qrc .cpp to .prg converter so we can drop this dependency. * contrib/hbide/idemisc.prg * contrib/hbide/ideactions.prg * contrib/hbide/hbide.prg * Changed to pick resource .png files from internal resource except external files. This means that /resources dir doesn't need to be distributed along hbide executable, IOW hbide executable is now self-contained (except a few exceptions like hbide.env, plus the fact the internal html pages make references to these external files, too.) - Deleted some unnecessary trash from source. ; FIXME: hbide.env should reside in same place as hbide.ini. [DONE] ; FIXME: hbide internal html pages make reference to .png files on disk. [DONE] 2010-06-29 08:46 UTC+0200 Viktor Szakats * INSTALL + Added HB_QT_UIC_BIN. * utils/hbmk2/hbmk2.prg ! Fixed to call 'pre_prg' plugin state from a better position, so that it works in incremental mode. * contrib/hbqt/hbmk2_plugin_ui.prg * Variable name cleanup. * Marked parameters passed by reference. * contrib/Makefile * Finalizing GNU Make -> hbmk2 job transfer. * contrib/makefile.prg * Finalizing clean/install/make job control. * contrib/hbide/hbide.hbp + Use explicit .ui input file list instead of using wildcards. * contrib/hbide/setup.ui ! Fixed mixed-case hbide.ini filename on UI. ! Fixed .exe extension (and mixed case) on UI. 2010-06-28 19:04 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbxbp/xbpbrowse.prg % Rearrangement of code. Was calculating rows console based. * contrib/hbide/idedocks.prg % Minor. * contrib/hbide/idebrowse.prg + Implemented: browse and corresponding form view of a table, wrapped inside splitters. Multiple tables are presented in vertical splitters and form view is presented in horizontal splitter. ; NOTE: still work in progress. But proof of concept is already working. 2010-06-28 21:37 UTC+0200 Viktor Szakats * utils/hbformat/Makefile * utils/hbi18n/Makefile * utils/hbtest/Makefile ! Fixed to not try to build shared binaries if HB_BUILD_DLL=no. * utils/hbmk2/hbmk2.prg * utils/hbrun/hbrun.prg + Recognized .hbs as extension equivalent to .prg. .hbs means: Harbour Script 2010-06-28 21:31 UTC+0200 Viktor Szakats * contrib/hbqt/hbmk2_plugin_ui.prg * Further cleanup. + Added detailed error messages for remaining (rare) error cases. * contrib/hbqt/hbmk2_plugin_ui.prg * contrib/hbqt/hbmk2_plugin_moc.prg * Minor cleanup to use hb_StrFormat() in two more places. * contrib/makefile.prg - Deleted reference to hbqtui. 2010-06-28 21:14 UTC+0200 Viktor Szakats * contrib/hbqt/hbmk2_plugin_ui.prg % Deleted unnecessary parentheses % Using FOR EACH. % Minor optimizations ! Variables renamed to not use one-letter variable names and ones ending with underscore. 2010-06-28 20:53 UTC+0200 Viktor Szakats * contrib/hbqt/hbmk2_plugin_ui.prg + Rewritten to look for uic tool. Using same rules as moc. Marco is silent so I'm not sure about some of the rules, anyway I hope someone will review it, until then it won't cause any harm. + Merged hbqtui functionality. The code has been formatted, some logic cleaned. Made all the changes that were needed in order to include the code in a hbmk2 plugin. hbqtui is not needed anymore. ; TODO: Use hb_regexAll() instead of hb_regex() if possible. [CANCELLED] * contrib/hbqt/hbmk2_plugin_moc.prg * Minor cleanup in error messages. * utils/hbmk2/hbmk2.prg * Added HB_REGEX() to the executable until it's cleaned away from ui plugin. 2010-06-28 18:45 UTC+0200 Viktor Szakats * contrib/hbqt/qtwebkit/hbqtwebkit.hbp * contrib/hbqt/qtdesigner/hbqtdesigner.hbp + Enabled moc tool for future .hpp files. * contrib/hbqt/utils/hbqtui.prg * contrib/hbqt/utils/hbqtui.hbp - Deleted hbqt.ch requirement. For some strange reason (which turned out to be copy/paste programming from THbQtUI() class) the converter also did some PP job, which created the unnecessary dependency to hbqt.ch. * Cleanups. Note the code is so hacky that it would take many days to clean it up. I might have broken stuff, you touch something and something else breaks on a completely different area. - Commented maintaining a duplicate of hbqt.ch constants. % Deleted OOP style coding. It was not necessary and quite half-baked anyway. * Changed to use ui_ prefix and std .prg extension instead of .uip. ; FIXME: The generator creates reference to function named Q__TR() which turned out to be part of HBQT. What is this function? [CLEARED] * contrib/hbqt/hbmk2_plugin_ui.prg * Changed to use ui_ prefix and std .prg extension instead of .uip. 2010-06-28 08:51 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/hbide.prg * contrib/hbide/idebrowse.prg ! Refinements: data navigation and allied in hbideDBU interface. 2010-06-28 18:42 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/contrib/hbcomm/hbcomm.prg * added hb_comClose() to INIT_PORT() to respect latest HBCOM API changes 2010-06-28 17:03 UTC+0200 Viktor Szakats - external/minizip/readme.txt - Deleted. Most information was obsolete and now update is automatic. - contrib/hbide/resources/hbmk2_plugin_ui.prg + contrib/hbqt/hbmk2_plugin_ui.prg + Moved this hbmk2 plugin to its proper place inside hbqt. It's QT specific functionality. * contrib/hbide/hbide.hbp * contrib/hbqt/hbqt.hbc * contrib/hbqt/hbqts.hbc * Changed to follow above plugin location change. * contrib/hbide/ideprojmanager.prg - Commented ui plugin from hbide. It's needs to be solved differently. ui plugin is QT specific so it cannot be inside hbide tree. * config/postinst.prg + Some more feedback. ! Slight correction to another feedback. 2010-06-28 17:22 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/include/hbcom.ch * harbour/rtl/hbcom.c * implemented new error code HB_COM_ALREADYOPEN in hb_comOpen() * harbour/contrib/hbct/ctcom1.c * changed COM_OPEN() behaviour to be compatible with HBCOM API and original CT behaviour 2010-06-28 10:58 UTC+0200 Viktor Szakats * config/win/msvc.mk ! Fixed HB_BUILD_SHARED=yes mode for msvc. 2010-06-28 10:45 UTC+0200 Viktor Szakats * external/patchup.prg * Changed gtcgi force option to be the more portable-style one. * contrib/hbqt/utils/hbqtui.prg + Added error message ; FIXME: This tool needs serious ruggedizing to be ready for production environment. It just fails to give _any_ on screen feedback about what's happening, or what fails. This means that the caller will fail in various ways depending on how hbqtui failed. It also doesn't return anything via errorlevel. Pritpal can you look at it? [SOLVED DIFFERENTLY] * contrib/Makefile * contrib/makefile.prg + Added experimental call out from GNU Make to Harbour contrib make orchestrator script. 2010-06-28 01:12 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/hbide.hbp * contrib/hbide/hbide.prg * contrib/hbide/ideactions.prg + contrib/hbide/idebrowse.prg * contrib/hbide/idedocks.prg * contrib/hbide/ideeditor.prg * contrib/hbide/ideobject.prg * contrib/hbxbp/xbpbrowse.prg + Implemented: database tables manager ( dbu ). A work-in-progress but you can have a feel of it. 1. "View"->"Browser Widget"->Select a Table. 2. Hide the widget and repeat process 1, select another table. 3. The widget will now contain both browsers. NOTE: many surprises may be there, just bear with me, it is a quick commit. Refinements are scheduled for this whole week. 2010-06-27 19:34 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/toolsutilities.ui + Added "Plugin" "Init at startup" slots. * contrib/hbqt/hbqt_hbslots.cpp + Deactivated: one tracelog entry. * contrib/hbide/hbide.prg * contrib/hbide/ideactions.prg * contrib/hbide/idedocks.prg * contrib/hbide/ideedit.prg * contrib/hbide/ideeditor.prg * contrib/hbide/idemisc.prg * contrib/hbide/ideplugins.prg * contrib/hbide/ideprojmanager.prg * contrib/hbide/idethemes.prg * contrib/hbide/idetools.prg % Fixed: docking widgets had stopped to be resizable. + Enhanced: plugins are now supported in .prg format also. + REQUESTed all hbQT and hbXBP classes for scripts to be completely functional. + Added: "Plugins" combo-box and "Init at startup" checkbox in "Tools & Utilities" dialog below to "Command Line Parameters". If "Init at startup" checkbox is checked then this plugin is initialized at startup. Such defined plugins can be placed on user-defined toolbars and can be executed directly from there. "Parameters" editbox can hold the parameters passed to the plugin. The format of such parameters is like command line but with one difference that string parameter are enclosed in double quotes and separated by spaces. For example: "open" 100 100 700 500. + Initialized: plugins at the startup which are flagged as such through "Tools & Utilities" interface. It facilitate to hook user defined parameters, object tweakings, etc at the startup. For example, user can setup compiler and or build environment with hb_setEnv() functions. + Top-Toolbar icon "Run as Script". This option allow you to run source of current editing instance as a script. It is especially handy to debug isolated dialogs etc on the fly. Below is an example to test a dialog: FUNCTION Main() LOCAL oDlg LOCAL nT := 10, nL := 10, nW := 300, nH := 200 oDlg := QDialog():new() oDlg:move( nT, nL ) oDlg:resize( nW, nH ) oDlg:exec() RETURN NIL NOTE: no preprocessor is available, so all variable must be self contained. Preceived, thoughtof, tested, by Antonio Linares, thanks. 2010-06-28 02:29 UTC+0200 Viktor Szakats * contrib/hbqt/qtwebkit/hbqtwebkit.hbp + contrib/hbqt/qtwebkit/hbqtwebkits.hbp * contrib/hbqt/qtdesigner/hbqtdesigner.hbp + contrib/hbqt/qtdesigner/hbqtdesigners.hbp + Added working hbmk2 make files, also for Windows static mode. (BTW, basically a simple copy of existing qt ones) 2010-06-28 02:16 UTC+0200 Viktor Szakats * contrib/gtwvg/tests/demowvg.hbp ! One more "hbide_location" deleted. 2010-06-28 02:13 UTC+0200 Viktor Szakats * contrib/hbqt/qtwebkit/hbqtwebkit.hbp * contrib/hbqt/hbqscintilla/hbqscintilla.hbp * contrib/hbqt/qtdesigner/hbqtdesigner.hbp * contrib/hbide/hbide.hbp * contrib/hbide/ideprojmanager.prg ! Stop storing environment and platform specific "hbide_location" path in .hbp files. 2010-06-28 01:13 UTC+0200 Viktor Szakats * package/winuni/mpkg_win_uni.bat * package/winuni/mpkg_win_uni.nsi ! hbmk.cfg is optional now. * utils/hbmk2/hbmk2.prg ! Really don't add examples to hbc search path. * ChangeLog * TODO marked DONE. 2010-06-28 00:49 UTC+0200 Viktor Szakats * contrib/gtalleg/gtalleg.hbp * contrib/gtwvg/gtwvg.hbp * contrib/hbblat/hbblat.hbp * contrib/hbblink/hbblink.hbp * contrib/hbbz2/hbbz2.hbp * contrib/hbcairo/hbcairo.hbp * contrib/hbclipsm/hbclipsm.hbp * contrib/hbcomm/hbcomm.hbp * contrib/hbct/hbct.hbp * contrib/hbcups/hbcups.hbp * contrib/hbcurl/hbcurl.hbp * contrib/hbfbird/hbfbird.hbp * contrib/hbfimage/hbfimage.hbp * contrib/hbfoxpro/hbfoxpro.hbp * contrib/hbfship/hbfship.hbp * contrib/hbgd/hbgd.hbp * contrib/hbgt/hbgt.hbp * contrib/hbhpdf/hbhpdf.hbp * contrib/hbmemio/hbmemio.hbp * contrib/hbmisc/hbmisc.hbp * contrib/hbmysql/hbmysql.hbp * contrib/hbmzip/hbmzip.hbp * contrib/hbnetio/hbnetio.hbp * contrib/hbnf/hbnf.hbp * contrib/hbodbc/hbodbc.hbp * contrib/hbpgsql/hbpgsql.hbp * contrib/hbqt/hbqt_common.hbm * contrib/hbsms/hbsms.hbp * contrib/hbsqlit3/hbsqlit3.hbp * contrib/hbssl/hbssl.hbp * contrib/hbtip/hbtip.hbp * contrib/hbtpathy/hbtpathy.hbp * contrib/hbwin/hbwin.hbp * contrib/hbxbp/hbxbp.hbp * contrib/hbxpp/hbxpp.hbp * contrib/hbziparc/hbziparc.hbp * contrib/rddads/rddads.hbp * contrib/rddbmcdx/hbbmcdx.hbp * contrib/rddsql/rddsql.hbp * contrib/sddfb/sddfb.hbp * contrib/sddmy/sddmy.hbp * contrib/sddoci/sddoci.hbp * contrib/sddodbc/sddodbc.hbp * contrib/sddpg/sddpg.hbp * contrib/sddsqlt3/sddsqlt3.hbp * contrib/xhb/xhb.hbp * examples/hbbtree/hbbtree.hbp - Deleted -nohbc option. No longer needed/supported. 2010-06-28 00:25 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg * config/postinst.prg + Changed the way default .hbc search paths are setup. Now instead of being speficied by hbmk.cfg, they are hard-coded into hbmk2: contrib, addons. This makes these search paths work even whithout 'install' build phase. Pls note that 'examples' fell out of the std search path list. - hbmk2 will _no longer_ automatically process .hbc files in current directory. This concept was causing more trouble than good, as it turned out. Also removed -nohbc option, which has now lost its meaning. INCOMPATIBILITY. To restore old effect, either add .hbc to your .hbp file, or create a hbmk.hbm file with a reference to the .hbc file. ; TODO: Rename hbmk.cfg to hbmk.hbc to have a standard extension. [DONE] ; TODO: To solve the search path issue on *nix dir structures. Currently the search paths are: bin/../contrib/, bin/../addons/ ; TODO: Delete -nohbc options from all hbmk2 project files. [DONE] ; TODO: Delete paths from .hbc references (possibly after solving the *nix search path arrangement issue) * package/winuni/mpkg_win_uni_extra_copy.bat * package/winuni/mpkg_win_uni.bat * package/winuni/mpkg_win_uni.nsi * Renamed hbrun-x64-dll.exe -> hbrun-dll-x64.exe * examples/rddado/rddado.hbc ! Fixed .hbc reference path. Thanks to Itamar for reporting it. 2010-06-27 16:20 UTC+0200 Viktor Szakats * package/winuni/mpkg_win_uni_extra_copy.bat * package/winuni/mpkg_win_uni.bat * package/winuni/mpkg_win_uni.nsi * package/winuni/mpkg_win_uni.bat * utils/hbformat/Makefile * utils/hbi18n/Makefile * utils/hbtest/Makefile * config/postinst.prg * Forcing shared build for hbformat, hbi18n and hbtest. Simply to save binary sizes on all platforms. * Disabled extra shared (-dll) version for hbformat, hbi18 and hbtest because this is now the default mode for these. * Disabled extra shared (-dll) version for hbmk2. * Changed distro to always include hbrun x64 shared build, too. ; To sum it up: hbformat, hbi18n, hbtest will now have shared exes generated and distributed, for hbmk2 only static one, and for hbrun both. This simplifies build and install, and fully syncs x64 tools distributed, with 32-bit ones. 2010-06-27 14:53 UTC+0200 Viktor Szakats * utils/hbrun/Makefile * utils/hbrun/hbrun.hbp + Enabled MT mode for hbrun. Not required, but it's a good way to start off with experimenting. It could be useful for scripts, too. 2010-06-27 14:06 UTC+0200 Viktor Szakats * contrib/hbcups/Makefile * contrib/hbcups/hbcups.hbp - Disabled for win, wce, dos. It's actually support by win/mingw and win/cygwin, but it's not very useful plus enabling it causes much more trouble than benefit at this point. * contrib/makefile.prg * Install .dlls to bin dir. * contrib/hbide/ideprojmanager.prg * contrib/hbide/hbide.hbp - contrib/hbide/resources/hbmk2_plugin_uip.prg + contrib/hbide/resources/hbmk2_plugin_ui.prg * Renamed for consistency. * contrib/hbide/resources/hbmk2_plugin_ui.prg * contrib/hbqt/hbmk2_plugin_moc.prg * Minor cleanup. 2010-06-26 16:17 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/generator/hbqtgen.prg * contrib/hbqt/generator/qt45.qtp - Deleted: references to - QtWebKit. * contrib/hbqt/hbqt.h - Deleted: hbqt_par_QWeb* * contrib/hbqt/hbqt_garbage.h * Auto generated. + contrib/hbqt/qth/QWebFrame.qth + contrib/hbqt/qth/QWebHistory.qth + contrib/hbqt/qth/QWebHistoryInterface.qth + contrib/hbqt/qth/QWebHistoryItem.qth + contrib/hbqt/qth/QWebHitTestResult.qth + contrib/hbqt/qth/QWebPage.qth + contrib/hbqt/qth/QWebPluginFactory.qth + contrib/hbqt/qth/QWebSecurityOrigin.qth + contrib/hbqt/qth/QWebSettings.qth + contrib/hbqt/qth/QWebView.qth + contrib/hbqt/qtwebkit + contrib/hbqt/qtwebkit/doc + contrib/hbqt/qtwebkit/doc/en + contrib/hbqt/qtwebkit/doc/en/class_qwebframe.txt + contrib/hbqt/qtwebkit/doc/en/class_qwebhistory.txt + contrib/hbqt/qtwebkit/doc/en/class_qwebhistoryinterface.txt + contrib/hbqt/qtwebkit/doc/en/class_qwebhistoryitem.txt + contrib/hbqt/qtwebkit/doc/en/class_qwebhittestresult.txt + contrib/hbqt/qtwebkit/doc/en/class_qwebpage.txt + contrib/hbqt/qtwebkit/doc/en/class_qwebpluginfactory.txt + contrib/hbqt/qtwebkit/doc/en/class_qwebsecurityorigin.txt + contrib/hbqt/qtwebkit/doc/en/class_qwebsettings.txt + contrib/hbqt/qtwebkit/doc/en/class_qwebview.txt + contrib/hbqt/qtwebkit/hbqt_garbage.h + contrib/hbqt/qtwebkit/hbqt_local.h + contrib/hbqt/qtwebkit/hbqtwebkit.hbp + contrib/hbqt/qtwebkit/hbqtwebkit.qtp + contrib/hbqt/qtwebkit/qth + contrib/hbqt/qtwebkit/qth/QWebFrame.qth + contrib/hbqt/qtwebkit/qth/QWebHistory.qth + contrib/hbqt/qtwebkit/qth/QWebHistoryInterface.qth + contrib/hbqt/qtwebkit/qth/QWebHistoryItem.qth + contrib/hbqt/qtwebkit/qth/QWebHitTestResult.qth + contrib/hbqt/qtwebkit/qth/QWebPage.qth + contrib/hbqt/qtwebkit/qth/QWebPluginFactory.qth + contrib/hbqt/qtwebkit/qth/QWebSecurityOrigin.qth + contrib/hbqt/qtwebkit/qth/QWebSettings.qth + contrib/hbqt/qtwebkit/qth/QWebView.qth + contrib/hbqt/qtwebkit/QWebFrame.cpp + contrib/hbqt/qtwebkit/QWebHistory.cpp + contrib/hbqt/qtwebkit/QWebHistoryInterface.cpp + contrib/hbqt/qtwebkit/QWebHistoryItem.cpp + contrib/hbqt/qtwebkit/QWebHitTestResult.cpp + contrib/hbqt/qtwebkit/QWebPage.cpp + contrib/hbqt/qtwebkit/QWebPluginFactory.cpp + contrib/hbqt/qtwebkit/QWebSecurityOrigin.cpp + contrib/hbqt/qtwebkit/QWebSettings.cpp + contrib/hbqt/qtwebkit/QWebView.cpp + contrib/hbqt/qtwebkit/TQWebFrame.prg + contrib/hbqt/qtwebkit/TQWebHistory.prg + contrib/hbqt/qtwebkit/TQWebHistoryInterface.prg + contrib/hbqt/qtwebkit/TQWebHistoryItem.prg + contrib/hbqt/qtwebkit/TQWebHitTestResult.prg + contrib/hbqt/qtwebkit/TQWebPage.prg + contrib/hbqt/qtwebkit/TQWebPluginFactory.prg + contrib/hbqt/qtwebkit/TQWebSecurityOrigin.prg + contrib/hbqt/qtwebkit/TQWebSettings.prg + contrib/hbqt/qtwebkit/TQWebView.prg + Added: independent "hbqtwebkit" library. It will required QtWebKit4 lib and dll for operations. Plus it will need Signal/Slots included in /hbqt/hbqt_slots.cpp and .h 2010-06-27 00:36 UTC+0200 Viktor Szakats * include/hbapicom.h ! Fixed missing HB_EXTERN_BEGIN/END + Added HB_EXTERN * external/patchup.prg ; Patch and log text by Tamas Tevesz: + don't let first `map' source be non-flat (would break tree top search) + on errors, also cite line numbers for easier makefile debugging + check and enforce destination files to fit in the 8+3 naming scheme + document (mis)features of, and requirements for `URL' + small clarifications 2010-06-27 00:08 UTC+0200 Viktor Szakats * contrib/hbqt/utils/hbqtui.prg * contrib/hbqt/utils/hbqtui.hbp ! Readded HBQT dependency. * contrib/hbgd/hbgd.hbc * Experimenting with -hbdyn mode. * contrib/makefile.prg ! Fixes to prev. Typo, fixed build order. 2010-06-26 14:10 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) - contrib/hbqt/qtgui/QItemEditorCreator.cpp - contrib/hbqt/qtgui/TQItemEditorCreator.prg - Deleted: residual files. 2010-06-26 23:11 UTC+0200 Viktor Szakats * external/png/pngconf.h * external/png/pngpread.c * external/png/LICENSE * external/png/pngrutil.c * external/png/pngwutil.c * external/png/png.c * external/png/png.h * external/png/pngpriv.h * external/png/Makefile + libpng update to 1.4.3 (from 1.4.2) Patch sent by Tamas Tevesz, patchup tool in action! 2010-06-26 13:53 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtdesigner * contrib/hbqt/qtdesigner/doc * contrib/hbqt/qtdesigner/doc/en * contrib/hbqt/qtdesigner/doc/en/class_qdesigneractioneditorinterface.txt * contrib/hbqt/qtdesigner/doc/en/class_qdesignerformeditorinterface.txt * contrib/hbqt/qtdesigner/doc/en/class_qdesignerformwindowcursorinterface.txt * contrib/hbqt/qtdesigner/doc/en/class_qdesignerformwindowinterface.txt * contrib/hbqt/qtdesigner/doc/en/class_qdesignerformwindowmanagerinterface.txt * contrib/hbqt/qtdesigner/doc/en/class_qdesignerobjectinspectorinterface.txt * contrib/hbqt/qtdesigner/doc/en/class_qdesignerpropertyeditorinterface.txt * contrib/hbqt/qtdesigner/doc/en/class_qdesignerwidgetboxinterface.txt * contrib/hbqt/qtdesigner/hbqt_garbage.h * contrib/hbqt/qtdesigner/hbqt_local.h * contrib/hbqt/qtdesigner/hbqtdesigner.hbp * contrib/hbqt/qtdesigner/hbqtdesigner.qtp * contrib/hbqt/qtdesigner/QDesignerActionEditorInterface.cpp * contrib/hbqt/qtdesigner/QDesignerFormEditorInterface.cpp * contrib/hbqt/qtdesigner/QDesignerFormWindowCursorInterface.cpp * contrib/hbqt/qtdesigner/QDesignerFormWindowInterface.cpp * contrib/hbqt/qtdesigner/QDesignerFormWindowManagerInterface.cpp * contrib/hbqt/qtdesigner/QDesignerObjectInspectorInterface.cpp * contrib/hbqt/qtdesigner/QDesignerPropertyEditorInterface.cpp * contrib/hbqt/qtdesigner/QDesignerWidgetBoxInterface.cpp * contrib/hbqt/qtdesigner/qth * contrib/hbqt/qtdesigner/qth/QDesignerActionEditorInterface.qth * contrib/hbqt/qtdesigner/qth/QDesignerFormEditorInterface.qth * contrib/hbqt/qtdesigner/qth/QDesignerFormWindowCursorInterface.qth * contrib/hbqt/qtdesigner/qth/QDesignerFormWindowInterface.qth * contrib/hbqt/qtdesigner/qth/QDesignerFormWindowManagerInterface.qth * contrib/hbqt/qtdesigner/qth/QDesignerObjectInspectorInterface.qth * contrib/hbqt/qtdesigner/qth/QDesignerPropertyEditorInterface.qth * contrib/hbqt/qtdesigner/qth/QDesignerWidgetBoxInterface.qth * contrib/hbqt/qtdesigner/TQDesignerActionEditorInterface.prg * contrib/hbqt/qtdesigner/TQDesignerFormEditorInterface.prg * contrib/hbqt/qtdesigner/TQDesignerFormWindowCursorInterface.prg * contrib/hbqt/qtdesigner/TQDesignerFormWindowInterface.prg * contrib/hbqt/qtdesigner/TQDesignerFormWindowManagerInterface.prg * contrib/hbqt/qtdesigner/TQDesignerObjectInspectorInterface.prg * contrib/hbqt/qtdesigner/TQDesignerPropertyEditorInterface.prg * contrib/hbqt/qtdesigner/TQDesignerWidgetBoxInterface.prg - contrib/hbqt/qth/QItemEditorCreator.qth + Added: QtDesigner access specif library. Just in case someone wants to play with it. 2010-06-26 22:09 UTC+0200 Viktor Szakats * contrib/hbide/resources/hbmk2_plugin_uip.prg ! Fixed typo causing "'.uip.prg' assumed external" 2010-06-26 19:29 UTC+0200 Viktor Szakats * contrib/hbqt/utils/hbqtui.prg * contrib/hbqt/utils/hbqtui.hbp - Deleted HBQT dependency. It's not needed for this tool. * contrib/makefile.prg + Rearranged build order to satisfy dependencies. 2010-06-26 18:25 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added internal ${hb_workdynsub} variable to return subdir of intermediate files built for dynamic libs on platforms where dynamic libs require different compiler settings. + Adjusted the place where plugin event 'pre_c' is called from. * contrib/xhb/xhb.hbp ! Synced variable list with Makefile. * contrib/hbqt/hbmk2_plugin_moc.prg * contrib/hbide/resources/hbmk2_plugin_uip.prg + Reworked to properly support -clean + Reworked to not try building files when some other factors (e.g. -stop option) would skip building their output files. * contrib/hbqt/hbqt_hbqplaintextedit.cpp ! Fixed unused var warning. * contrib/hbziparc/hbziparc.hbp ! Added missing reference to hbmzip.hbc. * contrib/hbnf/ftint86.c ! Added another dummy function required by .prg files. * contrib/hbxpp/tbrowsex.prg ! Commented function call referencing a non-existent function (it's a STATIC function in core) * contrib/makefile.prg * Changed the way HB_BUILD_NAME is handled. * Changed the way how target dir is formed. (delegating more work to hbmk2) 2010-06-26 15:51 UTC+0200 Viktor Szakats * external/pcre/pcreexec.c * external/pcre/pcre.h * external/pcre/pcreinal.h * external/pcre/pcretabs.c * external/pcre/pcredfa.c * external/pcre/pcrecomp.c * external/pcre/pcre.dif * external/pcre/config.h * external/pcre/pcrexcls.c * external/pcre/chartabs.c * external/pcre/pcreprni.h * external/pcre/pcrestud.c * external/pcre/Makefile * PCRE update to 8.10 (from 8.02) ; Thanks to Tamas Tevesz for the patch. This update was done using the new patchup tool. 2010-06-26 15:25 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + -hbimplib mode now respects -clean option. * contrib/hbqt/hbmk2_plugin_moc.prg * contrib/hbide/resources/hbmk2_plugin_uip.prg + Will only display tool detection information if -info option is used. * contrib/makefile.prg + Setting -width=1000 to not break up output. 2010-06-26 14:48 UTC+0200 Viktor Szakats * contrib/gtalleg/gtallegs/Makefile * contrib/gtalleg/gtallegs.hbp ! Fixed regression: disabled for pocc again. * contrib/hbqt/plug_moc.prg * contrib/hbide/resources/hbmk2_plugin_uip.prg ! Fixed to not build in -clean mode. * contrib/hbqt/plug_moc.prg ! Fixed to honor 'HB_WITH_QT=no' setting. * contrib/hbqt/utils/hbqtui.prg ! Fixed to not RTE in various error situations. + contrib/hbnf/ftint86.c * contrib/hbnf/Makefile * contrib/hbnf/hbnf.hbp + Added dummy FT_INT86() function to make the .dll link properly. Many functions are relying on this call, which makes them not work and makes their implementation DOS specific. * contrib/makefile.prg ! Fixed clean mode to not create a build, too. + SETCANCEL( .F. ) (trying to solve not working break key) + Don't attempt to build dynlib versions of contribs not having an .hbc file. * contrib/hbtip/hbtipssl.hbp ! Fixed typo in hbssl.hbc reference. * contrib/hbide/resources/hbmk2_plugin_uip.prg + Added hbqtui location detection. (HBQTUI_BIN envvar, Harbour bin dir and PATH) * contrib/hbqt/hbqt_common.hbm - contrib/hbqt/plug_moc.prg + contrib/hbqt/hbmk2_plugin_moc.prg + Renamed. Not sure this will be the final one, anyways keeping consistency. 2010-06-26 13:14 UTC+0200 Viktor Szakats + contrib/makefile.prg + Added new control script which is meant to orchestrate building contribs, both libs and utils, with clean/install support and option for extra lib/bin addons. It's also possible to build dynamic version of the libs. * examples/rddado/adordd.prg * Cleanups. * examples/rddado/rddado.hbp + Added -w3 option. * contrib/gtalleg/gtallegs/Makefile * contrib/gtalleg/gtallegs.hbp ! Disabled static build for everything except msvc and pocc. * contrib/gtalleg/gtallegs.hbc ! Added libdir for static lib. + contrib/gtalleg/tests/test.prg + Added simple test app. 2010-06-26 10:28 UTC+0200 Viktor Szakats * src/rtl/gtwvt/gtwvt.c + SETMODE() will now support automatic resizing of font to make requested dimensions fit on the screen, when HB_GTI_RESIZABLE is enabled. (Previously in such case SETMODE() returned .F.) Please test/review it. * examples/rddado/tests/test.mdb ! Updated with newly generated one. Seems this file "rots" while left sitting there on SVN, this is probably the 3rd time I'm doing this, just to make it open. [ or maybe the file format required by ADO changes constantly with OS updates/upgrades? ] * examples/rddado/tests/access1.prg ! Deleted debug code leftover. * Minor cleanups * examples/rddado/tests/access2.prg + Added date column ! Fixed LOCATE command filter argument. It was not working since the initial committer added it, because the filter string used Harbour syntax, while it requires ADO (SQL-like) syntax. RDDADO will make a very basic attempt to help in that conversion, but e.g. aliased field names (and many others) will break it. So: use ADO filter syntax until this gets properly resolved. * Minor cleanups * examples/rddado/rddado.hbc ! Added missing libpath option. * utils/hbmk2/hbmk2.prg + Added '-quiet-' option to turn off -quiet switch. (note that -quiet will also force off -info, so after -quiet- you also want to use a -info option to reverse that) 2010-06-25 20:51 UTC+0200 Viktor Szakats * external/patchup.prg + Added patch by Tamas Tevesz: - if rediffing, patchup will now proceed even if there's no DIFF. this helps when creating the very first diff. - new file name defaults to $(component).dif - if a rediff produces no result (no differences between upstream and hb), no zero-length .dif will be written, and a possibly pre-existing diff will be removed. there's still some room for improvement for patchup to articulate what it is doing, but hopefully not even the current one is confusing. + contrib/hbwin/hbwin.hbp + Added hbmk2 build file * contrib/hbwin/legacycd.c * contrib/hbwin/wapi_winbase.c * contrib/hbwin/win_evnt.c ! Fixed msvc cast warnings (when building using hbmk2) Two of them were long time notorious ones. 2010-06-25 19:25 UTC+0200 Viktor Szakats * external/png/Makefile ! Fixed one MAP entry. Patch by Tamas Tevesz. * contrib/hbodbc/todbc.prg ! Attempt to fix sf.net bug #2984474. - TODBC class seems to have a typo where ROUND() is called with full number width instead of number of decimals in in TODBC():LoadData() method - Added SQL_BIGINT to list of numeric types when doing the conversion in TODBC():LoadData() method. ; Please review me a test with real ODBC connection, these were blind fixes, I'm not user of TODBC class. 2010-06-25 18:11 UTC+0200 Viktor Szakats * src/rtl/achoice.prg ! ACHOICE(): Fixed two navigation bugs (misplacement and RTE) reported by Abe Buchinger. Many thanks to Jerry Finuliar for the patches. 2010-06-25 12:17 UTC+0200 Viktor Szakats * external/minizip/minizip.dif ! Deleted svn:keywords property. * external/libhpdf/Makefile + external/libhpdf/libhpdf.dif * external/patchup.prg + Patch by Tamas Tevesz to fix a recent regression. 2010-06-25 10:12 UTC+0200 Viktor Szakats * external/patchup.prg ! Minor fix to make Makefile line splitting eol type agnostic. 2010-06-25 09:26 UTC+0200 Viktor Szakats * contrib/gtwvg/wvgcuig.c * contrib/gtwvg/wvgwin.c * contrib/gtwvg/wvgutils.c * contrib/gtwvg/wvgcore.c * contrib/gtwvg/wvgsink.c * contrib/gtwvg/wvgwing.c % Using hb_par*def(). ! WVT_CHOOSEFONT() fixed. Parameters italic, underline, strikeout didn't work. 2010-06-25 09:05 UTC+0200 Viktor Szakats * contrib/gtwvg/gtwvg.c * contrib/gtwvg/gtwvg.h * contrib/gtwvg/wvggui.c * contrib/gtwvg/wvgcuig.c * contrib/gtwvg/wvgutils.c * contrib/gtwvg/wvgcore.c * Formatting. % Using hb_par*def() in one place. 2010-06-25 08:46 UTC+0200 Viktor Szakats * external/libhpdf/Makefile - external/libhpdf/libhpdf.dif * external/patchup.prg + Applied three patches sent to the list by Tamas Tevesz, tweaking patchup tool and pcre metadata. Pls check me, there was one hunk failure which I redid manually. 2010-06-25 03:00 UTC+0200 Viktor Szakats * contrib/hbide/hbide.hbp - contrib/hbide/resources/themesex.ui - contrib/hbide/resources/shortcuts.ui - contrib/hbide/resources/selectionlist.ui - contrib/hbide/resources/themes.ui - contrib/hbide/resources/findsource.ui - contrib/hbide/resources/docviewgenerator.ui - contrib/hbide/resources/mainwindow.ui - contrib/hbide/resources/skeletons.ui - contrib/hbide/resources/findinfiles.ui - contrib/hbide/resources/environments.ui - contrib/hbide/resources/findinfilesex.ui - contrib/hbide/resources/searchreplacepanel.ui - contrib/hbide/resources/toolsutilities.ui - contrib/hbide/resources/setup.ui - contrib/hbide/resources/projectpropertiesex.ui - contrib/hbide/resources/environ.ui - contrib/hbide/resources/finddialog.ui - contrib/hbide/resources/searchreplace.ui - contrib/hbide/resources/docwriter.ui - contrib/hbide/resources/selectproject.ui - contrib/hbide/resources/updown.ui - contrib/hbide/resources/funclist.ui + contrib/hbide/themesex.ui + contrib/hbide/findinfilesex.ui + contrib/hbide/environments.ui + contrib/hbide/shortcuts.ui + contrib/hbide/searchreplacepanel.ui + contrib/hbide/selectionlist.ui + contrib/hbide/themes.ui + contrib/hbide/toolsutilities.ui + contrib/hbide/setup.ui + contrib/hbide/findsource.ui + contrib/hbide/docviewgenerator.ui + contrib/hbide/mainwindow.ui + contrib/hbide/environ.ui + contrib/hbide/projectpropertiesex.ui + contrib/hbide/finddialog.ui + contrib/hbide/searchreplace.ui + contrib/hbide/docwriter.ui + contrib/hbide/selectproject.ui + contrib/hbide/skeletons.ui + contrib/hbide/updown.ui + contrib/hbide/funclist.ui + contrib/hbide/findinfiles.ui * Moved .ui files to root. They no longer need to be distributed with the binary since they are now dynamically converted to .uip which is embedded into executable as regular .prg source. ; IMPORTANT NOTE: From now on HBIDE requires HBQTUI tool (from HBQT package) and QUI tools (form QT package) in order to build. Keep both of them in PATH. - contrib/hbide/environments.uip - contrib/hbide/findinfilesex.uip - contrib/hbide/searchreplace.uip - contrib/hbide/docwriter.uip - contrib/hbide/selectproject.uip - contrib/hbide/docviewgenerator.uip - contrib/hbide/findinfiles.uip - contrib/hbide/toolsutilities.uip - contrib/hbide/setup.uip - contrib/hbide/skeletons.uip - contrib/hbide/mainwindow.uip - contrib/hbide/environ.uip - contrib/hbide/projectpropertiesex.uip - contrib/hbide/selectionlist.uip - contrib/hbide/searchreplacepanel.uip - contrib/hbide/themesex.uip - contrib/hbide/themes.uip - contrib/hbide/funclist.uip - contrib/hbide/shortcuts.uip - contrib/hbide/finddialog.uip - contrib/hbide/findsource.uip - contrib/hbide/updown.uip - contrib/hbide/resources/searchreplace.uic - contrib/hbide/resources/docwriter.uic - contrib/hbide/resources/docviewgenerator.uic - contrib/hbide/resources/toolsutilities.uic - contrib/hbide/resources/make.uis - contrib/hbide/resources/skeletons.uic - contrib/hbide/resources/selectionlist.uic - contrib/hbide/resources/themesex.uic - contrib/hbide/resources/findsource.uic - contrib/hbide/resources/updown.uic - contrib/hbide/resources/environments.uic - contrib/hbide/resources/findinfilesex.uic - contrib/hbide/resources/selectproject.uic - contrib/hbide/resources/findinfiles.uic - contrib/hbide/resources/setup.uic - contrib/hbide/resources/mainwindow.uic - contrib/hbide/resources/projectpropertiesex.uic - contrib/hbide/resources/environ.uic - contrib/hbide/resources/searchreplacepanel.uic - contrib/hbide/resources/themes.uic - contrib/hbide/resources/funclist.uic - contrib/hbide/resources/shortcuts.uic - contrib/hbide/resources/finddialog.uic - Deleted. Replaced by dynamically generated .uip files. 2010-06-25 02:31 UTC+0200 Viktor Szakats * external/minizip/Makefile * external/zlib/Makefile * external/sqlite3/Makefile * external/png/Makefile * external/jpeg/Makefile * external/bzip2/Makefile * external/libhpdf/Makefile * external/pcre/Makefile + Applied patch by Tamas Tevesz, adding metadata for patchup tool. (also completing pending TODO) * external/patchup.prg + Enabled -w3 option via pragma ! Fixed one -w3 warnings ! Fixed to not stop due to missing .dif file in -rediff mode. ! Applied fix patch by Tamas Tevesz. * src/rtl/inkeyapi.c * Formatting. 2010-06-25 01:05 UTC+0200 Viktor Szakats + external/patchup.prg + Added new 'patchup' Harbour script written by Tamas Tevesz. The script serves as a tool to automate downloading, file renaming, patching and recreating local .dif for source packages we host locally in external directory. The tool is also able to automatically recreate .dif file after making local modifications in these sources, don't forget to run 'hbrun patchup -rediff' in such case. [ It replaces prev ren_sfn.prg tool created by me. ] Please make sure to read the documentation and tool requirements included in the .prg itself. Very nice job, thanks a lot Tamas. ; TODO: Updating Makefiles with new metadata. [DONE] - config/ren_sfn.prg - Deleted tool now superceded by patchup.prg 2010-06-25 00:33 UTC+0200 Viktor Szakats * include/hbdefs.h + Added two new abstract types: HB_AREANO, HB_FIELDNO * src/rdd/wacore.c * src/rdd/dbcmd.c * src/rdd/dbcmd53.c * src/rdd/wafunc.c + Using above abstract types as casts to pacify long time msvc warnings. + Using HB_USHORT cast to pacify msvc warnings in hb_rddList() and hb_rddRegister() (shouldn't these have 'int' parameters?) * contrib/xhb/xhb.hbp * Synced with actual file list. 2010-06-24 23:20 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbgtinfo.ch * harbour/include/hbgtcore.h * harbour/src/rtl/hbgtcore.c + added HB_GTI_INKEYFILTER which allows to set/get codeblock used to filter inkey key codes. This codeblock receives as 1st parameter actually processed inside INKEY() function key code. It should return final inkey code (it can be the same or 0 if key should be ignored. I.e. this code change key 'a' to 'B' and blocks 'c': hb_gtInfo( HB_GTI_INKEYFILTER, {| nKey | SWITCH nKey CASE Asc( 'a' ) RETURN Asc( 'B' ) CASE Asc( 'c' ) RETURN '0' ENDSWITCH RETURN nKey } ) + added HB_GTI_INKEYREAD which allows to set/get codeblock executed just before INKEY() reads key code from the GT typeahead buffer. If it returns non 0 numeric value then this value is returned instead as inkey code. Otherwise standard inkey procedure is activated and key code is read from the GT typeahead buffer. * harbour/include/hbextern.ch * harbour/src/rtl/inkey.c - removed HB_INKEYSETPREBLOCK() and HB_INKEYSETPOSTBLOCK() functions * harbour/contrib/xhb/Makefile * harbour/contrib/xhb/xhbgt.c + harbour/contrib/xhb/xhbinkey.prg * harbour/contrib/xhb/hbcompat.ch * updated emulation of xHarbour hb_SetInkeyBeforeBlock() and hb_SetInkeyAfterBlock() functions to use new HB_GTI_* functionality. Incompatibility warning! In Harbour timeout value passed to inkey() is correctly respected and not reset internally on each call to inkey after block. If inkey before block returns non 0 numeric value then it's not ignored but returned as INKEY() function result without touching GT typeahead buffer. 2010-06-24 18:31 UTC+0200 Viktor Szakats * src/rtl/inkey.c * include/hbextern.ch + Enabled .prg level control function for pre/post INKEY() block with names below: HB_INKEYSETPREBLOCK([<bBlock>]) -> <bOldBlock> HB_INKEYSETPOSTBLOCK([<bBlock>]) -> <bOldBlock> * contrib/xhb/xhbgt.c * contrib/xhb/hbcompat.ch + Added translations for just enabled HB_INKEYSET*() functions to/from xhb function equivalents: HB_INKEYSETPREBLOCK() <-> HB_SETINKEYBEFOREBLOCK() HB_INKEYSETPOSTBLOCK() <-> HB_SETINKEYAFTERBLOCK() 2010-06-24 15:19 UTC+0200 Viktor Szakats * contrib/hbnetio/netiocli.c * contrib/hbnetio/netiosrv.c + Added casts to the points where internal size pointers are converted to/from 32-bit (long) ones for transmission. ; Please review. Maybe these are useful warnings once 64-bit support is to be implemented for NETIO interface, but it doesn't seem very likely (or useful) in the near future. Maybe it'd be better to use fixed bit type here too to emphasis this internal "limit"? 2010-06-24 13:33 UTC+0200 Viktor Szakats * contrib/hbmisc/hbeditc.c ! strcpy() -> hb_strncpy() ! strncpy() -> hb_strncpy() ; NOTE: Could be that I broke it. ! Fixed one type HB_ISIZ -> HB_FOFFSET * contrib/hbqt/utils/hbqtui.prg % Minor opt. - Deleted unnecessary strings from output. 2010-06-24 11:32 UTC+0200 Viktor Szakats * contrib/hbide/resources/hbmk2_plugin_uip.prg ! Deleted debug (where I tested RTE inside plugin) 2010-06-24 10:27 UTC+0200 Viktor Szakats * contrib/hbide/hbide.hbp + Changed to generate .uip files dynamically using uip plugin. ; TODO: If this goes well, delete .uic and .uip files from SVN, move resources/*.ui to hbide source root dir. [DONE] * contrib/hbqt/utils/hbqtui.prg ! Fixed to use GTCGI. ; FIXME: There is a great deal of screen flickering due to external call to uic.exe on Windows. [DONE] + contrib/hbide/resources/hbmk2_plugin_uip.prg + Added .ui -> .uip plugin. ; NOTE: hbqtui executable needs to be in PATH or current dir. * contrib/hbide/ideprojmanager.prg + Enabled above plugin. - contrib/hbide/resources/hbmk2_plugin_hbide.prg - Deleted empty plugin. * utils/hbmk2/hbmk2.prg + Display RTEs in plugin code by default, suppress by -quiet. (before it was enabled by -info) - contrib/hbqt/utils/hbmk.hbm + contrib/hbqt/utils/hbqtui.hbp * Renamed to be more easily started by automated make process. 2010-06-24 09:27 UTC+0200 Viktor Szakats * contrib/hbqt/utils/hbqtui.prg ! Fixed to accept any pathsep on input * Changed to use .uip extension for output ! Fixed to use full output name as specified if a non-dir is specified with -o option - Deleted -noprefix option, there is no prefix in any case anymore ! Fixed to not include the generator's own SVN ID in generated files * Changed to not leave .uic file behind by default ! Fixed to use platform EOL in generated files. % Don't return an array from MAIN() function ; These changes allow to create automated processes to generate .uip from .ui. + contrib/hbqt/utils/hbmk.hbm + Added hbmk2 make file for hbqt utils. * contrib/hbmisc/hbeditc.c * Type (and some code) cleanup continued. Deleted int casts, using HB_BOOL instead of int, using char instead of int, using hexa notation for HARDCR instead of high-char in source, etc. * One strcpy() converted to hb_strncpy(). * contrib/hbide/hbide.hbp - contrib/hbide/ui_docviewgenerator.prg - contrib/hbide/ui_docwriter.prg - contrib/hbide/ui_environ.prg - contrib/hbide/ui_environments.prg - contrib/hbide/ui_finddialog.prg - contrib/hbide/ui_findinfiles.prg - contrib/hbide/ui_findinfilesex.prg - contrib/hbide/ui_findsource.prg - contrib/hbide/ui_funclist.prg - contrib/hbide/ui_mainwindow.prg - contrib/hbide/ui_projectpropertiesex.prg - contrib/hbide/ui_searchreplace.prg - contrib/hbide/ui_searchreplacepanel.prg - contrib/hbide/ui_selectionlist.prg - contrib/hbide/ui_selectproject.prg - contrib/hbide/ui_setup.prg - contrib/hbide/ui_shortcuts.prg - contrib/hbide/ui_skeletons.prg - contrib/hbide/ui_themes.prg - contrib/hbide/ui_themesex.prg - contrib/hbide/ui_toolsutilities.prg - contrib/hbide/ui_updown.prg + contrib/hbide/docviewgenerator.uip + contrib/hbide/docwriter.uip + contrib/hbide/environ.uip + contrib/hbide/environments.uip + contrib/hbide/finddialog.uip + contrib/hbide/findinfiles.uip + contrib/hbide/findinfilesex.uip + contrib/hbide/findsource.uip + contrib/hbide/funclist.uip + contrib/hbide/mainwindow.uip + contrib/hbide/projectpropertiesex.uip + contrib/hbide/searchreplace.uip + contrib/hbide/searchreplacepanel.uip + contrib/hbide/selectionlist.uip + contrib/hbide/selectproject.uip + contrib/hbide/setup.uip + contrib/hbide/shortcuts.uip + contrib/hbide/skeletons.uip + contrib/hbide/themes.uip + contrib/hbide/themesex.uip + contrib/hbide/toolsutilities.uip + contrib/hbide/updown.uip * Renamed ui_*.prg files to .uip 2010-06-23 19:02 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) + contrib/hbide/ui_docviewgenerator.prg + contrib/hbide/ui_docwriter.prg + contrib/hbide/ui_environ.prg + contrib/hbide/ui_environments.prg + contrib/hbide/ui_finddialog.prg + contrib/hbide/ui_findinfiles.prg + contrib/hbide/ui_findinfilesex.prg + contrib/hbide/ui_findsource.prg + contrib/hbide/ui_funclist.prg + contrib/hbide/ui_mainwindow.prg + contrib/hbide/ui_projectpropertiesex.prg + contrib/hbide/ui_searchreplace.prg + contrib/hbide/ui_searchreplacepanel.prg + contrib/hbide/ui_selectionlist.prg + contrib/hbide/ui_selectproject.prg + contrib/hbide/ui_setup.prg + contrib/hbide/ui_shortcuts.prg + contrib/hbide/ui_skeletons.prg + contrib/hbide/ui_themes.prg + contrib/hbide/ui_themesex.prg + contrib/hbide/ui_toolsutilities.prg + contrib/hbide/ui_updown.prg * Auto generated. + contrib/hbide/resources/make.uis + Script containing names of .ui files used in the project. + contrib/hbqt/utils + contrib/hbqt/utils/hbqtui.prg + Added tool to convert .ui files to .prg. SYNTAX: hbqtui @filenames_list_of_ui_files.whatever \ [-o_path_to_output_folder_with_trailing_slash] \ [-noprefix] [-deluic] -@filenames_list.whatever: \harbour\contrib\hbide\resources\setup.ui OR setup.ui [ if you call this util from the folder .ui resides ] -o_path_: path to place .prg files, must accompany trailing slash. -noprefix : to avoid "ui_" prefix to .prg. -deluic : to delete intermediate .uic files. * contrib/hbide/hbide.ch * contrib/hbide/hbide.hbp * contrib/hbide/hbide.prg * contrib/hbide/ideactions.prg * contrib/hbide/idedocks.prg * contrib/hbide/idedocwriter.prg * contrib/hbide/ideedit.prg * contrib/hbide/ideenviron.prg * contrib/hbide/idefindreplace.prg * contrib/hbide/idefunctions.prg * contrib/hbide/ideharbourhelp.prg * contrib/hbide/idemisc.prg * contrib/hbide/ideobject.prg * contrib/hbide/ideprojmanager.prg * contrib/hbide/idesaveload.prg * contrib/hbide/ideshortcuts.prg * contrib/hbide/idethemes.prg * contrib/hbide/idetools.prg + Implemented: loading resources from .prg code obtained via contrib/hbqt/hbqtui.prg supplying .ui file(s) list and output folder. NOTE: hbIDE is running under UI_MODE_FUNC currently. You can force it to run any of the three modes: UI_MODE_UIC | UI_MODE_UI | UI_MODE_FUNC 2010-06-23 19:12 UTC+0200 Viktor Szakats * mpkg_nightly.sh ! Fixed typo, causing 'cp' method of uploading to kick in permanently. 2010-06-23 19:08 UTC+0200 Viktor Szakats * src/vm/runner.c + Module name will now be filled with the .hrb filename if known, and default 'pcode.hrb' will only be used if running direct binary .hrb stream. This means that also PROCFILE() will return usable results. (e.g. in script run via hbrun) * contrib/hbmisc/hbeditc.c % int -> char. Dropped some casts. 2010-06-23 07:47 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/THbQtUI.prg ! Fixed wronly used MsgBox(), converted to hbqt_showError(). 2010-06-23 16:33 UTC+0200 Viktor Szakats * contrib/hbmisc/hbeditc.c % Deleted unnecessary casts. 2010-06-23 14:40 UTC+0200 Viktor Szakats * contrib/hbmisc/hbeditc.c + Updated to use HB_ISIZ, making it use full 64-bit addresses and clear up remaining msvc64 warnings. 2010-06-23 13:02 UTC+0200 Viktor Szakats * src/vm/runner.c * Changed to use hex notation instead of octal in recent change. (see: 2010-02-20 01:03 UTC+0100, 2009-06-05 20:59 UTC+0200, 2008-11-09 11:48 UTC+0100) * include/hbdefs.h - Deleted HB_RECNO. 2010-06-23 12:47 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbextern.ch * harbour/src/vm/runner.c + added new PRG function HB_HRBSIGNATURE() -> <cSig> which returns HRB file signature + added internal function hb_hrbCheckSig() to keep HRB file signature checking in one place * harbour/include/hbextern.ch * harbour/src/vm/cmdarg.c + added new PRG function HB_ARGSHIFT( [<lProgName>] ) -> NIL which updates HB_ARG*() parameter list removing the 1st one and replacing it by others. If <lProgName> is .T. then first non internal parameter is moved to hb_argv(0) (hb_progname()) and all next are shifted. * harbour/utils/hbrun/hbrun.prg + when extension does not allow to recognize file type then check passed file signature. If it's HRB file then execute directly otherwise use it as PRG script. This modification allows to use any names (except the ones using known for HBRUN extensions like .hrb amd .dbf) as PRG script names. + Call HB_ARGSHIFT(.T.) to strip HBRUN executable file name from parameter list when PRG script or HRB file is executed 2010-06-23 12:01 UTC+0200 Viktor Szakats * include/hbdefs.h + Added new abstract type: HB_USIZ (temporary yet, may be needed in signedness transition) 2010-06-23 11:59 UTC+0200 Viktor Szakats * include/hbdefs.h + Added new abstract type: HB_RECNO To replace HB_ULONG usage where it means record number. * src/vm/hvm.c * src/vm/cmdarg.c * include/hbapi.h * include/hbvm.h * HB_ULONG -> HB_U32 for VM flags. 2010-06-22 19:30 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/THbQtUI.prg + Started: .ui => .uic ( auto ) => .prg. 2010-06-22 18:14 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/hbqt_hbqplaintextedit.cpp % Fixed: crash at fast text selection. * contrib/hbide/ideedit.prg * contrib/hbide/idefindreplace.prg % Fixed: slowness caused in selection process when many lines were being selected. Now there is no overhead. Thanks to Itamar for reporting. 2010-06-23 00:07 UTC+0200 Viktor Szakats * harbour-win-spec * harbour-wce-spec * harbour.spec * include/hbver.h * config/global.mk + Changed version number to: 2.1.0beta2 (from 2.1.0beta1) * src/compiler/hbopt.c * Formatting. 2010-06-22 14:27 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/THbQtUI.prg % Little more syncronization. + Added: method ::connect(). It is identical to :signal() But for uniformity with other hbXBP and hbIDE classes this method name seems appropriate. % Reworked: method create(). Now both types of implementations, viz., .ui and .uic will be entertained with one creator. oUI := HbQtUI():new( "MainWindow.ui" ):create() oUI := HbQtUI():new( "MainWindow.uic" ):create() with do the job. :build() is still active but will be depricated. 2010-06-22 23:17 UTC+0200 Viktor Szakats * src/macro/macrolex.c * Added casts to pacify long-time msvc warnings. 2010-06-22 20:03 UTC+0200 Viktor Szakats * src/rtl/gtwin/gtwin.c - Deleted unused/unnecessary Windows type declarations. 2010-06-22 08:54 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/generator/qt45.qtp * contrib/hbqt/hbqt.h * contrib/hbqt/hbqt_garbage.h * contrib/hbqt/qtgui/filelist.mk + contrib/hbqt/qtgui/QItemDelegate.cpp + contrib/hbqt/qtgui/QItemEditorCreator.cpp + contrib/hbqt/qtgui/QItemEditorCreatorBase.cpp + contrib/hbqt/qtgui/QItemEditorFactory.cpp + contrib/hbqt/qtgui/TQItemDelegate.prg + contrib/hbqt/qtgui/TQItemEditorCreator.prg + contrib/hbqt/qtgui/TQItemEditorCreatorBase.prg + contrib/hbqt/qtgui/TQItemEditorFactory.prg + contrib/hbqt/qth/QItemDelegate.qth + contrib/hbqt/qth/QItemEditorCreator.qth + contrib/hbqt/qth/QItemEditorCreatorBase.qth + contrib/hbqt/qth/QItemEditorFactory.qth + Added: more classes to implement GET validation - in progress. 2010-06-22 17:59 UTC+0200 Viktor Szakats * src/rtl/hbsha2.c * src/rtl/hbsha2hm.c + Added Win64 support for SHA1 functions. ; NOTE: HMAC keys longer than 2^32 bytes are not supported (unlike with SHA1), probably not huge limitation. 2010-06-22 17:37 UTC+0200 Viktor Szakats * src/rtl/hbsha2hm.c * src/rtl/hbsha2.c * Switched to use triplet API instead of the all-in-one calls, in preparation for Win64 support. 2010-06-22 17:28 UTC+0200 Viktor Szakats * src/rtl/hbsha1.c * src/rtl/hbsha1hm.c + Added Win64 support for SHA1 functions. ; Please review it. 2010-06-22 17:00 UTC+0200 Viktor Szakats * src/macro/macro.yyc * src/macro/macro.y + Added cast (similar to the one found in compiler .y code) to pacify long time msvc warning. 2010-06-22 16:50 UTC+0200 Viktor Szakats * src/vm/dynsym.c * include/hbapi.h * Minimal cleanup: using HB_LONG in place of long, just to make this type usage easier to find in the future. * src/vm/hvm.c + Added cast to pacify long time msvc warning * src/vm/fm.c + Added pragmas to silence msvc64 warnings in dlmalloc (foreign) code. * src/vm/extend.c * Formatting. 2010-06-22 16:49 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rdd/dbcmd.c * changed HB_LONG to int in dbSelectArea() 2010-06-22 15:22 UTC+0200 Viktor Szakats * contrib/hbsqlit3/hbsqlit3.c + Changed to use hb_fopen(). 2010-06-22 14:28 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/vm/thread.c * cleaned to use hb_storns() instead of casting to long and hb_stronl() 2010-06-22 13:55 UTC+0200 Viktor Szakats - src/compiler/genobj32.c - Deleted unused source file. 2010-06-22 13:48 UTC+0200 Viktor Szakats * src/compiler/complex.c ! HB_ULONG -> HB_SIZE in one cast. * src/pp/pplib.c ! HB_ULONG -> HB_ERRCODE * contrib/hbgt/asciisgt.c ! HB_ULONG -> HB_MAXUINT 2010-06-22 13:33 UTC+0200 Viktor Szakats * src/vm/fm.c ! Replaced 'long' with HB_ISIZ in FM stats code. * src/vm/classes.c * Replaced 'unsigned long' with HB_ULONG. 2010-06-22 13:13 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/vm/classes.c * use HB_U32 as class flag holder * changed HB_ULONG -> HB_SIZE 2010-06-22 11:23 UTC+0200 Viktor Szakats * src/vm/itemapi.c % Changed to use hb_itemPutNS() instead of hb_itemPutNInt() to push enum offset/value to RTE param. 2010-06-22 11:14 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbdefs.h + added HB_VMUINT_MAX macro * harbour/src/vm/hvm.c * harbour/src/vm/itemapi.c % use conditional #if compilation for code which depends on HB_SIZE range. It should eliminate dummy code and pacify warnings in some compilers. NOTE: do not forget to update such #if conditions when we switch to signed HB_SIZE type. 2010-06-22 09:58 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/macro/macro.y * harbour/src/macro/macro.yyh * harbour/src/macro/macro.yyc * harbour/src/macro/macrolex.c * changed type of valChar.length from int to HB_SIZE 2010-06-22 05:38 UTC+0200 Viktor Szakats * src/vm/estack.c * src/vm/debug.c * src/vm/hvm.c * src/vm/pvalue.c * src/vm/arrays.c * src/vm/proc.c * src/vm/memvars.c * src/vm/eval.c * src/vm/classes.c * include/hbstack.h * include/hbapi.h + Win64 support for HVM stack and other related internals. (HB_ULONG -> HB_SIZE, HB_LONG -> HB_ISIZ, long -> HB_ISIZ) + Using size API in debug functions. ; FIXME: These two warnings remain in HVM (not counting dlmalloc): [DONE] --- hvm.c(10695) : warning C4244: 'argument' : conversion from 'HB_MAXINT' to 'double', possible loss of data macro.c(1315) : warning C4310: cast truncates constant value --- * src/vm/eval.c * HB_FORNEXT() loop value can now be 64-bit values (was 32). * src/vm/runner.c * Formatting. 2010-06-22 04:48 UTC+0200 Viktor Szakats * src/common/expropt1.c * src/compiler/genc.c * src/compiler/gencc.c * include/hbexpra.c + Use HB_PFS format string for HB_SIZE values. * src/common/Makefile * Sorted. 2010-06-22 04:35 UTC+0200 Viktor Szakats * include/hbhash.h * src/common/hbhash.c + hash key changed from HB_ULONG to HB_SIZE. * src/rtl/cdpapi.c * src/compiler/hbmain.c * Added casts to pacify long time msvc warnings. * include/hbapi.h ! HB_IS_VALID_INDEX() macro fixed to use HB_SIZE. * Changed hb_struRefer.offset structure member from HB_LONG to HB_ISIZ, fixing one pending Win64 type mismatch. The change doesn't modify HB_ITEM size. * include/hbapicls.h + Added parameter name to one declaration. 2010-06-21 18:57 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/hbqt_hbqplaintextedit.cpp * contrib/hbqt/hbqt_hbqplaintextedit.h * contrib/hbqt/hbqt_hbslots.cpp * contrib/hbqt/hbqt_hbslots.h * contrib/hbide/idesaveload.prg ! Minor adjustments. % Started: to go beyind eol into virtual space. 2010-06-22 03:20 UTC+0200 Viktor Szakats * config/ren_sfn.prg * external/minizip/Makefile * external/zlib/Makefile * external/sqlite3/Makefile - external/png/link.txt * external/png/Makefile * external/jpeg/Makefile - external/jpeg/link.txt - external/bzip2/ren_sfn.txt * external/bzip2/Makefile * external/libhpdf/Makefile - external/libhpdf/ren_sfn.txt - external/libhpdf/link.txt - external/pcre/ren_sfn.txt * external/pcre/Makefile + Integrated ren_sfn.txt logic into Makefiles. + Add link.txt content into Makefiles. + Added links for all libs which didn't have one. * include/vm.api - Deleted ULONG casts. 2010-06-22 02:57 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/compiler/harbour.y * harbour/src/compiler/harbour.yyc * harbour/src/compiler/harbour.yyh * modified to operate on HB_SIZE values 2010-06-22 01:15 UTC+0200 Viktor Szakats * include/hbcomp.h * include/hbcompdf.h * include/hbexpra.c * include/hbexprb.c * include/hbexprop.h * include/hbmacro.h * src/common/expropt1.c * src/common/expropt2.c * src/compiler/genc.c * src/compiler/gencc.c * src/compiler/harbour.y * src/compiler/harbour.yyc * src/compiler/hbdbginf.c * src/compiler/hbdead.c * src/compiler/hbident.c * src/compiler/hblbl.c * src/compiler/hbmain.c * src/compiler/hbopt.c * src/compiler/hbpcode.c * src/vm/macro.c + Adding Win64 support for compiler/macro subsystems. * HB_ULONG -> HB_SIZE where applicable. * HB_LONG -> HB_ISIZ where applicable. * Some now unnecessary cast deleted. * hb_compExprAsStringLen() return value changed to HB_SIZE from int. * hb_compNOOPfill() 3rd parameter changed to HB_ISIZ from int. - Deleted unused hb_compExprMacroListLen(). ; FIXME: Use '$<lNumber>$' (or maybe newly added sNumber) instead of '$<iNumber>$' in .y code. Przemek, what do you think? [DONE] * src/compiler/Makefile * C files sorted. * src/vm/hvm.c ! hb_vmStaticsCount() changed to use HB_SIZE instead of HB_ULONG. Fixing pending warnings. * include/hbapi.h * Changed hb_struEnum.offset structure member from HB_LONG to HB_ISIZ, fixing one more pending Win64 type mismatch problem. The change doesn't modify HB_ITEM size. Please verify me. * src/vm/classes.c ! Using size API after above change. ; QUESTION: In itemapi asEnum.offset is stored using hb_itemPutNInt(). Should this be changed to hb_itemPutNS()? [DONE] * contrib/hbct/ctstr.c + Cleaned away some HB_ULONG casts and using HB_PFS format strings instead. * contrib/hbct/tab.c ! Fixed regression from 2010-06-20 12:34 UTC+0200 Viktor Szakats, by deleting now unnecessary casts. Shown by mingw64 4.6.0exp. I'd appreciate if someone could check me!! 2010-06-21 22:12 UTC+0200 Viktor Szakats * include/hbapi.h * Changed hb_struRefer.value structure member from HB_LONG to HB_ISIZ, fixing one pending Win64 type mismatch also signaled by msvc64 warning. The change doesn't modify HB_ITEM size. Please verify me. 2010-06-21 21:20 UTC+0200 Viktor Szakats * contrib/hbct/Makefile * contrib/hbct/hbct.hbp * contrib/hbct/ct.h * contrib/hbct/charop.c + contrib/hbct/charophb.c ! Fixed to keep Harbour extension in a separate source file. * Formatting. * contrib/hbct/Makefile * contrib/hbct/hbct.hbp - contrib/hbct/charlish.c + contrib/hbct/charlihb.c * File renamed. 2010-06-21 20:46 UTC+0200 Viktor Szakats * contrib/hbct/Makefile * contrib/hbct/hbct.hbp * contrib/hbct/ct.h * contrib/hbct/charlist.c + contrib/hbct/charlish.c ! Moved non-CT3 (Harbour extension functions to separate source file) % Optimized code. * Cleaned code and type usage. * Changelog ! Fixed date in my today's commits. 2010-06-21 18:57 UTC+0200 Viktor Szakats * src/rtl/filesys.c ! Fixed typo in last commit affecting Windows builds. 2010-06-21 17:51 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/filesys.c ! fixed typo reportyed by Tamas - thanks 2010-06-21 16:47 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/filesys.c * removed HAVE_POSIX_IO and HB_FS_FILE_IO macros * replaced !HB_FS_LARGE_OPTIMIZED macro with HB_FS_IO_16BIT * cleaned code covered by HB_FS_IO_16BIT ! fixed some direct castings between DWORD* and HB_SIZE* ! fixed direct casting from BOOL to HB_BOOL * harbour/src/rtl/gtcrs/gtcrs.c * harbour/src/rtl/cdpapi.c * harbour/src/rtl/gtsln/gtsln.c * harbour/src/rdd/dbfntx/dbfntx1.c * harbour/src/rdd/dbfnsx/dbfnsx1.c * harbour/src/compiler/hbopt.c * harbour/src/compiler/gencc.c * harbour/contrib/xhb/fparse.c * pacified CLANG warnings 2010-06-21 15:24 UTC+0200 Viktor Szakats * src/vm/thread.c * Added casts to pacify msvc64 warnings. Of some the ones related to pMutex->events I'm unsure of, probably it's better to use 'int' instead of HB_ULONG for internal variable in some cases to make it look cleaner, though I assume there was a reason for it, so I left it. Please check me. * src/vm/classes.c * Added casts to pacify msvc64 warnings. 2010-06-21 15:10 UTC+0200 Viktor Szakats * src/vm/extend.c ! Fixed typo in hb_retns(). 2010-06-21 01:15 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) + contrib/hbide/resources/font.png * contrib/hbide/resources/setup.ui * contrib/hbide/resources/setup.uic * contrib/hbqt/hbqt_hbqplaintextedit.cpp * contrib/hbide/hbide.prg * contrib/hbide/ideedit.prg * contrib/hbide/ideeditor.prg * contrib/hbide/idemisc.prg * contrib/hbide/ideobject.prg * contrib/hbide/ideprojmanager.prg * contrib/hbide/idesaveload.prg * contrib/hbide/idesources.prg * contrib/hbide/idethemes.prg + Implemented: following options contained in "Setup" dialog: <General> Trim trailing blanks while source is saved ( default: true ) Save source before "compile" starts ( default: true ) Suppress conversion to upper case - Harbour keywords ( default: false ) Keyword RETURN to be treated as BEGINING-At type ( default: false ) Convert tabs to spaces when a source is loaded ( default: false ) Line ending mode: CRLF, CR, LF, Auto ( default: Auto ) Spaces for a tab ( default: 3 ) Auto indent ( default: true ) Smart indent ( default: true ) Show horizontal ruler ( default: true ) ( in-time ) show line numbers ( default: true ) ( in-time ) Highlight current line ( default: true ) ( in-time ) Application theme ( default: none ) ( in-time ) Animated display ( default false ) ( in-time ) <Font> Font name and size. Transitory temp backup period ( default: 60 seconds ) Text file extensions: add, delete. <Variables> Key/Value pairs : add, delete, up, down Add and type key and associated value. ( just definition now - implementation follows ) This feature is scheduled to be used extensively. 2010-06-20 23:37 UTC+0200 Viktor Szakats * src/rdd/dbcmd.c * src/rdd/dbcmd53.c * src/rdd/hbsix/sxord.c * contrib/hbct/screen2.c * contrib/xhb/bkgtsks.c * contrib/hbqt/generator/hbqtgen.prg * contrib/hbnf/fttext.c * contrib/hbnf/n2color.c * contrib/hbnf/ftattr.c * contrib/hbgd/gdwrp.c % Changed to use hb_parl*def() functions. * contrib/hbqt/* * Regenerated. 2010-06-20 21:14 UTC+0200 Viktor Szakats * src/common/hbstr.c * hb_str2number() changed to limit string size to 'int' internally. This fixes the warnings and inconsistencies on Win64. * src/rtl/hbcom.c ! Pacified msvc warnings on component boundary. 2010-06-20 20:22 UTC+0200 Viktor Szakats * src/vm/arrays.c ! Fixed for Win64 by using hb_vmPushSize(). Signaled by warnings. 2010-06-20 19:29 UTC+0200 Viktor Szakats * src/vm/cmdarg.c * src/vm/fm.c * src/nortl/nortl.c * src/rtl/fmhb.c * include/hbapi.h + hb_xquery() return value changed from HB_ULONG to HB_SIZE. Also fixes all msvc64 warnings 2010-06-20 19:16 UTC+0200 Viktor Szakats * src/vm/macro.c * src/vm/estack.c * src/vm/dynsym.c * src/vm/hvm.c * src/vm/set.c * src/rdd/wafunc.c * src/compiler/hbmain.c * src/compiler/cmdcheck.c * src/compiler/genc.c * src/compiler/gencc.c * src/compiler/harbour.yyc * src/compiler/harbour.y * include/hbexprb.c + Added strlen() casts to pacify msvc64 warnings * src/vm/cmdarg.c ! Readded one '( void * )' cast. (I've only tested C++ mode on Windows, this fell into *nix code). Thanks for checking it. * src/rtl/hbgtcore.c + HB_SIZE -> HB_UINT, plus added necessary casts. Signaled by warnings * contrib/hbmisc/spd.c + HB_SIZE -> HB_UINT, plus added necessary casts. Signaled by warnings ; In case of this function it'd be probably better to make it fully HB_SIZE compatible, instead of stepping back like this. * src/rdd/sdf1.c * src/rdd/delim1.c + Added casts to pacify some msvc64 warnings * src/rdd/hsx/hsx.c ! HB_SIZE -> HB_LONG. Resolves msvc64 warnings. 2010-06-20 17:41 UTC+0200 Viktor Szakats * src/pp/hbpp.c * src/vm/cmdarg.c * src/rtl/defpath.c * src/rtl/hbstrfmt.c * src/rtl/dates.c * src/rtl/hbinet.c * src/rtl/gtpca/gtpca.c * src/rtl/file.c * src/compiler/ppcomp.c + Added strlen() casts to pacify warnings * src/vm/hashfunc.c + Using hb_vmPushSize() to add HB_SIZE support for Win64 * src/vm/debug.c ! HB_SIZE -> HB_LONG. Signaled by warning * include/hbvm.h * src/vm/hvm.c + Added hb_vmPushSize() Please review, I copied hb_vmPushHBLong() * src/common/hbfopen.c + Suppressed MS warning about "unsafe" fopen() Also readded fopen_s() code, which is made inactive permanently * include/hbexprop.h + Added argument names to function declarations * contrib/hbct/ctwin.c + HB_SIZE -> HB_UINT, plus added necessary casts. Signaled by warning * contrib/xhb/xhbarr.c + HB_SIZE -> int, plus added necessary casts. Signaled by warning * contrib/hbsqlit3/hbsqlit3.c * Suppressed MS warning about "unsafe" fopen() 2010-06-20 12:34 UTC+0200 Viktor Szakats * contrib/hbct/tab.c * src/pp/ppcore.c * include/hbdefs.h ! Pacifying these very old msvc warnings: 'warning C4310: cast truncates constant value' ; Check me pls. ; FIXME: These are the remaining ones: --- macro.c(1315) : warning C4310: cast truncates constant value ../../../dbffpt1.c(505) : warning C4310: cast truncates constant value ../../../dbffpt1.c(888) : warning C4310: cast truncates constant value ../../../dbffpt1.c(1625) : warning C4310: cast truncates constant value ../../../dbffpt1.c(1688) : warning C4310: cast truncates constant value ../../../sxcompr.c(697) : warning C4310: cast truncates constant value ../../../sxcompr.c(697) : warning C4310: cast truncates constant value ../../../sxcompr.c(697) : warning C4310: cast truncates constant value ../../../netiosrv.c(714) : warning C4310: cast truncates constant value ../../../netiosrv.c(714) : warning C4310: cast truncates constant value ../../../netiosrv.c(714) : warning C4310: cast truncates constant value --- * src/rtl/gtchrmap.c * Whitspace formatting 2010-06-20 11:06 UTC+0200 Viktor Szakats * src/vm/cmdarg.c * src/common/hbffind.c * src/common/hbtrace.c * src/common/hbfsapi.c * src/common/hbhash.c * src/rtl/setkey.c * src/compiler/hbmain.c * src/compiler/hbcmplib.c * src/compiler/harbour.yyc * src/compiler/harbour.y * include/hbapi.h * contrib/hbmemio/memio.c * contrib/hbhpdf/harupdf.c * contrib/hbpgsql/postgres.c * examples/pp/hbppcore.c * examples/pp/hbppcomp.c * Deleted unnecessary '( void * )' casts. Pls Check me. 2010-06-20 10:37 UTC+0200 Viktor Szakats * src/vm/macro.c * src/vm/strapi.c * src/vm/runner.c * src/vm/codebloc.c * src/vm/hashes.c * src/vm/debug.c * src/vm/itemapi.c * src/vm/hvm.c * src/vm/arrays.c * src/vm/fm.c * src/vm/memvars.c * src/vm/extend.c * src/common/hbstr.c * src/common/hbmem.c * src/rtl/descend.c * src/rtl/gtapi.c * src/rtl/filesys.c * src/rtl/console.c * src/rtl/hbgtcore.c * src/rtl/cdpapi.c * src/rtl/hardcr.c * src/rtl/inkeyapi.c * src/rtl/mtran.c * src/rtl/hbproces.c * src/rtl/ati.c * contrib/hbct/ctwin.c * contrib/xhb/xhbat.c * contrib/xhb/freadlin.c * contrib/xhb/txtline.c * contrib/xhb/cstructc.c * contrib/hbgt/strasint.c * contrib/hbmisc/stringsx.c * contrib/hbwin/win_prn3.c + Using HB_PFS format in HB_TRACE() format strings. * contrib/xhb/freadlin.c * contrib/xhb/txtline.c * Variable names prefixed. * src/vm/macro.c * Deleted unnecessary '( void * )' casts. * INSTALL * Cleaned pocc support information. * contrib/hbct/files.c * contrib/hbct/color.c * contrib/hbct/ctwfunc.c * contrib/hbct/print.c % Optimized to use hb_parn*def() calls instead of inline-if expression (where default value is constant or simple variable). 2010-06-20 01:13 UTC+0200 Viktor Szakats * config/win/pocc.mk * config/win/pocc64.mk ! Fixed pocc64 build. The build setup was broken since about 2.0.0beta2. One year without anyone noticing. * src/rtl/hbsocket.c ! Readded once present (in old hbinet.c) ugly kludge for pocc64 to at least be able to build binaries instead of choking on a missing Windows function. More in the source code. Affecting both 5 and 6. * external/zlib/Makefile ! Added ugly workaround to avoid quite strange pocc64 (both 5 and 6) error when compiling crc32 for dynamic lib: --- pocc.exe -I. -I../../../../../include -Ze -Go -MT -Tamd64-coff -Ot -DHB_LEGACY_TYPES_OFF -DUNICODE -Focrc32_dyn.obj -DHB_DYNLIB -DZLIB_DLL -c ../../../crc32.c ../../../crc32.c(209): error #3101: [asm] Invalid argument to 'GLOBAL'. ../../../crc32.c(209): error #3152: [asm] Expected ']'. ../../../crc32.c(209): error #3151: [asm] Syntax error. ../../../crc32.c(223): error #3101: [asm] Invalid argument to 'FUNCTION'. ../../../crc32.c(223): error #3152: [asm] Expected ']'. ../../../crc32.c(223): error #3151: [asm] Syntax error. ../../../crc32.c(223): error #3151: [asm] Syntax error. --- [FIXED] * external/bzip2/Makefile ! Disabled for pocc64 (both 5 and 6), due to this error: --- pocc.exe -I. -I../../../../../include -Ze -Go -MT -Tamd64-coff -Ot -DHB_LEGACY_TYPES_OFF -DUNICODE -Foblocksor.obj -c ../../../blocksor.c ../../../blocksor.c(583): error #3114: [asm] Invalid combination of opcode and operands. --- 2010-06-19 21:35 UTC+0200 Viktor Szakats * doc/whatsnew.txt * Updated. * INSTALL * Updated mingw GNU Make links and GNU Make version requirement. * contrib/hbmzip/hbmzip.c * Pacified signedness warning. * contrib/hbnf/fttext.c * contrib/hbnf/dispc.c * contrib/hbmisc/hb_f.c + Types cleaned to be Win64 compatible and to support large files, where this was missing. * Formatting. * Deleted unnecessary casts. 2010-06-19 19:07 UTC+0200 Viktor Szakats * contrib/hbodbc/odbc.c * Type cleanup. * contrib/xhb/cstructc.c * contrib/hbxpp/xppopc.c * contrib/hbfship/strpeek.c * contrib/hbtip/utils.c + Using size API. * contrib/hbtip/utils.c % Minor fix: HB_SIZE -> HB_ULONG * bin/postinst.sh * Indentation (minor) 2010-06-19 17:14 UTC+0200 Viktor Szakats * src/vm/hashfunc.c * src/vm/asort.c * src/vm/arrayshb.c * src/rtl/substr.c * src/rtl/hbzlibgz.c * src/rtl/at.c * src/rtl/strtran.c * src/rtl/stuff.c * src/rtl/cdpapihb.c * contrib/hbct/charsprd.c * contrib/hbct/atadjust.c * contrib/hbct/charsort.c * contrib/hbct/ascpos.c * contrib/hbct/addascii.c * contrib/hbct/tab.c * contrib/hbct/numline.c * contrib/hbct/asciisum.c * contrib/hbct/ctpad.c * contrib/xhb/fparse.c * contrib/xhb/xhbhasha.c * contrib/xhb/xhbmsgs.c * contrib/xhb/freadlin.c * contrib/xhb/xhbfunc.c * contrib/hbmzip/hbmzip.c + Using size API. * Other type and minor code cleanups. * contrib/hbct/screen2.c % Using hb_parnldef(). * src/rtl/hbzlib.c ! Fixed mingw warning after prev. * contrib/rddads/adsx.c * Formatting. 2010-06-19 16:24 UTC+0200 Viktor Szakats * include/hbdefs.h + Adjusted HB_SIZE_MAX value for Win64 after recent changes. * src/vm/hashfunc.c * src/vm/hvm.c * src/debug/dbgentry.c * src/common/hbwin.c * src/common/hbfsapi.c * src/common/hbstr.c * src/rtl/lennum.c * src/rtl/hbzlibgz.c * src/rtl/hbtoken.c * src/rtl/hbmd5.c * src/rtl/hbregex.c * src/rtl/hbzlib.c * src/rtl/gtpca/gtpca.c * contrib/hbct/screen2.c * contrib/hbct/token2.c * contrib/hbct/charsprd.c * contrib/hbct/charlist.c * contrib/hbct/charsort.c * contrib/hbct/maxline.c * contrib/hbct/wordrepl.c * contrib/hbct/charrepl.c * contrib/hbct/charswap.c * contrib/hbct/pos1.c * contrib/hbct/token1.c * contrib/hbct/charmirr.c * contrib/hbct/relation.c * contrib/hbct/atnum.c * contrib/hbct/count.c * contrib/hbct/ctstrfil.c * contrib/hbct/posdiff.c * contrib/hbct/addascii.c * contrib/hbct/pos2.c * contrib/hbct/numat.c * contrib/hbct/atrepl.c * contrib/hbct/print.c * contrib/xhb/txtline.c * contrib/hbgt/strright.c * contrib/hbgt/chrtotal.c * contrib/hbgt/strcount.c * contrib/hbgt/ascposgt.c * contrib/hbgt/strleft.c * contrib/hbgt/chrcount.c * contrib/hbgt/strcspn.c * contrib/hbgt/atdiff.c * contrib/hbbz2/hbbz2.c * contrib/hbmemio/memio.c * contrib/hbclipsm/num.c * contrib/hbclipsm/date.c * contrib/hbmisc/stringsx.c * contrib/hbmisc/spd.c + Using new size API. NOTE: This will be a longer process as there many current variations to pass sizes (*nint(), *ni(), *nl()) and there is no warning issued in several of these. Please also note that not all updates files became fully clean. I will post a list of remaining warnings. + Type cleanup: int -> HB_ISIZ + Added casts at component boundaries. % Deleted unnecessary '( HB_SIZE )' casts. + ULONG_MAX -> HB_SIZE_MAX * 'hb_retl( 0 )' -> 'hb_retl( HB_FALSE )' * 'hb_retl( 1 )' -> 'hb_retl( HB_TRUE )' ! CSETSAFETY() fixed to return and accept logical parameters instead of returning numeric, checking for logical but retrieving numeric. * src/common/hbwin.c * DWORD -> int to be in sync with Windows API declarations. ; NOTE: I left out RDDs and VM from the areas I scanned, please modify them. E.g. we will need an hb_vmPushSize(). ; Peer review (by as much eyeballs as possible) is appreciated. 2010-06-19 14:12 UTC+0200 Viktor Szakats * src/vm/itemapi.c * src/vm/arrays.c * src/vm/extend.c * include/hbapi.h * include/hbapiitm.h * Changed new size API calls to use HB_ISIZ instead of HB_SIZE. This is required until we switch HB_SIZE to be signed value, and to not step backwards plus keep signedness compatibility with 'long' API calls. * contrib/xhb/xhbhasha.c * contrib/hbcurl/hbcurl.c + Using size API. * contrib/xhb/xhbhasha.c ! HAAGETREALPOS(): Fixed return value to be numeric. 2010-06-19 13:41 UTC+0200 Viktor Szakats * include/hbapi.h * include/hbapiitm.h * src/vm/itemapi.c * src/vm/arrays.c * src/vm/extend.c + Added hb_storvns(). + Added hb_parvns(). ; FIXME: hb_itemPutNS() gives these (not quite unexpected) mingw warnings: [DONE] --- itemapi.c:993:8: warning: comparison between signed and unsigned integer expressions itemapi.c:998:38: warning: comparison between signed and unsigned integer expressions itemapi.c:1004:35: warning: comparison between signed and unsigned integer expressions itemapi.c:1004:7: warning: comparison is always false due to limited range of data type --- * src/rtl/philes.c * src/rtl/mlcfunc.c * src/rtl/rat.c + Using size APIs. % Also deleting '( HB_SIZE )' casts along the way. * src/rtl/oemansi.c ! Cast to make Win64 happy. Quite interesting that almost no Windows API don't support proper 64-bit strings, so here Windows will be the limitation, not Harbour. 2010-06-19 13:26 UTC+0200 Viktor Szakats * src/vm/extend.c ! Fixed another miss for prev rename. * src/rtl/filesys.c * Minor indentation. 2010-06-19 13:10 UTC+0200 Viktor Szakats * src/vm/arrayshb.c * src/rtl/replic.c * src/rtl/padr.c * src/rtl/padc.c * src/rtl/len.c * src/rtl/padl.c * src/rtl/right.c * src/rtl/left.c * src/rtl/space.c * contrib/xhb/xhbat.c * contrib/xhb/xhbarr.c + Started to use size APIs. Quite random, just to test the feeling. Converted functions can properly handle > 4 GiB strings and no. of array elements in .prg code. (on Win64) * include/hbapiitm.h ! Missed to do the renaming in declaration. 2010-06-19 12:58 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/filesys.c * minor cleanup in recent modification 2010-06-19 12:52 UTC+0200 Viktor Szakats * src/vm/itemapi.c * src/vm/arrays.c * include/hbapi.h * Renamed hb_arrayGetNSize(), hb_arraySetNSize(), hb_itemGetNSize(), hb_itemPutNSize() functions to hb_arrayGetNS(), hb_arraySetNS(), hb_itemGetNS(), hb_itemPutNS(). * src/rtl/at.c * src/rtl/ati.c * contrib/xhb/xhbat.c * Started to use hb_*ns() instead of hb_*nl() for size values. 2010-06-19 12:46 UTC+0200 Viktor Szakats * src/vm/extend.c * include/hbapi.h * hb_*nsize() functions renamed to hb_*ns(): hb_parns(), hb_retns(), hb_storns() + Added hb_parnsdef(). 2010-06-19 12:27 UTC+0200 Viktor Szakats * bin/hb-func.sh * bin/postinst.sh + Applied patch from Tamas Tevesz, to POSIXify these shell scripts. Thanks! 2010-06-19 12:23 UTC+0200 Viktor Szakats * src/vm/itemapi.c - hb_itemGetNL() no longer works for date types. INCOMPATIBLE. If you used it to retrieve date/time, use hb_itemGetDL() instead. ! Fixed typo in prev addition. * include/hbapi.h * src/vm/arrays.c + Added hb_arrayGetNSize(), hb_arraySetNSize(). ! Fixed old typo in TRACE() call of hb_arrayGetNInt(). * src/vm/extend.c ! Fixed typo in prev addition. * src/rtl/filesys.c ! Applied fixed from Przemek to hb_fsReadAt()/hb_fsWriteAt() code to be MT safe plus fix other problems. ; QUESTION: Shouls the same applied to hb_fsWriteLarge()/hb_fsReadLarge() loops? (BTW inactive in 32-bit Harbour builds) [DONE] * contrib/hbct/screen2.c ! Type cleanup. * contrib/hbct/pack.c * contrib/xhb/hbxml.c * contrib/xhb/hbxml.h * contrib/hbgt/charmixg.c * contrib/hbgt/charodd.c * contrib/hbgt/strexpan.c * contrib/hbgt/asciisgt.c * contrib/hbgt/strright.c * contrib/hbgt/strasint.c * contrib/hbgt/strdiffg.c * contrib/hbgt/chrtotal.c * contrib/hbgt/strcount.c * contrib/hbgt/strleft.c * contrib/hbgt/chrfirst.c * contrib/hbgt/chrcount.c * contrib/hbgt/strpbrk.c * contrib/hbgt/chareven.c * contrib/hbgt/bitflags.c * contrib/hbgt/strcspn.c * contrib/hbgt/atdiff.c * contrib/hbnf/proper.c * contrib/hbnf/getenvrn.c ! Fixed to use Harbour size types. * contrib/hbnf/dispc.c ! Started using Harbour type, but this is code is deadly and needs further work. I still wonder how to create code which mixes properly HB_FOFFSET and HB_SIZE. * contrib/xhb/cstructc.c * Formatting. 2010-06-19 09:52 UTC+0200 Viktor Szakats * src/vm/runner.c ! Minor to prev. * include/hbapi.h * src/vm/extend.c + Added hb_parnsize(), hb_retnsize(), hb_stornsize() functions. ; NOTE: These should be used in place of hb_parnl(), hb_retnl(), hb_stornl() when passing HB_SIZE types. ; TODO: Use them all accross Harbour if they are correct and after being finalized. [DONE] * src/vm/itemapi.c + Added hb_itemGetNSize(), hb_itemPutNSize() functions. * DATETIME stuff in hb_itemGetNL() marked as HB_LEGACY_LEVEL3. ; QUESTION: It's marked as to be deleted in the TODO, so maybe we should rather delete it. [DELETED] * include/hbapiitm.h * src/rtl/filesys.c + hb_fsReadAt(), hb_fsWriteAt(): Added support for Win64 HB_SIZE. ; QUESTION: I assume these functions have the purpose of being atomic seek + read without moving the file pointer, which means current modification isn't safe. How can this be solved given Windows doesn't seem to have 64-bit read/write API calls? [FIXED] ! Fixed old copy-paste typos in Windows OVERLAPPED initialization, where the lines were ended with command instead of semicolon, they didn't cause any harm though in their former location. % Reverted a minor change from prev commit to make it possibly a little bit faster, like it was before. * src/rtl/hbzlib.c + Added casts (at external interface calls) and other fixes to make it build for Win64 without warnings. * src/rdd/dbfntx/dbfntx1.c * src/rdd/dbfnsx/dbfnsx1.c * src/rdd/dbfcdx/dbfcdx1.c * src/rdd/dbffpt/dbffpt1.c * contrib/rddbmcdx/bmdbfcdx.c * HB_ULONG -> HB_SIZE where appropriate to avoid Win64 errors and some warnings. I'm still not comfortable to touch this code, but it could certainly need a type cleanup. * include/hbdefs.h + Added HB_PFS macro which holds the printf() format string for HB_SIZE value. ; TODO: Use it all accross Harbour. [DONE] * contrib/hbmysql/mysql.c * contrib/sddmy/sddmy.c * contrib/hbmzip/hbmzip.c * contrib/hbcurl/hbcurl.c * contrib/hbhpdf/harupdf.c * contrib/hbpgsql/postgres.c * contrib/rddads/adsfunc.c * contrib/rddads/ads1.c * contrib/hbfimage/fi_wrp.c * contrib/sddodbc/sddodbc.c * contrib/hbgd/gdwrp.c * contrib/hbwin/wapi_wingdi.c * contrib/hbwin/wapi_winbase.c * contrib/hbwin/wapi_winuser.c * contrib/hbwin/win_bmp.c * contrib/hbwin/win_prn1.c * contrib/hbwin/win_regc.c * contrib/hbssl/evpciph.c * contrib/hbssl/ssl.c * contrib/hbssl/bio.c * contrib/hbssl/sslctx.c * contrib/hbssl/evpenc.c * contrib/hbssl/pem.c * contrib/hbssl/rand.c * contrib/hbssl/evp.c + Added necessary casts at external component boundaries to make Win64 builds warning-free. * contrib/hbct/ctstrfil.c + HB_ISIZ -> HB_FOFFSET, hb_fsSeek() usage, other type cleanup to handle file offsets correctly. * contrib/xhb/hbnxs.h * contrib/xhb/hbcrypt.c ! Fixed warnings for Win64. * contrib/hbwin/win_prn3.c * contrib/xhb/dbf2txt.c * contrib/xhb/fparse.c * int -> HB_ISIZ for Win64. * contrib/xhb/freadlin.c * hb_fsSeek() -> hb_fsSeekLarge(). * contrib/sddfb/sddfb.c * Minor type cleanup to make Win64 warning-free. * contrib/hbsqlit3/hbsqlit3.c + Added necessary casts at external interface calls. % Deleted one dummy operation from SQLITE3_FILE_TO_BUFF(). * contrib/rddsql/sqlmix.c * contrib/rddads/adsx.c * HB_ULONG -> HB_SIZE. * contrib/gtwvg/gtwvg.c * contrib/gtwvg/wvggui.c * contrib/gtwvg/wvgcuig.c * contrib/gtwvg/wvgwin.c * contrib/gtwvg/wvgutils.c * contrib/gtwvg/wvgcore.c ! int -> HB_ISIZ/HB_SIZE + Added necessary casts at external component boundaries to make Win64 warning-free. * contrib/rddads/ads1.c * HB_ULONG -> HB_SIZE * contrib/hbtip/utils.c * int -> HB_ISIZ ! Fixed to use HB_FOFFSET type to save/restore file position. * ChangeLog + Added missing item to previous log entry: ! Fixed hb_fsCurDirBuff() for Win64. ; It's quite large commit, nevertheless I'd highly appreciate peer review, and certainly there will be places which need better or different solution for Win64. 2010-06-18 18:14 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/hbide.ch * contrib/hbide/hbide.prg * contrib/hbide/ideactions.prg * contrib/hbide/idedocks.prg * contrib/hbide/ideeditor.prg * contrib/hbide/ideenviron.prg * contrib/hbide/idefindreplace.prg * contrib/hbide/idefunctions.prg * contrib/hbide/ideobject.prg * contrib/hbide/ideprojmanager.prg * contrib/hbide/idesaveload.prg * contrib/hbide/ideshortcuts.prg * contrib/hbide/idesources.prg * contrib/hbide/idetools.prg + Remodelled: ::aINI - hbide.ini variables container. It is now encapsulated in a object - ::aINI => ::oINI. This implementation has made this construct extendible to any extent. Earlier it was a real mess to add one more option on top of the existing one. 2010-06-18 16:12 UTC+0200 Viktor Szakats * src/rtl/filesys.c * include/hbapifs.h + Added support for 64-bit HB_SIZE to hb_fsWriteLarge(), hb_fsReadLarge(). * Some HB_SIZE variables renamed to have 'n' prefix. * Minor cleanups in code layout in hb_fsWriteLarge(), hb_fsReadLarge(). ! Fixed hb_fsCurDirBuff() for Win64. ; Please review, I didn't make any real tests. Most code was copied and adapted from similar code existing for 16-bit systems to support 32-bit HB_SIZE. * src/vm/runner.c % Adjusted scope of recently added variable. * ChangeLog ! Fixed HB_COMPILER_VER values for MSVC for pre < 1000 versions (requires zero prefix to work right) in: 2010-06-06 00:50 UTC+0200 Viktor Szakats 2010-06-18 15:04 UTC+0200 Viktor Szakats * src/vm/runner.c * include/hbcompdf.h ! Fixed two more HB_SIZE != HB_ULONG build issues. 2010-06-18 13:41 UTC+0200 Viktor Szakats * src/rtl/filesys.c * include/hbapifs.h ! hb_fsLock()/hb_fsSeek() to use HB_ULONG/HB_LONG, instead of HB_SIZE/HB_ISIZ. * Cleaned some casting in hb_fsLock(). Please check me. 2010-06-18 12:33 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/compiler/hbmain.c ! added missing compile time error for maximum string size overflow when #pragma TEXTHIDDEN(1) is used * harbour/src/compiler/hbpcode.c ! fixed missing HB_ULONG -> HB_SIZE conversion in hb_compGenPCodeN() function body 2010-06-18 11:58 UTC+0200 Viktor Szakats * include/hbdefs.h ! Fixed one intentional typo I put in to test legacy types. * src/compiler/hbmain.c * src/compiler/genhrb.c * src/compiler/gencc.c * src/compiler/hbcmplib.c * include/hbcomp.h * include/hbcompdf.h * HB_ULONG -> HB_SIZE, where I could find out from warnings. + Added parameter names to some function declarations where they were missing. ; Przemek, please check me. I feel I will mess this up if continuing beyond this point, so I'd appreciate if you could take a look at HB_ULONG to HB_SIZE conversion from an intrinsic perspective, there seem to be places where it needs further tweaks to get us full Win64 support. [ I've also intentionally left this area more or less intact when doing the previous pass of conversion. ] ; There are places where simple 'int' is used, while it should be HB_SIZE (or maybe size_t? in some places). ; Also, Win64 conversion will need some more work e.g. in filesys.c where WinAPI file I/O functions can't accept a 64-bit value. First I will report these and if they seem complicated I'll revert to HB_SIZE = HB_ULONG for Win64 in the being. * src/compiler/hbgenerr.c * Formatting. * src/pp/ppcore.c * src/vm/strapi.c * src/vm/debug.c * src/vm/itemapi.c * src/vm/cmdarg.c * src/vm/set.c * src/debug/dbgentry.c * src/common/hbgete.c * src/common/hbstr.c * src/common/strwild.c * src/nortl/nortl.c * src/rtl/lennum.c * src/rtl/strmatch.c * src/rtl/gtstd/gtstd.c * src/rtl/hbstrfmt.c * src/rtl/transfrm.c * src/rtl/gtcgi/gtcgi.c * src/rtl/direct.c * src/rtl/filesys.c * src/rtl/console.c * src/rtl/hbgtcore.c * src/rtl/cdpapi.c * src/rtl/mlcfunc.c * src/rtl/itemseri.c * src/rtl/gtpca/gtpca.c * src/rtl/trace.c * src/rtl/samples.c * src/rtl/gete.c * src/rdd/workarea.c * src/rdd/hsx/hsx.c * src/rdd/hbsix/sxsem.c * src/rdd/hbsix/sxfname.c * contrib/hbct/tab.c * contrib/xhb/dbf2txt.c * contrib/xhb/datesxhb.c * contrib/xhb/dbgfxc.c * contrib/hbmzip/hbmzip.c * contrib/hbnf/fttext.c * contrib/hbnetio/netiocli.c * contrib/hbpgsql/postgres.c * contrib/hbclipsm/num.c * contrib/rddads/ads1.c * contrib/sddsqlt3/sddsqlt3.c * contrib/hbfimage/fi_wrp.c * contrib/sddodbc/sddodbc.c * contrib/sddoci/sddoci.c * contrib/hbwin/win_svc.c * contrib/hbwin/win_prn2.c * '( HB_SIZE ) strlen(' -> 'strlen(' 2010-06-18 11:18 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/vm/hvm.c * harbour/src/vm/harbinit.prg * renamed Harbour VM initialization function from CLIPINIT() to __HBVMINIT() This functions is called when new HVM stack is created at application startup or in MT mode when new HVM thread is registered to initialize basic VM settings like public variable GetList and ErrorBlock() by calling ErrorSys() function. 2010-06-18 10:58 UTC+0200 Viktor Szakats * include/hbdefs.h + HB_SIZE/HB_ISIZ set to 64-bit value on Win64 targets. This change should finally fix the many casting errors appearing in Win64 builds of Harbour, plus it enables to use proper 64-bit sizes for strings and arrays. ; TODO: Test and fix and places where this may cause a problem. Delete all now unnecessary casting from size_t to HB_SIZE. (e.g. '( HB_SIZE ) strlen(') [DONE] 2010-06-18 10:50 UTC+0200 Viktor Szakats * include/hbdefs.h + Rearranged types to first define base Harbour types, then abstract Harbour types and then legacy types. This removes some redundancy and contains all legacy handling in one common block. It also fixes 16-bit legacy types not being defined in some cases. + Changed so that legacy type are referring to Harbour types instead of replicating them using native C types. 2010-06-18 09:56 UTC+0200 Viktor Szakats * src/rtl/gtwin/gtwin.c ! Fixed for pocc after: 2010-03-05 19:26 UTC+0100 Viktor Szakats (looks like pocc isn't very actively used in Harbour) * config/globsh.mk + Added two TODOs to FALSE definitions. 2010-06-17 19:07 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/resources/setup.ui * contrib/hbide/resources/setup.uic * contrib/hbide/hbide.prg * contrib/hbide/idedocks.prg * contrib/hbide/ideedit.prg * contrib/hbide/ideeditor.prg * contrib/hbide/ideobject.prg * contrib/hbide/idesaveload.prg * contrib/hbide/idestylesheets.prg + Started: cleaning and extendibility of .ini variables. 2010-06-17 23:14 UTC+0200 Viktor Szakats * config/globsh.mk + 'FALSE' variable set for 'nt' shells. * 'FALSE' variable set to a dummy value ($(TRUE)) for 'dos' and 'os2' shells. * config/wce/mingwarm.mk * config/win/mingw.mk * config/win/cygwin.mk ! Fixed to fail after deleting the library on 'ar' failure. 2010-06-17 22:07 UTC+0200 Viktor Szakats * src/common/hbfsapi.c ! hb_fsFName*(): Fixed to not GPF when called with NULL parameters. (this also fixes 'hbpp -c' GPF) * config/global.mk + Will now force HB_BUILD_UNICODE=no on Win9x hosts (and if HB_BIN_COMPILE is not set to point to a non-UNICODE Harbour tools to be used. Building UNICODE Harbour on Win9x is a cross-build situation) * config/win/bcc.mk + Added small trick to make the build work on Win9x host. ; Win9x is able to build properly using win/bcc. 2010-06-17 19:28 UTC+0200 Viktor Szakats * config/global.mk % Minor optimization for Windows platform ! At the same time fix for CreateProcess( 'uname' ) error on Win9x. * config/wce/mingwarm.mk * config/win/mingw.mk * config/win/cygwin.mk ! Fix to previous: In multi-command command-lines, e.g.: '(cmd1 && cmd2)' $(RM) command _must_ be used as a workaround so that GNU Make converts it to a batch file. Unfortunately with this, an 'ar' failure will be masked by a successful $(RM), so the make won't stop. * config/globsh.mk + Added new command macro $(FALSE) preparing for general solution to force failure. * config/beos/gcc.mk * config/qnx/gcc.mk * config/bsd/gcc.mk * config/bsd/clang.mk * config/darwin/gcc.mk * config/darwin/icc.mk * config/darwin/clang.mk * config/hpux/gcc.mk * config/linux/gcc.mk * config/linux/icc.mk * config/linux/clang.mk * config/linux/sunpro.mk * config/sunos/gcc.mk * config/sunos/sunpro.mk * config/instsh.mk * 'false' -> '$(FALSE)' for shell independence. 2010-06-17 19:02 UTC+0200 Viktor Szakats * config/wce/mingwarm.mk * config/wce/msvcarm.mk * config/win/mingw.mk * config/win/icc.mk * config/win/cygwin.mk * config/win/msvc.mk ! Removed delete command which was called when $(AR) command failed. (usually: '|| $(RM) $(subst /,$(DIRSEP),$(LIB_DIR)/$@)') This fixes three issues: - It won't force GNU Make into using cmd shell (in fact temporary batch file) to execute these commands, thus it won't hit cmd shell length limitations on NT and W2K systems (maybe Win9x also? TOCHECK). - Build process will properly stop in case $(AR) (lib assembly) command fails, instead of deleting the wrong lib and continuing with the build. Best would be to delete it and fail, but I found no clean way to do this. - This incorrect variation is no longer used: '|| $(RM) $(LIB_DIR)/$@' (pathsep conversion is missing) NOTE: If someone can recommend a way to fail the build after deleting the partial lib, all above logic can be reintroduced, but in this case the lib creation cmds need to be rewritten like mingw to avoid long command-line lengths. IOW I'm looking for a win shell equivalent of this sequence: AR_RULE = $(AR) ... || ( $(RM) ... && **false** ) where **false** is something which creates no output and returns non-zero errorlevel. [PENDING: dos and os2 shells] * ChangeLog + More explanation to prev log entry. 2010-06-17 09:18 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/resources/setup.ui * contrib/hbide/resources/setup.uic + Added: few more fields. 2010-06-17 17:27 UTC+0200 Viktor Szakats * config/bsd/gcc.mk * config/bsd/clang.mk * config/wce/mingwarm.mk * config/wce/poccarm.mk * config/wce/msvcarm.mk * config/hpux/gcc.mk * config/darwin/icc.mk * config/dos/watcom.mk * config/dos/djgpp.mk * config/win/xcc.mk * config/win/mingw.mk * config/win/pocc.mk * config/win/bcc.mk * config/win/watcom.mk * config/win/icc.mk * config/win/cygwin.mk * config/win/msvc.mk * config/linux/watcom.mk * config/linux/icc.mk * config/os2/watcom.mk * config/os2/gcc.mk * Functions renamed. 2010-06-17 17:09 UTC+0200 Viktor Szakats * config/wce/mingwarm.mk * config/win/mingw.mk * config/win/cygwin.mk + Added support for host systems with shorter command-line limits (in lib creation command). E.g. on WinW2K or WinNT. Here the problem was that on these targets the $(AR) command is a command sequence which is executed via cmd shell by GNU Make, so all shell command length limitations apply. These limits are much smaller than for CreateProcess() calls. * config/win/cygwin.mk ! Fixed delete command on 'ar' failure to work on native Windows shell. 2010-06-17 15:37 UTC+0200 Viktor Szakats * tests/wvtext.prg * Updates. Formatting. Show msgbox when MT is not present. * contrib/hbxbp/Makefile + Enabled for mingw64. * contrib/hbxpp/xppop.prg * contrib/hbxpp/xppopc.c + Added Xbase++ compatible operator overloading for $ on arrays. 2010-06-17 13:11 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/vm/harbinit.prg * harbour/src/vm/runner.c * harbour/src/vm/hvm.c ! fixed the order in which HVM calls __SetHelpK() PRG function. It should be called after all INIT proc and before main application entry. * removed __SetHelpK() from thread initialization code. ! fixed the order in which INIT procedures are executed in single module - CA-Cl*pper calls INIT PROCEDUREs in the reverted order (from last to first) + added support for undocumented Clipper extension: two execution levels of INIT PROCEDUREs. When application starts CA-Cl*pper executes INIT PROCEDUREs called CLIPINIT from all linked PRG modules. Then it repeats this operation for all modules executing all other PROCEDUREs. Now Harbour and Clipper gives the same results for this code: proc main() ? PROCNAME() proc errorsys() ? PROCNAME() init proc INITPROC1() ? PROCNAME() init proc clipinit() ? PROCNAME() init proc INITPROC2() ? PROCNAME() proc __SetHelpK() ? PROCNAME() proc HELP() 2010-06-17 07:47 UTC+0200 Viktor Szakats * contrib/hbqt/hbqt_common.hbm * contrib/hbqt/detect.mk + Enabled for mingw64. * src/rtl/inkey.c - Deleted recently added HB_KEYLAST()/HB_KEYNEXT(). - Deleted dirty/hidden parameter extension from LASTKEY(). - Deprecated NEXTKEY() dirty/hidden extension by HB_LEGACY_LEVEL3. 2010-06-17 00:19 UTC+0200 Viktor Szakats * tests/wvtext.prg + Extended with tests for row resize. + Added visual feedback for resize event. * config/global.mk ! Typo after last changes making HB_BUILD_PKG ineffective. * INSTALL * Minor. 2010-06-16 21:09 UTC+0200 Viktor Szakats * include/extend.api * include/hbapi.h + Disabled IS*() macros when HB_LEGACY_TYPES_OFF is defined (default when building Harbour) * src/pp/pplib.c * src/rtl/hbregex.c * src/rtl/dateshb.c * contrib/xhb/xhbfunc.c * contrib/rddads/rddads.h ! Fixed IS*() -> HB_IS*() * src/rtl/hbregex.c * contrib/hbmysql/mysql.c * contrib/xhb/xhbsave.c * contrib/hbmzip/hbmzip.c * contrib/hbfbird/firebird.c * contrib/hbnetio/netiosrv.c * contrib/rddads/rddads.h * contrib/rddads/adsmgmnt.c * contrib/rddads/adsfunc.c * contrib/hbmisc/hb_f.c * contrib/hbmisc/ffind.c * contrib/hbwin/win_com.c * contrib/hbwin/wapi_shellapi.c * contrib/hbssl/bio.c * contrib/hbssl/hbssl.c * contrib/hbssl/sslctx.c % Optimized to use hb_parn*def() calls instead of inline-if expression (where default value is constant or simple variable). * INSTALL + valgrind is available for darwin-amd64 (in 1.6 devel tree, yet). 2010-06-16 19:56 UTC+0200 Viktor Szakats * src/rtl/hbzlibgz.c * src/rtl/fstemp.c * src/rtl/at.c * src/rtl/strtran.c * src/rtl/hbinet.c * src/rtl/saverest.c * src/rtl/diskspac.c * src/rtl/philes.c * src/rtl/mlcfunc.c * src/rtl/disksphb.c * src/rtl/shadow.c * src/rtl/trace.c * src/rtl/ati.c * src/rtl/hbstrsh.c % Optimized to use hb_parn*def() calls instead of inline-if expression (where default value is constant or simple variable). % Optimized out few HB_ISNUM() calls where the default value was zero. Also added comment to signal the intention. * src/rtl/inkey.c + Added two FIXMEs to LASTKEY() and NEXTKEY() after having discovered two hidden (dirty) parameter extensions over original Clipper implementation, both added here in Harbour in year 2001. [ I didn't test if it's undocumented Clipper function, but there is no such indication in past log enties, plus even in this case it would have to be marked with HB_CLP_UNDOC. They are also not Xbase++ extensions. ] + Added HB_KEYNEXT(), HB_KEYLAST() functions which implement original NEXTKEY()/LASTKEY() functionality plus the extension. Pls correct me if I'm wrong, but after reading all related log entries I could not find out why the default of the optional parameter is _SET_EVENTMASK in NEXTKEY(), but INKEY_ALL in LASTKEY(). It was changed as part of big change, here: 2004-10-11 21:40 UTC+0100 Przemyslaw Czerpak ; I intend to deprecate the dirty extensions and finish adding the two new Harbour specific function, which we're free to extend. * contrib/xhb/dumpvar.prg ! Fixed recent typo. * INSTALL * Updated tdm website. 2010-06-16 09:56 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/resources/hbide.png * contrib/hbide/hbide.ico % Changed: hbide icon to Harbour's logo. * contrib/hbide/ideharbourhelp.prg * contrib/hbide/idesaveload.prg ! Fixed: a rare occured GPF reported by Itamar. 2010-06-16 11:45 UTC+0200 Viktor Szakats * config/win/mingw.mk + Added (commented) support for -m32/-m64 options. This may be useful in the future e.g. for mingw tdm 4.5.0 compiler which can build both 64 and 32-bit targets using the same compiler binaries. * config/global.mk * config/wce/mingwarm.mk * config/wce/poccarm.mk * config/wce/msvcarm.mk * config/win/xcc.mk * config/win/mingw.mk * config/win/pocc.mk * config/win/bcc.mk * config/win/watcom.mk * config/win/cygwin.mk * config/win/msvc.mk * config/os2/watcom.mk + Changed to init RCFLAGS from global.mk. * config/global.mk + Added support for theoretical QNX cross-builds. * ChangeLog * Updated QNX TODO list. 2010-06-16 11:14 UTC+0200 Viktor Szakats * config/global.mk + Added HB_COMPILER autodetection for QNX. Minor optimization. 2010-06-16 11:01 UTC+0200 Viktor Szakats * contrib/hbcurl/hbcurl.c + Added all remaining known guards to HB_CURLOPT_* options, so in theory now e.g. even libcurl version 7.5.0 is supported. ! Fixed HB_CURLOPT_HTTPGET being disabled when building against libcurl < 7.14.1 ! Fixed HB_CURLOPT_FTP_ACCOUNT being enabled at the wrong libcurl version. * mpkg_nightly.sh * Minor. * package/winuni/RELNOTES * Versions updated. 2010-06-16 10:12 UTC+0200 Viktor Szakats + config/detplat.mk * config/global.mk + Last usage of $(eval) replaced with "quasi-function" call solution. It's less efficient, but now it should support GNU Make 3.79. NOTE: If someone has a better solution, or even a more optimal version of this one, pls speak up! + Two usages of $(eval) replaced with GNU Make version agnostic solution. (in previous commit) 2010-06-16 09:56 UTC+0200 Viktor Szakats * config/detfun.mk * config/global.mk % Streamlined internal handling of HB_SRC_ROOTPATH value. + HB_SRC_ROOTPATH will now be conditioned before use: ending pathsep added, pathseps converted to forward slash, double slashes deleted. ! Fixed HB_BIN_COMPILE autodetection in PATH, $(realpath was not necessary, it only ruined already absolute paths which are likely to appear in PATH anyway. % Optimized HB_BIN_COMPILE autodetection in PATH to reuse function created for this purpose. ! Fixed GNU Make 3.81 version detection to work also with future GNU Make versions. + Added GNU Make 3.80 version detection. (unused, commented) % Deleted version guards from around $(eval) and $(info) calls: Unknown function calls will simply be ignored by GNU Make and empty string returned, so this is safe. % Force HB_BUILD_PKG off only if HB_SRC_ROOTPATH is not specified (and running < 3.81 GNU Make version). + Show warning when using < 3.81 GNU Make version and HB_SRC_ROOTPATH was not specified. + Falling back to using HB_SRC_ROOTPATH in all places where $(realpath) or $(abspath) calls are used in 3.81 version. + Two usages of $(eval) replaced with GNU Make version agnostic solution. ! Protected one $(realpath) with version guard. + Automatized how HB_VER_STATUS_SH is filled for final releases. ; NOTE: HB_SRC_ROOTPATH support is completely untested. ; TODO: If everything works as intended, now "only" $(eval) calls need some workaround to give full blown functionality also with 3.79 version of GNU Make. [DONE] * config/instsh.mk ! Fixed to not use $(realpath) (and fail to install), when running under < 3.81 GNU Make. * utils/hbmk2/hbmk2.prg * config/global.mk * Changed to use 'wcc386' executable for watcom detection (was 'wpp386'). * INSTALL + Minor updates regarding QT. 2010-06-15 19:02 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/resources/setup.ui * contrib/hbide/resources/setup.uic * contrib/hbide/hbide.ch * contrib/hbide/hbide.prg * contrib/hbide/idedocks.prg * contrib/hbide/idesaveload.prg * contrib/hbide/idestylesheets.prg + Implemented: OS system themes via "Setup" dialog. Animation mode and system theme ( both settable via "Setup" ) are remembered for next run. Please do not set "macintosh" theme on windows machines, it GPF's. % Enhanced: "Setup" dialog with fields to hold settings for variety of actions. Please have a look into them and propose more. Currently only Theme and Animation mode, two actions are active in real-time. 2010-06-15 20:38 UTC+0200 Viktor Szakats * INSTALL * config/detfun.mk * config/global.mk * HB_ROOT -> HB_SRC_ROOTPATH Renamed to not have such obvious and short name and not to collide with built-in hbmk2 macro with the same name. 2010-06-15 18:43 UTC+0200 Viktor Szakats * INSTALL * config/global.mk * config/detfun.mk * config/detect.mk * external/sqlite3/Makefile * external/png/Makefile * external/jpeg/Makefile * external/bzip2/Makefile * external/libhpdf/Makefile * contrib/hbsqlit3/Makefile * contrib/hbmzip/Makefile * contrib/hbbz2/Makefile * contrib/hbhpdf/Makefile * contrib/sddsqlt3/Makefile * contrib/hbwin/Makefile + Added HB_ROOT variable which can be used to specify Harbour source tree root as an absolute directory, when using older than 3.81 GNU Make version (e.g. on QNX). + Changed the way locally hosted source directories are specified for detection function, in order to support HB_ROOT functionality. 2010-06-15 18:06 UTC+0200 Viktor Szakats * INSTALL + Added Mac OS X QT pkg recommended link. * ChangeLog * Updated list of pending issue on QNX system. * contrib/hbmysql/mysql.c ! Fixed version guard around mysql_get_server_version() call to check against the documented version number this function appeared. * utils/hbmk2/hbmk2.prg ! Fix for *nix filename escaping code. ! Fixed to escape and decorate filename in entry function detection external call using nm tool. ; Patches by Tamas Tevesz. 2010-06-15 08:33 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/resources/setup.ui + Added few more settings. * contrib/hbide/hbide.prg * contrib/hbide/idedocks.prg * contrib/hbide/idestylesheets.prg ! Refined: editor tabs, splitters, etc. ! Refined: animation style confirming to uniformity. 2010-06-15 16:34 UTC+0200 Viktor Szakats * contrib/hbcurl/hbcurl.c ! Fixed to build against very old libcurl versions. % Using hb_parnldef(). ! Fixed few guards being off by one minor version. 2010-06-15 13:38 UTC+0200 Viktor Szakats * contrib/xhb/xhbfs.c ! Fixed ISDIRECTORY() to work like originally intended. This effectively reverts breakage caused by this change: 2009-07-06 10:06 UTC+0100 Miguel Angel Marchuet <miguelangel@marchuet.net> * source/rtl/file.c * Changed IsDirectory to fix IsDirectory( "\\machine\c" ) style call under windows platforms. BTW, in Harbour to achieve above effect, you can use native HB_DIREXISTS( "\\machine\c" ) function call. 2010-06-15 13:06 UTC+0200 Viktor Szakats * harbour-win-spec * harbour-wce-spec * harbour.spec ! Deleted references to hbcc, hbcmp, hblnk. They still work, and they still can be readded as links if someone finds them necessary. As a general direction for most users though it's preferred to use hbmk2 as-is. * Updated help text. (pls fix it further, it's not perfect) * contrib/hbcomm/hbcomm.prg + OUTCHR() smartened to use a loop until failure or the whole data is transmitted. As suggested by Mindaugas. 2010-06-15 12:56 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/xhb/xhbcomp.prg * harbour/contrib/xhb/xhbmsgs.c + added emulation for some xHarbour extensions in ==, = and != operators. <block> == <block> <hash> = <hash> // it does not work correctly in xHarbour <hash> != <hash> 2010-06-15 12:00 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbdefs.h * harbour/include/hbvmpub.h * harbour/src/common/expropt1.c * harbour/src/common/expropt2.c * harbour/src/common/hbstr.c * harbour/src/compiler/gencc.c * harbour/src/vm/hvm.c * harbour/src/vm/itemapi.c * harbour/src/vm/task.c * harbour/src/rtl/abs.c * harbour/src/rtl/hbdyn.c * harbour/src/rdd/dbsql.c * harbour/contrib/hbwin/olecore.c * harbour/contrib/sddoci/sddoci.c * harbour/contrib/sddsqlt3/sddsqlt3.c * renamed HB_LONG_{MIN,MAX} to HB_VMLONG_{MIN,MAX} and HB_INT_{MIN,MAX} to HB_VMINT_{MIN,MAX} to not confuse users after renaming HB_LONG to HB_MAXINT and LONG to HB_LONG. They could expect that HB_LONG_{MIN,MAX} are for HB_LONG type. 2010-06-15 10:58 UTC+0200 Viktor Szakats * contrib/hbcurl/hbcurl.c ! Fixed typo in prev change. * mpkg_deb.sh * mpkg_rpm.sh * mpkg_rpm_from_svn.sh * mpkg_rpm_win.sh * mpkg_rpm_wce.sh * bin/hb-mkdyn.sh * bin/postinst.sh + More POSIX compatibility changes by Tamas Tevesz. 2010-06-14 21:38 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) + contrib/hbqt/qth/HBQSyntaxHighlighter.qth + Readded after case conversion. 2010-06-14 21:35 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) - contrib/hbqt/qth/HBQSyntaxHighLighter.qth - Deleted and committed to be added with case converted. 2010-06-14 21:31 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qth/HBQPlainTextEdit.qth * contrib/hbqt/qth/HBQSyntaxHighLighter.qth * contrib/hbqt/qth/QTableWidget.qth ! Restored the changed effected with r14752. 2010-06-14 19:27 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/idedocks.prg * contrib/hbide/idestylesheets.prg % Prepared to apply ideThemes ( upcoming ) if user so defines. A glimpse can be had from <View><Toggle Animation>. Current theme is Microsoft Office look and feel, though a little more work is required. RGB Colors supplied by Antonio Linares. 2010-06-15 03:36 UTC+0200 Viktor Szakats * bin/postinst.sh + Posixify by Tamas Tevesz. Thanks! 2010-06-15 02:31 UTC+0200 Viktor Szakats * mpkg_deb.sh * mpkg_rpm.sh * mpkg_rpm_win.sh * mpkg_nightly.sh * mpkg_src.sh * mpkg_rpm_wce.sh * mpkg_tgz.sh * bin/hb-mkdyn.sh * bin/hb-func.sh * bin/postinst.sh - Do not force bash. (QNX by default doesn't have bash e.g., and now with the limited amount of .sh code in SVN, we can focus on making the code POSIX compliant.) * ChangeLog ! One QNX TODO marked as DONE. 2010-06-15 02:33 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/idle.c ! fixed missing open comment marker (/*) Thanks to Tamas. 2010-06-15 01:45 UTC+0200 Viktor Szakats * mpkg_deb.sh * mpkg_rpm.sh * mpkg_rpm_from_svn.sh * mpkg_rpm_win.sh * mpkg_src.sh * mpkg_rpm_wce.sh * mpkg_tgz.sh * bin/hb-mkdyn.sh * bin/hb-func.sh * bin/postinst.sh * Indented to Harbour std 3 chars. 2010-06-15 01:20 UTC+0200 Viktor Szakats * contrib/xhb/Makefile + contrib/xhb/xhbhashp.c + Added HSETPARTITION()/HGETPARTITION() xhb compatibility functions. They do nothing in Harbour besides replicating original xhb RTE behavior. 2010-06-15 00:59 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/idle.c ! fixed to call hb_idleState() for hb_idleSleep( 0 ) * harbour/src/pp/ppcore.c * harbour/src/rdd/workarea.c * harbour/src/rdd/dbcmd.c * harbour/src/rdd/dbf1.c * harbour/include/dbinfo.ch * harbour/include/hbapifs.h * harbour/include/hbvmopt.h * harbour/include/hbvmint.h * harbour/include/hbrddntx.h * renamed xHarbour to Harbour in some of my comments 2010-06-15 00:57 UTC+0200 Viktor Szakats * src/rtl/hbzlib.c + Added QNX version number to the comment noting the hack. * contrib/xhb/xhbfs.c + Added ISDIRECTORY() implementation which exactly mimics current xhb behavior. Current xhb behavior seems wrong because on Windows platform it works like HB_DIREXISTS() in Harbour (not allowing wildcards), while on rest of platforms it accept wildcards. The original intent in xhb was the latter. * contrib/xhb/hbcompat.ch - Deleted ISDIRECTORY() <-> HB_DIREXISTS() mapping. 2010-06-14 23:31 UTC+0200 Viktor Szakats * config/dos/djgpp.mk ! Fixed ten years old issue where error returned by LD was suppressed. Thanks to Tamas Tevesz for finding it. 2010-06-14 20:46 UTC+0200 Viktor Szakats + contrib/hbqt/qth/QSyntaxHighlighter.qth + Readded. 2010-06-14 20:45 UTC+0200 Viktor Szakats * external/minizip/minizip.dif * external/minizip/ioapi.h + Update for MS-DOS from Tamas Tevesz. - contrib/hbqt/qth/QSyntaxHighlighter.qth - Deleted to try to fix the SVN update breakage caused by deleting a file and readding it in the same commit on a Windows machine. * config/qnx/libs.mk + Added x11 libs. QNX supports it, though not the ancient release I have. 2010-06-14 15:59 UTC+0200 Viktor Szakats * external/zlib/zlib.dif * external/zlib/gzguts.h * external/zlib/Makefile + DJGPP patch from Tamas Tevesz. * ChangeLog + Updated QNX TODOs. 2010-06-14 15:29 UTC+0200 Viktor Szakats * src/vm/dynlibhb.c * include/hbthread.h + Added QNX support. * src/rtl/hbzlib.c ! Added hack to fix missing zlibVersion() and zError() functions from the zlib lib shipped with QNX 6.2.1. + config/qnx/libs.mk + Added QNX specific lib configuration. * utils/hbmk2/hbmk2.prg + Added (untested) list of system libs for qnx/gcc. * INSTALL + Added QNX reference to one more place. ; NOTE on QNX: All binaries build cleanly, hbtest works. ; FIXME/TODO: - hbrun seems to misdetect the width of the terminal (gttrm). - Clean some hacks in QNX port (gttrm) - TODO_CRTSCTS (hbcom) - pgsql/mysql/openssl dependent libs don't build due to missing constants/functions. - platform autodetection missing [DONE] ! Due to missing $(realpath), locally hosted packages are never detected, which causes hbmk2 to miss pcre lib. - retest whole port from vanilla SVN source, test MT linkage. [DONE] - '[ "$BASH" ] || exec bash $0 "$@"' causes error (e.g. when running postinst.sh) [DONE] ; So now Harbour can run in cars, planes and spaceships. 2010-06-14 14:26 UTC+0200 Viktor Szakats * external/zlib/Makefile * config/dos/djgpp.mk + Added patch by Tamas Tevesz targeting djgpp cross-builds: - makes zlib compile with djgpp 2.03 - adding ranlib makes the whole thing cross-compile (the linker was complaining about index not being present in the archives) the reason of the dash prefix is that since it wasn't there before, it must have worked without, so let's not break situations where it isn't present (it is present in bnu219b.zip though, and it seems to be chugging along nicely in a native situation as well) - adds $(HB_CCPATH)$(HB_CCPREFIX) to the bin tools used 2010-06-14 14:23 UTC+0200 Viktor Szakats * src/common/hbffind.c * src/rtl/fstemp.c * src/rtl/filesys.c * src/rtl/fssize.c ! Fixed to use '#define _LARGEFILE64_SOURCE 1' instead of 'define _LARGEFILE64_SOURCE' to fix compilation on QNX. This replaced previously added hack for stat64 in two locations. * src/rtl/hbzlibgz.c ! Protected gzungetc() and gzclearerr() calls with 'ZLIB_VERNUM >= 0x1202' ; QNX 6.2.1 ships with zlib 1.1.3. * src/rtl/gttrm/gttrm.c ! Added fix to compile when SA_RESTART is not available (in QNX). ; FIXME: Replace this with some more meaningful solution. [MOVED] * src/rtl/hbzlib.c ! Fixed to compile when compressBound() is not available. The detection is hackish because proper zlib version detection is not available here yet. * src/rtl/hbznet.c ! Fixed to build with older zlib versions where Z_RLE and/or Z_FIXED are not available. * include/hbdefs.h ! Fixed stdint handling for QNX. 2010-06-14 11:55 UTC+0200 Viktor Szakats * INSTALL * include/hbsetup.h * utils/hbmk2/hbmk2.prg + Added experimental support for QNX operating systems. Tested with 6.2.1. + config/qnx + config/qnx/gcc.mk + config/qnx/global.mk + Added qnx GNU make files. For now this is a simple copy of linux ones. * src/common/hbgete.c * src/common/hbprintf.c + HB_OS_QNX tweaks. * src/common/hbffind.c * src/rtl/fssize.c ! Disabled stat64 for HB_OS_QNX. * src/common/hbffind.c ! Fixed very old error in default (todo) branch where hbrtl function was mistakenly referenced. * external/Makefile * contrib/Makefile * contrib/sddoci/Makefile * config/none.mk * config/global.mk * config/bin.mk * config/dir.mk + Since QNX has GNU Make 3.79.1, I had to re-xmastree the GNU Make files (though I didn't restore the xmas indentation), plus restore all logic that dealt with older GNU Make versions. Also added some new logic. + Changed to give warning only when using older than 3.81 make versions. Some feature are disabled in this case, e.g. HB_BUILD_PKG (win/dos specific feature) ; FIXME: host platform and cpu detection relies on $(eval) which is not present on pre 3.80. [DONE] ; harbour and hbpp builds fine, but there are several remaining problems in rtl and vm. * mpkg_nightly.sh + Added feeback about what the script does. + Using -q for zip to lessen large amount of unnecessary feedback * external/pcre/pcre.dif * external/pcre/Makefile ! Tweak to make PCRE build on djgpp 2.3 Patch by Tamas Tevesz (2nd version posted on dev list) 2010-06-13 19:27 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/resources/curlinehilight.png + contrib/hbide/resources/horzruler.png * contrib/hbide/resources/togglelinenumber.png * contrib/hbide/resources/toolsutilities.ui * contrib/hbide/resources/toolsutilities.uic * contrib/hbide/resources/setup.ui * contrib/hbide/resources/setup.uic * contrib/hbqt/qth/HBQPlainTextEdit.qth * contrib/hbqt/qth/QTableWidget.qth - contrib/hbqt/qth/HBQSyntaxHighLighter.qth + contrib/hbqt/qth/HBQSyntaxHighlighter.qth * contrib/hbqt/doc/en/class_hbqplaintextedit.txt * contrib/hbqt/doc/en/class_hbqsyntaxhighlighter.txt * contrib/hbqt/qtgui/HBQPlainTextEdit.cpp * contrib/hbqt/qtgui/QTableWidget.cpp * contrib/hbqt/qtgui/THBQPlainTextEdit.prg * contrib/hbqt/qtgui/HBQSyntaxHighlighter.cpp * contrib/hbqt/qtgui/THBQSyntaxHighlighter.prg * contrib/hbqt/hbqt_hbqplaintextedit.cpp * contrib/hbqt/hbqt_hbqplaintextedit.h * contrib/hbqt/hbqt_hbqsyntaxhighlighter.cpp * contrib/hbqt/hbqt_hbqsyntaxhighlighter.h * contrib/hbide/hbide.hbp * contrib/hbide/hbide.ch * contrib/hbide/hbide.prg + contrib/hbide/idedict.prg * contrib/hbide/idedocks.prg * contrib/hbide/ideedit.prg * contrib/hbide/ideeditor.prg * contrib/hbide/idemisc.prg * contrib/hbide/ideobject.prg * contrib/hbide/idesaveload.prg * contrib/hbide/ideshortcuts.prg * contrib/hbide/idestylesheets.prg * contrib/hbide/idethemes.prg * contrib/hbide/idetools.prg % Widened padding for menubar prompts to show up at a proper distance. + Controlled "RETURN" keyword not to jump to first indentation place, with env variable - HBIDE_RETURN_ATBEGINING=yes. Scheduled to be included in "Setup" interface. + Allowed hbIDE execution with any text type file. It was accepting .PRG.CPP only. + Broadened the scope of keyword coloring for any case, mixed or absolute. It was all lower or all upper previously. + Prepared ground for user defined keywords through user dictionaries. + Added new flags in "Setup" dialog ( yet not active ). Please have a look into the contents of different pages and let me know what else can qualify to be included therein. + More macro for Tools parameter - ${source_fullname_less_ext} % Tools & Utilities dialog made modeless. At times it is desirable to execute a tool multiple times and also to gather output logs. + Tools & Utilities dialog now remembers its last opened position. + Implemented: user-configurable 5 toolbars which can be populated through Tool & Utilities interface. Invoke "Tools & Utilities" interface and play with the toolbars. You will find it really rewarding. I am also trying to find a way to hook "Kayboard Mappings" macros to be included under this interface. Your input is welcome. I will write the help in about a week, but interface is straight enough to grab/grasp/use. + Implemented: to switch on/off horizontal ruler. + Implemented: to remember the last settings for next run for Horizontal Ruler, Line Numbers display and Current Line highlighting. 2010-06-12 20:20 UTC+0200 Viktor Szakats * mpkg_nightly.sh ! Deleted leftovers from test session. 2010-06-12 17:23 UTC+0200 Viktor Szakats * mpkg_nightly.sh % Suppressed svn output when doing export. 2010-06-12 17:05 UTC+0200 Viktor Szakats * mpkg_nightly.sh + Delete local archive files after copying/uploading them in place. 2010-06-12 16:36 UTC+0200 Viktor Szakats * mpkg_nightly.sh + Added patch by Tamas Tevesz. Thank you very much. + Will now use simple cp to put nightlies in place if the scripts detects that it's run in sf.net server shell. 2010-06-12 14:49 UTC+0200 Viktor Szakats * mpkg_nightly.sh + Added instructions to setup unattended file upload to sf.net. If SSH key pair is setup and public key uploaded to sf.net user account, nightlies can be created and automatically upload to sf.net, using these commands: --- $ export HB_SFNET_FRS_PRIVATE_KEY=~/.ssh/id_dsa $ export HB_SFNET_USER=myuser $ ./mpkg_nightly.sh --- 2010-06-12 14:11 UTC+0200 Viktor Szakats * src/vm/set.c * Reset default value to "hb_out.log". + mpkg_nightly.sh + Added script to generate nightly sources. ; TODO: Upload nightlies to sf.net. [DONE] ; TODO: Change nightly filenames to match our normal source releases. [DONE] ; FIXME: Current .zip nighly has wrong (*nix) EOLs. This has to be changed to CRLF. [DONE] * INSTALL * Changed nightly script URLs to point to sf.net file area. ! Minor fix to bug tracker address. * contrib/xhb/regexrpl.prg * contrib/hbtip/httpcli.prg * contrib/hbtip/mail.prg ! Fixed to use EMPTY() on HB_REGEX[ALL]() return value instead of NIL check. Required after recent change in HB_REGEX*() return values in no-match case. * contrib/hbcurl/hbcurl.c * contrib/hbcurl/hbcurl.ch + Added support to download-to/upload-from file handle. * contrib/hbqt/qtgui/Makefile * contrib/hbqt/qtcore/Makefile * contrib/hbqt/Makefile * contrib/hbqt/gtqtc/Makefile * contrib/hbqt/qtnetwork/Makefile ! Fixed to not build separate HBQT libs for static linkage for non-win/wce targets. * package/mpkg_win.nsi * package/winuni/mpkg_win_uni.nsi * Changed to use 'Harbour Project' as folder name in registry. (instead of 'Harbour'). Just to be consistent. * package/winuni/mpkg_win_uni.nsi + Add major.minor version number to registry folder names. This allows multiple major versions of Harbour to be installed in parallel. * contrib/xhb/ttable.prg % '&("{||" + c + "}")' -> HB_MACROBLOCK() * contrib/xhb/trpccli.prg * contrib/xhb/hblognet.prg * contrib/xhb/xcstr.prg * contrib/xhb/tedit.prg * contrib/xhb/xdbmodst.prg * contrib/xhb/trpc.prg * contrib/xhb/thtm.prg * contrib/xhb/dumpvar.prg * contrib/xhb/xhbmt.prg * contrib/xhb/xhberr.prg * contrib/xhb/ttable.prg * contrib/xhb/txml.prg * '.NOT.' -> '!' % ValType( x ) == "Y" -> IS*() * Some other basic formatting and cleanup. * src/rtl/hbini.prg * examples/httpsrv/session.prg * Formatting. * tests/db_brows.prg * tests/server.prg * tests/testrdd2.prg * tests/setkeys.prg * contrib/hbtip/tests/tiptest.prg * contrib/hbtip/tests/loadhtml.prg * examples/hbsqlit2/tests/hbsqlite.prg * examples/gtwvw/tests/wvwtest9.prg * examples/gtwvw/tests/ebtest7.prg * '.NOT.' -> '!' 2010-06-11 08:52 UTC+0200 Viktor Szakats * ChangeLog * Correcting some English in prev entries. 2010-06-11 08:51 UTC+0200 Viktor Szakats * external/png/pngconf.h * external/png/LICENSE * external/png/pngwio.c * external/png/pngrutil.c * external/png/pngread.c * external/png/pngmem.c * external/png/pngget.c * external/png/png.c * external/png/png.h * external/png/pngpriv.h * external/png/pngrtran.c * external/png/pngtrans.c - external/jpeg/wrjpgcom.c * external/jpeg/jdatasrc.c * external/jpeg/jversion.h * Updated libpng component to 1.4.2 (from 1.4.1) * Updated jpeg component to 8b (from 8a) ; Thanks to Tamas Tevesz for these patches. * external/jpeg/link.txt * Updated link. 2010-06-11 00:53 UTC+0200 Viktor Szakats * external/zlib/Makefile + Added extra build option for mingw/cygwin compilers to suppress new warning: 'warning: visibility attribute not supported in this configuration; ignored' * external/zlib/crc32.c * external/zlib/deflate.c * external/zlib/deflate.h * external/zlib/gzguts.h * external/zlib/gzlib.c * external/zlib/gzread.c * external/zlib/inffast.c * external/zlib/inffast.h * external/zlib/inftrees.c * external/zlib/inftrees.h * external/zlib/README * external/zlib/trees.c * external/zlib/trees.h * external/zlib/zconf.h * external/zlib/zlib.dif * external/zlib/zlib.h * external/zlib/zutil.c * external/zlib/zutil.h * Updated zlib component to 1.2.5 (from 1.2.4) upstream changelog: https://github.com/madler/zlib/blob/master/ChangeLog * Reapplied all local patches. ; Thanks to Tamas Tevesz for this patch. (Committed without modifications) 2010-06-10 23:01 UTC+0200 Viktor Szakats * contrib/hbqt/hbqt_base.cpp + Added QVERSION() function which returns QT lib version as string. Wrapper to QT function with the same name. + Added QSHAREDBUILD() function which returns whether QT lib used are shared or static. Wrapper to QT function with the same name. - Deleted HBQT_ISSTATICLINK() which was not portable implementation. + contrib/hbqt/tests/qtver.prg + Added test code to display all detecable QT version/lib information. 2010-06-10 22:30 UTC+0200 Viktor Szakats * INSTALL * contrib/hbqt/hbqts.hbp * contrib/hbqt/hbqtguis.hbp * contrib/hbqt/hbqtcores.hbp * contrib/hbqt/hbqtnetworks.hbp * contrib/hbqt/hbqts.hbc % Fixed to avoid building separate, but completely idendical HBQT libs on Linux platform for linking to static QT libs. Please note that on all platforms except Windows and Symbian, it's not necessary to create separate HBQT builds for static and dynamic QT libraries. Instead, on these platforms (Linux, Darwin and possibly OS/2) it's enough to just link the same HBQT libs with either static or dynamic QT libs. For this reason, recently added HBQT_ISSTATICLINK() function will only work on Windows, thus it's not portable. It needs to be redesigned to use QT API to retrieve lib type, or if such API doesn't exist, this function should be deleted from Harbour. 2010-06-10 21:49 UTC+0200 Viktor Szakats * external/zlib/deflate.c * external/zlib/zutil.c * external/zlib/deflate.h * external/zlib/zutil.h * external/zlib/crc32.c * external/zlib/trees.c * external/zlib/uncompr.c * external/zlib/zconf.h * external/zlib/compress.c * external/zlib/adler32.c ! Restored original version ID to help creating more meaningful .dif of local patches. 2010-06-10 21:41 UTC+0200 Viktor Szakats * external/minizip/minizip.dif * Updated. Patch sent by Tamas Tevesz. * external/minizip/ioapi.c * external/minizip/zip.c * external/minizip/unzip.c * external/minizip/ioapi.h * external/minizip/crypt.h * external/minizip/zip.h * external/minizip/unzip.h * external/zlib/inffast.h * external/zlib/inffixed.h * external/zlib/deflate.c * external/zlib/zlib.h * external/zlib/gzclose.c * external/zlib/zutil.c * external/zlib/gzlib.c * external/zlib/deflate.h * external/zlib/gzread.c * external/zlib/zutil.h * external/zlib/crc32.c * external/zlib/inftrees.c * external/zlib/crc32.h * external/zlib/trees.c * external/zlib/inflate.c * external/zlib/uncompr.c * external/zlib/zconf.h * external/zlib/inftrees.h * external/zlib/trees.h * external/zlib/inflate.h * external/zlib/gzguts.h * external/zlib/inffast.c * external/zlib/gzwrite.c * external/zlib/compress.c * external/zlib/adler32.c * external/zlib/infback.c * external/png/pngrio.c * external/png/pngerror.c * external/png/pngconf.h * external/png/pngwrite.c * external/png/pngset.c * external/png/pngpread.c * external/png/pngwtran.c * external/png/pngwio.c * external/png/pngrutil.c * external/png/pngwutil.c * external/png/pngread.c * external/png/pngmem.c * external/png/pngget.c * external/png/png.c * external/png/png.h * external/png/pngpriv.h * external/png/pngrtran.c * external/png/pngtrans.c * external/jpeg/jdatadst.c * external/jpeg/jmemansi.c * external/jpeg/jchuff.c * external/jpeg/jdtrans.c * external/jpeg/wrtarga.c * external/jpeg/jmemmac.c * external/jpeg/transupp.c * external/jpeg/jcparam.c * external/jpeg/transupp.h * external/jpeg/jquant1.c * external/jpeg/jaricom.c * external/jpeg/rdswitch.c * external/jpeg/wrjpgcom.c * external/jpeg/jccolor.c * external/jpeg/jmemmgr.c * external/jpeg/jcmarker.c * external/jpeg/jcsample.c * external/jpeg/jdsample.c * external/jpeg/jdmarker.c * external/jpeg/jfdctflt.c * external/jpeg/jmorecfg.h * external/jpeg/rdcolmap.c * external/jpeg/jinclude.h * external/jpeg/jidctflt.c * external/jpeg/jctrans.c * external/jpeg/jpegint.h * external/jpeg/rdrle.c * external/jpeg/jutils.c * external/jpeg/jcprepct.c * external/jpeg/jdinput.c * external/jpeg/jpeglib.h * external/jpeg/rdppm.c * external/jpeg/rdtarga.c * external/jpeg/jdarith.c * external/jpeg/jcmainct.c * external/jpeg/jdmainct.c * external/jpeg/jcapimin.c * external/jpeg/jdpostct.c * external/jpeg/wrrle.c * external/jpeg/rdgif.c * external/jpeg/jdapimin.c * external/jpeg/jmemsys.h * external/jpeg/jcdctmgr.c * external/jpeg/jddctmgr.c * external/jpeg/cdjpeg.h * external/jpeg/jerror.c * external/jpeg/rdbmp.c * external/jpeg/wrppm.c * external/jpeg/jdhuff.c * external/jpeg/jfdctfst.c * external/jpeg/jcmaster.c * external/jpeg/jerror.h * external/jpeg/jdmaster.c * external/jpeg/jidctfst.c * external/jpeg/jmemnobs.c * external/jpeg/wrgif.c * external/jpeg/jcinit.c * external/jpeg/jcarith.c * external/jpeg/jquant2.c * external/jpeg/wrbmp.c * external/jpeg/jdct.h * external/jpeg/jmemname.c * external/jpeg/jdatasrc.c * external/jpeg/jmemdos.c * external/jpeg/jcapistd.c * external/jpeg/jdapistd.c * external/jpeg/jversion.h * external/jpeg/jfdctint.c * external/jpeg/cderror.h * external/jpeg/jidctint.c * external/jpeg/jdmerge.c * external/jpeg/jccoefct.c * external/jpeg/jdcoefct.c * external/jpeg/jcomapi.c * external/jpeg/jconfig.h * external/jpeg/jdcolor.c * external/bzip2/blocksor.c * external/bzip2/decompre.c * external/bzip2/crctable.c * external/bzip2/bzlib.c * external/bzip2/huffman.c * external/bzip2/bzlib.h * external/bzip2/randtabl.c * external/bzip2/bzlib_pr.h * external/bzip2/compress.c * external/libhpdf/hpdfpags.h * external/libhpdf/hpdffdfb.c * external/libhpdf/hpdfxref.c * external/libhpdf/hpdfextg.c * external/libhpdf/hpdfcons.h * external/libhpdf/hpdfencc.c * external/libhpdf/hpdffdfj.c * external/libhpdf/hpdfextg.h * external/libhpdf/hpdffdfn.c * external/libhpdf/hpdfstre.c * external/libhpdf/hpdfenck.c * external/libhpdf/hpdffdf1.c * external/libhpdf/hpdfstri.c * external/libhpdf/hpdfstre.h * external/libhpdf/hpdffdft.c * external/libhpdf/hpdfoutl.c * external/libhpdf/hpdfenco.c * external/libhpdf/hpdfecyd.c * external/libhpdf/hpdfimap.c * external/libhpdf/hpdfoutl.h * external/libhpdf/hpdfenco.h * external/libhpdf/hpdffond.h * external/libhpdf/hpdfency.h * external/libhpdf/hpdffon1.c * external/libhpdf/hpdffont.c * external/libhpdf/hpdfcata.c * external/libhpdf/hpdffont.h * external/libhpdf/hpdfcata.h * external/libhpdf/hpdfutil.c * external/libhpdf/hpdfutil.h * external/libhpdf/hpdfreal.c * external/libhpdf/hpdfdict.c * external/libhpdf/hpdfdocp.c * external/libhpdf/hpdfarra.c * external/libhpdf/hpdfconf.h * external/libhpdf/hpdfanno.c * external/libhpdf/hpdfinfo.c * external/libhpdf/hpdfgsta.c * external/libhpdf/hpdfdest.c * external/libhpdf/hpdfanno.h * external/libhpdf/hpdfinfo.h * external/libhpdf/hpdfnumb.c * external/libhpdf/hpdffdfc.c * external/libhpdf/hpdfgsta.h * external/libhpdf/hpdfdest.h * external/libhpdf/hpdfdoc.c * external/libhpdf/hpdferro.c * external/libhpdf/hpdffdfi.c * external/libhpdf/hpdfbina.c * external/libhpdf/hpdffdfk.c * external/libhpdf/hpdfdoc.h * external/libhpdf/hpdflist.c * external/libhpdf/hpdferro.h * external/libhpdf/hpdfimag.c * external/libhpdf/hpdfencj.c * external/libhpdf/hpdfecy.c * external/libhpdf/hpdflist.h * external/libhpdf/hpdfimag.h * external/libhpdf/hpdfencn.c * external/libhpdf/hpdffonc.c * external/libhpdf/hpdfu3d.c * external/libhpdf/hpdfencr.h * external/libhpdf/hpdffdf.c * external/libhpdf/hpdfu3d.h * external/libhpdf/hpdfmmgr.c * external/libhpdf/hpdfcfg.h * external/libhpdf/hpdfmmgr.h * external/libhpdf/hpdfnull.c * external/libhpdf/hpdffott.c * external/libhpdf/hpdfpage.c * external/libhpdf/hpdfobje.c * external/libhpdf/hpdfname.c * external/libhpdf/hpdfpage.h * external/libhpdf/hpdf.h * external/libhpdf/hpdfobje.h * external/libhpdf/hpdfvers.h * external/libhpdf/hpdfpago.c * external/libhpdf/hpdftype.h * external/libhpdf/hpdfpags.c * external/libhpdf/hpdfbool.c * external/pcre/pcre.h * external/pcre/pcrevutf.c * external/pcre/pcreexec.c * external/pcre/pcretryf.c * external/pcre/pcreconf.c * external/pcre/pcreinal.h * external/pcre/pcretabs.c * external/pcre/pcredfa.c * external/pcre/pcreinfo.c * external/pcre/pcrever.c * external/pcre/pcremktb.c * external/pcre/pcrecomp.c * external/pcre/config.h * external/pcre/pcrenewl.c * external/pcre/pcrexcls.c * external/pcre/pcreucd.c * external/pcre/chartabs.c * external/pcre/pcreoutf.c * external/pcre/pcreprni.h * external/pcre/pcreget.c * external/pcre/pcrerefc.c * external/pcre/pcrestud.c * external/pcre/pcrefinf.c * external/pcre/ucp.h * external/pcre/pcreglob.c - Deleted svn:keywords SVN prop. ; NOTE: As a rule svn:keywords should never be used on foreign sources stored inside Harbour repository. 2010-06-10 19:29 UTC+0200 Viktor Szakats * INSTALL * include/hbsocket.ch * Minor corrections. 2010-06-10 18:44 UTC+0200 Viktor Szakats * include/hbcom.ch * Changed functions names to use proper camelcasing so that they also hold true for C level API. * include/hbsocket.ch + Readded .prg level function names to address array constant comment. + Added 'this is also used in C file' comment. * contrib/hbsms/hbsms.prg ! Fixed COM port reading function after last update. I finally restored original defaulting logic (instead of FETCHCHARS() method) which by default waits for 64 bytes and 5 seconds. Pls check me. 2010-06-10 19:12 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/examples/httpsrv/uhttpd.prg * harbour/examples/uhttpd2/umain.prg * optimized hb_socketRecv() calls * optimized (removed) hb_socketSelect() calls, current API has timeout parameter and make things simple * harbour/examples/commouse/commouse.prg ! fixed error reporting (missing hb_comGetError()) parameter * harbour/include/hbsocket.ch * adjusted comment text * harbour/contrib/hbtpathy/telepath.prg ! fixed missing nTimeout parameter in tp_send() * harbour/source/rtl/hbcomhb.c ! fixed typo in hb_comSend() ! fixed hb_storni() paramter order bugs 2010-06-10 18:00 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbclass.ch ! added missing TIMESTAMP class to ASSOCIATE CLASS command, thanks to Alex Strickland for the information 2010-06-10 14:24 UTC+0200 Viktor Szakats * contrib/hbqt/plug_moc.prg * utils/hbmk2/hbmk2.prg + Implemented separate filename notation setting for scripts and command-lines (just like with filename escaping). This should aid the win/bcc on linux cross-build scenario. (not testing done though) 2010-06-10 11:55 UTC+0200 Viktor Szakats * ChangeLog * Minor correction. ; Testing harbour-commits list. 2010-06-10 11:25 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rdd/dbf1.c * minor formatting * harbour/doc/xhb-diff.txt + added section about pre/post incrementation/decrementation and <op>= operators. I think that you may find it interesting. I do not remember if I documented it in the past and it's important feature which allows Harbour programmers safely use pre/post ++/-- and <op>= operations for complex expressions with side effects. 2010-06-10 10:01 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added msvc version autodetection (works similarly to the .mk solution) 2010-06-10 09:46 UTC+0200 Viktor Szakats * config/win/bcc.mk ! Left bug cleaned from prev commit. 2010-06-10 09:40 UTC+0200 Viktor Szakats * config/global.mk ! Reverted one optimization from yesterday's late night programming jam session. * contrib/hbqt/hbqt_base.cpp * Renamed HBQT_ISQTSTATICLINKED() to HBQT_ISSTATICLINK(). (enough to have one 'QT' in the name) * config/win/bcc.mk + More changes targeting bcc support under WINE scenario. ; Here it now works "out of the box" * INSTALL + Added example for win/bcc build under WINE. (kudos go to Tamas Tevesz for the setup example) + Added win/bcc to supported cross(ish)-builds. * examples/httpsrv/uhttpd.prg ! Fixed bogus newlines in RTE ALERT() windows. 2010-06-09 22:25 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) + contrib/hbqt/qth/QHideEvent.qth + contrib/hbqt/qth/QShowEvent.qth + contrib/hbqt/qth/QWindowStateChangeEvent.qth + Added new classes. + contrib/hbqt/qtgui/QHideEvent.cpp + contrib/hbqt/qtgui/QShowEvent.cpp + contrib/hbqt/qtgui/QWindowStateChangeEvent.cpp + contrib/hbqt/qtgui/TQHideEvent.prg + contrib/hbqt/qtgui/TQShowEvent.prg + contrib/hbqt/qtgui/TQWindowStateChangeEvent.prg + Auto generated. * contrib/hbqt/qtgui/filelist.mk + Classes auto added. * contrib/hbide/resources/fullscreen.png + Added image for trayicon context menu. * contrib/hbqt/generator/qt45.qtp + Added new classes. * contrib/hbqt/hbqt.ch + Added QSystemTrayIcon_* constants. * contrib/hbqt/hbqt.h + Constants for new classes. * contrib/hbqt/hbqt_base.cpp + HBQT_ISQTSTATICLINKED() function provided by CarozoDeQuilmes. * contrib/hbqt/hbqt_garbage.h * Auto generated. * contrib/hbqt/hbqt_hbslots.cpp * contrib/hbqt/hbqt_hbslots.h + Signal/Slots for QSystemTrayIcon():activated(...). * contrib/hbide/hbide.prg * contrib/hbide/ideactions.prg * contrib/hbide/idedocks.prg * contrib/hbide/ideobject.prg + Implemented: minimize action on hbIDE window landing in system tray instead of statusbar. For now this is the default but provision is in place to base it on user request. Once minimized in system tray, left-click will restore the window and icon in tray will disappear. Right-click on tray icon will bring forward a menu with "Show" and "Exit" options. Exit is equivalant to toolbar's exit icon. This feature will be available only on those OSes which support system tray area. Please test on all aupported systems. I am also interested to know which other actions can make-up in the icon's context menu. 2010-06-10 02:36 UTC+0200 Viktor Szakats * config/wce/poccarm.mk * config/win/xcc.mk * config/win/pocc.mk * config/win/bcc.mk * config/win/icc.mk * Cleanups/formatting. Also Embarcadero patch by Tamas Tevesz. 2010-06-10 02:33 UTC+0200 Viktor Szakats * config/global.mk % Minor optimization, in bcc location detection. I hope. + Changed autodetection to look for fixed .exe extension for tools which have no native *nix versions, so their name always ends with .exe regardless of host platform. This should make these tools usable under WINE. * config/win/bcc.mk + Attempt to better support bcc on linux build scenario, by using backslash escaping in this case. * utils/hbmk2/hbmk2.prg * Cleaned up to use hard-coded .exe extensions in autodetection code for tools which have no other version. (syncing with above GNU Make change). This has no effect yet. * config/global.mk * utils/hbmk2/hbmk2.prg ! xcc.exe -> xCC.exe 2010-06-10 02:02 UTC+0200 Viktor Szakats * config/global.mk ! Attempt to fix rare case when Windows cross-build on Linux platform wrongly changed HB_BUILD_SHARED mode on. IOW now automatic HB_BUILD_SHARED defaulting logic (based on install location) only kicks in if the target platform is *nix. Tamas could you please retest it? 2010-06-10 01:02 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/hbcom.c * use one static function to set timeouts for read/write operations in Windows builds 2010-06-10 00:27 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rdd/dbf1.c + allow to open DBF files with 0x07 and 0x87 signature created by CA-VO DBFNTX when ANSI encoding is enabled. Thanks to Vitomir Cvitanovic for CA-VO tests. Warning! After any modifications in such files Harbour DBF* RDDs will correct above signatures to standard DBASE ones (0x03 and 0x83). 2010-06-10 00:03 UTC+0200 Viktor Szakats * examples/uhttpd2/umain.prg * examples/uhttpd2/uhttpd2.hbp - examples/uhttpd2/socket.c + Changed to use core SOCKET API. * examples/uhttpd2/run.prg + Displays port it listens on. * examples/httpsrv/uhttpd.prg + Using hbsocket.ch constant instead of local one. 2010-06-09 23:38 UTC+0200 Viktor Szakats * include/hbsocket.ch + Added address info array positions. * src/rtl/hbsockhb.c - Deleted spaces @ EOL. * contrib/hbtpathy/telepath.prg * contrib/hbcomm/tests/test.prg * contrib/hbcomm/hbcomm.prg * contrib/hbsms/hbsms.prg ! Fixed HB_COMRECV() which requires a preallocated string to be passed. (no testing done, please review me, I'm almost sure I've made mistakes here) * examples/httpsrv/uhttpd.hbp * examples/httpsrv/uhttpd.prg - examples/httpsrv/socket.c + Changed to use new native SOCKET API. 2010-06-09 22:38 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Tuned watcom filename escaping behavior: It will now use *nix notation on *nix builds. It will now use double quoting on Windows builds. It will now use single quoting in script files on all builds. No quoting on other platforms. [ watcom is special because each platform native compiler can create builds for other platforms, so we must use platform native fn quoting. ] This should in theory (hopefully) fix the remaining combinations for watcom, though I didn't test any of these. [ The only exception is using watcom Windows .exe via WINE on *nix systems. But that seems a little bit exotic of an option ;) Oh for testing pass some source filenames with spaces in them. ; TOCHECK: Whether watcom script files (@<fn>) use the same single quoting ('filename') on all platforms. For some reason so far it was only used for win targets, so I may have broken it, if it was done for good reason. 2010-06-09 21:46 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fixed to use *nix-style filename escaping when calling Windows cross tools only available via WINE (bcc, msvc*, pocc). ! Better *nix-style char escaping in filenames. 2010-06-09 20:52 UTC+0200 Viktor Szakats * ChangeLog ! Typos in last commit log. * contrib/hbqt/plug_moc.prg * utils/hbmk2/hbmk2.prg ! Fixed to use proper filename notation also in plugins. * package/mpkg_win.nsi * package/winuni/mpkg_win_uni.nsi * Minor cleanups. 2010-06-09 19:56 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Quite big commit aiming to clean path forming in different situations. After this is change it should be more or less true that internally hbmk2 always uses native path format, it should accept _any_ format regardless of platform, and it should convert filenames to proper format only when calling external compiler tools, according to their specific taste. E.g. this should fix problems when doing Windows cross-build on *nix systems, with watcom, or other compilers (except mingw) which has native compiler. It should continue to work with WINE based compilers in similar situations. Though I never actually tried this latter case. There is one specific exception when passing around filenames as part of options. In this case hbmk2 cannot do too much magic, so try to avoid it. Please test it, regressions are possible. I'd be happy to see stress tests with passing various combination of pathseps and watching -trace output whether everything is properly converted to right format. + Will now convert filenames to Cygwin format for Cygwin targets. ! Fixed to accept .hbi files without '@' prefix. * config/postinst.prg % Do not add '@' prefix when referring to .hbi files. * src/vm/extend.c ! Fixed TRACE message of new hb_parnintdef() function. * src/rtl/hbcomhb.c * Minor correction to one function description in comment. * src/rtl/hbsocket.c * Minor formatting. * include/hbcom.ch + Added comments. * Formatting. + Added comment that code is used by .c code. * contrib/hbtpathy/telepath.prg * Rewritten to use native HB_COM*() API (instead of hbct specific COM_() one). + tp_send() code rewritten to use core timeout functionality. + Implemented formerly disabled tp_ctrldtr() function. (pls review it) % FetchChars() internal function simplified. * contrib/hbcomm/hbcomm.prg * Rewritten to use native HB_COM*() API (instead of hbct specific COM_() one). * contrib/hbsms/hbsms.prg * Rewritten to use native HB_COM*() API (instead of hbct specific COM_() one). * Receive code rewritten to rely on core timeout functionality instead of rolling local implementation. ; I didn't make any tests with API converted COM code, so please review and test these changes. * contrib/hbtpathy/hbtpathy.hbc * contrib/hbcomm/hbcomm.hbc * contrib/hbsms/hbsms.hbc - Deleted hbct dependency. * INSTALL * package/winuni/RELNOTES * QT 4.6.2 -> 4.6.3 2010-06-09 18:42 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/examples/commouse/commouse.prg * added $id$ 2010-06-09 18:37 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) + harbour/src/rtl/hbcomhb.c * harnour/src/rtl/Makefile * harbour/include/hbextern.ch + added wrapper functions for Serial communication port API The list of exported functions is: HB_COMCLOSE( nPort ) --> lSuccess HB_COMDISCARDCHAR( nPort, nChar | cChar ) --> lSuccess HB_COMERRORCHAR( nPort, nChar | cChar ) --> lSuccess HB_COMFLOWCHARS( nPort, nXONchar | cXONchar, nXOFFchar | cXOFFchar ) --> lSuccess HB_COMFLOWCONTROL( nPort, @iValue, nFlow ) --> lSuccess HB_COMFLOWSET( nPort, nFlow ) --> lSuccess HB_COMFLUSH( nPort, [ nType = HB_COM_IOFLUSH ] ) --> lSuccess HB_COMGETDEVICE( nPort ) --> cDeviceName HB_COMGETERROR( nPort ) --> nError HB_COMGETOSERROR( nPort ) --> nError HB_COMINIT( nPort, nBaud, cParity, nSize, nStop ) --> lSuccess HB_COMINPUTCOUNT( nPort ) --> nCount HB_COMINPUTSTATE( nPort ) --> nState HB_COMLASTNUM() --> nLastPortNumber HB_COMLSR( nPort, @nValue ) --> lSuccess HB_COMMCR( nPort, @nValue, nClear, nSet ) --> lSuccess HB_COMMSR( nPort, @nValue ) --> lSuccess HB_COMOPEN( nPort ) --> lSuccess HB_COMOUTPUTCOUNT( nPort ) --> nCount HB_COMOUTPUTSTATE( nPort ) --> nState HB_COMSENDBREAK( nPort, [ nDuration = 50 ] ) --> lSuccess HB_COMSETDEVICE( nPort, cDeviceName ) --> lSuccess HB_COMRECV( nPort, @cBuffer, [ nLen = LEN( cBuffer ) ], [ nTimeout = 0 ] ) --> nBytesRecv HB_COMSEND( nPort, cBuffer, [ nLen = LEN( cBuffer ) ], [ nTimeout = 0 ] ) --> nBytesSent + harbour/include/hbcom.ch * harbour/include/hbapicom.h * moved HB_COM_* constants to .ch file + harbour/examples/commouse + harbour/examples/commouse/commouse.prg + sample application to decode and display COM port mouse data. Two types of mouse protocol is supported. You just need to find COM port mouse! :) * harbour/src/rtl/hbcom.c ! fixed timeouts on Windows platform (thanks Przemek!) 2010-06-09 15:37 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/src/rtl/hbsockhb.c * changed return values of some functions: nSuccess to lSuccess * HB_SOCKET_PF_* changed to HB_SOCKET_AF_* - hb_parnintdef() (moved to extend.c) ! some bug fixes ! some typo in documentation * harbour/examples/udpds/udpds.prg * sychronized with hb_socket*() changes * changed server thread exit condition (proposed by Przemek) * harbour/include/hbapi.h * harbour/src/vm/extend.c + hb_parnintdef() 2010-06-09 12:55 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/hbsocket.c * harbour/include/hbsocket.ch ! cleaned a little bit HB_SOCKET_AF_*/HB_SOCKET_PF_* usage to not confuse other developers and users. 2010-06-08 23:19 UTC+0200 Viktor Szakats * include/hbsetup.h * Renamed HB_OS_IPHONE -> HB_OS_IOS (naming will become ambiguous once Harbour will support Cisco IOS, which may not happen tomorrow, well Apple iOS is also a pending question) 2010-06-08 22:26 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Modified regex expression to be POSIX compliant. Thanks to Tamas Tevesz for this modification. Now hbmk2 should be compatible with supported regex engines, though it continues to fail (gracefully) if Harbour core is built using 'HB_WITH_PCRE=no' option. 2010-06-08 21:21 UTC+0200 Viktor Szakats * include/hbextern.ch + Added new HB_SOCKET*() functions. * config/postinst.prg ! Fixed to exclude whole extra shared binary creation for all platforms except win/wce/os2. + examples/udpds/udpds.hbp + Added hbmk2 make file. 2010-06-08 21:54 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) + harbour/src/rtl/hbsockhb.c + added wrapper functions for Harbour socket API The list of exported functions is: HB_SOCKETGETERROR() --> nSocketError HB_SOCKETGETOSERROR() --> nOSError HB_SOCKETERRORSTRING( [ nSocketErrror = hb_socketGetError() ] ) --> cError HB_SOCKETGETSOCKNAME( hSocket ) --> aAddr | NIL HB_SOCKETGETPEERNAME( hSocket ) --> aAddr | NIL HB_SOCKETOPEN( [ nDomain = HB_SOCKET_PF_INET ] , [ nType = HB_SOCKET_PT_STREAM ], [ nProtocol = 0 ] ) --> hSocket HB_SOCKETCLOSE( hSocket ) --> nSuccess HB_SOCKETSHUTDOWN( hSocket, [ nMode = HB_SOCKET_SHUT_RDWR ] ) --> nSuccess HB_SOCKETBIND( hSocket, aAddr ) --> nSuccess HB_SOCKETLISTEN( hSocket, [ iQueueLen = 10 ] ) --> nSuccess HB_SOCKETACCEPT( hSocket, [ @aAddr ], [ nTimeout = FOREVER ] ) --> nSuccess HB_SOCKETCONNECT( hSocket, aAddr, [ nTimeout = FOREVER ] ) --> nSuccess HB_SOCKETSEND( hSocket, cBuffer, [ nLen = LEN( cBuffer ) ], [ nFlags = 0 ], [ nTimeout = FOREVER ] ) --> nBytesSent HB_SOCKETSENDTO( hSocket, cBuffer, [ nLen = LEN( cBuffer ) ], [ nFlags = 0 ], aAddr, [ nTimeout = FOREVER ] ) --> nBytesSent HB_SOCKETRECV( hSocket, @cBuffer, [ nLen = LEN( cBuffer ) ], [ nFlags = 0 ], [ nTimeout = FOREVER ] ) --> nBytesRecv HB_SOCKETRECVFROM( hSocket, @cBuffer, [ nLen = LEN( cBuffer ) ], [ nFlags = 0 ], @aAddr, [ nTimeout = FOREVER ] ) --> nBytesRecv HB_SOCKETSETBLOCKINGIO( hSocket, lValue ) --> nSuccess HB_SOCKETSETNODELAY( hSocket, lValue ) --> nSuccess HB_SOCKETSETREUSEADDR( hSocket, lValue ) --> nSuccess HB_SOCKETSETKEEPALIVE( hSocket, lValue ) --> nSuccess HB_SOCKETSETBROADCAST( hSocket, lValue ) --> nSuccess HB_SOCKETSETSNDBUFSIZE( hSocket, nValue ) --> nSuccess HB_SOCKETSETRCVBUFSIZE( hSocket, nValue ) --> nSuccess HB_SOCKETGETSNDBUFSIZE( hSocket, @nValue ) --> nSuccess HB_SOCKETGETRCVBUFSIZE( hSocket, @nValue ) --> nSuccess HB_SOCKETSETMULTICAST( hSocket, cAddr ) --> nSuccess HB_SOCKETSELECTREAD( hSocket, [ nTimeout = FOREVER ] ) --> nRet HB_SOCKETSELECTWRITE( hSocket, [ nTimeout = FOREVER ] ) --> nRet HB_SOCKETSELECTWRITEEX( hSocket, [ nTimeout = FOREVER ] ) --> nRet HB_SOCKETSELECT( aRead, lSetRead, aWrite, lSetWrite, aExcep, lSetExcep, [ nTimeout = FOREVER ] ) --> nRet HB_SOCKETRESOLVEINETADDR( cAddr, nPort ) --> aAddr | NIL HB_SOCKETRESOLVEADDR( cAddr, [ nFamily = HB_SOCKET_AF_INET ] ) --> cResolved HB_SOCKETGETHOSTS( cAddr, [ nFamily = HB_SOCKET_AF_INET ] ) --> aHosts HB_SOCKETGETIFACES( [ nFamily ], [ lNoAliases ] ) --> aIfaces + harbour/examples/udpds + harbour/examples/udpds/udpds.prg + added UDP Discovery Server sample This module demonstrates a simple UDP Discovery Server If you run some service on the network (ex., netio), you need to know server IP address and configure client to connect to this address. UDPDS helps client to find server address (or addresses of multiple servers) on local network. UDPDS should be run in parallel to real server (ex., netio). Server part of UDPDS uses threads, so, it should be compiled in MT mode. Server functions: UDPDS_Start( nPort, cName [, cVersion ] ) --> hServer UDPDS_Stop( hServer ) Client function: UDPDS_Find( nPort, cName ) --> { {"ip_addr_1", "version_1"}, ... } ; Please add .hbc, .hbp files, if it is required. This module requires only a standard harbour runtime library and MT VM. 2010-06-08 20:28 UTC+0200 Viktor Szakats * src/rtl/hbregexc.c + Restored RTE which is thrown when unsupported regex string is found in any .prg level regex API calls except HB_REGEXCOMP(). The only difference compared to previous solution is different error code (3015) to differenciate this case from wrong parameter _type_ error cases. ; FIXME: IMO even current solution is not ideal, because it just forces developers to use HB_ISREGEX() to pre-evaluate regex strings before actually using them (causing performance hit), or it forces them to use HB_REGEXCOMP() to pre-compile and pre-evaluate the expressions before passing them to actual regex functions, in the valid case they want to avoid unexpected RTEs due to missing or unsupported regex (PCRE) subsystem. IOW it makes plain HB_ATX( <cRegExp>, ... ) style calls prone to fail with RTE in certain, very hard to predict situations in officially supported Harbour builds. Comments are appreciated. [ABANDONED] * utils/hbmk2/hbmk2.prg * Deleted unused code. * Formatting. 2010-06-08 19:58 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/hbsocket.c ! added missing code to duplicate IP6 address passed explicitly to hb_socketResolveAddr() - thanks to Mindaugas for reporting the problem 2010-06-08 09:21 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) + contrib/hbide/resources/idepreferences.png + Icon for "hbIDE Setup" option. * contrib/hbide/resources/setup.ui * contrib/hbide/resources/setup.uic ! Some more advancement. * contrib/hbide/hbide.prg * contrib/hbide/ideactions.prg * contrib/hbide/ideharbourhelp.prg ! Fixed a bug where multiple enteries were retained after "Refresh" in Documentation Viewer's <Index> tab. * contrib/hbide/idesaveload.prg ! Advances in hbIDE Setup front. 2010-06-08 14:08 UTC+0200 Xavi (jarabal/at/gmail.com) * contrib/gtwvg/gtwvg.h * contrib/gtwvg/wvggui.h * contrib/hbwin/win_shell.c ! Fixed MinGW-w64 cross compiler detection with the recommended "official" method. MinGW-w64 can also compile for x86, in this case are the same built-in macros. 2010-06-08 13:17 UTC+0200 Viktor Szakats * src/rtl/hbregexc.c * Changed to not throw RTE, just gracefully return error value when invalid PCRE expression is used. It will continue to throw RTE only for user-controllable error situations, e.g. when wrong argument type is passed. ! Fixed to not contain English text hard-coded in RTE message. * src/rtl/hbregex.c * HB_ATX() changed to fill parameters passed by reference with error values (zeros) in case of error. * HB_REGEX(), HB_REGEXSPLIT(), HB_REGEXATX(), HB_REGEXALL() functions changed to consistently return arrays. If there is no match, the array will be empty. This gives a more natural (and Clipper/Harbour-like) interface (e.g. return value can be passed to FOR EACH loop without extra checks and extra local variable). Slight INCOMPATIBILITY for those who did 'r == NIL' check to verify non-match and something special in this case. For code simply evaluating the returned matches, the NIL check can be deleted, and for code which wants to be backward/forward compatible _and_ to specifically check for no match situation it's suggested to use 'EMPTY( r )'. Please check me. * HB_REGEXMATCH() marked as HB_LEGACY_LEVEL4. (this leaves quite some headstart to change it) * include/hbextern.ch - Deleted HB_REGEXMATCH(). * utils/hbmk2/hbmk2.prg % Simplified regex usage after above changes. + Will now show an internal error in case the used regex is invalid in current Harbour context (e.g. when no PCRE engine was forced by user, or the one used doesn't support the expression used by hbmk2). I don't know how special current expression is (it doesn't seem very much so), but it can be streamlined to something more compatible if current is deemed not ideal. * src/compiler/hbusage.c * Changed to enclose emails between '()' instead of '<>'. * include/hbsetup.h ! Patch by Tamas Tevesz for SunPro compiler. * ChangeLog - Deleted my personal exception from ChangeLog license. 2010-06-08 02:53 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/vm/garbage.c ! added missing HB_STACK_TLS_PRELOAD 2010-06-07 07:47 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) + contrib/hbide/resources/setup.ui + contrib/hbide/resources/setup.uic + New dialog to hold setup and ini information - in the making. * contrib/hbide/hbide.prg ! "Output Console" made hidded even if at previous run it was visible. * contrib/hbide/ideactions.prg + New menu option <Setup><hbIDE Setup> to invoke Setup dialog. * contrib/hbide/ideobject.prg * contrib/hbide/ideprojmanager.prg ! Fixed error reported by few which appears randomely and I could not reproduce. * contrib/hbide/idesaveload.prg + Added class IdeSetup() - in the making. 2010-06-07 13:22 UTC+0200 Viktor Szakats * src/rtl/gtgui/gtgui.c * src/rtl/gtwin/gtwin.c * src/rtl/gtwvt/gtwvt.c * contrib/gtwvg/gtwvg.c * contrib/gtwvg/wvggui.c * examples/gtwvw/gtwvw.c + Will now put to clipboard and request from clipboard UNICODE text in UNICODE (default) mode. This should fix CP conversion problems experienced in non-UNICODE mode (more in a separate bug report). Please review me. 2010-06-07 11:56 UTC+0200 Viktor Szakats * contrib/hbtpathy/Makefile * contrib/hbtpathy/hbtpathy.hbp * contrib/hbtpathy/hbtpathy.hbc * contrib/hbtpathy/telepath.ch - contrib/hbtpathy/tpcommon.c - contrib/hbtpathy/tpwin.c - contrib/hbtpathy/tpos2.c - contrib/hbtpathy/tpunix.c - contrib/hbtpathy/tpdos.c * contrib/hbtpathy/telepath.prg * Changed to use hbct lib COM functions. * Changed some misc functions to .prg from .c. - Deleted all .c files. ; NO GUARANTEES. PLEASE TEST AND REVIEW IT. All my testing was to make sure the lib and test app builds properly. * contrib/hbtpathy/tests/testtp.prg * Formatting. 2010-06-06 22:29 UTC+0200 Viktor Szakats * external/minizip/ioapi.h ! Fixed for watcom compilers (turned off 64-bit file IO) 2010-06-06 22:06 UTC+0200 Viktor Szakats * package/mpkg_win.nsi * package/winuni/mpkg_win_uni.nsi + Installation will now create 'Harbour' registry key under 'Software', and in it write 'InstallDir' value with the location of Harbour dir structure. With this, additional tools (addons) can easily locate Harbour on a system and install themselves indide the dir structure or make necessary configuration settings which need this information. E.g. HBIDE installer (which can go even to '%ProgramFiles%/Harbour IDE' or '%ProgramFiles%/HBIDE' can locate Harbour and configure its .ini to point to proper hbmk2 location. 2010-06-06 10:55 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/idetools.prg ! Changed: macro notation for "Tools and Utilities" to confirm to hbMK2 standards. {source_fullname} => ${source_fullname} {source_name} => ${source_name} {source_path} => ${source_path} => ${source_ext} [Added] {%MY_ENV_VAR%} => ${MY_ENV_VAR} If marco keywords are not recognized, they are assumed to be environment variables and return value of hb_GetEnv( cMacro ) is substituted. 2010-06-06 19:16 UTC+0200 Viktor Szakats * src/rtl/gtdos/gtdos.c ! Fixed C++ compilation (caused by BYTE -> HB_BYTE change) 2010-06-06 02:43 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) + contrib/hbide/resources/go-bottom.png + contrib/hbide/resources/go-down.png + contrib/hbide/resources/go-first.png + contrib/hbide/resources/go-jump.png + contrib/hbide/resources/go-last.png + contrib/hbide/resources/go-next.png + contrib/hbide/resources/go-prev.png + contrib/hbide/resources/go-top.png + contrib/hbide/resources/go-up.png + contrib/hbide/resources/hilight-all.png + contrib/hbide/resources/updown.ui + contrib/hbide/resources/updown.uic * contrib/hbqt/hbqt_hbqplaintextedit.cpp ! An important fix. * contrib/hbide/ideedit.prg * contrib/hbide/idefindreplace.prg * contrib/hbide/idetools.prg + Extended: in addition to next/previous buttons to naviagte occurances of selected text, three more buttons are added: "first", "last", occurance and "highlight all" occurances. + Implemented: macros parsing in "Parameters" list of "Tools and Utilities" protocol. Currently following macros are parsed: {source_fullname} => full sourcename of current edit instance {source_name} => mere name of current edit instance {source_path} => only path of source in current edit instance {%MY_ENV_VAR%} => result of hb_GetEnv( "MY_ENV_VAR" ) C:\temp\mycopy.bat {source_fullname} {source_path}\mysource.bkp => C:\temp\mycopy.bat C:\harbour\contrib\hbide\hbide.prg C:\harbour\contrib\hbide\mysource.bkp ( assuming that current editor is containe hbide.prg ) 2010-06-06 00:50 UTC+0200 Viktor Szakats * INSTALL * external/sqlite3/Makefile * utils/hbmk2/hbmk2.prg * config/global.mk * config/wce/msvcarm.mk * config/win/msvc.mk * Changed HB_COMPILER_VER values for msvc targets. Previously it was the Visual Studio version, now it is the C compiler version, the same value used in _MSC_VER predefined macro: Name old NEW -------------------------------------- ---- ---- C Compiler version 6.0 0600 C/C++ compiler version 7.0 0700 Visual C++, Windows, version 1.0 100 0800 Visual C++, 32-bit, version 1.0 100 0800 Visual C++, Windows, version 2.0 200 0900 Visual C++, 32-bit, version 2.x 200 0900 Visual C++, 32-bit, version 4.0 400 1000 Visual C++, 32-bit, version 5.0 500 1100 Visual C++, 32-bit, version 6.0 600 1200 Visual Studio .NET (2002), version 7.0 700 1300 Visual Studio .NET 2003, version 7.1 710 1310 Visual Studio 2005, version 8.0 800 1400 Visual Studio 2008, version 9.0 900 1500 Visual Studio 2010, version 10.0 1000 1600 INCOMPATIBLE for users setting HB_COMPILER_VER manually, pls change the value as indicated above. For most users it's recommended to rely on autodetection and not to set this variable at all. * config/postinst.prg ! Fixed to use hb_osFileMask() instead of hard-coded '*' mask. 2010-06-05 11:01 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/hbqt_hbqplaintextedit.cpp * contrib/hbide/hbide.prg * contrib/hbide/idedocks.prg * contrib/hbide/ideedit.prg * contrib/hbide/ideeditor.prg * contrib/hbide/idefindreplace.prg * contrib/hbide/ideobject.prg + Implemented: interface to find next/previous occurance of selected text in the current editing instance. The moment some text is selected in the editor, two tool-buttons will automatically show-up on the lower-right corner of the editing window to facilitate you execute "find" operation for selected text up or down. Buttons will disappear where there is no more selected text. The feature was requested by Antonio Linares. 2010-06-05 17:45 UTC+0200 Xavi (jarabal/at/gmail.com) * contrib/hbwin/win_shell.c + Added protection to typedef SHNAMEMAPPING, LPSHNAMEMAPPING for MINGW64. MinGW-W64 provides these definitions and cause error when building hbwin. 2010-06-05 14:25 UTC+0200 Viktor Szakats * config/postinst.prg ! Fixed to use platform native pathseps in few remaining places. * examples/uhttpd2/socket.c * examples/httpsrv/socket.c + Added copyright header. 2010-06-04 20:21 UTC+0200 Viktor Szakats * package/winuni/mpkg_win_uni.nsi * Version adjustment (-20 -> -21) 2010-06-04 18:50 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added pkg-config and *-config support for MacPorts. 2010-06-04 15:21 UTC+0200 Viktor Szakats * contrib/* * Deleted 'www.' from harbour-project.org website name. (www.harbour-project.org -> harbour-project.org) 2010-06-04 13:06 UTC+0200 Viktor Szakats * INSTALL * Minor. * contrib/hbmysql/hbmysql.hbc * contrib/gtalleg/gtalleg.hbc * contrib/gtalleg/gtallegs.hbc * contrib/hbct/hbct.hbc * contrib/sddmy/sddmy.hbc * contrib/hbodbc/hbodbc.hbc * contrib/xhb/xhb.hbc * contrib/sddfb/sddfb.hbc * contrib/hbtpathy/hbtpathy.hbc * contrib/hbgt/hbgt.hbc * contrib/hbsqlit3/hbsqlit3.hbc * contrib/hbmzip/hbmzip.hbc * contrib/hbblat/hbblat.hbc * contrib/hbqt/hbqt.hbc * contrib/hbqt/hbqts.hbc * contrib/hbfbird/hbfbird.hbc * contrib/sddpg/sddpg.hbc * contrib/hbziparc/hbziparc.hbc * contrib/hbxbp/hbxbp.hbc * contrib/hbbz2/hbbz2.hbc * contrib/hbblink/hbblink.hbc * contrib/hbnf/hbnf.hbc * contrib/hbcurl/hbcurl.hbc * contrib/hbcurl/hbcurls.hbc * contrib/hbmemio/hbmemio.hbc * contrib/hbxpp/hbxpp.hbc * contrib/hbfship/hbfship.hbc * contrib/hbcups/hbcups.hbc * contrib/rddbmcdx/hbbmcdx.hbc * contrib/hbfoxpro/hbfoxpro.hbc * contrib/hbnetio/hbnetio.hbc * contrib/rddsql/rddsql.hbc * contrib/hbhpdf/hbhpdf.hbc * contrib/gtwvg/gtwvg.hbc * contrib/hbpgsql/hbpgsql.hbc * contrib/hbclipsm/hbclipsm.hbc * contrib/rddads/rddads.hbc * contrib/rddads/rddads.hbp * contrib/sddsqlt3/sddsqlt3.hbc * contrib/hbfimage/hbfimage.hbc * contrib/sddodbc/sddodbc.hbc * contrib/hbgd/hbgd.hbc * contrib/hbmisc/hbmisc.hbc * contrib/sddoci/sddoci.hbc * contrib/hbcomm/hbcomm.hbc * contrib/hbtip/hbtipssl.hbc * contrib/hbtip/hbtip.hbc * contrib/hbcairo/hbcairo.hbc * contrib/hbwin/hbwin.hbc * contrib/hbssl/hbssls.hbc * contrib/hbssl/hbssl.hbc * contrib/hbsms/hbsms.hbc * examples/ps32/ps32.hbc * examples/hbsqlit2/hbsqlit2.hbc * examples/gfspell/gfspell.hbc * examples/rddado/rddado.hbc * examples/hbapollo/hbapollo.hbc * examples/hbvpdf/hbvpdf.hbc * examples/hbbtree/hbbtree.hbc * examples/gtwvw/gtwvw.hbc % Replaced libs=<libname> with libs=${hb_name} to avoid repeating the libs own name, if it's the same as the name of the .hbc file. 2010-06-04 12:24 UTC+0200 Viktor Szakats * src/rtl/memvarhb.prg * Minor in comment. * contrib/hbtpathy/tpunix.c + Applied patch sent to the list by Tamas Tevesz. Fixing some compilation problems due to missing predefined macros on certain *nix systems. * contrib/hbqt/hbqt_common.hbm * Formatting. * utils/hbmk2/hbmk2.prg ! Fixed to make sure -depcontrol= header path value is added to the header path search list in the same location as specified on the command-line. 2010-06-04 04:20 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added basic support to recognize headers inside Frameworks on darwin systems. + Added basic support to recognize Objective C (.m) input files. % Optimized to only deal with header exclusion of known headers if they are specified as "system directories" (specified as #include <...>) ! Minor cleanup when adding include dirs after header detection. * contrib/hbqt/hbqt_common.hbm % Cleaned QT autodetection on darwin systems after adding basic support for Frameworks to hbmk2. * contrib/hbqt/hbqtnetwork.hbp * contrib/hbqt/hbqtgui.hbp * contrib/hbqt/gtqtc/gtqtc.hbp % Deleted now unnecessary hacks for darwin. * contrib/hbqt/Makefile * contrib/hbqt/detect.mk * contrib/hbqt/hbqts/Makefile * contrib/hbqt/qtgui/Makefile * contrib/hbqt/qtgui/qtguis/Makefile * contrib/hbqt/qtnetwork/qtnetworks/Makefile * contrib/hbqt/qtnetwork/Makefile * contrib/hbqt/gtqtc/Makefile * contrib/hbqt/gtqtc/gtqtcs/Makefile % Deleted extra hacks for darwin regarding header path setup. * INSTALL - Deleted dead link. 2010-06-03 18:22 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/hbqt_hbqplaintextedit.cpp ! Minor. * contrib/hbide/resources/buildsource.png + Icon for "Build Source" action. * contrib/hbide/hbide.prg * contrib/hbide/ideactions.prg * contrib/hbide/idedocks.prg * contrib/hbide/ideedit.prg * contrib/hbide/idefindreplace.prg * contrib/hbide/idemisc.prg * contrib/hbide/ideprojmanager.prg + Implemeted: to compile a source, source is not saved if in modified state. Action was already defined but inactive. + Implemented: to build a source, current defined environment is used and build process stays in the folder where source resides. Also source is not saved. hbIDE attempts to executable it also. Action defines a new icon on the top-toolbar and also an entry into the "Build" menu. % Few more fixes in selections and find processes. NOTE: new setup is also uploaded on my site. 2010-06-04 01:23 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fixed typo in recent header detection changes causing -inc mode to always rebuild target. + Added support for multiple -depkeyhead= option, which means that multiple alternative key headers can be specified and the first match of any of them will satisfy the dependency. ! Fixed typo causing dependencies to wrongly detected as 'local'. 2010-06-04 00:35 UTC+0200 Viktor Szakats * contrib/hbqt/hbqt_common.hbm * Unfinished changes to sync darwin with rest of platforms. * contrib/hbqt/plug_moc.prg ! Missed to look in PATH to find moc tool. * utils/hbmk2/hbmk2.prg ! Fixed to handle -depcontrol=<path> case. 2010-06-03 23:56 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg * Minor cleanup to previous commits. + contrib/hbodbc/hbodbc.hbp + contrib/hbsqlit3/hbsqlit3.hbp + contrib/hbbz2/hbbz2.hbp + contrib/hbhpdf/hbhpdf.hbp + contrib/sddsqlt3/sddsqlt3.hbp + contrib/sddodbc/sddodbc.hbp + Added hbmk2 make files to remaining contribs. * contrib/hbmysql/hbmysql.hbp * contrib/gtalleg/gtalleg.hbp * contrib/sddmy/sddmy.hbp * contrib/sddfb/sddfb.hbp * contrib/hbmzip/hbmzip.hbp * contrib/hbqt/hbqt_common.hbm * contrib/hbfbird/hbfbird.hbp * contrib/sddpg/sddpg.hbp * contrib/hbcurl/hbcurl.hbp * contrib/hbcups/hbcups.hbp * contrib/hbpgsql/hbpgsql.hbp * contrib/rddads/rddads.hbp * contrib/hbfimage/hbfimage.hbp * contrib/hbgd/hbgd.hbp * contrib/sddoci/sddoci.hbp * contrib/hbcairo/hbcairo.hbp * contrib/hbssl/hbssl.hbp + Updated hbmk2 make file dependency detection options according to latest hbmk2 changes. 2010-06-03 23:02 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fixed silly typo in last commit. (missing ! operator in IF condition) 2010-06-03 21:37 UTC+0200 Viktor Szakats + contrib/hbmzip/hbmzip.hbp + Added hbmk2 solution to replicate GNU Make dependency checking logic. * utils/hbmk2/hbmk2.prg + Finalizing dependency options: -deppkgname=<d:n> -depkeyhead=<d:h> -depoptional=<d:f> -depcontrol=<d:v> -depincpath=<d:i> -depincpathlocal=<d:i> ; See more in the --help and the example above. * Finalized terminology (requirement -> dependency) 2010-06-03 20:38 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Rewritten dependency checking logic. New solution integrates -reqheader, -inctrypath, -reqpkg options. (Current parametrization and terminology is not final.) The new engine supports dependency detection by package name (via pkg-config/*-config), even multiple ones, by key header file using custom header search paths, both global and local. It also supports built-in detection control as we know it from our GNU Make build system via HBMK_WITH_* envvar (or one with customzed name) which can have no/yes/nolocal/local/force values. This implementation also supports optional dependencies. 2010-06-03 18:30 UTC+0200 Viktor Szakats * contrib/hbqt/hbqt_hbqtableview.h * contrib/hbqt/hbqt_hbevents.h * contrib/hbqt/hbqt_hbdbfmodel.cpp * contrib/hbqt/generator/hbqtgen.prg * contrib/hbqt/hbqt.ch * contrib/hbqt/hbqt_errorsys.prg * contrib/hbqt/hbqt_hbqsyntaxhighlighter.cpp * contrib/hbqt/tests/demoqt.prg * contrib/hbqt/THbQtUI.prg * contrib/hbqt/hbqt_hbqmainwindow.h * contrib/hbqt/hbqt_hbqtableview.cpp * contrib/hbqt/hbqt_hbevents.cpp * contrib/hbqt/hbqt_hbqplaintextedit.h * contrib/hbqt/gtqtc/gtqtc.cpp * contrib/hbqt/gtqtc/hbgtqtc.ch * contrib/hbqt/gtqtc/gtqtc.h * contrib/hbqt/hbqt_hbslots.h * contrib/hbqt/hbqt.h * contrib/hbqt/hbqt_hbdbfmodel.h * contrib/hbqt/hbqt_destruct.cpp * contrib/hbqt/plug_moc.prg * contrib/hbqt/hbqt_utils.cpp * contrib/hbqt/hbqt_misc.prg * contrib/hbqt/hbqt_hbqsyntaxhighlighter.h * contrib/hbqt/hbqt_hbqmainwindow.cpp * contrib/hbqt/hbqt_hbqplaintextedit.cpp * contrib/hbqt/hbqt_base.cpp * contrib/hbqt/hbqt_hbslots.cpp * contrib/hbziparc/hbziparc.prg * contrib/hbxbp/xbpappevent.prg * contrib/hbxbp/xbpsle.prg * contrib/hbxbp/xbplistbox.prg * contrib/hbxbp/xbppresspace.prg * contrib/hbxbp/xbpcheckbox.prg * contrib/hbxbp/xbpmenubar.prg * contrib/hbxbp/xbpradiobutton.prg * contrib/hbxbp/xbprtf.prg * contrib/hbxbp/xbpfiledialog.prg * contrib/hbxbp/xbpclipboard.prg * contrib/hbxbp/tests/demoxbp.prg * contrib/hbxbp/xbpbrowse.prg * contrib/hbxbp/xbptabpage.prg * contrib/hbxbp/xbpwindow.prg * contrib/hbxbp/xbpcombobox.prg * contrib/hbxbp/xbpstatusbar.prg * contrib/hbxbp/xbppushbutton.prg * contrib/hbxbp/xbpbitmap.prg * contrib/hbxbp/xbpprintdialog.prg * contrib/hbxbp/xbpprinter.prg * contrib/hbxbp/xbpscrollbar.prg * contrib/hbxbp/xbpfontdialog.prg * contrib/hbxbp/xbphtmlviewer.prg * contrib/hbxbp/xbpstatic.prg * contrib/hbxbp/xbptreeview.prg * contrib/hbxbp/hbpprocess.prg * contrib/hbxbp/xbpdialog.prg * contrib/hbxbp/xbpstyle.prg * contrib/hbxbp/xbptoolbar.prg * contrib/hbxbp/xbp3state.prg * contrib/hbxbp/xbpparthandler.prg * contrib/hbxbp/xbpspinbutton.prg * contrib/hbxbp/xbpdataref.prg * contrib/hbxbp/xbpgra.prg * contrib/hbxbp/xbpgeneric.prg * contrib/hbxbp/xbpmle.prg * contrib/hbblink/hbblink.ch * contrib/hbblink/blinker.prg * contrib/hbfship/secondfs.c * contrib/hbfship/pvalue.c * contrib/hbcups/hbcups.c * contrib/hbfoxpro/hbfoxpro.ch * contrib/hbfoxpro/dll.prg * contrib/hbcomm/tests/test.prg * contrib/hbcomm/hbcomm.prg * contrib/hbide/ideharbourhelp.prg * contrib/hbide/idefindreplace.prg * contrib/hbide/ideplugins.prg * contrib/hbide/ideedit.prg * contrib/hbide/ideeditor.prg * contrib/hbide/hbide.ch * contrib/hbide/idemisc.prg * contrib/hbide/idewizard.prg * contrib/hbide/ideactions.prg * contrib/hbide/ideprojmanager.prg * contrib/hbide/ideobject.prg * contrib/hbide/ideskeletons.prg * contrib/hbide/plugins/savebackup.prg * contrib/hbide/idefunctions.prg * contrib/hbide/iderequests.prg * contrib/hbide/idestylesheets.prg * contrib/hbide/ideenviron.prg * contrib/hbide/idesources.prg * contrib/hbide/idethemes.prg * contrib/hbide/idehome.prg * contrib/hbide/hbide.prg * contrib/hbide/ideshortcuts.prg * contrib/hbide/idetags.prg * contrib/hbide/idesaveload.prg * contrib/hbide/idetools.prg * contrib/hbide/resources/hbmk2_plugin_hbide.prg * contrib/hbide/idedocwriter.prg * contrib/hbide/ideparseexpr.c * contrib/hbide/idedocks.prg * contrib/hbsms/hbsms.prg * Deleted 'www.' from harbour-project.org website name. (www.harbour-project.org -> harbour-project.org) 2010-06-03 18:17 UTC+0200 Viktor Szakats * tests/testsha1.prg * tests/longdev.prg * tests/clsccast.prg * tests/cmphello.prg * tests/clsicast.prg * tests/testop.prg * tests/clsscast.prg * tests/objarr.prg * tests/rddtest/rddmktst.prg * tests/rddtest/adscl52.prg * tests/rddtest/adscl53.prg * tests/rddtest/ntxcl52.prg * tests/rddtest/ntxcl53.prg * tests/rddtest/cdxcl52.prg * tests/rddtest/rddtst.prg * tests/rddtest/cdxcl53.prg * tests/transtst.prg * tests/output.prg * tests/ac_test2.prg * tests/clsscope.prg * tests/dosshell.prg * tests/sbartest.prg * tests/speedold.prg * tests/sdf_test.prg * tests/wcecon.prg * tests/debugtst.prg * tests/testdyn.c * tests/multiarg.prg * tests/fornext.prg * tests/hbinline.prg * tests/foreach2.prg * tests/objasign.prg * tests/scroll.prg * tests/inherit.prg * tests/rto_get.prg * tests/boxtst2.prg * tests/inkeytst.prg * tests/overload.prg * tests/cpinfo.prg * tests/gtwin.prg * tests/mt/mttest08.prg * tests/mt/mttest09.prg * tests/mt/mttest01.prg * tests/mt/mttest10.prg * tests/mt/mttest02.prg * tests/mt/mttest11.prg * tests/mt/mttest03.prg * tests/mt/mttest12.prg * tests/mt/mttest04.prg * tests/mt/mttest05.prg * tests/mt/mttest06.prg * tests/mt/mttest07.prg * tests/speedtst.prg * tests/testsha2.prg * tests/hsxtest.prg * tests/arrayidx.prg * tests/clsnv.prg * tests/rto_tb.prg * tests/gtchars.prg * tests/disptest.prg * tests/funcarr.prg * tests/testhtml.prg * tests/readhrb.prg * tests/tstcolor.prg * tests/gtxfnt.prg * tests/devtest.prg * tests/aliaslck.prg * tests/stripem.prg * tests/dynobj.prg * tests/tb1.prg * tests/round.prg * tests/longstr.prg * tests/testdyn.prg * tests/testdyn1.prg * tests/delimtst.prg * tests/tstdspac.prg * tests/version.prg * tests/setkeys.prg * tests/gtcolors.prg * tests/destruct.prg * tests/seconds.prg * tests/gtkeys.prg * tests/usrrdd/exarr.prg * doc/en/diskspac.txt * doc/en/string.txt * doc/en/rdd.txt * doc/en/hashes.txt * doc/en/hb_apigt.txt * doc/en/rddord.txt * doc/en/hb_api.txt * doc/en/hb_date.txt * doc/en/math.txt * doc/en/hb_vm.txt * doc/en/treport.txt * doc/en/terminal.txt * doc/en/hb_apiln.txt * doc/en/dir.txt * doc/en/command.txt * doc/en/rddmisc.txt * doc/en/errsys.txt * doc/en/nation.txt * doc/en/var.txt * doc/en/dbstrux.txt * doc/en/datetime.txt * doc/en/memo.txt * doc/en/tgetlist.txt * doc/en/tlabel.txt * doc/en/1stread.txt * doc/en/hb_set.txt * doc/en/hb_compa.txt * doc/en/hb_apier.txt * doc/en/hbinet.txt * doc/en/hb_macro.txt * doc/en/array.txt * doc/en/hb_apiit.txt * doc/en/rdddb.txt * doc/en/dbsdf.txt * doc/en/hvm.txt * doc/en/input.txt * doc/en/dbdelim.txt * doc/en/browse.txt * doc/en/menu.txt * doc/en/hb_apird.txt * doc/en/hb_apifs.txt * doc/en/file.txt * doc/en/lang.txt * doc/en/objfunc.txt * doc/en/eval.txt * doc/en/binnum.txt * doc/en/tclass.txt * doc/en/misc.txt * doc/en/set.txt * doc/en/readme.txt * doc/man/harbour.1 * doc/man/hbmk2.1 * doc/man/hbpp.1 * doc/man/hbtest.1 * doc/man/hbrun.1 * examples/hbextern/hbextern.prg * examples/pp/pp.c * examples/pp/hbpragma.c * examples/pp/hbppcore.c * examples/pp/hbppcomp.c * examples/pp/hbpptbl.c * examples/pp/hbppdef.h * examples/superlib/hbsuper.prg * examples/hbsqlit2/hbsqlit2.ch * examples/misc/mankala.prg * examples/misc/guess.prg * examples/rddado/adordd.prg * examples/rddado/adordd.ch * examples/hbapollo/apollo.ch * examples/hbapollo/apollo.c * examples/hbapollo/apollo1.prg * examples/hbdoc2/gentpl.prg * examples/hbdoc2/gentxt.prg * examples/hbdoc2/tmplates.prg * examples/hbdoc2/genxml.prg * examples/hbdoc2/genhtml.prg * examples/hbdoc2/hbdoc2.prg * examples/hbdoc2/hbdoc2.ch * examples/guestbk/guestbk.prg * examples/httpsrv/uhttpd.ini * examples/httpsrv/uhttpd.prg * examples/httpsrv/cookie.prg * examples/httpsrv/cgifunc.prg * examples/httpsrv/session.prg * examples/terminal/trm_cli.prg * examples/terminal/terminal.prg * examples/terminal/trm_srv.prg * examples/terminal/trm_app.prg * examples/hbbtree/hb_btree.h * examples/hbbtree/hb_btree.ch * examples/hbbtree/hb_btree.c * examples/hbbtree/tbtree.prg * examples/hscript/hscript.prg * examples/hscript/dir.hs * examples/hscript/multiply.hs * examples/hscript/ugly.hs * examples/hscript/hello.hs * examples/gtwvw/hbole.h * examples/gtwvw/wvwdraw.c * examples/gtwvw/wvwmenu.c * examples/gtwvw/gtwvw.c * examples/gtwvw/wvwstbar.c * examples/gtwvw/wvwcheck.c * examples/gtwvw/wvwfuncs.c * examples/gtwvw/wvwpush.c * examples/gtwvw/wvwedit.c * examples/gtwvw/wvwtbar.c * examples/gtwvw/hbgtwvw.h * Deleted 'www.' from harbour-project.org website name. (www.harbour-project.org -> harbour-project.org) 2010-06-03 18:03 UTC+0200 Viktor Szakats * package/winuni/RELNOTES * Updated. * harbour.spec * doc/dirstruc.txt * utils/hbmk2/examples/contribf.hbc * contrib/Makefile - contrib/hbbtree + examples/hbbtree - examples/hbbtree/Makefile * hbbtree move to example section as told in a recent changelog entry. This contrib has long time unfixed file-format portability problems, plus it's really more of a good example code than lib for end-users. 2010-06-03 16:54 UTC+0200 Viktor Szakats * src/lang/msghuiso.c * src/lang/msgskiso.c * src/lang/msgrukoi.c * src/lang/msgzhgb.c * src/lang/msghuwin.c * src/lang/msgskwin.c * src/lang/msg_tpl.c * src/lang/msgruwin.c * src/lang/msghr646.c * src/lang/msgsl646.c * src/lang/msgelwin.c * src/lang/msgro.c * src/lang/msgpt.c * src/lang/msghriso.c * src/lang/msghrwin.c * src/lang/msgsliso.c * src/lang/msgslwin.c * src/lang/msghe862.c * src/lang/msgcskam.c * src/lang/msggl.c * src/lang/msgtrwin.c * src/lang/msgbgiso.c * src/lang/msgeo.c * src/lang/msgskkam.c * src/lang/msgbgwin.c * src/lang/msges.c * src/lang/msgzhb5.c * src/lang/msgeu.c * src/lang/msgpl852.c * src/lang/msgsr852.c * src/lang/msgde.c * src/lang/msgtr857.c * src/lang/msgru866.c * src/lang/msgcs852.c * src/lang/msgfr.c * src/lang/msgis850.c * src/lang/msgnl.c * src/lang/msghu852.c * src/lang/msgsk852.c * src/lang/msgca.c * src/lang/msgplmaz.c * src/lang/msgpliso.c * src/lang/msgplwin.c * src/lang/msgbg866.c * src/lang/msgid.c * src/lang/msgltwin.c * src/lang/msgptiso.c * src/lang/msgsriso.c * src/lang/msgel.c * src/lang/msgdewin.c * src/lang/msghr852.c * src/lang/msgko.c * src/lang/msghewin.c * src/lang/msgit.c * src/lang/msgsl852.c * src/lang/msghucwi.c * src/lang/msgcsiso.c * src/lang/msgcswin.c * src/lang/msgeswin.c * src/vm/initsymb.c * src/vm/hashfunc.c * src/vm/macro.c * src/vm/evalhb.c * src/vm/mainwin.c * src/vm/strapi.c * src/vm/harbinit.prg * src/vm/pcount.c * src/vm/runner.c * src/vm/estack.c * src/vm/codebloc.c * src/vm/hashes.c * src/vm/maindllp/dllpcode.c * src/vm/maindllp/dllext.c * src/vm/dynsym.c * src/vm/debug.c * src/vm/maindllh.c * src/vm/itemapi.c * src/vm/garbage.c * src/vm/asort.c * src/vm/hvm.c * src/vm/pvalue.c * src/vm/cmdarg.c * src/vm/procaddr.c * src/vm/mainstd.c * src/vm/arrays.c * src/vm/task.c * src/vm/fm.c * src/vm/extrap.c * src/vm/proc.c * src/vm/thread.c * src/vm/memvars.c * src/vm/arrayshb.c * src/vm/memvclip.c * src/vm/vm.c * src/vm/hvmall.c * src/vm/main.c * src/vm/break.c * src/vm/eval.c * src/vm/extend.c * src/vm/dynlibhb.c * src/vm/set.c * src/vm/initexit.c * src/vm/classes.c * src/rtl/lennum.c * src/rtl/scroll.c * src/rtl/gtdos/gtdos.c * src/rtl/strxor.c * src/rtl/setposbs.c * src/rtl/fscopy.c * src/rtl/strcase.c * src/rtl/run.c * src/rtl/gtwin/gtwin.c * src/rtl/defpath.c * src/rtl/gtxwc/gtxwc.h * src/rtl/gtxwc/gtxwc.c * src/rtl/tscalars.c * src/rtl/hbdynhb.c * src/rtl/substr.c * src/rtl/round.c * src/rtl/oldbox.c * src/rtl/typefile.prg * src/rtl/tbcolumn.prg * src/rtl/math.c * src/rtl/getsys53.prg * src/rtl/objfunc.prg * src/rtl/empty.c * src/rtl/tobject.prg * src/rtl/gtcrs/gtcrs.h * src/rtl/hbzlibgz.c * src/rtl/trim.c * src/rtl/setpos.c * src/rtl/fnsplit.c * src/rtl/gtfunc.c * src/rtl/base64c.c * src/rtl/binnum.c * src/rtl/box.c * src/rtl/filehb.c * src/rtl/hbtoken.c * src/rtl/tscalard.c * src/rtl/fstemp.c * src/rtl/gtchrmap.c * src/rtl/tscalarl.c * src/rtl/tscalart.c * src/rtl/radiobhb.prg * src/rtl/type.c * src/rtl/tgethb.prg * src/rtl/strmatch.c * src/rtl/ampm.c * src/rtl/base64.prg * src/rtl/readkey.prg * src/rtl/hbsha1hm.c * src/rtl/errsys.prg * src/rtl/tpopup.prg * src/rtl/do.c * src/rtl/einstvau.prg * src/rtl/gtstd/gtstd.c * src/rtl/descend.c * src/rtl/gttrm/gttrm.c * src/rtl/maxrow.c * src/rtl/replic.c * src/rtl/xhelp.c * src/rtl/setta.prg * src/rtl/padr.c * src/rtl/hbstrfmt.c * src/rtl/listbox.prg * src/rtl/transfrm.c * src/rtl/hbntos.c * src/rtl/gttone.c * src/rtl/hbadler.c * src/rtl/at.c * src/rtl/hbdyn.c * src/rtl/tone.c * src/rtl/browse.prg * src/rtl/tget.prg * src/rtl/setfunc.prg * src/rtl/tscalaru.c * src/rtl/datec.c * src/rtl/pushbtn.prg * src/rtl/minmax.c * src/rtl/hbfeof.c * src/rtl/readvar.prg * src/rtl/hbmd5.c * src/rtl/dates.c * src/rtl/achoice.prg * src/rtl/hbascii.c * src/rtl/fkmax.c * src/rtl/padc.c * src/rtl/strzero.c * src/rtl/memvarbl.prg * src/rtl/gtcgi/gtcgi.c * src/rtl/natmsgu.c * src/rtl/mod.c * src/rtl/errapi.c * src/rtl/version.c * src/rtl/hbregexc.c * src/rtl/hbrandom.c * src/rtl/strtran.c * src/rtl/tscalar.prg * src/rtl/hbprocfn.c * src/rtl/hbsocket.c * src/rtl/errint.c * src/rtl/treport.prg * src/rtl/tscalarn.c * src/rtl/errapiu.c * src/rtl/hbinet.c * src/rtl/copyfile.c * src/rtl/gt.c * src/rtl/tpersist.prg * src/rtl/tgetint.prg * src/rtl/strtoexp.c * src/rtl/hbsha2hm.c * src/rtl/errintlo.c * src/rtl/dbedit.prg * src/rtl/einstvar.prg * src/rtl/gtapi.c * src/rtl/pad.c * src/rtl/direct.c * src/rtl/filesys.c * src/rtl/len.c * src/rtl/padl.c * src/rtl/lang.c * src/rtl/hbregex.c * src/rtl/einstv52.prg * src/rtl/hbbit.c * src/rtl/isprint.c * src/rtl/altd.prg * src/rtl/text.prg * src/rtl/saverest.c * src/rtl/diskspac.c * src/rtl/console.c * src/rtl/mousehb.c * src/rtl/hbinetz.c * src/rtl/chrasc.c * src/rtl/spfiles.c * src/rtl/dircmd.prg * src/rtl/memoedit.prg * src/rtl/gtos2/gtos2.c * src/rtl/right.c * src/rtl/hbi18n2.prg * src/rtl/philes.c * src/rtl/adir.prg * src/rtl/oldclear.c * src/rtl/hbbffnc.c * src/rtl/gui.prg * src/rtl/perfuncs.prg * src/rtl/hbgtcore.c * src/rtl/cdpapi.c * src/rtl/cputime.c * src/rtl/fieldbl.prg * src/rtl/dirdrive.c * src/rtl/str.c * src/rtl/wait.prg * src/rtl/hbi18n1.c * src/rtl/dateshb.c * src/rtl/menuto.prg * src/rtl/gtclip.c * src/rtl/mlcfunc.c * src/rtl/datesx.c * src/rtl/scrollbr.prg * src/rtl/hbfile.c * src/rtl/gtapiu.c * src/rtl/left.c * src/rtl/accept.c * src/rtl/defpathu.c * src/rtl/tscalarh.c * src/rtl/tbrowsys.prg * src/rtl/valtoexp.prg * src/rtl/tscalarp.c * src/rtl/is.c * src/rtl/idle.c * src/rtl/itemseri.c * src/rtl/getsys.prg * src/rtl/hbrunfun.c * src/rtl/setcolor.c * src/rtl/oemansi.c * src/rtl/philes53.c * src/rtl/xsavescr.c * src/rtl/hardcr.c * src/rtl/setkey.c * src/rtl/tgetlist.prg * src/rtl/gtsln/keytrans.c * src/rtl/gtsln/mousesln.c * src/rtl/gtsln/gtsln.c * src/rtl/gtsln/kbsln.c * src/rtl/gtsln/gtsln.h * src/rtl/disksphb.c * src/rtl/memvarhb.prg * src/rtl/tlabel.prg * src/rtl/hbzlib.c * src/rtl/strc.c * src/rtl/gtpca/gtpca.c * src/rtl/radiogrp.prg * src/rtl/scrrow.c * src/rtl/getlist.prg * src/rtl/valtype.c * src/rtl/shadow.c * src/rtl/net.c * src/rtl/stuff.c * src/rtl/dirscan.prg * src/rtl/hbznet.c * src/rtl/tscalara.c * src/rtl/space.c * src/rtl/checkbox.prg * src/rtl/gtgui/gtgui.c * src/rtl/hbhex.c * src/rtl/seconds.c * src/rtl/trace.c * src/rtl/samples.c * src/rtl/abs.c * src/rtl/input.prg * src/rtl/hbsha1.c * src/rtl/gt_tpl/gt_tpl.c * src/rtl/inkeyapi.c * src/rtl/filebuf.c * src/rtl/alert.prg * src/rtl/inkey.c * src/rtl/ttopbar.prg * src/rtl/mtran.c * src/rtl/gete.c * src/rtl/browdb.prg * src/rtl/setcurs.c * src/rtl/tmenusys.prg * src/rtl/tsymbol.prg * src/rtl/tclass.prg * src/rtl/hbproces.c * src/rtl/menusys.prg * src/rtl/cdpapihb.c * src/rtl/word.c * src/rtl/langapi.c * src/rtl/fmhb.c * src/rtl/ttextlin.prg * src/rtl/natmsg.c * src/rtl/gtwvt/gtwvt.h * src/rtl/gtwvt/gtwvt.c * src/rtl/tscalarb.c * src/rtl/mouse53.c * src/rtl/fssize.c * src/rtl/hbbfish.c * src/rtl/hbsha2.c * src/rtl/colorind.c * src/rtl/hbbyte.c * src/rtl/ati.c * src/rtl/gx.c * src/rtl/teditor.prg * src/rtl/mouseapi.c * src/rtl/soundex.c * src/rtl/memofile.c * src/rtl/getsyshb.prg * src/rtl/radiobtn.prg * src/rtl/tmenuitm.prg * src/rtl/gtsys.c * src/rtl/shadowu.c * src/rtl/hbstrsh.c * src/rtl/valtostr.c * src/rtl/file.c * src/rtl/strclear.c * src/rtl/val.c * src/rtl/gtkbstat.c * src/rtl/rat.c * src/rtl/hbcom.c * src/rtl/tbrowse.prg * src/rtl/tscalarc.c * src/rtl/devoutp.prg * src/codepage/ucmacce.c * src/codepage/cpno865.c * src/codepage/uckoi8.c * src/codepage/cppt850.c * src/codepage/uc885910.c * src/codepage/cpit850m.c * src/codepage/ucmacice.c * src/codepage/uc885914.c * src/codepage/uc874.c * src/codepage/uc857.c * src/codepage/cpru866.c * src/codepage/uc1250.c * src/codepage/uc1254.c * src/codepage/cpeswinm.c * src/codepage/cpcs852.c * src/codepage/cpes850.c * src/codepage/uc1258.c * src/codepage/cpis850.c * src/codepage/cphu852.c * src/codepage/cpsk852.c * src/codepage/uckam.c * src/codepage/cphu852c.c * src/codepage/uc424.c * src/codepage/ucmacrom.c * src/codepage/cpplmaz.c * src/codepage/uc862.c * src/codepage/cppliso.c * src/codepage/uc866.c * src/codepage/cpplwin.c * src/codepage/cpbg866.c * src/codepage/cpltwin.c * src/codepage/cpptiso.c * src/codepage/cpel737.c * src/codepage/cpsrwin.c * src/codepage/uc8859_3.c * src/codepage/cpfr850.c * src/codepage/cpes850c.c * src/codepage/cphr852.c * src/codepage/uc8859_7.c * src/codepage/ucmacgrk.c * src/codepage/uc037.c * src/codepage/uc850.c * src/codepage/cpesiso.c * src/codepage/uc885911.c * src/codepage/cpeswin.c * src/codepage/uc885915.c * src/codepage/uc875.c * src/codepage/cprukoi.c * src/codepage/uc1251.c * src/codepage/uc1255.c * src/codepage/cpruiso.c * src/codepage/cpsv850m.c * src/codepage/cpde850m.c * src/codepage/cpruwin.c * src/codepage/cpsl646.c * src/codepage/cppt860.c * src/codepage/cpfriso.c * src/codepage/cpnl850m.c * src/codepage/uc863.c * src/codepage/cpfrwin.c * src/codepage/cpsliso.c * src/codepage/ucmaz.c * src/codepage/cpslwin.c * src/codepage/uc1026.c * src/codepage/cpcskam.c * src/codepage/cpbgiso.c * src/codepage/uc8859_4.c * src/codepage/cpnl850.c * src/codepage/cpbgwin.c * src/codepage/cpskkam.c * src/codepage/uc8859_8.c * src/codepage/cppl852.c * src/codepage/cpde850.c * src/codepage/cpsv850.c * src/codepage/uc855.c * src/codepage/cptr857.c * src/codepage/uc885916.c * src/codepage/cproiso.c * src/codepage/cpfi850.c * src/codepage/ucascii.c * src/codepage/cprowin.c * src/codepage/uc1252.c * src/codepage/uc1256.c * src/codepage/ucatari.c * src/codepage/cpitisb.c * src/codepage/uc860.c * src/codepage/ucmaccyr.c * src/codepage/uc864.c * src/codepage/uc1006.c * src/codepage/cpel437.c * src/codepage/uc8859_1.c * src/codepage/cpdeiso.c * src/codepage/cpsviso.c * src/codepage/uc88591b.c * src/codepage/cpdewin.c * src/codepage/cpsvwin.c * src/codepage/uc8859_5.c * src/codepage/cpit850.c * src/codepage/uc8859_9.c * src/codepage/cpis861.c * src/codepage/cpsl852.c * src/codepage/cpcsiso.c * src/codepage/cpes850m.c * src/codepage/ucnext.c * src/codepage/cpcswin.c * src/codepage/uc852.c * src/codepage/uc737.c * src/codepage/ucmactrk.c * src/codepage/uc885913.c * src/codepage/cphuiso.c * src/codepage/uc775.c * src/codepage/uc856.c * src/codepage/cpskiso.c * src/codepage/cphuwin.c * src/codepage/cpskwin.c * src/codepage/cp_tpl.c * src/codepage/uc1253.c * src/codepage/uc646_yu.c * src/codepage/uc1257.c * src/codepage/uc500.c * src/codepage/cphr646.c * src/codepage/cpeliso.c * src/codepage/cpelwin.c * src/codepage/cpro852.c * src/codepage/cpfr850m.c * src/codepage/uc861.c * src/codepage/cphriso.c * src/codepage/uc865.c * src/codepage/cphrwin.c * src/codepage/cpitiso.c * src/codepage/cpsv437c.c * src/codepage/cpitwin.c * src/codepage/uc869.c * src/codepage/cptriso.c * src/codepage/cpdk865.c * src/codepage/uc8859_2.c * src/codepage/cptrwin.c * src/codepage/uc8859_6.c * src/rdd/dbfntx/dbfntx1.c * src/rdd/dbfntx/dbfntx0.prg * src/rdd/dbsql.c * src/rdd/dbdelim.prg * src/rdd/hbdbsort.c * src/rdd/rddordu.prg * src/rdd/dbjoin.prg * src/rdd/workarea.c * src/rdd/dbnubs.c * src/rdd/wacore.c * src/rdd/rddinfo.c * src/rdd/dbstruxu.prg * src/rdd/dblist.prg * src/rdd/dbfuncs.prg * src/rdd/sdf1.c * src/rdd/dbdetach.c * src/rdd/dbtotal.prg * src/rdd/dbstrux.prg * src/rdd/dbsort.prg * src/rdd/dbfnsx/dbfnsx1.c * src/rdd/dbcmd.c * src/rdd/dbdrop.c * src/rdd/delim1.c * src/rdd/dbf1.c * src/rdd/dbrename.c * src/rdd/rddsys.prg * src/rdd/dbcmd53.c * src/rdd/usrrdd/usrrdd.c * src/rdd/usrrdd/rdds/arrayrdd.prg * src/rdd/usrrdd/rdds/dbtcdx.prg * src/rdd/usrrdd/rdds/fptcdx.prg * src/rdd/usrrdd/rdds/hscdx.prg * src/rdd/usrrdd/rdds/logrdd.prg * src/rdd/usrrdd/rdds/rlcdx.prg * src/rdd/usrrdd/rdds/smtcdx.prg * src/rdd/dbcmdhb.c * src/rdd/wafunc.c * src/rdd/rddord.prg * src/rdd/dbexists.c * src/rdd/dbsdf.prg * src/rdd/dbupdat.prg * src/rdd/ordwldsk.c * src/rdd/hbsix/sxord.c * src/rdd/hbsix/sxsem.c * src/rdd/hbsix/sxini.prg * src/rdd/hbsix/sxredir.c * src/rdd/hbsix/sxfname.c * src/rdd/hbsix/sxtable.c * src/rdd/hbsix/sxcompat.prg * src/rdd/hbsix/sxtrig.prg * src/rdd/hbsix/sxdate.c * src/rdd/hbsix/sxutil.c * src/rdd/hbsix/sxcompr.c * src/rdd/hbsix/sxcrypt.c * src/rdd/fieldhb.c * src/rdd/ordcount.c * Deleted 'www.' from harbour-project.org website name. (www.harbour-project.org -> harbour-project.org) 2010-06-03 16:43 UTC+0200 Viktor Szakats * package/winuni/mpkg_win_uni.nsi * 2.0 -> 2.1 * src/hbextern/hbextern.prg * src/pp/pplib.c * src/pp/ppcore.c * src/pp/pplib2.c * src/pp/hbpp.c * src/pp/pplib3.c * src/main/harbour.c * src/debug/dbgtwin.prg * src/debug/dbghelp.prg * src/debug/dbgtmenu.prg * src/debug/dbgtmitm.prg * src/debug/dbgtobj.prg * src/debug/dbgbrwsr.prg * src/debug/dbgmenu.prg * src/debug/dbgthsh.prg * src/debug/tbrwtext.prg * src/debug/dbgwa.prg * src/debug/debugger.prg * src/debug/dbgtarr.prg * src/debug/dbgtinp.prg * src/common/hbgete.c * src/common/hbffind.c * src/common/hbver.c * src/common/hbwin.c * src/common/hbtrace.c * src/common/funcid.c * src/common/hbfsapi.c * src/common/hbprintf.c * src/common/hbverdsp.c * src/common/hbwince.c * src/common/hbfopen.c * src/common/expropt1.c * src/common/hbstr.c * src/common/expropt2.c * src/common/hbdate.c * src/common/hbmem.c * src/common/strwild.c * src/common/hbhash.c * src/nortl/nortl.c * src/macro/macro.yyc * src/macro/macro.y * src/macro/macrolex.c * src/compiler/compi18n.c * src/compiler/hbmain.c * src/compiler/ppcomp.c * src/compiler/hbfix.c * src/compiler/cmdcheck.c * src/compiler/hbdbginf.c * src/compiler/hbpcode.c * src/compiler/genhrb.c * src/compiler/complex.c * src/compiler/hbdead.c * src/compiler/hbcomp.c * src/compiler/genobj32.c * src/compiler/genc.c * src/compiler/hbopt.c * src/compiler/hbident.c * src/compiler/hbusage.c * src/compiler/gencc.c * src/compiler/hbcmplib.c * src/compiler/hblbl.c * src/compiler/harbour.yyc * src/compiler/hbstripl.c * src/compiler/harbour.y * src/compiler/hbfunchk.c * src/compiler/hbgenerr.c * include/hbpp.h * include/set.ch * include/achoice.ch * include/hbrdddbf.h * include/hbstdgen.ch * include/hbvmpub.h * include/hbgtinfo.ch * include/vm.api * include/hbpcode.h * include/hbset.h * include/hbver.h * include/hbtrace.h * include/extend.api * include/hbapicdp.h * include/hbrddnsx.h * include/button.ch * include/hbstack.h * include/item.api * include/inkey.ch * include/hbapilng.h * include/hbhrb.ch * include/tbrowse.ch * include/common.ch * include/rdd.api * include/gt.api * include/hbgtcore.h * include/dbinfo.ch * include/hbundoc.api * include/hbapifs.h * include/hbtask.h * include/hbsetup.ch * include/hbwince.h * include/hbvmopt.h * include/hb_io.h * include/hbthread.h * include/hbxvm.h * include/setcurs.ch * include/hbdefs.h * include/hbmsgreg.h * include/dbedit.ch * include/hblang.ch * include/filesys.api * include/hbdebug.ch * include/hbextcdp.ch * include/hbsetup.h * include/hbmacro.h * include/hbzlib.ch * include/hbinit.h * include/hbtypes.h * include/hbmacro.ch * include/hbusrrdd.ch * include/hbrddsdf.h * include/hbgtreg.h * include/hbwinuni.h * include/hbapi.h * include/simpleio.ch * include/hbmemory.ch * include/hbpers.ch * include/error.ch * include/hb.ch * include/hbapiitm.h * include/hbmath.h * include/hbmath.ch * include/memoedit.ch * include/hbvmint.h * include/hbver.ch * include/fileio.ch * include/rddsys.ch * include/hbrddntx.h * include/hbapicom.h * include/hbatomic.h * include/extend.h * include/hbznet.h * include/hbvm.h * include/std.ch * include/hbapidbg.h * include/hbmemvar.ch * include/hbcomp.h * include/hbapirdd.h * include/hbextlng.ch * include/color.ch * include/hbcompdf.h * include/hbclass.ch * include/hbsxdef.ch * include/hbmather.h * include/dbstruct.ch * include/hbsocket.ch * include/hbdyn.ch * include/hbrdddel.h * include/hbtrace.ch * include/error.api * include/hbapistr.h * include/hbwmain.c * include/hbexpra.c * include/hbexprop.h * include/hbiniseg.h * include/hbgfx.ch * include/hbsocket.h * include/hbchksum.h * include/hbdbf.h * include/hbbfish.h * include/hbdbsort.h * include/hbcdpreg.h * include/hbapigt.h * include/hbfloat.h * include/hbgfxdef.ch * include/hbsix.ch * include/hbextern.ch * include/hbapicls.h * include/hberrors.h * include/directry.ch * include/clipdefs.h * include/hboo.ch * include/box.ch * include/hbinkey.ch * include/hbapierr.h * include/hbhash.h * include/assert.ch * include/hbassert.h * include/getexit.ch * include/reserved.ch * include/hbregex.h * include/fm.api * include/hbthread.ch * include/hbexprb.c * include/ord.ch * include/hbdate.h * Deleted 'www.' from harbour-project.org website name. (www.harbour-project.org -> harbour-project.org) 2010-06-03 16:33 UTC+0200 Viktor Szakats * INSTALL * Minor typo. * package/mpkg_win.nsi * package/winuni/mpkg_win_uni.nsi + Added user's mailing list link. - Deleted user forum link. * Updated developers' mailing list link. * utils/hbformat/hbformac.c * utils/hbformat/hbformat.prg * utils/hbmk2/hbmk2.prg * utils/hbi18n/hbi18n.prg * utils/hbtest/rt_main.h * utils/hbtest/hbtest.prg * utils/hbtest/rt_main.ch * utils/hbtest/rt_trans.prg * utils/hbtest/rt_miscc.c * utils/hbtest/rt_math.prg * utils/hbtest/rt_hvm.prg * utils/hbtest/rt_misc.prg * utils/hbtest/rt_hvma.prg * utils/hbtest/rt_init.ch * utils/hbtest/rt_class.prg * utils/hbtest/rt_str.prg * utils/hbtest/rt_stra.prg * utils/hbtest/rt_date.prg * utils/hbtest/rt_vars.ch * utils/hbtest/rt_array.prg * utils/hbtest/rt_file.prg * utils/hbtest/rt_mt.prg * utils/hbrun/hbrun.prg * Deleted 'www.' from harbour-project.org website name. (www.harbour-project.org -> harbour-project.org) 2010-06-03 14:55 UTC+0200 Viktor Szakats * contrib/hbqt/qtgui/QApplication.cpp * contrib/hbqt/qth/QApplication.qth ! Fixed casing typo of mine causing breakage in *nix builds. 2010-06-03 14:39 UTC+0200 Viktor Szakats * INSTALL * package/winuni/RELNOTES * Updated to show the mailing lists addresses. 2010-06-03 10:43 UTC+0200 Viktor Szakats * harbour-win-spec * src/pp/hbpp.c * src/compiler/hbusage.c * doc/class_tp.txt * doc/howtobld.txt * doc/howtosvn.txt * doc/hdr_tpl.txt * doc/readme.txt * doc/whatsnew.txt * harbour-wce-spec * INSTALL * harbour.spec * utils/hbformat/hbformat.prg * utils/hbmk2/examples/plug_tpl.prg * utils/hbi18n/hbi18n.prg * utils/hbtest/hbtest.prg * utils/hbrun/hbrun.prg * config/global.mk * Deleted 'www.' from harbour-project.org website name. (www.harbour-project.org -> harbour-project.org) * contrib/xhb/xhbarr.c + Added FIXME for AREMOVE() which should better be moved to hbxpp lib (possibly after deleting the xhb extension from that implementation). * package/winuni/RELNOTES + Added 'harbour-project.org' 2010-06-03 09:47 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/xhb/trpc.prg * harbour/contrib/xhb/trpccli.prg ! fixed xhb_StartThread() -> StartThread() * harbour/contrib/xhb/xhbgt.c ! removed unnecessary wrapper to CT3 SETLASTKEY() function * harbour/contrib/hbnf/ftisprn.c ! fixed HB_ISPRINT() -> HB_ISPRINTER() * harbour/contrib/hbxpp/tbrowsex.prg ! added missing _TBR_COORD() definition ; FIXME: this code uses _MAXFREEZE() function which do not exists so it cannot be linked with any application 2010-06-02 19:04 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fixed to also recognize '#include<name>' / '#include"name"' syntax. 2010-06-02 19:00 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added information about standard header locations (as comment yet). * Minor change: HBMK2_HAS_* -> HBMK_HAS_* 2010-06-02 18:52 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/pp/pplib.c * harbour/src/vm/estack.c * harbour/src/common/hbver.c * harbour/src/common/hbdate.c * harbour/src/rtl/gtcrs/gtcrs.c * harbour/src/rtl/hbgtcore.c * harbour/src/rdd/wafunc.c * harbour/src/compiler/hbmain.c * harbour/src/compiler/cmdcheck.c * harbour/src/compiler/genhrb.c * harbour/src/compiler/genobj32.c * harbour/src/compiler/hbusage.c * harbour/src/compiler/hbgenerr.c * harbour/contrib/hbct/ctnet.c * harbour/contrib/xhb/datesxhb.c * harbour/contrib/hbfbird/firebird.c * harbour/contrib/hbpgsql/postgres.c * harbour/contrib/rddads/adsfunc.c * harbour/contrib/rddads/ads1.c * harbour/contrib/hbtip/utils.c * formatting 2010-06-02 17:00 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg % Using precompiled regexp. * ChangeLog ! Fixed my name into header of previous entry. 2010-06-02 13:10 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Now uses regular expression to extract #include directives from source files, so now it should recognize all supported syntax variations (e.g. " # include <>"). The only difference between real source parser is now only the lack of comment filtering (and no preprocessor, but this latter isn't desired for multiple reasons). Pls review me. * src/rtl/hbregex.c * HB_ATX() cleanup code layout, minimalized variable scopes. % HB_ATX() minor optimization: No need to check pcount before calling hb_stor*() functions since it's done anyway inside those calls. * HB_ATX() will now default the 5th <nEnd> parameter to the full length of the passed source string. It's slight incompatibility though I doubt too many users would have called this with empty 5th parameter, since the function just didn't do anything in this case. Pls review this, maybe I misunderstood original intent. 2010-06-02 12:38 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/debug/dbgentry.c * harbour/src/vm/hvm.c + added support for breakpoints and file wide static variables when debugging non main thread. It finished modifications in debugger code for MT mode. Probably we should add yet to debugger support for separate GT window(s) with debugger data for ST and MT applications. 2010-06-02 10:30 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/vm/garbage.c + added new PRG function HB_GCSETAUTO( [<nNewVal>] ) -> <nPrevVal> which allows to set the frequency of automatic GC activation. <nNewVal> is number of GC items (in thousands). If total number of new GC items allocated from last GC pass exceed this value then GC is automatically activated. Setting 0 disable automatic GC activation. Automatic GC activation is necessary for programs which allocates big number of complex items with cyclic references without entering any idle state which can activate GC. In such case users have to add to their code call to hb_gcAll() function. In xHarbour they used sometimes background task for this job but it's inefficient workaround for the problem due to reduced performance. This code is still experimental code enabled by HB_GC_AUTO Harbour compile time macro. * harbour/src/debug/dbgentry.c ! fixed potential memory leak in unused code for GLOBAL [EXTERN] variables ! cleaned a little bit code for line numbers with good break points 2010-06-02 00:41 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/gtwvg/tests/demowvg.prg * contrib/gtwvg/tests/wvgcuigdialog.prg * contrib/gtwvg/tests/wvgtbrowser.prg * contrib/gtwvg/tests/wvgutilities.prg * contrib/gtwvg/tests/wvgwvtclasses.prg * contrib/gtwvg/tests/wvgxbp.prg ! Suffixed remaining resources with hb_dirBase(). * contrib/hbide/hbide.prg * contrib/hbide/ideenviron.prg * contrib/hbide/ideprojmanager.prg ! Changed the way hbide.env file is located if not directed to use one. Before no attempt was made to locate it and user had to assign through "Compiler Environments" dialog. Now hbIDE looks it alongside hbide.ini, if one is not assigned, and loads at startup. 2010-06-01 18:38 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qth/QListWidget.qth * contrib/hbqt/qth/QTableWidget.qth * contrib/hbqt/qth/QTreeWidget.qth ! Changed the way destructors should behave under parent's ownership. * contrib/hbqt/qtgui/QListWidget.cpp * contrib/hbqt/qtgui/QTableWidget.cpp * contrib/hbqt/qtgui/QTreeWidget.cpp * Regenerated. 2010-06-01 14:16 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbide/ideharbourhelp.prg ! Fixed a rare occured bug. * contrib/hbide/idehome.prg ! Rearranged and "Welcome" tab contents columns. * contrib/hbide/ideprojmanager.prg ! Made to invoke "Projects" tree window when a project is created/saved through "Project Properties" dialog. 2010-06-01 21:40 UTC+0200 Viktor Szakats * src/vm/fm.c * src/vm/set.c * SET( _SET_HBOUTLOG, NIL ) will now reset the internal output name to NULL, which is also the new internal default value. * After this change the GPF handler and FM STAT dump code will do the defaulting to "hb_out.log" filename, if the internal _SET_HBOUTLOG value is NULL. This causes a small incompatibility in how log file can be disabled, and at the same time allows to implement low-level logging logic for default case which is safer than current one, while allowing the user (developer) to set a custom log filename and expect regular log file append behavior. From now on to disable logging, use: SET( _SET_HBOUTLOG ) * utils/hbmk2/hbmk2.prg ! Fixed to not do pkg detection and key header evaluation after -stop and certain modes. + Added full list of std C and POSIX headers to the header exclusion list in header dependency parser code. Also added dos.h. * contrib/xhb/dbgfxc.c * Formatting. 2010-06-01 01:46 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Will now ignore current and host directory when looking for system headers (<>) in header dependency finder code. + contrib/hbmysql/hbmysql.hbp + contrib/sddmy/sddmy.hbp + contrib/sddfb/sddfb.hbp + contrib/sddpg/sddpg.hbp + contrib/hbcups/hbcups.hbp + contrib/hbpgsql/hbpgsql.hbp + contrib/rddads/rddads.hbp + contrib/hbfimage/hbfimage.hbp + contrib/hbgd/hbgd.hbp + contrib/sddoci/sddoci.hbp + contrib/hbcairo/hbcairo.hbp + Added new hbmk2 make files. * contrib/hbgd/Makefile - Deleted some information from comment. (now included in INSTALL) * contrib/hbcairo/hbcairo.h * Formatting. 2010-06-01 01:00 UTC+0200 Viktor Szakats * src/common/hbver.c + Applied patch sent by Tamas Tevesz to clean up LLVM/Clang version detection for all existing cases. Thank you very much. 2010-06-01 00:51 UTC+0200 Viktor Szakats + contrib/hbct/hbct.hbp + contrib/xhb/xhb.hbp + contrib/hbtpathy/hbtpathy.hbp + contrib/hbgt/hbgt.hbp + contrib/hbziparc/hbziparc.hbp + contrib/hbxpp/hbxpp.hbp + contrib/rddbmcdx/hbbmcdx.hbp + contrib/hbfoxpro/hbfoxpro.hbp + contrib/hbfoxpro/hbfoxpro.hbc + contrib/rddsql/rddsql.hbp + contrib/hbclipsm/hbclipsm.hbp + Added new hbmk2 make files. * contrib/hbfoxpro/hbfoxpro.ch + Added copyright holder names. 2010-06-01 00:39 UTC+0200 Viktor Szakats + contrib/hbblat/hbblat.hbp + contrib/hbqt/gtqtc/gtqtc.hbp + contrib/hbqt/gtqtc/gtqtcs.hbp + contrib/hbblink/hbblink.hbp + contrib/hbnf/hbnf.hbp + contrib/hbmemio/hbmemio.hbp + contrib/hbfship/hbfship.hbp + contrib/hbnetio/hbnetio.hbp + contrib/gtwvg/gtwvg.hbp + contrib/hbmisc/hbmisc.hbp + contrib/hbbtree/hbbtree.hbp + Added hbmk2 make files. ; NOTE: I intend to move hbbtree to the examples section. It has unfixed portability problems since long time. * contrib/hbqt/hbqt_common.hbm * contrib/hbqt/detect.mk ! Fixed key header name after last changes. * contrib/hbqt/hbqts.hbp * contrib/hbqt/hbqtguis.hbp * contrib/hbqt/hbqtcores.hbp * contrib/hbqt/hbqtnetworks.hbp + Skipping build if HB_QT_STATIC is not set. 2010-05-31 22:37 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/xhb/xhberr.prg ! fixed reporting information about workareas in error.log file generated by default xHarbour error block. Warning this code is still broken in xHarbour CVS. 2010-05-31 20:59 UTC+0200 Viktor Szakats * contrib/hbtip/hbtipssl/Makefile * contrib/hbtip/Makefile + Always create hbtipssl. (not just when openssl is detected) * config/detect.mk * contrib/hbssl/hbssls/Makefile * contrib/hbssl/Makefile * Moved openssl detection from central (core) location to hbssl lib. ! Fixed hbssl GNU Make files after recent change in static/dynamic selection. 2010-05-31 20:35 UTC+0200 Viktor Szakats + contrib/hbtip/hbtip.hbp + contrib/hbtip/hbtipssl.hbp + Added hbtip hbmk2 make files. * contrib/hbssl/hbssl.hbp * contrib/hbssl/hbssls.hbp * contrib/hbssl/hbssl.h * contrib/hbssl/rand.c ! Fixed to avoid -U trick in build files. (static/dll flag reversion logic moved to .c level) * contrib/hbtip/Makefile * Formatting. 2010-05-31 19:47 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added experimental support for filters containing string comparisons, e.g.: '{MY_VAR='hello'}-cflag=-DMY_FLAG' ; NOTE: It's not guaranteed yet that this feature will stay. * include/hbzlib.ch + Added HB_ZLIB_RES_* zlib result values. * contrib/xhb/Makefile - contrib/xhb/hbcomprs.c + contrib/xhb/hbcomprs.prg + contrib/xhb/tests/compress.prg + Rewritten xhb compatiblity compression functions in .prg. The main reason was to avoid dependence on zlib.h on C level. This simplifies the build layout. ! This fixes last zip error to work in MT programs. + Added test/demo program from xhb. Work by Giancarlo Niccolai. ; NOTE: Tested only with xhb test/demo program. * contrib/xhb/hbcomprs.ch + Changed to use HB_ZLIB_* constants. So it's now only a wrapper instead of replicating values. 2010-05-31 18:05 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbxpp/binnumx.c ! fixed typo in W2BIN() function - problem reported by Bicahi Esgici on harbour-user list. Thx. 2010-05-31 15:55 UTC+0200 Viktor Szakats + contrib/gtalleg/gtalleg.hbp + contrib/gtalleg/gtallegs.hbp + contrib/hbcurl/hbcurl.hbp + contrib/hbcurl/hbcurls.hbp + contrib/hbssl/hbssl.hbp + contrib/hbssl/hbssls.hbp + Added .hbp files for some thougher libs. * contrib/hbqt/hbqt_common.hbm * contrib/hbqt/hbqt.hbp * contrib/hbqt/hbqts.hbp * contrib/hbqt/hbqtcore.hbp * contrib/hbqt/hbqtcores.hbp * contrib/hbqt/hbqtgui.hbp * contrib/hbqt/hbqtguis.hbp * contrib/hbqt/hbqtnetwork.hbp * contrib/hbqt/hbqtnetworks.hbp * contrib/hbfbird/hbfbird.hbp * contrib/hbxbp/hbxbp.hbp * contrib/hbcomm/hbcomm.hbp * contrib/hbsms/hbsms.hbp + Added -nohbc. ! Fixed QT hbmk2 files to use different working dir for static and dynamic builds. ! Fixed QT hbmk2 files to create static libs with proper name. * contrib/hbcurl/hbcurls/Makefile ! Minor cleanup. * utils/hbmk2/hbmk2.prg + Will now also parse '#include <name>' style header dependencies. * contrib/hbqt/detect.mk * Synced key header name with .hbp. * contrib/hbcomm/hbcomm.hbp + Added missing -w3 -es2. * contrib/hbqt/hbqt.h - Deleted mild hack no more necessary. 2010-05-31 13:25 UTC+0200 Viktor Szakats + contrib/hbwin/tests/oletst2.vbs + contrib/hbwin/tests/oletst2.js + Added vbscript and jscript test code. * contrib/hbwin/tests/oletst3.bas ! Fixed SVN props. 2010-05-31 12:58 UTC+0200 Viktor Szakats * contrib/hbqt/hbqt.h * contrib/hbqt/hbqt_hbqtableview.h * contrib/hbqt/hbqt_hbevents.h * contrib/hbqt/hbqt_hbdbfmodel.cpp * contrib/hbqt/hbqt_hbqsyntaxhighlighter.cpp * contrib/hbqt/hbqt_hbqmainwindow.h * contrib/hbqt/hbqt_hbqtableview.cpp * contrib/hbqt/hbqt_hbevents.cpp * contrib/hbqt/hbqt_hbqplaintextedit.h * contrib/hbqt/hbqt_hbdbfmodel.h * contrib/hbqt/hbqt_destruct.cpp * contrib/hbqt/hbqt_utils.cpp * contrib/hbqt/hbqt_hbqsyntaxhighlighter.h * contrib/hbqt/hbqt_hbqplaintextedit.cpp * contrib/hbqt/hbqt_hbslots.cpp * contrib/hbqt/qth/QVariant.qth * contrib/hbqt/qth/QCursor.qth * contrib/hbqt/qth/QClipboard.qth * contrib/hbqt/qth/QApplication.qth * contrib/hbqt/qth/QCoreApplication.qth * contrib/hbqt/qth/QImage.qth * contrib/hbqt/qth/QUrl.qth * contrib/hbqt/qth/QAbstractItemModel.qth * contrib/hbqt/qth/QImageReader.qth * contrib/hbqt/qth/QWebHistoryItem.qth * contrib/hbqt/qth/QFont.qth * contrib/hbqt/qth/QFontDatabase.qth ! Fixed to use '#include <QModule/QName>' format when referring to QT headers. This is the official way and it allows to clean the include header paths. ! Fixed to use '#include <QtCore/qglobal>' instead of '#include <qglobal.h>' for the same reason as above. * contrib/hbqt/hbqt.h + Added '#include "QtCore/QObject"' to make hbmk2 component detection happy. This is slight hack as I didn't want to introduce parsing of '<>' style system headers just for the sake of QT. Anyway it's quite humble hack without side effects. * contrib/hbqt/detect.mk * Changed to 'QtCore/qglobal.h' as key header name used for detection. ! Fix to header dir autodetection path on darwin platform. (it would have caused potential problem with QT 5.x releases) % Simplified header path list for non-darwin platforms. + contrib/hbqt/hbqt_common.hbm + contrib/hbqt/hbqt.hbp + contrib/hbqt/hbqts.hbp + contrib/hbqt/hbqtcore.hbp + contrib/hbqt/hbqtcores.hbp + contrib/hbqt/hbqtgui.hbp + contrib/hbqt/hbqtguis.hbp + contrib/hbqt/hbqtnetwork.hbp + contrib/hbqt/hbqtnetworks.hbp + Added hbmk2 make files for HBQT libs. Features are equivalent to the GNU Make flavour. (only tested on Windows so far) + contrib/hbxbp/hbxbp.hbp + Added hbmk2 make file for HBXBP lib. * contrib/hbfbird/hbfbird.hbp * contrib/hbsms/hbsms.hbp * Use ${hb_name} instead of ${hb_dirname}. + Added -w3 -es3 options. * utils/hbmk2/hbmk2.prg + Set pathseps to '/' in "-reqheader=' and '-reqpkg=' header names. - utils/hbmk2/examples/plug_moc.prg + contrib/hbqt/plug_moc.prg * Moved inside hbqt lib. * contrib/hbqt/qtgui/* * contrib/hbqt/qtcore/* * Regenerated. 2010-05-31 11:46 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/xhb/xhbhasha.c ! fixed HSETAACOMPATIBILITY() to always return .T. * harbour/contrib/xhb/hbcompat.ch + added PP commands for HAA*() functions 2010-05-31 10:19 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/vm/maindllp/dllpcode.c * harbour/src/vm/procaddr.c * harbour/src/common/funcid.c * harbour/src/rtl/hbinetz.c * harbour/src/rtl/hbcom.c * harbour/include/hbapicom.h * harbour/contrib/hbct/ctcom1.c * harbour/contrib/hbct/ctcom.ch * harbour/contrib/hbct/ctcom2.c * harbour/contrib/xhb/xhbhasha.c * harbour/contrib/xhb/xhw32prn.prg * harbour/contrib/hbqt/qtgui/HBQTextBlockUserData.cpp * harbour/contrib/hbqt/qtgui/QStackedWidget.cpp * harbour/contrib/hbqt/qtgui/QTextList.cpp * harbour/contrib/hbqt/qtgui/THBQSyntaxHighlighter.prg * harbour/contrib/hbqt/qtgui/THBQPlainTextEdit.prg * harbour/contrib/hbqt/qtgui/HBQSyntaxHighlighter.cpp * harbour/contrib/hbqt/qtgui/HBQPlainTextEdit.cpp * harbour/contrib/hbqt/qtgui/TQPlainTextDocumentLayout.prg * harbour/contrib/hbqt/qtgui/TQTextList.prg * harbour/contrib/hbqt/qtgui/THBQTableView.prg * harbour/contrib/hbqt/qtgui/QPlainTextDocumentLayout.cpp * harbour/contrib/hbqt/qtgui/TQPaintEngine.prg * harbour/contrib/hbqt/qtgui/HBQTableView.cpp * harbour/contrib/hbqt/qtgui/QPaintEngine.cpp * harbour/contrib/hbqt/qtgui/TQStackedWidget.prg * harbour/contrib/hbqt/qtgui/filelist.mk * harbour/contrib/hbqt/qtgui/HBQMainWindow.cpp * harbour/contrib/hbqt/qtgui/TQMdiArea.prg * harbour/contrib/hbqt/qtgui/QMdiSubWindow.cpp * harbour/contrib/hbqt/qtgui/QMdiArea.cpp * harbour/contrib/hbqt/qtgui/THBQMainWindow.prg * harbour/contrib/hbqt/qtgui/TQMdiSubWindow.prg * harbour/contrib/hbqt/qtgui/THBQTextBlockUserData.prg * harbour/contrib/hbqt/qtcore/HBSlots.cpp * harbour/contrib/hbqt/qtcore/THBEvents.prg * harbour/contrib/hbqt/qtcore/THBDbfModel.prg * harbour/contrib/hbqt/qtcore/TQBuffer.prg * harbour/contrib/hbqt/qtcore/THBSlots.prg * harbour/contrib/hbqt/qtcore/HBEvents.cpp * harbour/contrib/hbqt/qtcore/HBDbfModel.cpp * harbour/contrib/hbqt/qtcore/QBuffer.cpp * harbour/contrib/hbqt/doc/en/class_qtabbar.txt * harbour/contrib/hbqt/doc/en/class_qfontdatabase.txt * harbour/contrib/hbqt/doc/en/class_qstyleoptionmenuitem.txt * harbour/contrib/hbqt/doc/en/class_qapplication.txt * harbour/contrib/hbqt/doc/en/class_qmatrix.txt * harbour/contrib/hbqt/doc/en/class_qabstractslider.txt * harbour/contrib/hbqt/doc/en/class_qtextdecoder.txt * harbour/contrib/hbqt/doc/en/class_qlcdnumber.txt * harbour/contrib/hbqt/doc/en/class_qtextoption.txt * harbour/contrib/hbqt/doc/en/class_qcolor.txt * harbour/contrib/hbqt/doc/en/class_qtextlist.txt * harbour/contrib/hbqt/doc/en/class_qtextboundaryfinder.txt * harbour/contrib/hbqt/doc/en/class_qstyleoptioncombobox.txt * harbour/contrib/hbqt/doc/en/class_qslider.txt * harbour/contrib/hbqt/doc/en/class_qitemselectionmodel.txt * harbour/contrib/hbqt/doc/en/class_qconicalgradient.txt * harbour/contrib/hbqt/doc/en/class_qcompleter.txt * harbour/contrib/hbqt/doc/en/class_qstyleoptionspinbox.txt * harbour/contrib/hbqt/doc/en/class_qstyleoptionslider.txt * harbour/contrib/hbqt/doc/en/class_qwizardpage.txt * harbour/contrib/hbqt/doc/en/class_qpixmap.txt * harbour/contrib/hbqt/doc/en/class_qwebsettings.txt * harbour/contrib/hbqt/doc/en/class_qstyleoptionprogressbar.txt * harbour/contrib/hbqt/doc/en/class_qinputcontext.txt * harbour/contrib/hbqt/doc/en/class_qplaintextdocumentlayout.txt * harbour/contrib/hbqt/doc/en/class_qdial.txt * harbour/contrib/hbqt/doc/en/class_qeventloop.txt * harbour/contrib/hbqt/doc/en/class_qpagesetupdialog.txt * harbour/contrib/hbqt/doc/en/class_qstyleditemdelegate.txt * harbour/contrib/hbqt/doc/en/class_qinputdialog.txt * harbour/contrib/hbqt/doc/en/class_qkeysequence.txt * harbour/contrib/hbqt/doc/en/class_qtableview.txt * harbour/contrib/hbqt/doc/en/class_qregion.txt * harbour/contrib/hbqt/doc/en/class_qmenubar.txt * harbour/contrib/hbqt/doc/en/class_qactiongroup.txt * harbour/contrib/hbqt/doc/en/class_qtextcharformat.txt * harbour/contrib/hbqt/doc/en/class_qmessagebox.txt * harbour/contrib/hbqt/doc/en/class_qtime.txt * harbour/contrib/hbqt/doc/en/class_qthread.txt * harbour/contrib/hbqt/doc/en/class_qtextinlineobject.txt * harbour/contrib/hbqt/doc/en/class_qtransform.txt * harbour/contrib/hbqt/doc/en/class_qpushbutton.txt * harbour/contrib/hbqt/doc/en/class_qcontextmenuevent.txt * harbour/contrib/hbqt/doc/en/class_qsessionmanager.txt * harbour/contrib/hbqt/doc/en/class_qtimer.txt * harbour/contrib/hbqt/doc/en/class_qtextcodec.txt * harbour/contrib/hbqt/doc/en/class_qprintengine.txt * harbour/contrib/hbqt/doc/en/class_qpen.txt * harbour/contrib/hbqt/doc/en/class_qstyleoptiontoolbutton.txt * harbour/contrib/hbqt/doc/en/class_qprogressdialog.txt * harbour/contrib/hbqt/doc/en/class_qkeyevent.txt * harbour/contrib/hbqt/doc/en/class_qtextformat.txt * harbour/contrib/hbqt/doc/en/class_qpalette.txt * harbour/contrib/hbqt/doc/en/class_qpainter.txt * harbour/contrib/hbqt/doc/en/class_qnetworkrequest.txt * harbour/contrib/hbqt/doc/en/class_qstyleoptionframe.txt * harbour/contrib/hbqt/doc/en/class_hbdbfmodel.txt * harbour/contrib/hbqt/doc/en/class_qstyleoptionfocusrect.txt * harbour/contrib/hbqt/doc/en/class_qaction.txt * harbour/contrib/hbqt/doc/en/class_qfontinfo.txt * harbour/contrib/hbqt/doc/en/class_qimage.txt * harbour/contrib/hbqt/doc/en/class_qstylepainter.txt * harbour/contrib/hbqt/doc/en/class_qwidget.txt * harbour/contrib/hbqt/doc/en/class_qabstractproxymodel.txt * harbour/contrib/hbqt/doc/en/class_qbuttongroup.txt * harbour/contrib/hbqt/doc/en/class_qtranslator.txt * harbour/contrib/hbqt/doc/en/class_qspaceritem.txt * harbour/contrib/hbqt/doc/en/class_qsystemtrayicon.txt * harbour/contrib/hbqt/doc/en/class_qpolygonf.txt * harbour/contrib/hbqt/doc/en/class_qcolordialog.txt * harbour/contrib/hbqt/doc/en/class_qlistwidgetitem.txt * harbour/contrib/hbqt/doc/en/class_qfiledialog.txt * harbour/contrib/hbqt/doc/en/class_qclipboard.txt * harbour/contrib/hbqt/doc/en/class_qfontcombobox.txt * harbour/contrib/hbqt/doc/en/class_qtextstream.txt * harbour/contrib/hbqt/doc/en/class_qstyleoptiontoolbox.txt * harbour/contrib/hbqt/doc/en/class_qstyleoptiontabbarbase.txt * harbour/contrib/hbqt/doc/en/class_qformlayout.txt * harbour/contrib/hbqt/doc/en/class_qmdiarea.txt * harbour/contrib/hbqt/doc/en/class_qlist.txt * harbour/contrib/hbqt/doc/en/class_qdate.txt * harbour/contrib/hbqt/doc/en/class_qcursor.txt * harbour/contrib/hbqt/doc/en/class_qlayout.txt * harbour/contrib/hbqt/doc/en/class_qsignalmapper.txt * harbour/contrib/hbqt/doc/en/class_qtextdocument.txt * harbour/contrib/hbqt/doc/en/class_qtextbrowser.txt * harbour/contrib/hbqt/doc/en/class_qmodelindex.txt * harbour/contrib/hbqt/doc/en/class_qtablewidget.txt * harbour/contrib/hbqt/doc/en/class_qpointf.txt * harbour/contrib/hbqt/doc/en/class_qpaintengine.txt * harbour/contrib/hbqt/doc/en/class_qbytearray.txt * harbour/contrib/hbqt/doc/en/class_qrectf.txt * harbour/contrib/hbqt/doc/en/class_qfontmetricsf.txt * harbour/contrib/hbqt/doc/en/class_quiloader.txt * harbour/contrib/hbqt/doc/en/class_qfont.txt * harbour/contrib/hbqt/doc/en/class_qtextdocumentfragment.txt * harbour/contrib/hbqt/doc/en/class_qtextframeformat.txt * harbour/contrib/hbqt/doc/en/class_qtextblockformat.txt * harbour/contrib/hbqt/doc/en/class_qabstractscrollarea.txt * harbour/contrib/hbqt/doc/en/class_qstyleoptiontoolbar.txt * harbour/contrib/hbqt/doc/en/class_qcoreapplication.txt * harbour/contrib/hbqt/doc/en/class_qimagewriter.txt * harbour/contrib/hbqt/doc/en/class_qscrollarea.txt * harbour/contrib/hbqt/doc/en/class_qpaintdevice.txt * harbour/contrib/hbqt/doc/en/class_qlayoutitem.txt * harbour/contrib/hbqt/doc/en/class_qrect.txt * harbour/contrib/hbqt/doc/en/class_qfontmetrics.txt * harbour/contrib/hbqt/doc/en/class_qabstractitemmodel.txt * harbour/contrib/hbqt/doc/en/class_qdragmoveevent.txt * harbour/contrib/hbqt/doc/en/class_qtextfragment.txt * harbour/contrib/hbqt/doc/en/class_qbuffer.txt * harbour/contrib/hbqt/doc/en/class_qwebpage.txt * harbour/contrib/hbqt/doc/en/class_qprintdialog.txt * harbour/contrib/hbqt/doc/en/class_qbitmap.txt * harbour/contrib/hbqt/doc/en/class_qdoublespinbox.txt * harbour/contrib/hbqt/doc/en/class_qspinbox.txt * harbour/contrib/hbqt/doc/en/class_qlatin1char.txt * harbour/contrib/hbqt/doc/en/class_qhttpheader.txt * harbour/contrib/hbqt/doc/en/class_qvariant.txt * harbour/contrib/hbqt/doc/en/class_qitemselection.txt * harbour/contrib/hbqt/doc/en/class_qsyntaxhighlighter.txt * harbour/contrib/hbqt/doc/en/class_qimagereader.txt * harbour/contrib/hbqt/doc/en/class_qobject.txt * harbour/contrib/hbqt/doc/en/class_qwebhistoryitem.txt * harbour/contrib/hbqt/doc/en/class_qtreewidgetitem.txt * harbour/contrib/hbqt/doc/en/class_qgridlayout.txt * harbour/contrib/hbqt/doc/en/class_qvalidator.txt * harbour/contrib/hbqt/doc/en/class_qtextlength.txt * harbour/contrib/hbqt/doc/en/class_qiodevice.txt * harbour/contrib/hbqt/doc/en/class_qlinef.txt * harbour/contrib/hbqt/doc/en/class_qstyleoptiondockwidget.txt * harbour/contrib/hbqt/doc/en/class_qhttprequestheader.txt * harbour/contrib/hbqt/doc/en/class_qresizeevent.txt * harbour/contrib/hbqt/doc/en/class_qgroupbox.txt * harbour/contrib/hbqt/doc/en/class_qpicture.txt * harbour/contrib/hbqt/doc/en/class_qpaintevent.txt * harbour/contrib/hbqt/doc/en/class_qstyleoptiontab.txt * harbour/contrib/hbqt/doc/en/class_qsizef.txt * harbour/contrib/hbqt/doc/en/class_qstackedwidget.txt * harbour/contrib/hbqt/doc/en/class_qwebpluginfactory.txt * harbour/contrib/hbqt/doc/en/class_qdatastream.txt * harbour/contrib/hbqt/doc/en/class_qfontdialog.txt * harbour/contrib/hbqt/doc/en/class_qstylefactory.txt * harbour/contrib/hbqt/doc/en/class_hbqplaintextedit.txt * harbour/contrib/hbqt/doc/en/class_qmouseevent.txt * harbour/contrib/hbqt/doc/en/class_qdatetime.txt * harbour/contrib/hbqt/doc/en/class_hbqtextblockuserdata.txt * harbour/contrib/hbqt/doc/en/class_qwheelevent.txt * harbour/contrib/hbqt/doc/en/class_qabstractitemdelegate.txt * harbour/contrib/hbqt/doc/en/class_qfocusevent.txt * harbour/contrib/hbqt/doc/en/class_qwidgetaction.txt * harbour/contrib/hbqt/doc/en/class_qstringlistmodel.txt * harbour/contrib/hbqt/doc/en/class_qtoolbox.txt * harbour/contrib/hbqt/doc/en/class_qcheckbox.txt * harbour/contrib/hbqt/doc/en/class_qwebframe.txt * harbour/contrib/hbqt/doc/en/class_qsound.txt * harbour/contrib/hbqt/doc/en/class_qstyleoption.txt * harbour/contrib/hbqt/doc/en/class_qpoint.txt * harbour/contrib/hbqt/doc/en/class_qftp.txt * harbour/contrib/hbqt/doc/en/class_qerrormessage.txt * harbour/contrib/hbqt/doc/en/class_qdirmodel.txt * harbour/contrib/hbqt/doc/en/class_qsettings.txt * harbour/contrib/hbqt/doc/en/class_qabstractprintdialog.txt * harbour/contrib/hbqt/doc/en/class_qurl.txt * harbour/contrib/hbqt/doc/en/class_qstringlist.txt * harbour/contrib/hbqt/doc/en/class_qdatetimeedit.txt * harbour/contrib/hbqt/doc/en/class_qstyleoptionviewitem.txt * harbour/contrib/hbqt/doc/en/class_qfileiconprovider.txt * harbour/contrib/hbqt/doc/en/class_qfilesystemmodel.txt * harbour/contrib/hbqt/doc/en/class_qabstractspinbox.txt * harbour/contrib/hbqt/doc/en/class_qmoveevent.txt * harbour/contrib/hbqt/doc/en/class_qtoolbutton.txt * harbour/contrib/hbqt/doc/en/class_qfile.txt * harbour/contrib/hbqt/doc/en/class_qlistwidget.txt * harbour/contrib/hbqt/doc/en/class_qmovie.txt * harbour/contrib/hbqt/doc/en/class_qstyleoptiontitlebar.txt * harbour/contrib/hbqt/doc/en/class_qevent.txt * harbour/contrib/hbqt/doc/en/class_qtextlayout.txt * harbour/contrib/hbqt/doc/en/class_qtextcursor.txt * harbour/contrib/hbqt/doc/en/class_qpolygon.txt * harbour/contrib/hbqt/doc/en/class_qtreeview.txt * harbour/contrib/hbqt/doc/en/class_qtextline.txt * harbour/contrib/hbqt/doc/en/class_qwizard.txt * harbour/contrib/hbqt/doc/en/class_qtoolbar.txt * harbour/contrib/hbqt/doc/en/class_qtextitem.txt * harbour/contrib/hbqt/doc/en/class_qabstracttextdocumentlayout.txt * harbour/contrib/hbqt/doc/en/class_qsplitter.txt * harbour/contrib/hbqt/doc/en/class_qwebsecurityorigin.txt * harbour/contrib/hbqt/doc/en/class_qstandarditem.txt * harbour/contrib/hbqt/doc/en/class_hbqsyntaxhighlighter.txt * harbour/contrib/hbqt/doc/en/class_qlatin1string.txt * harbour/contrib/hbqt/doc/en/class_qheaderview.txt * harbour/contrib/hbqt/doc/en/class_qtextencoder.txt * harbour/contrib/hbqt/doc/en/class_qsplashscreen.txt * harbour/contrib/hbqt/doc/en/class_qsizepolicy.txt * harbour/contrib/hbqt/doc/en/class_qfocusframe.txt * harbour/contrib/hbqt/doc/en/class_hbslots.txt * harbour/contrib/hbqt/doc/en/class_hbevents.txt * harbour/contrib/hbqt/doc/en/class_qlineedit.txt * harbour/contrib/hbqt/doc/en/class_qlocale.txt * harbour/contrib/hbqt/doc/en/class_qtextimageformat.txt * harbour/contrib/hbqt/doc/en/class_qstandarditemmodel.txt * harbour/contrib/hbqt/doc/en/class_qstyleoptionsizegrip.txt * harbour/contrib/hbqt/doc/en/class_qdropevent.txt * harbour/contrib/hbqt/doc/en/class_qcombobox.txt * harbour/contrib/hbqt/doc/en/class_qsize.txt * harbour/contrib/hbqt/doc/en/class_qchar.txt * harbour/contrib/hbqt/doc/en/class_qtablewidgetselectionrange.txt * harbour/contrib/hbqt/doc/en/class_qplaintextedit.txt * harbour/contrib/hbqt/doc/en/class_qstyleoptiongroupbox.txt * harbour/contrib/hbqt/doc/en/class_qtextdocumentwriter.txt * harbour/contrib/hbqt/doc/en/class_qabstractlistmodel.txt * harbour/contrib/hbqt/doc/en/class_qprinter.txt * harbour/contrib/hbqt/doc/en/class_qframe.txt * harbour/contrib/hbqt/doc/en/class_qfileinfo.txt * harbour/contrib/hbqt/doc/en/class_qgradient.txt * harbour/contrib/hbqt/doc/en/class_qstyleoptiontabwidgetframe.txt * harbour/contrib/hbqt/doc/en/class_qinputevent.txt * harbour/contrib/hbqt/doc/en/class_qstyleoptionheader.txt * harbour/contrib/hbqt/doc/en/class_qwidgetitem.txt * harbour/contrib/hbqt/doc/en/class_qtexttableformat.txt * harbour/contrib/hbqt/doc/en/class_qradialgradient.txt * harbour/contrib/hbqt/doc/en/class_qtextobject.txt * harbour/contrib/hbqt/doc/en/class_qmdisubwindow.txt * harbour/contrib/hbqt/doc/en/class_qabstractitemview.txt * harbour/contrib/hbqt/doc/en/class_qboxlayout.txt * harbour/contrib/hbqt/doc/en/class_qresource.txt * harbour/contrib/hbqt/doc/en/class_qlineargradient.txt * harbour/contrib/hbqt/doc/en/class_qtextlistformat.txt * harbour/contrib/hbqt/doc/en/class_qwebhistory.txt * harbour/contrib/hbqt/doc/en/class_qtextframe.txt * harbour/contrib/hbqt/doc/en/class_qtextblock.txt * harbour/contrib/hbqt/doc/en/class_qinputmethodevent.txt * harbour/contrib/hbqt/doc/en/class_qtreewidget.txt * harbour/contrib/hbqt/doc/en/class_qmenu.txt * harbour/contrib/hbqt/doc/en/class_qstatusbar.txt * harbour/contrib/hbqt/doc/en/class_qtabwidget.txt * harbour/contrib/hbqt/doc/en/class_qtablewidgetitem.txt * harbour/contrib/hbqt/doc/en/class_qdesktopwidget.txt * harbour/contrib/hbqt/doc/en/class_qprintpreviewdialog.txt * harbour/contrib/hbqt/doc/en/class_qdir.txt * harbour/contrib/hbqt/doc/en/class_qpainterpath.txt * harbour/contrib/hbqt/doc/en/class_qwebhittestresult.txt * harbour/contrib/hbqt/doc/en/class_qline.txt * harbour/contrib/hbqt/doc/en/class_qicon.txt * harbour/contrib/hbqt/doc/en/class_qprogressbar.txt * harbour/contrib/hbqt/doc/en/class_qtextedit.txt * harbour/contrib/hbqt/doc/en/class_qregexp.txt * harbour/contrib/hbqt/doc/en/class_qhelpevent.txt * harbour/contrib/hbqt/doc/en/class_qabstracttablemodel.txt * harbour/contrib/hbqt/doc/en/class_qdialog.txt * harbour/contrib/hbqt/doc/en/class_qabstractbutton.txt * harbour/contrib/hbqt/doc/en/class_qstyle.txt * harbour/contrib/hbqt/doc/en/class_qlistview.txt * harbour/contrib/hbqt/doc/en/class_qhttpresponseheader.txt * harbour/contrib/hbqt/doc/en/class_qwebview.txt * harbour/contrib/hbqt/doc/en/class_qmainwindow.txt * harbour/contrib/hbqt/doc/en/class_qbitarray.txt * harbour/contrib/hbqt/doc/en/class_qcalendarwidget.txt * harbour/contrib/hbqt/doc/en/class_qprocess.txt * harbour/contrib/hbqt/doc/en/class_qhttp.txt * harbour/contrib/hbqt/doc/en/class_qlabel.txt * harbour/contrib/hbqt/doc/en/class_qwebhistoryinterface.txt * harbour/contrib/hbqt/doc/en/class_qstyleoptioncomplex.txt * harbour/contrib/hbqt/doc/en/class_qmimedata.txt * harbour/contrib/hbqt/doc/en/class_qbrush.txt * harbour/contrib/hbqt/doc/en/class_qdockwidget.txt * harbour/contrib/hbqt/doc/en/class_qstyleoptionbutton.txt * harbour/contrib/hbqt/doc/en/class_qcommandlinkbutton.txt * harbour/contrib/hbqt/THbQtUI.prg * harbour/contrib/hbqt/hbqt_hbqplaintextedit.h * harbour/contrib/hbqt/hbqscintilla/QsciCommand.cpp * harbour/contrib/hbqt/hbqscintilla/QsciDocument.cpp * harbour/contrib/hbqt/hbqscintilla/QsciLexer.cpp * harbour/contrib/hbqt/hbqscintilla/hbqscintilla.hbp * harbour/contrib/hbqt/hbqscintilla/TQsciCommandSet.prg * harbour/contrib/hbqt/hbqscintilla/THBQsciScintilla.prg * harbour/contrib/hbqt/hbqscintilla/QsciAPIs.cpp * harbour/contrib/hbqt/hbqscintilla/QsciLexerFlagship.cpp * harbour/contrib/hbqt/hbqscintilla/QsciStyle.cpp * harbour/contrib/hbqt/hbqscintilla/TQsciStyledText.prg * harbour/contrib/hbqt/hbqscintilla/doc/en/class_qsciapis.txt * harbour/contrib/hbqt/hbqscintilla/doc/en/class_qscilexerflagship.txt * harbour/contrib/hbqt/hbqscintilla/doc/en/class_qscicommand.txt * harbour/contrib/hbqt/hbqscintilla/doc/en/class_qscilexer.txt * harbour/contrib/hbqt/hbqscintilla/doc/en/class_qsciabstractapis.txt * harbour/contrib/hbqt/hbqscintilla/doc/en/class_qscistyle.txt * harbour/contrib/hbqt/hbqscintilla/doc/en/class_qscilexercpp.txt * harbour/contrib/hbqt/hbqscintilla/doc/en/class_qsciscintilla.txt * harbour/contrib/hbqt/hbqscintilla/doc/en/class_qscistyledtext.txt * harbour/contrib/hbqt/hbqscintilla/doc/en/class_qscicommandset.txt * harbour/contrib/hbqt/hbqscintilla/TQsciDocument.prg * harbour/contrib/hbqt/hbqscintilla/TQsciCommand.prg * harbour/contrib/hbqt/hbqscintilla/TQsciLexer.prg * harbour/contrib/hbqt/hbqscintilla/hbqt_hbqsciscintilla.h * harbour/contrib/hbqt/hbqscintilla/QsciAbstractAPIs.cpp * harbour/contrib/hbqt/hbqscintilla/QsciLexerCPP.cpp * harbour/contrib/hbqt/hbqscintilla/QsciScintilla.cpp * harbour/contrib/hbqt/hbqscintilla/TQsciAPIs.prg * harbour/contrib/hbqt/hbqscintilla/TQsciLexerFlagship.prg * harbour/contrib/hbqt/hbqscintilla/TQsciStyle.prg * harbour/contrib/hbqt/hbqscintilla/QsciCommandSet.cpp * harbour/contrib/hbqt/hbqscintilla/hbqt_garbage.h * harbour/contrib/hbqt/hbqscintilla/HBQsciScintilla.cpp * harbour/contrib/hbqt/hbqscintilla/hbqt_local.h * harbour/contrib/hbqt/hbqscintilla/hbqscintilla.ch * harbour/contrib/hbqt/hbqscintilla/QsciStyledText.cpp * harbour/contrib/hbqt/hbqscintilla/hbqt_hbqsciscintilla.cpp * harbour/contrib/hbqt/hbqscintilla/TQsciAbstractAPIs.prg * harbour/contrib/hbqt/hbqscintilla/TQsciLexerCPP.prg * harbour/contrib/hbqt/hbqscintilla/TQsciScintilla.prg * harbour/contrib/hbqt/qtnetwork/filelist.mk * harbour/contrib/hbqt/hbqt_hbqplaintextedit.cpp * harbour/contrib/hbxbp/xbpclipboard.prg * harbour/contrib/hbxbp/hbpprocess.prg * harbour/contrib/hbxbp/xbpgra.prg * harbour/contrib/hbbz2/hbbz2.ch * harbour/contrib/hbbz2/hbbz2.c * harbour/contrib/hbbz2/Makefile * harbour/contrib/hbblink/hbblink.hbc * harbour/contrib/hbblink/Makefile * harbour/contrib/hbxpp/dmlb.ch * harbour/contrib/hbxpp/wafuncx.c * harbour/contrib/hbnetio/tests/netiot03.prg * harbour/contrib/hbnetio/readme.txt * harbour/contrib/gtwvg/tests/wvgtbrowser.prg * harbour/contrib/gtwvg/tests/wvgcuigdialog.prg * harbour/contrib/gtwvg/tests/wvgutilities.prg * harbour/contrib/gtwvg/tests/wvgqt.prg * harbour/contrib/gtwvg/tests/wvgxbp.prg * harbour/contrib/gtwvg/tests/wvgmodal.prg * harbour/contrib/gtwvg/tests/wvgdyndialogs.prg * harbour/contrib/gtwvg/tests/wvgwvtclasses.prg * harbour/contrib/gtwvg/tests/wvgactivex.prg * harbour/contrib/sddsqlt3/tests/test1.prg * harbour/contrib/hbwin/tests/oletst1.prg * harbour/contrib/hbwin/tests/oletst2.prg * harbour/contrib/hbwin/tests/oletst3.prg * harbour/contrib/hbwin/tests/oletst4.prg * harbour/contrib/hbwin/tests/olesrv4.hbp * harbour/contrib/hbwin/tests/olesrv1.prg * harbour/contrib/hbwin/tests/olesrv2.prg * harbour/contrib/hbwin/tests/olesrv3.prg * harbour/contrib/hbwin/tests/olesrv4.prg * harbour/contrib/hbwin/tests/oletst4.hbp * harbour/contrib/hbwin/win_shell.c * harbour/contrib/hbwin/hbolesrv.c * harbour/contrib/hbide/ideharbourhelp.prg * harbour/contrib/hbide/ideplugins.prg * harbour/contrib/hbide/ideedit.prg * harbour/contrib/hbide/idewizard.prg * harbour/contrib/hbide/ideskeletons.prg * harbour/contrib/hbide/idefunctions.prg * harbour/contrib/hbide/plugins/savebackup.prg * harbour/contrib/hbide/ideenviron.prg * harbour/contrib/hbide/idehome.prg * harbour/contrib/hbide/ideshortcuts.prg * harbour/contrib/hbide/idetools.prg * harbour/contrib/hbide/idedocwriter.prg * harbour/contrib/hbsms/tests/send.prg * harbour/contrib/hbsms/tests/hbmk.hbm * harbour/contrib/hbsms/hbsms.prg * harbour/contrib/hbsms/hbsms.hbc * harbour/contrib/hbsms/Makefile * harbour/config/linux/open64.mk ! added missing SVN keywords and/or eol-style attributes ! converted some hard coded LFCR to native EOLs 2010-05-31 10:13 UTC+0200 Viktor Szakats * contrib/xhb/hbcompat.ch * contrib/xhb/xhb.ch + Added xhb.ch translations for following functions: AINS(), ADEL(), NETNAME(), MEMOWRIT(), SAVESCREEN(), RESTSCREEN(), RTRIM(), TRIM(), ALLTRIM() 2010-05-30 19:59 UTC+0200 Viktor Szakats * contrib/xhb/hbcompat.ch * contrib/xhb/xhbfs.c ! Deleted FILESIZE(). It's not an xhb compatibility function, but one offered as part of CT lib in xhb, and HBCT in Harbour. * src/common/hbver.c + Added compiler version detection for clang 2.x (and newer) Patch by Tamas Tevesz. * INSTALL * Minor. * config/bsd/clang.mk * config/linux/clang.mk + Clearing forced C++ mode if clang 1.x is detected. (Patch from Tamas Tevesz. Slight fix added by me to set HB_CMP when falling back to C mode. I didn't make tests though.) ; NOTE: Probably HB_BUILD_MODE=c should be export-ed to avoid double evaluation. Pls test it. * config/postinst.prg * config/ren_sfn.prg + Raised warning level to 3. 2010-05-29 18:50 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/generator/hbqtgen.prg ! A minor fix, no effect on sources. * contrib/hbqt/doc/en/class_hbqplaintextedit.txt * contrib/hbqt/hbqt_hbqplaintextedit.cpp * contrib/hbqt/hbqt_hbqplaintextedit.h * contrib/hbqt/qtgui/HBQPlainTextEdit.cpp * contrib/hbqt/qtgui/THBQPlainTextEdit.prg * contrib/hbqt/qth/HBQPlainTextEdit.qth + Added more PRG callable methods. * contrib/hbide/hbide.prg * contrib/hbide/ideactions.prg * contrib/hbide/idedocks.prg * contrib/hbide/idedocwriter.prg * contrib/hbide/ideedit.prg * contrib/hbide/ideeditor.prg * contrib/hbide/idefunctions.prg * contrib/hbide/ideharbourhelp.prg * contrib/hbide/idemisc.prg * contrib/hbide/ideobject.prg * contrib/hbide/ideprojmanager.prg * contrib/hbide/ideshortcuts.prg + Implemented: selection "persistancy" controllable programatically" Ctrl+F11 is designated for this task. A slot in "Keyboard Mappings" is also provided. By default persistant selection is disabled and hence behaves exectly like it was before persistancy and more natural like other editors. Ctrl+F11 toggles it on/off and if switched on, behaviour will follow the implemenation just before this commit. If selection mode is activated programatically, behavior remains the same as before. Please test, bumps are expected. % Some major artifacts how cursor should behave after paste, etc. + Implemented: document writer is now capable to pulls the existing help body and correctly reinstates the changes. This implies that for your sources help it can be used in real-time. Please test and post if you find difficulties. TODO: the same behavior with disk files. 2010-05-29 23:42 UTC+0200 Viktor Szakats * INSTALL + HB_QT_STATIC not Windows specific anymore. + Documented HB_QT_MOC_BIN envvar. 2010-05-29 23:30 UTC+0200 Viktor Szakats * contrib/hbqt/Makefile * contrib/hbqt/qtgui/Makefile * contrib/hbqt/qtcore/Makefile * contrib/hbqt/qtnetwork/Makefile + Enabled HB_QT_STATIC for all OSes. * contrib/hbqt/hbqt.hbc * contrib/hbqt/hbqts.hbc - Deleted no more needed special Windows system libs. * contrib/hbqt/hbqts.hbc - Deleted webkit libs. + Enabled static libs for linux. (they are named the same as on Windows) * contrib/gtwvg/tests/demowvg.hbp ! Missing SVN header. ! Missing SVN props. ! Deleted local system specific absolute paths. FIXME: HBIDE should make the working (what is it BTW?) and destination folders relative to the location of .hbp. BTW destination is redundant, since -o already specifies that. ! Deleted -trace -info. These should be user decisions. 2010-05-29 18:56 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Shows version of detected packages. 2010-05-29 18:00 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Beefed up and fixed -reqpkg feature: + Possible to pass multiple alternate pkg names: -reqpkg=cairo|cairo2|cairo.h + Possible to attach header name, in which case it will automatically satify the -reqheader= parameter with same header name, if it exists. Headers without extension can be specified as 'header.' ! Fixed to use case-insensitive lookup in header list on non-*nix systems. + Added -info messages regarding pkg detection. ! Fixed parsing of -l/-L/-I parameters in pkg detection code. 2010-05-29 15:30 UTC+0200 Viktor Szakats * INSTALL * config/global.mk + Added support for configurations where PATH contains the same compiler multiple times. (and all similar cases when a files is looked for in a list of possible dirs). From now on only the first one will be extracted. Dirs can still contain spaces. Such configurations started to appear like mushrooms just recently. Maybe it's something seasonal. Anyhow I'd suggest to fix such configurations, since it may cause misc problems, outside the realm of Harbour. So INSTALL is still not lying: Keep only one compiler in PATH at any time, and especially don't keep the same C compiler multiple times in PATH, and especially not two different versions of the same C compiler. If you're is interested in GNU Make black magic for some (pervert) reasons, you may want to take a closer look at the implementation. 2010-05-29 10:29 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbwin/olecore.c ! fixed old bug in passing parameters by reference to OLE objects (they were cleared in reverted order so half of the complex variants were cleared before coping to HVM items) + harbour/contrib/hbwin/tests/oletst4.prg + harbour/contrib/hbwin/tests/olesrv4.hbp + harbour/contrib/hbwin/tests/olesrv4.prg + harbour/contrib/hbwin/tests/oletst4.hbp + added example of OLE server returning to client HVM objects as OLE object and also some other values using parameters passed by reference with client code. Remember about registering the server by 'regsvr32 olesrv2.dll' before testing the client code. 2010-05-29 04:28 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fixed silly variable initialization bug after last commit. * contrib/hbwin/wapi_shellapi.c ! Fixed WAPI_SHELLEXECUTE() having HB_PARSTRDEF() one position off. * examples/rddado/tests/access1.prg * Minor update. Still doesn't work. 2010-05-28 17:27 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) + contrib/gtwvg/tests/demowvg.hbp + Project definition. + contrib/gtwvg/tests/wvgactivex.prg + contrib/gtwvg/tests/wvgcuigdialog.prg + contrib/gtwvg/tests/wvgdyndialogs.prg + contrib/gtwvg/tests/wvgmodal.prg + contrib/gtwvg/tests/wvgqt.prg + contrib/gtwvg/tests/wvgtbrowser.prg + contrib/gtwvg/tests/wvgutilities.prg + contrib/gtwvg/tests/wvgwvtclasses.prg + contrib/gtwvg/tests/wvgxbp.prg + Code organized in logical units. * contrib/gtwvg/tests/demowvg.prg - Code moved to smaller modular sources as logical units. This demo was written few years back and then at that point of time no standradized make system was aavailable which led me to club everything in one source. Now because we have an excellent hbMK2 in place so this move has been possible. It is the first in series of reforms pertaining to GTWVG. More are scheduled to be followed. 2010-05-28 18:51 UTC+0200 Viktor Szakats * contrib/hbmisc/calldll.prg ! Fixed to use Windows system .dll calling convention (stdcall) by default, to emulate original function's behavior. Note that on non-Windows systems, calling convention will be set to the default (cdecl). * contrib/hbmisc/tests/testcall.prg * Replaced examples with a Windows system .dll call. 2010-05-28 18:28 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added untested, experimental support for -reqpkg=/reqpkgs= (.hbp/.hbc) options. E.g. '-reqpkg=libcurl' option causes hbmk2 to query library, library path and include path information from 'pkg-config' tool and if not found using '*-config' script, and to automatically pass these information to C compiler/linker. In addition, it will automatically add a macro named HBMK2_HAS_LIBCURL to C compiler command-line, so that the sources get to know that this package was found. ; NOTE: Nothing is finalized, it is still a question how to setup obligatory and optional components, current implementation is rather a mixture, but anyway pls feel free to test it. It's also a question how to merge this method with the -inctrypath/-reqheader one. Later we can consider adopting extra C flags, too, and it can be extended to know about more package detection methods (even platform dependent ones can be used if they adhere to more or less the same principle of 'pkgname->IN incpaths/libpaths/libs->OUT') Thanks to Tamas Tevesz for sparking the idea. 2010-05-28 17:31 UTC+0200 Viktor Szakats * src/common/hbver.c + Fine tuned SunPro version detection. Patch submitted by Tamas Tevesz. * contrib/hbwin/win_shell.c * contrib/hbwin/tests/testcopy.prg ! WIN_SHFILEOPERATION() fixed after initial upload. + Added more test code. 2010-05-28 11:09 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/doc/xhb-diff.txt * updated information about hash arrays and associative arrays ! added missing 'not' * harbour/contrib/xhb/sprintf.prg * harbour/contrib/xhb/dbgfx.prg ! renamed hb_sprintf() PRG function to sprintf() 2010-05-28 08:19 UTC+0200 Viktor Szakats * contrib/hbwin/hbolesrv.hbc * utils/hbmk2/hbmk2.prg * Renamed ${hb_filename} macro to ${hb_self}. * contrib/hbcomm/hbcomm.prg ! Typo in comment. 2010-05-28 08:13 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added ${hb_filename} macro. + "hbexe", "hblib", "hbdyn", "hbdynvm", "hbimplib" can now be used as filter keywords to detect target type. * contrib/hbwin/hbolesrv.hbc + Will now show warning message if not used together with -hbdynvm option. + Will now be ignored if not used together with -hbdynvm option. ; Tried to add hbolesrv.c as direct source 'sources=hbolesrv.c', but it requires this source (+ headers) to be distributed along the binaries, plus it didn't resolve the watcom issue, so I dropped it. 2010-05-27 23:36 UTC+0200 Viktor Szakats * contrib/hbmisc/calldll.prg ! Cleanup and fix to previous change. 2010-05-27 22:56 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/vm/hvm.c ! fixed GPF when hb_arrayToParams() is used with empty array reported by Viktor. 2010-05-27 21:14 UTC+0200 Viktor Szakats * INSTALL + Added requirement to not add the same compiler path multiple times to PATH. 2010-05-27 20:23 UTC+0200 Viktor Szakats * contrib/hbmisc/calldll.prg + HB_DYNCALL1() will now cut the number of parameters according to passed nCount parameter, just to mimic exact behavior of original function. + contrib/hbmisc/tests/testcall.prg + Added test code for CALLDLL32() and HB_DYNCALL1(). * contrib/hbwin/tests/testcopy.prg * Copyright year. 2010-05-27 19:57 UTC+0200 Viktor Szakats * contrib/hbmisc/Makefile + contrib/hbmisc/calldll.prg + Added CALLDLL compatibility API interface: CALLDLL32(), HB_DYNACALL1(), STRPTR(), PTRSTR(), UNLOADALLDLL(). ; Lightly tested, it's based on core .dll functions, so it may only need easy tweaking. Notice that this API support all platforms, not just 32-bit Windows. The original library is found in MINIGUI e.g. * contrib/hbwin/win_shell.c * Minor formatting. 2010-05-27 19:25 UTC+0200 Viktor Szakats * contrib/hbwin/wapi_wingdi.c * contrib/hbwin/hbolesrv.c ! Fixed for msvcarm. * contrib/hbwin/hbwin.ch * contrib/hbwin/win_shell.c + contrib/hbwin/tests/testcopy.prg + Added: WIN_SHFileOperation( [<hWnd>], [<nFunction>], [<cFrom>|<aFrom>], [<cTo>|<aTo>], [<nFlags>], [<@lAnyOperationAborted>], [<aNameMappings>], [<cProgressTitle>] ) -> <nResult> ; Przemek, if you have some time pls review s_StringList() function which I adapted from similar function in win_dlg.c, but it might not be perfect. '<s1><\0><s2><\0><\0>' format is required by this SHFileOperation() Windows function. 2010-05-27 19:08 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbwin/hbolesrv.c % improved the performance and reduced memory usage by using hash array with strict assign order for message names to number translation in OLE objects accepting any message names 2010-05-27 16:27 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/xhb/Makefile + harbour/contrib/xhb/xhbhasha.c + added xHarbour Hash with Associative Array compatibility functions: HAAGETKEYAT( <hValue>, <nPos> ) -> <value> HAAGETVALUEAT( <hValue>, <nPos> ) -> <value> HAASETVALUEAT( <hValue>, <nPos>, <value> ) -> NIL HAADELAT( <hValue>, <nPos> ) -> NIL HAAGETPOS( <hValue>, <xKey> ) -> <nPos> HAAGETREALPOS( <hValue>, <nPos> ) -> <nRealPos> HGETVAAPOS( <hValue> ) -> <aOrder> HSETAACOMPATIBILITY( <hValue>, <lAACompat> ) -> <lDone> HGETAACOMPATIBILITY( <hValue> ) -> <lAACompat> These functions were added only for compatibility with existing xHarbour code. Harbour does not emulate associative arrays by special index but it uses real natural order for them. It means that associative array indexes are equal to regular hash indexes so we do not need any translation between them and Harbour users can use regular hash array functions for associative array indexes, i.e. instead of using HAAGETKEYAT() they can use HB_HKEYAT(). 2010-05-27 15:21 UTC+0200 Viktor Szakats * contrib/xhb/xhbfunc.c + Added XHB_NETNAME(), XHB_MEMOWRIT() * contrib/xhb/hbcompat.ch ! Fixed MEMOWRIT() translation. Someone pls test it with real xhb. * contrib/xhb/hbcompat.ch * contrib/xhb/xhb.ch ! Moved xhb_*() function dependent translations to xhb.ch. (since the promise is that hbcompat.ch translations don't need xhb lib) 2010-05-27 14:54 UTC+0200 Viktor Szakats * contrib/xhb/hbcompat.ch * Grouped together all translations which cannot be replaced using wrapper technique. * contrib/xhb/xhbgt.c * contrib/xhb/xhbfunc.c ! Deleted two wrappers which cannot be wrappers. (dirty extensions) 2010-05-27 14:42 UTC+0200 Viktor Szakats * contrib/xhb/Makefile - contrib/xhb/hbcompat.prg + contrib/xhb/xhbfunp.prg * Renamed. * contrib/xhb/Makefile * contrib/xhb/xhbmt.prg + contrib/xhb/xhbmtc.c * contrib/xhb/xhbfunp.prg % Some .prg wrappers changed to .c ones. ! This also fixed some double implementation after previous commit. * contrib/xhb/xhbarr.c * contrib/xhb/xhbfunp.prg % Converted RASCAN wrapper to .c and moved to existing array wrapper source file. * contrib/xhb/Makefile * contrib/xhb/xhbfunc.c + contrib/xhb/xhbhash.c % Moved hash wrappers to separate file. (also synced with xhbfunp.prg content) - Deleted special macro to disable these wrappers. * contrib/xhb/Makefile * contrib/xhb/xhbfunc.c + contrib/xhb/xhbinet.c % Moved inet function wrappers to separate file. (also synced with xhbfunp.prg content) - Deleted special macro to disable these wrappers. * contrib/xhb/Makefile * contrib/xhb/xhbfunp.prg + contrib/xhb/xhbgt.c + contrib/xhb/xhbini.c + contrib/xhb/xhbproc.c + contrib/xhb/xhbregx.c + contrib/xhb/xhbmtc.c + contrib/xhb/xhbfs.c + contrib/xhb/xhbdate.c + contrib/xhb/xhbi18n.c % Rewritten wrappers in .c and moved them to separate files. ; Few other double definitions fixed after previous commit. Hopefully now it's optimal and modular, and the best wrappers were kept. ; Basically hbcompat.ch is now not of too much use, unless someone specifically want to avoid linking xhb. 2010-05-27 12:58 UTC+0200 Viktor Szakats * contrib/xhb/Makefile + contrib/xhb/hbcompat.prg + Added equivalent function wrappers for all hbcompat.ch translations where such was possible (everywhere besides "dirty" extensions of original Clipper functions) ; NOTE: This method, as is now, has some advantages: - doesn't require modification of app source code. - doesn't require knowledge about hbcompat.ch. - works in macros and disadvantages: - is slightly slower [DONE] - will pull unnecessary code parts into the executable [DONE] If this change gets positive feedback, the two disadvantages can be easily mitigated by splitting hbcompat.prg into multiple .prg sources and replacing wrappers with .c code where possible. ; Pls review me. * contrib/xhb/hbcompat.ch ! Minor cleanup. * contrib/hbcomm/hbcomm.prg ! Fixed return value of OUTCHR(). Thank you Przemek for reviewing. 2010-05-27 00:45 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/hbqscintilla/qth/HBQsciScintilla.qth * contrib/hbqt/hbqscintilla/qth/QsciAbstractAPIs.qth * contrib/hbqt/hbqscintilla/qth/QsciAPIs.qth * contrib/hbqt/hbqscintilla/qth/QsciCommand.qth * contrib/hbqt/hbqscintilla/qth/QsciCommandSet.qth * contrib/hbqt/hbqscintilla/qth/QsciDocument.qth * contrib/hbqt/hbqscintilla/qth/QsciLexer.qth * contrib/hbqt/hbqscintilla/qth/QsciLexerCPP.qth * contrib/hbqt/hbqscintilla/qth/QsciLexerFlagship.qth * contrib/hbqt/hbqscintilla/qth/QsciScintilla.qth * contrib/hbqt/hbqscintilla/qth/QsciStyle.qth * contrib/hbqt/hbqscintilla/qth/QsciStyledText.qth * contrib/hbqt/hbqscintilla/QSci*.cpp + contrib/hbqt/hbqscintilla/hbqt_local.h + Localized: hbqt_par_Qsci*() * contrib/hbqt/doc/en/class_qchar.txt * contrib/hbqt/doc/en/class_qthread.txt * contrib/hbqt/qtcore/QChar.cpp * contrib/hbqt/qtcore/QThread.cpp * contrib/hbqt/qtcore/TQChar.prg * contrib/hbqt/qtcore/TQThread.prg * contrib/hbqt/qth/QThread.qth ! Regenerated. * contrib/hbqt/hbqt.h - Removed: hbqt_par_Qsci*() 2010-05-27 08:11 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/gtwvg/wvgsink.c ! updated WVG OLE code to use new hb_oleVariantUpdate() parameters 2010-05-26 18:53 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/generator/hbqtgen.prg + Tweaked to operate on local folder and definitions there. + contrib/hbqt/hbqscintilla + contrib/hbqt/hbqscintilla/doc + contrib/hbqt/hbqscintilla/doc/en + contrib/hbqt/hbqscintilla/qth + contrib/hbqt/hbqscintilla/qth/HBQsciScintilla.qth + contrib/hbqt/hbqscintilla/qth/QsciAbstractAPIs.qth + contrib/hbqt/hbqscintilla/qth/QsciAPIs.qth + contrib/hbqt/hbqscintilla/qth/QsciCommand.qth + contrib/hbqt/hbqscintilla/qth/QsciCommandSet.qth + contrib/hbqt/hbqscintilla/qth/QsciDocument.qth + contrib/hbqt/hbqscintilla/qth/QsciLexer.qth + contrib/hbqt/hbqscintilla/qth/QsciLexerCPP.qth + contrib/hbqt/hbqscintilla/qth/QsciLexerFlagship.qth + contrib/hbqt/hbqscintilla/qth/QsciScintilla.qth + contrib/hbqt/hbqscintilla/qth/QsciStyle.qth + contrib/hbqt/hbqscintilla/qth/QsciStyledText.qth + contrib/hbqt/hbqscintilla/doc/en/class_*.txt + Auto generated + contrib/hbqt/hbqscintilla/Qsci*.cpp + Auto generated. + contrib/hbqt/hbqscintilla/THBQsci*.prg + Auto generated. + contrib/hbqt/hbqscintilla/hbqt_garbage.h + Auto generated. + contrib/hbqt/hbqscintilla/hbqscintilla.ch + Constants for PRG code. + contrib/hbqt/hbqscintilla/hbqscintilla.hbp + To build hbqscintilla.a/lib + contrib/hbqt/hbqscintilla/hbqscintilla.qtp + .qth info file. + contrib/hbqt/hbqscintilla/hbqt_hbqsciscintilla.cpp + contrib/hbqt/hbqscintilla/hbqt_hbqsciscintilla.h + contrib/hbqt/hbqt.h + Added: constants hbqt_par_Qsci* ; TODO make them local. [DONE] + Initial upload of wrappers for QScintilla. To generate the sources auto you need to stay in hbqt/hbqscintilla and issue ../generator/hbqtgen. HB_WITH_QSCINTILLA and HB_WITH_QT need be properly defined. I am still finding where to host modified QScintilla, any tips ? 2010-05-27 00:15 UTC+0200 Viktor Szakats * utils/hbmk2/examples/contribf.hbc * contrib/Makefile + contrib/hbcomm + contrib/hbcomm/Makefile + contrib/hbcomm/hbcomm.hbc + contrib/hbcomm/hbcomm.prg + contrib/hbcomm/hbcomm.hbp + contrib/hbcomm/tests + contrib/hbcomm/tests/hbmk.hbm + contrib/hbcomm/tests/test.prg + Added HBCOMM compatibility library. It's based on hbct COM functions. Not tested with real port. Also see one FIXME and one INCOMPATIBILITY note inside. The latter belongs to INCHR() function which in original HBCOMM library will do HVM corruption by overwriting string content passed as 3rd parameter. In Harbour 3rd parameter needs to be passed by reference. Also added fully adapted test code from HARBOUR MINIGUI project. Interestingly this code was using the return value of INCHR() to get the returned buffer, which was not in sync with included HBCOMM code. Anyway, hopefully this can be finalized based on report from real users. ; DISCLAIMER: EXPERIMENTAL CODE. USE AT YOUR OWN RISK. NO GUARANTEES. + contrib/hbfbird/hbfbird.hbp + contrib/hbsms/hbsms.hbp + Added early bird experimental .hbp files for contrib two projects. * utils/hbmk2/hbmk2.prg + Added support for ${hb_dirname} macro which returns the directory in which the script file is where the macro is used. ! Fixed so that '-build' option doesn't require a configured C compiler. + Extended hack for bcc autoconfiguration with 5.8 support, adding an extra system header directory to the include dir list if it exists. bcc 5.8 appears to be well installed, so this is probably not needed for most users. + Documented dir casing differences between bcc 5.5 and 5.82. This may be important for autoconfiguration hack to work with bcc under wine using native hbmk2 build. I'm not even sure such scenario is possible at all ;) 2010-05-26 22:54 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbwin/hbwinole.h * harbour/contrib/hbwin/olecore.c * modified hb_oleVariantUpdate() parameters + added automatic conversion of HVM objects to OLE objects for for parameters passed by reference to Harbour OLE server methods. * harbour/contrib/hbwin/hbolesrv.c + added automatic conversion of HVM objects to OLE objects for memvars redirected to OLE instance variables. ! fixed typo 2010-05-26 17:04 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg * utils/hbmk2/hbmk2.pt_BR.po * utils/hbmk2/hbmk2.hu_HU.po + Added support for 'psources=' and 'pflags=' directives in .hbc files. They serve the same purpose as command-line '-pi=' and '-pflag=' options; passing parameters to plugins. % Minor internal optimizations, also fixing some very rare and light potential problems with letting to add double parameters when passing them using different pathseps. 2010-05-26 16:32 UTC+0200 Viktor Szakats * include/hbapifs.h + Added some more HB_EXPORT flags. Pls check me. * contrib/hbwin/hbolesrv.hbc + Added reference to hbwin.hbc, so that it can be used standalone accompanied by -hbdynvm option to create OLE servers easily: 'hbmk2 -hbdynvm hbolesrv.hbc ...' * contrib/hbwin/hbolesrv-watcom.def ! Fixed comments to watcom format. * utils/hbmk2/hbmk2.prg ! Fixed RTE when parsing certain rarer Windows file types in sources= directive in .hbc files in *nix hbmk2 builds. (could only kick in when using hbmk2 under *nix to cross compile for Windows). Thanks Przemek for the report. - Deleted doubly added support for .def file parsing in sources= directive. 2010-05-26 12:07 UTC+0200 Viktor Szakats * contrib/hbwin/hbolesrv-mingw.def * contrib/hbwin/hbolesrv.def * contrib/hbwin/hbolesrv-watcom.def ! Added SVN props. 2010-05-26 11:19 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbwin/hbwinole.h ! fixed typo in added extern declarations * harbour/contrib/hbwin/hbwinole.h * harbour/contrib/hbwin/axcore.c * harbour/contrib/hbwin/olecore.c * harbour/contrib/hbwin/hbolesrv.c + added support for automatic conversion of HVM objects returned by Harbour OLE server methods to OLE objects. Please test. I cannot make any tests now. ; TODO: if it works then update this code to create some more general version. 2010-05-26 11:08 UTC+0200 Viktor Szakats * contrib/hbwin/hbwinole.h + Added missing 'extern' to HB_EXPORT declarations. 2010-05-26 10:38 UTC+0200 Viktor Szakats * package/winuni/mpkg_win_uni_extra_copy.bat + Added contrib .hbi and .def files to the binary package. * utils/hbmk2/hbmk2.prg ! Typo in comment. 2010-05-26 09:40 UTC+0200 Viktor Szakats * utils/hbmk2/examples/plug_moc.prg * Minor cleanup. 2010-05-25 21:42 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * utils/hbmk2/examples/plug_moc.prg ! Fixed to cover header file supplied with path like -pe=somefolder/someheader.h. 2010-05-26 02:40 UTC+0200 Viktor Szakats * utils/hbmk2/examples/plug_moc.prg ! Copy/paste typo in moc detection on some linux platforms. 2010-05-26 02:04 UTC+0200 Viktor Szakats * bin/postinst.sh ! Enabled missing postinst activities for 'clang' targets. 2010-05-26 01:54 UTC+0200 Viktor Szakats * contrib/hbwin/hbolesrv.def * contrib/hbwin/hbolesrv-mgw.def * contrib/hbwin/hbolesrv-ow.def ! Added PRIVATE to DllRegisterServer and DllUnregisterServer. (to pacify msvc warning) * contrib/hbwin/hbolesrv.hbc - contrib/hbwin/hbolesrv-mgw.def + contrib/hbwin/hbolesrv-mingw.def - contrib/hbwin/hbolesrv-ow.def + contrib/hbwin/hbolesrv-watcom.def * Renamed to use well-known compiler IDs. 2010-05-26 01:43 UTC+0200 Viktor Szakats * include/hbapi.h ! Added HB_EXPORT to hb_memvarGet() and hb_memvarSetValue() used by new OLE server code in hbwin when created -shared OLE server .dlls. + contrib/hbwin/hbolesrv.hbc + Added .hbc file to help creating OLE servers. * contrib/hbwin/tests/olesrv1.hbp * contrib/hbwin/tests/olesrv2.hbp * contrib/hbwin/tests/olesrv3.hbp % Changed to use hbolesrv.hbc. - Deleted '-static' option to also allow to build -shared OLE servers. (I tested them OK) * contrib/hbwin/tests/olesrv2.prg + Tweak to allow case-insensitive access of OLE functions. * utils/hbmk2/hbmk2.prg + Added support for .def files in source= .hbc line. 2010-05-26 00:36 UTC+0200 Viktor Szakats * contrib/hbwin/tests/oletst2.prg ! Fixed little typo causing asyncronity with one server msg. 2010-05-26 00:21 UTC+0200 Viktor Szakats * contrib/hbwin/tests/oletst1.hbp * contrib/hbwin/tests/olesrv1.hbp * contrib/hbwin/tests/oletst2.hbp * contrib/hbwin/tests/olesrv2.hbp * contrib/hbwin/tests/oletst3.hbp * contrib/hbwin/tests/olesrv3.hbp * Changed to reference .hbp files instead of libs. % Deleted redundant settings already supplied by .hbm files. (if the goal is to make them current dir independent, we can add a simple @hbmk.hbm reference to them) * contrib/hbwin/hbolesrv-mgw.def * contrib/hbwin/hbolesrv.def * contrib/hbwin/hbolesrv-ow.def + Added SVN ID as comments. (I hope watcom supports it, if not pls tell) ; TODO: We should somehow merge these into one .def, even if it requires some extra hbmk2 "magic". [POSTPONED] * contrib/hbwin/tests/oletst1.hbp * contrib/hbwin/tests/olesrv1.hbp * contrib/hbwin/tests/oletst2.hbp * contrib/hbwin/tests/olesrv2.hbp * contrib/hbwin/tests/oletst3.hbp * contrib/hbwin/tests/olesrv3.hbp * contrib/hbwin/hbolesrv-mgw.def * contrib/hbwin/hbolesrv.def * contrib/hbwin/hbolesrv-ow.def + Added SVN props. 2010-05-26 00:03 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbwin/Makefile + harbour/contrib/hbwin/hbolesrv.c + added inproc OLE server implementation. It allows to create OLE/ACTIVEX COM server in Harbour. Such OLE server allows can be used by programs written in any languages supporting OLE automation (also in other Harbour applications) User ole server code should be linked as DLL which later can be register in MS-Windows by regsvr32.exe program, i.e.: regsvr32 myolesrv.dll The OLE server code should contain DLLMAIN() PRG function which is executed just after loading OLE inproc DLL server as server from other application and also by regsrv32.exe during registration and unregistration procedure. It has to initialize at least OLE server ID and name usinf WIN_OleServerInit(). + added new PRG function which intitialize OLE server: WIN_OleServerInit( <cClassID>, <cServerName>, ; [ <hAction> | <oAction> | <bAction> | <sAction> ], ; [ <lHashClone> | <lAcceptAll> ] ) -> <lServerActive> <cClassID> is registered OLE server class GUID <cServerName> is OLE server class name <hAction> is optional parameter with hash array containing messages and instance variables used by OLE server. The keys in hash array are strings with message names and values are actions. Codeblock and symbol items means that given message is a method call and any other value means that it's variable. By default the same hash array is shared between all objects created by registered server. It's important when hash array contains values which are neither codeblock nor symbol items so they are not used as method but rather as instance variables because such instance variables are shared between OLE objects. Setting 4th parameter <lHashClone> to .T. causes that each objects receives it's own copy of <hAction> item so instance variables inside hash array are also local to OLE object. Alternatively programmer can use <bAction> or <sAction> to create seprate copy of hash array for each object, i.e.: bAction := {|| hb_hClone( hValue ) } When hash array contains symbol item (@funcName()) then when it's executed by OLE object message it's possible to access the hash array bound with given OLE object using QSelf() function. It maybe useful if hash array contains instance variables and programmer wants to access them. Please remember that using hash array which was initialized to keep original assign order by HB_HKEEPORDER( <hAction>, .T. ) before adding its items you can define strict message numbers (DISPIDs), i.e.: hAction := {=>} HB_HKEEPORDER( hAction, .T. ) hAction[ "OPEN" ] := @myole_open() // DISPID=1 hAction[ "CLOSE" ] := @myole_close() // DISPID=2 hAction[ "SAVE" ] := @myole_save() // DISPID=3 hAction[ "LOAD" ] := @myole_load() // DISPID=4 hAction[ "PRINT" ] := @myole_print() // DISPID=5 (see example in olesrv2.prg) <oAction> is optional parameter with Harbour object which is used as base for all newly created OLE objects. All messages (method and instance variables) supported explicitly by <oAction> object (except ONERROR message redirecting) are inherited by OLE objects. Each newly created OLE object uses the same <oAction> object so its instance variables are shared between all of them. If programmer wants to create separate Harbour object for each OLE object then he should use <bAction> or <sAction>, i.e.: bAction := {|| myClass():new() } <bAction> is optional parameter with codeblock executed when new OLE object is created. It should return hash array or Harbour object which will be used as base for newly created OLE object. <sAction> is optional parameter with function symbol. This function is executed when new OLE object is created and should return hash array or Harbour object which is used as base for newly created OLE object. If the 3rd parameter is <oAction>, <bAction> or <sAction> then it's possible to also set 4th parameter <lAcceptAll> to .T. and in such case <xAction> parameter is used in different way. Newly created OLE object accepts any massage names invoking for each of them EVAL() message which is sent to <xAction> with OLE message name inserted as the 1st item to OLE object parameters. It allows to create OLE server which will accept unknown messages redirecting them to some other code, i.e.: if netio_connect( cServer,,, cPasswd ) WIN_OleServerInit( cClassID, cServerName, @netio_funcExec(), .T. ) endif initialize OLE server which redirects all messages to default netio connection establish by netio_connect(). If 3rd parameter is not given then all HVM functions becomes OLE methods and HVM memvars (public and private variables) are OLE object instance variables so they are shared with all OLE objects created by this interface. It works just like xHarbour.com OLE server. ; TODO: add support for MT RPC servers. Current implementation cannot be safely used in MT programs creating OLE objects and executing their methods simultaneously in different threads without additional user code which will serialize these operations. ; TODO: replace message handler API in WIN_AxGetControl()/ __AxRegisterHandler() which uses only fixed method IDs and do not support method names with above one so user can easy create activex controls which support message names. This modificaiton will force updating user and 3rd party code but IMO should be done. Current interface is simply too much limited to keep it. ; Possible TODO: add support for user defined fixed message numbers (DISPIDs) which are not continuous small numbers so users cannot easy use hash arrays with strict order. Is such functionality necessary? Can someone with ActiveX experience say something about it? Above implementation has undocumented feature: it supports hash arrays with keys using numbers only which can be used like in __AxRegisterHandler() but I haven't decided yet I should keep, extend or remove such functionality. Please make real life test. I do not have any practice with MS-Windows and OLE and most of above code I wrote using only documentation so I'm very interesting in real test results and user opinions about it. If some important functionality is missing then please inform me about it. BTW There are some 3rd party activex implementation for [x]Harbour, i.e. xharbour.com or FiveWin ones. Maybe someone familiar with them can create PRG compatibility layer for Harbour. I cannot do that myself because I do not know that products and their PRG API used in OLE/COM/ActiveX implementations but if someone can describe it then I can help in such implementation. + harbour/contrib/hbwin/hbolesrv.def + harbour/contrib/hbwin/hbolesrv-mgw.def + harbour/contrib/hbwin/hbolesrv-ow.def + added .DEF link files which are necessary to correctly export inproc OLE server DLL functions. It's possible that other compilers or even different versions of the same compilers may use different a little bit different .DEF files. I tested above with BCC5.5, MinGW 3.4.5 and OpenWatcom 1.8. + harbour/contrib/hbwin/test/olesrv1.prg + harbour/contrib/hbwin/test/olesrv1.hbp + harbour/contrib/hbwin/test/oletst1.prg + harbour/contrib/hbwin/test/oletst1.hbp + added example of NETIO-RPC OLE server code with Harbour (PRG) client. This server redirects all messages sent to its OLE objects to remote HBNETIO server as function calls. It understands the following messages: CONNECT() - creates connection to the server, parameters like in NETIO_CONNECT() and NETIO_GETCONNECTION() functions DISCONNECT() - closes current connection PROCEXISTS() - works like NETIO_PROCEXISTS() PROCEXEC() - works like NETIO_PROCEXEC() PROCEXECW() - works like NETIO_PROCEXECW() FUNCEXEC() - works like NETIO_FUNCEXEC() All other messages are redirected directly to RPS server as function calls. CONNECT() message should be executed by client to create connection to the server. Each NETIO-RPC OLE object uses its own connection which should be initialized. If CONNECT() is executed more then once the current connection is closed. DISCONNECT() is executed automatically when OLE object is destroyed so it's not necessary to call it explicitly. Please use hbmk2 and olesrv1.hbp to compile OLE server. OLE inproc servers have to export some DLL entry functions which are defined in .def files which have to be passed to linker. Before client code can be tested the server has to be registered. The server can be registered in given MS-Windows system using regsvr32.exe command. To register the server use: regsvr32 olesrv1.dll and to unregister: regsvr32 /u olesrv1.dll + harbour/contrib/hbwin/test/olesrv2.prg + harbour/contrib/hbwin/test/olesrv2.hbp + harbour/contrib/hbwin/test/oletst2.prg + harbour/contrib/hbwin/test/oletst2.hbp + added very simple example of OLE server using hash array with strict item order (associative hash array) to define OLE objects with fixed message numbers (DISPIDs) Remember about registering the server by 'regsvr32 olesrv2.dll' + harbour/contrib/hbwin/test/olesrv3.prg + harbour/contrib/hbwin/test/olesrv3.hbp + harbour/contrib/hbwin/test/oletst3.prg + harbour/contrib/hbwin/test/oletst3.hbp + harbour/contrib/hbwin/test/oletst3.bas + added example of OLE server code with Harbour (PRG) and Visual Basic (BAS) clients. This server redirects all messages sent to its OLE objects to HVM functions and messages to HVM memver (public and private) variables This server should work as xHarbour.com OLE servers. The server and clients code are nearly the same so users can easy compare them. Remember about registering the server by 'regsvr32 olesrv2.dll' 2010-05-26 00:00 UTC+0200 Viktor Szakats * INSTALL - Deleted one no more true restriction regarding HB_BUILD_PKG. 2010-05-25 23:40 UTC+0200 Viktor Szakats + config/bsd/clang.mk + Base implementation of bsd/clang target. Based on patch by Tamas Tevesz with modifications: - deleted HB_DYN_COPT - replaced dynamic lib rules with bsd/gcc.mk. (both fully untested) * INSTALL * utils/hbmk2/hbmk2.prg + Added preliminary support for bsd/clang target. (untested) * contrib/hbide/idemisc.prg + Added hbide_pwd() function. 2010-05-25 22:28 UTC+0200 Viktor Szakats * contrib/hbide/ideprojmanager.prg ! Fixed output directory issue without the need for an hbmk2 plugin. HBIDE was changing current dir when calling hbmk2, so the detected output filename needs to be rebased from that directory. * contrib/hbide/ideprojmanager.prg - contrib/hbide/idedetect.prg + contrib/hbide/resources/hbmk2_plugin_hbide.prg * Moved plugin to resources directory. - Commented plugin content. * utils/hbmk2/hbmk2.prg * Cleaned up path seps in plugin filenames. 2010-05-25 12:52 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) + contrib/hbide/idedetect.prg + Added: -plugin= plugin to detect output target. * contrib/hbide/ideprojmanager.prg + Implemented: -plugin=( hb_dirBase() + "idedetect.prg" ). This implementation raises the barrier what was ailing hbIDE since long to detect the executable properly. Thanks Viktor, this is wonderful addition to hbMK2. 2010-05-25 21:12 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg * '-plug=' option renamed to '-plugin=' + Added support for 'plugins=' line in .hbc files. % Plugins are now fully loaded just once at the beginning of hbmk2. (as opposed to every invocation) + Plugins are now automatically treated as .hrb or .prg based on _file content_. This means that any extension can be used for plugins for both .prg and .hrb code. When .prg or .hrb extension is used there isn't any extra trial made on the file content, it will be loaded as source or HRB respectively. Maybe we should find a new distinctive extension for hbmk2 plugins. * Default extension for -plugin= option changed to .prg (was: .hrb) + Showing type of input plugin in -trace mode. ('source' or 'compiled') * config/detect.mk ! Applied fix to DragonFly patch, submitted by Tamas Tevesz. * src/vm/runner.c * Minor formatting. 2010-05-25 19:57 UTC+0200 Viktor Szakats * contrib/hbwin/wapi_winuser.c * contrib/hbwin/hbwin.ch + Added WAPI_MESSAGEBEEP() + Added MB_* constants. * contrib/hbwin/hbwin.ch ! Fixed some comments. * contrib/hbwin/win_svc.c + strlen() cast. 2010-05-25 19:08 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Extended plugin API: - New macro expansion function: hbmk2_Macro( ctx, <str> ) - New host variables: cTARGETTYPE, cTARGETNAME, lDEBUG, lMAP, lSTRIP, lINFO, lBEEP, lRUN, nErrorLevel * include/hbextern.ch + Added two recently added functions. * package/winuni/RELNOTES * Update one version number. 2010-05-25 16:42 UTC+0200 Viktor Szakats * INSTALL + Added one more envvar which is apparently used by users even though it does nothing since many years. (see '10. TROUBLESHOOTING' section) * config/postinst.prg * Minor cleanups. 2010-05-25 16:23 UTC+0200 Viktor Szakats * INSTALL + Added DragonFly BSD to supported BSD system list. 2010-05-25 16:21 UTC+0200 Viktor Szakats * src/common/hbprintf.c * include/hbsetup.h * config/global.mk * config/bsd/libs.mk * config/detect.mk + Applied patch by Tamas Tevesz, making it possible to build Harbour for DragonFly BSD systems. Thanks a bunch. * utils/hbmk2/hbmk2.prg + Applied above change to hbmk2 code, so now it should also support DragonFly BSD. (pls test it) 2010-05-25 16:13 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added .hbi to the list of accepted projects at command-line. This means that hbmk2 can be run like 'hbmk2 mylib.hbp mylib.hbi' to create the lib and also generate the implib. * '-keyheader=' renamed to '-reqheader=' ! Fixed typo causing RTE while creating implibs for targets supporting OMF lib type. 2010-05-25 15:01 UTC+0200 Viktor Szakats * src/rtl/tobject.prg * src/rtl/tpersist.prg * src/rtl/memoedit.prg * src/rtl/teditor.prg * contrib/hbmysql/tmysql.prg * contrib/hbmysql/tsqlbrw.prg * contrib/hbodbc/todbc.prg * contrib/hbfbird/tfirebrd.prg * contrib/hbpgsql/tpostgre.prg * contrib/hbmisc/hbedit.prg * contrib/hbtip/smtpcli.prg * contrib/hbtip/mail.prg * contrib/hbwin/win_reg.prg * contrib/hbwin/win_os.prg * contrib/hbwin/win_tprn.prg * contrib/hbwin/wce_sim.prg ! Fixed to check for proper type instead of using 'DEFAULT ... TO' * contrib/hbct/ct.prg % EXIT/INIT FUNCTION -> EXIT/INIT PROCEDURE 2010-05-25 13:31 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added experimental feature to aid external dependency detection. Key header files can now be specified using '-keyheader=' option. In case such key headers are not found when evaluating '-inctrypath' conditional header directories. The goal is to make hbmk2 capable of replacing GNU Make for all of our contribs. E.g.: 'clean': {HB_HOST_BIN_DIR}/hbmk2 hbfbird/hbfbird.hbp hbsms/hbsms.hbp -o../lib/${hb_plat}/${hb_comp}/ -clean simple make: {HB_HOST_BIN_DIR}/hbmk2 hbfbird/hbfbird.hbp hbsms/hbsms.hbp -o../lib/${hb_plat}/${hb_comp}/ 'install': {HB_HOST_BIN_DIR}/hbmk2 hbfbird/hbfbird.hbp hbsms/hbsms.hbp -o../lib/${hb_plat}/${hb_comp}/ -instpath=${HB_LIB_INSTALL}/ -info % Minor cleanup to some plugin API functions. * utils/hbmk2/examples/plug_moc.prg % Minor cleanup. * contrib/sddoci/tests/test1.prg + Showing field length and decimals. 2010-05-25 13:20 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapi.h * harbour/src/vm/hashes.c * harbour/src/vm/hashfunc.c + added support for keeping strict assign order in hash arrays. It's enabled optionally by setting HB_HASH_KEEPORDER hash array flag. It gives the same functionality as associative arrays in xHarbour (enabled by HSETAACOMPATIBILITY()) but this implementation is internally completely different. It does not introduce linear scan in add operation so enabling it should not reduce the performance in this operation. It can even improve it on some hardware reducing number of memory bytes which have to be moved. Only delete operation will force linear index scan. The most important in this implementation is that it does not need any additional functions like HAA*() in xHarbour. Just simply all existing functions operating on position indexes like HB_HPOS(), HB_HKEYAT(), HB_HVALUEAT(), HB_HPAIRAT(), HB_HDELAT(), HB_HSCAN() use as index natural order in which items were added to hash array. Also HB_HKEYS(), HB_HVALUES() and FOR EACH iterations respect it. + added new PRG functions HB_HKEEPORDER( <hValue> [, <lNewSetting> ] ) -> <lPrevSetting> HB_HSETORDER( <hValue> [, <lNewSetting> ] ) -> <hValue> which cam be used to enable/disable strict order in hash array. Enabling strict order for non empty hash arrays accept the order created after sorting existing item not the original assign order. Disabling strict order for non empty hash arrays may change the items order. ; TODO: add translation for xHarbour's HAA*() functions to hbcompat.ch and/or xhb library. [DONE] * harbour/contrib/hbnetio/netiocli.c * harbour/contrib/hbnetio/netiosrv.c % reenabled TCP_NODELAY on client and server side I had to be really tired when I was making tests and I mixed hb_socketSetNoDelay() with hb_socketSetBlockingIO(). Thanks to Aleksander Czajczynski who noticed the delay in his tests. * harbour/contrib/hbwin/olecore.c * minor cleanup 2010-05-25 09:21 UTC+0200 Viktor Szakats * contrib/hbct/ctrand.prg * contrib/hbct/getsecrt.prg * contrib/hbct/keysec.prg * contrib/hbct/getinput.prg * contrib/hbct/screen3.prg * contrib/hbct/ct.prg * contrib/hbct/cttime.prg * contrib/hbct/numconv.prg * contrib/hbct/showtime.prg * contrib/hbct/ctmisc.prg * contrib/hbct/getinfo.prg * contrib/hbct/scrmark.prg * contrib/hbct/keysave.prg * contrib/hbct/fcopy.prg ! Fixed formatting. ! Fixed to use proper type validation instead of 'DEFAULT TO'. ! Fixed to use F_ERROR instead of -1. 2010-05-24 20:53 UTC-0500 Teo Fonrouge (teo/at/windtelsoft/dot/com) * ChangeLog ! Fixed previous not accurate ChangeLog entry 2010-05-24 19:37 UTC-0500 Teo Fonrouge (teo/at/windtelsoft/dot/com) * contrib/hbtip/tests/dbtohtml.prg ! end tags fixed * using HB_SYMBOL_UNUSED to pacify Harbour warnings ( -w3 ) 2010-05-24 19:19 UTC-0500 Teo Fonrouge (teo/at/windtelsoft/dot/com) * contrib/hbtip/thtml.prg * removed FOR EACH limitation in source code imported from xHarbour Harbour never had such limitation. xHarbour still have it. (thanks to Przemek for pointing this and for superb compiler BTW) * using HB_OSNewLine() as eol % on ::popNode added capability to check if end tags for the following tags are found: "tr","th","td" to end this tags, the user simply needs to call the current node with the minus ( - ) operator for the tag requiered to close: node - "th" * ChangeLog ! Fixed wrong entry on my previous commit 2010-05-24 15:09 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/ideprojmanager.prg % Fixed: to start build executable in "Start in" folder. 2010-05-24 21:35 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fixed old regression causing 'inctrypath' option to "forget" adding detected include dirs to the tool command lines. 2010-05-24 21:11 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/vm/hashes.c * do not clone preallocated unused area * harbour/contrib/hbnetio/netiocli.c * disabled RT errors inside NETIO_CONNECT() and NETIO_GETCONNECTION() when wrong password or NETIO server is used but return .F. 2010-05-24 19:53 UTC+0200 Viktor Szakats * contrib/sddoci/sddoci.c ! Attempting to fix wrong numeric size for plain 'NUMERIC' (without size) type. I'm guessing so I'd appreciate if someone could dive into this more deeply. * utils/hbmk2/hbmk2.prg * Minor. * package/winuni/RELNOTES + Added OCILIB. * contrib/sddoci/sddoci.hbc * contrib/sddoci/sddoci.c * contrib/sddoci/Makefile * Changes to follow OCILIB 3.6.0 2010-05-24 18:45 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg * utils/hbmk2/examples/plug_moc.prg * Minor cleanups to plugin API. * src/rtl/typefile.prg ! Typo in comment. 2010-05-24 15:35 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Upped warning level for plugins to -w3. * utils/hbmk2/examples/plug_moc.prg + Added -inc, -clean and -rebuild (IOW incremental) support for moc plugin. It was tested OK in small example. * utils/hbmk2/examples/plug_tpl.prg * Minor. 2010-05-24 14:17 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg * Moved some local variables to internal hbmk2 structure. + Made some more functions and variables accesible to plugns in order to help creating smooth external calls. + utils/hbmk2/examples/plug_moc.prg + Added 'moc' plugin, which is supposed to be fully functionaly, though I didn't test it live. - utils/hbmk2/examples/plug_moc.prg + utils/hbmk2/examples/plug_tpl.prg * Renamed first example. 2010-05-24 13:27 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg * utils/hbmk2/examples/plug_moc.prg % Further cleaned context passing, so that now even the 'state' variable is passed as part of context rather than as separate variable, so now the only parameter the plugin gets in the callback. This is much more flexible and future proof this way. 2010-05-24 13:20 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg * utils/hbmk2/examples/plug_moc.prg % Refined how context is passed to plugins, and how context is passed back to public APIs. + Added way to accept parameters from the command-line and .hbp files. This is possible via '-pflag=' and '-pi=' options. Latter serves to pass input file, so the input file magic logic is always applied to it. Notice that all plugins are getting all input parameters, so it's their job to process only what's relevant to them. plugin specific option prefixes e.g. can be a solution for that. + Added API to add new input .prg, .c, .cpp and .rc files to the build process. + Added better protection from tampering internal hbmk2 structures by plugins. + Showing error condition and location in case of an RTE occurs in a plugin. 2010-05-24 11:38 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapi.h * harbour/include/hbvmint.h * harbour/include/hbvmopt.h * harbour/include/hbstack.h * harbour/include/hbvmpub.h * harbour/include/hbtypes.h * harbour/src/vm/estack.c * harbour/src/vm/hvmall.c * slightly modified the names of HB_{API|STACK}_MACROS. These are internal macros in current Harbour code but they are still defined in some old user build scripts used to compiled user or core code what could cause unpredictable results for final binaries. AFAIR default xMate configuration enables them. 2010-05-24 11:02 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fixed non-initialized variable (broken in after one of recent changes) 2010-05-24 09:48 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + utils/hbmk2/examples/plug_moc.prg + Added experimental plugin system. Plugins are written in .prg or .hrb and can be passed using '-plug=<.prg|.hrb>' option or simply by passing '.hrb' filename from command-line or .hbp/.hbm files. Plugin names without dir component will be searched in local dir, hbmk2 dir then PATH. For the details of the calling protocol and available hbmk2 API calls and variables, pls check the example and hbmk2 source code. Plugin is called from several build stages, in case of multiple plugins all of them are called at each stage. The plugin receives the stage name, hbmk2 context and a hash table for custom variables. The variables are shared between stages and plugins. Notice that hbmk2 isn't hbrun, so there is a limited set of the Harbour language which you can use, this also ensures that the plugins will behave like hbmk2 itself for the most part. Nothing is finalized. ; The example is the working replica of moc detection logic found inside hbqt. 2010-05-23 20:54 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.pt_BR.po * utils/hbmk2/hbmk2.hu_HU.po * utils/hbmk2/hbmk2.prg + In non-incremental mode when no workdir is manually set, hbmk2 will now create a temp subdir inside temp dir and create any intermediate output files there. (previously it was using the temp dir without creating a temp subdir inside). ; Please test and report leftover temp files and dirs, also test it on *nix platforms. * Changed 'couldn't', 'don't' style English abbrevs to 'could not', 'do not', etc. * config/rules.mk ! Fixed to include static-only C compiler options for targets which have no separate static/dynamic C compiler pass. This should fix wrongly built pcre lib causing missing exported functions in mingw Harbour .dlls. 2010-05-23 15:53 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Changed filtering implementation for command-line parameters. Now filters can be placed anywhere and they work for all parameters. Please test, regressions may be possible. * config/postinst.prg ! Added gpm handling logic to hbmk.cfg creation. This was previously done in recently deleted postinst.sh function. 2010-05-23 10:46 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbnetio/netiocli.c * replaced repeated code by static function 2010-05-22 23:54 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbnetio/netiocli.c * harbour/contrib/hbnetio/readme.txt + added new client side function: NETIO_GETCONNECTION( [<cServer>], [<nPort>], [<nTimeOut>], ; [<cPasswd>], [<nCompressionLevel>], [<nStrategy>] ) -> <pConnection> | NIL I returns pointer item with HBNTIO connection. It can be used to speedup RPC calls and stream functions when <pConnection> is passed as parameter to these functions. + modified NETIO_PROCEXISTS(), NETIO_PROCEXEC(), NETIO_PROCEXECW(), NETIO_FUNCEXEC(), NETIO_OPENDATASTREAM(), NETIO_OPENITEMSTREAM() client side functions to accept as optional 1st parameter connection pointer returned by NETIO_GETCONNECTION() + modified NETIO_CLOSESTREAM() and NETIO_GETDATA() client side functions to accept as optional 2nd parameter connection pointer returned by NETIO_GETCONNECTION() 2010-05-22 17:51 UTC+0200 Viktor Szakats * harbour-win-spec * harbour-wce-spec * harbour.spec - Deleted references to hb-mkslib. * bin/hb-func.sh * bin/postinst.sh * Moved functions to postinst. 2010-05-22 17:17 UTC+0200 Viktor Szakats * bin/hb-func.sh * bin/postinst.sh - Deleted 'hbmk' script. Now superceded by hbmk2, which is backward compatible with hbmk. - Deleted 'hb-mkslib' compatibility synonym. Use 'hb-mkdyn' instead. 2010-05-22 16:44 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! -hbimplib extended for bcc and msvc* to automatically recognize and use .def file with the same name as the .dll, if present. ! -hbimplib extended for bcc to first look for any existing OMF .lib file with the same name as the .dll. ! Refined fallback logic used in implib generation. (moved .dll existence check to lower-level) * Refinements in pathsep usage in implib generation. * contrib/sddfb/sddfb.hbi * contrib/hbfbird/hbfbird.hbi + Using COFF libs for pocc targets. 2010-05-22 13:41 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbwin/olecore.c * minor modification in hb_oleDispInvoke() function 2010-05-22 10:57 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! -hbimplib extended for pocc to first look for any existing .lib file with the same name as the .dll. 2010-05-21 21:15 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! -hbimplib extended for msvc to first look for any existing .lib file with the same name as the .dll. * contrib/sddfb/sddfb.hbi * contrib/hbfbird/hbfbird.hbi * Changed to use existing .lib for msvc compilers. 2010-05-21 17:06 UTC+0200 Viktor Szakats * src/compiler/genhrb.c ! Fixed very old copy paste error in .hrb generation feedback text. 2010-05-21 11:59 UTC+0200 Viktor Szakats * examples/gtwvw/gtwvw.c * examples/gtwvw/hbgtwvw.h * HB_EXPORT cleanup. 2010-05-21 11:45 UTC+0200 Viktor Szakats * include/hbdefs.h + Added HB_EXTERN macro to eventually replace 'extern' keyword. * include/hbstack.h * include/hbsocket.h * include/hbapicls.h * contrib/xhb/hbserv.h * contrib/gtwvg/gtwvg.h * contrib/hbcairo/hbcairo.h * examples/gtwvw/gtwvw.c * examples/gtwvw/hbgtwvw.h ! Fixed declarations to use 'extern HB_EXPORT' keyword order. ! Fixed declarations where 'extern' keyword was missing. ; TODO: To fix watcom .dll support 'extern HB_EXPORT <type> <func()>' will have to be changed to 'extern <type> HB_EXPORT <func()>' or even better to 'HB_EXTERN <type> HB_EXPORT <func()>' to also stay future-proof. 2010-05-21 08:52 UTC+0200 Viktor Szakats * contrib/hbwin/win_svc.c + WIN_SERVICEINSTALL(): Extended to accept 3rd parameter for the full filename of the service executable. This makes it possible to install other .exes not just self. 2010-05-20 16:49 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/generator/hbqtgen.prg ! Two small fixes. No code regeneration required. 2010-05-21 01:05 UTC+0200 Viktor Szakats * config/global.mk + Showing warning when HB_BUILD_IMPLIB=yes is used without 'install' make option. 2010-05-20 23:34 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fixed overlook in recent modification (put .def file macros in normal linker command template) ! Fixed missing '-nologo' option in msvc -hbdyn[vm] linker command template. 2010-05-20 23:18 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fixed filter evaluation to not let envvar names colliding with built-in filter keywords influence the results. (e.g. '{watcom}' while having properly configured watcom compiler defining WATCOM envvar and using a non-watcom compiler for the actual hbmk2 session). % Optimized filter evaluation. ; Thanks to Przemek for the patches. 2010-05-20 21:14 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbthread.h * cover some functions and HB_THREADSTATE structure by _HB_API_INTERNAL_ * export hb_threadReleaseCPU() function 2010-05-20 21:07 UTC+0200 Viktor Szakats * config/global.mk * config/rules.mk * external/pcre/Makefile + Added HB_CFLAGS_STA variable to hold C compiler options passed solely when compiling for static lib. * Change PCRE setup to use HB_CFLAGS_STA instead of -U trick at the same time silencing msvc warning. 2010-05-20 20:33 UTC+0200 Viktor Szakats * config/global.mk * config/rules.mk + Added HB_CFLAGS_DYN variable to pass lib specific options specially directed to compilation phase when building to create a .dll. Currently this affects pcre and zlib since these are included in harbour .dll. * external/libhpdf/Makefile * external/pcre/Makefile * external/png/Makefile * external/zlib/Makefile + Configured HB_CFLAGS_DYN for these libs to properly create exported symbols in harbour .dll. This was a problem so far for any non-mingw made harbour .dll. 2010-05-20 19:49 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rdd/dbf1.c * minor cleanup * harbour/include/hbapi.h + added new macro HB_IS_EVALITEM() - returns true for items which can understand EVAL message i.e. CODEBLOCK and SYMBOL items. * harbour/contrib/hbwin/axcore.c * harbour/contrib/hbwin/olecore.c * harbour/contrib/hbwin/hbwinole.h * modified hb_oleDispInvoke() function to accept as additional parameter pointer to HVM item instead of pointer to DISPID. Such version is more universal. 2010-05-20 16:22 UTC+0200 Viktor Szakats * contrib/hbide/qscintilla - Deleted this hosted foreign code for reasons explained (but apparently not understood). 2010-05-20 07:14 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/ideprojmanager.prg * contrib/hbide/idesources.prg % Modified: to present the project location folder to select sources in the "Project Properties" dialog. 2010-05-20 06:56 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) + contrib/hbide/qscintilla + contrib/hbide/qscintilla/qt Initial port of QScintilla ( https://riverbankcomputing.com/software/qscintilla/intro ) This port is greatly trimmed one excluding all lexer code except CPP and FLAGSHIP which are relevant to Xbase code at present. Also directory structure is normalized and sources are modified to respect them. SVN properties are eol:native, I am not sure what other properties should go inside. QScintilla actually is divided into two libs but for sake of convinience I have kept them as one. It is a base commit. In the next days a Harbour wrapped is scheduled to be built onto it and then actual application experiments will follow. On success, current edit component of hbIDE will be transferred. I am poor in looking at licensing, so please feel free to delete this commit if it does not confirm to original intent. I have also touched the sources to suppress a lot of warnings and library seems to be working fine after these changes. Still some warnings are there which I could not suppress, please look. To build the lib qscintilla.hbp is there, just issue hbmk2 qscintilla.hbp while residing in hbide/qscintilla. 2010-05-20 13:40 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fixed to ignore .cpp files in main entry detection function. ! Fixed to strip ending pathsep in header and lib path options passed to compiler tools. 2010-05-20 11:39 UTC+0200 Viktor Szakats * include/hbthread.h ! Added missing HB_EXPORT, and in some place 'extern' qualifier to thread/atomic Harbour API declarations. * ChangeLog ! Fixed entry header in previous commit (again). 2010-05-20 11:21 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added hbmk2 level support for multiple input .def files. NOTE: Multiple .def files are only supported by gcc family compilers (mingw/cygwin) (and maybe watcom, but I can't tell by looking at the output), so for portable scripts, stick to using only one .def file per .dll. bcc, msvc, pocc will either ignore some of them, or stop with error. * ChangeLog - Deleted accented (UTF8) char. ! Deleted UTF8 file marked added by subsequent committer's editor. ; --- Pls remember to use ASCII 7-bit chars in our files --- 2010-05-19 20:45 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/ideprojmanager.prg ! Fixed: project location was shown blank. Itamar reported. 2010-05-19 19:11 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/THbQtUI.prg ! Code cleanup. * contrib/hbqt/hbqt_hbqplaintextedit.cpp ! Fix to honor tab width with font change. 2010-05-19 16:41 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/hbqt_hbqplaintextedit.cpp * contrib/hbide/hbide.prg * contrib/hbide/ideactions.prg * contrib/hbide/ideedit.prg * contrib/hbide/ideeditor.prg * contrib/hbide/ideshortcuts.prg % Shifted: all actions which operate on editing instance, to the micro levels. This implies that ::IdeEdit() object can be used independent of interface constraints and hence becomes eligible to be included in hbXBP as a HBP class. This also implies that hbIDEMap can be manipulated through Keyboard Mappings macros the same way as main editing instance with the exception that it cannot be editied. For example, you can call ::zoom( nPointSizeORKey ) to adjust its size. You can also use Ctrl+C to copy and can use block operations. + Added: <Edit><Format><Replace Spaces with Tabs> option. Tabs are set to stop at same distance of 3 characters which makes it possible to modify sources with/without tabs but with same visual display. 2010-05-20 01:42 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapi.h * harbour/src/vm/hashes.c + added new C function hb_hashGetCItemPos() * harbour/src/rtl/hbcom.c ! fixed typo located by Bisz Istvan 2010-05-19 10:35 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.pt_BR.po * utils/hbmk2/hbmk2.hu_HU.po * utils/hbmk2/hbmk2.prg + Added .def file support for win|os2/watcom targets in hbmk2. ATM it requires the special file format required by watcom, there is no transparent conversion done by hbmk2. + Enabled .c stub (for -main, -gt, etc features) in -hbdynvm mode. * Disabled linking harbour .dll in '-hbdyn -shared' mode. NOTE: I'm not sure of this move. This way -hbdyn will now never link any Harbour libs (neither static nor dynamic), so at least we should renamed -hbdyn to -hbdynraw and -hbdynvm to -hbdyn, or make some other cleanup in this regard. Specifically I'm not sure if hbmk2 satisfies this use-case now by default (without '-nohblib-' option): "I can use -hbdyn and -static to create self contain DLL which uses it's own private copy of HVM and Harbour RTL library which can be linked statically or loaded dynamically with/from any other applications" * Text "VM" changed to "Harbour VM" ; NOTE 2: I've checked win/watcom -6s option, but it's still not good because it appends '_' to exported symbols, so watcom -shared executables stop working with mingw/msvc Harbour .dll. Any idea how to solve that? 2010-05-18 22:57 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/doc/en/class_hbqplaintextedit.txt * contrib/hbqt/hbqt_hbqplaintextedit.cpp * contrib/hbqt/hbqt_hbqplaintextedit.h * contrib/hbqt/qtgui/HBQPlainTextEdit.cpp * contrib/hbqt/qtgui/THBQPlainTextEdit.prg * contrib/hbqt/qth/HBQPlainTextEdit.qth * contrib/hbide/ideedit.prg * contrib/hbide/ideeditor.prg * contrib/hbide/idesaveload.prg * contrib/hbide/ideshortcuts.prg + Implemented: proper hbIDEMap protocol. Now you can keep open "Source Thumbnail" dock and keep on clicking the tabs. Current source map will be displayed inside. hbIDEMap Features: 1. hbIDEMap carries highlighted code lines which are visible in main editing instance window. Navigaing the editor also changes highlighted area corresponding to main instance. 2. All keyboard mappings are active in the map also which implies that you can exercise copy operations which can be pasted in the current code, a very useful feature. 2010-05-18 18:55 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/hbqt_hbqplaintextedit.cpp * contrib/hbqt/hbqt_hbqplaintextedit.h * contrib/hbide/hbide.prg * contrib/hbide/ideactions.prg * contrib/hbide/idedocks.prg * contrib/hbide/ideedit.prg * contrib/hbide/ideeditor.prg * contrib/hbide/ideobject.prg ! Fixed: selected text when viewed in a narrow window and using horizontal scrollbars was showing incorrectly. + Implemented: current source's thumbnail view. It is presented in a right-hand docking widget which can be activated via <View> menu. it is almost identical with current editor but with a significant difference that it is loaded from the disk whenever the dock is brought to view. It contains smaller font and is entirely idependent of main editing instance. It is just a quick commit. Refinement will follow. Please submit your suggestions. Re-compile hbQT alongwith hbIDE. 2010-05-18 15:12 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/ideedit.prg * contrib/hbqt/hbqt_hbqplaintextedit.cpp ! Fixed: more selections and cursor behavior. 2010-05-18 14:30 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/hbide.prg * contrib/hbide/ideedit.prg * contrib/hbide/ideeditor.prg * contrib/hbide/idetags.prg + Implemented: Context-menu option "Goto Function" looks for the function/method in the current source first, and if found, jumps to that, otherwise it rellies on tagging. It implies that functions in current source are always can be reached with "Goto Function" option which operates on word under cursor. 2010-05-18 13:00 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/ideprojmanager.prg % Fixed: tab order in "Projects Properties" dialog. Thanks to Maniero for reporting. 2010-05-18 18:54 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbwin/win_svc.c ! fixed compilation with compilers which disable winsvc.h if WIN32_LEAN_AND_MEAN is set, i.e. POCC and XCC 2010-05-18 09:19 UTC+0200 Viktor Szakats * src/rtl/memvarhb.prg * HB_MVSAVE(): reset to be a FUNCTION to avoid the "volatile" return value and better imitate __MVSAVE() behavior. % HB_MVSAVE(): deleted unnecessary UPPER(). - Deleted TODO. * ChangeLog * Marked TODOs as done. (Thanks Przemek) 2010-05-17 23:59 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/hbqt_hbqplaintextedit.cpp * contrib/hbqt/hbqt_hbqplaintextedit.h + Finalized: all the three modes of selection programatically. ::toggleStreamSelection() No Key ::toggleColumnSelection() No Key ::toggleLineSelection() == F11 ::clearSelection() == Sh+F11 If a selection mode is initiated by above three methods, it can only be exited by calling the same method again. During such selection process all other keys than navigable keys will remain disabled. Mouse-move will also not work. Mouch click will work. If Column selection mode is ON, caret will not show up. Toolbar icon will not respond to change such action. Once exited, previous normal behavior for stream and column selection will be available. Please test. 2010-05-17 19:05 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/hbqt_hbqplaintextedit.cpp * contrib/hbqt/hbqt_hbqplaintextedit.h * contrib/hbide/ideedit.prg * contrib/hbide/ideeditor.prg * contrib/hbide/ideshortcuts.prg + Prepared to handle three modes of selections programatically. F11 Line Selection is broken currently. 2010-05-18 02:42 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbvm.h * harbour/src/vm/hvm.c + added new C function hb_vmIsActive() * harbour/src/rtl/memvarhb.prg ! fixed procedure returning value ! store only simple variables in HB_MVSAVE() just like __MSAVE() Possible extension: add option to store also NIL, arrays, hashes and maybe object variables. ! restore variables in HB_MVRESTORE() as private ones just like __MVRESTORE() * harbour/contrib/hbwin/oleinit.c * harbour/contrib/hbwin/olecore.c * updated to compile and link in WinCE builds. Now code using OLE can be linked with MinGWCE builds without any errors but I have no idea if it works. Can someone check it? 2010-05-17 17:29 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/doc/en/class_hbqplaintextedit.txt * contrib/hbqt/hbqt_hbqplaintextedit.cpp * contrib/hbqt/hbqt_hbqplaintextedit.h * contrib/hbqt/qtgui/HBQPlainTextEdit.cpp * contrib/hbqt/qtgui/THBQPlainTextEdit.prg * contrib/hbqt/qth/HBQPlainTextEdit.qth * contrib/hbide/idedocwriter.prg % Guarded against inserting help if "readonly" flag is ON. * contrib/hbide/ideedit.prg * contrib/hbide/ideeditor.prg * contrib/hbide/ideshortcuts.prg + Added: navigational methods plus methods pertaining to line operations into public API. Naviagable methods are : ::up(), ::down(), ::pageUp(), ::pageDown(), ::goTop(), ::goBottom(), ::right(), ::left(), ::end(), ::home(), ::panEnd(), ::panHome(). // These methods can be used in combination with selection modes. + Grouped: public methods list by category which is displayed under visually distinguished colors. Now it is easy to find a method of interest easily. Before it was a literal mess. 2010-05-18 02:25 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.pt_BR.po * utils/hbmk2/hbmk2.hu_HU.po * utils/hbmk2/hbmk2.prg + Added experimental -hbdynvm mode. + Added support for .def input file in -hbdyn/-hbdynvm modes. ; TODO: Couldn't find how to pass .def files to Open Watcom wlink. Anybody with an experience here? [DONE] * src/rtl/memvarhb.prg + Added one initialization to NIL. 2010-05-17 22:34 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/vm/dynsym.c ! casting for C++ mode 2010-05-17 20:47 UTC+0200 Viktor Szakats * include/hbextern.ch * src/rtl/Makefile + src/rtl/memvarhb.prg + Added: HB_MVSAVE( <cFileName>, [<cMask>], [<lIncludeMask>] ) HB_MVRESTORE( <cFileName>, [<lAdditive>], [<cMask>], [<lIncludeMask>] ) They serve the same purpose with same interface and similar behavior to __MVSAVE()/__MVRESTORE() (and __MSAVE()/__MRESTORE(), and 'SAVE TO' command), only that they support longer than 10 char variable names. It is not possible to add such support in Clipper-style .mem files, so these functions will create an incompatible file format with default '.hbv' extension. ; FIXME: __MVRESTORE() restores variables as PRIVATEs while HB_MVRESTORE() as PUBLIC. [DONE] ; NOTE: GETLIST exclusion is solved with simple trick, as I couldn't find how it's solved in __MVSAVE(). [SOLVED] ; Consider this experimental solution to the problem. [FINALIZED] * contrib/hbmysql/tmysql.prg % STOD( "" ) -> STOD() * contrib/hbide/ideprojmanager.prg ! -hbexec -> -hbexe * src/rtl/typefile.prg ! __TYPEFILE(): Fixed both RTEs to be Clipper compatible. 2010-05-17 07:33 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/hbqt_hbqplaintextedit.cpp ! Fixed: misbehavior of "Del" key. * contrib/hbide/ideeditor.prg % Changed: hb_fGetAttr( cFile, nAttr) tested agains hb_bitAnd( nAttr, FC_READONLY ) == FC_READONLY * contrib/hbide/ideshortcuts.prg % Changed: Public Method ::toggleSelectionMode() to ::toggleColumnSelectionMode() 2010-05-17 13:37 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapi.h * harbour/src/vm/dynsym.c + added to C functions: int hb_dynsymToNum( PHB_DYNS pDynSym ); PHB_DYNS hb_dynsymFromNum( int iSymNum ); which can be used to make conversion between dynamic symbols and numbers 2010-05-16 23:02 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/hbide.prg * contrib/hbide/idemisc.prg * contrib/hbide/ideobject.prg * contrib/hbide/ideprojmanager.prg * contrib/hbide/idesources.prg + Implemented: "new" source opens a file save dialog to provide a valid name with extention. Syntax highlighting will be based on that. + Implemented: "new" project opens a Select Path dialog to designate the project location. The path obtained as such is posted in the "Project Location field of "Project Properties". 2010-05-16 21:05 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/resources/tabreadonly.png ! Changed: to reflect clearly visible readonly status. * contrib/hbide/ideedit.prg * contrib/hbide/ideeditor.prg + Implemented: <MainMenu><Edit><Switch ReadOnly Mode> plus file's "readonly" attribute obtained by hb_fGetAttr() == 33 ( please correct me if it is not OK on all systems ). "Switch ReadOnly Mode" toggles the readonly status of the current source in focus only if on disk attribute is normal. ReadOnly status is permanent if disk attribute equals 33 and cannot be toggled. While in readonly mode, cut/paste/alter operation are suspened, only copy operation is supported. Copy can be performed with mouse and keyboard both and all three modes are available. 2010-05-17 00:59 UTC+0200 Viktor Szakats * contrib/sddfb/sddfb.hbi ! Sync with recent fix in contrib/hbfbird/hbfbird.hbi. * src/vm/memvars.c * Minor typo in comment. * Formatting. 2010-05-16 15:40 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/hbqt_hbqplaintextedit.cpp * contrib/hbqt/hbqt_hbqplaintextedit.h * contrib/hbqt/qtgui/HBQPlainTextEdit.cpp * contrib/hbide/ideedit.prg ! More fluency and refinements in selection process spanning across all three modes. 2010-05-16 23:36 UTC+0200 Viktor Szakats * debian/rules - doc/man/hbmk.1 + doc/man/hbmk2.1 ! Renamed to hbmk2 to be in sync with name of the tool. * Makefile ! Fixed to always descend into utils directory, because (in 'install' mode) hbrun and hbmk2 needs to be built regardless of HB_BUILD_PARTS setting. * contrib/hbfbird/hbfbird.hbi ! Fixed to set output libname. This is needed because we can't rely on input filename due to mingw trick. * config/global.mk + Show HB_BUILD_IMPLIB setting. Now there is nothing hackish in it, so it can be fully supported setting. * config/postinst.prg % Minor optimizations in hbmk2 invocation lines. (removed unnecessary spaces, using envvar macros, deleted unnecessary double quotes) ! Fixed (in two places) to only invoke hbmk2 if HB_HOST_BIN_DIR envvar is set. ! NSIS invocation command made more friendly to cross platform environment by using native pathsep. + Will now echo the external commands issued to stdout. 2010-05-16 19:01 UTC+0200 Viktor Szakats * config/postinst.prg + Added new experimental envvar: HB_BUILD_ADDONS=prj1.hbp prj2.hbp prjn.hbp Harbour build process will initiate the build of the passed .hbp files at 'install' phase. % Simplification to other hbmk2 invocation commands. * contrib/hbwin/win_svc.c ! Fixed to set running status only if entry function is valid and able to reenter HVM. + Added trace message when entry function cannot be found. 2010-05-16 05:47 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/hbqt_hbqplaintextedit.cpp * contrib/hbqt/hbqt_hbqplaintextedit.h * contrib/hbqt/qtgui/HBQPlainTextEdit.cpp * contrib/hbide/ideedit.prg ! Fixed: Ctrl+X: cut() was faultering. 2010-05-16 11:12 UTC+0200 Viktor Szakats * contrib/hbwin/win_svc.c ! Fixed callback definitions to be the ones required by Windows. ! Fixed main service entry callback to use TCHAR rather than simple char. + Added support to pass service launch parameters to Harbour entry function. * contrib/hbwin/tests/testsvc.prg + Added code to demonstrate parameter passing feature. 2010-05-15 18:31 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/qtgui/HBQPlainTextEdit.cpp ! Just to recompile hbqtgui.lib * contrib/hbqt/hbqt_hbqplaintextedit.cpp * contrib/hbqt/hbqt_hbqplaintextedit.h * contrib/hbide/ideedit.prg ! Fixed: more artifacts about selection/copy operations. 2010-05-16 01:28 UTC+0200 Viktor Szakats * contrib/hbwin/tests/testsvc.prg ! Minor adjustment. 2010-05-15 16:03 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/hbqt_hbqplaintextedit.cpp * contrib/hbide/ideedit.prg ! Fixed more artifacts about reverse selection/copy operations. 2010-05-16 00:56 UTC+0200 Viktor Szakats * contrib/hbwin/Makefile - contrib/hbwin/win_srv.c + contrib/hbwin/win_svc.c - contrib/hbwin/tests/testsrv.prg + contrib/hbwin/tests/testsvc.prg * Renamed files ('svc' slightly better describes services than 'srv' which can be 'server'). 2010-05-16 00:48 UTC+0200 Viktor Szakats * contrib/hbwin/win_srv.c * contrib/hbwin/tests/testsrv.prg * Cleaned list of header files. * Synced static string buffer sizes with allowed maximums and appropriate macro. 2010-05-16 00:38 UTC+0200 Viktor Szakats * contrib/hbwin/win_srv.c * Renamed more variables. * Moved around hb_strfree() calls to fully avoid the possibility of freeing string pointers still assigned inside Windows structures. ! WIN_SERVICESTART() fixed to set last error. ! Fixed to avoid passing null string pointers where Windows API documentation doesn't allow it. * contrib/hbwin/tests/testsrv.prg ! Fixed to have the default action called when started without parameter. Required to make it start when started as service. + Test service changed to create a file in a predictable place (next to .exe) and fill that with output. Made sure that file is readable by other processes. * Cleaned service ID/description. ; I've made successful test with current code. 2010-05-16 00:02 UTC+0200 Viktor Szakats * contrib/hbwin/win_srv.c ! Fixed static variable types and usage. ! Fixed wrongly used string types. ! Fixed storing temporary pointers to static variables. Making a copy of the strings instead. % Deleted unnecessary function declarations. % Using HB_SIZEOFARRAY() instead of repeating size. ! Fixed variable names to reflect type. ; These fixed previously found errors. * contrib/hbwin/tests/testsrv.prg * Replaced ALERT() with '?'. ! Fixed to use HB_TR_ALWAYS to avoid Harbour warning. % FUNCTION -> PROCEDURE 2010-05-15 14:29 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/ideedit.prg ! Fixed: copy with Sh+Left was not working ok when employed backward in stream mode. 2010-05-15 22:21 UTC+0200 Viktor Szakats * doc/howtosvn.txt * More clearing up. * contrib/hbwin/win_srv.c ! Fixed one FIXME which was result of s&r on my part. ; FIXME remaining: [DONE] --- ../../../win_srv.c: In function 'hbwin_SrvFunction': ../../../win_srv.c:102:4: warning: passing argument 1 of 'RegisterServiceCtrlHandlerW' from incompatible pointer type ...\mingw-450\bin\../lib/gcc/mingw32/4.5.0/../../../../include/winsvc.h:234:40: note: expected 'LPCWSTR' but argument is of type 'char *' ../../../win_srv.c: In function 'HB_FUN_WIN_SERVICESTART': ../../../win_srv.c:279:21: warning: assignment from incompatible pointer type ../../../win_srv.c:280:21: warning: assignment from incompatible pointer type --- 2010-05-15 21:27 UTC+0200 Viktor Szakats * doc/howtosvn.txt + Made it more clear that 'Chr(36)' should be replaced by '$'. * ChangeLog ! Stripped accented char. Pls keep all files in 7-bit mode. * contrib/hbwin/hbwin.ch * contrib/hbwin/win_srv.c * contrib/hbwin/tests/testsrv.prg ! Cleanup fixes: ! Fixed missing SVN props (pls see howtosvn.txt and my email today about them) ! Fixed SVN header ! Stripped accented char. ! Deleted <windows.h>. ! Tabs converted to spaces. ! Fixed indentation and formatting. % Optimized code to have less redundancy. ! Fixed name of static vars. % Made callbacks static. ! Fixed hbwin.ch constants to have WIN_ prefix. ! Fixed references to unknown functions in test code. % Test code reworked to have user selectable modes via command-line parameter. ! Fixed to define all functions also in WinCE mode, but with dummy functionality. ! Fixed memory potential leak in WIN_SERVICEDELETE(). ! Added some casts. % Variables declarations moved to inner scopes. ; FIXME: - UNICODE build problem in hbwin_SrvFunction(). [RELISTED] - possible memory corruption in WIN_SERVICESTART()? [RELISTED] - 'implicit declaration of function 'Sets_ServiceStatus'' in hbwin_SrvFunction(). [DONE] ; All the above are shown as mingw warnings. 2010-05-15 12:20 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/hbqt_hbqplaintextedit.cpp ! Fixed: selection with Sh+Left was not working ok. 2010-05-15 12:03 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/doc/en/class_hbqplaintextedit.txt * contrib/hbqt/hbqt_hbqplaintextedit.cpp * contrib/hbqt/hbqt_hbqplaintextedit.h * contrib/hbqt/qtgui/HBQPlainTextEdit.cpp * contrib/hbqt/qtgui/THBQPlainTextEdit.prg * contrib/hbqt/qth/HBQPlainTextEdit.qth * contrib/hbide/idedocks.prg * contrib/hbide/ideedit.prg * contrib/hbide/ideeditor.prg ! Fixed: the artifacts reported by Mindaugas and Itamar. ! Optimized: C++ code. ! Fixed: many other artifacts, i.e., status-bar panel was wrongly reporting selection mode. Mindaugas, can you please test again ? 2010-05-15 20:02 UTC+0200 Jose Luis Capel (jlcapel at hotmail . com) + contrib/hbwin/win_srv.c + contrib/hbwin/tests/testsrv.prg * contrib/hbwin/hbwin.ch * contrib/hbwin/Makefile + Basical support for running a harbour application as a windows server. See tests/testsrv.prg. 2010-05-15 20:02 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbwin/olecore.c ! added protection against possible buffer overflow when more then 32 parameters is passed by reference from foreign code - thank to Mindaugas for locating the problem. 2010-05-15 17:43 UTC+0200 Viktor Szakats * harbour.spec * contrib/Makefile + contrib/hbsms + contrib/hbsms/tests + contrib/hbsms/tests/send.prg + contrib/hbsms/tests/hbmk.hbm + contrib/hbsms/hbsms.prg + contrib/hbsms/hbsms.hbc + contrib/hbsms/Makefile * utils/hbmk2/examples/contribf.hbc + Readded hbsms lib. + Modified to use newly added core com functions via HBCT .prg level interface. (instead of hbtpathy) + Added disclaimer: EXPERIMENTAL CODE. USE AT YOUR OWN RISK. NO GUARANTEES. The code well may be pure crap, so if you have problem with it, supply working patches. Pls note that the reader function uses locally implemented timeout functionality, which may or may not work at all, though you can fix it if you have better idea. I've only tested it using Mac OS X 10.6 + old Nokia "S40" phone and one bad SMS number to see it kicks off at all and that's also the end of my testing possibilities. 2010-05-15 15:17 UTC+0200 Viktor Szakats * src/rtl/gtwvt/gtwvt.c - Deleted notifierblock/fireevent support. Light is green to add threaded screen refresh and event handling. This could enhance performance and fix the frozen screen refresh in Harbour app loops. ; INCOMPATIBLE: Switch to HB_INKEY_GTEVENT + HB_K_* solution. 2010-05-15 15:10 UTC+0200 Viktor Szakats * tests/wvtext.prg + Updated according to latest changes, now using simple INKEY() method to receive special GT event. + Added reaction to 'lostfocus' event. + Added better demonstration for lost/got focus events. - Deleted GTWVG dependent elements, to adhere to core/contrib separation rule. 2010-05-15 14:56 UTC+0200 Viktor Szakats * src/rtl/gtwvt/gtwvt.c * Changed HB_GTI_CLOSABLE to not cause any visible change on the UI. Setting HB_GTI_CLOSABLE to .F., will now cause that an HB_K_CLOSE event is returned to application by INKEY(), and app can decide whether to ignore it or QUIT. This also means that the feedback is now not an async event in HB_GTI_CLOSABLE .F. mode, IOW if the app is in a loop without reading keys, close button won't work, which is IMO closer to how apps are supposed to behave. It also won't grey out the close buttong anymore which is also a unusual thing to do amongst apps. ; TODO: If this turns out to be good solution, sync this behavior with HBWIN. ; TODO: Delete old "fireevent" async even handling using notifier callback codeblock. 2010-05-15 14:03 UTC+0200 Viktor Szakats * src/rtl/gtwvt/gtwvt.c ! Internal change slipped into prev. 2010-05-15 13:55 UTC+0200 Viktor Szakats * include/inkey.ch + Added new special GT events (over existing HB_K_RESIZE): HB_K_CLOSE HB_K_GOTFOCUS HB_K_LOSTFOCUS + Added new Harbour specific INKEY() event filter: HB_INKEY_GTEVENT * INKEY() codes below marked as compatibility: K_MMLEFTDOWN, K_MMRIGHTDOWN, K_MMMIDDLEDOWN * src/rtl/hbgtcore.c ! Fixed to only return HB_K_RESIZE/CLOSE/GOTFOCUS/LOSTFOCUS events when allowed via HB_INKEY_GTEVENT filter. ; INCOMPATIBILITY: HB_K_RESIZE will now only be returned by INKEY() if this filter is added. * src/rtl/gtwvt/gtwvt.c - Deleted code protected by __HB_GTWVT_GEN_K_MMDOWN_EVENTS guard. + Will now generate INKEY() event: HB_K_LOSTFOCUS HB_K_GOTFOCUS and HB_K_CLOSE. ; FIXME: HB_K_CLOSE doesn't work yet. Probably some rearrengement of window close control will be needed. [DONE] ; The goal is to be able to keep "fireevent" feature in a Clipper/Harbour and thread friendly manner, so it becomes possible to move OS level UI event into separate thread. 2010-05-15 10:32 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbwin/hbwinole.h * harbour/contrib/hbwin/olecore.c + added new C function hb_oleDispInvoke() * harbour/contrib/hbwin/axcore.c * use hb_oleDispInvoke() - please test if activex controls still work correctly 2010-05-15 09:43 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/hbcom.c * harbour/contrib/hbct/ctcom1.c * harbour/contrib/hbct/ctcom2.c * removed unused code and added parenthesis to pacify warning * harbour/contrib/gtwvg/gtwvg.h * harbour/contrib/gtwvg/wvggui.h * harbour/contrib/hbwin/win_dlg.c * updated included header files (it fixes problem with BCC5.5 and POCC/XCC builds) 2010-05-15 09:16 UTC+0200 Viktor Szakats * contrib/hbziparc/hbziparc.prg ! Fixed regression in HB_ZIPFILE() to make it work in "append" mode even when the .zip didn't exist. 2010-05-14 17:40 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/hbqt_hbqplaintextedit.cpp * contrib/hbqt/hbqt_hbqplaintextedit.h * contrib/hbide/ideedit.prg ! Fixed: "copy" operation on stream selection was returning wrong text. 2010-05-15 00:07 UTC+0200 Viktor Szakats * config/global.mk ! Fixed problem caused by $(wildcard) not matching existing files when using '/dir//file' format (note double slash). So e.g. it caused autodetection to fail when dir was speficied as 'C:\mingw\bin\' (with ending backslash) in PATH. It's good to remove such backslashes anyway, but from now on it won't cause problem for Harbour build system. 2010-05-14 23:50 UTC+0200 Viktor Szakats * src/rtl/tget.prg ! Fixed "@RE" picture mask handling in GETs. Thanks to Aleksander Czajczynski for reporting the issue with clear example. The fix applied is a de-hacked version of the one sent to the list. What's simply done is 'R' being disabled when used in conjunction with 'E'. 2010-05-14 14:31 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/ideprojmanager.prg ! Synchronized to open "Project Tree" if "Open Project..." is selected from <MainMenu><Files>. * contrib/hbqt/hbqt_hbqplaintextedit.cpp * contrib/hbqt/hbqt_hbqplaintextedit.h % Many artifacts belonging to horizontal scroll while text is selected. Also few aspects are optimized. To me it appears as if selection protocol in hbIDE is OK. Please post your experiences if something is not upto the expectations. 2010-05-14 18:33 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapi.h * harbour/src/vm/dynsym.c + added new function hb_dynsymIsMemvar() 2010-05-14 07:01 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/resources/curlinehilight.png ! Some refinement though not sufficient yet. * contrib/hbqt/hbqt_hbqplaintextedit.cpp * contrib/hbide/ideedit.prg ! More optimization and behavioral changes is selected text. Still litte more work to be done. * contrib/hbide/idesaveload.prg ! Reintroduced "settings.ide" .ini like file, placed along hbide.ini", to hold Qt written hbIDE settings. This reversal is triggered by the fact that, under unknown circumstances, Qt just mangles the hbIDE.ini contents to a level that a lot of information it stores is lost. This has happened to me many times after the settings info was made to be retained in hbIDE.ini itself. Please do not change it until I come up with the way to read and write byte arrays per Qt. Below is the little snapshot what Qt inserts some info inside existing other text not meant for "idesettings" keyword: ================================= [FIND] find_1=setselection find_2="imagesfind_3=images/" find_4=":/\r\nfind_5=ShowCaretAtCurrentPosition\r\nfind_6=moveExtendsSelection\r\nfind_7=oDlg\r\nfind_8[ MORE LIKE IT ] + ,,,,,\r\n \r\n[General]\r\n \r\n" [ ALL OTHER SECTIONS BELOW MANGLED AS ABOVE ] [General] hbidesettings="@ByteArray( [ PLUS MORE, IT IS CORRECT ] ================================= 2010-05-14 15:12 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapicom.h * minor modification in defined names * harbour/src/rtl/hbcom.c + added some very seldom (in practice only on Linux kernels >= 2.4 and not by all hardware drivers) supported termios extensions * harbour/include/hbatomic.h ! fixed typo in non x86 and non MinGW GCC>=4.1 builds reported on SF bug tracker 2010-05-14 10:09 UTC+0200 Viktor Szakats * INSTALL * Clarification to HB_BUILD_IMPLIB usage. ; NOTE: By now it's very easy to create implibs outside the central make process: 'hbmk2 @contrib/<lib>/<lib>.hbi' where <lib> is the name of the contrib. Moving the resuling import library file(s) to our lib dir has to be done manually in this case. 2010-05-13 19:04 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/hbqt_hbqplaintextedit.cpp + Implemented: column selection with mouse honoring vertical scrolling. Hopefully I may be able to implement horizontal scrolling too. 2010-05-13 10:01 UTC+0200 Viktor Szakats * tests/test.prg ! Implemented missing function. * package/winuni/RELNOTES * upx 3.04 -> 3.05 * contrib/hbct/ctcom1.c * Minor formatting. 2010-05-12 22:17 UTC+0200 Viktor Szakats * INSTALL * Two minor cleanups * config/postinst.prg + Will now honor HB_CONTRIBLIBS and HB_CONTRIB_ADDONS when creating import libraries. IOW it will only create implibs for the contribs actually built. * utils/hbmk2/hbmk2.prg + Added trick when using real xhb toolchain to detect -tW C flag and in this case automatically select the ST C RTL library. (Notice that -tW will only be detected when passed normally via command-line or script, and not when using legacy HB_BUILD_CFLAGS envvar or inherited compiler flags). 2010-05-12 18:34 UTC+0200 Viktor Szakats * config/postinst.prg - Deleted -trace option left there. 2010-05-12 16:58 UTC+0200 Viktor Szakats + contrib/gtalleg/gtalleg.hbi + contrib/hbblat/hbblat.hbi + contrib/hbcairo/hbcairo.hbi + contrib/hbcurl/hbcurl.hbi + contrib/hbfbird/hbfbird.hbi + contrib/hbfimage/hbfimage.hbi + contrib/hbgd/hbgd.hbi + contrib/hbhpdf/hbhpdf.hbi + contrib/hbmysql/hbmysql.hbi + contrib/hbpgsql/hbpgsql.hbi + contrib/hbssl/hbssl.hbi + contrib/rddads/rddads.hbi + contrib/sddfb/sddfb.hbi + contrib/sddmy/sddmy.hbi + contrib/sddoci/sddoci.hbi + contrib/sddpg/sddpg.hbi + Added local import library generation hbmk2 make files to each contrib which requires it. * config/postinst.prg + Changed to use contrib local implib creation hbmk2 scripts to create import libraries. - Deleted mingw exception for ocilib to use the static library. Static lib is definitely better, but if someone would like to use it, it should be done locally/manually, just like for any other dependency. + Solved firebird implib creation hack/exception in contrib local .hbi file. ; These fix the last "centralization" issues in Harbour make system. Still remains documentation problem (everything is in INSTALL), and *nix .deb/.rpm centralized solution for contrib dependencies and contrib names in general. * utils/hbmk2/hbmk2.prg + Combining multiple -o options (one with name, one with directory) is now supported in -hbimplib mode. This makes it work like in other existing modes. ! Fixes regarding -o option combining and dir inheritance. (beware of regressions here) * contrib/gtalleg/gtalleg.hbc * Changed to use import library on Windows with an unmodified name (containing version). * src/rtl/hbcom.c ! Fixed one non-ANSI comment. * ChangeLog + Added two changes missed from prev entry: * utils/hbmk2/hbmk2.prg + In -hbimplib mode any options are automatically passed to import library creation command (so -iflag option is not absolutely needed) - Deleted -mkimplibms option now replaced by generic -iflag solution. ! Stripped UTF-8 char from a recent entry. 2010-05-12 14:30 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbnetio/netiosrv.c ! fixed yet another typo located by Aleksander Czajczyki which caused internal error (hb_xfree() with NULL pointer) 2010-05-12 12:10 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbnetio/netiosrv.c ! fixed typo in NETIO_SRVSTATUS() - -2 was always returned (modification committed by mistake in my previous commit) ! fixed to return .F. by NETIO_SRVSEND{DATA,ITEM}() if hb_znetFlush() reports error. Many thanks for Aleksander Czajczynski for information about problems and his extensive tests. 2010-05-12 09:20 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.pt_BR.po * utils/hbmk2/hbmk2.hu_HU.po * utils/hbmk2/hbmk2.prg - Deleted 'experimental' flags from all features. * Finalized import lib creation feature in hbmk2. + Added -hbimplib mode switch (this replaces -mkimplib= option) + Input source files (.dlls) now should be passed to hbmk2 as simple source filenames (without option prefix). + Multiple input source files are now supported. + Added -iflag= option to pass flags to import library creation command directly. + In -hbimplib mode any options are automatically passed to import library creation command (so -iflag option is not absolutely needed) * Changed so that target import library name/dir can now be specified using -o option (like in other modes). + Filenames/dirs are now all normalized. + Some warnings are now only shown in -info mode. - Deleted -mkimplibms option now replaced by generic -iflag solution. ; E.g.: 'hbmk2 -hbimplib mydll1 mydll2 -omydir -iflag={bcc}-a' This also means that a simple .hbp file can be created to solve the import library needs for a given dependency. * config/postinst.prg * Adapted to use new import library creation hbmk2 commands. * src/rtl/hbcom.c ! Fixed minor typo. 2010-05-12 18:23 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) + contrib/hbide/resources/curlinehilight.png Added missinf icon from prev commit. 2010-05-12 07:29 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/plugins/savebackup.hrb * contrib/hbide/plugins/savebackup.prg ! Fine tuned to receive correct number of parameters. * contrib/hbqt/doc/en/class_hbqplaintextedit.txt * contrib/hbqt/hbqt_hbqplaintextedit.cpp * contrib/hbqt/hbqt_hbqplaintextedit.h * contrib/hbqt/qtgui/HBQPlainTextEdit.cpp * contrib/hbqt/qtgui/THBQPlainTextEdit.prg * contrib/hbqt/qth/HBQPlainTextEdit.qth * contrib/hbide/hbide.prg * contrib/hbide/idedocks.prg + Added Icon: Toggle current Line Highlight in "Lines" toolbar. Public API method is ::toggleCurrentLineHilight(). * contrib/hbide/ideedit.prg * contrib/hbide/ideeditor.prg * contrib/hbide/ideenviron.prg ! Reverted: line edits font - monospace to GUI. * contrib/hbide/ideobject.prg * contrib/hbide/ideplugins.prg ! tuned to send oIDE and cVer as first and second argument to {plugin}_init( oIde, cVer ). * contrib/hbide/ideprojmanager.prg ! Reverted: line edits font - monospace to GUI. * contrib/hbide/ideshortcuts.prg + Public Method - ::toggleCurrentLineHilight(). Toggles displaying current line in distinct color. * contrib/hbide/idethemes.prg + Activated: Selection Background slot. It facilitates to control the color of selections per theme basis. + Prepared to toggle matching braces mode - both vs single. "Setup" dialog will contain its place holder. % Fixed many other artifacts coming into way, and possibly might have broken a few ones, please report. 2010-05-12 02:26 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/external/minizip/ioapi.h ! fixed FreeBSD and HAIKU builds * harbour/src/rtl/fserr.c * added translation for EPERM * harbour/include/Makefile + harbour/include/hbapicom.h * harbour/src/rtl/Makefile + harbour/src/rtl/hbcom.c + added Harbour multiplatform serial port C API (hb_com*() functions). implemented code for *nixes, MS-Windows and OS2. DOS is not supported yet. Please make test on different platforms. ; few notes about this code: termios (*nix) based builds: - reading LSR is not supported - duration in break signal is fixed (at least 0.25 seconds, and not more that 0.5 seconds) - DTR/DSR hardware flow control is not supported - setting error character is not supported - discard card is supported only on few platforms - checking input/output flow state is not supported - if some platforms do not support some termio extensions then compile time warnings TODO_* should be generated. MS-Windows builds: - discard card is not supported OS2 builds: - checking for input flow state is not supported - discard card is not supported In all builds not all RS-232 hardware flags/state are available. OS2 build supports most of them, This code needs to be extensively tested. I wrote it without any serious tests. Especially OS2 builds should be verified by OS2 users. I wrote this port using only documentation which OS2 API available in the internet. DOS is not supported yet though it's possible to compile termio code for *nixes with DJGPP. Anyhow it would be very nice if we can add our own DOS serial port code. I would like to ask if any of you has low-level serial port code in C for DOS (i.e. used with Clipper) and can send it to us so we can use it with Harbour. I have my own serial port library for Clipper but it's written in assembler and it's much wider then something what we need so it cannot be easy adopted for Harbour. * harbour/contrib/hbct/Makefile + harbour/contrib/hbct/ctcom1.c + harbour/contrib/hbct/ctcom.ch + harbour/contrib/hbct/ctcom2.c + added CT3 compatible COM_*() functions. + added CT3 compatible XMOBLOCK(), XMOCHECK(), ZEROINSERT() and ZEROREMOVE() functions. + added new CT COM function: COM_DEVNAME( <nComPort> [, <cNewName> ] ) -> <cPrevName> which can be used to specify device name for given port in modern systems which do not give direct hardware access for the process. ; few notes about CT3 COM_*() functions in Harbour. In COM_OPEN() only 1st parameter is significant, input/output buffer sizes and trap mode parameters are ignored. In modern OS-es such functionality is controlled by OS and usually buffered read/write is always enabled. The sizes of IO buffers can be used only as suggested IO buffer size for OS in some systems. It's possible that these additional parameters will be used in DOS builds in the future. COM_READ() does not support 2nd parameter <lNoDelete>. It can be implemented but because we do not have direct access to OS buffers then we will have to emulate it ourselves what is rather inefficient. Anyhow I can implement it if users think it's critical. In COM_CRC() I fixed few CT3 bugs so it's not bug compatible with CT3, i.e. it works correctly for 8 bit and smaller polynomials instead of returning 0 or supports much larger polynomials up to 64 bits. For 16/17 bit polynomials it gives the same results as CT3 so for most common usage it should be binary compatible with CT3. In ZEROREMOVE() I fixed decoding some wrong CCITT strings which does not have trailing 0 so it returns empty string "" for such corrupted data. If someone needs original CT3 behavior for some broken code then is can be enabled by HB_CT3_ZEROREMOVE_BUG macro. I haven't implemented few functions. COM_GETIO(), COM_SETIO(), COM_GETIRQ(), COM_SETIRQ() are not portable and can be implemented only for really few platforms, i.e. for DOS when/if we add support for serial ports to Harbour DOS builds. Similar functionality for all other platforms gives our new function COM_DEVNAME(). COM_KEY(), COM_SKEY() and COM_EVENT() are also not implemented. To make them well we should add support for asynchronous events to HVM and such extension is still unavailable. Some simulation can be implemented using idle tasks but this can be done also by final Harbour users so I decided to not make it. Please test it - I've never used CT3 COM_*() API with Clipper. * harbour/contrib/hbct/dummy.c * removed dummy CT3 serial communication functions ; such files with dummy functions introduces very serious problems for user code because they do not respect original module granularity effectively breaking overloading only chosen functions so it breaks also some real Clipper code. 2010-05-11 22:22 UTC+0200 Viktor Szakats * contrib/hbziparc/Makefile * contrib/hbziparc/hbziparc.prg ! Fixed <lOverWrite> support in HB_ZIPFILE(). * config/postinst.prg % Simplified local implib creation logic. 2010-05-11 21:16 UTC+0200 Viktor Szakats * config/postinst.prg ! Fixed forming quoted paths in implib creation commands. * INSTALL ! Deleted space at EOL. 2010-05-11 07:29 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/hbqt_hbqplaintextedit.cpp % Optimized: selections display with proprietory color. Now it oply operates within viewport() coordinates. % Changed: the behavior of matching brace. Now only corresponding brace is highlighted instead of both. This is exactly like xMate. Please note that highlighting both braces create confusion and at time I am lost. 2010-05-10 17:10 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/ideenviron.prg * contrib/hbide/idefindreplace.prg * contrib/hbide/ideprojmanager.prg * contrib/hbide/resources/environments.ui * contrib/hbide/resources/environments.uic % Tooltips shifted to WhatsThis slot ( Sh+F1 to view ). + Applied: monospaced font "Courier" to input fields and text boxes. 2010-05-10 21:47 UTC+0200 Xavi (jarabal/at/gmail.com) * config/postinst.prg % Corrected tipo. 2010-05-10 11:20 UTC+0200 Viktor Szakats * INSTALL + Made it clear that Windows example section is for x86/32-bit. 2010-05-09 20:11 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/hbide.prg * contrib/hbide/ideplugins.prg % Changed: plugins are loaded on first call instead of loading all plugins at startup. Now the overhead is negligible. 2010-05-09 17:21 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) + contrib/hbide/plugins + contrib/hbide/plugins/savebackup.hrb + contrib/hbide/plugins/savebackup.prg + Source and corresponding .hrb ( -gh ) plugin. In practice .prg is never required for this purpose. The source accompanying here is for demonstration purposes which exposes elements to comprehend. + contrib/hbide/resources/selectionline.png + Image to be activated when "Line" selection mode is on. * contrib/hbqt/hbqt_hbqplaintextedit.cpp * contrib/hbide/hbide.hbp + Added ideplugin.prg * contrib/hbide/idethemes.prg + Added more keywords for syntax-highlighting. * contrib/hbide/hbide.prg * contrib/hbide/idedocks.prg * contrib/hbide/ideedit.prg * contrib/hbide/ideeditor.prg + contrib/hbide/ideplugins.prg + Priliminary commit to handle plugins. * contrib/hbide/ideshortcuts.prg + Implemented: a very simple yet powerful interface to hook plugins. The idea got polished with Francesco Perillo's description of the thought. Creating a hbIDE plugin ======================= A .hrb ( compiled with -gh as the minimum ), i.e., savebackup.prg, having two mandatory functions: 1. hrb_file_name_without_extension_plus_underscrore_plus_INIT() savebackup_INIT( ... ) -> TRUE/FALSE 2. hrb_file_name_without_extension_plus_underscrore_plus_EXEC() savebackup_EXEC( oIde, ... ) -> xValue savebackup_INIT() will be used to establish hand-shake and it must return a logical indicating success or failure. Currently it is called with "1.0" as version no but is scheduled to be enhanced in future. If hand-shake is successful, means, savebackup_INIT( ... ) returns with TRUE, savebackup_EXEC( oIde, ... ) is called as per user request. oIDE is sent as the first argument followed by user supplied arguments. Within this function in .hrb, all action takes place. User can write n number of functions withing the same source but all other functions will always be STATIC ones. The whole hbIDE object is passed with each execution and hence user is having utmost control over what he wants to accomplish. Location of the Plugin ====================== All plugins ( .hrb ) must reside within "plugins" sub-folder from hbide.exe location. The location is determined with return value of hb_dirBase() + hb_osPathSeparator() + "plugins" + hb_osPathSeparator(). Loading Plugins =============== At startup hbIDE looks into "plugins" folder for all .hrb files. It then tries to establish hand-shake with them. If successful, a handle is retained in static array. When an execution request is encountered, this static array is searched for and savebackup_EXEC( oIDE, ... ) is called and return value is passed back to the caller macro. Executing Plugins in hbIDE ========================== A public method ::execPlugin( cPlugin, ... ) is implemented under "Keyboard Mappings". ::execPlugin is called with plugin name, which essentially is the .hrb file name. So in demo example, it is "savebackup". Final expression would be like : ::execPlugin( "savebackup", "saveas" ) Here "saveas" is the identifier which is used in this demo to invoke STATIC FUNCTION savebackup_saveAs( oIde ) Author of plugin has to decide how and what he would like to pass what and in how many. So simply build a macro to call a plugin with parameters, that's it. I am hopeful that you, brilliant programmers, with help extending hbIDE to an amazing levels. Send your critics to the list to enrich this thought. 2010-05-09 14:10 UTC+0200 Viktor Szakats * config/global.mk + Added autodetection of mingw/cygwin compiler versions. * config/postinst.prg * Minor in comment. 2010-05-09 00:30 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/doc/en/class_hbqplaintextedit.txt * contrib/hbqt/qtgui/HBQPlainTextEdit.cpp * contrib/hbqt/qtgui/THBQPlainTextEdit.prg * contrib/hbqt/qth/HBQPlainTextEdit.qth * contrib/hbqt/hbqt_hbqplaintextedit.cpp * contrib/hbqt/hbqt_hbqplaintextedit.h * contrib/hbide/idedocks.prg * contrib/hbide/ideedit.prg * contrib/hbide/ideeditor.prg * contrib/hbide/ideshortcuts.prg + Added more public methods and default macros. * contrib/hbide/idethemes.prg + Implemented: persistent blocks per all three modes; stream, column and line. This follows xMate footsteps but enhanced to suit any scenarion. By xMate footsteps, I mean, blocks are streamed to clipboard when cut/copied/pasted as per the standard rules. Enhancement describes that blocks cut/copied as such are subject to be pasted in the same format as are copied. Last cut/copy operation is pasted and if clipboard contain data which matches last cut/copy action within from hbIDE, its format is used to paste; but if it is alien text then "stream" is applied by default. Block remain persistent until another selection action is not initiated or is explicitly cleared with Sh+F11. There is no need to use any other key to make it persistent. Cut/copy operation can be carried on any time after block is visible. This effectively empowers hbIDE for a variety of applications. One block per source can remain active for entire duration of that instance. Just click on required instance and activate copy operation. Go anywhere on another instance and carry a paste operation. Thus blocks are movable across instances and are also available for external clipboard operations. All supported actions on blocks are now fully functional for all three flavours. You will really like "Indents" action on column selections. Now more actions can be defined for blocks, so please submit your requests supported with use-case. In the coming days on-line documentation to explore this feature will be posted at https://hbide.vouch.info/, stay tuned. Please forward your suggessions or bug reports. It was such a complex logic that for sure I found it extremely difficult to carry all debug operations, so your input will be of immense value. 2010-05-09 00:53 UTC+0200 Viktor Szakats * INSTALL + Added Ubuntu 10.4 as tested version. * include/common.ch + Added HB_HMERGE_* constant for HB_HMERGE() function. * package/winuni/mpkg_win_uni_extra_copy.bat * Commented line not necessary for official mingw build. * contrib/hbsqlit3/tests/hooks.prg * contrib/hbsqlit3/tests/authoriz.prg * contrib/hbsqlit3/tests/backup.prg + Added missing '()'s from :__enum* accesses. * config/win/mingw.mk ! Fixed after last minute change breaking it when HB_COMPILER_VER is not set. * examples/httpsrv/uhttpd.prg % Replaced 'var:__enumValue()' with 'var' in FOR EACH loops. 2010-05-08 11:53 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Extended -mkimplib option for windows gcc compilers (mingw/cygwin) to first look for matching COFF .lib file and use it to create import library. If such is not found, try to use matching .def file and automatically generate import library using dlltool. If none if these were found, use the .dll directly, to create the import library. In case of Harbour, this method resolves almost all mingw implib needs. See longer note in source (in function win_implib_command_gcc()) about the details of the problem, the only thing I cannot see is why mingw/cygwin developers insist on not fixing this issue since ten years, while all other compilers can properly resolve this problem. Anyhow until then mingw cannot use .dll using stdcall calling convention without COFF .lib or .def file. If both are missing, the only solution is to manually build a .def file by first generating it from .dll then manually adding '@nn' decoration according to function prototypes. Thanks mingw. * config/postinst.prg - Deleted APOLLO implib generation. Apollo falls into the problematic category for mingw, because developers chose to use stdcall callconv and they forgot to provide implib or .def file. It's not part of core/contrib anyway. * Slightly changed mysql implib generation to also work for mingw. - Deleted no more necessary manual hack for mysql implib generation. + Added manual hack for firebird implib generation. In this case hbmk2 automatism cannot work as they distribute COFF .lib in another directory and using a different name than the .dll. 2010-05-08 09:32 UTC+0200 Viktor Szakats * include/hbsetup.h + Added detection for HB_OS_IPHONE. Name tentative, completely experimental. + Minor addition to ARM CPU detection. * src/common/hbprintf.c ! Config modfl() accordingly when HB_OS_IPHONE is detected. 2010-05-07 18:16 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fix to recent mkimplib change. 2010-05-07 17:44 UTC+0200 Viktor Szakats * INSTALL - Deleted 'rarely updated' from official mingw comment. - Deleted equation mingw edition. * QT 4.5.x is not recommended over 4.6.x anymore. + Added link for QT 4.6.x. + Added more details to mingw version with DWARF support. (required for QT 4.6.x) * config/win/mingw.mk + Added more comment on newly added linker options. ! Fixed to only enable newly added linker options for 4.5.x and above. (tdm 4.4.x doesn't support them) 2010-05-07 17:28 UTC+0200 Viktor Szakats * config/global.mk + Won't falsely autodetect cygwin if cygstart.exe doesn't have a gcc.exe next to it. (sync with recently added hbmk2 logic) 2010-05-07 17:19 UTC+0200 Viktor Szakats * package/winuni/RELNOTES * Updated according to local tool changes. (mingw 4.5.0 was released by official mingw project) * config/win/mingw.mk + Enabled nxcompat and dynamicbase for mingw/mingw64 4.4 and upper. Note, the version isn't autodetected, so it should be passed manually using HB_COMPILER_VER, e.g.: HB_COMPILER_VER=45. * config/global.mk + mingw64 will now default HB_COMPILER_VER to '44'. * config/win/msvc.mk * Added comment. 2010-05-07 12:35 UTC+0200 Viktor Szakats * config/win/mingw.mk + Enabled --nxcompat and --dynamicbase options for mingw64 targets. * utils/hbmk2/hbmk2.prg * Changed -mkimplib usage as follow: -mkimplib=some.dll [implib_name_or_dir] It's incompatible with previous one, but allows for simpler, short calls. ! Fix to path normalizer to also append a pathsep to "." when the resulting directory is an empty one. * Minor internal change (cCCEXT moved to hbmk structure) * config/postinst.prg % Changed to use new -mkimplib parameter format. (untested) 2010-05-06 21:33 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/Makefile * harbour/src/rtl/hbznet.c + harbour/src/rtl/hbinetz.c * moved HB_INETCOMPRESS() function to separate file * harbour/include/hbexprb.c ! fixed my very bad C&P typo (2010-02-04 19:14 UTC+0100) which caused that dummy value was left on HVM stack after post decrementation used as statement. This dummy value could break construciton like FOR EACH, WITH OBJECT, BEGIN SEQUENCE. Here is self contain example which can be used to exploit the problem: proc main() begin sequence p() end sequence return proc p() local nTemp := 0 begin sequence nTemp-- end sequence return Many thanks to Heinz Bergen who reduced his code to similar small example. 2010-05-06 09:52 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/THbQtUI.prg + Added functionality for "WhatsThis" feature of Qt. - contrib/hbide/resources/projectproperties.ui - contrib/hbide/resources/projectproperties.uic - Deleted: no longer required dialog. * contrib/hbide/resources/projectpropertiesex.ui * contrib/hbide/resources/projectpropertiesex.uic * contrib/hbide/resources/shortcuts.ui * contrib/hbide/resources/shortcuts.uic % Shifted: tooltips to WhatsThis slot. Shift+F1 key is the universal key to activate it. Alternatively "?" icon appears on the left of "X" button in titlebat; press it and move over the dialog; where "WhatsThis" will be defined, cursor will change its shape and click there, tooltip like popup will open. * contrib/hbqt/doc/en/class_hbqplaintextedit.txt * contrib/hbqt/hbqt_hbqplaintextedit.cpp * contrib/hbqt/hbqt_hbqplaintextedit.h * contrib/hbqt/qtgui/HBQPlainTextEdit.cpp * contrib/hbqt/qtgui/THBQPlainTextEdit.prg * contrib/hbqt/qth/HBQPlainTextEdit.qth * contrib/hbide/hbide.hbp + contrib/hbide/ideedit.prg + Added: new source file which contains code to handle editing window at the micro level. It was going unmanageable in single file due to heavy changed needed for future. * contrib/hbide/ideeditor.prg - IdeEdit() class moved to ideedit.prg. + Implemented: base protocol to keep all the three variants of selections, viz., stream, column and line, persistant. It is a work in progress and may be some features of "cut" may not be working as expected yet. Please play with it a little and tell me about the artifacts it must respect to. 2010-05-06 07:13 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/idesaveload.prg ! Fixed hbide_getIniPath() to initialize <cPath> for OS2. Reported by David. 2010-05-06 16:08 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/hbsocket.c ! enabled domain and protocol constant values translation in SunOS builds * harbour/src/rtl/hbznet.c ! fixed to return error on some wrong input data for which ZLIB permanently returns Z_STREAM_END - thanks to Aleksander Czajczynski for the information and self contain example. 2010-05-06 15:29 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Refining cygwin autodetection by additionally looking for gcc.exe next to cygstart.exe. + -o option will now accept macros, filters and will inherit parent path even in -gh and other Harbour-only modes. 2010-05-06 08:32 UTC+0200 Viktor Szakats * src/common/hbgete.c ! Fixed hb_setenv() to not crash on NULL szName parameter. ! Fixed hb_setenv() to handle NULL szValue parameter on win platforms. 2010-05-05 15:50 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/resources/projectpropertiesex.ui * contrib/hbide/resources/projectpropertiesex.uic * contrib/hbide/hbide.ch * contrib/hbide/ideenviron.prg * contrib/hbide/ideprojmanager.prg + Added: checkboxes to <Project Properties Dialog><Tab: General> to distinguish projects belonging to specific compiler. Current implementation passes "-xhb" switch to "hbMK2" if "Xharbour" checkbox is checked. Other two options will be used in future. + Implemented: {hbmk2} slot in hbide.env to fetch switches which necessarily have to be supplied to hbMK2 on the command-line only. A typical entry may look like this: [ BCC55 xHarbour ] {hbmk2}-ignore {content} set HB_INC_INSTALL=C:\xharbour\include {content} set HB_WITH_ADS=C:\dev\c5 2010-05-05 09:45 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/idedocks.prg * contrib/hbide/ideeditor.prg * contrib/hbide/ideshortcuts.prg * contrib/hbqt/hbqt_hbqplaintextedit.cpp * contrib/hbqt/hbqt_hbqplaintextedit.h * contrib/hbqt/qtgui/HBQPlainTextEdit.cpp * contrib/hbqt/qtgui/THBQPlainTextEdit.prg * contrib/hbqt/qth/HBQPlainTextEdit.qth ! Removed: close button on "Stats" panel. + Implemented: line selection mode. Designated key is F11. It is still a work in progress but a working prototype is there and currently selection is available and paste behaves the standard way. Mindagaus, please explore as the artifacts are OK. 2010-05-05 10:39 UTC+0200 Viktor Szakats * config/os2/gcc.mk * utils/hbmk2/hbmk2.prg - Deleted resource support from os2/gcc and os2/gccomf. It didn't work with any gcc flavours. Resource support seems to be broken in gcc tools. 2010-05-05 09:58 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/compiler/gencc.c ! fixed possible HVM stack corruption by dummy (alias->field) code which does not store the result. The problem was exploited by code generated for -gc3 mode only. Here is self contain example: proc Main() begin sequence with {|| Break() } p() end sequence proc p() (test->name) (test->name) return 2010-05-05 08:02 UTC+0200 Viktor Szakats * src/rtl/achoice.prg ! Added patch by Jerry Finuliar to fine tune cursor positioning behavior. * contrib/hbmysql/mysql.c + Added MYSQL_REAL_ESCAPE_STRING() function. ! Fixed some types to be in sync with actual MYSQL implementation (int -> unsigned int, int -> unsigned long) in MYSQL_ESCAPE_STRING(), MYSQL_ESCAPE_STRING_FROM_FILE(), MYSQL_FETCH_ROW() functions. * utils/hbmk2/hbmk2.prg + Added comment on dbfnsx lib availability in xhb. 2010-05-04 18:54 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/doc/en/class_hbqplaintextedit.txt * contrib/hbqt/hbqt_hbqplaintextedit.cpp * contrib/hbqt/hbqt_hbqplaintextedit.h * contrib/hbqt/qtgui/HBQPlainTextEdit.cpp * contrib/hbqt/qtgui/THBQPlainTextEdit.prg * contrib/hbqt/qth/HBQPlainTextEdit.qth + Started: basework for different kinds of block copy/paste/move/etc operations. Nothing is final yet but hope it to be ready within a day or two. 2010-05-04 08:02 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbxbp/xbptabpage.prg ! Fixed to not generate error on right-click on a tab. 2010-05-04 06:58 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/hbqt_errorsys.prg - Removed: Error trace copied to clipboard, it was unforeseen implementation. 2010-05-04 14:10 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/vm/thread.c ! fixed problem with OS2 GCC builds reported by David. 2010-05-04 02:30 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/qth/HBQPlainTextEdit.qth * contrib/hbqt/doc/en/class_hbqplaintextedit.txt * contrib/hbqt/qtgui/HBQPlainTextEdit.cpp * contrib/hbqt/qtgui/THBQPlainTextEdit.prg * contrib/hbqt/hbqt_errorsys.prg + Error trace copied to clipboard, requested by Massimo. * contrib/hbqt/hbqt_hbqplaintextedit.cpp * contrib/hbqt/hbqt_hbqplaintextedit.h * contrib/hbide/ideeditor.prg * contrib/hbide/ideshortcuts.prg + Implemented: persistent blocks and cut/copy/paste operations across files and locations within the same file. Persistance: block remains intact untill another block marking operation is initiated. Any other editing actions can be carried as normal outside of the block boundaries. One block per source is permitted. Keyboard Mappings can be redefined for CTRL+ X.Cut C.Copy V.Paste Z.Undo Y.Redo A.SelectAll Those macros will be honored in block cut/copy/paste actions as well. 2010-05-03 18:44 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbxbp/xbptabpage.prg + Started work to make context menu alive. * contrib/hbide/hbide.prg * contrib/hbide/ideactions.prg * contrib/hbide/idedocks.prg * contrib/hbide/ideeditor.prg * contrib/hbide/ideshortcuts.prg * contrib/hbide/idethemes.prg + Implemented: almost all menu/toolbar actions to public API. Probably this will allow the user to configure hbIDE to the behavior he is used to. + Implemented: close button on the right-hand corner of editing tabs. Clicking it closes the current editing instance in focus. + Added: more Harbour keywords to color engine, OR, AND, SELF. ! Included: some more options in the main menu which were available on toolbars only. ! Cleaned some redundant code. 2010-05-03 23:52 UTC+0200 Viktor Szakats * contrib/hbide/ideeditor.prg % Replaced code with __PLATFORM__* checks with hb_osNewLine() call. 2010-05-03 18:11 UTC+0200 Viktor Szakats * contrib/hbide/idemisc.prg ! Finally added existence check for .uic files to avoid the unending flow of strange error reports (RTE/GPF) (and subsequent random guessing) about problems caused by these missing files. Now HBIDE will show a clear message and quit instantly in this case. 2010-05-03 10:11 UTC+0200 Viktor Szakats * contrib/hbmysql/mysql.ch * contrib/hbmysql/tmysql.prg * Synced type constant names with MYSQL. Kept old names for compatibility, guarded with HB_LEGACY_LEVEL3. * contrib/hbmysql/tmysql.prg % Minor optimizations. ! TMySQLRow:MakePrimaryKeyWhere() and TMySQLTable:MakePrimaryKeyWhere() fixed to not create wrong SQL expression when no primary key is present. ; FIXME: Handle this case properly in callers of these methods. 2010-05-03 00:38 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbxbp/xbptoolbar.prg ! Issued: setWindowaTitle() for main menubar. + contrib/hbide/resources/keyboardmappings.png + Icon for "keyboard Mappings" menu option. * contrib/hbide/hbide.prg * contrib/hbide/ideactions.prg * contrib/hbide/idedocks.prg * contrib/hbide/ideeditor.prg * contrib/hbide/idefindreplace.prg * contrib/hbide/idemisc.prg * contrib/hbide/ideobject.prg * contrib/hbide/ideshortcuts.prg + Implemented: almost all the docks can be placed on any of the areas. Exception is "Output Console" which is only dockable to top or bottom. + Main toolbar and statusbar featured to toggle. Statusbar, however is session dependant, i.e., is not saved for next run. ! Many artifacts fixed for Search/Replace engine, all the three variants. ! "Exppression" edit fixed to respect "Enter" key press to start searching. ! More artifacts I must be forgetting. 2010-05-02 18:11 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/hbqt_hbqplaintextedit.cpp % Fixed to honor right-to-left selection. Now text can be selected in either directions with keyboard and mouse, both. 2010-05-02 16:29 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/hbqt_hbqplaintextedit.cpp + Implemented: horizontally scrolled text to be selected via mouse. 2010-05-02 16:12 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/hbqt_hbqplaintextedit.cpp + Implemented: horizontally scrolled text to be copied. So now it is identical to xMate in all respects plus selection through mouse as properitory to hbIDE. 2010-05-02 15:00 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/hbqt_hbqplaintextedit.cpp * contrib/hbqt/hbqt_hbqplaintextedit.h * contrib/hbide/ideeditor.prg + Implemented: much-awaited and extremely-required feature - block copy/paste. This implementation closely follows xMate's footsteps and is highly optimized, having maximum tasks carried through .prg code. Probably this opens up hbIDE to wider audience. This has been the most difficult feature so far, and has consumed an entire week with intensive schedule. Here is how it should be used: Activation: Clicking on the "Toggle Selection Mode" top-toolbar icon. It must appear depressed after activation. Selection Process: Keyboard : Shift + Navigation Keys ( Left, Right, Up, down, PgUp, PgDn, Home, End ). Mouse : Mouse-move while left-button pressed ( Only available for visible text ). Copy : Ctrl+C ( text is also available on the clip-board ) Paste : Ctrl+V ( text only copied through Ctrl+C while in "Column Selection" mode ). Inserts : Position cursor at first line and column, Press Shift+Down arraow upto some ending row, A thin-vertical-line should appear follwoing your cursor path, Start typing any characters, Any other navigation key will end this sesion, Backspace key can be used to deleted previous characters. If block is already selected, visible through color differentiation, typing any charcter(s) will merely fill the selection with it, Deletes : Select the text with Shift+Navigation Keys, Press "Del". It is highly possible that some of the artifacts may have gone not exactly like xMate, so please report back. Also note that selections left-to-right are known for accuracy, right-to-left may not produce accurate results. Other thing to note is that horizontal scrolling has not been possible, so if your text goes beyond right-edge of the window and you have a need to copy it, then first zoom-in to brought it into viewport, then start selection process. Vertical length does not matter. However with mouse you can only select a window-full of text. xMate does not support column-selection with mouse. 2010-05-02 12:29 UTC+0200 Viktor Szakats * config/darwin/libs.mk ! Fixed to include MacPorts and Fink lib paths only if they exist. This fixes potential warnings with latest release of clang. * config/linux/libs.mk ! Minor in comment. * src/rtl/achoice.prg ! Added patch by Jerry Finuliar to refix dbu menu hang. 2010-04-30 11:39 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/hbznet.c ! fixed stupid typo which caused that hb_znetFlush() in encrypted buffers never returned 0 (the returned value was increased by 4) * harbour/contrib/hbnetio/netio.h * harbour/contrib/hbnetio/netiocli.c * harbour/contrib/hbnetio/netiosrv.c * harbour/contrib/hbnetio/readme.txt + added support for communication streams/channels which allow to send asynchronously data from server to client. The following client side functions had been added: NETIO_OPENDATASTREAM( <cStreamFuncName> [, <params,...>] ) -> <nStreamID> NETIO_OPENITEMSTREAM( <cStreamFuncName> [, <params,...>] ) -> <nStreamID> NETIO_CLOSESTREAM( <nStreamID>, [<cServer>], [<nPort>] ) -> <lOK> NETIO_GETDATA( <nStreamID>, [<cServer>], [<nPort>] ) -> <aData> | <cData> | NIL The following server side functions had been added: NETIO_SRVSTATUS( <pConnectionSocket> [, <nStreamID>] ) -> <nStatus> NETIO_SRVSENDITEM( <pConnectionSocket>, <nStreamID>, <xData> ) -> <lSent> NETIO_SRVSENDDATA( <pConnectionSocket>, <nStreamID>, <cData> ) -> <lSent> + added RT errors to the netio client code. They should help to early detect any communication problems ! disabled hb_socketSetNoDelay() in client and server code. I enabled it for some local tests and by mistake committed to SVN and I didn't noticed it. It could cause serious problems in some cases i.e. with slow WiFi or WAN connections. Warning: server signature changed due to extensions in protocol. both client and server side has to be updated and use current SVN code. + harbour/contrib/hbnetio/tests/netiot03.prg + added demonstration/test code for alternative RDD IO API, RPC and asynchronous data streams in HBNETIO 2010-04-29 02:00 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/hbqt_hbqplaintextedit.cpp % Improvement to horizontal ruler to respect long lines extending beyond viewport. 2010-04-29 02:00 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbxbp/xbplistbox.prg % Fixed a nasty bug. * contrib/hbqt/hbqt_hbqplaintextedit.cpp * contrib/hbqt/hbqt_hbqplaintextedit.h * contrib/hbqt/hbqt_hbslots.cpp + Implemented: horizontal ruler in the editor instances at the top of the window. Opinions are welcome about its base and tab colors. 2010-04-29 10:51 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/vm/strapi.c * harbour/include/hbapistr.h + added new C function hb_wstrnlen() * harbour/include/hbdefs.h * harbour/src/common/hbwin.c ! fixed possible buffer overflows in hb_mb*() and hb_wc*() functions * removed danger hb_mb*() and hb_wc*() functions which were wrongly used in core code and corresponding HB_TCHAR_*() macros + added hb_mbntowccpy() function and HB_TCHAR_COPYTO() macro it always sets trailing 0 after passed buffer just like hb_strncpy() + added hb_wcntombcpy() function and HB_TCHAR_COPYFROM() macro it always sets trailing 0 after passed buffer just like hb_strncpy() * harbour/src/rtl/gtclip.c ! fixed wrongly calculated size of string extracted from clipboard (when unicode string was in clipboard then number of unicode characters were used instead of number of multibyte ones) ! added protection against possible memory corruption if some external process sets clipboard text without trailing 0 * changed hb_gt_winapi_[sg]etClipboard() functions parameters to use PHB_ITEM as buffer Question to windows users: different Win GTs use different encoding for the clipboard buffer. Maybe you want to normalize it? * harbour/src/vm/cmdarg.c * harbour/src/vm/extrap.c * harbour/src/common/hbgete.c * harbour/src/common/hbffind.c * harbour/src/common/hbtrace.c * harbour/src/rtl/gtwin/gtwin.c * harbour/src/rtl/fstemp.c * harbour/src/rtl/filesys.c * harbour/src/rtl/gtgui/gtgui.c * harbour/src/rtl/gtwvt/gtwvt.c * harbour/include/hbgtcore.h * harbour/include/hbapistr.h * harbour/include/hbwmain.c * harbour/contrib/gtwvg/gtwvg.c * harbour/contrib/gtwvg/wvggui.c * harbour/contrib/gtwvg/wvgcuig.c * harbour/contrib/gtwvg/wvgutils.c * harbour/contrib/gtwvg/wvgcore.c * harbour/contrib/gtwvg/wvgwing.c * harbour/examples/gtwvw/gtwvw.c ! fixed possible buffer overflows and GPF traps due to wrongly used HB_TCHAR_*() macros and/or corresponding hb_mb*()/hb_wc*() functions Seems that some problems were potentially exploited even in non UNICODE builds. 2010-04-29 09:37 UTC+0200 Viktor Szakats * contrib/xhb/tests/xml1.prg ! Formatting. % Replaced HHasKey() with '$' operator. 2010-04-29 09:18 UTC+0200 Viktor Szakats * src/common/hbver.c + Now able to distinguish between XP x64 and Server 2003. + Now able to distinguish between Server 2003 and Server 2003 R2 (borrowed from Peter Rees/xhb, with typo fixed) (please test on these platforms) * ChangeLog + Marked some changes as [DONE]. 2010-04-29 08:44 UTC+0200 Viktor Szakats * contrib/hbwin/win_osc.c + Added WIN_OSISWINXPORLATER(). Following Peter Rees in xhb. * contrib/xhb/Makefile + contrib/xhb/xwin_reg.c + contrib/xhb/xwin_ver.c * contrib/hbwin/Makefile - contrib/hbwin/legacycr.c - contrib/hbwin/legacycv.c ! Moved these legacy Windows functions to xhb lib from hbwin lib. This way we don't have to delete them after next release, plus they provide better compatibility as they are now also present in non-win builds (returning dummy values), just like in xhb. + Added OS_ISWINXP_OR_LATER() function. 2010-04-28 23:11 UTC+0200 Viktor Szakats * contrib/xhb/hbxml.c ! REVERTED: 2010-04-05 11:04 UTC+0200 This means that these heavy leaks are again present in this xhb ported code, but at least it won't GPF. * contrib/xhb/tests/xml1.prg ! Minor to prev. 2010-04-28 23:00 UTC+0200 Viktor Szakats + contrib/xhb/tests/xml1.prg + contrib/xhb/tests/test.xml + Added xml test code posted to list by "Ivan re". (after fix and formatting) ; FIXME: This sample crashes with mingw. [DONE] 2010-04-28 19:05 UTC+0200 Viktor Szakats * src/rtl/Makefile * src/rtl/getsys.prg + src/rtl/getsyshb.prg ! Moved HB_GETREADVAR() to separate source file. ! HB_GETREADVAR() fixed to use HB_ASCIIUPPER() like TGETLIST():GETREADVAR() instead of UPPER(). * src/rtl/tgetlist.prg % TGETLIST():GETREADVAR() now can use HB_GETREADVAR() instead of duplicating the code locally. * INSTALL + Added sort of "disclaimer" note to HB_BUILD_IMPLIB option. * include/hbextern.ch + Added missing TBREADER(). 2010-04-27 19:06 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbxbp/xbplistbox.prg + setItemColorFG( nIndex, aRGB ) * contrib/hbide/ideeditor.prg + Implemented: current function the cursor is navigating highlighted in the Functions List. 2010-04-28 01:39 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/cdpapi.c * harbour/src/rtl/cdpapihb.c + added support for UTF8 Harbour pseudo CP in UTF8 and U16 conversion functions 2010-04-27 15:58 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/hbide.prg * contrib/hbide/idedocks.prg * contrib/hbide/ideharbourhelp.prg + All docks are made to be opened in the same state these were left at the last run. TESTED: on multi-monitor every artifact is behaving as expected. 2010-04-27 10:00 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/ideactions.prg * contrib/hbide/idedocks.prg + Left and right Toolbars made floatable, movable and dockable. Now these can be placed anywhere user wants. % View menubar option is placed next to Edit. 2010-04-27 08:16 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/hbide.hbp - Removed local addition. 2010-04-27 01:33 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/ideeditor.prg % Zoom-out/in now tranverse to original font through navigation. 2010-04-27 01:11 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/resources/environ.ui * contrib/hbide/resources/environ.uic * contrib/hbide/resources/projectpropertiesex.ui * contrib/hbide/resources/projectpropertiesex.uic * contrib/hbide/resources/shortcuts.ui * contrib/hbide/resources/shortcuts.uic * contrib/hbxbp/xbplistbox.prg % Fixed nasty bug. * contrib/hbide/hbide.prg * contrib/hbide/ideactions.prg * contrib/hbide/idedocks.prg + Featured: Projects, Editors, Skeletons docking widgets made floatable. + Added: Manubar->Setup->Tools & Utilities. ! Refined: Manubar->Setup->Encoding - submenus prompts. ! Resized: Keyboard Mappings dialog buttons. ! Refined: Projects Properties Dialog - General tab. These tweaks were proposed by Antonio Maniero. 2010-04-26 18:54 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/hbide.prg * contrib/hbide/ideactions.prg * contrib/hbide/ideeditor.prg * contrib/hbide/ideenviron.prg * contrib/hbide/idethemes.prg + contrib/hbide/resources/environ.ui + contrib/hbide/resources/environ.uic + started: dialog to capture build environment settings for different language compilers on line with xMate. Dialog can be seen via Menubar->Projects->Environments. Please note that this menu option is subject to change in future. It is just for bird's eyeview. 2010-04-26 21:38 UTC+0200 Viktor Szakats * contrib/hbct/dummy.c + Added dummy FILEPRINT() synonym for PRINTFILE(). 2010-04-26 21:12 UTC+0200 Viktor Szakats * external/minizip/unzip.c + Enabled encryption on unzip. For some reason original developers permanently disabled it. 2010-04-26 20:48 UTC+0200 Viktor Szakats * contrib/hbct/Makefile * contrib/hbct/dummy.c + contrib/hbct/tempfile.prg + Added TEMPFILE() implementation. 2010-04-26 11:44 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/common/hbtrace.c ! fixed potential GPF/memory corruption due to direct passing formatted string as format to syslog() function. Please remember to never create code like 'printf( str );' if str can contain printf escape characters because it may cause any unpredictable results. Always use 'printf( "%s", str);' in such context. BTW It's one of the most common bug used by hackers in buffer/stack overflow attacks, i.e. using str with %n conversion specifier. % eliminated unnecessary buffer conversion in *nix builds 2010-04-26 10:35 UTC+0200 Viktor Szakats * INSTALL + Added another envvar to the list of unnececessary ones. * contrib/hbcups/hbcups.c ! int -> HB_SIZE. Pacifies warning reported by Marco. 2010-04-26 00:24 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbxbp/xbp.ch * contrib/hbxbp/xbpdataref.prg * contrib/hbxbp/xbplistbox.prg ! Reworked XbpListBox(). Now it implements most of the methods per Xbase++ documentation. * contrib/hbxbp/tests/demoxbp.prg ! Implementation of multiple-selections list box. 2010-04-25 14:51 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbxbp/xbpsle.prg ! Small fix. * contrib/hbxbp/xbpmle.prg + Implemented almost all Xbase++ methods and slots. Untested. Can someone provide a XbpMLE() usage code which exploits its maximum methods ? 2010-04-25 12:52 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbxbp/xbpwindow.prg ! Slots/Methods synchronized. 2010-04-25 01:44 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/hbqt_hbqplaintextedit.cpp ! Fix to handle space key when code completion popup is visible. * contrib/hbide/ideeditor.prg ! Corresponding fix to above one. * contrib/hbide/idethemes.prg + Added more Harbour keywords to be distinguished in color. 2010-04-25 01:32 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbxbp/xbp3state.prg * contrib/hbxbp/xbpappevent.prg * contrib/hbxbp/xbpbitmap.prg * contrib/hbxbp/xbpbrowse.prg * contrib/hbxbp/xbpcheckbox.prg * contrib/hbxbp/xbpcombobox.prg * contrib/hbxbp/xbpdataref.prg * contrib/hbxbp/xbpdialog.prg * contrib/hbxbp/xbpfiledialog.prg * contrib/hbxbp/xbpfontdialog.prg * contrib/hbxbp/xbphtmlviewer.prg * contrib/hbxbp/xbplistbox.prg * contrib/hbxbp/xbpmenubar.prg * contrib/hbxbp/xbpmle.prg * contrib/hbxbp/xbppushbutton.prg * contrib/hbxbp/xbpradiobutton.prg * contrib/hbxbp/xbprtf.prg * contrib/hbxbp/xbpscrollbar.prg * contrib/hbxbp/xbpsle.prg * contrib/hbxbp/xbpspinbutton.prg * contrib/hbxbp/xbpstatusbar.prg * contrib/hbxbp/xbptabpage.prg * contrib/hbxbp/xbptoolbar.prg * contrib/hbxbp/xbptreeview.prg * contrib/hbxbp/xbpwindow.prg ! Reworked callbacl Slots/Methods which are now INHERITable in the sub-classes derived from Xbp Part. ! Slots ae now recognized through the slot identifier string. ! Deleted redundant parts and made code more cleaner and uniform in method calling conventions. This is first round of reforms, more will follow. 2010-04-24 13:35 UTC+0200 Viktor Szakats * src/rtl/achoice.prg ! REVERTED: Fixed typo in ACHOICE() K_UP handling, which caused a bogus line to appear below the bottom when the height of the achoice area was only one line. Pls verify me for regressions. [ It did cause regression. So now the original bug is present again. ] FIXME: --- #include "inkey.ch" CLS hb_keyPut( K_DOWN ) hb_keyPut( K_UP ) /* bogus '2' appears out of the area here. */ AChoice( 0, 0, 0, 0, { "1", "2" } ) --- 2010-04-24 10:41 UTC+0200 Viktor Szakats + examples/ps32 + examples/ps32/ps32.hbp + examples/ps32/ps32.hbc + examples/ps32/ps32.dif + examples/ps32/readme.txt + examples/ps32/tests + examples/ps32/tests/hbmk.hbm + Added necessary files to use PageScript32 with Harbour. (it's a payware product, so if anyone has any slight aversion to this, or the small .dif poses even the slightest chance of copyright issue, pls tell and I'll delete the whole stuff.) BTW, ideally someone should post this patch to the authors of the library, after all it's their interest to make it work with Harbour. The patch is very simple. 2010-04-23 23:05 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/idemisc.prg ! Fixed to store original filename without case convertion inside .hbp. It fixes issue on linux if source file name contains mix case. 2010-04-23 17:12 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/gtwvg/wvgpushb.prg ! Fixed an ommitted SETGET keyword causing demowvg/demoxbp defunct. 2010-04-23 20:27 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg * Minor safety fix. 2010-04-23 19:12 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fixed path normalization to return '.' in case a non-empty path becomes an empty one after normalization. * Added extra protection to avoid '-I' option with empty parameter. 2010-04-23 14:51 UTC+0200 Viktor Szakats * contrib/hbcups/hbcups.c % Minor opt. + Allowing to pass non-string values in hashes, which gets passed as NULL (no value) to CUPS. 2010-04-23 14:29 UTC+0200 Viktor Szakats * contrib/hbcups/hbcups.c * contrib/hbcups/tests/test.prg + CUPSPRINTFILE(): Added support for addition 'options' parameter. It can be an array of option strings or a hash table with option name/value pairs. 2010-04-23 13:07 UTC+0200 Viktor Szakats * contrib/hbmysql/readme.txt ! More or less updated this text. Notice have a common rules to build _all_ contribs and _all_ accompanying test/util apps since at least 6-12 months, so most of it was not needed anymore. It'd be interesting to make interviews with those users who still cannot figure how to link apps, since I'm out of ideas how it can be still blown off, or what is the common blocking item in such cases. My current guess is that they either don't know hbmk2, or they copy it away from its location, or they copy away tests from their original location. As some rules of thumb / checklist: 0. download C compiler (mingw/msvc prefereed) (see links in INSTALL) 1. install C compiler 2. configure C compiler (as per INSTALL EXAMPLES section) 3. download dependencies (see links in INSTALL) 4. install dependencies 5. setup HB_WITH_* vars (as per INSTALL) 6. go to Harbour source root dir 7. build Harbour (as per INSTALL, usually: 'win-make' or 'make' command) 8. change dir to preferred tests or utils subdir inside Harbour source tree ('cd contrib/hbmysql/tests'). 9. issue command: '<path>hbmk2 test.prg' (where <path> is the path to hbmk2 executable, or nothing, if Harbour bin dir has been added to PATH) 10. remember to put involved .dll in PATH, or copy them next to the executable. And again: _delete_ HB_COMPILER envvar. 2010-04-23 09:35 UTC+0200 Viktor Szakats * contrib/hbide/idemisc.prg % Deleted unused code. 2010-04-22 10:47 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/hbqt_hbqplaintextedit.cpp * contrib/hbide/ideeditor.prg * contrib/hbide/ideshortcuts.prg ! Fixed few artifacts belonging to function prototype display as tooltip and code completion behavior. 2010-04-23 02:36 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg * Minor adjustment to watcom -warn=max mapping. 2010-04-23 02:26 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg * Changed low warning level for msvc/icc compilers to -W2 (-W1 is the default). * config/wce/msvcarm.mk * config/win/icc.mk * config/win/msvc.mk + Upped 'HB_BUILD_WARN=no' warning level for msvc/icc compilers to '-W2'. (matching hbmk2 -warn=low level) * config/dos/watcom.mk * config/win/watcom.mk * config/linux/watcom.mk * config/os2/watcom.mk + Upped 'HB_BUILD_WARN=no' warning level for watcom compilers to '-w1'. (matching hbmk2 -warn=low level) 2010-04-23 01:53 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg * Reverted bcc experimental warning tweak. * Fine tuned bcc -warn levels. ! Fixed sunpro warning levels. * config/beos/gcc.mk * config/bsd/gcc.mk * config/wce/mingwarm.mk * config/darwin/gcc.mk * config/darwin/clang.mk * config/hpux/gcc.mk * config/dos/djgpp.mk * config/win/mingw.mk * config/win/cygwin.mk * config/linux/gcc.mk * config/linux/clang.mk * config/os2/gcc.mk * config/sunos/gcc.mk + Upped 'HB_BUILD_WARN=no' warning level for GCC and compatible compilers to '-W'. (matching hbmk2 -warn=low level) * config/linux/sunpro.mk * config/sunos/sunpro.mk ! Fixed to not disable all warnings explicitly in HB_BUILD_WARN=no mode. * config/win/bcc.mk * Minor sync with hbmk2. 2010-04-23 01:05 UTC+0200 Viktor Szakats * config/beos/gcc.mk * config/bsd/gcc.mk * config/wce/mingwarm.mk * config/darwin/gcc.mk * config/darwin/clang.mk * config/hpux/gcc.mk * config/dos/djgpp.mk * config/win/mingw.mk * config/win/cygwin.mk * config/linux/gcc.mk * config/linux/clang.mk * config/os2/gcc.mk * config/sunos/gcc.mk * Cosmetic sync with hbmk2. ('-Wall -W' -> '-W -Wall') 2010-04-23 01:02 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.pt_BR.po * utils/hbmk2/hbmk2.hu_HU.po * utils/hbmk2/hbmk2.prg + Added new warnings levels: -warn=max - maximum warning level (higher than Harbour). -warn=low - low warning level. * -warn=yes in bcc will not disable signedness warnings anymore. (experimental) 2010-04-23 00:49 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/common/hbtrace.c ! fixed potential GPF due to reused va_list parameter which can be exploited with some calling conventions ! fixed potential memory leak due to missing va_end() for va_list parameter initialized with va_copy() which can be exploited with some calling conventions * simplified a little bit the code by eliminating repeated code in Windows and *nix #if branches. * harbour/src/rdd/dbf1.c ! added protection against GPF when user creates DBF table with total record size greater then 65535 bytes. Now RTE CREATE 1021 is generated in such case. ! added protection against potential GPF when corrupted DBF file is open and total field length in DBF header file gives more then 65535. RTE CORRUPT 1012 is generated in such case. 2010-04-23 01:32 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/contrib/rddads/ads1.c * adjusted empty date fallback condition in putValue method. Thanks Przemek for suggestion. 2010-04-23 00:19 UTC+0200 Viktor Szakats * contrib/hbwin/win_evnt.c ! Fixed C++ casting errors. 2010-04-22 19:40 UTC+0200 Viktor Szakats * external/minizip/ioapi.h ! Added darwin-specific workaround to disable 64-bit file API calls (like fopen64()). These don't exist on darwin. 2010-04-22 18:41 UTC+0200 Viktor Szakats * config/postinst.prg ! Added hack to workaround the exception where mysql .dll doesn't work with Harbour if copied to .a file. Instead I copy over the import .lib to .a as before. If anyone knows a better solution, pls speak up. 2010-04-22 18:32 UTC+0200 Viktor Szakats * src/common/hbtrace.c ! Fixed another typo in recent modifications. [Too bad syslog() is missing from watcom. Makes testing much painful.] Please test. 2010-04-22 18:29 UTC+0200 Viktor Szakats * contrib/gtwvg/Makefile * contrib/hbwin/Makefile + Enabled WIN32_LEAN_AND_MEAN mode. * contrib/hbwin/wapi_wingdi.c * contrib/hbwin/wapi_shellapi.c * contrib/hbwin/win_shell.c ! Fixed to build in WIN32_LEAN_AND_MEAN mode. 2010-04-22 18:12 UTC+0200 Viktor Szakats * INSTALL + Added information for CUPS. * mpkg_rpm.sh * harbour.spec * contrib/hbcups/Makefile + Added remaining bits for CUPS dependency. ; Pls verify .rpm package name, I couldn't try it. * contrib/hbcups/Makefile - Deleted unnecessary autodetection path. 2010-04-22 18:45 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/contrib/rddads/ads1.c ! Fixed date handling in area putValue method for .dbf tables. ADS does not support dates smaller than 0001-01-01 and stores invalid values in .dbf without any error. E.g., 0000-01-01 is stored as '-0011231', CTOD("")+5 is stored as '****1128'. Such invalid filed values generates ADS runtime error 5095 later on getValue area method. DBF RDD stores empty dates in case of unsupported date range. This fix makes ADS RDD behaviour more compatible to DBF RDD. ADSADT behaviour is not changed because ADS allows to store and retrieve field values for dates before 0001-01-01. 2010-04-22 17:31 UTC+0200 Viktor Szakats * src/common/hbtrace.c ! Deleted just added va_copy() trick from non-*nix OSes. 2010-04-22 14:45 UTC+0200 Viktor Szakats * contrib/hbcups/Makefile ! Fixed typo in autodetection code. 2010-04-22 14:38 UTC+0200 Viktor Szakats * contrib/Makefile + contrib/hbcups + contrib/hbcups/Makefile + contrib/hbcups/hbcups.c + contrib/hbcups/hbcups.hbc + contrib/hbcups/tests + contrib/hbcups/tests/hbmk.hbm + contrib/hbcups/tests/test.prg + Added basic CUPS wrapper lib, based on code idea posted on the list by Doug. 2010-04-22 13:48 UTC+0200 Viktor Szakats * src/common/hbtrace.c * INSTALL + Added trace output support to syslog() for *nix systems (except watcom builds). It's enabled by HB_TR_SYSOUT=yes envvar, which now supercedes previous HB_TR_WINOUT setting. Windows users pls change HB_TR_WINOUT to HB_TR_SYSOUT. ! Fixed potential problem in HB_TR_WINOUT code, where the same vararg holder variable was used multiple times. On *nix this caused GPF. The safest is to make a copy of it for each usage. * contrib/hbwin/hbwin.ch * contrib/hbwin/Makefile + contrib/hbwin/tests/testevnt.prg + contrib/hbwin/win_evnt.c + Added function to add a new event to the Windows event log: WIN_REPORTEVENT( [<cServerName]>, <cEventLog>, <nType>, [<nCategory>], [<nEventID>], <cString> | <acString>, [<cRawData>] ) -> <lSuccess> * contrib/hbwin/win_prn2.c ! Fixed wce warning. * utils/hbmk2/examples/contribf.hbc * utils/hbmk2/examples/contrib.hbc + Added minizip lib. 2010-04-22 11:00 UTC+0200 Viktor Szakats - external/libpng + external/png * external/png/Makefile * external/libhpdf/Makefile * external/Makefile * harbour.spec * contrib/hbhpdf/hbhpdf.hbc * contrib/hbwin/hbwin.hbc * Renamed locally hosted libpng lib name from 'libpng' to 'png'. This way Harbour shifts to the *nix naming and syncs better with these systems. On Windows the "most official" binary builds still use 'libpng', so if someone uses them instead of locally hosted version (which is not very likely) the .hbc files shipped with Harbour should be edited accordingly. This change also satisfies past request from some users. ; NOTE: INCOMPATIBLE, pls change lib name 'libpng' to 'png' for all platforms in your make files. * contrib/hbhpdf/tests/harupdf.prg * Indentation. * Formatting. * external/minizip/readme.txt * Deleted paths from filenames. 2010-04-22 03:37 UTC+0200 Viktor Szakats * src/rtl/achoice.prg ! Fixed to be more compatible with Clipper when passed wrong parameter types to ACHOICE(). (replacing DEFAULT TO usage with foolproof method) ! ACHOICE() fixed to default dimensions to 0,0,0,0 like in Clipper. ! Fixed typo in ACHOICE() K_UP handling, which caused a bogus line to appear below the bottom when the height of the achoice area was only one line. Pls verify me for regressions. ! ACHOICE() fixed to immediately return zero (and position cursor) when wrong type or empty array was received as value array. % Fixed minor inefficiency caused by wrongly calculated display area width when rightmost colums was out of screen in ACHOICE() call. * src/rtl/alert.prg + HB_ALERT() extended to support all variables types (not just strings) when an array is passed as first parameter: E.g.: HB_ALERT( { "hello", 100, .T. } ) % Optimized out two local variables along the way. 2010-04-21 17:28 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/ideeditor.prg * contrib/hbide/idemisc.prg * contrib/hbide/idesaveload.prg * contrib/hbide/idesources.prg + Implemented: save/restrore of bookmarks. Now editing instances will be opened containing bookmarks which were placed in previous successful exit. This is valid for bookmarks in primarary window of editing instance, i.e., no split window is taken account of. 2010-04-22 02:14 UTC+0200 Viktor Szakats * harbour-win-spec * harbour-wce-spec * harbour.spec * include/hbver.h * config/global.mk + Changed version number to: 2.1.0beta1 (from 2.1.0dev) * package/winuni/mpkg_win_uni_extra_copy.bat * package/winuni/RELNOTES * package/winuni/mpkg_win_uni.bat * package/winuni/mpkg_win_uni.nsi * 2.0.0 -> 2.1.0 changes. 2010-04-22 00:24 UTC+0200 Viktor Szakats * INSTALL * Minor updates to tool links and information. * INSTALL * external/Makefile + external/minizip + external/minizip/Makefile + external/minizip/readme.txt + external/minizip/minizip.dif + external/minizip/ioapi.c + external/minizip/zip.c + external/minizip/unzip.c + external/minizip/ioapi.h + external/minizip/crypt.h + external/minizip/zip.h + external/minizip/unzip.h * contrib/hbmzip/Makefile * contrib/hbmzip/hbmzip.hbc * contrib/hbmzip/readme.txt - contrib/hbmzip/minizip.dif - contrib/hbmzip/ioapi.c - contrib/hbmzip/zip.c - contrib/hbmzip/unzip.c - contrib/hbmzip/crypt.h - contrib/hbmzip/ioapi.h - contrib/hbmzip/zip.h - contrib/hbmzip/unzip.h * Moved embedded external code from hbmzip library to separate, locally hosted library inside the 'external' directory. This way we keep all external code under this directory. This change also makes it possible to use custom version of this external library, via the HB_WITH_MINIZIP envvar. NOTE: Everyone using hbmzip, must now add 'minizip' to their lib list. (INCOMPATIBLE) 2010-04-21 13:33 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/idesaveload.prg ! Fixed a type in previous commit. 2010-04-21 12:56 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/idesaveload.prg + Implemented: hbIDE data files to be saved/retrieved in system folders if hbide.ini with path is not supplied on the command-line. The following algorythm is used: FUNCTION hbide_getIniPath( cHbideIni ) LOCAL cPath, cIni IF empty( cHbideIni ) IF ! hb_FileExists( cIni := hb_dirBase() + "hbide.ini" ) #if defined( __PLATFORM__WINDOWS ) cPath := hbide_DirAddPathSep( GetEnv( "APPDATA" ) ) + "hbide\" #elif defined( __PLATFORM_UNIX ) cPath := hbide_DirAddPathSep( GetEnv( "HOME" ) ) + ".hbide/" #endif IF ! hb_dirExists( cPath ) MakeDir( cPath ) ENDIF cIni := cPath + "hbide.ini" ENDIF ELSE cIni := cHbideIni ENDIF RETURN cIni This change makes hbIDE to be able to run on any system installed via an installer where a writable folder is expected to write to application data. Thanks Viktor for the actual code and guidance. 2010-04-20 22:27 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/hbide.prg + Implemented: last "View" to be presented at startup. Before it was always "Stats" view. * contrib/hbide/idetools.prg ! Fixed ::execTool() public method to behave properly throgh Keyboard Mappings protocol. 2010-04-19 17:13 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbxbp/tests/demoxbp.prg % One more :destroy() call. 2010-04-19 17:04 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbxbp/xbpfiledialog.prg * contrib/hbxbp/xbpfontdialog.prg % An important fix for ancilliary dialogs, i.e., file and font, to not be added as childrent to parent on :create(). This facilitate to destroy these dialogs after done with. * contrib/hbxbp/tests/demoxbp.prg ! Destroying XbpFileDialog() explicitly. Now memory is released proper. 2010-04-19 16:05 UTC+0200 Viktor Szakats * contrib/hbxbp/tests/demoxbp.prg ! Deleted no more existing debug calls. 2010-04-19 14:03 UTC+0200 Viktor Szakats * src/rtl/hbini.prg ! Added proper type checks for all accepted parameters to avoid (sometimes obscure) RTEs when passing wrong parameters. * src/rtl/profiler.prg * src/rtl/hbi18n2.prg + Added proper type checks instead of "DEFAULT .. TO' method. 2010-04-19 12:05 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbmzip/zip.c ! fixed GPF reported by Mario. Please extensively test and ZLIB/MINIZIP related code. 2010-04-17 23:02 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/hbqt_hbslots.cpp % Slots disconnecting QTableWidget were improper, detected through Linux. * contrib/hbqt/THbQtUI.prg ! More cleanup. * contrib/hbide/hbide.prg * contrib/hbide/ideactions.prg * contrib/hbide/ideharbourhelp.prg * contrib/hbide/idemisc.prg * contrib/hbide/idesaveload.prg ! Fixed some artifacts relevant to Linux. 2010-04-17 22:18 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/THbQtUI.prg * contrib/hbide/resources/themesex.ui * contrib/hbide/resources/themesex.uic * contrib/hbqt/qth/QBoxLayout.qth * contrib/hbqt/qth/QGridLayout.qth * contrib/hbqt/qth/QLayout.qth * contrib/hbqt/qtgui/QBoxLayout.cpp * contrib/hbqt/qtgui/QGridLayout.cpp * contrib/hbqt/qtgui/QLayout.cpp * contrib/hbide/idethemes.prg + Mode methods populated with custome code to accomodate detatched parents. Now there is no GPF absolutely neither any RTE at exit (Windows XP). It is 17Apr2010 today, exactly one year and one month since I took to this project, and we are through. Thanks to all who participated in this project in any way. 2010-04-17 18:40 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/qtgui/QMainWindow.cpp * contrib/hbqt/qtgui/QMenu.cpp * contrib/hbqt/qtgui/QToolBar.cpp * contrib/hbqt/qtgui/QTreeWidgetItem.cpp * contrib/hbqt/qtgui/QWidget.cpp * contrib/hbqt/qth/QMainWindow.qth * contrib/hbqt/qth/QMenu.qth * contrib/hbqt/qth/QToolBar.qth * contrib/hbqt/qth/QTreeWidgetItem.qth * contrib/hbqt/qth/QWidget.qth * contrib/hbqt/generator/hbqtgen.prg + Applied patches provided by Francesco Perillo. Now no GPF even if oObj:destroy() is not issued. I confirm on Windows XP and awaiting responses from all of you on other platforms. If all goes OK, then credit goes to Francesco and Istvan. Guys, back them up. 2010-04-17 17:41 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/qtgui/QLayout.cpp * contrib/hbqt/qtgui/QTabWidget.cpp * contrib/hbqt/qth/QLayout.qth * contrib/hbqt/qth/QTabWidget.qth ! Fix to prev commit and little synchronization. 2010-04-17 15:21 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/qtgui/QTabWidget.cpp * contrib/hbqt/qth/QTabWidget.qth + :addTab() patched like Istvan's offering to avoid GPF in Linux. 2010-04-16 18:06 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/qtgui/QLayout.cpp * contrib/hbqt/qth/QLayout.qth * contrib/hbqt/generator/hbqtgen.prg + Implemented to pick function body from .qth headers and posted exactly the same within .cpp. Like: QLayout.qth bool activate () // some method before virtual void addItem ( QLayoutItem * item ){ // Code publishes by Istvan. } void addWidget ( QWidget * w ) // some method after or none Note for the opening and closing braces. These must be last character of the method header and first character of the methods last and separate line. This feature facilitates to put the code dierect in headers where we cannot generate it in automated way. This feature is strongly discouraged to be used heavily. 2010-04-16 07:49 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/qth/QApplication.qth * contrib/hbqt/qth/QLayout.qth * contrib/hbqt/generator/hbqtgen.prg * contrib/hbqt/hbqt_hbslots.cpp * contrib/hbxbp/hbpprocess.prg * contrib/hbxbp/xbpgeneric.prg * contrib/hbxbp/xbprtf.prg * contrib/hbxbp/xbpstatic.prg * contrib/hbide/hbide.prg * contrib/hbide/idedocks.prg * contrib/hbide/ideeditor.prg * contrib/hbide/idefindreplace.prg * contrib/hbide/idefunctions.prg * contrib/hbide/idemisc.prg * contrib/hbide/ideprojmanager.prg * contrib/hbide/ideshortcuts.prg * contrib/hbide/idetools.prg + This commit includes Francesco Perillo's patch, after applying some formatting and leaving what did not worked. + Includes Istvan's concept of child detachment, but not made active still. - Deleted many objects which were created in early days of hbIDE development. + Changed the way QApplication's init/exit procedures were implemented. Now the behavior is accurate. + Applied some more control over object destruction placement. + Plus a lot of optimizations I cannot jot down exactly. Basically, this commit aims at locating the GPF at exit. Now instead of GPF, we receive two RTE's at the end, if exiting hbIDE at the quick succession. But if you have worked into it for few seconds, it exits normally. Please test. David, the QPixmap bug in hbXBP on OS2 was a bug in hbXBP and is fixed. You can test it again to verify if I am correct. 2010-04-16 07:28 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/qtcore/*.cpp * contrib/hbqt/qtgui/*.cpp * contrib/hbqt/qtnetwork/*.cpp * Regenerated Code. Details in next commit. 2010-04-16 13:25 UTC+0200 Viktor Szakats * config/win/msvc.mk * utils/hbmk2/hbmk2.prg * Replaced -Ot2b1 win/msvc* option with -O2 as recommended by Microsoft, and in sync with GNU Make. This will result in somewhat larger executable, but this gives the best overall performance. AFAICS this change will practically allow automatic inlining to take place. This puts msvc in the lead again compared to mingw regarding speed. * config/wce/msvcarm.mk * Deleted bogus option -Od turning off all optimizations for wce/msvcarm targets for new compiler versions. * config/wce/msvcarm.mk * config/win/msvc.mk * Deleted Exception Handling options from all msvc command-lines where it was supplied. It was a heritage from the past, and I could depict no sense in the setup: - old wce/msvcarm: -EHsc - new wce/msvcarm: -EHsc- - old win/msvc*: none - new win/msvc*: -EHs-c- The only place this could be needed ATM is hbqt, so pls report results after this change, or unleash any information about proper usage of these options. NOTE: These options were already left out from hbmk2. * utils/hbmk2/hbmk2.prg * Deleted -YX option for old msvc versions. (to be in sync with this recent change in GNU Make) * Synced msvcarm options for new compiler versions with GNU Make. (deleted bogus -Od and some other options) ; TODO: msvc optimization options for old compiler version could still use a revamp. [CANCELLED] 2010-04-16 11:34 UTC+0200 Viktor Szakats * INSTALL ! Typo in msvcarm 2008 example. 2010-04-16 11:27 UTC+0200 Viktor Szakats * src/rtl/gtclip.c + Added parenthesis. * contrib/hbmisc/hbeditc.c ! Pacified uninit variable MSVC warning. 2010-04-15 08:16 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/gtos2/gtos2.c * small cleanup in TONE code * harbour/include/hbvmpub.h * removed old and unused macros * harbour/external/jpeg/Makefile ! added Missing HAVE_PROTOTYPES declaration * harbour/src/rtl/hbzlib.c * harbour/contrib/hbbz2/hbbz2.c * added redundant initialization to pacify MSVC warnings * harbour/external/pcre/pcrefinf.c * casting to pacify warning * harbour/src/macro/macro.yyc * harbour/src/macro/macro.yyh * harbour/src/compiler/harbour.yyc * harbour/src/compiler/harbour.yyh * regenerated using bison with some additional patches to pacify MSVC warning 2010-04-14 15:29 UTC+0200 Viktor Szakats * INSTALL * Updated MSVS 2010 examples. 2010-04-14 13:49 UTC+0200 Viktor Szakats - tests/testcgi.prg - Deleted. 2010-04-13 20:57 UTC+0200 Viktor Szakats * contrib/hbqt/generator2/hbqtgen2.prg + Will now generate .qth files. Plus a lot of fixes. Filtering is still needed, plus I couldnt' find out the meaning of "New=" and "Type=" values in <CLASS> section. 2010-04-13 15:02 UTC+0200 Viktor Szakats * contrib/hbqt/generator2/hbqtgen2.prg + Refinement to QT header parser. It should be usable now. Filters may need to be added to only include methods/stuff relevant for HBQT. 2010-04-13 12:19 UTC+0200 Viktor Szakats * config/wce/poccarm.mk * config/dos/watcom.mk * config/win/xcc.mk * config/win/pocc.mk * config/win/bcc.mk * config/win/watcom.mk * config/linux/watcom.mk * config/os2/watcom.mk * Changed to not forcefully turn off warnings in some targets. (so HB_BUILD_WARN=no is now equivalent to hbmk2 -warn=def) ; NOTE: This will result in some new warnings in /external dir since for above compilers I've now upped the warning level from nothing to the default level. * external/zlib/Makefile * Changed to not set Harbour level warnings for this external component (in sync with all the others). 2010-04-13 08:54 UTC+0200 Viktor Szakats * contrib/hbide/ideprojmanager.prg ! Properly fixed old problem with executable name extraction, leaving the ending delimiter in the extracted string. ! Added -width= hbmk2 option to command-line to avoid splitting the output to multiple lines (thus breaking executable name extraction). * contrib/hbqt/generator2/hbqtgen2.prg + Added more, very rudamentary code to parse QT headers. 2010-04-12 23:25 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/hbqt_hbqplaintextedit.cpp ! Little formatting. * contrib/hbxbp/xbpdialog.prg + Added :removeEventFilter() on destruction. * contrib/hbide/resources/environments.ui * contrib/hbide/resources/environments.uic * contrib/hbide/resources/projectpropertiesex.ui * contrib/hbide/resources/projectpropertiesex.uic * contrib/hbide/resources/shortcuts.ui * contrib/hbide/resources/shortcuts.uic * contrib/hbide/hbide.ch * contrib/hbide/hbide.prg * contrib/hbide/ideactions.prg * contrib/hbide/ideeditor.prg * contrib/hbide/idefindreplace.prg * contrib/hbide/idehome.prg * contrib/hbide/ideobject.prg * contrib/hbide/ideprojmanager.prg * contrib/hbide/idesaveload.prg * contrib/hbide/ideshortcuts.prg ! Removed keyboard shortcuts from menu items. ! Attempted fix on nixes when project folder is not created before definition is saved. ! Dialog control labels: Exit => Close. ! More fixes to detect the executable from linker output ( still not perfect ). ! Changed the way project is launched. hope it will be useful for *nixes. + Implemented user-defined keyboard macros with following functionality: New : whatever definition is typed-in the relevant fields is validated with existing ones and if unique is appended at the end of list. The macro is also validated for compilation. Set : current hilighted macro is redefined from values from fields after duplicate validation. The macro is also validated for compilation. Test : Attempts to compile the macro as a block and reports back if successful or not. It just compiles but not evaluates. delete : deletes the highlighted macro after confirmation. Load : loads macros from a disk-file and merges them with existing ones. In case of duplicacy, last loaded macro is retained. Save : Saves the macros in hbide.scu disk-file in hb_serialize()d form. Save As: Saves the macros in a disk-file with any name but with .scu extension. Any change is visible instantly, Unless <Save> is clicked, current loaded macros are not saved on disk. This allows to use temporary created macros for current session. More info at https://hbide.vouch.info/ ( Topic: Keyboard Mappings ) 2010-04-12 22:56 UTC+0200 Viktor Szakats + contrib/hbqt/generator2 + contrib/hbqt/generator2/hbqtgen2.prg + contrib/hbqt/generator2/QtGui.txt + contrib/hbqt/generator2/QtCore.txt + contrib/hbqt/generator2/QtNetwork.txt + Added new skeleton for QT header parser. 2010-04-12 21:45 UTC+0200 Viktor Szakats * external/zlib/zlib.dif * contrib/hbmzip/minizip.dif * Updated .difs. + external/libhpdf/libhpdf.dif + Added new .dif. * contrib/hbide/ideprojmanager.prg % Deleted -hbcmp when creating .ppo. It was unnecessary since later -hbraw mode is selected. 2010-04-12 21:11 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/external/zlib/deflate.c * harbour/external/zlib/gzread.c * pacified warnings * harbour/external/zlib/zutil.h ! fixed to compile with XCC * harbour/external/zlib/zconf.h ! removed wrongly added #if 0 / #endif * harbour/external/zlib/gzguts.h ! added missing header files to fix _ALL_ builds * harbour/external/zlib/Makefile * reenabled warnings - it's very danger to pacify warnings in such way what recent ZLIB update clearly shows - it was seriously broken in all builds due to missing header files with valid function declarations but the problem was fully hidden because C++ mode and warnings were disabled so no problem was reported at compile time. Please also remember that many of Windows compilers does not fully support pure ANSI C function declaration so this new library may not work as expected. * harbour/external/libhpdf/hpdfcfg.h ! removed setting for all platforms HAVE_UNISTD_H this file was generated by autoconf on platform which has <unistd.h> but we cannot leave it because it will break all code which uses standard autoconf settings like HAVE_UNISTD_H and is compiled on platform where <unistd.h> is not available * harbour/contrib/hbmzip/ioapi.c ! fixed to include ioapi.h before any other header files - it uses some feature macros which have to be set before including standard C files * harbour/contrib/hbmzip/ioapi.h ! removed from feature set macros setting of internal __USE_* ones ! do not set _LARGEFILE64_SOURCE in DOS and OS2 - macro with the same name is used by new ZLIB 1.2.4 for explicit 64-bit gzip API. * harbour/contrib/hbmzip/hbmzip.c ! fixed old typos in type of return value in hb_zipfileParam() and hb_unzipfileParam() NOTE: I haven't tested if this new mzip/zlib 64-bit file IO support works. It's even possible that previously working code in 64-bit platforms (except Win64 on all other 64-bit platforms 'long' is 64-bit integer) stopped to work so please make real tests. 2010-04-12 11:08 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added feature to allow -inc mode when using harbour compiler as preprocessor: 'hbmk2 -hbraw -inc -p[<path>] -s[<m>] <.prg[s]>' + Added dummy handling for rest of '%__APP*__%' OSX macros. 2010-04-11 21:45 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + -info parameter will now enable output line with target filename. This is done by default in -inc mode, so to get it also in non -inc mode, just add -info to command-line. This fixed target detection in HBIDE. 2010-04-11 21:40 UTC+0200 Viktor Szakats * contrib/hbide/ideprojmanager.prg ! Fixed to not ignore hbmk2 path as set in options or via envvar. ! Fixed to not use -c when calling bash with .sh script as parameter. ! Deleted attempt to detect output filename by parsing link command for -o option. This is not portable method. ! Fixed target filename detection to look for Chr( 10 ) instead of .exe. Detection is now fine, but it still cannot launch it for other reasons. Plus, detection only works when -inc mode is used. ! Deleted hard-coded help text of external tools. * contrib/hbide/idemisc.prg % Changed to not include '#!/bin/sh' in generated .sh file. + DirAddPathSep() renamed to hbide_DirAddPathSep() and made public. * contrib/hbide/hbide.prg - Deleted test code. * contrib/hbblink/blinker.prg ! Reverted previous wrong fix. (-C doesn't work as cmd.exe option) 2010-04-11 16:52 UTC+0200 Viktor Szakats * contrib/hbide/hbide.prg * contrib/hbxbp/xbpwindow.prg - Deleted few remaining reference for HBQT_GETMEMUSED(). * contrib/hbxbp/xbp.ch * contrib/hbxbp/xbpsle.prg * contrib/hbxbp/xbpbrowse.prg * contrib/hbxbp/xbptabpage.prg * contrib/hbxbp/xbpwindow.prg * contrib/hbxbp/xbphtmlviewer.prg * contrib/hbxbp/xbpdialog.prg * contrib/hbxbp/xbpspinbutton.prg * contrib/hbxbp/xbpdataref.prg * contrib/hbxbp/xbpgeneric.prg * Replaced remaining custom wrappers for HB_TRACE() calls with bare HB_TRACE() calls. This will make it easy to locate trace calls using a single 'grep'. 2010-04-11 15:53 UTC+0200 Viktor Szakats * contrib/hbqt/qtgui/QInputContext.cpp ! Deleted hbqt_getmemused() reference. How could this file not be updated automatically? * contrib/hbqt/qtgui/QInputContext.cpp * contrib/hbqt/qtcore/QChar.cpp * contrib/hbqt/qtcore/TQChar.prg ! Added missing SVN props. * contrib/hbqt/hbqt.h * contrib/hbqt/hbqt.hbc * contrib/hbqt/hbqt_base.cpp * contrib/hbqt/hbqts.hbc - Deleted Windows specific memory tracing. 2010-04-11 15:41 UTC+0200 Viktor Szakats * contrib/hbqt/hbqt_destruct.cpp + Added trace calls. (pls correct me if there is a typo, I don't have capacity to rebuild QT components these days) 2010-04-11 13:50 UTC+0200 Viktor Szakats * contrib/hbmzip/minizip.dif * contrib/hbmzip/ioapi.h + Enabled 64-bit file operations for open watcom 1.9. (no go, reverted) 2010-04-11 13:35 UTC+0200 Viktor Szakats * contrib/hbmzip/minizip.dif * contrib/hbmzip/ioapi.h + Enabled 64-bit file operations for open watcom 1.9. ! Fixed typo in prev commit regarding watcom. 2010-04-11 13:23 UTC+0200 Viktor Szakats * package/winuni/RELNOTES * Preparing for Open Watcom 1.9 and MSVS 2010 / WSDK 7.1. * contrib/hbide/hbide.ch ! Added #include "hbtrace.ch" 2010-04-11 13:00 UTC+0200 Viktor Szakats * INSTALL + Added (untested) examples for upcoming Windows SDK 7.1 and MSVS 2010. (to be released tomorrow) 2010-04-11 09:31 UTC+0200 Viktor Szakats * INSTALL * HB_COMPILER_VER explanation made hopefully more clear. 2010-04-11 09:25 UTC+0200 Viktor Szakats * external/pcre/Makefile ! Fixed to compile 8.02 with msvc and bcc. * package/winuni/RELNOTES * Updated external package versions. 2010-04-10 19:35 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/qtcore/*.cpp * contrib/hbqt/qtgui/*.cpp * contrib/hbqt/qtnetwork/*.cpp ! Regenerated sources with changes in logging format and addition. 2010-04-10 16:11 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/idedocks.prg * contrib/hbide/ideenviron.prg * contrib/hbide/idefindreplace.prg * contrib/hbide/idemisc.prg * contrib/hbide/ideprojmanager.prg * contrib/hbide/ideshortcuts.prg * contrib/hbide/idesources.prg * contrib/hbxbp/hbpprocess.prg ! Fixed error when double-click on build output was causing GPF if no editor tab is in focus, i.e., Welcome tabs are visible. - Removed some loggings. % Reworked how build commands are called. Now only one batch file is sent to the process engine to fire and rest is contained into that batch file. It probably may solve *nix issue where a .sh is not executed or any other command with long list of params. 2010-04-10 12:04 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbxbp/xbpdialog.prg + Added :sysMenu instance variable picked from Shum's example. 2010-04-10 19:58 UTC+0200 Viktor Szakats * contrib/hbide/ideobject.prg * contrib/hbide/idefunctions.prg * contrib/hbide/idefindreplace.prg * contrib/hbide/idesources.prg * contrib/hbide/idethemes.prg * contrib/hbide/ideeditor.prg * contrib/hbide/hbide.prg * contrib/hbide/idemisc.prg * contrib/hbide/idesaveload.prg * contrib/hbide/ideshortcuts.prg * contrib/hbide/ideprojmanager.prg ! Replaced static hbide_dbg() function call with HB_TRACE( HB_TR_ALWAYS, ... ) calls. This should also fix excessive permanently enabled debug messages when using HBIDE. Pls keep it that way. BTW, probably HB_TR_ALWAYS should be changed to some lower priority. 2010-04-10 19:46 UTC+0200 Viktor Szakats * contrib/hbqt/hbqt.ch - Deleted unused HBQT_DEBUG() macro. Pls use HB_TRACE( HB_TR_*, ... ) to make it obvious where trace calls are made. (Same should be done in HBXBP) * contrib/hbqt/THbQtUI.prg * Replaced static hbq_dbg() function with HB_TRACE( HB_TR_ALWAYS, ... ) calls. This makes sure that the trace call is dynamically toggled. * contrib/hbide/hbide.prg - Deleted __HBIDE_DEBUG__ forced define, which in turn forcefully enabled user-environment options HB_TR_DEBUG and HB_TR_WINOUT. I beg: Please set these on your local environment. That's the whole point of these settings. Unconditionally setting them in app code is not good idea. Go to Control Panel / System / Local environment and just add them there (if you need them) and case is closed. This should also fix excessive log output when simply using HBIDE. ! Fixed missing space between revision and filename in title bar. % Cleaned retrieving Harbour revision for title bar. ; Most above changes target to make HBQT/HBIDE tracing behave just like other parts of Harbour (without losing functionality). Pls don't revert them. 2010-04-10 10:13 UTC+0200 Viktor Szakats * external/zlib/zlib.dif * external/zlib/zconf.h ! Tweak to make it build with BCC (when this specific constant is defined, e.g. by libharu). * external/pcre/Makefile ! Tweak to make 8.02 work with BCC. ; NOTE: BCC is seemingly not tested/used by any important external projects. If it goes like this, I will stop doing these updates and leave them to real BCC users. It's going against the flow. * config/postinst.prg * /V2 -> -V2 to make *nix shells happy. 2010-04-09 23:15 UTC+0200 Viktor Szakats * harbour.spec * utils/hbmk2/examples/contribf.hbc * contrib/Makefile + contrib/hbblink + contrib/hbblink/hbblink.ch + contrib/hbblink/hbblink.hbc + contrib/hbblink/Makefile + contrib/hbblink/blinker.prg * contrib/hbmisc/hbmisc.hbc * contrib/hbmisc/Makefile - contrib/hbmisc/blinker.prg - contrib/hbmisc/blinker.ch * Moved Blinker compatibility calls to separate library. * Renamed blinker.ch to hbblink.ch ! Changed to use '-c' instead of '/c' in command execution. ; QUESTION: Any opinions on including that in core? 2010-04-09 13:08 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbxbp/xbpdialog.prg ! initialization of XbpDrawingArea() in :new() method. 2010-04-09 21:19 UTC+0200 Viktor Szakats * package/harb_osx.icns + Recreated from high-res .eps file. (512x512 and smaller versions) BTW: Vailton, I can't see credits for Patrick Mast regarding the logo on the homepage. Unless I'm missing something, could you pls add it? 2010-04-09 20:37 UTC+0200 Viktor Szakats * contrib/hbmzip/Makefile + Forcing C mode to avoid excessive number of local patches to make it compile in C++ mode. + contrib/hbmzip/minizip.dif + Added diff to original sources. (we're storing 3rd party external code here) Maybe this external code would be better be moved to separate minizip lib in /external to keep things clean. * contrib/hbmzip/ioapi.c * contrib/hbmzip/zip.c * contrib/hbmzip/unzip.c * contrib/hbmzip/crypt.h * contrib/hbmzip/ioapi.h * contrib/hbmzip/zip.h * contrib/hbmzip/unzip.h + Updated to 1.1 (from 1.01?) This version gives ZIP64 support. To exploit it we will need changes in Harbour wrapper code. ; FIXME: In quick tests BCC was throwing 'Abnormal program termination' [DONE] and created corrupted .zip. Rest seems okay. ; TODO: Platforms tests, review patches, etc. [DONE] 2010-04-09 14:52 UTC+0200 Viktor Szakats * external/jpeg/jidctflt.c * external/jpeg/jcapimin.c * external/jpeg/jddctmgr.c * external/jpeg/rdbmp.c * external/jpeg/jcmaster.c * external/jpeg/jversion.h * external/jpeg/README * external/jpeg/link.txt + Updated to 8a (from 8) 2010-04-09 14:43 UTC+0200 Viktor Szakats * external/zlib/Makefile * external/zlib/zlib.dif * Forcing C mode for zlib to avoid lots of local patches making it compile in C++ mode. * external/zlib/deflate.c * external/zlib/zutil.c + external/zlib/gzlib.c - external/zlib/gzio.c * external/zlib/deflate.h + external/zlib/gzread.c * external/zlib/zutil.h * external/zlib/crc32.c * external/zlib/trees.c * external/zlib/zconf.h * external/zlib/inffast.c * external/zlib/compress.c + external/zlib/gzwrite.c * external/zlib/Makefile * external/zlib/zlib.h + external/zlib/gzclose.c * external/zlib/inftrees.c * external/zlib/inflate.c * external/zlib/uncompr.c * external/zlib/inftrees.h * external/zlib/inflate.h + external/zlib/gzguts.h * external/zlib/adler32.c * external/zlib/infback.c + Updated to 1.2.4 (from 1.2.3) * external/zlib/zlib.dif * Updated. Pls double check me, it's possible I've missed some patches while manually repatching new sources. 2010-04-09 14:19 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/macro/macro.y * harbour/src/compiler/harbour.y * minor cleanup 2010-04-09 14:04 UTC+0200 Viktor Szakats * external/sqlite3/sqlite3.c * external/sqlite3/sqlite3.h + Updated to 3.6.23.1 (from 3.6.23) * external/pcre/pcreexec.c * external/pcre/pcre.h * external/pcre/pcreinal.h * external/pcre/pcretabs.c * external/pcre/pcredfa.c * external/pcre/pcrecomp.c * external/pcre/config.h * external/pcre/pcreucd.c * external/pcre/pcreprni.h * external/pcre/ucp.h * external/pcre/pcreglob.c + Updated to 8.02 (from 8.01) 2010-04-09 02:58 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbxbp/xbp.ch * contrib/hbxbp/xbpdialog.prg + Added some missing instance variables. Thanks Shum for reporting. 2010-04-09 08:49 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg * _EOL -> _CHR_EOL 2010-04-09 08:36 UTC+0200 Viktor Szakats * Makefile ! Fixed to not try to execute hbrun when it doesn't exist (e.g. when building libs only). 2010-04-08 17:21 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/hbqt_hbqplaintextedit.cpp ! Removed some debug calls. + contrib/hbide/resources/shortcuts.ui + contrib/hbide/resources/shortcuts.uic + Added shortcuts interface widget. * contrib/hbide/resources/themesex.ui * contrib/hbide/resources/themesex.uic ! Fixed some resizing issues when objects were appearing at dis-proportioned locations. * contrib/hbide/hbide.hbp * contrib/hbide/hbide.prg * contrib/hbide/ideactions.prg * contrib/hbide/idedocks.prg * contrib/hbide/ideeditor.prg * contrib/hbide/idemisc.prg * contrib/hbide/ideobject.prg * contrib/hbide/ideshortcuts.prg * contrib/hbide/idetools.prg * contrib/hbide/idewizard.prg * contrib/hbide/resources/check.png + Implemented: interface to define keyborad shortcuts. This implementation is like xMate and provides a powerful mechanism to write developer-friendly code to simulate exact same behavior he/she might be adept to other editors. The development is under progress, just play with its interface and let me know if some more elements can be added. More on https://hbide.vouch.info/ ( Topic: Keyboard Mappings ) 2010-04-08 13:37 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/idemisc.prg ! Fixed wrong concataion of path and file when path was empty. This fixes ( partially ) the built .exe detection in hbIDE. 2010-04-08 21:23 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fixed not propely working filters in some options + situations. (should fix hbrun.hbp problem after recent update) * Cleanups regarding pathsep conversion to native format in some internal routines. 2010-04-08 18:12 UTC+0200 Viktor Szakats * contrib/hbide/hbide.ch ! Fixed to map CRLF to hb_osNewLine() instead of windows specific Chr( 13 ) + Chr( 10 ). Better would be to rename this to _EOL, and _EOL to _CHR_LF. * contrib/hbide/idemisc.prg ! Fixed to use <br /> instead of <br>. * Changed one ocurrence of CRLF to Chr( 13 ) + Chr( 10 ). 2010-04-08 08:38 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbxbp/xbpdialog.prg ! Initiated :clipChildren instance variable on XbpDrawingArea() class. I did not know it could be initialized before creating XbpDialog(). Thanks Shum for the exact code. 2010-04-08 17:10 UTC+0200 Viktor Szakats * contrib/hbxbp/xbpgra.prg ! GraGetRGBIntensity() simplified, optimized and fixed to work. I'm not XPP user, but returning permanent zero was probably not the goal. Pls test it. * src/rtl/hbhex.c * Minor formatting. * contrib/hbssl/Makefile * contrib/hbssl/hbssls/Makefile - Disabled IDEA subsystem wrappers. IDEA is patented yet, so usually it's better to build OpenSSL without it. 2010-04-08 07:48 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbxbp/xbpgra.prg ! GraGetRGBIntensity() function body updated with code sent by Shum after applying formatting and variable declaration optimization. UNTESTED. 2010-04-08 00:32 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/contrib/sddodbc/sddodbc.c + VARBINARY, LONGVARBINARY type support 2010-04-07 09:44 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/ideprojmanager.prg ! Added some more debug code for *nix users to understand how some files are managed. 2010-04-07 17:14 UTC+0200 Viktor Szakats * ChangeLog ! Fixed my latest ChangeLog entry. (missed Maurilio as contributor, wrote OS X instead of OS/2.) 2010-04-07 15:29 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/harbour.spec ! fixed to work after moving directories with SDD* drivers 2010-04-07 15:28 UTC+0200 Viktor Szakats + package/harb_os2.ico + Uploaded OS/2 Harbour icon. Thanks to Maurilio Longo. * utils/hbrun/hbrun.rc * utils/hbrun/hbrun.hbp * Changed to use OS/2 .ico file for OS/2 targets. Pls test. 2010-04-07 14:36 UTC+0200 Viktor Szakats + package/harb_osx.icns + Uploaded OS X Harbour icon. Thanks to Vailton Renato. 2010-04-07 14:30 UTC+0200 Viktor Szakats * src/rtl/gtwin/gtwin.c * src/rtl/gtwvt/gtwvt.c + Added support for setting mouse position. * src/rtl/mouseapi.c ! Fixed typos in trace messages. 2010-04-07 14:05 UTC+0200 Viktor Szakats * src/rtl/fstemp.c ! Fixed HB_DIRTEMP() (and low-level equivalent) returning error/empty-string on *nix targets due to typo. 2010-04-07 10:37 UTC+0200 Viktor Szakats - package/harbour.ico + package/harb_win.ico * package/mpkg_win.nsi * package/winuni/mpkg_win_uni.nsi * utils/hbrun/hbrun.rc * utils/hbrun/hbrun.hbp * Renamed .ico to make it obvious that it is a Windows icon file. 2010-04-07 05:55 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/contrib/hbcairo/tests/hellow.c * HB_SETCODEPAGE() -> HB_CDPSELECT() * harbour/contrib/sddodbc/sddodbc.c + BIGINT type support * statement handle alloc/free updated to ODBC 3.x API 2010-04-06 17:40 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/THbQtUI.prg + Added more hbqt.ch defined constants. * contrib/hbide/resources/searchreplace.ui * contrib/hbide/resources/searchreplace.uic * contrib/hbide/hbide.prg * contrib/hbide/ideactions.prg * contrib/hbide/idedocks.prg * contrib/hbide/idefindreplace.prg + Enabled again other way of "Search/Replace" invokable by Ctrl+Sh+F. This opens the dialog at the bottom of editing area. This is exactly the same as it is implemented in Qt Creator also. ! Fixed to always show up the right-dock widgets when invoked. 2010-04-06 15:02 UTC+0200 Viktor Szakats * tests/mt/mttest09.prg ! Fixed to use native core function instead of XPP wrapper. Thanks to Rafa for reporting it. 2010-04-06 11:15 UTC+0200 Xavi (jarabal/at/gmail.com) * harbour/src/rtl/gtwin/gtwin.c % Reverted back the changes. 2010-04-06 04:00 UTC+0200 Xavi (jarabal/at/gmail.com) * harbour/src/rtl/gtwin/gtwin.c % Minor corrections to latest fixing. 2010-04-06 03:00 UTC+0200 Xavi (jarabal/at/gmail.com) * harbour/src/rtl/gtwin/gtwin.c ! Fixed CTRL_CLOSE_EVENT according to present project goals. 2010-04-05 09:04 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbxbp/hbpprocess.prg + Implemented ::lDetached functionality to execute a process independent from application's process. * contrib/hbide/resources/toolsutilities.ui * contrib/hbide/resources/toolsutilities.uic * contrib/hbide/hbide.hbp + Added ideshortcuts.prg * contrib/hbide/hbide.prg * contrib/hbide/ideenviron.prg * contrib/hbide/idemisc.prg * contrib/hbide/idesaveload.prg + contrib/hbide/ideshortcuts.prg + Started "Public Methods" which will lead to define shortcuts by the user. * contrib/hbide/idethemes.prg * contrib/hbide/idetools.prg * contrib/hbide/idewizard.prg + Reworked : from bottom up, the "Tools and Utilities" protcol. Now it is possible to execute any type of file. It also opens the door to host any language specific projects inside hbIDE. DETAILS: https://hbide.vouch.info/ ( Topid: Tools and Utilities ). 2010-04-05 11:10 UTC+0200 Viktor Szakats * contrib/sddodbc/tests/test1.prg ! Fixed relative path to test.mdb after recent relocation. Still doesn't work though: --- Connect: 1 Error SQLBASE/1901 Not connected Called from DBUSEAREA(0) Called from MAIN(14) --- 2010-04-05 11:04 UTC+0200 Viktor Szakats * contrib/xhb/hbxml.c ! Applied recent heavy leak fixes from xhb project. (with some modifications) * Formatting. % Optimized out two local variables. - contrib/rddsql/sddodbc + contrib/sddodbc * contrib/sddodbc/Makefile * contrib/sddodbc/sddodbc.hbc ! Moved to contrib root. (somehow missed from previous commit when other sdd* libs were moved) 2010-04-05 00:16 UTC+0200 Viktor Szakats * contrib/hbide/hbide.hbp - contrib/hbide/hbide.rc ! Using portable method to add icon to executable. * config/ren_sfn.prg * Minor. 2010-04-04 10:37 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) + contrib/hbide/hbide.rc + Added missing file. * contrib/hbide/idedocks.prg * contrib/hbide/ideparseexpr.c ! Minor formatting. * contrib/hbide/idestylesheets.prg ! Subdued "active tab" color. 2010-04-04 07:06 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/ideenviron.prg ! Fixed wrong variable assign. ! Fixed to accept any path instead of "*.exe". Thanks Barry for the bug. 2010-04-03 17:05 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/hbqt_hbqplaintextedit.cpp ! Optimization and LineNumbers area refinements. * contrib/hbide/hbide.hbp + contrib/hbide/hbide.ico + Added icon for windows builds. * contrib/hbide/hbide.prg * contrib/hbide/ideeditor.prg * contrib/hbide/idehome.prg * contrib/hbide/idestylesheets.prg * contrib/hbide/idethemes.prg ! Some dialogs made static instead of locals. ! Line number area of editor instances is now optimized to not show empty space at the left if no "Book Mark" is employed. ! Few more optimizations. 2010-04-03 12:36 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rdd/wacore.c ! fixed GPF when unknown (never used in application code) alias is passed to hb_dbRequest() function - thanks to Shum for the info and code example 2010-04-02 09:40 UTC+0200 Viktor Szakats + config/ren_sfn.prg - external/bzip2/cnv_hb2o.bat - external/bzip2/cnv_o2hb.bat + external/bzip2/ren_sfn.txt - external/libhpdf/cnv_o2hb.bat - external/libhpdf/cnv_hb2o.bat + external/libhpdf/ren_sfn.txt - external/pcre/cnv_o2hb.bat - external/pcre/cnv_hb2o.bat + external/pcre/ren_sfn.txt + Replaced .bat method for converting long filenames to short ones to a .prg script and simple text input file. Also much of the logic is automatized. * src/rtl/gtwvt/gtwvt.c * Minor in old comment. * INSTALL - Deleted no more relevant restriction with HB_BUILD_PKG. * contrib/hbwin/wapi_winuser.c * contrib/hbwin/hbwin.ch + Added WAPI_SETWINDOWPOS() + relevant constants. + Added WIN_WS_* constants. + Added WAPI_ISICONIC(), WAPI_ISZOOMED(). * contrib/hbwin/tests/testax.prg ! Fixed to compile without warning. * Using hbwin.ch. 2010-04-01 16:44 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/gtwin/gtwin.c * harbour/src/rtl/gtwvt/gtwvt.h * harbour/src/rtl/gtwvt/gtwvt.c * modified to use in UNICODE builds current HVM CP if user has not set display CP using HB_SETTERMCP() or HB_SETDISPCP() * harbour/src/rtl/gtwvt/gtwvt.h * harbour/src/rtl/gtwvt/gtwvt.c * eliminated most of HB_TCHAR_*() translations % optimized setting SelectCopy menu item name to avoid unnecessary memory allocation and to use hb_str*() API ! allow to set window title before displaying the window (HB_GTI_WINTITLE) % use hb_str*() API for window title setting ! removed redundant window title setting just after creating new window ! pass pointer to HB_GTWVT structure as lpParam in CreateWindow() function to allow WM_CREATE message processing and early window handle registration * harbour/tests/cpinfo.prg * added HB_SETTERMCP() setting * harbour/examples/gtwvw/tests/cbtest1.prg * harbour/examples/gtwvw/tests/cbtest6.prg * harbour/examples/gtwvw/tests/ebtest7.prg * small cleanup to compile with Harbour 2010-03-30 21:55 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/gtwvg/gtwvg.h ! fixed compilation with XCC 2010-03-30 05:17 UTC+0200 Xavi (jarabal/at/gmail.com) * harbour/src/rtl/teditor.prg ! Fixed typo in K_CTRL_PGDN. * harbour/src/rtl/memoedit.prg % Adjust nLineLength, SCOREBOARD to present as Clipper. ``` PROCEDURE Main() CLS @ 1, 0 TO 5, 11 SET SCOREBOARD ON MemoEdit( "12345678901", 2, 1, 4, 10, .T. ) RETURN ``` 2010-03-29 22:53 UTC+0200 Viktor Szakats * config/os2/gcc.mk + Readded OS/2 windres call in coff mode. Commented the whole thing with NOTE. Seems like windres bug. I left gccomf branch active, maybe they fixed it in those more recent versions. 2010-03-29 22:42 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbthread.h * harbour/src/vm/thread.c % use thread local memory to optimize _hb_gettid() % use _hb_gettid() instead of _gettid() in OS2 GCC builds * harbour/src/vm/hvm.c % minor speed improvement * harbour/src/vm/memvars.c ! cleaned local vars detaching code 2010-03-29 22:34 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fixed to always convert pathseps in icon filename to forward slashes. * utils/hbrun/hbrun.rc * Cleaned. Now back to original commit with purely forward slashes. Should see if this works with OS/2 GCC windres. 2010-03-29 13:50 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg * config/os2/gcc.mk ! Fixed to not use '-O coff'. It generates strange error. '-O omf' is still used, pls test it. * utils/hbrun/hbrun.rc * Trying to make it work for OS/2 and at the same time lessen the chaos (e.g. using forward slashes in filenames). 2010-03-29 09:52 UTC+0200 Viktor Szakats * Makefile - bin/postinst.prg + config/postinst.prg * Moved postinst.prg from bin to config dir. * config/postinst.prg + Changed to automatically build all tools found in /utils, thus dropping hard-wired tool names from postinst. * Minor cleanup. 2010-03-28 19:22 UTC+0200 Viktor Szakats * bin/postinst.prg * Corrected double pathseps in one place. * ChangeLog + Marked TODO's as DONE. ! Fixed timezone for today. * utils/hbrun/hbrun.rc + Added support for OS/2. Can someone test it? 2010-03-28 13:34 UTC+0200 Viktor Szakats * config/rules.mk ! Added hack to make it build hbpp after latest change. Again hbpp, I couldn't find out what was the real problem, so there may be a better fix. 2010-03-28 12:14 UTC+0200 Viktor Szakats - bin/postinst.bat * bin/postinst.prg * INSTALL * Moved remaining .bat to .prg. This means that HB_BUILD_PKG now should work with all shells and (cross) build situations. I didn't test these (pls do so), but it's now easy to make necessary tweaks for these platforms in case it's necessary. ; Harbour doesn't use a single line of .bat anymore in the build process. 2010-03-28 11:38 UTC+0200 Viktor Szakats * config/wce/mingwarm.mk * config/win/mingw.mk * config/win/cygwin.mk * config/os2/gcc.mk ! Fixed resource compiler binary name to honor CCPREFIX and friends. * utils/hbrun/Makefile + utils/hbrun/hbrun.rc + Added resource file to include icon. ; FIXME: The .ico file path is hard-wired and will break if HB_BUILD_NAME contains subdirs. * bin/postinst.bat - Deleted no more necessary hack to build hbrun with icon using hbmk2. 2010-03-28 11:15 UTC+0200 Viktor Szakats * INSTALL * config/rules.mk + config/res.mk * config/bin.mk * config/wce/global.mk * config/wce/mingwarm.mk * config/wce/poccarm.mk * config/wce/msvcarm.mk * config/common/watcom.mk * config/win/xcc.mk * config/win/mingw.mk * config/win/pocc.mk * config/win/bcc.mk * config/win/watcom.mk * config/win/cygwin.mk * config/win/global.mk * config/win/msvc.mk * config/os2/watcom.mk * config/os2/gcc.mk * config/os2/global.mk + Added support to GNU Make system to compile and link resources on win, wce and os2 platforms. * bin/postinst.bat + Deleted requirements from local comment. These are documented in INSTALL. 2010-03-27 10:46 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbxbp/xbpgra.prg ! GraInitMaterix(...) => GraInitMatrix(...) 2010-03-27 10:12 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbxbp/xbpgra.prg + GraInitMaterix(...) Xbase++ compatible dummy function. 2010-03-27 18:12 UTC+0100 Viktor Szakats * bin/postinst.bat * bin/postinst.prg + Moved shared Harbour tools generation from .bat to .prg. So now it should work on OS/2, cross-builds and all shells in general. (some command-line tweaks may be required for *nix) + Changed hbrun regeneration (with icon) to better take into account build settings. ; This leaves about 50 (!) total lines of DOS batch code in Harbour, which is quite good for a project of this size. 2010-03-27 17:42 UTC+0100 Viktor Szakats * bin/postinst.bat * bin/postinst.prg + Moved implib generation logic from .bat to .prg. You may recall this has happened recently, and you're right, but this time it's based on hbmk2 calls. This change means that implib generation is now available for all shells (e.g. msys and cross-build scenarios). (best would be to move to GNU Makefile level though) 2010-03-27 17:01 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg * Very small cleanup. 2010-03-27 13:43 UTC+0100 Viktor Szakats * contrib/hbmisc/hbmisc.hbc + Added now needed incpaths= option. 2010-03-27 13:24 UTC+0100 Viktor Szakats * contrib/hbmisc/Makefile * contrib/hbmisc/blinker.prg + contrib/hbmisc/blinker.ch ! Fixed BLICPUREL(). + Added blinker.ch header. This contains some stuff missing from original Blinker and some runtime mockup/emulation for following linker commands: BLINKER EXECUTABLE SERIAL <"String"> /* Harbour needs double quotes around the string */ BLINKER DEMONSTRATION DATE <YYYYDDMM> BLINKER DEMONSTRATION MINUTES <minute> * src/rtl/tgetlist.prg * Minor formatting. 2010-03-26 22:00 UTC+0100 Viktor Szakats * contrib/hbmisc/Makefile + contrib/hbmisc/blinker.prg + Added Blinker compatible functions. Not tested functionally. Many of the functions are dummies, since many of them is highly MS-DOS specific, but they should help porting Clipper apps. + Added extra functions to control link-time burn in of some values in original Blinker. In Harbour they can be set using these function calls, e.g. called from an INIT PROC: HB_BLIVERNUM( cString ) HB_BLIDEMDTE( dDate ) HB_BLIDEMMIN( nValue ) * include/hbmemory.ch ! Typo in comment. 2010-03-26 13:24 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/hbqt.ch ! Included missing constant. Strange, nobody reported. It seems nobody is trying hbIDE, right? 2010-03-26 17:32 UTC+0100 Viktor Szakats * contrib/hbpgsql/postgres.c ! PQESCAPEBYTEA(): Fixed wrong size casts. ! PQESCAPEBYTEA(): Fixed to return string with correct length. + PQESCAPEBYTEA(), PQUNESCAPEBYTEA(): Will now RTE if parameter is not string. (to be in sync with PQESCAPEBYTEACONN()) ! PQESCAPEBYTEACONN(): Fixed to return string with correct length. 2010-03-26 15:46 UTC+0100 Viktor Szakats * bin/postinst.bat ! Correction to ocilib "implib" generation exception. 2010-03-26 15:44 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fixed decorating implib name in -mkimplib option if the name contained dir component. 2010-03-26 15:04 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg * Minor cleanup to use native pathseps in hb_FileExists() call. * bin/postinst.bat ! Fixed missing '\' when forming PGSQL .dll path. 2010-03-26 13:25 UTC+0100 Viktor Szakats * contrib/hbssl/ssl.c * contrib/hbssl/x509.c * contrib/hbssl/sslctx.c ! Attempt to fix compilation error using 0.9.8m and 1.0.0betas. * config/detect.mk + Enabled OpenSSL for bcc. I'm not exactly sure what is the factor here, it used to work once, then it didn't, now it works again. Maybe related to OpenSSL version. Now tested with 0.9.8m. + Enabled OpenSSL for watcom. Same as above, maybe 1.8 fixed it, maybe new OpenSSL version. Maybe someone will invest time to find out. ! Disabled OpenSSL for wce platform. Again, the exact circumstances are shady, but even 0.9.8m needs errno.h, which is not present in C compilers targeting WinCE. 2010-03-26 10:52 UTC+0100 Viktor Szakats * contrib/gtwvg/gtwvg.c * contrib/gtwvg/gtwvg.h * contrib/gtwvg/wvgcuig.c * contrib/gtwvg/wvggui.h ! Further cleanup to OLE usage and related headers. ! Deleted some unnecessary headers. 2010-03-26 05:05 UTC+0100 Xavi (jarabal/at/gmail.com) * harbour/src/rtl/teditor.prg ! Fixing MemoEdit K_PGDN / K_PGUP calculation. 2010-03-26 00:44 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/vm/hvmall.c ! fixed typo in last commit 2010-03-26 00:12 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/vm/hvmall.c * harbour/include/hbstack.h * reactivated for tests inline ASM code which can be used to access HVM stack pointer in MT HVM builds. It can be enabled in 32-bit desktop windows Harbour builds by setting HB_ASM_TLS build time macro. 2010-03-25 23:19 UTC+0100 Viktor Szakats ! bin/postinst.bat Fixed to not make unnecessary hbmk2 calls and warnings for unset external components when HB_BUILD_IMPLIB=yes. sf.bet bug #2976700 2010-03-25 21:37 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/vm/hvmall.c ! added missing HB_STACK_PRELOAD - the performance of MT HVM on C compilers/platforms which do not support C thread local variables was hardly reduce due to missing above macro, i.e. MinGW builds 2010-03-25 08:03 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/resources/panel_8.png + contrib/hbide/resources/toolsutilities.ui + contrib/hbide/resources/toolsutilities.uic + Added one more dialog to interface "Tools & Utilities" implementation. * contrib/hbide/hbide.ch * contrib/hbide/hbide.hbp * contrib/hbide/hbide.prg * contrib/hbide/ideactions.prg * contrib/hbide/idedocks.prg * contrib/hbide/idedocwriter.prg * contrib/hbide/ideeditor.prg * contrib/hbide/idefindreplace.prg * contrib/hbide/ideharbourhelp.prg * contrib/hbide/idemisc.prg * contrib/hbide/ideobject.prg * contrib/hbide/idesaveload.prg * contrib/hbide/ideskeletons.prg * contrib/hbide/idesources.prg * contrib/hbide/idestylesheets.prg * contrib/hbide/idethemes.prg * contrib/hbide/idetools.prg + Implemented: "Tools & Utilities" option. It can be invoked via a new top-toolbar icon with two components, 1) Click the icon itself to define a tool, 2) Select from icon's drop-down list to execute. The execution is also available from within its interface <Execute> button. ! Reworked: "Panels" interface. Now it is a toolbar icon with drop-down menu. This interface is much-more elegant and effective in operations. + Implemented: auto-saving a source in the background. Legend: after every minute the contents of the source are inspected, if the source is modified, it is saved with ".tmp" extension concating after its original name. C:\x\my.prg => C:\x\my.prg.tmp if application exits normally, theis temp file is deleted, the same is done with every "SAve" invocation. if at next run, this file is detected, it is asked to replace the original one. + Introduced: again, the animated controls, i.e., gradients on the menus, toolbars, etc, but are controlled via "Toggle Animation" option in the "View" sub-menu of main menu. This implementation is not made persistent, need to hera from you. ! Removed: "Always_On_Top" flag of Harbour Splash Screen. It was causing that in case of startup error, or info rendering, user was unable to view the same. . Back to the pavilion, after a tiring outing. So I could not compile all the changes I did before leaving, so please be patient if something goes weired. 2010-03-25 13:52 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/common/expropt2.c ! fixed stupid c&p typo in timestamp optimization, many thanks to Mindaugas for the information about the bug. 2010-03-25 12:20 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbsetup.h + use FORCEINLINE defined in compiler header files * harbour/src/vm/fm.c * do not redefine FORCEINLINE if it's already defined in compiler header files 2010-03-25 10:38 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbsetup.h + added HB_FORCEINLINE macro * harbour/include/hbatomic.h * use HB_FORCEINLINE instead of _HB_INLINE_ * harbour/src/vm/fm.c * define for DLMALLOC FORCEINLINE macro as HB_FORCEINLINE * harbour/src/vm/dlmalloc.c * removed some cleanup in FORCEINLINE declaration and _HB_INLINE_ usage reducing number of local Harbour modifications. 2010-03-25 09:29 UTC+0100 Viktor Szakats * include/hbapirdd.h ! Typos in comments. * contrib/hbct/print.c + Rewritten PRINTREADY() to work on all platforms the core supports. * contrib/sddoci/sddoci.c + Added 'nullable' flag support. By the name it's right, but it's foggy which flag constants belong to which structure and rdd code suggest this flag does something else depsite the name. Pls look at it. 2010-03-25 09:10 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbbz2/hbbz2.c * use hb_xalloc()/hb_xfree() inside BZIP2 code to allocate/free memory ! added protection against 32-bit memory buffer overflow. It also fixed warnings on platforms where HB_SIZE is 32-bit value. 2010-03-25 00:14 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbatomic.h * removed unnecessary parenthesis * renamed HB_SPINLOCK_INIT_R macro to HB_SPINLOCK_INITVAL_R + added HB_SPINLOCK_INIT_R(l) macro * harbour/src/vm/fm.c * harbour/src/vm/dlmalloc.c + updated to DLMALLOC 2.8.4 * added OS2 support from our previous DLMALLOC version + updated to use our own recursive locks when available * disabled hack which breaks strict aliasing ! added some fixes to new DLMALLOC code TODO: Test it with MSVC win and wince builds and add _MSC_VER based protection for __forceinline usage (I do not know in which MSVC version it was added). Test it with OS2 GCC and OpenWatcom builds. Test it Darwin and some other *nixes. * harbour/contrib/sddfb/sddfb.c ! fixed missing reference operator in isc_detach_database() ! fixed NULL used to clear connection handles * keep references to connection handlers passed to isc_*() functions * minor formatting 2010-03-24 21:42 UTC+0100 Viktor Szakats * contrib/Makefile + sdd libs ordered alphabetically like other contribs. 2010-03-24 10:31 UTC+0100 Viktor Szakats * contrib/sddmy/tests/hbmk.hbm + contrib/sddfb/tests + contrib/sddfb/tests/hbmk.hbm + contrib/sddpg/tests + contrib/sddpg/tests/hbmk.hbm * contrib/sddsqlt3/tests/hbmk.hbm * contrib/sddoci/tests/hbmk.hbm + Added missing tests dirs. It would be great to add some test.prg's otherwise it's pretty hard to test these libs. ! Sync tests dir .hbm option with rest of contribs. * contrib/sddmy/tests/test1.prg ! Fixed warning to compile with now std strict make options. 2010-03-24 10:24 UTC+0100 Viktor Szakats * contrib/Makefile * contrib/rddsql/Makefile - contrib/rddsql/sddmy + contrib/sddmy * contrib/sddmy/Makefile * contrib/sddmy/sddmy.hbc - contrib/rddsql/sddfb + contrib/sddfb * contrib/sddfb/Makefile * contrib/sddfb/sddfb.hbc - contrib/rddsql/sddpg + contrib/sddpg * contrib/sddpg/Makefile * contrib/sddpg/sddpg.hbc - contrib/rddsql/sddsqlt3 + contrib/sddsqlt3 * contrib/sddsqlt3/Makefile * contrib/sddsqlt3/sddsqlt3.hbc - contrib/rddsql/sddoci + contrib/sddoci * contrib/sddoci/sddoci.hbc * contrib/sddoci/Makefile * Flattened dir structure. * contrib/sddfb/sddfb.c * contrib/sddsqlt3/sddsqlt3.c * Minor formatting. 2010-03-23 15:19 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbxvm.h * harbour/src/vm/hvm.c + added hb_xvmPushAliasedFieldExt() and hb_xvmPopAliasedFieldExt() * harbour/src/compiler/gencc.c % use hb_xvmPushAliasedFieldExt() and hb_xvmPopAliasedFieldExt() to optimize code generated for <alias> -> <name> expressions in -gc3 mode * harbour/include/hbsetup.h + added _HB_INLINE_ macro * harbour/include/hbatomic.h + added HB_SPINLOCK_TRY(l) + added support for recursive spin locks * harbour/src/vm/fm.c * use _HB_INLINE_ 2010-03-23 12:55 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/contrib/rddsql/hbrddsql.h * harbour/contrib/rddsql/sqlbase.c * harbour/contrib/rddsql/sddfb/sddfb.c * harbour/contrib/rddsql/sddmy/sddmy.c * harbour/contrib/rddsql/sddoci/sddoci.c * harbour/contrib/rddsql/sddodbc/sddodbc.c * harbour/contrib/rddsql/sddpg/sddpg.c * harbour/contrib/rddsql/sddsqlt3/sddsqlt3.c * moved SDD backend specific data from SQLCONNECTION and SQLAREA to a separate SDDCONN and SDDDATA structures. This helps to avoid fake type casting and warinings like "break strict-aliasing rules". * 1 -> HB_TRUE * formatting, style ! connection array is now array of connection pointers. This fixes GPF if many connections are created and connection table has to be reallocated 2010-03-23 08:37 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg * Minor (non-functional) corrections to latest additions. 2010-03-23 01:02 UTC+0100 Viktor Szakats * bin/postinst.prg - Deleted hb-mkimp.bat reference. This file is no more. 2010-03-23 00:54 UTC+0100 Viktor Szakats * contrib/hbwin/hbwin.ch * contrib/hbwin/Makefile + contrib/hbwin/wapi_mmsystem.c + Added WAPI_PLAYSOUND() function. * bin/postinst.prg * package/winuni/mpkg_win_uni_extra_copy.bat - Deleted hacks dealing with sub-contribs inside contribs. (this breaks .hbc autofind for sdd* libs and won't anymore include sdd tests and .hbc files in windows unified distro) * contrib/rddsql/sddmy/sddmy.c * contrib/rddsql/sddmy/Makefile * contrib/rddsql/sddsqlt3/sddsqlt3.c * contrib/rddsql/sddsqlt3/Makefile * contrib/rddsql/sddpg/sddpg.c * contrib/rddsql/sddpg/Makefile * contrib/rddsql/sddfb/sddfb.c * contrib/rddsql/sddfb/Makefile * contrib/rddsql/sddodbc/sddodbc.c * contrib/rddsql/sddodbc/Makefile * contrib/rddsql/sddoci/sddoci.c * contrib/rddsql/sddoci/Makefile ! Fixed to use standard method to refer to dependent rddsql lib. 2010-03-22 14:23 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rdd/wafunc.c ! added protection against possible GPF when wrong array with field names is passed to __dbTrans() or relative functions 2010-03-22 12:54 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbdefs.h + added HB_SIZE_MAX macro * harbour/src/vm/hvm.c * harbour/src/vm/arrays.c * use HB_SIZE_MAX instead of ULONG_MAX 2010-03-22 10:58 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fixed implib internal flag handling for msvc targets. ! Fixed path format conversion in implib parameters. + Added support for filters, macros for implib creation parameters. 2010-03-22 10:36 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added -trace support to -mkimplib option. * Variables renamed in new code. - examples/hbdoc - examples/hbmsql - Deleted two obsolete components: - hbmsql is not available freely anymore and was not tested or update since many years. Check hbmysql and hbsqlit3 for alternatives. - hbdoc was superceded by hbdoc2. 2010-03-22 02:52 UTC+0100 Viktor Szakats - tests/bnch_win.bat - Deleted benchmarking aid. 2010-03-22 01:33 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added undocumented '-mkimplibms' option to allow for users to make bcc implib happy for some .dlls (translated to -a implib.exe option). Ugly solution, needed because bcc chose not to follow standards. * bin/postinst.bat + Some adjustments to hbmk2-based implib generation command-lines. + Added exception to use static ocilibs with mingw. * bin/postinst.bat - bin/hb-mkimp.prg * package/winuni/mpkg_win_uni_extra_copy.bat * package/winuni/mpkg_win_uni.bat * package/winuni/mpkg_win_uni.nsi + Switched HB_BUILD_IMPLIB build option to use hbmk2 to create implibs instead of local solution (hb-mkimp.prg). Note, this means that implibs will now always be created dynamically from .dll, even when a package offers pre-built .lib for the compiler. This will in practice cause a change msvc and pocc compilers. This also means that from now on it's enough to have the .dll to create implibs. It's also easier for users to create implibs using hbmk2 any time, so it's possible that HB_BUILD_IMPLIB build-time option will be deleted in the future. ; Not tested yet. 2010-03-22 01:02 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + Finishing touches to -mkimplib option: - Automatic "dressing" of target library name with extension, lib prefix. - More detailed feedback. * bin/postinst.bat + Added hb-mkimp.prg replacement logic based on hbmk2. (not yet enabled) 2010-03-22 00:43 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added experimental -mkimplib= option to "convert" .dll files into import libraries. Syntax tentative. ; TODO: Support for idiotic -a Borland C implib option. If anyone has an idea how to detect when to use -a and when not, I will implement it. If not, I will most probably drop maintaining -a option for bcc and leave it off. This leaves implibs working for most .dlls we currently use, but will break some (blat, curl, cairo, pq, alleg from contrib). [DONE - with hack] * config/win/xcc.mk * utils/hbmk2/hbmk2.prg ! Fixed to use case-correct filenames for xcc tools. * bin/hb-mkimp.prg + Added msvcia64, msvcarm, xcc support. ! Fixed few library specs for msvc*. * FS_ERROR -> F_ERROR ! Fixed handling spaces inside dll name for msvc*. ! Fixed handling non .dll extension for msvc*. 2010-03-21 20:30 UTC+0100 Xavi (jarabal/at/gmail.com) * harbour/src/rtl/teditor.prg ! Fixing MemoEdit parameter calculation: nTextBuffRow, nWindowColumn. ``` PROCEDURE Main() CLS // Put 5 in the 5 position and next BS to change. ? MemoEdit( "123",,, MaxRow(), MaxCol(),,,,,, 5 ) WAIT RETURN ``` 2010-03-21 20:00 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/macro/macro.y + added support for <alias> -> &( <exp> ) in macrocompiler * harbour/src/macro/macro.yyc * regenerated for new grammar rules 2010-03-21 12:26 UTC+0100 Viktor Szakats * bin/hb-mkimp.prg + Finished, tested. This version also adds pocc64 support. It also gives proper feedback. * INSTALL * bin/postinst.bat - bin/hb-mkimp.bat * package/winuni/mpkg_win_uni_extra_copy.bat * package/winuni/mpkg_win_uni.bat * package/winuni/mpkg_win_uni.nsi + Switched to use hb-mkimp.prg instead of .bat. 25 kB less of non-portable .bat file in Harbour SVN. Remains only ~100 lines of .bat stuff in core parts. + Deleted GNU Sed requirement. + Lifted Windows NT requirement for implib creation. + Lifted NT shell requirement for implib creation. 2010-03-21 12:00 UTC+0100 Viktor Szakats + bin/hb-mkimp.prg + Added .prg rewrite for implib generation. This highly reduces redundancy, drops WinNT and GNU Sed tool requirement, further lowers the amount of non-portable batch sources in SVN. It also opens the door to add automatic implib generation in tools like hbmk2. Not yet tested. * bin/postinst.bat % Minor cleanup. * bin/hb-mkimp.bat * Rearrangement. * utils/hbmk2/hbmk2.prg ! Typo on comment. 2010-03-20 11:25 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/hbide.ch * contrib/hbide/hbide.prg * contrib/hbide/idefunctions.prg * contrib/hbide/idesaveload.prg + Implemented: auto-loading the last "Re-tagged" functions prototype. It may take some time but it is done at the background, so user will never experience the difference. You can start working on any other aspect of hbIDE. 2010-03-20 18:51 UTC+0100 Viktor Szakats * bin/postinst.bat ! Fixed/cleaned latest modification, removed redundancy. 2010-03-20 10:12 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/ideprojmanager.prg * contrib/hbide/idesources.prg + Implemented: auto-save the project's source(s) at "build" time, if some are modified. This is implemented by default, no options. Regression is possible, please report. 2010-03-20 18:30 UTC+0200 Petr Chornyj (myorg63 at mail.ru) * harbour/ChangeLog ! fixed typo my previous commit. Sorry.. 2010-03-20 18:00 UTC+0200 Petr Chornyj (myorg63 at mail.ru) * harbour/bin/postinst.bat ! fixed to not override hbrun if HB_BUILD_SHARED == "yes" * harbour/ChangeLog ! fixed date * harbour/contrib/hbsqlit3/hbsqlit3.c ! fixed usage of hb_fsNameConv in SQLITE3_TEMP_DIRECTORY 2010-03-20 07:53 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/hbide.hbp + Added idewizard.prg * contrib/hbide/hbide.prg ! Postponed destruction of QSplashScreen(), always producing GPF on OS2, to take care of by Qt itself. * contrib/hbide/idedocks.prg ! Fix to *nixs warning QWidget::setLayout: Attempting to set QLayout "" on QDockWidget "dockHelp", which already has a layout and family. + contrib/hbide/idewizard.prg + Preparations for globalization of hbIDE for Xbase world. 2010-03-20 14:32 UTC+0100 Viktor Szakats * contrib/hbwin/win_shell.c ! Inevitable tweaking for Windows API header / compiler idiocy. 2010-03-20 13:26 UTC+0100 Viktor Szakats * contrib/hbwin/hbwin.ch + Added WIN_LR_* flag constants for WAPI_LOADIMAGE(). * contrib/hbwin/win_shell.c * contrib/hbwin/hbwin.ch + WIN_SHELLNOTIFYICON(): Added support for balloon notifications. * contrib/hbwin/wapi_commctrl.c ! Fixed functions to be defined regardless of _WIN32_IE value and to return permanent errors if not. 2010-03-20 13:07 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbwin/wapi_winuser.c * cleaned some code to use wapi_par_*() and wapi_ret_*() macros + added WAPI_*() functions to create and manipolate menus (HMENU) + added WAPI_CREATEACCELERATORTABLE( <aAccels> ) -> <hAccel> and WAPI_DESTROYACCELERATORTABLE( <hAccel> ) * harbour/contrib/hbwin/hbwin.ch + added new constant values for WAPI manu functions (WIN_MF_* and WIN_TPM_*) * harbour/contrib/hbwin/hbwapi.h + added few new wapi_par_*() and wapi_ret_*() macros ! fixed wapi_ret_UINT() and wapi_ret_DWORD() macros to not make conversion which can create negative values 2010-03-20 10:49 UTC+0100 Viktor Szakats * contrib/hbbz2/Makefile - contrib/hbbz2/hbbzip2.ch + contrib/hbbz2/hbbz2.ch - contrib/hbbz2/hbbzip2.c + contrib/hbbz2/hbbz2.c - contrib/hbbz2/hbbzip2.hbc + contrib/hbbz2/hbbz2.hbc * contrib/hbbz2/tests/hbmk.hbm * Renaming hbbzip2 to hbbz2 (pass 2/2) * utils/hbmk2/examples/contribf.hbc * Updated. - utils/hbmk2/examples/hmg.hbc - utils/hbmk2/examples/minigui.hbc - Deleted these examples since they are now maintained in HMG/MiniGui projects (Thanks!). 2010-03-20 10:42 UTC+0100 Viktor Szakats - contrib/hbbzip2 + contrib/hbbz2 * contrib/Makefile * contrib/hbbz2/hbbzip2.hbc * Renaming hbbzip2 to hbbz2 (pass 1/2) 2010-03-20 10:38 UTC+0100 Viktor Szakats * bin/postinst.bat ! Fixed recent change. 'HB_BUILD_SHARED=yes' means to create _default_ binaries (hbtest.exe, hbrun.exe, etc) in shared mode, so the correct behavior here is to _not_ create separate shared versions in this case. I didn't retest every aspect of this, so it's possible even this is wrong and the whole change has to be rethought or reverted. ! Fixed indentation after recent change. Please do respect formatting when editing files. 2010-03-20 11:00 UTC+0200 Petr Chornyj (myorg63 at mail.ru) * harbour/bin/postinst.bat * Minor change to respect HB_BUILD_SHARED 2010-03-19 22:22 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/hbide.ch * contrib/hbide/hbide.prg * contrib/hbide/idemisc.prg * contrib/hbide/idesaveload.prg + Reworked command-line parameters. Now hbIDE can be invoked with either of the combination, .ini .hbp .prg .c .cpp. Following algorithm is followed: 1 .ini has the precedance over .hbp. 2 if both are passed then .hbp will be added to the project tree, after loading components from .ini. 3 if only .hbp is passed, then no attempt is made to save the settings. 4 if only sources are passed then all will be opened "Main" panel, which will also be the startup panel, no project tree will be displayed. C:\harbour\contrib\hbide>hbide.exe hbide.hbp C:\harbour\contrib\hbide>hbide.exe idemisc.prg idethemes.prg C:\harbour\contrib\hbide>hbide.exe C:\dev_hbmk\hbide.ini hbide.hbp Regression is possible, please inform any incompatibilities. 2010-03-19 14:04 UTC+0100 Viktor Szakats * src/common/hbverdsp.c * Deleted an empty line in build information. * contrib/gtwvg/gtwvg.h * contrib/gtwvg/wvggui.h * contrib/gtwvg/wvgcore.c - Deleted local (and unmaintained) hacks to make OLE work. * .c source changed to use hbwinole.h instead. * contrib/gtwvg/wvgcore.c ! Fixed to build properly in mingw C++ mode. (build errors found with mingw64 4.5.0) 2010-03-19 01:40 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/ideskeletons.prg ! Meta concept enhanced further. <-NAME=PROMPT> ; then NAME will be the meta and string returned by PROMPT dialog will be assigned to <-NAME> for next occurances. The assignment is done only with <-PROMPT> meta. This feature is especially useful when skeleton is built defining a class: --- SKELETON --- #include "common.ch" /*------------------------------*/ CLASS <-NAME=PROMPT> INHERIT IdeObject DATA oUI METHOD new( oIde ) METHOD create( oIde ) METHOD destroy() ENDCLASS /*------------------------------*/ METHOD <-NAME>:new( oIde ) ::oIde := oIde RETURN Self /*------------------------------*/ METHOD <-NAME>:create( oIde ) DEFAULT oIde TO ::oIde ::oIde := oIde RETURN Self /*------------------------------*/ --- INSERTION ( after input "MyNewClass" in the dialog ) --- #include "common.ch" /*------------------------------*/ CLASS MyNewClass INHERIT IdeObject DATA oUI METHOD new( oIde ) METHOD create( oIde ) METHOD destroy() ENDCLASS /*------------------------------*/ METHOD MyNewClass:new( oIde ) ::oIde := oIde RETURN Self /*------------------------------*/ METHOD MyNewClass:create( oIde ) DEFAULT oIde TO ::oIde ::oIde := oIde RETURN Self /*------------------------------*/ 2010-03-18 21:15 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/hbide.hbp ! Deleted .rc entry. 2010-03-18 20:49 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/hbide.hbp * contrib/hbide/hbide.prg * contrib/hbide/ideactions.prg * contrib/hbide/idedocks.prg * contrib/hbide/ideeditor.prg * contrib/hbide/ideobject.prg + contrib/hbide/ideskeletons.prg + Reworked and greatly enhanced "snippets->skeletons" management. How it works: ============= 1. Creating of skelton is as before with same interface. 2. In addition, the selected text in the current editor can be saved as a skeleton via "Save as Skeleton..." option in right-click context menu. A "Name" will be asked via a modal input edit dialog. 3. A new "Skeletons" tree-view is implemented at the Left-hand docking area which displays all skeletons by name. 4. Hovering cursor over the name node shows up the body of skeleton as a tooltip, very handy. 5. Double-click on the node in tree-view will insert the skeleton text at the current cursor position. 6. Alternatively, as before, menu can be activated via CTRL+K. 7. Skeletons body now supports meta data as follows: --- DO WHILE .T. IF cVar == "<-PROMPT>" xVar := <-DtoC( Date() )> ENDIF <-CUR> EXIT ENDDO --- You can see there are 3 occurances of <-*> token. <-PROMPT> will execute an input dialog and the resultant string will be inserted here. <-DtoC( Date() )> will evaluate the expression, which in this case, - "03/18/2010" - will be inserted. This means any valid Harbour expression which returns a string can be designated as meta-expression. <-CUR> will position the cursor at this place. This is what I thought it should behave. Please let me know it anything else can make it more productive. 2010-03-18 15:02 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/hbide.ch * contrib/hbide/idesaveload.prg * contrib/hbide/idethemes.prg + Unified hbide.ini and idewindow.ini. Now hbIDE uses standards .ini format. Please delete your hbide.ini. 2010-03-18 16:12 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/hbzlib.c * harbour/contrib/hbbzip2/hbbzip2.c ! fixed typo (reverted return value) in recent modification 2010-03-18 14:10 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbwin/axcore.c * use hb_parstr_u16() instead of hb_mbtowc(hb_parc(n)) * harbour/src/rtl/hbzlib.c * modified HB_ZUNCOMPRESSLEN(), current syntax is: HB_ZUNCOMPRESSLEN( <cCompressedData>, [<@nResult>] ) -> <nUnCompressedDataLen> or -1 on error * harbour/contrib/hbbzip2/hbbzip2.c * modified HB_BZ2_UNCOMPRESSLEN(), current syntax is: HB_BZ2_UNCOMPRESSLEN( <cCompressedData>, [<@nResult>] ) -> <nUnCompressedDataLen> or -1 on error 2010-03-18 13:29 UTC+0100 Viktor Szakats * INSTALL ! Fixed Debian bzip2 package name. * external/bzip2/Makefile * contrib/hbbzip2/hbbzip2.hbc * Changed local bzip2 lib name to match regular name used on *nix systems. * external/zlib/Makefile * Formatting. * contrib/hbmzip/Makefile ! Minor fix. 2010-03-17 23:50 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbxbp/xbptreeview.prg ! Added :tooltipText instance variable to manage tooltips. * contrib/hbide/hbide.prg * contrib/hbide/idedocks.prg * contrib/hbide/ideeditor.prg * contrib/hbide/idefindreplace.prg * contrib/hbide/ideprojmanager.prg * contrib/hbide/resources/docwriter.ui * contrib/hbide/resources/docwriter.uic ! Reworked "Projects" and "Editors" tree. Now the indentation is reduced, visual elements are added, long paths are shifted inside tooltips, nodes are sorted. ! "Editors" tree now displays the panel icon on which this source is hosted. A very handy and useful implementation. These tree-views will remain stationary for the rest of hbIDE development cycle, i.e., there will bo no change whatsoever on these components. ! Many other artifacts corrected while working with the production projects myself. Probably now you may try, at least, for real-time use. + Setup a dedicated web-presence of hbIDE https://hbide.vouch.info/ Please remain in tough with these pages as contents will keep on posted with every available spare time. 2010-03-17 00:37 UTC+0100 Viktor Szakats * INSTALL ! Typo in prev. 2010-03-17 00:32 UTC+0100 Viktor Szakats * INSTALL + Added bzip2 information. (not fully complete, it also needs to be added to .spec files like zlib) - external/bzip2/bzip2.dif - external/bzip2/bzip2.c * external/bzip2/cnv_hb2o.bat * external/bzip2/cnv_o2hb.bat * external/bzip2/Makefile - Deleted accindentally included bzip2 tool. + contrib/hbbzip2/tests + contrib/hbbzip2/tests/hbmk.hbm + contrib/hbbzip2/tests/test.prg + Added little test code. + contrib/hbbzip2/hbbzip2.hbc + Added .hbc file. * contrib/hbbzip2/hbbzip2.ch + Added 'it's also used by C code' comment. 2010-03-16 16:08 UTC+0100 Viktor Szakats * contrib/hbbzip2/Makefile + Added bzip2 header detection and setup. ; FIXME: Some warnings: [DONE] mingw: hbbzip2.c: In function 'hb_bz2Compress': hbbzip2.c:96: warning: left shift count >= width of type hbbzip2.c: In function 'hb_bz2UncompressedSize': hbbzip2.c:138: warning: left shift count >= width of type hbbzip2.c: In function 'hb_bz2Uncompress': hbbzip2.c:177: warning: left shift count >= width of type msvc: hbbzip2.c(96) : warning C4293: '<<' : shift count negative or too big, undefined behavior hbbzip2.c(138) : warning C4293: '<<' : shift count negative or too big, undefined behavior hbbzip2.c(177) : warning C4293: '<<' : shift count negative or too big, undefined behavior 2010-03-16 13:56 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/Makefile + harbour/contrib/hbbzip2 + harbour/contrib/hbbzip2/hbbzip2.c + harbour/contrib/hbbzip2/hbbzip2.ch + harbour/contrib/hbbzip2/Makefile + added very simple wrapper to BZIP2 compression Now only buffer compression functions. HB_BZ2_VERSION() -> <cBZlibVersion> HB_BZ2_COMPRESSBOUND( <cData> | <nDataLen> ) -> <nMaxCompressLen> HB_BZ2_UNCOMPRESSLEN( <cCompressedData>, [<@nResult>] ) -> <nUnCompressedDataLen> or 0 on error HB_BZ2_COMPRESS( <cData>, [<nDstBufLen>|<@cBuffer>], [<@nResult>], [<nLevel>] ) -> <cCompressedData> or NIL on Error HB_BZ2_UNCOMPRESS( <cCompressedData>, [<nDstBufLen>|<@cBuffer>], [<@nResult>] ) -> <cUnCompressedData> or NIL on Error 2010-03-16 01:15 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) + contrib/hbide/resources/arguments.png + contrib/hbide/resources/description.png * contrib/hbide/resources/docviewgenerator.ui * contrib/hbide/resources/docviewgenerator.uic + contrib/hbide/resources/docwriter.png + contrib/hbide/resources/docwriter.ui + contrib/hbide/resources/docwriter.uic + contrib/hbide/resources/editstree.png + contrib/hbide/resources/example.png + contrib/hbide/resources/helpdoc.png + contrib/hbide/resources/load_1.png + contrib/hbide/resources/load_2.png + contrib/hbide/resources/load_3.png + contrib/hbide/resources/panel_8.png + contrib/hbide/resources/projtree.png * contrib/hbide/resources/tabs.png + contrib/hbide/resources/tests.png * contrib/hbide/resources/togglelinenumber.png + contrib/hbide/resources/unload_1.png + Added more images, refind few. * contrib/hbqt/hbqt_hbqplaintextedit.cpp ! More artifacts corrected. * contrib/hbqt/hbqt_hbslots.cpp * contrib/hbqt/hbqt_hbslots.h + Added more slots. * contrib/hbxbp/xbptoolbar.prg ! Provided the "objectName" TO main toolbar. * contrib/hbide/hbide.hbp * contrib/hbide/hbide.prg * contrib/hbide/ideactions.prg * contrib/hbide/idedocks.prg + contrib/hbide/idedocwriter.prg * contrib/hbide/ideeditor.prg * contrib/hbide/ideharbourhelp.prg * contrib/hbide/idehome.prg * contrib/hbide/idemisc.prg * contrib/hbide/ideobject.prg * contrib/hbide/ideprojmanager.prg * contrib/hbide/idestylesheets.prg * contrib/hbide/idethemes.prg ! Corrected many artifacts, so many that cannot be mensioned precisely. + Implemented: basic documentation writer. Documentation Writer -------------------- 1. Click on "Documentation Writer" icon on the right-toolbar, 2. Open some source in the editor, 3. Position cursor somewhere inside a function body, 4. Click on "Load from current function" icon on the top-toolbar of "Document Writer" widget, 5. Look at the contents, few fields will be auto filled with various info from current function, 6. Complete the other fields with relevent information, 7.1 Click on "Save the documentation with current function", .2 Look at the function body in the editor, The NANFORUM compliant documentation will be inserted at the top of function's prototype. 8.1 Click on "Save written/updated documentation" icon, and provide the filename to save on disk, .2 Copy such generated .txt in /harbour/doc/en, .3 Open "Harbour Document Viewer" and you should be viweing newly written documentation there. .4 Such generated file is ready to be uploaded to SVN, just send it to the list and group will decide if it needs something extra. It is a quick way to generate help. You can keep the documentation in your sources or can create a tree like Harbour's. I know there is a lot more to be done in this tool, but at least group can start using it. My humble request is: start writing the documentation. I will polish this tool in coming week, so be assured that everything which need be done will be done. You cooperation is more important than this tool. ;TODO: Loading existing doc and merging it back after edits, on disk. Loading doc from source file and replacing old with new one. And many more, plus, whatever you will demand. 2010-03-15 23:57 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbwin/wapi_winuser.c + added new PRG function: WAPI_LoadImage( [<hInstance>], <cName>, [<nType>], [<nWidth>], [<nHeight>], [<nFlags>] ) -> <hImage> * harbour/contrib/hbwin/Makefile + harbour/contrib/hbwin/win_shell.c + added new PRG function: WIN_ShellNotifyIcon( [<hWnd>], [<nUID>], [<nMessage>], [<hIcon>], [<cTooltip>], [<lAddDel>] ) -> <lOK> * harbour/contrib/hbwin/hbwin.ch + added new constants for WAPI_LoadImage() and WIN_ShellNotifyIcon() 2010-03-15 21:54 UTC+0100 Viktor Szakats * INSTALL * external/Makefile - Deleted "HB_EXTERNALLIBS=no" option. Blindly disabling all external libs can break the build process. 2010-03-15 21:40 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbthread.h ! added workaround for problems with static __thread variables in Open64 C compiler 2010-03-15 21:31 UTC+0100 Viktor Szakats * external/bzip2/Makefile * external/bzip2/bzip2.dif * external/bzip2/bzip2.c + Added patch to make it compile on dos and os2/watcom. Thanks to Przemek. 2010-03-15 16:49 UTC+0100 Viktor Szakats + external/bzip2/bzip2.dif + Added .dif file. 2010-03-15 14:04 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rdd/dbfcdx/dbfcdx1.c ! fixed bad copy and past typo which could cause internal error when new index using existing order (subindex) was created without ADDITIVE clause. Bug reported by Mindaugas - many thanks for the information. 2010-03-15 12:32 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbstack.h * minor cleanup * harbour/external/bzip2/bzip2.c ! fixed to compile on platforms which do not accept "\" as path delimiter 2010-03-15 09:58 UTC+0100 Viktor Szakats * contrib/hbct/ctnet.c * contrib/hbtpathy/tpwin.c * contrib/hbnf/getenvrn.c ! Fixed to disable some functionality on all WinCE platforms. These were WinCE API functions wrongly declared in mingwarm/poccarm headers. (thus causing link-time errors for final apps trying to use these functions) * contrib/hbwin/win_dlg.c ! Enabled more functionality for WinCE. mingwarm builds will probably crash due to buggy commdlg.h header. * src/vm/fm.c ! Fixed to redefine ABORT for all wce/msvcarm targets. * utils/hbmk2/hbmk2.prg ! Minor typo in recently added help item. * contrib/gtwvg/gtwvg.h * contrib/gtwvg/wvggui.h * contrib/hbwin/win_prn1.c * contrib/hbwin/win_prn2.c * contrib/hbwin/win_prn3.c * contrib/hbwin/win_dlg.c * contrib/hbodbc/odbc.c * contrib/rddsql/sddodbc/sddodbc.c ! Fixed to compile with -DWIN32_LEAN_AND_MEAN. 2010-03-14 22:35 UTC+0100 Viktor Szakats * bin/postinst.bat ! Fixed hbmk2 -lang option. * contrib/hbwin/win_prn1.c - Deleted comment no more necessary. * utils/hbmk2/hbmk2.prg + Added -width= option to set output width. 2010-03-14 21:29 UTC+0100 Viktor Szakats * src/vm/fm.c * src/common/hbwince.c * include/hbwince.h * include/hbthread.h * contrib/hbct/ctnet.c * contrib/hbodbc/Makefile * contrib/xhb/hbserv.c * contrib/hbtpathy/tpwin.c * contrib/hbnf/getenvrn.c * contrib/rddsql/sddodbc/Makefile * contrib/hbwin/olecore.c * contrib/hbwin/win_prn1.c * contrib/hbwin/win_dlg.c * config/wce/msvcarm.mk + Added support for msvcarm 2008. * utils/hbmk2/hbmk2.prg ! Synced msvcarm dynlib creation options with Harbour build. 2010-03-14 12:21 UTC+0100 Viktor Szakats * config/wce/msvcarm.mk * utils/hbmk2/hbmk2.prg ! Added -D_ARM_ and -D_MIPS_ required by some MSVC releases. This caused compilation errors with some sources. 2010-03-14 11:48 UTC+0100 Viktor Szakats * contrib/hbxbp/xbpgra.prg ! Fixed to use HB_SYMBOL_UNUSED() instead of wrong "HBXBP_JUST" solution, which is a real call with overhead. Std method to suppress unused warnings in Harbour is HB_SYMBOL_UNUSED(). Or, if some function are plain dummies, it's not necessary to delcare any parameters. 2010-03-13 23:23 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbxbp/xbpgra.prg + Added one more function. - HB_SYMBOL_UNUSED() => HBXBP_JUST() 2010-03-13 19:04 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbxbp/gra.ch * contrib/hbxbp/Makefile * contrib/hbxbp/xbpgeneric.prg + contrib/hbxbp/xbpgra.prg * contrib/hbxbp/xbppresspace.prg + Added Gra*() skeleton functions. ! Extended XbpPresSpace() class to cover next round of implementation. ; NOTE: I am not been able to find a way to execute Gra*() functions on a widget's presentation ( device context ) space. Qt documentation clearly indicates that this is only possible from withing method QEvent::Paint of concerned widget. And it is correct. Windows itself also does not allow to paint from outside of WM_PAINT message. However my experiments have led me to the conclusion that this is possible if every widget is subclasses and QEvent_Paint is method is implemented. This is a very tedious and very error prone job. If anybody come across some sparkling idea how this can be achieved in a resonable way, please speak out. However on other devices, such as, printer and bitmaps these functions will be working. In the first phase I will implement it for printing only, later for widgets. 2010-03-14 01:39 UTC+0100 Viktor Szakats * src/vm/extrap.c ! Fixed to do UNICODE to "ANSI" conversion in module listing code for WinCE platform. It'd be nice if a WinCE user could test it. * src/rtl/filesys.c ! Silenced warning on newer mingwarm compilers about unused function. 2010-03-13 19:47 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fixed autodetection of mingwarm, when Cygwin is also in PATH (it is supposed to be there, as it is a requirement for C compiler). 2010-03-13 17:20 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + hbmainstd/hbmainwin lib is now added for mingw family to lib list also for static executables. It fixes the GPF at startup with Equation Solution mingw64 build. I hope it doesn't create any harm for other builds, it remains to be tested. % Disabled -fomit-frame-pointer for mingw64. * utils/hbformat/Makefile * utils/hbmk2/Makefile * utils/hbi18n/Makefile * utils/hbtest/Makefile * utils/hbrun/Makefile * config/win/mingw.mk % "HB_MAIN" logic eliminated from local make files and moved to mingw.mk only. 2010-03-13 15:01 UTC+0100 Viktor Szakats * config/global.mk * utils/hbmk2/hbmk2.prg + Added autodetection for Equation Solution mingw64 builds. * INSTALL + Added link to Equation Solution mingw releases. * src/vm/itemapi.c * Formatting. 2010-03-13 01:53 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbxbp/xbp.ch * contrib/hbxbp/xbpgeneric.prg + Implemented Xbase++ functions: AppName() -> APPTYPE_PM LastAppEvent( mp1, mp2, oXbp, nThreadID ) -> nEvent NextAppEvent( mp1, mp2, oXbp ) ->nEvent ; Please test on real-life scenario. Forward your findings. I cannot test them extensively without real-time code. 2010-03-13 00:13 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbxbp/Makefile * contrib/hbxbp/xbp.ch + contrib/hbxbp/xbpclipboard.prg + Implemented: XbpClipBoard() Xbase++ compatible class. At present XBPCLPBRD_TEXT and XBPCLPBRD_BITMAP formats are supported. XBPCLPBRD_TEXT is tested, please test XBPCLPBRD_BITMAP. 2010-03-13 09:18 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/vm/hvmall.c * minor cleanup 2010-03-13 09:02 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbstack.h * harbour/src/vm/estack.c * harbour/src/vm/hvmall.c * moved static HVM stack declarations from header file to .c files 2010-03-13 03:18 UTC+0100 Viktor Szakats * src/vm/Makefile * src/vm/vmmt/Makefile ! Fixed GUI mode not working for mingw64 targets. [TOMERGE 2.0] 2010-03-13 03:03 UTC+0100 Viktor Szakats * src/rtl/gtwvt/gtwvt.c ! Reverted RegisterClassEx() to RegisterClass() for WinCE. Thanks for the information. * src/rtl/gtdos/gtdos.c * src/rtl/gtwvt/gtwvt.c * src/rtl/filesys.c * src/rdd/dbcmd.c * src/rdd/dbcmd53.c * src/rdd/wafunc.c * src/rdd/workarea.c * src/rdd/dbfcdx/dbfcdx1.c * src/rdd/dbffpt/dbffpt1.c * src/rdd/ordwldsk.c * src/rdd/hbsix/sxord.c * src/rdd/hbsix/sxsem.c * src/rdd/ordcount.c * contrib/hbtpathy/tpwin.c * contrib/rddbmcdx/bmdbfcdx.c * contrib/gtwvg/gtwvg.c * contrib/gtwvg/wvggui.c * contrib/gtwvg/wvgwing.c * contrib/rddads/adsfunc.c * contrib/hbwin/axcore.c * contrib/hbwin/mapi.c * contrib/hbwin/win_dlg.c * 'memset( &obj, 0, sizeof( TYPE_OF_OBJ ) )' changed to: 'memset( &obj, 0, sizeof( obj ) )' (same meaning but less room for mistake) * Variable scope cleanups in few places. * bin/hb-mkimp.bat * src/vm/itemapi.c * Formatting. 2010-03-12 17:20 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/generator/hbqtgen.prg * contrib/hbqt/qth/QList.qth * contrib/hbqt/qth/QObject.qth * Re0generated: contrib/hbqt/qtgui/?.cpp * Re-generated: contrib/hbqt/qtcore/?.cpp + Eliminated any occurance of hb_retptr(*) calls. Now all objects which are created with "new" or are returned as a method call are encapsulated in GC pointer. This is a step closer to find-out the potential GPFs. 2010-03-13 01:25 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbstack.h * harbour/src/vm/estack.c % declare hb_stack TLS pointer in MT HVM as static when HVM is compiled with HB_HVM_ALL=yes * harbour/src/compiler/hbcomp.c ! added protection against multiple freeing the same expression on some errors in compiled code. It's necessary after removing reference counters which made such protection indirectly. It fixed bug reported by Teo. * harbour/include/hbsetup.h ! check GCC version for hot and cold function attribute macros 2010-03-12 14:32 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/doc/en/class_qapplication.txt * contrib/hbqt/qtgui/QApplication.cpp * contrib/hbqt/qth/QApplication.qth - Removed tracelog calls. 2010-03-12 20:30 UTC+0100 Viktor Szakats * src/common/hbverdsp.c + Show '(UNICODE)' in built options for UNICODE builds. 2010-03-12 15:59 UTC+0100 Viktor Szakats * src/rtl/filesys.c ! Fixed non-UNICODE code after recent get/set drive changes. % Minor opt. 2010-03-12 14:07 UTC+0100 Viktor Szakats * contrib/hbnf/fttext.c + Added FT_FWRITELN(). * Converted FT_FWRITEL() to be a wrapper for FT_FWRITELN(). * contrib/hbxpp/thfuncx.prg * Formatting. 2010-03-12 11:39 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + Readded -pipe option for gcc (except djgpp) and icc/linux family compilers in a more sophisticated way. Now -pipe option is only used when hbmk2 controls the output filename, and in such case the output filename will always be deleted by hbmk2 if the C compiler returned error. This way -pipe can never leave faulty or dummy object files on disk, confusing incremental builds or just leaving trash behind. BTW, it'd be interesting to know why such seemingly buggy behavior hasn't been fixed in gcc in the last 6-7 years... (making -pipe option useless for Harbour build process e.g.) 2010-03-12 01:03 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/hbqt_hbqplaintextedit.cpp * contrib/hbqt/hbqt_hbqplaintextedit.h ! Fixed behavior of book-marks. Now color representation on bookmarked lines is persistent and consistent with corresponding buttons in the statusbar. 2010-03-12 02:10 UTC+0100 Viktor Szakats * contrib/hbssl/evpmd.c ! Disabled md2 support for >= 1.0.0 OpenSSL versions. Seems they dropped it. * contrib/hbssl/ssl.c * contrib/hbssl/x509.c * contrib/hbssl/sslctx.c ! Disabled some code parts which didn't compile with >= 1.0.0 OpenSSL versions. This is not the right fix, but I just can't figure what went wrong (or what has been changed) in OpenSSL which causes it. There is something wrong around 'X509_NAME' symbol. * utils/hbmk2/hbmk2.prg * config/beos/gcc.mk * config/bsd/gcc.mk * config/wce/mingwarm.mk * config/darwin/gcc.mk * config/hpux/gcc.mk * config/win/mingw.mk * config/win/cygwin.mk * config/linux/gcc.mk * config/linux/icc.mk * config/os2/gcc.mk * config/sunos/gcc.mk - Deleted '-pipe' option. Efficient, but buggy. It didn't take too long to bump into the problem: On build error, the .o file is generated with some dummy content, so a second build attempt will silently make build errors ignored. * contrib/rddsql/sddfb/sddfb.c * Minor formatting. 2010-03-12 00:39 UTC+0100 Viktor Szakats * src/rtl/filesys.c ! Fixed fs_win_get_drive() to return zero (instead of -1) when drive letter wasn't returned by Windows API. (it's not clear what is the proper error behavior here) ! Fixed fs_win_set_drive() to apply upper limit on input parameter. * contrib/rddsql/sddfb/sddfb.c * Minor formatting. 2010-03-11 23:27 UTC+0100 Viktor Szakats * contrib/rddsql/sddfb/sddfb.c ! Few cleanups in the FB RDDSQL interface (macro and type usage). ; It's not an attempt to fix recently reported bugs on the list. 2010-03-11 22:26 UTC+0100 Viktor Szakats * contrib/gtwvg/gtwvg.c ! Fixed change: 2010-03-11 13:20 UTC-0800 * HB_GTI_PALETTE handling code fully synced with gtwvt.c. 2010-03-11 22:21 UTC+0100 Viktor Szakats * src/rtl/fssize.c + Using Harbour filefind API on win platforms (just like for wce) instead of using stat()/stat64() C RTL calls. 2010-03-11 13:20 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/gtwvg/gtwvg.c ! Fixed the HB_GTI_PALETTE protocol uniform with other GT's. * contrib/gtwvg/tests/demowvg.prg ! ThreadID() -> Hb_ThreadID() BTW ThreadID() is a Xbase++ compatible function. 2010-03-11 22:16 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbstack.h * added HB_EXPORT to some hb_stack*() functions which can be needed for non core code 2010-03-11 21:16 UTC+0100 Viktor Szakats * src/rtl/filesys.c + Using direct Windows API instead of compiler specific C RTL functions to get/set current disk. ; Please review. - Deleted one Windows TODO: setmode() to be converted to direct Windows API call. This translation is done in C RTL, so Windows API cannot be used. ; There is no remaining non-standard (compiler specific) C RTL function usage on the Windows platform AFAICT. * contrib/hbmysql/tmysql.prg * Formatting. 2010-03-11 09:30 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/doc/en/class_hbqplaintextedit.txt * contrib/hbqt/hbqt_hbqplaintextedit.cpp * contrib/hbqt/hbqt_hbqplaintextedit.h * contrib/hbqt/qtgui/HBQPlainTextEdit.cpp * contrib/hbqt/qtgui/THBQPlainTextEdit.prg * contrib/hbqt/qth/HBQPlainTextEdit.qth * contrib/hbide/resources/themesex.ui * contrib/hbide/resources/themesex.uic * contrib/hbide/ideeditor.prg * contrib/hbide/idethemes.prg + Reimplemented "Themes". * Now it is possible to change current line and line area background colors. Also synchronized the current colors for these areas with rest of the theme. * Now you can apply a particular theme globally to all tabs. * Made easy the way GUI elements are presented, it is more intuitive. 2010-03-11 18:29 UTC+0100 Viktor Szakats * src/rtl/hbtoken.c * Marked function below with HB_LEGACY_LEVEL3: __STRTOKEN(): change it to equivalent HB_TOKENGET() __STRTKPTR(): change it to equivalent HB_TOKENPTR() __STRTOKENCOUNT(): change it to equivalent HB_TOKENCOUNT() * contrib/hbmysql/tmysql.prg + Added ::nPort variable to TMYSQLSERVER class. * Formatting. * contrib/hbmysql/tmysql.prg * examples/hbmsql/tmsql.prg ! __STRTOKEN() -> HB_TOKENGET() * contrib/hbmysql/tsqlbrw.prg * Formatting. 2010-03-11 15:59 UTC+0100 Viktor Szakats * contrib/hbcurl/hbcurl.c + Added suggested workaround for potential security exploit when used with libcurl < 7.20.0. See details here: https://curl.se/docs/adv_20100209.html 2010-03-11 12:33 UTC+0100 Viktor Szakats * external/sqlite3/sqlite3.c * external/sqlite3/sqlite3.h + sqlite upgraded to 3.6.23 (from 3.6.22) * INSTALL + Added one more real-life example for unnecessary envvars (HB_DIR). 2010-03-11 11:40 UTC+0100 Viktor Szakats * src/vm/estack.c * include/hbstack.h % hb_stackDispLocal() internal debug function made static, and guarded with HB_VM_DEBUG (pls change it to something better if there is one), so it's not included in every regular build and final executable. 2010-03-11 08:33 UTC+0100 Viktor Szakats * contrib/hbxpp/dmlb.ch + Added comment that header is also used by C code. * contrib/gtwvg/gtwvg.c * contrib/gtwvg/gtwvg.h ! Partial revert of previous revert: There was no reason to revert macro names, so I kept these in sync with the rest of Harbour, only colors are kept as non-MS-DOS compatible. ; FIXME: Palette indexing. [DONE] * examples/hbdoc2/gentxt.prg ! Fixed to previous fix to rather delete unused parameter in definition, than addig it to declaration and mark it as unused. 2010-03-10 20:15 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/gtwvg/gtwvg.c * contrib/gtwvg/gtwvg.h ! Reverted back the change in colors. Sorry Viktor, I unnecessarily requested you to match it with GTWVT. Infact the whole concept of GUI elements is based on white and gray combination as per these colors. 2010-03-10 20:04 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * examples/hbdoc2/genhtml.prg * examples/hbdoc2/gentxt.prg * examples/hbdoc2/tmplates.prg ! Matched method definition and body. 2010-03-10 19:05 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/doc/en/class_hbqplaintextedit.txt * contrib/hbqt/hbqt_hbqplaintextedit.cpp * contrib/hbqt/hbqt_hbqplaintextedit.h * contrib/hbqt/qtgui/HBQPlainTextEdit.cpp * contrib/hbqt/qtgui/THBQPlainTextEdit.prg * contrib/hbqt/qth/HBQPlainTextEdit.qth + Prepared to manage current line and line area colors. 2010-03-10 17:05 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/doc/en/class_hbqplaintextedit.txt * contrib/hbqt/hbqt_hbqplaintextedit.cpp * contrib/hbqt/hbqt_hbqplaintextedit.h * contrib/hbqt/qtgui/HBQPlainTextEdit.cpp * contrib/hbqt/qtgui/THBQPlainTextEdit.prg * contrib/hbqt/qth/HBQPlainTextEdit.qth * contrib/hbide/hbide.prg * contrib/hbide/ideeditor.prg * contrib/hbide/idefunctions.prg * contrib/hbide/ideobject.prg + Implemented "Code Completion" feature. How it works: 1. Load prototype tags in "Projects Functions Lookup". 2. Activate some editor tab. 3. Start typing a function proto. 4. After 3 characters a popup will appear beneth the cursor. 5. Select from the list, by mouse or use navigation keys. 6. Prototype will be there in the editor exactly with same cases your prototype is defined. Input is welcome. 2010-03-10 21:42 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg * config/dos/djgpp.mk - Deleted -pipe C compiler option from DJGPP. 2010-03-10 10:36 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/resources/ffn.png * contrib/hbide/resources/panel_1.png * contrib/hbide/resources/panel_4.png * contrib/hbide/resources/panel_6.png ! Some cosmatic changes. * contrib/hbqt/hbqt.ch + Added more constants. * contrib/hbqt/hbqt_hbslots.cpp * contrib/hbqt/hbqt_hbslots.h + Added more slots for QCompleter. ! Changed some exiting : (text) -> (QString) * contrib/hbide/ideactions.prg * contrib/hbide/ideeditor.prg * contrib/hbide/idefindreplace.prg * contrib/hbide/idehome.prg + Prepared for auto completion of functions. 2010-03-10 17:55 UTC+0100 Viktor Szakats * config/beos/gcc.mk * config/bsd/gcc.mk * config/darwin/gcc.mk * config/hpux/gcc.mk * config/dos/djgpp.mk * config/linux/gcc.mk * config/linux/icc.mk * config/os2/gcc.mk * config/sunos/gcc.mk % Added -pipe gcc option for rest of gcc targets. * utils/hbmk2/hbmk2.prg % Added -pipe gcc option for all gcc targets in hbmk2. * ChangeLog + Added missing item from prev entry: * config/win/mingw.mk - Disabled -fomit-frame-pointer for mingw64. It's not necessary and/or automatically enabled. 2010-03-10 14:34 UTC+0100 Viktor Szakats * config/win/cygwin.mk * config/win/mingw.mk * config/wce/mingwarm.mk % Added -pipe option to win/gcc compilers, this way it's faster (but consumes more memory) since it passes intermediate files - I could only spot the .s file - without writing them to disk. Probably we should enable this on other platforms as well, and if it works out well, also in hbmk2. * config/win/mingw.mk - Disabled -fomit-frame-pointer for mingw64. It's not necessary and/or automatically enabled. 2010-03-10 12:26 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/compiler/hbmain.c * harbour/src/compiler/harbour.y * harbour/src/compiler/harbour.yyc * use hb_compGetFuncID() to detect reserved function names * harbour/include/hbapi.h * harbour/src/common/Makefile - harbour/src/common/reserved.c - removed not longer used hb_compReservedName() function 2010-03-10 11:55 UTC+0100 Viktor Szakats * contrib/hbxpp/Makefile ! Added dmlb.ch. * contrib/hbxpp/hbxppext.ch ! Added WORKSPACELIST(). 2010-03-10 10:04 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapirdd.h * harbour/src/rdd/wacore.c + added hb_rddDetachedList() C function * harbour/contrib/hbxpp/Makefile + harbour/contrib/hbxpp/dmlb.ch + harbour/contrib/hbxpp/wafuncx.c + added xBase++ compatible PRG function: WorkSpaceList( [<nWorkSpace>] ) -> <aAliasName> 2010-03-09 18:24 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/resources/funclist.ui * contrib/hbide/resources/funclist.uic ! Shifted "Projects Selection" list downwards. * contrib/hbide/hbide.prg * contrib/hbide/idedocks.prg * contrib/hbide/ideeditor.prg * contrib/hbide/ideobject.prg ! Reworked behavior of function's prototype display as tooltip. Now it stays there until you press ")", i.e., a function call is made complete. If you move the cursor anywhere in the editor, the tooltip will disappear, and will reappear when cursor will be past the "(" opening brace. The same holds true if you play with another widget. Tooltip has a suspended and active behavior. ! Changed the behavior of "line numbers" display in the editor tabs. Now it is active for all the tabs on all the panels. The icon at the left will visualize as active or passive accordingly. ! Corrected behavior of navigation in "Editor tabs" also as par with behavior in "Projects Tree". 2010-03-09 23:36 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbcomp.h * harbour/include/hbcompdf.h * harbour/include/hbexprop.h * harbour/include/hbexpra.c * harbour/include/hbexprb.c * harbour/src/common/expropt1.c * harbour/src/compiler/hbcomp.c * harbour/src/compiler/harbour.y * harbour/src/compiler/harbour.yyc * harbour/src/macro/macro.y * harbour/src/macro/macro.yyc * harbour/src/macro/macro.yyh + added new type of expression: SETGET % eliminated reference counter in expressions (this code was never fully safe because expression optimizer was not respecting multiple references) % replaced all HB_COMP_EXPR_DELETE() macro usage with HB_COMP_EXPR_FREE() and deleted HB_COMP_EXPR_DELETE() macro - removed not longer used hb_compExprClone() Above modifications reduce a little bit total memory consumed by compiler and macrocompiler giving also some minor speed improvement. * harbour/ChangeLog * marked TODO for above modification as DONE. 2010-03-09 12:33 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) + contrib/hbide/resources/panel_1.png + One more missing file. 2010-03-09 12:18 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/resources/funclist.ui * contrib/hbide/resources/funclist.uic ! Fixed a bad type. 2010-03-09 12:06 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) + contrib/hbide/resources/ffn.png + contrib/hbide/resources/funclist.ui + contrib/hbide/resources/funclist.uic + Added missing files from prev commit. Sorry, it has happened again, probably late-night phenomena. 2010-03-09 14:30 UTC+0100 Viktor Szakats * src/rtl/hbini.prg * Deleted several unnecessary empty lines at EOF. * INSTALL * Minor. * include/dbinfo.ch * Formatting. + include/hb.ch * include/Makefile + Added Harbour header which #includes commonly used ones in applications. It also enables us to easily extend standard set of macros and constants. * contrib/hbide/idesaveload.prg * "hbide.set" -> "hbidewnd.ini". At least it uses standard extension. Still wrong solution and a remaining FIXME. 2010-03-09 02:03 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/hbqt_hbslots.cpp * contrib/hbqt/hbqt_hbslots.h + Added more slots for QTableWidget(). * contrib/hbqt/hbqt_hbqplaintextedit.cpp * contrib/hbqt/hbqt_hbqplaintextedit.h * contrib/hbqt/doc/en/class_hbqplaintextedit.txt * contrib/hbqt/qtgui/HBQPlainTextEdit.cpp * contrib/hbqt/qtgui/THBQPlainTextEdit.prg * contrib/hbqt/qth/HBQPlainTextEdit.qth + Added method hbShowPrototype(). ! All existing methods prefixed with "hb". Please update your code if it relies on HBQPlaintTextEdit(). * contrib/hbqt/THbQtUI.prg ! More optimization in destructor. * contrib/hbide/resources/environments.ui * contrib/hbide/resources/environments.uic * contrib/hbide/resources/selectionlist.ui * contrib/hbide/resources/selectionlist.uic ! Simplified grid layouts. * contrib/hbide/hbide.ch * contrib/hbide/hbide.hbp * contrib/hbide/hbide.prg * contrib/hbide/ideactions.prg * contrib/hbide/idedocks.prg * contrib/hbide/ideeditor.prg * contrib/hbide/ideenviron.prg * contrib/hbide/idefindreplace.prg + contrib/hbide/idefunctions.prg * contrib/hbide/ideharbourhelp.prg * contrib/hbide/idehome.prg * contrib/hbide/idemisc.prg * contrib/hbide/ideobject.prg * contrib/hbide/ideprojmanager.prg * contrib/hbide/idesaveload.prg * contrib/hbide/idethemes.prg + Implemented: next step of "intellisense" by way of tagging the functions prototypes. For its realization, added one more docking widget containing controls to execute required actions which can be activated via right-toolbar icon. + Rearranged icons on the right-toolbar as per logical distribution. The same scheme is applied in "View" menu. + Implemented one more panel in statusbar to show current theme. ! Simplified editor-tabs methods for more grandalurity. This commit implements next level of intellisense. How it works: 1. Click on "ffn" icon on the right-toolbar or select "Projects Functions Lookup" in "View" menu. 2. In the opened dock-widget, click on "Mark Projects" button. 3. On the top of widget, a list of all projects loaded will appear. 4. Click in the little check boxes left to the project titles. You can choose n number of combinations. 5. Click on "Re-Tag" button, if this is the first time you are tagging project(s), or "Load Tags" if you already have tagged before. 6. Keep a watch on right-corner of "Syntax" box, it will show the running commentary. 7. After a while the table above will be populated with function info: Name Type Line Project Source. 8. Type some alphabets in the top-most edit control. It will position the function matching the typed characters in the table. 9. Double-click on some function in the table, it will be opened in the editor. Now the "intellisense" part, above was basic mechanism to gather contents: 1. Type in the editor a function name which you think must have made up in the exercise carried above. The moment you will type "(" a nicely formatted tooltip, displying the prototype of this function will appear beneth the caret position. The prototype will remain there for 10 seconds ( finding a way how it can be controlled the way I want ). 2. Position editor caret somewhere in some function characters and activate context menu with right click. Select "Goto Function" option. It will open the underlying source with cursor positioned on the function proto. Siultaneously, the function will be made current in the table in "Projects Functions Lookup" widget. More is on the way, please forward shortcomings of above mechanism. NOTE: A point to cheer, this commit do not produce GPF at exit. ==== It is tested with mingw 4.4.0. However, MSVC 8.0 still generates. 2010-03-08 19:33 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/vm/macro.c ! fixed buffer overflow caused by wrong pointer type ( 'HB_ULONG*' instead of 'int *' ) * harbour/src/vm/set.c ! fixed bug in MT mode - when new thread was created then _SET_PATH setting was not cloned but wrongly shared with parent thread - many thanks to Rossine for the information 2010-03-08 19:07 UTC+0100 Viktor Szakats * contrib/hbpgsql/tests/test.prg ! Fixed missing connection parameters from PQ API calls. * contrib/hbpgsql/tests/stress.prg * Formatting. 2010-03-08 16:12 UTC+0100 Viktor Szakats * src/rtl/diskspac.c * src/rtl/disksphb.c * contrib/hbwin/wapi_winbase.c + Added trick to make dynamic calls to WIDE API functions via UNICOWS.DLL in UNICODE (default) builds when running on Win9x systems. This fixes DISKSPACE(), HB_DISKSPACE() and WAPI_GETLONGPATHNAME() in this scenario. (IOW this patch makes these calls work in UNICOWS situations) 2010-03-08 15:38 UTC+0100 Viktor Szakats * src/rtl/hbsocket.c * bin/hb-mkdyn.sh * bin/hb-func.sh * utils/hbmk2/hbmk2.prg * config/win/global.mk + Restored to work with ws2_32.dll. (instead of wsock32) * INSTALL + Added information on Win9x/ME support. 2010-03-08 12:28 UTC+0100 Viktor Szakats * src/rtl/diskspac.c * src/rtl/disksphb.c + Added comment about the reason why GetDiskFreeSpaceEx() is called dynamically (win95 first edition support). + Added support for HB_NO_WIN95 build-time flag to drop Win95 compatibility. Unfortunately current dynamic load trick fails with UNICOWS, returning zero for disk space related calls in this scenario. If we drop the dynamic call, we lose support for Win95 first edition, but these functions will work properly on Win95b/98/ME in return. I'm still thinking about it, but maybe it's better to drop Win95 first edition support altogether and make newer versions work properly. Any opinions? [DONE] * contrib/hbwin/wapi_winbase.c * contrib/hbwin/wapi_wingdi_font.c ! Fixed to use WIDE/ANSI versions of dynamically executed functions according to UNICODE setting. * bin/hb-mkdyn.sh * bin/hb-func.sh * utils/hbmk2/hbmk2.prg * config/win/global.mk ! Stepping back to link against wsock32 instead of ws2_32. The only reason is Win95 (even OSR2) compatibility. This is a little bit less efficient unfortunately. * src/rtl/hbsocket.c ! Fixed to use WSAioctl via dynamic call for non WinCE builds, and if HB_NO_WIN95 macro is no defined. WSAioctl is present in ws2_32.dll, which .dll isn't available on Win95. ; Not tested since I don't know how to test it, pls review and test. ; NOTE: There seem to exist a package which adds ws2_32 support for Win95, but I couldn't find it, if someone has it, we can drop this ugly trick and simply document the requirement. * src/rtl/gtwin/gtwin.c * Formatting. 2010-03-08 09:48 UTC+0100 Viktor Szakats * contrib/hbqt/gtqtc/gtqtcs.hbc * contrib/hbqt/gtqtc/gtqtc.hbc * contrib/hbqt/hbqt.hbc * contrib/hbqt/hbqts.hbc + Updated static .hbc file for OS/2 % Removed little redundancy in libpaths= lines. % Deleted qtwebkit and qtnetwork references from gtqt*.hbc files. 2010-03-07 21:30 UTC-0600 David Arturo Macias Corona (dmacias/at/mail.udg.mx) * harbour/contrib/hbqt/hbqt.hbc * harbour/contrib/hbqt/gtqtc/gtqtc.hbc + Added support for OS/2 2010-03-08 03:53 UTC+0100 Viktor Szakats * INSTALL + Added UNICOWS links. 2010-03-08 03:28 UTC+0100 Viktor Szakats * src/rtl/gtwin/gtwin.c ! Added workaround for MS confirmed (but forever unfixed) UNICOWS ReadConsoleInput() bug, which caused reported dead keyboard when running UNICODE+UNICOWS apps on Win9x. % Optimized to cache Win9x detection flag. 2010-03-08 02:47 UTC+0100 Viktor Szakats * src/rtl/gtwin/gtwin.c ! Minor formattting. 2010-03-08 02:01 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added trick to recognize 'unicows' lib for win targets and always place it to its required position in the lib list. (this trick may change in the future, I don't really like current solution) This fixes the unicows issues, and now it seems to work nicely with Harbour apps built in (now default) UNICODE mode, when executed on Win9x systems. Harbour works only with Microsoft's UNICOWS.DLL (with OPENCOW.DLL it doesn't). ; FIXME: For GTWIN there is no keyboard input though, but the mouse works. [DONE] 2010-03-08 00:48 UTC+0100 Viktor Szakats * ChangeLog ! Added missing change from prev entry: * src/rtl/gtwvt/gtwvt.c * Changed RegisterClass() call to RegisterClassEx(). Same availability, more features, recommended call. 2010-03-08 00:38 UTC+0100 Viktor Szakats * contrib/hbwin/win_prn3.c % Changed local version detection to hb_iswin*() calls. 2010-03-08 00:32 UTC+0100 Viktor Szakats * contrib/hbwin/win_prn2.c ! Changed one remaining local version detection to hb_iswin*() call. 2010-03-08 00:09 UTC+0100 Viktor Szakats * include/hbapi.h * src/common/hbver.c + Added hb_iswin2k() low-level function to detect if running under Windows 2000 or newer. * include/hbextern.ch * src/rtl/version.c + Added HB_OSISWIN2K() .prg level function. * src/rtl/gtwvt/gtwvt.c * Changed RegisterClass() call to RegisterClassEx(). Same availability, more features, recommended call. * src/rtl/gtwin/gtwin.c * src/rtl/gtwvt/gtwvt.c * contrib/gtwvg/gtwvg.c * contrib/gtwvg/wvggui.c * examples/gtwvw/gtwvw.c * contrib/hbwin/win_prn2.c * contrib/hbwin/win_prn3.c % Changed to use hb_iswin*() API instead of implementing version detection locally. * contrib/hbmysql/mysql.c * contrib/hbpgsql/postgres.c + Added my partial copyright. * contrib/hbpgsql/tests/tstpgrdd.prg * Formatting. * contrib/hbpgsql/postgres.c ! Fixed to define all .prg level functions regardless of pgsql lib it's built against. They return permanent failure in this case. ! Fixed PQCREATETRACE() to return NULL pointer instead of NIL for dynamic builds. ! PQFREECANCEL() marked with HB_LEGACY_LEVEL3. * contrib/hbwin/win_os.prg + Using HB_OSISWIN2K() core API. * contrib/hbide/ideprojmanager.prg * Minor alignment. 2010-03-07 20:31 UTC+0100 Viktor Szakats * contrib/hbpgsql/tests/tstpgrdd.prg * contrib/hbpgsql/tests/async.prg * contrib/hbpgsql/tests/test.prg * contrib/hbpgsql/tests/cache.prg * contrib/hbpgsql/tests/stress.prg * contrib/hbpgsql/tests/dbf2pg.prg ! Various fixes. ! Formatting. 2010-03-07 19:02 UTC+0100 Viktor Szakats * contrib/hbpgsql/tests/simple.prg ! Fixed typo. * contrib/hbmysql/tests/test.prg * Formatting. ; FIXME: Not a standalone test code. * contrib/hbsqlit3/tests/blob.prg * contrib/hbsqlit3/tests/pack.prg * contrib/hbsqlit3/tests/metadata.prg * contrib/hbsqlit3/tests/sl3_test.prg * contrib/hbsqlit3/tests/hooks.prg * contrib/hbsqlit3/tests/backup.prg * Indentation. 2010-03-07 18:42 UTC+0100 Viktor Szakats * contrib/hbpgsql/tests/simple.prg ! Fixed to use ANSI date format in INSERT command. * contrib/hbpgsql/tests/async.prg * contrib/hbpgsql/tests/test.prg * contrib/hbpgsql/tests/cache.prg * contrib/hbpgsql/tests/stress.prg * contrib/hbpgsql/tests/dbf2pg.prg ! Fixed indentation. 2010-03-07 17:31 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Cosmetic fix to generated temp stub file. Normally nobody sees this file, but anyway. 2010-03-07 17:22 UTC+0100 Viktor Szakats * contrib/hbpgsql/tests/simple.prg ! Fixed date in SQL command to work regardless of mm/dd positions in date. I wonder what is the proper solution which uses a fully portable date format. Anyone? 2010-03-07 17:15 UTC+0100 Viktor Szakats * contrib/hbpgsql/tests/simple.prg ! Fixed wrong code in sample. * Formatted. 2010-03-07 17:04 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fixed to disregard HB_FS_STATIC functions when parsing .c files for entry function name. No idea how this wasn't causing any error reports so far. * contrib/hbtip/hbtipssl/Makefile ! Synced file list with non-ssl version. * contrib/hbtip/cgi.prg ! Fixed to use hb_dirTemp() instead of hard-wired *nix '/tmp/'. * contrib/hbide/ideharbourhelp.prg * contrib/hbide/idehome.prg ! More HTML tag lowercasing. 2010-03-07 15:18 UTC+0100 Viktor Szakats * contrib/hbmzip/hbmzip.c + HB_UNZIPFILEINFO() extended to also return CRC. * contrib/hbziparc/hbziparc.prg ! HB_GETFILESINZIP() fixed to return CRC in verbose mode. * contrib/hbziparc/tests/zipa.prg + Added more test code. * contrib/xhb/cgi.ch * contrib/xhb/xhbarr.c * Cleanups. 2010-03-07 15:00 UTC+0100 Viktor Szakats * contrib/xhb/cgi.ch * contrib/xhb/tedit.prg * contrib/xhb/htjlist.prg * contrib/xhb/thtm.prg * contrib/xhb/hterrsys.prg * contrib/xhb/hjwindow.prg * contrib/xhb/htmutil.prg * NTRIM() -> hb_ntos() - Deleted NTRIM() macro. 2010-03-07 14:56 UTC+0100 Viktor Szakats * contrib/xhb/tframe.prg ! Using IS*() macros instead of NIL checks. % Using IS*() macros instead ValType() calls. % Several minor optimizations. * Changed to use standard class declaration syntax. * contrib/xhb/tframe.prg * contrib/hbide/ideharbourhelp.prg * contrib/hbide/idehome.prg ! Fixed to generate lowercase HTML code. This is basic requirement for HTML to validate with any newer than legacy HTML standard (e.g. XHTML). Should be fixed in other places in Harbour. * contrib/xhb/tframe.prg * contrib/xhb/cgi.ch * Formatting. 2010-03-07 14:30 UTC+0100 Viktor Szakats * doc/Makefile ! Fixed 'en-EN' -> 'en'. 2010-03-07 14:14 UTC+0100 Viktor Szakats * contrib/hbtip/utils.c * contrib/hbtip/encb64c.c * contrib/hbtip/encurlc.c ! Type cleanup. * contrib/hbtip/cgi.prg * Minor formatting. 2010-03-07 13:16 UTC+0100 Viktor Szakats * contrib/hbtip/Makefile - contrib/hbtip/encmthd.c + contrib/hbtip/encb64c.c + contrib/hbtip/encurlc.c * Split and renamed source file containing low-level encoder/decoder functions. 2010-03-07 13:13 UTC+0100 Viktor Szakats * contrib/hbtip/encmthd.c - Deleted __TIP_QP_[ENCODE|DECODE](). Either I'm misunderstanding their purpose or they simply didn't work (pbly because they were not even used by hbtip code). 2010-03-07 13:07 UTC+0100 Viktor Szakats * contrib/hbtip/encmthd.c * contrib/hbtip/encurl.prg * contrib/hbtip/encb64.prg ! Cleaned this quite strange and dangerous hack which made the exact nature of the logic fully hidden for anyone expecting regular programming techniques. I even reimplemented QP encoding not knowing about it. Now the class/function interface is completely standard without any hidden interdependencies and internal logic to access class vars from C level function and mapping C level functions as methods. Now it's possible to replace these TIP specific encoder/decoder functions with core ones, or move these ones to core. INCOMPATIBLE: Old function names have been changed from TIPENCODER*_[DECODE|ENCODE]() to __TIP_*_[ENCODE|DECODE](). ; FIXME: Old C implementation of QP encoding/decoding doesn't seem to work. [DONE - DELETED] ; TODO: Try eliminating redundancy in base64 encoding/decoding between hbtip and core. * contrib/hbtip/cgi.prg * contrib/hbtip/url.prg * contrib/hbtip/httpcli.prg * Changed to use new internal function names for encoding/decoding. * src/rdd/dbf1.c * Minor formatting. 2010-03-07 12:24 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rdd/dbf1.c * removed unnecessary function call 2010-03-07 12:21 UTC+0100 Viktor Szakats * contrib/hbtip/encmthd.c * Formatting. ; FIXME: I've just realized the nature of this hack. [DONE] 2010-03-07 12:06 UTC+0100 Viktor Szakats * contrib/hbtip/sendmail.prg ! Further fix to HB_SETMIMETYPE() returned strings. ; Pls review/test. 2010-03-07 12:00 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/xhb/tframe.prg % small optimization 2010-03-07 11:47 UTC+0100 Viktor Szakats * src/vm/hvm.c ! Adjustment to symEval declaration after last change. * contrib/hbmysql/tmysql.prg ! Fixed CLIPVALUE2SQL() to return NULL for NIL values. Should fix sf.bet bug #2964744. % Optimized CLIPVALUE2SQL(). * contrib/xhb/tframe.prg ! Fixed HB_ENUMINDEX() to :__enumIndex(). % Minor optimization. * Some formatting. * contrib/xhb/hblog.prg ! Fixed HB_ENUMINDEX() to :__enumIndex(). * contrib/hbtip/sendmail.prg ! Fixed mime type spec: "text/plain;filename=" -> "text/plain; name=" ; Latter two suggested by Lorenzo. 2010-03-07 10:57 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapi.h * small cleanup in marking hb_symEval with HB_LEGACY_LEVEL3 It should be available for core HVM functions. 2010-03-07 04:34 UTC+0100 Viktor Szakats * src/vm/hvm.c * include/hbapi.h * Marked hb_synEval public symbol with HB_LEGACY_LEVEL3 * src/rtl/gtwin/gtwin.c ! Copyright header update. * src/rtl/objfunc.prg * include/hboo.ch * Minor cleanup and formatting. * INSTALL * Minor refinement in wording. * contrib/hbide/hbide.prg * contrib/hbide/ideactions.prg * contrib/hbide/idedocks.prg * contrib/hbide/ideprojmanager.prg ! "Codec" -> "Encoding" in a few more places. ! "..." added to some more menu items. ! Double "(.ext)" text in filetypes in open project dialog. ; Please review me. 2010-03-06 15:32 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) + contrib/hbide/resources/fl_c.png + contrib/hbide/resources/fl_dll.png + contrib/hbide/resources/fl_exe.png + contrib/hbide/resources/fl_ini.png + contrib/hbide/resources/fl_lib.png + contrib/hbide/resources/fl_prg.png + contrib/hbide/resources/fl_res.png + contrib/hbide/resources/fl_txt.png * contrib/hbide/resources/hb-16x16.png * contrib/hbide/resources/hb-32x32.png * contrib/hbide/resources/hbide.png + contrib/hbide/resources/hbidesplashwatermark.png + contrib/hbide/resources/panel_2.png + contrib/hbide/resources/panel_3.png + contrib/hbide/resources/panel_4.png + contrib/hbide/resources/panel_5.png + contrib/hbide/resources/panel_6.png + contrib/hbide/resources/panel_7.png + contrib/hbide/resources/source_c.png + contrib/hbide/resources/source_cpp.png + contrib/hbide/resources/source_h.png + contrib/hbide/resources/source_o.png + contrib/hbide/resources/source_prg.png + contrib/hbide/resources/source_res.png + contrib/hbide/resources/source_txt.png + contrib/hbide/resources/source_unknown.png + Added more images for user interface. * contrib/hbide/resources/projectpropertiesex.ui * contrib/hbide/resources/projectpropertiesex.uic - Removed xMate ".xhp" project loading icon. * contrib/hbxbp/xbpwindow.prg ! Commented out "resize" event as it was hanging the applications without any graspable reason. Will be investigated deeply in future. * contrib/hbide/hbide.hbp * contrib/hbide/hbide.prg * contrib/hbide/ideactions.prg * contrib/hbide/idedocks.prg * contrib/hbide/ideeditor.prg * contrib/hbide/idehome.prg * contrib/hbide/idemisc.prg * contrib/hbide/ideobject.prg * contrib/hbide/ideprojmanager.prg * contrib/hbide/idesaveload.prg * contrib/hbide/idestylesheets.prg + contrib/hbide/idethemes.prg ! This commit corrects/fixes issues reported by Viktor. Please scratch them again. I might have missed a couple of them. + Implemented: A root panel called "Stats" containing, presently, "Welcome" and "FAQ's" tabs, detailed below. Now hbIDE has a mechanism to hold as many informative slots as the development will demand in future. <Welcome>: It holds the exiting "Projects" information: Title Type Sources Last_Modified Location The field <Title> is a link to open detailed view of its contents which contain fields: Source Type Size Last_Modified Location Clicking on a <Source> opens it in the editor under "Main" panel. <Home> icon is added in the top-toolbar next to <Exit> icon which leads you to <Stats> panel holding <Welcome> and <FAQs> tabs. Projects -> Detail -> Source : backward navigation is enabled through context menu withing browser. The options within thus context menu has <Print> option which leads to print preview dialog and eventually to printing on the paper. <FAQs>: This holds short questions and answers as per the industry standards. I could put only two of them still. Please forward the ones you consider should go to this list. ! Changed: main window icon as previous one was not giving a strong impression to be remember for long. ! Loading/Opening a project: now offers .hbp or .xhp options. .xhp is converted to .hbp and is written to disk and project is loaded as usual. This should be a one-time process. ! Click on function list now position the clicked function in the center of the editor. ! IdeSettings.ini is now hbide.set and is saved where hbide.ini is residing. The change is name was nessary as to avoid wrong impression of .ini nature as a text file. It is binary by nature. ! Many more artifacts which I tend to forget, please bear it with my age. 2010-03-06 23:44 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/vm/evalhb.c * harbour/src/vm/asort.c * harbour/src/vm/hvm.c * harbour/src/vm/arrays.c * harbour/src/vm/thread.c * harbour/src/vm/eval.c * harbour/src/vm/classes.c * harbour/src/rtl/do.c * harbour/contrib/gtwvg/wvgwing.c * use hb_vmPushEvalSym() instead of hb_vmPushSymbol( &hb_symEval ) Please try to eliminate direct hb_symEval usage from 3rd party code. 2010-03-06 21:27 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/compiler/gencc.c ! fixed wrongly used HB_LONG_{MAX,MIN} instead of LONG_{MAX,MIN}. 2010-03-06 18:33 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbxvm.h * harbour/src/compiler/gencc.c * harbour/src/vm/hvm.c % added few functions increasing the execution speed of some PRG code compiled with -gc3 switch 2010-03-05 23:18 UTC+0100 Viktor Szakats * external/pcre/Makefile - Disabled stdint.h for all targets to make some Harbour supported legacy compilers happy which don't support it (e.g. bcc 5.5) 2010-03-05 21:18 UTC+0100 Viktor Szakats * external/Makefile + Added bzip2. * external/bzip2/Makefile ! Fixed to avoid stupid BCC tlib warning by enabling "case-sensitive library" option. * config/global.mk * config/beos/gcc.mk * config/bsd/gcc.mk * config/wce/mingwarm.mk * config/wce/poccarm.mk * config/wce/msvcarm.mk * config/darwin/gcc.mk * config/darwin/icc.mk * config/darwin/clang.mk * config/hpux/gcc.mk * config/dos/djgpp.mk * config/common/watcom.mk * config/win/xcc.mk * config/win/mingw.mk * config/win/pocc.mk * config/win/bcc.mk * config/win/icc.mk * config/win/cygwin.mk * config/win/msvc.mk * config/linux/gcc.mk * config/linux/icc.mk * config/linux/clang.mk * config/linux/sunpro.mk * config/os2/gcc.mk * config/sunos/gcc.mk * config/sunos/sunpro.mk + Added support for HB_AFLAGS. Only bcc needs it ATM. 2010-03-05 20:58 UTC+0100 Viktor Szakats * src/common/hbverdsp.c % "Language options" merged into "Build options" * src/rtl/gtwin/gtwin.c - Deleted not working undocumented SetConsolePalette() code sections. * HB_GTI_PALETTE will return zeroes (black) on platforms/builds which don't support console palette API. + Enabled SetConsoleMenuClose() undocumented call in default builds. It seems so simple function that it's unlikely it will change (worst case it will be deleted). Return value confirmed to be BOOL (don't ask how). This feature requires Windows 2000 for final apps, no build-time requirement. Can be disabled using HB_GTWIN_USE_SETCONSOLEMENUCLOSE_OFF macro. % Minor optimization. * contrib/hbwin/win_reg.prg ! Changed to use local emulation of BIN2U() instead of XPP specific original implementation. 2010-03-05 19:26 UTC+0100 Viktor Szakats * src/rtl/gtwin/gtwin.c + Added more code (probably the ugliest I've ever had a chance to create while touching Windows API) for undocumented SetConsolePalette() hack, following Saulius Zrelskis's suggestion. Now it doesn't GPF, but it does nothing else either (could be wrong SYSPAL_ constant, could be anything). From this point I'll let others continue, or delete all undocumented code sections. 2010-03-05 18:51 UTC+0100 Viktor Szakats * contrib/hbmysql/hbmysql.hbc * contrib/rddsql/sddmy/sddmy.hbc ! Fixed library name for Linux platforms. I hope it also works for other *nix systems. (On darwin/macports it doesn't because they placed the lib in a subdir, but at least the lib name is right) + external/bzip2 + external/bzip2/LICENSE + external/bzip2/Makefile + external/bzip2/cnv_hb2o.bat + external/bzip2/cnv_o2hb.bat + external/bzip2/blocksor.c + external/bzip2/bzip2.c + external/bzip2/bzlib.c + external/bzip2/compress.c + external/bzip2/crctable.c + external/bzip2/decompre.c + external/bzip2/huffman.c + external/bzip2/randtabl.c + external/bzip2/bzlib.h + external/bzip2/bzlib_pr.h + Add locally hosted bzip2 library. Experimental, we don't use it yet. Will be deleted if of no use, or not portable enough. ATM OS/2, DOS and WCE targets are not supported. * external/pcre/pcre.dif - Deleted not more required local patch, since we're not using legacy (Windows) types anymore in Harbour. * external/pcre/pcre.h * external/pcre/pcreexec.c * external/pcre/pcreinal.h * external/pcre/pcredfa.c * external/pcre/pcrecomp.c * external/pcre/config.h * external/pcre/LICENCE * external/pcre/pcreprni.h * external/pcre/pcrestud.c + Updated to 8.01 (from 8.00) * external/libpng/pngrio.c * external/libpng/pngconf.h * external/libpng/pngwrite.c * external/libpng/pngset.c * external/libpng/pngpread.c * external/libpng/pngwtran.c * external/libpng/LICENSE * external/libpng/pngrutil.c * external/libpng/pngwutil.c * external/libpng/pngread.c * external/libpng/pngmem.c * external/libpng/pngget.c * external/libpng/png.c * external/libpng/png.h * external/libpng/pngpriv.h * external/libpng/pngrtran.c + Updated to 1.4.1 (from 1.4.0) 2010-03-05 15:09 UTC+0100 Viktor Szakats * src/rtl/gtwin/gtwin.c + Added HB_GTI_PALETTE support for GTWIN. Requires Vista system or newer at runtime and requires Vista compatible SDK at build-time (this is MSVC newer versions or older versions with newer SDK). Unfortunately it cannot work with mingw and possibly other C compilers until they add support. + Added to set MS-DOS-like colors for GTWIN on Vista and newer systems (same requirements as above). + Added experimental undocumented SetConsolePalette() support for non-Vista systems and non-Vista SDKs, but it GPFs and doesn't support reading palette, so overall it's not enough for Harbour. I will let it there in case someone wants to deal with it and delete it after a few days. * contrib/rddads/ads1.c * Minor formatting. 2010-03-05 14:59 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/contrib/rddads/ads1.c * changed errSubCode values. Now errSubCode ir equal to: = ADS error value, if error is returned from ADS. Values of error subcodes are > 1000. = EDBF_* - 900, if error is generated by RDD. Values of error subcodes are < 1000. + added a detailed error description for ADS errors 2010-03-05 13:48 UTC+0100 Viktor Szakats * src/common/hbver.c * include/hbapi.h + Added hb_iswinvista() to detect Vista and newer Windows versions. * src/rtl/version.c * include/hbextern.ch + Added HB_OSISWINVISTA() .prg level function with above meaning. * contrib/hbwin/win_os.prg % Changed to use HB_OSISWINVISTA() instead of hbwin specific WIN_OSISVISTAORUPPER(). 2010-03-05 13:19 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbrddnsx.h * harbour/src/rdd/dbfnsx/dbfnsx1.c * harbour/include/hbrddntx.h * harbour/src/rdd/dbfntx/dbfntx1.c * harbour/src/rdd/hsx/hsx.c * harbour/src/rdd/usrrdd/usrrdd.c * harbour/src/rtl/hbsocket.c ! fixed casting for compilers which needs strict aliasing rules * harbour/harbour.spec ! fixed typo in hbxpp library name ! fixed to work with SDDSQLT3 library * harbour/contrib/hbwin/olecore.c ! fixed buffer overflow caused by wrongly used sizeof() instead of HB_SIZEOFARRAY() * harbour/contrib/rddsql/sddodbc/sddodbc.c ! fixed wrongly used & operator * harbour/src/rtl/hbsocket.c ! fixed to compile with OpenWatcom Linux builds 2010-03-05 11:11 UTC+0100 Viktor Szakats * contrib/rddsql/sddoci/sddoci.c ! Fixed OCILIB initialization to make OCI_GetLastError() work. (Thanks to OCILIB author Vincent Rogier for the report and fix) * src/rtl/gtwin/gtwin.c % Simplified the way close button status is retrieved (based on code posted Saulius Zrelskis) + Added code to disable 'close' menu also. This is using undocumented Windows API call, so by default the logic is disabled, and can be enabled with HB_GTWIN_USE_UNDOC_WINAPI macro. (Thanks to Saulius Zrelskis for this API tip) (NOTE: All 'close' controls are controlled by HB_GTI_CLOSABLE) 2010-03-04 19:43 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/vm/hvm.c ! removed unnecessary hbstack reference in MT builds - thanks to Grigory Filatov for the information 2010-03-04 19:08 UTC+0100 Viktor Szakats * harbour.spec * contrib/Makefile - contrib/hbsms - Deleted hbsms lib. 2010-03-04 13:56 UTC+0100 Viktor Szakats * contrib/hbtpathy/telepath.prg ! Restored for real. 2010-03-04 13:12 UTC+0100 Viktor Szakats * contrib/hbtpathy/telepath.prg ! Restored original before-millisec/midnight fix state. ; Someone else pls continue/restart this task. 2010-03-04 13:08 UTC+0100 Viktor Szakats * examples/gtwvw/wvwcheck.c * examples/gtwvw/wvwedit.c * examples/gtwvw/hbgtwvw.h ! Added not terribly elegant (local) fix to missing 'hb_hInstance' link time errors. Not tested besides successful lib build. 2010-03-04 11:06 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbcompdf.h * harbour/src/vm/macro.c % changed HB_PCODE_INFO structure to eliminate one memory allocation in macro compiler * harbour/include/hbapi.h * harbour/include/hbvm.h * harbour/src/vm/codebloc.c * harbour/src/vm/itemapi.c * harbour/src/vm/hvm.c * changed second parameter in hb_codeblockGet*() function to 'int' * merged codeblock execution context setting into one function hb_vmDoBlock() and removed hb_codeblockEvaluate() + added new internal function hb_vmEval() * harbour/src/vm/arrays.c % use hb_vmEval() * harbour/src/macro/macrolex.c * added missing const to maro text declaration * harbour/tests/speedtst.prg ! fixed to work with CLIP and xHarbour after we changed SECONDSCPU() to HB_SECONDSCPU() - all these compilers and FlagShip have SECONDSCPU() function 2010-03-04 03:07 UTC+0100 Viktor Szakats * contrib/hbmisc/hbeditc.c * Reverted previous strcpy changes as they were causing GPF while editing. * Cleaned 'unsigned int', 'int' to be 'long'. Lots of unnecessary looking casts deleted. This fixed signedness warnings. Very rough cleanup, I didn't inspect all hundreds of changes one by one, so please test it. * Some more cleanups. ; The code looks more and more kludgy from the inside. It has quite some (seemingly) arbitrary extra space allocations, lots of pointer arithmetic, so it looks not very easy to safely modify it e.g. for EOL neutrality. 2010-03-04 01:42 UTC+0100 Viktor Szakats * INSTALL * harbour.spec * mpkg_rpm.sh + Added freeimage to mainstream package now that it finally builds on *nix systems. * contrib/gtwvg/gtwvg.c * src/rtl/gtwvt/gtwvt.c * Deleted unnecessary cast. * contrib/hbmisc/hbeditc.c * Cleaned constant usage. * contrib/hbide/ideparseexpr.c * int -> HB_ISIZ % Minor optimization. 2010-03-03 07:31 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) ! In continuation of previous message: ; WARNIING: the original format of your existing .hbp project file will be changed if you make use of "Project Properties" docking window and then click on "Save & Exit" or "Save". For contents viewing it will be ok. In the new format, if you save it via wizard, all sources will follow flags and comments will be deleted. ; NOTE: now onwards, trace dump of command line operations and hbIDE output console will be the same which will facilitates to resolve build issues effectively. ; APPRECIATION: hbmk2 is an excellent build tool I have seen so far in my development namespace. We owe heavily to Viktor for this great contribution. 2010-03-03 01:00 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/hbqt_garbage.h * contrib/hbqt/THbQtUI.prg ! A massive effort to stream-line GPF at exit. At least now I know that it is caused by the way QLayout has relation with parent and children both. To some extent I am been able to cover it, but not completely, at least till now. * contrib/hbxbp/xbptreeview.prg + Implemented tooltip and changed the way context menu is fired. - contrib/hbide/projects/hbide.hbi ! Totally abandoned .hbi project protocol. * contrib/hbide/resources/environments.ui * contrib/hbide/resources/environments.uic * contrib/hbide/resources/projectpropertiesex.ui * contrib/hbide/resources/projectpropertiesex.uic * contrib/hbide/resources/themesex.ui * contrib/hbide/resources/themesex.uic ! Simplified layouts to cover GPFs at exit. * contrib/hbide/hbide.hbp + Added ideenviron.prg. * contrib/hbide/hbide.prg * contrib/hbide/idedocks.prg * contrib/hbide/ideeditor.prg + contrib/hbide/ideenviron.prg * contrib/hbide/idefindreplace.prg * contrib/hbide/ideharbourhelp.prg * contrib/hbide/idemisc.prg * contrib/hbide/ideobject.prg * contrib/hbide/ideprojmanager.prg * contrib/hbide/idesources.prg * contrib/hbide/idethemes.prg + Restructured project management. + Implemented: .hbp as project definition protocol. Exploited -3rd= token to keep hbIDE specific data. Now you can open any existing .hbp and build it out of the box. You must have set the build env beforehand OR take use of hbIDE's .env protocol. + Implemented: relative paths. The relative paths are are computed downwards and from .hbp location. Upper level paths still remain absolute. If your projects structure is well thought of, then this feature means this project tree is transferable across different OS's and drives. The relative paths posed many difficulties. The facts had to be resolved while search operations, while opening the files from Project Tree, and more. Now all are in perfect syncronization. + Managed: .hbp filters on source level and are handelled transparently. In Project Tree source is shown without filters. Search operations are also transparent. So, an entry like: {msvc|bcc}vouch/scandocument.prg is respected by hbIDE. ! The other changes: - Project Properties dialogs contents. It is now very simple to understand and manage. - Concept of meta-data is eliminated. - The output executable is automatically recognized from linker output. So "Destination folder" is kept for only "Launch" option which, in fact, does not know where executable is located. "Build & Launch" and "Rebuild & Launch" options do not look for "Destination folder" at all. - Project location is always pulled from .hbp file. It is not retained anywhere to make the project portable. - Many more facts I cannot recollect at present. ; TODO: {hbmk2} slot in hbide.env protocol to pass command-line parameters. ; NOTE: delete hbide.ini, idesettings.ini, all .hbi's and start with clean state. Regression is highly possible and I am eager to hear from you. This commit is just for stramlining project management, though there few other features implemented less important to mention. 2010-03-03 03:13 UTC+0100 Viktor Szakats * contrib/hbmisc/hbeditc.c ! One fix to prev right away. (in former strcpy) 2010-03-03 03:03 UTC+0100 Viktor Szakats * contrib/hbmisc/hbeditc.c ! Replaced unsafe string calls with safe one. (strncpy(), strcpy() -> hb_strncpy()) ; Now this change may contain bugs. I'd appreciate if someone with trained eyes for C length would review the diff. 2010-03-03 02:38 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/doc/en/hvm.txt - removed __DBGVMVARLGET() description * harbour/src/debug/dbgbrwsr.prg % small speed improvement * harbour/include/hbextern.ch * harbour/src/vm/debug.c + added internal debug function: __DBGVMLOCALLIST( <nLevel> ) -> <aVars> 2010-03-03 02:02 UTC+0100 Viktor Szakats - examples/pe - Deleted empty dir. 2010-03-03 01:58 UTC+0100 Viktor Szakats * contrib/hbmisc/Makefile + contrib/hbmisc/hbeditc.c + contrib/hbmisc/hbedit.prg + contrib/hbmisc/tests/sample.txt + contrib/hbmisc/tests/testedit.prg - examples/pe/sample.txt - examples/pe/editorlo.c - examples/pe/pe.prg - examples/pe/pe.hbp - examples/pe/editorhi.prg * Editor implementation moved to hbmisc lib. 2010-03-03 01:54 UTC+0100 Viktor Szakats - examples/pe/license.txt + examples/pe/sample.txt * examples/pe/pe.prg * Renamed sample file. * examples/pe/editorlo.c - examples/pe/readme.txt * Moved readme content inside the source as comment. 2010-03-03 01:51 UTC+0100 Viktor Szakats * examples/pe/editorlo.c * examples/pe/pe.prg * examples/pe/editorhi.prg * examples/pe/readme.txt + Further cleanups (some types, unused code). % Minor optimization. * Deleted one completed (old) FIXME item. 2010-03-03 01:22 UTC+0100 Viktor Szakats * examples/pe/editorlo.c * examples/pe/editorhi.prg + Cleaned internal layout (which was speed optimized for 286 computer-era) to use GC collected objects rather than various levels of static variables and additional logic to handle parallel editor objects. Now the code is fully reentrant. * Renamed variables. ! Fixed potential GPFs along the way. ; TODO: - Clean to use ANSI C and Harbour APIs only. (this is pbly okay) [DONE] - Clean to use safe Harbour string API functions instead of unsafe ANSI C ones. [DONE] - Clean type usage. - Fix to support other EOL types than CRLF. - etc. * examples/pe/pe.prg ! Typo in prev. 2010-03-02 23:55 UTC+0100 Viktor Szakats * examples/pe/editorlo.c * examples/pe/pe.prg * examples/pe/editorhi.prg * Formatting/cleanups. 2010-03-02 23:31 UTC+0100 Viktor Szakats * examples/pe/editorlo.c ; Started to level this code to Harbour standards. * Changed to use native Harbour C level API instead of Clipper compatibility one. - Delete old inactive code for standalone Habrourless build. * Cleaned several warnings. ! Fixed one potential GPF. ! Fixed one potential memory corruption. + Formatting. 2010-03-02 18:39 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbxpp/hbxpp.ch + added TEXT INTO <varname> [WRAP [<cEOL>]] [TRIMMED] * harbour/contrib/hbct/atrepl.c ! fixed in two places buffer overflow. Many thanks to Alexandr Okhotnikov for the information % code optimized to use hb_reclen_buffer() in all cases when new buffer is dynamically allocated. * small code simplification and change prefix of HB_SIZE variables from 's' to 'n' 2010-03-02 18:25 UTC+0100 Viktor Szakats * contrib/hbct/atrepl.c ! Fixed an 'off by one' buffer bug causing GPF in ATREPL(). Reported by Alexandr Okhotnikov. 2010-03-02 16:40 UTC+0100 Maurilio Longo (maurilio.longo@libero.it) * src/rtl/filesys.c * hb_fsCurDirBuff() convert '/' to '\' for OS/2 2010-03-02 16:15 UTC+0100 Maurilio Longo (maurilio.longo@libero.it) * src/common/hbffind.c * hb_fsFindNextLow() to work reliably in my environment needs OBJ_TILE memory. I've found no documentation about this issue, maybe it's caused by old LAN Manager code when searching for files on network shares. 2010-03-02 15:47 UTC+0100 Viktor Szakats * src/rtl/gtwin/gtwin.c + Implemented HB_GTI_CLOSABLE support for GTWIN. Needs Windows 2000 or upper. 2010-03-02 00:45 UTC+0100 Viktor Szakats * contrib/rddsql/sddodbc/sddodbc.c ! Fixed returning Chr( 0 ) instead of last real char. 2010-03-01 14:45 UTC+0100 Viktor Szakats * contrib/rddsql/sddodbc/sddodbc.c + Added support to return any size of string buffer from ODBC. ! Fixed typo in prev modification. * src/rtl/gtwvt/gtwvt.c ! Reverted close/SETCANCEL/HB_GTI_CLOSABLE behavior to match the old one and that of other GTs. Also see: 2008-06-25 11:49 UTC+0200 Viktor Szakats Please use HB_GTI_CLOSABLE and HB_GTI_NOTIFIERBLOCK to control GUI window close behavior. 2010-03-01 13:42 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rdd/dbfntx/dbfntx1.c * harbour/src/rdd/dbfnsx/dbfnsx1.c * harbour/src/rdd/dbfcdx/dbfcdx1.c ! make linear scan in template tags to detect position of current record in tag after GOTO() operation - SIX3 compatible behavior 2010-03-01 08:00 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/vm/hvm.c ! added missing HB_STACK_TLS_PRELOAD 2010-03-01 04:05 UTC+0100 Xavi (jarabal/at/gmail.com) * harbour/src/rtl/gtwvt/gtwvt.c ! Fixing WM_CLOSE event (Clicked 'X' on system menu) to avoid irregular shutdown with SETCANCEL( .F. ) REQUEST HB_GT_WVT_DEFAULT ANNOUNCE HB_GTSYS PROCEDURE Main() SetCancel(.F.) ? "Click [X] Not close windows" while( LastKey() != 27 ) Inkey( 1 ) enddo RETURN 2010-03-01 02:33 UTC+0100 Viktor Szakats * contrib/rddsql/sddsqlt3/sddsqlt3.c + Added support to retrieve buffers in UNICODE mode. ; Maybe needs fine tuning. E.g. we don't want to do this for raw/binary/blob data. Pls review. ; NOTE: Detecting real buffer size is weird. MSDN says NULL should be passed to data pointer, but in this case it returns error, if I pass any pointer, even fake one, it works. Pbly I'm misreading something. * contrib/rddsql/sddodbc/tests/test1.prg * contrib/rddsql/sddodbc/tests/test2.prg + Added simpleio.ch. * contrib/rddsql/sddsqlt3/sddsqlt3.c * contrib/rddsql/sddodbc/sddodbc.c * contrib/rddsql/sddoci/sddoci.c ! Fixed bad GPF after previous modif which limited field names to specific length. 2010-03-01 01:25 UTC+0100 Viktor Szakats * include/hbsetup.h * Bumped pcode version to 3 (mininum kept at 2) * contrib/rddsql/sddodbc/sddodbc.c ! Fixed missing UNICODE conversion for field names. * contrib/rddsql/sddoci/sddoci.c * contrib/rddsql/sddsqlt3/sddsqlt3.c ! Fixed to limit field length to the one supported by RDD engine. 2010-03-01 00:50 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbpcode.h * harbour/include/hbxvm.h * harbour/src/compiler/hbfix.c * harbour/src/compiler/hbpcode.c * harbour/src/compiler/hbdead.c * harbour/src/compiler/genc.c * harbour/src/compiler/hbopt.c * harbour/src/compiler/gencc.c * harbour/src/compiler/hblbl.c * harbour/src/compiler/hbstripl.c * harbour/src/vm/hvm.c + added new PCODE HB_P_PUSHAPARAMS and -gc3 function with corresponding action hb_xvmPushAParams * harbour/include/hbexprb.c * harbour/src/common/expropt1.c * harbour/src/vm/hvm.c + added support for special PRG function: HB_ARRAYTOPARAMS( <aValue> ) -> <aValue>[ 1 ] [, <aValue>[ N ] ] It can be used in the same context as multivalue macros or ... operator and converts array to list of parameters, i.e.: proc main local aValue, aIndexes aValue := { 1, { 2, 3, "abcde" } } aIndexes := { 2, 3 } ? "array:", hb_valToExp( aValue ) ? "indexes:", hb_arrayToParams( aIndexes ) ? "array[", hb_arrayToParams( aIndexes ), "] =>", ; aValue[ hb_arrayToParams( aIndexes ) ] aValue[ hb_arrayToParams( aIndexes ) ] += ":add" ? "array:", hb_valToExp( aValue ) aValue := { "test", aValue } aIndexes := { 2, hb_arrayToParams( aIndexes ) } ? "array:", hb_valToExp( aValue ) ? "indexes:", hb_arrayToParams( aIndexes ) ? "array[", hb_arrayToParams( aIndexes ), "] =>", ; aValue[ hb_arrayToParams( aIndexes ) ] return 2010-02-28 20:05 UTC+0100 Viktor Szakats * contrib/rddsql/sddsqlt3/Makefile - contrib/rddsql/sddsqlt3/sddsq3.c + contrib/rddsql/sddsqlt3/sddsqlt3.c - contrib/rddsql/sddsqlt3/sddsq3.hbc + contrib/rddsql/sddsqlt3/sddsqlt3.hbc * contrib/rddsql/sddsqlt3/tests/hbmk.hbm * Renamed sddsq3 to sddsqlt3. (pass 2 of 2) 2010-02-28 19:46 UTC+0100 Viktor Szakats * contrib/rddsql/Makefile - contrib/rddsql/sddsq3 + contrib/rddsql/sddsqlt3 * Renamed sddsq3 to sddsqlt3. (pass 1 of 2) 2010-02-28 18:55 UTC+0100 Viktor Szakats * contrib/rddsql/sddsq3/sddsq3.c * contrib/rddsql/sddoci/sddoci.c ! Fixed warnings reported by bcc, msvc. 2010-02-28 18:34 UTC+0100 Viktor Szakats * contrib/hbsqlit3/hbsqlit3.c + Added FIXME: utf8 conversion is missing from the interface. * contrib/rddsql/Makefile + contrib/rddsql/sddsq3 + contrib/rddsql/sddsq3/Makefile + contrib/rddsql/sddsq3/sddsq3.c + contrib/rddsql/sddsq3/sddsq3.hbc + contrib/rddsql/sddsq3/tests + contrib/rddsql/sddsq3/tests/hbmk.hbm + contrib/rddsql/sddsq3/tests/test1.prg + contrib/rddsql/sddsq3/tests/test.sq3 + Added SDD support to access SQLITE3 databases. ; Please test it with real data, especially blobs. * contrib/rddsql/sddoci/sddoci.c * Formatting. ! Fixed leak. 2010-02-28 12:59 UTC+0100 Viktor Szakats * contrib/rddsql/sddoci/sddoci.c ! Fixed handling of numeric types widths and decimals. ; This marks last known TODO/FIXME as DONE. * src/vm/extrap.c + Minor 2010-02-28 11:20 UTC+0100 Viktor Szakats * contrib/rddsql/sqlbase.c ! Fixed crash on close when connection could not be made. * INSTALL + Added link to Oracle Instant Client downloads. 2010-02-27 19:16 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/resources/harbour_splash.png * contrib/hbide/resources/hbidesplash.png * contrib/hbide/resources/togglelinenumber.png * contrib/hbqt/hbqt_hbqplaintextedit.cpp * contrib/hbqt/hbqt_hbqplaintextedit.h * contrib/hbide/hbide.prg * contrib/hbide/idedocks.prg * contrib/hbide/ideeditor.prg + Implemented: toggling the line-numbers visibility in editors. Slot is provided with left-hand toolbar button. Toggling is availabler per one editor tab. + Entered: copy-right information in hbIDE splash screen. 2010-02-27 15:59 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/gtqtc/gtqtc.cpp ! Fix to warning: QFont::setPointSize: Point size <= 0 (0), must be greater than 0 Reported by David Macias. 2010-02-28 00:19 UTC+0100 Viktor Szakats * contrib/rddsql/sddoci/sddoci.c ! Fixed handling of dates. 2010-02-27 11:40 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/generator/hbqtgen.prg ! Introduced $EXTERNALLINK$ tag. ;TODO describe it in /doc/hdr_tpl.txt. * contrib/hbqt/generator/qt45.qtp * contrib/hbqt/qtgui/filelist.mk * contrib/hbqt/qtgui/QApplication.cpp * contrib/hbqt/qtgui/QWidget.cpp * contrib/hbqt/qtgui/TQApplication.prg * contrib/hbqt/qtgui/TQWidget.prg * contrib/hbqt/qth/QApplication.qth * contrib/hbqt/qth/QWidget.qth - Deleted QInputContex() class and all other associated functions. - Removed Qt plugin architect builder: "Accessibility" functions. Hope OS2 will now compile fine without any manual intervention. * contrib/hbqt/qtcore/QChar.cpp * contrib/hbqt/qtcore/TQChar.prg ! Regenerated. * contrib/hbide/ideharbourhelp.prg ! Modified to honor $EXTERNALLINK$ tag. With this presentation of Harbour document is a bit changed. $EXTERNALLINK$ tag is expanded in the page title part. $SEEALSO$ is now a pure functions link. 2010-02-27 20:26 UTC+0100 Viktor Szakats * ChangeLog + Added missed item in prev commit. * contrib/rddsql/sddoci/sddoci.c ! Comment again the trace msg. 2010-02-27 20:19 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbcomp.h * harbour/include/hbcompdf.h * harbour/include/hbmacro.h * harbour/include/hbexpra.c * harbour/include/hbexprb.c * harbour/src/common/funcid.c * harbour/src/common/expropt1.c * harbour/src/compiler/hbmain.c * harbour/src/compiler/harbour.y * harbour/src/compiler/harbour.yyc * harbour/src/compiler/harbour.yyh * harbour/src/vm/macro.c + added all reserved and restricted in Clipper functions to hb_compGetFuncID() + extended hb_compGetFuncID() to expand short names of reserved functions + extended hb_compGetFuncID() to set function flags * store expanded function name, ID and flags in HB_ET_FUN* expressions % modified compiler and macrocompiler code to use function flags and expanded names set by hb_compGetFuncID(). It allowed to eliminate calling hb_compReservedName() for function call expressions giving some small but noticeable speed improvement i.e. in macrocompiler. 2010-02-27 20:07 UTC+0100 Viktor Szakats * contrib/hbodbc/odbc.c * contrib/rddsql/sddodbc/sddodbc.c ! Silenced warnings. * contrib/hbodbc/odbc.c + Added SQLBINDPARAMETER() (long-time commented function) * contrib/rddsql/sddoci/sddoci.c * contrib/rddsql/sddoci/tests/test1.prg + Finished type mapping and value translation. ; Not being an Oracle user, I only have the few sample tables, so no testing was made with these types. ; FIXME: decimal position retrieval is currently wrong. [DONE] ; FIXME: date/time/timestamp doesn't seem to get through. [DONE] * config/win/global.mk * config/rules.mk * Moved HB_BUILD_UNICODE handling here for win platform, to allow disabling it for potential 3rd party libs which don't support UNICODE mode. * src/common/hbffind.c * Formatting. 2010-02-27 18:55 UTC+0100 Maurilio Longo (maurilio.longo@libero.it) * src/common/hbffind.c * optimized OS/2 hb_fsFindNextLow() to grab as many files as it can on every call. 2010-02-27 12:28 UTC+0100 Viktor Szakats * contrib/hbodbc/odbc.c * contrib/rddsql/sddodbc/sddodbc.c + Added support for UNICODE mode on non-Windows systems. This also means that by now HB_TCHAR_* macros aren't used in non-win/wce code anymore. NOTE: Since the translation functions have been changed, now _SET_OSCODEPAGE setting are honored in these calls. We may change this later to some lib specific cp. ; FIXME: Warnings are showing up in non-UNICODE mode: odbc.c:438: warning: pointer targets in passing argument 2 of 'hb_storstr' differ in signedness Couldn't find an optimal way to pacify them (also in sddodbc). [DONE] * include/hbdefs.h + HB_TCHAR_* macros are again only defined for win/wce targets. This will make sure these won't get used in non-win/wce specific code. * contrib/hbmysql/tmysql.prg ! Fixed old buggy code which started to throw errors after introducing strict parameter evaluation in lower-level code. For now I replaced the code with old actual behavior. Pls make further modifications to replicate original _intent_. 2010-02-27 11:14 UTC+0100 Viktor Szakats * contrib/rddsql/sddoci/sddoci.c + Changed to use STR API for UNICODE conversions. This fixes this SDD for non-win systems. ! Fixed one missing encoding translation. 2010-02-27 11:05 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/vm/macro.c * minor simplification * harbour/src/common/reserved.c * minor cleanup * harbour/src/vm/eval.c * inherit execution context (OOP scope) in HB_EXECFROMARRAY() function * harbour/include/hbcomp.h * harbour/include/hbcompdf.h + harbour/src/common/funcid.c * harbour/src/common/Makefile + added new [macro]compiler function: hb_compGetFuncID() which can be used for function name hashing reducing strcmp() comparisons * harbour/include/hbexpra.c * harbour/include/hbexprb.c % use hb_compGetFuncID() to improve code for HB_ET_FUNCALL expressions 2010-02-27 10:03 UTC+0100 Viktor Szakats * contrib/hbsqlit3/hbsqlit3.c % Deleted unnecessary cast. * contrib/rddsql/sddmy/Makefile - contrib/rddsql/sddmy/mysqldd.c + contrib/rddsql/sddmy/sddmy.c * contrib/rddsql/sddpg/Makefile - contrib/rddsql/sddpg/pgsqldd.c + contrib/rddsql/sddpg/sddpg.c * contrib/rddsql/sddfb/Makefile - contrib/rddsql/sddfb/fbirddd.c + contrib/rddsql/sddfb/sddfb.c * contrib/rddsql/sddodbc/Makefile - contrib/rddsql/sddodbc/odbcdd.c + contrib/rddsql/sddodbc/sddodbc.c * contrib/rddsql/sddoci/Makefile - contrib/rddsql/sddoci/ocidd.c + contrib/rddsql/sddoci/sddoci.c * Renamed source files. ! Deleted leftover trace msg from sddoci. ! Added extra protection to wrong input parameter in sddoci open method. 2010-02-26 20:51 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/ideeditor.prg * contrib/hbide/ideharbourhelp.prg + Implemented: auto activating and displaying the function's documentation you have currently finished typing opening brace. This feature is activated only when you have initialized the documentation browser by clicking on the "H" icon on the right toolbar. I am open to hear what other features can be implemented in this context. This itself is a big productivity boost. 2010-02-26 18:15 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/THbQtUI.prg ! Miss of prev commit. * contrib/hbide/idefindreplace.prg ! A nasty fix. * contrib/hbide/ideharbourhelp.prg + Implemented: text file viewer "as is" if it does not contain any function's documentation. In Harbour's /doc* tree there are many files without NANFORUM tags. 2010-02-26 16:54 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/resources/docviewgenerator.ui * contrib/hbide/resources/docviewgenerator.uic ! Enabled: left-right tab-widgets to share space as per user wish. You can resize the indivisual tab-widgets, move cursor in-between horizontal divider. * doc/hdr_tpl.txt ! Little correction in exact number of spaces and little more awareness tip for writer. * contrib/hbide/ideharbourhelp.prg * contrib/hbide/idemisc.prg ! More refinements the way Harbour document is displayed. Please forward your suggessions. ! Presentation: documents tree is now exact syncronization with Harbour's folder structure but depicting only those folders with /doc and /doc/en endingings. + Enabled: to reload the tree on the fly. Marco, check it. 2010-02-26 23:18 UTC+0100 Viktor Szakats * src/rtl/tget.prg * tests/rto_get.prg ! Fixed to convert input to uppercase for "Y" picture mask. + Added regression test for this case. 2010-02-26 22:01 UTC+0100 Viktor Szakats * contrib/rddsql/sddoci/ocidd.c * Commented trace call. * contrib/rddsql/sddoci/Makefile + Added tweak to link with implibs of ever-problematic bcc compiler. 2010-02-26 21:44 UTC+0100 Viktor Szakats * INSTALL * bin/hb-mkimp.bat + contrib/rddsql/sddoci + contrib/rddsql/sddoci/Makefile + contrib/rddsql/sddoci/ocidd.c + contrib/rddsql/sddoci/sddoci.hbc + contrib/rddsql/sddoci/tests + contrib/rddsql/sddoci/tests/hbmk.hbm + contrib/rddsql/sddoci/tests/test1.prg * contrib/rddsql/Makefile + Added support for direct connection to Oracle databases via OCILIB library. UNICODE, ANSI (default) and MIXED modes are supported. For mingw targets, the library will be linked statically, for the rest dynamically. You need to have Oracle client (oci.dll and the rest of the package) installed to use it. ; TODO: Finish type conversion and mapping. [DONE] * contrib/rddsql/sddmy/mysqldd.c * contrib/rddsql/sddpg/pgsqldd.c * contrib/rddsql/sddfb/fbirddd.c * contrib/rddsql/sddodbc/odbcdd.c ! HB_ULONG -> HB_SIZE ; FIXME: Current SDD architecture will crash with GPF if dbUseArea() is attempted after a failed RDDI_CONNECT call. You can check it e.g. with sddodbc's test1.prg, by modifying test.mdb to test_.mdb, and simply run it. [DONE] 2010-02-26 11:13 UTC+0100 Viktor Szakats * contrib/hbxpp/Makefile + contrib/hbxpp/thread.ch * contrib/hbxpp/tthreadx.prg + Added thread.ch compatibility header. ! Fixed QUIT_* constants to be the same as in real XPP, also moved them to header. 2010-02-26 11:00 UTC+0100 Viktor Szakats * harbour.spec + Added hbfoxpro, hbfship, hbxpp libs. 2010-02-26 10:56 UTC+0100 Viktor Szakats + contrib/hbfoxpro/dll.prg + contrib/hbfoxpro/Makefile * contrib/hbwin/Makefile - contrib/hbwin/win_dllf.prg + Moved FoxPro-like dynamic call function to hbfoxpro lib. Renamed it to FOX___DYNCALL() until we find it a better name, or someone will suggest how this is best presented for actual FoxPro users. * contrib/Makefile * utils/hbmk2/examples/contribf.hbc + Enabled hbfoxpro lib. * config/wce/global.mk * config/win/global.mk * Formatting. 2010-02-25 19:11 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/ideharbourhelp.prg + Implemented to open Qt's original documentation link in default browser. It is handy and you do not need to remember. 2010-02-25 18:45 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/ideharbourhelp.prg + Implemented two more tags: $INHERITS$ and $METHODS$ * contrib/hbqt/generator/hbqtgen.prg + Implemented NANFORUM compatible .txt documentation files. Please navigate with hbIDE. + contrib/hbqt/doc/en + contrib/hbqt/doc/en/*.txt [ Auto Generated ] NOTE: this is initial upload and contains little less than desired. I plan to adress including more info at a later date. For now you can be comfortable as to how a method in Qt class should be called, a big productivity boost. 2010-02-26 00:22 UTC+0100 Viktor Szakats * contrib/hbxpp/xppop.prg * contrib/hbxpp/xppopc.c ! Restored support for negative indexes in 'string[ n ]' syntax. * Two reported RTE made XPP compatible regarding 'string[ n ]' syntax. Left marked as TODO. I hope one day an XPP user will complete them. ! Fixed name of an internal function to not be the same as in xhb lib. 2010-02-25 20:52 UTC+0100 Viktor Szakats * contrib/gtwvg/gtwvg.c * contrib/gtwvg/gtwvg.h * Synced color RGB values with GTWVT. * contrib/hbgd/hbgd.hbc ! Fixed to reference hbct lib. hbgd requires it for some math functions. * contrib/hbxpp/Makefile * contrib/hbxpp/hbxpp.ch + contrib/hbxpp/xppopc.c + contrib/hbxpp/xppop.prg + contrib/hbxpp/tests/opover.prg + Added support for 'string[ n ]' syntax. Note, you have to #include "hbxpp.ch" to activate it. (of course you can pick the logic and copy it to app code, it's only two lines) (copied and adapted from existing xhb lib implementation) * contrib/xhb/xhbmsgs.c ! Fixed HB_LONG -> HB_ISIZ * contrib/hbxpp/hbxppext.ch * Updated. 2010-02-25 10:08 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/gtqtc/gtqtc.cpp * contrib/hbqt/gtqtc/gtqtc.h * contrib/hbqt/gtqtc/Makefile ! Fixed to work with current location and non-UNICODE builds. 2010-02-25 09:09 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) + contrib/hbide/resources/harbour_splash.png * contrib/hbide/resources/themesex.ui * contrib/hbide/resources/themesex.uic * contrib/hbide/hbide.prg * contrib/hbide/ideactions.prg * contrib/hbide/idedocks.prg * contrib/hbide/ideobject.prg * contrib/hbide/idesaveload.prg * contrib/hbide/idethemes.prg + Splash screen popping up at the startup before main window is displayed. Your comments are welcome. ! Enabled menu options which were accidentally got disabled some time back, do not remember - why. ! Themes: centralized "Set as Default" option in "Images" dialog. Removed from <Setup> menu option. ! Some more rationalizations. 2010-02-25 16:03 UTC+0100 Viktor Szakats * contrib/hbziparc/hbziparc.prg ! Fixed HB_ZIPFILE() not working properly with a password set. * include/hbgtinfo.ch ! Fixed comment for HB_GTI_PALETTE. 2010-02-25 14:32 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbxpp/tthreadx.prg + added paramter validation in THREAD:setInterval() and THREAD:setStartTime() + added support for THREAD:startTime * updated TODO notes 2010-02-25 13:41 UTC+0100 Viktor Szakats * include/hbdefs.h + Added HB_FUNC_TRANSLATE( func_name, original_func_name ) macro to replace this logic: 'HB_FUNC_EXTERN( original_func_name ); HB_FUNC( func_name ) { HB_FUNC_EXEC( original_func_name ); }' * contrib/hbxpp/pvalue.c * contrib/hbfship/pvalue.c % Using HB_FUNC_TRANSLATE(). 2010-02-25 13:33 UTC+0100 Viktor Szakats * src/pp/ppcore.c * src/compiler/cmdcheck.c * src/compiler/hbusage.c * include/hbpp.h - Deleted -kl option. "multiline strings" converted back to build-time option. It's not a documented option anymore, usage is not recommended. See 2010-02-24 20:04 UTC+0100 for valid alternatives. 2010-02-25 11:08 UTC+0100 Viktor Szakats * include/hbextern.ch ! Added __QUITCANCEL. * contrib/hbxpp/Makefile + contrib/hbxpp/pvaluex.c * contrib/hbfship/Makefile + contrib/hbfship/pvalue.c + Added function PVALUE() to both Xbase++ and FlagShip lib. * contrib/hbxpp/Makefile * contrib/hbxpp/hbxpp.ch * contrib/hbxpp/idlex.c - contrib/hbxpp/sleepx.prg * Renamed already existing XPP_SLEEP() to SLEEP(). - Deleted translation from SLEEP() to XPP_SLEEP() hbxpp.ch. - Deleted recently added .prg implementation of SLEEP(). * contrib/hbqt/qtgui/QWidget.cpp * contrib/hbqt/qtcore/TQChar.prg * Regenerated. 2010-02-25 08:40 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/vm/hvm.c + added internal PRG function __QUITCANCEL() * harbour/contrib/hbxpp/Makefile + harbour/contrib/hbxpp/sleepx.prg + added xbase++ compatible prg function SLEEP( <nHSeconds> ) -> NIL * harbour/contrib/hbxpp/tthreadx.prg ! renamed TTHREAD class to THREAD and TSIGNAL to SIGNAL - I had to wrongly understood xbase++ documentation sent to the least. ! made THREAD:threadSelf() method exported + added full support for THREAD:QUIT( [<xResult>] [,<nRestart>] ) ! initialize THREAD:startCount and ThreadObject() value before executing THREAD:atStart[()] method and codeblock % simplified emulation of xbase++ like behavior of THREAD:atStart[()] and THREAD:atEnd[()], in such context it's not necessary to use __ClsMsgType() % simplified THREAD:execute() method calling + added proper THREAD:deltaTime setting ! do not use THREAD:startTime to store thread start time ! fixed thread restarting when THREAD:interval is set to use calculated THREAD:deltaTime instead of fixed delay defined by THREAD:interval 2010-02-24 17:40 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/qtgui/QWidget.cpp * contrib/hbqt/qtgui/TQWidget.prg * contrib/hbqt/qth/QWidget.qth + Enabled :setSizePolicy( QSizePolicy ). 2010-02-24 16:46 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/resources/docviewgenerator.ui * contrib/hbide/resources/docviewgenerator.uic * contrib/hbide/resources/environments.ui * contrib/hbide/resources/environments.uic * contrib/hbide/resources/finddialog.uic * contrib/hbide/resources/findinfiles.uic * contrib/hbide/resources/findinfilesex.ui * contrib/hbide/resources/findinfilesex.uic * contrib/hbide/resources/findsource.uic * contrib/hbide/resources/mainwindow.uic * contrib/hbide/resources/projectproperties.uic * contrib/hbide/resources/projectpropertiesex.ui * contrib/hbide/resources/projectpropertiesex.uic * contrib/hbide/resources/searchreplace.ui * contrib/hbide/resources/searchreplace.uic * contrib/hbide/resources/searchreplacepanel.ui * contrib/hbide/resources/searchreplacepanel.uic * contrib/hbide/resources/selectionlist.uic * contrib/hbide/resources/selectproject.uic * contrib/hbide/resources/skeletons.ui * contrib/hbide/resources/skeletons.uic * contrib/hbide/resources/themes.uic * contrib/hbide/resources/themesex.ui * contrib/hbide/resources/themesex.uic ! A thourough uniform naming protocol adapted. + contrib/hbide/resources/harbourhelp.png + contrib/hbide/resources/projectstree.png + contrib/hbide/resources/richtext.png + contrib/hbide/resources/syntaxhiliter.png + contrib/hbide/resources/tabs.png * contrib/hbide/resources/blockcomment.png + contrib/hbide/resources/codeskeletons.png * contrib/hbide/resources/dc_function.png + Added more images. * contrib/hbqt/hbqt_hbslots.cpp * contrib/hbqt/hbqt_hbslots.h + Added slots for QDockWidget(). * contrib/hbqt/THbQtUI.prg ! Refined destructor. * contrib/hbide/hbide.prg * contrib/hbide/ideactions.prg * contrib/hbide/idedocks.prg * contrib/hbide/idefindreplace.prg * contrib/hbide/ideharbourhelp.prg * contrib/hbide/idemisc.prg * contrib/hbide/ideobject.prg * contrib/hbide/ideprojmanager.prg * contrib/hbide/idesaveload.prg * contrib/hbide/idethemes.prg + This commit is mainly uplifts and rationlizes the menus, toolbars, and docking widgets plus a big consideration of parent child relationship is achieved. * Implemented: right-side toolbar which contains the toggle icons for docking widgets. The same functionality is available also in <Docks> main-menu option. * Menu options are reworked and all actions pertaining to docking widgets are removed from there. The same is applied to top-toolbar also. All actions pertaining to block operations are cornered at the left-side toolbar. Thus menus, toolbars are in perfect synchronization. * Harbour-help is now loaded on demand. Only when help icon is toggled on the right-toolbar. * hbIDE icon is changed as I committed before. No one forwarded his opinions, so I assume it is appropriate image. ; NOTE: This commit now presents hbIDE to the external world with almost-profession look and feel, so we can spread the word. ; This commit is with heavy changes so regression is possible. Please speak-out if you find something weired. 2010-02-25 01:50 UTC+0100 Viktor Szakats * config/wce/global.mk * config/win/global.mk * config/win/msvc.mk * config/rules.mk * INSTALL * UNICODE mode turned on for all Windows compilers. To override it, use: 'HB_BUILD_UNICODE=no' % Cleaned the way UNICODE is enabled. * src/common/hbfsapi.c * src/rtl/gtstd/gtstd.c * src/rtl/gtpca/gtpca.c ! HB_IO_WIN -> HB_OS_WIN. (missed from previous commit) * utils/hbmk2/hbmk2.prg * ENDTEXT -> #pragma __endtext (Thanks for the hint, Xavi) 2010-02-24 20:04 UTC+0100 Viktor Szakats * src/pp/ppcore.c * src/compiler/cmdcheck.c * src/compiler/hbusage.c * include/hbpp.h + Marked "multiline strings" feature as deprecated, with HB_LEGACY_LEVEL3. It's recommended to fix such code to be compatible with Clipper (and other compatible) languages. E.g.: --- cVar := "line 1; line 2; line 3" --- to standard: --- E.g.: cVar := "line 1" +; "line 2" +; "line 3" --- or to another Harbour extension: --- #pragma __cstream|cVar := %s line 1 line 2 line 3 #pragma __endtext --- ('+' operator will be optimized out by the compiler, so there won't be any performance drop.) * utils/hbmk2/hbmk2.prg * Formatting. 2010-02-24 16:10 UTC+0100 Viktor Szakats * src/pp/ppcore.c * src/compiler/cmdcheck.c * src/compiler/hbusage.c * include/hbpp.h * include/hbsetup.h * HB_USER_CFLAGS=-DHB_PP_MULTILINE_STRING feature converted to compiler switch '-kl'. INCOMPATIBLE. Users needing this feature now can use standard Harbour builds by simply adding -kl Harbour compiler flag. Old build-time macro is not supported anymore. 2010-02-24 14:33 UTC+0100 Viktor Szakats * include/hbdefs.h * include/hbapigt.h * src/rtl/fstemp.c * src/rtl/fserr.c * src/rtl/filesys.c * src/rtl/console.c * src/rtl/hbproces.c * HB_IO_WIN -> HB_OS_WIN * src/rtl/fserr.c - Deleted code sections which could only be active in 16-bit MS-DOS (MSC and BCC) compilers, or never. * src/rtl/hbdyn.c ! Fixed signedness warning shown by Cygwin. * src/rtl/filesys.c % Cleaned double inclusion of windows.h. ! Fixed for Cygwin. Latest Cygwin allows to enable some previously inactivated code sections. Also avoiding some new warnings on this target. - Deleted code section which is superfluous after merging HB_OS_WIN and HB_IO_WIN modes. ; TODO: Clean the rest. [DONE] ; TODO: Use native Windows API in the remaining places. [DONE] * include/hbdefs.h ! Disabled drive letter for __CYGWIN__. Latest version don't define the related CRTL functions, so it was giving warnings in filesys.c. * src/rtl/hbproces.c - Deleted code section which was now redundant (covering non-HB_IO_WIN && HB_OS_WIN case) * contrib/hbwin/win_prn1.c * Formatting. * src/vm/estack.c * src/vm/garbage.c * src/vm/fm.c * src/vm/thread.c + Readded those OS/2 INCL_ macros which were needed in C++ mode. 2010-02-24 12:42 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/filesys.c ! fixed typo and casting due to wrong OS2 API documentation * use DosQueryCurrentDir() instead of DosQCurDir() macro FIXME: Current HVM cannot be compiled by OS2 Watcom 2010-02-24 12:22 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/hb-func.sh * updated new contrib libraries * harbour/contrib/xhb/regexrpl.prg ! fixed hb_RegexReplace() to respect lCaseSensitive and lNewLine flags * harbour/src/rtl/filesys.c % use in OS2 builds system API functions instead of CRTL ones to get/set current drive % use in OS2 builds system API function DosQueryCurrentDisk() to check if disk drives are available in hb_fsIsDrv() function ! use in OS2 builds system API function DosQCurDir() to extract current directory. It fixed buffer overflow due to ignored buffer size in GCC OS2 builds and makes MT safe getting current directory for non current drive. 2010-02-24 10:32 UTC+0100 Viktor Szakats - include/hbzlib.h - Deleted hbzlib.h (missed from commit: 2010-02-23 09:27 UTC+0100) 2010-02-24 10:03 UTC+0100 Viktor Szakats * contrib/hbxpp/Makefile + contrib/hbxpp/runshell.prg + Added RUNSHELL() * src/rtl/hbproces.c * contrib/hbxpp/dll.ch * Formatting. 2010-02-23 14:34 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) + contrib/hbide/resources/hbide.png + Added icon to be displayable in hbIDE windows title-bar. Please visualize and forward any suggesstion. If possible you can redesign it. 2010-02-23 20:52 UTC+0100 Viktor Szakats * examples/hbdoc2/hbdoc2.prg ! Synced doc language subdir with recent changes. Thanks to Qatan for pointing it out. * include/hbwince.h * Formatting. 2010-02-23 17:40 UTC+0100 Maurilio Longo (maurilio.longo@libero.it) * source/contrib/hbxpp/tthreadx.prg ! while waiting for ::interval to expire, ::active has to be .T. 2010-02-23 08:26 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/hbqt_hbslots.cpp ! Applied patch provided by Franček. This removes the 128 nesting loop limit in MSVC. * contrib/hbide/ideharbourhelp.prg ! Fixed many artifacts, mainly on DocViewer navigation. 2010-02-23 17:10 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/vm/dynlibhb.c ! casting for OS2 builds * harbour/src/rtl/hbinet.c ! added automatic WINSOCK initialization in HB_INETIFINFO() function * harbour/contrib/hbwin/olecore.c % small optimization in OLE method calls (use static buffer for message name) 2010-02-23 14:25 UTC+0100 Maurilio Longo (maurilio.longo@libero.it) * source/contrib/hbxpp/tthreadx.prg * changed ::start() method to execute ::atStart/::atEnd methods/codeblocks when present. * changed ::threadID() from method to iVar ! ::startCount should be incremented at every execution * ::threadSelf() method moved to HIDDEN section 2010-02-23 10:12 UTC+0100 Viktor Szakats * src/vm/estack.c * src/vm/fm.c * src/vm/garbage.c % Deleted unnecessary OS/2 INCL_* constant definitions. * src/vm/cmdarg.c * src/vm/thread.c * src/vm/dynlibhb.c + Added comment for some exception where OS/2 INCL_ constants hace to be defined before Harbour headers. (because hbstack.h will include os2.h through hbthread.h in MT build-pass) * src/vm/extrap.c * src/common/hbgete.c * src/common/hbffind.c * src/common/hbver.c * src/common/hbfsapi.c * src/rtl/filesys.c * src/rtl/diskspac.c * src/rtl/gtos2/gtos2.c * src/rtl/cputime.c * src/rtl/disksphb.c * contrib/hbtpathy/tpos2.c * contrib/hbmzip/hbmzip.c * contrib/hbqt/hbqt.h % OS/2 '#define INCL_*' lines moved right before os2.h is included. Now that os2.h isn't included by Harbour headers, this is possible. 2010-02-23 09:44 UTC+0100 Viktor Szakats * include/hbdefs.h + <windows.h>/<os2.h> header inclusion (along with HB_OS_WIN_USED macro) is now guarded with HB_LEGACY_LEVEL3. * include/hbsetup.ch * include/hbdefs.h * include/clipdefs.h + HB_LEGACY_OFF will now turn off legacy types as well. This means that HB_LEGACY_TYPES_OFF macro usage is now clean. * utils/hbmk2/examples/contribf.hbc ! hbbmcdx -> rddbmcdx 2010-02-23 09:27 UTC+0100 Viktor Szakats * include/Makefile - Deleted hbzlib.h (wrapper for zlib.h) (INCOMPATIBLE, if someone used this, should be fixed by replacing hbzlib.h with zlib.h in #include directive) 2010-02-23 09:25 UTC+0100 Viktor Szakats * contrib/hbmzip/ioapi.c * contrib/hbmzip/zip.c * contrib/hbmzip/unzip.c * contrib/hbmzip/zip.h * contrib/hbmzip/unzip.h * contrib/xhb/hbcomprs.c % Using hbzlib.h directly instead of hbzlib.h. ; TODO: Delete hbzlib.h. [DONE] 2010-02-22 19:05 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/idedocks.prg * contrib/hbide/resources/docviewgenerator.ui * contrib/hbide/resources/docviewgenerator.uic ! Enabled "floating" properties for right-hand docking widgets. Now it is possible to sheer them out of main frame and/or tabify. ! Changed the "Contents" tab-page maximum-width. 2010-02-22 15:13 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/ideobject.prg ! :connect()/disconnect() now returns failure or success. * contrib/hbide/ideharbourhelp.prg % Fixed the night-haunter exiting GPF. Qt the beast. This all belongs to parent child relationship, which, if not handlled properly can kill the application. It is a moment to take sigh of relief, at least for now. 2010-02-22 20:43 UTC+0100 Viktor Szakats * src/rtl/gtwvt/gtwvt.h * src/rtl/gtwvt/gtwvt.c ! Fixed to use standard VGA RGB values, just like in GTXWC. ! Fixed color constant names (no "bright white" anymore). * include/hbdefs.h % Minor cleanup. 2010-02-22 09:16 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/qtcore/*.cpp * contrib/hbqt/qtcore/*.cpp * contrib/hbqt/qtcore/*.cpp ! Regenerated sources after recent changes in headers implementation. 2010-02-22 18:26 UTC+0100 Viktor Szakats * config/global.mk % Deleted recently added logic for os2/gcc* targets. Not needed anymore. 2010-02-22 17:23 UTC+0100 Viktor Szakats * contrib/hbqt/hbqt_hbdbfmodel.cpp * contrib/hbqt/hbqt_hbqsyntaxhighlighter.cpp * contrib/hbqt/hbqt_hbqtableview.cpp * contrib/hbqt/hbqt_hbevents.cpp * contrib/hbqt/hbqt_destruct.cpp * contrib/hbqt/hbqt_utils.cpp * contrib/hbqt/hbqt_hbqmainwindow.cpp * contrib/hbqt/hbqt_hbqplaintextedit.cpp * contrib/hbqt/hbqt_base.cpp * contrib/hbqt/hbqt_hbslots.cpp * Cleaned header inclusion order after adding hbapi.h to hbqt.h. * config/os2/gcc.mk ! Fixed to use '-Wl,' trick proposed by Przemek, to forward obj list script filename directly to linker. This gets around the problem where gcc tries to pass expanded scripts to subprocesses (ld) via command-line, thus imposing a 32K limit also to script files. 2010-02-22 15:20 UTC+0100 Viktor Szakats * config/os2/gcc.mk + Attempt to fix direct ld usage to create Harbour .dlls. Please make tests for all versions of gcc/gccomf targets. * INSTALL - Deleted TCPV4 header instructions for OS/2. (they still work, it just got less emphasis with this) 2010-02-22 15:06 UTC+0100 Viktor Szakats * include/hbdefs.h ! Fixed to not #include <dos.h> unconditionally. This should be done by specific source code, if needed. INCOMPATIBLE, if source code relied on this behavior. From now on, it should include dos.h manually. * src/vm/thread.c * src/common/hbver.c * src/rtl/gtdos/gtdos.c * src/rtl/isprint.c * src/rtl/diskspac.c * src/rtl/disksphb.c * src/rtl/net.c * contrib/hbct/print.c ! Fixed to #include <dos.h> manually. * src/rtl/fstemp.c ! Fixed recent warning for dos targets. * contrib/hbct/video.c ! Fixed old unused variable warning for dos/watcom targets. * INSTALL + Documented that OS/2 Warp 4 is supported (instead of generic OS/2). 2010-02-22 14:43 UTC+0100 Viktor Szakats * src/vm/extrap.c * src/vm/dynlibhb.c * src/common/hbgete.c * src/common/hbffind.c * src/common/hbver.c * src/rtl/filesys.c * src/rtl/diskspac.c * src/rtl/gtos2/gtos2.c * src/rtl/cputime.c * src/rtl/disksphb.c * include/hbthread.h * contrib/hbmzip/hbmzip.c ! Fixed to setup all OS/2 INCL_* constants and to #include os2.h by themselves, and not to rely on Harbour headers to do this job for them. ; TODO: Do the same for dos.h. [DONE] * doc/hdr_tpl.txt - Deleted local changelog. ! Fixes to .prg function docs + Update copyright year to 2010. + Added fact that $SEEALSO$ should be comma separated. + Added .c function example (far from perfect) * examples/hbdoc2/tmplates.prg * doc/hdr_tpl.txt + Added $VERSION$ tag. (pls update HBIDE. We haven't finalized the format yet, to it's little bit premature to create new and new parsers/generators for it yet) * include/hbdefs.h ! Fixed to not unconditionally include OS/2 headers with an arbitrary selection of INCL_ macros. Now OS/2 headers will only be included if legacy types are requested (off by default), and no INCL_ macros are defined. This latter change may affect 3rd party code written for OS/2, so I'm marking it INCOMPATIBLE. * contrib/hbqt/generator/hbqtgen.prg * contrib/hbqt/hbqt.h * Changed to #include hbapi.h from hbqt.h. It needs it, so this is the clean way. Changed generator to leave out hbapi.h from each source file and refer to hbqt.h only. (untested) + Added logic to #include OS/2 headers with some INCL_ macros defined, to make QT on OS/2 happy. (copied them from the dev. list) ; TODO: Regenerate HBQT sources. [DONE] * utils/hbtest/hbtest.prg ! Cleaned old problem reported by Chen. It seems like a feature which was never finished, and it's not even hugely needed, so I deleted it. * config/global.mk + Will now provide HB_COMP_PATH_PUB value for os2-gcc, os2-gccomf compilers. This value can be used to manually form ld.exe command line. (NOTE: This may be deleted in the future, when sorting out line-length limit problems for these compilers. 2010-02-22 02:03 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/ideharbourhelp.prg ! A rare-condition bug fix. Thanks Marco. 2010-02-22 01:48 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) + contrib/hbide/resources/harbour.png ! Missed from prev commit. ! Enabled building the Harbour Documentation structure at the time of hbIDE start. 2010-02-22 01:41 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/ideharbourhelp.prg + Implemented: presentation of documents per "Category" field. ; QUESTION: is it worth to populate the tree with sub-category. In my opinion, a function can belong to many categories. If yes, what method to adopt? 2010-02-22 09:15 UTC+0200 Chen Kedem <niki@synel.co.il> * doc/en/file.txt ! Fix typo in DIRREMOVE() $SYNTAX$: DIRCHANGE --> DIRREMOVE reported by Alexey Myronenko. 2010-02-21 20:08 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/hbqt_hbslots.cpp * contrib/hbqt/hbqt_hbslots.h + Added slots for QTextBrowser() * contrib/hbide/ideharbourhelp.prg + Implemented: navigation in "See Also" slot. Functions contained in "See Also" are highlighted as a link where single-click presents the relevant document. ;NOTE: "See Also" functions must ever be delimited with ",". ;GPF: Present at exit. 2010-02-21 18:44 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/hbqt_hbslots.cpp * contrib/hbqt/hbqt_hbslots.h + Added slots covering QListWidget(). + contrib/hbide/resources/dc_pdffile.png * contrib/hbide/resources/docviewgenerator.ui * contrib/hbide/resources/docviewgenerator.uic + Added "Export to PDF Document" icon. * contrib/hbide/hbide.prg * contrib/hbide/ideharbourhelp.prg + Implemented: printing of html document - activated via Print toolbar icon. : export as PDF document - activated via PDF toolbar icon. : syntax-highlighter for "Examples", "Tests" editors. : font Courier new set for "Examples", "Tests", "Arguments" editors. : Home, backward, forward, up navigation. : indexed search - activated via "Index" tab on left pane. : set to load whole tree at first invocation. : tree navigation simplified, honors single click. : added pages for Root, Paths, Files, nodes. ; Now usability of the hbIDE's documentation viewer has increased many folds. I am wondering we have a lot f documentation in place but was invisible. Today I could feel comfortable and hope in coming future almost all of you will contribute for this noble cause. ; Basic functionality of the viewer is almost there. So I will be concentrating on the "Generator/Writer" templates part. Goal is to provide very easy mechanism for a writer * to select a source, * the function(s) within that source, * create basic template skeletons filled with meaningful material for selected functions, * and slots to save them. ; The search engine follows the standard way. * Click on "Index" left-pane tab, * Start typing in function edit box, * As you type, the incremental search is performed and relevant function is brought in focus. The search is case insensitive. * Press enter while in edit control and have function documentation visible in the viewer. * Alternatively you can navigate the Functions list, double-click on one yoy are interested in. ; GPF is still there, struggling. ; Please forward shortcomings. 2010-02-21 22:01 UTC+0100 Viktor Szakats * doc/hdr_tpl.txt ! Fixed to use comma (',') separator in $SEEALSO$ section. % Deleted '*' from each line. * Formatting. (CamelCase for functions, uppercase for commands, .T./.F. for logical values) 2010-02-21 20:58 UTC+0100 Viktor Szakats * contrib/hbxpp/hbxpp.ch + Added AADD() 3rd parameter emulation. (untested) 2010-02-21 08:27 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/hbide.hbp ! Deleted one source not ready yet. 2010-02-21 07:14 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) + contrib/hbide/resources/dc_delete.png + contrib/hbide/resources/dc_down.png + contrib/hbide/resources/dc_folder.png + contrib/hbide/resources/dc_function.png + contrib/hbide/resources/dc_home.png + contrib/hbide/resources/dc_left.png + contrib/hbide/resources/dc_plus.png + contrib/hbide/resources/dc_print.png + contrib/hbide/resources/dc_quit.png + contrib/hbide/resources/dc_refresh.png + contrib/hbide/resources/dc_right.png + contrib/hbide/resources/dc_textdoc.png + contrib/hbide/resources/dc_textdocument.png + contrib/hbide/resources/dc_up.png + contrib/hbide/resources/docviewgenerator.ui + contrib/hbide/resources/docviewgenerator.uic * contrib/hbide/resources/help.png + contrib/hbide/resources/searchreplace.ui + contrib/hbide/resources/searchreplace.uic + Added few more images and redefined a prev one. * contrib/hbqt/THbQtUI.prg + Added some more hbqt.ch defined constants in the engine. * contrib/hbide/hbide.ch * contrib/hbide/hbide.hbp * contrib/hbide/hbide.prg * contrib/hbide/ideactions.prg * contrib/hbide/idedocks.prg * contrib/hbide/idefindreplace.prg * contrib/hbide/ideharbourhelp.prg * contrib/hbide/idemisc.prg * contrib/hbide/ideobject.prg * contrib/hbide/ideprojmanager.prg * contrib/hbide/idesaveload.prg * contrib/hbide/idestylesheets.prg + Implemented an html viewer for Harbour's documentation .txt files with slots to make it a "writer" too if it fits the purpose. ! Reimplemented the "Search-Replace" user interface and working. A work-in-progrss which I will explain later. ; Harbour Documentation Viewer - How to Invoke * Close any docking pane is visible at the right panel. * Point to <Docks> option on <Main Menu> and click on <Document Viewer> * A right-side "Document Viewer" window will appear. * Provide Harbour's installation root path in "Harbour Installation Root:" field, i.e., C:\harbour * OR alternatively, you can choose one by clicking "Harbour Installation Root Path" icon on the right of field. * Click "Refresh" icon on the toolbar of "Document Viewer" window" only once and wait a couple of seconds. * "Contents" tab will be populated with /doc and /doc/en folders. * Double-click on one to expand - you will be able to view .txt file names. * Double-click on some .txt node, wait a couple of seconds, and you will be able to see "functions" nodes. * Double-click on the function's node and you will be presented with html display in the "View" tab on the right. * Navigate other tabs on the right, you will understand the contents. * Next time hbIDE will remember Harbour's installation root path. * :( On exit expect to receive a GPF, investigating. Right now only "Viewer" part is ready per preliminary stages. I have a lot of ideas on my drawing-board and would like to hear your opinions. Basic components to write a document are also in place, but I need to gather more info and what else can be included. In the next several days I will be focussing on this tool. Bacco and Vailton, please bear with me, as this interface is the basic requirement of hbIDE which I had kept postponed till now. A stand alone viewer and writer has its own purpose, space, and audience. 2010-02-21 16:23 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/ChangeLog ! fixed typo * harbour/src/rtl/hbsocket.c + implemented MS-Windows version of hb_socketGetIFaces() Thanks to Mindaugas for info about SIO_GET_INTERFACE_LIST. Warning: support for above action in WSAIoctl() was added in Win98 so this code probably does not work in Win95. Please test. TODO: 1) add support for IP6 2) add support for Win95 3) add support for fNoAliases switch 4) add support for MAC address setting I hope that MS-Windows developers/users can implement some points from above list. I.e. 3 and 4 can be implemented using information returned by GetAdaptersInfo() function. 2010-02-21 15:03 UTC+0100 Viktor Szakats * include/hbextern.ch + Added __CLSMSGTYPE function. * config/os2/gcc.mk * Changed to use 'ld' tools directly when creating Harbour dynamic libraries. ; Please test, it's possible that some option have to be deleted, changed, or some system/compiler libs added manually to make it work. 2010-02-21 13:48 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/ChangeLog ! fixed typo * harbour/src/rtl/hbsocket.c ! fixed OS2 builds using TCPV40HDRS - please test * harbour/src/vm/classes.c + added new PRG function: __clsMsgType( <nClassH>, <cMsg> | <sMsg> ) -> <nType> <nType> is one of HB_OO_MSG_* values defined in hboo.ch or -1 if message is not supported. 2010-02-20 23:11 UTC+0100 Viktor Szakats * src/rdd/ordwldsk.c * src/rdd/ordcount.c ! Typo. 2010-02-20 22:09 UTC+0100 Viktor Szakats * debian/dirs * doc/en/Makefile * harbour.spec ! "en-EN" -> "en" - examples/hbdoc/examples - Deleted outdated docs. 2010-02-20 21:19 UTC+0100 Viktor Szakats + doc/en - doc/en-EN - contrib/hbgt/doc/en-EN + contrib/hbgt/doc/en - contrib/hbziparc/doc/en-EN + contrib/hbziparc/doc/en - contrib/rddads/doc/en-EN + contrib/rddads/doc/en - contrib/hbgd/doc/en-EN + contrib/hbgd/doc/en - contrib/hbmisc/doc/en-EN + contrib/hbmisc/doc/en - contrib/hbbtree/doc/en-EN + contrib/hbbtree/doc/en - examples/hbdoc/examples/core_en + examples/hbdoc/examples/en - examples/hbdoc/examples/core_es + examples/hbdoc/examples/es * Renamed to use IETF complient language ID. - examples/hbdoc/examples/hbmisc - Deleted. * utils/hbmk2/hbmk2.pt_BR.po * utils/hbmk2/hbmk2.hu_HU.po * utils/hbmk2/hbmk2.prg ! Fixed to not use "en-EN" language code, but plain "en". * examples/hbdoc2/hbdoc2.prg * "en-en" -> "en" 2010-02-20 20:52 UTC+0100 Viktor Szakats * contrib/hbwin/hbwin.ch ! Renamed HB_WIN_RGB_BROWN to HB_WIN_RGB_YELLOW to match real RGB color. I left old RGB_BROWN as is, even if was never really set to brown. 2010-02-20 19:32 UTC+0100 Viktor Szakats * src/rdd/Makefile * src/rdd/dbcmd53.c + src/rdd/ordwldsk.c + src/rdd/ordcount.c + Moved Harbour extensions in Clipper namespace to separate sources. 2010-02-20 18:47 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/hbsocket.c ! fixed typo 2010-02-20 18:36 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbsqlit3/hbsqlit3.c ! fixed to work without [U]LONGLONG defined in hbdefs.h 2010-02-20 18:05 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/vm/task.c ! fixed casting for C++ builds * harbour/src/lang/msges.c ! added hack for Solaris builds where ES is macro TODO: sync names of lang and corresponding codepage modules. * harbour/src/vm/dynlibhb.c * pacified warning * harbour/contrib/xpp/xppextrn.ch * harbour/contrib/xpp/dbcmdx.c * harbour/include/hbextern.ch * harbour/src/rdd/dbcmd53.c ! moved ordWildSeek() from XPP to HBRDD library. I have no idea if XPP has such function or if it's or not compatible with ORDWILDSEEK() functions I created for [x]Harbour * disable ordCount() and ordWildSeek() functions when HB_CLP_STRICT macro is set * harbour/include/hbsocket.ch + added macro values interface info flags: HB_SOCKET_IFF_* + added macro values for interface info array indexes: HB_SOCKET_IFINFO_* * harbour/include/hbsocket.h * harbour/src/rtl/hbsocket.c + added new C function: PHB_ITEM hb_socketGetIFaces( int af, HB_BOOL fNoAliases ); it returns array with existing interfaces description. This code was added for non MS-Windows based platforms only. Support for MS-Windows has to be added yet. Some platforms may not fill all fields in the returned array. When some fields are not supported by platform or interface then they can contain NIL value. On some platforms this code can effectively work only with IP4 interfaces and IP6 ones will need different implementation. TODO: add support for alternative long interface introduced in some new systems using 'struct lifreq' with SIOCGLIF* ioctls instead of 'struct ifreq' and SIOCGIF* TODO: add support for extracting hardware addreses (i.e. ethernet macaddresses) for systems which do not support SIOCGIFHWADDR. Please test this code with OS2 using OpenWatcom and GCC (old and new socket API). I enabled HB_HAS_SOCKADDR_SA_LEN in OS2 builds. OpenWatocm OS2 header files have such fields but I do know if it's also present in GCC socket API. * harbour/include/hbextern.ch * harbour/src/rtl/hbinet.c + added new PRG function: hb_inetIfInfo( [<lNoAliases>] [, <nAddrFamily>] ) -> <aInfo> <lNoAliases> is .F. by default so aliases are included <nAddrFamily> is HB_SOCKET_AF_INET by default <aInfo> is an array in which each entry is also array with the following fields: HB_SOCKET_IFINFO_FAMILY 1 // adress family HB_SOCKET_IFINFO_NAME 2 // interface name HB_SOCKET_IFINFO_FLAGS 3 // flags HB_SOCKET_IFF_* HB_SOCKET_IFINFO_ADDR 4 // interface address HB_SOCKET_IFINFO_NETMASK 5 // subnetmask HB_SOCKET_IFINFO_BROADCAST 6 // broadcast address HB_SOCKET_IFINFO_P2PADDR 7 // point-to-point address HB_SOCKET_IFINFO_HWADDR 8 // hardware address Please use this code on different non MS-Windows platforms: proc main( noAlias ) local iface ? os(), version() ? "interfaces:" for each iface in hb_inetIfInfo( !empty( noAlias ), 0 ) ? hb_valToExp( iface ) next ? return and check if it returns correct information about available interfaces. 2010-02-20 16:39 UTC+0100 Viktor Szakats * src/vm/memvars.c * src/common/hbverdsp.c * doc/whatsnew.txt * include/hbsetup.ch * utils/hbtest/rt_str.prg * "5.3x" -> "5.3b" 2010-02-20 16:00 UTC+0100 Viktor Szakats + contrib/hbfoxpro + contrib/hbfoxpro/hbfoxpro.ch + Added Visual FoxPro compatibility header. 2010-02-20 15:55 UTC+0100 Viktor Szakats * src/rtl/philes.c * include/hbextern.ch + Added HB_CURDRIVE(). Similar to Xbase++ CURDRIVE(), but always provided by Harbour core. * utils/hbmk2/hbmk2.prg - Deleted mapping from hb_CurDrive() to CurDrive(). * examples/httpsrv/uhttpd.prg * examples/httpsrv/modules/tableservletdb.prg * examples/gtwvw/tests/wvwtest9.prg * Changed to use hb_CurDrive() which is always available in Harbour core, instead of Xbase++ specific CurDrive(). 2010-02-20 13:02 UTC+0100 Viktor Szakats * contrib/Makefile - contrib/xpp + contrib/hbxpp * contrib/hbxpp/Makefile - contrib/hbxpp/xpp.hbc + contrib/hbxpp/hbxpp.hbc - contrib/hbxpp/xppextrn.ch + contrib/hbxpp/hbxppext.ch - contrib/hbxpp/xpp.ch + contrib/hbxpp/hbxpp.ch * contrib/hbxpp/tests/hbmk.hbm * utils/hbmk2/examples/contribf.hbc * Renamed 'xpp' lib to 'hbxpp'. Final name. 2010-02-20 12:55 UTC+0100 Viktor Szakats * include/hbsetup.ch * src/common/hbverdsp.c - Deleted HB_COMPAT_FLAGSHIP, HB_COMPAT_FOXPRO. * include/hbextern.ch * src/rtl/seconds.c + Added HB_SECONDSCPU() (native Harbour version of FlagShip specific SECONDSCPU()) * tests/memtst.prg * tests/speedold.prg * tests/speedtst.prg * tests/vidtest.prg * Changed to use HB_SECONDSCPU(). + Added translation from SECONDSCPU() to HB_SECONDSCPU() when built for FlagShip (where applicable). * include/hbextern.ch * src/rtl/Makefile - src/rtl/strpeek.c - src/rtl/secondfs.c * contrib/Makefile + contrib/hbfship + contrib/hbfship/Makefile + contrib/hbfship/hbfship.hbc + contrib/hbfship/secondfs.c + contrib/hbfship/strpeek.c - Moved FlagShip specific function from core to new hbfship lib. * Changed SECONDSCPU() to be just a wrapper over core HB_SECONDSCPU(). ; INCOMPATIBLE: If you used SECONDSCPU() function, change it to HB_SECONDSCPU(), or add hbfship to your lib list. If you used STRPEEK() or STRPOKE() functions, add hbfship to your lib list. * utils/hbmk2/examples/contribf.hbc + Added hbfship. 2010-02-20 12:00 UTC+0100 Viktor Szakats * src/common/hbverdsp.c * include/hbsetup.ch * contrib/xhb/xhbver.prg - Deleted HB_COMPAT_VO, HB_COMPAT_DBASE, HB_COMPAT_CLIP as build-time options. They were not used, and in the future these should be implemented as addon libraries. * INSTALL * Minor terminogology adjustment. * examples/hbdoc2/tmplates.prg * examples/hbdoc2/hbdoc2.prg - Deleted special handling of FlagShip functions. 2010-02-20 11:50 UTC+0100 Viktor Szakats * include/hbextern.ch * src/rtl/browdb.prg * src/rdd/dbcmd.c * contrib/xpp/dbcmdx.c * contrib/xpp/browdbx.prg + Cleaned the way TBrowseDB() "skipper" function is defined. This means that from now on by default the faster, .c implementation will be used (now called __DBSKIPPER()). The same will be used by xpp lib (via compatibility stub called DBSKIPPER()). The .prg implementation (now moved in core) will be used when HB_CLP_STRICT is enabled. * include/hbextern.ch + Added missing HB_DYNCALL(). * contrib/xpp/xpp.ch * Do not #define HB_COMPAT_XPP. 2010-02-20 05:12 UTC+0100 Viktor Szakats + contrib/hbziparc/doc + contrib/hbziparc/doc/en-EN + contrib/hbziparc/doc/en-EN/hbziparc.txt * contrib/hbziparc/hbziparc.prg + Separated docs from source code. * include/memoedit.ch * Replaced "#ifdef HB_COMPAT_XPP" with "#ifndef HB_CLP_STRICT". Which means we've endorsed these extensions in Harbour, and they are always enabled except in strict compatibility builds. (this was the one remaining occurence) 2010-02-20 04:48 UTC+0100 Viktor Szakats * include/hbsetup.ch * src/common/hbverdsp.c - Deleted HB_COMPAT_XPP option. It's no longer used in Harbour. From this point all Xbase++ compatibility functions and core classes are implemented in 'xpp' contrib library (name tentative). Add it to your lib list, if you need Xbase++ compatible functions. IOW HB_COMPAT_XPP build time option got converted to a app link time option. * src/rtl/isprint.c - Deleted dirty Xbase++ extension of ISPRINTER(). Now it's purely Clipper compatible in default build. INCOMPATIBLE. For Xbase++ version, use XPP_ISPRINTER() (or HB_ISPRINTER() which is the exact same). * src/rtl/tobject.prg * src/rtl/transfrm.c * src/rtl/memoedit.prg * include/memoedit.ch * Replaced "#ifdef HB_COMPAT_XPP" with "#ifndef HB_CLP_STRICT". Which means we've endorsed these extensions in Harbour, and they are always enabled except in strict compatibility builds. * src/rdd/nulsys/nulsys.c - Deleted HB_COMPAT_XPP guarded function. * contrib/xhb/xhbver.prg * Always return .T. for _HB_COMPAT_XPP in version info. * include/box.ch * contrib/xpp/xpp.ch + Added Xbase++ compatibility box.ch constants from core box.ch. INCOMPATIBLE if you use B_THIN or B_FAT box style. * utils/hbtest/hbtest.prg * examples/hbdoc2/tmplates.prg * examples/hbdoc2/hbdoc2.prg - Deleted parts dealing with HB_COMPAT_XPP option. 2010-02-20 04:29 UTC+0100 Viktor Szakats - src/rtl/browdbx.prg - src/rtl/mousex.c * src/rtl/tbcolumn.prg - src/rtl/philesx.c * src/rtl/Makefile - src/rtl/thfuncx.prg - src/rtl/oemansix.c - src/rtl/tthreadx.prg - src/rtl/tgetx.prg - src/rtl/idlex.c * src/rtl/browdb.prg - src/rtl/typefilx.prg - src/rtl/binnumx.c * src/rtl/tbrowse.prg - src/rdd/dbjoinx.prg - src/rdd/dblistx.prg - src/rdd/dbtotalx.prg - src/rdd/dbstruxx.prg - src/rdd/dbsortx.prg * src/rdd/Makefile - src/rdd/dbcmdx.c - src/rdd/dbdetacx.c - src/rdd/dbupdatx.prg - src/rdd/dbfuncsx.prg * include/hbextern.ch * contrib/xpp/xppextrn.ch * contrib/xpp/binnumx.c * contrib/xpp/tthreadx.prg * Synced contrib/xpp compatibility lib source with core. - Deleted Xbase++ compatibility functions from core. ; NOTE: INCOMPATIBLE. If you use Xbase++ function, you should now link xpp lib. (the name of the lib is not yet finalized) [DONE] ; TODO: Clean remaining four HB_COMPAT_XPP guards and delete this build-time option from core. [DONE] 2010-02-20 03:59 UTC+0100 Viktor Szakats - contrib/hbgt/doc/en + contrib/hbgt/doc/en-EN - contrib/hbgd/doc/hbgd.txt + contrib/hbgd/doc/en-EN + contrib/hbgd/doc/en-EN/hbgd.txt - contrib/hbmisc/doc/en + contrib/hbmisc/doc/en-EN + contrib/hbbtree/doc/en-EN + contrib/hbbtree/doc/en-EN/hb_btree.txt - contrib/hbbtree/doc/hb_btree.txt * Cleanup to existing doc locations. 2010-02-20 03:55 UTC+0100 Viktor Szakats - contrib/rddads/doc/en + contrib/rddads/doc/en-EN * Renamed. 2010-02-20 03:44 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.pt_BR.po * utils/hbmk2/hbmk2.hu_HU.po * utils/hbmk2/hbmk2.prg + Added support for -harbourhelp option which will result in the same output as 'harbour --help' command. + Added reference to -harbourhelp option which display Harbour compiler help. + Added support for -build option support in hbmk2. It will be passed to Harbour compiler. * contrib/hbwin/hbwin.ch * Formatting. 2010-02-19 17:40 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/resources/dbl2sglquote.png * contrib/hbide/resources/sgl2dblquote.png ! Changed contents. 2010-02-19 17:22 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/resources/help.png + contrib/hbide/resources/sort.png + contrib/hbide/resources/sortdescend.png + Added new images and changed one old. 2010-02-20 01:03 UTC+0100 Viktor Szakats * include/hbsetup.h * Changed not to rely on _WIN32_WCE to detect WinCE. * config/wce/global.mk * utils/hbmk2/hbmk2.prg % Changed to not pre-define _WIN32_WCE to any value. This should be user choice. * contrib/hbfimage/fi_winfu.c ! Fixed for WinCE builds. Now only non-WinCE compatible parts are disabled and functions keep being defined on .prg level regardless. * contrib/hbfimage/fi_winfu.c * contrib/hbfimage/fi_wrp.c % Cleaned logic that guards '_WINDOWS_' definition. * contrib/hbwin/win_bmp.c ! Fixed to use hexadecimal notation instead of octal, because some compilers where getting confused and tried to match these with some codepages. * contrib/hbwin/win_prn1.c ! Fixed for poccarm, because Pelles C (even 6.0) forgets to map FONTENUMPROC to FONTENUMPROCW. * contrib/hbwin/win_prn3.c ! Added some extra WinCE guards to avoid warning for this platform. * src/debug/dbgentry.c * Formatting. 2010-02-19 18:52 UTC+0100 Maurilio Longo (maurilio.longo@libero.it) * source/rtl/tthreadx.prg ! fixed ::active iVar to be .F. while thread is not running / has ended. 2010-02-18 19:52 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) + contrib/hbide/resources/next.png ! Missed from prev commit. 2010-02-18 18:05 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) + contrib/hbide/resources/closetab.png + contrib/hbide/resources/down.png + contrib/hbide/resources/minus.png + contrib/hbide/resources/previous.png + contrib/hbide/resources/up.png * contrib/hbide/resources/searchreplacepanel.ui * contrib/hbide/resources/searchreplacepanel.uic * contrib/hbide/hbide.prg * contrib/hbide/ideactions.prg * contrib/hbide/idefindreplace.prg + Implemented ( partial ) extended search/replace panel like Qt itself. This can be activated via <Edit><Find / Replace Ex> or Ctrl+Sh+F. The panel is anchored beneth editor area and above status-bar, or above any other dock-widget at the bottom area is open. It implements incremental search with visual color differentiation. Try typing in some text to find. Still other buttons are inactive. It may take a day to synchronize everything. This implementation adds another value to "Find/Replace". Ctrl+F implementation is there as is. You can take advantage of both. 2010-02-18 23:31 UTC+0100 Viktor Szakats * src/vm/extrap.c + Added MIPS32, MIPS64, IA64, SH CPU dump code. 2010-02-18 11:22 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/hbide.prg ! Missed from prev commit. 2010-02-18 19:58 UTC+0100 Viktor Szakats * external/jpeg/Makefile ! Added jpeg option to make it build with poccarm. 2010-02-18 18:57 UTC+0100 Viktor Szakats * src/vm/cmdarg.c ! Fixed formatting. ! Fixed to enclose newly added code in {} block, otherwise it breaks with C compiler. - Deleted OS/2 specific guard in code section which is not anymore active to OS/2. * examples/gtwvw/hbgtwvw.h ! Fixed to not override manually WINVER. ! Fixed to not set _WIN32_WINNT. 2010-02-18 18:45 UTC+0100 Maurilio Longo (maurilio.longo@libero.it) * src/vm/cmdarg.c ! fixed OS/2 was displaying the path of the first .exe with name equal to current process calling hb_DirBase() present in PATH, in my case it was founding D:\tcpip\bin\ftpd.exe instead of current ftpd.exe because C:\tcpip\bin was present in PATH before current dir. * src/rtl/hbsocket.c * OS/2 when building against latest TCP/IP stack has HB_HAS_INET_ATON, HB_HAS_INET_PTON and HB_HAS_INET_NTOP 2010-02-18 16:59 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg * config/wce/mingwarm.mk * config/wce/poccarm.mk ! Fixes to previous change after testing: - '-D_WINCE' is required by pocc headers, so I've readded it there. - '-DARM' is already defined by mingwarm, so it's not needed. 2010-02-18 16:46 UTC+0100 Viktor Szakats * include/hbsetup.h * Cleaned the way WinCE is detected. Now looking for UNDER_CE or _WIN32_WCE constants. (was: _WINCE) * utils/hbmk2/hbmk2.prg * Cleaned the way constants are initialized for WinCE platform. It also means they are now synced with GNU Make build system. This means: UNICODE, _WIN32_WCE (to 0x501), UNDER_CE are always defined. Secondary CPU macros are defined as needed. Removed all the other WinCE related constants. + Defining UNDER_CE and _WIN32_WCE for resource compiler for WinCE targets. * config/wce/global.mk * config/wce/mingwarm.mk * config/wce/poccarm.mk * config/wce/msvcarm.mk * Cleaned the way constants are initialized for WinCE platform. - '-D_WIN32_WCE=0x501 -DUNDER_CE' moved to global, so now these will be equally defined for all WinCE compilers. - Deleted these from msvcarm targets ('-D_WINCE' was apparently used by our own hbsetup.h detection code only): '-D_WINCE -DCE_ARCH -DWINCE -D_WINDOWS -D_UNICODE -D_UWIN' - Deleted this from from poccarm targets: '-D_WINCE' - Deleted several secondary CPU constants for msvc* targets: '-D_ARM_ -DARMV4 -D_ARMV4I_ -Darmv4i -D__arm__' '-D_SHX_' '-D_MIPS_ -DMIPS_HAS_FPU' These are not necessarily true, and not even necessary. I you know otherwise, speak up. - Kept primary CPU constants: '-D_M_*' - Kept secondary CPU constants (needed by some inconsistent Windows header files): '-DARM', '-DSHx', '-DMIPS', '-D_X86_' * config/win/global.mk * Cleaned to use 'HB_BUILD_UNICODE' setting to enable UNICODE for non-x86 targets. * config/win/msvc.mk ! Fixed to respect 'HB_BUILD_UNICODE' user-setting when enabling UNICODE for newer MSVC targets. IOW it's now possible to turn off UNICODE for newer MSVC targets. ; Above should ensure more consistency for different WinCE compilers. Closer behavior and more consistent build logs, with less unnecessary options. 2010-02-18 05:58 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) + contrib/hbide/resources/searchreplacepanel.ui + contrib/hbide/resources/searchreplacepanel.uic * contrib/hbide/ideactions.prg * contrib/hbide/idedocks.prg * contrib/hbide/ideeditor.prg * contrib/hbide/idefindreplace.prg * contrib/hbide/ideobject.prg * contrib/hbide/idestylesheets.prg + Prepared to use panel instead of "Replace/Find" dialog. ! Vaiables name uniformity for docking widgets. ! Simplification and centralization of creation of "Docking" widgets. % Fixed to not crash when "Find in Files" was not called before exit. ; Press CTRL+F and see a panel appearing inbetween editor and statusbar. This widget has to be matured a little and will facilitate that search and replace action will never hide any part of the editing area. A final ( uptil now ) reform in user-interface. 2010-02-18 10:50 UTC+0100 Viktor Szakats * src/vm/extrap.c + Added OS/2 CPU dump (x86). 2010-02-18 10:29 UTC+0100 Viktor Szakats * src/vm/extrap.c + Added ARM CPU dump code. + Added placeholder for CE/MIPS/SH CPU dump code. + Added iTODO warnings for non-implemented code sections. + Tweaked and enabled module listing code for WinCE. ; FIXME: UNICODE conversion is missing from there. [DONE] ; TODO: Enable exception handler for WinCE. How? * contrib/hbwin/wapi_wingdi.c ! Typo in recent addition. * utils/hbmk2/hbmk2.prg * config/wce/msvcarm.mk * Raised warning level for old msvcarm targets to -W3 (from -W2) 2010-02-17 18:13 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) + contrib/hbide/resources/blockcomment.png + contrib/hbide/resources/environments.ui + contrib/hbide/resources/environments.uic + contrib/hbide/resources/findinfilesex.ui + contrib/hbide/resources/findinfilesex.uic + contrib/hbide/resources/projectpropertiesex.ui + contrib/hbide/resources/projectpropertiesex.uic + contrib/hbide/resources/streamcomment.png + contrib/hbide/resources/themesex.ui + contrib/hbide/resources/themesex.uic * contrib/hbqt/THbQtUI.prg * contrib/hbide/hbide.prg * contrib/hbide/ideactions.prg * contrib/hbide/idedocks.prg * contrib/hbide/idefindreplace.prg * contrib/hbide/ideobject.prg * contrib/hbide/ideprojmanager.prg * contrib/hbide/idestylesheets.prg * contrib/hbide/idethemes.prg + This commit implements all other windows ( except Find/Replace ) opened as a docked-window of the main-frame. This facilitates a greater control over the various actions together. This is a major change in the interface, please update your notes. Find/Replace window is scheduled to be contained in separate panel at the bottom of the editor area, right on top of the "Output Console", as is implemented in Qt Creator itself. Please express your opinions. The above should have been the way since begining, but you know, programming skills are polished with time. 2010-02-18 00:01 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/harbour.spec ! fixed to work with modified library name hbbmcdx -> rddbmcdx * harbour/contrib/hbwin/legacycd.c ! fixed casting for C++ builds 2010-02-17 20:11 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbdefs.h * use '__int64' instead of 'long long' only in non GCC MS-Windows builds * harbour/tests/bldtest/bldtest.c * use '__int64' instead of 'long long' only in non GCC MS-Windows builds * formatting 2010-02-17 18:02 UTC+0100 Viktor Szakats * include/hbdyn.ch * src/rtl/hbdyn.c + Added support for misc 'options'. Both for return values and parameters. + Added HB_DYN_OPT_NULLTERM option which will cause that buffers passed by reference will return null terminated string (thus cutting the rest of the buffer). % Implemented macros sent to the list by Przemek. This made the source significantly smaller (one quarter of original size) and much easier to manage/modify. Thanks! * tests/testdyn.prg + Added test for zero terminated strings. ! Fixed to set UTF16 mode for Windows "WIDE" call. * contrib/xpp/dllx.c % Minor optimization. 2010-02-17 07:28 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) + contrib/hbide/resources/blockindentl.png + contrib/hbide/resources/blockindentr.png + contrib/hbide/resources/copy-filname.png + contrib/hbide/resources/deleteline.png + contrib/hbide/resources/duplicateline.png + contrib/hbide/resources/insert-separator.png + contrib/hbide/resources/movelinedown.png + contrib/hbide/resources/movelineup.png + contrib/hbide/resources/spacestotabs.png + contrib/hbide/resources/tabstospaces.png + Icons to represent vrious actions, mainly in editor, provided by Vailton, thank you. * contrib/hbide/ideactions.prg * contrib/hbide/idedocks.prg ! Changing the icon names only. * contrib/hbqt/hbqt_hbslots.cpp * contrib/hbqt/hbqt_hbslots.h ! Included more slots provided by Bacco, thank you. Bacco also applied formating to suit longer function names. 2010-02-17 13:19 UTC+0100 Viktor Szakats * contrib/hbwin/wapi_wingdi.c + WAPI_TEXTOUT(): Emulating functionality on WinCE platform, so it's now available also on WinCE. * contrib/hbwin/win_prn1.c * Formatting. 2010-02-17 13:13 UTC+0100 Viktor Szakats * contrib/hbwin/wapi_wingdi.c ! Typo in recent commit. 2010-02-17 11:51 UTC+0100 Viktor Szakats * src/rtl/hbdyn.c ! Adjustments for non-win, non-os2 platforms. 2010-02-17 11:47 UTC+0100 Viktor Szakats * tests/bldtest/bldtest.c ! Fixed to build on bcc. * contrib/hbwin/legacycd.c ! Fixed typo (reported as bcc warning). 2010-02-17 11:39 UTC+0100 Viktor Szakats * src/common/hbwince.c * include/hbwince.h ! Added abort() declaration and implementation for poccarm and old msvcarm targets. * contrib/hbwin/win_bmp.c + Enabled for WinCE: WIN_BITMAPDIMENSIONS() * contrib/hbwin/win_bmpd.c + All functions enabled for WinCE. * contrib/hbwin/win_prn1.c + WIN_TEXTOUT() changed to always use ExtTextOut() internally, so that it work on WinCE. (it's also faster) + WIN_CREATEFONT() changed to use CreateFontIndirect() which also works for WinCE. * contrib/hbwin/wapi_wingdi.c + Added WAPI_CREATEFONTINDIRECT(), which always works on both Windows and WinCE. * contrib/hbwin/win_prn1.c * contrib/hbwin/win_prn2.c * contrib/hbwin/win_prn3.c * contrib/hbwin/wapi_wingdi.c + All functions enabled for WinCE. The ones not available on WinCE, will return permanent error. * contrib/hbwin/legacycd.c ! Added missing WinCE header after previous commit. 2010-02-17 09:35 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/common/expropt1.c * harbour/contrib/xhb/freadlin.c ! fixed typos in HB_TRACE() debug messages 2010-02-16 18:31 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) + contrib/hbide/resources/cutb16.png + contrib/hbide/resources/dbl2sglquote.png + contrib/hbide/resources/decreaseindent.png + contrib/hbide/resources/down16.png + contrib/hbide/resources/increaseindent.png + contrib/hbide/resources/sgl2dblquote.png + contrib/hbide/resources/up16.png * contrib/hbide/idedocks.prg + Implemented left-side toolbar containing available panels distinguished by suble color change. Click on one will bring forward the relevant tabs-panel. Tooltip describes which panel it is. + Implemented left-side another toolbar underneath above one giving access to line and block actions. ;NOTE: Please test and forward suggessions. ;REQUEST: Can someone provide relevant .png's to these actions ? I am really poor in drafting something meaningful. 2010-02-17 03:23 UTC+0100 Viktor Szakats * contrib/hbwin/legacycd.c ! Fixed GETPROCADDRESS() for WinCE after recent changes. % Re-merged GETPROCADDRESS() with low-level worker function. 2010-02-17 03:06 UTC+0100 Viktor Szakats * src/rtl/fstemp.c ! Using hb_fsTempDir() in HB_FTEMPCREATEEX() instead of old solution. This should fix it for some non-*nix platforms where *nix specific TEMPDIR envvar was used to determine temp directory. * contrib/hbwin/Makefile * include/Makefile * src/rtl/Makefile - contrib/hbwin/hbdyn.ch + include/hbdyn.ch - contrib/hbwin/hbdyn.c + src/rtl/hbdyn.c - contrib/hbwin/win_dllc.c + src/rtl/hbdynhb.c - contrib/hbwin/tests/testdll.c + tests/testdyn.c - contrib/hbwin/tests/testdll.prg + tests/testdyn.prg - contrib/hbwin/tests/testdll1.prg + tests/testdyn1.prg - contrib/hbwin/hbdyn.h * include/hbapi.h * Moved dynamic library call related functions to core (RTL). * Windows specific test code (currently all) guarded for platform. * Changed default calling convention to cdecl. Tests adaptd accordingly. * Terminology change: 'dll' -> 'dynamic library' ; HB_DYNCALL() is now part of core Harbour, and it's platform independent. It's platform (ABI) dependent though, and currently x64 and x86/stdcall/syscall/cdecl is supported and these were tested (except OS/2 syscall). * contrib/hbwin/hbwin.h * contrib/hbwin/win_misc.c * contrib/hbwin/legacycd.c * Low-level hbwin_getprocaddress() function moved to legacy file and made static. * contrib/xpp/Makefile * contrib/xpp/dllx.c * contrib/xpp/xpp.hbc + Enabled DLL*() functions for all platforms. - Deleted dependence on hbwin library. * contrib/xpp/tests/testdll.prg * Windows specific parts (currently the whole test) guarded for platform. * contrib/hbct/Makefile - contrib/hbct/diskhb.prg * contrib/hbct/disk.c * contrib/xhb/Makefile + contrib/xhb/diskhb.prg * GETVOLINFO() moved from hbct to xhb. * ChangeLog * Marked some TODO/FIXME items as DONE. 2010-02-17 01:42 UTC+0100 Viktor Szakats * contrib/hbmysql/mysql.c ! Typo. 2010-02-17 01:23 UTC+0100 Viktor Szakats * contrib/xpp/dllx.c * contrib/hbwin/hbdyn.c * contrib/hbwin/hbdyn.ch + Implemented 'syscall' calling convention for OS/2. % hb_dynCall() now won't include English text is error message, but use EG_LIMIT to signal too many parameters. * contrib/hbmysql/mysql.c + Implemented MYSQL_INSERT_ID(). * long -> HB_SIZE % Minor cleanup. 2010-02-17 00:55 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/hbsocket.c * added iTODO warning to OpenWatcom Linux builds * harbour/src/debug/dbgtmenu.prg ! fixed code used for debugger menu to be MT safe 2010-02-16 23:36 UTC+0100 Viktor Szakats * src/rtl/gtwvt/gtwvt.c * contrib/gtwvg/gtwvg.c ! Fixed missing Windows constant on some compilers (older mingw I suppose), after deleting _WIN32_WINNT override. * contrib/xpp/Makefile + contrib/xpp/dll.ch + Added Xbase++ compatibility header. * contrib/xpp/dllx.c + Described Xbase++ differences. (major ones) ! Changed DLLLOAD()/DLLUNLOAD() to use core loader functions, instead of win-specific ones. + Made calling convention value Xbase++ compatible. * contrib/hbwin/hbdyn.ch + Added Pascal calling convention. Not yet implemented. 2010-02-16 21:04 UTC+0100 Viktor Szakats * contrib/xpp/Makefile - contrib/xpp/win_dllx.c + contrib/xpp/dllx.c * contrib/xpp/tests/testdll.prg + Adapted Xbase++ compatible DLL*() functions to use core dynamic lib handling functions. * Renamed source file, now that it's not Windows specific. + Updated tests. ; NOTE: Please review this code. It's the first time I used GC references in code, and it may be wrong. ; TODO: Remove hbwin dependence after having moved hb_dynCall() from hbwin to core. [DONE] + contrib/xpp/tests/hbmk.hbm + Added missing file from prev commit. * contrib/hbwin/tests/testdll.prg * Updated for latest HB_DYNCALL() changes. * ChangeLog ! Updated WIN_DLLCALL() -> HB_DYNCALL() change. This is the full list of lost features (all due to non-portability): - Specifiying function by (numeric) ordinal. - Passing function pointer directly. - Automatic lookup for function names with 'A' and 'W' ending. - Automatic UNICODE encoding for functions ending with 'W'. 2010-02-16 19:50 UTC+0100 Viktor Szakats * src/rtl/gtwvt/gtwvt.c * contrib/gtwvg/gtwvg.c * Replaced _WIN32_WINNT redefinition with #definition of WS_EX_LAYERED constant, in case it's not defined by Windows headers. * contrib/hbwin/wapi_wingdi_font.c + Accessing the W2K specific functions dynamically. + Defining the high-level functions also in WinCE, returning permanent error. ! Deleted _WIN32_WINNT redefinition. ; Someone pls test these using older compiler/SDK version. 2010-02-16 09:21 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/hbide.prg * contrib/hbide/ideactions.prg * contrib/hbide/idedocks.prg * contrib/hbide/idefindreplace.prg * contrib/hbide/ideobject.prg * contrib/hbide/ideprojmanager.prg * contrib/hbide/idestylesheets.prg + Started left-hand toolbar(s) to present visual interactions for a number of hidden actions. A work-in-progress. * contrib/hbqt/THbQtUI.prg ! Fixed object destruction sequence per latest changes in HbQtUI() class. 2010-02-16 16:29 UTC+0100 Viktor Szakats * contrib/hbwin/wce_smsc.c ! Fixed to skip content for msvc 2003 in C mode. * config/globsh.mk + Now also deleting .pch (MSVC precompiled header) files on clean, in case someone enables them. ; NOTE: I turned out all my tests using "msvc 2003" compiler was in fact a 12.20.9615 (_MSV_VER=1201, clarm.exe) version compiler, which equals to VC++ 6.0. Just for the record, since I can't oversee what WinCE compilers were released between this and MSVC2005 (8.0/1400), so until then I have to assume that everything below 8.0 are "old" msvcarm versions (7.1/1310 or lower). 2010-02-16 15:06 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fix to add 'lib' prefix for gcc compiler when using -implib option. + Added comment detailing prev change. * config/wce/msvcarm.mk * config/win/msvc.mk - Deleted -YX option. We don't want to force precompiled headers by default on older MSVC versions. 2010-02-16 11:13 UTC+0100 Viktor Szakats * include/hbthread.h * src/vm/fm.c ! Tweaks to allow msvcarm 2003 build. * src/vm/maindllp/dllpcode.c * src/vm/maindllh.c ! Deleted (AFAIK unnecessary) HB_EXPORT to make msvcarm 2003 happy. * src/common/hbgete.c * src/rtl/net.c ! Fixed missing #include hbwince.h. * external/sqlite3/Makefile - Disabled for msvcarm 2003. * contrib/gtalleg/Makefile - Disabled for msvcarm. * contrib/hbodbc/Makefile * contrib/rddsql/sddodbc/Makefile ! Do not force sql.h header for msvcarm 2003. * contrib/rddbmcdx/hbbmcdx.h ! Fixed HB_EXTERN placement to make msvcarm 2003 happy. * contrib/hbct/ctnet.c * contrib/xhb/hbsyslog.c * contrib/xhb/hbserv.c * contrib/hbtpathy/tpwin.c * contrib/hbnf/getenvrn.c * contrib/hbwin/wapi_winuser.c * contrib/hbwin/olecore.c * contrib/hbwin/win_dlg.c ! Fixed to make them compile on msvcarm 2003. * config/wce/msvcarm.mk * utils/hbmk2/hbmk2.prg ! Fixed warning option for msvcarm 2003. * utils/hbmk2/hbmk2.prg ! Fixed type causing RTE with msvcarm targets. ; NOTE: hbcurl doesn't build with msvcarm 2003, so either don't enable it, or experiment with HB_USER_CFLAGS=-U_WIN32_WCE hack. The problem lies somewhere in libcurl headers, not Harbour code. 2010-02-16 09:42 UTC+0100 Viktor Szakats * contrib/hbwin/win_dllc.c * contrib/hbwin/tests/testdll.prg * Replaced WIN_DLLCALL() with portable (non Windows-specific) HB_DYNCALL(), which uses Harbour core function to handle dynamic libs. This also means there is two former feature lost: - Specifiying function by (numeric) ordinal. - Passing function pointer directly. - Automatic lookup for function names with 'A' and 'W' ending. - Automatic UNICODE encoding for functions ending with 'W'. ; TODO: Make the default calling convention cdecl? [DONE] ; TODO: Move 'hbdyn' subsystem to core after review. [DONE - no review yet though] ; HB_DYNCALL() should be called as follows: HB_DYNCALL( <pFunction> | <aFunction>, ... ) -> <xResult> where <aFunction> can be: { <cFunction>, <cLibrary> | <pLibrary> [, <nFuncFlags> [, <nArgFlags1>, ..., <nArgFlagsn> ]] } where <nFuncFlags> can be: hb_bitOr( HB_DYN_CTYPE_*, HB_DYN_ENC_*, HB_DYN_CALLCONV_* ) <nArgFlags*> can be: hb_bitOr( HB_DYN_CTYPE_*, HB_DYN_ENC_* ) * contrib/hbwin/win_dllf.prg * Renamed WIN_DLLCALLFOXPRO() to HB_DYNCALLFOXPRO(). 2010-02-15 19:22 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/ideprojmanager.prg + Project Management: first steps to integrate with .hbp engine. % 'Project Location' made sensitive to valid/invalid path with different background color. 2010-02-15 23:48 UTC+0100 Viktor Szakats * contrib/hbmysql/hbmysql.hbc * contrib/hbpgsql/hbpgsql.hbc * contrib/rddsql/sddmy/sddmy.hbc * contrib/rddsql/sddpg/sddpg.hbc * Adjusted 3rd party lib names to work out-of-the-box on *nix platforms. 2010-02-15 15:12 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbfbird/firebird.c ! use native type for GC pointer item holder instead of casting to 'void *'. Such casting may strip significant data when handler is wider type then pointer. * harbour/contrib/hbnf/fttext.c ! fixed unnecessary casting 2010-02-15 12:33 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/vm/hvm.c * minor cleanup * harbour/src/vm/dynlibhb.c ! added missing #include "hbwince.h" 2010-02-15 12:09 UTC+0100 Viktor Szakats * INSTALL * Changed to use win-make/dos-make in examples. * contrib/hbwin/win_tbmp.prg - Deleted XBPBITMAP class mapped to WIN_BMP. This should be the job of HBXBP. * contrib/xpp/xpp.hbc + contrib/xpp/tests + contrib/xpp/tests/testdll.prg * contrib/xpp/Makefile + contrib/xpp/win_dllx.c * contrib/hbwin/Makefile - contrib/hbwin/win_dllx.c * contrib/hbwin/tests/testdll.prg + Moved Xbase++ compatible DLL functions to xpp lib. * INCOMPATIBLE change. If you use these functions (DLL*()) add xpp lib to your lib list. ; Finally we don't have any HB_COMPAT_* dependent parts in hbwin. * contrib/hbwin/hbwin.ch * Changed to use full (0xFF) color components for RGB presets. * contrib/gtwvg/Makefile * Deleted trailing spaces. 2010-02-15 10:05 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbvm.h * harbour/src/vm/hvm.c + added new C function hb_vmFindFuncSym() which looks for function with given name registered in HVM by dynamically loaded library. It looks for public function and if public function cannot be located it tries to find first static function which has requested name. * harbour/include/hbapi.h * harbour/src/vm/dynlibhb.c + added new C functions to manage dynamic libraries: PHB_ITEM hb_libLoad( PHB_ITEM pLibName, PHB_ITEM pArgs ); HB_BOOL hb_libFree( PHB_ITEM pDynLib ); void * hb_libHandle( PHB_ITEM pDynLib ); void * hb_libSymAddr( PHB_ITEM pDynLib, const char * pszSymbol ); * harbour/include/hbextern.ch * harbour/src/vm/dynlibhb.c - removed HB_LIBDO() PRG function. If someone used it then please use DO() instead + added new PRG function: HB_LIBGETFUNSYM( <pLibHandle>, <cFuncName> ) -> <sFuncSym> | NIL It works in similar way to HB_HRBGETFUNSYM() but it looks for PRG function in given library. It tries to find public function and if such function does not exists it looks for first static one. <pLibHandle> is library handle returned by HB_LIBLOAD() <cFuncName> is PRG function name. <sFuncSym> is symbol of located function If function can be found HB_LIBGETFUNSYM() returns NIL. Warning: this function returns only symbols for functions registered in HVM when library was loaded. It will not return symbols for functions written in C and not explicitly registered using own symbol table. 2010-02-14 17:34 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/gtwvg/wvgscrlb.prg ! Defined method :configure() as VIRTUAL. * contrib/hbqt/qth/HBQPlainTextEdit.qth * contrib/hbqt/hbqt_hbqplaintextedit.cpp * contrib/hbqt/hbqt_hbqplaintextedit.h * contrib/hbqt/qtgui/HBQPlainTextEdit.cpp * contrib/hbqt/qtgui/THBQPlainTextEdit.prg + Added class variable :block which can be set with qEdit:hbSetEventBlock( bBlock ). I did not set it via the constructor as it is implementation specific. The goal was to capture mouse or other events which are consumed by parent class itself and are not forwarded to the widget. At present it is used to inform double-click event to qEdit and is scheduled to be extended. * contrib/hbqt/hbqt_misc.prg + Added method :from(), synonymous to :configure() to avoid grasping confusion. Now both syntaxes are supported: qCursor := QTextCursor():configure( qEdit:textCursor() ) qCursor := QTextCursor():from( qEdit:textCursor() ) * contrib/hbide/ideactions.prg * contrib/hbide/idedocks.prg * contrib/hbide/ideeditor.prg * contrib/hbide/idefindreplace.prg * contrib/hbide/idemisc.prg * contrib/hbide/ideprojmanager.prg + Project Management: enabled "Launch Parameters" which are supplied to the executable if "Launch..." is selected with build or otherwise. : suppressed auto expansion of "Current Project" at startup. Was a constant cause of annoyance if the project tree been fairly large. + Docking Windows: reworked to occupy proper corners. Please delete idesettings.ini. ! Find_Replace Dialog: set to find from begining if "Find What" is changed. ! Code Skeletons: fixed to not append blank lines while called. : selection menu appears at the current cursor coordinates. + Editor: double-click on some word place the selection in copy buffer in case that word is selected. This feature I always wished-for in xMate. + Editor: highly .prg code suited indentation engine. It comprise so many factors to explain. Please test. I feel you will be really happy. Also let me know what else can be implemented. Code is now under my grasp and probably more ideas are already building up. 2010-02-14 21:59 UTC+0100 Viktor Szakats * contrib/hbwin/tests/testdll1.prg + Displaying success/failure. * contrib/hbwin/win_dllf.prg % Using hashes. 2010-02-14 15:32 UTC+0100 Viktor Szakats * contrib/hbwin/hbdyn.c % Minor cleanup. * contrib/hbwin/win_dllf.prg ! Fixed to be case-insentitive for keywords. 2010-02-14 15:17 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbwince.h * redirect GetProcAddress() to GetProcAddressA() in WinCE builds. ASCII version of GetProcAddress() is supported by WinCE 3.0 and later versions. * harbour/include/hbdefs.h - removed HBTEXT() macro * harbour/src/common/hbver.c * harbour/src/rtl/diskspac.c * harbour/src/rtl/disksphb.c * harbour/src/rtl/gtwvt/gtwvt.c * harbour/src/vm/extrap.c * harbour/src/vm/maindllp/dllpcode.c * harbour/contrib/gtwvg/gtwvg.c * harbour/contrib/gtwvg/gtwvg.h * harbour/contrib/gtwvg/wvgwin.c * harbour/contrib/hbwin/wapi_winbase.c * harbour/contrib/hbwin/axcore.c * harbour/contrib/hbwin/mapi.c * harbour/contrib/hbwin/win_prn2.c * harbour/contrib/hbwin/win_prn3.c * harbour/contrib/hbwin/wapi_shellapi.c * eliminated HBTEXT() macro * harbour/src/rtl/diskspac.c * harbour/src/rtl/disksphb.c * harbour/contrib/hbwin/wapi_winbase.c % optimized GetProcAddress() calls to store function addresses in static variables 2010-02-14 15:10 UTC+0100 Viktor Szakats * contrib/hbwin/hbdyn.c ! Fixed handling of HB_DYN_ENC_RAW and HB_DYN_CTYPE_CHAR_UNSIGNED buffer handling. * contrib/hbwin/tests/testdll1.prg + Added new test. ! Minor cleanup to prev tests. * contrib/hbwin/Makefile + contrib/hbwin/win_dllf.prg + Added WIN_DLLCALLFOXPRO( <cDeclareCommand>[, <parameters...> ] ) -> <xResult> where <cDeclareCommand> is a valid Visual FoxPro declare command: "DECLARE [cFunctionType] FunctionName IN LibraryName [AS AliasName] [cParamType1 [@] ParamName1, cParamType2 [@] ParamName2, ...]" See more here: https://msdn.microsoft.com/library/ydcf39aa * contrib/hbwin/Makefile - contrib/hbwin/win_dll.c + contrib/hbwin/win_dllc.c * Renamed. 2010-02-14 13:57 UTC+0100 Viktor Szakats * src/rtl/achoice.prg ! Fixed/added cursor positioning to resemble to Clipper. * tests/ac_test.prg + Shows row/col when entering callback function. * contrib/hbfimage/fi_winfu.c * contrib/hbfimage/fi_wrp.c * Formatting. * contrib/hbwin/hbdyn.c - Deleted recently added, but finally unused union member. 2010-02-14 13:34 UTC+0100 Viktor Szakats * ChangeLog + Added more description to WIN_DLLCALL() function usage. * contrib/hbwin/hbdyn.c + Type conversion fixes after actual testing. Now everything should work except float parameter passing on x64 and passing/receiving unsigned longlongs to/from .dlls on both x64/x86. I couldn't found how to interact properly with HVM in this case. Please review remaining FIXMEs. + contrib/hbwin/tests/testdll1.prg + contrib/hbwin/tests/testdll.c + Added code to test parameter passing. * contrib/hbwin/legacycd.c * contrib/hbwin/win_dll.c + Forcing stdcall calling convention. (it's the default yet, but this may change to cdecl). * contrib/hbwin/win_dll.c * bUNICODE -> bWIDE. * contrib/hbwin/hbdyn.ch + Added comment. * include/hbdefs.h * Typo in comment. * contrib/hbwin/Makefile ! Added missing hbdyn.h. * utils/hbmk2/hbmk2.prg ! Fixed to never add double backslash to output dir. 2010-02-13 23:15 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbwin/wapi_winbase.c ! fixed WAPI_GETPROCADDRESS() to work in WinCE builds (missing in previous ChangeLog entry) * harbour/contrib/hbwin/wapi_winbase.c ! cleaned library handle usage in WAPI_GETLONGPATHNAME() * harbour/contrib/hbwin/wapi_winbase.c * harbour/contrib/hbwin/wapi_winbase_mutex.c * added small description for few functions excluded by HB_OS_WIN_CE macro. 2010-02-13 22:41 UTC+0100 Viktor Szakats * contrib/hbwin/hbdyn.c ! Fixed to honor length when returning HB_DYN_CTYPE_CHAR_UNSIGNED_PTR by reference. 2010-02-13 20:52 UTC+0100 Viktor Szakats * contrib/hbwin/hbdyn.h * contrib/hbwin/hbdyn.ch * Cleanup in comments. 2010-02-13 20:20 UTC+0100 Viktor Szakats * contrib/hbwin/Makefile + contrib/hbwin/hbdyn.h + contrib/hbwin/hbdyn.ch + contrib/hbwin/hbdyn.c * contrib/hbwin/hbwin.h * contrib/hbwin/hbwin.ch * contrib/hbwin/win_misc.c * contrib/hbwin/win_dll.c * contrib/hbwin/win_dllx.c * contrib/hbwin/legacycd.c * contrib/hbwin/tests/testdll.prg + Separated OS-independendent dynamic call support from Windows-specific parts. * Changed names to reflect that. 2010-02-13 20:20 UTC+0100 Viktor Szakats * contrib/hbwin/win_dll.c % Final planned step to remove a remaining redundancy. % Minor optimization. 2010-02-13 20:06 UTC+0100 Viktor Szakats * contrib/hbwin/win_dll.c * Changed names to be OS neutral. ; Low-level dynamic lib call support should now work on all x86 and x64 platforms, possibly also on ARM (and maybe even more). In this sense, it should not be placed in hbwin lib. 2010-02-13 18:28 UTC+0100 Viktor Szakats * contrib/hbwin/hbwin.h * contrib/hbwin/hbwin.ch * contrib/hbwin/win_dllx.c * contrib/hbwin/win_dll.c * contrib/hbwin/legacycd.c * contrib/hbwin/tests/testdll.prg + Reworked WIN_DLLCALL() and low-level hbwin_dllCall() interfaces. * WIN_DLLCALL() should be called as follows: WIN_DLLCALL( <pFunction> | <aFunction>, ... ) -> <xResult> where <aFunction> can be: { <cFunction> | <nFunction>, <cLibrary> | <pLibrary> [, <nFuncFlags> [, <nArgFlags1>, ..., <nArgFlagsn> ]] } { <pFunction> [, <nFuncFlags> [, <nArgFlags1>, ..., <nArgFlagsn> ]] } where <nFuncFlags> can be: hb_bitOr( HB_DYN_CTYPE_*, HB_DYN_ENC_*, HB_DYN_CALLCONV_* ) <nArgFlags*> can be: hb_bitOr( HB_DYN_CTYPE_*, HB_DYN_ENC_* ) constants declared in hbdyn.ch. With above API it's possible to access all low-level options and merge all possible call types in one call. If passing function ordinal or name, it will also autodetect UNICODE mode. Autodetection turns on UNICODE mode for WinCE permanently and for functions ending with 'W'. * Call convention, C type and unicode flags are now merged into one callflag value. * Unicode flag extended to RAW, ASCII, UTF8, UTF16. + Added support for UTF-8 and forced raw encoding for char pointer types. * GETPROCADDRESS() finally moved to legacy source. * contrib/hbsms/hbsms.prg ! Fixed SMS_SEND() to return numeric value when port couldn't be opened. 2010-02-13 15:57 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/ChangeLog ! fixed typo * harbour/contrib/hbwin/wapi_winbase.c ! fixed WAPI_GETLONGPATHNAME() to compile and work with older header files and windows versions. When GetLongPathName() is not available then this function is redirected to GetShortPathName() 2010-02-13 13:51 UTC+0100 Viktor Szakats * contrib/hbwin/win_dll.c % Further simplification of internal structures. + Added provisions to control UNICODE conversion on a per argument basis. 2010-02-13 13:36 UTC+0100 Viktor Szakats * contrib/hbwin/win_dll.c % Optimization to parameter type storage. 2010-02-13 13:10 UTC+0100 Viktor Szakats * contrib/hbwin/win_dll.c ! Fixed to unshare all HVM strings before passing them to callee. * contrib/hbwin/tests/testdll.prg ! Deleted two commented test call, which corrupted memory anyway due to too small buffer passed to low-level function. 2010-02-13 03:43 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/hbqt_hbqplaintextedit.cpp * contrib/hbqt/hbqt_hbqplaintextedit.h * contrib/hbqt/qtgui/HBQPlainTextEdit.cpp * contrib/hbqt/qtgui/THBQPlainTextEdit.prg * contrib/hbqt/qth/HBQPlainTextEdit.qth * contrib/hbide/resources/skeletons.ui * contrib/hbide/resources/skeletons.uic * contrib/hbide/hbide.prg * contrib/hbide/ideactions.prg * contrib/hbide/idedocks.prg * contrib/hbide/ideeditor.prg * contrib/hbide/ideobject.prg * contrib/hbide/idesaveload.prg + Implemented "Invert Case" feature. % All operations applied on selected text do not remove selections. However "undo/redo" does not respect selections. + Added <Docks> main-menu option which presents toggling feature for all implemented docked windows. It facilitates clubbing all toggle actions at one convenient place. + Implemented "Code Skeletons". How to write ============ * Click <Docks> main-menu option and select <Code Skeletons>. * "Code Skeletons" window will open at the right-docking area. * Close other docks if open to make room for its components. * Click <Add New> button, a dialog will appear requesting a "Name". * Enter recognizable name for this skeleton, i.e., "DO CASE 3", where "3" will represent that this case statement contains 3 iterations of CASE statement. It is just an example, follow your way of recognitions. * After you click <ok> the name will appear in "Identity" list-box. * Start writing in "Code Snippet" editor, like: DO CASE CASE x == CASE x == CASE x == ENDCASE * After you are done with it, click <Update>. * Repeat the process for some other skeletons. * Do not forget to click <Update> even after slightest modification. This will ensure that your skeleton is always in order. * If you wish to change the name, click on that "Name" in "Identity" list-box and click <Rename>, follow next process. Click <Update> to save permanently. * <Delete> is not working yet. * Navigate the skeletons by clicking on the prompts; you will find the attached code in the editor below. How to Call =========== * While in the editor tab, position your editing cursor at desired column. * Press Ctrl+K, a context menu will appear near left-upper part of the editing tab containing all skeletons you wrote. * Use arrow-up/down keys to desired skeleton and press <Enter>. * The code skeleton will be inserted in the source aligned to the column you started with. The cursor will be anchored on the same place. * Alternativly you can use mouse, but keyboard navigation is simple in this context. * Note that alignment and indent of inserted code skeleton is perfect to starting column. Note: Your suggessions are welcome to enhance this feature. 2010-02-13 12:36 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/vm/strapi.c ! fixed hb_[w]strunshare() functions to always clone writable buffers shared by two or more different objects or items. 2010-02-13 11:42 UTC+0100 Viktor Szakats * contrib/hbwin/wapi_winbase.c + Added WAPI_GETLONGPATHNAME() (same code as the short version) 2010-02-13 11:29 UTC+0100 Viktor Szakats * contrib/hbwin/win_dll.c % Optimization steps. * Syncing between win64/win32 sections. * contrib/hbwin/tests/testdll.prg + Added new tests, but they GPF due to corrupted internals, so they are commented for now. 2010-02-12 18:41 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/generator/qt45.qtp * contrib/hbqt/hbqt.h * contrib/hbqt/hbqt_garbage.h * contrib/hbqt/hbqt_hbslots.cpp * contrib/hbqt/qtgui/filelist.mk + contrib/hbqt/qtgui/QPlainTextDocumentLayout.cpp + contrib/hbqt/qtgui/TQPlainTextDocumentLayout.prg + contrib/hbqt/qth/QPlainTextDocumentLayout.qth + Added one more class. + contrib/hbide/resources/skeletons.ui + contrib/hbide/resources/skeletons.uic + Added widget definition to hold user input for "code skeletons". * contrib/hbide/hbide.prg * contrib/hbide/ideactions.prg * contrib/hbide/idedocks.prg * contrib/hbide/ideeditor.prg * contrib/hbide/ideobject.prg * contrib/hbide/idesaveload.prg * contrib/hbide/idesources.prg * contrib/hbide/idethemes.prg + Prepared to fetch "Code Skeletons" from the user which will be made available to be inserted into the source being edited. To have a preview as to what will go inside the implementation, click on "{}" icon on the toolbar. ! Fixed not to load whole document and highlight when hbIDE is terminated. This reduces termination time to bare minimum. + Implemented "Convert Single Quotes to Double" and its reverse, accessible from <Edit><Block...> main-menu options. First select the part of the source you want to apply these options, then click on relevant menu option. A toolbar implementation will be better which I am looking into how it can be presented in an aesthetic way. ! Fixed many more artifacts. ; NOTE: Regression is possible, please report issues, if any. 2010-02-13 02:38 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbwin/hbwin.ch + added WIN_OFN_* constants * harbour/contrib/hbwin/win_dlg.c + added WIN_GETOPENFILENAME( [[@]<nFlags>], [<cTitle>], ; [<cInitDir>], [<cDefExt>], ; [<acFilter>], [[@]<nFilterIndex>], ; [<nBufferSize>] ) -> <cFilePath> | <cPath> + e"\0" + <cFile1> [ + e"\0" + <cFileN> ] | "" + added WIN_GETSAVEFILENAME( [[@]<nFlags>], [<cTitle>], ; [<cInitDir>], [<cDefExt>], ; [<acFilter>], [[@]<nFilterIndex>], ; [<nBufferSize>] ) -> <cFilePath> | <cPath> + e"\0" + <cFile1> [ + e"\0" + <cFileN> ] | "" * harbour/contrib/hbwin/wapi_winbase.c * cleaned WAPI_GETSHORTNAME() function parameter to strictly respect the following parameters syntax. WAPI_GETSHORTPATHNAME( <cLongName> [, @<shortName> [, <nMaxSize> ] ] ) -> < nShortLenght> % eliminate double call to GetShortPathName() in WAPI_GETSHORTNAME() when all parameters are given or second one is not passed by reference % try to use static buffer to eliminate double call to GetShortPathName() when WAPI_GETSHORTNAME() is called without 3rd parameter 2010-02-12 21:01 UTC+0100 Viktor Szakats * include/hbdefs.h * HB_BYTE made a synonym for HB_UCHAR. HB_BYTE is only there for convenience, HB_UCHAR is recommended for unsigned byte streams. * HB_U8 now based on HB_UCHAR. ! Fixed UINT64/INT64 left defined in some cases. * contrib/hbwin/hbwin.h * contrib/hbwin/hbwin.ch * contrib/hbwin/tests/testdll.prg * contrib/hbwin/win_dll.c * contrib/hbwin/legacycd.c + Added LONGLONG C types. + Added support for user-specifiable parameter types. This works now in low-level C dll call function and also on high-level in HB_DLLCALL(). + Added support for LONGLONG/int64 integers. + Added support for raw strings. (no UNICODE or codepage conversion). ! Fixed typo in iRetTypeRaw assigment. + Added one new test for param type spec test. (pretty bare) ! Fixed WAPI_GETPROCADDRESS() to GETPROCADDRESS(). Latter has some extra features so we still need it. * GETPROCADDRESS() moved back to non-compatibility. ; Please review the code. There are some integer conversion which might not be proper (& 0xFFFF). * utils/hbmk2/hbmk2.prg ! Typo in recently added help text. * contrib/Makefile - contrib/hbbmcdx + contrib/rddbmcdx * contrib/rddbmcdx/bmdbfcdx.c * contrib/rddbmcdx/Makefile * Renamed hbbmcdx to rddbmcdx. * More cleanup to RDD code. (sync with rddcdx, deleted unnecessary lines) - Deleted "turbo" functionality. BM_TURBO() is now a dummy. AFAIR this isn't safe, and even if it is it should be implemented differently, not as a static variable. 2010-02-12 12:49 UTC+0100 Viktor Szakats * contrib/hbwin/Makefile * contrib/hbwin/win_dll.c + contrib/hbwin/win_dllx.c * contrib/hbwin/legacycd.c + Moved LOADLIBRARY(), FREELIBRARY() and GETPROCADDRESS() to legacy source. + Moved Xbase++ compatibel DLL interface to separate Xbase++ specific file. ; From now on the recommended native DLL interface for Harbour apps is: WAPI_LOADLIBRARY(), WAPI_GETPROCADDRESS(), WAPI_FREELIBRARY() and WIN_DLLCALL() ; TODO: Solve GC collected HMODULE in above WAPI LIB handling functions. [DONE] ; TODO: Clean HB_LIB*() vs. WAPI LIB handling confusion. [DONE] * contrib/hbwin/tests/testdll.prg * Changed to use WAPI_LOADLIBRARY()/WAPI_FREELIBRARY() ! Fixed one remaining CALLDLLTYPED() call. - Deleted no more valid comment about not-working libcurl .dll call. Now it works. 2010-02-12 12:20 UTC+0100 Viktor Szakats * contrib/hbwin/hbwin.ch + Added HB_WIN_DLL_CALLCONV_* macros. (so far only privately defined inside .c code) + Added HB_WIN_DLL_CTYPE_* macros. (so far only privately defined inside .c code) + Reworked HB_WIN_DLL_CTYPE_* macro values. INCOMPATIBLE. Since they weren't previously documented, this should not be a breakage, pls report it if this is a problem. ! Fixed .ch syntax to also work in .c files. * contrib/hbwin/hbwin.h * contrib/hbwin/legacycd.c * contrib/hbwin/win_dll.c * contrib/hbwin/tests/testdll.prg * Using hbwin.ch for callconv and C type constants. + Added public low-level interface: hbwin_dllCall(). This has provision for exact parameter type specification. * Changed Harbour level functions to use new public interface hbwin_dllCall(). + Moved CALLDLL(), CALLDLLBOOL(), CALLDLLTYPED() to legacy source. * HB_DLLEXEC structure made private to XPP compatibility section. + Added new WIN_DLLCALL() API. This can replace all old CALL*() function and give more flexibility. Its first parameter is an optional array, which can specify calling convention (it was fixed in old implementation), return type and UNICODE swicth, plus it has provision to specify parameter types, too. + Changed test app to use new WIN_DLLCALL() API. * hb_getprocaddress() made public (but not exported) and renamed to hbwin_getprocaddress(). * config/wce/mingwarm.mk * config/win/mingw.mk - Deleted hack to always add frame buffer for hbwin. It's not necessary anymore. 2010-02-12 10:28 UTC+0100 Viktor Szakats * contrib/hbwin/win_dll.c + Reimplemented win32 .dll calls using pure C code. ; Please review it. Especially around the few TODO/FIXME notes. It would also be great of someone could make some test on WinCE platform. 2010-02-11 19:33 UTC+0100 Viktor Szakats * contrib/hbwin/win_dll.c + Added UNICODE and codepage conversion support for win32 .dll calls, too. ! Fix to win64 double support. 2010-02-11 18:48 UTC+0100 Viktor Szakats * contrib/hbwin/win_dll.c + Added 'double' type support for win64 .dll call. ; Untested, pls review. 2010-02-11 18:40 UTC+0100 Viktor Szakats * contrib/hbwin/win_dll.c % Simplified win64 support. ! Fixed win64 support for returning parameters passed by reference. * ChangeLog * Old FIXMEs marked DONE. 2010-02-11 18:17 UTC+0100 Viktor Szakats * contrib/hbwin/win_dll.c - Deleted WINAPI keyword from win64 .dll support. It has no meaning under win64, and win64 .dll support is not only meant to access winapi functions anyway. 2010-02-11 13:12 UTC+0100 Viktor Szakats * external/libhpdf/Makefile * Suppressing 'deprecated' warnings in libharu code until it gets updated for libpng 1.4. 2010-02-11 12:37 UTC+0100 Viktor Szakats * contrib/hbwin/wapi_wingdi.c ! Fixed return value of WAPI_SELECTOBJECT() again. 2010-02-11 12:32 UTC+0100 Viktor Szakats * src/rtl/direct.c * int -> HB_SIZE * contrib/hbwin/wapi_wingdi.c ! Fixed return value of WAPI_SELECTOBJECT() * contrib/hbwin/tests/testdll.prg + Minor. * contrib/hbwin/win_dll.c ! Fixed typo in byref parameter handling. Thanks to Xavi for noticing it. * Deleted unused union members from win32 retval support, renamed the rest. * utils/hbmk2/hbmk2.prg + Added -3rd= option. This is always ignored by hbmk2 and it allows to store extra, non-hbmk2 information in hbmk2 make files. E.g.: -3rd=-hbide_friendlyname=MyProject 2010-02-11 04:25 UTC+0100 Xavi (jarabal/at/gmail.com) * contrib/hbwin/wapi_winbase.c + Added wapi_GETSHORTPATHNAME() 2010-02-10 20:23 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/achoice.prg ! fixed typo in one of recent modifications which caused RTE in ac_test.prg ! fixed yet another typo which removed nMode setting ! fixed to not execute user procedure when no item is active at startup. This problem was visible in ac_test2.prg 2010-02-10 15:53 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/vm/procaddr.c ! added missing #include "hbvm.h" 2010-02-10 15:37 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + Enabled -implib option in -hbexe (default) mode. (except for dos/djgpp, pls add it manually) + Enabled -map option in -hbdyn mode for some targets where it was missing. (except for dos/djgpp, pls review this case) 2010-02-10 14:13 UTC+0100 Viktor Szakats * src/rtl/binnum.c * src/rtl/ampm.c * src/rtl/descend.c * src/rtl/at.c * src/rtl/console.c * src/rtl/cdpapi.c * src/rtl/accept.c * src/rtl/filebuf.c * src/rtl/cdpapihb.c * src/rtl/ati.c * src/rtl/binnumx.c * Renamed variables. * contrib/hbodbc/odbc.c * contrib/rddsql/sddodbc/odbcdd.c * Formatting. * contrib/hbbmcdx/bmdbfcdx.c ! Prefixed static variable with 's_' * contrib/hbbmcdx/hbbmcdx.h * Synced with include/hbrddcdx.h * utils/hbmk2/hbmk2.prg ! Fixed problem with generated implib name when using -implib option. It only worked as expected with bcc. 2010-02-10 12:34 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/pp/Makefile * harbour/src/pp/hbpp.c ! fixed compilation with HB_DYNLIB macro - harbour/src/vm/maindll.c - removed unused dummy file * harbour/src/vm/Makefile * harbour/include/hbapi.h + harbour/src/vm/procaddr.c + added hb_vmProcAddress() function * harbour/include/hbdefs.h + added HB_EXPORT_ATTR and HB_IMPORT_ATTR macros - they are always defined regardless of HB_DYNLIB macro state * harbour/src/vm/maindllh/Makefile * disabled HB_DYNLIB * harbour/src/vm/maindllp/Makefile + harbour/src/vm/maindllp/dllpcode.c + added new import library for PCODE DLLs. It contains wrappers for hb_vmProcessSymbols() and hb_vmExecute() implemented in a way which creates minimal speed overhead. + added error reporting (MessageBox()) when redirected functions cannot be found. + added hb_dllGetProcAddress() C function * harbour/include/hbtypes.h - harbour/src/vm/maindllp.c + harbour/src/vm/maindllp/dllext.c * moved old wrappers to some of extended and array API functions into separate file * updated to use hb_dllGetProcAddress() - removed functions which should not be used by user code % cleaned, optimized and added error reporting to function wrappers. I do not know who chose exported functions but it looks like a quite random set which should be extended for real functionality. If someone is interested then he can do that. I updated this file only for backward compatibility. Above modifications allows to use PCODE DLLs with any application also static ones using Harbour compiled without exported symbols. It's enough to link it with this function: HB_EXPORT_ATTR PHB_FUNC dll_hb_vmProcAddress( const char * szFuncName ) { return hb_vmProcAddress( szFuncName ); } The official form of including above function to final binaries is not defined yet. 2010-02-10 01:00 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/docs/idemainpage.html * contrib/hbide/docs/multiviews.html * contrib/hbide/hbide.ch * contrib/hbide/hbide.prg * contrib/hbide/idedocks.prg * contrib/hbide/ideeditor.prg * contrib/hbide/idefindreplace.prg * contrib/hbide/idemisc.prg * contrib/hbide/ideprojmanager.prg * contrib/hbide/idesources.prg + Extended Find-in-files search to sub-folders. + Implemented navigation in "hbIDE Help" under context menu. % Normalized status-bar panels, added distinct colors where required. 2010-02-09 18:25 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) + contrib/hbide/docs + contrib/hbide/docs/idemainpage.html + contrib/hbide/docs/interfaceelements.html + contrib/hbide/docs/multiviews.html * contrib/hbide/resources/help.png * contrib/hbide/hbide.prg * contrib/hbide/ideactions.prg * contrib/hbide/idedocks.prg * contrib/hbide/ideobject.prg + Implemented basics of ib-build help mechanism. It is working in a limited manner and is scheduled to be matured in next few days, at-least from operations point-of-view. QtextBrowser() accepts a sub-set of html commands and hence is very limited in appearnce. As we have decided against QtWebkit, this implementation may not look highly professional, will surely solve our purpose. If someone is willing to extend help in this direction, then following are the guidelines how you should design html page: 1. Open Qt Creator 2. Create a widget in the designer. 3. Place a QTextBrowser control somewhere. 4. Double-click within the control. 5. A rich-text editing box will appear. 6. Design the page. 7. Click on the "Source" tab at the bottom. 8. Select the whole source with Ctrl+A and copy with Ctrl+C. 9. Create a .html file with notepad, paste the source, and save. The process is lengthy, but no other html editor solves our purpose due to limited html tags availability in QTextBrowser. 2010-02-09 21:57 UTC+0100 Viktor Szakats * include/hbdefs.h + Added more info on HB_SIZE/HB_ISIZ future plans. * contrib/hbmemio/memio.c * contrib/hbnetio/netiocli.c - Deleted ( HB_SIZE ) casts in more obscure places. * utils/hbmk2/hbmk2.prg + -hbnolib option is now automatically enabled in -hbdyn mode. To disable it anyway, -hbnolib- option can be used. 2010-02-09 08:38 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/hbide.ch * contrib/hbide/hbide.prg * contrib/hbide/ideactions.prg * contrib/hbide/idedocks.prg * contrib/hbide/ideeditor.prg * contrib/hbide/idefindreplace.prg * contrib/hbide/ideobject.prg * contrib/hbide/idesaveload.prg * contrib/hbide/idesources.prg + Implemented multiple views. How it works: * Select "New..." from drop-down menu of "Views" combo-box in toolbar. * An input dialog opens, provide a useful name, keep it "one word" if possible * Press <ENTER> or click "Ok", a blank edit area will come-up. * Make ususal operations to add/delete/move sources. * You must be able to see view's name in the status-bar in blue. * Thus created "view" name will appear in the drop-down list. * To switch to another view, select it from same drop-down. * To verify, come out of the hbIDE and re-enter. * Voila, you have the "views" created. * "Main" view or say "root" view is always present. ;Please report if anything is missing or could be better. 2010-02-09 15:43 UTC+0100 Viktor Szakats * src/pp/ppcore.c * src/vm/strapi.c * src/vm/debug.c * src/vm/itemapi.c * src/vm/cmdarg.c * src/vm/set.c * src/debug/dbgentry.c * src/common/hbfsapi.c * src/common/hbstr.c * src/common/strwild.c * src/nortl/nortl.c * src/rtl/lennum.c * src/rtl/strmatch.c * src/rtl/gtstd/gtstd.c * src/rtl/hbstrfmt.c * src/rtl/transfrm.c * src/rtl/gtcgi/gtcgi.c * src/rtl/filesys.c * src/rtl/console.c * src/rtl/hbgtcore.c * src/rtl/cdpapi.c * src/rtl/gtclip.c * src/rtl/mlcfunc.c * src/rtl/itemseri.c * src/rtl/gtpca/gtpca.c * src/rtl/samples.c * src/rtl/gete.c * src/rdd/workarea.c * src/rdd/hsx/hsx.c * src/rdd/hbsix/sxsem.c * src/rdd/hbsix/sxfname.c * contrib/xhb/dbf2txt.c * contrib/xhb/datesxhb.c * contrib/xhb/dbgfxc.c * contrib/hbmzip/hbmzip.c * contrib/hbmemio/memio.c * contrib/hbnetio/netiocli.c * contrib/gtwvg/wvgwing.c * contrib/hbpgsql/postgres.c * contrib/hbclipsm/num.c * contrib/rddads/ads1.c * contrib/hbfimage/fi_wrp.c + Added '( HB_SIZE )' casts to 'strlen()' calls where it was converted to HB_SIZE. This pacifies long standing win64 warnings. Remaining warnings are (among others) useful to spot places where non-HB_SIZE is used in Harbour code to store sizes. * contrib/hbpgsql/postgres.c ! Type cleanup. 2010-02-09 14:18 UTC+0100 Viktor Szakats * src/rtl/hbregex.c ! Added distinctive error codes to different RTEs. % Deleted English strings from error messages. * include/clipdefs.h ! Fixed for OS/2 after recent changes. (type collision of legacy types with OS/2 system types) * src/rtl/strxor.c * src/rtl/trim.c * src/rtl/transfrm.c * src/rtl/strzero.c * src/rtl/strtran.c * src/rtl/strc.c * src/rtl/space.c * src/rtl/trace.c * src/rtl/soundex.c * src/rtl/valtostr.c * Size variables renamed to have 'n' prefix instead of 'ul' and 'l'. 2010-02-09 09:35 UTC+0100 Viktor Szakats * contrib/hbfbird/firebird.c ! Fixed warning after recent GC conversion on 64-bit non-Windows platforms. 2010-02-09 04:35 UTC+0100 Viktor Szakats * include/hbdefs.h ! Fixed missing HB_EXTERN_* 2010-02-09 04:30 UTC+0100 Viktor Szakats * include/hbdefs.h ! Fixed remaining 'LONG' type on 64-bit non-Windows systems. ! Indentation fixes. 2010-02-09 03:55 UTC+0100 Viktor Szakats * src/common/Makefile * src/common/hbwince.c + src/common/hbwin.c ! Moved Windows UNICODE helper function into new source, leaving WinCE API local emulation into separate source file. * include/hbwince.h + Now automatically includes windows.h. (since it depends on it) * include/hbdefs.h - Deleted HB_OS_WIN_USED autodetection. Not needed anymore. ! Fixed to not include hbwince.h anymore. It should be included directly from source files, where needed. * include/hbdefs.h * contrib/hbodbc/odbc.c * contrib/rddsql/sddodbc/odbcdd.c + Always defining HB_TCHAR_*() macros. They will be dummies in non-Windows or non-UNICODE builds. * include/clipdefs.h ! Legacy Clipper types moved to the bottom, because it's no longer true that hbapi.h defines their dependent types (our legacy ones). * contrib/hbwin/win_bmpd.c * contrib/hbwin/wapi_wingdi.c * contrib/hbwin/win_misc.c * contrib/hbwin/wapi_winbase.c * contrib/hbwin/wapi_alloc.c * contrib/hbwin/wapi_winuser.c * contrib/hbwin/hbwin.h * contrib/hbwin/hbwinole.h * contrib/hbwin/mapi.c * contrib/hbwin/wapi_wingdi_font.c * contrib/hbwin/olecore.c * contrib/hbwin/wce_simc.c * contrib/hbwin/wapi_winnls.c * contrib/hbwin/win_bmp.c * contrib/hbwin/win_com.c * contrib/hbwin/Makefile * contrib/hbwin/win_regc.c * contrib/hbwin/win_prn1.c * contrib/hbwin/win_prn2.c * contrib/hbwin/win_prn3.c * contrib/hbwin/wapi_commctrl.c * contrib/hbwin/win_osc.c * contrib/hbwin/wce_smsc.c * contrib/hbwin/wapi_err.c * contrib/hbwin/legacycd.c * contrib/hbwin/hbwapi.h * contrib/hbwin/wapi_shellapi.c * contrib/hbwin/win_dlg.c * contrib/hbwin/legacyco.c * contrib/hbwin/win_dll.c * contrib/hbwin/wapi_winbase_mutex.c + Reworked the way windows.h is included and headers are organized. New types allow complete control and flexibility. Finally. * src/vm/mainwin.c * src/vm/maindll.c * src/vm/maindllh.c * src/vm/cmdarg.c * src/vm/maindllp.c * src/vm/task.c * src/vm/fm.c * src/vm/extrap.c * src/vm/thread.c * src/vm/hvmall.c * src/vm/dynlibhb.c * src/common/hbgete.c * src/common/hbffind.c * src/common/hbver.c * src/common/hbtrace.c * src/common/hbfsapi.c * src/common/hbdate.c * src/rtl/gtwin/gtwin.c * src/rtl/fstemp.c * src/rtl/gttone.c * src/rtl/fserr.c * src/rtl/filesys.c * src/rtl/lang.c * src/rtl/diskspac.c * src/rtl/console.c * src/rtl/cputime.c * src/rtl/gtclip.c * src/rtl/oemansi.c * src/rtl/disksphb.c * src/rtl/net.c * src/rtl/gtgui/gtgui.c * src/rtl/hbproces.c * src/rtl/gtwvt/gtwvt.h * src/rtl/gtwvt/gtwvt.c * src/rtl/gtkbstat.c * contrib/hbct/ctnet.c * contrib/hbct/dattime3.c * contrib/hbct/disk.c * contrib/hbodbc/odbc.c * contrib/xhb/hboutdbg.c * contrib/xhb/xhberrc.c * contrib/xhb/filestat.c * contrib/xhb/hbserv.c * contrib/hbtpathy/tpwin.c * contrib/hbmzip/hbmzip.c * contrib/hbqt/hbqt_base.cpp * contrib/hbnf/getenvrn.c * contrib/rddsql/sddodbc/odbcdd.c * contrib/rddads/adsx.c * contrib/rddads/adsfunc.c * contrib/rddads/rddads.h * contrib/rddads/ads1.c * contrib/rddads/adsmgmnt.c * examples/hbapollo/apollo.c + HB_OS_WIN_USED trick replaced with direct windows.h inclusion, just like we do for all other OSes. + Also inclded hbwince.h in source files which required it. Please test it. * contrib/hbqt/gtqtc/gtqtc.cpp - Deleted commented code to not create false grep hits all the time. 2010-02-08 18:44 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/hbide.prg * contrib/hbide/idedocks.prg * contrib/hbide/ideeditor.prg * contrib/hbide/ideobject.prg % More ground cover in preperation of multiple views. Just to versionize changes. ;NOTE: Unreleased memory blocks have reduced considerably after parent/child relations fix in prev commit. This implies that in sometime in near future, memory issue is going to be the ghost of past. 2010-02-08 17:16 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbxbp/xbp.ch * contrib/hbxbp/xbpparthandler.prg * contrib/hbxbp/xbpstatusbar.prg * contrib/hbxbp/xbptoolbar.prg * contrib/hbxbp/xbpwindow.prg ! Fixed a rare parent/child relation issue in XbpStatusBar() and XbpToolBar() classes. + Implemented Harbour extension: Method :hbLayout( HBPLAYOUT_TYPE_* ) Currently HBPLAYOUT_TYPE_HORZBOX and HBPLAYOUT_TYPE_VERTBOX are supported. This is essentially executed after :create(). When executed class attemps to all children of it to be laid accordingly, if some are already created. Any other Xbp part created with "this" object as parent, that is also laid appropriately. This reduces a lot of code writing. Example: oStatic := XbpStatic():new():create( oDlg,... ) oStatic:hbLayout := HBPLAYOUT_TYPE_HORZBOX oBtn := XbpPushButton():new( oStatic ):create( ... ) oBtn1 := XbpPushButton():new( oStatic ):create( ... ) oBtn2 := XbpPushButton():new( oStatic ):create( ... ) Then, these buttons will be nicely placed inside oStatic. No need to go for complex calculations. * contrib/hbxbp/tests/demoxbp.prg + Applied :hbLayout for :drawingArea and tabPages. 2010-02-09 02:12 UTC+0100 Viktor Szakats * src/vm/runner.c * src/vm/garbage.c * src/vm/classes.c * src/rtl/cdpapi.c * src/rtl/cdpapihb.c * src/rdd/dbcmd.c * include/hbapicdp.h * include/hbapiitm.h * include/hbextern.ch * include/hbdefs.h * include/hbsetup.h * include/hbapi.h - Deleted code guarded with (previously disabled) HB_LEGACY_LEVEL2 * include/rdd.api * include/clipdefs.h + Permanently enabled HB_LEGACY_LEVEL2 related changes. * contrib/xhb/bkgtsks.c - Deleted HB_OS_WIN_USED. It wasn't used. * include/hbapi.h * src/vm/cmdarg.c * hb_winmainArgGet() changed to not use Windows types. This function is declared in hbapi.h and this header shouldn't depend on windows.h. * include/hbwince.h * include/hbsetup.h * HB_OS_HAS_DRIVE_LETTER is now configured in central place (hbsetup.h) for WinCE platform also. * include/hbwince.h * include/hbdefs.h * Windows (CE and not-CE) specific declarations moved from hbwince.h to hbdefs.h. * include/hbdefs.h % hbwince.h inclusion now better guarded to not include it for non WinCE platforms. + HB_OS_WIN_USED macro will now autodetected by checking whether windows.h was included before this header. This is required for hbwince.h. I don't like it, since hbapi.h still depends on windows.h for WinCE platform, which still ties us to unnecessary windows.h inclusion rules. Rather, hbwince.h should be included directly by .c files when needed and when HB_OS_WIN_CE is defined. After all this our little Windows API implementation for compilers which need it. * include/hbdefs.h * include/hbwmain.c + hb_winmainArgInit() declaration moved to hbwmain.c, the only place where this is used. * Deleted HB_EXPORT from hb_winmainArgInit. Pls speak up if this is wrong. It's possible to move this back to hbdefs.h, but parameter types should be changed to ANSI ones. * contrib/gtwvg/gtwvg.c * contrib/gtwvg/gtwvg.h * contrib/gtwvg/wvggui.c * contrib/gtwvg/wvgcuig.c * contrib/gtwvg/wvggui.h * contrib/gtwvg/wvgwin.c * contrib/gtwvg/wvgutils.c * contrib/gtwvg/wvgcore.c * contrib/gtwvg/wvgwing.c - Deleted HB_OS_WIN_USED. Now it should work without it. windows.h was already included in non-official method, so it's now okay also. 2010-02-09 00:43 UTC+0100 Viktor Szakats * contrib/hbfimage/Makefile - No more relevant comment deleted. 2010-02-09 00:41 UTC+0100 Viktor Szakats * include/hbsetup.ch + HB_LEGACY_OFF will also enable HB_LEGACY_TYPES_OFF. * contrib/hbfimage/Makefile * contrib/hbfimage/fi_winfu.c * contrib/hbfimage/fi_wrp.c + Forcing HB_LEGACY_TYPES_OFF. + Switched to new regular kind of windows.h inclusion. + Enabled for *nix platforms. Now it should build w/o problems. ; New regular windows.h inclusion goes as follows: --- /* After #include "hbapi.h", write this: */ #if defined( HB_OS_WIN ) #include <windows.h> /* or any other Windows API header you may need, in any valid order or combination. */ #endif --- Old hacky method can now be safely deleted: '#define HB_OS_WIN_USED' and/or '#define HB_OS_WIN32_USED' * contrib/hbbtree/hb_btree.c ! Cleaned '{};' to be '{}' after prev cleanup (';' -> '{};') * doc/whatsnew.txt + Added section for version 2.1.0. 2010-02-09 00:13 UTC+0100 Viktor Szakats * src/pp/pplib.c * src/common/hbprintf.c * src/rtl/gtclip.c * src/rdd/dbfntx/dbfntx1.c * src/rdd/dbfnsx/dbfnsx1.c * src/rdd/dbfcdx/dbfcdx1.c * src/rdd/dbffpt/dbffpt1.c * src/compiler/hbpcode.c * include/hbgtcore.h * contrib/hbbmcdx/bmdbfcdx.c * contrib/hbbtree/hb_btree.h * contrib/hbbtree/hb_btree.c ! Fixed remaining type conversion problems after doing live testing on win/bcc. Please test it on other platforms. * config/rules.mk + Enabled HB_LEGACY_TYPES_OFF on default Harbour builds. This is required to keep new type usage enforced. 2010-02-08 23:18 UTC+0100 Viktor Szakats * src/rtl/gtwin/gtwin.c * include/hbrddcdx.h * contrib/hbct/screen2.c * contrib/hbct/ct.h * contrib/xhb/freadlin.c * contrib/gtwvg/gtwvg.h ! Cleaned remaining legacy types after verification with grep script. 2010-02-08 22:49 UTC+0100 Viktor Szakats * src/pp/ppcore.c * src/pp/hbpp.c * src/vm/macro.c * src/vm/runner.c * src/vm/estack.c * src/vm/itemapi.c * src/vm/hvm.c * src/vm/cmdarg.c * src/vm/maindllp.c * src/vm/fm.c * src/vm/thread.c * src/vm/memvars.c * src/vm/eval.c * src/vm/extend.c * src/vm/classes.c * src/debug/dbgentry.c * src/common/expropt1.c * src/common/expropt2.c * src/common/hbhash.c * src/nortl/nortl.c * src/macro/macrolex.c * src/rtl/gtxwc/gtxwc.c * src/rtl/gtstd/gtstd.c * src/rtl/gtcgi/gtcgi.c * src/rtl/errapi.c * src/rtl/hbprocfn.c * src/rtl/hbsocket.c * src/rtl/gtpca/gtpca.c * src/rtl/filebuf.c * src/rtl/hbproces.c * src/rdd/dbfntx/dbfntx1.c * src/rdd/dbsql.c * src/rdd/hbdbsort.c * src/rdd/workarea.c * src/rdd/wacore.c * src/rdd/sdf1.c * src/rdd/dbcmdx.c * src/rdd/dbfnsx/dbfnsx1.c * src/rdd/dbcmd.c * src/rdd/dbfcdx/dbfcdx1.c * src/rdd/delim1.c * src/rdd/dbf1.c * src/rdd/hsx/hsx.c * src/rdd/usrrdd/usrrdd.c * src/rdd/wafunc.c * src/rdd/dbffpt/dbffpt1.c * src/rdd/hbsix/sxord.c * src/rdd/hbsix/sxfname.c * src/rdd/hbsix/sxtable.c * src/rdd/hbsix/sxutil.c * src/rdd/hbsix/sxcrypt.c * src/compiler/ppcomp.c * src/compiler/hbmain.c * src/compiler/compi18n.c * src/compiler/cmdcheck.c * src/compiler/hbdbginf.c * src/compiler/hbpcode.c * src/compiler/genhrb.c * src/compiler/hbdead.c * src/compiler/complex.c * src/compiler/genobj32.c * src/compiler/genc.c * src/compiler/hbopt.c * src/compiler/hbident.c * src/compiler/gencc.c * src/compiler/hbcmplib.c * src/compiler/hblbl.c * src/compiler/harbour.yyc * src/compiler/harbour.y * include/hbpp.h * include/hbrdddbf.h * include/hbvmpub.h * include/hbrddnsx.h * include/hbstack.h * include/hbgtcore.h * include/hbapifs.h * include/hbthread.h * include/hbdefs.h * include/hbmacro.h * include/hbinit.h * include/hbtypes.h * include/hbrddsdf.h * include/hbapi.h * include/hbapiitm.h * include/hbrddntx.h * include/hbvm.h * include/hbapidbg.h * include/hbcomp.h * include/hbapirdd.h * include/hbcompdf.h * include/hbrdddel.h * include/hbexpra.c * include/hbexprop.h * include/hbrddcdx.h * include/hbapicls.h * include/hbapierr.h * include/hbrddfpt.h * include/hbhash.h * include/hbregex.h * include/hbexprb.c * contrib/hbct/screen2.c * contrib/hbct/token2.c * contrib/hbct/dbftools.c * contrib/hbct/atadjust.c * contrib/hbct/ctwin.c * contrib/hbct/files.c * contrib/hbct/dattime3.c * contrib/hbct/ctstr.c * contrib/hbct/screen1.c * contrib/hbct/token1.c * contrib/hbct/ctc.c * contrib/hbct/ct.h * contrib/hbct/atnum.c * contrib/hbct/asciisum.c * contrib/hbct/numat.c * contrib/hbct/atrepl.c * contrib/xhb/bkgtsks.c * contrib/xhb/hbcrypt.c * contrib/xhb/fparse.c * contrib/xhb/datesxhb.c * contrib/xhb/hbnxs.h * contrib/hbqt/gtqtc/gtqtc.cpp * contrib/xpp/dbcmdx.c * contrib/hbnf/dispc.c * contrib/hbnf/ftattr.c * contrib/hbmemio/memio.c * contrib/hbnetio/netiocli.c * contrib/rddsql/sddmy/mysqldd.c * contrib/rddsql/sddpg/pgsqldd.c * contrib/rddsql/sddfb/fbirddd.c * contrib/rddsql/sddodbc/odbcdd.c * contrib/rddsql/hbrddsql.h * contrib/rddsql/sqlbase.c * contrib/rddsql/sqlmix.c * contrib/rddads/adsx.c * contrib/rddads/adsfunc.c * contrib/rddads/rddads.h * contrib/rddads/ads1.c * contrib/rddads/adsmgmnt.c * contrib/hbmisc/spd.c * contrib/hbtip/utils.c * contrib/hbtip/encmthd.c * contrib/hbbmcdx/bmdbfcdx.c * contrib/hbbmcdx/hbbmcdx.h * contrib/hbbtree/hb_btree.h * contrib/hbbtree/hb_btree.c * ULONG -> HB_ULONG, HB_SIZE (except for external (OS) API specific usage) * Formatting. ; NOTE: I converted ULONG to HB_SIZE where I felt it appropriate, but didn't touch compiler, codeblock handling, low-level RDD (Set/GetVarLen method) and high-level contrib RDDs, so this needs to be cleaned. Also there may be cases where I didn't change the whole call chain to HB_SIZE. ; NOTE: It would be probably worthy to add new types for these purposes: - line number (HB_USHORT) - record number (HB_ULONG) - RDD connection (HB_ULONG) - parameter count / stack position / class member positions / etc (HB_USHORT, sometimes HB_ULONG) - pcode (HB_BYTE and char) - flags / modes (HB_USHORT / HB_ULONG) - timers (HB_ULONG, HB_MAXINT) - GT API character (HB_USHORT) ; REQUESTS: - Pls don't over-align variable declarations. It makes modification much much slower. Sometimes declarations are aligned even if there was only one or two of them in a block. - Pls always add variable names in declarations, otherwise the purpose of the function is very slow to decipher when looking at it. - Keep up the nice formatting according to Harbour standards, it makes modifications much much easier. ; TODO: - Verify with grep script [DONE] - Verify with HB_USER_CFLAGS=-DHB_LEGACY_TYPES_OFF [DONE] - Make HB_LEGACY_TYPES_OFF default for Harbour builds. [DONE] - Tie HB_LEGACY_TYPES_OFF to HB_LEGACY_LEVEL3 [DONE] - Retest hbfimage on *nix, delete hacks [DONE] - Replace current windows.h inclusion hack with regular method [DONE] - Delete hacks dealing with former type chaos: HB_DONT_DEFINE_BASIC_TYPES, HB_DONT_DEFINE_BOOL, HB_DONT_DEFINE_BYTE, HB_DONT_DEFINE_LONG - Normalize HB_BYTE vs. HB_UCHAR usage [DONE - both stays] - Type cleanups, e.g. HB_SIZE vs. HB_ULONG [DONE] - Add new special types (see above) [DONE] - Switch HB_SIZE to signed (big project), and delete HB_ISIZ afterwards. 2010-02-08 20:24 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapicdp.h * harbour/src/rtl/cdpapi.c * replaced 'unsigned char' with 'HB_UCHAR' * harbour/src/rtl/cdpapihb.c * harbour/contrib/hbwin/wapi_shellapi.c % minor optimization * harbour/src/vm/maindllp.c * use already existing HB_MACRO2STRING() macro instead of locally defined HB_DLLSTR_() * respect defined but not used so far HB_DLL_NAMEMT and HB_DLL_NAMEMT2 2010-02-08 19:52 UTC+0100 Viktor Szakats * src/vm/macro.c * src/vm/runner.c * src/vm/estack.c * src/vm/codebloc.c * src/vm/debug.c * src/vm/hvm.c * src/vm/pvalue.c * src/vm/arrays.c * src/vm/memvars.c * src/vm/eval.c * src/vm/classes.c * src/common/hbffind.c * src/rdd/dbfntx/dbfntx1.c * src/rdd/workarea.c * src/rdd/sdf1.c * src/rdd/dbcmdx.c * src/rdd/dbfnsx/dbfnsx1.c * src/rdd/dbcmd.c * src/rdd/dbfcdx/dbfcdx1.c * src/rdd/delim1.c * src/rdd/dbf1.c * src/rdd/usrrdd/usrrdd.c * src/rdd/dbffpt/dbffpt1.c * src/rdd/hbsix/sxord.c * src/compiler/hbmain.c * src/compiler/hbpcode.c * src/compiler/genc.c * src/compiler/hbopt.c * src/compiler/gencc.c * src/compiler/hblbl.c * tests/bldtest/bldtest.c * include/hbstack.h * include/hbapifs.h * include/hbxvm.h * include/hbdefs.h * include/hbmacro.h * include/hbapi.h * include/hbcomp.h * include/hbapirdd.h * include/hbsxfunc.h * include/hbrddcdx.h * include/hbexprb.c * contrib/hbct/maxline.c * contrib/hbct/numcount.c * contrib/hbct/addascii.c * contrib/xhb/xhbenum.c * contrib/xhb/xhbqself.c * contrib/xhb/xhbwith.c * contrib/xhb/hbcomprs.c * contrib/xhb/xhbmsgs.c * contrib/hbmzip/hbmzip.c * contrib/xpp/dbcmdx.c * contrib/hbnetio/netiocli.c * contrib/rddsql/sqlbase.c * contrib/rddsql/sqlmix.c * contrib/rddads/adsx.c * contrib/rddads/ads1.c * contrib/hbbmcdx/bmdbfcdx.c * contrib/hbbmcdx/hbbmcdx.h * contrib/hbbtree/hb_btree.h * contrib/hbbtree/hb_btree.c * LONG -> HB_LONG, long (for dates and extend / item API contexts) (except for external (OS) API specific usage) * src/vm/maindll.c * LONG -> void * + Added 'const' to char * parameter. * contrib/hbct/numline.c * contrib/hbct/ctpad.c * LONG -> HB_LONG, HB_ISIZ * Formatting. * contrib/xhb/hbxml.h * LONG -> HB_ISIZ * contrib/xhb/freadlin.c * LONG, int -> HB_ISIZ 2010-02-08 19:03 UTC+0100 Viktor Szakats * src/rtl/gtwin/gtwin.c * ULONG -> HB_SIZE * src/rtl/gtwvt/gtwvt.c * LONG -> int * ULONG -> HB_SIZE * contrib/gtwvg/gtwvg.c * contrib/gtwvg/wvggui.c * LONG -> int * ULONG -> HB_SIZE * contrib/gtwvg/wvgwin.c * ULONG -> HB_ULONG * LONG -> long * contrib/gtwvg/wvgutils.c * contrib/gtwvg/wvgsink.c * contrib/gtwvg/wvgwing.c * contrib/hbwin/axcore.c * LONG -> long * contrib/gtwvg/wvgutils.c * "" -> NULL 2010-02-08 18:40 UTC+0100 Viktor Szakats * contrib/hbbmcdx/bmdbfcdx.c * Some more syncing. 2010-02-08 18:25 UTC+0100 Viktor Szakats * include/hbdefs.h + Changed HB_LONG and HB_ULONG to 'long' and 'unsigned long' 32-bit integer types, the new equivalents of legacy types LONG and ULONG. WARNING, INCOMPATIBLE: The legacy meaning of these types were 64-bit integers. Existing code should changes these types to HB_VMMAXINT, HB_VMMAXUINT respectively. Notice this change is non-delayable and non-togglable, so you must update your code now. - Deleted HB_CHAR type. * HB_UCHAR/HB_BYTE marked with QUESTION. - Deleted some commented new types. * contrib/hbbmcdx/bmdbfcdx.c + Attempt to sync with DBFCDX RDD source. Please try to help in this, there are some larger patches which I didn't apply. I'd be very nice if someone could take this code and convert it to a filter RDD instead of current copy+patch approach. In such case it could even be moved to core. 2010-02-08 08:50 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/hbide.prg * contrib/hbide/ideactions.prg * contrib/hbide/idedocks.prg * contrib/hbide/ideeditor.prg * contrib/hbide/ideobject.prg * contrib/hbide/idesources.prg * contrib/hbqt/generator/qt45.qtp * contrib/hbqt/hbqt.h * contrib/hbqt/hbqt_hbqplaintextedit.cpp * contrib/hbqt/hbqt_hbqplaintextedit.h * contrib/hbqt/hbqt_hbqsyntaxhighlighter.cpp * contrib/hbqt/hbqt_hbqsyntaxhighlighter.h * contrib/hbqt/qtgui/filelist.mk * contrib/hbqt/qtgui/HBQPlainTextEdit.cpp * contrib/hbqt/qtgui/HBQSyntaxHighlighter.cpp + contrib/hbqt/qtgui/QStackedWidget.cpp * contrib/hbqt/qtgui/THBQPlainTextEdit.prg * contrib/hbqt/qtgui/THBQSyntaxHighlighter.prg + contrib/hbqt/qtgui/TQStackedWidget.prg * contrib/hbqt/qth/HBQPlainTextEdit.qth * contrib/hbqt/qth/HBQSyntaxHighLighter.qth + contrib/hbqt/qth/QStackedWidget.qth + Added one more class in hbQT. + Prepared to present multiple-views of tabbed-editor. The term multiple-view is a bit confusing. The concept I am thinking of is to present stacked tabs of common interest together switchable from "Editor" tree-presentation or from a combo-box containing such different "views". A better name to this feature is requested. % Code shifting, normalization. + Started to have block(column)copy and paste operation. But appears it is a huge task, probably leading to rewriting the whole HBQPlainTextEdit() class. I must confess that the more I try in the direction, the more I am in troubles. Reason: Qt does not provide any inbuild mechanism to achieve it. 2010-02-08 16:49 UTC+0100 Viktor Szakats * include/hbdefs.h + Readded HB_U8 and HB_I8. Currently mapped to HB_BYTE/HB_CHAR, but it should be used where 8-bitness of a char is a requirement. E.g. when writing/reading to/from files. + HB_CHAR changed from 'char' to 'signed char'. This is brand new type, not yet used in Harbour code, so it's safe. For char with non-guaranteed signedness, ANSI type 'char' should be used. * HB_UCHAR is now a synonym for HB_BYTE. It's now also legacy. * HB_SCHAR is now a synonym for HB_CHAR. It's now also legacy. ; TODO: Replace all HB_SCHAR with HB_CHAR and HB_UCHAR with HB_BYTE, and move the old types to compatibility status. [CANCELLED] * ChangeLog ! Fixed date in my today's entries. 2010-02-08 14:30 UTC+0100 Viktor Szakats * src/pp/ppcore.c * src/pp/hbpp.c * src/vm/macro.c * src/vm/evalhb.c * src/vm/runner.c * src/vm/estack.c * src/vm/codebloc.c * src/vm/dynsym.c * src/vm/garbage.c * src/vm/itemapi.c * src/vm/hvm.c * src/vm/pvalue.c * src/vm/maindllp.c * src/vm/arrays.c * src/vm/fm.c * src/vm/extrap.c * src/vm/proc.c * src/vm/thread.c * src/vm/memvars.c * src/vm/vm.c * src/vm/eval.c * src/vm/dynlibhb.c * src/vm/classes.c * src/common/hbffind.c * src/common/expropt1.c * src/common/expropt2.c * src/nortl/nortl.c * src/rtl/gtdos/gtdos.c * src/rtl/fscopy.c * src/rtl/gtwin/gtwin.c * src/rtl/gtxwc/gtxwc.h * src/rtl/gtxwc/gtxwc.c * src/rtl/gtcrs/gtcrs.c * src/rtl/philesx.c * src/rtl/do.c * src/rtl/gtstd/gtstd.c * src/rtl/gttrm/gttrm.c * src/rtl/xhelp.c * src/rtl/transfrm.c * src/rtl/fserr.c * src/rtl/gtcgi/gtcgi.c * src/rtl/errapi.c * src/rtl/copyfile.c * src/rtl/errintlo.c * src/rtl/gtapi.c * src/rtl/filesys.c * src/rtl/console.c * src/rtl/spfiles.c * src/rtl/gtos2/gtos2.c * src/rtl/philes.c * src/rtl/hbgtcore.c * src/rtl/itemseri.c * src/rtl/gtsln/mousesln.c * src/rtl/gtsln/gtsln.c * src/rtl/gtsln/kbsln.c * src/rtl/disksphb.c * src/rtl/gtpca/gtpca.c * src/rtl/trace.c * src/rtl/gt_tpl/gt_tpl.c * src/rtl/filebuf.c * src/rdd/dbfntx/dbfntx1.c * src/rdd/dbsql.c * src/rdd/hbdbsort.c * src/rdd/workarea.c * src/rdd/wacore.c * src/rdd/sdf1.c * src/rdd/dbfnsx/dbfnsx1.c * src/rdd/dbcmd.c * src/rdd/dbfcdx/dbfcdx1.c * src/rdd/delim1.c * src/rdd/dbf1.c * src/rdd/hsx/hsx.c * src/rdd/dbcmd53.c * src/rdd/usrrdd/usrrdd.c * src/rdd/wafunc.c * src/rdd/dbffpt/dbffpt1.c * src/rdd/hbsix/sxord.c * src/rdd/hbsix/sxtable.c * src/rdd/hbsix/sxcompr.c * src/compiler/hbmain.c * src/compiler/hbfix.c * src/compiler/hbdead.c * src/compiler/genobj32.c * src/compiler/genc.c * src/compiler/hbopt.c * src/compiler/gencc.c * src/compiler/harbour.yyc * src/compiler/harbour.y * include/hbpp.h * include/hbrdddbf.h * include/hbvmpub.h * include/hbrddnsx.h * include/hbstack.h * include/hbgtcore.h * include/hbapifs.h * include/hbxvm.h * include/hbdefs.h * include/hbinit.h * include/hbtypes.h * include/hbrddsdf.h * include/hbapi.h * include/hbapiitm.h * include/hbrddntx.h * include/hbvm.h * include/hbcomp.h * include/hbapirdd.h * include/hbcompdf.h * include/hbrdddel.h * include/hbexpra.c * include/hbexprop.h * include/hbdbsort.h * include/hbapigt.h * include/hbrddcdx.h * include/hbapicls.h * include/hbapierr.h * include/hbrddfpt.h * include/hbexprb.c * contrib/hbct/bitnum.c * contrib/hbct/screen2.c * contrib/hbct/strdiff.c * contrib/hbct/token2.c * contrib/hbct/charonly.c * contrib/hbct/atadjust.c * contrib/hbct/ctmath.c * contrib/hbct/ctwin.c * contrib/hbct/charsort.c * contrib/hbct/charmix.c * contrib/hbct/charevod.c * contrib/hbct/wordrepl.c * contrib/hbct/charrepl.c * contrib/hbct/strswap.c * contrib/hbct/trig.c * contrib/hbct/charswap.c * contrib/hbct/charop.c * contrib/hbct/charone.c * contrib/hbct/num1.c * contrib/hbct/pos1.c * contrib/hbct/ascpos.c * contrib/hbct/ctstr.c * contrib/hbct/screen1.c * contrib/hbct/token1.c * contrib/hbct/charmirr.c * contrib/hbct/ctc.c * contrib/hbct/ctwfunc.c * contrib/hbct/relation.c * contrib/hbct/atnum.c * contrib/hbct/count.c * contrib/hbct/ctcrypt.c * contrib/hbct/posdiff.c * contrib/hbct/finan.c * contrib/hbct/range.c * contrib/hbct/addascii.c * contrib/hbct/ctmath2.c * contrib/hbct/tab.c * contrib/hbct/replace.c * contrib/hbct/asciisum.c * contrib/hbct/pos2.c * contrib/hbct/numat.c * contrib/hbct/atrepl.c * contrib/hbct/wordtoch.c * contrib/hbct/ctpad.c * contrib/hbct/print.c * contrib/hbct/justify.c * contrib/hbct/remove.c * USHORT -> HB_USHORT (except where BYTE was used in OS-specific context) 2010-02-08 12:48 UTC+0100 Viktor Szakats * contrib/hbbmcdx/bmdbfcdx.c * contrib/hbbmcdx/hbbmcdx.h * contrib/hbbtree/hb_btree.h * contrib/hbbtree/hb_btree.c * contrib/hbnetio/netiocli.c * contrib/hbnetio/netiosrv.c * contrib/rddsql/sddmy/mysqldd.c * contrib/rddsql/sddpg/pgsqldd.c * contrib/rddsql/sddfb/fbirddd.c * contrib/rddsql/sddodbc/odbcdd.c * contrib/rddsql/hbrddsql.h * contrib/rddsql/sqlbase.c * contrib/rddsql/sqlmix.c * contrib/rddads/adsx.c * contrib/rddads/ads1.c * contrib/xhb/bkgtsks.c * contrib/xhb/hbcrypt.c * contrib/xhb/dbf2txt.c * contrib/xhb/xhbcopyf.c * contrib/xhb/xhbfunc.c * contrib/xpp/philesx.c * contrib/hbnf/ftattr.c * USHORT -> HB_USHORT * contrib/xhb/xhbsave.c * USHORT -> int * contrib/xhb/filestat.c * USHORT -> HB_FATTR * contrib/hbmemio/memio.c * USHORT -> HB_USHORT * USHORT -> HB_ERRCODE * contrib/hbqt/gtqtc/gtqtc.cpp * contrib/hbqt/gtqtc/gtqtc.h * USHORT -> int, HB_USHORT * contrib/hbnf/fttext.c * contrib/hbmisc/hb_f.c + Added "largefile" support. (at least on the low-level) * USHORT -> HB_USHORT * contrib/hbmisc/tests/testhbf.prg - Deleted old comment. 2010-02-07 11:49 UTC+0100 Viktor Szakats * contrib/hbwin/wapi_wingdi.c * contrib/hbwin/hbwin.ch + Added WAPI_EXTTEXTOUT() * contrib/hbwin/axcore.c * contrib/hbwin/olecore.c * USHORT -> HB_USHORT * contrib/hbwin/win_prn2.c * USHORT -> HB_SIZE plus some changes accordingly. * src/rtl/gtwin/gtwin.c * src/rtl/gtwvt/gtwvt.c * USHORT -> HB_WCHAR, HB_USHORT * contrib/gtwvg/gtwvg.c * contrib/gtwvg/wvggui.c * contrib/gtwvg/wvggui.h * contrib/gtwvg/wvgwin.c * contrib/gtwvg/wvgutils.c * contrib/gtwvg/wvgcore.c * contrib/gtwvg/wvgsink.c * contrib/gtwvg/wvgwing.c * USHORT -> HB_WCHAR, HB_USHORT, UINT, int * contrib/gtwvg/gtwvg.h * contrib/gtwvg/wvggui.h - Deleted unused structures (using USHORT). 2010-02-08 10:32 UTC+0100 Viktor Szakats * include/hbdefs.h ! Fixed typo when restructuring types causing no HB_MAXINT type in some cases. * contrib/gtalleg/gtalleg.c * USHORT -> HB_USHORT * contrib/hbct/print.c * contrib/hbnf/descendn.c * contrib/hbclipsm/gauge.c * USHORT -> HB_SIZE * contrib/xhb/txtline.c * USHORT, int -> HB_SIZE 2010-02-08 02:02 UTC+0100 Viktor Szakats * src/pp/ppcore.c * src/vm/macro.c * src/vm/runner.c * src/vm/codebloc.c * src/vm/garbage.c * src/vm/hvm.c * src/vm/maindllp.c * src/vm/fm.c * src/vm/extrap.c * src/vm/memvars.c * src/common/expropt1.c * src/common/expropt2.c * src/common/hbarch.c * src/common/hbmem.c * src/nortl/nortl.c * src/rtl/gtdos/gtdos.c * src/rtl/gtwin/gtwin.c * src/rtl/gtxwc/gtxwc.h * src/rtl/gtxwc/gtxwc.c * src/rtl/gtcrs/gtcrs.c * src/rtl/gtstd/gtstd.c * src/rtl/gttrm/gttrm.c * src/rtl/gtcgi/gtcgi.c * src/rtl/gtapi.c * src/rtl/gtos2/gtos2.c * src/rtl/hbgtcore.c * src/rtl/gtsln/gtsln.c * src/rtl/gtsln/kbsln.c * src/rtl/gtsln/gtsln.h * src/rtl/gtpca/gtpca.c * src/rtl/gt_tpl/gt_tpl.c * src/rtl/gtwvt/gtwvt.h * src/rtl/gtwvt/gtwvt.c * src/rdd/dbfntx/dbfntx1.c * src/rdd/dbsql.c * src/rdd/hbdbsort.c * src/rdd/workarea.c * src/rdd/sdf1.c * src/rdd/dbfnsx/dbfnsx1.c * src/rdd/dbfcdx/dbfcdx1.c * src/rdd/delim1.c * src/rdd/dbf1.c * src/rdd/hsx/hsx.c * src/rdd/usrrdd/usrrdd.c * src/rdd/dbffpt/dbffpt1.c * src/rdd/hbsix/sxsem.c * src/rdd/hbsix/sxcompr.c * src/compiler/ppcomp.c * src/compiler/hbmain.c * src/compiler/hbfix.c * src/compiler/hbdbginf.c * src/compiler/hbpcode.c * src/compiler/genhrb.c * src/compiler/hbdead.c * src/compiler/genobj32.c * src/compiler/genc.c * src/compiler/hbopt.c * src/compiler/gencc.c * src/compiler/hbcmplib.c * src/compiler/hblbl.c * src/compiler/harbour.yyc * src/compiler/harbour.y * src/compiler/harbour.yyh * tests/bldtest/bldtest.c * tests/tstgtapi.c * include/hbpp.h * include/hbrdddbf.h * include/hbvmpub.h * include/hbrddnsx.h * include/hbgtcore.h * include/hbxvm.h * include/hbdefs.h * include/hbmacro.h * include/hbtypes.h * include/hbrddsdf.h * include/hbapi.h * include/hbrddntx.h * include/hbvm.h * include/hbcomp.h * include/hbapirdd.h * include/hbcompdf.h * include/hbrdddel.h * include/hbexpra.c * include/hbexprop.h * include/hbdbf.h * include/hbdbsort.h * include/hbapigt.h * include/hbrddcdx.h * include/hbrddfpt.h * include/hbexprb.c * contrib/gtalleg/gtalleg.c * contrib/hbct/ctwin.c * contrib/hbct/ascpos.c * contrib/hbct/screen1.c * contrib/hbct/ctcrypt.c * contrib/xhb/hbxml.c * contrib/xhb/xhbis.c * contrib/xhb/fparse.c * contrib/xhb/xhbat.c * contrib/xhb/xhbcopyf.c * contrib/xhb/cstructc.c * contrib/hbqt/gtqtc/gtqtc.cpp * contrib/hbqt/gtqtc/gtqtc.h * contrib/xpp/philesx.c * contrib/hbnf/ftshadow.c * contrib/hbnf/ftattr.c * contrib/hbnetio/netiocli.c * contrib/hbnetio/netiosrv.c * contrib/rddsql/sddmy/mysqldd.c * contrib/rddsql/sddpg/pgsqldd.c * contrib/rddsql/sddfb/fbirddd.c * contrib/rddsql/sddodbc/odbcdd.c * contrib/rddsql/hbrddsql.h * contrib/rddsql/sqlbase.c * contrib/rddsql/sqlmix.c * contrib/gtwvg/gtwvg.c * contrib/gtwvg/wvggui.c * contrib/gtwvg/wvgcore.c * contrib/gtwvg/wvgwing.c * contrib/rddads/adsx.c * contrib/rddads/rddads.h * contrib/rddads/ads1.c * contrib/hbtip/utils.c * contrib/hbwin/win_regc.c * contrib/hbwin/win_prn2.c * contrib/hbbmcdx/bmdbfcdx.c * contrib/hbbmcdx/hbbmcdx.h * contrib/hbbtree/hb_btree.c * BYTE -> HB_BYTE except where BYTE was used in OS-specific context. * Some formatting. ; I didn't realign structure definitions in hbrdd*.h yet. * contrib/hbwin/win_regc.c * Minor type cleanup. * src/rtl/gt_tpl/gt_tpl.c * BYTE -> int for color. * examples/hbapollo/apollo.c % Deleted MAX_STR_LEN. 2010-02-07 22:34 UTC+0100 Viktor Szakats * bin/hb-mkimp.bat + Added support for Apollo 7. * utils/hbmk2/hbmk2.prg + Accepting '&&' and '||' as 'and' and 'or' operators. * examples/hbsqlit2/hbsqlit2.hbp * examples/hbapollo/hbapollo.hbp + HB_INC_* -> HB_WITH_* * examples/hbapollo/apollo.c * examples/hbapollo/hbapollo.hbc + Added support for Apollo 7. + Version 6.1 can now be selected by defining HB_WITH_APOLLO_VER61 envvar. * examples/gtwvw/gtwvw.c * HB_LONG -> HB_MAXINT 2010-02-07 21:21 UTC+0100 Viktor Szakats * include/clipdefs.h + Added Clipper compatible legacy types to Clipper compatibility header. They are enabled when HB_LEGACY_TYPES_OFF is set. 2010-02-07 19:02 UTC+0100 Viktor Szakats * src/vm/classes.c * src/rtl/gtdos/gtdos.c * src/rtl/gtxwc/gtxwc.c * src/rdd/wacore.c * src/rdd/dbfnsx/dbfnsx1.c * src/rdd/dbfcdx/dbfcdx1.c * src/rdd/dbffpt/dbffpt1.c * src/compiler/genobj32.c * include/hbinit.h * include/hbrddcdx.h * contrib/xhb/hbcrypt.c * contrib/xhb/freadlin.c * contrib/xhb/txtline.c * contrib/hbnf/descendn.c * contrib/rddsql/sqlmix.c * contrib/rddads/adsx.c * contrib/hbtip/encmthd.c * contrib/hbbmcdx/bmdbfcdx.c * contrib/hbbmcdx/hbbmcdx.h * Formatting. (whitespace only) 2010-02-07 18:36 UTC+0100 Viktor Szakats * include/hbdefs.h + Changed types to have our "new" types as primary ones, and old types as legacy ones. This also means that all old/legacy types are now based on new types. + Added HB_LEGACY_TYPES_OFF #define, with which you can disable all legacy types for testing purposes. This mode will become the default in the future, so start to prepare for the new types. ; NOTE: Harbour and 3rd party components can't be compiled with this switch enabled yet, since there is still some type conversions tasks left. For now its purpose is to look for remaining legacy types in Harbour code. * include/hbvmpub.h * BYTE -> HB_BYTE 2010-02-07 08:56 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/hbqt_hbqplaintextedit.cpp * contrib/hbqt/hbqt_hbqplaintextedit.h * contrib/hbqt/qtgui/HBQPlainTextEdit.cpp * contrib/hbqt/qtgui/THBQPlainTextEdit.prg * contrib/hbqt/qth/HBQPlainTextEdit.qth * contrib/hbide/hbide.prg * contrib/hbide/ideactions.prg * contrib/hbide/ideeditor.prg + Implemented <Line Move Up>, <Line Move Down> - Current Line If the line is already selected, selection is cleared. ! Slight change in <Edit> main-menu drop-down. <Line...> and <Block...> sub-menus now club the line and block actions. ; Please test. 2010-02-07 17:10 UTC+0100 Viktor Szakats * src/vm/hvm.c * src/rdd/dbfntx/dbfntx1.c * src/rdd/dbfnsx/dbfnsx1.c * src/rdd/dbfcdx/dbfcdx1.c * src/rdd/dbf1.c * src/rdd/usrrdd/usrrdd.c * src/rdd/dbffpt/dbffpt1.c * src/rdd/hbsix/sxcompr.c * src/compiler/hbfix.c * src/compiler/hbopt.c * tests/bldtest/bldtest.c * include/hbrddnsx.h * include/hbxvm.h * include/hbdefs.h * include/hbapi.h * include/hbrddntx.h * include/hbrddcdx.h * contrib/hbbmcdx/bmdbfcdx.c * contrib/hbbmcdx/hbbmcdx.h * SHORT -> HB_SHORT. (in some places 'short' is used, these should be synced, noticed it in RDD) 2010-02-07 07:46 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/hbqt_hbqplaintextedit.cpp * contrib/hbqt/hbqt_hbqplaintextedit.h * contrib/hbqt/qtgui/HBQPlainTextEdit.cpp * contrib/hbqt/qtgui/THBQPlainTextEdit.prg * contrib/hbqt/qth/HBQPlainTextEdit.qth * contrib/hbide/hbide.prg * contrib/hbide/ideactions.prg * contrib/hbide/ideeditor.prg * contrib/hbide/idefindreplace.prg + Implemented <Delete Line Ctrl+Del> - Current Line <Indent Right Ctrl+Tab> - Selected Lines <Indent Right Shift+Ctrl+Tab> - Selected Lines Indenting is exercised on selected lines with "one" column at a time. Vailton, can you create icons for above? 2010-02-07 16:54 UTC+0100 Viktor Szakats * src/rtl/gtwvt/gtwvt.c * contrib/gtwvg/gtwvg.c * contrib/hbmisc/hb_f.c * contrib/hbwin/win_dll.c * SHORT type cleanup. Converted to HB_WCHAR, nothing, USHORT, WORD depending on context. 2010-02-07 16:34 UTC+0100 Viktor Szakats * src/rtl/cdpapi.c ! Fixed type when manually correcting 'unsigned char' to UCHAR to sync with declaration. * contrib/gtwvg/gtwvg.c ! Fixed wrong casts (HB_LONG instead of long) * src/pp/ppcore.c * src/vm/macro.c * src/vm/hashes.c * src/vm/itemapi.c * src/vm/hvm.c * src/vm/arrays.c * src/vm/task.c * src/vm/thread.c * src/vm/extend.c * src/common/hbwince.c * src/common/expropt1.c * src/common/hbstr.c * src/common/expropt2.c * src/common/hbdate.c * src/macro/macro.yyc * src/macro/macro.y * src/macro/macro.yyh * src/macro/macrolex.c * src/rtl/gttrm/gttrm.c * src/rtl/hbstrfmt.c * src/rtl/hbcrc.c * src/rtl/minmax.c * src/rtl/hbrandom.c * src/rtl/hbsocket.c * src/rtl/hbbit.c * src/rtl/hbgtcore.c * src/rtl/cputime.c * src/rtl/idle.c * src/rtl/itemseri.c * src/rtl/gtsln/gtsln.c * src/rtl/gtpca/gtpca.c * src/rtl/hbznet.c * src/rtl/hbhex.c * src/rtl/seconds.c * src/rtl/abs.c * src/rtl/gtwvt/gtwvt.c * src/rtl/hbbyte.c * src/rtl/val.c * src/rdd/dbfntx/dbfntx1.c * src/rdd/dbsql.c * src/rdd/sdf1.c * src/rdd/delim1.c * src/rdd/dbf1.c * src/rdd/dbffpt/dbffpt1.c * src/compiler/hbmain.c * src/compiler/complex.c * src/compiler/harbour.yyc * src/compiler/harbour.y * src/compiler/harbour.yyh * include/hbvmpub.h * include/hbgtcore.h * include/hbthread.h * include/hbdefs.h * include/hbmacro.h * include/hbapi.h * include/hbapiitm.h * include/hbznet.h * include/hbvm.h * include/hbcomp.h * include/hbcompdf.h * include/hbexprop.h * include/hbsocket.h * include/hbchksum.h * include/hbexprb.c * include/hbdate.h * contrib/hbct/bitnum.c * contrib/hbct/dbftools.c * contrib/hbct/files.c * contrib/hbct/disk.c * contrib/xhb/xhbfunc.c * contrib/hbcurl/hbcurl.c * contrib/hbnetio/netiocli.c * contrib/hbnetio/netiosrv.c * contrib/gtwvg/gtwvg.c * contrib/gtwvg/wvggui.c * contrib/gtwvg/wvgcore.c * contrib/rddads/ads1.c * contrib/hbwin/olecore.c * HB_LONG -> HB_MAXINT * HB_ULONG -> HB_MAXUINT 2010-02-07 16:03 UTC+0100 Viktor Szakats * include/hbdefs.h ! New Harbour types moved upper in the file to avoid errors reported on the list. - Deleted HB_I8 and HB_U8 types. Practice shows that HB_UCHAR and HB_SCHAR are used instead of these. 2010-02-07 15:15 UTC+0100 Viktor Szakats * src/vm/dynsym.c * src/vm/fm.c * src/vm/classes.c * src/rtl/transfrm.c * src/rtl/filebuf.c * src/rdd/wacore.c * src/compiler/compi18n.c * tests/bldtest/bldtest.c * include/hbcomp.h * include/hbcompdf.h * contrib/xhb/hbserv.c * contrib/hbfimage/fi_wrp.c * UINT -> HB_UINT, unsigned, HB_SIZE, (unchanged) Depending on context. 2010-02-07 14:53 UTC+0100 Viktor Szakats * src/vm/itemapi.c * src/vm/hvm.c * src/vm/arrays.c * src/vm/extend.c * src/common/hbstr.c * src/common/hbdate.c * src/rdd/dbfcdx/dbfcdx1.c * src/compiler/gencc.c * tests/bldtest/bldtest.c * include/hbxvm.h * include/hbdefs.h * include/hbapi.h * include/hbapiitm.h * contrib/hbwin/olecore.c * contrib/hbbmcdx/bmdbfcdx.c * LONGLONG -> HB_LONGLONG * ULONGLONG -> HB_ULONGLONG 2010-02-07 14:40 UTC+0100 Viktor Szakats * contrib/hbct/strdiff.c * contrib/hbct/token2.c * contrib/hbct/charlist.c * contrib/hbct/charonly.c * contrib/hbct/atadjust.c * contrib/hbct/charsort.c * contrib/hbct/charmix.c * contrib/hbct/charevod.c * contrib/hbct/wordrepl.c * contrib/hbct/charrepl.c * contrib/hbct/strswap.c * contrib/hbct/charswap.c * contrib/hbct/charop.c * contrib/hbct/charone.c * contrib/hbct/pos1.c * contrib/hbct/ascpos.c * contrib/hbct/ctstr.c * contrib/hbct/token1.c * contrib/hbct/ctstr.h * contrib/hbct/charmirr.c * contrib/hbct/relation.c * contrib/hbct/atnum.c * contrib/hbct/count.c * contrib/hbct/ctcrypt.c * contrib/hbct/posdiff.c * contrib/hbct/range.c * contrib/hbct/addascii.c * contrib/hbct/tab.c * contrib/hbct/dattime2.c * contrib/hbct/replace.c * contrib/hbct/pos2.c * contrib/hbct/numat.c * contrib/hbct/atrepl.c * contrib/hbct/wordtoch.c * contrib/hbct/ctpad.c * contrib/hbct/justify.c * contrib/hbct/remove.c * size_t -> HB_SIZE % Deleted now unnecessary casts. + Added casts to strlen() calls. * contrib/hbct/ctcrypt.c * ULONG -> HB_SIZE * contrib/hbct/dattime2.c * Formatting. 2010-02-07 14:18 UTC+0100 Viktor Szakats * src/pp/ppcore.c * src/vm/itemapi.c * src/vm/dynlibhb.c * src/vm/set.c * src/debug/dbgentry.c * src/common/expropt1.c * src/common/hbstr.c * src/common/expropt2.c * src/macro/macro.yyc * src/macro/macro.y * src/macro/macro.yyh * src/rtl/scroll.c * src/rtl/gtdos/gtdos.c * src/rtl/gtwin/gtwin.c * src/rtl/gttrm/gttrm.c * src/rtl/transfrm.c * src/rtl/dates.c * src/rtl/filesys.c * src/rtl/chrasc.c * src/rtl/cdpapi.c * src/rtl/hbi18n1.c * src/rtl/itemseri.c * src/rtl/hbhex.c * src/rtl/cdpapihb.c * src/rdd/dbsql.c * src/rdd/dbfnsx/dbfnsx1.c * src/rdd/dbf1.c * src/rdd/hsx/hsx.c * src/rdd/hbsix/sxutil.c * src/rdd/hbsix/sxcompr.c * src/rdd/hbsix/sxcrypt.c * src/compiler/compi18n.c * src/compiler/complex.c * src/compiler/genc.c * src/compiler/harbour.yyc * src/compiler/harbour.y * src/compiler/harbour.yyh * include/hbpp.h * include/hbapicdp.h * include/hbrddnsx.h * include/hbexprb.c * ChangeLog * contrib/hbct/screen2.c * contrib/hbct/pos1.c * contrib/hbct/screen1.c * contrib/hbct/token1.c * contrib/hbct/disk.c * contrib/xhb/xhbmsgs.c * contrib/hbnf/ftattr.c * UCHAR -> HB_UCHAR ; NOTE: In cdp subsystem 'unsigned char' is used instead of HB_UCHAR in many places, maybe it needs cleanup (I've found one inconsistency in a function declaration). ; QUESTION: There is one suspiciously looking usage: ftattr.c / iColor = ( HB_UCHAR ) *pAttrib++; Is it ok? 2010-02-07 13:58 UTC+0100 Viktor Szakats * contrib/hbct/ctchksum.c ! Fixed to not strip const from type. * ULONG -> HB_SIZE, HB_U32 * UCHAR -> HB_UCHAR * contrib/hbct/asciisum.c * size_t -> HB_SIZE * Formatting. 2010-02-07 13:16 UTC+0100 Viktor Szakats * src/vm/fm.c * src/vm/extrap.c * src/common/hbarch.c * src/nortl/nortl.c * src/rtl/binnum.c * src/rtl/hbbffnc.c * src/rtl/hbznet.c * src/rtl/hbbfish.c * src/rtl/hbbyte.c * src/rtl/binnumx.c * src/rdd/dbfcdx/dbfcdx1.c * src/rdd/dbf1.c * src/rdd/hsx/hsx.c * src/rdd/dbffpt/dbffpt1.c * src/rdd/hbsix/sxcrypt.c * src/compiler/cmdcheck.c * include/hbgtcore.h * include/hbdefs.h * include/hbbfish.h * contrib/hbct/bitnum.c * contrib/hbct/ctwin.c * contrib/xpp/binnumx.c * contrib/hbnetio/netiocli.c * contrib/hbnetio/netiosrv.c * contrib/hbbmcdx/bmdbfcdx.c * contrib/hbbtree/hb_btree.c * UINT16 -> HB_U16 * UINT32 -> HB_U32 * UINT64 -> HB_U64 * INT16 -> HB_I16 * INT32 -> HB_I32 * INT64 -> HB_I64 * contrib/hbct/bitnum.c ! Fixed INTNEG(), INTPOS(). Second 'l32bit' parameter was working in reverse. 2010-02-07 12:17 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rdd/dbfcdx/dbfcdx1.c * minor code cleanup * harbour/src/vm/macro.c % eliminated memory allocation in macro compiler for object item assign operation * updated hb_macroGenMessage() to work like hb_compilerGenMessage() * harbour/src/vm/memvars.c * reverted HB_ISIZ -> int * harbour/include/hbmacro.h * harbour/include/hbexprop.h * harbour/include/hbexpra.c * harbour/src/common/expropt1.c - eliminated old hb_compExprNewSend()/hb_macroExprNewSend() + added common for compiler and macrocompiler functions: hb_compExprNewSend(), hb_compExprNewMacroSend(), hb_compExprNewMethodObject() * harbour/include/hbcomp.h * harbour/src/compiler/harbour.y * harbour/src/compiler/harbour.yyc * harbour/src/compiler/harbour.yyh * use new functions for send coperator % eliminated asMessage structure - it was the biggest one so this modification reduce total memory usage by grammar stack + added new terminal symbol MacroAny and simplified some rules using it + added static function hb_compCheckMethod() used for enumerator messages - eliminated public function hb_compForEachVarError() * harbour/src/macro/macro.y * harbour/src/macro/macro.yyc * use new functions for send coperator 2010-02-07 10:47 UTC+0100 Viktor Szakats * include/hbapi.h * src/vm/memvars.c * ULONG -> HB_SIZE where applicable * int -> HB_ISIZ where it was used for size * src/vm/macro.c ! LONG -> long for date/time. * include/hbchksum.h * src/rtl/hbadler.c * src/rtl/hbcrc.c * src/rtl/hbi18n1.c * contrib/hbmzip/hbmzip.c * ULONG -> HB_U32 for crc32 and adler32 * ULONG -> HB_U16 for crc16 (the crc table was also changed to HB_U16, pls speak up if this may cause less-optimal performance than previous state.) * int -> HB_ISIZ where it was used for size (in adler loop) * include/hbapi.h * HB_VMHANDLE is now mapped to 'unsigned long' instead of ULONG * contrib/hbwin/win_bmp.c - Deleted no more necessary cast. 2010-02-07 01:00 UTC+0100 Viktor Szakats * src/vm/runner.c ! Fixed error reported by Petr. I'm not really sure about the problem, and current code is not 100% future proof as an HB_SIZE is passed by reference where ULONG ptr is expected. * include/hbsetup.h + Added HB_DEPRECATED. Can be used as function or variable attribute. 2010-02-06 15:21 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/resources/findinfiles.ui * contrib/hbide/resources/findinfiles.uic * contrib/hbide/hbide.ch * contrib/hbide/hbide.prg * contrib/hbide/idefindreplace.prg * contrib/hbide/ideobject.prg * contrib/hbide/idesaveload.prg ! Fixed for RegEx to be compiled with case sensivity. BTW, hb_regEx( compiledRegExp, cString, lCaseSensitive, ... ) does not honor <lCaseSensitive> attribute. Only hb_compRegEx() honors. + Implemented to remember last find folder and search expression. 2010-02-06 13:44 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/resources/findinfiles.ui * contrib/hbide/resources/findinfiles.uic * contrib/hbqt/qtgui/QSizePolicy.cpp * contrib/hbqt/qth/QSizePolicy.qth * contrib/hbqt/THbQtUI.prg * contrib/hbide/hbide.prg * contrib/hbide/idedocks.prg * contrib/hbide/ideeditor.prg * contrib/hbide/idefindreplace.prg * contrib/hbide/ideobject.prg + Added more info in "Results". ! Core normalization. + Implemented RegEx search. I am not good at this engine, please test. % Changed TODO => DONE in one entry in ChangeLog. 2010-02-06 19:51 UTC+0100 Viktor Szakats * src/vm/runner.c * BYTE -> char * contrib/hbct/ctstrfil.c * LONG -> HB_ISIZ * contrib/hbmzip/hbmzip.c * Changed to use FS API instead of C RTL. * Using std Harbour method to include windows.h. * package/winuni/RELNOTES + Added note about downgrade to mingw64 4.4.0, which is a more stable release than 4.5.0, and where .dlls also work properly. * config/wce/mingwarm.mk * config/win/mingw.mk ! Fixed to not use -fomit-frame-pointer option for debug builds. ! Hack added to disable -fomit-frame-pointer for hbwin lib. ; FIXME: Fix hb_Dynacall() to not be sensitive on this option in mingw builds. Is it possible? [DONE] 2010-02-06 16:04 UTC+0100 Viktor Szakats * src/rtl/filesys.c * src/rtl/philes.c * src/rtl/filebuf.c * src/rtl/memofile.c * src/rdd/dbsql.c * src/rdd/hbsix/sxcompr.c * doc/en-EN/hb_apifs.txt * include/hbapifs.h * contrib/hbct/ctstrfil.c * contrib/hbsqlit3/hbsqlit3.c * contrib/hbmzip/hbmzip.c * contrib/hbnf/fttext.c * contrib/hbmemio/memio.c * contrib/hbnetio/netiocli.c * contrib/hbnetio/netiosrv.c * contrib/hbgd/gdwrp.c * contrib/hbwin/win_bmp.c * contrib/hbbmcdx/bmdbfcdx.c * examples/gtwvw/gtwvw.c * Changed ULONG to HB_SIZE and HB_ISIZ in FS API functions. ! hb_fsTell() fixed to return HB_FOFFSET instead of ULONG. * contrib/hbmzip/hbmzip.c * ULONG -> HB_FATTR, uLong * Type cleanups. ; QUESTION: Is there any reason why we're not using the hb_fs*() functions in hb_zipGetFileInfo()? * src/vm/runner.c * ULONG -> HB_SIZE for size related variables. ; Review me please. 2010-02-06 14:00 UTC+0100 Viktor Szakats * src/vm/garbage.c * src/vm/fm.c * src/vm/vm.c * include/hbapi.h * ULONG -> HB_SIZE in memory allocation functions. 2010-02-06 12:46 UTC+0100 Viktor Szakats * src/rdd/dbf1.c * src/compiler/hbopt.c * SCHAR -> HB_SCHAR * external/libhpdf/hpdffdft.c * utils/hbmk2/hbmk2.prg * Cleaned to not add double ending pathsep to Harbour -o option. * contrib/gtalleg/gtalleg.c * contrib/gtalleg/ssf.h * contrib/gtalleg/ssf.c * BYTE -> unsigned short, int, HB_BYTE * USHORT -> unsigned short * Some types synced between declaration and definition. * Formatting, code cleanups. 2010-02-06 12:10 UTC+0100 Maurilio Longo (maurilio.longo@libero.it) * src/rtl/fstemp.c + Added OS/2 section to hb_fsTempDir() which uses the environment variable "TEMP" to find out the temporary directory. 2010-02-05 18:34 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/hbide.prg * contrib/hbide/idefindreplace.prg ! Fixed "Stop" to work as expected in "Find in Files" dialog. 2010-02-05 17:52 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbxbp/xbpdialog.prg ! Fixed a long-standing bug where oDlg:close slot was hiding the window instead of passing taking appropriate action when user was opting not to close the window returning .F. from this codeblock. 2010-02-05 10:11 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/hbqt_hbslots.cpp ! Fixed wrong number of parameters push to hb_vmEvalBlockV(). 2010-02-05 08:59 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/resources/findinfiles.ui * contrib/hbide/resources/findinfiles.uic * contrib/hbqt/THbQtUI.prg * contrib/hbide/hbide.ch * contrib/hbide/hbide.prg * contrib/hbide/ideeditor.prg * contrib/hbide/idefindreplace.prg * contrib/hbide/idemisc.prg * contrib/hbide/ideprojmanager.prg * contrib/hbide/idesaveload.prg + Implemented "Search" option activated via "Search" toolbar icon. This implementation presents a dialog to select any number of available "Projects", one "Folder", and "Opened Tabs" in any combination". The results are presented in within-the-dialog edit window in a nicely colored and formatted way. This editor also provides for "Select All", "Copy", "Clear", "Print", "Find...", "Zoom In/Out" and some more ( to be activated ) options. These options are visible in context menu activated with right-clicking inside the "Results" editor. This implemetation also facilitates multiple instances of the "Search" dialogs carrying on the operation at the same time. Double-click on any line will open an edit-tab in the main editing area, cursor will be positioned highlighted on the "Expression" string, keeping the focus in "Results" editor only. Normal usage is carrying the expected actions but I must be ignoring something important. Please test. Please forward any suggessions you think will make it more useful. ; DONE: Regex implementation. TODO: Regex for multiple lines. Including sub-folders. Including sub-projects. "Replace" implementation ( I am exploring how it can be safest ) 2010-02-05 13:54 UTC+0100 Viktor Szakats * src/rtl/gttone.c + Using ANSI C types. ! ULONG -> DWORD for Windows API calls. * src/rtl/direct.c ! ULONG -> HB_FATTR * src/rtl/itemseri.c * include/hbapiitm.h * ULONG -> HB_SIZE * src/rtl/samples.c + Using ANSI C types. This fixes possible incompatibilities with original .prg implementation in Clipper. * contrib/hbhpdf/harupdf.c * Conversion to libharu BOOL value cleaned. * include/hbapicdp.h * utils/hbmk2/hbmk2.prg * Formatting. 2010-02-05 11:25 UTC+0100 Viktor Szakats * src/rtl/setpos.c * src/rtl/console.c ! Fixed SETPOS() and DEVPOS() to return the first parameter unconditionally. For SETPOS() it's protected with 'HB_CLP_UNDOC or HB_COMPAT_C53', for DEVPOS() it's protected with 'HB_CLP_UNDOC' only. * src/rtl/diskspac.c * Using 'int' for drive spec. * Minor cleanup. ; Please review me. 2010-02-05 04:50 UTC+0100 Viktor Szakats * src/rtl/sha1.c * src/rtl/sha1.h * src/rtl/hbsha1hm.c * src/rtl/sha2.c * src/rtl/sha2.h * src/rtl/hbsha2hm.c * src/rtl/sha1hmac.c * src/rtl/sha1hmac.h * src/rtl/hbsha1.c * src/rtl/sha2hmac.c * src/rtl/sha2hmac.h * src/rtl/hbsha2.c + Not using HB_BYTE type anymore. + Using 'const void*' type for key/data variables in public functions. % Deleted unnecessary casting. 2010-02-05 04:27 UTC+0100 Viktor Szakats * src/rtl/sha1.c * src/rtl/sha1.h * src/rtl/hbsha1hm.c * src/rtl/hbmd5.c * src/rtl/hbsha2hm.c * src/rtl/sha1hmac.c * src/rtl/sha1hmac.h * src/rtl/hbsha1.c * src/rtl/sha2hmac.c * src/rtl/sha2hmac.h * src/rtl/hbsha2.c * BYTE -> HB_BYTE * UINT32 -> HB_U32 + Added 'const' keyword to low-level SHA2 related functions where it was missing. % Added static to SHA1_Transform(). * include/hbgtcore.h * Formatting. 2010-02-05 03:06 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/filesys.c * updated HB_FS_[SG]ETDRIVE() macros to operate on 'int' type * changed 'unsigned int' to 'int' in code using HB_FS_[SG]ETDRIVE() macros 2010-02-05 01:22 UTC+0100 Viktor Szakats * src/rtl/filesys.c * UINT -> unsigned int * Rename: bRead -> fRead, bResult -> fResult, usError -> nResult, uiResult -> nResult * Formatting. * include/hbapifs.h * src/rtl/filesys.c * src/rtl/philes.c * src/rtl/philesx.c * contrib/hbct/disk.c * contrib/xhb/xhbfunc.c * Drive letter type change from USHORT/BYTE to int. + Extra checks added to enforce positive value. % Optimized out fResult from hb_fsCurDirBuff(), plus related cleanups. ; Peer-review it please. * src/rtl/fstemp.c * Pacified warnings. * contrib/hbwin/Makefile + contrib/hbwin/wapi_wingdi_font.c + Added WAPI_ADDFONTRESOURCEEX(). + Added WAPI_REMOVEFONTRESOURCEEX(). 2010-02-05 01:30 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) + harbour/contrib/hbcairo/tests/lightning.prg + one more simple image generator sample 2010-02-04 22:23 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/vm/task.c * harbour/src/vm/classes.c * harbour/src/rtl/strpeek.c * updated to use ANSI types * harbour/src/rtl/hbmd5.c % small optimization (more compiler friendly code due to fixed alignment) 2010-02-04 21:01 UTC+0100 Viktor Szakats * src/rtl/console.c * src/rtl/shadow.c ! Fixed three remaining places where color value was cast to BYTE type. ; QUESTION1: What to do with BYTE in hb_fs*Drv() calls? Should it be int or unsigned int? [DONE: int] ; QUESTION2: What to do with BYTE types in checksum calculations and low-level color storage, is HB_U8 type good? [DONE: HB_BYTE] * src/rtl/transfrm.c * src/rtl/memofile.c * BYTE -> char * src/rtl/gtkbstat.c * Formatting. 2010-02-04 20:24 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/achoice.prg ! exit with 0 without activating user function when empty item array is passed - Clipper compatible behavior 2010-02-04 19:14 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapifs.h * harbour/src/rtl/filebuf.c * harbour/contrib/hbmemio/memio.c * harbour/contrib/hbnetio/netiocli.c + added new method: void Flush( PHB_FILE pFile, HB_BOOL fDirty ); to replaceable RDD IO structure (HB_FILE) + added new function: void hb_fileFlush( PHB_FILE pFile, HB_BOOL fDirty ); * harbour/src/rdd/dbfntx/dbfntx1.c * harbour/src/rdd/dbfnsx/dbfnsx1.c * harbour/src/rdd/dbfcdx/dbfcdx1.c * harbour/src/rdd/dbffpt/dbffpt1.c * use hb_fileFlush() * harbour/src/vm/hvm.c * harbour/include/hbxvm.h ! fixed hb_xvm{Local,Static,Module}Name() to use 'const char *' instead of 'char *' - modifications by Xavi (jarabal) * harbour/include/hbapi.h * harbour/include/hbxvm.h * harbour/include/hbmacro.h * harbour/include/hbcompdf.h * harbour/src/vm/hvm.c * harbour/src/vm/macro.c * harbour/src/vm/memvars.c * replaced some 'BYTE' types with 'unsigned char' or 'int' types * cleanup some other casting and types to reduce conversions between function calls * harbour/src/common/expropt1.c ; updated comments * harbour/include/hbpp.h * harbour/include/hbexprop.h * harbour/include/hbexpra.c * harbour/include/hbexprb.c * eliminated HB_EXPR_PCODE?() macros ! fixed potential GPF trap during compilation of _GET_() functions which can be exploited by strange code using some special expressions as get variable. TODO: eliminate hb_compExprClone() used in hb_compExprSetGetBlock(), our optimization module does not care about shared expressions so it can be source of serious problems in the future if someone use this functions for non optimized expression which will be reduced later. [DONE] * emulate clipper behavior for codeblock optimizations and do not optimize all codeblocks if -kc switch is used and codeblocks is inside non optimized part of code like (Clipper has such places) % simplified and optimized some functions like hb_compExprReduceList() 2010-02-04 18:11 UTC+0100 Viktor Szakats * contrib/hbfbird/tests/test.prg ! Fixed to work at all. This code was complete nonsense. + Added more status display. ; Anyhow basic tests shows that recent FB changes are okay, but class wrapper never worked and tests were either dummies or wrong. Please test hbfbird with real life code. * contrib/hbfbird/tests/stress.prg * Formatting. * contrib/hbfbird/tests/testapi.c ! Fixed to not refer to env specific IP. The table name is still wrong though. * contrib/hbfbird/tfirebrd.prg + Added FIXME about very old and very basic problem in the FB class wrapper. 2010-02-04 12:56 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added hbmk2_PathMakeRelative(). The opposite of PathProc(). Current form is not optimized and only moderately tested: hbmk2_PathMakeRelative( "", "" ) hbmk2_PathMakeRelative( "", "hello.prg" ) hbmk2_PathMakeRelative( "", "proj\hello.prg" ) hbmk2_PathMakeRelative( "C:\this", "C:\this\that\proj\" ) hbmk2_PathMakeRelative( "C:\this", "C:\this\that\proj\hello.prg" ) hbmk2_PathMakeRelative( "C:\this", "C:\that\that\proj\hello.prg" ) hbmk2_PathMakeRelative( "C:\this", "C:\that\that\proj\hello.prg", .T. ) hbmk2_PathMakeRelative( "D:\this", "C:\that\that\proj\hello.prg" ) hbmk2_PathMakeRelative( "C:\this\test", "C:\this\test\that\proj\hello.prg" ) hbmk2_PathMakeRelative( "C:\this\test", "C:\that\that\proj\hello.prg" ) hbmk2_PathMakeRelative( "C:\this\test", "C:\that\that\proj\hello.prg", .T. ) hbmk2_PathMakeRelative( "D:\this\test", "C:\that\test\that\proj\hello.prg" ) * contrib/hbfbird/tests/simple.prg * contrib/hbfbird/tests/test.prg * contrib/hbfbird/tests/stress.prg ! Fixed references to absolute paths non-existent on users computer. ! Fixed IP address to be 127.0.0.1 instead of previous env specific value. * Indented. * Some formatting. 2010-02-04 10:16 UTC+0100 Viktor Szakats * contrib/hbmysql/mysql.c ! Fixed to use GC collected objects. + Added RTEs when wrong object is passed. ! Fixed to make MYSQL_FIELD_COUNT() available regardless of mysql lib version we're building against. It will return zero if mysql lib doesn't support it. ; Deprecated MYSQL_CLOSE() and MYSQL_FREE_RESULT(). It's enough to replace them with NIL assigments, or simply delete them. ; Please test it. * contrib/hbmysql/tmysql.prg + Changed to not use deprecated functions. * src/common/hbffind.c * src/rtl/fssize.c * Formatting. 2010-02-04 09:19 UTC+0100 Viktor Szakats * contrib/hbfbird/firebird.c + Added GC collected object for db connection. * Replaced HB_RETNL_FBERROR() with actual code to make code flow apparent. * Replaced DIALECT constant with Firebird predefined one. ! Fixed to use ISC_STATUS_ARRAY instead of status arrays with arbitrary sizes like MAX_FIELDS. + Throwing RTEs if non-db pointer is passed in places where it is required. * Adjusted scope of some variables. ! Fixed several leaks in FBQUERY(). % Optimized to use hb_xrealloc() instead of using subsequent hb_xfree()/hb_xgrab() calls. % Other optimizations. + Added FIXME to more memory leaks. ! Fixed FBGETDATA() to not crash when NULL pointer is passed. ! Fixed FBGETDATA() to not crash when negative position parameter is passed. ; FIXME: Convert remaining memory objects to GC collected ones. Unfortunately the code is quite dirty in this respect, so it require more serious rewrite in places. ; FIXME: Address FIXMEs in code. ; Please test it, I don't use this, and didn't make functional tests. * contrib/hbfbird/tests/test.prg + Displays error on connection failure. * Formatting. 2010-02-03 21:59 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added {HB_TEMPDIR} macro which is replaced with HB_DIRTEMP() value. 2010-02-03 20:59 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + Enabled -workdir option for non -inc mode. * Change default workdir to be the OS temp dir. Please test it, especially on non-win OSes. 2010-02-03 20:34 UTC+0100 Viktor Szakats * src/rtl/fstemp.c * include/hbapifs.h * include/hbextern.ch + Added HB_DIRTEMP() .prg level function. Returns name of temp dir, with closing backslash. + Added hb_fsTempDir() .c level function. ; Please review, especially MS-DOS, OS/2, which I won't be able to test. * src/rtl/fstemp.c * Cleanup: Deleted hb_fsCreateTempLow(), made layout more clear. ; FIXME: For some builds, MS-DOS, OS/2 and WIN without WIN IO the temp directory will be wrongly calculated by checking TMPDIR envvar. Such envvar seems *nix specific. If new hb_fsTempDir() will be tested, above can be fixed by using this new function. [DONE] * package/winuni/RELNOTES + Noted update to Firebird 2.5.0rc1 * contrib/hbpgsql/postgres.c + Marked recently deprecated function as HB_LEGACY_LEVEL3. * contrib/hbfbird/firebird.c * Cleanup for a macro. * contrib/hbnetio/utils/netiosrv.prg + Using HB_HRB_BIND_FORCELOCAL when loading .hrb. * contrib/hbnetio/utils/modules/test.prg + Marked function as STATIC. * ChangeLog * Old TODO marked DONE. 2010-02-03 19:08 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbvm.h * harbour/src/vm/hvm.c * covered hb_vmPushState() and hb_vmPopState() functions by HB_LEGACY_LEVEL3 macro. These functions are depreciated, hb_vmRequestReenter()/hb_vmRequestRestore() should be used instead. 2010-02-03 15:01 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbct/video.c * pacified DJGPP warning * harbour/external/jpeg/Makefile * define HAVE_STDLIB_H - it's necessary for exit() function used in jerror.c 2010-02-03 14:55 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.pt_BR.po * utils/hbmk2/hbmk2.hu_HU.po * utils/hbmk2/hbmk2.prg + Added some details on <script> usage. Most probably it's still confusing, I you know a better way, tell. * contrib/hbfimage/fi_winfu.c * Formatting. 2010-02-03 14:24 UTC+0100 Viktor Szakats * contrib/hbfbird/tfirebrd.prg + Formatted. ! Indented. % Optimized to use SWITCH/CASE. % Optimized to avoid ASize() and AAdd() in a few places. 2010-02-03 12:47 UTC+0100 Viktor Szakats * contrib/hbpgsql/tpostgre.prg + Formatted. ! Indented. % Optimized to use SWITCH/CASE. % Optimized to avoid ASize() and AAdd() in a few places. + Using constants for structure array positions. * contrib/hbpgsql/tpostgre.prg * contrib/hbpgsql/postgres.ch * contrib/hbpgsql/postgres.c + Added and using HBPG_META_* constants. 2010-02-03 11:40 UTC+0100 Viktor Szakats * contrib/hbpgsql/pgrdd.prg ! Fixed to not call ALERT(). * contrib/hbpgsql/pgrdd.prg * contrib/hbpgsql/tpostgre.prg + Changed to not call deprecated destructor functions. * contrib/hbpgsql/postgres.ch ! Added copyright header. * contrib/hbpgsql/postgres.c - Minor in comments. * contrib/hbide/hbide.hbp - Deleted commented options. Use command-line instead of temp edits in SVN files. 2010-02-03 11:15 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rdd/dbfcdx/dbfcdx1.c ! do not verify FOR expression just after loading new index file in SIXCDX RDD. It's CL52 DBFCDX / SIX3 SIXCDX compatible behavior but Harbour DBFCDX and CL53 DBFCDX / COMIX verifies both KEY and FOR expressions when index is loaded. ! fixed RTE numbers to be CL53 compatible when index with wrong (returning wrong results) KEY or FOR expression is loaded. 2010-02-03 03:45 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/vm/hvm.c * harbour/src/vm/itemapi.c * harbour/src/rtl/errapi.c * harbour/contrib/xhb/cstructc.c * changed HB_TRACE_STEALTH() to HB_TRACE() * harbour/include/hbtrace.h * harbour/include/hbstack.h * harbour/src/vm/estack.c * harbour/src/nortl/nortl.c + added hb_traceset() and hb_traceinfo() * harbour/include/hbtrace.h * harbour/src/common/hbtrace.c * use hb_traceset()/hb_traceinfo() instead of hb_tr_file_, hb_tr_line_, hb_tr_level_ - removed hb_tr_file_, hb_tr_line_, hb_tr_level_ + added hb_tr_stealth() function and modified HB_TRACE_STEALTH() macro to not touch any of hb_tr_*_ global variables + added HB_TR_FM macro which can be used to infrom FM statistic module that it should take filename and line number from hb_tr_*_ global variables * harbour/src/vm/fm.c - removed dummy code with HB_TR_LEVEL setting - HB_TR_LEVEL is always defined by hbtrace.h * use hb_traceset()/hb_traceinfo() instead of hb_tr_file_, hb_tr_line_, hb_tr_level_ * respect HB_TR_FM * harbour/src/rtl/gttrm/gttrm.c * formatting * harbour/src/vm/itemapi.c * harbour/src/vm/extend.c * harbour/src/rtl/descend.c * harbour/src/rtl/hbgtcore.c * harbour/src/rtl/mtran.c * harbour/src/rtl/samples.c * harbour/src/common/hbstr.c * harbour/src/common/hbdate.c ! fixed possible GPF traps in HB_TRACE() messages caused by %s used for not \0 terminated strings or uninitialized buffers 2010-02-02 16:24 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/hbide.hbp * contrib/hbide/hbide.prg * contrib/hbide/idedocks.prg * contrib/hbide/idefindreplace.prg * contrib/hbide/idemisc.prg * contrib/hbide/ideprojmanager.prg * contrib/hbide/iderequests.prg * contrib/hbide/idethemes.prg * contrib/hbide/resources/projectproperties.ui + contrib/hbide/resources/finddialog.uic + contrib/hbide/resources/findinfiles.uic + contrib/hbide/resources/findsource.uic + contrib/hbide/resources/mainwindow.uic + contrib/hbide/resources/projectproperties.uic + contrib/hbide/resources/selectionlist.uic + contrib/hbide/resources/selectproject.uic + contrib/hbide/resources/themes.uic * contrib/hbqt/hbqt.ch * contrib/hbqt/qtgui/QLabel.cpp * contrib/hbqt/qtgui/QSizePolicy.cpp * contrib/hbqt/qtgui/QSpacerItem.cpp * contrib/hbqt/qth/QLabel.qth * contrib/hbqt/qth/QSizePolicy.qth * contrib/hbqt/qth/QSpacerItem.qth * contrib/hbqt/THbQtUI.prg * contrib/hbxbp/xbpdialog.prg * contrib/hbxbp/xbpwindow.prg + This commit implements .uic files generated via uic.exe of Qt distribution given a .ui file. And hence eliminated the wooping cargo of QtUiTools.lib which consumes arount 23+ MB over and above of application load. All the dialogs/windows used in hbIDE are fully functional. This implementation is in parallel of previous one and either can be used. The difference in syntax is ( and as used in hbIDE ) #ifdef HBIDE_USE_UIC oDlg := HbQtUI():new( ::oIDE:resPath + "selectproject.uic", ::oDlg:oWidget ):build() #else oDlg := HbQtUI():new( ::oIDE:resPath + "selectproject.ui", ::oDlg:oWidget ):create() #endif To take advantage of this feature you need to compile hbIDE with -dHBIDE_USE_UIC. You can examine the task manager for memory usage, with and without -dHBIDE_USE_UIC. Please note that this implementation is not 100% complete. I could synchronize the dialogs of hbIDE only. Though most of the code is good for daily-use widgets still we need to add some more functionality into the code. But it is simple. Mainly we be needing more constants included in hash to convert string defines to numeric representation. Please test and report any issues. 2010-02-03 00:40 UTC+0100 Viktor Szakats * contrib/hbpgsql/postgres.c % Optimizations. * contrib/hbpgsql/postgres.c * contrib/hbgd/gdwrp.c * contrib/hbbmcdx/bmdbfcdx.c % 'hb_itemRelease( hb_itemReturnForward( p ) )' -> 'hb_itemReturnRelease( p )' 2010-02-02 22:23 UTC+0100 Viktor Szakats * contrib/hbpgsql/postgres.c ! PQEXECPARAMS() fixed to not GPF when non-array is passed as 3rd parameter. ! PQESCAPEBYTEACONN() fixed to not GPF when non-string is passed as 2nd parameter. ! PQFNUMBER() fixed GPF (after prev commit) % Deleted hb_pcount() checks. This served no useful purpose. It's better to check for HB_IS*() is we want to enforce some parameters. 2010-02-02 21:50 UTC+0100 Viktor Szakats * contrib/hbpgsql/postgres.c * contrib/hbpgsql/tests/test.prg * Destructor PQCLOSETRACE() marked as deprecated, replaced in test app with NIL assignment. ! Fixes to FILE object type. ; All this is only relevant if built with NODLL flag. 2010-02-02 21:44 UTC+0100 Viktor Szakats * contrib/hbpgsql/postgres.c + Added GC support for all remaining pointer types (result/cancel/FILE). + Added RTE when wrong pointer or wrong number of parameter is passed to functions. This means that behavior is now INCOMPATIBLE when wrong parameters are encountered in these functions. ; Destructor functions PQFREECANCEL(), PQCLOSE(), PQCLEAR() marked as 'deprecated'. These are not needed, it's enough to assign NIL to their holder variables on .prg level. % Cleanups along the way. ; TODO: Fix sloppy parameter checking which only check number of parameters instead of enforcing expected type. [DONE] ; Please test. * contrib/hbpgsql/tests/async.prg * contrib/hbpgsql/tests/test.prg * contrib/hbpgsql/tests/cache.prg * contrib/hbpgsql/tests/stress.prg % Replaced deprecated destructor functions with '<var> := NIL'. * utils/hbmk2/hbmk2.prg * Formatting. 2010-02-02 17:58 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/direct.c ! do not strip other attributes when "V" is set - it's neither DOS not Clipper compatible behavior Clipper passes attributes to OS and then OS decides about their interpretation, i.e. FreeDOS replicates hardcoded in our previous DIRECTORY() code behavior but MS-DOS doesn't. % small simplification * harbour/src/common/hbffind.c ! fixed emulation of DOS volum attribute in MS-Windows builds of hb_fsFindFirst()/hb_fsFindNext(). It also fixes problem in HBCT FILEATTR() function in MS-Windows builds. This is still not full DOS emulation. Exact emulation should automatically add trailing \ to given path, detect drive letter and resolve their current directories. If some windows users think it's important then they can extend this emulation. Now it can be done as local modifications only. Please test with real MS-Windows. ! fixed error code setting in UNICODE MS-Windows builds of hb_fsFindFirst()/hb_fsFindNext(). * harbour/contrib/hbct/files.c * removed old hack which is not longer necessary for current code. * harbour/include/hbapifs.h * small modifications to make HB_FNAME structure alignment independent * harbour/src/vm/hvm.c ! fixed GPF when WITH OBJECT reference is used inside codeblock evaluated outside WITH OBJECT / ENDWITH structure TODO: forbid using WITH OBJECT references in nested codeblocks 2010-02-01 01:32 UTC+0100 Viktor Szakats * src/rtl/cdpapi.c % Deleted unnecessary hbvm.h header. (hb_vmCDP() is declared in hbapicdp.h, is this ok?) 2010-02-01 01:28 UTC+0100 Viktor Szakats * src/rtl/Makefile * src/rtl/cdpapi.c + src/rtl/cdpapihb.c * include/hbapicdp.h + Moved Harbour level functions to a separate file. I had to rename and publish three static functions. Eventually the low-level part should go to hbcommon lib. ; TODO: HB_CDPLIST() is still to be moved, I couldn't find out elegant low-level API to solve it. 2010-01-31 18:39 UTC+0100 Viktor Szakats * contrib/hbide/resources/projectproperties.ui ! hbMK2.exe -> hbmk2 2010-01-31 12:11 UTC+0100 Viktor Szakats * contrib/hbct/files.c * 0 -> HB_FA_ALL. * utils/hbmk2/hbmk2.pt_BR.po * utils/hbmk2/hbmk2.hu_HU.po * utils/hbmk2/hbmk2.prg + Added verbose information when hbmk2 is run from outside Harbour tree and HB_INSTALL_PREFIX is not set either. Just a wild guess what might cause difficulty for some users when trying to use hbmk2. * src/rtl/fssize.c * contrib/hbqt/hbqt_hbevents.cpp * Formatting. 2010-01-30 19:28 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/generator/qt45.qtp * contrib/hbqt/hbqt_garbage.h * contrib/hbqt/qtgui/filelist.mk * contrib/hbqt/qtgui/HBQMainWindow.cpp ! Left-over entries from prev post. 2010-01-30 18:35 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/generator/hbqtgen.prg * contrib/hbqt/hbqt_garbage.h * contrib/hbqt/hbqt_hbevents.cpp * contrib/hbqt/hbqt_hbevents.h * contrib/hbqt/hbqt_hbqmainwindow.cpp * contrib/hbqt/hbqt_hbslots.cpp + contrib/hbqt/qth/HBQMainWindow.qth * contrib/hbqt/tests/demoqt.prg * contrib/hbxbp/hbpprocess.prg * contrib/hbxbp/xbp3state.prg * contrib/hbxbp/xbpbrowse.prg * contrib/hbxbp/xbpcheckbox.prg * contrib/hbxbp/xbpcombobox.prg * contrib/hbxbp/xbpdialog.prg * contrib/hbxbp/xbpfiledialog.prg * contrib/hbxbp/xbpfontdialog.prg * contrib/hbxbp/xbphtmlviewer.prg * contrib/hbxbp/xbplistbox.prg * contrib/hbxbp/xbpmenubar.prg * contrib/hbxbp/xbpprintdialog.prg * contrib/hbxbp/xbprtf.prg * contrib/hbxbp/xbpscrollbar.prg * contrib/hbxbp/xbpsle.prg * contrib/hbxbp/xbpspinbutton.prg * contrib/hbxbp/xbpstatusbar.prg * contrib/hbxbp/xbptabpage.prg * contrib/hbxbp/xbptoolbar.prg * contrib/hbxbp/xbptreeview.prg * contrib/hbxbp/xbpwindow.prg * contrib/hbide/hbide.prg * contrib/hbide/idedocks.prg * contrib/hbide/ideeditor.prg * contrib/hbide/idefindreplace.prg * contrib/hbide/ideprojmanager.prg * contrib/hbide/idethemes.prg ! This commit has cleaned Qt wrappers not to hold any GC collectible pointer inside. Events and Slots protocol is completely re-structured. % Improved HB_TRACE() logs. Now Qt wrappers can be generated with relevant filter if env variable HBQT_BUILD_TR_LEVEL=HB_TR_ALWAYS|ERROR|etc defalt being TR_LEVEL_DEBUG. The formatting is also improved. % Signals are fired with exact same parametres found in Qt documentation. Eearlier first parameter was object pointer followed by slots's parameters. This facilitates for the speed and better code maintenance. ! Intensive debugging has shown that - operator new() - is always called from cpp stub generated by hbMK2 but for operater delete(), behavior is inconsistent. All classes derived from QObject() never call delete() in the stub, some classes, which Qt defines as "on the stack" call our stub and hence memory is released. Perhaps this is the main reason, I cannot get back all the momory if another dialog is opened and closed. All claases which are derived from Qt class, viz., HbQ* are released properly. Looking at this behavior it comes to mind if all classes are sub-classed? A very huge job nevertheless which I may take later. * contrib/hbqt/qtcore/*.cpp * contrib/hbqt/qtgui/*.cpp * contrib/hbqt/qtnetwork/*.cpp ;NOTE : Regression is possible. Please report any issues. 2010-01-29 21:29 UTC+0100 Viktor Szakats * contrib/hbtpathy/telepath.prg % Using HB_MILLISECONDS() instead of SECONDS(). ! TP_RECVTO(), TP_FLUSH() fixed to honor -1 timeout. ; Please review. No tests made besides compiling and reviewing. 2010-01-29 20:14 UTC+0100 Viktor Szakats * contrib/hbtpathy/telepath.prg ! Fixed typo in commented code in prev commit. 2010-01-29 20:11 UTC+0100 Viktor Szakats * contrib/hbtpathy/telepath.prg ! Fixed "midnight bug" in several TP functions having timeout option (it was wrong in all places). Reported by AbeB. ; Please review/test, I didn't make _any_ testing whatsoever. 2010-01-29 18:34 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/hbsocket.c * do not try to resolve NULL or empty addresses in hb_socketResolveAddr() 2010-01-29 09:19 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/hbide.prg * contrib/hbide/ideactions.prg * contrib/hbide/idedocks.prg * contrib/hbide/ideeditor.prg * contrib/hbide/idefindreplace.prg * contrib/hbide/idemisc.prg * contrib/hbide/ideprojmanager.prg * contrib/hbide/idethemes.prg * contrib/hbqt/filelist.mk * contrib/hbqt/generator/qt45.qtp * contrib/hbqt/hbqt.h * contrib/hbqt/qtcore/filelist.mk + contrib/hbqt/qtcore/QBuffer.cpp + contrib/hbqt/qtcore/TQBuffer.prg + contrib/hbqt/qth/QBuffer.qth - contrib/hbqt/THbpQtUI.prg + contrib/hbqt/THbQtUI.prg * contrib/hbxbp/hbpprocess.prg * contrib/hbxbp/xbpfontdialog.prg * contrib/hbxbp/xbpgeneric.prg * contrib/hbxbp/xbphtmlviewer.prg * contrib/hbxbp/xbplistbox.prg * contrib/hbxbp/xbpmenubar.prg * contrib/hbxbp/xbpprintdialog.prg * contrib/hbxbp/xbpstatusbar.prg * contrib/hbxbp/xbptoolbar.prg * contrib/hbxbp/xbptreeview.prg * contrib/hbxbp/xbpwindow.prg -+ HbpQtUI => HbQtUI. ! Cleaned :pPtr := 0 => :pPtr := NIL + Implemented QBuffer() class which allows to load .u from .prg embedding or from database. 2010-01-29 13:09 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rdd/dbfcdx/dbfcdx1.c ! fixed possible unreleased lock after last modification in SIXCDX - many thanks to Mindaugas for the information 2010-01-28 18:03 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/filelist.mk + contrib/hbqt/THbpQtUI.prg - contrib/hbxbp/hbpqtui.prg * contrib/hbxbp/Makefile * contrib/hbxbp/xbpdialog.prg * contrib/hbxbp/xbpwindow.prg * contrib/hbide/hbide.prg * contrib/hbide/idedocks.prg * contrib/hbide/idefindreplace.prg * contrib/hbide/ideprojmanager.prg * contrib/hbide/idethemes.prg -+ Shifted HbpQtUI() class from hbXBP to hbQT. 2010-01-29 00:34 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg % Re-merged Harbour and xhb section in .c stub. * TODO * xHarbour -> Harbour. 2010-01-28 23:24 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rdd/dbfcdx/dbfcdx1.c + enabled automatic template order setting in Harbour SIXCDX RDD using the same method as SIX3 SIXCDX RDD seems to use: by checking leading character of key expression for: "sxChar(", "sxDate(", "sxNum(" and "sxLog(" Warning: This code is enabled only for SIXCDX RDD and DBFCDX was not modified. * disabled RTE in SIXCDX when key add/del operation are executed for non custom indexes and * do not add keys with different type to template indexes in SIXCDX RDD for strict SIX3 compatibility. * harbour/doc/cmpopt.txt + added information about missing in Clipper expression optimization in LOCAL, PRIVATE and PUBLIC variable declaration. Clipper optimize only expressions used in STATIC declarations. 2010-01-28 20:20 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added -env:<envname>- support to delete envvars completely. % Minor optimization in filter handling. * contrib/hbwin/win_os.prg * contrib/hbwin/win_tprn.prg % Using HB_OSISWIN*() functions instead of WIN_OSISWIN*() ones. 2010-01-28 04:23 UTC+0100 Viktor Szakats * INSTALL * external/Makefile * contrib/Makefile + Added build option to exclude specific list of contrib/external libraries using syntax: 'HB_CONTRIBLIBS=no lib1 lib2 libn' 2010-01-28 04:00 UTC+0100 Viktor Szakats * contrib/hbct/dummy.c + Indicated that some functions are implemented in core (for C5.3 compatibility). * contrib/hbwin/win_tbmp.prg * Formatting. - contrib/gtqtc + contrib/hbqt/gtqtc * Moved under QT structure. 2010-01-27 18:45 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/hbide.prg * contrib/hbide/ideactions.prg * contrib/hbide/idefindreplace.prg * contrib/hbide/resources/findinfiles.ui + Started implementation of "Find in Files" option. Just to have a glimpse what components it will contain, click on "Search" button along-side "Find" buttons. It is not working but it may prompt you which feature I missed to include. Just play. 2010-01-27 08:58 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/hbide.prg * contrib/hbide/idemisc.prg * contrib/hbide/ideprojmanager.prg * contrib/hbide/resources/projectproperties.ui + Implemented loading project from .hbp. Look for the button on top of "Properties" dialog. Please note that .hbp file is loaded with its whole contentents and then is sectionized as per .hbi protocol. So, the disadvantage is you loose the free-format implementation of .hbp. It has to be discovered how can we cover this aspect. Be careful when building the project as existing .hbp will be overwritten if you choose the "Project Location" of the project pointing to same folder where .hbp resides. Other than loosing "-skip" protocol of .hbp, I am sure we are loosing nothing else, please test. + Implemention <Close Project> and <Remove Project> options which can be invoked from context menu of project node. 2010-01-26 18:21 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/idemisc.prg * contrib/hbide/ideprojmanager.prg * contrib/hbxbp/hbpprocess.prg ! xMate project file .xhp loading more normalized. I could build almost all of my projects created from it. 2010-01-26 22:19 UTC+0100 Viktor Szakats * contrib/hbwin/win_bmpd.c ! Pacified BCC warnings. 2010-01-26 20:43 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Deleted one debug line left in previous commit. 2010-01-26 20:40 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + -xhp= converter switch now recognizes some more types of file. (lib, object and libpaths) * contrib/hbnetio/utils/netiosrv.prg * contrib/hbnetio/utils/netiocmd.prg - Deleted call protection. 2010-01-26 20:33 UTC+0100 Viktor Szakats * harbour.spec * INSTALL * external/Makefile + external/jpeg + external/jpeg/README + external/jpeg/link.txt + external/jpeg/Makefile + external/jpeg/cderror.h + external/jpeg/cdjpeg.h + external/jpeg/jaricom.c + external/jpeg/jcapimin.c + external/jpeg/jcapistd.c + external/jpeg/jcarith.c + external/jpeg/jccoefct.c + external/jpeg/jccolor.c + external/jpeg/jcdctmgr.c + external/jpeg/jchuff.c + external/jpeg/jcinit.c + external/jpeg/jcmainct.c + external/jpeg/jcmarker.c + external/jpeg/jcmaster.c + external/jpeg/jcomapi.c + external/jpeg/jconfig.h + external/jpeg/jcparam.c + external/jpeg/jcprepct.c + external/jpeg/jctrans.c + external/jpeg/jcsample.c + external/jpeg/jdapimin.c + external/jpeg/jdapistd.c + external/jpeg/jdarith.c + external/jpeg/jdatadst.c + external/jpeg/jdatasrc.c + external/jpeg/jdcoefct.c + external/jpeg/jdcolor.c + external/jpeg/jdct.h + external/jpeg/jddctmgr.c + external/jpeg/jdhuff.c + external/jpeg/jdinput.c + external/jpeg/jdmainct.c + external/jpeg/jdmarker.c + external/jpeg/jdmaster.c + external/jpeg/jdmerge.c + external/jpeg/jdpostct.c + external/jpeg/jdsample.c + external/jpeg/jdtrans.c + external/jpeg/jerror.c + external/jpeg/jerror.h + external/jpeg/jfdctflt.c + external/jpeg/jfdctfst.c + external/jpeg/jfdctint.c + external/jpeg/jidctflt.c + external/jpeg/jidctfst.c + external/jpeg/jidctint.c + external/jpeg/jinclude.h + external/jpeg/jmemansi.c + external/jpeg/jmemdos.c + external/jpeg/jmemmac.c + external/jpeg/jmemmgr.c + external/jpeg/jmemname.c + external/jpeg/jmemnobs.c + external/jpeg/jmemsys.h + external/jpeg/jmorecfg.h + external/jpeg/jpegint.h + external/jpeg/jpeglib.h + external/jpeg/jquant1.c + external/jpeg/jquant2.c + external/jpeg/jutils.c + external/jpeg/jversion.h + external/jpeg/rdbmp.c + external/jpeg/rdcolmap.c + external/jpeg/rdgif.c + external/jpeg/rdppm.c + external/jpeg/rdrle.c + external/jpeg/rdswitch.c + external/jpeg/rdtarga.c + external/jpeg/transupp.c + external/jpeg/transupp.h + external/jpeg/wrbmp.c + external/jpeg/wrgif.c + external/jpeg/wrjpgcom.c + external/jpeg/wrppm.c + external/jpeg/wrrle.c + external/jpeg/wrtarga.c + Added JPEG lib v8. 2010-01-26 18:29 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fixed -xhp option which didn't save the result due to copy/paste typo. [TOMERGE 2.0] 2010-01-26 17:26 UTC+0100 Viktor Szakats * contrib/hbwin/Makefile * contrib/hbwin/hbwin.h * contrib/hbwin/win_bmp.c + contrib/hbwin/win_bmpd.c * contrib/hbwin/win_tprn.prg + contrib/hbwin/win_tbmp.prg + Moved WIN_BMP() class to separate source file. + Moved WIN_BITMAPDIMENSIONS() and its low-level support functions to separate source file, to avoid creating unwanted dependency to libpng. + Applied Xavi's patches to WIN_BMP(). * Restored nError parameter for ::IsSupported() * ::LoadFile() now fills dimensions automatically. * ::Draw() 3rd dim array parameter replaced with nError. * contrib/hbwin/hbwapi.h + Added 'extern' keyword. 2010-01-26 15:47 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added -hbexe option. This is the default, but it may help hbide and other tools to clear doubts about target type. (or to override some previous -hbdyn/-hblib options for whatever reasons) * contrib/hbide/ideprojmanager.prg * "hbMK2.exe" -> "hbmk2 Executable" .exe extension is Win/OS2/DOS specific. 2010-01-26 15:21 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/utils/hbmk2/hbmk2.prg * use HB_EXTERN_BEGIN / HB_EXTERN_END macros instead of HB_EXTERN_C in -xhb mode. It fixes the problem with -gui switch. 2010-01-26 14:40 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.hu_HU.po * utils/hbmk2/hbmk2.pt_BR.po * utils/hbmk2/hbmk2.prg ! Fixed rare problem where options containing .hbp/.hbm/.clp extensions have been mistaken as file recursions instead of being processed as options. E.g. '-runflag=test.hbp' ! Updated help text about possible filter keywords. ! Fixed to use xharbour[mt] for dynlib name for mingw targets. Added NOTE that in newer xhb version this is not true anymore. Support for other targets also doesn't work, because of non-existent or not consistent dynlib naming scheme in xhb. ! Fixed to use 'mainstd' instead of 'hbmainstd', and not to use 'hbmainwin' at all in -xhb mode for mingw targets. For rest of targets the xhb solution is inconsistent, so it's not currently possible give them any meaningful support in hbmk2. 2010-01-26 02:26 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/resources/xmate.png + Added xMate's icon as a .png, missed from prev commit. 2010-01-26 02:10 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbxbp/Makefile * contrib/hbxbp/xbpgeneric.prg * contrib/hbxbp/xbpwindow.prg + contrib/hbxbp/hbpqtui.prg - contrib/hbxbp/xbpqtuiloader.prg % Renamed XbpQtUiLoader() class to HbpQtUI() This is Harbour extension to Xbase++ class framework. * contrib/hbide/hbide.prg * contrib/hbide/ideactions.prg * contrib/hbide/idedocks.prg * contrib/hbide/idefindreplace.prg * contrib/hbide/idemisc.prg * contrib/hbide/ideprojmanager.prg * contrib/hbide/idethemes.prg * contrib/hbide/resources/projectproperties.ui % Changed <Main Menu> prompts: + <Environments> in <Project> - <Options> => <Setup> - <Codecs> => <Setup> <Codecs> ! Separated the <Define Environments> dialog from <Project Properties> And added a menu option in <Projects> main-menu prompt. + Implemented to load xMate's Project file (.xhp) when a new project is created. Can be invoked via a push button on top-right corner of <General> tab. 2010-01-25 18:33 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/idemisc.prg * contrib/hbide/ideprojmanager.prg ! Build streamlined to OS specific shell execution, thanks Viktor. 2010-01-25 17:41 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/idemisc.prg * contrib/hbide/ideprojmanager.prg * contrib/hbide/resources/hbide.env - Dropped {shell} and {ext} placeholders from hbide.env. These are now auto detected, thanks Viktor. 2010-01-25 12:24 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/hbide.prg ! Important Fix. 2010-01-25 08:29 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/ideprojmanager.prg ! Code optimization. - Removed experimental code fragments. 2010-01-25 15:23 UTC+0100 Viktor Szakats * contrib/hbnetio/utils/netiocmd.prg ! Fixed remote execution protection to work even when the source was compiled from another directory. ; QUESTION: Is there a better way to make this kind of protection? Current system will break if the source filename of the caller happens to change in the future. * contrib/hbnetio/utils/netiosrv.prg + Show internal error and quit and if above self-protection got broken for some reason. * utils/hbmk2/hbmk2.prg ! Fixed entry function detection building project in different than current dir, possibly also in -inc mode. [TOMERGE 2.0] 2010-01-25 13:23 UTC+0100 Viktor Szakats * ChangeLog + Added TOMERGE to /INSTALL doc modifications. I had not marked any changes regarding .rpm generation, as I can't oversee this packaging type, have minor experience with it and got no user feedback whatsoever. If someone cares to review/comment/fix, whole current INSTALL can go to 2.0.x. [TOMERGE 2.0] 2010-01-25 13:10 UTC+0100 Viktor Szakats * ChangeLog ! Fixed HB_ARCHITECTURE to HB_PLATFORM in 2010-01-24 22:28 UTC-0800. * ChangeLog + Added TOMERGE mark to 2010-01-23 01:30 UTC+0100. [TOMERGE 2.0] 2010-01-25 12:35 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbwin/win_misc.c ! fixed buffer overflow in WIN_WIDETOANSI() caused by wrongly calculated buffer size [TOMERGE 2.0] * harbour/utils/hbmk2/hbmk2.prg * updated names of xHarbour libraries - now it works in static mode FIXME: -xhb shared mode uses 'harbour' instead of 'xharbour' library and 'hbmainstd' instead of 'mainstd' FIXME2: -gui switch in -xhb mode cause compile time error: /tmp/hbmk_auhl2d.c:8: error: syntax error before "void" 2010-01-24 22:28 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbxbp/Makefile * contrib/hbxbp/hbpprocess.prg + Implemented first HbpProcess() class ( Harbour Extension ) which is based on Qt's process management classes. The usage concept is well defined in /contrib/hbide/ideprojmanager.prg. I will write the documentation at some later date. * contrib/hbide/resources/projectproperties.ui + More components. * contrib/hbide/projects/hbide.hbi + More info. * contrib/hbide/hbide.ch * contrib/hbide/hbide.prg * contrib/hbide/idedocks.prg * contrib/hbide/idemisc.prg * contrib/hbide/ideobject.prg * contrib/hbide/ideprojmanager.prg * contrib/hbide/idesaveload.prg ! Updated to hold Development Environments concept introduced. Read below. - contrib/hbide/hbide.env + contrib/hbide/resources/hbide.env + The environment skeletons (working) on my machine connecting hbIDE to hbMK2 engine. You can copy it and place it in projects folder with suitable path amendments and call it in hbIDE. This implementation facilitae to generate any project on any compiler from within single instance of hbIDE without leaving it. Here are the implementation details: FORMAT ====== [ BCC55 5.5.1 Command Line Tools ] {hb_comp} bcc {shell} cmd.exe {ext} bat # {content} set HB_COMPILER=bcc {content} set PATH=C:\harbour_dev;C:\harbour_dev\bcc\bin;C:\harbour_dev\harbour\bcc\bin; [ MINGW 4.4.2 Windows ] {hb_plat} win {hb_comp} mingw {content} set PATH=C:\mingw\bin;C:\qt\2009.03\qt\bin; {content} set PATH=C:\harbour_dev;C:\harbour_dev\harbour\mingw\bin;%path% {content} set HB_WITH_QT=C:\qt\2009.03\qt ... {hb_plat} == set HB_PLATFORM= {hb_comp} == set HB_COMPILER= {shell} == shell command to execute {ext} == the extension of shell commands file {content} == active contents placed in the shell commands file Any lines with {contents} marker will form the body of commands file. You can place remarks preceded with # sign. Currently {contents} are implemented, rest will take a couple of days. PLACEHOLDER =========== <Environments Tab> in <Project Properties> dialog but with separate button to save this and its path information alone. Just avoided one more dialog. ACTIVATION ========== Right-click on <Projects> node in "Projects" tree and select <Environments...>. The selected environment will become the default for current session and will be saved for next invocation until it is changed. Next build will respect this setting. EFFECTIVENESS ============= Create a desktop icon pointing to hbide.exe and place the only parameter poing to "hbide.env" file. You can copy it anywhere in your project tree, amend it to suit your requirements, and just execute hbIDE on your desktop. NOTE: you _MUST NOT_ set any compiler specific variables before invoking hbIDE. Your working slate must be clean. WHAT_IS_NOT_DONE ================ The bash commands and their shell invocation. But I know a lot of you will implement that in no time. 2010-01-25 05:09 UTC+0100 Viktor Szakats * contrib/hbwin/win_tprn.prg * contrib/hbwin/win_bmp.c ! Fixes to prev (in last minute modifications) 2010-01-25 05:04 UTC+0100 Viktor Szakats * contrib/hbwin/Makefile * contrib/hbwin/hbwin.hbc * contrib/hbwin/win_bmp.c * contrib/hbwin/win_tprn.prg + WIN_BITMAPDIMENSIONS(): Added PNG support. (in fact the internal function can also be used to validate .png files) Please review/test. + Added libpng dependency for hbwin lib. libpng requires zlib, so that's also added, but it's required by core already anyway. Please test cross-platform scenarios. * WIN_BITMAPISSUPPORTED(): Now simply returns numeric results, where zero is success. Same done to low-level function. 2010-01-25 04:24 UTC+0100 Viktor Szakats * contrib/hbwin/Makefile * contrib/hbwin/win_prn1.c + contrib/hbwin/win_bmp.c * Moved bitmap related functions to separate source file. * contrib/hbwin/win_bmp.c * contrib/hbwin/win_tprn.prg * Renamed WIN_CHECKPRNDRVFORMAT() -> WIN_BITMAPISSUPPORTED() * WIN_BMP:CheckPrnDrvFormat() -> WIN_BMP:IsSupported() 2010-01-25 02:22 UTC+0100 Viktor Szakats * contrib/hbwin/win_prn1.c + WIN_BITMAPDIMENSIONS(): Added JPEG support. ! hbwin_BitmapType(): Added size checks for safety. ! ULONG -> HB_SIZE * contrib/hbcurl/hbcurl.c ! Fixed to define all .prg level functions regardless of libcurl version. 2010-01-24 23:50 UTC+0100 Viktor Szakats * contrib/hbwin/win_tprn.prg ! Fix to prev. 2010-01-24 23:46 UTC+0100 Viktor Szakats * contrib/hbwin/win_prn1.c * contrib/hbwin/win_tprn.prg * win_CheckPrnDrvFormat(): Replaced error strings with error codes to avoid storing fixed language messages in low-level code. ! Fixed MSVC warning about potentially uninitialized variable. 2010-01-24 23:18 UTC+0100 Viktor Szakats * contrib/hbwin/hbwin.ch * contrib/hbwin/win_prn1.c * contrib/hbwin/win_tprn.prg + Added HB_WIN_BITMAP_UNKNOWN. 2010-01-24 23:01 UTC+0100 Viktor Szakats * contrib/hbwin/hbwin.ch * contrib/hbwin/win_prn1.c * contrib/hbwin/win_tprn.prg + Added constants for bitmap types. * Minor cleanups to jpg/png handling. 2010-01-24 13:54 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbxbp/xbpdialog.prg + Implemented :maxSize and :minSize instance variables. 2010-01-24 13:32 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbxbp/xbpdataref.prg % Changed the way class is recognized to facilitate sub-classing. Currently only for XbpSLE and XbpMLE. * contrib/hbxbp/xbpwindow.prg ! Method :isDerivedFrom( cClassOrObject ) extended to match the class name of oParent till it matches the given parameter. I am wondering if this functionality be included in class engine itself. Przemek ? 2010-01-24 19:40 UTC+0100 Xavi (jarabal/at/gmail.com) * contrib/hbwin/win_prn1.c + Added support for printing RAW compressed formats JPEG and PNG BitMaps. + Added new PRGs functions: win_TypeBitMap() and win_CheckPrnDrvFormat() Example of use in the class win_BMP() * Changes in WIN_LOADBITMAPFILE, WIN_DRAWBITMAP to support new formats. * contrib/hbwin/win_tprn.prg + Extended the class win_BMP() to allow printing compressed formats JPEG and PNG if the printer driver allows. + Added method CheckPrnDrvFormat( oPrn, @cErrMsg ) for check printer driver. + New VAR INT Type. Type of BitMap: 1 == BM, 2 == JPEG, 3 == PNG + New VAR array DimXY. Original Image Dimensions X Y in pixels. * New parameter aDimXY in LoadFile( cFileName, aDimXY ) * New parameter aDimXY in Draw( oPrn, aRectangle, aDimXY ) to introduce the original image dimensions in pixels X Y. Some printer drivers may require the insertion of the original image dimensions for processing, others read from the data source and by default only need have aDimXY := { 1, 1 } * Use DimXY VAR of win_BMP() in method DrawBitMap( oBmp ) of win_PRN() * src/compiler/hbusage.c + Added author ID mail 2010-01-24 14:30 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added support to recognize .C (uppercase .c) extension as C++ file. (this won't be enabled in MS-DOS builds) 2010-01-24 14:26 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fixed to recognize files when uppercase extensions are is in .hbc/sources= directive. [TOMERGE 2.0] 2010-01-24 12:06 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.pt_BR.po * utils/hbmk2/hbmk2.hu_HU.po ! \n -> \\n (in previous commit) 2010-01-24 11:44 UTC+0100 Viktor Szakats * src/vm/estack.c ! Replaced printf() calls with hb_snprintf() and hb_conOutErr() calls. This will avoid reported problems where MinGW binary build refers to internal printf function. As a rule we should never use printf() in Harbour code. There are still a few commented ones in hbrtl. [TOMERGE 2.0] * src/vm/hvm.c ! Replaced printf() (commented) call with HB_TRACE(). [TOMERGE 2.0] * utils/hbmk2/hbmk2.prg ! Fixed -build= option not being recognized. ! Fixed -build= option not being ignored in second option parsing loop. ! Fixed -lang= option not being ignored in second option parsing loop. [TOMERGE 2.0] * utils/hbmk2/hbmk2.pt_BR.po * utils/hbmk2/hbmk2.hu_HU.po * utils/hbmk2/hbmk2.prg + Extended help text for -head option. * contrib/hbwin/win_prn1.c % WIN_LOADBITMAPFILE() optimized to use hb_retclen_buffer(). ! WIN_LOADBITMAPFILE() fixed to return empty string instead of NIL in case of file read failure. * examples/rddado/adordd.ch + Added new 'adCmd*' constants. From xhb. (2010-01-20 20:53 UTC+0100 Miguel Angel Marchuet) * Formatting. 2010-01-23 13:32 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/idefindreplace.prg ! Fixed: error when find operation was unsuccessful. * contrib/hbxbp/xbp.ch + Added HBXBP_DBG( HB_TR_ALWAYS,... ) * contrib/hbxbp/xbppushbutton.prg + Behavior: if focus is set on the object, then its property is changed to autodefault() which means the button will be highlighted with additional border to indicate that it can be activated with "Return" press. However this property does not work in buttons if XbpDialog() is the parent. * contrib/hbxbp/xbpgeneric.prg * contrib/hbxbp/xbpwindow.prg * contrib/hbxbp/xbpdialog.prg + Implemented: XbpDialog():maxButton, :minButton QUESTION: which instance variable controls the resizing behavior? * contrib/hbxbp/xbpsle.prg + Added: callback slot :returnPressed. oSle1:returnPressed := {|| SetAppFocus( oSle2 ) } This facilitates the TAB behavior which navigating the SLE's. This effectively also means you can control the SLE's like ReadModal(). Just validate the SLE (oGet) and move to another SLE or any other part. Angel, your observation will matter. 2010-01-23 14:05 UTC+0100 Viktor Szakats * contrib/hbwin/hbwapi.h * contrib/hbwin/wapi_alloc.c * contrib/hbwin/wapi_wingdi.c * contrib/hbwin/tests/testgdi.prg + Reworked the way DEVMODE structure is handled. As many winapi interfacing methods, this is also a strange beast, it contains some hidden information, so it must be created using some winapi calls. I finally settled with these three functions to handle DEVMODE structure from .prg level: __WAPI_DEVMODE_NEW( <cPrinterName> ) => <pDEVMODE> __WAPI_DEVMODE_SET( <pDEVMODE>, <hashToWriteFrom> ) __WAPI_DEVMODE_GET( <pDEVMODE>, <hashToReadInto> ) Then <pDEVMODE> can be passed to WAPI_CREATEDC() and WAPI_RESETDC(). Remember to recreate <pDEVMODE> after using __WAPI_DEVMODE_SET() and before using __WAPI_DEVMODE_GET() to refresh the structure content with actual device settings. 2010-01-23 12:36 UTC+0100 Viktor Szakats * contrib/hbide/ideprojmanager.prg ! Don't delete temp .hbp file when creating PPO file, otherwise hbmk2 couldn't find it (at least on my system). * Changed temp .hbp name to have "_tmp.hbp" appended (instead of "._tmp.hbp"). 2010-01-23 12:25 UTC+0100 Viktor Szakats * Typo in last ChangeLog entry. 2010-01-23 12:17 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added -env: option, command line only, it serves to alter local environment, which is used by hbmk2 itself and which is passed to external commands. This means it's now possible to call hbmk2 in a way that it configures the whole build environment for itself: hbmk2 hello.hbp -env:PATH#C:\mingw\bin; -env:HB_WITH_QT=C:\qt\4.5.3 Read more in --help. ; Please experiment with it. * contrib/hbide/ideprojmanager.prg + Added simple way (HBIDE_DIR_HBMK2 envvar) to configure location of hbmk2. * contrib/hbqt/generator/hbqtgen.prg ! Minor formatting fix to generated code. 2010-01-22 19:24 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/ideprojmanager.prg ! Fix in "Launch" option with respect to :WrkDirectory just before launch of the application. 2010-01-23 02:27 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbwin/win_tprn.prg ! do not ignore :setBkMode() called before :create() 2010-01-23 02:21 UTC+0100 Viktor Szakats * contrib/hbnetio/utils/netiosrv.prg * contrib/hbnetio/utils/netiocmd.prg % Optimizations to latest patch (using FOR EACH). * Formatting and indenting to latest patch. 2010-01-22 17:10 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbxbp/xbpdataref.prg % Formatting. * contrib/hbxbp/xbpgeneric.prg ! Little refinment in MsgBox(). * contrib/hbxbp/xbpwindow.prg ! A major fix to not allow XbpDialog() to invalidate buffers. * contrib/hbxbp/xbpdialog.prg + Implemented :setModal() method. ; Angel now your submitted application will run out of the box. You may need one or two changes. oSLE1:oWIDGET:selectAll() SetAppFocus(oSLE1) oDlg:showModal() nEvent := 0 DO WHILE ! lExit .AND. ! lOk .AND. nEvent <> xbeP_Close nEvent := AppEvent( @mp1, @mp2, @oXbp ) oXbp:handleEvent( nEvent, mp1, mp2 ) ENDDO oSle1:getdata() //// DOESN'T WORK oSle2:getdata() //// GIVES ME DATA OF FIRST SLE !!!! SetAppFocus(SetAppWindow()) oDlg:Destroy() //RECURSIVE RUNTIME ERROR !! //oDlg:hide() NOTE: See how a little interest of you have fixed many artifacts !!! 2010-01-23 01:30 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/vm/memvars.c ! fixed RELEASE ALL [LIKE | EXCEPT <skeleton>] command - thanks to Enrico for information [TOMERGE 2.0] 2010-01-22 15:07 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/ideprojmanager.prg % Changed the behavior of placement of project components. 1 If <Working Directory> is empty <Working Directory> == <Project Location> .hbp will be placed in <Working Directory> as <Working Directory>/<Output Name>.hbp .hbp will include -workdir=<Working Directory>/${hb_plat}/${hb_compl} 2. If <Destination Folder> is empty <Destination Folder> == <Project Location> .hbp will include -o<Destination Folder>/<Output Name> This has facilitated to build projects from any location. < Example follows on the mailing-list taking Angel Pais's recent sent hbXBP based small application which bears the 99% Xbase++ code > 2010-01-22 23:46 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rdd/dbf1.c ! fixed trailing character in empty DBF file - thanks to Saulius * added common RTE function, cleaned some RTE and added some missing ones 2010-01-22 22:19 UTC+0100 Viktor Szakats * contrib/hbnetio/utils/netiosrv.hbp * contrib/hbnetio/utils/netiosrv.prg + contrib/hbnetio/utils/netiocmd.prg + Applied patch sent by Vailton Renato. * Some formatting applied to it. 2010-01-22 18:01 UTC+0100 Viktor Szakats * contrib/hbwin/wapi_wingdi.c - Dropped array support for DOCINFO parameter. ; Array has only any point for really simple/obvious structures like point and rect, for anything more complicated hash is a much convenient answer (don't have to remember structure member positions, can pass them in any order and combination, and MSDN docs can be used when coding .prg for Windows). * contrib/hbwin/tests/testgdi.prg % Inlined DOCINFO hash parameter syntax. 2010-01-22 17:48 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/vm/strapi.c * allow to pass NULL as item pointer in hb_item{Get,Copy}Str*() functions * updated hb_itemCopyStr*() functions to set '\0' in the buffer if not string item is passed as parameter * updated hb_itemCopyStr to return number of characters which could be stored in buffer if buffer when passed buffer is NULL and its size is 0 Now all hb_itemCopyStr*() functions can be used to retirve the size in character of destination string by: ulSize = hb_itemCopyStr*( pItem ..., NULL, 0 ) * harbour/contrib/hbnetio/netiocli.c * simplified the code by removing one unnecessary protection * harbour/contrib/xhb/xhw32prn.prg ! fixed stupid typo in method redirecting: :StartPage() was redirected to :Create() and :Create() was redirected to :StartPage() 2010-01-22 17:26 UTC+0100 Viktor Szakats * contrib/hbwin/hbwapi.h * contrib/hbwin/wapi_wingdi.c ! Fixed potential GPD in hbwapi_par/stor*() functions when parameter was not passed at all. + Added hbwapi_par_DOCINFO() and hbwapi_strfree_DOCINFO() pairs to retrieve structures with strings in them. Hashes are supported now as well. ; TODO: Low-level string handling functions will GPF yet if the related hashes are missing (e.g. in posted test code). This requires proposed extra guards in low-level string functions. [DONE] + WAPI_STARTDOC() changed to use hbwapi_par_DOCINFO(). % Minor cleanup in WAPI_SELECTOBJECT(). + contrib/hbwin/tests/testgdi.prg + Added test code for GDI function structure parameter exchange. * contrib/hbide/idethemes.prg * contrib/hbide/ideeditor.prg + Added 'sequence' and 'endsequence' to keywords. ; FIXME: try/catch and a few more are not Harbour keywords. * contrib/hbide/ideeditor.prg % Optimized low-level keyword lookup functions: - Use hashes instead of arrays and ascan. - Use STATIC vars to avoid rebuilding tables on every call. 2010-01-22 08:24 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/hbqt_hbqplaintextedit.cpp ! Fix to handle unused variable : "txt". 2010-01-22 07:44 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) + contrib/hbqt/hbqt_hbqplaintextedit.cpp + Added missing source file. Surely I am not in my level best today. 2010-01-22 07:09 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) + contrib/hbqt/hbqt_hbqplaintextedit.h ! Missing file from prev commit. I was hanging in sleep. 2010-01-22 13:36 UTC+0100 Viktor Szakats * contrib/hbwin/wapi_wingdi.c * contrib/hbwin/wapi_winuser.c * contrib/hbwin/hbwapi.h + Added hbwapi_stor_*() functions to store Windows structures RECT, POINT and DEVMODE. Latter supports hash only (due to large number of structure members), other two supports both array and hash. Please review my code. + WAPI_MOVETOEX() now uses hbwapi_stor_POINT(). ! WAPI_DRAWTEXT() fixed to return RECT (using hbwapi_stor_RECT()). * contrib/hbwin/legacy.prg * contrib/xhb/xhw32prn.prg * Moved Win32Bmp compatibility class from hbwin to xhb lib. ! Deleted Win32Prn compatibility class from hbwin, as it's now implemented in xhb in a better way. * harbour-win-spec * harbour-wce-spec * harbour.spec * include/hbver.h * config/global.mk + Changed to new major version number: 2.1.0dev (from 2.0.1dev) This gives way for 2.0.x branch to take the 2.0.1dev version number. 2010-01-21 23:59 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/generator/qt45.qtp + contrib/hbqt/qth/HBQPlainTextEdit.qth * contrib/hbqt/qth/QApplication.qth * contrib/hbqt/qth/QPlainTextEdit.qth * contrib/hbqt/qtgui/filelist.mk * contrib/hbqt/qtgui/QApplication.cpp * contrib/hbqt/qtgui/QPlainTextEdit.cpp + contrib/hbqt/qtgui/HBQPlainTextEdit.cpp + contrib/hbqt/qtgui/THBQPlainTextEdit.prg * contrib/hbqt/filelist.mk * contrib/hbqt/hbqt.h * contrib/hbqt/hbqt_garbage.h * contrib/hbide/hbide.prg * contrib/hbide/ideactions.prg * contrib/hbide/idedocks.prg * contrib/hbide/ideeditor.prg * contrib/hbide/idemisc.prg * contrib/hbide/ideobject.prg * contrib/hbide/ideprojmanager.prg * contrib/hbide/idesources.prg + Added HBQPlainTextEdit() class which implements some constructs which were not possible in pure prg code. The underlying code has been borrowed from TextEdit.c of QWriter - a work of Gancov Kostya <kossne@mail.ru>, a big thank you. The code has been extensively formatted and changed to adopt to Harbour standards. The direct benefits by adopting this class are: : * Current line highlighting is absolutely ok now. * Line numbers display is extremely fast and optimized. * Book-marks are shown at the left of line-numbers. * Parenthesis matching is absolutely delightful. * To Upper/Lower implementation is accurate spanning many lines. * Stream commenting is made possible. * Book-marks management is smooth. In IDE book-marks are implemented in different way than most IDE's offer. Here is the description: * Click on "Toggle Mark" icon on the toolbar. * A small dot will appear on the left of current line. * Look at status-bar, a small colored pushbutton will appear. * Navigate the document as usual. * Click on the colored push button staying in statusbar. * The editing cursor will stay at book-mark represented by that colored button and current line will appear highlighted with the same color as that of button. * Navigate to another location and click again on "Toggle Mark" icon. * A new dot and one more colored button will appear in the statusbar. * You can create 6 book marks as such and all will have different colors. * You can click on any of desired usage. * To delete a book-mark click on the button then "Toggle Mark" * One button at the right will disappear. * All tabs will contain their own book-marks. * And every split window will have its own. * Navigating different tabs or split windows will rearrange the buttons according to its own settings. ; QUESTION : Is it worth the effort to save book-marks settings for next session? 2010-01-22 01:25 UTC+0100 Viktor Szakats * contrib/hbtip/sendmail.prg ! Applied set of HB_SENDMAIL() patches sent by Francesco Perillo: - nTimeOut defaults to 10 seconds - check for actually receiving "250 " to EHLO and not waiting for timeout - don't wait for timeout - check for actually receiving "250 " to HELO and not waiting for timeout [TOMERGE 2.0] * contrib/hbwin/wapi_wingdi.c + Added TODO to WAPI_SELECTOBJECT() to implement reference counting when assigning an GC collected object to another one (DC). Any idea how to do this properly? * contrib/hbwin/wapi_winuser.c + Added WAPI_GETSYSTEMMETRICS(). * contrib/hbwin/hbwin.ch + Added WIN_SM_* constants for WAPI_GETSYSTEMMETRICS().. * contrib/hbwin/wapi_winuser.c * contrib/hbwin/wapi_shellapi.c - Deleted unnecessary Windows headers. * contrib/hbwin/win_dlg.c + WAPI_PRINTDLGDC() now sets owner window for better results (e.g. in GTWVT it will block clicking on app window and newer style printer dialog will be presented) * contrib/hbwin/win_prn1.c * Minor. 2010-01-22 00:33 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/gtxwc/gtxwc.c + added support for independent CP setting for BOX and normal characters * disabled Clipper VGA compatible memory buffer in GTXWC default settings to keep information about character sets (box vs normal) + added support for HB_GTI_BOXCP 2010-01-21 16:59 UTC+0100 Viktor Szakats * src/rtl/memoedit.prg ! Fixed to not return edited memoedit buffer if :Saved flag is false. This patch is meant to fix sf.net bug #2936334. Again such a huge bug I wonder no one noticed it so far. MEMOEDIT() is the remaining last dark corners of Harbour RTL (maybe with AChoice()) which is not fully C5.x compatible, and it's a heap of patches and hacks to give answer to reported problems. Eventually some concerned MEMOEDIT() user will have to rework it like we did with GET/TBROWSE to give a proper fix to all reported issues. (E.g. in TEditor() there is a bug where chars are stuffed to the wrong position if initially we position cursor after EOL. Try by deleting text.txt in attached example.) Please test, review, fixme, look also for regressions. + Added initial support for ME_PAST Xbase++ event. Please test, I didn't make any testing against Xbase++. * contrib/hbwin/wapi_wingdi.c + WAPI_SELECTOBJECT() got support for HBRUSH. * contrib/hbwin/win_prn1.c + Added two FIXME comments to serious security holes and potential GPFs to bitmap handling functions. Enough to load a malformed or corrupted .bmp file to exploit it. Any takers for fixing them? * contrib/hbide/idemisc.prg * Two STATIC variables prefixed with 's_' 2010-01-21 12:42 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/harbour.spec ! restored removed harbour-lib RPM - all RPMs generated when it was removed have broken dependencies list 2010-01-21 12:40 UTC+0100 Viktor Szakats * contrib/hbwin/wapi_alloc.c * contrib/hbwin/hbwapi.h + Added GC collected HBRUSH support functions. * contrib/hbwin/wapi_wingdi.c + Added link to WinCE MSDN documentation page. + Added hbwapi_par_POINT(). Handles both hash and array. + Added WAPI_CREATESOLIDBRUSH() + Added WAPI_CREATEHATCHBRUSH() + WAPI_SELECTOBJECT() corrected to return integer when region is passed. + Added: WAPI_FILLRECT() WAPI_ROUNDRECT() WAPI_RECTANGLE() WAPI_ARC() WAPI_ELLIPSE() * contrib/hbwin/hbwin.ch + WIN_HS_* constants added for WAPI_CREATEHATCHBRUSH() + WIN_DT_* constants converted to hex format. 2010-01-21 11:50 UTC+0100 Viktor Szakats * INSTALL + Documented minimum requirement of CEGCC 0.55 (mingwarm) [TOMERGE 2.0] * contrib/hbwin/hbwin.ch + Added WIN_*_PRECIS constants. + Added WIN_DT_* (WAPI_DRAWTEXT()) constants. * contrib/hbwin/Makefile + contrib/hbwin/win_dlg.c + Added WIN_PRINTDLGDC() printer dialog. Some ideas/lines taken from HWGUI project. * contrib/hbwin/hbwapi.h * contrib/hbwin/wapi_wingdi.c + Added hbwapi_par_RECT() supporting both hash and array input. ! WAPI_CREATEFONT() fixed to use neutral defaults. ! WAPI_SELECTOBJECT() fixed two warnings. * contrib/hbwin/wapi_winuser.c + Added WAPI_DRAWTEXT(). 2010-01-21 11:50 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbnetio/netiocli.c * respect passed parameters as default values in netio_decode() 2010-01-21 10:17 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/common/hbffind.c * harbour/src/rtl/filesys.c * harbour/src/rtl/spfiles.c ! fixed HB_TRACE() messages to work with new HB_FATTR type 2010-01-21 09:33 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbct/video.c ! fixed compilation for compilers using 'char' as unsigned type * harbour/contrib/hbmzip/hbmzip.c ! fixed to work with HB_FATTR * harbour/contrib/hbnetio/netiocli.c * pacified BCC warning 2010-01-20 18:33 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/hbide.prg * contrib/hbide/ideactions.prg * contrib/hbide/ideeditor.prg + Implemented: Formatting - <Format Braces> ; These formatting actions are initiated from the fact that code examples scattered on the net about Qt examples are written in such a way that I was unable to grasp the contents. I found it usual to include such functionality into hbIDE. Hopefully it will be useful to all. 2010-01-20 17:16 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/hbide.prg * contrib/hbide/ideactions.prg * contrib/hbide/ideeditor.prg * contrib/hbide/idefindreplace.prg * contrib/hbide/idesaveload.prg + Implemented: Formatting - <Replace Tabs with Spaces> <Remove Trailing Spaces> This can be achieved via Mainmenu <Edit><Format...> option. ! New: Find/Replace: Current selelcted text in "Find what:" control in selected state. % Changed: The way hbide.ini is loaded. cHbideIni := hb_argv( 0 ) IF empty( cHbideIni ) IF file( "hbide.ini" ) cHbideIni := "hbide.ini" ELSE cHbideIni := hb_dirBase() + "hbide.ini" ENDIF ENDIF oIde:cProjIni := cHbideIni ! Improved qTextDocument:isModified() handelling. ; TO CONSIDER: QPlainTextEdit() class by itself is not providing enough methods to have finest of the editing experience. So, it may be necessary to subclass it for extended features. 2010-01-21 01:09 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbnetio/netiocli.c * harbour/contrib/hbnetio/readme.txt + added new client side function: NETIO_DECODE( [@]<cFullName>, [@<cServer>], [@<nPort>], [@<nTimeOut>], ; [@<cPasswd>], [@<nCompressionLevel>], [@<nStrategy>] ) -> <lDecoded> Decode connection parameters from <cFullName> and default settings. Return .T. if <cFullName> contains any connection settings. <cFullName> should not contain "net:" prefix. * harbour/src/rtl/itemseri.c + added support for hash array flags and default value serialization Warning: before this modification hash arrays were always restored with binary sorting with default auto assign setting and without any default value and resorted if necessary. Now only non binary hash arrays are resorted what may cause problems for hash arrays not using binary sorting serialized by old code and restored by the current one. In such case it's necessary to restore original flags manually using hb_h*() functions to force resorting. - removed my TODO note: "extended hash format with default value and hash flags" 2010-01-21 00:52 UTC+0100 Viktor Szakats * INSTALL + Added new item to TROUBLESHOOTING section describing common problem when native executables are forgotten to be rebuilt, and causing error in cross-build. This typically causes problems when compiler/pp/hbmk2 get new feature. [TOMERGE 2.0] * contrib/hbwin/win_tprn.prg ! Deleted trace msg left there by mistake. * contrib/hbwin/hbwin.ch + Added WIN_*_QUALITY constants. * config/global.mk + Displaying HB_BIN_COMPILE even if explicitly specified by user. 2010-01-20 09:19 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/hbqt_hbqsyntaxhighlighter.cpp * contrib/hbqt/hbqt_hbqsyntaxhighlighter.h ! More improved syntax highlighting, specially in quoted strings. * contrib/hbide/hbide.prg * contrib/hbide/ideeditor.prg * contrib/hbide/ideobject.prg * contrib/hbide/idethemes.prg + Ctrl+D - Duplicate Line. ! Improved current line highlighting. But seems some more work is required. ! Tried to disable zooming in line numbers area but seems Qt has it by default. In edit area zooming is now made available via toolbar icons only. 2010-01-20 17:48 UTC+0100 Viktor Szakats * contrib/hbwin/win_prn1.c * contrib/hbwin/win_prn2.c * Cleanups. 2010-01-20 16:57 UTC+0100 Viktor Szakats * contrib/hbwin/wapi_wingdi.c ! Guarded for ! HB_OS_WIN_CE. (mingwarm compiles it, but poccarm doesn't) Maybe to focus on important things, we should drop POCC support altogether? * contrib/hbwin/win_tprn.prg * WIN_DELETEDC() calls deleted. 'hDC := NIL' is enough. * contrib/hbwin/Makefile + contrib/hbwin/wapi_alloc.c * contrib/hbwin/win_prn1.c + Moved hbwapi_* low-level object handling functions to separate WAPI source. * WIN_DELETEDC() converted to compatibility stub, it will no longer release the handle. * contrib/hbwin/win_prn1.c * contrib/hbwin/win_prn2.c * contrib/hbwin/win_prn3.c * contrib/hbwin/win_dll.c % Deleted '#if defined( HB_OS_WIN )' guards. (we can readd them for extra safety, but in this case they should be readded consistently for all source files) % Deleted '! defined( __RSXNT__ )' guards RSXNT is not supported compiler and dead since long. % Deleted '! defined( __CYGWIN__ )' guards. It compiles with current Cygwin, if someone is interested in older versions, pls send build results. 2010-01-20 13:51 UTC+0100 Viktor Szakats * contrib/hbwin/Makefile + contrib/hbwin/wapi_wingdi.c + Added experimental WAPI wrappers for Windows GDI printing functions also found in win_prn1.c. This is partially to avoid the legacy interface which is a combination of WIN_* functions and Harbour class. Which may seem to make thing more complicated at first, but IME it provides a much cleaner interface, as you only have to adapt to MSDN docs. It's also a test bed for structure passing in WAPI situations. I've used hashes as the best looking solution, but even this has some things left to solve (like handling string types and returning values). Anyway it's a food for thought. * contrib/hbwin/hbwin.ch + Added WIN_DMORIENT_* constants. * contrib/hbwin/win_prn1.c ! Fixed to not accept raw pointers where HDC or HPEN is expected. I've added this feature last year, without making special mention of it in ChangeLog, so it was a double-mistake. * Minor cleanups (hb_retnl() vs hb_retni()) % Optimization in WIN_SETBKMODE(). 2010-01-20 14:28 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/contrib/hbcairo/pdf.c * harbour/contrib/hbcairo/png.c * updated harbour level functions to be available, but return error result, if it is not supported by some version of cairo library * harbour/contrib/hbcairo/image.c * comment typo 2010-01-19 17:46 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/hbqt_hbqsyntaxhighlighter.cpp * contrib/hbqt/hbqt_hbqsyntaxhighlighter.h * contrib/hbqt/qtgui/HBQSyntaxHighlighter.cpp * contrib/hbqt/qtgui/THBQSyntaxHighlighter.prg * contrib/hbqt/qth/HBQSyntaxHighLighter.qth % Improved syntax highlighting. * contrib/hbide/hbide.prg * contrib/hbide/ideactions.prg * contrib/hbide/ideeditor.prg * contrib/hbide/ideobject.prg * contrib/hbide/idethemes.prg ! Struggling to get some artifacts fixed, mainly at a time when enter is pressed for new line. + Implemented F7 <Insert Separator> == "/*" + replicate( "-", 70 ) + "*/". 2010-01-19 23:12 UTC+0100 Viktor Szakats * contrib/hbwin/win_tprn.prg * contrib/hbwin/win_prn1.c + WIN_CREATEFONT() extended with 10th parameter which makes it possible to switch to raw height/width specification. This is crucial for precise positioning using integer parameters. Not very elegant parameter, but this class and low-level interface is already extremely hacky so this won't really make it any worse. + WIN_PRN():SetFont() extended with lManualSize option which maps to above 10th parameter. * contrib/hbwin/tests/testprn.prg + Added some text on the solution for overwritten underline problem described in test program. 2010-01-19 21:55 UTC+0100 Viktor Szakats * contrib/gtwvg/wvgdarea.prg ! Deleted method declaration without definition. This caused unresolved external when trying to build demos. * contrib/gtwvg/wvgscrlb.prg * contrib/gtwvg/gtwvg.h * contrib/gtwvg/wvgmle.prg * contrib/gtwvg/wvglistb.prg * contrib/gtwvg/wvggui.c * contrib/gtwvg/wvgtoolb.prg * contrib/gtwvg/wvgpushb.prg * contrib/gtwvg/wvggui.h * contrib/gtwvg/wvgsle.prg * contrib/gtwvg/wvgtreev.prg * contrib/gtwvg/wvgwnd.prg * contrib/gtwvg/wvgdatar.prg * contrib/gtwvg/wvgradio.prg * contrib/gtwvg/wvgbitmp.prg * contrib/gtwvg/wvgcheck.prg * contrib/gtwvg/wvgstatb.prg * contrib/gtwvg/wvgstatc.prg * contrib/gtwvg/wvgtabpg.prg * contrib/gtwvg/wvgsink.c * contrib/gtwvg/wvg3stat.prg * contrib/gtwvg/wvgwing.c - C level local debugging solutions deleted. * .prg level debugging calls changed to HB_TRACELOG() from xhb lib specific former solution. * contrib/hbwin/win_prn1.c + Added WIN_BITMAPDIMENSIONS( <bmp>, @x, @y ) -> logical Based on logic found in WIN_DRAWBITMAP(). ; FIXME: Both of these functions may GPF is passed wrong data. I don't know how to fix it, so if you do, please help. [CANCELLED - not much to be done] * contrib/hbwin/win_prn2.c * Formatting. 2010-01-19 09:16 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/hbide.prg * contrib/hbide/ideeditor.prg * contrib/hbide/ideobject.prg + Started : auto indentation and keyword capitalization. ; Please test and forward your suggessions. 2010-01-19 09:11 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/generator/hbqtgen.prg * contrib/hbqt/generator/qt45.qtp * contrib/hbqt/hbqt.h * contrib/hbqt/hbqt_garbage.h * contrib/hbqt/qtcore/filelist.mk * contrib/hbqt/qtcore/QChar.cpp * contrib/hbqt/qtcore/QDir.cpp * contrib/hbqt/qtcore/QLocale.cpp * contrib/hbqt/qtcore/QTextCodec.cpp * contrib/hbqt/qtcore/QTextEncoder.cpp * contrib/hbqt/qtcore/QTextStream.cpp * contrib/hbqt/qtcore/QVariant.cpp * contrib/hbqt/qtcore/TQChar.prg * contrib/hbqt/qtcore/TQDir.prg * contrib/hbqt/qtcore/TQLocale.prg * contrib/hbqt/qtcore/TQTextCodec.prg * contrib/hbqt/qtcore/TQTextEncoder.prg * contrib/hbqt/qtcore/TQTextStream.prg * contrib/hbqt/qtcore/TQVariant.prg * contrib/hbqt/qtgui/QFontMetrics.cpp * contrib/hbqt/qtgui/QFontMetricsF.cpp * contrib/hbqt/qtgui/QTextDocument.cpp * contrib/hbqt/qtgui/TQFontMetrics.prg * contrib/hbqt/qtgui/TQFontMetricsF.prg * contrib/hbqt/qtgui/TQTextDocument.prg * contrib/hbqt/qth/QChar.qth * contrib/hbqt/qth/QDir.qth * contrib/hbqt/qth/QLocale.qth * contrib/hbqt/qth/QTextCodec.qth * contrib/hbqt/qth/QTextDocument.qth * contrib/hbqt/qth/QTextEncoder.qth * contrib/hbqt/qth/QTextStream.qth * contrib/hbqt/qth/QVariant.qth ! Enabled QChar() class. 2010-01-19 14:21 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + Allowing -hbdyn and -shared option together. Absolutely not tested combination, so it may need further development to make it usable. ! Fixed bad typo in .c stub enabler logic, which have added .c stub also to libs/dynlibs when -main option was used (plus some other rare cases) [TOMERGE 2.0] ! Fixed gcc linker option order in -hbdyn mode. [TOMERGE 2.0] ; Please test. 2010-01-19 10:24 UTC+0100 Viktor Szakats * src/vm/maindllp.c * utils/hbmk2/hbmk2.prg * config/global.mk + Added more (untested) support for WinCE x86 targets. 2010-01-19 10:20 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbwin/win_prn1.c ! fixed missing dmFields assignment - please test if this fix does not change the behavior of printer dialog window when :AskProperties is set to .T. - thanks to Chen for information 2010-01-19 09:40 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/pp/ppcore.c * pacified BCC warning * harbour/src/compiler/harbour.yyc * harbour/src/compiler/harbour.yyh * regenerated with patched bison to pacify BCC warnings * harbour/include/hbwinuni.h + added HB_ITEMCOPYSTR() macro * harbour/src/common/hbwince.c * redirected Beep() to MessageBeep() - it does not allow to set time and duration but should generate some default system voice signal - please test the results with real devices using WinCE/ Win Mobile TODO: New MinGW support LockFileEx() and UnlockFileEx() but they are part of coredll6 library not coredll. I guess it's designed to use with Windows Mobile 6.x. Add compile and link time support for it. TODO: Add link time support for MinGWCE and non ARM processors. New MinGWCE supports x86 compatible Intel CPUs for pocket devices. 2010-01-18 17:52 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/hbqt_base.cpp * contrib/hbqt/hbqt_hbevents.cpp * contrib/hbqt/hbqt_hbslots.cpp ! HB_TRUE/FALSE <=> true/false. * contrib/hbide/hbide.prg * contrib/hbide/ideeditor.prg ! Updated to manage split windows properly. Presently the behavior is as such: Horizontal Split - Top row is columns are splitted Vertical Split - More row is added at the bottom. Delete Splitted Window - Focus is always shifted to main edit window. i.e., parent of all. Please comment. 2010-01-19 00:40 UTC+0100 Viktor Szakats * src/rtl/gtwvt/gtwvt.c * contrib/gtwvg/gtwvg.c ! Fixed GFX drawing functions to forward success/failure results from Windows API calls. 2010-01-18 20:32 UTC+0100 Viktor Szakats * src/vm/extrap.c * src/rtl/diskspac.c * src/rtl/disksphb.c * src/rtl/gtwvt/gtwvt.c * contrib/gtwvg/gtwvg.c * contrib/gtwvg/wvgwin.c * contrib/hbwin/win_prn2.c * contrib/hbwin/win_prn3.c + Using HBTEXT() macro on 2nd parameter of GetProcAddress() in _all_ cases. This can't hurt, but it's useful to never forget it for WinCE targets/branches. Recent change got also simplified after this. Pls review me. 2010-01-18 20:08 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbwin/win_tprn.prg ! fixed GetDefaultPrinter() => win_PrinterGetDefault() * harbour/contrib/hbwin/win_prn2.c * harbour/contrib/hbwin/win_prn3.c ! fixed to compile with WinCE 2010-01-18 19:57 UTC+0100 Viktor Szakats * src/common/hbwince.c - Deleted definition of FreeResource(). It's noe used anywhere in Harbour, and its declaration was also missing. * contrib/hbqt/hbqt.h * contrib/hbqt/hbqt_destruct.cpp - Deleted no longer used macros: hbqt_ret_*(). + Added FIXME to hbqt_par_*() where essentially the GC pointer type checking is completely worked around, which makes it easy to create GPFs by passing wrong pointer type to functions. Probably its unavoidable to introduce parameter validation to HBQT wrappers. Such validation could decide which types are accepted (e.g. objects and parent objects, whether NULL is accepted or rejected). If not accepted a proper RTE should be thrown instead of letting the app GPF. + Added two FIXMEs where low-level parameter retrieving function returns NULL. 2010-01-18 09:55 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/hbide.prg * contrib/hbide/ideactions.prg * contrib/hbide/ideeditor.prg * contrib/hbide/idemisc.prg * contrib/hbide/ideobject.prg * contrib/hbide/idesources.prg * contrib/hbide/idethemes.prg ! Updated to honor latest changes. + Added: ZoomIn, ZoomOut feature, currently via toolbar. ! Fixed: open dialog respecting last opened path. ! Fixed: to display codec in the statusbar at the startup. ! Fixed: context menu gpf'ing if no prompt is selected. + Prepared: to allow extended book-"Mark" feature. + Prepared: to handle extended syntax highlighting. ! More artifacts I must be missing. 2010-01-18 09:14 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/hbqt.h * contrib/hbqt/hbqt_base.cpp * contrib/hbqt/hbqt_destruct.cpp * contrib/hbqt/hbqt_garbage.h * contrib/hbqt/hbqt_hbdbfmodel.cpp * contrib/hbqt/hbqt_hbevents.cpp * contrib/hbqt/hbqt_hbevents.h * contrib/hbqt/hbqt_hbqsyntaxhighlighter.cpp * contrib/hbqt/hbqt_hbqsyntaxhighlighter.h * contrib/hbqt/hbqt_hbqtableview.cpp * contrib/hbqt/hbqt_hbslots.cpp * contrib/hbqt/hbqt_hbslots.h * contrib/hbqt/qth/HBQTextBlockUserData.qth * contrib/hbqt/qth/QAbstractItemModel.qth * contrib/hbqt/qth/QSyntaxHighlighter.qth * contrib/hbqt/qth/QTableView.qth + contrib/hbqt/qth/HBQTableView.qth + contrib/hbqt/qth/HBDbfModel.qth + contrib/hbqt/qth/HBQSyntaxHighLighter.qth + Separated parts to auto/static generation. + contrib/hbqt/qth/HBEvents.qth + contrib/hbqt/qth/HBSlots.qth + Prepared to bring Events/Slots management on OO level. Stll not activated as I have some technical issues on c++ level. Just a matter of time... * contrib/hbqt/generator/hbqtgen.prg * contrib/hbqt/generator/qt45.qtp + This commit is generally towards separation of static/auto generated parts of classes which has been hanging in for manual updates to the structures indivisually if changes were made effective overhaul. * contrib/hbqt/qtcore/* * contrib/hbqt/qtgui/* * contrib/hbqt/qtnetwork/* 2010-01-18 17:02 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbwince.h * harbour/src/common/hbwince.c - removed added for WinCE builds and not longer used wrappers for some C RTL functions 2010-01-18 16:34 UTC+0100 Viktor Szakats * include/hbcompdf.h * src/compiler/cmdcheck.c * src/compiler/hbmain.c * src/compiler/hbcomp.c * src/compiler/hbopt.c * src/compiler/hbusage.c * src/compiler/hbgenerr.c + Added options to control error/warning output format/style in Harbour, to make it possible to switch to formats which are handled by popular IDEs, like Eclipse, Code::Blocks. Currently these are supported: -ge[0]: Clipper compatible (default) -ge1: "IDE friendly". Mimics the one submitted by Lorenzo for Eclipse. The goal is to cover the most IDEs with the less options, so please test them to reach this optimum. 2010-01-18 15:53 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/common/hbwince.c - removed LocalLock()/LocalUnlock()/LocalHandle() function wrappers for WinCE builds - we do not use these functions in current code * harbour/contrib/xhb/xhw32prn.prg - removed commented :AskProperties - it's already implemented in WIN_PRN class 2010-01-18 15:40 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbwince.h * harbour/src/common/hbwince.c - disabled not longer necessary in WinCE builds system() and strerror() functions 2010-01-18 15:30 UTC+0100 Viktor Szakats * contrib/hbwin/tests/testprn.prg + Brings up printer setup dialog if run with 'ask' command-line parameter. 2010-01-18 14:56 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapi.h * harbour/src/common/hbver.c + added BOOL hb_iswin9x( void ) C function * harbour/src/rtl/version.c + added HB_OSISWIN9X() PRG function * harbour/src/rtl/gttone.c % simplified the code using hb_iswin9x() function TODO: Check if WinCE support WinNT file IO functions and if yes then replace in src/rtl/filesys.c 'if( hb_iswinnt() )' with 'if( !hb_iswin9x() )' * harbour/contrib/hbwin/win_tprn.prg * harbour/contrib/hbwin/win_prn1.c + added ::AskProperties in WIN_PRN class If it is assigned .t. prior to calling ::Create(), a DocumentProperties dialog is displayed. By Budyanto Dj. borrowed from xHarbour. NOTE: this modification does not contain win9x hack present in xHarbour. Please make tests and update this code if necessary 2010-01-18 14:36 UTC+0100 Viktor Szakats * hbwin/hbwapi.h * hbwin/win_prn1.c + Added HFONT GC interface. 2010-01-18 13:27 UTC+0100 Viktor Szakats * contrib/hbwin/win_prn1.c * contrib/hbwin/hbwapi.h + Added public functions to return and retrieve HDC and HPEN handles. This makes it possible to use these in 3rd party code and other parts of hbwin lib. E.g. to create pure wrappers for GDI functions. + win_prn1.c now uses hbwapi_ret_*() functions to return HDC and HPEN handles. * Renamed static GC related functions. ! WIN_SETPEN() fixed to retrieve pointer from _2nd_ param. (it was 1st previously, pls review me) ! WIN_SETPEN() fixed to not allocate new GC pointer if an existing GC pointer was passed as 2nd parameter. (please review me) * contrib/hbwin/mapi.c * contrib/hbwin/wapi_commctrl.c ! Fixed to compile with Cygwin. [TOMERGE 2.0] * contrib/hbwin/win_prn1.c - Deleted unnecessary winspool.h header. * contrib/hbwin/win_prn2.c * contrib/hbwin/win_prn3.c - Deleted winspool.h header for LCC compiler. We don't support LCC compiler in Harbour. ! Cleaned windows.h inclusion. * contrib/hbfimage/fi_winfu.c * contrib/hbfimage/fi_wrp.c * Formatting. + FIXME added to use GC collected pointers. 2010-01-18 11:39 UTC+0100 Viktor Szakats * contrib/hbwin/hbwin.ch * contrib/hbwin/win_tprn.prg + Added constants for WIN_SETBKMODE() mode parameter. 2010-01-18 11:20 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/dbinfo.ch * harbour/include/hbrdddbf.h * harbour/src/rdd/dbf1.c * harbour/src/rdd/dbfntx/dbfntx1.c * harbour/src/rdd/dbfnsx/dbfnsx1.c * renamed DB_DBFLOCK_XHB64 => DB_DBFLOCK_HB64 * harbour/contrib/hbwin/win_tprn.prg * updated some comments and formatting * harbour/contrib/xhb/Makefile + harbour/contrib/xhb/xhw32prn.prg + added WIN32PRN class, it inherits from WIN_PRN class hiding some differences between Harbour and xHarbour in paper size setting and separated horizontal and vertical alignment setting 2010-01-18 11:04 UTC+0100 Viktor Szakats * contrib/hbwin/win_tprn.prg ! Fix to prev. 2010-01-18 10:58 UTC+0100 Viktor Szakats * contrib/hbwin/win_tprn.prg ! Using constant. * Minor formatting/cleanup. * contrib/hbhpdf/harupdf.c ! HPDF_Page_GetMiterLimit() fixed to return double instead of long. As suggested by Saulius. [TOMERGE 2.0] * Formatting. 2010-01-17 23:08 UTC+0100 Viktor Szakats * hbqt/hbqt.h * hbqt/hbqt.ch * hbqt/hbqt_destruct.cpp * hbqt/hbqt_hbqsyntaxhighlighter.cpp * contrib/hbqt/tests/demoqt.prg - Deleted unused remains of memory release method selection. 2010-01-17 22:49 UTC+0100 Viktor Szakats * contrib/hbwin/hbwin.ch + Added HB_WINFONT_* constants for WIN_ENUMFONTS() returned array positions. + Now possible to disable legacy defintions by defining HB_WIN_NO_LEGACY. This paves the way to include this file in .c files. * contrib/hbwin/win_prn1.c ! WIN_ENUMFONTS() fixed to return empty array (instead of NIL) in error cases. 2010-01-17 20:34 UTC+0100 Viktor Szakats * contrib/hbwin/win_reg.prg * contrib/hbwin/win_os.prg * contrib/hbwin/win_tprn.prg * contrib/hbwin/wapi_winbase.c * contrib/hbwin/hbwin.h * contrib/hbwin/hbwin.ch * contrib/hbwin/tests/testprn.prg * contrib/hbwin/tests/testcom1.prg * contrib/hbwin/tests/testcom2.prg * contrib/hbwin/tests/testreg.prg * contrib/hbwin/tests/testmapi.prg * contrib/hbwin/win_com.c * contrib/hbwin/win_prn1.c * MM_TO_INCH macro moved from hbwin.ch to win_tprn.prg. (INCOMPATIBLE is someone happened to use this in app code) + Prefixed all Windows constants with WIN_ in hbwin.ch. + Prefixed all hbwin specific constants with HB_ in hbwin.ch. + Retained all old legacy / deprecated hbwin.ch constants for compatibility. Users are encourages to use the new ones, as the old ones will be deleted in the future. * Changed WIN_MULDIV() to use hb_retni() (instead of hb_retnl()) * WIN_MULDIV() renamed to WAPI_MULDIV() and moved to wapi source. (INCOMPATIBLE, although it's unlikely anyone is using WIN_MULDIV() so I didn't keep it.) + Added some additional printing related Windows constants. + Added comments to hbwin.ch saying which constant is used in which WIN_*() function. * HB_WIN_MAPI_* constants renamed to WIN_MAPI_*. (I haven't dealt with compatibility as this is brand new functions with not much users yet) + Marked all hbwin.ch deprecated macros with HB_LEGACY_LEVEL3 ! Fixed to use hbwin.ch constants in few remaining places in testprn.prg ; Now it's possible to include hbwin.ch in .c files. ; QUESTION: Why RGB_* color constants aren't using pure colors? If there is no special reason, I think it should be changed to pure ones (with 0xFF components). * src/compiler/hbgenerr.c * Formatting. 2010-01-17 15:06 UTC+0100 Viktor Szakats * contrib/hbwin/win_tprn.prg ! Fixed to not refer to legacy function WIN_GETEXEFILENAME(). Probably this was causing the link-time symbol collision problem once reported by Mindaugas. * contrib/hbwin/hbwin.ch + Added WIN_RGB() macro to replace RGB(). Latter is now deprectaed. * ChangeLog + TOMERGE added to prev entry. 2010-01-17 10:34 UTC+0100 Viktor Szakats * contrib/hbhpdf/harupdf.c ! HPDF_Page_TextWidth() fixed to return double instead of long. As suggested by Francesco Perillo. [TOMERGE 2.0] * contrib/hbwin/hbwin.ch * contrib/hbwin/tests/testprn.prg + Renamed FORM_* to WIN_PRN_DMPAPER*. (old constants are still there for compatibility. + Added new WIN_PRN_DMPAPER* constants. (the list is far from complete, but my first goal was to be about in sync with hbhpdf) 2010-01-16 23:14 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/hbide.prg * contrib/hbide/ideeditor.prg * contrib/hbide/idemisc.prg ! Updated to respect latest changes. 2010-01-16 22:29 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/generator/hbqtgen.prg * contrib/hbqt/generator/qt45.qtp * contrib/hbqt/hbqt.h * contrib/hbqt/hbqt_base.cpp * contrib/hbqt/hbqt_garbage.h * contrib/hbqt/hbqt_hbdbfmodel.cpp * contrib/hbqt/hbqt_hbevents.cpp * contrib/hbqt/hbqt_hbqmainwindow.cpp * contrib/hbqt/hbqt_hbqsyntaxhighlighter.cpp * contrib/hbqt/hbqt_hbqsyntaxhighlighter.h * contrib/hbqt/hbqt_hbqtableview.cpp * contrib/hbqt/hbqt_hbslots.cpp + contrib/hbqt/qth/HBQTextBlockUserData.qth * contrib/hbqt/qth/QAbstractTextDocumentLayout.qth * contrib/hbqt/qth/QApplication.qth * contrib/hbqt/qth/QClipboard.qth * contrib/hbqt/qth/QComboBox.qth * contrib/hbqt/qth/QCursor.qth * contrib/hbqt/qth/QDragEnterEvent.qth * contrib/hbqt/qth/QDragLeaveEvent.qth * contrib/hbqt/qth/QDropEvent.qth * contrib/hbqt/qth/QFocusEvent.qth * contrib/hbqt/qth/QGradient.qth * contrib/hbqt/qth/QKeyEvent.qth * contrib/hbqt/qth/QLabel.qth * contrib/hbqt/qth/QLayoutItem.qth * contrib/hbqt/qth/QLineEdit.qth * contrib/hbqt/qth/QMoveEvent.qth * contrib/hbqt/qth/QPaintDevice.qth + contrib/hbqt/qth/QPaintEngine.qth * contrib/hbqt/qth/QPrintEngine.qth * contrib/hbqt/qth/QResizeEvent.qth * contrib/hbqt/qth/QSplitter.qth * contrib/hbqt/qth/QStandardItemModel.qth * contrib/hbqt/qth/QStyleHintReturn.qth * contrib/hbqt/qth/QStyleHintReturnMask.qth * contrib/hbqt/qth/QStyleHintReturnVariant.qth * contrib/hbqt/qth/QTextBlock.qth * contrib/hbqt/qth/QTextCursor.qth + contrib/hbqt/qth/QTextList.qth * contrib/hbqt/qth/QWheelEvent.qth * contrib/hbqt/qth/QWidget.qth * contrib/hbqt/tests/demoqt.prg * contrib/hbxbp/tests/demoxbp.prg * contrib/hbxbp/xbpgeneric.prg * contrib/hbxbp/xbpmenubar.prg * contrib/hbqt/qtcore/*.cpp * contrib/hbqt/qtgui/*.cpp * contrib/hbqt/qtnetwork/*.cpp ! This commit change some rules to parse .qth files to prepare the wrappers to be encapsulated in hb_retptrGC envelop. It also attempts to pin-point the spots where mem-leak could occur. Only very few calls are left to plain hb_retptr() which eventually will be handled the other way. Only delete ( Q* ) p; is retained. Other two methods are eliminated. Demos are updated to respect it. demoQT and demoXBP now consume very less memory when new dialogs are opened. It means memory management has improved with this commit. Anyhow still I can see memory growing specially in browser navigation. As I remember sometime in past I could manage the sonstant memory, but now I do not remember at what stage we were on Qt. Though all the three variants, demoQT, demoXBP, hbIDE are working properly, still there could be regression, please test. 2010-01-16 13:43 UTC+0500 April White (bright.tigra gmail.com) * contrib/hbbtree/test/test.prg * moved existing code into procedures in preparation for introducing more robust testing; a work in progress * contrib/hbbtree/test/test.hbp * added switches to reduce memory footprint and standard gt 2010-01-16 15:28 UTC+0100 Viktor Szakats * external/libpng/LICENSE * external/libpng/Makefile * external/libpng/png.c * external/libpng/png.h * external/libpng/pngrio.c * external/libpng/pngerror.c * external/libpng/pngconf.h * external/libpng/pngwrite.c * external/libpng/pngset.c * external/libpng/pngpread.c * external/libpng/pngwtran.c * external/libpng/pngwio.c * external/libpng/pngrutil.c * external/libpng/pngwutil.c * external/libpng/pngread.c * external/libpng/pngmem.c * external/libpng/pngget.c * external/libpng/pngrtran.c * external/libpng/pngtrans.c - external/libpng/pngvcrd.c - external/libpng/pnggccrd.c + external/libpng/pngpriv.h * Updated to 1.4.0 (from 1.2.40) * external/libpng/Makefile + Added -DPNG_NO_SETJMP for watcom builds to prevent these errors from happening: wcc386 -zq -bt=nt -bm -w0 -6s -fp6 -onaehtr -s -ei -zp4 -zt0 -oi -i. -i..\..\..\..\..\include -IF:\work\harbour\harbour\external\zlib -DUSE_FAR_KEYWORD -fo=pngread.obj ..\..\..\pngread.c ..\..\..\pngread.c(86): Error! E1071: Type of parameter 2 does not agree with previous definition ..\..\..\pngread.c(86): Note! N2003: source conversion type is 'void (__watcall *)(unsigned int __p1[],int __p2)' ..\..\..\pngread.c(86): Note! N2004: target conversion type is 'void (__cdecl *)(unsigned int __p1[],int __p2)' wcc386 -zq -bt=nt -bm -w0 -6s -fp6 -onaehtr -s -ei -zp4 -zt0 -oi -i. -i..\..\..\..\..\include -IF:\work\harbour\harbour\external\zlib -fo=pngwrite.obj ..\. .\..\pngwrite.c ..\..\..\pngwrite.c(507): Error! E1071: Type of parameter 2 does not agree with previous definition ..\..\..\pngwrite.c(507): Note! N2003: source conversion type is 'void (__watcall *)(unsigned int __p1[],int __p2)' ..\..\..\pngwrite.c(507): Note! N2004: target conversion type is 'void (__cdecl *)(unsigned int __p1[],int __p2)' * external/sqlite3/sqlite3.c * external/sqlite3/sqlite3.h + sqlite upgraded to 3.6.22 (from 3.6.21) 2010-01-16 12:25 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbwin/hbwin.ch * harbour/contrib/hbwin/win_tprn.prg * harbour/contrib/hbwin/win_prn1.c + added support for custom paper size - based on code borrowed from xHarbour by Peter Rees and Budyanto Dj. Unlike in xHarbour to use custom page size it's necessary to set :FormType to FORM_CUSTOM 2010-01-16 12:20 UTC+0100 Viktor Szakats * contrib/hbct/Makefile + contrib/hbct/diskhb.prg - contrib/hbct/diskhb.c + GETVOLINFO() rewritten in pure .prg code. It means it will work on all OSes which we have core support for. This currently means dos and win. OS/2 and other systems still have this as TODO. Anyone to add them? 2010-01-16 12:08 UTC+0100 Viktor Szakats * contrib/hbct/dattime3.c ! Cleaned windows header inclusion. 2010-01-16 12:05 UTC+0100 Viktor Szakats * contrib/hbct/files.c - Deleted no longer necessary OS/2 and Windows specific headers. * contrib/hbct/print.c ! Fixed PRINTSEND() to return permanent zero (instead of NIL) on non-win/djgpp targets. 2010-01-16 12:01 UTC+0100 Viktor Szakats * contrib/hbct/ctnet.c * contrib/hbct/disk.c ! Fixed all functions to be present in non-win builds and return permanent error. ! NETDISK() fixed to not throw two RTEs in a rare case. 2010-01-16 11:39 UTC+0100 Viktor Szakats * contrib/hbnetio/utils/netiosrv.prg ! Fixed server not setting password. + Added command history support. + Added sysinfo command. + Added clipboard paste support. + Implemented suggestions by Przemek (QOUT(), HB_STRCLEAR()) 2010-01-16 09:53 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbwin/win_tprn.prg * updated some comments * harbour/contrib/hbwin/win_prn1.c ! replaced yet another constant value by DMORIENT_LANDSCAPE macro 2010-01-15 21:14 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/generator/qt45.qtp * contrib/hbqt/hbqt.h * contrib/hbqt/hbqt_garbage.h * contrib/hbqt/qtgui/filelist.mk + contrib/hbqt/qtgui/QMdiArea.cpp + contrib/hbqt/qtgui/QMdiSubWindow.cpp + contrib/hbqt/qtgui/TQMdiArea.prg + contrib/hbqt/qtgui/TQMdiSubWindow.prg + contrib/hbqt/qth/QMdiArea.qth + contrib/hbqt/qth/QMdiSubWindow.qth + Added QMDiArea() and QMdiSubWindow() classes. 2010-01-16 02:12 UTC+0100 Viktor Szakats * contrib/hbnetio/tests/netiotst.prg ! Fixed to REQUEST dir related functions to avoid RTE. - contrib/hbnetio/tests/data - Deleted. Now it's created by RPC call. * contrib/hbwin/tests/testprn.prg * Formatting. * contrib/hbwin/win_prn1.c ! Using constants for dmOrientation. 2010-01-16 01:37 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbwin/win_prn1.c % eliminated some unnecessary HB_ISNUM( <n> ) calls ! fixed numeric values directly assigned to HB_BOOL 2010-01-16 00:48 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbwin/win_tprn.prg + added automatic destructors to avoid resource leak + added support for late new page initialization by: oWinPrn:newPage( .T. ) it allows to eliminate blank page when nothing is printed after :newPage() method 2010-01-15 15:36 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/hbide.prg * contrib/hbide/ideactions.prg * contrib/hbide/ideeditor.prg * contrib/hbide/idefindreplace.prg * contrib/hbide/ideobject.prg * contrib/hbide/idethemes.prg ! Fixed: to ensure that next invocation correctly sets the last working codec. [ Marco Bra ] ! Fixed: to correctly dispay the last line nos while inserting or deleting bottom lines. [ Marco Bra ] ! Enabled HBQT_RELEASE_WITH_DELETE protocol for hbIDE. 2010-01-15 21:23 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbwin/win_prn1.c * changed 7th parameter of WIN_TEXTOUT() function to operate on TA_* constant value instead of custom 0, 1, 2 * modified WIN_SETBKMODE() to return current BkMode setting when called without 2nd parameter * harbour/contrib/hbwin/win_tprn.prg + added BkMode member to WIN_PRN class * modified TextOut(), TextOutAt() and TextAtFont() methods to use nAlign as windows TA_* value instead of custom 0, 1, 2 and set default alignment to ( TA_BOTTOM + TA_LEFT ) * formatting 2010-01-15 20:48 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbnetio/netiosrv.c ! fixed c&p typo - it should fix problem reported by Viktor in netiostv * harbour/contrib/hbwin/win_prn1.c * casting 2010-01-15 20:25 UTC+0100 Viktor Szakats * contrib/hbct/disk.c ! TRUENAME() compile-time error fixed for non-win OS after recent change. * contrib/hbct/diskhb.c ! GETVOLINFO() fixed to return empty string on non-win OS. 2010-01-15 20:09 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbwin/win_tprn.prg ! removed left by mistake unused variable * save only numeric parameters in SetColor() method. QUESTION: TextOut() method uses 4th parameter to control text alignment but it uses own constant values: 0 == left, 1 == right, 2 == centered instead of TA_* constants. Should we keep it or rather use windows constant values adding also support for vertical alignment? In current xHarbour code this parameter was changed to accept windows constants and 5th parameter was added which is OR-ed with the 4th one but for me this part is redundant. * harbour/contrib/hbwin/win_prn1.c % minor optimization 2010-01-15 19:55 UTC+0100 Viktor Szakats * src/vm/set.c ! ULONG -> HB_FATTR. Missed this occurrence of this ULONG in previous global modification pass. Error reported by Istvan Bisz. * contrib/hbct/Makefile * contrib/hbct/disk.c + contrib/hbct/diskhb.c ! Cleaned the way Windows headers are included. * Cleaned TRUENAME(), GETVOLINFO() and VOLSERIAL(). + Using new UNICODE macros in TRUENAME(), GETVOLINFO() and VOLSERIAL(). ! GETVOLINFO(), which is not a CT function, got moved to a separate source file to avoid name collisions. ; FIXME: It should be moved to xhb lib eventually. [DONE] * contrib/hbct/ctnet.c * Cleaned NETREDIR() and NETRMTNAME() functions. + Reworked NETREDIR() and NETRMTNAME() functions to use new UNICODE macros. + Extended return buffer in network functions to 128 (from 80). + NETRMTNAME() got support to return embedded zeros in name string. + Documented a hidden xhb extension in NETREDIR(). % hb_WNetErrorHandler() static function merged into NETREDIR(). ; FIXME: Above hidden extension in NETREDIR() very much looks like a debugging feature, so I left a FIXME to convert it to HB_TRACE() call. [DONE - differently] ; Please test them. * contrib/hbsqlit3/hbsqlit3.c * contrib/hbmisc/dates2.c - Deleted two functions which were recently made static, and it turned out they're not even used by Harbour. Warning reported by Istvan Bisz. * src/vm/hashfunc.c * src/vm/asort.c * src/rtl/cdpapi.c * contrib/xhb/xhbat.c * contrib/xhb/txtline.c * LONG -> HB_ISIZ * contrib/xhb/bkgtsks.c * SHORT -> int * contrib/xhb/hbcomprs.c * contrib/xhb/xhberrc.c * LONG -> long 2010-01-15 19:24 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbclass.ch * enable strict parameters validation in method declaration and implementation when warning level (-w?) is 3 or higher * small modification in error messages * harbour/contrib/hbwin/win_prn1.c ! fixed WIN_FILLRECT() to return logical value (result of FillRect() function) + extended WIN_SETPEN() to accept previously created by this function HPEN handles ! fixed WIN_SETCOLOR() to return previously allocated color. This function is used in such context in WIN_PRN class. * harbour/contrib/hbwin/win_tprn.prg + added PageNumber member ! fixed printer output detection to respect also graphic primitives ! fixed SetColor() not changed to win_SetColor() when code was ported from xHarbour 2010-01-15 17:33 UTC+0100 Viktor Szakats * src/vm/cmdarg.c * contrib/hbct/disk.c % Using HB_SIZEOFARRAY() instead of repeating declaration size. * src/vm/maindllp.c * src/vm/extend.c * include/hbtypes.h * include/hbapi.h + 'parinfa' retval ULONG -> HB_SIZE * src/vm/arrayshb.c * src/rtl/substr.c * src/rtl/replic.c * src/rtl/padr.c * src/rtl/padc.c * src/rtl/strtran.c * src/rtl/padl.c * src/rtl/lang.c * src/rtl/right.c * src/rtl/left.c * src/rtl/space.c * src/rtl/hbstrsh.c * src/rtl/rat.c * contrib/hbct/charsprd.c * contrib/xhb/xhbarr.c * contrib/hbpgsql/postgres.c * contrib/hbclipsm/stack.c * contrib/hbmisc/stringsx.c + 'long' -> HB_ISIZ * src/common/hbwince.c * include/hbwince.h * contrib/xhb/xhbat.c * contrib/xhb/cstructc.c + 'unsigned long' -> HB_SIZE * src/rtl/fstemp.c * src/rtl/net.c ! L'x' -> TEXT( 'x' ). 'L' was used also in non-UNICODE mode, which doesn't seem right. * src/rtl/diskspac.c * contrib/hbct/disk.c * contrib/hbwin/win_com.c * contrib/hbwin/win_prn3.c * TCHAR literals enclosed inside TEXT() macro. * contrib/hbwin/win_prn1.c ! WIN_GETPRINTERFONTNAME(): Fixed buffer overrun in UNICODE mode for font names longer than 64 bytes. [TOMERGE 2.0] * ChangeLog + Added two missed changes to this entry: 2010-01-15 12:01 UTC+0100 Viktor Szakats * include/hbdefs.h + Added HB_ISIZ temporary type to mark string/array/hash index/length variable already using signed 'long' type. This will have to converted to HB_SIZE, one HB_SIZE gets also mapped to 'long'. * HB_FATTR mapped to HB_U32 (was: unsigned long) 2010-01-15 15:10 UTC+0100 Viktor Szakats * include/hbexprb.c ! s&r error bug in recent change. * utils/hbmk2/hbmk2.prg + Accepting name=, description=, version= .hbc lines. Just a step, no real purpose. * contrib/hbodbc/odbc.c * long -> HB_SIZE * ULONG -> HB_SIZE 2010-01-15 12:17 UTC+0100 Viktor Szakats * include/hbdefs.h + Marked BOOL, TRUE and FALSE as HB_LEGACY_LEVEL3. This means these types will disappear from Harbour after next major release. Please start to migrate to the new, pure Harbour replacement types for portable Harbour code: HB_BOOL, HB_TRUE, HB_FALSE. Notice that you still may (and should) use BOOL, TRUE, FALSE when dealing with Windows API (and some other 3rd party APIs), where these are valid types in their own context. * include/clipdefs.h + Added BOOL, TRUE and FALSE as Clipper compatibility type. TRUE equals to 1 here for better Clipper compatibility (was: !0) 2010-01-15 12:11 UTC+0100 Viktor Szakats * contrib/gtwvg/gtwvg.h * contrib/gtwvg/wvggui.c * contrib/gtwvg/wvgcuig.c * contrib/gtwvg/wvgwin.c * contrib/gtwvg/wvgutils.c * contrib/gtwvg/wvgcore.c * contrib/gtwvg/wvgwing.c * TRUE -> HB_TRUE * FALSE -> HB_FALSE 2010-01-15 12:01 UTC+0100 Viktor Szakats * include/hbdefs.h + Added HB_ISIZ temporary type to mark string/array/hash index/length variable already using signed 'long' type. This will have to converted to HB_SIZE, one HB_SIZE gets also mapped to 'long'. * HB_FATTR mapped to HB_U32 (was: unsigned long) * src/macro/macro.yyc * src/macro/macro.y * src/macro/macrolex.c * src/rtl/gtwvt/gtwvt.h * doc/en-EN/hb_apigt.txt * doc/en-EN/hb_api.txt * doc/en-EN/hb_vm.txt * doc/en-EN/hb_apiln.txt * doc/en-EN/hb_macro.txt * doc/en-EN/hb_apiit.txt * doc/en-EN/hb_apifs.txt * doc/codestyl.txt * include/hbthread.h * include/hbxvm.h * include/hbvm.h * include/hbcomp.h * include/hbcompdf.h * include/hbwmain.c * include/hbexpra.c * include/hbfloat.h * include/hbapicls.h * include/hbexprb.c * contrib/hbtpathy/tpos2.c * contrib/hbtpathy/tpunix.c * contrib/hbnf/prtscr.c * contrib/hbnf/proper.c * contrib/hbnf/fttext.c * contrib/hbnf/dispc.c * contrib/hbnf/ontick.c * contrib/hbnf/poke.c * contrib/hbpgsql/postgres.c * contrib/rddads/rddads.h * contrib/hbmisc/strfmt.c * contrib/hbmisc/ffind.c * contrib/hbwin/wapi_winbase.c * contrib/hbwin/axcore.c * contrib/hbwin/win_dll.c * examples/hbdoc/examples/core_es/hb_vm.txt * examples/hbdoc/examples/core_es/hb_apiln.txt * examples/rddado/adordd.prg * BOOL -> HB_BOOL * TRUE -> HB_TRUE * FALSE -> HB_FALSE ; Final touches after verification of whole codebase. GTWVG still needs changes. ! Fixed FT_FBOF() returning random value after FT_USE(). ! Fixed some bool values stored in int types. 2010-01-15 02:13 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/hbide.prg * contrib/hbide/ideeditor.prg * contrib/hbide/idesources.prg * contrib/hbqt/hbqt.h * contrib/hbqt/hbqt_hbqsyntaxhighlighter.cpp * contrib/hbqt/hbqt_hbqsyntaxhighlighter.h * contrib/hbqt/hbqt_hbslots.cpp + Implemented "Set Mark" and "Goto Mark" toolbar actions. This implementation has a little glitch which I am lookking to be realized with subclassing. But the prototype is in place. ! Fixed a bug reported by Marco Bra. 2010-01-14 18:21 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/hbide.ch * contrib/hbide/hbide.prg * contrib/hbide/idedocks.prg * contrib/hbide/ideeditor.prg * contrib/hbide/ideobject.prg * contrib/hbide/idesaveload.prg + Implemented current line highliting. Currently it is ON by default. Later when all components will be in place then it will fall under generic category in thought of "Setup" dialog. + Implemented to show number of selection characters in status-bar. Requested by: Rodrigo Machado. + Implemented to retain last selected codec from the main menu to be populated at next run. It is also displayed in the status-bar. ; Please comment. 2010-01-15 01:45 UTC+0100 Viktor Szakats * src/compiler/cmdcheck.c * src/compiler/compi18n.c * src/compiler/complex.c * src/compiler/genc.c * src/compiler/gencc.c * src/compiler/genobj32.c * src/compiler/harbour.y * src/compiler/harbour.yyc * src/compiler/harbour.yyh * src/compiler/hbcomp.c * src/compiler/hbdead.c * src/compiler/hbfunchk.c * src/compiler/hbgenerr.c * src/compiler/hblbl.c * src/compiler/hbmain.c * src/compiler/hbopt.c * src/compiler/hbstripl.c * src/compiler/ppcomp.c * BOOL -> HB_BOOL * TRUE -> HB_TRUE * FALSE -> HB_FALSE ; Only gtwvw is left now. But maybe some local hack will be enough there until the code is unstable. 2010-01-15 00:45 UTC+0100 Viktor Szakats * contrib/hbbmcdx/bmdbfcdx.c * contrib/hbbmcdx/hbbmcdx.h * include/hbapirdd.h * include/hbdbsort.h * include/hbrddcdx.h * include/hbrdddbf.h * include/hbrdddel.h * include/hbrddfpt.h * include/hbrddnsx.h * include/hbrddntx.h * include/hbrddsdf.h * src/rdd/dbcmd.c * src/rdd/dbcmd53.c * src/rdd/dbdetach.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/dbsql.c * src/rdd/delim1.c * src/rdd/hbdbsort.c * src/rdd/hbsix/sxcompr.c * src/rdd/hbsix/sxcrypt.c * src/rdd/hbsix/sxfname.c * src/rdd/hbsix/sxord.c * src/rdd/hbsix/sxsem.c * src/rdd/hbsix/sxtable.c * src/rdd/hbsix/sxutil.c * src/rdd/hsx/hsx.c * src/rdd/nulsys/nulsys.c * src/rdd/sdf1.c * src/rdd/usrrdd/usrrdd.c * src/rdd/wacore.c * src/rdd/wafunc.c * src/rdd/workarea.c * BOOL -> HB_BOOL * TRUE -> HB_TRUE * FALSE -> HB_FALSE 2010-01-14 23:46 UTC+0100 Viktor Szakats * contrib/rddsql/sddmy/mysqldd.c * contrib/rddsql/sddpg/pgsqldd.c * contrib/rddsql/sddfb/fbirddd.c * contrib/rddsql/sddodbc/odbcdd.c * contrib/rddsql/hbrddsql.h * contrib/rddsql/sqlbase.c * contrib/rddsql/sqlmix.c * BOOL -> HB_BOOL * TRUE -> HB_TRUE * FALSE -> HB_FALSE 2010-01-14 23:35 UTC+0100 Viktor Szakats * contrib/rddads/adsx.c * contrib/rddads/adsfunc.c * contrib/rddads/rddads.h * contrib/rddads/ads1.c * contrib/rddads/adsmgmnt.c * BOOL -> HB_BOOL * TRUE -> HB_TRUE * FALSE -> HB_FALSE ! Cleaned some bool type usage cases. 2010-01-14 22:57 UTC+0100 Viktor Szakats * src/pp/pplib.c * src/pp/ppcore.c * src/pp/hbpp.c * include/hbpp.h * BOOL -> HB_BOOL * TRUE -> HB_TRUE * FALSE -> HB_FALSE 2010-01-14 22:04 UTC+0100 Viktor Szakats * contrib/hbct/ctnet.c * Further cleanups. * contrib/hbmemio/memio.c ! Fixed to use HB_TRUE/HB_FALSE instead of 1/0. * contrib/gtwvg/wvgwing.c + FIXMEs added to two suspicious boolean casts. * contrib/hbfimage/fi_wrp.c + Added proper conversion between Harbour boolean and FreeImage boolean value. % Optimized out unnecessary HB_ISNUM()/HB_ISLOG() calls. * contrib/hbnetio/netiocli.c * contrib/hbnetio/netiosrv.c * contrib/hbmemio/memio.c * src/nortl/nortl.c * examples/pp/pp.c * examples/pp/hbpragma.c * examples/pp/hbppcore.c * examples/pp/hbppcomp.c * examples/pp/hbppdef.h * examples/rddado/adordd.prg * BOOL -> HB_BOOL * TRUE -> HB_TRUE * FALSE -> HB_FALSE 2010-01-14 20:09 UTC+0100 Viktor Szakats * contrib/hbct/ctnet.c * Code cleanup. * contrib/hbct/bitnum.c * contrib/hbct/screen2.c * contrib/hbct/token2.c * contrib/hbct/ctnet.c * contrib/hbct/ctwin.c * contrib/hbct/ctwin.h * contrib/hbct/files.c * contrib/hbct/video.c * contrib/hbct/dattime3.c * contrib/hbct/screen1.c * contrib/hbct/token1.c * contrib/hbct/numcount.c * contrib/hbct/ctwfunc.c * contrib/hbct/setrc.c * contrib/hbct/blank.c * contrib/hbct/disk.c * contrib/hbct/ctstrfil.c * contrib/hbct/ctstrfil.h * contrib/hbct/dattime2.c * BOOL -> HB_BOOL * TRUE -> HB_TRUE * FALSE -> HB_FALSE 2010-01-14 10:08 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/hbide.prg * contrib/hbide/idedocks.prg * contrib/hbide/ideeditor.prg * contrib/hbide/ideprojmanager.prg * contrib/hbide/idesources.prg ! Updated to latest Harbour standards : Method Definition == Method Declaration. 2010-01-14 10:03 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbxbp/xbp3state.prg * contrib/hbxbp/xbpbitmap.prg * contrib/hbxbp/xbpbrowse.prg * contrib/hbxbp/xbpcheckbox.prg * contrib/hbxbp/xbpcombobox.prg * contrib/hbxbp/xbpdataref.prg * contrib/hbxbp/xbpdialog.prg * contrib/hbxbp/xbpfiledialog.prg * contrib/hbxbp/xbpfontdialog.prg * contrib/hbxbp/xbphtmlviewer.prg * contrib/hbxbp/xbplistbox.prg * contrib/hbxbp/xbpmenubar.prg * contrib/hbxbp/xbpmle.prg * contrib/hbxbp/xbpparthandler.prg * contrib/hbxbp/xbpprintdialog.prg * contrib/hbxbp/xbpprinter.prg * contrib/hbxbp/xbppushbutton.prg * contrib/hbxbp/xbpqtuiloader.prg * contrib/hbxbp/xbpradiobutton.prg * contrib/hbxbp/xbprtf.prg * contrib/hbxbp/xbpscrollbar.prg * contrib/hbxbp/xbpsle.prg * contrib/hbxbp/xbpspinbutton.prg * contrib/hbxbp/xbpstatic.prg * contrib/hbxbp/xbpstatusbar.prg * contrib/hbxbp/xbptabpage.prg * contrib/hbxbp/xbptoolbar.prg * contrib/hbxbp/xbptreeview.prg * contrib/hbxbp/xbpwindow.prg ! Updated to latest Harbour standards : Method Definition == Method Declaration. 2010-01-14 18:01 UTC+0100 Viktor Szakats * src/rtl/strclear.c + HB_STRCLEAR() return value will now precisely inform about successful clear operation. Thanks to Mindaugas. * src/vm/hashfunc.c * src/vm/macro.c * src/vm/strapi.c * src/vm/runner.c * src/vm/estack.c * src/vm/codebloc.c * src/vm/hashes.c * src/vm/maindll.c * src/vm/dynsym.c * src/vm/debug.c * src/vm/itemapi.c * src/vm/garbage.c * src/vm/asort.c * src/vm/hvm.c * src/vm/cmdarg.c * src/vm/mainstd.c * src/vm/maindllp.c * src/vm/arrays.c * src/vm/task.c * src/vm/fm.c * src/vm/proc.c * src/vm/thread.c * src/vm/memvars.c * src/vm/arrayshb.c * src/vm/eval.c * src/vm/extend.c * src/vm/dynlibhb.c * src/vm/set.c * src/vm/classes.c * src/debug/dbgentry.c * src/common/hbgete.c * src/common/hbffind.c * src/common/hbver.c * src/common/hbprintf.c * src/common/hbfsapi.c * src/common/hbstr.c * src/common/expropt1.c * src/common/expropt2.c * src/common/hbdate.c * src/common/strwild.c * src/common/hbhash.c * src/rtl/gtdos/gtdos.c * src/rtl/fscopy.c * src/rtl/run.c * src/rtl/gtwin/gtwin.c * src/rtl/gtxwc/gtxwc.h * src/rtl/gtxwc/gtxwc.c * src/rtl/math.c * src/rtl/empty.c * src/rtl/gtcrs/gtcrs.c * src/rtl/trim.c * src/rtl/filehb.c * src/rtl/hbtoken.c * src/rtl/fstemp.c * src/rtl/gtchrmap.c * src/rtl/strmatch.c * src/rtl/gtstd/gtstd.c * src/rtl/gttrm/gttrm.c * src/rtl/padr.c * src/rtl/hbstrfmt.c * src/rtl/transfrm.c * src/rtl/fserr.c * src/rtl/minmax.c * src/rtl/hbfeof.c * src/rtl/dates.c * src/rtl/padc.c * src/rtl/gtcgi/gtcgi.c * src/rtl/errapi.c * src/rtl/version.c * src/rtl/hbregexc.c * src/rtl/hbrandom.c * src/rtl/strtran.c * src/rtl/hbprocfn.c * src/rtl/hbsocket.c * src/rtl/hbinet.c * src/rtl/copyfile.c * src/rtl/errintlo.c * src/rtl/gtapi.c * src/rtl/filesys.c * src/rtl/padl.c * src/rtl/hbregex.c * src/rtl/hbbit.c * src/rtl/isprint.c * src/rtl/saverest.c * src/rtl/diskspac.c * src/rtl/console.c * src/rtl/spfiles.c * src/rtl/gtos2/gtos2.c * src/rtl/philes.c * src/rtl/hbbffnc.c * src/rtl/hbgtcore.c * src/rtl/cdpapi.c * src/rtl/dirdrive.c * src/rtl/hbi18n1.c * src/rtl/gtclip.c * src/rtl/mlcfunc.c * src/rtl/gtapiu.c * src/rtl/accept.c * src/rtl/idle.c * src/rtl/itemseri.c * src/rtl/hbrunfun.c * src/rtl/setcolor.c * src/rtl/setkey.c * src/rtl/gtsln/mousesln.c * src/rtl/gtsln/gtsln.c * src/rtl/gtsln/kbsln.c * src/rtl/gtsln/gtsln.h * src/rtl/disksphb.c * src/rtl/strc.c * src/rtl/gtpca/gtpca.c * src/rtl/gtgui/gtgui.c * src/rtl/hbhex.c * src/rtl/trace.c * src/rtl/gt_tpl/gt_tpl.c * src/rtl/inkeyapi.c * src/rtl/filebuf.c * src/rtl/gete.c * src/rtl/setcurs.c * src/rtl/hbproces.c * src/rtl/langapi.c * src/rtl/gtwvt/gtwvt.h * src/rtl/gtwvt/gtwvt.c * src/rtl/mouse53.c * src/rtl/fssize.c * src/rtl/hbbyte.c * src/rtl/mouseapi.c * src/rtl/memofile.c * src/rtl/valtostr.c * src/rtl/file.c * src/rtl/val.c * src/rtl/rat.c * src/rdd/hbsix/sxcompr.c * include/hbvmpub.h * include/hbset.h * include/hbapicdp.h * include/hbstack.h * include/hbapilng.h * include/hbgtcore.h * include/hbapifs.h * include/hbthread.h * include/hbxvm.h * include/hbmacro.h * include/hbtypes.h * include/hbapi.h * include/hbapiitm.h * include/hbznet.h * include/hbvm.h * include/hbapidbg.h * include/hbcomp.h * include/hbsxfunc.h * include/hbcompdf.h * include/hbmather.h * include/hbapistr.h * include/hbwmain.c * include/hbexpra.c * include/hbexprop.h * include/hbsocket.h * include/hbapigt.h * include/hbapicls.h * include/hbhash.h * include/hbregex.h * include/hbexprb.c * include/hbdate.h * contrib/gtalleg/gtalleg.c * contrib/xhb/hboutdbg.c * contrib/xhb/hbserv.h * contrib/xhb/bkgtsks.c * contrib/xhb/dbf2txt.c * contrib/xhb/xhbis.c * contrib/xhb/fparse.c * contrib/xhb/xhb.h * contrib/xhb/xhbsave.c * contrib/xhb/xhbmsgs.c * contrib/xhb/freadlin.c * contrib/xhb/txtline.c * contrib/xhb/dbgfxc.c * contrib/xhb/xhberrc.c * contrib/xhb/filestat.c * contrib/xhb/xhbcopyf.c * contrib/xhb/hbnxs.h * contrib/xhb/hbserv.c * contrib/xhb/cstructc.c * contrib/xhb/xhbfunc.c * contrib/hbmzip/hbmzip.c * contrib/gtqtc/gtqtc.cpp * contrib/gtwvg/gtwvg.c * contrib/gtwvg/gtwvg.h * contrib/gtwvg/wvggui.c * contrib/gtwvg/wvgcuig.c * contrib/gtwvg/wvggui.h * contrib/gtwvg/wvgwin.c * contrib/gtwvg/wvgutils.c * contrib/gtwvg/wvgcore.c * contrib/gtwvg/wvgwing.c * contrib/hbmisc/hb_f.c * contrib/hbmisc/dates2.c * contrib/hbwin/hbwapi.h * contrib/hbbtree/tests/ctest.c * BOOL -> HB_BOOL * TRUE -> HB_TRUE * FALSE -> HB_FALSE ; If possible please try to verify me, at least your own are of interest or expertise. Look for HB_BOOL/HB_TRUE/HB_FALSE usage in WINAPI calls, if you see such thing, it's wrong. Also some, HB_BOOL WINAPI BOOL implicit conversions may need to be cleaned. ; I didn't touch PP, RDD, SDD and compiler parts yet. ; In few places it's possible that some in-line comments are disaligned after this operation. 2010-01-14 13:36 UTC+0100 Viktor Szakats * src/rdd/hbsix/sxcompr.c * src/rdd/hbsix/sxcrypt.c * include/hbsxfunc.h + ULONG -> HB_SIZE (some remain) * include/hbapiitm.h * include/hbvm.h + ULONG -> HB_SIZE (missed from prev) * contrib/hbbmcdx/bmdbfcdx.c ! Fixed another legacy call. 2010-01-14 13:20 UTC+0100 Viktor Szakats * include/hbdefs.h + Added HB_FATTR type to represent file attribute (mapped to unsigned long). * src/common/hbffind.c * src/rtl/fstemp.c * src/rtl/filesys.c * src/rtl/spfiles.c * src/rtl/philes.c * src/rtl/filebuf.c * include/hbapifs.h * contrib/hbct/files.c + ULONG -> HB_FATTR * contrib/hbct/charsprd.c * contrib/hbct/misc2.c * contrib/hbct/blank.c * contrib/hbct/disk.c * contrib/hbct/dattime2.c * contrib/hbct/expand.c + ULONG -> HB_SIZE * include/hbapifs.h * contrib/xhb/xhb.h + ULONG -> HB_SIZE (missed from prev) 2010-01-14 12:44 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbpp.h * harbour/src/pp/ppcore.c * harbour/src/pp/pplib.c * harbour/src/compiler/ppcomp.c + added support for __pragma( <switchname> ) in #if expressions, i.e.: #if __pragma( WARNINGLEVEL ) >= 3 #stdout Warnings set to level 3 or higher #endif #if !__pragma( z ) #stdout Shortcut optimization enabled #else #stdout Force complete boolean evaluation #endif #if __pragma( kj ) #stdout NO JUMP OPTIMIZATION #endif #if __pragma( km ) #stdout MACRO TEXT SUBSTITUTION DISABLED #endif #if __pragma( kh ) #stdout HARBOUR EXTENSIONS #endif 2010-01-14 12:36 UTC+0100 Viktor Szakats * contrib/xhb/hbcrypt.c * contrib/xhb/dbf2txt.c * contrib/xhb/xstrdel.c * contrib/xhb/hbcomprs.c * contrib/xhb/txtline.c * contrib/hbbmcdx/bmdbfcdx.c ! Fixed to use current APIs instead of legacy/compatibility ones. ; Pls review the cdp ones. * src/rtl/langapi.c * include/hbapilng.h + Un-marked hb_langDGetErrorDesc() with HB_LEGACY_LEVEL3. [REVERT] 2010-01-14 12:25 UTC+0100 Viktor Szakats * src/vm/hashfunc.c * src/vm/macro.c * src/vm/strapi.c * src/vm/codebloc.c * src/vm/hashes.c * src/vm/debug.c * src/vm/itemapi.c * src/vm/asort.c * src/vm/hvm.c * src/vm/cmdarg.c * src/vm/maindllp.c * src/vm/arrays.c * src/vm/memvars.c * src/vm/arrayshb.c * src/vm/extend.c * src/vm/set.c * src/rtl/strtran.c * include/hbxvm.h * include/hbtypes.h * include/hbapi.h * include/hbapistr.h * ULONG -> HB_SIZE 2010-01-14 11:52 UTC+0100 Viktor Szakats * src/rtl/gtwin/gtwin.c * src/rtl/gtcrs/gtcrs.c * src/rtl/gtstd/gtstd.c * src/rtl/gtcgi/gtcgi.c * src/rtl/gtpca/gtpca.c * src/rtl/gtgui/gtgui.c * src/rtl/gtwvt/gtwvt.c * src/rtl/transfrm.c * src/rtl/hbprocfn.c * src/rtl/console.c * src/rtl/hbgtcore.c * src/rtl/accept.c * src/rtl/hbproces.c * include/hbgtcore.h * ULONG -> HB_SIZE 2010-01-14 11:31 UTC+0100 Viktor Szakats * src/vm/set.c * src/debug/dbgentry.c * src/common/hbgete.c * src/common/hbffind.c * src/common/hbwince.c * src/common/hbstr.c * src/common/hbmem.c * src/common/strwild.c * src/common/hbhash.c * src/rtl/lennum.c * src/rtl/strxor.c * src/rtl/strcase.c * src/rtl/hbzlibgz.c * src/rtl/trim.c * src/rtl/base64c.c * src/rtl/binnum.c * src/rtl/hbtoken.c * src/rtl/ampm.c * src/rtl/descend.c * src/rtl/strpeek.c * src/rtl/replic.c * src/rtl/padr.c * src/rtl/hbstrfmt.c * src/rtl/hbntos.c * src/rtl/hbadler.c * src/rtl/at.c * src/rtl/fserr.c * src/rtl/hbcrc.c * src/rtl/hbmd5.c * src/rtl/hbascii.c * src/rtl/padc.c * src/rtl/strzero.c * src/rtl/hbregexc.c * src/rtl/strtran.c * src/rtl/hbsocket.c * src/rtl/hbinet.c * src/rtl/strtoexp.c * src/rtl/gtapi.c * src/rtl/filesys.c * src/rtl/padl.c * src/rtl/hbregex.c * src/rtl/saverest.c * src/rtl/right.c * src/rtl/hbbffnc.c * src/rtl/cdpapi.c * src/rtl/hbi18n1.c * src/rtl/gtclip.c * src/rtl/mlcfunc.c * src/rtl/left.c * src/rtl/xsavescr.c * src/rtl/hardcr.c * src/rtl/setkey.c * src/rtl/hbzlib.c * src/rtl/strc.c * src/rtl/stuff.c * src/rtl/hbhex.c * src/rtl/trace.c * src/rtl/samples.c * src/rtl/inkeyapi.c * src/rtl/inkey.c * src/rtl/mtran.c * src/rtl/gete.c * src/rtl/mouse53.c * src/rtl/colorind.c * src/rtl/ati.c * src/rtl/soundex.c * src/rtl/memofile.c * src/rtl/valtostr.c * src/rtl/rat.c * include/hbapicdp.h * include/hbgtcore.h * include/hbapifs.h * include/hbapi.h * include/hbchksum.h * include/hbapigt.h * include/hbhash.h * contrib/xhb/hboutdbg.c * contrib/xhb/hbxml.c * contrib/xhb/hbcrypt.c * contrib/xhb/dbf2txt.c * contrib/xhb/xstrdel.c * contrib/xhb/xhbsave.c * contrib/xhb/hbcomprs.c * contrib/xhb/datesxhb.c * contrib/xhb/xhbat.c * contrib/xhb/xhbmsgs.c * contrib/xhb/xhbarr.c * contrib/xhb/txtline.c * contrib/xhb/xhbtrim.c * contrib/xhb/hbserv.c * contrib/xhb/cstructc.c * contrib/xhb/xhbfunc.c * ULONG -> HB_SIZE * src/rtl/langapi.c * include/hbapilng.h * ULONG -> int + Marked hb_langDGetErrorDesc() with HB_LEGACY_LEVEL3. * src/common/hbprintf.c ! ULONG -> int * src/debug/dbgentry.c * Formatting. 2010-01-14 10:11 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbclass.ch ! fixed compilation with strong typed parameters in method implementation * enable strict parameters validation only when method is declared with (), i.e.: method open does not force any parameter validation so it can be implemented with any parameters but: method open() needs open method implementation with only one parameter and: method open( file ) needs open method implementation with exactly one parameter 'file' 2010-01-14 00:57 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/gtwvg/wvg3stat.prg * contrib/gtwvg/wvgax.prg * contrib/gtwvg/wvgbitmp.prg * contrib/gtwvg/wvgcheck.prg * contrib/gtwvg/wvgcombo.prg * contrib/gtwvg/wvgcrt.prg * contrib/gtwvg/wvgdarea.prg * contrib/gtwvg/wvgdatar.prg * contrib/gtwvg/wvgdlg.prg * contrib/gtwvg/wvghtmlv.prg * contrib/gtwvg/wvglistb.prg * contrib/gtwvg/wvgmenub.prg * contrib/gtwvg/wvgmle.prg * contrib/gtwvg/wvgpushb.prg * contrib/gtwvg/wvgradio.prg * contrib/gtwvg/wvgscrlb.prg * contrib/gtwvg/wvgsle.prg * contrib/gtwvg/wvgstatb.prg * contrib/gtwvg/wvgstatc.prg * contrib/gtwvg/wvgsysw.prg * contrib/gtwvg/wvgtabpg.prg * contrib/gtwvg/wvgtoolb.prg * contrib/gtwvg/wvgtreev.prg * contrib/gtwvg/wvgwnd.prg ! Methods definition matched with methods as per Harbour specs. It compiles fine but it will be wise to reformat them for consistency. 2010-01-13 22:24 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/gtwvg/wvgclass.prg ! Fixed method declarations as per current requirements. ! Formatting. 2010-01-14 05:18 UTC+0100 Viktor Szakats * contrib/hbnf/mouse.c * contrib/hbnf/getver.c * contrib/hbclipsm/status.c * contrib/hbmisc/dates2.c * examples/gtwvw/gtwvw.c * examples/gtwvw/wvwstbar.c * examples/gtwvw/wvwfuncs.c % hb_arraySet( ..., hb_itemPut*() ) optimized to hb_arraySet*(). % hb_itemArrayPut( ... ) optimized to hb_arraySet*(). % hb_itemReturn() + hb_itemRelease() optimized to hb_itemReturnRelease(). ! Fixed two win64 bugs in above gtwvw calls. * contrib/hbclipsm/status.c ! Fixed wrong color string buffer declaration masked by casts. [TOMERGE 2.0] 2010-01-14 04:47 UTC+0100 Viktor Szakats * src/rtl/mousex.c * src/rdd/dbcmdx.c * contrib/xpp/mousex.c * contrib/xpp/dbcmdx.c * contrib/hbtpathy/tpwin.c * contrib/hbgt/bitflags.c * contrib/hbsqlit3/hbsqlit3.c * contrib/hbnf/fttext.c * contrib/hbnf/putkey.c * contrib/hbclipsm/time.c * contrib/hbtip/utils.c * contrib/hbtip/encmthd.c + BOOL/TRUE/FALSE -> HB_BOOL/HB_TRUE/HB_FALSE * contrib/hbsqlit3/hbsqlit3.c ! Marked local support functions as 'static'. * contrib/hbnf/mouse.c * BOOL -> int % Using hb_arraySet*() API. * contrib/hbgd/gdwrp.c ! Added missing hb_numToHandle() calls. 2010-01-14 04:04 UTC+0100 Viktor Szakats * src/rtl/binnumx.c * contrib/xpp/binnumx.c * contrib/hbmisc/stringsx.c * contrib/hbtip/utils.c * contrib/hbcairo/context.c * contrib/hbcairo/core.c * ULONG -> HB_SIZE * contrib/hbgt/ascposgt.c * ULONG -> HB_SIZE ! hb_parni() -> hb_parnl() * contrib/hbsqlit3/hbsqlit3.c ! ULONG -> int (var used in 3rd party interface) * contrib/hbmzip/hbmzip.c * Formatting. * contrib/hbclipsm/num.c % hb_retnl() -> hb_retni() * ULONG -> HB_SIZE * contrib/hbgd/gdwrp.c % Deleted few unnecessary ULONG casts. ! Fixed win64 problem where file handle was read from hb_parnl() instead of hb_parnint(). ! Fixed 'hb_parnl( 2 ) > -1' code checking for valid file handle to 'hb_parnint( 2 ) != FS_ERROR'. * ULONG -> HB_SIZE % Elmininated few variables. * Formatting. * contrib/hbmisc/strfmt.c * ULONG -> int, HB_SIZE * BOOL -> HB_BOOL. 2010-01-14 03:22 UTC+0100 Viktor Szakats * contrib/hbwin/win_prn3.c * ULONG -> HB_SIZE ! Fixed new warning in hb_tstrncat() (assigment in conditional). I've now basically restored my original version taken from common lib. * contrib/hbwin/mapi.c * Formatting. 2010-01-13 18:19 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/ideeditor.prg * contrib/hbide/idemisc.prg * contrib/hbide/ideobject.prg * contrib/hbide/idesources.prg + Implemented line numbers in editing objects. I used a very simplified way to achieve which otherwise is implemented in altogether different ways in Qt examples scattered over the net. + Thoughly reworked Edit engine. Please text. TODO: Synchronize method definitions with declarations. 2010-01-14 02:47 UTC+0100 Viktor Szakats * contrib/hbqt/generator/hbqtgen.prg * contrib/hbqt/qth/QSyntaxHighlighter.qth * contrib/hbqt/hbqt_misc.prg ! Synced method declaration with definition. ; (I'm leaving hbxbp and gtwvg to Pritpal) * contrib/hbqt/qtgui/* * contrib/hbqt/qtcore/* * contrib/hbqt/qtnetwork/* * Regenerated. * contrib/hbxbp/Makefile * Sorted files alphabetically. 2010-01-14 01:44 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/compiler/harbour.y * harbour/src/compiler/harbour.yyh * harbour/src/compiler/harbour.yyc ! pacified compile time error when ... is used as parameter in _HB_MEMBRER declaration. TODO: Remove or fix this strong typing grammar rules. * harbour/src/debug/dbgtwin.prg * harbour/src/debug/dbgtmenu.prg * harbour/src/debug/tbrwtext.prg * harbour/src/debug/debugger.prg * harbour/src/debug/dbgtinp.prg * harbour/src/rtl/tbcolumn.prg * harbour/src/rtl/listbox.prg * harbour/src/rtl/pushbtn.prg * harbour/src/rtl/treport.prg * harbour/src/rtl/radiogrp.prg * harbour/src/rtl/tthreadx.prg * harbour/src/rtl/checkbox.prg * harbour/src/rtl/tsymbol.prg * harbour/src/rtl/teditor.prg * harbour/src/rtl/tmenuitm.prg * harbour/src/rtl/tbrowse.prg * harbour/contrib/hbmysql/tmysql.prg * harbour/contrib/xhb/stream.prg * harbour/contrib/xhb/trpccli.prg * harbour/contrib/xhb/hblognet.prg * harbour/contrib/xhb/tfile.prg * harbour/contrib/xhb/tframe.prg * harbour/contrib/xhb/htjlist.prg * harbour/contrib/xhb/hblog.prg * harbour/contrib/xhb/trpc.prg * harbour/contrib/xhb/thtm.prg * harbour/contrib/xhb/tcgi.prg * harbour/contrib/xhb/ttable.prg * harbour/contrib/xhb/txml.prg * harbour/contrib/xhb/hjwindow.prg * harbour/contrib/xhb/htmutil.prg * harbour/contrib/hbodbc/todbc.prg * harbour/contrib/hbfbird/tfirebrd.prg * harbour/contrib/xpp/tthreadx.prg * harbour/contrib/hbpgsql/tpostgre.prg * harbour/contrib/hbgd/gdchart.prg * harbour/contrib/hbgd/gdimage.prg * harbour/contrib/hbgd/gdbar.prg * harbour/contrib/hbgd/gdbarcod.prg * harbour/contrib/hbmisc/twirler.prg * harbour/contrib/hbtip/thtml.prg * harbour/contrib/hbtip/cgi.prg * harbour/contrib/hbtip/httpcli.prg * harbour/contrib/hbtip/smtpcli.prg * harbour/contrib/hbtip/client.prg * harbour/contrib/hbtip/ftpcli.prg * harbour/contrib/hbtip/mail.prg * harbour/contrib/hbtip/popcli.prg * harbour/contrib/hbwin/win_tprn.prg * harbour/contrib/hbbtree/tbtree.prg * harbour/utils/hbformat/hbformat.prg ! fixed class method declarations to be synced with method implementations All of the above missdeclarations were detected by compilation with: HB_USER_PRGFLAGS=-DHB_CLS_PARAMS_ERR Few years ago in hbclass.ch I defined PP rules to force strict method declarations but I had to disable them due to problems with old PP. I defined HB_CLS_NO_PARAMS_ERR and left this note in hbclass.ch: > I have to enable this definition by default until we will not fix > preprocessor. [druzus] Current PP code works correctly so we can remove it and activate this code. Anyhow as above commit shows a lot of code has been created with wrong declarations. I fixed Harbour core code (except HBQT, HBXBP and GTWVG - I hope Pritpal or Viktor will fix it) but setting HB_CLS_PARAMS_ERR as default will exploit a lot of similar problems in user code so I would like the hear other developers' opinions about it. 2010-01-14 01:35 UTC+0100 Viktor Szakats * src/rtl/memoedit.prg ! Fixed to set K_ESC as lastkey() if exiting with changed buffer and answering 'yes' to confirmation question. Thanks Przemek for reporting it. ! Fixed to not save buffer if exiting with <Esc> and SET SCOREBOARD OFF. * src/rtl/tget.prg % Minor optimization when displaying delim chars. * contrib/hbwin/win_prn3.c ! Fixed function name in file header comment. 2010-01-14 00:30 UTC+0100 Xavi (jarabal/at/gmail.com) * harbour/contrib/hbwin/win_prn3.c * pacified warnings 2010-01-13 22:00 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/achoice.prg ! fixed RTE reported by Robert Skowronek - thanks for the code example ! fixed not shown immediately newly added achoice items (see Robert's example) - please verify this modification. 2010-01-13 20:14 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/vm/hashes.c ! fixed missing HB_STACK_TLS_PRELOAD - thanks to Xavi * harbour/contrib/hbnetio/netiosrv.c ! fixed wrong declaration and casting of rpcFilter - thanks to Xavi + harbour/contrib/hbnetio/readme.txt + added small description of NETIO functions - now only client parts * harbour/contrib/hbwin/win_tprn.prg * updated class name in comments * harbour/contrib/hbwin/win_prn1.c * minor formatting * harbour/contrib/hbwin/win_prn3.c % removed unnecessary rest of buffer clearing in hb_tstrncat() 2010-01-13 18:11 UTC+0100 Viktor Szakats * src/rtl/tget.prg ! Fixed cursor positioning bug, when @S picture length is higher than actual edit buffer length. Thanks to Stupar for report. [TOMERGE 2.0] * contrib/hbnetio/utils/netiosrv.prg * Minor. 2010-01-13 08:53 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/hbide.prg * contrib/hbide/ideeditor.prg * contrib/hbide/idemisc.prg * contrib/hbide/ideobject.prg ! Code cleanup. ! Started preparations for line nos dispaly commented out with #if 0/#endif construct. * contrib/hbqt/hbqt_hbslots.cpp ! Fixed to initialize the C to PRG calling block with correct parameters number. 2010-01-13 17:12 UTC+0100 Viktor Szakats * src/rtl/Makefile + src/rtl/strclear.c * include/hbextern.ch + Added HB_STRCLEAR() function to safely clear the content of a string variable. Notice that this method by itself can only work if the string variable has no other references, and generally you have to code carefully to avoid creating unwanted copies of the string when passing it around in an app. So this is no silver bullet, but rather just one component to solve this problem. * contrib/hbnetio/utils/netiosrv.prg + Added steps to avoid having the password stored in memory, while the server is running. * src/rtl/philes.c % Minor cleanup. 2010-01-13 15:45 UTC+0100 Viktor Szakats * contrib/hbnetio/utils/netiosrv.prg + Internal change moving all server object related variables to one array. + Added 'config' command. * Changed exit command to quit to be in sync with other tools and hbrun. + Attempt to free password variable. + Showing 'unsafe' warning if RPC is enabled without filter module. 2010-01-13 15:10 UTC+0100 Viktor Szakats * include/hbsetup.ch * Disabled HB_LEGACY_LEVEL2 by default. * HB_LEGACY_OFF now controls HB_LEGACY_LEVEL3 (was HB_LEGACY_LEVEL2). + Added HB_LEGACY_LEVEL4 ; SVN users notice: This may make your C code INCOMPATIBLE with this version, please review required changes (documented in older ChangeLog entries) and update your code. Look for HB_LEGACY_LEVEL2 and INCOMPATIBLE keywords. * contrib/hbnetio/utils/netiosrv.prg + contrib/hbnetio/utils/modules.hbp + contrib/hbnetio/utils/modules + contrib/hbnetio/utils/modules/test.prg + Added simple command line to server. + Added list of possible feature as TODO. Most of these will need backend support from hbnetio lib. + Added detailed help screen. + Added --version option support. + Added support for -rpc=file.hrb option. Although for some reason (most likely my omission) it doesn't work yet. + -DHB_EXTERN will now enable inclusion of all core functions. + Added build file for .hrb modules. + Added little test module. + Added SETCANCEL( .F. ) to avoid irregular shutdown with Ctrl+C. * src/rtl/memoedit.prg ! Deleted hack which explicitly set lastkey to CTRL_END/W when exiting with changes saved. The comment said that it was added to make DBU happy, but it doesn't seem to be necessary anymore, at least I couldn't spot any problem without it. Pls check it. ! Fixed MEMOEDIT() not recognizing K_ESC as exit key when custom function is used. This fixes DBU not recognizing K_ESC as a way to exit memo editing. Please review, I'm not MEMOEDIT() user and this was such an obvious omission that I wonder if there was some real reason for it. Anyhow it was wrong before. * contrib/hbfimage/fi_wrp.c * contrib/hbclipsm/num.c * contrib/hbclipsm/numfloor.c * contrib/hbclipsm/status.c * contrib/hbclipsm/numceil.c * Formatting. 2010-01-13 13:07 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rdd/hbsix/sxcompat.prg ! fixed bug reported by Stupar: OrdSetFocus() used instead of OrdNumber() 2010-01-13 09:37 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapi.h * harbour/src/vm/hashes.c + added new function hb_hashGetCItemPtr() which accepts ASCIIZ string as index. * harbour/contrib/hbnetio/netiosrv.c + added support for using HASH arrays as RPC filter. Such hash array should be indexed by function/procedure name set of codeblocks or function references or even objects which understand EVAL method. Please remember that function names passed from client side are case sensitive so if you do not need it then please disable case matching in the hash array, i.e. using HB_HSETCASEMATCH( hValue, .F. ). * renamed NETIO_RPCFUNC() to NETIO_RPCFILTER() it's better name now because we added support for using hash arrays as RPC filters: NETIO_RPCFILTER( <pConnectionSocket>, <sFuncSym> | <hValue> | NIL ) -> NIL * harbour/contrib/hbnetio/netiomt.prg + added support for setting RPC filter in NETIO_MTSERVER() using its 4th parameter: NETIO_MTSERVER( [<nPort>], [<cIfAddr>], [<cRootDir>], [<lRPC> | <sFuncSym> | <hValue>], [<cPasswd>], [<nCompressionLevel>], [<nStrategy>] ) -> <pListenSocket> * harbour/contrib/hbclipsm/environ.c ! fixed GPF in FILEDRIVE() function on platforms which do not support drive letters or when path does not contain drive. % small optimization in FILEPATH(), FILEBASE(), FILEEXT(), FILEDRIVE() [TOMERGE 2.0] 2010-01-11 18:12 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/generator/hbqtgen.prg * contrib/hbqt/qth/QTextCodec.qth * contrib/hbqt/qtcore/* * contrib/hbqt/qtgui/* * contrib/hbqt/qtnetwork/* + Implemented Linguistic Translation Mechanism base call. The next step is to feed translations into Qt's engine. This means any string sent to QWidgets will be translated through the language set with hbqt_SetCodecForTr( cCodec ). The translated string is in the context of the widget it is being applied to. TODO: Feed the translations from outer source. 2010-01-12 01:53 UTC+0500 April White (bright.tigra gmail.com) * contrib/hbbtree/hb_btree.c * read-only flag is not hidden when a file is opened * allow skip size to be optional * raise error when inserting or deleting into a read-only file ! this does not apply to a created read-only file * improved argument checks * fixed FIXME regarding portable binary format reading/writing * fixed FIXME regarding a suspicious sizeof of a constant ! FIXME: in-memory btree's cause a fatal error; this is a work in progress 2010-01-11 16:58 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/hbide.ch * contrib/hbide/hbide.prg * contrib/hbide/ideactions.prg * contrib/hbide/ideeditor.prg * contrib/hbide/idefindreplace.prg * contrib/hbide/ideobject.prg * contrib/hbide/ideprojmanager.prg * contrib/hbide/idesources.prg + Implemented various actions on current editing window honoring splitted windows indivisually, i.e., Find/Replace, Goto, Function activated via Function List, etc., etc. Though I have attempted resonable debugging but still for sure I must have left undesirable, please report. + Thoroughly overhauled "Editor Tab" management, more elegant and encapsulated. 2010-01-12 19:39 UTC+0100 Viktor Szakats * contrib/hbsqlit3/hbsqlit3.c * contrib/hbfimage/fi_wrp.c ! Fixed to use hb_vmRequest*() in callbacks. * contrib/hbfimage/fi_wrp.c % Optimized FreeImageErrorHandler(). % FreeImageErrorHandler() made static. * Formatting. ; Please test and review. I didn't test these modifications at all. 2010-01-11 10:21 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/hbqt_destruct.cpp + HBQT_SETCODECFORTR() * contrib/hbxbp/xbpgeneric.prg + HbXbp_SetCodecForTr( cCodec ) A step closer to internationalization. I do not know yet what other steps be needed but... 2010-01-11 08:20 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/ideprojmanager.prg ! Fixed bug reported by Marco Bra * contrib/hbqt/hbqt_destruct.cpp * contrib/hbqt/hbqt_hbqmainwindow.cpp * contrib/hbqt/qtgui/QMainWindow.cpp * contrib/hbqt/qth/QMainWindow.qth % Moved hbqt_QMainWindow_save(rest)Settings() from hbqt_destruct.cpp to QMainWindow.cpp. 2010-01-12 16:44 UTC+0100 Viktor Szakats * src/common/hbstr.c * Formatting. * contrib/hbwin/win_prn3.c + Added static versions of strlen and strncat working on TCHARs, to replace lstrlen(), lstrcat() unsafe calls. * contrib/hbnetio/utils/netiosrv.prg + Option renamed: -addr= -> -iface= + Added warning for unknown options. * contrib/hbnetio/tests/netiot02.prg + Date setup. * contrib/hbcurl/hbcurl.c * contrib/hbssl/ssl.c * contrib/hbssl/pem.c ! Wrapped hb_vmEvalBlockV() calls between hb_vmRequestReender() and hb_vmRequestRestore() call pairs. [TOMERGE 2.0] 2010-01-12 15:21 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/examples/gtwvw/gtwvw.c * updated to use hbgtreg.h to register the GT 2010-01-12 13:08 UTC+0100 Viktor Szakats * contrib/hbnetio/utils/netiosrv.prg + Added new parameter parsing allowing to pass options in free order in any combination. 2010-01-12 12:23 UTC+0100 Viktor Szakats * contrib/hbnetio/utils/netiosrv.hbp + Now includes hbmk.hbm so that the .hbp file works when hbmk2 is launched from other directory. 2010-01-11 01:52 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/hbqt_destruct.cpp + Added .prg callable hbqt_QMainWindow_saveSettings() and hbqt_QMainWindow_restSettings(). These two functions are essential to save and restore last hbIDE interface exactly in the same state it was closed last. This I could not achieve via pure .prg code. * contrib/hbide/hbide.prg * contrib/hbide/ideeditor.prg * contrib/hbide/idesaveload.prg + Implemented restoring exact geometry of main window plus all the docking windows plus toolbars. hbIDE creates idesettings.ini in the folder returned by hb_dirBase(). Note that idesettings.ini is not a windows .ini format and please do not try to change even a single byte of its contents. + Implemented splitting any source into multiple windows. This implementation allows you to edit different parts of same source simultaneously. This feature allows you to split window horizontally or vertically. You can split many times. This feature can be activated as such: 1. Right-click somewhere in the editing tab 2. Context menu will be displayed, point to <Split> item 3. Select from "Split Horiz..." etc. Please report any functionality which may be incorporated hereunder. 2010-01-11 08:12 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) + contrib/hbide/resources/findsource.ui %+ TOBE implemented in "Sources List" tabpage of "Project Properties" dialog. * contrib/hbide/resources/projectproperties.ui + Added some buttons to "Sources List" tabpage. * contrib/hbide/hbide.prg * contrib/hbide/idemisc.prg * contrib/hbide/ideprojmanager.prg + Implemented case-insensitive sorting of source files list per: 1) Ascending 2) Descending 3) Organized per source type { ".ch", ".prg", ".c", ".cpp", ".h", ".obj", ".o", ".lib", ".a", ".rc", ".res" } This may look like : # # .prg # C:\MySources\abc.prg C:\MySources\harbour.prg C:\MySources\system.prg # .c C:\MySources\a.c C:\MySources\zaa.c Opinions are welcome. 2010-01-11 19:40 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbnetio/netio.h * harbour/contrib/hbnetio/netiomt.prg * harbour/contrib/hbnetio/netiocli.c * harbour/contrib/hbnetio/netiosrv.c * updated some comments * harbour/examples/gtwvw/gtwvw.c ! fixed typo in HB_TRACE() message 2010-01-11 08:12 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/ideeditor.prg * contrib/hbide/idesources.prg * contrib/hbide/resources/projectproperties.ui ! Re-worked "New" file management. 2010-01-11 16:24 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) + harbour/contrib/hbnetio/tests/netiot02.prg + added yet another example of NETIO client. It needs netiosrv executed on the same machine, see comments inside this code for details. 2010-01-11 14:10 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbnetio/tests/netiotst.prg * added netio_disconnect() to test code * harbour/ChangeLog * harbour/examples/gtwvw/gtwvw.c ! replaced TABs with spaces * harbour/contrib/hbnetio/tests/hbmk.hbm * harbour/examples/hbdoc/examples/hbmisc/readme.txt * harbour/examples/gtwvw/hbgtwvw.h * harbour/examples/gtwvw/hbole.h ! fixed hardcoded \r\n EOLs * harbour/src/vm/strapi.c * harbour/src/common/strwild.c * harbour/src/nortl/nortl.c * harbour/src/nortl/Makefile * harbour/src/rtl/hbascii.c * harbour/src/rtl/hbsocket.c * harbour/src/rtl/hbbffnc.c * harbour/src/rtl/hbznet.c * harbour/src/rtl/hbbfish.c * harbour/src/rtl/hbbyte.c * harbour/src/codepage/uc646_yu.c * harbour/src/codepage/cphriso.c * harbour/src/rdd/dbrename.c * harbour/tests/cpinfo.prg * harbour/include/hbmsgreg.h * harbour/include/hbgtreg.h * harbour/include/hbznet.h * harbour/include/hbmather.h * harbour/include/hbsocket.ch * harbour/include/hbtrace.ch * harbour/include/hbapistr.h * harbour/include/hbiniseg.h * harbour/include/hbsocket.h * harbour/include/hbbfish.h * harbour/include/hbcdpreg.h * harbour/include/hbfloat.h * harbour/contrib/hbqt/qtgui/QPageSetupDialog.cpp * harbour/contrib/hbqt/qtgui/QDragEnterEvent.cpp * harbour/contrib/hbqt/qtgui/TQToolBox.prg * harbour/contrib/hbqt/qtgui/QGridLayout.cpp * harbour/contrib/hbqt/qtgui/TQTreeView.prg * harbour/contrib/hbqt/qtgui/TQTextCharFormat.prg * harbour/contrib/hbqt/qtgui/QItemSelectionModel.cpp * harbour/contrib/hbqt/qtgui/TQTextLine.prg * harbour/contrib/hbqt/qtgui/QConicalGradient.cpp * harbour/contrib/hbqt/qtgui/QTextLength.cpp * harbour/contrib/hbqt/qtgui/TQInputEvent.prg * harbour/contrib/hbqt/qtgui/TQWidgetItem.prg * harbour/contrib/hbqt/qtgui/TQTextItem.prg * harbour/contrib/hbqt/qtgui/QGradient.cpp * harbour/contrib/hbqt/qtgui/TQTimeEdit.prg * harbour/contrib/hbqt/qtgui/TQDropEvent.prg * harbour/contrib/hbqt/qtgui/QStandardItemModel.cpp * harbour/contrib/hbqt/qtgui/QItemSelection.cpp * harbour/contrib/hbqt/qtgui/TQTextObject.prg * harbour/contrib/hbqt/qtgui/TQPainterPath.prg * harbour/contrib/hbqt/qtgui/QTransform.cpp * harbour/contrib/hbqt/qtgui/QPicture.cpp * harbour/contrib/hbqt/qtgui/QAction.cpp * harbour/contrib/hbqt/qtgui/QPaintEvent.cpp * harbour/contrib/hbqt/qtgui/TQStyleHintReturn.prg * harbour/contrib/hbqt/qtgui/QStyledItemDelegate.cpp * harbour/contrib/hbqt/qtgui/QWidget.cpp * harbour/contrib/hbqt/qtgui/TQProgressBar.prg * harbour/contrib/hbqt/qtgui/TQFontDatabase.prg * harbour/contrib/hbqt/qtgui/QFontDialog.cpp * harbour/contrib/hbqt/qtgui/QToolBox.cpp * harbour/contrib/hbqt/qtgui/TQLineEdit.prg * harbour/contrib/hbqt/qtgui/TQHBoxLayout.prg * harbour/contrib/hbqt/qtgui/QTextListFormat.cpp * harbour/contrib/hbqt/qtgui/QMouseEvent.cpp * harbour/contrib/hbqt/qtgui/QTextEdit.cpp * harbour/contrib/hbqt/qtgui/TQToolBar.prg * harbour/contrib/hbqt/qtgui/TQTreeWidget.prg * harbour/contrib/hbqt/qtgui/QFontComboBox.cpp * harbour/contrib/hbqt/qtgui/TQSplitter.prg * harbour/contrib/hbqt/qtgui/QStyle.cpp * harbour/contrib/hbqt/qtgui/QStyleOptionHeader.cpp * harbour/contrib/hbqt/qtgui/TQComboBox.prg * harbour/contrib/hbqt/qtgui/QAbstractTextDocumentLayout.cpp * harbour/contrib/hbqt/qtgui/QListView.cpp * harbour/contrib/hbqt/qtgui/QWheelEvent.cpp * harbour/contrib/hbqt/qtgui/TQAbstractItemDelegate.prg * harbour/contrib/hbqt/qtgui/TQSessionManager.prg * harbour/contrib/hbqt/qtgui/QRadialGradient.cpp * harbour/contrib/hbqt/qtgui/QLayout.cpp * harbour/contrib/hbqt/qtgui/QCursor.cpp * harbour/contrib/hbqt/qtgui/TQProgressDialog.prg * harbour/contrib/hbqt/qtgui/QPainterPath.cpp * harbour/contrib/hbqt/qtgui/QLabel.cpp * harbour/contrib/hbqt/qtgui/TQBoxLayout.prg * harbour/contrib/hbqt/qtgui/TQPolygon.prg * harbour/contrib/hbqt/qtgui/QFocusEvent.cpp * harbour/contrib/hbqt/qtgui/QBrush.cpp * harbour/contrib/hbqt/qtgui/QStyleHintReturn.cpp * harbour/contrib/hbqt/qtgui/QStyleOptionToolButton.cpp * harbour/contrib/hbqt/qtgui/QStylePainter.cpp * harbour/contrib/hbqt/qtgui/TQRadioButton.prg * harbour/contrib/hbqt/qtgui/TQSystemTrayIcon.prg * harbour/contrib/hbqt/qtgui/QLinearGradient.cpp * harbour/contrib/hbqt/qtgui/TQListWidgetItem.prg * harbour/contrib/hbqt/qtgui/QProgressBar.cpp * harbour/contrib/hbqt/qtgui/TQTextBlock.prg * harbour/contrib/hbqt/qtgui/TQTextFrame.prg * harbour/contrib/hbqt/qtgui/QDragLeaveEvent.cpp * harbour/contrib/hbqt/qtgui/TQStyleOptionViewItem.prg * harbour/contrib/hbqt/qtgui/TQInputContext.prg * harbour/contrib/hbqt/qtgui/QClipboard.cpp * harbour/contrib/hbqt/qtgui/QStyleOptionToolBox.cpp * harbour/contrib/hbqt/qtgui/QStyleOptionTabBarBase.cpp * harbour/contrib/hbqt/qtgui/QToolBar.cpp * harbour/contrib/hbqt/qtgui/TQStatusBar.prg * harbour/contrib/hbqt/qtgui/TQTextBlockFormat.prg * harbour/contrib/hbqt/qtgui/TQTextFrameFormat.prg * harbour/contrib/hbqt/qtgui/QFontMetricsF.cpp * harbour/contrib/hbqt/qtgui/TQTabWidget.prg * harbour/contrib/hbqt/qtgui/TQLCDNumber.prg * harbour/contrib/hbqt/qtgui/TQMainWindow.prg * harbour/contrib/hbqt/qtgui/QToolButton.cpp * harbour/contrib/hbqt/qtgui/TQStyleOptionTitleBar.prg * harbour/contrib/hbqt/qtgui/QWindowsStyle.cpp * harbour/contrib/hbqt/qtgui/TQDockWidget.prg * harbour/contrib/hbqt/qtgui/QColor.cpp * harbour/contrib/hbqt/qtgui/QListWidget.cpp * harbour/contrib/hbqt/qtgui/QTextLayout.cpp * harbour/contrib/hbqt/qtgui/QTextCursor.cpp * harbour/contrib/hbqt/qtgui/TQSound.prg * harbour/contrib/hbqt/qtgui/QTextDocument.cpp * harbour/contrib/hbqt/qtgui/TQHelpEvent.prg * harbour/contrib/hbqt/qtgui/QAbstractProxyModel.cpp * harbour/contrib/hbqt/qtgui/QPolygon.cpp * harbour/contrib/hbqt/qtgui/TQGradient.prg * harbour/contrib/hbqt/qtgui/TQAbstractPrintDialog.prg * harbour/contrib/hbqt/qtgui/QRadioButton.cpp * harbour/contrib/hbqt/qtgui/TQWizard.prg * harbour/contrib/hbqt/qtgui/TQApplication.prg * harbour/contrib/hbqt/qtgui/QAbstractButton.cpp * harbour/contrib/hbqt/qtgui/TQSyntaxHighlighter.prg * harbour/contrib/hbqt/qtgui/QStyleOptionViewItem.cpp * harbour/contrib/hbqt/qtgui/QFileIconProvider.cpp * harbour/contrib/hbqt/qtgui/TQTextOption.prg * harbour/contrib/hbqt/qtgui/QTextFrameFormat.cpp * harbour/contrib/hbqt/qtgui/QTextBlockFormat.cpp * harbour/contrib/hbqt/qtgui/TQInputDialog.prg * harbour/contrib/hbqt/qtgui/TQMovie.prg * harbour/contrib/hbqt/qtgui/TQKeySequence.prg * harbour/contrib/hbqt/qtgui/QStyleOptionToolBar.cpp * harbour/contrib/hbqt/qtgui/QBitmap.cpp * harbour/contrib/hbqt/qtgui/QCalendarWidget.cpp * harbour/contrib/hbqt/qtgui/TQPrinter.prg * harbour/contrib/hbqt/qtgui/QStyleOptionTitleBar.cpp * harbour/contrib/hbqt/qtgui/QHeaderView.cpp * harbour/contrib/hbqt/qtgui/QScrollBar.cpp * harbour/contrib/hbqt/qtgui/TQActionGroup.prg * harbour/contrib/hbqt/qtgui/TQTextEdit.prg * harbour/contrib/hbqt/qtgui/QStyleOptionButton.cpp * harbour/contrib/hbqt/qtgui/TQWizardPage.prg * harbour/contrib/hbqt/qtgui/QCommandLinkButton.cpp * harbour/contrib/hbqt/qtgui/TQFontComboBox.prg * harbour/contrib/hbqt/qtgui/QFocusFrame.cpp * harbour/contrib/hbqt/qtgui/QSizePolicy.cpp * harbour/contrib/hbqt/qtgui/TQListView.prg * harbour/contrib/hbqt/qtgui/TQStyleOptionSizeGrip.prg * harbour/contrib/hbqt/qtgui/QAbstractPrintDialog.cpp * harbour/contrib/hbqt/qtgui/QApplication.cpp * harbour/contrib/hbqt/qtgui/TQTextBlockGroup.prg * harbour/contrib/hbqt/qtgui/QAbstractSlider.cpp * harbour/contrib/hbqt/qtgui/QTextFragment.cpp * harbour/contrib/hbqt/qtgui/TQStyleOptionGroupBox.prg * harbour/contrib/hbqt/qtgui/Makefile * harbour/contrib/hbqt/qtgui/QAbstractScrollArea.cpp * harbour/contrib/hbqt/qtgui/TQPrintEngine.prg * harbour/contrib/hbqt/qtgui/TQStylePainter.prg * harbour/contrib/hbqt/qtgui/QPlainTextEdit.cpp * harbour/contrib/hbqt/qtgui/QInputDialog.cpp * harbour/contrib/hbqt/qtgui/QKeySequence.cpp * harbour/contrib/hbqt/qtgui/QPrinter.cpp * harbour/contrib/hbqt/qtgui/TQMessageBox.prg * harbour/contrib/hbqt/qtgui/QKeyEvent.cpp * harbour/contrib/hbqt/qtgui/QActionGroup.cpp * harbour/contrib/hbqt/qtgui/QTextCharFormat.cpp * harbour/contrib/hbqt/qtgui/QStyleOptionSlider.cpp * harbour/contrib/hbqt/qtgui/TQFontMetricsF.prg * harbour/contrib/hbqt/qtgui/TQDragMoveEvent.prg * harbour/contrib/hbqt/qtgui/QInputEvent.cpp * harbour/contrib/hbqt/qtgui/QWidgetItem.cpp * harbour/contrib/hbqt/qtgui/TQCommonStyle.prg * harbour/contrib/hbqt/qtgui/QMenu.cpp * harbour/contrib/hbqt/qtgui/TQWindowsStyle.prg * harbour/contrib/hbqt/qtgui/TQPushButton.prg * harbour/contrib/hbqt/qtgui/QStyleOptionSizeGrip.cpp * harbour/contrib/hbqt/qtgui/TQDoubleSpinBox.prg * harbour/contrib/hbqt/qtgui/QTextObject.cpp * harbour/contrib/hbqt/qtgui/TQTreeWidgetItem.prg * harbour/contrib/hbqt/qtgui/TQTableView.prg * harbour/contrib/hbqt/qtgui/TQTextDocument.prg * harbour/contrib/hbqt/qtgui/QStyleOptionGroupBox.cpp * harbour/contrib/hbqt/qtgui/QPrintEngine.cpp * harbour/contrib/hbqt/qtgui/QFontInfo.cpp * harbour/contrib/hbqt/qtgui/QImage.cpp * harbour/contrib/hbqt/qtgui/TQButtonGroup.prg * harbour/contrib/hbqt/qtgui/TQFrame.prg * harbour/contrib/hbqt/qtgui/TQCompleter.prg * harbour/contrib/hbqt/qtgui/QValidator.cpp * harbour/contrib/hbqt/qtgui/TQTextFormat.prg * harbour/contrib/hbqt/qtgui/QIcon.cpp * harbour/contrib/hbqt/qtgui/TQColorDialog.prg * harbour/contrib/hbqt/qtgui/TQStyleOptionProgressBar.prg * harbour/contrib/hbqt/qtgui/QPolygonF.cpp * harbour/contrib/hbqt/qtgui/TQFileIconProvider.prg * harbour/contrib/hbqt/qtgui/QHBoxLayout.cpp * harbour/contrib/hbqt/qtgui/TQStyleHintReturnVariant.prg * harbour/contrib/hbqt/qtgui/QTreeWidget.cpp * harbour/contrib/hbqt/qtgui/QCommonStyle.cpp * harbour/contrib/hbqt/qtgui/TQTextDocumentWriter.prg * harbour/contrib/hbqt/qtgui/TQStyleOptionTab.prg * harbour/contrib/hbqt/qtgui/TQStringListModel.prg * harbour/contrib/hbqt/qtgui/QAbstractItemView.cpp * harbour/contrib/hbqt/qtgui/QSessionManager.cpp * harbour/contrib/hbqt/qtgui/TQTextBrowser.prg * harbour/contrib/hbqt/qtgui/QProgressDialog.cpp * harbour/contrib/hbqt/qtgui/TQTableWidget.prg * harbour/contrib/hbqt/qtgui/TQTabBar.prg * harbour/contrib/hbqt/qtgui/TQSpacerItem.prg * harbour/contrib/hbqt/qtgui/QButtonGroup.cpp * harbour/contrib/hbqt/qtgui/QStyleFactory.cpp * harbour/contrib/hbqt/qtgui/TQDialog.prg * harbour/contrib/hbqt/qtgui/TQFileDialog.prg * harbour/contrib/hbqt/qtgui/TQStandardItemModel.prg * harbour/contrib/hbqt/qtgui/TQFormLayout.prg * harbour/contrib/hbqt/qtgui/QSystemTrayIcon.cpp * harbour/contrib/hbqt/qtgui/TQItemSelection.prg * harbour/contrib/hbqt/qtgui/QListWidgetItem.cpp * harbour/contrib/hbqt/qtgui/QColorDialog.cpp * harbour/contrib/hbqt/qtgui/QStyleOptionDockWidget.cpp * harbour/contrib/hbqt/qtgui/QStyleOptionTabWidgetFrame.cpp * harbour/contrib/hbqt/qtgui/TQFileSystemModel.prg * harbour/contrib/hbqt/qtgui/TQAbstractSpinBox.prg * harbour/contrib/hbqt/qtgui/TQTextFragment.prg * harbour/contrib/hbqt/qtgui/QInputMethodEvent.cpp * harbour/contrib/hbqt/qtgui/QDateTimeEdit.cpp * harbour/contrib/hbqt/qtgui/TQTransform.prg * harbour/contrib/hbqt/qtgui/TQVBoxLayout.prg * harbour/contrib/hbqt/qtgui/QStyleOptionFocusRect.cpp * harbour/contrib/hbqt/qtgui/QMoveEvent.cpp * harbour/contrib/hbqt/qtgui/TQImageWriter.prg * harbour/contrib/hbqt/qtgui/QMainWindow.cpp * harbour/contrib/hbqt/qtgui/QDesktopWidget.cpp * harbour/contrib/hbqt/qtgui/QTableWidgetSelectionRange.cpp * harbour/contrib/hbqt/qtgui/QWidgetAction.cpp * harbour/contrib/hbqt/qtgui/TQMenuBar.prg * harbour/contrib/hbqt/qtgui/QStringListModel.cpp * harbour/contrib/hbqt/qtgui/TQKeyEvent.prg * harbour/contrib/hbqt/qtgui/QDockWidget.cpp * harbour/contrib/hbqt/qtgui/TQPaintDevice.prg * harbour/contrib/hbqt/qtgui/TQStyleOptionMenuItem.prg * harbour/contrib/hbqt/qtgui/TQFontMetrics.prg * harbour/contrib/hbqt/qtgui/QTextBrowser.cpp * harbour/contrib/hbqt/qtgui/TQStyle.prg * harbour/contrib/hbqt/qtgui/QTableWidget.cpp * harbour/contrib/hbqt/qtgui/TQStyleOptionHeader.prg * harbour/contrib/hbqt/qtgui/TQMenu.prg * harbour/contrib/hbqt/qtgui/TQMatrix.prg * harbour/contrib/hbqt/qtgui/QErrorMessage.cpp * harbour/contrib/hbqt/qtgui/QWizard.cpp * harbour/contrib/hbqt/qtgui/QFileSystemModel.cpp * harbour/contrib/hbqt/qtgui/TQPrintDialog.prg * harbour/contrib/hbqt/qtgui/QAbstractSpinBox.cpp * harbour/contrib/hbqt/qtgui/TQPrintPreviewDialog.prg * harbour/contrib/hbqt/qtgui/TQLabel.prg * harbour/contrib/hbqt/qtgui/QDial.cpp * harbour/contrib/hbqt/qtgui/TQStyleOptionComboBox.prg * harbour/contrib/hbqt/qtgui/TQSlider.prg * harbour/contrib/hbqt/qtgui/TQFontInfo.prg * harbour/contrib/hbqt/qtgui/TQStyleOptionToolButton.prg * harbour/contrib/hbqt/qtgui/QTextOption.cpp * harbour/contrib/hbqt/qtgui/TQBrush.prg * harbour/contrib/hbqt/qtgui/QImageWriter.cpp * harbour/contrib/hbqt/qtgui/TQScrollArea.prg * harbour/contrib/hbqt/qtgui/TQIcon.prg * harbour/contrib/hbqt/qtgui/TQLayoutItem.prg * harbour/contrib/hbqt/qtgui/TQPolygonF.prg * harbour/contrib/hbqt/qtgui/TQPixmap.prg * harbour/contrib/hbqt/qtgui/QMenuBar.cpp * harbour/contrib/hbqt/qtgui/TQClipboard.prg * harbour/contrib/hbqt/qtgui/TQTextImageFormat.prg * harbour/contrib/hbqt/qtgui/TQStyleOptionTabBarBase.prg * harbour/contrib/hbqt/qtgui/QPaintDevice.cpp * harbour/contrib/hbqt/qtgui/QFontMetrics.cpp * harbour/contrib/hbqt/qtgui/QStyleOptionMenuItem.cpp * harbour/contrib/hbqt/qtgui/QWizardPage.cpp * harbour/contrib/hbqt/qtgui/TQImageReader.prg * harbour/contrib/hbqt/qtgui/QDropEvent.cpp * harbour/contrib/hbqt/qtgui/TQAbstractItemView.prg * harbour/contrib/hbqt/qtgui/TQColor.prg * harbour/contrib/hbqt/qtgui/TQStyleOptionComplex.prg * harbour/contrib/hbqt/qtgui/QTextBlockGroup.cpp * harbour/contrib/hbqt/qtgui/QPrintDialog.cpp * harbour/contrib/hbqt/qtgui/TQRegion.prg * harbour/contrib/hbqt/qtgui/QStandardItem.cpp * harbour/contrib/hbqt/qtgui/QStyleOptionComboBox.cpp * harbour/contrib/hbqt/qtgui/TQStyleFactory.prg * harbour/contrib/hbqt/qtgui/TQStyleOptionSpinBox.prg * harbour/contrib/hbqt/qtgui/TQPalette.prg * harbour/contrib/hbqt/qtgui/QSplashScreen.cpp * harbour/contrib/hbqt/qtgui/TQDateTimeEdit.prg * harbour/contrib/hbqt/qtgui/QSizeGrip.cpp * harbour/contrib/hbqt/qtgui/TQInputMethodEvent.prg * harbour/contrib/hbqt/qtgui/TQPainter.prg * harbour/contrib/hbqt/qtgui/QMessageBox.cpp * harbour/contrib/hbqt/qtgui/TQResizeEvent.prg * harbour/contrib/hbqt/qtgui/TQTextTableFormat.prg * harbour/contrib/hbqt/qtgui/QTextImageFormat.cpp * harbour/contrib/hbqt/qtgui/TQStyleOptionFocusRect.prg * harbour/contrib/hbqt/qtgui/QGroupBox.cpp * harbour/contrib/hbqt/qtgui/QImageReader.cpp * harbour/contrib/hbqt/qtgui/TQDragEnterEvent.prg * harbour/contrib/hbqt/qtgui/QTextDocumentFragment.cpp * harbour/contrib/hbqt/qtgui/QPushButton.cpp * harbour/contrib/hbqt/qtgui/TQWidgetAction.prg * harbour/contrib/hbqt/qtgui/TQGridLayout.prg * harbour/contrib/hbqt/qtgui/TQScrollBar.prg * harbour/contrib/hbqt/qtgui/TQItemSelectionModel.prg * harbour/contrib/hbqt/qtgui/TQStyleOptionButton.prg * harbour/contrib/hbqt/qtgui/TQTextLength.prg * harbour/contrib/hbqt/qtgui/TQCommandLinkButton.prg * harbour/contrib/hbqt/qtgui/QTreeWidgetItem.cpp * harbour/contrib/hbqt/qtgui/QBoxLayout.cpp * harbour/contrib/hbqt/qtgui/TQErrorMessage.prg * harbour/contrib/hbqt/qtgui/QTextFormat.cpp * harbour/contrib/hbqt/qtgui/QPalette.cpp * harbour/contrib/hbqt/qtgui/QTextFrame.cpp * harbour/contrib/hbqt/qtgui/QTextBlock.cpp * harbour/contrib/hbqt/qtgui/QPainter.cpp * harbour/contrib/hbqt/qtgui/TQDial.prg * harbour/contrib/hbqt/qtgui/QStyleOptionProgressBar.cpp * harbour/contrib/hbqt/qtgui/QResizeEvent.cpp * harbour/contrib/hbqt/qtgui/TQTableWidgetItem.prg * harbour/contrib/hbqt/qtgui/QTextTableFormat.cpp * harbour/contrib/hbqt/qtgui/TQAction.prg * harbour/contrib/hbqt/qtgui/TQPaintEvent.prg * harbour/contrib/hbqt/qtgui/QStyleHintReturnVariant.cpp * harbour/contrib/hbqt/qtgui/QStatusBar.cpp * harbour/contrib/hbqt/qtgui/TQStyledItemDelegate.prg * harbour/contrib/hbqt/qtgui/TQPlainTextEdit.prg * harbour/contrib/hbqt/qtgui/QTextInlineObject.cpp * harbour/contrib/hbqt/qtgui/QTabWidget.cpp * harbour/contrib/hbqt/qtgui/QContextMenuEvent.cpp * harbour/contrib/hbqt/qtgui/QLCDNumber.cpp * harbour/contrib/hbqt/qtgui/TQWidget.prg * harbour/contrib/hbqt/qtgui/TQFontDialog.prg * harbour/contrib/hbqt/qtgui/QTextDocumentWriter.cpp * harbour/contrib/hbqt/qtgui/QStyleOptionTab.cpp * harbour/contrib/hbqt/qtgui/QDateEdit.cpp * harbour/contrib/hbqt/qtgui/TQStyleOption.prg * harbour/contrib/hbqt/qtgui/TQTextListFormat.prg * harbour/contrib/hbqt/qtgui/TQMouseEvent.prg * harbour/contrib/hbqt/qtgui/QCheckBox.cpp * harbour/contrib/hbqt/qtgui/TQStyleOptionSlider.prg * harbour/contrib/hbqt/qtgui/QSound.cpp * harbour/contrib/hbqt/qtgui/QHelpEvent.cpp * harbour/contrib/hbqt/qtgui/QTabBar.cpp * harbour/contrib/hbqt/qtgui/QSpacerItem.cpp * harbour/contrib/hbqt/qtgui/TQAbstractTextDocumentLayout.prg * harbour/contrib/hbqt/qtgui/QFileDialog.cpp * harbour/contrib/hbqt/qtgui/QDirModel.cpp * harbour/contrib/hbqt/qtgui/QDialog.cpp * harbour/contrib/hbqt/qtgui/TQWheelEvent.prg * harbour/contrib/hbqt/qtgui/QFormLayout.cpp * harbour/contrib/hbqt/qtgui/QStyleOptionFrame.cpp * harbour/contrib/hbqt/qtgui/TQRadialGradient.prg * harbour/contrib/hbqt/qtgui/QSyntaxHighlighter.cpp * harbour/contrib/hbqt/qtgui/QFont.cpp * harbour/contrib/hbqt/qtgui/TQCursor.prg * harbour/contrib/hbqt/qtgui/TQLayout.prg * harbour/contrib/hbqt/qtgui/TQStandardItem.prg * harbour/contrib/hbqt/qtgui/QTableWidgetItem.cpp * harbour/contrib/hbqt/qtgui/TQFocusEvent.prg * harbour/contrib/hbqt/qtgui/QVBoxLayout.cpp * harbour/contrib/hbqt/qtgui/TQImage.prg * harbour/contrib/hbqt/qtgui/TQSpinBox.prg * harbour/contrib/hbqt/qtgui/QMovie.cpp * harbour/contrib/hbqt/qtgui/TQValidator.prg * harbour/contrib/hbqt/qtgui/TQLinearGradient.prg * harbour/contrib/hbqt/qtgui/TQSplashScreen.prg * harbour/contrib/hbqt/qtgui/TQDragLeaveEvent.prg * harbour/contrib/hbqt/qtgui/TQSizeGrip.prg * harbour/contrib/hbqt/qtgui/QStyleOption.cpp * harbour/contrib/hbqt/qtgui/TQStyleHintReturnMask.prg * harbour/contrib/hbqt/qtgui/QTreeView.cpp * harbour/contrib/hbqt/qtgui/TQStyleOptionToolBox.prg * harbour/contrib/hbqt/qtgui/QTextLine.cpp * harbour/contrib/hbqt/qtgui/TQGroupBox.prg * harbour/contrib/hbqt/qtgui/TQTextDocumentFragment.prg * harbour/contrib/hbqt/qtgui/QTextItem.cpp * harbour/contrib/hbqt/qtgui/TQToolButton.prg * harbour/contrib/hbqt/qtgui/QTimeEdit.cpp * harbour/contrib/hbqt/qtgui/QMatrix.cpp * harbour/contrib/hbqt/qtgui/TQListWidget.prg * harbour/contrib/hbqt/qtgui/TQPen.prg * harbour/contrib/hbqt/qtgui/TQTextCursor.prg * harbour/contrib/hbqt/qtgui/TQTextLayout.prg * harbour/contrib/hbqt/qtgui/QPrintPreviewDialog.cpp * harbour/contrib/hbqt/qtgui/TQAbstractProxyModel.prg * harbour/contrib/hbqt/qtgui/QSlider.cpp * harbour/contrib/hbqt/qtgui/QSpinBox.cpp * harbour/contrib/hbqt/qtgui/QScrollArea.cpp * harbour/contrib/hbqt/qtgui/TQStyleOptionDockWidget.prg * harbour/contrib/hbqt/qtgui/TQAbstractButton.prg * harbour/contrib/hbqt/qtgui/TQStyleOptionTabWidgetFrame.prg * harbour/contrib/hbqt/qtgui/QFontDatabase.cpp * harbour/contrib/hbqt/qtgui/QLayoutItem.cpp * harbour/contrib/hbqt/qtgui/QLineEdit.cpp * harbour/contrib/hbqt/qtgui/QPixmap.cpp * harbour/contrib/hbqt/qtgui/QStyleHintReturnMask.cpp * harbour/contrib/hbqt/qtgui/TQMoveEvent.prg * harbour/contrib/hbqt/qtgui/TQTextInlineObject.prg * harbour/contrib/hbqt/qtgui/TQContextMenuEvent.prg * harbour/contrib/hbqt/qtgui/TQBitmap.prg * harbour/contrib/hbqt/qtgui/QDragMoveEvent.cpp * harbour/contrib/hbqt/qtgui/QSplitter.cpp * harbour/contrib/hbqt/qtgui/TQStyleOptionToolBar.prg * harbour/contrib/hbqt/qtgui/TQDesktopWidget.prg * harbour/contrib/hbqt/qtgui/TQCalendarWidget.prg * harbour/contrib/hbqt/qtgui/TQPageSetupDialog.prg * harbour/contrib/hbqt/qtgui/QComboBox.cpp * harbour/contrib/hbqt/qtgui/TQTableWidgetSelectionRange.prg * harbour/contrib/hbqt/qtgui/TQDateEdit.prg * harbour/contrib/hbqt/qtgui/QDoubleSpinBox.cpp * harbour/contrib/hbqt/qtgui/QAbstractItemDelegate.cpp * harbour/contrib/hbqt/qtgui/TQHeaderView.prg * harbour/contrib/hbqt/qtgui/TQConicalGradient.prg * harbour/contrib/hbqt/qtgui/TQCheckBox.prg * harbour/contrib/hbqt/qtgui/QStyleOptionComplex.cpp * harbour/contrib/hbqt/qtgui/QTableView.cpp * harbour/contrib/hbqt/qtgui/QPen.cpp * harbour/contrib/hbqt/qtgui/QRegion.cpp * harbour/contrib/hbqt/qtgui/TQFocusFrame.prg * harbour/contrib/hbqt/qtgui/TQSizePolicy.prg * harbour/contrib/hbqt/qtgui/TQDirModel.prg * harbour/contrib/hbqt/qtgui/QFrame.cpp * harbour/contrib/hbqt/qtgui/QCompleter.cpp * harbour/contrib/hbqt/qtgui/QStyleOptionSpinBox.cpp * harbour/contrib/hbqt/qtgui/TQStyleOptionFrame.prg * harbour/contrib/hbqt/qtgui/TQFont.prg * harbour/contrib/hbqt/qtgui/TQAbstractSlider.prg * harbour/contrib/hbqt/qtgui/QInputContext.cpp * harbour/contrib/hbqt/qtgui/TQAbstractScrollArea.prg * harbour/contrib/hbqt/qtgui/TQPicture.prg * harbour/contrib/hbqt/qtcore/TQSettings.prg * harbour/contrib/hbqt/qtcore/QSettings.cpp * harbour/contrib/hbqt/qtcore/TQUiLoader.prg * harbour/contrib/hbqt/qtcore/QUiLoader.cpp * harbour/contrib/hbqt/hbqt_errorsys.prg * harbour/contrib/hbqt/hbqt_destruct.cpp * harbour/contrib/hbqt/qtnetwork/QHttp.cpp * harbour/contrib/hbqt/qtnetwork/TQHttpHeader.prg * harbour/contrib/hbqt/qtnetwork/TQFtp.prg * harbour/contrib/hbqt/qtnetwork/QHttpHeader.cpp * harbour/contrib/hbqt/qtnetwork/QFtp.cpp * harbour/contrib/hbqt/qtnetwork/TQHttpRequestHeader.prg * harbour/contrib/hbqt/qtnetwork/TQNetworkRequest.prg * harbour/contrib/hbqt/qtnetwork/TQHttpResponseHeader.prg * harbour/contrib/hbqt/qtnetwork/QHttpRequestHeader.cpp * harbour/contrib/hbqt/qtnetwork/QNetworkRequest.cpp * harbour/contrib/hbqt/qtnetwork/QHttpResponseHeader.cpp * harbour/contrib/hbqt/qtnetwork/TQHttp.prg * harbour/contrib/hbqt/qtnetwork/Makefile * harbour/contrib/hbqt/hbqt_misc.prg * harbour/contrib/hbxbp/xbppresspace.prg * harbour/contrib/hbxbp/xbprtf.prg * harbour/contrib/hbxbp/xbpbrowse.prg * harbour/contrib/hbxbp/xbpprintdialog.prg * harbour/contrib/hbxbp/xbpdev.ch * harbour/contrib/hbxbp/xbpprinter.prg * harbour/contrib/hbxbp/xbpqtuiloader.prg * harbour/contrib/hbnetio/netio.h * harbour/contrib/hbnetio/netiomt.prg * harbour/contrib/hbnetio/netiocli.c * harbour/contrib/hbnetio/netiosrv.c * harbour/contrib/hbnetio/Makefile * harbour/contrib/hbide/ideobject.prg * harbour/contrib/hbide/hbide.hbp * harbour/contrib/hbide/iderequests.prg * harbour/contrib/hbide/idestylesheets.prg * harbour/contrib/hbide/idefindreplace.prg * harbour/contrib/hbide/idethemes.prg * harbour/contrib/hbide/ideeditor.prg * harbour/contrib/hbide/hbide.prg * harbour/contrib/hbide/idemisc.prg * harbour/contrib/hbide/hbide.ch * harbour/contrib/hbide/idetags.prg * harbour/contrib/hbide/idesaveload.prg * harbour/contrib/hbide/ideactions.prg * harbour/contrib/hbide/idedocks.prg * harbour/contrib/hbide/ideparseexpr.c * harbour/contrib/hbide/ideprojmanager.prg * set svn:keywords attribute to "Author Date Id Revision" 2010-01-11 12:21 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/hbznet.c * move hb_znetOpen() parameter validation from HB_INETCOMPRESS() to hb_znetOpen() - it should help keeping other code using hb_znetOpen() more simple * harbour/contrib/hbnetio/netio.h * harbour/contrib/hbnetio/netiocli.c * harbour/contrib/hbnetio/netiosrv.c + added support for compression and encryption in NETIO connection streams. Enabling encryption (password) automatically enable also compression. If necessary user can set compression level to HB_ZLIB_COMPRESSION_NONE. HB_ZLIB_COMPRESSION_DISABLE used as compression level removes compression and encryption. See below for details of NETIO server and client code modifications. * harbour/contrib/hbnetio/netiocli.c + extended NETIO_CONNECT() client side function parameters: NETIO_CONNECT( [<cServer>], [<cPort>], [<nTimeOut>], ; [<cPasswd>], [<nCompressionLevel>], [<nStrategy>] ) -> <lOK> % changed the behavior of NETIO_CONNECT() client side function. In the previous version this function was connecting to the server and then disconnecting so it was used to check if connection is available and to set default connection parameters. Now it does not disconnect after successful connection so created connection is keept and can be reused by any pending NETIO_*() calls. User can open many different connections in the same time. The connections are recognized by server and port address. The connections set by NETIO_CONNECT() function can be closed by NETIO_DISCONNECT() function. Each repeated call to NETIO_CONNECT() increase reference counter in the connection stream and need corresponding number of NETIO_DISCONNECT() calls. + added new PRG client side function: NETIO_DISCONNECT( [<cServer>], [<cPort>] ) -> <lOK> which closes connections set by NETIO_CONNECT(). + added support for passing connection password as part of file path or function name in format: <server>[:<port>[:<passwd>]]:<filepath|funcname> i.e.: example.org:2941:secret:path/to/file Please remember that it's only an alternative method of setting encryption which does not allow to use CHR(0) or ":" in passwords. User can always set connection using NETIO_CONNECT() function which will be used in RPC or FILE IO calls. If more then one connection is set by NETIO_CONNECT() then user can chose the connection using only server and port. It's not necessary to pass other connection parameters. + added support for UNC paths: //<server>[:<port>]/<filepath|funcname> i.e.: //example.org:2941/path/to/file backslashes (\\) are also supported. * harbour/contrib/hbnetio/netiosrv.c % moved 1st login identification from NETIO_ACCEPT() to NETIO_SERVER() Such version do not block other connection accepting when server waits for NETIO_LOGIN frame so it improve scalability and also protect against code which may want to block access to the server by opening dummy connections. + added new parameters to NETIO_ACCEPT() function which allows to set encryption and compression for new connections: NETIO_ACCEPT( <pListenSocket>, [<nTimeOut>], [<cPass>], [<nCompressionLevel>], [<nStrategy>] ) -> <pConnectionSocket> | NIL + added new server side function: NETIO_COMPRESS( <pConnectionSocket>, [<cPass>], [<nCompressionLevel>], [<nStrategy>] ) -> NIL which allow to set or change encryption and compression parameters in existing connections * harbour/contrib/hbnetio/netiomt.prg * updated to accept new connection parameters in NETIO_MTSERVER() function: NETIO_MTSERVER( [<nPort>], [<cIfAddr>], [<cRootDir>], [<lRPC>], [<cPasswd>], [<nCompressionLevel>], [<nStrategy>] ) -> <pListenSocket> * harbour/contrib/hbnetio/utils/netiosrv.prg + added 5th parameter <passwd> which enable encryption with compression, current syntx is: netiosrv [<port>] [<inetaddr>] [<rootdir>] [<rpc>] [<passwd>] For default values use "" in command line for skipped parameters, i.e.: netiosrv "" "" "" 1 topsecret * harbour/contrib/hbnetio/tests/netiotst.prg * enable RPC, compression and encryption in test code + added simple code which use RPC to create directory on the server side Now it's possible to easy create secure NETIO connections and compression should help in slow connections when big number of data has to be exchange. In RDD file access it mostly help when tables use long records. Hope you will find it useful. Please make tests. 2010-01-10 22:54 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) + contrib/hbide/resources/folder.png + Added new image to be placed on "Property Dialog"s folder selection push buttons. * contrib/hbide/resources/projectproperties.ui + Made resizable. Now it renders more usefulness. * contrib/hbide/hbide.prg * contrib/hbide/idedocks.prg * contrib/hbide/ideeditor.prg * contrib/hbide/idemisc.prg * contrib/hbide/ideobject.prg * contrib/hbide/ideprojmanager.prg * contrib/hbide/idesources.prg ! Fixed and corrected many artifacts. Mainly in the area of project building, please test. 2010-01-10 16:54 UTC-0300 Vailton Renato (vailtom gmail.com) * contrib/hbide/ideactions.prg + Added new action "CloseOther" referenced in the menu, but missing in IdeActions:loadActions() * contrib/hbide/idesources.prg ! Rewritten the method closeAllOthers() because the old code did not work properly. Please test and report. 2010-01-10 07:34 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/idedocks.prg * contrib/hbide/ideobject.prg * contrib/hbxbp/xbprtf.prg ! Fixed: double-click on Output Console error information line now correctly places the editor positions. The error will not occur in future. 2010-01-10 10:50 UTC-0300 Vailton Renato (vailtom gmail.com) * contrib/hbide/idesources.prg ! Fixed to call ::oIde:updateTitleBar() after close any file. After closing all the files, the hbIDE was not updating the title bar of the main window. 2010-01-10 12:58 UTC+0100 Viktor Szakats * contrib/hbwin/win_prn3.c % Dropped hb_xgrab() return value checks for NULL. * Avoided lstrcpy(). 2010-01-10 11:57 UTC+0100 Viktor Szakats * INSTALL + Added gcc pkg to opensolaris pkg list. [TOMERGE 2.0] * harbour.spec ! Do not mark Red Hat and SUSE as discontinued. These names seem to be used for "enterprise" versions of these distros, but correct me if I'm wrong. * utils/hbmk2/hbmk2.pt_BR.po * utils/hbmk2/hbmk2.hu_HU.po * utils/hbmk2/hbmk2.prg + Made it clean on the help screen which options can only be used from the command line. 2010-01-10 02:16 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/hbide.prg * contrib/hbide/idedocks.prg * contrib/hbide/ideeditor.prg * contrib/hbide/ideobject.prg * contrib/hbide/ideprojmanager.prg * contrib/hbide/idesources.prg * contrib/hbide/idethemes.prg * contrib/hbide/resources/projectproperties.ui ! Some fixes and code optimizations. Please report if some feature is not working ok. 2010-01-09 15:39 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/hbide.ch * contrib/hbide/hbide.hbp * contrib/hbide/hbide.prg * contrib/hbide/idemisc.prg * contrib/hbide/ideobject.prg * contrib/hbide/ideprojmanager.prg + contrib/hbide/idesources.prg * contrib/hbide/projects/hbide.hbi ! Next round of reforms, may be second-last, mainly concentrating on accessing the different components with ease. ! Some formattig and code optimizations. 2010-01-09 10:53 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/hbqt_hbslots.cpp * contrib/hbqt/hbqt_hbslots.h + Added few more slots. ! Improved formatting. * contrib/hbxbp/xbprtf.prg ! Corrected "undoAvailable(bool)" slot string. * contrib/hbide/hbide.prg * contrib/hbide/ideactions.prg * contrib/hbide/ideeditor.prg * contrib/hbide/idemisc.prg * contrib/hbide/ideobject.prg + Implemented context menu in the editor tabs. Now it is synchronized with toolbar with same look and feel. + Implemented to re-position editor tabs with drag. HOWTO: Place mouse pointer over a tab -> keep pressed left button -> move mouse pointer left or right -> ( tab will move with your action ) -> release left button when desired position is obtained. 2010-01-09 12:54 UTC+0100 Viktor Szakats * INSTALL + Extended Linux deb/rpm sections: - Added list of base packages - Listed actual active distro names - Added pkg install command for various rpm distros - Added link to webpage containing extensive information about pkg management commands on different distros + Added SUNWsvn package for OpenSolaris. [TOMERGE 2.0] * harbour.spec ! Typo in comment. + Added 'DISCONTINUED' comments to those distros which are (suprise!) discontinued. * contrib/hbwin/wapi_winbase.c ! Fixed to set internal getlasterror value in WAPI_FORMATMESSAGE(). Thanks Xavi. * contrib/hbwin/wapi_err.c ! Fixed to include 'hbwapi.h' Thanks Xavi again. * config/global.mk + Added autodetection of Gentoo Linux package manager. * contrib/hbbtree/hb_btree.c + Added two FIXME notes. Both reported on the list previously. 2010-01-09 02:31 UTC+0500 April White (bright.tigra gmail.com) * contrib/hbbtree/tbtree.prg * updated copyright date * formatting * hide constructor; use TBTreeNew() % this parallels the Open() merthod and TBTreeOpen() * contrib/hbbtree/hb_btree.h * updated copyright date * removed internal ChangeLog * formatting * change BOOL/TRUE/FALSE to HB_* * contrib/hbbtree/hb_btree.c * updated copyright date * change BOOL/TRUE/FALSE to HB_* - HB_BTREE error codes moved to hb_btree.ch * renamed (remove hb_ prefix) from internal error raise function * error gencode used * contrib/hbbtree/hb_btree.ch * updated copyright date * removed internal ChangeLog + HB_BTREE error codes 2010-01-08 18:10 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/hbide.prg * contrib/hbide/ideeditor.prg * contrib/hbide/idemisc.prg * contrib/hbide/ideprojmanager.prg + Enabled .PPO creation in a tab sharing the other sources. So all other editing features are available to it. .ppo is opened in separate tab than the original source. .ppo is not included in "Recent Files" list and hance it is not made available at next execution. 2010-01-09 01:39 UTC+0100 Viktor Szakats * config/global.mk ! Fixed to not require HB_BIN_COMPILE is host and target platform is the same, host is x64 and target is x86. x64 hosts can run x86 binaries. (pls shout if you know any exception) * INSTALL + Added extra info to openSUSE section. ; TODO: Update .rpm/opensuse section. * harbour.spec + Added initialization of HB_USER_DFLAGS. ; FIXME: Current setup doesn't allow passing -m32 to force 32-bit .rpm builds on 64-bit systems. ; FIXME: OpenSUSE 10.2 uses 'gpm' instead of 'gpm-devel'. * contrib/hbqt/hbqt.hbc * contrib/hbqt/hbqts.hbc * Changed to enable -hbcppmm only on win and os2 platforms. I don't know about linux, but on darwin this option caused this error: hbide(70507,0x7fff708a0be0) malloc: *** error for object 0x1019d3948: pointer being freed was not allocated *** set a breakpoint in malloc_error_break to debug Abort trap 2010-01-08 15:44 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/hbqt_hbslots.cpp ! Fixed a very bad omission : if( object->property( signal ).toInt() == i ) => if( object->property( signal ).toInt() == i + 1 ) It fixes if an action is not already defined for a widget. TO WATCH: Is is desirable ? * contrib/hbxbp/xbpfiledialog.prg ! Small optimization. * contrib/hbide/hbide.prg * contrib/hbide/ideactions.prg ! Separated toolbar and menu actions, the whole point of recent reported issues, because toolbar and menu implementation call different methods with different intensions. Please test if toolbar and menu option behave correctly. GROUP DECISION: should I go for QProcess() to manage build phase or keep Harbour centric implementation as well ? Qt seems to be proper choice under this context. 2010-01-08 18:28 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/vm/dynsym.c + accept also function name (not only symbol index) as parameter of __DYNSISFUN() * harbour/src/rtl/hbznet.c * pacified BCC warnings 2010-01-08 14:00 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbnetio/netiocli.c * pacified BCC warning * harbour/include/hbznet.h * harbour/src/rtl/hbznet.c + added support for blowfish encryption in HB_ZNETSTREAM + added C function void hb_znetEncryptKey( PHB_ZNETSTREAM pStream, const void * keydata, int keylen ); which enables data encryption in HB_ZNETSTREAM + added 4th parameter to <cPass> to .PRG HB_INETCOMPRESS() function: HB_INETCOMPRESS( <pSocket>, [<nCompressionLevel>], [<nStrategy>], [<cPass>] ) <cPass> is initial value to create blowfish key. Please test. 2010-01-08 12:25 UTC+0100 Viktor Szakats * config/wce/msvcarm.mk ! Fixed typo in prev modification. 2010-01-08 01:37 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/hbqt_hbslots.cpp * contrib/hbqt/hbqt_hbslots.h + Added QList<QObject *>listObj member. There was no guard against an object connected more than once for the same slot. That's why menu and toolbar actions were being executed twice. * contrib/hbqt/qtcore/QSettings.cpp * contrib/hbqt/qtcore/TQSettings.prg * contrib/hbqt/qth/QSettings.qth ! Added missing static functions. * contrib/hbxbp/xbpmenubar.prg ! Extended guard against invalid QAction. * contrib/hbxbp/xbpwindow.prg ! QPoint() was being accessed without initialization. * contrib/hbide/ideactions.prg * contrib/hbide/ideeditor.prg * contrib/hbide/idesaveload.prg ! Fixes to execution of menu and toolbar events twice. ! Some more artifacts set right. 2010-01-07 19:59 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbxbp/xbpmenubar.prg ! Fix to prev, last minute rush of blood. 2010-01-07 18:52 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbxbp/xbpmenubar.prg ! Fixed nasty bug which was preventing removal of items with oXbo:delItem(). * contrib/hbxbp/xbpstatusbar.prg ! Removed the parenting of StatusBar as it was being done twice. * contrib/hbide/hbide.prg * contrib/hbide/ideactions.prg * contrib/hbide/idedocks.prg * contrib/hbide/ideeditor.prg * contrib/hbide/idemisc.prg * contrib/hbide/ideprojmanager.prg * contrib/hbide/idestylesheets.prg * contrib/hbide/idethemes.prg ! Fixed to not flicker main window at start-up. ! Fix to recent files/projects menu. The issue was related with XbpMenu() class. ! Menu-bar now correctly displays foreground color. ! "Bare Minimum" theme is set as default theme instead of "Pritpal Favourite". ! Fixed many other artifacts. 2010-01-08 01:32 UTC+0100 Viktor Szakats * config/wce/msvcarm.mk + Added -nxcompat and -dynamicbase to .dll link command. (I'm unsure what -dynamicbase is good for in a .dll, but it's accepted and set) ! Fixed to add -nxcompat/-dynamicbase for MSVC 2008 and upper. (it's also possible to use it with MSVS 2005 SP1 though, but build won't detect this case) * include/hbwince.h * Formatting. 2010-01-08 01:02 UTC+0100 Viktor Szakats * src/vm/dlmalloc.c ! Fixed two potentially uninitialized variables, signaled by MSVC. * src/common/hbgete.c + Changed to use native SetEnvironmentVariable() API instead of forced ANSI one. * src/common/hbwince.c * include/hbwince.h % Deleted unused ANSI Windows API stubs. + Added empty SetEnvironmentVariable() stub for WinCE builds where it's missing. * Reconfigured these stubs: SetCurrentDirectory() GetCurrentDirectory() GetComputerName() GetUserName() * config/win/global.mk * Comment updated. * config/win/msvc.mk + Added -nxcompat and -dynamicbase to .dll link command. (I'm unsure what -dynamicbase is good for in a .dll, but it's accepted and set) ! Fixed to add -nxcompat/-dynamicbase for MSVC 2008 and upper. (it's also possible to use it with MSVS 2005 SP1 though, but build won't detect this case) 2010-01-07 21:10 UTC+0100 Viktor Szakats * INSTALL + Added free SVN book link. [TOMERGE 2.0] * src/vm/extrap.c % Marked exception filter callback as 'static' ; TOCHECK: Please verify that OS/2 still works this way. [DONE] * src/rtl/oemansi.c ! Fixed two tabs. * src/rtl/gtwvt/gtwvt.c * contrib/gtwvg/gtwvg.c * contrib/rddads/adsfunc.c ! Fixed to not use unsafe/ANSI CharToOemBuffA() API. ; Please review me. * config/win/mingw.mk + Added information about MinGW alternatives for MSVC security features. Unfortunately they need Cygwin binary plus some depend on MinGW host platform and/or version. * include/hbwince.h * src/common/hbwince.c - Deleted CharToOemBuffA(), OemToCharBuffA(). No longer needed by Harbour. ; TODO: Delete rest of not anymore used ANSI WinAPI functions. Now Harbour never uses ANSI WinAPI functions in UNICODE mode. [DONE] * config/win/global.mk - Deleted reference to CharToOemBuffA(), OemToCharBuffA(). 2010-01-07 10:34 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/idethemes.prg * contrib/hbide/resources/selectionlist.ui ! selectionlist.ui updated to have <OK><Cancel> buttons. 2010-01-07 09:28 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/idethemes.prg + Added "Bare Minimum" theme. 2010-01-07 18:22 UTC+0100 Viktor Szakats * INSTALL + Made it clear that valgrind only support 32-bit Intel darwin systems ATM. [TOMERGE 2.0] 2010-01-07 18:16 UTC+0100 Viktor Szakats * src/vm/extrap.c * contrib/hbwin/win_prn3.c + Added FIXMEs for unsafe function usage: IsBadWritePtr(), IsBadReadPtr(), lstrlen(), lstrcpy(), lstrcat() ; QUESTION: Any idea how to fix that? win_prn3.c can probably be fixed with some good general coding idea. [DONE: lstrlen(), lstrcpy(), lstrcat()] * contrib/hbwin/wce_smsc.c ! Fixed to not use unsafe CRTL functions. * src/rtl/oemansi.c ! Rewritten HB_OEMTOANSI() and HB_ANSITOOEM() to not use Windows API functions marked as unsafe. New version is a bit slower but won't mark Harbour apps as unsafe in an audit. ; Please test and review. * utils/hbmk2/hbmk2.prg * config/wce/msvcarm.mk * config/win/msvc.mk % Deleted -Gs MSVC option. Testing with MSVC 2008 I've found this have no effect on x86 builds, and it makes x64 builds slighly less efficient by forcing stack checks in each function call. This seems to contradict MSDN, which doesn't suggest such difference between x86 and x64: https://msdn.microsoft.com/library/9598wk25 % Deleted -GS- MSVC option used for wce targets for MSVC >= 8.00. '-GS-' will disable stack cookies (on by default), thus trading app size/speed for security. Maybe this is preferred for wce users, but in Harbour I'd rather opt to pass this decision to users for all targets. Enable with: HB_USER_CFLAGS=-GS- / -cflag={allmsvc}-GS- MSDN: https://msdn.microsoft.com/library/8dbf701c 2010-01-07 08:58 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/hbide.prg * contrib/hbide/ideactions.prg * contrib/hbide/ideeditor.prg * contrib/hbide/idethemes.prg ! Fixed some flow artifacts, mainly in "Files" management. 2010-01-07 16:10 UTC+0100 Viktor Szakats * contrib/hbnetio/utils/netiosrv.hbp * utils/hbformat/hbformat.hbp * utils/hbmk2/hbmk2.hbp * utils/hbi18n/hbi18n.hbp * utils/hbtest/hbtest.hbp * utils/hbrun/hbrun.hbp * config/wce/msvcarm.mk * config/win/msvc.mk + Added -fixed:no to msvc command line. It seems to be needed for ASLR compatibility. 2010-01-07 16:02 UTC+0100 Viktor Szakats * INSTALL * Updated valgrind example. [TOMERGE 2.0] * contrib/hbnetio/utils/netiosrv.hbp * utils/hbformat/hbformat.hbp * utils/hbmk2/hbmk2.hbp * utils/hbi18n/hbi18n.hbp * utils/hbtest/hbtest.hbp * utils/hbrun/hbrun.hbp * config/wce/msvcarm.mk * config/win/msvc.mk + Added MSVC linker switches to enhance security by enabling NX compatibility and ASLR. Especially important for server apps like netiosrv and hbrun. ; TODO: Enable the same for MinGW. ; TOCHECK: Please test this with old MSVC versions and MSVCARM, maybe we will need to disable them in some cases. [DONE] * config/wce/msvcarm.mk + Changed to use link.exe for linking instead of cl[arm].exe. This now syncs it with rest of Harbour. 2010-01-07 14:14 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbnetio/netiocli.c ! use hb_vmAtInit() to initialize NETIO - looks that winsock initialization in startup code does not work - please test 2010-01-07 14:07 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/hbznet.c * harbour/include/hbznet.h * added new optional parameter to hb_znetWrite() function which allow to catch result of last hb_socketSend() operation * removed automatic flushing from hb_znetWrite() function, it should help in implementing more efficient C code using hb_znet*() functions * harbour/src/rtl/hbinet.c * flush HB_ZNETSTREAM output after write operation % small optimization in internal inet error setting 2010-01-07 10:53 UTC+0100 Viktor Szakats * ChangeLog * Some changes marked DONE. * mpkg_tgz.sh ! Fixed to use tar command even when it's mapped to bsdtar. 2010-01-07 10:27 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbvmpub.h * minor formatting * harbour/contrib/hbnetio/netio.h * harbour/contrib/hbnetio/netiosrv.c + added new PRG function: NETIO_RPCFUNC( <pConnectionSocket> [, <sFuncSym> ] ) -> NIL which allows to set user filter for RPC calls. <sFuncSym> is executed on each RPC request instead of requested function and receives as first parameter requested function symbol then function parameters. A simple wrapper may look like: static function rpc_filter( sFunc, ... ) ? "DO", sFunc:name, "WITH", ... return sFunc:exec( ... ) and can be activated by: netio_rpcfunc( pConnectionSocket, @rpc_filter() ) When NETIO_RPCFUNC() is called without valid function symbol then existing user RPC filter is cleared. Please remember that setting user RPC filter does not automatically enable RPC support for given connection socket. RPC support has to be enabled by NETIO_RPC() function or by 4th parameter of NETIO_LISTEN() socket. 2010-01-06 18:57 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/ideactions.prg * contrib/hbide/ideprojmanager.prg * contrib/hbide/idestylesheets.prg ! Fixed few more artifacts. ! Recent Files and Projects Menu was growing crazy, was a result of not deleting the menu item in XbpMenu() class. More attention is required yet. ! Fixed Viktor's reported bug. * contrib/hbxbp/xbpmenubar.prg ! Fixed a very bad type, copy/paste syndrome. 2010-01-06 17:53 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/ideprojmanager.prg ! Small fix to prev. 2010-01-06 17:10 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/projects/hbide.hbi ! Deleted hard-coded -o directive, no longer needed. ! Project paths are now shown without meta-dat. * contrib/hbide/resources/projectproperties.ui ! Changed components background behavior not to use gradients. Now it is plain vanila white. * contrib/hbide/hbide.prg * contrib/hbide/idedocks.prg * contrib/hbide/ideeditor.prg * contrib/hbide/idemisc.prg * contrib/hbide/ideobject.prg * contrib/hbide/ideprojmanager.prg * contrib/hbide/idesaveload.prg * contrib/hbide/idestylesheets.prg ! Another round of reforms. And I am almost done with them. But wait... ! Started implementation of .env concept. What was missing from hbIDE => hbMK2 were the shell commands minimum necessary to let hbMK2 engine take control of. Now it can be done via QProcess:setEnvironment() call. I have left under the commented code in ideprojmanager.prg: /* Mechanism to supply environment variables to called process */ /* I do not know nixes but assume that Qt must be issueing proper */ /* shell command for the target OS to set them. */ /* If I am not wrong, HBMK2 can have these variables alread set */ /* and hence developer can choose any compiler of his choice. */ /* */ /* Actually, this was the intension in hbide.env I commited in IDE root */ I am been able to compile/link/execute hbide.exe after setting (Windows XP) qListSets := QStringList():new() qListSets:append( "HB_WITH_QT=C:\qt\4.5.3\lib" ) ::qProcess:setEnvironment( qListSets ) just before triggering the process. Your input is desired as I know nothing about make system. ! Fixed many artifacts difficult to jot-down. + Implemented not to load any source until brought forward for view. This has increased the loading speed extremely fast and always consistent in timing. This feature was hanging on my drawing board since begining. This effectively means that sessions with any number of source tabs will not pose speed panelty. TODO: Syntax highlighting is a slow process, to speed-up. 2010-01-07 01:40 UTC+0100 Viktor Szakats * contrib/hbwin/Makefile - contrib/hbwin/win_err.c + contrib/hbwin/wapi_err.c * contrib/hbwin/hbwin.h * contrib/hbwin/hbwapi.h * contrib/hbwin/wapi_winbase.c * contrib/hbwin/wapi_winuser.c * contrib/hbwin/wapi_winbase_mutex.c * Naming cleanup of recent change. 2010-01-07 00:52 UTC+0100 Viktor Szakats * contrib/hbwin/win_err.c * contrib/hbwin/hbwin.h * contrib/hbwin/wapi_winbase_mutex.c * Changed low-level hbwin_SetLastError() to accept lasterror as parameter. * contrib/hbwin/wapi_winbase.c * contrib/hbwin/wapi_winuser.c + Added internal handling of GetLastError(). This fixes lost GetLastError() values with apps linked with MT HVM. [ I didn't review wapi_commctrl.c, but some lazy checking on MSDN showed that these are generally not setting GetLastError(). ] * WAPI_GETSCROLLRANGE() now set ref params even in case of failure. ; TODO: Do some final renaming and rearrangement on the low-level. [DONE] * contrib/hbwin/wapi_winbase_mutex.c * Formatting. 2010-01-06 23:53 UTC+0100 Viktor Szakats * contrib/hbwin/win_err.c ! Fixed GetLastError() in MT mode. * utils/hbmk2/hbmk2.prg % nSize++ -> nSize = 1 * contrib/hbide/hbide.hbp ! Typo in comment. 2010-01-06 22:26 UTC+0100 Viktor Szakats * INSTALL ! Fixed instructions for .deb binary build. [TOMERGE 2.0] * contrib/hbide/hbide.hbp + Comment extended. * utils/hbmk2/hbmk2.prg + Comment extended. * config/globsh.mk ! Fixed typos in nt clean commands. [TOMERGE 2.0] * ChangeLog + Added TOMERGE 2.0 to prev entry. 2010-01-06 21:12 UTC+0100 Viktor Szakats * mpkg_tgz.sh ! Fixed to detect case when tar is mapped to bsdtar (such is the case on Snow Leopard). Use slightly modified tar command in this case. Please review. ; FIXME?: Unpacking stub script always uses 'tar', maybe this needs to be fixed, although current command should work on Snow Leopard. [CLEARED] - Deleted comment no longer valid. [TOMERGE 2.0] * utils/hbmk2/hbmk2.prg ! Fixed C++ memory manager override to handle zero size memory request and added protection when free operations are called with NULL. Thanks Istvan Bisz and Przemek for input. 2010-01-06 17:15 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/hbznet.c ! do not use DEF_MEM_LEVEL to avoid potential problems when <zutil.h> is not available * harbour/contrib/hbnetio/netio.h * harbour/contrib/hbnetio/netiocli.c * harbour/contrib/hbnetio/netiosrv.c + implemented RPC in HBNETIO protocol + added the following client functions: check if function/procedure exists on the server side: NETIO_PROCEXISTS( <cProcName> ) -> <lExists> execute function/procedure on server the side, do not wait for confirmation: NETIO_PROCEXEC( <cProcName> [, <params,...>] ) -> <lSent> execute function/procedure on the server side and wait for confirmation: NETIO_PROCEXECW( <cProcName> [, <params,...>] ) -> <lExecuted> execute function on the server side and wait for its return value: NETIO_FUNCEXEC( <cFuncName> [, <params,...>] ) -> <xFuncRetVal> All above functions use default connection set by NETIO_CONNECT() for RPCs but it's also possible to specify server address and port in <cProcName>/<cFuncName> just like in <cFileName> parameter in RDD functions, i.e.: NETIO_PROCEXISTS( "example.org:10005:MYFUNC" ) + added new server side functions to enable/disable/check RPC support: NETIO_RPC( <pListenSocket> | <pConnectionSocket> [, <lEnable> ] ) -> <lEnabled> if RPC is enabled for listen socket then connection sockets inherit this setting. + added 4th parameter <lRPC> to NETIO_LISTEN() function. .T. enable RPC support in returned listen socket which is later inherited by connection sockets * changed protocol version ID - current NETIO clients and servers cannot be used with old code * harbour/contrib/hbnetio/utils/netiosrv.prg * added option to enable RPC support in NETIO server If you want to make some test then you can execute netiosrv with non empty 4th parameter as server, i.e.: ./netiosrv "" "" "" 1 and try this code as client: proc main() // pass server address to netio_connect() for non localhost tests ? "NETIO_CONNECT():", netio_connect() ? ? "DATE() function is supported:", netio_procexists( "DATE" ) ? "QOUT() function is supported:", netio_procexists( "DATE" ) ? "HB_DATETIME() function is supported:", ; netio_procexists( "HB_DATETIME" ) ? ? netio_procexec( "QOUT", repl( "=", 50 ) ) ? netio_procexec( "QOUT", "This is RPC TEST", date(), hb_datetime() ) ? netio_procexecw( "QOUT", repl( "=", 50 ) ) ? ? "SERVER DATE:", netio_funcexec( "DATE" ) ? "SERVER TIME:", netio_funcexec( "TIME" ) ? "SERVER DATETIME:", netio_funcexec( "HB_DATETIME" ) ? ? netio_funcexec( "upper", "hello world !!!" ) return Please remember that only functions linked with server are available. If you want to enabled all core functions in netiosrv then please uncomment this line in netiosrv.prg: REQUEST __HB_EXTERN__ Have a fun with a new toy. I hope that many Harbour user will find it very interesting. Please only be careful !!!. This feature allows to execute remotely _ANY_ code on the server side. _NEVER_ leave open ports with RPC support for untrusted access. 2010-01-06 00:21 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/hbide.prg * contrib/hbide/idedocks.prg * contrib/hbide/idemisc.prg * contrib/hbide/ideprojmanager.prg ! Many artifacts corrected. ! Build process is now very satisfying if selected an option with right-click on project node in Project Tree window. ! Diabled gradients in any window. Is it ok to fine tune the windows with plain colors ? 2010-01-06 08:33 UTC+0100 Viktor Szakats * INSTALL + Added HB_TR_OUTPUT to DEBUG section. [TOMERGE 2.0] 2010-01-06 07:27 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/gtwin/gtwin.c + added support for HB_GTI_ISUNICODE * harbour/include/hbapifs.h * added missing 'extern' in some declarations * harbour/include/hbzlib.ch + added HB_ZLIB_STRATEGY_* constants + added HB_ZLIB_COMPRESSION_DISABLE * harbour/include/Makefile + harbour/include/hbznet.h * harbour/include/hbextern.ch * harbour/src/rtl/Makefile * harbour/src/rtl/hbinet.c + harbour/src/rtl/hbznet.c + added support for ZLIB compression in stream sockets. + added .prg function: HB_INETCOMPRESS( <pSocket>, [<nCompressionLevel>], [<nStrategy>] ) which enables ZLIB compression for given HB_INET*() socket. <pSocket> is a socket created by one of HB_INET*() functions <nCompressionLevel> is compression factor between 1 (fastest) and 9 (best) (see HB_ZLIB_COMPRESSION_*) 0 (none) disable compression on output data but decompression is still working. <nStrategy> is used to tune compression algorithm, see HB_ZLIB_STRATEGY_* The compression must be enabled on both connection sides, i.e. on the server side: conn := hb_inetAccept( sock ) hb_inetCompress( conn ) and on the client side: sock := hb_inetConnect( cServer, nPort ) hb_inetCompress( sock ) in the same moment but it's not necessary to enable it at the beginning of connection. It can be done later, i.e. when both sides agree to enable connection using some custom protocol. The compression has effect only on stream connections, i.e. TCP and it's ignored in datagram connections like UDP. This function can be executed more then once changing the compression parameters but it causes that all data in readahead decompression buffer is discarded. When called with HB_ZLIB_COMPRESSION_DISABLE as <nCompressionLevel> then support for stream compression is removed and sockets works again in raw mode. The compression level and strategy do not have to be the same on both connection sides. Each side can chose the best settings for data it's going to send. This code was written in a way which allows to easy implement alternative compression methods or other extensions like encryption in existing HB_INET*() sockets also by non core code. The public C functions declared in hbznet.h allows to use this extension with raw harbour sockets two. 2010-01-05 19:01 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbxbp/tests/demoxbp.prg ! Changed to HBQT_SET_RELEASE_METHOD( HBQT_RELEASE_WITH_DELETE ) * contrib/hbide/hbide.prg * contrib/hbide/ideactions.prg * contrib/hbide/idedocks.prg * contrib/hbide/ideeditor.prg * contrib/hbide/idemisc.prg * contrib/hbide/ideprojmanager.prg ! Another round of reforms. Vailton, I had to delete some of your code causing the recursions. Please note that never ever you should call the methods like a->b->a. Please check the code and its usability as per your line-of-thinking. More refinements are under-way. 2010-01-06 01:29 UTC+0100 Viktor Szakats * INSTALL * Minor update to prev. [TOMERGE 2.0] 2010-01-06 01:24 UTC+0100 Viktor Szakats * INSTALL + Added new section: 7. DEBUGGING OPTIONS So far covered: tracing, memory statistics, valgrind and codeguard. I'd like to ask our experts to review and if needed extend these informations (send me suggestions and I'll update it). [TOMERGE 2.0] * bin/postinst.bat + Enabling -debug option on shared tool hbmk2 builds if HB_BUILD_DEBUG=yes. * contrib/hbide/ideactions.prg ! Typo. 2010-01-05 20:35 UTC+0100 Viktor Szakats * contrib/hbide/projects/hbide.hbi ! Deleted windows and local environment specific hbmk2 options, plus a few ones which are automatically pulled anyway via hbqt.hbc (which is in turn pulled by hbxbp.hbc). Please set HB_WITH_QT to make it find the QT libs. This is the universal method. 2010-01-05 20:23 UTC+0100 Viktor Szakats * contrib/hbqt/detect.mk + Will now verify if HB_QT_MOC_BIN is pointing to an existing filename. If not, an error message will be shown, trying to make it clear how to set it up properly. Many users like to set the dir only, which makes the build process fail. * contrib/hbide/hbide.prg + Switched to HBQT_RELEASE_WITH_DELETE as suggested by Istvan Bisz. * contrib/hbqt/generator/hbqtgen.prg * Minor cosmetic. 2010-01-05 19:13 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added disctinctive static text which is always linked in when C++ mm override is active. This makes it easy to verify if C++ mm override is activated in an executable. * ChangeLog ! Fixed messed text in latest hbmk2 changes. 2010-01-05 18:48 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.pt_BR.po * utils/hbmk2/hbmk2.hu_HU.po * utils/hbmk2/hbmk2.prg + Added support for C++ input files. Now C++ files will be compiled in a separate pass where native C++ compiler is used, which means that C++ compilation mode is now enforced by using .cpp extension. This also means that it's now possible to build mixed mode projects with both C and C++ input files. In general, this feature makes -cpp option unnecessary, its only purpose now is to override default mode. + Added option to override standard C++ memory management functions with Harbour ones. Enable with option: -hbcppmm (command-line) or hbcppmm=yes (in .hbc files) NOTE1: Suggestions for better names are welcome. NOTE2: hbide will now crash with mingw if this option is enabled. Any idea why? ; Please test. * utils/hbmk2/hbmk2.prg - Deleted support for link-related macros in C compilation phase, these weren't used anymore inside current hbmk2, so it seems safe, but it's possible nevertheless that it will cause regressions in some exotic use cases. * utils/hbmk2/hbmk2.prg ! Fixed parsing -warn option on the commandline and .hbm/.hbp files. [TOMERGE 2.0] * contrib/hbqt/generator/hbmk.hbm ! Deleted xhb lib. It's not required and was probably added for "outdebug" stuff. * contrib/hbqt/hbqt.hbc * contrib/hbqt/hbqts.hbc * contrib/gtqtc/gtqtcs.hbc * contrib/gtqtc/gtqtc.hbc + Added hbcppmm=yes option. This will force C++ memory allocation functions to be overridden by Harbour mm functions. * src/vm/fm.c - Deleted C++ memory allocation functions. This feature now lives inside hbmk2, and it now doesn't require whole Harbour to be built in C++ mode. * contrib/hbqt/* * Regenerated. 2010-01-05 14:54 UTC+0100 Viktor Szakats * contrib/hbct/dummy.c + Added dummy stubs for all CT functions which are not yet implemented in Harbour. This file is intentionally not built, because a link-time error is better than a runtime one, anyhow we could convert them to real dummies emulating error behavior and add them to build process. * contrib/hbqt/generator/hbqtgen.prg % Optimization to parameter list ptr conversion loop. ; TODO: Regenerate QT sources. [DONE] 2010-01-05 14:03 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbct/video.c % use hb_gtColorToN() function instead of own code to decode Clipper color in VGAPALETTE() ! added protection against possible transfer buffer overflow in SETFONT() function ! return -2 when SETFONT() is not implemented TODO: clean these functions, add support for other DOS compilers, add some missing functions and redirect few of them like VGAPALETTE() to hb_gtInfo() in non DOS builds * harbour/src/rtl/hbgtcore.c ! fixed missing ';' => CHR( 13 ) translation in __KEYBOARD() function [TOMERGE 2.0] 2010-01-05 02:59 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbxbp/xbpmenubar.prg * contrib/hbxbp/xbptoolbar.prg + Implemented to accept QAction() as menu constructor. Before only cCaption or XbpMenu() were accepted. * contrib/hbide/hbide.ch * contrib/hbide/hbide.prg * contrib/hbide/ideactions.prg * contrib/hbide/idedocks.prg * contrib/hbide/idemisc.prg * contrib/hbide/ideobject.prg * contrib/hbide/ideprojmanager.prg ! Next round of reforms. + Implemented IdeActions() class which forms the basis of IDE's menus and toolbars. Now we have greater control over the uniformity of different actions hooked into different interface elements, i.e., menu option, toolbar option or popup option. The same visual experience is presented in all the three flavours. It also implies that we can switch on/off any action only at one place. For example, if you issue this command: ::oAC:getAction( "Save" ):setEnabled( .f. ) then the option will be grayed in any flavour of user interaction, viz., menu, toolbar, or context menu. The code is much cleaner and paves the way to be reloaded with various means. 2010-01-05 03:51 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapicdp.h * removed unused in current code HB_CODEPAGE_INIT() macro 2010-01-04 16:28 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/hbide.ch * contrib/hbide/hbide.prg * contrib/hbide/ideactions.prg * contrib/hbide/idedocks.prg * contrib/hbide/idemisc.prg * contrib/hbide/ideobject.prg * contrib/hbide/ideprojmanager.prg * contrib/hbide/idesaveload.prg * contrib/hbide/idestylesheets.prg * contrib/hbide/idethemes.prg ! Another round of reforms. + Implemented visual reflection of current project tree node and current editing tab tab. + Implemented default theme get/set, check the menu <Options>. 2010-01-05 02:39 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/common/hbtrace.c ! fixed casting for C++ mode in my recent modification 2010-01-04 16:28 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/hbide.prg * contrib/hbide/ideactions.prg * contrib/hbide/ideeditor.prg * contrib/hbide/idemisc.prg * contrib/hbide/ideobject.prg * contrib/hbide/ideprojmanager.prg * contrib/hbide/idesaveload.prg ! Next round of reforms, stay patient. ! Implemented to hold last working project. ! Fixed to not generate error if an open project is tried to reopen. ! Many small artifacts correctd. 2010-01-05 00:40 UTC+0100 Viktor Szakats * contrib/hbqt/tests/demoqt.prg + Added hbqt_errorsys(). * contrib/hbxbp/xbpgeneric.prg + Calling hbqt_errorsys() on startup. * contrib/hbide/hbide.prg - Deleted call to hbqt_errorsys(). It's now done by hbxbp. 2010-01-04 14:31 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/hbide.prg * contrib/hbide/ideactions.prg * contrib/hbide/idedocks.prg * contrib/hbide/ideeditor.prg * contrib/hbide/ideobject.prg * contrib/hbide/ideprojmanager.prg * contrib/hbide/idethemes.prg ! Continued reforms. ! Menu options are working again. 2010-01-04 23:28 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + Will now ignore hbdebug and hbcplr static Harbour libs when creating dynamic binaries, if these libs are not present. 2010-01-04 19:01 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/ChangeLog ! fixed typo in my recent ChangeLog entry * harbour/src/vm/fm.c % minor simplification * harbour/src/common/hbtrace.c ! fixed possible recursive call reported by Istvan 2010-01-04 18:39 UTC+0100 Viktor Szakats * contrib/hbgd/hbgd.hbc + examples/httpsrv/modulesg.hbp * examples/httpsrv/uhttpdgd.hbp * examples/httpsrv/readme.txt * Merged gd linking logic from uhttpdgd.hbp to hbgd.hbc. (contains little hack, too) (untested) + Added .hbp file to build GD enabled modules. * Modified readme to reflect above change. + Changed .hbp files to use hbgd.hbc and hbct.hbc to build with hbgd and hbct libs. This is much better method, since hbmk2 will locate them automatically plus set header path as well. 2010-01-04 08:33 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/resources/selectionlist.ui ! A little less-height window. * contrib/hbide/ideeditor.prg * contrib/hbxbp/xbpmenubar.prg * contrib/hbxbp/xbpprintdialog.prg * contrib/hbxbp/xbpwindow.prg % Fixed calls to removed Qt functions. 2010-01-04 15:56 UTC+0100 Viktor Szakats * contrib/hbide/idethemes.prg * contrib/hbide/ideeditor.prg * contrib/hbide/hbide.prg * contrib/hbide/ideactions.prg * contrib/hbide/ideprojmanager.prg ! Reapplied my File() -> hb_FileExists() pacth. Please note that it's not my favourite pass-time to find out which of my changes were overwritten and such practice pretty much defeats the purpose of version tracking systems like SVN altogther. It's committers job to properly resolve conflicts, unless there is as advance request for commit-stop. Since it's also not very efficient for me to refix all future File() usages to hb_FileExists(), it would be much more beneficiary for the whole project if coding practices like that would be adopted by other developers and taken care of in future updates. Thanks in advance. 2010-01-04 13:10 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/gtxwc/gtxwc.c ! cleaned a little bit hack with euro sign support + added optional support for input respecting locale settings To enable it it's necessary to recompile GTXWC with HB_XWC_USE_LOCALE macro. It can be done globally using export HB_USER_CFLAGS=-DHB_XWC_USE_LOCALE and recompiling Harbour core code. When enabled GTXWC initialize locale at startup (LC_CTYPE only) what enable national keyboard layout support in default input context (XLookupString()). Current Harbour core code does not use any <ctype.h> functions so enabling locale should not effect user national settings in HVM. Please test. 2010-01-04 01:58 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/hbide.hbp * contrib/hbide/hbide.prg * contrib/hbide/ideactions.prg * contrib/hbide/idedocks.prg * contrib/hbide/ideeditor.prg * contrib/hbide/idefindreplace.prg * contrib/hbide/idemisc.prg * contrib/hbide/ideobject.prg * contrib/hbide/ideprojmanager.prg * contrib/hbide/idesaveload.prg * contrib/hbide/idethemes.prg * contrib/hbide/projects/hbide.hbi + contrib/hbide/resources/insert-datetime.png + contrib/hbide/resources/insert-external-file.png + contrib/hbide/resources/insert-procname.png + contrib/hbide/resources/readonly.png * contrib/hbide/resources/tabreadonly.png * contrib/hbxbp/xbpqtuiloader.prg A lot of changes are in effect including the patch sent by Vailton. The code is in the middle of restructing phase and may take several days to finish. Till the I request you all to bear with me and may expect some bumps too. Please do not update this code until I finish preliminaries. To sumup this commit includes: ! Thourough reclassification of classes and separation of code fragments in a way that not two developers collide with each other. One may takeup one segment and the other another. + Used hbide_* namespace and have changed almost every function. + Implemented, though not in a way I wanted, building a project via Qt's process classes. You will see a refreshing difference. + A major breakthrough in XbpQtUiLoader() class implementation. Now you can access the child widgets of a .ui component per this syntax: oUI:qObj[ "checkMatchCase" ]:setChecked( .t. ) => oUI:q_checkMatchCase:seChecked( .t. ) ^^ just prefix object name with "q_" ( Q + Underscore ). This greatly simmplifies coding and allows to exploit child widgets as real-time objects. 2010-01-03 21:19 UTC+0100 Viktor Szakats * contrib/hbqt/hbqt_hbevents.cpp * contrib/hbqt/hbqt_hbslots.cpp - Deleted old method of slots/events handling. * contrib/hbide/idethemes.prg * contrib/hbide/ideeditor.prg * contrib/hbide/hbide.prg * contrib/hbide/idemisc.prg * contrib/hbide/idesaveload.prg % Using hb_FileExists() instead of File(). ! Fixed to not force lowercase on filenames. 2010-01-03 11:57 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbxbp/xbpbrowse.prg * contrib/hbxbp/xbpwindow.prg % Normalized some left-overs. 2010-01-03 09:22 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/hbide.prg * contrib/hbide/idedocks.prg * contrib/hbide/ideeditor.prg % Qt_Connect_Signal( ... ) => Qt_Slots_Connect( ::pSlots, ... ) % Qt_Connect_Events( ... ) => Qt_Events_Connect( ::pEvents, ... ) And reverse of it. * contrib/hbxbp/xbpbrowse.prg * contrib/hbxbp/xbpdialog.prg * contrib/hbxbp/xbpgeneric.prg * contrib/hbxbp/xbplistbox.prg * contrib/hbxbp/xbpqtuiloader.prg * contrib/hbxbp/xbpsle.prg * contrib/hbxbp/xbpspinbutton.prg * contrib/hbxbp/xbptreeview.prg * contrib/hbxbp/xbpwindow.prg % Qt_Connect_Signal( ... ) => Qt_Slots_Connect( ::pSlots, ... ) % Qt_Connect_Events( ... ) => Qt_Events_Connect( ::pEvents, ... ) And reverse of it. Viktor, you may delete the previous implementation. 2010-01-03 14:07 UTC+0100 Viktor Szakats * contrib/hbqt/qth/QApplication.qth * Minor optimizations. % One static var deleted. ; FIXME/TOCHECK: argv/argc usage. [DONE] * contrib/hbqt/qtgui/QApplication.cpp * contrib/hbqt/hbqt_garbage.h * Regenerated. * contrib/hbxbp/xbpgeneric.prg - Deleted unused statics. ; FIXME: HBQT has an irregularity which I couldn't find a reason yet. It maintains a pointer to QApplication in a static variable on C level, plus every HBQT app maintains a copy of the QApp object in a .prg level STATIC var. Both are inited using C/prg level init/exit functions. 2010-01-03 13:40 UTC+0100 Viktor Szakats * ChangeLog ! Fixed accindentally committed corrupted file in prev commit. (unclean system shutdowns due to hangs) * contrib/hbqt/tests/demoqt.prg * Variable rename. 2010-01-03 13:24 UTC+0100 Viktor Szakats * INSTALL + Added OS/2 to QT supported platforms. * harbour.spec + Merged lib and static subpackages into main one. hbmk2 requires that both dynamic and static libs (namely hbcplr) are present for successful linking. Please test and comment, I can revert old version in case of any problems. * contrib/hbqt/filelist.mk * contrib/hbqt/hbqt_hbevents.cpp * contrib/hbqt/hbqt_hbslots.cpp - contrib/hbqt/hbqt_hbevents2.cpp - contrib/hbqt/hbqt_hbslots2.cpp * Merged new EVENTS/SLOTS implementation with old one, removing all existing redundancies and fixing double definition of low-level classes. 2010-01-03 03:00 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/hbide.prg ! Applied Vailton's patch posted as diff. 2010-01-03 11:00 UTC+0100 Viktor Szakats * contrib/hbqt/generator/hbqtgen.prg ! Fixed formatting for one generated headder. * contrib/hbqt/hbqt_hbqmainwindow.cpp * contrib/hbqt/qth/QApplication.qth + Moved HB_QT declaration to QApplication. * contrib/hbqt/qtgui/QApplication.cpp * Regenerated. * contrib/hbqt/qtgui/QTextCursor.cpp * contrib/hbqt/qtgui/TQTextCursor.prg * contrib/hbqt/qtgui/QSyntaxHighlighter.cpp * contrib/hbqt/qtgui/TQSyntaxHighlighter.prg * Changed after regeneration. (Someone pbly changed these files without .qth, or run older generator, or didn't run generator after modifying .qth) * contrib/hbqt/hbqt_hbqsyntaxhighlighter.cpp ! Fixed warning. * Formatting. * contrib/hbqt/hbqt_hbqtableview.cpp * contrib/hbqt/hbqt_hbqmainwindow.cpp % GC callbacks made 'static'. * contrib/hbqt/detect.mk * contrib/hbxbp/Makefile + Enabled for OS/2. * contrib/hbqt/hbqt_hbqmainwindow.cpp - Deleted mutex handling. (was commented for while with no problems reported) * contrib/hbwin/Makefile * contrib/hbwin/hbwin.h * contrib/hbwin/hbwapi.h + contrib/hbwin/win_err.c * contrib/hbwin/wapi_winbase.c + Added hbwin_SetLastError(), hbwin_GetLastError() low-level functions to save/get GetLastError() values. This is required to preserve win lasterror value on .prg level. The reason we need this is because TlsGetValue() (called internally by Harbour core) is overwriting this value. Thanks to Xavi for research. * contrib/hbwin/wapi_winbase_mutex.c ! Fixed to use hbwin_SetLastError(). ; TODO: Call hbwin_SetLastError() after _all_ winapi calls which modify lasterror value. Until then, WAPI_GETLASTERROR() is broken. [DONE] * contrib/hbwin/hbwinole.h + Added self-guard. 2010-01-02 22:47 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) /* This commint is from Vailton Renato and applied as is Please set me right if something is omitted. Changes are written below as published on DL. */ * contrib/hbide/hbide.ch * contrib/hbide/hbide.env * contrib/hbide/hbide.prg * contrib/hbide/ideactions.prg * contrib/hbide/ideeditor.prg * contrib/hbide/idemisc.prg * contrib/hbide/idesaveload.prg * contrib/hbide/resources/hb-16x16.png + contrib/hbide/resources/hb-32x32.png + contrib/hbide/resources/list-developers.png + contrib/hbide/resources/list-users.png + contrib/hbide/resources/new2.png + contrib/hbide/resources/project.png + contrib/hbide/resources/vr-16x16.png ! isValidText() some more valid extensions added ! editSource() message appears if the file open is not supported. ! loadIni() Implemented support for RecentFiles & RECENTPROJECTS sections. Optimized support for section names regardless of case used. Enhanced with SWITCH instead of CASE. Optimized initialization oide:Aini regardless of the amount expected items in the INI file. Implemented a basic validation to ignore invalid sections in the INI file. + Added a few new icons for the menu of the application. ! FILE > recent files -> implementation done. ! FILE > recent projects -> implementation done. ! FILE > SAVE AND EXIT -> implementation done. ! FILE > OPEN -> supports opening multiple files ! FILE > REVERT -> implementation done. + findEditByFileName() - new method to Find an item in a Edits[] based on the file name passed as argument. + findEditByID() - new method to Find an item in aEdits[] based on the ID passed as argument. + HbIde:closeAllSources() -> implementation done. ! HbIde:closeSource() -> rewritten to support the closeAllSources() method + HbIde:closeAllOther() -> implementation done. + HbIde:saveSourceAs() -> implementation done. + HbIde:updateTitleBar() -> New method to updates the title bar of the main window, indicating the project and the current filename. + HELP > About - implementation done. + HELP > Harbour on line - implementation done. + HELP > HB Users Mailing - implementation done. + HELP > HB Developers Mailing - implementation done. + EDIT menu items were attached to the existing options in ::executeAction() ! IdeFindReplace:show() -> Detect if current edit has any selected text. ! hbide now displays the text "Untitled XX" on creating a new file. NOTE: Something is not right because when I click the close button to close the main window and he asks me if I want to save the files and when I click CANCEL it has to abort the process and not close the system as it is occurring. 2010-01-02 19:31 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/hbide.prg * contrib/hbide/ideeditor.prg * contrib/hbide/idemisc.prg * contrib/hbide/idesaveload.prg * contrib/hbide/idethemes.prg + contrib/hbide/resources/selectionlist.ui * contrib/hbide/resources/themes.ui ! Changed the way .ppo is presented. Now a new modeless window displays .ppo source and thus you have more control over comaprison with original source. You can keep as many such .ppo windows on the screen. + Implemented Editor Themes. HBIDE provides 5 default themes, along the lines of xMate, viz., 1. Classic 2. City Lights 3. Evening Glamour 4. Sand Storm with a few changes, and 5. Pritpal's Favourite. Themes interface provides for changing the existing themes as well as constructing a new one based on any exiting themes. Then user can save them in hbide.hbt file. HBIDE always loads default 5 themes as above then, HBIDE looks for hbide.hbt in the same folder where it is. If it finds one, it attempts to load it. In the loading process it will merge the duplicate themes, including the default ones. It means, if you modify an existing default theme and then save it in hbide.hbt, at next invocation default theme will be overwritten and your changes are reflected. But if the name of the theme is changed you have yours plus default both themes available. Default theme is "Pritpal's Favourite" which will be applied to any source file opened. You can override it by applying new theme to it. Right click on <Editors Tree><_any_source_file_> and select "Apply Theme" and finally select from a list of themes presented in a list box by double clicking onto one of choice. Next time you open HBIDE thus souce will be applied the last theme selected. You can re-define various labels on the Themes Dialog including drop-down list items of different parts of the sources. Just examine hbide.hbt and change the values of dialog elements. Differences from xMate implementation: 1. Theme can be applied to indivisual source separately. 2. Theme elements can have <Italic>, <Bold> and <Underline> attributes. 3. Themes can be copied and re-defined for n numbers. TODO: To apply themes per project. To implement some missing parts of source, such as, background color of selections, etc. You are encouraged to test this implementation. I will be more than happy to implement descent thoughts you can imagine. 2010-01-02 19:31 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbxbp/xbpfiledialog.prg ! An important fix. 2010-01-02 19:26 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/hbqt_hbqsyntaxhighlighter.cpp * contrib/hbqt/hbqt_hbqsyntaxhighlighter.h * contrib/hbqt/qtgui/TQSyntaxHighlighter.prg * contrib/hbqt/qth/QSyntaxHighlighter.qth + Added more functions to manage highlighting properly. 2010-01-03 02:32 UTC+0100 Viktor Szakats * contrib/hbqt/tests/demoqt.prg + Changed to use new EVENTS/SLOTS layout. These are currently two STATIC vars, may be better to add :events / :slots to oWnd and keep them tied to windows, or threads. It's difficult to find out from current usage. ; Please test. 2010-01-03 02:11 UTC+0100 Viktor Szakats * contrib/hbqt/filelist.mk + contrib/hbqt/hbqt_hbslots2.cpp + contrib/hbqt/hbqt_hbevents2.cpp + Added new implementation of slots and events. This fixes potential leaks in old implementation by moving HB_EVENTS, HB_SLOTS low-level per-thread structures to .prg level and adding proper GC destructors to them. To use the new interface in .prg level code, following changes will have to be applied: 1. Adding new :events, :slots holder variables to .prg level. 2. Init these holder variables with QT_EVENTS_NEW() and QT_SLOTS_NEW(). 3. Make these conversions: QT_CONNECT_EVENT( ... ) -> QT_EVENTS_CONNECT( p, ... ) QT_DISCONNECT_EVENT( ... ) -> QT_EVENTS_DISCONNECT( p, ... ) QT_CONNECT_SIGNAL( ... ) -> QT_SLOTS_CONNECT( p, ... ) QT_DISCONNECT_SIGNAL( ... ) -> QT_SLOTS_DISCONNECT( p, ... ) QT_GETEVENTFILTER() -> QT_EVENTS_PTR( p ) (there is a FIXME here for the future) 4. Delete these calls: QT_EVENTS_DESTROY() QT_SLOTS_DESTROY() ; Pritpal, can you please review this method? * contrib/hbqt/hbqt_hbdbfmodel.cpp * contrib/hbqt/hbqt.h % Memory allocation internals made static. 2010-01-03 01:30 UTC+0100 Viktor Szakats * contrib/hbqt/tests/demoqt.prg ! Possible fix for leaks in this .prg code. Added these two calls before exit: QT_EVENTS_DESTROY() QT_SLOTS_DESTROY() * contrib/hbqt/filelist.mk - contrib/hbqt/hbqt_events.h + contrib/hbqt/hbqt_hbevents.h - contrib/hbqt/hbqt_events.cpp + contrib/hbqt/hbqt_hbevents.cpp - contrib/hbqt/hbqt_slots.h + contrib/hbqt/hbqt_hbslots.h - contrib/hbqt/hbqt_slots.cpp + contrib/hbqt/hbqt_hbslots.cpp * Renamed Events class to HBEvents. * Renamed Slots class to HBSlots. * src/vm/fm.c % Deleted unnecessary guard added in prev commit. 2010-01-03 00:28 UTC+0100 Viktor Szakats * src/vm/fm.c + Overriding some additional C++ memory allocation operators to cover the full set required by QT, according to this document: https://qt-project.org/doc/qt-4.8/qt-performance.html#alternative-memory-allocation ; Please report if it causes problem in other areas, also retest HBQT memory allocation after change. 2010-01-03 00:11 UTC+0100 Viktor Szakats * src/vm/fm.c ! Fixed to not display "Warning, memory allocated but not released" message for non-fmstat builds. ! Fixed to display "Memory allocated but not released: none" message (without 'warning' sign) when built with fmstat and there was no unrelease blocks. 2010-01-02 23:07 UTC+0100 Viktor Szakats * config/dir.mk % Deleted code handling pre-3.81 GNU Make versions. We require 3.81 now, so no longer required. Sent by Tamas Tevesz. 2009-01-02 22:59 UTC+0100 Istvan Bisz (istvan.bisz/at/t-online.hu) * /src/vm/fm.c * Not adequate defitions of the subsequent CRT functions for the MinGW implemetations: #ifndef USE_DL_PREFIX #define dlcalloc calloc #define dlfree free #define dlmalloc malloc ... #endif /* USE_DL_PREFIX */ The malloc/free CRT functions should'nt be redefined in this way. * The mesage: "Warning, memory allocated but not released..." is sent on request (//INFO cmdarg). 2010-01-02 22:26 UTC+0100 Viktor Szakats * contrib/hbqt/hbqt.h + Will now fail with forced compiler error if used with QT libs older than 4.5.0. * package/winuni/mpkg_win_uni_extra_copy.bat * Formatting. 2010-01-02 21:52 UTC+0100 Viktor Szakats * config/global.mk % Applied optimization sent by Tamas Tevesz. % Applied little further optimization. * One variable renamed. - Deleted checking for MAKE_381 when using 3.81 features. Now 3.81 is the minimum required so there is no point. 2010-01-02 20:55 UTC+0100 Viktor Szakats * contrib/hbide/hbide.prg ! Don't add binary extensions to target names. It will be added by hbmk2 automatically and properly according to target platform/compiler. ! Don't add .exe extension to hbmk2 executable name. 2010-01-02 20:45 UTC+0100 Viktor Szakats * harbour.spec ! Modified this line: %define hb_lflag export HB_USER_LDFLAGS="${CC_HB_USER_LDFLAGS} %{?_with_static:-static}" to this: %define hb_lflag export HB_USER_LDFLAGS= _with_static is later converted to HB_BUILD_SHARED setting which is right. * Formatting. 2010-01-02 18:40 UTC+0100 Viktor Szakats * config/global.mk % Applied little optimization from Tamas Tevesz. * contrib/hbide/idemisc.prg + hbide_PathProc() This function can combine relative paths together so it's the key to avoid macros dealing with placing paths to their intended location. It can replace current method of <IdeSrc> = hb_dirBase(). E.g.: hbide_PathProc( "src/mysource_in_project.prg", "projects_dir/" ) -> "projects_dir/src/mysource_in_project.prg" hbide_PathProc( "projects/myproject.hbi", hb_dirBase() ) -> "C:/harbour/contrib/hbide/projects/myproject.hbi" Please use it. ; FIXME: Since hbide seems to intend to support a hbrun-like command prompt, maybe it's a good idea to prefix all public functions with hbide_, otherwise there will be problems when name collision occurs with user code. If this is not the goal, we can leave it. [CLOSED] 2010-01-02 08:28 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/projects/hbide.hbi + Added missing files. A little formatting. 2010-01-02 17:06 UTC+0100 Viktor Szakats * INSTALL * Clean Linux .rpm section, added full install commands just like for Ubuntu, added qt45-devel, added more description. (not tested, I don't have .rpm based distro) * config/global.mk ! Fixed debian package manager detection, as suggest by Tamas Tevesz. 2010-01-02 15:00 UTC+0100 Viktor Szakats * config/global.mk + Added rudamentary package manager detection (so far for darwin and linux). Please extend. This will allow to make proper dependency checking in detect.mk. 2010-01-02 13:49 UTC+0100 Viktor Szakats * harbour.spec + Added hbcairo enabler logic. ! Cleaned gtalleg inclusion. (not included anymore in base package, only in extra one) 2010-01-02 13:46 UTC+0100 Viktor Szakats * mpkg_rpm.sh + Really added cairo enabler logic. 2010-01-02 13:42 UTC+0100 Viktor Szakats * include/hbextcdp.ch ! Deleted unnecessary #include. [TOMERGE 2.0] 2010-01-02 12:23 UTC+0100 Viktor Szakats * mpkg_rpm.sh * Sorted '-with' checks. + Added freeimage and cairo enabler logic (none tested) * INSTALL - Deleted gtk2-devel from instructions. + Added freeimage-devel and cairo-devel to rpm pkg list. (none tested) [TOMERGE 2.0] * contrib/hbide/projects/hbide.hbi ! Deleted .exe extension from output name for portability. ! Fixed -workdir option to also have ${hb_plat} macro for portability. ; Pls remember that hbide is meant to be a portable tool. ; FIXME: Delete -workdir option altogether. Not needed. [DONE] ; FIXME: Hard-wired dir C:\qt\2009.01\qt\lib should be stored in SVN. [DONE] 2010-01-02 02:28 UTC+0100 Viktor Szakats * harbour.spec ! Some local leftovers deleted. 2010-01-02 02:25 UTC+0100 Viktor Szakats * INSTALL + Added note on libharu on Linux. [TOMERGE 2.0] * harbour.spec + Added cairo, freeimage (commented) and gtalleg sections for separate RPMs. * Reordered RPM sections alphabetically. ! Fixed typo in extra RPM decription. ; TODO: Enable above sections. [DONE] Test. ; FIXME: gtalleg is already added in some special way, which pbly needs to be removed. [DONE] ; FIXME: OpenSSL dependency is never set. * INSTALL + Added --with cairo + Added --with freeimage (with FIXME markup) * Reordered --with options alphabetically. [TOMERGE 2.0] 2010-01-01 14:00 UTC+0100 Viktor Szakats * ChangeLog ; Happy New 2010. 2009-12-31 18:32 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/hbide.ch * contrib/hbide/hbide.hbp * contrib/hbide/hbide.prg * contrib/hbide/ideactions.prg * contrib/hbide/idemisc.prg * contrib/hbide/idesaveload.prg + contrib/hbide/idethemes.prg * contrib/hbide/resources/themes.ui + Added class to save/load themes, a work-in-progress. You can just play with user interface. More to come soon. 2009-12-31 19:07 UTC+0100 Viktor Szakats * INSTALL + Added QT MinGW version requirement information. [TOMERGE 2.0] * contrib/rddads/ads1.c * Formatting. 2009-12-31 08:19 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) + contrib/hbide/resources/themes.ui + Added skeleton .ui file for editor themes management. 2009-12-31 07:29 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbxbp/xbpdialog.prg ! Fixed (probably) the bug causing RTE on Ubuntu reported by Marek. 2009-12-31 13:24 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/codepage/Makefile ! added missing cphriso.c 2009-12-31 13:59 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/contrib/rddads/ads1.c ! fixed softseek seeklast behavior in case seek positions at EOF * added additional ADS function return value check in seek operation 2009-12-31 12:43 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbextcdp.ch * harbour/include/hbextlng.ch * harbour/src/lang/Makefile - harbour/src/lang/msghr437.c + harbour/src/lang/msghr646.c - harbour/src/codepage/cphr437.c + harbour/src/codepage/cphr646.c * renamed HR437 CP and LANG modules to HR646 (CROSCII / ISO-646-YU) * harbour/include/hbextcdp.ch * harbour/include/hbextlng.ch * harbour/src/codepage/Makefile - harbour/src/lang/msgsl437.c + harbour/src/lang/msgsl646.c - harbour/src/codepage/cpsl437.c + harbour/src/codepage/cpsl646.c * renamed CL437 CP and LANG modules to CL646 (SLOSCII / ISO-646-YU) * harbour/src/lang/msghriso.c ! fixed language ID + harbour/src/codepage/cphr646.c * harbour/src/codepage/cphr852.c * harbour/src/codepage/cphrwin.c + harbour/src/codepage/cpsl646.c * harbour/src/codepage/cpsliso.c * harbour/src/codepage/cpslwin.c * harbour/src/codepage/cpsl852.c ! changed the collation order so X and Y characters are sorted before Z It's CL5.2 ntxcro.obj compatible behavior. Now HR646 and SL646 Harbour CPs can be used to share data with Clipper application linked with ntxcro.obj. * harbour/include/hbextcdp.ch * harbour/src/codepage/Makefile + harbour/src/codepage/cphriso.c + added HRISO (ISO-8859-2) Harbour CP module Please test all these modifications. [TOMERGE 2.0] 2009-12-30 11:44 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/hbqt.h * contrib/hbqt/hbqt_hbqsyntaxhighlighter.cpp * contrib/hbqt/hbqt_hbqsyntaxhighlighter.h * contrib/hbqt/qtgui/QSyntaxHighlighter.cpp * contrib/hbqt/qtgui/TQSyntaxHighlighter.prg * contrib/hbqt/qth/QSyntaxHighlighter.qth + Implemented syntax highlighting mechanism at PRG level. * contrib/hbide/hbide.hbp * contrib/hbide/ideeditor.prg * contrib/hbide/idemisc.prg + contrib/hbide/iderequests.prg * contrib/hbide/idestylesheets.prg + Showcased syntax highlighting in action under prg control. This implementation offer colored tokens, bold, italic, underlined fonts. Please test. TODO: User interface to build new themes besides HBIDE defined ones. If you have, furinish the themes to be included as HBIDE's default themes, under follwoing heads: * Compiler Directives - #include... * Harbour Keywords - FUNCTION, DOCASE, ... * Operators - :=, .or., ... * Parenthesis and braces - (), {}, ... * Functions in general - DBCreate(), ... * Strings - "This is text", 'and this also' * Comments - // Comment, /* Useful Routine */, .. * Numeric constants - 123, 212.33,... * Background color The attributes will be ( in the order shown below ) aRGB = { 127,213,123 } lItalic = .T. | .F. lBold = .T. | .F. lUnderline = = .T. | .F. There are few more exotic attributes but for later... 2009-12-31 03:17 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapicdp.h * harbour/src/codepage/Makefile - harbour/src/codepage/ucyuscii.c + harbour/src/codepage/uc646_yu.c * harbour/src/codepage/cphr437.c * harbour/src/codepage/cpsl437.c * renamed internal unicode table name YUSCII->ISO-646-YU 2009-12-30 21:22 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/nortl/nortl.c ! added hb_xtraced() * harbour/src/common/hbstr.c * do not fill unused part of buffer with '\0' bytes in hb_strncpy(), hb_strncpyLower(), hb_strncpyUpper(), hb_strncpyUpperTrim(), hb_strncpyTrim() * harbour/src/common/hbtrace.c % small optimization in building Unicode OutputDebugString() message * harbour/src/codepage/Makefile * harbour/include/hbapicdp.h + harbour/src/codepage/ucyuscii.c + added YUSCII unicode table * harbour/src/codepage/cphr437.c * harbour/src/codepage/cpsl437.c ! fixed unicode table used in HR437 and SL437 Harbour CPs. It's not CP-437 but YUSCII - removed my old note "FIXME: is it really CP-437?" FIXME: change Harbour names of above CPs, i.e. to HRYU and SLYU * harbour/src/codepage/uckam.c * removed FIXME note I forgot to remove when committed correct Kamenicky Unicode table. * harbour/src/codepage/uckoi8.c * harbour/src/codepage/uc857.c * harbour/src/codepage/uc1250.c * harbour/src/codepage/uc1254.c * harbour/src/codepage/uc866.c * harbour/src/codepage/uc850.c * harbour/src/codepage/uc1251.c * harbour/src/codepage/ucmaz.c * harbour/src/codepage/uc1252.c * harbour/src/codepage/uc8859_1.c * harbour/src/codepage/uc88591b.c * harbour/src/codepage/uc852.c * harbour/src/codepage/uc737.c * harbour/src/codepage/uc1253.c * harbour/src/codepage/uc1257.c * harbour/src/codepage/uc8859_2.c * updated some of my old copyright messages 2009-12-30 12:07 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/ideactions.prg * contrib/hbide/ideeditor.prg * contrib/hbide/idestylesheets.prg + Some visual enhancements. 2009-12-30 10:40 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/hbide.prg * contrib/hbide/ideactions.prg * contrib/hbide/idedocks.prg * contrib/hbide/idemisc.prg * contrib/hbide/idestylesheets.prg + Applied the patch submitted by Vailton Renato with some omissions, thanks. 1. I do like xMate's build* icons and "gotoline" icon which depics the meaning of action properly, just update them to have more colors. 2. Toolbar must not be clutted with so many options. For this purpose we have menus. * contrib/hbide/resources/*.png ! Some new and some refined imaged from Vailton. 2009-12-30 10:35 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbxbp/xbpmenubar.prg ! Removed default style-sheet application which has to be done at .prg level with oXbp:setStyleSheet(). * contrib/hbxbp/xbptoolbar.prg ! Fix to adjust toolbar button size with :imageHeight and :imageWidth. 2009-12-29 14:34 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapi.h * harbour/src/common/hbprintf.c + added new function 'int hb_printf_params( const char * format )' which returns number of parameters necessary for format string * harbour/src/common/hbtrace.c * added protection against recursive calls when number of parameters used by HB_TRACE message us bigger then 16 and fm.c module was compiled with HB_TR_DEBUG macro % use the same number of characters for unicode and byte string buffers % use common memory area (union) for unicode and byte messages to reduce C stack usage Please test these modifications in real MS-Windows systems. 2009-12-29 00:41 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/qtgui/QTextCursor.cpp * contrib/hbqt/qtgui/TQTextCursor.prg * contrib/hbqt/qth/QTextCursor.qth ! Enabled :block() commented out method. * contrib/hbide/hbide.prg * contrib/hbide/idedocks.prg * contrib/hbide/idemisc.prg + Implemented double-click on any error/warning compiler output. This opens or brings forward source file and cursor stays at the offending source line. 2009-12-28 18:54 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/idedocks.prg + Added skeleton to process double-click on compile output. A work-in-progress. 2009-12-28 17:29 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/hbide.prg * contrib/hbide/ideactions.prg * contrib/hbide/idedocks.prg * contrib/hbide/idemisc.prg + Applied Vailton's patch. It sets the menu's in right perspective. Actions will follow shortly. 2009-12-28 15:32 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/hbide.hbp * contrib/hbide/hbide.prg + contrib/hbide/idesaveload.prg + Added new file separating the code for loading configuration. Another round of reforms, more follows. 2009-12-28 14:56 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/hbide.hbp * contrib/hbide/hbide.prg + contrib/hbide/idedocks.prg + Added new file separating the code building docking widgets. Another round of reforms, more follows. * contrib/hbide/idefindreplace.prg ! Minor. 2009-12-28 13:43 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/hbqt_misc.prg % Fixed small omission, thanks Vailton. * contrib/hbxbp/xbprtf.prg % Fixed wrong Qt call, thanks Vailton. * contrib/hbide/hbide.hbp * contrib/hbide/hbide.prg + contrib/hbide/idefindreplace.prg ! Separated Find/Replace class. 2nd round of reforms. More follows. 2009-12-28 20:48 UTC+0100 Viktor Szakats * src/vm/fm.c * include/hbapi.h + Added hb_xtraced(). Please check it might be wrong. * src/common/hbtrace.c - Deleted hack to disable winout to avoid recursive calls. + Added FIXME to avoid recursive calls with some clever detection on error case (hb_xtracd() && no_of_formatt_strings > 16) I didn't implement it, pls do so if interested. ! Fixed MultiByteToWideChar sizeof() to HB_SIZEOFARRAY(). 2009-12-28 10:43 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) + contrib/hbide/ideeditor.prg + Added missing file from previous commit. 2009-12-28 10:37 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/hbqt_slots.cpp * contrib/hbqt/hbqt_slots.h + Added more signal/slots. * contrib/hbide/hbide.ch * contrib/hbide/hbide.hbp * contrib/hbide/hbide.prg ! First step of reforms. You can expect bumps. Please DONOT update atlease HBIDE in any way till I declare I am done with. 2009-12-28 10:11 UTC+0100 Viktor Szakats * src/common/hbtrace.c * Deleted FIXME for va_end(). It's not required (and wasn't ever required there) since there is no va_start() call in hb_tracelog_() function at all. 2009-12-28 10:01 UTC+0100 Viktor Szakats * src/common/hbtrace.c ! Fixed some leftover causing error on non-win. % Replaces \r\n with \n in printf() calls. [TOMERGE 2.0] * config/win/bcc.mk + Added -CP437 bcc option as default, so that it fixes compilation on windows systems are setup to use certain (e.g. far east) multibytes codepages as default non-Unicode CP. 2009-12-28 02:36 UTC+0100 Viktor Szakats * src/common/hbtrace.c ! Readded hack to disable reentrancy for win specific trace logic until we clear up the issue with some Harbour API calls used from win specific trace code are calling back to the trace engine. 2009-12-28 01:56 UTC+0100 Viktor Szakats * src/common/hbtrace.c ! Fixed to not call hb_xgrab() via HB_TRACE_CONVTO() causing infinite recursion into trace engine. This replaces previously committed trick to avoid the same thing in a generic manner. It was a bug in previous Windows-support addition, which is now fixed. * Adding \r\n for OutputDebugString() text to make WinDbg display look readable, this time by simply extending printf() mask. - Deleted space trimming from OutputDebugString() passed text. Such issues should be fixed in high-level code, it's not trace engine's job to make cosmetic corrections on trace text content. ; Tested with both WinDbg and DbgView. [TOMERGE 2.0] ; FIXME: va_end() has been commented for all platforms, although it's required by all documentation I could verify. If this causes problems for specific platforms/compilers, we should only add this hack for those targets, and only when HB_TR_WINOUT is enabled. Now every non-Windows and Windows non-HB_TR_WINOUT setups are not complying with CRTL documentation. Could someone help here? [CLEARED] 2009-12-27 22:44 UTC+0100 Viktor Szakats * src/common/hbtrace.c ! Formatting. ! Fixed to use HB_ISSPACE(). ; NOTE/FIXME: Anyhow I think last patch should be reverted to not manipulate passed by user string before passing it to Windows. Plus current anti-reentrancy logic should be changed to something robust, as current solution drops trace messages which is a very dangerous thing to do if we want to rely on trace output for debugging. It's not clear what "stack overflow events" are. [DONE] * doc/codestyl.txt ! Fixed link. Thanks Vailton. [TOMERGE 2.0] 2009-12-27 16:30 UTC+0100 Istvan Bisz (istvan.bisz/at/t-online.hu) * harbour/src/common/hbtrace.c * early va_end( ap ) elimination, to avoid access violation generation in a subsequent hb_vsnprintf * fix nested HB_TRACE calls handlig to avoid stack overflow events * normalized debug info sending to OutputDebugString with ending CR/LF/NULto ensure a correct view in windbg. 009-12-26 14:56 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/hbide.ch * contrib/hbide/hbide.prg * contrib/hbide/ideactions.prg * contrib/hbide/idemisc.prg * contrib/hbide/resources/projectproperties.ui + contrib/hbide/resources/selectproject.ui + Applied Vailton Renato's submitted patch with one or two fixes and little formatting. This patch provides the missing functionalities which I did not concentrated on yet. Many thanks. This patch also implies that now HBIDE will reach to its final goal earlier than expected. Thanks Vailton, for your jumping in the project. To Vailton: I was having a different concept for .ppo display in non-modal independant widget having only one edit object. Can you change the current way of doing so. 2009-12-26 14:12 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/Makefile * harbour/include/hbmath.h + harbour/include/hbmather.h * harbour/include/hbsetup.h * harbour/include/hbapi.h * moved math error handler definitions and settings separate header file * moved hb_random_num() declaration from hbmath.h to hbapi.h After above modification hbmath file should be use only by code which wants to use math functions declared usually in math.h + harbour/include/hbfloat.h + added header file with test macros for floating point numbers this file should be included before any other files * harbour/src/vm/hvmall.c * harbour/src/vm/itemapi.c * harbour/src/common/hbprintf.c * harbour/src/rtl/math.c * use new macros from hbfloat.h * harbour/src/rtl/math.c + include "hbmather.h" * harbour/src/rtl/hbrandom.c * harbour/src/rdd/dbf1.c * harbour/contrib/xhb/hboutdbg.c - removed not longer necessary include "hbmath.h" * harbour/contrib/hbct/ctmath.h - do not include <float.h> and <limits.h> * harbour/contrib/hbct/ct.h - do not include "hbmath.h" and "ctmath.h" * harbour/contrib/hbct/ctmath.c * harbour/contrib/hbct/exponent.c * harbour/contrib/hbct/ctc.c + include "ctmath.h" * harbour/contrib/hbct/trig.c * harbour/contrib/hbct/finan.c * harbour/contrib/hbct/ctmath2.c + include "ctmath.h" + include "hbmather.h" * harbour/contrib/hbct/num1.c + include "ctmath.h" + include <float.h> * harbour/include/hbinit.h * harbour/src/rtl/hbsocket.c * added patches from Tamas - thanks * harbour/bin/hb-func.sh * harbour/harbour.spec + create /etc/ld.so.conf.d/harbour.conf with Harbour shared lib directory if /etc/ld.so.conf.d directory exists and user has sufficient write permission or install package is created. This modification allows to install Harbour anywhere and in modern distros using /etc/ld.so.conf.d/ harbour shared libraries will be always available for all programs [TOMERGE 2.0] 2009-12-26 12:17 UTC+0100 Viktor Szakats * INSTALL + Added note that at least QT 4.5.0 is required for Harbour. [TOMERGE 2.0] * package/winuni/mpkg_win_uni_extra_copy.bat + Copying full source of hbide to Windows binary release. ; TODO: Probably it'd be better to move this tool to examples to avoid such exceptions. [TOMERGE 2.0] * package/winuni/RELNOTES + Added link to sf.net files. * Next Windows binary release to not include HBQT libs built against static QT libs. [TOMERGE 2.0] * contrib/hbwin/mapi.c ! Minor correction / optimization. [TOMERGE 2.0] 2009-12-24 18:46 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/hbide.prg * contrib/hbide/ideactions.prg + Provided <CodePage> menu option which sets the codec for current session. It is also provided a slot in the statusbar. * contrib/hbqt/generator/qt45.qtp * contrib/hbqt/hbqt.h * contrib/hbqt/hbqt_garbage.h * contrib/hbqt/qtcore/filelist.mk + contrib/hbqt/qtcore/QSettings.cpp + contrib/hbqt/qtcore/TQSettings.prg + contrib/hbqt/qth/QSettings.qth + Added QSettings() class. * contrib/hbxbp/xbpmenubar.prg ! Fixed an awkward bug. 2009-12-24 15:56 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/hbqt_destruct.cpp + Added prg callable function hbqt_setCodecForCStrings( cCodec ). This is base function to exploit codepages. * contrib/hbxbp/xbpdialog.prg * contrib/hbxbp/xbpwindow.prg ! Fixed a long standing bug which was preventing the mouse events to be submitted to parent widget. * contrib/hbxbp/xbpgeneric.prg + Added HbXbp_SetCodec( cCodec ) This function takes as parameter the Qt's codec (codepage) name and set it for conversion of CStrings automatically. NOTE: This is an attempt to introduce CodePage concept in HBQT but, because I am not conversant with codepage terminology and usage, it is a shot in the dark. Please test. I will try to hook a menu option to select a codec to hook into HBIDE. * contrib/hbide/resources/mainwindow.ui * contrib/hbide/idestylesheets.prg * contrib/hbide/hbide.prg + Implemented resizable docking widgets to hold <Projecs>, <Editor Tabs>, <Functions List>, <Output Console>. This has rendered HBIDE very flexible and expandable with futuristic elements. 2009-12-23 22:26 UTC+0500 April White (bright.tigra gmail.com) * contrib/hbbtree/hb_btree.c * bug fix: array access was in bounds but to wrong value [TOMERGE 2.0] 2009-12-23 18:40 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/filelist.mk + contrib/hbqt/hbqt_errorsys.prg * contrib/hbqt/hbqt_misc.prg * contrib/hbxbp/xbpdialog.prg * contrib/hbxbp/xbpgeneric.prg * contrib/hbxbp/xbpqtuiloader.prg * contrib/hbxbp/xbpwindow.prg * contrib/hbide/hbide.prg * contrib/hbide/resources/mainwindow.ui + Implemented hbqt_errorSys(). It is actually original rtl/errorsys.prg tuned to display error in a message-box. ! An experimental stage passed, leaning towards next. Please bear with me if you see a little clumsy hbide. 2009-12-23 09:07 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/hbide.prg * contrib/hbide/resources/mainwindow.ui * contrib/hbxbp/xbpbrowse.prg * contrib/hbxbp/xbpdialog.prg + Added an experimental protocol scheduled to be polished in next few days. 2009-12-23 13:31 UTC+0100 Viktor Szakats * package/winuni/mpkg_win_uni_extra_copy.bat + Added automatized (but not generic) logic to assemble 'unified' package. [TOMERGE 2.0] 2009-12-23 12:59 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/harbour-win-spec * harbour/harbour-wce-spec ! removed unused hbmk.cfg files which break RPM build process [TOMERGE 2.0] TODO: add support for hbmk2 configuration which cab be used with above Win32/64 and WinCE binaries 2009-12-23 12:31 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbmath.h ! enable HB_MATH_ERRNO in all *unix builds not only in GCC ones * harbour/src/vm/itemapi.c ! use finite() to check for valid double values - looks that SunCC does not report iDODO warnings so we were not informed about the problem * harbour/include/hbdefs.h * harbour/src/common/hbprintf.c % use also _STDC_C99 macro not only _ISOC99_SOURCE to detect C99 mode and do not reduce such detection to GCC [TOMERGE 2.0] 2009-12-23 05:39 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/ChangeLog * updated last entry 2009-12-23 05:36 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/gtwin/gtwin.c ! applied a little bit modified the patch from Jacek Potempa for setmode() in GTWIN - many thanks. Please test. [TOMERGE 2.0] 2009-12-23 02:59 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.pt_BR.po ! Restored stripped accents while saving the file with Windows-1250 CP (instead of Windows-1252). Please retest again. [TOMERGE 2.0] 2009-12-23 02:33 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.pt_BR.po + Converted to PTISO CP (which is for our purpose equivalent to Windows-1252). Thanks Vailton for the conversion. Please retest this version to be sure. 2009-12-23 01:55 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.pt_BR.po ! Possible fix (still guessing) to change source codepage of this file to PT850 (from PTISO). I'd like to ask native speakers to give feedback ASAP. I'm preparing 2.0.0 binary build and I'll have to include what I have. 2009-12-22 23:47 UTC+0100 Viktor Szakats * src/vm/thread.c * src/vm/dynlibhb.c * src/common/hbgete.c * src/common/hbffind.c * src/common/hbfsapi.c * src/rtl/gtstd/gtstd.c * src/rtl/hbsocket.c * src/rtl/filesys.c * src/rtl/gtpca/gtpca.c * src/rtl/hbproces.c * 'int TODO' -> 'int iTODO' patch from Tamas Tevesz. Thank you. 2009-12-22 23:39 UTC+0100 Viktor Szakats * package/mpkg_win.nsi ! Fixed uninstallation of Start Menu on Vista/Win7, at the same time it won't ask for admin credentials anymore on these OS versions. [TOMERGE 2.0] 2009-12-22 23:16 UTC+0100 Viktor Szakats * harbour-win-spec * harbour-wce-spec * harbour.spec * include/hbver.h * config/global.mk * Changed version to interim version number 2.0.1dev (from 2.0.0) 2009-12-22 23:10 UTC+0100 Viktor Szakats * doc/whatsnew.txt ! Fixed date of 2.0.0 release. [TOMERGE 2.0] * external/sqlite3/sqlite3.c * external/sqlite3/sqlite3.h + sqlite upgraded to 3.6.21 (from 3.6.20) ---------- 2.0.0 ---------- 2009-12-22 22:00 UTC+0100 Viktor Szakats * harbour-win-spec * harbour-wce-spec * harbour.spec * include/hbver.h * package/winuni/RELNOTES * config/global.mk * Changed version to 2.0.0 (from 2.0.0rc1) * package/winuni/RELNOTES * Finalization (djgpp -> watcom) * package/winuni/mpkg_win_uni.nsi ! Fixed uninstallation of Start Menu on Vista/Win7, at the same time it won't ask for admin credentials anymore on these OS versions. * MS-DOS/OS2/Linux libs are now not selected by default. * config/dos/watcom.mk * config/dos/djgpp.mk * Disabled .dll generation for MS-DOS build for now. dos/watcom doesn't work, dos/djgpp needs special fixes in djgpp to work. In the meantime, for testing purposes they can be enabled using: HB_BUILD_DLL=dostest 2009-12-22 19:08 UTC+0100 Viktor Szakats * debian/changelog * Changed version to 2.0.0 (from 2.0.0rc1) * debian/copyright * Synced content with /COPYING. * debian/control * 'MS-Windows' -> 'MS Windows' ! 'MAC-OSX' -> 'Mac OS X' - debian/harbour.cfg - Deleted, no longer used. 2009-12-22 18:15 UTC+0100 Viktor Szakats * package/winuni/RELNOTES ! Typo. + Documented one more change. * utils/hbmk2/hbmk2.pt_BR.po ! Fix to prev. (codepage setup related) 2009-12-22 07:36 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/hbide.prg ! More refinements in Find/Replace. 2009-12-22 16:19 UTC+0100 Viktor Szakats * contrib/rddsql/sddfb/fbirddd.c ! Fixed warning reported by linux/watcom. 2009-12-22 16:14 UTC+0100 Viktor Szakats * package/winuni/RELNOTES * Adjusted sizes. * package/winuni/mpkg_win_uni.bat ! Fixed to create .7z and log in-place. 2009-12-22 16:05 UTC+0100 Viktor Szakats * package/winuni/mpkg_win_uni_extra_copy.bat ! Minor fix to prev. * package/winuni/mpkg_win_uni.bat * package/winuni/mpkg_win_uni.nsi + Enhanced to make it run in-place. 2009-12-22 15:17 UTC+0100 Viktor Szakats * package/winuni/mpkg_win_uni_extra_copy.bat + Added some more automatism. 2009-12-22 15:00 UTC+0100 Viktor Szakats - package/winuni/HARBOUR_README_ADDINS + package/winuni/HARBOUR_README_ADDONS * Renamed. * package/winuni/mpkg_win_uni_extra_copy.bat * Changed to work from its original location. * package/winuni/mpkg_win_uni.bat * package/winuni/mpkg_win_uni.nsi * Added dos/watcom. - Commented dos/djgpp 2009-12-22 13:52 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.pt_BR.po ! Applied fix received from Vailton Renato to prev version. ! Fixed win/dos/os2 and *nix codepage to be PT850 and PTISO. I hope I didn't break it, please test it. * contrib/hbsqlit3/hbsqlit3.c ! Fixed to use HB_FHANDLE instead of int. It was reported by msvc64 compiler. 2009-12-22 13:09 UTC+0100 Viktor Szakats * package/winuni/RELNOTES + Added brief list of changes since beta3. (pls review / add any missing items) * utils/hbmk2/hbmk2.prg ! Use 'rc' as ar command for hpux. To be in sync with build system. 2009-12-22 11:05 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/config/bsd/gcc.mk + added c i s to ar parameters * harbour/src/vm/estack.c * formatting * harbour/include/hbtypes.h % replaced #ifdef ... / #undef ... with simple #undef 2009-12-22 10:51 UTC+0100 Viktor Szakats * package/winuni/RELNOTES * Finalizing. * contrib/hbbtree/hb_btree.c ! Fixed typo in prev fix. (BTW only indicated by msvc64) 2009-12-22 10:20 UTC+0100 Viktor Szakats * bin/postinst.prg ! Fixed typo. hbmk.cfg was not created because of this. 2009-12-22 03:47 UTC+0100 Viktor Szakats * src/rtl/gtwvt/gtwvt.c % Deleted unnecessary cast. * utils/hbmk2/hbmk2.pt_BR.po + Uploaded new version received from Vailton Renato. Thanks! * utils/hbmk2/hbmk2.hu_HU.po + Updated. + Added some new translations. * utils/hbmk2/hbmk2.prg * Minor formatting. ! Fixed typo in one of the displayed texts. + examples/gtwvw + examples/gtwvw/Makefile + examples/gtwvw/hbgtwvw.h + examples/gtwvw/hbole.h + examples/gtwvw/gtwvw.c + examples/gtwvw/wvwdraw.c + examples/gtwvw/wvwmenu.c + examples/gtwvw/wvwstbar.c + examples/gtwvw/wvwcheck.c + examples/gtwvw/wvwfuncs.c + examples/gtwvw/wvwpush.c + examples/gtwvw/wvwedit.c + examples/gtwvw/wvwtbar.c + examples/gtwvw/gtwvw.hbc + examples/gtwvw/gtwvw.hbp + examples/gtwvw/readme.txt + examples/gtwvw/tests + examples/gtwvw/tests/wvwtest9.rc + examples/gtwvw/tests/prog1.prg + examples/gtwvw/tests/prog2.prg + examples/gtwvw/tests/dia_excl.ico + examples/gtwvw/tests/drawimg.prg + examples/gtwvw/tests/vouch1.bmp + examples/gtwvw/tests/wvwmouse.prg + examples/gtwvw/tests/wvwtest9.hbp + examples/gtwvw/tests/hbmk.hbm + examples/gtwvw/tests/cbtest1.prg + examples/gtwvw/tests/def2.bmp + examples/gtwvw/tests/maincoor.prg + examples/gtwvw/tests/wvt2wvw.ch + examples/gtwvw/tests/cbtest6.prg + examples/gtwvw/tests/wvwtest9.prg + examples/gtwvw/tests/ebtest7.prg + examples/gtwvw/tests/vouch1.gif + examples/gtwvw/tests/maximize.prg + examples/gtwvw/tests/readme.txt + examples/gtwvw/tests/wvwtest9.xml + examples/gtwvw/tests/inpfocus.prg + examples/gtwvw/tests/prog0.prg + examples/gtwvw/docs + examples/gtwvw/docs/funclist.txt + examples/gtwvw/docs/gtwvw.txt + examples/gtwvw/docs/whatsnew.txt + Added rudimentary port of GTWVW to Harbour. (The source was current xhb CVS repository.) The port is very very (very) far from anything else than can be found in Harbour, this port involved making all the minimum required steps to build and link under Harbour, plus some extra cleanups. ! Lots of cleanups and fixes. + Added Harbour make files (both GNU make and hbmk2) + Cleaned tests to avoid multiple symbols and much simpler interdependencies. ! Removed extra test.dbf and what32 dependency. ; FIXME: Due to public symbol collisions, this GTWVW it's probably not possible to use it with gtwin lib. ; NOTE: GTWVW is limited to non-UNICODE, non-C++, 32-bit Windows (no WinCE) builds, and for a clean compiler I had to suppress Harbour standard warning levels. Anyway, not basic tests program seems to work, although I didn't dig into them very deeply. We will see if this contrib turns out to be useful or not, and we can decide to drop it or maybe moving it to contrib once it has been brought up to Harbour standards. Although the code is huge, so don't expect to happen this very soon. 2009-12-21 18:28 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/hbide.prg * contrib/hbide/idemisc.prg ! More refinements in Find/Replace logic. 2009-12-21 17:32 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/generator/hbqtgen.prg * contrib/hbqt/hbqt_misc.prg + Introduced new class HbQtObjectHandler() and made all Qt classes INHERIT from it. This class is responsible for managing common variables and tasks. Shifted VAR pPtr and METHODS configure() and OnError() into this class. * Regenerated .prg sources 2009-12-21 16:51 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/generator/hbqtgen.prg * contrib/hbqt/hbqt_misc.prg + Implemented class level error handelling if wrong message is sent to the object. The message is displayed in Qt's message box and includes ProcName()/ProcLine(). * Regenerated .prg sources 2009-12-22 01:44 UTC+0100 Viktor Szakats * external/pcre/Makefile ! Forcing C mode for this external component, which is mainly tested and developed for C compiler. Currently sunpro has problems in C++ mode due to little bug in current PCRE code. Reported to author here: https://bugs.exim.org/show_bug.cgi?id=939 * utils/hbmk2/hbmk2.prg * Minor formatting. * contrib/hbcairo/core.c * Using HB_TRUE/HB_FALSE instead of 1/0. 2009-12-22 02:22 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/contrib/hbcairo/core.c * used current GC API to store references between GC blocks ! fixed GC block storage * added additional protection against using released path in cairo_path_iterator_*() * harbour/contrib/hbcairo/text.c ! fixed copy-paste typo in cairo_set_font_matrix() 2009-12-22 00:15 UTC+0100 Viktor Szakats * contrib/hbbtree/hb_btree.c ! Cleaned code to compile without warning on BCC. ; FIXME: ? This code looks suspicious, pls check it: --- pHeader += sizeof( HEADER_ID ) - 1; pHeader += sizeof( ( UINT32 ) HB_BTREE_HEADERSIZE ); --- * utils/hbmk2/hbmk2.pt_BR.po * utils/hbmk2/hbmk2.hu_HU.po * utils/hbmk2/hbmk2.prg + Added support for warn= (similar to -warn option) to .hbc files. 2009-12-21 15:04 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/qtgui/QMenuBar.cpp ! Regenerated after rebuilding hbqtgen.prg. 2009-12-21 23:29 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapi.h * harbour/src/vm/garbage.c - removed function hb_gcRefDec() * functions hb_gcRefInc() and hb_gcRefFree() moved to public API After recent modifications in GC which introduced user defined mark functions it's reasonable to make these function public to extend functionality and give GC full interface to user defined blocks. 2009-12-21 23:19 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/rddsql/hbrddsql.h * harbour/contrib/rddsql/sqlbase.c ! reverted recent modification which forces updating also low-level SDD code ! fixed casting in C++ mode with local only modification 2009-12-21 13:07 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/qtgui/QMenuBar.cpp * contrib/hbqt/qth/QMenuBar.qth ! Fixed one remaining warning at auto generation level. 2009-12-21 22:33 UTC+0100 Viktor Szakats * ChangeLog ! Fixed UTF offset for my commits from last week. 2009-12-21 22:18 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rdd/wafunc.c * harbour/contrib/rddsql/hbrddsql.h * harbour/contrib/rddsql/sqlbase.c ! casting fod C++ builds * harbour/contrib/hbcairo/paths.c ! fixed very bad typo which probably cause GPF in function CAIRO_GET_CURRENT_POINT() 2009-12-21 13:07 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/qtgui/QMenu.cpp * contrib/hbqt/qth/QMenu.qth ! Fixed some warning reported at the time of auto generation. 2009-12-21 21:38 UTC+0100 Viktor Szakats * contrib/hbqt/generator/hbqtgen.prg ! Fixed to use 'hbqt_gcRelease_*' instead of 'release_*' names for public release callbacks. * contrib/hbqt/qth/QApplication.qth ! Fixed static vars to be prefixed with s_. * contrib/hbqt/* * Regenerated. 2009-12-21 12:10 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/generator/qt45.qtp * contrib/hbqt/hbqt.h * contrib/hbqt/hbqt_garbage.h + contrib/hbqt/qth/QHttpHeader.qth * contrib/hbqt/qtnetwork/filelist.mk + contrib/hbqt/qtnetwork/QHttpHeader.cpp + contrib/hbqt/qtnetwork/TQHttpHeader.prg + Added QHttpHeader() class. 2009-12-21 20:33 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/sha2.h * use '__int64' instead of 'long long' in MSC builds - older MSC versions do not support 'long long' * harbour/utils/hbmk2/hbmk2.prg * use cleaner method proposed by Viktor for adding 'clib3r' to linked library list in DOS OpenWatcom builds. 2009-12-21 20:11 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/utils/hbmk2/hbmk2.prg * added 'clib3r' to linked library list in DOS OpenWatcom builds. In pure C mode this library is not included automatically. ! do not use version suffix for harbour shared library in DJGPP builds to keep 8.3 plain DOS names (harbour[m].dxe) ! added -U to DXE3GEN parameters 2009-12-21 16:13 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + Enabled -shared support for dos/djgpp. Not tested. + Enabled -hbdyn support for dos/djgpp. Blind coding, not tested. * ChangeLog + TODOs/FIXMEs marked as done. 2009-12-21 15:46 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/vm/Makefile * enable HB_HVM_ALL=yes in OpenWatcom C builds - it does not cause such huge compile time overheads as in C++ mode * harbour/src/vm/dynlibhb.c * generate TODO warning also in DOS builds when HB_LIBLOAD()/HB_LIBFREE() is unsupported * harbour/include/hbwince.h ! fixed recent modification 2009-12-21 14:28 UTC+0500 April White (bright.tigra gmail.com) * contrib/hbbtree/hb_btree.c * store a const to a var to be written to file in place of writing the const to the file via a cast * typo fix: store 16-bit numbers as 32-bit numbers within the file 2009-12-21 14:38 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbwince.h + added hack for missing GetEnvironmentVariable?() declarations in POCC header files for WinCE. * harbour/src/common/hbwince.c * minor simplification * harbour/src/pp/pplib.c * workaround for MSVC6 errors 2009-12-21 13:33 UTC+0500 April White (bright.tigra gmail.com) * contrib/hbbtree/hb_btree.c * formatting - removed internal history (changelog) text - fixed FIXME: casting pointer to ULONG! * this was corrected in Changelog 13312 2009-12-19 15:32:24Z april * opening a file with read-only attribute now succeeds when the read-only flag is given * reading and writing of the file header uses internal buffer built or read by little endian macros * opening & reading file header was incorrect * header is not written at close if it was opened read-only * file header size is now fixed * creating a file with read-only flag affects only the OS-level attribute; the flag itself is not saved to the file * creating with read-only and shared flags will have the shared flag discarded * altered organization of file header; this will invalidate any existing hb_btree file 2009-12-21 00:38 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/resources/finddialog.ui ! Some aesthetic artifacts set corrected. 2009-12-21 08:21 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbgtcore.h * harbour/include/hbapigt.h * moved declaration of hb_gtSetDefault() from hbgtcore.h to hbapigt.h * harbour/include/hbapi.h * harbour/src/vm/hvm.c + added new function hb_vmSetDefaultGT() * harbour/bin/hb-func.sh * harbour/utils/hbmk2/hbmk2.prg * use hb_vmSetDefaultGT() to set default GT * removed extern declarations for functions defined in hbapi.h * harbour/src/vm/dynlibhb.c + added support for HB_LIBLOAD()/HB_LIBFREE() in DJGPP 2.04 builds * harbour/config/global.mk * use 8.3 names for harbour dynamic libraries in all DOS builds * harbour/config/dos/djgpp.mk + added support for dynamic libraries (DXE) in DJGPP builds. DXE is something similar to DLL in Windows and can be used with DJGPP 2.04. I had to make some modifications in DXE header files to make it working so it will not work in default DJGPP installation. I'll document these modifications in the future. * harbour/config/dos/watcom.mk * enable creating of harbour dynamic libraries only when HB_BUILD_DLL is explictly set by user to 'yes'. In DOS DJGPP and OpenWatcom builds DLLs support is not functional yet. * harbour/config/dyn.mk * added an option to create harbour dynamic libraries from static ones instead of .o|.obj files. It's necessary for DXE3GEN which internally calls LD which has some limited on maximum size of passed parameters. TODO: make HB_DYN_LIBS definition common for dyn.mk and lib.mk 2009-12-21 02:49 UTC+0100 Viktor Szakats * contrib/hbqt/hbqt.ch * contrib/hbxbp/xbp.ch + Using HB_TRACE() macro. This means that now .prg level trace messages have to be enabled the standard way, __HB_DEBUG__ has no meaning anymore. * contrib/hbwin/tests/testwmtx.prg - Deleted some bits added by me as per Xavi's suggestions. 2009-12-21 00:59 UTC+0100 Viktor Szakats * include/hbextern.ch + Added new trace functions. ; TODO: Use these new functions in HBQT, HBXBP. [DONE] * contrib/hbwin/win_dll.c ! Fix for OpenWatcom. Seems to require LPVOID in asm code. * contrib/hbqt/hbqt_destruct.cpp * Minor formatting. ('return( x )' -> 'return x', return is not a function) + Added 'TODO:' to todo text. + Added FIXME to hb_parptr() usage. Without reference counting this is still dangerous. Probably some mechanisms would be needed to count references when attaching one GC collected pointer to another object, and decrement references when disconnecting or deleting holder object. Without this, there will always be a possibility that some objects refer to deleted objects. Unless I'm missing some logic which already that. Probably "delayed release" is the mechanism which is trying to solve that problem at the moment. * contrib/hbwin/wapi_winbase_mutex.c * Minor formatting (superfluous brackets) 2009-12-20 22:12 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/Makefile + harbour/include/hbtrace.ch * harbour/include/hbtrace.h * harbour/src/rtl/trace.c * harbour/src/common/hbtrace.c ! fixed hb_tracelevel() C function to change trace filter instead of last message level. It also fixed .prg function HB_TRACELEVEL(). + added new C function: void hb_tracelog( int level, const char * file, int line, const char * proc, const char * fmt, ... ) + added new .prg functions: hb_traceLogLevel( <nNewLevel> ) -> <nPrevLevel> hb_traceLog( <xMsgItems,...> ) // generate message at // hb_traceLogLevel() hb_traceLogAt( <nLevel>, <msg,...> ) + added support for HB_TRACE() messages in .prg code with the same functionality as in C code: HB_TRACE( <level>, <msg,...> ) HB_TRACE() code if filtered at compile time by HB_TR_LEVEL_* macros i.e. -DHB_TR_LEVEL_INFO used as harbour compiler parameter and at runtime by HB_TR_LEVEL=<level> envvar (set HB_TR_LEVEL=DEBUG) or by hb_traceLevel( <nLevel> ) function (hb_traceLevel( HB_TR_DEBUG )) Default compile time and runtime trace level for C and .prg code is HB_TR_WARNING. 2009-12-20 11:53 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/hbqt_hbqtableview.cpp % Fixed one FIXME. * contrib/hbqt/hbqt_destruct.cpp % Fixed one FIXME. * contrib/hbqt/hbqt_events.cpp % Fixed one FIXME. * contrib/hbqt/hbqt_slots.cpp % Fixed one FIXME. Please review me, though everything is working fine. 2009-12-20 09:11 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/hbqt_slots.cpp * contrib/hbqt/hbqt_slots.h + Added more signal/slots. * contrib/hbide/hbide.ch * contrib/hbide/hbide.prg ! Improved Find/Replace functionality. Now it is usable feature though I have to tweak it a little more. The current functionality is as: CTRL+F or "Find" icon => Opens <Find-Replace> dialog. CTRL+N finds next occurance of current "Find" string - always shown in one of the panels of status-bar. This invocation is equivalent to if you click <Find> pushbutton of the <Find-Replace> dialog. CTRL+R Replaces the current selection with current "Replace" string previously entered or selected with <Replace> push button. This invocation is equivalent to if you click <Replace> pushbutton of the <Find-Replace> dialog. History of <Find>/<Replace> strings is maintained and is populated in drop-down list of respective combo-boxes. TODO: <Global> and <Replace without prompting> features. 2009-12-20 16:15 UTC+0100 Viktor Szakats * contrib/hbwin/tests/testdll.prg * contrib/hbwin/win_dll.c + Added support for passing parameters by reference in win64 mode. + Added logic to detect UNICODE mode. Enabled only in win64. ! One regression fixed in previous version (in non-win64 mode). ! Fixed default return to be the same in win64 as in non-win64 mode. ; FIXME: Strings passed by reference seems to be wrong. [DONE] ; FIXME: UNICODE support for string passed by reference doesn't work. [DONE] ; Please test/review and contribute to this, current state is pretty much the extent I'm willing and capable of implementing this. 2009-12-20 12:29 UTC+0100 Viktor Szakats * contrib/hbwin/win_dll.c + Added support for Win64 dll calls to functions with no parameter. + Added internal support to call UNICODE functions in Win64 mode. + Added support for CP conversion for non-UNICODE functions in Win64 mode. (for now this is the only active mode). ! DllCall() made static function. * Renamed some constants, functions and variables. ; TODO: Add logic to enable UNICODE mode when needed. [DONE] 2009-12-20 05:01 UTC+0100 Viktor Szakats * src/vm/dynlibhb.c * src/rtl/hbinet.c * src/compiler/hbcmplib.c * contrib/hbpgsql/postgres.c ! Suppressing MSVC C mode warnings by ( void * ) casting in hb_xfree() calls. 2009-12-20 04:55 UTC+0100 Viktor Szakats + contrib/hbwin/tests/testwmtx.prg + Added Windows mutex example. 2009-12-20 04:39 UTC+0100 Viktor Szakats * contrib/hbwin/Makefile + contrib/hbwin/wapi_winbase_mutex.c + Added Windows mutex wrappers. Contributed by Xavi <jarabal/at/gmail.com>. ! Added SVN header, some minor formatting. 2009-12-20 04:35 UTC+0100 Viktor Szakats * contrib/hbwin/win_dll.c + Added portable Win64 support (both x86_64 and IA64 and anything else). ; TODO: double parameters and return value. ; TODO: parameters passed by reference. [DONE] * Renamed some structure to not look like Windows ones. * Using HB_BOOL. ! Fixed to return NIL when CTYPE_VOID is requested. (was 0 before) 2009-12-20 02:42 UTC+0100 Viktor Szakats * contrib/hbwin/win_dll.c * Little cleanup to FARPROC casting. Now cast is done at Harbour interface points, not internally. It now generates more warnings. If someone has a fix how to suppress FAPROC to void * cast warnings, pls tell. 2009-12-19 17:17 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/hbide.ch * contrib/hbide/ideactions.prg * contrib/hbide/hbide.prg + Implemented ::goto() method. Invoke it by "Goto Line" icon. + Implemented save/restore position of various dialogs. 2009-12-20 01:53 UTC+0100 Viktor Szakats * contrib/hbbtree/hb_btree.c * Fixed 'const' usage in some cast. (some cast were not required anymore, two has been changed to not strip const) 2009-12-19 23:39 UTC+0100 Viktor Szakats * contrib/hbqt/tests/demoqt.prg ! Fixed to use :pPtr instead of now dummy QT_PTROF() macro. 2009-12-19 13:54 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/hbide.prg ! Made functional <Properties Dialog> based on XbpQtUiLoader() class. * contrib/hbqt/hbqt.ch % QT_PTROF( obj ) ( obj:pPtr ) => ( obj ). Converted to dummy for backward compatibility. * contrib/hbxbp/xbpqtuiloader.prg ! Minor. 2009-12-19 22:48 UTC+0100 Viktor Szakats * contrib/hbwin/hbwapi.h ! Fixed some wapi_ret_*() macros. This caused that several WAPI_TREEVIEW*() functions were not returning a value. Thanks to Petr Chornyj for reporting it. 2009-12-19 09:23 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbxbp/xbp.ch ! Removed QT_PTROFXBP() macro. I have retained QT_PTROF() macro because a lot of you must still be using it in your code. It is sceduled to be removed after this release. 2009-12-19 09:14 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/hbide.prg * contrib/hbxbp/xbpqtuiloader.prg * contrib/hbxbp/xbpstatusbar.prg ! Removed QT_PTROF() and QT_PTROFXBP() macro calls entirely. We can delete these macros alltogether. 2009-12-19 08:15 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbxbp/xbpbrowse.prg * contrib/hbxbp/xbprtf.prg * contrib/hbxbp/xbpwindow.prg ! Removed all QT_PTROF() macro calls. 2009-12-19 16:52 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/vm/thread.c * added hb_threadOnceInit() to .prg function list * harbour/include/hbinit.h * use HB_STATIC_STARTUP as default initialization method of all C++ compilers 2009-12-19 15:18 UTC+0500 April White (bright.tigra gmail.com) * contrib/hbbtree/hb_btree.c * add a union field to encapsulate a var and a pointer, to pacify 64-compiler warning * removed unnecessary casts (I hope) 2009-12-19 13:45 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg * config/global.mk ! Not considering /opt and /opt/harbour as "system location" for Harbour, following Lorenzo's advice. 2009-12-19 13:34 UTC+0100 Viktor Szakats * src/rtl/sha2.c ! Added trick to make it compile with Pelles C 6.00.6. Without this trick Pelles C compiler exits with internal error. * doc/whatsnew.txt + Added NOTE about Pelles C 6. 2009-12-19 12:46 UTC+0100 Viktor Szakats * src/codepage/Makefile + src/codepage/cpel437.c - src/codepage/cpgr437.c * include/hbextcdp.ch * Renamed GR437 codepage to EL437. EL is the ISO language code for Greek. 2009-12-19 02:30 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/hbide.prg * contrib/hbxbp/xbpqtuiloader.prg ! Implemented signal/slot mechanism. A working usage is the "Find/Replace" dialog is now entirely based on XbpQtUiLoader() class. "Project Properties" dialogs skeleton is also in place and is working, just a little more required to make it completely functional. XbpQtUiLoader() class appears to be heading towards an excellent tool and will eliminate to have a native Form Designer. Simply design a complex widget in Qt's powerful Qt Creater and exploit is with this class in the application. I have a lot many ideas to cook, your suggestions are welcome. 2009-12-19 11:22 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/gtwin/gtwin.c ! applied Xavi's patch fixing CTRL+C error handler setting in newly allocated consoles 2009-12-18 22:13 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/qth/QCoreApplication.qth * contrib/hbqt/qth/QErrorMessage.qth * contrib/hbqt/qth/QList.qth * contrib/hbqt/qth/QTextEdit.qth ! Suppressed some error reported generation process messages. * contrib/hbqt/generator/hbqtgen.prg ! Implemented highly flexible and optimized code for METHOD QSomeObj:new(...), thanks to Przemek for tips. Now all classes have the same way the constructor is called. [ Regenerated Sources Follows ] 2009-12-18 19:15 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/hbide.prg * contrib/hbide/idemisc.prg * contrib/hbxbp/Makefile * contrib/hbxbp/xbpgeneric.prg + contrib/hbxbp/xbpqtuiloader.prg + Started XbpQtUiLoader() CLASS TO manage .ui components. A work-in-progress. 2009-12-18 16:01 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/generator/hbqtgen.prg * contrib/hbide/hbide.prg * contrib/hbqt/tests/demoqt.prg * contrib/hbxbp/xbpstatic.prg * contrib/hbxbp/xbpwindow.prg + Implemented passing HBQT objects to METHOD QSomeObj:new(...). Now there is seldome a need to use QT_PTROF() macro. demoxbp/demoqt/hbide are working perfectly. [ Regenerated sources follow ] 2009-12-18 13:04 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbxbp/xbpwindow.prg ! Fixed "lSuccess" issue. 2009-12-18 18:53 UTC+0100 Viktor Szakats * doc/whatsnew.txt + Added text documenting whatsnew missing parts. * utils/hbmk2/hbmk2.prg ! Potential fix to external commands when using script and called in a loop. 2009-12-18 14:52 UTC+0100 Viktor Szakats * package/winuni/RELNOTES + Added Cairo version. 2009-12-18 14:34 UTC+0100 Viktor Szakats * package/winuni/RELNOTES * Updated FreeImage component version missed form prev commit. 2009-12-18 13:17 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/hb-func.sh ! use CC_HB_USER_LIBS instead of HB_USER_LIBS in linked library list current HB_USER_LIBS has different meaning in build process then in the past 2009-12-18 12:54 UTC+0100 Viktor Szakats * src/rtl/gtxwc/gtxwc.c * Prefixed static vars with s_. 2009-12-18 12:43 UTC+0100 Viktor Szakats * contrib/hbwin/mapi.c ! Fixed typo in r13235 patch. This could have caused memory corruption and MAPI errors. ; Please retest. 2009-12-18 12:31 UTC+0100 Viktor Szakats * package/winuni/RELNOTES + Updated packages used by upcoming release. 2009-12-18 11:20 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/gtxwc/gtxwc.c + accept "TEXT" selections is better forms cannot be found * removed hack not necessary after recent code cleanup 2009-12-18 10:55 UTC+0100 Viktor Szakats * contrib/hbqt/hbqt.h * contrib/hbqt/hbqt_destruct.cpp ! Added missing 'extern'. % Deleted '#include hbstack.h' * Formatting. 2009-12-18 01:37 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/hbqt.h * contrib/hbqt/hbqt_base.cpp * contrib/hbqt/hbqt_destruct.cpp * contrib/hbqt/hbqt_events.cpp * contrib/hbqt/hbqt_slots.cpp * contrib/hbxbp/xbpbrowse.prg * contrib/hbxbp/xbphtmlviewer.prg * contrib/hbxbp/xbpmenubar.prg * contrib/hbxbp/xbpprinter.prg * contrib/hbxbp/xbppushbutton.prg * contrib/hbxbp/xbptoolbar.prg * contrib/hbxbp/xbpwindow.prg * contrib/hbqt/tests/demoqt.prg * contrib/hbide/hbide.prg ! Cleaned up QT_PTROF() macro altogether. A few instances are left in the HBXBP scheduled to be reviewed later. 2009-12-18 10:19 UTC+0100 Viktor Szakats * INSTALL + Added more generic link for QT OSS downloads. * contrib/hbqt/* * Regenerated. (Please list only '* contrib/hbqt/*' to avoid growing ChangeLog with several hundred entries each time the generator changes) 2009-12-18 09:58 UTC+0100 Viktor Szakats * contrib/hbqt/hbqt_hbdbfmodel.cpp * contrib/hbqt/generator/hbqtgen.prg * contrib/hbqt/hbqt_hbqtableview.cpp * contrib/hbqt/hbqt.h * contrib/hbqt/hbqt_destruct.cpp * contrib/hbqt/hbqt_hbqmainwindow.cpp * contrib/hbqt/hbqt_base.cpp ! Fixed gcFuncs() to be named hbqt_gcFuncs(). This is a public function, please remember to prefix all public functions to have a lib specific prefix. ; TODO: Regenerate. [DONE] 2009-12-18 09:47 UTC+0100 Viktor Szakats * INSTALL + Added direct link to QT Windows 4.5.3 pkg. * contrib/hbqt/detect.mk * contrib/hbqt/moc.mk + Added my copyright. * contrib/hbqt/hbqt_hbdbfmodel.cpp * contrib/hbqt/generator/hbqtgen.prg * contrib/hbqt/hbqt_hbqtableview.cpp * contrib/hbqt/hbqt.h * contrib/hbqt/hbqt_hbqmainwindow.cpp ! Fixed some public C functions to hold hbqt_ prefix, instead of using generic names. ! Added one missing 'extern' keyword. + Added FIXME for QT_HBQTABLEVIEW_NAVIGATE() which has a remaining leak of one typical type. ; FIXME: Do the same with gcFuncs(). [DONE] 2009-12-17 22:24 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/hbide.prg * contrib/hbide/idemisc.prg * contrib/hbqt/tests/demoqt.prg * contrib/hbxbp/xbpbrowse.prg * contrib/hbxbp/xbphtmlviewer.prg * contrib/hbxbp/xbpmenubar.prg * contrib/hbxbp/xbppushbutton.prg * contrib/hbxbp/xbprtf.prg * contrib/hbxbp/xbptoolbar.prg * contrib/hbxbp/xbpwindow.prg ! Further cleanup of QT_PTROF() macro. * contrib/hbqt/generator/hbqtgen.prg ! Minor. 2009-12-18 04:08 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/gtxwc/gtxwc.c ! fixed yet another one memory leak 2009-12-18 03:58 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/gtxwc/gtxwc.c ! fixed memory leak caused by unreleased text property value 2009-12-17 18:57 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbxbp/xbp3state.prg * contrib/hbxbp/xbpbrowse.prg * contrib/hbxbp/xbpcheckbox.prg * contrib/hbxbp/xbpcombobox.prg * contrib/hbxbp/xbpdialog.prg * contrib/hbxbp/xbpfiledialog.prg * contrib/hbxbp/xbpfontdialog.prg * contrib/hbxbp/xbplistbox.prg * contrib/hbxbp/xbpmenubar.prg * contrib/hbxbp/xbppushbutton.prg * contrib/hbxbp/xbpradiobutton.prg * contrib/hbxbp/xbpstatusbar.prg * contrib/hbxbp/xbptoolbar.prg * contrib/hbxbp/xbpwindow.prg ! Cleaned QT_PTROF() macro, first phase. 2009-12-17 18:31 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/tests/demoqt.prg * contrib/hbxbp/tests/demoxbp.prg ! Cleaned some QT_PTROF() macros, first phase. ! Some more debug info. 2009-12-17 18:10 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/hbide.prg ! Some more info capturing in project building phase with QProcess(). 2009-12-18 03:02 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/gtxwc/gtxwc.c ! fixed holders for properties format 32 to be long - it's important for 64-bit platforms. ! removed unsupported in current code "COMPOUND_TEXT" target ! readded support for "TEXT" target 2009-12-17 16:04 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/hbide.prg ! Removed dummy macros to honor original ones. ! Removed QT_PTROF() whereever these were not needed anymore. ! Retained QT_PTROFXBP() until further discussions. Now all the components are working fine. 2009-12-17 15:17 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbxbp/xbp3state.prg * contrib/hbxbp/xbpcheckbox.prg * contrib/hbxbp/xbpdialog.prg * contrib/hbxbp/xbplistbox.prg * contrib/hbxbp/xbpmenubar.prg * contrib/hbxbp/xbpmle.prg * contrib/hbxbp/xbpradiobutton.prg * contrib/hbxbp/xbprtf.prg * contrib/hbxbp/xbpscrollbar.prg * contrib/hbxbp/xbpsle.prg * contrib/hbxbp/xbpspinbutton.prg * contrib/hbxbp/xbpstatic.prg * contrib/hbxbp/xbpstatusbar.prg * contrib/hbxbp/xbptabpage.prg * contrib/hbxbp/xbptoolbar.prg * contrib/hbxbp/xbptreeview.prg + Added METHOD hbCreateFromQtPtr(), skeletons only. 2009-12-17 22:59 UTC+0100 Viktor Szakats * contrib/hbwin/mapi.c ! Fixed typo causing GPF when using 'long' calling form. ! Fixed not counting recipients when using 'simple' calling form. ; Toninho, could you pls retest? 2009-12-17 22:21 UTC+0100 Viktor Szakats * contrib/hbqt/hbqt_misc.prg * contrib/hbide/hbide.prg - Deleted hack which moved HBXBP specific functionality into the core of HBQT. I had to restore QT_PTROFXBP() macros inside hbide. QT_PTROFXBP() has not much to do with QT_PTROF() as the former serves to access oWidget member of passed class. I see no need to move such logic into HBQT core code. I restored QT_PTROF() also, but it's redefined as a dummy in hbide.prg. I don't understand now why QT_PTROF() works as dummy in hbide, but it doesn't when used as dummy in HBXBP. All in all, this means the .prg level :pPtr trick is still needed in some places, while it's not needed in some others. ; FIXME: HBQT has no pointer checking at all before accessing C++ level objects, which means the simplest .prg level error is instantly resulting in a GPF. All hb_par_*() results must be checked for NULL before accessing them, or better yet, and RTE should be generated right from the hb_par_*() function. * src/vm/classes.c * Minor formatting. 2009-12-17 12:46 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/gtxwc/gtxwc.c + added hack for accessing selections marked by FireFox which does not inform about UTF8_STRING target though it supports it 2009-12-17 02:06 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/filelist.mk + contrib/hbqt/hbqt_misc.prg * contrib/hbqt/generator/hbqtgen.prg * contrib/hbqt/qtcore/TQAbstractItemModel.prg * contrib/hbqt/qtcore/TQAbstractListModel.prg * contrib/hbqt/qtcore/TQAbstractTableModel.prg * contrib/hbqt/qtcore/TQBitArray.prg * contrib/hbqt/qtcore/TQByteArray.prg * contrib/hbqt/qtcore/TQCoreApplication.prg * contrib/hbqt/qtcore/TQDataStream.prg * contrib/hbqt/qtcore/TQDate.prg * contrib/hbqt/qtcore/TQDateTime.prg * contrib/hbqt/qtcore/TQDir.prg * contrib/hbqt/qtcore/TQEvent.prg * contrib/hbqt/qtcore/TQEventLoop.prg * contrib/hbqt/qtcore/TQFile.prg * contrib/hbqt/qtcore/TQFileInfo.prg * contrib/hbqt/qtcore/TQIODevice.prg * contrib/hbqt/qtcore/TQLatin1Char.prg * contrib/hbqt/qtcore/TQLatin1String.prg * contrib/hbqt/qtcore/TQLine.prg * contrib/hbqt/qtcore/TQLineF.prg * contrib/hbqt/qtcore/TQList.prg * contrib/hbqt/qtcore/TQLocale.prg * contrib/hbqt/qtcore/TQMimeData.prg * contrib/hbqt/qtcore/TQModelIndex.prg * contrib/hbqt/qtcore/TQObject.prg * contrib/hbqt/qtcore/TQPoint.prg * contrib/hbqt/qtcore/TQPointF.prg * contrib/hbqt/qtcore/TQProcess.prg * contrib/hbqt/qtcore/TQRect.prg * contrib/hbqt/qtcore/TQRectF.prg * contrib/hbqt/qtcore/TQRegExp.prg * contrib/hbqt/qtcore/TQResource.prg * contrib/hbqt/qtcore/TQSignalMapper.prg * contrib/hbqt/qtcore/TQSize.prg * contrib/hbqt/qtcore/TQSizeF.prg * contrib/hbqt/qtcore/TQStringList.prg * contrib/hbqt/qtcore/TQTextBoundaryFinder.prg * contrib/hbqt/qtcore/TQTextCodec.prg * contrib/hbqt/qtcore/TQTextDecoder.prg * contrib/hbqt/qtcore/TQTextEncoder.prg * contrib/hbqt/qtcore/TQTextStream.prg * contrib/hbqt/qtcore/TQThread.prg * contrib/hbqt/qtcore/TQTime.prg * contrib/hbqt/qtcore/TQTimer.prg * contrib/hbqt/qtcore/TQTranslator.prg * contrib/hbqt/qtcore/TQUiLoader.prg * contrib/hbqt/qtcore/TQUrl.prg * contrib/hbqt/qtcore/TQVariant.prg * contrib/hbqt/qtgui/TQAbstractButton.prg * contrib/hbqt/qtgui/TQAbstractItemDelegate.prg * contrib/hbqt/qtgui/TQAbstractItemView.prg * contrib/hbqt/qtgui/TQAbstractPrintDialog.prg * contrib/hbqt/qtgui/TQAbstractProxyModel.prg * contrib/hbqt/qtgui/TQAbstractScrollArea.prg * contrib/hbqt/qtgui/TQAbstractSlider.prg * contrib/hbqt/qtgui/TQAbstractSpinBox.prg * contrib/hbqt/qtgui/TQAbstractTextDocumentLayout.prg * contrib/hbqt/qtgui/TQAction.prg * contrib/hbqt/qtgui/TQActionGroup.prg * contrib/hbqt/qtgui/TQApplication.prg * contrib/hbqt/qtgui/TQBitmap.prg * contrib/hbqt/qtgui/TQBoxLayout.prg * contrib/hbqt/qtgui/TQBrush.prg * contrib/hbqt/qtgui/TQButtonGroup.prg * contrib/hbqt/qtgui/TQCalendarWidget.prg * contrib/hbqt/qtgui/TQCheckBox.prg * contrib/hbqt/qtgui/TQClipboard.prg * contrib/hbqt/qtgui/TQColor.prg * contrib/hbqt/qtgui/TQColorDialog.prg * contrib/hbqt/qtgui/TQComboBox.prg * contrib/hbqt/qtgui/TQCommandLinkButton.prg * contrib/hbqt/qtgui/TQCommonStyle.prg * contrib/hbqt/qtgui/TQCompleter.prg * contrib/hbqt/qtgui/TQConicalGradient.prg * contrib/hbqt/qtgui/TQContextMenuEvent.prg * contrib/hbqt/qtgui/TQCursor.prg * contrib/hbqt/qtgui/TQDateEdit.prg * contrib/hbqt/qtgui/TQDateTimeEdit.prg * contrib/hbqt/qtgui/TQDesktopWidget.prg * contrib/hbqt/qtgui/TQDial.prg * contrib/hbqt/qtgui/TQDialog.prg * contrib/hbqt/qtgui/TQDirModel.prg * contrib/hbqt/qtgui/TQDockWidget.prg * contrib/hbqt/qtgui/TQDoubleSpinBox.prg * contrib/hbqt/qtgui/TQDragEnterEvent.prg * contrib/hbqt/qtgui/TQDragLeaveEvent.prg * contrib/hbqt/qtgui/TQDragMoveEvent.prg * contrib/hbqt/qtgui/TQDropEvent.prg * contrib/hbqt/qtgui/TQErrorMessage.prg * contrib/hbqt/qtgui/TQFileDialog.prg * contrib/hbqt/qtgui/TQFileIconProvider.prg * contrib/hbqt/qtgui/TQFileSystemModel.prg * contrib/hbqt/qtgui/TQFocusEvent.prg * contrib/hbqt/qtgui/TQFocusFrame.prg * contrib/hbqt/qtgui/TQFont.prg * contrib/hbqt/qtgui/TQFontComboBox.prg * contrib/hbqt/qtgui/TQFontDatabase.prg * contrib/hbqt/qtgui/TQFontDialog.prg * contrib/hbqt/qtgui/TQFontInfo.prg * contrib/hbqt/qtgui/TQFontMetrics.prg * contrib/hbqt/qtgui/TQFontMetricsF.prg * contrib/hbqt/qtgui/TQFormLayout.prg * contrib/hbqt/qtgui/TQFrame.prg * contrib/hbqt/qtgui/TQGradient.prg * contrib/hbqt/qtgui/TQGridLayout.prg * contrib/hbqt/qtgui/TQGroupBox.prg * contrib/hbqt/qtgui/TQHBoxLayout.prg * contrib/hbqt/qtgui/TQHeaderView.prg * contrib/hbqt/qtgui/TQHelpEvent.prg * contrib/hbqt/qtgui/TQIcon.prg * contrib/hbqt/qtgui/TQImage.prg * contrib/hbqt/qtgui/TQImageReader.prg * contrib/hbqt/qtgui/TQImageWriter.prg * contrib/hbqt/qtgui/TQInputContext.prg * contrib/hbqt/qtgui/TQInputDialog.prg * contrib/hbqt/qtgui/TQInputEvent.prg * contrib/hbqt/qtgui/TQInputMethodEvent.prg * contrib/hbqt/qtgui/TQItemSelection.prg * contrib/hbqt/qtgui/TQItemSelectionModel.prg * contrib/hbqt/qtgui/TQKeyEvent.prg * contrib/hbqt/qtgui/TQKeySequence.prg * contrib/hbqt/qtgui/TQLabel.prg * contrib/hbqt/qtgui/TQLayout.prg * contrib/hbqt/qtgui/TQLayoutItem.prg * contrib/hbqt/qtgui/TQLCDNumber.prg * contrib/hbqt/qtgui/TQLinearGradient.prg * contrib/hbqt/qtgui/TQLineEdit.prg * contrib/hbqt/qtgui/TQListView.prg * contrib/hbqt/qtgui/TQListWidget.prg * contrib/hbqt/qtgui/TQListWidgetItem.prg * contrib/hbqt/qtgui/TQMainWindow.prg * contrib/hbqt/qtgui/TQMatrix.prg * contrib/hbqt/qtgui/TQMenu.prg * contrib/hbqt/qtgui/TQMenuBar.prg * contrib/hbqt/qtgui/TQMessageBox.prg * contrib/hbqt/qtgui/TQMouseEvent.prg * contrib/hbqt/qtgui/TQMoveEvent.prg * contrib/hbqt/qtgui/TQMovie.prg * contrib/hbqt/qtgui/TQPageSetupDialog.prg * contrib/hbqt/qtgui/TQPaintDevice.prg * contrib/hbqt/qtgui/TQPainter.prg * contrib/hbqt/qtgui/TQPainterPath.prg * contrib/hbqt/qtgui/TQPaintEvent.prg * contrib/hbqt/qtgui/TQPalette.prg * contrib/hbqt/qtgui/TQPen.prg * contrib/hbqt/qtgui/TQPicture.prg * contrib/hbqt/qtgui/TQPixmap.prg * contrib/hbqt/qtgui/TQPlainTextEdit.prg * contrib/hbqt/qtgui/TQPolygon.prg * contrib/hbqt/qtgui/TQPolygonF.prg * contrib/hbqt/qtgui/TQPrintDialog.prg * contrib/hbqt/qtgui/TQPrintEngine.prg * contrib/hbqt/qtgui/TQPrinter.prg * contrib/hbqt/qtgui/TQPrintPreviewDialog.prg * contrib/hbqt/qtgui/TQProgressBar.prg * contrib/hbqt/qtgui/TQProgressDialog.prg * contrib/hbqt/qtgui/TQPushButton.prg * contrib/hbqt/qtgui/TQRadialGradient.prg * contrib/hbqt/qtgui/TQRadioButton.prg * contrib/hbqt/qtgui/TQRegion.prg * contrib/hbqt/qtgui/TQResizeEvent.prg * contrib/hbqt/qtgui/TQScrollArea.prg * contrib/hbqt/qtgui/TQScrollBar.prg * contrib/hbqt/qtgui/TQSessionManager.prg * contrib/hbqt/qtgui/TQSizeGrip.prg * contrib/hbqt/qtgui/TQSizePolicy.prg * contrib/hbqt/qtgui/TQSlider.prg * contrib/hbqt/qtgui/TQSound.prg * contrib/hbqt/qtgui/TQSpacerItem.prg * contrib/hbqt/qtgui/TQSpinBox.prg * contrib/hbqt/qtgui/TQSplashScreen.prg * contrib/hbqt/qtgui/TQSplitter.prg * contrib/hbqt/qtgui/TQStandardItem.prg * contrib/hbqt/qtgui/TQStandardItemModel.prg * contrib/hbqt/qtgui/TQStatusBar.prg * contrib/hbqt/qtgui/TQStringListModel.prg * contrib/hbqt/qtgui/TQStyle.prg * contrib/hbqt/qtgui/TQStyledItemDelegate.prg * contrib/hbqt/qtgui/TQStyleFactory.prg * contrib/hbqt/qtgui/TQStyleHintReturn.prg * contrib/hbqt/qtgui/TQStyleHintReturnMask.prg * contrib/hbqt/qtgui/TQStyleHintReturnVariant.prg * contrib/hbqt/qtgui/TQStyleOption.prg * contrib/hbqt/qtgui/TQStyleOptionButton.prg * contrib/hbqt/qtgui/TQStyleOptionComboBox.prg * contrib/hbqt/qtgui/TQStyleOptionComplex.prg * contrib/hbqt/qtgui/TQStyleOptionDockWidget.prg * contrib/hbqt/qtgui/TQStyleOptionFocusRect.prg * contrib/hbqt/qtgui/TQStyleOptionFrame.prg * contrib/hbqt/qtgui/TQStyleOptionGroupBox.prg * contrib/hbqt/qtgui/TQStyleOptionHeader.prg * contrib/hbqt/qtgui/TQStyleOptionMenuItem.prg * contrib/hbqt/qtgui/TQStyleOptionProgressBar.prg * contrib/hbqt/qtgui/TQStyleOptionSizeGrip.prg * contrib/hbqt/qtgui/TQStyleOptionSlider.prg * contrib/hbqt/qtgui/TQStyleOptionSpinBox.prg * contrib/hbqt/qtgui/TQStyleOptionTab.prg * contrib/hbqt/qtgui/TQStyleOptionTabBarBase.prg * contrib/hbqt/qtgui/TQStyleOptionTabWidgetFrame.prg * contrib/hbqt/qtgui/TQStyleOptionTitleBar.prg * contrib/hbqt/qtgui/TQStyleOptionToolBar.prg * contrib/hbqt/qtgui/TQStyleOptionToolBox.prg * contrib/hbqt/qtgui/TQStyleOptionToolButton.prg * contrib/hbqt/qtgui/TQStyleOptionViewItem.prg * contrib/hbqt/qtgui/TQStylePainter.prg * contrib/hbqt/qtgui/TQSyntaxHighlighter.prg * contrib/hbqt/qtgui/TQSystemTrayIcon.prg * contrib/hbqt/qtgui/TQTabBar.prg * contrib/hbqt/qtgui/TQTableView.prg * contrib/hbqt/qtgui/TQTableWidget.prg * contrib/hbqt/qtgui/TQTableWidgetItem.prg * contrib/hbqt/qtgui/TQTableWidgetSelectionRange.prg * contrib/hbqt/qtgui/TQTabWidget.prg * contrib/hbqt/qtgui/TQTextBlock.prg * contrib/hbqt/qtgui/TQTextBlockFormat.prg * contrib/hbqt/qtgui/TQTextBlockGroup.prg * contrib/hbqt/qtgui/TQTextBrowser.prg * contrib/hbqt/qtgui/TQTextCharFormat.prg * contrib/hbqt/qtgui/TQTextCursor.prg * contrib/hbqt/qtgui/TQTextDocument.prg * contrib/hbqt/qtgui/TQTextDocumentFragment.prg * contrib/hbqt/qtgui/TQTextDocumentWriter.prg * contrib/hbqt/qtgui/TQTextEdit.prg * contrib/hbqt/qtgui/TQTextFormat.prg * contrib/hbqt/qtgui/TQTextFragment.prg * contrib/hbqt/qtgui/TQTextFrame.prg * contrib/hbqt/qtgui/TQTextFrameFormat.prg * contrib/hbqt/qtgui/TQTextImageFormat.prg * contrib/hbqt/qtgui/TQTextInlineObject.prg * contrib/hbqt/qtgui/TQTextItem.prg * contrib/hbqt/qtgui/TQTextLayout.prg * contrib/hbqt/qtgui/TQTextLength.prg * contrib/hbqt/qtgui/TQTextLine.prg * contrib/hbqt/qtgui/TQTextListFormat.prg * contrib/hbqt/qtgui/TQTextObject.prg * contrib/hbqt/qtgui/TQTextOption.prg * contrib/hbqt/qtgui/TQTextTableFormat.prg * contrib/hbqt/qtgui/TQTimeEdit.prg * contrib/hbqt/qtgui/TQToolBar.prg * contrib/hbqt/qtgui/TQToolBox.prg * contrib/hbqt/qtgui/TQToolButton.prg * contrib/hbqt/qtgui/TQTransform.prg * contrib/hbqt/qtgui/TQTreeView.prg * contrib/hbqt/qtgui/TQTreeWidget.prg * contrib/hbqt/qtgui/TQTreeWidgetItem.prg * contrib/hbqt/qtgui/TQValidator.prg * contrib/hbqt/qtgui/TQVBoxLayout.prg * contrib/hbqt/qtgui/TQWheelEvent.prg * contrib/hbqt/qtgui/TQWidget.prg * contrib/hbqt/qtgui/TQWidgetAction.prg * contrib/hbqt/qtgui/TQWidgetItem.prg * contrib/hbqt/qtgui/TQWindowsStyle.prg * contrib/hbqt/qtgui/TQWizard.prg * contrib/hbqt/qtgui/TQWizardPage.prg * contrib/hbqt/qtnetwork/TQFtp.prg * contrib/hbqt/qtnetwork/TQHttp.prg * contrib/hbqt/qtnetwork/TQHttpRequestHeader.prg * contrib/hbqt/qtnetwork/TQHttpResponseHeader.prg * contrib/hbqt/qtnetwork/TQNetworkRequest.prg * contrib/hbide/hbide.prg + Implemented to avoid use of QT_PTROF() and QT_PTROFXBP() macros. The functionality is transparent and accepts HBQT and HBXBP objects as is. TODO: Method SomeQtClass:new( ... ) ::pPtr := QSomeClass( ... ) In above construct it is not known how many parameters are of type pointer and otherwise and how, if resolved, be forwarded to Qt wrapper with (...) syntax. 2009-12-17 11:54 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/gtxwc/gtxwc.c ! added protection against putting K_RESIZE into keyboard queue if XServer generates ConfigureNotify event but window size is not changed ! clear own selections on application exit - looks that some WMs have problems when selection owner does not response and can even crash. Please remember that some WMs periodically (i.e. once per second) create copy of existing selections to his own structures so it's later available even if selection owner terminates. This is VM behavior which is not controlled by Harbour GTXWC code so selection set by Harbour application is available after its termination only if such Window Manager is used and it has enough time to make selection copy. ! use hb_cdpFindExt() instead of hb_cdpFind() to find UTF8 CP It fixes national character translations in selections (clipboard) broken during recent modifications for new CDP API. 2009-12-17 03:45 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/gtxwc/gtxwc.c ! fixed timeout checking in function taking text from clipboard. Due to typo it was waiting for XServer answer for 3 milliseconds instead of 3 seconds so sometimes it was too small even in local usage (i.e. when clipboard was accessed 1st time by application and some internal XLib structures had to be initialized) and probably using remote XServers it was able to retrieve only the 1st type of selection (if any). 2009-12-16 21:38 UTC+0100 Viktor Szakats * contrib/hbwin/hbwin.ch * contrib/hbwin/tests/testmapi.prg * contrib/hbwin/mapi.c + Added HB_WIN_MAPI_* constants for recipient types. + WIN_MAPISENDMAIL() now accepts 8th (sender) as simple string, this will be passed as sender name to Windows. + WIN_MAPISENDMAIL() now accepts 9th (recipient) parameter as simple list of strings. Values will be passed as 'TO' recipient names to Windows. + WIN_MAPISENDMAIL() now accepts 10th (attachment) parameter as simple list of strings. Values will be passed as pathname to Windows. % One minor optimization in WIN_MAPISENDMAIL(). + Added example for simple form of WIN_MAPISENDMAIL() call. 2009-12-16 21:18 UTC+0100 Viktor Szakats * contrib/hbwin/mapi.c * WIN_MAPISENDMAIL() fixed to set sender as MAPI_ORIG. This is the default value (zero), but we shouldn't assume such things. + WIN_MAPISENDMAIL() recipient arrays elements third parameter is optional. ! WIN_MAPISENDMAIL() fixed to set recipient address type as MAPI_TO by default (if there is no 3rd element or 3rd element is non-numeric). So far it was defaulting to MAPI_ORIG in these case, which is wrong. ! WIN_MAPISENDMAIL() fixed to skip recipient if neither first nor second element is a non-empty string. It may have caused GPFs before. * WIN_MAPISENDMAIL() changed to accept 1st element of file attachment array list as pathname, and 2nd element as optional filename. 2nd element is now truly optional, files won't be skipped if omitted. Original code accepted filename in 1st element, but it's cleaner this way and also testmapi.prg calls it this way, so it might have been a typo. ! WIN_MAPISENDMAIL() fixed file attachments handling to not cause GPF is 1st array element (pathname) is non-string or empty. These items will now be skipped. ; Please retest also with bad parameters. And I'd appreciate if someone could review as it's blind coding. 2009-12-16 19:05 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/tests/gtkeys.prg + added code to test clipboard (CTRL+INS shows clipboard text and CTRL+END set new text in clipboard). 2009-12-16 18:28 UTC+0100 Viktor Szakats * harbour-win-spec * harbour-wce-spec * include/hbver.h * package/winuni/RELNOTES * package/winuni/mpkg_win_uni.bat * package/winuni/mpkg_win_uni.nsi * harbour.spec * config/global.mk * Changed version to 2.0.0rc1 (from 2.0.0beta3) ; TODO: Please also change debian/changelog. ; Rehearsing version change, I don't plan to make binary release of this interim version. * doc/codestyl.txt * Minor update. I don't plan a full update this time, as we have a huge amount of well formatted source code, and it's pretty consistent too, so it's enough to peek into any one of them for a perfect example. So if someone needs and example, just look under src/* for both .c and .prg. 2009-12-16 09:59 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/common/hbdate.c * casting for some more pedantic C/C++ compilers * harbour/include/hbinit.h * allow to force static C++ initialization as startup code in GCC and SunPRO builds by HB_STATIC_STARTUP macro 2009-12-16 04:53 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fixed watcom targets to switch to single input file mode when C mode (now default) is used. Maybe OpenWatcom developers should finally sync such basic behavior between their C and C++ compilers. Until then we keep adding hacks. 2009-12-16 03:54 UTC+0100 Viktor Szakats * contrib/hbbtree/tests/ctest.c ! Changed sprintf() to safe hb_snprintf() to avoid MSVC warnings. 2009-12-16 03:17 UTC+0100 Viktor Szakats * config/common/watcom.mk ! Fixed for dos/watcom after previous change. 2009-12-16 03:11 UTC+0100 Viktor Szakats * config/common/watcom.mk * config/global.mk * config/rules.mk ! Added relatively ugly hack to change dir separators in CC_RULE in a generic way. It's ugly because it's only needed for non-linux Watcom C (not C++!) builds, but this way it's possible to avoid CC_RULE override in common/watcom.mk. CC_RULE override didn't implement dynlib support, which meant that after switching to C mode as default for watcom, dynlib generation got broken on win and os2. 2009-12-16 02:10 UTC+0100 Viktor Szakats * contrib/hbqt/hbqt_hbqmainwindow.cpp * Minor formatting after latest changes. 2009-12-16 01:53 UTC+0100 Viktor Szakats * contrib/rddsql/sddmy/mysqldd.c ! Fixed warning reported by linux/watcom. * src/rtl/gtwin/gtwin.c * Minor formatting. 2009-12-16 01:26 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbwin/mapi.c ! fixed compilation with OpenWatcom 2009-12-16 01:01 UTC+0100 Viktor Szakats * ChangeLog ! Typo in prev entry. 2009-12-16 00:58 UTC+0100 Viktor Szakats * contrib/hbwin/Makefile + contrib/hbwin/wapi_winnls.c + Added WAPI_GETACP() + Added WAPI_GETOEMCP() ; NOTE: TODO? These values could be used as a base for default HB_GTI_CODEPAGE setting and _SET_OSCODEPAGE for non-UNICODE Harbour builds. 2009-12-16 00:26 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/ChangeLog ! removed repeated entry 2009-12-16 00:24 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbinit.h * added error messages when some mixed forms of startup initialization are defined 2009-12-16 00:00 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/hb-func.sh * use -n2 as default harbour compiler parameter in hb* scripts 2009-12-15 21:35 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbinit.h ! fixed typo in section name in last commit - thanks to Tamas again * in C++ mode encapsulate startup functions inside 'extern "C" { ... }' to eliminate reallocation problems 2009-12-15 21:15 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbinit.h * use more portable asm() directive instead of __asm__() * explicitly restore .text segment for compilers which do not make it automatically Thanks to Tamas for the information. 2009-12-15 20:43 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbinit.h * eliminated from ASM code used in HB_INITSEG_STARTUP direct references to public functions - it resolves the problem with non relocatable code breaking Harbour shared library. TODO: find portable method to mark function as used for C compiler without using any public symbols (functions or variables) which may cause conflicts between modules. Compilers like modern GCC versions are clever enough to detect cyclic references (only compile time warnings are pacified in such case) and they strip even group of functions it they are not accessed externally. 2009-12-15 19:47 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbinit.h + added new alternative form for initialization code activated by HB_INITSEG_STARTUP macro. This method uses asm() directive to store call to startup function in .init segment. It's a work in progress though current code is working in Linux static builds and probably should work also with few other compilers. Final version should help in adding support for native non GCC based C compilers in some *nixes. Thanks to Tamas for his help. 2009-12-15 18:11 UTC+0100 Viktor Szakats * package/winuni/RELNOTES ! Typo. * contrib/hbqt/qtgui/qtguis/Makefile * contrib/hbqt/qtcore/qtcores/Makefile * contrib/hbqt/hbqts/Makefile * contrib/hbqt/qtnetwork/qtnetworks/Makefile ! Fixed HB_QT_STATIC=yes mode. * contrib/hbclipsm/date.c ! Fixed DATEASARRAY() to return empty array instead of { NIL, NIL, NIL } if non-date was passed. % Optimized DATEASARRAY(). * contrib/hbcairo/image.c ! Fixed two warnings. * INSTALL + Added CYGWIN= envvar to mingwarm example to suppress useless Cygwin warning. 2009-12-15 11:36 UTC+0100 Viktor Szakats * contrib/hbqt/hbqt.hbc * contrib/gtqtc/gtqtcs.hbc * contrib/gtqtc/gtqtcs/Makefile * contrib/gtqtc/Makefile * contrib/gtqtc/gtqtc.hbc * Cleanups. ! Static mode fix for gtqtc. * contrib/gtqtc/gtqtc.cpp ! Deleted HB_TCHAR references in commented code. 2009-12-15 11:26 UTC+0100 Viktor Szakats * ChangeLog ! Fixed ChangeLog entry header of my last commit. 2009-12-15 04:32 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbdefs.h * modified PHB_FUNC/HB_FUNC_PTR declaration to use external 'extern "C"' encapsulation for C++ compilers which do not accept it directly (i.e. BORLAND or GCC 2.xx) 2009-12-15 00:44 UTC+0100 Viktor Szakats * contrib/hbwin/win_regc.c * Minor cleanup to make code more robust. * contrib/hbqt/qtgui/QTableView.cpp * Some minor changes after regenerating it with current generator tool. 2009-12-14 10:01 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/hbqt.h * contrib/hbqt/hbqt_hbqtableview.cpp * contrib/hbqt/qtgui/QTableView.cpp * contrib/hbqt/qtgui/TQTableView.prg * contrib/hbqt/qth/QTableView.qth * contrib/hbxbp/xbpbrowse.prg + Implemented GC collectible pointers for HBTableView() class. 2009-12-14 10:01 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/hbqt.h * contrib/hbqt/hbqt_hbdbfmodel.cpp * contrib/hbqt/hbqt_hbdbfmodel.h * contrib/hbqt/qtcore/QAbstractItemModel.cpp * contrib/hbqt/qtcore/TQAbstractItemModel.prg * contrib/hbqt/qth/QAbstractItemModel.qth * contrib/hbxbp/xbpbrowse.prg + Implemented GC collectible pointer for HBDbfModel() class. 2009-12-14 17:25 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/hbcrc.c ! fixed hb_crcct() to work with polynomials smaller then 8 bit, i.e. parity bit: x^1+1 => 3 % small simplification in hb_crc() function 2009-12-14 14:21 UTC+0100 Viktor Szakats * contrib/hbwin/win_os.prg * contrib/hbwin/wapi_winuser.c * contrib/hbwin/axcore.c * contrib/hbwin/wapi_commctrl.c * Formatting. 2009-12-14 13:52 UTC+0100 Viktor Szakats * contrib/hbwin/win_prn2.c ! Missing hb_itemRelease() from prev commit. 2009-12-14 13:45 UTC+0100 Viktor Szakats * contrib/hbwin/win_prn2.c + Eliminated rest of HB_TCHAR*() calls. Please review, and test for memory leaks. ; No more HB_TCHAR*() macros in hbwin code. * contrib/hbwin/win_misc.c + Added cast. * contrib/hbqt/hbqt_base.cpp * Minor formatting. 2009-12-14 00:04 UTC+0100 Viktor Szakats * contrib/hbwin/win_misc.c ! Fixed WIN_ANSITOWIDE() and WIN_WIDETOANSI() to return string with proper length in all cases. Peer-review me pls. 2009-12-13 22:47 UTC+0100 Viktor Szakats * src/compiler/cmdcheck.c * src/compiler/hbmain.c * src/compiler/hbcomp.c * src/compiler/hbusage.c * include/hbcompdf.h + Added support for -i- and -i+ options. They will disable/enable handling of INCLUDE envvar. * config/rules.mk + Added -i- Harbour compiler switch to avoid any interference with user set INCLUDE envvars. 2009-12-13 12:43 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/hbqt_hbqmainwindow.cpp * contrib/hbqt/hbqt_hbqmainwindow.h * contrib/hbxbp/xbpwindow.prg + Implemented GC collectible pointer for HBQMainWindow(). /* Please do not commit anything in HBQT/HBXBP/HBIDE as I will be cleaning up the code. BTW how can I invoke HBXBP_DEBUG() functionality. I was just busy with the preparations of my daughter's wedding. */ 2009-12-13 17:29 UTC+0100 Viktor Szakats * contrib/hbwin/mapi.c ! Added back zeroing rcp/file structure list. * INSTALL * Minor. * contrib/gtwvg/wvgutils.c * contrib/hbwin/win_misc.c * contrib/hbwin/mapi.c * ZeroMemory() -> memset() 2009-12-13 14:46 UTC+0100 Viktor Szakats * contrib/hbwin/mapi.c + Added support for unlimited number of recipients and attached files. Please test and review. * utils/hbmk2/hbmk2.prg + Added support for linux/open64. (Please test) * INSTALL + Added open64. 2009-12-12 20:48 UTC-0300 Antonio Carlos Pantaglione <toninho@fwi.com.br> * harbour/contrib/hbwin/tests/testmapi.prg ! Very small fix 2009-12-12 23:29 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbsetup.h * harbour/include/hbdefs.h * harbour/include/hbthread.h * harbour/src/common/hbver.c * harbour/bin/hb-func.sh * harbour/bin/postinst.sh * harbour/config/linux/gcc.mk + harbour/config/linux/open64.mk + added support for Open64 C/C++ compiler in Linux builds * harbour/src/common/hbver.c * removed unnecessary casting compiler version number parameters to 'short' * extended the size of szBuf buffer as requested by Tamas 2009-12-12 21:24 UTC+0100 Viktor Szakats * contrib/hbwin/tests/testmapi.prg * contrib/hbwin/mapi.c ! Fixes. 2009-12-12 19:55 UTC+0100 Viktor Szakats * contrib/hbwin/win_misc.c ! Fixed declaration following code. 2009-12-12 19:27 UTC+0100 Viktor Szakats * contrib/hbwin/mapi.c + Added support for UNICODE. ; Untested, I don't have a mailer on any Windows systems I have access to to try it. Please make tests with MSVC also, to check UNICODE. ! Fixed typo in prev modification. ! Added ( ULONG ) cast to -1 value. + Added copyright header. * contrib/hbwin/tests/testmapi.prg + Added some test data to make it work. (couldn't test it though, all I get is msgbox that I have no mailer) 2009-12-12 18:41 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/vm/vmmt/Makefile ! added missing strapi.c for some compilers which do not use hvmall.c 2009-12-12 16:47 UTC+0100 Viktor Szakats * src/rtl/gtwin/gtwin.c * Using HB_SIZEOFARRAY(). * include/hbapi.h * Typo in comment. * ChangeLog + Added missing item to prev. * contrib/hbwin/tests/testmapi.prg ! Fixed missing SVN props. ! Added missing SVN ID. * Formatting. ; FIXME: This example expects arrays and logical value from command line, so it won't work. [DONE] 2009-12-12 15:46 UTC+0100 Viktor Szakats * include/hbwinuni.h + Added HB_ARRAYGETSTR(). * ChangeLog + Added missing item to prev. 2009-12-12 15:42 UTC+0100 Viktor Szakats * contrib/hbwin/Makefile * contrib/hbwin/mapi.c + Added to Makefile. * Renamed HB_MAPISENDMAIL() to WIN_MAPISENDMAIL(). ! Added SVN ID. ! Added SVN props. ! Added License header. (pls add your name to copyright headers) ! Fixed to use simple quote to include Harbour headers. ! Fixed Windows header inclusion. ! Disabled for UNICODE. ! Fixed to not use return value on stack as temporary HB_ITEM. ! Fixed to not use static variable. ! Fixed UNICODE literals (also for WinCE). ! Fixed to not create NULL "holes" in passed to Windows lists if received arrays have wrong content. ! Fixed to check return value of GetProcAddress(). % Optimized to only do parameter processing if MAPISendMail is available. * Cleaned string parameter defaulting to "". * Castings added and changed. * Optimizations. * Formatting (indentation, deleted unnecessary {}, variable scopes, ' ;' endings) * Variable scopes. * Using HB_SIZE. * Avoiding duplicating constants. + Added some provisions for UNICODE support. Otherwise whole code is disabled until this gets fully implemented. ; TODO: It'd be probably beneficial to remove artificial limit of 100 recipients and file attachments. [DONE] ; NOTE: I didn't make any functional tests, so please make some. An example/test code would be nice in tests subdir. 2009-12-12 14:36 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbwinuni.h ! fixed typo in last commit * harbour/contrib/hbwin/win_com.c * eliminated HB_TCHAR_*() usage 2009-12-12 10:45 UTC-0300 Antonio Carlos Pantaglione <toninho@fwi.com.br> + harbour/contrib/hbwin/mapi.c + harbour/contrib/hbwin/tests/testmapi.prg * MAPI send mail function. 2009-12-12 13:52 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbwinuni.h + added new macro HB_ITEMGETSTR() * harbour/src/rtl/gtwin/gtwin.c * modified to use new UNICODE API instead of HB_TCHAR_*() * harbour/contrib/hbwin/win_misc.c * rewritten WIN_GETCOMMANDLINEPARAM() New version does not use old HB_TCHAR_*() API and respect multiple quoting by "" (i.e. .\"myapp"li"cation".exe) FIXME: WIN_ANSITOWIDE() and WIN_WIDETOANSI() are wrong and have to be fixed. Please remember that number of character after conversion to/from UNICODE can be different then original number of chars, i.e. multibyte characters can be replaced by single Unicode character or one Unicode character may use few bytes representation. [DONE] 2009-12-12 12:48 UTC+0100 Viktor Szakats * contrib/hbqt/hbqt_hbqmainwindow.cpp * Temporarily disabled mutex for HBMainWindow. Please report any problems and experiences, or any reason for the mutex implemented here, it's possible that I'm missing something. * contrib/hbqt/qtgui/qtguis/Makefile * contrib/hbqt/qtgui/Makefile * contrib/hbqt/Makefile * contrib/hbqt/detect.mk * contrib/hbqt/hbqts/Makefile * contrib/hbqt/qtnetwork/qtnetworks/Makefile * contrib/hbqt/qtnetwork/Makefile * Generalized the way QT component header dirs are enabled. This makes it possible to use this logic with gtqtc. * contrib/gtqtc/gtqtcs/Makefile * contrib/gtqtc/Makefile + 'moc' logic synced with hbqt. ! Fixed to use QT component header inclusion. * contrib/hbqt/hbqt_slots.cpp * Line ending spaces. 2009-12-12 12:28 UTC+0100 Viktor Szakats * src/vm/dynlibhb.c + Using new UNICODE conversion macros in HB_LIBLOAD(). * INSTALL * Minor. * contrib/xhb/hbsyslog.c + HB_SYSLOGOPEN(): Added UNICODE support. (this bug was hidden by explicit cast) * Using HB_TRUE/HB_FALSE. + Using new UNICODE conversion macros in HB_SYSLOGMESSAGE(). (functionally not tested) * Formatting. * contrib/xhb/hblogdef.ch + Added comment that the header is used by C code. * contrib/hbqt/detect.mk ! Fixed static build after last commit. * contrib/hbwin/wapi_winbase.c * contrib/hbwin/win_dll.c * Variable renamed. * contrib/hbwin/win_prn2.c % Minor optimization. * contrib/hbwin/win_osc.c + Using new UNICODE conversion macros in WIN_OSVERSIONINFO(). ; NOTE: Remaining "problem area" is HB_TCHAR_* usage in low-level code, when conversion needs to be done from/to C buffer instead of Harbour parameter/return value. The problem is that I don't have a pattern for that. 2009-12-12 02:43 UTC+0100 Viktor Szakats * src/vm/strapi.c % Minor optimization (using cdp variable instead of repeated hb_vmCDP() calls.) * include/hbwinuni.h + Added HB_ITEMPUTSTR[LEN]() macros. + Added HB_STRUNSHARE() macro. ! Fixed typos in HB_ARRAYSETSTRLEN() macro values. * contrib/hbwin/win_prn2.c + Using new HB_ITEMPUTSTR() macro instead of HB_TCHAR*(). * contrib/hbwin/win_misc.c ! WIN_RUNDETACHED(): Fixed to guarantee writable buffer in second parameter of CreateProcess(). I've choosen to always pass a writable buffer, although MS requires this only for UNICODE mode. * contrib/hbwin/wapi_commctrl.c + Using new UNICODE parameter passing macros instead of HB_TCHAR*() ones. ! Fixed return values of WAPI_IMAGELIST_GETIMAGEINFO() to be empty string instead of unset (NIL) in case of error. + contrib/hbqt/filelist.mk ! Missed from previous commit. * contrib/hbwin/win_regc.c * Removed trailing spaces (realized I used a temp instance of 64-bit Far Manager for the last couple of days) (there will be more) 2009-12-12 01:42 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/vm/strapi.c * harbour/include/hbapistr.h + added new functions: hb_itemPutStr(), hb_itemPutStrUTF8(), hb_itemPutStrU16(), hb_arrayGetStr(), hb_arrayGetStrUTF8(), hb_arrayGetStrU16(), hb_arraySetStrLen(), hb_arraySetStrLenUTF8(), hb_arraySetStrLenU16(), hb_arraySetStr(), hb_arraySetStrUTF8(), hb_arraySetStrU16(), * harbour/include/hbwinuni.h * removed unnecessary and danger casting in UNICODE version of HB_RETSTR(), HB_RETSTRLEN(), HB_STORSTR() and HB_STORSTRLEN() macros * modify HB_ARRAYSETSTR() and HB_ARRAYSETSTRLEN() macros to use new STR API functions * harbour/external/Makefile * modified the order of compiled libraries for better performance in parallel compilation (-j<N>) 2009-12-11 20:42 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/vm/strapi.c * harbour/include/hbapistr.h + added new functions to operate on Harbour wide character strings: ULONG hb_wstrlen( const HB_WCHAR * szText ); HB_WCHAR * hb_wstrdup( const HB_WCHAR * szText ); HB_WCHAR * hb_wstrndup( const HB_WCHAR * szText, ULONG ulLen ); int hb_wstrcmp( const HB_WCHAR * s1, const HB_WCHAR * s2 ); int hb_wstrncmp( const HB_WCHAR * s1, const HB_WCHAR * s2, ULONG count ); + added new functions to convert NULL pointers to empty strings: const char * hb_strnull( const char * str ); const HB_WCHAR * hb_wstrnull( const HB_WCHAR * str ); + added new functions to convert string buffer returned by Harbour string functions to writable state: char * hb_strunshare( void ** phStr, const char * pStr, ULONG ulLen ); HB_WCHAR * hb_wstrunshare( void ** phStr, const HB_WCHAR * pStr, ULONG ulLen ); * harbour/include/hbwinuni.h ! fixed HB_PARSTRDEF() to return empty string instead of NULL ! fixed HB_ARRAYSETSTR() to accept NULL as string parameter 2009-12-11 20:25 UTC+0100 Viktor Szakats * contrib/hbwin/win_regc.c ! WIN_REGSETVALUEEX(): Off by one bug fixed in prev commit. 2009-12-11 20:16 UTC+0100 Viktor Szakats * contrib/hbwin/wapi_winbase.c * Eliminated hb_parclen() call in WAPI_FORMATMESSAGE() function. * contrib/hbwin/win_regc.c * WIN_REGSETVALUEEX(): Adjusted casting to not drop const. ! WIN_REGSETVALUEEX(): Added support for UNICODE builds when string types (non-binary data) are passed. * contrib/hbwin/tests/testreg.prg + Extended with basic test for above. 2009-12-11 19:56 UTC+0100 Viktor Szakats * contrib/hbwin/wce_smsc.c + Eliminated hb_parclen() usage. * contrib/hbwin/win_prn3.c ! Fixed typos. 2009-12-11 19:51 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbwin/wapi_winbase.c ! fixed casting * harbour/contrib/hbwin/wce_simc.c * use Harbour API functions to change items passed by reference * harbour/contrib/hbwin/win_prn3.c % eliminated unnecessary hb_parclen() call 2009-12-11 19:41 UTC+0100 Viktor Szakats * contrib/hbqt/Makefile * contrib/hbqt/detect.mk + contrib/hbqt/moc.mk * contrib/hbqt/hbqts/Makefile * contrib/hbqt/qtgui/qtguis/Makefile * contrib/hbqt/qtgui/Makefile * contrib/hbqt/qtcore/qtcores/Makefile * contrib/hbqt/qtcore/Makefile * contrib/hbqt/qtnetwork/qtnetworks/Makefile * contrib/hbqt/qtnetwork/Makefile + Moved 'moc' build logic to separate file. + Added support for MOC_HEADERS in all sub-libs. This allows to avoid hacks to place every custom created component in central lib. (It probably allows to avoid central lib altogether.) ! Fixed broken static build after recent changes. (I've readded central filelist.mk to avoid redundancy, but the file isn't an automatically generated one anymore) % Optimized build to not provide all subsystem header dirs for each QT sub-libs, only those which are needed. Now QtCore header dir is passed to all components, but QtGui and QtNetwork is passed only to these subcomponents. Central hbqt lib gets all dirs, but hopefully this will be cleaned eventually. % Cleaned to not use /Qt include dir. It's apparently not needed. * contrib/hbqt/qth/QObject.qth * contrib/hbqt/qtcore/QObject.cpp ! Core component was referring to a GUI one, and hbqt_par_QWidget() was used to retieve a QObject inside QObject wrappers. Please fix me if it was intentional, but it didn't look right and came out after cleaning header dir usage. * contrib/hbide/hbide.hbp + Added MSVC link switches sent by Andi to make QT 4.6.0 libs work with default Harbour build. 2009-12-11 18:17 UTC+0100 Viktor Szakats * include/hbwinuni.h + Added HB_ARRAYSETSTR*(). Based on Przemek's post. * contrib/hbwin/wce_simc.c * contrib/hbwin/wce_smsc.c * contrib/hbwin/win_prn1.c * contrib/hbwin/win_prn2.c * contrib/hbwin/win_regc.c + Using new UNICODE parameter passing macros instead of HB_TCHAR*() ones. * Minor rework WIN_TEXTOUT() and WIN_GETTEXTSIZE() to not use hb_parclen() and protect some more against wrong length parameter. ; FIXME: HB_ARRAYSETSTR() usage crashes (tested in non-UNICODE with testprn3) I didn't want to undo the whole thing, but can't find the err either. [DONE] ; FIXME: hb_parclen() usage. [DONE] ; FIXME: HB_ARRAYSETSTR() with null string parameter. [DONE] ; FIXME: HB_PARSTRDEF() to really default to empty string for non-string params. [DONE] ; TODO: Remaining HB_TCHAR_*() usages. [DONE - except GTWVG] ; TODO: Peer-review what I did. [DONE] * contrib/hbwin/wapi_winbase.c ! Fixed for WinCE after recent addition of new wrappers. This means exclusion of WAPI_WAITFORSINGLEOBJECTEX() and WAPI_WAITFORMULTIPLEOBJECTSEX() for this platform. ! Minor fix in size of allocated buffer in WAPI_FORMATMESSAGE(). (buffer was too large in non-UNICODE). 2009-12-11 10:59 UTC+0100 Viktor Szakats * include/hbextern.ch + Added HB_THREADONCEINIT(). * contrib/hbqt/hbqt.ch * contrib/hbxbp/xbp.ch ! Moved XBP specific macro to HBXBP header. * contrib/hbqt/tests/demoqt.prg ! Deleted no more needed init calls. * contrib/hbqt/hbqt_events.cpp + Added FIXME about GC collected pointer stored in low-level structure. (source of GPF). * contrib/hbwin/win_misc.c * contrib/hbwin/wapi_winbase.c * contrib/hbwin/wapi_winuser.c * contrib/hbwin/win_regc.c * contrib/hbwin/win_prn1.c * contrib/hbwin/win_prn3.c * contrib/hbwin/wapi_shellapi.c * contrib/hbwin/legacyco.c - Deleted now unnecessary '( LP[C]TSTR )' casts. + Cleaned const usage in WIN_PRINTERSETDEFAULT(). E.g. OpenPrinter() has apparently wrong winapi declaration, so a cast must have been added. ; FIXME: CreateProcessW() second parameter has to be a read/write buffer. Przemek, do you have an idea how to solve that the cleanest way? (for now I kept a cast, assuming that a buffer is created by Harbour conversion API, but that's not something it guarantees in the future.) [DONE] 2009-12-11 04:37 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/vm/thread.c ! added missing HB_STACK_TLS_PRELOAD 2009-12-11 04:13 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapiitm.h * harbour/src/vm/classes.c * added new internal HVM macro * harbour/src/vm/thread.c + added new function hb_threadOnceInit( @<item> <value> ) -> <lInitialized> It assigns <value> to <item> if <item> is NIL in MT safe way so it's assigned only once. It's reduced but faster version of hb_threadOnce() * harbour/include/hbapicdp.h * define HB_WCHAR as wchar_t on Windows platforms for compilers which refuse to make conversions between types using the same base type. * harbour/contrib/hbwin/win_dll.c * code cleanup 2009-12-11 00:20 UTC+0100 Viktor Szakats + contrib/hbqt/hbqt_hbdbfmodel.h + Missed from prev commits. * contrib/hbqt/hbqt_slots.cpp * Formatting. 2009-12-10 23:22 UTC+0100 Viktor Szakats * contrib/hbqt/qth/QAbstractItemModel.qth * contrib/hbqt/qth/QTableView.qth * contrib/hbqt/hbqt_events.cpp * contrib/hbqt/hbqt_slots.cpp * contrib/hbqt/hbqt_hbqmainwindow.cpp + Added FIXME (also one QUESTION) to these code parts. All of them are potential leak or GPF generator issues. Could someone take a look at these? * contrib/hbqt/Makefile - contrib/hbqt/hbqt_hbdrawingarea.h - contrib/hbqt/hbqt_hbdrawingarea.cpp - Deleted unused custom class. * contrib/hbqt/qtgui/QTableView.cpp * contrib/hbqt/qtcore/QAbstractItemModel.cpp * Regenerated. 2009-12-10 22:46 UTC+0100 Viktor Szakats * contrib/hbqt/hbqt_events.cpp * contrib/hbqt/hbqt_slots.cpp ! Fixed events/slots handling to make sure the objects always exist on access. % This also made explicit initialization from .prg code unnecessary, so these two functions got deleted: QT_SETEVENTFILTER(), QT_SETEVENTSLOTS() ! Fixed events/slots handling to reset thread local object pointer to NULL after destruction. * contrib/hbxbp/xbpsle.prg * contrib/hbxbp/xbplistbox.prg * contrib/hbxbp/xbpwindow.prg * contrib/hbxbp/xbptreeview.prg * contrib/hbxbp/xbpdialog.prg * contrib/hbxbp/xbpspinbutton.prg * contrib/hbxbp/xbpgeneric.prg % Simple wrapper named HBXBP_SETEVENTFILTER() deleted and replaced with QT_GETEVENTFILTER() calls. (name still subject to change) ; NOTE: 1) In demoxbp MT mode build, the second dialog behaves strangely. It updates the screen slowly and not at all. Pritpal, please check it to make sure not some recent change broke it. 2) Forgot to mention in prev entry, but removing HBQMainWindow() mutex altogether didn't cause any change/loss of functionality in my tests, so my question is: Is it really needed? 2009-12-10 22:22 UTC+0100 Viktor Szakats * contrib/hbqt/hbqt_hbqmainwindow.cpp * contrib/hbxbp/xbpgeneric.prg + Replaced HB_MUTEXCREATE() and HB_MUTEXDESTROY() with automatic initialization and deinitialization. ; NOTE: From now on HBQT needs to be requested by apps willing to use HBQT, with: REQUEST HB_QT This will ensure in the future that all init and deinit procedure are done correctly. It also makes it safe to use QT even from INIT and EXIT PROCECUREs. * contrib/hbqt/tests/demoqt.prg * contrib/hbxbp/tests/demoxbp.prg * contrib/hbide/hbide.prg + Added REQUEST HB_QT. 2009-12-10 21:49 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbatomic.h * removed 'static inline' from OpenWatcom ASM functions defined by '#pragma aux ...' to make OpenWatcom < 1.8 happy. Version 1.8 ignores 'static inline' attributes in such declarations. * harbour/config/dos/watcom.mk * harbour/utils/hbmk2/hbmk2.prg * switched from DOS/4GW to DOS/32A extender. It's faster what is noticeable also in final Harbour binaries, does not have DOS4G command line limitations and has nice tools which allow to easy set different runtime parameters (ss.exe) or compress final executable (sc.exe) BTW people having problem with maximum command line size in OpenWatcom tools can replace DOS/4GW with DOS/32A in this tools It can be made also globally by coping dos32a.exe to dos4gw.exe. NOTE: I've found why DOS Harbour OpenWatcom application created in my Linux box were not working. Just simply the directory with DOS extender setup files was not in PATH. Creating DOS OpenWatcom applications in other systems (i.e. Linux or OS2) do not forget to add directory with DOS binaries '%WATCOM%\binw' to PATH after directory with platform native OpenWatcom binaries '%WATCOM%\bin*' or copy DOS extender (dos32a.exe) to one of PATH directories. * harbour/config/dos/watcom.mk * added workaround for not included automatically by linker CLIB library when Harbour is compiler in pure C mode. I hope it's only temporary hack which we can remove in the future. I haven't added it to hbmk2 so linking DOS applications using hbmk2 user will have to add -lclib3r to hbmk2 parameters. * harbour/config/common/watcom.mk * disable DOS/32A banner messages 2009-12-10 21:00 UTC+0100 Viktor Szakats * contrib/hbqt/hbqt_slots.h - Deleted unnecessary headers. 2009-12-10 20:35 UTC+0100 Viktor Szakats * contrib/hbqt/Makefile + Added generic support to MOC compile headers. ; If this works out well, it makes it possible to use granular (non-monolythic) headers for 'Q_OBJECT' classes. It's also possible to move this logic into sub-libs. This may also mean that some hacks which were currently employed can be solved cleanly. Please test/review. * contrib/hbqt/hbqt_slots.h + contrib/hbqt/hbqt_hbqtableview.h * contrib/hbqt/hbqt_hbqtableview.cpp * contrib/hbqt/qth/QTableView.qth * contrib/hbqt/hbqt_hbdbfmodel.cpp * contrib/hbqt/qth/QAbstractItemModel.qth + contrib/hbqt/hbqt_hbdrawingarea.h * contrib/hbqt/hbqt_hbdrawingarea.cpp + contrib/hbqt/hbqt_hbqmainwindow.h * contrib/hbqt/hbqt_hbqmainwindow.cpp + contrib/hbqt/hbqt_hbqsyntaxhighlighter.h * contrib/hbqt/hbqt_hbqsyntaxhighlighter.cpp * contrib/hbqt/qth/QSyntaxHighlighter.qth + contrib/hbqt/hbqt_events.h * contrib/hbqt/hbqt_events.cpp * Split monolithic hbqt_slots.h header to distinct class headers. * contrib/hbqt/generator/hbqtgen.prg - contrib/hbqt/filelist.mk * contrib/hbqt/Makefile * Changed to not generate central filelist.mk. (no dynamic files in central lib) * config/rules.mk - Deleted .l reference. * contrib/hbqt/qtgui/QSyntaxHighlighter.cpp * contrib/hbqt/qtgui/QTableView.cpp * contrib/hbqt/qtcore/QAbstractItemModel.cpp * Regenerated. 2009-12-10 16:10 UTC+0100 Viktor Szakats * contrib/hbqt/Makefile * contrib/hbqt/generator/hbqtgen.prg + Moved static source files from filelist.mk to Makefile. * contrib/hbqt/Makefile * contrib/hbqt/hbqt_slots.cpp + contrib/hbqt/hbqt_events.cpp + Moved event filter related stuff to separate file. % Cleaned lots of unnecessary QT headers includes. 2009-12-10 15:59 UTC+0100 Viktor Szakats * contrib/hbqt/hbqt_slots.cpp * contrib/hbxbp/xbpgeneric.prg * Rename: QT_QEVENTFILTER() -> QT_GETEVENTFILTER(). There will be some more renames to cleanup prefix usage. * contrib/hbwin/win_regc.c * Minor formatting. 2009-12-10 15:40 UTC+0100 Viktor Szakats * hbwin/win_misc.c * hbwin/win_prn1.c + Using new UNICODE parameter passing macros instead of HB_TCHAR*() ones. (where possible) WIN_RUNDETACHED(), WIN_LOADRESOURCE(), WIN_CREATEDC(), WIN_GETPRINTERFONTNAME() * hbwin/wapi_winbase.c ! Fixed typo in two recently added WAPI function names. * contrib/hbqt/hbqt.hbc * contrib/hbqt/hbqts.hbc + Added psapi for win platform, until it's needed for memory debugging purposes. 2009-12-10 11:24 UTC+0100 Viktor Szakats * src/common/hbver.c * Minor cleanup. * contrib/hbqt/generator/hbqtgen.prg ! Fixed typo in TRACE text. * contrib/hbqt/qtgui/* * contrib/hbqt/qtcore/* * contrib/hbqt/qtnetwork/* * Regenerated. 2009-12-10 10:42 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/xhb/fparse.c * pacified BCC warning * harbour/src/rtl/base64c.c * harbour/src/rtl/diskspac.c * harbour/src/rtl/filesys.c * harbour/src/rtl/hbproces.c * harbour/src/rtl/gtos2/gtos2.c * harbour/src/rdd/dbffpt/dbffpt1.c * harbour/contrib/xhb/freadlin.c * harbour/contrib/xhb/txtline.c * harbour/contrib/hbbtree/hb_btree.c * harbour/contrib/rddsql/sqlbase.c * harbour/contrib/rddsql/sddodbc/odbcdd.c * pacified OpenWatcom C warnings * harbour/include/hbatomic.h % rewritten OpenWatcom atomic ASM macros. Now they precisely informs compiler about used and modified registered and also force passing arguments in strictly defined what simplify ASM code. 2009-12-10 02:08 UTC+0100 Viktor Szakats * contrib/hbqt/generator/hbqtgen.prg % Changed to only save files which have indeed changed (to avoid unnecessary rebuilds) * contrib/hbqt/Makefile * contrib/hbqt/hbqt.h * contrib/hbqt/hbqt_slots.h - contrib/hbqt/hbqt_hbqtdbfmodel.cpp + contrib/hbqt/hbqt_hbdbfmodel.cpp - contrib/hbqt/hbqt_hbqtsyntaxhighlighter.cpp + contrib/hbqt/hbqt_hbqsyntaxhighlighter.cpp - contrib/hbqt/hbqt_hbqtmymainwindow.cpp + contrib/hbqt/hbqt_hbqmainwindow.cpp - contrib/hbqt/hbqt_hbqtmydrawingarea.cpp + contrib/hbqt/hbqt_hbdrawingarea.cpp - contrib/hbqt/hbqt_hbqttableview.cpp + contrib/hbqt/hbqt_hbqtableview.cpp * contrib/hbqt/qth/QAbstractItemModel.qth * contrib/hbqt/qth/QSyntaxHighlighter.qth * contrib/hbqt/qth/QTableView.qth * Following class renames done: - HbSyntaxHighlighter -> HBQSyntaxHighlighter (HBIDE) - HbDbfModel -> HBDbfModel (HBXBP) - MyDrawingArea -> HBDrawingArea (UNUSED) - MyMainWindow -> HBQMainWindow - HbTableView -> HBQTableView (HBXBP) ; FIXME: These classes seem to be the problematic parts of HBQT. They violate layering, there are naming inconsistencies (standard QT .prg level class internally refers to inherited special Harbour class, they implement HBXBP and IDE functionality embedded in HBQT to hack around the rule to not place .c code in HBXBP/HBIDE, they are not using GC collected pointers, they require mutexes which initialization isn't properly solved, one class is nowhere used. etcect) * contrib/hbxbp/xbpbrowse.prg * contrib/hbxbp/xbpwindow.prg * contrib/hbxbp/xbpdialog.prg * Renames applied to HBXBP code. * contrib/hbqt/qtgui/TQTableView.prg * contrib/hbqt/qtgui/QSyntaxHighlighter.cpp * contrib/hbqt/qtgui/QTableView.cpp * contrib/hbqt/qtcore/TQAbstractItemModel.prg * contrib/hbqt/qtcore/QAbstractItemModel.cpp * Regenerated after .qth changes. 2009-12-10 01:21 UTC+0100 Viktor Szakats * contrib/hbqt/hbqt.h % Minor cleanup after prev. * contrib/hbqt/generator/hbqtgen.prg * Changed to use HB_TRACE() instead of hbqt_debug(). ; NOTE: IMPORTANT: Now to enabled debug trace calls, you have to use the standard Harbour method: HB_USER_CFLAGS=-DHB_TR_LEVEL_DEBUG It's enough to enable this setting when build hbqt lib, to get HBQT trace calls. In addition, following setting stil works to enable .prg level debug trace calls: HB_USER_PRGFLAGS=-D__HB_DEBUG__ * contrib/hbqt/qtgui/QPageSetupDialog.cpp * contrib/hbqt/qtgui/QGridLayout.cpp * contrib/hbqt/qtgui/QItemSelectionModel.cpp * contrib/hbqt/qtgui/QTextLength.cpp * contrib/hbqt/qtgui/QConicalGradient.cpp * contrib/hbqt/qtgui/QStandardItemModel.cpp * contrib/hbqt/qtgui/QItemSelection.cpp * contrib/hbqt/qtgui/QTransform.cpp * contrib/hbqt/qtgui/QPicture.cpp * contrib/hbqt/qtgui/QAction.cpp * contrib/hbqt/qtgui/QPaintEvent.cpp * contrib/hbqt/qtgui/QStyledItemDelegate.cpp * contrib/hbqt/qtgui/QWidget.cpp * contrib/hbqt/qtgui/QFontDialog.cpp * contrib/hbqt/qtgui/QToolBox.cpp * contrib/hbqt/qtgui/QTextListFormat.cpp * contrib/hbqt/qtgui/QTextEdit.cpp * contrib/hbqt/qtgui/QMouseEvent.cpp * contrib/hbqt/qtgui/QFontComboBox.cpp * contrib/hbqt/qtgui/QStyleOptionHeader.cpp * contrib/hbqt/qtgui/QListView.cpp * contrib/hbqt/qtgui/QRadialGradient.cpp * contrib/hbqt/qtgui/QCursor.cpp * contrib/hbqt/qtgui/QLabel.cpp * contrib/hbqt/qtgui/QPainterPath.cpp * contrib/hbqt/qtgui/QStylePainter.cpp * contrib/hbqt/qtgui/QStyleOptionToolButton.cpp * contrib/hbqt/qtgui/QBrush.cpp * contrib/hbqt/qtgui/QLinearGradient.cpp * contrib/hbqt/qtgui/QProgressBar.cpp * contrib/hbqt/qtgui/QStyleOptionToolBox.cpp * contrib/hbqt/qtgui/QStyleOptionTabBarBase.cpp * contrib/hbqt/qtgui/QToolBar.cpp * contrib/hbqt/qtgui/QFontMetricsF.cpp * contrib/hbqt/qtgui/QToolButton.cpp * contrib/hbqt/qtgui/QWindowsStyle.cpp * contrib/hbqt/qtgui/QColor.cpp * contrib/hbqt/qtgui/QListWidget.cpp * contrib/hbqt/qtgui/QTextLayout.cpp * contrib/hbqt/qtgui/QTextCursor.cpp * contrib/hbqt/qtgui/QTextDocument.cpp * contrib/hbqt/qtgui/QPolygon.cpp * contrib/hbqt/qtgui/QRadioButton.cpp * contrib/hbqt/qtgui/QStyleOptionViewItem.cpp * contrib/hbqt/qtgui/QFileIconProvider.cpp * contrib/hbqt/qtgui/QTextFrameFormat.cpp * contrib/hbqt/qtgui/QTextBlockFormat.cpp * contrib/hbqt/qtgui/QStyleOptionToolBar.cpp * contrib/hbqt/qtgui/QBitmap.cpp * contrib/hbqt/qtgui/QCalendarWidget.cpp * contrib/hbqt/qtgui/QStyleOptionTitleBar.cpp * contrib/hbqt/qtgui/QHeaderView.cpp * contrib/hbqt/qtgui/QScrollBar.cpp * contrib/hbqt/qtgui/QStyleOptionButton.cpp * contrib/hbqt/qtgui/QCommandLinkButton.cpp * contrib/hbqt/qtgui/QFocusFrame.cpp * contrib/hbqt/qtgui/QSizePolicy.cpp * contrib/hbqt/qtgui/QApplication.cpp * contrib/hbqt/qtgui/QTextFragment.cpp * contrib/hbqt/qtgui/QPlainTextEdit.cpp * contrib/hbqt/qtgui/QInputDialog.cpp * contrib/hbqt/qtgui/QKeySequence.cpp * contrib/hbqt/qtgui/QPrinter.cpp * contrib/hbqt/qtgui/QActionGroup.cpp * contrib/hbqt/qtgui/QTextCharFormat.cpp * contrib/hbqt/qtgui/QStyleOptionSlider.cpp * contrib/hbqt/qtgui/QInputEvent.cpp * contrib/hbqt/qtgui/QWidgetItem.cpp * contrib/hbqt/qtgui/QMenu.cpp * contrib/hbqt/qtgui/QStyleOptionSizeGrip.cpp * contrib/hbqt/qtgui/QStyleOptionGroupBox.cpp * contrib/hbqt/qtgui/QImage.cpp * contrib/hbqt/qtgui/QFontInfo.cpp * contrib/hbqt/qtgui/QIcon.cpp * contrib/hbqt/qtgui/QPolygonF.cpp * contrib/hbqt/qtgui/QHBoxLayout.cpp * contrib/hbqt/qtgui/QTreeWidget.cpp * contrib/hbqt/qtgui/QCommonStyle.cpp * contrib/hbqt/qtgui/QProgressDialog.cpp * contrib/hbqt/qtgui/QStyleFactory.cpp * contrib/hbqt/qtgui/QButtonGroup.cpp * contrib/hbqt/qtgui/QSystemTrayIcon.cpp * contrib/hbqt/qtgui/QStyleOptionDockWidget.cpp * contrib/hbqt/qtgui/QColorDialog.cpp * contrib/hbqt/qtgui/QListWidgetItem.cpp * contrib/hbqt/qtgui/QStyleOptionTabWidgetFrame.cpp * contrib/hbqt/qtgui/QDateTimeEdit.cpp * contrib/hbqt/qtgui/QInputMethodEvent.cpp * contrib/hbqt/qtgui/QStyleOptionFocusRect.cpp * contrib/hbqt/qtgui/QMainWindow.cpp * contrib/hbqt/qtgui/QDesktopWidget.cpp * contrib/hbqt/qtgui/QTableWidgetSelectionRange.cpp * contrib/hbqt/qtgui/QWidgetAction.cpp * contrib/hbqt/qtgui/QStringListModel.cpp * contrib/hbqt/qtgui/QDockWidget.cpp * contrib/hbqt/qtgui/QTextBrowser.cpp * contrib/hbqt/qtgui/QTableWidget.cpp * contrib/hbqt/qtgui/QErrorMessage.cpp * contrib/hbqt/qtgui/QWizard.cpp * contrib/hbqt/qtgui/QFileSystemModel.cpp * contrib/hbqt/qtgui/QDial.cpp * contrib/hbqt/qtgui/QTextOption.cpp * contrib/hbqt/qtgui/QImageWriter.cpp * contrib/hbqt/qtgui/QMenuBar.cpp * contrib/hbqt/qtgui/QStyleOptionMenuItem.cpp * contrib/hbqt/qtgui/QWizardPage.cpp * contrib/hbqt/qtgui/QFontMetrics.cpp * contrib/hbqt/qtgui/QPrintDialog.cpp * contrib/hbqt/qtgui/QStandardItem.cpp * contrib/hbqt/qtgui/QStyleOptionComboBox.cpp * contrib/hbqt/qtgui/QSplashScreen.cpp * contrib/hbqt/qtgui/QSizeGrip.cpp * contrib/hbqt/qtgui/QMessageBox.cpp * contrib/hbqt/qtgui/QTextImageFormat.cpp * contrib/hbqt/qtgui/QGroupBox.cpp * contrib/hbqt/qtgui/QImageReader.cpp * contrib/hbqt/qtgui/QTextDocumentFragment.cpp * contrib/hbqt/qtgui/QPushButton.cpp * contrib/hbqt/qtgui/QTreeWidgetItem.cpp * contrib/hbqt/qtgui/QBoxLayout.cpp * contrib/hbqt/qtgui/QTextFormat.cpp * contrib/hbqt/qtgui/QPalette.cpp * contrib/hbqt/qtgui/QTextFrame.cpp * contrib/hbqt/qtgui/QTextBlock.cpp * contrib/hbqt/qtgui/QPainter.cpp * contrib/hbqt/qtgui/QStyleOptionProgressBar.cpp * contrib/hbqt/qtgui/QTextTableFormat.cpp * contrib/hbqt/qtgui/QStatusBar.cpp * contrib/hbqt/qtgui/QTabWidget.cpp * contrib/hbqt/qtgui/QContextMenuEvent.cpp * contrib/hbqt/qtgui/QLCDNumber.cpp * contrib/hbqt/qtgui/QTextDocumentWriter.cpp * contrib/hbqt/qtgui/QStyleOptionTab.cpp * contrib/hbqt/qtgui/QDateEdit.cpp * contrib/hbqt/qtgui/QCheckBox.cpp * contrib/hbqt/qtgui/QSound.cpp * contrib/hbqt/qtgui/QTabBar.cpp * contrib/hbqt/qtgui/QSpacerItem.cpp * contrib/hbqt/qtgui/QFileDialog.cpp * contrib/hbqt/qtgui/QDirModel.cpp * contrib/hbqt/qtgui/QDialog.cpp * contrib/hbqt/qtgui/QFormLayout.cpp * contrib/hbqt/qtgui/QStyleOptionFrame.cpp * contrib/hbqt/qtgui/QSyntaxHighlighter.cpp * contrib/hbqt/qtgui/QFont.cpp * contrib/hbqt/qtgui/QTableWidgetItem.cpp * contrib/hbqt/qtgui/QVBoxLayout.cpp * contrib/hbqt/qtgui/QMovie.cpp * contrib/hbqt/qtgui/QStyleOption.cpp * contrib/hbqt/qtgui/QTreeView.cpp * contrib/hbqt/qtgui/QTextLine.cpp * contrib/hbqt/qtgui/QTextItem.cpp * contrib/hbqt/qtgui/QTimeEdit.cpp * contrib/hbqt/qtgui/QMatrix.cpp * contrib/hbqt/qtgui/QPrintPreviewDialog.cpp * contrib/hbqt/qtgui/QSlider.cpp * contrib/hbqt/qtgui/QSpinBox.cpp * contrib/hbqt/qtgui/QScrollArea.cpp * contrib/hbqt/qtgui/QFontDatabase.cpp * contrib/hbqt/qtgui/QLineEdit.cpp * contrib/hbqt/qtgui/QPixmap.cpp * contrib/hbqt/qtgui/QSplitter.cpp * contrib/hbqt/qtgui/QComboBox.cpp * contrib/hbqt/qtgui/QDoubleSpinBox.cpp * contrib/hbqt/qtgui/QStyleOptionComplex.cpp * contrib/hbqt/qtgui/QTableView.cpp * contrib/hbqt/qtgui/QPen.cpp * contrib/hbqt/qtgui/QRegion.cpp * contrib/hbqt/qtgui/QFrame.cpp * contrib/hbqt/qtgui/QCompleter.cpp * contrib/hbqt/qtgui/QStyleOptionSpinBox.cpp * contrib/hbqt/qtcore/QDate.cpp * contrib/hbqt/qtcore/QProcess.cpp * contrib/hbqt/qtcore/QTextBoundaryFinder.cpp * contrib/hbqt/qtcore/QPoint.cpp * contrib/hbqt/qtcore/QTextStream.cpp * contrib/hbqt/qtcore/QObject.cpp * contrib/hbqt/qtcore/QTimer.cpp * contrib/hbqt/qtcore/QEvent.cpp * contrib/hbqt/qtcore/QDataStream.cpp * contrib/hbqt/qtcore/QResource.cpp * contrib/hbqt/qtcore/QModelIndex.cpp * contrib/hbqt/qtcore/QTranslator.cpp * contrib/hbqt/qtcore/QLineF.cpp * contrib/hbqt/qtcore/QRect.cpp * contrib/hbqt/qtcore/QTime.cpp * contrib/hbqt/qtcore/QLocale.cpp * contrib/hbqt/qtcore/QPointF.cpp * contrib/hbqt/qtcore/QBitArray.cpp * contrib/hbqt/qtcore/QFile.cpp * contrib/hbqt/qtcore/QLatin1String.cpp * contrib/hbqt/qtcore/QSizeF.cpp * contrib/hbqt/qtcore/QMimeData.cpp * contrib/hbqt/qtcore/QLine.cpp * contrib/hbqt/qtcore/QUrl.cpp * contrib/hbqt/qtcore/QStringList.cpp * contrib/hbqt/qtcore/QByteArray.cpp * contrib/hbqt/qtcore/QRectF.cpp * contrib/hbqt/qtcore/QEventLoop.cpp * contrib/hbqt/qtcore/QDir.cpp * contrib/hbqt/qtcore/QSignalMapper.cpp * contrib/hbqt/qtcore/QTextEncoder.cpp * contrib/hbqt/qtcore/QLatin1Char.cpp * contrib/hbqt/qtcore/QRegExp.cpp * contrib/hbqt/qtcore/QFileInfo.cpp * contrib/hbqt/qtcore/QDateTime.cpp * contrib/hbqt/qtcore/QVariant.cpp * contrib/hbqt/qtcore/QUiLoader.cpp * contrib/hbqt/qtcore/QThread.cpp * contrib/hbqt/qtcore/QTextDecoder.cpp * contrib/hbqt/qtcore/QSize.cpp * contrib/hbqt/qtcore/QList.cpp * contrib/hbqt/qtnetwork/QHttp.cpp * contrib/hbqt/qtnetwork/QHttpRequestHeader.cpp * contrib/hbqt/qtnetwork/QNetworkRequest.cpp * contrib/hbqt/qtnetwork/QHttpResponseHeader.cpp * contrib/hbqt/qtnetwork/QFtp.cpp * Regenerated after generator change. 2009-12-10 00:44 UTC+0100 Viktor Szakats * contrib/hbqt/hbqt_destruct.cpp * contrib/hbqt/hbqt_base.cpp * Moved some non-destructor related stuff to hbqt_base.cpp. - Deleted hbqt_debug() low-level call. (this temporarily break build, pls be patient) * C level hbqt_getmemused() is now always defined in Windows builds. * Harbour level HBQT_GETMEMUSED() now always works (not just special debug builds). * contrib/hbqt/hbqt_hbqtdbfmodel.cpp * contrib/hbqt/hbqt_hbqttableview.cpp * contrib/hbqt/hbqt_hbqtmymainwindow.cpp * contrib/hbqt/hbqt_slots.cpp * Replaced hbqt_debug() with HB_TRACE() calls. * contrib/hbqt/hbqt.h ! Added missing 'extern' keywords. ! Added missing 'extern int hbqt_getmemused( void )'. 2009-12-09 23:40 UTC+0100 Viktor Szakats * ChangeLog - examples/hbapollo/ChangeLog - Deleted redundant old local ChangeLog. ; We have only one ChangeLog now. 2009-12-09 23:11 UTC+0100 Viktor Szakats * ChangeLog - contrib/hbtip/ChangeLog * Old local ChangeLog merged into the central one. - examples/hbvpdf/ChangeLog + examples/hbvpdf/readme.txt * Renamed. 2009-12-09 22:26 UTC+0100 Viktor Szakats * ChangeLog - contrib/hbtpathy/ChangeLog * Old local ChangeLog merged into the central one. 2009-12-09 22:22 UTC+0100 Viktor Szakats * INSTALL * Minor cleanups. * ChangeLog - contrib/hbpgsql/ChangeLog * Old local ChangeLog merged into the central one. 2009-12-09 21:25 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/xhb/fparse.c ! fixed few GPF traps and memory leaks % added some minor optimization I strongly suggest to use hb_aTokens() and hb_token*() functions. They have more options and for really large data many times (even hundreds times) faster. 2009-12-09 21:17 UTC+0100 Viktor Szakats * contrib/hbgd/gdwrp.c * Formatting (deleted unnecessary returns and blocks). % Using HB_ERR_FUNCNAME. * ChangeLog - contrib/hbgd/ChangeLog * Merged local ChangeLog into central one. 2009-12-09 20:55 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/rddsql/sqlbase.c ! fixed yet another typo 2009-12-09 20:40 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/Makefile ! added missing newly added header files - thanks to Itamar for information about the problem * harbour/include/hbmsgreg.h ! fixed typo - thanks to Toninho for information about the problem 2009-12-09 20:11 UTC+0100 Viktor Szakats * contrib/hbwin/wapi_winbase.c + WAPI_WAITFORSINGLEOBJECT() + WAPI_WAITFORSINGLEOBJECTEX() + WAPI_WAITFORMULTIPLEOBJECTS() + WAPI_WAITFORMULTIPLEOBJECTSEX() Added new wrappers. Untested. 2009-12-09 19:36 UTC+0100 Viktor Szakats * contrib/hbqt/Makefile * contrib/hbqt/hbqt.ch - contrib/hbqt/hbqt_misc.prg * contrib/hbxbp/xbp.ch * contrib/hbxbp/xbpgeneric.prg + Replaced local trace solution with HB_TRACESTRING(). 2009-12-09 19:13 UTC+0100 Viktor Szakats * src/common/hbtrace.c + Added support for HB_TR_WINOUT envvar (on Windows platform-only) to enable pushing trace output via OutputDebugString() calls. Use this before running an app: set HB_TR_WINOUT=yes (anything non-empty would work, not just 'yes') * src/rtl/trace.c + HB_TRACESTRING(): Added support to accept multiple parameters, it also handles non-string parameters, just like OUTSTD()/QOUT(). % Minor optimization to HB_TRACE() call. ; NOTE: Above two changes make it unnecessary to use custom made debug/trace solutions inside each contrib, and it also makes it unnecessary to use xhb lib for other proprietary trace solutions. * src/rtl/console.c * Variable scope optimization. * contrib/hbgd/gdwrp.c * Minor formatting. 2009-12-09 17:51 UTC+0100 Viktor Szakats * contrib/hbnf/dispc.c * contrib/hbfimage/fi_winfu.c * contrib/hbfimage/fi_wrp.c * contrib/hbgd/gdwrp.c * Changed to use HB_IS*() macros to check parameter types instead of using hb_parinfo() & HB_IT_*. * Formatting. (deleted unnecessary blocks, returns, spaces) 2009-12-09 08:07 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/hbide.prg * contrib/hbxbp/xbpdataref.prg ! Fix in XbpMLE():setData() method, omitted in prev change. 2009-12-09 16:43 UTC+0100 Viktor Szakats * contrib/hbwin/olecore.c * Changed to use HB_SIZE instead of ULONG. ; Please review me, I wouldn't like to break OLE code. ; Only one place remains in hbwin which uses ULONG, as return value of hb_fsSeek(). In this case we need to think about it some more. * contrib/hbqt/hbqt.ch * Minor formatting. 2009-12-09 16:33 UTC+0100 Viktor Szakats * contrib/hbqt/hbqt_slots.cpp % Eliminated two variables. * contrib/hbwin/oleinit.c * contrib/hbwin/win_misc.c * contrib/hbwin/wapi_winuser.c * contrib/hbwin/axcore.c * contrib/hbwin/olecore.c * contrib/hbwin/win_com.c * contrib/hbwin/wapi_commctrl.c * Using HB_TRUE / HB_FALSE consistenly everywhere. 2009-12-09 16:16 UTC+0100 Viktor Szakats * INSTALL + Updated Open Watcom product names to reflect that now plain C is supported as well. 2009-12-09 16:09 UTC+0100 Viktor Szakats * INSTALL * utils/hbmk2/hbmk2.prg * config/dos/watcom.mk * config/win/watcom.mk * config/linux/watcom.mk * config/os2/watcom.mk + Switched back plain C mode for watcom compiler. 2009-12-09 15:41 UTC+0100 Viktor Szakats * contrib/hbwin/win_regc.c * contrib/hbwin/win_prn3.c * contrib/hbwin/win_dll.c + Using new UNICODE parameter passing macros instead of HB_TCHAR*() ones. ; Please review me. The transition is not yet full, as there were some problematic cases, which I've left as is. ! Added UNICODE support for WIN_REGQUERYVALUEEX()'s string return values. * contrib/hbwin/tests/testreg.prg + Added one more test call. ! Fixed to not use legacy registry call. 2009-12-09 15:30 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapilng.h + harbour/include/hbmsgreg.h + added common for all Harbour lang modules (msg*.c) header file with initialization code * harbour/src/lang/msgbe866.c * harbour/src/lang/msgbewin.c * harbour/src/lang/msgbg866.c * harbour/src/lang/msgbgiso.c * harbour/src/lang/msgbgmik.c * harbour/src/lang/msgbgwin.c * harbour/src/lang/msgca.c * harbour/src/lang/msgcs852.c * harbour/src/lang/msgcsiso.c * harbour/src/lang/msgcskam.c * harbour/src/lang/msgcswin.c * harbour/src/lang/msgde.c * harbour/src/lang/msgdewin.c * harbour/src/lang/msgel.c * harbour/src/lang/msgelwin.c * harbour/src/lang/msgeo.c * harbour/src/lang/msges.c * harbour/src/lang/msgeswin.c * harbour/src/lang/msgeu.c * harbour/src/lang/msgfr.c * harbour/src/lang/msggl.c * harbour/src/lang/msghe862.c * harbour/src/lang/msghewin.c * harbour/src/lang/msghr437.c * harbour/src/lang/msghr852.c * harbour/src/lang/msghriso.c * harbour/src/lang/msghrwin.c * harbour/src/lang/msghu852.c * harbour/src/lang/msghucwi.c * harbour/src/lang/msghuiso.c * harbour/src/lang/msghuwin.c * harbour/src/lang/msgid.c * harbour/src/lang/msgis850.c * harbour/src/lang/msgit.c * harbour/src/lang/msgko.c * harbour/src/lang/msgltwin.c * harbour/src/lang/msgnl.c * harbour/src/lang/msgpl852.c * harbour/src/lang/msgpliso.c * harbour/src/lang/msgplmaz.c * harbour/src/lang/msgplwin.c * harbour/src/lang/msgpt.c * harbour/src/lang/msgptiso.c * harbour/src/lang/msgro.c * harbour/src/lang/msgru866.c * harbour/src/lang/msgrukoi.c * harbour/src/lang/msgruwin.c * harbour/src/lang/msgsk852.c * harbour/src/lang/msgskiso.c * harbour/src/lang/msgskkam.c * harbour/src/lang/msgskwin.c * harbour/src/lang/msgsl437.c * harbour/src/lang/msgsl852.c * harbour/src/lang/msgsliso.c * harbour/src/lang/msgslwin.c * harbour/src/lang/msgsr852.c * harbour/src/lang/msgsriso.c * harbour/src/lang/msgsrwin.c * harbour/src/lang/msg_tpl.c * harbour/src/lang/msgtr857.c * harbour/src/lang/msgtrwin.c * harbour/src/lang/msgua866.c * harbour/src/lang/msguados.c * harbour/src/lang/msguakoi.c * harbour/src/lang/msguawin.c * harbour/src/lang/msgzhb5.c * harbour/src/lang/msgzhgb.c * modified to use initialization code defined in common for all lang modules header file. * harbour/contrib/gtwvg/wvggui.c * harbour/contrib/hbqt/qtgui/QApplication.cpp * harbour/contrib/hbqt/qth/QApplication.qth * use default GT startup cvode (#include "hbgtreg.h") * harbour/include/hbinit.h + harbour/include/hbiniseg.h * replaced HB_MSC_STARTUP code with more universal HB_DATASEG_STARTUP * moved HB_DATASEG_STARTUP code to separate header file to reduce modifications in other files when this code has to be changed or extended + added support for startup code in OpenWatcom C builds. Now we can create OpenWatcom Harbour binaries without forcing C++ mode. I've tested Linux and Win32 builds and they works correctly. Probably similar solution can be used also for other C compilers which do not have native interface to define starup code. * harbour/src/compiler/genc.c * harbour/utils/hbmk2/hbmk2.prg * harbour/include/hbcdpreg.h * harbour/include/hbgtreg.h * harbour/src/rtl/hbregex.c * harbour/src/rdd/dbf1.c * harbour/src/rdd/dbfcdx/dbfcdx1.c * harbour/src/rdd/dbffpt/dbffpt1.c * harbour/src/rdd/dbfnsx/dbfnsx1.c * harbour/src/rdd/dbfntx/dbfntx1.c * harbour/src/rdd/delim1.c * harbour/src/rdd/sdf1.c * harbour/src/pp/pplib3.c * harbour/contrib/rddads/ads1.c * harbour/contrib/rddads/adsx.c * harbour/contrib/rddsql/sddfb/fbirddd.c * harbour/contrib/rddsql/sddmy/mysqldd.c * harbour/contrib/rddsql/sddodbc/odbcdd.c * harbour/contrib/rddsql/sddpg/pgsqldd.c * harbour/contrib/rddsql/sqlbase.c * harbour/contrib/rddsql/sqlmix.c * harbour/contrib/hbbmcdx/bmdbfcdx.c * harbour/contrib/hbmemio/memio.c * harbour/contrib/hbnetio/netiocli.c * harbour/contrib/hbbtree/hb_btree.c * harbour/contrib/hbwin/olecore.c * harbour/contrib/hbwin/win_com.c * modified to use HB_DATASEG_STARTUP instead of HB_MSC_STARTUP Now HB_MSC_STARTUP is local macro used only in hbinit.h. Please make MSVC build tests. * harbour/contrib/hbmemio/memio.c ! declare s_fileFuncs structure as static * removed unnecessary code to directly register HB_MEMIO symbol. Mindaugas if you need it for some reasons then I can reactivate it but I would like to know why it's necessary for you. * harbour/src/vm/task.c ! added missing {} * harbour/src/vm/fm.c * locally disabled "unreachable code" warnings for dlmalloc.c compilation by OpenWatcom in pure C mode * harbour/src/rtl/hbzlibgz.c * minor code cleanup * harbour/src/rtl/filesys.c * pacified OS/2 warnings * harbour/contrib/hbcairo/core.c ! fixed casting for C++ builds * harbour/contrib/hbwin/wapi_winbase.c ! fixed casting * harbour/src/Makefile * changed the order of compiled libraries to improve little bit the speed in concurrent (-j<N>) builds 2009-12-09 12:50 UTC+0100 Viktor Szakats * contrib/hbwin/legacyco.c * contrib/hbwin/wapi_winuser.c ! Added missing header. * ChangeLog + Missed change added to prev entry. 2009-12-09 04:06 UTC+0100 Viktor Szakats * include/hbwinuni.h + Added HB_PARSTRDEF() macro. So far the same as HB_PARSTR(), but it's supposed to mark places where hb_parcx() was used (where WinAPI expects non-optional string parameter). * contrib/hbwin/wapi_winbase.c * contrib/hbwin/wapi_winuser.c * contrib/hbwin/wapi_shellapi.c * contrib/hbwin/legacyco.c + Using new UNICODE parameter passing macros instead of HB_TCHAR*() ones. ; NOTE: I'm unsure how to apply the same to wapi_commctrl.c, could anyone help? Here the string is assigned to win structure and passed to winapi, which may mean that string space should be kept there after returning from function. ! WAPI_FORMATMESSAGE() fixed to return empty string (instead of gargabe) if there was an error returned (e.g. because of too small, or no buffer). * contrib/hbxbp/xbpgeneric.prg ! Using HB_SYMBOL_UNUSED() to mark unused parameters, instead of local solution. % Minor optimizations. * MSGBOX() changed to not display all text in bold. + Changed <BR> to <br /> in MSGBOX(). 2009-12-08 18:27 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/hbide.prg * contrib/hbide/idemisc.prg * contrib/hbide/projects/hbide.hbi * contrib/hbqt/hbqt_slots.cpp * contrib/hbqt/hbqt_slots.h * contrib/hbxbp/xbpmle.prg + Implemented project building. Right click on <Harbour-Qt IDE> project tree node and select <Save and Build> or <Save and Build (Qt)> context menu options. I am looking for Qt like process management in Harbour. I mean, I need callback when process is running. 2009-12-08 16:56 UTC+0100 Viktor Szakats * src/common/hbver.c ! Fixed determining the patch level of MSVC compiler on or above version 2005. Adapted fix from xhb / Andi Jahja. * contrib/hbqt/hbqt_slots.cpp * Little renaming. 2009-12-08 15:34 UTC+0100 Viktor Szakats * contrib/hbqt/hbqt_slots.cpp * Further formatting and some variables renamed. Again sorry for using such long lines, but - at least to me - it reveals the slot logic so clearly. In fact from this point it's even visible how this could be made modular. 2009-12-08 13:39 UTC+0100 Viktor Szakats * contrib/hbcairo/core.c + Enabled HB_USE_ITEM mode which doesn't use Harbour internals. 2009-12-08 13:16 UTC+0100 Viktor Szakats * include/hbwinuni.h ! Fixed two typos in new macros. * contrib/hbwin/wapi_shellapi.c * Minor formatting. 2009-12-08 12:02 UTC+0100 Viktor Szakats * include/Makefile + include/hbwinuni.h * contrib/hbwin/wapi_shellapi.c * include/hbwince.h + Moved new UNICODE translation macros to separate header. 2009-12-08 11:43 UTC+0100 Viktor Szakats * src/macro/Makefile - src/macro/macro.l * src/compiler/Makefile - src/compiler/harbour.l - src/compiler/fixflex.c * INSTALL * config/c.mk * config/rules.mk * Deleted references to Flex and related files. Flex is not used since long. It couldn't generate MT safe lexer code. 2009-12-08 11:30 UTC+0100 Viktor Szakats + contrib/hbqt/hbqt_hbqtmymainwindow.cpp * contrib/hbqt/hbqt_slots.cpp * contrib/hbqt/Makefile * MyMainWindow() class moved to separate source file. * Deleted commented debug calls. * Code formatting. ! Fix to call mutex initialization on MyMainWindows creation, to guarantee its present. Anyhow current method is still not safe. % Cleaned some casts. ; FIXME: mutex initialization in MyMainWindow. [DONE] ; FIXME: MyMainWindow is a leakable resource and it _is_ leaked from hbxbp. [DONE] * contrib/hbxbp/xbpsle.prg * contrib/hbxbp/xbplistbox.prg * contrib/hbxbp/xbprtf.prg * contrib/hbxbp/xbpbrowse.prg * contrib/hbxbp/xbpwindow.prg * contrib/hbxbp/xbpcombobox.prg * contrib/hbxbp/xbppushbutton.prg * contrib/hbxbp/xbp.ch * contrib/hbxbp/xbptreeview.prg * contrib/hbxbp/xbpdialog.prg * contrib/hbxbp/xbpspinbutton.prg * contrib/hbxbp/xbpgeneric.prg * contrib/hbide/hbide.prg * :createFromQtPtr() -> hbCreateFromQtPtr() ! Fixed few non-Xbase++ public functions to hold the hbxbp_ prefix in their names. It probably needs further cleanup. % Highly optimized ConvertAFact(), now goes by the name hbxbp_ConvertAFactFromXBP(). Only one conversion was used in code, so I dropped the other, but it can be readded similarly if ever needed. ! Mutex destroy moved to the end of EXIT PROC, anyway it's still not safe and should be solved differently. (FIXME) ; FIXME: hbxbp_SetEventFilter() is passed to several function, but this function has no return value. [DONE] * contrib/hbcairo/core.c * Minor. 2009-12-07 23:43 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/hbqt_hbqtdbfmodel.cpp * contrib/hbqt/hbqt_slots.cpp * contrib/hbxbp/tests/demoxbp.prg ! Fixed unoperational demoxbp.exe. 2009-12-08 04:07 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbcairo/core.c ! fixed code which operates on GC blocks and make both versions (with and without HB_USE_ITEM) working in the same way so thay can be easy compared. 2009-12-08 02:53 UTC+0100 Viktor Szakats * contrib/hbqt/hbqt_slots.cpp ! Fixed to check for NULL pointer and return error in QT_CONNECT_EVENT() and QT_DISCONNECT_EVENT() and MyMainWindow desctructor. ; FIXME: Passing non-block to QT_MYMAINWINDOW() first parameter will cause GPFs. [MIS-REPORT] * contrib/hbxbp/tests/demoxbp.prg * contrib/hbxbp/xbpwindow.prg * contrib/hbxbp/xbpdialog.prg * contrib/hbxbp/xbpgeneric.prg ! THREADID() -> HB_THREADID(). (former is not necessarily available in core) 2009-12-08 02:41 UTC+0100 Viktor Szakats * contrib/hbqt/hbqt_slots.cpp % Eliminated local variable in all Slots:: method. 2009-12-08 02:32 UTC+0100 Viktor Szakats * contrib/hbqt/hbqt_slots.cpp * Formatting. ! Deleted explicit ( char * ) casts. ! Converted some types to const char *. + Added hbqt_ prefix to Slot*() callback names. * ChangeLog + Added missing changes to my 2009-12-08 01:09 entry. 2009-12-08 01:51 UTC+0100 Viktor Szakats * contrib/hbqt/hbqt_destruct.cpp * contrib/hbxbp/xbptabpage.prg * contrib/hbxbp/xbptreeview.prg * contrib/hbide/hbide.prg ! Renamed ISEQUALGCQTPOINTER() to HBQT_ISEQUALGCQTPOINTER() 2009-12-07 16:30 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/hbide.prg + Added some more debug code. Now HBIDE exits cleanly. * contrib/hbqt/hbqt_destruct.cpp - Removed HBQT_QTPTR_FROM_GCPOINTER() + Added ISEQUALGCQTPOINTER() * contrib/hbqt/hbqt_slots.cpp ! Fixed MainWindow::~MainWindow() calls. Was a reason FOR many GPFs. * contrib/hbqt/qtgui/QApplication.cpp * contrib/hbqt/qth/QApplication.qth - Removed call to Qt_destroy_codeblocks(). * contrib/hbxbp/xbpfontdialog.prg ! Proper destruction of font and font metrix. * contrib/hbxbp/xbptabpage.prg % Replaced call to HBQT_QTPTR_FROM_GCPOINTER() => IsEqualGcQtPointer() * contrib/hbxbp/xbptreeview.prg % Replaced call to HBQT_QTPTR_FROM_GCPOINTER() => IsEqualGcQtPointer() * contrib/hbxbp/xbpwindow.prg % Replaced call to HBQT_QTPTR_FROM_GCPOINTER() => IsEqualGcQtPointer() * contrib/hbxbp/tests/demoxbp.prg ! Test calls to overview memory usage with different modes to release Qt pointers. Now it exits cleanly. * contrib/hbide/hbide.prg + Added some more debug code. Now HBIDE exits cleanly. * contrib/hbqt/hbqt_destruct.cpp - Removed HBQT_QTPTR_FROM_GCPOINTER() + Added ISEQUALGCQTPOINTER() * contrib/hbqt/hbqt_slots.cpp ! Matched hb_vmRequestReenter() / hb_vmRequestRestore() calls. ! Fixed MainWindow::~MainWindow() calls. Was a reason FOR many GPFs. * contrib/hbqt/qtgui/QApplication.cpp * contrib/hbqt/qth/QApplication.qth - Removed call to Qt_destroy_codeblocks(). * contrib/hbxbp/xbpfontdialog.prg ! Proper destruction of font and font metrix. * contrib/hbxbp/xbptabpage.prg % Replaced call to HBQT_QTPTR_FROM_GCPOINTER() => IsEqualGcQtPointer() * contrib/hbxbp/xbptreeview.prg % Replaced call to HBQT_QTPTR_FROM_GCPOINTER() => IsEqualGcQtPointer() * contrib/hbxbp/xbpwindow.prg % Replaced call to HBQT_QTPTR_FROM_GCPOINTER() => IsEqualGcQtPointer() * contrib/hbxbp/tests/demoxbp.prg ! Test calls to overview memory usage with different modes to release Qt pointers. Now it exits cleanly. 2009-12-08 01:09 UTC+0100 Viktor Szakats + contrib/hbqt/hbqt_hbqtsyntaxhighlighter.cpp + contrib/hbqt/hbqt_hbqtdbfmodel.cpp + contrib/hbqt/hbqt_hbqttableview.cpp + contrib/hbqt/hbqt_hbqtmydrawingarea.cpp * contrib/hbqt/hbqt_destruct.cpp * contrib/hbqt/hbqt_slots.cpp * contrib/hbqt/hbqt_slots.h * contrib/hbqt/Makefile * Formatting (some of these generated long lines, but for now I had to see what's happening in code) * Moved out some classes from hbqt_slots.cpp. (TODO/FIXME: renaming, moving declarations) ! Fixed missing hb_vmRequestRestore() calls. (lots) + Added FIXME hbqt_gcpointer(); % Certain functions marked static. % Optimized out listActv vars. - Deleted commented code. % Large amount of mutually exclusive 'if()'s converted to 'else if()'s. ! Added NULL check in QT_CONNECT_SIGNAL(). * contrib/rddads/adsx.c * contrib/rddads/ads1.c * Minor formatting. 2009-12-07 19:29 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/config/global.mk ! fixed variable name in output message 2009-12-07 18:42 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/pp/ppcore.c * strip UTF-8 BOM signature from compiled .prg files * harbour/include/hbdefs.h + added HB_MACRONAME_JOIN() macro * harbour/include/hbinit.h ! fixed startup function declaration when HB_STRICT_ANSI_C macro is set * harbour/src/rdd/dbfcdx/dbfcdx1.c * modified to use unique names for startup functions * harbour/include/hbcdpreg.h * modified to use unique names in CP startup functions for non #pragma based initialization. * harbour/include/Makefile + harbour/include/hbgtreg.h + added default GT startup code in header file which can be included by GT drivers. This version uses unique function names for non #pragma based initialization. * harbour/src/rtl/gt_tpl/gt_tpl.c * harbour/src/rtl/gtdos/gtdos.c * harbour/src/rtl/gtwin/gtwin.c * harbour/src/rtl/gtxwc/gtxwc.c * harbour/src/rtl/gtcrs/gtcrs.c * harbour/src/rtl/gtstd/gtstd.c * harbour/src/rtl/gttrm/gttrm.c * harbour/src/rtl/gtcgi/gtcgi.c * harbour/src/rtl/gtos2/gtos2.c * harbour/src/rtl/gtsln/gtsln.c * harbour/src/rtl/gtpca/gtpca.c * harbour/src/rtl/gtgui/gtgui.c * harbour/src/rtl/gtwvt/gtwvt.c * harbour/contrib/gtalleg/gtalleg.c * harbour/contrib/gtqtc/gtqtc.cpp * harbour/contrib/gtwvg/gtwvg.c * harbour/contrib/hbct/ctwin.c * use #include "hbgtreg.h" for startup code 2009-12-07 11:40 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/contrib/rddads/ads1.c * renamed RDD from ADT to ADSADT + added public functions ADSADT, ADSNTX, ADSCDX, ADSVFP to be able do a REQUEST RDD using RDD name from .prg code * harbour/contrib/rddads/adsx.c + added ADSNTXX, ADSCDXX, ADSADTX RDDs 2009-12-07 10:14 UTC+0100 Viktor Szakats * external/libpng/pngerror.c * external/libpng/pngrio.c * external/libpng/pngwrite.c * external/libpng/pngconf.h * external/libpng/pngwtran.c * external/libpng/pngpread.c * external/libpng/pngset.c * external/libpng/LICENSE * external/libpng/pngwio.c * external/libpng/pngrutil.c * external/libpng/pngwutil.c * external/libpng/pngread.c * external/libpng/pngmem.c * external/libpng/png.c * external/libpng/pngget.c * external/libpng/pnggccrd.c * external/libpng/png.h * external/libpng/pngrtran.c * external/libpng/pngtrans.c ! Reverted to 1.2.40 (from 1.2.41) Due to this regression: --- wcc386 -zq -bt=nt -bm -w0 -3s -i. -i../../../../../include -d2 -DHB_TR_LEVEL_DEBUG -I/home/ice/w/xhb/hbci/harbour-build/external/zlib -fo=pngmem.obj ../../../pngmem.c ../../../pngmem.c(447): Error! E1057: Modifiers disagree with previous definition of 'png_calloc' ../../../pngmem.c(447): Note! I2002: 'png_calloc' defined in: ../../../png.h(3754) --- 2009-12-07 00:48 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbxbp/xbptreeview.prg ! Fixed how children nodes are managed. * contrib/hbide/idemisc.prg * contrib/hbide/projects/hbide.hbi * contrib/hbide/idestylesheets.prg * contrib/hbide/hbide.prg ! More context menu options. RIGHT+CLICK on <Editor> files presents <Save><Close> options. + Implemented adding source files via <Select>. This implementation tries to substitute meta-key-value, if one is defined, for part of path, a handy feature. 2009-12-07 03:24 UTC+0100 Viktor Szakats * src/rdd/wafunc.c ! Fix to prev. 2009-12-07 02:58 UTC+0100 Viktor Szakats * include/hbwince.h + Added following macros to help transitioning to new method of CP conversion when interfacing with Windows API (both UNICODE and non-UNICODE): HB_PARSTR( n, h, len ) HB_RETSTR( str ) HB_RETSTRLEN( str, len ) HB_STORSTR( str, n ) HB_STORSTRLEN( str, len, n ) ; The goal is to replace HB_TCHAR_*() macros and hb_osEncodeCP() call with above ones. This will allow to use any CPs (even UTF8) on the .prg level and transparently interface with Windows with proper CP translation. We will probably need a few more macros to store strings in array elements e.g., but this is enough for a start. * contrib/hbwin/wapi_shellapi.c + Experimental: WAPI_SHELLEXECUTE() converted to use above new macros. It results in much cleaner code. Minor incompatibility: 3rd parameter is now passed as-is, so if non-string is passed it gets passed to Windows as NULL, which isn't a valid input parameter. ; NOTE: Probably it will useful to have HB_PARSTRDEF() which also accepts a default value to be used when non-string parameter was passed. (to replace old hb_parcx() calls). Is it possible to add such function or any other ways to solve that? ; FIXME: I'm getting this warning: warning: implicit declaration of function 'hb_setGetOSCP' and it's probably too late, but I couldn't find a way to include hbset.h without errors or with least side-effects. Przemek, could you help? [DONE] * contrib/hbwin/win_prn1.c * Formatting. * src/rdd/dbcmd.c * src/rdd/wafunc.c + Moved recently implemented codepage defaulting logic (_SET_DBCODEPAGE) to lower-lever functions. Please review me. * external/libpng/pngrio.c * external/libpng/pngerror.c * external/libpng/pngconf.h * external/libpng/pngwrite.c * external/libpng/pngset.c * external/libpng/pngpread.c * external/libpng/pngwtran.c * external/libpng/LICENSE * external/libpng/pngwio.c * external/libpng/pngrutil.c * external/libpng/pngwutil.c * external/libpng/pngread.c * external/libpng/pngmem.c * external/libpng/png.c * external/libpng/pngget.c * external/libpng/pnggccrd.c * external/libpng/png.h * external/libpng/pngrtran.c * external/libpng/pngtrans.c * Updated to 1.2.41 (from 1.2.40) 2009-12-06 15:29 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/idemisc.prg * contrib/hbide/idestylesheets.prg * contrib/hbide/projects/hbide.hbi * contrib/hbide/hbide.prg + Implemented Project definition/loading/manipulation through <Project Tree> interface. + Implemented this tree structure: - Projects - Executables - Harbour-Qt IDE - C:\harbour\contrib\hbide\ [ Path containing the source ] - hbide.prg - idemisc.prg - ... - C:\harbour\contrib\hbwin\ - olecore.c - ... - GTWVG Demonstration Application - C:\harbour\contrib\gtwvg\tests\ - demowvg.prg - Editor [ Holds sources already opened ] - C:\harbour\contrib\hbide\ [ Path containing the source ] - hbide.prg - idetags.prg - ... RIGHT-CLICK ( context menu ) on <Projects> node presents a menu to define or load a project. RIGHT-CLICK on <Project Description> node allows to redefine the properties. DOUBLE-CLICK on any source file has two actions, 1) it opens the editor tab if file is not open already, 2) it makes the tab current which holds the source of this file. This action is valid on nodes contained beneath <Path> under <Project Description> or under <Editor>. certainly hope that some of you will play with it and will report back anything desired more. 2009-12-06 22:28 UTC+0100 Viktor Szakats * contrib/hbwin/win_prn2.c ! Silenced mingw C++ mode warning as suggested by Xavi. (Thanks!) 2009-12-06 22:23 UTC+0100 Viktor Szakats * contrib/hbqt/hbqt_destruct.cpp % Removed headers not required for this file. 2009-12-06 19:59 UTC+0100 Viktor Szakats * src/vm/set.c * src/rdd/dbcmd.c * include/set.ch * include/hbset.h + Added support for SET( _SET_DBCODEPAGE ). This will set the default codepage for RDD operations. It affects following functions and everything which is based on them: DBUSEAREA() DBCREATE() HB_DBCREATETEMP() __DBOPENSDF() IOW every function which accepts current "dirty" Harbour extension <cCodePage>. This new SET() is useful if someone wants to use a different than app codepage in tables, without modifying every above calls to pass the db CP as extra parameter (plus maintaining this global setting in app code). 2009-12-06 18:48 UTC+0100 Viktor Szakats * contrib/hbide/idemisc.prg ! Minor typo in prev. 2009-12-06 18:47 UTC+0100 Viktor Szakats * src/rdd/dbcmd.c + Added short DBUSEAREA() parameter list doc in comment. * contrib/hbide/hbide.hbp - contrib/hbide/freadlin.c * contrib/hbide/idemisc.prg % Eliminated HB_FREADLINE(). % Highly optimized MEMOTOARRAY(). % Using FOR EACH in PARSEWITHMETADATA(), APPLYMETADATA(). ! -1 -> F_ERROR - Deleted #include "hbqt.ch". Not needed. * Minor formatting. 2009-12-06 18:35 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbtpathy/tpunix.c ! fixed tty raw IO mode setting * reduced CRTSCTS redefinition to WATCOMC and Linux, added small comment about it and iTODO compile time warning if CRTSCTS is not defined. TODO: make some cleanup and extensions for *nix version of this library. * harbour/config/os2/watcom.mk * disabled -s from GTSTD compile time parameters to test possible workaround for OW problems in MT mode and APIENTRY16 functions. 2009-12-06 12:39 UTC+0100 Viktor Szakats * contrib/Makefile * contrib/hbwin/win_reg.prg * contrib/hbwin/win_os.prg * contrib/hbwin/win_tprn.prg * contrib/hbwin/hbwin.ch * contrib/hbwin/win_tcom.prg * contrib/hbwin/win_com.c * contrib/hbwin/win_regc.c * contrib/hbwin/win_prn1.c * contrib/hbwin/win_osc.c * contrib/hbwin/win_dll.c * contrib/hbide/ideparseexpr.c * Formatting. 2009-12-06 04:10 UTC+0100 Viktor Szakats * contrib/hbide/ideparseexpr.c ! Fixed to use hb_strncpy() instead of strncpy(). * contrib/hbwin/win_os.prg + Added comment to indicate parameter accepted as reference. 2009-12-06 03:46 UTC+0100 Viktor Szakats * contrib/hbwin/Makefile * contrib/hbwin/win_reg.prg + contrib/hbwin/legacycr.c + Renamed three registry functions to reside in WIN_ namespace: win_regSet() <= SetRegistry() win_regGet() <= GetRegistry() win_regQuery() <= QueryRegistry() ; Old names are still available. ; TODO: Move legacy Windows function names to xhb lib. This has the advantage that they can stay there forever. [DONE] * contrib/hbwin/win_os.prg * Changed to use new function names. * Variable name cleanup. % WIN_OSNETVREDIROK() optimized/simplified. * contrib/hbide/ideparseexpr.c * Final renaming cleanup. * contrib/hbide/hbide.prg + Changed to use HB_MEMOWRIT() instead of MEMOWRIT() to avoid legacy EOF char. 2009-12-06 03:09 UTC+0100 Viktor Szakats * contrib/hbtpathy/tpunix.c + Cleaned definition of CRTSCTS macro, if not defined. Based on info sent to dev list by Przemek, plus Darwin value added after checking my system. + Added TODO warning and dummy return value if CRTSCTS cannot is unknown for target platform. ; Please review me. * contrib/hbwin/win_os.prg * contrib/hbwin/win_osc.c * contrib/hbwin/legacycv.c + Added WIN_OSISVISTAORUPPER(). + Added xhb compatibility functions OS_ISWINVISTA_OR_LATER() + WIN_OSNETREGOK() extended to turn of SMB2 on Vista and upper systems. ! Fixed WIN_OSNETREGOK() to only attempt to change HKLM registry settings if run under admin account (on NT systems). This also fixes a typo in current xhb implementation. ; Adaptation of xhb addition by Peter Rees. * contrib/hbwin/win_regc.c + Added NOTE about minor xhb incompatibility in registry hive numbers. (default/zero is HKCU in Harbour, HKLM in xhb) * contrib/hbide/ideparseexpr.c * Cleaned int/size type usage. * Formatting. * Variables name cleanups. 2009-12-05 13:57 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/hbide.prg ! Build <Project Tree> from opened projects. 2009-12-05 20:00 UTC+0100 Viktor Szakats * contrib/hbtpathy/tpunix.c ! Extra __WATCOM__ guard deleted. 2009-12-05 09:57 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/hbide.prg * contrib/hbide/projects/hbide.hbi * contrib/hbide/resources/projectproperties.ui ! Probably now <Project Properties> dialog will exit cleanly on <Cancel>. ! Destroyed more Qt objects on exit. * contrib/hbxbp/xbpstatusbar.prg ! Destruction of panels. 2009-12-05 18:38 UTC+0100 Viktor Szakats * contrib/hbide/hbide.prg - Deleted non __HARBOUR__ #if branch. Please tell me if I'm wrong but hbide doesn't work anywhere else than Harbour. * IF() -> IIF(). * contrib/hbide/hbide.env - Deleted windows-only stuff. - Deleted HB_COMPILER and HB_PLATFORM envvars. These are not required. * HB_INC_* -> HB_WITH_* although I don't understand why this is needed here. It probably should be deleted completely. ; NOTE: IMO this whole file is very much non-portable and it's not the IDEs job to configure local environment. We have INSTALL to guide users and hard coding any part of that information into setting files is not good. * contrib/hbide/idestylesheets.prg % Optimized. * contrib/hbide/ideparseexpr.c ! Changed to use '\0' instead of 0. 2009-12-05 15:33 UTC+0100 Viktor Szakats * contrib/hbide/ideparseexpr.c ! Fixed to not contain non-ANSI comments. % Minor optimizations. ! Fixed linearfind() to return incorrect result when called in case insensitive mode. (not exploited by current code) % Marked worker functions as static. + Using Harbour types HB_BOOL and HB_SIZE. (type usage is still inconsistent) % Elminiated HB_ISBYREF() call. Not needed. ! Fixed to use hb_strncat() instead of strcat(). ! Fixed unsafe '!' oparator usage. (MSVC C++ warning) ; FIXME: There is still one unsafe strncpy() usage, but I can't fix it. Anyone? [DID IT] 2009-12-05 15:14 UTC+0100 Viktor Szakats * contrib/hbide/ideparseexpr.c ! Fixed to not use explicit values for const variable sizes. Using HB_SIZEOFARRAY() instead. ! Fixed C++ warnings. ! Fixed const usage. (explicit cast removed which silences warnings) % Minor optimization when returning value in PARSEXPR(). ! Fixed potential GPF in PARSEXPR() when non string param is passed. 2009-12-05 13:40 UTC+0100 Viktor Szakats * src/rtl/gtos2/Makefile * config/os2/watcom.mk % Changed the way -s option is disabled for certain modules (currently gtos2). This method doesn't require new variable, although it's still a hack. 2009-12-05 13:21 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/gtos2/Makefile * harbour/config/os2/watcom.mk * disable -s in GTOS2 OpenWatcom builds using HB_CSTACK_CHECK variable. This is workaround for wrong code generated by OpenWatcom <= 1.8 when -s switch is used for functions calling APIENTRY16 functions. Such code executed from non main thread causes GPF. 2009-12-05 13:11 UTC+0100 Viktor Szakats * win-make.exe * INSTALL + Updated to latest mingw release. Updated links. * utils/hbmk2/hbmk2.prg + Minor step towards -cpu support. 2009-12-05 04:33 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fixed to pass self-inherited -mlp64, -mlp32, -m64, -m32 C compiler flags also to executable and dynlib linker. 2009-12-05 04:28 UTC+0100 Viktor Szakats * src/pp/hbpp.c * src/compiler/hbusage.c * utils/hbformat/hbformat.prg * utils/hbmk2/hbmk2.hu_HU.po * utils/hbmk2/hbmk2.prg * utils/hbtest/hbtest.prg * utils/hbi18n/hbi18n.prg * utils/hbrun/hbrun.prg * Copyright year bumped to 2010. 2009-12-05 03:58 UTC+0100 Viktor Szakats * bin/postinst.bat + Syncing C/C++ Harbour build mode with hbmk2 invocation options in postinst phase. (please test) Only required for mingw, but it's done for every compiler for consistency, but only if it's overridden by user. (so e.g. for msvc, C++ isn't enabled in this case. This could be done on hbmk2 level however, but it would cause a lot of 3rd party code to break so I didn't do it yet.) I didn't add logic to hbmk2 to inherit build-time C/C++ setting, because it wouldn't work in cross-build situations, and multi-target installations. * utils/hbmk2/hbmk2.prg + Added comment on msvc C++ mode. 2009-12-03 23:24 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/hbide.ch + contrib/hbide/hbide.env * contrib/hbide/hbide.prg * contrib/hbide/idemisc.prg * contrib/hbide/projects/hbide.hbi * contrib/hbide/resources/projectproperties.ui + Started the possibility to switch to any compiler while building a project. ! Implemented tooltips on <Project Properties> dialog components. + Added one more tab <Compilers> which holds the contents of hbide.env residing alongside hbide.exe. NOTE: hbide.env is an experimental feature and as such name and location of this file may change in future. ! Few more artifacts corrected. 2009-12-05 01:56 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added Harbour lib dir autodetection when Harbour installed on 64-bit systems (where libs are in */lib64/harbour). Please test it. ; NOTE: I've also found some logic which makes hbmk2 build process inherit -m64/-m32/-mlp64/-mlp32 switches from hbmk2 itself. But it only passes it to C flags. I'm not sure it sure pass it at all, but in case it needs to pass it, should it also pass it to linker flags? I don't have 64-bit linux development system to try these things. 2009-12-05 01:32 UTC+0100 Viktor Szakats * config/global.mk + Added some provisions for separate -cpu selection: Now win/wce compiler autodetection code tries to fill HB_CPU. This should eventually be extended to all platforms/compilers. + HB_CPU autodetection will now consider -m64 and -m32 HB_USER_CFLAGS on linux platform. This may not be correct on non-intel linux platforms. Eventually this hidden knob should be changed to proper CPU selection (probably). % De-xmas. ! Minor fixes to HB_COMPILER autodetection when HB_PLATFORM=wce is used on win hosts. ; I just hope there won't be any regressions. 2009-12-05 00:31 UTC+0100 Viktor Szakats * config/global.mk % De-xmas. 2009-12-04 23:12 UTC+0100 Viktor Szakats * src/rtl/hbi18n2.prg ! HB_I18N_SAVEPOT(), __I18N_POTARRAYSAVE(): Changed to not add double EOL at the end of the file. 2009-12-04 18:47 UTC+0100 Viktor Szakats * include/hbsetup.h * Marked MSVS 2002 in comment. * ChangeLog * Minor typo. * contrib/hbide/idemisc.prg ! Fixed unused variable error. 2009-12-04 18:40 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/contrib/rddads/ads1.c ! added comment and workaround to invalid AdsGotoRecord( hTable, 0 ) behavior 2009-12-04 15:55 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/src/rdd/dbf1.c ! fixed variable length field setting after DBCREATE() 2009-12-04 10:29 UTC+0100 Viktor Szakats * contrib/hbwin/tests/testprn.prg ! Fixed to fit all examples on the page. * contrib/hbwin/win_prn1.c % Minor optimization. * Minor formatting. 2009-12-03 23:24 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/hbide.ch * contrib/hbide/hbide.prg * contrib/hbide/idemisc.prg ! Implemented <New Project> and <Load Project> prompts of context menu of <Projects> node of <Project Tree>. + contrib/hbide/projects/hbide.hbi ! Demonstration project file to show the basic protocol used to execute next compile/link actions. This implementation includes real-time view of the resultant .hbp file which will be supplied to HBMK2. Because, this is going to be a proposed engine, please experiment with the interface. Just change diffenrent components and click on <.hbp> tab page. It will reflect what the final .hbp will be supplied to HBMK2. I want to be sure I am not missing something. 2009-12-04 03:41 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/rddads/ads1.c ! fixed ordSkipUnique() to properly update BOF/EOF flags, skip over ADS BOF phantom record and respect not optimized local filters 2009-12-03 18:03 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/hbide.ch * contrib/hbide/hbide.prg * contrib/hbide/idemisc.prg * contrib/hbide/idetags.prg * contrib/hbide/resources/projectproperties.ui ! More near TO project properties, will be ready by tomorrow. 2009-12-04 02:49 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbcairo/util.c * harbour/contrib/hbcairo/image.c * harbour/contrib/hbcairo/context.c ! fixed casting for some more pedantic C++ compilers 2009-12-04 01:45 UTC+0100 Viktor Szakats * config/beos/gcc.mk * config/global.mk * config/bsd/gcc.mk * config/wce/mingwarm.mk * config/wce/poccarm.mk * config/wce/msvcarm.mk * config/hpux/gcc.mk * config/darwin/gcc.mk * config/darwin/icc.mk * config/darwin/clang.mk * config/dos/watcom.mk * config/dos/djgpp.mk * config/win/xcc.mk * config/win/mingw.mk * config/win/pocc.mk * config/win/bcc.mk * config/win/watcom.mk * config/win/icc.mk * config/win/cygwin.mk * config/win/msvc.mk * config/linux/watcom.mk * config/linux/gcc.mk * config/linux/icc.mk * config/linux/clang.mk * config/linux/sunpro.mk * config/os2/watcom.mk * config/os2/gcc.mk * config/sunos/gcc.mk * config/sunos/sunpro.mk % Moved initialization of *FLAGS vars into global.mk. Compiler .mk files only append to these vars. * Minor syncing between compilers regarding initial CFLAGS setup. 2009-12-04 00:41 UTC+0100 Viktor Szakats * config/beos/gcc.mk * config/bsd/gcc.mk * config/wce/mingwarm.mk * config/wce/poccarm.mk * config/wce/msvcarm.mk * config/hpux/gcc.mk * config/darwin/gcc.mk * config/darwin/icc.mk * config/darwin/clang.mk * config/dos/watcom.mk * config/dos/djgpp.mk * config/common/watcom.mk * config/win/xcc.mk * config/win/mingw.mk * config/win/pocc.mk * config/win/bcc.mk * config/win/watcom.mk * config/win/icc.mk * config/win/cygwin.mk * config/win/msvc.mk * config/linux/watcom.mk * config/linux/gcc.mk * config/linux/icc.mk * config/linux/clang.mk * config/linux/sunpro.mk * config/os2/watcom.mk * config/os2/gcc.mk * config/sunos/gcc.mk * config/sunos/sunpro.mk * Initializing LDFLAGS, DFLAGS and ARFLAGS at the beginning of files. This allows to easily add to these var according to build settings. It also syncs all .mk files to use the same layout in this regard. * config/wce/msvcarm.mk * config/win/msvc.mk + Added -debug linker option to .dll linking for msvc/msvcarm targets. 2009-12-04 00:23 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/rddads/ads1.c * added support for dynamic descend flag switching by ordDescend( [<tag>], [<bag>], <lDescending> ) -> <lPrevSetting> It needs ADS 9.00 or higher and it's ignored in earlier ADS versions. Based on Brian Hayes modification in xHarbour ADS RDD. * harbour/src/rdd/dbfntx/dbfntx1.c * harbour/src/rdd/dbfnsx/dbfnsx1.c * harbour/src/rdd/dbfcdx/dbfcdx1.c * harbour/contrib/rddads/ads1.c * modified ordSkipUnique() to be compatible with CL53 - it means that the passed parameter has a little bit different meaning when table has active index and it hasn't. If no index is active (natural order) then passed parameter is number of records to skip just like in dbSkip() function otherwise it's only direction choice so negative value means backward skipping and zero or positive means forward skipping. We may decide to change this behavior anyhow please remember that it's not such clear what number of records to skip should mean during skipping with active order having repeated key values and with working filters which also can exclude some records. It's possible to create few algorithms giving different results for some conditions. 2009-12-04 00:18 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Added -debug linker option when building .dll for msvc and compatible targets. ! Fixed minor regression in embedded CRLFs of hbmk2 texts. * config/win/msvc.mk * utils/hbmk2/hbmk2.prg + Added -MT/-MTd for win/msvc compatible targets when verison is 7.1 (.NET 2003) or older. On these versions this will assure that multithreading C RTL is being used (at the same time forcing static C RTL). * config/wce/msvcarm.mk * config/win/msvc.mk + Added -debug linker option for executables. ; TODO: Add it for .dlls too. [DONE] * config/globsh.mk + Deleting (MSVC) .pdb and .ilk files for executables and dynlibs on 'make clean'. 2009-12-03 20:49 UTC+0100 Viktor Szakats * contrib/hbcairo/Makefile + Added autodetection for MacPorts cairo pkg. + Fixed autodetection on *nix systems in general. * INSTALL + Added cairo package information for Darwin/MacPorts and Ubuntu. * contrib/hbqt/qtcore/Makefile ! Fixed after last commit. 2009-12-03 11:39 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/generator/qt45.qtp * contrib/hbqt/hbqt_garbage.h * contrib/hbqt/qtcore/filelist.mk * contrib/hbqt/qtcore/QUiLoader.cpp * contrib/hbqt/qtgui/QLabel.cpp * contrib/hbqt/qth/QLabel.qth ! Fixed QUiLoader issue. ! Fixed XbpStatic()'s weired behaviour which was caused by expected improvements in QLabel() class which eventually did not yield desired results, unluckily. I will look into this matter later. Now, HBQT sources re-built places proper make files and components. 2009-12-03 18:47 UTC+0100 Viktor Szakats * contrib/Makefile + Moved hbcairo to section for contribs with external dependencies. 2009-12-03 19:24 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/contrib/hbcairo/tests/table.prg ! use value of returned array instead of parameter by reference 2009-12-03 18:56 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/contrib/hbcairo/Makefile * harbour/contrib/hbcairo/context.c * harbour/contrib/hbcairo/paths.c * harbour/contrib/hbcairo/pdf.c * harbour/contrib/hbcairo/png.c + harbour/contrib/hbcairo/surface.c * harbour/contrib/hbcairo/text.c + harbour/contrib/hbcairo/transfor.c + harbour/contrib/hbcairo/util.c * harbour/contrib/hbcairo/hbcairo.ch + Added more Cairo functions * harbour/contrib/Makefile * added hbcairo into contrib compile list 2009-12-03 16:03 UTC+0100 Viktor Szakats * config/global.mk * utils/hbmk2/hbmk2.prg + Added autodetection of DWARF-2 build of mingw. This is mingw build is required for QT 4.6.0. * utils/hbmk2/hbmk2.prg ! Fixed to consider HB_CCPOSTFIX setting when trying to autodetect gcc/win, gcc/wce. 2009-12-03 14:56 UTC+0100 Viktor Szakats * bin/hb-mkimp.bat - Deleted creation of QT implibs for mingw. Enough to use what's provided by QT SDK. * contrib/hbqt/qtgui/QLabel.cpp * contrib/hbqt/hbqt_garbage.h * contrib/hbqt/qtcore/filelist.mk * Rerun generator. This caused that QTUILoader references got removed, plus a few other changes. * contrib/hbqt/qtcore/QUiLoader.cpp - Deleted header telling this file is automatically generated. ! Manually fixed debug lines to be in sync with rest of hbqt. * contrib/hbqt/qtcore/Makefile ! Fixed to add QTUILoaded stuff manually, since it's missing from generated filelist.mk. * config/win/msvc.mk * Minor in comment. 2009-12-03 13:53 UTC+0100 Viktor Szakats * contrib/xhb/freadlin.c * contrib/hbide/freadlin.c ! Fixed C mode MSVC warning. * config/win/msvc.mk - Removed -MT switch from default MSVC options. It should be user controlled and -MT seemed to be the default anyway. Now it's also in sync with hbmk2 and also with msvcarm target. 2009-12-02 19:00 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) + contrib/hbide/projects * contrib/hbide/hbide.prg * contrib/hbide/resources/projectproperties.ui ! Mode advancement in project properties building. 2009-12-02 16:51 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/hbide.prg * contrib/hbide/ideactions.prg + contrib/hbide/resources/projectproperties.ui + Added Project Properties Dialog in .ui format. Trying to implement some exotic thoughts which I ever missed in xMate. 2009-12-02 20:04 UTC+0100 Viktor Szakats * external/libpng/Makefile * Forcing C mode for libpng. It has some C++ bugs (in WINCE mode). Please retest. 2009-12-02 08:04 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/hbide.prg ! Fixed more artifacts. Status bar entries are more like xMate. Can anybody suggests what more should go inside status bar. 2009-12-02 15:50 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/gtos2/Makefile * added workaround for wrong code generated by OpenWatcom 1.8 when -s switch is used for functions calling APIENTRY16 functions. Such code executed from non main thread causes GPF. 2009-12-02 11:46 UTC+0100 Viktor Szakats * INSTALL + Added HB_DIR_*, HB_INC_* settings to ones which users should NOT have in their setup anymore. Please delete them, it's just noise on the dev list. This is current full list: set HB_PATH=<Harbour root dir> set HRB_DIR=<Some Harbour dir> set INCLUDE=<Harbour include dir> set LIB=<Harbour lib dir> set HB_INC_*= set HB_DIR_*= 2009-12-02 11:42 UTC+0100 Viktor Szakats * src/rtl/philes.c * include/hbextern.ch + Added HB_FISDEVICE() ; NOTE: Didn't add anything to hbmk2 yet, as after testing I found it weird and unusual that the output is different when redirected, but we may think of some other solution, like user option or else. 2009-12-01 22:35 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/idemisc.prg * contrib/hbide/hbide.prg ! Fixed many-many artifacts including the restoring of last cursor position. 2009-12-02 04:18 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/vm/maindllp.c * harbour/contrib/gtwvg/wvgsink.c % removed redefined HBTEXT() macro 2009-12-02 03:12 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/doc/en-EN/hb_apifs.txt * harbour/include/hbapifs.h * harbour/src/rtl/filesys.c * changed: BOOL hb_fsSetDevMode( HB_FHANDLE hFileHandle, USHORT uiDevMode ) to: int hb_fsSetDevMode( HB_FHANDLE hFileHandle, int iDevMode ) Now it returns previous mode for hFileHandle or -1 on error. if iDevMode == 0 then it does not change device mode. * harbour/src/rtl/philes.c * modified HB_FSETDEVMODE() function to work with new hb_fsSetDevMode() Current syntax is: HB_FSETDEVMODE( <hFile> [, <nNewMode> ] ) -> <nOldMode> It may return FD_BINARY, FD_TEXT or FS_ERROR. * harbour/src/rtl/philes53.c * modified FSETDEVMOD() function to work with new hb_fsSetDevMode() It's similar to HB_FSETDEVMODE() but returns FD_BINARY instead of FS_ERROR. Such behavior is more closer to CL53. * harbour/src/rtl/console.c * set also STDIN into binary mode 2009-12-01 18:09 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/hbide.prg * contrib/hbxbp/xbpstatusbar.prg + Started <Status Bar> information. Now XbpStatusBar() honors multiple panels. 2009-12-02 01:55 UTC+0100 Viktor Szakats * src/vm/itemapi.c * src/vm/hvm.c * src/vm/set.c * src/rtl/gtdos/gtdos.c * src/rtl/gtwin/gtwin.c * src/rtl/gtxwc/gtxwc.h * src/rtl/gtxwc/gtxwc.c * src/rtl/gtcrs/gtcrs.c * src/rtl/gtcrs/gtcrs.h * src/rtl/gtstd/gtstd.c * src/rtl/gttrm/gttrm.c * src/rtl/gtcgi/gtcgi.c * src/rtl/hbgtcore.c * src/rtl/gtsln/gtsln.c * src/rtl/gtsln/kbsln.c * src/rtl/gtsln/gtsln.h * src/rtl/gtpca/gtpca.c * src/rtl/gtwvt/gtwvt.c * src/rdd/dbfntx/dbfntx1.c * src/rdd/hbdbsort.c * src/rdd/sdf1.c * src/rdd/dbfnsx/dbfnsx1.c * src/rdd/dbfcdx/dbfcdx1.c * src/rdd/delim1.c * src/rdd/dbf1.c * src/rdd/hsx/hsx.c * src/rdd/dbffpt/dbffpt1.c * doc/en-EN/lang.txt * include/hbrdddbf.h * include/hbapicdp.h * include/hbextern.ch * contrib/xhb/dbf2txt.c * contrib/gtqtc/gtqtc.cpp * contrib/gtwvg/gtwvg.c * contrib/gtwvg/wvggui.c * contrib/hbbmcdx/bmdbfcdx.c * examples/hbdoc/examples/core_es/lang.txt - Deleted HB_CDP_SUPPORT_OFF. 2009-12-01 08:24 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/hbide.ch * contrib/hbide/hbide.prg * contrib/hbide/idemisc.prg ! More properties honored while reloading the sessions. Now editor tab is opened exactly in the same state it was closed. Unluckily I am not been to move the cursor to the same position, I do not know why QTextCursor():movePosition( nPos ) fails. Anybody has any hint? 2009-12-01 16:10 UTC+0100 Viktor Szakats * bin/hb-mkimp.bat * Minor. * contrib/hbwin/win_dll.c * contrib/hbcairo/paths.c * contrib/hbcairo/text.c * contrib/hbcairo/core.c * contrib/hbcairo/Makefile * Minor cleanups. ! Fixed minor typo. 2009-12-01 16:56 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/contrib/hbcairo/context.c * harbour/contrib/hbcairo/paths.c * harbour/contrib/hbcairo/text.c * harbour/contrib/hbcairo/tests/table.prg * added some error check. If function parameters are invalid C level functions is not called with invalid (NULL) pointers. * changed cairo_text_extent() to return an array of .c structure members instead of returning multiple values using parameters passed by reference. In the future I'll try to follow this way to return structures. 2009-12-01 16:39 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/contrib/hbwin/olecore.c * harbour/contrib/hbwin/axcore.c * changed error system name from OLE to WINOLE * renumerated error subcodes starting from 1001 2009-12-01 13:52 UTC+0100 Viktor Szakats * examples/rddado/adordd.prg * examples/rddado/adordd.ch * Formatting. 2009-12-01 12:21 UTC+0100 Viktor Szakats * config/global.mk % "De-xmastree"-d two more if/else structures. 2009-12-01 08:57 UTC+0100 Viktor Szakats * src/rtl/philes.c * src/rtl/philes53.c * include/hbextern.ch + Added HB_FSETDEVMODE(). Documented, always available equivalent of C5.3 undocumented function FSETDEVMOD(). * utils/hbmk2/hbmk2.prg * Changed to use HB_FSETDEVMODE(). 2009-12-01 02:35 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Ops forgot to switch macro to Chr( 10 ) from hb_osNewLine(). 2009-12-01 02:35 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + Setting std and err output handles to text mode as an attempt to fix OS/2 (and MS-DOS) jagged output. * At the same time changed to use Chr( 10 ) instead of hb_osNewLine() to send EOL to std and err outputs. ; Thanks Przemek for the help. 2009-12-01 01:23 UTC+0100 Viktor Szakats * contrib/hbwin/wapi_shellapi.c ! WAPI_USERISANADMIN() -> WAPI_ISUSERANADMIN() * utils/hbmk2/hbmk2.prg ! Added RTRIM() to MEMOLINE() calls to strip right space paddings. 2009-12-01 01:19 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbwince.h * harbour/contrib/hbwin/axcore.c * moved HBTEXT macro definition from axcore.c to hbwince.h * harbour/contrib/hbwin/wapi_shellapi.c ! use HBTEXT() macro for literal constants used as second parameter of GetProcAddress(). It fixes WINCE builds where whole API uses only UNICODE strings. 2009-12-01 00:01 UTC+0100 Viktor Szakats * INSTALL + Added cairo links. * contrib/hbwin/wapi_shellapi.c + WAPI_USERISANADMIN() function. Based on xhb's recently added OS_ISUSERANADMIN() function by Peter Rees. Reformatted, renamed and applied fixes/UNICODE/cleanups, usual stuff. * contrib/hbcairo/hbcairo.hbc + Changed libs= for *nix system. Not tested for this cairo, it comes from my local xhgtk hbmk2 files. 2009-11-30 22:19 UTC+0100 Viktor Szakats * INSTALL + Documented HB_WITH_CAIRO setting. * bin/hb-mkimp.bat + Added HB_BUILD_IMPLIB support for cairo lib. I didn't test them. * contrib/hbcairo/hbcairo.hbc * Changed cairo lib name from 'libcairo-2.0' to 'cairo' This is what HB_BUILD_IMPLIB will generate. ; TODO: It's the "fun" part of any component adaptation, that each build and platform use a different lib naming scheme. We should fix this one by one for all platforms. [DONE] ; TODO: Make build tests on each platform/compiler. [DONE] * contrib/hbcairo/Makefile + Added cairo component detection. - Deleted installation of .h header. It doesn't seem to be one for the public. * config/global.mk % "De-xmastree"-d one if/else structure. 2009-11-30 21:51 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/contrib/hbcairo/core.c * harbour/contrib/hbcairo/test/fancytxt.prg * formatting, deleted development comments 2009-11-30 21:31 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) + harbour/contrib/hbcairo + harbour/contrib/hbcairo/Makefile + harbour/contrib/hbcairo/context.c + harbour/contrib/hbcairo/core.c + harbour/contrib/hbcairo/imgae.c + harbour/contrib/hbcairo/paths.c + harbour/contrib/hbcairo/pdf.c + harbour/contrib/hbcairo/png.c + harbour/contrib/hbcairo/text.c + harbour/contrib/hbcairo/hbcairo.ch + harbour/contrib/hbcairo/hbcairo.h + Added Cairo graphics library ; It's a 2D graphic library that makes drawing commands platform independent. Supported backends are: memory image, PDF, PNG, PS, Win32 DC, SVG, Quartz, Xlib, started Qt development. I.e., you can forget if you are drawing on screen, printer, PDF, or image file from know. GTK and FireFox are only a sample of well-known library/application that uses Cairo as rendering engine. ; Webpage: https://cairographics.org/ ; Binaries, development files and related packages (ex., libpng) for Windows can be found at https://www.gtk.org/download/windows.php ; I've used multiple .c files so store Harbour level functions. Functions are split into source files using help sections of original Cairo docs (https://cairographics.org/manual/) ; You'll find the full documentation on Cairo webpage. Only a few functions are spesific to Harbour and could not be found in original documentaion. It accesses C language structures of Cairo library. These functions are: cairo_path_iterator_create( hPath ) --> hIterator cairo_path_iterator_next( hIterator ) --> nType | NIL cairo_path_iterator_get_points( hIterator ) --> aPoints cairo_path_iterator_set_points( hIterator, aPoints ) --> lOk ; Internal Cairo pointers/handlers are implemented using collectible pointers. It is destroyed after is not visible to probram any more. Though original functions cairo_*_destroy() are also implemeted for those, who wants to make it code clean. ; TOCHECK: GC pointers implementation, HB_USE_ITEM define. ; TODO: I've implemted not all functions of Cairo. Actually, the minority, but it's enough to do some fancy things. ; TODO: Makefile support. I've completely failed to make a working make system. I can compile library by copying Cairo *.h files into source folder and making .dll import library manualy. I guess Viktor can solve the issues in 3 minutes. [DONE] + harbour/contrib/hbcairo/tests + harbour/contrib/hbcairo/tests/hbmk.hbm + harbour/contrib/hbcairo/tests/fancytxt.prg + harbour/contrib/hbcairo/tests/glyphdbg.prg + harbour/contrib/hbcairo/tests/hellow.prg + harbour/contrib/hbcairo/tests/table.prg + added a few samples to generate .pdf/.png images ; NOTE: one of the things that make me to spend 3 days for doing this commit is never ending emails about .pdf library problems on developers mailing list. I'm using Cairo for a few years, I've mentioned it a few time on mailing list, but people does not look at it before you do not show the final result. I hope this library will be helpful for many, and test code will show both basic (every day required) and fancy things you can do with Cairo. 2009-11-30 20:29 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/xhb/hbcompat.ch + added translations for hb_cdpSelect()<->hb_SetCodepage() 2009-11-30 09:11 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/hbide.prg * contrib/hbqt/generator/qt45.qtp * contrib/hbqt/hbqt.h * contrib/hbqt/hbqt_garbage.h * contrib/hbqt/qtgui/filelist.mk + contrib/hbqt/qtgui/QPlainTextEdit.cpp + contrib/hbqt/qtgui/TQPlainTextEdit.prg + contrib/hbqt/qth/QPlainTextEdit.qth * contrib/hbxbp/xbplistbox.prg * contrib/hbxbp/xbptabpage.prg + Added QPlainTextEdit class. This class is now used in HBIDE instead of QTextEdit as it is highly optimized for large text documents and is considerably faster. + Implemented tooltips for XbpListBox() class while mouse is hovered upon an item. The expression is manifest i HBIDE's <Function List> exactly as is with xMate. 2009-11-30 16:51 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/hb-func.sh - removed not longer working HB_DB_DRVEXT + added HB_USER_DLL_ADDONS which can be used to activate rebuilding Harbour shared library in postinst phase with additional libraries specified by user in above envvar - it's not officially supported functionality but temporary workaround until we will not add some more generic support for above feature so I do not document it in INSTALL * harbour/contrib/hbwin/olecore.c + added support for conversion safe arrays with any type variants to Harbour - please test 2009-11-30 14:01 UTC+0100 Viktor Szakats * mpkg_rpm.sh * INSTALL * harbour.spec * config/global.mk * config/detect.mk * HB_COMMERCE renamed to HB_BUILD_NOGPLLIB (in sync with existing --without option) + HB_BUILD_NOGPLLIB now documented in INSTALL. ; Please update your enviroment. ; BTW, I'm open to other names which are more generic and clearly states what we're talking about exactly. Current terminology is limited to GPL license. 2009-11-30 13:49 UTC+0100 Viktor Szakats * config/global.mk * config/bin.mk * src/rdd/Makefile * Moved central RDD related information to local makefiles. - Deleted support for $(HB_DB_DRVEXT) envvar. To extend Harbour with RDDs these should be added as regular addons, and optionally hbrun rebuilt using hbrun.hbp. [ $(HB_DB_DRVEXT) is still used from hbmk script, I didn't touch that part. ] * INSTALL * Minor. 2009-11-30 12:03 UTC+0100 Viktor Szakats * utils/hbmk2/examples/xhgtk.hbc ! Minor correction to prev. (still without testing though) 2009-11-30 11:51 UTC+0100 Viktor Szakats * INSTALL * bin/hb-mkimp.bat * contrib/hbqt/hbqt.hbc * contrib/hbqt/hbqts.hbc * contrib/gtqtc/gtqtcs.hbc * contrib/gtqtc/gtqtc.hbc * utils/hbmk2/examples/xhgtk.hbc * config/global.mk + Eliminated HB_DIR_* envvar requirement to find required 3rd party component libs. This means that it's now enough to only set HB_WITH_* envvars to enable HB_BUILD_IMPLIB. This should make configuration a lot simpler, and this clears the last pending TODO in this area. HB_INC_* won't work this way, so please start to migrate to HB_WITH_* envvars, the values should stay the same. * external/pcre/cnv_o2hb.bat * external/pcre/cnv_hb2o.bat * Updated comment. 2009-11-30 08:47 UTC+0100 Viktor Szakats * INSTALL ! Typos in latest modification. * contrib/hbmisc/spd.c + Patch by Xavi. * utils/hbmk2/hbmk2.prg + Added one TODO. 2009-11-30 04:45 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbwin/olecore.c + added support for passing OLE pointer item as VT_DISPATCH variants + added support for updating VT_DISPATCH and VT_UNKNOWN parameters passed by reference Please test. 2009-11-29 22:51 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added -xhp=<xMate .xhp file> option which will attempt to read xMate project file and save it as .hbp file. This is experimental and I'd like to ask xMate users to update/extend this converter code as I'm not xMate user. Moreover the only .xhp file sample I have is pretty slim, limited, so it may easily be possible that some features are not imported or imported wrongly. 2009-11-29 22:07 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added -xbp=<xbuild .xbp file> option which will attempt to read xbuild project file and save it as .hbp file. This is experimental and I'd like to ask xbuild users to update/extend this converter code as I'm not xbuild user. 2009-11-29 20:44 UTC+0100 Viktor Szakats * src/compiler/hbmain.c * src/compiler/ppcomp.c * src/compiler/harbour.l ! Deleted some more remains of -go support. 2009-11-29 20:35 UTC+0100 Viktor Szakats * contrib/hbmisc/spd.c + Applied patch to add timestamp support. Supplied by Xavi. Thank you. ! Readded DJGPP warning avoiding hack which was missing from sent file. 2009-11-29 20:03 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added -hbmake=<hbmake file> option which will attempt to read hbmake project file and save it as .hbp file. This is experimental and I'd like to ask hbmake users to update/extend this converter code as I'm not hbmake user. This feature is to aid users to migrate from hbmake to hbmk2. Notice that along the same line converter could be written for .xbp and xMate project files too. * src/compiler/Makefile - src/compiler/gencobj.c * src/compiler/hbmain.c * src/compiler/cmdcheck.c * src/compiler/hbusage.c * include/hbcompdf.h * debian/rules * mpkg_src.sh * mpkg_tgz.sh * harbour.spec - Deleted support for harbour.cfg / compiler -go mode. This was scheduled to be done after release, but since hbmk2 seems to be a very solid tool now with visible acceptance from users, it seems safe to make the move now. This will mean that one less Harbour file will "pollute" system locations, which is always a good thing. Plus this part had a few bugs, which are now also a thing of the past. - examples/hbmake - Deleted hbmake tool. This wasn't really working anyway, and require -go mode, which was deleted. Use hbmk2 instead. * mpkg_src.sh * mpkg_tgz.sh ! Fixed indentation to be consistent 4 chars. 2009-11-29 14:21 UTC+0100 Viktor Szakats * INSTALL * harbour.spec * mpkg_rpm.sh * Moved mpkg_rpm*.sh command-line options description to INSTALL. At the same time some inconsistencies were fixed and from now on it should be updated in less copies. Still, there different option list for win/wce cross-builds and regular builds. (some of these may not be relevant anymore as Przemek just deleted some of these option, which is an even better solution.) Maybe the same could be done for the rest of them? 2009-11-29 14:06 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/harbour-win-spec * harbour/harbour-wce-spec * harbour/mpkg_rpm_win.sh * harbour/mpkg_rpm_wce.sh * removed all conditional build settings - they are not necessary for current make system 2009-11-29 13:49 UTC+0100 Viktor Szakats * harbour.spec * harbour-win-spec * harbour-wce-spec * mpkg_rpm.sh * mpkg_rpm_win.sh * mpkg_rpm_wce.sh % Deleted special logic to disable hbnf lib. 2009-11-29 13:46 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/mpkg_rpm.sh ! check if QT4 is in version 4.5 or newer 2009-11-29 10:52 UTC+0100 Viktor Szakats * harbour.spec * harbour-win-spec * harbour-wce-spec * mpkg_rpm.sh * mpkg_rpm_win.sh * mpkg_rpm_wce.sh * Cleanup/sync of 'with' and 'without' parameters: --with fbsql -> --with firebird --without nf -> --without hbnf --without gtcrs -> --without curses --without gtsln -> --without slang ! Deleted fmstat/nofmstat options from help texts. * Internal 'fbird' references changed to 'firebird'. ; Pls test. ; TODO: I'd like to delete '--without hbnf'. If someone knows why this lib is different than all the others so that it needs special --without switch, pls speak up. [DONE] 2009-11-29 10:18 UTC+0100 Viktor Szakats * mpkg_rpm.sh * harbour.spec + Added hbqt and hbxbp libraries to a new rpm package harbour-qt. Patch submitted by Tomaz Zupan. Thanks. ! Converted tab to space. 2009-11-29 07:57 UTC+0100 Viktor Szakats * include/hbextern.ch ! HB_SETCODEPAGE() reference also guarded with HB_LEGACY_LEVEL2. * tests/wcecon.prg * tests/gtkeys.prg * examples/terminal/trm_cli.prg * HB_SETCODEPAGE() -> HB_CDPSELECT(). * contrib/hbwin/win_prn2.c + Added comment. * contrib/hbwin/legacy.prg + Guarded with HB_WIN_LEGACY_LEVEL_OFF. * contrib/hbmysql/mysqlold.c * contrib/hbodbc/odbcold.c * contrib/hbwin/legacycd.c * contrib/hbwin/legacyco.c * contrib/hbwin/legacycp.c * contrib/hbwin/legacycv.c * contrib/hbwin/legacy.prg + Guarded with HB_LEGACY_LEVEL3. This means these will be removed after next major release. Please upgrade your code to use new function names. 2009-11-29 07:23 UTC+0100 Viktor Szakats * src/rtl/cdpapi.c * HB_SETCODEPAGE() guarded as HB_LEGACY_LEVEL2 which means it will be removed in next major version. NOTE to users: Use HB_CDPSELECT() or SET( _SET_CODEPAGE ) instead. * src/debug/debugger.prg - Deleted __XHARBOUR__ protected parts. * contrib/xhb/xhberr.prg - Deleted some __XHARBOUR__ protected parts. Some others remain, most of them dealing with SET()s which are xhb extensions. It again shows that emulating extended SETs is quite a PITA, so we should avoid it. 2009-11-29 05:49 UTC+0100 Viktor Szakats * contrib/hbmisc/spd.c ! Fixed commenting in prev commit. * contrib/hbwin/win_dll.c + Added TODO to add support for UNICODE version of dll functions. 2009-11-29 00:04 UTC+0100 Viktor Szakats * contrib/hbtip/popcli.prg * Formatting synced with file + minor adjustments. 2009-11-28 22:15 UTC+0200 Petr Chornyj (myorg63 at mail.ru) * harbour/contrib/hbtip/popcli.prg + added method OpenDigest( cUrl ) based on APOP command + added support for RSET command ( method Rset() ) * changed method Close - new lAutoQuit parameter added By default lAutoQuit == .T. for compatibility ! rewritten method countMail() I think old version never work correctly and new one based on STAT command will be faster also * cosmetic changes 2009-11-28 20:02 UTC+0100 Viktor Szakats * contrib/hbmisc/spd.c * __XHARBOUR__ protected DATETIME part converted to commented code. ; TODO: Xavi, pls update this code to build with Harbour, now we have DATETIME support as well. [DONE] * utils/hbformat/hbformat.prg * src/rdd/usrrdd/rdds/logrdd.prg * tests/usrrdd/exlog.prg * contrib/gtwvg/wvgutils.c * examples/httpsrv/cgifunc.prg * examples/httpsrv/session.prg - Deleted __XHARBOUR__ protected parts. * examples/rddado/adordd.prg * examples/httpsrv/uhttpd.prg * TRY/CATCH converted to BEGIN SEQUENCE, dropping all __XHARBOUR__ portected parts. * include/hbapi.h * TRUE/FALSE -> HB_TRUE/HB_FALSE. 2009-11-28 18:53 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbwin/axcore.c ! added missing Release() call for OLE object 2009-11-28 13:27 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbwin/olecore.c ! fixed typo in last commit 2009-11-28 13:02 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/vm/fm.c ! fixed typo - thanks to Bill for info * harbour/contrib/hbwin/axcore.c * minor cleanup * harbour/contrib/hbwin/olecore.c + added support for VT_UNKNOWN variants translated to Harbour OLE objects (WIN_OLEAUTO) - please test 2009-11-28 10:37 UTC+0100 Viktor Szakats * src/rtl/filesys.c * src/rtl/fssize.c * src/rdd/dbfcdx/dbfcdx1.c * contrib/hbtip/utils.c * contrib/hbwin/win_prn1.c * contrib/hbbmcdx/bmdbfcdx.c * contrib/hbbtree/hb_btree.c ! Fixed to use Harbour FS_* constants in hb_fsSeek*() calls (instead of SEEK_* ones). 2009-11-28 04:02 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/vm/fm.c * minor formatting * harbour/contrib/hbwin/olecore.c + added support for VT_ERROR variants 2009-11-27 16:58 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/hbide.prg ! Fixed a bad behaviour. HBIDE was unable to start-up. 2009-11-28 00:26 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/vm/strapi.c * harbour/include/hbapistr.h * modified syntax for hb_itemGetStr*() and hb_parstr*() functions as suggested by Mindaugas. Now we have: const char * hb_itemGetStr( PHB_ITEM pItem, void * cdp, void ** phString, ULONG * pulLen ); const char * hb_itemGetStrUTF8( PHB_ITEM pItem, void ** phString, ULONG * pulLen ); const HB_WCHAR * hb_itemGetStrU16( PHB_ITEM pItem, int iEndian, void ** phString, ULONG * pulLen ); and: const char * hb_parstr( int iParam, void * cdp, void ** phString, ULONG * pulLen ); const char * hb_parstr_utf8( int iParam, void ** phString, ULONG * pulLen ); const HB_WCHAR * hb_parstr_u16( int iParam, int iEndian, void ** phString, ULONG * pulLen ); 2009-11-27 23:06 UTC+0100 Viktor Szakats * contrib/hbwin/win_prn1.c * Using HB_ types. * Minor formatting. * Minor variable scope/usage cleanups. % Optimized out checking of hb_xgrab() return value. It's never NULL. * WIN_LOADBITMAPFILE() simplified. * WIN_LOADBITMAPFILE() changed to use Harbour file I/O instead of Windows one. ! WIN_LOADBITMAPFILE() fixed to require at least two bytes long file. * WIN_LOADBITMAPFILE() added file size limit of 32 MiB. (please feel free to modify) * ChangeLog * FIXME marked as DONE. * contrib/hbwin/win_regc.c * Variable name prefix fixes. * contrib/hbwin/tests/testprn.prg ! Fixed to not force uppercase on .bmp filename. * contrib/hbtip/log.prg * contrib/hbwin/win_osc.c * Minor formatting. 2009-11-27 18:40 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/cdpapi.c * harbour/include/hbextern.ch + added new .prg function: HB_UTF8ASC( <cUtf8> ) -> <nUnicode> * harbour/contrib/hbwin/olecore.c % removed redundant call to SafeArrayGetDim() 2009-11-27 16:05 UTC+0100 Maurilio Longo (maurilio.longo@libero.it) src/vm/fm.c - commented out section for OS/2 critical section usage src/vm/dlmalloc.c * always use dlmalloc.c under OS/2. 2009-11-27 02:58 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) + contrib/hbide/hbide.ch + Added new header to manage hbide constants, expected to grow fast. * contrib/hbide/ideactions.prg + "New Properties" icons action changed to "Toggle Project Tree". "Properties" dialog can be accessed via right-clicking on "Projects" tree-node of "Projects Tree" left-pane window and selecting "Properties" option. * contrib/hbide/hbide.prg + Started managing HBIDE properties via "hbide.ini". The order of loading hbide.ini file is : 1. Supplied as first parameter to hbide.exe ( with fully qualified path ), then 2. The start-in folder from where hbide.exe is executed, last 3. The folder where hbide.exe is resident as returned by hb_DirBase(). If hbide.ini is not located as above, new file is created on exit. Hbide.ini holds the various elements belonging to IDE operations and is expedted to grow in contents with further development. Right now it may look-like as: hbide.ini ========= [HBIDE] MainWindowGeometry = 135,36,1099,682, ProjectTreeVisible = YES ProjectTreeGeometry = 0,0,88,616, FunctionListVisible = YES FunctionListGeometry = 0,20,150,596, RecentTabIndex = 0 CurrentProject = [PROJECTS] [FILES] C:/harbour/contrib/hbxbp/xbpradiobutton.prg C:/harbour/contrib/hbxbp/xbprtf.prg C:/harbour/contrib/hbxbp/xbpstatusbar.prg ......... Next invocation of ide will retain the location and size of the windows, files opened, last tab in focus, state of <Project Tree> and <Functions List> per visibility. There are a lot of notes on my drawing-board to implement. Just for now please report back your opinions. 2009-11-27 09:25 UTC+0100 Viktor Szakats * contrib/hbqt/detect.mk - contrib/hbqt/qtwebkit * Deleted qtwebkit references. * contrib/hbwin/hbwin.ch * contrib/hbwin/win_prn2.c * Comments. * TRUE -> HB_TRUE, FALSE -> HB_FALSE 2009-11-27 05:31 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/contrib/hbwin/olecore.c * more beautiful and speed optimized version of last commit 2009-11-27 05:21 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/contrib/hbwin/olecore.c ! added missing VARIANT initialization 2009-11-27 04:29 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/contrib/hbwin/olecore.c + added support (VARIANT to ITEM) for multidimensional arrays 2009-11-26 14:09 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/gtwvg/tests/demowvg.prg ! Removed all hb_ToOutDebug() calls. * contrib/gtwvg/tests/demoxbp.prg ! Removed all hb_ToOutDebug() calls. * contrib/hbide/hbide.prg ! Few more artifacts fixed. * contrib/xhb/Makefile ! Reverted back to original before my last commit. 2009-11-26 22:35 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/vm/hvm.c ! fixed typo in HB_TRACE message - thanks to Tamas for the info. 2009-11-26 22:26 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/vm/garbage.c % small improvement in HB_GC_AUTO code * harbour/include/hbdefs.h ! reverted the hack which casted file handles to unsigned values I added two weeks ago - it was also converting FS_ERROR value from -1 to 4294967295. Please remember that on some platforms negative handles can exist and are valid. Only -1 indicates an error. * harbour/utils/hbtest/rt_file.prg + added regression test for FOPEN() FS_ERROR value * harbour/contrib/hbwin/legacycd.c * harbour/contrib/hbwin/legacyco.c * added missing EOL at EOF 2009-11-26 09:34 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) - contrib/hbide/resources/tabmodified.PNG * contrib/xhb/Makefile ! Changed the order of files in linklist. 2009-11-26 09:32 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) - contrib/hbide/resources/tabmodified.PNG + contrib/hbide/resources/tabmodified.png ! Lower cased file name. 2009-11-26 12:18 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/vm/fm.c ! fixed stupid typo I made just before recent commit which caused GPF when not all mspaces where initialized 2009-11-26 02:27 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/hbqt_slots.cpp * contrib/hbqt/hbqt_slots.h * contrib/hbqt/qtgui/QLabel.cpp * contrib/hbqt/qth/QLabel.qth + contrib/hbide/resources/tabcmodified.png + contrib/hbide/resources/tabmodified.PNG + contrib/hbide/resources/tabreadonly.png + contrib/hbide/resources/tabunmodified.png * contrib/hbide/hbide.prg * contrib/hbide/ideactions.prg + Implemented "Find" functionality. CTRL_F or <Find> icon can be clicked. Input some string in "Find what" field and keep on pressing <Enter>. + Implemented "Print with Preview" of current source code. ! Document Tab Image is toggled for "Modified and UnModified" states. ! Fixed some more artifacts. 2009-11-26 08:31 UTC+0100 Viktor Szakats * contrib/hbqt/hbqt.hbc * contrib/hbqt/hbqts.hbc + Added QtUiTools for darwin. (tested) + Added QtUiTools for linux. (not tested) ! Added QtUiTools lib for static QT hbqts.hbc. 2009-11-25 18:53 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/hbide.prg * contrib/hbide/ideactions.prg * contrib/hbqt/generator/qt45.qtp * contrib/hbqt/hbqt.ch * contrib/hbqt/hbqt.h * contrib/hbqt/hbqt.hbc * contrib/hbqt/hbqt_destruct.cpp * contrib/hbqt/hbqt_garbage.h * contrib/hbqt/qtcore/filelist.mk + contrib/hbqt/qtcore/QUiLoader.cpp + contrib/hbqt/qtcore/TQUiLoader.prg + contrib/hbqt/qth/QUiLoader.qth * contrib/hbxbp/xbpcombobox.prg * contrib/hbxbp/xbpparthandler.prg * contrib/hbxbp/xbppushbutton.prg * contrib/hbxbp/xbpwindow.prg * contrib/hbide/resources/finddialog.ui + Implemented some very basic support for "Qt Creator" designer created .ui forms. + Based on above implementation hbide now supports "Find" operation. It is set to search "Harbour" at present and is scheduled to be perfected this week-end. 2009-11-26 03:45 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapi.h * harbour/include/hbvm.h * harbour/include/hbvmpub.h * harbour/include/hbstack.h * harbour/src/vm/hvm.c * harbour/src/vm/estack.c * harbour/src/vm/fm.c * harbour/src/vm/garbage.c + added new function hb_xclean() executed by GC just before resuming suspended threads - it can be used by memory manager to clean internal structures and release unused memory to OS. % release unused memory to OS in hb_xclean() when DLMALLOC is used % release unused memory in all mspaces to OS in hb_xclean() when HB_FM_DLMT_ALLOC is used % release unused memory in mspace when last thread detach it % balance used mspaces between threads in hb_xclean() when HB_FM_DLMT_ALLOC is used 2009-11-26 02:25 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/contrib/hbwin/axcore.c * harbour/contrib/hbwin/olecore.c * added OLE error code as OS code. Changed subsystem from BASE to OLE ; NOTE: function hb_errRT_OLE() is static and defined in both modules. I'm not sure about the future parameters of the function, so, I do not want to make it public. * harbour/contrib/hbwin/legacycd.c * harbour/contrib/hbwin/legacyco.c * moved code inside #ifndef HB_WIN_LEGACY_LEVEL_OFF 2009-11-25 19:10 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/contrib/rddads/ads1.c * changed field type mapping of HB_FT_* define, ADS_* define, DBCREATE()/DBSTRUCT() array type member. Now we have mapping compatible to DBF files as much as possible. ; INCOMPATIBILITIES to old ads1.c: * ADS_VARCHAR is mapped to HB_FT_VARLENGTH instead of old mapping to HB_FT_MEMO. HB_FT_MEMO has a fixed size in DBF (ex., 10), but ADS_VARCHAR is variable length field, so, HB_FT_VARLENGTH much more correct * fieldinfo method (DBSTRUCT() at .prg level) returns one byte field type if possible. The exceptions are RAW, CICHARACTER, and VARBINARY fields. So, you'll get a DBF compatible type P instead of IMAGE, B instead of DOUBLE, T instead of TIME, etc. Other field mappings are extension to existing code and should not be seen as incompatibility to end used. ; Current field type mappings are: C; Character,n HB_FT_STRING,n ADS_STRING N; Numeric,n,d HB_FT_LONG,n,d ADS_NUMERIC D; Date,n HB_FT_DATE,3 or 4 or 8 ADS_COMPACTDATE; ADS_DATE ShortDate HB_FT_DATE,3 ADS_COMPACTDATE L; Logical HB_FT_LOGICAL,1 ADS_LOGICAL M; Memo,n HB_FT_MEMO,4 or 9 or 8 ADS_MEMO B; Double,,d HB_FT_DOUBLE,8,d ADS_DOUBLE I; Integer,n HB_FT_INTEGER, 2 or 4 or 8 ADS_SHORTINT; ADS_INTEGER; ADS_LONGLONG ShortInt HB_FT_INTEGER,2 ADS_SHORTINT Longlong HB_FT_INTEGER,8 ADS_LONGLONG P; Image HB_FT_IMAGE,9 or 10 ADS_IMAGE W; Binary HB_FT_BLOB,4 or 9 or 10 ADS_BINARY Y; Money HB_FT_CURRENCY,8,4 ADS_MONEY Z; CurDouble,,d HB_FT_CURDOUBLE,8,d ADS_CURDOUBLE T,4; Time HB_FT_TIME,4 ADS_TIME @; T,8; TimeStamp HB_FT_TIMESTAMP,8 ADS_TIMESTAMP +; AutoInc HB_FT_AUTOINC,4 ADS_AUTOINC ^; RowVersion HB_FT_ROWVER,8 ADS_ROWVERSION =; ModTime HB_FT_MODTIME,8 ADS_MODTIME Raw,n HB_FT_STRING,n (+HB_FF_BINARY) ADS_RAW Q; VarChar,n HB_FT_VARLENGTH,n ADS_VARCHAR; ADS_VARCHAR_FOX VarBinary,n HB_FT_VARLENGTH,n (+HB_FF_BINARY) ADS_VARBINARY_FOX; ADS_RAW CICharacter,n HB_FT_STRING,n ADS_CISTRING ; ADS help has many ambiguities. Here is the most important I found: * Both ADS_VARCHAR and ADS_VARCHAR_FOX defines exists, but VarChar filed type is documented only for VFP DBFs. Does commom DBF support this field type? * It is not clear what ADS_* define corresponds to VarBinary field. Both ADS_VARBINARY_FOX and ADS_RAW does not sound to be a good choice. * ADS documents field types CharacterNoCPTrans, MemoNoCPTrans, VarCharNoCPTrans available in VFP tables, but no corresponding ADS_* defines exist. These type are not supported by RDDDADS. * Autoincrement field type in DBF is called "Autoinc", in ADT "Autoicrement". Test shows that both name are acceptedt by AdsCreateTable(). * ADS_LONGLONG define exists, but LomgLong field type is not documented at all. It is not clear how to pass field type to AdsCreateTable(): "Integer,8" or "LongLong". Test required! * Can extended DBF types like ShortDate and Image be used with VFP DBF files? (Some other field typess are defined twice both in extended DBF and VFP DBF) * Documented field type ShortInteger generates 5012 ADS error on AdsCreateTable(). A simple workaround used: "ShortInt" passed instead of documented field name. ! Some ANSI <-> OEM translations moved under ADS_USE_OEM_TRANSLATION switch (the other translations was already there) ; Please, test and report bugs. 2009-11-25 17:10 UTC+0100 Viktor Szakats * contrib/hbwin/Makefile + contrib/hbwin/legacycv.c * contrib/hbwin/win_os.prg * contrib/hbwin/win_osc.c * contrib/hbwin/win_tprn.prg + Added new names for win version support functions: WIN_OSISNT() <= OS_ISWINNT() WIN_OSISNT351() <= OS_ISWINNT351() WIN_OSISNT4() <= OS_ISWINNT4() WIN_OSIS2000ORUPPER() <= OS_ISWIN2000_OR_LATER() WIN_OSIS2000() <= OS_ISWIN2000() WIN_OSISXP() <= OS_ISWINXP() WIN_OSIS2003() <= OS_ISWIN2003() WIN_OSISVISTA() <= OS_ISWINVISTA() WIN_OSIS7() <= OS_ISWIN7() WIN_OSIS9X() <= OS_ISWIN9X() WIN_OSIS95() <= OS_ISWIN95() WIN_OSIS98() <= OS_ISWIN98() WIN_OSISME() <= OS_ISWINME() WIN_OSISTSCLIENT() <= OS_ISWTSCLIENT() WIN_OSVERSIONINFO() <= OS_VERSIONINFO() WIN_OSNETREGOK() <= OS_NETREGOK() WIN_OSNETVREDIROK() <= OS_NETVREDIROK() ; Old names still work, and they are guarded with HB_WIN_LEGACY_LEVEL_OFF macro, in case someone would like to disable them. Please use new names, old names may disappear in the future. ! Fixed WIN_OSNETREGOK() to also consider Win7 when second parameter is .T. * contrib/hbwin/wce_simc.c * contrib/hbwin/wce_smsc.c * contrib/hbwin/wce_sim.prg + Added new names for WinCE SMS/SIM support functions: WCE_SIMINITIALIZE() <= SIMINITIALIZE() WCE_SIMDEINITIALIZE() <= SIMDEINITIALIZE() WCE_SIMPHONEBOOKSTATUS() <= SIMPHONEBOOKSTATUS() WCE_SIMREADPHONEBOOKENTRY() <= SIMREADPHONEBOOKENTRY() WCE_SIMWRITEPHONEBOOKENTRY() <= SIMWRITEPHONEBOOKENTRY() WCE_SIMDELETEPHONEBOOKENTRY() <= SIMDELETEPHONEBOOKENTRY() WCE_SMSSENDMESSAGE() <= SMSSENDMESSAGE() ; INCOMPATIBLE. ; NOTE: With these changes hbwin namespace is clean except for legacy definitions and .dll functions. DLL functions need a major overhaul anyway (plus there is Xbase++ and xhb compatibility concerns there), so for now it's OK. 2009-11-25 16:56 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/vm/hvm.c % minor improvement 2009-11-25 11:11 UTC+0100 Viktor Szakats * config/os2/gcc.mk ! Fixed (after recent cleanup of CFLAGS usage) to add -Zomf for gccomf target to link command. 2009-11-25 09:34 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg * -bm watcom option disabled for linux to get in sync with GNU Make system. 2009-11-25 03:24 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/vm/fm.c * removed not longer used HVM stack pointer variables 2009-11-24 18:20 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/hbide.prg + Started <Project Properties> Dialog. Your comments are welcome. I am interested what else might be required for peoject management property so that we are comfortable in future. 2009-11-25 02:18 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/tests/bldtest/bldtest.c * disabled requirement for signed 'char' type - current Harbour code should work with 'char' defined as signed and unsigned value. 2009-11-25 00:50 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/vm/fm.c * enabled HB_FM_DL_ALLOC by default in OS2 OpenWatcom builds * harbour/config/os2/watcom.mk ! enabled -bm flag (MT code) in OS2 OpenWatcom builds - now when HB_FM_DL_ALLOC is enabled by default it should not kill the performance. Please make tests with OS2 OpenWatcom builds. 2009-11-24 14:20 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbxbp/xbplistbox.prg + contrib/hbide/resources/zoomin.png + contrib/hbide/resources/zoomout.png * contrib/hbide/ideactions.prg * contrib/hbide/idemisc.prg * contrib/hbide/hbide.prg + Added ZoomIn, ZoomOut toolbar buttons for in-place zoom-in/out text decoration. Very handy visualization. + Implemented undo/redo/cut/copy/paste/select all/to upper/to lower/invert case/ icons. ! Fixed many artifacts. Please play with the tool and report back your experiences. 2009-11-24 16:57 UTC+0100 Viktor Szakats * src/rtl/fscopy.c ! Fixed to use the same file opening method as in __COPYFILE(). This should fix creating zero byte file on OS/2 when the source and target file is the same. ; Please test. * contrib/hbwin/win_prn3.c * Minor. 2009-11-24 16:48 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/vm/dlmalloc.c % use harbour spin locks if available by default in all builds * harbour/include/hbatomic.h * removed HB_SPINLOCK_SLEEP macro and enable code to always yield the processor in spin locks * cover double spin lock setting by HB_SPINLOCK_REPEAT * harbour/src/vm/garbage.c * removed unused HB_SPINLOCK_SLEEP macro * harbour/include/hbstack.h * harbour/src/vm/estack.c + added new internal function hb_stackAllocator() * disable hb_stackTotalItems() stack macro so this function can be used also in internal HVM code to check if stack is initialized * harbour/src/vm/fm.c ! use hb_stackAllocator() to access pointer to DLMALLOC mspace It should fix GPF when DLMT was used in OS2 builds - please test. 2009-11-24 07:43 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbxbp/xbplistbox.prg * contrib/hbxbp/xbptreeview.prg * contrib/hbide/hbide.hbp * contrib/hbide/hbide.prg + contrib/hbide/ideactions.prg + More grandulariy. * contrib/hbide/idemisc.prg + Added and fixed many artifacts. 2009-11-24 14:29 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbsetup.h * minor extension to CPU detection macros 2009-11-24 13:20 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/cdpapi.c ! fixed bad typo in hb_cdpTranslateChar() function 2009-11-24 12:07 UTC+0100 Viktor Szakats * contrib/hbwin/hbwin.ch * contrib/hbwin/win_prn2.c + Added support for server name in WIN_PRINTERLIST() (GETPRINTERS()) * contrib/hbwin/win_prn2.c * contrib/hbwin/win_prn3.c * contrib/hbwin/legacycp.c * ChangeLog * Some renaming, to keep all functions in the WIN_PRINT*() namespace. Prev entry updated. * contrib/hbwin/tests/testprn.prg * contrib/hbwin/tests/testprn2.prg * contrib/hbwin/tests/testprn3.prg * contrib/hbwin/tests/testprn4.prg * Updated tests to use new function names. 2009-11-24 10:57 UTC+0100 Viktor Szakats * contrib/hbwin/Makefile * contrib/hbwin/win_prn2.c * contrib/hbwin/win_prn3.c + contrib/hbwin/legacycp.c + Added new names for Windows printer support functions: WIN_PRINTEREXISTS() (old name: PRINTEREXISTS()) WIN_PRINTERSTATUS() (old name: XISPRINTER()) WIN_PRINTERPORTTONAME() (old name: PRINTERPORTTONAME()) WIN_PRINTERLIST() (old name: GETPRINTERS()) WIN_PRINTERGETDEFAULT() (old name: GETDEFAULTPRINTER()) WIN_PRINTERSETDEFAULT() (old name: SETDEFAULTPRINTER()) WIN_PRINTFILERAW() (old name: PRINTFILERAW()) ; Old names still work, and they are guarded with HB_WIN_LEGACY_LEVEL_OFF macro, in case someone would like to disable them. ; Please use new names, old ones will be deleted enventually. 2009-11-24 10:48 UTC+0100 Viktor Szakats * contrib/hbwin/hbwin.ch + Added copy of HB_WINPRN_* constants from .c source. (Ugly, but currently there is no way to include hbwin.ch to .c code due to lots of colliding names) 2009-11-24 10:37 UTC+0100 Viktor Szakats * contrib/hbwin/Makefile + contrib/hbwin/win_prn3.c + contrib/hbwin/tests/testprn4.prg + Added SETDEFAULTPRINTER(). This is Microsoft sample code taken from xhb repository, formatting, fixes and other modifications applied (like to use Harbour memory allocation functions), also added support for UNICODE mode. * contrib/hbwin/tests/testprn3.prg * Minor. * ChangeLog * Marked change as DONE. 2009-11-24 09:42 UTC+0100 Viktor Szakats * contrib/hbwin/hbwin.ch + Added new macros submitted by Xavi. Formatting (tab removal/alignment) applied. * config/detfun.mk + Displays "Configure with HB_WITH_*" text on non-*nix systems, when an external component is not found. Comments are welcome whether this is useful, it looks a bit verbose/ugly to me. * INSTALL * Minor change in wording. 2009-11-23 18:09 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/hbide.prg ! Few more additions. 2009-11-24 02:51 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/vm/dlmalloc.c * harbour/src/vm/hvmall.c + added support for DLMALLOC in OS/2 builds. I would like to ask OS/2 users to make harbour OS/2 build tests using WATCOM and GCC with HB_USER_CFLAGS=-DHB_FM_DL_ALLOC to check if it works. 2009-11-23 17:21 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/hbide.hbp * contrib/hbide/hbide.prg + contrib/hbide/idemisc.prg ! Implemented to execute context sensitive popups. Right click on <Funtions List> right-hand area. * contrib/hbxbp/xbpdialog.prg * contrib/hbxbp/xbplistbox.prg * contrib/hbxbp/xbptreeview.prg * contrib/hbxbp/xbpwindow.prg + Necessary constructs to honour context menu requests. 2009-11-23 22:49 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fixed to use '-ofilename' to spec C compiler object output, instead '-o filename'. Following linux/clang.mk. (There is utter chaos with this -o option) * config/darwin/clang.mk + Documented fact that '-ofilename' also works (just like in linux/clang). * config/linux/gcc.mk * config/linux/icc.mk * config/linux/clang.mk * config/linux/sunpro.mk * config/linux/global.mk % Moved strip configuration to global.mk. 2009-11-23 22:02 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + Turn on detailed maps for bcc targets when -map option is used. 2009-11-23 22:42 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/contrib/rddsql/sqlbase.c ! fixed connection counter decrementation for not connected areas 2009-11-23 20:26 UTC+0100 Viktor Szakats * contrib/hbwin/win_tprn.prg * contrib/hbwin/win_prn1.c ! Fixed ::SETPEN() and WIN_SETPEN() to not leak objects. Patch submitted by Xavi. * config/wce/poccarm.mk * config/win/pocc.mk % Removed some unnecessary logic, thus making it similar to all other compiler setups. * ChangeLog * TODO marked as DONE. 2009-11-23 16:28 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/mpkg_rpm_win.sh + added yet another path for cross-mingw compiler detection 2009-11-23 14:05 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/filesys.c % eliminated memory allocation from hb_fsCurDirBuff() if non UNICODE WIN32 API is used 2009-11-23 13:15 UTC+0100 Viktor Szakats * config/beos/gcc.mk * config/bsd/gcc.mk * config/wce/mingwarm.mk * config/wce/poccarm.mk * config/wce/msvcarm.mk * config/darwin/gcc.mk * config/darwin/icc.mk * config/darwin/clang.mk * config/hpux/gcc.mk * config/dos/watcom.mk * config/dos/djgpp.mk * config/win/xcc.mk * config/win/mingw.mk * config/win/pocc.mk * config/win/bcc.mk * config/win/watcom.mk * config/win/icc.mk * config/win/pocc64.mk * config/win/cygwin.mk * config/win/msvc.mk * config/linux/watcom.mk * config/linux/gcc.mk * config/linux/icc.mk * config/linux/clang.mk * config/linux/sunpro.mk * config/os2/watcom.mk * config/os2/gcc.mk * config/sunos/gcc.mk * config/sunos/sunpro.mk + Uniformly using CFLAGS to store C compilation flags, instead of a previous mixture of CPPFLAGS and CFLAGS. * config/rules.mk - Deleted CPPFLAGS. * INSTALL * bin/postinst.bat ! Minor fixes in texts. 2009-11-23 10:25 UTC+0100 Viktor Szakats * contrib/hbwin/win_prn2.c ! Commented buggy code dealing with Chr( 26 ) strippage in PRINTFILERAW(). While I can imagine Chr( 26 ) may cause a little inconvenience when sent to printer, it will just be a small visual one, and it's very easy to overcome by using HB_MEMOWRIT() instead of MEMOWRIT() to create the disk file, if the file was created by other means, the Chr( 26 ) won't be there anyway. Anyhow I opted to have a clear cut behavior even if it's slightly incompatible because old implementation was buggy, and IMO such printing function shouldn't do behind-the-scenes alterations on the data to be printed. After all the function is called "RAW". INCOMPATIBLE for files which have an ending Chr( 26 ). * contrib/hbide/hbide.prg ! Removed CURDRIVE() and CURDIR() usage. Notice that on *nix platforms there is no such thing as drive letter, plus some platforms don't even have the concept of current dir. CURDRIVE() is also an XBase++ specific call, so it may not be available in Harbour core. ! Removed hard-wired Windows specific path from save dialog. (it was a template yet) * config/rules.mk ! Deleted CFLAGS from default link rule. After quick scan through the make files this shouldn't cause problems. Please test and if it does, we should add missing options to LDFLAGS. ; TODO: Clean CPPFLAGS vs. CFLAGS usage in all .mk files. They should all uniformly use CFLAGS now. [DONE] 2009-11-23 09:11 UTC+0100 Viktor Szakats * src/rtl/filesys.c ! Fixed leak in hb_fsCurDirBuff() reported by Pritpal. Please test/review. * contrib/hbwin/win_prn2.c * Changed prefix of HB_SIZE type variables. 2009-11-22 22:27 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/hbide.prg * contrib/hbide/idetags.prg ! Changed the way <Function List> was being populated. ! Fixed to not enter in Editing mode when double-clicked in <Function List>. 2009-11-23 02:13 UTC+0100 Viktor Szakats * src/rtl/diskspac.c * src/rtl/disksphb.c * contrib/hbwin/win_prn2.c ! Fixed to use WIDE version of dynamically called functions in UNICODE builds. * ChangeLog + TODO marked as DONE. 2009-11-23 01:24 UTC+0100 Viktor Szakats * contrib/hbwin/win_prn2.c + Added support for fifth 'share' element to GETPRINTERS() returned array. This syncs it with xhb. - contrib/hbide/hbide.hbm + contrib/hbide/hbide.hbp * Renamed project file to have .hbp extension. - contrib/hbide/hbmk.hbm - Not needed anymore. Deleted. * contrib/hbide/ideparseexpr.c ! strnicmp() -> hb_strnicmp() 2009-11-22 15:45 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/hbide.hbm ! Call hbmk2 hbid.hbm which includes all required files. + contrib/hbide/idestylesheets.prg + Added to implement Qt's powerful feature to apply style sheets to a widget. + contrib/hbide/idetags.prg + contrib/hbide/ideparseexpr.c + Code provided by Andy Wos almost an year back. Never thought it will be of much use for this purpose. Big thank you Andy. + contrib/hbide/freadlin.c ! Pulled from contrib/xhb. There may be a better option. * contrib/hbqt/hbqt.ch + Added more constants. * contrib/hbqt/hbqt_destruct.cpp + New PRG level function HB_FUNC( HBQT_QTPTR_FROM_GCPOINTER ) which returns Qt pointer sent the GC pointer as only parameter. * contrib/hbxbp/xbptabpage.prg ! Changed the way callback slots were implemented. * contrib/hbide/hbide.prg + Implemented right-hand <Functions List>. Just click on it and editor tab will scroll to the begining of function. It was very tricky and has the potential to improve. Please play. ! Implemented "Save" with <ESC> or via <Save> icon. You can start real-time editing if you want to. Open many sources, change the tabs, press <ESC>s or edit and save. Let me know if this behavior is ok. Note: after last tab is closed, hbide.exe terminates. 2009-11-23 01:04 UTC+0100 Viktor Szakats * contrib/hbwin/axcore.c * contrib/hbwin/oleinit.c * contrib/hbwin/wapi_winbase.c * contrib/hbwin/win_misc.c * contrib/hbwin/hbwinole.h * contrib/hbwin/olecore.c * contrib/hbwin/win_dll.c * BOOL -> HB_BOOL (where applicable) * ULONG, unsigned long -> HB_SIZE (where applicable) * contrib/hbwin/wce_smsc.c % Optimized out BOOL var. * contrib/hbwin/win_dll.c * ULONG -> unsigned long * contrib/hbwin/win_prn1.c * contrib/hbwin/win_regc.c * contrib/hbwin/win_osc.c * contrib/hbwin/win_dll.c ! Formatting. 2009-11-23 00:46 UTC+0100 Viktor Szakats * src/vm/arrays.c * src/debug/dbgentry.c * contrib/xhb/xhbarr.c * contrib/xhb/xhberrc.c * contrib/xhb/cstructc.c * Changed to use native Harbour API function names instead of xhb compatibility ones: hb_itemForwardValue() -> hb_itemMove() hb_itemPutCStatic() -> hb_itemPutCConst() * contrib/hbbmcdx/bmdbfcdx.c * contrib/rddsql/sqlbase.c * contrib/rddads/adsfunc.c * contrib/hbwin/wce_simc.c * contrib/hbwin/win_prn1.c * contrib/hbwin/win_prn2.c % hb_itemNew() + hb_arrayNew() combination replaced with single hb_itemArrayNew() call. * include/hbapi.h * include/hbapiitm.h * Marked some legacy/compatibility functions with HB_LEGACY_LEVEL2. This means they will be deleted in next major release version: LEGACY/DEPRECATED RECOMMENDED EQUIVALENT ---------------------- ----------------------- hb_retcAdopt() hb_retc_buffer() hb_retclenAdopt() hb_retclen_buffer() hb_retcStatic() hb_retc_const() hb_storclenAdopt() hb_storclen_buffer() hb_itemPutCRawStatic() hb_itemPutCLConst() hb_itemForwardValue() hb_itemMove() hb_itemPutCStatic() hb_itemPutCConst() hb_arraySetCPtr() hb_arraySetCLPtr() * contrib/hbwin/win_tprn.prg * Minor formatting. * contrib/hbwin/win_osc.c * Using HB_BOOL. * Varible type notation fixed. 2009-11-23 00:43 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/config/global.mk + added yet another path for cross-mingw compiler detection * harbour/contrib/hbwin/win_prn2.c ! fixed iResult defined twice by mistake 2009-11-22 21:45 UTC+0100 Viktor Szakats * contrib/hbwin/win_prn1.c * contrib/hbwin/win_prn2.c * Using HB_BOOL for Harbour variables. * Few minor cleanups. ; FIXME: CreateFile() is used in one place instead of Harbour File I/O. Anyone? [DONE] 2009-11-22 21:29 UTC+0100 Viktor Szakats * contrib/hbwin/win_prn1.c * Renamed some variables to reflect their real type. ! Fixed to use HB_SIZE instead of int and ULONG. * Using long instead of LONG for non-Windows API related values. * Synced parn*/retn*/storn* usage with actual types used by Windows API (l vs. i). * Added a few cats and removed a few others. ! Fixed WIN_GETPRINTERFONTNAME() for UNICODE mode. (warning was masked by explicit cast). ; Please make tests, I didn't do any functional tests on any of the above (and I'm also not using them). 2009-11-22 21:03 UTC+0100 Viktor Szakats * contrib/hbwin/win_tprn.prg * contrib/hbwin/win_prn1.c ! Fixed HFONT leak in WIN_CREATEFONT(). This also means the function works a little bit differently, so in case you are using it directly, be warned that this change is INCOMPATIBLE. It will now return a font handle instead of boolean value signaling success. ! Fixed several functions to check for valid HDC. % Deleted redundant code from WIN_DELETEDC(). ; Submitted by Xavi. Thank you. (plus these small modifications by me:) ! Fixed formatting to use the same coding style as the rest of the file (and all our sources). ! Fixed to use FALSE instead of 0. * INSTALL + Added note to HOW TO PARTICIPATE section to use the same coding style as found in original files when adding patches. 2009-11-22 19:39 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbwin/win_prn2.c * removed trailing spaces from empty lines 2009-11-22 19:13 UTC+0100 Viktor Szakats * contrib/hbwin/win_prn2.c % Merged C level functions into Harbour level ones. (PRINTERPORTTONAME() got simplified a great deal as a result.) ! Fixed to initialize remaining numbers passed by ref to winapi. * More type cleanup. + contrib/hbwin/tests/testprn3.prg + Added test for printing support functions. 2009-11-22 17:57 UTC+0100 Viktor Szakats * contrib/hbwin/win_prn2.c ! Fixed to use hb_xfree() instead of HB_TCHAR_FREE() where allocation is done using hb_xgrab(). This could pbly cause leaks in some rare cases. % PRINTEREXISTS() now uses the same method on NT and Win9x systems. * XISPRINTER() will now fall back to default printer also when an empty string is passed as parameter. * Some minor variable declaration, initialization and naming cleanups and optimizations. 2009-11-22 13:26 UTC+0100 Viktor Szakats * contrib/hbwin/win_prn2.c * And some more cleanups (name usage mainly). Hopefully the last one around this area. 2009-11-22 13:20 UTC+0100 Viktor Szakats * contrib/hbwin/win_prn2.c * More cleanups (name usage mainly). 2009-11-22 12:58 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added support for linux/clang. (untested) (what package has to be installed? I installed llvm yesterday, but couldn't find clang on Ubuntu) * config/linux/clang.mk ! Added SVN props. 2009-11-22 12:43 UTC+0100 Viktor Szakats * contrib/hbwin/win_prn2.c + PRINTFILERAW(): Changed to use Harbour File I/O API instead of Windows one to read from a disk file. * More variable name / macro usage cleanup. ; FIXME: PRINTFILERAW() has suspicious code aiming to delete Chr( 26 ) from input files. In current implementation it can strip Chr( 26 ) even from inside the file if the file is larger than read buffer, which means it will corrupt input and may cause wrong output to be printed (e.g. if that Chr( 26 ) is part of a printer control char sequence). [DONE] * INSTALL + Added linux/clang to the target mix. 2009-11-22 12:38 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) + harbour/config/linux/clang.mk + added support for CLANG in LINUX builds * harbour/include/hbatomic.h + added assembler code for SPINLOCKs in WATCOM x86 builds * harbour/src/vm/fm.c * enabled HB_FM_DLMT_ALLOC by default in MT HVM if HB_FM_DL_ALLOC is also enabled * harbour/src/vm/dlmalloc.c * modifications for non MS-Windows WATCOM builds FIXME: now it compiles in Linux and OS2 builds but it still does not work [DONE] 2009-11-22 12:29 UTC+0100 Viktor Szakats * contrib/hbwin/win_prn2.c * Variables renamed to reflect their types. * Further cleanups. + Added FIXME to use Harbour IO instead of win to read a disk file. [DONE] * Changed to use HB_SIZE instead of ULONG for string lengths/sizes. + Added HB_SIZE casts to silence 64-bit warnings (to two places). 2009-11-22 04:12 UTC+0100 Viktor Szakats * contrib/hbwin/win_prn2.c % GETPRINTERS(): Changed to use printer list retrieving on NT systems to the one used on Win9x systems. This greatly simplifies the code. % GETPRINTERS(): Optimized out one PHB_ITEM variable. % GETPRINTERS(): Moved variables closer to their user blocks. * GETPRINTERS(): Using empty strings instead of inconsistent "Error"/"ERROR" texts on error. (INCOMPATIBLE). ; Pls test. * src/common/hbver.c + Some changes to the way LLVM/CLang are detected. One remaining combination was now added also. Pls review me. 2009-11-22 03:37 UTC+0100 Viktor Szakats * contrib/hbwin/win_prn2.c * Further type cleanup. % Using macro instead of storing static number in variable. ! Fixed GETPRINTER() after recent change on Win9x systems. 2009-11-22 03:00 UTC+0100 Viktor Szakats * contrib/hbwin/win_tprn.prg ! Accidentally missed GetDocumentProperties() method added. % Converted all INLINE methods to normal ones (for optimal performance). * contrib/hbwin/win_tcom.prg % Converted all INLINE methods to normal ones (for optimal performance). * contrib/hbwin/win_prn1.c % Using hb_arraySet*() APIs. * contrib/hbwin/win_prn2.c * Minor formatting. 2009-11-21 00:00 UTC+0100 Viktor Szakats * contrib/hbwin/win_prn2.c ! Fixed PRINTEREXISTS() in UNICODE mode (hidden by wrong cast). % Type cleanup (e.g. not using Windows type where not necessary). % Cleaned away unnecessary casts. 2009-11-21 22:49 UTC+0100 Viktor Szakats * contrib/hbwin/win_prn2.c ! Fixed few type mis-uses (BOOL instead of DWORD and vice versa) % Optimized hb_isLegacyDevice(). % Marked some static strings as static. % Marked locally used C worker functions as static. This may cause incompatibility if someone used these via undocumented ways. They were never officially published through .h headers. 2009-11-21 22:37 UTC+0100 Viktor Szakats * contrib/hbwin/win_tprn.prg * contrib/hbwin/win_prn1.c + Added ::GetDocumentProperties() method. + Calling ::GetDocumentProperties() from ::New() to setup defaults. ; Patch submitted by Xavi. Thank you. * contrib/hbwin/win_prn2.c % Modified GETPRINTERS() code to use optimal array creation code, use less redundancy and synced functionally similar code parts with each other, deleted unnecessary code parts. * Greatly cleaned GETPRINTERS() code (names, layout). ! Fixed GETPRINTERS() code. It had fatal flaw in non-NT branch, so I seriously wonder how could it work for anyone in the past. It seems it wasn't even tested by submitter before commited to xhb repository in year 2005. Someone pls test it on Win9x, I don't have any printers installed there. * contrib/hbwin/win_prn1.c * contrib/hbwin/legacy.prg * Moved WIN_GETEXEFILENAME() to legacy function collection, at the same time rewritten to simply call HB_ARGV( 0 ). * contrib/hbwin/win_prn1.c % WIN_FILLRECT(), WIN_ARC(), WIN_ELLIPSE() optimized. 2009-11-21 20:28 UTC+0100 Viktor Szakats * config/darwin/gcc.mk * config/darwin/icc.mk * config/darwin/clang.mk ! Attempt to fix darwin dylib generation, added lib prefix to install name parameter. ; FIXME: Adding path to lib reference still doesn't work, so shared binaries will still not work unless Harbour is installed to system location. 2009-11-21 19:48 UTC+0100 Viktor Szakats * contrib/hbtip/smtpcli.prg ! Fixed long time SMTP protocol implementation bug reported (with patch) by Francesco Perillo. Thank you. The problem manifested itself only with strictly standard compliant SMTP server (setups?) like recent Exim versions. + Upped timeout from 5000 to 50000. 2009-11-21 18:13 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added clang support to link to dylib with full dirspec (when Harbour is not used/installed in a system location) 2009-11-21 12:38 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fixed to make clang behave like gcc when decorating lib references. ! Fixed to include clang in 'allgcc' filter. + Added native header detection when using clang. ! Internal change to use detected c compiler name instead of hard-wired 'gcc' when doing native header detection for .c files (using -MM option). 2009-11-21 11:10 UTC+0100 Viktor Szakats * include/hbsetup.h * utils/hbmk2/hbmk2.prg * config/darwin/clang.mk + Using __clang__ for Clang detection instead of locally rolled solution. * src/common/hbver.c + Added Clang compiler detection. 2009-11-20 17:43 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbxbp/xbplistbox.prg * contrib/hbide/hbide.prg + Implemented prototype of <Project Tree Structure>. Also play with various icons. Docks at the right and at the bottom can be collapsed. Please forward suggesstions. 2009-11-20 14:32 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/generator/qt45.qtp * contrib/hbqt/Makefile * contrib/hbqt/qtgui/filelist.mk * contrib/hbqt/qtgui/QWindowsXPStyle.cpp * contrib/hbqt/qtgui/TQWindowsXPStyle.prg * contrib/hbqt/qth/QWindowsXPStyle.qth - Deleted QWindowXPStyle class source header and definition. * contrib/hbqt/hbqt.ch + Added more constants. 2009-11-20 17:25 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.pt_BR.po * utils/hbmk2/hbmk2.hu_HU.po * utils/hbmk2/hbmk2.prg + Added missing Fossil VCS from help text. 2009-11-20 16:51 UTC+0100 Viktor Szakats * src/rdd/usrrdd/usrrdd.c ! USHORT -> HB_ERRCODE. 2009-11-20 07:15 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/hbqt.ch + Added some more constants. * contrib/hbqt/hbqt_slots.cpp * contrib/hbqt/hbqt_slots.h ! Further cleanup of QWebKit elimination. 2009-11-20 15:04 UTC+0100 Viktor Szakats * include/hbdefs.h * Removed reliance on old type when defining some new types. * contrib/hbcurl/hbcurl.c * contrib/hbssl/ssl.c * contrib/hbssl/evpmd.c * Changed ULONG to HB_SIZE. (HB_SIZE currently is the same as ULONG) * contrib/hbssl/evp.c * Changed ULONG to size_t in one place. 2009-11-20 14:30 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/vm/dlmalloc.c ! removed hack with overlapped structures with small chunks to not confuse C compilers which can make strict-aliasing optimizations * harbour/src/vm/set.c ! removed old casting left by mistake in hb_conSetCursor() calls 2009-11-20 13:56 UTC+0100 Viktor Szakats * src/vm/set.c ! USHORT -> HB_ERRCODE. 2009-11-20 13:44 UTC+0100 Viktor Szakats * contrib/rddsql/rddsql.hbc + Added incpaths=. so now .ch file will be automatically found. * contrib/rddsql/sddmy/tests/test1.prg * contrib/rddsql/sddodbc/tests/test1.prg * contrib/rddsql/sddodbc/tests/test2.prg - Deleted explicit paths from #include directives. (after above .hbc change this isn't necessary) * contrib/rddsql/Makefile + Added to install .ch file. * contrib/rddsql/hbrddsql.ch + Added NOTE, that file is used also by C code. ! Added EOL at EOF. 2009-11-20 14:28 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) + harbour/contrib/rddsql/hbrddsql.ch * harbour/contrib/rddsql/hbrddsql.h * DBI_ and RDDI_ defines moved to .ch file * harbour/contrib/rddsql/sddmy/tests/test1.prg * harbour/contrib/rddsql/sddodbc/tests/test1.prg * harbour/contrib/rddsql/sddodbc/tests/test2.prg * hbrddsql.ch include used * harbour/contrib/rddsql/sddodbc/tests/test2.prg ! fixed small error in DSN * harbour/contrib/rddsql/sddodbc/odbcdd.c * implemented error processing * harbour/contrib/rddsql/sddfb/fbirddd.c * harbour/contrib/rddsql/sddmy/mysqldd.c * harbour/contrib/rddsql/sddodbc/odbcdd.c * harbour/contrib/rddsql/sddpg/pgsqldd.c * harbour/contrib/rddsql/sqlbase.c * harbour/contrib/rddsql/sqlmix.c * source formatting * changed error variables type to HB_ERRCODE * harbour/contrib/rddsql/sddfb/fbirddd.c * harbour/contrib/rddsql/sddmy/mysqldd.c * moved unsupported (by some compiler) compile time condition check to RDD initialisation run-time condition check * harbour/contrib/rddsql/hbrddsql.h * harbour/contrib/rddsql/sqlbase.c * implemented connection area counter. Now connection can be closed only after all its workareas are closed. * harbour/contrib/rddsql/hbrddsql.h * harbour/contrib/rddsql/sqlbase.c * SQL error text, error number, last query, etc. Moved from connection to static variables, because I'm unable to return errors for a failed connect otherwise. ; TODO: MT support. Error text and code are stored in static variable, it should be moved to thread static in the future. But there is more problems in MT support. E.g., can we use use the same connection for a few threads? 2009-11-20 13:18 UTC+0100 Viktor Szakats * src/rtl/errapi.c * Renamed error variables to use new prefix. * ChangeLog ! Typo. * contrib/hbwin/win_osc.c + Added OS_ISWIN7(). Borrowed from xhb / Patrick Mast. 2009-11-19 18:12 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/hbqt.hbc * contrib/hbqt/hbqt_slots.cpp * contrib/hbqt/hbqt_slots.h * contrib/hbxbp/xbphtmlviewer.prg - Removed QtWebKit support. Code still resides in the files. I plan to separate it next week. Please post if still any error is reported related with QWebKit involved cross builds. 2009-11-20 02:38 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/vm/maindllp.c ! fixed return value in hb_parvdsbuff() used when original hb_parvdsbuff() cannot be found 2009-11-20 00:18 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/gtcrs/gtcrs.c * pacified warning caused by wrong tigetnum() declarations in some curses versions * harbour/src/rtl/gtsln/gtsln.c ! fixed non ANSI-C variable declarations * harbour/include/hbsetup.h + added macros for PURE and CONST function attributes * harbour/contrib/hbct/ctc.c * modified variable names 2009-11-19 19:57 UTC+0100 Viktor Szakats * contrib/hbqt/detect.mk ! Fix attempt to handle cross-build situations. * src/rtl/errintlo.c * Minor formatting. 2009-11-19 18:48 UTC+0100 Viktor Szakats * contrib/hbqt/detect.mk + Added more sophisticated autodetection of moc executable. Please test on your system. Envvar HB_QT_MOC_BIN can always be used to specify the name of QT 'moc' executable, so if autodetection fails, please use it and report the value that worked for you. 2009-11-19 17:06 UTC+0100 Viktor Szakats * src/rtl/errapi.c * contrib/hbct/ctc.c ! Fixed printf() format strings after recent HB_ERRCODE change. * contrib/hbqt/tests/demoqt.prg % Deleted hb_idleSleep( 1 ) after main window creation. Please advise if it was put there with some reason. * contrib/hbqt/hbqt_slots.cpp ! Fixed to use hb_releaseCPU() instead of hb_idleSleep( 0.2 ). I'm not sure whether this code part was active, but looked like a very bad workaround if the 0.2 sec sleep was really needed there. 2009-11-19 13:34 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rdd/dbfcdx/dbfcdx1.c ! minor typo in comment * harbour/contrib/rddsql/sddmy/mysqldd.c * harbour/contrib/rddsql/sddpg/pgsqldd.c * harbour/contrib/rddsql/sddfb/fbirddd.c * harbour/contrib/rddsql/sddodbc/odbcdd.c ! small fix for include dirs in XCC builds 2009-11-19 11:49 UTC+0100 Viktor Szakats * contrib/gtqtc/Makefile * contrib/gtqtc/gtqtcs/Makefile - contrib/gtqtc/moc_gtqtc.cpp ! Fixed to generate moc file dynamically. % Changed to use detect.mk in hbqt for QT detection. * contrib/hbqt/hbqts/Makefile ! Fixed for HB_QT_STATIC=yes mode after latest change. * contrib/hbqt/Makefile * contrib/hbqt/detect.mk * Moved MOC_BIN detection to detect.mk. 2009-11-19 11:34 UTC+0100 Viktor Szakats * contrib/hbqt/Makefile * Minor adjustment to prev. 2009-11-19 11:30 UTC+0100 Viktor Szakats * contrib/hbqt/Makefile - contrib/hbqt/moc_slots.cpp + Added dynamic generation of moc_slots.cpp by calling moc tool. ; TODO: If this is ok, do the same in gtqtc. [DONE] 2009-11-19 09:41 UTC+0100 Viktor Szakats * contrib/gtwvg/Makefile + Enabled for xcc. * contrib/gtwvg/wvgwing.c ! Fixed warning with xcc. * config/win/xcc.mk ! Added minor hack to make xcc work on Windows. (can't handle header dir with ending pathsep) 2009-11-19 09:16 UTC+0100 Viktor Szakats * contrib/hbqt/hbqt_misc.prg * contrib/hbxbp/xbpgeneric.prg * Synced two similar debug functions after latest change. % Deleted commented line. gtwvg/hbqt/hbxbp components are literally full of commented lines, #if 0 parts and such things. IMO these should be deleted from final code otherwise it gives the (possibly wrong) impression that the code is not-mature and in a temporary development state. Remember that SVN keeps a copy of every older version of source so in case it's needed it can always be retreived, so there is no need to keep old code commented "just in case". Everyone please keep that in mind. * contrib/gtwvg/tests/demowvg.prg ! Fixed all warnings which prevented it from being built. 2009-11-19 00:37 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg * Don't display translator if detected language is en-US. * contrib/gtwvg/tests/demowvg.prg ! To use manifest constant for ESC keycode. 2009-11-18 15:26 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbxbp/xbpgeneric.prg ! Change the way HBXBP_DEBUG() shows up the values. In my scheme of things the whole HBQT's debug system is revolving around this way. * contrib/hbide/hbide.prg + More basic visual components to host different project elements. Keep on playing with it. I am gathering all pitfalls. 2009-11-18 22:41 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added dependency tree to flat dependency list converter. (no cyclic reference check here) * contrib/gtwvg/wvgwing.c ! Fixed for Windows x64 platform. * contrib/gtwvg/Makefile + Enabled for Cygwin, IA64 and mingw64 compilers. Latest mingw64 experimental build builds it fine. This means all win compilers are supported except xcc. ; NOTE: Now it's disabled only for xcc. Can someone with xcc installed try gtwvg? Maybe it can be made work so we can drop this exception. [DONE] * config/global.mk * utils/hbmk2/hbmk2.prg + Added autodetection of x86_64 build of mingw64. (in hbmk2 it's recognized even if host platform isn't x64) * INSTALL + Added darwin -> win/mingw64 cross-platform scenario. Such binaries are now provided by the mingw64 project. 2009-11-18 20:37 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/harbour.spec ! fixed to build hbsms library 2009-11-18 20:15 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/vm/strapi.c ! fixed return value in hb_itemCopyStr() * harbour/contrib/hbct/files.c * harbour/contrib/hbct/disk.c ! fixed to work with HB_ERRCODE declared as unsigned int 2009-11-18 18:20 UTC+0100 Istvan Bisz (istvan.bisz/at/t-online.hu) * harbour/contrib/hbqt/hbqt_destruct.cpp * harbour/contrib/hbqt/hbqt.ch * harbour/contrib/hbqt/filelist.mk * harbour/contrib/hbqt/hbqt_garbage.h * harbour/contrib/hbqt/hbqt.h * harbour/contrib/hbqt//generator/hbqtgen.prg * harbour/contrib/hbqt/qtcore/filelist.mk * harbour/contrib/hbqt/qtcore/QAbstractItemModel.cpp * harbour/contrib/hbqt/qtcore/QAbstractListModel.cpp * harbour/contrib/hbqt/qtcore/QAbstractTableModel.cpp * harbour/contrib/hbqt/qtcore/QBitArray.cpp * harbour/contrib/hbqt/qtcore/QByteArray.cpp * harbour/contrib/hbqt/qtcore/QCoreApplication.cpp * harbour/contrib/hbqt/qtcore/QDataStream.cpp * harbour/contrib/hbqt/qtcore/QDate.cpp * harbour/contrib/hbqt/qtcore/QDateTime.cpp * harbour/contrib/hbqt/qtcore/QDir.cpp * harbour/contrib/hbqt/qtcore/QEvent.cpp * harbour/contrib/hbqt/qtcore/QEventLoop.cpp * harbour/contrib/hbqt/qtcore/QFile.cpp * harbour/contrib/hbqt/qtcore/QFileInfo.cpp * harbour/contrib/hbqt/qtcore/QIODevice.cpp * harbour/contrib/hbqt/qtcore/QLatin1Char.cpp * harbour/contrib/hbqt/qtcore/QLatin1String.cpp * harbour/contrib/hbqt/qtcore/QLine.cpp * harbour/contrib/hbqt/qtcore/QLineF.cpp * harbour/contrib/hbqt/qtcore/QList.cpp * harbour/contrib/hbqt/qtcore/QLocale.cpp * harbour/contrib/hbqt/qtcore/QMimeData.cpp * harbour/contrib/hbqt/qtcore/QModelIndex.cpp * harbour/contrib/hbqt/qtcore/QObject.cpp * harbour/contrib/hbqt/qtcore/QPoint.cpp * harbour/contrib/hbqt/qtcore/QPointF.cpp * harbour/contrib/hbqt/qtcore/QProcess.cpp * harbour/contrib/hbqt/qtcore/QRect.cpp * harbour/contrib/hbqt/qtcore/QRectF.cpp * harbour/contrib/hbqt/qtcore/QRegExp.cpp * harbour/contrib/hbqt/qtcore/QResource.cpp * harbour/contrib/hbqt/qtcore/QSignalMapper.cpp * harbour/contrib/hbqt/qtcore/QSize.cpp * harbour/contrib/hbqt/qtcore/QSizeF.cpp * harbour/contrib/hbqt/qtcore/QStringList.cpp * harbour/contrib/hbqt/qtcore/QTextBoundaryFinder.cpp * harbour/contrib/hbqt/qtcore/QTextCodec.cpp * harbour/contrib/hbqt/qtcore/QTextDecoder.cpp * harbour/contrib/hbqt/qtcore/QTextEncoder.cpp * harbour/contrib/hbqt/qtcore/QTextStream.cpp * harbour/contrib/hbqt/qtcore/QThread.cpp * harbour/contrib/hbqt/qtcore/QTime.cpp * harbour/contrib/hbqt/qtcore/QTimer.cpp * harbour/contrib/hbqt/qtcore/QTranslator.cpp * harbour/contrib/hbqt/qtcore/QUrl.cpp * harbour/contrib/hbqt/qtcore/QVariant.cpp * harbour/contrib/hbqt/qtcore/TQAbstractItemModel.prg * harbour/contrib/hbqt/qtcore/TQAbstractListModel.prg * harbour/contrib/hbqt/qtcore/TQAbstractTableModel.prg * harbour/contrib/hbqt/qtcore/TQBitArray.prg * harbour/contrib/hbqt/qtcore/TQByteArray.prg * harbour/contrib/hbqt/qtcore/TQCoreApplication.prg * harbour/contrib/hbqt/qtcore/TQDataStream.prg * harbour/contrib/hbqt/qtcore/TQDate.prg * harbour/contrib/hbqt/qtcore/TQDateTime.prg * harbour/contrib/hbqt/qtcore/TQDir.prg * harbour/contrib/hbqt/qtcore/TQEvent.prg * harbour/contrib/hbqt/qtcore/TQEventLoop.prg * harbour/contrib/hbqt/qtcore/TQFile.prg * harbour/contrib/hbqt/qtcore/TQFileInfo.prg * harbour/contrib/hbqt/qtcore/TQIODevice.prg * harbour/contrib/hbqt/qtcore/TQLatin1Char.prg * harbour/contrib/hbqt/qtcore/TQLatin1String.prg * harbour/contrib/hbqt/qtcore/TQLine.prg * harbour/contrib/hbqt/qtcore/TQLineF.prg * harbour/contrib/hbqt/qtcore/TQList.prg * harbour/contrib/hbqt/qtcore/TQLocale.prg * harbour/contrib/hbqt/qtcore/TQMimeData.prg * harbour/contrib/hbqt/qtcore/TQModelIndex.prg * harbour/contrib/hbqt/qtcore/TQObject.prg * harbour/contrib/hbqt/qtcore/TQPoint.prg * harbour/contrib/hbqt/qtcore/TQPointF.prg * harbour/contrib/hbqt/qtcore/TQProcess.prg * harbour/contrib/hbqt/qtcore/TQRect.prg * harbour/contrib/hbqt/qtcore/TQRectF.prg * harbour/contrib/hbqt/qtcore/TQRegExp.prg * harbour/contrib/hbqt/qtcore/TQResource.prg * harbour/contrib/hbqt/qtcore/TQSignalMapper.prg * harbour/contrib/hbqt/qtcore/TQSize.prg * harbour/contrib/hbqt/qtcore/TQSizeF.prg * harbour/contrib/hbqt/qtcore/TQStringList.prg * harbour/contrib/hbqt/qtcore/TQTextBoundaryFinder.prg * harbour/contrib/hbqt/qtcore/TQTextCodec.prg * harbour/contrib/hbqt/qtcore/TQTextDecoder.prg * harbour/contrib/hbqt/qtcore/TQTextEncoder.prg * harbour/contrib/hbqt/qtcore/TQTextStream.prg * harbour/contrib/hbqt/qtcore/TQThread.prg * harbour/contrib/hbqt/qtcore/TQTime.prg * harbour/contrib/hbqt/qtcore/TQTimer.prg * harbour/contrib/hbqt/qtcore/TQTranslator.prg * harbour/contrib/hbqt/qtcore/TQUrl.prg * harbour/contrib/hbqt/qtcore/TQVariant.prg * harbour/contrib/hbqt/qtgui/filelist.mk * harbour/contrib/hbqt/qtgui/QAbstractButton.cpp * harbour/contrib/hbqt/qtgui/QAbstractItemDelegate.cpp * harbour/contrib/hbqt/qtgui/QAbstractItemView.cpp * harbour/contrib/hbqt/qtgui/QAbstractPrintDialog.cpp * harbour/contrib/hbqt/qtgui/QAbstractProxyModel.cpp * harbour/contrib/hbqt/qtgui/QAbstractScrollArea.cpp * harbour/contrib/hbqt/qtgui/QAbstractSlider.cpp * harbour/contrib/hbqt/qtgui/QAbstractSpinBox.cpp * harbour/contrib/hbqt/qtgui/QAbstractTextDocumentLayout.cpp * harbour/contrib/hbqt/qtgui/QAction.cpp * harbour/contrib/hbqt/qtgui/QActionGroup.cpp * harbour/contrib/hbqt/qtgui/QApplication.cpp * harbour/contrib/hbqt/qtgui/QBitmap.cpp * harbour/contrib/hbqt/qtgui/QBoxLayout.cpp * harbour/contrib/hbqt/qtgui/QBrush.cpp * harbour/contrib/hbqt/qtgui/QButtonGroup.cpp * harbour/contrib/hbqt/qtgui/QCalendarWidget.cpp * harbour/contrib/hbqt/qtgui/QCheckBox.cpp * harbour/contrib/hbqt/qtgui/QClipboard.cpp * harbour/contrib/hbqt/qtgui/QColor.cpp * harbour/contrib/hbqt/qtgui/QColorDialog.cpp * harbour/contrib/hbqt/qtgui/QComboBox.cpp * harbour/contrib/hbqt/qtgui/QCommandLinkButton.cpp * harbour/contrib/hbqt/qtgui/QCommonStyle.cpp * harbour/contrib/hbqt/qtgui/QCompleter.cpp * harbour/contrib/hbqt/qtgui/QConicalGradient.cpp * harbour/contrib/hbqt/qtgui/QContextMenuEvent.cpp * harbour/contrib/hbqt/qtgui/QCursor.cpp * harbour/contrib/hbqt/qtgui/QDateEdit.cpp * harbour/contrib/hbqt/qtgui/QDateTimeEdit.cpp * harbour/contrib/hbqt/qtgui/QDesktopWidget.cpp * harbour/contrib/hbqt/qtgui/QDial.cpp * harbour/contrib/hbqt/qtgui/QDialog.cpp * harbour/contrib/hbqt/qtgui/QDirModel.cpp * harbour/contrib/hbqt/qtgui/QDockWidget.cpp * harbour/contrib/hbqt/qtgui/QDoubleSpinBox.cpp * harbour/contrib/hbqt/qtgui/QDragEnterEvent.cpp * harbour/contrib/hbqt/qtgui/QDragLeaveEvent.cpp * harbour/contrib/hbqt/qtgui/QDragMoveEvent.cpp * harbour/contrib/hbqt/qtgui/QDropEvent.cpp * harbour/contrib/hbqt/qtgui/QErrorMessage.cpp * harbour/contrib/hbqt/qtgui/QFileDialog.cpp * harbour/contrib/hbqt/qtgui/QFileIconProvider.cpp * harbour/contrib/hbqt/qtgui/QFileSystemModel.cpp * harbour/contrib/hbqt/qtgui/QFocusEvent.cpp * harbour/contrib/hbqt/qtgui/QFocusFrame.cpp * harbour/contrib/hbqt/qtgui/QFont.cpp * harbour/contrib/hbqt/qtgui/QFontComboBox.cpp * harbour/contrib/hbqt/qtgui/QFontDatabase.cpp * harbour/contrib/hbqt/qtgui/QFontDialog.cpp * harbour/contrib/hbqt/qtgui/QFontInfo.cpp * harbour/contrib/hbqt/qtgui/QFontMetrics.cpp * harbour/contrib/hbqt/qtgui/QFontMetricsF.cpp * harbour/contrib/hbqt/qtgui/QFormLayout.cpp * harbour/contrib/hbqt/qtgui/QFrame.cpp * harbour/contrib/hbqt/qtgui/QGradient.cpp * harbour/contrib/hbqt/qtgui/QGridLayout.cpp * harbour/contrib/hbqt/qtgui/QGroupBox.cpp * harbour/contrib/hbqt/qtgui/QHBoxLayout.cpp * harbour/contrib/hbqt/qtgui/QHeaderView.cpp * harbour/contrib/hbqt/qtgui/QHelpEvent.cpp * harbour/contrib/hbqt/qtgui/QIcon.cpp * harbour/contrib/hbqt/qtgui/QImage.cpp * harbour/contrib/hbqt/qtgui/QImageReader.cpp * harbour/contrib/hbqt/qtgui/QImageWriter.cpp * harbour/contrib/hbqt/qtgui/QInputContext.cpp * harbour/contrib/hbqt/qtgui/QInputDialog.cpp * harbour/contrib/hbqt/qtgui/QInputEvent.cpp * harbour/contrib/hbqt/qtgui/QInputMethodEvent.cpp * harbour/contrib/hbqt/qtgui/QItemSelection.cpp * harbour/contrib/hbqt/qtgui/QItemSelectionModel.cpp * harbour/contrib/hbqt/qtgui/QKeyEvent.cpp * harbour/contrib/hbqt/qtgui/QKeySequence.cpp * harbour/contrib/hbqt/qtgui/QLabel.cpp * harbour/contrib/hbqt/qtgui/QLayout.cpp * harbour/contrib/hbqt/qtgui/QLayoutItem.cpp * harbour/contrib/hbqt/qtgui/QLCDNumber.cpp * harbour/contrib/hbqt/qtgui/QLinearGradient.cpp * harbour/contrib/hbqt/qtgui/QLineEdit.cpp * harbour/contrib/hbqt/qtgui/QListView.cpp * harbour/contrib/hbqt/qtgui/QListWidget.cpp * harbour/contrib/hbqt/qtgui/QListWidgetItem.cpp * harbour/contrib/hbqt/qtgui/QMainWindow.cpp * harbour/contrib/hbqt/qtgui/QMatrix.cpp * harbour/contrib/hbqt/qtgui/QMenu.cpp * harbour/contrib/hbqt/qtgui/QMenuBar.cpp * harbour/contrib/hbqt/qtgui/QMessageBox.cpp * harbour/contrib/hbqt/qtgui/QMouseEvent.cpp * harbour/contrib/hbqt/qtgui/QMoveEvent.cpp * harbour/contrib/hbqt/qtgui/QMovie.cpp * harbour/contrib/hbqt/qtgui/QPageSetupDialog.cpp * harbour/contrib/hbqt/qtgui/QPaintDevice.cpp * harbour/contrib/hbqt/qtgui/QPainter.cpp * harbour/contrib/hbqt/qtgui/QPainterPath.cpp * harbour/contrib/hbqt/qtgui/QPaintEvent.cpp * harbour/contrib/hbqt/qtgui/QPalette.cpp * harbour/contrib/hbqt/qtgui/QPen.cpp * harbour/contrib/hbqt/qtgui/QPicture.cpp * harbour/contrib/hbqt/qtgui/QPixmap.cpp * harbour/contrib/hbqt/qtgui/QPolygon.cpp * harbour/contrib/hbqt/qtgui/QPolygonF.cpp * harbour/contrib/hbqt/qtgui/QPrintDialog.cpp * harbour/contrib/hbqt/qtgui/QPrintEngine.cpp * harbour/contrib/hbqt/qtgui/QPrinter.cpp * harbour/contrib/hbqt/qtgui/QPrintPreviewDialog.cpp * harbour/contrib/hbqt/qtgui/QProgressBar.cpp * harbour/contrib/hbqt/qtgui/QProgressDialog.cpp * harbour/contrib/hbqt/qtgui/QPushButton.cpp * harbour/contrib/hbqt/qtgui/QRadialGradient.cpp * harbour/contrib/hbqt/qtgui/QRadioButton.cpp * harbour/contrib/hbqt/qtgui/QRegion.cpp * harbour/contrib/hbqt/qtgui/QResizeEvent.cpp * harbour/contrib/hbqt/qtgui/QScrollArea.cpp * harbour/contrib/hbqt/qtgui/QScrollBar.cpp * harbour/contrib/hbqt/qtgui/QSessionManager.cpp * harbour/contrib/hbqt/qtgui/QSizeGrip.cpp * harbour/contrib/hbqt/qtgui/QSizePolicy.cpp * harbour/contrib/hbqt/qtgui/QSlider.cpp * harbour/contrib/hbqt/qtgui/QSound.cpp * harbour/contrib/hbqt/qtgui/QSpacerItem.cpp * harbour/contrib/hbqt/qtgui/QSpinBox.cpp * harbour/contrib/hbqt/qtgui/QSplashScreen.cpp * harbour/contrib/hbqt/qtgui/QSplitter.cpp * harbour/contrib/hbqt/qtgui/QStandardItem.cpp * harbour/contrib/hbqt/qtgui/QStandardItemModel.cpp * harbour/contrib/hbqt/qtgui/QStatusBar.cpp * harbour/contrib/hbqt/qtgui/QStringListModel.cpp * harbour/contrib/hbqt/qtgui/QStyle.cpp * harbour/contrib/hbqt/qtgui/QStyledItemDelegate.cpp * harbour/contrib/hbqt/qtgui/QStyleFactory.cpp * harbour/contrib/hbqt/qtgui/QStyleHintReturn.cpp * harbour/contrib/hbqt/qtgui/QStyleHintReturnMask.cpp * harbour/contrib/hbqt/qtgui/QStyleHintReturnVariant.cpp * harbour/contrib/hbqt/qtgui/QStyleOption.cpp * harbour/contrib/hbqt/qtgui/QStyleOptionButton.cpp * harbour/contrib/hbqt/qtgui/QStyleOptionComboBox.cpp * harbour/contrib/hbqt/qtgui/QStyleOptionComplex.cpp * harbour/contrib/hbqt/qtgui/QStyleOptionDockWidget.cpp * harbour/contrib/hbqt/qtgui/QStyleOptionFocusRect.cpp * harbour/contrib/hbqt/qtgui/QStyleOptionFrame.cpp * harbour/contrib/hbqt/qtgui/QStyleOptionGroupBox.cpp * harbour/contrib/hbqt/qtgui/QStyleOptionHeader.cpp * harbour/contrib/hbqt/qtgui/QStyleOptionMenuItem.cpp * harbour/contrib/hbqt/qtgui/QStyleOptionProgressBar.cpp * harbour/contrib/hbqt/qtgui/QStyleOptionSizeGrip.cpp * harbour/contrib/hbqt/qtgui/QStyleOptionSlider.cpp * harbour/contrib/hbqt/qtgui/QStyleOptionSpinBox.cpp * harbour/contrib/hbqt/qtgui/QStyleOptionTab.cpp * harbour/contrib/hbqt/qtgui/QStyleOptionTabBarBase.cpp * harbour/contrib/hbqt/qtgui/QStyleOptionTabWidgetFrame.cpp * harbour/contrib/hbqt/qtgui/QStyleOptionTitleBar.cpp * harbour/contrib/hbqt/qtgui/QStyleOptionToolBar.cpp * harbour/contrib/hbqt/qtgui/QStyleOptionToolBox.cpp * harbour/contrib/hbqt/qtgui/QStyleOptionToolButton.cpp * harbour/contrib/hbqt/qtgui/QStyleOptionViewItem.cpp * harbour/contrib/hbqt/qtgui/QStylePainter.cpp * harbour/contrib/hbqt/qtgui/QSyntaxHighlighter.cpp * harbour/contrib/hbqt/qtgui/QSystemTrayIcon.cpp * harbour/contrib/hbqt/qtgui/QTabBar.cpp * harbour/contrib/hbqt/qtgui/QTableView.cpp * harbour/contrib/hbqt/qtgui/QTableWidget.cpp * harbour/contrib/hbqt/qtgui/QTableWidgetItem.cpp * harbour/contrib/hbqt/qtgui/QTableWidgetSelectionRange.cpp * harbour/contrib/hbqt/qtgui/QTabWidget.cpp * harbour/contrib/hbqt/qtgui/QTextBlock.cpp * harbour/contrib/hbqt/qtgui/QTextBlockFormat.cpp * harbour/contrib/hbqt/qtgui/QTextBlockGroup.cpp * harbour/contrib/hbqt/qtgui/QTextBrowser.cpp * harbour/contrib/hbqt/qtgui/QTextCharFormat.cpp * harbour/contrib/hbqt/qtgui/QTextCursor.cpp * harbour/contrib/hbqt/qtgui/QTextDocument.cpp * harbour/contrib/hbqt/qtgui/QTextDocumentFragment.cpp * harbour/contrib/hbqt/qtgui/QTextDocumentWriter.cpp * harbour/contrib/hbqt/qtgui/QTextEdit.cpp * harbour/contrib/hbqt/qtgui/QTextFormat.cpp * harbour/contrib/hbqt/qtgui/QTextFragment.cpp * harbour/contrib/hbqt/qtgui/QTextFrame.cpp * harbour/contrib/hbqt/qtgui/QTextFrameFormat.cpp * harbour/contrib/hbqt/qtgui/QTextImageFormat.cpp * harbour/contrib/hbqt/qtgui/QTextInlineObject.cpp * harbour/contrib/hbqt/qtgui/QTextItem.cpp * harbour/contrib/hbqt/qtgui/QTextLayout.cpp * harbour/contrib/hbqt/qtgui/QTextLength.cpp * harbour/contrib/hbqt/qtgui/QTextLine.cpp * harbour/contrib/hbqt/qtgui/QTextListFormat.cpp * harbour/contrib/hbqt/qtgui/QTextObject.cpp * harbour/contrib/hbqt/qtgui/QTextOption.cpp * harbour/contrib/hbqt/qtgui/QTextTableFormat.cpp * harbour/contrib/hbqt/qtgui/QTimeEdit.cpp * harbour/contrib/hbqt/qtgui/QToolBar.cpp * harbour/contrib/hbqt/qtgui/QToolBox.cpp * harbour/contrib/hbqt/qtgui/QToolButton.cpp * harbour/contrib/hbqt/qtgui/QTransform.cpp * harbour/contrib/hbqt/qtgui/QTreeView.cpp * harbour/contrib/hbqt/qtgui/QTreeWidget.cpp * harbour/contrib/hbqt/qtgui/QTreeWidgetItem.cpp * harbour/contrib/hbqt/qtgui/QValidator.cpp * harbour/contrib/hbqt/qtgui/QVBoxLayout.cpp * harbour/contrib/hbqt/qtgui/QWheelEvent.cpp * harbour/contrib/hbqt/qtgui/QWidget.cpp * harbour/contrib/hbqt/qtgui/QWidgetAction.cpp * harbour/contrib/hbqt/qtgui/QWidgetItem.cpp * harbour/contrib/hbqt/qtgui/QWindowsStyle.cpp * harbour/contrib/hbqt/qtgui/QWindowsXPStyle.cpp * harbour/contrib/hbqt/qtgui/QWizard.cpp * harbour/contrib/hbqt/qtgui/QWizardPage.cpp * harbour/contrib/hbqt/qtgui/TQAbstractButton.prg * harbour/contrib/hbqt/qtgui/TQAbstractItemDelegate.prg * harbour/contrib/hbqt/qtgui/TQAbstractItemView.prg * harbour/contrib/hbqt/qtgui/TQAbstractPrintDialog.prg * harbour/contrib/hbqt/qtgui/TQAbstractProxyModel.prg * harbour/contrib/hbqt/qtgui/TQAbstractScrollArea.prg * harbour/contrib/hbqt/qtgui/TQAbstractSlider.prg * harbour/contrib/hbqt/qtgui/TQAbstractSpinBox.prg * harbour/contrib/hbqt/qtgui/TQAbstractTextDocumentLayout.prg * harbour/contrib/hbqt/qtgui/TQAction.prg * harbour/contrib/hbqt/qtgui/TQActionGroup.prg * harbour/contrib/hbqt/qtgui/TQApplication.prg * harbour/contrib/hbqt/qtgui/TQBitmap.prg * harbour/contrib/hbqt/qtgui/TQBoxLayout.prg * harbour/contrib/hbqt/qtgui/TQBrush.prg * harbour/contrib/hbqt/qtgui/TQButtonGroup.prg * harbour/contrib/hbqt/qtgui/TQCalendarWidget.prg * harbour/contrib/hbqt/qtgui/TQCheckBox.prg * harbour/contrib/hbqt/qtgui/TQClipboard.prg * harbour/contrib/hbqt/qtgui/TQColor.prg * harbour/contrib/hbqt/qtgui/TQColorDialog.prg * harbour/contrib/hbqt/qtgui/TQComboBox.prg * harbour/contrib/hbqt/qtgui/TQCommandLinkButton.prg * harbour/contrib/hbqt/qtgui/TQCommonStyle.prg * harbour/contrib/hbqt/qtgui/TQCompleter.prg * harbour/contrib/hbqt/qtgui/TQConicalGradient.prg * harbour/contrib/hbqt/qtgui/TQContextMenuEvent.prg * harbour/contrib/hbqt/qtgui/TQCursor.prg * harbour/contrib/hbqt/qtgui/TQDateEdit.prg * harbour/contrib/hbqt/qtgui/TQDateTimeEdit.prg * harbour/contrib/hbqt/qtgui/TQDesktopWidget.prg * harbour/contrib/hbqt/qtgui/TQDial.prg * harbour/contrib/hbqt/qtgui/TQDialog.prg * harbour/contrib/hbqt/qtgui/TQDirModel.prg * harbour/contrib/hbqt/qtgui/TQDockWidget.prg * harbour/contrib/hbqt/qtgui/TQDoubleSpinBox.prg * harbour/contrib/hbqt/qtgui/TQDragEnterEvent.prg * harbour/contrib/hbqt/qtgui/TQDragLeaveEvent.prg * harbour/contrib/hbqt/qtgui/TQDragMoveEvent.prg * harbour/contrib/hbqt/qtgui/TQDropEvent.prg * harbour/contrib/hbqt/qtgui/TQErrorMessage.prg * harbour/contrib/hbqt/qtgui/TQFileDialog.prg * harbour/contrib/hbqt/qtgui/TQFileIconProvider.prg * harbour/contrib/hbqt/qtgui/TQFileSystemModel.prg * harbour/contrib/hbqt/qtgui/TQFocusEvent.prg * harbour/contrib/hbqt/qtgui/TQFocusFrame.prg * harbour/contrib/hbqt/qtgui/TQFont.prg * harbour/contrib/hbqt/qtgui/TQFontComboBox.prg * harbour/contrib/hbqt/qtgui/TQFontDatabase.prg * harbour/contrib/hbqt/qtgui/TQFontDialog.prg * harbour/contrib/hbqt/qtgui/TQFontInfo.prg * harbour/contrib/hbqt/qtgui/TQFontMetrics.prg * harbour/contrib/hbqt/qtgui/TQFontMetricsF.prg * harbour/contrib/hbqt/qtgui/TQFormLayout.prg * harbour/contrib/hbqt/qtgui/TQFrame.prg * harbour/contrib/hbqt/qtgui/TQGradient.prg * harbour/contrib/hbqt/qtgui/TQGridLayout.prg * harbour/contrib/hbqt/qtgui/TQGroupBox.prg * harbour/contrib/hbqt/qtgui/TQHBoxLayout.prg * harbour/contrib/hbqt/qtgui/TQHeaderView.prg * harbour/contrib/hbqt/qtgui/TQHelpEvent.prg * harbour/contrib/hbqt/qtgui/TQIcon.prg * harbour/contrib/hbqt/qtgui/TQImage.prg * harbour/contrib/hbqt/qtgui/TQImageReader.prg * harbour/contrib/hbqt/qtgui/TQImageWriter.prg * harbour/contrib/hbqt/qtgui/TQInputContext.prg * harbour/contrib/hbqt/qtgui/TQInputDialog.prg * harbour/contrib/hbqt/qtgui/TQInputEvent.prg * harbour/contrib/hbqt/qtgui/TQInputMethodEvent.prg * harbour/contrib/hbqt/qtgui/TQItemSelection.prg * harbour/contrib/hbqt/qtgui/TQItemSelectionModel.prg * harbour/contrib/hbqt/qtgui/TQKeyEvent.prg * harbour/contrib/hbqt/qtgui/TQKeySequence.prg * harbour/contrib/hbqt/qtgui/TQLabel.prg * harbour/contrib/hbqt/qtgui/TQLayout.prg * harbour/contrib/hbqt/qtgui/TQLayoutItem.prg * harbour/contrib/hbqt/qtgui/TQLCDNumber.prg * harbour/contrib/hbqt/qtgui/TQLinearGradient.prg * harbour/contrib/hbqt/qtgui/TQLineEdit.prg * harbour/contrib/hbqt/qtgui/TQListView.prg * harbour/contrib/hbqt/qtgui/TQListWidget.prg * harbour/contrib/hbqt/qtgui/TQListWidgetItem.prg * harbour/contrib/hbqt/qtgui/TQMainWindow.prg * harbour/contrib/hbqt/qtgui/TQMatrix.prg * harbour/contrib/hbqt/qtgui/TQMenu.prg * harbour/contrib/hbqt/qtgui/TQMenuBar.prg * harbour/contrib/hbqt/qtgui/TQMessageBox.prg * harbour/contrib/hbqt/qtgui/TQMouseEvent.prg * harbour/contrib/hbqt/qtgui/TQMoveEvent.prg * harbour/contrib/hbqt/qtgui/TQMovie.prg * harbour/contrib/hbqt/qtgui/TQPageSetupDialog.prg * harbour/contrib/hbqt/qtgui/TQPaintDevice.prg * harbour/contrib/hbqt/qtgui/TQPainter.prg * harbour/contrib/hbqt/qtgui/TQPainterPath.prg * harbour/contrib/hbqt/qtgui/TQPaintEvent.prg * harbour/contrib/hbqt/qtgui/TQPalette.prg * harbour/contrib/hbqt/qtgui/TQPen.prg * harbour/contrib/hbqt/qtgui/TQPicture.prg * harbour/contrib/hbqt/qtgui/TQPixmap.prg * harbour/contrib/hbqt/qtgui/TQPolygon.prg * harbour/contrib/hbqt/qtgui/TQPolygonF.prg * harbour/contrib/hbqt/qtgui/TQPrintDialog.prg * harbour/contrib/hbqt/qtgui/TQPrintEngine.prg * harbour/contrib/hbqt/qtgui/TQPrinter.prg * harbour/contrib/hbqt/qtgui/TQPrintPreviewDialog.prg * harbour/contrib/hbqt/qtgui/TQProgressBar.prg * harbour/contrib/hbqt/qtgui/TQProgressDialog.prg * harbour/contrib/hbqt/qtgui/TQPushButton.prg * harbour/contrib/hbqt/qtgui/TQRadialGradient.prg * harbour/contrib/hbqt/qtgui/TQRadioButton.prg * harbour/contrib/hbqt/qtgui/TQRegion.prg * harbour/contrib/hbqt/qtgui/TQResizeEvent.prg * harbour/contrib/hbqt/qtgui/TQScrollArea.prg * harbour/contrib/hbqt/qtgui/TQScrollBar.prg * harbour/contrib/hbqt/qtgui/TQSessionManager.prg * harbour/contrib/hbqt/qtgui/TQSizeGrip.prg * harbour/contrib/hbqt/qtgui/TQSizePolicy.prg * harbour/contrib/hbqt/qtgui/TQSlider.prg * harbour/contrib/hbqt/qtgui/TQSound.prg * harbour/contrib/hbqt/qtgui/TQSpacerItem.prg * harbour/contrib/hbqt/qtgui/TQSpinBox.prg * harbour/contrib/hbqt/qtgui/TQSplashScreen.prg * harbour/contrib/hbqt/qtgui/TQSplitter.prg * harbour/contrib/hbqt/qtgui/TQStandardItem.prg * harbour/contrib/hbqt/qtgui/TQStandardItemModel.prg * harbour/contrib/hbqt/qtgui/TQStatusBar.prg * harbour/contrib/hbqt/qtgui/TQStringListModel.prg * harbour/contrib/hbqt/qtgui/TQStyle.prg * harbour/contrib/hbqt/qtgui/TQStyledItemDelegate.prg * harbour/contrib/hbqt/qtgui/TQStyleFactory.prg * harbour/contrib/hbqt/qtgui/TQStyleHintReturn.prg * harbour/contrib/hbqt/qtgui/TQStyleHintReturnMask.prg * harbour/contrib/hbqt/qtgui/TQStyleHintReturnVariant.prg * harbour/contrib/hbqt/qtgui/TQStyleOption.prg * harbour/contrib/hbqt/qtgui/TQStyleOptionButton.prg * harbour/contrib/hbqt/qtgui/TQStyleOptionComboBox.prg * harbour/contrib/hbqt/qtgui/TQStyleOptionComplex.prg * harbour/contrib/hbqt/qtgui/TQStyleOptionDockWidget.prg * harbour/contrib/hbqt/qtgui/TQStyleOptionFocusRect.prg * harbour/contrib/hbqt/qtgui/TQStyleOptionFrame.prg * harbour/contrib/hbqt/qtgui/TQStyleOptionGroupBox.prg * harbour/contrib/hbqt/qtgui/TQStyleOptionHeader.prg * harbour/contrib/hbqt/qtgui/TQStyleOptionMenuItem.prg * harbour/contrib/hbqt/qtgui/TQStyleOptionProgressBar.prg * harbour/contrib/hbqt/qtgui/TQStyleOptionSizeGrip.prg * harbour/contrib/hbqt/qtgui/TQStyleOptionSlider.prg * harbour/contrib/hbqt/qtgui/TQStyleOptionSpinBox.prg * harbour/contrib/hbqt/qtgui/TQStyleOptionTab.prg * harbour/contrib/hbqt/qtgui/TQStyleOptionTabBarBase.prg * harbour/contrib/hbqt/qtgui/TQStyleOptionTabWidgetFrame.prg * harbour/contrib/hbqt/qtgui/TQStyleOptionTitleBar.prg * harbour/contrib/hbqt/qtgui/TQStyleOptionToolBar.prg * harbour/contrib/hbqt/qtgui/TQStyleOptionToolBox.prg * harbour/contrib/hbqt/qtgui/TQStyleOptionToolButton.prg * harbour/contrib/hbqt/qtgui/TQStyleOptionViewItem.prg * harbour/contrib/hbqt/qtgui/TQStylePainter.prg * harbour/contrib/hbqt/qtgui/TQSyntaxHighlighter.prg * harbour/contrib/hbqt/qtgui/TQSystemTrayIcon.prg * harbour/contrib/hbqt/qtgui/TQTabBar.prg * harbour/contrib/hbqt/qtgui/TQTableView.prg * harbour/contrib/hbqt/qtgui/TQTableWidget.prg * harbour/contrib/hbqt/qtgui/TQTableWidgetItem.prg * harbour/contrib/hbqt/qtgui/TQTableWidgetSelectionRange.prg * harbour/contrib/hbqt/qtgui/TQTabWidget.prg * harbour/contrib/hbqt/qtgui/TQTextBlock.prg * harbour/contrib/hbqt/qtgui/TQTextBlockFormat.prg * harbour/contrib/hbqt/qtgui/TQTextBlockGroup.prg * harbour/contrib/hbqt/qtgui/TQTextBrowser.prg * harbour/contrib/hbqt/qtgui/TQTextCharFormat.prg * harbour/contrib/hbqt/qtgui/TQTextCursor.prg * harbour/contrib/hbqt/qtgui/TQTextDocument.prg * harbour/contrib/hbqt/qtgui/TQTextDocumentFragment.prg * harbour/contrib/hbqt/qtgui/TQTextDocumentWriter.prg * harbour/contrib/hbqt/qtgui/TQTextEdit.prg * harbour/contrib/hbqt/qtgui/TQTextFormat.prg * harbour/contrib/hbqt/qtgui/TQTextFragment.prg * harbour/contrib/hbqt/qtgui/TQTextFrame.prg * harbour/contrib/hbqt/qtgui/TQTextFrameFormat.prg * harbour/contrib/hbqt/qtgui/TQTextImageFormat.prg * harbour/contrib/hbqt/qtgui/TQTextInlineObject.prg * harbour/contrib/hbqt/qtgui/TQTextItem.prg * harbour/contrib/hbqt/qtgui/TQTextLayout.prg * harbour/contrib/hbqt/qtgui/TQTextLength.prg * harbour/contrib/hbqt/qtgui/TQTextLine.prg * harbour/contrib/hbqt/qtgui/TQTextListFormat.prg * harbour/contrib/hbqt/qtgui/TQTextObject.prg * harbour/contrib/hbqt/qtgui/TQTextOption.prg * harbour/contrib/hbqt/qtgui/TQTextTableFormat.prg * harbour/contrib/hbqt/qtgui/TQTimeEdit.prg * harbour/contrib/hbqt/qtgui/TQToolBar.prg * harbour/contrib/hbqt/qtgui/TQToolBox.prg * harbour/contrib/hbqt/qtgui/TQToolButton.prg * harbour/contrib/hbqt/qtgui/TQTransform.prg * harbour/contrib/hbqt/qtgui/TQTreeView.prg * harbour/contrib/hbqt/qtgui/TQTreeWidget.prg * harbour/contrib/hbqt/qtgui/TQTreeWidgetItem.prg * harbour/contrib/hbqt/qtgui/TQValidator.prg * harbour/contrib/hbqt/qtgui/TQVBoxLayout.prg * harbour/contrib/hbqt/qtgui/TQWheelEvent.prg * harbour/contrib/hbqt/qtgui/TQWidget.prg * harbour/contrib/hbqt/qtgui/TQWidgetAction.prg * harbour/contrib/hbqt/qtgui/TQWidgetItem.prg * harbour/contrib/hbqt/qtgui/TQWindowsStyle.prg * harbour/contrib/hbqt/qtgui/TQWindowsXPStyle.prg * harbour/contrib/hbqt/qtgui/TQWizard.prg * harbour/contrib/hbqt/qtgui/TQWizardPage.prg * harbour/contrib/hbqt/qtnetwork/filelist.mk * harbour/contrib/hbqt/qtnetwork/QFtp.cpp * harbour/contrib/hbqt/qtnetwork/QHttp.cpp * harbour/contrib/hbqt/qtnetwork/QHttpRequestHeader.cpp * harbour/contrib/hbqt/qtnetwork/QHttpResponseHeader.cpp * harbour/contrib/hbqt/qtnetwork/QNetworkRequest.cpp * harbour/contrib/hbqt/qtnetwork/TQFtp.prg * harbour/contrib/hbqt/qtnetwork/TQHttp.prg * harbour/contrib/hbqt/qtnetwork/TQHttpRequestHeader.prg * harbour/contrib/hbqt/qtnetwork/TQHttpResponseHeader.prg * harbour/contrib/hbqt/qtnetwork/TQNetworkRequest.prg * harbour/contrib/hbqt/qtwebkit/filelist.mk * harbour/contrib/hbqt/qtwebkit/Makefile * harbour/contrib/hbqt/qtwebkit/QWebFrame.cpp * harbour/contrib/hbqt/qtwebkit/QWebHistory.cpp * harbour/contrib/hbqt/qtwebkit/QWebHistoryInterface.cpp * harbour/contrib/hbqt/qtwebkit/QWebHistoryItem.cpp * harbour/contrib/hbqt/qtwebkit/QWebHitTestResult.cpp * harbour/contrib/hbqt/qtwebkit/QWebPage.cpp * harbour/contrib/hbqt/qtwebkit/QWebPluginFactory.cpp * harbour/contrib/hbqt/qtwebkit/QWebSecurityOrigin.cpp * harbour/contrib/hbqt/qtwebkit/QWebSettings.cpp * harbour/contrib/hbqt/qtwebkit/QWebView.cpp * harbour/contrib/hbqt/qtwebkit/TQWebFrame.prg * harbour/contrib/hbqt/qtwebkit/TQWebHistory.prg * harbour/contrib/hbqt/qtwebkit/TQWebHistoryInterface.prg * harbour/contrib/hbqt/qtwebkit/TQWebHistoryItem.prg * harbour/contrib/hbqt/qtwebkit/TQWebHitTestResult.prg * harbour/contrib/hbqt/qtwebkit/TQWebPage.prg * harbour/contrib/hbqt/qtwebkit/TQWebPluginFactory.prg * harbour/contrib/hbqt/qtwebkit/TQWebSecurityOrigin.prg * harbour/contrib/hbqt/qtwebkit/TQWebSettings.prg * harbour/contrib/hbqt/qtwebkit/TQWebView.prg * harbour/contrib/hbqt/tests/demoqt.prg * Changed, the QObjects release methods to have the possibility to select between: delete operator or object destructor or deleteLater() slot. + Added a new prg level HbQt_Set_Release_Method() to select between: #define HBQT_RELEASE_WITH_DELETE 0 #define HBQT_RELEASE_WITH_DESTRUTOR 1 #define HBQT_RELEASE_WITH_DELETE_LATER 2 ; In demoqt.prg there is a sample how to select the release method. 2009-11-18 18:48 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapirdd.h ! redefined RDD method table to use HB_ERRCODE instead of USHORT 2009-11-18 18:40 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/vm/dlmalloc.c ! added workaround for unnecessary checking results of function which always have to success 2009-11-18 16:33 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbthread.h * minor cleanup in comment * harbour/src/vm/dlmalloc.c * use harbour spinlocks in windows builds to eliminate calling InterlockedCompareExchange[Pointer]() function * harbour/include/hbstack.h ! disabled TLS ASM inline code which seems to not work with Win9x. 2009-11-18 16:00 UTC+0100 Viktor Szakats * include/hbapi.h * Changed HB_ERRCODE to be 'unsigned int' (was USHORT). ; You'll need to rebuild all sources. * utils/hbmk2/hbmk2.prg % Turned off line numbers (for hbmk2 itself). * INSTALL * Minor formatting. 2009-11-18 03:49 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/config/beos/gcc.mk ! fixed typo in AR_RULE * harbour/config/bsd/gcc.mk ! added missing false command to force build interrupt when library cannot be created 2009-11-17 17:26 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbide/hbide.prg + contrib/hbide/resources/builderror.png * contrib/hbide/resources/gotomark.png + contrib/hbide/resources/modulelist.png * contrib/hbqt/hbqt_slots.cpp * contrib/hbqt/hbqt_slots.h * contrib/hbqt/moc_slots.cpp * contrib/hbxbp/xbpgeneric.prg * contrib/hbxbp/xbptabpage.prg + Implemented first 4 icons operational. Now, at least you can open/edit/save .prg .c .ch .h files. I am interested in any bugs you may encounter in the process. Few HBXBP calasses have also been updated in the process. QUESTION: How good it will be to extend Xbase++ class framework ? Is this the ripe time or we need more inputs ? 2009-11-17 19:37 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/Makefile + harbour/include/hbapistr.h * harbour/src/vm/Makefile * harbour/src/vm/hvmall.c + harbour/src/vm/strapi.c + added new C functions to extract strings in different encoding: void * hb_itemGetStr( PHB_ITEM pItem, void * cdp, const char ** pStrPtr, ULONG * pulLen ); void * hb_itemGetStrUTF8( PHB_ITEM pItem, const char ** pStrPtr, ULONG * pulLen ); void * hb_itemGetStrU16( PHB_ITEM pItem, int iEndian, const HB_WCHAR ** pStrPtr, ULONG * pulLen ); extract from given item string in requested encoding and store pointer to this string and its size in characters in last two parameters. These functions return handler which is used to lock memory buffer with result or NULL if given item does not contain string. All not NULL handles returned by above functions have to be free by hb_strfree() function: void hb_strfree( void * hString ); As long as they are not freed memory buffer set in pStrPtr is valid even if other code overwrote given item. The second parameter in hb_itemGetStr() can specify expected CP encoding, i.e.: hStr = hb_itemGetStr( pItem, hb_setGetOSCP(), &pszText, &ulLen ); if( hStr ) { ... hb_strfree( hStr ); } extracts string in encoding set by Set( _SET_OSCODEPAGE, <cCPID> ) The second parameter in hb_itemGetStrU16() define endian encoding and can be one of the following values: #define HB_CDP_ENDIAN_NATIVE 0 #define HB_CDP_ENDIAN_LITTLE 1 #define HB_CDP_ENDIAN_BIG 2 defined in hbapicdp.h + added new C functions to copy part of strings to given buffers in different encoding: ULONG hb_itemCopyStr( PHB_ITEM pItem, void * cdp, char * pStrBuffer, ULONG ulSize ); ULONG hb_itemCopyStrUTF8( PHB_ITEM pItem, char * pStrBuffer, ULONG ulSize ); ULONG hb_itemCopyStrU16( PHB_ITEM pItem, int iEndian, HB_WCHAR * pStrBuffer, ULONG ulSize ); hb_itemCopyStr*() functions works in similar way to hb_itemGetStr*() ones but they copy the strings to given buffer and return the number of characters (not bytes) copied to the buffer. + added new C functions to store given strings in different encoding in HVM item: PHB_ITEM hb_itemPutStrLen( PHB_ITEM pItem, void * cdp, const char * pStr, ULONG ulLen ); PHB_ITEM hb_itemPutStrLenUTF8( PHB_ITEM pItem, const char * pStr, ULONG ulLen ); PHB_ITEM hb_itemPutStrLenU16( PHB_ITEM pItem, int iEndian, const HB_WCHAR * pStr, ULONG ulLen ); These functions accepts strings in different encoding, made some conversions (if necessary and internal string representation in HVM is different) and then store them as HVM string items. + added few extended API functions to operate on strings in different encoding: void * hb_parstr( int iParam, void * cdp, const char ** pStrPtr, ULONG * pulLen ); void * hb_parstr_utf8( int iParam, const char ** pStrPtr, ULONG * pulLen ); void * hb_parstr_u16( int iParam, int iEndian, const HB_WCHAR ** pStrPtr, ULONG * pulLen ); void hb_retstr( void * cdp, const char * szText ); void hb_retstr_utf8( const char * szText ); void hb_retstr_u16( int iEndian, const HB_WCHAR * szText ); void hb_retstrlen( void * cdp, const char * szText, ULONG ulLen ); void hb_retstrlen_utf8( const char * szText, ULONG ulLen ); void hb_retstrlen_u16( int iEndian, const HB_WCHAR * szText, ULONG ulLen ); int hb_storstr( void * cdp, const char * szText, int iParam ); int hb_storstr_utf8( const char * szText, int iParam ); int hb_storstr_u16( int iEndian, const HB_WCHAR * szText, int iParam ); int hb_storstrlen( void * cdp, const char * szText, ULONG ulLen, int iParam ); int hb_storstrlen_utf8( const char * szText, ULONG ulLen, int iParam ); int hb_storstrlen_u16( int iEndian, const HB_WCHAR * szText, ULONG ulLen, int iParam ); They can be used instead of hb_parc*()/hb_retc*()/hb_storc*() ones and allow to easy create code which operates on strings in different encoding, i.e.: HB_FUNC( MY_STRTOUTF8 ) { const char * str; ULONG len; void * h; h = hb_parstr_utf8( 1, &str, &len ); if( h ) { hb_retclen( str, len ); hb_strfree( h ); } } The above functions allows to create code which operates on different string encoding, i.e. UTF8, UCS2/UTF16, some CPs and such code is independent from internal HVM string representation so we can use internally Unicode or not and it will not effect existing code. 2009-11-17 17:29 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/utils/hbtest/rt_str.prg * modified code which tries to replicate Clipper behavior with ULONG values also in 64-bit systems where ULONG is not 32-bit integer 2009-11-17 15:40 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/contrib/rddsql/sddodbc/tests/test2.prg ! fixed small error in DSN * harbour/contrib/rddsql/sddodbc/odbcdd.c + added support of SQL_WCHAR, SQL_WVARCHAR, SQL_WLONGVARCHAR ; NOTE: I get more and more complains about not working sddodbc, because of these data types. I'm unable to get such situation in my programming environvent. So, this addition can be buggy. Please, report any strange behavior of string types data. 2009-11-17 02:29 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) + contrib/hbide + contrib/hbide/hbide.prg + contrib/hbide/hbmk.hbm + contrib/hbide/resources + contrib/hbide/resources/build.png + contrib/hbide/resources/buildlaunch.png + contrib/hbide/resources/buildrun.png + contrib/hbide/resources/close.png + contrib/hbide/resources/column.png + contrib/hbide/resources/compile.png + contrib/hbide/resources/copy.png + contrib/hbide/resources/cut.png + contrib/hbide/resources/debug.png + contrib/hbide/resources/envconfig.png + contrib/hbide/resources/exit.png + contrib/hbide/resources/filec.png + contrib/hbide/resources/fileprg.png + contrib/hbide/resources/find.png + contrib/hbide/resources/gotoline.png + contrib/hbide/resources/gotomark.png + contrib/hbide/resources/info.png + contrib/hbide/resources/invertcase.png + contrib/hbide/resources/launch.png + contrib/hbide/resources/lense.png + contrib/hbide/resources/matchobj.png + contrib/hbide/resources/new.png + contrib/hbide/resources/notepad.png + contrib/hbide/resources/open.png + contrib/hbide/resources/paste.png + contrib/hbide/resources/placeremovemark.png + contrib/hbide/resources/ppo.png + contrib/hbide/resources/print.png + contrib/hbide/resources/properties.png + contrib/hbide/resources/rebuild.png + contrib/hbide/resources/rebuildlaunch.png + contrib/hbide/resources/redo.png + contrib/hbide/resources/save.png + contrib/hbide/resources/search.png + contrib/hbide/resources/selectall.png + contrib/hbide/resources/stream.png + contrib/hbide/resources/text.png + contrib/hbide/resources/tolower.png + contrib/hbide/resources/tools.png + contrib/hbide/resources/toupper.png + contrib/hbide/resources/trashpage.png + contrib/hbide/resources/undo.png + contrib/hbide/resources/vr.png * contrib/hbqt/generator/qt45.qtp + contrib/hbqt/qth/QSyntaxHighlighter.qth * * contrib/hbqt/hbqt.ch * contrib/hbqt/hbqt.h * contrib/hbqt/hbqt_slots.cpp * contrib/hbqt/hbqt_slots.h * contrib/hbqt/moc_slots.cpp * contrib/hbqt/qtgui/filelist.mk + contrib/hbqt/qtgui/QSyntaxHighlighter.cpp + contrib/hbqt/qtgui/TQSyntaxHighlighter.prg * contrib/hbxbp/xbpmenubar.prg * contrib/hbxbp/xbptoolbar.prg * contrib/hbxbp/tests/demoxbp.prg + Added first commit of HBIDE, just something in the making. NOTE: I have extracted icons from xMate.exe ( with due apology to Andy ) to give it a familiar look and feel of xMate because of wide acceptance of its user interface. EXECUTE HbIde.exe hbide.prg ( or any .c or .prg file name ) Suggestions are welcome. 2009-11-17 10:32 UTC+0100 Viktor Szakats * src/rtl/errapi.c * src/rtl/philes.c * src/rtl/dirdrive.c * contrib/hbnf/fttext.c * Changed back long versions of Harbour APIs to int version. It was an oversight. 2009-11-17 04:26 UTC+0100 Viktor Szakats * contrib/xhb/xhbfunc.c + Ported CURDIRX() function from xhb. It's not exactly the same as xhb version uses hb_fsCurDirBuffEx() internally, and I couldn't decipher the added feature above hb_fsCurDirBuff(). 2009-11-17 04:15 UTC+0100 Viktor Szakats * INSTALL * Minor formatting. + Added information about some commonly used, but yet useless environment settings. These: set HB_PATH=<Harbour root dir> set HRB_DIR=<Some Harbour dir> set INCLUDE=<Harbour include dir> set LIB=<Harbour lib dir> * Bumped copyright year. + Added 'documentation' section to link section. + Added netiquette RFC link for a start. + Added hbrun to required tools for cross-builds. * bin/hb-func.sh * harbour.spec + Added hbsms lib. 2009-11-17 03:42 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/config/win/bcc.mk ! fixed "" quoting in recent modification - please test * harbour/src/rdd/workarea.c * harbour/src/rdd/dbf1.c * harbour/src/rdd/delim1.c * harbour/src/rdd/sdf1.c * harbour/src/rdd/dbfntx/dbfntx1.c * harbour/src/rdd/dbfnsx/dbfnsx1.c * harbour/src/rdd/dbfcdx/dbfcdx1.c * harbour/src/rdd/dbffpt/dbffpt1.c * harbour/src/rdd/hbsix/sxsem.c * harbour/src/rdd/usrrdd/usrrdd.c * harbour/contrib/rddads/adsx.c * harbour/contrib/rddads/ads1.c * modified to use HB_ERRCODE instead of USHORT and updated some variable names 2009-11-17 01:23 UTC+0100 Viktor Szakats * contrib/gtwvg/Makefile * external/libpng/Makefile % Streamlined platform/compiler filtering logic plus more precise skip reason. 2009-11-17 01:05 UTC+0100 Viktor Szakats * src/rdd/dbfntx/dbfntx1.c * src/rdd/dbfnsx/dbfnsx1.c * src/rdd/dbfcdx/dbfcdx1.c * src/rdd/dbffpt/dbffpt1.c * contrib/xhb/xhbfunc.c * contrib/hbnf/fttext.c * contrib/hbbmcdx/bmdbfcdx.c + Changed to use HB_ERRCODE. * contrib/hbmzip/hbmzip.c * Minor formatting. ; NOTE/FIXME: Here there is again 'int' used as error code. * contrib/rddsql/sddodbc/tests/test1.prg * contrib/rddsql/sddodbc/tests/test2.prg ! Fixed to use manifest constants instead of literals in SET() calls. 2009-11-17 00:36 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/config/win/bcc.mk ! always use \ in paths used as ilink32.exe parameters - ilink does not accept / as path delimiter and always use them as switch separators ! enclose parameters with paths into "" to avoid \ stripping by shell ! removed old hacks used for bcc32.exe and WINE Now BCC works again with POSIX shells and WINE. Please test these modifications in native MS-Windows environment. 2009-11-17 00:10 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/contrib/rddsql/sddodbc/tests/test2.prg ! fixed minor error in last commit 2009-11-17 00:01 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) + harbour/contrib/rddsql/sddodbc/tests/test2.prg + added ODBC sample for MySql database 2009-11-16 21:29 UTC+0100 Viktor Szakats * contrib/hbct/ctnet.c * contrib/hbct/pos1.c * contrib/hbct/ctc.c * contrib/hbct/ct.h * contrib/hbct/replace.c * contrib/hbct/remove.c + Changed to use HB_ERRCODE. ; Please review me. 2009-11-16 20:46 UTC+0100 Viktor Szakats * contrib/hbxbp/tests/demoxbp.prg * contrib/hbxbp/xbpwindow.prg ! Applied patch from Istvan Bisz, fixing some typos in recent commits. Thank you! * ChangeLog * Few TODOs marked DONE. 2009-11-16 19:52 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/nortl/nortl.c ! fixed left by mistake ULONG ulIntCode in non HVM hb_errInternal() 2009-11-16 17:44 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/errapi.c * harbour/include/hbapierr.h * renamed ulGenCode to errGenCode and ulSubCode to errSubCode 2009-11-16 17:35 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapierr.h * harbour/src/rtl/errint.c * harbour/src/rtl/errintlo.c * harbour/src/lang/msghuiso.c * harbour/src/lang/msgskiso.c * harbour/src/lang/msgrukoi.c * harbour/src/lang/msghuwin.c * harbour/src/lang/msgzhgb.c * harbour/src/lang/msgskwin.c * harbour/src/lang/msg_tpl.c * harbour/src/lang/msgruwin.c * harbour/src/lang/msgelwin.c * harbour/src/lang/msgro.c * harbour/src/lang/msgpt.c * harbour/src/lang/msghriso.c * harbour/src/lang/msghrwin.c * harbour/src/lang/msgsliso.c * harbour/src/lang/msgbe866.c * harbour/src/lang/msgslwin.c * harbour/src/lang/msghe862.c * harbour/src/lang/msgcskam.c * harbour/src/lang/msggl.c * harbour/src/lang/msgtrwin.c * harbour/src/lang/msgbgiso.c * harbour/src/lang/msgeo.c * harbour/src/lang/msgskkam.c * harbour/src/lang/msgbgwin.c * harbour/src/lang/msges.c * harbour/src/lang/msguakoi.c * harbour/src/lang/msgzhb5.c * harbour/src/lang/msgeu.c * harbour/src/lang/msgpl852.c * harbour/src/lang/msguados.c * harbour/src/lang/msgsr852.c * harbour/src/lang/msguawin.c * harbour/src/lang/msgde.c * harbour/src/lang/msgtr857.c * harbour/src/lang/msgru866.c * harbour/src/lang/msgcs852.c * harbour/src/lang/msgfr.c * harbour/src/lang/msgis850.c * harbour/src/lang/msgnl.c * harbour/src/lang/msghu852.c * harbour/src/lang/msgsk852.c * harbour/src/lang/msgplmaz.c * harbour/src/lang/msgca.c * harbour/src/lang/msgpliso.c * harbour/src/lang/msgplwin.c * harbour/src/lang/msgbgmik.c * harbour/src/lang/msgid.c * harbour/src/lang/msgbg866.c * harbour/src/lang/msgltwin.c * harbour/src/lang/msgptiso.c * harbour/src/lang/msgsriso.c * harbour/src/lang/msgel.c * harbour/src/lang/msgsrwin.c * harbour/src/lang/msgbewin.c * harbour/src/lang/msgdewin.c * harbour/src/lang/msghr437.c * harbour/src/lang/msghr852.c * harbour/src/lang/msgua866.c * harbour/src/lang/msgko.c * harbour/src/lang/msghewin.c * harbour/src/lang/msgsl437.c * harbour/src/lang/msgit.c * harbour/src/lang/msgsl852.c * harbour/src/lang/msghucwi.c * harbour/src/lang/msgcsiso.c * harbour/src/lang/msgcswin.c * harbour/src/lang/msgeswin.c * changed ULONG ulIntCode to HB_ERRCODE errCode in internal errors 2009-11-16 17:14 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbnetio/netio.h * harbour/contrib/hbnetio/netiocli.c * harbour/contrib/hbnetio/netiosrv.c * changed USHORT to HB_ERRCODE as error code holder * use 32-bit integers to exchange error codes between server and client side * pacified warning 2009-11-16 16:25 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/contrib/rddsql/sqlbase.c * redirected DBINFO() method to SUPER, to make support for basic DBI_* parameters 2009-11-16 14:18 UTC+0100 Viktor Szakats * include/hbdefs.h + Added HB_VMMAX[U]INT. Equivalent to HB_MAX[U]INT. * INSTALL * Minor. 2009-11-16 14:11 UTC+0100 Viktor Szakats * INSTALL + HB_USER_LIBS documentation extended. 2009-11-16 12:49 UTC+0100 Viktor Szakats * contrib/hbxbp/Makefile ! Changed HB_INC_QT reference to HB_WITH_QT. 2009-11-16 12:34 UTC+0100 Viktor Szakats * src/rtl/filesys.c ! Typo in r12896. 2009-11-16 12:32 UTC+0100 Viktor Szakats * src/rtl/errapi.c ! Changed some more ULONG to HB_ERRCODE. * contrib/hbxbp/Makefile * contrib/hbssl/Makefile + Added skip reason text. 2009-11-16 11:26 UTC+0100 Viktor Szakats * src/common/hbffind.c * src/rtl/fscopy.c * src/rtl/fserr.c * src/rtl/hbfeof.c * src/rtl/errapi.c * src/rtl/hbsocket.c * src/rtl/filesys.c * src/rtl/philes.c * src/rtl/dirdrive.c * src/rtl/filebuf.c * src/rtl/hbproces.c * include/hbstack.h * include/hbapifs.h * include/hbapierr.h * Changed USHORT type for error codes to HB_ERRCODE. + More or less changed int type of Extend/Item API call to long type to prepare for HB_ERRCODE change to ULONG. ; TODO: Rename variables to reflect new type. [DONE] ; TODO: Change internal error code from ULONG to HB_ERRCODE. [DONE] ; TODO: Inspect rest of Harbour like above. I've only dealt with rtl, vm. [DONE] ; TODO: hbnetio protocol needs to be modified to pass errcode as 32-bit value. [DONE] ; NOTE: There is still disagreement in code in few places in error type and 'int' is used internally, e.g. sockets, some internal OS code conversion funtions. [OK] ; TODO: Different topic, but we use a lot of USHORTs to store modes, tries, severity, operation, flags and few other things which would better be stored as simple int probably. ; Please review me. 2009-11-16 09:52 UTC+0100 Viktor Szakats * config/beos/gcc.mk * config/bsd/gcc.mk * config/wce/mingwarm.mk * config/wce/poccarm.mk * config/wce/msvcarm.mk * config/darwin/gcc.mk * config/darwin/icc.mk * config/darwin/clang.mk * config/hpux/gcc.mk * config/dos/watcom.mk * config/dos/djgpp.mk * config/win/xcc.mk * config/win/mingw.mk * config/win/pocc.mk * config/win/bcc.mk * config/win/watcom.mk * config/win/icc.mk * config/win/cygwin.mk * config/win/msvc.mk * config/linux/gcc.mk * config/os2/watcom.mk * config/os2/gcc.mk * config/sunos/gcc.mk * config/sunos/sunpro.mk + Added HB_USER_LIBS support to dynamic libs. * config/globsh.mk ! Attempt to fix dynamic lib .tds deletion on clean for bcc. * src/codepage/cpno865.c * src/codepage/cphu852c.c * src/codepage/cpfr850.c * src/codepage/cpde850.c * src/codepage/cpit850.c + Marked as VERIFIED. 2009-11-16 00:14 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fixed typo in generated .c stub. It could cause that some automatic initializations didn't work for some compilers. 2009-11-16 00:01 UTC+0100 Viktor Szakats * include/hbdefs.h - Deleted HB_ERRCODE. It already existed as HB_ERRCODE, mainly used in RDD. That makes this change a bit more complicated than I thought. Plus two more issues: 1) Some places use ULONG already to pass error code, changing these to HB_ERRCODE will instantly break binary compatibility. 2) I wonder if DOSERROR() and friends will stay compatible after moving to ULONG HB_ERRCODE. ; Please comment. 2009-11-15 23:38 UTC+0100 Viktor Szakats * include/hbdefs.h + Added HB_ERRCODE. Currently the same as USHORT. Will be changed to 'unsigned int' once all USHORT types have been converted to HB_ERRCODE (where applicable). 2009-11-15 23:33 UTC+0100 Viktor Szakats * src/rtl/errapi.c ! Typo in comment. * Deleted unnecessary casting. % Minor opt in hb_errPutOperation() string parameter defaulting. * ChangeLog * contrib/hbqt/hbqt_misc.prg * contrib/hbxbp/xbpgeneric.prg % Minor opt. ! Fixed variable name prefixes of STATIC/THREAD STATIC vars. ! Fixed to create mutex directly in STATIC var assignment instead of INIT function. % Fixed to use hb_releaseCPU() instead of hb_idleSleep( 0.01 ). Notice that latter actually slows down execution unnecessarily, so it should only be used when we do actually want to wait. * contrib/hbxbp/tests/demoxbp.prg ! Eliminated warnings after latest changes. 2009-11-15 16:55 UTC+0100 Viktor Szakats * contrib/hbqt/hbqt_misc.prg ! Added missing common.ch. * config/beos/gcc.mk * config/global.mk * config/bsd/gcc.mk * config/bin.mk * config/wce/mingwarm.mk * config/wce/poccarm.mk * config/wce/msvcarm.mk * config/darwin/gcc.mk * config/darwin/icc.mk * config/darwin/clang.mk * config/hpux/gcc.mk * config/dos/watcom.mk * config/dos/djgpp.mk * config/win/xcc.mk * config/win/mingw.mk * config/win/pocc.mk * config/win/bcc.mk * config/win/watcom.mk * config/win/icc.mk * config/win/cygwin.mk * config/win/msvc.mk * config/linux/watcom.mk * config/linux/gcc.mk * config/linux/icc.mk * config/linux/sunpro.mk * config/os2/watcom.mk * config/os2/gcc.mk * config/sunos/gcc.mk * config/sunos/sunpro.mk * Changed build system to add HB_USER_LIBS to the beginning of the lib list, just like in hbmk2. Please test, I didn't restest this feature in all targets. ; NOTE: The only real world use of this feature that I know of is to inject CodeGuard lib to bcc build process: set HB_USER_LIBS=cg32 2009-11-15 13:35 UTC+0100 Viktor Szakats + contrib/hbqt/hbqt_misc.prg + Added missing file from commit. * contrib/hbqt/qtgui/QPageSetupDialog.cpp * contrib/hbqt/qtgui/QGridLayout.cpp * contrib/hbqt/qtgui/QWindowsXPStyle.cpp * contrib/hbqt/qtgui/QItemSelectionModel.cpp * contrib/hbqt/qtgui/QConicalGradient.cpp * contrib/hbqt/qtgui/QTextLength.cpp * contrib/hbqt/qtgui/QStandardItemModel.cpp * contrib/hbqt/qtgui/QItemSelection.cpp * contrib/hbqt/qtgui/QTransform.cpp * contrib/hbqt/qtgui/QPicture.cpp * contrib/hbqt/qtgui/QAction.cpp * contrib/hbqt/qtgui/QPaintEvent.cpp * contrib/hbqt/qtgui/QStyledItemDelegate.cpp * contrib/hbqt/qtgui/QWidget.cpp * contrib/hbqt/qtgui/QToolBox.cpp * contrib/hbqt/qtgui/QFontDialog.cpp * contrib/hbqt/qtgui/QTextListFormat.cpp * contrib/hbqt/qtgui/QMouseEvent.cpp * contrib/hbqt/qtgui/QTextEdit.cpp * contrib/hbqt/qtgui/QFontComboBox.cpp * contrib/hbqt/qtgui/QStyleOptionHeader.cpp * contrib/hbqt/qtgui/QListView.cpp * contrib/hbqt/qtgui/QRadialGradient.cpp * contrib/hbqt/qtgui/QCursor.cpp * contrib/hbqt/qtgui/QPainterPath.cpp * contrib/hbqt/qtgui/QLabel.cpp * contrib/hbqt/qtgui/QBrush.cpp * contrib/hbqt/qtgui/QStyleOptionToolButton.cpp * contrib/hbqt/qtgui/QStylePainter.cpp * contrib/hbqt/qtgui/QLinearGradient.cpp * contrib/hbqt/qtgui/QProgressBar.cpp * contrib/hbqt/qtgui/QStyleOptionToolBox.cpp * contrib/hbqt/qtgui/QStyleOptionTabBarBase.cpp * contrib/hbqt/qtgui/QToolBar.cpp * contrib/hbqt/qtgui/QFontMetricsF.cpp * contrib/hbqt/qtgui/QToolButton.cpp * contrib/hbqt/qtgui/QWindowsStyle.cpp * contrib/hbqt/qtgui/QColor.cpp * contrib/hbqt/qtgui/QListWidget.cpp * contrib/hbqt/qtgui/QTextLayout.cpp * contrib/hbqt/qtgui/QTextCursor.cpp * contrib/hbqt/qtgui/QTextDocument.cpp * contrib/hbqt/qtgui/QPolygon.cpp * contrib/hbqt/qtgui/QRadioButton.cpp * contrib/hbqt/qtgui/QStyleOptionViewItem.cpp * contrib/hbqt/qtgui/QFileIconProvider.cpp * contrib/hbqt/qtgui/QTextFrameFormat.cpp * contrib/hbqt/qtgui/QTextBlockFormat.cpp * contrib/hbqt/qtgui/QStyleOptionToolBar.cpp * contrib/hbqt/qtgui/QBitmap.cpp * contrib/hbqt/qtgui/QCalendarWidget.cpp * contrib/hbqt/qtgui/QStyleOptionTitleBar.cpp * contrib/hbqt/qtgui/QHeaderView.cpp * contrib/hbqt/qtgui/QScrollBar.cpp * contrib/hbqt/qtgui/QStyleOptionButton.cpp * contrib/hbqt/qtgui/QCommandLinkButton.cpp * contrib/hbqt/qtgui/QFocusFrame.cpp * contrib/hbqt/qtgui/QSizePolicy.cpp * contrib/hbqt/qtgui/QApplication.cpp * contrib/hbqt/qtgui/QTextFragment.cpp * contrib/hbqt/qtgui/QInputDialog.cpp * contrib/hbqt/qtgui/QKeySequence.cpp * contrib/hbqt/qtgui/QPrinter.cpp * contrib/hbqt/qtgui/QActionGroup.cpp * contrib/hbqt/qtgui/QTextCharFormat.cpp * contrib/hbqt/qtgui/QStyleOptionSlider.cpp * contrib/hbqt/qtgui/QInputEvent.cpp * contrib/hbqt/qtgui/QWidgetItem.cpp * contrib/hbqt/qtgui/QMenu.cpp * contrib/hbqt/qtgui/QStyleOptionSizeGrip.cpp * contrib/hbqt/qtgui/QStyleOptionGroupBox.cpp * contrib/hbqt/qtgui/QFontInfo.cpp * contrib/hbqt/qtgui/QImage.cpp * contrib/hbqt/qtgui/QIcon.cpp * contrib/hbqt/qtgui/QPolygonF.cpp * contrib/hbqt/qtgui/QHBoxLayout.cpp * contrib/hbqt/qtgui/QTreeWidget.cpp * contrib/hbqt/qtgui/QCommonStyle.cpp * contrib/hbqt/qtgui/QProgressDialog.cpp * contrib/hbqt/qtgui/QButtonGroup.cpp * contrib/hbqt/qtgui/QStyleFactory.cpp * contrib/hbqt/qtgui/QSystemTrayIcon.cpp * contrib/hbqt/qtgui/QListWidgetItem.cpp * contrib/hbqt/qtgui/QColorDialog.cpp * contrib/hbqt/qtgui/QStyleOptionDockWidget.cpp * contrib/hbqt/qtgui/QStyleOptionTabWidgetFrame.cpp * contrib/hbqt/qtgui/QInputMethodEvent.cpp * contrib/hbqt/qtgui/QDateTimeEdit.cpp * contrib/hbqt/qtgui/QStyleOptionFocusRect.cpp * contrib/hbqt/qtgui/QMainWindow.cpp * contrib/hbqt/qtgui/QDesktopWidget.cpp * contrib/hbqt/qtgui/QTableWidgetSelectionRange.cpp * contrib/hbqt/qtgui/QWidgetAction.cpp * contrib/hbqt/qtgui/QStringListModel.cpp * contrib/hbqt/qtgui/QDockWidget.cpp * contrib/hbqt/qtgui/QTextBrowser.cpp * contrib/hbqt/qtgui/QTableWidget.cpp * contrib/hbqt/qtgui/QErrorMessage.cpp * contrib/hbqt/qtgui/QWizard.cpp * contrib/hbqt/qtgui/QFileSystemModel.cpp * contrib/hbqt/qtgui/QDial.cpp * contrib/hbqt/qtgui/QTextOption.cpp * contrib/hbqt/qtgui/QImageWriter.cpp * contrib/hbqt/qtgui/QMenuBar.cpp * contrib/hbqt/qtgui/QFontMetrics.cpp * contrib/hbqt/qtgui/QStyleOptionMenuItem.cpp * contrib/hbqt/qtgui/QWizardPage.cpp * contrib/hbqt/qtgui/QPrintDialog.cpp * contrib/hbqt/qtgui/QStandardItem.cpp * contrib/hbqt/qtgui/QStyleOptionComboBox.cpp * contrib/hbqt/qtgui/QSplashScreen.cpp * contrib/hbqt/qtgui/QSizeGrip.cpp * contrib/hbqt/qtgui/QMessageBox.cpp * contrib/hbqt/qtgui/QTextImageFormat.cpp * contrib/hbqt/qtgui/QGroupBox.cpp * contrib/hbqt/qtgui/QImageReader.cpp * contrib/hbqt/qtgui/QTextDocumentFragment.cpp * contrib/hbqt/qtgui/QPushButton.cpp * contrib/hbqt/qtgui/QTreeWidgetItem.cpp * contrib/hbqt/qtgui/QBoxLayout.cpp * contrib/hbqt/qtgui/QTextFormat.cpp * contrib/hbqt/qtgui/QPalette.cpp * contrib/hbqt/qtgui/QTextFrame.cpp * contrib/hbqt/qtgui/QTextBlock.cpp * contrib/hbqt/qtgui/QPainter.cpp * contrib/hbqt/qtgui/QStyleOptionProgressBar.cpp * contrib/hbqt/qtgui/QTextTableFormat.cpp * contrib/hbqt/qtgui/QStatusBar.cpp * contrib/hbqt/qtgui/QTabWidget.cpp * contrib/hbqt/qtgui/QContextMenuEvent.cpp * contrib/hbqt/qtgui/QLCDNumber.cpp * contrib/hbqt/qtgui/QTextDocumentWriter.cpp * contrib/hbqt/qtgui/QStyleOptionTab.cpp * contrib/hbqt/qtgui/QDateEdit.cpp * contrib/hbqt/qtgui/QCheckBox.cpp * contrib/hbqt/qtgui/QSound.cpp * contrib/hbqt/qtgui/QTabBar.cpp * contrib/hbqt/qtgui/QSpacerItem.cpp * contrib/hbqt/qtgui/QFileDialog.cpp * contrib/hbqt/qtgui/QDirModel.cpp * contrib/hbqt/qtgui/QDialog.cpp * contrib/hbqt/qtgui/QFormLayout.cpp * contrib/hbqt/qtgui/QStyleOptionFrame.cpp * contrib/hbqt/qtgui/QFont.cpp * contrib/hbqt/qtgui/QTableWidgetItem.cpp * contrib/hbqt/qtgui/QVBoxLayout.cpp * contrib/hbqt/qtgui/QMovie.cpp * contrib/hbqt/qtgui/QStyleOption.cpp * contrib/hbqt/qtgui/QTreeView.cpp * contrib/hbqt/qtgui/QTextLine.cpp * contrib/hbqt/qtgui/QTextItem.cpp * contrib/hbqt/qtgui/QTimeEdit.cpp * contrib/hbqt/qtgui/QMatrix.cpp * contrib/hbqt/qtgui/QPrintPreviewDialog.cpp * contrib/hbqt/qtgui/QSlider.cpp * contrib/hbqt/qtgui/QSpinBox.cpp * contrib/hbqt/qtgui/QScrollArea.cpp * contrib/hbqt/qtgui/QFontDatabase.cpp * contrib/hbqt/qtgui/QLineEdit.cpp * contrib/hbqt/qtgui/QPixmap.cpp * contrib/hbqt/qtgui/QSplitter.cpp * contrib/hbqt/qtgui/QComboBox.cpp * contrib/hbqt/qtgui/QDoubleSpinBox.cpp * contrib/hbqt/qtgui/QStyleOptionComplex.cpp * contrib/hbqt/qtgui/QTableView.cpp * contrib/hbqt/qtgui/QPen.cpp * contrib/hbqt/qtgui/QRegion.cpp * contrib/hbqt/qtgui/QFrame.cpp * contrib/hbqt/qtgui/QCompleter.cpp * contrib/hbqt/qtgui/QStyleOptionSpinBox.cpp * contrib/hbqt/qtwebkit/QWebSecurityOrigin.cpp * contrib/hbqt/qtwebkit/QWebHistoryItem.cpp * contrib/hbqt/qtwebkit/QWebHitTestResult.cpp * contrib/hbqt/qtwebkit/QWebView.cpp * contrib/hbqt/qtwebkit/QWebPage.cpp * contrib/hbqt/qtcore/QDate.cpp * contrib/hbqt/qtcore/QProcess.cpp * contrib/hbqt/qtcore/QTextBoundaryFinder.cpp * contrib/hbqt/qtcore/QPoint.cpp * contrib/hbqt/qtcore/QTextStream.cpp * contrib/hbqt/qtcore/QObject.cpp * contrib/hbqt/qtcore/QTimer.cpp * contrib/hbqt/qtcore/QEvent.cpp * contrib/hbqt/qtcore/QDataStream.cpp * contrib/hbqt/qtcore/QResource.cpp * contrib/hbqt/qtcore/QModelIndex.cpp * contrib/hbqt/qtcore/QTranslator.cpp * contrib/hbqt/qtcore/QRect.cpp * contrib/hbqt/qtcore/QLineF.cpp * contrib/hbqt/qtcore/QTime.cpp * contrib/hbqt/qtcore/QPointF.cpp * contrib/hbqt/qtcore/QLocale.cpp * contrib/hbqt/qtcore/QBitArray.cpp * contrib/hbqt/qtcore/QLatin1String.cpp * contrib/hbqt/qtcore/QFile.cpp * contrib/hbqt/qtcore/QSizeF.cpp * contrib/hbqt/qtcore/QMimeData.cpp * contrib/hbqt/qtcore/QLine.cpp * contrib/hbqt/qtcore/QStringList.cpp * contrib/hbqt/qtcore/QUrl.cpp * contrib/hbqt/qtcore/QByteArray.cpp * contrib/hbqt/qtcore/QRectF.cpp * contrib/hbqt/qtcore/QEventLoop.cpp * contrib/hbqt/qtcore/QDir.cpp * contrib/hbqt/qtcore/QSignalMapper.cpp * contrib/hbqt/qtcore/QTextEncoder.cpp * contrib/hbqt/qtcore/QLatin1Char.cpp * contrib/hbqt/qtcore/QRegExp.cpp * contrib/hbqt/qtcore/QFileInfo.cpp * contrib/hbqt/qtcore/QDateTime.cpp * contrib/hbqt/qtcore/QVariant.cpp * contrib/hbqt/qtcore/QThread.cpp * contrib/hbqt/qtcore/QTextDecoder.cpp * contrib/hbqt/qtcore/QSize.cpp * contrib/hbqt/qtcore/QList.cpp * contrib/hbqt/qtnetwork/QHttp.cpp * contrib/hbqt/qtnetwork/QHttpRequestHeader.cpp * contrib/hbqt/qtnetwork/QNetworkRequest.cpp * contrib/hbqt/qtnetwork/QHttpResponseHeader.cpp * contrib/hbqt/qtnetwork/QFtp.cpp * Regenerated sources. 2009-11-15 09:43 UTC+0100 Viktor Szakats * contrib/hbqt/hbqt.h * contrib/hbqt/generator/hbqtgen.prg * contrib/hbqt/hbqt.ch * contrib/hbqt/hbqt_destruct.cpp * contrib/hbqt/tests/demoqt.prg * contrib/hbqt/hbqt_slots.cpp * contrib/hbqt/Makefile * contrib/hbxbp/xbpappevent.prg * contrib/hbxbp/xbpsle.prg * contrib/hbxbp/xbplistbox.prg * contrib/hbxbp/xbppresspace.prg * contrib/hbxbp/xbpcheckbox.prg * contrib/hbxbp/xbpmenubar.prg * contrib/hbxbp/xbpradiobutton.prg * contrib/hbxbp/xbprtf.prg * contrib/hbxbp/xbpfiledialog.prg * contrib/hbxbp/tests/demoxbp.prg * contrib/hbxbp/xbpbrowse.prg * contrib/hbxbp/xbptabpage.prg * contrib/hbxbp/xbpwindow.prg * contrib/hbxbp/xbpcombobox.prg * contrib/hbxbp/xbpstatusbar.prg * contrib/hbxbp/xbppushbutton.prg * contrib/hbxbp/xbpprintdialog.prg * contrib/hbxbp/xbpbitmap.prg * contrib/hbxbp/xbp.ch * contrib/hbxbp/xbpprinter.prg * contrib/hbxbp/xbpscrollbar.prg * contrib/hbxbp/xbpfontdialog.prg * contrib/hbxbp/xbphtmlviewer.prg * contrib/hbxbp/xbpstatic.prg * contrib/hbxbp/xbptreeview.prg * contrib/hbxbp/xbpdialog.prg * contrib/hbxbp/xbpstyle.prg * contrib/hbxbp/xbptoolbar.prg * contrib/hbxbp/xbp3state.prg * contrib/hbxbp/xbpspinbutton.prg * contrib/hbxbp/xbpdataref.prg * contrib/hbxbp/xbpgeneric.prg * contrib/hbxbp/xbpmle.prg ! Fixed to include hbqt.ch from xbp.ch instead of doing it in each file manually. * Renamed __debug__ to __HB_DEBUG__ ! Fixed just_debug() to work in UNICODE mode. * Renamed hb_getMemUsed() to hbqt_getmemused() * Renamed just_debug() to hbqt_debug() + Added multiple parameter support to HB_OUTDEBUG(). * Renamed HB_OUTDEBUG() to HBQT_DEBUG() in hbqt and HBXBP_DEBUG() in hbxbp. ! Fixed #include <Psapi.h> to #include <psapi.h>. ! Replaced all debug calls to use HBQT_DEBUG() / HBXBP_DEBUG(). ; NOTE: After this change __HB_DEBUG__ controls debug mode in both .c and .prg mode. Windows specific debug output can still be enabled with __HB_WINDEBUG__. ; NOTE: I didn't test any of these. Pls do so. ; NOTE: All above is temporary as it would be better add OutputDebugString() support to our RTL trace engine (enabled with a flag), plus multiple parameter support (preferably accepting any types) to HB_TRACESTRING(). Since my .c skill would kill this effort, or at least make it quite bumpy, I'd kindly ask someone (Przemek, are you there? ;) to implement it. Preferably both. [DONE] ; TODO: Regenerate all hbqt sources. [DONE] 2009-11-15 08:37 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fixed typo causing build-time flags to not be recognized when using embedded Harbour compiler and -bldf option. 2009-11-15 08:21 UTC+0100 Viktor Szakats * src/rtl/hbi18n1.c ! Fixed bcc warning in recent commit. * contrib/gtwvg/tests/demoxbp.prg ! Fixed to use HB_SYMBOL_UNUSED() instead of local solution. * contrib/gtwvg/tests/demowvg.prg + Added dirbase to icon filenames * contrib/gtwvg/Makefile + Enabled for msvc64 and pocc64. 2009-11-14 22:21 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/hbqt_slots.cpp * contrib/hbqt/hbqt_slots.h ! Fixed double freeing of HbDbfModel::block because of recalling the same function twice. Przemek ValGrind really helped here, thanks. 2009-11-14 22:05 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/gtwvg/Makefile * contrib/gtwvg/wvgsysw.prg * contrib/gtwvg/wvgwing.c * contrib/gtwvg/wvgwnd.prg - contrib/gtwvg/wincallb.c - contrib/gtwvg/wincback.prg * contrib/gtwvg/tests/demoxbp.prg ! Removed 32-bit only code which made GTWVG unusable on 64-bit opering systems. I just discoved a way to assign WndProc to system dialogs and hence this major change is effected. Viktor, please let me know if GTWVG now compiles fine on 64-bit. 2009-11-15 06:34 UTC+0100 Viktor Szakats * contrib/hbqt/hbqt_destruct.cpp ! Fixed the way windows.h is included. ! Fixed to exclude Windows stuff on non-Windows systems (in debug mode). ; PLEASE KEEP IT THIS WAY. 2009-11-15 05:30 UTC+0100 Viktor Szakats * contrib/hbsms/Makefile ! Fixed dependency on tpathy headers. * contrib/hbsms/hbsms.prg * contrib/hbsms/hbsms.hbc - Deleted implementation based on hbwin com port support. 2009-11-15 05:12 UTC+0100 Viktor Szakats * src/compiler/genc.c * src/compiler/gencc.c * Using HB_BYTE instead of BYTE in generated .c sources. * contrib/Makefile + contrib/hbsms + contrib/hbsms/Makefile + contrib/hbsms/hbsms.hbc + contrib/hbsms/hbsms.prg + contrib/hbsms/tests + contrib/hbsms/tests/hbmk.hbm + contrib/hbsms/tests/send.prg + Added SMS library. Currently sending is implemented. SMS_SEND( <cPort>, <cPhoneNumber>, <cText>, [<lDeliveryReport>], [<cPIN>] ) -> <nErrorCode. 0 = success> ; Uses hbtpathy. * contrib/hbwin/tests/hbmk.hbm ! Missing -es2. 2009-11-15 04:23 UTC+0100 Viktor Szakats * config/global.mk * config/win/bcc.mk + Added hack to hack so that bcc autoconfiguration works even when bcc is explicitly selected. Now I wonder what will be the next corner case bcc users will come up with. 2009-11-15 03:50 UTC+0100 Viktor Szakats * config/win/bcc.mk + Changed to use ilink32 directly to link executables instead of relying on bcc32. This change synced this details with hbmk2. Please test, especially on Linux+Wine. Also please don't hesitate to make adjustments to this change if needed. BCC isn't my bread and butter and I didn't make extensive tests. 2009-11-14 23:16 UTC+0100 Viktor Szakats * contrib/hbqt/hbqt.ch * contrib/hbqt/tests/demoqt.prg + Changed to use same .prg level debug trace call method as in hbxbp. Enable it with __HB_OUTDEBUG__. On Windows to use OutputDebugString() instead of regular Harbour trace calls, also #define __HB_WINDEBUG__. In this case, also link hbwin lib (not xhb lib). * Moved QT_PTROF() macro from demo code to header. 2009-11-14 12:16 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/tests/demoqt.prg ! Fixed to excluse non-working components and streamlined hb_toOutDebug(). 2009-11-14 10:07 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/gtwvg/wvtwin.ch + Added few more constants. 2009-11-14 18:08 UTC+0100 Viktor Szakats * src/rtl/hbi18n1.c + Added plural form support for these languages: CS, FR, GA, HR, JA, KO, LV, PT-BR, RO, SK, SL, SR, TR, UK, VI * src/rtl/cputime.c * Minor formatting. 2009-11-14 16:15 UTC+0100 Viktor Szakats * external/sqlite3/sqlite3.c * external/sqlite3/sqlite3.h + sqlite upgraded to 3.6.20 (from 3.6.18) 2009-11-14 16:00 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/cdpapi.c * updated to work well with CPs where CHR( 0 ) is not sorted as 1st character * harbour/tests/cpinfo.prg * chose binary form for CPs where upper and lower letters are sorted in different order * harbour/src/codepage/cpnl850.c * updated to binary form 2009-11-14 05:06 UTC+0100 Viktor Szakats * src/codepage/cp_tpl.c * src/codepage/cpbg866.c * src/codepage/cpbgiso.c * src/codepage/cpbgmik.c * src/codepage/cpbgwin.c * src/codepage/cpcs852.c * src/codepage/cpcsiso.c * src/codepage/cpcskam.c * src/codepage/cpcswin.c * src/codepage/cpdeiso.c * src/codepage/cpdewin.c * src/codepage/cpel737.c * src/codepage/cpeliso.c * src/codepage/cpelwin.c * src/codepage/cpes850.c * src/codepage/cpesiso.c * src/codepage/cpeswin.c * src/codepage/cpeswinm.c * src/codepage/cpfriso.c * src/codepage/cpfrwin.c * src/codepage/cphr437.c * src/codepage/cphr852.c * src/codepage/cphrwin.c * src/codepage/cphuiso.c * src/codepage/cphuwin.c * src/codepage/cpit437.c * src/codepage/cpitisb.c * src/codepage/cpitiso.c * src/codepage/cpitwin.c * src/codepage/cpltwin.c * src/codepage/cppl852.c * src/codepage/cppliso.c * src/codepage/cpplmaz.c * src/codepage/cpplwin.c * src/codepage/cppt850.c * src/codepage/cpptiso.c * src/codepage/cpro852.c * src/codepage/cproiso.c * src/codepage/cprowin.c * src/codepage/cpru866.c * src/codepage/cpruiso.c * src/codepage/cprukoi.c * src/codepage/cpruwin.c * src/codepage/cpsk852.c * src/codepage/cpskiso.c * src/codepage/cpskkam.c * src/codepage/cpskwin.c * src/codepage/cpsl437.c * src/codepage/cpsl852.c * src/codepage/cpsliso.c * src/codepage/cpslwin.c * src/codepage/cpsrwin.c * src/codepage/cpsv437c.c * src/codepage/cpsviso.c * src/codepage/cpsvwin.c * src/codepage/cptr857.c * src/codepage/cptriso.c * src/codepage/cptrwin.c * src/codepage/cpua1125.c * src/codepage/cpua866.c * src/codepage/cpuakoi.c * src/codepage/cpuawin.c * src/codepage/Makefile % Deleted now redundant comments. 2009-11-14 04:57 UTC+0100 Viktor Szakats * src/codepage/cpde850.c * src/codepage/cpes850c.c * src/codepage/cpfi850.c * src/codepage/cpfr850.c * src/codepage/cphu852.c * src/codepage/cphu852c.c * src/codepage/cpis850.c * src/codepage/cpis861.c * src/codepage/cpit850.c * src/codepage/cpnl850.c * src/codepage/cpno865.c * src/codepage/cppt860.c * src/codepage/cpsv850.c + Regenerated using latest cpinfo.prg in C5.2e Intl. 2009-11-14 04:21 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbdefs.h * added small hack to eliminate negative handles from 32-bit Windows builds. Please remember that this trick can work only in 32-bit Windows version. In 64-bit ones valid handle after casting to integer value can give negative 64-bit number so checking for wrong handle please compare them with FS_ERROR (-1) instead of using < 0 or something like that. Otherwise your code may not work properly with some new windows versions or may even suddenly stop to work with existing ones even if they worked for some time without problems. * harbour/src/rdd/dbf1.c * pacified warning after adding above hack * harbour/tests/cpinfo.prg ! removed unnecessary EOL reported by Viktor 2009-11-13 17:43 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/generator/hbqtgen.prg * contrib/hbqt/qth/QAbstractItemModel.qth * contrib/hbqt/hbqt.h * contrib/hbqt/hbqt_destruct.cpp * contrib/hbqt/hbqt_garbage.h * contrib/hbqt/hbqt_slots.cpp * contrib/hbqt/qtcore/QAbstractItemModel.cpp * contrib/hbqt/qtcore/QAbstractListModel.cpp * contrib/hbqt/qtcore/QAbstractTableModel.cpp * contrib/hbqt/qtcore/QBitArray.cpp * contrib/hbqt/qtcore/QByteArray.cpp * contrib/hbqt/qtcore/QCoreApplication.cpp * contrib/hbqt/qtcore/QDataStream.cpp * contrib/hbqt/qtcore/QDate.cpp * contrib/hbqt/qtcore/QDateTime.cpp * contrib/hbqt/qtcore/QDir.cpp * contrib/hbqt/qtcore/QEvent.cpp * contrib/hbqt/qtcore/QEventLoop.cpp * contrib/hbqt/qtcore/QFile.cpp * contrib/hbqt/qtcore/QFileInfo.cpp * contrib/hbqt/qtcore/QIODevice.cpp * contrib/hbqt/qtcore/QLatin1Char.cpp * contrib/hbqt/qtcore/QLatin1String.cpp * contrib/hbqt/qtcore/QLine.cpp * contrib/hbqt/qtcore/QLineF.cpp * contrib/hbqt/qtcore/QList.cpp * contrib/hbqt/qtcore/QLocale.cpp * contrib/hbqt/qtcore/QMimeData.cpp * contrib/hbqt/qtcore/QModelIndex.cpp * contrib/hbqt/qtcore/QObject.cpp * contrib/hbqt/qtcore/QPoint.cpp * contrib/hbqt/qtcore/QPointF.cpp * contrib/hbqt/qtcore/QProcess.cpp * contrib/hbqt/qtcore/QRect.cpp * contrib/hbqt/qtcore/QRectF.cpp * contrib/hbqt/qtcore/QRegExp.cpp * contrib/hbqt/qtcore/QResource.cpp * contrib/hbqt/qtcore/QSignalMapper.cpp * contrib/hbqt/qtcore/QSize.cpp * contrib/hbqt/qtcore/QSizeF.cpp * contrib/hbqt/qtcore/QStringList.cpp * contrib/hbqt/qtcore/QTextBoundaryFinder.cpp * contrib/hbqt/qtcore/QTextCodec.cpp * contrib/hbqt/qtcore/QTextDecoder.cpp * contrib/hbqt/qtcore/QTextEncoder.cpp * contrib/hbqt/qtcore/QTextStream.cpp * contrib/hbqt/qtcore/QThread.cpp * contrib/hbqt/qtcore/QTime.cpp * contrib/hbqt/qtcore/QTimer.cpp * contrib/hbqt/qtcore/QTranslator.cpp * contrib/hbqt/qtcore/QUrl.cpp * contrib/hbqt/qtcore/QVariant.cpp * contrib/hbqt/qtgui/QAbstractButton.cpp * contrib/hbqt/qtgui/QAbstractItemDelegate.cpp * contrib/hbqt/qtgui/QAbstractItemView.cpp * contrib/hbqt/qtgui/QAbstractPrintDialog.cpp * contrib/hbqt/qtgui/QAbstractProxyModel.cpp * contrib/hbqt/qtgui/QAbstractScrollArea.cpp * contrib/hbqt/qtgui/QAbstractSlider.cpp * contrib/hbqt/qtgui/QAbstractSpinBox.cpp * contrib/hbqt/qtgui/QAbstractTextDocumentLayout.cpp * contrib/hbqt/qtgui/QAction.cpp * contrib/hbqt/qtgui/QActionGroup.cpp * contrib/hbqt/qtgui/QApplication.cpp * contrib/hbqt/qtgui/QBitmap.cpp * contrib/hbqt/qtgui/QBoxLayout.cpp * contrib/hbqt/qtgui/QBrush.cpp * contrib/hbqt/qtgui/QButtonGroup.cpp * contrib/hbqt/qtgui/QCalendarWidget.cpp * contrib/hbqt/qtgui/QCheckBox.cpp * contrib/hbqt/qtgui/QClipboard.cpp * contrib/hbqt/qtgui/QColor.cpp * contrib/hbqt/qtgui/QColorDialog.cpp * contrib/hbqt/qtgui/QComboBox.cpp * contrib/hbqt/qtgui/QCommandLinkButton.cpp * contrib/hbqt/qtgui/QCommonStyle.cpp * contrib/hbqt/qtgui/QCompleter.cpp * contrib/hbqt/qtgui/QConicalGradient.cpp * contrib/hbqt/qtgui/QContextMenuEvent.cpp * contrib/hbqt/qtgui/QCursor.cpp * contrib/hbqt/qtgui/QDateEdit.cpp * contrib/hbqt/qtgui/QDateTimeEdit.cpp * contrib/hbqt/qtgui/QDesktopWidget.cpp * contrib/hbqt/qtgui/QDial.cpp * contrib/hbqt/qtgui/QDialog.cpp * contrib/hbqt/qtgui/QDirModel.cpp * contrib/hbqt/qtgui/QDockWidget.cpp * contrib/hbqt/qtgui/QDoubleSpinBox.cpp * contrib/hbqt/qtgui/QDragEnterEvent.cpp * contrib/hbqt/qtgui/QDragLeaveEvent.cpp * contrib/hbqt/qtgui/QDragMoveEvent.cpp * contrib/hbqt/qtgui/QDropEvent.cpp * contrib/hbqt/qtgui/QErrorMessage.cpp * contrib/hbqt/qtgui/QFileDialog.cpp * contrib/hbqt/qtgui/QFileIconProvider.cpp * contrib/hbqt/qtgui/QFileSystemModel.cpp * contrib/hbqt/qtgui/QFocusEvent.cpp * contrib/hbqt/qtgui/QFocusFrame.cpp * contrib/hbqt/qtgui/QFont.cpp * contrib/hbqt/qtgui/QFontComboBox.cpp * contrib/hbqt/qtgui/QFontDatabase.cpp * contrib/hbqt/qtgui/QFontDialog.cpp * contrib/hbqt/qtgui/QFontInfo.cpp * contrib/hbqt/qtgui/QFontMetrics.cpp * contrib/hbqt/qtgui/QFontMetricsF.cpp * contrib/hbqt/qtgui/QFormLayout.cpp * contrib/hbqt/qtgui/QFrame.cpp * contrib/hbqt/qtgui/QGradient.cpp * contrib/hbqt/qtgui/QGridLayout.cpp * contrib/hbqt/qtgui/QGroupBox.cpp * contrib/hbqt/qtgui/QHBoxLayout.cpp * contrib/hbqt/qtgui/QHeaderView.cpp * contrib/hbqt/qtgui/QHelpEvent.cpp * contrib/hbqt/qtgui/QIcon.cpp * contrib/hbqt/qtgui/QImage.cpp * contrib/hbqt/qtgui/QImageReader.cpp * contrib/hbqt/qtgui/QImageWriter.cpp * contrib/hbqt/qtgui/QInputContext.cpp * contrib/hbqt/qtgui/QInputDialog.cpp * contrib/hbqt/qtgui/QInputEvent.cpp * contrib/hbqt/qtgui/QInputMethodEvent.cpp * contrib/hbqt/qtgui/QItemSelection.cpp * contrib/hbqt/qtgui/QItemSelectionModel.cpp * contrib/hbqt/qtgui/QKeyEvent.cpp * contrib/hbqt/qtgui/QKeySequence.cpp * contrib/hbqt/qtgui/QLabel.cpp * contrib/hbqt/qtgui/QLayout.cpp * contrib/hbqt/qtgui/QLayoutItem.cpp * contrib/hbqt/qtgui/QLCDNumber.cpp * contrib/hbqt/qtgui/QLinearGradient.cpp * contrib/hbqt/qtgui/QLineEdit.cpp * contrib/hbqt/qtgui/QListView.cpp * contrib/hbqt/qtgui/QListWidget.cpp * contrib/hbqt/qtgui/QListWidgetItem.cpp * contrib/hbqt/qtgui/QMainWindow.cpp * contrib/hbqt/qtgui/QMatrix.cpp * contrib/hbqt/qtgui/QMenu.cpp * contrib/hbqt/qtgui/QMenuBar.cpp * contrib/hbqt/qtgui/QMessageBox.cpp * contrib/hbqt/qtgui/QMouseEvent.cpp * contrib/hbqt/qtgui/QMoveEvent.cpp * contrib/hbqt/qtgui/QMovie.cpp * contrib/hbqt/qtgui/QPageSetupDialog.cpp * contrib/hbqt/qtgui/QPaintDevice.cpp * contrib/hbqt/qtgui/QPainter.cpp * contrib/hbqt/qtgui/QPainterPath.cpp * contrib/hbqt/qtgui/QPaintEvent.cpp * contrib/hbqt/qtgui/QPalette.cpp * contrib/hbqt/qtgui/QPen.cpp * contrib/hbqt/qtgui/QPicture.cpp * contrib/hbqt/qtgui/QPixmap.cpp * contrib/hbqt/qtgui/QPolygon.cpp * contrib/hbqt/qtgui/QPolygonF.cpp * contrib/hbqt/qtgui/QPrintDialog.cpp * contrib/hbqt/qtgui/QPrintEngine.cpp * contrib/hbqt/qtgui/QPrinter.cpp * contrib/hbqt/qtgui/QPrintPreviewDialog.cpp * contrib/hbqt/qtgui/QProgressBar.cpp * contrib/hbqt/qtgui/QProgressDialog.cpp * contrib/hbqt/qtgui/QPushButton.cpp * contrib/hbqt/qtgui/QRadialGradient.cpp * contrib/hbqt/qtgui/QRadioButton.cpp * contrib/hbqt/qtgui/QRegion.cpp * contrib/hbqt/qtgui/QResizeEvent.cpp * contrib/hbqt/qtgui/QScrollArea.cpp * contrib/hbqt/qtgui/QScrollBar.cpp * contrib/hbqt/qtgui/QSessionManager.cpp * contrib/hbqt/qtgui/QSizeGrip.cpp * contrib/hbqt/qtgui/QSizePolicy.cpp * contrib/hbqt/qtgui/QSlider.cpp * contrib/hbqt/qtgui/QSound.cpp * contrib/hbqt/qtgui/QSpacerItem.cpp * contrib/hbqt/qtgui/QSpinBox.cpp * contrib/hbqt/qtgui/QSplashScreen.cpp * contrib/hbqt/qtgui/QSplitter.cpp * contrib/hbqt/qtgui/QStandardItem.cpp * contrib/hbqt/qtgui/QStandardItemModel.cpp * contrib/hbqt/qtgui/QStatusBar.cpp * contrib/hbqt/qtgui/QStringListModel.cpp * contrib/hbqt/qtgui/QStyle.cpp * contrib/hbqt/qtgui/QStyledItemDelegate.cpp * contrib/hbqt/qtgui/QStyleFactory.cpp * contrib/hbqt/qtgui/QStyleHintReturn.cpp * contrib/hbqt/qtgui/QStyleHintReturnMask.cpp * contrib/hbqt/qtgui/QStyleHintReturnVariant.cpp * contrib/hbqt/qtgui/QStyleOption.cpp * contrib/hbqt/qtgui/QStyleOptionButton.cpp * contrib/hbqt/qtgui/QStyleOptionComboBox.cpp * contrib/hbqt/qtgui/QStyleOptionComplex.cpp * contrib/hbqt/qtgui/QStyleOptionDockWidget.cpp * contrib/hbqt/qtgui/QStyleOptionFocusRect.cpp * contrib/hbqt/qtgui/QStyleOptionFrame.cpp * contrib/hbqt/qtgui/QStyleOptionGroupBox.cpp * contrib/hbqt/qtgui/QStyleOptionHeader.cpp * contrib/hbqt/qtgui/QStyleOptionMenuItem.cpp * contrib/hbqt/qtgui/QStyleOptionProgressBar.cpp * contrib/hbqt/qtgui/QStyleOptionSizeGrip.cpp * contrib/hbqt/qtgui/QStyleOptionSlider.cpp * contrib/hbqt/qtgui/QStyleOptionSpinBox.cpp * contrib/hbqt/qtgui/QStyleOptionTab.cpp * contrib/hbqt/qtgui/QStyleOptionTabBarBase.cpp * contrib/hbqt/qtgui/QStyleOptionTabWidgetFrame.cpp * contrib/hbqt/qtgui/QStyleOptionTitleBar.cpp * contrib/hbqt/qtgui/QStyleOptionToolBar.cpp * contrib/hbqt/qtgui/QStyleOptionToolBox.cpp * contrib/hbqt/qtgui/QStyleOptionToolButton.cpp * contrib/hbqt/qtgui/QStyleOptionViewItem.cpp * contrib/hbqt/qtgui/QStylePainter.cpp * contrib/hbqt/qtgui/QSystemTrayIcon.cpp * contrib/hbqt/qtgui/QTabBar.cpp * contrib/hbqt/qtgui/QTableView.cpp * contrib/hbqt/qtgui/QTableWidget.cpp * contrib/hbqt/qtgui/QTableWidgetItem.cpp * contrib/hbqt/qtgui/QTableWidgetSelectionRange.cpp * contrib/hbqt/qtgui/QTabWidget.cpp * contrib/hbqt/qtgui/QTextBlock.cpp * contrib/hbqt/qtgui/QTextBlockFormat.cpp * contrib/hbqt/qtgui/QTextBrowser.cpp * contrib/hbqt/qtgui/QTextCharFormat.cpp * contrib/hbqt/qtgui/QTextCursor.cpp * contrib/hbqt/qtgui/QTextDocument.cpp * contrib/hbqt/qtgui/QTextDocumentFragment.cpp * contrib/hbqt/qtgui/QTextDocumentWriter.cpp * contrib/hbqt/qtgui/QTextEdit.cpp * contrib/hbqt/qtgui/QTextFormat.cpp * contrib/hbqt/qtgui/QTextFragment.cpp * contrib/hbqt/qtgui/QTextFrame.cpp * contrib/hbqt/qtgui/QTextFrameFormat.cpp * contrib/hbqt/qtgui/QTextImageFormat.cpp * contrib/hbqt/qtgui/QTextInlineObject.cpp * contrib/hbqt/qtgui/QTextItem.cpp * contrib/hbqt/qtgui/QTextLayout.cpp * contrib/hbqt/qtgui/QTextLength.cpp * contrib/hbqt/qtgui/QTextLine.cpp * contrib/hbqt/qtgui/QTextListFormat.cpp * contrib/hbqt/qtgui/QTextObject.cpp * contrib/hbqt/qtgui/QTextOption.cpp * contrib/hbqt/qtgui/QTextTableFormat.cpp * contrib/hbqt/qtgui/QTimeEdit.cpp * contrib/hbqt/qtgui/QToolBar.cpp * contrib/hbqt/qtgui/QToolBox.cpp * contrib/hbqt/qtgui/QToolButton.cpp * contrib/hbqt/qtgui/QTransform.cpp * contrib/hbqt/qtgui/QTreeView.cpp * contrib/hbqt/qtgui/QTreeWidget.cpp * contrib/hbqt/qtgui/QTreeWidgetItem.cpp * contrib/hbqt/qtgui/QValidator.cpp * contrib/hbqt/qtgui/QVBoxLayout.cpp * contrib/hbqt/qtgui/QWheelEvent.cpp * contrib/hbqt/qtgui/QWidget.cpp * contrib/hbqt/qtgui/QWidgetAction.cpp * contrib/hbqt/qtgui/QWidgetItem.cpp * contrib/hbqt/qtgui/QWindowsStyle.cpp * contrib/hbqt/qtgui/QWindowsXPStyle.cpp * contrib/hbqt/qtgui/QWizard.cpp * contrib/hbqt/qtgui/QWizardPage.cpp * contrib/hbqt/qtnetwork/QFtp.cpp * contrib/hbqt/qtnetwork/QHttp.cpp * contrib/hbqt/qtnetwork/QHttpRequestHeader.cpp * contrib/hbqt/qtnetwork/QHttpResponseHeader.cpp * contrib/hbqt/qtnetwork/QNetworkRequest.cpp * contrib/hbqt/qtwebkit/QWebFrame.cpp * contrib/hbqt/qtwebkit/QWebHistory.cpp * contrib/hbqt/qtwebkit/QWebHistoryInterface.cpp * contrib/hbqt/qtwebkit/QWebHistoryItem.cpp * contrib/hbqt/qtwebkit/QWebHitTestResult.cpp * contrib/hbqt/qtwebkit/QWebPage.cpp * contrib/hbqt/qtwebkit/QWebPluginFactory.cpp * contrib/hbqt/qtwebkit/QWebSecurityOrigin.cpp * contrib/hbqt/qtwebkit/QWebSettings.cpp * contrib/hbqt/qtwebkit/QWebView.cpp * contrib/hbxbp/xbpbrowse.prg * contrib/hbxbp/xbpgeneric.prg * contrib/hbxbp/xbpwindow.prg * contrib/hbxbp/tests/demoxbp.prg + Implemented Bisz Istvan's patch with few fixes. Big thank you. This implementation has a better control over pointers and is dynamic. - Completely changed windows logging mechanism. Now it is invoked only when you define #define __debug__ on C and PRG level TO WATCH: Please do extensive testing with demoxbp and demoqt. We are almost done with pointer resolution, if I am not mistaking, but we further need to look into why system memory does not go down and keeps on increasing with every invocation of a dialog. 2009-11-13 20:40 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/contrib/rddads/ads1.c * changed ulRetVal to u32RetVal to be the same name in all file * added RTE if AdsSkip(), AdsGotoRecord(), AdsGotoTop(), and AdsGotoBottom() return not AE_SUCCESS. All these functions return 7022 (Maximum index levels) on unbalanced ADS indexes. ; TODO: test and add RTE on AdsSeek() and the other remaining record positioning function calls 2009-11-13 14:28 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/src/rtl/hbi18n1.c ! fixed Lithuanian plural form index 2009-11-12 16:21 UTC+0100 Viktor Szakats * INSTALL * Updated dev list max attachment size. * INSTALL * config/beos/libs.mk * config/global.mk * config/bsd/libs.mk * config/bin.mk * config/wce/global.mk * config/hpux/libs.mk * config/darwin/libs.mk * config/dos/djgpp.mk * config/win/global.mk * config/linux/libs.mk * config/os2/gcc.mk * config/sunos/libs.mk + Added support for HB_USER_LIBS build option to specify extra libs. Note: This is useful only in very special cases, so pls don't use it unless you exactly know what you want to do. The libs have to be specced without prefixes and extensions. It will be added after Harbour libs and before system libs. 2009-11-12 13:15 UTC+0200 Chen Kedem <niki@synel.co.il> * harbour/config/win/bcc.mk ! Change page size from 96 to 128. Page size must be power of 2. This fix "invalid page size value ignored" warnings. 2009-11-10 11:55 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbxbp/xbpmenubar.prg ! Fixed double freeing of signals. 2009-11-10 19:31 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbcdpreg.h * use macro instead of direct value * harbour/tests/cpinfo.prg + generate .c files with CP definition in human readable form when it's can be safely use or with optional binary table when it should be verified if such form is acceptable. 2009-11-10 18:54 UTC+0100 Viktor Szakats * tests/cpinfo.prg + Avoiding memowrit() since it will append a Chr(26) which may cause problems. 2009-11-10 18:24 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/tests/cpinfo.prg * harbour/include/hbapicdp.h * harbour/include/hbcdpreg.h * modified format used for CP definition using binary tables + added Latin character striping from non Latin based CPs * changed warning message to be more clear. In most of cases when this message is shown: Warning: irregular CP which needs verification for human readable definition in Harbour it should be possible to create human non binary CP definition. Usually it should be enough to copy HB_CP_UPPER and HB_CP_LOWER strings and verify if final result are compatible by comparing automatically generated .c file with binary tables. If you will find some CPs where it's not compatible then please inform me about it and I'll try to update cpinfo.prg When this message is shown: Warning: irregular CP which needs special definition in Harbour using binary tables generated by this program then binary tables have to be used to replicate exact CP conditions. If no warning message is shown then human readable form of CP definition can be used without (I hope ;)) additional verification. * harbour/src/codepage/cpno865.c * harbour/src/codepage/cpit850m.c * harbour/src/codepage/cpis850.c * harbour/src/codepage/cpfr850.c * harbour/src/codepage/cpes850c.c * harbour/src/codepage/cpsv850m.c * harbour/src/codepage/cpde850m.c * harbour/src/codepage/cppt860.c * harbour/src/codepage/cpnl850m.c * harbour/src/codepage/cpnl850.c * harbour/src/codepage/cpde850.c * harbour/src/codepage/cpfi850.c * harbour/src/codepage/cpit850.c * harbour/src/codepage/cpis861.c * harbour/src/codepage/cpes850m.c * harbour/src/codepage/cpfr850m.c * harbour/src/codepage/cpsv437c.c * harbour/src/codepage/cpdk865.c * harbour/src/codepage/cpgr437.c * updated for new format 2009-11-10 08:26 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/hbqt_slots.cpp * contrib/hbxbp/xbpgeneric.prg * contrib/hbxbp/xbpmenubar.prg * contrib/hbxbp/xbptabpage.prg ! Fixed some stupid typos and changed the way signals are disconnected. 2009-11-10 16:55 UTC+0100 Viktor Szakats * src/codepage/cpit850m.c * src/codepage/cpde850m.c * src/codepage/cpsv850m.c * src/codepage/cpnl850m.c * src/codepage/cpes850m.c * src/codepage/cpfr850m.c ! Deleted Chr(26) EOL. * src/codepage/Makefile - src/codepage/cpgr851.c * include/hbextcdp.ch - Deleted this CP as we miss CP 851 definition. 2009-11-10 15:25 UTC+0100 Viktor Szakats * include/hbextcdp.ch * Updated to reflect recent couple of commits. * src/codepage/Makefile + src/codepage/cpit850m.c + src/codepage/cpde850m.c + src/codepage/cpsv850m.c + src/codepage/cpnl850m.c + src/codepage/cpes850m.c + src/codepage/cpfr850m.c + Added mdx*.obj compatible CPs, created by cpinfo.prg. ; FIXME: I didn't added mdxuk and mdxusa, simply because it cannot fit in current filename scheme, which uses only two chars to denote language. 2009-11-10 15:15 UTC+0100 Viktor Szakats * src/codepage/cpes850c.c * src/codepage/cpnl850.c * src/codepage/cpde850.c * src/codepage/cpfi850.c * src/codepage/cpit850.c ! Wrong CP in descriptions. 2009-11-10 15:05 UTC+0100 Viktor Szakats * codepage/Makefile - codepage/cpesisoc.c - codepage/cpeswinc.c - Deleted ISO and Win pairs of ES850C. * codepage/Makefile + codepage/cpgr437.c + codepage/cpgr851.c + codepage/cpis850.c + codepage/cpis861.c + codepage/cpdk865.c + codepage/cpfi850.c + codepage/cpnl850.c + codepage/cpno865.c + codepage/cppt860.c + Added CPs generated via cpinfo.prg from ntx*.obj (C5.2e). For these languages, I've only 'guessed' the CP assigment: cpdk865 cpfi850 cpnl850 cpno865 cppt860 FIXME: Any mistakes in above. * codepage/Makefile - codepage/cpsvclip.c + codepage/cpsv437c.c * Renamed to use naming scheme like all others. ; FIXME: 437 is most certainly wrong CP assigment, and it should probably be 850 or 865. * codepage/cpfr850.c * codepage/cpes850c.c * codepage/cpde850.c * codepage/cpit850.c * Replaced with versions generated by cpinfo.prg. ; TODO: cpinfo.prg isn't generating short format of CP source files, so all above may need to be converted to it for better readability. 2009-11-10 15:03 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/tests/cpinfo.prg ! fixed possible infinite loop in character padding procedure 2009-11-10 13:34 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/tests/cpinfo.prg + added additional information that binary tables generated by cpinfo.prg have to be used instead of human readable form when such situation can be easy detected * harbour/src/codepage/cpsvclip.c * replaced old definition with binary tables generated by cpinfo.prg to fully replicate wrong Clipper NTXSWE.OBJ definition. 2009-11-10 13:00 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/src/rtl/cdpapi.c * removed unnecessary assignment to pacify BCC warning 2009-11-10 11:54 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbset.h * harbour/src/vm/set.c + added new C function hb_setGetOSCP() 2009-11-10 11:00 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/tests/cpinfo.prg + try to generate HB_CP_UPPER and HB_CP_LOWER strings which are ready to use in Harbour CP definition using human readable form. Warning: please remember that not all CPs can be created in human readable form and if you want to create Clipper compatible definition then it should be always verified by comparing .c files generated by cpinfo compiled using Clipper and Harbour. 2009-11-10 09:43 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/codepage/cphu852c.c * converted to use human readable form which I think should better show what exactly Clipper's ntxhu852.obj does 2009-11-10 09:20 UTC+0100 Viktor Szakats * src/codepage/cphu852.c + src/codepage/cphu852c.c - src/codepage/cphu852s.c * src/codepage/Makefile * include/hbextcdp.ch * Changed HU852 CP to be the same as HUISO and HUWIN. I kept the extra non-Hungarian char, which makes this CP fully compatible with sixhu852.obj. + Added HU852C which is fully C5.2e compatible, this file was generated by cpinfo using C5.2e Intl + ntxhu852.obj. This may fix some C5.2e incompatibilities that existed in former HU852 CP. - Deleted HU852S, it's now called HU852. ; NOTE: Since there is no 'default' HU852 CP in Harbour I find it ok to provide C5.2e compatible CP by the name 'HU852C'. If this seems bothering to Hungarian users in general, we may think out something. 2009-11-10 07:15 UTC+0100 Viktor Szakats * src/codepage/Makefile * include/hbextcdp.ch ! Deleted references to deleted CPs. 2009-11-10 04:02 UTC+0100 Viktor Szakats * doc/xhb-diff.txt ! Typos. 2009-11-10 03:37 UTC+0100 Viktor Szakats - src/codepage/cphuisos.c - src/codepage/cphuwins.c - Deleted these variants which are no longer needed. * src/codepage/cphuiso.c * src/codepage/cphuwin.c * Updated comments. ; FIXME: Remove or not remove ASCII 196/228 char pair? It's not a Hungarian accented char, it was present in sixhu852, but since we don't have any obligations to keep compatibility as the CP is different anyway, maybe the best would be to clean it. What is the general opinion in this regard in Harbour? [NO ACTION NEEDED] 2009-11-10 02:35 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/cdpapi.c * harbour/include/hbapicdp.h + added new C functions: hb_cdpU16AsStrLen(), hb_cdpU16ToStr(), hb_cdpStrAsU16Len(), hb_cdpStrToU16() * harbour/contrib/gtwvg/wvgutils.c ! fixed NULL used by mistake instead of 0 2009-11-09 23:35 UTC+0100 Viktor Szakats * contrib/rddads/adsfunc.c * Minor cleanup. * doc/dirstruc.txt * utils/hbmk2/examples/contribf.hbc * contrib/Makefile - contrib/rddado + examples/rddado + examples/rddado/rddado.hbp - examples/rddado/Makefile * Moved rddado from contrib to examples area. It's an almost working example. 2009-11-09 21:18 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/ChangeLog * marked last FIXME note as [DONE] - thanks to Mindaugas * harbour/src/rtl/cdpapi.c * use 1st upper<->lower conversion pair instead of last one if more then one conversion pair exist - it's more natural form in most of cases % skip translation code when two different CDP modules use the same Unicode table * harbour/tests/cpinfo.prg + detect CPs which have corresponding upper or lower characters for non alpha characters and inform about it. Such situations is in NTXSPA.OBJ so such CP can be fully replicated in Harbour using alternative CP definition only which uses static tables. * harbour/src/codepage/cpes850c.c * harbour/src/codepage/cpesisoc.c * harbour/src/codepage/cpeswinc.c ! removed the hack with changed order for characters which do not have corresponding upper latter. Now there is only one difference between ES850C and Clipper NTXSPA.OBJ In NTXSPA 'UPPER( Chr( 163 ) )' gives "U" though Chr( 163 ) is not marked as letter and not sorted with other letters. For me it looks like a bug anyhow if you want to fully replicate NTXSPA.OBJ in Harbour then current cpes850c.c code should be replaced by code generated using tests/cpinfo.prg compiler by clipper and linked with ntxspa.obj. Such code should be generated using: cpinfo.exe es850c "Spanish CP-850 (ntxspa.obj compatible)" 850 Now translations can be done between CPs using different number of letters or even defined for different languages so I have question to Spanish users: Do you need ESISOC and ESWINC for anything? If not then I would like to remove them. Similar situation is with HUISOS and HUWINS. * harbour/include/hbapicdp.h * harbour/src/rtl/cdpapi.c * harbour/src/codepage/ucmacce.c * harbour/src/codepage/uckoi8.c * harbour/src/codepage/uc885910.c * harbour/src/codepage/ucmacice.c * harbour/src/codepage/uc885914.c * harbour/src/codepage/uc874.c * harbour/src/codepage/uc857.c * harbour/src/codepage/uc1250.c * harbour/src/codepage/uc1254.c * harbour/src/codepage/uc1258.c * harbour/src/codepage/uckoi8u.c * harbour/src/codepage/uckam.c * harbour/src/codepage/uc424.c * harbour/src/codepage/ucmacrom.c * harbour/src/codepage/uc862.c * harbour/src/codepage/cpesisoc.c * harbour/src/codepage/uc866.c * harbour/src/codepage/uc8859_3.c * harbour/src/codepage/cpes850c.c * harbour/src/codepage/uc8859_7.c * harbour/src/codepage/ucmacgrk.c * harbour/src/codepage/uc037.c * harbour/src/codepage/uc850.c * harbour/src/codepage/uc885911.c * harbour/src/codepage/uc885915.c * harbour/src/codepage/uc875.c * harbour/src/codepage/uc1251.c * harbour/src/codepage/uc1255.c * harbour/src/codepage/uc863.c * harbour/src/codepage/ucmaz.c * harbour/src/codepage/uc1026.c * harbour/src/codepage/uc8859_4.c * harbour/src/codepage/uc8859_8.c * harbour/src/codepage/uc855.c * harbour/src/codepage/cpeswinc.c * harbour/src/codepage/uc885916.c * harbour/src/codepage/ucascii.c * harbour/src/codepage/uc1252.c * harbour/src/codepage/uc1256.c * harbour/src/codepage/ucatari.c * harbour/src/codepage/uc860.c * harbour/src/codepage/ucmaccyr.c * harbour/src/codepage/ucmik.c * harbour/src/codepage/uc864.c * harbour/src/codepage/uc1006.c * harbour/src/codepage/uc1125.c * harbour/src/codepage/uc8859_1.c * harbour/src/codepage/uc88591b.c * harbour/src/codepage/uc8859_5.c * harbour/src/codepage/uc8859_9.c * harbour/src/codepage/uc852.c * harbour/src/codepage/ucnext.c * harbour/src/codepage/uc737.c * harbour/src/codepage/uc885913.c * harbour/src/codepage/ucmactrk.c * harbour/src/codepage/uc856.c * harbour/src/codepage/uc775.c * harbour/src/codepage/uc1253.c * harbour/src/codepage/uc1257.c * harbour/src/codepage/uc500.c * harbour/src/codepage/uc861.c * harbour/src/codepage/uc865.c * harbour/src/codepage/uc869.c * harbour/src/codepage/uc8859_2.c * harbour/src/codepage/uc8859_6.c % declare Unicode tables with 'const' qualifier 2009-11-09 18:45 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/contrib/rddads/adsx.c * harbour/contrib/rddsql/hbrddsql.h * harbour/contrib/rddsql/sqlmix.c * updated to use hb_cdpcmp() 2009-11-09 17:33 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/hb-func.sh ! added links with full version number to harbour shared library It fixes problem with Harbour tools linked with libharbour-*.so in system wide installation (i.e. in RPM or DEB packages) 2009-11-09 16:26 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/config/win/bcc.mk * increased library page size for 64 to 96 * harbour/src/vm/thread.c * harbour/include/hbthread.h % removed 'BOOL fSync' parameter from hb_threadMutexCreate(). This parameter was added in the past to emulate xbase++ behavior when oSignal:wait() is called from SYNC method but real life tests shows that such feature works in xbase++ in different way then it was initially described and Harbour code was updated to use different solution making above parameter unusable. * harbour/src/vm/hvm.c * harbour/src/vm/thread.c * harbour/src/vm/classes.c * harbour/src/rtl/hbgtcore.c * harbour/contrib/hbnetio/netiocli.c * harbour/contrib/hbqt/hbqt_slots.cpp * updated to use hb_threadMutexCreate() without parameters 2009-11-09 13:23 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/cdpapi.c ! fixed very bad typo in new CDP API code - hb_cdpnDup2() was not updating original string size. This bug was critical for RDDs. 2009-11-08 12:45 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/gtwvg/wvgtoolb.prg * contrib/gtwvg/wvgutils.c * contrib/gtwvg/wvgwnd.prg ! Few tweaks. Not so important. 2009-11-08 16:50 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbdefs.h ! fixed PHB_FUNC declaration. 'extern "C"' can be removed only for BORLAND and other buggy compilers which may not accept it but not for. In some platforms it's very important to keep correct declarations because without this flag final binaries will not work. 2009-11-08 09:42 UTC-0600 Teo Fonrouge (teo/at/windtelsoft/dot/com) * ChangeLog ! Fixed wrong placing of my previous entry on ChangeLog 2009-11-08 09:28 UTC-0600 Teo Fonrouge (teo/at/windtelsoft/dot/com) * include/hbdefs.h ! Fixed compiling of .cpp sources in BCC55 by removing prefix declaration HB_EXTERN_C_ from "typedef HARBOUR" and "typedef PHB_FUNC" declarations 2009-11-08 15:28 UTC+0500 April White (bright.tigra gmail.com) * harbour/doc/dirstruc.txt * repositioned hbdoc and hbextern, from util to examples + added hbdoc2 * renamed hbmk to hbmk2 * harbour/doc/en-en/menu.txt * cosmetic/grammatical change 2009-11-08 12:00 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapigt.h * harbour/src/rtl/hbgtcore.c * harbour/src/vm/estack.c * harbour/src/vm/garbage.c ! fixed marking GC items stored in thread local GT windows 2009-11-08 02:43 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/vm/set.c ! fixed small typos in returned values (FALSE instead of NULL and 0) * harbour/src/vm/estack.c * make calling hb_stackTotalItems() safe in MT mode when stack is not initialized - now this function can be used to check if HVM stack exists and is initialized in ST and MT mode * harbour/src/rtl/errintlo.c ! fixed at least 4 GPF traps exploited when hb_errInternal() was called and HVM stack was not initialized * harbour/include/Makefile + harbour/include/hbcdpreg.h * harbour/include/hbapicdp.h * harbour/src/rtl/cdpapi.c + added new CDP API which fixes many errors and limitations in old implementation. Warning !!! some very serious bugs in national sorting have been fixed. It may cause that old indexes using some national sorting will not be compatible. Please rebuild existing indexes. * harbour/src/vm/itemapi.c * harbour/src/rdd/hsx/hsx.c * harbour/src/rdd/dbfntx/dbfntx1.c * harbour/src/rdd/dbfnsx/dbfnsx1.c * harbour/src/rdd/dbfcdx/dbfcdx1.c * harbour/contrib/hbbmcdx/bmdbfcdx.c * harbour/contrib/rddads/adsx.c * harbour/contrib/rddsql/sqlmix.c * updated to work with new CDP API FIXME: update adsx.c and sqlmix.c to use hb_cdpcmp() which resepcts sorting with accented and mulitybyts characters. Mindaugas, can you update above code? [DONE] * harbour/src/codepage/cpbg866.c * harbour/src/codepage/cpbgiso.c * harbour/src/codepage/cpbgmik.c * harbour/src/codepage/cpbgwin.c * harbour/src/codepage/cpcs852.c * harbour/src/codepage/cpcsiso.c * harbour/src/codepage/cpcskam.c * harbour/src/codepage/cpcswin.c * harbour/src/codepage/cpde850.c * harbour/src/codepage/cpdeiso.c * harbour/src/codepage/cpdewin.c * harbour/src/codepage/cpel737.c * harbour/src/codepage/cpeliso.c * harbour/src/codepage/cpelwin.c * harbour/src/codepage/cpes850.c * harbour/src/codepage/cpes850c.c * harbour/src/codepage/cpesiso.c * harbour/src/codepage/cpesisoc.c * harbour/src/codepage/cpeswin.c * harbour/src/codepage/cpeswinc.c * harbour/src/codepage/cpeswinm.c * harbour/src/codepage/cpfr850.c * harbour/src/codepage/cpfriso.c * harbour/src/codepage/cpfrwin.c * harbour/src/codepage/cphr437.c * harbour/src/codepage/cphr852.c * harbour/src/codepage/cphrwin.c * harbour/src/codepage/cphu852.c * harbour/src/codepage/cphu852s.c * harbour/src/codepage/cphuiso.c * harbour/src/codepage/cphuisos.c * harbour/src/codepage/cphuwin.c * harbour/src/codepage/cphuwins.c * harbour/src/codepage/cpit437.c * harbour/src/codepage/cpit850.c * harbour/src/codepage/cpitisb.c * harbour/src/codepage/cpitiso.c * harbour/src/codepage/cpitwin.c * harbour/src/codepage/cpltwin.c * harbour/src/codepage/cppl852.c * harbour/src/codepage/cppliso.c * harbour/src/codepage/cpplmaz.c * harbour/src/codepage/cpplwin.c * harbour/src/codepage/cppt850.c * harbour/src/codepage/cpptiso.c * harbour/src/codepage/cpro852.c * harbour/src/codepage/cproiso.c * harbour/src/codepage/cprowin.c * harbour/src/codepage/cpru866.c * harbour/src/codepage/cpruiso.c * harbour/src/codepage/cprukoi.c * harbour/src/codepage/cpruwin.c * harbour/src/codepage/cpsk852.c * harbour/src/codepage/cpskiso.c * harbour/src/codepage/cpskkam.c * harbour/src/codepage/cpskwin.c * harbour/src/codepage/cpsl437.c * harbour/src/codepage/cpsl852.c * harbour/src/codepage/cpsliso.c * harbour/src/codepage/cpslwin.c * harbour/src/codepage/cpsrwin.c * harbour/src/codepage/cpsv850.c * harbour/src/codepage/cpsvclip.c * harbour/src/codepage/cpsviso.c * harbour/src/codepage/cpsvwin.c * harbour/src/codepage/cptr857.c * harbour/src/codepage/cptriso.c * harbour/src/codepage/cptrwin.c * harbour/src/codepage/cpua1125.c * harbour/src/codepage/cpua866.c * harbour/src/codepage/cpuakoi.c * harbour/src/codepage/cpuawin.c * harbour/src/codepage/uc037.c * harbour/src/codepage/uc1006.c * harbour/src/codepage/uc1026.c * harbour/src/codepage/uc1125.c * harbour/src/codepage/uc1250.c * harbour/src/codepage/uc1251.c * harbour/src/codepage/uc1252.c * harbour/src/codepage/uc1253.c * harbour/src/codepage/uc1254.c * harbour/src/codepage/uc1255.c * harbour/src/codepage/uc1256.c * harbour/src/codepage/uc1257.c * harbour/src/codepage/uc1258.c * harbour/src/codepage/uc424.c * harbour/src/codepage/uc500.c * harbour/src/codepage/uc737.c * harbour/src/codepage/uc775.c * harbour/src/codepage/uc850.c * harbour/src/codepage/uc852.c * harbour/src/codepage/uc855.c * harbour/src/codepage/uc856.c * harbour/src/codepage/uc857.c * harbour/src/codepage/uc860.c * harbour/src/codepage/uc861.c * harbour/src/codepage/uc862.c * harbour/src/codepage/uc863.c * harbour/src/codepage/uc864.c * harbour/src/codepage/uc865.c * harbour/src/codepage/uc866.c * harbour/src/codepage/uc869.c * harbour/src/codepage/uc874.c * harbour/src/codepage/uc875.c * harbour/src/codepage/uc885910.c * harbour/src/codepage/uc885911.c * harbour/src/codepage/uc885913.c * harbour/src/codepage/uc885914.c * harbour/src/codepage/uc885915.c * harbour/src/codepage/uc885916.c * harbour/src/codepage/uc88591b.c * harbour/src/codepage/uc8859_1.c * harbour/src/codepage/uc8859_2.c * harbour/src/codepage/uc8859_3.c * harbour/src/codepage/uc8859_4.c * harbour/src/codepage/uc8859_5.c * harbour/src/codepage/uc8859_6.c * harbour/src/codepage/uc8859_7.c * harbour/src/codepage/uc8859_8.c * harbour/src/codepage/uc8859_9.c * harbour/src/codepage/ucascii.c * harbour/src/codepage/ucatari.c * harbour/src/codepage/uckam.c * harbour/src/codepage/uckoi8.c * harbour/src/codepage/uckoi8u.c * harbour/src/codepage/ucmacce.c * harbour/src/codepage/ucmaccyr.c * harbour/src/codepage/ucmacgrk.c * harbour/src/codepage/ucmacice.c * harbour/src/codepage/ucmacrom.c * harbour/src/codepage/ucmactrk.c * harbour/src/codepage/ucmaz.c * harbour/src/codepage/ucmik.c * harbour/src/codepage/ucnext.c * updated for new CP API Warning: please test all national CPs. I'm not able to test unknown for me national character conditions so it's possible that I made something wrong. Additionally current CP API does not have some limitations which existed in the old one so now some hacks or workarounds can be cleaned. I.e. now all translations are done using Unicode tables so it's not necessary to use the same number of characters to make them working. Updating CP files I've found the following potential problems in definitions which I haven't fixed or fixed only partially: cpes850c.c - update for new format removing hacks for old CP implementation cpesisoc.c > remove, it's not longer necessary cpeswinc.c / cpeswinm.c - it is the same as cpesiso.c so it should be removed cphu852.c \ cphu852s.c \ cphuiso.c > update for new format removing hacks for old CP cphuwin.c / implementation cphuisos.c > remove, it's not longer necessary cphuwins.c / cphr437.c > does it really use CP-437? and ^]\[@~}|{` instead of cpsl437.c / nationalletters or it uses different then 437 CP for 7-bit Croatian characters encoding. It's important because without valid unicode table translations will not work. cpit437.c - update for new version if necessary (upper characters) cpsv850.c \ cpsviso.c > they had ACCENTED_INTERLEAVED but without ACCENTED_EQUAL cpsvwin.c / so this setting was ignored. Now it's not ignored. cpsvclip.c - update for new format to be fully not only "almost compatible with Clipper's NTXSWE.OBJ" For sure these are not all problems inherited from old CP implementation so please verify all existing CPs. * harbour/src/codepage/cp_tpl.c + added new example for CP definition. Working on new CPs please read this description: If accented characters need special sorting ( HB_CDP_ACSORT_EQUAL or HB_CDP_ACSORT_INTERLEAVE ) then you need to mark the accented characters with the symbol '~' before each of them, for example: a~_ If there is two-character sequence, which is considered as one, it should be marked with '.' before and after it, for example: ... h.ch.i ... if such multibyte character has its own Unicode representation then this Unicode value can be set using '=' symbol, for example: ....h.ch=2A7C.i and it will be used in translations. The Upper case string and the Lower case string should use the same letters. If some characters does not have corresponding upper or lower letter then space ' ' can be used as dummy character, for example in German CPs there is no upper case 'scharfes S' letter so space is used as dummy character. HB_CP_LATIN should be 1 if the national alphabet is based on Latin otherwise 0 Please note that now you can use two versions of CP definition. The 1st one which uses human readable form similar to the old CP definition and 2nd which uses directly final CP tables so it allows to replicate any conditions which existed in Clipper or any other compatible language which uses static tables. tests/cpinfo.prg can generate automatically .c files with new CP definition in the 2nd version. Now if user wants to create new Harbour CP which is fully Clipper compatible he only has to compile and link cpinfo.prg with given national sorting module and then execute it with new Harbour CP name as 1st parameter. cp<cpname>.c file is generated which can be added to Harbour repository. Optional 2nd parameter is CP description and 3rd is Harbour Unicode table ID (if not given 437 is used and should be updated by user in .c file). This method should definitely resolve any problems with creating Clipper compatible CP definition. It also allows to easy verify if CP definitions are compatible. It's enough to compare generated .c files. * harbour/src/codepage/uckam.c ! fixed Kamenicky Unicode table definition - it was Mazovia CP :) * harbour/src/codepage/cpde850.c * harbour/src/codepage/cpdeiso.c * harbour/src/codepage/cpdewin.c ! fixed CP wrongly encoded CP due to limitations in old CP definition. Now it's possible to define different number of upper an lower characters (space " " can be used as dummy character) and I used it to eliminate hack for 'scharfes S' which does not exists as upper case. Please clean other CPs which contain similar hacks. * harbour/src/codepage/cphu852.c * harbour/src/codepage/cphuiso.c * harbour/src/codepage/cphuwin.c * harbour/src/codepage/cpua866.c * removed dummy letters introduced for old translation code * harbour/src/rtl/natmsg.c * harbour/src/rtl/cdpapi.c * harbour/include/hbextern.ch + added HB_CDPINFO() function * redirected _NATSORTVER() function to HB_CDPINFO() To All, Please check your national sorting in current version and make any updates if necessary or inform me about found problems. I've checked that Polish CPs are working fine and all existing CPs passes my test program which verified some technical aspects of CP implementation. But I cannot verify if this definitions satisfy users in different countries. 2009-11-07 04:22 UTC+0600 April White (bright.tigra gmail.com) * harbour/doc/inet.txt * intentionally removed DOC header/footer so that hbdoc/hbdoc2 ignore this file * please see en-EN/hbinet.txt which now replaces this file * harbour/examples/hbdoc2/hbdoc2.prg * removed 'merge' lines mistakenly left in 2009-11-07 03:14 UTC+0600 April White (bright.tigra gmail.com) + harbour/doc/en-EN/hbinet.txt + initial version, based on harbour/inet.txt and source files 2009-11-07 03:11 UTC+0600 April White (bright.tigra gmail.com) * harbour/examples/hbdoc2/genhtml.prg * harbour/examples/hbdoc2/gentpl.prg * harbour/examples/hbdoc2/gentxt.prg * harbour/examples/hbdoc2/genxml.prg * harbour/examples/hbdoc2/hbdoc2.ch * harbour/examples/hbdoc2/hbdoc2.prg * harbour/examples/hbdoc2/tmplates.prg * internal refactoring * harbour/doc/en-EN/cmdline.txt * harbour/doc/en-EN/compiler.txt * harbour/doc/en-EN/gnulice.txt * harbour/doc/en-EN/license.txt * harbour/doc/en-EN/macro.txt * harbour/doc/en-EN/rdddb.txt * harbour/doc/en-EN/strtotype.txt * minor formatting 2009-11-06 16:15 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/contrib/rddads/adsfunc.c * AdsIsConnectionAlive() guarded using #if ADS_LIB_VERSION >= 800 2009-11-06 00:15 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/strcase.c * harbour/src/rtl/cdpapi.c * moved some CP dependent functions from strcase.c to cdpapi.c They will be reimplemented in new CDP code. * harbour/src/rtl/cdpapi.c * harbour/include/hbapicdp.h + added new C functions to eliminate direct access to HB_CODEPAGE structure by non core code * harbour/src/rtl/gtcgi/gtcgi.c * harbour/src/rtl/gtpca/gtpca.c * harbour/src/rtl/gtstd/gtstd.c * harbour/src/rtl/gtcrs/gtcrs.c * harbour/src/rtl/gtsln/gtsln.c * harbour/src/rtl/gttrm/gttrm.c * harbour/src/rtl/gtxwc/gtxwc.c * harbour/src/rtl/gtdos/gtdos.c * harbour/src/rtl/gtwin/gtwin.c * harbour/src/rtl/gtwvt/gtwvt.c * harbour/contrib/gtwvg/gtwvg.c * harbour/contrib/gtqtc/gtqtc.cpp * updated to eliminate direct access to HB_CODEPAGE structure 2009-11-05 19:25 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Deleted 'lib' prefix for os2/gcc targets to sync it with Harbour GNU make build setup. See my mail on dev list for other options. 2009-11-05 15:10 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg * config/os2/gcc.mk ! Fixed to use .lib extension in gccomf mode. As far I could debunk it from lenghty email, this is the default extension for libs, used by OS/2 GCC in OMF mode. If not, don't blame me. ! Fixed to not use lib prefix in gccomf mode. It does seem alright but due to no testing again give me *very short correction information*, if this turns out to be false. * contrib/hbct/disk.c ! Typo in comment. 2009-11-04 20:04 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/utils/hbmk2/hbmk2.prg ! do not overwrite file extensions set in .clp file when checking dependencies in incremental mode 2009-11-04 19:51 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/utils/hbmk2/hbmk2.prg ! fixed incremental mode for @.clp files. I tried to make all modifications locally to not break some other code which may need "@" in file names because I do not know hbmk2 code. 2009-11-04 17:06 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg * config/os2/gcc.mk * Changed to use GCC default extensions for objects and libs even in OMF mode. ! This fixed hbmk2 problems reported by David Arturo Macias Corona. ; Please verify if now also changed lib extension didn't create any new problem in hbmk2, e.g. when using -strip option. 2009-11-04 09:14 UTC+0100 Viktor Szakats * INSTALL + Added EXAMPLEs for Windows SDK 7. There is included compiler there for almost all combinations, only Itanium didn't work for me out of the box. This is the simplest and most slim way to use MSVC compiler, and also free. 2009-11-03 13:36 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/common/hbstr.c ! fixed typo in HB_TRACE message - problem reported by Alex * harbour/src/rtl/cdpapi.c ! fixed casting for C++ builds - problem reported by Marcos 2009-11-02 12:29 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/cdpapi.c * harbour/include/hbapicdp.h + added two new functions hb_cdpU16ToStr() and hb_cdpU16LEToStr() * harbour/doc/xhb-diff.txt ! fixed typo in code example reported by Guy Roussin ! fixed some other typos - i.e. in detached local description 2009-11-02 12:06 UTC+0100 Viktor Szakats * config/win/bcc.mk ! Fixed -I order after recent change to not interfere with embedded pcre headers. 2009-11-02 10:26 UTC+0100 Viktor Szakats * config/global.mk * config/win/bcc.mk - Deleted HB_DFLAGS var which was not needed at the end. 2009-11-02 10:21 UTC+0100 Viktor Szakats * config/win/bcc.mk + Added hack to automatically configure bcc compilers which makes proper setup of bcc32.cfg and ilink32.cfg unnecessary. NOTE: This only works if you use compiler autodetection, which means DON'T set HB_COMPILER to bcc manually. ; Please make tests, e.g. I didn't test .dll creation. * config/global.mk + Exporting autodetected compiler PATH. * config/rules.mk * Moved linker flags before output name option to make some tools happy (bcc in this case). * INSTALL - Deleted just added extra NOTE for bcc users. Now it should be configured automatically. 2009-11-01 20:11 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/generator/hbqtgen.prg * contrib/hbqt/hbqt_destruct.cpp * contrib/hbqt/hbqt_slots.cpp * contrib/hbqt/hbqt_slots.h * contrib/hbqt/moc_slots.cpp * contrib/hbqt/qtcore/QAbstractItemModel.cpp * contrib/hbqt/qtcore/QAbstractListModel.cpp * contrib/hbqt/qtcore/QAbstractTableModel.cpp * contrib/hbqt/qtcore/QBitArray.cpp * contrib/hbqt/qtcore/QByteArray.cpp * contrib/hbqt/qtcore/QCoreApplication.cpp * contrib/hbqt/qtcore/QDataStream.cpp * contrib/hbqt/qtcore/QDate.cpp * contrib/hbqt/qtcore/QDateTime.cpp * contrib/hbqt/qtcore/QDir.cpp * contrib/hbqt/qtcore/QEvent.cpp * contrib/hbqt/qtcore/QEventLoop.cpp * contrib/hbqt/qtcore/QFile.cpp * contrib/hbqt/qtcore/QFileInfo.cpp * contrib/hbqt/qtcore/QIODevice.cpp * contrib/hbqt/qtcore/QLatin1Char.cpp * contrib/hbqt/qtcore/QLatin1String.cpp * contrib/hbqt/qtcore/QLine.cpp * contrib/hbqt/qtcore/QLineF.cpp * contrib/hbqt/qtcore/QList.cpp * contrib/hbqt/qtcore/QLocale.cpp * contrib/hbqt/qtcore/QMimeData.cpp * contrib/hbqt/qtcore/QModelIndex.cpp * contrib/hbqt/qtcore/QObject.cpp * contrib/hbqt/qtcore/QPoint.cpp * contrib/hbqt/qtcore/QPointF.cpp * contrib/hbqt/qtcore/QProcess.cpp * contrib/hbqt/qtcore/QRect.cpp * contrib/hbqt/qtcore/QRectF.cpp * contrib/hbqt/qtcore/QRegExp.cpp * contrib/hbqt/qtcore/QResource.cpp * contrib/hbqt/qtcore/QSignalMapper.cpp * contrib/hbqt/qtcore/QSize.cpp * contrib/hbqt/qtcore/QSizeF.cpp * contrib/hbqt/qtcore/QStringList.cpp * contrib/hbqt/qtcore/QTextBoundaryFinder.cpp * contrib/hbqt/qtcore/QTextDecoder.cpp * contrib/hbqt/qtcore/QTextEncoder.cpp * contrib/hbqt/qtcore/QTextStream.cpp * contrib/hbqt/qtcore/QThread.cpp * contrib/hbqt/qtcore/QTime.cpp * contrib/hbqt/qtcore/QTimer.cpp * contrib/hbqt/qtcore/QTranslator.cpp * contrib/hbqt/qtcore/QUrl.cpp * contrib/hbqt/qtcore/QVariant.cpp * contrib/hbqt/qtgui/QAbstractButton.cpp * contrib/hbqt/qtgui/QAbstractItemView.cpp * contrib/hbqt/qtgui/QAbstractPrintDialog.cpp * contrib/hbqt/qtgui/QAbstractProxyModel.cpp * contrib/hbqt/qtgui/QAbstractScrollArea.cpp * contrib/hbqt/qtgui/QAbstractSlider.cpp * contrib/hbqt/qtgui/QAbstractSpinBox.cpp * contrib/hbqt/qtgui/QAbstractTextDocumentLayout.cpp * contrib/hbqt/qtgui/QAction.cpp * contrib/hbqt/qtgui/QActionGroup.cpp * contrib/hbqt/qtgui/QApplication.cpp * contrib/hbqt/qtgui/QBitmap.cpp * contrib/hbqt/qtgui/QBoxLayout.cpp * contrib/hbqt/qtgui/QBrush.cpp * contrib/hbqt/qtgui/QButtonGroup.cpp * contrib/hbqt/qtgui/QCalendarWidget.cpp * contrib/hbqt/qtgui/QCheckBox.cpp * contrib/hbqt/qtgui/QClipboard.cpp * contrib/hbqt/qtgui/QColor.cpp * contrib/hbqt/qtgui/QColorDialog.cpp * contrib/hbqt/qtgui/QComboBox.cpp * contrib/hbqt/qtgui/QCommandLinkButton.cpp * contrib/hbqt/qtgui/QCommonStyle.cpp * contrib/hbqt/qtgui/QCompleter.cpp * contrib/hbqt/qtgui/QConicalGradient.cpp * contrib/hbqt/qtgui/QContextMenuEvent.cpp * contrib/hbqt/qtgui/QCursor.cpp * contrib/hbqt/qtgui/QDateEdit.cpp * contrib/hbqt/qtgui/QDateTimeEdit.cpp * contrib/hbqt/qtgui/QDesktopWidget.cpp * contrib/hbqt/qtgui/QDial.cpp * contrib/hbqt/qtgui/QDialog.cpp * contrib/hbqt/qtgui/QDirModel.cpp * contrib/hbqt/qtgui/QDockWidget.cpp * contrib/hbqt/qtgui/QDoubleSpinBox.cpp * contrib/hbqt/qtgui/QDragEnterEvent.cpp * contrib/hbqt/qtgui/QDragLeaveEvent.cpp * contrib/hbqt/qtgui/QDragMoveEvent.cpp * contrib/hbqt/qtgui/QDropEvent.cpp * contrib/hbqt/qtgui/QErrorMessage.cpp * contrib/hbqt/qtgui/QFileDialog.cpp * contrib/hbqt/qtgui/QFileIconProvider.cpp * contrib/hbqt/qtgui/QFileSystemModel.cpp * contrib/hbqt/qtgui/QFocusEvent.cpp * contrib/hbqt/qtgui/QFocusFrame.cpp * contrib/hbqt/qtgui/QFont.cpp * contrib/hbqt/qtgui/QFontComboBox.cpp * contrib/hbqt/qtgui/QFontDatabase.cpp * contrib/hbqt/qtgui/QFontDialog.cpp * contrib/hbqt/qtgui/QFontInfo.cpp * contrib/hbqt/qtgui/QFontMetrics.cpp * contrib/hbqt/qtgui/QFontMetricsF.cpp * contrib/hbqt/qtgui/QFormLayout.cpp * contrib/hbqt/qtgui/QFrame.cpp * contrib/hbqt/qtgui/QGradient.cpp * contrib/hbqt/qtgui/QGridLayout.cpp * contrib/hbqt/qtgui/QGroupBox.cpp * contrib/hbqt/qtgui/QHBoxLayout.cpp * contrib/hbqt/qtgui/QHeaderView.cpp * contrib/hbqt/qtgui/QHelpEvent.cpp * contrib/hbqt/qtgui/QIcon.cpp * contrib/hbqt/qtgui/QImage.cpp * contrib/hbqt/qtgui/QImageReader.cpp * contrib/hbqt/qtgui/QImageWriter.cpp * contrib/hbqt/qtgui/QInputContext.cpp * contrib/hbqt/qtgui/QInputDialog.cpp * contrib/hbqt/qtgui/QInputEvent.cpp * contrib/hbqt/qtgui/QInputMethodEvent.cpp * contrib/hbqt/qtgui/QItemSelection.cpp * contrib/hbqt/qtgui/QItemSelectionModel.cpp * contrib/hbqt/qtgui/QKeyEvent.cpp * contrib/hbqt/qtgui/QKeySequence.cpp * contrib/hbqt/qtgui/QLabel.cpp * contrib/hbqt/qtgui/QLayout.cpp * contrib/hbqt/qtgui/QLayoutItem.cpp * contrib/hbqt/qtgui/QLCDNumber.cpp * contrib/hbqt/qtgui/QLinearGradient.cpp * contrib/hbqt/qtgui/QLineEdit.cpp * contrib/hbqt/qtgui/QListView.cpp * contrib/hbqt/qtgui/QListWidget.cpp * contrib/hbqt/qtgui/QListWidgetItem.cpp * contrib/hbqt/qtgui/QMainWindow.cpp * contrib/hbqt/qtgui/QMatrix.cpp * contrib/hbqt/qtgui/QMenu.cpp * contrib/hbqt/qtgui/QMenuBar.cpp * contrib/hbqt/qtgui/QMessageBox.cpp * contrib/hbqt/qtgui/QMouseEvent.cpp * contrib/hbqt/qtgui/QMoveEvent.cpp * contrib/hbqt/qtgui/QMovie.cpp * contrib/hbqt/qtgui/QPageSetupDialog.cpp * contrib/hbqt/qtgui/QPaintDevice.cpp * contrib/hbqt/qtgui/QPainter.cpp * contrib/hbqt/qtgui/QPainterPath.cpp * contrib/hbqt/qtgui/QPaintEvent.cpp * contrib/hbqt/qtgui/QPalette.cpp * contrib/hbqt/qtgui/QPen.cpp * contrib/hbqt/qtgui/QPicture.cpp * contrib/hbqt/qtgui/QPixmap.cpp * contrib/hbqt/qtgui/QPolygon.cpp * contrib/hbqt/qtgui/QPolygonF.cpp * contrib/hbqt/qtgui/QPrintDialog.cpp * contrib/hbqt/qtgui/QPrintEngine.cpp * contrib/hbqt/qtgui/QPrinter.cpp * contrib/hbqt/qtgui/QPrintPreviewDialog.cpp * contrib/hbqt/qtgui/QProgressBar.cpp * contrib/hbqt/qtgui/QProgressDialog.cpp * contrib/hbqt/qtgui/QPushButton.cpp * contrib/hbqt/qtgui/QRadialGradient.cpp * contrib/hbqt/qtgui/QRadioButton.cpp * contrib/hbqt/qtgui/QRegion.cpp * contrib/hbqt/qtgui/QResizeEvent.cpp * contrib/hbqt/qtgui/QScrollArea.cpp * contrib/hbqt/qtgui/QScrollBar.cpp * contrib/hbqt/qtgui/QSizeGrip.cpp * contrib/hbqt/qtgui/QSizePolicy.cpp * contrib/hbqt/qtgui/QSlider.cpp * contrib/hbqt/qtgui/QSound.cpp * contrib/hbqt/qtgui/QSpacerItem.cpp * contrib/hbqt/qtgui/QSpinBox.cpp * contrib/hbqt/qtgui/QSplashScreen.cpp * contrib/hbqt/qtgui/QSplitter.cpp * contrib/hbqt/qtgui/QStandardItem.cpp * contrib/hbqt/qtgui/QStandardItemModel.cpp * contrib/hbqt/qtgui/QStatusBar.cpp * contrib/hbqt/qtgui/QStringListModel.cpp * contrib/hbqt/qtgui/QStyle.cpp * contrib/hbqt/qtgui/QStyledItemDelegate.cpp * contrib/hbqt/qtgui/QStyleFactory.cpp * contrib/hbqt/qtgui/QStyleHintReturn.cpp * contrib/hbqt/qtgui/QStyleHintReturnMask.cpp * contrib/hbqt/qtgui/QStyleHintReturnVariant.cpp * contrib/hbqt/qtgui/QStyleOption.cpp * contrib/hbqt/qtgui/QStyleOptionButton.cpp * contrib/hbqt/qtgui/QStyleOptionComboBox.cpp * contrib/hbqt/qtgui/QStyleOptionComplex.cpp * contrib/hbqt/qtgui/QStyleOptionDockWidget.cpp * contrib/hbqt/qtgui/QStyleOptionFocusRect.cpp * contrib/hbqt/qtgui/QStyleOptionFrame.cpp * contrib/hbqt/qtgui/QStyleOptionGroupBox.cpp * contrib/hbqt/qtgui/QStyleOptionHeader.cpp * contrib/hbqt/qtgui/QStyleOptionMenuItem.cpp * contrib/hbqt/qtgui/QStyleOptionProgressBar.cpp * contrib/hbqt/qtgui/QStyleOptionSizeGrip.cpp * contrib/hbqt/qtgui/QStyleOptionSlider.cpp * contrib/hbqt/qtgui/QStyleOptionSpinBox.cpp * contrib/hbqt/qtgui/QStyleOptionTab.cpp * contrib/hbqt/qtgui/QStyleOptionTabBarBase.cpp * contrib/hbqt/qtgui/QStyleOptionTabWidgetFrame.cpp * contrib/hbqt/qtgui/QStyleOptionTitleBar.cpp * contrib/hbqt/qtgui/QStyleOptionToolBar.cpp * contrib/hbqt/qtgui/QStyleOptionToolBox.cpp * contrib/hbqt/qtgui/QStyleOptionToolButton.cpp * contrib/hbqt/qtgui/QStyleOptionViewItem.cpp * contrib/hbqt/qtgui/QStylePainter.cpp * contrib/hbqt/qtgui/QSystemTrayIcon.cpp * contrib/hbqt/qtgui/QTabBar.cpp * contrib/hbqt/qtgui/QTableView.cpp * contrib/hbqt/qtgui/QTableWidget.cpp * contrib/hbqt/qtgui/QTableWidgetItem.cpp * contrib/hbqt/qtgui/QTableWidgetSelectionRange.cpp * contrib/hbqt/qtgui/QTabWidget.cpp * contrib/hbqt/qtgui/QTextBlock.cpp * contrib/hbqt/qtgui/QTextBlockFormat.cpp * contrib/hbqt/qtgui/QTextBrowser.cpp * contrib/hbqt/qtgui/QTextCharFormat.cpp * contrib/hbqt/qtgui/QTextCursor.cpp * contrib/hbqt/qtgui/QTextDocument.cpp * contrib/hbqt/qtgui/QTextDocumentFragment.cpp * contrib/hbqt/qtgui/QTextDocumentWriter.cpp * contrib/hbqt/qtgui/QTextEdit.cpp * contrib/hbqt/qtgui/QTextFormat.cpp * contrib/hbqt/qtgui/QTextFragment.cpp * contrib/hbqt/qtgui/QTextFrame.cpp * contrib/hbqt/qtgui/QTextFrameFormat.cpp * contrib/hbqt/qtgui/QTextImageFormat.cpp * contrib/hbqt/qtgui/QTextInlineObject.cpp * contrib/hbqt/qtgui/QTextItem.cpp * contrib/hbqt/qtgui/QTextLayout.cpp * contrib/hbqt/qtgui/QTextLength.cpp * contrib/hbqt/qtgui/QTextLine.cpp * contrib/hbqt/qtgui/QTextListFormat.cpp * contrib/hbqt/qtgui/QTextOption.cpp * contrib/hbqt/qtgui/QTextTableFormat.cpp * contrib/hbqt/qtgui/QTimeEdit.cpp * contrib/hbqt/qtgui/QToolBar.cpp * contrib/hbqt/qtgui/QToolBox.cpp * contrib/hbqt/qtgui/QToolButton.cpp * contrib/hbqt/qtgui/QTransform.cpp * contrib/hbqt/qtgui/QTreeView.cpp * contrib/hbqt/qtgui/QTreeWidget.cpp * contrib/hbqt/qtgui/QTreeWidgetItem.cpp * contrib/hbqt/qtgui/QValidator.cpp * contrib/hbqt/qtgui/QVBoxLayout.cpp * contrib/hbqt/qtgui/QWheelEvent.cpp * contrib/hbqt/qtgui/QWidget.cpp * contrib/hbqt/qtgui/QWidgetAction.cpp * contrib/hbqt/qtgui/QWidgetItem.cpp * contrib/hbqt/qtgui/QWindowsStyle.cpp * contrib/hbqt/qtgui/QWindowsXPStyle.cpp * contrib/hbqt/qtgui/QWizard.cpp * contrib/hbqt/qtgui/QWizardPage.cpp * contrib/hbqt/qtnetwork/QFtp.cpp * contrib/hbqt/qtnetwork/QHttp.cpp * contrib/hbqt/qtnetwork/QHttpRequestHeader.cpp * contrib/hbqt/qtnetwork/QHttpResponseHeader.cpp * contrib/hbqt/qtnetwork/QNetworkRequest.cpp * contrib/hbqt/qtwebkit/QWebHistoryInterface.cpp * contrib/hbqt/qtwebkit/QWebHistoryItem.cpp * contrib/hbqt/qtwebkit/QWebHitTestResult.cpp * contrib/hbqt/qtwebkit/QWebPage.cpp * contrib/hbqt/qtwebkit/QWebPluginFactory.cpp * contrib/hbqt/qtwebkit/QWebSecurityOrigin.cpp * contrib/hbqt/qtwebkit/QWebView.cpp * contrib/hbxbp/xbpdialog.prg * contrib/hbxbp/xbpwindow.prg * contrib/hbxbp/tests/demoxbp.prg + Added few more debug constructs. + Replaced delete ( QObject * ) obj => ( ( QObject * ) obj )->~QObject(). This is the documented method. But nevertheless there is no difference in the two approaches. Actually "delete" operator redirects the call to ~Qobject(). ! Reworked the sequence of Class destuction logic. Lorenzo, please rebuild and report back if exiting demoxbp still GPFs on Ubuntu. 2009-11-02 02:14 UTC+0100 Viktor Szakats * config/global.mk + Added autodetection of x86_64 architecture on win platform even when using 32-bit build of GNU Make. (This makes usage of 64-bit build of GNU Make less important.) 2009-11-01 19:20 UTC+0100 Viktor Szakats * contrib/hbcurl/hbcurl.c ! hb<Type> -> HB_<TYPE>. 2009-11-01 19:01 UTC+0100 Viktor Szakats * src/rtl/hbsocket.c ! hb<Type> -> HB_<TYPE>. 2009-11-01 17:08 UTC+0100 Viktor Szakats * include/hbdefs.h + Added HB_BYTE as synonym to BYTE. 2009-11-01 17:02 UTC+0100 Viktor Szakats * include/hbdefs.h * Changed HB_SIZE to ULONG. Added FIXME to later change it to 'long'. With its current setup it's possible to gradually change 'ULONG' usages to 'HB_SIZE' when used as string/array length ot index. This can be a gradual process. 2009-11-01 16:58 UTC+0100 Viktor Szakats * include/hbdefs.h + Added HB_MAX[U]INT as new name for HB_[U]LONG. + Added HB_[U]LONG to new type list with FIXME note. * Changed HB_ATTR to not rely on Windows type. - Deleted hb[Type] style types from planning. 2009-11-01 13:23 UTC+0100 Viktor Szakats * config/detect.mk - Disabled OpenSSL detection for bcc. For some reason it's building with errors now. I can't figure what change caused this as it was building fine a month ago. It's not the hbssl source code, openssl sources are the same, I have no time to figure it out. Anyway it wasn't working with bcc at link time anyway. 2009-11-01 11:35 UTC+0100 Viktor Szakats * include/hbdefs.h + Added new planned types. These are meant to replace previous proposition with the format 'hb<Type>'. New ones use usual 'HB_<TYPE>' format. Also added HB_TRUE and HB_FALSE. These new names don't look alien at all in code, so hopefully we can go into the transition with more courage. As a plus, some of the HB_TYPE format types are already implemented and used (HB_WCHAR, HB_LONG, HB_ULONG, etc). A new important type is HB_SIZE, which I hope will replace ULONG for string and array indices. * Changed HB_CHAR to be declared as 'char' instead of 'BYTE'. (this type was added long ago, but is not yet used anywhere in code) * Changed HB_COLOR to be declared as 'int' instead of 'BYTE'. (this type was added long ago, but is not yet used anywhere in code, since then we've settled to 'int' to represent colors. Pbly we should move to use this abstract type instead of int in code.) ; I left hb<Type> code as of yet, but if there is no objection, I'd like to remove them. ; Here are the new types: HB_TRUE HB_FALSE HB_BOOL HB_BYTE HB_CHAR HB_ULONG HB_LONG HB_UINT HB_SHORT HB_USHORT HB_LONGLONG HB_ULONGLONG HB_I8 HB_U8 HB_I16 ( HB_I16_MIN, HB_I16_MAX ) HB_U16 ( HB_U16_MAX ) HB_I32 ( HB_I32_MIN, HB_I32_MAX ) HB_U32 ( HB_U32_MAX ) HB_I64 ( HB_I64_MIN, HB_I64_MAX ) HB_U64 ( HB_U64_MAX ) HB_SCHAR HB_UCHAR HB_SIZE HB_DOUBLE ; QUESTION: Do we really need 3 different flavors to denote char/byte? HB_BYTE - HB_UCHAR - HB_U8 HB_CHAR - HB_SCHAR - HB_I8 If not, we should decide which ones to keep. If yes, it would be nice to have some guide when to use which. 2009-11-01 09:41 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added plans (TODO) for next gen compiler autodetection. This will surpass currently implemented autodetection in build system. The basic feature added is detection of all compilers supported by Harbour installation, so it's not possible to select one which is not installed, plus more feedback can be given to user. It also cleans embedded vs in-PATH compilers and gives an easier way to prioritize found compilers. This is definitely scheduled after 2.0.0 release, and when I have (more) time. 2009-10-31 10:23 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/generator/hbqtgen.prg * contrib/hbqt/hbqt.h * contrib/hbqt/hbqt_destruct.cpp * contrib/hbqt/hbqt_slots.cpp * contrib/hbqt/hbqt_slots.h * contrib/hbqt/moc_slots.cpp * contrib/hbxbp/tests/demoxbp.prg * contrib/hbxbp/xbpbrowse.prg * contrib/hbxbp/xbpdialog.prg * contrib/hbxbp/xbpgeneric.prg * contrib/hbxbp/xbpmenubar.prg * contrib/hbxbp/xbpwindow.prg * contrib/qtgui/QTableView.cpp * contrib/qtgui/TQTableView.prg ! Some more debug information included. Please note that the build may be broken, so bear with me for a couple of days. Lorenzo, you can continue with experiments. 2009-10-31 16:42 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/rddads/ads1.c ! In APPEND metohd generate RT error EG_APPENDLOCK only if ACE returns 1024 error code (Append Lock Failed). In all other cases generate EG_CORRUPTION RTE. This modifications allows to early detect some serious problems like index corruptions in Mindaugas example with long keys in ADSCDX. Warning! Before ADS RDD generated EG_APPENDLOCK for each errors returned by AdsAppendRecord() and they were caught by default error handler (ERRORSYS) and silently converted to NetErr(). Now only for 1024 ACE error which is real append lock error EG_APPENDLOCK is generated and all other errors will not be silently ignored so it's also possible that this modification will exploit some errors in concurrent accessed which are not reported by ADS/ACE as 1024 and maybe we will have to report them as EG_APPENDLOCK too. In such case please send information about such error codes here. 2009-10-31 12:44 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rdd/dbfcdx/dbfcdx1.c % added small protection against code which may want to create degenerated index tree using very large keys (over 158 bytes length) 2009-10-31 10:45 UTC+0100 Viktor Szakats + w64-make.exe + Added win64 build of GNU Make 3.81.90-CVS-20090901. Experimental. On 64-bit Windows systems it's generally recommended to use this version, but please be aware of the experimental nature of this build yet. There are some pending patches in GNU Make bug tracker, plus latest CVS is broken so I used the latest good one. 2009-10-31 02:25 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapicdp.h * harbour/src/rtl/cdpapi.c * modified hb_cdpStringInU16Length() to return size in 'HB_WCHAR' instead of 'char' characters + added hb_cdpStrnToU16n(), hb_cdpStrnToU16LEn(), hb_cdpStringInU16Length2() 2009-10-31 00:18 UTC+0100 Viktor Szakats * INSTALL + Added NOTE for Borland C++ users how to setup their compiler. This is repetition of Borland readme content which seemingly nobody reads and do this day many users get wrong. I'm not sure if these same users will read INSTALL, but let's give it a try. * ChangeLog ! Fixed my timezone since last weekend. 2009-10-31 00:42 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/docs/xhb-diff.txt ! fixed some typo errors 2009-10-30 22:25 UTC+0100 Viktor Szakats * package/winuni/RELNOTES + Provisions for next version: MinGW 4.4.1 updated documented. Now at TDM-2, fixing some seriously looking performance problem. (tdragon.net distro) 2009-10-30 21:07 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg * Fixed name usage in a few places ('hbmk' -> 'hbmk2'). 2009-10-30 21:50 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/contrib/rddads/ads1.c * added ADS function return value check in a few places 2009-10-30 17:54 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/common/hbffind.c * small buffer size fix * harbour/src/rtl/cdpapi.c * harbour/include/hbapicdp.h + added HB_WCAHR * changed USHORT to HB_WCHAR * harbour/src/codepage/ucmacce.c * harbour/src/codepage/uckoi8.c * harbour/src/codepage/uc885910.c * harbour/src/codepage/ucmacice.c * harbour/src/codepage/uc885914.c * harbour/src/codepage/uc874.c * harbour/src/codepage/uc857.c * harbour/src/codepage/uc1250.c * harbour/src/codepage/uc1254.c * harbour/src/codepage/uc1258.c * harbour/src/codepage/uckoi8u.c * harbour/src/codepage/uckam.c * harbour/src/codepage/uc424.c * harbour/src/codepage/ucmacrom.c * harbour/src/codepage/uc862.c * harbour/src/codepage/uc866.c * harbour/src/codepage/uc8859_3.c * harbour/src/codepage/uc8859_7.c * harbour/src/codepage/ucmacgrk.c * harbour/src/codepage/uc037.c * harbour/src/codepage/uc850.c * harbour/src/codepage/uc885911.c * harbour/src/codepage/uc885915.c * harbour/src/codepage/uc875.c * harbour/src/codepage/uc1251.c * harbour/src/codepage/uc1255.c * harbour/src/codepage/uc863.c * harbour/src/codepage/ucmaz.c * harbour/src/codepage/uc1026.c * harbour/src/codepage/uc8859_4.c * harbour/src/codepage/uc8859_8.c * harbour/src/codepage/uc855.c * harbour/src/codepage/uc885916.c * harbour/src/codepage/ucascii.c * harbour/src/codepage/uc1252.c * harbour/src/codepage/uc1256.c * harbour/src/codepage/ucatari.c * harbour/src/codepage/uc860.c * harbour/src/codepage/ucmaccyr.c * harbour/src/codepage/ucmik.c * harbour/src/codepage/uc864.c * harbour/src/codepage/uc1006.c * harbour/src/codepage/uc1125.c * harbour/src/codepage/uc8859_1.c * harbour/src/codepage/uc88591b.c * harbour/src/codepage/uc8859_5.c * harbour/src/codepage/uc8859_9.c * harbour/src/codepage/uc852.c * harbour/src/codepage/ucnext.c * harbour/src/codepage/uc737.c * harbour/src/codepage/uc885913.c * harbour/src/codepage/ucmactrk.c * harbour/src/codepage/uc856.c * harbour/src/codepage/uc775.c * harbour/src/codepage/uc1253.c * harbour/src/codepage/uc1257.c * harbour/src/codepage/uc500.c * harbour/src/codepage/uc861.c * harbour/src/codepage/uc865.c * harbour/src/codepage/uc869.c * harbour/src/codepage/uc8859_2.c * harbour/src/codepage/uc8859_6.c * changed USHORT to HB_WCHAR 2009-10-30 17:08 UTC+0100 Viktor Szakats * INSTALL * Minor fix to UPX supported platforms. * contrib/hbmisc/Makefile + contrib/hbmisc/ffind.c + Added direct file find API from my own function collection: FILEFINDFIRST( <cFileNameMask>, @<ffindinfo>[, <nAttr> ] ) -> <lFound> FILEFINDNEXT( <ffindinfo> ) -> <lFound> FILEFINDNAME( <ffindinfo> ) -> <cFileName> (without drive/dir) FILEFINDATTR( <ffindinfo> ) -> <nAttr> FILEFINDSIZE( <ffindinfo> ) -> <nSize> FILEFINDDATE( <ffindinfo> ) -> <dDate> FILEFINDTIME( <ffindinfo> ) -> <cTime> (as "HH:MM:SS") It's an alternative to DIRECTORY()/FILE() functions. ; NOTE: To release the file find handle on some platforms (like Windows), and allow deletion of the dir we've been scanning, <ffindinfo> should go out of scope or be explicitly release by freeing <ffindinfo> variable. To make this easy, some may want to add: #xtranslate FILEFINDCLOSE( <f> ) => \( <f> := NIL \) #xtranslate FILEFINDCLOSE( @<f> ) => \( <f> := NIL \) ; NOTE: Could be extended to return new timestamp format. * contrib/rddads/adsfunc.c + Added lAlive := AdsIsConnectionAlive( hConnection ) function. Borrowed from Augusto Infante / xhb. Three small fixes applied. 2009-10-30 07:33 UTC+0100 Viktor Szakats * src/compiler/hbgenerr.c * Minor formatting. * doc/xhb-diff.txt * Changed HBCRYPT to HBSSL in examples to contribs. 2009-10-30 03:40 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/common/hbgete.c * harbour/src/common/hbffind.c * harbour/src/common/hbfsapi.c * harbour/src/rtl/fstemp.c * harbour/src/rtl/filesys.c * harbour/src/rtl/diskspac.c * harbour/src/rtl/disksphb.c * harbour/src/rtl/net.c ! fixed memory leak reported by Pritpal * cleanup some UNICODE conversions in Windows builds (mostly resolved some macros when UNICODE macro is also explicitly used and cleaned some buffers length passed to windows functions. * removed unnecessary casting - if it's not necessary for some strange reasons never cast strings to LP[C][TW]STR calling windows functions. Such casting does not make any conversions but only hides potential bugs. * harbour/contrib/hbwin/axcore.c * pacified warning 2009-10-29 22:30 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/doc/xhb-diff.txt + added information about Harbour and xHarbour versions described by above text - thanks to Chen for suggestion * small update for HBNETIO and HBMEMIO 2009-10-29 09:58 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/hbqt_slots.cpp * contrib/hbqt/qtgui/QTreeWidgetItem.cpp * contrib/hbxbp/xbpbrowse.prg * contrib/hbxbp/xbpdialog.prg * contrib/hbxbp/xbpgeneric.prg * contrib/hbxbp/xbpmenubar.prg * contrib/hbxbp/xbpstatusbar.prg * contrib/hbxbp/xbptoolbar.prg * contrib/hbxbp/xbpwindow.prg * contrib/hbxbp/tests/demoxbp.prg ! Demoxbp.exe now terminates properly after releasing all Qt objects and releasing Qt objects memory. Analysis follows. 2009-10-29 16:58 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/doc/xhb-diff.txt * fixed some typos * svn ps svn:keywords "Author Date Id Revision" 2009-10-29 15:41 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/dates.c ! fixed HB_TTOC() to not add leading space when date part is empty 2009-10-29 15:17 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) + harbour/doc/xhb-diff.txt + added text which describes most important differences between Harbour and xHarbour with some references to Clipper and other compatible compilers like xBase++, CLIP, FlagShip. Many thanks to Viktor and Pritpal for updating this text. 2009-10-29 09:25 UTC+0100 Viktor Szakats * INSTALL + Added link to QT build instructions. 2009-10-29 08:36 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fixes to lib dependency detection code. It should now work on darwin/bsd/hpux/beos gcc/clang/sunpro platforms/compilers but obviously I didn't test them all (only darwin/clang). There was one typo hitting generic branch of lib detection plus lib prefix was not taken into account at all there. Probably on some platforms it would be better to implement target specific lib searching algorithm to mimic actual linker behaviour. Currently, differences are to be expected. - Deleted gccomf from a win/wce only branch in LibExists(). 2009-10-28 19:12 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/hbqt_slots.cpp * contrib/hbqt/hbqt_slots.h * contrib/hbqt/qth/QAbstractItemModel.qth * contrib/hbqt/qtcore/QAbstractItemModel.cpp * contrib/hbqt/qtcore/TQAbstractItemModel.prg * contrib/hbxbp/xbpbrowse.prg * contrib/hbxbp/xbpdialog.prg * contrib/hbxbp/xbpgeneric.prg * contrib/hbxbp/xbphtmlviewer.prg * contrib/hbxbp/xbpparthandler.prg * contrib/hbxbp/xbpprintdialog.prg * contrib/hbxbp/xbpstatusbar.prg * contrib/hbxbp/xbptabpage.prg * contrib/hbxbp/xbptreeview.prg * contrib/hbxbp/xbpwindow.prg * contrib/hbxbp/tests/demoxbp.prg % Fixes TO release memory properly. ! Only a small part is remaining FOR optimization and complete memory recovery. 2009-10-28 02:01 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/hbqt_slots.cpp * contrib/hbqt/hbqt_slots.h * contrib/hbqt/moc_slots.cpp * contrib/hbqt/qtcore/QAbstractItemModel.cpp * contrib/hbqt/qtcore/TQAbstractItemModel.prg * contrib/hbqt/qth/QAbstractItemModel.qth * contrib/hbxbp/xbpbrowse.prg * contrib/hbxbp/xbpdialog.prg * contrib/hbxbp/xbpgeneric.prg * contrib/hbxbp/xbphtmlviewer.prg * contrib/hbxbp/xbplistbox.prg * contrib/hbxbp/xbprtf.prg * contrib/hbxbp/xbptabpage.prg * contrib/hbxbp/xbptreeview.prg * contrib/hbxbp/xbpwindow.prg * contrib/hbxbp/tests/demoxbp.prg ! Fixes to release objects in proper order. Now demoxbp.exe terminates fine. Also you can open as many dialogs as you want. Closing next dialog releases the memory belonging to Qt objects but still I have to investigate why whole of thread memory is not released. So I have kept debug code intact. Just play with current code, may be you can pin-point where Xbp*classes need more tweaks. 2009-10-28 09:13 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/gtxwc/gtxwc.c * use XSetWMName() instead of XStoreName() to set window title using UTF8 strings * harbour/include/hbapigt.h * always declare hb_gtIsGtRef() for C++ compiler 2009-10-27 19:49 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/codepage/cpru866.c * harbour/src/codepage/cpruiso.c * harbour/src/codepage/cprukoi.c * harbour/src/codepage/cpruwin.c * harbour/src/codepage/cpua1125.c * harbour/src/codepage/cpua866.c * harbour/src/codepage/cpuakoi.c * harbour/src/codepage/cpuawin.c * use macros in codepage definition instead of direct constant values 2009-10-27 17:36 UTC+0100 Viktor Szakats * contrib/hbwin/axcore.c * Replaced duplicated constant with HB_SIZEOFARRAY() macro. * utils/hbmk2/hbmk2.prg + C compiler autodetection will now make sure to skip compilers where required Harbour core libraries aren't installed. This autodetection is disabled when HB_LIB_INSTALL is set manually and also when lib/<plat> dir is missing altogether, assuming there is a single-compiler installation used in this case (where such autodetection cannot work reliably). When using -info option, a screen message is shown if autodetected C compiler is skipped for above reason. 2009-10-27 11:51 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/xhb/xhbarr.c + added XHB_AINS(), XHB_ADEL() functions which accept negative indexes. Warning I haven't replicated xHarbour bugs in AINS() so it's not exactly the same. Sooner or later someone will fix AINS() code in xHarbour CVS. This code illustrates the problem and also incompatibilities with Clipper: #ifdef __HARBOUR__ #ifndef __XHARBOUR__ #xtranslate adel(<x,...>) => xhb_adel(<x>) #xtranslate ains(<x,...>) => xhb_ains(<x>) #endif #endif proc main() local a := { 100, 200, 300 } ? ; aeval( a, { |x| qout( x ) } ) adel( a, -1, .t. ) ? ; aeval( a, { |x| qout( x ) } ) ains( a, -1, 400, .t. ) ? ; aeval( a, { |x| qout( x ) } ) ains( a ) ? ; aeval( a, { |x| qout( x ) } ) return 2009-10-27 10:34 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapi.h * harbour/src/vm/garbage.c * added emulation for hb_gcAlloc() function covered by HB_LEGACY_LEVEL2 It will be removed in the future but now it gives a time for 3rd party code developers to updated existing code and switch to hb_gcAllocate() * harbour/contrib/hbwin/hbwinole.h * harbour/contrib/hbwin/olecore.c + added hb_oleItemGetCallBack() and hb_oleItemSetCallBack() functions and support for user defined items bound with OLE GC pointer item * harbour/contrib/hbwin/axcore.c * bound callback function with OLE item so it will be automatically released with OLE object * harbour/contrib/hbwin/tests/testax.prg ! destroy window * enabled destructor So far MS-Windows users haven't defined expected behavior for OLE code so I took my own arbitrary decision and bound callback with OLE GC item. When last copy of this item is cleared then callback is unregistered and freed. It means that it can happen before AX window is closed. If you prefer different behavior then please clearly define what you need and I can try to change existing code. Now testax.prg should cleanly execute without any GPF traps and resource leaks. 2009-10-27 09:33 UTC+0100 Viktor Szakats * contrib/hbwin/tests/testdll.prg * Minor. * contrib/hbwin/win_dll.c % Deleted cDLL structure member. - Deleted __XHARBOUR__ guarded parts (related to C structure handling, probably never tested, plus it didn't look something mature anyway) ; FIXME: win64 .dll support, strangely testdll gives slightly different results for BCC and MSVC builds (and MINGW builds where it GPFs), also UNICODE isn't supported at all. So I guess Harbour .dll handling would better be rewritten. 2009-10-27 00:01 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/vm/hashes.c ! use hb_gcMark() instead of hb_gcItemRef() to mark unlocked item * harbour/src/vm/garbage.c * moved hb_itemClear() from hb_gcGripDrop() to hb_gcGripRelease() Now items are freed in the same way as any other GC blocks and hb_gcGripDrop() is simple wrapper to hb_gcRefFree() * harbour/src/vm/hvm.c * harbour/src/vm/thread.c ! unlock item which stores thread return value to eliminate possible memory leaks, i.e. when thread returns its own pointer item. ! unlock item which stores notify messages to eliminate possible memory leaks, i.e. when mutex is used as notify value in its own message queue. * harbour/include/hbapigt.h * harbour/include/hbgtcore.h * harbour/src/rtl/hbgtcore.c * harbour/src/vm/garbage.c + added new GT method MARK() executed by GC to mark all internall GC blocks as used. + added hb_gtIsGtRef() internal function ! unlock internal GT items (pCargo, pNotifierBlock, pMutex) to eliminate possible memory leaks, i.e. when pGT item is stored in it's own cargo value or is accessed from notifier codeblock 2009-10-26 20:17 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/vm/garbage.c ! fixed hb_gcGripDrop() to work well with unlocked items and items freed by GC * harbour/tests/speedtst.prg ! typo in comment 2009-10-26 08:20 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/generator/hbqtgen.prg ! Fixed to honor Przemek's changes pertaining " LONG is 64-bit integer and HB_LONG is declared as LONG not LONGLONG 2009-10-26 15:29 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbqt/qtcore/QLocale.cpp * harbour/contrib/hbqt/qtcore/QByteArray.cpp ! fixed casting for 64-bit builds - in all 64-bit builds except Win64 LONG is 64-bit integer and HB_LONG is declared as LONG not LONGLONG * harbour/contrib/hbwin/win_dll.c % minor optimization * removed unnecessary casting 2009-10-26 14:18 UTC+0100 Viktor Szakats * src/vm/maindllp.c ! Using hb_getProcAddress() instead of GetProcAddress(). Idea submitted to the list, I didn't make any tests, so review it and change it as needed. * contrib/xhb/hbcompat.ch + Added HB_GTI_CLIPBOARDPAST related stuff. 2009-10-25 21:04 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/generator/hbqtgen.prg * contrib/hbqt/qth/QAbstractItemModel.qth * contrib/hbqt/qth/QTableView.qth * contrib/hbqt/hbqt.h * contrib/hbqt/hbqt_slots.cpp * contrib/hbqt/moc_slots.cpp * contrib/hbqt/qtcore/TQAbstractItemModel.prg * contrib/hbqt/qtcore/TQAbstractListModel.prg * contrib/hbqt/qtcore/TQAbstractTableModel.prg * contrib/hbqt/qtcore/TQBitArray.prg * contrib/hbqt/qtcore/TQByteArray.prg * contrib/hbqt/qtcore/TQCoreApplication.prg * contrib/hbqt/qtcore/TQDataStream.prg * contrib/hbqt/qtcore/TQDate.prg * contrib/hbqt/qtcore/TQDateTime.prg * contrib/hbqt/qtcore/TQDir.prg * contrib/hbqt/qtcore/TQEvent.prg * contrib/hbqt/qtcore/TQEventLoop.prg * contrib/hbqt/qtcore/TQFile.prg * contrib/hbqt/qtcore/TQFileInfo.prg * contrib/hbqt/qtcore/TQIODevice.prg * contrib/hbqt/qtcore/TQLatin1Char.prg * contrib/hbqt/qtcore/TQLatin1String.prg * contrib/hbqt/qtcore/TQLine.prg * contrib/hbqt/qtcore/TQLineF.prg * contrib/hbqt/qtcore/TQList.prg * contrib/hbqt/qtcore/TQLocale.prg * contrib/hbqt/qtcore/TQMimeData.prg * contrib/hbqt/qtcore/TQModelIndex.prg * contrib/hbqt/qtcore/TQObject.prg * contrib/hbqt/qtcore/TQPoint.prg * contrib/hbqt/qtcore/TQPointF.prg * contrib/hbqt/qtcore/TQProcess.prg * contrib/hbqt/qtcore/TQRect.prg * contrib/hbqt/qtcore/TQRectF.prg * contrib/hbqt/qtcore/TQRegExp.prg * contrib/hbqt/qtcore/TQResource.prg * contrib/hbqt/qtcore/TQSignalMapper.prg * contrib/hbqt/qtcore/TQSize.prg * contrib/hbqt/qtcore/TQSizeF.prg * contrib/hbqt/qtcore/TQStringList.prg * contrib/hbqt/qtcore/TQTextBoundaryFinder.prg * contrib/hbqt/qtcore/TQTextCodec.prg * contrib/hbqt/qtcore/TQTextDecoder.prg * contrib/hbqt/qtcore/TQTextEncoder.prg * contrib/hbqt/qtcore/TQTextStream.prg * contrib/hbqt/qtcore/TQThread.prg * contrib/hbqt/qtcore/TQTime.prg * contrib/hbqt/qtcore/TQTimer.prg * contrib/hbqt/qtcore/TQTranslator.prg * contrib/hbqt/qtcore/TQUrl.prg * contrib/hbqt/qtcore/TQVariant.prg * contrib/hbqt/qtgui/TQAbstractButton.prg * contrib/hbqt/qtgui/TQAbstractItemDelegate.prg * contrib/hbqt/qtgui/TQAbstractItemView.prg * contrib/hbqt/qtgui/TQAbstractPrintDialog.prg * contrib/hbqt/qtgui/TQAbstractProxyModel.prg * contrib/hbqt/qtgui/TQAbstractScrollArea.prg * contrib/hbqt/qtgui/TQAbstractSlider.prg * contrib/hbqt/qtgui/TQAbstractSpinBox.prg * contrib/hbqt/qtgui/TQAbstractTextDocumentLayout.prg * contrib/hbqt/qtgui/TQAction.prg * contrib/hbqt/qtgui/TQActionGroup.prg * contrib/hbqt/qtgui/TQApplication.prg * contrib/hbqt/qtgui/TQBitmap.prg * contrib/hbqt/qtgui/TQBoxLayout.prg * contrib/hbqt/qtgui/TQBrush.prg * contrib/hbqt/qtgui/TQButtonGroup.prg * contrib/hbqt/qtgui/TQCalendarWidget.prg * contrib/hbqt/qtgui/TQCheckBox.prg * contrib/hbqt/qtgui/TQClipboard.prg * contrib/hbqt/qtgui/TQColor.prg * contrib/hbqt/qtgui/TQColorDialog.prg * contrib/hbqt/qtgui/TQComboBox.prg * contrib/hbqt/qtgui/TQCommandLinkButton.prg * contrib/hbqt/qtgui/TQCommonStyle.prg * contrib/hbqt/qtgui/TQCompleter.prg * contrib/hbqt/qtgui/TQConicalGradient.prg * contrib/hbqt/qtgui/TQContextMenuEvent.prg * contrib/hbqt/qtgui/TQCursor.prg * contrib/hbqt/qtgui/TQDateEdit.prg * contrib/hbqt/qtgui/TQDateTimeEdit.prg * contrib/hbqt/qtgui/TQDesktopWidget.prg * contrib/hbqt/qtgui/TQDial.prg * contrib/hbqt/qtgui/TQDialog.prg * contrib/hbqt/qtgui/TQDirModel.prg * contrib/hbqt/qtgui/TQDockWidget.prg * contrib/hbqt/qtgui/TQDoubleSpinBox.prg * contrib/hbqt/qtgui/TQDragEnterEvent.prg * contrib/hbqt/qtgui/TQDragLeaveEvent.prg * contrib/hbqt/qtgui/TQDragMoveEvent.prg * contrib/hbqt/qtgui/TQDropEvent.prg * contrib/hbqt/qtgui/TQErrorMessage.prg * contrib/hbqt/qtgui/TQFileDialog.prg * contrib/hbqt/qtgui/TQFileIconProvider.prg * contrib/hbqt/qtgui/TQFileSystemModel.prg * contrib/hbqt/qtgui/TQFocusEvent.prg * contrib/hbqt/qtgui/TQFocusFrame.prg * contrib/hbqt/qtgui/TQFont.prg * contrib/hbqt/qtgui/TQFontComboBox.prg * contrib/hbqt/qtgui/TQFontDatabase.prg * contrib/hbqt/qtgui/TQFontDialog.prg * contrib/hbqt/qtgui/TQFontInfo.prg * contrib/hbqt/qtgui/TQFontMetrics.prg * contrib/hbqt/qtgui/TQFontMetricsF.prg * contrib/hbqt/qtgui/TQFormLayout.prg * contrib/hbqt/qtgui/TQFrame.prg * contrib/hbqt/qtgui/TQGradient.prg * contrib/hbqt/qtgui/TQGridLayout.prg * contrib/hbqt/qtgui/TQGroupBox.prg * contrib/hbqt/qtgui/TQHBoxLayout.prg * contrib/hbqt/qtgui/TQHeaderView.prg * contrib/hbqt/qtgui/TQHelpEvent.prg * contrib/hbqt/qtgui/TQIcon.prg * contrib/hbqt/qtgui/TQImage.prg * contrib/hbqt/qtgui/TQImageReader.prg * contrib/hbqt/qtgui/TQImageWriter.prg * contrib/hbqt/qtgui/TQInputContext.prg * contrib/hbqt/qtgui/TQInputDialog.prg * contrib/hbqt/qtgui/TQInputEvent.prg * contrib/hbqt/qtgui/TQInputMethodEvent.prg * contrib/hbqt/qtgui/TQItemSelection.prg * contrib/hbqt/qtgui/TQItemSelectionModel.prg * contrib/hbqt/qtgui/TQKeyEvent.prg * contrib/hbqt/qtgui/TQKeySequence.prg * contrib/hbqt/qtgui/TQLabel.prg * contrib/hbqt/qtgui/TQLayout.prg * contrib/hbqt/qtgui/TQLayoutItem.prg * contrib/hbqt/qtgui/TQLCDNumber.prg * contrib/hbqt/qtgui/TQLinearGradient.prg * contrib/hbqt/qtgui/TQLineEdit.prg * contrib/hbqt/qtgui/TQListView.prg * contrib/hbqt/qtgui/TQListWidget.prg * contrib/hbqt/qtgui/TQListWidgetItem.prg * contrib/hbqt/qtgui/TQMainWindow.prg * contrib/hbqt/qtgui/TQMatrix.prg * contrib/hbqt/qtgui/TQMenu.prg * contrib/hbqt/qtgui/TQMenuBar.prg * contrib/hbqt/qtgui/TQMessageBox.prg * contrib/hbqt/qtgui/TQMouseEvent.prg * contrib/hbqt/qtgui/TQMoveEvent.prg * contrib/hbqt/qtgui/TQMovie.prg * contrib/hbqt/qtgui/TQPageSetupDialog.prg * contrib/hbqt/qtgui/TQPaintDevice.prg * contrib/hbqt/qtgui/TQPainter.prg * contrib/hbqt/qtgui/TQPainterPath.prg * contrib/hbqt/qtgui/TQPaintEvent.prg * contrib/hbqt/qtgui/TQPalette.prg * contrib/hbqt/qtgui/TQPen.prg * contrib/hbqt/qtgui/TQPicture.prg * contrib/hbqt/qtgui/TQPixmap.prg * contrib/hbqt/qtgui/TQPolygon.prg * contrib/hbqt/qtgui/TQPolygonF.prg * contrib/hbqt/qtgui/TQPrintDialog.prg * contrib/hbqt/qtgui/TQPrintEngine.prg * contrib/hbqt/qtgui/TQPrinter.prg * contrib/hbqt/qtgui/TQPrintPreviewDialog.prg * contrib/hbqt/qtgui/TQProgressBar.prg * contrib/hbqt/qtgui/TQProgressDialog.prg * contrib/hbqt/qtgui/TQPushButton.prg * contrib/hbqt/qtgui/TQRadialGradient.prg * contrib/hbqt/qtgui/TQRadioButton.prg * contrib/hbqt/qtgui/TQRegion.prg * contrib/hbqt/qtgui/TQResizeEvent.prg * contrib/hbqt/qtgui/TQScrollArea.prg * contrib/hbqt/qtgui/TQScrollBar.prg * contrib/hbqt/qtgui/TQSessionManager.prg * contrib/hbqt/qtgui/TQSizeGrip.prg * contrib/hbqt/qtgui/TQSizePolicy.prg * contrib/hbqt/qtgui/TQSlider.prg * contrib/hbqt/qtgui/TQSound.prg * contrib/hbqt/qtgui/TQSpacerItem.prg * contrib/hbqt/qtgui/TQSpinBox.prg * contrib/hbqt/qtgui/TQSplashScreen.prg * contrib/hbqt/qtgui/TQSplitter.prg * contrib/hbqt/qtgui/TQStandardItem.prg * contrib/hbqt/qtgui/TQStandardItemModel.prg * contrib/hbqt/qtgui/TQStatusBar.prg * contrib/hbqt/qtgui/TQStringListModel.prg * contrib/hbqt/qtgui/TQStyle.prg * contrib/hbqt/qtgui/TQStyledItemDelegate.prg * contrib/hbqt/qtgui/TQStyleFactory.prg * contrib/hbqt/qtgui/TQStyleHintReturn.prg * contrib/hbqt/qtgui/TQStyleHintReturnMask.prg * contrib/hbqt/qtgui/TQStyleHintReturnVariant.prg * contrib/hbqt/qtgui/TQStyleOption.prg * contrib/hbqt/qtgui/TQStyleOptionButton.prg * contrib/hbqt/qtgui/TQStyleOptionComboBox.prg * contrib/hbqt/qtgui/TQStyleOptionComplex.prg * contrib/hbqt/qtgui/TQStyleOptionDockWidget.prg * contrib/hbqt/qtgui/TQStyleOptionFocusRect.prg * contrib/hbqt/qtgui/TQStyleOptionFrame.prg * contrib/hbqt/qtgui/TQStyleOptionGroupBox.prg * contrib/hbqt/qtgui/TQStyleOptionHeader.prg * contrib/hbqt/qtgui/TQStyleOptionMenuItem.prg * contrib/hbqt/qtgui/TQStyleOptionProgressBar.prg * contrib/hbqt/qtgui/TQStyleOptionSizeGrip.prg * contrib/hbqt/qtgui/TQStyleOptionSlider.prg * contrib/hbqt/qtgui/TQStyleOptionSpinBox.prg * contrib/hbqt/qtgui/TQStyleOptionTab.prg * contrib/hbqt/qtgui/TQStyleOptionTabBarBase.prg * contrib/hbqt/qtgui/TQStyleOptionTabWidgetFrame.prg * contrib/hbqt/qtgui/TQStyleOptionTitleBar.prg * contrib/hbqt/qtgui/TQStyleOptionToolBar.prg * contrib/hbqt/qtgui/TQStyleOptionToolBox.prg * contrib/hbqt/qtgui/TQStyleOptionToolButton.prg * contrib/hbqt/qtgui/TQStyleOptionViewItem.prg * contrib/hbqt/qtgui/TQStylePainter.prg * contrib/hbqt/qtgui/TQSystemTrayIcon.prg * contrib/hbqt/qtgui/TQTabBar.prg * contrib/hbqt/qtgui/TQTableView.prg * contrib/hbqt/qtgui/TQTableWidget.prg * contrib/hbqt/qtgui/TQTableWidgetItem.prg * contrib/hbqt/qtgui/TQTableWidgetSelectionRange.prg * contrib/hbqt/qtgui/TQTabWidget.prg * contrib/hbqt/qtgui/TQTextBlock.prg * contrib/hbqt/qtgui/TQTextBlockFormat.prg * contrib/hbqt/qtgui/TQTextBlockGroup.prg * contrib/hbqt/qtgui/TQTextBrowser.prg * contrib/hbqt/qtgui/TQTextCharFormat.prg * contrib/hbqt/qtgui/TQTextCursor.prg * contrib/hbqt/qtgui/TQTextDocument.prg * contrib/hbqt/qtgui/TQTextDocumentFragment.prg * contrib/hbqt/qtgui/TQTextDocumentWriter.prg * contrib/hbqt/qtgui/TQTextEdit.prg * contrib/hbqt/qtgui/TQTextFormat.prg * contrib/hbqt/qtgui/TQTextFragment.prg * contrib/hbqt/qtgui/TQTextFrame.prg * contrib/hbqt/qtgui/TQTextFrameFormat.prg * contrib/hbqt/qtgui/TQTextImageFormat.prg * contrib/hbqt/qtgui/TQTextInlineObject.prg * contrib/hbqt/qtgui/TQTextItem.prg * contrib/hbqt/qtgui/TQTextLayout.prg * contrib/hbqt/qtgui/TQTextLength.prg * contrib/hbqt/qtgui/TQTextLine.prg * contrib/hbqt/qtgui/TQTextListFormat.prg * contrib/hbqt/qtgui/TQTextObject.prg * contrib/hbqt/qtgui/TQTextOption.prg * contrib/hbqt/qtgui/TQTextTableFormat.prg * contrib/hbqt/qtgui/TQTimeEdit.prg * contrib/hbqt/qtgui/TQToolBar.prg * contrib/hbqt/qtgui/TQToolBox.prg * contrib/hbqt/qtgui/TQToolButton.prg * contrib/hbqt/qtgui/TQTransform.prg * contrib/hbqt/qtgui/TQTreeView.prg * contrib/hbqt/qtgui/TQTreeWidget.prg * contrib/hbqt/qtgui/TQTreeWidgetItem.prg * contrib/hbqt/qtgui/TQValidator.prg * contrib/hbqt/qtgui/TQVBoxLayout.prg * contrib/hbqt/qtgui/TQWheelEvent.prg * contrib/hbqt/qtgui/TQWidget.prg * contrib/hbqt/qtgui/TQWidgetAction.prg * contrib/hbqt/qtgui/TQWidgetItem.prg * contrib/hbqt/qtgui/TQWindowsStyle.prg * contrib/hbqt/qtgui/TQWindowsXPStyle.prg * contrib/hbqt/qtgui/TQWizard.prg * contrib/hbqt/qtgui/TQWizardPage.prg * contrib/hbqt/qtnetwork/TQFtp.prg * contrib/hbqt/qtnetwork/TQHttp.prg * contrib/hbqt/qtnetwork/TQHttpRequestHeader.prg * contrib/hbqt/qtnetwork/TQHttpResponseHeader.prg * contrib/hbqt/qtnetwork/TQNetworkRequest.prg * contrib/hbqt/qtwebkit/TQWebFrame.prg * contrib/hbqt/qtwebkit/TQWebHistory.prg * contrib/hbqt/qtwebkit/TQWebHistoryInterface.prg * contrib/hbqt/qtwebkit/TQWebHistoryItem.prg * contrib/hbqt/qtwebkit/TQWebHitTestResult.prg * contrib/hbqt/qtwebkit/TQWebPage.prg * contrib/hbqt/qtwebkit/TQWebPluginFactory.prg * contrib/hbqt/qtwebkit/TQWebSecurityOrigin.prg * contrib/hbqt/qtwebkit/TQWebSettings.prg * contrib/hbqt/qtwebkit/TQWebView.prg * contrib/hbxbp/xbpbrowse.prg * contrib/hbxbp/xbptabpage.prg * contrib/hbxbp/xbptreeview.prg * contrib/hbxbp/xbpwindow.prg * contrib/hbqt/tests/demoqt.prg * contrib/hbxbp/tests/demoxbp.prg ! Fixed LONG-STANDING memory consumption bug. ! Optimized CLASS code. ! Reworked some classes. TODO: demoxbp.exe terminates with GPF. I know what is that. It will take another couple of days to fix. Now Harbour has a native GUI framework we can build upon our castles. 2009-10-24 00:43 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/generator/hbqtgen.prg * contrib/hbqt/hbqt_slots.cpp * contrib/hbqt/qtcore/QAbstractItemModel.cpp * contrib/hbqt/qtcore/TQAbstractItemModel.prg * contrib/hbqt/qtcore/TQAbstractListModel.prg * contrib/hbqt/qtcore/TQAbstractTableModel.prg * contrib/hbqt/qtcore/TQBitArray.prg * contrib/hbqt/qtcore/TQByteArray.prg * contrib/hbqt/qtcore/TQCoreApplication.prg * contrib/hbqt/qtcore/TQDataStream.prg * contrib/hbqt/qtcore/TQDate.prg * contrib/hbqt/qtcore/TQDateTime.prg * contrib/hbqt/qtcore/TQDir.prg * contrib/hbqt/qtcore/TQEvent.prg * contrib/hbqt/qtcore/TQEventLoop.prg * contrib/hbqt/qtcore/TQFile.prg * contrib/hbqt/qtcore/TQFileInfo.prg * contrib/hbqt/qtcore/TQIODevice.prg * contrib/hbqt/qtcore/TQLatin1Char.prg * contrib/hbqt/qtcore/TQLatin1String.prg * contrib/hbqt/qtcore/TQLine.prg * contrib/hbqt/qtcore/TQLineF.prg * contrib/hbqt/qtcore/TQList.prg * contrib/hbqt/qtcore/TQLocale.prg * contrib/hbqt/qtcore/TQMimeData.prg * contrib/hbqt/qtcore/TQModelIndex.prg * contrib/hbqt/qtcore/TQObject.prg * contrib/hbqt/qtcore/TQPoint.prg * contrib/hbqt/qtcore/TQPointF.prg * contrib/hbqt/qtcore/TQProcess.prg * contrib/hbqt/qtcore/TQRect.prg * contrib/hbqt/qtcore/TQRectF.prg * contrib/hbqt/qtcore/TQRegExp.prg * contrib/hbqt/qtcore/TQResource.prg * contrib/hbqt/qtcore/TQSignalMapper.prg * contrib/hbqt/qtcore/TQSize.prg * contrib/hbqt/qtcore/TQSizeF.prg * contrib/hbqt/qtcore/TQStringList.prg * contrib/hbqt/qtcore/TQTextBoundaryFinder.prg * contrib/hbqt/qtcore/TQTextCodec.prg * contrib/hbqt/qtcore/TQTextDecoder.prg * contrib/hbqt/qtcore/TQTextEncoder.prg * contrib/hbqt/qtcore/TQTextStream.prg * contrib/hbqt/qtcore/TQThread.prg * contrib/hbqt/qtcore/TQTime.prg * contrib/hbqt/qtcore/TQTimer.prg * contrib/hbqt/qtcore/TQTranslator.prg * contrib/hbqt/qtcore/TQUrl.prg * contrib/hbqt/qtcore/TQVariant.prg * contrib/hbqt/qtgui/TQAbstractButton.prg * contrib/hbqt/qtgui/TQAbstractItemDelegate.prg * contrib/hbqt/qtgui/TQAbstractItemView.prg * contrib/hbqt/qtgui/TQAbstractPrintDialog.prg * contrib/hbqt/qtgui/TQAbstractProxyModel.prg * contrib/hbqt/qtgui/TQAbstractScrollArea.prg * contrib/hbqt/qtgui/TQAbstractSlider.prg * contrib/hbqt/qtgui/TQAbstractSpinBox.prg * contrib/hbqt/qtgui/TQAbstractTextDocumentLayout.prg * contrib/hbqt/qtgui/TQAction.prg * contrib/hbqt/qtgui/TQActionGroup.prg * contrib/hbqt/qtgui/TQApplication.prg * contrib/hbqt/qtgui/TQBitmap.prg * contrib/hbqt/qtgui/TQBoxLayout.prg * contrib/hbqt/qtgui/TQBrush.prg * contrib/hbqt/qtgui/TQButtonGroup.prg * contrib/hbqt/qtgui/TQCalendarWidget.prg * contrib/hbqt/qtgui/TQCheckBox.prg * contrib/hbqt/qtgui/TQClipboard.prg * contrib/hbqt/qtgui/TQColor.prg * contrib/hbqt/qtgui/TQColorDialog.prg * contrib/hbqt/qtgui/TQComboBox.prg * contrib/hbqt/qtgui/TQCommandLinkButton.prg * contrib/hbqt/qtgui/TQCommonStyle.prg * contrib/hbqt/qtgui/TQCompleter.prg * contrib/hbqt/qtgui/TQConicalGradient.prg * contrib/hbqt/qtgui/TQContextMenuEvent.prg * contrib/hbqt/qtgui/TQCursor.prg * contrib/hbqt/qtgui/TQDateEdit.prg * contrib/hbqt/qtgui/TQDateTimeEdit.prg * contrib/hbqt/qtgui/TQDesktopWidget.prg * contrib/hbqt/qtgui/TQDial.prg * contrib/hbqt/qtgui/TQDialog.prg * contrib/hbqt/qtgui/TQDirModel.prg * contrib/hbqt/qtgui/TQDockWidget.prg * contrib/hbqt/qtgui/TQDoubleSpinBox.prg * contrib/hbqt/qtgui/TQDragEnterEvent.prg * contrib/hbqt/qtgui/TQDragLeaveEvent.prg * contrib/hbqt/qtgui/TQDragMoveEvent.prg * contrib/hbqt/qtgui/TQDropEvent.prg * contrib/hbqt/qtgui/TQErrorMessage.prg * contrib/hbqt/qtgui/TQFileDialog.prg * contrib/hbqt/qtgui/TQFileIconProvider.prg * contrib/hbqt/qtgui/TQFileSystemModel.prg * contrib/hbqt/qtgui/TQFocusEvent.prg * contrib/hbqt/qtgui/TQFocusFrame.prg * contrib/hbqt/qtgui/TQFont.prg * contrib/hbqt/qtgui/TQFontComboBox.prg * contrib/hbqt/qtgui/TQFontDatabase.prg * contrib/hbqt/qtgui/TQFontDialog.prg * contrib/hbqt/qtgui/TQFontInfo.prg * contrib/hbqt/qtgui/TQFontMetrics.prg * contrib/hbqt/qtgui/TQFontMetricsF.prg * contrib/hbqt/qtgui/TQFormLayout.prg * contrib/hbqt/qtgui/TQFrame.prg * contrib/hbqt/qtgui/TQGradient.prg * contrib/hbqt/qtgui/TQGridLayout.prg * contrib/hbqt/qtgui/TQGroupBox.prg * contrib/hbqt/qtgui/TQHBoxLayout.prg * contrib/hbqt/qtgui/TQHeaderView.prg * contrib/hbqt/qtgui/TQHelpEvent.prg * contrib/hbqt/qtgui/TQIcon.prg * contrib/hbqt/qtgui/TQImage.prg * contrib/hbqt/qtgui/TQImageReader.prg * contrib/hbqt/qtgui/TQImageWriter.prg * contrib/hbqt/qtgui/TQInputContext.prg * contrib/hbqt/qtgui/TQInputDialog.prg * contrib/hbqt/qtgui/TQInputEvent.prg * contrib/hbqt/qtgui/TQInputMethodEvent.prg * contrib/hbqt/qtgui/TQItemSelection.prg * contrib/hbqt/qtgui/TQItemSelectionModel.prg * contrib/hbqt/qtgui/TQKeyEvent.prg * contrib/hbqt/qtgui/TQKeySequence.prg * contrib/hbqt/qtgui/TQLabel.prg * contrib/hbqt/qtgui/TQLayout.prg * contrib/hbqt/qtgui/TQLayoutItem.prg * contrib/hbqt/qtgui/TQLCDNumber.prg * contrib/hbqt/qtgui/TQLinearGradient.prg * contrib/hbqt/qtgui/TQLineEdit.prg * contrib/hbqt/qtgui/TQListView.prg * contrib/hbqt/qtgui/TQListWidget.prg * contrib/hbqt/qtgui/TQListWidgetItem.prg * contrib/hbqt/qtgui/TQMainWindow.prg * contrib/hbqt/qtgui/TQMatrix.prg * contrib/hbqt/qtgui/TQMenu.prg * contrib/hbqt/qtgui/TQMenuBar.prg * contrib/hbqt/qtgui/TQMessageBox.prg * contrib/hbqt/qtgui/TQMouseEvent.prg * contrib/hbqt/qtgui/TQMoveEvent.prg * contrib/hbqt/qtgui/TQMovie.prg * contrib/hbqt/qtgui/TQPageSetupDialog.prg * contrib/hbqt/qtgui/TQPaintDevice.prg * contrib/hbqt/qtgui/TQPainter.prg * contrib/hbqt/qtgui/TQPainterPath.prg * contrib/hbqt/qtgui/TQPaintEvent.prg * contrib/hbqt/qtgui/TQPalette.prg * contrib/hbqt/qtgui/TQPen.prg * contrib/hbqt/qtgui/TQPicture.prg * contrib/hbqt/qtgui/TQPixmap.prg * contrib/hbqt/qtgui/TQPolygon.prg * contrib/hbqt/qtgui/TQPolygonF.prg * contrib/hbqt/qtgui/TQPrintDialog.prg * contrib/hbqt/qtgui/TQPrintEngine.prg * contrib/hbqt/qtgui/TQPrinter.prg * contrib/hbqt/qtgui/TQPrintPreviewDialog.prg * contrib/hbqt/qtgui/TQProgressBar.prg * contrib/hbqt/qtgui/TQProgressDialog.prg * contrib/hbqt/qtgui/TQPushButton.prg * contrib/hbqt/qtgui/TQRadialGradient.prg * contrib/hbqt/qtgui/TQRadioButton.prg * contrib/hbqt/qtgui/TQRegion.prg * contrib/hbqt/qtgui/TQResizeEvent.prg * contrib/hbqt/qtgui/TQScrollArea.prg * contrib/hbqt/qtgui/TQScrollBar.prg * contrib/hbqt/qtgui/TQSessionManager.prg * contrib/hbqt/qtgui/TQSizeGrip.prg * contrib/hbqt/qtgui/TQSizePolicy.prg * contrib/hbqt/qtgui/TQSlider.prg * contrib/hbqt/qtgui/TQSound.prg * contrib/hbqt/qtgui/TQSpacerItem.prg * contrib/hbqt/qtgui/TQSpinBox.prg * contrib/hbqt/qtgui/TQSplashScreen.prg * contrib/hbqt/qtgui/TQSplitter.prg * contrib/hbqt/qtgui/TQStandardItem.prg * contrib/hbqt/qtgui/TQStandardItemModel.prg * contrib/hbqt/qtgui/TQStatusBar.prg * contrib/hbqt/qtgui/TQStringListModel.prg * contrib/hbqt/qtgui/TQStyle.prg * contrib/hbqt/qtgui/TQStyledItemDelegate.prg * contrib/hbqt/qtgui/TQStyleFactory.prg * contrib/hbqt/qtgui/TQStyleHintReturn.prg * contrib/hbqt/qtgui/TQStyleHintReturnMask.prg * contrib/hbqt/qtgui/TQStyleHintReturnVariant.prg * contrib/hbqt/qtgui/TQStyleOption.prg * contrib/hbqt/qtgui/TQStyleOptionButton.prg * contrib/hbqt/qtgui/TQStyleOptionComboBox.prg * contrib/hbqt/qtgui/TQStyleOptionComplex.prg * contrib/hbqt/qtgui/TQStyleOptionDockWidget.prg * contrib/hbqt/qtgui/TQStyleOptionFocusRect.prg * contrib/hbqt/qtgui/TQStyleOptionFrame.prg * contrib/hbqt/qtgui/TQStyleOptionGroupBox.prg * contrib/hbqt/qtgui/TQStyleOptionHeader.prg * contrib/hbqt/qtgui/TQStyleOptionMenuItem.prg * contrib/hbqt/qtgui/TQStyleOptionProgressBar.prg * contrib/hbqt/qtgui/TQStyleOptionSizeGrip.prg * contrib/hbqt/qtgui/TQStyleOptionSlider.prg * contrib/hbqt/qtgui/TQStyleOptionSpinBox.prg * contrib/hbqt/qtgui/TQStyleOptionTab.prg * contrib/hbqt/qtgui/TQStyleOptionTabBarBase.prg * contrib/hbqt/qtgui/TQStyleOptionTabWidgetFrame.prg * contrib/hbqt/qtgui/TQStyleOptionTitleBar.prg * contrib/hbqt/qtgui/TQStyleOptionToolBar.prg * contrib/hbqt/qtgui/TQStyleOptionToolBox.prg * contrib/hbqt/qtgui/TQStyleOptionToolButton.prg * contrib/hbqt/qtgui/TQStyleOptionViewItem.prg * contrib/hbqt/qtgui/TQStylePainter.prg * contrib/hbqt/qtgui/TQSystemTrayIcon.prg * contrib/hbqt/qtgui/TQTabBar.prg * contrib/hbqt/qtgui/TQTableView.prg * contrib/hbqt/qtgui/TQTableWidget.prg * contrib/hbqt/qtgui/TQTableWidgetItem.prg * contrib/hbqt/qtgui/TQTableWidgetSelectionRange.prg * contrib/hbqt/qtgui/TQTabWidget.prg * contrib/hbqt/qtgui/TQTextBlock.prg * contrib/hbqt/qtgui/TQTextBlockFormat.prg * contrib/hbqt/qtgui/TQTextBlockGroup.prg * contrib/hbqt/qtgui/TQTextBrowser.prg * contrib/hbqt/qtgui/TQTextCharFormat.prg * contrib/hbqt/qtgui/TQTextCursor.prg * contrib/hbqt/qtgui/TQTextDocument.prg * contrib/hbqt/qtgui/TQTextDocumentFragment.prg * contrib/hbqt/qtgui/TQTextDocumentWriter.prg * contrib/hbqt/qtgui/TQTextEdit.prg * contrib/hbqt/qtgui/TQTextFormat.prg * contrib/hbqt/qtgui/TQTextFragment.prg * contrib/hbqt/qtgui/TQTextFrame.prg * contrib/hbqt/qtgui/TQTextFrameFormat.prg * contrib/hbqt/qtgui/TQTextImageFormat.prg * contrib/hbqt/qtgui/TQTextInlineObject.prg * contrib/hbqt/qtgui/TQTextItem.prg * contrib/hbqt/qtgui/TQTextLayout.prg * contrib/hbqt/qtgui/TQTextLength.prg * contrib/hbqt/qtgui/TQTextLine.prg * contrib/hbqt/qtgui/TQTextListFormat.prg * contrib/hbqt/qtgui/TQTextObject.prg * contrib/hbqt/qtgui/TQTextOption.prg * contrib/hbqt/qtgui/TQTextTableFormat.prg * contrib/hbqt/qtgui/TQTimeEdit.prg * contrib/hbqt/qtgui/TQToolBar.prg * contrib/hbqt/qtgui/TQToolBox.prg * contrib/hbqt/qtgui/TQToolButton.prg * contrib/hbqt/qtgui/TQTransform.prg * contrib/hbqt/qtgui/TQTreeView.prg * contrib/hbqt/qtgui/TQTreeWidget.prg * contrib/hbqt/qtgui/TQTreeWidgetItem.prg * contrib/hbqt/qtgui/TQValidator.prg * contrib/hbqt/qtgui/TQVBoxLayout.prg * contrib/hbqt/qtgui/TQWheelEvent.prg * contrib/hbqt/qtgui/TQWidget.prg * contrib/hbqt/qtgui/TQWidgetAction.prg * contrib/hbqt/qtgui/TQWidgetItem.prg * contrib/hbqt/qtgui/TQWindowsStyle.prg * contrib/hbqt/qtgui/TQWindowsXPStyle.prg * contrib/hbqt/qtgui/TQWizard.prg * contrib/hbqt/qtgui/TQWizardPage.prg * contrib/hbqt/qth/QAbstractItemModel.qth * contrib/hbqt/qtnetwork/TQFtp.prg * contrib/hbqt/qtnetwork/TQHttp.prg * contrib/hbqt/qtnetwork/TQHttpRequestHeader.prg * contrib/hbqt/qtnetwork/TQHttpResponseHeader.prg * contrib/hbqt/qtnetwork/TQNetworkRequest.prg * contrib/hbqt/qtwebkit/TQWebFrame.prg * contrib/hbqt/qtwebkit/TQWebHistory.prg * contrib/hbqt/qtwebkit/TQWebHistoryInterface.prg * contrib/hbqt/qtwebkit/TQWebHistoryItem.prg * contrib/hbqt/qtwebkit/TQWebHitTestResult.prg * contrib/hbqt/qtwebkit/TQWebPage.prg * contrib/hbqt/qtwebkit/TQWebPluginFactory.prg * contrib/hbqt/qtwebkit/TQWebSecurityOrigin.prg * contrib/hbqt/qtwebkit/TQWebSettings.prg * contrib/hbqt/qtwebkit/TQWebView.prg * contrib/hbxbp/xbpappevent.prg * contrib/hbxbp/xbpbrowse.prg * contrib/hbxbp/xbpcombobox.prg * contrib/hbxbp/xbpdialog.prg * contrib/hbxbp/xbpgeneric.prg * contrib/hbxbp/xbprtf.prg * contrib/hbxbp/xbpsle.prg * contrib/hbxbp/xbpspinbutton.prg * contrib/hbxbp/xbpwindow.prg * contrib/hbxbp/tests/demoxbp.prg ! CLASS code : changed from INLINE to proper method call. As suggested by Przemek. The code will be significantly faster now. ! HBXBP : Tweaked to confirm to massive changes in HBQT. 2009-10-23 18:18 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/generator/hbqtgen.prg * contrib/hbqt/hbqt.h * contrib/hbqt/hbqt_destruct.cpp * contrib/hbqt/qtcore/QBitArray.cpp * contrib/hbqt/qtcore/QByteArray.cpp * contrib/hbqt/qtcore/QDataStream.cpp * contrib/hbqt/qtcore/QDate.cpp * contrib/hbqt/qtcore/QDateTime.cpp * contrib/hbqt/qtcore/QDir.cpp * contrib/hbqt/qtcore/QEvent.cpp * contrib/hbqt/qtcore/QEventLoop.cpp * contrib/hbqt/qtcore/QFile.cpp * contrib/hbqt/qtcore/QFileInfo.cpp * contrib/hbqt/qtcore/QLatin1Char.cpp * contrib/hbqt/qtcore/QLatin1String.cpp * contrib/hbqt/qtcore/QLine.cpp * contrib/hbqt/qtcore/QLineF.cpp * contrib/hbqt/qtcore/QList.cpp * contrib/hbqt/qtcore/QLocale.cpp * contrib/hbqt/qtcore/QMimeData.cpp * contrib/hbqt/qtcore/QModelIndex.cpp * contrib/hbqt/qtcore/QObject.cpp * contrib/hbqt/qtcore/QPoint.cpp * contrib/hbqt/qtcore/QPointF.cpp * contrib/hbqt/qtcore/QProcess.cpp * contrib/hbqt/qtcore/QRect.cpp * contrib/hbqt/qtcore/QRectF.cpp * contrib/hbqt/qtcore/QRegExp.cpp * contrib/hbqt/qtcore/QResource.cpp * contrib/hbqt/qtcore/QSignalMapper.cpp * contrib/hbqt/qtcore/QSize.cpp * contrib/hbqt/qtcore/QSizeF.cpp * contrib/hbqt/qtcore/QStringList.cpp * contrib/hbqt/qtcore/QTextBoundaryFinder.cpp * contrib/hbqt/qtcore/QTextDecoder.cpp * contrib/hbqt/qtcore/QTextEncoder.cpp * contrib/hbqt/qtcore/QTextStream.cpp * contrib/hbqt/qtcore/QThread.cpp * contrib/hbqt/qtcore/QTime.cpp * contrib/hbqt/qtcore/QTimer.cpp * contrib/hbqt/qtcore/QTranslator.cpp * contrib/hbqt/qtcore/QUrl.cpp * contrib/hbqt/qtcore/QVariant.cpp * contrib/hbqt/qtgui/QAction.cpp * contrib/hbqt/qtgui/QActionGroup.cpp * contrib/hbqt/qtgui/QApplication.cpp * contrib/hbqt/qtgui/QBitmap.cpp * contrib/hbqt/qtgui/QBoxLayout.cpp * contrib/hbqt/qtgui/QBrush.cpp * contrib/hbqt/qtgui/QButtonGroup.cpp * contrib/hbqt/qtgui/QCalendarWidget.cpp * contrib/hbqt/qtgui/QCheckBox.cpp * contrib/hbqt/qtgui/QClipboard.cpp * contrib/hbqt/qtgui/QColor.cpp * contrib/hbqt/qtgui/QColorDialog.cpp * contrib/hbqt/qtgui/QComboBox.cpp * contrib/hbqt/qtgui/QCommandLinkButton.cpp * contrib/hbqt/qtgui/QCommonStyle.cpp * contrib/hbqt/qtgui/QCompleter.cpp * contrib/hbqt/qtgui/QConicalGradient.cpp * contrib/hbqt/qtgui/QContextMenuEvent.cpp * contrib/hbqt/qtgui/QCursor.cpp * contrib/hbqt/qtgui/QDateEdit.cpp * contrib/hbqt/qtgui/QDateTimeEdit.cpp * contrib/hbqt/qtgui/QDesktopWidget.cpp * contrib/hbqt/qtgui/QDial.cpp * contrib/hbqt/qtgui/QDialog.cpp * contrib/hbqt/qtgui/QDirModel.cpp * contrib/hbqt/qtgui/QDockWidget.cpp * contrib/hbqt/qtgui/QDoubleSpinBox.cpp * contrib/hbqt/qtgui/QErrorMessage.cpp * contrib/hbqt/qtgui/QFileDialog.cpp * contrib/hbqt/qtgui/QFileIconProvider.cpp * contrib/hbqt/qtgui/QFileSystemModel.cpp * contrib/hbqt/qtgui/QFocusFrame.cpp * contrib/hbqt/qtgui/QFont.cpp * contrib/hbqt/qtgui/QFontComboBox.cpp * contrib/hbqt/qtgui/QFontDatabase.cpp * contrib/hbqt/qtgui/QFontDialog.cpp * contrib/hbqt/qtgui/QFontInfo.cpp * contrib/hbqt/qtgui/QFontMetrics.cpp * contrib/hbqt/qtgui/QFontMetricsF.cpp * contrib/hbqt/qtgui/QFormLayout.cpp * contrib/hbqt/qtgui/QFrame.cpp * contrib/hbqt/qtgui/QGridLayout.cpp * contrib/hbqt/qtgui/QGroupBox.cpp * contrib/hbqt/qtgui/QHBoxLayout.cpp * contrib/hbqt/qtgui/QHeaderView.cpp * contrib/hbqt/qtgui/QIcon.cpp * contrib/hbqt/qtgui/QImage.cpp * contrib/hbqt/qtgui/QImageReader.cpp * contrib/hbqt/qtgui/QImageWriter.cpp * contrib/hbqt/qtgui/QInputDialog.cpp * contrib/hbqt/qtgui/QInputEvent.cpp * contrib/hbqt/qtgui/QInputMethodEvent.cpp * contrib/hbqt/qtgui/QItemSelection.cpp * contrib/hbqt/qtgui/QItemSelectionModel.cpp * contrib/hbqt/qtgui/QKeySequence.cpp * contrib/hbqt/qtgui/QLabel.cpp * contrib/hbqt/qtgui/QLCDNumber.cpp * contrib/hbqt/qtgui/QLinearGradient.cpp * contrib/hbqt/qtgui/QLineEdit.cpp * contrib/hbqt/qtgui/QListView.cpp * contrib/hbqt/qtgui/QListWidget.cpp * contrib/hbqt/qtgui/QListWidgetItem.cpp * contrib/hbqt/qtgui/QMainWindow.cpp * contrib/hbqt/qtgui/QMatrix.cpp * contrib/hbqt/qtgui/QMenu.cpp * contrib/hbqt/qtgui/QMenuBar.cpp * contrib/hbqt/qtgui/QMessageBox.cpp * contrib/hbqt/qtgui/QMouseEvent.cpp * contrib/hbqt/qtgui/QMovie.cpp * contrib/hbqt/qtgui/QPageSetupDialog.cpp * contrib/hbqt/qtgui/QPainter.cpp * contrib/hbqt/qtgui/QPainterPath.cpp * contrib/hbqt/qtgui/QPaintEvent.cpp * contrib/hbqt/qtgui/QPalette.cpp * contrib/hbqt/qtgui/QPen.cpp * contrib/hbqt/qtgui/QPicture.cpp * contrib/hbqt/qtgui/QPixmap.cpp * contrib/hbqt/qtgui/QPolygon.cpp * contrib/hbqt/qtgui/QPolygonF.cpp * contrib/hbqt/qtgui/QPrintDialog.cpp * contrib/hbqt/qtgui/QPrinter.cpp * contrib/hbqt/qtgui/QPrintPreviewDialog.cpp * contrib/hbqt/qtgui/QProgressBar.cpp * contrib/hbqt/qtgui/QProgressDialog.cpp * contrib/hbqt/qtgui/QPushButton.cpp * contrib/hbqt/qtgui/QRadialGradient.cpp * contrib/hbqt/qtgui/QRadioButton.cpp * contrib/hbqt/qtgui/QRegion.cpp * contrib/hbqt/qtgui/QScrollArea.cpp * contrib/hbqt/qtgui/QScrollBar.cpp * contrib/hbqt/qtgui/QSizeGrip.cpp * contrib/hbqt/qtgui/QSizePolicy.cpp * contrib/hbqt/qtgui/QSlider.cpp * contrib/hbqt/qtgui/QSound.cpp * contrib/hbqt/qtgui/QSpacerItem.cpp * contrib/hbqt/qtgui/QSpinBox.cpp * contrib/hbqt/qtgui/QSplashScreen.cpp * contrib/hbqt/qtgui/QSplitter.cpp * contrib/hbqt/qtgui/QStandardItem.cpp * contrib/hbqt/qtgui/QStandardItemModel.cpp * contrib/hbqt/qtgui/QStatusBar.cpp * contrib/hbqt/qtgui/QStringListModel.cpp * contrib/hbqt/qtgui/QStyledItemDelegate.cpp * contrib/hbqt/qtgui/QStyleFactory.cpp * contrib/hbqt/qtgui/QStyleOption.cpp * contrib/hbqt/qtgui/QStyleOptionButton.cpp * contrib/hbqt/qtgui/QStyleOptionComboBox.cpp * contrib/hbqt/qtgui/QStyleOptionComplex.cpp * contrib/hbqt/qtgui/QStyleOptionDockWidget.cpp * contrib/hbqt/qtgui/QStyleOptionFocusRect.cpp * contrib/hbqt/qtgui/QStyleOptionFrame.cpp * contrib/hbqt/qtgui/QStyleOptionGroupBox.cpp * contrib/hbqt/qtgui/QStyleOptionHeader.cpp * contrib/hbqt/qtgui/QStyleOptionMenuItem.cpp * contrib/hbqt/qtgui/QStyleOptionProgressBar.cpp * contrib/hbqt/qtgui/QStyleOptionSizeGrip.cpp * contrib/hbqt/qtgui/QStyleOptionSlider.cpp * contrib/hbqt/qtgui/QStyleOptionSpinBox.cpp * contrib/hbqt/qtgui/QStyleOptionTab.cpp * contrib/hbqt/qtgui/QStyleOptionTabBarBase.cpp * contrib/hbqt/qtgui/QStyleOptionTabWidgetFrame.cpp * contrib/hbqt/qtgui/QStyleOptionTitleBar.cpp * contrib/hbqt/qtgui/QStyleOptionToolBar.cpp * contrib/hbqt/qtgui/QStyleOptionToolBox.cpp * contrib/hbqt/qtgui/QStyleOptionToolButton.cpp * contrib/hbqt/qtgui/QStyleOptionViewItem.cpp * contrib/hbqt/qtgui/QStylePainter.cpp * contrib/hbqt/qtgui/QSystemTrayIcon.cpp * contrib/hbqt/qtgui/QTabBar.cpp * contrib/hbqt/qtgui/QTableView.cpp * contrib/hbqt/qtgui/QTableWidget.cpp * contrib/hbqt/qtgui/QTableWidgetItem.cpp * contrib/hbqt/qtgui/QTableWidgetSelectionRange.cpp * contrib/hbqt/qtgui/QTabWidget.cpp * contrib/hbqt/qtgui/QTextBlock.cpp * contrib/hbqt/qtgui/QTextBlockFormat.cpp * contrib/hbqt/qtgui/QTextBrowser.cpp * contrib/hbqt/qtgui/QTextCharFormat.cpp * contrib/hbqt/qtgui/QTextCursor.cpp * contrib/hbqt/qtgui/QTextDocument.cpp * contrib/hbqt/qtgui/QTextDocumentFragment.cpp * contrib/hbqt/qtgui/QTextDocumentWriter.cpp * contrib/hbqt/qtgui/QTextEdit.cpp * contrib/hbqt/qtgui/QTextFormat.cpp * contrib/hbqt/qtgui/QTextFragment.cpp * contrib/hbqt/qtgui/QTextFrame.cpp * contrib/hbqt/qtgui/QTextFrameFormat.cpp * contrib/hbqt/qtgui/QTextImageFormat.cpp * contrib/hbqt/qtgui/QTextItem.cpp * contrib/hbqt/qtgui/QTextLayout.cpp * contrib/hbqt/qtgui/QTextLength.cpp * contrib/hbqt/qtgui/QTextLine.cpp * contrib/hbqt/qtgui/QTextListFormat.cpp * contrib/hbqt/qtgui/QTextOption.cpp * contrib/hbqt/qtgui/QTextTableFormat.cpp * contrib/hbqt/qtgui/QTimeEdit.cpp * contrib/hbqt/qtgui/QToolBar.cpp * contrib/hbqt/qtgui/QToolBox.cpp * contrib/hbqt/qtgui/QToolButton.cpp * contrib/hbqt/qtgui/QTransform.cpp * contrib/hbqt/qtgui/QTreeView.cpp * contrib/hbqt/qtgui/QTreeWidget.cpp * contrib/hbqt/qtgui/QTreeWidgetItem.cpp * contrib/hbqt/qtgui/QVBoxLayout.cpp * contrib/hbqt/qtgui/QWidget.cpp * contrib/hbqt/qtgui/QWidgetAction.cpp * contrib/hbqt/qtgui/QWidgetItem.cpp * contrib/hbqt/qtgui/QWindowsStyle.cpp * contrib/hbqt/qtgui/QWindowsXPStyle.cpp * contrib/hbqt/qtgui/QWizard.cpp * contrib/hbqt/qtgui/QWizardPage.cpp * contrib/hbqt/qtnetwork/QFtp.cpp * contrib/hbqt/qtnetwork/QHttp.cpp * contrib/hbqt/qtnetwork/QHttpRequestHeader.cpp * contrib/hbqt/qtnetwork/QHttpResponseHeader.cpp * contrib/hbqt/qtnetwork/QNetworkRequest.cpp * contrib/hbqt/qtwebkit/QWebHistoryItem.cpp * contrib/hbqt/qtwebkit/QWebHitTestResult.cpp * contrib/hbqt/qtwebkit/QWebPage.cpp * contrib/hbqt/qtwebkit/QWebSecurityOrigin.cpp * contrib/hbqt/qtwebkit/QWebView.cpp ! Updated to recent GC upgrade plus more classes brought to the GC. 2009-10-23 21:01 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/hbbffnc.c + added support for 3rd parameter <lRaw> in hb_blowfishEncrypt() and hb_blowfishDecrypt() functions. It disables ANSI X.923 padding but encode passed string in 8 bytes blocks. If last block in string is smaller then it's padded to 8 bytes using chr(0) and information about original string size is not attached to encrypted data. During decoding only strings which are well padded (N*8 bytes) are accepted and <lRaw> := .T. disables restoring original string size encoded in encrypted string using ANSI X.923 standard so the size of decrypted string is the same as original one. 2009-10-23 18:07 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbwin/axcore.c ! fixed wrongly initialized reference counter in AX control. Now when AX Window is closed and all .prg references to OLE are cleared pSink is released. 2009-10-23 15:09 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/gtxwc/gtxwc.c ! fixed clipboard property change in 64-bit builds 2009-10-23 13:27 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/hbgtcore.c * harbour/include/hbgtinfo.ch * renamed HB_GTI_CLIPBOARDPAST -> HB_GTI_CLIPBOARDPASTE 2009-10-23 13:24 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/hbgtcore.c ! fixed recent modification to work also with system clipboards 2009-10-23 12:44 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/hbgtcore.c + added default implementation for HB_GTI_CLIPBOARDPAST - thanks to Enrico for information about missing functionality 2009-10-23 12:21 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/hbbffnc.c * added note about padding standard - thanks to Mindaugas for information * harbour/contrib/rddsql/sddfb/fbirddd.c * pacified strict alignment warnings * harbour/contrib/hbmemio/memio.c * pacified warning 2009-10-23 12:11 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/vm/fm.c * enable USE_DL_PREFIX in all C++ builds to avoid conflicts with different exception declarations for standard memory functions in C++ header files 2009-10-23 11:47 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapi.h * harbour/src/vm/extend.c + added hb_parldef() function * harbour/src/vm/thread.c * harbour/src/vm/memvars.c * harbour/src/vm/arrayshb.c * harbour/src/vm/classes.c * harbour/src/rtl/hbtoken.c * harbour/src/rtl/maxrow.c * harbour/src/rtl/strtoexp.c * harbour/src/rtl/filesys.c * harbour/src/rtl/hbregex.c * harbour/src/rtl/dateshb.c * harbour/src/rtl/hbi18n1.c * harbour/src/rtl/mlcfunc.c * harbour/src/rtl/itemseri.c * harbour/src/rtl/strc.c * harbour/src/rtl/gete.c * harbour/src/rtl/mouse53.c * harbour/src/rtl/fssize.c * harbour/src/rdd/dbsql.c * harbour/src/rdd/dbdetach.c * harbour/src/rdd/dbcmd.c * harbour/src/rdd/dbcmd53.c * harbour/src/rdd/hbsix/sxord.c * harbour/src/rdd/hbsix/sxfname.c * harbour/contrib/hbct/bitnum.c * harbour/contrib/hbct/screen2.c * harbour/contrib/hbct/ctnet.c * harbour/contrib/hbct/files.c * harbour/contrib/hbct/charswap.c * harbour/contrib/hbct/lton.c * harbour/contrib/hbct/color.c * harbour/contrib/hbct/num1.c * harbour/contrib/hbct/token1.c * harbour/contrib/hbct/numcount.c * harbour/contrib/hbct/ctwfunc.c * harbour/contrib/hbct/ctstrfil.c * harbour/contrib/hbct/dattime2.c * harbour/contrib/xhb/bkgtsks.c * harbour/contrib/xhb/xhbtrim.c * harbour/contrib/hbnf/prtscr.c * harbour/contrib/hbnf/fttext.c * harbour/contrib/hbnetio/netiosrv.c * harbour/contrib/gtwvg/wincallb.c * harbour/contrib/gtwvg/wvgwing.c * harbour/contrib/rddads/adsfunc.c * harbour/contrib/hbwin/win_prn1.c * harbour/contrib/hbwin/win_prn2.c % optimized HB_ISLOG() / hb_parl() usage 2009-10-23 11:33 UTC+0200 Viktor Szakats * contrib/hbssl/evpciph.c * contrib/hbssl/sslsess.c * contrib/hbssl/ssl.c * contrib/hbssl/x509.c * contrib/hbssl/evpmd.c * contrib/hbssl/evpenc.c * contrib/hbssl/sslctx.c * contrib/hbssl/evppkey.c + Changed to use new GC allocation method. Please review me. * contrib/hbqt/Makefile * Minor refinement to build order. 2009-10-23 10:23 UTC+0200 Viktor Szakats * contrib/hbqt/hbqts/Makefile * contrib/hbqt/qtgui/qtguis/Makefile * contrib/hbqt/qtgui/Makefile * contrib/hbqt/qtwebkit/Makefile * contrib/hbqt/qtwebkit/qtwebkits/Makefile * contrib/hbqt/qtcore/qtcores/Makefile * contrib/hbqt/qtcore/Makefile * contrib/hbqt/qtnetwork/qtnetworks/Makefile * contrib/hbqt/qtnetwork/Makefile * contrib/hbqt/Makefile + contrib/hbqt/detect.mk % Moved QT detection and common setup task to separate .mk file to avoid redundancy. 2009-10-23 09:46 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbpgsql/postgres.c * harbour/contrib/hbgd/gdwrp.c * updated code which was using hb_gcAlloc() to work with new GC API. 2009-10-23 09:24 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rdd/dbfnsx/dbfnsx1.c ! fixed bug reported by Jaroslav Janik (many thanks) - if index FOR expression excluded all records from non empty table then root page was not initialized and DBFNSX generated corruption RTE. * harbour/utils/hbi18n/hbi18n.prg * set default GT to CGI * harbour/src/common/hbgete.c ! fixed memory leak in non UNICODE Windows hb_getenv_buffer() ! add C stack buffers to eliminate memory allocation in UNICODE Windows hb_getenv_buffer() - they are used if envvar name and passed buffer are not too large. It fixes HB_FM_STATISTICS Windows builds. * harbour/contrib/hbwin/wapi_winuser.c + added WAPI_DESTROYWINDOW function * harbour/contrib/xhb/traceprg.prg * harbour/contrib/xhb/hbcompat.ch ! fixed typo in TraceLog() condition - was always disabled + added emulation for xHarbour Set( _SET_TRACE* [, <params,...> ] ) settings * harbour/src/vm/hvmall.c ! define _GNU_SOURCE to fix compilation with HB_FM_DL_ALLOC in Linux builds * harbour/include/hbdefs.h * declare HB_FOFFSET as LONG instead of LONGLONG on platforms where LONG is 64-bit integer to be compatible with C RTL file API * harbour/src/vm/maindllh.c * harbour/src/vm/maindllp.c * harbour/contrib/hbct/ctstr.c ! casting in HB_TRACE() massages * harbour/include/hbapi.h * harbour/include/hbapiitm.h * harbour/src/vm/arrays.c * harbour/src/vm/hashes.c * harbour/src/vm/itemapi.c + added hb_arrayCloneTo(), hb_hashCloneTo(), hb_itemCloneTo() * harbour/src/vm/arrayshb.c * harbour/src/vm/classes.c * harbour/src/vm/hashes.c * harbour/src/vm/hashfunc.c * harbour/src/vm/hvm.c % use hb_*CloneTo() instead of hb_*Clone() * harbour/include/hbapi.h * harbour/src/vm/garbage.c - removed hb_gcRegisterSweep() function and support for user defined sweep mark functions in GC blocks - removed hb_gcAlloc() function + added new function hb_gcAllocate() which work in similar way to removed hb_gcAlloc() function but it accepts as second parameter HB_GC_FUNCS structure instead of HB_GARBAGE_FUNC_PTR and returned GC blocks are locked so programmer does not have to worry that they can be removed by GC. + added new internal function hb_gcAllocRaw() which works like hb_gcAllocate() but returned GC blocks are not locked. They can be used only in HVM in places well known that cannot activate automatic GC scan. It should not be used by 3rd party code. * harbour/include/hbapi.h * harbour/include/hbapiitm.h * harbour/src/vm/extend.c * harbour/src/vm/itemapi.c * modified hb_parptrGC(), hb_parvptrGC(), hb_arrayGetPtrGC(), hb_itemGetPtrGC() functions to use HB_GC_FUNCS structure instead of HB_GARBAGE_FUNC_PTR * modified hb_itemPutPtrGC() and indirectly related functions like hb_arraySetPtrGC() or hb_stor[v]ptrGC() to automatically unlock passed GC block just after attaching to known HVM item. * harbour/include/hbregex.h * harbour/src/rtl/hbregexc.c * declare GC block detractor as static function + added hb_regexIs() function * updated to work with new GC API * removed unnecessary in new GC API hb_gcLock() call - GC blocks allocated by hb_gcAllocate() are already locked and they mustn't be locked explicitly by programmer (until he does not exactly knows what he does ;)) * harbour/src/rtl/hbregex.c * use hb_regexIs() instead of using regex GC destructor * removed unnecessary in new GC API hb_gcUnlock() call - GC blocks stored in HB_IT_POINTER item are automatically unlocked * harbour/src/rtl/hbinet.c * harbour/contrib/hbcurl/hbcurl.c * updated to work with new GC API % unlock items storing callback codeblocks and use GC mark functions to mark them as used in GC passes * harbour/src/pp/pplib.c * harbour/src/vm/runner.c * harbour/src/vm/codebloc.c * harbour/src/vm/hashes.c * harbour/src/vm/hvm.c * harbour/src/vm/arrays.c * harbour/src/vm/thread.c * harbour/src/vm/dynlibhb.c * harbour/src/rtl/hbzlibgz.c * harbour/src/rtl/hbregex.c * harbour/src/rtl/hbregexc.c * harbour/src/rtl/hbgtcore.c * harbour/src/rtl/hbi18n1.c * harbour/src/rdd/wacore.c * harbour/contrib/hbsqlit3/hbsqlit3.c * harbour/contrib/hbnetio/netiosrv.c * harbour/contrib/hbmzip/hbmzip.c * harbour/contrib/hbhpdf/harupdf.c * harbour/contrib/hbwin/olecore.c * harbour/contrib/hbwin/win_prn1.c * harbour/contrib/hbwin/win_dll.c * updated code which was using hb_gcAlloc() to work with new GC API. * harbour/contrib/hbwin/axcore.c * updated syntax description TODO: update contrib code: hbqt, hbssl, ... to work with new GC API. I would like to ask authors of above libraries to do it. TODO: defined when and how we should free AX control and user callback handler and update AX code to respect new definition 2009-10-23 09:08 UTC+0200 Viktor Szakats + hbqt/qtgui/qtguis + hbqt/qtgui/qtguis/Makefile + hbqt/qtwebkit/qtwebkits + hbqt/qtwebkit/qtwebkits/Makefile + hbqt/qtcore/qtcores + hbqt/qtcore/qtcores/Makefile + hbqt/qtnetwork/qtnetworks + hbqt/qtnetwork/qtnetworks/Makefile + Added static files (not tested). * hbqt/Makefile ! Minor fix to build sub-libs. * contrib\xhb\hbcompat.ch + Added SET TIME FORMAT and SET TRIMFILENAME for xhb compatibility. 2009-10-22 13:05 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/generator/hbqtgen.prg ! Fixed : "warning C4100: 'Cargo' : unreferenced formal parameter" * contrib/hbqt/generator/hbqtgen.prg * contrib/hbqt/qtcore/QTextCodec.cpp * contrib/hbqt/qtgui/QAbstractItemDelegate.cpp * contrib/hbqt/qtgui/QClipboard.cpp * contrib/hbqt/qtgui/QSessionManager.cpp * contrib/hbqt/qtgui/QTextBlockGroup.cpp * contrib/hbqt/qtgui/QTextObject.cpp * contrib/hbqt/qtwebkit/QWebFrame.cpp * contrib/hbqt/qtwebkit/QWebHistory.cpp * contrib/hbqt/qtwebkit/QWebSettings.cpp ! The result of "Cargo" fix. * contrib/hbqt/tests/demoqt.prg ! Confirms to -w3 specifications. 2009-10-22 12:35 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/hbqt_slots.cpp ! Quantrined "error C2065: 'str' : undeclared identifier". 2009-10-22 20:31 UTC+0200 Viktor Szakats * contrib/hbqt/Makefile * contrib/hbqt/qtgui/Makefile * contrib/hbqt/qtwebkit/Makefile * contrib/hbqt/qtcore/Makefile * contrib/hbqt/qtnetwork/Makefile * contrib/hbqt/hbqts.hbc ! Minor cleanups and fixes after recent restructuring. Nice job Pritpal. ; TODO: Since now QT detection .mk code will be replicated in 10 places, this will have to be optimized. [DONE] ; FIXME: static mode. [DONE] ; FIXME: I'm getting a compile error, so could check the whole build run yet: [DONE] --- hbqt_slots.cpp ../../../hbqt_slots.cpp(1787) : error C2065: 'str' : undeclared identifier ../../../hbqt_slots.cpp(1787) : error C2065: 'str' : undeclared identifier ../../../hbqt_slots.cpp(1787) : error C2070: ''unknown-type'': illegal sizeof operand ../../../hbqt_slots.cpp(1787) : error C2065: 'str' : undeclared identifier --- ; FIXME: I saw these warnings in almost all tested .cpp files: [DONE] --- ../../../QWebSettings.cpp(86) : warning C4100: 'Cargo' : unreferenced formal parameter --- * contrib/hbqt/generator/hbqtgen.prg * contrib/hbqt/generator/qt45.qtp ! Added missing SVN headers. * contrib/hbqt/hbqt.hbc + Minor formatting. 2009-10-22 18:43 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/qth/QAbstractItemModel.qth * contrib/hbqt/qth/QAbstractScrollArea.qth * contrib/hbqt/qth/QApplication.qth * contrib/hbqt/qth/QDir.qth * contrib/hbqt/qth/QDirModel.qth * contrib/hbqt/qth/QFileSystemModel.qth * contrib/hbqt/qth/QGradient.qth * contrib/hbqt/qth/QHttp.qth * contrib/hbqt/qth/QObject.qth * contrib/hbqt/qth/QProcess.qth * contrib/hbqt/qth/QStyledItemDelegate.qth * contrib/hbqt/qth/QTableView.qth * contrib/hbqt/qth/QTextBlock.qth * contrib/hbqt/qth/QTextFormat.qth * contrib/hbqt/qth/QTextInlineObject.qth * contrib/hbqt/qth/QWebPage.qth * contrib/hbqt/qth/QWidget.qth + contrib/hbqt/qth/QAbstractEventDispatcher.qth + contrib/hbqt/qth/QAbstractItemDelegate.qth + contrib/hbqt/qth/QAbstractProxyModel.qth + contrib/hbqt/qth/QAbstractTextDocumentLayout.qth + contrib/hbqt/qth/QActionGroup.qth + contrib/hbqt/qth/QBitArray.qth + contrib/hbqt/qth/QByteArray.qth + contrib/hbqt/qth/QCompleter.qth + contrib/hbqt/qth/QContextMenuEvent.qth + contrib/hbqt/qth/QDataStream.qth + contrib/hbqt/qth/QDate.qth + contrib/hbqt/qth/QFile.qth + contrib/hbqt/qth/QFileIconProvider.qth + contrib/hbqt/qth/QFileInfo.qth + contrib/hbqt/qth/QHelpEvent.qth + contrib/hbqt/qth/QHttpRequestHeader.qth + contrib/hbqt/qth/QHttpResponseHeader.qth + contrib/hbqt/qth/QInputContext.qth + contrib/hbqt/qth/QInputMethodEvent.qth + contrib/hbqt/qth/QItemSelection.qth + contrib/hbqt/qth/QItemSelectionModel.qth + contrib/hbqt/qth/QLibraryInfo.qth + contrib/hbqt/qth/QLineF.qth + contrib/hbqt/qth/QLocale.qth + contrib/hbqt/qth/QMatrix.qth + contrib/hbqt/qth/QMimeData.qth + contrib/hbqt/qth/QMovie.qth + contrib/hbqt/qth/QNetworkRequest.qth + contrib/hbqt/qth/QPainterPath.qth + contrib/hbqt/qth/QPolygon.qth + contrib/hbqt/qth/QPolygonF.qth + contrib/hbqt/qth/QRegExp.qth + contrib/hbqt/qth/QSessionManager.qth + contrib/hbqt/qth/QSpacerItem.qth + contrib/hbqt/qth/QTableWidgetSelectionRange.qth + contrib/hbqt/qth/QTextListFormat.qth + contrib/hbqt/qth/QTextOption.qth + contrib/hbqt/qth/QTextTableFormat.qth + contrib/hbqt/qth/QThread.qth + contrib/hbqt/qth/QTime.qth + contrib/hbqt/qth/QTransform.qth + contrib/hbqt/qth/QTranslator.qth + contrib/hbqt/qth/QValidator.qth + contrib/hbqt/qth/QWizardPage.qth * contrib/hbqt/generator/hbqtgen.prg * contrib/hbqt/generator/qt45.qtp * contrib/hbqt/filelist.mk * contrib/hbqt/hbqt.h * contrib/hbqt/hbqt.hbc * contrib/hbqt/hbqt_destruct.cpp + contrib/hbqt/hbqt_garbage.h * contrib/hbqt/hbqt_slots.cpp - contrib/hbqt/QAbstractButton.cpp - contrib/hbqt/QAbstractItemModel.cpp - contrib/hbqt/QAbstractItemView.cpp - contrib/hbqt/QAbstractListModel.cpp - contrib/hbqt/QAbstractPrintDialog.cpp - contrib/hbqt/QAbstractScrollArea.cpp - contrib/hbqt/QAbstractSlider.cpp - contrib/hbqt/QAbstractSpinBox.cpp - contrib/hbqt/QAbstractTableModel.cpp - contrib/hbqt/QAction.cpp - contrib/hbqt/QApplication.cpp - contrib/hbqt/QBitmap.cpp - contrib/hbqt/QBoxLayout.cpp - contrib/hbqt/QBrush.cpp - contrib/hbqt/QButtonGroup.cpp - contrib/hbqt/QCalendarWidget.cpp - contrib/hbqt/QCheckBox.cpp - contrib/hbqt/QClipboard.cpp - contrib/hbqt/QColor.cpp - contrib/hbqt/QColorDialog.cpp - contrib/hbqt/QComboBox.cpp - contrib/hbqt/QCommandLinkButton.cpp - contrib/hbqt/QCommonStyle.cpp - contrib/hbqt/QConicalGradient.cpp - contrib/hbqt/QCoreApplication.cpp - contrib/hbqt/QCursor.cpp - contrib/hbqt/QDateEdit.cpp - contrib/hbqt/QDateTime.cpp - contrib/hbqt/QDateTimeEdit.cpp - contrib/hbqt/QDesktopWidget.cpp - contrib/hbqt/QDial.cpp - contrib/hbqt/QDialog.cpp - contrib/hbqt/QDir.cpp - contrib/hbqt/QDirModel.cpp - contrib/hbqt/QDockWidget.cpp - contrib/hbqt/QDoubleSpinBox.cpp - contrib/hbqt/QDragEnterEvent.cpp - contrib/hbqt/QDragLeaveEvent.cpp - contrib/hbqt/QDragMoveEvent.cpp - contrib/hbqt/QDropEvent.cpp - contrib/hbqt/QErrorMessage.cpp - contrib/hbqt/QEvent.cpp - contrib/hbqt/QEventLoop.cpp - contrib/hbqt/QFileDialog.cpp - contrib/hbqt/QFileSystemModel.cpp - contrib/hbqt/QFocusEvent.cpp - contrib/hbqt/QFocusFrame.cpp - contrib/hbqt/QFont.cpp - contrib/hbqt/QFontComboBox.cpp - contrib/hbqt/QFontDatabase.cpp - contrib/hbqt/QFontDialog.cpp - contrib/hbqt/QFontInfo.cpp - contrib/hbqt/QFontMetrics.cpp - contrib/hbqt/QFontMetricsF.cpp - contrib/hbqt/QFormLayout.cpp - contrib/hbqt/QFrame.cpp - contrib/hbqt/QFtp.cpp - contrib/hbqt/QGradient.cpp - contrib/hbqt/QGridLayout.cpp - contrib/hbqt/QGroupBox.cpp - contrib/hbqt/QHBoxLayout.cpp - contrib/hbqt/QHeaderView.cpp - contrib/hbqt/QHttp.cpp - contrib/hbqt/QIcon.cpp - contrib/hbqt/QImage.cpp - contrib/hbqt/QImageReader.cpp - contrib/hbqt/QImageWriter.cpp - contrib/hbqt/QInputDialog.cpp - contrib/hbqt/QInputEvent.cpp - contrib/hbqt/QIODevice.cpp - contrib/hbqt/QKeyEvent.cpp - contrib/hbqt/QKeySequence.cpp - contrib/hbqt/QLabel.cpp - contrib/hbqt/QLatin1Char.cpp - contrib/hbqt/QLatin1String.cpp - contrib/hbqt/QLayout.cpp - contrib/hbqt/QLayoutItem.cpp - contrib/hbqt/QLCDNumber.cpp - contrib/hbqt/QLine.cpp - contrib/hbqt/QLinearGradient.cpp - contrib/hbqt/QLineEdit.cpp - contrib/hbqt/QList.cpp - contrib/hbqt/QListView.cpp - contrib/hbqt/QListWidget.cpp - contrib/hbqt/QListWidgetItem.cpp - contrib/hbqt/QMainWindow.cpp - contrib/hbqt/QMenu.cpp - contrib/hbqt/QMenuBar.cpp - contrib/hbqt/QMessageBox.cpp - contrib/hbqt/QModelIndex.cpp - contrib/hbqt/QMouseEvent.cpp - contrib/hbqt/QMoveEvent.cpp - contrib/hbqt/QObject.cpp - contrib/hbqt/QPageSetupDialog.cpp - contrib/hbqt/QPaintDevice.cpp - contrib/hbqt/QPainter.cpp - contrib/hbqt/QPaintEvent.cpp - contrib/hbqt/QPalette.cpp - contrib/hbqt/QPen.cpp - contrib/hbqt/QPicture.cpp - contrib/hbqt/QPixmap.cpp - contrib/hbqt/QPoint.cpp - contrib/hbqt/QPointF.cpp - contrib/hbqt/QPrintDialog.cpp - contrib/hbqt/QPrintEngine.cpp - contrib/hbqt/QPrinter.cpp - contrib/hbqt/QPrintPreviewDialog.cpp - contrib/hbqt/QProcess.cpp - contrib/hbqt/QProgressBar.cpp - contrib/hbqt/QProgressDialog.cpp - contrib/hbqt/QPushButton.cpp - contrib/hbqt/QRadialGradient.cpp - contrib/hbqt/QRadioButton.cpp - contrib/hbqt/QRect.cpp - contrib/hbqt/QRectF.cpp - contrib/hbqt/QRegion.cpp - contrib/hbqt/QResizeEvent.cpp - contrib/hbqt/QResource.cpp - contrib/hbqt/QScrollArea.cpp - contrib/hbqt/QScrollBar.cpp - contrib/hbqt/QSignalMapper.cpp - contrib/hbqt/QSize.cpp - contrib/hbqt/QSizeF.cpp - contrib/hbqt/QSizeGrip.cpp - contrib/hbqt/QSizePolicy.cpp - contrib/hbqt/QSlider.cpp - contrib/hbqt/QSound.cpp - contrib/hbqt/QSpinBox.cpp - contrib/hbqt/QSplashScreen.cpp - contrib/hbqt/QSplitter.cpp - contrib/hbqt/QStandardItem.cpp - contrib/hbqt/QStandardItemModel.cpp - contrib/hbqt/QStatusBar.cpp - contrib/hbqt/QStringList.cpp - contrib/hbqt/QStringListModel.cpp - contrib/hbqt/QStyle.cpp - contrib/hbqt/QStyledItemDelegate.cpp - contrib/hbqt/QStyleFactory.cpp - contrib/hbqt/QStyleHintReturn.cpp - contrib/hbqt/QStyleHintReturnMask.cpp - contrib/hbqt/QStyleHintReturnVariant.cpp - contrib/hbqt/QStyleOption.cpp - contrib/hbqt/QStyleOptionButton.cpp - contrib/hbqt/QStyleOptionComboBox.cpp - contrib/hbqt/QStyleOptionComplex.cpp - contrib/hbqt/QStyleOptionDockWidget.cpp - contrib/hbqt/QStyleOptionFocusRect.cpp - contrib/hbqt/QStyleOptionFrame.cpp - contrib/hbqt/QStyleOptionGroupBox.cpp - contrib/hbqt/QStyleOptionHeader.cpp - contrib/hbqt/QStyleOptionMenuItem.cpp - contrib/hbqt/QStyleOptionProgressBar.cpp - contrib/hbqt/QStyleOptionSizeGrip.cpp - contrib/hbqt/QStyleOptionSlider.cpp - contrib/hbqt/QStyleOptionSpinBox.cpp - contrib/hbqt/QStyleOptionTab.cpp - contrib/hbqt/QStyleOptionTabBarBase.cpp - contrib/hbqt/QStyleOptionTabWidgetFrame.cpp - contrib/hbqt/QStyleOptionTitleBar.cpp - contrib/hbqt/QStyleOptionToolBar.cpp - contrib/hbqt/QStyleOptionToolBox.cpp - contrib/hbqt/QStyleOptionToolButton.cpp - contrib/hbqt/QStyleOptionViewItem.cpp - contrib/hbqt/QStylePainter.cpp - contrib/hbqt/QSystemTrayIcon.cpp - contrib/hbqt/QTabBar.cpp - contrib/hbqt/QTableView.cpp - contrib/hbqt/QTableWidget.cpp - contrib/hbqt/QTableWidgetItem.cpp - contrib/hbqt/QTabWidget.cpp - contrib/hbqt/QTextBlock.cpp - contrib/hbqt/QTextBlockFormat.cpp - contrib/hbqt/QTextBlockGroup.cpp - contrib/hbqt/QTextBoundaryFinder.cpp - contrib/hbqt/QTextBrowser.cpp - contrib/hbqt/QTextCharFormat.cpp - contrib/hbqt/QTextCodec.cpp - contrib/hbqt/QTextCursor.cpp - contrib/hbqt/QTextDecoder.cpp - contrib/hbqt/QTextDocument.cpp - contrib/hbqt/QTextDocumentFragment.cpp - contrib/hbqt/QTextDocumentWriter.cpp - contrib/hbqt/QTextEdit.cpp - contrib/hbqt/QTextEncoder.cpp - contrib/hbqt/QTextFormat.cpp - contrib/hbqt/QTextFragment.cpp - contrib/hbqt/QTextFrame.cpp - contrib/hbqt/QTextFrameFormat.cpp - contrib/hbqt/QTextImageFormat.cpp - contrib/hbqt/QTextInlineObject.cpp - contrib/hbqt/QTextItem.cpp - contrib/hbqt/QTextLayout.cpp - contrib/hbqt/QTextLength.cpp - contrib/hbqt/QTextLine.cpp - contrib/hbqt/QTextObject.cpp - contrib/hbqt/QTextStream.cpp - contrib/hbqt/QTimeEdit.cpp - contrib/hbqt/QTimer.cpp - contrib/hbqt/QToolBar.cpp - contrib/hbqt/QToolBox.cpp - contrib/hbqt/QToolButton.cpp - contrib/hbqt/QTreeView.cpp - contrib/hbqt/QTreeWidget.cpp - contrib/hbqt/QTreeWidgetItem.cpp - contrib/hbqt/QUrl.cpp - contrib/hbqt/QVariant.cpp - contrib/hbqt/QVBoxLayout.cpp - contrib/hbqt/QWebFrame.cpp - contrib/hbqt/QWebHistory.cpp - contrib/hbqt/QWebHistoryInterface.cpp - contrib/hbqt/QWebHistoryItem.cpp - contrib/hbqt/QWebHitTestResult.cpp - contrib/hbqt/QWebPage.cpp - contrib/hbqt/QWebPluginFactory.cpp - contrib/hbqt/QWebSecurityOrigin.cpp - contrib/hbqt/QWebSettings.cpp - contrib/hbqt/QWebView.cpp - contrib/hbqt/QWheelEvent.cpp - contrib/hbqt/QWidget.cpp - contrib/hbqt/QWidgetAction.cpp - contrib/hbqt/QWidgetItem.cpp - contrib/hbqt/QWindowsStyle.cpp - contrib/hbqt/QWindowsXPStyle.cpp - contrib/hbqt/QWizard.cpp - contrib/hbqt/TQAbstractButton.prg - contrib/hbqt/TQAbstractItemModel.prg - contrib/hbqt/TQAbstractItemView.prg - contrib/hbqt/TQAbstractListModel.prg - contrib/hbqt/TQAbstractPrintDialog.prg - contrib/hbqt/TQAbstractScrollArea.prg - contrib/hbqt/TQAbstractSlider.prg - contrib/hbqt/TQAbstractSpinBox.prg - contrib/hbqt/TQAbstractTableModel.prg - contrib/hbqt/TQAction.prg - contrib/hbqt/TQApplication.prg - contrib/hbqt/TQBitmap.prg - contrib/hbqt/TQBoxLayout.prg - contrib/hbqt/TQBrush.prg - contrib/hbqt/TQButtonGroup.prg - contrib/hbqt/TQCalendarWidget.prg - contrib/hbqt/TQCheckBox.prg - contrib/hbqt/TQClipboard.prg - contrib/hbqt/TQColor.prg - contrib/hbqt/TQColorDialog.prg - contrib/hbqt/TQComboBox.prg - contrib/hbqt/TQCommandLinkButton.prg - contrib/hbqt/TQCommonStyle.prg - contrib/hbqt/TQConicalGradient.prg - contrib/hbqt/TQCoreApplication.prg - contrib/hbqt/TQCursor.prg - contrib/hbqt/TQDateEdit.prg - contrib/hbqt/TQDateTime.prg - contrib/hbqt/TQDateTimeEdit.prg - contrib/hbqt/TQDesktopWidget.prg - contrib/hbqt/TQDial.prg - contrib/hbqt/TQDialog.prg - contrib/hbqt/TQDir.prg - contrib/hbqt/TQDirModel.prg - contrib/hbqt/TQDockWidget.prg - contrib/hbqt/TQDoubleSpinBox.prg - contrib/hbqt/TQDragEnterEvent.prg - contrib/hbqt/TQDragLeaveEvent.prg - contrib/hbqt/TQDragMoveEvent.prg - contrib/hbqt/TQDropEvent.prg - contrib/hbqt/TQErrorMessage.prg - contrib/hbqt/TQEvent.prg - contrib/hbqt/TQEventLoop.prg - contrib/hbqt/TQFileDialog.prg - contrib/hbqt/TQFileSystemModel.prg - contrib/hbqt/TQFocusEvent.prg - contrib/hbqt/TQFocusFrame.prg - contrib/hbqt/TQFont.prg - contrib/hbqt/TQFontComboBox.prg - contrib/hbqt/TQFontDatabase.prg - contrib/hbqt/TQFontDialog.prg - contrib/hbqt/TQFontInfo.prg - contrib/hbqt/TQFontMetrics.prg - contrib/hbqt/TQFontMetricsF.prg - contrib/hbqt/TQFormLayout.prg - contrib/hbqt/TQFrame.prg - contrib/hbqt/TQFtp.prg - contrib/hbqt/TQGradient.prg - contrib/hbqt/TQGridLayout.prg - contrib/hbqt/TQGroupBox.prg - contrib/hbqt/TQHBoxLayout.prg - contrib/hbqt/TQHeaderView.prg - contrib/hbqt/TQHttp.prg - contrib/hbqt/TQIcon.prg - contrib/hbqt/TQImage.prg - contrib/hbqt/TQImageReader.prg - contrib/hbqt/TQImageWriter.prg - contrib/hbqt/TQInputDialog.prg - contrib/hbqt/TQInputEvent.prg - contrib/hbqt/TQIODevice.prg - contrib/hbqt/TQKeyEvent.prg - contrib/hbqt/TQKeySequence.prg - contrib/hbqt/TQLabel.prg - contrib/hbqt/TQLatin1Char.prg - contrib/hbqt/TQLatin1String.prg - contrib/hbqt/TQLayout.prg - contrib/hbqt/TQLayoutItem.prg - contrib/hbqt/TQLCDNumber.prg - contrib/hbqt/TQLine.prg - contrib/hbqt/TQLinearGradient.prg - contrib/hbqt/TQLineEdit.prg - contrib/hbqt/TQList.prg - contrib/hbqt/TQListView.prg - contrib/hbqt/TQListWidget.prg - contrib/hbqt/TQListWidgetItem.prg - contrib/hbqt/TQMainWindow.prg - contrib/hbqt/TQMenu.prg - contrib/hbqt/TQMenuBar.prg - contrib/hbqt/TQMessageBox.prg - contrib/hbqt/TQModelIndex.prg - contrib/hbqt/TQMouseEvent.prg - contrib/hbqt/TQMoveEvent.prg - contrib/hbqt/TQObject.prg - contrib/hbqt/TQPageSetupDialog.prg - contrib/hbqt/TQPaintDevice.prg - contrib/hbqt/TQPainter.prg - contrib/hbqt/TQPaintEvent.prg - contrib/hbqt/TQPalette.prg - contrib/hbqt/TQPen.prg - contrib/hbqt/TQPicture.prg - contrib/hbqt/TQPixmap.prg - contrib/hbqt/TQPoint.prg - contrib/hbqt/TQPointF.prg - contrib/hbqt/TQPrintDialog.prg - contrib/hbqt/TQPrintEngine.prg - contrib/hbqt/TQPrinter.prg - contrib/hbqt/TQPrintPreviewDialog.prg - contrib/hbqt/TQProcess.prg - contrib/hbqt/TQProgressBar.prg - contrib/hbqt/TQProgressDialog.prg - contrib/hbqt/TQPushButton.prg - contrib/hbqt/TQRadialGradient.prg - contrib/hbqt/TQRadioButton.prg - contrib/hbqt/TQRect.prg - contrib/hbqt/TQRectF.prg - contrib/hbqt/TQRegion.prg - contrib/hbqt/TQResizeEvent.prg - contrib/hbqt/TQResource.prg - contrib/hbqt/TQScrollArea.prg - contrib/hbqt/TQScrollBar.prg - contrib/hbqt/TQSignalMapper.prg - contrib/hbqt/TQSize.prg - contrib/hbqt/TQSizeF.prg - contrib/hbqt/TQSizeGrip.prg - contrib/hbqt/TQSizePolicy.prg - contrib/hbqt/TQSlider.prg - contrib/hbqt/TQSound.prg - contrib/hbqt/TQSpinBox.prg - contrib/hbqt/TQSplashScreen.prg - contrib/hbqt/TQSplitter.prg - contrib/hbqt/TQStandardItem.prg - contrib/hbqt/TQStandardItemModel.prg - contrib/hbqt/TQStatusBar.prg - contrib/hbqt/TQStringList.prg - contrib/hbqt/TQStringListModel.prg - contrib/hbqt/TQStyle.prg - contrib/hbqt/TQStyledItemDelegate.prg - contrib/hbqt/TQStyleFactory.prg - contrib/hbqt/TQStyleHintReturn.prg - contrib/hbqt/TQStyleHintReturnMask.prg - contrib/hbqt/TQStyleHintReturnVariant.prg - contrib/hbqt/TQStyleOption.prg - contrib/hbqt/TQStyleOptionButton.prg - contrib/hbqt/TQStyleOptionComboBox.prg - contrib/hbqt/TQStyleOptionComplex.prg - contrib/hbqt/TQStyleOptionDockWidget.prg - contrib/hbqt/TQStyleOptionFocusRect.prg - contrib/hbqt/TQStyleOptionFrame.prg - contrib/hbqt/TQStyleOptionGroupBox.prg - contrib/hbqt/TQStyleOptionHeader.prg - contrib/hbqt/TQStyleOptionMenuItem.prg - contrib/hbqt/TQStyleOptionProgressBar.prg - contrib/hbqt/TQStyleOptionSizeGrip.prg - contrib/hbqt/TQStyleOptionSlider.prg - contrib/hbqt/TQStyleOptionSpinBox.prg - contrib/hbqt/TQStyleOptionTab.prg - contrib/hbqt/TQStyleOptionTabBarBase.prg - contrib/hbqt/TQStyleOptionTabWidgetFrame.prg - contrib/hbqt/TQStyleOptionTitleBar.prg - contrib/hbqt/TQStyleOptionToolBar.prg - contrib/hbqt/TQStyleOptionToolBox.prg - contrib/hbqt/TQStyleOptionToolButton.prg - contrib/hbqt/TQStyleOptionViewItem.prg - contrib/hbqt/TQStylePainter.prg - contrib/hbqt/TQSystemTrayIcon.prg - contrib/hbqt/TQTabBar.prg - contrib/hbqt/TQTableView.prg - contrib/hbqt/TQTableWidget.prg - contrib/hbqt/TQTableWidgetItem.prg - contrib/hbqt/TQTabWidget.prg - contrib/hbqt/TQTextBlock.prg - contrib/hbqt/TQTextBlockFormat.prg - contrib/hbqt/TQTextBlockGroup.prg - contrib/hbqt/TQTextBoundaryFinder.prg - contrib/hbqt/TQTextBrowser.prg - contrib/hbqt/TQTextCharFormat.prg - contrib/hbqt/TQTextCodec.prg - contrib/hbqt/TQTextCursor.prg - contrib/hbqt/TQTextDecoder.prg - contrib/hbqt/TQTextDocument.prg - contrib/hbqt/TQTextDocumentFragment.prg - contrib/hbqt/TQTextDocumentWriter.prg - contrib/hbqt/TQTextEdit.prg - contrib/hbqt/TQTextEncoder.prg - contrib/hbqt/TQTextFormat.prg - contrib/hbqt/TQTextFragment.prg - contrib/hbqt/TQTextFrame.prg - contrib/hbqt/TQTextFrameFormat.prg - contrib/hbqt/TQTextImageFormat.prg - contrib/hbqt/TQTextInlineObject.prg - contrib/hbqt/TQTextItem.prg - contrib/hbqt/TQTextLayout.prg - contrib/hbqt/TQTextLength.prg - contrib/hbqt/TQTextLine.prg - contrib/hbqt/TQTextObject.prg - contrib/hbqt/TQTextStream.prg - contrib/hbqt/TQTimeEdit.prg - contrib/hbqt/TQTimer.prg - contrib/hbqt/TQToolBar.prg - contrib/hbqt/TQToolBox.prg - contrib/hbqt/TQToolButton.prg - contrib/hbqt/TQTreeView.prg - contrib/hbqt/TQTreeWidget.prg - contrib/hbqt/TQTreeWidgetItem.prg - contrib/hbqt/TQUrl.prg - contrib/hbqt/TQVariant.prg - contrib/hbqt/TQVBoxLayout.prg - contrib/hbqt/TQWebFrame.prg - contrib/hbqt/TQWebHistory.prg - contrib/hbqt/TQWebHistoryInterface.prg - contrib/hbqt/TQWebHistoryItem.prg - contrib/hbqt/TQWebHitTestResult.prg - contrib/hbqt/TQWebPage.prg - contrib/hbqt/TQWebPluginFactory.prg - contrib/hbqt/TQWebSecurityOrigin.prg - contrib/hbqt/TQWebSettings.prg - contrib/hbqt/TQWebView.prg - contrib/hbqt/TQWheelEvent.prg - contrib/hbqt/TQWidget.prg - contrib/hbqt/TQWidgetAction.prg - contrib/hbqt/TQWidgetItem.prg - contrib/hbqt/TQWindowsStyle.prg - contrib/hbqt/TQWindowsXPStyle.prg - contrib/hbqt/TQWizard.prg + contrib/hbqt/qtcore + contrib/hbqt/qtcore/filelist.mk + contrib/hbqt/qtcore/Makefile + contrib/hbqt/qtcore/QAbstractItemModel.cpp + contrib/hbqt/qtcore/QAbstractListModel.cpp + contrib/hbqt/qtcore/QAbstractTableModel.cpp + contrib/hbqt/qtcore/QBitArray.cpp + contrib/hbqt/qtcore/QByteArray.cpp + contrib/hbqt/qtcore/QCoreApplication.cpp + contrib/hbqt/qtcore/QDataStream.cpp + contrib/hbqt/qtcore/QDate.cpp + contrib/hbqt/qtcore/QDateTime.cpp + contrib/hbqt/qtcore/QDir.cpp + contrib/hbqt/qtcore/QEvent.cpp + contrib/hbqt/qtcore/QEventLoop.cpp + contrib/hbqt/qtcore/QFile.cpp + contrib/hbqt/qtcore/QFileInfo.cpp + contrib/hbqt/qtcore/QIODevice.cpp + contrib/hbqt/qtcore/QLatin1Char.cpp + contrib/hbqt/qtcore/QLatin1String.cpp + contrib/hbqt/qtcore/QLine.cpp + contrib/hbqt/qtcore/QLineF.cpp + contrib/hbqt/qtcore/QList.cpp + contrib/hbqt/qtcore/QLocale.cpp + contrib/hbqt/qtcore/QMimeData.cpp + contrib/hbqt/qtcore/QModelIndex.cpp + contrib/hbqt/qtcore/QObject.cpp + contrib/hbqt/qtcore/QPoint.cpp + contrib/hbqt/qtcore/QPointF.cpp + contrib/hbqt/qtcore/QProcess.cpp + contrib/hbqt/qtcore/QRect.cpp + contrib/hbqt/qtcore/QRectF.cpp + contrib/hbqt/qtcore/QRegExp.cpp + contrib/hbqt/qtcore/QResource.cpp + contrib/hbqt/qtcore/QSignalMapper.cpp + contrib/hbqt/qtcore/QSize.cpp + contrib/hbqt/qtcore/QSizeF.cpp + contrib/hbqt/qtcore/QStringList.cpp + contrib/hbqt/qtcore/QTextBoundaryFinder.cpp + contrib/hbqt/qtcore/QTextCodec.cpp + contrib/hbqt/qtcore/QTextDecoder.cpp + contrib/hbqt/qtcore/QTextEncoder.cpp + contrib/hbqt/qtcore/QTextStream.cpp + contrib/hbqt/qtcore/QThread.cpp + contrib/hbqt/qtcore/QTime.cpp + contrib/hbqt/qtcore/QTimer.cpp + contrib/hbqt/qtcore/QTranslator.cpp + contrib/hbqt/qtcore/QUrl.cpp + contrib/hbqt/qtcore/QVariant.cpp + contrib/hbqt/qtcore/TQAbstractItemModel.prg + contrib/hbqt/qtcore/TQAbstractListModel.prg + contrib/hbqt/qtcore/TQAbstractTableModel.prg + contrib/hbqt/qtcore/TQBitArray.prg + contrib/hbqt/qtcore/TQByteArray.prg + contrib/hbqt/qtcore/TQCoreApplication.prg + contrib/hbqt/qtcore/TQDataStream.prg + contrib/hbqt/qtcore/TQDate.prg + contrib/hbqt/qtcore/TQDateTime.prg + contrib/hbqt/qtcore/TQDir.prg + contrib/hbqt/qtcore/TQEvent.prg + contrib/hbqt/qtcore/TQEventLoop.prg + contrib/hbqt/qtcore/TQFile.prg + contrib/hbqt/qtcore/TQFileInfo.prg + contrib/hbqt/qtcore/TQIODevice.prg + contrib/hbqt/qtcore/TQLatin1Char.prg + contrib/hbqt/qtcore/TQLatin1String.prg + contrib/hbqt/qtcore/TQLine.prg + contrib/hbqt/qtcore/TQLineF.prg + contrib/hbqt/qtcore/TQList.prg + contrib/hbqt/qtcore/TQLocale.prg + contrib/hbqt/qtcore/TQMimeData.prg + contrib/hbqt/qtcore/TQModelIndex.prg + contrib/hbqt/qtcore/TQObject.prg + contrib/hbqt/qtcore/TQPoint.prg + contrib/hbqt/qtcore/TQPointF.prg + contrib/hbqt/qtcore/TQProcess.prg + contrib/hbqt/qtcore/TQRect.prg + contrib/hbqt/qtcore/TQRectF.prg + contrib/hbqt/qtcore/TQRegExp.prg + contrib/hbqt/qtcore/TQResource.prg + contrib/hbqt/qtcore/TQSignalMapper.prg + contrib/hbqt/qtcore/TQSize.prg + contrib/hbqt/qtcore/TQSizeF.prg + contrib/hbqt/qtcore/TQStringList.prg + contrib/hbqt/qtcore/TQTextBoundaryFinder.prg + contrib/hbqt/qtcore/TQTextCodec.prg + contrib/hbqt/qtcore/TQTextDecoder.prg + contrib/hbqt/qtcore/TQTextEncoder.prg + contrib/hbqt/qtcore/TQTextStream.prg + contrib/hbqt/qtcore/TQThread.prg + contrib/hbqt/qtcore/TQTime.prg + contrib/hbqt/qtcore/TQTimer.prg + contrib/hbqt/qtcore/TQTranslator.prg + contrib/hbqt/qtcore/TQUrl.prg + contrib/hbqt/qtcore/TQVariant.prg + contrib/hbqt/qtgui + contrib/hbqt/qtgui/filelist.mk + contrib/hbqt/qtgui/Makefile + contrib/hbqt/qtgui/QAbstractButton.cpp + contrib/hbqt/qtgui/QAbstractItemDelegate.cpp + contrib/hbqt/qtgui/QAbstractItemView.cpp + contrib/hbqt/qtgui/QAbstractPrintDialog.cpp + contrib/hbqt/qtgui/QAbstractProxyModel.cpp + contrib/hbqt/qtgui/QAbstractScrollArea.cpp + contrib/hbqt/qtgui/QAbstractSlider.cpp + contrib/hbqt/qtgui/QAbstractSpinBox.cpp + contrib/hbqt/qtgui/QAbstractTextDocumentLayout.cpp + contrib/hbqt/qtgui/QAction.cpp + contrib/hbqt/qtgui/QActionGroup.cpp + contrib/hbqt/qtgui/QApplication.cpp + contrib/hbqt/qtgui/QBitmap.cpp + contrib/hbqt/qtgui/QBoxLayout.cpp + contrib/hbqt/qtgui/QBrush.cpp + contrib/hbqt/qtgui/QButtonGroup.cpp + contrib/hbqt/qtgui/QCalendarWidget.cpp + contrib/hbqt/qtgui/QCheckBox.cpp + contrib/hbqt/qtgui/QClipboard.cpp + contrib/hbqt/qtgui/QColor.cpp + contrib/hbqt/qtgui/QColorDialog.cpp + contrib/hbqt/qtgui/QComboBox.cpp + contrib/hbqt/qtgui/QCommandLinkButton.cpp + contrib/hbqt/qtgui/QCommonStyle.cpp + contrib/hbqt/qtgui/QCompleter.cpp + contrib/hbqt/qtgui/QConicalGradient.cpp + contrib/hbqt/qtgui/QContextMenuEvent.cpp + contrib/hbqt/qtgui/QCursor.cpp + contrib/hbqt/qtgui/QDateEdit.cpp + contrib/hbqt/qtgui/QDateTimeEdit.cpp + contrib/hbqt/qtgui/QDesktopWidget.cpp + contrib/hbqt/qtgui/QDial.cpp + contrib/hbqt/qtgui/QDialog.cpp + contrib/hbqt/qtgui/QDirModel.cpp + contrib/hbqt/qtgui/QDockWidget.cpp + contrib/hbqt/qtgui/QDoubleSpinBox.cpp + contrib/hbqt/qtgui/QDragEnterEvent.cpp + contrib/hbqt/qtgui/QDragLeaveEvent.cpp + contrib/hbqt/qtgui/QDragMoveEvent.cpp + contrib/hbqt/qtgui/QDropEvent.cpp + contrib/hbqt/qtgui/QErrorMessage.cpp + contrib/hbqt/qtgui/QFileDialog.cpp + contrib/hbqt/qtgui/QFileIconProvider.cpp + contrib/hbqt/qtgui/QFileSystemModel.cpp + contrib/hbqt/qtgui/QFocusEvent.cpp + contrib/hbqt/qtgui/QFocusFrame.cpp + contrib/hbqt/qtgui/QFont.cpp + contrib/hbqt/qtgui/QFontComboBox.cpp + contrib/hbqt/qtgui/QFontDatabase.cpp + contrib/hbqt/qtgui/QFontDialog.cpp + contrib/hbqt/qtgui/QFontInfo.cpp + contrib/hbqt/qtgui/QFontMetrics.cpp + contrib/hbqt/qtgui/QFontMetricsF.cpp + contrib/hbqt/qtgui/QFormLayout.cpp + contrib/hbqt/qtgui/QFrame.cpp + contrib/hbqt/qtgui/QGradient.cpp + contrib/hbqt/qtgui/QGridLayout.cpp + contrib/hbqt/qtgui/QGroupBox.cpp + contrib/hbqt/qtgui/QHBoxLayout.cpp + contrib/hbqt/qtgui/QHeaderView.cpp + contrib/hbqt/qtgui/QHelpEvent.cpp + contrib/hbqt/qtgui/QIcon.cpp + contrib/hbqt/qtgui/QImage.cpp + contrib/hbqt/qtgui/QImageReader.cpp + contrib/hbqt/qtgui/QImageWriter.cpp + contrib/hbqt/qtgui/QInputContext.cpp + contrib/hbqt/qtgui/QInputDialog.cpp + contrib/hbqt/qtgui/QInputEvent.cpp + contrib/hbqt/qtgui/QInputMethodEvent.cpp + contrib/hbqt/qtgui/QItemSelection.cpp + contrib/hbqt/qtgui/QItemSelectionModel.cpp + contrib/hbqt/qtgui/QKeyEvent.cpp + contrib/hbqt/qtgui/QKeySequence.cpp + contrib/hbqt/qtgui/QLabel.cpp + contrib/hbqt/qtgui/QLayout.cpp + contrib/hbqt/qtgui/QLayoutItem.cpp + contrib/hbqt/qtgui/QLCDNumber.cpp + contrib/hbqt/qtgui/QLinearGradient.cpp + contrib/hbqt/qtgui/QLineEdit.cpp + contrib/hbqt/qtgui/QListView.cpp + contrib/hbqt/qtgui/QListWidget.cpp + contrib/hbqt/qtgui/QListWidgetItem.cpp + contrib/hbqt/qtgui/QMainWindow.cpp + contrib/hbqt/qtgui/QMatrix.cpp + contrib/hbqt/qtgui/QMenu.cpp + contrib/hbqt/qtgui/QMenuBar.cpp + contrib/hbqt/qtgui/QMessageBox.cpp + contrib/hbqt/qtgui/QMouseEvent.cpp + contrib/hbqt/qtgui/QMoveEvent.cpp + contrib/hbqt/qtgui/QMovie.cpp + contrib/hbqt/qtgui/QPageSetupDialog.cpp + contrib/hbqt/qtgui/QPaintDevice.cpp + contrib/hbqt/qtgui/QPainter.cpp + contrib/hbqt/qtgui/QPainterPath.cpp + contrib/hbqt/qtgui/QPaintEvent.cpp + contrib/hbqt/qtgui/QPalette.cpp + contrib/hbqt/qtgui/QPen.cpp + contrib/hbqt/qtgui/QPicture.cpp + contrib/hbqt/qtgui/QPixmap.cpp + contrib/hbqt/qtgui/QPolygon.cpp + contrib/hbqt/qtgui/QPolygonF.cpp + contrib/hbqt/qtgui/QPrintDialog.cpp + contrib/hbqt/qtgui/QPrintEngine.cpp + contrib/hbqt/qtgui/QPrinter.cpp + contrib/hbqt/qtgui/QPrintPreviewDialog.cpp + contrib/hbqt/qtgui/QProgressBar.cpp + contrib/hbqt/qtgui/QProgressDialog.cpp + contrib/hbqt/qtgui/QPushButton.cpp + contrib/hbqt/qtgui/QRadialGradient.cpp + contrib/hbqt/qtgui/QRadioButton.cpp + contrib/hbqt/qtgui/QRegion.cpp + contrib/hbqt/qtgui/QResizeEvent.cpp + contrib/hbqt/qtgui/QScrollArea.cpp + contrib/hbqt/qtgui/QScrollBar.cpp + contrib/hbqt/qtgui/QSessionManager.cpp + contrib/hbqt/qtgui/QSizeGrip.cpp + contrib/hbqt/qtgui/QSizePolicy.cpp + contrib/hbqt/qtgui/QSlider.cpp + contrib/hbqt/qtgui/QSound.cpp + contrib/hbqt/qtgui/QSpacerItem.cpp + contrib/hbqt/qtgui/QSpinBox.cpp + contrib/hbqt/qtgui/QSplashScreen.cpp + contrib/hbqt/qtgui/QSplitter.cpp + contrib/hbqt/qtgui/QStandardItem.cpp + contrib/hbqt/qtgui/QStandardItemModel.cpp + contrib/hbqt/qtgui/QStatusBar.cpp + contrib/hbqt/qtgui/QStringListModel.cpp + contrib/hbqt/qtgui/QStyle.cpp + contrib/hbqt/qtgui/QStyledItemDelegate.cpp + contrib/hbqt/qtgui/QStyleFactory.cpp + contrib/hbqt/qtgui/QStyleHintReturn.cpp + contrib/hbqt/qtgui/QStyleHintReturnMask.cpp + contrib/hbqt/qtgui/QStyleHintReturnVariant.cpp + contrib/hbqt/qtgui/QStyleOption.cpp + contrib/hbqt/qtgui/QStyleOptionButton.cpp + contrib/hbqt/qtgui/QStyleOptionComboBox.cpp + contrib/hbqt/qtgui/QStyleOptionComplex.cpp + contrib/hbqt/qtgui/QStyleOptionDockWidget.cpp + contrib/hbqt/qtgui/QStyleOptionFocusRect.cpp + contrib/hbqt/qtgui/QStyleOptionFrame.cpp + contrib/hbqt/qtgui/QStyleOptionGroupBox.cpp + contrib/hbqt/qtgui/QStyleOptionHeader.cpp + contrib/hbqt/qtgui/QStyleOptionMenuItem.cpp + contrib/hbqt/qtgui/QStyleOptionProgressBar.cpp + contrib/hbqt/qtgui/QStyleOptionSizeGrip.cpp + contrib/hbqt/qtgui/QStyleOptionSlider.cpp + contrib/hbqt/qtgui/QStyleOptionSpinBox.cpp + contrib/hbqt/qtgui/QStyleOptionTab.cpp + contrib/hbqt/qtgui/QStyleOptionTabBarBase.cpp + contrib/hbqt/qtgui/QStyleOptionTabWidgetFrame.cpp + contrib/hbqt/qtgui/QStyleOptionTitleBar.cpp + contrib/hbqt/qtgui/QStyleOptionToolBar.cpp + contrib/hbqt/qtgui/QStyleOptionToolBox.cpp + contrib/hbqt/qtgui/QStyleOptionToolButton.cpp + contrib/hbqt/qtgui/QStyleOptionViewItem.cpp + contrib/hbqt/qtgui/QStylePainter.cpp + contrib/hbqt/qtgui/QSystemTrayIcon.cpp + contrib/hbqt/qtgui/QTabBar.cpp + contrib/hbqt/qtgui/QTableView.cpp + contrib/hbqt/qtgui/QTableWidget.cpp + contrib/hbqt/qtgui/QTableWidgetItem.cpp + contrib/hbqt/qtgui/QTableWidgetSelectionRange.cpp + contrib/hbqt/qtgui/QTabWidget.cpp + contrib/hbqt/qtgui/QTextBlock.cpp + contrib/hbqt/qtgui/QTextBlockFormat.cpp + contrib/hbqt/qtgui/QTextBlockGroup.cpp + contrib/hbqt/qtgui/QTextBrowser.cpp + contrib/hbqt/qtgui/QTextCharFormat.cpp + contrib/hbqt/qtgui/QTextCursor.cpp + contrib/hbqt/qtgui/QTextDocument.cpp + contrib/hbqt/qtgui/QTextDocumentFragment.cpp + contrib/hbqt/qtgui/QTextDocumentWriter.cpp + contrib/hbqt/qtgui/QTextEdit.cpp + contrib/hbqt/qtgui/QTextFormat.cpp + contrib/hbqt/qtgui/QTextFragment.cpp + contrib/hbqt/qtgui/QTextFrame.cpp + contrib/hbqt/qtgui/QTextFrameFormat.cpp + contrib/hbqt/qtgui/QTextImageFormat.cpp + contrib/hbqt/qtgui/QTextInlineObject.cpp + contrib/hbqt/qtgui/QTextItem.cpp + contrib/hbqt/qtgui/QTextLayout.cpp + contrib/hbqt/qtgui/QTextLength.cpp + contrib/hbqt/qtgui/QTextLine.cpp + contrib/hbqt/qtgui/QTextListFormat.cpp + contrib/hbqt/qtgui/QTextObject.cpp + contrib/hbqt/qtgui/QTextOption.cpp + contrib/hbqt/qtgui/QTextTableFormat.cpp + contrib/hbqt/qtgui/QTimeEdit.cpp + contrib/hbqt/qtgui/QToolBar.cpp + contrib/hbqt/qtgui/QToolBox.cpp + contrib/hbqt/qtgui/QToolButton.cpp + contrib/hbqt/qtgui/QTransform.cpp + contrib/hbqt/qtgui/QTreeView.cpp + contrib/hbqt/qtgui/QTreeWidget.cpp + contrib/hbqt/qtgui/QTreeWidgetItem.cpp + contrib/hbqt/qtgui/QValidator.cpp + contrib/hbqt/qtgui/QVBoxLayout.cpp + contrib/hbqt/qtgui/QWheelEvent.cpp + contrib/hbqt/qtgui/QWidget.cpp + contrib/hbqt/qtgui/QWidgetAction.cpp + contrib/hbqt/qtgui/QWidgetItem.cpp + contrib/hbqt/qtgui/QWindowsStyle.cpp + contrib/hbqt/qtgui/QWindowsXPStyle.cpp + contrib/hbqt/qtgui/QWizard.cpp + contrib/hbqt/qtgui/QWizardPage.cpp + contrib/hbqt/qtgui/TQAbstractButton.prg + contrib/hbqt/qtgui/TQAbstractItemDelegate.prg + contrib/hbqt/qtgui/TQAbstractItemView.prg + contrib/hbqt/qtgui/TQAbstractPrintDialog.prg + contrib/hbqt/qtgui/TQAbstractProxyModel.prg + contrib/hbqt/qtgui/TQAbstractScrollArea.prg + contrib/hbqt/qtgui/TQAbstractSlider.prg + contrib/hbqt/qtgui/TQAbstractSpinBox.prg + contrib/hbqt/qtgui/TQAbstractTextDocumentLayout.prg + contrib/hbqt/qtgui/TQAction.prg + contrib/hbqt/qtgui/TQActionGroup.prg + contrib/hbqt/qtgui/TQApplication.prg + contrib/hbqt/qtgui/TQBitmap.prg + contrib/hbqt/qtgui/TQBoxLayout.prg + contrib/hbqt/qtgui/TQBrush.prg + contrib/hbqt/qtgui/TQButtonGroup.prg + contrib/hbqt/qtgui/TQCalendarWidget.prg + contrib/hbqt/qtgui/TQCheckBox.prg + contrib/hbqt/qtgui/TQClipboard.prg + contrib/hbqt/qtgui/TQColor.prg + contrib/hbqt/qtgui/TQColorDialog.prg + contrib/hbqt/qtgui/TQComboBox.prg + contrib/hbqt/qtgui/TQCommandLinkButton.prg + contrib/hbqt/qtgui/TQCommonStyle.prg + contrib/hbqt/qtgui/TQCompleter.prg + contrib/hbqt/qtgui/TQConicalGradient.prg + contrib/hbqt/qtgui/TQContextMenuEvent.prg + contrib/hbqt/qtgui/TQCursor.prg + contrib/hbqt/qtgui/TQDateEdit.prg + contrib/hbqt/qtgui/TQDateTimeEdit.prg + contrib/hbqt/qtgui/TQDesktopWidget.prg + contrib/hbqt/qtgui/TQDial.prg + contrib/hbqt/qtgui/TQDialog.prg + contrib/hbqt/qtgui/TQDirModel.prg + contrib/hbqt/qtgui/TQDockWidget.prg + contrib/hbqt/qtgui/TQDoubleSpinBox.prg + contrib/hbqt/qtgui/TQDragEnterEvent.prg + contrib/hbqt/qtgui/TQDragLeaveEvent.prg + contrib/hbqt/qtgui/TQDragMoveEvent.prg + contrib/hbqt/qtgui/TQDropEvent.prg + contrib/hbqt/qtgui/TQErrorMessage.prg + contrib/hbqt/qtgui/TQFileDialog.prg + contrib/hbqt/qtgui/TQFileIconProvider.prg + contrib/hbqt/qtgui/TQFileSystemModel.prg + contrib/hbqt/qtgui/TQFocusEvent.prg + contrib/hbqt/qtgui/TQFocusFrame.prg + contrib/hbqt/qtgui/TQFont.prg + contrib/hbqt/qtgui/TQFontComboBox.prg + contrib/hbqt/qtgui/TQFontDatabase.prg + contrib/hbqt/qtgui/TQFontDialog.prg + contrib/hbqt/qtgui/TQFontInfo.prg + contrib/hbqt/qtgui/TQFontMetrics.prg + contrib/hbqt/qtgui/TQFontMetricsF.prg + contrib/hbqt/qtgui/TQFormLayout.prg + contrib/hbqt/qtgui/TQFrame.prg + contrib/hbqt/qtgui/TQGradient.prg + contrib/hbqt/qtgui/TQGridLayout.prg + contrib/hbqt/qtgui/TQGroupBox.prg + contrib/hbqt/qtgui/TQHBoxLayout.prg + contrib/hbqt/qtgui/TQHeaderView.prg + contrib/hbqt/qtgui/TQHelpEvent.prg + contrib/hbqt/qtgui/TQIcon.prg + contrib/hbqt/qtgui/TQImage.prg + contrib/hbqt/qtgui/TQImageReader.prg + contrib/hbqt/qtgui/TQImageWriter.prg + contrib/hbqt/qtgui/TQInputContext.prg + contrib/hbqt/qtgui/TQInputDialog.prg + contrib/hbqt/qtgui/TQInputEvent.prg + contrib/hbqt/qtgui/TQInputMethodEvent.prg + contrib/hbqt/qtgui/TQItemSelection.prg + contrib/hbqt/qtgui/TQItemSelectionModel.prg + contrib/hbqt/qtgui/TQKeyEvent.prg + contrib/hbqt/qtgui/TQKeySequence.prg + contrib/hbqt/qtgui/TQLabel.prg + contrib/hbqt/qtgui/TQLayout.prg + contrib/hbqt/qtgui/TQLayoutItem.prg + contrib/hbqt/qtgui/TQLCDNumber.prg + contrib/hbqt/qtgui/TQLinearGradient.prg + contrib/hbqt/qtgui/TQLineEdit.prg + contrib/hbqt/qtgui/TQListView.prg + contrib/hbqt/qtgui/TQListWidget.prg + contrib/hbqt/qtgui/TQListWidgetItem.prg + contrib/hbqt/qtgui/TQMainWindow.prg + contrib/hbqt/qtgui/TQMatrix.prg + contrib/hbqt/qtgui/TQMenu.prg + contrib/hbqt/qtgui/TQMenuBar.prg + contrib/hbqt/qtgui/TQMessageBox.prg + contrib/hbqt/qtgui/TQMouseEvent.prg + contrib/hbqt/qtgui/TQMoveEvent.prg + contrib/hbqt/qtgui/TQMovie.prg + contrib/hbqt/qtgui/TQPageSetupDialog.prg + contrib/hbqt/qtgui/TQPaintDevice.prg + contrib/hbqt/qtgui/TQPainter.prg + contrib/hbqt/qtgui/TQPainterPath.prg + contrib/hbqt/qtgui/TQPaintEvent.prg + contrib/hbqt/qtgui/TQPalette.prg + contrib/hbqt/qtgui/TQPen.prg + contrib/hbqt/qtgui/TQPicture.prg + contrib/hbqt/qtgui/TQPixmap.prg + contrib/hbqt/qtgui/TQPolygon.prg + contrib/hbqt/qtgui/TQPolygonF.prg + contrib/hbqt/qtgui/TQPrintDialog.prg + contrib/hbqt/qtgui/TQPrintEngine.prg + contrib/hbqt/qtgui/TQPrinter.prg + contrib/hbqt/qtgui/TQPrintPreviewDialog.prg + contrib/hbqt/qtgui/TQProgressBar.prg + contrib/hbqt/qtgui/TQProgressDialog.prg + contrib/hbqt/qtgui/TQPushButton.prg + contrib/hbqt/qtgui/TQRadialGradient.prg + contrib/hbqt/qtgui/TQRadioButton.prg + contrib/hbqt/qtgui/TQRegion.prg + contrib/hbqt/qtgui/TQResizeEvent.prg + contrib/hbqt/qtgui/TQScrollArea.prg + contrib/hbqt/qtgui/TQScrollBar.prg + contrib/hbqt/qtgui/TQSessionManager.prg + contrib/hbqt/qtgui/TQSizeGrip.prg + contrib/hbqt/qtgui/TQSizePolicy.prg + contrib/hbqt/qtgui/TQSlider.prg + contrib/hbqt/qtgui/TQSound.prg + contrib/hbqt/qtgui/TQSpacerItem.prg + contrib/hbqt/qtgui/TQSpinBox.prg + contrib/hbqt/qtgui/TQSplashScreen.prg + contrib/hbqt/qtgui/TQSplitter.prg + contrib/hbqt/qtgui/TQStandardItem.prg + contrib/hbqt/qtgui/TQStandardItemModel.prg + contrib/hbqt/qtgui/TQStatusBar.prg + contrib/hbqt/qtgui/TQStringListModel.prg + contrib/hbqt/qtgui/TQStyle.prg + contrib/hbqt/qtgui/TQStyledItemDelegate.prg + contrib/hbqt/qtgui/TQStyleFactory.prg + contrib/hbqt/qtgui/TQStyleHintReturn.prg + contrib/hbqt/qtgui/TQStyleHintReturnMask.prg + contrib/hbqt/qtgui/TQStyleHintReturnVariant.prg + contrib/hbqt/qtgui/TQStyleOption.prg + contrib/hbqt/qtgui/TQStyleOptionButton.prg + contrib/hbqt/qtgui/TQStyleOptionComboBox.prg + contrib/hbqt/qtgui/TQStyleOptionComplex.prg + contrib/hbqt/qtgui/TQStyleOptionDockWidget.prg + contrib/hbqt/qtgui/TQStyleOptionFocusRect.prg + contrib/hbqt/qtgui/TQStyleOptionFrame.prg + contrib/hbqt/qtgui/TQStyleOptionGroupBox.prg + contrib/hbqt/qtgui/TQStyleOptionHeader.prg + contrib/hbqt/qtgui/TQStyleOptionMenuItem.prg + contrib/hbqt/qtgui/TQStyleOptionProgressBar.prg + contrib/hbqt/qtgui/TQStyleOptionSizeGrip.prg + contrib/hbqt/qtgui/TQStyleOptionSlider.prg + contrib/hbqt/qtgui/TQStyleOptionSpinBox.prg + contrib/hbqt/qtgui/TQStyleOptionTab.prg + contrib/hbqt/qtgui/TQStyleOptionTabBarBase.prg + contrib/hbqt/qtgui/TQStyleOptionTabWidgetFrame.prg + contrib/hbqt/qtgui/TQStyleOptionTitleBar.prg + contrib/hbqt/qtgui/TQStyleOptionToolBar.prg + contrib/hbqt/qtgui/TQStyleOptionToolBox.prg + contrib/hbqt/qtgui/TQStyleOptionToolButton.prg + contrib/hbqt/qtgui/TQStyleOptionViewItem.prg + contrib/hbqt/qtgui/TQStylePainter.prg + contrib/hbqt/qtgui/TQSystemTrayIcon.prg + contrib/hbqt/qtgui/TQTabBar.prg + contrib/hbqt/qtgui/TQTableView.prg + contrib/hbqt/qtgui/TQTableWidget.prg + contrib/hbqt/qtgui/TQTableWidgetItem.prg + contrib/hbqt/qtgui/TQTableWidgetSelectionRange.prg + contrib/hbqt/qtgui/TQTabWidget.prg + contrib/hbqt/qtgui/TQTextBlock.prg + contrib/hbqt/qtgui/TQTextBlockFormat.prg + contrib/hbqt/qtgui/TQTextBlockGroup.prg + contrib/hbqt/qtgui/TQTextBrowser.prg + contrib/hbqt/qtgui/TQTextCharFormat.prg + contrib/hbqt/qtgui/TQTextCursor.prg + contrib/hbqt/qtgui/TQTextDocument.prg + contrib/hbqt/qtgui/TQTextDocumentFragment.prg + contrib/hbqt/qtgui/TQTextDocumentWriter.prg + contrib/hbqt/qtgui/TQTextEdit.prg + contrib/hbqt/qtgui/TQTextFormat.prg + contrib/hbqt/qtgui/TQTextFragment.prg + contrib/hbqt/qtgui/TQTextFrame.prg + contrib/hbqt/qtgui/TQTextFrameFormat.prg + contrib/hbqt/qtgui/TQTextImageFormat.prg + contrib/hbqt/qtgui/TQTextInlineObject.prg + contrib/hbqt/qtgui/TQTextItem.prg + contrib/hbqt/qtgui/TQTextLayout.prg + contrib/hbqt/qtgui/TQTextLength.prg + contrib/hbqt/qtgui/TQTextLine.prg + contrib/hbqt/qtgui/TQTextListFormat.prg + contrib/hbqt/qtgui/TQTextObject.prg + contrib/hbqt/qtgui/TQTextOption.prg + contrib/hbqt/qtgui/TQTextTableFormat.prg + contrib/hbqt/qtgui/TQTimeEdit.prg + contrib/hbqt/qtgui/TQToolBar.prg + contrib/hbqt/qtgui/TQToolBox.prg + contrib/hbqt/qtgui/TQToolButton.prg + contrib/hbqt/qtgui/TQTransform.prg + contrib/hbqt/qtgui/TQTreeView.prg + contrib/hbqt/qtgui/TQTreeWidget.prg + contrib/hbqt/qtgui/TQTreeWidgetItem.prg + contrib/hbqt/qtgui/TQValidator.prg + contrib/hbqt/qtgui/TQVBoxLayout.prg + contrib/hbqt/qtgui/TQWheelEvent.prg + contrib/hbqt/qtgui/TQWidget.prg + contrib/hbqt/qtgui/TQWidgetAction.prg + contrib/hbqt/qtgui/TQWidgetItem.prg + contrib/hbqt/qtgui/TQWindowsStyle.prg + contrib/hbqt/qtgui/TQWindowsXPStyle.prg + contrib/hbqt/qtgui/TQWizard.prg + contrib/hbqt/qtgui/TQWizardPage.prg + contrib/hbqt/qtnetwork + contrib/hbqt/qtnetwork/filelist.mk + contrib/hbqt/qtnetwork/Makefile + contrib/hbqt/qtnetwork/QFtp.cpp + contrib/hbqt/qtnetwork/QHttp.cpp + contrib/hbqt/qtnetwork/QHttpRequestHeader.cpp + contrib/hbqt/qtnetwork/QHttpResponseHeader.cpp + contrib/hbqt/qtnetwork/QNetworkRequest.cpp + contrib/hbqt/qtnetwork/TQFtp.prg + contrib/hbqt/qtnetwork/TQHttp.prg + contrib/hbqt/qtnetwork/TQHttpRequestHeader.prg + contrib/hbqt/qtnetwork/TQHttpResponseHeader.prg + contrib/hbqt/qtnetwork/TQNetworkRequest.prg + contrib/hbqt/qtwebkit + contrib/hbqt/qtwebkit/filelist.mk + contrib/hbqt/qtwebkit/Makefile + contrib/hbqt/qtwebkit/QWebFrame.cpp + contrib/hbqt/qtwebkit/QWebHistory.cpp + contrib/hbqt/qtwebkit/QWebHistoryInterface.cpp + contrib/hbqt/qtwebkit/QWebHistoryItem.cpp + contrib/hbqt/qtwebkit/QWebHitTestResult.cpp + contrib/hbqt/qtwebkit/QWebPage.cpp + contrib/hbqt/qtwebkit/QWebPluginFactory.cpp + contrib/hbqt/qtwebkit/QWebSecurityOrigin.cpp + contrib/hbqt/qtwebkit/QWebSettings.cpp + contrib/hbqt/qtwebkit/QWebView.cpp + contrib/hbqt/qtwebkit/TQWebFrame.prg + contrib/hbqt/qtwebkit/TQWebHistory.prg + contrib/hbqt/qtwebkit/TQWebHistoryInterface.prg + contrib/hbqt/qtwebkit/TQWebHistoryItem.prg + contrib/hbqt/qtwebkit/TQWebHitTestResult.prg + contrib/hbqt/qtwebkit/TQWebPage.prg + contrib/hbqt/qtwebkit/TQWebPluginFactory.prg + contrib/hbqt/qtwebkit/TQWebSecurityOrigin.prg + contrib/hbqt/qtwebkit/TQWebSettings.prg + contrib/hbqt/qtwebkit/TQWebView.prg * contrib/hbqt/tests/demoqt.prg ! A lot of changes. Please expect some instability for some time. demoqt.prg compiles and executes fine. HBXBP is in the pipeline. Viktor, please set the make system in place. 2009-10-21 17:09 UTC+0200 Viktor Szakats + contrib/hbwin/tests/testax.prg + Added self-contained AX example created by Alex Strickland. (plus some formatting and warning fix) * contrib/hbwin/axfunc.prg + Added <cID> parameter to WIN_AxGetControl(). Please review it. 2009-10-21 13:46 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/hbini.prg ! fixed stripping last character when the last line in ini file does not contain valid EOL - thanks to Mario H. Sabado for information about the problem 2009-10-21 12:11 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/rddads/rddads.h * minor fix in casting 2009-10-20 22:40 UTC+0200 Viktor Szakats * external/pcre/pcretryf.c * external/pcre/pcre.h * external/pcre/pcreexec.c * external/pcre/pcreinal.h * external/pcre/pcredfa.c * external/pcre/pcrecomp.c * external/pcre/config.h * external/pcre/LICENCE * external/pcre/pcreucd.c * external/pcre/pcreprni.h * external/pcre/pcrestud.c * external/pcre/pcrefinf.c + Updated pcre to 8.0 (from 7.9) * external/pcre/cnv_o2hb.bat * external/pcre/cnv_hb2o.bat ! Minor fix. 2009-10-20 21:35 UTC+0200 Viktor Szakats * contrib/rddads/adsfunc.c * contrib/rddads/rddads.h * contrib/rddads/ads1.c ! Fixed fatal errors for 64-bit builds. I don't know if there exist a 64-bit version of ACE, but anyway. 2009-10-20 13:48 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/vm/thread.c * harbour/include/hbthread.h * eliminated nameless unions 2009-10-20 11:37 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/config/win/xcc.mk + added small hack enabled for sh only to resolve two problems with harbour.dll in XCC builds: the import library was created in bin directory and it was using .LIB extension instead of .lib so it was not working with case sensitive FS 2009-10-20 01:20 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added option to control C compiler warning level: -warn=yes mode will set the warning level exactly the same way as it's set for Harbour builds. This is also the default setting. This setting is usually the highest useful setting, which sometimes equals to C compiler default, sometimes not. -warn=no mode will try to turn off warnings. This works exactly the same way as disabling warnings in Harbour builds. Notice this isn't supported with all C compilers, and with some compilers this equals to default C compiler mode. This mode isn't recommended for any sort of serious work. -warn=def mode will leave everything as is, IOW to C compiler defaults. There is no equivalent setting in Harbour builds. * config/wce/poccarm.mk ! Synced warning option with win/pocc. * config/wce/msvcarm.mk ! Synced warning option with win/msvc. ! Synced HB_BUILD_MODE with win/msvc. (this means C++ is now the default) * config/win/xcc.mk ! Synced warning option with pocc. * examples/hbmsql/tests/dbf2msql.prg * examples/hbmsql/tests/test.prg * examples/hbmsql/tests/hbmk.hbm * examples/hbsqlit2/tests/hbsqlite.prg * examples/hbsqlit2/tests/hbmk.hbm * examples/hbapollo/tests/hbmk.hbm * examples/hbapollo/tests/apollo.prg * examples/hbvpdf/tests/pdf_demo.prg * examples/hbvpdf/tests/hbmk.hbm * examples/hbvpdf/tests/tstpdf.prg ! Fixed warnings and errors in example test apps. + Added -es2 option to test default options in examples. 2009-10-20 01:18 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbwin/oleinit.c * harbour/contrib/hbwin/hbwinole.h * modified hb_oleInit() function to return logical value indicating success 2009-10-19 23:13 UTC+0200 Viktor Szakats * contrib/gtalleg/tests/hbmk.hbm * contrib/hbmysql/utils/hbmk.hbm * contrib/hbmysql/utils/dbf2mysq.prg * contrib/hbmysql/tests/test.prg * contrib/hbmysql/tests/hbmk.hbm * contrib/hbct/tests/tab.prg * contrib/hbct/tests/tokensep.prg * contrib/hbct/tests/datetime.prg * contrib/hbct/tests/hbmk.hbm * contrib/hbct/tests/token2.prg * contrib/hbct/tests/charhist.prg * contrib/xhb/tests/hbmk.hbm * contrib/hbodbc/tests/hbmk.hbm * contrib/hbtpathy/tests/hbmk.hbm * contrib/hbmzip/tests/hbmk.hbm * contrib/hbsqlit3/tests/hbmk.hbm * contrib/hbsqlit3/tests/authoriz.prg * contrib/hbblat/tests/hbmk.hbm * contrib/hbqt/tests/hbmk.hbm * contrib/hbfbird/tests/simple.prg * contrib/hbfbird/tests/test.prg * contrib/hbfbird/tests/hbmk.hbm * contrib/hbziparc/tests/hbmk.hbm * contrib/hbxbp/tests/hbmk.hbm * contrib/hbnf/tests/ftgete.prg * contrib/hbnf/tests/hbmk.hbm * contrib/hbcurl/tests/ftp_uldl.prg * contrib/hbcurl/tests/hbmk.hbm * contrib/hbmemio/tests/hbmk.hbm * contrib/gtqtc/tests/demoqtc.prg * contrib/gtqtc/tests/hbmk.hbm * contrib/hbnetio/utils/hbmk.hbm * contrib/hbnetio/tests/hbmk.hbm * contrib/rddsql/tests/hbmk.hbm * contrib/hbhpdf/tests/harupdf.prg * contrib/hbhpdf/tests/hbmk.hbm * contrib/rddado/tests/hbmk.hbm * contrib/gtwvg/tests/hbmk.hbm * contrib/hbpgsql/tests/async.prg * contrib/hbpgsql/tests/test.prg * contrib/hbpgsql/tests/hbmk.hbm * contrib/hbpgsql/tests/cache.prg * contrib/hbpgsql/tests/stress.prg * contrib/hbpgsql/tests/dbf2pg.prg * contrib/hbclipsm/tests/hbmk.hbm * contrib/rddads/tests/datad.prg * contrib/rddads/tests/hbmk.hbm * contrib/rddads/tests/testmg.prg * contrib/hbfimage/tests/fitest.prg * contrib/hbfimage/tests/hbmk.hbm * contrib/hbgd/tests/tostring.prg * contrib/hbgd/tests/gdtestcl.prg * contrib/hbgd/tests/gdtest.prg * contrib/hbgd/tests/animgif.prg * contrib/hbgd/tests/testdpi.prg * contrib/hbgd/tests/hbmk.hbm * contrib/hbgd/tests/counter.prg * contrib/hbgd/tests/antialia.prg * contrib/hbgd/tests/bartest.prg * contrib/hbgd/tests/barms.prg * contrib/hbgd/tests/test_out.prg * contrib/hbmisc/tests/testhbf.prg * contrib/hbmisc/tests/hbmk.hbm * contrib/hbmisc/tests/twirl.prg * contrib/hbtip/tests/dnldftp.prg * contrib/hbtip/tests/upld_ftp.prg * contrib/hbtip/tests/dbtohtml.prg * contrib/hbtip/tests/hbmk.hbm * contrib/hbwin/hbwin.h * contrib/hbwin/hbwin.ch * contrib/hbwin/tests/testsim.prg * contrib/hbwin/tests/testole.prg * contrib/hbwin/tests/testcom2.prg * contrib/hbwin/win_com.c * contrib/hbssl/tests/hbmk.hbm * contrib/hbbtree/tests/hbmk.hbm ! Fixed warnings and errors in test apps. + Added -es2 option to test/util default options. * Renamed few macros in hbwin / win_com implementation: FCN* -> WIN_COM_FUN_* WPDBG* -> WIN_COM_DBG_* ; FIXME: Some errors are left in hbgd/test_out.prg and gtwvg to be fixed, now the can't be built. Please do it. 2009-10-19 22:13 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbextern.ch + added HB_TTOD() and HB_DTOT() functions 2009-10-19 22:12 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/dateshb.c ! fixed HB_TTOD() and HB_DTOT() results - they were reverted by mistake + added support for optional second parameter in HB_DTOT() function with time as numeric value in second() like representation or as character string with HH:MM[:S[S][.f[f[f[f]]]]] [PM|AM] representation, i.e.: ? HB_DATETIME() ? HB_DTOT( date(), seconds() ) ? HB_DTOT( date(), time() ) + added support for optional second parameter passed by reference in HB_TTOD() function. If given then this functions stores in it number of seconds in given day specified by timestamp value, i.e.: dDate := HB_TTOD( HB_DATETIME(), @nSec ) gives similar functionality to: dDate := date() nSec := seconds() + added support for optional 3rd parameter in HB_TTOD() functions with timestamp format. If given then this function stores time part in second parameter as formatted string value. For empty string _SET_TIMEFORMAT is used, i.e.: dDate := HB_TTOD( HB_DATETIME(), @cTime, "hh:mm:ss" ) 2009-10-19 18:15 UTC+0200 Viktor Szakats * contrib/gtalleg/tests/hbmk.hbm * contrib/hbmysql/utils/hbmk.hbm * contrib/hbmysql/tests/hbmk.hbm * contrib/hbct/tests/hbmk.hbm * contrib/xhb/tests/hbmk.hbm * contrib/hbodbc/tests/hbmk.hbm * contrib/hbtpathy/tests/hbmk.hbm * contrib/hbmzip/tests/hbmk.hbm * contrib/hbsqlit3/tests/hbmk.hbm * contrib/hbblat/tests/hbmk.hbm * contrib/hbqt/tests/hbmk.hbm * contrib/hbfbird/tests/hbmk.hbm * contrib/hbziparc/tests/hbmk.hbm * contrib/hbxbp/tests/hbmk.hbm * contrib/hbnf/tests/hbmk.hbm * contrib/hbcurl/tests/hbmk.hbm * contrib/hbmemio/tests/hbmk.hbm * contrib/gtqtc/tests/hbmk.hbm * contrib/hbnetio/utils/hbmk.hbm * contrib/hbnetio/tests/hbmk.hbm * contrib/rddsql/tests/hbmk.hbm * contrib/hbhpdf/tests/hbmk.hbm * contrib/rddado/tests/hbmk.hbm * contrib/gtwvg/tests/hbmk.hbm * contrib/hbpgsql/tests/hbmk.hbm * contrib/rddads/tests/hbmk.hbm * contrib/hbclipsm/tests/hbmk.hbm * contrib/hbfimage/tests/hbmk.hbm * contrib/hbgd/tests/hbmk.hbm * contrib/hbmisc/tests/hbmk.hbm * contrib/hbtip/tests/hbmk.hbm * contrib/hbwin/tests/hbmk.hbm * contrib/hbssl/tests/hbmk.hbm * contrib/hbbtree/tests/hbmk.hbm + Added -w3 Harbour switch to all test dirs. (in few places just formatted because it was there) ; FIXME: All tests should be eventually made fully warning free, so in the future expect -es2 switch to be added as well. [DONE] * contrib/hbwin/tests/testprn.prg ! Fixed two constant names. 2009-10-19 15:04 UTC+0200 Viktor Szakats * src/common/hbwince.c ! Typos in comments. * contrib/rddads/rddads.h * Minor formatting. 2009-10-19 14:54 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/common/hbwince.c + added GetEnvironmentVariableW() - it fixes WinCE builds after recent ANSI to UNICODE function conversions. In WINCE such functions do not exist. * harbour/src/rtl/gtclip.c * pacified MinGWCE warnings * harbour/src/rtl/dateshb.c + added HB_TTOD() and HB_DTOT() functions 2009-10-19 11:53 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbexprb.c ! always optimized ASC() and LEN() functions (was disabled by -kc switch). These optimizations are not Harbour extensions - Clipper also optimize above functions * harbour/doc/cmpopt.txt * updated optimization description * harbour/doc/pp.txt + added information about new lexer 2009-10-19 10:55 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/cdpapi.c * harbour/include/hbapicdp.h + added new functions: hb_cdpStrnToU16LE() and hb_cdpStringInU16Length() * harbour/contrib/rddads/rddads.h ! define (if not defined) x64 macro in all 64-bit builds not only for MinGW64 * define (if not defined) unix macro in all HB_OS_UNIX builds not only for Linux. TOCHECK: CygWIN builds. 2009-10-19 01:31 UTC+0600 April White (bright.tigra gmail.com) + harbour/doc/en-en/1stread.txt ! initial version of a 'doc' formatted 'read-me' file + harbour/doc/en-en/hashes.txt ! initial version of hashes doc * harbour/doc/cmpopt.txt * harbour/doc/destruct.txt * harbour/doc/en-en/array.txt * harbour/doc/en-en/command.txt * harbour/doc/en-en/dbstrux.txt * harbour/doc/en-en/gnulice.txt * harbour/doc/en-en/rddmisc.txt * harbour/doc/en-en/set.txt * harbour/doc/en-en/strotype.txt * minor formatting 2009-10-18 13:47 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbsocket.h * harbour/src/rtl/hbsocket.c * added new function b_socketResolveInetAddr() * harbour/ChangeLog * minor formatting 2009-10-17 21:10 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbmemio/memio.c * casting for 64-bit builds 2009-10-17 01:22 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/Makefile + harbour/src/rtl/hbbffnc.c * harbour/include/hbextern.ch + added PRG functions for BlowFish encryption: hb_blowfishKey( <cPass> ) -> <bfKey> hb_blowfishEncrypt( <bfKey>, <cData> ) -> <cCryptedData> hb_blowfishDecrypt( <bfKey>, <cCryptedData> ) -> <cData> On errors above functions return NIL. Warning: the size of encrypted data is padded to 64-bit (8 bytes) so it's bigger then original one. 2009-10-16 20:02 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/Makefile + harbour/src/rtl/hbbfish.c * harbour/include/Makefile + harbour/include/hbbfish.h + added support for BlowFish encryption at C level: hb_blowfishInit(), hb_blowfishEncrypt(), hb_blowfishDecrypt() This code implements BlowFish algorithm designed by Bruce Schneier. The description of BlowFish algorithm can be found at: https://www.schneier.com/paper-blowfish-fse.html This code uses for initial s-boxes and p-array values PI hex digits taken from tables public at: https://www.schneier.com/blowfish.html which can be downloaded from: https://www.schneier.com/code/constants.txt This should be quite fast implementation (probably much faster then reference one) but please remember that in BlowFish algorithm startup initialization of encryption tables is intentionally designed to be expensive to strongly reduce the efficiency of brute force attacks so call hb_blowfishInit() once for each new password and then reuse initialized encryption tables in hb_blowfishEncrypt() and hb_blowfishDecrypt(). I'll add .prg functions later. TODO: add some asymmetric key encryption. 2009-10-16 13:54 UTC+0200 Viktor Szakats * contrib/hbtip/sendmail.prg * contrib/hbtip/mail.prg ! Fixed encoding of subject, from, to, cc, bcc address lists, in some places it was missing (cc, bcc, from), in some other places multiple address support was missing (to, cc, bcc) from recent addition of encoding support. + Added/Fixed support for human readable name component in email addresses. + Using TIPMAIL:SETHEADER() in HB_SENDMAIL() to set above header components. ! Several minor cleanups in TIPMAIL:SETHEADER(): - handling of empty values - using space instead of tab when passing multiple addresses in headers. Haven't checked the standard, but I used to see space there. - Minor formatting, optimizations. ! Minor tweaks to space and _ char in Q encoding. Now they are both simply encoded. ; Overall probably a rewrite would be the best in case of hbtip mailing, and maybe not just for mailing. Code is full of strange tweaks, redundancy and the class layout/communication is rather strange, e.g. SMTP protocol data is passed via TURL:cFile variable from HB_SENDMAIL to SMTP client class. Also charset support is just an aftertought so user code needs close syncronisation with HB_SENDMAIL() and replicating the same parameter parsing logic on multiple layers of code. And I've probably just scratched the surface, e.g. I didn't test attachments of HTML mails and probably several other options as well. ; Anyway please test. 2009-10-15 18:43 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/generator/hbqtgen.prg ! Changes to implemented GC pointers. * contrib/hbqt/filelist.mk + hbqt_destruct.cpp * contrib/hbqt/hbqt.h ! Reworked to honor GC pointers. + contrib/hbqt/hbqt_destruct.cpp + Added routines to manage HVM controlled garbage collection. * contrib/hbqt/hbqt_slots.cpp ! Minot tweaks. * contrib/hbqt/QAbstractButton.cpp * contrib/hbqt/QAbstractItemModel.cpp * contrib/hbqt/QAbstractItemView.cpp * contrib/hbqt/QAbstractListModel.cpp * contrib/hbqt/QAbstractPrintDialog.cpp * contrib/hbqt/QAbstractScrollArea.cpp * contrib/hbqt/QAbstractSlider.cpp * contrib/hbqt/QAbstractSpinBox.cpp * contrib/hbqt/QAbstractTableModel.cpp * contrib/hbqt/QAction.cpp * contrib/hbqt/QApplication.cpp * contrib/hbqt/QBitmap.cpp * contrib/hbqt/QBoxLayout.cpp * contrib/hbqt/QBrush.cpp * contrib/hbqt/QButtonGroup.cpp * contrib/hbqt/QCalendarWidget.cpp * contrib/hbqt/QCheckBox.cpp * contrib/hbqt/QClipboard.cpp * contrib/hbqt/QColor.cpp * contrib/hbqt/QColorDialog.cpp * contrib/hbqt/QComboBox.cpp * contrib/hbqt/QCommandLinkButton.cpp * contrib/hbqt/QCommonStyle.cpp * contrib/hbqt/QConicalGradient.cpp * contrib/hbqt/QCoreApplication.cpp * contrib/hbqt/QCursor.cpp * contrib/hbqt/QDateEdit.cpp * contrib/hbqt/QDateTime.cpp * contrib/hbqt/QDateTimeEdit.cpp * contrib/hbqt/QDesktopWidget.cpp * contrib/hbqt/QDial.cpp * contrib/hbqt/QDialog.cpp * contrib/hbqt/QDir.cpp * contrib/hbqt/QDirModel.cpp * contrib/hbqt/QDockWidget.cpp * contrib/hbqt/QDoubleSpinBox.cpp * contrib/hbqt/QDragEnterEvent.cpp * contrib/hbqt/QDragLeaveEvent.cpp * contrib/hbqt/QDragMoveEvent.cpp * contrib/hbqt/QDropEvent.cpp * contrib/hbqt/QErrorMessage.cpp * contrib/hbqt/QEvent.cpp * contrib/hbqt/QEventLoop.cpp * contrib/hbqt/QFileDialog.cpp * contrib/hbqt/QFileSystemModel.cpp * contrib/hbqt/QFocusEvent.cpp * contrib/hbqt/QFocusFrame.cpp * contrib/hbqt/QFont.cpp * contrib/hbqt/QFontComboBox.cpp * contrib/hbqt/QFontDatabase.cpp * contrib/hbqt/QFontDialog.cpp * contrib/hbqt/QFontInfo.cpp * contrib/hbqt/QFontMetrics.cpp * contrib/hbqt/QFontMetricsF.cpp * contrib/hbqt/QFormLayout.cpp * contrib/hbqt/QFrame.cpp * contrib/hbqt/QFtp.cpp * contrib/hbqt/QGradient.cpp * contrib/hbqt/QGridLayout.cpp * contrib/hbqt/QGroupBox.cpp * contrib/hbqt/QHBoxLayout.cpp * contrib/hbqt/QHeaderView.cpp * contrib/hbqt/QHttp.cpp * contrib/hbqt/QIcon.cpp * contrib/hbqt/QImage.cpp * contrib/hbqt/QImageReader.cpp * contrib/hbqt/QImageWriter.cpp * contrib/hbqt/QInputDialog.cpp * contrib/hbqt/QInputEvent.cpp * contrib/hbqt/QIODevice.cpp * contrib/hbqt/QKeyEvent.cpp * contrib/hbqt/QKeySequence.cpp * contrib/hbqt/QLabel.cpp * contrib/hbqt/QLatin1Char.cpp * contrib/hbqt/QLatin1String.cpp * contrib/hbqt/QLayout.cpp * contrib/hbqt/QLayoutItem.cpp * contrib/hbqt/QLCDNumber.cpp * contrib/hbqt/QLine.cpp * contrib/hbqt/QLinearGradient.cpp * contrib/hbqt/QLineEdit.cpp * contrib/hbqt/QList.cpp * contrib/hbqt/QListView.cpp * contrib/hbqt/QListWidget.cpp * contrib/hbqt/QListWidgetItem.cpp * contrib/hbqt/QMainWindow.cpp * contrib/hbqt/QMenu.cpp * contrib/hbqt/QMenuBar.cpp * contrib/hbqt/QMessageBox.cpp * contrib/hbqt/QModelIndex.cpp * contrib/hbqt/QMouseEvent.cpp * contrib/hbqt/QMoveEvent.cpp * contrib/hbqt/QObject.cpp * contrib/hbqt/QPageSetupDialog.cpp * contrib/hbqt/QPaintDevice.cpp * contrib/hbqt/QPainter.cpp * contrib/hbqt/QPaintEvent.cpp * contrib/hbqt/QPalette.cpp * contrib/hbqt/QPen.cpp * contrib/hbqt/QPicture.cpp * contrib/hbqt/QPixmap.cpp * contrib/hbqt/QPoint.cpp * contrib/hbqt/QPointF.cpp * contrib/hbqt/QPrintDialog.cpp * contrib/hbqt/QPrintEngine.cpp * contrib/hbqt/QPrinter.cpp * contrib/hbqt/QPrintPreviewDialog.cpp * contrib/hbqt/QProcess.cpp * contrib/hbqt/QProgressBar.cpp * contrib/hbqt/QProgressDialog.cpp * contrib/hbqt/QPushButton.cpp * contrib/hbqt/QRadialGradient.cpp * contrib/hbqt/QRadioButton.cpp * contrib/hbqt/QRect.cpp * contrib/hbqt/QRectF.cpp * contrib/hbqt/QRegion.cpp * contrib/hbqt/QResizeEvent.cpp * contrib/hbqt/QResource.cpp * contrib/hbqt/QScrollArea.cpp * contrib/hbqt/QScrollBar.cpp * contrib/hbqt/QSignalMapper.cpp * contrib/hbqt/QSize.cpp * contrib/hbqt/QSizeF.cpp * contrib/hbqt/QSizeGrip.cpp * contrib/hbqt/QSizePolicy.cpp * contrib/hbqt/QSlider.cpp * contrib/hbqt/QSound.cpp * contrib/hbqt/QSpinBox.cpp * contrib/hbqt/QSplashScreen.cpp * contrib/hbqt/QSplitter.cpp * contrib/hbqt/QStandardItem.cpp * contrib/hbqt/QStandardItemModel.cpp * contrib/hbqt/QStatusBar.cpp * contrib/hbqt/QStringList.cpp * contrib/hbqt/QStringListModel.cpp * contrib/hbqt/QStyle.cpp * contrib/hbqt/QStyledItemDelegate.cpp * contrib/hbqt/QStyleFactory.cpp * contrib/hbqt/QStyleHintReturn.cpp * contrib/hbqt/QStyleHintReturnMask.cpp * contrib/hbqt/QStyleHintReturnVariant.cpp * contrib/hbqt/QStyleOption.cpp * contrib/hbqt/QStyleOptionButton.cpp * contrib/hbqt/QStyleOptionComboBox.cpp * contrib/hbqt/QStyleOptionComplex.cpp * contrib/hbqt/QStyleOptionDockWidget.cpp * contrib/hbqt/QStyleOptionFocusRect.cpp * contrib/hbqt/QStyleOptionFrame.cpp * contrib/hbqt/QStyleOptionGroupBox.cpp * contrib/hbqt/QStyleOptionHeader.cpp * contrib/hbqt/QStyleOptionMenuItem.cpp * contrib/hbqt/QStyleOptionProgressBar.cpp * contrib/hbqt/QStyleOptionSizeGrip.cpp * contrib/hbqt/QStyleOptionSlider.cpp * contrib/hbqt/QStyleOptionSpinBox.cpp * contrib/hbqt/QStyleOptionTab.cpp * contrib/hbqt/QStyleOptionTabBarBase.cpp * contrib/hbqt/QStyleOptionTabWidgetFrame.cpp * contrib/hbqt/QStyleOptionTitleBar.cpp * contrib/hbqt/QStyleOptionToolBar.cpp * contrib/hbqt/QStyleOptionToolBox.cpp * contrib/hbqt/QStyleOptionToolButton.cpp * contrib/hbqt/QStyleOptionViewItem.cpp * contrib/hbqt/QStylePainter.cpp * contrib/hbqt/QSystemTrayIcon.cpp * contrib/hbqt/QTabBar.cpp * contrib/hbqt/QTableView.cpp * contrib/hbqt/QTableWidget.cpp * contrib/hbqt/QTableWidgetItem.cpp * contrib/hbqt/QTabWidget.cpp * contrib/hbqt/QTextBlock.cpp * contrib/hbqt/QTextBlockFormat.cpp * contrib/hbqt/QTextBlockGroup.cpp * contrib/hbqt/QTextBoundaryFinder.cpp * contrib/hbqt/QTextBrowser.cpp * contrib/hbqt/QTextCharFormat.cpp * contrib/hbqt/QTextCodec.cpp * contrib/hbqt/QTextCursor.cpp * contrib/hbqt/QTextDecoder.cpp * contrib/hbqt/QTextDocument.cpp * contrib/hbqt/QTextDocumentFragment.cpp * contrib/hbqt/QTextDocumentWriter.cpp * contrib/hbqt/QTextEdit.cpp * contrib/hbqt/QTextEncoder.cpp * contrib/hbqt/QTextFormat.cpp * contrib/hbqt/QTextFragment.cpp * contrib/hbqt/QTextFrame.cpp * contrib/hbqt/QTextFrameFormat.cpp * contrib/hbqt/QTextImageFormat.cpp * contrib/hbqt/QTextInlineObject.cpp * contrib/hbqt/QTextItem.cpp * contrib/hbqt/QTextLayout.cpp * contrib/hbqt/QTextLength.cpp * contrib/hbqt/QTextLine.cpp * contrib/hbqt/QTextObject.cpp * contrib/hbqt/QTextStream.cpp * contrib/hbqt/QTimeEdit.cpp * contrib/hbqt/QTimer.cpp * contrib/hbqt/QToolBar.cpp * contrib/hbqt/QToolBox.cpp * contrib/hbqt/QToolButton.cpp * contrib/hbqt/QTreeView.cpp * contrib/hbqt/QTreeWidget.cpp * contrib/hbqt/QTreeWidgetItem.cpp * contrib/hbqt/QUrl.cpp * contrib/hbqt/QVariant.cpp * contrib/hbqt/QVBoxLayout.cpp * contrib/hbqt/QWebFrame.cpp * contrib/hbqt/QWebHistory.cpp * contrib/hbqt/QWebHistoryInterface.cpp * contrib/hbqt/QWebHistoryItem.cpp * contrib/hbqt/QWebHitTestResult.cpp * contrib/hbqt/QWebPage.cpp * contrib/hbqt/QWebPluginFactory.cpp * contrib/hbqt/QWebSecurityOrigin.cpp * contrib/hbqt/QWebSettings.cpp * contrib/hbqt/QWebView.cpp * contrib/hbqt/QWheelEvent.cpp * contrib/hbqt/QWidget.cpp * contrib/hbqt/QWidgetAction.cpp * contrib/hbqt/QWidgetItem.cpp * contrib/hbqt/QWindowsStyle.cpp * contrib/hbqt/QWindowsXPStyle.cpp * contrib/hbqt/QWizard.cpp ! Auto generated sources by virtue of changes in hbqtgen.prg * contrib/hbqt/tests/demoqt.prg * contrib/hbqt/TQAbstractButton.prg * contrib/hbqt/TQAbstractItemModel.prg * contrib/hbqt/TQAbstractItemView.prg * contrib/hbqt/TQAbstractListModel.prg * contrib/hbqt/TQAbstractPrintDialog.prg * contrib/hbqt/TQAbstractScrollArea.prg * contrib/hbqt/TQAbstractSlider.prg * contrib/hbqt/TQAbstractSpinBox.prg * contrib/hbqt/TQAbstractTableModel.prg * contrib/hbqt/TQAction.prg * contrib/hbqt/TQApplication.prg * contrib/hbqt/TQBitmap.prg * contrib/hbqt/TQBoxLayout.prg * contrib/hbqt/TQBrush.prg * contrib/hbqt/TQButtonGroup.prg * contrib/hbqt/TQCalendarWidget.prg * contrib/hbqt/TQCheckBox.prg * contrib/hbqt/TQClipboard.prg * contrib/hbqt/TQColor.prg * contrib/hbqt/TQColorDialog.prg * contrib/hbqt/TQComboBox.prg * contrib/hbqt/TQCommandLinkButton.prg * contrib/hbqt/TQCommonStyle.prg * contrib/hbqt/TQConicalGradient.prg * contrib/hbqt/TQCoreApplication.prg * contrib/hbqt/TQCursor.prg * contrib/hbqt/TQDateEdit.prg * contrib/hbqt/TQDateTime.prg * contrib/hbqt/TQDateTimeEdit.prg * contrib/hbqt/TQDesktopWidget.prg * contrib/hbqt/TQDial.prg * contrib/hbqt/TQDialog.prg * contrib/hbqt/TQDir.prg * contrib/hbqt/TQDirModel.prg * contrib/hbqt/TQDockWidget.prg * contrib/hbqt/TQDoubleSpinBox.prg * contrib/hbqt/TQDragEnterEvent.prg * contrib/hbqt/TQDragLeaveEvent.prg * contrib/hbqt/TQDragMoveEvent.prg * contrib/hbqt/TQDropEvent.prg * contrib/hbqt/TQErrorMessage.prg * contrib/hbqt/TQEvent.prg * contrib/hbqt/TQEventLoop.prg * contrib/hbqt/TQFileDialog.prg * contrib/hbqt/TQFileSystemModel.prg * contrib/hbqt/TQFocusEvent.prg * contrib/hbqt/TQFocusFrame.prg * contrib/hbqt/TQFont.prg * contrib/hbqt/TQFontComboBox.prg * contrib/hbqt/TQFontDatabase.prg * contrib/hbqt/TQFontDialog.prg * contrib/hbqt/TQFontInfo.prg * contrib/hbqt/TQFontMetrics.prg * contrib/hbqt/TQFontMetricsF.prg * contrib/hbqt/TQFormLayout.prg * contrib/hbqt/TQFrame.prg * contrib/hbqt/TQFtp.prg * contrib/hbqt/TQGradient.prg * contrib/hbqt/TQGridLayout.prg * contrib/hbqt/TQGroupBox.prg * contrib/hbqt/TQHBoxLayout.prg * contrib/hbqt/TQHeaderView.prg * contrib/hbqt/TQHttp.prg * contrib/hbqt/TQIcon.prg * contrib/hbqt/TQImage.prg * contrib/hbqt/TQImageReader.prg * contrib/hbqt/TQImageWriter.prg * contrib/hbqt/TQInputDialog.prg * contrib/hbqt/TQInputEvent.prg * contrib/hbqt/TQIODevice.prg * contrib/hbqt/TQKeyEvent.prg * contrib/hbqt/TQKeySequence.prg * contrib/hbqt/TQLabel.prg * contrib/hbqt/TQLatin1Char.prg * contrib/hbqt/TQLatin1String.prg * contrib/hbqt/TQLayout.prg * contrib/hbqt/TQLayoutItem.prg * contrib/hbqt/TQLCDNumber.prg * contrib/hbqt/TQLine.prg * contrib/hbqt/TQLinearGradient.prg * contrib/hbqt/TQLineEdit.prg * contrib/hbqt/TQList.prg * contrib/hbqt/TQListView.prg * contrib/hbqt/TQListWidget.prg * contrib/hbqt/TQListWidgetItem.prg * contrib/hbqt/TQMainWindow.prg * contrib/hbqt/TQMenu.prg * contrib/hbqt/TQMenuBar.prg * contrib/hbqt/TQMessageBox.prg * contrib/hbqt/TQModelIndex.prg * contrib/hbqt/TQMouseEvent.prg * contrib/hbqt/TQMoveEvent.prg * contrib/hbqt/TQObject.prg * contrib/hbqt/TQPageSetupDialog.prg * contrib/hbqt/TQPaintDevice.prg * contrib/hbqt/TQPainter.prg * contrib/hbqt/TQPaintEvent.prg * contrib/hbqt/TQPalette.prg * contrib/hbqt/TQPen.prg * contrib/hbqt/TQPicture.prg * contrib/hbqt/TQPixmap.prg * contrib/hbqt/TQPoint.prg * contrib/hbqt/TQPointF.prg * contrib/hbqt/TQPrintDialog.prg * contrib/hbqt/TQPrintEngine.prg * contrib/hbqt/TQPrinter.prg * contrib/hbqt/TQPrintPreviewDialog.prg * contrib/hbqt/TQProcess.prg * contrib/hbqt/TQProgressBar.prg * contrib/hbqt/TQProgressDialog.prg * contrib/hbqt/TQPushButton.prg * contrib/hbqt/TQRadialGradient.prg * contrib/hbqt/TQRadioButton.prg * contrib/hbqt/TQRect.prg * contrib/hbqt/TQRectF.prg * contrib/hbqt/TQRegion.prg * contrib/hbqt/TQResizeEvent.prg * contrib/hbqt/TQResource.prg * contrib/hbqt/TQScrollArea.prg * contrib/hbqt/TQScrollBar.prg * contrib/hbqt/TQSignalMapper.prg * contrib/hbqt/TQSize.prg * contrib/hbqt/TQSizeF.prg * contrib/hbqt/TQSizeGrip.prg * contrib/hbqt/TQSizePolicy.prg * contrib/hbqt/TQSlider.prg * contrib/hbqt/TQSound.prg * contrib/hbqt/TQSpinBox.prg * contrib/hbqt/TQSplashScreen.prg * contrib/hbqt/TQSplitter.prg * contrib/hbqt/TQStandardItem.prg * contrib/hbqt/TQStandardItemModel.prg * contrib/hbqt/TQStatusBar.prg * contrib/hbqt/TQStringList.prg * contrib/hbqt/TQStringListModel.prg * contrib/hbqt/TQStyle.prg * contrib/hbqt/TQStyledItemDelegate.prg * contrib/hbqt/TQStyleFactory.prg * contrib/hbqt/TQStyleHintReturn.prg * contrib/hbqt/TQStyleHintReturnMask.prg * contrib/hbqt/TQStyleHintReturnVariant.prg * contrib/hbqt/TQStyleOption.prg * contrib/hbqt/TQStyleOptionButton.prg * contrib/hbqt/TQStyleOptionComboBox.prg * contrib/hbqt/TQStyleOptionComplex.prg * contrib/hbqt/TQStyleOptionDockWidget.prg * contrib/hbqt/TQStyleOptionFocusRect.prg * contrib/hbqt/TQStyleOptionFrame.prg * contrib/hbqt/TQStyleOptionGroupBox.prg * contrib/hbqt/TQStyleOptionHeader.prg * contrib/hbqt/TQStyleOptionMenuItem.prg * contrib/hbqt/TQStyleOptionProgressBar.prg * contrib/hbqt/TQStyleOptionSizeGrip.prg * contrib/hbqt/TQStyleOptionSlider.prg * contrib/hbqt/TQStyleOptionSpinBox.prg * contrib/hbqt/TQStyleOptionTab.prg * contrib/hbqt/TQStyleOptionTabBarBase.prg * contrib/hbqt/TQStyleOptionTabWidgetFrame.prg * contrib/hbqt/TQStyleOptionTitleBar.prg * contrib/hbqt/TQStyleOptionToolBar.prg * contrib/hbqt/TQStyleOptionToolBox.prg * contrib/hbqt/TQStyleOptionToolButton.prg * contrib/hbqt/TQStyleOptionViewItem.prg * contrib/hbqt/TQStylePainter.prg * contrib/hbqt/TQSystemTrayIcon.prg * contrib/hbqt/TQTabBar.prg * contrib/hbqt/TQTableView.prg * contrib/hbqt/TQTableWidget.prg * contrib/hbqt/TQTableWidgetItem.prg * contrib/hbqt/TQTabWidget.prg * contrib/hbqt/TQTextBlock.prg * contrib/hbqt/TQTextBlockFormat.prg * contrib/hbqt/TQTextBlockGroup.prg * contrib/hbqt/TQTextBoundaryFinder.prg * contrib/hbqt/TQTextBrowser.prg * contrib/hbqt/TQTextCharFormat.prg * contrib/hbqt/TQTextCodec.prg * contrib/hbqt/TQTextCursor.prg * contrib/hbqt/TQTextDecoder.prg * contrib/hbqt/TQTextDocument.prg * contrib/hbqt/TQTextDocumentFragment.prg * contrib/hbqt/TQTextDocumentWriter.prg * contrib/hbqt/TQTextEdit.prg * contrib/hbqt/TQTextEncoder.prg * contrib/hbqt/TQTextFormat.prg * contrib/hbqt/TQTextFragment.prg * contrib/hbqt/TQTextFrame.prg * contrib/hbqt/TQTextFrameFormat.prg * contrib/hbqt/TQTextImageFormat.prg * contrib/hbqt/TQTextInlineObject.prg * contrib/hbqt/TQTextItem.prg * contrib/hbqt/TQTextLayout.prg * contrib/hbqt/TQTextLength.prg * contrib/hbqt/TQTextLine.prg * contrib/hbqt/TQTextObject.prg * contrib/hbqt/TQTextStream.prg * contrib/hbqt/TQTimeEdit.prg * contrib/hbqt/TQTimer.prg * contrib/hbqt/TQToolBar.prg * contrib/hbqt/TQToolBox.prg * contrib/hbqt/TQToolButton.prg * contrib/hbqt/TQTreeView.prg * contrib/hbqt/TQTreeWidget.prg * contrib/hbqt/TQTreeWidgetItem.prg * contrib/hbqt/TQUrl.prg * contrib/hbqt/TQVariant.prg * contrib/hbqt/TQVBoxLayout.prg * contrib/hbqt/TQWebFrame.prg * contrib/hbqt/TQWebHistory.prg * contrib/hbqt/TQWebHistoryInterface.prg * contrib/hbqt/TQWebHistoryItem.prg * contrib/hbqt/TQWebHitTestResult.prg * contrib/hbqt/TQWebPage.prg * contrib/hbqt/TQWebPluginFactory.prg * contrib/hbqt/TQWebSecurityOrigin.prg * contrib/hbqt/TQWebSettings.prg * contrib/hbqt/TQWebView.prg * contrib/hbqt/TQWheelEvent.prg * contrib/hbqt/TQWidget.prg * contrib/hbqt/TQWidgetAction.prg * contrib/hbqt/TQWidgetItem.prg * contrib/hbqt/TQWindowsStyle.prg * contrib/hbqt/TQWindowsXPStyle.prg * contrib/hbqt/TQWizard.prg ! Auto generated sources by virtue of changes in hbqtgen.prg [ Detailed analysis will follow in a separate thread ] 2009-10-15 12:53 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/qth/QIODevice.qth * contrib/hbqt/qth/QWidget.qth ! Commented out Windows specific function. 2009-10-15 18:01 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/compiler/genc.c * harbour/src/compiler/compi18n.c * use "w' instead of "wb" in hb_fopen flags. It causes that in some systems like DOS or Windows if CRTL supports it then all \n in generated files will be automatically translated to native EOLs (\r\n). This modification should make .pot and .c files generated by Harbour compiler more readable for DOS and Windows users. * harbour/src/compiler/gencobj.c ! fixed wrong hb_fopen() flags 't' is not documented fopen() flag so some systems may refuse to open files when it's used. 2009-10-15 17:14 UTC+0200 Viktor Szakats * src/common/hbver.c * src/rtl/fstemp.c * contrib/hbwin/win_prn2.c + Changed to use native instead of fixed ANSI version of win API calls. ; Please review me, all these are critical low-level functions, so any mistakes can be deadly. ; TODO: Remaining dynamic versions, although maybe for dynamically loaded win API functions it's better to stay with ANSI version for compatibility. [DONE] 2009-10-15 17:03 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rdd/dbfcdx/dbfcdx1.c * removed old unused macros * harbour/include/hbcompdf.h * harbour/src/compiler/hbmain.c * harbour/src/compiler/cmdcheck.c * harbour/src/compiler/complex.c * harbour/src/compiler/hbcomp.c * harbour/src/compiler/gencobj.c * harbour/src/compiler/hbusage.c + added support for -gd[.<destExt>] switch. When used Harbour compiler generates also .d file with dependencies list in the form like for make systems: <destFile>: <sourceFiles,...> optional .<destExt> parameter value can be used to replace default extension in <destFile>. Now users can generate .d files without additional overhead in the same pass as normal compilation by simple adding -gd[.<destExt>] switch to compilation command instead of executing harbour compiler second time with -sm switch. * harbour/doc/man/harbour.1 * updated man page * harbour/utils/hbmk2/hbmk2.prg * removed -kj switch - it's not longer necessary to improve -sm * minor formatting 2009-10-15 15:55 UTC+0200 Viktor Szakats * src/common/hbgete.c * src/rtl/filesys.c * src/rtl/net.c + Changed to use native instead of fixed ANSI version of win API calls. ; Please review me, all these are critical low-level functions, so any mistakes can be deadly. ; TODO: There are still some forced ANSI calls in Harbour code: (plus some dynamically called ones) --- source/common/hbver.c:264: if( GetVersionExA( &osVer ) ) source/common/hbver.c:306: if( GetVersionExA( ( OSVERSIONINFOA * ) &osVerEx ) ) source/rtl/fstemp.c:153: if( ! GetTempPathA( ( DWORD ) ( HB_PATH_MAX - 1 ), pszName ) ) source/rtl/fstemp.c:270: if( ! GetTempPathA( ( DWORD ) HB_PATH_MAX, szTempDir ) ) source/rtl/fstemp.c:278: fResult = GetTempFileNameA( szTempDir, pszPrefix ? pszPrefix : "hb", 0, pszBuffer ); contrib/hbwin/win_prn2.c:169: DWORD dwSize = GetProfileStringA( "windows", "device", "", pPrinterName, *pdwBufferSize ); --- [DONE] * src/rtl/fstemp.c * Minor formatting. 2009-10-15 13:49 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.pt_BR.po * utils/hbmk2/hbmk2.hu_HU.po * utils/hbmk2/hbmk2.prg + Added support for .d dependency files as source files in both command line and .hbc sources= line. * Changed to use hash operators instead of functions in FindNewerHeaders(). [ Probably hashes could be used much more in hbmk2 code to optimize some parts. ] * Synced the way hb_FGetDateTime() call success is handled. + Added more provision for inctrypath handling in conjunction with new dependency checking techniques. Still doesn't work though. ; FIXME: inctrypath with new dependency checking techniques. ; Please test .d support. ; NOTE: As for different fallback techniques when .d files are used, well, maybe this should be somehow signaled on a .d file basis, inside the .d file, like continue to check, stop checking, etc. ; NOTE: There is a slight chance for regressions. 2009-10-15 10:03 UTC+0200 Viktor Szakats * src/rtl/filesys.c ! hb_fsIsDrv() changed on win platform to use GetLogicalDrives() API instead of GetDriveTypeA(). This should fix existing FIXME. Thanks for Saulius Zrelskis for the suggestion. I'd like to ask users to make side-by-side comparisons with CA-Cl*pper to see if we're compatible. ! Fixed hb_fsIsDrv() on non-win platforms to always set internal error to zero. CA-Cl*pper does the same. 2009-10-14 13:18 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/qth/QFileDialog.qth * contrib/hbqt/qth/QFontDatabase.qth * contrib/hbqt/qth/QFontDialog.qth * contrib/hbqt/qth/QFontInfo.qth * contrib/hbqt/qth/QMouseEvent.qth * contrib/hbqt/qth/QPaintEvent.qth * contrib/hbqt/qth/QTableWidgetItem.qth * contrib/hbqt/qth/QTextBlock.qth * contrib/hbqt/qth/QWebHistoryItem.qth * contrib/hbqt/qth/QWebSecurityOrigin.qth ! Another round of reforms. 2009-10-14 21:37 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added .d file parsing routines contributed by Przemek. with few minor adaptations for hbmk2 and formatting. ; NOTE: Not yet used. * contrib/hbwin/tests/testole.prg + Added PocketSOAP example. Contributed by Toninho. 2009-10-14 20:09 UTC+0200 Viktor Szakats * src/rtl/gtwvt/gtwvt.c + Added _SET_OSCODEPAGE support for HB_GTINFO( HB_GTI_WINTITLE ) and HB_GTINFO( HB_GTI_SELECTCOPY ). 2009-10-14 18:46 UTC+0200 Viktor Szakats * contrib/hbwin/win_misc.c * contrib/hbwin/wapi_shellapi.c + Added _SET_OSCODEPAGE support for WAPI_SHELLEXECUTE() and WIN_RUNDETACHED(). This may make these functions incompatible in some situations. This clears two TODOs in source. * INSTALL * Minor. * ChangeLog + Item marked DONE. 2009-10-14 17:18 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/hb-func.sh ! do not look for .c files as result of hbcmp script executed with -s or -sm switch and without -g[oh] * switches. 2009-10-14 13:43 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added 'gcc -MM' based C header dependency detection in -head=native mode. Please note that it's slower than regular methods, so for projects with many .c source files this setting may not be ideal. ! Added gccomf to a few more places where checking for gcc family. 2009-10-14 10:18 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.pt_BR.po * utils/hbmk2/hbmk2.hu_HU.po * utils/hbmk2/hbmk2.prg * Renamed header parsing mode 'real' to 'native'. Looks to be the final. ! Fixed minor error in prev: one debug message was always on. ! Turn off native .prg header parsing in -xhb and -hb10 operating modes. ; TODO: for .prg header parsing use one compiler call instead of one for each .prg. ; TODO: with gcc family compilers use 'gcc -MM' mode for header parsing. Probably needs separate control, as (at first) it seems to be much slower than current simple method. [DONE] * src/codepage/cpes850c.c ! Updated to be compatible with CA-Cl*pper. Submitted by Maurizio Faccio. * src/codepage/cpesisoc.c * src/codepage/cpeswinc.c * Synced with cpes850c. * contrib/hbwin/tests/testole.prg * Minor cleanups. 2009-10-13 17:46 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/qth/QBitmap.qth * contrib/hbqt/qth/QBrush.qth * contrib/hbqt/qth/QColor.qth * contrib/hbqt/qth/QConicalGradient.qth * contrib/hbqt/qth/QCursor.qth * contrib/hbqt/qth/QDateTime.qth * contrib/hbqt/qth/QDir.qth * contrib/hbqt/qth/QDragMoveEvent.qth * contrib/hbqt/qth/QDropEvent.qth * contrib/hbqt/qth/QEvent.qth * contrib/hbqt/qth/QEventLoop.qth * contrib/hbqt/qth/QFont.qth * contrib/hbqt/qth/QFontDatabase.qth * contrib/hbqt/qth/QFontInfo.qth * contrib/hbqt/qth/QFontMetrics.qth * contrib/hbqt/qth/QFontMetricsF.qth * contrib/hbqt/qth/QIcon.qth * contrib/hbqt/qth/QImage.qth * contrib/hbqt/qth/QImageReader.qth * contrib/hbqt/qth/QImageWriter.qth * contrib/hbqt/qth/QInputEvent.qth * contrib/hbqt/qth/QKeySequence.qth * contrib/hbqt/qth/QLatin1Char.qth * contrib/hbqt/qth/QLatin1String.qth * contrib/hbqt/qth/QLine.qth * contrib/hbqt/qth/QLinearGradient.qth * contrib/hbqt/qth/QList.qth * contrib/hbqt/qth/QListWidgetItem.qth * contrib/hbqt/qth/QModelIndex.qth * contrib/hbqt/qth/QMouseEvent.qth * contrib/hbqt/qth/QPainter.qth * contrib/hbqt/qth/QPaintEvent.qth * contrib/hbqt/qth/QPalette.qth * contrib/hbqt/qth/QPen.qth * contrib/hbqt/qth/QPicture.qth * contrib/hbqt/qth/QPixmap.qth * contrib/hbqt/qth/QPoint.qth * contrib/hbqt/qth/QPointF.qth * contrib/hbqt/qth/QPrinter.qth * contrib/hbqt/qth/QRadialGradient.qth * contrib/hbqt/qth/QRect.qth * contrib/hbqt/qth/QRectF.qth * contrib/hbqt/qth/QRegion.qth * contrib/hbqt/qth/QResource.qth * contrib/hbqt/qth/QSize.qth * contrib/hbqt/qth/QSizeF.qth * contrib/hbqt/qth/QSizePolicy.qth * contrib/hbqt/qth/QStandardItem.qth * contrib/hbqt/qth/QStringList.qth * contrib/hbqt/qth/QStyleFactory.qth * contrib/hbqt/qth/QStyleOption.qth * contrib/hbqt/qth/QStyleOptionButton.qth * contrib/hbqt/qth/QStyleOptionComboBox.qth * contrib/hbqt/qth/QStyleOptionComplex.qth * contrib/hbqt/qth/QStyleOptionDockWidget.qth * contrib/hbqt/qth/QStyleOptionFocusRect.qth * contrib/hbqt/qth/QStyleOptionFrame.qth * contrib/hbqt/qth/QStyleOptionGroupBox.qth * contrib/hbqt/qth/QStyleOptionHeader.qth * contrib/hbqt/qth/QStyleOptionMenuItem.qth * contrib/hbqt/qth/QStyleOptionProgressBar.qth * contrib/hbqt/qth/QStyleOptionSizeGrip.qth * contrib/hbqt/qth/QStyleOptionSlider.qth * contrib/hbqt/qth/QStyleOptionSpinBox.qth * contrib/hbqt/qth/QStyleOptionTab.qth * contrib/hbqt/qth/QStyleOptionTabBarBase.qth * contrib/hbqt/qth/QStyleOptionTabWidgetFrame.qth * contrib/hbqt/qth/QStyleOptionTitleBar.qth * contrib/hbqt/qth/QStyleOptionToolBar.qth * contrib/hbqt/qth/QStyleOptionToolBox.qth * contrib/hbqt/qth/QStyleOptionToolButton.qth * contrib/hbqt/qth/QStyleOptionViewItem.qth * contrib/hbqt/qth/QStylePainter.qth * contrib/hbqt/qth/QTableWidgetItem.qth * contrib/hbqt/qth/QTextBlock.qth * contrib/hbqt/qth/QTextBlockFormat.qth * contrib/hbqt/qth/QTextBoundaryFinder.qth * contrib/hbqt/qth/QTextCharFormat.qth * contrib/hbqt/qth/QTextCursor.qth * contrib/hbqt/qth/QTextDecoder.qth * contrib/hbqt/qth/QTextDocumentFragment.qth * contrib/hbqt/qth/QTextDocumentWriter.qth * contrib/hbqt/qth/QTextEncoder.qth * contrib/hbqt/qth/QTextFormat.qth * contrib/hbqt/qth/QTextFragment.qth * contrib/hbqt/qth/QTextFrameFormat.qth * contrib/hbqt/qth/QTextImageFormat.qth * contrib/hbqt/qth/QTextInlineObject.qth * contrib/hbqt/qth/QTextItem.qth * contrib/hbqt/qth/QTextLayout.qth * contrib/hbqt/qth/QTextLength.qth * contrib/hbqt/qth/QTextLine.qth * contrib/hbqt/qth/QTextStream.qth * contrib/hbqt/qth/QTreeWidgetItem.qth * contrib/hbqt/qth/QUrl.qth * contrib/hbqt/qth/QVariant.qth * contrib/hbqt/qth/QWebHistoryItem.qth * contrib/hbqt/qth/QWebHitTestResult.qth * contrib/hbqt/qth/QWebSecurityOrigin.qth * contrib/hbqt/qth/QWidgetItem.qth ! One more round of "REFORMS". 2009-10-14 01:03 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/compiler/cmdcheck.c * minor formatting * harbour/src/compiler/complex.c % disabled lexer when -sm is used with -m switch. In Harbour compiler lexer is only simple translator between PP and grammar parser tokens so the overhead is rather small anyhow it eliminates executing some unnecessary code. If -sm switch is used then we need lexer to detect files included by statements like: DO <file> [WITH ... ] _procReq_( <file> ) _procReq_( <file> + <ext> ) -m switch disable including such files so we can fully eliminate lexer and preprocess PP tokens directly in a loop. Now the cost of -sm switch is reduced to the PP cost plus some minor static overhead. 2009-10-14 00:16 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbcomp.h * harbour/src/compiler/hbmain.c * harbour/src/compiler/complex.c * harbour/src/compiler/harbour.y * harbour/src/compiler/harbour.yyc % disabled grammar parser when -sm switch is used 2009-10-13 20:02 UTC+0200 Viktor Szakats * contrib/hbwin/tests/testole.prg + Added SOAP client call example. Based on the one sent to the dev list by Marek Horodyski. 2009-10-13 17:51 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.pt_BR.po * utils/hbmk2/hbmk2.hu_HU.po * utils/hbmk2/hbmk2.prg + Added support for new dependency checking method which uses Harbour compiler to find out dependent files in incremental mode. This of course only works for .prg sources, .c/rc source dependency checking will continue to use simple method which looks for '#include "' string. Enable new mode with: -head=real command-line or "head=real" .hbc option. When this mode is active .c/.rc dependency checking will be set to default 'partial' level. NOTE: The activation method is tentative and will be finalized after doing some functional and performance testing with this new feature. ; TODO: Multimodule support in incremental mode isn't complete and should be added. Currently all modules are considered as equal dependencies of parent source. I'd appreciate if this code would be peer-reviewed as I didn't make any multimodule tests. 2009-10-13 16:47 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/compiler/hbmain.c * do not set TAB after last dependencies list generated by -sm switch 2009-10-13 15:16 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbpp.h * harbour/include/hbcompdf.h * harbour/src/pp/ppcore.c * harbour/src/compiler/hbmain.c * harbour/src/compiler/cmdcheck.c * harbour/src/compiler/ppcomp.c * harbour/src/compiler/hbusage.c * harbour/doc/man/harbour.1 + added support for new compiler switch -sm which can be used to generate dependencies list. * modified HB_COMPILEBUF() function to return dependencies list instead of .HRB file body when -sm switch is used. Files in single module are separated by spaces and modules are separated by TABs (chr(9)) To reduce overhead I suggest to use in programs like hbmk2 together with -sm also -kj switch - it disables some time consuming optimizations in compiler code. 2009-10-13 12:40 UTC+0200 Viktor Szakats * contrib/hbwin/win_prn2.c ! alter hb_PrintFileRaw() to open printed file in FILE_SHARE_READ mode. (borrowed from xhb, patch by Peter Rees <peter(AT)rees.co.nz>) 2009-10-13 02:42 UTC+0200 Viktor Szakats * contrib/hbtip/sendmail.prg + Fixed to allow inclusion of descriptive name in "from" address. * contrib/hbtip/mail.prg * Minor formatting. + Apply Q encoding to subject/from/to fields. (descriptive name part only for from/to fields) ; NOTE: Please make necessary corrections. * contrib/hbtip/encqp.prg ! Also encode ASC 127. + Also encode a few more chars to make EBDIC systems happy in sync with RFC recommendation. * contrib/hbtip/client.prg + Changed to make CR LF chars appear in log output. 2009-10-13 00:21 UTC+0200 Francesco Saverio Giudice (info/at/fsgiudice.com) * harbour/src/rtl/hbini.prg * Changed hb_IniString() function name to hb_IniReadStr() + Added hb_IniWriteStr() that returns a string from an Ini hash hb_iniWriteStr( hIni, cCommentBegin, cCommentEnd, lAutoMain ) -> cData | NIL ! Fixed a previous error in logic in case of hIni with missing MAIN section * harbour/include/hbextern.ch - Removed hb_IniString() declaration + Added hb_IniReadStr() and hb_IniWriteStr() external declarations * harbour/tests/parseini.prg + Added samples of hb_IniReadStr() and hb_IniWriteStr() functions 2009-10-12 22:47 UTC+0200 Francesco Saverio Giudice (info/at/fsgiudice.com) * harbour/include/hbextern.ch + Added hb_IniString() external declaration 2009-10-12 22:28 UTC+0200 Francesco Saverio Giudice (info/at/fsgiudice.com) * harbour/src/rtl/hbini.prg * Splitted hb_IniRdLow() internal function into two functions: hb_IniFileLow( cFileSpec ) -> cData hb_IniStringLow( hIni, cData, lKeyCaseSens, cSplitters, lAutoMain ) -> hIni + Added new hb_IniString() funtion hb_IniString( cData, lKeyCaseSens, cSplitters, lAutoMain ) -> hIni that reads directly from a string. So hb_IniRead() read from a file, hb_IniString() read from memory string. 2009-10-12 18:42 UTC+0200 Viktor Szakats * contrib/hbtip/sendmail.prg ! Fixed wrongly referring to 7-bit encoding. ! Fixed some more hardcoded charsets. + Added support for user-selectable encoding. ; FIXME: Still doesn't work for some reason. [DONE] * contrib/hbtip/encqp.prg * contrib/hbtip/mail.prg * Formatting. 2009-10-12 18:24 UTC+0200 Viktor Szakats * contrib/hbtip/encqp.prg + Implemented quoted-printable encoder/decoder. Not yet used. Not extremely well tested, just something to start with. Please review. Probably should be done in C for speed, but anyway. * contrib/hbtip/sendmail.prg * contrib/hbtip/mail.prg + Added 'charset' property and setting hb_sendmail(). Not yet effective, as Harbour uses 7-bit encoding yet. * utils/hbmk2/examples/hmg.hbc * Updated HMG hbmk2 config file with some extra tricks. 2009-10-12 06:01 UTC+0200 Viktor Szakats * contrib/hbssl/evpciph.c * contrib/hbssl/evpmd.c * contrib/hbssl/evpenc.c * contrib/hbssl/hbssl.h * contrib/hbssl/evppkey.c ! Cleaned header usage. Should fix some C++ mode link errors. 2009-10-12 05:29 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/config/darwin/gcc.mk * harbour/config/darwin/icc.mk * harbour/config/darwin/clang.mk * harbour/config/linux/gcc.mk ! fixed soft links to harbour shared library - they should not contain any paths 2009-10-12 01:14 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/debian/rules ! fixed typo: HB_INC_INSTALL<->HB_LIB_INSTALL * harbour/debian/changelog * updated version number * harbour/mpkg_deb.sh * do not create unnecessary source code archive 2009-10-12 00:34 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/debian/copyright * harbour/debian/rules * harbour/src/common/hbtrace.c * harbour/src/rdd/usrrdd/rdds/logrdd.prg * harbour/tests/cpinfo.prg * harbour/doc/gtapi.txt * harbour/doc/en-EN/string.txt * harbour/doc/en-EN/license.txt * harbour/doc/en-EN/compiler.txt * harbour/doc/en-EN/terminal.txt * harbour/doc/en-EN/dbstrux.txt * harbour/doc/en-EN/idle.txt * harbour/doc/en-EN/garbage.txt * harbour/doc/en-EN/browse.txt * harbour/doc/en-EN/lang.txt * harbour/doc/en-EN/misc.txt * harbour/doc/windll.txt * harbour/doc/whatsnew.txt * harbour/COPYING * finished some missed source/ -> src/ translations 2009-10-11 20:49 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/cdpapi.c ! fixed bad typo in last commit 2009-10-11 19:54 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapicdp.h * harbour/src/rtl/cdpapi.c * harbour/src/rtl/is.c * moved hb_charIs*() functions to cdpapi.c file for easier updating in the future % optimized memory allocation for new codepages * harbour/contrib/hbct/pos1.c * use hb_charIs*() functions instead of accessing HB_CODEPAGE structure members 2009-10-11 14:52 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/hb-func.sh - removed from hb* scripts old GCC options not longer used to build Harbour core code 2009-10-11 10:51 UTC+0200 Viktor Szakats * contrib/hbssl/sslsess.c * contrib/hbssl/ssl.c * contrib/hbssl/hbssl.h * contrib/hbssl/sslctx.c + Added partial support for OpenSSL 1.0.0beta3. Partial because I'm getting a few errors which I cannot resolve, help/input is welcome from interested parties: --- cl.exe -nologo -I. -I../../../../../include -Gs -TP -W4 -wd4127 -Ot2b1 -EHs-c- -MT -IC:\devl\openssl-1.0.0-beta3\include -DOPENSSL_OPT_WINDLL -DUNICODE -Fossl.obj -c ../../../ssl.c ssl.c ../../../ssl.c(1366) : error C2440: '<function-style-cast>' : cannot convert from 'LPCSTR' to 'HB_FUN_SSL_GET_CLIENT_CA_LIST::stack_st_' Source or target has incomplete type ../../../ssl.c(1366) : error C2059: syntax error : ')' ../../../ssl.c(1374) : error C2059: syntax error : ')' ../../../ssl.c(1391) : error C2440: '<function-style-cast>' : cannot convert from 'LPCSTR' to 'HB_FUN_SSL_LOAD_CLIENT_CA_FILE::stack_st_' Source or target has incomplete type ../../../ssl.c(1391) : error C2059: syntax error : ')' ../../../ssl.c(1399) : error C2059: syntax error : ')' --- The same in sslctx, plus another weird one regarding X509_NAME. * INSTALL * Updated email size limit on dev list. 2009-10-10 11:02 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/qth/QPen.qth * contrib/hbqt/qth/QPrintPreviewDialog.qth * contrib/hbqt/qth/QRegion.qth * contrib/hbqt/qth/QTextStream.qth ! The next round. 2009-10-09 19:10 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/qth/QApplication.qth * contrib/hbqt/qth/QBoxLayout.qth * contrib/hbqt/qth/QBrush.qth * contrib/hbqt/qth/QClipboard.qth * contrib/hbqt/qth/QColorDialog.qth * contrib/hbqt/qth/QCursor.qth * contrib/hbqt/qth/QInputEvent.qth * contrib/hbqt/qth/QList.qth * contrib/hbqt/qth/QSizeF.qth * contrib/hbqt/qth/QTextBlockGroup.qth * contrib/hbqt/qth/QTextCodec.qth * contrib/hbqt/qth/QTextObject.qth * contrib/hbqt/qth/QWebFrame.qth * contrib/hbqt/qth/QWebHistory.qth * contrib/hbqt/qth/QWebSettings.qth ! Preliminaries for next massive update, probably. 2009-10-09 22:22 UTC+0200 Viktor Szakats * ChangeLog * Marked TODO/FIXME items as DONE. * utils/hbmk2/hbmk2.prg % Cleaned -KPIC option handling. * contrib/hbsqlit3/hbsqlit3.ch - Deleted hack with SQLITE_TEXT macro. 2009-10-09 16:53 UTC+0200 Viktor Szakats - source + src * src/Makefile * src/dynlib/mt/Makefile * src/dynlib/Makefile * INSTALL * Makefile * ChangeLog * harbour.spec * mpkg_tgz.sh * Renamed 'source' dir to 'src' to move closer to other FOSS projects. It's also easier to type, plus it has the side effect that some command-lines will be shorter in the build process. 2009-10-09 10:13 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/compiler/hbmain.c ! fixed unnecessary hb_xfree() call when given @<name>.clp file does not exist. Thanks to Jose Luis Capel for information about the problem. 2009-10-08 16:42 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rdd/dbfntx/dbfntx1.c * harbour/source/rdd/dbfnsx/dbfnsx1.c * harbour/source/rdd/dbfcdx/dbfcdx1.c * minor cleanup * harbour/source/rdd/dbf1.c ! fixed GPF trap in DBINFO( DBI_MEMOHANDLE ) executed for tables without any memo fields - thank to Saulius for information and self contain example. 2009-10-08 16:11 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.pt_BR.po * utils/hbmk2/hbmk2.hu_HU.po * utils/hbmk2/hbmk2.prg * "(internal") -> "(embedded)" (also HU translation) To avoid possible misunderstandings in some contexts. 2009-10-08 14:21 UTC+0200 Viktor Szakats * package/winuni/mpkg_win_uni.bat * Changed to use 7za instead of 7z as 7zip command-line tool name. * contrib/hbsqlit3/hbsqlit3.ch * Formatting. ; FIXME: ? What is the meaning of this snippet in the header: --- #ifdef SQLITE_TEXT #undef SQLITE_TEXT #else #define SQLITE_TEXT 3 #endif --- Seems wrong to me. [DONE - There was no feedback, so HACK DELETED] 2009-10-07 16:26 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/gtwvg/wvtwin.ch + Added more WINAPI constants. 2009-10-07 15:30 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/gtwvg/wvtwin.ch + Added more WINAPI constants. 2009-10-07 23:56 UTC+0200 Viktor Szakats * contrib/hbnetio/utils/netiosrv.hbp * Renamed netiosrv to hbnetio. + Adding CPU type to hbnetio executable name if it's not x86. 2009-10-07 18:32 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Enabled upx support on all *nix system. 2009-10-07 14:27 UTC+0200 Viktor Szakats * package/winuni/RELNOTES + Note about upx update. (still no win64 support, but there are some other goodies for OS X and Linux) * utils/hbmk2/hbmk2.prg + Enabled upx support on darwin. (You need to install it via macports) * INSTALL + Added upx to macports install list for darwin. + Added few missing '$' prefixes from commands included in text. * config/common/watcom.mk - Deleted OS/2 make bug workaround. Thanks to David Arturo Macias Corona for instructions/tests. 2009-10-07 11:22 UTC+0200 Viktor Szakats * tests/transtst.prg * doc/pp.txt * doc/en-EN/string.txt * doc/en-EN/terminal.txt * doc/en-EN/dbstrux.txt * include/hbpp.h * include/std.ch * include/hbclass.ch * include/hbsetup.ch * include/hbdefs.h * include/dbedit.ch * include/hbapigt.h * include/hbextern.ch * include/hbexprb.c * ChangeLog * source/pp/ppcore.c * source/vm/macro.c * source/vm/hvm.c * source/vm/cmdarg.c * source/vm/arrays.c * source/vm/proc.c * source/vm/memvars.c * source/vm/arrayshb.c * source/vm/memvclip.c * source/common/hbverdsp.c * source/common/hbstr.c * source/common/hbdate.c * source/rtl/setposbs.c * source/rtl/round.c * source/rtl/oldbox.c * source/rtl/trim.c * source/rtl/tpopup.prg * source/rtl/einstvau.prg * source/rtl/setta.prg * source/rtl/transfrm.c * source/rtl/browse.prg * source/rtl/tget.prg * source/rtl/setfunc.prg * source/rtl/achoice.prg * source/rtl/strzero.c * source/rtl/natmsgu.c * source/rtl/strtran.c * source/rtl/errapiu.c * source/rtl/einstvar.prg * source/rtl/dbedit.prg * source/rtl/einstv52.prg * source/rtl/console.c * source/rtl/mousehb.c * source/rtl/chrasc.c * source/rtl/dircmd.prg * source/rtl/oldclear.c * source/rtl/hbgtcore.c * source/rtl/dirdrive.c * source/rtl/mlcfunc.c * source/rtl/datesx.c * source/rtl/accept.c * source/rtl/defpathu.c * source/rtl/tgetlist.prg * source/rtl/input.prg * source/rtl/alert.prg * source/rtl/tmenuitm.prg * source/rtl/shadowu.c * source/rtl/tbrowse.prg * source/rdd/dbfntx/dbfntx1.c * source/rdd/dbdelim.prg * source/rdd/rddordu.prg * source/rdd/workarea.c * source/rdd/dbnubs.c * source/rdd/rddinfo.c * source/rdd/dbstruxu.prg * source/rdd/sdf1.c * source/rdd/dbfnsx/dbfnsx1.c * source/rdd/dbcmd.c * source/rdd/dbfcdx/dbfcdx1.c * source/rdd/dbdrop.c * source/rdd/delim1.c * source/rdd/dbf1.c * source/rdd/dbrename.c * source/rdd/dbexists.c * source/rdd/fieldhb.c * contrib/hbct/ctwin.c * contrib/hbct/cursor.c * contrib/xhb/xhbver.prg * contrib/xhb/xhbtrim.c * utils/hbtest/rt_main.ch * utils/hbtest/rt_trans.prg * utils/hbtest/rt_misc.prg * utils/hbtest/rt_stra.prg * utils/hbtest/rt_array.prg * examples/hbdoc/examples/core_es/dbstrux.txt * examples/hbdoc2/hbdoc2.prg * HB_C52_STRICT -> HB_CLP_STRICT We use it cover strict Clipper compatibility in general, not just for C5.2. * HB_C52_UNDOC -> HB_CLP_UNDOC We use it cover Clipper undocumented stuff in general, not just C5.2 version specific ones. 2009-10-07 11:23 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/gtwvt/gtwvt.c * check if startup (default or user (SetMode())) console window dimensions do not exceed screen size and if yes then reduce the initial number of console window rows and cols to the screen size also in HB_GTI_RESIZEMODE_FONT mode. 2009-10-07 10:47 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg * config/global.mk * Adapting to mingw64 distro change, where they've fixed toolchain prefix of 32-bit builds. (to i686-w64-mingw32- from x64_64-w64-mingw32-) 2009-10-07 09:58 UTC+0200 Viktor Szakats * source/rtl/gtwvt/gtwvt.h * source/rtl/gtwvt/gtwvt.c - Deleted artificial screen dimension limits and WVT_MAX_{ROW,COL} macros. 2009-10-07 09:11 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/gtwvt/gtwvt.h * harbour/source/rtl/gtwvt/gtwvt.c * use dynamic line buffers - now WVT_MAX_{ROW,COL} macros can be simply removed 2009-10-07 08:09 UTC+0200 Viktor Szakats * config/global.mk * config/detect.mk + Added support for optional user.mk file (requires GNU Make syntax) in Harbour source tree root to store user-specific build settings. In general all documented settings from INSTALL can be used here, but most probably you'll only want to store portable settings (like HB_CONTRIBLIBS). Usually you'll want to use 'export HB_BUILD_* := <value>' syntax to specify them. user.mk should not rely on any internal variables set by our GNU Make system (like HB_PLATFORM), as they are set later in the process thus not available at this point. Please note that this is yet an experience and details or even presence of the feature may change in the future, we should see how useful it turns out to be. * Changed conf.mk support, so that the file got renamed to config.mk and moved to source tree root (next to user.mk). 2009-10-07 07:36 UTC+0200 Viktor Szakats * contrib/hbct/ctwin.c + Added HB_C52_STRICT guard around artificial windows size limits. Please review me. HB_C52_STRICT macros should be renamed to HB_CLP_STRICT to reflect usage of recent years, where it's also used to cover 5.3 strictness e.g.. * source/rtl/gtwvt/gtwvt.c ! Minor formatting. ! Fixed to use WVT_MAX_COLS instead of WVT_MAX_ROWS in one place. * source/codepage/Makefile + source/codepage/cpeliso.c + source/codepage/cptriso.c + Added two new codepage modules. Patch submitted by Istvan Bisz. * include/hbextcdp.ch + Added above codepages to codepage list. 2009-10-07 00:27 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/Makefile + harbour/source/rtl/hbascii.c * harbour/include/hbextern.ch + added new .prg functions which operates on pure ASCII strings: hb_asciiUpper(), hb_asciiLower(), hb_asciiIsAlpha(), hb_asciiIsUpper(), hb_asciiIsLower(), hb_asciiIsDigit() * harbour/source/rtl/objfunc.prg * harbour/source/rtl/tget.prg * harbour/source/rtl/treport.prg * harbour/source/rtl/tpersist.prg * harbour/source/rtl/memoedit.prg * harbour/source/rtl/menuto.prg * harbour/source/rtl/tgetlist.prg * harbour/source/rtl/tclass.prg ! use hb_asciiUpper() instead of Upper() to convert identifiers and pictures 2009-10-06 21:14 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/harbour-win-spec * harbour/harbour-wce-spec - commented out HB_BUILD_PARTS=compiler as workaround for using postinst.prg % use -undef:.ARCH. 2009-10-06 18:57 UTC+0200 Viktor Szakats * INSTALL - Deleted sudo from one pkg creation command. * config/global.mk + Added MSVS 10.0 compiler version autodetection. * config/os2/gcc.mk % Deleted OS/2 make bug workarounds from OMF specific code. Submitted by David Arturo Macias Corona. Please test/review. 2009-10-06 18:34 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/harbour.spec ! fixed to build with postinst.prg executed by shared linked hbrun * harbour/bin/hb-func.sh * harbour/debian/rules * harbour/harbour.spec % use HB_INST_PKGPREF instead of _DEFAULT_*_DIR Please test DEB building in Debian, Ubuntu or in other DPKG based distro. It probably has the same problem with postinst.prg as all other builds. * harbour/debian/rules * harbour/harbour.spec * harbour/mpkg_tgz.sh * harbour/source/compiler/gencobj.c * updated harbour.cfg localization in *nix builds * harbour/utils/hbrun/Makefile ! restored support for default include directory in system wide builds 2009-10-06 16:46 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/config/instsh.mk * harbour/bin/hb-func.sh * harbour/bin/postinst.sh + added support for HB_INST_PKGPREF which can be used as package temporary install directory * harbour/mpkg_tgz.sh ! use HB_INST_PKGPREF to allow creating install packages without special user rights and to protect against damaging original system installation during package building if sufficient user rights were guarantied 2009-10-06 14:07 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) + harbour/tests/cpinfo.prg * modified to show more precise information about code page definition 2009-10-06 11:16 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) + harbour/tests/cpinfo.prg + added simple program to generate information for Harbour CP module definition. Compile it with Clipper and link with given national sorting module (usually ntx*.obj) and then execute to generate letters strings for given national sorting module. Then use this string to define Harbour CP module in source/codepage/ directory. 2009-10-06 03:28 UTC+0200 Viktor Szakats * contrib/hbwin/win_misc.c + Added TODO (hb_osEncodeCP()). 2009-10-06 02:31 UTC+0200 Viktor Szakats * INSTALL * config/global.mk * config/wce/msvcarm.mk * config/win/msvc.mk + Replaced MSVC specific compiler version setting with generic compiler version setting. HB_VISUALC_VER_PRE80 and HB_VISUALC_VER_PRE70 settings are deleted and HB_COMPILER_VER is activated. ; INCOMPATIBLE. * config/global.mk + Added MSVC compiler version autodetection. (6.0, 7.x, 8.0, 9.0) * config/win/msvc.mk + Enabled UNICODE mode for MSVC 2008 (9.0) and above. This compiler version doesn't support Win9x anyway. * utils/hbmk2/hbmk2.prg - Deleted support for HB_VISUALC_VER_PRE80 in hbmk2. (HB_COMPILER_VER was already supported in hbmk2) 2009-10-06 00:35 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/hb-func.sh ! fixed typo in .c file generated by hbmk script 2009-10-06 00:25 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/gtwin/gtwin.c + added support for UNICODE builds - please make tests in real MS-Windows environment 2009-10-05 17:28 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/gtwvt/gtwvt.c ! fixed font selection in UNICODE builds - it was not selected at all ! fixed possible double font freeing in non UNICODE builds 2009-10-05 14:45 UTC+0200 Maurilio Longo (maurilio.longo@libero.it) * config/os2/gcc.mk * removed for %i in ... hack for library creation in OS/2 gcc build. 2009-10-05 15:35 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * contrib/hbmemio/memio.c ! fixed memory corruption on hb_memfsTruncAt() call ! added required memory clear on hb_memfsTruncAt() call + implemeted file handles different from internal structure pointers. Now memory FS file handle is index in file structure array. Thus, wrong memory FS is more safe for wrong external calls like: HB_FHANDLE hF = hb_memfsOpen( szFilename, iFlags ); hb_memfsClose( hF ); hb_memfsClose( hF ); The second hb_memfsClose() call was wrongly re-releasing memory resources and causing memory corruption before memory handles were added. 2009-10-05 13:28 UTC+0200 Viktor Szakats * INSTALL + More details to MS Windows SDK 7. * utils/hbmk2/hbmk2.prg ! Minor typo in comment. * config/win/bcc.mk + Added syslibs to dynlib link command. This seems to be needed for some newer (6.20) versions of BCC. Thanks Przemek for noticing, Mario for reporting. And please test, I didn't do it for either BCC versions due to lack of time. 2009-10-05 12:23 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbsocket.h * harbour/source/rtl/hbsocket.c + added new function hb_socketSetNoDelay() which turn off the nagle algorithm for the specified socket. The nagle algorithm says that we should delay sending partial packets in the hopes of getting more data. Be careful using this functions. It may help to improve performance in some cases but in some other it may cause very serious overhead. Programmer should well know what it does. * set socket error in all hb_socket[SG]et*() functions * harbour/contrib/hbnetio/netiocli.c * harbour/contrib/hbnetio/netiosrv.c * use hb_socketSetNoDelay() - it can be safely used in this code though it probably does not improve the speed because I used protocol which was nagle algorithm friendly. Anyhow now we can disable NETIO_SYNC messages without performance reduction due to bad interaction with nagle algorithm. 2009-10-05 07:32 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rdd/dbf1.c ! fixed typo in record CP translation condition 2009-10-04 21:54 UTC+0200 Viktor Szakats * INSTALL + Added "Unibin" example for Mac OS X. + Added separate HOWTO section for Mac OS X listing XCode as prerequisite. ! Minor corrections in punctuation. * contrib/hbhpdf/hbhpdf.hbc ! Added png lib for *nix systems. Thanks Lorenzo. 2009-10-04 14:33 UTC+0200 Viktor Szakats * INSTALL * MSVC/Itanium cleanups. * contrib/hbhpdf/hbhpdf.hbc * Changed to not add libpng lib on *nix systems. Attempt to move close to 'typical' (default) cases. 2009-10-04 12:02 UTC+0200 Viktor Szakats * ChangeLog + Added links to a few external component bug reports of the past. ; Submitted GNU Make Win64 patch: https://savannah.gnu.org/bugs/index.php?27590 ; Submitted GNU Make $(wildcard) bug in latest CVS: https://savannah.gnu.org/bugs/index.php?27591 2009-10-03 20:02 UTC+0200 Viktor Szakats * INSTALL ! Minor fix to OS/2 example. * utils/hbmk2/hbmk2.prg * config/os2/gcc.mk ! Fixed to use 'stripomf' tool instead of 'strip' in gccomf mode. ; Please only post comments on above patch if it contains real information. I'm not interested in "This is wrong.", "You messed it up." kind of comments, only in real information, since I'm not OS/2 user. 2009-10-03 13:21 UTC+0200 Viktor Szakats * INSTALL + Added MSVC Itanium build example. + Added generic build instructions/advices for Windows x64 hosts. + Added build examples for Windows x64 hosts. (most of the 32-bit Windows examples work as is, so I've only added a few where there are differences and which I've tested) NOTE: x64 build of mingw32-make isn't used in these examples yet. ! Minor fixes to OS/2 build examples. * ChangeLog ! Few typos. 2009-10-02 23:35 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbxbp/xbpappevent.prg * contrib/hbxbp/xbpbrowse.prg * contrib/hbxbp/xbpdialog.prg * contrib/hbxbp/xbpgeneric.prg * contrib/hbxbp/xbpwindow.prg ! Changes to reflect modifications in hbqt.lib where QMainWindow() is subclassed to catch and fine-tune MT windows and memory management. This commit had to be along previous one but somehow I skipped. 2009-10-02 16:53 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/mpkg_src.sh ! fixed default root path settings after moving the file from bin directory * harbour/include/hbdefs.h ! fixed Linux GCC 2.XX builds * harbour/harbour.spec ! added missing export in build settings 2009-10-02 15:14 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rdd/dbf1.c ! two fixes for 32-bit record numbers 2009-10-02 02:19 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbrdddbf.h * harbour/include/hbrddnsx.h * harbour/include/hbrddcdx.h * harbour/include/hbrddfpt.h * harbour/include/hbrddntx.h * harbour/source/rdd/dbf1.c * harbour/source/rdd/dbffpt/dbffpt1.c * harbour/source/rdd/dbfntx/dbfntx1.c * harbour/source/rdd/dbfnsx/dbfnsx1.c * harbour/source/rdd/dbfcdx/dbfcdx1.c * harbour/contrib/hbbmcdx/hbbmcdx.h * code cleanup 2009-10-01 17:58 UTC+0200 Viktor Szakats * INSTALL * utils/hbmk2/hbmk2.prg * config/os2/gcc.mk + config/os2/gccomf.mk + Added OS/2 GCC OMF support. This tries to fix resource support in hbmk2 compared to David's solution. hbmk2 support is completely newly done, .mk support was imported as is, with little change in activation logic. ! Fixed to use $(ECHOQUOTE) in some $(ECHO) command parameters. ; NOTE: Until we add autodetection for OMF supporting GCC versions, it will have to be selected manually using HB_COMPILER=gccomf. Notice that for GCC 4.x this is obligatory since COFF support is broken in these versions. Additional EMX* envvar options are left as an excercise for the users, I intentionally didn't document these in INSTALL, as INSTALL serves as Harbour documentation, not 3rd party tools like GCC. * config/global.mk ! Minor in comment. * contrib/hbqt/Makefile * contrib/hbqt/hbqts/Makefile * contrib/gtqtc/gtqtcs/Makefile * contrib/gtqtc/Makefile ! Disabled QT dependent parts for msvcia64 targets. ; Fails with error: --- z:\devl\qt\4.5.2\include\qtcore\../../src/corelib/tools/qvector.h(541) : warning C4346: 'QVector<T>::iterator' : dependent name is not a type prefix with 'typename' to indicate a type z:\devl\qt\4.5.2\include\qtcore\../../src/corelib/tools/qvector.h(541) : error C2143: syntax error : missing ';' before 'QVector<T>::insert' z:\devl\qt\4.5.2\include\qtcore\../../src/corelib/tools/qvector.h(541) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int z:\devl\qt\4.5.2\include\qtcore\../../src/corelib/tools/qvector.h(541) : fatal error C1903: unable to recover from previous error(s); stopping compilation --- * package/winuni/HARBOUR_README_MINGWARM * Minor raw update to document newly found --force-local tar switch. 2009-10-01 14:12 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rdd/dbfcdx/dbfcdx1.c * harbour/source/rdd/dbf1.c * harbour/contrib/rddads/ads1.c ! resolve pending relations before clearing or setting WA filter directly or indirectly by SUPER method call 2009-10-01 13:22 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbrdddbf.h * harbour/source/rdd/dbf1.c ! resolve pending relations before clearing WA filter 2009-10-01 11:53 UTC+0200 Viktor Szakats * config/global.mk * utils/hbmk2/hbmk2.prg + Added autodetection for win/msvcia64 compiler. * INSTALL + Tweaks to links. * ChangeLog ! Fixed wrong entry header in my prev commit. * INSTALL * utils/hbmk2/hbmk2.prg * config/os2/gcc.mk ! Reverted "rogue" patch. I'd like to kindly ask David, to commit when doubts are cleared, otherwise I will have to revoke R/W rights to avoid extra cleanup work. This solution is wrong, for specific concerns see dev list. 2009-10-01 4:25 UTC-0500 David Arturo Macias Corona (dmacias/at/mail.udg.mx) * harbour/config/os2/gcc.mk * harbour/utils/hbmk2/hbmk2.prg + Added support of OMF library format To select alternative OMF library format, use: set HB_OS2_OMF=yes * INSTALL + Added note for OMF library format 2009-09-30 23:15 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rdd/dbf1.c * harbour/source/rdd/delim1.c * harbour/source/rdd/sdf1.c * harbour/source/rdd/dbffpt/dbffpt1.c * harbour/source/rdd/dbfntx/dbfntx1.c * harbour/source/rdd/dbfnsx/dbfnsx1.c * harbour/source/rdd/dbfcdx/dbfcdx1.c * harbour/contrib/rddads/ads1.c * harbour/contrib/rddads/adsx.c * harbour/contrib/rddsql/sqlbase.c * harbour/contrib/rddsql/sqlmix.c * harbour/contrib/rddsql/sddmy/mysqldd.c * harbour/contrib/rddsql/sddpg/pgsqldd.c * harbour/contrib/rddsql/sddfb/fbirddd.c * harbour/contrib/rddsql/sddodbc/odbcdd.c * removed some old xHarbour macros * harbour/source/rdd/dbfcdx/dbfcdx1.c ! fixed sorting with code pages using accented characters with the same weight - it's necessary to disable some optimizations for such CPs. Thanks to Jaroslav Janik for the information and example. 2009-09-30 13:53 UTC+0200 Viktor Szakats * INSTALL + Added links to several new components. I'd need input for bison/flex link, I didn't have any success making these work on Windows systems. - doc/bintools.txt * INSTALL * COPYING * Content of bintools.txt moved to INSTALL and COPYING. * bin/hb-mkimp.bat * Minor syncing of Sed's name. 2009-09-29 14:11 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/cdpapi.c * allow to use "UTF8" CP in HB_TRANSLATE() function * harbour/include/hbapicdp.h * harbour/source/rtl/itemseri.c + added support for optional CP translation in serialization and deserialization operations + added two new public C functions: hb_itemSerializeCP() and hb_itemDeserializeCP() + added new optional paramters <cCdpIN> and <cCdpOUT> to HB_SERIALIZE() function: HB_SERIALIZE( <xValue>, [<lNumSize>], [<cCdpIN>], [<cCdpOUT>] ) -> <cSerialized> By default VM CP is used. + added new optional paramters <cCdpIN> and <cCdpOUT> to HB_DESERIALIZE() function: HB_DESERIALIZE( <cSerialized>, [<cCdpIN>], [<cCdpOUT>] ) -> <xValue> By default VM CP is used. * harbour/source/rdd/dbfntx/dbfntx1.c * harbour/source/rdd/dbfnsx/dbfnsx1.c * harbour/source/rdd/dbfcdx/dbfcdx1.c * harbour/source/rdd/dbffpt/dbffpt1.c * formatting 2009-09-29 12:40 UTC+0200 Viktor Szakats * bin/postinst.prg ! Fixed another error. + Utilizing ugly hack to avoid using Harbour header files. Although it works, this solution is way ugly. I'm brand new hbrun user so I don't know what is the proper solution for using headers from .prgs code run directly. Maybe this should be compiled into hbrun and the internal version used, or it needs full include header dir autodetection logic built in. 2009-09-29 12:06 UTC+0200 Viktor Szakats * bin/postinst.prg ! Fixed bad typos reported by Elart. * utils/hbmk2/hbmk2.hu_HU.po * Minor clarification in HU translation. 2009-09-28 22:27 UTC+0200 Viktor Szakats * INSTALL + Added new section: LINKS TO EXTERNAL TOOL, with actual (mostly complete) content. + Added OS/2 TCP/IP stack selection info. + Added OS/2 gcc 3.3.x build example. ! Minor typo. + Added linux hosted win/mingw64 target to compatibility matrix. * Makefile * Swapped shell postinst and .prg postinst invocation order. + Executing shell specific postinst command only if it exists. * bin/postinst.prg * bin/postinst.bat - bin/postinst.cmd + Started to migrate shell specific tasks to postinst .prg code. ; NOTE: Please review and test, this may cause regressions in build process. I did't actually test most of these. * contrib/xhb/hbcompat.ch ! Minor typo in comment. * Updated copyright year. 2009-09-28 12:57 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbnetio/netio.h * harbour/contrib/hbnetio/netiocli.c * harbour/contrib/hbnetio/netiosrv.c * added dummy sync messages which can be used as non waiting confirmation % added separate messages for UNLOCK actions which are confirmed by dummy message * updated version number in login string to force client and server synchronization with new protocol (both have to be recompiled with current SVN code) 2009-09-27 12:58 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/generator/hbqtgen.prg ! Modified TO implement destructors IN a different way. * contrib/hbqt/qth/QAbstractItemModel.qth + Added more CLASS members. * contrib/hbqt/hbqt.ch * contrib/hbqt/hbqt.h * contrib/hbqt/hbqt_slots.cpp * contrib/hbqt/hbqt_slots.h * contrib/hbqt/moc_slots.cpp + Added more members plus re-worked event management to support multi-threads and multi-windows in a different perspective. It is an effort to locate where Harbour's Qt implementation is buggy with respect to ever increasing memory usage plus Qt's Paint Engine which appears to be dependant on thread's idle time. [ This is the way I preceive this fact ] * contrib/hbqt/QAbstractButton.cpp * contrib/hbqt/QAbstractItemModel.cpp * contrib/hbqt/QAbstractItemView.cpp * contrib/hbqt/QAbstractListModel.cpp * contrib/hbqt/QAbstractScrollArea.cpp * contrib/hbqt/QAbstractSlider.cpp * contrib/hbqt/QAbstractSpinBox.cpp * contrib/hbqt/QAbstractTableModel.cpp * contrib/hbqt/QAction.cpp * contrib/hbqt/QApplication.cpp * contrib/hbqt/QBitmap.cpp * contrib/hbqt/QBoxLayout.cpp * contrib/hbqt/QBrush.cpp * contrib/hbqt/QButtonGroup.cpp * contrib/hbqt/QCalendarWidget.cpp * contrib/hbqt/QColor.cpp * contrib/hbqt/QColorDialog.cpp * contrib/hbqt/QComboBox.cpp * contrib/hbqt/QCoreApplication.cpp * contrib/hbqt/QCursor.cpp * contrib/hbqt/QDateTime.cpp * contrib/hbqt/QDesktopWidget.cpp * contrib/hbqt/QDial.cpp * contrib/hbqt/QDialog.cpp * contrib/hbqt/QDir.cpp * contrib/hbqt/QDirModel.cpp * contrib/hbqt/QDockWidget.cpp * contrib/hbqt/QDragMoveEvent.cpp * contrib/hbqt/QErrorMessage.cpp * contrib/hbqt/QEvent.cpp * contrib/hbqt/QEventLoop.cpp * contrib/hbqt/QFileDialog.cpp * contrib/hbqt/QFileSystemModel.cpp * contrib/hbqt/QFocusFrame.cpp * contrib/hbqt/QFont.cpp * contrib/hbqt/QFontComboBox.cpp * contrib/hbqt/QFontInfo.cpp * contrib/hbqt/QFontMetrics.cpp * contrib/hbqt/QFontMetricsF.cpp * contrib/hbqt/QFormLayout.cpp * contrib/hbqt/QFrame.cpp * contrib/hbqt/QFtp.cpp * contrib/hbqt/QGridLayout.cpp * contrib/hbqt/QGroupBox.cpp * contrib/hbqt/QHBoxLayout.cpp * contrib/hbqt/QHeaderView.cpp * contrib/hbqt/QHttp.cpp * contrib/hbqt/QIcon.cpp * contrib/hbqt/QImage.cpp * contrib/hbqt/QImageReader.cpp * contrib/hbqt/QImageWriter.cpp * contrib/hbqt/QInputDialog.cpp * contrib/hbqt/QIODevice.cpp * contrib/hbqt/QKeyEvent.cpp * contrib/hbqt/QKeySequence.cpp * contrib/hbqt/QLabel.cpp * contrib/hbqt/QLayoutItem.cpp * contrib/hbqt/QLCDNumber.cpp * contrib/hbqt/QLineEdit.cpp * contrib/hbqt/QList.cpp * contrib/hbqt/QListView.cpp * contrib/hbqt/QListWidget.cpp * contrib/hbqt/QListWidgetItem.cpp * contrib/hbqt/QMainWindow.cpp * contrib/hbqt/QMenu.cpp * contrib/hbqt/QMenuBar.cpp * contrib/hbqt/QMessageBox.cpp * contrib/hbqt/QModelIndex.cpp * contrib/hbqt/QMouseEvent.cpp * contrib/hbqt/QMoveEvent.cpp * contrib/hbqt/QObject.cpp * contrib/hbqt/QPaintDevice.cpp * contrib/hbqt/QPainter.cpp * contrib/hbqt/QPalette.cpp * contrib/hbqt/QPen.cpp * contrib/hbqt/QPicture.cpp * contrib/hbqt/QPixmap.cpp * contrib/hbqt/QPoint.cpp * contrib/hbqt/QPrintDialog.cpp * contrib/hbqt/QPrintEngine.cpp * contrib/hbqt/QPrinter.cpp * contrib/hbqt/QPrintPreviewDialog.cpp * contrib/hbqt/QProcess.cpp * contrib/hbqt/QProgressDialog.cpp * contrib/hbqt/QPushButton.cpp * contrib/hbqt/QRect.cpp * contrib/hbqt/QRectF.cpp * contrib/hbqt/QRegion.cpp * contrib/hbqt/QResource.cpp * contrib/hbqt/QScrollArea.cpp * contrib/hbqt/QScrollBar.cpp * contrib/hbqt/QSignalMapper.cpp * contrib/hbqt/QSize.cpp * contrib/hbqt/QSizeF.cpp * contrib/hbqt/QSizeGrip.cpp * contrib/hbqt/QSlider.cpp * contrib/hbqt/QSound.cpp * contrib/hbqt/QSplashScreen.cpp * contrib/hbqt/QSplitter.cpp * contrib/hbqt/QStandardItem.cpp * contrib/hbqt/QStandardItemModel.cpp * contrib/hbqt/QStatusBar.cpp * contrib/hbqt/QStyle.cpp * contrib/hbqt/QStyledItemDelegate.cpp * contrib/hbqt/QStyleOption.cpp * contrib/hbqt/QSystemTrayIcon.cpp * contrib/hbqt/QTabBar.cpp * contrib/hbqt/QTableView.cpp * contrib/hbqt/QTableWidget.cpp * contrib/hbqt/QTableWidgetItem.cpp * contrib/hbqt/QTabWidget.cpp * contrib/hbqt/QTextBoundaryFinder.cpp * contrib/hbqt/QTextCursor.cpp * contrib/hbqt/QTextDecoder.cpp * contrib/hbqt/QTextDocument.cpp * contrib/hbqt/QTextDocumentFragment.cpp * contrib/hbqt/QTextDocumentWriter.cpp * contrib/hbqt/QTextEdit.cpp * contrib/hbqt/QTextEncoder.cpp * contrib/hbqt/QTextFormat.cpp * contrib/hbqt/QTextFrame.cpp * contrib/hbqt/QTextLayout.cpp * contrib/hbqt/QTextStream.cpp * contrib/hbqt/QTimer.cpp * contrib/hbqt/QToolBar.cpp * contrib/hbqt/QToolBox.cpp * contrib/hbqt/QToolButton.cpp * contrib/hbqt/QTreeView.cpp * contrib/hbqt/QTreeWidget.cpp * contrib/hbqt/QTreeWidgetItem.cpp * contrib/hbqt/QUrl.cpp * contrib/hbqt/QVariant.cpp * contrib/hbqt/QVBoxLayout.cpp * contrib/hbqt/QWebHistoryInterface.cpp * contrib/hbqt/QWebHistoryItem.cpp * contrib/hbqt/QWebHitTestResult.cpp * contrib/hbqt/QWebPage.cpp * contrib/hbqt/QWebPluginFactory.cpp * contrib/hbqt/QWebSecurityOrigin.cpp * contrib/hbqt/QWebView.cpp * contrib/hbqt/QWidget.cpp * contrib/hbqt/QWidgetAction.cpp * contrib/hbqt/QWindowsStyle.cpp * contrib/hbqt/QWindowsXPStyle.cpp * contrib/hbqt/QWizard.cpp * contrib/hbqt/TQAbstractItemModel.prg ! Result of change in implemention of destructors in hbqtgen.prg. [ In this commit I had concentrated on two pit-falls which may certainly prevent Qt's efficacy in Harbour applications: 1. Ever-growing memory usage. 2. GPF in multi-threaded multi-windows Though I have tried my level best to pin-point where memory usage keeps up growing, I could not find anything worth control. I changed the way destructors were implemented before, but that also seems to be insufficent. But as we have better control over the events, some of you will be able to locate what exactly is the problem. GPF in multi-threaded multi-window scenario is caused by PAINT event which produces GPF is CPU is not released momentarily for that thread. So I inserted hb_idleSleep( 0.2 ) in the code where PAINT event is about to be returning, and the GPF went away. But this insertion has a greater damaging effect that it slows down the application considerably as with each single keystroke, appln becomes idle for that much period. I have guarded this under QT_EXECUTE_IN_THREADS constant for now. If you want to play with this feature than compile HBQT with it and then open <Dialogs><One more instance> menu option. Do not bother about how slow appln executes but simply open as mamny dialogs as you want and navigate different components. NOTE: you may require to increase nMilliSeconds in hb_idleSleep( 0.2 ) from 0.2 to 0.5 as this value is heavily CPU dependant. Hope someone will be able to locate exact fixes to above two issues. ] 2009-09-24 19:15 UTC+0200 Viktor Szakats * INSTALL + Sections numbered for easier reference when pointing to it in email answers. 2009-09-24 18:41 UTC+0200 Viktor Szakats * bin/postinst.sh ! Commented messing around with include attribs. I guess this should only be done if HB_INSTALL_PREFIX is some temp area where we assemble distro package. Fixme. 2009-09-24 17:42 UTC+0200 Viktor Szakats * Makefile * utils/Makefile * Changed to build hbrun and hbmk2 in HB_BUILD_PARTS=compiler mode. + Added running bin/postinst.prg. + bin/postinst.prg + Added postinst.prg with test content. * package/winuni/RELNOTES * Added information about new MinGW CEGCC build. * utils/Makefile * Changed HB_UTILS setting name to HB_UTIL_ADDONS. To be in sync with rest of similar settings. * INSTALL + Documented HB_UTIL_ADDONS setting. (formerly HB_UTILS) 2009-09-24 16:00 UTC+0200 Viktor Szakats * harbour/config/globsh.mk + Added command $(TRUE) as dummy one for all shells. Pls check. The goal is to have a command which does nothing just returns success. 2009-09-24 15:21 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/config/instsh.mk ! added global protection against installing files to source location * harbour/config/global.mk * removed previous partial protection 2009-09-24 14:14 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbmemio/memio.c * pacified warning 2009-09-24 13:57 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/itemapi.c * modified (optimized manually) hb_itemPutNLen() to not exploit bug in ICC optimizer when itemapi.c is compiled by ICC with -fpic switch. * harbour/source/vm/vmmt/Makefile * removed hack for ICC compilers which disabled HB_VM_ALL in ICC builds BTW it was not enough (my mistake) and the problem was exploited also when itemapi.c was compiled standalone 2009-09-24 13:49 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg % Using -undef:.ARCH. ! Fixed all potential unused tmp3 errors. * config/global.mk % Using -undef:.ARCH. 2009-09-24 13:26 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbthread.h * modified some internal structure definitions (used nameless unions) to pacify possible warnings on structure initialization. 2009-09-24 11:23 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbpp.h * harbour/include/hbcompdf.h * harbour/source/pp/pplib.c * harbour/source/pp/ppcore.c * harbour/source/compiler/cmdcheck.c * harbour/source/compiler/ppcomp.c + added support for disabling all automatically set platform dependent macros by '-undef:.ARCH.' switch. .ARCH. is meta flag to select all architecture dependent macros: __PLATFORM__*, __ARCH??BIT__, __*_ENDIAN__ It should simplify cross build harbour compiler settings in core make system and hbmk2 or hb* scripts. * harbour/config/dos/watcom.mk * harbour/config/os2/watcom.mk * harbour/config/win/pocc.mk * harbour/config/win/bcc.mk * harbour/config/win/watcom.mk * harbour/config/linux/watcom.mk * disable C compiler warnings when HB_BUILD_WARN=no. Some compilers enable warnings by default. It pacifies warnings when external libraries are compiled. 2009-09-24 09:55 UTC+0200 Viktor Szakats * config/global.mk % Optimized arch bit macro redefinition. + Added arm CPU to arch bit target macro definition. 2009-09-24 09:34 UTC+0200 Viktor Szakats * INSTALL * Pelles C support version numbers adjusted. 6.0 DOESN'T work with Harbour due to multiple bugs in this compilers. Don't report such problems to the list. Bug report: https://forum.pellesc.de/index.php?topic=2956.0 * package/winuni/HARBOUR_README_MINGWARM * Updated for latest cegcc binary release. * utils/hbmk2/hbmk2.prg ! Typo in BSD macro redefinition. * config/global.mk + Extended platform macro redefinition for all supported platforms. + Extended arch bit macro redefinition (didn't test it though) * config/globsh.mk ! Fixed implib not being deleted when using POSIX shells. ! Fixed dynlib and implib not being deleted when using OS/2 or MS-DOS shells. 2009-09-23 22:05 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/common/hbffind.c ! do not use GetVolumeInformation() in WinCE builds * harbour/mpkg_rpm.sh * harbour/harbour.spec + added new switches '--with localzlib' '--with localpcre' * updated to work with current base make system TODO: better integration with current base make system 2009-09-23 17:50 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbcomp.h * minor formatting * harbour/source/rdd/dbfnsx/dbfnsx1.c ! fixed false corruption RT error generated due to missing reset on cached current key offset - thanks to Jaroslav Janik for information and self contain example 2009-09-23 16:30 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * contrib/hbmemio/memio.c ! added missing structure field initialization 2009-09-23 14:15 UTC+0200 Maurilio Longo (maurilio.longo@libero.it) * config/os2/gcc.mk * source/vm/Makefile * finalized OS/2 GCC .DLLs creation at build time. 2009-09-23 14:30 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * contrib/hbmemio/memio.c ! fixed cleanup code 2009-09-23 00:13 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * contrib/hbmemio/memio.c ! fixed typo in hb_memfsDelete() 2009-09-22 22:05 UTC+0200 Viktor Szakats * config/global.mk ! Typo 2009-09-22 18:51 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg * config/global.mk ! Changed .dll names for OS/2 to be the same as in MS-DOS: harbour/harbourm. (.dll names in OS/2 are limited to 8.3) * config/dos/djgpp.mk ! Attempt to fix empty line problem when stripping isn't requested. Something better would be good here. * config/os2/gcc.mk ! Fixed empty line problem when stripping isn't requested. 2009-09-22 17:10 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * contrib/hbmemio/memio.c + added cleanup on application exit * some warnings pacified 2009-09-22 14:57 UTC+0200 Viktor Szakats * contrib/hbmemio/tests/test.prg * contrib/hbmemio/memio.c * Internal name also renamed to HB_MEMIO (from HB_IODMEM). * source/vm/dynlibhb.c + cast. 2009-09-22 12:58 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbrddcdx.h * harbour/source/rdd/dbfcdx/dbfcdx1.c + added support for national sorting using accented and multibyte characters. Warning CDX indexes created so far for such CDPs are not sorted using the same conditions as current SVN code so new applications should reindex. Harbour codepages with accented characters: cs852, csiso, cskam, cswin, sk852, skiso, skkam, skwin sv850, sviso, svwin fr850, friso, frwin el737, elwin, Harbour codepages with multibyte characters: cs852, csiso, cskam, cswin, sk852, skiso, skkam, skwin Now string keys in CDX indexes using above codepages are sorted in the same way as HVM sorts strings. Please only remember that CDX internal format was designed for byte weight sorting so such CPs may reduce internal compression level increasing the size of final indexes. After this modification all native index types (NTX, NSX and CDX) fully respects national sorting defined in Harbour CPs. 2009-09-22 09:52 UTC+0200 Viktor Szakats * source/vm/dynlibhb.c ! Minor typo. 2009-09-22 09:47 UTC+0200 Viktor Szakats * include/hbwince.h * source/common/hbwince.c + Added WIDE version of dummy winapi implementations for WinCE. * source/common/hbffind.c * source/common/hbfsapi.c * source/rtl/diskspac.c * source/rtl/disksphb.c * source/rtl/filesys.c * source/vm/dynlibhb.c * contrib/hbmzip/hbmzip.c * contrib/xhb/filestat.c * contrib/hbwin/win_dll.c * contrib/hbwin/wapi_winbase.c * contrib/hbwin/win_prn1.c * contrib/hbwin/win_prn2.c + Changed forced ANSI version of winapi calls to native version. ! Fixed potential GPF in WIN_LOADBITMAPFILE(). % Cleaned types/variables in hb_PrintFileRaw(). % Minor type cleanup and formatting in filestat.c. ; TODO: There are still some forced ANSI calls in Harbour code: (plus some dynamically called ones) --- source/common/hbver.c:264: if( GetVersionExA( &osVer ) ) source/common/hbver.c:306: if( GetVersionExA( ( OSVERSIONINFOA * ) &osVerEx ) ) source/common/hbgete.c:75: DWORD size = GetEnvironmentVariableA( szName, NULL, 0 ); source/common/hbgete.c:80: GetEnvironmentVariableA( szName, pszBuffer, size ); source/common/hbgete.c:114: bRetVal = GetEnvironmentVariableA( szName, szBuffer, nSize ) != 0; source/common/hbgete.c:157: return SetEnvironmentVariableA( szName, szValue ) != 0; source/rtl/filesys.c:2687: fResult = GetCurrentDirectoryA( ulSize, pszBuffer ); source/rtl/fstemp.c:153: if( ! GetTempPathA( ( DWORD ) ( HB_PATH_MAX - 1 ), pszName ) ) source/rtl/fstemp.c:270: if( ! GetTempPathA( ( DWORD ) HB_PATH_MAX, szTempDir ) ) source/rtl/fstemp.c:278: fResult = GetTempFileNameA( szTempDir, pszPrefix ? pszPrefix : "hb", 0, pszBuffer ); source/rtl/net.c:157: GetComputerNameA( pszValue, &ulLen ); source/rtl/net.c:186: GetUserNameA( pszValue, &ulLen ); contrib/hbwin/win_prn2.c:169: DWORD dwSize = GetProfileStringA( "windows", "device", "", pPrinterName, *pdwBufferSize ); --- [DONE] ; Review me. 2009-09-22 07:42 UTC+0200 Viktor Szakats * contrib/hbmemio/memio.c ! Fixed warnings reported by gcc and msvc. Please review me. 2009-09-22 02:05 UTC+0200 Viktor Szakats * source/vm/maindllp.c ! Fixed for Unicode mode (msvc2010 x64). 2009-09-22 00:43 UTC+0200 Viktor Szakats * config/win/global.mk + Enabled UNICODE mode for all 64-bit Windows targets. Here there is no concern about Win9x compatibility, so it can be safely done, and I hope this move will make it easier to catch UNICODE coding problems, as it will be now part of some default builds. The ultimate litmus test is on Windows is msvc64, where C++, 64-bit and Unicode compatibility is tested at the same time. 2009-09-22 00:18 UTC+0200 Viktor Szakats + contrib/hbmemio/tests + contrib/hbmemio/tests/hbmk.hbm + contrib/hbmemio/tests/test.prg + Added test dir. + Added test code included by Mindaugas in the ChangeLog entry. * contrib/hbmemio/Makefile + contrib/hbmemio/memio.c - contrib/hbmemio/iodmem.c * Renamed to be in sync with netio. ! Fixed strcpy() call to hb_strncpy(). Review me I didn't check if the set length limit is a valid one. ! Fixed C++ casting errors on buffer allocation calls. ; FIXME: These warnings remain: --- ../../../memio.c(170) : warning C4244: 'argument' : conversion from 'HB_FOFFSET' to 'ULONG', possible loss of data ../../../memio.c(423) : warning C4244: '=' : conversion from 'HB_FOFFSET' to 'ULONG', possible loss of data ../../../memio.c(452) : warning C4244: 'argument' : conversion from 'HB_FOFFSET' to 'ULONG', possible loss of data ../../../memio.c(501) : warning C4244: 'argument' : conversion from 'HB_FOFFSET' to 'ULONG', possible loss of data ../../../memio.c(508) : warning C4244: 'argument' : conversion from 'HB_FOFFSET' to 'ULONG', possible loss of data ../../../memio.c(580) : warning C4267: 'argument' : conversion from 'size_t' to 'ULONG', possible loss of data ../../../memio.c(627) : warning C4267: '=' : conversion from 'size_t' to 'ULONG', possible loss of data ../../../memio.c(674) : warning C4244: 'argument' : conversion from 'int' to 'USHORT', possible loss of data memio.c(373) : warning C4701: potentially uninitialized local variable 'pFile' used --- * contrib/hbmemio/hbmemio.hbc ! Corrected svn props to be like in howtosvn.txt. 2009-09-22 00:11 UTC+0200 Viktor Szakats - contrib/iodmem + contrib/hbmemio - contrib/hbmemio/iodmem.hbc + contrib/hbmemio/hbmemio.hbc * contrib/hbmemio/Makefile * contrib/Makefile * Renamed to have 'hb' prefix and to be in line with hbnetio. ! Fixed props on Makefile. ! Corrected to list this lib in no-dependency section in contrib/Makefile. 2009-09-21 22:50 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) + harbour/contrib/Makefile + harbour/contrib/iodmem/Makefile + harbour/contrib/iodmem/iodmem.hbc + added make files * harbour/contrib/iodmem/iodmem.c ! updated to be compatible with the latest SVN (rename method implemented) * some warnings are fixed 2009-09-21 17:20 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) + harbour/contrib/iodmem + harbour/contrib/iodmem/iodmem.c + Implemented Memory file system. Public functions hb_memfs*() are availible, if HB_MEMFS_PUBLIC_API is defined. + Implemeted I/O driver for memory file system ; HB_IODMEM request can be used to force linking of I/O driver and memory FS into executable. "mem:" prefix should be used to indicate a MemFS file, ex.: REQUEST HB_IODMEM PROC main() LOCAL nI FIELD F1 DBCREATE("mem:test", {{"F1", "N", 9, 0}},, .T., "memarea") FOR nI := 1 TO 1000 DBAPPEND(); F1 := HB_RANDOM() * 1000000 NEXT INDEX ON F1 TAG f1 DBEVAL({|| QOUT(F1)}) DBCLOSEAREA() DBDROP("mem:test") // Free memory resource RETURN ; TODO: locking is not supported yet (but it is not very usefull if MemFS is used to store of a temporary database opened in exclusive mode). 2009-09-21 15:29 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fix to -strip with -hblib support for gcc targets. 2009-09-21 15:23 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added support for -strip option in -hblib mode. ! Fixed -strip in -hbdyn mode for darwin and sunos targets which use individual strip command. * harbour-win-spec * harbour-wce-spec * Reverted change in 2009-09-21 14:03. ; See related pending question on dev list. 2009-09-21 15:07 UTC+0200 Viktor Szakats * config/sunos/global.mk ! Fixed to not use -s option for stripping. This doesn't seem to be supported on sunos platform, at least according to code found in hbmk2. * utils/hbmk2/hbmk2.prg + Added support for -strip in -hbdyn mode. + Added -strip support for sunos/gcc targets. ! Fixed to use strip command instead of -s option with sunos/sunpro targets. * utils/hbmk2/hbmk2.prg * config/bin.mk + Added hbmainstd lib for os/2 targets in shared mode. Maurilio, please restest after this change. ; Needless to say I couldn't test these, so I'd appreciate if sunos users could verify it (except -strip in -hbdyn mode). 2009-09-21 14:03 UTC+0200 Viktor Szakats * harbour-win-spec * harbour-wce-spec % Deleted some unnecessary lines (related to strip feature) * harbour.spec * HB_INC_* -> HB_WITH_* 2009-09-21 12:54 UTC+0200 Viktor Szakats * harbour-win-spec * harbour-wce-spec * harbour.spec % Using HB_BUILD_STRIP instead of stripping locally. * harbour.spec % Using HB_BUILD_SHARED instead of rebuilding tools locally. * Changed 'make -i' to 'make' to sync with other spec files. 2009-09-21 12:41 UTC+0200 Viktor Szakats * external/libpng/LICENSE ! Missed one file from prev. 2009-09-21 12:40 UTC+0200 Viktor Szakats * external/libpng/pngconf.h * external/libpng/pngset.c * external/libpng/pngwutil.c * external/libpng/png.c * external/libpng/png.h * Updated to 1.2.40 (from 1.2.39) 2009-09-21 12:11 UTC+0200 Viktor Szakats * config/beos/gcc.mk * config/beos/global.mk * config/bsd/gcc.mk * config/bsd/global.mk * config/wce/mingwarm.mk * config/hpux/gcc.mk * config/hpux/global.mk * config/dos/djgpp.mk * config/win/mingw.mk * config/win/cygwin.mk * config/linux/icc.mk * config/linux/sunpro.mk * config/os2/gcc.mk * config/sunos/gcc.mk * config/sunos/global.mk * config/sunos/sunpro.mk + Added HB_BUILD_STRIP support for rest of compilers. ; Please make tests. * bin/postinst.sh - Deleted strip from postinst phase. 2009-09-21 11:44 UTC+0200 Viktor Szakats * config/global.mk ! Fixed to recent changes to sysloc detection. * config/linux/gcc.mk + Added HB_BUILD_STRIP support for linux/gcc. * config/bin.mk ! Fixed to not try to build a shared binary for binaries not dependent on HVM. It's done in a little tricky way, maybe we should introduce a new variable to signal Harbour executables vs plain C ones. This should fix link errors in harbour reported by users. 2009-09-21 11:28 UTC+0200 Maurilio Longo (maurilio.longo@libero.it) ! ChangeLog ! forgot to write here my latest change 2009-09-21 11:16 UTC+0200 Viktor Szakats * contrib/hbqt/Makefile * contrib/hbqt/hbqts/Makefile * contrib/gtqtc/Makefile * contrib/gtqtc/gtqtcs/Makefile ! Fixed QT detection on darwin after 2009-09-18 12:19 change in detfun.mk. * utils/hbmk2/hbmk2.prg + Comment added (from .mk). * config/darwin/gcc.mk * config/darwin/icc.mk * config/darwin/clang.mk * config/darwin/global.mk * config/rules.mk + Implemented HB_BUILD_STRIP for darwin. (on darwin strip has to be called directly) 2009-09-20 23:00 UTC+0200 Viktor Szakats * ChangeLog ! Added missing lines from prev entry: * bin/postinst.sh + Added HB_CCPATH to strip cmd. Suggest by Przemek. ! Minor fix to find cmd by Tamas Tevesz. 2009-09-20 22:41 UTC+0200 Viktor Szakats * harbour-win-spec * harbour-wce-spec * INSTALL * Makefile * source/pp/Makefile * source/Makefile * config/global.mk * HB_BUILD_PART -> HB_BUILD_PARTS (simple rename) + HB_BUILD_STRIP added. It's dummy yet. Support will have to be added on the compiler level and removed from postinst phase. * bin/postinst.sh + Added HB_CCPATH to strip cmd. Suggest by Przemek. ! Minor fix to find cmd by Tamas Tevesz. 2009-09-20 18:12 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/harbour-win-spec * harbour/harbour-wce-spec * harbour/bin/hb-func.sh * harbour/config/global.mk * updated to work with modified base make internals and envvars * do not overload defined by user HB_TOOLS_PREF ! fixed c&p typo in DJGPP cross build HB_TOOLS_PREF Warning: it still needs export HB_BUILD_SHARED=no before creating RPMs but it should be fixed in base make together with native builds. TODO: we should agree some conditions for alternative system wide cross build installation, like .cfg file name and localization. 2009-09-20 17:04 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ; Fixes based on Przemek's extensive tests/suggestions on different *nix systems. ! -fixshared option now only effective for gcc compilers. For the rest it behaves as -fullshared. ! Added x11 and curses/slang libpath for bsd targets in shared mode. hbmk2 solution is rough, but didn't see a reason to make it more complicated. I hope it fixes the problem. + Enabled -fullstatic mode for sunpro compilers. * utils/hbmk2/hbmk2.prg ! Fixed to add /usr/X11R6/lib64 dir to libpath list on linux targets only. (sync with similar guard in sunpro compiler support) ; FIXME: This leaves the GPF in sunpro/linux on the pending list. ; FIXME: And here comes to mind that mingw64 also GPFs in shared mode. 2009-09-20 16:31 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg * config/global.mk + Added beos system location detection. + Added system location detection based on [LD_]LIBRARY_PATH. ; Please review and even tweak code if needed. I didn't test these changes. * utils/hbmk2/hbmk2.prg % system location detection code disabled for non-*nix hbmk2 builds. It's of no use there, as far as I can overview all scenrios. * config/global.mk * Restored default lib dir to simply lib on *nixes. % Minor opt to system location detection. ! Fixed to only use 'harbour' lib/inc postfixes on beos when installed on system location. Thanks Przemek for the patch. 2009-09-20 15:33 UTC+0200 Viktor Szakats * external/pcre/config.h * Restored original only differing in whitespace. - external/pcre/ChangeLog - Deleted. Content is obsolete. + external/pcre/pcre.dif + Added .dif file. * config/darwin/gcc.mk * config/darwin/clang.mk * config/darwin/icc.mk + Finished dylib link generation for darwin. 2009-09-20 15:15 UTC+0200 Viktor Szakats * config/global.mk * Changed to install libs by default to lib/<plat>/<comp> on *nixes too. (if HB_INSTALL_PREFIX isn't a system location) * config/dyn.mk ! Typo in prev. 2009-09-20 14:51 UTC+0200 Viktor Szakats * bin/postinst.sh ! Fix to strip command. Now using 'find' again and using -maxdepth 1 to prevent it from parsing subdirs. * config/global.mk + Added new user settings to screen dump. * source/dynlib/mt/Makefile * source/dynlib/Makefile * config/darwin/gcc.mk * config/linux/gcc.mk * config/dyn.mk + Attempt to add link creation for dynlibs. Not tested yet. ; TODO: darwin needs even more sophistication. [DONE] ; TODO: clean support is missing yet. [DONE] ; TODO: add this to rest of targets. [DONE] ; TODO: install support? [DONE] * source/vm/vmmt/Makefile ! Disabled HB_HVM_ALL for linux-icc, because it causes compiler internal error when using -fpic. * source/vm/Makefile * Indenting. 2009-09-20 01:40 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/hvm.c * allow to check symbol module name for unregistered modules 2009-09-19 22:48 UTC+0200 Viktor Szakats * INSTALL ! Fixed typos in new section. ; NOTE: Please review this section, as I don't have an rpm-capable distro at hand. I may have also missed some sudo/fakeroot commands as I never use them in context of Harbour. TODO: If there it's at all possible I think Harbour package creation should support sudo-less way to *create* packages. 'sudo' should be a must only to install them to system location. 2009-09-19 22:28 UTC+0200 Viktor Szakats * INSTALL + Added new section: HOW TO CREATE DISTRIBUTABLE PACKAGES * bin/postinst.sh % Deleted -KPIC from dynlib command with sunpro. 2009-09-19 21:33 UTC+0200 Viktor Szakats * bin/postinst.sh * config/global.mk ! Fixes to prev after testing. (please review anyway) 2009-09-19 20:48 UTC+0200 Viktor Szakats * examples/hbdoc2/hbdoc2.prg * Minor changes/fixes to help screen and header. 2009-09-19 20:32 UTC+0200 Viktor Szakats * bin/hb-mkdyn.sh * bin/postinst.sh % Deleted -fPIC option from dynlib link command. It's not needed if there are no .c input files. 2009-09-19 20:17 UTC+0200 Viktor Szakats * mpkg_tgz.sh * bin/postinst.sh % Attempt to clean mpkg_tgz.sh from redundant make logic. Some tasks (stripping, shared tool making using HB_BUILD_SHARED, chmod on HB_INC_INSTALL) moved to postinst.sh, some others deleted (platform detection, shared tool building using old method, component detections, install dir forming and creation. ; Please review me and test. ; TODO: Maybe above tasks in postinst.sh should only be executed when HB_BUILD_PKG=yes. [NOT RELEVANT ANYMORE] * config/global.mk ! Fixed to only use lib64 dir if it exists. Please review/test this feature. + Now exports HB_SYSLOC variable which is set to non-empty if HB_INSTALL_PREFIX points to system location. * harbour.spec - Deleted PIC option related lines. These are handled by GNU Make now. * utils/hbmk2/hbmk2.prg + Added PIC related options to *nix compilers when using -hbdyn option. % Deleted PIC related option from link command. Not needed. 2009-09-19 18:25 UTC+0200 Viktor Szakats * INSTALL * config/global.mk + HB_BUILD_SHARED will now default to yes, if HB_INSTALL_PREFIX points to a *nix system location. (in sync with hbmk2 logic) * config/dos/djgpp.mk + Added .dll building rule, but it doesn't work, so I've commented it. (-shared isn't accepted by DJGPP ld) 2009-09-19 16:47 UTC+0200 Viktor Szakats * config/bin.mk + Added HB_BUILD_SHARED support for os2/watcom. * source/Makefile * Deleted env space saving optimization for dos platform and added support for gtdos when building dos .dlls. % Deleted line after prev changes. * config/global.mk + Added special .dll names when building dos based ones. (harbour / harbourm) * config/dos/watcom.mk + Enabled absolutely experimental dos .dll support. ; Current result: --- wlink OP quiet SYS cwdllr NAME '..\..\..\..\..\bin\dos\watcom\harbour' OP implib='../../. ./../../lib/dos/watcom/harbour.lib' @__dyn__.tmp Warning! W1027: file clib3r.lib(cstart): redefinition of ___begtext ignored Warning! W1027: file clib3r.lib(cstart): redefinition of __nullarea ignored Warning! W1027: file clib3r.lib(cstart): redefinition of __D16Infoseg ignored Warning! W1027: file clib3r.lib(cstart): redefinition of __x386_zero_base_selector ignored Warning! W1027: file clib3r.lib(cstart): redefinition of __exit_ ignored Warning! W1027: file clib3r.lib(cstart): redefinition of __do_exit_with_msg__ ignored Warning! W1027: file clib3r.lib(cstart): redefinition of __GETDS ignored Warning! W1027: file clib3r.lib(cstart): redefinition of ___GETDSStart_ ignored Warning! W1027: file clib3r.lib(cstart): redefinition of ___GETDSEnd_ ignored Error! E2030: file clib3r.lib(cstart): multiple starting addresses found mingw32-make.exe[2]: *** [harbour] Error 1 --- ; FIXME: hbpp object will be (or is) again a showstopper. * config/win/watcom.mk * Synced with dos/watcom.mk after above change. 2009-09-19 16:31 UTC+0600 April White (bright.tigra gmail.com) * examples/hbdoc2/hbdoc2.prg * bug fix when handling "--help" command line 2009-09-19 16:17 UTC+0600 April White (bright.tigra gmail.com) * doc/class_tp.txt * doc/hdr_tpl.txt * doc/inet.txt * doc/pragma.txt * doc/en-EN/array.txt * doc/en-EN/binnum.txt * doc/en-EN/browse.txt * doc/en-EN/clipper.txt * doc/en-EN/cmdline.txt * doc/en-EN/command.txt * doc/en-EN/compiler.txt * doc/en-EN/datetime.txt * doc/en-EN/dbdelim.txt * doc/en-EN/dbsdf.txt * doc/en-EN/dbstrux.txt * doc/en-EN/dir.txt * doc/en-EN/diskspac.txt * doc/en-EN/errsys.txt * doc/en-EN/eval.txt * doc/en-EN/file.txt * doc/en-EN/garbage.txt * doc/en-EN/gnulice.txt * doc/en-EN/gtslang.txt * doc/en-EN/harbext.txt * doc/en-EN/hb_api.txt * doc/en-EN/hb_apier.txt * doc/en-EN/hb_apifs.txt * doc/en-EN/hb_apigt.txt * doc/en-EN/hb_apiit.txt * doc/en-EN/hb_apiln.txt * doc/en-EN/hb_apird.txt * doc/en-EN/hb_compa.txt * doc/en-EN/hb_date.txt * doc/en-EN/hb_macro.txt * doc/en-EN/hb_set.txt * doc/en-EN/hb_vm.txt * doc/en-EN/hvm.txt * doc/en-EN/idle.txt * doc/en-EN/input.txt * doc/en-EN/lang.txt * doc/en-EN/license.txt * doc/en-EN/macro.txt * doc/en-EN/math.txt * doc/en-EN/memo.txt * doc/en-EN/memvar2.txt * doc/en-EN/menu.txt * doc/en-EN/misc.txt * doc/en-EN/nation.txt * doc/en-EN/objfunc.txt * doc/en-EN/rdddb.txt * doc/en-EN/rddmisc.txt * doc/en-EN/rddord.txt * doc/en-EN/readme.txt * doc/en-EN/sayget.txt * doc/en-EN/set.txt * doc/en-EN/setmode.txt * doc/en-EN/string.txt * doc/en-EN/strotype.txt * doc/en-EN/subcodes.txt * doc/en-EN/tbrowse.txt * doc/en-EN/tclass.txt * doc/en-EN/terminal.txt * doc/en-EN/tgetlist.txt * doc/en-EN/tlabel.txt * doc/en-EN/treport.txt * doc/en-EN/var.txt * amended to use standard content (template, category, sub-category) * typos corrected in many files ; TODO within hbdoc2: ; combine all items of one category into one file ; properly build links between html files (index, category, 'top'); this will be a building block for rtf and pdf files ; produce rtf and pdf output ; produce tr output 2009-09-19 16:02 UTC+0200 Viktor Szakats * config/bin.mk ! Fixed to leave sys libs for non-*nix systems in shared mode. + Added HB_BUILD_SHARED support for win/watcom. * utils/hbmk2/Makefile * utils/hbrun/Makefile + Added extra core lib specs required in shared mode. 2009-09-19 15:54 UTC+0600 April White (bright.tigra gmail.com) + examples/hbdoc2/ + examples/hbdoc2/genhtml.prg + examples/hbdoc2/gentpl.prg + examples/hbdoc2/gentxt.prg + examples/hbdoc2/genxml.prg + examples/hbdoc2/hbdoc2.ch + examples/hbdoc2/hbdoc2.hbp + examples/hbdoc2/hbdoc2.prg + examples/hbdoc2/tmplates.prg % initial upload 2009-09-19 15:11 UTC+0200 Viktor Szakats * source/dynlib/mt/Makefile * source/dynlib/Makefile * source/Makefile * config/global.mk * config/bin.mk * INSTALL + Added experimental support for HB_BUILD_SHARED=yes setting, which tells GNU Make to create shared Harbour tool executables. ; FIXME: watcom for sure needs to be fixed. [DONE] 2009-09-19 14:47 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg % Deleted bin dir from lib dir list in shared mode for non-*nix compilers. Implibs are used in all cases so this is isn't necessary anymore. 2009-09-19 14:43 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/mpkg_deb.sh * harbour/mpkg_rpm.sh * harbour/mpkg_rpm_win.sh * harbour/bin/hb-mkdyn.sh * harbour/bin/postinst.sh * harbour/mpkg_src.sh * harbour/mpkg_rpm_wce.sh * harbour/mpkg_tgz.sh * replaced command used to force script execution by bash, instead of: [ "$BASH" ] || exec bash `which $0` ${1+"$@"} use: [ "$BASH" ] || exec bash $0 "$@" * harbour/bin/hb-func.sh ! use HB_HAS_* variables instead of HB_INC_* 2009-09-19 14:00 UTC+0200 Viktor Szakats * external/zlib/zlib.dif * external/sqlite3/sqlite3.dif ! Set native EOL props. This one is indeed required. 2009-09-19 13:53 UTC+0200 Viktor Szakats * config/global.mk ! Typo. * utils/hbmk2/hbmk2.prg ! Fixed BSD CURSES lib name. 2009-09-19 13:52 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/hb-func.sh ! fixed few problems introduced by macro name modifications and removed some wrong RT checking * harbour/bin/hb-func.sh * harbour/source/common/hbprintf.c * harbour/source/rtl/fstemp.c * harbour/config/bsd/libs.mk * updated for NetBSD builds 2009-09-19 13:45 UTC+0200 Viktor Szakats * INSTALL * HB_INC_* -> HB_WITH_*. This is now the new documented (pbly the final name) to control external dependencies. Usage is the same as with HB_INC_*. HB_INC_* is still accepted. + Synced .deb and .rpm package names with information found in mpkg_*.sh files. * config/detfun.mk ! Fixed to accept HB_WITH_* variables in place of HB_INC_*. If both are specified, HB_WITH_* will be used. * mpkg_deb.sh % Deleted redundant-looking package detection. Packages are now detected from GNU Make everywhere where needed. Also deleted redundant assembly of HB_CONTRIBLIBS variable. * mpkg_tgz.sh % Deleted -fPIC handling. Now handled by GNU Make system. - Deleted HB_NCURSES_FINK variable which isn't used in Harbour anywhere. * config/global.mk + Setting lib INSTALL dir to lib64 for x86_64 targets. (Please extend this with other 64-bit CPU types, if this is how it should work on *nixes) This rule was taken from mpkg_tgz.sh. 2009-09-19 11:26 UTC+0200 Viktor Szakats * external/sqlite3/sqlite3.c * external/sqlite3/sqlite3.dif * external/sqlite3/sqlite3.h + sqlite upgraded to 3.6.18 (from 3.6.17) * external/sqlite3/Makefile + Enabled for mingwarm. Now it compiles with only one warning. * utils/hbmk2/hbmk2.prg + Added 'fossil' version control system support to -vcshead option. 2009-09-19 10:15 UTC+0200 Viktor Szakats * debian/rules % Minor Makefile optimizations. I hope this is right. * INSTALL + Readded alternative package for curl on debian. + external/zlib/zlib.dif + external/sqlite3/sqlite3.dif + Added .dif files for local patches to locally hosted 3rd party code. Pls update these when modifying original source locally. ; NOTE: I intentionally didn't add svn props to these files. * external/sqlite3/Makefile ! Typo in comment. 2009-09-19 07:46 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/hb-func.sh * updated for OpenBSD builds * harbour/external/sqlite3/sqlite3.c ! casting 2009-09-19 07:18 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/xhb/hboutdbg.c * casting for some very pedantic C compilers 2009-09-19 00:27 UTC+0200 Viktor Szakats * INSTALL * harbour-win-spec * harbour-wce-spec * Makefile * source/pp/Makefile * source/Makefile * config/global.mk * Renamed HB_HOST_BUILD to HB_BUILD_PART. Values 'yes' changed to compiler. + Documented HB_BUILD_PART in INSTALL. * mpkg_deb.sh * mpkg_rpm.sh * mpkg_rpm_win.sh * mpkg_rpm_wce.sh ! Changed bin/pack_src.sh to mpkg_src.sh. 2009-09-19 00:20 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/common/hbgete.c * harbour/source/common/hbprintf.c ! fixed OpenBSD builds * harbour/config/detect.mk * added /usr/local/include to scanned paths * harbour/contrib/xhb/hboutdbg.c * formatting 2009-09-18 16:55 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fixed to add windows system libs in mingw -shared mode. + Added some steps towards os2/gcc -shared support. * INSTALL * Minor. 2009-09-18 16:22 UTC+0200 Maurilio Longo (maurilio.longo@libero.it) * config/os2/gcc.mk * enabled .dll creation for OS/2 and GCC. 2009-09-18 15:12 UTC+0200 Viktor Szakats * doc/gmake.txt - source/vm/mainpm.c * config/os2/gcc.mk * examples/hbdoc/examples/core_es/dirstruc.txt - Deleted os2pm and mainpm references. It wasn't needed, so (with OS/2 users) we decided to delete it. 2009-09-18 14:09 UTC+0200 Viktor Szakats * config/os2/gcc.mk % Minor sync of internal libpath/liblist forming logic with other platforms. 2009-09-18 13:09 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbwin/win_com.c ! fixed unicode translation - trailing 0 was not set 2009-09-18 12:40 UTC+0200 Viktor Szakats * source/rtl/hbsocket.c - Reverted patch committed in 2009-09-18 12:19. It was overridden by an enhanced version in 2009-09-18 12:37. 2009-09-18 12:40 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/ChangeLog ! fixed my typo in name Tomas->Tamas - I'm sorry. 2009-09-18 12:37 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/hb-func.sh * harbour/config/beos/libs.mk ! use network system library instead of socket in BEOS/HAIKU builds * harbour/source/rtl/hbsocket.c ! translate protocol/address families in BEOS/HAIKU builds Thanks to Tamas for locating both problems 2009-09-18 12:19 UTC+0200 Viktor Szakats * ChangeLog ! Typos. * source/rtl/hbsocket.c ! Applied patch for BEOS/HAIKU by Tamas Tevesz. * contrib/hbtip/sendmail.prg ! Fixed to append CRLF instead of hb_osNewLine() to email body. Patch submitted by Lorenzo Fiorini. NOTE: This fix is surely valid, I'll apply further fixes as we manage to find out more on the bigger picture. * contrib/hbtip/mail.prg ! Applied a few patches from mail.prg sent by Gerald Drouillard: - Using :setBody() from :New() instead of replicating (little bit different) logic. - "Content-Length" deleted from generated email text. - Added parameter list to METHOD declaration for :setHeader(). * Minor formatting. * config/beos/libs.mk + Applied patch from Tamas Tevesz changing 'socket' lib to 'network' for BEOS/HAIKU. * utils/hbmk2/hbmk2.prg + Done the same for hbmk2 (changed 'socket' lib to 'network' for BEOS/HAIKU). * config/detfun.mk + Changed to avoid duplicate component detection lines in verbose output. (_DET_OPT_VERB=very|yes - not yet documented) (note this needs absolute paths to be used when referring to internal components in _DET_INC_DEFP/_DET_INC_LOCL) * external/sqlite3/Makefile * external/libhpdf/Makefile * external/libpng/Makefile * contrib/hbsqlit3/Makefile * contrib/hbhpdf/Makefile + Changed to use absolute paths when referring to locally hosted components in _DET_INC_LOCL variables. 2009-09-18 12:05 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/hb-func.sh * updated hb* scripts to work modified bast build conditions * harbour/source/rtl/gttrm/gttrm.c * added support for terminals with automatic scroll at maxrow,maxcol position - now it's enabled for BSD console though it may be also usable in other terminals with such behavior but it's hard to detect it without real tests. * harbour/source/rtl/filebuf.c * clear FS error code in dummy close * harbour/contrib/hbnetio/netio.h * harbour/contrib/hbnetio/netiosrv.c * added special error code which is used if some operation fails but without setting hb_fsError() * replaced const value with macro as Tamas suggested 2009-09-18 04:07 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/gttrm/gttrm.c + added support for FreeBSD console 2009-09-18 02:38 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/config/detect.mk ! fixed typo in include directory used for slang.h detection - removed redundant HB_LOCAL_SLN variable - now this functionality can be reached using HB_INC_SLANG 2009-09-18 01:43 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbthread.h * harbour/include/hbdefs.h * harbour/source/vm/dynlibhb.c * harbour/config/bsd/libs.mk ! updated to work with FreeBSD 2009-09-18 00:02 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/filebuf.c ! fixed missing FS IO error setting on local lock collisions * harbour/tests/tb1.prg * added my copyright note 2009-09-17 16:37 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/external/libpng/Makefile * disabled when XCC compiler is used - it cannot compile it * harbour/contrib/hbnetio/netiomt.prg * updated comment with NETIO_MTSERVER() syntax * harbour/contrib/hbnetio/netiosrv.c * minor formatting 2009-09-17 15:38 UTC+0200 Viktor Szakats * contrib/hbnetio/utils/netiosrv.prg + Added header. + Showing server configuration. 2009-09-17 15:13 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg - Deleted supc++ lib. hbmk2 won't be able to solve every existing compiler configuration problems, so in this case users will have to deal with this special case and supply supc++ or supcxx or stdc++ lib if it's required, or manually select C++ mode for hbmk2 if that better solves local needs. Case closed from my side. * contrib/hbqt/hbqts.hbc * contrib/hbqt/hbqt.hbc * contrib/gtqtc/gtqtcs.hbc * contrib/gtqtc/gtqtc.hbc + Readded supc++ libs to .hbc files, where needed. 2009-09-17 14:50 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg - Deleted supc++ lib from os2/gcc targets. It causes warnings like this: --- emxomf warning: Undefined stabs type 182 referenced emxomf info: parsing sym no.676 type=1 at char 'xyz' in position 12:context:p182 emxomf warning: Cycle detected by make_type. --- ; TODO: Check if C++ built Harbour works with hbmk2 in (default) C mode. [SOLVED] 2009-09-17 14:10 UTC+0200 Viktor Szakats * bin/hb-func.sh * source/rtl/gtcrs/gtcrs.c * source/rtl/gtcrs/gtcrs.h * config/detect.mk - Deleted HB_NCURSES_194 references. 2009-09-17 13:14 UTC+0200 Viktor Szakats * source/rtl/gtcrs/Makefile * source/rtl/gttrm/Makefile * source/rtl/gtsln/Makefile * config/global.mk % Deleted dedicated (redundant) make level settings: - HB_GPM_NOICE_DISABLE=yes It should be replaced with HB_USER_CFLAGS=-DHB_GPM_NOICE_DISABLE Notice this setting was only effective in gtsln (yet it was passed to two other GTs). - HB_GT_CRS_BCEHACK=yes It should be replaced with HB_USER_CFLAGS=-DHB_GT_CRS_BCEHACK - HB_NCURSES_194=yes It should be replaced with HB_USER_CFLAGS=-DHB_NCURSES_194 ; TODO: Change logic in bin/hb-func.sh to lookup user flags for -DHB_NCURSES_194, instead of processing dedicated HB_NCURSES_194 variable. I'm unsure which variable to check here for user flags. [SOLVED] 2009-09-17 13:00 UTC+0200 Viktor Szakats * bin/hb-func.sh * config/beos/libs.mk * config/global.mk * config/bsd/libs.mk * config/darwin/libs.mk * config/hpux/libs.mk * config/dos/djgpp.mk * config/linux/libs.mk * config/sunos/libs.mk * Renamed two variables to be in sync with latest changes: HB_CRS_LIB -> HB_LIBNAME_CURSES HB_SLN_LIB -> HB_LIBNAME_SLANG (this one is not honored by GNU Make system) ; FIXME: Honor HB_LIBNAME_SLANG in GNU Make system? Is that needed in some cases? * config/dos/djgpp.mk + Synced system lib/libpath logic with libs.mk found on other platforms. 2009-09-17 12:35 UTC+0200 Viktor Szakats - bin/pack_src.sh + mpkg_src.sh * Moved and renamed to align with rest of pkg creation scripts. (this should also go to package dir once in the future) * source/common/hbver.c * Converted decimal version numbers to hex in BCC guards. + Added BCC version detections for old (pre-5.x) versions. (Borrowed from xhb/Miguel Angel Marchuet) 2009-09-17 11:58 UTC+0200 Viktor Szakats * INSTALL + Added darwin/clang to compatibility matrix. 2009-09-17 11:11 UTC+0200 Viktor Szakats - ERRATA * doc/howtosvn.txt * INSTALL * bin/postinst.cmd * bin/postinst.bat * package/mpkg_win.nsi * package/winuni/mpkg_win_uni.bat * package/winuni/mpkg_win_uni.nsi + Replaced ERRATA file (which was never updated), with a link to bug/feature/etc tracker in INSTALL. * INSTALL * Minor improvements. 2009-09-17 10:50 UTC+0200 Viktor Szakats * include/hbsetup.h ! Added __BEOS__ check when detecting HB_OS_BEOS. 2009-09-17 10:38 UTC+0200 Viktor Szakats * source/rdd/usrrdd/rdds/arrayrdd.prg * contrib/hbct/tests/datetime.prg * contrib/xhb/decode.prg * contrib/hbsqlit3/tests/hooks.prg * contrib/hbsqlit3/tests/backup.prg * contrib/hbsqlit3/tests/authoriz.prg * contrib/hbblat/blatcls.prg * contrib/hbnf/nooccur.prg * contrib/hbnf/floptst.prg * contrib/hbfimage/tests/fitest.prg * contrib/hbgd/tests/gdtestcl.prg * contrib/hbgd/tests/counter.prg * contrib/hbgd/gdchart.prg * contrib/hbgd/gdimage.prg * TRUE/FALSE in .prg code changed to .T./.F. - contrib/gtwvg/tests/v_calcltr.ico + contrib/gtwvg/tests/v_clclt.ico * Renamed to short name. (this file isn't used BTW) * contrib/hbblat/tests/blattest.prg - contrib/hbblat/tests/f_sample1.txt + contrib/hbblat/tests/f_sampl1.txt - contrib/hbblat/tests/f_subjectline.txt + contrib/hbblat/tests/f_subjct.txt - contrib/hbblat/tests/f_listtext.txt + contrib/hbblat/tests/f_listtx.txt * Renamed to short names. 2009-09-17 01:55 UTC+0200 Viktor Szakats * config/global.mk ! Fixed clang autodetection on darwin. ! Fixed systematic (copy/paste) typos in most 'find_in_path_par' calls. (in gentoo mingw and msdosdjgpp autodetection) 2009-09-17 00:58 UTC+0200 Viktor Szakats * source/Makefile * config/lib.mk + Added Przemek's patch to add local hbzlib and hbpcre libs to Harbour dynlib. ; TODO: Add some ways to disable this because it has some drawbacks (it e.g. makes it impossible to link 3rd party libs also exporting zlib / pcre interfaces). This information needs to be passed to hbmk2, too. I don't have any elegant way to solve this problem ATM. * utils/hbmk2/hbmk2.prg * Changed to only add local hbzlib and hbpcre libs to liblist in static mode. (this is needed to support change above). + Enabled lib grouping for beos/gcc. + Added supc++/supcxx lib to liblist of gcc family compilers. This aims to solve link problems when Harbour is built in C++, but hbmk2 is used in C mode. * contrib/hbqt/hbqts.hbc * contrib/hbqt/hbqt.hbc * contrib/gtqtc/gtqtcs.hbc * contrib/gtqtc/gtqtc.hbc - Deleted explicit supc++ libspec. Now it's added by hbmk2 automatically. * config/dyn.mk ! Modified to add local hbpcre and hbzlib to syslib list to make it link with beos/haiku. Please test/confirm this change. - Disabled above logic, since it's not needed. * config/global.mk + Added autodetection for linux/sunpro, linux/icc, darwin/clang, darwin/gcc, darwin/icc. On darwin clang became the default, if available. * external/sqlite3/Makefile + Tweak for linux/watcom. Based on Przemek patch sent to the devlist. * config/detfun.mk * config/bin.mk * config/dyn.mk * source/Makefile * config/lib.mk % Minor modification to HB_HAS_*_LOCAL logic to make it safe to use this var without first checking HB_HAS_*. ; Please test/review these. I didn't restest everything after above changes. 2009-09-16 22:49 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg * utils/hbmk2/hbmk2.pt_BR.po * utils/hbmk2/hbmk2.hu_HU.po + Added HBMK_OPTIONS environment variable where options can be specified in the same format as in the command-line. This is the supported and recommended way to control hbmk2 by envvar. + Documented HBMK_OPTIONS on help screen. % Cleaned internal handling of 'legacy' environment variables. This means they will be processed in one central place and converted to regular command-line options just as if they were specified in HBMK_OPTIONS. + Showing screen message if there were any settings read from the environment (also showing the actual settings). This will make it easy to debug problems caused by leftover envvars. - Deleted HB_COMPILER and HB_PLATFORM envvar references from screen messages. Now these are considered legacy and not advertised. * Regenerated *.po files. 2009-09-16 19:58 UTC+0200 Viktor Szakats * contrib/hbqt/hbqts.hbc ! Fixed to include supc++ for gcc targets. * contrib/hbqt/hbqt.hbc * contrib/gtqtc/gtqtc.hbc % Simplified inclusion logic of supc++. * contrib/gtqtc/gtqtc.hbc + contrib/gtqtc/gtqtcs.hbc + contrib/gtqtc/gtqtcs + contrib/gtqtc/gtqtcs/Makefile * contrib/gtqtc/Makefile + HB_QT_STATIC now works the same way as for hbqt. 2009-09-16 17:08 UTC+0200 Viktor Szakats * contrib/hbwin/legacy.prg + Added operator overloading to TOLEAUTO compatibility class. Original code has been optimized and few small bugs fixed. Please test, I've only tested clean build. 2009-09-16 15:19 UTC+0200 Viktor Szakats * source/rtl/gtos2/gtos2.c ! Fixed warning on os2/gcc. 2009-09-16 15:15 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fixed to not include lib 'm' for beos. 2009-09-16 14:50 UTC+0200 Viktor Szakats * contrib/hbtip/sendmail.prg ! Fixed hang experienced in some situations when sending email. This was reported on Linux, but was also present on Windows (and all OSes). It was caused by not checking :GetOk() return value, but looking for :cReply being NIL. This seems to be incorrectly coded since the very beginning, but surfaced only after cleaning up socket API in core. Please review/test, I left also old condition in. * utils/hbmk2/hbmk2.prg * Minor formatting. 2009-09-16 13:30 UTC+0200 Viktor Szakats * examples/hbvpdf/hbvpdf.hbc + examples/hbvpdf/hbvpdf.hbp - examples/hbvpdf/Makefile + Added hbmk2 make files. Build with 'hbmk2 hbvpdf.hbp'. 2009-09-16 13:19 UTC+0200 Viktor Szakats * package/winuni/mpkg_win_uni.bat * package/winuni/mpkg_win_uni.nsi ! Deleted references to hbzlib and hbpcre inside source tree. 2009-09-16 12:59 UTC+0200 Viktor Szakats * utils/hbmk2/examples/contribf.hbc * contrib/Makefile - contrib/hbvpdf + examples/hbvpdf * Moved hbvpdf lib to examples section. This code is barely updated and offers duplicate functionality of superior hbhpdf lib. * source/rtl/filesys.c * Minor formatting. 2009-09-16 11:07 UTC+0200 Viktor Szakats * INSTALL - Deleted experimental status from beos target. * config/global.mk * Applied patch by Tamas Tevesz: Tweak to default install dir for beos. 2009-09-16 09:47 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added support for beos targets to hbmk2. (untested) 2009-09-16 09:45 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/ChangeLog - removed FIXME note - already fixed 2009-09-16 09:22 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/hb-func.sh * updated hb* scripts to work with HAIKU/BEOS * harbour/source/vm/dynlibhb.c * enabled dlopen()/dlclose() in HAIKU/BEOS builds * added TODO warning in non DOS builds which does not support dynamic library loading * harbour/source/rtl/fserr.c ! fixed errno translation * harbour/source/rtl/gttrm/gttrm.c + added support for CTRL+{UP,DOWN,RIGHT,LEFT} keys in HAIKU XTerm. + added hack for UP,DOWN,RIGHT,LEFT keys in HAIKU XTerm - it works only locally. * added two notes about problems with HAIKU XTerm which cannot be cleanly resolved by us: - reverted MIDDLE and RIGHT button - UP,DOWN,RIGHT,LEFT use the same sequences as CTRL+{UP,DOWN,RIGHT,LEFT} in XTerm 3.x.x any hardcoded solution is wrong in such case because XTerm can be used for remote access. 2009-09-16 02:44 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/common/hbgete.c ! fixed typo 2009-09-16 02:40 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbvmpub.h * harbour/include/hbdefs.h * added #if/#endif comments and minor formatting * harbour/include/hbsetup.h ! disable malloc attribute for GCC < 3.xx * harbour/include/hbinit.h ! removed unnecessary __HAIKU__ condition * harbour/include/hbdate.h ! enable MT safe localtime_r() function in HAIKU/BEOS builds * harbour/source/common/hbgete.c ! enable setenv()/unsetenv() in HAIKU/BEOS builds * harbour/source/common/hbprintf.c ! removed wrongly added condition which disabled [u]intmax_t for GCC < 3 * harbour/source/rtl/gtcrs/gtcrs.h ! do not redefine existing MAX_SIGNO * harbour/source/rtl/hbsocket.c ! enabled MT safe socket functions in HAIKU/BEOS builds * harbour/config/beos/libs.mk ! do not set explicitly GCC internal library paths. They are configured in GCC config and should not be overloaded in normal builds. 2009-09-15 20:07 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rdd/dbf1.c * pacified BCC warning * harbour/contrib/hbwin/win_com.c ! added missing header #include "hbinit.h" Thanks to Enrico for info. 2009-09-15 17:42 UTC+0200 Viktor Szakats * tests/menutest.prg ! Deleted COLOR keywords from examples. This seems to be an xhb extension no present in Harbour or Clipper. * source/rtl/menuto.prg + Added NOTE documenting the __ATPROMPT() cColor parameter is a Harbour extension. (it's valid because this is an undocumented/internal function) * contrib/xhb/hbcompat.ch + Added @ PROMPT + COLOR keyword. Please test, I don't know if it collides with std.ch definition. 2009-09-15 17:30 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbwin/win_com.c * initialize s_PortData structure at application startup 2009-09-15 17:11 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbnetio/netiocli.c ! added missing in previous commit casting for C++ mode 2009-09-15 16:52 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapifs.h * harbour/source/rtl/filebuf.c + added hb_fileRename() * harbour/contrib/hbnetio/netio.h * harbour/contrib/hbnetio/netiocli.c * harbour/contrib/hbnetio/netiosrv.c + implemented Rename method in NETIO * harbour/include/hbapirdd.h * harbour/source/rdd/workarea.c + added new non workarea method: RENAME() * harbour/source/rdd/Makefile * harbour/include/hbextern.ch * harbour/source/rdd/dbcmd.c + harbour/source/rdd/dbrename.c + added new .prg function: dbRename( <cTable> [,<cIndex>], <cNewName>, ; [<cRDD>], [<nConnect>] ) -> <lOK> + added hb_dbRename() - synonym of dbRename() * harbour/source/rdd/dbf1.c + added support for dbRename() in DBF* RDDs * harbour/include/hbrdddbf.h * harbour/include/hbrddcdx.h * harbour/include/hbrddfpt.h * harbour/include/hbrddntx.h * harbour/source/rdd/dbffpt/dbffpt1.c * harbour/source/rdd/dbfntx/dbfntx1.c * harbour/source/rdd/dbfnsx/dbfnsx1.c * harbour/source/rdd/dbfcdx/dbfcdx1.c * harbour/source/rdd/sdf1.c * harbour/source/rdd/delim1.c * harbour/include/hbusrrdd.ch * harbour/source/rdd/usrrdd/usrrdd.c * harbour/contrib/rddads/adsx.c * harbour/contrib/rddads/ads1.c * harbour/contrib/rddsql/sqlbase.c * harbour/contrib/rddsql/sqlmix.c * harbour/contrib/hbbmcdx/bmdbfcdx.c * harbour/contrib/hbbmcdx/hbbmcdx.h + updated to compile with new RDD method: RENAME TODO: add support for this method to ADS* RDDs 2009-09-15 15:56 UTC+0200 Viktor Szakats * INSTALL * doc/bintools.txt * os2-make.exe ! Updated OS/2 make.exe (and links in INSTALL) to make-3.81-r3 (from make-3.81-r2). This fixes the dreaded command-line length inducated GNU Make crashes which made us add .mk workarounds and which created a showstopper towards OS/2 .dll support. Many thanks to Maurilio Longo and Andreas Buening for hunting down and fixing the problem in OS/2 GNU Make port. 2009-09-15 15:19 UTC+0200 Viktor Szakats * contrib/hbtip/sendmail.prg ! Applied patch from Alex Strickland. Fixes wrong encoding (7-bit). Fixed mails sent as multi-part even if there was only simple body. * utils/hbmk2/hbmk2.prg ! Fixed stupid error in last cmomit. 2009-09-15 12:09 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbwin/win_com.c ! fixed small typo in UNICODE builds 2009-09-15 04:07 UTC+0200 Viktor Szakats * INSTALL * include/hbthread.h * include/hbdefs.h * include/hbsetup.h - config/haiku + config/beos * config/global.mk * Changed Haiku's internal name in Harbour to BeOS. HB_OS_HAIKU -> HB_OS_BEOS 'haiku' -> 'beos' * Changed __HAIKU__ guards to HB_OS_BEOS (two occurrences). Hope this is right. * external/libpng/Makefile * contrib/xhb/hbserv.c * contrib/hbtpathy/tpunix.c * contrib/hbsqlit3/Makefile * config/detect.mk + Applied 2nd Haiku patch by Tamas Tevesz. ; Please review hbtpathy patch. ; I've changed one HB_OS_HAIKU reference to __HAIKU__ since it looks to be a Haiku specific thing (thus HB_OS_BEOS doesn't seem appropriate). 2009-09-15 03:56 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Extended autodetection of mingw cross-compiler on *nix system. * Disabled native compiler tool autodetection for non-*nix targets on *nix hosts. This will need further refinement. * config/haiku/libs.mk - Deleted commented lines. * config/global.mk + Some more Haiku/BeOS autodetection. 2009-09-15 00:02 UTC+0200 Viktor Szakats * include/hbthread.h * include/hbdefs.h * include/hbsetup.h * include/hbinit.h * source/common/hbprintf.c * source/rtl/hbsocket.c + config/haiku + config/haiku/libs.mk + config/haiku/gcc.mk + config/haiku/global.mk * config/global.mk * config/detect.mk + Applied patch adding Haiku OS port to Harbour. By Tamas Tevesz. * INSTALL + Added haiku to supported OS list (in 'experimental' status) 2009-09-14 12:43 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg % Deleted UTF-8 hack. Now using the built-in UTF-8 conversion support. * contrib/hbwin/win_com.c % Minor optimization and fixed warnings after recent patch. * INSTALL + Added see also HB_CC* to HB_COMPILER settings. 2009-09-12 18:33 UTC+0200 Viktor Szakats * external/pcre/pcreglob.c ! Fixed fatal mistake in prev commit. * config/global.mk + Extended generic mingw autodetection on *nix to work on Fedora 11. Please test. On Fedora 11 HB_CCPREFIX is i686-pc-mingw32- 2009-09-12 16:47 UTC+0200 Viktor Szakats * external/pcre/pcreglob.c ! Fixed watcom compilation. There are still warnings. Please review it. * external/pcre/config.h * external/pcre/Makefile * -DPCRE_STATIC moved to Makefile from config.h. There is no dynlib build mode here, so this could be done. 2009-09-12 15:27 UTC+0200 Viktor Szakats * config/bsd/gcc.mk * config/hpux/gcc.mk * config/sunos/gcc.mk - Deleted -fPIC from DFLAGS. Pls tell if this was put there for a reason. * config/hpux/gcc.mk * config/sunos/gcc.mk * config/sunos/sunpro.mk + Added separate compilation pass for Harbour dynlibs using PIC option. 2009-09-12 11:48 UTC+0200 Viktor Szakats * config/global.mk + Added ppc detection on PPC macs. ! Fixed 64-bit CPUs detection. 2009-09-12 11:29 UTC+0200 Viktor Szakats * config/global.mk + Added several CPUs to CPU autodetection. ; Please test it on actual systems. 2009-09-12 11:16 UTC+0200 Viktor Szakats * config/global.mk + Added logic for host CPU detection on *nix systems. Please extend 'check_host_cpu' with more real-world values. + HB_CPU made equal to HB_HOST_CPU for *nix systems. This should be fine-tuned on the compiler level depending on default compiler behaviour and ABI modifier options. (if we do this further tweaks in global.mk will be needed) * INSTALL ! Deleted wrong (and duplicate) HB_INC_* value. 2009-09-12 11:00 UTC+0200 Viktor Szakats * INSTALL + Minor tuning here and there. * external/libhpdf/Makefile + Enabled libpng detection on darwin. * config/linux/icc.mk * config/linux/sunpro.mk + Implemented PIC compilation phase. * config/linux/global.mk * Deleted hacks dealing with PIC. Notice that now we use -fpic on gcc/icc, while it was previously set to -fPIC. The old hacks enabled PIC only for Intel x86/x86_64 ABIs, which is now removed. Pls speak up if we need to readd them on compiler level. This way it'd be possible to optimize out second compilation pass for ABIs which don't need special PIC code generation. To make this useful in a generic way, IMO we should fix ABI (CPU) HB_HOST_CPU/HB_CPU detection in global.mk for *nix systems, and do compiler level decisions based on HB_CPU value. * config/linux/gcc.mk * Minor option reordering. 2009-09-12 01:15 UTC+0200 Viktor Szakats * config/linux/gcc.mk + Enabled separate -fpic (with lowercase as a start) compilation phase for Harbour dynlib. % Deleted -fPIC from dynlib link command-line. Please advise if this is necessary and what are the rules here. On linux/ubuntu it made no difference whatsoever. ; Please test. ; TODO: hbmk2 will have to be updated once we've settled with fpic setup in GNU Make. [DONE] * config/darwin/icc.mk - Deleted commented fpic option. On darwin this is not needed, but some further research will be needed what *is* needed on this platform. (check -fno-common). 2009-09-11 20:37 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapi.h + added hb_xgrabz() and hb_xmemdup() macros * harbour/include/hbapicdp.h * harbour/source/rtl/cdpapi.c + added new functions which can be used in translations changing the size of trnaslated strings: hb_cdpDup(), hb_cdpnDup(), hb_cdpnDup2(), hb_cdpnDup3(), hb_cdpnDupLen(), hb_cdpnDup2Len() Now hb_cdp[n]Translate() functions are depreciated. + added pseduto codepage "UTF8" which can be used in trnaslations only + added new function hb_cdpFindExt() which allows to chose pseudo CPs * harbour/include/hbapi.h * harbour/include/hbset.h * harbour/source/vm/set.c * harbour/source/nortl/nortl.c - removed old functions: hb_osEncode() and hb_osDecode() with low-level code which was using static char to char translation table + add new functions hb_osEncodeCP() and hb_osDecodeCP() which can make translations changing the size of translated strings. Warning all parameters have to be initialized. Passing NULL in second parameter means that the 1st is dynamically allocated and can be used as buffer and reallocated if necessary. if 2nd parameter is not NULL then the 1st one is used as const value. The size of allocated buffer can be passed by reference in 3rd parameter and this value is updated on reallocation. If buffer is two small then new bigger one is allocated and old one freed. * harbour/source/vm/set.c + added support for UTF8 translations in _SET_OSCODEPAGE * harbour/source/vm/cmdarg.c * harbour/source/common/hbffind.c * harbour/source/rtl/filesys.c * harbour/source/rtl/philes.c * harbour/source/rtl/gete.c * harbour/source/rtl/net.c * harbour/source/rtl/hbproces.c * harbour/source/rtl/hbrunfun.c * harbour/source/rtl/run.c * harbour/contrib/hbwin/win_misc.c * harbour/contrib/hbwin/wapi_shellapi.c * harbour/contrib/hbwin/wapi_winbase.c * use new hb_osEncodeCP()/hb_osDecodeCP() functions * harbour/source/rtl/hbi18n1.c * harbour/source/rtl/gtxwc/gtxwc.c * harbour/source/rtl/gtpca/gtpca.c * replaced depreciated hb_cdp[n]Translate() functions with new hb_cdp[n]Dup*() * harbour/source/rtl/gtstd/gtstd.c * harbour/source/rtl/gtcgi/gtcgi.c * harbour/source/rtl/hbgtcore.c * replaced depreciated hb_cdp[n]Translate() functions with new hb_cdp[n]Dup*() + added support for UTF8 translations set by hb_setDispCP() and hb_setTermCP() functions * harbour/source/rdd/delim1.c * harbour/source/rdd/sdf1.c * harbour/source/rdd/dbf1.c * harbour/source/rdd/dbffpt/dbffpt1.c * harbour/source/rdd/dbfnsx/dbfnsx1.c * harbour/source/rdd/dbfcdx/dbfcdx1.c * harbour/source/rdd/dbfntx/dbfntx1.c * replaced depreciated hb_cdp[n]Translate() functions with new hb_cdp[n]Dup*() + added support for CP translations which can change the size of translated strings ! disabled memo field translations for fields marked as binary + added support for UTF8 translations. Using UTF8 as CP disables any national sorting in indexes. Warning: please remember that normal character fields in tables have fixed size and translation to UTF8 may increase the string and cut results. * harbour/source/rdd/dbf1.c ! fixed GPF in dbCreate() with empty struct table 2009-09-11 19:33 UTC+0200 Viktor Szakats * include/hbdefs.h * contrib/hbfimage/fi_wrp.c * contrib/hbfimage/Makefile ! Reverted prev. It does all sort of strange things. ; TODO: So the only way is the proper fix: Cleaning Harbour source from BOOL, BYTE, LONG, ULONG and all other 'legacy' types. [DONE] 2009-09-11 17:56 UTC+0200 Viktor Szakats * include/hbdefs.h * Using #define instead of typedef for legacy core types. This is needed to allow for ugly hack to disable these. * contrib/hbfimage/fi_wrp.c ! Added terrible hack to make them build on non-win platforms. ; dos/djgpp and probably os2/gcc would work, but there I wasn't interested enough to add extra logic to handle each special case. ; non-linux/darwin *nixes should be tested. * contrib/hbfimage/Makefile + Enabled for linux and darwin. 2009-09-11 16:00 UTC+0200 Viktor Szakats * contrib/hbfbird/Makefile * contrib/rddsql/sddfb/Makefile + Added autodetection of Firebird on darwin. 2009-09-11 14:58 UTC+0200 Viktor Szakats * contrib/hbwin/hbwin.h + contrib/hbwin/tests/testcom1.prg + contrib/hbwin/tests/testcom2.prg * contrib/hbwin/tests/testprt1.prg - contrib/hbwin/tests/testprt2.prg * contrib/hbwin/win_tcom.prg * contrib/hbwin/win_com.c ! Tests synced with lib. * Formatting. 2009-09-11 14:38 UTC+0200 Viktor Szakats * contrib/hbwin/Makefile - contrib/hbwin/win_tprt.prg - contrib/hbwin/win_prt.c + contrib/hbwin/win_tcom.prg + contrib/hbwin/win_com.c + Applied patch from Alex Strickland. This patch renames all former WIN_PORT*() functions and classes to WIN_COM*(). INCOMPATIBLE. ! Added missing DWORD casts to -1 values. * Slightly renamed Win_ComSetTimeouts() and made it static. ; FIXME: I had to comment out WIN_COMINIT() function since HB_INITFUNC() doesn't exist in Harbour. [DONE] 2009-09-11 11:35 UTC+0200 Viktor Szakats * INSTALL * contrib/rddsql/sddpg/Makefile * contrib/hbpgsql/Makefile + Added pgsql84 default support. 2009-09-11 11:16 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fixed to include system zlib/pcre libs in static mode if local built lib isn't found. * external/sqlite3/Makefile * external/libhpdf/Makefile * external/libpng/Makefile * utils/hbmk2/hbmk2.prg * contrib/hbsqlit3/Makefile * contrib/hbhpdf/Makefile * config/detfun.mk * config/detect.mk - Deleted _DET_LOC_PLAT variable. * package/winuni/mpkg_win_uni_extra_copy.bat - Deleted some extra commented lines dealing with pcre/zlib headers. 2009-09-11 10:16 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fixed missing libprefix handling in lib presence check. This should fix error reported by Pritpal. Thanks. 2009-09-11 03:52 UTC+0200 Viktor Szakats * source/rtl/gtxwc/Makefile * source/rtl/gtcrs/Makefile * source/rtl/gtsln/Makefile + Added skip reason. 2009-09-11 03:49 UTC+0200 Viktor Szakats * external/pcre/Makefile ! Missed update to reason text. * contrib/hbblat/Makefile * contrib/hbwin/Makefile * source/rtl/gtdos/Makefile * source/rtl/gtwin/Makefile * source/rtl/gtos2/Makefile * source/rtl/gtgui/Makefile * source/rtl/gtwvt/Makefile + Indented. + Added skip reason. 2009-09-11 03:31 UTC+0200 Viktor Szakats * INSTALL + Added Ubuntu pcre and zlib pkg information. + Documented HB_INC_ZLIB and HB_INC_PCRE settings. + Documented 'local' setting of HB_INC_* values. * external/libhpdf/Makefile * external/libpng/Makefile * source/rtl/Makefile * contrib/xhb/Makefile * contrib/hbmzip/Makefile * contrib/hbsqlit3/Makefile * contrib/hbhpdf/Makefile * config/detfun.mk * config/detect.mk % Avoid redetection for local packages. + Integrated logic to find out whether we're using the local copy of any given package. This is now returned in a variable called HB_HAS_*_LOCAL, if this value is non-empty we're using the local version. + Added HB_INC_* option 'local', which will force using the locally hosted version of given package. + HB_HAS_* variable will now contain only the first dir where header was detected. + Locally hosted headers will always be detected now, if they weren't found at any default system locations. + Added 'nolocal' HB_INC_* option which disables above behaviour. ; TODO: Delete _DET_LOC_PLAT variable if current system turns out to work well. [DONE] ; NOTE: I've yet to test all this on *nix. * config/global.mk + Added HB_HOST_PLAT_UNIX variable. * contrib/hbhpdf/Makefile ! Fixed mistake in prev commit. * contrib/gtwvg/Makefile * source/rtl/gttrm/Makefile * external/sqlite3/Makefile * external/libhpdf/Makefile * external/libpng/Makefile % Optimization in make logic in GTWVG Makefile. - HB_WITH_* vars changed to not aid user override. + Displaying more meaningful reason if skipped. + compiler/platform availability checks laxed to reflect real buildability (will most probably need refinements), so that it becomes possible to use these even on *nix platforms, in case the system hosted copy is not good for us or not available. + Now these will be built if autodetections reveals that local version is to be used. * Renamed HB_WITH_* vars to HB_SUPPORTED to not collide with HB_WITH_* concept which is due to replace HB_INC_*. ; IOW: Now it should be possible to enable these locally hosted components on any systems/scenarios where compilation of the given component is supported. This happens automatically according to HB_INC_* variables. 2009-09-10 21:36 UTC+0200 Viktor Szakats * INSTALL + Added new section "HOW TO CONTRIBUTE". Very short, ideas are welcome who to extend it. * config/bsd/gcc.mk * config/wce/mingwarm.mk * config/wce/poccarm.mk * config/wce/msvcarm.mk * config/darwin/gcc.mk * config/darwin/icc.mk * config/darwin/clang.mk * config/hpux/gcc.mk * config/win/xcc.mk * config/win/mingw.mk * config/win/pocc.mk * config/win/icc.mk * config/win/cygwin.mk * config/win/msvc.mk * config/linux/gcc.mk * config/linux/icc.mk * config/linux/sunpro.mk * config/os2/gcc.mk * config/sunos/gcc.mk * config/sunos/sunpro.mk * Synced the way LIBPATHS variable is formed and used in all .mk files. ! Fixed to pass LIBPATHS to dynlib link command too. * contrib/hbqt/qth/QApplication.qth ! Reapplyied previous patch to .qth file. * contrib/hbqt/generator/hbqtgen.prg + Added WARNING text to generated source files informing developers about this very fact, and pointing to .qth files and the generator as the proper places to make modifications. * contrib/hbqt/QWebSecurityOrigin.cpp * contrib/hbqt/QDragEnterEvent.cpp * contrib/hbqt/QPageSetupDialog.cpp * contrib/hbqt/TQToolBox.prg * contrib/hbqt/QTextBoundaryFinder.cpp * contrib/hbqt/QTextCodec.cpp * contrib/hbqt/QWindowsXPStyle.cpp * contrib/hbqt/QGridLayout.cpp * contrib/hbqt/TQTreeView.prg * contrib/hbqt/TQTextCharFormat.prg * contrib/hbqt/TQTextLine.prg * contrib/hbqt/QConicalGradient.cpp * contrib/hbqt/QTextLength.cpp * contrib/hbqt/TQRect.prg * contrib/hbqt/TQInputEvent.prg * contrib/hbqt/TQWidgetItem.prg * contrib/hbqt/QGradient.cpp * contrib/hbqt/TQTextItem.prg * contrib/hbqt/TQTimeEdit.prg * contrib/hbqt/TQDropEvent.prg * contrib/hbqt/QStandardItemModel.cpp * contrib/hbqt/TQTextObject.prg * contrib/hbqt/TQSizeF.prg * contrib/hbqt/QPicture.cpp * contrib/hbqt/QAction.cpp * contrib/hbqt/QPaintEvent.cpp * contrib/hbqt/TQStyleHintReturn.prg * contrib/hbqt/QStyledItemDelegate.cpp * contrib/hbqt/QAbstractListModel.cpp * contrib/hbqt/QWidget.cpp * contrib/hbqt/TQProgressBar.prg * contrib/hbqt/TQFontDatabase.prg * contrib/hbqt/QFontDialog.cpp * contrib/hbqt/QToolBox.cpp * contrib/hbqt/QResource.cpp * contrib/hbqt/TQLineEdit.prg * contrib/hbqt/TQHBoxLayout.prg * contrib/hbqt/TQWebHistory.prg * contrib/hbqt/QMouseEvent.cpp * contrib/hbqt/QTextEdit.cpp * contrib/hbqt/TQToolBar.prg * contrib/hbqt/TQAbstractItemModel.prg * contrib/hbqt/TQTreeWidget.prg * contrib/hbqt/QPointF.cpp * contrib/hbqt/QFontComboBox.cpp * contrib/hbqt/QStyle.cpp * contrib/hbqt/TQSplitter.prg * contrib/hbqt/TQComboBox.prg * contrib/hbqt/QStyleOptionHeader.cpp * contrib/hbqt/QListView.cpp * contrib/hbqt/QWheelEvent.cpp * contrib/hbqt/QRadialGradient.cpp * contrib/hbqt/QLayout.cpp * contrib/hbqt/QCursor.cpp * contrib/hbqt/TQProgressDialog.prg * contrib/hbqt/QLabel.cpp * contrib/hbqt/TQBoxLayout.prg * contrib/hbqt/QFocusEvent.cpp * contrib/hbqt/QStyleHintReturn.cpp * contrib/hbqt/QStyleOptionToolButton.cpp * contrib/hbqt/QStylePainter.cpp * contrib/hbqt/QBrush.cpp * contrib/hbqt/QWebPluginFactory.cpp * contrib/hbqt/TQRadioButton.prg * contrib/hbqt/TQSystemTrayIcon.prg * contrib/hbqt/TQListWidgetItem.prg * contrib/hbqt/QLinearGradient.cpp * contrib/hbqt/QProgressBar.cpp * contrib/hbqt/TQTextFrame.prg * contrib/hbqt/TQTextBlock.prg * contrib/hbqt/QDragLeaveEvent.cpp * contrib/hbqt/TQStyleOptionViewItem.prg * contrib/hbqt/QClipboard.cpp * contrib/hbqt/QStyleOptionTabBarBase.cpp * contrib/hbqt/QStyleOptionToolBox.cpp * contrib/hbqt/QStringList.cpp * contrib/hbqt/QToolBar.cpp * contrib/hbqt/TQTextBlockFormat.prg * contrib/hbqt/TQStatusBar.prg * contrib/hbqt/TQTextFrameFormat.prg * contrib/hbqt/QFontMetricsF.cpp * contrib/hbqt/TQTextDecoder.prg * contrib/hbqt/TQTabWidget.prg * contrib/hbqt/TQLCDNumber.prg * contrib/hbqt/TQMainWindow.prg * contrib/hbqt/QToolButton.cpp * contrib/hbqt/TQStyleOptionTitleBar.prg * contrib/hbqt/QWindowsStyle.cpp * contrib/hbqt/TQDockWidget.prg * contrib/hbqt/QColor.cpp * contrib/hbqt/QListWidget.cpp * contrib/hbqt/QTextLayout.cpp * contrib/hbqt/TQSound.prg * contrib/hbqt/QSignalMapper.cpp * contrib/hbqt/QTextCursor.cpp * contrib/hbqt/TQPoint.prg * contrib/hbqt/QTextDocument.cpp * contrib/hbqt/TQGradient.prg * contrib/hbqt/TQWebSettings.prg * contrib/hbqt/QRadioButton.cpp * contrib/hbqt/TQWizard.prg * contrib/hbqt/TQAbstractPrintDialog.prg * contrib/hbqt/TQApplication.prg * contrib/hbqt/QAbstractButton.cpp * contrib/hbqt/QStyleOptionViewItem.cpp * contrib/hbqt/TQCoreApplication.prg * contrib/hbqt/QTextFrameFormat.cpp * contrib/hbqt/QTextBlockFormat.cpp * contrib/hbqt/TQInputDialog.prg * contrib/hbqt/QTextDecoder.cpp * contrib/hbqt/QSize.cpp * contrib/hbqt/TQEvent.prg * contrib/hbqt/TQKeySequence.prg * contrib/hbqt/QBitmap.cpp * contrib/hbqt/QStyleOptionToolBar.cpp * contrib/hbqt/QCalendarWidget.cpp * contrib/hbqt/TQPrinter.prg * contrib/hbqt/QStyleOptionTitleBar.cpp * contrib/hbqt/TQResource.prg * contrib/hbqt/QScrollBar.cpp * contrib/hbqt/QHeaderView.cpp * contrib/hbqt/TQTextEdit.prg * contrib/hbqt/QStyleOptionButton.cpp * contrib/hbqt/QCommandLinkButton.cpp * contrib/hbqt/TQFontComboBox.prg * contrib/hbqt/QFocusFrame.cpp * contrib/hbqt/QSizePolicy.cpp * contrib/hbqt/QWebSettings.cpp * contrib/hbqt/QAbstractPrintDialog.cpp * contrib/hbqt/TQStyleOptionSizeGrip.prg * contrib/hbqt/TQListView.prg * contrib/hbqt/QApplication.cpp * contrib/hbqt/QAbstractSlider.cpp * contrib/hbqt/TQTextBlockGroup.prg * contrib/hbqt/QObject.cpp * contrib/hbqt/QTextFragment.cpp * contrib/hbqt/TQStyleOptionGroupBox.prg * contrib/hbqt/QAbstractScrollArea.cpp * contrib/hbqt/QCoreApplication.cpp * contrib/hbqt/TQPrintEngine.prg * contrib/hbqt/TQStylePainter.prg * contrib/hbqt/TQWebPluginFactory.prg * contrib/hbqt/QInputDialog.cpp * contrib/hbqt/QTimer.cpp * contrib/hbqt/QKeySequence.cpp * contrib/hbqt/TQFtp.prg * contrib/hbqt/QPrinter.cpp * contrib/hbqt/TQMessageBox.prg * contrib/hbqt/QKeyEvent.cpp * contrib/hbqt/QTextCharFormat.cpp * contrib/hbqt/TQUrl.prg * contrib/hbqt/QStyleOptionSlider.cpp * contrib/hbqt/TQFontMetricsF.prg * contrib/hbqt/TQDragMoveEvent.prg * contrib/hbqt/QInputEvent.cpp * contrib/hbqt/TQWebView.prg * contrib/hbqt/QWidgetItem.cpp * contrib/hbqt/TQCommonStyle.prg * contrib/hbqt/QMenu.cpp * contrib/hbqt/TQPushButton.prg * contrib/hbqt/TQWindowsStyle.prg * contrib/hbqt/TQEventLoop.prg * contrib/hbqt/QStyleOptionSizeGrip.cpp * contrib/hbqt/TQDoubleSpinBox.prg * contrib/hbqt/TQWebHistoryItem.prg * contrib/hbqt/QTextObject.cpp * contrib/hbqt/TQSignalMapper.prg * contrib/hbqt/TQTableView.prg * contrib/hbqt/TQTreeWidgetItem.prg * contrib/hbqt/TQTextDocument.prg * contrib/hbqt/QStyleOptionGroupBox.cpp * contrib/hbqt/TQButtonGroup.prg * contrib/hbqt/QFontInfo.cpp * contrib/hbqt/QImage.cpp * contrib/hbqt/QPrintEngine.cpp * contrib/hbqt/TQFrame.prg * contrib/hbqt/QLine.cpp * contrib/hbqt/TQTextFormat.prg * contrib/hbqt/QIcon.cpp * contrib/hbqt/TQColorDialog.prg * contrib/hbqt/QFtp.cpp * contrib/hbqt/TQStyleOptionProgressBar.prg * contrib/hbqt/QHBoxLayout.cpp * contrib/hbqt/QWebHistory.cpp * contrib/hbqt/QUrl.cpp * contrib/hbqt/TQStyleHintReturnVariant.prg * contrib/hbqt/QRectF.cpp * contrib/hbqt/QTreeWidget.cpp * contrib/hbqt/TQSize.prg * contrib/hbqt/TQWebSecurityOrigin.prg * contrib/hbqt/TQProcess.prg * contrib/hbqt/QWebView.cpp * contrib/hbqt/QCommonStyle.cpp * contrib/hbqt/TQStyleOptionTab.prg * contrib/hbqt/TQTextDocumentWriter.prg * contrib/hbqt/TQTextCodec.prg * contrib/hbqt/TQStringListModel.prg * contrib/hbqt/QAbstractItemView.cpp * contrib/hbqt/QHttp.cpp * contrib/hbqt/QWebHitTestResult.cpp * contrib/hbqt/TQTextBrowser.prg * contrib/hbqt/QProgressDialog.cpp * contrib/hbqt/TQTableWidget.prg * contrib/hbqt/TQTabBar.prg * contrib/hbqt/QStyleFactory.cpp * contrib/hbqt/QButtonGroup.cpp * contrib/hbqt/TQFileDialog.prg * contrib/hbqt/TQDialog.prg * contrib/hbqt/TQTextStream.prg * contrib/hbqt/TQStandardItemModel.prg * contrib/hbqt/TQFormLayout.prg * contrib/hbqt/QSystemTrayIcon.cpp * contrib/hbqt/QStyleOptionDockWidget.cpp * contrib/hbqt/QListWidgetItem.cpp * contrib/hbqt/QColorDialog.cpp * contrib/hbqt/QStyleOptionTabWidgetFrame.cpp * contrib/hbqt/TQFileSystemModel.prg * contrib/hbqt/TQAbstractSpinBox.prg * contrib/hbqt/TQTextFragment.prg * contrib/hbqt/QDateTimeEdit.cpp * contrib/hbqt/TQVBoxLayout.prg * contrib/hbqt/QStyleOptionFocusRect.cpp * contrib/hbqt/QMoveEvent.cpp * contrib/hbqt/TQImageWriter.prg * contrib/hbqt/TQAbstractListModel.prg * contrib/hbqt/QMainWindow.cpp * contrib/hbqt/QDesktopWidget.cpp * contrib/hbqt/QProcess.cpp * contrib/hbqt/QWidgetAction.cpp * contrib/hbqt/TQModelIndex.prg * contrib/hbqt/TQMenuBar.prg * contrib/hbqt/QStringListModel.cpp * contrib/hbqt/TQKeyEvent.prg * contrib/hbqt/QDockWidget.cpp * contrib/hbqt/TQPaintDevice.prg * contrib/hbqt/TQStyleOptionMenuItem.prg * contrib/hbqt/TQFontMetrics.prg * contrib/hbqt/QTextBrowser.cpp * contrib/hbqt/TQStyle.prg * contrib/hbqt/QTableWidget.cpp * contrib/hbqt/TQStyleOptionHeader.prg * contrib/hbqt/QErrorMessage.cpp * contrib/hbqt/TQMenu.prg * contrib/hbqt/QWizard.cpp * contrib/hbqt/QFileSystemModel.cpp * contrib/hbqt/TQPrintDialog.prg * contrib/hbqt/QAbstractSpinBox.cpp * contrib/hbqt/TQPrintPreviewDialog.prg * contrib/hbqt/TQLabel.prg * contrib/hbqt/QDial.cpp * contrib/hbqt/TQWebHistoryInterface.prg * contrib/hbqt/TQStyleOptionComboBox.prg * contrib/hbqt/TQFontInfo.prg * contrib/hbqt/TQSlider.prg * contrib/hbqt/TQBrush.prg * contrib/hbqt/TQStyleOptionToolButton.prg * contrib/hbqt/QImageWriter.cpp * contrib/hbqt/filelist.mk * contrib/hbqt/TQScrollArea.prg * contrib/hbqt/TQLine.prg * contrib/hbqt/TQIcon.prg * contrib/hbqt/TQLayoutItem.prg * contrib/hbqt/TQAbstractTableModel.prg * contrib/hbqt/QIODevice.cpp * contrib/hbqt/TQPixmap.prg * contrib/hbqt/QMenuBar.cpp * contrib/hbqt/TQClipboard.prg * contrib/hbqt/TQTextImageFormat.prg * contrib/hbqt/TQStyleOptionTabBarBase.prg * contrib/hbqt/QPaintDevice.cpp * contrib/hbqt/QStyleOptionMenuItem.cpp * contrib/hbqt/QFontMetrics.cpp * contrib/hbqt/TQImageReader.prg * contrib/hbqt/QDropEvent.cpp * contrib/hbqt/TQAbstractItemView.prg * contrib/hbqt/TQColor.prg * contrib/hbqt/TQDir.prg * contrib/hbqt/TQHttp.prg * contrib/hbqt/TQStyleOptionComplex.prg * contrib/hbqt/TQWebHitTestResult.prg * contrib/hbqt/QPrintDialog.cpp * contrib/hbqt/QTextBlockGroup.cpp * contrib/hbqt/TQRegion.prg * contrib/hbqt/QStandardItem.cpp * contrib/hbqt/QLatin1String.cpp * contrib/hbqt/QSizeF.cpp * contrib/hbqt/TQLatin1Char.prg * contrib/hbqt/QWebHistoryInterface.cpp * contrib/hbqt/QStyleOptionComboBox.cpp * contrib/hbqt/TQStyleFactory.prg * contrib/hbqt/TQStyleOptionSpinBox.prg * contrib/hbqt/TQPalette.prg * contrib/hbqt/QSplashScreen.cpp * contrib/hbqt/TQDateTimeEdit.prg * contrib/hbqt/TQPainter.prg * contrib/hbqt/QSizeGrip.cpp * contrib/hbqt/QMessageBox.cpp * contrib/hbqt/TQResizeEvent.prg * contrib/hbqt/QTextImageFormat.cpp * contrib/hbqt/TQStyleOptionFocusRect.prg * contrib/hbqt/QAbstractItemModel.cpp * contrib/hbqt/QGroupBox.cpp * contrib/hbqt/QImageReader.cpp * contrib/hbqt/TQDragEnterEvent.prg * contrib/hbqt/QTextDocumentFragment.cpp * contrib/hbqt/TQTextBoundaryFinder.prg * contrib/hbqt/QPushButton.cpp * contrib/hbqt/TQWidgetAction.prg * contrib/hbqt/TQScrollBar.prg * contrib/hbqt/TQGridLayout.prg * contrib/hbqt/TQWindowsXPStyle.prg * contrib/hbqt/QWebHistoryItem.cpp * contrib/hbqt/QDir.cpp * contrib/hbqt/TQStyleOptionButton.prg * contrib/hbqt/TQTextLength.prg * contrib/hbqt/QTreeWidgetItem.cpp * contrib/hbqt/TQCommandLinkButton.prg * contrib/hbqt/QBoxLayout.cpp * contrib/hbqt/TQErrorMessage.prg * contrib/hbqt/QDateTime.cpp * contrib/hbqt/QTextFormat.cpp * contrib/hbqt/QPalette.cpp * contrib/hbqt/QTextBlock.cpp * contrib/hbqt/QTextFrame.cpp * contrib/hbqt/QPainter.cpp * contrib/hbqt/QResizeEvent.cpp * contrib/hbqt/TQDial.prg * contrib/hbqt/QStyleOptionProgressBar.cpp * contrib/hbqt/TQTableWidgetItem.prg * contrib/hbqt/TQAction.prg * contrib/hbqt/TQPaintEvent.prg * contrib/hbqt/QStyleHintReturnVariant.cpp * contrib/hbqt/QStatusBar.cpp * contrib/hbqt/TQStyledItemDelegate.prg * contrib/hbqt/TQTimer.prg * contrib/hbqt/QTabWidget.cpp * contrib/hbqt/QTextInlineObject.cpp * contrib/hbqt/QLCDNumber.cpp * contrib/hbqt/QList.cpp * contrib/hbqt/TQWidget.prg * contrib/hbqt/QStyleOptionTab.cpp * contrib/hbqt/TQFontDialog.prg * contrib/hbqt/QTextDocumentWriter.cpp * contrib/hbqt/TQIODevice.prg * contrib/hbqt/TQStyleOption.prg * contrib/hbqt/QDateEdit.cpp * contrib/hbqt/TQMouseEvent.prg * contrib/hbqt/QCheckBox.cpp * contrib/hbqt/TQStyleOptionSlider.prg * contrib/hbqt/QSound.cpp * contrib/hbqt/QWebFrame.cpp * contrib/hbqt/QPoint.cpp * contrib/hbqt/TQPointF.prg * contrib/hbqt/QTabBar.cpp * contrib/hbqt/QDirModel.cpp * contrib/hbqt/QFileDialog.cpp * contrib/hbqt/QDialog.cpp * contrib/hbqt/QTextStream.cpp * contrib/hbqt/TQWheelEvent.prg * contrib/hbqt/QFormLayout.cpp * contrib/hbqt/QStyleOptionFrame.cpp * contrib/hbqt/TQWebPage.prg * contrib/hbqt/TQRadialGradient.prg * contrib/hbqt/QFont.cpp * contrib/hbqt/TQCursor.prg * contrib/hbqt/TQLayout.prg * contrib/hbqt/TQLatin1String.prg * contrib/hbqt/TQStandardItem.prg * contrib/hbqt/QTableWidgetItem.cpp * contrib/hbqt/TQFocusEvent.prg * contrib/hbqt/TQImage.prg * contrib/hbqt/TQSpinBox.prg * contrib/hbqt/QVBoxLayout.cpp * contrib/hbqt/QEvent.cpp * contrib/hbqt/TQLinearGradient.prg * contrib/hbqt/TQSplashScreen.prg * contrib/hbqt/TQDragLeaveEvent.prg * contrib/hbqt/TQSizeGrip.prg * contrib/hbqt/QModelIndex.cpp * contrib/hbqt/QStyleOption.cpp * contrib/hbqt/TQStyleHintReturnMask.prg * contrib/hbqt/TQStyleOptionToolBox.prg * contrib/hbqt/QTreeView.cpp * contrib/hbqt/TQStringList.prg * contrib/hbqt/QTextLine.cpp * contrib/hbqt/TQRectF.prg * contrib/hbqt/QRect.cpp * contrib/hbqt/TQGroupBox.prg * contrib/hbqt/TQTextDocumentFragment.prg * contrib/hbqt/TQToolButton.prg * contrib/hbqt/QTextItem.cpp * contrib/hbqt/QTimeEdit.cpp * contrib/hbqt/TQListWidget.prg * contrib/hbqt/QWebPage.cpp * contrib/hbqt/TQTextLayout.prg * contrib/hbqt/TQTextCursor.prg * contrib/hbqt/TQPen.prg * contrib/hbqt/QPrintPreviewDialog.cpp * contrib/hbqt/TQTextEncoder.prg * contrib/hbqt/QSlider.cpp * contrib/hbqt/QSpinBox.cpp * contrib/hbqt/TQDateTime.prg * contrib/hbqt/QScrollArea.cpp * contrib/hbqt/TQStyleOptionDockWidget.prg * contrib/hbqt/TQAbstractButton.prg * contrib/hbqt/TQStyleOptionTabWidgetFrame.prg * contrib/hbqt/QFontDatabase.cpp * contrib/hbqt/QAbstractTableModel.cpp * contrib/hbqt/QLayoutItem.cpp * contrib/hbqt/QLineEdit.cpp * contrib/hbqt/TQVariant.prg * contrib/hbqt/QPixmap.cpp * contrib/hbqt/QStyleHintReturnMask.cpp * contrib/hbqt/TQMoveEvent.prg * contrib/hbqt/TQTextInlineObject.prg * contrib/hbqt/TQList.prg * contrib/hbqt/QDragMoveEvent.cpp * contrib/hbqt/TQStyleOptionToolBar.prg * contrib/hbqt/TQBitmap.prg * contrib/hbqt/QSplitter.cpp * contrib/hbqt/TQCalendarWidget.prg * contrib/hbqt/TQDesktopWidget.prg * contrib/hbqt/TQPageSetupDialog.prg * contrib/hbqt/QComboBox.cpp * contrib/hbqt/QEventLoop.cpp * contrib/hbqt/QDoubleSpinBox.cpp * contrib/hbqt/TQDateEdit.prg * contrib/hbqt/TQHeaderView.prg * contrib/hbqt/TQCheckBox.prg * contrib/hbqt/TQConicalGradient.prg * contrib/hbqt/QStyleOptionComplex.cpp * contrib/hbqt/QTableView.cpp * contrib/hbqt/TQWebFrame.prg * contrib/hbqt/QPen.cpp * contrib/hbqt/QRegion.cpp * contrib/hbqt/QTextEncoder.cpp * contrib/hbqt/TQFocusFrame.prg * contrib/hbqt/TQSizePolicy.prg * contrib/hbqt/QLatin1Char.cpp * contrib/hbqt/TQDirModel.prg * contrib/hbqt/QFrame.cpp * contrib/hbqt/QStyleOptionSpinBox.cpp * contrib/hbqt/TQStyleOptionFrame.prg * contrib/hbqt/TQFont.prg * contrib/hbqt/TQAbstractSlider.prg * contrib/hbqt/TQObject.prg * contrib/hbqt/QVariant.cpp * contrib/hbqt/TQAbstractScrollArea.prg * contrib/hbqt/TQPicture.prg * Regenerated code, now with WARNING message. 2009-09-10 17:37 UTC+0200 Viktor Szakats * ChangeLog ! Missed item from previous entry: * contrib/hbqt/QApplication.cpp ! Applied GPF fix for static linkage on Linux submitted by Istvan Bisz. Thank you very much. ; NOTE: I've added 'static' to the two arg* var copied. Please test if it's still okay. 2009-09-10 17:12 UTC+0200 Viktor Szakats * external/libhpdf/Makefile * external/libpng/Makefile * contrib/xhb/Makefile * contrib/hbmzip/Makefile * contrib/hbsqlit3/Makefile * contrib/hbhpdf/Makefile * source/rtl/Makefile * config/detfun.mk * config/detect.mk + Added separate variable to pass embedded locations to autodetection, so that these aren't suppressed by HB_XBUILD (now HB_BUILD_EXTDEF). I hope it will work, I still have to try it on Linux. * contrib/hbqt/QApplication.cpp ! Applied GPF fix for static linkage on Linux submitted by Istvan Bisz. Thank you very much. ; NOTE: I've added 'static' to the two arg* var copied. Please test if it's still okay. 2009-09-10 15:48 UTC+0200 Viktor Szakats * Makefile - source/hbpcre - source/hbzlib * external/Makefile + external/pcre + external/zlib * external/pcre/Makefile * external/zlib/Makefile * external/libhpdf/Makefile * external/libpng/Makefile * include/hbsetup.h * include/hbzlib.h * include/hbregex.h * source/rtl/hbzlibgz.c * source/rtl/Makefile * source/rtl/hbregexc.c * source/rtl/hbregex.c * source/rtl/hbzlib.c * source/Makefile * contrib/xhb/Makefile * contrib/hbmzip/Makefile * utils/hbmk2/hbmk2.prg * config/global.mk * config/lib.mk * config/bin.mk * config/detect.mk * config/darwin/libs.mk * config/linux/libs.mk * config/wce/mingwarm.mk * config/wce/poccarm.mk * config/wce/msvcarm.mk * config/win/xcc.mk * config/win/mingw.mk * config/win/pocc.mk * config/win/bcc.mk * config/win/watcom.mk * config/win/icc.mk * config/win/cygwin.mk * config/win/msvc.mk * config/dyn.mk * config/os2/watcom.mk * config/os2/gcc.mk * config/bsd/libs.mk * config/hpux/libs.mk * config/sunos/libs.mk * Changed the way embedded zlib and pcre are handled: - They now reside in /external dir. - They are now excluded from Harbour dynlib. This means they will now be linked statically on non-*nix systems and dynamically on *nix systems. On *nix it's probably easy to switch to link statically. On non-*nix this is quite complicated to do. - If these libs are provided by the system, those will be used. - On non-*nix systems the locally hosted versions will be used, unless user overrides them using HB_INC_PCRE or HB_INC_ZLIB. - There is currently no officially supported way to force usage of locally hosted libs. - If PCRE lib is forcibly disabled or not found, build system will fall back to POSIX regex on *nix systems and Borland regex with bcc compiler. Otherwise it will stop the build with an error. - If zlib is forcibly disabled or not found, an error will be generated at build-time (in hbrtl). hbmzip is simply skipped in this case. - hbmk2 will use local builds of these libs if they are present in lib dir. ; FIXME: hbmk script. [DONE] ; FIXME: dos builds. command-line lenghts are most probably too big for them. ; NOTE: Bumps are expected. ; NOTE: I've yet to test/verify it. - external/libhpdf/ori_src - external/libhpdf/ori_dst - Deleted. (added in prev commit by oversight) 2009-09-10 13:17 UTC+0200 Viktor Szakats * harbour-win-spec * harbour-wce-spec * INSTALL * bin/hb-func.sh * config/detfun.mk * config/global.mk * Renamed HB_XBUILD to HB_BUILD_EXTDEF=no[|yes]. Not the perfect name, but anyway. + Documented HB_BUILD_EXTDEF setting. ; FIXME: There is an HB_XBUILD reference in mpkg_tgz.sh which I couldn't correct. * Makefile + Moved building of external libs before utils. This will allow to add embedded external libs which are used by Harbour core. 2009-09-10 10:44 UTC+0200 Viktor Szakats * config/detect.mk + Detecting pcre on darwin. * INSTALL + Added darwin MacPorts pkg name for pcre. 2009-09-10 10:08 UTC+0200 Viktor Szakats * contrib/hbfimage/Makefile * contrib/hbfimage/tests/fitest.prg + contrib/hbfimage/freeimag.ch - contrib/hbfimage/freeimage.ch ! Renamed last public long filename in Harbour source tree. This lib could in theory be compiled for dos, but this is not yet possible to not-yet-cleaned core from Windows types (LONG, DWORD, WORD, BOOL). ; INCOMPATIBLE: Please modify your source to use the new header name. 2009-09-10 09:52 UTC+0200 Viktor Szakats * external/libhpdf/Makefile + Enabled for all dos platforms (dos/watcom currently and probably all dos builds done on MS-DOS hosts). + external/libhpdf/ori_dst + external/libhpdf/ori_src + external/libhpdf/cnv_hb2o.bat + external/libhpdf/cnv_o2hb.bat - external/libhpdf/hpdf_annotation.c - external/libhpdf/hpdf_annotation.h - external/libhpdf/hpdf_array.c - external/libhpdf/hpdf_binary.c - external/libhpdf/hpdf_boolean.c - external/libhpdf/hpdf_catalog.c - external/libhpdf/hpdf_catalog.h - external/libhpdf/hpdf_conf.h - external/libhpdf/hpdf_config.h - external/libhpdf/hpdf_consts.h - external/libhpdf/hpdf_destination.c - external/libhpdf/hpdf_destination.h - external/libhpdf/hpdf_dict.c - external/libhpdf/hpdf_doc.c - external/libhpdf/hpdf_doc.h - external/libhpdf/hpdf_doc_png.c - external/libhpdf/hpdf_encoder.c - external/libhpdf/hpdf_encoder.h - external/libhpdf/hpdf_encoder_cns.c - external/libhpdf/hpdf_encoder_cnt.c - external/libhpdf/hpdf_encoder_jp.c - external/libhpdf/hpdf_encoder_kr.c - external/libhpdf/hpdf_encrypt.c - external/libhpdf/hpdf_encrypt.h - external/libhpdf/hpdf_encryptdict.c - external/libhpdf/hpdf_encryptdict.h - external/libhpdf/hpdf_error.c - external/libhpdf/hpdf_error.h - external/libhpdf/hpdf_ext_gstate.c - external/libhpdf/hpdf_ext_gstate.h - external/libhpdf/hpdf_font.c - external/libhpdf/hpdf_font.h - external/libhpdf/hpdf_font_cid.c - external/libhpdf/hpdf_font_tt.c - external/libhpdf/hpdf_font_type1.c - external/libhpdf/hpdf_fontdef.c - external/libhpdf/hpdf_fontdef.h - external/libhpdf/hpdf_fontdef_base14.c - external/libhpdf/hpdf_fontdef_cid.c - external/libhpdf/hpdf_fontdef_cns.c - external/libhpdf/hpdf_fontdef_cnt.c - external/libhpdf/hpdf_fontdef_jp.c - external/libhpdf/hpdf_fontdef_kr.c - external/libhpdf/hpdf_fontdef_tt.c - external/libhpdf/hpdf_fontdef_type1.c - external/libhpdf/hpdf_gstate.c - external/libhpdf/hpdf_gstate.h - external/libhpdf/hpdf_image.c - external/libhpdf/hpdf_image.h - external/libhpdf/hpdf_image_png.c - external/libhpdf/hpdf_info.c - external/libhpdf/hpdf_info.h - external/libhpdf/hpdf_list.c - external/libhpdf/hpdf_list.h - external/libhpdf/hpdf_mmgr.c - external/libhpdf/hpdf_mmgr.h - external/libhpdf/hpdf_name.c - external/libhpdf/hpdf_null.c - external/libhpdf/hpdf_number.c - external/libhpdf/hpdf_objects.c - external/libhpdf/hpdf_objects.h - external/libhpdf/hpdf_outline.c - external/libhpdf/hpdf_outline.h - external/libhpdf/hpdf_page_label.c - external/libhpdf/hpdf_page_label.h - external/libhpdf/hpdf_page_operator.c - external/libhpdf/hpdf_pages.c - external/libhpdf/hpdf_pages.h - external/libhpdf/hpdf_real.c - external/libhpdf/hpdf_streams.c - external/libhpdf/hpdf_streams.h - external/libhpdf/hpdf_string.c - external/libhpdf/hpdf_types.h - external/libhpdf/hpdf_u3d.c - external/libhpdf/hpdf_u3d.h - external/libhpdf/hpdf_utils.c - external/libhpdf/hpdf_utils.h - external/libhpdf/hpdf_version.h - external/libhpdf/hpdf_xref.c + external/libhpdf/hpdfanno.c + external/libhpdf/hpdfanno.h + external/libhpdf/hpdfarra.c + external/libhpdf/hpdfbina.c + external/libhpdf/hpdfbool.c + external/libhpdf/hpdfcata.c + external/libhpdf/hpdfcata.h + external/libhpdf/hpdfcfg.h + external/libhpdf/hpdfconf.h + external/libhpdf/hpdfcons.h + external/libhpdf/hpdfdest.c + external/libhpdf/hpdfdest.h + external/libhpdf/hpdfdict.c + external/libhpdf/hpdfdoc.c + external/libhpdf/hpdfdoc.h + external/libhpdf/hpdfdocp.c + external/libhpdf/hpdfecy.c + external/libhpdf/hpdfecyd.c + external/libhpdf/hpdfencc.c + external/libhpdf/hpdfencj.c + external/libhpdf/hpdfenck.c + external/libhpdf/hpdfencn.c + external/libhpdf/hpdfenco.c + external/libhpdf/hpdfenco.h + external/libhpdf/hpdfencr.h + external/libhpdf/hpdfency.h + external/libhpdf/hpdferro.c + external/libhpdf/hpdferro.h + external/libhpdf/hpdfextg.c + external/libhpdf/hpdfextg.h + external/libhpdf/hpdffdf.c + external/libhpdf/hpdffdf1.c + external/libhpdf/hpdffdfb.c + external/libhpdf/hpdffdfc.c + external/libhpdf/hpdffdfi.c + external/libhpdf/hpdffdfj.c + external/libhpdf/hpdffdfk.c + external/libhpdf/hpdffdfn.c + external/libhpdf/hpdffdft.c + external/libhpdf/hpdffon1.c + external/libhpdf/hpdffonc.c + external/libhpdf/hpdffond.h + external/libhpdf/hpdffont.c + external/libhpdf/hpdffont.h + external/libhpdf/hpdffott.c + external/libhpdf/hpdfgsta.c + external/libhpdf/hpdfgsta.h + external/libhpdf/hpdfimag.c + external/libhpdf/hpdfimag.h + external/libhpdf/hpdfimap.c + external/libhpdf/hpdfinfo.c + external/libhpdf/hpdfinfo.h + external/libhpdf/hpdflist.c + external/libhpdf/hpdflist.h + external/libhpdf/hpdfmmgr.c + external/libhpdf/hpdfmmgr.h + external/libhpdf/hpdfname.c + external/libhpdf/hpdfnull.c + external/libhpdf/hpdfnumb.c + external/libhpdf/hpdfobje.c + external/libhpdf/hpdfobje.h + external/libhpdf/hpdfoutl.c + external/libhpdf/hpdfoutl.h + external/libhpdf/hpdfpage.c + external/libhpdf/hpdfpage.h + external/libhpdf/hpdfpago.c + external/libhpdf/hpdfpags.c + external/libhpdf/hpdfpags.h + external/libhpdf/hpdfreal.c + external/libhpdf/hpdfstre.c + external/libhpdf/hpdfstre.h + external/libhpdf/hpdfstri.c + external/libhpdf/hpdftype.h + external/libhpdf/hpdfu3d.c + external/libhpdf/hpdfu3d.h + external/libhpdf/hpdfutil.c + external/libhpdf/hpdfutil.h + external/libhpdf/hpdfvers.h + external/libhpdf/hpdfxref.c * external/libhpdf/hpdf.h * external/libhpdf/Makefile * Converted to short filenames. Added converted scripts. * source/hbpcre/cnv_hb2o.bat * source/hbpcre/cnv_o2hb.bat ! Fixed typo in prev. * Removed PCRE references from comment texts. 2009-09-10 08:57 UTC+0200 Viktor Szakats * include/hbgtinfo.ch + contrib/gtqtc/hbgtqtc.ch * contrib/gtqtc/gtqtc.h * contrib/gtqtc/gtqtc.cpp * contrib/gtqtc/Makefile * Moved HB_GTI_CODEC local to GT. Pls never add GT specific (especially non-core) HB_GTI_* settings to core header. * Renamed HB_GTI_CODEC to HB_GTI_QTCODEC. ! Fix to not install non-public header gtqtc.h. 2009-09-09 20:58 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * include/hbgtinfo.ch + #define HB_GTI_CODEC 60 * contrib/gtqtc/gtqtc.h * contrib/gtqtc/gtqtc.cpp + Implemented CODEC support. USAGE: hb_gtInfo( HB_GTI_CODEC, "Windows-1251" ) hb_setCodePage( "RU1251" ) Please test as I have never used any codepage. 2009-09-10 02:45 UTC+0200 Viktor Szakats * include/hbzlib.ch * Minor formatting. * source/hbpcre/Makefile ! Fixed missing global.mk from prev commit. * source/hbpcre/Makefile - source/hbpcre/_hbconf.h - source/hbpcre/_hbpcreg.c + source/hbpcre/pcreglob.c * source/hbpcre/config.h * source/hbpcre/cnv_o2hb.bat * source/hbpcre/cnv_hb2o.bat + Modified to not require extra Harbour source file. _hbpcreg.c wasn't necessary even before, as this initialization is done from init code in hbrtl/hbregex.c. % Reduced content of local config stub _hbconf.h to just three lines. We don't need to suppress warnings anymore as we have HB_BUILD_WARN build option to control that, the rest is solved by adding such options to local Makefile. * Changed to use config.h instead of local stub (which is now just three lines and only needed to support dynlib build pass). * source/hbpcre/pcrevutf.c * source/hbpcre/pcreconf.c * source/hbpcre/pcreinfo.c * source/hbpcre/pcremktb.c * source/hbpcre/config.h * source/hbpcre/pcrenewl.c * source/hbpcre/pcreucd.c * source/hbpcre/pcreoutf.c * source/hbpcre/chartabs.c * source/hbpcre/pcrerefc.c * source/hbpcre/pcreget.c * source/hbpcre/pcrefinf.c * source/hbpcre/pcretryf.c * source/hbpcre/pcreexec.c * source/hbpcre/pcretabs.c * source/hbpcre/pcredfa.c * source/hbpcre/pcrever.c * source/hbpcre/pcrecomp.c * source/hbpcre/pcrexcls.c * source/hbpcre/pcrestud.c * Restored some original code after above changes. (config inclusion logic) 2009-09-10 01:41 UTC+0200 Viktor Szakats * source/hbpcre/Makefile * config/linux/sunpro.mk * config/sunos/sunpro.mk * Moved hbpcre lib specific sunpro compiler option tweaks to lib local Makefile. * config/detect.mk + Added zlib and pcre lib detection. (not yet used) 2009-09-09 22:06 UTC+0200 Viktor Szakats * contrib/gtqtc/Makefile ! Fix little (but fatal) mistake. 2009-09-09 12:20 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/gtqtc/gtqtc.cpp ! toLatin1().data() => toAscii().data() I am unable to build gtqtc.lib so please test it. 2009-09-09 09:24 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/generator/hbqtgen.prg ! cCmd := 'hb_retc( ' + cCmn + '.toLatin1().data()' + ' )' => cCmd := 'hb_retc( ' + cCmn + '.toAscii().data()' + ' )' * contrib/hbqt/QAbstractButton.cpp * contrib/hbqt/QAbstractSpinBox.cpp * contrib/hbqt/QAction.cpp * contrib/hbqt/QApplication.cpp * contrib/hbqt/QClipboard.cpp * contrib/hbqt/QColor.cpp * contrib/hbqt/QComboBox.cpp * contrib/hbqt/QCommandLinkButton.cpp * contrib/hbqt/QCoreApplication.cpp * contrib/hbqt/QDateTime.cpp * contrib/hbqt/QDateTimeEdit.cpp * contrib/hbqt/QDir.cpp * contrib/hbqt/QDirModel.cpp * contrib/hbqt/QDoubleSpinBox.cpp * contrib/hbqt/QFileDialog.cpp * contrib/hbqt/QFileSystemModel.cpp * contrib/hbqt/QFont.cpp * contrib/hbqt/QFontDatabase.cpp * contrib/hbqt/QFontInfo.cpp * contrib/hbqt/QFontMetrics.cpp * contrib/hbqt/QFontMetricsF.cpp * contrib/hbqt/QFtp.cpp * contrib/hbqt/QGroupBox.cpp * contrib/hbqt/QHttp.cpp * contrib/hbqt/QImage.cpp * contrib/hbqt/QImageReader.cpp * contrib/hbqt/QImageWriter.cpp * contrib/hbqt/QInputDialog.cpp * contrib/hbqt/QIODevice.cpp * contrib/hbqt/QKeyEvent.cpp * contrib/hbqt/QKeySequence.cpp * contrib/hbqt/QLabel.cpp * contrib/hbqt/QLineEdit.cpp * contrib/hbqt/QListWidgetItem.cpp * contrib/hbqt/QMenu.cpp * contrib/hbqt/QMessageBox.cpp * contrib/hbqt/QObject.cpp * contrib/hbqt/QPrinter.cpp * contrib/hbqt/QProcess.cpp * contrib/hbqt/QProgressBar.cpp * contrib/hbqt/QProgressDialog.cpp * contrib/hbqt/QResource.cpp * contrib/hbqt/QSound.cpp * contrib/hbqt/QSpinBox.cpp * contrib/hbqt/QStandardItem.cpp * contrib/hbqt/QStatusBar.cpp * contrib/hbqt/QStringList.cpp * contrib/hbqt/QStyledItemDelegate.cpp * contrib/hbqt/QSystemTrayIcon.cpp * contrib/hbqt/QTabBar.cpp * contrib/hbqt/QTableWidgetItem.cpp * contrib/hbqt/QTabWidget.cpp * contrib/hbqt/QTextBlock.cpp * contrib/hbqt/QTextBoundaryFinder.cpp * contrib/hbqt/QTextBrowser.cpp * contrib/hbqt/QTextCharFormat.cpp * contrib/hbqt/QTextCodec.cpp * contrib/hbqt/QTextCursor.cpp * contrib/hbqt/QTextDecoder.cpp * contrib/hbqt/QTextDocument.cpp * contrib/hbqt/QTextDocumentFragment.cpp * contrib/hbqt/QTextDocumentWriter.cpp * contrib/hbqt/QTextEdit.cpp * contrib/hbqt/QTextFormat.cpp * contrib/hbqt/QTextFragment.cpp * contrib/hbqt/QTextImageFormat.cpp * contrib/hbqt/QTextItem.cpp * contrib/hbqt/QTextLayout.cpp * contrib/hbqt/QTextStream.cpp * contrib/hbqt/QToolBox.cpp * contrib/hbqt/QTreeWidgetItem.cpp * contrib/hbqt/QUrl.cpp * contrib/hbqt/QVariant.cpp * contrib/hbqt/QWebFrame.cpp * contrib/hbqt/QWebHistoryItem.cpp * contrib/hbqt/QWebHitTestResult.cpp * contrib/hbqt/QWebPage.cpp * contrib/hbqt/QWebSecurityOrigin.cpp * contrib/hbqt/QWebSettings.cpp * contrib/hbqt/QWebView.cpp * contrib/hbqt/QWidget.cpp * contrib/hbqt/QWizard.cpp * contrib/hbxbp/tests/demoxbp.prg ! Result of change in hbqtgen.prg cCmd := 'hb_retc( ' + cCmn + '.toLatin1().data()' + ' )' => cCmd := 'hb_retc( ' + cCmn + '.toAscii().data()' + ' )' This change is initiated after Alexandr Okhotnikov's message and seems to be working harmless with default code page. I will request to Alexsnder to test it deeply and post his results to this list. 2009-09-09 18:12 UTC+0200 Viktor Szakats * bin/postinst.bat ! Fixed for dos shells. (command-line lenght problems, end of .cfg extension was clipped on the longest line to .cf) + package/winuni + package/winuni/HARBOUR_README_MINGW + package/winuni/HARBOUR_README_MINGWARM + package/winuni/HARBOUR_README_ADDINS + package/winuni/HARBOUR_README_DJGPP + package/winuni/HARBOUR_README_POCC + package/winuni/HARBOUR_README_WATCOM + package/winuni/HARBOUR_README_MINGW64 + package/winuni/mpkg_win_uni.bat + package/winuni/mpkg_win_uni_extra_copy.bat + package/winuni/RELNOTES + package/winuni/mpkg_win_uni.nsi + Added components needed to create unified Windows build. Of course the dir structure with content should be assembled manually. These files are rough ones, ease of use was no concern. Anyone please feel free to continue this work. 2009-09-09 13:27 UTC+0200 Viktor Szakats * config/detfun.mk ! Reverted prev. It was wrong and also unnecessary. 2009-09-09 13:00 UTC+0200 Viktor Szakats * bin/postinst.bat + Adding watt lib to hbmk.cfg at postinst phase. * contrib/hbnetio/utils/netiosrv.hbp + Added 8.3 output name for dos platforms. * config/detfun.mk + Always export HB_HAS_* variables. 2009-09-09 12:32 UTC+0200 Viktor Szakats + contrib/hbnetio/utils/netiosrv.hbp + Added project file which will include platform name in target netiosrv executable name. 2009-09-09 10:20 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fixed typo in -gt option processing code which cause that duplicate and core GTs were added to internal GT list. 2009-09-09 00:49 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/hbqt_slots.cpp * contrib/hbqt/hbqt_slots.h * contrib/hbqt/moc_slots.cpp + Implemented few more signal/slots as reqested by CdQ. ! Introduced && hb_vmRequestReenter() in the condition statment executing a block. Przemek, please check me. It still GPFs in MT scenarios. 2009-09-09 09:15 UTC+0200 Viktor Szakats * config/darwin/clang.mk + Disable -c option to avoid warnings when --analyze user option is used. * utils/hbmk2/hbmk2.prg ! Implemented fix from hbmk script for shared mingw targets in GUI mode. * bin/hb-func.sh ! Synced wce .dll name with rest of Harbour. 2009-09-09 02:24 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/hb-func.sh * updated hb* script to work with import library and new harbour.dll names. + added workaround for problem with shared linking in gui mode caused by wrong import library in MinGW builds - without it hb* scripts can work only with pure .DLLs FIXME: shared linking in gui mode does not work in hbmk2 at least with MinGW cross builds I have in my Linux box, i.e.: /*** tst.prg ***/ ? "TEST"; WAIT hbmk2 tst.prg -shared -gtwvt -mwindows ./tst.exe -> Unrecoverable error 10001: It's not a GUI program [DONE] 2009-09-08 23:23 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fixed to use 'rc' AR cmd on sunos. (instead of 'rcs') + Added -hbdyn support for gcc family of compilers. (very light testing with mingw) + Added sunpro compiler support. (not tested, bazaar style) ! Basic CPU detection fixed for clang. + Added FIXME for CPU detection for *nix based gcc, icc, clang, sunpro compilers. * config/wce/mingwarm.mk * config/hpux/gcc.mk * config/win/mingw.mk * config/linux/gcc.mk * config/linux/icc.mk * config/linux/sunpro.mk * config/sunos/gcc.mk * config/sunos/sunpro.mk * Minor: AR cmd chars reordered to be in sync with hbmk2. 2009-09-08 14:56 UTC+0200 Viktor Szakats * config/darwin/clang.mk + Added comment with option to force C++ mode with clang. * utils/hbmk2/hbmk2.prg + Added (not yet tested) darwin/clang support. Probably it could be added for other platforms, too. Also for GNU Make. clang command-line is compatible with GCC for the most part, so it's easy to do and if the few differences can be sorted out, it can be done without duplicating .mk file logic. * config/darwin/gcc.mk - Disabled '-no-cpp-precomp' option for darwin/gcc. Most probably it's not needed anymore. For users using older darwin systems, this can be added manually. 2009-09-08 14:06 UTC+0200 Viktor Szakats * include/hbsetup.h * config/darwin/clang.mk + Added manual compiler macro HB_CC_CLANG until we find the official predefined macro to detect this compiler. Actually we could roll our own HB_CC_<comp> set of macros to do compiler detection in central headers and clean compiler specific macros from code. ! Fixed '__attribute (( flatten ))' not being supported with clang. (Thanks Przemek) ! Deleted extra parameters from libtool command line. * INSTALL + Added clang to the darwin compiler list. 2009-09-08 13:25 UTC+0200 Viktor Szakats + config/darwin/clang.mk + Added experimental support for clang compiler frontend on Snow Leopard + new XCode systems. (it's unclear which of them exactly is required for this feature) ; FIXME: '__attribute (( flatten ))' is complained about by clang. [DONE] 2009-09-08 12:09 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/thread.c * removed HB_MT() function body 2009-09-08 12:03 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbstack.h * harbour/source/vm/estack.c * small cleanup in some macros definitions * harbour/source/vm/hvm.c * pacified ICC++ warnings * harbour/source/vm/mainstd.c ! do not force main() declaration as extern "C" * harbour/include/hbdefs.h * harbour/include/hbsetup.h * modified HB_FUNC*() macros declarations to respect global extern "C" settings * harbour/source/vm/classes.c * use HB_FUNC*() macros to declare harbour functions * harbour/source/common/hbprintf.c * added workaround for some missing C99 math macros in SunOS GCC used in C++ mode. Warning C++ mode in SunOS-GCC disables C99 extensions. * harbour/contrib/gtalleg/gtalleg.c * hack for compilation with SunPRO C 2009-09-08 11:13 UTC+0200 Viktor Szakats * config/global.mk ! Corrected typo in de-xmastree patch. Symptom was broken shell detection on os2. 2009-09-08 10:04 UTC+0200 Viktor Szakats * contrib/hbnetio/utils/netiosrv.prg + Added 'root' command-line parameter. * utils/hbmk2/hbmk2.prg + Small steps towards msvcmips and msvcsh support. 2009-09-08 02:44 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fixed to work on newer Darwin systems (e.g. latest XCode with gcc 4.2.1). -Wno-long-double option had to be removed. This way hbmk2 is in sync with GNU Make. * source/vm/thread.c ! Fixed to compile HB_MT(). 2009-09-07 22:29 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/thread.c + added HB_MT() PRG function which exists only in MT HVM version and can be REQUESTed from .prg code to force linking MT HVM. * harbour/contrib/hbnetio/utils/netiosrv.prg ! fixed typo in port parameter support * modified name of second parameter. Instead of 'address' use 'ifaddr' (interface address) which seems to be more precise name. * added 'request HB_MT' to protect linking with HVM without MT support. 2009-09-07 21:21 UTC+0200 Viktor Szakats * config/common/watcom.mk ! Upped -p linker option (from 64 to 72) to not choke on hbrtl in some certain build situations. Thanks to Tamas Tevesz for report/testing. 2009-09-07 21:16 UTC+0200 Viktor Szakats + contrib/hbnetio/utils + contrib/hbnetio/utils/netiosrv.prg + contrib/hbnetio/utils/hbmk.hbm + Committed simple server code posted in the ChangeLog entry from Przemek. I've added very simple passing of port and address parameters, this can be enhanced in the future using proper switches. Plus maybe an option to avoid accidental exit by keypress. 2009-09-07 18:18 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/hbsocket.c % modified hb_socketResolveAddr() to try use given address in raw form. On some platforms like MS-Windows it eliminates huge delay caused by unnecessary DNS lookup for addresses given in dot.number notation. It should be well seen in NETIO open operation if client program is compiled for windows. 2009-09-07 13:35 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/compiler/hbmain.c ! fixed HB_TRACE() message - thanks to Tamas Tevesz for info. * harbour/source/rtl/hbproces.c * harbour/contrib/xhb/txtline.c ! fixed HB_TRACE() messages 2009-09-07 12:03 UTC+0200 Viktor Szakats * bin/postinst.bat + Installation of hb-mkimp.bat will now be done automatically at postinst phase for win/wce targets. * config/detect.mk ! Fixed HB_INC_WATT handling if it contained backslashes (broken after last commit) % Avoid using indirect assigment by moving it after detection function (it was a mistake in my previous commit). 2009-09-07 11:40 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/config/detect.mk ! fixed linking in DJGPP and OpenWatcom DOS when WATT-32 is enabled 2009-09-07 11:21 UTC+0200 Viktor Szakats * config/wce/mingwarm.mk * config/win/mingw.mk + Reenabled implib generation for mingw targets. This will be needed to implement multi-host binary distros supporting cross-build shared targets. This way there is no need to fiddle with switching BIN dirs in cross-build situations, the LIB dir selection is enough to find all required libs, regardless where .dlls are installed. (.dlls should ideally be installed to system locations). 2009-09-07 10:58 UTC+0200 Viktor Szakats * contrib/hbssl/hbssl.c ! Fixed wrong pointer references (reported by watcom). For some reason it wasn't fatal. (please review me) 2009-09-07 10:52 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/hbsocket.c + added support for setting non blocking IO mode in OpenWatcom OS2 builds - please test. 2009-09-07 10:46 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/hbsocket.c ! fixed compilation with WATT-32 in OpenWatcom DOS builds 2009-09-07 09:03 UTC+0200 Viktor Szakats * INSTALL + Added "Embarcadero" to Borland compiler description. ! Fixed "Open Watcom C++ 9 or above" compiler description. ; Thanks to Tamas Tevesz for pointing these. + Added a bit more detail to *BSD platform description. + Added eComStation to OS/2 platform description. ! Few minor fixes when referring to Borland C++ compiler by its full name. * utils/hbmk2/hbmk2.prg ! Using 'svnversion .' (instead of 'svnversion') to make it work with older svn versions. * examples/terminal/trm_cli.prg ! Fixed some var naming problems slipped in the source. Thanks to Bill Smith for reporting it. 2009-09-06 18:32 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.pt_BR.po * utils/hbmk2/hbmk2.hu_HU.po * utils/hbmk2/hbmk2.prg + Added '@.clp' to command-line template in help. ! Fixed double linefeeds in output (visible in dos builds). ! Fixed syntax of generated .rc file for os2 targets. I can't check but the app icons still don't seem to be added, so this will need further attention from real OS/2 users. * config/detect.mk * config/dos/watcom.mk * config/dos/djgpp.mk ! Fixed to properly set watt lib location even when backslash is used in HB_INC_WATT setting. 2009-09-06 13:48 UTC+0200 Viktor Szakats + tests/tb1.prg + Added Przemek's TBrowse() test code. * config/global.mk ! Fixed another typo in yesterday's modifications. (non-critical) 2009-09-06 12:55 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added detection of multi-host dir layout: /bin/<plat>/hbmk2.exe (not yet used) 2009-09-06 12:46 UTC+0200 Viktor Szakats * contrib/hbqt/hbqts/Makefile ! Fixed missing vpath setting. 2009-09-06 11:08 UTC+0200 Viktor Szakats * harbour-win-spec * harbour-wce-spec * harbour.spec * include/hbver.h * config/global.mk * Changed version to 2.0.0beta3 (from 2.0.0beta2) 2009-09-06 10:21 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Readded lib grouping by default for all targets which require it: mingw, linux/gcc, bsd/gcc, dos/djgpp. + Added option '-nolibgrouping' to disable lib grouping for advanced users who'd like to streamline link process. Maybe once we manage to make this smooth for everyone, it will become the default. + Added option '-nomiscsyslib' to disable default list of extra system libs (on win/wce platforms currently). This will speed up link process but you should in turn supply these libs manually (even for our own contribs). 2009-09-06 08:58 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fixed regression from yesterday (@.clp handling RTE) 2009-09-06 03:57 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Further adjusted rdd lib ordering to make some linkers (mingw) happy without using lib grouping. Applied also for xhb mode. 2009-09-06 03:21 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Typo in recent addition (-compiler/-platform options) 2009-09-06 03:08 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fixed to not apply compression in -hbcmp (and similar) modes. ! Adjusted rdd lib ordering to make some linkers (mingw) happy without using lib grouping. Please review. * bin/hb-mkimp.bat * Little formatting. 2009-09-06 01:44 UTC+0200 Viktor Szakats * contrib/hbtip/hbtipssl.hbc ! Fixed typo in lib name. 2009-09-05 23:59 UTC+0200 Viktor Szakats * INSTALL * config/detect.mk + Enabled OPENSSL lib for dos platform. 2009-09-05 22:11 UTC+0200 Viktor Szakats * contrib/hbcurl/Makefile + Using WATTCP lib if available to make it build on dos. 2009-09-05 20:39 UTC+0200 Viktor Szakats * ChangeLog ! Minor typos. 2009-09-05 19:19 UTC+0200 Viktor Szakats * utils/hbmk2/examples/contribf.hbc * utils/hbmk2/examples/contrib.hbc ! Deleted hbcrypt lib references. 2009-09-05 19:17 UTC+0200 Viktor Szakats * utils/hbmk2/examples/contribf.hbc * contrib/hbtip/hbtipssl.hbc * contrib/hbtip/hbtip.hbc * contrib/hbtip/Makefile + Enabled hbtip lib for dos platform. It can work with watt lib. 2009-09-05 16:20 UTC+0200 Viktor Szakats * INSTALL + Little improvements. * bin/hb-func.sh * utils/hbmk2/hbmk2.pt_BR.po * utils/hbmk2/hbmk2.hu_HU.po * utils/hbmk2/hbmk2.prg ! Fixed gpm lib to be added at the end of liblist to make it link after removal of lib grouping switches. 2009-09-05 14:20 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.pt_BR.po * utils/hbmk2/hbmk2.hu_HU.po * utils/hbmk2/hbmk2.prg + Added -compiler and -platform options as alternatives for -comp and -plat, maybe this is more clear and it's also better in sync with GNU Make's HB_COMPILER/HB_PLATFORM. * config/dos/watcom.mk * watt libname to lowercase. 2009-09-05 12:50 UTC+0200 Viktor Szakats * config/dos/watcom.mk ! Adjusted watcom watt lib name. 2009-09-05 12:35 UTC+0200 Viktor Szakats * config/global.mk * config/wce/msvcarm.mk + Applied 'de-xmastree' patch from Tamas Tevesz. (using 'else if' construct of GNU Make 3.81) 2009-09-05 03:37 UTC+0200 Viktor Szakats * config/global.mk ! Fixed svnversion command call to work with older svn versions. Thanks to Tamas Tevesz. * contrib/hbfbird/firebird.c ! Fixed all remaining 64-bit compiler warnings. (msvc64, mingw64) + contrib/hbnetio/hbnetio.hbc - contrib/hbnetio/tests/netiotst.hbp + contrib/hbnetio/tests/hbmk.hbm + Added .hbc file. * Changed .prg specific .hbp file to generic autoprocessed .hbm file, referring to .hbc file. This way it's in sync with rest of contribs and makes it possible to add new tests in a lighter way) 2009-09-05 02:22 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added experimental support for @.clp files. A bit hacky and could be incomplete. I'm not a .clp file user, so pls test and extend. * INSTALL * contrib/gtalleg/Makefile + contrib/gtalleg/gtallegs + contrib/gtalleg/gtallegs/Makefile * contrib/gtalleg/gtalleg.hbc + contrib/gtalleg/gtallegs.hbc + Added static flavour of gtalleg. This was an option until now, now both versions are automatically built to be in sync with rest of contribs. This also means that HB_ALLEGRO_STATIC setting is no longer needed. + Added separate static/dynamic .hbc files accordingly. * contrib/hbqt/Makefile + contrib/hbqt/hbqts + contrib/hbqt/hbqts/Makefile * contrib/hbqt/hbqt.hbc + contrib/hbqt/hbqts.hbc + HB_QT_STATIC=yes setting will now cause building of static flavor hbqt lib *above* the default one which links against dynamic qt libs. Until now this setting caused that the static version was built *instead* of the dynamic one. NOTE: Using this setting will cause a significantly longer build time on non-*nix systems. + Added separate static/dynamic .hbc files accordingly. * config/global.mk ! Fixed to set CXX predefined variable to empty to make defaulting logic in rules.mk work as expected. This fixes recent hbqt build failure with MSVC. * config/dos/watcom.mk + Added watt lib support. (untested, please test) * source/rtl/Makefile * source/rtl/hbsocket.c * config/detect.mk * config/dos/djgpp.mk * Renamed HB_*_TCP to HB_*_WATT. + Added HB_INC_WATT to INSTALL. (couldn't make it work locally, so it's not very precise yet) * config/detect.mk * Minor: lowercased component name for watt lib. * config/dos/djgpp.mk * Minor: Using LIBPATHS to store watt lib path instead of LDLIBS. * config/install.mk % Deleted no longer used/needed HB_INSTALL_DEF variable. 2009-09-04 15:12 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/doc/cmpopt.txt * added information about ( "<alias>" )-> to <alias>-> compile time optimization * harbour/source/rtl/valtostr.c ! fixed GPF if hb_valToStr() is called without any parameters. In such case RTE is generated. * harbour/source/rtl/transfrm.c ! fixed GPF if transform() is called without any parameters, i.e.: ? &("transform")() * harbour/source/vm/itemapi.c ! return "U" if hb_itemTypeStr() is called with NULL parameter It fixed GPF when valtype() is called without any parameters, i.e.: ? &("valtype")() NOTE: Compiler check number of parameters in some functions and refuse to compile the code when it's wrong but such validation does not work in macrocompiler or when function is called indirectly like in above examples or using function symbols so always write such functions to work with wrong number of parameters. 2009-09-04 01:44 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/ChangeLog * marked TODO as DONE and fixed typo * harbour/include/hbcomp.h ! removed repeated declaration 2009-09-03 23:54 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbwin/axcore.c ! removed the hack I added in previous commit with interface enumeration which was accepting any interface without validation its ID. + added 3rd parameter to __AXREGISTERHANDLER() as Mindaugas proposed. Now this function has the following syntax: __AXREGISTERHANDLER( <pDisp>, <bHandler> | <hHandlers> [, <cIID> ] ) -> <pDisp> default value for <cIID> is IID_IDispatch. 2009-09-03 14:02 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/compiler/hbmain.c ! added missing pFunc initialization in symbol structure. It was causing GPF when C code was attached to .prg file using HB_INLINE() {} or #pragma BEGIN/ENDDUMP with HB_FUNC_STATIC() inside. Many thanks to Andi for information about the problem. 2009-09-03 08:25 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbwin/axcore.c + added alternative method to look for connection point if FindConnectionPoint() method fails when new AX control is created. Such method is used by HWGUI and GTWVG. Mindaugas please verify it, windows users please test it. 2009-09-02 21:40 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/mpkg_deb.sh + added hbnetio to DEB packages 2009-09-02 19:26 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/common/hbver.c ! added additional hack for conditional code used for Windows detection to work with VC98. Viktor please verify it but this condition: ( !defined( _MSC_VER ) || _MSC_VER >= 1400 ) was not enough. 2009-09-02 17:10 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbnetio/netio.h * added small description 2009-09-02 17:04 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbnetio/netiocli.c ! fixed typo - thanks to Mindaugas 2009-09-02 16:52 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/runner.c ! fixed possible GPF after loading .hrb module - clear function address if dynamic symbol does not exist * harbour/source/compiler/hbmain.c ! fixed typo in conditional compilation in last commit 2009-09-02 14:08 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbcomp.h * harbour/include/hbcompdf.h * harbour/source/compiler/hbmain.c * harbour/source/compiler/genc.c * harbour/source/compiler/genhrb.c + added support for compiling multiple .prg modules into single compilation unit with repeated static or init/exit functions with the same name. Now Harbour compiler compiling .prg code from different .prg modules included by @<name>.clp or by SET PROCEDURE TO ... / DO ... [ WITH ... ] works exactly like Clipper. It supports separated file wide definitions for each compiled .prg module when -n switch is used and allows to use static or init/exit functions/procedures with the same names but in different modules. It resolves incompatibility often reported by [x]Harbour users. Now it's not longer necessary to update existing Clipper code. @.clp files and SET PROCEDURE TO ... / DO ... [ WITH ... ] are fully functional like in Clipper. AFAIR it was the last unintentional incompatibility with Clipper. TODO: add support for multiple static functions with the same name in .HRB files - it's necessary to change used format so I'll probably do that with .HRL support. Now when -gh switch is used and such functions exists then harbour compiler generates: Error E0002 Redefinition of procedure or function ... TODO: modify hbmk2 to pass @<name>.clp files directly to Harbour compiler so it can compile them just like Clipper does and generate single output file: <name>.<ext> [DONE] * harbour/config/instsh.mk * disabled install command echo 2009-09-02 02:51 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/compiler/hbmain.c % farther optimizations and simplifications * harbour/config/instsh.mk ! fixed detection of empty INSTALL_FILES and INSTALL_DIR 2009-09-01 21:08 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/hbinet.c * return logical value from hb_socketInit() function. 2009-09-01 21:00 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/config/lib.mk * harbour/config/bin.mk * harbour/config/header.mk * harbour/config/dyn.mk * harbour/config/doc.mk * harbour/config/instsh.mk ! rewritten install rules so now they work without any problem when more then one target .mk file is included, i.e. lib.mk and header.mk * harbour/source/pp/Makefile * harbour/source/dynlib/mt/Makefile * harbour/source/dynlib/Makefile * harbour/contrib/hbmysql/Makefile * harbour/contrib/hbct/Makefile * harbour/contrib/xhb/Makefile * harbour/contrib/hbodbc/Makefile * harbour/contrib/hbtpathy/Makefile * harbour/contrib/hbsqlit3/Makefile * harbour/contrib/hbmzip/Makefile * harbour/contrib/hbblat/Makefile * harbour/contrib/hbqt/Makefile * harbour/contrib/hbxbp/Makefile * harbour/contrib/xpp/Makefile * harbour/contrib/hbnf/Makefile * harbour/contrib/hbcurl/Makefile * harbour/contrib/gtqtc/Makefile * harbour/contrib/rddsql/sddmy/Makefile * harbour/contrib/rddsql/sddpg/Makefile * harbour/contrib/rddsql/sddfb/Makefile * harbour/contrib/rddsql/sddodbc/Makefile * harbour/contrib/hbhpdf/Makefile * harbour/contrib/rddado/Makefile * harbour/contrib/gtwvg/Makefile * harbour/contrib/hbpgsql/Makefile * harbour/contrib/hbclipsm/Makefile * harbour/contrib/rddads/Makefile * harbour/contrib/hbfimage/Makefile * harbour/contrib/hbgd/Makefile * harbour/contrib/hbtip/Makefile * harbour/contrib/hbwin/Makefile * harbour/contrib/hbvpdf/Makefile * harbour/contrib/hbbtree/Makefile * harbour/contrib/hbssl/Makefile * harbour/external/libhpdf/Makefile * removed not longer necessary workaround for overwritten by different targets INSTALL_RULE Possible TODO: clean up some other rules in config .mk files to remove hacks from pp and dynlib Makefile(s). Above modifications should fully resolve the problems with repeated install actions and also build problems with some more restrictive POSIX SHELLs. 2009-09-01 16:43 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbcomp.h * harbour/include/hbcompdf.h * harbour/source/compiler/hbmain.c * harbour/source/compiler/genc.c * harbour/source/compiler/genhrb.c % removed FUNCALLS internal structures and functions. It simplifies compiler code, reduce memory usage and increase performance due to eliminating unnecessary structures which were update and scanned in previous. Now we have all necessary information in symbol table. * harbour/contrib/hbnetio/netiocli.c + added support for DNS addresses 2009-09-01 14:02 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/config/global.mk ! fixed MinGW prefix detection in some cross installations, i.e. Debian ones. 2009-09-01 11:33 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/hbsocket.c ! added sock_init()/sock_exit() calls to DOS builds. ! use select_s() and close_s() instead of select() and close() in DOS builds. * harbour/contrib/hbnetio/netiocli.c * harbour/contrib/hbnetio/netiosrv.c ! initialize socket library automatically - it's necessary for some platforms. 2009-09-01 09:48 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbnetio/tests/netiotst.prg * check if NETIO server is properly started * formatting some messages 2009-09-01 09:28 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbnetio/tests/netiotst.prg * added header with copyright message * harbour/contrib/hbnetio/netiocli.c * pacified two BCC warnings 2009-09-01 00:56 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/harbour.spec * harbour/harbour-win-spec * harbour/harbour-wce-spec * harbour/bin/hb-func.sh * harbour/contrib/Makefile + harbour/contrib/hbnetio + harbour/contrib/hbnetio/netio.h + harbour/contrib/hbnetio/netiomt.prg + harbour/contrib/hbnetio/netiocli.c + harbour/contrib/hbnetio/netiosrv.c + harbour/contrib/hbnetio/Makefile + added new library: HBNETIO. It implements alternative RDD IO API which uses own TCP/IP sockets to exchange data between client and server. This library contains client and server code and is fully MT safe. On client side it's enough to execute: NETIO_CONNECT( [<cServer>], [<cPort>], [<nTimeOut>] ) -> <lOK> function to register alternative NETIO RDD API and set default server address and port. <cServer> - server addres (default 127.0.0.1) <cPort> - server port (default 2941) <nTimeOut> - connection timeout (default -1 - not timeout) Above settings are thread local and parameters of the 1st successful connection are used as default values for each new thread. After registering NETIO client by above function each file starting "net:" prefix is automatically redirected to given NETIO server, i.e. use "net:mytable" It's also possible to pass NETIO server and port as part of file name, i.e.: use "net:example.org:10005:mytable" On the server side the following functions are available: create NETIO listen socket: NETIO_LISTEN( [<nPort>], [<cAddress>], [<cRootDir>] ) -> <pListenSocket> | NIL accept new connection on NETIO listen socket: NETIO_ACCEPT( <pListenSocket> [, <nTimeOut>] ) -> <pConnectionSocket> | NIL start connection server: NETIO_SERVER( <pConnectionSocket> ) -> NIL stop connection accepting or connection server: NETIO_SERVERSTOP( <pListenSocket> | <pConnectionSocket>, <lStop> ) -> NIL activate MT NETIO server (it needs MT HVM): NETIO_MTSERVER( [<nPort>], [<cAddress>] ) -> <pListenSocket> | NIL To create NETIO server is enough to compile and link with MT HVM this code: proc main() local pListenSocket pListenSocket := netio_mtserver() if empty( pListenSocket ) ? "Cannot start server." else wait "Press any key to stop NETIO server." netio_serverstop( pListenSocket ) pListenSocket := NIL endif return NETIO works with all core RDDs (DBF, DBFFPT, DBFBLOB, DBFNTX, DBFCDX, DBFNSX, SDF, DELIM) and any other RDD which inherits from above or use standard RDD IO API (hb_file*() functions). Without touching even single line in RDD code it gives the same functionality as REDBFCDX in xHarbour but for all RDDs. It's possible that such direct TCP/IP connection is faster then file server protocols especially if they need more then one IP frame to exchange data so it's one of the reason to use it in such cases. Please make real speed tests. The second reason to use NETIO server is resolving problem with concurrent access to the same files using Harbour applications compiled for different platforms, i.e. DOS, LINUX, Windows and OS2. It's very hard to configure all client stations to use correct locking system. NETIO fully resolves this problem so it can be interesting alternative also for MS-Windows users only if they do not want to play with oplocks setting on each station. I'm interesting in user opinions about real life NETIO usage. Have a fun with this new toy ;-) + harbour/contrib/hbnetio/tests + harbour/contrib/hbnetio/tests/netiotst.prg + harbour/contrib/hbnetio/tests/netiotst.hbp + harbour/contrib/hbnetio/tests/data + added simple test code for NETIO. It activates NETIO MT server and then connects to this server to create and browse table with memo file and production index with few tags. 2009-08-31 22:09 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rdd/sdf1.c * harbour/source/rdd/delim1.c * harbour/source/rdd/dbf1.c ! fixed typo in recent modification 2009-08-31 16:43 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/config/dos/djgpp.mk ! added watt library to linked library list when TCP support is enabled in DOS builds TODO: make the same for watcom builds - I would like to leave it for Viktor because I'm not sure where exactly I should add it for new watcom .mk files to not break Viktor's build concept. [DONE] 2009-08-31 16:21 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/net.c ! fixed DJGPP compilation when MAXGETHOSTNAME is not defined in header files 2009-08-31 16:04 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/Makefile ! updated to work with new component detection syntax 2009-08-31 15:46 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/config/detect.mk * harbour/source/rtl/Makefile * harbour/source/rtl/hbsocket.c + added support for TCPIP in DOS builds using WATTCP/WATT-32 library. The latest release of Watt-32 is available at www.watt-32.net 2009-08-31 16:00 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/contrib/rddsql/sddfb/fbirddd.c * fixed 64-bit compile warnings 2009-08-31 12:41 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rdd/dbf1.c * harbour/source/rdd/sdf1.c * harbour/source/rdd/delim1.c * minor extension in default alias settings 2009-08-30 17:30 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/hbqt_slots.cpp ! Completely reworked events management. It now supports multi-threads. * contrib/hbxbp/xbpbrowse.prg * contrib/hbxbp/xbpdialog.prg * contrib/hbxbp/xbpgeneric.prg ! Reworked event management to support multi threads. * contrib/hbxbp/tests/demoxbp.prg ! Demonstrated the MT support. Click on <Dialogs> on main menu and play with more than one dialog. /* Still there are few glitches in MT mode and I do request Przemek to look into the code and suggest us what else is required. */ 2009-08-30 17:25 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbwin/wapi_winuser.c + Added two more functions. 2009-08-30 17:15 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/gtwvg/gtwvg.c ! A small fix in caret handelling. Under certain circumstances, when other modal consoles are opened, HideCaret() is issued multiple time and hence caret is diappeared. For normal console it was ok. * contrib/gtwvg/wvgsink.c ! Some optimizations and formatting. 2009-08-30 11:41 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/compiler/hbmain.c ! cleaned error messages to simulate Clipper behavior 2009-08-30 10:29 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/pp/Makefile * harbour/source/main/Makefile ! hacked the order of linked library list to resolve problem with potential cross references between libraries on platforms which do not support library grouping * harbour/source/nortl/nortl.c ! added missing include hbmemory.ch * harbour/source/compiler/hbmain.c ! added protection against multiple init function freeing 2009-08-30 08:47 UTC+0200 Viktor Szakats * INSTALL + Added sqlite3 and allegro package names for Ubuntu. 2009-08-29 19:05 UTC+0200 Viktor Szakats * source/pp/hbpp.c + Added comment to HB_DYNLIB guard. * source/pp/Makefile ! Deleted wildcard check before hbpp obj deletion. It's wrong because hbpp obj isn't there when the rule is validated, so the deletion would never take place. (For some reason it was still deleted on some platforms though - apparently not on OS/2 GNU Make.). Anyhow addition of $(wildcard) call at this spot was not critical anyway. See: 2009-08-22 11:59 * utils/hbmk2/hbmk2.prg ! Fixed checking wrong dependencies when non-.prg extension was used for .prg source files in incremental mode. 2009-08-29 13:33 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbcomp.h * harbour/source/compiler/hbmain.c ! fixed typo in -m parameter handling ! fixed old memory leak exploited by compile time error in code with static variables 2009-08-29 12:43 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbcomp.h * harbour/include/hbcompdf.h * harbour/source/compiler/hbmain.c * harbour/source/compiler/cmdcheck.c * harbour/source/compiler/hbcomp.c * harbour/source/compiler/genc.c * harbour/source/compiler/harbour.yyc * harbour/source/compiler/harbour.y * harbour/source/compiler/hbdbginf.c * harbour/source/compiler/genhrb.c * harbour/source/compiler/gencobj.c - removed old "AutoOpen" code used for @<name>.clp, SET PROCEDURE TO ... and DO <func> [ WITH <args,...> ] statements It was neither Clipper compatible not working correctly in some cases. + added new code for multi .prg module compilation into single unit with support for multiple file wide declarations just like Cipper does doe @.clp files and SET PROCEDURE TO / DO ... [ WITH ... ] % cleaned redundant code used in harbour compiler to execute grammar parser with different conditions. Now it's much shorter and simpler and hb_compparse() is called only from one place. ! fixed possible multiple declarations in symbol table for ANNOUNCE function % rewritten C code generation to increase speed and make it independent from some internal compiler structures. Now it's shorter and faster but it strongly uses scope attributes in symbol table so they have to be properly set during compilation and new code for .c file generation should help in their validation. % few other optimizations and cleanups Now Harbour can compile code like: /*** t01.prg ***/ static s_var := "main sVar" proc main() ? procname(), "->", sVar do t02 return /*** t02.prg ***/ static s_var := "t02 sVar" proc t02() ? procname(), "->", sVar return by simpe: harbour -n -w -es2 t01 or using tst.clp: t01 t02 and: harbour -n -w -es2 @tst in both cases it works just like Clipper. Please note that in the second version generated file inherits (like in Clipper) name from .clp file and is called "tst.c". The .clp file name is also used as module handler signature. TODO: add support for multiple static functions with the same name but coming from different .prg modules compiled into single unit using @.clp files or SET PROCEDURE TO / DO ... [ WITH ... ] In above modifications I already implemented it partially but I haven't made one very important extension which strongly interacts with symbol table usage during compilation and can be source of really bad problems if I made something wrong so I plan to finish when above changes will have been tested. [DONE] 2009-08-29 11:21 UTC+0200 Viktor Szakats * contrib/hbssl/bio.c - Disabled feature which doesn't seem to be exported via implibs. + contrib/hbssl/hbssls.hbc + contrib/hbssl/hbssls + contrib/hbssl/hbssls/Makefile * contrib/hbssl/hbssl.hbc * contrib/hbssl/Makefile * Default hbssl lib is now created to link dynamically (on Windows). + Added static build of hbssl by the name hbssls, with new .hbc file linking to static OpenSSL libs. * bin/hb-func.sh - Commented creation of dynamic libs. Now it's done on GNU Make level. * config/os2/gcc.mk - Disabled os2/gcc .dll creation. If someone comes up with a working solution we can readd it, but in current form it just broke os2/gcc target with no short-term hope for a solution. * source/common/hbver.c + Added "Embarcadero" to Borland C compiler name. Borrowed from xhb / Andi Jahja + Readded also "Borland" to both Embarcadero and CodeGear compiler names. Probably for most ppl "Borland" tells a hell lot more than these names which keep changing every second year. * contrib/gtwvg/Makefile * contrib/hbtip/Makefile * contrib/hbtip/hbtipssl/Makefile * Formatting. 2009-08-28 14:00 UTC+0200 Viktor Szakats * INSTALL * Updated Ubuntu external pkg list. + Added slang to darwin external pkg list. * config/darwin/libs.mk + Added two syslib paths required for slang (gtsln). * utils/hbmk2/hbmk2.prg ! Fixed to add user GTs before the list of user libs. This is to ensure proper linkage with linkers which need this (mingw e.g. and all which used lib grouping switches before they were removed from hbmk2/make in Harbour) * config/bin.mk * config/dyn.mk + Added new HB_LINKING_VMMT variable, which is set to non-empty if hbvmmt is to be linked. It makes it possible to add MT dependent libs to sys lib list, if needed. * config/linux/libs.mk + Adding pthread lib when HB_LINKING_VMMT is set. This isn't needed on my *nix systems (Ubuntu and Darwin), but was used for all platforms in postinst.sh dynlib creation logic, so please speak up if we should add this lib to other *nix platforms, or we can delete it from Linux. 2009-08-28 08:53 UTC+0200 Viktor Szakats * bin/hb-func.sh ! Fixed recent mistake in gpm detection at postinst (now redundant) dynlib generation phase. * source/rtl/fssize.c ! Fixed warnings shown by mingw64 4.5.0. * config/detfun.mk + Now accepting HB_WITH_* control variables in place of HB_INC_* once. If HB_WITH_* is set it overrides HB_INC_*. Experimental yet. * Minor in comments. * config/detect.mk * Minor correction for conf.mk inclusion. 2009-08-28 00:51 UTC+0200 Viktor Szakats * config/rules.mk * config/dos/djgpp.mk * config/common/watcom.mk * config/os2/gcc.mk + Finished support for HB_LDFLAGS variable (to hold Makefile local extra linker options). We don't use this feature yet. * config/sunos/sunpro.mk + Setting CXX for sunos/sunpro.mk to make it build .cpp files without forcing cpp mode explicitly. (suncc seems to do nothing with .cpp input files.) * config/bsd/libs.mk * config/hpux/libs.mk * config/darwin/libs.mk * config/sunos/libs.mk - Deleted commented /usr/X11R6/lib64 lib dir. It's a Linux distro specific thing. * config/linux/libs.mk + Added comment for /usr/X11R6/lib64 2009-08-27 21:41 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/filebuf.c ! added missing static in declaration * harbour/source/rdd/dbffpt/dbffpt1.c ! fixed default memo extension in non workarea methods 2009-08-27 21:20 UTC+0200 Viktor Szakats * external/libhpdf/Makefile ! Fixed typo in recent rework, causing embedded libpng component not being detected. * config/global.mk ! Reverted override support. This will need 3.81.90, in 3.81 override and export keywords don't mix tool well together, or I'm missing something, it could be. 2009-08-27 20:53 UTC+0200 Viktor Szakats * INSTALL + Added new HB_INC_* values to the list. Added more information on them. Described 'no' option. + Added info on passing these config vars through command-line. * config/global.mk + Added support to override some vars even if passed via make commandline. 2009-08-27 20:15 UTC+0200 Viktor Szakats * config/bsd/gcc.mk * config/hpux/gcc.mk ! Restored command-line length saver trick for BSD and HPUX after giving page https://www.in-ulm.de/~mascheck/various/argmax/ a bit more careful read. 2009-08-27 20:03 UTC+0200 Viktor Szakats * config/linux/libs.mk ! Deleted some stuff left when doing the copy from global.mk (yesterday). Should fix double -fPIC switches seen on 64-bit Linux builds. * config/linux/libs.mk + Adding /usr/X11R6/lib64 to sys lib path list on 64-bit systems. If you find this wrong, please tell, we can tweak conditions. * config/bsd/gcc.mk * config/darwin/gcc.mk * config/hpux/gcc.mk * config/linux/gcc.mk * config/sunos/gcc.mk * Changed to just plain pass list of obj on command-line in dynamic lib creation rule. Should be safe on these OSes according to this doc: https://www.in-ulm.de/~mascheck/various/argmax/ (we need about 31-32 KiB of command-line at this moment) 2009-08-27 19:15 UTC+0200 Viktor Szakats * config/rules.mk ! Mistake slipped in. 2009-08-27 18:37 UTC+0200 Viktor Szakats * config/bsd/gcc.mk * config/hpux/gcc.mk * config/linux/gcc.mk * config/linux/icc.mk * config/sunos/gcc.mk * Changed to use different method to pass object file list to gcc. Previous method (@<filename>) only works in 4.x (?) gcc versions. 2009-08-27 18:20 UTC+0200 Viktor Szakats * config/linux/sunpro.mk + Setting CXX for linux/sunpro.mk to make it build .cpp files without forcing cpp mode explicitly. (suncc seems to do nothing with .cpp input files.) Same fix for sunos/sunpro? [DONE] * config/rules.mk + Added option to override C++ compiler tool name with $(CXX) variable. * external/sqlite3/Makefile * external/libpng/Makefile * Formatting/cleanup. 2009-08-27 17:21 UTC+0200 Viktor Szakats * config/linux/sunpro.mk * config/sunos/sunpro.mk + Added HB_CCPATH, HB_CCPREFIX and HB_CCPOSTFIX support for CC and LD. - Deleted HB_CCPREFIX from linux/sunpro AR command. * config/global.mk * Updated comments. 2009-08-27 14:30 UTC+0200 Viktor Szakats * contrib/hbwin/Makefile * source/rtl/gtgui/Makefile * source/rtl/gtwvt/Makefile % Simplified inclusion logic. 2009-08-27 14:18 UTC+0200 Viktor Szakats * external/libhpdf/Makefile + Using new central detection function. HB_WITH_LIBHPDF -> HB_INC_LIBHARU. * contrib/hbhpdf/Makefile * Minor formatting. 2009-08-27 14:02 UTC+0200 Viktor Szakats * contrib/hbqt/Makefile ! Fix to prev. (uploaded version from wrong local machine) 2009-08-27 13:59 UTC+0200 Viktor Szakats * contrib/hbqt/Makefile * contrib/hbxbp/Makefile * contrib/gtqtc/Makefile + QT detection is now also based on detfun.mk. * hbxbp changed a little, but the logic is basically the same. 2009-08-27 13:15 UTC+0200 Viktor Szakats * mpkg_deb.sh * HB_WITHOUT_ADS -> HB_INC_ADS * HB_WITHOUT_ODBC -> HB_INC_ODBC ; Please verify these changes. * contrib/gtalleg/Makefile * contrib/hbmysql/Makefile * contrib/hbodbc/Makefile * contrib/hbsqlit3/Makefile * contrib/hbfbird/Makefile * contrib/hbcurl/hbcurls/Makefile * contrib/hbcurl/Makefile * contrib/rddsql/sddmy/Makefile * contrib/rddsql/sddpg/Makefile * contrib/rddsql/sddfb/Makefile * contrib/rddsql/sddodbc/Makefile * contrib/hbhpdf/Makefile * contrib/hbpgsql/Makefile * contrib/rddads/Makefile * contrib/hbfimage/Makefile * contrib/hbgd/Makefile * contrib/hbtip/Makefile + Using new central detection function instead of replicating in in every contrib. The "side effect" is that now precise instructions will be shown if a given contrib isn't included in a build. Code is much cleaner/simpler/shorter now. ; It's possible that I made some mistakes along the line, plus report if anything is wrongly detected. * external component names converted to all lowercase. ; QT will be done in next commit. [DONE] * config/detfun.mk * config/detect.mk + Added usage instructions (moved parts from detect.mk to detfun.mk). * Moved help to detfun.mk. + Added HB_INC_* 'force' option. + Now clearing _DET_* vars on exit. * external component names converted to all lowercase. * config/global.mk + Updated plans. 2009-08-27 09:50 UTC+0200 Viktor Szakats * config/detect.mk % Deleted compatibility input and output vars. * ChangeLog + Items marked done. 2009-08-27 09:48 UTC+0200 Viktor Szakats * contrib/gtalleg/Makefile * Minor cleanup. * contrib/hbssl/Makefile ! Fixed to use HB_HAS_OPENSSL to form -I options. * Formatting. 2009-08-27 09:40 UTC+0200 Viktor Szakats * contrib/gtalleg/Makefile * contrib/hbfbird/Makefile * contrib/hbfimage/Makefile * contrib/rddsql/sddfb/Makefile % Changed to use detfun.mk for external component detection. * config/detfun.mk * config/detect.mk + Separate platform and compiler filters. + Added new verbosity level (shows successful detection location) + Returns error text in _DET_RES_TEST variable. 2009-08-27 09:04 UTC+0200 Viktor Szakats * mpkg_deb.sh * bin/hb-func.sh * harbour.spec * mpkg_tgz.sh * HB_WITHOUT_GTCRS -> HB_INC_CURSES * HB_WITHOUT_GTSLN -> HB_INC_SLANG * HB_WITHOUT_X11 -> HB_INC_X11 * HB_GPM_MOUSE -> HB_INC_GPM (in few remaining hbmk script places) ; NOTE: After all this cleanup/leveling is done, probably HB_INC_* variables will be changed to more standard HB_WITH_* format. First I want to finish this part. 2009-08-27 08:45 UTC+0200 Viktor Szakats * mpkg_deb.sh * mpkg_tgz.sh * bin/hb-func.sh * harbour.spec + HB_GPM_MOUSE -> HB_INC_GPM and HB_HAS_GPM depending on whether it's a config var or a reaction to config (in postinst) I've left some value in hbmk script which may need further attention. I didn't test these changes, please do. 2009-08-27 08:39 UTC+0200 Viktor Szakats * config/detfun.mk + Accept 'yes' for HB_INC_* variables. Same meaning as leaving it empty. 2009-08-27 08:27 UTC+0200 Viktor Szakats * config/detfun.mk * config/detect.mk + Added positive platform/compiler filters. + Simplified internal platform/compiler filter syntax, now it's one unified list where compiler/platform can be mixed and negative filters can be passed by using '!' char prefix. ! In comment text. * source/rtl/gtsln/Makefile ! Fixed silly copy-paste mistake in recent autodetection changes. Thanks to Tamas Tevesz for spotting it. * source/rtl/gtsln/mousesln.c * Using macros instead of a constants. (2 -> STDERR_FILENO) 2009-08-27 01:40 UTC+0200 Viktor Szakats * config/bsd/gcc.mk * config/darwin/gcc.mk * config/darwin/icc.mk * config/hpux/gcc.mk * config/linux/gcc.mk * config/linux/icc.mk * config/linux/sunpro.mk * config/sunos/gcc.mk * config/sunos/sunpro.mk + Added system lib paths to DFLAGS. This caused dynlib link error with X11 lib on Darwin. 2009-08-26 19:52 UTC+0200 Viktor Szakats * config/lib.mk + Added hack to make hbpp hack (in source/pp/Makefile) happy. Should fix missing 'pow' symbols reported on the list. * config/detect.mk ! Fixed gpm mouse detection prerequisites. ; TODO: Will need some more tweaking to make it clean, I'll do it a bit later. [DONE] 2009-08-26 18:51 UTC+0200 Viktor Szakats * source/rtl/gtxwc/Makefile * source/rtl/gtcrs/Makefile * source/rtl/gtsln/Makefile + Changed to use HB_HAS_* values instead of doing autodetection locally. * source/rtl/gttrm/Makefile + Indenting. * config/global.mk + Added HB_LDFLAGS variable. Not yet used. 2009-08-26 18:42 UTC+0200 Viktor Szakats * source/rtl/gtcrs/Makefile * source/rtl/gttrm/Makefile * source/rtl/gtsln/Makefile * Using HB_HAS_GPM instead of old HB_GPM_MOUSE. * config/bin.mk * config/dyn.mk * config/bsd/libs.mk * config/darwin/libs.mk * config/hpux/libs.mk * config/dos/djgpp.mk * config/win/mingw.mk * config/linux/libs.mk * config/os2/gcc.mk * config/sunos/libs.mk * Extended the way it's decided whether to include rtl external lib dependencies or not. Now binary specific logic was moved to bin.mk, and dynamic lib logic was added to dyn.mk. The flag is called HB_LINKING_RTL (not empty means yes). + Updated syslib list assembly parts to use HB_HAS_* autodetection variables instead of trying to find it out by other means. * config/global.mk + Adding gtcrs, gtsln, gtxwc to std liblist if required components are available. This means that it's now again possible to select these as build-time default GTs. * Updated comment for setting plans. 2009-08-26 17:55 UTC+0200 Viktor Szakats + config/detfun.mk + config/detect.mk * config/global.mk + Added generic external component detection function. + Added central detection for optional external components used by Harbour core. These are: openssl, gpm, slang, curses, x11 Easy to extend with new ones. The detection code will run once per make session and results can be used in all our make files by checking HB_HAS_* variable. If it's empty we cannot use the component, if it's not we can. In this case it contains dir where headers were located. It's possible that it's a list of paths. Users can control these components by using HB_INC_* variable the following way: if it's left empty, Harbour make system will automatically look into default locations, this usually works on *nix systems. If set to a path (or a list of paths), this list will be checked. Finally to explicitly disable a component, user can set the variable to 'no'. Following legacy control variables are yet understood, but the will be removed in the near future: HB_WITHOUT_GTCRS=yes is the same as HB_INC_CURSES=no HB_WITHOUT_SLANG=yes is the same as HB_INC_SLANG=no HB_WITHOUT_GTXWC=yes is the same as HB_INC_X11=no Notice that these settings aren't meant to allow user control of actual Harbour components (like gtxwc). If we need something like this, we can do it, but it wasn't the subject of this change. HB_GPM_MOUSE var is still set for compatibility with internals. NOTE: I've left verbose output on to see what's happening, this will tuned after testing. ; TODO: Remove reliance on legacy settings in our own codebase. [DONE] ; TODO: Start using HB_HAS_* values for dynamic lib syslib list assembly and in GT Makefiles. [DONE] * contrib/hbtip/hbtipssl/Makefile * contrib/hbtip/Makefile * contrib/hbssl/Makefile * HB_HAS_OPENSSL works a little differently now, not empty means 'yes', empty means 'no'. 2009-08-26 13:47 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/filebuf.c * reverted the alternative IO API look up order * small modification 2009-08-26 13:13 UTC+0200 Viktor Szakats * config/bsd/gcc.mk * config/darwin/gcc.mk * config/darwin/icc.mk * config/hpux/gcc.mk * config/sunos/gcc.mk * config/sunos/sunpro.mk + Added "system" libs to dynamic lib creation commands. ; TODO: There is one step left: To build system lib list also when dynamic libs are to be created. This will need some extra detection logic. [DONE] 2009-08-26 12:28 UTC+0200 Viktor Szakats * INSTALL + Added new section: HOW TO DO A PARTIAL [RE]BUILD This wouldn't have been possible a week ago, the situation was so much different and complicated for various cases. ! Cleaned msys/cygwin/<DIR> references and NOTEs. + Documented macros for HB_INSTALL_PREFIX. * config/dyn.mk * config/bin.mk * config/global.mk + config/bsd/libs.mk * config/bsd/gcc.mk + config/hpux/libs.mk * config/hpux/gcc.mk + config/darwin/libs.mk * config/darwin/gcc.mk * config/darwin/icc.mk + config/linux/libs.mk * config/linux/global.mk + config/sunos/libs.mk * config/sunos/gcc.mk * config/sunos/sunpro.mk % Moved "system" library logic to compiler libs.mk files for all *nix compilers. * config/dos/djgpp.mk * config/global.mk * DJGPP with win-based make messages converted to a warning and moved next to the other similar warning detecting another non-ideal combination. 2009-08-26 11:18 UTC+0200 Viktor Szakats * INSTALL + Documented HB_CCPATH, HB_CCPREFIX, HB_CCPOSTFIX config variables. * source/Makefile * config/lib.mk + Added gtxwc to Harbour dynamic libs on *nixes. * config/global.mk ! Always set HB_INC_INSTALL on sh shells to make postinst.sh happy. * config/linux/global.mk * config/linux/gcc.mk * config/linux/icc.mk * config/linux/sunpro.mk % Moved 'system' library name and path list forming logic to platform global.mk. ; TODO: Also for other platforms. [DONE] * source/Makefile ! Fixed to use '-' separator between dynlib name and version on *nixes too, except on darwin, where it's a '.'. 2009-08-26 11:16 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/gtwvt/gtwvt.c ! fixed runtime font modification 2009-08-26 08:30 UTC+0200 Viktor Szakats * config/global.mk ! Added 'SHELL := /bin/sh' lines after 'sh' HB_SHELL detection. Under certain circumstances SHELL will point to COMSPEC even when launched from bash shell (e.g. DJGPP GNU Make launched from DJGPP sh.exe running on Windows OS or using MSYS sh.exe). This seems to be a safe and often used solution on all platforms according to GNU Make docs '5.3.1 Choosing the Shell' section: https://www.gnu.org/software/make/manual/make.html Fix me if you find this wrong. * ChangeLog ! Stripped non-ASCII (accented) chars in recent entries. See: 2008-11-09 12:26 UTC+0100 Viktor Szakats 2009-08-26 02:34 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapifs.h * harbour/source/rtl/filebuf.c + added hb_fileExists() and hb_fileDelete() functions + added support for alternative file IO API used in RDD code which can be implemented by 3rd party developers and registered using hb_fileRegister() function. * harbour/source/rdd/dbf1.c * harbour/source/rdd/dbffpt/dbffpt1.c * harbour/source/rdd/dbfntx/dbfntx1.c * harbour/source/rdd/dbfnsx/dbfnsx1.c * harbour/source/rdd/dbfcdx/dbfcdx1.c * use hb_fileExist() and hb_fileDelete() functions for files accessed by hb_file*() API 2009-08-25 15:48 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbxbp/xbpfontdialog.prg ! Fixed warning about oFont:setPointSize() which cannot be less than 0. Discovered by Istvan Bisz. 2009-08-25 14:37 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbxbp/tests/demoxbp.prg ! Fixed one warning which is discovered by Istvan Bisz. I was experimenting with other style sheet options. 2009-08-25 20:18 UTC+0200 Viktor Szakats * contrib/hbqt/hbqt_slots.cpp ! Fixed regression in 2009-08-22 22:33. Please test. [TESTED OK] * config/global.mk * Minor cosmetic. 2009-08-25 20:01 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/utils/hbtest/rt_hvma.prg * use '#pragma' -ko- to test '("NOTHERE")->(Eof())' results 2009-08-25 19:55 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbvmpub.h ! fixed default size macro used in HB_ITEM_PUT_LONGRAW() * harbour/include/hbexprb.c * enable ("alias")-> optimization only when -ko harbour compiler option is used - it changes RT error. 2009-08-25 18:25 UTC+0200 Viktor Szakats * config/global.mk + Added SVN revision detection and display in log header. Will kick in only if svn is installed. For non-live SVN sandboxes (exported/nightly/other dl) it will display 'exported'. It will also show if there was any local modifications done by appending an 'M' to revno. * FIXME -> NOTE * source/Makefile % Minor to recent. 2009-08-25 17:32 UTC+0200 Viktor Szakats * config/global.mk + Added dos/djgpp autodetection for *nix platforms. * contrib/hbfbird/Makefile + Extended autodetection and feedback. Experimenting. * config/globsh.mk + Added web links to DJGPP FAQ instead of binary FAQ package. * contrib/hbqt/Makefile * contrib/hbfbird/Makefile * contrib/gtqtc/Makefile * source/Makefile * config/global.mk * HB_OS_UNIX GNU Make var renamed to HB_PLATFORM_UNIX. Content is now non-empty or empty (was yes or no). * config/sunos/sunpro.mk + Changes made to config/linux/sunpro.mk applied here also. 2009-08-25 16:49 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/config/linux/sunpro.mk ! fixed dynamic library creation - @<filename> is not supported by SunPRO C compiler, because it's ported only to POSIX environments then we can simply pass file list as shell arguments * harbour/include/hbrdddbf.h * harbour/source/rdd/dbf1.c * harbour/source/rdd/dbffpt/dbffpt1.c * cleaned memo block size decoding. * harbour/include/hbvmpub.h + added new internal macro HB_ITEM_PUT_LONGRAW() * harbour/source/vm/hvm.c * harbour/source/vm/itemapi.c * use HB_ITEM_PUT_LONGRAW() 2009-08-25 15:13 UTC+0200 Viktor Szakats * INSTALL + Added DJGPP cross-builds to support matrix. + Added DJGPP bash.exe to the shell mix. + Added OS/2 bash.exe to the shell mix. ; NOTE: djgpp build fails here when using bash too (I've used a Windows machine to test), see below. * ChangeLog * Updating pending item status. * contrib/hbbtree/hb_btree.c ! Added FIXME about bad bug. (hitting win64, maybe more) Reported on the list a while ago. * utils/hbmk2/hbmk2.prg - Deleted HB_CCPATH support for *nix based gcc/icc compilers. To be in sync with GNU Make files. + Added HB_CCPATH support for os2 and dos. + Added HB_CCPREFIX and HB_CCPOSTFIX support for dos/djgpp to support cross-builds. + Using host dependent executable extension for compiler tools in dos/djgpp to support cross-builds. * config/wce/mingwarm.mk * config/win/mingw.mk + Added HB_CCPOSTFIX support. Now in sync with rest of gcc family compilers in GNU Make and with hbmk2. * config/win/cygwin.mk + Added HB_CCPATH, HB_CCPREFIX, HB_CCPOSTFIX support. To be in sync with rest of gcc family compiler in GNU Make and with hbmk2. * config/dos/djgpp.mk + Added HB_CCPATH, HB_CCPREFIX, HB_CCPOSTFIX support for dos/djgpp. ! Fixed to only give error when using non-DOS build of GNU Make on a Windows host. ; NOTE: Tried the bld process with bash.sh, and it starts when using nativ DOS make.exe, but it fails also with 'Bad command or file name' and 'No command name seen.' when building hbcommon lib. Same effect when using msys. So I conclude our djgpp make files are broken for POSIX shells, I hope someone else can also do tests. * config/os2/gcc.mk + Added HB_CCPATH support. To be in sync with rest of gcc family compiler in GNU Make and with hbmk2. * config/win/bcc.mk ! Readded dbl quotes around tlib filename. This breaks tlib on msys shells. The real problem is caused by /P64 option. Fix unknown, besides avoiding msys shell+bcc target combination. * contrib/hbfbird/Makefile * Indented/rearranged. 2009-08-25 12:49 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/hvm.c * harbour/source/common/expropt2.c * cleaned casting in date and timestamp math operations to use exactly the same conversions in all places in compiled and HVM 2009-08-25 10:51 UTC+0200 Viktor Szakats * bin/postinst.bat ! Fixed to work without HB_TOP value. Regression after recent change. * contrib/rddsql/sddmy/mysqldd.c * contrib/rddsql/sddpg/pgsqldd.c * contrib/hbbtree/hb_btree.h * contrib/hbbtree/hb_btree.c * source/vm/macro.c * source/vm/hvm.c * source/common/expropt2.c * source/compiler/complex.c ! Fixed MSVC warnings. Please review me, especially the date related ones in core. * LONG -> long in hb_compExprReduceTimeStampPut(). ; NOTE: Number of MSVC (32-bit) -W4 warnings are reduced to 280, all of them in RDD code. (plus just few more here and there) 2009-08-25 09:43 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fixed silly regression in 2009-08-23 15:56 which cause RTE on startup if no comp/plat were specced. * utils/hbmk2/hbmk2.prg * config/wce/poccarm.mk * config/wce/msvcarm.mk * config/win/xcc.mk * config/win/pocc.mk * config/win/icc.mk * config/win/pocc64.mk * config/win/msvc.mk ! Changed to use '-' option prefix instead of '/' to make them work under sh (msys) shells. 2009-08-25 09:18 UTC+0200 Viktor Szakats * INSTALL + Mentioning dosemu. * bin/postinst.bat + dos shell flavour zip creation. * config/global.mk + Added make platform detection. + Changed 'dos shell on win platform' warning to be based on make platform. + Not showing 'dos make on win platform' warning when doing DJGPP build because this is the right (and only) way in case of this compiler. * config/globsh.mk + Added command line length limit details for dos shell. + Added command line length limit for OS/2. Copied from other .mk file. * config/dirsh.mk * config/instsh.mk - Deleted comments 'We have to use script to overcome the DOS limit of max 128 characters' from all places. * config/dos/djgpp.mk + Will now error if trying to use other than DJGPP make to built with this compiler. 2009-08-25 03:20 UTC+0200 Viktor Szakats * bin/postinst.bat + Reworked to work better in cross-build/cross-shell scenarios. * config/common/watcom.mk ! Use envvars to pass parameter either if shell is dos or target. This fixes dos/watcom builds under non-dos shells. * source/dynlib/mt/Makefile * source/dynlib/Makefile * config/none.mk ! Fixed the way these dynamic lib targets are skipped. * package/mpkg_win.nsi * Changed to also work on trees using short names. (only 'ChangeLog' is a problem here). Maybe it's time to rename to CHANGES. It causing too much headache. * bin/postinst.cmd * Sync with .bat. * config/global.mk + Exporting HB_SHELL for postinst scripts. ! Fixed HB_PKGNAME assembly for dos targets. ! Typo in comment. * config/win/bcc.mk ! Deleted dbl quotes from tlib commands as it totally confused it under msys shell. 2009-08-25 02:02 UTC+0200 Viktor Szakats * doc/bintools.txt * config/dosecho.exe ! Restored previous version. (new one gave error on some watcom lines e.g.) + Added binary+source links. * INSTALL + Some minor clarifications. * 'NT system required' changed 'XP system recommended' for win hosts. + Added shell requirement for HB_BUILD_PKG. % Simplified os2/watcom on linux example. * bin/postinst.cmd + Some cleanup/sync with postinst.bat. * source/Makefile ! Possible fix: Emptying DYNDIRLIST_BASE on dos targets to save envvar space. * source/Makefile * config/lib.mk + Added gtcrs and gtsln to dynlib obj list for *nix targets. * config/global.mk + Added Harbour version number to log header. ! Fixed to use short pkg name based on target platform no host platform (=dos). * config/bsd/gcc.mk * config/hpux/gcc.mk * config/darwin/icc.mk * config/linux/icc.mk * config/linux/sunpro.mk * config/sunos/gcc.mk * config/sunos/sunpro.mk + Added dynamic library generation to rest of targets. ; Please review, especially sunos/sunpro as it had some .sh tricks which I couldn't replicate. * config/bsd/global.mk * config/hpux/global.mk * config/darwin/global.mk * config/linux/global.mk * config/sunos/global.mk ! Setting DYN_PREF to 'lib'. * config/wce/mingwarm.mk * config/win/mingw.mk - Disabled import libs. [They aren't necessary with mingw.] * config/darwin/icc.mk * Changed to use libtool instead of xiar. (blind sync with darwin/gcc) * config/dos/djgpp.mk * config/common/watcom.mk * config/win/bcc.mk * config/os2/gcc.mk ! Fixed to use $(ECHOQUOTE) in all $(ECHO) calls. * config/win/bcc.mk ! Fixed use fixed backslashes regardless of shell in scripts. * config/dyn.mk ! Fixed to use $(LIB_PREF) as implib name prefix. % Minor opt in IMP_NAME forming. * config/rules.mk % Readded $(HB_INC_COMPILE) to be always on command-line, to better balance between command-line and envvar space. (dos) * config/instsh.mk % Don't display useless '! Nothing to install' message when there was no file to install. (could happen with mingw dynamic lib install where implib is empty because we don't generate one). 2009-08-25 01:55 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbzlib.h * harbour/include/hbregex.h * harbour/source/rtl/hbsocket.c * harbour/config/win/xcc.mk * harbour/source/Makefile * harbour/contrib/rddsql/sddmy/mysqldd.c * harbour/contrib/rddsql/sddpg/pgsqldd.c * harbour/contrib/rddsql/sddfb/fbirddd.c * harbour/contrib/rddsql/sddodbc/odbcdd.c * harbour/contrib/hbwin/hbwinole.h ! fixed XCC builds * harbour/source/rtl/sha1.c * added ugly hack as workaround for bugs in XCC preprocessor * harbour/config/win/bcc.mk ! fixed BCC DLL building in POSIX shells 2009-08-24 19:09 UTC+0200 Viktor Szakats * INSTALL * Minor. - config/readme.txt + doc/bintools.txt * Renamed. 2009-08-24 19:04 UTC+0200 Viktor Szakats * config/dosecho.exe ! Replaced it with a different build which is coming from a known location, the DJGPP package, where also the other included .exe came from. This is an inferior build, but for our purposes it will do. * INSTALL * config/global.mk * Minor. 2009-08-24 18:32 UTC+0200 Viktor Szakats * config/global.mk % Added all/clean/install as .PHONY targets. ! Fixed one error message. (had mistyped HB_ARCHITECTURE) 2009-08-24 18:19 UTC+0200 Viktor Szakats * INSTALL + Improvements. (e.g. moved non-*nix sections to top of quick instruction list as *nix users tend to know these things already) ; NOTE: Is anyone interested in proofreading it or just plain giving some feeback? It's great that I update this doc, but I still had no feedback whether is it suitable for any purpose, or useful for anyone. Anything missing, incomprehensible, or god forbid: useful. 2009-08-24 17:58 UTC+0200 Viktor Szakats * INSTALL % Further simplified quick start instructions. - Deleted HB_COMPILER from non-*nix build cmds. * Replaced HB_COMPILER with HB_PLATFORM on *nix platforms. + Replaced cross-platform scenario list with a complete host platform/shell vs. target platform/compiler compatibility matrix. Feel free to correct/verify/extend it. It's quite scary so I added it as last section. 2009-08-24 17:47 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.pt_BR.po + Updated translation. 2009-08-24 17:40 UTC+0200 Viktor Szakats * config/global.mk * INSTALL + Added poccarm and pocc64 autodetection. + Added iccia64 autodetection. + Added watcom target platform detection on all host platforms. + Added djgpp autodetection under win hosts. % Simplified INSTALL examples accordingly. Actually it's so simple now that only 'make' should be issue after setting up the compiler according to compiler docs. It's very rare that HB_COMPILER or HB_PLATFORM should be specified now on non-*nix platforms. * Minor formatting. - Deleted debug $(info) line. * utils/hbmk2/hbmk2.hu_HU.po * utils/hbmk2/hbmk2.prg ! Fixed to not initialize HB_DYN_INSTALL location to central lib dir in case there was a plat/comp specific lib dir found. I can't remember why this was done this way, but now it doesn't seem to be necessary and it can just cause problems, as central lib may contain some overlapping lib name (leftovers from other 'install' sessions) causing trouble for linkers. It also cleaner this way. ! Added '(internal)' text to Harbour command -trace output. ! Changed harbour.exe path in internal command trace/error output to use the same base dir as hbmk2 itself. In cross-compile situations this is more accurate. Since harbour.exe shouldn't necessarily exist, I've put harbour.exe path in parenthesis to suggest it's not a real path. ; NOTE: Actually now hbmk2 autodetection code is lagging behind GNU Make, so hbmk may need to get a bigger internal revision sooner or later to catch up. It currently cannot switch platforms based on detected situation, also the embedded and normal tool installation should be merged, plus autodetection added for *nix platforms. * include/hbwince.h * include/hbdef.h ! Added HB_EXPORT to some WinCE function, because they are needed to successfully link shared final executable for non-mingw wce compilers (poccarm and msvcarm). (in mingw we automatically export all 'extern' functions, so this isn't a problem) 2009-08-24 17:10 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/hb-mkdyn.sh * harbour/bin/postinst.sh ! fixed win and wce cross builds when GCC cross build tools are not in PATH 2009-08-24 16:37 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/config/global.mk ! fixed MinGW cross build autodetection FIXME: find_in_path_par do not work for paths separated by spaces due to $(substpat) trick 2009-08-24 14:50 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbmacro.h * harbour/source/macro/macro.yyc * harbour/source/macro/macro.y * hb_macroIdentNew() made public * harbour/include/hbexprb.c ! use hb_macroIdentNew() instead of hb_compIdentifierNew() in code compiled for macrocompiler 2009-08-24 14:46 UTC+0200 Viktor Szakats - config/os2echo.exe * config/globsh.mk * config/readme.txt - Deleted. It didn't solve any problems. 2009-08-24 14:09 UTC+0200 Viktor Szakats * INSTALL * Cleaned examples. - Arranged them by host platform - Fixed a few examples (DJGPP on NT missed HB_PLATFORM) - Moved 'set HB_COMPILE' to make command-line. - Consistency changes. - Deleted empty 'rem' lines. - Moved log redirection from each example to general NOTE. - Moved %1 %2 from example to general NOTE. - Added generic *nix section. - Added information about possible cross-build targets. ; Hopefully they are much cleaner now. In fact most information deal with how to setup the compiler. * config/global.mk + Added link to GNU Make free book. % path checking functions rearranged, so now it can be indented. + Added log header line. ! Fixed to display only the first autodetect location. * bin/postinst.cmd * bin/postinst.bat * bin/hb-func.sh * Wording: 'Generating' -> 'Making' * 'Harbour Make (hbmk2)' -> 'hbmk2' in generated hbmk.cfg. * utils/hbmk2/hbmk2.prg * Wording: 'Generating' -> 'Creating' 2009-08-24 13:35 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbexprb.c * minor modification * harbour/source/common/expropt2.c + added compile time optimization for expression like ("alias")->var and ("alias")->(<exp>) 2009-08-24 12:41 UTC+0200 Viktor Szakats * contrib/hbcurl/hbcurl.c * contrib/hbcurl/hbcurls/Makefile * contrib/hbcurl/Makefile - contrib/hbcurl/hbcurlm.c - Deleted two wrappers belonging to share/multi interfaces. * Moved two legacy functions back to main source. - Deleted hbcurlm.c which caused doubly defined symbols when built with pocc. It was caused by some curl header features most probably. * config/global.mk * Comment update in config var planning section. 2009-08-24 04:01 UTC+0200 Viktor Szakats * contrib/hbqt/Makefile * contrib/gtqtc/Makefile ! Fixed prev change after testing. * ChangeLog ! Missed item from recent entry: * config/global.mk * Changed HB_INSTALL_PREFIX macros to lowercase: {hb_top}, {hb_comp}, {hb_plat}, {hb_cpu} 2009-08-24 03:24 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/config/globsh.mk ! added missing command separator 2009-08-24 02:03 UTC+0200 Viktor Szakats * config/global.mk + Will now show the autodetected compiler path. * utils/hbmk2/hbmk2.prg ! Fixed to not pass bogus resource source files to linker when resource compiling isn't supported on given compiler (win/icc). * config/common/watcom.mk ! Fixed double .exe extension (regression). * contrib/hbqt/Makefile * contrib/hbxbp/Makefile * contrib/gtqtc/Makefile + Experimental changes: Now showing reason why library was skipped. Configuration also works a little differently: HB_INC_QT should either be set to the header dir, or set to 'no' which will disables any autodetection (on *nix systems). This method replaces HB_HAVE_QT=no setting and leaves only one setting to control QT lib building. Experimental, probably the control method should be further tuned. Possible log messages: - component not found - component location not set - deselected - platform not supported - compiler not supported - (...) not supported + not necessary NOTE: I've used 3.81 'if/else if' structure here. % Streamlined the way darwin autodetection is solved. (not yet tested) * contrib/hbfbird/Makefile * contrib/hbfimage/Makefile % Optimized prerequisit check by using $(filter) * config/win/icc.mk ! Changed to use xilink instead of using the compiler for linking. This syncs it with msvc and hbmk2, and it also fixes .dll creation. + Added /nologo. * config/global.mk * config/wce/poccarm.mk * config/wce/msvcarm.mk * config/win/xcc.mk * config/win/pocc.mk * config/win/bcc.mk * config/win/watcom.mk * config/win/icc.mk * config/win/msvc.mk * config/rules.mk * config/os2/watcom.mk % Optimized OBJ_DYN_POSTFIX variable to be an internal one, it doesn't need to be set in compiler .mk file anymore. If there is any extra C compiler flag set for dynamic mode, it will be set automatically. 2009-08-23 19:34 UTC+0200 Viktor Szakats - doc/howtobsd.txt * doc/Makefile * INSTALL * Essence of the content moved to INSTALL. * config/none.mk + Added support to display the reason for the "skip". * external/sqlite3/Makefile * contrib/gtalleg/Makefile + Showing the reason why the libs were skipped. Experimental. This feature needs some more design to be consistent and helpful, it should be done while also standardizing our config methods. Current internal solution is also not terribly elegant, maybe it can be converted to a function call, but there may other solutions too. * doc/dirstruc.txt * Minor update. 2009-08-23 18:36 UTC+0200 Viktor Szakats * config/globsh.mk ! Deleted double quotes from around $(MK) command on nt shells. This had the side effect that GNU Make couldn't run the executable for recursion if it wasn't in the PATH. (so win-make.exe didn't work. Now it does.) 2009-08-23 18:30 UTC+0200 Viktor Szakats * config/global.mk ! Minor regression when adding HB_CPU detection for dos plat. 2009-08-23 18:15 UTC+0200 Viktor Szakats - doc/linux1st.txt * doc/Makefile * INSTALL + Moved linux1st.txt content to INSTALL. * utils/hbmk2/hbmk2.prg * config/global.mk - Deleted some HB_ARCHITECTURE compatibility lines. Now only legacy hbmake sources keep referencing it. 2009-08-23 17:55 UTC+0200 Viktor Szakats * doc/linux1st.txt - Deleted Linux build instructions no more relevant. * Formatting. Probably this file should be moved into INSTALL. * doc/gmake.txt * Little updates. * config/global.mk * Changed HB_INSTALL_PREFIX macros to lowercase: {hb_top}, {hb_comp}, {hb_plat}, {hb_cpu} * harbour-win-spec * doc/gmake.txt * doc/linux1st.txt * doc/whatsnew.txt * harbour-wce-spec * INSTALL * bin/hb-mkdyn.sh * bin/postinst.cmd * bin/postinst.bat * bin/hb-func.sh * bin/postinst.sh * external/sqlite3/Makefile * external/libhpdf/Makefile * external/libpng/Makefile * mpkg_tgz.sh * harbour.spec * source/pp/hbpp.c * source/pp/Makefile * source/vm/Makefile * source/vm/cmdarg.c * source/vm/vmmt/Makefile * source/main/harbour.c * source/rtl/gtdos/Makefile * source/rtl/gtwin/Makefile * source/rtl/gtcrs/Makefile * source/rtl/gttrm/Makefile * source/rtl/Makefile * source/rtl/gtos2/Makefile * source/rtl/gtgui/Makefile * source/rtl/gtwvt/Makefile * source/rdd/Makefile * source/Makefile * contrib/hbodbc/Makefile * contrib/hbsqlit3/Makefile * contrib/hbblat/Makefile * contrib/hbqt/Makefile * contrib/hbxbp/Makefile * contrib/hbcurl/Makefile * contrib/gtqtc/Makefile * contrib/rddsql/sddodbc/Makefile * contrib/rddado/Makefile * contrib/gtwvg/Makefile * contrib/rddads/Makefile * contrib/hbfimage/Makefile * contrib/hbtip/Makefile * contrib/hbwin/Makefile * contrib/hbssl/Makefile * utils/hbmk2/hbmk2.pt_BR.po * utils/hbmk2/hbmk2.hu_HU.po * config/none.mk * config/global.mk * config/lib.mk * config/wce/mingw.mk * config/bin.mk * config/dir.mk * config/common/watcom.mk * config/win/msvc64.mk * config/win/iccia64.mk * config/win/mingw64.mk * config/win/gcc.mk * config/win/msvcia64.mk * config/win/pocc64.mk * config/header.mk * config/dyn.mk * config/doc.mk * HB_ARCHITECTURE -> HB_PLATFORM * hb_arch -> hb_plat (internal script variable) * ARCH_COMP -> PLAT_COMP (internal make variable) ; INCOMPATIBLE: Please update your environment, if you used this setting. ; NOTE: So now Harbour uses only two names for platforms: 'OS' and 'platform'. 'Architecture' is nowhere used to refer to as an operating system anymore. 'Architecture' is only used to refer to CPU/hardware architecture. 2009-08-23 17:02 UTC+0200 Viktor Szakats * doc/gmake.txt * doc/man/hbmk.1 * doc/whatsnew.txt * external/sqlite3/Makefile * external/libhpdf/Makefile * include/hbapi.h * include/hbver.ch * utils/hbmk2/hbmk2.prg * contrib/hbhpdf/Makefile * source/vm/cmdarg.c * source/main/harbour.c * source/rtl/version.c * config/global.mk * config/dir.mk * config/common/watcom.mk * config/rules.mk * examples/superlib/superlib.hbc * examples/superlib/superlib.hbp * examples/hbmsql/hbmsql.hbc * examples/hbmsql/hbmsql.hbp * examples/hbsqlit2/hbsqlit2.hbp * examples/hbsqlit2/hbsqlit2.hbc * examples/gfspell/gfspell.hbp * examples/gfspell/gfspell.hbc * examples/hbapollo/hbapollo.hbp * examples/hbapollo/hbapollo.hbc * HB_ARCH_AUTO -> HB_PLAT_AUTO * HB_HOST_ARCH -> HB_HOST_PLAT * 'architecture' -> 'platform' in text. * HB_VERSION_BUILD_ARCH -> HB_VERSION_BUILD_PLAT (INCOMPATIBLE, if you happen to use this from previous dev/beta version) * hb_verHB_ARCH() -> hb_verHB_PLAT() * ${hb_arch} -> ${hb_plat} * INSTALL * Minor update. 2009-08-23 15:56 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added support for combined target names. This means that from now in all supported platform/compiler inputs can be formed like <plat>/<comp> in one string. So e.g. '-plat=wce/mingwarm' is the same as '-plat=wce -comp=mingwarm'. This feature only kicks in if the string contains '/' and in this case the first item always indicates the platform, the second always the compiler, regardless of which switch name is used (-plat or -comp). So -comp=wce/mingwarm is the same as -plat=wce/mingwarm. Experimental yet. ! Wrong bugfix reverted in prev commit. (for watcom/win) * utils/hbmk2/hbmk2.prg * config/global.mk + Added autodetection for i386-mingw32ce, which is WinCE running on x86 CPU. This tool was released just recently from cegcc team. * config/global.mk + Tweaked a little mingwarm autodetection on *nixes. It will now look for all three mingw compilers on provided HB_CCPATH. If not provided or not found on that location, it will continue to look for them in default locations. + config/wce/mingw.mk + Added x86 wce/mingw config file. It's a simple redirection to mingwarm.mk. I'll try to make some steps to make it generic, can't really see the end of the tunnel yet though. 2009-08-23 14:44 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg * Changed internal names to use PLAT instead of ARCH when referring to platform. 2009-08-23 14:38 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.pt_BR.po * utils/hbmk2/hbmk2.hu_HU.po * utils/hbmk2/hbmk2.prg * Changed to use 'platform'/'plat' instead of 'architecture'/'arch'. + Added -plat option. Same as old -arch, which is still accepted for compatibility. + Accepting HB_PLATFORM envvar instead of old HB_ARCHITECTURE. Old envvar is still accepted for compatibility. + Added ${hb_plat} and ${hb_platform} macros. Content the same as for old ${hb_arch} and ${hb_architecture} macros. Old ones still retained for script compatibility. ; Please start using the new values. * contrib/hbwin/olecore.c ! Suppressed MSVC warning. 2009-08-23 14:17 UTC+0200 Viktor Szakats * source/vm/itemapi.c ! Added casts to avoid MSVC -W4 warnings. All of them was related to casting Harbour numeric value number of digits/decimals coming as an 'int' but stored as an USHORT in HB_ITEM. 2009-08-23 13:41 UTC+0200 Viktor Szakats * source/hbpcre/Makefile * source/hbzlib/Makefile + Added 'HB_BUILD_WARN := no' which causes that these foreign sources will be compiled using default compiler warning level. Should avoid a few MSVC warnings. 2009-08-23 13:17 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/rddads/rddads.h * eliminated explicit casting to keep strict aliasing rules 2009-08-23 13:09 UTC+0200 Viktor Szakats * config/globsh.mk * config/readme.txt - config/dj-cp.exe - config/dj-echo.exe - config/dj-mkdir.exe - config/dj-rm.exe + config/doscp.exe + config/dosecho.exe + config/dosmkdir.exe + config/dosrm.exe - config/os2-cp.exe - config/os2-echo.exe - config/os2-mkdir.exe - config/os2-rm.exe + config/os2cp.exe + config/os2echo.exe + config/os2mkdir.exe + config/os2rm.exe * Renamed included GNU tools to avoid using any long filename. - config/Makefile - Deleted. No longer needed. 2009-08-23 12:54 UTC+0200 Viktor Szakats * INSTALL + dos-make.exe + win-make.exe + os2-make.exe - config/mingw32-make.exe - config/dj-make.exe - config/os2-make.exe * config/readme.txt * Moved non-*nix GNU make executables to the root. * Rename above utilities to give a clear idea which belongs to which platform. At the same time we avoid using their original names, thus allowing users to use those ones if installed. * Modified documents accordingly. 2009-08-23 12:07 UTC+0200 Viktor Szakats * include/hbsetup.h * Minor in comment. + Also looking for __DARWIN__ to autodetect HB_OS_DARWIN. * utils/hbmk2/hbmk2.prg + Honoring -quiet option for language file creation related screen output. * INSTALL * Some improvements. * bin/postinst.bat + Added -quiet to hbmk2 command-lines. 2009-08-23 11:58 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbwin/axcore.c * added automatic activex initialization to __AXDOVERB(). __AXGETCONTROL()/hb_oleAxControlNew() also make automatic initialization so it's not necessary to explicitly call WIN_AXINIT()/hb_oleAxInit() * harbour/contrib/rddads/readme.txt ! updated ADS* RDD usage description which contain very old information which stop to be valid many years ago, i.e. user code should not call rddRegister(). * harbour/contrib/rddads/rddads.h * harbour/contrib/rddads/ads1.c ! fixed SELF_RESETREL() macro ! changed uiRecordLen to ulRecordLen - ADT tables can have records longer then 64 KiB ! fixed size of alias buffer passed to AdsGetTableAlias() * harbour/contrib/rddads/adsx.c * modified ADSXAREA structure definition to directly inherit from ADSAREA instead of manual redefining all of its fields. 2009-08-23 10:15 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Minor visual correction to help screen option section. * ChangeLog ! Missed from prev entry: * utils/hbmk2/hbmk2.prg + Added quiet option for watcom linker commands. ! Fixed missing SYS directive in watcom/win targets which prevented using this target in cross-build scenarios. 2009-08-23 09:59 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.pt_BR.po * utils/hbmk2/hbmk2.hu_HU.po * utils/hbmk2/hbmk2.prg + Added -implib option. Implemented it for all compilers. (some of these don't support -hbdyn option yet though, once we got it matured in GNU Make, these can be added to hbmk2) + Added linux/watcom dynlib generation. Quite experimental, it doesn't work due to missing symbols. + Added linux/watcom support for -shared mode. Experimental, it doesn't work due to 'invalid library file attribute'. Either the GNU Make generate .so is wrong, or it's wrongly specified, or else. I hope someone can continue watcom dynamic lib support. + Added quiet option for watcom linker commands. ! Fixed missing SYS directive in watcom/win targets which prevented using this target in cross-build scenarios. * config/dos/watcom.mk * Formatting. * config/linux/watcom.mk - Deleted 'RUNTIME linux' and 'OP norelocs' options from dynlib gerenation. 2009-08-23 01:08 UTC+0200 Viktor Szakats * config/linux/watcom.mk + Added dynamic library generation for linux/watcom. Experimental. NOTE: DFLAGS is a little tricky as I found no 'SYSTEM' preset for ELF DLLs. 2009-08-22 16:01 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbxbp/tests/demoxbp.prg ! Fixed codeblock unused variable warnings. 2009-08-22 23:29 UTC+0200 Viktor Szakats * bin/hb-mkimp.bat - Not creating msvc implibs for QT .dlls anymore. .dlls distributed in the QT binary package are using Itanium ABI (built with MinGW/GCC), which isn't compatible with ABI used by MSVC. Generating an implib is impossible here. Those who want to use QT with MSVC Harbour builds should rebuild QT .dlls from source, implibs will be generated automatically in this case (I assume). 2009-08-22 23:21 UTC+0200 Viktor Szakats + config/os2-echo.exe * config/globsh.mk * config/readme.txt + Replaced OS/2 native echo with GNU echo tool. 2009-08-22 22:43 UTC+0200 Viktor Szakats * bin/hb-mkimp.bat ! Fix to prev. Some debug stuff. 2009-08-22 22:33 UTC+0200 Viktor Szakats * contrib/hbqt/hbqt_slots.cpp ! Fixed memorys leak in HbDbfModel::rowCount() and HbDbfModel::columnCount(). It was shown as "unreachable code" warning. 2009-08-22 22:28 UTC+0200 Viktor Szakats * bin/hb-mkimp.bat ! Fixed warning LNK4093 in msvc lib command. ! Fixed /machine option in msvc lib command for msvc64 targets. % Added /nologo to msvc lib command. 2009-08-22 22:13 UTC+0200 Viktor Szakats * contrib/hbxbp/tests/demoxbp.prg * Added '#pragma -w1' to suppress warnings. Pripal, is there any chance you can clear them? it would be a nice showcase as in real apps it's better to stick with full warnings on. It would better show the Xbase++ Parts user code's suitability for real apps. IMO. 2009-08-22 21:46 UTC+0200 Viktor Szakats + config/Makefile + Added Makefile to show an error with simple one-liner instruction to guide users who want to start provided GNU Make executables right in the config dir. This is wrong, they should be started in root. Anyhow maybe I'll move these make executables to root, with these names: dos-make.exe os2-make.exe win-make.exe This will avoid above problem, it simply cannot be [messed] up anymore. Well, so I imagine. These names also won't collide with original names of these tools, so users who want to stick with external tools, can continue to do so. The other option is that I delete them from SVN. * config/global.mk + Showing warning to user if she's using DOS shell (which probably means DOS based GNU Make) on Windows system. It should also work for most features, but not recommended and there is little reason to do this in production environment. * contrib/hbqt/Makefile * contrib/hbqt/generator/hbqtgen.prg + contrib/hbqt/filelist.mk - contrib/hbqt/Makefile_gen * Renamed Makefile to filelist.mk to stick with known short filenames and extensions. * INSTALL * Minor. 2009-08-22 16:54 UTC+0200 Viktor Szakats * config/rules.mk * config/dyn.mk % Cleaned the way dynamic lib creation logic is activated. Now there is no slowdown on targets where dynamic lib isn't available (or implemented). 2009-08-22 16:26 UTC+0200 Viktor Szakats * source/pp/Makefile % Deleted rule to delete hbpp_dyn object. No longer necessary after patching hbpp.c. Just left there in prev commit to have this line fixed. ! Deleted comment which became irrelevant after prev commit, but forgot to remove it. 2009-08-22 16:22 UTC+0200 Viktor Szakats * source/pp/Makefile ! Fixed case when OBJ_DYN_POSTFIX was empty (all platforms except win/wce non-gcc family) and hbpp object was deleted twice, the second one resulting in error message. ! Deleted ineffective hack to add an empty line after pptable rules. I turned out the behavior I was trying to fix with this is totally random. * source/pp/hbpp.c ! Disabled content when built in HB_DYNLIB mode. This file should never go into a the Harbour dynamic library. Of course we already have the object deletion trick, but, at least on bcc it doesn't work reliably. After chasing this for half a day it turns out bcc build with mingw32-make 3.81 has some sort of random behvior and sometimes hbpp_dyn.obj is deleted, sometimes not. Also 'rm hbpp.obj' either appears at the end of the make process, or not, I don't know if there is any realtion between the two. Maybe we're exploiting some make bugs with bcc rules, I don't know. So this patch will make bcc dynamic lib creation reliable. * config/global.mk * Comments. 2009-08-22 15:06 UTC+0200 Viktor Szakats * config/rules.mk ! Deleted dynlib related rule causing problems in some situations at the same time doesn't seem to be needed at all. 2009-08-22 14:44 UTC+0200 Viktor Szakats * config/global.mk + Display MAKESHELL value if set. * config/globsh.mk * Updated OS/2 GNU tools information: os2-cp.exe requires *forward* slashes in filenames. 2009-08-22 14:42 UTC+0200 Viktor Szakats * config/global.mk % Minor opt. * utils/hbmk2/hbmk2.pt_BR.po * utils/hbmk2/hbmk2.hu_HU.po * utils/hbmk2/hbmk2.prg + Some 'hbmk' texts changed to 'hbmk2'. * contrib/rddads/adsfunc.c ! Fixed ADSGETLASTERROR() to return empty string instead of garbage when there was no error. Borrowed from xhb by Augusto Infante. Fixes applied: Using manifest constant instead of 0, using NULL instead of empty string literal. 2009-08-22 13:24 UTC+0200 Viktor Szakats * source/dynlib/mt/Makefile * source/dynlib/Makefile * source/Makefile - Deleted extra dos platform guards. It's not needed. I hope it won't cause bad side effects. * config/common/watcom.mk ! Fixed to not use $? in LD_RULE. Typo of yesterday. ! Restored remaining $? to $^. It exploited some bad side effects in hbpp lib. 2009-08-22 11:59 UTC+0200 Viktor Szakats * config/globsh.mk + Switched os2 $(CP) command to use config/os2-cp.exe. * config/instsh.mk + Changed os2 install rule to the one used for dos shells except dirsep type. Based on real OS/2 tests made by Maurilio Longo. Thank you very much. This also means CMDPREF is no longer needed. ! Typos in my comment. * source/pp/Makefile ! Fixed to also check presence of hbpp object before trying to delete it. It may not be there in some rare chain of (failure) events. 2009-08-22 11:39 UTC+0200 Viktor Szakats * config/global.mk ! Typo in HB_HOST_CPU detection for os2 and dos. 2009-08-22 11:08 UTC+0200 Viktor Szakats * config/global.mk * config/darwin/gcc.mk + Added version macros similar to include/hbver.h ones. % Using above version macros accross the build system. + Bumped minimum GNU Make version requirement to 3.81 (from 3.78). If there is no negative feedback I'll clean some FIXMEs which no longer apply, plus start cleanup on the make sources to use more ideal 'else if' syntax. + Added commented 'cp' tool check on os2. * config/global.mk * config/instsh.mk + Reenabled CMDPREF logic. * Changed os2 shell rules to use '$(CMDPREF)' instead of hardwired '$(COMSPEC) /C'. Please don't undo it. * bin/hb-mkdyn.sh ! Updated a default Harbour version number. 2009-08-22 10:45 UTC+0200 Viktor Szakats * config/os2/gcc.mk + Added .dll creation for os2/gcc. As the initial attempt I'm using the mingw method to pass object list to gcc. Please test. * config/globsh.mk * Changed $(MD) in os2 to use os2-mkdir. (this macro isn't used yet) + Added os2-cp slash requirement information. Although that was a different build than the one uploaded. ! Minor typo in comment. 2009-08-22 10:21 UTC+0200 Viktor Szakats * config/rules.mk * config/dyn.mk ! Fixed to handle dynamic lib creation gracefully for targets where this isn't supported. Now a message will be shown. + config/os2-cp.exe * config/readme.txt + Added os2 cp tool. For testing. * source/pp/Makefile * source/dynlib/mt/Makefile * source/dynlib/Makefile * Minor rename. 2009-08-22 10:00 UTC+0200 Viktor Szakats * config/wce/mingwarm.mk * config/win/mingw.mk * config/win/cygwin.mk ! Don't quote filenames in DY_RULE commands to make them work on all shells (sh in particular). This means that we lost some level of 'space in filename' support, but it's acceptable since it's unlikely to have space in internal paths anyway. 2009-08-22 00:26 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/gtwvg/wvgsink.c ! Implemented hbwin/axcore.c:Invoke() function in gtwvg/winsink.c. - hb_itemPushList() 2009-08-22 09:04 UTC+0200 Viktor Szakats * config/bsd/gcc.mk * config/hpux/gcc.mk * config/darwin/gcc.mk * config/linux/gcc.mk * config/os2/gcc.mk * config/sunos/gcc.mk + Added HB_CCACHE, HB_CCPREFIX, HB_CCPOSTFIX to all places where it was missing from. bsd/hpux/os2/sunos - pre/post to cc/ld, pre to ar darwin - ccache to ld (I'm not sure about this one) linux - post to cc/ld ; Not it's about consistent and in sync with hbmk2. Please review me. * utils/hbmk2/hbmk2.prg + Added support for HB_CCPREFIX/HB_CCPOSTFIX for os2/gcc targets. 2009-08-22 08:13 UTC+0200 Viktor Szakats * contrib/hbwin/axcore.c + My previous change reapplied after it has been overwritten/lost by previous commit. Pritpal, pls verify your workflow, this was a very small change but it's just out of luck I noticed it has been undone and it could be something important in another case. Please 'svn update' before committing and edit files directly in your sandbox. I'm writing this because such lost committed modification happened already a few times in the past. Thank you. * config/global.mk + Including optional config/conf.mk file. Such file may be created by configure session. 2009-08-21 19:19 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/gtwvg/wvgax.prg * contrib/gtwvg/wvgsink.c ! Code parts used fron axcore.c, deleted from these files. * contrib/hbwin/axcore.c + __AXDOVERB(), a very important function for in-process active-x controls 2009-08-22 03:10 UTC+0200 Viktor Szakats * config/common/watcom.mk * config/win/bcc.mk % Yet another experiment, maybe it won't have any bad side effects: For compilers where $(AR) command supports differential command (bcc and watcom), we're only passing the list of changed objects instead of all of them. Should be much more efficient for incremental builds. * config/globsh.mk * config/instsh.mk ! Reset nt shell dirbase and clean rules to previous state (using 'if [not] exist' instead of $(wildcard)). New solution had several side effects. Some of them easy understandable, some others outright mysterious, so more research will be needed here. Some experiences: - the whole rule is evaluated before starting to execute the resulting commands. - multiple rules with the same target are merged before evaluating them - $(wildcard) is tricky with dirs, especially ones with spaces - if we use conditional lines ($if()) and all lines are ruled out, - the rule will become empty, igniting a confusing GNU Make message. - strange behavior when using 'CLEAN INSTALL' - $(RM) stayed at default value in one /source/pp/Makefile rule. ; FIXME: dos/os2 rules are still slightly wrong because of similar problems, and there 'if [not] exist' isn't a working option either, so we will need to think about something, like splitting clean rules to two levels internally, or more make function tricks. * config/readme.txt + config/os2-make.exe * INSTALL + Added os2 GNU Make binary (3.81 static build). Just to be in sync with other non-*nix platforms. Maybe it will be removed or renamed. * config/globsh.mk + Minor wording change. * contrib/hbwin/axcore.c * Very minor formatting. - make_gnu_xmingw.sh - make_gnu_xmingwce.sh % Deleted two cross-build starter scripts. Their functionality has been largely moved into our GNU Make system. Please use these commands for equivalent functionality: [g]make HB_ARCHITECTURE=[win|wce] ; NOTE: Comments are still welcome regarding experiences especially from original authors of these scripts. Maybe I missed something. $(TARGET) var support. Please comment. 2009-08-21 22:01 UTC+0200 Viktor Szakats * source/Makefile * config/lib.mk + Formatting. 2009-08-21 21:44 UTC+0200 Viktor Szakats * config/linux/gcc.mk + Added experimental dynamic lib creation. ; Please review this. If okay we can probably move this logic to all other *nix platforms and compilers. Maybe even os2/gcc. 2009-08-21 21:32 UTC+0200 Viktor Szakats * config/darwin/gcc.mk + Added experimental dynamic lib creation. ; TODO: Parameterize internal versioning and name. [DONE] ; TODO: Add links (although this may better be done in postinst state most probably). Opinions? [DONE] * source/Makefile + Adjusted dynamic lib name for *nix systems. * config/wce/mingwarm.mk * config/wce/poccarm.mk * config/wce/msvcarm.mk * config/win/xcc.mk * config/win/mingw.mk * config/win/pocc.mk * config/win/icc.mk * config/win/cygwin.mk * config/win/msvc.mk ! Deleted $(ECHOQUOTE) var (typo). 2009-08-21 21:00 UTC+0200 Viktor Szakats * source/vm/maindllh.c * source/vm/Makefile + Added support for os2 .dll. Please review. * config/os2/watcom.mk + Added os2 .dll generation for watcom. Now it generates OK. * source/Makefile * config/lib.mk + Added support for os2 and some level of *nix support. * INSTALL * Minor update to a few option description. * utils/hbmk2/hbmk2.prg + Added preliminary/experimental/untested OS/2 -shared (.dll) support for watcom targets. 2009-08-21 20:06 UTC+0200 Viktor Szakats * config/globsh.mk + Extended NOTE about max command-line length on nt shells. * ChangeLog + Added solution to 'move' problem on nt (and other) shells. 2009-08-21 19:54 UTC+0200 Viktor Szakats * source/dynlib/mt/Makefile * source/dynlib/Makefile + Added 'install' logic for dynamic lib implibs. * config/global.mk + Added useful GNU Make link. ! Added HB_HOST_CPU "detection" for os2 and dos to avoid situation where cross-build is detected due to different to HB_CPU value. (HB_CPU autodetection for os2 dos was added yesterday). It's quite theoretical, as os2 dos has CPU type set to constant 'x86'. + Added IMP_DIR value. This hold where to store implibs for dynamic libs. Empty if platform don't need implibs (huge relief BTW). For *nix this value is set empty, for non-*nix it's set to LIB_DIR. + Added initialization for DYN_PREF (to empty). * config/dyn.mk + Added handling of IMP_DIR, IMP_FILE. ! Dyn lib build rule guarded with HB_BUILD_DLL and DY_RULE checks. * config/globsh.mk + Added dirbase and clean rules for implibs. ! Fixed using OS version of dirs in $(wildcard) for nt clean rules for OBJ_DIR and PKG_DIR. * config/wce/mingwarm.mk * config/wce/poccarm.mk * config/wce/msvcarm.mk * config/win/xcc.mk * config/win/mingw.mk * config/win/pocc.mk * config/win/bcc.mk * config/win/watcom.mk * config/win/icc.mk * config/win/cygwin.mk * config/win/msvc.mk + Dynamic lib rules extended to generate implib in IMP_DIR. This goes smoothly with all compiler except bcc, which requires a copy and a delete to move the implib to lib dir. 'move' doesn't work (says 'command not found' or equivalent and requires '$(COMSPEC) /C' with GNU Make + nt shell), so I didn't use it finally. Anyhow bcc implib is small. * config/globsh.mk - Deleted $(MV) variable with move command. (problematic under nt shells) UPDATE: It's problematic because 'move' isn't on the list of known by GNU Make shell commands, so the shell won't automatically be invoked for it, not just on nt, but possibly on any other platforms. - config/dj-mv.exe * config/readme.txt - Deleted DJGPP mv tool. ; NOTE: dynamic library handling seems to be about feature complete. 2009-08-21 19:07 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbwin/axcore.c * do not pass event number as 1st parameter to user handlers taken from array indexed by event numbers - it's not necessary to repeat it. * updated RT error handlers * harbour/config/global.mk * extended MS-DOS detection 2009-08-21 17:33 UTC+0200 Viktor Szakats * source/pp/Makefile - Deleted just added global.mk. It's not needed. * config/globsh.mk + Added $(MV) variable with move command. + Added $(LN) variable with *nix link command. ! Fixed $(RM) in os2 shell rules to use os2-rm.exe instead of shell provided del. Latter show errors if filename doesn't exist, and we're now using clean rules copied from dos shell, which doesn't make extra existance checks. Well, to put it shortly I've synced $(RM) with dos shell solution. + config/dj-mv.exe * config/readme.txt + Added DJGPP mv tool. * bin/hb-func.sh ! Fixed typo in syslib lone in a recent commit. 2009-08-21 17:10 UTC+0200 Viktor Szakats * source/pp/Makefile ! Including global.mk at the top to make sure OBJ_DYN_PREFIX is initialized. 2009-08-21 16:52 UTC+0200 Viktor Szakats * source/pp/Makefile ! Deleted double clean rules for hbpp executable + .tds file. Since BIN_FILE is set, it will be done in central clean rules anyway. This solves the recently shown up error message on 'clean' when using certain shells (nt). It was cleaned twice and for some reason this created a problem after switching central rules to use $(wildcard) instead of 'if exist'. Probably rules are merged, then evaluated at once, thus leaving two delete commands, since when the file existed when this evaluation took place. 2009-08-21 16:42 UTC+0200 Viktor Szakats * source/vm/maindllh.c * source/vm/maindllp.c ! Fixed DllMain() declaration for msvcarm targets. Thanks Przemek for the hint. 2009-08-21 16:17 UTC+0200 Viktor Szakats * source/vm/fm.c ! Fixed to suppress fcntl header in dlmalloc for msvcarm targets. 2009-08-21 15:59 UTC+0200 Viktor Szakats * config/globsh.mk ! Restored backslashes for GNU rm command for os2 shell. It turns out rm needs backslashes in filenames (on contrary to mkdir which needs forward slashes.) Not terribly consistent. BTW they came from same packages. Thanks to Maurilio Longo for the information. * source/pp/Makefile ! Readded empty line after pptable rule. I couldn't find the reason why this was needed, anyhow without it the dynamic hbpp obj deletion didn't work. Which GNU Make syntax rules am I forgetting? Any hints? ; FIXME: Another issue has shown its ugly head, here clean in hbpp shows error message from 'del' command on nt shell deleting the .exe (and .tds), despite the file is there and we're doing wildcard check too. Ideas are welcome. This worked a few days ago. [DONE - hopefully] 2009-08-21 15:32 UTC+0200 Viktor Szakats * config/instsh.mk % Fixed to use $(CP) instead of 'copy' in nt install rule. 2009-08-21 15:16 UTC+0200 Viktor Szakats * config/globsh.mk % Replaced 'if not exist' nt and os2 shell cmds with $(wildcard). % Using plain (non OS converted) variables in $(wildcard) calls in dos clean rules. % Deleted 'if not exist' os2 shell cmds from dirbase rules. Since we're using GNU tools this isn't necessary, errors will not be shown if the dir already exists. This makes these rules similar to dos ones. ! Fixed to not use OS converted parameters with $(RDP) calls with os2 shell. I can't test, but last information from OS/2 users was that OS/2 GNU Tools expect *nix style path seps. * Synced os2 shell clean rules with DOS ones, except using *nix style parameters in GNU cmds. * config/instsh.mk % Replaced 'if not exist' nt and os2 shell cmds with $(wildcard). In nt I've added a trick to make it work with dirs containing spaces. ; After these changes no more 'if [not] exist' shell specific commands are used in Harbour GNU Make system. ; TODO: Except sh shell. Probably the rules there can be synced now with other shells and special bash logic dropped. [POSTPONED] 2009-08-21 14:41 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/hb-func.sh * added oleaut32 to default linked library list 2009-08-21 14:15 UTC+0200 Viktor Szakats * source/dynlib/Makefile * source/Makefile + Moved dynamic lib generation initialization logic to source root Makefile. This ensures that all subdirs are built before creating the dynamic libraries. * config/globsh.mk + Added rules to delete .def files. 2009-08-21 13:59 UTC+0200 Viktor Szakats * config/global.mk * INSTALL + Added HB_DYN_INSTALL envvar. This will tell where to copy Harbour dynamic libraries. By default it's set to HB_LIB_INSTALL for *nix targets and HB_BIN_INSTALL for non-*nix targets. * bin/postinst.bat - bin/hb-mkdyn.bat - Deleted batch script to create .dlls. Now done from GNU Make system. This means it work on all shells we support, not just nt ones. ; FIXME: Delete win-based gcc family support from hb-mkdyn.sh, now it's redundant. 2009-08-21 13:46 UTC+0200 Viktor Szakats * config/os2/gcc.mk % Using $(wildcard) instead of echo trick to delete target lib. Please test. I don't have access to OS/2. ; 'if exist' and 'if not exist' are now only used from globsh.mk nt and os2 shell sections. ; FIXME: $(COMSPEC) still in OS/2 section. Test results would be welcome without it. [DONE] 2009-08-21 13:34 UTC+0200 Viktor Szakats * config/win/bcc.mk * config/win/watcom.mk + Added new .dll build rules. ; TODO: Solve handling of generated implib. [DONE] ; TODO: Add dynlib generation logic for *nix targets. [DONE] ; TODO: Delete postinst script if the new method turns out to work alright. * config/win/cygwin.mk * config/win/icc.mk * config/win/xcc.mk * config/win/pocc.mk * config/wce/mingwarm.mk * config/wce/poccarm.mk * config/wce/msvcarm.mk + Implemented .dll creation for rest of win/wce compilers: icc uses the same logic as msvc. pocc/poccarm/msvcarm/xcc uses the same logic as msvc except /subsystem option. mingwarm/cygwin uses the same logic as mingw. ; I didn't test wce ones yet. * config/win/msvc.mk % Using $(wildcard) instead of echo trick to delete __lib__.tmp. * config/win/mingw.mk * config/win/msvc.mk * Moved HB_USER_DFLAGS in command-line. * config/win/watcom.mk * config/dos/watcom.mk * config/linux/watcom.mk * config/os2/watcom.mk + Added 'OP quiet' option to wlink command. * source/pp/Makefile ! Using OBJ_DYN_POSTFIX instead of hardwired value. * source/vm/mainwin.c * source/vm/mainstd.c ! Typo in prev commit regarding watcom/dynlib hack. * source/rtl/gtwvt/gtwvt.c ! Fix for msvcarm build, where WS_OVERLAPPEDWINDOW macro is reported missing. 2009-08-21 13:34 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/hb-func.sh ! do not strip system libraries in windows shared linking - unused ones are not attached to harbour*.dll * harbour/contrib/hbwin/hbwinole.h * harbour/contrib/hbwin/olecore.c + added support to pass strings with embedded chr(0) characters + added new public C function: IDispatch* hb_oleItemGet( PHB_ITEM pItem ); it extracts IDispatch* pointer from Harbour OLE pointer item. + added new public C function: void hb_oleVariantUpdate( VARIANT* pVariant, PHB_ITEM pItem ); it updates pVariant structure using values from given pointer item (used to update parameter passed by reference to activex event handler) % optimized some code * harbour/contrib/hbwin/hbwinole.h * harbour/contrib/hbwin/axcore.c + added new public C function: BOOL hb_oleAxInit( void ); + added new public C function: PHB_ITEM hb_oleAxControlNew( PHB_ITEM pItem, HWND hWnd ); It's C function with the same functionality as __AXGETCONTROL() ! allocate ISink structure using hb_xgrab() not hb_gcAlloc() ! initialize ISink reference counter to 0 ! fixed Release() method to free all allocated resources when reference counter reach 0 * return new Active-X control as Harbour OLE item pointer. Warning !!! hb_parptr() and hb_itemGetPtr() do not return valid pointer for controls created by hb_oleAxControlNew()/__AXGETCONTROL() Use hb_oleItemGet() and hb_oleParam() to extract pointer to IDispatch Please update existing code which used __AXGETCONTROL() pointers at C level. - removed not longer used hb_sink_destructor ! removed WIN_AXRELEASEOBJECT() - this function breaks reference counters used by OLE object which needs strict updating to avoid memory leaks (not freed OLE object) or GPF traps (accessing freed object) + extended Invoke() method to update OLE parameters passed by reference. + accept as event handler hash arrays indexed by event numbers and values with codeblocks or function pointers. Similar functionality exists in HWGUI when it's compiled with __USEHASHEVENTS macro and it's much better then passing two arrays. % optimized some code Please test above Active-X modifications. I'm not MS-Windows user so they have to be verified by real MS-Windows developers. They should fix problems with memory leaks (OLE objects where never freed) or GPF traps in C code which tired to strictly manage reference counters. To C programmers: if you increase reference counter to activex control (AddRef()) then you have to release it (Release()) or activex control will never be freed even after clearing all .prg references. It's released only when last reference owner calls Release() method so now valid code can keep references to IDispatch at C level without any problem but it also means that this code can exploit problems in existing wrong code. 2009-08-21 12:48 UTC+0200 Viktor Szakats * config/win/mingw.mk * config/win/msvc.mk * config/rules.mk ! BIN_DIR -> DYN_DIR 2009-08-21 12:46 UTC+0200 Viktor Szakats * source/Makefile ! Fixed typo in prev commit. * config/global.mk * config/wce/poccarm.mk * config/wce/msvcarm.mk * config/win/xcc.mk * config/win/mingw.mk * config/win/pocc.mk * config/win/bcc.mk * config/win/watcom.mk * config/win/icc.mk * config/win/msvc.mk * config/dyn.mk * config/rules.mk + Added OBJ_DYN_POSTFIX variable instead of hardcoded '_dyn'. * config/global.mk * config/dyn.mk + Added DYN_DIR. Set to LIB_DIR for *nix, BIN_DIR for non-*nix. * config/globsh.mk + Added dynamic lib dir/file related dir creation and cleanup rules. * config/win/mingw.mk * config/wce/mingwarm.mk + Added space between -o and output filename. (this should probably be made default) * config/win/mingw.mk + Added .dll build rules. * config/win/bcc.mk % Using $(wildcard) instead of echo trick to delete __lib__.tmp. 2009-08-21 11:29 UTC+0200 Viktor Szakats * source/dynlib/Makefile * source/Makefile * config/rules.mk * config/dyn.mk + Respect HB_BUILD_DLL=no setting. * Don't try to create .dll if there were no compiler local rules set. 2009-08-21 10:54 UTC+0200 Viktor Szakats * source/pp/Makefile * bin/hb-mkdyn.bat + Deleting hbpp dynamic built object to not interfere with harbour dll creation when picking up the objects with wildcard. * Changed .dll creation script to not filter out above object explicitly, it's not needed anymore. * source/vm/mainwin.c * source/vm/mainstd.c * bin/hb-mkdyn.bat + Added hack to exclude any content when creating dynamic build objects for win/watcom. Any content here breaks .dll creation on this target. * Changed .dll creation script to not filter out above objects explicitly, it's not needed anymore. * config/global.mk % Changed CPU detection to use $(filter) + Added CPU detection based on wce compilers. + Showing detected host and target CPU architecture in log (if it could be detected - this is currently only implemented for non-*nix targets) - Deleted host binary extension display in verbose mode. - Deleted now unused HB_BUILD_VERBOSE option. * config/global.mk + Added HB_DYN_VER variable to hold the version number used in Harbour dynamic libary name. * config/bsd/global.mk * config/darwin/global.mk * config/hpux/global.mk * config/linux/global.mk * config/os2/global.mk * config/sunos/global.mk * config/wce/global.mk * config/win/global.mk + Added DYN_EXT variables for each platform. * source/Makefile * config/rules.mk + config/dyn.mk + source/dynlib + source/dynlib/mt + source/dynlib/mt/Makefile + source/dynlib/Makefile * config/win/msvc.mk + Added experimental .dll building feature to the GNU Make system. It's only implemented for MSVC yet. The goal is to replace shell specific (postinst) solutions. * utils/hbmk2/hbmk2.prg + Added darwin/icc support. Untested yet. * source/vm/maindllp.c ! Fixed typo in prev commit. 2009-08-20 21:21 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbxbp/xbpbrowse.prg ! More synchronized horizontal navigation with respect to frozen columns - mouse clicks. ! Focus maintained on main grid view if mouse is clicked on other parts of the browser and scrollbars. /* Your input about artifacts is appreciated */ 2009-08-20 18:55 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbxbp/xbpbrowse.prg ! Synchronized horizontal navigation with respect to frozen columns. 2009-08-20 18:08 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbxbp/xbpbrowse.prg + Implemented ::setLeftFrozen( aColumns ) and ::setRightFrozen( aColumns ) * contrib/hbxbp/tests/demoxbp.prg + Demonstrated the frozen columns feature. ; TODO: Finetune horizontal navigation with respect to frozen columns. 2009-08-21 02:57 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg * Improvement in msvc/wce support to support multiple WinCE CPUs. ! Fixed to add '/manifest:no' only for 8.00 or upper msvcarm compilers. * config/wce/msvcarm.mk * Minor improvements. + Added preliminary support for MIPS/SH/x86 WinCE build settings. * source/vm/maindllp.c + Added MIPS and SH .dll names. * include/hbsetup.h * source/common/hbver.c * HB_CPU_SUPERH -> HB_CPU_SH 2009-08-21 02:39 UTC+0200 Viktor Szakats + config/darwin/icc.mk * INSTALL + Added make file for Intel compiler for OS X. (not tested yet) 2009-08-21 02:26 UTC+0200 Viktor Szakats * config/global.mk * Shows '(pre-xp)' for pre-XP systems instead of showing '(xp)' for newer systems. Please test. 2009-08-21 02:20 UTC+0200 Viktor Szakats * config/global.mk + Added Windows XP (or upper) detection. This will be shown with an '(xp)' mark in log. Please test, I don't have NT/2000 systems. * config/win/bcc.mk % For XP and upper now the default logic (so far only active with sh shells) is enabled which is more efficient and generates shorter log. Old one only kept to make Windows NT/2000 bcc users happy, this is the only win compiler which has such special support. * INSTALL * Minor. 2009-08-21 00:40 UTC+0200 Viktor Szakats * config/common/watcom.mk * sh AR rule made the default. % Now nt shell uses the default AR rule (instead of dos one) with watcom. % Deleted no longer necessary FILE = %f vs %ff hack. Now this rule is only active for os2 shells never nt. 2009-08-21 00:08 UTC+0200 Viktor Szakats * external/sqlite3/Makefile ! Disabled for dos hosts and watcom compiler because watcom runs out of memory. 2009-08-21 00:01 UTC+0200 Viktor Szakats * external/libhpdf/Makefile * contrib/hbhpdf/Makefile ! Fixed to skip them when using dos hosts (due to long filenames in libhpdf lib sources/headers) * external/libhpdf/Makefile + Enabled for watcom/dos and watcom/linux targets. * config/common/watcom.mk * config/rules.mk + Added CC_FLAGS variable similar to HB_FLAGS to aid moving flags to envvars and to reduce redundancy in rules. * The CC_RULE hack was a little bit modified accordingly for c-mode non-linux watcom. We're now a bit closer to be able to drop CC_RULE override. ! Adapted above change for watcom where now all (non-user) flags are moved to envvar when using dos shells. 2009-08-20 22:28 UTC+0200 Viktor Szakats * config/common/watcom.mk ! Yet another fix to prev moving dos shell specific command-line length defeating tricks after rules.mk inclusion. 2009-08-20 22:22 UTC+0200 Viktor Szakats * config/dos/watcom.mk * config/win/watcom.mk * config/linux/watcom.mk * config/os2/watcom.mk ! Fixed to not include rules.cf twice. 2009-08-20 22:04 UTC+0200 Viktor Szakats + contrib/xhb/hbcommon.ch + Added this file for compatibility with xhb. I don't think anyone is using this file though. 2009-08-20 21:52 UTC+0200 Viktor Szakats * contrib/hbwin/hbwin.hbc ! Added missing CellCore lib for wce. I've preserved casing because cegcc has it like that and I wanted to avoid any potential casing problems on *nix cross build. I you know it this is unnecessary pls tell. 2009-08-20 21:35 UTC+0200 Viktor Szakats * examples/gfspell/readme.txt ! E-mail address antispam. 2009-08-20 21:26 UTC+0200 Viktor Szakats + examples/gfspell + examples/gfspell/spell.ng + examples/gfspell/spellc.c + examples/gfspell/gfspell.hbp + examples/gfspell/spell.prg + examples/gfspell/gfspell.hbc + examples/gfspell/spell.ch + examples/gfspell/words.dbf + examples/gfspell/readme.txt + Added Grumpfish Speller library port for Harbour. With kind permission of author Joseph D. Booth. Many thanks to Les Hughes for contributing this port to Harbour. + Some modifications, added hbmk2 make files, did a few other cleanup. ; FIXME: 'const' fixes revealed a few HVM corruption problems in original source. These have yet to be fixed. 2009-08-20 20:40 UTC+0200 Viktor Szakats * config/dos/watcom.mk * config/common/watcom.mk * config/win/watcom.mk * config/linux/watcom.mk * config/os2/watcom.mk ! Fix to prev. (missed to deleted platform specific rules from nt/dos ones) * Moved LDLIBS formation back to platform spefific watcom.mk files. (the only reason is SYSLIBS present only on win) 2009-08-20 20:34 UTC+0200 Viktor Szakats * config/common/watcom.mk + Readded dos/nt shell specific logic. (they were the same so far in Harbour, but maybe it'd be now possible to create real optimize out dos specific hacks for nt shells - unless there is a chance to break the 8192 bytes nt command-line length limit.) * ChangeLog + Marked pending items in prev entry. * config/dos/watcom.mk * config/win/watcom.mk * config/linux/watcom.mk * config/os2/watcom.mk % Deleted watcom doc links. It's enough to have them in common file. 2009-08-20 20:07 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg * config/global.mk ! Fixed to -undef:__PLATFORM__UNIX even for Windows host platforms. This is required because Cygwin builds have this envvar set. I'm not sure that setting __PLATFORM__UNIX for Cygwin is right behavior though. * config/dos/watcom.mk * config/win/watcom.mk * config/linux/watcom.mk * config/os2/watcom.mk + config/common/watcom.mk % Moved common watcom compiler specific make logic to one file. I've choosen OS/2 rules in this global makefile, as they will work on all platforms, albeit in the known slighly hacky way. It's easy to reintroduce shell specific rules for more advanced shells. There was one common rule set for nt/dos shells, plus a very clean one for sh. I may do this in a next commit. After this change it's possible to create all possible watcom cross-builds. Pls shout if I missed something or the concept seems to have some potential flaws. ; QUESTION: Does 'wlib' support '-p=64' option on Linux watcom builds? [It seems so] ; NOTE: Still most of the not yet merged logic could be merged, since there is only a few minor difference between them. ; TODO: Add shell optimized watcom rules for nt/dos/sh shells. [DONE] ; TODO: Try to do a similar stunt for gcc.mk files. [POSTPONED] * source/pp/ppcore.c * #ifdef -> #if defined() 2009-08-20 15:49 UTC+0200 Viktor Szakats * config/global.mk ! Fixed dos autodetection to not be overridden by explicit HB_ARCHITECTURE value since it prevent dos hosted cross build creation. ! Fixed *nix -> win/wce autodetection to not kick in on os2/dos platforms. * INSTALL + Updated cross-build matrix to not show some dos/os2 builds fully untested. They should now work in a generic sence. ; FIXME: watcom rules should be synced across platforms to use shell specific tricks according to HB_SHELL excpect assuming it being the host native one. E.g. watcom/dos -> os2 builds will end with: Bad command or filename - "@..\..\..\..\..\config\dj-echo". watcom/dos -> linux builds will choke because of too long command-lines. [DONE] 2009-08-20 15:38 UTC+0200 Viktor Szakats * config/dos/watcom.mk * DOS shell specific hacks protected by HB_SHELL guard. * Merged together DOS shell specific hacks. * config/win/watcom.mk * config/linux/watcom.mk * config/os2/watcom.mk + Added DOS shell specific hacks, so that cross-builds to these targets on DOS hosts work. 2009-08-20 14:16 UTC+0200 Viktor Szakats * config/global.mk * INSTALL * bin/hb-mkdyn.sh * bin/hb-mkdyn.bat + Added HB_USER_DFLAGS to add custom linker flags to .dll link command. (just like in hbmk2) - In hb-mkdyn.sh HB_USER_LDFLAGS deleted, now HB_USER_DFLAGS replaced it. (HB_USER_LDFLAGS was missing from darwin link cmd) * bin/hb-mkdyn.bat ! HB_DLLLIBS -> HB_DLLIBS * config/global.mk + Added HB_DLLIBS to list of misc custom settings. * INSTALL + Revision of OPTIONS AVAILABLE WHEN BUILDING HARBOUR section. ! Typo. 2009-08-20 13:32 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbthread.h ! do not include <process.h> in WinCE builds 2009-08-20 11:47 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/config/bsd/gcc.mk * harbour/config/darwin/gcc.mk * harbour/config/hpux/gcc.mk * harbour/config/dos/djgpp.mk * harbour/config/win/mingw.mk * harbour/config/linux/gcc.mk * harbour/config/linux/icc.mk * harbour/config/linux/sunpro.mk * harbour/config/os2/gcc.mk * harbour/config/sunos/gcc.mk * harbour/config/sunos/sunpro.mk ! replaced wrongly used 'findstring' functions with 'filter' functions. Now findstring is used only in places where we are looking for substrings not whole words. * harbour/source/rdd/wacore.c ! fixed typo in comment (by Phil Krylov borrowed from xHarbour) * harbour/ChangeLog ! fixed my typo in Latin translation of Phil Krylov family name - sorry Phil. 2009-08-20 11:09 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg * config/wce/msvcarm.mk ! Fixes to command-line macros, now many warnings are gone. * utils/hbmk2/hbmk2.prg + Added ceshell, oleaut32 syslibs to default wce liblist. (to be more in sync with win) * contrib/hbwin/hbwin.hbc ! Added sms syslib for wce. 2009-08-20 10:44 UTC+0200 Viktor Szakats * config/global.mk + Don't attempt to install includes and docs if HB_INSTALL_PREFIX is set to source tree root. (to suppress 'cannot copy file to itself' warnings) 2009-08-20 09:55 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg * config/global.mk + Added autodetection for old MSVC for WinCE versions (clarm.exe based ones). + Added autodetection for HB_VISUALC_VER_PRE80 value for msvcarm targets. * INSTALL + Added cross-build matrix. Tweaked cross-build information. + Added MSVC 2005 for WinCE/ARM example. ; TODO: Create separate example section for native and cross-builds. [DONE - differently] 2009-08-20 08:27 UTC+0200 Viktor Szakats * contrib/hbwin/legacy.prg * contrib/hbwin/legacyco.c + Reimplemented numeric pointer support in legacy OLE interface with the help of Przemek and Antonio. Please test. 2009-08-20 08:10 UTC+0200 Viktor Szakats * config/global.mk ! Fixed to handle spaces in PATH elements. Now '#' is used as intermediate char. Please change it to something else if you feel this might clash with some real-world scenarios. * utils/hbmk2/hbmk2.prg * config/wce/msvcarm.mk ! Readded -DUNDER_CE. Does anyone know of any documentation about required macros for WinCE compilation? 2009-08-19 17:02 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbxbp/xbpbrowse.prg ! Horizontal scrolling made more perfect and Clipper like. % Started LEFT FREEZE. 2009-08-20 01:22 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/config/bsd/gcc.mk * harbour/config/bin.mk * harbour/config/hpux/gcc.mk * harbour/config/darwin/gcc.mk * harbour/config/linux/gcc.mk * harbour/config/linux/icc.mk * harbour/config/linux/global.mk * harbour/config/linux/sunpro.mk * harbour/config/rules.mk * harbour/config/os2/gcc.mk * harbour/config/sunos/gcc.mk * harbour/config/sunos/sunpro.mk ! replaced wrongly used 'findstring' functions with 'filter' functions * harbour/config/linux/global.mk * enable -fPIC for all non x86@32 GCC and ICC Linux builds 2009-08-20 00:52 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/config/global.mk ! fixed typo in platform detection 'ifeq' instead of 'ifneq' and 'win' was set as default ! replaced wrongly used 'findstring' functions with 'filter' functions ! added small trick in path prefix detection to avoid false results from 'findstring' function ! look for 'suncc' instead of 'cc' detecting SunPRO C compiler ('cc' is default C compiler link in all *nixes) 2009-08-20 00:03 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/hb-func.sh * use -I<path> parameter passed to Harbour compiler in hb* scripts also with C compiler for C code inside #pragma begindump/enddump 2009-08-19 21:26 UTC+0200 Viktor Szakats * INSTALL + Added msvcarm examples (using MSVC 2008. 2005 should be similar). * config/wce/msvcarm.mk % Somewhat reduced number of macro options. ! Deleted debug switch from default c option list. % Deleted a few more default c options. ! Added corelibc to syslib list. ! Cleaned linker flags to make it link. Some others just removed, they seem not required. * utils/hbmk2/hbmk2.prg * Synced msvcarm settings with .mk. * config/global.mk * utils/hbmk2/hbmk2.prg + Added msvcarm autodetection to both GNU Make and hbmk2. * config/wce/global.mk * config/wce/poccarm.mk * utils/hbmk2/hbmk2.prg * bin/hb-mkdyn.bat + Added coredll to wce syslib list. (required for msvc and pocc, optional for mingw) ; Now msvcarm builds, with a lot of warnings. 2009-08-19 20:06 UTC+0200 Viktor Szakats * debian/rules * Using spaces instead of tabs for indentation. 2009-08-19 20:04 UTC+0200 Viktor Szakats * debian/rules ! Changed make_gnu.sh references to direct make commands. (please verify me) 2009-08-19 19:45 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added support for detecting Harbour binary environment in raw form, meaning the one after simple 'make' *without* 'make install'. Of course 'install' is still useful to build dlls (and implibs on win), but for normal cases this may be a very useful feature. You do a 'make' (no admin needed on *nix), go to ./bin/arch/comp and hbmk2 works without any extra configuration. This feature also allows us to distribute multihost binary packages. Such unified binaries can be run under multiple hosts. (IOW we can have one binary distro which covers potentially all our supported platforms/compilers both as host OS and target OS). See watcom for such an example in the C compiler world. 2009-08-19 18:59 UTC+0200 Viktor Szakats * INSTALL + Replaced make_gnu_xmingw*.sh references with simple make commands. ; There are no more script/batch references inside INSTALL doc. (except some compiler configuration ones but these don't belong to Harbour, included for convenience only) 2009-08-19 16:44 UTC+0200 Viktor Szakats * contrib/hbwin/legacy.prg ! Deleted pointer to numeric conversions. This means even code using compatibility interface may have to be slightly adapted to use this version of Harbour. Checks like ISNUMBER( CreateOLEObject() ) and CreateOLEObject() == 0 will have to be changed to Empty( CreateOLEObject() ). This stays compatible with other Harbour versions and implementations. Methods/Functions accepting numeric pointers in old implementation will only accept pointers aquired from appropriate OLE API functions. 2009-08-19 15:39 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbwin/olecore.c ! updated for POCC/WinCE header files 2009-08-19 11:34 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/config/global.mk ! extended shell detection - now when we do not use make_gnu.sh we have to accept also shells like ksh which do not set SHLVL envvar. Probably the safest method is using HB_SHELL=sh for all host platforms except DOS, WIN & OS2. 2009-08-19 11:05 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/Makefile * harbour/config/dir.mk * harbour/config/global.mk * eliminated HB_*POSTINST* variables, now it's used only localy in harbour/Makefile * modified root Makefile detection 2009-08-19 10:49 UTC+0200 Viktor Szakats * external/sqlite3/sqlite3.c * external/sqlite3/sqlite3.h + sqlite upgraded to 3.6.17 (from 3.6.16) 2009-08-19 07:31 UTC+0200 Viktor Szakats * config/global.mk ! Applied Phil Krylov's patch to mingw32 detection on gentoo Linux. 2009-08-19 06:29 UTC+0200 Viktor Szakats * contrib/hbtip/thtml.prg ! Fixed hang in 'OEMTOHTML( "&" )'. Reported on c.l.xhb. Fix based on Eduardo Fernandes suggestion, although done a little differently and extended to avoid new RTE. 2009-08-19 06:16 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added wininet syslib to std lib list for win platform. (to be in sync with wce and hbmk script). * INSTALL * Using 'platform' in a few places where 'architecture' was used in text. 2009-08-19 04:42 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbgtinfo.ch * formatting * harbour/include/Makefile - harbour/include/hbgetcmt.ch - removed redundant header file * harbour/contrib/hbwin/olecore.c * added workaround for wrong OLE variant structure definition in some C compilers header files 2009-08-18 18:51 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbxbp/xbpwindow.prg ! Some tweaks. * contrib/hbxbp/xbpbrowse.prg + Implemented Footers. + Reworked entire browse management. Now Qt's powerful "LAYOUT" features are exploited. ! Thoughly rewritten horizontal scrolling. * contrib/hbxbp/tests/demoxbp.prg + Demonstrated Footer implementation. Please play with horizontal scrolling. ;TODO : Left Freeze and RightFreeze I have an idea how to do it. 2009-08-18 18:46 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/hbqt.ch * contrib/hbqt/hbqt_slots.cpp * contrib/hbqt/hbqt_slots.h * contrib/hbqt/moc_slots.cpp + Added more event handlers. 2009-08-18 23:32 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/config/win/bcc.mk * eliminated IF EXIST command and updated to work with non NT shells. Now only OS2 gcc.mk and watcom.mk uses directly IF & FOR shell commands. 2009-08-18 22:56 UTC+0200 Viktor Szakats * config/global.mk * config/globsh.mk * ECHOQUOTE variable moved to per shell sections. ! ECHOQUOTE set to '"' for dos shells. 2009-08-18 22:46 UTC+0200 Viktor Szakats * config/dos/watcom.mk * config/dos/djgpp.mk * config/win/bcc.mk * config/win/watcom.mk * config/os2/watcom.mk * config/os2/gcc.mk * 'echo' -> '$(ECHO)' * config/readme.txt + Added link to DJGPP echo tool. ; FIXME: This isn't the echo tool which is currently included in SVN, but points to the place where other dj-*.exes came from. [DONE] * ChangeLog ! Fixed date in my today's entries. 2009-08-18 21:34 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/config/global.mk * use $(error ...) instead of echo to inform about wrong GNU make version - it works for any targets i.e. clean 2009-08-18 21:20 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) + harbour/config/dj-echo.exe + added DJGPP echo.exe * harbour/config/dirsh.mk * harbour/config/none.mk * harbour/config/global.mk * harbour/config/globsh.mk * harbour/config/instsh.mk * use '$(ECHO)' instead of 'echo' * replaced all COMMAND.COM commands by DJGPP tools 2009-08-18 19:44 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbodbc/odbc.c * harbour/contrib/rddsql/sddodbc/odbcdd.c * synced workarounds for missing in some header files SQL* definitions * harbour/config/globsh.mk * harbour/config/instsh.mk ! eliminated COMMAND.COM commands used for DOS shell - I've just tested that they do not work with pure MS-DOS 6.2 without using $(CMDPREF) though they works with FreeDOS. Anyhow we can safely eliminate them using dj-*.exe tools directly without any if ... command.com testing. It also resolve the problem with IF EXIST <DIR>\NUL which is always true in some environment, i.e. Novel-NetWare drives. 2009-08-18 19:05 UTC+0200 Viktor Szakats * config/dirsh.mk + Added '@' prefixes for nt and os2 shells. 2009-08-18 18:02 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/config/dir.mk % small simplification in used logic * harbour/config/dirsh.mk ! use := instead of = for DIR_RULE assignment - these rules contain dependencies macros which cannot be resolved during assignment 2009-08-18 17:50 UTC+0200 Viktor Szakats * config/dir.mk ! Fixed DIR_RULE assignment (:= back to =) 2009-08-18 17:38 UTC+0200 Viktor Szakats * config/global.mk * Upped minimum GNU Make version requirement to 3.78 (from 3.70). We use many 3.78-only features since very long and in many Makefiles (like $(if)). 3.78 was released in 1999, the year Harbour has born, so this requirement looks pretty modest. Notice however that the "officially" documented (in INSTALL) minimum version is 3.81, and there are a few features we actually use and need from this version. Some other make features are only enabled when using 3.80 (or upper) (parallel build), some others when using 3.81 (or upper) (build configuration information, verbose output). ; TODO: Either bump up the minimum version, or try to fix the remaining unprotected 3.80/3.81 features. My personal opininon is that if there is any reasonable chance we should make 3.80 or 3.81 the minimum official requirement. This is a *nix-only issue, as dos/win/os2 are all covered with recent 3.81 binary builds. Question is: How and which *nix platforms would be affected or limited in such this case? BTW, 3.81 was released in 2006, 3.80 in 2002. [DONE (to 3.81)] * ChangeLog * Updated cross-build compatibility chart. 2009-08-18 13:29 UTC+0200 Viktor Szakats * config/global.mk + Added autodetection of cegcc tools on default install location. + Added error messages if specified or autodetected mingw/cegcc cross-tools couldn't be found. ! Minor cosmetic in warning/error msgs. (ending dot seems to be added by GNU Make) ; NOTE: Currently possible cross-build scenarios (except cross-CPU only cases), by host platform: on win hosts: -> wce/mingawrm -> wce/poccarm -> wce/msvcarm -> dos/djgpp (using DOS GNU make. it fails with mingw32-make due to command-line length limit) -> dos/watcom -> os2/watcom -> linux/watcom on dos hosts: -> win/watcom (*) -> os2/watcom (*) -> linux/watcom (*) on os2 hosts: -> win/watcom -> dos/watcom (*) -> linux/watcom (*) on linux hosts: -> wce/mingwarm -> win/mingw -> win/watcom -> dos/watcom (fails due to wlink bug) -> os2/watcom on darwin/bsd/hpux/sunos hosts: -> win/mingw (*, on FreeBSD cross-build was created successfully) (*): Theoretically possible, but not heard of such build yet. * contrib/rddads/adsfunc.c + Added FIXME to a very old typo in ADSDDREMOVETABLE() which makes it require a dummy variable to be passed as 3rd parameter. 2009-08-18 13:08 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/harbour-win-spec * harbour/harbour.spec * harbour/harbour-wce-spec ! updated to work after recent modifications in make system 2009-08-18 12:01 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/make_gnu_xmingw.sh * harbour/make_gnu_xmingwce.sh * harbour/bin/hb-func.sh ! fixed HB_CCPATH setting to be compatible with .mk files and hb* scripts ! fixed links to harbour share libraries 2009-08-18 10:38 UTC+0200 Viktor Szakats * config/wce/poccarm.mk * config/wce/msvcarm.mk * config/win/xcc.mk * config/win/pocc.mk * config/win/bcc.mk * config/win/watcom.mk * config/win/icc.mk * config/win/msvc.mk * config/rules.mk + Made dynamic compilation pass a little bit more generic. Now HB_DYN_COPT variable should be set to the switch(es) which are used in this pass. This will automatically enable the dynamic compilation pass. E.g. for *nix/gcc compilers it can be set to -fPIC. 2009-08-18 10:15 UTC+0200 Viktor Szakats * config/global.mk + Implemented win/mingw cross-tool autodetection. Based on the logic found in make_gnu_xmingwce.sh. It's not exactly the same, because I used HB_CCPATH and HB_CCPREFIX only. There is no fiddling with the PATH e.g. This may cause problems on some systems, but I couldn't understand the intent behind every logic (and host environments) in the old script. E.g. I left out dealing with 'TARGET' variable completely, including just recently added manual override. If they are needed with the new system, hopefully we can implement it in some ways. Please test. If this works out good, the two launcher scripts are no longer necessary. * Changed the way wce cross-builds are initiated. From now on HB_ARCHITECTURE needs to be set to wce in this case. For win targets, it needs to be set to win. So basically, to launch a win build on Linux you need to type: make HB_ARCHITECTURE=win (optionally you may set HB_CCPREFIX and HB_CCPATH (before make) to your liking, if the tool autodetection doesn't work) For wce builds, use: export HB_CCPATH=... make HB_ARCHITECTURE=wce 2009-08-18 10:44 UTC+0300 Phil Krylov <phil@newstar.rinet.ru> * make_gnu_xmingw.sh ! Fixed the check for old mingw cross-compiler versions under Gentoo. 2009-08-18 01:29 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/xhb/xhbmt.prg * renamed: xhb_StartThread() => StartThread(), xhb_mutexSubscribe() => Subscribe(), xhb_mutexSubscribeNow() => SubscribeNow() ! fixed timeout parameter used in Subscribe[Now]() Harbour uses seconds and xHarbour milliseconds + added xHarbour compatible MT functions: hb_MultiThread(), GetCurrentThread(), GetThreadId( pThID ), ThreadGetCurrentInternal(), IsSameThread( pThID1, pThID2 ), IsValidThread( pThID ), JoinThread( pThID ), KillThread( pThID ), StopThread( pThID ), KillAllThreads(), WaitForThreads(), ThreadSleep( nTimeOut ), DestroyMutex( mtx ), hb_MutexTryLock( mtx ), hb_MutexTimeOutLock( mtx, nTimeOut ), Notify( mtx, xVal ), NotifyAll( mtx, xVal ), ThreadGetCurrent(), GetSystemThreadId( pThID ) * harbour/contrib/xhb/xhb.ch * removed not longer necessary translation rules * harbour/contrib/xhb/hbcompat.ch + added missing translation rules for MT functions for both Harbour and xHarbour sections. Please synchronize this file with xHarbour. It's enough to copy it to xHarbour CVS - it should also fix some problems reported by xHarbour users on comp.lang.xharbour 2009-08-17 22:47 UTC+0200 Viktor Szakats * config/global.mk ! Fixed previous commit after actual testing. Now wce cross build on linux works by simply setting HB_CCPATH and issuing 'make'. ; TODO: Extend above logic to other *nix platforms. [DONE] 2009-08-17 21:30 UTC+0200 Viktor Szakats * config/global.mk * config/wce/mingwarm.mk * config/win/mingw.mk + Added logic to support linux wince cross-builds. My goal was to implement make_gnu_xmingwce.sh functionality inside make files. I've yet to install cegcc to my Linux, so I didn't test it yet, but please do. It's experimental yet and ATM the wce target can be enabled by pointing HB_CCPATH to cegcc install dir. This may change in the future. + In cross build scenarios the default HB_INSTALL_PREFIX is now /usr/local/harbour-<arch>-<comp> Somewhat replicating current .sh behaviour. Not exactly because I wanted to stay with conventions found in other parts of Harbour. With .sh the dir was: /usr/local/arm-wince-mingwce-harbour With new system it's: /usr/local/harbour-wce-mingwarm ; QUESTION: I'm not familiar with .spec files, but it looks there are some redunant settings inside harbour-wce-spec. E.g. HB_CONTRIBLIBS should be left to default and local Makefiles should do the ground work of deciding whether a given contrib needs to be built. CC_HB_USER_PRGFLAGS also seems redundant now, although there may still be some .sh logic which needs it. 'make -i' seems dangerous option when creating a release package. * make_gnu_xmingwce.sh ! Typo in comment. 2009-08-17 20:02 UTC+0200 Viktor Szakats * ChangeLog ; Added missing change to one the recent entries: --- * config/global.cf + Added 'SHELL := $(COMSPEC)' to OS/2 shells. I'm not sure this is needed, please test and confirm whether it solves possible interference with sh.exe in PATH. --- 2009-08-17 19:42 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg * contrib/hbtip/hbtipssl/Makefile * doc/gmake.txt * doc/dirstruc.txt * examples/hbdoc/examples/core_es/dirstruc.txt * Renaming .cf files to .mk. Pass 4. Final touches. Renaming is now complete. * utils/hbmk2/hbmk2.prg ! Applied fix from Przemek to 'nm' output processing. 2009-08-17 19:42 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/hbproces.c ! fixed hb_fsProcessRun() (__RUN() and HB_RUN()) in WinCE builds to pass application name as 1st parameters + added parameters passing to hb_fsProcessRun() (__RUN() and HB_RUN()) in WinCE builds - please test. 2009-08-17 19:27 UTC+0200 Viktor Szakats * external/sqlite3/Makefile * external/libhpdf/Makefile * external/libpng/Makefile * external/Makefile * include/Makefile * source/pp/Makefile * source/hbextern/Makefile * source/lang/Makefile * source/vm/maindllh/Makefile * source/vm/mainstd/Makefile * source/vm/maindllp/Makefile * source/vm/Makefile * source/vm/vmmt/Makefile * source/vm/mainwin/Makefile * source/main/Makefile * source/debug/Makefile * source/common/Makefile * source/nortl/Makefile * source/rtl/gtdos/Makefile * source/rtl/gtwin/Makefile * source/rtl/gtxwc/Makefile * source/rtl/gtcrs/Makefile * source/rtl/gtstd/Makefile * source/rtl/gttrm/Makefile * source/rtl/Makefile * source/rtl/gtcgi/Makefile * source/rtl/gtos2/Makefile * source/rtl/gtsln/Makefile * source/rtl/gtpca/Makefile * source/rtl/gtgui/Makefile * source/rtl/gt_tpl/Makefile * source/rtl/gtwvt/Makefile * source/macro/Makefile * source/hbpcre/Makefile * source/codepage/Makefile * source/rdd/dbfntx/Makefile * source/rdd/nulsys/Makefile * source/rdd/Makefile * source/rdd/dbfnsx/Makefile * source/rdd/dbfcdx/Makefile * source/rdd/hsx/Makefile * source/rdd/usrrdd/rdds/Makefile * source/rdd/usrrdd/Makefile * source/rdd/dbffpt/Makefile * source/rdd/hbsix/Makefile * source/hbzlib/Makefile * source/compiler/Makefile * source/Makefile * utils/hbformat/Makefile * utils/hbmk2/Makefile * utils/hbtest/Makefile * utils/hbi18n/Makefile * utils/Makefile * utils/hbrun/Makefile * contrib/gtalleg/Makefile * contrib/hbmysql/Makefile * contrib/hbct/Makefile * contrib/xhb/Makefile * contrib/hbodbc/Makefile * contrib/hbtpathy/Makefile * contrib/hbgt/Makefile * contrib/hbmzip/Makefile * contrib/hbsqlit3/Makefile * contrib/hbblat/Makefile * contrib/hbqt/Makefile * contrib/hbfbird/Makefile * contrib/hbziparc/Makefile * contrib/hbxbp/Makefile * contrib/xpp/Makefile * contrib/Makefile * contrib/hbnf/Makefile * contrib/hbcurl/hbcurls/Makefile * contrib/hbcurl/Makefile * contrib/gtqtc/Makefile * contrib/rddsql/sddmy/Makefile * contrib/rddsql/sddpg/Makefile * contrib/rddsql/sddfb/Makefile * contrib/rddsql/sddodbc/Makefile * contrib/rddsql/Makefile * contrib/hbhpdf/Makefile * contrib/rddado/Makefile * contrib/gtwvg/Makefile * contrib/hbpgsql/Makefile * contrib/rddads/Makefile * contrib/hbclipsm/Makefile * contrib/hbfimage/Makefile * contrib/hbgd/Makefile * contrib/hbmisc/Makefile * contrib/hbtip/Makefile * contrib/hbwin/Makefile * contrib/hbbmcdx/Makefile * contrib/hbvpdf/Makefile * contrib/hbssl/Makefile * contrib/hbbtree/Makefile * tests/bldtest/Makefile * doc/en-EN/Makefile * doc/Makefile * Makefile * Renaming .cf files to .mk. Pass 3. Changing .cf references to .mk ones outside config. SVN is in working state again. I'll do a final check after this commit. 2009-08-17 19:16 UTC+0200 Viktor Szakats * config/none.mk * config/global.mk * config/bsd/gcc.mk * config/lib.mk * config/wce/mingwarm.mk * config/wce/poccarm.mk * config/wce/msvcarm.mk * config/bin.mk * config/dir.mk * config/hpux/gcc.mk * config/darwin/gcc.mk * config/dos/watcom.mk * config/dos/djgpp.mk * config/win/xcc.mk * config/win/mingw.mk * config/win/msvc64.mk * config/win/iccia64.mk * config/win/pocc.mk * config/win/bcc.mk * config/win/watcom.mk * config/win/mingw64.mk * config/win/msvcia64.mk * config/win/gcc.mk * config/win/pocc64.mk * config/win/icc.mk * config/win/cygwin.mk * config/win/msvc.mk * config/header.mk * config/linux/watcom.mk * config/linux/gcc.mk * config/linux/icc.mk * config/linux/sunpro.mk * config/os2/watcom.mk * config/os2/gcc.mk * config/sunos/gcc.mk * config/sunos/sunpro.mk * config/doc.mk * config/install.mk * Renaming .cf files to .mk. Pass 2. Changing .cf references to .mk ones inside config. SVN is in non-working state yet. 2009-08-17 19:09 UTC+0200 Viktor Szakats - config/prg.cf + config/dirsh.mk - config/none.cf - config/global.cf - config/lib.cf + config/prg.mk - config/bin.cf - config/dir.cf - config/globsh.cf + config/none.mk + config/global.mk + config/bsd/gcc.mk - config/bsd/gcc.cf + config/bsd/global.mk - config/bsd/global.cf - config/c.cf + config/lib.mk - config/wce/msvcarm.cf + config/wce/global.mk - config/wce/global.cf + config/wce/mingwarm.mk - config/wce/mingwarm.cf + config/wce/poccarm.mk - config/wce/poccarm.cf + config/wce/msvcarm.mk + config/bin.mk - config/header.cf - config/rules.cf + config/darwin/gcc.mk - config/darwin/gcc.cf + config/darwin/global.mk - config/darwin/global.cf + config/hpux/gcc.mk - config/hpux/gcc.cf + config/hpux/global.mk - config/hpux/global.cf + config/dir.mk + config/globsh.mk + config/dos/watcom.mk - config/dos/watcom.cf + config/dos/global.mk - config/dos/global.cf + config/dos/djgpp.mk - config/dos/djgpp.cf + config/c.mk - config/doc.cf - config/win/watcom.cf - config/win/mingw64.cf + config/win/xcc.mk - config/win/gcc.cf - config/win/msvcia64.cf - config/win/icc.cf - config/win/pocc64.cf + config/win/mingw.mk - config/win/cygwin.cf - config/win/global.cf + config/win/iccia64.mk + config/win/msvc64.mk + config/win/pocc.mk + config/win/bcc.mk - config/win/msvc.cf + config/win/watcom.mk + config/win/mingw64.mk + config/win/gcc.mk + config/win/msvcia64.mk + config/win/icc.mk - config/win/xcc.cf + config/win/pocc64.mk + config/win/cygwin.mk + config/win/global.mk - config/win/mingw.cf - config/win/msvc64.cf - config/win/iccia64.cf - config/win/pocc.cf - config/win/bcc.cf + config/win/msvc.mk - config/install.cf + config/header.mk - config/instsh.cf + config/linux/watcom.mk - config/linux/watcom.cf + config/linux/gcc.mk - config/linux/gcc.cf + config/linux/icc.mk - config/linux/icc.cf + config/linux/global.mk - config/linux/global.cf + config/linux/sunpro.mk - config/linux/sunpro.cf - config/dirsh.cf + config/rules.mk + config/os2/watcom.mk - config/os2/watcom.cf + config/os2/gcc.mk - config/os2/gcc.cf + config/os2/global.mk - config/os2/global.cf + config/sunos/gcc.mk - config/sunos/gcc.cf + config/sunos/global.mk - config/sunos/global.cf + config/sunos/sunpro.mk - config/sunos/sunpro.cf + config/doc.mk + config/install.mk + config/instsh.mk * Renaming .cf files to .mk. Pass 1. The SVN will be in non-working state until the next commit. Please don't build Harbour for about an hour now. 2009-08-17 19:02 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added support for HB_INSTALL_PREFIX macros (recently introduced in global.cf). Maybe it'd be better to not use this build-time envvar at all. Now that autoconfiguration is working pretty well, I think it may be time to drop support for some envvars in hbmk2. In case of HB_INSTALL_PREFIX it rather makes things more complicated. 2009-08-17 18:08 UTC+0200 Viktor Szakats * config/linux/global.cf ! Fixed HB_USER_CFLAGS -> HB_CFLAGS. 2009-08-17 17:34 UTC+0200 Viktor Szakats * contrib/xhb/filestat.c ! OS_UNIX_COMPATIBLE -> HB_OS_UNIX 2009-08-17 17:30 UTC+0200 Viktor Szakats * include/hbsetup.h % Optimized out HB_OS_UNIX_COMPATIBLE. HB_OS_UNIX should be used instead. Since the definition logic for HB_OS_UNIX was completely different from HB_OS_UNIX_COMPATIBLE, it may be possible that it's not 100% the same as before, although their meaning was the same. HB_OS_UNIX_COMPATIBLE is still available for compatibility, but it's now marked with HB_LEGACY_LEVEL2 and will be removed in next major release. * include/hbapifs.h * include/hb_io.h * include/hbsocket.h * source/vm/set.c * source/debug/dbgentry.c * source/common/hbffind.c * source/rtl/fscopy.c * source/rtl/fstemp.c * source/rtl/gtstd/gtstd.c * source/rtl/gttrm/gttrm.c * source/rtl/version.c * source/rtl/hbsocket.c * source/rtl/copyfile.c * source/rtl/filesys.c * source/rtl/console.c * source/rtl/cputime.c * source/rtl/gtpca/gtpca.c * source/rtl/fssize.c * source/rtl/memofile.c * source/compiler/hbcomp.c * source/compiler/gencobj.c * contrib/hbct/files.c * contrib/xhb/xhbcopyf.c * contrib/xhb/hbserv.c * contrib/hbnf/getenvrn.c * HB_OS_UNIX_COMPATIBLE -> HB_OS_UNIX * config/global.cf * HB_UNIX_COMPATIBLE -> HB_OS_UNIX * config/global.cf + Added 'SHELL := $(COMSPEC)' to OS/2 shells. I'm not sure this is needed, please test and confirm whether it solves possible interference with sh.exe in PATH. 2009-08-17 16:50 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbdefs.h ! fixed typo in HB_SWAP_UINT64() macro 2009-08-17 16:23 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/Makefile + harbour/source/rtl/hbbyte.c * harbour/include/hbextern.ch + added hb_byteSwap*() functions * harbour/contrib/hbtpathy/telepath.prg % use hb_byteSwapW() in tp_crc16() function 2009-08-17 14:28 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/hbsocket.c * small cleanup 2009-08-17 14:13 UTC+0200 Viktor Szakats * source/vm/itemapi.c * source/vm/extend.c * source/rtl/fserr.c * source/rtl/gtsln/keytrans.c * #ifdef -> #if defined() 2009-08-17 16:02 UTC+0300 Phil Krylov <phil@newstar.rinet.ru> * source/debug/tbrwtext.prg ! Fixed RTE on deleting the last tracepoint. 2009-08-17 13:53 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rdd/workarea.c ! keep EOF position synced in relation positioning 2009-08-17 11:46 UTC+0200 Viktor Szakats * contrib/hbxbp/tests/demoxbp.prg ! Opening test.dbf in RO mode to avoid it being update. Couldn't spot the code which touched it. * config/global.cf - Deleted unused and commented code section. * INSTALL - Deleted HB_INSTALL_PREFIX from quickstart instructions. ! Modified hbmk2 hello.prg command to work on *nixes. (I never tried this default scenario though) * Modified non-*nix hbmk2 commands to look more natural and similar to *nix. - Deleted mingw32-make as suggested tool for dos builds done on NT hosts. It chokes with too long command-line with mingw32-make. * bin/hb-mkdyn.sh - Deleted wininet from wce liblist. 2009-08-17 13:26 UTC+0300 Phil Krylov <phil@newstar.rinet.ru> * source/vm/macro.c * source/vm/hvm.c * source/vm/classes.c * source/rtl/tobject.prg * source/codepage/cpes850.c * Various typos in comments. * source/rtl/fserr.c * Added an HB_TRACE to hb_fsSetIOError(). * source/codepage/uckoi8.c * source/codepage/uckoi8u.c * source/codepage/uckam.c * source/codepage/ucmaz.c * Added missing comments. 2009-08-17 13:18 UTC+0300 Phil Krylov <phil@newstar.rinet.ru> * make_gnu_xmingw.sh + Allow user to override the default TARGET. * config/global.cf ! Don't add /harbour (LIB|INC)POSTFIX if HB_INSTALL_PREFIX contains /usr/home (synonym of /home under FreeBSD). ! Fixed INCPOSTFIX usage so it works now. * config/linux/global.cf ! Added x86_64 to -fPIC machines. 2009-08-17 09:10 UTC+0200 Viktor Szakats * config/global.cf + Setting HB_INSTALL_PREFIX (if not set) to PREFIX or DESTDIR (if set, in that order), on *nix systems. 2009-08-16 21:53 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbxbp/xbpgeneric.prg ! Optimized AppEvent() ! Fixed memory leak in MsgBox() function. * contrib/hbxbp/xbpbrowse.prg ! Navigation optimized. ! Greatly improved horizontal navigation. It is now more Clipper like. + Implemented rest of the event handelling: ::itemSelected() ::itemMarked() ::itemRbDown() ::xbeK_Enter + Implemented other blocks: ::hitTopBlock ::hitBottomBlock ::stableBlock * contrib/hbxbp/tests/demoxbp.prg ! Demonstation of improved horizontal scroll. ! Demonstrated indexed table browser. ; TODO: xbeBRW_ForceStable event. /* Can someone make experiments and let me know any artifacts missing ? */ 2009-08-16 21:44 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/hbqt_slots.cpp * contrib/hbqt/QColor.cpp * contrib/hbqt/QFont.cpp * contrib/hbqt/QKeyEvent.cpp * contrib/hbqt/QMouseEvent.cpp * contrib/hbqt/QMoveEvent.cpp * contrib/hbqt/QPoint.cpp * contrib/hbqt/QRect.cpp * contrib/hbqt/QRectF.cpp * contrib/hbqt/QRegion.cpp * contrib/hbqt/QSize.cpp * contrib/hbqt/QSizeF.cpp * contrib/hbqt/qth/QColor.qth * contrib/hbqt/qth/QFont.qth * contrib/hbqt/qth/QKeyEvent.qth * contrib/hbqt/qth/QMouseEvent.qth * contrib/hbqt/qth/QMoveEvent.qth * contrib/hbqt/qth/QPoint.qth * contrib/hbqt/qth/QRect.qth * contrib/hbqt/qth/QRectF.qth * contrib/hbqt/qth/QRegion.qth * contrib/hbqt/qth/QSize.qth * contrib/hbqt/qth/QSizeF.qth ! Tweaked some definitions. 2009-08-16 10:37 UTC+0200 Viktor Szakats * config/global.cf + Package creation now only works if run from Harbour source root. + 'clean' of pkg dir will only happen now if run from Harbour source root. 2009-08-16 10:18 UTC+0200 Viktor Szakats * external/libpng/pngconf.h * external/libpng/pngset.c * external/libpng/pngpread.c * external/libpng/LICENSE * external/libpng/pngwutil.c * external/libpng/png.c * external/libpng/png.h * Updated to 1.2.39 (from 1.2.38) 2009-08-16 10:04 UTC+0200 Viktor Szakats * ChangeLog * config/globsh.cf + 'clean' now deletes pkg/<arch>/<comp> dir. This ensures that package creation always starts with a fresh empty dir. Resolves existing FIXME (marked DONE). 2009-08-16 09:39 UTC+0200 Viktor Szakats * config/global.cf ! Fixed to process HB_BUILD_NAME when forming package install dir inside /pkg dir. % Delete an unnecessary line. * package/mpkg_win.nsi * config/global.cf * bin/postinst.bat * Little bit changed the way dirs/names are communicated from GNU Make to postinst package creation code. The goal was to have an internal PKG_DIR var which is similar to other *_DIR vars. It was also possible to delete some exported vars this way. - Disabled package creation for non-NT shells (= pure MS-DOS). I found no way to make this work cleanly on pure MS-DOS. + Documented weird requirements of zip building. Also to better clarify why abspath is needed in GNU Make. * config/instsh.cf * Updated OS/2 comment to clarify some issues according to information from Maurilio. 2009-08-16 03:09 UTC+0200 Viktor Szakats * ChangeLog * source/rtl/Makefile * source/rdd/Makefile * config/bin.cf * config/wce/global.cf * config/rules.cf % Using HB_PRGFLAGS instead of HB_GCMODE. Logic is now simple and standard. 2009-08-16 02:47 UTC+0200 Viktor Szakats * config/global.cf * config/rules.cf * config/dos/watcom.cf * config/win/watcom.cf * config/os2/watcom.cf % Using HB_PRGFLAGS instead of HB_FLAGSEXTRA. % Using HB_CFLAGS and HB_PRGFLAGS instead of HB_CDBG. % Using HB_CFLAGS instead of HB_CUNICODE. % Moved all flags from HB_RULE to HB_FLAGS (except HB_USER_PRGFLAGS). This only affects dos/watcom, more command-lines will be put in HARBOURCMD. * external/sqlite3/Makefile * external/libhpdf/Makefile * external/libpng/Makefile * source/vm/maindllh/Makefile * source/vm/maindllp/Makefile * source/vm/vmmt/Makefile * source/rtl/gtxwc/Makefile * source/rtl/gtcrs/Makefile * source/rtl/gttrm/Makefile * source/rtl/gtsln/Makefile * contrib/gtalleg/Makefile * contrib/hbmysql/Makefile * contrib/hbodbc/Makefile * contrib/hbsqlit3/Makefile * contrib/hbqt/Makefile * contrib/hbfbird/Makefile * contrib/hbcurl/hbcurls/Makefile * contrib/hbcurl/Makefile * contrib/gtqtc/Makefile * contrib/rddsql/sddmy/Makefile * contrib/rddsql/sddpg/Makefile * contrib/rddsql/sddfb/Makefile * contrib/rddsql/sddodbc/Makefile * contrib/hbhpdf/Makefile * contrib/hbpgsql/Makefile * contrib/rddads/Makefile * contrib/hbfimage/Makefile * contrib/hbgd/Makefile * contrib/hbtip/hbtipssl/Makefile * contrib/hbssl/Makefile ! Using HB_CFLAGS/HB_PRGFLAGS to specify Makefile local compiler settings instead of modifying HB_USER_*FLAGS. This way the double defines are gone. + Included global.cf to all Makefiles which needs to modify HB_CFLAGS/HB_PRGFLAGS. Probably we should move global.cf inclusion to the top of all Makefiles as a convention. Not terribly elegant, but solves a few problems and more efficient. % Changed ', -I$(d))' to ',-I$(d))' along the way. This avoids wasting an extra space in command line. ; NOTE: It'd still be beneficial to find a way to get rid of 'descend' rule. It could make command-lines cleaner/shorter and whole build process simpler/faster. I didn't manage so far. * source/vm/Makefile * Deleted 'HB_USER_CFLAGS := $(subst -DHB_MT_VM,,$(HB_USER_CFLAGS))' (since it's no longer supported practice to modify user supplied flags) I'm not sure if it's important enough to have. AFAIK there is no reason users use HB_MT_VM define, it's not a public setting, so we shouldn't go too much far in trying to protect against its presence. If it's needed, we should add 'HB_CFLAGS += -DHB_ST_VM' and handle HB_ST_VM as the reverse of HB_MT_VM inside the source. * source/rdd/dbffpt/dbffpt1.c * source/rdd/dbffpt/Makefile * Optimizations are now disabled using #pragma for __XCC__ instead of deleting them from HB_USER_CFLAGS. Please test, and see above on modifying HB_USER_CFLAGS in our make files. * bin/postinst.cmd ! Deleted double quote from target dir in xcopy commands. Blind change. * utils/hbtest/rt_main.ch * utils/hbtest/hbtest.hbp * utils/hbtest/Makefile + Changed to use #pragma to turn on line numbers instead of using HB_USER_PRGFLAGS (or HB_PRGFLAGS). This way there is no need for Makefile hack/tweaks and it works with all make methods automatically. * config/instsh.cf ! Partially restored a few things which were lost without comments in prev OS/2 commit: - Formatting - '@' prefixes - '-' prefixes 2009-08-15 23:37 UTC+0200 Maurilio Longo (maurilio.longo@libero.it) * ChangeLog ! fixed typo in last commit. 2009-08-15 23:25 UTC+0200 Maurilio Longo (maurilio.longo@libero.it) * config/instsh.cf ! fixed OS/2 section, work around for OS/2 shell max line length. 2009-08-15 18:32 UTC+0200 Viktor Szakats * config/global.cf + Added new plans for further setting cleanup. * config/global.cf * config/rules.cf * config/dos/watcom.cf * config/win/watcom.cf * config/os2/watcom.cf + Added HB_CFLAGS, HB_PRGFLAGS. These will now replace all Makefile level manipulation of flags. Should eventually replace all HB_USER_*FLAGS, HB_GCMODE, HB_INC_DEPEND, HB_CUNICODE, HB_CDBG and HB_FLAGSEXTRA variables, if everything goes well. [DONE - except for HB_INC_DEPEND because it cannot be put to the right place inside command-line with HB_*FLAGS] * contrib/hbwin/wapi_winuser.c + Added WAPI_GETKEYSTATE(). 2009-08-15 12:39 UTC+0200 Viktor Szakats * config/none.cf * config/global.cf * config/instsh.cf * config/dirsh.cf ! Fixed minor visual glitch on non-sh shells where some echoed messages were shown inside double quotes. There is only one such but very rare message left in global.cf. * ChangeLog ! Typo in prev entry. * config/dos/djgpp.cf * Changed 'echo.' to 'echo' to make it shell independent just like all other echo commands in the make config files. Pre-2.02 DJGPP distros had an echo.exe, originally I may have added to dots to force using the shell echo instead of this external one. Quick tests made with djecho.exe (the new name of echo.exe) showed it working. Maybe old echo.exe had some bad side effects, I don't remember and ChangeLog entry doesn't have the reason. 2009-08-15 11:48 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Minor fix for darwin and automatic entry function detection using 'nm'. nm on Darwin doesn't seem to support '--defined-only -C' options. Przemek, please check this, maybe this hurts functionality. 2009-08-15 11:44 UTC+0200 Viktor Szakats * make_gnu_xmingw.sh * make_gnu_xmingwce.sh ! Swapped references to make_gnu.sh to gmake/make launches. 2009-08-15 11:21 UTC+0200 Viktor Szakats - make_gnu.sh * config/linux/global.cf - Deleted. The -fPIC logic is moved to linux/global.cf but it's incomplete yet, some comments were added there. * contrib/hbcurl/hbcurl.hbc + contrib/hbcurl/hbcurls.hbc + Added separate .hbc file for static mode hbcurl lib. This replaces former HB_CURL_STATIC setting. * contrib/hbcurl/Makefile * external/Makefile * contrib/Makefile % Minor optimization to DIRS var. (in few cases it wasn't init to empty with := operator) + contrib/hbtip/hbtipssl.hbc + contrib/hbtip/hbtipssl + contrib/hbtip/hbtipssl/Makefile * contrib/hbtip/Makefile + Now building separate SSL enabled hbtip lib in case HB_HAS_OPENSSL. + Added separate .hbc file for SSL enabled hbtip lib, which also pulls hbssl libs and dependencies. * config/prg.cf * config/lib.cf * config/bin.cf * config/globsh.cf * config/dir.cf * config/c.cf * config/header.cf * config/doc.cf * config/instsh.cf * config/dirsh.cf % Optimized remaining (more delicate) logic to use := instead of = assigment operator. At this point there is nothing left to optimize in this regard. ; I didn't restest parallel build and BISON related rules, please do so, I hope they aren't broken. Or in case you notice anything strange please shout. * config/global.cf + Added link to GNU Make NEWS files which describes at which release some features were added. * config/dos/watcom.cf * config/win/watcom.cf * config/os2/watcom.cf ! Synced special watcom CC_RULEs with recent changes to global CC_RULE. 2009-08-15 00:40 UTC+0200 Viktor Szakats * INSTALL * make_gnu.sh * config/global.cf * config/lib.cf * config/bin.cf % Deleted HB_USER_MAKEFLAGS envvar. Simply pass these flags to make executable (or .sh scripts) * config/global.cf + Added some TODO/NOTE/FIXME about GNU Make version compatibility of some feature we're using. + Showing MAKEFLAGS. % Using MAKEFLAGS for --no-print-directory trick. 2009-08-14 23:55 UTC+0200 Viktor Szakats * INSTALL + Separated instructions for linux/darwin and rest of *nixes. The only difference is that the latter needs 'gmake' command to start. + MSYS/Cygwin section extended a bit. (It's now possible to build for any compilers from MSYS/Cygwin) * make_gnu.sh % Deleted unused HB_ARCH64 variable. * config/global.cf - Deleted svnversion trick since it's not guaranteed this command is present on builder's system. + Added doc links from make_gnu.sh. (deleted from there) * Changed to default HB_INSTALL_PREFIX to /usr/local on *nix systems. I very much don't like this (even though I understand why it's done that way). + Added {hb_top} macro for HB_INSTALL_PREFIX, so if someone wants to install Harbour in its own dir, it enough to do: export/set HB_INSTALL_PREFIX={hb_top}. This is crucial if someone doesn't want to "pollute" system areas with Harbour builds, doesn't want to use admin rights to make the install, or if someone wants to use multiple Harbour builds in parallel for any reason. hbmk2 works perfectly without Harbour being installed to system location. + Whenever HB_INSTALL_PREFIX is modified by GNU Make (defaulting or macro replacement), the new value will be presented for the user. % Minor optimization. * Minor cleanups to pkg dir assembling logic. * config/linux/global.cf + Added -fPIC detection logic. This is just a start, it doesn't replicate full logic found in make_gnu.sh. Przemek, if you have some spare time, please look into it. 2009-08-14 22:33 UTC+0200 Viktor Szakats * source/pp/Makefile ! Fixed to not throw harmless but still confusing error messages when cleaning hbpp binary parts. * bin/hb-mkdyn.bat % Minor optimization in initialization. - make_gnu_os2.cmd - make_gnu.bat - Deleted these starter batch files. ; Please use 'mingw32-make' (if installed in PATH) or 'config/mingw32-make' (if not installed in PATH) instead. OS/2 users should use 'make'. ; OS/2 users will have to add: set HB_USER_CFLAGS=-DTCPV40HDRS to local configuration unless they used: set HB_OS2_TCP32=yes I'd like to ask OS/2 users to add (now deleted) related documentation to one of our docs: INSTALL or include/hbsetup.h. Since this was a setting to disable some default setup, we can readd this setting with another name to config/global.cf if needed. Pls tell me about it. ; TODO: Delete make_gnu.sh and/or integrate make_gnu_xmingw*.sh. There is still two things which is done by make_gnu.sh: - Detection for -fPIC option. - Setting HB_INSTALL_PREFIX to system location. (I don't like this, but it seems to be standard behaviour on Linux, so we may want to change GNU Make default logic according to that) [DONE] ; TODO: Move mpkg_*.sh files with related support files to /package. Best would be to integrate them to postinst.sh. * INSTALL + Added FIXME to one example: djgpp with NT shell will choke on too long command-line when building external/libhpdf. ; FIXME: see above. (if possible. If it's too complicated we should simply drop this scenario, after all DJGPP GNU Make also works well. [DONE] * contrib/gtalleg/Makefile * contrib/hbmysql/Makefile * contrib/hbodbc/Makefile * contrib/hbsqlit3/Makefile * contrib/hbqt/Makefile * contrib/hbfbird/Makefile * contrib/hbxbp/Makefile * contrib/hbcurl/Makefile * contrib/gtqtc/Makefile * contrib/rddsql/sddmy/Makefile * contrib/rddsql/sddpg/Makefile * contrib/rddsql/sddfb/Makefile * contrib/rddsql/sddodbc/Makefile * contrib/hbhpdf/Makefile * contrib/gtwvg/Makefile * contrib/hbpgsql/Makefile * contrib/rddads/Makefile * contrib/hbfimage/Makefile * contrib/hbgd/Makefile * contrib/hbwin/Makefile + Indentation. 2009-08-14 20:52 UTC+0200 Viktor Szakats * INSTALL % Deleted HB_BIN_COMPILE config lines. Replaced by requirement of preceding native build. * make_gnu.bat ! Typos. 2009-08-14 20:08 UTC+0200 Viktor Szakats * source/rtl/hbsocket.c ! Applied fix for Cygwin as per Przemek's instructions. (I've guarded #undef HB_OS_WIN with defined( __CYGWIN_ )) * INSTALL - Deleted some by now irrelevant restrictions and rules. + Added pointers to NT GNU Make, DJ GNU Make and OS/2 GNU Make. + Added HB_COMPILER/HB_ARCHITECTURE to option list. These should now be mostly optional. They are only needed in a few situations when autodetection cannot work (secondary pocc targets for example), or in cross build situations when we want to force some non-native configuration. % Deleted HB_INSTALL_PREFIX from examples. It's optional. % Deleted all settings which are now autodetected. I didn't retest them of course, please try them, and if something was removed by mistake pls report it. The reduction is quite dramatic. Starting the build is really only just starting GNU Make in most cases. % Converted *all* examples to not use starter script/batch files. As a next step I'll probably delete them to make even *less* choices for builders and because current starter files don't offer anything interesting anymore. Maybe also included GNU Make executable will also be deleted. % Simplified Cygwin example. * make_gnu.bat - Deleted Cygwin logic. ; I just realized that after all these GNU Make development, there is no need at all for make_gnu.sh for Cygwin and it's a no brainer to launch make either using NT shell or Cygwin/MSYS shell. It just works by starting GNU Make in whichever shell or environment you are. [ Well, with NT shell it doesn't seem to work because gcc.exe is named gcc-3.exe on my system, anyway, this doesn't change the point. ] The only remaining "complexity" is finding the name of GNU Make in a given environment and not use the wrong one (e.g. Cygwin make.exe in NT shell). * config/global.cf + Added svnversion output in verbose mode. 2009-08-14 18:11 UTC+0200 Viktor Szakats * make_gnu_os2.cmd % Minor opt. I hope OS/2 accepts such 'if' command. * include/hbthread.h ! Fix to poccarm build. Provided by Przemek. * utils/hbmk2/hbmk2.prg * config/wce/msvcarm.cf * config/wce/global.cf * config/wce/poccarm.cf + Added -DUNICODE for mingwarm. It didn't seem to require it so far, but I thought it's better to define this for all wce compilers. % Deleted -DHB_NO_WIN_CONSOLE. No longer exists in Harbour. % Deleted /stack:65536,4096 linker option from wce/msvcarm. I'm just guessing it's not needed. + -DUNICODE is now enforced through HB_BUILD_UNICODE=yes setting in GNU Make for all wce compilers. 2009-08-14 16:59 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbwin/olecore.c ! added missing parenthesis + added support to translate 1 dimensional arrays of variants to HVM arrays 2009-08-14 16:51 UTC+0200 Viktor Szakats * config/bsd/gcc.cf * config/hpux/gcc.cf * config/darwin/gcc.cf * config/dos/djgpp.cf * config/linux/gcc.cf * config/linux/icc.cf * config/linux/sunpro.cf * config/os2/gcc.cf * config/sunos/gcc.cf * config/sunos/sunpro.cf % Deleted meaningless comment. 2009-08-14 16:39 UTC+0200 Viktor Szakats * bin/hb-mkdyn.bat ! Applied recent change in WinCE .dll names. % Remmed some verbose output in .dll generation code. * bin/postinst.bat * bin/hb-mkimp.bat * Minor in wording. * utils/hbmk2/hbmk2.prg ! Fixed converting input filename dirseps for target compiler in resource compiler commands. (error ocurred when testing mingwarm) * config/win/bcc.cf ! Fixed bad typo in prev commit. * config/dos/watcom.cf * config/win/watcom.cf * config/linux/watcom.cf * config/os2/watcom.cf + Added -q to wlib command-line. 2009-08-14 15:35 UTC+0200 Viktor Szakats * bin/hb-mkdyn.bat ! Fixed gcc family (mingw) .dll generation. New tricks had to be employed to workaround 8 KiB command-line limits. * contrib/hbwin/win_misc.c * Implemented recent WinCE fix by Przemek for another CreateProcess() call. * utils/hbmk2/hbmk2.prg * Cleaned system lib list for wce platform. wininet, commdlg, commctrl libs moved from base to extra system lib list. These libs aren't needed by Harbour code code. [ No change in functionality, just synced with rest of Harbour. ] I didn't test yet, but seeing the content of this lib, it's not needed for Harbour core code. * config/wce/global.cf * bin/hb-mkdyn.bat % Deleted wininet wce system lib from liblist. * config/wce/poccarm.cf % Deleted winsock wce system lib from poccarm liblist. ws2 should be enough. (I didn't retest the platform yet) * config/wce/msvcarm.cf * config/wce/global.cf * config/wce/mingwarm.cf * config/wce/poccarm.cf * config/win/watcom.cf * config/win/icc.cf * config/win/cygwin.cf * config/win/global.cf * config/win/msvc.cf * config/win/xcc.cf * config/win/mingw.cf * config/win/pocc.cf * config/win/bcc.cf % Moved system lib list definition to <arch>/global.cf files for wce/win platforms. This will ensure that compilers for the same platform will always use the same system libs too. Added reasoning in comment for each extra win system lib. % Deleted the same meaningless comment line from all files. * config/global.cf + Showing $(SHELL) variable content. + Added experimental support for explicitly changing $(SHELL) variable for nt and dos shells. This should solve the problem when mingw32-make is picking up sh.exe as shell if cygwin or msys is in the PATH (or the user may also have sh.exe laying around). * INSTALL % Deleted SHLVL hack from wce/mingwarm build config example. Not needed anymore. % Deleted "sh.exe mustn't be in the path" sentences. Not needed anymore, now it can be in the PATH. * make_gnu.bat + Readded calling sh for cygwin. (sorry I needed this personally to keep the same interface for all cases on Windows, but I'll think about this further, also to better cover mingw+msys case. So this is rather temporary.) 2009-08-14 15:52 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbwin/olecore.c + added support for decoding VT_DECIMAL variants + added disabled by default support for passing pointer items just like in old OLE code + added decoding of VT_VARIANT passed by reference + encode NIL or other not directly supported types passed by reference as VT_VARIANT passed by reference * added disabled by '#if 0' code which uses VT_VARIANT | VT_BYREF to pass parameters by reference for testing 2009-08-14 15:12 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/hbproces.c * respect _SET_OSCODEPAGE in hb_fsProcessOpen() and hb_fsProcessRun() functions * harbour/source/rtl/run.c ! fixed typo in previous commit 2009-08-14 15:03 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/run.c * harbour/source/rtl/hbrunfun.c ! do not use system() command in __run() and hb_run() functions in WinCE builds 2009-08-14 14:00 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/hbproces.c ! hacked hb_processRun() to work in WinCE. Please test. 2009-08-14 11:24 UTC+0200 Viktor Szakats * bin/postinst.bat * Minor internal cleanup. * bin/hb-mkdyn.bat * config/lib.cf ! Fix for gcc family. ! Fixed to use /Y switch with move commands. % Use automatically created .lib files instead of generating them explicitly with pocc. + Move .exp file to lib dir with pocc. ! Three fixes for watcom .dll generation. * config/global.cf + Plans added to cleanup lots of config vars with various names. + Added central OpenSSL detection by the name HB_HAS_OPENSSL. This makes it possible to use OpenSSL in core or in any contrib without much hassle. * contrib/hbtip/Makefile * contrib/hbssl/Makefile + Relying on central OpenSSL detection logic. ; FIXME: For hbmk2 hbssl.hbc should be added explicitly to the command-line yet. [DONE] * config/instsh.cf * Suppressing install copy command for cleaner output. * ChangeLog + Marked items [DONE] 2009-08-14 09:42 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fix to prev fix. [I need a coffee I guess.] 2009-08-14 09:39 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Typo in Bazaar repository version detection. 2009-08-14 09:34 UTC+0200 Viktor Szakats * source/rtl/gtsln/gtsln.c ! Fixed linux/gcc warning. Now write() retval is checked. * config/global.cf ! Fixed wrong autodetection due to recent change. (HB_COMPILER needs to be checked against empty value) 2009-08-14 08:41 UTC+0200 Viktor Szakats * INSTALL * make_gnu.bat - Deleted HB_BUILD_LOG option. This will have to be made on the user side. It was a fresh feature and a Windows/DOS-only one so I hope this isn't a big loss. - bin/hb-mkpkg.bat * bin/postinst.bat % Integrated package creation code into postinst.bat. * make_gnu.bat - Deleted special handling of cygwin. make_gnu.sh should be started directly, IMO not a big problem. * config/global.cf ! Fixed pathseps in default HB_INSTALL_PREFIX. ! Fixed to use abs path when setting HB_INSTALL_PREFIX default. (it's required by .nsi file to find the source files) ! Fixed setting HB_ARCHITECTURE for some win/dos-only HB_COMPILER values. + --no-print-directory make flag isn't added if HB_USER_MAKEFLAGS contains -w or --print-directory. Seems that simply adding these flags after the former won't just reenable it. - config/test.cf - Deleted, no longer used. 2009-08-13 21:55 UTC+0200 Viktor Szakats * bin/postinst.cmd * bin/postinst.bat * bin/hb-func.sh + Added 'hbmk2' text to .cfg comment. 2009-08-13 21:53 UTC+0200 Viktor Szakats * bin/hb-mkpkg.bat + package/mpkg_win.nsi - mpkg_win.nsi * .nsi file moved to package dir. 2009-08-13 21:44 UTC+0200 Viktor Szakats * config/global.cf * Minor cosmetic. + Exporting OBJ_DIR as HB_OBJ_DIR. ! Fixed detecting 'clean install' on HB_BUILD_PKG=yes. * bin/hb-mkdyn.bat % Using HB_OBJ_DIR instead of replicating logic. * INSTALL * bin/postinst.sh * make_gnu.sh * utils/hbmk2/hbmk2.prg - config/linux/sunpro64.cf - config/sunos/sunpro64.cf + Patch by Tamas Tevesz. Deleted sunpro64 as a distinct compiler target. * utils/hbmk2/hbmk2.prg ! Fixed to not delete source file when using unimplemented arch/compiler combinations. (sunpro currently) Reported by Tamas Tevesz. * config/bsd/global.cf * config/wce/global.cf * config/hpux/global.cf * config/darwin/global.cf * config/dos/global.cf * config/win/global.cf * config/linux/global.cf * config/os2/global.cf * config/sunos/global.cf - Deleted DYN_EXT, DYN_PRE. Wasn't needed, can be added once it will be. 2009-08-13 19:26 UTC+0200 Viktor Szakats * INSTALL + Added HB_INSTALL_PREFIX description (this is now optional). + Added HB_BUILD_PKG description. + Added HB_BUILD_IMPLIB description. * log-%HB_COMPILER%.txt log names changed to log.txt. * Cygwin example changed to directly launch make_gnu.sh. ; NOTE: INSTALL still needs some updates. I'll do that while testing new ways of doing things. * config/global.cf + Some new information is shown in the log. (detection results) % exporting HB_HOST_CPU to avoid detecting it in each recursion. + Showing whether HB_ARCHITECTURE/HB_COMPILER values were autodetected. + Showing GNU Make version and targets ("clean"/"install"/"all"). + Showing HB_BUILD_PKG, HB_BUILD_DLL settings. + Added logic to do some presets if HB_BUILD_PKG=yes and check if clean+install was specified. * bin/postinst.cmd * bin/postinst.bat * bin/hb-mkpkg.bat * bin/hb-mkimp.bat * bin/hb-mkdyn.bat + Prefixed all messages coming from our make process with '! ' + Some new messages added to offer better entertainment for builders. - mpkg_gnu.bat * config/global.cf + bin/hb-mkpkg.bat * bin/postinst.bat * mpkg_win.nsi + Updated to work as a child function of postinst.bat instead of being a starter batch file. Now a package build can be initiated the same way as a normal one except that HB_BUILD_PKG=yes setting should be used additionally and 'clean install' is obligatory. In package building scenarios HB_INSTALL_PREFIX will be automatically set by the process, using the pkg/<arch>/<comp> tree to install the build into. * Moved most of the old logic to GNU Make level, so the batch file is very simple now. ; FIXME: Whole removal of above dir should be solved to avoid leftover old files to be included in the release packages. Ideas are welcome. [DONE] ; TODO: Integrate into postinst.bat. [DONE] ; TODO: Move .nsi file to a better place. [DONE] * bin/postinst.bat * config/rules.cf ! Fixed to respect HB_BUILD_DLL setting. * bin/hb-mkdyn.bat ! Fixed to create temp files in install area so that multiple parallel build runs don't badly interact with each other. ! Some fixes regarding spaces in dirs, although tool support is generally to hectic/buggy to implement that reliably. Spaces are still not recommended in dir. ! Fix for msvc. ! Untested fixes for watcom. ! Fixed leaving two temp file on disk for debuggin purposes. * utils/hbmk2/hbmk2.pt_BR.po * utils/hbmk2/hbmk2.hu_HU.po * utils/hbmk2/hbmk2.prg + Added -vcshead support for Bazaar repositories. * config/global.cf * config/wce/global.cf * config/dos/watcom.cf * config/win/watcom.cf * config/win/global.cf * config/os2/watcom.cf - Deleted no more used HB_CDYNLIB and HB_DYNLIB logic. 2009-08-13 15:11 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/config/global.cf * set HB_HOST_ARCH to HB_ARCHITECTURE if it cannot be autodetected It fixes builds with older GNU makes if autodetection fails * harbour/config/os2/watcom.cf * use the same calling convention in optimized and not optimized builds 2009-08-13 12:27 UTC+0200 Viktor Szakats * INSTALL * OS/2 prerequisites added. (currently not relevant, but anyway) * bin/postinst.bat * bin/hb-mkdyn.bat * make_gnu.bat + Reworked the way .dll generation is done in Harbour build process. New method solves the problem in one pass, instead of invoking make twice and requiring starter script to control this. The new trick is that CC_RULE will generate both dynamic and static objects for libs included in the .dll for compilers where such trick is necessary (currently all win/wce compilers except gcc based ones). * Changed HB_BUILD_LOG forming. Since at this point ARCH/COMP values aren't known (and just for this purpose it's not worth to maintain parallel detection logic in start script), the automatically generated log file will contain the date/time. Maybe even this will be dropped in the future. Since this is the only remaining logic in starter script (plus finding correct GNU Make, but that's even smaller role) ; I didn't test watcom yet, plus mpkg_gnu.bat isn't working yet, it needs to be moved to postinst phase. ; After these changes, there is basically no need for make starter scripts. Maybe I'll even remove included make tools to make things cleaner/leaner. ; TODO: Revise starter .sh scripts. [DONE] ; TODO: mpkg_gnu.bat rework to run from postinst. [DONE] ; TODO: Do some cleanup, remove redundancy in settings, etcetc. [DONE] ; FIXME: Fix watcom .dll generation. [DONE - the rules are only overridden for linux host builds, where .dll generation isn't supported anyway, so I didn't touch it.] * config/global.cf ! Deleted double MAKE info line. + Showing detected shell in verbose mode. + Added mkdir/rm detection for OS/2 shells. (commented) % Optimized HB_BIN_COMPILE detection by using $(realpath) function. Now it's only detected once per make run. + Added HB_*_INSTALL value defaulting similar to make_gnu.sh for *nix platforms. (adding /harbour postfix to lib/inc dirs when HB_INSTALL_PREFIX is system location (/usr or /opt). Please review. * config/lib.cf + Added HB_DYN_COMPILE to control compiling for dynamic libs in a sperate command. + Added HB_DYN_LIBS to hold list of libs which should be built with separate command for dynamic libs. * config/rules.cf + Added logic for duplicate CC_RULE. TODO: Notice that it's not yet working when CC_RULE is overridden on compiler level. Help would be appreciate here. * config/wce/msvcarm.cf * config/wce/poccarm.cf * config/win/watcom.cf * config/win/icc.cf * config/win/msvc.cf * config/win/xcc.cf * config/win/pocc.cf * config/win/bcc.cf + Enabled HB_DYN_COMPILE for these compilers. * contrib/gtqtc/gtqtc.hbc ! Fixed lib order for mingw, supc++ moved to the end of list. * external/sqlite3/Makefile * external/libhpdf/Makefile * external/libpng/Makefile * external/Makefile * source/rtl/gtxwc/Makefile * source/rtl/gtcrs/Makefile * source/rtl/gtsln/Makefile * contrib/Makefile * contrib/gtalleg/Makefile * contrib/hbmysql/Makefile * contrib/hbodbc/Makefile * contrib/hbsqlit3/Makefile * contrib/hbqt/Makefile * contrib/hbfbird/Makefile * contrib/hbcurl/Makefile * contrib/gtqtc/Makefile * contrib/rddsql/sddmy/Makefile * contrib/rddsql/sddpg/Makefile * contrib/rddsql/sddfb/Makefile * contrib/rddsql/sddodbc/Makefile * contrib/hbhpdf/Makefile * contrib/hbpgsql/Makefile * contrib/rddads/Makefile * contrib/hbfimage/Makefile * contrib/hbgd/Makefile * contrib/hbssl/Makefile + Indentation. % Using ':=' in '*_OK := $(foreach...' expressions, instead of former unsafe '+='. * config/win/mingw.cf * config/wce/mingwarm.cf * config/win/cygwin.cf + Using 'crs' instead of 'r' as AR command. * config/install.cf + Don't define rule if INSTALL_RULE is empty. Cannot currently happen. * config/header.cf % Minor optimization. 2009-08-13 09:30 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbthread.h * pacified MinGW warnings caused by recent modification 2009-08-12 23:19 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/hbqt_slots.cpp ! Commented out <windows.h> 2009-08-12 22:48 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/hbqt.hbc ! Changed the instructions order ( per Viktor's advise ) * contrib/hbqt/hbqt_slots.cpp * contrib/hbqt/hbqt_slots.h * contrib/hbqt/moc_slots.cpp + Added more signal/slots. 2009-08-12 23:47 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbthread.h * added workaround for different CRITICAL_SECTION definitions in some compiler header files * harbour/source/vm/fm.c * harbour/source/hbzlib/ChangeLog * harbour/source/hbzlib/zutil.c * use #pragma warning to pacify OpenWatcom warnings 2009-08-12 18:26 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbwin/olecore.c ! fixed memory leak in PutParams() ! fixed parameters order in PutParams() ! fixed possible GPF due calling VariantClear() without VariantInit() for C stack VARIANT item. ! fixed reverted #if condition - VT_[U]I8 was not supported + implemented passing parameters by reference Not tested at all - I do not have Windows and I'm not familiar with OLE code/servers. I hope that Windows users can test it and it Windows developers can update this code if necessary. 2009-08-12 14:59 UTC+0200 Viktor Szakats * config/wce/mingwarm.cf * config/win/mingw.cf - Deleted ranlib usage. I've tested with mingw 3.4.2, 4.4.0 and mingwarm 4.4.1, and the runlib command made no difference. If someone knows the reason why was it there, pls shout. * config/bsd/global.cf * config/darwin/global.cf * config/linux/global.cf - Deleted RANLIB variables. They are not used anywere through the make process. (only mingw/mingwarm uses it) 2009-08-12 14:47 UTC+0200 Viktor Szakats * config/rules.cf ! Changed CC_RULE and CPP_RULE to have CC_OUT option _before_ CC_IN. Quick check didn't reveal any problems with this accross our supported compiler, but I may be wrong, so pls check me, I didn't test this change thoroughly. This change fixes CC_OUT for bcc, where it was ignored before. If this is breaks other compilers, bcc specific CC_RULE should be added to win/bcc.cf. * utils/hbmk2/hbmk2.prg * source/rtl/gtcrs/gtcrs.c * source/rtl/gtcrs/gtcrs.h * source/rtl/gtcrs/Makefile * source/rtl/gttrm/Makefile * source/rtl/gttrm/gttrm.c * source/rtl/gtsln/mousesln.c * source/rtl/gtsln/gtsln.c * source/rtl/gtsln/Makefile * HAVE_GPM_H -> HB_HAS_GPM * config/global.cf + Added some compile-time macros in comment. * Minor correction to MKFLAGS comment. * source/rtl/console.c * source/rtl/hbgtcore.c * Changed wording 'screen driver' to 'Harbour terminal (GT)'. Former term isn't used by us. * config/bsd/gcc.cf * config/darwin/gcc.cf * config/hpux/gcc.cf * config/dos/djgpp.cf * config/linux/gcc.cf * config/linux/icc.cf * config/linux/sunpro.cf * config/os2/gcc.cf * config/sunos/gcc.cf * config/sunos/sunpro.cf + Readded accidentally deleted feature to include *nix system libs needed for rtl, only if rtl is actually linked. (IOW in practice don't link them for harbour/hbpp executables) ! Fixed a few old problems where some extra libs were always linked. Now m is the only one linked in all scenarios. + Added linking pdcurses along with gtcrs for djgpp. * Standardized LDFLAGS in linux/icc (left from previous modification). ! Indentations corrected. 2009-08-12 14:36 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/hb-func.sh * updated list of system libraries used in to create harbour*.dll in MinGW builds * harbour/bin/postinst.sh - removed not longer used code for build library in postinst phase * use 'suncc' instead of 'cc' to create harbour shared library without any platform dependent non default settings * synced flags used in build process with flags used to create harbour shared library in sunpro builds * harbour/config/linux/sunpro.cf * harbour/config/sunos/sunpro.cf * removed options which explicitly force platform * added -xbuiltin=%none as workaround for problems in x86 PIC builds exploited by hbpcre library code * changed the order of C/LD flags settings so they can be easy overwritten by HB_ISAOPT 2009-08-12 13:29 UTC+0200 Viktor Szakats * config/global.cf * config/instsh.cf % Deleted last CMDPREF from nt install rule. % Commented CMDPREF assigment. No longer needed. 2009-08-12 13:11 UTC+0200 Viktor Szakats * config/global.cf * Changed so that HB_INSTALL_PREFIX gets set to the source tree instead of a foreign location. This is what our make_gnu.bat did so far. The $(realpath) trick might be helpful to speedup some self-detection code, e.g. HB_BIN_COMPILE. * mpkg_gnu.bat % Minor change to make .zip creation cmd more self-containable. * contrib/hbqt/generator/hbqtgen.prg % Minor opt in FWRITE() call. + Changed to not generate extra empty lines at EOL. + Added placeholder comment at the end of Makefile_gen to ensure an empty lines always kept after last '\' char even if the file is edited with an editor stripping excessive EOLs. Lorenzo, pls test with the config this caused problem. * contrib/hbqt/QWebSecurityOrigin.cpp * contrib/hbqt/QDragEnterEvent.cpp * contrib/hbqt/QPageSetupDialog.cpp * contrib/hbqt/TQToolBox.prg * contrib/hbqt/QTextBoundaryFinder.cpp * contrib/hbqt/QTextCodec.cpp * contrib/hbqt/QWindowsXPStyle.cpp * contrib/hbqt/QGridLayout.cpp * contrib/hbqt/TQTreeView.prg * contrib/hbqt/TQTextCharFormat.prg * contrib/hbqt/TQTextLine.prg * contrib/hbqt/QConicalGradient.cpp * contrib/hbqt/QTextLength.cpp * contrib/hbqt/TQRect.prg * contrib/hbqt/TQInputEvent.prg * contrib/hbqt/TQWidgetItem.prg * contrib/hbqt/QGradient.cpp * contrib/hbqt/TQTextItem.prg * contrib/hbqt/TQTimeEdit.prg * contrib/hbqt/TQDropEvent.prg * contrib/hbqt/QStandardItemModel.cpp * contrib/hbqt/TQTextObject.prg * contrib/hbqt/TQSizeF.prg * contrib/hbqt/QPicture.cpp * contrib/hbqt/QAction.cpp * contrib/hbqt/QPaintEvent.cpp * contrib/hbqt/TQStyleHintReturn.prg * contrib/hbqt/QStyledItemDelegate.cpp * contrib/hbqt/QAbstractListModel.cpp * contrib/hbqt/QWidget.cpp * contrib/hbqt/TQProgressBar.prg * contrib/hbqt/TQFontDatabase.prg * contrib/hbqt/QFontDialog.cpp * contrib/hbqt/QToolBox.cpp * contrib/hbqt/QResource.cpp * contrib/hbqt/TQLineEdit.prg * contrib/hbqt/TQHBoxLayout.prg * contrib/hbqt/TQWebHistory.prg * contrib/hbqt/QMouseEvent.cpp * contrib/hbqt/QTextEdit.cpp * contrib/hbqt/TQToolBar.prg * contrib/hbqt/TQAbstractItemModel.prg * contrib/hbqt/TQTreeWidget.prg * contrib/hbqt/QPointF.cpp * contrib/hbqt/QFontComboBox.cpp * contrib/hbqt/QStyle.cpp * contrib/hbqt/TQSplitter.prg * contrib/hbqt/TQComboBox.prg * contrib/hbqt/QStyleOptionHeader.cpp * contrib/hbqt/QListView.cpp * contrib/hbqt/QWheelEvent.cpp * contrib/hbqt/QRadialGradient.cpp * contrib/hbqt/QLayout.cpp * contrib/hbqt/QCursor.cpp * contrib/hbqt/TQProgressDialog.prg * contrib/hbqt/QLabel.cpp * contrib/hbqt/TQBoxLayout.prg * contrib/hbqt/QFocusEvent.cpp * contrib/hbqt/QStyleHintReturn.cpp * contrib/hbqt/QStyleOptionToolButton.cpp * contrib/hbqt/QStylePainter.cpp * contrib/hbqt/QBrush.cpp * contrib/hbqt/QWebPluginFactory.cpp * contrib/hbqt/TQRadioButton.prg * contrib/hbqt/TQSystemTrayIcon.prg * contrib/hbqt/TQListWidgetItem.prg * contrib/hbqt/QLinearGradient.cpp * contrib/hbqt/QProgressBar.cpp * contrib/hbqt/TQTextFrame.prg * contrib/hbqt/TQTextBlock.prg * contrib/hbqt/QDragLeaveEvent.cpp * contrib/hbqt/TQStyleOptionViewItem.prg * contrib/hbqt/QClipboard.cpp * contrib/hbqt/QStyleOptionTabBarBase.cpp * contrib/hbqt/QStyleOptionToolBox.cpp * contrib/hbqt/QStringList.cpp * contrib/hbqt/QToolBar.cpp * contrib/hbqt/TQTextBlockFormat.prg * contrib/hbqt/TQStatusBar.prg * contrib/hbqt/TQTextFrameFormat.prg * contrib/hbqt/QFontMetricsF.cpp * contrib/hbqt/TQTextDecoder.prg * contrib/hbqt/TQTabWidget.prg * contrib/hbqt/TQLCDNumber.prg * contrib/hbqt/TQMainWindow.prg * contrib/hbqt/QToolButton.cpp * contrib/hbqt/TQStyleOptionTitleBar.prg * contrib/hbqt/QWindowsStyle.cpp * contrib/hbqt/TQDockWidget.prg * contrib/hbqt/QColor.cpp * contrib/hbqt/QListWidget.cpp * contrib/hbqt/QTextLayout.cpp * contrib/hbqt/TQSound.prg * contrib/hbqt/QSignalMapper.cpp * contrib/hbqt/QTextCursor.cpp * contrib/hbqt/TQPoint.prg * contrib/hbqt/QTextDocument.cpp * contrib/hbqt/TQGradient.prg * contrib/hbqt/TQWebSettings.prg * contrib/hbqt/QRadioButton.cpp * contrib/hbqt/TQWizard.prg * contrib/hbqt/TQAbstractPrintDialog.prg * contrib/hbqt/TQApplication.prg * contrib/hbqt/QAbstractButton.cpp * contrib/hbqt/QStyleOptionViewItem.cpp * contrib/hbqt/TQCoreApplication.prg * contrib/hbqt/QTextFrameFormat.cpp * contrib/hbqt/QTextBlockFormat.cpp * contrib/hbqt/TQInputDialog.prg * contrib/hbqt/QTextDecoder.cpp * contrib/hbqt/QSize.cpp * contrib/hbqt/TQEvent.prg * contrib/hbqt/TQKeySequence.prg * contrib/hbqt/QBitmap.cpp * contrib/hbqt/QStyleOptionToolBar.cpp * contrib/hbqt/QCalendarWidget.cpp * contrib/hbqt/TQPrinter.prg * contrib/hbqt/QStyleOptionTitleBar.cpp * contrib/hbqt/TQResource.prg * contrib/hbqt/QScrollBar.cpp * contrib/hbqt/QHeaderView.cpp * contrib/hbqt/TQTextEdit.prg * contrib/hbqt/QStyleOptionButton.cpp * contrib/hbqt/QCommandLinkButton.cpp * contrib/hbqt/TQFontComboBox.prg * contrib/hbqt/QFocusFrame.cpp * contrib/hbqt/QSizePolicy.cpp * contrib/hbqt/QWebSettings.cpp * contrib/hbqt/QAbstractPrintDialog.cpp * contrib/hbqt/TQStyleOptionSizeGrip.prg * contrib/hbqt/TQListView.prg * contrib/hbqt/QApplication.cpp * contrib/hbqt/QAbstractSlider.cpp * contrib/hbqt/TQTextBlockGroup.prg * contrib/hbqt/QObject.cpp * contrib/hbqt/QTextFragment.cpp * contrib/hbqt/TQStyleOptionGroupBox.prg * contrib/hbqt/QAbstractScrollArea.cpp * contrib/hbqt/QCoreApplication.cpp * contrib/hbqt/TQPrintEngine.prg * contrib/hbqt/TQStylePainter.prg * contrib/hbqt/TQWebPluginFactory.prg * contrib/hbqt/QInputDialog.cpp * contrib/hbqt/QTimer.cpp * contrib/hbqt/QKeySequence.cpp * contrib/hbqt/TQFtp.prg * contrib/hbqt/QPrinter.cpp * contrib/hbqt/TQMessageBox.prg * contrib/hbqt/QKeyEvent.cpp * contrib/hbqt/QTextCharFormat.cpp * contrib/hbqt/TQUrl.prg * contrib/hbqt/QStyleOptionSlider.cpp * contrib/hbqt/TQFontMetricsF.prg * contrib/hbqt/TQDragMoveEvent.prg * contrib/hbqt/QInputEvent.cpp * contrib/hbqt/TQWebView.prg * contrib/hbqt/QWidgetItem.cpp * contrib/hbqt/TQCommonStyle.prg * contrib/hbqt/QMenu.cpp * contrib/hbqt/TQPushButton.prg * contrib/hbqt/TQWindowsStyle.prg * contrib/hbqt/TQEventLoop.prg * contrib/hbqt/QStyleOptionSizeGrip.cpp * contrib/hbqt/TQDoubleSpinBox.prg * contrib/hbqt/TQWebHistoryItem.prg * contrib/hbqt/QTextObject.cpp * contrib/hbqt/TQSignalMapper.prg * contrib/hbqt/TQTableView.prg * contrib/hbqt/TQTreeWidgetItem.prg * contrib/hbqt/TQTextDocument.prg * contrib/hbqt/QStyleOptionGroupBox.cpp * contrib/hbqt/TQButtonGroup.prg * contrib/hbqt/QFontInfo.cpp * contrib/hbqt/QImage.cpp * contrib/hbqt/QPrintEngine.cpp * contrib/hbqt/TQFrame.prg * contrib/hbqt/QLine.cpp * contrib/hbqt/TQTextFormat.prg * contrib/hbqt/QIcon.cpp * contrib/hbqt/TQColorDialog.prg * contrib/hbqt/TQStyleOptionProgressBar.prg * contrib/hbqt/QHBoxLayout.cpp * contrib/hbqt/QWebHistory.cpp * contrib/hbqt/QUrl.cpp * contrib/hbqt/TQStyleHintReturnVariant.prg * contrib/hbqt/QRectF.cpp * contrib/hbqt/QTreeWidget.cpp * contrib/hbqt/TQSize.prg * contrib/hbqt/TQWebSecurityOrigin.prg * contrib/hbqt/TQProcess.prg * contrib/hbqt/QWebView.cpp * contrib/hbqt/QCommonStyle.cpp * contrib/hbqt/TQStyleOptionTab.prg * contrib/hbqt/TQTextDocumentWriter.prg * contrib/hbqt/TQTextCodec.prg * contrib/hbqt/TQStringListModel.prg * contrib/hbqt/QAbstractItemView.cpp * contrib/hbqt/QWebHitTestResult.cpp * contrib/hbqt/TQTextBrowser.prg * contrib/hbqt/QProgressDialog.cpp * contrib/hbqt/TQTableWidget.prg * contrib/hbqt/TQTabBar.prg * contrib/hbqt/QStyleFactory.cpp * contrib/hbqt/QButtonGroup.cpp * contrib/hbqt/TQFileDialog.prg * contrib/hbqt/TQDialog.prg * contrib/hbqt/TQTextStream.prg * contrib/hbqt/TQStandardItemModel.prg * contrib/hbqt/TQFormLayout.prg * contrib/hbqt/QSystemTrayIcon.cpp * contrib/hbqt/QStyleOptionDockWidget.cpp * contrib/hbqt/QListWidgetItem.cpp * contrib/hbqt/QColorDialog.cpp * contrib/hbqt/QStyleOptionTabWidgetFrame.cpp * contrib/hbqt/TQFileSystemModel.prg * contrib/hbqt/TQAbstractSpinBox.prg * contrib/hbqt/TQTextFragment.prg * contrib/hbqt/QDateTimeEdit.cpp * contrib/hbqt/TQVBoxLayout.prg * contrib/hbqt/QStyleOptionFocusRect.cpp * contrib/hbqt/QMoveEvent.cpp * contrib/hbqt/TQImageWriter.prg * contrib/hbqt/TQAbstractListModel.prg * contrib/hbqt/QMainWindow.cpp * contrib/hbqt/QDesktopWidget.cpp * contrib/hbqt/QProcess.cpp * contrib/hbqt/QWidgetAction.cpp * contrib/hbqt/TQModelIndex.prg * contrib/hbqt/TQMenuBar.prg * contrib/hbqt/QStringListModel.cpp * contrib/hbqt/TQKeyEvent.prg * contrib/hbqt/QDockWidget.cpp * contrib/hbqt/TQPaintDevice.prg * contrib/hbqt/TQStyleOptionMenuItem.prg * contrib/hbqt/TQFontMetrics.prg * contrib/hbqt/QTextBrowser.cpp * contrib/hbqt/TQStyle.prg * contrib/hbqt/QTableWidget.cpp * contrib/hbqt/TQStyleOptionHeader.prg * contrib/hbqt/QErrorMessage.cpp * contrib/hbqt/TQMenu.prg * contrib/hbqt/QWizard.cpp * contrib/hbqt/QFileSystemModel.cpp * contrib/hbqt/TQPrintDialog.prg * contrib/hbqt/QAbstractSpinBox.cpp * contrib/hbqt/TQPrintPreviewDialog.prg * contrib/hbqt/TQLabel.prg * contrib/hbqt/QDial.cpp * contrib/hbqt/TQWebHistoryInterface.prg * contrib/hbqt/TQStyleOptionComboBox.prg * contrib/hbqt/TQFontInfo.prg * contrib/hbqt/TQSlider.prg * contrib/hbqt/TQBrush.prg * contrib/hbqt/TQStyleOptionToolButton.prg * contrib/hbqt/QImageWriter.cpp * contrib/hbqt/TQScrollArea.prg * contrib/hbqt/TQLine.prg * contrib/hbqt/TQIcon.prg * contrib/hbqt/TQLayoutItem.prg * contrib/hbqt/TQAbstractTableModel.prg * contrib/hbqt/QIODevice.cpp * contrib/hbqt/TQPixmap.prg * contrib/hbqt/QMenuBar.cpp * contrib/hbqt/TQClipboard.prg * contrib/hbqt/TQTextImageFormat.prg * contrib/hbqt/TQStyleOptionTabBarBase.prg * contrib/hbqt/QPaintDevice.cpp * contrib/hbqt/QStyleOptionMenuItem.cpp * contrib/hbqt/QFontMetrics.cpp * contrib/hbqt/TQImageReader.prg * contrib/hbqt/Makefile_gen * contrib/hbqt/QDropEvent.cpp * contrib/hbqt/TQAbstractItemView.prg * contrib/hbqt/TQColor.prg * contrib/hbqt/TQDir.prg * contrib/hbqt/TQHttp.prg * contrib/hbqt/TQStyleOptionComplex.prg * contrib/hbqt/TQWebHitTestResult.prg * contrib/hbqt/QPrintDialog.cpp * contrib/hbqt/QTextBlockGroup.cpp * contrib/hbqt/TQRegion.prg * contrib/hbqt/QStandardItem.cpp * contrib/hbqt/QLatin1String.cpp * contrib/hbqt/QSizeF.cpp * contrib/hbqt/TQLatin1Char.prg * contrib/hbqt/QWebHistoryInterface.cpp * contrib/hbqt/QStyleOptionComboBox.cpp * contrib/hbqt/TQStyleFactory.prg * contrib/hbqt/TQStyleOptionSpinBox.prg * contrib/hbqt/TQPalette.prg * contrib/hbqt/QSplashScreen.cpp * contrib/hbqt/TQDateTimeEdit.prg * contrib/hbqt/TQPainter.prg * contrib/hbqt/QSizeGrip.cpp * contrib/hbqt/QMessageBox.cpp * contrib/hbqt/TQResizeEvent.prg * contrib/hbqt/QTextImageFormat.cpp * contrib/hbqt/TQStyleOptionFocusRect.prg * contrib/hbqt/QAbstractItemModel.cpp * contrib/hbqt/QGroupBox.cpp * contrib/hbqt/QImageReader.cpp * contrib/hbqt/TQDragEnterEvent.prg * contrib/hbqt/QTextDocumentFragment.cpp * contrib/hbqt/TQTextBoundaryFinder.prg * contrib/hbqt/QPushButton.cpp * contrib/hbqt/TQWidgetAction.prg * contrib/hbqt/TQScrollBar.prg * contrib/hbqt/TQGridLayout.prg * contrib/hbqt/TQWindowsXPStyle.prg * contrib/hbqt/QWebHistoryItem.cpp * contrib/hbqt/QDir.cpp * contrib/hbqt/TQStyleOptionButton.prg * contrib/hbqt/TQTextLength.prg * contrib/hbqt/QTreeWidgetItem.cpp * contrib/hbqt/TQCommandLinkButton.prg * contrib/hbqt/QBoxLayout.cpp * contrib/hbqt/TQErrorMessage.prg * contrib/hbqt/QDateTime.cpp * contrib/hbqt/QTextFormat.cpp * contrib/hbqt/QPalette.cpp * contrib/hbqt/QTextBlock.cpp * contrib/hbqt/QTextFrame.cpp * contrib/hbqt/QPainter.cpp * contrib/hbqt/QResizeEvent.cpp * contrib/hbqt/TQDial.prg * contrib/hbqt/QStyleOptionProgressBar.cpp * contrib/hbqt/TQTableWidgetItem.prg * contrib/hbqt/TQAction.prg * contrib/hbqt/TQPaintEvent.prg * contrib/hbqt/QStyleHintReturnVariant.cpp * contrib/hbqt/QStatusBar.cpp * contrib/hbqt/TQStyledItemDelegate.prg * contrib/hbqt/TQTimer.prg * contrib/hbqt/QTabWidget.cpp * contrib/hbqt/QTextInlineObject.cpp * contrib/hbqt/QLCDNumber.cpp * contrib/hbqt/QList.cpp * contrib/hbqt/TQWidget.prg * contrib/hbqt/QStyleOptionTab.cpp * contrib/hbqt/TQFontDialog.prg * contrib/hbqt/QTextDocumentWriter.cpp * contrib/hbqt/TQIODevice.prg * contrib/hbqt/TQStyleOption.prg * contrib/hbqt/QDateEdit.cpp * contrib/hbqt/TQMouseEvent.prg * contrib/hbqt/QCheckBox.cpp * contrib/hbqt/TQStyleOptionSlider.prg * contrib/hbqt/QSound.cpp * contrib/hbqt/QWebFrame.cpp * contrib/hbqt/QPoint.cpp * contrib/hbqt/TQPointF.prg * contrib/hbqt/QTabBar.cpp * contrib/hbqt/QDirModel.cpp * contrib/hbqt/QFileDialog.cpp * contrib/hbqt/QDialog.cpp * contrib/hbqt/QTextStream.cpp * contrib/hbqt/TQWheelEvent.prg * contrib/hbqt/QFormLayout.cpp * contrib/hbqt/QStyleOptionFrame.cpp * contrib/hbqt/TQWebPage.prg * contrib/hbqt/TQRadialGradient.prg * contrib/hbqt/QFont.cpp * contrib/hbqt/TQCursor.prg * contrib/hbqt/TQLayout.prg * contrib/hbqt/TQLatin1String.prg * contrib/hbqt/TQStandardItem.prg * contrib/hbqt/QTableWidgetItem.cpp * contrib/hbqt/TQFocusEvent.prg * contrib/hbqt/TQImage.prg * contrib/hbqt/TQSpinBox.prg * contrib/hbqt/QVBoxLayout.cpp * contrib/hbqt/QEvent.cpp * contrib/hbqt/TQLinearGradient.prg * contrib/hbqt/TQSplashScreen.prg * contrib/hbqt/TQDragLeaveEvent.prg * contrib/hbqt/TQSizeGrip.prg * contrib/hbqt/QModelIndex.cpp * contrib/hbqt/QStyleOption.cpp * contrib/hbqt/TQStyleHintReturnMask.prg * contrib/hbqt/TQStyleOptionToolBox.prg * contrib/hbqt/QTreeView.cpp * contrib/hbqt/TQStringList.prg * contrib/hbqt/QTextLine.cpp * contrib/hbqt/TQRectF.prg * contrib/hbqt/QRect.cpp * contrib/hbqt/TQGroupBox.prg * contrib/hbqt/TQTextDocumentFragment.prg * contrib/hbqt/TQToolButton.prg * contrib/hbqt/QTextItem.cpp * contrib/hbqt/QTimeEdit.cpp * contrib/hbqt/TQListWidget.prg * contrib/hbqt/QWebPage.cpp * contrib/hbqt/TQTextLayout.prg * contrib/hbqt/TQTextCursor.prg * contrib/hbqt/TQPen.prg * contrib/hbqt/QPrintPreviewDialog.cpp * contrib/hbqt/TQTextEncoder.prg * contrib/hbqt/QSlider.cpp * contrib/hbqt/QSpinBox.cpp * contrib/hbqt/TQDateTime.prg * contrib/hbqt/QScrollArea.cpp * contrib/hbqt/TQStyleOptionDockWidget.prg * contrib/hbqt/TQAbstractButton.prg * contrib/hbqt/TQStyleOptionTabWidgetFrame.prg * contrib/hbqt/QFontDatabase.cpp * contrib/hbqt/QAbstractTableModel.cpp * contrib/hbqt/QLayoutItem.cpp * contrib/hbqt/QLineEdit.cpp * contrib/hbqt/TQVariant.prg * contrib/hbqt/QPixmap.cpp * contrib/hbqt/QStyleHintReturnMask.cpp * contrib/hbqt/TQMoveEvent.prg * contrib/hbqt/TQTextInlineObject.prg * contrib/hbqt/TQList.prg * contrib/hbqt/QDragMoveEvent.cpp * contrib/hbqt/TQStyleOptionToolBar.prg * contrib/hbqt/TQBitmap.prg * contrib/hbqt/QSplitter.cpp * contrib/hbqt/TQCalendarWidget.prg * contrib/hbqt/TQDesktopWidget.prg * contrib/hbqt/TQPageSetupDialog.prg * contrib/hbqt/QComboBox.cpp * contrib/hbqt/QEventLoop.cpp * contrib/hbqt/QDoubleSpinBox.cpp * contrib/hbqt/TQDateEdit.prg * contrib/hbqt/TQHeaderView.prg * contrib/hbqt/TQCheckBox.prg * contrib/hbqt/TQConicalGradient.prg * contrib/hbqt/QStyleOptionComplex.cpp * contrib/hbqt/QTableView.cpp * contrib/hbqt/TQWebFrame.prg * contrib/hbqt/QPen.cpp * contrib/hbqt/QRegion.cpp * contrib/hbqt/QTextEncoder.cpp * contrib/hbqt/TQFocusFrame.prg * contrib/hbqt/TQSizePolicy.prg * contrib/hbqt/QLatin1Char.cpp * contrib/hbqt/TQDirModel.prg * contrib/hbqt/QFrame.cpp * contrib/hbqt/QStyleOptionSpinBox.cpp * contrib/hbqt/TQStyleOptionFrame.prg * contrib/hbqt/TQFont.prg * contrib/hbqt/TQAbstractSlider.prg * contrib/hbqt/TQObject.prg * contrib/hbqt/QVariant.cpp * contrib/hbqt/TQAbstractScrollArea.prg * contrib/hbqt/TQPicture.prg * Regenerated sources after generator change. 2009-08-12 12:37 UTC+0200 Viktor Szakats * source/rtl/gtcrs/Makefile * source/rtl/gttrm/Makefile * source/rtl/gtsln/Makefile * config/global.cf ! Hopefully fixed GPM detection with pure (no starter script) GNU Make invocations. It needs to be done centrally, as it's used in multiple modules, plus it has external lib dependency. ; TODO: Streamline macro usage regarding external dependencies. There is currently HAS*, HAVE*, HB_HAVE*, HB_WITHOUT* plus some other variations. We should probably stick to HB_BUILD_WITH_* for user level control, and HB_HAS_* for internal detection logic. [DONE] 2009-08-12 12:15 UTC+0200 Viktor Szakats * source/rtl/gtxwc/Makefile * source/rtl/gtcrs/Makefile * source/rtl/gttrm/Makefile * source/rtl/gtsln/Makefile * source/rtl/gtwvt/Makefile + Indentation. 2009-08-12 11:34 UTC+0200 Viktor Szakats * config/instsh.cf ! Fixed '-' prefix usage in non-*nix shells, so now make process won't fail because of install rule error. (this was a problem introduced in recent days) Maybe it will be needed to tweak that because an install failure might signal a real problem as soon as package creation gets implemented inside/under GNU Make. * config/global.cf + Added autofill of HB_INSTALL_PREFIX if not specified. (work in progress, might change in the future) + Added support for "macro" values in HB_INSTALL_PREFIX: {hb_arch}, {hb_comp}, {hb_cpu}. They will be replaced by corresponding value. This is a small steps towards moving to GNU Make bases autodetection an moving away from starter script (make_gnu.*) usage. * config/bsd/global.cf * config/wce/global.cf * config/darwin/global.cf * config/hpux/global.cf * config/dos/global.cf * config/win/global.cf * config/linux/global.cf * config/os2/global.cf * config/sunos/global.cf + Added DYN_EXT and DYN_PRE variables as a small step towards integrating dynlib creation in the GNU Make process. 2009-08-12 09:43 UTC+0200 Viktor Szakats * config/global.cf ! Fixed to not indent one define/endef block. I've actually even warned for this in comment, but ignored it by mistake yesterday, and broke compiler autodetection. * config/instsh.cf % Deleted $(CMDPREF) from OS/2 rules. Please test it and report if it broke. * config/os2/watcom.cf * config/os2/gcc.cf + Added '@' prefix for echo cmds. 2009-08-12 00:15 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/xhb/xcstr.prg % fixed fatal for performance code used to serialize hash arrays in ValToPrg() functions. I know that xHarbour does not have native support for hash array iteration in FOR EACH statements so it's necessary to make some hacks but even there serialization can be quite easy done by simple FOR/NEXT loop and function calls to access given keys and values. Please remember that sending :keys or :values messages to hash arrays is very expensive in both languages because each time new array is created with copy of all key or values items. In the old code :values message was send inside a loop so to serialize hash array with 1000 items it was created 1000 arrays with 1000 items inside each of them. It means 1000000 unnecessary item copy calls. Modern computers are very fast but such code can kill the performance on any hardware. It's also classic example when forcing FOR EACH usage in all places can give code thousands times slower then code using simple FOR/NEXT. % few minor optimizations 2009-08-12 00:07 UTC+0200 Viktor Szakats - tests/bldtest/bldtest.hbp + tests/bldtest/Makefile ! Restored GNU Make file. Maybe we should move this file to somewhere else, perhaps inside /config to better serve its purpose. * config/global.cf + Added another setting to raw setting list. 2009-08-11 15:35 UTC-0300 Antonio Carlos Pantaglione <toninho@fwi.com.br> * harbour/contrib/xhb/xcstr.prg ! fixed ValToPrgExp() to not use indexed strings 2009-08-11 17:46 UTC+0200 Viktor Szakats * config/global.cf * config/dir.cf - Deleted PM option. No longer needed. 2009-08-11 17:40 UTC+0200 Viktor Szakats + tests/hbpptest/hbpptest.hbp + tests/bldtest/bldtest.hbp + tests/multifnc/multifnc.hbp + Added hbmk2 make files (quite simple ones) for these tests. Better make them independent of the core make system. This way they also work outside the source distribution, e.g. when shipped inside a binary distro. - tests/hbpptest/Makefile - tests/bldtest/Makefile - tests/multifnc/Makefile - Deleted GNU Make files. - tests/Makefile - Deleted GNU Make file. hbmk2 is recommended to build these tests. The only missing feature compared to Makefile is auto-exclusion of "NOTEST" sources, anyway it's pretty apparent from first line of each source file, so it shouldn't be a problem. 2009-08-11 17:19 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/xhb/trpccli.prg ! fixed typo in function name. Harbour has hb_inetPeriodCallback() not hb_inetSetPeriodCallback() * harbour/contrib/xhb/xcstr.prg ! disabled calling ValToPrgExp() used to serialize codeblocks ! use __objGetValueList() instead of __objGetValueDiff() which does not exist in Harbour * harbour/contrib/xhb/trpc.prg ! fixed xHarbour only function names: JoinThread() -> hb_threadJoin() and StopThread() -> hb_threadQuitRequest() 2009-08-11 17:14 UTC+0200 Viktor Szakats * Makefile % Using := instead of = * tests/Makefile - Deleted support for 'pm' envvar. * config/global.cf + Added PM envvar to list of misc config vars. 2009-08-11 16:36 UTC+0200 Viktor Szakats * config/globsh.cf * config/win/bcc.cf + Added NOTEs about Windows NT family command-line length limits. It's 2047 for NT/2000 and 8191 for XP and upper. Seemingly also on Vista or Windows 7. Probably memory is still too expensive at MS ;) or, they want us to switch to PowerShell? 2009-08-11 16:12 UTC+0200 Viktor Szakats * config/bin.cf % Using := instead of = for 'BIN_NAME'. * config/dir.cf % Using := instead of = for 'comma'. * config/dos/watcom.cf % Using := instead of = for 'DOS4G'. * config/instsh.cf + Showing useful information instead of "! Done" in case of error situations. * config/dir.cf * config/global.cf * config/dos/watcom.cf * config/dos/djgpp.cf * config/win/watcom.cf * config/win/bcc.cf * config/instsh.cf * config/dirsh.cf * config/os2/watcom.cf * config/os2/gcc.cf + Indentation. * Syncing some common comments across files. 2009-08-11 15:45 UTC+0200 Viktor Szakats * ChangeLog + Added [WORKS] to prev entry. * config/global.cf - Deleted '! Configuration' line. * config/instsh.cf + nt install rules moved to a subroutine, so the multicommand hack could be deleted. + os2 install rules modified to use the same line length limit avoiding technique as dos. Please test. ; QUESTION: Could an OS/2 user tell me whether $(CMDPREF) is *really* needed? This is the only place it's used, so I wonder. If not, we should delete it. * dos/os2 install command results are now ignored ('-' prefix) just like for other shells. + dos install rule now contains check for existing dir. Not currently required, I've added it for cleanness and to be in sync with other shell rules where such check is std. % define/endef extra empty lines deleted from where they weren't necessary. * Indentation. 2009-08-11 15:25 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/config/os2/watcom.cf ! fixed FOR command in WINNT->OS2 cross builds. Please test if it works - I cannot without real Windows cmd.exe [TESTED - WORKS [vszakats]] 2009-08-11 15:04 UTC+0200 Viktor Szakats * config/none.cf * config/lib.cf * config/bin.cf * config/dir.cf * config/dirsh.cf + Added $(MKFLAGS) to all internal $(MK) calls. + Initializing $(MKFLAGS) to --no-print-directory, which suppresses "Entering directory"/"Leaving directory" GNU Make messages. They can be useful for debugging, but for normal operation IMO they just add up to unnecessary clutter. Please tell if you think otherwise. Despite docs say it's enabled when using -C (change dir) option, I've only seen it enabled on win/dos platforms, so for other platforms (at least *nixes) this won't change behavior. + Added '@' prefix for $(MK) calls, so recursive GNU Make invocations won't be shown anymore on screen. Again, please tell if this isn't good, I'll also evaluate things this way and see whether to keep it. For sure on *nixes the GNU Make output is extremely short and clean now for a simple incremental make session. Sometimes though it's useful information when someone posts a log snippet, and maybe for multijob build runs (?). * Indentation. * config/dirsh.cf * Little consistency fix: Using $(MK) instead of $(MAKE). They are the same at this point. * config/global.cf + Shows $(MAKE) value as part of the configuration. * config/test.cf * Small change in wording: 'ignored' -> 'skipped' 2009-08-11 14:16 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/fstemp.c * enabled mkstemps() in *BSD and Darwin builds * enabled large file support and use mkstemp64() and mkstemps64() when available - please test with different *nixes 2009-08-11 14:04 UTC+0200 Viktor Szakats * config/wce/poccarm.cf * config/win/xcc.cf * config/win/pocc.cf * Minor cosmeric change in some LDFLAGS/LD_OUT flags. * config/win/msvc.cf * Moved system libs to LDLIBS. (missed in prev round) 2009-08-11 13:50 UTC+0200 Viktor Szakats * config/darwin/gcc.cf % Using custom LD_OUT instead of overriding while LD_RULE. * config/bsd/gcc.cf * config/wce/msvcarm.cf * config/wce/mingwarm.cf * config/wce/poccarm.cf * config/darwin/gcc.cf * config/hpux/gcc.cf * config/dos/watcom.cf * config/dos/djgpp.cf * config/win/watcom.cf * config/win/icc.cf * config/win/cygwin.cf * config/win/msvc.cf * config/win/xcc.cf * config/win/mingw.cf * config/win/pocc.cf * config/win/bcc.cf * config/linux/watcom.cf * config/linux/gcc.cf * config/linux/icc.cf * config/linux/sunpro.cf * config/os2/watcom.cf * config/os2/gcc.cf * config/sunos/gcc.cf * config/sunos/sunpro.cf * Cleaned LDFLAGS usage: % Using := instead of = ! Always initialize LDFLAGS to empty to prevent spillage of random values. * Moved lib specs included in LDFLAGS to LDLIBS. * Cleaned "DEBUG ALL" addition in watcom compilers. ; GNU Make .cf cleanup is about over. There could probably be done some additional optimizations, but it's already much cleaner, simpler and more efficient than it was until a few weeks ago. Still could be done: CFLAGS vs. CPPFLAGS usage accross compilers. *_RULE variables, revise redefinition needs, maybe change the central default, etc. * ChangeLog ! Typos in prev entry. 2009-08-11 13:24 UTC+0200 Viktor Szakats * source/pp/Makefile % = -> := * config/sunos/sunpro.cf * config/bsd/gcc.cf * config/wce/msvcarm.cf * config/wce/mingwarm.cf * config/wce/poccarm.cf * config/hpux/gcc.cf * config/darwin/gcc.cf * config/dos/watcom.cf * config/dos/djgpp.cf * config/win/watcom.cf * config/win/icc.cf * config/win/cygwin.cf * config/win/msvc.cf * config/win/xcc.cf * config/win/mingw.cf * config/win/pocc.cf * config/win/bcc.cf * config/linux/watcom.cf * config/linux/gcc.cf * config/linux/icc.cf * config/linux/sunpro.cf * config/os2/watcom.cf * config/os2/gcc.cf * config/sunos/gcc.cf * config/sunos/sunpro.cf * Cleaned LDLIBS usage: % Using := instead of = ! Fixed spillage of system defined LDLIBS var content. 2009-08-11 13:15 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/fstemp.c * enabled mkstmp() in SunOS builds (is it supported by MacOSX?) + added optional support for mkstemps() - it's disabled by default * harbour/contrib/xhb/hbcompat.ch ! removed some old not longer valid translations xHarbour developers should copy current hbcompat.ch from Harbour SVN to xHarbour CVS 2009-08-11 13:00 UTC+0200 Viktor Szakats * config/bsd/gcc.cf * config/wce/msvcarm.cf * config/wce/mingwarm.cf * config/wce/poccarm.cf * config/hpux/gcc.cf * config/darwin/gcc.cf * config/dos/djgpp.cf * config/win/icc.cf * config/win/cygwin.cf * config/win/msvc.cf * config/win/xcc.cf * config/win/mingw.cf * config/win/pocc.cf * config/win/bcc.cf * config/linux/gcc.cf * config/linux/icc.cf * config/linux/sunpro.cf * config/os2/gcc.cf * config/sunos/gcc.cf * config/sunos/sunpro.cf * Renamed compiler local internal variable: LINKPATHS -> LIBPATHS 2009-08-11 12:57 UTC+0200 Viktor Szakats * config/rules.cf * config/bsd/gcc.cf * config/wce/msvcarm.cf * config/wce/mingwarm.cf * config/wce/poccarm.cf * config/darwin/gcc.cf * config/hpux/gcc.cf * config/dos/watcom.cf * config/dos/djgpp.cf * config/win/watcom.cf * config/win/icc.cf * config/win/cygwin.cf * config/win/msvc.cf * config/win/xcc.cf * config/win/mingw.cf * config/win/pocc.cf * config/win/bcc.cf * config/linux/watcom.cf * config/linux/gcc.cf * config/linux/icc.cf * config/linux/sunpro.cf * config/os2/watcom.cf * config/os2/gcc.cf * config/sunos/gcc.cf * config/sunos/sunpro.cf * Renamed internal variable: LINKLIBS -> LDLIBS 2009-08-11 12:50 UTC+0200 Viktor Szakats * contrib/hbcurl/hbcurl.c ! Silenced recently reintrod warning. * source/pp/Makefile + Indentation. * config/dos/djgpp.cf * config/linux/watcom.cf * config/os2/watcom.cf * Few hacks simplified. + Made available LDLIBS variable. (Optimized out or renamed) 2009-08-11 12:28 UTC+0200 Viktor Szakats * config/darwin/gcc.cf ! Fixed double $(LINKLIBS) spec in LD_RULE. May have been intentional so after commit I'll test it on darwin. [TESTED - WORKS] 2009-08-11 12:14 UTC+0200 Viktor Szakats * config/bsd/gcc.cf * config/wce/msvcarm.cf * config/wce/mingwarm.cf * config/wce/poccarm.cf * config/darwin/gcc.cf * config/hpux/gcc.cf * config/dos/djgpp.cf * config/win/icc.cf * config/win/cygwin.cf * config/win/msvc.cf * config/win/xcc.cf * config/win/mingw.cf * config/win/pocc.cf * config/win/bcc.cf * config/linux/gcc.cf * config/linux/icc.cf * config/linux/sunpro.cf * config/os2/gcc.cf * config/sunos/gcc.cf * config/sunos/sunpro.cf ; Cleaned LINKPATHS usage. % Using := instead of = assignment operator. ! Fixed spillage of external LINKPATHS content with some compilers. * Non-libpath related variable content moved to LDFLAGS. ; TODO: Rename 'LINKPATHS' to 'LIBPATHS'. [DONE] 2009-08-11 12:01 UTC+0200 Viktor Szakats * source/rtl/fstemp.c ! Fixed regression in hb_fsCreateTemp() after 2009-08-07 11:55 UTC+0200 where temp files couldn't be opened, instead a lot of temp filenames were created. 2009-08-11 11:14 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbtpathy/telepath.prg ! fixed tp_inkey() to not freeze when called without parameter * harbour/source/rdd/dbfntx/dbfntx1.c * harbour/source/rdd/dbfnsx/dbfnsx1.c * added OS/FS error codes to RTEs generated during indexing * replaced few numeric error codes with EDBF_* macros 2009-08-11 09:55 UTC+0200 Viktor Szakats * config/bsd/gcc.cf * config/wce/msvcarm.cf * config/wce/mingwarm.cf * config/wce/poccarm.cf * config/hpux/gcc.cf * config/darwin/gcc.cf * config/dos/watcom.cf * config/dos/djgpp.cf * config/win/watcom.cf * config/win/icc.cf * config/win/cygwin.cf * config/win/msvc.cf * config/win/xcc.cf * config/win/mingw.cf * config/win/pocc.cf * config/win/bcc.cf * config/linux/watcom.cf * config/linux/gcc.cf * config/linux/icc.cf * config/linux/sunpro.cf * config/os2/watcom.cf * config/os2/gcc.cf * config/sunos/gcc.cf * config/sunos/sunpro.cf % CFLAGS and CPPFLAGS initialized using := operator. ! Fixed not initializing CFLAGS/CPPFLAGS at all for some compilers. This may cause spilling of unwanted switches into our make system. (watcom.cf) * Few remaining indentations left from previous round (sunpro.cf). * Some other minor cleanups along the way (xcc.cf). 2009-08-11 09:41 UTC+0200 Viktor Szakats * config/bsd/gcc.cf * config/wce/msvcarm.cf * config/wce/mingwarm.cf * config/wce/poccarm.cf * config/darwin/gcc.cf * config/hpux/gcc.cf * config/dos/watcom.cf * config/dos/djgpp.cf * config/win/watcom.cf * config/win/icc.cf * config/win/cygwin.cf * config/win/msvc.cf * config/win/xcc.cf * config/win/mingw.cf * config/win/pocc.cf * config/win/bcc.cf * config/linux/watcom.cf * config/linux/gcc.cf * config/linux/icc.cf * config/linux/sunpro.cf * config/os2/watcom.cf * config/os2/gcc.cf * config/sunos/gcc.cf * config/sunos/sunpro.cf % Mofified so that HB_USER_AFLAGS is passed directly to AR_RULE, rather than being passed through ARFLAGS. It's also done this way for other HB_USER_* flags. ! Fixed os2/gcc ignoring HB_USER_AFLAGS. Please test. % ARFLAGS assignments now use := operator. * config/global.cf + Added few more config vars. 2009-08-11 09:27 UTC+0200 Viktor Szakats * config/bsd/gcc.cf % Started using := for CFLAGS/CPPFLAGS. * config/darwin/gcc.cf * Minor cleanups. Sync with bsd/gcc.cf, using vars with std names, deleted unused lines. * config/dos/watcom.cf * config/win/watcom.cf * config/linux/watcom.cf * config/os2/watcom.cf ! Using $(HB_INC_COMPILE) instead of $(TOP)$(ROOT)include like every other compilers. 2009-08-11 09:16 UTC+0200 Viktor Szakats * config/global.cf ! Fixed little typo in config display section. * config/bsd/gcc.cf * config/wce/mingwarm.cf * config/win/cygwin.cf * config/win/mingw.cf * config/win/bcc.cf % Cleanups, syncing between each other, eliminating unique variables. 2009-08-11 01:57 UTC+0200 Viktor Szakats * include/hbatomic.h ! Suppressed recent bcc warnings. Thanks to Grigory Filatov for the fix. 2009-08-11 01:52 UTC+0200 Viktor Szakats * config/bsd/gcc.cf * config/wce/msvcarm.cf * config/wce/mingwarm.cf * config/wce/poccarm.cf * config/hpux/gcc.cf * config/darwin/gcc.cf * config/dos/watcom.cf * config/dos/djgpp.cf * config/win/watcom.cf * config/win/icc.cf * config/win/cygwin.cf * config/win/msvc.cf * config/win/xcc.cf * config/win/mingw.cf * config/win/pocc.cf * config/win/bcc.cf * config/linux/watcom.cf * config/linux/gcc.cf * config/linux/icc.cf * config/linux/sunpro.cf * config/os2/watcom.cf * config/os2/gcc.cf * config/sunos/gcc.cf * config/sunos/sunpro.cf + Indentation. * Minor cleanups (to GT dependency lib sections, deleted check for hbrtl, it's enough to check for the gt name) 2009-08-11 01:32 UTC+0200 Viktor Szakats * config/wce/mingwarm.cf * config/win/msvc.cf * config/win/mingw.cf * Minor cleanups. 2009-08-11 01:03 UTC+0200 Viktor Szakats * config/bsd/gcc.cf * config/wce/mingwarm.cf * config/dos/djgpp.cf * config/linux/gcc.cf * config/linux/icc.cf % Deleted core lib grouping. * config/win/cygwin.cf * config/os2/gcc.cf % Deleted (commented) core lib grouping. * ChangeLog ! Missed entry from a few commits ago: * config/win/mingw.cf % Deleted core lib grouping. 2009-08-11 00:54 UTC+0200 Viktor Szakats * config/bsd/gcc.cf * config/wce/msvcarm.cf * config/wce/mingwarm.cf * config/wce/poccarm.cf * config/darwin/gcc.cf * config/hpux/gcc.cf * config/dos/watcom.cf * config/dos/djgpp.cf * config/win/watcom.cf * config/win/icc.cf * config/win/cygwin.cf * config/win/msvc.cf * config/win/xcc.cf * config/win/mingw.cf * config/win/pocc.cf * config/win/bcc.cf * config/linux/watcom.cf * config/linux/gcc.cf * config/linux/icc.cf * config/linux/sunpro.cf * config/instsh.cf * config/dirsh.cf * config/os2/watcom.cf * config/os2/gcc.cf * config/sunos/gcc.cf * config/sunos/sunpro.cf % Removed spaces before $(foreach) parameters. A space is automatically added by GNU Make, so it's not needed. May save a little bytes here and there and command look more tidy (source looks a little bit clumsier though). 2009-08-11 00:45 UTC+0200 Viktor Szakats * source/rdd/Makefile * config/global.cf * config/bin.cf * Simple rename of two internal vars: HB_DB_DRIVERS -> HB_RDD_LIBS HB_DB_DIRS -> HB_RDD_DIRS + Added some names to non-standard build configuration setting collection. 2009-08-11 00:41 UTC+0200 Viktor Szakats * config/bin.cf * Minor formatting to liblist template. * config/bsd/gcc.cf * config/darwin/gcc.cf * config/hpux/gcc.cf * config/linux/gcc.cf * config/linux/icc.cf * config/linux/sunpro.cf * config/sunos/gcc.cf * config/sunos/sunpro.cf % Using LIBS var to check for libs rather than HB_GT_LIBS. 2009-08-11 00:31 UTC+0200 Viktor Szakats * config/win/mingw.cf % Deleted core lib grouping. * config/bin.cf + Harbour binary core liblists are now formed centrally. Four variations are generated: HB_LIBS_ST_RDD HB_LIBS_MT_RDD HB_LIBS_ST_NORDD HB_LIBS_MT_NORDD Binaries can choose by using: 'LIBS = $(HB_LIBS_*)'. Important to use '='. This step also fixes potential problems with former liblists, where it was easy to make a local mistakes and some libs which needed more complicated logic, or which were just rarely used simply weren't added. Now all liblists are guaranteed to have proper order and content. HB_GT_LIBS and HB_DB_DRIVERS are automatically added centrally, so no need to add them manually in each compiler specific .cf. * tests/Makefile * tests/hbpptest/Makefile * tests/multifnc/Makefile * utils/hbformat/Makefile * utils/hbmk2/Makefile * utils/hbtest/Makefile * utils/hbi18n/Makefile * utils/hbrun/Makefile % Using above HB_LIBS_* macros. ; The only few places which I didn't thouch is non-Harbour executables (harbour exe and hbpp exe). * config/bsd/gcc.cf * config/wce/msvcarm.cf * config/wce/mingwarm.cf * config/wce/poccarm.cf * config/hpux/gcc.cf * config/darwin/gcc.cf * config/dos/watcom.cf * config/dos/djgpp.cf * config/win/watcom.cf * config/win/icc.cf * config/win/cygwin.cf * config/win/msvc.cf * config/win/xcc.cf * config/win/mingw.cf * config/win/pocc.cf * config/win/bcc.cf * config/linux/watcom.cf * config/linux/gcc.cf * config/linux/icc.cf * config/linux/sunpro.cf * config/os2/watcom.cf * config/os2/gcc.cf * config/sunos/gcc.cf * config/sunos/sunpro.cf % Deleted local logic to merge HB_GT_LIBS and HB_DB_DRIVERS into LIBS. * utils/hbmk2/hbmk2.hbp * utils/hbrun/hbrun.hbp ! Extra libspecs are still needed for some compilers. I've readded them until better solution is found. 2009-08-10 23:16 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/pp/Makefile * harbour/config/os2/watcom.cf * added workarounds for problems with OS2 builds - please test 2009-08-10 22:47 UTC+0200 Viktor Szakats * config/wce/mingwarm.cf * config/win/mingw.cf * config/linux/global.cf % Using := instead of = in few more places. 2009-08-10 22:43 UTC+0200 Viktor Szakats * config/wce/mingwarm.cf * config/win/xcc.cf * config/win/mingw.cf * config/win/pocc.cf % Deleted system libs not needed for core Harbour. * config/wce/mingwarm.cf * config/win/mingw.cf % Using := instead of = in one place. 2009-08-10 22:34 UTC+0200 Viktor Szakats * contrib/hbtpathy/telepath.prg * contrib/hbtpathy/tpcommon.c + TP_CRC16() reimplemented in .prg after reading Przemek's email. 2009-08-10 22:31 UTC+0200 Viktor Szakats * contrib/hbtpathy/tpcommon.c + __TP_CRC16() rewritten using core checksum function. The trick was to swap bytes of the hb_crcct() result. 2009-08-10 21:56 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Reorganized core Harbour lib handling. The goal is to allow linkers to resolve references by themselves, either by clever ordering and adding libs multiple times if needed. I took the methods used in Makefiles as guiding line. % Removed -Wl,--start-group / -Wl,--end-group lib grouping. It doesn't seem to be necessary anymore. ! Fixed "hbrtl" lib reference with some targets in -xhb mode. ; NOTE: Please test, I didn't test all possible combinations only mingw and recent Harbour. (no xhb, no hb10x) ; NOTE: Regressions are possible regarding lib selection or ordering and also GT selection. ; TODO: If this works out okay, we can delete similar grouping options from .cf files. At the same time, core liblists could be moved to central place to ease maintenance and guarantee correctness. [DONE] * utils/hbmk2/hbmk2.hbp * utils/hbrun/hbrun.hbp - Deleted extra core lib specifications to make it link in shared mode. Doesn't seem to be necessary anymore after above hbmk2 change. 2009-08-10 17:44 UTC+0200 Viktor Szakats * config/none.cf * config/global.cf * config/instsh.cf * config/dirsh.cf * Prefixed all Harbour initiated screen messages with '! '. 2009-08-10 17:23 UTC+0200 Viktor Szakats * contrib/hbtpathy/telepath.prg ! Fixed forming default COM port names on Windows NT systems. (I didn't test Win9x, but I assume they work like DOS regarding this aspect). * contrib/hbxbp/Makefile * contrib/gtwvg/Makefile ! Using HB_INC_DEPEND instead of modifying HB_USER_PRGFLAGS and HB_USER_CFLAGS. Old solution wasn't good because the new include dirs were added after central ones, so central ones effectively masked them and wrong headers could be picked through the build. * config/rules.cf + Added HB_INC_DEPEND variable to store dirs which should be included before central include dir. * config/global.cf * Small change in predefined HB_BUILD_NAMEs. Unicode 'u' marker moved to end, C++ marked changed to 'p' (from 'x'). * contrib/rddado/rddado.hbc * contrib/gtwvg/gtwvg.hbc * Slash sync with other .hbc files. (forward slash is used) * config/dos/watcom.cf % Minor opt in operator. 2009-08-10 15:58 UTC+0200 Viktor Szakats * config/instsh.cf * config/dirsh.cf * Changed TABs to spaces in some remaining places. 2009-08-10 15:28 UTC+0200 Viktor Szakats * tests/hbpptest/Makefile * tests/Makefile * utils/hbformat/Makefile * utils/hbtest/Makefile * Trying to lessen the number of combinations + sync core lib lists in Makefiles. These are currently used combinations in Harbour: --- hbextern hbdebug hbdebug hbdebug hbdebug hbdebug hbvm hbvm hbvm hbvm hbvmmt hbrtl hbrtl hbrtl hbrtl hbrtl hblang hblang hblang hblang hblang hbcpage hbcpage hbcpage hbcpage hbcpage hbrdd hbrdd hbnulrdd hbrdd hbnulrdd hbrtl hbrtl hbrtl hbrtl hbrtl hbvm hbvm hbvm hbvm hbvmmt hbmacro hbmacro hbmacro hbmacro hbmacro hbcplr hbcplr hbpp hbpp hbpp hbpp hbcommon hbcommon hbcommon hbcommon hbcommon hbpcre --- 2009-08-10 15:09 UTC+0200 Viktor Szakats * external/sqlite3/Makefile * external/libhpdf/Makefile * external/libpng/Makefile * config/global.cf * Remaining TABs deleted. 2009-08-10 14:47 UTC+0200 Viktor Szakats * doc/en-EN/Makefile * doc/Makefile * include/Makefile * contrib/gtalleg/Makefile * contrib/hbmysql/Makefile * contrib/hbct/Makefile * contrib/xhb/Makefile * contrib/hbodbc/Makefile * contrib/hbtpathy/Makefile * contrib/hbgt/Makefile * contrib/hbmzip/Makefile * contrib/hbsqlit3/Makefile * contrib/hbblat/Makefile * contrib/hbqt/generator/hbqtgen.prg * contrib/hbqt/Makefile_gen * contrib/hbfbird/Makefile * contrib/hbziparc/Makefile * contrib/hbxbp/Makefile * contrib/xpp/Makefile * contrib/hbnf/Makefile * contrib/Makefile * contrib/hbcurl/hbcurls/Makefile * contrib/hbcurl/Makefile * contrib/gtqtc/Makefile * contrib/rddsql/sddmy/Makefile * contrib/rddsql/sddpg/Makefile * contrib/rddsql/sddfb/Makefile * contrib/rddsql/sddodbc/Makefile * contrib/rddsql/Makefile * contrib/hbhpdf/Makefile * contrib/rddado/Makefile * contrib/gtwvg/Makefile * contrib/hbpgsql/Makefile * contrib/hbclipsm/Makefile * contrib/rddads/Makefile * contrib/hbfimage/Makefile * contrib/hbgd/Makefile * contrib/hbmisc/Makefile * contrib/hbtip/Makefile * contrib/hbwin/Makefile * contrib/hbbmcdx/Makefile * contrib/hbvpdf/Makefile * contrib/hbssl/Makefile * contrib/hbbtree/Makefile * source/pp/Makefile * source/hbextern/Makefile * source/lang/Makefile * source/vm/maindllh/Makefile * source/vm/mainstd/Makefile * source/vm/maindllp/Makefile * source/vm/Makefile * source/vm/vmmt/Makefile * source/vm/mainwin/Makefile * source/main/Makefile * source/debug/Makefile * source/common/Makefile * source/nortl/Makefile * source/rtl/gtdos/Makefile * source/rtl/gtwin/Makefile * source/rtl/gtxwc/Makefile * source/rtl/gtcrs/Makefile * source/rtl/gtstd/Makefile * source/rtl/gttrm/Makefile * source/rtl/Makefile * source/rtl/gtcgi/Makefile * source/rtl/gtos2/Makefile * source/rtl/gtsln/Makefile * source/rtl/gtpca/Makefile * source/rtl/gtgui/Makefile * source/rtl/gt_tpl/Makefile * source/rtl/gtwvt/Makefile * source/macro/Makefile * source/hbpcre/Makefile * source/codepage/Makefile * source/rdd/dbfntx/Makefile * source/rdd/nulsys/Makefile * source/rdd/Makefile * source/rdd/dbfnsx/Makefile * source/rdd/dbfcdx/Makefile * source/rdd/hsx/Makefile * source/rdd/usrrdd/rdds/Makefile * source/rdd/usrrdd/Makefile * source/rdd/dbffpt/Makefile * source/rdd/hbsix/Makefile * source/hbzlib/Makefile * source/compiler/Makefile * Finished replacing TABs with spaces in simple variable assigments. TABs are only required when specifiying a rule command. 2009-08-10 14:22 UTC+0200 Viktor Szakats * tests/hbpptest/Makefile * tests/Makefile * tests/multifnc/Makefile * Makefile * external/Makefile * source/Makefile * utils/hbformat/Makefile * utils/hbmk2/Makefile * utils/hbtest/Makefile * utils/hbi18n/Makefile * utils/Makefile * utils/hbrun/Makefile * Started replacing TABs with spaces in simple variable assigments. TABs are only required when specifiying a rule command. 2009-08-10 12:04 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Added missing core gt names from GUI/non-GUI detection code. 2009-08-10 11:51 UTC+0200 Viktor Szakats * config/globsh.cf % Deleted hack with unknown purpose when forming $(MK) variable: '$(subst \~,~,$(MAKE))' -> $(MAKE) Please shout if you know the purpose, all I could find out is that it was added in this change: Fri Jun 11 17:11:09 1999 Gonzalo A. Diethelm but there is no specific description of this change, besides making MAKE work on non-bash systems. 2009-08-10 11:48 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/config/linux/sunpro.cf ! fixed list of linked system libraries to be Linux compatible 2009-08-10 11:30 UTC+0200 Viktor Szakats * contrib/hbtip/sendmail.prg * contrib/hbtip/client.prg ! HAS_OPENSSL -> HB_HAS_OPENSSL. 2009-08-10 11:21 UTC+0200 Viktor Szakats - bin/hbmk.bat - Deleted. Probably no one uses it. * contrib/hbtip/sendmail.prg + Added pop3s support for lPopAuth option. * contrib/hbtip/client.prg % TIPCLIENT() now uses INIT instead of manual initialization of object vars. * TIPCLIENT():NEW(): Protocol check made more robust. * source/vm/dynlibhb.c + Enabled HB_HAS_DLFCN on darwin. Support is there, tested on latest 10.5 Leopard. * config/global.cf * Minor. * config/linux/sunpro.cf * config/sunos/sunpro.cf + Using 'suncc|sunCC' compiler executables. This makes HB_CCPATH unnecessary. Thanks Przemek. 2009-08-10 11:07 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbatomic.h % added architecture independent support for atomic operations and spinlocks in all SunOS builds * harbour/source/vm/dynlibhb.c ! reenabled dlopen interface for Sun C compilers * enabled dlopen interface for SunOS builds 2009-08-10 03:58 UTC+0200 Viktor Szakats * make_gnu_os2.cmd * make_gnu.bat * make_gnu.sh * config/global.cf + Moved emptying of CLIPPER/HARBOUR envvars to GNU Make level. + Emptying CLIPPERCMD/HARBOURCMD envvars before calling Harbour compiler. * make_gnu_os2.cmd % Deleted defaulting of HB_ARCHITECTURE and HB_COMPILER. Now done on GNU Make level. Untested. * config/readme.txt - Deleted info on OS/2 make. 2009-08-10 03:09 UTC+0200 Viktor Szakats * config/global.cf * config/lib.cf * config/bin.cf * config/test.cf ! Inclusion of compiler specific rules now happens from [lib|bin|test].cf. This way it plays well with scenarios where global.cf is directly included in Makefiles. It should also be slightly more efficient. 2009-08-10 02:39 UTC+0200 Viktor Szakats * config/globsh.cf * config/bsd/gcc.cf * config/wce/msvcarm.cf * config/wce/mingwarm.cf * config/wce/poccarm.cf * config/darwin/gcc.cf * config/hpux/gcc.cf * config/dos/djgpp.cf * config/win/cygwin.cf * config/win/mingw.cf * config/linux/gcc.cf * config/linux/icc.cf * config/linux/sunpro.cf * config/os2/gcc.cf * config/sunos/gcc.cf * config/sunos/sunpro.cf % Using ':=' instead of '=' where possible. (incomplete. pass two) The rest is really the core and need deeper examination of ordering and variable dependency. There is probably more room for improvement. 2009-08-09 17:35 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/hbqt_slots.cpp * contrib/hbxbp/xbpbrowse.prg ! Improved speed. Reported by Viktor. 2009-08-09 17:10 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/hbqt.ch + Added more constants. * contrib/hbxbp/xbpbrowse.prg ! Column display protocol tweaked to provide a descent view. + Implemented ::sizeCols() instance variable of XbpBrowse() object. This provides for switching off the resizing behavior of the columns. * contrib/hbxbp/tests/demoxbp.prg ! Demonstrated the above facts. 2009-08-10 02:07 UTC+0200 Viktor Szakats * ChangeLog ! Typos in prev entry. 2009-08-10 02:07 UTC+0200 Viktor Szakats * contrib/hbtip/sessid.prg * contrib/hbtip/cgi.prg * contrib/hbtip/encoder.prg * contrib/hbtip/mail.prg * contrib/hbtip/sendmail.prg * contrib/hbtip/httpcli.prg * contrib/hbtip/smtpcli.prg * contrib/hbtip/client.prg * contrib/hbtip/ftpcli.prg * contrib/hbtip/popcli.prg + Added TIP_SSL() function to return whether SSL functionality is available or not. % Deleted unnecessary tip.ch header inclusions. + Added TIPCLIENT():INETTIMEOUT() method to set / refresh timeout. % Direct hb_inetTimeout() calls either optimized out (after ::super:open()), or replaced by ::inetTimeout() calls. ! Fixed to also accept pop3s where pops is accepted. + TIPCLIENTPOP() will set default port to 995 in pop3s mode. + TIPCLIENTSMTP() will set default port to 465 in smtps mode. + TIPCLIENTHTTP() will set default port to 443 in https mode. + Some steps towards SMTP STARTTLS encryption method. ! Uncommented setting "Content-Length" in TIPMAIL():SETBODY(). gmail rejects attachment without it. It's also needed for internal consistency as TIPMAIL():NEW() sets this data. ! HB_SENDMAIL() fixed to use HB_MEMOREAD() to read attachment. ! HB_SENDMAIL() fixed to load the attachment if it was passed as a content/name pair array. Handling all combinations now. * HB_SENDMAIL() changed to not exit on the first invalid attachment specification, but simply ignore these. Feels more natural that way, but the old behaviour can be restored if there was a reason for it which overlooked. * Formatting. ; FIXME: hbtip currently has two different facilities to find out the MIME type of a given extension: TIP_FILEMIMETYPE() and HB_SETMIMETYPE(). First one also looks into the content while the second one has a much more extensive extension based detection. There is also a 3rd and separate function which aims to detect whether a type is binary or text. This isn't very efficient this way, unless there is some reasoning behing current logic. * contrib/hbtip/log.prg ! Fixed to reset internal file handle to empty value on close. * contrib/hbssl/sslctx.c ! Added !OPENSSL_NO_STDIO guard for functions where it applies(). + Added SSL_CTX_LOAD_VERIFY_LOCATIONS(). * config/global.cf ! Deleted two debug lines from prev commit. 2009-08-09 16:15 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/hbqt_slots.cpp * contrib/hbxbp/xbpbrowse.prg + Implemented XbpColumn():type == XBPCOL_TYPE_ICONFILE. Now any image can be viewed as an icon in a column object of XbpBrowse() * contrib/hbxbp/tests/demoxbp.prg ! Updated to demonstrate XbpColumn():type == XBPCOL_TYPE_ICONFILE functionality. 2009-08-09 21:42 UTC+0200 Viktor Szakats * config/global.cf ! Fixed 'sh' HB_SHELL detection. Problem experienced with Cygwin GNU Make, where SHLVL isn't defined on the first level. Now also checking for SHELL=/bin/sh to detect sh shell. * tests/multifnc/Makefile * external/sqlite3/Makefile * external/libhpdf/Makefile * external/libpng/Makefile * contrib/gtalleg/Makefile * contrib/hbodbc/Makefile * contrib/hbtpathy/Makefile * contrib/hbsqlit3/Makefile * contrib/hbblat/Makefile * contrib/hbqt/Makefile * contrib/hbfbird/Makefile * contrib/hbxbp/Makefile * contrib/hbcurl/Makefile * contrib/gtqtc/Makefile * contrib/rddsql/sddfb/Makefile * contrib/rddsql/sddodbc/Makefile * contrib/rddado/Makefile * contrib/gtwvg/Makefile * contrib/rddads/Makefile * contrib/hbfimage/Makefile * contrib/hbtip/Makefile * contrib/hbwin/Makefile * contrib/hbssl/Makefile * source/vm/Makefile * source/vm/vmmt/Makefile * source/rtl/gtdos/Makefile * source/rtl/gtwin/Makefile * source/rtl/gtxwc/Makefile * source/rtl/gtcrs/Makefile * source/rtl/gttrm/Makefile * source/rtl/Makefile * source/rtl/gtos2/Makefile * source/rtl/gtsln/Makefile * source/rtl/gtgui/Makefile * source/rtl/gtwvt/Makefile * source/rdd/Makefile * source/rdd/dbffpt/Makefile ! Including 'global.cf' directly to make HB_ARCHITECTURE/HB_COMPILER/HB_COMMERCE variables work in case we're relying on autodetection. ; TODO: May need to do this for a few other cases where detection is relying on some additional variables. Like HB_XBUILD, which needs to be cleaned further, maybe autodetection added. [DONE] ; NOTE: Above changes mean that from now on for basic build usage it's enough to have the compiler in PATH and to issue a simple 'make' or 'mingw32-make' (or whatever GNU Make is called in that environment), and make process should just work. IOW, no need to go through "starter" scripts in root (make_gnu.*). 2009-08-09 21:18 UTC+0200 Viktor Szakats * tests/hbpptest/Makefile * tests/bldtest/Makefile * tests/Makefile * tests/multifnc/Makefile * doc/en-EN/Makefile * doc/Makefile * external/sqlite3/Makefile * external/libhpdf/Makefile * external/libpng/Makefile * external/Makefile * include/Makefile * source/hbextern/Makefile * source/pp/Makefile * source/lang/Makefile * source/vm/maindllh/Makefile * source/vm/mainstd/Makefile * source/vm/maindllp/Makefile * source/vm/Makefile * source/vm/vmmt/Makefile * source/vm/mainwin/Makefile * source/main/Makefile * source/debug/Makefile * source/common/Makefile * source/nortl/Makefile * source/macro/Makefile * source/rtl/gtdos/Makefile * source/rtl/gtwin/Makefile * source/rtl/gtxwc/Makefile * source/rtl/gtcrs/Makefile * source/rtl/gtstd/Makefile * source/rtl/gttrm/Makefile * source/rtl/Makefile * source/rtl/gtcgi/Makefile * source/rtl/gtos2/Makefile * source/rtl/gtsln/Makefile * source/rtl/gtpca/Makefile * source/rtl/gtgui/Makefile * source/rtl/gt_tpl/Makefile * source/rtl/gtwvt/Makefile * source/hbpcre/Makefile * source/codepage/Makefile * source/rdd/dbfntx/Makefile * source/rdd/nulsys/Makefile * source/rdd/Makefile * source/rdd/dbfnsx/Makefile * source/rdd/dbfcdx/Makefile * source/rdd/hsx/Makefile * source/rdd/usrrdd/rdds/Makefile * source/rdd/usrrdd/Makefile * source/rdd/dbffpt/Makefile * source/rdd/hbsix/Makefile * source/compiler/Makefile * source/hbzlib/Makefile * source/Makefile * utils/hbformat/Makefile * utils/hbmk2/Makefile * utils/hbtest/Makefile * utils/hbi18n/Makefile * utils/hbrun/Makefile * contrib/gtalleg/Makefile * contrib/hbmysql/Makefile * contrib/hbct/Makefile * contrib/xhb/Makefile * contrib/hbodbc/Makefile * contrib/hbtpathy/Makefile * contrib/hbgt/Makefile * contrib/hbmzip/Makefile * contrib/hbsqlit3/Makefile * contrib/hbblat/Makefile * contrib/hbqt/Makefile * contrib/hbqt/generator/hbqtgen.prg * contrib/hbqt/Makefile_gen * contrib/hbfbird/Makefile * contrib/hbziparc/Makefile * contrib/hbxbp/Makefile * contrib/xpp/Makefile * contrib/hbnf/Makefile * contrib/Makefile * contrib/hbcurl/hbcurls/Makefile * contrib/hbcurl/Makefile * contrib/gtqtc/Makefile * contrib/rddsql/sddmy/Makefile * contrib/rddsql/sddpg/Makefile * contrib/rddsql/sddfb/Makefile * contrib/rddsql/sddodbc/Makefile * contrib/rddsql/Makefile * contrib/hbhpdf/Makefile * contrib/rddado/Makefile * contrib/gtwvg/Makefile * contrib/hbpgsql/Makefile * contrib/hbclipsm/Makefile * contrib/rddads/Makefile * contrib/hbfimage/Makefile * contrib/hbgd/Makefile * contrib/hbtip/Makefile * contrib/hbbmcdx/Makefile * contrib/hbvpdf/Makefile * contrib/hbssl/Makefile * contrib/hbbtree/Makefile % Using ':=' instead of '=' where possible. ; TODO: Central make files (.cf). [DONE] * config/global.cf * config/bin.cf * config/globsh.cf * config/dir.cf * config/bsd/gcc.cf * config/bsd/global.cf * config/c.cf * config/wce/msvcarm.cf * config/wce/global.cf * config/wce/mingwarm.cf * config/wce/poccarm.cf * config/rules.cf * config/hpux/gcc.cf * config/darwin/gcc.cf * config/darwin/global.cf * config/dos/watcom.cf * config/dos/djgpp.cf * config/win/watcom.cf * config/win/icc.cf * config/win/global.cf * config/win/cygwin.cf * config/win/msvc.cf * config/win/xcc.cf * config/win/mingw.cf * config/win/pocc.cf * config/win/bcc.cf * config/linux/watcom.cf * config/linux/gcc.cf * config/linux/icc.cf * config/linux/sunpro64.cf * config/linux/sunpro.cf * config/os2/watcom.cf * config/os2/gcc.cf * config/sunos/gcc.cf * config/sunos/sunpro64.cf * config/sunos/sunpro.cf % Using ':=' instead of '=' where possible. (incomplete. pass one) * config/none.cf * Little change in text. * config/global.cf ! Fixed HB_ARCHITECTURE mis-detection as wce for a few win compilers. 2009-08-09 19:55 UTC+0200 Viktor Szakats * Makefile * tests/Makefile * contrib/hbmisc/Makefile * contrib/hbwin/Makefile * utils/Makefile % Started converting '=' operators to ':=' where applicable. ; TODO: Rest of Makefiles. [DONE] * contrib/hbwin/Makefile ! Including 'global.cf' directly to make HB_ARCHITECTURE/HB_COMPILER variables work in case we're relying on autodetection. ; FIXME: Rest of Makefiles. [DONE] * config/global.cf + Added self-inclusion check to allow adding this .cf file directly to Makefiles in order to force platform detection for cases where this information is needed for local decisions. * config/dos/global.cf - Deleted 'ifndef MK' construct. Purpose unknown, and not found similar for other platforms. * config/global.cf * config/globsh.cf + Added my copyright. * contrib/hbtpathy/tpwin.c * contrib/hbtpathy/tpos2.c % Deleted unnecessary headers. 2009-08-09 09:42 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbxbp/xbpbrowse.prg ! Few more tweaks. * contrib/hbxbp/xbptreeview.prg - Commented out experimental CSS implementation. + Made public Harbour extention ::setStyleSheet( cStyleSheet ) method. Now it is possible to fine tune widget's appearnce the way user can imagine. The supplied style sheet will be applied on top of existing one. % TODO: extend ::setStyleSheet() functionality the easiest way. * contrib/hbxbp/tests/demoxbp.prg ! Demonstrated the use of ::setStyleSheet() with XbpTreeView() class. Play with the <Tree> tab. 2009-08-09 18:32 UTC+0200 Viktor Szakats * contrib/hbxbp/tests/demoxbp.prg ! Fixed test.ico reference to avoid QT runtime error message when run from a different dir. 2009-08-09 18:26 UTC+0200 Viktor Szakats * contrib/hbxbp/tests/demoxbp.prg * contrib/gtwvg/tests/demowvg.prg * contrib/hbtip/tests/dbtohtml.prg ! Fix to test.dbf path. hb_DirBase() was missing. * Changed date format to ANSI. 2009-08-09 17:49 UTC+0200 Viktor Szakats * contrib/hbtpathy/telepath.ch * contrib/hbtpathy/tests/testtp.prg * contrib/hbtpathy/tpwin.c * contrib/hbtpathy/tpos2.c * contrib/hbtpathy/tpunix.c * contrib/hbtpathy/tpdos.c * contrib/hbtpathy/telepath.prg + Added self-guards to header. ! Converted all comments to ANSI C. + Added note to header that it's used from C code. ! Put negative macro values into parentheses. ! Fixed bad typo in test program which broke it for all platforms. % Minor optimization to TP_REOPEN(). ! Moved internal structure macros from header to .prg. + Added comment for FILE() usage in TP_OPEN(). ! Fixed to not use FILE() to check for port existance on non-*nix platforms. (maybe this works on OS/2 and it can be readded there, I don't know). ! Using manifest constants instead of literals in few places. ; After these changes, hbtpathy works on Windows platform. (made basic test only) 2009-08-09 17:00 UTC+0200 Viktor Szakats * utils/hbmk2/examples/contribf.hbc * contrib/hbtpathy/Makefile + contrib/hbtpathy/tpdos.c * contrib/hbtpathy/hbtpathy.hbc + Added DOS stubs. This makes it possible to enable this contrib for all existing platforms. Serial support is possible to implement in DOS. % Now all source files are compiled for each platform, platform specific parts are guarded internally, no need to duplicate the logic on the make level. 2009-08-09 16:50 UTC+0200 Viktor Szakats * contrib/hbtpathy/tpwin.c * contrib/hbtpathy/tpos2.c * contrib/hbtpathy/tpunix.c * contrib/hbtpathy/telepath.prg * contrib/hbtpathy/tpcommon.c + Renamed all internal functions from P_*() to __TP_*() to comply with rest of Harbour and lessen chance of colliding with other code. It also makes it easier to identify them in code. I won't list this as an incompatibility as we're talking about internal functions, so no user code is supposed to use these. + Added compatibility wrappers for Telepath(y) functions: BIN_AND(), BIN_OR(), BIN_XOR(), BIN_NOT(). 2009-08-09 16:35 UTC+0200 Viktor Szakats * contrib/hbtpathy/Makefile - contrib/hbtpathy/tplinux.c + contrib/hbtpathy/tpunix.c * contrib/hbtpathy/tpcommon.c * contrib/hbtpathy/tpwin.c * contrib/hbtpathy/tpos2.c * contrib/hbtpathy/telepath.prg * contrib/hbtpathy/hbtpathy.hbc + Enabled for all *nix systems (was only linux and darwin). I don't know if it works on all *nix systems, but it should be our goal. We will see. Please test. % Using HB_CRC32() in core instead of reimplementing it locally. ! P_CTRLCTS() dummy now returns proper type. + P_OUTFREE() implemented for Windows platforms. + P_ISDCD(), P_ISRI(), P_ISDSR(), P_ISCTS() implemented for Windows platforms. (ideas taken from hbwin) Neither of these were tested, but it's a start. + P_INFREE() added for Windows and OS/2. Only clean compilation was tested. + TP_INFREE() added. * Some formatting. * contrib/hbwin/win_prt.c + Some extra safety. 2009-08-09 13:38 UTC+0200 Viktor Szakats * contrib/hbtpathy/telepath.prg ! Fixed tp_open() to not add numeric port to passed portname. It's now only added to portname if it's not passed and default is used. On darwin, the portname isn't necessarily ending with a number. 2009-08-09 12:53 UTC+0200 Viktor Szakats * contrib/hbtpathy/hbtpathy.hbc ! Added darwin to supported platforms. * contrib/hbwin/win_tprt.prg * contrib/hbwin/oleauto.prg * contrib/hbwin/axfunc.prg * Formatting. 2009-08-09 11:07 UTC+0200 Viktor Szakats * source/rtl/rat.c ! HB_RAT() fixed to not ignore nEnd parameter if it's out of bound. In such case it will now return zero ("not found"). Mindaugas, please verify if this is what you proposed. 2009-08-09 10:26 UTC+0200 Viktor Szakats * contrib/gtwvg/gtwvg.hbc ! Fixed missing incpaths= line. * contrib/gtwvg/tests/demowvg.prg - contrib/gtwvg/tests/test.dbf * contrib/hbtip/tests/dbtohtml.prg - contrib/hbtip/tests/test.dbf ! Fixed to use central test.dbf instead of duplicating it. 2009-08-09 10:14 UTC+0200 Viktor Szakats * contrib/hbxbp/tests/demoxbp.prg * Added hb_DirBase() to local file references, to make these work when no run from its own directory. ! Using test.dbf in tests. - contrib/hbxbp/tests/test.dbf - Deleted duplicated test.dbf. * contrib/hbtip/client.prg * HAVE_OPENSSL -> HAS_OPENSSL * contrib/hbwin/olecore.c * source/rtl/cdpapi.c * Minor formatting. 2009-08-08 17:01 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbxbp/xbpbrowse.prg + Implemented ::vScroll | ::hScroll | ::cursorMode Xbase++ documentation suggests that changing these instance variables required ::configure() be called explictly, but I have implemented that the next stablization loop automatically take care of it. Suggestions ? * contrib/hbxbp/xbpstatic.prg ! Changed the way XBPSTATIC_TYPE_LINE* orientation is established. Note that Xbase++ draws diagonal lines as well but in Qt it cannot be attained. * contrib/hbxbp/tests/demoxbp.prg + Rearrangeements of objects in tab pages. As the need for more space was growing tab-pages now occupy the whole ::drawingarea and rest of the controls are now children of them. ! Demonstrated new instance variables implementation of XbpBrowse(). 2009-08-09 01:44 UTC+0200 Viktor Szakats * INSTALL * config/global.cf * config/rules.cf * config/dos/watcom.cf * config/win/watcom.cf * config/os2/watcom.cf + Added HB_BUILD_UNICODE=yes[|no] option to control UNICODE builds on win/wce platforms. 2009-08-09 01:35 UTC+0200 Viktor Szakats * config/global.cf + Added build presets based on some predefined HB_BUILD_NAME values: HB_BUILD_NAME=.r RELEASE HB_BUILD_NAME=.rx RELEASE C++ HB_BUILD_NAME=.ru RELEASE UNICODE HB_BUILD_NAME=.rux RELEASE UNICODE C++ HB_BUILD_NAME=.d DEBUG HB_BUILD_NAME=.dx DEBUG C++ HB_BUILD_NAME=.du DEBUG UNICODE HB_BUILD_NAME=.dux DEBUG UNICODE C++ ; Initial/experimental commit, names may change yet. * external/sqlite3/Makefile * external/libhpdf/Makefile * external/libpng/Makefile % Minor opt. 2009-08-09 01:09 UTC+0200 Viktor Szakats * contrib/hbwin/win_prt.c % Optimized out port name from port structure. 3 KiB runtime space saving. 2009-08-09 01:01 UTC+0200 Viktor Szakats * contrib/hbwin/win_tprt.prg * contrib/hbwin/win_prt.c + Extended max number of ports to Windows platform limit: 256 (from 32). % Changed the way port structure is handled. Now the port name is initalized on port opening, so the redundant static port table initialization could be dropped. This reduces lib footprint in executables. (could still be optimized to also address runtime footprint) % Merged s_PortData and s_PortData2 structures. % Type cleanup. static vars converted to long (from int), DWORD casts added, hb_par/hb_stor functions modified. + ::Init() method extended to handle 6th and 7th params. - Deleted ::Buffer() method which was a wrapper to WIN_PORTBUFFERS(). 2009-08-09 00:14 UTC+0200 Viktor Szakats * contrib/hbwin/win_tprt.prg * contrib/hbwin/win_prt.c + ::Recv() got a new second parameter to return result code. + WIN_PORTFCN() now requires port number to be passed as 1st param. + WIN_PORTERROR() now requires port number to be passed as 1st param. * Renamed function WIN_PORTFCN() to WIN_PORTFUNCLAST() + Fixed last port operation and last error to be stored per port rather than in global vars. This makes it possible to use multiple ports in parallel. - Deleted WIN_PORTBUFFERS() which wasn't MT friendly. + WIN_PORTOPEN() function got enabled 6th and 7th inbuffer/outbuffer parameters. This replaces WIN_PORTBUFFERS() function. + Added WIN_PORTRECV() function which is similar to WIN_PORTREAD() but returns the result directly rather than putting it in a var passed by reference. It accepts length parameter and return result code by reference. It's a little bit more effient than WIN_PORTREAD(). % Some if/else branches swapped to make code a little smoother. * contrib/hbwin/olecore.c + Attempt to add vars by reference support. Commented until there is no test code to try it. * Minor formatting. * contrib/xhb/hbserv.h * contrib/xhb/htmlform.ch * contrib/xhb/inet.h * contrib/xhb/hblognet.prg * contrib/xhb/tfile.prg * contrib/xhb/html.ch * contrib/xhb/tedit.prg * contrib/xhb/tframe.prg * contrib/xhb/htjlist.prg * contrib/xhb/xdbmodst.prg * contrib/xhb/htmlclrs.ch * contrib/xhb/thtm.prg * contrib/xhb/hterrsys.prg * contrib/xhb/tcgi.prg * contrib/xhb/regexrpl.prg * contrib/xhb/hbserv.ch * contrib/xhb/ttable.prg * contrib/xhb/hjwindow.prg * contrib/xhb/hbserv.c * contrib/xhb/htmutil.prg * Header formatting. ; NOTE: I noticed some xhb components have pure GPL license (recently added CGI parts), plus some other use some sort of xhb specific modification of original Harbour + exception license. This contains some sentence which doesn't seem to make much sense: "This exception applies only to the code released with this xHarbour explicit exception." FYI. * contrib/hbtpathy/telepath.prg * utils/hbmk2/hbmk2.prg * Minor formatting, comments. 2009-08-08 16:31 UTC+0200 Viktor Szakats * contrib/hbwin/win_tprt.prg % Simplified ::read() and ::recv(). * contrib/hbwin/win_prt.c ! Fixed functions returning values by reference to set the values also in error cases. ! Fixed memory leak in WIN_PORTREAD() in error case. 2009-08-08 13:19 UTC+0200 Viktor Szakats * bin/postinst.bat + Showing error message if HB_BIN_INSTALL is not set. * config/instsh.cf * "$(COMSPEC) /C" -> "$(CMDPREF)" 2009-08-07 23:43 UTC+0200 Maurilio Longo (maurilio.longo@libero.it) * config/globsh.cf ! fixed OS/2 section, os2-mkdir needs forward slashes as directory separators, not backslashes. * config/instsh.cf ! fixed OS/2 section, work around for OS/2 shell max line length. * config/os2/global.cf * BIN_EXT set to .exe 2009-08-07 12:35 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbxbp/appevent.ch * contrib/hbxbp/xbpbrowse.prg ! A thorough rewrite of XbpBrowse() class. The vertical navigation is based on TBrowse() class and hence XbpBrowse() via Qt will probably be the fastest GUI browser in the market in the sense that it has almost negligible memory overhead. * contrib/hbxbp/tests/demoxbp.prg ! Fine-tuned XbpBrowse() code confirming to latest changes. /* Finally I could achieve vertical navigation as per TBrowse without any memory overhead. Horizontal navigation stll needs a lot of work but in its simplest form it is working. Please play with vertical navigation and report on this list any differences you might found. XbpBrowse() truely follows Xbase++ event loop protocol. So it is possible that you can try real-life XbpBrowse code with Harbour-Qt. I am looking forward your support in this direction. Because it is taking my lot of time to understand the Qt's internal behavior of model/view programming, I am finding it hard to test all possible scenarios. Please make experiments with array bowsers, indexed browsers, etc. and provide feedback as much as possible. Enjoy */ 2009-08-07 12:30 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/qth/QAbstractItemView.qth ! Fixed one artifact causing limited sources. * contrib/hbqt/hbqt_slots.cpp * contrib/hbqt/hbqt_slots.h * contrib/hbqt/moc_slots.cpp * contrib/hbqt/QAbstractItemView.cpp * contrib/hbqt/TQAbstractItemView.prg + Added more event handlers. ! Fine tuned sub-classes. 2009-08-07 19:05 UTC+0200 Viktor Szakats * bin/postinst.cmd * bin/postinst.bat * bin/hb-mkdyn.bat ! Fixed to handle case when HB_*_INSTALL var is empty. Related features will be skipped in this case. * config/global.cf ! Don't try to set HB_*_INSTALL vars if HB_INSTALL_PREFIX is empty. 2009-08-07 18:18 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg * Minor formatting. * source/pp/Makefile * config/prg.cf * config/global.cf * config/bin.cf * config/globsh.cf * config/bsd/gcc.cf * config/bsd/global.cf * config/wce/msvcarm.cf * config/wce/global.cf * config/wce/mingwarm.cf * config/wce/poccarm.cf * config/rules.cf * config/darwin/gcc.cf * config/darwin/global.cf * config/hpux/gcc.cf * config/hpux/global.cf * config/dos/watcom.cf * config/dos/global.cf * config/dos/djgpp.cf * config/win/watcom.cf * config/win/icc.cf * config/win/cygwin.cf * config/win/global.cf * config/win/msvc.cf * config/win/xcc.cf * config/win/mingw.cf * config/win/pocc.cf * config/win/bcc.cf * config/linux/watcom.cf * config/linux/gcc.cf * config/linux/icc.cf * config/linux/global.cf * config/linux/sunpro.cf * config/os2/watcom.cf * config/os2/gcc.cf * config/os2/global.cf * config/sunos/gcc.cf * config/sunos/global.cf * config/sunos/sunpro.cf * EXE_* variables renamed to BIN_*. % BIN_EXT initialization moved to <arch>/global.cf. 2009-08-07 15:53 UTC+0200 Viktor Szakats * config/global.cf ! Minor fix to prev. 2009-08-07 15:47 UTC+0200 Viktor Szakats * config/global.cf + Added HB_COMPILER autodetection for darwin/hpux/bsd. 2009-08-07 11:59 UTC+0200 Viktor Szakats * contrib/hbtip/Makefile - contrib/hbtip/popcln.prg + contrib/hbtip/popcli.prg - contrib/hbtip/httpcln.prg + contrib/hbtip/httpcli.prg - contrib/hbtip/smtpcln.prg + contrib/hbtip/smtpcli.prg - contrib/hbtip/ftpcln.prg + contrib/hbtip/ftpcli.prg * Renamed 'cln' postfix to 'cli' which much better resembles to 'client' than old one which rather means 'clean'. 2009-08-07 11:55 UTC+0200 Viktor Szakats * source/rtl/filesys.c ! HB_FCREATE(): fixed FO_EXCL flag on win/wce platforms. It was ignored before. % Deleted some unnecessary casts. * contrib/hbtip/log.prg ! Fixed to avoid infinite loops when trying to create log file on a non-existing path. 2009-08-07 11:11 UTC+0200 Viktor Szakats * contrib/hbtip/Makefile + contrib/hbtip/log.prg * contrib/hbtip/popcln.prg * contrib/hbtip/sendmail.prg * contrib/hbtip/httpcln.prg * contrib/hbtip/client.prg * contrib/hbtip/smtpcln.prg * contrib/hbtip/ftpcln.prg + Reworked the way logging is done. Default case works similarly to the old one, but now logging can be overridden by passing a user defined codeblock. In fact that's what also happens in default case with codeblock using a simple new logging class included in hbtip which emulates old behaviour. ! Fixed race condition in log filename creation compared to old method. * sendmail*.log -> smtp*.log * <name>.log without counter in filename won't be created anymore. 2009-08-07 04:11 UTC+0200 Viktor Szakats * contrib/hbtip/sendmail.prg ! Raised timeout to 1000 from 100. This was the remaining error, now it should be okay. ; This means Harbour now support SMTP through SSL, which practically means "gmail support", Google Apps for Domain mailboxes also work. Remember to build hbtip with HAVE_OPENSSL option and link with hbssl lib + openssl libs. On *nixes this is a no-brainer. On Windows, OpenSSL either needs to be built from source, or pre-built binaries downloaded (from this file: https://www.slproweb.com/download/Win32OpenSSL-0_9_8k.exe from this link: https://www.slproweb.com/products/Win32OpenSSL.html) and linked. Due to usual chaos regarding lib names on Windows, default names in contrib\hbssl\hbssl.hbc may need to be adjusted to local environment. MinGW and MSVC are supported by OpenSSL on Windows for static linking, the .dll version should work for all compilers, I've only tested MinGW and MSVC though. + contrib/hbtip/tests/gmail.prg + Added simple test program to send mails through gmail. * bin/hb-mkimp.bat + Added some more location to look for OpenSSL .dlls. * contrib/hbssl/hbssl.hbc + Added support for rest of Windows compilers. * contrib/hbtip/smtpcln.prg ! Fix to Auth() to not eat extra input in case of an error. 2009-08-07 03:08 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added support for windres resource compiler for os2/gcc. (untested) + Minor step to support os2/gcc cross-compilation on Linux. 2009-08-07 02:48 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fixed to ignore filtered -gt switches (like -gtxwc{unix}) without warning message. + Some small steps towards adding sunpro[64] support to hbmk2. % Merged watcom compiler support code for different platforms. (option casing also synced) ! Added "{LS}" (resources) to os2/watcom compiler command-line. ! Added -bt=os2/nt to resource compiler command-line for watcom. + Added '-p=64' option to win|os2|dos/watcom lib command-line. + Added '-q' option to watcom wlib/wrc command-lines. ! Fixed debug linker option for watcom. * config/dos/watcom.cf * config/win/watcom.cf * config/linux/watcom.cf * config/os2/watcom.cf + Added doc link to wlib tool. * Synced link option casing with each other and hbmk2. % Deleted 'export DOS4G=quiet' for win and os2. * config/global.cf + Minor cosmetic. 2009-08-06 15:39 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + In incremental (-inc) mode .c and .rc stubs are now created inside workdir and kept there for consecutive build runs. They are only recreated if necessary. This means that -gt, -main= and -icon options work well with -inc mode, and won't anymore force linking on each run. * All stubs will be recreated in -rebuild mode. * Above stubs will be deleted in -clean mode. (except vcshead and tshead) 2009-08-06 11:17 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fixed escaping icon filenames in automatically generated .rc files when using -icon option. 2009-08-05 15:12 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Deleted -MTd win/msvc compiler switch in -debug mode to leave it to the default settings and give users full control of this setting. ; QUESTION: Does debug mode still works in MSVC after above change? 2009-08-05 10:05 UTC+0200 Viktor Szakats * bin/postinst.sh * make_gnu.sh + config/linux/sunpro64.cf * config/linux/sunpro.cf * config/sunos/sunpro64.cf * config/sunos/sunpro.cf ; Applyied patch by Tamas Tevesz. ! Fixes for Sun Pro so generation. + Added sunpro64.cf for linux. + Added HB_ISAOPT variable to hold ISA selection switches. + Added $(HB_CCPATH)$(HB_CCPREFIX) to sunos/sunpro.cf to CC/LD. ! Typo in make_gcc.sh (== -> =) 2009-08-05 09:38 UTC+0200 Viktor Szakats * ChangeLog ! Typos in recent entries. * source/common/hbver.c * Cosmetic patch by Tamas Tevesz. + config/readme.txt + Added readme.txt to include license and links to included binaries and sources. ; It'd be probably better to delete all these binaries (GNU Makes are only there for convenience), but then 'mkdir -p' and 'rm -f -r' commands need to be hacked somehow for DOS and OS/2 shells. Also a proper copy cmd is needed for DOS. Maybe we should simple write these simple utilities using a public domain license and include the binaries of these. Couldn't find the source code for the OS/2 tools' binary releases. * config/mingw32-make.exe * config/dj-rm.exe * config/dj-cp.exe * config/dj-mkdir.exe * Updated to match the exact binaries referred to in readme.txt. (no change in functionality or version numbers) 2009-08-04 23:34 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/generator/qt45.qtp + contrib/hbqt/qth/QFontMetricsF.qth + contrib/hbqt/qth/QStyleFactory.qth * contrib/hbqt/hbqt.h * contrib/hbqt/Makefile_gen + contrib/hbqt/QFontMetricsF.cpp + contrib/hbqt/QStyleFactory.cpp + contrib/hbqt/TQFontMetricsF.prg + contrib/hbqt/TQStyleFactory.prg + Added two more classes. 2009-08-04 19:43 UTC+0200 Viktor Szakats * source/pp/pplib.c * source/compiler/hbstripl.c + Added HB_EXTERN_BEGIN/END plus explicit declaration of some static functions to make SunPro C++ mode happy. There are still *tons* of warning messages, most of them complaining about function declaration 'extern "C"' and const differences, even in Harbour generated C code. These fixes are experimental and address just the tip of the iceberg. Please review me. * contrib/hbwin/wapi_winbase.c + Added WAPI_FORMATMESSAGE(). Unicode support implemented, but not tested, last parameter not implemented. This should replace limited FORMATMESSAGE() implementation found in win_prt.c. * contrib/hbwin/hbwin.ch * contrib/hbwin/win_tprt.prg * contrib/hbwin/tests/testprt1.prg * contrib/hbwin/tests/testprt2.prg * contrib/hbwin/win_prt.c * Functions and class renamed to have 'win_' prefix (was: 'win'). (INCOMPATIBLE) % Other minor cleanups. + WIN_PORTOPEN() returns -1 if the port number was out of range, so MAXSERIAL constant could be elminiated. % INVALID_HANDLE_VALUE constant is in reality an explicit -1 used by low-level lib layer, so I've eliminated it, and high-level lib layer also uses plain -1 now. Could be replaced by some macros, but it shouldn't use a Windows specific name. - Deleted FORMATMESSAGE(). * Using WAPI_FORMATMESSAGE() instead of local FORMATMESSAGE(). (they are not compatible) * contrib/hbwin/wce_smsc.c ! Added FIXME for an lstrcpy() function. This is unsafe and can easily cause buffer overrun. Until someone fixes this properly, I've added a workaround where input string length is checked to be smaller than approriate buffer size. Only compilation was tested using poccarm, I have no WinCE device. Thanks to Tamas Tevesz for pointing to this problem. Jose, please have a look at it. * contrib/hbwin/olecore.c * Minor formatting. 2009-08-04 14:59 UTC+0200 Viktor Szakats * source/rtl/gtsln/kbsln.c ! Silenced linux/sunpro warning. * config/linux/sunpro.cf ! Minor fix. 2009-08-04 12:41 UTC+0200 Viktor Szakats * contrib/hbtpathy/tpwin.c * contrib/hbtpathy/ChangeLog * contrib/hbtpathy/telepath.prg * Formatting. + Added some dummy functions to at least make the win version link properly. It didn't work for me though. * contrib/hbwin/win_tprt.prg * contrib/hbwin/win_prt.c * Formatting. * Added Hungarian notation to variable names. ! Tweaked a few types. ! Fixed to not GPF when wrong port number is passed. Instead RTE is generated now. + Extended number of ports to 32 (from 16). E.g. on my system the Nokia phone gets installed on COM22. ; TODO: Rename functions/class to comply with rest of lib. [DONE] 2009-08-04 03:44 UTC+0200 Viktor Szakats * source/vm/fm.c ! Fixed linux/sunpro warning. 2009-08-04 03:38 UTC+0200 Viktor Szakats * config/linux/sunpro.cf * config/sunos/sunpro.cf ! Fixed bug I've mistakenly added when applying the patch. 2009-08-04 03:32 UTC+0200 Viktor Szakats * source/vm/dynlibhb.c ! Fixed to not use dl*() functions on linux/sunpro. * config/linux/sunpro.cf ! Fixed to include gpm lib. ; FIXME: linux/sunpro linking dies on: ../../../../../lib/linux/sunpro/libhbpcre.a(pcrecomp.o): In function `check_auto_possessive': pcrecomp.c:(.text+0x2952): undefined reference to `.CG4A.3263' pcrecomp.c:(.text+0x2959): undefined reference to `.CG4A.3263' pcrecomp.c:(.text+0x2b29): undefined reference to `.CG40.3253' pcrecomp.c:(.text+0x2b30): undefined reference to `.CG40.3253' 2009-08-04 03:18 UTC+0200 Viktor Szakats * contrib/hbqt/hbqt_slots.cpp ! Deleted windows.h. * include/hbsetup.h + PPC CPU detection made better. * include/hbatomic.h * source/vm/maindllp.c * source/rtl/gttone.c + Using HB_CPU_* macros to detect CPU instead of compiler specific solutions. Przemek, please review me. * source/vm/maindllp.c % Using hbver.h constants to form the version number included in the .dll name. So it's now maintainence free. % Reduced redundancy when forming .dll names. * source/vm/maindllp.c * utils/hbmk2/hbmk2.prg * Renamed wce .dll to harbour[mt]-20-wce-arm.dll * Renamed non-ARM wce .dlls to harbour[mt]-20-wce.dll * INSTALL + config/linux/sunpro.cf + Added Sun Studio compiler support for Linux platforms. Thanks Tamas Tevesz for the tip that this port exists. It has various problems to fix, but it's a start. * config/sunos/sunpro.cf ! Typo in prev commit. 2009-08-03 18:00 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/generator/qt45.qtp * contrib/hbqt/qth/QAbstractItemModel.qth + contrib/hbqt/qth/QFontMetrics.qth * contrib/hbqt/qth/QSize.qth * contrib/hbqt/hbqt_slots.cpp * contrib/hbqt/Makefile_gen * contrib/hbqt/QAbstractItemModel.cpp + contrib/hbqt/QFontMetrics.cpp * contrib/hbqt/QSize.cpp * contrib/hbqt/TQAbstractItemModel.prg * contrib/hbqt/TQFontMetrics.prg + Added one more class and updated others. 2009-08-04 01:25 UTC+0200 Viktor Szakats * include/hbdefs.h ! Further tweaked HB_STRICT_ALIGNMENT detection by using HB_CPU_* macros. Please review and extend/tweak if needed. * include/hbdefs.h * include/hbsetup.h * include/hbinit.h * source/vm/fm.c * source/common/hbver.c * config/sunos/sunpro.cf + Patch for Sun support by Tamas Tevesz. - SunPro compiler C++ mode support. - HB_STRICT_ALIGNMENT config refinement for Sun platform. - SunPro compiler version detection will detect raw version number for newer releases. - SunPro optimization flag tweaks for C/C++ mode. Trying to be Blastwave.org compatible as much as possible. - LD_OUT -o option tweak for SunPro. ; NOTE: -o option should better be revised for all supported [gcc] compilers to have space between it and the filename. * source/vm/extrap.c + Changed to use HB_CPU_* macros instead of using compiler specific ones. 2009-08-04 00:33 UTC+0200 Viktor Szakats * INSTALL * Minor. * config/global.cf + Added screen dump of build settings. Initial version, only settings having standard names are being shown. + Added some new links to comment. ! Fixed $(info ...) usage protection. * Makefile % Using ':=' assignments where possible. ! Fixed to choose OS/2 postinst script based on shell, not HB_ARCHITECTURE. * Indentation. * make_gnu.bat + Added alternative GNU Make executable names in comment. * source/compiler/cmdcheck.c + Added support for --help command-line option. * config/dir.cf * Indentation. 2009-08-02 09:05 UTC+0200 Viktor Szakats * bin/postinst.sh * source/common/hbver.c ! Minor fixes to SunPro compiler support by Tamas Tevesz. * contrib/xhb/Makefile + contrib/xhb/htmlform.ch + contrib/xhb/tfile.prg + contrib/xhb/html.ch + contrib/xhb/tedit.prg + contrib/xhb/tframe.prg + contrib/xhb/htjlist.prg + contrib/xhb/htmlclrs.ch + contrib/xhb/thtm.prg + contrib/xhb/hterrsys.prg + contrib/xhb/tcgi.prg + contrib/xhb/cgi.ch + contrib/xhb/hjwindow.prg + contrib/xhb/htmutil.prg + Added cgi library borrowed from xhb. ! Warning fixes. * Cleanups applied here and there. 2009-08-01 21:07 UTC+0200 Viktor Szakats * config/globsh.cf ! Minor fix to OS/2 shells. Bug introed today. 2009-08-01 21:00 UTC+0200 Viktor Szakats * config/global.cf % Some more opt. Rules are very clean and simple now without redundancy. In fact only one line has be changed to move away bin/lib/obj workdirs. There are no more hidden dependencies on the dir names or layout. 2009-08-01 20:56 UTC+0200 Viktor Szakats * config/global.cf % Minor opt/cleanup. 2009-08-01 20:52 UTC+0200 Viktor Szakats * config/global.cf - Cleaned 3 lines left there by mistake. 2009-08-01 20:49 UTC+0200 Viktor Szakats * INSTALL * utils/hbmk2/hbmk2.prg * config/global.cf + Little bit changed the meaning of HB_BUILD_NAME. It's now simply appended to <arch>/<comp> value. So, to create '<arch>/<comp>.<bld>' style names HB_BUILD_NAME=.dbg can be used. This will result in the flattest dir structure. To create a subdir, this can be used: HB_BUILD_NAME=/dbg. To create a dir structure: HB_BUILD_NAME=/dbg/cpp + GRANDP variable is now automatically calculated. * config/sunos/sunpro.cf ! Minor typo. 2009-08-01 20:24 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbsetup.h * harbour/include/hbthread.h * harbour/include/hbatomic.h * harbour/source/vm/thread.c * added support for MT mode in WinCE builds using raw MS-Windows API instead of CRTL wrappers. It's possible that it may badly interact with some CRTLs functions we are using in our code so I do not know it will work. Please test. 2009-08-01 19:49 UTC+0200 Viktor Szakats * config/global.cf * Changed HB_BUILD_SUBDIR to HB_BUILD_NAME. ! HB_BUILD_NAME fixes after initial testing. Should be okay now. * INSTALL + Documented new HB_BUILD_NAME setting. * utils/hbmk2/hbmk2.prg * utils/hbmk2/hbmk2.pt_BR.po * utils/hbmk2/hbmk2.hu_HU.po + Added support for -build= option. This is similar to HB_BUILD_NAME when building Harbour. Also added ${hb_build} macro. 2009-08-01 17:48 UTC+0200 Viktor Szakats * contrib/xhb/hblog.prg + Added HB_LogConsole:Out() method from xhb. + Added HB_LogDbf() class from xhb. ! Applied fix recently committed to xhb. Harbour version uses different (clean) method. * contrib/xhb/hblog.prg * contrib/xhb/hblognet.prg * contrib/xhb/stream.prg % Updated code to not require hbcompat.ch. Please test. * contrib/xhb/trpccli.prg * contrib/xhb/hblognet.prg * contrib/xhb/hblog.prg * contrib/xhb/trpc.prg * contrib/xhb/cstruct.prg % Updated code to not require xhb.ch. Please test. ; No more xhb lib code requires these compatibility headers. 2009-08-01 16:56 UTC+0200 Viktor Szakats * INSTALL * bin/postinst.sh * source/vm/fm.c * source/common/hbver.c + config/sunos/sunpro64.cf * config/sunos/sunpro.cf * ChangeLog + Applied second SunPro patch sent by Tamas Tevesz. Addressed these former TODOs: + Added sunpro64 target. + Finalized C compiler options (including warning level settings). + Added compiler identification code to hbver.c. + dynamic lib creation. * utils/hbmk2/hbmk2.prg ! Fixed RTE when run on sunos. Needs further work to discover how it could run onto that codepath, normally it shouldn't. * bin/postinst.sh % Cleaned a few remaining 'gpp' HB_COMPILER value checks. 2009-08-01 15:35 UTC+0200 Viktor Szakats * config/global.cf * config/lib.cf * config/bin.cf * config/globsh.cf * config/instsh.cf * config/none.cf * config/dirsh.cf ! Using embedded GNU Tools on OS/2. This fixes the install dir creation problems (at least makes it work like on other platforms). Fixes HB_BUILD_SUBDIR support. It also allowed to remove all remaining hacks to try to create dirs for platforms where 'mkdir -p' equivalent isn't available. Probably it would be better to solve this using some GNU Make tricks, but couldn't find one yet. % Using native DOS commands for RM and MD. (MD is not used currently) * EXE_DIR, LIB_DIR moved to global.cf % Deleted (I hope) unnecessary $(CMDPREF) variables. If someone knows what was the purpose of them, we can readd them, but we should then readd them to all shell types and all commands consistently. ! Fixed nt dir walking rule for old GNU Make versions. + config/os2-rm.exe + Added OS/2 GNU rm binary. 2009-08-01 14:43 UTC+0200 Viktor Szakats * config/global.cf + Minor improvements. ; NOTE: I was experimenting how to return HB_COMPILER and HB_ARCHITECTURE values from GNU Make to caller batch/script. So far no success. Help/ideas would be much appreciated. This would be needed to fully switch to GNU Make level arch/comp detection, since these values are also needed by make_gnu*.*, mpkg_gnu.* scripts. * source/rtl/hbinet.c * Renamed iErrorCode to iError. 2009-08-01 12:40 UTC+0200 Viktor Szakats * config/header.cf * config/rules.cf * config/none.cf * config/global.cf * config/doc.cf * config/lib.cf * config/bin.cf * config/dir.cf * config/test.cf + Added HB_COMPILER and HB_ARCHITECTURE autodetection. It's experimental yet. + Added support for HB_BUILD_SUBDIR envvar which can extend the <arch>/<comp> path by arbitrary subdir(s). Useful to keep custom binary builds in parallel, e.g. release/debug, cpp/c, cpu targets. Notice that hbmk2 will not be able to use such customized directory structure yet, but there'll probably be a command-line option for that in the future (it won't/can't be automatic). Notice, this feature doesn't work yet on OS/2 because the shell doesn't support 'mkdir -p' equivalent. * Cleaned internal ARCH_COMP var usage. % Deleted SOURCE_DIR usage, it was a no-op. * make_gnu.bat ! Fixed autodetection of mingwarm. ; Autodetection code will have to be deleted from here anyway. + config/os2-mkdir.exe + Added OS/2 GNU mkdir executable. (not yet used) * examples/superlib/superlib.dif + Added 'const'. * source/rtl/hbinet.c ! Fixed to use hb_retc() to return hb_socketErrorStr() value. 2009-07-31 13:21 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbthread.h ! unblocked MT compilation for WinCE 2009-07-31 12:33 UTC+0200 Viktor Szakats * source/rtl/hbinet.c % Minor internal type cleanup. 2009-07-31 12:29 UTC+0200 Viktor Szakats * source/rtl/hbinet.c % Cleaned old error description handling logic. Now the error desc is dynamically retrieved instead of being stored along the error code. 2009-07-31 11:58 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/hbinet.c ! fixed typo in received bytes calculation. It was reported as warning in BCC builds - thanks to Enrico. 2009-07-31 11:35 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/ChangeLog ! small fix in previous commit description 2009-07-31 11:31 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/hbinet.c ! modified hb_inetRecv[All]() to always return number of bytes read if at least one byte was successfully read just like in documentation so it's not longer necessary to use hb_inetCount() to check real number of read bytes. On error they return -1 and 0 when foreign host closed connection. ! modified hb_inetSend[All]() to always return number of written bytes if at least one byte was successfully written so it's not longer necessary to use hb_inetCount() to check real number of written bytes. On error they return -1. ! modified hb_inetRecvLine() to return "" on errors and always set numeric value with error code or number of bytes read in 2nd parameter passed by reference ! modified hb_inetDataReady() to return -1 instead of .F. to indicate errors when socket is not open socket ! modified hb_inetRecvLine() and hb_inetRecvEndBlock() to work like in documentation and set in 2nd parameter passed by reference the size of read line with line terminator, -1 on error and 0 when foreign host closed connection. ! modified hb_inetRecvEndBlock() to always use default EOL when there is no not empty string in passed string parameter or passed array with line terminators ! fixed some small differences between hb_inetRecvLine() and hb_inetRecvEndBlock() ! fixed returned values in hb_InetDGramSend() and hb_InetDGramRecv() to be synced with documentation * minor: modified hb_inetRecvEndBlock() to use as default EOL s_inetCRLF instead of hardcoded "\r\n" * eliminated some redundant code + added automatic socket initialization in windows builds % added support for read ahead buffer in hb_inetRecvLine() and hb_inetRecvEndBlock() and updated other functions which may interact with it. It greatly improved the speed of code which extensively uses above functions. Warning!!! Above modifications may force updating other code which used some undocumented hb_inet*() functions behavior i.e. some side effects in previous implementation. Please update your code if necessary. * harbour/doc/inet.txt ! modified hb_inetAccept() documentation wrongly describing value returned on error when it's NIL * harbour/config/os2/watcom.cf ! fixes for real OS2 command processor - please test 2009-07-31 11:09 UTC+0200 Viktor Szakats * include/hbdefs.h * include/hbsetup.h * include/hbinit.h * source/vm/fm.c + config/sunos/sunpro.cf + Added first round of Sun Pro (Sun Studio) compiler support. Contribution of Tamas Tevesz. ; TODO: + Add other Sun Pro CPU targets. [DONE] * Finalize __inline keyword usage. (currently in fm.c) Przemek, could you take a look at it? [OKAY] ! Fix warning option. [DONE] + Add compiler identification code to hbver.c. [DONE] + hbmk2 support. + dynamic lib creation. [DONE] * utils/hbmk2/hbmk2.prg * Minor rename. * contrib/hbclipsm/gauge.c % Minor opt, plus removed cast. * contrib/hbwin/wce_smsc.c * contrib/hbwin/wce_sim.prg * Minor formatting. 2009-07-31 10:26 UTC+0200 Francesco Saverio Giudice (info/at/fsgiudice.com) * harbour/examples/httpsrv/uhttpd.prg * Uploaded Handler_HrbScript() changes missed in previous upload. I need vacations! 2009-07-31 10:16 UTC+0200 Francesco Saverio Giudice (info/at/fsgiudice.com) * harbour/Changelog * fixed wrong month in previous updates * harbour/examples/httpsrv/uhttpd.prg * Fixed readRequest() and Handler_HrbScript() functions as per Przemek suggestions. Thank you. 2009-07-30 18:56 UTC+0200 Francesco Saverio Giudice (info/at/fsgiudice.com) * harbour/Changelog * minor fix to previous entry 2009-07-30 18:49 UTC+0200 Francesco Saverio Giudice (info/at/fsgiudice.com) * harbour/examples/httpsrv/uhttpd.prg * Added some hb_ToOutDebug() points garded from DEBUG_ACTIVE define for debugging purpose * harbour/examples/httpsrv/modules/showcounter.prg * harbour/examples/httpsrv/modules/tableservletdb.prg * fixed path for current directory * harbour/examples/httpsrv/cookie.prg * fixed error on deleting cookie 2009-07-30 12:00 UTC+0200 Viktor Szakats * contrib/hbwin/Makefile + contrib/hbwin/hbsim.ch + contrib/hbwin/wce_simc.c + contrib/hbwin/wce_smsc.c + contrib/hbwin/wce_sim.prg + contrib/hbwin/tests/testsim.prg + Added SIM reading and SMS sending interfaces for WinCE. This is a contribution from Jose Luis Capel. Many thanks for it. ; NOTE: mingwarm doesn't support these APIs unfortunately, poccarm does, and msvcarm as well, but I couldn't try the latter. (I've applied formatting, cleanups and some minor fixes) Jose and all, please review and test. * examples/httpsrv/uhttpd.prg * examples/httpsrv/uhttpd.hbp * examples/httpsrv/readme.txt % Given less focus on the socket selection issue. Now the only difference is .prg level API and local API is fully portable. * Made the proprietary one the default on all platforms. (it looks much more obvious/simple to use, also requires less STATIC variables) * contrib/hbwin/win_misc.c ! Fix for WinCE. * ChangeLog ! Typos. 2009-07-30 08:48 UTC+0200 Viktor Szakats * source/common/hbdate.c + Enhancement to hb_timeUTCOffset(). (using thread safe version of gmtime() where available, and precisely checking tm_isdst). Thanks to Przemek. 2009-07-30 06:59 UTC+0200 Viktor Szakats * source/common/hbdate.c ! Refixed for HB_HAS_LOCALTIME_R. 2009-07-30 06:48 UTC+0200 Viktor Szakats * source/common/hbdate.c ! Fixed typos in last modif. 2009-07-30 06:35 UTC+0200 Viktor Szakats * source/common/hbdate.c ! Fixed for some systems where tm->tm_gmtoff isn't available. (like sunos). Thanks to Tamas Tevesz for report and pointer. * contrib/rddads/adsfunc.c + ADSCREATESAVEPOINT() ADSROLLBACKSAVEPOINT() Added support for 3rd optional parameter on Harbour level. * include/hbapi.h * source/vm/extend.c + hb_parnidef(), hb_parnldef() to give a faster and shorter alternative to HB_ISNUM( x ) ? hb_parn[i|l]( x ) : <value> construct, which quite often occure in C interface code. We may also add an hb_parl() version which returns TRUE, this covers most real-life usages. * examples/uhttpd2/socket.c * examples/httpsrv/socket.c % Deleted local hb_parnidef() wrapper. 2009-07-30 00:43 UTC+0200 Viktor Szakats * include/hbextern.ch * source/rtl/dateshb.c + Added HB_UTCOFFSET() -> <nSecs> core function to return UTC offset as signed number in seconds. * contrib/hbwin/win_misc.c + Copied WIN_SYSREFRESH() from httpsrv. Bit reworked (types, goto, 64-bit compatibility, unnecessary outer loop), pls review. * examples/httpsrv/uhttpd.hbp - examples/httpsrv/uhttpdc.c * examples/httpsrv/uhttpd.prg * HB_UTCOFFSET() renamed to UHTTPD_UTCOFFSET() and rewritten as .prg. ! Using __PLATFORM__WINDOWS to enable WIN_SYSREFRESH() calls. 2009-07-29 23:46 UTC+0200 Viktor Szakats * include/hbdate.h * source/common/hbdate.c * contrib/hbtip/utils.c * examples/httpsrv/uhttpdc.c + Added hb_timeUTCOffset( void ) -> long (in seconds) % Using hb_timeUTCOffset() in TIP_TIMESTAMP() and HB_UTCOFFSET(). These functions can now be implemented on .prg level if we add a .prg level wrapper for hb_timeUTCOffset(), but I have no good idea which format to use to return this value, so maybe simple signed number of seconds. 2009-07-29 22:28 UTC+0200 Viktor Szakats * contrib/hbtip/utils.c * contrib/hbtip/tests/tiptime.prg ! Reworked TIP_TIMESTAMP(): ! Applied fix from xhb. (with cleanups/optimizations and without newly introduced bug) + Added support for DATETIME type as first parameter. (at the same time second numeric time parameter is deprecated) % Simplified code, more optimal API/memory usage. * Second parameter will always override default time, if passed. This is a little bit different, but more natural behavior than before. + Replaced meaningless test code with some better one. ; NOTE: We should probably add some core functions to detect TZ offset. * examples/httpsrv/uhttpdc.c ! Applied above fix/cleanups to HB_UTCOFFSET(). * source/common/hbdate.c * Minor formatting. 2009-07-29 18:03 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg * Minor formatting. 2009-07-29 17:46 UTC+0200 Viktor Szakats * source/vm/dlmalloc.c ! Restored 2.8.3. Huge amount of warnings (all Windows compilers), compile time (pocc, watcom) and build time (mingw) errors, incompatibility with fm.c parts, with 2.8.4, so I opted to revert. I hope someone will give it another go, as it should provide better MT performance on Windows, unfortunately this feature doesn't seem to be well tested at this point. * config/lib.cf ! Fix dir creation for hbpp executable with os2 shells. 2009-07-29 11:53 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/hbsocket.c ! fixed interface settings for multicast in IPv6 - in IPv6 interface indexes are used instead of addresses 2009-07-29 11:08 UTC+0200 Viktor Szakats * source/rtl/gtcrs/gtcrs.c + Utilizing write return values and returning success from low level write functions to satisfy linux/gcc insisting on warnings. 2009-07-29 10:55 UTC+0200 Viktor Szakats * source/rtl/gtcrs/gtcrs.c ! Suppress Linux warnings complaining about dropping return values of write operations. 2009-07-29 10:22 UTC+0200 Viktor Szakats * source/rtl/hbsocket.c ! Added missing 'static'. 2009-07-29 09:37 UTC+0200 Viktor Szakats * source/vm/dlmalloc.c + Updated to 2.8.4 (from 2.8.3) Reapplied two local patches (the rest of local fixes were applied upstream): 2009-07-28 16:31 UTC+0200 Przemyslaw Czerpak 2009-03-30 22:17 UTC+0200 Przemyslaw Czerpak ; From the dlmalloc changelog: V2.8.4 Wed May 27 09:56:23 2009 Doug Lea (dl at gee) * Use zeros instead of prev foot for is_mmapped * Add mspace_track_large_chunks; thanks to Jean Brouwers * Fix set_inuse in internal_realloc; thanks to Jean Brouwers * Fix insufficient sys_alloc padding when using 16-byte alignment * Fix bad error check in mspace_footprint * Adaptations for ptmalloc; thanks to Wolfram Gloger. * Reentrant spin locks; thanks to Earl Chew and others * Win32 improvements; thanks to Niall Douglas and Earl Chew * Add NO_SEGMENT_TRAVERSAL and MAX_RELEASE_CHECK_RATE options * Extension hook in malloc_state * Various small adjustments to reduce warnings on some compilers * Various configuration extensions/changes for more platforms. Thanks to all who contributed these. 2009-07-29 05:19 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/hbsocket.c * force blocking IO on socket returned by accept() - on some system new sockets can inherit blocking IO flag from the listening socket 2009-07-29 04:24 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/hbsocket.c ! finished hb_socketResolveAddr() in systems where getaddrinfo() is not available 2009-07-29 00:50 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/hbsocket.c ! disabled inet_pton() and inet_ntop() in OS2 GCC builds. 2009-07-28 18:54 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/hbsocket.c * return -1 instead of 0 on timeout in hb_socketSend*() and hb_socketRecv*() functions 2009-07-28 18:22 UTC+0200 Viktor Szakats * bin/hb-func.sh * make_gnu.sh % Deleted crs/sln detection. Not needed anymore for hbmk.cfg generation. * config/global.cf ! Don't set DOC dir for *nix targets. 2009-07-28 18:21 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/hbsocket.c ! yet another mistake in select() sets I missed to fix in previous commit 2009-07-28 18:09 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg % Maybe I'm overlooking some scenarios, but I could simply drop the need for libdynhas= in hbmk.cfg. Now the required gtsln/gtcrs/gtxwc system libs will be automatically linked when these libs are selected by user (either by hbmk.cfg, .hbc or command-line/.hbp files). Tested on Darwin. I can add automatic addition of these system libs based on presence of corresponding Harbour libs if needed. Or maybe even better would be to never link these GTs to the Harbour dynamic lib. Please comment on this. ! Fixed to add external curses/X11/slang libs in -shared mode. Was needed on Darwin. + Linking pdcurses for gtcrs with dos/djgpp. 2009-07-28 18:10 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/hbsocket.c ! fixed stupid typo in S&R - I reverted select() socket sets in send()/recv() when I was modifying function names. It can be also an answer why it exploited some problems with hb_InetRecvLine() in Francesco code. 2009-07-28 17:56 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fixed typo in linker option when building shared executable. ! Deleted -multiply_defined suppress linker option when building shared executable. % Deleted some unused logic dealing with libdynhas option. 2009-07-28 17:52 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/hbsocket.c ! fixed typo in recent modification 2009-07-28 17:30 UTC+0200 Viktor Szakats * make_gnu.sh ! Restored old sln/crs detection code, to fix creation of hbmk.cfg. I'll try to remove the need for this content in hbmk.cfg, but I don't know how yet (maybe by checking for gtsln/gtcrs/gtxwc libs in lib dir would be the best, if they are there, we must assume the dynamic lib has them, too). This way hbmk2 setup becomes fully dynamic. 2009-07-28 17:21 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/hbsocket.c * accept NULL and empty string "" as default address (INADDR_ANY) in hb_socketInet?Addr() functions * harbour/source/rtl/hbinet.c % use NULL as default address in hb_socketInetAddr() 2009-07-28 16:31 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/dlmalloc.c * modified to compile in OS2 (tested only compilation with OpenWatcom, without real binaries tests) 2009-07-28 15:44 UTC+0200 Viktor Szakats * bin/postinst.bat * config/global.cf ! Fixed HB_BIN_COMPILE usage in postinst.bat. This variable wasn't exported, so parts of postinst.bat didn't work with cross-builds. Now HB_HOST_BIN_DIR is used instead, which got exported from global.cf. * INSTALL * Minor. 2009-07-28 14:37 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/gtcrs/Makefile * disabled from OS2 builds - if someone knows OS2 curses port then he can try to reenable it and update gtcrs code to compile with it. 2009-07-28 14:33 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/hvmall.c ! define INCL_* macros for OS2 builds which uses hvmall.c 2009-07-28 13:55 UTC+0200 Viktor Szakats * include/hbsocket.ch * include/hbsocket.h * source/rtl/hbsocket.c * source/rtl/hbinet.c * examples/uhttpd2/socket.c * examples/httpsrv/socket.c * Slightly renamed some constants to settle on a common prefix for all socket related ones: HB_SOCKET_* HB_SOCK_PF_* -> HB_SOCKET_PF_* HB_SOCK_AF_* -> HB_SOCKET_AF_* HB_SOCK_* -> HB_SOCKET_PT_* (for protocol types) HB_SOCK_IPPROTO_* -> HB_SOCKET_IPPROTO_* HB_SOCK_SHUT_* -> HB_SOCKET_SHUT_* HB_SOCK_FUNC -> HB_SOCKET_FUNC * contrib/hbtip/thtml.prg * Minor formatting. 2009-07-28 13:24 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/Makefile ! added hbextlng.ch * harbour/source/rtl/hbinet.c ! fixed broadcast addresses wrongly used as default 2009-07-28 12:37 UTC+0200 Viktor Szakats * source/rtl/hbinet.c * Struct member 'com' renamed to 'sd' to be in sync. 2009-07-28 12:24 UTC+0200 Viktor Szakats * include/hbsocket.h * contrib/hbssl/hbssl.c * source/rtl/hbsocket.c * source/rtl/hbinet.c * examples/uhttpd2/socket.c * examples/httpsrv/socket.c * HB_SOCKET_T -> HB_SOCKET * contrib/gtwvg/gtwvg.c * contrib/gtwvg/wvggui.c * source/rtl/gtstd/gtstd.c * source/rtl/filesys.c * source/rtl/gtpca/gtpca.c * source/rtl/gtwvt/gtwvt.c ! Added casts for msvc64. Some C RTL functions in msvc64 expects file handles as 'int's. The rest is some non-critical stuff. Now only size_t to int/ULONG warnings remain in hbrtl. ; FIXME: Plus these two: ../../../hbstrfmt.c(459) : warning C4244: 'argument' : conversion from '__int64' to 'ULONG', possible loss of data ../../../hbtoken.c(280) : warning C4244: '=' : conversion from '__int64' to 'ULONG', possible loss of data 2009-07-28 12:23 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/hbsocket.c * pacified MSVC64 warnings 2009-07-28 11:45 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/hbsocket.c % small improvement in INET6 broadcast address initialization enabled for all *nix builds, tested only with Linux and SunOS. 2009-07-28 10:45 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/hbsocket.c ! fixed timeout updating in non Linux builds * harbour/mpkg_rpm.sh ! test 'gd-devel' version number not 'gd' 2009-07-28 10:42 UTC+0200 Viktor Szakats * config/global.cf * config/globsh.cf + Moved $(DIRSEP) defaulting to global.cf for non-sh shells. * config/global.cf ! Reverted prev opt. $(DIRSEP) must be used as the values are exported and used in native script/batch files. 2009-07-28 10:26 UTC+0200 Viktor Szakats * make_gnu_os2.cmd * make_gnu.bat % Deleted defaulting of HB_*_INSTALL. Now done by make files. ; Same should be done for *nixes. * contrib/xhb/inet.h * Converted to a stub which shows error. This header was making public some local structures and functions which are no longer supported in Harbour. * contrib/xhb/inet.h * contrib/hbct/print.c * contrib/hbtpathy/tpwin.c * source/rtl/hbinet.c ! *WIN_32* -> *WIN* 2009-07-28 10:05 UTC+0200 Viktor Szakats * source/rtl/hbinet.c % Deleted _HB_SOCKET * [P]HB_SOCKET -> [P]HB_SOCKET_STRUCT ; This gives way to use HB_SOCKET as a public name. * Renamed Socket -> socket, Newsocket -> new_socket ; Generated code is verified to stay the same. 2009-07-28 09:13 UTC+0200 Viktor Szakats * source/pp/Makefile ! Do not install hbpp executable when HB_HOST_BUILD == 'lib'. Please verify me. * config/global.cf % Minor simplification to HB_*_INSTALL defaulting. * utils/hbmk2/hbmk2.prg * Minor formatting. 2009-07-27 23:42 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbxbp/xbp.ch * contrib/hbxbp/xbpbrowse.prg * contrib/hbxbp/xbpgeneric.prg * contrib/hbxbp/xbpwindow.prg + Implemented XbpBrowse() class - a work-in-progress. Still a lot more to go. * contrib/hbxbp/tests/demoxbp.prg + contrib/hbxbp/tests/test.dbf + Demonstrated XbpBrowse() implementation. NOTE: Current implementation is just a proof of concept that TBrowse or XbpBrowse like behavior can be simulated. But a lot more work is needed to reach the destination. Currently, data is fetched based on recno(). Qt's Model/View framework expects number of rows to be supplied at the begining and hence I could find only recno() to pull the row information. I have an idea how exact behavior can be simulated but that will need a lot of base work. So for now just play with what I could achieve. Also note that on the face value, pure Xbase++ code is working - headers, cell colors, colorblock, navigation, etc. Just study the code and you will know how difficult it was just to precieve how this could been achieved. Any suggestions in direction are welcome. 2009-07-27 23:36 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/generator/hbqtgen.prg + Added one more section <SUBCLASS> </SUBCLASS>. This holds .PRG code representing a subclass inherited from main class. .CPP code is held in hbqt_slots.cpp. * contrib/hbqt/qth/QAbstractItemModel.qth * contrib/hbqt/qth/QTableView.qth * contrib/hbqt/hbqt.ch * contrib/hbqt/hbqt.h * contrib/hbqt/hbqt_slots.cpp * contrib/hbqt/hbqt_slots.h * contrib/hbqt/moc_slots.cpp * contrib/hbqt/QAbstractItemModel.cpp * contrib/hbqt/QTableView.cpp * contrib/hbqt/TQAbstractItemModel.prg * contrib/hbqt/TQTableView.prg ! result of <SUBCLASS> </SUBCLASS> implementation. 2009-07-28 01:51 UTC+0200 Viktor Szakats * external/libhpdf/Makefile + Enabled for os2/watcom. * include/hbdefs.h * Minor addition to new type section. 'bool' is the new type for boolean, so maybe we should use them instead of hbBool/TRUE/FALSE. * source/rtl/hbsocket.c ! Added one 'static'. * Added one pair of parenthesis (formatting). * source/rtl/hbgtcore.c * source/rtl/hbsha1.c * contrib/hbwin/win_prt.c * Minor formatting. * contrib/xhb/xhbfunc.c + Added copyright holder for HB_F_EOF(). * contrib/hbssl/ssl.c ! Minor typo in comment. * contrib/hbssl/hbssl.h ! Added HB_EXTERN_BEGIN/HB_EXTERN_END. * config/global.cf + Added HB_UNIX_COMPATIBLE variable. + Setting default lib install dir to lib/<arch>/<comp> on non-*nix systems. * examples/httpsrv/socket.c + Copied from uhttpd2. Please verify. 2009-07-27 23:43 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbstack.h + added socket error codes to HB_IOERRORS * harbour/include/Makefile + harbour/include/hbsocket.ch + harbour/include/hbsocket.h * harbour/source/rtl/Makefile + harbour/source/rtl/hbsocket.c + added new BSD socket functions: hb_socket*(). They should be quite close to low-level C socket interface with few modifications which help to hide some platform differences. Unfortunately we do not use autoconf so I had to arbitrary set which features are available on some platforms. In practice it means that it reduces portability to older OS-es, i.e. it should work with current Linux versions but it will not without some modifications in macros used to control supported features with older Linuxes using kernel 2.2 or 2.0. The same can happen with other *nix ports like Darwin, SunOS, HP-UX or with different versions of some Windows compilers. I also do not know which functionality is available in OS2 GCC ports and I would like to ask OS2 users to make tests and disable not working features. We also need tests with HP-UX, Darwin and SunOS. IP6 support is enabled only in *nixes. If Windows users are interested in IP6 then please add support for it. Most of Windows compilers do not support standard POSIX functions so I do not want to make it myself using unknown for me API without testing. In *nix builds PF_UNIX/PF_LOCAL sockets are also supported. Support for other socket types can be easy added if someone is interested in them. The constant values used in hbsocket.ch are equal to original BSD socket definitions. If it's necessary then it's possible to enable their translation inside hbsocket.c code though I do not think we will find such OS. The list of hb_socket*() functions was designed to cover all existing functionality in hbinet.c and socket.c. Most of functions supports timeout parameter what effectively allows to hide direct select() usage. Please make test with real applications and report any problems with hb_inet*() functions you will find. * harbour/source/vm/hvm.c * minor cleanup * harbour/source/rtl/hbi18n1.c * cleaned variable name * harbour/source/rtl/hbinet.c * harbour/examples/uhttpd2/socket.c * harbour/contrib/hbssl/hbssl.c * updated to use hb_socket*() functions * harbour/include/hbextern.ch * enabled HB_INET*() functions in DOS builds - they will simply return errors - harbour/include/hbapinet.h - removed old header file * harbour/source/pp/ppcore.c ! modified ENDTEXT marker to work also with comments in the same line It's more closer to Clipper though intentionally we are not fully CA-Cl*pper compatible here. 2009-07-24 09:46 UTC+0200 Viktor Szakats * contrib/hbtip/sendmail.prg * contrib/hbtip/client.prg * contrib/hbtip/smtpcln.prg + Added partial copyright for SLL parts. 2009-07-24 09:40 UTC+0200 Viktor Szakats * contrib/hbtip/sendmail.prg * contrib/hbtip/client.prg * contrib/hbtip/smtpcln.prg + Added TLS (SMTPS, SSL) support for SMTP class. It's experimental yet, and there is still some protocol level error. [FIXED] With this it'll possible to send emails through gmail for example. Some level of STARTTLS support (TLS on normal SMTP ports) was also added, but I cannot test this. Anyhow from this point it should be an easy task to finish above details. Since TLS was added to low-level client class, it's now possible to add SSL support also for POPS, HTTPS and FTPS. ; NOTE: This code part is only active if hbtip is built with -DHAVE_OPENSSL build-time flag, and it also requires hbssl lib + OpenSSL libs. * contrib/hbtip/utils.c ! Fixed timezone offset being always zero in TIP_TIMESTAMP() 2009-07-23 21:44 UTC+0200 Viktor Szakats * contrib/rddads/ads1.c ! Reverted prev change plus added error handling. Thx Przemek. * contrib/hbssl/evpciph.c * contrib/hbssl/ssl.c * contrib/hbssl/evpmd.c * contrib/hbssl/evpenc.c * contrib/hbssl/evppkey.c * contrib/hbssl/evp.c * contrib/hbssl/tests/crypt.prg * Minor improvements. % Deleted unnecessary ( void * ) casts. ! Fixed leaks (using valgrind and crypt.prg). There is still one reported, but can't find the reason. * contrib/hbcurl/hbcurl.c % Deleted unnecessary ( void * ) casts. 2009-07-23 20:18 UTC+0200 Viktor Szakats * contrib/rddads/ads1.c ! Fixed buffer size in one place related to MEMO field handling. Caused memory corruption. 2009-07-23 18:19 UTC+0200 Viktor Szakats + source/rtl/hbfeof.c * source/rtl/Makefile * source/rtl/philes.c ! HB_FEOF() moved to separate file to ease name collision situations. * contrib/hbssl/evpciph.c * contrib/hbssl/bio.c * contrib/hbssl/evpmd.c * contrib/hbssl/evpenc.c ! Fixed buffer sizes, after valgrind test. (off by one bugs. hb_storclen_buffer()/hb_retclen_buffer() need one byte extra above the size returned, in order to hold the EOS char) * contrib/xhb/freadlin.c * contrib/hbqt/qth/QFtp.qth * contrib/hbqt/qth/QHttp.qth * contrib/hbqt/QFtp.cpp * contrib/hbqt/QHttp.cpp * contrib/hbcurl/hbcurl.c * contrib/hbwin/win_prt.c ! Fixed similar to above allocation errors. CURL_EASY_RECV() in hbcurl. WINPORTREAD() in hbwin. HB_FREADLINE() in xhb. * config/global.cf + Added HB_???_INSTALL initialization. Just a step, needs more work before making it a replacement for current method. 2009-07-23 14:04 UTC+0200 Viktor Szakats * contrib/hbssl/evpciph.c + EVP_OPENINIT(), EVP_OPENUPDATE(), EVP_OPENFINAL() (not tested yet) ; FIXME: EVP_SEALINIT() - does something nasty with memory. * contrib/hbssl/ssl.c ! MSVC cast/warning. * config/globsh.cf + Put a nt cmd param in dblquotes. 2009-07-23 12:02 UTC+0200 Viktor Szakats * contrib/hbmisc/dates2.c * Renamed DAYSINMONTH() to HBMISC_DAYSINMONTH(), to avoid collision with hbct function with the same name, but different functionality. - Deleted functions below from hbmisc library: EOM(), BOM(), WOM(), DOY(), WOY(), EOY(), BOY() They have superior alternatives with the same name in hbct lib, please use those. * contrib/hbssl/evpciph.c * contrib/hbssl/ssl.c * contrib/hbssl/bio.c * contrib/hbssl/tests/pem.prg + contrib/hbssl/tests/pubkey.pem * contrib/hbssl/tests/crypt.prg * contrib/hbssl/err.c + Added EVP_SEALINIT() (under development) + Added EVP_SEALUPDATE(), EVP_SEALFINAL(). + Added SSL_SET_MSG_CALLBACK() (it's a debug function really, and the solution is slightly hackish, as I have to access OpenSSL structure and Harbour item freeing needs to be done manually. Anyhow it can be excluded from builds. + Added ERR_LOAD_CRYPTO_STRINGS(). + Added ERR_PRINT_ERRORS(). (very useful) + Added ERR_FREE_STRINGS(). * include/hbapi.h * source/vm/arrays.c * source/vm/extend.c * source/debug/dbgentry.c * source/rtl/hbgtcore.c ! Renamed API function hb_arraySetCPtr() to hb_arraySetCLPtr(). Old function name still available for compatibility. 2009-07-23 01:06 UTC+0200 Viktor Szakats + contrib/hbssl/tests/pem.prg + contrib/hbssl/tests/privkey.pem * contrib/hbssl/pem.c + Added these public/private key loading functions: PEM_READ_BIO_PRIVATEKEY() PEM_READ_BIO_PUBKEY() PEM_READ_BIO_RSAPRIVATEKEY() PEM_READ_BIO_RSAPUBLICKEY() PEM_READ_BIO_RSA_PUBKEY() PEM_READ_BIO_DSAPRIVATEKEY() PEM_READ_BIO_DSA_PUBKEY() PEM_READ_BIO_DSAPARAMS() PEM_READ_BIO_DHPARAMS() PEM_READ_BIO_X509() PEM_READ_BIO_X509_AUX() PEM_READ_BIO_X509_REQ() PEM_READ_BIO_X509_CRL() PEM_READ_BIO_PKCS7() Usage: PEM_READ_BIO_*( <ptrBIO> | <cFileName> | <fhnd>, <bPasswordCB> | <cPassword> ) -> ptr | NULL To load from memory, BIO_new_mem_buf() can be used, see in test. <bPasswordCB> is a codeblock which receive a logical parameter indicating write/read mode (.T. = write) a returns password as string or else (like NIL) for failure. 2009-07-22 22:10 UTC+0200 Viktor Szakats * config/global.cf ! Fixed GTSLN exclusion if HB_COMMERCE is set. This is required to communicate this fact with postinst.sh (hb-func.sh -> hbmk script and hbmk.cfg) Thanks to Tamas Tevesz for report and tests. ; Reported libharu WinCE failures and Pelles C warnings: [LOST LINK] bugs.libharu.org/view.php?id=22 (Pelles C) [LOST LINK] bugs.libharu.org/view.php?id=21 (WinCE) [FIXED] 2009-07-22 19:27 UTC+0200 Viktor Szakats * INSTALL * make_gnu.bat * Tweak to previous fix, it didn't work. Falling back to less elegant solution. * external/libhpdf/Makefile + external/libhpdf/_hbhbpdf.c + Added ugly hack to make it build on mingwarm targets. * contrib/hbssl/Makefile * contrib/hbssl/ssl.c * contrib/hbssl/bio.c * contrib/hbssl/evpmd.c * Changed to make it build on darwin. It'd be better to control features automatically by OPENSSL_VERSION_NUMBER, but documentation is very scarce. * utils/hbmk2/hbmk2.prg ! Temp fix to not pass runflags to darwin GUI programs (started via 'open'), until we find out how to do it. Previously 'open' considered extra options as its own, and failed. 2009-07-22 17:51 UTC+0200 Viktor Szakats * make_gnu.bat ! Added SHLVL=0 to make commands to force native shell even if sh shell is found in the PATH (e.g. when msys or cygwin is present there, for mingwarm targets, cygwin is even required.) * external/libhpdf/Makefile + Made it compile with mingwarm. * include/hbextern.ch ! Fixed typo in prev. * contrib/hbssl/pem.c + Added two new functions. Under testing. PEM_READ_BIO_RSAPRIVATEKEY() PEM_READ_BIO_RSAPUBLICKEY() 2009-07-22 15:58 UTC+0200 Viktor Szakats - contrib/hbcrypt * Deleted after move. (SVN got confused if done if previous pass) 2009-07-22 15:48 UTC+0200 Viktor Szakats * bin/hb-func.sh * include/hbextern.ch * contrib/Makefile * source/rtl/Makefile + source/rtl/sha1.c + source/rtl/sha1.h + source/rtl/hbsha1hm.c + source/rtl/sha2.c + source/rtl/sha2.h + source/rtl/hbsha2hm.c + source/rtl/sha1hmac.c + source/rtl/sha1hmac.h + source/rtl/hbsha1.c + source/rtl/sha2hmac.c + source/rtl/sha2hmac.h + source/rtl/hbsha2.c + tests/testsha1.prg + tests/testsha2.prg * hbcrypt contrib library merged into the core. 2009-07-22 15:39 UTC+0200 Viktor Szakats * include/hbapi.h * source/common/hbstr.c * source/rtl/hbmd5.c * Moved (and somewhat standardized and renamed) mem to hex C function from hbmd5/rtl to common lib. * bin/hb-func.sh ! Fixed double '%' chars in hbmk.cfg generation. * contrib/hbcrypt/Makefile + contrib/hbcrypt/hbsha1.c + contrib/hbcrypt/hbsha1hm.c + contrib/hbcrypt/tests/testsha1.prg + Added HB_SHA1() and HB_HMAC_SHA1() functions. * source/rtl/hbmd5.c * Changed meaning of second boolean parameter. From now on a .T. has to be passed to get binary output. (I won't list this as a incompatible, as the new parameter has just been introduced) ; by now HB_MD5() and HB_SHA*() functions are synced in functionality. * contrib/hbcrypt/hbsha1.c * contrib/hbcrypt/hbsha2.c * contrib/hbcrypt/hbsha1hm.c * contrib/hbcrypt/hbsha2hm.c * contrib/hbcrypt/tests/testsha2.prg * Changed all SHA2 functions to returned digest in hex format by default. The binary format can be requested by passing .T. as an extra parameter. INCOMPATIBLE: Please update your sources if you used these functions. Add .T. parameter to keep current workings. * contrib/hbcurl/hbcurl.c % Cleaned types (no BYTE, no BOOL, deleted unnecessary casts). Only a few ULONGs remained. * contrib/hbssl/pem.c + Some advances. 2009-07-22 13:12 UTC+0200 Viktor Szakats * contrib/hbssl/Makefile + contrib/hbssl/pem.c + Added pem.c. Not developed yet. * contrib/hbssl/ssl.c * contrib/hbssl/bio.c + Added OpenSSL ticket numbers for reported bugs: https://rt.openssl.org/Ticket/Display.html?id=1988&user=guest&pass=guest [FIXED 2014-08-11] https://rt.openssl.org/Ticket/Display.html?id=1989&user=guest&pass=guest [FIXED 2009-07-24] 2009-07-22 12:41 UTC+0200 Viktor Szakats * contrib/hbcurl/hbcurl.c % Callback functions changed to 'static'. * contrib/hbcurl/hbcurl.hbc * Added some level of static linking support. * Corrected libs line for mingw. * contrib/hbssl/evpciph.c * contrib/hbssl/ssl.c * contrib/hbssl/bio.c * contrib/hbssl/evpmd.c * contrib/hbssl/sslctx.c * contrib/hbssl/tests/hbmk.hbm * contrib/hbssl/tests/digest.prg * contrib/hbssl/tests/crypt.prg * contrib/hbssl/evp.c * Some variables renamed. ! Fixed GPF when invalid CIPHER or MD is passed. + Added EVP_BytesToKey() examples. + Added -w3 to tests. 2009-07-22 11:48 UTC+0200 Viktor Szakats * contrib/xhb/xhbfunc.c + Added HB_F_EOF() xhb compatibility function. * contrib/hbssl/Makefile - contrib/hbssl/sslx509.c + contrib/hbssl/x509.c - contrib/hbssl/sslrand.c + contrib/hbssl/rand.c - contrib/hbssl/sslbio.c + contrib/hbssl/bio.c - contrib/hbssl/sslerr.c + contrib/hbssl/err.c * Renamed a few source files. * SSL_RAND_*() functions renamed to RAND_*() to have the exact same name as in OpenSSL. * contrib/hbssl/tests/test.prg * contrib/hbssl/Makefile * contrib/hbssl/bio.c + contrib/hbssl/tests/bio.prg * contrib/hbssl/hbssl.ch + Added lots of new BIO functions: BIO_NEW() BIO_SET() BIO_CLEAR_FLAGS() BIO_SET_FLAGS() BIO_GET_FLAGS() BIO_TEST_FLAGS() BIO_SET_FD() BIO_GET_FD() BIO_GET_RETRY_REASON() BIO_SET_RETRY_SPECIAL() BIO_SET_RETRY_READ() BIO_SET_RETRY_WRITE() BIO_SHOULD_READ() BIO_SHOULD_WRITE() BIO_SHOULD_IO_SPECIAL() BIO_RETRY_TYPE() BIO_SHOULD_RETRY() BIO_CTRL_PENDING() BIO_CTRL_WPENDING() BIO_FLUSH() BIO_SEEK() BIO_TELL() BIO_RESET() BIO_EOF() BIO_SET_CLOSE() BIO_GET_CLOSE() BIO_NEW_FILE() BIO_NEW_MEM_BUF() BIO_READ() BIO_GETS() BIO_WRITE() BIO_PUTS() BIO_VFREE() BIO_FREE_ALL() BIO_NEW_CONNECT() BIO_NEW_ACCEPT() BIO_SET_CONN_HOSTNAME() BIO_SET_CONN_PORT() BIO_SET_CONN_INT_PORT() BIO_SET_CONN_IP() BIO_GET_CONN_HOSTNAME() BIO_GET_CONN_PORT() BIO_GET_CONN_IP() BIO_GET_CONN_INT_PORT() BIO_SET_NBIO() BIO_DO_CONNECT() ERR_LOAD_BIO_STRINGS() 2009-07-22 01:00 UTC+0200 Viktor Szakats * config/instsh.cf * config/dirsh.cf * config/globsh.cf ! Added double quotes to all 'if [ -? * ]' expressions: 'if [ -? "*" ]'. This fixes clean rule in Solaris builds '[ -z $(EXE_FILE) ]' when $(EXE_FILE) was empty. (Thanks to Tamas Tevesz for report and fix suggestion) Please speak up if there is any reason why double quotes weren't used in bash commands embedded in .cf files while they are consistently used in all .sh files. 2009-07-21 14:17 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/hbqt_slots.cpp * contrib/hbqt/hbqt_slots.h * contrib/hbqt/moc_slots.cpp ! Normalized the events management code. Now uniform across all objects. 2009-07-21 19:48 UTC+0200 Viktor Szakats * contrib/hbssl/evpciph.c * contrib/hbssl/evpenc.c ! Potential fix to passing buffer size to some functions. The docs are not fully clear, but anyhow this cannot hurt. 2009-07-21 19:39 UTC+0200 Viktor Szakats * contrib/hbssl/Makefile + contrib/hbssl/evppkey.c * contrib/hbssl/evpciph.c * contrib/hbssl/hbssl.h * contrib/hbssl/ssl.c * contrib/hbssl/sslctx.c * contrib/hbssl/sslerr.c * contrib/hbssl/evp.c * contrib/hbssl/evpmd.c * contrib/hbssl/evpenc.c * contrib/hbssl/tests/digest.prg + contrib/hbssl/tests/encode.prg * SSL_ERR_*() functions renamed to ERR_*() to have the exact same name as in OpenSSL. ! Minor fixes and cleanups. + Added: OPENSSL_VERSION() SSLEAY() SSL_USE_PRIVATEKEY() SSL_CTX_USE_PRIVATEKEY() EVP_SIGNFINAL() EVP_VERIFYFINAL() EVP_PKEY_NEW() EVP_PKEY_TYPE() EVP_PKEY_SIZE() EVP_PKEY_BITS() EVP_PKEY_ASSIGN() EVP_PKEY_ASSIGN_RSA() EVP_PKEY_ASSIGN_DSA() EVP_PKEY_ASSIGN_DH() EVP_BYTESTOKEY() ERR_LOAD_EVP_STRINGS() + Added OpenSSLs own BASE64 functions: HB_EVP_ENCODE_CTX_CREATE() EVP_ENCODEINIT() EVP_ENCODEUPDATE() EVP_ENCODEFINAL() EVP_DECODEINIT() EVP_DECODEUPDATE() EVP_DECODEFINAL() 2009-07-21 15:06 UTC+0200 Viktor Szakats * contrib/hbssl/Makefile + contrib/hbssl/evp.c + contrib/hbssl/evpciph.c + contrib/hbssl/evpmd.c * contrib/hbssl/hbssl.ch + contrib/hbssl/tests/digest.prg + contrib/hbssl/tests/crypt.prg + Added almost complete EVP (hashing, encryption, decryption) API. This means support for a max of 14 hashing methods and about 90 symmetric encryption methods. * contrib/hbssl/ssl.c * contrib/hbssl/sslctx.c * Moved two functions between files. * bin/postinst.bat * config/globsh.cf + Tweaked/fixed to allow building Harbour present on a path which contains spaces. 2009-07-21 01:04 UTC+0200 Viktor Szakats * contrib/hbssl/sslctx.c * contrib/hbssl/ssl.c + Added: SSL_CTX_USE_RSAPRIVATEKEY_ASN1() SSL_CTX_USE_PRIVATEKEY_ASN1() SSL_CTX_USE_CERTIFICATE_ASN1() SSL_USE_RSAPRIVATEKEY_ASN1() SSL_USE_PRIVATEKEY_ASN1() SSL_USE_CERTIFICATE_ASN1() 2009-07-21 00:23 UTC+0200 Viktor Szakats * source/rtl/net.c ! Fixed NETNAME()/hb_netname() on dos/watcom platforms in error cases it was leaking 16 bytes of memory. (+ minor formatting) Please review me. + NETNAME(), HB_USERNAME() now do conversion from OS codepage. Couldn't test it, please review me. 2009-07-20 17:45 UTC+0200 Viktor Szakats * contrib/hbwin/win_reg.prg * contrib/hbwin/win_regc.c ! GETREGISTRY() fixed to return default only if the registry entry doesn't exist. Previously it was falling back to default even if the value existed but was empty. In case of empty string, these weren't possible to write from hbwin, but could exist in registry when written by other tools. ! GETREGISTRY() fixed to return binary data as string for REG_BINARY types. (previously it was returning an unsigned int - essentially truncating everything beyong the first 4 bytes). ! GETREGISTRY() fixed to swap words for REG_DWORD_BIG_ENDIAN values to return correct unsigned integer results. (not tested) ! GETREGISTRY() fixed to strip only the ending Chr( 0 ) from string values. This makes it possible to utilize strings containing nul chars (obviously) and also to parse REG_MULTI_SZ multistring values. ! GETREGISTRY() fixed to not RTE if WIN_REGQUERYVALUEEX() returned non-null length and a non-string value. I still have to understand how this was possible, but I got a report that it happened on a system. ! WIN_REGQUERYVALUEEX() fixed to store NIL in 5th param, if the registry entry doesn't exist. ! WIN_REGQUERYVALUEEX() fixed to store empty string when registry value is zero length. * include/hbapi.h * source/vm/extend.c + Added API hb_stor() to store a NIL into a parameter passed by reference. * source/vm/arrays.c * Minor formatting. 2009-07-20 08:45 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/hbqt_slots.cpp * contrib/hbqt/hbqt_slots.h * contrib/hbqt/moc_slots.cpp + Added "timeout()" signal. I am not sure if it will work. Please let me know if I am right, otherwise I have to restructure this mechanism from bottom-up. 2009-07-20 13:20 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/itemapi.c * cleaned hb_itemPutC*() functions. Now each function which accepts only pure szText pointer without length can be called with NULL as szText. Each function which need string length parameter needs non NULL szText value. I hope it's easy to remember for developers. % minor code optimizations for above rules * harbour/source/rtl/filebuf.c * allow to reuse tables in aliased workarea in RW mode after previous opening in RO mode 2009-07-20 13:02 UTC+0200 Viktor Szakats * contrib/hbssl/ssl.c * contrib/hbssl/sslctx.c * contrib/hbssl/tests/test.prg + Added: SSL_CTX_GET_OPTIONS() SSL_CTX_GET_CLIENT_CA_LIST() SSL_GET_OPTIONS() SSL_GET_CIPHERS() SSL_GET_CLIENT_CA_LIST() SSL_LOAD_CLIENT_CA_FILE() 2009-07-20 10:27 UTC+0200 Viktor Szakats * include/hbapinet.h ! Fix for Cygwin. 2009-07-20 10:19 UTC+0200 Viktor Szakats * include/hbapinet.h * source/rtl/hbinet.c ! Fixed headers for non-Windows. 2009-07-20 09:38 UTC+0200 Viktor Szakats * contrib/hbssl/hbssl.h * contrib/hbssl/sslctx.c * contrib/hbssl/ssl.c * contrib/hbssl/sslx509.c + Using GC collected pointers for X509 objects retrieved. 2009-07-20 09:22 UTC+0200 Viktor Szakats * contrib/hbssl/sslctx.c * contrib/hbssl/ssl.c * contrib/hbssl/hbssl.ch * contrib/hbssl/sslx509.c + Added X509 verification result codes. + Added unused yet X509 object GC functions. ! Casting for C++ 2009-07-20 09:09 UTC+0200 Viktor Szakats * contrib/hbssl/ssl.c * contrib/hbssl/sslctx.c * contrib/hbssl/hbssl.ch + Added following functions: SSL_CTX_USE_CERTIFICATE() SSL_CTX_ADD_CLIENT_CA() SSL_CTX_ADD_EXTRA_CHAIN_CERT() SSL_CTX_USE_CERTIFICATE_FILE() SSL_CTX_USE_CERTIFICATE_CHAIN_FILE() SSL_CTX_USE_PRIVATEKEY_FILE() SSL_CTX_USE_RSAPRIVATEKEY_FILE() SSL_SET_CIPHER_LIST() SSL_GET_CERTIFICATE() SSL_USE_CERTIFICATE() SSL_ADD_CLIENT_CA() SSL_USE_CERTIFICATE_FILE() SSL_USE_PRIVATEKEY_FILE() SSL_USE_RSAPRIVATEKEY_FILE() 2009-07-20 00:48 UTC+0200 Viktor Szakats * contrib/hbssl/ssl.c + contrib/hbssl/hbssl.c * contrib/hbssl/Makefile + HB_SSL_READ_ALL() and HB_SSL_READ_LINE() rewritten. (HB_SSL_READ_ALL() isn't fully optimal, and maybe there are errors, please check.) + Added SSL_GET_RFD(), SSL_GET_WFD(). * include/Makefile + include/hbapinet.h * source/rtl/hbinet.c + Moved some basic declarations to new API header, mainly to export hb_select[Read|Write]*() functions. We will also need such header in the future when we implement C level socket/networking API. Current solution is quite messy since the header has to pull Windows headers which may not be friendly with all usages/include order. * source/rtl/hbinet.c * HB_SOCKET_STRUCT renamed to HB_SOCKET. + Added PHB_SOCKET type. + Added hb_selectReadFD(), hb_selectWriteFD() which are similar to hb_selectReadSocket() and hb_selectWriteSocket() but expect raw FD plus explicit timeout values. These function names and solutions are tentative to solve SSL integration with Harbour, and hopefully in the future we will have a clean net API, the current one is very messy. * source/vm/itemapi.c ! hb_itemPutCPtr(), hb_itemPutCLPtr() fixed to put empty string to item if szText is NULL and length is non-zero, instead of trying to free NULL pointer causing internal error. * include/hbextlng.ch * Corrected header to be in sync with CDP and not to repeat the filename. 2009-07-19 13:56 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/generator/hbqtgen.prg * contrib/hbqt/generator/qt45.qtp * contrib/hbqt/hbqt.h * contrib/hbqt/Makefile_gen + contrib/hbqt/qth/QButtonGroup.qth + contrib/hbqt/qth/QIODevice.qth + contrib/hbqt/qth/QProcess.qth + contrib/hbqt/QButtonGroup.cpp + contrib/hbqt/QIODevice.cpp + contrib/hbqt/QProcess.cpp + contrib/hbqt/TQButtonGroup.prg + contrib/hbqt/TQIODevice.prg + contrib/hbqt/TQProcess.prg + Added new classes. 2009-07-19 19:58 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added /P128 to tlib default flags. 2009-07-19 19:40 UTC+0200 Viktor Szakats * contrib/hbssl/Makefile + contrib/hbssl/sslerr.c + contrib/hbssl/sslx509.c * contrib/hbssl/ssl.c * contrib/hbssl/sslctx.c * contrib/hbssl/hbssl.ch * contrib/hbssl/tests/test.prg + Added ERR_*() API functions. + Prefixed .ch contant names with HB_ to avoid collision with ssl own headers. + Added SSL_CTX_SET_MODE(), SSL_CTX_GET_MODE() functions. + Added HB_SSL_READ_ALL(), HB_SSL_READ_LINE() functions meaning to mimic HB_INETRECVALL() and HB_INETRECVLINE(). (probably needs more work, it'd be great if someone who understands the guts of these inet functions could take a look) * SSL_PEEK() synced with SSL_READ() recent changes. + Added SSL_SET_MODE(), SSL_GET_MODE(), SSL_SET_MTU() functions. + Added SSL_GET_RBIO(), SSL_GET_WBIO() functions. + Added SSL_GET_PEER_CERTIFICATE() function. + Added X509_GET_SUBJECT_NAME(), X509_GET_ISSUER_NAME(), X509_NAME_ONELINE() + Added HB_SSL_MODE_* constants. * include/hbextern.ch * Changed to use new hbextlng.ch. - examples/hbextern/hbextern.lst ! It wasn't deleted in 2009-07-18 21:37 UTC+0600 for some reason. * source/rtl/console.c ! Fixed OUTSTD() and OUTERR() to output separator space to std/err instead of alt. * source/rtl/hbinet.c % Minor optimization. 2009-07-18 21:37 UTC+0600 April White (bright.tigra gmail.com) - examples/hbextern/hbextern.lst * examples/hbextern/hbextern.prg ; hbextern.ch_, hbextcdp.ch_, and hbextlng.ch_ will have the copyright comment from the existing include file; contrib output will not * minor optimizations - removed use of hbextern.lst + auto-generated .ch_ files for contrib folders ; these will have same name as contrib folder ; generic copyright message using doc/hdr_tpl.txt as template ; the include folder has some files matching the contrib folder names but with non-extern content; these files must be merged by hand, or a #include statement used 2009-07-18 21:37 UTC+0600 April White (bright.tigra gmail.com) + include/hbextlng.ch ; as created by hbextern * ChangeLog - improved comments for 2009-07-18 21:20, below 2009-07-18 21:24 UTC+0600 April White (bright.tigra gmail.com) + examples/hbextern/hbextern.lst ; used by hbextern to build contrib external headers 2009-07-18 21:20 UTC+0600 April White (bright.tigra gmail.com) * examples/hbextern/hbextern.prg - legacy directory listing deprecated and removed - removed 'recursive' flags, now default behaviour * altered internal structure to allow for multiple output files + filter out CODEPAGE and LANG symbols into their own files + place contrib symbols into their own file; controlled by hbextern.lst 2009-07-18 19:46 UTC+0200 Viktor Szakats * contrib/hbssl/Makefile * contrib/hbssl/hbssl.h * contrib/hbssl/hbssl.ch * contrib/hbssl/sslctx.c * contrib/hbssl/ssl.c + contrib/hbssl/sslbio.c * contrib/hbssl/tests/test.prg ! Fixed a few bugs and typos, so now the test works. + Added very basic BIO interface. 2009-07-18 14:35 UTC+0200 Viktor Szakats * contrib/hbssl/hbssl.hbc + External libraries added for *nixes, OS/2 and adjusted for Windows. * contrib/hbssl/tests/test.prg * Changed test site to a better one. * config/global.cf + Adding __ARCH64BIT__ for some win targets. Not necessary for Harbour code at this moment. * config/globsh.cf * Minor: @- -> -@ * external/libpng/pngrio.c * external/libpng/pngerror.c * external/libpng/pngconf.h * external/libpng/pngwrite.c * external/libpng/pngset.c * external/libpng/pngpread.c * external/libpng/pngwtran.c * external/libpng/LICENSE * external/libpng/pngwio.c * external/libpng/pngrutil.c * external/libpng/pngwutil.c * external/libpng/pngread.c * external/libpng/pngmem.c * external/libpng/png.c * external/libpng/pngget.c * external/libpng/png.h * external/libpng/pngrtran.c * external/libpng/pngtrans.c * Updated to 1.2.38 (from 1.2.37) 2009-07-18 02:59 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbextern.ch + added HB_ZERROR 2009-07-18 02:57 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/hbzlib.c + added HB_ZERROR( <nError> ) => <cErrorDescription> It's wrapper to zError() ZLIB function. 2009-07-17 16:19 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/macro/macro.y * harbour/source/macro/macro.yyc % improved macrocompiler speed by reducing number of memory allocations for compiled subexpressions 2009-07-17 13:36 UTC+0200 Viktor Szakats * bin/hb-func.sh - Deleted reference to hbfm lib. * source/pp/Makefile * Minor formatting. 2009-07-17 13:00 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/pp/Makefile * removed old HB_PP_RULES used for precomputed pptables * added protection against setting possible actions executed without HB_ARCHITECTURE and HB_COMPILER 2009-07-17 12:26 UTC+0200 Viktor Szakats * config/globsh.cf + Attempt to fix dos shell clean rules. Please test. + Attempt to fix os2 shell clean rules. Obviously blind attempt. * RDP -> RD for os2 since it cannot remove full paths in OS/2 (AFAIK). + Added '@' to all os2 dirbase and clean commands. 2009-07-17 12:15 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/pp/Makefile ! set EXE_FILE - it's workaround to force bin/<arch>/<cmp> directory creation in current make files and then cleaning it if possible * harbour/config/rules.cf * removed old hardcoded clean rules which deleted files not created by build process * harbour/config/instsh.cf * pacified install command echo * harbour/config/globsh.cf ! fixed new sh clean rules: [ ! -f $(LIB_DIR)/* ] causes syntax error when more then one file exists in $(LIB_DIR) directory 2009-07-17 12:05 UTC+0200 Viktor Szakats * source/pp/Makefile ! Fixed to delete hbpp.tds. * config/globsh.cf + Attempt to fix nt shell clean rules. Please test. ! Fixed to create bin dir even when lib targets are being created. This hack is needed to support existing hack inside source/pp/Makefile. If there is any possibility to solve current hbpp lib+bin rules in some cleaner ways IMO we should do it, but so far I couldn't figure out how current method works. 2009-07-17 11:33 UTC+0200 Viktor Szakats * config/globsh.cf * Using RM instead of RD in sh clean rules. 2009-07-17 11:31 UTC+0200 Viktor Szakats * config/globsh.cf ! Fix to nt clean rule. 2009-07-17 11:30 UTC+0200 Viktor Szakats * config/globsh.cf * $(RD) -> $(RDP) 2009-07-17 10:40 UTC+0200 Viktor Szakats * source/rtl/gtxwc/gtxwc.c ! Fixed typo. This should fix the warning plus black screen reported by some users. Please test. 2009-07-17 10:02 UTC+0200 Viktor Szakats * source/rtl/gtxwc/gtxwc.c ! Fixed to compile under cygwin. 2009-07-17 09:42 UTC+0200 Viktor Szakats * config/globsh.cf ! Attempt to fix posix shell clean rules. Please test. If the logic is about okay, we might want to replicate it for other shells. 2009-07-17 09:31 UTC+0200 Viktor Szakats * config/globsh.cf ! Minor fix dir creation to rules. (only create bin/lib target dir when bin/lib target is actually specified) % Minor cleanup to clean rules. 2009-07-17 09:01 UTC+0200 Viktor Szakats * make_gnu.sh ! Changed to use gmake on all sunos systems. * utils/hbmk2/hbmk2.prg * config/sunos/gcc.cf ! Added space after -o CC option. Required by some sunos systems. ; Thanks for valuable input and testing to Tamas Tevesz. 2009-07-17 02:19 UTC+0200 Viktor Szakats * config/instsh.cf * shell/nt rule $(MD) -> $(MDP). (just for clarity) * config/globsh.cf * dos shell fixed again. Now I had to delete '.exe' extension from tools to stay withing command-line limit (for single file copy commands) 2009-07-17 02:09 UTC+0200 Viktor Szakats * make_gnu.sh * config/global.cf + Readded HB_GPM_MOUSE detection to starter script. ; FIXME: This logic should be moved to GNU Make global.cf. [DONE] + Readded HB_COMMERCE logic but now to global.cf, to deal with Harbour-wide settings, currently this is only HB_GPM_MOUSE. lib-specific HB_COMMERCE issues should be handled in local Makefiles. * config/global.cf * Minor formatting. * TODO added (host CPU detection on non-win platforms). * config/hpux/gcc.cf * config/darwin/gcc.cf * config/global.cf * config/sunos/gcc.cf * config/bsd/gcc.cf - GPM isn't available on these platforms so it's not necessary to handle it in these make files. * utils/hbmk2/Makefile * utils/hbrun/Makefile ! Changed ordering of hbcpl/hbpp/hbcommon libs to this: hbcplr, hbpp, hbcommon (from this: hbpp, hbcplr, hbcommon and this: hbcommon, hbpp, hbcplr) This syncs it with existing .hbp lib order and hopefully fixes link problems on sunos/sparc, reported by a user. Please retest & report results. 2009-07-16 23:27 UTC+0200 Viktor Szakats - examples/hbdoc/examples/hbmisc/gendoc.bat + examples/hbdoc/examples/hbmisc/readme.txt - examples/hbdoc/examples/core_en/genhtm.bat + examples/hbdoc/examples/core_en/readme.txt * Replaced to MS-DOS batch files (not working) to readmes. 2009-07-16 21:58 UTC+0200 Viktor Szakats * tests/rddtest/make_c53.bat * Minor formatting. - tests/run.bat - tests/run_all.bat - Deleted. We need some portable concept here, but my guess is that it's been a very long time since anyonw tried to run all test program in a row. 2009-07-16 21:32 UTC+0200 Viktor Szakats * config/rules.cf * config/global.cf * config/win/bcc.cf * config/linux/watcom.cf * config/instsh.cf * config/dirsh.cf * config/globsh.cf * HB_SHELL value 'bash' -> 'sh' * config/win/bcc.cf * config/win/xcc.cf * config/win/pocc.cf * config/wce/poccarm.cf % Deleted comment banner. 2009-07-16 20:58 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/gtcrs/Makefile * test for HB_COMPILER=djgpp instead of HB_ARCHITECTURE=dos to activate trick used to detect PDCURSES in DJGPP builds when 2009-07-16 20:37 UTC+0200 Viktor Szakats * config/globsh.cf + Reworked 'clean' rules. Now whole bin/obj/lib dirs should disappear with any .tds files in them. OS/2 shell is the only black sheep here, I've updated it, but since I cannot try it, it may not work. % Deleted MV variable. Not used in Harbour. + Added MDP variable for nt. 2009-07-16 20:02 UTC+0200 Viktor Szakats * bin/postinst.bat ! Fixed for MS-DOS. Again. Here ChangeLog again causes some problems. * config/globsh.cf % Removed some redundancy regarding tool path forming. 2009-07-16 19:34 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) - harbour/source/nulrtl - harbour/source/nulrtl/nulrtl.c - harbour/source/nulrtl/Makefile + harbour/source/nortl + harbour/source/nortl/nortl.c + harbour/source/nortl/Makefile * harbour/source/pp/Makefile * harbour/source/main/Makefile * harbour/source/Makefile * harbour/harbour-win-spec * harbour/harbour-wce-spec * harbour/harbour.spec * harbour/examples/pp/pp.hbp * renamed hbnulrtl library to hbnortl to eliminate 8.3 name conflicts in DJGPP builds 2009-07-16 19:05 UTC+0200 Viktor Szakats * config/globsh.cf + Deleting Borland .tds files. 2009-07-16 19:03 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/config/instsh.cf ! fixed install dirs when POSIX shell is used and path contains "\" instead of '/' 2009-07-16 18:39 UTC+0200 Viktor Szakats + config/dj-mkdir.exe + config/dj-cp.exe + config/dj-rm.exe * config/instsh.cf * config/globsh.cf + Solved the MS-DOS dir creation and neverending copy problem by uploading MS-DOS versions of well working GNU tools. Also added 'rm' tool to facilitate 'clean'. Maybe this is the ultimate solution for all these build difficulties, we could do the same for win and OS/2, for OS/2 it's probably safe to do as the platform isn't evolving anymore. (placement and naming of these tools may change in future commits) + Added DJGPP 2.04 GNU Tools. * Changed dos shell rules to use DOS GNU Tools. % Deleted dos/watcom specific COMSPEC shell hack (and with it the QUESTION). * make_gnu.bat - config/djg-make.exe + config/dj-make.exe * Renamed to have common prefix with newly added tools. (and fit into 8.3) 2009-07-16 18:50 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/config/dir.cf ! fixed typo in include path * disabled parallel processing in DOS hosts - it does not work correctly and it looks like a problem with nested directory change in DJGPP port of GNU make. 2009-07-16 17:19 UTC+0200 Viktor Szakats * config/global.cf * config/instsh.cf * config/dirsh.cf * config/globsh.cf * Restored compatibility with pre-3.81 GNU Make versions. (some user feedback features are now disabled for older versions) 2009-07-16 16:21 UTC+0200 Viktor Szakats * source/pp/Makefile * config/rules.cf * config/global.cf + Added new internal variable HB_HOST_BIN_DIR to avoid touching original HB_BIN_COMPILE and in turn mess up __PLATFORM__ macro definitions in recursive runs to GNU Make. 2009-07-16 15:56 UTC+0200 Viktor Szakats * config/global.cf * config/instsh.cf ! Fixed to only set __PLATFORM__ flags if there is really a cross build situation. This is to avoid redefinition warnings with dos on win builds. ; QUESTION: BTW, could we modify harbour compiler to not throw these redef warnings for internally defined macros? This problem is still present if user is manually configuring HB_BIN_COMPILE to a platform native executable. ! Hack added to dos shell install rule to create HB_INSTALL_PREFIX first. Of course there is no guarantee that this envvar is set, or that it's one level up to HB_*_INSTALL dir, or that its parent exist, but anyway I don't know any better. 2009-07-16 15:45 UTC+0200 Viktor Szakats * config/instsh.cf * config/globsh.cf ! Fixed to use plain copy command in DOS. Previous xcopy solution returned with the dumb 'is it a file or dir?' message. 'copy' seems to overwrite existing target so no need to mess with /Y switch, but it may be that I'm overlooking something. * OS/2 $(CP) command changed to contain CMDPREF. This causes a little change in .c to .yyc rule, at the same time it syncs this shell with others. I hope it's harmless. ; FIXME: install dir creation doesn't work for dos shells. Anyone knows a trick to create a multilevel dir in plain DOS? (aka mkdir -p) [DONE] ; FIXME: dos/watcom does this: (should we force native harbour compiler?) ../../../../../bin/dos/watcom/harbour.exe ../../../achoice.prg -n1 -gc3 -undef:__PLATFORM__WINDOWS -D__PLATFORM__DOS run-time error R6009 - not enough space for environment [DONE - reduced environment locally] 2009-07-16 15:20 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/pp/ppcore.c * harbour/source/compiler/complex.c * harbour/source/hbzlib/ChangeLog * harbour/source/hbzlib/trees.c * cleaned casting 2009-07-16 14:57 UTC+0200 Viktor Szakats * config/global.cf ! Switched to use HB_FLAGSEXTRA for __PLATFORM__ macros instead of cumulating HB_USER_PRGFLAGS. It didn't work in linux/watcom builds from win hosts. This way also HB_HOST_FLAG_ isn't needed. * config/wce/global.cf - Deleted commented HB_FLAGSEXTRA line. * source/hbpcre/_hbconf.h * Minor formatting. 2009-07-16 14:19 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/config/global.cf ! yet another fix for exporting relative paths in HB_BIN_COMPILE * harbour/config/wce/global.cf ! disabled HB_FLAGSEXTRA=-D__PLATFORM__WINCE -D__PLATFORM__WINCE is already added in global.ch 2009-07-16 13:32 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/utils/hbmk2/hbmk2.prg ! fixed small typo which broke non windows builds 2009-07-16 13:24 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/config/global.cf ! fixed HB_BIN_COMPILE exporting - it should be done only for cross builds when it's fixed location * harbour/harbour-win-spec * harbour/harbour-wce-spec * harbour/make_gnu_xmingw.sh * harbour/make_gnu_xmingwce.sh * updated for recent modifications 2009-07-16 12:46 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/config/win/watcom.cf * added SYS NT to link options - it's default in Windows builds but is necessary in cross builds * harbour/config/global.cf * small modification in platform checking order to reduce possible interactions with some extended host information + added automatic HB_BIN_COMPILE setting based on binaries located in PATH. ! export some variables to avoid repeated setting in recursive calls what causes some bad side effects, i.e. multiple __PLATFORM__* macro settings in cross builds what was breaking cross compilation and also slow down the whole build process. 2009-07-16 12:13 UTC+0200 Viktor Szakats * config/instsh.cf * config/dirsh.cf * config/globsh.cf % Grouped non-bash (batch) initializations to reduce redundancy. * Changed 'md' command to 'mkdir' in OS/2 and DOS, just to be in sync, mkdir is available in all shells. + Added links to good multiplatform batch docs. * utils/hbmk2/hbmk2.prg + Added ability to start -gui targets on OS/2. 2009-07-16 10:31 UTC+0200 Viktor Szakats * include/hbextern.ch * source/lang/Makefile + source/lang/msguados.c + Added Ukrainian language module for cp1125. (borrowed from xhb, work of Pavel Tsarenko.) I've made a few corrections compared to xhb: - Using the same internal name as filename for consistency with other language modules (UADOS instead of UA1125). - Fixed date format which must only contain YYYY, MM, DD regardless of the CP/language used, since it's a picture mask. - Formatting (semicolon, spaces, deleted embedded repository ID not needed with SVN) - Added to hbextern.ch. * source/lang/msguakoi.c * source/lang/msgua866.c * Two corrections to internal name. (borrowed from xhb, work of Pavel Tsarenko.) ; QUESTION: I wonder why the texts are very much different in Harbour and xhb. Someone familiar with Ukrainian language and encodings should check this, only one of them can be right and all CPs should be synced with each other the only thing being different is the encoding. * source/codepage/msguakoi.c ! Fixed one letter. * source/codepage/cpuawin.c * source/codepage/cpua1125.c * source/codepage/cpua866.c * source/codepage/cpuakoi.c * Added "CYRILLIC LETTER GHE WITH UPTURN" letter. (borrowed from xhb, work of Pavel Tsarenko.) 2009-07-16 10:02 UTC+0200 Viktor Szakats * make_gnu_os2.cmd * make_gnu.bat * make_gnu.sh % Deleted install dir creation. Now done from GNU Make. * make_gnu_os2.cmd * Installs libs in lib/<arch>/<comp> by default just like win/dos builds. * config/instsh.cf ! Fixed missing semicolon. * config/rules.cf * Minor in comments. * include/hbsetup.h * source/common/hbprintf.c - Removed temporary enabler logic, here testing is over. 2009-07-16 04:25 UTC+0200 Viktor Szakats * config/instsh.cf + Implemented automatic creation of install dir for all shells. (only nt and dos were tested, os2 should be okay since it's the same as dos.) + Implemented to ignore empty install dir. This can be useful in practice although make_gnu.* starter scripts mask this feature yet. (bash gave an error so far on empty install dirs, this is now changed) * doc/en-EN/Makefile - Deleted ending slash from DOC_SUBDIR. 2009-07-16 03:10 UTC+0200 Viktor Szakats * config/instsh.cf * config/dirsh.cf * config/globsh.cf % Using $(CMDPREF) instead of '$(COMSPEC) /C'. 2009-07-16 02:57 UTC+0200 Viktor Szakats - config/hpux/dir.cf * config/hpux/global.cf - config/hpux/install.cf - config/darwin/dir.cf * config/darwin/global.cf - config/darwin/install.cf - config/dos/dir.cf * config/dos/global.cf - config/dos/install.cf * config/win/global.cf - config/win/install.cf - config/win/dir.cf - config/linux/dir.cf * config/linux/global.cf - config/linux/install.cf - config/os2/dir.cf * config/os2/global.cf - config/os2/install.cf - config/sunos/dir.cf * config/sunos/global.cf - config/sunos/install.cf - config/bsd/dir.cf * config/bsd/global.cf - config/bsd/install.cf - config/wce/dir.cf * config/wce/global.cf - config/wce/install.cf * Minor change in dos specific dirbase:: checks. Should be equivalent. * darwin/gcc was running RANLIB on install. I've removed this for now and if ranlib is required on Darwin, it should be readded to gcc.cf. * config/os2/gcc.cf * Changed to not rely on LIB_FILE_OS. * config/dir.cf + config/dirsh.cf * config/global.cf + config/globsh.cf * config/install.cf + config/instsh.cf ! Fixed NT vs dos shell detection. (hopefully) + Shell dependent logic merged and moved into new *sh.cf files. The filename is ugly, but couldn't yet find a better one. This means a great deal of redundancy is now removed, plus now cross-platform combinations aren't limited by missing shell support. New shells can now be added with much less work. ; Please test, it's possible that I made some mistakes along the way, and haven't tested bash yet. Nor OS/2 obviously. 2009-07-16 01:11 UTC+0200 Viktor Szakats * config/global.cf * config/win/global.cf * config/linux/global.cf * config/os2/global.cf * config/wce/global.cf + Changed host CPU detection. + Added automatic __PLATFORM__* macro configuration in cross-build situations. + Enhanced target/host CPU detection and decisions based on them. + Added automatic HB_BIN_COMPILE setup if not specified by user. In such case Harbour build will automatically look for the first available native build and use that. + Protected detection related screen messages with HB_BUILD_VERBOSE=yes. * Minor sync in shell command definition order. * INSTALL % User set __PLATFORM__* macro tweaks not needed anymore. * bin/postinst.cmd * bin/postinst.bat * bin/hb-func.sh * addins -> addons (hm, which is better?) 2009-07-15 22:28 UTC+0200 Viktor Szakats * config/rules.cf * config/dos/watcom.cf * config/dos/dir.cf * config/dos/global.cf * config/dos/install.cf * config/win/watcom.cf * config/win/global.cf * config/win/install.cf * config/win/dir.cf * config/win/bcc.cf * config/linux/watcom.cf * config/linux/dir.cf * config/linux/global.cf * config/linux/install.cf * config/os2/watcom.cf * config/os2/dir.cf * config/os2/global.cf * config/os2/install.cf * config/wce/dir.cf * config/wce/global.cf * config/wce/install.cf % Using HB_SHELL variable for shell detection. % Using HB_HOST_ARCH variable for host detection. * config/os2/install.cf * config/linux/install.cf * Indentation of bash install rules in win/wce/linux. * config/darwin/install.cf * config/hpux/install.cf * config/sunos/install.cf * config/bsd/install.cf * Minor sync with other copies. Still not fully the same (the first line). 2009-07-15 22:04 UTC+0200 Viktor Szakats * config/dos/global.cf * config/global.cf * config/win/global.cf * config/linux/global.cf * config/os2/global.cf * config/wce/global.cf + COMSPEC detection centralized. Added command.com defaulting in DOS shells. * Some 'MK:=' changed to 'MK='. (maybe ':=' is the correct one, I'm just syncing yet) + Added IA64 detection. + Not giving warning on missing HB_BIN_COMPILE on some host-target combinations which don't require it (win32 on win64 and dos on win32). * config/dos/global.cf % Simplified an if construct. QUESTION added. 2009-07-15 21:35 UTC+0200 Viktor Szakats * config/rules.cf * config/darwin/gcc.cf * config/hpux/gcc.cf * config/dos/dir.cf * config/dos/global.cf * config/dos/install.cf * config/global.cf * config/win/global.cf * config/win/install.cf * config/win/dir.cf * config/bin.cf * config/linux/gcc.cf * config/linux/dir.cf * config/linux/icc.cf * config/linux/global.cf * config/linux/install.cf * config/os2/dir.cf * config/os2/global.cf * config/os2/install.cf * config/dir.cf * config/sunos/gcc.cf * config/bsd/gcc.cf * config/c.cf * config/wce/dir.cf * config/wce/global.cf * config/wce/install.cf * Formatting (whitespaces, indentation). * utils/hbtest/Makefile * Moved setting before including central make files. * config/global.cf + COMSPEC detection completed. 2009-07-15 20:02 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/harbour.spec ! fixed RPM building after recent modification in Makefiles * harbour/harbour-win-spec * harbour/harbour-wce-spec * updated for new binary files directory and HB_BIN_COMPILE meaning * harbour/source/pp/Makefile * harbour/config/rules.cf ! fixed binary extension used to execute hbpp and harbour, AFAIK in current version it should be HB_HOST_BIN_EXT not EXE_EXT * harbour/config/global.cf ! fixed host architecture autodetection: @uname = $(shell uname -a) does not execute command silently but creates envvar '@uname' % added function for host detection and extended host detection rules to work with some envvars % test some known OS envvars before calling uname ! use 'uname -s' instead of 'uname -a' which may cause wrong host detection when host name contains some string we are looking for ! set .exe in HB_HOST_BIN_EXT for win_amd64 2009-07-15 20:00 UTC+0200 Viktor Szakats * include/Makefile + include/hbextcdp.ch * include/hbextern.ch * utils/hbmk2/hbmk2.prg + Separated EXTERNAL HB_CODEPAGE_* lines to hbextcdp.ch. These are commonly needed by apps. * Using hbextcdp.ch in hbmk2. ; TODO: hbextern app needs to be updated to filter out CODEPAGE symbols. [DONE] 2009-07-15 19:14 UTC+0200 Viktor Szakats * config/win/mingw.cf * config/wce/mingwarm.cf * LDLIBS -> LIBLIST 2009-07-15 18:53 UTC+0200 Viktor Szakats * config/win/mingw.cf * config/wce/mingwarm.cf % Optimized out LIB_DIR_OS_ vars. * config/dos/watcom.cf * config/win/watcom.cf * config/win/bcc.cf * config/linux/watcom.cf * config/os2/watcom.cf ! Minor: += -> = (after recent changes) 2009-07-15 18:07 UTC+0200 Viktor Szakats * source/pp/Makefile * source/pp/hbpp.c + hbpp is now accepting directory for -c parameter and in this case it will check ChangLog names in specified dir. + Modified make file to pass dir to hbpp so now it configures itself automatically no matter where we move the object directory. ; Please review me. 2009-07-15 17:51 UTC+0200 Viktor Szakats * source/pp/hbpp.c ! Need to go one level up after latest changes. * doc/dirstruc.txt - Deleted reference to old central obj dir. 2009-07-15 17:34 UTC+0200 Viktor Szakats * config/global.cf + Enabled base directory for all intermediate build files (objects, Harbour generated .c files, etc). Now they will be put under 'obj' dir inside each source directory. After this huge task, it's now possible to filter out all these intermediate files from grep, hbextern commands. For me this means I can do without a parallel virgin repository kept for grep usage. * examples/hbextern/hbextern.prg * Filtering obj dirs instead of all platforms specifically. * config/c.cf ! Fixed to use $(GRANDP) instead of hard-wired ../../ dir. Please verify me. ; Przemek, you can now go on, the only remaining larger thing is moving install dir creation to GNU Make level. 2009-07-15 17:24 UTC+0200 Viktor Szakats * config/dos/global.cf * config/global.cf * config/linux/global.cf * config/os2/gcc.cf * config/os2/global.cf * Finished internal support for obj base dir. In next step I'll enable it. 2009-07-15 17:08 UTC+0200 Viktor Szakats * config/global.cf * config/darwin/global.cf * config/hpux/global.cf * config/dos/global.cf * config/win/global.cf * config/linux/global.cf * config/os2/global.cf * config/sunos/global.cf * config/bsd/global.cf * config/wce/global.cf * 'OBJ_DIR := $(ARCH_COMP)' moved to central global.cf. (equivalent modification) 2009-07-15 17:01 UTC+0200 Viktor Szakats * config/global.cf + Added OBJ_BASE. (empty yet) * config/dos/global.cf * config/win/global.cf * config/linux/global.cf * config/os2/global.cf * config/wce/global.cf * Minor tweak to retain "chain of command". 2009-07-15 16:49 UTC+0200 Viktor Szakats * config/global.cf + Added new shell detection logic (not used yet) + Added experimental HB_HOST_ARCH (host architecture) and HB_HOST_BIN_EXT detection. Extra screen messages will be deleted later. Currently 3.81 GNU Make is required (for the screen messages). + Moved DIRSEP init here. + Moved CMDPREF init here. + Moved ComSpec detection here. * config/none.cf % Using global.cf for some central logic. * config/c.cf * config/rules.cf % DIRSEP init deleted, now in global.cf 2009-07-15 15:29 UTC+0200 Viktor Szakats * make_gnu_xmingwce.sh * make_gnu_xmingw.sh * Rename: HB_HOST_CC -> HB_HOST_COMP 2009-07-15 14:59 UTC+0200 Viktor Szakats * source/pp/Makefile - Removed HB_PPGEN_PATH setting. Now HB_BIN_COMPILE is used to point to the directory where all native executables are to be found. This means you can simply delete HB_PPGEN_PATH from your local settings. ; NOTE: Please update make_gnu_xmingw*.sh script accordingly, it should probably accept (detect) HB_BIN_COMPILE and drop HB_COMP_PATH / HB_PPGEN_PATH settings. Or, we should define some new ways to define cross builds replacing the current mess (there is also HB_XBUILD). I'd vote for these envvars: - HB_HOST_ARCH (linux, win, dos, os2, etc...) - HB_HOST_BIN (dir of native executables) - HB_HOST_BIN_EXT (.exe or empty) * INSTALL * Updated cross-build sections and deleted make_gnu_xmingw*.sh related exception to keep instructions clean. * contrib/hbwin/wapi_commctrl.c * contrib/hbwin/hbwapi.h ! Fixed to compile under various other win compilers. ! Added missing WinCE protections. (notice all tools are freely available to check these and avoid breaking builds) Added non-WinCE branch to return dummy values. ! Formatted: (_WIN32_IE >= 0x0300) -> ( _WIN32_IE >= 0x0300 ) ! Fixed non-ANSI comments. ! Fixed warnings, and there is still some dubious comversions in there like HANDLE - HTREEVIEW and RECT passings. I wonder if it is possible at all to create clean Windows API code. ; NOTE: Please take care of above stuff, it's not a pleasure to be the cleaner of such code, but it breaks builds to it must be done all the time. ; NOTE: I'd like to recommend adding only Windows API functions which are available on all Windows platforms (WinCE, Win64) otherwise it will be more difficult to build anything portable on top of them. ; QUESTION: Why many functions are disabled with #if 0? 2009-07-15 14:01 UTC+0200 Viktor Szakats * config/hpux/install.cf * config/darwin/install.cf * config/dos/install.cf * config/win/install.cf * config/install.cf * config/linux/install.cf * config/os2/install.cf * config/sunos/install.cf * config/bsd/install.cf * config/wce/install.cf ! Restored previous install rule setup, to fix hbpp combined lib/bin install case. ; QUESTION: How to use multiple commands in a non-bash (= batch) INSTALL_RULE variable? This would be needed to support automatic addition of install dirs with non-bash shells. 2009-07-15 13:42 UTC+0200 Viktor Szakats * config/win/bcc.cf + Restored bash rules for bcc. 2009-07-15 13:06 UTC+0200 Viktor Szakats * source/pp/Makefile * config/rules.cf * config/darwin/gcc.cf * config/dos/watcom.cf * config/dos/djgpp.cf * config/global.cf * config/lib.cf * config/win/watcom.cf * config/bin.cf * config/linux/watcom.cf * config/os2/watcom.cf * config/os2/gcc.cf + Now all binaries will be created inside bin/<arch>/<comp>, instead of the work/obj dir. ; Please test. (I didn't test cross-compilation yet, but maybe now it's a better time to cleanup the HB_PPGEN_PATH, HB_BIN_COMPILE settings and drop the former. ! Reverted prev cleanup. ; FIXME: install rule for hbpp lib doesn't work after recent change. [REVERTED] ; TODO: Delete HB_PPGEN_PATH. [DONE] 2009-07-15 12:39 UTC+0200 Viktor Szakats * config/lib.cf * config/bin.cf * Minor cleanup. 2009-07-15 12:23 UTC+0200 Viktor Szakats * config/darwin/install.cf * config/hpux/install.cf * config/dos/install.cf * config/install.cf * config/win/install.cf * config/linux/install.cf * config/os2/install.cf * config/sunos/install.cf * config/bsd/install.cf * config/wce/install.cf * Little tweak to install rules to allow multiline rules on non-bash shells. Maybe there is another way, but couldn't find it. ; This is a step towards moving install dir creation to GNU Make level. 2009-07-15 11:58 UTC+0200 Viktor Szakats * source/rtl/hbinet.c * Formatting, cleanup. * Few types cleaned. Although many 'int's seems better be 'long', I didn't touch it. Please review. No functionality should change. ! HB_INETSTATUSDESC() to always return string if socket is valid. 2009-07-15 11:16 UTC+0200 Viktor Szakats * config/darwin/global.cf * config/hpux/global.cf * config/dos/global.cf * config/win/global.cf * config/linux/global.cf * config/os2/global.cf * config/sunos/global.cf * config/bsd/global.cf * config/wce/global.cf + Added dir creation for executables. This is a preparation step towards generating executables inside bin/<ARCH>/<COMP>. * Dir creation on OS/2 shells changed a bit, I hope it works, and I'm not sure if it was intentional to use a different solution than DOS/NT shells, since there is only GNU Make logic involved. Anyhow, please test. * config/dos/global.cf % Deleted (unused) RANLIB reference. 2009-07-15 10:31 UTC+0200 Viktor Szakats * config/win/bcc.cf ! Restored branch to use link script to avoid command-line length limits present on some NT systems. Also fixed to work on paths with spaces. * config/bin.cf * Minor cleanup to prev. * config/bin.cf * config/lib.cf + Preparation for moving the generated binaries in: bin/<ARCH>/<COMP> 2009-07-14 22:40 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbxbp/xbp.ch + contrib/hbxbp/xbpbrowse.prg + Started XbpBrowse(), XbpColumn() and XbpCellGroup() classes - skeleton only. 2009-07-14 20:48 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbwin/hbwapi.h * contrib/hbwin/wapi_commctrl.c + Added TreeView_* functions under namespace HB_FUNC( WAPI_TREEVIEW_* ). NOTE: Please check for different compilers/platforms. I have tried to confine functions in #ifdef but these may be limited. 2009-07-14 19:06 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbxbp/xbpfontdialog.prg * contrib/hbxbp/xbprtf.prg + Implemented :print( oXbpPrinter, lOnlySelection ) in XbpRTF() class. TODO: <lOnlySelection> is not functional yet. + Implemented :selFont GETSET METHOD - Harbour Extension - this accepts XbpFont() object as new font. * contrib/hbxbp/tests/demoxbp.prg + Demonstrated the use of XbpFontDialog() with XbpRTF(). 1. Click on <Rtf> tab. 2. Select some text. 3. Click on <Font> Push Button - it will open Font Dialog on the left-top corner. 4. Move around in the font dialog, select every factor available, change it, you will see the effects on selected text in <Rtf>. 2009-07-15 03:28 UTC+0200 Viktor Szakats * source/pp/Makefile * config/hpux/global.cf * config/darwin/global.cf * config/dos/global.cf * config/lib.cf * config/win/global.cf * config/linux/global.cf * config/bin.cf * config/os2/global.cf * config/test.cf * config/sunos/global.cf * config/bsd/global.cf * config/wce/global.cf * ARCH_COMP_OS -> OBJ_DIR_OS * ARCH_COMP_DIR -> OBJ_DIR (using names that make more sense) 2009-07-15 03:28 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/gtwin/gtwin.c * added code to disable/enable mouse input by: hb_gtInfo( HB_GTI_MOUSESTATUS, <lOnOff> ) It's possible that hb_gtInfo( HB_GTI_MOUSESTATUS, .F. ) will also disable mouse cursor in full screen mode but I haven't tested it. Please check. 2009-07-15 03:11 UTC+0200 Viktor Szakats * source/rtl/gtwin/gtwin.c * Minor formatting. * source/rtl/gtapi.c % hb_gtSetCursor(): Deleted parameter evaluation. It's better to do it only on low-level. * config/win/bcc.cf % Line deleted. * utils/hbmk2/hbmk2.prg + -nohblib now supported in scripts. + -nohblib- option added. * examples/pp/pp.hbp * Comment deleted. 2009-07-15 02:35 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/config/hpux/gcc.cf * harbour/config/darwin/gcc.cf * harbour/config/dos/watcom.cf * harbour/config/dos/djgpp.cf * harbour/config/win/watcom.cf * harbour/config/win/icc.cf * harbour/config/win/cygwin.cf * harbour/config/win/msvc.cf * harbour/config/win/xcc.cf * harbour/config/win/mingw.cf * harbour/config/win/pocc.cf * harbour/config/win/bcc.cf * harbour/config/linux/watcom.cf * harbour/config/linux/gcc.cf * harbour/config/linux/icc.cf * harbour/config/os2/watcom.cf * harbour/config/os2/gcc.cf * harbour/config/sunos/gcc.cf * harbour/config/bsd/gcc.cf * harbour/config/wce/msvcarm.cf * harbour/config/wce/mingwarm.cf * harbour/config/wce/poccarm.cf * cleanup: rtl -> hbrtl, rdd -> hbrdd * harbour/harbour.spec * harbour/harbour-win-spec * harbour/harbour-wce-spec * harbour/include/hbcomp.h * harbour/source/Makefile + harbour/source/nulrtl + harbour/source/nulrtl/nulrtl.c + harbour/source/nulrtl/Makefile + added hbnulrtl library to use non .prg harbour binaries * harbour/source/rtl/strmatch.c * harbour/source/common/Makefile + harbour/source/common/strwild.c * moved hb_strMatch*() functions from RTL to COMMON library Warning: copyright changed in new file. Viktor is rtl/strmatch.c copyright holder but hb_strMatch*() functions is my code. * harbour/source/rtl/Makefile - harbour/source/rtl/hbffind.c * harbour/source/common/Makefile * harbour/source/common/hbffind.c * moved hb_fsFind*() functions from RTL to COMMON library * harbour/source/main/harbour.c * harbour/source/main/Makefile * use hbnulrtl library to create harbour binaries * harbour/source/pp/Makefile * harbour/source/pp/hbpp.c * use hbnulrtl library to create hbpp binaries * added support for wildcard search * harbour/examples/pp/pp.c * harbour/examples/pp/pp.hbp * use hbnulrtl library to create pp binaries question: why is ignored -nohblib in pp.hbp? * harbour/contrib/rddads/ads1.c % removed always false if() { ... } statement 2009-07-14 14:07 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/hbqt.h * contrib/hbqt/hbqt_slots.cpp * contrib/hbqt/hbqt_slots.h ! Cleanups and formatting and copryright rearrangement. 2009-07-14 14:05 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/tests/demoqt.prg ! Some tweaks. /* Lorenzo, you did not noted in ChangeLog after committing .*/ 2009-07-14 13:50 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbxbp/xbpdialog.prg * contrib/hbxbp/xbpgeneric.prg ! Changed the way AppEvent() eventloop was being executed. Not it is more near to Xbase++, not 100% but near. CPU consumption is reduced to 2-3 percent. * contrib/hbxbp/xbprtf.prg + Implemented more XbpRTF() features. * contrib/hbxbp/tests/demoxbp.prg + Demonstrated more XbpRtf() features. Play with Rtf tab. 2009-07-14 22:42 UTC+0200 Viktor Szakats * config/hpux/gcc.cf * config/darwin/gcc.cf * config/dos/watcom.cf * config/dos/djgpp.cf * config/global.cf * config/win/watcom.cf * config/win/icc.cf * config/win/cygwin.cf * config/win/msvc.cf * config/win/xcc.cf * config/win/mingw.cf * config/win/pocc.cf * config/win/bcc.cf * config/install.cf * config/linux/watcom.cf * config/linux/gcc.cf * config/linux/icc.cf * config/os2/watcom.cf * config/os2/gcc.cf * config/sunos/gcc.cf * config/bsd/gcc.cf * config/wce/msvcarm.cf * config/wce/mingwarm.cf * config/wce/poccarm.cf % Deleted HB_LIB_COMPILE support. With this setting it was possible to override default internal lib path for the builds. Not needed in practice. 2009-07-14 22:06 UTC+0200 Viktor Szakats * config/hpux/gcc.cf * config/darwin/gcc.cf * config/dos/watcom.cf * config/dos/djgpp.cf * config/win/watcom.cf * config/win/icc.cf * config/win/cygwin.cf * config/win/msvc.cf * config/win/xcc.cf * config/win/mingw.cf * config/win/pocc.cf * config/win/bcc.cf * config/linux/watcom.cf * config/linux/gcc.cf * config/linux/icc.cf * config/os2/watcom.cf * config/os2/gcc.cf * config/sunos/gcc.cf * config/bsd/gcc.cf * config/wce/msvcarm.cf * config/wce/mingwarm.cf * config/wce/poccarm.cf % Deleted CONTRIBS settings which could add extra libs to the Harbour build process. Harbour build process shouldn't rely on extra libs, so this is not necessary. 2009-07-14 21:58 UTC+0200 Viktor Szakats * config/darwin/gcc.cf * config/dos/watcom.cf * config/win/cygwin.cf * config/win/mingw.cf * config/win/bcc.cf * config/os2/watcom.cf * config/wce/mingwarm.cf % Deleted references to half/unused features from the past, not really needed for core build: - LNK_USR_PATH - LNK_USR_LIB - HB_USER_LIBS - HB_SCREEN_LIB 2009-07-14 21:51 UTC+0200 Viktor Szakats * source/pp/Makefile * config/global.cf * config/bin.cf * config/test.cf * config/lib.cf * config/darwin/global.cf * config/hpux/global.cf * config/dos/global.cf * config/win/global.cf * config/linux/global.cf * config/os2/gcc.cf * config/os2/global.cf * config/sunos/global.cf * config/bsd/global.cf * config/wce/global.cf * HB_ARCH -> ARCH_COMP * HB_ARCH_OS -> ARCH_COMP_OS * ARCH_DIR -> ARCH_COMP_DIR * LIB_ARCH -> LIB_FILE * LIB_ARCH_OS -> LIB_FILE_OS * EXE_ARCH -> EXE_FILE * LIB_PATH -> LIB_ARCH_DIR * LIB_PATH_OS -> LIB_ARCH_DIR_OS (Renamed in the hope the new names will make a little bit more sense) 2009-07-14 21:01 UTC+0200 Viktor Szakats * config/dos/global.cf * config/win/global.cf * config/win/mingw.cf * config/linux/global.cf * config/os2/gcc.cf * config/os2/global.cf * config/wce/global.cf * config/wce/mingwarm.cf * DOS_ARCH_DIR -> HB_ARCH_OS * DOS_LIB_DIR -> LIB_DIR_OS * DOS_LIB_ARCH -> LIB_ARCH_OS * DOS_LIB_PATH -> LIB_PATH_OS * LIB_PATH_DOS -> LIB_PATH_OS 2009-07-14 20:52 UTC+0200 Viktor Szakats * config/dos/dir.cf * config/win/dir.cf * config/linux/dir.cf * config/os2/dir.cf * config/wce/dir.cf * DIR_LIST -> DIRS_OS * DIR_MAKE -> MK_OS 2009-07-14 20:48 UTC+0200 Viktor Szakats * config/dos/install.cf * config/win/install.cf * config/linux/install.cf * config/os2/install.cf * config/wce/install.cf * Using INSTALL_DIR_OS temp var instead of doing OS conversion inline. 2009-07-14 20:42 UTC+0200 Viktor Szakats * config/hpux/dir.cf * config/darwin/dir.cf * config/sunos/dir.cf * config/bsd/dir.cf + Missing ending EOLs. 2009-07-14 20:39 UTC+0200 Viktor Szakats * source/pp/Makefile * config/header.cf * config/darwin/install.cf * config/dos/install.cf * config/doc.cf * config/lib.cf * config/win/install.cf * config/bin.cf * config/linux/install.cf * config/os2/install.cf * config/sunos/install.cf * config/bsd/install.cf * config/wce/install.cf * INSTALL_OBJS -> INSTALL_FILES * INSTALL_DIRSH -> INSTALL_DIR_OS * INSTALL_OBJSH, INSTALL_LIST -> INSTALL_FILES_OS 2009-07-14 20:10 UTC+0200 Lorenzo Fiorini (lorenzo.fiorini/at/gmail.com) * bin/hb-func.sh * add creation of unver harbour dll links in win/wce builds 2009-07-14 18:53 UTC+0200 Viktor Szakats * config/win/pocc.cf + Added /subsystem:console to avoid linker warning. 2009-07-14 18:28 UTC+0200 Viktor Szakats * source/pp/hbpp.c * source/pp/Makefile + Moved ChangeLog name detection logic to C level. 2009-07-14 18:03 UTC+0200 Viktor Szakats * bin/hb-func.sh * make_gnu.sh * Moved lib detection logic to hb-func.sh. ; It'd be better to have a way to gather such information along the make process in some .cfg files. * source/rtl/gtcrs/Makefile - Deleted some header locations which weren't checked anyway before these changes. Please review. * config/djg-make.exe + Updated to 3.81 (from 3.79.1) found in djgpp 2.04 (beta) (doesn't resolve the dos/watcom problem with hbpp) 2009-07-14 16:48 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/pp/Makefile ! fixed hardcoded for windows shortcut (Change~1) ChangeLog name in DOS OpenWatcom builds so now it's possible again to create such builds in real DOS without LFN support 2009-07-14 16:21 UTC+0200 Viktor Szakats * make_gnu.sh - Reverted most part of prev. It's still needed to form hbmk script and add settings to hbmk.cfg. 2009-07-14 16:16 UTC+0200 Viktor Szakats * make_gnu.sh - Deleted CRS, SLN, GPM detection. ; Now only some CPU dependent Linux settings remain. How to move these to central Makefiles? * make_gnu.sh * config/hpux/gcc.cf * config/sunos/gcc.cf * -fPIC setting moved to Makefiles. * Minor syncing between these two makefiles. ; NOTE: hbmk script creation may need to be updated. * utils/hbmk2/hbmk2.prg + -fPIC now added as standard for hpux and sunos. 2009-07-14 15:53 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/gtalleg/gtalleg.c * changed the order of #include files to pacify DJGPP 2.04 warnings 2009-07-14 14:50 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/config/dir.cf ! fixed typo in OLD make detection 2009-07-14 12:45 UTC+0200 Viktor Szakats * source/vm/extend.c ! [REVERTED - I overlooked it] Fixed hb_parvcx() to return "" instead of NULL when dealing with array parameters out of bound or non-string. (Borrowed from xhb by Ron Pinkas. Although the fix is implemented differently in Harbour) 2009-07-14 12:25 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/gtcrs/gtcrs.c * harbour/source/rtl/gttrm/gttrm.c * updated to compile with DJGPP 2.03 2009-07-14 12:15 UTC+0200 Viktor Szakats * source/vm/extend.c ! Fixed hb_parvcx() to return "" instead of NULL when dealing with array parameters out of bound or non-string. (Borrowed from xhb by Ron Pinkas. Although the fix is implemented differently in Harbour) * source/rtl/gttrm/Makefile * CFLAGS -> HB_USER_CFLAGS * include/hbapicdp.h * include/hbextern.ch * source/lang/Makefile * source/codepage/Makefile + source/codepage/cpua1125.c + source/codepage/uc1125.c + Added DOS Ukrainian 1125 codepage (Borrowed from xhb. Work of Pavel Tsarenko) * utils/hbmk2/hbmk2.prg * OS/2 embedded compiler autodetection order fixed. 2009-07-14 11:30 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/gtcrs/gtcrs.c * harbour/source/rtl/gtcrs/gtcrs.h * harbour/source/rtl/gtcrs/Makefile * updated to compile with DJGPP and PDCURSES * harbour/source/rtl/gttrm/Makefile * harbour/source/rtl/gttrm/gttrm.c * updated to compile with DJGPP - warning it needs remote terminal or at least ANSI driver for local execution * harbour/source/rtl/gtchrmap.c * enabed for DOS builds 2009-07-14 11:18 UTC+0200 Viktor Szakats * source/pp/Makefile ! Ugly hack added to make dos/watcom creation under NT hosts. Please check/fix since this probably broke dos/watcom on DosBox. ; NOTE: we should probably rename ChangeLog to CHANGES, as it's almost impossible to get it right properly. Or, hbpp could look for these alternate short names in some predefined order. 2009-07-14 10:51 UTC+0200 Viktor Szakats * Makefile ! Adjusted a little bit to postinst.bat executed for Linux cross builds also. * doc/linux1st.txt * source/rtl/Makefile * config/hpux/global.cf * config/darwin/global.cf * config/dos/global.cf * config/win/global.cf * config/win/xcc.cf * config/win/mingw.cf * config/win/pocc.cf * config/linux/watcom.cf * config/linux/global.cf * config/os2/global.cf * config/sunos/global.cf * config/bsd/global.cf * config/wce/global.cf * config/wce/poccarm.cf - Deleted references of already halfly-deleted HB_GT_LIB support. Users should use -DHB_GT_LIB=<gtname>. HB_GT_LIB also has a different, special purpose in os2, this is still kept, but it would be better to use some other names for it. ! Fixed linux/watcom to suppress .elf extension of binaries when built on a non-Linux host. - Deleted extra GT libs from link list. Now all *portable* GTs plus the default one are *linked*, and all GTs are always attempted to be *built*. - Deleted checking GT libs extistance. They always exist unless the source tree is corrupted, so there is no point to do this check. * wce/poccarm now always have /SUBSYSTEM:WINDOWS. ; NOTE: If we want to support build-time default GT selection/override, we should find some proper ways, but it makes things very complicated without much benefit, since GT can be easily overridden in final apps, supplied binary tools can also very easily rebuilt using hbmk2 with whatever GT. * utils/hbmk2/hbmk2.prg * Minor formatting. 2009-07-14 09:43 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/gtcrs/Makefile * harbour/source/rtl/gttrm/Makefile * harbour/source/rtl/gtsln/Makefile * disabled GPM when HB_GPM_MOUSE=no or HB_COMMERCE=yes Please remember that GPM is pure GPL library. 2009-07-14 03:07 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg * Let's assume 32-bit / little-endian CPU platforms for cross *nix builds, as the most probable case. 2009-07-14 02:49 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fixed to force empty extension for target executables when creating Linux targets on non-Linux hosts using watcom. (otherwise watcom defaults to '.elf') ! Fixed upx command line to force compression (using --force-execve option) for Linux targets created on non-Linux hosts using watcom. Maybe it's always needed for watcom-built Linux targets, it would be nice if someone could try. 2009-07-14 01:48 UTC+0200 Viktor Szakats * config/darwin/gcc.cf * config/hpux/gcc.cf * config/dos/watcom.cf * config/dos/djgpp.cf * config/global.cf * config/win/watcom.cf * config/win/icc.cf * config/win/cygwin.cf * config/win/msvc.cf * config/win/xcc.cf * config/win/mingw.cf * config/win/pocc.cf * config/linux/watcom.cf * config/linux/gcc.cf * config/linux/icc.cf * config/os2/watcom.cf * config/os2/gcc.cf * config/sunos/gcc.cf * config/bsd/gcc.cf * config/wce/msvcarm.cf * config/wce/mingwarm.cf * config/wce/poccarm.cf % Moved inclusion of platform specific global.cf to central global.cf. 2009-07-14 01:28 UTC+0200 Viktor Szakats * source/rtl/gtcrs/Makefile * source/rtl/gtsln/Makefile * Detection locations synced with make_gnu.sh. (not 100%, ncurses.h isn't checked for existence in Makefile, as it's not used anyway in our sources. should be removed from make_gnu.sh probably.) 2009-07-14 00:28 UTC+0200 Viktor Szakats * INSTALL + Added Linux build on NT host example. * utils/hbmk2/hbmk2.prg + Added support for most watcom cross-compile situations. (os2/linux/dos on win, os2/linux/win on dos, dos/win/linux on os2, dos/win/os2 on linux - I didn't test them all obviously) ! Some fixes regarding Linux targets on non-Linux hosts cross build situations. This is brand new situation. ! Synced watcom/os2 flags with build ones to avoid hbmk2 build errors on os2. ! Fixed linux/watcom object extension, which appears to be .obj when using non-Linux hosts. * make_gnu.bat * Linux cross-build support. ! Fixed to find make_gnu.sh when doing partial builds using bash on Windows. * config/win/global.cf * config/win/install.cf * config/linux/dir.cf * config/linux/global.cf * config/linux/install.cf * config/os2/global.cf * config/os2/install.cf * config/wce/global.cf * config/wce/install.cf + install bash section synced across linux/windosos2 platforms. + empty target handling synced across linux/windosos2 platforms. + Added support to linux build files for cross builds on Windows and OS/2 hosts. ; TODO: Whole install/global/dir.cf logic is just crying to be moved to central location and be branched by host platform/shell rather than target platform. [DONE] ; Please check me on the linux changes, could be that I messed it up. * source/rtl/Makefile + Enabled to try building all GTs on every platform. Local autodetection should take care of the decision to finally build it or not. * source/rtl/gtxwc/Makefile * source/rtl/gtcrs/Makefile * source/rtl/gttrm/Makefile * source/rtl/gtsln/Makefile + Added self-detection for external headers just like it's done in contribs. This is required to support Linux cross-builds on Windows. (djgpp + curses ends with build errors) + Added GPM autodetection. + Enabled gttrm for cygwin. (only in local make file) ; FIXME: Remove such detection logic from make_gnu.sh (it's now redundant and doesn't work for djgpp/cygwin) [DONE] * source/rtl/gtwin/gtwin.c * source/rtl/hbgtcore.c * contrib/xhb/txml.prg * Minor formatting. 2009-07-13 11:30 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/gtqtc/gtqtc.cpp ! BYTE => int. * contrib/gtqtc/tests/demoqtc.prg ! Removed Windows specific stuff. /* What is the status of this lib? It is still not included in default build ! */ 2009-07-13 16:18 UTC+0200 Viktor Szakats * source/rtl/gtwin/gtwin.c * source/rtl/gtwvt/gtwvt.h * source/rtl/gtwvt/gtwvt.c * Formatting. * source/rtl/gtwin/gtwin.c ! Fixed displaying cursor after recent changes. It was a small mistake when removing some dead code. 2009-07-13 03:15 UTC+0200 Viktor Szakats * contrib/rddads/adsfunc.c % Minor optimizations. * Using sizeof() instead of repeating buffer sizes. * Formatting. - Deleted no more relevant comment. * examples/terminal/trm_cli.prg * examples/terminal/terminal.prg ! Fixes to prev change. 2009-07-12 07:38 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/hbxbp/xbp.ch ! Minor formatting. * harbour/contrib/hbxbp/xbpgeneric.prg ! A small fix. * harbour/contrib/hbxbp/xbprtf.prg + Implemented :insertImage( cImageFilename ) member - an Harbour extension. * harbour/contrib/hbxbp/tests/demoxbp.prg ! Added pushbuttons in <Rtf> tab to demonstrate various features. + Demonstrated non-Xbase++ compatible feature :insertImage(). Just play. 2009-07-12 07:32 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbourr/contrib/hbqt/QPrinter.cpp * harbourr/contrib/hbqt/QTextCursor.cpp * harbourr/contrib/hbqt/TQPrinter.prg * harbourr/contrib/hbqt/TQTextCursor.prg * harbourr/contrib/hbqt/qth/QPrinter.qth ! Commented out setWinPage() and winPage() calls - Windows only. * harbourr/contrib/hbqt/qth/QTextCursor.qth ! changed the order of insertImage() calls. 2009-07-12 12:21 UTC+0200 Viktor Szakats * INSTALL + Added information about creating Windows / Windows CE builds on Linux. Corresponding scripts references. ! Minor correction to OS/2 on Windows cross-build example. * contrib/hbct/Makefile - contrib/hbct/blank.prg + contrib/hbct/blank.c + Applied patch by Pavel Tsarenko (xhb) (with some little modifications): BLANK() function rewritten in C. * contrib/rddads/adsfunc.c ! Reimplemented fix from Pavel Tsarenko (xhb): Removed unnecessary OEM to ANSI convertation in SQL functions. 2009-07-12 00:01 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/hbxbp/Makefile * harbour/contrib/hbxbp/xbp.ch * harbour/contrib/hbxbp/xbpdialog.prg * harbour/contrib/hbxbp/xbpgeneric.prg * harbour/contrib/hbxbp/xbpprinter.prg + harbour/contrib/hbxbp/xbprtf.prg + Implemented XbpRtf() class - the toughest so far. Example code lifted from Xbase++ documentaion is working as is except for one feature. Still more work is required. I see a possibility of lot more features in this class - later. * harbour/contrib/hbxbp/tests/demoxbp.prg + Demonstrated the XbpRtf() class implementation. Click on <Rtf> tab-page and view the results. Also examine the code. 2009-07-11 11:44 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/hbqt/generator/hbqtgen.prg * harbour/contrib/hbqt/qth/QBitmap.qth * harbour/contrib/hbqt/qth/QBrush.qth * harbour/contrib/hbqt/qth/QFontDialog.qth * harbour/contrib/hbqt/qth/QFormLayout.qth * harbour/contrib/hbqt/qth/QImage.qth * harbour/contrib/hbqt/qth/QPen.qth * harbour/contrib/hbqt/qth/QTextBlockFormat.qth * harbour/contrib/hbqt/qth/QTextBlockGroup.qth * harbour/contrib/hbqt/qth/QTextCursor.qth * harbour/contrib/hbqt/qth/QWidget.qth * harbour/contrib/hbqt/hbqt.ch * harbour/contrib/hbqt/hbqt.h * harbour/contrib/hbqt/hbqt_slots.cpp * harbour/contrib/hbqt/hbqt_slots.h * harbour/contrib/hbqt/moc_slots.cpp * harbour/contrib/hbqt/QAbstractButton.cpp * harbour/contrib/hbqt/QAbstractItemModel.cpp * harbour/contrib/hbqt/QAbstractItemView.cpp * harbour/contrib/hbqt/QAbstractListModel.cpp * harbour/contrib/hbqt/QAbstractPrintDialog.cpp * harbour/contrib/hbqt/QAbstractScrollArea.cpp * harbour/contrib/hbqt/QAbstractSlider.cpp * harbour/contrib/hbqt/QAbstractSpinBox.cpp * harbour/contrib/hbqt/QAbstractTableModel.cpp * harbour/contrib/hbqt/QAction.cpp * harbour/contrib/hbqt/QApplication.cpp * harbour/contrib/hbqt/QBitmap.cpp * harbour/contrib/hbqt/QBoxLayout.cpp * harbour/contrib/hbqt/QBrush.cpp * harbour/contrib/hbqt/QCalendarWidget.cpp * harbour/contrib/hbqt/QCheckBox.cpp * harbour/contrib/hbqt/QClipboard.cpp * harbour/contrib/hbqt/QColor.cpp * harbour/contrib/hbqt/QColorDialog.cpp * harbour/contrib/hbqt/QComboBox.cpp * harbour/contrib/hbqt/QCommandLinkButton.cpp * harbour/contrib/hbqt/QCommonStyle.cpp * harbour/contrib/hbqt/QConicalGradient.cpp * harbour/contrib/hbqt/QCoreApplication.cpp * harbour/contrib/hbqt/QCursor.cpp * harbour/contrib/hbqt/QDateEdit.cpp * harbour/contrib/hbqt/QDateTime.cpp * harbour/contrib/hbqt/QDateTimeEdit.cpp * harbour/contrib/hbqt/QDesktopWidget.cpp * harbour/contrib/hbqt/QDial.cpp * harbour/contrib/hbqt/QDialog.cpp * harbour/contrib/hbqt/QDir.cpp * harbour/contrib/hbqt/QDirModel.cpp * harbour/contrib/hbqt/QDockWidget.cpp * harbour/contrib/hbqt/QDoubleSpinBox.cpp * harbour/contrib/hbqt/QDragEnterEvent.cpp * harbour/contrib/hbqt/QDragLeaveEvent.cpp * harbour/contrib/hbqt/QDragMoveEvent.cpp * harbour/contrib/hbqt/QDropEvent.cpp * harbour/contrib/hbqt/QErrorMessage.cpp * harbour/contrib/hbqt/QEvent.cpp * harbour/contrib/hbqt/QEventLoop.cpp * harbour/contrib/hbqt/QFileDialog.cpp * harbour/contrib/hbqt/QFileSystemModel.cpp * harbour/contrib/hbqt/QFocusEvent.cpp * harbour/contrib/hbqt/QFocusFrame.cpp * harbour/contrib/hbqt/QFont.cpp * harbour/contrib/hbqt/QFontComboBox.cpp * harbour/contrib/hbqt/QFontDatabase.cpp * harbour/contrib/hbqt/QFontDialog.cpp * harbour/contrib/hbqt/QFontInfo.cpp * harbour/contrib/hbqt/QFormLayout.cpp * harbour/contrib/hbqt/QFrame.cpp * harbour/contrib/hbqt/QFtp.cpp * harbour/contrib/hbqt/QGradient.cpp * harbour/contrib/hbqt/QGridLayout.cpp * harbour/contrib/hbqt/QGroupBox.cpp * harbour/contrib/hbqt/QHBoxLayout.cpp * harbour/contrib/hbqt/QHeaderView.cpp * harbour/contrib/hbqt/QHttp.cpp * harbour/contrib/hbqt/QIcon.cpp * harbour/contrib/hbqt/QImage.cpp * harbour/contrib/hbqt/QImageReader.cpp * harbour/contrib/hbqt/QImageWriter.cpp * harbour/contrib/hbqt/QInputDialog.cpp * harbour/contrib/hbqt/QInputEvent.cpp * harbour/contrib/hbqt/QKeyEvent.cpp * harbour/contrib/hbqt/QKeySequence.cpp * harbour/contrib/hbqt/QLabel.cpp * harbour/contrib/hbqt/QLatin1Char.cpp * harbour/contrib/hbqt/QLatin1String.cpp * harbour/contrib/hbqt/QLayout.cpp * harbour/contrib/hbqt/QLayoutItem.cpp * harbour/contrib/hbqt/QLCDNumber.cpp * harbour/contrib/hbqt/QLine.cpp * harbour/contrib/hbqt/QLinearGradient.cpp * harbour/contrib/hbqt/QLineEdit.cpp * harbour/contrib/hbqt/QList.cpp * harbour/contrib/hbqt/QListView.cpp * harbour/contrib/hbqt/QListWidget.cpp * harbour/contrib/hbqt/QListWidgetItem.cpp * harbour/contrib/hbqt/QMainWindow.cpp * harbour/contrib/hbqt/QMenu.cpp * harbour/contrib/hbqt/QMenuBar.cpp * harbour/contrib/hbqt/QMessageBox.cpp * harbour/contrib/hbqt/QModelIndex.cpp * harbour/contrib/hbqt/QMouseEvent.cpp * harbour/contrib/hbqt/QMoveEvent.cpp * harbour/contrib/hbqt/QObject.cpp * harbour/contrib/hbqt/QPageSetupDialog.cpp * harbour/contrib/hbqt/QPaintDevice.cpp * harbour/contrib/hbqt/QPainter.cpp * harbour/contrib/hbqt/QPaintEvent.cpp * harbour/contrib/hbqt/QPalette.cpp * harbour/contrib/hbqt/QPen.cpp * harbour/contrib/hbqt/QPicture.cpp * harbour/contrib/hbqt/QPixmap.cpp * harbour/contrib/hbqt/QPoint.cpp * harbour/contrib/hbqt/QPointF.cpp * harbour/contrib/hbqt/QPrintDialog.cpp * harbour/contrib/hbqt/QPrintEngine.cpp * harbour/contrib/hbqt/QPrinter.cpp * harbour/contrib/hbqt/QPrintPreviewDialog.cpp * harbour/contrib/hbqt/QProgressBar.cpp * harbour/contrib/hbqt/QProgressDialog.cpp * harbour/contrib/hbqt/QPushButton.cpp * harbour/contrib/hbqt/QRadialGradient.cpp * harbour/contrib/hbqt/QRadioButton.cpp * harbour/contrib/hbqt/QRect.cpp * harbour/contrib/hbqt/QRectF.cpp * harbour/contrib/hbqt/QRegion.cpp * harbour/contrib/hbqt/QResizeEvent.cpp * harbour/contrib/hbqt/QResource.cpp * harbour/contrib/hbqt/QScrollArea.cpp * harbour/contrib/hbqt/QScrollBar.cpp * harbour/contrib/hbqt/QSignalMapper.cpp * harbour/contrib/hbqt/QSize.cpp * harbour/contrib/hbqt/QSizeF.cpp * harbour/contrib/hbqt/QSizeGrip.cpp * harbour/contrib/hbqt/QSizePolicy.cpp * harbour/contrib/hbqt/QSlider.cpp * harbour/contrib/hbqt/QSound.cpp * harbour/contrib/hbqt/QSpinBox.cpp * harbour/contrib/hbqt/QSplashScreen.cpp * harbour/contrib/hbqt/QSplitter.cpp * harbour/contrib/hbqt/QStandardItem.cpp * harbour/contrib/hbqt/QStandardItemModel.cpp * harbour/contrib/hbqt/QStatusBar.cpp * harbour/contrib/hbqt/QStringList.cpp * harbour/contrib/hbqt/QStringListModel.cpp * harbour/contrib/hbqt/QStyle.cpp * harbour/contrib/hbqt/QStyledItemDelegate.cpp * harbour/contrib/hbqt/QStyleHintReturn.cpp * harbour/contrib/hbqt/QStyleHintReturnMask.cpp * harbour/contrib/hbqt/QStyleHintReturnVariant.cpp * harbour/contrib/hbqt/QStyleOption.cpp * harbour/contrib/hbqt/QStyleOptionButton.cpp * harbour/contrib/hbqt/QStyleOptionComboBox.cpp * harbour/contrib/hbqt/QStyleOptionComplex.cpp * harbour/contrib/hbqt/QStyleOptionDockWidget.cpp * harbour/contrib/hbqt/QStyleOptionFocusRect.cpp * harbour/contrib/hbqt/QStyleOptionFrame.cpp * harbour/contrib/hbqt/QStyleOptionGroupBox.cpp * harbour/contrib/hbqt/QStyleOptionHeader.cpp * harbour/contrib/hbqt/QStyleOptionMenuItem.cpp * harbour/contrib/hbqt/QStyleOptionProgressBar.cpp * harbour/contrib/hbqt/QStyleOptionSizeGrip.cpp * harbour/contrib/hbqt/QStyleOptionSlider.cpp * harbour/contrib/hbqt/QStyleOptionSpinBox.cpp * harbour/contrib/hbqt/QStyleOptionTab.cpp * harbour/contrib/hbqt/QStyleOptionTabBarBase.cpp * harbour/contrib/hbqt/QStyleOptionTabWidgetFrame.cpp * harbour/contrib/hbqt/QStyleOptionTitleBar.cpp * harbour/contrib/hbqt/QStyleOptionToolBar.cpp * harbour/contrib/hbqt/QStyleOptionToolBox.cpp * harbour/contrib/hbqt/QStyleOptionToolButton.cpp * harbour/contrib/hbqt/QStyleOptionViewItem.cpp * harbour/contrib/hbqt/QStylePainter.cpp * harbour/contrib/hbqt/QSystemTrayIcon.cpp * harbour/contrib/hbqt/QTabBar.cpp * harbour/contrib/hbqt/QTableView.cpp * harbour/contrib/hbqt/QTableWidget.cpp * harbour/contrib/hbqt/QTableWidgetItem.cpp * harbour/contrib/hbqt/QTabWidget.cpp * harbour/contrib/hbqt/QTextBlock.cpp * harbour/contrib/hbqt/QTextBlockFormat.cpp * harbour/contrib/hbqt/QTextBlockGroup.cpp * harbour/contrib/hbqt/QTextBoundaryFinder.cpp * harbour/contrib/hbqt/QTextBrowser.cpp * harbour/contrib/hbqt/QTextCharFormat.cpp * harbour/contrib/hbqt/QTextCodec.cpp * harbour/contrib/hbqt/QTextCursor.cpp * harbour/contrib/hbqt/QTextDecoder.cpp * harbour/contrib/hbqt/QTextDocument.cpp * harbour/contrib/hbqt/QTextDocumentFragment.cpp * harbour/contrib/hbqt/QTextDocumentWriter.cpp * harbour/contrib/hbqt/QTextEdit.cpp * harbour/contrib/hbqt/QTextEncoder.cpp * harbour/contrib/hbqt/QTextFormat.cpp * harbour/contrib/hbqt/QTextFragment.cpp * harbour/contrib/hbqt/QTextFrame.cpp * harbour/contrib/hbqt/QTextFrameFormat.cpp * harbour/contrib/hbqt/QTextImageFormat.cpp * harbour/contrib/hbqt/QTextInlineObject.cpp * harbour/contrib/hbqt/QTextItem.cpp * harbour/contrib/hbqt/QTextLayout.cpp * harbour/contrib/hbqt/QTextLength.cpp * harbour/contrib/hbqt/QTextLine.cpp * harbour/contrib/hbqt/QTextObject.cpp * harbour/contrib/hbqt/QTextStream.cpp * harbour/contrib/hbqt/QTimeEdit.cpp * harbour/contrib/hbqt/QTimer.cpp * harbour/contrib/hbqt/QToolBar.cpp * harbour/contrib/hbqt/QToolBox.cpp * harbour/contrib/hbqt/QToolButton.cpp * harbour/contrib/hbqt/QTreeView.cpp * harbour/contrib/hbqt/QTreeWidget.cpp * harbour/contrib/hbqt/QTreeWidgetItem.cpp * harbour/contrib/hbqt/QUrl.cpp * harbour/contrib/hbqt/QVariant.cpp * harbour/contrib/hbqt/QVBoxLayout.cpp * harbour/contrib/hbqt/QWebFrame.cpp * harbour/contrib/hbqt/QWebHistory.cpp * harbour/contrib/hbqt/QWebHistoryInterface.cpp * harbour/contrib/hbqt/QWebHistoryItem.cpp * harbour/contrib/hbqt/QWebHitTestResult.cpp * harbour/contrib/hbqt/QWebPage.cpp * harbour/contrib/hbqt/QWebPluginFactory.cpp * harbour/contrib/hbqt/QWebSecurityOrigin.cpp * harbour/contrib/hbqt/QWebSettings.cpp * harbour/contrib/hbqt/QWebView.cpp * harbour/contrib/hbqt/QWheelEvent.cpp * harbour/contrib/hbqt/QWidget.cpp * harbour/contrib/hbqt/QWidgetAction.cpp * harbour/contrib/hbqt/QWidgetItem.cpp * harbour/contrib/hbqt/QWindowsStyle.cpp * harbour/contrib/hbqt/QWindowsXPStyle.cpp * harbour/contrib/hbqt/QWizard.cpp * harbour/contrib/hbqt/TQAbstractButton.prg * harbour/contrib/hbqt/TQAbstractItemModel.prg * harbour/contrib/hbqt/TQAbstractItemView.prg * harbour/contrib/hbqt/TQAbstractListModel.prg * harbour/contrib/hbqt/TQAbstractPrintDialog.prg * harbour/contrib/hbqt/TQAbstractScrollArea.prg * harbour/contrib/hbqt/TQAbstractSlider.prg * harbour/contrib/hbqt/TQAbstractSpinBox.prg * harbour/contrib/hbqt/TQAbstractTableModel.prg * harbour/contrib/hbqt/TQAction.prg * harbour/contrib/hbqt/TQApplication.prg * harbour/contrib/hbqt/TQBitmap.prg * harbour/contrib/hbqt/TQBoxLayout.prg * harbour/contrib/hbqt/TQBrush.prg * harbour/contrib/hbqt/TQCalendarWidget.prg * harbour/contrib/hbqt/TQCheckBox.prg * harbour/contrib/hbqt/TQClipboard.prg * harbour/contrib/hbqt/TQColor.prg * harbour/contrib/hbqt/TQColorDialog.prg * harbour/contrib/hbqt/TQComboBox.prg * harbour/contrib/hbqt/TQCommandLinkButton.prg * harbour/contrib/hbqt/TQCommonStyle.prg * harbour/contrib/hbqt/TQConicalGradient.prg * harbour/contrib/hbqt/TQCoreApplication.prg * harbour/contrib/hbqt/TQCursor.prg * harbour/contrib/hbqt/TQDateEdit.prg * harbour/contrib/hbqt/TQDateTime.prg * harbour/contrib/hbqt/TQDateTimeEdit.prg * harbour/contrib/hbqt/TQDesktopWidget.prg * harbour/contrib/hbqt/TQDial.prg * harbour/contrib/hbqt/TQDialog.prg * harbour/contrib/hbqt/TQDir.prg * harbour/contrib/hbqt/TQDirModel.prg * harbour/contrib/hbqt/TQDockWidget.prg * harbour/contrib/hbqt/TQDoubleSpinBox.prg * harbour/contrib/hbqt/TQDragEnterEvent.prg * harbour/contrib/hbqt/TQDragLeaveEvent.prg * harbour/contrib/hbqt/TQDragMoveEvent.prg * harbour/contrib/hbqt/TQDropEvent.prg * harbour/contrib/hbqt/TQErrorMessage.prg * harbour/contrib/hbqt/TQEvent.prg * harbour/contrib/hbqt/TQEventLoop.prg * harbour/contrib/hbqt/TQFileDialog.prg * harbour/contrib/hbqt/TQFileSystemModel.prg * harbour/contrib/hbqt/TQFocusEvent.prg * harbour/contrib/hbqt/TQFocusFrame.prg * harbour/contrib/hbqt/TQFont.prg * harbour/contrib/hbqt/TQFontComboBox.prg * harbour/contrib/hbqt/TQFontDatabase.prg * harbour/contrib/hbqt/TQFontDialog.prg * harbour/contrib/hbqt/TQFontInfo.prg * harbour/contrib/hbqt/TQFormLayout.prg * harbour/contrib/hbqt/TQFrame.prg * harbour/contrib/hbqt/TQFtp.prg * harbour/contrib/hbqt/TQGradient.prg * harbour/contrib/hbqt/TQGridLayout.prg * harbour/contrib/hbqt/TQGroupBox.prg * harbour/contrib/hbqt/TQHBoxLayout.prg * harbour/contrib/hbqt/TQHeaderView.prg * harbour/contrib/hbqt/TQHttp.prg * harbour/contrib/hbqt/TQIcon.prg * harbour/contrib/hbqt/TQImage.prg * harbour/contrib/hbqt/TQImageReader.prg * harbour/contrib/hbqt/TQImageWriter.prg * harbour/contrib/hbqt/TQInputDialog.prg * harbour/contrib/hbqt/TQInputEvent.prg * harbour/contrib/hbqt/TQKeyEvent.prg * harbour/contrib/hbqt/TQKeySequence.prg * harbour/contrib/hbqt/TQLabel.prg * harbour/contrib/hbqt/TQLatin1Char.prg * harbour/contrib/hbqt/TQLatin1String.prg * harbour/contrib/hbqt/TQLayout.prg * harbour/contrib/hbqt/TQLayoutItem.prg * harbour/contrib/hbqt/TQLCDNumber.prg * harbour/contrib/hbqt/TQLine.prg * harbour/contrib/hbqt/TQLinearGradient.prg * harbour/contrib/hbqt/TQLineEdit.prg * harbour/contrib/hbqt/TQList.prg * harbour/contrib/hbqt/TQListView.prg * harbour/contrib/hbqt/TQListWidget.prg * harbour/contrib/hbqt/TQListWidgetItem.prg * harbour/contrib/hbqt/TQMainWindow.prg * harbour/contrib/hbqt/TQMenu.prg * harbour/contrib/hbqt/TQMenuBar.prg * harbour/contrib/hbqt/TQMessageBox.prg * harbour/contrib/hbqt/TQModelIndex.prg * harbour/contrib/hbqt/TQMouseEvent.prg * harbour/contrib/hbqt/TQMoveEvent.prg * harbour/contrib/hbqt/TQObject.prg * harbour/contrib/hbqt/TQPageSetupDialog.prg * harbour/contrib/hbqt/TQPaintDevice.prg * harbour/contrib/hbqt/TQPainter.prg * harbour/contrib/hbqt/TQPaintEvent.prg * harbour/contrib/hbqt/TQPalette.prg * harbour/contrib/hbqt/TQPen.prg * harbour/contrib/hbqt/TQPicture.prg * harbour/contrib/hbqt/TQPixmap.prg * harbour/contrib/hbqt/TQPoint.prg * harbour/contrib/hbqt/TQPointF.prg * harbour/contrib/hbqt/TQPrintDialog.prg * harbour/contrib/hbqt/TQPrintEngine.prg * harbour/contrib/hbqt/TQPrinter.prg * harbour/contrib/hbqt/TQPrintPreviewDialog.prg * harbour/contrib/hbqt/TQProgressBar.prg * harbour/contrib/hbqt/TQProgressDialog.prg * harbour/contrib/hbqt/TQPushButton.prg * harbour/contrib/hbqt/TQRadialGradient.prg * harbour/contrib/hbqt/TQRadioButton.prg * harbour/contrib/hbqt/TQRect.prg * harbour/contrib/hbqt/TQRectF.prg * harbour/contrib/hbqt/TQRegion.prg * harbour/contrib/hbqt/TQResizeEvent.prg * harbour/contrib/hbqt/TQResource.prg * harbour/contrib/hbqt/TQScrollArea.prg * harbour/contrib/hbqt/TQScrollBar.prg * harbour/contrib/hbqt/TQSignalMapper.prg * harbour/contrib/hbqt/TQSize.prg * harbour/contrib/hbqt/TQSizeF.prg * harbour/contrib/hbqt/TQSizeGrip.prg * harbour/contrib/hbqt/TQSizePolicy.prg * harbour/contrib/hbqt/TQSlider.prg * harbour/contrib/hbqt/TQSound.prg * harbour/contrib/hbqt/TQSpinBox.prg * harbour/contrib/hbqt/TQSplashScreen.prg * harbour/contrib/hbqt/TQSplitter.prg * harbour/contrib/hbqt/TQStandardItem.prg * harbour/contrib/hbqt/TQStandardItemModel.prg * harbour/contrib/hbqt/TQStatusBar.prg * harbour/contrib/hbqt/TQStringList.prg * harbour/contrib/hbqt/TQStringListModel.prg * harbour/contrib/hbqt/TQStyle.prg * harbour/contrib/hbqt/TQStyledItemDelegate.prg * harbour/contrib/hbqt/TQStyleHintReturn.prg * harbour/contrib/hbqt/TQStyleHintReturnMask.prg * harbour/contrib/hbqt/TQStyleHintReturnVariant.prg * harbour/contrib/hbqt/TQStyleOption.prg * harbour/contrib/hbqt/TQStyleOptionButton.prg * harbour/contrib/hbqt/TQStyleOptionComboBox.prg * harbour/contrib/hbqt/TQStyleOptionComplex.prg * harbour/contrib/hbqt/TQStyleOptionDockWidget.prg * harbour/contrib/hbqt/TQStyleOptionFocusRect.prg * harbour/contrib/hbqt/TQStyleOptionFrame.prg * harbour/contrib/hbqt/TQStyleOptionGroupBox.prg * harbour/contrib/hbqt/TQStyleOptionHeader.prg * harbour/contrib/hbqt/TQStyleOptionMenuItem.prg * harbour/contrib/hbqt/TQStyleOptionProgressBar.prg * harbour/contrib/hbqt/TQStyleOptionSizeGrip.prg * harbour/contrib/hbqt/TQStyleOptionSlider.prg * harbour/contrib/hbqt/TQStyleOptionSpinBox.prg * harbour/contrib/hbqt/TQStyleOptionTab.prg * harbour/contrib/hbqt/TQStyleOptionTabBarBase.prg * harbour/contrib/hbqt/TQStyleOptionTabWidgetFrame.prg * harbour/contrib/hbqt/TQStyleOptionTitleBar.prg * harbour/contrib/hbqt/TQStyleOptionToolBar.prg * harbour/contrib/hbqt/TQStyleOptionToolBox.prg * harbour/contrib/hbqt/TQStyleOptionToolButton.prg * harbour/contrib/hbqt/TQStyleOptionViewItem.prg * harbour/contrib/hbqt/TQStylePainter.prg * harbour/contrib/hbqt/TQSystemTrayIcon.prg * harbour/contrib/hbqt/TQTabBar.prg * harbour/contrib/hbqt/TQTableView.prg * harbour/contrib/hbqt/TQTableWidget.prg * harbour/contrib/hbqt/TQTableWidgetItem.prg * harbour/contrib/hbqt/TQTabWidget.prg * harbour/contrib/hbqt/TQTextBlock.prg * harbour/contrib/hbqt/TQTextBlockFormat.prg * harbour/contrib/hbqt/TQTextBlockGroup.prg * harbour/contrib/hbqt/TQTextBoundaryFinder.prg * harbour/contrib/hbqt/TQTextBrowser.prg * harbour/contrib/hbqt/TQTextCharFormat.prg * harbour/contrib/hbqt/TQTextCodec.prg * harbour/contrib/hbqt/TQTextCursor.prg * harbour/contrib/hbqt/TQTextDecoder.prg * harbour/contrib/hbqt/TQTextDocument.prg * harbour/contrib/hbqt/TQTextDocumentFragment.prg * harbour/contrib/hbqt/TQTextDocumentWriter.prg * harbour/contrib/hbqt/TQTextEdit.prg * harbour/contrib/hbqt/TQTextEncoder.prg * harbour/contrib/hbqt/TQTextFormat.prg * harbour/contrib/hbqt/TQTextFragment.prg * harbour/contrib/hbqt/TQTextFrame.prg * harbour/contrib/hbqt/TQTextFrameFormat.prg * harbour/contrib/hbqt/TQTextImageFormat.prg * harbour/contrib/hbqt/TQTextInlineObject.prg * harbour/contrib/hbqt/TQTextItem.prg * harbour/contrib/hbqt/TQTextLayout.prg * harbour/contrib/hbqt/TQTextLength.prg * harbour/contrib/hbqt/TQTextLine.prg * harbour/contrib/hbqt/TQTextObject.prg * harbour/contrib/hbqt/TQTextStream.prg * harbour/contrib/hbqt/TQTimeEdit.prg * harbour/contrib/hbqt/TQTimer.prg * harbour/contrib/hbqt/TQToolBar.prg * harbour/contrib/hbqt/TQToolBox.prg * harbour/contrib/hbqt/TQToolButton.prg * harbour/contrib/hbqt/TQTreeView.prg * harbour/contrib/hbqt/TQTreeWidget.prg * harbour/contrib/hbqt/TQTreeWidgetItem.prg * harbour/contrib/hbqt/TQUrl.prg * harbour/contrib/hbqt/TQVariant.prg * harbour/contrib/hbqt/TQVBoxLayout.prg * harbour/contrib/hbqt/TQWebFrame.prg * harbour/contrib/hbqt/TQWebHistory.prg * harbour/contrib/hbqt/TQWebHistoryInterface.prg * harbour/contrib/hbqt/TQWebHistoryItem.prg * harbour/contrib/hbqt/TQWebHitTestResult.prg * harbour/contrib/hbqt/TQWebPage.prg * harbour/contrib/hbqt/TQWebPluginFactory.prg * harbour/contrib/hbqt/TQWebSecurityOrigin.prg * harbour/contrib/hbqt/TQWebSettings.prg * harbour/contrib/hbqt/TQWebView.prg * harbour/contrib/hbqt/TQWheelEvent.prg * harbour/contrib/hbqt/TQWidget.prg * harbour/contrib/hbqt/TQWidgetAction.prg * harbour/contrib/hbqt/TQWidgetItem.prg * harbour/contrib/hbqt/TQWindowsStyle.prg * harbour/contrib/hbqt/TQWindowsXPStyle.prg * harbour/contrib/hbqt/TQWizard.prg + .cpp generation : HB_FUNC( QT_<object>_DESTROY ) information : More info included + .prg generation : METHOD Configure( xObject ) METHOD Destroy() ! Tweaked copyright info a little. 2009-07-11 18:59 UTC+0200 Viktor Szakats * config/dos/global.cf * config/win/global.cf * config/win/mingw.cf * config/os2/gcc.cf * config/os2/global.cf * config/wce/global.cf * config/wce/mingwarm.cf * Synced variables as follows: LIB_ARCH_DOS -> DOS_LIB_ARCH OS2_LIB_ARCH -> DOS_LIB_ARCH ARCH_DOS -> DOS_ARCH_DIR OS2_ARCH_DIR -> DOS_ARCH_DIR LIB_DIR_DOS -> DOS_LIB_DIR OS2_LIB_DIR -> DOS_LIB_DIR OS2_LIB_PATH -> DOS_LIB_PATH 2009-07-11 18:55 UTC+0200 Viktor Szakats * config/os2/global.cf ! Fix to prev. 2009-07-11 18:50 UTC+0200 Viktor Szakats * INSTALL + Added OS/2 cross-build examples for both Windows and Linux hosts (Thanks Przemek for the Linux one). + Added information that DOS and OS/2 builds can be created on other host OSes. * config/os2/global.cf * config/os2/install.cf + Added support for non-bash non-OS/2 shell for Windows NT cross compilation. ! Fixed syntax error in one of the OS/2 specific rules. 2009-07-11 18:16 UTC+0200 Viktor Szakats * config/os2/global.cf * Casing. 2009-07-11 18:11 UTC+0200 Viktor Szakats * config/win/dir.cf * config/os2/dir.cf * config/wce/dir.cf * Casing synced. ; Probably now these rules could be moved to a central location. 2009-07-11 18:08 UTC+0200 Viktor Szakats * config/dos/dir.cf * config/win/global.cf * config/win/dir.cf * config/wce/dir.cf * Some more sync. Now os2/win/wce dir.cfs are the same, and they're almost the same as the dos one. 2009-07-11 17:59 UTC+0200 Viktor Szakats * config/dos/dir.cf * config/dos/install.cf * config/win/dir.cf * config/os2/install.cf * config/wce/dir.cf * More sync. 2009-07-11 17:47 UTC+0200 Viktor Szakats * config/rules.cf * config/dos/dir.cf * config/dos/global.cf * config/dos/install.cf * config/none.cf * config/win/global.cf * config/win/install.cf * config/win/dir.cf * config/win/mingw.cf * config/os2/dir.cf * config/os2/global.cf * config/os2/install.cf * config/wce/dir.cf * config/wce/global.cf * config/wce/mingwarm.cf * config/wce/install.cf * Syncing/cleanup effort. 2009-07-11 17:30 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/config/dos/watcom.cf * harbour/config/win/watcom.cf * harbour/config/os2/watcom.cf ! hacked to not revert slashes to backslashes for wcc in Linux host OS It's not clean solution because it will have to be adopted also for other OS2 ports * harbour/config/dos/watcom.cf ! fixed passing parameters to wcc by environment variable 2009-07-11 17:03 UTC+0200 Viktor Szakats * config/os2/watcom.cf ! Protected dirsep trick to only kick in with NT Shell. 2009-07-11 16:55 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/external/sqlite3/Makefile * set SQLITE_OS_OTHER for all DOS builds * harbour/config/dos/watcom.cf * harbour/config/win/watcom.cf * modified to work with *nix like shells so it can be used in cross build environment Now in my Linux box I can create Windows, DOS and OS2 harbour builds using OpenWatcom 1.8 and native Linux binaries. Final Windows executables works correctly. DOS one doesn't and it's probably problem with OpenWatcom Linux linker and DOS DPMI stubs - I'll check it yet. I cannot tested generated OS2 executable files. If someone has OS2 and can try to run it then I can send them to him for test. 2009-07-11 16:48 UTC+0200 Viktor Szakats * make_gnu.bat + Minor adjustment to support OS/2 cross-builds. * source/rtl/gtwvt/gtwvt.c * Minor adjustment to casting to Windows type. * contrib/hbfimage/Makefile - Disabled for OS/2. * bin/postinst.cmd + Synced with .bat. 'copy' replaced by 'xcopy'. * config/os2/watcom.cf + Added fix (from win/watcom.cf) to swap dirseps for wcc386 as it cannot accept forward slashes. Przemek, please adapt this for Linux, as it's probably not needed there. 2009-07-11 15:38 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/config/os2/watcom.cf * harbour/config/os2/dir.cf * harbour/config/os2/install.cf * small cleanup for builds with *nix like shells and cross builds * harbour/contrib/rddads/Makefile ! disabld from OS2 builds - if ADS supports OS2 then please speak-up * harbour/include/hbthread.h * added small hack as workaround for missing OS2 declarations * harbour/source/rtl/filesys.c ! fixed typo in OS2 builds * harbour/source/rtl/hbproces.c ! fixed non GCC OS2 builds * harbour/contrib/hbtpathy/tpos2.c ! fixed casting in OS2 builds * harbour/contrib/xhb/hbserv.c ! disabled from OS2 non GCC builds Now I can create OS2 OpenWatcom build in my Linux box using this simple script: #!/bin/sh if [ -z "${WATCOM}" ]; then export WATCOM="/opt/lng/watcom" export INCLUDE="${WATCOM}/h:${WATCOM}/h/os2" export PATH="${WATCOM}/binl:$PATH" fi export HB_ARCHITECTURE=os2 export HB_COMPILER=watcom export HB_INSTALL_PREFIX="$(pwd)/hb-os2/watcom" #cross build settings # this should be fixed and we should use HB_PPGEN_PATH as direct # reference to hbpp binaries and HB_COMP_PATH as direct reference # to harbour binaries in all builds. Otherwise we have to create # some hacks to create platform specific names for above binaries # i.e. in *nixes links with .exe extension. export HB_PPGEN_PATH="/tmp/cros-hb" export HB_BIN_COMPILE="/tmp/cros-hb" export HB_USER_PRGFLAGS="${HB_USER_PRGFLAGS} -D__PLATFORM__OS2" export HB_USER_PRGFLAGS="${HB_USER_PRGFLAGS} -undef:__PLATFORM__UNIX" export HB_USER_PRGFLAGS="${HB_USER_PRGFLAGS} -undef:__PLATFORM__LINUX" # eliminate libraries which scans for local host header files export HB_XBUILD=yes ./make_gnu.sh "$@" It should work also in Windows with MSys. This should resolve the problem with testing OS2 builds, at least for OpenWatcom. I do not know if GCC for OS2 is available as cross build environment. I think that Viktor can quite easy adopt hbmk2 for OS2 cross compilation. 2009-07-11 09:41 UTC+0200 Viktor Szakats * examples/hbwhat - hbwhat deleted as planned. It no longer builds without investing more work into it (besides its other known problems). 2009-07-11 08:44 UTC+0200 Viktor Szakats * include/hbdefs.h + Added hbTRUE, hbFALSE. * config/win/bcc.cf ! Fixed to use NT branch. Deleted Win9x method. * config/win/install.cf * Minor. 2009-07-11 07:38 UTC+0200 Viktor Szakats * tests/mathtest.prg * tests/testcgi.prg * tests/speedold.prg * tests/testhtml.prg * tests/wvtext.prg * tests/testpre.prg * tests/testfor.prg * doc/en-EN/string.txt * doc/en-EN/memvar2.txt * source/rtl/gtdos/gtdos.c * source/rtl/gtsln/keytrans.c * source/rtl/gtsln/mousesln.c * source/rtl/gtsln/gtsln.c * source/rtl/gtsln/kbsln.c * source/rdd/dbfntx/dbfntx1.c * source/rdd/dbfnsx/dbfnsx1.c * source/compiler/genc.c * contrib/gtalleg/ssf.c * contrib/hbct/strdiff.c * contrib/hbct/tests/csetarge.prg * contrib/hbct/dattime2.c * contrib/xhb/fparse.c * contrib/xhb/ttable.prg * contrib/xhb/freadlin.c * contrib/xhb/cstruct.prg * contrib/hbgt/strasint.c * contrib/hbfbird/tests/testapi.c * contrib/hbxbp/xbpsle.prg * contrib/hbxbp/xbpmenubar.prg * contrib/hbxbp/xbpfiledialog.prg * contrib/hbxbp/xbpwindow.prg * contrib/hbxbp/xbpdialog.prg * contrib/hbxbp/xbp3state.prg * contrib/hbnf/scancode.prg * contrib/hbnf/vidmode.prg * contrib/hbnf/vidcur.prg * contrib/hbnf/proper.c * contrib/hbnf/rand1.prg * contrib/hbnf/fttext.c * contrib/hbnf/settime.prg * contrib/hbnf/page.prg * contrib/hbnf/findith.prg * contrib/hbnf/at2.prg * contrib/hbnf/dispc.c * contrib/hbnf/gcd.prg * contrib/hbnf/dosver.prg * contrib/hbnf/nooccur.prg * contrib/hbnf/asum.prg * contrib/hbnf/sleep.prg * contrib/hbnf/wda.prg * contrib/hbnf/any2any.prg * contrib/hbnf/setdate.prg * contrib/hbnf/amedian.prg * contrib/hbnf/blink.prg * contrib/hbnf/aredit.prg * contrib/hbnf/xbox.prg * contrib/hbnf/ftround.prg * contrib/hbnf/hex2dec.prg * contrib/hbnf/nwuid.prg * contrib/hbnf/aemaxlen.prg * contrib/hbnf/nwlstat.prg * contrib/hbnf/invclr.prg * contrib/hbnf/diskfunc.prg * contrib/hbnf/scregion.prg * contrib/hbnf/d2e.prg * contrib/hbnf/anomatch.prg * contrib/hbnf/cntryset.prg * contrib/hbnf/ntow.prg * contrib/hbnf/aeminlen.prg * contrib/hbnf/savesets.prg * contrib/hbnf/tbwhile.prg * contrib/hbnf/calendar.prg * contrib/hbnf/e2d.prg * contrib/hbnf/sysmem.prg * contrib/hbnf/aading.prg * contrib/hbnf/pending.prg * contrib/gtqtc/tests/demoqtc.prg * contrib/gtqtc/gtqtc.cpp * contrib/gtwvg/wvgscrlb.prg * contrib/gtwvg/wvgclass.prg * contrib/gtwvg/wvgax.prg * contrib/gtwvg/wvgpaint.prg * contrib/gtwvg/wvgdarea.prg * contrib/gtwvg/wvgmle.prg * contrib/gtwvg/wvglistb.prg * contrib/gtwvg/wvggui.c * contrib/gtwvg/wvgpushb.prg * contrib/gtwvg/wvgsle.prg * contrib/gtwvg/tests/demowvg.prg * contrib/gtwvg/wincallb.c * contrib/gtwvg/wvgmenub.prg * contrib/gtwvg/wvgphdlr.prg * contrib/gtwvg/wvgcheck.prg * contrib/gtwvg/wvgstatb.prg * contrib/gtwvg/wvgstatc.prg * contrib/gtwvg/wvgcore.c * contrib/gtwvg/wvgtabpg.prg * contrib/gtwvg/wvg3stat.prg * contrib/gtwvg/wvgsink.c * contrib/gtwvg/wvgwing.c * contrib/hbmisc/hb_f.c * contrib/hbmisc/nconvert.prg * contrib/hbmisc/doc/en/ht_file.txt * contrib/hbvpdf/hbvpdf.prg * contrib/hbvpdf/hbvpdft.prg * examples/hbdoc/examples/core_es/memvar2.txt * examples/hbmake/hbmake.prg * examples/hbsqlit2/tests/hbsqlite.prg * examples/guestbk/testcgi.prg * examples/guestbk/guestbk.prg * examples/pe/editorhi.prg * examples/terminal/trm_cli.prg * examples/terminal/terminal.prg * examples/hscript/dir.hs * examples/hscript/ugly.hs * Minor formatting. 2009-07-10 22:38 UTC+0200 Viktor Szakats * source/common/hbver.c % Deleted unnecessary casts. * examples/hbmsql/msql.c * Fixed const warnings. * examples/hbmake/hbmake.hbp - examples/hbmake/hbmakec.c * examples/hbmake/hbmake.prg * Using portable HB_USERLANG() instead of local Windows-only solution. - examples/hboleold - Deleted. It's no longer easy to fix with new const usage. - examples/hbgf - Deleted. We have much better GUI examples these days then these very early ones. * examples/httpsrv/uhttpdc.c * Minor formatting. 2009-07-10 21:21 UTC+0200 Viktor Szakats * include/hbextern.ch + Added HB_SETCLSHANDLE(). * source/vm/evalhb.c * source/vm/eval.c * source/vm/dynlibhb.c ! Fixed old int <-> USHORT conversion MSVC warnings. ; FIXME: ? There is a disagreement between different APIs and Harbour program parts on the size and type of number of parameters, it can be int, USHORT, ULONG, and in some places there is also BYTE limit. * source/common/hbver.c * Minor formatting. 2009-07-10 20:31 UTC+0200 Viktor Szakats * source/rtl/xhelp.c ! Silenced MSVC warning. 2009-07-10 20:28 UTC+0200 Viktor Szakats * source/vm/fm.c ! Fixed bcc C++ build errors by enabling USE_DL_PREFIX in this case. Only this warning remain: Warning W8008 ../../fm.c 386: Condition is always true in function dlmalloc_destroy() 2009-07-10 20:19 UTC+0200 Viktor Szakats * contrib/hbxbp/xbpdev.ch + Added SVN ID. * source/rtl/hbinet.c + Added hbU16 casts to silence very old warnings. * source/rtl/gtapiu.c * Tweaked type and constant usage. 2009-07-10 18:32 UTC+0200 Viktor Szakats * include/hbgtcore.h * include/hbapigt.h * source/rtl/gtapi.c * source/rtl/hbgtcore.c * contrib/hbct/ctwin.c * contrib/hbct/screen1.c * contrib/hbct/ctwfunc.c * GetClearChar/SetClearChar changed to use USHORT for char (was int). This resolves all remaining MSVC warnings. * _HB_GT_BASE structure adapted to latest changes, three vars changed from USHORT to int, one renamed to reflect int type. + Added var names to a few functions declarations. % Minor optimizations. * hb_gtScrollEx() modified to not do parameter evaluation, just pass them to low-level. ; Przemek, please review me, I've again encountered UCHARs in hbct / SETCLEARB(). * source/rtl/idle.c * SHORT -> int. * Minor formatting. 2009-07-10 09:32 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/hbxbp/Makefile + harbour/contrib/hbxbp/xbpdev.ch + Missing file from prev upload. 2009-07-10 08:31 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/hbxbp/Makefile * harbour/contrib/hbxbp/xbp.ch * harbour/contrib/hbxbp/xbpgeneric.prg * harbour/contrib/hbxbp/xbpwindow.prg ! Cleanups ad tweaks. + harbour/contrib/hbxbp/xbppresspace.prg + Started XbpPresSpace() class - skeleton only. + harbour/contrib/hbxbp/xbpprintdialog.prg + Implemented XbpPrintDialog() class. Mostly working but has some differences with Xbase++ - a work-in-progress. + harbour/contrib/hbxbp/xbpprinter.prg + Implemented XbpPrinter() class. Mostly working but has some differences with Xbase++ - a work-in-progress. Integrated with XbpPrintDialog() * harbour/contrib/hbxbp/tests/demoxbp.prg + Demonstration of XbpPrintDialog() and XbpPrinter() classes. Click on <Print Dialog> toolbar button. /* I would request Xbase++ users to test the code under different permutations and combinations and please report the differences. So far I have not received any support in this direction. */ 2009-07-10 08:19 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/hbqt/generator/qt45.qtp * harbour/contrib/hbqt/hbqt.ch * harbour/contrib/hbqt/hbqt.h * harbour/contrib/hbqt/hbqt_slots.cpp * harbour/contrib/hbqt/hbqt_slots.h * harbour/contrib/hbqt/Makefile_gen * harbour/contrib/hbqt/moc_slots.cpp + harbour/contrib/hbqt/QPrintEngine.cpp + harbour/contrib/hbqt/QPrinter.cpp + harbour/contrib/hbqt/TQPrintEngine.prg + harbour/contrib/hbqt/TQPrinter.prg + harbour/contrib/hbqt/qth/QPrintEngine.qth + harbour/contrib/hbqt/qth/QPrinter.qth + Added two more classes. + Added one more event handler. 2009-07-10 16:18 UTC+0200 Viktor Szakats - examples/terminal/terminal.ch * examples/terminal/trm_cli.hbp * examples/terminal/trm_srv.hbp * examples/terminal/trm_app.hbp * examples/terminal/trm_cli.prg * examples/terminal/terminal.prg * examples/terminal/trm_srv.prg * Cleanup. + Raised warning level to -w3, fixed all warnings. * utils/hbformat/hbformat.hbp * utils/hbmk2/hbmk2.hbp * utils/hbtest/hbtest.hbp * utils/hbi18n/hbi18n.hbp * utils/hbrun/hbrun.hbp * examples/terminal/trm_cli.hbp * examples/terminal/trm_srv.hbp * examples/terminal/trm_app.hbp + Added standard set of Harbour switches. 2009-07-10 15:59 UTC+0200 Viktor Szakats * examples/terminal/trm_misc.c - Deleted module no longer needed. 2009-07-10 15:56 UTC+0200 Viktor Szakats * examples/terminal/trm_cli.prg * examples/terminal/trm_cli.hbp * examples/terminal/terminal.prg * examples/terminal/trm_srv.prg * examples/terminal/trm_srv.hbp * examples/terminal/terminal.hbc * examples/terminal/trm_app.prg * examples/terminal/trm_app.hbp + Changed to use portable solutions instead of GTWVG/Windows facilites. This means that these programs should now build and run on all OSes with MT support and they will work with any full screen GTs. I didn't test yet on other platforms and stopping the server is a bit messy yet due to the newly added threads. * contrib/hbct/ctwin.c ! Silenced MSVC warning. 2009-07-10 14:42 UTC+0200 Viktor Szakats * source/rtl/gtwvt/gtwvt.c * Added one parenthesis (sync with GTWVG). * contrib/gtwvg/gtwvg.c * contrib/gtwvg/gtwvg.h * contrib/gtwvg/wvggui.c * contrib/gtwvg/wvgutils.c * contrib/gtwvg/wvgcore.c * Got rid of [U]SHORTs. * examples/terminal/trm_cli.prg * examples/terminal/terminal.prg * examples/terminal/trm_srv.prg * examples/terminal/terminal.hbc * examples/terminal/trm_misc.c % Using hbwin lib function instead of local implementations. 2009-07-10 14:19 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbgtcore.h * harbour/source/rtl/hbgtcore.c * changed BYTE to USHORT in few functions which expected character for GTs with UNICODE screen buffer * harbour/source/rtl/gtcgi/gtcgi.c * harbour/source/rtl/gtstd/gtstd.c * harbour/source/rtl/gttrm/gttrm.c * updated for USHORT used as character holder * harbour/source/rtl/gtwvt/gtwvt.c % minor modification * harbour/source/rtl/gtxwc/gtxwc.c * harbour/contrib/gtwvg/gtwvg.c * harbour/contrib/gtwvg/wvgcore.c * harbour/contrib/gtalleg/gtalleg.c * updated for BYTE to int as color holder modification * harbour/contrib/hbct/screen1.c * harbour/contrib/hbct/screen2.c * harbour/contrib/hbct/ctwfunc.c * harbour/contrib/hbnf/ftattr.c ! fixed casting changing values or added casting to force strict translation * modified to accept color and character values with wider ranges * harbour/contrib/hbct/ctwin.c ! removed unnecessary stripping to BYTE in character and color values * harbour/source/rtl/console.c * pacified warning 2009-07-10 11:40 UTC+0200 Viktor Szakats * include/hbgtcore.h * include/hbapigt.h * source/rtl/gtdos/gtdos.c * source/rtl/gtwin/gtwin.c * source/rtl/gtxwc/gtxwc.c * source/rtl/gtcrs/gtcrs.c * source/rtl/gtstd/gtstd.c * source/rtl/gttrm/gttrm.c * source/rtl/gtcgi/gtcgi.c * source/rtl/gtapi.c * source/rtl/gtos2/gtos2.c * source/rtl/hbgtcore.c * source/rtl/gtsln/gtsln.c * source/rtl/gtpca/gtpca.c * source/rtl/gtwvt/gtwvt.c * contrib/hbct/screen2.c * contrib/hbct/ctwin.c * contrib/hbct/screen1.c * contrib/hbnf/ftattr.c * Changed color representation to be 'int' in all places. This means changes in high-level and low-level GT interfaces. ; QUESTION: In hbct UCHAR is used in a few places, I didn't want to touch it. ; Please test and review. ; TODO: Clean char type usage (from int, UCHAR, BYTE, USHORT to what?) ; TODO: Clean attr type usage to be hbU8, or HB_ATTR, or else? 2009-07-10 10:35 UTC+0200 Viktor Szakats * include/hbapigt.h * source/rtl/gtapi.c ! Fixed a few byAttr parameter names which should really be named bColor. ; FIXME: ? hb_gtSetAttribute() and *SETATTRIBUTE interfaces have a misleading name, as they're really setting color, not attribute. (we called color as attr in the beginning when no separate attr info was implemented) 2009-07-10 04:53 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/gtwvt/gtwvt.c % small optimization in non unicode builds - do not divide text output and reduce number of hdc settings if the same font is used for box and normal characters 2009-07-10 04:50 UTC+0200 Viktor Szakats * include/hbdefs.h - Deleted HB_RESULT. We already have HB_ERRCODE. * source/main/harbour.c * hb_xquery() parameter type updated. 2009-07-10 04:40 UTC+0200 Viktor Szakats * include/hbdefs.h + Added HB_RESULT. This is meant to replace current USHORT used to store result (or "error" values). * source/rtl/console.c * USHORT -> int (printer coordinates). 2009-07-10 04:31 UTC+0200 Viktor Szakats * include/hbapi.h * source/vm/fm.c * source/rtl/fstemp.c * source/rtl/ampm.c * source/rtl/fkmax.c * source/rtl/isprint.c * source/rtl/samples.c * source/rtl/inkey.c * source/rtl/fmhb.c * source/rtl/colorind.c * source/rtl/hbffind.c * USHORT -> int. 2009-07-10 03:43 UTC+0200 Viktor Szakats * source/rtl/gtwin/gtwin.c * source/rtl/gtwvt/gtwvt.h * source/rtl/gtwvt/gtwvt.c * Updated to use ints instead of [U]SHORTs internally. ; Please review me and correct any possible mistakes. * contrib/xhb/xhbscr.c % Deleted explicit casts. 2009-07-10 03:17 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapigt.h * harbour/source/rtl/gtapi.c * changed last parameter of hb_gtRepChar() from USHORT uiCount to ULONG ulCount * removed basic parameter validation from hb_gtScroll() - such things should be done by GT driver * minor cleanup * harbour/source/rtl/hbgtcore.c % moved pbyBuffer initialization outside the loop in Rest/Save methods * minor cleanup in casting * harbour/source/rtl/mouse53.c % minor optimization * harbour/source/rtl/gtdos/gtdos.c * changed buffer type in Mouse{Save,Restore}State methods from char * to void * * harbour/source/rtl/gtxwc/gtxwc.c * harbour/source/rtl/gtcrs/gtcrs.c ! fixed casting * harbour/source/rtl/xhelp.c * harbour/source/rtl/console.c % use 'int' instead of 'USHORT' * harbour/source/rtl/saverest.c * removed explicit casting * harbour/source/rtl/scroll.c * harbour/source/rtl/console.c * harbour/contrib/hbct/screen1.c * harbour/contrib/hbct/screen2.c ! fixed casting from 'char *' items which was wrongly changing the results. * harbour/contrib/hbct/screen1.c * harbour/contrib/hbct/screen2.c % eliminated not longer necessary intermediate variables used for passing by reference in previous version with [U]SHORT casting * harbour/contrib/hbnf/dispc.c * harbour/contrib/hbnf/ftattr.c * harbour/contrib/hbnf/ftshadow.c * changed screen coordinates from [U]SHORT to int 2009-07-10 02:33 UTC+0200 Viktor Szakats * contrib/hbclipsm/gauge.c % Minor cleanup. * source/rtl/setcolor.c % Cleaned explicit cast. 2009-07-10 02:19 UTC+0200 Viktor Szakats * include/hbgtcore.h * include/hbapigt.h * include/hbapi.h * source/rtl/scroll.c * source/rtl/maxrow.c * source/rtl/gtapi.c * source/rtl/saverest.c * source/rtl/console.c * source/rtl/oldclear.c * source/rtl/hbgtcore.c * source/rtl/scrrow.c * source/rtl/shadow.c * source/rtl/setcurs.c * source/rtl/mouse53.c * source/rtl/gx.c * source/rtl/mouseapi.c * contrib/hbct/cursor.c * contrib/hbct/ctwfunc.c * contrib/hbclipsm/gauge.c * Changed all USHORT to int in high-level GT API layer which already had an int representation on the low-level. Please review me. It's possible that some extra checks (or else) need to be added since signedness has changed. * Change mouse state buffer from char * to void *. ; TODO: Review remaining BYTE/USHORT usage for attr, color and char. Char is sometimes represented by UCHAR, sometimes by char and sometimes by USHORT. Color is represented by both int and BYTE. attr is BYTE, which can be changed to hbU8. 2009-07-10 01:01 UTC+0200 Viktor Szakats * include/hbapigt.h * contrib/hbct/screen2.c * contrib/hbct/cursor.c * contrib/hbct/screen1.c * contrib/hbct/setrc.c * contrib/hbclipsm/status.c * contrib/hbclipsm/gauge.c * source/rtl/scroll.c * source/rtl/setposbs.c * source/rtl/oldbox.c * source/rtl/setpos.c * source/rtl/box.c * source/rtl/gtapi.c * source/rtl/console.c * source/rtl/oldclear.c * source/rtl/xsavescr.c * SHORT -> int (hb_gtGetPos(), hb_gtSetPos(), hb_gtScroll(), hb_gtBox*(), hb_gtDrawBox()) * UCHAR -> char * examples/hbdoc/hbdoc.hbp - examples/hbdoc/hbdfrdln.c * examples/hbmake/hbmake.hbp * examples/hbmake/hbmakec.c - Deleted local copies of contrib functions, now using contrib libs instead. Now that these are in examples, this is okay. * ChangeLog * Marked TODO as DONE. 2009-07-10 00:24 UTC+0200 Viktor Szakats * include/hbgtcore.h * source/rtl/gtapi.c * source/rtl/hbgtcore.c * Changed low-level GT SAVE/REST method buffer parameter type to void * from BYTE *. Some explicit casts removed. * Few more BYTE *s to char *. 2009-07-09 23:14 UTC+0200 Viktor Szakats * include/hbvmpub.h * include/extend.api * include/hbwince.h * include/hb_io.h * include/hbdefs.h * include/hbsetup.h * include/hbinit.h * include/clipdefs.h * include/hbmath.h * include/hbzlib.h * include/hbregex.h * include/hbexprb.c * source/pp/hbpp.c * source/lang/msgrukoi.c * source/lang/msgzhgb.c * source/lang/msgruwin.c * source/lang/msgelwin.c * source/lang/msgro.c * source/lang/msghriso.c * source/lang/msgcskam.c * source/lang/msggl.c * source/lang/msges.c * source/lang/msgde.c * source/lang/msgru866.c * source/lang/msgcs852.c * source/lang/msgplmaz.c * source/lang/msgpliso.c * source/lang/msgplwin.c * source/lang/msgid.c * source/lang/msgel.c * source/lang/msgdewin.c * source/lang/msghr437.c * source/lang/msghr852.c * source/lang/msgcsiso.c * source/lang/msgcswin.c * source/lang/msgeswin.c * source/vm/macro.c * source/vm/mainwin.c * source/vm/maindll.c * source/vm/itemapi.c * source/vm/hvm.c * source/vm/cmdarg.c * source/vm/mainstd.c * source/vm/maindllp.c * source/vm/fm.c * source/vm/extrap.c * source/vm/thread.c * source/vm/main.c * source/vm/break.c * source/vm/dynlibhb.c * source/vm/set.c * source/vm/classes.c * source/debug/dbgtwin.prg * source/debug/dbgtmenu.prg * source/debug/dbgmenu.prg * source/debug/dbgthsh.prg * source/debug/dbgwa.prg * source/common/hbgete.c * source/common/hbver.c * source/common/hbprintf.c * source/common/hbfsapi.c * source/common/hbverdsp.c * source/common/hbwince.c * source/common/hbfopen.c * source/common/hbdate.c * source/macro/macroa.c * source/macro/macrob.c * source/rtl/lennum.c * source/rtl/gtdos/gtdos.c * source/rtl/setposbs.c * source/rtl/gtwin/gtwin.c * source/rtl/typefile.prg * source/rtl/math.c * source/rtl/getsys53.prg * source/rtl/tobject.prg * source/rtl/gtcrs/gtcrs.c * source/rtl/gtcrs/gtcrs.h * source/rtl/philesx.c * source/rtl/filehb.c * source/rtl/hbtoken.c * source/rtl/fstemp.c * source/rtl/ampm.c * source/rtl/maxrow.c * source/rtl/hbstrfmt.c * source/rtl/transfrm.c * source/rtl/gttone.c * source/rtl/datec.c * source/rtl/fserr.c * source/rtl/pushbtn.prg * source/rtl/memvarbl.prg * source/rtl/hbregexc.c * source/rtl/profiler.prg * source/rtl/hbini.prg * source/rtl/dbedit.prg * source/rtl/filesys.c * source/rtl/lang.c * source/rtl/einstv52.prg * source/rtl/hbbit.c * source/rtl/isprint.c * source/rtl/altd.prg * source/rtl/diskspac.c * source/rtl/console.c * source/rtl/gtos2/gtos2.c * source/rtl/adir.prg * source/rtl/gui.prg * source/rtl/hbgtcore.c * source/rtl/dirdrive.c * source/rtl/wait.prg * source/rtl/mlcfunc.c * source/rtl/scrollbr.prg * source/rtl/gtapiu.c * source/rtl/tbrowsys.prg * source/rtl/oemansi.c * source/rtl/philes53.c * source/rtl/color53.prg * source/rtl/xsavescr.c * source/rtl/tgetlist.prg * source/rtl/gtsln/mousesln.c * source/rtl/gtsln/kbsln.c * source/rtl/gtsln/gtsln.h * source/rtl/disksphb.c * source/rtl/tlabel.prg * source/rtl/radiogrp.prg * source/rtl/scrrow.c * source/rtl/net.c * source/rtl/stuff.c * source/rtl/checkbox.prg * source/rtl/filebuf.c * source/rtl/mtran.c * source/rtl/gete.c * source/rtl/hbproces.c * source/rtl/gtwvt/gtwvt.c * source/rtl/fssize.c * source/rtl/memofile.c * source/rtl/hbffind.c * source/rtl/tmenuitm.prg * source/rtl/gtsys.c * source/rtl/devoutp.prg * source/codepage/uckoi8.c * source/codepage/uckoi8u.c * source/codepage/cphu852s.c * source/codepage/cpes850c.c * source/codepage/cphuisos.c * source/codepage/ucmaz.c * source/codepage/cptr857.c * source/codepage/ucmik.c * source/codepage/cphr437.c * source/codepage/cphuwins.c * source/rdd/dbjoin.prg * source/rdd/dbnubs.c * source/rdd/dbfuncs.prg * source/rdd/dbtotal.prg * source/rdd/dbstrux.prg * source/rdd/dbsort.prg * source/rdd/dbfcdx/dbfcdx1.c * source/rdd/hbsix/sxcompr.c * source/compiler/hbmain.c * source/compiler/expropta.c * source/compiler/exproptb.c * source/compiler/fixflex.c * source/compiler/compi18n.c * source/compiler/gencobj.c * source/compiler/hbopt.c * source/compiler/hbgenerr.c * utils/hbtest/rt_main.h * utils/hbtest/rt_main.ch * utils/hbtest/rt_trans.prg * utils/hbtest/rt_misc.prg * utils/hbtest/rt_vars.ch * contrib/gtalleg/gtalleg.c * contrib/gtalleg/ssf.h * contrib/hbmysql/mysqlold.c * contrib/hbmysql/mysql.c * contrib/hbct/charlist.c * contrib/hbct/ctnet.c * contrib/hbct/charonly.c * contrib/hbct/ctset.c * contrib/hbct/ctset.h * contrib/hbct/cterror.ch * contrib/hbct/ftoc.c * contrib/hbct/charevod.c * contrib/hbct/exponent.c * contrib/hbct/dattime3.c * contrib/hbct/ct.prg * contrib/hbct/cursor.c * contrib/hbct/color.c * contrib/hbct/charone.c * contrib/hbct/numconv.prg * contrib/hbct/cttime.prg * contrib/hbct/ctstr.h * contrib/hbct/atnum.c * contrib/hbct/disk.c * contrib/hbct/misc1.c * contrib/hbct/print.c * contrib/xhb/hblog.ch * contrib/xhb/bkgtsks.c * contrib/xhb/wintypes.ch * contrib/xhb/classex.ch * contrib/xhb/hbcomprs.c * contrib/xhb/ttable.ch * contrib/xhb/hbcompat.ch * contrib/xhb/arrayblk.prg * contrib/xhb/hbctypes.ch * contrib/xhb/xhbextrn.ch * contrib/xhb/filestat.c * contrib/xhb/hblogdef.ch * contrib/xhb/xhbcopyf.c * contrib/xhb/hbserv.c * contrib/xhb/xhbfunc.c * contrib/hbodbc/odbcold.c * contrib/hbtpathy/telepath.ch * contrib/hbmzip/hbmzip.c * contrib/hbblat/hbblat.ch * contrib/hbxbp/xbpfiledialog.prg * contrib/hbxbp/gra.ch * contrib/hbxbp/xbpwindow.prg * contrib/hbxbp/xbp.ch * contrib/hbxbp/xbphtmlviewer.prg * contrib/hbxbp/xbptoolbar.prg * contrib/hbxbp/appevent.ch * contrib/hbxbp/xbpgeneric.prg * contrib/xpp/philesx.c * contrib/hbnf/acctyear.prg * contrib/hbnf/byteneg.prg * contrib/hbnf/isshare.prg * contrib/hbnf/kspeed.c * contrib/hbnf/prtscr.c * contrib/hbnf/ftshadow.c * contrib/hbnf/descendn.c * contrib/hbnf/scancode.prg * contrib/hbnf/vidmode.prg * contrib/hbnf/acctadj.prg * contrib/hbnf/vidcur.prg * contrib/hbnf/iamidle.c * contrib/hbnf/acctmnth.prg * contrib/hbnf/madd.prg * contrib/hbnf/fttext.c * contrib/hbnf/mouse1.prg * contrib/hbnf/settime.prg * contrib/hbnf/page.prg * contrib/hbnf/setkeys.c * contrib/hbnf/month.prg * contrib/hbnf/acctweek.prg * contrib/hbnf/acctqtr.prg * contrib/hbnf/dosver.prg * contrib/hbnf/metaph.prg * contrib/hbnf/menu1.prg * contrib/hbnf/byteand.prg * contrib/hbnf/bytexor.prg * contrib/hbnf/byteor.prg * contrib/hbnf/asum.prg * contrib/hbnf/wda.prg * contrib/hbnf/aavg.prg * contrib/hbnf/mouse.c * contrib/hbnf/setdate.prg * contrib/hbnf/amedian.prg * contrib/hbnf/blink.prg * contrib/hbnf/getvid.c * contrib/hbnf/getver.c * contrib/hbnf/nwuid.prg * contrib/hbnf/aemaxlen.prg * contrib/hbnf/bitset.prg * contrib/hbnf/nwlstat.prg * contrib/hbnf/tempfile.prg * contrib/hbnf/diskfunc.prg * contrib/hbnf/d2e.prg * contrib/hbnf/mouse2.prg * contrib/hbnf/firstday.prg * contrib/hbnf/menutonf.prg * contrib/hbnf/pvid.prg * contrib/hbnf/isbit.prg * contrib/hbnf/datecnfg.prg * contrib/hbnf/putkey.c * contrib/hbnf/getenvrn.c * contrib/hbnf/bytenot.prg * contrib/hbnf/aeminlen.prg * contrib/hbnf/year.prg * contrib/hbnf/ftmenuto.ch * contrib/hbnf/rmdir.c * contrib/hbnf/sysmem.prg * contrib/hbnf/bitclr.prg * contrib/hbnf/setlastk.c * contrib/hbnf/clrsel.prg * contrib/hbcurl/hbcurl.ch * contrib/gtwvg/gtwvg.c * contrib/gtwvg/wvgax.prg * contrib/gtwvg/gtwvg.h * contrib/gtwvg/wvggui.c * contrib/gtwvg/wvggui.h * contrib/gtwvg/wvgwin.c * contrib/gtwvg/wvgutils.c * contrib/gtwvg/wvgcore.c * contrib/gtwvg/wvgtabpg.prg * contrib/gtwvg/wvgsink.c * contrib/gtwvg/wvgwing.c * contrib/hbclipsm/num.c * contrib/hbclipsm/stack.c * contrib/rddads/rddads.h * contrib/rddads/ads1.c * contrib/hbfimage/fi_winfu.c * contrib/hbfimage/fi_wrp.c * contrib/hbgd/gd.ch * contrib/hbgd/gdchart.prg * contrib/hbgd/gdimage.prg * contrib/hbgd/gdwrp.c * contrib/hbmisc/nconvert.prg * contrib/hbmisc/stringsx.c * contrib/hbmisc/spd.c * contrib/hbmisc/stringp.prg * contrib/hbwin/win_prn2.c * contrib/hbwin/wapi_commctrl.c * contrib/hbwin/wapi_winbase.c * contrib/hbwin/wapi_winuser.c * contrib/hbwin/hbwinole.h * contrib/hbwin/win_dll.c * contrib/hbwin/axfunc.prg * contrib/hbwin/win_prn1.c * contrib/hbvpdf/hbvpdf.ch * examples/hboleold/win_ole.c * Formatting: - Removing EOL whitespaces. - Removing extra empty lines at EOF. - Adding EOL at EOF if missing. (except in foreign code) 2009-07-09 19:11 UTC+0200 Viktor Szakats * contrib/hbsqlit3/hbsqlit3.c * contrib/hbfimage/fi_wrp.c * Avoiding BYTE. * source/rtl/gtcrs/gtcrs.c * source/rtl/console.c * BYTE * -> char * 2009-07-09 17:47 UTC+0200 Viktor Szakats * include/hbgtcore.h * include/hbapigt.h * source/rtl/oldbox.c * source/rtl/box.c * source/rtl/gtstd/gtstd.c * source/rtl/gtcgi/gtcgi.c * source/rtl/gtapi.c * source/rtl/console.c * source/rtl/gtos2/gtos2.c * source/rtl/hbgtcore.c * source/rtl/gtpca/gtpca.c * contrib/hbct/screen2.c * contrib/hbct/ctwin.c * contrib/hbct/ctwin.h * contrib/hbct/ctwfunc.c * contrib/hbclipsm/status.c * contrib/hbclipsm/gauge.c * examples/hbmake/hbmakec.c * BYTE * -> char * for GT API functions. * hb_gtRepChar() character parameter BYTE -> USHORT. % Unnecessary casts deleted. ; TODO: Screen save/restore buffer kept as BYTE, but it also should be converted to something else. void * probably. [DONE] ; QUESTION: Single chars are represented as USHORT. Shouldn't we change it to 'char'? * contrib/hbtip/thtml.prg * contrib/hbtip/sendmail.prg * contrib/hbtip/httpcln.prg * Minor formatting. 2009-07-09 15:18 UTC+0200 Viktor Szakats * contrib/hbtip/utils.c - contrib/hbtip/base64x.c * contrib/hbtip/client.prg * contrib/hbtip/smtpcln.prg * contrib/hbtip/Makefile * contrib/hbvpdf/hbvpsup.prg * Using core BASE64 functions. ; Left HB_BASE64() as compatibility call in hbtip. * contrib/hbwin/wapi_winuser.c + Added WAPI_GETDESKTOPWINDOW(). 2009-07-09 14:58 UTC+0200 Viktor Szakats * include/hbextern.ch * source/rtl/Makefile + source/rtl/base64c.c + source/rtl/base64.prg + Added HB_BASE64ENCODE(), HB_BASE64DECODE() to core. They were copied from hbtip and hbvpdf and currently the decoder is .prg code while encoding is .c code. Latter has one FIXME for an error situation. * contrib/hbtip/encurl.prg * contrib/hbtip/thtml.prg * contrib/hbtip/sessid.prg * contrib/hbtip/popcln.prg * contrib/hbtip/sendmail.prg * contrib/hbtip/tip.ch * contrib/hbtip/cgi.prg * contrib/hbtip/url.prg * contrib/hbtip/encqp.prg * contrib/hbtip/base64x.c * contrib/hbtip/httpcln.prg * contrib/hbtip/client.prg * contrib/hbtip/encoder.prg * contrib/hbtip/smtpcln.prg * contrib/hbtip/encb64.prg * contrib/hbtip/mail.prg * contrib/hbtip/credent.prg * contrib/hbtip/ftpcln.prg + Added FIXMEs, QUESTIONs ! Fixed to use hb_MemoRead() instead of MemoRead() in one place. ! Fixed a wrong error checks after FCreate() calls. ! Fixed to use Len( hb_inetCRLF ) instead of hardwired length. ! Using hb_ntos() instead of Str() in POP3 commands. ! Deleted Alert() calls from code. * Changed explicit values to manifest constants (F_ERROR) * Changed high ASCII chars in source to Chr() representation, now source can be edited with any editor. ! Added missing copyright header to tip.ch. Although this header seems to be unnecessary. ! TipMail:MakeBoundary() to not add any date punctuations in the ID. ! Fixed tIPClientFTP:fileSize() to not return permantent zero. % Heavier optimizations and cleanup in TIpClientSmtp(). % Optimizations. * Formatting. ; Please test. 2009-07-09 14:40 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbexpra.c % reduce macro expressions used in POP operation. It allows to use code like: &("((M->VAR))") := 1 * harbour/include/hbexprb.c + added support for iif() used in macro expressions passed by references: proc MAIN() local s := "IIF( lVar, xVar1, xVar2 )" M->xVar1 := 1 M->xVar2 := 2 M->lVar := .T. ? M->xVar1, M->xVar2 P( @&s ) ? M->xVar1, M->xVar2 proc P(x) x+=1000 * harbour/source/vm/hvm.c ! fixed possible assign value lost in extended references 2009-07-08 16:58 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/hbxbp/xbpbitmap.prg + Implemented XbpBitmap() class - mostly working. * harbour/contrib/hbxbp/xbpfiledialog.prg ! Shifted constants to hbqt.ch * harbour/contrib/hbxbp/xbpfontdialog.prg + Implemented XbpFontDialog() and XbpFont() class with interaction. * harbour/contrib/hbxbp/xbpstatic.prg + Implemented :type == XBPSTATIC_TYPE_BITMAP. * harbour/contrib/hbxbp/xbpwindow.prg + Implemented :setFont( oXbpFont ). ! Enhanced "Attribute" factor of :compoundName to accept bold and italic together. Integrated with :setFont() * harbour/contrib/hbxbp/tests/demoxbp.prg + Demonstrated XbpFontDialog() and XbpFont() implementation. 1. Click on <MLE> tab-page. 2. Click on <Font Dialog> toolbar icon. 3. Adjust and select a font. 4. See the result in MLE text editor. + Demonstrated XbpBitmap() functionality as in Xbase++, code shows up with both compilers. 2009-07-08 16:50 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/hbqt/hbqt.ch * harbour/contrib/hbqt/QBitmap.cpp * harbour/contrib/hbqt/QBrush.cpp * harbour/contrib/hbqt/QCursor.cpp * harbour/contrib/hbqt/QImage.cpp * harbour/contrib/hbqt/QLine.cpp * harbour/contrib/hbqt/QLinearGradient.cpp * harbour/contrib/hbqt/QPicture.cpp * harbour/contrib/hbqt/QPixmap.cpp * harbour/contrib/hbqt/QPoint.cpp * harbour/contrib/hbqt/QPointF.cpp * harbour/contrib/hbqt/QRadialGradient.cpp * harbour/contrib/hbqt/QRect.cpp * harbour/contrib/hbqt/QRectF.cpp * harbour/contrib/hbqt/QRegion.cpp * harbour/contrib/hbqt/QSizeF.cpp * harbour/contrib/hbqt/TQBitmap.prg * harbour/contrib/hbqt/TQImage.prg * harbour/contrib/hbqt/TQLine.prg * harbour/contrib/hbqt/TQLinearGradient.prg * harbour/contrib/hbqt/TQPicture.prg * harbour/contrib/hbqt/TQPixmap.prg * harbour/contrib/hbqt/TQPoint.prg * harbour/contrib/hbqt/TQPointF.prg * harbour/contrib/hbqt/TQRadialGradient.prg * harbour/contrib/hbqt/TQRect.prg * harbour/contrib/hbqt/TQRectF.prg * harbour/contrib/hbqt/TQRegion.prg * harbour/contrib/hbqt/TQSizeF.prg * harbour/contrib/hbqt/qth/QBitmap.qth * harbour/contrib/hbqt/qth/QBrush.qth * harbour/contrib/hbqt/qth/QCursor.qth * harbour/contrib/hbqt/qth/QImage.qth * harbour/contrib/hbqt/qth/QLine.qth * harbour/contrib/hbqt/qth/QLinearGradient.qth * harbour/contrib/hbqt/qth/QPalette.qth * harbour/contrib/hbqt/qth/QPicture.qth * harbour/contrib/hbqt/qth/QPixmap.qth * harbour/contrib/hbqt/qth/QPoint.qth * harbour/contrib/hbqt/qth/QPointF.qth * harbour/contrib/hbqt/qth/QRadialGradient.qth * harbour/contrib/hbqt/qth/QRect.qth * harbour/contrib/hbqt/qth/QRectF.qth * harbour/contrib/hbqt/qth/QRegion.qth * harbour/contrib/hbqt/qth/QSizeF.qth ! Updated for exact constructor parameters. If the constructor accepts parameters with identical .prg supplied values, a new parameter is inserted as a first argument and then resolved in .cpp. oBrush := QBrush():new( "QPixmap" , pQPixmap ) oBrush := QBrush():new( "QImage" , pQImage ) oBrush := QBrush():new( "QGradient", pQGradient ) Note that constructor fetches only one argument, a pointer to relevant object, which at prg to cpp level can never be differed so this mechanism was necessary. The first parameter will be matched exact and hence it is case sensitive. If this parameter is of the same type object is being created then it call will only supply pointer: oBrush := QBrush():new( pQBrush_other ) 2009-07-08 22:47 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added -[no]ignore option which tells hbmk2 to ignore errors returned by compiler tools and continue as normal. Useful to gather all build errors in one pass. ! Fixed hbmk2 errorlevel on resource compiler error. 2009-07-08 22:13 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! allmsvc filter didn't cover msvcia64. 2009-07-08 20:33 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbexprb.c ! fixed macropop used with messages * harbour/include/hbapi.h * harbour/source/vm/hvm.c * added code to debug recover statements - it's disabled by default 2009-07-08 20:05 UTC+0200 Viktor Szakats * source/rtl/tget.prg ! Fixed to handle lowercase picture mask characters. Please test. 2009-07-08 18:22 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbtask.h * harbour/source/vm/maindllh/Makefile * harbour/source/vm/task.c * harbour/source/vm/hvmall.c * harbour/source/rtl/cputime.c * harbour/contrib/hbmysql/hbmysql.hbc * harbour/contrib/xhb/xhb.hbc * harbour/contrib/xhb/xhberrc.c * harbour/contrib/xhb/xhbver.ch * harbour/contrib/hbodbc/hbodbc.hbc * harbour/contrib/hbtpathy/hbtpathy.hbc * harbour/contrib/hbsqlit3/tests/hooks.prg * harbour/contrib/hbsqlit3/tests/backup.prg * harbour/contrib/hbsqlit3/tests/authoriz.prg * harbour/contrib/hbsqlit3/hbsqlit3.hbc * harbour/contrib/hbmzip/hbmzip.hbc * harbour/contrib/hbqt/QDragEnterEvent.cpp * harbour/contrib/hbqt/QWebSecurityOrigin.cpp * harbour/contrib/hbqt/QConicalGradient.cpp * harbour/contrib/hbqt/TQWidgetItem.prg * harbour/contrib/hbqt/QGradient.cpp * harbour/contrib/hbqt/TQDropEvent.prg * harbour/contrib/hbqt/QStandardItemModel.cpp * harbour/contrib/hbqt/TQTextObject.prg * harbour/contrib/hbqt/QPicture.cpp * harbour/contrib/hbqt/TQStyleHintReturn.prg * harbour/contrib/hbqt/QStyledItemDelegate.cpp * harbour/contrib/hbqt/QAbstractListModel.cpp * harbour/contrib/hbqt/TQFontDatabase.prg * harbour/contrib/hbqt/QResource.cpp * harbour/contrib/hbqt/TQWebHistory.prg * harbour/contrib/hbqt/QMouseEvent.cpp * harbour/contrib/hbqt/TQAbstractItemModel.prg * harbour/contrib/hbqt/QStyleOptionHeader.cpp * harbour/contrib/hbqt/QWheelEvent.cpp * harbour/contrib/hbqt/QRadialGradient.cpp * harbour/contrib/hbqt/QCursor.cpp * harbour/contrib/hbqt/QFocusEvent.cpp * harbour/contrib/hbqt/QStyleHintReturn.cpp * harbour/contrib/hbqt/QStyleOptionToolButton.cpp * harbour/contrib/hbqt/QStylePainter.cpp * harbour/contrib/hbqt/QWebPluginFactory.cpp * harbour/contrib/hbqt/TQSystemTrayIcon.prg * harbour/contrib/hbqt/QLinearGradient.cpp * harbour/contrib/hbqt/QDragLeaveEvent.cpp * harbour/contrib/hbqt/TQStyleOptionViewItem.prg * harbour/contrib/hbqt/QStyleOptionToolBox.cpp * harbour/contrib/hbqt/QStyleOptionTabBarBase.cpp * harbour/contrib/hbqt/QStringList.cpp * harbour/contrib/hbqt/TQStyleOptionTitleBar.prg * harbour/contrib/hbqt/TQSound.prg * harbour/contrib/hbqt/TQGradient.prg * harbour/contrib/hbqt/TQWebSettings.prg * harbour/contrib/hbqt/TQApplication.prg * harbour/contrib/hbqt/QStyleOptionViewItem.cpp * harbour/contrib/hbqt/TQCoreApplication.prg * harbour/contrib/hbqt/TQKeySequence.prg * harbour/contrib/hbqt/QStyleOptionToolBar.cpp * harbour/contrib/hbqt/QStyleOptionTitleBar.cpp * harbour/contrib/hbqt/TQResource.prg * harbour/contrib/hbqt/QStyleOptionButton.cpp * harbour/contrib/hbqt/QSizePolicy.cpp * harbour/contrib/hbqt/QWebSettings.cpp * harbour/contrib/hbqt/TQStyleOptionSizeGrip.prg * harbour/contrib/hbqt/TQStyleOptionGroupBox.prg * harbour/contrib/hbqt/TQStylePainter.prg * harbour/contrib/hbqt/TQWebPluginFactory.prg * harbour/contrib/hbqt/QKeySequence.cpp * harbour/contrib/hbqt/QKeyEvent.cpp * harbour/contrib/hbqt/QStyleOptionSlider.cpp * harbour/contrib/hbqt/TQDragMoveEvent.prg * harbour/contrib/hbqt/QWidgetItem.cpp * harbour/contrib/hbqt/QStyleOptionSizeGrip.cpp * harbour/contrib/hbqt/TQWebHistoryItem.prg * harbour/contrib/hbqt/QTextObject.cpp * harbour/contrib/hbqt/QStyleOptionGroupBox.cpp * harbour/contrib/hbqt/QImage.cpp * harbour/contrib/hbqt/QLine.cpp * harbour/contrib/hbqt/TQStyleOptionProgressBar.prg * harbour/contrib/hbqt/QWebHistory.cpp * harbour/contrib/hbqt/TQStyleHintReturnVariant.prg * harbour/contrib/hbqt/TQWebSecurityOrigin.prg * harbour/contrib/hbqt/TQStyleOptionTab.prg * harbour/contrib/hbqt/TQStringListModel.prg * harbour/contrib/hbqt/QWebHitTestResult.cpp * harbour/contrib/hbqt/TQStandardItemModel.prg * harbour/contrib/hbqt/QSystemTrayIcon.cpp * harbour/contrib/hbqt/QStyleOptionDockWidget.cpp * harbour/contrib/hbqt/TQFileSystemModel.prg * harbour/contrib/hbqt/QStyleOptionTabWidgetFrame.cpp * harbour/contrib/hbqt/QStyleOptionFocusRect.cpp * harbour/contrib/hbqt/QMoveEvent.cpp * harbour/contrib/hbqt/TQImageWriter.prg * harbour/contrib/hbqt/TQAbstractListModel.prg * harbour/contrib/hbqt/QWidgetAction.cpp * harbour/contrib/hbqt/TQModelIndex.prg * harbour/contrib/hbqt/QStringListModel.cpp * harbour/contrib/hbqt/TQKeyEvent.prg * harbour/contrib/hbqt/TQStyleOptionMenuItem.prg * harbour/contrib/hbqt/TQStyleOptionHeader.prg * harbour/contrib/hbqt/QFileSystemModel.cpp * harbour/contrib/hbqt/TQWebHistoryInterface.prg * harbour/contrib/hbqt/TQStyleOptionComboBox.prg * harbour/contrib/hbqt/TQBrush.prg * harbour/contrib/hbqt/TQStyleOptionToolButton.prg * harbour/contrib/hbqt/QImageWriter.cpp * harbour/contrib/hbqt/TQLine.prg * harbour/contrib/hbqt/TQAbstractTableModel.prg * harbour/contrib/hbqt/TQStyleOptionTabBarBase.prg * harbour/contrib/hbqt/QStyleOptionMenuItem.cpp * harbour/contrib/hbqt/TQImageReader.prg * harbour/contrib/hbqt/QDropEvent.cpp * harbour/contrib/hbqt/TQColor.prg * harbour/contrib/hbqt/TQStyleOptionComplex.prg * harbour/contrib/hbqt/TQWebHitTestResult.prg * harbour/contrib/hbqt/QLatin1String.cpp * harbour/contrib/hbqt/QStandardItem.cpp * harbour/contrib/hbqt/TQLatin1Char.prg * harbour/contrib/hbqt/QWebHistoryInterface.cpp * harbour/contrib/hbqt/QStyleOptionComboBox.cpp * harbour/contrib/hbqt/TQStyleOptionSpinBox.prg * harbour/contrib/hbqt/TQPalette.prg * harbour/contrib/hbqt/TQResizeEvent.prg * harbour/contrib/hbqt/TQStyleOptionFocusRect.prg * harbour/contrib/hbqt/QAbstractItemModel.cpp * harbour/contrib/hbqt/QImageReader.cpp * harbour/contrib/hbqt/TQDragEnterEvent.prg * harbour/contrib/hbqt/TQWidgetAction.prg * harbour/contrib/hbqt/QWebHistoryItem.cpp * harbour/contrib/hbqt/TQStyleOptionButton.prg * harbour/contrib/hbqt/QDateTime.cpp * harbour/contrib/hbqt/QPalette.cpp * harbour/contrib/hbqt/QStyleOptionProgressBar.cpp * harbour/contrib/hbqt/QResizeEvent.cpp * harbour/contrib/hbqt/TQStyledItemDelegate.prg * harbour/contrib/hbqt/QStyleHintReturnVariant.cpp * harbour/contrib/hbqt/QList.cpp * harbour/contrib/hbqt/QStyleOptionTab.cpp * harbour/contrib/hbqt/TQStyleOption.prg * harbour/contrib/hbqt/TQMouseEvent.prg * harbour/contrib/hbqt/TQStyleOptionSlider.prg * harbour/contrib/hbqt/QWebFrame.cpp * harbour/contrib/hbqt/QSound.cpp * harbour/contrib/hbqt/QDirModel.cpp * harbour/contrib/hbqt/TQWheelEvent.prg * harbour/contrib/hbqt/TQRadialGradient.prg * harbour/contrib/hbqt/QStyleOptionFrame.cpp * harbour/contrib/hbqt/TQCursor.prg * harbour/contrib/hbqt/TQStandardItem.prg * harbour/contrib/hbqt/TQLatin1String.prg * harbour/contrib/hbqt/TQFocusEvent.prg * harbour/contrib/hbqt/TQImage.prg * harbour/contrib/hbqt/TQLinearGradient.prg * harbour/contrib/hbqt/TQDragLeaveEvent.prg * harbour/contrib/hbqt/QModelIndex.cpp * harbour/contrib/hbqt/TQStyleHintReturnMask.prg * harbour/contrib/hbqt/QStyleOption.cpp * harbour/contrib/hbqt/TQStyleOptionToolBox.prg * harbour/contrib/hbqt/TQStringList.prg * harbour/contrib/hbqt/hbqt.ch * harbour/contrib/hbqt/TQDateTime.prg * harbour/contrib/hbqt/TQStyleOptionDockWidget.prg * harbour/contrib/hbqt/TQStyleOptionTabWidgetFrame.prg * harbour/contrib/hbqt/QFontDatabase.cpp * harbour/contrib/hbqt/QAbstractTableModel.cpp * harbour/contrib/hbqt/QStyleHintReturnMask.cpp * harbour/contrib/hbqt/TQMoveEvent.prg * harbour/contrib/hbqt/TQList.prg * harbour/contrib/hbqt/TQStyleOptionToolBar.prg * harbour/contrib/hbqt/QDragMoveEvent.cpp * harbour/contrib/hbqt/TQConicalGradient.prg * harbour/contrib/hbqt/QStyleOptionComplex.cpp * harbour/contrib/hbqt/TQWebFrame.prg * harbour/contrib/hbqt/TQSizePolicy.prg * harbour/contrib/hbqt/QLatin1Char.cpp * harbour/contrib/hbqt/TQDirModel.prg * harbour/contrib/hbqt/QStyleOptionSpinBox.cpp * harbour/contrib/hbqt/TQStyleOptionFrame.prg * harbour/contrib/hbqt/TQPicture.prg * harbour/contrib/hbfbird/hbfbird.hbc * harbour/contrib/hbziparc/hbziparc.hbc * harbour/contrib/hbxbp/xbpappevent.prg * harbour/contrib/hbxbp/xbpsle.prg * harbour/contrib/hbxbp/xbplistbox.prg * harbour/contrib/hbxbp/xbpcheckbox.prg * harbour/contrib/hbxbp/xbpmenubar.prg * harbour/contrib/hbxbp/xbpradiobutton.prg * harbour/contrib/hbxbp/xbpfiledialog.prg * harbour/contrib/hbxbp/gra.ch * harbour/contrib/hbxbp/tests/demoxbp.prg * harbour/contrib/hbxbp/xbptabpage.prg * harbour/contrib/hbxbp/xbpwindow.prg * harbour/contrib/hbxbp/xbpcombobox.prg * harbour/contrib/hbxbp/xbpstatusbar.prg * harbour/contrib/hbxbp/xbppushbutton.prg * harbour/contrib/hbxbp/Makefile * harbour/contrib/hbxbp/xbpbitmap.prg * harbour/contrib/hbxbp/xbp.ch * harbour/contrib/hbxbp/xbpscrollbar.prg * harbour/contrib/hbxbp/xbpfontdialog.prg * harbour/contrib/hbxbp/xbphtmlviewer.prg * harbour/contrib/hbxbp/xbpstatic.prg * harbour/contrib/hbxbp/xbptreeview.prg * harbour/contrib/hbxbp/xbpdialog.prg * harbour/contrib/hbxbp/xbpstyle.prg * harbour/contrib/hbxbp/xbptoolbar.prg * harbour/contrib/hbxbp/xbp3state.prg * harbour/contrib/hbxbp/xbpparthandler.prg * harbour/contrib/hbxbp/xbpspinbutton.prg * harbour/contrib/hbxbp/xbpdataref.prg * harbour/contrib/hbxbp/appevent.ch * harbour/contrib/hbxbp/xbpgeneric.prg * harbour/contrib/hbxbp/xbpmle.prg * harbour/contrib/hbnf/hbnf.hbc * harbour/contrib/hbcurl/hbcurl.hbc * harbour/contrib/rddsql/rddsql.hbc * harbour/contrib/hbhpdf/hbhpdf.hbc * harbour/contrib/rddado/rddado.hbc * harbour/contrib/gtwvg/gtwvg.hbc * harbour/contrib/hbpgsql/hbpgsql.hbc * harbour/contrib/rddads/rddads.hbc * harbour/contrib/hbclipsm/hbclipsm.hbc * harbour/contrib/hbfimage/hbfimage.hbc * harbour/contrib/hbgd/hbgd.hbc * harbour/contrib/hbmisc/hbmisc.hbc * harbour/contrib/hbtip/hbtip.hbc * harbour/contrib/hbwin/hbwin.hbc * harbour/contrib/hbvpdf/hbvpdf.hbc * harbour/contrib/hbbtree/hbbtree.hbc * harbour/contrib/hbcrypt/hbcrypt.hbc * harbour/contrib/hbssl/hbssl.hbc * harbour/examples/pp/pp.hbp * harbour/examples/hbdoc/hbdoc.hbp * harbour/examples/hbmsql/hbmsql.hbc * harbour/examples/hbsqlit2/hbsqlit2.hbc * harbour/examples/hbapollo/hbapollo.hbc * harbour/examples/pe/pe.hbp * harbour/examples/guestbk/guestbk.hbp * harbour/examples/hbgf/tests/hbgf.hbc * harbour/examples/dbu/dbu.hbp * harbour/examples/terminal/terminal.hbc * harbour/examples/terminal/trm_app.hbp * harbour/examples/hscript/hscript.hbp * harbour/examples/hbwhat/hbwhat.hbc * harbour/examples/rl/rl.hbp ! fixed hardcode CRLF * set svn attributes svn:eol-style and svn:keywords 2009-07-08 15:39 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/fm.c ! fixed reference counter initialization in hb_xrealloc( NULL, size ); 2009-07-08 12:22 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rdd/dbfntx/dbfntx1.c * harbour/source/rdd/dbfnsx/dbfnsx1.c * harbour/source/rdd/dbfcdx/dbfcdx1.c * harbour/source/rdd/dbf1.c ! cleaned initialization code - use INIT method to make independent from initialization code. It fixes default memo type setting in DBFNSX (SMT) and DBFNTX (DBT) on some platforms 2009-07-08 11:47 UTC+0200 Viktor Szakats * contrib/xhb/hbserv.c * source/rtl/hbzlib.c * source/rtl/transfrm.c * source/rtl/version.c % Using hb_retc_const() in some less obvious cases. * source/vm/set.c - Deleted explicit cast. 2009-07-08 11:28 UTC+0200 Viktor Szakats * source/rtl/gtfunc.c * source/rtl/datec.c * source/rtl/langapi.c * source/rtl/natmsg.c % Using hb_retc_const() in some less obvious cases. 2009-07-08 11:13 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbmath.h ! fixed C++ DJGPP builds 2009-07-08 11:07 UTC+0200 Viktor Szakats * contrib/xhb/xhbat.c * contrib/hbtip/utils.c * Moved ATI() function to xhb lib. ATI() is different from HB_ATI() since it doesn't support national chars, but it supports negative start/end values in xhb style. * contrib/hbtip/thtml.prg * Changed to use core HB_ATI() instead of xhb specific ATI(). To me it looks that negative positions aren't used by hbtip code, also respect for national chars is fine, so this replacement is okay. Please review me and correct it if needed. * contrib/xhb/xhbfunc.c * contrib/hbtip/legacy.prg * Moved HB_EXEC() to xhb lib. Restored the C version. * contrib/hbtip/Makefile - contrib/hbtip/legacy.prg - Deleted. No longer necessary. * include/hbextern.ch * source/rtl/Makefile + source/rtl/ati.c + Added HB_ATI() function. This is the same as HB_AT(), but case-insensitive. It supports national chars. 2009-07-08 09:18 UTC+0200 Viktor Szakats * contrib/hbtip/utils.c % Cleanup, formatting, minor optimizations. * contrib/xhb/hbserv.c * contrib/hbgd/gdwrp.c * contrib/hbtip/utils.c * source/rtl/dateshb.c * source/rtl/setcolor.c * source/rtl/natmsg.c * source/rtl/hbinet.c % Using hb_retc_const() to return constant strings. * contrib/hbnf/fttext.c * contrib/hbmisc/hb_f.c ! Fixed to use hb_retnint() to return HB_FHANDLE. * contrib/xhb/hbxml.c * contrib/hbtip/utils.c * contrib/xhb/freadlin.c * examples/hbdoc/hbdfrdln.c * examples/hbmake/hbmakec.c ! Fixed to retrieve file handles with hb_itemGetNInt() and hb_parnint(), instead of long versions. 2009-07-08 01:11 UTC+0200 Viktor Szakats * contrib/hbtip/encurl.prg * contrib/hbtip/thtml.prg * contrib/hbtip/sessid.prg * contrib/hbtip/popcln.prg * contrib/hbtip/cgi.prg * contrib/hbtip/url.prg * contrib/hbtip/encqp.prg * contrib/hbtip/httpcln.prg * contrib/hbtip/client.prg * contrib/hbtip/encoder.prg * contrib/hbtip/smtpcln.prg * contrib/hbtip/encb64.prg * contrib/hbtip/mail.prg * contrib/hbtip/credent.prg * contrib/hbtip/ftpcln.prg * Some formatting. ! Reverted "CLASS VAR" to "CLASS DATA" as they are a little bit different. 2009-07-08 00:42 UTC+0200 Viktor Szakats * contrib/hbtip/Makefile * contrib/hbtip/thtml.prg * contrib/hbtip/utils.c + contrib/hbtip/legacy.prg * Renamed ATI() to TIP_ATI(). (Probably we should have a proper, CP-aware HB_ATI() function in core) * Readded ATI() as legacy function. % Using <sym>:exec() instead of HB_EXEC() local .c function. + HB_EXEC() moved to legacy status and reimplemented in .prg. (Thanks Przemek and Petr) % Minor optimization where TIP_ATI() is only used where we're looking for alphabetic data. I'd appreciate if someone could review me, I'm not using this code. 2009-07-07 18:51 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbcurl/hbcurl.c ! small fix in const casting 2009-07-07 09:21 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/hbqt/generator/hbqtgen.prg ! Some refinements and formatting. * harbour/contrib/hbxbp/xbpstatic.prg + Implemented :type == XBPSTATIC_TYPE_SYSICON With this XbpStatic() class is 100% Xbase++ compliant plus Harbour has more goodies to play with, i.e., more sysicons to display ( about 60+ ) instead of only 4 provided in Xbase++. Plus Harbour has implemented to define mouse cursor from any image format. * harbour/contrib/hbxbp/tests/demoxbp.prg ! Demonstrated all XbpStatic() implementation. 2009-07-07 07:46 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/hbqt/generator/hbqtgen.prg ! METHOD New( ... ) ::pPtr := Qt_Q*( ... ) RETURN Self * harbour/contrib/hbqt/TQBrush.prg * harbour/contrib/hbqt/TQColor.prg * harbour/contrib/hbqt/TQCursor.prg * harbour/contrib/hbqt/TQFont.prg * harbour/contrib/hbqt/TQIcon.prg * harbour/contrib/hbqt/TQPalette.prg * harbour/contrib/hbqt/TQPen.prg * harbour/contrib/hbqt/TQSize.prg ! Result of above change. 2009-07-07 15:15 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/diskspac.c * added iTODO warning in OW Linux builds 2009-07-07 14:40 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/hbproces.c ! added missing #include * harbour/config/linux/watcom.cf * harbour/utils/hbmk2/hbmk2.prg ! synced OW compiler ABI flags in Linux builds 2009-07-07 11:42 UTC+0200 Viktor Szakats * contrib/hbtip/client.prg % Further simplified proxy handling code. * ChangeLog ! Typos. 2009-07-07 11:18 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/config/dos/watcom.cf * harbour/config/win/watcom.cf * harbour/config/os2/watcom.cf * disabled DOS/4GW Banner * harbour/utils/hbmk2/hbmk2.prg * use DOS/4G for DOS OpenWatcom binaries instead of causeway which seems to have some troubles with executing child processes. At least in FreeDOS inside DOSEMU. Warning DOS/4G reduce maximal size of command line. Ideal seems to be PMDEV but it's not free for commercial use though we can think about using it to create Harbour binaries. 2009-07-07 01:18 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/hbxbp/xbpwindow.prg + Implemented :setPointer() of type XBPWINDOW_POINTERTYPE_ICON. Presently it accepts an image disk file whereas Xbase++ rely on resource icon. In this scenario Harbour-Qt is more powerful because you can pass any image format for a cursor shape. * harbour/contrib/hbxbp/xbpstatic.prg + Implemented XbpStatic():type == XBPSTATIC_TYPE_BITMAP :options == XBPSTATIC_BITMAP_SCALED Image now scales to bounding rectangle of the static object. * harbour/contrib/hbxbp/tests/demoxbp.prg ! Updated to reflect above implementations. Move mouse over the different parts. Also notice image in one of the static in group-box. 2009-07-07 01:13 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/hbqt/generator/hbqtgen.prg * harbour/contrib/hbqt/qth/QBrush.qth * harbour/contrib/hbqt/qth/QColor.qth * harbour/contrib/hbqt/qth/QCursor.qth * harbour/contrib/hbqt/qth/QIcon.qth * harbour/contrib/hbqt/qth/QPalette.qth * harbour/contrib/hbqt/qth/QPen.qth * harbour/contrib/hbqt/qth/QSize.qth * harbour/contrib/hbqt/hbqt.h * harbour/contrib/hbqt/QBrush.cpp * harbour/contrib/hbqt/QColor.cpp * harbour/contrib/hbqt/QCursor.cpp * harbour/contrib/hbqt/QIcon.cpp * harbour/contrib/hbqt/QPalette.cpp * harbour/contrib/hbqt/QPen.cpp * harbour/contrib/hbqt/QSize.cpp * harbour/contrib/hbqt/TQBrush.prg * harbour/contrib/hbqt/TQColor.prg * harbour/contrib/hbqt/TQCursor.prg * harbour/contrib/hbqt/TQIcon.prg * harbour/contrib/hbqt/TQPalette.prg * harbour/contrib/hbqt/TQPen.prg * harbour/contrib/hbqt/TQSize.prg ! More qualifying classes with :new( ... ) syntax. 2009-07-07 07:36 UTC+0200 Viktor Szakats * contrib/hbqt/generator/hbqtgen.prg * Formatting. * .cpp file rename. This is to resolve short term problem msvc builds failing due to too long command line length when assembling the library. ; FIXME: On the mid term we should split this huge lib into smaller pieces. * Moved non-generated files to the top of the file list to make them build first. * contrib/hbqt/Makefile_gen + contrib/hbqt/QAbstractButton.cpp + contrib/hbqt/QAbstractItemModel.cpp + contrib/hbqt/QAbstractItemView.cpp + contrib/hbqt/QAbstractListModel.cpp + contrib/hbqt/QAbstractPrintDialog.cpp + contrib/hbqt/QAbstractScrollArea.cpp + contrib/hbqt/QAbstractSlider.cpp + contrib/hbqt/QAbstractSpinBox.cpp + contrib/hbqt/QAbstractTableModel.cpp + contrib/hbqt/QAction.cpp + contrib/hbqt/QApplication.cpp + contrib/hbqt/QBitmap.cpp + contrib/hbqt/QBoxLayout.cpp + contrib/hbqt/QBrush.cpp + contrib/hbqt/QCalendarWidget.cpp + contrib/hbqt/QCheckBox.cpp + contrib/hbqt/QClipboard.cpp + contrib/hbqt/QColor.cpp + contrib/hbqt/QColorDialog.cpp + contrib/hbqt/QComboBox.cpp + contrib/hbqt/QCommandLinkButton.cpp + contrib/hbqt/QCommonStyle.cpp + contrib/hbqt/QConicalGradient.cpp + contrib/hbqt/QCoreApplication.cpp + contrib/hbqt/QCursor.cpp + contrib/hbqt/QDateEdit.cpp + contrib/hbqt/QDateTime.cpp + contrib/hbqt/QDateTimeEdit.cpp + contrib/hbqt/QDesktopWidget.cpp + contrib/hbqt/QDial.cpp + contrib/hbqt/QDialog.cpp + contrib/hbqt/QDir.cpp + contrib/hbqt/QDirModel.cpp + contrib/hbqt/QDockWidget.cpp + contrib/hbqt/QDoubleSpinBox.cpp + contrib/hbqt/QDragEnterEvent.cpp + contrib/hbqt/QDragLeaveEvent.cpp + contrib/hbqt/QDragMoveEvent.cpp + contrib/hbqt/QDropEvent.cpp + contrib/hbqt/QErrorMessage.cpp + contrib/hbqt/QEvent.cpp + contrib/hbqt/QEventLoop.cpp + contrib/hbqt/QFileDialog.cpp + contrib/hbqt/QFileSystemModel.cpp + contrib/hbqt/QFocusEvent.cpp + contrib/hbqt/QFocusFrame.cpp + contrib/hbqt/QFont.cpp + contrib/hbqt/QFontComboBox.cpp + contrib/hbqt/QFontDatabase.cpp + contrib/hbqt/QFontDialog.cpp + contrib/hbqt/QFontInfo.cpp + contrib/hbqt/QFormLayout.cpp + contrib/hbqt/QFrame.cpp + contrib/hbqt/QFtp.cpp + contrib/hbqt/QGradient.cpp + contrib/hbqt/QGridLayout.cpp + contrib/hbqt/QGroupBox.cpp + contrib/hbqt/QHBoxLayout.cpp + contrib/hbqt/QHeaderView.cpp + contrib/hbqt/QHttp.cpp + contrib/hbqt/QIcon.cpp + contrib/hbqt/QImage.cpp + contrib/hbqt/QImageReader.cpp + contrib/hbqt/QImageWriter.cpp + contrib/hbqt/QInputDialog.cpp + contrib/hbqt/QInputEvent.cpp + contrib/hbqt/QKeyEvent.cpp + contrib/hbqt/QKeySequence.cpp + contrib/hbqt/QLabel.cpp + contrib/hbqt/QLatin1Char.cpp + contrib/hbqt/QLatin1String.cpp + contrib/hbqt/QLayout.cpp + contrib/hbqt/QLayoutItem.cpp + contrib/hbqt/QLCDNumber.cpp + contrib/hbqt/QLine.cpp + contrib/hbqt/QLinearGradient.cpp + contrib/hbqt/QLineEdit.cpp + contrib/hbqt/QList.cpp + contrib/hbqt/QListView.cpp + contrib/hbqt/QListWidget.cpp + contrib/hbqt/QListWidgetItem.cpp + contrib/hbqt/QMainWindow.cpp + contrib/hbqt/QMenu.cpp + contrib/hbqt/QMenuBar.cpp + contrib/hbqt/QMessageBox.cpp + contrib/hbqt/QModelIndex.cpp + contrib/hbqt/QMouseEvent.cpp + contrib/hbqt/QMoveEvent.cpp + contrib/hbqt/QObject.cpp + contrib/hbqt/QPageSetupDialog.cpp + contrib/hbqt/QPaintDevice.cpp + contrib/hbqt/QPainter.cpp + contrib/hbqt/QPaintEvent.cpp + contrib/hbqt/QPalette.cpp + contrib/hbqt/QPen.cpp + contrib/hbqt/QPicture.cpp + contrib/hbqt/QPixmap.cpp + contrib/hbqt/QPoint.cpp + contrib/hbqt/QPointF.cpp + contrib/hbqt/QPrintDialog.cpp + contrib/hbqt/QPrintPreviewDialog.cpp + contrib/hbqt/QProgressBar.cpp + contrib/hbqt/QProgressDialog.cpp + contrib/hbqt/QPushButton.cpp + contrib/hbqt/QRadialGradient.cpp + contrib/hbqt/QRadioButton.cpp + contrib/hbqt/QRect.cpp + contrib/hbqt/QRectF.cpp + contrib/hbqt/QRegion.cpp + contrib/hbqt/QResizeEvent.cpp + contrib/hbqt/QResource.cpp + contrib/hbqt/QScrollArea.cpp + contrib/hbqt/QScrollBar.cpp + contrib/hbqt/QSignalMapper.cpp + contrib/hbqt/QSize.cpp + contrib/hbqt/QSizeF.cpp + contrib/hbqt/QSizeGrip.cpp + contrib/hbqt/QSizePolicy.cpp + contrib/hbqt/QSlider.cpp + contrib/hbqt/QSound.cpp + contrib/hbqt/QSpinBox.cpp + contrib/hbqt/QSplashScreen.cpp + contrib/hbqt/QSplitter.cpp + contrib/hbqt/QStandardItem.cpp + contrib/hbqt/QStandardItemModel.cpp + contrib/hbqt/QStatusBar.cpp + contrib/hbqt/QStringList.cpp + contrib/hbqt/QStringListModel.cpp + contrib/hbqt/QStyle.cpp + contrib/hbqt/QStyledItemDelegate.cpp + contrib/hbqt/QStyleHintReturn.cpp + contrib/hbqt/QStyleHintReturnMask.cpp + contrib/hbqt/QStyleHintReturnVariant.cpp + contrib/hbqt/QStyleOption.cpp + contrib/hbqt/QStyleOptionButton.cpp + contrib/hbqt/QStyleOptionComboBox.cpp + contrib/hbqt/QStyleOptionComplex.cpp + contrib/hbqt/QStyleOptionDockWidget.cpp + contrib/hbqt/QStyleOptionFocusRect.cpp + contrib/hbqt/QStyleOptionFrame.cpp + contrib/hbqt/QStyleOptionGroupBox.cpp + contrib/hbqt/QStyleOptionHeader.cpp + contrib/hbqt/QStyleOptionMenuItem.cpp + contrib/hbqt/QStyleOptionProgressBar.cpp + contrib/hbqt/QStyleOptionSizeGrip.cpp + contrib/hbqt/QStyleOptionSlider.cpp + contrib/hbqt/QStyleOptionSpinBox.cpp + contrib/hbqt/QStyleOptionTab.cpp + contrib/hbqt/QStyleOptionTabBarBase.cpp + contrib/hbqt/QStyleOptionTabWidgetFrame.cpp + contrib/hbqt/QStyleOptionTitleBar.cpp + contrib/hbqt/QStyleOptionToolBar.cpp + contrib/hbqt/QStyleOptionToolBox.cpp + contrib/hbqt/QStyleOptionToolButton.cpp + contrib/hbqt/QStyleOptionViewItem.cpp + contrib/hbqt/QStylePainter.cpp + contrib/hbqt/QSystemTrayIcon.cpp + contrib/hbqt/QTabBar.cpp + contrib/hbqt/QTableView.cpp + contrib/hbqt/QTableWidget.cpp + contrib/hbqt/QTableWidgetItem.cpp + contrib/hbqt/QTabWidget.cpp + contrib/hbqt/QTextBlock.cpp + contrib/hbqt/QTextBlockFormat.cpp + contrib/hbqt/QTextBlockGroup.cpp + contrib/hbqt/QTextBoundaryFinder.cpp + contrib/hbqt/QTextBrowser.cpp + contrib/hbqt/QTextCharFormat.cpp + contrib/hbqt/QTextCodec.cpp + contrib/hbqt/QTextCursor.cpp + contrib/hbqt/QTextDecoder.cpp + contrib/hbqt/QTextDocument.cpp + contrib/hbqt/QTextDocumentFragment.cpp + contrib/hbqt/QTextDocumentWriter.cpp + contrib/hbqt/QTextEdit.cpp + contrib/hbqt/QTextEncoder.cpp + contrib/hbqt/QTextFormat.cpp + contrib/hbqt/QTextFragment.cpp + contrib/hbqt/QTextFrame.cpp + contrib/hbqt/QTextFrameFormat.cpp + contrib/hbqt/QTextImageFormat.cpp + contrib/hbqt/QTextInlineObject.cpp + contrib/hbqt/QTextItem.cpp + contrib/hbqt/QTextLayout.cpp + contrib/hbqt/QTextLength.cpp + contrib/hbqt/QTextLine.cpp + contrib/hbqt/QTextObject.cpp + contrib/hbqt/QTextStream.cpp + contrib/hbqt/QTimeEdit.cpp + contrib/hbqt/QTimer.cpp + contrib/hbqt/QToolBar.cpp + contrib/hbqt/QToolBox.cpp + contrib/hbqt/QToolButton.cpp + contrib/hbqt/QTreeView.cpp + contrib/hbqt/QTreeWidget.cpp + contrib/hbqt/QTreeWidgetItem.cpp + contrib/hbqt/QUrl.cpp + contrib/hbqt/QVariant.cpp + contrib/hbqt/QVBoxLayout.cpp + contrib/hbqt/QWebFrame.cpp + contrib/hbqt/QWebHistory.cpp + contrib/hbqt/QWebHistoryInterface.cpp + contrib/hbqt/QWebHistoryItem.cpp + contrib/hbqt/QWebHitTestResult.cpp + contrib/hbqt/QWebPage.cpp + contrib/hbqt/QWebPluginFactory.cpp + contrib/hbqt/QWebSecurityOrigin.cpp + contrib/hbqt/QWebSettings.cpp + contrib/hbqt/QWebView.cpp + contrib/hbqt/QWheelEvent.cpp + contrib/hbqt/QWidget.cpp + contrib/hbqt/QWidgetAction.cpp + contrib/hbqt/QWidgetItem.cpp + contrib/hbqt/QWindowsStyle.cpp + contrib/hbqt/QWindowsXPStyle.cpp + contrib/hbqt/QWizard.cpp - contrib/hbqt/hbqt_qabstractbutton.cpp - contrib/hbqt/hbqt_qabstractitemmodel.cpp - contrib/hbqt/hbqt_qabstractitemview.cpp - contrib/hbqt/hbqt_qabstractlistmodel.cpp - contrib/hbqt/hbqt_qabstractprintdialog.cpp - contrib/hbqt/hbqt_qabstractscrollarea.cpp - contrib/hbqt/hbqt_qabstractslider.cpp - contrib/hbqt/hbqt_qabstractspinbox.cpp - contrib/hbqt/hbqt_qabstracttablemodel.cpp - contrib/hbqt/hbqt_qaction.cpp - contrib/hbqt/hbqt_qapplication.cpp - contrib/hbqt/hbqt_qbitmap.cpp - contrib/hbqt/hbqt_qboxlayout.cpp - contrib/hbqt/hbqt_qbrush.cpp - contrib/hbqt/hbqt_qcalendarwidget.cpp - contrib/hbqt/hbqt_qcheckbox.cpp - contrib/hbqt/hbqt_qclipboard.cpp - contrib/hbqt/hbqt_qcolor.cpp - contrib/hbqt/hbqt_qcolordialog.cpp - contrib/hbqt/hbqt_qcombobox.cpp - contrib/hbqt/hbqt_qcommandlinkbutton.cpp - contrib/hbqt/hbqt_qcommonstyle.cpp - contrib/hbqt/hbqt_qconicalgradient.cpp - contrib/hbqt/hbqt_qcoreapplication.cpp - contrib/hbqt/hbqt_qcursor.cpp - contrib/hbqt/hbqt_qdateedit.cpp - contrib/hbqt/hbqt_qdatetime.cpp - contrib/hbqt/hbqt_qdatetimeedit.cpp - contrib/hbqt/hbqt_qdesktopwidget.cpp - contrib/hbqt/hbqt_qdial.cpp - contrib/hbqt/hbqt_qdialog.cpp - contrib/hbqt/hbqt_qdir.cpp - contrib/hbqt/hbqt_qdirmodel.cpp - contrib/hbqt/hbqt_qdockwidget.cpp - contrib/hbqt/hbqt_qdoublespinbox.cpp - contrib/hbqt/hbqt_qdragenterevent.cpp - contrib/hbqt/hbqt_qdragleaveevent.cpp - contrib/hbqt/hbqt_qdragmoveevent.cpp - contrib/hbqt/hbqt_qdropevent.cpp - contrib/hbqt/hbqt_qerrormessage.cpp - contrib/hbqt/hbqt_qevent.cpp - contrib/hbqt/hbqt_qeventloop.cpp - contrib/hbqt/hbqt_qfiledialog.cpp - contrib/hbqt/hbqt_qfilesystemmodel.cpp - contrib/hbqt/hbqt_qfocusevent.cpp - contrib/hbqt/hbqt_qfocusframe.cpp - contrib/hbqt/hbqt_qfont.cpp - contrib/hbqt/hbqt_qfontcombobox.cpp - contrib/hbqt/hbqt_qfontdatabase.cpp - contrib/hbqt/hbqt_qfontdialog.cpp - contrib/hbqt/hbqt_qfontinfo.cpp - contrib/hbqt/hbqt_qformlayout.cpp - contrib/hbqt/hbqt_qframe.cpp - contrib/hbqt/hbqt_qftp.cpp - contrib/hbqt/hbqt_qgradient.cpp - contrib/hbqt/hbqt_qgridlayout.cpp - contrib/hbqt/hbqt_qgroupbox.cpp - contrib/hbqt/hbqt_qhboxlayout.cpp - contrib/hbqt/hbqt_qheaderview.cpp - contrib/hbqt/hbqt_qhttp.cpp - contrib/hbqt/hbqt_qicon.cpp - contrib/hbqt/hbqt_qimage.cpp - contrib/hbqt/hbqt_qimagereader.cpp - contrib/hbqt/hbqt_qimagewriter.cpp - contrib/hbqt/hbqt_qinputdialog.cpp - contrib/hbqt/hbqt_qinputevent.cpp - contrib/hbqt/hbqt_qkeyevent.cpp - contrib/hbqt/hbqt_qkeysequence.cpp - contrib/hbqt/hbqt_qlabel.cpp - contrib/hbqt/hbqt_qlatin1char.cpp - contrib/hbqt/hbqt_qlatin1string.cpp - contrib/hbqt/hbqt_qlayout.cpp - contrib/hbqt/hbqt_qlayoutitem.cpp - contrib/hbqt/hbqt_qlcdnumber.cpp - contrib/hbqt/hbqt_qline.cpp - contrib/hbqt/hbqt_qlineargradient.cpp - contrib/hbqt/hbqt_qlineedit.cpp - contrib/hbqt/hbqt_qlist.cpp - contrib/hbqt/hbqt_qlistview.cpp - contrib/hbqt/hbqt_qlistwidget.cpp - contrib/hbqt/hbqt_qlistwidgetitem.cpp - contrib/hbqt/hbqt_qmainwindow.cpp - contrib/hbqt/hbqt_qmenu.cpp - contrib/hbqt/hbqt_qmenubar.cpp - contrib/hbqt/hbqt_qmessagebox.cpp - contrib/hbqt/hbqt_qmodelindex.cpp - contrib/hbqt/hbqt_qmouseevent.cpp - contrib/hbqt/hbqt_qmoveevent.cpp - contrib/hbqt/hbqt_qobject.cpp - contrib/hbqt/hbqt_qpagesetupdialog.cpp - contrib/hbqt/hbqt_qpaintdevice.cpp - contrib/hbqt/hbqt_qpainter.cpp - contrib/hbqt/hbqt_qpaintevent.cpp - contrib/hbqt/hbqt_qpalette.cpp - contrib/hbqt/hbqt_qpen.cpp - contrib/hbqt/hbqt_qpicture.cpp - contrib/hbqt/hbqt_qpixmap.cpp - contrib/hbqt/hbqt_qpoint.cpp - contrib/hbqt/hbqt_qpointf.cpp - contrib/hbqt/hbqt_qprintdialog.cpp - contrib/hbqt/hbqt_qprintpreviewdialog.cpp - contrib/hbqt/hbqt_qprogressbar.cpp - contrib/hbqt/hbqt_qprogressdialog.cpp - contrib/hbqt/hbqt_qpushbutton.cpp - contrib/hbqt/hbqt_qradialgradient.cpp - contrib/hbqt/hbqt_qradiobutton.cpp - contrib/hbqt/hbqt_qrect.cpp - contrib/hbqt/hbqt_qrectf.cpp - contrib/hbqt/hbqt_qregion.cpp - contrib/hbqt/hbqt_qresizeevent.cpp - contrib/hbqt/hbqt_qresource.cpp - contrib/hbqt/hbqt_qscrollarea.cpp - contrib/hbqt/hbqt_qscrollbar.cpp - contrib/hbqt/hbqt_qsignalmapper.cpp - contrib/hbqt/hbqt_qsize.cpp - contrib/hbqt/hbqt_qsizef.cpp - contrib/hbqt/hbqt_qsizegrip.cpp - contrib/hbqt/hbqt_qsizepolicy.cpp - contrib/hbqt/hbqt_qslider.cpp - contrib/hbqt/hbqt_qsound.cpp - contrib/hbqt/hbqt_qspinbox.cpp - contrib/hbqt/hbqt_qsplashscreen.cpp - contrib/hbqt/hbqt_qsplitter.cpp - contrib/hbqt/hbqt_qstandarditem.cpp - contrib/hbqt/hbqt_qstandarditemmodel.cpp - contrib/hbqt/hbqt_qstatusbar.cpp - contrib/hbqt/hbqt_qstringlist.cpp - contrib/hbqt/hbqt_qstringlistmodel.cpp - contrib/hbqt/hbqt_qstyle.cpp - contrib/hbqt/hbqt_qstyleditemdelegate.cpp - contrib/hbqt/hbqt_qstylehintreturn.cpp - contrib/hbqt/hbqt_qstylehintreturnmask.cpp - contrib/hbqt/hbqt_qstylehintreturnvariant.cpp - contrib/hbqt/hbqt_qstyleoption.cpp - contrib/hbqt/hbqt_qstyleoptionbutton.cpp - contrib/hbqt/hbqt_qstyleoptioncombobox.cpp - contrib/hbqt/hbqt_qstyleoptioncomplex.cpp - contrib/hbqt/hbqt_qstyleoptiondockwidget.cpp - contrib/hbqt/hbqt_qstyleoptionfocusrect.cpp - contrib/hbqt/hbqt_qstyleoptionframe.cpp - contrib/hbqt/hbqt_qstyleoptiongroupbox.cpp - contrib/hbqt/hbqt_qstyleoptionheader.cpp - contrib/hbqt/hbqt_qstyleoptionmenuitem.cpp - contrib/hbqt/hbqt_qstyleoptionprogressbar.cpp - contrib/hbqt/hbqt_qstyleoptionsizegrip.cpp - contrib/hbqt/hbqt_qstyleoptionslider.cpp - contrib/hbqt/hbqt_qstyleoptionspinbox.cpp - contrib/hbqt/hbqt_qstyleoptiontab.cpp - contrib/hbqt/hbqt_qstyleoptiontabbarbase.cpp - contrib/hbqt/hbqt_qstyleoptiontabwidgetframe.cpp - contrib/hbqt/hbqt_qstyleoptiontitlebar.cpp - contrib/hbqt/hbqt_qstyleoptiontoolbar.cpp - contrib/hbqt/hbqt_qstyleoptiontoolbox.cpp - contrib/hbqt/hbqt_qstyleoptiontoolbutton.cpp - contrib/hbqt/hbqt_qstyleoptionviewitem.cpp - contrib/hbqt/hbqt_qstylepainter.cpp - contrib/hbqt/hbqt_qsystemtrayicon.cpp - contrib/hbqt/hbqt_qtabbar.cpp - contrib/hbqt/hbqt_qtableview.cpp - contrib/hbqt/hbqt_qtablewidget.cpp - contrib/hbqt/hbqt_qtablewidgetitem.cpp - contrib/hbqt/hbqt_qtabwidget.cpp - contrib/hbqt/hbqt_qtextblock.cpp - contrib/hbqt/hbqt_qtextblockformat.cpp - contrib/hbqt/hbqt_qtextblockgroup.cpp - contrib/hbqt/hbqt_qtextboundaryfinder.cpp - contrib/hbqt/hbqt_qtextbrowser.cpp - contrib/hbqt/hbqt_qtextcharformat.cpp - contrib/hbqt/hbqt_qtextcodec.cpp - contrib/hbqt/hbqt_qtextcursor.cpp - contrib/hbqt/hbqt_qtextdecoder.cpp - contrib/hbqt/hbqt_qtextdocument.cpp - contrib/hbqt/hbqt_qtextdocumentfragment.cpp - contrib/hbqt/hbqt_qtextdocumentwriter.cpp - contrib/hbqt/hbqt_qtextedit.cpp - contrib/hbqt/hbqt_qtextencoder.cpp - contrib/hbqt/hbqt_qtextformat.cpp - contrib/hbqt/hbqt_qtextfragment.cpp - contrib/hbqt/hbqt_qtextframe.cpp - contrib/hbqt/hbqt_qtextframeformat.cpp - contrib/hbqt/hbqt_qtextimageformat.cpp - contrib/hbqt/hbqt_qtextinlineobject.cpp - contrib/hbqt/hbqt_qtextitem.cpp - contrib/hbqt/hbqt_qtextlayout.cpp - contrib/hbqt/hbqt_qtextlength.cpp - contrib/hbqt/hbqt_qtextline.cpp - contrib/hbqt/hbqt_qtextobject.cpp - contrib/hbqt/hbqt_qtextstream.cpp - contrib/hbqt/hbqt_qtimeedit.cpp - contrib/hbqt/hbqt_qtimer.cpp - contrib/hbqt/hbqt_qtoolbar.cpp - contrib/hbqt/hbqt_qtoolbox.cpp - contrib/hbqt/hbqt_qtoolbutton.cpp - contrib/hbqt/hbqt_qtreeview.cpp - contrib/hbqt/hbqt_qtreewidget.cpp - contrib/hbqt/hbqt_qtreewidgetitem.cpp - contrib/hbqt/hbqt_qurl.cpp - contrib/hbqt/hbqt_qvariant.cpp - contrib/hbqt/hbqt_qvboxlayout.cpp - contrib/hbqt/hbqt_qwebframe.cpp - contrib/hbqt/hbqt_qwebhistory.cpp - contrib/hbqt/hbqt_qwebhistoryinterface.cpp - contrib/hbqt/hbqt_qwebhistoryitem.cpp - contrib/hbqt/hbqt_qwebhittestresult.cpp - contrib/hbqt/hbqt_qwebpage.cpp - contrib/hbqt/hbqt_qwebpluginfactory.cpp - contrib/hbqt/hbqt_qwebsecurityorigin.cpp - contrib/hbqt/hbqt_qwebsettings.cpp - contrib/hbqt/hbqt_qwebview.cpp - contrib/hbqt/hbqt_qwheelevent.cpp - contrib/hbqt/hbqt_qwidget.cpp - contrib/hbqt/hbqt_qwidgetaction.cpp - contrib/hbqt/hbqt_qwidgetitem.cpp - contrib/hbqt/hbqt_qwindowsstyle.cpp - contrib/hbqt/hbqt_qwindowsxpstyle.cpp - contrib/hbqt/hbqt_qwizard.cpp * .cpp file rename. 2009-07-07 01:31 UTC+0200 Viktor Szakats * bin/postinst.bat * bin/hb-func.sh + Added libpath= lines to generated hbmk2.cfg files. - Deleted arch=/comp= lines from generated hbmk.cfg files. * include/hbextern.ch + Added HB_PROCESSRUN(). * contrib/hbtip/client.prg % Minor optimizations. * Formatting. * utils/hbmk2/hbmk2.prg % Changed to use hb_processRun() natively. ! Fixed doubly added resource stub when -icon is used. * source/rtl/hbproces.c * Really minor formatting. * source/rtl/hbprocfn.c ! Fixed to free memory of hb_storlen_buffer() returns failure. % Minor optimization: hb_storclen( "", 0, ... ) -> hb_storc( NULL, ... ) 2009-07-07 00:45 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/utils/hbmk2/hbmk2.prg % use hb_processRun() to execute commands ! fixed typo in hb_pcount() verification in hbmk_run() 2009-07-07 00:18 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/gttrm/gttrm.c ! do not catch SIGCHLD * harbour/include/hbapifs.h * harbour/source/rtl/hbproces.c + added C function: hb_fsProcessRun() * harbour/source/rtl/hbprocfn.c + added .prg function: hb_processRun( <cCommand>, [ <cStdIn> ], [ @<cStdOut> ], ; [ @<cStdErr> ], [ <lDetach> ] ) -> <nResult> This function is implemented for all builds also in DOS ones where temporary files are used to simulate pipes. TODO: in OS2 builds it should be possible to implement this function without temporary files just like in *nixes and MS-Windows builds. I would like to ask OS2 users to make it. 2009-07-06 14:05 UTC+0200 Viktor Szakats * bin/postinst.bat + Added .hbc search paths: /contrib, /contrib/rddsql, /addins, /examples. NOTE: addins will be the directory where 3rd party addins can be added. * utils/hbmk2/hbmk2.prg * Refinements to path handling of -icon= parameter. - utils/hbrun/hbrun.rc * utils/hbrun/hbrun.hbp * Switched to use -icon option instead of .rc file. * contrib/hbtip/client.prg ! Minor cleanups and fixes to proxy handling. % Deleted second parameter from HB_BASE64() calls. * contrib/hbtip/smtpcln.prg % Deleted second parameter from HB_BASE64() calls. 2009-07-06 13:09 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/gttrm/gttrm.c * reset default color index on exit 2009-07-06 12:41 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/task.c * removed unused debug code 2009-07-05 18:20 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) + harbour/contrib/hbqt/doc/html + Added this folder to hold auto generated pure .htm documentation files. These files can be used by any decent tool to form a useful compiled help manual. You can visit http://www.vouch.info/harbour-qt/ to have first impressions. This on-line help source seemlessly links with Qt's online help system, so it can be a very useful reference source for developers. * harbour/contrib/hbqt/generator/hbqtgen.prg + Implemented <DOC> </DOC> section of a .qth header. This section is placed as is in TQ*.txt and html/Q*.htm at appropriate place. + Re-implemented :new() method of TQ*.prg classes. If <CLASS></CLASS> section contains "Type = PlainObject" entry, it generates this method as METHOD New( ... ) LOCAL aP, nParams aP := hb_aParams() nParams := len( aP ) DO CASE CASE nParams == 0 ::pPtr := Q*() CASE nParams == 1 ::pPtr := Q*( aP[ 1 ] ) CASE nParams == 2 ::pPtr := Q*( aP[ 1 ], aP[ 2 ] ) ... ENDCASE RETURN Self This construct was necessary for those classes which are not inherited from QWidget and which do not have parent and their contructors are either complex or cannot be supplied later after creation. Moreover, it simplifies .prg code considerably. * harbour/contrib/hbqt/qth/QFont.qth * harbour/contrib/hbqt/hbqt_qfont.cpp * harbour/contrib/hbqt/TQFont.prg + Implemented :new( ... ) construct. First in its series. Now you can construct QFont():new() with varies number of parameters. More details can be found in doc/TQFont.txt and doc/html/QFont.html. 2009-07-06 01:20 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.pt_BR.po * utils/hbmk2/hbmk2.hu_HU.po * utils/hbmk2/hbmk2.prg + Added support for -icon= option to specifiy application icon. If used multiple times, all icons will be added to the target executable and the first one will be used as app icon. Currently supported platforms: win, wce, darwin, os2. (OS/2 is just guesswork) + Added resource support for OS/2 + watcom targets. (untested) * Minor correction in one warning messages. * config/os2/watcom.cf % Suppressing 'echo' commands from build log. 2009-07-05 21:00 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.pt_BR.po + Portuguese translation. Work of Vailton Renato. Thank you very much. * contrib/hbxbp/tests/demoxbp.prg ! Fixed to use lowercase extensions. Please remember that uppercase extensions are only used in DOS. * contrib/hbxbp/xbpbitmap.prg ! Fixed warning. * utils/hbmk2/hbmk2.prg * Minor. * INSTALL * Minor corrections. 2009-07-04 20:09 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/hbxbp/Makefile * harbour/contrib/hbxbp/xbp.ch + harbour/contrib/hbxbp/xbpbitmap.prg * harbour/contrib/hbxbp/xbpdialog.prg * harbour/contrib/hbxbp/xbpfiledialog.prg * harbour/contrib/hbxbp/xbpfontdialog.prg * harbour/contrib/hbxbp/xbphtmlviewer.prg * harbour/contrib/hbxbp/xbpstatic.prg * harbour/contrib/hbxbp/xbpstyle.prg * harbour/contrib/hbxbp/xbpwindow.prg + Implemented XbpBitmap() class. + More advances in XbpFontDialog() class. + Implemented XbpStatic():type == XBPSTATIC_TYPE_ICON. * harbour/contrib/hbxbp/tests/abs1.png * harbour/contrib/hbxbp/tests/abs2.png * harbour/contrib/hbxbp/tests/abs3.png * harbour/contrib/hbxbp/tests/abs4.png * harbour/contrib/hbxbp/tests/vr.png + Few more .png(s) for futuristic demo concepts. * harbour/contrib/hbxbp/tests/demoxbp.prg + Demonstrated the use of XbpBitmap() class as a image conversion menu option. Click on <Miscellaneous> main menu prompt then click on <Convert Images>. Harbour-QT provides more formats to convert from/to whereas Xbase++ is limiting. However Harbour cannot write to .GIF format, may be it has something to do with GIF licensing. + Demonstrated XBPSTATIC_TYPE_ICON ::type of XbpStatic() class. The only difference is load from file/resource. 2009-07-04 20:03 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/hbqt/hbqt.ch * harbour/contrib/hbqt/hbqt_slots.h * harbour/contrib/hbqt/hbqt_slots.cpp * harbour/contrib/hbqt/moc_slots.cpp * harbour/contrib/hbqt/hbqt_qicon.cpp * harbour/contrib/hbqt/hbqt_qpixmap.cpp * harbour/contrib/hbqt/TQPixmap.prg * harbour/contrib/hbqt/qth/QIcon.qth * harbour/contrib/hbqt/qth/QPixmap.qth ! Constructors redefined. + Added more constants and event handlers. 2009-07-04 19:16 UTC+0600 April White (bright.tigra gmail.com) * contrib/hbbtree/test.prg + erase all target files 2009-07-04 19:16 UTC+0600 April White (bright.tigra gmail.com) * contrib/hbbtree/ctest.c * remove ( BYTE * ) casts 2009-07-04 19:16 UTC+0600 April White (bright.tigra gmail.com) * contrib/hbbtree/hb_btree.c * fixed one warning: cast from pointer to integer of different size ; FIXME: hb_btree.c:739: warning: cast from pointer to integer of different size * contrib/hbbtree/tbtree.prg * clear class var when underlying hb_btree is closed 2009-07-04 10:22 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg * Using hb_FCopy() (now fixed) 2009-07-04 10:15 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added app bundle generation for OS X targets in -gui mode. It's experimental yet. (e.g. clean will not clean it) Thanks to Teo Fonrouge for the hints. * Using escapting function (instead of manual escaping) when launching Windows apps on NT. ; FIXME: hb_FCopy() [DONE] * source/rtl/fscopy.c + Now it will copy flags on *nix systems (just like __COPYFILE()). * source/rtl/copyfile.c * Minor formatting. ; TODO: Add generic app icon support. Possible? [DONE] 2009-07-04 09:13 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg * commandResult() merged into hbmk_run(). This also means that 'getFirstFunc()' will now use hb_process*() API on non-DOS platforms to retrieve stdout output of 'nm' command executed. ; Przemek, could you please review this logic? It may be wrong according to one of your recent mails. In this case, maybe the temp file method should be used on all platforms. 2009-07-04 08:49 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added command substitution support for DOS platform. * config/dos/watcom.cf * config/dos/djgpp.cf % Suppressing 'echo' command from build log. 2009-07-04 00:46 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.hu_HU.po * Updates. * contrib/hbsqlit3/hbsqlit3.c ! Reverted prev wrong patch. 2009-07-04 00:28 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added 'cpp=[yes|no|def]' support to control C++ mode in .hbc files. * Minor cleanup on -cpp command-line switch. 2009-07-03 22:14 UTC+0200 Viktor Szakats * contrib/xhb/hboutdbg.c ! Fixed potential memory corruption revealed by recently removed cast. 2009-07-03 22:04 UTC+0200 Viktor Szakats * contrib/xhb/freadlin.c * examples/hbdoc/hbdfrdln.c * examples/hbmake/hbmakec.c * BYTE -> char % Some casts optimized out. ; NOTE: Please review me, this is quite popular function and I don't want to mess it up. 2009-07-03 21:48 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg * Cleanups to command substitution support. Added examples. ! Fixed RTE due to typo. This code branch was activated today, due to the MT optimization modification. 2009-07-03 21:11 UTC+0200 Viktor Szakats * make_gnu.bat - Deleted pocc64 autodetection. With newer versions this wouldn't work just mask normal pocc autodetection. * contrib/xhb/hboutdbg.c % Cast. * utils/hbmk2/hbmk2.prg + Added support for `<command-creating-stdout>` type of macro in all options where regular macros are accepted. It's now possible to use this in an .hbp file: "-cflag={unix&gcc}`wx-config --cflags`" 2009-07-03 18:51 UTC+0200 Viktor Szakats * source/rtl/fscopy.c * source/rtl/copyfile.c * source/rtl/memofile.c * source/rtl/filesys.c * contrib/hbmzip/hbmzip.c * contrib/hbsqlit3/hbsqlit3.c * contrib/hbpgsql/postgres.c * contrib/hbgd/gdwrp.c % Cleaned BYTE usage (converted to void). 2009-07-03 18:13 UTC+0200 Viktor Szakats * make_gnu.bat + Requires Windows NT to start win/wce target builds. * source/rdd/sdf1.c * source/rdd/dbfcdx/dbfcdx1.c * source/rdd/delim1.c * source/rdd/dbf1.c * source/rdd/dbffpt/dbffpt1.c * contrib/hbbmcdx/bmdbfcdx.c % Cleaned casting from hb_file*() calls. 2009-07-03 08:51 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/hbxbp/Makefile * harbour/contrib/hbxbp/xbp.ch * harbour/contrib/hbxbp/xbpfiledialog.prg * harbour/contrib/hbxbp/xbpfontdialog.prg + harbour/contrib/hbxbp/xbphtmlviewer.prg + Implemented XbpFileDialog() class - almost Xbase++ compatible. + Implemented XbpHTMLViewer() class with all its features. * harbour/contrib/hbxbp/tests/demoxbp.prg + Demonstrated XbpFileDialog() usage - click on toolbar buttons. + Demonstrated XbpHTMLViewer() class. Hi, can someone play with all callbacks of XbpHTMLViewer() and can look into details of XbpFileDialog()? 2009-07-03 17:10 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/contrib/rddsql/hbrddsql.h * harbour/contrib/rddsql/sqlmix.c * changed UINT to ANSI C compatible type unsigned int 2009-07-03 15:46 UTC+0200 Viktor Szakats * contrib/hbgt/charmixg.c * contrib/hbgt/strexpan.c * contrib/hbgt/charodd.c * contrib/hbgt/strright.c * contrib/hbgt/strdiffg.c * contrib/hbgt/chrtotal.c * contrib/hbgt/strcount.c * contrib/hbgt/strleft.c * contrib/hbgt/ascposgt.c * contrib/hbgt/chrfirst.c * contrib/hbgt/chrcount.c * contrib/hbgt/strpbrk.c * contrib/hbgt/chareven.c * contrib/hbgt/strcspn.c * contrib/hbgt/atdiff.c * Missed IS*() -> HB_IS*() conversions. 2009-07-03 13:58 UTC+0200 Viktor Szakats * INSTALL - Deleted QT version number from example settings to ease on maintenance without making the doc look outdated. * source/rtl/hbmd5.c ! Minor typo in comment. * config/win/global.cf * config/wce/global.cf % Removed unnecessary @ chars. 2009-07-03 13:40 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/filesys.c ! fixed typo in recent modification * harbour/include/hbchksum.h * harbour/source/rtl/hbadler.c * harbour/source/rtl/hbcrc.c * harbour/source/rtl/hbmd5.c * changed passed parameter from 'const char *' to 'const void *' to eliminate explicit casting in user code 2009-07-03 13:35 UTC+0200 Viktor Szakats * bin/postinst.bat ! Fixed recently added copy command for DOS builds. * utils/hbmk2/hbmk2.prg % Don't spawn new thread if there is only one job. 2009-07-03 12:45 UTC+0200 Viktor Szakats * config/win/dir.cf * config/wce/dir.cf * config/win/mingw.cf * config/wce/mingwarm.cf * config/win/install.cf * config/wce/install.cf - Removed pre-NT compatibility. * config/win/watcom.cf % Don't echo script creation to reduce log clutter. * config/os2/gcc.cf * config/wce/mingwarm.cf ! Fixed C++ enabled macro name. 2009-07-03 12:13 UTC+0200 Viktor Szakats * contrib/hbmisc/Makefile + contrib/hbmisc/fcomma.prg - source/rdd/usrrdd/rdds/fcomma.prg * source/rdd/usrrdd/rdds/Makefile * fcomma.prg moved to hbmisc, since it depends on hbmisc features. * examples/hbextern/hbextern.prg - Removed special treatment of fcomma.prg. 2009-07-03 12:08 UTC+0200 Viktor Szakats * config/win/msvc.cf * config/wce/msvcarm.cf + /nologo to lib command. 2009-07-03 11:56 UTC+0200 Viktor Szakats * config/win/global.cf * config/wce/global.cf - Removed pre-NT compatibility. % Hidden build dir creation/deletion for a cleaner build log. 2009-07-03 09:47 UTC+0200 Viktor Szakats * contrib/hbct/screen2.c * contrib/hbct/token2.c * contrib/hbct/charsprd.c * contrib/hbct/charonly.c * contrib/hbct/atadjust.c * contrib/hbct/ctmath.c * contrib/hbct/charsort.c * contrib/hbct/charmix.c * contrib/hbct/charevod.c * contrib/hbct/wordrepl.c * contrib/hbct/charrepl.c * contrib/hbct/strswap.c * contrib/hbct/charswap.c * contrib/hbct/charop.c * contrib/hbct/cursor.c * contrib/hbct/misc2.c * contrib/hbct/color.c * contrib/hbct/charone.c * contrib/hbct/screen1.c * contrib/hbct/token1.c * contrib/hbct/charmirr.c * contrib/hbct/ctwfunc.c * contrib/hbct/relation.c * contrib/hbct/setlast.c * contrib/hbct/setrc.c * contrib/hbct/atnum.c * contrib/hbct/ctcrypt.c * contrib/hbct/ctstrfil.c * contrib/hbct/range.c * contrib/hbct/addascii.c * contrib/hbct/tab.c * contrib/hbct/dattime2.c * contrib/hbct/replace.c * contrib/hbct/expand.c * contrib/hbct/pos2.c * contrib/hbct/wordtoch.c * contrib/hbct/ctpad.c * contrib/hbct/justify.c * contrib/hbct/remove.c * contrib/xhb/xstrdel.c * contrib/xhb/xhbtrim.c * contrib/hbnf/n2color.c * contrib/hbnf/ftattr.c * contrib/gtwvg/wvgutils.c * contrib/hbclipsm/environ.c * contrib/hbmisc/spd.c * contrib/hbtip/utils.c * contrib/hbtip/encmthd.c * examples/hbgf/hbgfgtk/creabutt.c * examples/hbgf/hbgfgtk/creawin.c * examples/hbwhat/whtclpb.c * examples/hbwhat/whtcdlg.c * examples/hbwhat/whttree.c % hb_retc( NULL ) -> hb_retc_null() 2009-07-03 09:35 UTC+0200 Viktor Szakats * include/hbdefs.h ! hbUChar, hbSChar fixed to not depend on legacy types. * utils/hbmk2/hbmk2.hu_HU.po * utils/hbmk2/hbmk2.prg * utils/hbmk2/Makefile + Enabled -mt switch on DOS platform. + Enabled MT builds on DOS platform. (currently its used by -jobs switch, maybe internal Harbour compiling can use this feature) * contrib/hbmysql/mysql.c * contrib/hbct/ctstrfil.c * contrib/hbct/print.c * contrib/xhb/hbxml.c * contrib/xhb/dbf2txt.c * contrib/xhb/filestat.c * contrib/hbsqlit3/hbsqlit3.c * contrib/hbnf/fttext.c * contrib/hbnf/dispc.c * contrib/hbcurl/hbcurl.c * contrib/hbgd/gdwrp.c * contrib/hbmisc/hb_f.c * contrib/hbtip/utils.c * source/vm/memvars.c * source/vm/set.c * source/rtl/console.c * source/rtl/philes.c * source/rtl/gttrm/gttrm.c * source/rtl/memofile.c * source/rdd/dbsql.c * source/rdd/dbffpt/dbffpt1.c * examples/pp/pp.c % FS API call cast cleanups. (removed explicit casts for the most part, added const in few places, changed some BYTE types to char.) * Formatting. * source/vm/task.c ! Minor text sync in debug calls. ; FIXME: [DONE] ../../filesys.c(1698) : error C2065: 'Flags' : undeclared identifier ../../filesys.c(1792) : error C2065: 'Flags' : undeclared identifier 2009-07-03 08:28 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) + harbour/include/hbtask.h + harbour/source/vm/task.c * harbour/include/hbthread.h * harbour/include/hbatomic.h * harbour/source/vm/thread.c * harbour/source/vm/hvm.c * harbour/source/vm/fm.c * harbour/source/rtl/idle.c * harbour/source/rtl/filesys.c + implemented OS independent task switching system - it gives PTHREAD compatible basic API so it can be used in HVM as alternative MT support which does not use any OS threads. As long as Harbour does not call any blocking OS function then it's possible to create and execute simultaneously many threads though only one CPU is used and switched between HVM threads. It gives similar scalability to xbase++ threads and also similar behavior in item protection at .prg level. Now it's possible to use HVM threads in any OS. Of course it does not mean that Harbour adds in some magic way thread support to OS-es which does not support threads like DOS. It only means that HVM supports threads for .prg code just like in native MT environment as long as some C code does not block task switching or process execution will not be frozen by something, i.e. executing other process (__run()) in single process OS like DOS. In some cases it can be interesting alternative even in OS which have native thread support. All tests/mttest*.prg programs and speedtst --thread=<n> --scale are executed correctly with new task switching just like with OS native MT support. Compilation with task switching in hbvmmt library can be forced by HB_TASK_THREAD macro which also disable native OS threads support. For task context switching two alternative methods are used: 1) getcontext()/makecontext()/swapcontext() (SUSv2, POSIX.1-2001) which is preferable because does not need any additional hacks but not all OS-es supports these functions. It's enabled by default in Linux builds. 2) setjmp()/longjmp() (POSIX, ISO 9899 (C99)) otherwise. These functions are supported by most of C compilers but there is no function to set new stack in saved context so it's necessary to introduce for each architecure/C compiler peace of code which makes it. Macro HB_TASK_STACK_INIT() in task.c makes it. I defined this macro for x86@32 in DJGPP Linux GCC and OpenWatcom builds. I tested OpenWatcom builds only in DOS and Linux but probably it works in all x86@32 builds. If someone is interesting in adding support for some other platforms which does not support ucontext.h and 1st methods then please define above macro for them. Have a fun with new toy ;-) * harbour/source/vm/Makefile * enabled hbvmmt in DJGPP and OpenWatcom DOS builds. It works well. Viktor if possible please add support for -mt switch in hbmk2 in all builds even if we do not compile hbvmmt by default so it can be used with DJGPP and OW and any other builds for which someone enable hbtask.c though OS does not support threads. * harbour/contrib/hbmzip/hbmzip.c ! fixed '[const] char|BYTE *' casting in DOS and OS2 builds 2009-07-02 18:19 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) + harbour/contrib/hbxbp/xbpfiledialog.prg + harbour/contrib/hbxbp/xbpfontdialog.prg + Added skeletons for XbpFontDialog() | XbpFont() | XbpFileDialog() classes 2009-07-03 02:24 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/macro/macro.y * harbour/source/macro/macro.yyc * harbour/source/compiler/harbour.y * harbour/source/compiler/harbour.yyc % reduced INASSING definition - thanks to Xavi for information * harbour/source/compiler/hbopt.c ! fixed stupid bug in logical expression optimization - thanks to Randy for self contain example * harbour/include/hbapi.h * harbour/include/hbmacro.h * harbour/include/hbexprb.c * harbour/source/vm/macro.c * harbour/source/vm/hvm.c * harbour/source/macro/macro.y * harbour/source/macro/macro.yyc + added direct support for pushing references to macro expressions. It resolves the problem with Clipper compatibility (thanks to Alex for information and example) in code like: m->var := {0} &("var[1]") += 10 and also many other things, e.g. now Harbour can cleanly compile and execute this code: proc main local s m->o := errorNew() s:="o:tries" ? m->o:tries ? &s ? &(s+"+=2") ? m->o:tries ? &(s+":=3") ? m->o:tries ? &s := 4 ? m->o:tries &s -= 2 ? m->o:tries &s++ ? m->o:tries ? s := "o" m->o := 1 ? &s &s := &s + 4 ? &s ? &s += 5 ? --&s ? s := "o[2]" m->o := { 1, 2 } ? &s &s := &s + 4 ? &s ? &s += 5 ? --&s return * harbour/utils/hbtest/Makefile * force hbtest compilation with line numbers - information about line numbers is important part of this test. 2009-07-02 09:24 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbxbp/tests/demoxbp.prg * contrib/hbxbp/xbpstatic.prg + Implemented XBPSTATIC_TYPE_BITMAP. It is not Xbase++ compatible in the sense it is pulled from a disk file. But by attributes wise it is exactly like Xbase++. SUGGESSIONS: Should I implement Harbour extensions to the Xbp* classes? I find a wide scope to add few more instance variables to the class. 2009-07-02 16:47 UTC+0200 Viktor Szakats * contrib/hbbmcdx/bmdbfcdx.c * source/vm/hvm.c * source/common/expropt2.c * source/common/hbdate.c * examples/hbgf/hbgfgtk/creawin.c * LONG -> long for date/time related values (julian, date, type, millisec) ; Remaining places. 2009-07-02 15:48 UTC+0200 Viktor Szakats * include/hbcomp.h * include/hbcompdf.h * include/hbapifs.h * include/hbexprop.h * include/hbmacro.h * include/hbapi.h * include/hbapiitm.h * include/hbdate.h * source/pp/ppcore.c * source/vm/itemapi.c * source/vm/arrays.c * source/vm/extend.c * source/common/expropt1.c * source/rtl/philes.c * source/rtl/empty.c * source/rtl/minmax.c * source/rtl/dates.c * source/rtl/filesys.c * source/rdd/dbfnsx/dbfnsx1.c * source/rdd/dbfcdx/dbfcdx1.c * source/rdd/dbf1.c * source/rdd/dbffpt/dbffpt1.c * source/rdd/hbsix/sxdate.c * source/compiler/hbmain.c * source/compiler/complex.c * source/compiler/harbour.yyc * source/compiler/harbour.y * contrib/hbct/files.c * contrib/hbct/dattime2.c * contrib/hbct/datetime.c * contrib/xhb/filestat.c * contrib/hbtip/utils.c * examples/hboleold/win_ole.c * LONG -> long for date/time related values (julian, date, type, millisec) ; This is an effort to clean Harbour sources from Windows/legacy-Clipper basic types and replace them with own or ANSI C ones. In the above case, usage wasn't consistent, LONG and long were mixed. * source/main/harbour.c * source/vm/fm.c * LONG -> long for some stat counters. 2009-07-02 14:38 UTC+0200 Viktor Szakats * contrib/gtqtc/gtqtc.cpp - Deleted commented Windows specific parts. * contrib/hbtip/utils.c * UINT -> unsigned int * examples/hbmsql/msql.ch * Minor in comment. 2009-07-02 11:05 UTC+0200 Viktor Szakats * include/hbdefs.h + Added new hbBool type. (successor of colliding BOOL type). 2009-07-02 10:41 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fixed regression (when implementing filename escaping) with forming libnames specified with an absolute path on gcc-family compilers. This broke building qt apps on darwin, and -shared support on *nix. 2009-07-02 09:53 UTC+0200 Viktor Szakats * INSTALL * mpkg_gnu.bat + Added HB_DIR_ZIP envvar to spec location of zip.exe. 2009-07-02 09:47 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.hbp ! Updated after recent hbmk2 change. 2009-07-02 09:43 UTC+0200 Viktor Szakats * examples/hbextern/hbextern.prg * Excluding all HB_ARCHITECTURE dirs explicitly. (this resolves the recursion problem) * Excluding fcomma.prg explicitly. - Deleted 'example' from exclusion list. - source/rdd/usrrdd/example + tests/usrrdd * Moved examples under test dir. 2009-07-02 09:34 UTC+0200 Viktor Szakats * source/rdd/usrrdd/rdds/Makefile - Removed fcomma.prg from builds since it depends on hbmisc contrib libs, on functions which aren't MT compatible and have other problems too. 2009-07-02 09:27 UTC+0200 Viktor Szakats * config/none.cf * config/win/global.cf * config/wce/global.cf ! Attempt to fix problem where 'COMSPEC' envvar wasn't picked by GNU Make on default XP installation, where this envvar is defined as 'ComSpec', and mingw GNU Make is case-sensitive for envvar names. This patch is needed to make Harbour build with clean PATH (without OS). Thanks to April White for discovering this. 2009-07-02 09:04 UTC+0200 Viktor Szakats * contrib/hbqt/generator/hbqtgen.prg * contrib/hbqt/Makefile_gen % Deleted hbqt.h as public header. % Not creating commented lines in Makefile_gen. 2009-07-01 23:45 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/hbxbp/tests/demoxbp.prg ! A experimental fix. 2009-07-01 23:39 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/hbxbp/xbpstatic.prg + Implemented more static styles. * harbour/contrib/hbxbp/tests/demoxbp.prg ! Demonstrated newly implemented static styles. NOTE: Remaining styles are : XBPSTATIC_TYPE_ICON XBPSTATIC_TYPE_SYSICON XBPSTATIC_TYPE_BITMAP As these styles are mainly resource based, we need to think of a system where existing applns could use its resource files. If anyone has any clue about how system defined icons can be manipulated in QT please speak out. A quick search has not led me to any significant clue. 2009-07-02 02:29 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/maindllp.c ! fixed unapdated hb_parvds() redirection 2009-07-02 01:19 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapi.h * harbour/source/vm/extend.c * changed type of returned value in hb_par[v]ds() functions from 'char *' to 'const char *' 2009-07-02 00:35 UTC+0200 Viktor Szakats * contrib/Makefile * Moved hbxbp to the end of list as a workaround for potentially outdated hbqt.ch reference, if it's before hbqt build. Still not prefect though. We should probably fix the ordering of -I option in build process, but it doesn't seem trivial. Or avoid installing headers into central include dir, but that also leads far. * utils/hbmk2/hbmk2.prg * Minor step to fix a recent regression. * source/rtl/hbzlibgz.c * HB_GZDIRECT() is now always defined in core, if it's built against older zlib version, it will simply do nothing. We can discuss how to handle this situation, all have pros and cons: 1) Always define: Throw RTE at runtime. 2) Always define: Return error at runtime. 3) Don't define if low-level wrapper isn't present. Makes it easy to catch missing dependencies on .prg level, but it break Harbour to provide a consistent higher-level API. * examples/hbextern/hbextern.prg ! Minor fix in generated comment. * examples/hbextern/hbextern.hbp + -w2 -> -w3 * ChangeLog ! Wrong header in previous entry. * contrib/hbqt/hbqt_qimage.cpp * contrib/hbqt/hbqt_qtextdocument.cpp * contrib/hbqt/hbqt_qapplication.cpp * contrib/hbqt/hbqt_qtextcursor.cpp * contrib/hbqt/hbqt_qclipboard.cpp * contrib/hbqt/hbqt_qurl.cpp * contrib/hbqt/hbqt_qwebhistoryitem.cpp * contrib/hbqt/hbqt_qvariant.cpp * contrib/hbqt/hbqt_qfont.cpp * contrib/hbqt/hbqt_qimagereader.cpp * contrib/hbqt/hbqt_qcursor.cpp * contrib/hbqt/hbqt_qfontdatabase.cpp * contrib/hbqt/hbqt_qcoreapplication.cpp * contrib/hbqt/hbqt_qobject.cpp * contrib/hbqt/hbqt_qtextframe.cpp * contrib/hbqt/hbqt_qabstractitemmodel.cpp * Minor EOF change after regerenating them with hbqtgen. (probably it would be better to generate only one EOLs at EOF by hbqtgen) 2009-07-01 20:52 UTC+0200 Viktor Szakats * contrib/hbqt/hbqt.h * contrib/hbqt/hbqt_qabstractitemmodel.cpp * contrib/hbqt/hbqt_qapplication.cpp * contrib/hbqt/hbqt_qclipboard.cpp * contrib/hbqt/hbqt_qcoreapplication.cpp * contrib/hbqt/hbqt_qcursor.cpp * contrib/hbqt/hbqt_qfont.cpp * contrib/hbqt/hbqt_qfontdatabase.cpp * contrib/hbqt/hbqt_qimage.cpp * contrib/hbqt/hbqt_qimagereader.cpp * contrib/hbqt/hbqt_qobject.cpp * contrib/hbqt/hbqt_qurl.cpp * contrib/hbqt/hbqt_qvariant.cpp * contrib/hbqt/qth/QAbstractItemModel.qth * contrib/hbqt/qth/QApplication.qth * contrib/hbqt/qth/QClipboard.qth * contrib/hbqt/qth/QCoreApplication.qth * contrib/hbqt/qth/QCursor.qth * contrib/hbqt/qth/QFont.qth * contrib/hbqt/qth/QFontDatabase.qth * contrib/hbqt/qth/QImage.qth * contrib/hbqt/qth/QImageReader.qth * contrib/hbqt/qth/QObject.qth * contrib/hbqt/qth/QUrl.qth * contrib/hbqt/qth/QVariant.qth % Optimized header usage. Now QWidget isn't included in all files, just two where it's needed, the rest uses only those granular headers which they really require. Compilation may be a little bit faster now. ; TODO: We'd still need to try precomiled headers here to further speed up build. 2009-07-01 20:48 UTC+0200 Viktor Szakats * contrib/hbqt/qth/QTextBlockGroup.qth * contrib/hbqt/qth/QTextDocumentFragment.qth * contrib/hbqt/qth/QWebHistoryItem.qth * contrib/hbqt/qth/QTextCursor.qth * contrib/hbqt/qth/QTextDocument.qth * contrib/hbqt/qth/QTextFrame.qth * contrib/hbqt/qth/QTextDocumentWriter.qth * contrib/hbqt/qth/QTextObject.qth * contrib/hbqt/hbqt_qtextdocument.cpp * contrib/hbqt/hbqt_qtextblockgroup.cpp * contrib/hbqt/hbqt_qtextcursor.cpp * contrib/hbqt/hbqt_qwebhistoryitem.cpp * contrib/hbqt/moc_slots.cpp * contrib/hbqt/hbqt_qtextobject.cpp * contrib/hbqt/hbqt_qtextdocumentfragment.cpp * contrib/hbqt/hbqt.h * contrib/hbqt/hbqt_base.cpp * contrib/hbqt/hbqt_qtextdocumentwriter.cpp * contrib/hbqt/hbqt_qtextframe.cpp * Reverted previous two changes before applying fixes. 2009-07-01 09:26 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/hbqt/hbqt.h ! Includes <QtGui/QWidget> Appears it is required for all .cpp's 2009-07-01 08:30 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/hbqt/hbqt.h * harbour/contrib/hbqt/hbqt_base.cpp * harbour/contrib/hbqt/hbqt_qtextblockgroup.cpp * harbour/contrib/hbqt/hbqt_qtextcursor.cpp * harbour/contrib/hbqt/hbqt_qtextdocument.cpp * harbour/contrib/hbqt/hbqt_qtextdocumentfragment.cpp * harbour/contrib/hbqt/hbqt_qtextdocumentwriter.cpp * harbour/contrib/hbqt/hbqt_qtextframe.cpp * harbour/contrib/hbqt/hbqt_qtextobject.cpp * harbour/contrib/hbqt/hbqt_qwebhistoryitem.cpp * harbour/contrib/hbqt/moc_slots.cpp * harbour/contrib/hbqt/qth/QTextBlockGroup.qth * harbour/contrib/hbqt/qth/QTextCursor.qth * harbour/contrib/hbqt/qth/QTextDocument.qth * harbour/contrib/hbqt/qth/QTextDocumentFragment.qth * harbour/contrib/hbqt/qth/QTextDocumentWriter.qth * harbour/contrib/hbqt/qth/QTextFrame.qth * harbour/contrib/hbqt/qth/QTextObject.qth * harbour/contrib/hbqt/qth/QWebHistoryItem.qth ! Shifted headers to respective .qth ! Removed unnecessary additional headers and defines in hbqt.h /* Now HBQT compiles in 42 seconds on my machine. */ 2009-07-01 17:31 UTC+0200 Viktor Szakats * contrib/hbqt/qth/QWebHistoryItem.qth * contrib/hbqt/qth/QTextCursor.qth * contrib/hbqt/qth/QTextDocument.qth * contrib/hbqt/qth/QTextFrame.qth * contrib/hbqt/hbqt_qtextdocument.cpp * contrib/hbqt/hbqt_qtextcursor.cpp * contrib/hbqt/hbqt_qwebhistoryitem.cpp * contrib/hbqt/hbqt_qtextframe.cpp + Readded required headers locally. 2009-07-01 10:53 UTC+0600 April White (bright.tigra gmail.com) * examples/hbextern/hbextern.hbp * build flags * examples/hbextern/hbextern.prg * significant updates ; default params works mostly like original version ; FIXME: produces this 'bad' code (harbour reports "hbextern.ch_(1019) Error E0025 Error in #if expression" #if ZLIB_VERNUM >= 0x1230 EXTERNAL HB_GZDIRECT #endif /* #if ZLIB_VERNUM >= 0x1230 */ % Question: do I upload a new hbextern.ch or can/should a user with more experience with it do so? 2009-07-01 14:51 UTC+0200 Viktor Szakats * contrib/hbqt/hbqt.h - Deleted some unncessary #includes. (done again) 2009-07-01 12:23 UTC+0200 Viktor Szakats * external/sqlite3/sqlite3.c * external/sqlite3/sqlite3.h * sqlite upgraded to 3.6.16 (from 3.6.15) 2009-07-01 12:01 UTC+0200 Viktor Szakats * doc/linux1st.txt + Added QT package name. * contrib/hbqt/hbqt.h - Deleted some unncessary #includes. * contrib/hbqt/hbqt_slots.cpp ! Fixed QDebug() call warning on Linux. 2009-07-01 01:17 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/hbqt/generator/qt45.qtp + harbour/contrib/hbqt/Makefile_gen * harbour/contrib/hbqt/hbqt.h * harbour/contrib/hbqt/hbqt_slots.cpp * harbour/contrib/hbqt/hbqt_slots.h * harbour/contrib/hbqt/moc_slots.cpp + harbour/contrib/hbqt/hbqt_qsystemtrayicon.cpp + harbour/contrib/hbqt/hbqt_qwebframe.cpp + harbour/contrib/hbqt/hbqt_qwebhistory.cpp + harbour/contrib/hbqt/hbqt_qwebhistoryinterface.cpp + harbour/contrib/hbqt/hbqt_qwebhistoryitem.cpp + harbour/contrib/hbqt/hbqt_qwebhittestresult.cpp + harbour/contrib/hbqt/hbqt_qwebpluginfactory.cpp + harbour/contrib/hbqt/hbqt_qwebsecurityorigin.cpp + harbour/contrib/hbqt/hbqt_qwebsettings.cpp + harbour/contrib/hbqt/TQWebFrame.prg + harbour/contrib/hbqt/TQWebHistory.prg + harbour/contrib/hbqt/TQWebHistoryInterface.prg + harbour/contrib/hbqt/TQWebHistoryItem.prg + harbour/contrib/hbqt/TQWebHitTestResult.prg + harbour/contrib/hbqt/TQWebPluginFactory.prg + harbour/contrib/hbqt/TQWebSecurityOrigin.prg + harbour/contrib/hbqt/TQWebSettings.prg * harbour/contrib/hbqt/qth/QWebFrame.qth * harbour/contrib/hbqt/qth/QWebHistory.qth * harbour/contrib/hbqt/qth/QWebHistoryInterface.qth * harbour/contrib/hbqt/qth/QWebHistoryItem.qth * harbour/contrib/hbqt/qth/QWebPluginFactory.qth * harbour/contrib/hbqt/qth/QWebSecurityOrigin.qth * harbour/contrib/hbqt/qth/QWebSettings.qth + Added more classes. + Added more event handlers. ! Synchronized and reorganized event handlers. 2009-07-01 09:32 UTC+0200 Viktor Szakats * source/rtl/gtwvt/gtwvt.c % Optimized _WVT_WS_* macros. Thanks Petr Chornyj for the hint. Please review me and test. 2009-07-01 08:35 UTC+0200 Viktor Szakats * source/rtl/gtwvt/gtwvt.c ! Fixed maximize button state when HB_GTI_RESIZABLE is set to .T. before the window is drawn. Please test. % Cleaned windows style definitions in source. * include/hbstack.h * include/hbapi.h * Formatting in comment. 2009-06-30 19:17 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/hbqt/hbqt.ch + Added more constants + harbour/contrib/hbqt/qth/QWebFrame.qth + harbour/contrib/hbqt/qth/QWebHistory.qth + harbour/contrib/hbqt/qth/QWebHistoryInterface.qth + harbour/contrib/hbqt/qth/QWebHistoryItem.qth + harbour/contrib/hbqt/qth/QWebHitTestResult.qth + harbour/contrib/hbqt/qth/QWebPluginFactory.qth + harbour/contrib/hbqt/qth/QWebSecurityOrigin.qth + harbour/contrib/hbqt/qth/QWebSettings.qth + Added more class headers, still to compile. 2009-06-30 16:22 UTC-0500 Teo Fonrouge (teo/at/windtelsoft/dot/com) * source/rtl/philes.c ! Fixed small typo on RENAME hb function 2009-06-30 11:39 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/hbqt/generator/qt45.qtp * harbour/contrib/hbqt/hbqt.h * harbour/contrib/hbqt/Makefile_gen + harbour/contrib/hbqt/QSystemTrayIcon.prg + harbour/contrib/hbqt/hbqt_qsystemtrayicon.cpp + harbour/contrib/hbqt/qth/QSystemTrayIcon.qth + Added QSystemTrayIcon() class. + harbour/contrib/hbqt/tests/demoqt.prg ! Demonstrated the use to put application in system tray. Press <System Tray> toolbar button. Then right-click on icon in system tray. Every 10 seconds, a message will appear automatically. 2009-06-30 18:04 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbtypes.h * harbour/source/vm/maindllp.c * cleaned prototype names for hb_vmProcessSymbols() and hb_vmExecute() 2009-06-30 17:45 UTC+0200 Viktor Szakats * bin/postinst.bat * Force English language hbmk2 in Harbour build. * contrib/hbtip/client.prg + Added proxy support. Borrowd from xhb, work of Luiz Rafael Culik. Formatted, minor fixes applied, TRY/CATCH error handling method swapped from simple bool retval method (which is otherwise used in hbtip). Not tested yet. 2009-06-30 18:10 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/contrib/rddsql/sddmy/mysqldd.c + added support for MySQL TIMESTAMP, DATETIME and TIME types. These types are mapped to @,8 and T,4 field types, and native harbour timestamp type. * harbour/include/hbextern.ch + added a dozen of Harbour functions ; NOTE: about 120 functions are still not included into this .ch: SX_*(), USRRDD_*(), __DBG*(), __CLS*(), HB_COMPILE*(), etc. 2009-06-30 13:32 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/datec.c * added workaround for CodeGuard false bug report covered by __CODEGUARD__ macro. Chen, if possible please test. 2009-06-30 12:20 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbrdddbf.h ! fixed declaration 2009-06-30 01:58 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/hbqt/hbqt.ch + New constants. * harbour/contrib/hbqt/Makefile_gen ! Arrangement. * harbour/contrib/hbxbp/Makefile + xbpstatic.prg * harbour/contrib/hbxbp/gra.ch * harbour/contrib/hbxbp/xbp.ch * harbour/contrib/hbxbp/xbpgeneric.prg * harbour/contrib/hbxbp/xbppushbutton.prg + harbour/contrib/hbxbp/xbpstatic.prg * harbour/contrib/hbxbp/xbpwindow.prg + Implemented XbpStatic() class. XBPSTATIC_TYPE_GROUPBOX XBPSTATIC_TYPE_RAISEDBOX XBPSTATIC_TYPE_RECESSEDBOX XBPSTATIC_TYPE_RAISEDLINE XBPSTATIC_TYPE_RECESSEDLINE XBPSTATIC_TYPE_TEXT Few components are scheduled for tomorrow. * harbour/contrib/hbxbp/tests/demoxbp.prg + Demonstrated the above mentioned XbpStatic() parts. Now the background and foreground colors are true to its values. NOTE: Can someone please post message on QT developers forum about a bug where QColor():name return #BBGGRR instead of #RRGGBB which is documented. I used a workaround for this bug. 2009-06-30 10:17 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapirdd.h * harbour/source/rdd/workarea.c * harbour/source/rdd/wafunc.c * harbour/source/rdd/dbcmd.c * harbour/source/rdd/hsx/hsx.c * harbour/source/rdd/usrrdd/usrrdd.c * modified RDD method declaration (DBENTRYP_*) to eliminate casting. 3rd party RDD code have to be updated. * modified some RDD structures to force more strict alignment. Warning!!! AREA structured modified - all 3rd party RDDs which redefines AREA members instead of using AREA structure directly have to be updated. * harbour/include/hbrdddbf.h * harbour/include/hbrddnsx.h * harbour/include/hbrdddel.h * harbour/include/hbrddsdf.h * harbour/include/hbrddcdx.h * harbour/include/hbrddntx.h * harbour/source/rdd/delim1.c * harbour/source/rdd/sdf1.c * harbour/source/rdd/dbf1.c * harbour/source/rdd/hbdbsort.c * harbour/source/rdd/dbfcdx/dbfcdx1.c * harbour/source/rdd/dbfnsx/dbfnsx1.c * harbour/source/rdd/dbfntx/dbfntx1.c * harbour/source/rdd/dbffpt/dbffpt1.c * harbour/contrib/rddads/rddads.h * harbour/contrib/rddads/ads1.c * harbour/contrib/rddads/adsx.c * harbour/contrib/rddads/adsfunc.c * harbour/contrib/rddsql/hbrddsql.h * harbour/contrib/rddsql/sqlbase.c * harbour/contrib/rddsql/sqlmix.c * harbour/contrib/rddsql/sddmy/mysqldd.c * harbour/contrib/rddsql/sddpg/pgsqldd.c * harbour/contrib/rddsql/sddfb/fbirddd.c * harbour/contrib/rddsql/sddodbc/odbcdd.c * harbour/contrib/hbbmcdx/bmdbfcdx.c * harbour/contrib/hbbmcdx/hbbmcdx.h * updated for new method declaration * modified RDD AREA structures definition to use supper AREA structures directly as 1st member instead of redefining individual AREA members. It resolves the synchronization problem so now modification in super AREA structures does not force modifications in source code of descendant RDDs. It also eliminates possible typos in manual structure synchronization. 2009-06-29 20:44 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/hbxbp/tests/demoxbp.prg ! Fixed some artifacts. 2009-06-29 16:50 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.pt_BR.po * utils/hbmk2/hbmk2.hu_HU.po * utils/hbmk2/hbmk2.prg ! Changed special language ID macro from ${lng} to %{hb_lng} to avoid collision with normal macros. 2009-06-29 15:58 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/filesys.c ! fixed memory corruption in file name conversion * harbour/source/common/hbstr.c * formatting 2009-06-29 13:33 UTC+0200 Viktor Szakats * source/vm/arrays.c * source/rtl/dates.c ! Fixed TRACE calls. * utils/hbmk2/hbmk2.prg * Minor. 2009-06-29 12:02 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rdd/dbfntx/dbfntx1.c ! fixed typo in recent modification (it was causing GPF) 2009-06-28 19:40 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/hbxbp/xbp.ch * harbour/contrib/hbxbp/xbp3state.prg * harbour/contrib/hbxbp/xbpcheckbox.prg * harbour/contrib/hbxbp/xbpcombobox.prg * harbour/contrib/hbxbp/xbpdialog.prg * harbour/contrib/hbxbp/xbpmenubar.prg * harbour/contrib/hbxbp/xbpmle.prg * harbour/contrib/hbxbp/xbpradiobutton.prg * harbour/contrib/hbxbp/xbpscrollbar.prg * harbour/contrib/hbxbp/xbpsle.prg * harbour/contrib/hbxbp/xbpspinbutton.prg * harbour/contrib/hbxbp/xbpstatusbar.prg * harbour/contrib/hbxbp/xbptabpage.prg * harbour/contrib/hbxbp/xbptreeview.prg * harbour/contrib/hbxbp/xbpwindow.prg + Added :setPointer() method to change the cursor shape for a widget. ! Advanced implementation of Presentation Parameters. Now the base structure is almost like Xbase++ one. About to generate a Style Sheet based on PresParametrs array. ! Code tweaked more organized. * harbour/contrib/hbxbp/tests/demoxbp.prg + Demonstrated the use of Cursor Shapes. 2009-06-28 19:19 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/hbqt/generator/qt45.qtp * harbour/contrib/hbqt/Makefile_gen + harbour/contrib/hbqt/hbqt_qcursor.cpp + harbour/contrib/hbqt/qth/QCursor.qth + harbour/contrib/hbqt/TQCursor.prg + Added one more class. 2009-06-29 01:32 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fix to prev fix. 2009-06-29 01:25 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fixed Harbour warning on non-linux/win/dos platforms. 2009-06-28 14:14 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/hbqt/tests/demoqt.prg ! Stupid typos. 2009-06-28 13:39 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/hbqt/tests/demoqt.prg - Deleted UiDebug() calls. 2009-06-28 13:14 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/hbqt/tests/demoqt.prg - Deleted C OutputDebugString() function. 2009-06-28 09:19 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/hbxbp/xbp.ch * harbour/contrib/hbxbp/xbpdialog.prg * harbour/contrib/hbxbp/xbpmle.prg * harbour/contrib/hbxbp/xbpwindow.prg + Implemented fonts management. :setFontCompoundName( "10.Tohama italics" ) Started XBP_PP_* implementation. NOTE: This implementation is based on QT's powerful mechanism of CSS inspired Cascading Style Sheets. It effectively means that look-and-feel of the requested parameters are guaranted to be rendered irrespective of the platform. This also means that a "true" inheritance is achieved in the widgets. For example, if you set the color and font of a top-level dialog, all children of it will also inherit it. Xbase++ also documents this behavior but also notify that some of the widgets do not respond to this request, i.e., XbpPushButton(), XbpTabPage(), etc. But in Harbour-QT-Xbase++ it is possible, and, by all means desirable. Anyway, I am more interested what the group think. It will be heartening if some real-time Xbase++ users participate on the subject. I do not want to cook my own food. * harbour/contrib/hbxbp/tests/demoxbp.prg ! Demonstrated to use fonts and inheritance. Please play. 2009-06-28 18:09 UTC+0200 Viktor Szakats * contrib/hbqt/qth/QFtp.qth * contrib/hbqt/qth/QHttp.qth * contrib/hbqt/hbqt_qhttp.cpp * contrib/hbqt/hbqt_qftp.cpp % Little optimization. 2009-06-28 08:44 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/hbqt/hbqt.h * harbour/contrib/hbqt/hbqt_qftp.cpp * harbour/contrib/hbqt/hbqt_qhttp.cpp * harbour/contrib/hbqt/qth/QFtp.qth * harbour/contrib/hbqt/qth/QHttp.qth * harbour/contrib/hbqt/TQFtp.prg * harbour/contrib/hbqt/TQHttp.prg ! Fixed ( char * ) argument usage in QFtp and QHttp classes. Infact <qint64 read( char * data, qint64 length )> are written as is in the header. I could not find a solution to auto generate it because of <length> argument which could never be known to first parameter. 2009-06-27 20:47 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/hbxbp/Makefile * harbour/contrib/hbxbp/xbp.ch * harbour/contrib/hbxbp/appevent.ch * harbour/contrib/hbxbp/xbpdialog.prg * harbour/contrib/hbxbp/xbpgeneric.prg * harbour/contrib/hbxbp/xbpsle.prg * harbour/contrib/hbxbp/xbptreeview.prg * harbour/contrib/hbxbp/xbpwindow.prg ! Rewrote the event management system exactly like Xbase++. Now it is possible to sub-class methods and callback slots. + harbour/contrib/hbxbp/xbpappevent.prg + Added PRG level events conversion mechanism. I wanted it to be C code for speed purposes, anyhow, as agreed we do not want any C code in hbxbp. * harbour/contrib/hbxbp/tests/demoxbp.prg ! Few experiments. You may viaualize some artifacts. /* NOTE: I am struggling to receive events from another thread of Harbour code in the event filter. It seems default event dispatched can be invoked only from main thread. Anybody to rescue ? */ 2009-06-27 23:50 UTC+0200 Petr Chornyj (myorg63 at mail.ru) * contrib/hbsqlit3/hbsqlit3.c * contrib/hbwin/win_prn1.c * contrib/hbwin/win_prn2.c * contrib/rddads/adsfunc.c * source/pp/pplib.c * source/rdd/dbcmd.c * source/rdd/hbsix/sxfname.c * source/rdd/hbsix/sxord.c * source/rdd/hbsix/sxtable.c * source/rdd/hbsix/sxutil.c * source/rdd/nulsys/nulsys.c * source/rtl/colorind.c * source/rtl/datec.c * source/rtl/descend.c * source/rtl/gete.c * source/rtl/hardcr.c * source/rtl/hbhex.c * source/rtl/hbinet.c * source/rtl/hbstrsh.c * source/rtl/hbtoken.c * source/rtl/hbzlib.c * source/rtl/left.c * source/rtl/memofile.c * source/rtl/mlcfunc.c * source/rtl/mouse53.c * source/rtl/mtran.c * source/rtl/natmsg.c * source/rtl/oemansi.c * source/rtl/padc.c * source/rtl/padl.c * source/rtl/padr.c * source/rtl/philes.c * source/rtl/replic.c * source/rtl/right.c * source/rtl/space.c * source/rtl/str.c * source/rtl/strtran.c * source/rtl/strzero.c * source/rtl/stuff.c * source/rtl/substr.c * source/rtl/trim.c * source/vm/cmdarg.c * source/vm/dynlibhb.c * source/vm/proc.c * Replace hb_retc( NULL ) with hb_retc_null() * include/hbgtinfo.ch + added HB_GTI_KBD_LSHIFT, HB_GTI_KBD_RSHIFT HB_GTI_KBD_LCTRL, HB_GTI_KBD_RCTRL, HB_GTI_KBD_LALT, HB_GTI_KBD_RALT * source/rtl/gtkbstat.c * Changed functions hb_gt_winapi_*KbdState() Now we can to get the state of the SHIFT, CTRL, or ALT keys with distinguishing between left and right. * source/rtl/gtwin/gtwin.c * Changed hb_gt_win_getKbdState ; QUESTION: why gtwin.c don't use a function hb_gt_winapi_getKbdState from rtl/gtkbstat.c? 2009-06-27 13:27 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/hbqt/generator/qt45.qtp * harbour/contrib/hbqt/Makefile_gen * harbour/contrib/hbqt/hbqt.ch * harbour/contrib/hbqt/hbqt.h + harbour/contrib/hbqt/hbqt_qdragenterevent.cpp + harbour/contrib/hbqt/hbqt_qdragleaveevent.cpp + harbour/contrib/hbqt/hbqt_qdragmoveevent.cpp + harbour/contrib/hbqt/hbqt_qdropevent.cpp + harbour/contrib/hbqt/hbqt_qmoveevent.cpp + harbour/contrib/hbqt/hbqt_qresizeevent.cpp + harbour/contrib/hbqt/hbqt_qwheelevent.cpp + harbour/contrib/hbqt/TQDragEnterEvent.prg + harbour/contrib/hbqt/TQDragLeaveEvent.prg + harbour/contrib/hbqt/TQDragMoveEvent.prg + harbour/contrib/hbqt/TQDropEvent.prg + harbour/contrib/hbqt/TQMoveEvent.prg + harbour/contrib/hbqt/TQResizeEvent.prg + harbour/contrib/hbqt/TQWheelEvent.prg + harbour/contrib/hbqt/qth/QDragEnterEvent.qth + harbour/contrib/hbqt/qth/QDragLeaveEvent.qth + harbour/contrib/hbqt/qth/QDragMoveEvent.qth + harbour/contrib/hbqt/qth/QDropEvent.qth + harbour/contrib/hbqt/qth/QMoveEvent.qth + harbour/contrib/hbqt/qth/QResizeEvent.qth + harbour/contrib/hbqt/qth/QWheelEvent.qth + Added few more classes. * harbour/contrib/hbqt/hbqt_slots.cpp * harbour/contrib/hbqt/hbqt_qftp.cpp * harbour/contrib/hbqt/hbqt_qhttp.cpp ! Result of #define hbqt_par_char( n ) ( ( char* ) hb_parcx( n ) ) NOTE: QT sources are generated dynamically so please do not make changes to them directly. I do not know if above casting will work or not but it is just to pacify the warnings. Alternatively we can comment out the relevant functions in /qth/QHttp.qth and /qth/QFtp.qth. I kept it like this as if someone could test if it works. 2009-06-27 09:47 UTC+0200 Viktor Szakats * include/hbapifs.h * source/rtl/filebuf.c * source/rtl/filesys.c * Changed file I/O buffer parameters from '( [const] BYTE * )' to '( [const] void * )' * utils/hbmk2/hbmk2.prg + Added ${hb_curdir} macro support. + Added ${hb_first} macro support (will return first source name specced on command-line) + Added support for 'sources=' line in .hbc files. This will accept .prg, .c/.cpp, .po/.pot, object and resources. For resources, also wildcards are supported. Files with no extension will be considered .prg. This also replaces former 'pos=' line. This can be useful to put some central sources into all project without using a lib (or when a lib isn't an option for some reason). - man - Dir deleted. 2009-06-26 02:28 UTC+0200 Viktor Szakats * bin/postinst.bat * mpkg_gnu.bat + Moved copying of root doc (ChangeLog, INSTALL) files to postinst.bat. * make_gnu.bat ! Minor fix to not accept extra command-line parameters when in full build mode. 2009-06-26 01:06 UTC+0200 Viktor Szakats * make_gnu.bat + Now make_gnu.bat will find embedded GNU Make even if it's started from another directory. E.g. to rebuild only one contrib or core lib, it's enough to go to that dir and type: ..\..\make_gnu.bat ! More fixes to make build work on paths containing spaces. * make_gnu_os2.cmd * make_gnu.bat * make_gnu.sh * mpkg_win.nsi * mpkg_gnu.bat * Formatted header comment. + Added reference to INSTALL. 2009-06-25 21:51 UTC+0200 Viktor Szakats * contrib/hbct/justify.c ! Fixed typo in one of recent const patches. 2009-06-25 20:12 UTC+0200 Viktor Szakats * source/common/hbhash.c ! Fixed error in prev commit. (strange that MSVC didn't complain) * mpkg_win.nsi + Added comment that this file shouldn't be used directly. 2009-06-25 18:41 UTC+0200 Viktor Szakats * include/hbhash.h * contrib/hbcurl/hbcurl.c * source/common/hbhash.c * source/compiler/hbident.c + Added const to low-level hash support functions. ; NOTE: Przemek, please check me. * source/rtl/Makefile * Formatting. 2009-06-25 17:43 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fixed to not add dirs empty after normalization to dirlists. + Now dirs passed through the command line or .hbm files are also normalized (incpath, libpath, inctrypath). * include/hbdate.h * source/rtl/console.c * source/rtl/philes.c * source/rtl/box.c * source/rtl/filebuf.c * source/rtl/inkey.c * source/rtl/datec.c * source/rtl/langapi.c * source/rtl/errapi.c * source/rtl/memofile.c * source/rtl/saverest.c * contrib/hbct/screen2.c * contrib/hbct/tab.c * contrib/hbct/dattime2.c * contrib/hbct/replace.c * contrib/hbct/remove.c * contrib/hbclipsm/gauge.c * contrib/hbmisc/dates2.c * examples/hbdoc/hbdfrdln.c * examples/hbmake/hbmakec.c * examples/hbsqlit2/hbsqlit2.c * 'const' cleanup. * hb_dateCMonth() retval changed to const. * hb_dateCDOW() retval changed to const. 2009-06-26 17:06 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbrddnsx.h * harbour/include/hbrddcdx.h * harbour/include/hbrddntx.h * synced with DBFAREAP * harbour/include/hbapicdp.h * harbour/source/rtl/cdpapi.c * changed UTF8 functions to use '[const] char' buffers instead for '[const] BYTE' * harbour/source/rtl/gtxwc/gtxwc.c * harbour/source/rtl/gttrm/gttrm.c * updated for above modification 2009-06-25 16:34 UTC+0200 Viktor Szakats * source/rtl/hbmd5.c + HB_MD5(), HB_MD5FILE(): New logical parameter added, which controls whether to return binary data or hexadecimal string. The default is .T. which will return hexa string, to stay compatible. Later we should switch the default to .F.. * mpkg_gnu.bat * Updated requirement section. 2009-06-26 15:52 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rdd/hsx/hsx.c * removed ( BYTE * ) casting * harbour/include/hbchksum.h * harbour/source/rtl/hbadler.c * harbour/source/rtl/hbcrc.c * harbour/source/rtl/hbmd5.c * use 'const char *' for passed memory buffers ULONG hb_adler32( ULONG adler, const char *buf, ULONG len ); ULONG hb_crc16( ULONG crc, const char *buf, ULONG len ); ULONG hb_crc32( ULONG crc, const char *buf, ULONG len ); HB_ULONG hb_crc( HB_ULONG crc, const char * buf, ULONG len, HB_ULONG poly ); HB_ULONG hb_crcct( HB_ULONG crc, const char * buf, ULONG len, HB_ULONG poly ); void hb_md5( const char * ucData, ULONG ulLen, char * ucDigest ); void hb_md5file( HB_FHANDLE hFile, char * ucDigest ); * harbour/include/hbsxfunc.h * harbour/source/rdd/hbsix/sxcompr.c * harbour/source/rdd/hbsix/sxcrypt.c * use '[const] char *' for passed memory buffers in: void hb_sxEnCrypt( const char * pSrc, char * pDst, const char * pKeyVal, ULONG ulLen ); void hb_sxDeCrypt( const char * pSrc, char * pDst, const char * pKeyVal, ULONG ulLen ); BOOL hb_LZSSxDecompressMem( const char * pSrcBuf, ULONG ulSrcLen, char * pDstBuf, ULONG ulDstLen ); BOOL hb_LZSSxCompressMem( const char * pSrcBuf, ULONG ulSrcLen, char * pDstBuf, ULONG ulDstLen, ULONG * pulSize ); * harbour/include/hbapigt.h * harbour/include/hbgtcore.h * harbour/source/rtl/hbgtcore.c * harbour/source/rtl/mouse53.c * harbour/source/rtl/mouseapi.c * harbour/source/rtl/gtdos/gtdos.c * changed 'const BYTE *' to 'const char *' in MouseSaveState() and MouseRestoreState() GT methods and functions. * harbour/source/rtl/cdpapi.c * harbour/source/rtl/is.c * added ( char * ) casting as workaround for wrong in MSVC strchr() declaration. * harbour/include/hbrdddbf.h * harbour/source/rdd/dbf1.c * harbour/source/rtl/hbi18n1.c * harbour/contrib/xhb/hbcrypt.c * updated for above modifications 2009-06-25 14:37 UTC+0200 Viktor Szakats * include/hbapi.h * source/vm/maindllp.c * source/vm/extend.c * contrib/gtwvg/gtwvg.h * contrib/gtwvg/wvgutils.c * Changed hb_parv*() function return value to 'const char *'. 2009-06-25 13:52 UTC+0200 Viktor Szakats * contrib/hbxbp/tests/demoxbp.prg ! Fixed the same warning again. * Changed to actually close the window when using close icon or Alt+F4. ; Thanks Priptal for the close fix, GPF is now gone. * mpkg_gnu.bat ! Using shorter temp dir names to make DOS command.com happy, so that it copies all libs with a little more chance. It's recommended to use a short base dir for DOS builds. 2009-06-25 13:09 UTC+0200 Viktor Szakats * contrib/hbfimage/fi_wrp.c * contrib/hbgd/gdwrp.c * Fixed warnings by casting. Ideally these should be fixed in external packages. 2009-06-25 12:47 UTC+0200 Viktor Szakats * contrib/hbct/ascpos.c * contrib/hbct/ctwfunc.c * contrib/hbct/ctcrypt.c * contrib/xhb/filestat.c * contrib/hbsqlit3/hbsqlit3.c * contrib/hbnf/fttext.c * contrib/hbpgsql/postgres.c * contrib/hbfimage/fi_wrp.c * contrib/hbgd/gdwrp.c * source/rtl/mouse53.c * 'const' cleanup. ; NOTE: I rather didn't commit BYTE to char in CTWIN. ; FIXME: Some of these will result in warnings when passing values to external API calls. I'd like to ask developers to review what the intent was. Sometimes external API declarations are missing 'const', so it's safe to pass them these buffers, but it should be checked in documentation. --- ../../fi_wrp.c: In function 'HB_FUN_FI_LOADFROMMEM': ../../fi_wrp.c:372: warning: passing argument 1 of 'FreeImage_OpenMemory' discards qualifiers from pointer target type C:\devl\FreeImage-3.12.0\Dist/FreeImage.h:771: note: expected 'BYTE *' but argument is of type 'const BYTE *' ../../fi_wrp.c: In function 'HB_FUN_FI_GETFILETYPEFROMMEM': ../../fi_wrp.c:887: warning: passing argument 1 of 'FreeImage_OpenMemory' discards qualifiers from pointer target type C:\devl\FreeImage-3.12.0\Dist/FreeImage.h:771: note: expected 'BYTE *' but argument is of type 'const BYTE *' ../../gdwrp.c: In function 'HB_FUN_GDIMAGESTRINGFTEX': ../../gdwrp.c:2718: warning: passing argument 4 of 'gdImageStringFTEx' discards qualifiers from pointer target type C:\devl\gd-2.0.34\include/gd.h:459: note: expected 'char *' but argument is of type 'const char *' ../../gdwrp.c:2718: warning: passing argument 9 of 'gdImageStringFTEx' discards qualifiers from pointer target type C:\devl\gd-2.0.34\include/gd.h:459: note: expected 'char *' but argument is of type 'const char *' ../../gdwrp.c: In function 'HB_FUN_GDIMAGESTRINGFTCIRCLE': ../../gdwrp.c:2809: warning: passing argument 7 of 'gdImageStringFTCircle' discards qualifiers from pointer target type C:\devl\gd-2.0.34\include/gdfx.h:41: note: expected 'char *' but argument is of type 'const char *' ../../gdwrp.c:2809: warning: passing argument 9 of 'gdImageStringFTCircle' discards qualifiers from pointer target type C:\devl\gd-2.0.34\include/gdfx.h:41: note: expected 'char *' but argument is of type 'const char *' ../../gdwrp.c:2809: warning: passing argument 10 of 'gdImageStringFTCircle' discards qualifiers from pointer target type C:\devl\gd-2.0.34\include/gdfx.h:41: note: expected 'char *' but argument is of type 'const char *' --- 2009-06-26 12:27 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/Makefile * harbour/contrib/hbbmcdx/bmdbfcdx.c * harbour/contrib/hbbmcdx/hbbmcdx.h * cleaned 'char *' <-> 'const char *' usage ! fixed BM_*Bit() macros definitions 2009-06-25 11:56 UTC+0200 Viktor Szakats * contrib/hbct/strdiff.c * contrib/hbct/strswap.c * contrib/hbct/range.c * contrib/hbct/tab.c * contrib/hbct/replace.c * contrib/hbct/numat.c * contrib/hbct/ctpad.c * contrib/hbct/remove.c * contrib/xhb/dbf2txt.c + Deleted non-const cast, fixed type usage. * contrib/gtwvg/wvgcuig.c % Using hb_parclen() instead of strlen(). Pritpal pls verify me. * mpkg_gnu.bat * examples/hbgf/hbgfwin/hbgfwin.hbp ! Typos. * examples/hbgf/hbgfwin/winapi.c * 'const' and hb_parv*() updates. 2009-06-25 11:29 UTC+0200 Viktor Szakats * contrib/hbgd/gdwrp.c ! Fixed const warnings. * FIXME: Remaining: ../../gdwrp.c: In function 'HB_FUN_GDIMAGESTRINGFTEX': ../../gdwrp.c:2659: warning: assignment discards qualifiers from pointer target type ../../gdwrp.c:2676: warning: assignment discards qualifiers from pointer target type ../../gdwrp.c: In function 'HB_FUN_GDIMAGESTRINGFTCIRCLE': ../../gdwrp.c:2794: warning: assignment discards qualifiers from pointer target type ../../gdwrp.c:2800: warning: assignment discards qualifiers from pointer target type ../../gdwrp.c:2809: warning: passing argument 10 of 'gdImageStringFTCircle' discards qualifiers from pointer target type C:\devl\gd-2.0.34\include/gdfx.h:41: note: expected 'char *' but argument is of type 'const char *' 2009-06-26 11:28 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapigt.h * harbour/source/rtl/gtapi.c ! added missing const to last parameter of hb_gtRest() 2009-06-26 11:13 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/dates.c ! fixed CTOD() to be CA-Cl*pper compatible in decoding dates like: SET DATE FORMAT TO "YYYY-MM-DD" ? CTOD("000002009.000000012.0000000000000027.1") ? CTOD(" 0002009. 000012. 000028 1") ? CTOD("xx0002009.xxx000012.xxxxxxxxxx000028 1") ? CTOD("000 02009.00 000012.000 000028 1"), "*" ? CTOD("2007 11 29") ? CTOD(" 2007 11 29 ") ? CTOD("2007-1 1-29") ? CTOD("2007- 1 1 - 2 9 ") ! fixed HB_CTOT() to use the same formatting rules as CTOD() in CA-Cl*pper - now delimiters between values are strictly required. 2009-06-25 10:33 UTC+0200 Viktor Szakats * INSTALL + mpkg_gnu.bat - mpkg_dos.bat - mpkg_win.bat % Windows and DOS package make batches merged into one. ! Deleting of BCC junk files where broken after latest changes. * make_gnu.bat ! Fixed to ignore HB_BUILD_DLL for dos platforms. 2009-06-25 10:22 UTC+0200 Viktor Szakats * make_gnu.bat * Automatically setting dos/wce architecture for some HB_COMPILER values. 2009-06-25 09:35 UTC+0200 Viktor Szakats * contrib/hbqt/hbqt_qhttp.cpp * contrib/hbqt/hbqt_qftp.cpp ! Commented with FIXME comment two compilation errors reported on the list, to allow full Harbour build. ; FIXME: Fix hb_parc() returned buffer passed directly to QT to return data. This would previously cause HVM corruption, not with 'const' it's caught by compiler. 2009-06-26 03:16 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbvm.h * harbour/include/hbapicdp.h * harbour/include/hbinit.h * harbour/include/hbapi.h * harbour/source/vm/initsymb.c * harbour/source/vm/macro.c * harbour/source/vm/hvm.c * harbour/source/vm/maindllp.c * harbour/source/vm/fm.c * harbour/source/vm/memvars.c * harbour/source/vm/set.c * harbour/source/rtl/cdpapi.c * replace old hb_vmProcessSymbols() with hb_vmProcessSymbolsEx() and removed hb_vmProcessSymbolsEx() - it effectively force all .prg code recompilation * removed old hb_vmProcessDllSymbols() * changed 'char *' to 'const char *' in: const char * hb_cdpSelectID( const char * ); const char * hb_cdpID( void ); void hb_xsetfilename( const char * szValue ); void hb_xsetinfo( const char * szValue ); int hb_memvarScope( const char * szVarName, ULONG ulLength ); const char * hb_macroGetType( HB_ITEM_PTR pItem ); 2009-06-25 02:58 UTC+0200 Viktor Szakats * INSTALL * make_gnu.bat + Added support for Cygwin builds (passes call to make_gnu.sh). + Added Cygwin build starter example. + Cygwin mentioned as a requirement for mingwarm builds, also added to PATH. ! Fixed cygwin autodetection. ! Fixed wrong PATH order in 'MinGW GCC + MSYS' example. * Merged mingw+msys and cygwin bash based build methods, and titled as "alternate" method. Now all supported compilers work by starting up make_gnu.bat. * utils/hbmk2/hbmk2.prg ! Change compiler autodetection to work for cygwin. * mpkg_dos.bat * mpkg_win.bat * make_gnu.bat ! Fixed build process to work in paths containing spaces. I didn't test the batch in pure DOS, so I may have broken it. * config/win/install.cf * config/wce/install.cf ! Fixed 'install' to work when there is a space in install path. * make_gnu.bat * INSTALL + Added support for HB_BUILD_LOG envvar. If set to 'yes', it will automatically set log output filename to: 'log-<arch>-<comp>.txt' if set to 'no' it will no make any extra redirection, if set to any other value, it will be used for output (both std and err). The batch will set HB_BUILD_LOGFILE to the filename used for output for processing. This feature requires Windows NT or upper host. I didn't enable this feature yet by default to not break existing user setups, but maybe I'll do it before the final release. * Modified text shown (+ beep thrown) when build failed. * Messages now all start with 'Harbour'. * Do not do the second build pass if the first one failed. * contrib/hbwin/legacy.prg ! Fixed CreateObject() not working due to typo. Thanks to Itamar Lins for the report. * mpkg_dos.bat * mpkg_win.bat * mpkg_win.nsi + Enabled HB_BUILD_LOG=yes. * Silenced copy, zip, makensis commands. + Added message about failed build process. * Changed to use 'copy' instead of 'xcopy' * Changed internals so now they don't require HB_COMPILER and HB_ARCHITECTURE to be set. This means that now we can rely on autodetection even for mpkg_*.bat files. Creating an installer is very easy now for most cases. Just type: mpkg_gnu.bat * source/vm/set.c + Added file commit support to __MVSAVE(), if Set( _SET_HARDCOMMIT ) is set to .T.. This is the default which means by default we aren't CA-Cl*pper compatible. Addition protected by HB_C52_STRICT. * source/rdd/dbf1.c ! Minor typo in comment. * doc/en-EN/hb_apiit.txt * include/hbapi.h * include/hbapiitm.h * source/vm/itemapi.c * source/vm/extend.c * source/rtl/gtwvt/gtwvt.c * source/rdd/dbf1.c * contrib/gtqtc/gtqtc.cpp * contrib/gtwvg/gtwvg.c * contrib/gtwvg/wvggui.c * contrib/hbwin/olecore.c * examples/hboleold/win_ole.c * Finishing long planned function renames to clear up a very (10 years) old naming inconsistency. To adapt you code to this, please do changes below: 1) hb_itemPutCPtr() (with three parameters) -> hb_itemPutCLPtr() 2) hb_itemPutCPtr2() -> hb_itemPutCPtr() Unmodified code will generate compile time errors, so it's easy to spot where the modifications need to be done. For most users, only case 1) will need to be dealt with. ; INCOMPATIBLE. Please update your code. * source/rtl/hbi18n1.c * source/rdd/dbfnsx/dbfnsx1.c * hb_itemPutCPtr() (with three parameters) -> hb_itemPutCLPtr() * contrib/gtwvg/wvggui.c * contrib/gtqtc/gtqtc.cpp ! Fixed GPF in hb_gtInfo( HB_GTI_SCREENSIZE ) call with wrong parameter. 2009-06-26 02:22 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbvm.h * harbour/include/hbrdddbf.h * harbour/include/hbapidbg.h * harbour/include/hbset.h * harbour/include/hbcomp.h * harbour/include/hbapirdd.h * harbour/include/hbstack.h * harbour/include/hbsxfunc.h * harbour/include/hbapilng.h * harbour/include/hbgtcore.h * harbour/include/hbapifs.h * harbour/include/hbdbsort.h * harbour/include/hbapigt.h * harbour/include/hbapi.h * harbour/include/hbapierr.h * harbour/include/hbapiitm.h * harbour/include/hbrddfpt.h * harbour/contrib/hbmysql/mysql.c * harbour/contrib/hbct/bitnum.c * harbour/contrib/hbct/token2.c * harbour/contrib/hbct/charsprd.c * harbour/contrib/hbct/ctnet.c * harbour/contrib/hbct/charonly.c * harbour/contrib/hbct/atadjust.c * harbour/contrib/hbct/ctwin.c * harbour/contrib/hbct/charsort.c * harbour/contrib/hbct/ctwin.h * harbour/contrib/hbct/charmix.c * harbour/contrib/hbct/charevod.c * harbour/contrib/hbct/maxline.c * harbour/contrib/hbct/wordrepl.c * harbour/contrib/hbct/charrepl.c * harbour/contrib/hbct/files.c * harbour/contrib/hbct/video.c * harbour/contrib/hbct/charswap.c * harbour/contrib/hbct/dattime3.c * harbour/contrib/hbct/charop.c * harbour/contrib/hbct/misc2.c * harbour/contrib/hbct/charone.c * harbour/contrib/hbct/ctstr.c * harbour/contrib/hbct/screen1.c * harbour/contrib/hbct/token1.c * harbour/contrib/hbct/ctstr.h * harbour/contrib/hbct/charmirr.c * harbour/contrib/hbct/relation.c * harbour/contrib/hbct/atnum.c * harbour/contrib/hbct/like.c * harbour/contrib/hbct/count.c * harbour/contrib/hbct/disk.c * harbour/contrib/hbct/ctstrfil.c * harbour/contrib/hbct/posdiff.c * harbour/contrib/hbct/addascii.c * harbour/contrib/hbct/tab.c * harbour/contrib/hbct/numline.c * harbour/contrib/hbct/dattime2.c * harbour/contrib/hbct/asciisum.c * harbour/contrib/hbct/expand.c * harbour/contrib/hbct/pos2.c * harbour/contrib/hbct/numat.c * harbour/contrib/hbct/atrepl.c * harbour/contrib/hbct/wordtoch.c * harbour/contrib/hbct/print.c * harbour/contrib/hbct/justify.c * harbour/contrib/xhb/hbxml.c * harbour/contrib/xhb/dbf2txt.c * harbour/contrib/xhb/xhbis.c * harbour/contrib/xhb/fparse.c * harbour/contrib/xhb/xstrdel.c * harbour/contrib/xhb/hbcomprs.c * harbour/contrib/xhb/datesxhb.c * harbour/contrib/xhb/xhbmsgs.c * harbour/contrib/xhb/freadlin.c * harbour/contrib/xhb/txtline.c * harbour/contrib/xhb/xhbtrim.c * harbour/contrib/xhb/xhbcopyf.c * harbour/contrib/xhb/cstructc.c * harbour/contrib/xhb/xhbfunc.c * harbour/contrib/hbtpathy/tplinux.c * harbour/contrib/hbgt/charmixg.c * harbour/contrib/hbgt/strexpan.c * harbour/contrib/hbgt/charodd.c * harbour/contrib/hbgt/strright.c * harbour/contrib/hbgt/asciisgt.c * harbour/contrib/hbgt/strdiffg.c * harbour/contrib/hbgt/chrtotal.c * harbour/contrib/hbgt/strcount.c * harbour/contrib/hbgt/strleft.c * harbour/contrib/hbgt/ascposgt.c * harbour/contrib/hbgt/chrfirst.c * harbour/contrib/hbgt/chrcount.c * harbour/contrib/hbgt/strpbrk.c * harbour/contrib/hbgt/chareven.c * harbour/contrib/hbgt/strcspn.c * harbour/contrib/hbgt/atdiff.c * harbour/contrib/hbsqlit3/hbsqlit3.c * harbour/contrib/hbmzip/hbmzip.c * harbour/contrib/hbnf/proper.c * harbour/contrib/hbnf/fttext.c * harbour/contrib/hbnf/chdir.c * harbour/contrib/hbnf/getver.c * harbour/contrib/hbnf/ftattr.c * harbour/contrib/hbnf/mkdir.c * harbour/contrib/hbnf/rmdir.c * harbour/contrib/Makefile * harbour/contrib/hbcurl/hbcurl.c * harbour/contrib/rddsql/sddmy/mysqldd.c * harbour/contrib/rddsql/sddpg/pgsqldd.c * harbour/contrib/rddsql/sddfb/fbirddd.c * harbour/contrib/rddsql/sddodbc/odbcdd.c * harbour/contrib/rddsql/sqlmix.c * harbour/contrib/hbhpdf/harupdf.c * harbour/contrib/rddads/adsx.c * harbour/contrib/rddads/adsfunc.c * harbour/contrib/rddads/rddads.h * harbour/contrib/rddads/ads1.c * harbour/contrib/hbmisc/hb_f.c * harbour/contrib/hbmisc/strfmt.c * harbour/contrib/hbmisc/stringsx.c * harbour/contrib/hbmisc/spd.c * harbour/contrib/hbtip/utils.c * harbour/contrib/hbwin/wapi_winbase.c * harbour/contrib/hbwin/win_misc.c * harbour/contrib/hbbtree/hb_btree.h * harbour/contrib/hbbtree/hb_btree.c * harbour/source/pp/hbpp.c * harbour/source/vm/runner.c * harbour/source/vm/estack.c * harbour/source/vm/itemapi.c * harbour/source/vm/hvm.c * harbour/source/vm/cmdarg.c * harbour/source/vm/memvars.c * harbour/source/vm/dynlibhb.c * harbour/source/vm/set.c * harbour/source/main/harbour.c * harbour/source/debug/dbgentry.c * harbour/source/common/hbfsapi.c * harbour/source/common/hbfopen.c * harbour/source/rtl/gtdos/gtdos.c * harbour/source/rtl/diskspac.c * harbour/source/rtl/console.c * harbour/source/rtl/chrasc.c * harbour/source/rtl/fscopy.c * harbour/source/rtl/run.c * harbour/source/rtl/spfiles.c * harbour/source/rtl/defpath.c * harbour/source/rtl/philes.c * harbour/source/rtl/oldbox.c * harbour/source/rtl/math.c * harbour/source/rtl/hbgtcore.c * harbour/source/rtl/cdpapi.c * harbour/source/rtl/gtcrs/gtcrs.c * harbour/source/rtl/dirdrive.c * harbour/source/rtl/hbi18n1.c * harbour/source/rtl/trim.c * harbour/source/rtl/hbzlibgz.c * harbour/source/rtl/philesx.c * harbour/source/rtl/mlcfunc.c * harbour/source/rtl/filehb.c * harbour/source/rtl/fstemp.c * harbour/source/rtl/is.c * harbour/source/rtl/hbrunfun.c * harbour/source/rtl/ampm.c * harbour/source/rtl/setcolor.c * harbour/source/rtl/oemansi.c * harbour/source/rtl/disksphb.c * harbour/source/rtl/hbzlib.c * harbour/source/rtl/strpeek.c * harbour/source/rtl/replic.c * harbour/source/rtl/stuff.c * harbour/source/rtl/hbstrfmt.c * harbour/source/rtl/transfrm.c * harbour/source/rtl/hbhex.c * harbour/source/rtl/trace.c * harbour/source/rtl/hbadler.c * harbour/source/rtl/samples.c * harbour/source/rtl/filebuf.c * harbour/source/rtl/hbcrc.c * harbour/source/rtl/gete.c * harbour/source/rtl/hbmd5.c * harbour/source/rtl/langapi.c * harbour/source/rtl/gtcgi/gtcgi.c * harbour/source/rtl/errapi.c * harbour/source/rtl/hbregexc.c * harbour/source/rtl/natmsg.c * harbour/source/rtl/fssize.c * harbour/source/rtl/hbinet.c * harbour/source/rtl/colorind.c * harbour/source/rtl/copyfile.c * harbour/source/rtl/mouseapi.c * harbour/source/rtl/soundex.c * harbour/source/rtl/memofile.c * harbour/source/rtl/hbffind.c * harbour/source/rtl/gtapi.c * harbour/source/rtl/direct.c * harbour/source/rtl/filesys.c * harbour/source/rtl/file.c * harbour/source/rtl/val.c * harbour/source/rtl/hbregex.c * harbour/source/rtl/rat.c * harbour/source/rtl/isprint.c * harbour/source/rdd/dbfntx/dbfntx1.c * harbour/source/rdd/dbsql.c * harbour/source/rdd/workarea.c * harbour/source/rdd/wacore.c * harbour/source/rdd/sdf1.c * harbour/source/rdd/dbdetach.c * harbour/source/rdd/dbcmdx.c * harbour/source/rdd/dbfnsx/dbfnsx1.c * harbour/source/rdd/dbcmd.c * harbour/source/rdd/dbfcdx/dbfcdx1.c * harbour/source/rdd/delim1.c * harbour/source/rdd/dbf1.c * harbour/source/rdd/hsx/hsx.c * harbour/source/rdd/dbcmd53.c * harbour/source/rdd/usrrdd/usrrdd.c * harbour/source/rdd/wafunc.c * harbour/source/rdd/dbffpt/dbffpt1.c * harbour/source/rdd/hbsix/sxsem.c * harbour/source/rdd/hbsix/sxord.c * harbour/source/rdd/hbsix/sxfname.c * harbour/source/rdd/hbsix/sxtable.c * harbour/source/rdd/hbsix/sxdate.c * harbour/source/rdd/hbsix/sxutil.c * harbour/source/rdd/hbsix/sxcompr.c * harbour/source/compiler/hbmain.c * harbour/source/compiler/cmdcheck.c * harbour/source/compiler/hbpcode.c * harbour/source/compiler/genc.c * harbour/source/compiler/gencc.c * harbour/source/compiler/hbcmplib.c * harbour/source/compiler/ppcomp.c * changed 'char *' and changed 'BYTE *' to 'const char *' in the following functions: const char * hb_vmFindModuleSymbolName( PHB_SYMB pSym ); void hb_vmInitSymbolGroup( void * hNewDynLib, int argc, const char * argv[] ); void hb_dbgEntry( int nMode, int nLine, const char *szName, int nIndex, PHB_ITEM pFrame ); void hb_dbgAddBreak( void *handle, const char *cModule, int nLine, const char *szFunction ); void hb_dbgAddWatch( void *handle, const char *szExpr, BOOL bTrace ); PHB_ITEM hb_dbgGetExpressionValue( void *handle, const char *expression ); BOOL hb_dbgIsValidStopLine( void *handle, const char *szModule, int nLine ); void hb_dbgSetToCursor( void *handle, const char *szModule, int nLine ); void hb_dbgSetWatch( void *handle, int nWatch, const char *szExpr, BOOL bTrace ); const char * hb_setGetCPtr( HB_set_enum set_specifier ); const char * hb_setGetAltFile( void ); const char * hb_setGetDateFormat( void ); const char * hb_setGetTimeFormat( void ); const char * hb_setGetDefault( void ); const char * hb_setGetDelimChars( void ); const char * hb_setGetDevice( void ); const char * hb_setGetExtraFile( void ); const char * hb_setGetPath( void ); const char * hb_setGetMFileExt( void ); const char * hb_setGetPrintFile( void ); const char * hb_setGetEOL( void ); const char * hb_setGetHBOUTLOG( void ); const char * hb_setGetHBOUTLOGINFO( void ); const char * hb_setGetOSCODEPAGE( void ); void hb_compInitPP( HB_COMP_DECL, int argc, const char * const argv[] ); void hb_compGenPCodeN( const BYTE * pBuffer, ULONG ulSize, HB_COMP_DECL ); int hb_compMain( int argc, const char * const argv[], BYTE ** pBufPtr, ULONG * pulSize, const char * szSource ); void hb_compChkCompilerSwitch( HB_COMP_DECL, int, const char * const args[] ); void hb_compChkDefines( HB_COMP_DECL, int iArg, const char * const args[] ); void hb_compGenCString( FILE * yyc, const BYTE * pText, ULONG ulLen ); AREAP hb_rddRequestArea( const char * szAlias, PHB_ITEM pCargo, BOOL fNewArea, BOOL fWait ); char * hb_stackDirBuffer( void ); LONG hb_sxPtoD( const char * pDate ); const char * hb_langID( void ); const char * hb_langSelectID( const char * pszID ); const char * hb_langDGetItem( int iIndex ); const char * hb_langDGetErrorDesc( ULONG ulIndex ); BOOL hb_fsChDir( const char * pszDirName ); HB_FHANDLE hb_fsCreate( const char * pszFileName, ULONG ulAttr ); HB_FHANDLE hb_fsCreateEx( const char * pszFilename, ULONG ulAttr, USHORT uiFlags ); HB_FHANDLE hb_fsCreateTemp( const char * pszDir, const char * pszPrefix, ULONG ulAttr, char * pszName ); HB_FHANDLE hb_fsCreateTempEx( char * pszName, const char * pszDir, const char * pszPrefix, const char * pszExt, ULONG ulAttr ); const char * hb_fsCurDir( USHORT uiDrive ); USHORT hb_fsCurDirBuff( USHORT uiDrive, char * pbyBuffer, ULONG ulLen ); void hb_fsBaseDirBuff( char * pbyBuffer ); BOOL hb_fsDelete( const char * pszFileName ); BOOL hb_fsFile( const char * pszFileName ); BOOL hb_fsIsDirectory( const char * pszFilename ); HB_FOFFSET hb_fsFSize( const char * pszFileName, BOOL bUseDirEntry ); HB_FHANDLE hb_fsExtOpen( const char * pszFileName, const char * pDefExt, char * hb_fsExtName( const char * pFilename, const char * pDefExt, USHORT uiExFlags, const char * pPaths ); BOOL hb_fsMkDir( const char * pszDirName ); HB_FHANDLE hb_fsOpen( const char * pszFileName, USHORT uiFlags ); BOOL hb_fsRmDir( const char * pszDirName ); BOOL hb_fsRename( const char * pszOldName, const char * pszNewName ); BOOL hb_fsGetFileTime( const char * pszFileName, LONG * plJulian, LONG * plMillisec ); BOOL hb_fsSetFileTime( const char * pszFileName, LONG lJulian, LONG lMillisec ); BOOL hb_fsGetAttr( const char * pszFileName, ULONG * pulAttr ); BOOL hb_fsSetAttr( const char * pszFileName, ULONG ulAttr ); HB_FHANDLE hb_fsPOpen( const char * pFilename, const char * pMode ); BOOL hb_fsCopy( const char * pSource, const char * pDest ); BOOL hb_spFile( const char * pFilename, char * pRetPath ); BOOL hb_spFileExists( const char * pFilename, char * pRetPath ); HB_FHANDLE hb_spOpen( const char * pFilename, USHORT uiFlags ); HB_FHANDLE hb_spCreate( const char * pFilename, ULONG ulAttr ); HB_FHANDLE hb_spCreateEx( const char * pFilename, ULONG ulAttr, USHORT uiFlags ); PHB_FILE hb_fileExtOpen( const char * pFilename, const char * pDefExt, USHORT uiExFlags, const char * pPaths, PHB_ITEM pError ); PHB_FILE hb_fileCreateTemp( const char * pszDir, const char * pszPrefix, ULONG ulAttr, char * pszName ); PHB_FILE hb_fileCreateTempEx( char * pszName, const char * pszDir, const char * pszPrefix, const char * pszExt, ULONG ulAttr ); HB_ERRCODE hb_gtBox( SHORT uiTop, SHORT uiLeft, SHORT uiBottom, SHORT uiRight, const BYTE * pbyFrame ); HB_ERRCODE hb_gtDrawBox( SHORT uiTop, SHORT uiLeft, SHORT uiBottom, SHORT uiRight, const BYTE * pbyFrame, int iColor ); HB_ERRCODE hb_gtWrite( const BYTE * pbyStr, ULONG ulLen ); HB_ERRCODE hb_gtWriteAt( USHORT uiRow, USHORT uiCol, const BYTE * pbyStr, ULONG ulLen ); HB_ERRCODE hb_gtWriteCon( const BYTE * pbyStr, ULONG ulLen ); HB_ERRCODE hb_gtPutText( USHORT uiRow, USHORT uiCol, const BYTE * pStr, ULONG ulLength, int iColor ); HB_ERRCODE hb_gtOutStd( const BYTE * pbyStr, ULONG ulLen ); HB_ERRCODE hb_gtOutErr( const BYTE * pbyStr, ULONG ulLen ); HB_ERRCODE hb_gtBoxEx( int iTop, int iLeft, int iBottom, int iRight, const BYTE * pbyFrame, int iColor ); void hb_mouseRestoreState( const BYTE * pBuffer ); const char * hb_strLTrim( const char * szText, ULONG * ulLen ); const char * hb_conNewLine( void ); const char * hb_conSetColor( const char * szColor ); const char * hb_errGetDescription( PHB_ITEM pError ); const char * hb_errGetFileName( PHB_ITEM pError ); const char * hb_errGetOperation( PHB_ITEM pError ); const char * hb_errGetSubSystem( PHB_ITEM pError ); int hb_ctwAddWindowBox( int iWindow, const BYTE * szBox, int iColor ); const char *ct_at_exact_forward ( const char *pcString, size_t sStrLen, const char *pcMatch, size_t sMatchLen, size_t *psMatchStrLen ); const char *ct_at_exact_backward ( const char *pcString, size_t sStrLen, const char *pcMatch, size_t sMatchLen, size_t *psMatchStrLen ); const char *ct_at_wildcard_forward ( const char *pcString, size_t sStrLen, const char *pcMatch, size_t sMatchLen, char cWildCard, size_t *psMatchStrLen ); const char *ct_at_wildcard_backward ( const char *pcString, size_t sStrLen, const char *pcMatch, size_t sMatchLen, char cWildCard, size_t *psMatchStrLen ); const char *ct_at_charset_forward ( const char *pcString, size_t sStrLen, const char *pcCharSet, size_t sCharSetLen, size_t *psMatchedCharPos ); const char *ct_at_charset_backward ( const char *pcString, size_t sStrLen, const char *pcCharSet, size_t sCharSetLen, size_t *psMatchedCharPos ); char * hb_adsOemToAnsi( const char * pcString, ULONG ulLen ); char * hb_adsAnsiToOem( const char * pcString, ULONG ulLen ); struct hb_BTree * hb_BTreeNew( const char *FileName, USHORT usPageSize, USHORT usKeySize, ULONG ulFlags, USHORT usBuffers ); struct hb_BTree * hb_BTreeOpen( const char *FileName, ULONG lFlags, USHORT usBuffers ); BOOL hb_BTreeInsert( struct hb_BTree * pBTree, const char * szKey, PHB_ITEM pData ); BOOL hb_BTreeDelete( struct hb_BTree * pBTree, const char * szKey, LONG lData ); BOOL hb_BTreeSeek( struct hb_BTree * pBTree, const char * szKey, LONG lData, BOOL bSoftSeek ); const char * hb_BTreeKey( struct hb_BTree * pBTree ); * modified RDD methods: HB_ERRCODE PUTVALUEFILE( AREAP, USHORT, const char *, USHORT ); HB_ERRCODE GETVALUEFILE( AREAP, USHORT, const char *, USHORT ); * modified GT methods: void REST( HB_GT_PTR, int, int, int, int, const BYTE * ); void PUTTEXT( HB_GT_PTR, int, int, BYTE, const BYTE *, ULONG ); void WRITEAT( HB_GT_PTR, int, int, const BYTE *, ULONG ); void WRITE( HB_GT_PTR, const BYTE *, ULONG ); void WRITECON( HB_GT_PTR, const BYTE *, ULONG ); void BOX( HB_GT_PTR, int, int, int, int, const BYTE *, BYTE ); void BOXD( HB_GT_PTR, int, int, int, int, const BYTE *, BYTE ); void BOXS( HB_GT_PTR, int, int, int, int, const BYTE *, BYTE ); void OUTSTD( HB_GT_PTR, BYTE *, ULONG ); void OUTERR( HB_GT_PTR, BYTE *, ULONG ); void MOUSERESTORESTATE( HB_GT_PTR, const BYTE * ); * modified RDD structers: DBFIELDINFO, DBOPENINFO, DBORDERCONDINFO, DBCONSTRAINTINFO, DBORDERCREATEINFO + modified parameters and behevior: const char * hb_fsNameConv( const char * szFileName, char ** pszFree ); const char * hb_osEncode( const char * szFileName, char ** pszFree ); const char * hb_osDecode( const char * szFileName, char ** pszFree ); Please look at implementation and current usage of these functions. + added new function: BOOL hb_itemGetWriteCL( PHB_ITEM pItem, char ** pszValue, ULONG * pulLen ); which converts item string buffer to writable state to use with functions like FREAD() instead of hb_itemUnShare*() * updatd other code to respect above modifications ! fixed bugs (also GPF traps) located by above modifications TODO: please make build tests. Especially in OS2 - not tested at all. 2009-06-25 13:58 UTC+0200 Viktor Szakats * utils/hbformat/hbformac.c * examples/superlib/superlib.dif * examples/hbsqlit2/hbsqlit2.c * examples/uhttpd2/socket.c * 'const' cleanup. 2009-06-25 13:40 UTC+0200 Viktor Szakats * contrib/hbmzip/hbmzip.c * contrib/hbblat/blatwrp.c * contrib/hbfbird/firebird.c * contrib/xpp/dbcmdx.c * contrib/xpp/philesx.c * contrib/rddsql/sqlbase.c * contrib/rddsql/sqlmix.c * contrib/gtwvg/gtwvg.h * contrib/gtwvg/wvgcore.c * contrib/gtwvg/wvgwing.c * contrib/hbclipsm/time.c * contrib/rddads/adsfunc.c * contrib/rddads/ads1.c * contrib/hbgd/gdwrp.c * contrib/hbtip/utils.c * contrib/hbtip/base64x.c * contrib/hbtip/encmthd.c * 'const' cleanup. ; NOTE: I've left some warnings which I couldn't fix, and there were also cases where code modification will be needed due to existing bugs now revealed. 2009-06-25 12:15 UTC+0200 Viktor Szakats * INSTALL * Minor * contrib/hbmysql/mysql.c * contrib/hbodbc/odbc.c * contrib/hbtpathy/tpcommon.c * contrib/hbsqlit3/hbsqlit3.c * contrib/hbpgsql/postgres.c * contrib/hbmisc/strfmt.c * contrib/hbwin/win_prn2.c * contrib/hbwin/win_prt.c * contrib/hbwin/win_prn1.c * contrib/hbqt/hbqt_slots.cpp * 'const' cleanup. * contrib/hbqt/generator/hbqtgen.prg + contrib/hbqt/generator/hbmk.hbm ! Fixed all warnings. ! Fixed to generate different Harbour interface code for different QT integer types. * Some formatting. (IF() -> iif(), spaces) + Added .hbm file to ensure warning-free code. * contrib/hbqt/hbqt_qimage.cpp * contrib/hbqt/hbqt_qlatin1char.cpp * contrib/hbqt/hbqt_qdatetime.cpp * contrib/hbqt/hbqt_qfilesystemmodel.cpp * contrib/hbqt/hbqt_qpalette.cpp * contrib/hbqt/hbqt_qicon.cpp * contrib/hbqt/hbqt_qhttp.cpp * contrib/hbqt/hbqt_qftp.cpp * contrib/hbqt/hbqt_qwebpage.cpp * contrib/hbqt/hbqt_qresource.cpp * contrib/hbqt/hbqt_qvariant.cpp * contrib/hbqt/hbqt_qcolordialog.cpp * contrib/hbqt/hbqt_qpixmap.cpp * contrib/hbqt/hbqt_qlatin1string.cpp * contrib/hbqt/Makefile_gen * contrib/hbqt/hbqt_qkeyevent.cpp * contrib/hbqt/hbqt_qcoreapplication.cpp * contrib/hbqt/hbqt_qcolor.cpp * contrib/hbqt/hbqt_qtextstream.cpp * contrib/hbqt/hbqt_qmodelindex.cpp * Regenerated after generator fixes. 2009-06-25 01:14 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/hbxbp/xbpdialog.prg * harbour/contrib/hbxbp/xbpgeneric.prg * harbour/contrib/hbxbp/xbptreeview.prg * harbour/contrib/hbxbp/xbpwindow.prg * harbour/contrib/hbxbp/tests/demoxbp.prg + Implemented new mechanism of event handelling. Now you can click on X button and it will show up a dialog. Still one point to control but is in working stage. 2009-06-25 01:05 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/hbqt/Makefile_gen * harbour/contrib/hbqt/hbqt.ch * harbour/contrib/hbqt/hbqt.h * harbour/contrib/hbqt/hbqt_qapplication.cpp * harbour/contrib/hbqt/hbqt_qcoreapplication.cpp * harbour/contrib/hbqt/TQApplication.prg + harbour/contrib/hbqt/TQCoreApplication.prg * harbour/contrib/hbqt/hbqt_slots.cpp * harbour/contrib/hbqt/hbqt_slots.h * harbour/contrib/hbqt/moc_slots.cpp * harbour/contrib/hbqt/qth/QApplication.qth * harbour/contrib/hbqt/qth/QCoreApplication.qth + Added 1 more class at prg level and extended others. ! Changed the way events are being handelled. 2009-06-25 03:44 UTC+0200 Viktor Szakats * INSTALL * Some casing fixes. * ChangeLog + Added more incompat notes to 2009-06-20 22:24 UTC+0200 entry. * source/pp/pplib.c * source/compiler/hbcmplib.c * 'const' cleanup. * source/vm/fm.c - Deleted HB_FM_STAT() and HB_FM_NOSTAT() functions. 2009-06-24 22:36 UTC+0200 Viktor Szakats * include/hbapi.h * include/hbapiitm.h * source/vm/itemapi.c * source/vm/arrays.c * source/vm/extend.c ; Started addition of 'const' keywords where applicable. * First pass: extern HB_EXPORT const char * hb_parc( int iParam ); extern HB_EXPORT const char * hb_parcx( int iParam ); extern HB_EXPORT const char * hb_itemGetCPtr( PHB_ITEM pItem ); extern HB_EXPORT const char * hb_arrayGetCPtr( PHB_ITEM pArray, ULONG ulIndex ); ; NOTE: This modification will break code in most compilers, especially in C++ mode. As a next steps source code will have to be modified according to this change. Be patient, don't report all errors to the developers. You can join the code cleanup. * source/vm/dynsym.c * source/vm/itemapi.c * source/vm/arrays.c * source/vm/memvars.c * source/vm/extend.c * source/vm/set.c * source/vm/classes.c * 'const's added to caller code. 2009-06-24 20:37 UTC+0200 Viktor Szakats * source/vm/memvars.c - Deleted hb_fsCommit() as non CA-Cl*pper compatible. I'll let others decide what to do with this patch. * contrib/hbclipsm/date.c ! Changed hb_parnl() calls used to extract dates to hb_pardl(). 2009-06-24 08:40 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/hbqt/Makefile_gen * harbour/contrib/hbqt/hbqt_qapplication.cpp * harbour/contrib/hbqt/qth/QApplication.qth + harbour/contrib/hbqt/TQApplication.prg + Added QApplication() PRG level class. Only one instance of application is ever activated but its members can be accessed/assigned as QApplication():new():setStyle( ... ) 2009-06-24 17:40 UTC+0200 Viktor Szakats * contrib/gtwvg/wvgcuig.c * contrib/gtwvg/wvgutils.c * contrib/gtwvg/wincallb.c * contrib/gtwvg/wvgcore.c * contrib/gtwvg/wvgwing.c ! Fixed non-ANSI comments. 2009-06-24 16:56 UTC+0200 Viktor Szakats * contrib/hbqt/qth/QLatin1String.qth * contrib/hbqt/qth/QTextStream.qth * contrib/hbqt/qth/QApplication.qth * contrib/hbqt/qth/QLatin1Char.qth * contrib/hbqt/hbqt_qlatin1char.cpp * contrib/hbqt/hbqt_qapplication.cpp * contrib/hbqt/hbqt_qlatin1string.cpp * contrib/hbqt/hbqt.h * contrib/hbqt/hbqt_slots.cpp * contrib/hbqt/hbqt_qtextstream.cpp ! hb_parc() -> hb_parcx(). This may fix GPFs when non-string parameter was read from C code and NULL pointer was passed to certain QT methods. I couldn't find any specific mention that NULL would be an accepted input value for the ones I've checked. Please review, and if hb_parc() was intentionally used, and NULL value intentionally passed to QT, pls revert where needed. 2009-06-24 16:07 UTC+0200 Viktor Szakats * source/vm/memvars.c + Added hb_fsCommit() to __MVSAVE(). (Change copied from xhb, created by Peter Rees) * contrib/gtwvg/wvgsink.c ! Fixed BCC warning after recent change. (BTW, does anyone know a switch to enable such warning: "'x' is assigned a value that is never used" with *MinGW* ? It's annoying that BCC catches it, while other compilers don't. I'm now only using BCC when creating builds.) 2009-06-24 13:34 UTC+0200 Viktor Szakats * mpkg_dos.bat * mpkg_win.bat * make_gnu.bat * Now make_gnu.bat will also install libs to lib/<arch>/<comp> by default. This will enable default settings to work in multi-compiler mode. ; NOTE: hbmk script may need to be adapted for this change, to add lib/<arch>/<comp> to libpath. Only MinGW + msys users using hbmk *script* are affected though. * contrib/hbqt/hbqt_slots.cpp ! Fixed QT_QDEBUG() to map to QT function even on Windows. (no OutputDebugString() here please) ! Fixed wrong hb_itemPutCPtr() usage. Here, only string allocated by Harbour functions can be used. Attaching foreign string pointers will produce serious problems. This fixes one GPF reported by Lorenzo on Linux. ! Renamed static vars to have 's_' prefix. ! Commented unused SlotsExecFocusEvent(). This fixes the MinGW warning. ! Fixed to use hb_snprintf() instead of unsafe sprintf(). % Events::eventFilter() simplified. * Formatting. * source/rtl/gtwvt/gtwvt.c ! Fixed hb_gtInfo( HB_GTI_SCREENSIZE ) called with invalid parameter. (untested, please test) * contrib/gtwvg/gtwvg.c ! Fixed hb_gtInfo( HB_GTI_SCREENSIZE ) called with invalid parameter. ! Fixed hb_gtInfo( HB_GTI_SETPOSANDSIZE ) called with invalid parameter. (untested, please test) * contrib/hbxbp/tests/demoxbp.prg ! Fixed FUNCTION not returning value. * utils/hbmk2/hbmk2.prg * Cleanup to path separator handling in .hbc files found automatically. 2009-06-24 12:15 UTC+0200 Viktor Szakats * mpkg_dos.bat * mpkg_win.bat * Changed 'lib' location to be lib/<arch>/<comp>. This way the generated install kits became compatible with each other and also with the 'unified' build. This means they can be installed / copied onto each other. This in turn means that we can provide binaries not included in the 'unified' build as extra packages, which "plugs in" into the former. ; Same has already been true for the source packages which can be copied onto any binary installation without causing any damage. * INSTALL + Added NOTE to QUICK START, that GNU Make and msys and other tools are not needed to build Harbour apps. 2009-06-24 00:02 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/hbqt/generator/qt45.qtp * harbour/contrib/hbqt/Makefile_gen * harbour/contrib/hbqt/hbqt.ch * harbour/contrib/hbqt/hbqt.h * harbour/contrib/hbqt/hbqt_qbitmap.cpp * harbour/contrib/hbqt/hbqt_qcolor.cpp * harbour/contrib/hbqt/hbqt_qcolordialog.cpp + harbour/contrib/hbqt/hbqt_qdatetime.cpp * harbour/contrib/hbqt/hbqt_qdir.cpp * harbour/contrib/hbqt/hbqt_qevent.cpp * harbour/contrib/hbqt/hbqt_qfiledialog.cpp * harbour/contrib/hbqt/hbqt_qfont.cpp + harbour/contrib/hbqt/hbqt_qfontdatabase.cpp * harbour/contrib/hbqt/hbqt_qfontdialog.cpp * harbour/contrib/hbqt/hbqt_qimagereader.cpp * harbour/contrib/hbqt/hbqt_qimagewriter.cpp * harbour/contrib/hbqt/hbqt_qinputdialog.cpp * harbour/contrib/hbqt/hbqt_qkeysequence.cpp + harbour/contrib/hbqt/hbqt_qlatin1char.cpp + harbour/contrib/hbqt/hbqt_qlatin1string.cpp * harbour/contrib/hbqt/hbqt_qlayout.cpp * harbour/contrib/hbqt/hbqt_qmessagebox.cpp * harbour/contrib/hbqt/hbqt_qobject.cpp * harbour/contrib/hbqt/hbqt_qpainter.cpp * harbour/contrib/hbqt/hbqt_qpixmap.cpp * harbour/contrib/hbqt/hbqt_qresource.cpp * harbour/contrib/hbqt/hbqt_qsound.cpp * harbour/contrib/hbqt/hbqt_qstyle.cpp * harbour/contrib/hbqt/hbqt_qtextcodec.cpp * harbour/contrib/hbqt/hbqt_qtextdocumentfragment.cpp * harbour/contrib/hbqt/hbqt_qtimer.cpp * harbour/contrib/hbqt/hbqt_qurl.cpp * harbour/contrib/hbqt/hbqt_qvariant.cpp * harbour/contrib/hbqt/hbqt_qwidget.cpp + harbour/contrib/hbqt/hbqt_qwidgetaction.cpp + harbour/contrib/hbqt/hbqt_qwidgetitem.cpp * harbour/contrib/hbqt/TQBitmap.prg * harbour/contrib/hbqt/TQColor.prg * harbour/contrib/hbqt/TQColorDialog.prg + harbour/contrib/hbqt/TQDateTime.prg * harbour/contrib/hbqt/TQDir.prg * harbour/contrib/hbqt/TQEvent.prg * harbour/contrib/hbqt/TQFileDialog.prg * harbour/contrib/hbqt/TQFont.prg + harbour/contrib/hbqt/TQFontDatabase.prg * harbour/contrib/hbqt/TQFontDialog.prg * harbour/contrib/hbqt/TQImageReader.prg * harbour/contrib/hbqt/TQInputDialog.prg * harbour/contrib/hbqt/TQKeySequence.prg + harbour/contrib/hbqt/TQLatin1Char.prg + harbour/contrib/hbqt/TQLatin1String.prg * harbour/contrib/hbqt/TQLayout.prg * harbour/contrib/hbqt/TQMessageBox.prg * harbour/contrib/hbqt/TQObject.prg * harbour/contrib/hbqt/TQPainter.prg * harbour/contrib/hbqt/TQPixmap.prg * harbour/contrib/hbqt/TQResource.prg * harbour/contrib/hbqt/TQSound.prg * harbour/contrib/hbqt/TQStyle.prg * harbour/contrib/hbqt/TQTextCodec.prg * harbour/contrib/hbqt/TQTextDocumentFragment.prg * harbour/contrib/hbqt/TQTimer.prg * harbour/contrib/hbqt/TQUrl.prg * harbour/contrib/hbqt/TQVariant.prg * harbour/contrib/hbqt/TQWidget.prg + harbour/contrib/hbqt/TQWidgetAction.prg + harbour/contrib/hbqt/TQWidgetItem.prg * harbour/contrib/hbqt/qth/QBitmap.qth * harbour/contrib/hbqt/qth/QColor.qth * harbour/contrib/hbqt/qth/QColorDialog.qth + harbour/contrib/hbqt/qth/QDateTime.qth * harbour/contrib/hbqt/qth/QDir.qth * harbour/contrib/hbqt/qth/QEvent.qth * harbour/contrib/hbqt/qth/QFileDialog.qth * harbour/contrib/hbqt/qth/QFont.qth + harbour/contrib/hbqt/qth/QFontDatabase.qth * harbour/contrib/hbqt/qth/QFontDialog.qth * harbour/contrib/hbqt/qth/QImageReader.qth * harbour/contrib/hbqt/qth/QImageWriter.qth * harbour/contrib/hbqt/qth/QInputDialog.qth * harbour/contrib/hbqt/qth/QKeySequence.qth + harbour/contrib/hbqt/qth/QLatin1Char.qth + harbour/contrib/hbqt/qth/QLatin1String.qth * harbour/contrib/hbqt/qth/QLayout.qth * harbour/contrib/hbqt/qth/QMessageBox.qth * harbour/contrib/hbqt/qth/QObject.qth * harbour/contrib/hbqt/qth/QPainter.qth * harbour/contrib/hbqt/qth/QPixmap.qth * harbour/contrib/hbqt/qth/QResource.qth * harbour/contrib/hbqt/qth/QSound.qth * harbour/contrib/hbqt/qth/QStyle.qth * harbour/contrib/hbqt/qth/QTextCodec.qth * harbour/contrib/hbqt/qth/QTextDocumentFragment.qth * harbour/contrib/hbqt/qth/QTimer.qth * harbour/contrib/hbqt/qth/QUrl.qth * harbour/contrib/hbqt/qth/QVariant.qth * harbour/contrib/hbqt/qth/QWidget.qth + harbour/contrib/hbqt/qth/QWidgetAction.qth + harbour/contrib/hbqt/qth/QWidgetItem.qth + Added 6 new classes. + Added QT's <Static Public Members>. So now classes must be more complete. The insight to include these members is suggested by WenSheng, thanks. 2009-06-24 06:49 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg % Minor opt in IsDriveSpec() function. 2009-06-24 06:41 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Rewritten PathNormalize(). Previous version had problems with relative paths, didn't normalize everything possible and always added an ending backslash. This new one hopefully fixes all these problems. It also won't touch empty paths. I'd appreciate if someone could take a reviewers look at the code, it's now actually much simpler. ; beta2 release delayed a bit because of this change. * mpkg_win.nsi * Changed from MUI to MUI2. (no visible changes) 2009-06-24 04:37 UTC+0200 Viktor Szakats * contrib/hbsqlit3/Makefile + Enabled for all pocc compilers. 2009-06-23 23:55 UTC+0200 Viktor Szakats * harbour-win-spec * harbour-wce-spec * mpkg_win.bat * include/hbver.h * harbour.spec * Changed version to 2.0.0beta2 (from 2.0.0beta1) ; NOTE: Everyone is encouraged to create binary releases for various platforms and try this new version with real apps. We can even upload these binary releases to sf.net. * utils/hbmk2/hbmk2.prg * Minor internal cleanup regarding macro marker chars. % Not including libpaths containing late-evaluation macros in actual commands. * Cleaned handling of paths added from .hbc. Now slashes are properly formed and paths are normalized. * INSTALL * Minor in new section. 2009-06-23 23:00 UTC+0200 Viktor Szakats * source/rtl/hbgtcore.c ! Fixed GPF when using hb_gtInfo( HB_GTI_SETWIN ) without valid parameter. Thanks to Marek Horodyski for the report. * contrib/gtwvg/wvgsink.c ! Attempt to fix MinGW warning. --- ../../wvgsink.c: In function 'HB_FUN_WVG_AXSETUPCONNECTIONPOINT': ../../wvgsink.c:519: warning: dereferencing pointer 'hSink.56' does break strict-aliasing rules ../../wvgsink.c:530: note: initialized from here --- Please review, I'm not at all sure this patch is correct. 2009-06-23 19:21 UTC+0200 Viktor Szakats * include/hbapi.h * include/hbapiitm.h * source/vm/itemapi.c * source/vm/arrays.c * source/vm/extend.c * Clean alternative for: 2009-06-23 18:15 UTC+0200 (now change is local to extend.c) Thanks Przemek. 2009-06-23 19:09 UTC+0200 Viktor Szakats - examples/superlib/hbsuper.hbp + examples/superlib/superlib.hbc + examples/superlib/superlib.dif - examples/superlib/hbsuper.dif * examples/superlib/readme.txt + examples/superlib/superlib.hbp * Change make system to have full multiplatform/multicompiler support. The same all other examples and contribs have. + Added one-liner instruction, how to build superlib based apps using hbmk2. 2009-06-23 18:15 UTC+0200 Viktor Szakats * include/hbapi.h * include/hbapiitm.h * source/vm/itemapi.c * source/vm/arrays.c * source/vm/extend.c ! Fixed hb_parvc() function to return NULL in case an array is passed as Harbour level parameter. This makes this function (and _parc()) fully CA-Cl*pper compatible. ; Please review maybe there is a lighter patch to achieve this goal. I had to add NULL versions for two functions downstream. * utils/hbmk2/hbmk2.prg * Formatting. 2009-06-23 17:14 UTC+0200 Viktor Szakats * INSTALL + Added section: QUICK START TO BUILD YOUR OWN HARBOUR APPLICATIONS Contains basics to start to build Harbour apps (using hbmk2). 2009-06-23 14:10 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg * Correction to xcc + /MT switch. 2009-06-23 13:33 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg * Synced /MT switch with GNU Make build switch for pocc/pocc64. 2009-06-23 12:40 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fixed problem with pocc not finding compiled .c objects in some cases. Damn these two compilers pocc and watcom. 2009-06-23 12:05 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added filter support for input file types .rc, .res, .o, .obj, .c, .cpp. ! Fixed filter support for some existing cases with input files. + Added special support for escaping filenames inside watcom command script file. Of course this is different from common command line escaping rules. I didn't try to find out the details, but for simple spaces, it now works. If someone wants to tweak them, they go under the name _ESC_SINQUOTE_WATCOM. * utils/hbrun/hbrun.hbp * utils/hbrun/hbrun.rc * Changed the way harbour.ico is referred to. Now the dir of it is passed as include dir and no dir is used inside the .rc file. This was needed to make watcom happy, which counts relative dirs in #include from cwd, rather than from host file. 2009-06-23 11:56 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/hb-func.sh * harbour/utils/hbmk2/hbmk2.prg * updated automatic first function detection to decode non symbol characters in C function names 2009-06-23 10:57 UTC+0200 Viktor Szakats * examples/hboleold/hboleold.hbp + examples/hboleold/tests/hbmk.hbm * hbmk2 files adjusted. 2009-06-23 10:03 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/compiler/genc.c * convert any function names to unique symbol accepted by C compilers it resolves problems with compiling without -n .prg files using some strange characters in file name, i.e. /*** ^co+d-e.prg ***/ ? procname() 2009-06-23 05:06 UTC+0200 Viktor Szakats * examples/hbmsql/hbmsql.hbc * examples/hbmsql/hbmsql.hbp - examples/hbsqlit2/tests/hbsqlit2.hbc + examples/hbsqlit2/hbsqlit2.hbc * examples/hbsqlit2/hbsqlit2.hbp + examples/hbsqlit2/tests/hbmk.hbm - examples/hbapollo/tests/hbapollo.hbc + examples/hbapollo/hbapollo.hbc * examples/hbapollo/hbapollo.hbp + examples/hbapollo/tests/hbmk.hbm - examples/hbwhat/tests/hbwhat.hbc + examples/hbwhat/hbwhat.hbc * examples/hbwhat/hbwhat.hbp + examples/hbwhat/tests/hbmk.hbm * Updated make files, added missing one, synced with latest layout. Enabled -inc mode in all. Storing output inside arch/comp subtree to allow parellel builds. Moving towards plugin mode. 2009-06-23 04:39 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg * Changed ${hb_self} macro to ${hb_dir} + Added ${hb_name} macro which translates to the container filename (so e.g. in hbwin.hbc it will be "hbwin") + Added "late-evaluation" macros in libpaths= lists, when looking for .hbc files. Late eval macros are marked with %{}. This feature means you can setup 'libpaths=contrib/%{hb_name}' and when looking for 'hbwin.hbc', it will look for it in contrib/hbwin dir. * libpaths/-L values will not be checked for existence before adding them to internal lib list. ; All this means that it's now possible to setup contrib libs and headers in their own directory while keeping the "zero-conf" work environment. IOW contrib libs and directories don't need to "pollute" central lib/header dir. This also means that we can lift lots of restrictions regarding naming, since only lib name needs to be unique, headers don't (it's still good practice though since one users may want to use both contribs at the same time), they also don't bother those users who aren't using them. This system also makes it very easy to add 3rd party libs to the contrib dir. So in this sense it's basically a fully open "plugin" system for any libs. It's very easily possible to add 'examples', or 'extras' subtrees to libpath also. From the user side, it looks like this (without any extra configuration or any path specs): $ hbmk2 myprogram.prg hbwin.hbc hbct.hbc ; QUESTION: Where such contribs (with libs and headers) could go on a *nix system? While developing above stuff I had the unified Windows installer in mind, but it would be good to adapt these on *nix systems, too. + contrib/xpp/xpp.hbc + Added .hbc file for xpp lib. 2009-06-22 20:48 UTC+0600 April White (bright.tigra gmail.com) * contrib\hbblat\blatcls.prg * METHOD Check() CLASS HBBlat -> METHOD PROCEDURE * contrib\hbgd\gdimage.prg * METHOD Destruct() CLASS GDImage -> METHOD PROCEDURE * contrib\xhb\hblog.prg * METHOD Open() CLASS HB_Logger -> METHOD PROCEDURE * METHOD Close() CLASS HB_Logger -> METHOD PROCEDURE * METHOD Log( cMessage, nPriority ) CLASS HB_Logger -> METHOD PROCEDURE * METHOD Log( nStyle, cMessage, cName, nPriority ) CLASS HB_LogChannel -> METHOD PROCEDURE * METHOD Send( nStyle, cMessage, cName, nPriority ) CLASS HB_LogConsole -> METHOD PROCEDURE * METHOD Send( nStyle, cMessage, cName, nPriority ) CLASS HB_LogDebug -> METHOD PROCEDURE * contrib\xhb\stream.prg * METHOD CopyTo( oTargetStream ) CLASS TStream -> METHOD PROCEDURE * METHOD Finalize CLASS TStreamFileReader -> METHOD PROCEDURE * METHOD Finalize CLASS TStreamFileWriter -> METHOD PROCEDURE * METHOD WriteByte( cByte ) CLASS TStreamFileWriter -> METHOD PROCEDURE * contrib\xhb\ttable.prg * METHOD GET() CLASS HBRecord -> METHOD PROCEDURE * METHOD Put() CLASS HBRecord -> METHOD PROCEDURE * METHOD DBMove( nDirection ) CLASS HBTable -> METHOD PROCEDURE * METHOD READ( lKeepBuffer ) CLASS HBTable -> METHOD PROCEDURE * METHOD ReadBlank( lKeepBuffer ) CLASS HBTable -> METHOD PROCEDURE * METHOD AddField( f, t, l, d ) CLASS HBTable -> METHOD PROCEDURE * METHOD Gentable() CLASS HBTable -> METHOD PROCEDURE * METHOD Create() CLASS HBOrder -> METHOD PROCEDURE 2009-06-22 20:38 UTC+0600 April White (bright.tigra gmail.com) * examples/hbextern/hbextern.prg * significant re-implementation ; with no params will work like original version ; processes source files with LF terminators ; params to control: recursion, include 'conditions', include classes, include class methods/etc ; execute with -? or --help 2009-06-23 02:19 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg * Restored HB_COMPILE() first parameter. This time it's 'harbour' instead of empty string. 2009-06-23 02:15 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/compiler/hbcmplib.c * removed automatically set 1st parameter in hb_compile*() functions so user can control it from .prg code 2009-06-23 01:56 UTC+0200 Viktor Szakats * INSTALL + Added information about C/C++ mode defaults. * contrib/xhb/xhberr.prg + Some internal xhb functions added. (from xhb repo) 2009-06-23 00:36 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Deleted first empty string parameter passed to HB_COMPILE() function. AFAIR it seems it was needed so far (or was ignored, but I've put it there for some reason), but after recent fix, it's interpreted as empty filename, which seems logical. 2009-06-23 00:08 UTC+0200 Viktor Szakats * external/sqlite3/sqlite3.c * external/sqlite3/sqlite3.h * sqlite upgraded to 3.6.15 (from 3.6.14.2) 2009-06-22 23:39 UTC+0200 Viktor Szakats * source/rtl/getsys.prg ! GETACTIVE() function fixed to work even if an app manages getlist on its own. In this case GETACTIVE() will maintain the GET object in its own STATIC variable. This should fix the SuperLib problem reported by Bruno Luciani. * examples/superlib/hbsuper.dif + Will now automatically enable CLIPPER53 protected code if Harbour was built with HB_COMPAT_C53 setting. This enables SuperLib to use C53's build-in mouse functions. 2009-06-22 23:13 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/compiler/hbcmplib.c ! fixed reverted order of parameters passed in arrays and missing last parameter 2009-06-22 22:25 UTC+0200 Viktor Szakats * INSTALL ! Typo in prev. * contrib/gtwvg/gtwvg.c * contrib/hbwin/win_prn2.c ! Suppressed two mingw/C++ warnings. * examples/superlib/hbsuper.hbp * lib name changed to 'super' (from 'superlib') to match the lib name of the Cl*pper version. * examples/superlib/readme.txt * Minor text correction. 2009-06-22 21:30 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/lang.c % simplified HB_USERLANG() code * harbour/include/hbdefs.h * use inline functions for HB_PUT_PTR() and HB_GET_PTR() macros in GCC builds. It makes GCC builds alignment free and fixes the problem with broken strict aliasing rules. * harbour/include/hbwmain.c * casting 2009-06-22 17:16 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Always escape filenames/paths if they contain "-" char. (on Windows). (this could recently cause a regression with BCC) * include/hbapi.h ! Missded change from previous commit. * bin/postinst.bat + hbrun is now built also in non-dll mode at the end of the build process, so it gets built with the icon. Probably we should switch to using hbmk2 to build these extra tools, eventually. 2009-06-22 17:06 UTC+0200 Viktor Szakats * source/rtl/lang.c * source/rtl/isprint.c * contrib/hbwin/win_prn2.c ! Fixed most mingw/C++ warnings: warning: deprecated conversion from string constant to 'char*' * Added 'const' to hb_PrinterIsReady() string parameter. ; Please review me. ; FIXME: These remain of this type of warning: ../../../../../include/hbwmain.c:78: warning: deprecated conversion from string constant to 'char*' ../../ctnet.c:182: warning: deprecated conversion from string constant to 'char*' ../../print.c:204: warning: deprecated conversion from string constant to 'char*' ../../print.c:205: warning: deprecated conversion from string constant to 'char*' ../../win_prn2.c:437: warning: deprecated conversion from string constant to 'CHAR*' ../../../maindllp.c:429: warning: deprecated conversion from string constant to 'char*' ../../../maindllp.c:454: warning: deprecated conversion from string constant to 'char*' * contrib/gtwvg/wincallb.c ! Added cast to avoid error in mingw/C++ mode. Thanks Pritpal, it worked. * contrib/gtwvg/Makefile + Reenabled for mingw/C++ 2009-06-22 16:05 UTC+0200 Viktor Szakats * contrib/gtwvg/Makefile ! Typo in prev. * INSTALL - config/linux/gpp.cf - Deleted HB_COMPILER=gpp. Please use HB_BUILD_MODE=cpp which works with all compilers. 2009-06-22 15:48 UTC+0200 Viktor Szakats * contrib/gtwvg/Makefile ! Disabled for mingw C++ mode. Due to fatal errors reported to the dev list. ; FIXME * contrib/hbwin/hbwinole.h ! Fixed for mingw C++ mode. + package + package/harbour.ico + Added harbour.ico to central place. * utils/hbmk2/hbmk2.prg - Deleted support for HB_COMPILER=gpp. Use -cpp switch instead. - utils/hbrun/hbrun.ico * utils/hbrun/hbrun.rc * Using central harbour.ico. * mpkg_win.nsi + Added Harbour icon to the installer executable. 2009-06-22 15:23 UTC+0200 Viktor Szakats * INSTALL + Documented HB_BUILD_MODE envvar. 2009-06-22 15:03 UTC+0200 Viktor Szakats * config/hpux/gcc.cf * config/sunos/gcc.cf * config/bsd/gcc.cf * config/darwin/gcc.cf * config/dos/djgpp.cf * config/win/cygwin.cf * config/win/mingw.cf * config/win/bcc.cf * config/linux/gcc.cf * config/linux/icc.cf * config/os2/gcc.cf * config/wce/mingwarm.cf * config/win/icc.cf + Added support for HB_BUILD_MODE=cpp for all platforms where it's available. Now it's about in sync with hbmk2. * config/linux/gpp.cf * Changed to set HB_BUILD_MODE=cpp and redirect to gcc. (retained for compatibility, pls use HB_BUILD_MODE=cpp instead of HB_COMPILER=gpp) * config/win/gcc.cf * Now redirected to mingw (was cygwin). 2009-06-22 13:35 UTC+0200 Viktor Szakats * utils/hbrun/hbrun.hbp + utils/hbrun/hbrun.rc + utils/hbrun/hbrun.ico + Added Harbour icon to hbrun executable (on Windows). Thanks to Vailton Renato for the .ico. 2009-06-22 12:45 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/utils/hbmk2/hbmk2.prg ! fixes in blinker file processing 2009-06-22 11:25 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.pt_BR.po * utils/hbmk2/hbmk2.hu_HU.po * Refreshed from source. * utils/hbmk2/hbmk2.prg + Added support for Blinker commands MAP and NOBELL. (untested) + upx.exe is recognized and used if put in directory of hbmk2.exe. ! used upx executable name now depends on host platform rather than target platform. This may allow using it in cross-platform situations (I'm not sure if Linux UPX supports compressing Windows executables). - Deleted some FIXME/TODO comments which are no longer relevant. * contrib/xpp/xpp.ch + Added IsPrinter() translation. 2009-06-21 22:15 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/hbxbp/Makefile * harbour/contrib/hbxbp/xbplistbox.prg * harbour/contrib/hbxbp/xbpmenubar.prg * harbour/contrib/hbxbp/xbpmle.prg * harbour/contrib/hbxbp/xbppushbutton.prg * harbour/contrib/hbxbp/xbptabpage.prg * harbour/contrib/hbxbp/xbptoolbar.prg * harbour/contrib/hbxbp/xbptreeview.prg * harbour/contrib/hbxbp/xbpwindow.prg ! Implemented full blown XbpTreeView(). Now it is near equal to Xbase++ one. Please test. + Started to implement Xbase++ concept of Presentation Parameters the QT's recommended way through Style Sheets. In the first phase Xbase++ compatible attributes will be implemented. Next phase will empower user to design application level Style Sheets. + harbour/contrib/hbxbp/xbpstyle.prg + Started to build a Style Sheet * harbour/contrib/hbxbp/tests/demoxbp.prg + Demonstrated the extensions to XbpParts the way GUI components will be managed as per look and feel. NOTE: Style Sheet implementation is on the concept level yet and is subject to heavy changes per namespace, class hirarchy and allied matters. Also it is not Xbase++ compatible. I am trying to implement Presentation Parameters through this mechanism and so far progress is quite satisfactory. 2009-06-21 22:11 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/hbqt/hbqt_slots.cpp * harbour/contrib/hbqt/hbqt_slots.h * harbour/contrib/hbqt/moc_slots.cpp + Added more event handlers. 2009-06-21 20:54 UTC+0200 Viktor Szakats * INSTALL + Added iccia64 build example. * source/vm/fm.c + Added C++ new/delete operator override to hb_xgrab()/hb_xfree(). Thanks to Xavi. Please make any required correction, I didn't do tests with it. * utils/hbmk2/hbmk2.prg + Added support for linux/icc compiler. (untested) ; Tested win/icc support (static exe, shared exe, lib, dll). It worked, except that in shared mode it will display this, when the MinGW built .dll is used (instead of its own): Unrecoverable error 9012: Can't locate the starting procedure: 'MAIN' 2009-06-21 11:42 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/hbxbp/xbpcombobox.prg ! Changed inheritance to avoid duplicate objects. * harbour/contrib/hbxbp/xbpdataref.prg ! SetData() method normalized. * harbour/contrib/hbxbp/xbptabpage.prg ! Commented out hide(), show() calls. Not needed for QT. * harbour/contrib/hbxbp/xbpwindow.prg ! Optimizations. * harbour/contrib/hbxbp/xbptreeview.prg + Implemented XbpTreeView() class - a work-in-progress but basics working. * harbour/contrib/hbxbp/tests/demoxbp.prg + Demonstrated XbpTreeView() implementation. Please review. 2009-06-21 13:05 UTC+0200 Viktor Szakats * INSTALL * make_gnu.bat * utils/hbmk2/hbmk2.prg * Updated to reflect new mingw w64 CCPREFIX. It's now in "prerelease" state (formerly "experimental") * INSTALL ! Added missing HB_CCPREFIX for mingw64 and mingwarm examples. 2009-06-21 12:55 UTC+0200 Viktor Szakats * source/rtl/binnumx.c * contrib/xpp/binnumx.c + Added F2BIN() and BIN2F() Xbase++ functions. Code is the same as FTOC() and CTOF() in hbct. 2009-06-21 12:48 UTC+0200 Viktor Szakats * contrib/hbxbp/xbp.ch + Fixed non-debug branch to work in both normal code and codeblocks. Thanks Przemek. * Changed debug macro to generate portable HB_TRACESTRING() calls by default. This is very easy to use in default Harbour builds. To enable it's enough to set HB_TR_OUTPUT to the output filename to be used by trace calls: set HB_TR_OUTPUT=trace.log NOTE to Pritpal: To keep using special Windows debug output you need to also add -D__HB_WINDEBUG__ to HB_USER_PRGFLAGS. ; TODO: Would it be possible to add timestamp to our HB_TRACE() calls? At least the user level (HB_TRACESTRING()) ones, if that would make low-level too slow. * contrib/hbxbp/tests/demoxbp.prg + Readded HB_OUTDEBUG() calls. 2009-06-21 11:05 UTC+0200 Viktor Szakats * contrib/hbxbp/xbp.ch ! Restored non-debug behavior due to other problems. Now it won't work in codeblock though. * contrib/hbxbp/tests/demoxbp.prg ! Deleted debug calls from codeblocks in the meantime. 2009-06-21 10:15 UTC+0200 Viktor Szakats * contrib/hbxbp/xbp.ch ! Fixed for non-debug. Currently it's suboptimal as non-debug mode will generate extra code in binaries. ; FIXME [DONE] + Added non-Windows specific debug mode by enabling __HB_NOWINDEBUG__ macro. This may change in the future to the default, also names may change in the future. * contrib/hbqt/hbqt_utils.cpp * hb_par*() -> hb_parv*() * utils/hbmk2/hbmk2.prg % Minor opt to prev. 2009-06-21 08:26 UTC+0200 Viktor Szakats * source/vm/extend.c * Minor formatting. * source/rtl/mlcfunc.c ! Fixed warning in HB_C52_STRICT mode. * contrib/hbxbp/xbp.ch ! Fixed HB_OUTDEBUG() macro to work also in codeblocks when not in debug mode, and also to better handle the case when parameter is a variable. * ChangeLog + Added incompat NOTE to hb_par*/hb_stor*() change. 2009-06-21 07:05 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/mlcfunc.c ! fixed missing ulLen declaration in if() branch % restored a little bit optimized Viktor's code - now it's safe to call hb_par*() expecting default value on wrong type even if given parameter is array 2009-06-20 21:05 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/hbxbp/Makefile * harbour/contrib/hbxbp/xbp.ch + harbour/contrib/hbxbp/xbpcombobox.prg * harbour/contrib/hbxbp/xbpdataref.prg * harbour/contrib/hbxbp/xbpsle.prg + harbour/contrib/hbxbp/xbptreeview.prg * harbour/contrib/hbxbp/xbpwindow.prg + Implemented XbpComboBox() class. + Added XbpTreeView() class skelton. * harbour/contrib/hbxbp/tests/demoxbp.prg + Demonstrated XbpComboBox() implementation. NOTE: I am not sure about the way I am simulating Xbase++ class behavior. Can someone review xbpcombobox.prg and see if this can be improved. I am not well equipped as far as classes can be exploited to full extent. 2009-06-20 21:01 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/hbqt/hbqt_slots.cpp ! A fix non-sense. 2009-06-20 22:24 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapi.h * harbour/source/vm/extend.c * renamed existing hb_par*() and hb_stor*() functions which supports variable number of parameters (...) into hb_parv*() and hb_storv*() * added new hb_par*() and hb_stor*() functions which use strict number of parameters. New hb_par*() functions do not make hidden conversion between types, e.g. hb_parl() returns 1 only for logical parameters which contain .T. * harbour/include/extend.api * map Clipper _par*() functions to hb_parv*() * map Clipper _stor*() functions to hb_storv*() * harbour/source/vm/dynsym.c * harbour/source/vm/hvm.c * harbour/source/vm/maindllp.c * harbour/source/vm/thread.c * harbour/source/vm/classes.c * harbour/source/rtl/cdpapi.c * harbour/source/rtl/mlcfunc.c * harbour/contrib/hbnf/dispc.c * harbour/contrib/hbnf/mouse.c * harbour/contrib/hbnf/getenvrn.c * harbour/contrib/hbhpdf/harupdf.c * harbour/contrib/gtwvg/wvgcuig.c * harbour/contrib/gtwvg/wvgwin.c * harbour/contrib/gtwvg/wvgutils.c * harbour/contrib/gtwvg/wvgcore.c * harbour/contrib/gtwvg/wvgwing.c * harbour/contrib/rddads/adsfunc.c * harbour/contrib/rddads/ads1.c * harbour/contrib/rddads/adsmgmnt.c * harbour/contrib/hbmisc/hb_f.c * harbour/contrib/hbwin/wapi_commctrl.c * replaced hb_par*() and hb_stor*() calls used with additional parameters by hb_parv*() and hb_storv*() TODO: update examples/hbwhat/*.c files ; NOTE: INCOMPATIBLE. You'll need to modify hb_par*()/hb_stor*() instances where they are used with extra parameter to hb_parv*()/hb_storv*(). [vszakats] ; NOTE: INCOMPATIBLE. hb_parnl() no longer pulls the value of date types. If you want to retrieve date as numeric value, use hb_pardl(). hb_parl() will no longer consider numeric non-zero values as true. [vszakats] * harbour/examples/uhttpd2/socket.c * harbour/examples/httpsrv/socket.c * changed hb_parni() to hb_parnidef() * harbour/source/vm/itemapi.c * removed some conversion which are not necessary for CA-Cl*pper compatibility * harbour/source/macro/macrolex.c * replaced HB_LEX_IS*() macros by by HB_IS*() ones 2009-06-20 12:01 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/hbxbp/xbpdataref.prg + harbour/contrib/hbxbp/xbpspinbutton.prg * harbour/contrib/hbxbp/xbptoolbar.prg + Added XbpSpinButton() class [P] Two features left. * harbour/contrib/hbxbp/tests/demoxbp.prg + Demoonstrated XbpSpinButton() implementation - Click Tab#3 2009-06-20 20:31 UTC+0200 Viktor Szakats * source/vm/fm.c ! Renamed s_fInited to s_fInitedFM to avoid collision with similarly named variable in estack.c when using HB_FM_STATISTICS and HB_HVM_ALL at the same time. Thanks Xavi for the find. 2009-06-20 20:10 UTC+0200 Viktor Szakats * source/rtl/mlcfunc.c ! Fixed after prev optimization. (some optimizations were kept, but with no change of functionality) 2009-06-20 17:25 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added experimental filename escaping for *nix systems. Currently only space is escaped. I'd like to ask *nix users to make that complete. TODO: For speed and completeness, maybe such escaping (quoting) function would come handy in RTL. Przemek, it would be great if you could add one if you agree. TODO: It should also be enabled for linux/watcom, but I cannot test this. ! Minor addition to Windows escaping in ArrayToList(). 2009-06-20 16:39 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg % Reworked space in filename support to be generic. Now all Windows compilers have it turned on, and this is the only mode of escaping currently implemented (it may also need to be revised). For MinGW it's only turned on when host and target are both Windows. Notice that MinGW has a few bugs regarding filename handling, which means you cannot use spaces in Harbour install path when also using input resource files and you cannot use spaces as input lib names. + Added space in filename support for external Harbour compiler. ! Fixed not to create working dir, if it's set empty. * Minor formatting/cleanup. 2009-06-20 12:16 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added win/pocc* and win/watcom support for input/output filenames containing spaces. * contrib/hbxbp/tests/demoxbp.prg ! Fixed a warning. * ChangeLog * Item marked DONE. 2009-06-20 02:40 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/hbxbp/Makefile ! Deleted files were not deleted from make tree. 2009-06-20 02:40 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) - harbour/contrib/hbxbp/apig.ch - harbour/contrib/hbxbp/xbp_temp.prg - Delted dummy constants and functions. * harbour/contrib/hbxbp/Makefile * harbour/contrib/hbxbp/xbp.ch * harbour/contrib/hbxbp/xbp3state.prg * harbour/contrib/hbxbp/xbpcheckbox.prg * harbour/contrib/hbxbp/xbpdataref.prg * harbour/contrib/hbxbp/xbpdialog.prg * harbour/contrib/hbxbp/xbpgeneric.prg * harbour/contrib/hbxbp/xbplistbox.prg * harbour/contrib/hbxbp/xbpmenubar.prg + harbour/contrib/hbxbp/xbpmle.prg * harbour/contrib/hbxbp/xbpparthandler.prg * harbour/contrib/hbxbp/xbppushbutton.prg * harbour/contrib/hbxbp/xbpradiobutton.prg * harbour/contrib/hbxbp/xbpscrollbar.prg * harbour/contrib/hbxbp/xbpsle.prg * harbour/contrib/hbxbp/xbpstatusbar.prg * harbour/contrib/hbxbp/xbptabpage.prg * harbour/contrib/hbxbp/xbptoolbar.prg * harbour/contrib/hbxbp/xbpwindow.prg ! Cleaned classes from dummy constants and functions. + Implemented XhbMLE() class - a work-in-progress but mainly functional. * harbour/contrib/hbxbp/tests/demoxbp.prg ! Demonstrated XbpMLE() implementation - click on tab#2. 2009-06-20 02:34 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/hbqt/hbqt.ch * harbour/contrib/hbqt/hbqt_qlineedit.cpp * harbour/contrib/hbqt/moc_slots.cpp * harbour/contrib/hbqt/TQLineEdit.prg + Added few more constants. ! QLineEdit() - removed experimental function 2009-06-20 11:36 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added support for input/output filenames containing spaces. Only for msvc and bcc so far. ! Fixed to always delete target lib in -hblib + non-incremental mode before creating it. + Small miracles of life: Microsoft finally added /nologo switch to resource compiler in MSVC 2010. Hard to believe, but true. Now I'll have to find out what method to use to detect C compiler version to enable it. + Support for HB_COMPILER_VER envvar to tell hbmk2 what C compiler version is expected. Currently only used with MSVC targets. Use values like: - 710 (for MSVC .NET 2003) - 800 (for MSVC 2005) - 900 (for MSVC 2008) - 1000 (for MSVC 2010) The generic format is <99><99>[.<99>] as <major><minor>[.<revision>]. That makes BCC 5.5.1 '505.1' or shortly '505'. Currently the only situation where such switch is necessary is when using pre-8.0 MSVC versions, so most users don't have to bother with this for now. NOTE: Harbour GNU Make compatible HB_VISUALC_VER_PRE80 envvar still supported to stay uniform. + Added /nologo switch to MSVC lib command. ! Protect against adding internally inherited C compiler switches, if they are already on the switch list. * tests/testhrb.prg ! Adapted to latest hbhrb.ch changes. * tests/setkeys.prg * Minor formatting. 2009-06-20 04:57 UTC+0200 Viktor Szakats * contrib/hbxbp/xbp.ch * contrib/hbxbp/xbpscrollbar.prg * contrib/hbxbp/xbpsle.prg * contrib/hbxbp/xbplistbox.prg * contrib/hbxbp/xbpcheckbox.prg * contrib/hbxbp/xbpradiobutton.prg * contrib/hbxbp/xbptabpage.prg * contrib/hbxbp/xbpwindow.prg * contrib/hbxbp/xbpstatusbar.prg * contrib/hbxbp/xbppushbutton.prg * Moved these constants to HBXBP_ namespace as they don't seem to be defined by Xbase++: - EVENT_HANDELLED -> HBXBP_EVENT_HANDLED - EVENT_UNHANDELLED -> HBXBP_EVENT_UNHANDLED ! Using manifest constants instead of literals. ; FIXME: AFAICS these macros and headers are also not Xbase++ ones: - apig.ch - DA_MODE - objType* If so, these should be resolved. [DONE] 2009-06-20 04:36 UTC+0200 Viktor Szakats * contrib/hbqt/hbqt_slots.cpp ! Deleted readded windows.h. ; QUESTION: Is there any way to enforce such headers aren't included in these portable sources? * contrib/hbxbp/hbxbp.hbc ! Deleted hbwin lib. ; Pritpal, please use some other means to add hbwin. hbxbp is a portable lib, so it mustn't depend on hbwin. Use HB_USER_LIBS envvar, or pass it via command line, use a local batch file, or add a local .hbc file in your test dir with 'libs=hbwin' line only. These will not cause problems for other users and will add hbwin lib in your local environment. 2009-06-19 19:32 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/hbxbp/hbxbp.hbc * harbour/contrib/hbxbp/Makefile * harbour/contrib/hbxbp/xbpdataref.prg * harbour/contrib/hbxbp/xbpgeneric.prg + harbour/contrib/hbxbp/xbpsle.prg * harbour/contrib/hbxbp/xbpwindow.prg * harbour/contrib/hbxbp/tests/demoxbp.prg + Implemented XbpSLE() class. This implementation is almost 95% identical to Xbase++. One or two features remain to be implemented. Please test and report back the differences. 2009-06-19 19:23 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/hbqt/generator/qt45.qtp * harbour/contrib/hbqt/hbqt.ch * harbour/contrib/hbqt/hbqt.h + harbour/contrib/hbqt/hbqt_qfocusevent.cpp * harbour/contrib/hbqt/hbqt_qlineedit.cpp * harbour/contrib/hbqt/hbqt_slots.cpp * harbour/contrib/hbqt/hbqt_slots.h * harbour/contrib/hbqt/Makefile_gen * harbour/contrib/hbqt/moc_slots.cpp + harbour/contrib/hbqt/TQFocusEvent.prg * harbour/contrib/hbqt/TQLineEdit.prg + harbour/contrib/hbqt/qth/QFocusEvent.qth + Added one more class and tweaked others. + Added generic event handler ( Code provided by Marcos Gambeta - thanks ) Event handler code has been optimized to free memory and be reusable. 2009-06-20 04:22 UTC+0200 Viktor Szakats * source/rtl/mlcfunc.c % Minor optimization to EOL parameter handling. Please review. * source/rtl/dates.c ! Fixed warning with cast. * contrib/hbwin/win_misc.c + Enabled WIN_LOWORD(), WIN_HIWORD(). Added casts. - examples/wxh - Deleted empty dir. Will readd when moving wxh lib here. 2009-06-20 03:47 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/runner.c ! fixed possible static function overloading 2009-06-19 23:02 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + .hbl files will be created relative to target executable directory if it was specified. If not, it will be created relative to .hbm file dir, or hbmk2 launch dir (as before). 2009-06-19 22:04 UTC+0200 Viktor Szakats * config/darwin/gcc.cf ! LIBTOOHB_USER_LDFLAGS -> HB_USER_AFLAGS 2009-06-19 21:54 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Enabled 'comp' subdir for embedded C compiler storage (on Windows / DOS / possibly OS/2). 2009-06-19 21:28 UTC+0200 Viktor Szakats * contrib/gtwvg/wvgscrlb.prg * contrib/gtwvg/wvgclass.prg * contrib/gtwvg/wvgdlg.prg * contrib/gtwvg/wvgax.prg * contrib/gtwvg/wvgpaint.prg * contrib/gtwvg/wvgdarea.prg * contrib/gtwvg/wvgmle.prg * contrib/gtwvg/wvglistb.prg * contrib/gtwvg/wvgtoolb.prg * contrib/gtwvg/wvgpushb.prg * contrib/gtwvg/wvgsle.prg * contrib/gtwvg/wvgtreev.prg * contrib/gtwvg/wvgwin.c * contrib/gtwvg/tests/demoxbp.prg * contrib/gtwvg/tests/demowvg.prg * contrib/gtwvg/wvgcrt.prg * contrib/gtwvg/wvgwnd.prg * contrib/gtwvg/wvgutils.c * contrib/gtwvg/wvgdatar.prg * contrib/gtwvg/wvgradio.prg * contrib/gtwvg/wvgsysw.prg * contrib/gtwvg/wvgmenub.prg * contrib/gtwvg/wvgphdlr.prg * contrib/gtwvg/wvgbitmp.prg * contrib/gtwvg/wvgcheck.prg * contrib/gtwvg/wvgstatb.prg * contrib/gtwvg/wvgstatc.prg * contrib/gtwvg/wvgtabpg.prg * contrib/gtwvg/wvg3stat.prg * Renamed WIN_* namespace functions to WVG_* namespace. (CamelCase retained) ! Fixed WIN_SETBKMODE() being used from hbwin lib in tests. % Deleted hbwin lib dependency from tests. ; TODO: Rewrite wvgwin.c content to comply with general WAPI guidlines and move them to hbwin. All this is optional, but it would help reducing redunancy and providing better Windows API. ; NOTE: Incompatible. Pls use this script to convert your source: Get 'gsar' from here: https://gnuwin32.sourceforge.io/packages/gsar.htm --- gsar -i -o -sWIN_SENDMESSAGE( -rWVG_SendMessage( *.prg gsar -i -o -sWIN_SENDDLGITEMMESSAGE( -rWVG_SendDlgItemMessage( *.prg gsar -i -o -sWIN_SETTIMER( -rWVG_SetTimer( *.prg gsar -i -o -sWIN_SETFOCUS( -rWVG_SetFocus( *.prg gsar -i -o -sWIN_SETTEXTCOLOR( -rWVG_SetTextColor( *.prg gsar -i -o -sWIN_SETBKCOLOR( -rWVG_SetBkColor( *.prg gsar -i -o -sWIN_SETBKMODE( -rWVG_SetBkMode( *.prg gsar -i -o -sWIN_GETSTOCKOBJECT( -rWVG_GetStockObject( *.prg gsar -i -o -sWIN_DELETEOBJECT( -rWVG_DeleteObject( *.prg gsar -i -o -sWIN_SELECTOBJECT( -rWVG_SelectObject( *.prg gsar -i -o -sWIN_LOWORD( -rWVG_LOWORD( *.prg gsar -i -o -sWIN_HIWORD( -rWVG_HIWORD( *.prg gsar -i -o -sWIN_MULDIV( -rWVG_MulDiv( *.prg gsar -i -o -sWIN_GETDIALOGBASEUNITS( -rWVG_GetDialogBaseUnits( *.prg gsar -i -o -sWIN_SETDLGITEMTEXT( -rWVG_SetDlgItemText( *.prg gsar -i -o -sWIN_GETDLGITEMTEXT( -rWVG_GetDlgItemText( *.prg gsar -i -o -sWIN_CHECKDLGBUTTON( -rWVG_CheckDlgButton( *.prg gsar -i -o -sWIN_ISDLGBUTTONCHECKED( -rWVG_IsDlgButtonChecked( *.prg gsar -i -o -sWIN_CHECKRADIOBUTTON( -rWVG_CheckRadioButton( *.prg gsar -i -o -sWIN_GETDLGITEM( -rWVG_GetDlgItem( *.prg gsar -i -o -sWIN_MESSAGEBOX( -rWVG_MessageBox( *.prg gsar -i -o -sWIN_INVALIDATERECT( -rWVG_InvalidateRect( *.prg gsar -i -o -sWIN_LOADICON( -rWVG_LoadIcon( *.prg gsar -i -o -sWIN_LOADIMAGE( -rWVG_LoadImage( *.prg gsar -i -o -sWIN_GETCLIENTRECT( -rWVG_GetClientRect( *.prg gsar -i -o -sWIN_DRAWIMAGE( -rWVG_DrawImage( *.prg gsar -i -o -sWIN_GETDC( -rWVG_GetDC( *.prg gsar -i -o -sWIN_RELEASEDC( -rWVG_ReleaseDC( *.prg gsar -i -o -sWIN_CREATEBRUSH( -rWVG_CreateBrush( *.prg gsar -i -o -sWIN_DRAWTEXT( -rWVG_DrawText( *.prg gsar -i -o -sWIN_GETWINDOWRECT( -rWVG_GetWindowRect( *.prg gsar -i -o -sWIN_MOVEWINDOW( -rWVG_MoveWindow( *.prg gsar -i -o -sWIN_GETDESKTOPWINDOW( -rWVG_GetDesktopWindow( *.prg gsar -i -o -sWIN_SETPARENT( -rWVG_SetParent( *.prg gsar -i -o -sWIN_BRINGWINDOWTOTOP( -rWVG_BringWindowToTop( *.prg gsar -i -o -sWIN_SETFOREGROUNDWINDOW( -rWVG_SetForeGroundWindow( *.prg gsar -i -o -sWIN_SETWINDOWTEXT( -rWVG_SetWindowText( *.prg gsar -i -o -sWIN_SETWINDOWLONG( -rWVG_SetWindowLong( *.prg gsar -i -o -sWIN_ISWINDOW( -rWVG_IsWindow( *.prg gsar -i -o -sWIN_ENABLEWINDOW( -rWVG_EnableWindow( *.prg gsar -i -o -sWIN_DESTROYWINDOW( -rWVG_DestroyWindow( *.prg gsar -i -o -sWIN_CLIENTTOSCREEN( -rWVG_ClientToScreen( *.prg gsar -i -o -sWIN_SCREENTOCLIENT( -rWVG_ScreenToClient( *.prg gsar -i -o -sWIN_AND( -rWVG_And( *.prg gsar -i -o -sWIN_OR( -rWVG_Or( *.prg gsar -i -o -sWIN_NOT( -rWVG_Not( *.prg gsar -i -o -sWIN_TRACKPOPUPMENU( -rWVG_TrackPopupMenu( *.prg gsar -i -o -sWIN_CHOOSECOLOR( -rWVG_ChooseColor( *.prg gsar -i -o -sWIN_FINDWINDOW( -rWVG_FindWindow( *.prg gsar -i -o -sWIN_SLEEP( -rWVG_Sleep( *.prg gsar -i -o -sWIN_SETMENU( -rWVG_SetMenu( *.prg gsar -i -o -sWIN_CREATEMENU( -rWVG_CreateMenu( *.prg gsar -i -o -sWIN_CREATEPOPUPMENU( -rWVG_CreatePopupMenu( *.prg gsar -i -o -sWIN_APPENDMENU( -rWVG_AppendMenu( *.prg gsar -i -o -sWIN_DELETEMENU( -rWVG_DeleteMenu( *.prg gsar -i -o -sWIN_DESTROYMENU( -rWVG_DestroyMenu( *.prg gsar -i -o -sWIN_ENABLEMENUITEM( -rWVG_EnableMenuItem( *.prg gsar -i -o -sWIN_CHECKMENUITEM( -rWVG_CheckMenuItem( *.prg gsar -i -o -sWIN_DRAWMENUBAR( -rWVG_DrawMenuBar( *.prg gsar -i -o -sWIN_UPDATEWINDOW( -rWVG_UpdateWindow( *.prg gsar -i -o -sWIN_SHOWWINDOW( -rWVG_ShowWindow( *.prg gsar -i -o -sWIN_MAKELPARAM( -rWVG_MakeLParam( *.prg gsar -i -o -sWIN_CREATEWINDOWEX( -rWVG_CreateWindowEx( *.prg gsar -i -o -sWIN_SENDMESSAGETEXT( -rWVG_SendMessageText( *.prg gsar -i -o -sWIN_GETMESSAGETEXT( -rWVG_GetMessageText( *.prg gsar -i -o -sWIN_SETWNDPROC( -rWVG_SetWndProc( *.prg gsar -i -o -sWIN_DEFWINDOWPROC( -rWVG_DefWindowProc( *.prg gsar -i -o -sWIN_CALLWINDOWPROC( -rWVG_CallWindowProc( *.prg gsar -i -o -sWIN_TREEVIEW_SETTEXTCOLOR( -rWVG_TreeView_SetTextColor( *.prg gsar -i -o -sWIN_TREEVIEW_SETBKCOLOR( -rWVG_TreeView_SetBkColor( *.prg gsar -i -o -sWIN_TREEVIEW_SETLINECOLOR( -rWVG_TreeView_SetLineColor( *.prg gsar -i -o -sWIN_TREEVIEW_SELECTITEM( -rWVG_TreeView_SelectItem( *.prg gsar -i -o -sWIN_TREEVIEW_EXPAND( -rWVG_TreeView_Expand( *.prg gsar -i -o -sWIN_TVIS_EXPANDED( -rWVG_TVIs_Expanded( *.prg gsar -i -o -sWIN_LBGETTEXT( -rWVG_LBGetText( *.prg gsar -i -o -sWIN_LBGETCURSEL( -rWVG_LBGetCurSel( *.prg gsar -i -o -sWIN_LBSETCURSEL( -rWVG_LBSetCurSel( *.prg gsar -i -o -sWIN_BUTTON_GETCHECK( -rWVG_Button_GetCheck( *.prg gsar -i -o -sWIN_ISICONIC( -rWVG_IsIconic( *.prg gsar -i -o -sWIN_ISZOOMED( -rWVG_IsZoomed( *.prg gsar -i -o -sWIN_SETDCBRUSHCOLOR( -rWVG_SetDCBrushColor( *.prg gsar -i -o -sWIN_SETDCPENCOLOR( -rWVG_SetDCPenColor( *.prg gsar -i -o -sWIN_GETCURRENTOBJECT( -rWVG_GetCurrentObject( *.prg gsar -i -o -sWIN_GETCURRENTBRUSH( -rWVG_GetCurrentBrush( *.prg gsar -i -o -sWIN_GETCURRENTFONT( -rWVG_GetCurrentFont( *.prg gsar -i -o -sWIN_SETWINDOWPOSTOBACK( -rWVG_SetWindowPosToBack( *.prg gsar -i -o -sWIN_SETWINDOWPOSTOTOP( -rWVG_SetWindowPosToTop( *.prg gsar -i -o -sWIN_SETWINDOWSIZE( -rWVG_SetWindowSize( *.prg gsar -i -o -sWIN_SETWINDOWPOSITION( -rWVG_SetWindowPosition( *.prg gsar -i -o -sWIN_SETWINDOWPOSANDSIZE( -rWVG_SetWindowPosAndSize( *.prg gsar -i -o -sWIN_SETLAYEREDWINDOWATTRIBUTES( -rWVG_SetLayeredWindowAttributes( *.prg gsar -i -o -sWIN_SENDTOOLBARMESSAGE( -rWVG_SendToolbarMessage( *.prg --- 2009-06-19 20:50 UTC+0200 Viktor Szakats * include/hbhrb.ch ! Minor typo in comment. * contrib/gtwvg/Makefile * contrib/gtwvg/wvgwin.c + contrib/gtwvg/wvgwing.c * Moved WVG_* prefixed functions to separate file. 2009-06-19 18:38 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbhrb.ch * harbour/source/vm/runner.c + added support for HB_HRB_BIND_LAZY flag. Lazy binding with public external functions allows to load .hrb files with unresolved or cross function references. 2009-06-19 10:48 UTC+0600 April White (bright.tigra gmail.com) * contrib\hbblat\blatcls.prg * PROCEDURE Check() CLASS HBBlat -> METHOD returning Self * contrib\hbgd\gdimage.prg * PROCEDURE Destruct() CLASS GDImage -> METHOD returning NIL * contrib\xhb\hblog.prg * PROCEDURE Open() CLASS HB_Logger -> METHOD returning Self * PROCEDURE Close() CLASS HB_Logger -> METHOD returning Self * PROCEDURE Log( cMessage, nPriority ) CLASS HB_Logger -> METHOD returning Self * PROCEDURE Log( nStyle, cMessage, cName, nPriority ) CLASS HB_LogChannel -> METHOD returning Self * PROCEDURE Send( nStyle, cMessage, cName, nPriority ) CLASS HB_LogConsole -> METHOD returning Self * PROCEDURE Send( nStyle, cMessage, cName, nPriority ) CLASS HB_LogDebug -> METHOD returning Self * contrib\xhb\stream.prg * PROCEDURE CopyTo( oTargetStream ) CLASS TStream -> METHOD returning Self * PROCEDURE Finalize CLASS TStreamFileReader -> METHOD returning NIL * PROCEDURE Finalize CLASS TStreamFileWriter -> METHOD returning NIL * PROCEDURE WriteByte( cByte ) CLASS TStreamFileWriter -> METHOD returning Self * contrib\xhb\ttable.prg * PROCEDURE GET() CLASS HBRecord -> METHOD returning Self * PROCEDURE Put() CLASS HBRecord -> METHOD returning Self * PROCEDURE DBMove( nDirection ) CLASS HBTable -> METHOD returning Self * PROCEDURE READ( lKeepBuffer ) CLASS HBTable -> METHOD returning Self * PROCEDURE ReadBlank( lKeepBuffer ) CLASS HBTable -> METHOD returning Self * PROCEDURE AddField( f, t, l, d ) CLASS HBTable -> METHOD returning Self * PROCEDURE Gentable() CLASS HBTable -> METHOD returning Self * PROCEDURE Create() CLASS HBOrder -> METHOD returning Self 2009-06-19 10:16 UTC+0600 April White (bright.tigra gmail.com) * ChangeLog * contrib/hbbtree/doc/hb_btree.txt * contrib/hbbtree/hb_btree.c * contrib/hbbtree/hb_btree.ch * contrib/hbbtree/hb_btree.h * contrib/hbbtree/tbtree.prg * contrib/hbbtree/tests/ctest.c * contrib/hbbtree/tests/test.prg * contrib/hbbtree/tests/ttest.prg * doc/en-EN/set.txt * source/compiler/hbusage.c * source/rtl/setkey.c * tests/setkeys.prg * changed my email address, including old ChangeLog entries 2009-06-19 09:52 UTC+0600 April White (bright.tigra gmail.com) * contrib/hbblat/blatcls.prg * contrib/hbgd/gdimage.prg * contrib/xhb/hblog.prg * contrib/xhb/stream.prg * contrib/xhb/ttable.prg * reverted to 'procedure' declaration as methods fail to compile without a return value; will address this within the new hbextern 2009-06-19 09:20 UTC+0600 April White (bright.tigra gmail.com) * contrib/hbblat/blatcls.prg * contrib/hbgd/gdimage.prg * contrib/xhb/hblog.prg * contrib/xhb/stream.prg * contrib/xhb/ttable.prg * Declare class methods indicated as procedure 2009-06-19 15:18 UTC+0200 Viktor Szakats * config/darwin/gcc.cf ! Fixed a hard-wired 'cc' to be $(HB_CMP) 2009-06-19 15:14 UTC+0200 Viktor Szakats * bin/hb-mkdyn.sh ! Fixed to not use HB_CCPREFIX for libtool command. * utils/hbmk2/hbmk2.prg ! Fixed typo in libtool cmd. * ChangeLog * Items marked DONE. 2009-06-19 15:03 UTC+0200 Viktor Szakats * config/darwin/gcc.cf * Changed to use 'gcc' as compiler name like on other platforms and in hbmk2. For old Darwin systems it may need to be redefined to 'cc' using export HB_CMP=cc. 2009-06-19 14:50 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added basic HB_CCPOSTFIX support. + Switched to use libtool (instead of ar) on darwin. (to be tested after commit) * config/darwin/gcc.cf + Added HB_CCPREFIX support. + Added HB_CCPOSTFIX support. ; Only needed for cc/gcc. * config/linux/gcc.cf + Added HB_CCPREFIX support. 2009-06-19 14:25 UTC+0200 Viktor Szakats * tests/testhrb.prg * tests/exthrb.prg ! Fixed missing SVN props. * ChangeLog ! Removed conflict marker from ChangeLog from a recent commit. ; NOTE: I'd encourage everyone to check doc/howtosvn.txt before committing. * doc/howtosvn.txt + Added link to svn command-line tools. + Added link to svn online documentation (a complete free book) ! Fixed a few svn commands written in uppercase. 2009-06-19 14:09 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) - harbour/include/hbhrb.ch + harbour/include/hbhrb.ch * replaced hbhrb.ch with slightly different version and set SVN attributes: svn:keywords : Author Date Id Revision svn:eol-style : native Now optional HB_HRBLOAD()/HB_HRBRUN() parameter is bitfield and the following predefined values can be used to control function bindings in loaded .hrb files: HB_HRB_BIND_DEFAULT - do not overwrite any functions, ignore public HRB functions if functions with the same names already exist in HVM HB_HRB_BIND_LOCAL - do not overwrite any functions but keep local references, so if module has public function FOO and this function exists also in HVM then the function in HRB is converted to STATIC one HB_HRB_BIND_OVERLOAD - overload all existing public functions HB_HRB_BIND_FORCELOCAL - covert all public functions to STATIC ones Other HB_HRB_* defines will be added in the future * harbour/include/hbvm.h * declared hb_vmSetFunction() as internal function * harbour/source/vm/hvm.c * modified hb_vmSetFunction() to update references also in unused modules. * harbour/source/vm/runner.c * removed CanUnload - it was not fully functional. Modules which overloads public functions cen be unload just like any other ones but unloading does not restore references to overloaded functions. Now such references are simply lost and this should be fixed in the future. + added support for HB_HRB_BIND_FORCELOCAL ! fixed <nOptions> parameter decoding in HB_HRBLOAD() to strictly follow declaration: HB_HRBLOAD( [ <nOptions>, ] <cHrb> [, <xparams,...> ] ) ! fixed init procedures parameters in HB_HRBLOAD() to no pass <nOptions> + added support for <nOptions> to HB_HRBRUN() HB_HRBRUN( [ <nOptions>, ] <cHrb> [, <xparams,...> ] ) -> <retVal> * changed HB_HRBRUN() return value - now it's the result of executed function instead of .T. ! fixed public symbol updating to keep valid references to HB_FS_LOCAL function ! fixed possible memory leak % added const to some char * declarations FIXME/TODO: add support for restoring overloaded functions when module is unloaded. 2009-06-19 11:32 UTC+0200 Viktor Szakats * tests/testhrb.prg * tests/Makefile * include/Makefile * include/hbhrb.ch * source/vm/runner.c ! Added new files to Makefiles. ! Fixed to use hbhrb.ch from .c rather than replicating #defines. (also fixed comments to be ANSI) ! Added self protection to .ch. ! Made .hrb file lowercase in testhrb.prg ! Deleted double license header from .ch. * utils/hbmk2/hbmk2.prg + Added logic to move embedded compilers under a common subdir. To stay compatible with 2.0.0beta1 release I didn't yet set this, but it will be for final release. Probably 'comp', or maybe 'opt'. Sorry for asking for opininons, but they're welcome anyway. 2009-06-19 10:56 UTC+0200 Jean lefebvre (jfl at mafact dot com) * vm/runner.c FIXED ; ../../runner.c:413: error: '_HB_SYMB' undeclared (first use in this function) + include/hbhrb.ch: HB_HRBLOAD() mode #define new file + tests/testhrb.prg: test program fro new params + tests/exthrb.prg: test program to be compiled as .HRB using /gh option 2009-06-19 00:36 UTC+0200 Viktor Szakats * source/vm/runner.c * Formatted. ; FIXME: [DONE] ../../runner.c: In function 'hb_hrbLoad': ../../runner.c:413: error: '_HB_SYMB' undeclared (first use in this function) ../../runner.c:413: error: (Each undeclared identifier is reported only once ../../runner.c:413: error: for each function it appears in.) 2009-06-19 00:23 UTC+0200 Viktor Szakats * . ! Deleted "bugtraq:append" (not mentioned in ChangeLog) property added to main Harbour trunk in: 2009-06-18 21:18 UTC+0200 JF, pls fix this in your SVN client, otherwise next time it will just reappear. Majority of these extensions and dirs aren't present in Harbour source tree since long. 2009-06-19 00:16 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fixed regression from 2009-06-16 15:03 UTC+0200. Thanks Marek. 2009-06-19 00:08 UTC+0200 Viktor Szakats * contrib/gtwvg/gtwvg.c * contrib/gtwvg/wvgcuig.c * contrib/gtwvg/wvgwin.c * contrib/gtwvg/wvgutils.c * contrib/gtwvg/wincallb.c * contrib/gtwvg/Makefile * contrib/gtwvg/wvgcore.c * Reverted to r11403 for Pritpal. (now for real) 2009-06-18 21:18 UTC+0200 Jean lefebvre (jfl at mafact dot com) * vm/runner.c + Added options to HB_HRBLOAD() : HB_HRB_DEFAULT 0 // do not overwrite any functions, ignore // public HRB functions if functions with // the same names already exist in HVM HB_HRB_KEEP_LOCAL 1 // do not overwrite any functions // but keep local references, so // if module has public function FOO and // this function exists also in HVM // then the function in HRB is converted // to STATIC one HB_HRB_KEEP_GLOBAL 2 // overload all existing public functions // will disable HB_HRBUNLOAD() * vm/hvm.c + added function hb_vmSetFunction( PHB_SYMB pOldSym, PHB_SYMB pNewSym ) (Thanks to Przemek) * include/hvm.h + added function hb_vmSetFunction( PHB_SYMB pOldSym, PHB_SYMB pNewSym ) (Thanks to Przemek) 2009-06-18 18:25 UTC+0200 Viktor Szakats * contrib/gtwvg/wvgscrlb.prg * contrib/gtwvg/wvgclass.prg * contrib/gtwvg/wvgdlg.prg * contrib/gtwvg/wvgax.prg * contrib/gtwvg/wvgpaint.prg * contrib/gtwvg/wvgdarea.prg * contrib/gtwvg/wvgmle.prg * contrib/gtwvg/wvglistb.prg * contrib/gtwvg/wvgtoolb.prg * contrib/gtwvg/wvgpushb.prg * contrib/gtwvg/wvgsle.prg * contrib/gtwvg/wvgtreev.prg * contrib/gtwvg/wvgwin.c * contrib/gtwvg/tests/demoxbp.prg * contrib/gtwvg/tests/demowvg.prg * contrib/gtwvg/wvgcrt.prg * contrib/gtwvg/wvgwnd.prg * contrib/gtwvg/wvgutils.c * contrib/gtwvg/wvgdatar.prg * contrib/gtwvg/wvgradio.prg * contrib/gtwvg/wvgsysw.prg * contrib/gtwvg/wvgmenub.prg * contrib/gtwvg/wvgphdlr.prg * contrib/gtwvg/wvgbitmp.prg * contrib/gtwvg/wvgcheck.prg * contrib/gtwvg/wvgstatb.prg * contrib/gtwvg/wvgstatc.prg * contrib/gtwvg/wvgtabpg.prg * contrib/gtwvg/wvg3stat.prg * Reverted to r11403 for Pritpal. 2009-06-18 18:18 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added -skip option support to .hbm files. 2009-06-18 16:14 UTC+0600 April White (bright.tigra gmail.com) * source/rtl/mlcfunc.c * detect if parameter is a string vs array * allocate memory for the array before resetting the counter 2009-06-18 14:21 UTC+0200 Viktor Szakats * contrib/hbct/Makefile - contrib/hbct/dattime4.c - contrib/xpp/datesx.c * contrib/xpp/Makefile * Delete 2009-06-18 00:32 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtwvg/wvg3stat.prg * harbour/contrib/gtwvg/wvgax.prg * harbour/contrib/gtwvg/wvgbitmp.prg * harbour/contrib/gtwvg/wvgcheck.prg * harbour/contrib/gtwvg/wvgclass.prg * harbour/contrib/gtwvg/wvgcrt.prg * harbour/contrib/gtwvg/wvgdarea.prg * harbour/contrib/gtwvg/wvgdatar.prg * harbour/contrib/gtwvg/wvgdlg.prg * harbour/contrib/gtwvg/wvglistb.prg * harbour/contrib/gtwvg/wvgmenub.prg * harbour/contrib/gtwvg/wvgmle.prg * harbour/contrib/gtwvg/wvgpaint.prg * harbour/contrib/gtwvg/wvgphdlr.prg * harbour/contrib/gtwvg/wvgpushb.prg * harbour/contrib/gtwvg/wvgradio.prg * harbour/contrib/gtwvg/wvgscrlb.prg * harbour/contrib/gtwvg/wvgsle.prg * harbour/contrib/gtwvg/wvgstatb.prg * harbour/contrib/gtwvg/wvgstatc.prg * harbour/contrib/gtwvg/wvgsysw.prg * harbour/contrib/gtwvg/wvgtabpg.prg * harbour/contrib/gtwvg/wvgtoolb.prg * harbour/contrib/gtwvg/wvgtreev.prg * harbour/contrib/gtwvg/wvgutils.c * harbour/contrib/gtwvg/wvgwin.c * harbour/contrib/gtwvg/wvgwnd.prg * harbour/contrib/gtwvg/tests/demowvg.prg * harbour/contrib/gtwvg/tests/demoxbp.prg - WIN_* Namespace. + WVG_* Namespace. First pass isolating WIN_* namespace to WVG_ namespace. NOTE: This needs change in your sources if you happen to use WIN_*() functions. If not you need not to worry. 2009-06-18 09:20 UTC+0200 Viktor Szakats * contrib/hbct/Makefile + contrib/hbct/dattime4.c * contrib/hbct/datetime.c * Moved STOD() into separate file to avoid linking problems when HB_COMPAT_XPP is defined. ! Removed HB_COMPAT_XPP protection. No longer needed. ! Restored my copyright for STOD(). * Updated STOD() content with core code. ; FIXME: ? Probably it would be best to remove this function from here, otherwise it may just create syncing problems. Also from xpp lib. Opinions? [DONE] * contrib/xpp/xpp.ch + Now defining HB_COMPAT_XPP. This can be helpful to enable some extra XPP feature in our core headers. (unless we find a better solution for this) + Added NOTE to include this header before Harbour ones. 2009-06-18 08:52 UTC+0200 Viktor Szakats * contrib/gtwvg/wvgscrlb.prg * contrib/gtwvg/wvgclass.prg * contrib/gtwvg/wvgdlg.prg * contrib/gtwvg/wvgax.prg * contrib/gtwvg/wvgpaint.prg * contrib/gtwvg/wvgdarea.prg * contrib/gtwvg/wvgmle.prg * contrib/gtwvg/wvglistb.prg * contrib/gtwvg/wvgtoolb.prg * contrib/gtwvg/wvgpushb.prg * contrib/gtwvg/wvgsle.prg * contrib/gtwvg/wvgtreev.prg * contrib/gtwvg/wvgwin.c * contrib/gtwvg/tests/demoxbp.prg * contrib/gtwvg/tests/demowvg.prg * contrib/gtwvg/wvgcrt.prg * contrib/gtwvg/wvgwnd.prg * contrib/gtwvg/wvgutils.c * contrib/gtwvg/wvgdatar.prg * contrib/gtwvg/wvgradio.prg * contrib/gtwvg/wvgsysw.prg * contrib/gtwvg/wvgmenub.prg * contrib/gtwvg/wvgphdlr.prg * contrib/gtwvg/wvgbitmp.prg * contrib/gtwvg/wvgcheck.prg * contrib/gtwvg/wvgstatb.prg * contrib/gtwvg/wvgstatc.prg * contrib/gtwvg/wvgtabpg.prg * contrib/gtwvg/wvg3stat.prg * Reverted to r11403. 2009-06-18 07:39 UTC+0200 Viktor Szakats * examples/superlib/hbsuper.dif ! Fixed CLIPPER function declarations to HB_FUNC(). * ChangeLog * Item marked as DONE. 2009-06-17 16:33 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtwvg/wvg3stat.prg * harbour/contrib/gtwvg/wvgax.prg * harbour/contrib/gtwvg/wvgbitmp.prg * harbour/contrib/gtwvg/wvgcheck.prg * harbour/contrib/gtwvg/wvgclass.prg * harbour/contrib/gtwvg/wvgcrt.prg * harbour/contrib/gtwvg/wvgdarea.prg * harbour/contrib/gtwvg/wvgdatar.prg * harbour/contrib/gtwvg/wvgdlg.prg * harbour/contrib/gtwvg/wvglistb.prg * harbour/contrib/gtwvg/wvgmenub.prg * harbour/contrib/gtwvg/wvgmle.prg * harbour/contrib/gtwvg/wvgpaint.prg * harbour/contrib/gtwvg/wvgphdlr.prg * harbour/contrib/gtwvg/wvgpushb.prg * harbour/contrib/gtwvg/wvgradio.prg * harbour/contrib/gtwvg/wvgscrlb.prg * harbour/contrib/gtwvg/wvgsle.prg * harbour/contrib/gtwvg/wvgstatb.prg * harbour/contrib/gtwvg/wvgstatc.prg * harbour/contrib/gtwvg/wvgsysw.prg * harbour/contrib/gtwvg/wvgtabpg.prg * harbour/contrib/gtwvg/wvgtoolb.prg * harbour/contrib/gtwvg/wvgtreev.prg * harbour/contrib/gtwvg/wvgutils.c * harbour/contrib/gtwvg/wvgwin.c * harbour/contrib/gtwvg/wvgwnd.prg * harbour/contrib/gtwvg/tests/demowvg.prg * harbour/contrib/gtwvg/tests/demoxbp.prg - WIN_* Namespace. + WDW_* Namespace. First pass isolating WIN_* namespace to WDW_ namespace. NOTE: This needs change in your sources if you happen to use WIN_*() functions. If not you need not to worry. 2009-06-18 00:52 UTC+0200 Viktor Szakats * include/hbextern.ch * source/rtl/mousehb.c * source/rdd/rddinfo.c * source/rdd/dbdrop.c * source/rdd/dbexists.c * source/rdd/fieldhb.c * Rest of similar to STOD() status functions also protected with ! HB_C52_STRICT. 2009-06-18 00:33 UTC+0200 Viktor Szakats * include/hbextern.ch * source/rtl/datesx.c * STOD() function not protected by HB_COMPAT_XPP anymore. Instead it's turned off only in HB_C52_STRICT mode. + contrib/xpp/xppextrn.ch + Added. * contrib/hbwin/win_misc.c + Added WIN_HIWORD() and WIN_LOWORD() functions (from GTWVG). But commented because of colliding names. 2009-06-17 23:07 UTC+0200 Viktor Szakats * contrib/hbblat/blatcls.prg ! Added type checks for all params. % File() -> hb_FileExists() * Minor formatting. * source/rtl/browdbx.prg * Minor formatting in comment. * contrib/xpp/Makefile + contrib/xpp/dbcmdx.c + contrib/xpp/tgetx.prg + contrib/xpp/tbcolumx.prg + contrib/xpp/dbjoinx.prg + contrib/xpp/idlex.c + contrib/xpp/typefilx.prg + contrib/xpp/philesx.c + contrib/xpp/browdbx.prg + contrib/xpp/dbdetacx.c + contrib/xpp/dblistx.prg + contrib/xpp/binnumx.c + contrib/xpp/mousex.c + contrib/xpp/dbupdatx.prg + contrib/xpp/dbfuncsx.prg + contrib/xpp/oemansix.c + contrib/xpp/tbrowsex.prg + contrib/xpp/thfuncx.prg + contrib/xpp/dbtotalx.prg + contrib/xpp/datesx.c + contrib/xpp/tthreadx.prg + contrib/xpp/dbstruxx.prg + contrib/xpp/dbsortx.prg + Made a copy of all Xbase++ related Harbour core components into this separate lib. As we're starting to have a larger and larger amount of Xbase++ functions, to not pollute core, to have a clear separation of components and to allow toggling Xbase++ compatibility at user level (instead of Harbour level), it's a good time to make this long planned first step. This means that now Harbour can be built with HB_COMPAT_XPP turned off, yet - with this lib - all Xbase++ feature can still be used, and this is the recommended way. The name of the lib is tentative and in the future it may even be moved or renamed. 2.0.0 final version will still have HB_COMPAT_XPP enabled in core. ; NOTE: Please add new Xbase++ compatibility functions to this lib. ; FIXME: xpp_TBrowse() needs some internal parts from tbrowse.prg, so current solution isn't finished. ; FIXME: A few Xbase++ compatibility features are embedded into core source. These should be resolved by other means. (e.g. compiler time/runtime/hbmk2 switches, but for that we need to move back this lib inside core) ; TODO: Decide about the status of STOD() function, which is currently an XPP compatibility function, not in Harbour namespace, yet it's widely used with same functionality. [DONE] 2009-06-17 14:06 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/compiler/hbmain.c * extended -n2 to work also with code without starup procedure but with local variables * harbour/utils/hbrun/hbrun.prg + added -n2 to compiler parameters when .prg file is compiled and executed. It allows to use with hbrun .prg files with and without startup procedure 2009-06-17 13:08 UTC+0200 Viktor Szakats * source/rtl/hbinet.c ! Typo in 2009-06-13 23:51 UTC+0200 fixed. Thanks Lorenzo for the report. [already committed.] 2009-06-17 13:17 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/hbinet.c ! fixed bad typo introduced in last days probably during some code formatting which broke HB_INETRECVLINE() and some other functions 2009-06-17 13:07 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapierr.h * added HB_EXPORT attribute to hb_err*() public functions * harbour/source/rdd/wacore.c * minor formatting 2009-06-17 09:28 UTC+0200 Viktor Szakats * contrib/hbct/fcopy.prg * contrib/xhb/stream.prg * contrib/xhb/traceprg.prg * contrib/xhb/hblog.prg * contrib/xhb/ttable.prg * contrib/hbxbp/xbpmenubar.prg * contrib/hbxbp/xbptoolbar.prg * contrib/hbxbp/xbppushbutton.prg * contrib/hbnf/tbwhile.prg * contrib/rddado/adordd.prg * contrib/hbgd/gd.prg * contrib/hbtip/thtml.prg * contrib/hbtip/popcln.prg * contrib/hbtip/sendmail.prg * contrib/hbtip/cgi.prg * contrib/hbtip/ftpcln.prg % File() -> hb_FileExists(). ; NOTE: I didn't convert in hbblat, because I'm not sure whether wildcards are also expected there. 2009-06-17 00:10 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/hbxbp/tests/demoxbp.prg ! Commented out <Dialogs> menu option. Scheduled to be reactivated once event handlers will be in place. 2009-06-17 00:04 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/hbxbp/hbxbp.hbc ! Removed "hbwin" dependency introduced in prev commit. 2009-06-17 08:33 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added support for rest of embedded compiler installations: pocc64, poccarm, dos/watcom. Since these share a common install kit with other targets, they can only be selected using -comp= switch and in this case they will be used if the installation is present. * contrib/hbwin/win_misc.c + Added support for embedded Chr(0) to WIN_ANSITOWIDE() and WIN_WIDETOANSI(). ! Fixed WIN_ANSITOWIDE(). Dunno when it worked the last time, but it must be long ago (SysStringLen() was returning zero). * contrib/hbwin/Makefile * contrib/hbwin/win_misc.c + contrib/hbwin/wapi_shellapi.c * Moved and renamed WIN_SHELLEXECUTE() to WAPI_SHELLEXECUTE() since this implementation is a full wrapper of original Windows API. Incompatible. Please update your sources. * contrib/hbwin/legacyco.c * Formatting. 2009-06-16 23:16 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/hbxbp/Makefile * harbour/contrib/hbxbp/xbp3state.prg * harbour/contrib/hbxbp/xbpcheckbox.prg * harbour/contrib/hbxbp/xbpdataref.prg * harbour/contrib/hbxbp/xbpdialog.prg * harbour/contrib/hbxbp/xbpgeneric.prg * harbour/contrib/hbxbp/xbplistbox.prg * harbour/contrib/hbxbp/xbpmenubar.prg * harbour/contrib/hbxbp/xbppushbutton.prg * harbour/contrib/hbxbp/xbpradiobutton.prg * harbour/contrib/hbxbp/xbpstatusbar.prg * harbour/contrib/hbxbp/xbptabpage.prg * harbour/contrib/hbxbp/xbptoolbar.prg * harbour/contrib/hbxbp/xbpwindow.prg + harbour/contrib/hbxbp/xbpscrollbar.prg + Added XbpScrollBar() class. ! Rearranged class structure, vastly cleaned, and formatted. * harbour/contrib/hbxbp/tests/demoxbp.prg + Implemented XbpScrollBar()s. + Added one more menu option to open same dialog n number of times. It is still at infant stage as all the event handlers are not in place. Infact if demoXBP.prg is compiled in MT mode I think it will not be a issue. Viktor, can you see why I cannot compile demoXBP.prg in MT mode? 2009-06-16 23:06 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/hbqt/hbqt.ch * harbour/contrib/hbqt/hbqt_slots.cpp * harbour/contrib/hbqt/hbqt_slots.h * harbour/contrib/hbqt/moc_slots.cpp ! Greatly improved SIGNAL/SLOT mechanism. Now SIGNAL to SLOT connection is almost instant no matter how many widgets the application is employing. ! Implemented to relaase code blocks and reuse vacant slots. It reduces the memory leakage considerably. * harbour/contrib/hbqt/tests/demoqt.prg ! Commented out non-available Signal/Slot pair reported by linus distro. 2009-06-17 00:05 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/contrib/hbwin/axcore.c ! fixed GPF on ActiveX application exit caused by invalid AtlAxWinTerm() call. ; It's inline function and it does not exists in atl.dll ; MSDN says: When Do I Need to Call AtlAxWinTerm? AtlAxWinTerm unregisters the "AtlAxWin7" window class. You should call this function... If don't call this function, the window class will be unregistered automatically when the process terminates. ; Thanks Toninho for self contained 3 lines GPF sample without FWH, gtwvg, etc! 2009-06-16 18:39 UTC+0200 Viktor Szakats * include/hbextern.ch + Added HB_WAEVAL(). * contrib/hbwin/win_prn1.c - Direct procedural Windows printing interface will now only accept real pointers. * WIN_CREATEDC() will now return null pointer instead of NIL. The safest way to check for success is: 'IF ! Empty( win_CreateDC() )' ; With this, only some DLL related functions remain which still use numeric pointers. 2009-06-16 16:59 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * contrib/hbwin/win_misc.c + Added these functions: WIN_HINSTANCE() -> <ptr> WIN_HPREVINSTANCE() -> <ptr> WIN_NCMDSHOW() -> <nNum> * contrib/xhb/ttable.prg ! Fixed missing EXIT reported by Grigory Filatov. * Changed few xhb keywords to Harbour, removed xhb.ch header. 2009-06-16 11:25 UTC-0300 Antonio Carlos Pantaglione <toninho@fwi.com.br> * contrib/hbwin/wapi_winuser.c ! Parameters numbers in WAPI_CREATEWINDOWEX 2009-06-16 16:09 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapirdd.h * harbour/source/rdd/wafunc.c + added HB_ERRCODE hb_rddEvalWA( PHB_ITEM pBlock ) * harbour/source/rdd/dbcmd.c + added HB_WAEVAL( <pBlock> ) function which evaluates given <pBlock> in each used worakrea. The workarea iteration is interrupted if <pBlock> returns .F. * harbour/source/rdd/wafunc.c * restore workarea number in hb_rddCloseAllParentRelations() * harbour/source/rdd/workarea.c * added small protection against releasing WA by user codeblock in EVALBLOCK() method * harbour/source/rdd/wacore.c * added small protection against releasing WA by user code during area iteration 2009-06-16 15:42 UTC+0200 Viktor Szakats * contrib/xhb/ttable.prg ! Typo fixed. Reported by newsgroup user. 2009-06-16 15:09 UTC+0200 Viktor Szakats * examples/uhttpd2/socket.c ! Including winsock2.h to avoid missing macro SD_BOTH on MSVC and POCC (maybe more) compilers. 2009-06-16 15:03 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added preliminary support for autosetup for several more compilers: win/watcom, win/pocc, win/pocc64, wce/poccarm, dos/djgpp, dos/watcom. Only these were tested: dos/djgpp, win/watcom, win/pocc. This means it's now possible to "bundle" DJGPP, watcom or pocc _compiler tools_ with Harbour and hbmk2 will be able to detect them, or user can choose between them using -arch/-comp switches, then hbmk2 will just be able to use them "as is", without the need to change anything on the environment. zero-conf usage in essence, just like we already had for mingw family. ; NOTE: Before the release I'll rethink placement of these tools inside the Harbour directory tree. Currently they are detected in the Harbour root dir, but with multiple compilers this is not ideal. * source/vm/thread.c ! Fixed compile error after 2009-06-16 08:55 UTC+0200. 2009-06-16 13:37 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbct/token1.c % use explicit constant value instead of HB_MKULONG() macro * harbour/source/compiler/cmdcheck.c ! fixed few typos in bit manipulation used to calculate result in PackDateTime() function by rewriting it to use bitfield union. 2009-06-16 09:13 UTC+0200 Viktor Szakats * INSTALL + Two optional envvars got some super extra clarification. 2009-06-16 08:55 UTC+0200 Viktor Szakats * source/vm/thread.c * HB_MUTEXQUEUEINFO() returning logical var. ! HB_MUTEXQUEUEINFO() resetting ref params with 0 in case of error. 2009-06-16 08:50 UTC+0200 Viktor Szakats * include/hbextern.ch * source/vm/thread.c * examples/uhttpd2/umain.prg * Replaced HB_MUTEXWAITERSCOUNT() with HB_MUTEXQUEUEINFO( hMutex, [ @nWaitersCount ], [ @nQueueLength ] ) ; Please review. 2009-06-16 08:03 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + If HB_COMPILER is mingw/mingw64/pocc64, architecture will automatically be win, regardless of the platform hbmk2 is run on. 2009-06-16 00:40 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fixed to always turn off -mt mode for dos targets. 2009-06-15 15:09 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/hbqt/generator/hbqtgen.prg ! Stipped off code to generate in-build sources. Now following files resides in the SVN permanently: hbqt.h hbqt_slots.h hbqt_slots.cpp hbqt_base.cpp moc_slots.cpp * harbour/contrib/hbqt/hbqt_slots.h * harbour/contrib/hbqt/moc_slots.cpp ! Cleanups. 2009-06-15 23:04 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg * examples/uhttpd2/socket.c * Minor formatting. * examples/uhttpd2/items.dbf * Updated with content. Thanks Mindaugas. 2009-06-15 20:55 UTC+0200 Viktor Szakats * examples/superlib/readme.txt * examples/dbu/readme.txt * examples/rl/readme.txt * Minor typo. + Added direct download link to superlib on Phil's site. I hope Phil doesn't mind. I've also left the link for the whole page. 2009-06-15 20:44 UTC+0200 Viktor Szakats * include/hbextern.ch * source/vm/thread.c + Added HB_MUTEXWAITERSCOUNT() to core. (slightly rewritten using local functions) - examples/uhttpd2/umutex.c - No longer needed. 2009-06-15 20:37 UTC+0200 Viktor Szakats * examples/uhttpd2/uwidgets.prg * examples/uhttpd2/uhbext.prg * examples/uhttpd2/app.prg + examples/uhttpd2/umutex.c * Embedded C moved to separate file. % Using Harbour's hb_HGetDef() instead of local version. 2009-06-15 20:33 UTC+0200 Viktor Szakats * examples/uhttpd2/socket.c * Minor updates. - examples/httpsrv/httpsrv.hbp * Apparently all uhttpd -> httpsrv renames and changes were lost, except this file added afterwards. 2009-06-15 20:31 UTC+0200 Viktor Szakats + examples/uhttpd2 + examples/uhttpd2/umain.prg + examples/uhttpd2/files + examples/uhttpd2/files/main.js + examples/uhttpd2/files/main.css + examples/uhttpd2/uhttpd2.hbp + examples/uhttpd2/uwidgets.prg + examples/uhttpd2/carts.dbf + examples/uhttpd2/uhbext.prg + examples/uhttpd2/app.prg + examples/uhttpd2/socket.c + examples/uhttpd2/items.dbf + examples/uhttpd2/readme.txt + examples/uhttpd2/users.dbf + Added contribution of Mindaugas Kavaliauskas: small-footprint multithreading http server with session model. Read the whole description in readme.txt. + examples/httpsrv + examples/httpsrv/httpsrv.hbp + Somehow missed from prev. 2009-06-15 18:47 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg - Deleted hb_DirBase() DJGPP hack after Przemek's fix. - Deleted gcc compiler command line hack after Przemek's fix. * contrib/hbxbp/xbp.ch + Added extra protection for Windows-only debug line. * contrib/hbxbp/apig.ch * Minor in comment. * contrib/rddado/adordd.prg * Minor formatting. * Changed it to use non-legacy OLE interface. PLEASE REVIEW & TEST. * contrib/hbwin/legacy.prg + Added support for TOleAuto():cClassName var. + Added RTE generation in case the OLE object cannot be created. PLEASE REVIEW & TEST. + contrib/rddado/tests/test.mdb + Added. It's generated by access2.prg to avoid any problems. * contrib/rddado/tests/access1.prg * Minor formatting. ; FIXME: Doesn't work: --- Error BASE/3012 Argument error: OPEN Called from WIN_OLEAUTO:OPEN(0) Called from ADO_OPEN(0) Called from DBUSEAREA(0) Called from MAIN(11) --- - examples/uhttpd + examples/httpsrv - examples/httpsrv/uhttpd.ini + examples/httpsrv/httpsrv.ini - examples/httpsrv/uhttpdgd.hbp + examples/httpsrv/httpsrvg.hbp - examples/httpsrv/uhttpdc.c + examples/httpsrv/httpsrvc.c - examples/httpsrv/uhttpd.prg + examples/httpsrv/httpsrv.prg * examples/httpsrv/cookie.prg * examples/httpsrv/cgifunc.prg * examples/httpsrv/session.prg * examples/httpsrv/readme.txt * Renamed uhttpd to httpsrv. NOTE: If there are better names proposed I can rename it to anything else. Mindaugas's new uhttpd will be name uhttpd2 to avoid any ambiguity. 2009-06-15 18:39 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/fstemp.c * harbour/source/rtl/filesys.c * convert '/' to '\' in hb_fTempCreate*()/CurDir() functions in DJGPP builds 2009-06-15 08:41 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/hbxbp/apig.ch * harbour/contrib/hbxbp/gra.ch * harbour/contrib/hbxbp/hbxbp.hbc * harbour/contrib/hbxbp/xbp.ch - Copyright notice where not applicable. 2009-06-15 16:32 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fixed extension-less parameters not recognized as .prg on dos platform. (they were picked as libs due to extension match with empty dynamic lib extension) Thanks to Przemek for the report. 2009-06-15 15:45 UTC+0200 Viktor Szakats * contrib/hbwin/legacy.prg + Added legacy CREATEOLEOBJECT() call support. (untested) 2009-06-15 15:41 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added skip=yes|no option support to .hbc files. skip=yes will cause the rest of the .hbc file to be skipped from processing. + Now .hbc files are recognized even in libs= lines. + Showing error message when a referred .hbc cannot be found. * utils/hbmk2/examples/contribf.hbc * Updates/fixes. * contrib/xhb/xhb.hbc * contrib/hbtpathy/hbtpathy.hbc * contrib/hbblat/hbblat.hbc * contrib/hbziparc/hbziparc.hbc * contrib/hbxbp/hbxbp.hbc * contrib/rddsql/sddmy/sddmy.hbc + contrib/rddsql/sddpg/sddpg.hbc + contrib/rddsql/sddfb/sddfb.hbc * contrib/rddsql/sddodbc/sddodbc.hbc * contrib/rddado/rddado.hbc * contrib/gtwvg/gtwvg.hbc * contrib/rddads/rddads.hbc * contrib/hbfimage/hbfimage.hbc * contrib/hbtip/hbtip.hbc * contrib/hbwin/hbwin.hbc * contrib/hbssl/hbssl.hbc + Added some missing .hbc files. * Tweaked to use .hbc references. * Tweaked filters. .hbc files will now filter themselves out, if they are references in unsupported environment, like hbwin under linux. 2009-06-15 15:19 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/mainstd.c * forced '\' in argv[0] instead of '/' in DJGPP builds * disabled using SHELL envvar and forced COMSPEC in system() function in DJGPP builds (it effects __run() and hb_run() .prg functions) 2009-06-15 14:42 UTC+0200 Viktor Szakats * contrib/hbwin/legacyco.c * contrib/hbwin/legacy.prg ! Fixed typos in prev. (Thanks EMG) * contrib/hbmysql/hbmysql.hbc - contrib/hbct/tests/hbct.hbc + contrib/hbct/tests/hbmk.hbm + contrib/hbct/hbct.hbc + contrib/xhb/xhb.hbc + contrib/xhb/tests/hbmk.hbm - contrib/xhb/tests/xhb.hbc + contrib/hbodbc/tests/hbmk.hbm - contrib/hbodbc/tests/hbodbc.hbc + contrib/hbodbc/hbodbc.hbc + contrib/hbtpathy/tests/hbmk.hbm - contrib/hbtpathy/tests/hbtpathy.hbc + contrib/hbtpathy/hbtpathy.hbc + contrib/hbgt/hbgt.hbc - contrib/hbmzip/tests/hbmzip.hbc + contrib/hbmzip/tests/hbmk.hbm + contrib/hbmzip/hbmzip.hbc - contrib/hbsqlit3/tests/hbsqlit3.hbc + contrib/hbsqlit3/tests/hbmk.hbm + contrib/hbsqlit3/hbsqlit3.hbc + contrib/hbfbird/tests/hbmk.hbm - contrib/hbfbird/tests/hbfbird.hbc + contrib/hbfbird/hbfbird.hbc + contrib/hbziparc/tests/hbmk.hbm - contrib/hbziparc/tests/hbziparc.hbc + contrib/hbziparc/hbziparc.hbc + contrib/hbnf/tests/hbmk.hbm - contrib/hbnf/tests/hbnf.hbc + contrib/hbnf/hbnf.hbc + contrib/hbcurl/tests/hbmk.hbm - contrib/hbcurl/tests/hbcurl.hbc + contrib/hbcurl/hbcurl.hbc + contrib/gtqtc/tests/hbmk.hbm - contrib/gtqtc/tests/gtqtc.hbc + contrib/gtqtc/gtqtc.hbc + contrib/rddado/tests/hbmk.hbm - contrib/rddado/tests/rddado.hbc + contrib/rddado/rddado.hbc + contrib/gtwvg/gtwvg.hbc + contrib/gtwvg/tests/hbmk.hbm - contrib/gtwvg/tests/gtwvg.hbc + contrib/hbpgsql/tests/hbmk.hbm - contrib/hbpgsql/tests/hbpgsql.hbc + contrib/hbpgsql/hbpgsql.hbc + contrib/rddads/tests/hbmk.hbm - contrib/rddads/tests/rddads.hbc + contrib/rddads/rddads.hbc + contrib/hbclipsm/tests/hbmk.hbm - contrib/hbclipsm/tests/hbclipsm.hbc + contrib/hbclipsm/hbclipsm.hbc + contrib/hbfimage/tests/hbmk.hbm - contrib/hbfimage/tests/hbfimage.hbc + contrib/hbfimage/hbfimage.hbc + contrib/hbgd/hbgd.hbc + contrib/hbgd/tests/hbmk.hbm - contrib/hbgd/tests/hbgd.hbc + contrib/hbmisc/hbmisc.hbc - contrib/hbmisc/tests/hbmisc.hbc + contrib/hbmisc/tests/hbmk.hbm + contrib/hbtip/hbtip.hbc + contrib/hbtip/tests/hbmk.hbm - contrib/hbtip/tests/hbtip.hbc + contrib/hbbmcdx/hbbmcdx.hbc - contrib/hbvpdf/tests/hbvpdf.hbc + contrib/hbvpdf/tests/hbmk.hbm + contrib/hbvpdf/hbvpdf.hbc - contrib/hbssl/tests/hbssl.hbc + contrib/hbssl/tests/hbmk.hbm + contrib/hbssl/hbssl.hbc - contrib/hbbtree/tests/hbbtree.hbc + contrib/hbbtree/tests/hbmk.hbm + contrib/hbbtree/hbbtree.hbc - contrib/hbcrypt/tests/hbcrypt.hbc + contrib/hbcrypt/tests/hbmk.hbm + contrib/hbcrypt/hbcrypt.hbc + Added new hbmk2 make file layout: hbmk.hbm in tests dir, referring to .hbc file in contrib main dir. + Added -incpaths=. option to those .hbc files where contrib has public headers. * Changed a few inter-contrib reference to refer to .hbc file rather than lib directly. ; TODO: Change inter-contrib references to hbwin to refer to hbwin.hbc. [DONE] 2009-06-15 13:40 UTC+0200 Viktor Szakats * contrib/hbwin/legacy.prg * contrib/hbwin/legacyco.c ! Added support for legacy TOLEAUTO():hObj var access/assign. ! Fixed CREATEOBJECT() to return legacy TOLEAUTO class. ! Fixed CREATEOBJECT() to accept legacy param list. ! Fixed GETACTIVEOBJECT() to return legacy TOLEAUTO class. ! Fixed GETACTIVEOBJECT() to accept legacy param list. ; Please test. 2009-06-15 11:45 UTC+0200 Viktor Szakats * tests/bnch_win.bat * bin/postinst.bat * bin/hb-mkimp.bat * bin/hb-mkdyn.bat * mpkg_dos.bat * mpkg_win.bat * Minor adjustment to prev. 2009-06-15 11:29 UTC+0200 Viktor Szakats * tests/bnch_win.bat * bin/postinst.cmd * bin/postinst.bat * bin/hb-mkimp.bat * bin/hb-mkdyn.bat * mpkg_dos.bat * mpkg_win.bat + Added display of error message if run on non-NT systems. * Some formatting. 2009-06-15 10:38 UTC+0200 Viktor Szakats * contrib/hbwin/legacy.prg ! Trying to implement TOLEAUTO():NEW() compatibility interface. Crash is gone, but I'm not sure the app now behaves perfectly. Someone please review/test. 2009-06-15 00:57 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/hbxbp/Makefile * harbour/contrib/hbxbp/xbp.ch + harbour/contrib/hbxbp/xbp3state.prg + harbour/contrib/hbxbp/xbpcheckbox.prg + harbour/contrib/hbxbp/xbpdataref.prg + harbour/contrib/hbxbp/xbplistbox.prg + harbour/contrib/hbxbp/xbpradiobutton.prg + harbour/contrib/hbxbp/xbpstatusbar.prg + harbour/contrib/hbxbp/xbptabpage.prg * harbour/contrib/hbxbp/xbpdialog.prg * harbour/contrib/hbxbp/xbpwindow.prg + Added classes: Xbp3State() XbpCheckBox() XbpRadioButton() XbpListBox() XbpDataRef() - Used by data aware components as above. XbpStatusBar() - Partial XbpTabPage() * harbour/contrib/hbxbp/tests/demoxbp.prg + Added implementation code of above classes. /* demoXBP.prg implements 100% Xbase++ code pulled from its documentation. The only attributes changes are done either to redefine the parent or window coordinates. Xbase++ ( as I know ) takes bottom-top approach in screen coordinate system, so demoXBP.prg compiled with Xbase++ shows objects in different positions. Except for this and a couple of other compatibility issues, Harbour offers more wider horizon. So, once base implementation is done, I may extend these classes to take advantage of QT's powerful design concepts. */ 2009-06-15 10:06 UTC+0200 Viktor Szakats - utils/hbextern + examples/hbextern - examples/hbextern/make_c5x.bat * examples/hbextern/hbextern.prg + examples/hbextern/hbextern.hbp - examples/hbextern/Makefile * hbextern tool moved to examples. - Deleted Clipper build batch file. + Added hbmk2 build file. * utils/hbmk2/examples/minigui.hbc + Added xhb compatbility (untested). * contrib/Makefile + Enabled hbxbp lib to be built by default. 2009-06-15 00:51 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/hbqt/generator/hbqtgen.prg + Added -inbuids switch which generate these sources only: hbqt_slots.h hbqt.h hbqt_base.cpp hbqt_slots.cpp moc_slots.cpp hbqtgen.exe -O..\ -inbuilds * harbour/contrib/hbqt/hbqt_slots.cpp * harbour/contrib/hbqt/hbqt_slots.h * harbour/contrib/hbqt/moc_slots.cpp + Added more event handlers. 2009-06-15 01:52 UTC+0200 Viktor Szakats * ChangeLog * Marked FIXME/TODO as DONE. * utils/hbmk2/hbmk2.prg + Added Harbour 1.0.x support for -main and -gt* options. Should also work with xhb. * utils/hbmk2/examples/hmg.hbc ! Updated. Tested okay with HMG 2.9.2. - utils/hbmk2/examples/wxharbour.hbc - Deleted, now hosted by wxHarbour project. Many thanks to Teo Fonrouge. 2009-06-14 21:50 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapirdd.h * harbour/include/hbusrrdd.ch * harbour/contrib/rddsql/sddodbc/odbcdd.c * harbour/contrib/rddads/ads1.c * harbour/source/rdd/workarea.c * harbour/source/rdd/sdf1.c * harbour/source/rdd/delim1.c * harbour/source/rdd/dbf1.c * changed HB_FT_DAYTIME to HB_FT_TIMESTAMP 2009-06-14 21:20 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/pp/Makefile ! fixed / used as directory separator in $(RM) command with non *nix like shells * restored wildcard hack for some dynamic shortcut redirectors, e.g. DOSEMU 2009-06-14 20:45 UTC+0200 Viktor Szakats * contrib/hbwin/Makefile - contrib/hbwin/legacyc.c + contrib/hbwin/legacycd.c + contrib/hbwin/legacyco.c * Mimicing old layout to avoid potential symbol collisions with certain 3rd parties. 2009-06-14 19:56 UTC+0200 Viktor Szakats * INSTALL * Updated. * source/pp/Makefile ! Fixed to ignore clean command result which is a FIXME. (anyone to help here?) ! Changed ChangeLog file detection to specifically look for CHANGE~1 and to not look for CHANGE~* and CHANG~* where the latter cannot exist and the former may accidentally pick up wrong file. 2009-06-14 09:03 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtqtc/gtqtc.cpp * harbour/contrib/gtqtc/gtqtc.h * harbour/contrib/gtqtc/moc_gtqtc.cpp * harbour/contrib/gtqtc/tests/demoqtc.prg ! Just here and there. 2009-06-14 14:49 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/gtwvg/wvgwin.c ! fixed wrongly used & operator * harbour/source/rtl/hbproces.c * added TODO warning in OpenWatcom Linux builds * harbour/make_gnu.sh ! fixed test_param() function definition - it has to be defined it's before use * harbour/include/hbexpra.c * harbour/include/hbexprb.c * harbour/source/common/expropt1.c * harbour/source/rtl/round.c * removed unnecessary <math.h> * harbour/source/vm/hvm.c * harbour/source/common/expropt2.c * harbour/contrib/hbct/ctmath.h * harbour/contrib/hbclipsm/num.c * harbour/contrib/hbclipsm/numfloor.c * harbour/contrib/hbclipsm/numceil.c * use "hbmath.h" instead of <math.h> to avoid possible desynchronization between used math libraries and header files * harbour/source/pp/Makefile ! fixed real DOS compilation - replaced Windows only hack by wildcard function usage * harbour/config/dos/dir.cf * removed intermediate sh call from executed commands * harbour/source/vm/Makefile * disabled HB_HVM_ALL in all Watcom builds - it works but the compilation time is very huge so user who wants to use it should set envvar HB_HVM_ALL=yes * enabled HB_HVM_ALL for DJGPP builds 2009-06-14 13:23 UTC+0200 Viktor Szakats * source/pp/Makefile ! Fixed (almost) to delete include/hbverbld.h on clean. Keeping this file there hid DOS build problems when using Windows host. ; FIXME: Filename in delete command for all platforms. [DONE] ; FIXME: HB_CHANGELOG value for DOS builds. It's currently broken for MS-DOS hosts. To avoid these problems we should use 'CHANGES' instead of 'ChangeLog'... [DONE] ; FIXME: I applied Przemek's patch to make_gnu.sh wrongly, and have no idea how to fix it. [DONE] 2009-06-14 11:19 UTC+0200 Viktor Szakats * contrib/hbxbp/xbpmenubar.prg * contrib/hbxbp/xbpdialog.prg * contrib/hbxbp/xbptoolbar.prg * contrib/hbxbp/xbpparthandler.prg * contrib/hbxbp/xbppushbutton.prg ! Removed rest of GTWVG header references. Copied a few used #defines from it directly to the source with FIXME note. 2009-06-14 11:13 UTC+0200 Viktor Szakats * contrib/hbxbp/xbp.ch * contrib/hbxbp/xbpwindow.prg * contrib/hbxbp/xbppushbutton.prg ! Removed another GTWVG header reference. Copied a few used #defines from it directly to the source with FIXME note. ! Removed hb_toout() commented function. ! Moved hb_tooutdebug() to xbp.ch which fixes unprotected reference in one of the sources, creating unresolved external on other platforms. 2009-06-14 11:08 UTC+0200 Viktor Szakats * contrib/hbxbp/xbpdialog.prg ! Removed GTWVG header from source. :( 2009-06-14 11:06 UTC+0200 Viktor Szakats * contrib/hbxbp/xbpgeneric.prg ! Removed inline C with Windows-only debug code. Please don't readd it as it makes it difficult to test on other platforms. See instruction how to make this in portable way in: 2009-06-13 20:29 UTC+0200 Viktor Szakats 2009-06-14 11:03 UTC+0200 Viktor Szakats * contrib/hbqt/hbqt_slots.cpp ! Removed windows.h. I can't keep up with removing these windows headers :( Please don't add them. 2009-06-14 10:37 UTC+0200 Viktor Szakats * include/hbextern.ch * source/vm/hashfunc.c + Added HB_HGETDEF( <hHash>, <xKey>[, <xDefault> ] ) -> <value> This function will return <xDefault> when <xKey> isn't found in the hash table. If <xDefault> isn't passed, it will return NIL. 2009-06-14 00:02 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) + harbour/contrib/hbxbp/gra.ch * harbour/contrib/hbxbp/Makefile * harbour/contrib/hbxbp/xbp_temp.prg * harbour/contrib/hbxbp/xbpdialog.prg * harbour/contrib/hbxbp/xbpgeneric.prg + harbour/contrib/hbxbp/xbppushbutton.prg + harbour/contrib/hbxbp/xbptoolbar.prg * harbour/contrib/hbxbp/xbpwindow.prg * harbour/contrib/hbxbp/tests/demoxbp.prg + Implemented XbpToolBar() | XbpPushButton() classes. 2009-06-14 04:51 UTC+0200 Viktor Szakats + utils/hbmk2/examples/minigui.hbc + Added project config for HMG Extended. 2009-06-14 04:33 UTC+0200 Viktor Szakats * utils/hbmk2/examples/oohg.hbc * Updated after testing it. 2009-06-14 03:33 UTC+0200 Viktor Szakats * utils/hbmk2/examples/xhgtk.hbc * Updated hbmk2 make file xhgtk. Also sent this and xhgtk.hbp to Rodrigo Moreno to consider uploading them files to xhgtk repository. It makes building the lib and using the lib very simple on all platforms/compilers. + utils/hbmk2/examples/wxharbour.hbc + Added wxharbour hbmk2 config file. Also sent to Teo Fonrouge to consider uploading it to repository (and later make it easier to merge it with ours). * contrib/hbqt/Makefile * contrib/gtqtc/Makefile + Added another alternative header path to detection list. 2009-06-13 16:57 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/hbxbp/appevent.ch * harbour/contrib/hbxbp/tests/demoxbp.prg * harbour/contrib/hbxbp/xbpdialog.prg * harbour/contrib/hbxbp/xbpgeneric.prg * harbour/contrib/hbxbp/xbpwindow.prg ! Added more constructs. Now demoxbp.prg is compilable as is with both compilers and we can exerience differences. Note, I have not implemented kbeP_Close event and keyboard modifiers, so quiting the demo is : Harbour - press 'Q' Xbase++ - press upper 'Q' or X button. 2009-06-14 01:56 UTC+0200 Viktor Szakats + contrib/rddsql/sddmy/tests/hbmk.hbm - contrib/rddsql/sddmy/tests/sddmy.hbc + contrib/rddsql/sddmy/sddmy.hbc - contrib/rddsql/tests/rddsql.hbc + contrib/rddsql/sddodbc/tests/hbmk.hbm - contrib/rddsql/sddodbc/tests/sddodbc.hbc + contrib/rddsql/sddodbc/sddodbc.hbc + contrib/rddsql/tests/hbmk.hbm + contrib/rddsql/rddsql.hbc * Rearranged according to new .hbc/.hbm layout. Layout: in 'tests' where final app are residing, I've added an automatically processed hbmk2 option file: hbmk.hbm. This file refers to the .hbc file belonging to the SDD: sdd*.hbc, residing in the parent dir. This file in turn refers to the .hbc file belonging to the main RDDSQL: rddsql.hbc, resising in the parent dir. so this is the reference chain when issuing hbmk2 <test.prg> in one of the test dirs: hbmk.hbm -> sdd*.hbc -> rddsql.hbc 2009-06-14 01:44 UTC+0200 Viktor Szakats * contrib/hbblat/hbblat.hbc * contrib/hbhpdf/hbhpdf.hbc * contrib/hbwin/hbwin.hbc * contrib/hbqt/hbqt.hbc * contrib/hbxbp/hbxbp.hbc + Added incpaths settings to not rely on GNU Make 'install' feature to find appropriate lib headers. * contrib/hbxbp/tests/hbmk.hbm + Added -w3 switch. * contrib/hbxbp/xbp_temp.prg * Cleanup. - contrib/hbmysql/utils/hbmysql.hbc - contrib/hbmysql/tests/hbmysql.hbc + contrib/hbmysql/utils/hbmk.hbm + contrib/hbmysql/tests/hbmk.hbm + contrib/hbmysql/hbmysql.hbc * Rearranged according to new .hbc/.hbm layout. 2009-06-14 00:52 UTC+0200 Viktor Szakats * contrib/gtwvg/gtwvg.c * contrib/gtwvg/wincallb.c * contrib/gtwvg/wvgcore.c * contrib/gtwvg/wvgcuig.c * contrib/gtwvg/wvgutils.c * contrib/gtwvg/wvgwin.c * contrib/hbbmcdx/bmdbfcdx.c * contrib/hbbtree/hb_btree.c * contrib/hbclipsm/environ.c * contrib/hbclipsm/gauge.c * contrib/hbclipsm/num.c * contrib/hbclipsm/status.c * contrib/hbct/addascii.c * contrib/hbct/asciisum.c * contrib/hbct/ascpos.c * contrib/hbct/atadjust.c * contrib/hbct/atnum.c * contrib/hbct/atrepl.c * contrib/hbct/bitnum.c * contrib/hbct/charevod.c * contrib/hbct/charlist.c * contrib/hbct/charmirr.c * contrib/hbct/charmix.c * contrib/hbct/charone.c * contrib/hbct/charonly.c * contrib/hbct/charop.c * contrib/hbct/charrepl.c * contrib/hbct/charsort.c * contrib/hbct/charsprd.c * contrib/hbct/charswap.c * contrib/hbct/color.c * contrib/hbct/count.c * contrib/hbct/ctc.c * contrib/hbct/ctmath2.c * contrib/hbct/ctnet.c * contrib/hbct/ctpad.c * contrib/hbct/ctstr.c * contrib/hbct/ctstrfil.c * contrib/hbct/ctwfunc.c * contrib/hbct/datetime.c * contrib/hbct/dattime2.c * contrib/hbct/disk.c * contrib/hbct/expand.c * contrib/hbct/files.c * contrib/hbct/finan.c * contrib/hbct/justify.c * contrib/hbct/keyset.c * contrib/hbct/lton.c * contrib/hbct/maxline.c * contrib/hbct/misc1.c * contrib/hbct/num1.c * contrib/hbct/numat.c * contrib/hbct/numcount.c * contrib/hbct/numline.c * contrib/hbct/pos1.c * contrib/hbct/pos2.c * contrib/hbct/posdiff.c * contrib/hbct/print.c * contrib/hbct/range.c * contrib/hbct/relation.c * contrib/hbct/remove.c * contrib/hbct/replace.c * contrib/hbct/screen1.c * contrib/hbct/screen2.c * contrib/hbct/setrc.c * contrib/hbct/strdiff.c * contrib/hbct/strswap.c * contrib/hbct/tab.c * contrib/hbct/token1.c * contrib/hbct/token2.c * contrib/hbct/trig.c * contrib/hbct/video.c * contrib/hbct/wordrepl.c * contrib/hbct/wordtoch.c * contrib/hbcurl/hbcurl.c * contrib/hbcurl/hbcurlm.c * contrib/hbfbird/firebird.c * contrib/hbfimage/fi_wrp.c * contrib/hbgd/gdwrp.c * contrib/hbgt/ascposgt.c * contrib/hbgt/atdiff.c * contrib/hbgt/bitflags.c * contrib/hbgt/charmixg.c * contrib/hbgt/chrcount.c * contrib/hbgt/chrfirst.c * contrib/hbgt/chrtotal.c * contrib/hbgt/strcount.c * contrib/hbgt/strcspn.c * contrib/hbgt/strdiffg.c * contrib/hbgt/strleft.c * contrib/hbgt/strpbrk.c * contrib/hbgt/strright.c * contrib/hbmisc/dates2.c * contrib/hbmisc/hb_f.c * contrib/hbmisc/stringsx.c * contrib/hbmysql/mysql.c * contrib/hbmzip/hbmzip.c * contrib/hbnf/caplock.c * contrib/hbnf/chdir.c * contrib/hbnf/color2n.c * contrib/hbnf/ftattr.c * contrib/hbnf/fttext.c * contrib/hbnf/getenvrn.c * contrib/hbnf/mkdir.c * contrib/hbnf/n2color.c * contrib/hbnf/numlock.c * contrib/hbnf/peek.c * contrib/hbnf/poke.c * contrib/hbnf/prtscr.c * contrib/hbnf/putkey.c * contrib/hbnf/rmdir.c * contrib/hbodbc/odbc.c * contrib/hbqt/hbqt_qradiobutton.cpp * contrib/hbqt/qth/QRadioButton.qth * contrib/hbsqlit3/hbsqlit3.c * contrib/hbssl/ssl.c * contrib/hbssl/sslciph.c * contrib/hbtip/utils.c * contrib/hbwin/legacyc.c * contrib/hbwin/olecore.c * contrib/hbwin/wapi_commctrl.c * contrib/hbwin/wapi_winbase.c * contrib/hbwin/wapi_winuser.c * contrib/hbwin/win_dll.c * contrib/hbwin/win_misc.c * contrib/hbwin/win_prn1.c * contrib/hbwin/win_prn2.c * contrib/hbwin/win_prt.c * contrib/rddads/ads1.c * contrib/rddads/adsfunc.c * contrib/rddads/adsmgmnt.c * contrib/xhb/datesxhb.c * contrib/xhb/fparse.c * contrib/xhb/freadlin.c * contrib/xhb/hbcomprs.c * contrib/xhb/hboutdbg.c * contrib/xhb/txtline.c * contrib/xhb/xhbarr.c * contrib/xhb/xhbcopyf.c * contrib/xhb/xhbfunc.c * contrib/xhb/xhbsave.c * contrib/xhb/xhbtrim.c * contrib/xhb/xstrdel.c * IS*() -> HB_IS*() macro rename. (pass 3 - final) 2009-06-14 00:45 UTC+0200 Viktor Szakats * examples/hbdoc/hbdfrdln.c * examples/hbgf/hbgfos2/os2pm.c * examples/hbgf/hbgfwin/winapi.c * examples/hbmake/hbmakec.c * examples/hboleold/win_ole.c * examples/hbwhat/whtbmp.c * examples/hbwhat/whtcdlg.c * examples/hbwhat/whtclpb.c * examples/hbwhat/whtcomm.c * examples/hbwhat/whtdate.c * examples/hbwhat/whtdc.c * examples/hbwhat/whtdir.c * examples/hbwhat/whtdlg.c * examples/hbwhat/whtdraw.c * examples/hbwhat/whtfont.c * examples/hbwhat/whticon.c * examples/hbwhat/whtilst.c * examples/hbwhat/whtinet.c * examples/hbwhat/whtini.c * examples/hbwhat/whtkbrd.c * examples/hbwhat/whtmenu.c * examples/hbwhat/whtmeta.c * examples/hbwhat/whtmisc.c * examples/hbwhat/whtmous.c * examples/hbwhat/whtmsg.c * examples/hbwhat/whtprn.c * examples/hbwhat/whtrect.c * examples/hbwhat/whtrgn.c * examples/hbwhat/whtscrlb.c * examples/hbwhat/whtseria.c * examples/hbwhat/whtshell.c * examples/hbwhat/whtsock.c * examples/hbwhat/whtsys.c * examples/hbwhat/whttab.c * examples/hbwhat/whttbar.c * examples/hbwhat/whttext.c * examples/hbwhat/whtwnd.c * examples/hbwhat/wincorec.c * examples/uhttpd/socket.c * IS*() -> HB_IS*() macro rename. (pass 2) 2009-06-13 23:51 UTC+0200 Viktor Szakats * contrib/hbxbp/hbxbp.hbc + Added gtgui as default GT on win/wce systems. * include/extend.api * include/hbsetup.ch * include/hbapi.h + Added new HB_LEGACY_LEVEL3 macro to wrap legacy constructs to be deprecated in the next major release. Currently legacy IS*() parameter type checking macros are marked as such, ones present in CA-Cl*pper retained in extend.api even when this macro off. ; NOTE: It's recommended for 3rd party developers to start using new HB_IS*() macros. They work the same as Clipper compatible IS*() macros, but got an HB_ prefix: ISNUM( 1 ) -> HB_ISNUM( 1 ) (not to be confused with HB_IS_*() macros which accept a PHB_ITEM) Here's a little batch which helps this process: --- gsar -o -s:x20ISNUM( -r:x20HB_ISNUM( *.c *.cpp gsar -o -s:x20ISCHAR( -r:x20HB_ISCHAR( *.c *.cpp gsar -o -s:x20ISLOG( -r:x20HB_ISLOG( *.c *.cpp gsar -o -s:x20ISARRAY( -r:x20HB_ISARRAY( *.c *.cpp gsar -o -s:x20ISBYREF( -r:x20HB_ISBYREF( *.c *.cpp gsar -o -s:x20ISDATE( -r:x20HB_ISDATE( *.c *.cpp gsar -o -s:x20ISDATETIME( -r:x20HB_ISDATETIME( *.c *.cpp gsar -o -s:x20ISNIL( -r:x20HB_ISNIL( *.c *.cpp gsar -o -s:x20ISTIMESTAMP( -r:x20HB_ISTIMESTAMP( *.c *.cpp gsar -o -s:x20ISBLOCK( -r:x20HB_ISBLOCK( *.c *.cpp gsar -o -s:x20ISPOINTER( -r:x20HB_ISPOINTER( *.c *.cpp gsar -o -s:x20ISSYMBOL( -r:x20HB_ISSYMBOL( *.c *.cpp gsar -o -s:x20ISOBJECT( -r:x20HB_ISOBJECT( *.c *.cpp gsar -o -s:x20ISHASH( -r:x20HB_ISHASH( *.c *.cpp gsar -o -s!ISNUM( -r!HB_ISNUM( *.c *.cpp gsar -o -s!ISCHAR( -r!HB_ISCHAR( *.c *.cpp gsar -o -s!ISLOG( -r!HB_ISLOG( *.c *.cpp gsar -o -s!ISARRAY( -r!HB_ISARRAY( *.c *.cpp gsar -o -s!ISBYREF( -r!HB_ISBYREF( *.c *.cpp gsar -o -s!ISDATE( -r!HB_ISDATE( *.c *.cpp gsar -o -s!ISDATETIME( -r!HB_ISDATETIME( *.c *.cpp gsar -o -s!ISNIL( -r!HB_ISNIL( *.c *.cpp gsar -o -s!ISTIMESTAMP( -r!HB_ISTIMESTAMP( *.c *.cpp gsar -o -s!ISBLOCK( -r!HB_ISBLOCK( *.c *.cpp gsar -o -s!ISPOINTER( -r!HB_ISPOINTER( *.c *.cpp gsar -o -s!ISSYMBOL( -r!HB_ISSYMBOL( *.c *.cpp gsar -o -s!ISOBJECT( -r!HB_ISOBJECT( *.c *.cpp gsar -o -s!ISHASH( -r!HB_ISHASH( *.c *.cpp --- * source/rtl/hbinet.c * Formatting. % Minor optimizations. * source/debug/dbgentry.c * source/rdd/dbcmd.c * source/rdd/dbcmd53.c * source/rdd/dbcmdx.c * source/rdd/dbdetach.c * source/rdd/dbsql.c * source/rdd/hbsix/sxfname.c * source/rdd/hbsix/sxord.c * source/rdd/hbsix/sxtable.c * source/rdd/usrrdd/usrrdd.c * source/rtl/at.c * source/rtl/box.c * source/rtl/cdpapi.c * source/rtl/chrasc.c * source/rtl/colorind.c * source/rtl/console.c * source/rtl/copyfile.c * source/rtl/dateshb.c * source/rtl/dirdrive.c * source/rtl/diskspac.c * source/rtl/disksphb.c * source/rtl/errapi.c * source/rtl/filesys.c * source/rtl/fscopy.c * source/rtl/fssize.c * source/rtl/fstemp.c * source/rtl/gete.c * source/rtl/gtfunc.c * source/rtl/gx.c * source/rtl/hbbit.c * source/rtl/hbgtcore.c * source/rtl/hbhex.c * source/rtl/hbi18n1.c * source/rtl/hbinet.c * source/rtl/hbprocfn.c * source/rtl/hbrandom.c * source/rtl/hbregex.c * source/rtl/hbstrsh.c * source/rtl/hbtoken.c * source/rtl/hbzlib.c * source/rtl/hbzlibgz.c * source/rtl/inkey.c * source/rtl/itemseri.c * source/rtl/left.c * source/rtl/math.c * source/rtl/maxrow.c * source/rtl/mlcfunc.c * source/rtl/mouse53.c * source/rtl/mousex.c * source/rtl/mtran.c * source/rtl/natmsg.c * source/rtl/padc.c * source/rtl/padl.c * source/rtl/padr.c * source/rtl/philes.c * source/rtl/philes53.c * source/rtl/rat.c * source/rtl/replic.c * source/rtl/right.c * source/rtl/round.c * source/rtl/run.c * source/rtl/saverest.c * source/rtl/scroll.c * source/rtl/setcolor.c * source/rtl/setcurs.c * source/rtl/setpos.c * source/rtl/shadow.c * source/rtl/strc.c * source/rtl/strmatch.c * source/rtl/strpeek.c * source/rtl/strtoexp.c * source/rtl/strtran.c * source/rtl/stuff.c * source/rtl/substr.c * source/rtl/tone.c * source/rtl/trace.c * source/rtl/transfrm.c * source/rtl/valtype.c * source/rtl/word.c * source/vm/arrayshb.c * source/vm/asort.c * source/vm/classes.c * source/vm/cmdarg.c * source/vm/eval.c * source/vm/hashfunc.c * source/vm/hvm.c * source/vm/memvars.c * source/vm/proc.c * source/vm/thread.c * IS*() -> HB_IS*() macro rename. (pass 1 - sf.net SVN works badly today, so I've split the commit to raise the chances of a successfully finished one) 2009-06-13 15:28 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/hbxbp/tests/demoxbp.prg ! Added AppSys() call as it is required for Xbase++ to flag that application is GUI one. 2009-06-13 15:26 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/hbxbp/xbp_temp.prg + Added missing functions. 2009-06-13 14:28 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/hbxbp/xbp.ch * harbour/contrib/hbxbp/xbpdialog.prg * harbour/contrib/hbxbp/xbpgeneric.prg * harbour/contrib/hbxbp/xbpmenubar.prg * harbour/contrib/hbxbp/xbpwindow.prg * harbour/contrib/hbxbp/tests/demoxbp.prg + Implemented XbpMenuBar() | XbpMenu() classes. + Implemented :setColorFG() | :setColorBG() for all widgets. /* Almost all the features of XbpMenuBar() and XbpMenu() classes are implemented with the exception of following: TODO: XbpMenu*() : beginMenu - callback : endMenu - callback : selectItem() - method : setItem() - method : insItem()[P] - method - Prompts-OK Submenu-NotOK : XBPMENUBAR_MIA_FRAMED - 4th parameter of <aItem> NOTE: I could not find how or with which method Xbase++ is setting a menu item both with 'text' and 'bitmap'. It is done via separate calls. So I have extended the <xCaption> slot of <aItem> property ( whereever applicable ) as: <cIcon>+"|"+cCaption which is parsed and then both objects are inserted together as one option. I do not know if Xbase++ supports text and background colors in the menu's or not but in Harbour you can set them for indivisual menu basis. REQUEST: Please test the code both with Xbase++ and Harbour and report on the list any differeces. I want to set these right from the very begining. NEXT: Working on XbpToolbar() class. */ 2009-06-13 14:19 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/hbqt/generator/hbqtgen.prg * harbour/contrib/hbqt/generator/qt45.qtp * harbour/contrib/hbqt/Makefile_gen * harbour/contrib/hbqt/hbqt.ch * harbour/contrib/hbqt/hbqt.h * harbour/contrib/hbqt/hbqt_slots.h * harbour/contrib/hbqt/hbqt_qcolor.cpp + harbour/contrib/hbqt/hbqt_qkeysequence.cpp * harbour/contrib/hbqt/hbqt_qpalette.cpp * harbour/contrib/hbqt/hbqt_slots.cpp * harbour/contrib/hbqt/moc_slots.cpp * harbour/contrib/hbqt/TQColor.prg + harbour/contrib/hbqt/TQKeySequence.prg * harbour/contrib/hbqt/TQPalette.prg * harbour/contrib/hbqt/qth/QColor.qth + harbour/contrib/hbqt/qth/QKeySequence.qth * harbour/contrib/hbqt/qth/QPalette.qth + Added one more class and implemented constructors for others. + Added more event handellers used in xbp* classes. 2009-06-13 20:54 UTC+0200 Viktor Szakats - contrib/hbblat/syntax.txt + contrib/hbblat/readme.txt * Renamed. 2009-06-13 20:29 UTC+0200 Viktor Szakats - contrib/hbxbp/hbqt.ch * contrib/hbqt/Makefile + contrib/hbqt/hbqt.ch * Moved hbqt.ch under hbqt library. * contrib/hbxbp/Makefile - contrib/hbxbp/apigeneric.cpp + contrib/hbxbp/xbp_temp.prg ! Converted stub functions from C++ to .prg code. Functionality unchanged. ! This also fixed <windows.h> reference in old .cpp file, so now hbxbp can be built on non-Windows systems. * contrib/hbwin/wapi_winbase.c + Added new API wrapper: WAPI_OUTPUTDEBUGSTRING() NOTE: If "outdebug" functionality is needed temporarly to debug any Harbour code, above call can be used and it's enough to add hbwin to the liblist. It's very important however, to only enable these calls in _local Windows environment_, firstly to not create any Windows dependence for portable libs, secondly to not create an unwanted hbwin lib dependence even on Windows-only libs. I suggest using something like this: --- #if defined( __HB_OUTDEBUG__ ) #xtranslate HB_OUTDEBUG( [<x>] ) => WAPI_OUTPUTDEBUGSTRING( <x> ) #else #xtranslate HB_OUTDEBUG( [<x>] ) => #endif [...] HB_OUTDEBUG( "my Windows-only trace call" ) --- And simply use 'set HB_USER_PRGFLAGS=-D__HB_OUTDEBUG__' in local Windows environment to enable it. Probably similar can be added for .c level. ****************************************************** Anyhow, I'd *strongly* suggest to use portable tracing techniques like our existing HB_TRACE(). ****************************************************** 2009-06-13 13:49 UTC+0200 Viktor Szakats * source/rtl/achoice.prg ! Partially reverted this commit: https://sourceforge.net/apps/trac/harbour-project/changeset/10605 After this change, activating DBU menus with all items disabled (e.g. F7/F8) caused app hang. This line: nUserFunc := iif( nMode != AC_NOITEM,; Do( xUserFunc, nMode, nPos, nPos - nAtTop ), NIL ) Was now changed back to this: nUserFunc := Do( xUserFunc, nMode, nPos, nPos - nAtTop ) ac_test2.prg still seem to function fine after this, but I'd kindly like to ask Vladislav Lavrecky to make tests again, maybe we need another fix here. * source/vm/evalhb.c * Minor formatting. * contrib/hbtip/client.prg * Minor formatting. ! :ReadToFile() nMode param check. * utils/hbmk2/hbmk2.prg * Cleanup to variable name prefixes. * contrib/xhb/Makefile + contrib/xhb/xthrow.prg + Added THROW() function for xhb compatibility. This is written in Harbour, based on hbcompat.ch and has Harbour license + exception. + contrib/xhb/xcstr.prg + contrib/xhb/xdbmodst.prg * contrib/xhb/Makefile + Ported following old functions from xhb: CSTRTOVAL(), STRINGTOLITERAL(), VALTOPRG(), PRGEXPTOVAL() + Ported following new functions from xhb: VALTOARRAY(), VALTODATE(), VALTOHASH(), VALTOLOGICAL() VALTONUMBER(), VALTOARRAY(), VALTOTYPE(), DBMODIFYSTRUCTURE(), DBIMPORT(), DBMERGE() (borrowed from xhb, work of Ron Pinkas) 2009-06-12 17:50 UTC+0200 Viktor Szakats * mpkg_deb.sh ! Applied patch to recent change to only accept QT libs on or above version 4.5.0. Patch submitted by Guy Roussin. * utils/hbmk2/hbmk2.prg + Added ${hb_status} and ${hb_revision} macros which will return Harbour version status and revision. * contrib/rddads/ads1.c ! Fixed to allow EF_CANDEFAULT in EG_DATAWIDTH RTE when trying to update field content. * examples/dbu/dbu52.dif * examples/dbu/dbu53.dif ! Fixed two more filename edit fields where uppercase was forced. Thanks to Davor Siklic for the hint. 2009-06-12 14:49 UTC+0200 Viktor Szakats * examples/superlib/readme.txt * examples/dbu/readme.txt * examples/rl/readme.txt + Added workaround for hbformat needing quotes around wildcarded input filenames on *nix systems. * examples/dbu/dbu52.dif * examples/dbu/dbu53.dif ! Added fix to not force uppercase in filename input GETs. Thanks to Davor Siklic for the hint. * examples/rl/rl.dif ! Added fix to not force uppercase in filename input GET. 2009-06-12 12:27 UTC+0200 Viktor Szakats * examples/superlib/readme.txt + Added separate hbformat line for *.c files. NOTE: Indeed, passing both *.c and *.prg in command line doesn't work. + Added unpack instructions. 2009-06-12 12:09 UTC+0200 Viktor Szakats * examples/superlib/readme.txt * examples/dbu/readme.txt * examples/rl/readme.txt * Added -l option to patch command line. This is needed because hbformat trims line ending space which by default confuses patch. [ for dbu52.dif this caused three failed HUNKs in dbu.prg ] % Merged patch options '-l -N -i' into '-lNi'. 2009-06-12 13:30 UTC+0300 Alexander Kresin <alex at belacy.belgorod.su> * utils/hbformat/hbformat.prg ! EOL handling fixed * utils/hbformat/hbformac.c * EOF dropped now 2009-06-12 11:09 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fixed to autodetect special *nix dir layout in case HB_INSTALL_PREFIX envvar is set. % Removed an unreachable error message. 2009-06-12 11:02 UTC+0200 Viktor Szakats * source/debug/dbgentry.c * contrib/xhb/hbxml.c * contrib/hbbtree/hb_btree.c % hb_itemRelease( hb_itemReturn() ) -> hb_itemReturnRelease() * contrib/xhb/hbxml.c ! Applied this fix from xhb: 2008-11-06 20:00 UTC+0100 Jose F. Gimenez <jfgimenez/at/wanadoo.es> ! 'Escape' characters, such & or " were not written correctly in node attribute values ! 'Escape' characters in the form &#NN; and &#xHH; were not allowed when reading 2009-06-12 09:40 UTC+0200 Viktor Szakats * bin/hb-mkimp.bat * Renamed 'owatcom' to 'watcom'. (missed from prev) 2009-06-12 09:26 UTC+0200 Viktor Szakats * doc/man/hbmk.1 * doc/whatsnew.txt * INSTALL * bin/hb-mkdyn.bat * external/libhpdf/Makefile * make_gnu.bat * utils/hbmk2/hbmk2.pt_BR.po * utils/hbmk2/hbmk2.hu_HU.po * utils/hbmk2/hbmk2.prg * utils/hbmk2/examples/contribf.hbc * source/vm/Makefile * contrib/gtalleg/Makefile * contrib/hbqt/Makefile * contrib/hbxbp/Makefile * contrib/gtqtc/Makefile * contrib/gtwvg/Makefile * contrib/hbssl/Makefile * config/dos/global.cf - config/dos/owatcom.cf + config/dos/watcom.cf - config/win/owatcom.cf + config/win/watcom.cf - config/linux/owatcom.cf + config/linux/watcom.cf - config/os2/owatcom.cf + config/os2/watcom.cf * Renamed 'owatcom' to 'watcom'. Please adjust your make files, or just let them autodetect. * utils/hbmk2/examples/contribf.hbc ! Adjusted hbsqlit3 filter after enabling for dos. * external/sqlite3/Makefile + Added comment for DJGPP hack. 2009-06-12 00:41 UTC+0200 Viktor Szakats * INSTALL * mpkg_win.nsi * Updated sf.net hosted apps links (phpBB forum and Trac) after todays site update. Old links will also work indefinitely. 2009-06-12 00:18 UTC+0200 Viktor Szakats * external/sqlite3/sqlite3.c * external/sqlite3/Makefile ! Fixed DJGPP compilation, with extra command-line macro. There are still some missing symols at link phase. Submitted as bug: 'sqlite - Ticket #3910' https://sqlite.org/cvstrac/tktview?tn=3910 + Enabled sqlite3 lib for dos platform. It also compiles with owatcom. - contrib/hbsqlit3/tests/authorizer.prg + contrib/hbsqlit3/tests/sl3_test.prg - contrib/hbsqlit3/tests/sqlite3_test.prg + contrib/hbsqlit3/tests/authoriz.prg ! Renamed long filenames to short ones. 2009-06-11 21:49 UTC+0200 Viktor Szakats * contrib/hbsqlit3/Makefile + Enabled for DOS platform. 2009-06-11 21:01 UTC+0200 Viktor Szakats * source/rtl/gtdos/Makefile * source/rtl/gtwin/Makefile * source/rtl/gtos2/Makefile * source/rtl/gtgui/Makefile * source/rtl/gtwvt/Makefile + Added architecture protection. Just a step to make them all self detecting. * mpkg_win.nsi * Updated links installed. * examples/superlib/readme.txt * examples/dbu/readme.txt * examples/rl/readme.txt ! Fixed my typo in hbformat command-line. 2009-06-11 22:57 UTC+0300 Alexander Kresin <alex at belacy.belgorod.su> * source/debug/tbrwtext.prg ! Bug fixed in Search() method. 2009-06-11 17:46 UTC+0200 Viktor Szakats * INSTALL - Deleted link to clc newsgroup. * contrib/hbsqlit3/hbsqlit3.c + Now all Harbour callable functions are always defined regardless of sqlite3 library version, and those which aren't available return permanent error. 2009-06-11 17:14 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fixed C++ support for dos/djgpp. exe name was wrong. * examples/superlib/readme.txt * examples/dbu/readme.txt * examples/rl/readme.txt + Added hbformat command to intructions how to convert original sources to patchable format (EOL + lowercase). Many thanks to Alexander Kresin. 2009-06-11 19:10 UTC+0300 Alexander Kresin <alex at belacy.belgorod.su> * utils/hbformat/hbformat.prg * utils/hbformat/hbformat.ini * if "nEol" option is 0, the EOL is set to OS default value * new option added - lFCaseLow ( default - no ). If yes, the file name is converted to lower case. * A limitation for file mask has been introduced - *.* is rejected now ( it may be dangerous ). 2009-06-11 13:04 UTC+0200 Viktor Szakats * external/libpng/Makefile ! Fixed to properly link with DJGPP. * utils/hbmk2/hbmk2.prg ! Fixed ${hb_cpu} macro for dos/os2 platforms. * contrib/hbhpdf/Makefile * utils/hbmk2/examples/contribf.hbc + Enabled for DOS platform. ; I could back port my app to DOS after these changes, with only inet stuff not linked in. 2009-06-11 11:05 UTC+0200 Viktor Szakats * INSTALL * Further cleanups in pocc examples. * utils/hbmk2/hbmk2.prg + Added support to detect pocc64 vs. pocc when one common PellesC installation is used. This is probably how most users will use it in real life. New pocc 6.0 support one unified build for pocc, pocc64 and poccarm. 2009-06-11 10:18 UTC+0200 Viktor Szakats - contrib/hbxbp/tests/hbqt.hbc + contrib/hbxbp/tests/hbmk.hbm + contrib/hbxbp/hbxbp.hbc * Sorted out hbmk2 make files. * contrib/hbxbp/Makefile + Added hbqt dir as include path to .prg level. After this hbqt.ch can be moved to hbqt lib where it belongs (at least that's what its name suggest). * contrib/hbxbp/appevent.ch ! SVN header. ; FIXME: There is a windows.h reference in apigeneric.cpp. [DONE] 2009-06-11 00:51 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) + harbour/contrib/hbxbp + harbour/contrib/hbxbp/Makefile + harbour/contrib/hbxbp/xbp.ch + harbour/contrib/hbxbp/hbqt.ch + harbour/contrib/hbxbp/apig.ch + harbour/contrib/hbxbp/appevent.ch + harbour/contrib/hbxbp/apigeneric.cpp + harbour/contrib/hbxbp/xbpdialog.prg + harbour/contrib/hbxbp/xbpgeneric.prg + harbour/contrib/hbxbp/xbpmenubar.prg + harbour/contrib/hbxbp/xbpparthandler.prg + harbour/contrib/hbxbp/xbpwindow.prg + harbour/contrib/hbxbp/tests + harbour/contrib/hbxbp/tests/copy.png + harbour/contrib/hbxbp/tests/cut.png + harbour/contrib/hbxbp/tests/new.png + harbour/contrib/hbxbp/tests/open.png + harbour/contrib/hbxbp/tests/paste.png + harbour/contrib/hbxbp/tests/save.png + harbour/contrib/hbxbp/tests/test.ico + harbour/contrib/hbxbp/tests/hbqt.hbc + harbour/contrib/hbxbp/tests/demoxbp.prg + Initial upload of Xbase++ compatible class framework based on QT 4.5. /* As this lib is subject to heavy changes per contents and file names and as I have to constantly need logging, some windows specific stuff is present at a couple of places. Linus users may comment these out. demoxbp is functional to the extent it is demonstrated. Please note that demo is based on Xbase++ exact code without any hacks. I have simulated AppEvent() function which I think should be set right from the begining. So I will ask you to give it a thought. Your input will be very valuable to make this project success. At the final phase this lib will purely be a PRG code based on hbqt.lib for API interface. */ 2009-06-11 10:00 UTC+0200 Viktor Szakats * INSTALL * Revised links section. + Added User Forums, removed user mailing list. ; I'm not sure if we should link to comp.lang.clipper. * utils/hbmk2/hbmk2.prg ! Fixed just added -hblib lib assembly command line to use {SCRIPT} in dos/djgpp. 2009-06-11 00:34 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/hbqt/generator/hbqtgen.prg * harbour/contrib/hbqt/generator/qt45.qtp * harbour/contrib/hbqt/hbqt.h + harbour/contrib/hbqt/hbqt_qkeyevent.cpp + harbour/contrib/hbqt/hbqt_qmouseevent.cpp * harbour/contrib/hbqt/hbqt_slots.cpp * harbour/contrib/hbqt/hbqt_slots.h * harbour/contrib/hbqt/Makefile_gen * harbour/contrib/hbqt/moc_slots.cpp + harbour/contrib/hbqt/qth/QKeyEvent.qth + harbour/contrib/hbqt/qth/QMouseEvent.qth + harbour/contrib/hbqt/TQKeyEvent.prg + harbour/contrib/hbqt/TQMouseEvent.prg + Added two more classes. + Added more event handlers. 2009-06-11 08:24 UTC+0200 Viktor Szakats * INSTALL * Stripped "\devl" from all examples dirs. + Adjusted all examples dir to use default installation paths where possible. + Adjusted examples dir to not include a version number. + Added OS/2 Watcom example (untested) ; These makes example much more readily usable and avoid some more potential confusion. * mpkg_win.bat ! Handling spaces in HB_DIR_NSIS. * make_gnu.bat + Added beeps if errors were detected. (step towards error handling) * source/common/hbver.c * Changed OS version for DOS to show "(Windows NT) under NT systems (instead of former "(Windows NT/2000)"). 2009-06-10 23:33 UTC+0200 Viktor Szakats ; FIXME: dos/owatcom builds can now created successfully (using standard Open Watcom 1.8 installation), the bad news is that e.g. hbmk2 will crash the NTVDM when trying a simple make. * INSTALL ! Minor fix to DOS instructions. + Added DOS build examples. * mpkg_dos.bat ! Fixed target dir and archive name to be different for djgpp and owatcom builds. * make_gnu.bat + config/djg-make.exe + Added embedded copy of DOS build of GNU Make. This is to make DOS builds, specifically dos/owatcom builds simpler. Original filename was 'make.exe'. This can probably be removed once we move DOS platform status to a 'target-only' one, like WinCE/ARM. * make_gnu.bat ! Ugly hack added to create doc/en-EN dir. This still won't solve the DOS copy problem unless I remove the hack committed previously. If I remove it the make process cannot be anymore started without this batch file as it would choke on xcopy if above dir doesn't exist. * make_gnu.sh ! Applied fix to only create install dirs if called with 'install' option. At the same time enabled this feature for all platforms. It will also create doc/en-EN dir. PLEASE TEST/REVIEW, I didn't do any testing. ; FIXME: Much or all of these should IMO be done directly from make files, it would be much self-contained and consistent. * source/pp/Makefile ! Fixed to find ChangeLog when building for DOS targets. This was a problem when trying to build dos/owatcom. Now in DOS mode it will refer to the ChangeLog by its 8.3 name. * utils/hbmk2/hbmk2.prg * Minor formatting. * mpkg_deb.sh * harbour.spec - Deleted hbmsql. ; FIXME: hbqt is missing from some Linux mpkg files. ; FIXME: (in next major release) We should try to make Linux build files less-maintenance intensive. 2009-06-10 21:10 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fixed windows/dos cross-compilation. The error is very strange, it occures only when calling gcc in compiler mode with @script file. See comment in source, maybe someone has an idea. Anyway now it's possible to bundle DOS libs in the unified Windows build and create DOS apps/libs with it, using this command: hbmk2 hello.prg -arch=dos [needs DJGPP in PATH] (I couldn't make owatcom work on DOS, but that may also work along the same lines) + Added support for static lib generation for dos/djgpp. + Added support for static lib generation for os2/gcc. (untested) Where are our OS/2 developers? 2009-06-10 20:10 UTC+0200 Viktor Szakats * doc/en-EN/Makefile * config/dos/global.cf * config/dos/install.cf * config/doc.cf ! Fixes to prev. Nothing is simple in the world of DOS. 'copy' restored for general purpose to avoid idiotic and unavoidable Microsoft xcopy message: "Does destination specify a file name or directory name on the target (F = file, D = directory)?" * Using xcopy for install purposes only. * Change the way above idiotic message is avoided. Made the hack local to Makefile. It doesn't work either way, but at least it lets it run. * make_gnu.bat * Minor. 2009-06-10 19:42 UTC+0200 Viktor Szakats * config/dos/global.cf ! Typo in prev. * ChangeLog - ChangeLog-old * Restored unified ChangeLog. I know it has some drawbacks, like longer loading time with some apps, but it's much more elegant this way and easier to search in it. 2009-06-10 19:36 UTC+0200 Viktor Szakats * config/dos/global.cf ! Fixed to use xcopy instead of copy to 'install' files. This means long filenames (and also casing) will be retained. This also means that now 'install' actually works. It may also mean that creating a DJGPP build isn't anymore possible on a pure DOS system, I can't remember when xcopy was introduced. Anyway I think it's better to have this requirement than not having a proper DOS build at all (since long years). This also means that our DOS release cannot even be *used* in pure DOS environment, since our long filenames will be chopped when extracting the distro .zip. Only final .exes are able to run under DOS. We still have the option to implement full short name support, but I'm not sure this has any importance anymore. If we don't want to do this, we can finally lift some restrictions which tied our hands so far, based on the fact that DOS builds cannot even be created and run on real DOS. So, this means: - We may use long filenames as distro name. - We may convert DOS platform as a target only platform, similar to WinCE/ARM. - If we do the above, we may even embed our DOS libs in Windows distro, and build DOS apps using hbmk2 hello.prg -arch=dos - We may use long filename anywhere in our tree. (but we must check first if long names are also supported for headers, dirnames and source names) If you have an opinion, please tell. * config/dos/global.cf ! Adding ending pathsep to DOC_SUBDIR to make xcopy happy and not ask if the target is a file or directory. ; FIXME: Anyhow, DOC_SUBDIR feature simply doesn't work since very long, so we should do something about it in the future. * debian/changelog + Added new version entry. (Thanks Guy) * bin/postinst.bat ! Added workaround to make it work under DOS. (avoiding 'Out of environment space' error) + mpkg_dos.bat + Added DOS package generator batch. Very similar to mpkg_win.bat, maybe we should merge them in the future. * mpkg_win.bat * Using short name for main dir, just to sync it with DOS version. * utils/hbformat/hbformat.prg + Changed default GT to GTCGI. * utils/hbmk2/hbmk2.prg ! Added workaround for dos/djgpp anomaly in hb_DirBase() (and also hb_ProgName()) where path contains forward slashed instead of backslashes. ; FIXME: In core. * source/vm/Makefile ! Disabled hbvmall for dos build because of thid djgpp error: --- gcc -I. -I../../../../include -Wall -W -O3 -c ../../hvmall.c -ohvmall.o In file included from ../../../../include/hbmath.h:60, from ../../itemapi.c:97, from ../../hvmall.c:67: c:/devl/djgpp/include/libm/math.h:97: error: redefinition of 'struct exception' --- * contrib/hbblat/hbblat.hbc * contrib/hbhpdf/hbhpdf.hbc * Minor formatting. 2009-06-10 13:19 UTC+0200 Viktor Szakats + examples/hbmsql/tests/hbmk.hbm - examples/hbmsql/tests/hbmsql.hbc + examples/hbmsql/hbmsql.hbc * hbmk2 make file rearrangement continued. 2009-06-10 13:17 UTC+0200 Viktor Szakats + contrib/gtalleg/tests/hbmk.hbm - contrib/gtalleg/tests/gtalleg.hbc + contrib/gtalleg/gtalleg.hbc + contrib/hbqt/tests/hbmk.hbm - contrib/hbqt/tests/hbqt.hbc + contrib/hbqt/hbqt.hbc + contrib/hbwin/tests/hbmk.hbm - contrib/hbwin/tests/hbwin.hbc + contrib/hbwin/hbwin.hbc + contrib/hbblat/tests/hbmk.hbm - contrib/hbblat/tests/hbblat.hbc + contrib/hbblat/hbblat.hbc + contrib/hbhpdf/tests/hbmk.hbm - contrib/hbhpdf/tests/hbhpdf.hbc + contrib/hbhpdf/hbhpdf.hbc * Experimental round of rearranging hbmk2 make files to give a more generic layout. This means that in 'tests' dir there now will only be an automatically processed .hbm file, which adds some extra options to the hbmk2 command line, in these case, they will add a reference to the contrib lib config file (.hbc), now moved to the contrib root, it's proper place. * Separated test program extra lib requirements from contrib lib requirements in hbblat and hbhpdf. ; TODO: Do this for the rest of contribs. [DONE] 2009-06-10 09:45 UTC+0200 Viktor Szakats * INSTALL + Added comp.lang.clipper as public forum. * make_gnu.bat ! Minor. * source/pp/hbpp.c ! Added version status to banner. * examples/superlib/hbsuper.hbp * examples/superlib/hbsuper.dif * examples/superlib/readme.txt * examples/dbu/dbu.hbp - examples/dbu/dbu.dif + examples/dbu/dbu52.dif + examples/dbu/dbu53.dif * examples/dbu/readme.txt * examples/rl/rl.hbp * examples/rl/rl.dif * examples/rl/readme.txt * Updated instructions: New item for *nix users to convert to lowercase and native EOL format, added hbmk2 command for all projects, separate 5.2/5.3 DBU patches. + Added separate patch for C53 version of DBU sources. * Converted all original filename references to lowercase. ! Fixed a few bugs in previous patches. ! Fixed .dif files to work on both *nix and non-*nix systems (had to create them on *nix then convert them to have consistent EOLs) 2009-06-09 22:44 UTC+0200 Viktor Szakats * mpkg_deb.sh + Added hbqt lib. Submitted by Davor Siklic. Thank you. * tests/wvtext.prg ! Filename converted to lowercase. - contrib/hbqt/tests/wvtext.prg - contrib/gtqtc/tests/wvtext.prg - Deleted duplicates of this demo. 2009-06-09 21:14 UTC+0200 Viktor Szakats * INSTALL * Harbour version cleaned from postfix. - contrib/hbct/tests/Makefile - contrib/hbfbird/tests/Makefile - contrib/hbpgsql/tests/Makefile - contrib/hbbtree/tests/Makefile - examples/hbdoc/examples/core_es/Makefile - Deleted GNU Make files not necessary. /* MARK: Harbour 2.0.0beta1 release */ 2009-06-09 15:59 UTC+0200 Viktor Szakats * harbour-win-spec * harbour-wce-spec * mpkg_win.bat * include/hbver.h * harbour.spec * Changed version to 2.0.0beta1 (from 2.0.0dev) ; NOTE: Everyone is encouraged to create binary releases for various platforms and try this new version with real apps. We can even upload these binary releases to sf.net. 2009-06-09 14:56 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg * Synced HB_DYNLIB handling with GNU Make. This means that from now on hbmk2 won't use -DHB_DYNDLL C compiler switch in -hbdyn mode for mingw/cygwin compilers. * ChangeLog * Updated status of some TODO/FIXME entries. * contrib/rddsql/sddodbc/tests/sddodbc.hbc + Added odbc32 to lib list for win platform. * utils/hbmk2/hbmk2.hbp * utils/hbrun/hbrun.hbp * Removed mingw specific hack which made benefit from the fact that mingw-made .dlls export all public symbols, when built for shared. 2009-06-09 10:51 UTC+0200 Viktor Szakats * INSTALL * Minor simplification. * make_gnu.bat * Minor cleanup. - Deleted 'don't modify, this is a template' text. * utils/hbmk2/hbmk2.prg + Targets will now get an alternate workdir by default on win/wce platforms when using -hbdyn. ; FIXME: ? HB_DYNLIB usage should be cleaned and synced with GNU Make system. Current HB_DYNLIB usage: GNU Make system: ( win or wce ) and non-gcc hbmk2: ( win or wce ) [DONE] * contrib/Makefile - contrib/hbmsql + examples/hbmsql * Moved hbmsql to examples. - examples/hbmsql/Makefile + examples/hbmsql/hbmsql.hbp + Changed GNU Make file to hbmk2 make file. * examples/hbmake/hbmake.hbp * Minor to comment. 2009-06-09 10:54 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/do.c ! fixed mistake in previous commit 2009-06-09 10:38 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/eval.c * update number of parameters in HB_EXECMSG() to keep the HVM stack clean for any external code which can try to make some HVM stack tracing/scanning * harbour/source/vm/evalhb.c ! use hb_vmSend() instead of hb_vmDo() * harbour/source/pp/pplib.c * harbour/source/pp/pplib3.c * harbour/source/vm/runner.c * harbour/source/vm/hvm.c * harbour/source/vm/thread.c * harbour/source/vm/eval.c * harbour/source/vm/dynlibhb.c * harbour/source/vm/classes.c * harbour/source/rtl/do.c * harbour/source/rtl/xhelp.c * harbour/source/rdd/workarea.c * harbour/source/rdd/dbf1.c % use hb_vmProc() instead of hb_vmDo() in all places where context is well known as function or procedure call 2009-06-08 22:36 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtwvg/wvgcore.c * harbour/contrib/gtwvg/wvgcuig.c * harbour/contrib/gtwvg/wvgutils.c * harbour/contrib/gtwvg/wvgwin.c ! ISNIL() => HB_IS*() 2009-06-08 21:09 UTC+0200 Viktor Szakats * make_gnu.bat + Added C compiler autodetection. This feature will kick in if HB_COMPILER is left empty. (works for all compilers except msvcarm and poccarm) * utils/hbmk2/hbmk2.prg + Added -nohblib option which will omit all static core Harbour libraries from link commands. Works only in the command line. * INSTALL * Minor. 2009-06-08 18:57 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Possible fix to -hbdyn in -xhb mode. ! Fix to -hbdyn in -hb10 mode. 2009-06-08 18:47 UTC+0200 Viktor Szakats * INSTALL % Removed section dealing with GNU Make configuration on Windows. Not needed anymore. % Removed GNU Make configuration from examples. Not needed. + Example changed to use HB_DIR_NSIS, instead of modifying PATH. ! Minor recent typo. 2009-06-08 18:25 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fixed again -hbdyn generation by removing hbmaindllp lib from the liblist. This was added as part of a fix, so I'm not sure what is the good and final solution. Anyway it looks like this lib isn't to be used for .dll, or only for pure pcode ones. So it's probably better to leave it as a manual user option: -l{win}hbmaindllp If someone knows more, pls speak up. 2009-06-08 17:53 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.hu_HU.po ! Typo. * utils/hbmk2/hbmk2.prg ! Typo in an IF construct which caused wrong autodetection of embedded MinGWs. * Renamed a variable. 2009-06-08 14:48 UTC+0200 Viktor Szakats - utils/hbmk2/examples/hwgui.hbc - Deleted file. Now it's hosted by hwgui repository, in its ready-to-use location. Thanks Alexander. 2009-06-08 14:33 UTC+0200 Viktor Szakats * config/wce/mingwarm.cf ! Fixed 'del' command receiving wrongly formed path seps in non-msys mode when lib creation failed. 2009-06-08 14:14 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/hvm.c * removed unnecessary stack preloading in hb_vmProc() and MT builds 2009-06-08 13:00 UTC+0200 Viktor Szakats * make_gnu.bat * INSTALL + Automatically filling HB_CCPREFIX for mingw64 and mingwce targets, if not specified by user. * Removed HB_CCPREFIX from examples. Not yet documented the override feature as it's currently not needed. 2009-06-08 11:59 UTC+0200 Viktor Szakats * mpkg_win.bat * mpkg_win.nsi ! Fixed to include ChangeLog* instead of ChangeLog alone. + Added support for HB_DIR_NSIS envvar to specify the location of Nullsoft Installer. Value should end with backslash if specified. 2009-06-08 11:05 UTC+0200 Viktor Szakats * ChangeLog + ChangeLog-old + Created ChangeLog-old which currently holds entries belonging to 1.0.1 and older versions, moved from main ChangeLog. From time to time we should move additional entries there from main ChangeLog to not let main ChangeLog grow too large. Updating files causes SVN dumps to contain the whole file each time it's changed, which means a large ChangeLog has a dramatic effect on the size of the SVN dump. We're at 12.4 GB at this moment, much of this is ChangeLog copies (about ~4000 of them). 2009-06-07 23:43 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/hbqt/generator/hbqtgen.prg * harbour/contrib/hbqt/generator/qt45.qtp * harbour/contrib/hbqt/hbqt.h + harbour/contrib/hbqt/hbqt_qabstracttablemodel.cpp + harbour/contrib/hbqt/hbqt_qfilesystemmodel.cpp + harbour/contrib/hbqt/hbqt_qmodelindex.cpp * harbour/contrib/hbqt/Makefile_gen + harbour/contrib/hbqt/qth/QAbstractTableModel.qth + harbour/contrib/hbqt/qth/QFileSystemModel.qth + harbour/contrib/hbqt/qth/QModelIndex.qth + harbour/contrib/hbqt/TQAbstractTableModel.prg + harbour/contrib/hbqt/TQFileSystemModel.prg + harbour/contrib/hbqt/TQModelIndex.prg + Added more classes. With this basic user interface classes are complete. 2009-06-07 22:14 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/hbqt/generator/hbqtgen.prg * harbour/contrib/hbqt/hbqt_qabstractitemmodel.cpp * harbour/contrib/hbqt/hbqt_qabstractlistmodel.cpp * harbour/contrib/hbqt/hbqt_qcombobox.cpp * harbour/contrib/hbqt/hbqt_qdirmodel.cpp * harbour/contrib/hbqt/hbqt_qicon.cpp * harbour/contrib/hbqt/hbqt_qimage.cpp * harbour/contrib/hbqt/hbqt_qpainter.cpp * harbour/contrib/hbqt/hbqt_qpixmap.cpp * harbour/contrib/hbqt/hbqt_qstandarditemmodel.cpp * harbour/contrib/hbqt/hbqt_qstringlistmodel.cpp * harbour/contrib/hbqt/hbqt_qtextdocument.cpp * harbour/contrib/hbqt/hbqt_qwebview.cpp * harbour/contrib/hbqt/hbqt_slots.cpp * harbour/contrib/hbqt/hbqt_slots.h * harbour/contrib/hbqt/moc_slots.cpp * harbour/contrib/hbqt/tests/demoqt.prg ! HB_ISNIL() => HB_ISPOINTER() + Added more event handlers. + Cleaned up hbqtgen.prg. /* Now almost all the controls have events response in place. The exception is QListView(). I am struggling to understand why this widget do not respnd to events. */ 2009-06-08 06:30 UTC+0200 Viktor Szakats * INSTALL + Added minimum tested version of MinGW. * make_gnu.bat + Added echo to display errorlevel after running GNU Make if it's not zero. Eventually I'd like to add proper error display in case GNU Make returned with error (not that GNU Make doesn't display it), but first I'd like to inspect how it works (there is no documentation about returned errorlevels). * config/win/mingw.cf ! Fixed 'del' command receiving wrongly formed path seps in non-msys mode when lib creation failed. * ChangeLog ! Typo in one yesterday's entry. 2009-06-07 16:14 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/hbqt/generator/hbqtgen.prg * harbour/contrib/hbqt/generator/qt45.qtp * harbour/contrib/hbqt/hbqt.h * harbour/contrib/hbqt/hbqt_qabstractitemmodel.cpp + harbour/contrib/hbqt/hbqt_qabstractlistmodel.cpp * harbour/contrib/hbqt/hbqt_qcombobox.cpp * harbour/contrib/hbqt/hbqt_qdirmodel.cpp * harbour/contrib/hbqt/hbqt_qftp.cpp * harbour/contrib/hbqt/hbqt_qhttp.cpp * harbour/contrib/hbqt/hbqt_qicon.cpp * harbour/contrib/hbqt/hbqt_qimage.cpp + harbour/contrib/hbqt/hbqt_qlist.cpp * harbour/contrib/hbqt/hbqt_qpainter.cpp * harbour/contrib/hbqt/hbqt_qpixmap.cpp * harbour/contrib/hbqt/hbqt_qstandarditemmodel.cpp + harbour/contrib/hbqt/hbqt_qstringlist.cpp + harbour/contrib/hbqt/hbqt_qstringlistmodel.cpp * harbour/contrib/hbqt/hbqt_qtextdocument.cpp * harbour/contrib/hbqt/hbqt_qwebview.cpp * harbour/contrib/hbqt/hbqt_qwidget.cpp * harbour/contrib/hbqt/Makefile_gen + harbour/contrib/hbqt/qth/QAbstractListModel.qth + harbour/contrib/hbqt/qth/QList.qth + harbour/contrib/hbqt/qth/QStringList.qth + harbour/contrib/hbqt/qth/QStringListModel.qth * harbour/contrib/hbqt/qth/QWidget.qth + harbour/contrib/hbqt/TQAbstractListModel.prg * harbour/contrib/hbqt/TQFtp.prg * harbour/contrib/hbqt/TQHttp.prg * harbour/contrib/hbqt/TQIcon.prg + harbour/contrib/hbqt/TQList.prg + harbour/contrib/hbqt/TQStringList.prg + harbour/contrib/hbqt/TQStringListModel.prg * harbour/contrib/hbqt/TQWebView.prg * harbour/contrib/hbqt/TQWidget.prg * harbour/contrib/hbqt/tests/demoqt.prg + Added new classes, fixed some default parameter issues. + Added QListView() and managed how to use QStringList() class. 2009-06-07 19:26 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added support to redefine .prg level __ARCH*__ and __*_ENDIAN__ macros in cross build situations. [ This doesn't seem to be a practical problem, but cross builds targeting *nix systems aren't covered and they probably won't be. ] Anyway, I wouldn't recommend using these macros in .prg code, as they won't work as expected when creating universal binaries (e.g. on darwin). 2009-06-07 15:43 UTC+0200 Viktor Szakats * INSTALL + Documented HB_*_STATIC options. * external/sqlite3/sqlite3.c * external/sqlite3/sqlite3.h * sqlite upgraded to 3.6.14.2 (from 3.6.14.1) 2009-06-07 14:18 UTC+0200 Viktor Szakats * contrib/hbqt/Makefile * contrib/hbqt/tests/hbqt.hbc * contrib/gtqtc/Makefile * contrib/gtqtc/tests/gtqtc.hbc + If HB_QT_STATIC is set, Harbour build will automatically create a hbqt lib to be used with static qt libs. The static version of hbqt is called hbqts to allow it to exist in parallel with default dynamic version. * contrib/hbqt/tests/hbqt.hbc + Added two Windows system libs which are needed for some QT parts (path/dir handling), but aren't part of default hbmk2 Windows system lib list. * contrib/gtalleg/Makefile * contrib/gtalleg/tests/gtalleg.hbc + If HB_ALLEGRO_STATIC is set, Harbour build will automatically create a gtalleg lib to be used with static allegro libs. The static version of gtalleg is called gtallegs to allow it to exist in parallel with default dynamic version. 2009-06-07 13:32 UTC+0200 Viktor Szakats * contrib/hbqt/tests/hbqt.hbc * contrib/gtqtc/tests/gtqtc.hbc + Added static linking option for Windows. It can be enabled by setting envvar HB_QT_STATIC. (needs latest hbmk2) - contrib/gtalleg/tests/gtallegs.hbc - contrib/gtalleg/tests/gtallegd.hbc + contrib/gtalleg/tests/gtalleg.hbc + Merged separate static/shared config files into one. Static mode can now be enabled by setting evvar HB_ALLEGRO_STATIC. (needs latest hbmk2) 2009-06-07 11:05 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.hu_HU.po * utils/hbmk2/hbmk2.prg + Added experimental pure C build mode. Activate with -hbc (command-line only). In this mode Harbour libs won't be linked, .prgs won't be compiled, language files won't be handled, options will be treatet as C compiler ones, and obviously some other Harbour related hbmk2 options will be ignored. * Minor translation update. 2009-06-06 19:01 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/hbqt/Makefile_gen * harbour/contrib/hbqt/hbqt_qabstractitemview.cpp + harbour/contrib/hbqt/hbqt_qdirmodel.cpp * harbour/contrib/hbqt/hbqt.h * harbour/contrib/hbqt/generator/hbqtgen.prg * harbour/contrib/hbqt/tests/demoqt.prg * harbour/contrib/hbqt/TQAbstractItemView.prg + harbour/contrib/hbqt/TQDirModel.prg * harbour/contrib/hbqt/qth/QAbstractItemView.qth + harbour/contrib/hbqt/qth/QDirModel.qth * harbour/contrib/hbqt/generator/qt45.qtp + Added one more class and fixed another. /* Now demoqt demonstrates a lot of controls. Central widget is added to the main window to host all other controls. Main window hosts QMenuBar() QToolBar() QStatusBar() QWidget() - central == drawingArea of XbpDialog() in Xbase++. :drawingArea hosts: QTableWidget() | QTableWidgetItem() QPushButton() QLabel() QProgressBar() QTabWidget() :tabs host: QTreeView() QLineEdit() QComboBox() QCheckBox() QRadioButton() QSpinBox() QTextBox() Feel free to play with the ToolBars. You can drag and dock them to any corners. Push button executes a message box. Tool buttons reacts to events and show up tooltips. As a whole, I am truely convinced, that within new couple of weeks Xbase++ compatible XbpParts will be a reality. */ 2009-06-07 02:24 UTC+0200 Viktor Szakats * bin/postinst.bat + bin/hb-mkimp.bat + Separated import lib generation from postinst.bat into a separate batch file. This file can be run by users, and it will be included in binary builds to help users. HB_COMPILER, HB_LIB_INSTALL and HB_DIR_* envvars have to be set to make it work. ; TODO: Add documentation to INSTALL. [DONE] * utils/hbmk2/hbmk2.prg + Recognizing SVN repositories in a rare configuration. 2009-06-06 13:15 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/hbqt/generator/hbqtgen.prg * harbour/contrib/hbqt/tests/demoqt.prg + Added demo code QTableWidget() and QTableWidgetItem() classes to show a grid control submitted by CarozoDeQuilmes. 2009-06-06 11:59 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/hbqt/Makefile_gen + harbour/contrib/hbqt/hbqt_qabstractitemmodel.cpp * harbour/contrib/hbqt/hbqt_qradialgradient.cpp * harbour/contrib/hbqt/hbqt_qstyleditemdelegate.cpp * harbour/contrib/hbqt/hbqt_qstyleoption.cpp * harbour/contrib/hbqt/hbqt_qtextinlineobject.cpp + harbour/contrib/hbqt/hbqt_qtextobject.cpp * harbour/contrib/hbqt/hbqt.h * harbour/contrib/hbqt/generator/hbqtgen.prg * harbour/contrib/hbqt/tests/demoqt.prg + harbour/contrib/hbqt/TQAbstractItemModel.prg + harbour/contrib/hbqt/TQTextObject.prg + harbour/contrib/hbqt/qth/QAbstractItemModel.qth * harbour/contrib/hbqt/qth/QRadialGradient.qth * harbour/contrib/hbqt/qth/QStyledItemDelegate.qth * harbour/contrib/hbqt/qth/QStyleOption.qth * harbour/contrib/hbqt/qth/QTextInlineObject.qth + harbour/contrib/hbqt/qth/QTextObject.qth * harbour/contrib/hbqt/generator/qt45.qtp ! Added two classes and synchronized others. All cross references are resolved and now hbqt.lib is self contained. /* Basic components to develop GUI platform is over. Please submit any code you have developed based on hbqt.lib so that enthusiasm about it could be generated. Don't be shy about the quality of the code, many are there to set it right. Now onwards I will be concentrating on Xbase++ Parts implementation. */ 2009-06-06 10:33 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/hbqt/Makefile_gen + harbour/contrib/hbqt/hbqt_qstyleoptionslider.cpp + harbour/contrib/hbqt/hbqt_qstyleoptionspinbox.cpp + harbour/contrib/hbqt/hbqt_qstyleoptiontab.cpp + harbour/contrib/hbqt/hbqt_qstyleoptiontabbarbase.cpp + harbour/contrib/hbqt/hbqt_qstyleoptiontabwidgetframe.cpp + harbour/contrib/hbqt/hbqt_qstyleoptiontitlebar.cpp + harbour/contrib/hbqt/hbqt_qstyleoptiontoolbar.cpp + harbour/contrib/hbqt/hbqt_qstyleoptiontoolbox.cpp + harbour/contrib/hbqt/hbqt_qstyleoptiontoolbutton.cpp + harbour/contrib/hbqt/hbqt_qstyleoptionviewitem.cpp + harbour/contrib/hbqt/hbqt_qstylepainter.cpp * harbour/contrib/hbqt/hbqt.h * harbour/contrib/hbqt/generator/hbqtgen.prg + harbour/contrib/hbqt/TQStyleOptionSlider.prg + harbour/contrib/hbqt/TQStyleOptionSpinBox.prg + harbour/contrib/hbqt/TQStyleOptionTab.prg + harbour/contrib/hbqt/TQStyleOptionTabBarBase.prg + harbour/contrib/hbqt/TQStyleOptionTabWidgetFrame.prg + harbour/contrib/hbqt/TQStyleOptionTitleBar.prg + harbour/contrib/hbqt/TQStyleOptionToolBar.prg + harbour/contrib/hbqt/TQStyleOptionToolBox.prg + harbour/contrib/hbqt/TQStyleOptionToolButton.prg + harbour/contrib/hbqt/TQStyleOptionViewItem.prg + harbour/contrib/hbqt/TQStylePainter.prg + harbour/contrib/hbqt/qth/QStyleOptionSlider.qth + harbour/contrib/hbqt/qth/QStyleOptionSpinBox.qth + harbour/contrib/hbqt/qth/QStyleOptionTab.qth + harbour/contrib/hbqt/qth/QStyleOptionTabBarBase.qth + harbour/contrib/hbqt/qth/QStyleOptionTabWidgetFrame.qth + harbour/contrib/hbqt/qth/QStyleOptionTitleBar.qth + harbour/contrib/hbqt/qth/QStyleOptionToolBar.qth + harbour/contrib/hbqt/qth/QStyleOptionToolBox.qth + harbour/contrib/hbqt/qth/QStyleOptionToolButton.qth + harbour/contrib/hbqt/qth/QStyleOptionViewItem.qth + harbour/contrib/hbqt/qth/QStylePainter.qth * harbour/contrib/hbqt/generator/qt45.qtp + Added more classes - count == 179 2009-06-06 16:07 UTC+0200 Viktor Szakats * INSTALL * Made clear that GNU Make installation isn't needed for mingw targets. * include/hbextern.ch + Added HB_EXECMSG(). * contrib/xhb/tests/xhb.hbc + Added hbct, hbtip and hbwin (on Windows) to emulate xhb, which has these libs as part of the core. * utils/hbmk2/hbmk2.prg + Environment variables cannot be used as filters. If an envvar with the name of the filter exists and it's value isn't "0" or "no", it's considered a match. - Deleted -EHsc-/-EHsc/-EHs-c- switch variant from msvc C flag list. This was copied from Harbour Make files, and most probably they aren't necessary even there, especially since they are set inconsistently (differently) for depending on msvc compiler version and win/wce target. These flags deal with exception handling, so I doubt any core code (with the exception of hbqt) would need it. + Added some level of internal support for build modes (release, debug, fulldebug) and Unicode/ASCII selection. Added to TODO anyway, will continue with them in the future. 2009-06-06 14:31 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbvm.h * harbour/source/vm/hvm.c + added hb_vmProc() function - it's hb_vmDo() but without hack to send messages. TODO: remove from hb_vmDo() support for messages so it can replace new hb_vmProc() function or if we really need such mixed common execution function then replace in HVM calls to hb_vmDo() with hb_vmProc() * harbour/source/vm/classes.c * replaced hb_vmFunction() call by hb_vmDo() * harbour/source/vm/arrays.c * harbour/source/vm/thread.c ! cleaned hb_vmDo()/hb_vmSend() usage * harbour/source/vm/eval.c ! replaced hb_vmFunction() calls by hb_vmSend() + added .prg function hb_execMsg( <sFuncSym>, <object>, [<params,...>] ) which executes <sFuncSym> with <object> set as QSELF() value. Mindaugas, you can use it in your HashObject to execute functions like pseudo messages. 2009-06-06 11:38 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg * Changed directory name for embedded mingwarm tools to 'mingwarm' from 'mingwce'. 2009-06-06 11:36 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added autodetection for recently released (version 0.55) mingw32ce packages.According to their homepage, they use slightly different names for packages, which is now recognized by hbmk2. I didn't test it though on Linux, and there is no Windows binary release yet for this new version. 2009-06-06 01:17 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/hbqt/Makefile_gen + harbour/contrib/hbqt/hbqt_qstyleditemdelegate.cpp + harbour/contrib/hbqt/hbqt_qstylehintreturn.cpp + harbour/contrib/hbqt/hbqt_qstylehintreturnmask.cpp + harbour/contrib/hbqt/hbqt_qstylehintreturnvariant.cpp + harbour/contrib/hbqt/hbqt_qstyleoption.cpp + harbour/contrib/hbqt/hbqt_qstyleoptionbutton.cpp + harbour/contrib/hbqt/hbqt_qstyleoptioncombobox.cpp + harbour/contrib/hbqt/hbqt_qstyleoptioncomplex.cpp + harbour/contrib/hbqt/hbqt_qstyleoptiondockwidget.cpp + harbour/contrib/hbqt/hbqt_qstyleoptionfocusrect.cpp + harbour/contrib/hbqt/hbqt_qstyleoptionframe.cpp + harbour/contrib/hbqt/hbqt_qstyleoptiongroupbox.cpp + harbour/contrib/hbqt/hbqt_qstyleoptionheader.cpp + harbour/contrib/hbqt/hbqt_qstyleoptionmenuitem.cpp + harbour/contrib/hbqt/hbqt_qstyleoptionprogressbar.cpp + harbour/contrib/hbqt/hbqt_qstyleoptionsizegrip.cpp + harbour/contrib/hbqt/hbqt.h * harbour/contrib/hbqt/generator/hbqtgen.prg ! Added new section <VARIABLES></VARIABLES> Some classes allow access to variables directly just like properties. + harbour/contrib/hbqt/TQStyledItemDelegate.prg + harbour/contrib/hbqt/TQStyleHintReturn.prg + harbour/contrib/hbqt/TQStyleHintReturnMask.prg + harbour/contrib/hbqt/TQStyleHintReturnVariant.prg + harbour/contrib/hbqt/TQStyleOption.prg + harbour/contrib/hbqt/TQStyleOptionButton.prg + harbour/contrib/hbqt/TQStyleOptionComboBox.prg + harbour/contrib/hbqt/TQStyleOptionComplex.prg + harbour/contrib/hbqt/TQStyleOptionDockWidget.prg + harbour/contrib/hbqt/TQStyleOptionFocusRect.prg + harbour/contrib/hbqt/TQStyleOptionFrame.prg + harbour/contrib/hbqt/TQStyleOptionGroupBox.prg + harbour/contrib/hbqt/TQStyleOptionHeader.prg + harbour/contrib/hbqt/TQStyleOptionMenuItem.prg + harbour/contrib/hbqt/TQStyleOptionProgressBar.prg + harbour/contrib/hbqt/TQStyleOptionSizeGrip.prg + harbour/contrib/hbqt/qth/QStyledItemDelegate.qth + harbour/contrib/hbqt/qth/QStyleHintReturn.qth + harbour/contrib/hbqt/qth/QStyleHintReturnMask.qth + harbour/contrib/hbqt/qth/QStyleHintReturnVariant.qth + harbour/contrib/hbqt/qth/QStyleOption.qth + harbour/contrib/hbqt/qth/QStyleOptionButton.qth + harbour/contrib/hbqt/qth/QStyleOptionComboBox.qth + harbour/contrib/hbqt/qth/QStyleOptionComplex.qth + harbour/contrib/hbqt/qth/QStyleOptionDockWidget.qth + harbour/contrib/hbqt/qth/QStyleOptionFocusRect.qth + harbour/contrib/hbqt/qth/QStyleOptionFrame.qth + harbour/contrib/hbqt/qth/QStyleOptionGroupBox.qth + harbour/contrib/hbqt/qth/QStyleOptionHeader.qth + harbour/contrib/hbqt/qth/QStyleOptionMenuItem.qth + harbour/contrib/hbqt/qth/QStyleOptionProgressBar.qth + harbour/contrib/hbqt/qth/QStyleOptionSizeGrip.qth * harbour/contrib/hbqt/generator/qt45.qtp + Added some new classes - count == 171. 2009-06-06 10:10 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added filter support for input files without extension. * Reverted prev change because it didn't solve any problems as *.*/* input masks aren't expanded anyway on non-*nix shells and it would create several problems to support it. Explicitly added .ch and other files are probably done with an intent, so there is no point in filtering them (well except for *nix shells, but I don't deal with this issue for now). It isn't a good idea to pass *.*/* to hbmk2 anyway as it may pickup everything in the way. 2009-06-06 09:14 UTC+0200 Viktor Szakats * contrib/hbqt/hbqt.h * contrib/hbqt/qth/QConicalGradient.qth * contrib/hbqt/qth/QLinearGradient.qth * contrib/hbqt/hbqt_qconicalgradient.cpp * contrib/hbqt/hbqt_qlineargradient.cpp ! Fixed two missing function name from .qth template. (the ones reported on the dev list) - contrib/hbqt/generator/rebuild_hbqt.bat - Deleted, it's no longer needed. Enough to build hbqtgen with: hbmk2 hbqtgen.prg Then run it: hbqtgen 2009-06-06 09:20 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/errintlo.c ! fixed GPF inside internal error handler for errors without default description and error codes not in the form 9000 + <n> * harbour/source/rtl/errapiu.c * minor formatting 2009-06-06 09:06 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg * Input files with following extensions won't be considered .prg source files anymore: .ch, .h, .hpp, .hxx. This means *.* input mask can now be used more freely. I cannot imagine a situation where this could be limitation, but if someone has any concern with this, please tell. ! Minor typo in code. 2009-06-05 18:46 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/hbqt/Makefile_gen + harbour/contrib/hbqt/hbqt_qcolor.cpp + harbour/contrib/hbqt/hbqt_qconicalgradient.cpp + harbour/contrib/hbqt/hbqt_qgradient.cpp + harbour/contrib/hbqt/hbqt_qimage.cpp + harbour/contrib/hbqt/hbqt_qimagereader.cpp + harbour/contrib/hbqt/hbqt_qimagewriter.cpp + harbour/contrib/hbqt/hbqt_qline.cpp + harbour/contrib/hbqt/hbqt_qlineargradient.cpp + harbour/contrib/hbqt/hbqt_qpalette.cpp + harbour/contrib/hbqt/hbqt_qpicture.cpp + harbour/contrib/hbqt/hbqt_qradialgradient.cpp + harbour/contrib/hbqt/hbqt_qresource.cpp + harbour/contrib/hbqt/hbqt_qsizepolicy.cpp + harbour/contrib/hbqt/hbqt_qsound.cpp + harbour/contrib/hbqt/hbqt_qstandarditem.cpp + harbour/contrib/hbqt/hbqt_qstandarditemmodel.cpp * harbour/contrib/hbqt/hbqt.h * harbour/contrib/hbqt/generator/hbqtgen.prg + harbour/contrib/hbqt/TQColor.prg + harbour/contrib/hbqt/TQConicalGradient.prg + harbour/contrib/hbqt/TQGradient.prg + harbour/contrib/hbqt/TQImage.prg + harbour/contrib/hbqt/TQImageReader.prg + harbour/contrib/hbqt/TQImageWriter.prg + harbour/contrib/hbqt/TQLine.prg + harbour/contrib/hbqt/TQLinearGradient.prg + harbour/contrib/hbqt/TQPalette.prg + harbour/contrib/hbqt/TQPicture.prg + harbour/contrib/hbqt/TQRadialGradient.prg + harbour/contrib/hbqt/TQResource.prg + harbour/contrib/hbqt/TQSizePolicy.prg + harbour/contrib/hbqt/TQSound.prg + harbour/contrib/hbqt/TQStandardItem.prg + harbour/contrib/hbqt/TQStandardItemModel.prg * harbour/contrib/hbqt/qth/QColor.qth + harbour/contrib/hbqt/qth/QConicalGradient.qth + harbour/contrib/hbqt/qth/QGradient.qth + harbour/contrib/hbqt/qth/QImage.qth + harbour/contrib/hbqt/qth/QImageReader.qth + harbour/contrib/hbqt/qth/QImageWriter.qth + harbour/contrib/hbqt/qth/QLine.qth + harbour/contrib/hbqt/qth/QLinearGradient.qth + harbour/contrib/hbqt/qth/QPalette.qth + harbour/contrib/hbqt/qth/QPicture.qth + harbour/contrib/hbqt/qth/QRadialGradient.qth + harbour/contrib/hbqt/qth/QResource.qth + harbour/contrib/hbqt/qth/QSizePolicy.qth + harbour/contrib/hbqt/qth/QSound.qth + harbour/contrib/hbqt/qth/QStandardItem.qth + harbour/contrib/hbqt/qth/QStandardItemModel.qth * harbour/contrib/hbqt/generator/qt45.qtp + Added few new classes. With this commit number of classes have reached 153. 2009-06-06 02:24 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rdd/dbfnsx/dbfnsx1.c ! fixed stupid typo in C else block scope which caused false alarm about corrupted index. Many thanks to Vitor Mangabeira for information and self contain example. 2009-06-06 01:19 UTC+0200 Viktor Szakats * bin/hb-mkdyn.bat ! Applied version number change to this file, too. * contrib/xpp/xpp.ch + Added minor tweak to not confuse non-Harbour compilers if included. * contrib/rddsql/sddfb/fbirddd.c * contrib/rddsql/sddpg/pgsqldd.c ! Warnings fixed. * contrib/hbmysql/mysql.c ! Fixed wrong type for file handle, causing problems for x64 builds. * contrib/hbnf/descendn.c ! Removed 'auto' keyword which is no longer recognized by MSVC 2010. * bin/postinst.bat + Creating implibs for msvc64/mingw64 platforms where 3rd parties support it. (libcurl, firebird, mysql) * contrib/gtwvg/wvggui.h ! Fixed to compile with MSVS 2010. Thanks Pritpal. * contrib/gtwvg/wvggui.c * Reenabled for MSVS 2010 after applying fix. 2009-06-05 23:05 UTC+0200 Viktor Szakats + config/mingw32-make.exe + Added GNU Make (Windows, 32-bit) executable (size: 173 kB), this is the version recommended by INSTALL, found here: https://sourceforge.net/project/showfiles.php?group_id=2435&package_id=23918 * make_gnu.bat * Modified to utilize above GNU Make binary for Harbour Windows/WinCE builds in order to make one thing less to worry about for users wishing to build from source. From this point the only two requirements for building Harbour are a C compiler and the source itself. Much less things to go/get wrong. If this works out good, we can remove a few instructions from INSTALL. If someone wants to override supplied version (not very good idea, but who knows) the supplied version has to be replaced by custom version. In case group thinks it's onorthodox or inappropriate (or outright illegal) to have such binaries stored in our repository, please shout, it's not yet late to undo this change. Also please test. * include/hbsetup.h + Added MSVS 2010 version information. * contrib/gtwvg/wvggui.c - Temporarily disabled whole file for MSVS 2010 due to lots of compilation errors, similar to the ones recently seen with letdb. (errors posted on the list) 2009-06-05 20:59 UTC+0200 Viktor Szakats * contrib/hbwin/win_prn1.c ! Fixed recently introduced editing mistake which enabled it for WinCE. * contrib/hbcrypt/sha1.c ! Fixed poccarm warning (octal notation changed to hexa). 2009-06-05 20:42 UTC+0200 Viktor Szakats * debian/copyright ! Synced with COPYING. * contrib/gtwvg/gtwvg.c * source/rtl/gtwvt/gtwvt.c ! Fixed for WinCE, lately added feature where window is maximized when double clicking on caption. * contrib/hbwin/wapi_winbase.c ! Fixed previous commit for WinCE. * contrib/hbwin/wapi_winuser.c % Optimized WAPI_LOADBITMAP() (commented). 2009-06-05 20:05 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg % Optimized filter processing loop to use FOR EACH. * contrib/hbwin/wapi_winbase.c + Added WAPI_SETPROCESSWORKINGSETSIZE(). 2009-06-05 19:21 UTC+0200 Viktor Szakats * contrib/hbqt/tests/hbqt.hbc * contrib/gtqtc/tests/gtqtc.hbc ! Adjusted Linux QT lib names. Thanks for the report to Bruno Luciani. 2009-06-05 19:04 UTC+0200 Viktor Szakats * contrib/hbwin/wapi_winbase.c + Added: WAPI_GETCURRENTPROCESS() WAPI_GETCURRENTPROCESSID() WAPI_GETCURRENTTHREAD() 2009-06-05 18:54 UTC+0200 Viktor Szakats * contrib/Makefile + contrib/xpp + contrib/xpp/Makefile + contrib/xpp/xpp.ch + Added startup of an Xbase++ dialect lib (similar to xhb). The idea is that these will hold all Xbase++ specific functions with an xpp_*() prefix, and they will eventually be moved inside the core into source/dialect/xpp lib, so that dialect selection can be better integrated into Harbour compiler tools. Currently it holds one header only. + utils/hbmk2/examples/oohg.hbc + Added oohg hbmk2 config file. (untested) * utils/hbmk2/examples/fwh.hbc * utils/hbmk2/examples/hmg.hbc * utils/hbmk2/examples/hwgui.hbc % Minor simplification. 2009-06-05 18:10 UTC+0200 Viktor Szakats * contrib/hbwin/wapi_winuser.c + Added WAPI_CREATEWINDOWEX() pure Windows API wrapper. 2009-06-05 17:33 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg * -debugstub internal switch will now echo the stub source to stdout instead of keeping the temp file around. 2009-06-05 17:04 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbdefs.h * cleanup in some declarations 2009-06-05 16:23 UTC+0200 Viktor Szakats + examples/hbmake + examples/hbmake/hbmake.hbp + examples/hbmake/hbmakec.c + examples/hbmake/hbmake.prg + Readded old and unsupported hbmake for convenience to those users who still use it. This tool won't work in the next (to 2.0.x) major release of Harbour, so please take some time and check hbmk2, its successor. You can build hbmake with this command: 'hbmk2 hbmake.hbp' It will be copied to Harbour binary directory automatically. 2009-06-05 16:14 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added macros: ${hb_bin}, ${hb_lib}, ${hb_dyn}, ${hb_inc}. Representing HB_*_INSTALL dirs. They can be useful in -instpath=, if someone wants to have a copy of the target in a Harbour dir for easy access: -instpath=${hb_lib}/ 2009-06-05 15:26 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + In -rebuild mode now targets will be deleted by hbmk2 before calling compilers to create them. This will resolve some potential errors when compiler tools get confused about an existing file with the same name but perhaps created with another compiler. It will also make sure no attempts will be made to create an incremental build. If target cannot be deleted, a warning message will be shown by hbmk2. * harbour-win-spec * harbour-wce-spec * harbour.spec * mpkg_win.bat * include/hbver.h * doc/whatsnew.txt * source/vm/maindllp.c * bin/hb-mkdyn.bat [MISSED FILE ADDED HERE LATER] * 1.1.0dev -> 2.0.0dev ; Preparation for next rc1. * INSTALL * Long lines reflowed. 2009-06-05 10:01 UTC+0200 Viktor Szakats * INSTALL * mpkg_win.nsi * sf.net links corrected, https seems to need login. 2009-06-05 10:10 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/thread.c * minor cleanup * harbour/source/hbzlib/crc32.c * casting 2009-06-05 09:34 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Now if hbmk2 is renamed to a name which ends with '10', like 'hbmk210', it will automatically function in -hb10 (Harbour 1.0.x) compatibility mode. % Don't add doubly defined include paths or include try paths. * Minor change in BCC system lib ordering. 2009-06-05 07:47 UTC+0200 Viktor Szakats * examples/terminal/trm_cli.prg * examples/terminal/terminal.prg * examples/terminal/trm_srv.prg * examples/terminal/trm_app.prg ! Fixed 100% CPU utiliziation of server. * NTRIM()/LTrim(Str()) -> hb_ntos() ; After initial testing with real app, I've found following issues with this solution compared to an "ideal" GTNET implementation. Anyhow it's a good start and nice to see it working. FIXME: SetMode(), mouse, shift modifier, ecryption, incremental screen updates, port passing, GTWVG dependence, Windows dependence, ctwin support, other GT status changes (HB_GTI_*, like titlebar, etc), file transfer, remote file launch support, printing, cp conversions?, tone() support, direct GT driver instead of polling. 2009-06-05 06:53 UTC+0200 Viktor Szakats * external/libpng/LICENSE * external/libpng/png.c * external/libpng/png.h * external/libpng/pngconf.h * external/libpng/pngerror.c * external/libpng/pngget.c * external/libpng/pngmem.c * external/libpng/pngpread.c * external/libpng/pngread.c * external/libpng/pngrio.c * external/libpng/pngrtran.c * external/libpng/pngrutil.c * external/libpng/pngset.c * external/libpng/pngtrans.c * external/libpng/pngwio.c * external/libpng/pngwrite.c * external/libpng/pngwtran.c * external/libpng/pngwutil.c - external/libpng/pngtest.c * Updated to 1.2.37 (from 1.2.36). Quite a lot of formatting, plus fix to security fix in previous update. - Removed one unnecessary file. 2009-06-05 06:40 UTC+0200 Viktor Szakats * INSTALL * Removed 'not recommended' text to not hurt any feelings. + Added hint to TROUBLESHOOTING section how to clear PATH with a simple and safe method. * utils/hbmk2/hbmk2.prg * Internal variable name change. * ChangeLog ! Fixed terminology in my prev entry (embedding -> nesting) 2009-06-05 06:10 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbclass.ch + extended support for xbase++ compatible method declaration: [SYNC] METHOD <methodName1>[([<params>])] ; [ , <methodNameN>[([<params>])] ] * harbour/include/hbthread.h * harbour/source/vm/thread.c * harbour/source/vm/classes.c + added alternative support for SYNC method which does not use sync mutexes. The old method is still present. I'll remove it when xbase++ users confirm that the new one exactly emulates xbase++ behavior. * harbour/source/vm/classes.c * harbour/source/rtl/tthreadx.prg * switch to alternative SYNC method implementation which seems to be xbase++ compatible - please test ! fixed missing thread interrupt in recent modification for ::setInterval 2009-06-04 23:00 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added support for hbcs= lines in .hbc files. This means they can now be nested. Filters and macros are accepted, extension optional, .hbc will be added. ! Fixed wrongly calculated nesting level, counting now made simpler. + Added warning message if nesting level reached the maximum, instead of just ignoring the to be nested files. * COPYING + Added utils/hbmk2 to the COMPILER LICENSE section. - Deleted OLD HARBOUR LICENSE section. * source/lang/msgeu.c * source/lang/msgsr852.c * source/lang/msgsriso.c * source/lang/msgsliso.c * source/lang/msgslwin.c * source/lang/msgsl437.c * source/lang/msgsl852.c * Changed copyright to new Harbour license by group (silent) consent. Copyright holders kept intact, if that's a problem for anyone in the future, we shall delete these files from the repository and retranslate (or do whatever else we decide), notice however that msgsr*.c and msgsl*.c files were only containing translations for month and day names. msgeu.c contained translation work spanning to 40 strings. * source/compiler/hbusage.c * Updated Lorenzo Fiorini's email address in credit list. 2009-06-04 17:31 UTC+0200 Viktor Szakats * INSTALL + Change section title from: HOW TO BUILD AND INSTALL HARBOUR to HOW TO BUILD AND INSTALL HARBOUR FROM SOURCE + Added sentence which hopefully will make sure users understand that 'msys' isn't required (not even recommended) to build Harbour with MinGW. It's included because it's supported and possible and may give some benefit for some users. 2009-06-04 17:02 UTC+0200 Viktor Szakats * contrib/hbwin/hbwin.ch + Added some constants. (borrowed from xhb) 2009-06-04 15:31 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fixed to make pos= files relative to .hbc container location. ! Fixed to not macro process pos= entries, because it breaks ${lng} macros. + Added -debugi18n messages for .po update. * contrib/xhb/Makefile + contrib/xhb/xhberr.c + Added SETUNHANDLEDEXCEPTIONFILTER() as a dummy function, actual code is commented and won't work in Harbour. (borrowed from xhb) 2009-06-04 14:00 UTC+0200 Viktor Szakats * contrib/xhb/Makefile + contrib/xhb/xhbsave.c + contrib/xhb/xhbtrim.c + Added "extended" versions of some core functions, supporting some extra parameters formerly available in Harbour when compiled with (now removed) HB_EXTENSION option: XHB_TRIM(), XHB_RTRIM(), XHB_ALLTRIM(), XHB_SAVESCREEN(), XHB_RESTSCREEN(). 2009-06-04 13:53 UTC+0200 Viktor Szakats * contrib/xhb/hbcompat.ch + Added INET and HASH function name conversion from Harbour to xhb. 2009-06-04 13:26 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added support for macros (including envvars) for .hbc references. E.g.: hbmk2 [...] ${MYLIB_DIR}/mylib.hbc [...] 2009-06-04 09:23 UTC+0200 Viktor Szakats * source/compiler/hbusage.c + Added contributors present on the crew list only. Also added email addresses from that time (year 1999). 2009-06-03 23:29 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/hbqt/Makefile_gen * harbour/contrib/hbqt/qth/QBrush.qth * harbour/contrib/hbqt/TQBrush.prg + Added QBrush class. 2009-06-03 21:33 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added feature to automatically process make script with the name hbmk.hbm if found in local directory. This will be processed before the first command line option. ! -quiet switch wasn't effective on embedded Harbour compiler command line displayed in case of error. 2009-06-03 13:35 UTC+0200 Viktor Szakats * bin/postinst.bat ! Fixed import lib names for mingw where double 'lib' prefix is needed for transparent functionality, but wasn't generated. 2009-06-03 13:19 UTC+0200 Viktor Szakats * contrib/rddsql/sddmy/tests/sddmy.hbc + Added libmysql to lib list. 2009-06-03 12:20 UTC+0200 Viktor Szakats * tests/langapi.prg * tests/rto_get.prg * tests/lnlenli2.prg * tests/fortest.prg * tests/memory.prg * tests/rto_tb.prg * tests/statinit.prg * tests/memfile.prg * tests/vec1.prg * tests/lnlenli1.prg * doc/cmdline.txt * doc/en-EN/hb_date.txt * doc/en-EN/terminal.txt * doc/en-EN/hb_apiln.txt * doc/en-EN/hb_compa.txt * doc/howtosvn.txt * INSTALL * bin/postinst.cmd * bin/postinst.bat * include/hbvmpub.h * include/vm.api * include/extend.api * include/item.api * include/hbapilng.h * include/rdd.api * include/gt.api * include/hbundoc.api * include/error.api * include/hbsetup.ch * include/hblang.ch * include/hbsetup.h * include/hbapigt.h * include/hbmemory.ch * include/clipdefs.h * include/hboo.ch * include/hbver.ch * include/hbzlib.h * include/fm.api * include/hbdate.h * include/extend.h * ChangeLog * harbour.spec * make_gnu.bat * make_gnu.sh * contrib/hbmysql/mysqlold.c * contrib/hbct/charmix.c * contrib/hbct/charevod.c * contrib/hbct/ctchksum.c * contrib/hbct/pos1.c * contrib/hbct/ctmisc.prg * contrib/hbct/ctcrypt.c * contrib/hbct/getinfo.prg * contrib/hbct/ctdummy.prg * contrib/hbct/readme.txt * contrib/hbodbc/odbcold.c * contrib/hbodbc/browodbc.prg * contrib/hbodbc/odbc.c * contrib/xhb/datesxhb.c * contrib/xhb/xhbat.c * contrib/xhb/xhbver.prg * contrib/xhb/xhbcomp.prg * contrib/hbziparc/hbziparc.prg * contrib/hbnf/iamidle.c * contrib/hbnf/fttext.c * contrib/hbnf/setkeys.c * contrib/hbnf/ftisprn.c * contrib/hbnf/setlastk.c * contrib/hbcurl/hbcurl.c * contrib/hbcurl/hbcurl.ch * contrib/hbcurl/hbcurlm.c * contrib/rddads/adsextrn.ch * contrib/rddads/adsmgmnt.c * contrib/hbmisc/strfmt.c * contrib/hbmisc/numtxthu.prg * contrib/hbmisc/doc/en/ht_str.txt * contrib/hbtip/utils.c * contrib/hbwin/win_reg.prg * contrib/hbwin/legacyc.c * contrib/hbwin/win_misc.c * contrib/hbwin/wapi_winbase.c * contrib/hbwin/wapi_winuser.c * contrib/hbwin/hbwinole.h * contrib/hbwin/hbwin.ch * contrib/hbwin/tests/testdll.prg * contrib/hbwin/tests/testole.prg * contrib/hbwin/win_regc.c * contrib/hbvpdf/hbvpsup.prg * contrib/hbssl/sslsess.c * contrib/hbssl/hbssl.h * contrib/hbssl/sslctx.c * contrib/hbssl/tests/test.prg * contrib/hbssl/ssl.c * contrib/hbssl/hbssl.ch * contrib/hbssl/sslciph.c * contrib/hbssl/sslrand.c * contrib/hbcrypt/tests/testsha2.prg * contrib/hbcrypt/hbsha2.c * contrib/hbcrypt/hbsha2hm.c * source/lang/msghuiso.c * source/lang/msghuwin.c * source/lang/msgro.c * source/lang/msghriso.c * source/lang/msghrwin.c * source/lang/msghe862.c * source/lang/msgcskam.c * source/lang/msgbgiso.c * source/lang/msgbgwin.c * source/lang/msgcs852.c * source/lang/msgfr.c * source/lang/msgis850.c * source/lang/msghu852.c * source/lang/msgbg866.c * source/lang/msghr852.c * source/lang/msghewin.c * source/lang/msghucwi.c * source/lang/msgcsiso.c * source/lang/msgcswin.c * source/vm/harbinit.prg * source/vm/asort.c * source/vm/itemapi.c * source/vm/hvm.c * source/vm/cmdarg.c * source/vm/arrays.c * source/vm/fm.c * source/vm/extrap.c * source/vm/proc.c * source/vm/memvars.c * source/vm/memvclip.c * source/vm/main.c * source/vm/eval.c * source/vm/extend.c * source/vm/set.c * source/vm/classes.c * source/common/hbver.c * source/common/hbfsapi.c * source/common/hbstr.c * source/common/hbdate.c * source/rtl/lennum.c * source/rtl/gtdos/gtdos.c * source/rtl/diskspac.c * source/rtl/setposbs.c * source/rtl/mousehb.c * source/rtl/console.c * source/rtl/fscopy.c * source/rtl/gtwin/gtwin.c * source/rtl/mousex.c * source/rtl/philes.c * source/rtl/adir.prg * source/rtl/oldclear.c * source/rtl/tbcolumn.prg * source/rtl/hbgtcore.c * source/rtl/fieldbl.prg * source/rtl/dirdrive.c * source/rtl/dateshb.c * source/rtl/philesx.c * source/rtl/fnsplit.c * source/rtl/box.c * source/rtl/datesx.c * source/rtl/filehb.c * source/rtl/hbfile.c * source/rtl/gtapiu.c * source/rtl/fstemp.c * source/rtl/accept.c * source/rtl/radiobhb.prg * source/rtl/tgethb.prg * source/rtl/oemansix.c * source/rtl/strmatch.c * source/rtl/readkey.prg * source/rtl/ampm.c * source/rtl/oemansi.c * source/rtl/xsavescr.c * source/rtl/gtstd/gtstd.c * source/rtl/gtsln/mousesln.c * source/rtl/disksphb.c * source/rtl/xhelp.c * source/rtl/getlist.prg * source/rtl/net.c * source/rtl/hbntos.c * source/rtl/tgetx.prg * source/rtl/samples.c * source/rtl/idlex.c * source/rtl/tget.prg * source/rtl/alert.prg * source/rtl/inkey.c * source/rtl/gete.c * source/rtl/readvar.prg * source/rtl/fkmax.c * source/rtl/strzero.c * source/rtl/typefilx.prg * source/rtl/langapi.c * source/rtl/word.c * source/rtl/gtcgi/gtcgi.c * source/rtl/fmhb.c * source/rtl/natmsgu.c * source/rtl/errapi.c * source/rtl/version.c * source/rtl/natmsg.c * source/rtl/mouse53.c * source/rtl/errint.c * source/rtl/fssize.c * source/rtl/errapiu.c * source/rtl/colorind.c * source/rtl/gt.c * source/rtl/gx.c * source/rtl/binnumx.c * source/rtl/mouseapi.c * source/rtl/soundex.c * source/rtl/memofile.c * source/rtl/errintlo.c * source/rtl/hbffind.c * source/rtl/gtapi.c * source/rtl/pad.c * source/rtl/hbstrsh.c * source/rtl/filesys.c * source/rtl/file.c * source/rtl/lang.c * source/rtl/val.c * source/rtl/isprint.c * source/rtl/tbrowse.prg * source/codepage/ucmacce.c * source/codepage/uc885910.c * source/codepage/ucmacice.c * source/codepage/uc885914.c * source/codepage/uc874.c * source/codepage/cpes850.c * source/codepage/uc1258.c * source/codepage/cphu852.c * source/codepage/cpsk852.c * source/codepage/uc424.c * source/codepage/ucmacrom.c * source/codepage/uc862.c * source/codepage/cpesisoc.c * source/codepage/cpbg866.c * source/codepage/cphu852s.c * source/codepage/uc8859_3.c * source/codepage/uc8859_7.c * source/codepage/ucmacgrk.c * source/codepage/uc037.c * source/codepage/cpesiso.c * source/codepage/uc885911.c * source/codepage/uc885915.c * source/codepage/uc875.c * source/codepage/uc1255.c * source/codepage/cphuisos.c * source/codepage/cpfriso.c * source/codepage/uc863.c * source/codepage/cpfrwin.c * source/codepage/uc1026.c * source/codepage/cpbgiso.c * source/codepage/uc8859_4.c * source/codepage/cpskkam.c * source/codepage/cpbgwin.c * source/codepage/uc8859_8.c * source/codepage/uc855.c * source/codepage/uc885916.c * source/codepage/cproiso.c * source/codepage/ucascii.c * source/codepage/cprowin.c * source/codepage/uc1256.c * source/codepage/ucatari.c * source/codepage/uc860.c * source/codepage/ucmaccyr.c * source/codepage/uc864.c * source/codepage/uc1006.c * source/codepage/cpsviso.c * source/codepage/uc8859_5.c * source/codepage/uc8859_9.c * source/codepage/cphuwins.c * source/codepage/ucnext.c * source/codepage/ucmactrk.c * source/codepage/uc885913.c * source/codepage/cphuiso.c * source/codepage/uc775.c * source/codepage/uc856.c * source/codepage/cpskiso.c * source/codepage/cphuwin.c * source/codepage/cpskwin.c * source/codepage/uc500.c * source/codepage/cpro852.c * source/codepage/uc861.c * source/codepage/uc865.c * source/codepage/cpitwin.c * source/codepage/uc869.c * source/codepage/uc8859_6.c * source/rdd/dbjoinx.prg * source/rdd/dbnubs.c * source/rdd/dblistx.prg * source/rdd/dbtotalx.prg * source/rdd/dbstruxx.prg * source/rdd/dbsortx.prg * source/rdd/dbupdatx.prg * source/rdd/dbfuncsx.prg * source/rdd/dbcmdhb.c * source/compiler/cmdcheck.c * source/compiler/hbusage.c * source/hbzlib/ChangeLog * utils/hbmk2/hbmk2.prg * utils/hbtest/rt_main.h * utils/hbtest/hbtest.prg * utils/hbtest/rt_main.ch * utils/hbtest/rt_trans.prg * utils/hbtest/rt_miscc.c * utils/hbtest/rt_math.prg * utils/hbtest/rt_hvm.prg * utils/hbtest/rt_hvma.prg * utils/hbtest/rt_misc.prg * utils/hbtest/make_c5x.bat * utils/hbtest/rt_init.ch * utils/hbtest/rt_str.prg * utils/hbtest/rt_stra.prg * utils/hbtest/rt_date.prg * utils/hbtest/rt_vars.ch * utils/hbtest/rt_array.prg * utils/hbtest/rt_file.prg * examples/pp/hbppcore.c * examples/superlib/hbsuper.prg * My email address corrected to the same one using the same format in all files. Corrected mistyped ones. 2009-06-03 11:36 UTC+0200 Viktor Szakats * examples/rl/readme.txt + examples/rl/rl.dif + Added patch file for original RL sources to make them work with Harbour. The issue was with some longer than 10 chars PRIVATE vars which were saved and restored from .mem files and they were cut to 10 chars on restore. 2009-06-03 11:13 UTC+0200 Viktor Szakats * examples/uhttpd/readme.txt * Minor update to instructions (really minor). - examples/uhttpd/modules/allmod.hbp + examples/uhttpd/modules.hbp * examples/uhttpd/readme.txt * Simplified build and maintainance of modules. Now simply with: 'hbmk2 modules.hbp' There is no need to update it when adding new modules. 2009-06-03 11:07 UTC+0200 Viktor Szakats * examples/rl/rl.hbp + Added options to create running rl executable. * source/rtl/achoice.prg ! Fixed strange and undocumented ACHOICE() calling convention used in RLDIALG.PRG from RL tool supplied with Clipper 5.x versions. In this case the user function is passed as 6th parameter. * INSTALL + Added note that when compiling for mingw without msys, sh.exe of msys musn't be in the PATH, otherwise the build won't work. 2009-06-03 12:30 UTC+0300 Alexander Kresin <alex at belacy.belgorod.su> * utils/hbformat/hbformat.prg ! Warning fixed. 2009-06-03 11:25 UTC+0300 Alexander Kresin <alex at belacy.belgorod.su> * utils/hbformat/hbformat.prg ! Bug fixed. 2009-06-03 08:17 UTC+0200 Viktor Szakats * include/hbextern.ch * source/rtl/idlex.c * Renamed XPP compatible SLEEP() function to XPP_SLEEP() to avoid collision with FlagShip and CLIP implementations. * contrib/hbwin/wapi_winbase.c + Added WAPI_SLEEP() function as a wrapper to Windows Sleep() function. 2009-06-03 07:58 UTC+0200 Viktor Szakats * INSTALL * One 'sf.net' URL changed to sourceforge.net. (for consistency only. both names work.) * utils/hbmk2/hbmk2.prg * Formatting. + Added comment to help screen on -l switch, that the <libname> mustn't contain path, extension and lib prefix. 2009-06-02 21:03 UTC+0200 Viktor Szakats * include/hbextern.ch * source/rtl/Makefile + source/rtl/idlex.c + Added Xbase++ compatible SLEEP() function. 2009-06-02 20:53 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbsetup.h + added HB_RESTRICT macro which can be used in some declarations to reach better code optimization * harbour/include/hbclass.ch + added support for Xbase++ compatible method declaration by: METHOD <methodName1> [ , <methodNameN> ] * harbour/source/rtl/tthreadx.prg * redirect parameters passed to ::new() method to ::init() method as emulation for class object new method + added basic support for ::setInterval in Xbase++ THREAD class * harbour/tests/speedtst.prg ! removed unused variable cDir 2009-06-02 19:22 UTC+0200 Viktor Szakats * contrib/xhb/Makefile + contrib/xhb/bkgtsks.c + Added background tasks functions. My only current goal was to make it compile under Harbour, plus did some optimizations along the way. (borrowed from xhb, work of Francesco Saverio Giudice) ; TODO: Adapt to Harbour: MT mode, Set() replacement, attach it to VM possibly without modifying the VM itself. * source/rtl/mlcfunc.c + Reenabled for default builds the parameter extension in memo functions (now guarded with HB_C52_STRICT). This breaks our effort to not introduce such extensions, but since was no better idea I've made an exception, but I personally still don't like it and this practice stays forbidden. Talking about the last parameter of these functions: MEMOLINE(), MLCOUNT(), MLPOS(), MLCTOPOS(), MPOSTOLC() * source/codepage/cphr437.c * source/codepage/cphr852.c * source/codepage/cphrwin.c * Fixed wrongly ordered accented chars. * Fixed missing accented chars in Windows CP. ; Submitted by Vladimir Miholic on sf.net. * contrib/xhb/xhb.h + Added hb_seconds() compatibility macro. * tests/speedtst.prg + Added SET DATE ANSI and SET CENTURY ON. * tests/Makefile + tests/brwpos.prg + Added TBrowse() :rowPos test submitted by Xavi to the list. * utils/hbmk2/hbmk2.hbp * utils/hbrun/hbrun.hbp % Minor opt to prev. * tests/rto_tb.prg + Added hb_SToD() compatibility function to make it link with xhb. + Added forced define of HB_COMPAT_C53 in xhb mode, but commented because it makes it RTE. * INSTALL ! Term changed to be consistent with rest of doc. * include/hbapi.h ! Typo in comment. 2009-06-01 19:56 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.hbp * utils/hbrun/hbrun.hbp % Don't include extra static libs in liblist for mingw targets. It links & works without it and the .exe is smaller. 2009-06-01 19:01 UTC+0200 Viktor Szakats * INSTALL * MinGW examples: version number increase. * utils/hbmk2/hbmk2.prg * Internal implementation to support multiple Harbour versions and dialects has been extended. + Added support for -hb10 command-line switch to force Harbour 1.0.x compatibility mode. Experimental, please make tests with it, some more exotic features (like shared mode, cross compiling) may not work (or not as smoothly). Also added 'hb10' fiter name. ! Fixed to not use -Go C compiler option in xcc mode. ! Filter was returning constant failure due to internal RTE in certain situations since adding 'shared'/'static' filters. + Don't cover filter evaluation with BEGIN SEQUENCE to avoid such errors as above being kept hidden. * examples/superlib/readme.txt * examples/dbu/readme.txt + Made clear in text that we're needing 'GNU Patch' tool. 2009-06-01 13:41 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtwvg/gtgcuig.c * harbour/contrib/gtwvg/hbgtwvg.ch + GOBJ_OBJDATA_BLOCK . A useful addition to support resizing browser grids. 2009-06-01 14:20 UTC+0300 Alexander Kresin <alex at belacy.belgorod.su> * utils/hbformat/hbformat.prg ! Different fixes. 2009-05-31 13:41 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtwvg/gtwvg.c ! Some artifacts related with modal windows. Now it correctly calculates the width/height and initial row/col position. It now honors correctly parent GT's font size. * harbour/contrib/gtwvg/wvgdatar.prg * harbour/contrib/gtwvg/wvgscrlb.prg * harbour/contrib/gtwvg/wvgtabpg.prg * harbour/contrib/gtwvg/wvgwnd.prg ! Numerics to Pointer fixes. 2009-05-31 19:40 UTC+0200 Petr Chornyj (myorg63 at mail.ru) * harbour/include/std.ch ! fixed typo of last commit 2009-05-31 17:30 UTC+0200 Petr Chornyj (myorg63 at mail.ru) * harbour/include/std.ch + added clause CODEPAGE for commands COPY, APPEND, SORT, TOTAL * harbour/source/rdd/dbdelim.prg * harbour/source/rdd/dbsdf.prg + added CODEPAGE support for __dbDelim, __dbSdf 2009-05-30 08:10 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fix to path normalizer. Last fix wasn't without side-effects for relative dirs. ! Fixed potential RTE in yesterday's *.hbp handling. 2009-05-30 01:36 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.pt_BR.po * utils/hbmk2/hbmk2.hu_HU.po * Update. 2009-05-30 01:33 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added support for wildcarded project specs: - This command will build each .hbp file found in current dir: $ hbmk2 *.hbp - This command will build all .prg files in current dir, each into a separate executable as separate projects: $ hbmk2 -target=*.prg 2009-05-30 01:12 UTC+0200 Viktor Szakats * INSTALL * Minor update. * contrib/hbwin/axcore.c ! Fixed mingw64 warning. * examples/uhttpd/uhttpd.prg * Applied fix sent by Vailton to the list. 2009-05-29 18:40 UTC+0200 Viktor Szakats * bin/postinst.bat ! Typo in hbformat command. 2009-05-29 18:35 UTC+0200 Viktor Szakats * doc/dirstruc.txt * bin/postinst.bat * contrib/gtwvg/tests/demoxbp.prg * contrib/gtwvg/tests/demowvg.prg * examples/superlib/readme.txt * examples/uhttpd/uhttpdgd.hbp * examples/uhttpd/readme.txt * examples/terminal/trm_cli.hbp * examples/terminal/trm_srv.hbp ! Missing updates to prev changes. 2009-05-29 18:35 UTC+0200 Viktor Szakats - utils/hbformat/hbformat.hbm + utils/hbformat/hbformat.hbp - utils/hbmk2/hbmk2.hbm + utils/hbmk2/hbmk2.hbp - utils/hbtest/hbtest.hbm + utils/hbtest/hbtest.hbp - utils/hbi18n/hbi18n.hbm + utils/hbi18n/hbi18n.hbp - utils/hbrun/hbrun.hbm + utils/hbrun/hbrun.hbp - contrib/hbbtree/tests/test.hbm + contrib/hbbtree/tests/test.hbp - examples/pp/pp.hbm + examples/pp/pp.hbp - examples/hbdoc/hbdoc.hbm + examples/hbdoc/hbdoc.hbp - examples/superlib/hbsuper.hbm + examples/superlib/hbsuper.hbp - examples/hbsqlit2/hbsqlit2.hbm + examples/hbsqlit2/hbsqlit2.hbp - examples/hboleold/hboleold.hbm + examples/hboleold/hboleold.hbp - examples/hbapollo/hbapollo.hbm + examples/hbapollo/hbapollo.hbp - examples/pe/pe.hbm + examples/pe/pe.hbp - examples/guestbk/guestbk.hbm + examples/guestbk/guestbk.hbp - examples/hbgf/hbgfwin/hbgfwin.hbm + examples/hbgf/hbgfwin/hbgfwin.hbp - examples/hbgf/hbgfos2/hbgfos2.hbm + examples/hbgf/hbgfos2/hbgfos2.hbp - examples/hbgf/hbgfgtk/hbgfgtk.hbm + examples/hbgf/hbgfgtk/hbgfgtk.hbp + examples/uhttpd/uhttpd.hbp - examples/uhttpd/uhttpdgd.hbm + examples/uhttpd/uhttpdgd.hbp + examples/uhttpd/modules/allmod.hbp - examples/uhttpd/modules/allmod.hbm - examples/uhttpd/uhttpd.hbm - examples/dbu/dbu.hbm + examples/dbu/dbu.hbp - examples/hscript/hscript.hbm + examples/hscript/hscript.hbp - examples/hbwhat/hbwhat.hbm + examples/hbwhat/hbwhat.hbp - examples/rl/rl.hbm + examples/rl/rl.hbp * Renamed .hbm files to .hbp. So e.g. now it's possible to build multiple of these from one hbmk2 command and it's also more obvious that an .hbp files is a project (target). 2009-05-29 18:31 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.pt_BR.po * utils/hbmk2/hbmk2.hu_HU.po * utils/hbmk2/hbmk2.hbm * utils/hbmk2/hbmk2.prg * utils/hbi18n/hbi18n.prg * hbi -> hbl (settling back, again sorry for the mess). * examples/terminal/trm_misc.c % Removed unused Windows function. 2009-05-29 18:16 UTC+0200 Viktor Szakats * examples/terminal/terminal.hbc ! hbwin not needed. 2009-05-29 18:15 UTC+0200 Viktor Szakats * examples/terminal/trm_cli.prg * examples/terminal/terminal.prg * examples/terminal/terminal.hbc ! xhb lib not needed anymore. 2009-05-29 18:04 UTC+0200 Viktor Szakats * contrib/gtwvg/gtwvg.h + Added extern for hb_wvt_GetStringAttrib(), hb_wvt_PutStringAttrib(). Required by terminal example. * contrib/gtwvg/wvggui.h * Comment format. Synced with gtwvg.h. - examples/terminal/trm_server.prg + examples/terminal/trm_srv.prg - examples/terminal/trm_client.prg + examples/terminal/trm_cli.prg - examples/terminal/trm_appn.prg + examples/terminal/trm_app.prg - examples/terminal/trm_appn.hbm + examples/terminal/trm_app.hbp + examples/terminal/trm_misc.c + examples/terminal/trm_cli.hbp + examples/terminal/trm_srv.hbp * examples/terminal/terminal.prg * examples/terminal/terminal.hbc * examples/terminal/readme.txt ! Removed all inline stuff. ! Fixed problems with mixing C++/C objects due to inline and missing function declarations. % Windows only function replaced with RTL one. * Renamed *.hbm files to .hbp, so now it's easy to build the whole project with: hbmk2 trm_app.hbp trm_cli.hbp trm_srv.hbp ! Fixed hard coded local executable names + dirs. ! Synced client and server default ports. ; Now all of these tools build ok and they also work. * contrib/hbwin/legacyc.c ! Deleted recently added compat calls. (they are static in xhb and they collide with RTL names) * examples/hbgf/hbgfgtk/hbgfgtk.hbm ! Minor fix. 2009-05-29 17:13 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added support for filter keywords 'shared' and 'static'. * bin/postinst.bat * utils/hbmk2/hbmk2.hbm * utils/hbrun/hbrun.hbm * Moved extra libs required in shared mode to .hbm files. ! Fixed hbl= -> hbi= 2009-05-29 16:02 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fix to prev fix reported by Vailton. Could RTE when compiling .hrbs. + Added -hbraw switch which will make hbmk2 work like harbour compiler. + .hbp extension is also recognized when embedded. * tests/hbpptest/compare.bat ! Fixed long fn. * tests/bnch_win.bat ! Fix in comment. 2009-05-29 13:49 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added macro ${hb_work} which returns the builtin name for workdir base: '.hbmk' currently. 2009-05-29 12:27 UTC+0200 Viktor Szakats - examples/hbsuper + examples/superlib * Using original name. 2009-05-29 12:25 UTC+0200 Viktor Szakats * contrib/Makefile - Deleted commented 'examples' reference. 2009-05-29 12:18 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added -echo= command line parameter. Similar to echo= in .hbc files. ! Fixed filename expansion behaviour on empty strings. * Tweaked a little the filter parser to recognize keywords using similar rules to Harbour compiler. ! Fixed filter parser not to RTE on malformed filters. - examples/hbapollo/Makefile + examples/hbapollo/hbapollo.hbm - examples/hboleold/Makefile + examples/hboleold/hboleold.hbm - examples/hbsqlit2/Makefile + examples/hbsqlit2/hbsqlit2.hbm - examples/hbgf/hbgfwin/Makefile + examples/hbgf/hbgfwin/hbgfwin.hbm - examples/hbgf/hbgfos2/Makefile + examples/hbgf/hbgfos2/hbgfos2.hbm - examples/hbgf/hbgfgtk/Makefile + examples/hbgf/hbgfgtk/hbgfgtk.hbm - examples/hbwhat/Makefile + examples/hbwhat/hbwhat.hbm * Replaced GNU Make files with hbmk2 make files. These should now work outside the source tree. Please test them, they are also good examples for .hbm files. - examples/pe/Makefile - examples/pp/Makefile - examples/hbdoc/Makefile - examples/guestbk/Makefile - examples/misc/Makefile - examples/dbu/Makefile - examples/hscript/Makefile - examples/rl/Makefile - examples/Makefile - examples/hbgf/Makefile - Deleted unnecessary make files belonging to GNU Make system. (these wouldn't work outside the source tree, f.e in a binary distro which includes these examples in source form) - examples/rdddbt - Deleted this example as it doesn't build anymore. * examples/hbsuper/hbsuper.hbm ! Added SVN header. * source/rtl/Makefile * source/rtl/errint.c + source/rtl/errintlo.c * Split hb_errInternal() and hb_errInternalRaw() for easier user override. 2009-05-29 11:04 UTC+0200 Viktor Szakats - contrib/examples + examples * doc/dirstruc.txt * doc/whatsnew.txt * examples/hbdoc/Makefile * examples/pp/Makefile * examples/hboleold/Makefile * examples/hbsqlit2/Makefile * examples/misc/Makefile * examples/hbapollo/Makefile * examples/rdddbt/Makefile * examples/guestbk/Makefile * examples/pe/Makefile * examples/hbgf/hbgfwin/Makefile * examples/hbgf/hbgfos2/Makefile * examples/hbgf/hbgfgtk/Makefile * examples/hbgf/Makefile * examples/uhttpd/readme.txt * examples/dbu/Makefile * examples/hscript/Makefile * examples/hbwhat/Makefile * examples/rl/Makefile * examples/Makefile * Moved to flatten our dir layout and sync the locations in unified distro and source tree. ; TODO: As a next step I'll replace Makefiles with .hbm files. This will allow users to build these parts outside the source distribution. [DONE] * doc/man/hbmk.1 * utils/hbmk2/examples/fwh.hbc * utils/hbmk2/examples/hmg.hbc * utils/hbmk2/examples/hwgui.hbc * .hbp -> .hbc 2009-05-29 03:50 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fixed typo causing -i Harbour option missed in make modes where Harbour compiler is the final step (like -gh). + Directory for target is now automatically created. + Directory for -instpath paths are now automatically created. ! Fixed path normalizer not fully normalizing in some cases when path didn't begin with path separator (relative path). ! Fixed path builder to not be confused about non-native path separators. % Path builder will now normalize first to minimize steps. + Now all dirs *beginning* with ".hbmk" will be made hidden. (previously only dirs named exactly ".hbmk" were made hidden) (experimental) 2009-05-28 18:43 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtwvg/wvgcrt.prg * harbour/contrib/gtwvg/wvgparts.ch * harbour/contrib/gtwvg/wvgtoolb.prg * harbour/contrib/gtwvg/wvgwin.c * harbour/contrib/gtwvg/wvgwnd.prg * harbour/contrib/hbwin/wapi_commctrl.c ! Changes to honor NUMERICS to POINTERS. ! Few artifacts in WvgCRT(). 2009-05-28 19:25 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fixed -map option for mingw family. Strangely its help says '-Wl,-Map FILE' is the format but this only works if FILE exists on disk :/ otherwise it gives an error that FILE isn't found. 'Wl,-Map,FILE' seems to work for all cases. Pbly OS/2 and DJGPP should also be fixed. ! Applied above fix for DJGPP and OS/2 GCC. I didn't test it but probably works the same way as in mingw and *nix gcc. 2009-05-28 19:06 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + .hbm embedding is now allowed 10 level deep (was 3). 2009-05-28 17:30 UTC+0200 Viktor Szakats + contrib/examples/hbsuper + contrib/examples/hbsuper/hbsuper.hbm + contrib/examples/hbsuper/hbsuper.dif + contrib/examples/hbsuper/hbsuper.prg + contrib/examples/hbsuper/readme.txt + Added SuperLib portability patch and Harbour make script. Original sources need to be downloaded from The Oasis. This is a slightly minimal patch than my previous version to minimize any unnecessary space/command changes, and I also reverted to original C code where it was possible. * utils/hbmk2/hbmk2.prg * Minor formatting. 2009-05-28 13:14 UTC+0200 Viktor Szakats * contrib/hbodbc/odbc.c ! Eliminated last UNICODE branching, this also fixes embedded zero chars not being respected in UNICODE mode in SQLDESCRIBECOL(). Not tested, ODBC users please do, also someone pls review me. * ChangeLog * TODOs/FIXMEs marked as DONE. 2009-05-28 11:40 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added macros ${hb_major}, ${hb_minor}, ${hb_release}. * contrib/xhb/xhbver.prg ! Minor. * contrib/hbwin/legacyc.c + Added compatibility wrappers for printing functions. (mainly for xhb compatibility) 2009-05-28 09:43 UTC+0200 Viktor Szakats * contrib/gtwvg/wvgsink.c ! Minor fix to returning HRESULT. 2009-05-28 00:19 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/gtwvg/wvgwin.c ! Small fix to previous commit. * contrib/gtwvg/wvgax.c * contrib/gtwvg/wvgsink.c ! Widely cleaned code. ! Make use of remaining number to pointers. ! Renamed functions to WVG_* namespace. ! WvgActiveXControl() can be tested both with winsink|axcore event handellers. NOTE: CPP mode generates a GPF when ole is unloaded due to refcount. Mindaugas can you fix it. 2009-05-28 08:20 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg * .hbl extension changed to .hbc (Harbour Make Config). * -nohbl -> -nohbc ; Sorry for the mess. + Added support for instpaths= in .hbc files. + Added support for HB_USER_LIBPATHS envvar to specify lib search paths (similar to -L). ! Fixed so that sripping/compressing isn't attempted if the target didn't need an update. * source/rtl/Makefile * source/rdd/Makefile + Enabled -gc3 for hbrtl and hbrdd locally (except for wce builds). Same can be done locally for any libs where we find performance increase due to -gc3. ; NOTE: Probably it would be enough to compile just a few sensitive .prg sources (or program parts) with -gc3, so it would great to have such #pragma option in Harbour. Doesn't seem easy to implement though. * config/rules.cf * HB_GCMODE default set 0 (from 3). This means .prgs will be again compiled with -gc0 by default. Because of the contribs, this means the complete size of Harbour libs is now reduced significantly. * config/wce/global.cf * config/wce/msvcarm.cf * config/wce/mingwarm.cf * config/wce/poccarm.cf % HB_GCMODE=0 moved to wce/global.cf - utils/hbmk2/examples/hmg.hbl + utils/hbmk2/examples/fwh.hbc - utils/hbmk2/examples/whoo.hbl + utils/hbmk2/examples/xhgtk.hbc - utils/hbmk2/examples/xbgtk.hbl - utils/hbmk2/examples/hwgui.hbl - utils/hbmk2/examples/fwh.hbl + utils/hbmk2/examples/c4w.hbc - utils/hbmk2/examples/xhgtk.hbl + utils/hbmk2/examples/contrib.hbc - utils/hbmk2/examples/c4w.hbl + utils/hbmk2/examples/contribf.hbc - utils/hbmk2/examples/contrib.hbl + utils/hbmk2/examples/hmg.hbc + utils/hbmk2/examples/whoo.hbc - utils/hbmk2/examples/contribf.hbl + utils/hbmk2/examples/xbgtk.hbc + utils/hbmk2/examples/hwgui.hbc - contrib/gtalleg/tests/gtallegs.hbl - contrib/gtalleg/tests/gtallegd.hbl + contrib/gtalleg/tests/gtallegs.hbc + contrib/gtalleg/tests/gtallegd.hbc - contrib/hbmysql/utils/hbmysql.hbl + contrib/hbmysql/utils/hbmysql.hbc - contrib/hbmysql/tests/hbmysql.hbl + contrib/hbmysql/tests/hbmysql.hbc + contrib/hbct/tests/hbct.hbc - contrib/hbct/tests/hbct.hbl - contrib/xhb/tests/xhb.hbl + contrib/xhb/tests/xhb.hbc - contrib/hbodbc/tests/hbodbc.hbl + contrib/hbodbc/tests/hbodbc.hbc - contrib/hbtpathy/tests/hbtpathy.hbl + contrib/hbtpathy/tests/hbtpathy.hbc + contrib/hbmsql/tests/hbmsql.hbc - contrib/hbmsql/tests/hbmsql.hbl + contrib/hbmzip/tests/hbmzip.hbc - contrib/hbmzip/tests/hbmzip.hbl + contrib/hbsqlit3/tests/hbsqlit3.hbc - contrib/hbsqlit3/tests/hbsqlit3.hbl - contrib/hbblat/tests/hbblat.hbl + contrib/hbblat/tests/hbblat.hbc - contrib/hbqt/tests/hbqt.hbl + contrib/hbqt/tests/hbqt.hbc - contrib/hbfbird/tests/hbfbird.hbl + contrib/hbfbird/tests/hbfbird.hbc - contrib/hbziparc/tests/hbziparc.hbl + contrib/hbziparc/tests/hbziparc.hbc - contrib/hbnf/tests/hbnf.hbl + contrib/hbnf/tests/hbnf.hbc - contrib/hbcurl/tests/hbcurl.hbl + contrib/hbcurl/tests/hbcurl.hbc - contrib/gtqtc/tests/gtqtc.hbl + contrib/gtqtc/tests/gtqtc.hbc - contrib/rddsql/sddmy/tests/sddmy.hbl + contrib/rddsql/sddmy/tests/sddmy.hbc + contrib/rddsql/tests/rddsql.hbc - contrib/rddsql/tests/rddsql.hbl - contrib/rddsql/sddodbc/tests/sddodbc.hbl + contrib/rddsql/sddodbc/tests/sddodbc.hbc - contrib/hbhpdf/tests/hbhpdf.hbl + contrib/hbhpdf/tests/hbhpdf.hbc - contrib/rddado/tests/rddado.hbl + contrib/rddado/tests/rddado.hbc + contrib/gtwvg/tests/gtwvg.hbc - contrib/gtwvg/tests/gtwvg.hbl - contrib/hbpgsql/tests/hbpgsql.hbl + contrib/hbpgsql/tests/hbpgsql.hbc - contrib/rddads/tests/rddads.hbl + contrib/rddads/tests/rddads.hbc - contrib/hbclipsm/tests/hbclipsm.hbl + contrib/hbclipsm/tests/hbclipsm.hbc - contrib/hbfimage/tests/hbfimage.hbl + contrib/hbfimage/tests/hbfimage.hbc + contrib/hbgd/tests/hbgd.hbc - contrib/hbgd/tests/hbgd.hbl + contrib/hbmisc/tests/hbmisc.hbc - contrib/hbmisc/tests/hbmisc.hbl + contrib/hbtip/tests/hbtip.hbc - contrib/hbtip/tests/hbtip.hbl + contrib/hbwin/tests/hbwin.hbc - contrib/hbwin/tests/hbwin.hbl + contrib/hbvpdf/tests/hbvpdf.hbc - contrib/hbvpdf/tests/hbvpdf.hbl - contrib/hbssl/tests/hbssl.hbl + contrib/hbssl/tests/hbssl.hbc - contrib/hbbtree/tests/hbbtree.hbl + contrib/hbbtree/tests/hbbtree.hbc - contrib/hbcrypt/tests/hbcrypt.hbl + contrib/hbcrypt/tests/hbcrypt.hbc + contrib/examples/hbsqlit2/tests/hbsqlit2.hbc - contrib/examples/hbsqlit2/tests/hbsqlit2.hbl - contrib/examples/hbapollo/tests/hbapollo.hbl + contrib/examples/hbapollo/tests/hbapollo.hbc + contrib/examples/hbgf/tests/hbgf.hbc - contrib/examples/hbgf/tests/hbgf.hbl - contrib/examples/terminal/terminal.hbl + contrib/examples/terminal/terminal.hbc - contrib/examples/hbwhat/tests/hbwhat.hbl + contrib/examples/hbwhat/tests/hbwhat.hbc * Renamed *.hbl -> *.hbc (Harbour Make Config) in whole source tree. 2009-05-27 20:08 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/gtwvg/wvgwin.c + Workaround for GCLP_HBRBACKGROUND reported missing from some MinGW distros. 2009-05-27 15:21 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/hbinet.c * harbour/source/rdd/dbfntx/dbfntx1.c * harbour/source/rdd/dbfnsx/dbfnsx1.c * harbour/source/rdd/hsx/hsx.c * harbour/source/rdd/usrrdd/usrrdd.c * casting to avoid false alarm in extensive strict aliasing analyzes 2009-05-27 16:40 UTC+0300 Alexander Kresin <alex at belacy.belgorod.su> * utils/hbformat/hbformat.prg ! Handling of file mask has been fixed. 2009-05-27 13:23 UTC+0200 Viktor Szakats * contrib/hbwin/win_prn2.c * Cleaned hb_parcx() vs. hb_parc() usage in one function. (hb_parcx() is only needed if there is no preceding HB_ISCHAR() check. If there is hb_parc() will also always return a valid pointer). + contrib/hbwin/tests/testprn2.prg + Added raw printing test. 2009-05-27 12:59 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg % -undef/-D Harbour options will be reduced in cross-compilation scenarios. If a __PLATFORM__* value appears as both -undef and -D it will be omitted. This results in smaller command line, plus works around this warning: 'Warning W0001 Redefinition or duplicate definition of #define __PLATFORM__WINDOWS' when using the embedded compiler (doesn't seem to happen with external compiler). + Added autodetection for mingw64 and mingwarm compilers. It should now be enough to use -arch=wce on the command line to initiate a WinCE cross-build if the compiler is setup in the path or using the embedded installation. So it's recommended to use -arch=wce instead of -arch=mingwarm from now on. For mingw64 builds, no extra switch is needed, if in the PATH, it will be autodetected. ! Added Harbour command to Harbour command line shown in case of error. * contrib/gtwvg/wvgcuig.c ! Fixed one GCC warning. I'm not sure if this is a correct one, my only goal was to make the warning disappear and to define a previously undefined case. ; FIXME: This warning still remains, and indicates unsafe code: wvgsink.c:516: warning: dereferencing pointer 'hSink.33' does break strict-aliasing rules * contrib/gtwvg/tests/demoxbp.prg * contrib/gtwvg/tests/demowvg.prg ! Fixed hard-wired paths, so that now some more samples work regardless of Harbour installation dir. ; NOTE: Never use hard-wired absolute paths inside any Harbour component. We now have hb_DirBase(), please make use of it. ; NOTE: For me most of the samples still don't work, AX toolbar icons don't appear, and most of the AX samples fail with an unclosable window. * contrib/hbwin/axcore.c * contrib/gtwvg/wvgsink.c * Moved recently added extra AX functions to GTWVG. * Kept optimized, hbwin version of HB_AX_ATLCREATEWINDOW(). * Others renamed and commented: WIN_AXGETUNKNOWN() -> WVG_AXGETUNKNOWN() WIN_AXSETVERB -> WVG_AXDOVERB() ! HB_AX_ATLSETVERB() now accepts HWND pointers, too. ! HB_AX_ATLAXGETCONTROL() now accepts HWND pointers, too. ; FIXME: GTWVG uses HB_AX_* prefix to denote AX function, while these should be named WVG_AX*(). [DONE] ; TODO: Probably the full content, or at least the universally useful portion of wvgsink.c should eventually go to hbwin, but all these functions need further cleanups, and they also have to be renamed. I don't know what we should stay compatible with so it's difficult to make any moves. Some test code showing the usefulness of these function would be probably help. [DONE] 2009-05-27 05:34 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/harbour.spec * harbour/mpkg_tgz.sh + added hbformat * harbour/include/hbdefs.h * harbour/include/hbapi.h * harbour/source/common/hbarch.c * redefined macros used to store/retrieve integer and double values to/from byte arrays in little and big endian order. Now GCC uses inline functions which are hardly optimized by compiler giving on x86 machines the same code as direct casting (with the exception to march=i686 where putting double value forces strict alignment to avoid hidden CPU exception) but they respect strict aliasing rules. It also means that now GCC builds always respect strict alignment even if HB_STRICT_ALIGNMENT macro is not set. 2009-05-27 04:42 UTC+0200 Viktor Szakats * include/hbsetup.h * source/common/hbver.c + Moved CPU detection to core header. Introduced HB_CPU_* macros. Now they can be used to branch code by CPU type. * contrib/rddads/adsmgmnt.c + Added my copyright. * contrib/hbwin/wapi_commctrl.c * contrib/hbwin/wapi_winbase.c * contrib/hbwin/wapi_winuser.c ! Fixed remaining hb_parc() vs hb_parcx() usages. % WAPI_TABCTRL_CREATE() further simplified. Please review, it may be wrong. * utils/hbmk2/hbmk2.prg * Minor internal change. 2009-05-27 03:33 UTC+0200 Viktor Szakats * contrib/hbqt/generator/hbqtgen.prg * contrib/gtqtc/tests/demoqtc.prg * contrib/gtqtc/tests/wvtext.prg * contrib/gtwvg/tests/demowvg.prg * contrib/examples/uhttpd/uhttpd.prg * contrib/examples/terminal/trm_server.prg * contrib/examples/terminal/terminal.prg * contrib/examples/terminal/trm_appn.prg * contrib/examples/terminal/trm_client.prg * contrib/examples/hbwhat/winrbar.prg * #include '' -> #include "" * contrib/gtqtc/tests/wvtext.prg ! Fixed #include with mixed case filename. 2009-05-27 03:16 UTC+0200 Viktor Szakats * include/hbver.ch * source/rtl/version.c + Added hb_Version( HB_VER_COMPILER_CPP ) which returns if the C compiler was used in C++ mode. Mainly added for HB_BUILDINFO() emulation, maybe it can be useful to set defaults in hbmk2, we will see. * contrib/xhb/Makefile + contrib/xhb/xhbver.prg + Added emulation of HB_BUILDINFO() xhb function. + contrib/xhb/xhbver.ch + Copied xhb's hbver.ch under this name. (borrowed from xhb, work of Andi Jahja) 2009-05-27 02:06 UTC+0200 Viktor Szakats * contrib/hbct/print.c + added PRINTSEND() support for Windows platform. (Borrowed from xhb, work of Pavel Tsarenko, with few minor changes) * contrib/gtwvg/wvgwin.c * contrib/gtwvg/wvgsink.c ! Fixed two new warnings after my recent commits. * contrib/hbwin/hbwapi.h * Tweaked previous commit. COLORREF and HRESULT now using hb_retnint() again to fix 32-bit numbers appearing as signed ones at .prg level. * source/rdd/usrrdd/rdds/arrayrdd.prg ; Added some patches recently committed to xhb: ! few fixes provided by Quique + Added AR_LOCK() function, but commented. ; NOTE: Francesco, would you mind reviewing these changes? * utils/hbmk2/hbmk2.prg * Minor formatting, comment added. 2009-05-26 21:41 UTC+0200 Viktor Szakats * contrib/hbwin/hbwapi.h * contrib/hbwin/wapi_commctrl.c ! wapi_par_COLORREF() fixed to use hb_parnl(). COLORREF is a 32-bit value. ! Rest of wapi_par_*() macros fixed to accept pointers only. If someone needs to pass numbers, use WIN_N2P() to convert them to pointers first. ! Corrected casts in wapi_par_WORD() and wapi_par_DWORD(). ! Fixed wapi_ret_HRESULT() to use hb_retnl(). It's a 32-bit status value. ! Fixed wapi_ret_COLORREF() to use hb_retnl(). ! Fixed WAPI_TABCTRL_CREATE() for 64-bit mode, font type was wrong. ! Fixed WAPI_TABCTRL_CREATE() to return pointer instead of number. * contrib/hbwin/Makefile ! Reverted accidental edit in prev commit. 2009-05-26 20:05 UTC+0200 Viktor Szakats * INSTALL * Minor cleanups to prev. * contrib/hbwin/axcore.c * Minor formatting. % Variable scopes adjusted. % WIN_AXCREATEWINDOW() optimized. - Deleted ToOutDebug() stuff. Please use TRACE() subsystem for these parts. ; NOTE: I'm note sure we should have a WIN_AXCREATEWINDOW() function there. Rather, we should have a WAPI_CREATEWINDOWEX() function which serves the same purpose, but in a generic manner, also usable for AX purposes. Is there anything against this idea? * utils/hbformat/hbformat.prg * contrib/gtwvg/wvgclass.prg * contrib/gtwvg/wvgscrlb.prg * contrib/gtwvg/wvgdlg.prg * contrib/gtwvg/wvgpaint.prg * contrib/gtwvg/wvgdarea.prg * contrib/gtwvg/wvgmle.prg * contrib/gtwvg/wvglistb.prg * contrib/gtwvg/wvgtoolb.prg * contrib/gtwvg/wvgpushb.prg * contrib/gtwvg/wvgsle.prg * contrib/gtwvg/wvgtreev.prg * contrib/gtwvg/tests/demoxbp.prg * contrib/gtwvg/tests/demowvg.prg * contrib/gtwvg/wvgwnd.prg * contrib/gtwvg/wvgcrt.prg * contrib/gtwvg/wvgdatar.prg * contrib/gtwvg/wvgradio.prg * contrib/gtwvg/wvgsysw.prg * contrib/gtwvg/wvgmenub.prg * contrib/gtwvg/wvgphdlr.prg * contrib/gtwvg/wvgbitmp.prg * contrib/gtwvg/wvgcheck.prg * contrib/gtwvg/wvgstatb.prg * contrib/gtwvg/wvgstatc.prg * contrib/gtwvg/wvghtmlv.prg * contrib/gtwvg/wincback.prg * contrib/gtwvg/wvgtabpg.prg * contrib/gtwvg/wvg3stat.prg * contrib/gtwvg/wvgcombo.prg * Some formatting. (' -> " and #include lines) 2009-05-26 07:50 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbwin/axcore.c + __XAXREGISTERHANDLER() An extension of __AXREGISTERHANDLER() where connection points are enumerated instead of finding - many OLE's have more than one interface - a practical discovery. Mindaugas please check if it can be the default. + WIN_AXATLGETCONTROL() - Normalizing PRG calling convension. + WIN_AXCREATEWINDOW() - Can be dropped later. + WIN_AXGETUNKNOWN() - Useful in many situations. + WIN_AXSETVERB() - ---^--- + WIN_AXRELEASEOBJECT() - Experimental Note that these function are primarily aimed at making experiments via gtwvg/winsink.c interface and after testings can be moved or removed. /* Mindaugas, I receive a GPF when terminating the appln. Also I cannot see that ISink is ever subject to garbase collection. And "count" never returns to 0. I must be missing something, but... */ 2009-05-26 09:24 UTC+0200 Viktor Szakats * contrib/gtwvg/wvgax.prg * contrib/gtwvg/wvgwin.c * contrib/gtwvg/wvgsink.c ! Fixed HB_OLEAUTO() -> WIN_OLEAUTO() * Formatting. ! Fixed a few ISNIL()s. ! Fixed a few hb_parc() to hb_parcx() (many potential GPFs). % Removed unnecessary ISBYREF() and hb_ret() calls. ! Prefixed some static vars with 's_'. ! Fixed potential buffer overrun and memory corruption in Invoke() function. * contrib/rddads/adsfunc.c + Changed to always define all Harbour level functions. For unsupported ADS versions, these function will be stubs returning dummy values. ; TODO: Do the same in other contribs, like hbsqlit3. Anyone? [DONE] * contrib/rddads/ads1.c ! Fixed typos and missing casts preventing to compile with pre-6.00 ACE versions. * contrib/rddads/Makefile + contrib/rddads/adsextrn.ch + Added EXTERNAL header. 2009-05-25 18:16 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/gtwvg/wvgsink.c ! HBNIL() -> HB_ISNUM() | HB_ISCHAR(). + Few more convinience functions. 2009-05-26 02:54 UTC+0200 Viktor Szakats * contrib/xhb/Makefile + contrib/xhb/datesxhb.c + Added these xhb compatibility functions: TSSECS(), TIMEOFDAY(), HMS2D(), TTOD(). Borrowed from xhb, work of Giancarlo Niccolai, Walter Negro, with few changes. * contrib/xhb/hbcompat.ch + Added translation for these functions: DATETIME(), HOUR(), MINUTE(), TTOS(), STOT(), TTOC(), CTOT() (NOTE: I don't know if the workings of corresponding Harbour functions are fully compatible. If not we can add xhb_*() flavours locally in xhb lib) 2009-05-26 02:14 UTC+0200 Viktor Szakats * contrib/xhb/fparse.c * contrib/rddsql/sddmy/mysqldd.c * contrib/rddsql/sqlbase.c * contrib/rddsql/sqlmix.c * contrib/rddads/adsx.c * contrib/examples/terminal/trm_client.prg * source/rdd/dbfnsx/dbfnsx1.c % "" -> NULL where applicable (hb_retc*(), hb_retds(), hb_itemPutC*(), hb_arraySetC*(), hb_errInternal(), hb_itemPutDS(), hb_arraySetDS()) * contrib/hbqt/hbqt_qtextdocument.cpp * contrib/hbqt/hbqt_qgridlayout.cpp * contrib/hbqt/hbqt_qpainter.cpp * contrib/hbqt/hbqt_qeventloop.cpp * contrib/hbqt/hbqt_qicon.cpp * contrib/hbqt/hbqt_qtreeview.cpp * contrib/hbqt/hbqt_qtextline.cpp * contrib/hbqt/hbqt_qdesktopwidget.cpp * contrib/hbqt/hbqt_qhttp.cpp * contrib/hbqt/hbqt_qlineedit.cpp * contrib/hbqt/hbqt_qcombobox.cpp * contrib/hbqt/hbqt_qlistwidget.cpp * contrib/hbqt/hbqt_qtextcursor.cpp * contrib/hbqt/hbqt_qtextlayout.cpp * contrib/hbqt/hbqt_qftp.cpp * contrib/hbqt/hbqt_qclipboard.cpp * contrib/hbqt/hbqt_qurl.cpp * contrib/hbqt/hbqt_qwebpage.cpp * contrib/hbqt/hbqt_qtextedit.cpp * contrib/hbqt/hbqt_qpixmap.cpp * contrib/hbqt/hbqt_qsplashscreen.cpp * contrib/hbqt/hbqt_qtablewidget.cpp * contrib/hbqt/hbqt_qtreewidget.cpp * contrib/hbqt/generator/hbqtgen.prg * contrib/hbqt/hbqt_qfont.cpp * contrib/hbqt/hbqt_qmainwindow.cpp * contrib/hbqt/hbqt_qdir.cpp * contrib/hbqt/hbqt_qwidget.cpp * contrib/hbqt/hbqt_qstyle.cpp * contrib/hbqt/hbqt_qabstractbutton.cpp * contrib/hbqt/hbqt_qobject.cpp * contrib/hbqt/hbqt_qcolor.cpp * contrib/hbqt/hbqt_qtextstream.cpp * contrib/hbqt/hbqt_qwebview.cpp * contrib/hbqt/hbqt_qboxlayout.cpp * contrib/hbqt/hbqt_qstatusbar.cpp * contrib/hbqt/hbqt_qtabwidget.cpp * contrib/hbqt/hbqt_qscrollarea.cpp * contrib/hbqt/hbqt_qtextcharformat.cpp ! Fixed to use HB_ISNUM() instead of HB_ISNIL(). % Don't call HB_ISNUM() where the default value is zero anyway. hb_parn*() functions will return zero anyway. (well, maybe this exploits the array-type bug in our Extend API.) * contrib/gtwvg/wvgwin.c * contrib/gtwvg/wvgsink.c * Avoiding ISNIL(). Corrected just a few occurences. This practice is still wrong in most of the cases in GTWVG code, so if the goal is GPF-free and consitently behaving apps, these would better be fixed. With string params ISNIL() is either superfluous or simply don't protect agains GPFs, for rest of the cases it either causes unexpected defaults (zero), or simply superfluous for the rest of the cases. IOW: Avoid it, use HB_ISNUM(), HB_ISCHAR() / parcx() instead. * contrib/hbgd/gdwrp.c * Formatting. 2009-05-25 15:01 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/gtwvg/wvgsink.c * Cleanup . * Next step to make it as close to hbwin/axcore.c as much possible. 2009-05-25 23:06 UTC+0200 Viktor Szakats * contrib/gtwvg/wvgsink.c ! Fixed warning. * Some formatting, minor cleanup. * source/rtl/hbi18n2.prg + __I18N_POTARRAYSAVE() got logical flag to suppress Harbour version number in saved file comment. + __I18N_POTARRAYSAVE() got logical flag to suppress source reference information in save file. This way it's possible to lessen the number of .po file updates and to avoid the growth caused by texts moving around while files are being edited. * utils/hbmk2/hbmk2.prg + Added option to save .po files in a version repository friendly way, this means no Harbour version number and no source file references in .po files. You can activate this using -minipo option. 2009-05-25 23:29 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/contrib/gtwvg/wvgsink.c ! fixed, cleaned C++ compilation 2009-05-25 21:28 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/hvm.c ! add missing HB_STACK_TLS_PRELOAD 2009-05-25 18:04 UTC+0200 Viktor Szakats * contrib/hbwin/axcore.c ! Fixed one remaining minor msvc warning. 2009-05-25 18:45 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/contrib/hbwin/hbwinole.h * changed HB_OLE_C_API define to be compatible to other similar defines, i.e. defined() vs. !defined() instead of 1 vs. 0 * harbour/contrib/hbwin/axcore.c ! fixed missing IDispatchVtbl definition in C++ mode * harbour/contrib/hbwin/hbwinole.h * harbour/contrib/hbwin/axcore.c * harbour/contrib/hbwin/olecore.c * a few C/C++ compatibility macros introduced. Cleaned code: two version of method call code is not required any more 2009-05-25 17:08 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbxvm.h * harbour/source/vm/hvm.c * harbour/source/compiler/gencc.c ! added missing RT error for wrong values used in SWITCH statement in code generated for -gc3 output 2009-05-25 16:24 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added -cpp/-nocpp options to help screen. * Removed C++ mode from TODO. I honestly forgot what was missing from this feature (besides lack of support for pocc compiler, since I couldn't find such option there), please report it if you find something. 2009-05-25 16:06 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added -target=, -target and -alltarget (was -notarget) to help screen. 2009-05-25 14:44 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/contrib/hbwin/axcore.c ! fixed a few C++ compile errors 2009-05-25 13:22 UTC+0200 Viktor Szakats + utils/hbformat/hbformac.c + Added missing file from prev commit. Sorry. 2009-05-25 13:21 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/gtxwc/gtxwc.c ! fixed typo in HB_GTXVG_SQUARE shape initialization * harbour/include/hbrddnsx.h * harbour/include/hbrddntx.h * harbour/source/rdd/dbfntx/dbfntx1.c * harbour/source/rdd/dbfnsx/dbfnsx1.c * code cleanup - use predefined #define instead of hardcoded constant values * harbour/source/rtl/valtoexp.prg * added REQUEST __objSetClass * harbour/source/compiler/gencc.c ! fixed -gc3 code generated for switch statement - thanks to Marek and Xavi for information and self contain example TODO: add missing RT error in -gc3 output when wrong (non integer and non string value) is used in SWITCH statement [DONE] 2009-05-25 15:00 UTC+0300 Alexander Kresin <alex at belacy.belgorod.su> * utils/hbformat/hbformat.prg ! Small fix 2009-05-25 12:30 UTC+0200 Viktor Szakats * make_gnu.bat % Fixed to exclude external libs from dll phase of build. This will make the process a bit faster. 2009-05-25 10:30 UTC+0300 Alexander Kresin <alex at belacy.belgorod.su> * utils/hbformat/hbformat.prg ! Fixed SetOption() method. 2009-05-25 10:11 UTC+0200 Viktor Szakats * doc/howtosvn.txt * Deleted sections dealing with sending commit emails. * doc/dirstruc.txt * utils/hbmk2/hbmk2.hu_HU.po * utils/hbmk2/hbmk2.pt_BR.po * utils/hbmk2/hbmk2.prg * utils/hbi18n/hbi18n.prg * Shuffling extensions: .hbl -> .hbi (Harbour i18n) .hbp -> .hbl (Harbour Library) .hbm -> (unchanged) (Harbour Make) .hbt -> .hbp (Harbour Project) * utils/hbmk2/hbmk2.hu_HU.po * utils/hbmk2/hbmk2.pt_BR.po * utils/hbmk2/hbmk2.prg + Added reference to -b switch to -debug switch description. + Added _HBMK_EMBEDDED_ mode (like in hbformat). + Accepting .hbp files (same format as .hbm) on the command line (top-level). .hbp refers to "Harbour project file". Similar function to recent experimental .hbt files, but not embeddable. * Minor tweak to HB_SHARED envvar reading code. * Changed -nohbp switch to -nohbl. * Changed -hbl switch to -hbi. Updated usage: There are three ways to do multitarget hbmk2 sessions: 1.) hbmk2 [<common_params1>] -target=target1[.hbm|.prg] [<common_params2>] -target=target2[.hbm|.prg] [<common_params3>] Examples: hbmk2 -target=prog1 -target=prog2 -target=prog3 hbmk2 -target=prog1.prg -target=prog2.prg -target=prog3.prg hbmk2 -target=mylib1.hbm -target=mylib2.hbm -target=myapp.hbm hbmk2 -trace -pause -target=mylib1.hbm -target=mylib2.hbm -target=myapp.hbm -beep 2.) hbmk2 [<common_params1>] -target <target1_params> -target <target2_params> [-notarget <common_params2>] Examples: hbmk2 -target hello1.prg -target hello2.prg hbmk2 -trace -target hello1.prg -target hello2.prg hbmk2 -trace -target hello1.prg -target hello2.prg -notarget -beep 3.) hbmk2 [<common_params1>] target1.hbp [<common_params2>] target2.hbp [<common_params3>] where .hbp is an .hbm file just with an .hbp extension. Examples: hbmk2 mylib1.hbp mylib.hbp myapp.hbp hbmk2 -trace -pause mylib1.hbp mylib2.hbp myapp.hbp -beep + utils/hbmk2/examples/hmg.hbl + utils/hbmk2/examples/whoo.hbl + utils/hbmk2/examples/xbgtk.hbl - utils/hbmk2/examples/hmg.hbp - utils/hbmk2/examples/whoo.hbp - utils/hbmk2/examples/xbgtk.hbp + utils/hbmk2/examples/hwgui.hbl + utils/hbmk2/examples/fwh.hbl + utils/hbmk2/examples/xhgtk.hbl - utils/hbmk2/examples/hwgui.hbp - utils/hbmk2/examples/fwh.hbp - utils/hbmk2/examples/xhgtk.hbp + utils/hbmk2/examples/c4w.hbl + utils/hbmk2/examples/contrib.hbl - utils/hbmk2/examples/c4w.hbp - utils/hbmk2/examples/contrib.hbp + utils/hbmk2/examples/contribf.hbl - utils/hbmk2/examples/contribf.hbp + contrib/gtalleg/tests/gtallegs.hbl + contrib/gtalleg/tests/gtallegd.hbl - contrib/gtalleg/tests/gtallegs.hbp - contrib/gtalleg/tests/gtallegd.hbp + contrib/hbmysql/utils/hbmysql.hbl - contrib/hbmysql/utils/hbmysql.hbp + contrib/hbmysql/tests/hbmysql.hbl - contrib/hbmysql/tests/hbmysql.hbp + contrib/hbct/tests/hbct.hbl - contrib/hbct/tests/hbct.hbp + contrib/xhb/tests/xhb.hbl - contrib/xhb/tests/xhb.hbp + contrib/hbodbc/tests/hbodbc.hbl - contrib/hbodbc/tests/hbodbc.hbp + contrib/hbtpathy/tests/hbtpathy.hbl - contrib/hbtpathy/tests/hbtpathy.hbp + contrib/hbmsql/tests/hbmsql.hbl - contrib/hbmsql/tests/hbmsql.hbp - contrib/hbmzip/tests/hbmzip.hbp + contrib/hbmzip/tests/hbmzip.hbl - contrib/hbsqlit3/tests/hbsqlit3.hbp + contrib/hbsqlit3/tests/hbsqlit3.hbl + contrib/hbblat/tests/hbblat.hbl - contrib/hbblat/tests/hbblat.hbp + contrib/hbqt/tests/hbqt.hbl - contrib/hbqt/tests/hbqt.hbp + contrib/hbfbird/tests/hbfbird.hbl - contrib/hbfbird/tests/hbfbird.hbp + contrib/hbziparc/tests/hbziparc.hbl - contrib/hbziparc/tests/hbziparc.hbp + contrib/hbnf/tests/hbnf.hbl - contrib/hbnf/tests/hbnf.hbp + contrib/hbcurl/tests/hbcurl.hbl - contrib/hbcurl/tests/hbcurl.hbp + contrib/gtqtc/tests/gtqtc.hbl - contrib/gtqtc/tests/gtqtc.hbp + contrib/rddsql/sddmy/tests/sddmy.hbl - contrib/rddsql/sddmy/tests/sddmy.hbp - contrib/rddsql/tests/rddsql.hbp + contrib/rddsql/tests/rddsql.hbl + contrib/rddsql/sddodbc/tests/sddodbc.hbl - contrib/rddsql/sddodbc/tests/sddodbc.hbp + contrib/hbhpdf/tests/hbhpdf.hbl - contrib/hbhpdf/tests/hbhpdf.hbp + contrib/rddado/tests/rddado.hbl - contrib/rddado/tests/rddado.hbp + contrib/gtwvg/tests/gtwvg.hbl - contrib/gtwvg/tests/gtwvg.hbp + contrib/hbpgsql/tests/hbpgsql.hbl - contrib/hbpgsql/tests/hbpgsql.hbp + contrib/rddads/tests/rddads.hbl - contrib/rddads/tests/rddads.hbp + contrib/hbclipsm/tests/hbclipsm.hbl - contrib/hbclipsm/tests/hbclipsm.hbp + contrib/hbfimage/tests/hbfimage.hbl - contrib/hbfimage/tests/hbfimage.hbp + contrib/hbgd/tests/hbgd.hbl - contrib/hbgd/tests/hbgd.hbp + contrib/hbmisc/tests/hbmisc.hbl - contrib/hbmisc/tests/hbmisc.hbp + contrib/hbtip/tests/hbtip.hbl - contrib/hbtip/tests/hbtip.hbp - contrib/hbwin/tests/hbwin.hbp + contrib/hbwin/tests/hbwin.hbl - contrib/hbvpdf/tests/hbvpdf.hbp + contrib/hbvpdf/tests/hbvpdf.hbl + contrib/hbssl/tests/hbssl.hbl - contrib/hbssl/tests/hbssl.hbp + contrib/hbbtree/tests/hbbtree.hbl - contrib/hbbtree/tests/hbbtree.hbp + contrib/hbcrypt/tests/hbcrypt.hbl - contrib/hbcrypt/tests/hbcrypt.hbp - contrib/examples/hbsqlit2/tests/hbsqlit2.hbp + contrib/examples/hbsqlit2/tests/hbsqlit2.hbl + contrib/examples/hbapollo/tests/hbapollo.hbl - contrib/examples/hbapollo/tests/hbapollo.hbp + contrib/examples/hbgf/tests/hbgf.hbl - contrib/examples/hbgf/tests/hbgf.hbp + contrib/examples/terminal/terminal.hbl - contrib/examples/terminal/terminal.hbp + contrib/examples/hbwhat/tests/hbwhat.hbl - contrib/examples/hbwhat/tests/hbwhat.hbp * Renamed *.hbp -> *.hbl in whole source tree. * doc/dirstruc.txt * bin/postinst.bat * utils/hbformat/hbformat.ini + utils/hbformat/hbformat.hbm * utils/hbformat/hbformat.prg * utils/hbformat/Makefile ! Added SVN props. + Added hbformat.hbm (hbmk2 make file). % Deleted forced MT mode from Makefile (not needed for hbformat) ! Separated C code from .prg. ! Minor fix to RF_FILEREAD() (non-string param GPF) % Minor opts to RF_FILEREAD(). * RF_FULLPATH() changed to .prg level macro (from C). * Some formatting tweaks to hbformat.prg. + Added generation of shared hbformat executable to build process. * Using DEFAULT (common.ch). ! Using hb_osFileMask() instead of "*.*". * Minor tweaks to header output. ! Added to distruct.txt. 2009-05-25 10:30 UTC+0300 Alexander Kresin <alex at belacy.belgorod.su> + utils/hbformat + utils/hbformat/hbformat.prg + utils/hbformat/hbformat.ini + utils/hbformat/Makefile + Harbour source formatter utility has been added. The command line to call it: hbformat [-r] [options] [@config.ini] file[s] -r option ( recursive ) forces formatting files in all nested directories. Default options ( their values you may find commented in a provided hbformat.ini ) provides the style, accepted in Harbour prgs. The hbformat.ini must be in the same directory, where the hbformat.exe is. You can use additional ini file and point to it in a command line with the '@' before it. Options in a command line are the same, which are in ini file - for example, -lCase=no forces to not make case conversion. * utils/Makefile * Makefile has been changed to build the hbformat 2009-05-24 13:44 UTC+0200 Viktor Szakats * INSTALL * Minor cleanups. 2009-05-24 13:27 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg * Changed multitarget support. Instead of special .hbt extension (which was not removed), not -target=<target>[.hbm|.prg] option can be used to force a distinct target from the command line. This way it's more flexible, easy to use and clear without needing a special extension alias. Here's the updated usage: There are two ways to do multitarget hbmk2 sessions: 1.) hbmk2 [<common_params1>] -target=target1[.hbm|.prg] [<common_params2>] -target=target2[.hbm|.prg] [<common_params3>] Examples: hbmk2 -target=prog1 -target=prog2 -target=prog3 hbmk2 -target=prog1.prg -target=prog2.prg -target=prog3.prg hbmk2 -target=mylib1.hbm -target=mylib2.hbm -target=myapp.hbm hbmk2 -trace -pause -target=mylib1.hbm -target=mylib2.hbm -target=myapp.hbm -beep 2.) hbmk2 [<common_params1>] -target <target1_params> -target <target2_params> [-notarget <common_params2>] Examples: hbmk2 -target hello1.prg -target hello2.prg hbmk2 -trace -target hello1.prg -target hello2.prg hbmk2 -trace -target hello1.prg -target hello2.prg -notarget -beep * Changed ' = ' operators to macro LEFTEQUAL(). + Added Set( _SET_EXACT ) setting to make sure above operator works regardless of caller/default state. ; NOTE: IMO it would be useful to add a pseudo function equivalent to non-exact equality operator. This would clear up hacks like above. * doc/dirstruc.txt ! Typo. 2009-05-24 11:52 UTC+0200 Viktor Szakats * INSTALL * Terminology cleanup: x64 -> x86-64 2009-05-24 11:25 UTC+0200 Viktor Szakats * INSTALL + Added section: HOW TO GET SOURCE CODE. + Added hint how to use dirs with spaces. * ChangeLog ! Fixed header in my prev commit. 2009-05-23 14:05 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fixed to morph harbour binary extension according to target platform. This should fix HB_INSTALL_PREFIX autodetection and also -trace display of harbour command line. Please test. * harbour/bin/hb-func.sh ! Changed comp= line to not have a filter. Filters aren't supported here, even the whole line isn't processed yet by hbmk2. * INSTALL * Minor correction. 2009-05-23 11:13 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/hb-func.sh * reduce the scope of default options in hbmk.cfg to given platform and compiler {arch&comp}. Viktor please verify it. 2009-05-22 22:28 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg % mingw tool extensions now again have ".exe" extension, but only on Windows, it's slightly more optimal this way. 2009-05-22 19:59 UTC+0200 Viktor Szakats * contrib/hbwin/axcore.c ! Fixed 'this' -> 'lpThis' ; Lots of errors remain with msvc. * utils/hbmk2/hbmk2.prg * Minor cleanup. 2009-05-22 18:32 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fixed to only add -march/-mtune gcc parameters for mingw/gcc targets. These values are ignored by mingwarm on Windows, but generate errors on Linux. * contrib/hbfimage/fi_winfu.c + FI_WINDRAW() now accepts pointer type as second parameter. ! FI_WINDRAW() fixed warning with gcc 4.4.0. 2009-05-22 17:31 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fixed to use hb_osPathSeparator() instead of hardcoded backslash in mingw* init section, as it may also be used on *nix in cross compilation scenarios. ! Dropped .exe extensions from mingw* init section to also work on *nix systems. * Extended xmingw, mingw32ce detection for all *nix systems. * contrib/hbodbc/odbc.c ! Cast. * INSTALL * config/global.cf * Removed requirement of 3.81 or upper GNU Make, now it's a recommendation only. If I understand correctly after 2009-05-22 16:28 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) older ones can also be used without parallel build feature. Lowered minimum version to 3.70. 2009-05-22 07:52 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/hbqt/generator/hbqtgen.prg * harbour/contrib/hbqt/hbqt.h * harbour/contrib/hbqt/hbqt_qpushbutton.cpp * harbour/contrib/hbqt/qth/QPushButton.qth * harbour/contrib/hbqt/tests/demoqt.prg ! Fixed an abnormality in QPushButton() implementation. Thanks CarozoDeQuilmes for info. 2009-05-22 16:28 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/config/dir.cf * do not enable parallel execution rules for GNU makes 3.7* and 3.80* which are known to have problems with them 2009-05-22 15:32 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added autodetection of xmingw and mingw32ce tools on Linux. (untested) * contrib/hbwin/legacy.prg + Added win32prn and win32bmp compatibility classes. * contrib/hbwin/hbwin.ch * contrib/hbwin/tests/testprn.prg * Moved macros to hbwin.ch. * Minor opt in test. * external/sqlite3/Makefile - Disabled for mingwarm due to compile errors. Error reported on sqlite3 site: 'sqlite - Ticket #3873' https://sqlite.org/cvstrac/tktview?tn=3873 2009-05-22 13:04 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fixed extra GT for WinCE builds. 2009-05-22 12:30 UTC+0200 Viktor Szakats * contrib/hbodbc/odbc.c + Copied dummy HB_TCHAR* macros from odbcdd.c, plus added dummy HB_TCHAR_CONVFROM(). % Removed separate branches for Windows platform. Please test it on *nix. ; TODO: Except one. Currently we have no TCHAR macro which deals with byte strings with lengths. [DONE] * contrib/rddsql/sddodbc/odbcdd.c + Added HB_TCHAR_CONVFROM(). 2009-05-22 12:18 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/mpkg_rpm.sh * harbour/harbour.spec ! fixed to build with sddodbc library 2009-05-22 12:07 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/debug/debugger.prg * minor simplification * harbour/contrib/rddsql/sddodbc/odbcdd.c ! added dummy unicode conversion macros to fix compilation in non windows builds * harbour/contrib/hbwin/olecore.c ! casting * harbour/contrib/hbwin/axcore.c ! fixed unicode and WinCE compilation ! casting 2009-05-22 10:21 UTC+0200 Viktor Szakats * contrib/rddsql/sddodbc/odbcdd.c ! Added UNICODE support to the extent it compiles. Please make tests. Also SQLGetData() / SQL_C_CHAR may also need conversion from UNICODE. 2009-05-21 14:05 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/memvars.c * modified __mvDbgInfo(): - accept as 1st parameter also HB_MV_PRIVATE_LOCAL and HB_MV_PRIVATE_GLOBAL values - changed parameters meaning now when less then 3 parameters is given this function returns number of variables and the second parameter is the call stack level. Memvar value and optionally name is returned only if 3 or more parameters is given. 3rd party code which used this function with two parameters has to be updated. * harbour/source/debug/debugger.prg * mark non local private variables in monitor as "Private^" (with "^") * do not show public and private variables hidden by other private declarations 2009-05-21 12:24 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg - Removed file extension retaining hack for win platforms. Please be aware that *.prg means *.prg* on Windows platforms. 2009-05-21 11:19 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/filebuf.c ! refuse to share file handles if they were open in different mode TODO: add support for keeping more then one handle for single file open and allow such combinations. * harbour/source/rtl/hbffind.c % optimized *nix version of hb_fsFind*() * harbour/utils/hbmk2/hbmk2.prg ! fixed compilation on non Windows platforms (unused variable warning) * harbour/include/hbset.h * harbour/source/vm/set.c + added new function hb_setGetPrinterHandle() which allows to open closed printer port ! do not force opening default port after SET PRINTER TO "" but delay the initialization untill other code does not call hb_setGetPrinterHandle() ! fixed filename returned by _SET_PRINTFILE, _SET_ALTFILE, _SET_EXTRAFILE ! fixed dpossible resource leaks whne _SET_*FILE is called recurisvely for user error block ! fixed _SET_*FILE settings to not accept files which cannot be open (just like in Clipper) * harbour/source/rtl/console.c * use hb_setGetPrinterHandle() to access printer handler 2009-05-21 08:53 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added automatic configuration for bcc compiler. This kicks in for bcc installations missing bcc32.cfg or ilink32.cfg next to bcc32.exe. In this case Lib/Include dir will automatically added to the lib/include lists by hbmk2. This means that hbmk2 will work with bare bcc installations without doing any manual configuration. * config/global.cf + Added link to blog dealing with GNU Make. 2009-05-21 07:46 UTC+0200 Viktor Szakats * config/global.cf + Added Make version check and appropriate error message in case wrong version found. * ChangeLog ! Typos. 2009-05-20 23:32 UTC+0200 Viktor Szakats * contrib/rddsql/sddodbc/Makefile ! Applied logic from contrib/hbodbc/Makefile. * contrib/rddsql/sddodbc/odbcdd.c ! Fixed three warnings (2 casts + 1 uninit var) with MSVC. ; FIXME: These errors are shown when trying to compile in UNICODE mode [DONE]: ../../odbcdd.c(168) : error C2664: 'SQLDriverConnectW' : cannot convert parameter 3 from 'SQLCHAR *' to 'SQLWCHAR *' ../../odbcdd.c(204) : error C2664: 'SQLExecDirectW' : cannot convert parameter 2 from 'SQLCHAR *' to 'SQLWCHAR *' ../../odbcdd.c(239) : error C2664: 'SQLExecDirectW' : cannot convert parameter 2 from 'SQLCHAR *' to 'SQLWCHAR *' ../../odbcdd.c(263) : error C2664: 'SQLDescribeColW' : cannot convert parameter 3 from 'SQLCHAR *' to 'SQLWCHAR *' 2009-05-20 21:32 UTC+0200 Viktor Szakats * INSTALL + Added typical ("FAQ") error message encountered with old, buggy, unsupported GNU Make versions which users seem to often use. In case someone would RTFM. 2009-05-20 21:25 UTC+0200 Viktor Szakats * source/vm/set.c ! Applied fix sent by Xavi. Thanks. I did a few minor formattings and rename, and did a light review, please review further and test. I seem to remember some deeper problems with this feature, reported a while ago on the list. 2009-05-20 20:02 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Added workaround for DIRECTORY() problem under Windows. '*.ext' input files weren't working if the actual filenames had different casing (on Windows). Also changed the hack to only kick in on Windows platforms, *nixes seems to work as expected. ; NOTE: This workaround should probably be moved to Harbour FileFind API. * INSTALL + Added HB_INC_ODBC. * contrib/hbwin/tests/testole.prg * contrib/hbwin/legacyc.c * Updated to reflect OLE function name changes. * contrib/hbwin/legacyc.c + Added GETACTIVEOBJECT(), CREATEOBJECT(), OLEERROR() compatibility calls. All of them are simple aliases to new OLE functions, which means there may be differences in behaviour. Users will need to adjust them for full compatibility. However, I'd recommend changing all code to use our new OLE functions and classes. * contrib/hbwin/Makefile + contrib/hbwin/legacy.prg * Moved TOLEAUTO() compatibility class to .prg level. It's a stub, inheriting from WIN_OLEAUTO. I hope TOLEAUTO users will fill it with required compitibility methods. ; NOTE: Getting these warnings with bcc: Warning W8075 ../../axcore.c 93: Suspicious pointer conversion in function hb_ax_init Warning W8075 ../../axcore.c 322: Suspicious pointer conversion in function HB_FUN___AXREGISTERHANDLER ; NOTE: Getting these errors with msvc (default C++ mode): ../../axcore.c(93) : error C2440: '=' : cannot convert from 'FARPROC' to 'HRESULT (__stdcall *)(HWND,IUnknown **)' This conversion requires a reinterpret_cast, a C-style cast or function-style cast ../../axcore.c(146) : error C2143: syntax error : missing ';' before '*' ../../axcore.c(146) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int ../../axcore.c(146) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int ../../axcore.c(175) : error C2039: 'lpVtbl' : is not a member of 'ISink' ../../axcore.c(145) : see declaration of 'ISink' ../../axcore.c(175) : error C2227: left of '->Release' must point to class/struct/union/generic type ../../axcore.c(179) : error C2143: syntax error : missing ')' before 'this' ../../axcore.c(179) : error C2143: syntax error : missing ';' before 'this' ../../axcore.c(179) : error C2059: syntax error : ')' ../../axcore.c(180) : error C2143: syntax error : missing ';' before '{' ../../axcore.c(180) : error C2447: '{' : missing function header (old-style formal list?) [ ...snip... ] ../../axcore.c(198) : error C2365: 'Release' : redefinition; previous definition was 'formerly unknown identifier' [ ...snip... ] ../../axcore.c(282) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int ../../axcore.c(282) : error C2146: syntax error : missing ';' before identifier 'ISink_Vtbl' ../../axcore.c(282) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int ../../axcore.c(283) : error C2440: 'initializing' : cannot convert from 'HRESULT (__stdcall *)(IDispatch *)' to 'int' There is no context in which this conversion is possible ../../axcore.c(284) : error C2078: too many initializers ../../axcore.c(322) : error C2039: 'lpVtbl' : is not a member of 'ISink' ../../axcore.c(145) : see declaration of 'ISink' 2009-05-20 18:15 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/contrib/hbwin/hbwinole.h * harbour/contrib/hbwin/olecore.c + added public functions hb_oleSetError(), hb_oleGetError() * harbour/contrib/hbwin/Makefile + harbour/contrib/hbwin/axcore.c + harbour/contrib/hbwin/axfunc.prg + added ActiveX support. Public functions are: WIN_AxInit() --> lSuccess WIN_AxGetControl( hWnd, [ bEventHandler ] ) --> oActiveX ; TODO: a few warnings left. I do not know howto recast function type pointer [DONE] * harbour/contrib/hbwin/oleauto.c * function renames + :__hSink, :__cargo members * harbour/contrib/hbwin/olecore.c * function renames + support item to variant conversion for classes inherited from WIN_OLEAUTO - removed internal OLERELEASE() + added optional parameter for WIN_OleErrorText( [ nOleError ] ) * harbour/source/vm/classes.c * minor optimisation 2009-05-20 09:31 UTC+0200 Viktor Szakats - hbwin/legacy.c + hbwin/legacyc.c * hbwin/Makefile * Renamed legacy.c to legacyc.c. * hbwin/win_tprn.prg * hbwin/hbwin.ch * Moved #defines to hbwin.ch header. * Formatting. + Added HB_COMPAT_XPP protection for XBPBITMAP class. * hbwin/win_tprn.prg * hbwin/win_prn1.c * WIN_OS_ISWIN9X() removed, now using OS_ISWIN9X(). These OS_*() functions should be renamed in the future. 2009-05-20 01:39 UTC+0200 Viktor Szakats * INSTALL * Minor update to Pelles C version support. 2009-05-19 17:10 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.hu_HU.po * utils/hbmk2/hbmk2.prg + Added support for UTF-8 output. Currently on on *nix systems. The current solution is just an ugly hack, for the most part to test this problem in real life. The output format is also fixed to *nix OSes, there is not attempt made to detect terminal encoding, so it may be wrong if terminal expects something else. * utils/hbi18n/hbi18n.prg * .po_ -> .po (Przemek, please verify me, or modify it as you think best) 2009-05-19 11:46 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/xhb/xhbmsgs.c ! fixed one byte string as number emulation in some math operations where both expressions are one byte strings, e.g.: ? "A" * "B" 2009-05-19 08:19 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.pt_BR.po * utils/hbmk2/hbmk2.hu_HU.po * utils/hbmk2/hbmk2.prg + Displaying C compiler used (with path) if autodetection was used and -info enabled. ! Workaround added to MemoLine() sometimes returning empty string for the last line. * source/rtl/tget.prg % Minor opt. 2009-05-19 07:31 UTC+0200 Viktor Szakats * external/sqlite3/sqlite3.c * external/sqlite3/sqlite3.h * sqlite upgraded to 3.6.14.1 (from 3.6.11) * external/sqlite3/Makefile + Enabled for bcc compiler. Seems to compile fine now. ; NOTE: poccarm still fails, even with pocc6. 2009-05-19 07:20 UTC+0200 Viktor Szakats * contrib/hbwin/win_reg.prg * contrib/hbwin/win_regc.c * Cleanups: Documenting params, changing default, using SWITCH, HKEY to HKCU (from HKLM) to be friendly with restricted user situations (code may become incompatible), removed unused params, changed return values to logical, more consistently filling params returned by ref, fixed hkResult usage, fixed hbResult to use real pointer type, minor opts. Some of these changes may create incompatibility if: - no hkey is passed, since the default has changed. - using win_reg*() functions directly, since return value and hbResult type has changed. ! Fixed potential GPF if non-string was passed for string params. * contrib/hbwin/tests/testreg.prg + Added registry write test. * utils/hbmk2/hbmk2.prg * utils/hbi18n/hbi18n.prg * utils/hbrun/hbrun.prg * Minor opt. 2009-05-18 14:26 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtwvg/wvgsink.c * harbour/contrib/gtwvg/wvgax.c ! Fixes to newer OLE implementation. Thanks to Mindaugas and Przemek for doing all the spadework. Now I can receive events as was doing before, fantastic. 2009-05-18 21:36 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Changed default workdir to use output binary dir as a base. ! Fixed -instpath and -compr option not working with -hblib and -hbdyn modes. * utils/hbmk2/hbmk2.hu_HU.po ! Cleaned. 2009-05-18 19:46 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fixed setup of .hbl input codepages. + Added support to specify output CPs for Windows/DOS/OS2 and *nix systems. ; FIXME: This isn't enough as e.g. all my *nixes require UTF-8 output which we currently cannot provide in a transparent way, so accented chars are all broken on these platforms. I could hack it around by calling HB_STRTOUTF8() on all strings going to output when *nix is detected, but if possible it'd better to do it transparently. * utils/hbmk2/hbmk2.hu_HU.po * Converted to ISO CP from 852. 2009-05-18 18:03 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fixed handling of self-detected name inducted automatic options (like -xhb when xhbmk2 is used) after adding multitarget support. 2009-05-18 17:54 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fixed handling empty command lines. 2009-05-18 17:51 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg * utils/hbmk2/hbmk2.hu_HU.po * Minor cleanup to a few texts. ! Fixed doing nothing for single target command-lines after latest commit. + Added dir/path inheritance of .hbm file path to more options (-hbl, -po, -o, -L, -instpath, -incpath, -incpathtry, -i, -workdir, -vcshead, -tshead, *.hbl + .hbp equivalents.) + Added dir support for VCS ID readout. * utils/hbmk2/hbmk2.pt_BR.po ! Tabs -> Spaces 2009-05-18 15:59 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added experimental support for multitarget command lines. The final usage may be changed. There are two ways to do multitarget hbmk2 sessions: 1.) hbmk2 [<common_params1>] target1.hbt [<common_params2>] target2.hbt [<common_params3>] where .hbt is an .hbm file just with an .hbt extension. Examples: hbmk2 mylib1.hbt mylib2.hbt myapp.hbt hbmk2 -trace -pause mylib1.hbt mylib2.hbt myapp.hbt -beep 2.) hbmk2 [<common_params1>] -target <target1_params> -target <target2_params> [-notarget <common_params2>] Examples: hbmk2 -target hello1.prg -target hello2.prg hbmk2 -trace -target hello1.prg -target hello2.prg hbmk2 -trace -target hello1.prg -target hello2.prg -notarget -beep ! Fixed not expanding wildcards in .hbm files on *nix systems. * contrib/xhb/xhbcomp.prg * Minor formatting. 2009-05-18 11:33 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/itemapi.c * removed some old BCC hacks. They do not resolve possible problem with FPE errors so there is no sense to keep them. 2009-05-18 11:19 UTC+0200 Viktor Szakats * bin/hb-func.sh ! HB_USER_LIBS_DEF -> CC_HB_USER_LIBS ; QUESTION: Is it a problem to move these to HB_ namespace? * source/rtl/lang.c ! Fixed to return language IDs with consistent '-' separators instead of '_'. We may change this to consistent '_', if we decide it's better. 2009-05-18 11:03 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/filesys.c ! fixed OpenWatcom Linux builds which does not support utimes() yet. * harbour/contrib/rddads/ads1.c * pacified two BCC warnings 2009-05-18 09:57 UTC+0200 Viktor Szakats * contrib/rddsql/sddmy/mysqldd.c * contrib/rddsql/sddpg/pgsqldd.c * contrib/rddsql/sddfb/fbirddd.c * contrib/rddsql/sddodbc/odbcdd.c % Minor opt. * utils/hbmk2/hbmk2.hu_HU.po * Updated. * utils/hbmk2/hbmk2.prg * Minor updates (help text). 2009-05-18 08:38 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added -map support for djgpp. (untested) 2009-05-18 08:25 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg % bcc hack cleaned. * source/rtl/memoedit.prg * Minor. 2009-05-17 19:42 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Just added bcc hack fixed to not cause problems when bcc is explicitly selected, but the compiler cannot be detected in path. 2009-05-17 19:40 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added automatic bcc configuration hack to add PSDK dir to the libpath list. This is to fix bcc installations where this isn't done in bcc configuration itself in bcc32.cfg, ilink32.cfg. PSDK dir is required for hbmk2 because most libs on the standard hbmk2 list of Windows system libs (like winspool) included in link process are stored in this subdir. It's still recommended to do this tweak in local bcc environment. ; Please test it. * utils/hbmk2/examples/contribf.hbp + Added hbqt. 2009-05-17 18:45 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/rddsql/sddmy/mysqldd.c * harbour/contrib/rddsql/sddpg/pgsqldd.c * harbour/contrib/rddsql/sddfb/fbirddd.c * harbour/contrib/rddsql/sddodbc/odbcdd.c * removed dummy declarations for functions eliminated by previous commit 2009-05-17 19:05 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/contrib/hbwin/hbwinole.h * harbour/contrib/hbwin/olecore.c + functions hb_oleParam(), hb_oleItemToVariant() made public * harbour/contrib/rddsql/hbrddsql.h * harbour/contrib/rddsql/sqlbase.c + added NULL SDD driver. It allows to use SQLBASE, SQLMIX RDD without any real SDD driver. It could be usefull to implement memory/array RDD * unspecified SDD methods are "inherited" from NULL SDD + harbour/contrib/rddsql/tests/arrayrdd.prg + "Array RDD" example added * harbour/contrib/rddsql/sddfb/fbirddd.c * harbour/contrib/rddsql/sddmy/mysqldd.c * harbour/contrib/rddsql/sddodbc/odbcdd.c * harbour/contrib/rddsql/sddpg/pgsqldd.c * deleted empty or default SDD methods. They are inherited from NULL SDD now * harbour/contrib/rddsql/sddodbc/tests/test1.prg + added svn:keywords header * extended to show SQLMIX index features 2009-05-17 17:35 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/pp/ppcore.c + added new predefined macro __TIMESTAMP__ * harbour/source/vm/classes.c ! fixed compilation in MT mode and HB_HASH_MSG_ITEMS macro * harbour/source/compiler/compi18n.c * translate '\' in source code references in .pot files to '/' * harbour/contrib/rddsql/sddodbc/odbcdd.c * cleared non ANSI C initialization * harbour/include/hbmacro.h * harbour/source/vm/macro.c * harbour/include/hbexprb.c ! force memvar context to undeclared variables used with array index operator []. Clipper compatible behavior * harbour/contrib/hbwin/hbwinole.h * harbour/contrib/hbwin/olecore.c + added hb_oleItemPut() 2009-05-16 16:55 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/contrib/rddsql/hbrddsql.h + added field to connection structure to store database dependent data + harbour/contrib/rddsql/sddodbc + harbour/contrib/rddsql/sddodbc/Makefile + harbour/contrib/rddsql/sddodbc/sddodbc.c + harbour/contrib/rddsql/sddodbc/tests + harbour/contrib/rddsql/sddodbc/tests/sddodbc.hbp + harbour/contrib/rddsql/sddodbc/tests/test1.prg * harbour/contrib/rddsql/Makefile + implemented ODBC driver for RDDSQL * harbour/contrib/rddsql/tests/rddsql.hbp - harbour/contrib/rddsql/tests/test1.prg + harbour/contrib/rddsql/sddmy/tests + harbour/contrib/rddsql/sddmy/tests/sddmy.hbp + harbour/contrib/rddsql/sddmy/tests/test1.prg * moved sddmy tests to sddmy subfolder * harbour/contrib/rddsql/tests/rddsql.hbp * changed to use rddsql library only 2009-05-16 08:26 UTC+0200 Viktor Szakats * source/rtl/lang.c % Minor opt. 2009-05-16 08:05 UTC+0200 Viktor Szakats * source/rtl/tget.prg ! Fixed recent regression causing negative number to be handled wrongly on input. 2009-05-15 19:05 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fix to prev commit. ! Fix ignoring .po input without a language macro when checking .hbl dependencies. ! Cosmetic fix to some i18n related outputs. ! Fixed recent RTE when generating .hbl. 2009-05-15 17:41 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fixed incremental .hbl generation not using the whole list of .po's as input. 2009-05-15 17:03 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fixed -beep to work on all build failures. + Linking gtwin/trm/dos/os2 as non-default GT for -pause support (gtcgi doesn't support Inkey(0)). + Added -pause option to force a pause on exit in case of any error. This only works with alternate GTs above. ! Added missing -beep from help screen. 2009-05-15 15:22 UTC+0200 Viktor Szakats * source/rtl/hbi18n2.prg ! Minor fix to change dir separators to "/" so that there won't be multiple entries for the same file in mixed environments. (like: '#: src\file.prg:1022 src/file.prg:1022') 2009-05-15 13:15 UTC+0200 Viktor Szakats + utils/hbmk2/hbmk2.pt_BR.po * utils/hbmk2/hbmk2.hbm + Added Portuguese translation. Work of Vailton Renato. Thanks! ; NOTE: Quite some strings has changed since version, so the .po file by now needs an update from source plus some parts translated. * utils/hbmk2/hbmk2.hu_HU.po * utils/hbmk2/hbmk2.prg * Minor updates. 2009-05-15 13:02 UTC+0200 Viktor Szakats * INSTALL - Removed one unnecessary line from TROUBLESHOOTING. 2009-05-15 13:05 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/pp/hbpp.c ! fixed -q2 parameter in hbpp 2009-05-15 12:36 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg % Changed default way of updating .po files. New method supports incremental updates, thus much faster than previous solution. As a side-effect, removed from source and changed translatable strings won't automatically disappear from .po files. This new method is also much friendlier to version control systems, as .po entry order won't change on each minor update (and generate a huge commit diff). + Added -rebuildpo option to activate a complete rebuild of .po files, clearing all no more existing entries. This operation will take more time, will create big diffs and it's recommended to be done when doing a complete rebuild (maybe this will be automatically enforced later on). ; With this, hbmk2 seems feature complete. (maybe C++/C mode switching could be added yet, it's on the TODO list) * bin/hb-func.sh * Addition of libs= entry in hbmk.cfg file will now be initiated by setting envvar HB_USER_LIBS_DEF (was HB_USER_LIBS), to avoid potential binary build problems where locally set HB_USER_LIBS envvar could create an unusuable (on other systems) builds (hbmk2 setup). + contrib/rddsql/readme.txt + Added readme (posted on the list). Work of Mindaugas. 2009-05-15 12:03 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/rddads/ads1.c ! fixed typo in recent modification which caused that character fields at EOF position were not returned 2009-05-15 09:21 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Using HB_USERLANG() to detect language, so it now also works on Windows. + Added support for -lang= switch to override language. + Added support for HB_LANG envvar to override language. (this is the recommended method) * include/hbextern.ch * source/rtl/Makefile + source/rtl/lang.c + Added HB_USERLANG() function to retrieve ietf code of language set by user. Works also on Windows. * contrib/hbwin/win_misc.c * contrib/hbwin/wapi_winbase.c * contrib/hbwin/wapi_winuser.c * WAPI_*() functions moved to wapi_* files. + WAPI_GETPROCADDRESS() added. This is a pure wrapper to this Windows API. * contrib/hbwin/win_prn1.c * contrib/hbwin/win_prt.c % hb_parnl() -> hb_parni() where it was cast to int anyway. 2009-05-14 20:08 UTC+0200 Viktor Szakats * contrib/hbwin/legacy.c + Added old MESSAGEBOX() call. * contrib/hbwin/win_misc.c * WAPI_MESSAGEBOX() now accepts pointer only. + WAPI_LOADLIBRARY() added, pointer based only. + WAPI_FREELIBRARY() added, pointer based only. + WIN_N2P() added to convert numeric pointers to real pointers. + WIN_P2N() added to convert real pointers to numeric ones. I know this is a hack but it's IMO better than embedding the conversion logic to all functions, and makes it possible to "bridge" this parameter passing difference between existing apps/libs and our developing Windows API layer. So e.g. 3rd party app may switch to our new API, while keeping some parts of his local code intact by using: WAPI_MESSAGEBOX( WIN_N2P( MYWINFUNC_RETURNING_A_NUMHND() ), "hello", "world", MB_OK ) Later after doing local fixes this can be changed to: WAPI_MESSAGEBOX( MYWINFUNC_PROPER(), "hello", "world", MB_OK ) * contrib/hbwin/win_dll.c * Changed stub order for DLLLOAD()/LOADLIBRARY(), DLLUNLOAD()/FREELIBRARY(), so that it workd if XBase++ parts are disabled. 2009-05-14 19:20 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/hb-func.sh * respect HB_USER_LIBS creating hbmk.cfg * harbour/contrib/rddads/ads1.c ! fixed minimal record buffer size calculation ! fixed adsGetValue() method hacked to not report errors due to too small field buffer. Warning! Now ADS RDD will report any error as RTE if something wrong will happen in one of AdsGet*() function when field is read so it's possible that also some other hidden bugs will be exploited and you will see RTE. Please test it. 2009-05-14 19:01 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg * -shareable -> -fullshared/-fixshared + contrib/hbmysql/mysqlold.c * contrib/hbmysql/mysql.c * contrib/hbmysql/Makefile * Compatibility function names moved to separate file. + contrib/hbodbc/odbcold.c * contrib/hbodbc/odbc.c * contrib/hbodbc/Makefile * Compatibility function names moved to separate file. * contrib/hbwin/win_prt.c ! Applied fix submitted by Alex Strickland. Thank you. * contrib/hbwin/legacy.c * contrib/hbwin/win_dll.c * GETLASTERROR()/SETLASTERROR() moved to legacy.c. We have WAPI_GETLASTERROR()/WAPI_SETLASTERROR() and it's recommended to use them instead. + XBase++ compatible DLL handling functions marked with HB_COMPAT_XPP. ! DLLLOAD() changed back to return numeric pointer. This is required to stay compatible with XBase++. ; TODO: - Add C API to make DLL calls. [DONE] - Move CALLDLL*() functions to xhb lib. [DONE] - Add WAPI_LOADLIBRARY()/WAPI_FREELIBRARY()/WIN_GETPROCADDRESS() functions to replace current LOADLIBRARY()/FREELIBRARY()/GETPROCADDRESS() calls, fixing them to work on pointers only. [DONE] 2009-05-14 14:17 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added -shareable/-shareable- option to control the aspect of harbour.so absolute dir reference. It can override previous rule controlled by system location detection. See more in help. * Minor internal change to one of the functions. + source/rtl/hbzlibgz.c * source/rtl/hbzlib.c * source/rtl/Makefile % Split source into two, so unnecessary code parts won't be included in final binaries. 2009-05-14 12:18 UTC+0200 Viktor Szakats * contrib/hbwin/tests/testdll.prg * contrib/hbwin/win_dll.c + DLLPREPARECALL() will now accept pointer type as dll handle. + DLLLOAD() will now return pointer type, instead of numeric pointer. May be incompatible if the value is used outside the scope of hbwin lib. + DLLUNLOAD() will now accept pointer type for dll handle. + DLLUNLOAD() will now gracefully fail if non pointer or numeric param is passed. + DLLCALL() will now accept pointer type for dll handle. + GETPROCADDRESS() will now accept pointer type for dll handle. ; TODO: Remove compatibility with numeric pointers. [DONE] * contrib/hbwin/win_misc.c * WIN_SHELLEXECUTE() no longer accepts numeric pointers as optional first parameter. Use pointers instead. 2009-05-14 11:18 UTC+0200 Viktor Szakats * contrib/rddads/rddads.h ! Fixed version autodetection for ACE clients 9.00.0.7. Now 900 is detected, previously it was 910 (Sybase retrofitted some macros from 9.10 into this minor update.) 2009-05-14 10:55 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fixed regression causing -o not to work in -hbcmp mode. (bug introd in the compile/link phase split) + Added support for -o in -hbcmp mode for pocc compilers. + Added support for -o in -hbcmp mode for owatcom compilers. ; Please test. * contrib/rddads/rddads.h - Deleted some commented lines targeting compatibility with some now forgotten macros. 2009-05-14 08:56 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/rddads/ads1.c * re-enabled workaround code for wrong character field size returned by AdsGetFiled() for all ACE versions until we will not have good confirmation from Extended System that problem is fixed in some newer client versions. 2009-05-14 02:28 UTC+0200 Viktor Szakats * include/hbextern.ch * source/rtl/Makefile + source/rtl/tgethb.prg * source/rtl/tget.prg + HB_EXTENSION functionality (:hideInput() and :style()) moved from GET to a new derived class called HB_GET(). It means this functionality is available in default builds. Further extensions can be added to this class. 2009-05-14 02:00 UTC+0200 Viktor Szakats * include/hbextern.ch * contrib/xhb/hbcompat.ch * source/rtl/setkey.c + Added HB_SETKEY() which is similar to SETKEY() but contains 3rd parameter extension. Now this functionality is available for default Harbour builds under this new function name. + Added cross mappings for xhb SETKEY(). * source/rtl/setfunc.prg + F11/F12 key handling now protected with HB_C52_STRICT instead of HB_EXTENSION so it will available in default builds. - Other HB_EXTENSION protected feature deleted (allowing to assign non-string key sequences to F keys. This effect can easily be achieved with direct SETKEY() calls, so it wasn't an essential extension here. * source/rtl/hbffind.c + Internal HB_EXTENSION protected part enabled. - Deleted HB_EXTENSION dealing with Windows-specific attribute chars. Those needing this functionality can access it using C level API. * source/rtl/tpopup.prg * source/rtl/ttopbar.prg - Deleted minor (non Clipper-compatible) behaviour change in handling disabled menu items when HB_EXTENSION is enabled. ; Only remains few class extensions covered by HB_EXTENSION. Overall there is no reason anymore to use this macro. TODO: Solve these using inheritance. [DONE] 2009-05-14 01:47 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fixed very rare potential inconsistency between timestamp values. 2009-05-14 01:35 UTC+0200 Viktor Szakats * source/rtl/memoedit.prg ! Fixed infinite loop in code below (this was a long time problem): --- MemoEdit( "Please press F2 for infinite loop", 0, 0, MaxRow(), MaxCol(), .F., "FunCtr" ) FUNCTION FunCtr() RETURN 0 --- Patch provided by Xavi [jarabal]. Thank you. * contrib/hbwin/oleauto.prg * contrib/hbwin/olecore.c * Minor formatting. 2009-05-14 01:16 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/rddads/ads1.c * enable workaround code added in previous commit only for ACE 9.00. If other ACE clients need it too then please report them. Fernando reported that 9.10 is fixed. 2009-05-14 01:05 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fixed -map for msvc compilers. (regression since splitting compile/link phase) 2009-05-14 00:23 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/rddads/ads1.c ! added workaround for ACE bug: character fields longer then 23 bytes are increased by one byte when read by AdsGetField(). 2009-05-13 23:48 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/hvm.c ! fixed vary bad bug: possible complex variable corruption caused by missing hb_itemClear(). % minor optimization 2009-05-13 16:47 UTC+0200 Viktor Szakats * contrib/hbwin/Makefile + contrib/hbwin/legacy.c + Added deprecated compatibility wrappers: MESSAGEBOX(), ANSITOWIDE(), WIDETOANSI(), OLE2TXTERROR(). + Added deprecated compatibility wrapper TOLEAUTO for HB_OLEAUTO class. This is probably not enough as there are other remaining incompatibilities. ; TODO: users needing this please tweak it further. [DONE] + Added deprecated compatibility wrapper hb_oleWideToAnsi(), which now calls hb_mbtowc(). Not fully compatible for error cases, old one could return NULL in some cases. ; TODO: Switch to hb_mbntowc(). [SOLVED] + Added deprecated compatibility wrapper hb_oleAnsiToWide(), which now calls hb_wctomb(). Not fully compatible for error cases, old one could return NULL in some cases. ; TODO: Switch to hb_wcntomb(). [SOLVED] * contrib/hbwin/win_misc.c + Added WAPI_MESSAGEBOX() + Added WIN_ANSITOWIDE() (rewritten using common API. Please check.) + Added WIN_WIDETOANSI() (rewritten using common API. Please check.) ; NOTE: ANSI/WIDE conversions aren't 100% compatible for error situations and empty strings. Old version could return NIL in certain situations. ; None of these were tested besides successful compile. 2009-05-13 14:59 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/runner.c % optimized memory allocation for symbol tables used in loaded .hrb files to store whole symbol table with all symbol names in single memory block. It makes HVM cloned table structure synced with the one used by runner.c fixing possible static memory leak. 2009-05-13 14:48 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fixed to accept any kind of parameter with -runflag= switch. ! Fixed to not call hb_FSetAttr( ".hbmk", FC_HIDDEN ) for *nix systems. This creates inaccessible dirs for some reason. ! Fixed to not beep in -hbrun mode. 2009-05-13 08:30 UTC+0200 Viktor Szakats * contrib/hbwin/olecore.c % Using hb_retc_const() 2009-05-13 08:29 UTC+0200 Viktor Szakats * contrib/hbwin/Makefile ! Updated according to prev commit. 2009-05-13 08:10 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.hu_HU.po * utils/hbmk2/hbmk2.prg + Added -tshead=<file> option to create a .ch header with build timestamp information in it: _HBMK_BUILD_DATE, _HBMK_BUILD_TIME_, HB_BUILD_TIMESTAMP_. * -opt/-noopt -> -optim/-nooptim to avoid name ambiguity. + Added feature to -vcshead= to create a locally rolled build number if there is no version control system detected. In this case _HBMK_VCS_TYPE_ will be defined as "hbmk" and _HBMK_VCS_ID_ will be initialized with a string, starting with "1" and incremented on each hbmk2 call. * Internal change to componentize hbmk2 functionality, clearing away all STATIC vars and some parameter passing hacks. Work in progress, TODO added. ! Fixed cosmetic bug in debug output when making .po. * source/rtl/mlcfunc.c ! Fixed warning appeard in latest change. * source/rtl/trim.c * source/compiler/hbfunchk.c - Removed HB_EXTENSION protected second extended parameters from RTRIM() and ALLTRIM(). If you miss this option, please report it on the list, we may readd such functionality under some different name. INCOMPATIBLE for HB_EXTENSION builds. * doc/dirstruc.txt * bin/hb-func.sh * utils/hbmk2/examples/contribf.hbp - contrib/hbole * contrib/Makefile + contrib/hbwin/oleinit.c + contrib/hbwin/olecore.c + contrib/hbwin/hbwinole.h + contrib/hbwin/oleauto.prg + contrib/hbwin/tests/sample.odt * contrib/hbwin/tests/testole.prg - contrib/hbwin/win_tole.prg - contrib/hbwin/win_ole.c + contrib/examples/hboleold + contrib/examples/hboleold/tests + contrib/examples/hboleold/tests/testole.prg + contrib/examples/hboleold/win_tole.prg + contrib/examples/hboleold/win_ole.c + contrib/examples/hboleold/Makefile * Replaced old hbwin OLE implementation with new implementation in hbole. Thanks to Mindaugas Kavaliauskas for the new implementation. Those who need the old implementation in the meantime for any reason, can find it in contrib/example/hboleold. ; TODO: Fill the few missing features (ActiveX/FiveWin compatibility). [DONE] * ChangeLog * Marked two TODO/FIXME done. 2009-05-13 07:45 UTC+0200 Viktor Szakats * contrib/hbwin/win_prn2.c * contrib/hbwin/win_tprn.prg * contrib/hbwin/tests/testprn.prg * contrib/hbwin/win_prn1.c ! Trying to restore these files with their revision history, after recent removal. 2009-05-13 07:41 UTC+0200 Viktor Szakats * harbour-win-spec * harbour-wce-spec * bin/hb-func.sh * doc/dirstruc.txt * doc/whatsnew.txt - contrib/hbwinprn * contrib/Makefile * contrib/hbwin/Makefile + contrib/hbwin/win_prn1.c + contrib/hbwin/win_prn2.c + contrib/hbwin/win_tprn.prg + contrib/hbwin/tests/testprn.prg * utils/hbmk2/examples/hmg.hbp * utils/hbmk2/examples/fwh.hbp * utils/hbmk2/examples/contribf.hbp ! Undone undiscussed (worsened by recent mailing list problems) changes done in previous two commits. The direction in Harbour is that we try to gather all Windows specific functionality into one contrib (hbwin), if there is a fault or missing feature we fix it at the proper place (in this case in hbole) instead of splitting hbwin lib into pieces. ; FIXME: Refix deleted change history for "moved" files. [DONE] ; TODO: Move hbole to hbwin and fix missing OLE bits in hbwin. [DONE] * ChangeLog ! Fixed duplicated header in one of the entries after prev two commits. 2009-05-12 15:55 UTC-0500 Teo Fonrouge (teo/at/windtelsoft/dot/com) * ChangeLog ! Fixed header on ChangeLog 2009-05-12 15:49 UTC-0500 Teo Fonrouge (teo/at/windtelsoft/dot/com) + contrib/hbwinprn + contrib/hbwinprn/Makefile + contrib/hbwinprn/tests + contrib/hbwinprn/tests/hbwinprn.hbp + contrib/hbwinprn/tests/testprn.prg + contrib/hbwinprn/win_prn1.c + contrib/hbwinprn/win_prn2.c + contrib/hbwinprn/win_tprn.prg - contrib/hbwin/tests/testprn.prg - contrib/hbwin/win_prn1.c - contrib/hbwin/win_prn2.c - contrib/hbwin/win_tprn.prg * bin/hb-func.sh * contrib/hbwin/Makefile * contrib/Makefile * doc/dirstruc.txt * doc/whatsnew.txt * harbour-wce-spec * harbour-win-spec * utils/hbmk2/examples/contribf.hbp * utils/hbmk2/examples/fwh.hbp * utils/hbmk2/examples/hmg.hbp * WIN_PRN windows printing class moved out of "hbwin" lib to a new "hbwinprn" lib 2009-05-12 18:14 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fixed not recognizing -incpath/-inctrypath ! Removed prioritizing own C compiler when detecting C compiler. This resulted in msvc64 not being recognized when using an MSVC build of hbmk2. + Added -instpath= option to specifiy dirs where target gets copied after a successful build. 2009-05-12 18:05 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/filesys.c + added support for millisecond precision in hb_fsGetFileTime()/ hb_fsSetFileTime() in Linux builds. Please note that file time precision depends also on used file system and Linux kernel so it does not have to work in all cases. 2009-05-12 16:10 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added -hbrun option which will run the target without trying to build it. If target is missing, the command will fail. + -run/-hbrun options will now run GUI target executable using 'start' command on Windows platforms so that hbmk2 will return and leave the app running. * include/hbextern.ch + Added HB_GZPUTC(). * include/hbsetup.ch - Removed HB_EXTENSION from documented list of build modifier macros. * source/common/hbverdsp.c - Deleted HB_EXTENSION dependent part. * source/rtl/mlcfunc.c - Deleted HB_EXTENSION branch. Please modify your program to use Set( _SET_EOL ) instead of passing EOLs explicitly to memo functions. This works also in xhb. INCOMPATIBLE for HB_EXTENSION builds. * source/rtl/alert.prg ! Minor in comment. * source/rtl/saverest.c - Removed SAVESCREEN()/RESTSCREEN() extra "lNoCheck" parameter when HB_EXTENSION is enabled. Please report on the list if you need this functionality. INCOMPATIBLE for HB_EXTENSION builds. * source/compiler/hbfunchk.c ! Fix to prev: AT() declaration. ; TODO: Clean rest of HB_EXTENSION stuff. [DONE] 2009-05-12 15:48 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/hbzlib.c + added HB_GZPUTC( <pGZipStream>, <nByte> ) => <nResult> 2009-05-12 10:37 UTC+0200 Viktor Szakats * contrib/xhb/hbcompat.ch + Added HB_GETENV() <-> GETENV() conversions. + Added MEMOWRIT() translation for xhb sources. * source/rtl/at.c * source/rtl/gete.c * source/rtl/memofile.c - Deleted HB_EXTENSION branches. Users of extended GETENV(), GETE(), AT() and MEMOWRIT() functionality will have to use hbcompat.ch to stay compatible with xhb. INCOMPATIBLE change for those who enabled HB_EXTENSION in Harbour. Hopefully xhb will implement HB_AT() and HB_GETENV() in the future so hbcompat.ch will become unnecessary. * include/hbextern.ch + source/rtl/radiobhb.prg * source/rtl/radiobtn.prg * RADIOBUTTON() Harbour extension moved to a separate file to cause no harm for programs defining this function locally. At the same time, HB_EXTENSION protection got removed so it can be accessed in default builds as a RADIOBUTTO() alternative. 2009-05-12 09:25 UTC+0200 Viktor Szakats * doc/cmdline.txt * doc/howtosvn.txt + Added CC copyright. * source/rtl/alert.prg * include/hbextern.ch + HB_ALERT(). Now this function holds all extended features: nDelay support and any type for first parameter. * ALERT() now behaves completely along Clipper version, without extensions. HB_EXTENSION no longer modifies its behaviour, so if someone needs these extended features, there is no need to build with HB_EXTENSION, only ALERT() calls have to be converted to HB_ALERT(). INCOMPATIBLE (in some scenarios). * contrib/hbtip/utils.c % TIP_TIMESTAMP() code cleaned to remove redundancy of having two full distinct copies of this function. Now platform independent parts are kept common. ! TIP_TIMESTAMP() fixed hb_parl() to hb_parnl() for 'hours' parameter. I wonder how this bug wasn't noticed till now. Please someone test, maybe I'm missing the point of this parameter, but it's unlikely the intent was a logical value as it's later converted to timestamp. * contrib/hbtip/thtml.prg * contrib/hbtip/sendmail.prg * contrib/hbtip/httpcln.prg * contrib/hbtip/ftpcln.prg * END -> END* * Minor formatting. * contrib/hbtip/base64x.c * contrib/hbtip/smtpcln.prg * Formatted. * Minor optimizations (File() -> hb_FileExists(), ::AuthPlain() simplification). % BUILDUSERPASSSTRING() rewritten in Harbour. It's a very simple function. 2009-05-12 01:13 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added -beep/nobeep/beep- options to enable beep signal when build is finished. In case of error a double beep will be heard. * INSTALL * Minor formatting. 2009-05-11 21:21 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/compiler/gencc.c ! added missing HB_GENC_LABEL() call in hb_p_pushtimestamp 2009-05-11 14:43 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbexprop.h * harbour/include/hbexprb.c * harbour/source/common/expropt2.c + added compile time optimization for hb_stot() function 2009-05-11 14:00 UTC+0200 Viktor Szakats * INSTALL + Added TROUBLESHOOTING section. Contains only obvious, yet missed information. + Added few words about HB_DIR* envvar. * external/libpng/LICENSE * external/libpng/pngerror.c * external/libpng/pngrio.c * external/libpng/pngconf.h * external/libpng/pngset.c * external/libpng/pngwio.c * external/libpng/pngrutil.c * external/libpng/pngwutil.c * external/libpng/pngread.c * external/libpng/pngmem.c * external/libpng/png.c * external/libpng/pngtest.c * external/libpng/png.h * external/libpng/pngrtran.c * external/libpng/link.txt * Updated libpng to 1.2.36 (from 1.2.35) 2009-05-11 13:00 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rdd/workarea.c * formatting * harbour/source/vm/Makefile * minor cleanup * harbour/config/dir.cf ! added protection against double build call when -j<n> is used in install phase 2009-05-08 14:53 UTC+0200 Viktor Szakats * source/rtl/tget.prg * source/rtl/tclass.prg * hb_SToT( "" ) -> hb_SToT(). * contrib/hbodbc/odbc.c + Added copyright, after extensive cleanup/fixing work. * ISCHAR() protected hb_parcx() calls changed to hb_parc(). * contrib/hbole/tests/testole.prg * Checking for object creation in ADO example. * contrib/rddado/adordd.prg * Minor formatting. 2009-05-08 14:35 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/Makefile * respect HB_HVM_ALL user settings ! export HB_HVM_ALL value set automatically - otherwise it's not seen when HBVMMT is compiled * harbour/source/vm/classes.c * exteneded :classsel() build in method to repsect scope given as 2nd parameter and return extended information compatible with :ClassFullSel() implemented in xHarbour by Francesco Saverio Giudice. This extended info is returned when 3rd parameter is .T. * harbour/source/rtl/dateshb.c * do not generate RTE on wrong params in HB_STOT() function * harbour/contrib/xhb/xhbfunc.c + added hacked function which allows to send messages without respecting scope. It works only for the most visible data and does not support any automatic casting. * harbour/contrib/xhb/dumpvar.prg ! fixed HB_DumpVar() results on platforms where CRLF has different length then 2 % small improve in hash item presentation + added __objGetMsgFullList() and __objGetValueFullList() as static functions. Code borrowed form xHarbour by Francesco Saverio Giudice. * make HB_DumpVar() working with object values. 2009-05-08 10:14 UTC+0200 Viktor Szakats * source/rtl/tclass.prg ! Fix to prev commit. * contrib/hbole/tests/testole.prg + Added ADODB example. Submitted by Enrico Maria Giordano. 2009-05-08 09:30 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fixed to not attempt cycling through all specified languages if target .po or .hbl filename doesn't contain a language macro. ! Fixed to strip encoding from LANG value. * Some changes to modularize language/encoding detection. (work in progress) 2009-05-08 07:48 UTC+0200 Viktor Szakats * source/rtl/tclass.prg % All loops optimized to use FOR EACH. 2009-05-08 07:33 UTC+0200 Viktor Szakats * source/rtl/tclass.prg * source/rtl/treport.prg * source/rtl/tpersist.prg + Added support for TIMESTAMP types. * source/rtl/tclass.prg % Using SWITCH in AddData()/AddClassData(). 2009-05-08 01:36 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/xhb/stream.prg ! disabled call to HB_IsByRef(). Such function does not exist in Harbour and in current xHarbour it does not work. * harbour/contrib/xhb/hbserv.c ! removed some peaces of not working old code which used pHVMFuncService. With some calling convention this code can cause application crash on exit in xHarbour so it should be fixed there too. * harbour/contrib/xhb/regexrpl.prg ! use HB_ISREGEX() instead of xHarbour only HB_ISREGEXSTRING() * harbour/contrib/xhb/xhbfunc.c + added xHarbour compatible HB_CREATELEN8() and HB_GETLEN8() functions. They save/restore 64-bit signed integers in/from 8 bytes strings. In Clipper terminology they can be called: LL2BIN()/BIN2LL(). Original xHarbour version of HB_CREATELEN8() and HB_GETLEN8() were implemented by Giancarlo Niccolai. 2009-05-07 19:59 UTC+0200 Viktor Szakats * source/rtl/tget.prg ! Fixed to check for ::cType != NIL before each SWITCH ::cType statements. Thanks to Przemek for pointing it out. * source/rtl/alert.prg % Using hb_CStr() in extended mode. Also thanks to Przemek. % Some minor opt. 2009-05-07 16:52 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbcompdf.h * harbour/source/compiler/harbour.y * harbour/source/compiler/harbour.yyc + added compile time optimization for switch statements with constant values, i.e. for code like: proc main() local x := 0 switch 3 case 1; x += 100; exit case 2; x += 200 case 3; x += 300 case 4; x += 400; exit case 5; x += 505; exit case 6; x += 606 otherwise; x += 1000 endswitch ? x return 2009-05-07 15:28 UTC+0200 Viktor Szakats * source/rtl/alert.prg + Added TIMESTAMP support for Alert() (extended mode only) * contrib/xhb/dumpvar.prg ! Fixed hash function name. 2009-05-07 12:13 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/debug/dbgwa.prg ! Guard against recursive debugger activation when a user callback containing debug info is implicitly called from the debugger's workarea browser. By Phil Krylov borrowed from xHarbour. 2009-05-07 08:55 UTC+0200 Viktor Szakats * source/rtl/tget.prg + Added TIMESTAMP support for GETs. % Optimizations using SWITCH and FOR EACH. 2009-05-07 08:16 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg * utils/hbmk2/hbmk2.hu_HU.po % LoadPOTFiles() loop optimized. (debug condition removed, initializing aTrans manually, moved one assigment.) * Tweaked a few message texts. + Added support for xhb compatible platform macros. 2009-05-06 21:35 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg % Applied __I18N_potArrayJoin() tweak to embedded LoadPOTFiles() function. This hugely boosts .pot merge performance for large number of these files. 2009-05-06 21:00 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/mpkg_deb.sh * accept also slang1 for GTSLN 2009-05-06 20:40 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/utils/hbi18n/hbi18n.prg % added support for optional reusing hIndex table in repeated calls to __I18N_potArrayJoin() with the same aTrans array. * harbour/source/rtl/hbi18n2.prg % reuse hIndex table in repeated calls to __I18N_potArrayJoin() 2009-05-06 20:14 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg * utils/hbmk2/hbmk2.hu_HU.po % Optimize to do only one .pot -> .po merge per session (was one merge per target language) + Added screen feedback for .po/.hbl related operations. % Don't do .po rebuild if no source file has changed. 2009-05-06 19:10 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/contrib/hbole/olecore.c ! fixed assign method return value * modified hb_oleVariantToItem() to save stack's return item 2009-05-06 16:05 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/contrib/rddsql/sqlbase.c ! fixed double memory freeing and GPF. Thanks valgrind! 2009-05-06 14:45 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Further fixes to .po file handling functionality after real life testing. What needs to be handled gracefully is that it's perfectly normal that a file doesn't have a .pot file generated (when the source doesn't have any translatable texts). Unfortunately this situation adds some hard-to-detect problems which can in turn cause .po translations to be lost. Since the only current way to detect if translatable texts exist is to check for the .pot file, if a .pot file is missing for other reasons (manual deletion, corruption) hbmk will take it normally and remove related translations from .po files. I don't know what could be a good solution to this problem. The other issue is scalability: Since there is no way to update .po files with only partial .pot information (coming from recompiled sources in that build session), each build session has to do a full .pot merge and update (for all languages). This is slow, if you have some idea how to make this incremental, please speak up. Probably we should reverse the logic and take the .po file (containing translations) as a base, and add new pairs from _available_ .pots. Pair removal (IOW cleanup) should be an option, done periodically (before release), but not something happening in each build session. This would also solve the problem of retaining old translations, since they will stay there until we specifically ask the system to remove them. Maybe that's what we should do. Przemek, what do you think? 2009-05-06 13:14 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/blob.ch ! fixed minor typo * harbour/source/rdd/dbffpt/dbffpt1.c ! fixed two bugs in garbage collector. One of them was critical and could cause FPT or DBV file corruption when memoblock size was smaller then 8 bytes. Thanks to Mike Evans for self contain example. 2009-05-06 10:50 UTC+0200 Viktor Szakats * include/hbexprb.c + Allowing user defined 'gettext' functions to be used under the names hb_i18n_gettext[_strict|_noop]_*(), where * is a function name postfix. 2009-05-06 09:18 UTC+0200 Viktor Szakats * source/vm/Makefile ! Disabled HB_HVM_ALL for owatcom/win compiler. It takes *very* long time to compile hvmall.c (Reported by Marek Horodyski). Please make tests on other platforms whether it does the same. 2009-05-06 09:07 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg * utils/hbmk2/hbmk2.hbm - utils/hbmk2/hbmk2.hu_HU.pot + utils/hbmk2/hbmk2.hu_HU.po * Changed hbmk to use official gettext terminology, where .pot refers to raw extracted translation file, .po refers to merged .pot files which holds the actual translations. hbmk switch names and extensions changed accordingly. ! Fixes to .po from .pot generation support. 2009-05-06 00:20 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fixed -pot= option mentioned in prev entry. ! -pot= refinement to handle missing source .pots (which is normal). Also added/fixed some lng related debug options. ! Remaining debug texts made non-translatable. ; NOTE: It's now possible to handle all aspect of translation files using hbmk2 alone. (extraction from source -> creation of unified translation file -> merging this file with previous version retaining existing translations -> creation of .hbl file from .pots) 2009-05-05 19:52 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg * utils/hbmk2/hbmk2.hu_HU.pot + Added new -pot= switch with which it's possible to create one .pot file for the whole project. When this switch is used, Harbour compiler will be run with -j parameter so that .pot files will be generated. hbmk will take care of preserving existing translations. This changes contains parts taken from hbi18n, work of Przemek, copyright retained. ; FIXME: For some reason update of existing .pot file with new one doesn't work. It's probably something obvious but I cannot see what. [DONE] 2009-05-04 19:40 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/contrib/rddsql/sddmy/mysqldd.c * harbour/contrib/rddsql/sddpg/pgsqldd.c * added protection against double resource freeing 2009-05-05 18:09 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/utils/hbi18n/hbi18n.prg * expand wildcards in given file names on non *nix like platforms 2009-05-05 08:54 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtqtc/gtqtc.cpp * harbour/contrib/gtwvg/tests/demoxbp.prg ! Minor formattings. 2009-05-05 17:28 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Further fixes to texts. + Added hb_cdpSelect() call as provision. Also included a few CPs in executable. * utils/hbmk2/hbmk2.hu_HU.pot + Finished HU translation (probably it could be tweak with regards to terminology). 2009-05-05 17:19 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/ChangeLog * generate .pot files when -j is used with -s switch just like .ppo are created when with -p is used with -s 2009-05-05 17:05 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbcomp.h * harbour/source/compiler/hbmain.c * harbour/source/compiler/hbcomp.c * harbour/source/compiler/compi18n.c * changed -j<path>/ and -j<file> behavior when more the one .prg file is compiled. Now when <path>/ is used then it's respected by all compiler .prg modules. When <file> is used then only single .pot file is generated but it contains i18n entries from all compiled .prg modules. * generate .pot files when -j is used with -s switch just like .ppo are created when with -p is used with -s * harbour/ChangeLog + added two thanks notes, one to Miguel and using HeapAlloc() and second to Walter Negro for his DATETIME work in xHarbour what gives valuable test platform for Harbour and was important inspiration for Harbour TIMESTAMP implementation. 2009-05-04 17:52 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtwvg/gtwvg.h * harbour/contrib/gtwvg/hbgtwvg.ch * harbour/contrib/gtwvg/gtwvg.c * harbour/contrib/gtwvg/wvgcore.c * harbour/contrib/gtwvg/wvgcuig.c * harbour/contrib/gtwvg/wvgcrt.prg ! Fixed many artifacts. Probbaly it is difficult to jot down all. 2009-05-05 03:10 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Minor fixes to texts. * utils/hbmk2/hbmk2.hu_HU.pot + Continued HU translation. 2009-05-05 00:25 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/hbi18n2.prg + added new Harbour internal i18n functions: __I18N_POTARRAYTRANS() and __I18N_HASHJOIN() * harbour/utils/hbi18n/hbi18n.prg + added new switch to hb18n tool: -a add automatic translations to 1st .pot file using translations from other .pot or .hbl files 2009-05-04 18:16 UTC+0200 Viktor Szakats * contrib/hbole/tests/testole.prg + Readded CDO and OO open examples (working). * utils/hbmk2/hbmk2.hbm + Added .hbl file generation. * utils/hbmk2/hbmk2.prg + Added translator info to banner. ! Minor fix to not display job # if single-threaded compilation is done. (Thanks for __enumBase() trick to Przemek) * Some steps to better support xhb shared mode (untested). + Added filter support for .prg and .c/.cpp input files. (This also means that input files with '{' '}' char pairs in them aren't supported anymore). ! Minor terminology fix in one of the rare error messages. ; TODO: ? Adding GNU Make support to .pot -> .hbl generation, plus we'd also need to develop a common rule for naming and placement for these translation files. Current hbmk2 method cannot be considered final. + utils/hbmk2/hbmk2.hu_HU.pot + Added Hungarian translation (not complete/final yet). 2009-05-04 17:40 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/contrib/hbole/oleauto.prg * harbour/contrib/hbole/olecore.c * added runtime error on descend FOR EACH ICollection enumeration * added a few more runtime errors * fixed reference counter managament if OLE object is used as parameter for another OLE function call + implemented array parameter support TODO/TOCHECK: multidimentional array support * harbour/contrib/hbole/tests/testole.prg * changed test to work with current hbole library + added new OppenOffice tests 2009-05-04 16:45 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/include/hbexprb.h * suppressed warning for hb_i18n_gettext("") 2009-05-04 10:00 UTC+0100 Miguel Angel Marchuet <miguelangel@marchuet.net> * contrib/hbbmcdx/bmdbfcdx.c * contrib/hbbmcdx/hbbmcdx.h * Synchronized with current dbfcdx. 2009-05-03 15:44 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg * Translation improvements. ! Fixed some strings not marked as translatable. + Added CVS detection (not much use, but anyway). ; Pls regerenate .pot files. 2009-05-03 10:28 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added experimental and partial support to build using/for xhb. This is to help some 3rd party lib developers who'd like to target both compilers. Some aspects of xhb support aren't working or working slightly differently: Default Harbour switch is -n instead of -n2 which isn't supported in xhb. Everything related to dll handling won't currently work. Cross-compiling won't work either due to at least differences in __PLATFORM__ macros. Anyway, play with it and tweak the source if needed. I hope we can add support without adding too much hacks into hbmk2 source, if however we need to bend logic too far, I'd rather leave those problematic parts of to keep the code maintainable. E.g. xhb compatible COMP/ARCH values aren't supported and I don't plan to add them. Enable support by renaming hbmk2 to have an 'x' prefix: xhbmk2, or use -xhb command line switch. The only intent is be able to use hbmk2 to build binaries from sources using xhb compiler and libs. Also notice that I've made just very light tests only with bcc55 compiler. [ notice: xhb support doesn't mean you can compile hbmk2 with xhb. This wasn't intented or planned. ] * utils/hbmk2/examples/contribf.hbp ! Fixes. 2009-05-02 22:09 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg * Cleanup: Added few internal constants. * Cleanup: Some debug strings marked as non-translatable. + Help screen forming changed to be friendly to translators. Please update .pot files. 2009-05-02 12:10 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg * Minor cleanups. (func/proc scopes) 2009-05-02 12:05 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added multilanguage support. Now LC_ALL, LC_MESSAGES and LANG envvar will be checked for language ID and loading of translation will be attempted from <hbmkdir>hbmk2.<lang>.hbl file (not final name yet). You can compile such .hbl file by using command: $ hbi18n -g -ohbmk2.<lang>.hbl hbmk2.<lang>.pot You can create .pot using this command: $ ..\..\bin\harbour hbmk2.prg /jhbmk2-<lang>.pot /i..\..\include Where <lang> is preferable the std ISO language ID, like: pt_BR. 2009-05-02 10:52 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Minor s&r error in help text. 2009-05-01 20:12 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! hbmk2 -> hbmk 2009-05-01 20:09 UTC+0200 Viktor Szakats * ChangeLog ! Typo in old i18n entry. * utils/hbmk2/hbmk2.prg * Formatting. * contrib/xhb/hbcompat.ch + Added i18n() compatibility translation. 2009-05-01 16:12 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Changed all output texts to translatable format, using hb_StrFormat(). + Added hb_i18n_gettext() to all translatable texts, so now it's possible to create a .pot file. It's not yet perfect for the help text yet. 2009-05-01 14:53 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added MT support for rest of C compilers (gcc, pocc). Please test. MT support is now complete, maybe in the future it can be added for resource compiling if that's a bottleneck for some users. 2009-05-01 13:17 UTC+0200 Viktor Szakats * bin/postinst.bat + Added generation of libpq.lib from .dll for msvc. (not tested) + Added generation of QT implibs for msvc. (not tested) + Copying QT implibs for mingw. * source/common/hbverdsp.c ! Minor in comment. * utils/hbmk2/hbmk2.prg + Added MT support for C compilation phase. Single input compilers aren't covered yet (gcc, pocc). + Added -debugtime internal option to measure running time. 2009-04-30 15:25 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/utils/hbmk2/Makefile ! do not use hbvmmt on platforms which does not support MT 2009-04-30 13:11 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added -vcshead=<file[.ch]> option. This will generate a header with local repository information: type of repository and unique ID (in case of SVN this is the revision number). 2009-04-30 10:55 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg * utils/hbmk2/hbmk2.hbm * utils/hbmk2/Makefile + Added experimental support for multithreaded compilation. Enable with -jobs=<x>. Currently Harbour compilation phase supports MT. If it works out well and details are polished, the same can be implemented for C/resource compilation phases, too. I'd appreciate of someone with MT experiences could review current code and spot bugs/problems with it before I go any further. * Changed to build hbmk2 in MT mode. 2009-04-30 09:43 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added repository ID retrieval function. Currently supports SVN, Git and Mercurial. Not yet activated. 2009-04-30 01:03 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/compiler/hbdbginf.c ! generate debugger break point line info also for very large blocks (HB_P_PUSHBLOCKLARGE) 2009-04-29 20:26 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Refixed -map option for *nix non-darwin systems. Well, at least for Linux. 2009-04-29 19:44 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added support for macros in -l options. 2009-04-29 19:37 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Readded -map support for *nixes. ! Changed -strip support for darwin to use separate strip command. + .hbmk dir is now set hidden. + Target name is displayed on screen. * ChangeLog - Removed one empty line from license header after last commit. (Przemek pls update your script to reflect that) 2009-04-29 19:27 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/compiler/genc.c ! respect \ escaping in C strings when #pragma dump C code is scanned for static Harbour functions 2009-04-29 15:57 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/ChangeLog * corrected automatically added ChangeLog entry in my last commit to respect new information in ChangeLog header added by Viktor. 2009-04-29 14:50 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbexprb.c ! modified := optimization to keep alive original LValue name used in the assign expression. It fixes FOR / NEXT loops which in which such optimized expression were used, e.g.: FOR n := n + 1 TO 10; ? n; next In fact it's only workaround for potentially bigger problem with multiple references to single expression which we probably have to resolve if we extend the compiler to not generate PCODE online for each compiled statement but only after preprocessing and optimizing at least whole function or procedure. 2009-04-29 13:11 UTC+0200 Viktor Szakats * contrib/hbqt/generator/hbqtgen.prg * contrib/hbqt/hbqt.h * contrib/gtqtc/gtqtc.h * contrib/gtqtc/Makefile ! Fixed to use no dir when including qglobal.h. This fixes darwin compile error. * utils/hbmk2/hbmk2.prg ! Fixed static lib output extension for rest of compilers (*nix/gcc). ! Fixed 'lib' prefix handling for static lib output names when dir was present in the name. * Now -inc files will be put into .hbmk/* dirs. ! Disabled -map option for *nix gcc as it doesn't seem supported (probably isn't needed on these platforms anyway). % Cleaned code redundancy in forming output names. ; FIXME: gcc/darwin complains that -s switch is obsolete and being ignored. [DONE] 2009-04-29 11:16 UTC+0200 Viktor Szakats * contrib/xhb/dbgfxc.c + Using hb_vsnprintf() instead of C RTL vsnprintf(). Not tested, but this should be a plugin replacement. 2009-04-29 00:49 UTC+0200 Viktor Szakats * COPYING + Added Creative Commons Attribution-ShareAlike 3.0 Unported (CC-by-sa) license section. To be used for misc text, documentation and typically everything which isn't source/program code. Currently these files (in part or whole) are covered by this license: INSTALL ChangeLog doc/whatsnew.txt ; TODO: If this works out well, IMO we should apply this license to all non-code parts of our repository. /doc, /man sections and some files in the root specifically. We can also cover the homepage content with this license. * INSTALL + Added CC-by-sa license. * doc/whatsnew.txt * ChangeLog + Added CC-by-sa license. I've covered all my past entries with this license, besides these, only the new entries will fall under the license. * contrib/hbblat/blatwrp.c ! Fixed extern declaration to work in C++ mode. * source/lang/msgtrwin.c * source/lang/msgtr857.c ! Typos in comments. * source/vm/set.c + Added copyright for few functions (hb_osEncode()/hb_osDecode()). * utils/hbmk2/hbmk2.prg ! Fixed RTE in Harbour-only (-gh) mode. 2009-04-28 23:54 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbole/olecore.c * pacified some GCC warnings 2009-04-28 23:13 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rdd/dbf1.c ! casting 2009-04-28 21:43 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/rddads/ads1.c ! fixed two typos in last modification - thanks for the info to Mindaugas and Rossine. 2009-04-28 19:45 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/ChangeLog * removed TOVERIFY note - Viktor checked it. * harbour/contrib/hbct/ctwin.c ! redraw windows after each WCENTER() call * harbour/contrib/rddads/ads1.c + added support for ADS_VARCHAR_FOX and ADS_VARBINARY_FOX fields in ADS_VFP tables * harbour/include/dbinfo.ch * harbour/include/hbrdddbf.h * harbour/include/hbrddcdx.h * harbour/include/hbrddnsx.h * harbour/include/hbrddntx.h * harbour/source/rdd/dbf1.c * harbour/source/rdd/workarea.c + added support for VFP tables with VARCHAR and VARBINARY fields + added support for VFP tables with NULLABLE fields + added new dbFieldInfo() action to check if given field is NULL, e.g.: ? dbFieldInfo( DBS_ISNULL, FieldPos( <cFieldName> ) ) The above modifications were not tested with real VFP files. I do not have VFP. VFP users should make some real life tests with tables created by VFP. 2009-04-27 19:17 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/rddads/ads1.c ! fixed very bad bug in code compiled for ADS_LIB_VERSION < 600 in ANSI<->OEM translations - the HVM item value was overloaded with translation results + added direct support for ADS_TIME, ADS_TIMESTAMP and ADS_MODTIME fields and HVM TIMESTAMP values in field get/put operations, seek and scopes. Warning! Support for timestamp values in VFP tables is limited and does not fully respect whole Harbour timestamp arithmetic, e.g. timestamp values read from index keys are rounded to whole seconds or setting scopes to data values on timestamp indexes does not work like in native RDDs or in ADT tables. To ADS users: please make some real life tests and report problems if any. 2009-04-27 08:59 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtqtc/gtqtc.cpp ! Fixed a very important issue of focussing. Now F3 and F4 correctly set the focus to window in question. The flickering cannot be avoided as QT hides the window before setting the flags until I come up with another way. 2009-04-26 22:14 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/hbqt/generator/hbqtgen.prg * harbour/contrib/hbqt/generator/qt45.qtp * harbour/contrib/hbqt/hbqt.h * harbour/contrib/hbqt/Makefile_gen + harbour/contrib/hbqt/hbqt_qtextcodec.cpp + harbour/contrib/hbqt/hbqt_qtextencoder.cpp + harbour/contrib/hbqt/hbqt_qtextfragment.cpp + harbour/contrib/hbqt/hbqt_qtextframe.cpp + harbour/contrib/hbqt/hbqt_qtextframeformat.cpp + harbour/contrib/hbqt/hbqt_qtextimageformat.cpp + harbour/contrib/hbqt/hbqt_qtextinlineobject.cpp + harbour/contrib/hbqt/hbqt_qtextitem.cpp + harbour/contrib/hbqt/hbqt_qtextlayout.cpp + harbour/contrib/hbqt/hbqt_qtextlength.cpp + harbour/contrib/hbqt/hbqt_qtextline.cpp + harbour/contrib/hbqt/TQTextCodec.prg + harbour/contrib/hbqt/TQTextEncoder.prg + harbour/contrib/hbqt/TQTextFragment.prg + harbour/contrib/hbqt/TQTextFrame.prg + harbour/contrib/hbqt/TQTextFrameFormat.prg + harbour/contrib/hbqt/TQTextImageFormat.prg + harbour/contrib/hbqt/TQTextInlineObject.prg + harbour/contrib/hbqt/TQTextItem.prg + harbour/contrib/hbqt/TQTextLayout.prg + harbour/contrib/hbqt/TQTextLength.prg + harbour/contrib/hbqt/TQTextLine.prg + harbour/contrib/hbqt/qth/QTextCodec.qth + harbour/contrib/hbqt/qth/QTextEncoder.qth + harbour/contrib/hbqt/qth/QTextFragment.qth + harbour/contrib/hbqt/qth/QTextFrame.qth + harbour/contrib/hbqt/qth/QTextFrameFormat.qth + harbour/contrib/hbqt/qth/QTextImageFormat.qth + harbour/contrib/hbqt/qth/QTextInlineObject.qth + harbour/contrib/hbqt/qth/QTextItem.qth + harbour/contrib/hbqt/qth/QTextLayout.qth + harbour/contrib/hbqt/qth/QTextLength.qth + harbour/contrib/hbqt/qth/QTextLine.qth + Added more classes. 2009-04-26 18:43 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtqtc/gtqtc.cpp * harbour/contrib/gtqtc/tests/wvtext.cpp + Implemented all BOX characters including B_THIN and B_FAT. B_THIN protocol respects the aspect ratio means half column characters are exactly of size column width. /* Press F9 to view all box types. */ 2009-04-26 11:17 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtqtc/gtqtc.cpp * harbour/contrib/gtqtc/moc_gtqtc.cpp * harbour/contrib/gtqtc/gtqtc.h * harbour/contrib/gtqtc/tests/wvtext.cpp + Implemented destructors. Now opening/closing new windows release memory properly. There is a small leakage remains yet, about 40 kB per window, but I am not been able to figure out what action causes it. May be in future... ! Optimized "Mark & Copy" operation. Now previous buffer is used instead of creating a new image. ! "Mark & Copy" operation now do not generate INKEY() events. Important until we find a solution via SysMenu. /* So far I did not receive any input from anybody. Does it mean this project do carry little importance to be pushed forward ? */ 2009-04-25 20:33 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtqtc/gtqtc.cpp * harbour/contrib/gtqtc/gtqtc.h + Implemented "Mark & Copy" operation. Just drag the mouse while left button is pressed. I could not access SysMenu to initiate this operation as is implemented in GTWVG but still it is a much needed feature to have it. 2009-04-25 15:47 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtqtc/gtqtc.cpp * harbour/contrib/gtqtc/gtqtc.h ! Formatting per Harbour standards. 2009-04-25 11:05 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtqtc/gtqtc.cpp + Implemented Box Characters B_DOUBLE_SINGLE. * harbour/contrib/gtqtc/tests/wvtext.prg + <F9 Boxes>. 2009-04-25 08:46 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtqtc/gtqtc.cpp * harbour/contrib/gtqtc/gtqtc.h + Implemented Box Characters independant of fonts and OS. At this moment only B_SINGLE. This feature relies on the DispBox()* functions which sets the attributes in GT. Final goal should be recognizing Box characters from the char itself, but it may be trivival to handle as Harbour must be heading for UNICODE. Przemek, your attention to this fact is requested. * harbour/contrib/gtqtc/tests/wvtext.prg ! Tweaked for inkey( 0.1 ). No more GPFs now. Play freely. 2009-04-25 10:51 UTC+0200 Viktor Szakats * ChangeLog + Added "inspired by" text for hb_retc*_buffer() functions' old ChangeLog entry. 2009-04-25 10:24 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/compiler/complex.c ! fixed bug reported by Ranier * harbour/ChangeLog * added information to old ChangeLog entry that the idea of parsing the code inside #pragma begindump to detect static harbour functions in C code inside was 1st time implemented by Andi Jahja in xHarbour. 2009-04-25 02:05 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/contrib/hbole/olecore.c ! fixed OleCreateObject(), OleGetActiveObject() return value 2009-04-24 15:41 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtqtc/gtqtc.cpp * harbour/contrib/gtqtc/gtqtc.h * harbour/contrib/gtqtc/moc_gtqtc.cpp * harbour/contrib/gtqtc/tests/wvtext.prg ! Code cleanup. ! Adopted KDE's calss variable naming convention. Class variables now begin with "_" (underscore character). Please follow this convention strictly. + IMPLEMENTED : hb_gtInfo( HB_GTI_RESIZEMODE, HB_GTI_RESIZEMODE_ROWS ). ! Tweaked caret implementation. ! Renamed :consoleArea => :drawingArea. More natural for hbqtxbp.lib. /* Please try like this: 1. - Execute wvtext.exe - Press F10 -> New Window - Press <ESC> -> Boooooom GPF (inkey(0)) 2. - Execute wvtext.exe - Press F10 -> New Window - Click on Main Window - Click on New Window - Press <ESC> -> Normal Exit I am trying to find why to click on Main Window for closing the New Window. I have not been able to reach any logical reasoning. Help is requested. Play : Resize New Window - Browser expands by rows and columns. */ 2009-04-25 01:35 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/contrib/hbole/olecore.c ! fixed C++ compile errors 2009-04-24 23:15 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/contrib/hbole/olecore.c * harbour/contrib/hbole/oleauto.prg + implemented FOR EACH enumeration. The code was proposed by Przemyslaw on mailing list. Some fixes applied. 2009-04-24 16:24 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapi.h * harbour/source/common/hbprintf.c * harbour/source/common/hbstr.c + added hb_vsnprintf() - vsnprintf() replacement * synced type of parameters in hb_snprintf() used for builds with and without HB__USE_OWN_SNPRINTF 2009-04-24 13:42 UTC+0200 Viktor Szakats * bin/postinst.bat + Added support for HB_BUILD_IMPLIB for mingw. (only when using Windows shell to build it, which is now the preferred method.) ace32 implib method was applied to most other libs, too. I didn't test it, it may need further tweaks. I'll tweak it gradually, with hbmk2 it is probably better to use implibs from native locations where possible (like we do for QT on all platforms and like we do for all non-Win platforms), so even other compilers may get further changes. 2009-04-24 13:18 UTC+0200 Viktor Szakats * INSTALL * Changed QT examples according to 4.5.1 new default dir layout. * contrib/gtqtc/tests/demoqtc.prg ! Removed zip dependency. * contrib/gtqtc/tests/wvtext.prg ! Fixed non-lower case filename. ! Fixed wrong reference to test .ico file. BTW, is .ico portable? I doubt, so we should probably switch to .png in context of QT. ! Fixed wrong reference to test.dbf. * contrib/hbqt/tests/hbqt.hbp * contrib/gtqtc/tests/gtqtc.hbp + Added support for HB_QT_DIR envvar to find QT libs. This is the same envvar which is needed for Harbour builds, so you may already have it set up. ; TODO: If this works out well, I'll add the same method for other contribs too. * utils/hbmk2/hbmk2.prg + libpaths will now be checked for existance before being added to the list. 2009-04-23 22:11 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/common/hbprintf.c * harbour/source/macro/macro.yyc * harbour/source/macro/macro.y * harbour/source/macro/macro.yyh * harbour/source/compiler/harbour.yyc * harbour/source/compiler/harbour.y * harbour/source/compiler/harbour.yyh * pacified some MSVC warnings 2009-04-23 17:46 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapiitm.h * harbour/source/vm/itemapi.c * declared return value of hb_itemTypeStr() as const * harbour/harbour.spec * removed hbsqlite3 from default builds - it has to be optional due to external dependencies in current version 2009-04-23 14:42 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/hvm.c % optimized memory allocation in cloned symbol tables to store whole symbol table with all symbol names in single memory block 2009-04-23 11:53 UTC+0200 Viktor Szakats * contrib/hbqt/tests/hbqt.hbp * Minor adjustment to supc++ lib inclusion filter. - contrib/gtqtc/tests/hbqt.hbp + contrib/gtqtc/tests/gtqtc.hbp - Removed .hbp with wrong name. This file also contained local, environment dependent QT libpath. Please don't add such lines to SVN !! Instead use a local .hbp file which points to the QT path in your environment: --- qt_path.hbp {win}libpaths=C:\devl\Qt\2009.01\qt\lib --- (don't commit this file, keep it local !) or, add the same line to your local hbmk.cfg file. + Added new .hbp file with multiplatform content. 2009-04-23 10:26 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbexprb.c + added support for indirect (by macro or some other expression) assign of object items 2009-04-23 00:44 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtqtc/gtqtc.cpp * harbour/contrib/gtqtc/gtqtc.h * harbour/contrib/gtqtc/moc_gtqtc.cpp ! IMPLEMENTED : MT protocol. GTQTC now responds to it but there are still glitches. I think this is the result of improper implementation of C++ code and QT's underlying SIGNAL/SLOT mechanism. ! FIXED : SetMode() Resizing behavior, now it is acceptable. Cursor blinking rate, now responds quickly. Code cleanup. * harbour/contrib/gtqtc/tests/hbqt.hbp ! Updated for MT compilation. * harbour/contrib/gtqtc/tests/demoqtc.prg * harbour/contrib/gtqtc/tests/wvtext.prg ! GTQTC is now MT compliant. You may experience bumps as QT event loop has not been adapted to Harbour's completely. There are glitches which are under investigations, but proof of fruitation is there. Play with wvtext.exe, Press F10 for new window, please copy /tests/tests.dbf to this folder first. Try to open many windows. NOTE: You will have to click main window twice to make it respond to key events. Still I do not know why it does not get the keyboard focus with one click. Try to close the windows with ESC or clicking on the X button. /* I NEED YOUR INTEREST AND EFFORTS TO MAKE THIS PROJECT A SUCCESS */ /* */ /* Przemek, please review the code and guide me what way it should go */ 2009-04-22 20:39 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/hbpcre/pcreinal.h ! repeated BOOL typedef * harbour/tests/speedtst.prg ! fixed to compile with non [x]Harbour compilers 2009-04-22 15:51 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Stub obj wasn't deleted in all occasions. 2009-04-22 15:17 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/hbi18n2.prg % create index using hash array to speedup __I18N_POTARRAYJOIN() operation 2009-04-22 14:35 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg * Finished to .pot support (changed po to pot). * Renamed po= .hbp setting to pots=. ! Few minor fixes in error cases in .hbl generation. * utils/hbi18n/hbi18n.prg ! Typo in header. 2009-04-22 12:42 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg * Changed to not try to create an .hbl automatically if no explicit .hbl file is passed or -hbl option used. Instead now -hbl= or -hbl option will force creation of an .hbl file with an automatic name. 2009-04-22 11:38 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fixed regression in handling .c stub after recent changes. ! Fixed potential problem with inctrypath in some situations. 2009-04-22 10:06 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added .hbl file to possible input file list. (this is supported alternatively to -hbl= option) * source/hbpcre/pcrevutf.c * source/hbpcre/pcre.h * source/hbpcre/pcreconf.c * source/hbpcre/pcreinfo.c * source/hbpcre/config.h * source/hbpcre/pcrenewl.c * source/hbpcre/pcrefinf.c * source/hbpcre/pcreexec.c * source/hbpcre/pcreinal.h * source/hbpcre/pcretabs.c * source/hbpcre/pcredfa.c * source/hbpcre/pcrecomp.c * source/hbpcre/pcrexcls.c * source/hbpcre/pcreprni.h * source/hbpcre/ucp.h + Upgraded to PCRE 7.9 (from 7.8) 2009-04-22 08:48 UTC+0200 Viktor Szakats + Implemented .po to .hbl conversion inside hbmk2, with incremental feature (.hbl will only be regenerated if any .po file dependencies are newer). This is currently the default, no -inc switch is needed for that. You can specify .po files in the command line, in po= lines in .hbp files, output file is passed via -hbl= option. To handle multiple languages without hassle, you can use ${lng} macro in .po and .hbl filenames, plus pass the list of languages in -lng=<lang comma list> option: app_${lng}.po -hbl=lang/${lng}.hbl -lng=en,hu,sk,pl [ Actual .po -> .hbl conversion code was taken from hbi18n tool made by Przemek, with little modifications. ] ! Fixed to check included .res file timestamp, but not parse it. + Added macro support in libs= .hbp lines. 2009-04-21 18:14 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added new CPU architecture filters: x86, x86_64, ia64, arm + Added new CPU macro: ${hb_cpu} (returning values above) ! Fixed filter keyword detection on darwin due to typo. 2009-04-21 18:24 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbrddcdx.h * harbour/source/rdd/dbfcdx/dbfcdx1.c + added support for CLIP indexes with IgnoreCase flag 2009-04-21 08:08 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * utils/hbmk2/hbmk2.prg ! Line # 1056 - Parenthesis not closed. 2009-04-21 16:25 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added filter support to -o option. + Added macro support to -o option. ! Fixed missing win system libs from bcc linker command. IMPORTANT: bcc users will have to make sure they add bcc PSDK lib to their bcc32.cfg and ilink32.cfg files, otherwise hbmk2 won't work for them: --- bcc32.cfg -I"C:\devl\BCC55\Include" -L"C:\devl\BCC55\Lib";"C:\devl\BCC55\Lib\PSDK" --- ilink32.cfg /L"C:\devl\BCC55\Lib";"C:\devl\BCC55\Lib\PSDK" --- (or manually pass that with -L option to hbmk2) * -i option moved to main help screen. * utils/hbmk2/examples/fwh.hbp + Added odbc32 lib. 2009-04-21 13:41 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbrddcdx.h * harbour/source/rdd/dbfcdx/dbfcdx1.c + added support for numeric indexes which store keys as modified 32-bit big endian integer values - undocumented VFP hack. 2009-04-21 12:35 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added support for ${hb_self} in .hbm files. + -incpath/-i will now also add paths to resource compiler. 2009-04-21 12:31 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/valtoexp.prg ! fixed typo in copy and past in previous modification 2009-04-21 11:56 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/common/hbdate.c ! fixed decoding fractional part of seconds in timestamp expressions when less the 3 digits were used. * harbour/source/rtl/dateshb.c + added optional logical parameter to hb_TSToStr() function to enable packed/stripped form * harbour/source/rtl/valtoexp.prg % use hb_TSToStr() with new pack parameter in hb_ValToExp() and hb_CStr() 2009-04-21 04:19 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fixed minor but fatal oversight in prev commit. 2009-04-20 21:15 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fixed to find headers in originating file directory. This may need further tweaking. This works a little differently in Harbour and C compilers and hbmk2 tries to mimic both. Possible that it's still not fully compatible, if you know something pls speak up. + Added -incpath= option and incpaths= .hbp option. This is now the preferred method to add headers paths. All path will be added to both Harbour and C compiler. Important: a synonym for this switch is simply -i, just like before, but now the path will be also added to C compiler command line. * From now on Harbour include dir will always be the first one on the include path list passed to compilers. Before in Harbour it was always first, in C compilers it was always last. (disregarding include dirs passed directly to compiler, which will always come first, but isn't recommended). The ordering is thus this: compiler ... flags harbourincludedir incpaths ... - Deleted include path option detection, from now on only those paths will be scanned wich were passed to hbmk2 via -incpath/-i options. % Added -kmo optimization for hbmk2 source. + -info and -quiet will now work in .hbm files. (they will not control some close-to-startup messages if specified this way though) * external/libhpdf/Makefile * external/libpng/Makefile + Enabled for darwin. * contrib/hbqt/generator/hbqtgen.prg ! Recent fix to hbqt.h applied to generator. * utils/hbmk2/hbmk2.hbm - Removed no longer needed -km switch. * utils/hbmk2/examples/hmg.hbp * utils/hbmk2/examples/hwgui.hbp * utils/hbmk2/examples/fwh.hbp % Updated to use -incpaths= * utils/hbmk2/examples/fwh.hbp * Updated to work like similar hwgui and hmg files. ; QUESTION: Is hbwin lib required for FWH? 2009-04-20 20:53 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/filesys.c ! restored hack used for non POSIX compatible _POSIX_SYNCHRONIZED_IO definition. 2009-04-20 20:25 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/common/hbver.c * added missing const to function return type 2009-04-20 20:17 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbsqlit3/hbsqlit3.c * updated to compile with older then SQLITE3.6.1 libraries 2009-04-20 17:24 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbqt/hbqt.h ! fixed QT directory names in #include directives for case sensitive file systems * harbour/source/vm/cmdarg.c ! fixed HB_CMDLINE() to work with linear not square cost. 2009-04-20 16:30 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.hbm + Added -km option. * utils/hbmk2/hbmk2.prg ! Fixed typo preventing filter keywords to work. 2009-04-20 16:25 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + -quiet will now suppress command output in case of error. This is useful when the commands are large and it makes valuable tool output visible. ! Fixed recent typos in help code causing RTE. 2009-04-20 16:16 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Typo in 'allwin' filter handling. 2009-04-20 16:15 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Using hb_process*() functions instead of hb_run() to elminiate some bad side effects of the former (like command line limits on Windows). hb_run() is now only used in DOS builds. 2009-04-20 14:32 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbcomp.h * harbour/source/common/hbdate.c * harbour/source/rtl/strmatch.c * harbour/source/rtl/fssize.c * harbour/source/rtl/hbffind.c * harbour/source/rtl/filesys.c * enabled some POSIX function added to 1.8 Linux OpenWatcom builds and cleaned some workarounds not longer necessary * harbour/source/rtl/hbproces.c + added hack with small sysconf() implementation which is still missing in OpenWatcom 1.8. Now it's possible to build Harbour in Linux using officially distributed OpenWatcom 1.8 * harbour/source/rtl/disksphb.c * added TODO warning message * harbour/source/compiler/cmdcheck.c ! fixed typo in memory freeing in repeated -p<path> options 2009-04-20 14:00 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fixed to inherit .hbm dir before doing wildcard expansion. This makes wildcarded input files work in .hbm files located in different than current dirs. 2009-04-20 13:02 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fixed wildcarded input files to handle directory component. 2009-04-20 12:46 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Made possible to use -hbdyn/-hblib options in .hbm files. 2009-04-20 11:16 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + .c header detection now takes place before doing anything. Also compiler setup got moved to the beginning of the process. This allows to make a stop if something is missing. Some more steps are needed to exploit that in practice. Please test, this may cause regressions, I didn't test all combinations. * Generalized internal support for header location detection. (now can support any C compiler and it's also possible to add this feature for .prg files if needed) + Added new filter keywords: allgcc, allwin, allmingw, allmsvc, allpocc, allicc. + Added support for include dirs with spaces for msvc and mingw. 2009-04-20 08:19 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added experimental support for header directory autodetection. This means that you can pass a list of possible dirs to use when a .c header cannot be found in explicitly passed locations. ! Fixed to always disable -shared with -hbdyn. ! Added hbmaindllp in -hbdyn mode on win|wce. ! Fix in -nohbp parameter handling. + Added support for macros in -L, -*flag=, -workdir= + Added -stop command line parameter which stops execution. Can be used in conjunction with arch/comp filters to stop execution on certain platforms/compilers. ! Fixed to not create workdir in some unlikely combination of options. ! Fixed typo causing newer headers not being detected in resource files. + Now 'unix' can also be used in filters to check for any *nix platform. % Excluding some well-known headers from parsing (windows.h, ole2, os2.h currently) ; Above changes makes it possible to use hbmk2 to build our contribs. The only missing feature is 'install', what is a simple copy. --- -ohbpgsql # just for the sake of an example, not needed for real hbpgsql. -stop{dos} -inctrypath=${HB_INC_PGSQL} -inctrypath={unix}/usr/include -inctrypath={unix}/usr/local/pgsql/include -inctrypath={unix}/usr/local/pgsql/include/libpq -inctrypath={unix}/usr/include/pgsql -inctrypath={unix}/usr/include/postgresql -inctrypath={unix}/postgres/include -inctrypath={unix}/opt/local/include/postgresql83 postgres.c pgrdd.prg tpostgre.prg --- * contrib/hbole/oleinit.c * contrib/hbole/hbwinole.h * Cleanups in header usage and content. This should fix missing hb_oleInit() symbol on some compilers. * contrib/examples/pp/hbpptbl.c - Removed HB_EXTENSION protected two lines. 2009-04-19 18:14 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtqtc/gtqtc.h * harbour/contrib/gtqtc/gtqtc.cpp * harbour/contrib/gtqtc/moc_gtqtc.cpp * harbour/contrib/gtqtc/tests/hbqt.hbp + IMPLEMENTED : Resizing - Though some more refinement is necessary but as a proof of concept it is working. Window is now centered upon startup. 2009-04-19 06:14 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtqtc/Makefile ! Adopted along hbqt/Makefile pattern - fix to prev. Thanks Bisz Istvan. 2009-04-18 17:48 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/hbqt/generator/hbqtgen.prg * harbour/contrib/hbqt/generator/qt45.qtp * harbour/contrib/hbqt/hbqt.h + harbour/contrib/hbqt/hbqt_qtextblock.cpp + harbour/contrib/hbqt/hbqt_qtextblockformat.cpp + harbour/contrib/hbqt/hbqt_qtextblockgroup.cpp + harbour/contrib/hbqt/hbqt_qtextboundaryfinder.cpp + harbour/contrib/hbqt/hbqt_qtextbrowser.cpp + harbour/contrib/hbqt/hbqt_qtextcharformat.cpp + harbour/contrib/hbqt/hbqt_qtextcursor.cpp + harbour/contrib/hbqt/hbqt_qtextdecoder.cpp + harbour/contrib/hbqt/hbqt_qtextdocument.cpp + harbour/contrib/hbqt/hbqt_qtextdocumentfragment.cpp + harbour/contrib/hbqt/hbqt_qtextdocumentwriter.cpp + harbour/contrib/hbqt/hbqt_qtextformat.cpp + harbour/contrib/hbqt/hbqt_qtextstream.cpp * harbour/contrib/hbqt/Makefile_gen + harbour/contrib/hbqt/qth/QClipboard.qth + harbour/contrib/hbqt/qth/QTextBlock.qth + harbour/contrib/hbqt/qth/QTextBlockFormat.qth + harbour/contrib/hbqt/qth/QTextBlockGroup.qth + harbour/contrib/hbqt/qth/QTextBoundaryFinder.qth + harbour/contrib/hbqt/qth/QTextBrowser.qth + harbour/contrib/hbqt/qth/QTextCharFormat.qth + harbour/contrib/hbqt/qth/QTextCursor.qth + harbour/contrib/hbqt/qth/QTextDecoder.qth + harbour/contrib/hbqt/qth/QTextDocument.qth + harbour/contrib/hbqt/qth/QTextDocumentFragment.qth + harbour/contrib/hbqt/qth/QTextDocumentWriter.qth + harbour/contrib/hbqt/qth/QTextFormat.qth + harbour/contrib/hbqt/qth/QTextStream.qth + harbour/contrib/hbqt/tests/demoqt.prg + harbour/contrib/hbqt/tests/wvtext.prg + harbour/contrib/hbqt/TQTextBlock.prg + harbour/contrib/hbqt/TQTextBlockFormat.prg + harbour/contrib/hbqt/TQTextBlockGroup.prg + harbour/contrib/hbqt/TQTextBoundaryFinder.prg + harbour/contrib/hbqt/TQTextBrowser.prg + harbour/contrib/hbqt/TQTextCharFormat.prg + harbour/contrib/hbqt/TQTextCursor.prg + harbour/contrib/hbqt/TQTextDecoder.prg + harbour/contrib/hbqt/TQTextDocument.prg + harbour/contrib/hbqt/TQTextDocumentFragment.prg + harbour/contrib/hbqt/TQTextDocumentWriter.prg + harbour/contrib/hbqt/TQTextFormat.prg + harbour/contrib/hbqt/TQTextStream.prg + Added several new classes, hbqtgen.prg adjusted for new definitions, implemented more info in the sources but deferred for next commit. 2009-04-18 17:41 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtqtc/Makefile ! Adopted along hbqt/Makefile pattern. + harbour/contrib/gtqtc/tests/wvtext.prg + Added harbour/tests/wvtext.prg here also. Change in only HB_GT_QTC_DEFAULT. This facilitates the comparison between GTWVT and GTQTC + Added harbour/tests/tests.ico Used as hb_gtInfo( HB_GTI_ICONFILE, 'tests.ico' ) 2009-04-18 12:41 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtqtc/gtqtc.h * harbour/contrib/gtqtc/gtqtc.cpp * harbour/contrib/gtqtc/moc_gtqtc.cpp + IMPLEMENTED : Fired Events : HB_GTE_SETFOCUS | HB_GTE_KILLFOCUS | HB_GTE_RESIZE Cursor : SC_NONE | SC_NORMAL | SC_SPECIAL1 | SC_SPECIAL2 ! IMPROVED : Many artifacts. * harbour/contrib/gtqtc/tests/demoqtc.prg ! Modified to demonstarte above changes. NOTE: GTQTC is complete on base level. Only few gliches remain for cursor management under certain circumstances. The lib is tested on Winsow XP and QT 4.5 (2009.01). I am sure there may be few issues coming up more you test on different platforms. So I am looking for feedback especially from *nix users. (::) At this point I will request Przemek to review gtqtc.c.h and point me to optimization it may require. 2009-04-17 11:47 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/hbqt/generator/hbqtgen.prg ! oMenuBar:show() => oWnd:setMenuBar( QT_PTROF( oMenuBar ) ) Thanks Bisz Istvin for provising the clue. 2009-04-17 08:36 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtqtc/gtqtc.h * harbour/contrib/gtqtc/gtqtc.cpp * harbour/contrib/gtqtc/moc_gtqtc.cpp ! Fixed more Windows specific contents. It should compile on *nixes now [ Qt::WindowCloseButtonHint could be the exception ] + Implemented timer event. + Implemented PALETTE functionality of GTWVT. + Implemented drawing console output to an image first and then rendered onto the screen. This requirement is initiated because nowhere I found a way to mimic blinking CARET. The proof of concept is implemened through part of image rendering in a timer event. It may introduce some overhead but please be noted that we have to live with it until we reach a proper solution. Rendered to image and then flushed to screen is a powerful feature of QT and we may take use of it in many ways in future. Probably QTWVG will exploit it to maximum if we do not plan some extenstions in GTQTC. * harbour/contrib/gtqtc/tests/demoqtc.prg ! Demonstrated implemented facts as above. Note the BLINKING block on the console, may be, implemented as a replacement to windows caret. 2009-04-17 08:07 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/hbqt/generator/hbqtgen.prg * harbour/contrib/hbqt/generator/qt45.qtp * harbour/contrib/hbqt/Makefile_gen * harbour/contrib/hbqt/hbqt.h + harbour/contrib/hbqt/hbqt_qclipboard.cpp + harbour/contrib/hbqt/TQClipboard.prg + Added QClipboard class. ! Fixed hbqt.h generation not to include #define version... 2009-04-17 16:26 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/fm.c ! fixed typo in recent modification which broke compilation 2009-04-17 15:48 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbqt/hbqt.h * commented out #define QT_VERSION 0x040500 2009-04-17 15:10 UTC+0200 Viktor Szakats * source/vm/Makefile + Enabled "amalgamated" VM lib for all compilers/platforms, except for those where this doesn't give any advantage, or it breaks the build, these are: pocc*, xcc, bcc, dmc. Please note that Open Watcom 1.7 might also fail (I didn't test), so make sure to upgrade to 1.8. * harbour-win-spec * harbour-wce-spec * mpkg_win.bat * mpkg_tgz.sh * harbour.spec * bin/hb-func.sh * include/hbsetup.h * source/vm/Makefile * source/vm/fm.c - source/vm/fm - source/vm/fmmt * utils/hbmk2/hbmk2.prg - Removed hbfm and hbfmmt lib references. These libs are no longer generated or used. * Narrowed HB_FM_STATISTICS presence in various source files. From now on the system default for all builds is HB_FM_STATISTICS_OFF. We may change this to HB_FM_STATISTICS_DYN_OFF if we find a solution to the potential and actual problems with this method. If someone needs to change mem stat default, it can be done by ususal means. 2009-04-17 10:48 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added support for envvar HB_VISUALC_VER_PRE80 to signal older MSVC versions (just like in Harbour builds). + Synced mscvarm optimization switches. The sync between hbmk2 and Harbour build switches is now done. The only - intentional - difference is that hbmk2 won't set any explicit C compiler warning level, but this also can be implemented later with optional switches. ! Fixed regression in win/icc linker name. 2009-04-17 08:20 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fixed -strip for gcc family. It got broken after switching to separate link phase. ! Fixed -bind_as_load and -multiply_defined suppress to be passed at link phase on darwin. Got broken like above. Change not tested. ! Fixed RTE in FINDNEWERHEADERS(3064). 2009-04-16 23:00 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added -opt/-noopt switch (plus .hbp param) to control C compiler optimizations. + Added C compiler optimizations to all compilers identical to the ones used to build Harbour. Specifically MinGW, MSVC got new switches, bcc got -6, owatcom got fully synced. + Added internal support for C++ mode selection for all compilers. + Added -debug support for all compilers where it was missing (most). ! Synced poccarm switch with Harbour build. + Added -clipper, -blinker, -exospace, -rtlink compatibility command-line switches. - utils/hbmk2/examples/minigui.hbp + utils/hbmk2/examples/hmg.hbp + Harbour MiniGUI hbmk2 param file updated and instructions added. Now it's possible to build hmg apps using hbmk2 very easily, see instructions in file. * utils/hbmk2/examples/hwgui.hbp + hwgui hbmk2 param file updated and instructions added. Now it's possible to build hwgui apps using hbmk2 very easily, see instructions in file. * source/vm/itemapi.c * source/rtl/hbffind.c * contrib/hbct/atnum.c ! Fixed macro related warnings. 2009-04-16 21:36 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbrdddbf.h * harbour/include/hbrddnsx.h * harbour/include/hbdbsort.h * harbour/include/hbrddcdx.h * harbour/include/hbrddfpt.h * harbour/include/hbrddntx.h * harbour/source/rdd/dbf1.c * simplified some internal DBFRDD macros/declaration 2009-04-16 17:55 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/garbage.c + added optional support for automatic GC activation. It's not enabled by default yet but by compilation with macro HB_GC_AUTO, e.g. after setting envvar: set HB_USER_CFLAGS=-DHB_GC_AUTO Automatic GC activation may be necessary for code which creates complex variables with cyclic references and does not execute any other code which may activate idle state GC call. It also makes unnecessary to explicitly call hb_gcAll() from user code, e.g. as some type of background task. If some of you were using code which needed such explicit GC activation then please remove it and make some tests with Harbour compiled with HB_GC_AUTO macro. This simple .prg code illustrates the problem. When linked with HVM without automatic GC it quite fast allocates all available memory and finished with out of memory error or is interrupted by OS. When automatic GC is enabled it can work unlimited time period with some fixed maximum memory usage. proc main() local a while .t. a:={nil} a[1]:=a enddo return 2009-04-16 00:37 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtqtc/gtqtc.cpp * harbour/contrib/gtqtc/gtqtc.h ! Fix to many unsuppoted defines on *nixes. Przemek, please compile again. Probably by now it will only 'WindowCloseButtonHint' error may appear. But reading the documents QT nowhere specifies that it is platform dependant member. Can you please comment out #define QT_VERSION 0x040500 in hbqt.h and compile again. It is left-over residual. 2009-04-16 16:01 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added support for wildcarded input files for Harbour, C, resource compiler and object input files. This also works in .hbm files. Note: You must specify the extension, so *.* won't work, but *.prg and *.c will. Use with care, as hbmk2 will pickup everything and this may not be what you want to do e.g. in our tests dirs, but it can be useful if you store source files belonging to the same project in one dir, or with some unique filename prefix. (some of these may be unnecessary on *nix platforms, where the shell does such expansion already, it's still useful though, as *nix users can also benefit from wildcard usage inside .hbm files) 2009-04-16 15:47 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg % Skipping duplicate headers while walking the inclusion tree. This is a more efficient way to avoid inclusion loops, allowing deeper recursion. + Recursion level increased to 10 (from 4). 2009-04-16 12:00 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added support for source file parsing for headers in -inc mode. .prg, .c and .rc files are currently parsed recursively, include paths will be scanned for included files. There are currently three levels of scanning: disabled, partial (default) and full. Partial will scan the first 16 KiB of each source file for performance reasons, full will scan the complete files. The source parser is currently very simple; '#include "<filename>"' pattern is recognized anywhere in the processed source, no other variations are supported ATM. Using this format is IMO best practice for user programs, if someone needs more than this, it needs to be developed, current method is quite fast, which is important when dealing with lots of source files. + Added option to control header scanning: -[no]head=<mode> This is also supported in .hbp files. + Added support to look in current dir for libs for compilers where this is supported. + Added command-line option -resflag=, .hbp option resflags= and overall support for user supplied resource compiler flags. + Added support for cyg*.dll style libs. ! Fixed to handle libs with explicit dirs for compilers where this is supported. * config/dos/owatcom.cf * config/win/owatcom.cf * config/linux/owatcom.cf * config/os2/owatcom.cf + Added link to wlink options. 2009-04-16 00:37 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtqtc/gtqtc.cpp * harbour/contrib/gtqtc/moc_gtqtc.cpp * harbour/contrib/gtqtc/gtqtc.h + Implemented : hb_gtInfo( HB_GTI_ICONFILE, cFileIco ) : K_MWFORWARD | K_MWBACKWARD 2009-04-15 22:27 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtqtc/gtqtc.cpp * harbour/contrib/gtqtc/gtqtc.h * harbour/contrib/gtqtc/tests/demoqtc.prg ! Implemented : hb_gtInfo( HB_GTI_CLOSABLE, TRUE | FALSE ) : hb_gtInfo( HB_GTI_RESIZABLE, TRUE | FALSE ) : hb_gtInfo( HB_GTI_CLIPBOARDDATA[, cText ] ) Struggling : How to manage caret ? Anybody to rescue ? 2009-04-16 04:18 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added -inc support for lib dependencies. This means that changed libs will also force a target rebuild. I've implemented three separate logic for mingw/cygwin, gcc/linux+sunos and the rest of compilers. This may not be precisely the way each of the hbmk2 supported compilers wotk, but it probably covers most cases. Anyhow please tweak and correct if you find some problems. I did tests with mingw, msvc, bcc static and shared mode. ! Removed automatic path tweak in .hbp/libpaths=. 2009-04-15 16:22 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtqtc/gtqtc.cpp * harbour/contrib/gtqtc/gtqtc.h * harbour/contrib/gtqtc/moc_gtqtc.cpp * harbour/contrib/gtqtc/tests/demoqtc.prg ! More complete. No more (IMO) Windows specific calls. Please let me know if it compiles fine on *nixes ? 2009-04-15 18:58 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fixed bcc targets linking wrong (own bcc) PCRE engine instead of the Harbour one by reordering lib list. This should fix hbtip problems reported on the list. 2009-04-15 17:20 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/xhb/xhbmsgs.c * harbour/contrib/xhb/xhbcomp.prg + added overloading relation operators (==, =, !=, <, <=, >, >=) to mimic xHarbour like one byte string behavior 2009-04-15 01:01 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtqtc/gtqtc.cpp * harbour/contrib/gtqtc/gtqtc.h * harbour/contrib/gtqtc/moc_gtqtc.cpp * harbour/contrib/gtqtc/tests/demoqtc.prg . ! GTQTC has reached an acceptable level. . /* IMPLEMENTED : Screen Rendering. Keyboard Input ( Please report missing defines ) Mouse Input ( 90% ) Most HB_GTI_* methods. TO_BE_DONE : Resizing. Icons. SysMenu. Window States. Console Copy Operations. Close [X] functionality. SUNUP : A pure Clipper Applctn should run without problems. */ 2009-04-15 08:24 UTC+0200 Viktor Szakats * ChangeLog * utils/hbmk2/hbmk2.prg * Some cleanups resulting in incompatible changes: ${hb_parent} -> ${hb_self} -prgflag:<f> -> -prgflag=<f> -cflag:<f> -> -cflag=<f> -ldflag:<f> -> -ldflag=<f> -aflag:<f> -> -aflag=<f> -dflag:<f> -> -dflag=<f> -runflag:<f> -> -runflag=<f> + Added not yet used -jobs=<n> parameter. + Added array splitter to chunks functions. * contrib/hbtip/tests/dnldftp.prg ! Fix to prev. 2009-04-15 00:22 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + libpaths= can now have relative paths specified, and in this case the path will be adjusted by absolute path of host .hbp. This makes it possible to point hbmk2 to a .hbp file in a foreign dir, and let it pick up local lib dirs automatically. + .hbp files passed without absolute paths will now inherit the .hbm path if applicable. + Will now echo all explicitly specified .hbp filenames on screen in -info mode. + Added echo= support in .hbp files. The parameter will be echoed to stdout as is. + Added macro support for following .hbp lines: libpaths=, prgflags=, cflags=, ldflags=, echo=. Supported macros are: ${hb_root}: hbmk2 base dir ${hb_self}: .hbp file dir ${hb_arch}: architecture ${hb_comp}: compiler ${<envvar>}: any envvar + .hbp files are now searched in libpaths, too. ; NOTE: With above changes it's possible to refer to a 3rd party lib solely by pointing to its .hbp file, from that point all lib/include paths can be automatically picked up. Here's an example for hwgui, the file needs to be places in hwgui root dir: --- hwgui.hbp {win}prgflags=-i${hb_self}include {win}cflags=-I${hb_self}include {win}libpaths=${hb_self}lib {win}libs=hwgui hwg_qhtm procmisc hbxml {win}gt=gtgui --- Any hwgui apps can be compiled with this command: hbmk2 appname.prg C:\hwgui\hwgui.hbp * contrib/hbtip/tests/dnldftp.prg % Minor opt. 2009-04-14 20:31 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added support for -hbdyn option with bcc. .dll is created but I cannot test if it's usable. ! Worked around strange behaviour of filefind API, when it will return 'filename.extx' when we're looking for '*.ext' files. This can be seen with Directory(). 2009-04-14 19:21 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fixed additional bcc link parameter to honor GUI/CUI mode. This should fix the command window for GUI GTs. * utils/hbmk2/examples/hwgui.hbp ! Fixed. ! Added gt=gtnul. 2009-04-14 09:04 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/source/rtl/gtwvt/gtwvt.c * harbour/contrib/gtwvg/gtwvg.c ! Fixed a long standing bug - window mismanaged when clicking on titlebar. Processed WM_NCLBUTTONDCLK: 2009-04-14 15:57 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fixed Borland stub for both GUI and CUI mode. This bug surfaced now that a separate link phase is always used. ! Fixed handling of libpaths with '-' chars in them for bcc. 2009-04-14 14:29 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg * Changed to put user supplied lib to the beginning of the lib list. This should fix situations where user lib is overriding some Harbour objects (like getsys). + Added internal switch to enable simple -inc debug. ! Fixed to add .prg extension for Harbour input files when checking their timestamp, so files passed without extension will now work in -inc mode. 2009-04-14 10:52 UTC+0200 Viktor Szakats * contrib/hbmysql/tmysql.prg + Added 4th port parameter to TMySqlServer():New() method. * contrib/hbcurl/hbcurls/Makefile * Cleanup. 2009-04-14 00:54 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtqtc/gtqtc.cpp * harbour/contrib/gtqtc/moc_gtqtc.cpp * harbour/contrib/gtqtc/gtqtc.h ! Managed to set fonts and resize window accordingly. So far just initially. Resizing scheduled. ! Code cleanup and arrangement. * harbour/contrib/gtqtc/tests/demoqtc.prg ! A little tweaked. 2009-04-14 09:47 UTC+0200 Viktor Szakats + contrib/hbcurl/hbcurls + contrib/hbcurl/hbcurls/Makefile * contrib/hbcurl/Makefile + Added generation of static flavour of hbcurl. This can be used to link against static libcurl. * utils/hbmk2/hbmk2.prg ! Fixed target exe name with msvc. ! Added /debug link switch for msvc in -debug mode. 2009-04-14 02:01 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added -clean option to clean incremental work files and dir. + Added -rebuild option to force full rebuild in incremental mode. 2009-04-14 01:31 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg * Autodetection of embedded MinGW installation is now done *after* trying to detect user installed compiler. This way it's more natural to use the unified build as it will automatically use the user's C compiler if setup. It's also easier to override MinGW in unified builds, since there is no need to force compiler using -comp: option, it's enough to put preferred C compiler in the PATH. 2009-04-14 00:44 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added -workdir:<dir> command-line option to override default working dir (arch/comp) in -inc mode. + Added support for working directory in -inc mode. Due to lack of output dir option in certain compilers (most sadly in gcc family), these compilers will have to be executed for each input file, slightly reducing performance. I hope some day their developers will add such basic option. + -quiet option will now suppress the header lines for executed commands, creating a good progress output with '-trace -quiet'. ! Fixed output related regressions in msvc/bcc. * Removed explicit warning level settings from C compiler options. User can override if needed. * Returns errorlevel 19 instead of 9 in help mode. Now returns 9 if the working dir couldn't be created. ! Fixed resource compiler command for bcc, msvc, pocc. Turns out none of them supported multiple inputs. % Minor code size optimization in target output dependency checking. 2009-04-13 21:44 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fixed to delete stub object in -inc mode. ! Fixed to handle .res input files with MinGW compilers. + Now using different extension (.reso) for compiled .rc and .res file with MinGW compilers instead of former .o extension which could collide with source files with the same name. 2009-04-13 20:50 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg * Added separate compile and link phases for gcc family. Please retest, this may cause regressions. * win/bcc made to use separate compile/link phases in all cases. + Added simple progress in -inc mode. ! Fixed to detect target timestamp in hblib/hbdyn modes. 2009-04-13 19:52 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added support for incremental build mode. Still a work in progress, many combinations weren't tested and some features may not work with certain compilers yet. (bcc/msvc/pocc/owatcom should be working, only msvc was tested) + Added support for multiple resource input files for mingw and owatcom. + Added support for inc=on/off .hbp option. + msvc targets now use separate link phase. This will automatically enable incremental linking if target already exists. ! Fixed not prepending CCPATH to resource compiler in mingw mode. 2009-04-13 10:46 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtqtc/gtqtc.cpp ! Mapping keys to Clipper constants - near completion. 2009-04-13 10:49 UTC+0200 Viktor Szakats * tests/speedtst.prg ! Fixed missing hb_progname() for non-Harbour compilers. * include/hbextern.ch + Added time related new functions. * utils/hbmk2/hbmk2.prg + Added -runflag: option to pass flags to target executable. + Started -inc (incremental build) support. It's very early stage, don't expect it to work yet and please don't report any problems with this feature yet. * source/vm/asort.c ! Fixed to return Clipper compatible results when non-logical non-numeric value is returned from ASORT() codeblock. * utils/hbtest/rt_array.prg * Cleaned ASORT() tests when sorting block returns constant value. Now Clipper results aren't bent anymore, instead I've added different expected results for Harbour and Clipper. The difference is due to different sorting algorithms used, here the point is to get similar *pattern* for different invalid values. * source/rtl/philes.c % HB_FGETDATETIME(): Removed double call to hb_stortdt(). * contrib/hbqt/tests/hbqt.hbp * Removed extra line at EOL. * contrib/gtqtc/tests/hbqt.hbp ! Removed environment dependent 'libspath=' line. Please don't add such path to Harbour SVN, since these can differ from system to system and is also non-portable. The correct name of the directive is: 'libpaths='. * contrib/gtqtc/Makefile % Removed double SVN ID. This file needs to be updated according to hbqt latest Makefile portability changes. * contrib/rddads/ads1.c * Minor formatting. 2009-04-13 00:29 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtqtc/gtqtc.cpp * harbour/contrib/gtqtc/gtqtc.h ! Started keyboard input, mapping keys to Clipper values. 2009-04-12 11:21 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtqtc/gtqtc.cpp * harbour/contrib/gtqtc/gtqtc.h * harbour/contrib/gtqtc/Makefile ! Few more optimizations. - harbour/contrib/gtqtc/qtconsolearea.cpp - harbour/contrib/gtqtc/qtmainwindow.cpp - Removed. Needed to have better control over the operations. 2009-04-12 08:57 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtqtc/gtqtc.cpp * harbour/contrib/gtqtc/qtconsolearea.cpp * harbour/contrib/gtqtc/tests/demoqtc.prg ! Few more HACKS - I know there are better ways to organize them. Now our inkey() loop is active and demoqtc exits properly. Plus you may see some activity in console. 2009-04-11 21:53 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtqtc/gtqtc.cpp * harbour/contrib/gtqtc/gtqtc.h * harbour/contrib/gtqtc/qtconsolearea.cpp * harbour/contrib/gtqtc/qtmainwindow.cpp ! More fixes. Now we get background colors as in .prg. It is a bit puzzling why I do not get text colors. 2009-04-11 12:51 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) + harbour/contrib/gtqtc + harbour/contrib/gtqtc/gtqtc.cpp + harbour/contrib/gtqtc/gtqtc.h + harbour/contrib/gtqtc/Makefile + harbour/contrib/gtqtc/moc_gtqtc.cpp + harbour/contrib/gtqtc/qtconsolearea.cpp + harbour/contrib/gtqtc/qtmainwindow.cpp + harbour/contrib/gtqtc/tests + harbour/contrib/gtqtc/tests/demoqtc.prg + harbour/contrib/gtqtc/tests/hbqt.hbp + Added GTQTC - The terminal based on QT framework - files. NOTE: This is a proof of concept and needs an expert brain. I will request Przemek to set the basic GT framework in place. Rest will be quiet easy, easy than Windows itself. demoqtc.exe remains in the memory after closing it with X button. I have tried hard to set it right but have faised so far. So you may need to kill it from task manager. * harbour/contrib/gtwvg/tests/demowvg.prg + Added My_Alert() function which you can copy and paste in your GTWVG linked applications to have a GUI replacement of Alert() funtion. 2009-04-11 22:01 UTC+0200 Viktor Szakats * tests/speedtst.prg + Showing CPU architecture. 2009-04-11 21:34 UTC+0200 Viktor Szakats * include/hbsetup.h * source/vm/hvmall.c ! HB_NO_FALTTEN -> HB_NO_FLATTEN (naming typo) 2009-04-11 20:59 UTC+0200 Viktor Szakats * tests/bnch_win.bat * tests/speedtst.prg + Added --stdout option to restore old feature to redirect output to a file. Needed for bnch_win.bat. + In normal mode output will be saved in a file with the same name of the executable with .txt extension. Makes it easier to make side-by-side tests. ! Fixed SVN EOL. 2009-04-11 19:28 UTC+0200 Viktor Szakats * contrib/hbqt/Makefile ! Fix to prev changes (for non-darwin). 2009-04-11 18:52 UTC+0200 Viktor Szakats * contrib/hbqt/generator/hbqtgen.prg * contrib/hbqt/hbqt.h ! Deleted Windows-specific lines. 2009-04-11 18:23 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/Makefile * harbour/source/vm/vmmt/Makefile + harbour/source/vm/hvmall.c % added optional compilation HVM core files as single unit. It allows to use interprocedural optimizations for all defined functions. It's useful when compiler does not support IPO at link time. It should give some noticeable speed improvement for compilers which can benefit from such optimizations, e.g. GCC, ICC, MSVC. In my Linux box (GCC 4.3) it gives ~7% speed improvement in speedtst.prg linked with ST HVM and a little bit more in MT mode. It's interesting that it also reduces the HVM library size. At least for GCC builds. Set HB_HVM_ALL=yes envvar to enable such compilation. Warning some compiler may not compile such long single C file. 2009-04-11 17:25 UTC+0200 Viktor Szakats * source/common/hbver.c + Added skeleton for hb_verHostCPU() * source/rtl/trace.c ! HB_TRACESTRING() fixed potential GPF if non-string parameter was passed. * contrib/hbqt/generator/hbqtgen.prg ! Fixed demo to not refer to gtgui on non-Windows systems. ! Fixed RTE when source file isn't found. (not verified) ! Change EOL handling. ! Fixed to use portable path seps when generating demoqt.prg. * contrib/hbqt/generator/qt45.qtp ! Fixed to use forward slashes. Didn't test if this broke non-*nix. * contrib/hbqt/qth/QWindowsXPStyle.qth ! Fixed Windows specific QT function wrapper to compile on non-Windows. * contrib/hbqt/qth/QPixmap.qth ! Deleted Windows specific HBITMAP related functions. * contrib/hbqt/tests/hbqt.hbp + Added support for darwin * contrib/hbqt/Makefile * contrib/hbqt/generator/hbqtgen.prg + Added support for QT for Darwin official SDK package I had to change the way headers are included to follow the QT standard and pass each QT lib header dir on the command line instead of using subdirs in #include directives. ; TODO: Probably this change should be applied to all .qth files, but on Darwin it worked without this change for some reason. [DONE] * contrib/hbqt/tests/demoqt.prg * contrib/hbqt/TQPixmap.prg * contrib/hbqt/hbqt_utils.cpp * contrib/hbqt/hbqt_qwidget.cpp * contrib/hbqt/hbqt.h * contrib/hbqt/hbqt_qwindowsxpstyle.cpp * contrib/hbqt/hbqt_slots.cpp * contrib/hbqt/hbqt_slots.h * contrib/hbqt/hbqt_qpixmap.cpp * Regenerated. 2009-04-11 13:25 UTC+0200 Viktor Szakats * include/hbapi.h * include/hbver.ch * source/common/hbver.c * source/rtl/version.c + Added target CPU detection. c: hb_verCPU() -> "x86" prg: hb_version( HB_VERSION_CPU ) -> "x86" ; TODO: Host CPU detection. * contrib/rddsql/sddfb/Makefile + Enabled for msvc64 2009-04-11 13:04 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbstack.h * harbour/source/vm/macro.c * harbour/source/vm/codebloc.c * harbour/source/vm/hashes.c * harbour/source/vm/dynsym.c * harbour/source/vm/itemapi.c * harbour/source/vm/garbage.c * harbour/source/vm/arrays.c * harbour/source/vm/thread.c * harbour/source/vm/memvars.c * harbour/source/vm/extend.c * harbour/source/vm/set.c * harbour/source/vm/classes.c * updated to optionally compile with HB_STACK_PRELOAD * harbour/source/vm/hvm.c % small cleanup 2009-04-10 22:54 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbqt/Makefile * added /usr/include to list of directories scanned for QT header files * harbour/contrib/hbole/olecore.c ! added missing return * formatting and minor cleanup * harbour/source/vm/arrays.c * formatting * harbour/source/vm/asort.c ! minor CA-Cl*pper compatibility fix - if sort codeblock returns numeric value then it should be used as logical one (0 means FALSE) * harbour/include/hbstack.h * harbour/source/vm/estack.c + added macro to force static hb_stack declaration even if HB_STACK_MACROS is internally used * harbour/source/vm/initsymb.c * harbour/source/vm/hashfunc.c * harbour/source/vm/evalhb.c * harbour/source/vm/pcount.c * harbour/source/vm/runner.c * harbour/source/vm/debug.c * harbour/source/vm/pvalue.c * harbour/source/vm/cmdarg.c * harbour/source/vm/proc.c * harbour/source/vm/eval.c * harbour/source/vm/dynlibhb.c * do not use hbvmopt.h if it's not necessary or use hbvmint.h instead to clean all direct references to hb_stack variable 2009-04-10 08:00 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/hbqt/generator/hbqtgen.prg - Removed WIN specific castings. * harbour/contrib/gtwvg/wvgsink.c ! Commented out calls to hb_ToOutDebug(). 2009-04-10 16:45 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/contrib/rddsql/sddfb/fbirddd.c * fixed msvc64 compile warnings and errors 2009-04-10 16:10 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/contrib/hbole/olecore.c * harbour/contrib/hbole/oleauto.prg * implemented OLE handlers using GC pointers 2009-04-10 04:11 UTC+0200 Viktor Szakats * external/Makefile * contrib/Makefile ! Fixed make error when all subdirs were excluded. 2009-04-09 20:42 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg - Disabled UPX support for all non-Linux *nix systems. 2009-04-09 10:51 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/hbqt/hbqt_qwidget.cpp * harbour/contrib/hbqt/qth/QWidget.qth * harbour/contrib/hbqt/TQWidget.prg ! Commented out more non-portable functions belongings to Win Handles family. 2009-04-09 08:18 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/hbqt/hbqt.h * harbour/contrib/hbqt/hbqt_qfont.cpp * harbour/contrib/hbqt/hbqt_qregion.cpp * harbour/contrib/hbqt/hbqt_qwidget.cpp * harbour/contrib/hbqt/TQFont.prg * harbour/contrib/hbqt/TQRegion.prg * harbour/contrib/hbqt/TQWidget.prg * harbour/contrib/hbqt/qth/QApplication.qth * harbour/contrib/hbqt/qth/QFileDialog.qth * harbour/contrib/hbqt/qth/QFont.qth * harbour/contrib/hbqt/qth/QRegion.qth * harbour/contrib/hbqt/qth/QWidget.qth ! Commented out non-portable functions belongings to Win Handles family. 2009-04-09 07:19 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added support for -compr=max, -compr=min to control level of compression. -compr=def means the same plain -compr. 2009-04-08 18:18 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added executable / dll compression using -compr switch. hbmk2 uses UPX, which needs to be in PATH to work. Not having UPX won't cause a fatal error even when -compr switch is specified. 2009-04-08 15:45 UTC+0200 Viktor Szakats * ChangeLog * Item marked done. * utils/hbmk2/hbmk2.prg ! Fixed for win/owatcom static mode. (multiple addresses) 2009-04-08 11:22 UTC+0200 Viktor Szakats * source/vm/maindllh.c * source/vm/maindllp.c ! Fixed for wce/poccarm's strange Windows headers. ; Now this problem surfaced with wce/poccarm, and this one I really cannot fix: --- hbmk: Processing configuration: C:\devl\hbvc-1.1\bin\hbmk.cfg POLINK: error: Unresolved external symbol 'hb_wctomb'. POLINK: fatal error: 1 unresolved external(s). hbmk: Error: Running linker. 1: polink.exe hbtest.obj rt_array.obj rt_date.obj rt_file.obj rt_hvm.obj rt_hvma.obj rt_math.obj rt_misc.obj rt_mt.obj rt_str.obj rt_stra.obj rt_trans.obj rt_class.obj rt_miscc.obj /libpath:C:\work\harbour-new\harbour\_hb_install_temp\harbour-wce-poccarm\lib /subsystem:windows /out:C:\work\harbour-new\harbour\_hb_install_temp\harbour-wce-poccarm\bin\hbtest-dll.exe /libpath:C:\work\harbour-new\harbour\_hb_install_temp\harbour-wce-poccarm\bin harbour-11-arm.lib hbmainstd.lib hbmainwin.lib hbcplr.lib hbdebug.lib wininet.lib ws2.lib commdlg.lib commctrl.lib uuid.lib ole32.lib --- [DONE] 2009-04-08 10:22 UTC+0200 Viktor Szakats * INSTALL * Cross build text fixed to be multiplatform. * contrib/rddsql/sddfb/Makefile ! Excluded for msvc64: ../../fbirddd.c(187) : warning C4244: 'argument' : conversion from 'ULONG' to 'short', possible loss of data ../../fbirddd.c(231) : warning C4244: 'argument' : conversion from 'ISC_STATUS' to 'USHORT', possible loss of data ../../fbirddd.c(241) : warning C4244: 'argument' : conversion from 'ISC_STATUS' to 'USHORT', possible loss of data ../../fbirddd.c(249) : warning C4244: 'argument' : conversion from 'ISC_STATUS' to 'USHORT', possible loss of data ../../fbirddd.c(265) : warning C4244: 'argument' : conversion from 'ISC_STATUS' to 'USHORT', possible loss of data ../../fbirddd.c(409) : error C2440: '=' : cannot convert from 'isc_stmt_handle' to 'void *' Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast ../../fbirddd.c(410) : error C2440: '=' : cannot convert from 'isc_tr_handle' to 'void *' Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast ../../fbirddd.c(446) : error C2664: 'isc_dsql_free_statement' : cannot convert parameter 2 from 'void **' to 'isc_stmt_handle *' Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast ../../fbirddd.c(451) : error C2664: 'isc_rollback_transaction' : cannot convert parameter 2 from 'void **' to 'isc_tr_handle *' Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast ../../fbirddd.c(469) : error C2664: 'isc_dsql_fetch' : cannot convert parameter 2 from 'void **' to 'isc_stmt_handle *' Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast ../../fbirddd.c(531) : error C2664: 'isc_dsql_free_statement' : cannot convert parameter 2 from 'void **' to 'isc_stmt_handle *' Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast ../../fbirddd.c(533) : warning C4244: 'argument' : conversion from 'ISC_STATUS' to 'USHORT', possible loss of data ../../fbirddd.c(538) : error C2664: 'isc_commit_transaction' : cannot convert parameter 2 from 'void **' to 'isc_tr_handle *' Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast ../../fbirddd.c(540) : warning C4244: 'argument' : conversion from 'ISC_STATUS' to 'USHORT', possible loss of data 2009-04-08 09:59 UTC+0200 Viktor Szakats * INSTALL + Added hbmk2 to the list of tools needed for successful cross builds. * utils/hbmk2/hbmk2.prg + Added link to Linux lib HOWTO. 2009-04-08 08:53 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Extension is also omitted when Harbour is installed on sys loc. 2009-04-08 03:35 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Possible fix for *nix shared lib problem when Harbour is installed in system location. Couldn't test it. * ar now called with 'rcs' parameter (was: cr). Advertized as runlib equivalent, but it doesn't seem to make any difference. 2009-04-08 02:08 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fixed bug in yesterday's changes. 2009-04-07 12:02 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/generator/hbqtgen.prg ! Few more refinements. 2009-04-07 11:45 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/generator/hbqtgen.prg ! Updated to post latest demoqt.prg. 2009-04-07 19:00 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Turned on line number permanently. * contrib/gtalleg/Makefile * contrib/hbsqlit3/Makefile * contrib/hbfbird/Makefile * Fixes. 2009-04-07 17:37 UTC+0200 Viktor Szakats * make_gnu_xmingwce.sh * doc/man/hbmk.1 * bin/hb-mkdyn.sh * bin/postinst.bat * bin/hb-func.sh * bin/postinst.sh * bin/hb-mkdyn.bat * external/sqlite3/Makefile * external/libhpdf/Makefile * external/libpng/Makefile * make_gnu.bat * contrib/gtalleg/Makefile * contrib/hbsqlit3/Makefile * contrib/hbqt/Makefile * contrib/hbfbird/Makefile * source/vm/Makefile * source/vm/vmmt/Makefile * utils/hbmk2/hbmk2.prg - config/win/mingwce.cf - config/win/poccce.cf - config/win/msvcce.cf - Deleted targets: win/msvcce, win/mingwce, win/poccce. Use these instead: wce/msvcarm, wce/mingwarm, wce/poccarm 2009-04-07 16:55 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Regression fixed after latest poccarm support additions. 2009-04-07 16:33 UTC+0200 Viktor Szakats * bin/postinst.bat ! Fixed shared executable creation for cross-builds. * utils/hbmk2/hbmk2.hbm * utils/hbi18n/hbi18n.hbm % Added -nulrdd. This will remove the hbmk2 build size overhead compared to GNU Make built executables. * utils/hbmk2/hbmk2.prg ! Don't add the same libdir twice in some cases. + Added support for wce arch in remaining places. ! Added hbmainwin and hbmainstd for mingw targets. This should fix some failing shared lib scenarios I've experienced with minwgce. I hope it doesn't break everything else (tested mingw64 and mingw scenarios worked). * Internal change to handle shared libname separately so that special extensions and handling can be added for it, if needed. 2009-04-07 12:58 UTC+0200 Viktor Szakats * external/libhpdf/Makefile ! Disabled for wce arch and mingwce comp. 2009-04-07 12:05 UTC+0200 Viktor Szakats * contrib/hbqt/hbqt.h * contrib/hbqt/hbqt_qabstractbutton.cpp * contrib/hbqt/hbqt_qabstractitemview.cpp * contrib/hbqt/hbqt_qabstractprintdialog.cpp * contrib/hbqt/hbqt_qabstractscrollarea.cpp * contrib/hbqt/hbqt_qabstractslider.cpp * contrib/hbqt/hbqt_qabstractspinbox.cpp * contrib/hbqt/hbqt_qaction.cpp * contrib/hbqt/hbqt_qapplication.cpp * contrib/hbqt/hbqt_qboxlayout.cpp * contrib/hbqt/hbqt_qbrush.cpp * contrib/hbqt/hbqt_qcalendarwidget.cpp * contrib/hbqt/hbqt_qcheckbox.cpp * contrib/hbqt/hbqt_qcolor.cpp * contrib/hbqt/hbqt_qcolordialog.cpp * contrib/hbqt/hbqt_qcombobox.cpp * contrib/hbqt/hbqt_qcommandlinkbutton.cpp * contrib/hbqt/hbqt_qcoreapplication.cpp * contrib/hbqt/hbqt_qdateedit.cpp * contrib/hbqt/hbqt_qdatetimeedit.cpp * contrib/hbqt/hbqt_qdial.cpp * contrib/hbqt/hbqt_qdialog.cpp * contrib/hbqt/hbqt_qdoublespinbox.cpp * contrib/hbqt/hbqt_qerrormessage.cpp * contrib/hbqt/hbqt_qfiledialog.cpp * contrib/hbqt/hbqt_qfocusframe.cpp * contrib/hbqt/hbqt_qfont.cpp * contrib/hbqt/hbqt_qfontcombobox.cpp * contrib/hbqt/hbqt_qfontdialog.cpp * contrib/hbqt/hbqt_qformlayout.cpp * contrib/hbqt/hbqt_qframe.cpp * contrib/hbqt/hbqt_qgroupbox.cpp * contrib/hbqt/hbqt_qhboxlayout.cpp * contrib/hbqt/hbqt_qinputdialog.cpp * contrib/hbqt/hbqt_qlabel.cpp * contrib/hbqt/hbqt_qlayout.cpp * contrib/hbqt/hbqt_qlayoutitem.cpp * contrib/hbqt/hbqt_qlcdnumber.cpp * contrib/hbqt/hbqt_qlineedit.cpp * contrib/hbqt/hbqt_qlistview.cpp * contrib/hbqt/hbqt_qmainwindow.cpp * contrib/hbqt/hbqt_qmenu.cpp * contrib/hbqt/hbqt_qmenubar.cpp * contrib/hbqt/hbqt_qmessagebox.cpp * contrib/hbqt/hbqt_qobject.cpp * contrib/hbqt/hbqt_qpagesetupdialog.cpp * contrib/hbqt/hbqt_qpaintdevice.cpp * contrib/hbqt/hbqt_qpainter.cpp * contrib/hbqt/hbqt_qpen.cpp * contrib/hbqt/hbqt_qprintdialog.cpp * contrib/hbqt/hbqt_qprintpreviewdialog.cpp * contrib/hbqt/hbqt_qprogressbar.cpp * contrib/hbqt/hbqt_qprogressdialog.cpp * contrib/hbqt/hbqt_qpushbutton.cpp * contrib/hbqt/hbqt_qradiobutton.cpp * contrib/hbqt/hbqt_qscrollarea.cpp * contrib/hbqt/hbqt_qscrollbar.cpp * contrib/hbqt/hbqt_qsizegrip.cpp * contrib/hbqt/hbqt_qslider.cpp * contrib/hbqt/hbqt_qspinbox.cpp * contrib/hbqt/hbqt_qsplitter.cpp * contrib/hbqt/hbqt_qtabbar.cpp * contrib/hbqt/hbqt_qtableview.cpp * contrib/hbqt/hbqt_qtablewidget.cpp * contrib/hbqt/hbqt_qtablewidgetitem.cpp * contrib/hbqt/hbqt_qtabwidget.cpp * contrib/hbqt/hbqt_qtextedit.cpp * contrib/hbqt/hbqt_qtimeedit.cpp * contrib/hbqt/hbqt_qtoolbar.cpp * contrib/hbqt/hbqt_qtoolbox.cpp * contrib/hbqt/hbqt_qtoolbutton.cpp * contrib/hbqt/hbqt_qtreeview.cpp * contrib/hbqt/hbqt_qtreewidget.cpp * contrib/hbqt/hbqt_qtreewidgetitem.cpp * contrib/hbqt/hbqt_qvboxlayout.cpp * contrib/hbqt/hbqt_qwebpage.cpp * contrib/hbqt/hbqt_qwebview.cpp * contrib/hbqt/hbqt_qwidget.cpp * contrib/hbqt/hbqt_qwizard.cpp * contrib/hbqt/Makefile_gen * contrib/hbqt/TQAbstractButton.prg * contrib/hbqt/TQAbstractItemView.prg * contrib/hbqt/TQAbstractPrintDialog.prg * contrib/hbqt/TQAbstractScrollArea.prg * contrib/hbqt/TQAbstractSlider.prg * contrib/hbqt/TQAbstractSpinBox.prg * contrib/hbqt/TQAction.prg * contrib/hbqt/TQBoxLayout.prg * contrib/hbqt/TQCalendarWidget.prg * contrib/hbqt/TQCheckBox.prg * contrib/hbqt/TQColorDialog.prg * contrib/hbqt/TQComboBox.prg * contrib/hbqt/TQCommandLinkButton.prg * contrib/hbqt/TQDateEdit.prg * contrib/hbqt/TQDateTimeEdit.prg * contrib/hbqt/TQDial.prg * contrib/hbqt/TQDialog.prg * contrib/hbqt/TQDoubleSpinBox.prg * contrib/hbqt/TQErrorMessage.prg * contrib/hbqt/TQFileDialog.prg * contrib/hbqt/TQFocusFrame.prg * contrib/hbqt/TQFontComboBox.prg * contrib/hbqt/TQFontDialog.prg * contrib/hbqt/TQFormLayout.prg * contrib/hbqt/TQFrame.prg * contrib/hbqt/TQGroupBox.prg * contrib/hbqt/TQHBoxLayout.prg * contrib/hbqt/TQInputDialog.prg * contrib/hbqt/TQLabel.prg * contrib/hbqt/TQLayout.prg * contrib/hbqt/TQLayoutItem.prg * contrib/hbqt/TQLCDNumber.prg * contrib/hbqt/TQLineEdit.prg * contrib/hbqt/TQListView.prg * contrib/hbqt/TQMainWindow.prg * contrib/hbqt/TQMenu.prg * contrib/hbqt/TQMenuBar.prg * contrib/hbqt/TQMessageBox.prg * contrib/hbqt/TQObject.prg * contrib/hbqt/TQPageSetupDialog.prg * contrib/hbqt/TQPaintDevice.prg * contrib/hbqt/TQPainter.prg * contrib/hbqt/TQPrintDialog.prg * contrib/hbqt/TQPrintPreviewDialog.prg * contrib/hbqt/TQProgressBar.prg * contrib/hbqt/TQProgressDialog.prg * contrib/hbqt/TQPushButton.prg * contrib/hbqt/TQRadioButton.prg * contrib/hbqt/TQScrollArea.prg * contrib/hbqt/TQScrollBar.prg * contrib/hbqt/TQSizeGrip.prg * contrib/hbqt/TQSlider.prg * contrib/hbqt/TQSpinBox.prg * contrib/hbqt/TQSplitter.prg * contrib/hbqt/TQTabBar.prg * contrib/hbqt/TQTableView.prg * contrib/hbqt/TQTableWidget.prg * contrib/hbqt/TQTableWidgetItem.prg * contrib/hbqt/TQTabWidget.prg * contrib/hbqt/TQTextEdit.prg * contrib/hbqt/TQTimeEdit.prg * contrib/hbqt/TQToolBar.prg * contrib/hbqt/TQToolBox.prg * contrib/hbqt/TQToolButton.prg * contrib/hbqt/TQTreeView.prg * contrib/hbqt/TQTreeWidget.prg * contrib/hbqt/TQTreeWidgetItem.prg * contrib/hbqt/TQVBoxLayout.prg * contrib/hbqt/TQWebPage.prg * contrib/hbqt/TQWebView.prg * contrib/hbqt/TQWidget.prg * contrib/hbqt/TQWizard.prg + contrib/hbqt/hbqt_qbitmap.cpp + contrib/hbqt/hbqt_qcommonstyle.cpp + contrib/hbqt/hbqt_qdesktopwidget.cpp + contrib/hbqt/hbqt_qdir.cpp + contrib/hbqt/hbqt_qdockwidget.cpp + contrib/hbqt/hbqt_qevent.cpp + contrib/hbqt/hbqt_qeventloop.cpp + contrib/hbqt/hbqt_qfontinfo.cpp + contrib/hbqt/hbqt_qftp.cpp + contrib/hbqt/hbqt_qgridlayout.cpp + contrib/hbqt/hbqt_qheaderview.cpp + contrib/hbqt/hbqt_qhttp.cpp + contrib/hbqt/hbqt_qicon.cpp + contrib/hbqt/hbqt_qinputevent.cpp + contrib/hbqt/hbqt_qlistwidget.cpp + contrib/hbqt/hbqt_qlistwidgetitem.cpp + contrib/hbqt/hbqt_qpaintevent.cpp + contrib/hbqt/hbqt_qpixmap.cpp + contrib/hbqt/hbqt_qpoint.cpp + contrib/hbqt/hbqt_qpointf.cpp + contrib/hbqt/hbqt_qrect.cpp + contrib/hbqt/hbqt_qrectf.cpp + contrib/hbqt/hbqt_qregion.cpp + contrib/hbqt/hbqt_qsignalmapper.cpp + contrib/hbqt/hbqt_qsize.cpp + contrib/hbqt/hbqt_qsizef.cpp + contrib/hbqt/hbqt_qsplashscreen.cpp + contrib/hbqt/hbqt_qstatusbar.cpp + contrib/hbqt/hbqt_qstyle.cpp + contrib/hbqt/hbqt_qtimer.cpp + contrib/hbqt/hbqt_qurl.cpp + contrib/hbqt/hbqt_qvariant.cpp + contrib/hbqt/hbqt_qwindowsstyle.cpp + contrib/hbqt/hbqt_qwindowsxpstyle.cpp + contrib/hbqt/TQBitmap.prg + contrib/hbqt/TQCommonStyle.prg + contrib/hbqt/TQDesktopWidget.prg + contrib/hbqt/TQDir.prg + contrib/hbqt/TQDockWidget.prg + contrib/hbqt/TQEvent.prg + contrib/hbqt/TQEventLoop.prg + contrib/hbqt/TQFont.prg + contrib/hbqt/TQFontInfo.prg + contrib/hbqt/TQFtp.prg + contrib/hbqt/TQGridLayout.prg + contrib/hbqt/TQHeaderView.prg + contrib/hbqt/TQHttp.prg + contrib/hbqt/TQIcon.prg + contrib/hbqt/TQInputEvent.prg + contrib/hbqt/TQListWidget.prg + contrib/hbqt/TQListWidgetItem.prg + contrib/hbqt/TQPaintEvent.prg + contrib/hbqt/TQPen.prg + contrib/hbqt/TQPixmap.prg + contrib/hbqt/TQPoint.prg + contrib/hbqt/TQPointF.prg + contrib/hbqt/TQRect.prg + contrib/hbqt/TQRectF.prg + contrib/hbqt/TQRegion.prg + contrib/hbqt/TQSignalMapper.prg + contrib/hbqt/TQSize.prg + contrib/hbqt/TQSizeF.prg + contrib/hbqt/TQSplashScreen.prg + contrib/hbqt/TQStatusBar.prg + contrib/hbqt/TQStyle.prg + contrib/hbqt/TQTimer.prg + contrib/hbqt/TQUrl.prg + contrib/hbqt/TQVariant.prg + contrib/hbqt/TQWindowsStyle.prg + contrib/hbqt/TQWindowsXPStyle.prg * Regenerated. 2009-04-07 10:48 UTC+0200 Viktor Szakats * contrib/hbqt/generator/qt45.qtp * contrib/hbqt/generator/hbqtgen.prg * contrib/hbqt/generator/rebuild_hbqt.bat * Changed to create files directly in live source dir. (can be overridden using command-line switches) * qt45.qtp will be picked automatically if no project file is passed and the file exists. ! Fixed default paths for all platforms. + Added feedback when creating files. ! Fixed one FCreate() session which always failed. ! Fixed generation of Makefile_gen to always have two closing empty lines to make GNU Make happy. Otherwise it failed when assembling the lib with MinGW/msys. % Commented output of source parts. ; This means that the .bat file is no more necessary. Please use: 'hbmk2 hbqtgen.prg -run' command to generate hbqt sources. 2009-04-07 09:29 UTC+0200 Viktor Szakats - contrib/hbqt/tests/Vou.ICO + contrib/hbqt/tests/test.ico ! Renamed to have all lower case. Please stick to this rule. Couldn't find any reference to this file, please fix it where needed. ; FIXME: hbqt.h has hb_ToOutDebug() declared as external. So, hbqt will also depend on xhb lib? If this function is so important I'd suggest to create a fully portable version of it locally in hbqt. - contrib/hbqt/gensource/Makefile - Removed duplicate copy of Makefile. I'm not sure what was the purpose but it wouldn't work here, and it wouldn't be good to update this file in two copies. 2009-04-06 23:52 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/hbqt/tests/vou.ico + Added icon to be displayed in titlebar. 2009-04-06 23:44 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/hbqt/generator/hbqtgen.prg + New hbqt.h members. * harbour/contrib/hbqt/generator/qt45.qtp + Added new classes, Rearranged alphabetically. * harbour/contrib/hbqt/qth/QAction.qth + harbour/contrib/hbqt/qth/QBitmap.qth + harbour/contrib/hbqt/qth/QCommonStyle.qth + harbour/contrib/hbqt/qth/QIcon.qth + harbour/contrib/hbqt/qth/QPixmap.qth + harbour/contrib/hbqt/qth/QStatusBar.qth + harbour/contrib/hbqt/qth/QStyle.qth + harbour/contrib/hbqt/qth/QWindowsStyle.qth + harbour/contrib/hbqt/qth/QWindowsXPStyle.qth + Added new classes. Updated old ones. * harbour/contrib/hbqt/tests/demoqt.prg + Implemented StatusBar, Windows Icon, etc. 2009-04-06 19:19 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/hbqt/generator/hbqtgen.prg ! Fixed: warning - taken address of temprary. Thanks Xavi. Still need to be tested. 2009-04-07 00:41 UTC+0200 Francesco Saverio Giudice (info/at/fsgiudice.com) * harbour/contrib/examples/uhttpd/uhttpd.prg + Added _HTTP_RESPONSE headers * Renamed defineServerAdresses() function to defineServer() as now define all _SERVER variables * ParseRequest() now uses uhttpd_SplitUrl() to define URI parts * Host now is defined according with RFC2616 * HRB session now is defined as UHTTPD-SESSION to avoid collision with SESSION in cookies ! uhttpd_AddHeader() renamed to uhttpd_SetHeader() to be conformed to RFC2616 that wants that a header variable is defined only once. See cookie.prg changes. Headers now are contained in a Hash instead of an array * fixed as per above also uhttpd_GetHeader() / uhttpd_DelHeader() * harbour/contrib/examples/uhttpd/session.prg * uhttpd_AddHeader() -> uhttpd_SetHeader() * harbour/contrib/examples/uhttpd/cgifunc.prg * in function uhttpd_SplitUrl() added URI hash field + harbour/contrib/examples/uhttpd/cookie.prg * To conform to RFC2616 now if Set-Cookie has more than one value than is created a comma separated list of cookie-name=cookie-value * uhttpd_AddHeader() -> uhttpd_SetHeader() * harbour/contrib/examples/uhttpd/modules/info.prg + Added _HTTP_RESPONSE display * harbour/contrib/examples/uhttpd/modules/cookie.prg * harbour/contrib/examples/uhttpd/modules/showcounter.prg * harbour/contrib/examples/uhttpd/modules/tableservletdb.prg * uhttpd_AddHeader() -> uhttpd_SetHeader() 2009-04-06 23:38 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fixed to properly set errorlevels. For some reason I thought returning a number from MAIN() will set the errorlevel. Now using ErrorLevel() function. * contrib/hbqt/generator/rebuild_hbqt.bat * Added errorlevel checking after hbmk2 call. ! Removed HB_COMPILER check. 2009-04-06 22:45 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Adding hbmainstd/hbmainwin libs as object for win/owatcom. This fixes the startup procedure problems. Thanks Przemek. 2009-04-06 22:16 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/harbour-wce-spec ! fixed MinGWCE cross compilation for Pocket PC by simple removing __PLATFORM__WINCE from Harbour build parameters. It's now defined by config/wce/mingwarm.cf BTW why it's called mingwarm not mingwce? Is is planed to add for each CPU type separate .cf file? For Linux it will be more then 20 files. I do not know if MS plans to release (or maybe released) WinCE for non ARM based computers (e.g. x86 ones) but it may happen. Just like non x86 normal Windows ports may exist. 2009-04-06 09:45 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/hbqt/generator/qt45.qtp * harbour/contrib/hbqt/hbqt.h + harbour/contrib/hbqt/qth/QEvent.qth + harbour/contrib/hbqt/qth/QEventLoop.qth + harbour/contrib/hbqt/qth/QInputEvent.qth + harbour/contrib/hbqt/qth/QPaintEvent.qth + harbour/contrib/hbqt/qth/QRegion.qth * harbour/contrib/hbqt/qth/QSize.qth + harbour/contrib/hbqt/qth/QVariant.qth + Added more classes and update qt45.qtp 2009-04-06 09:36 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/hbqt/generator/hbqtgen.prg ! StdOut() used instead of ?. ! More parameter resolved. 2009-04-06 19:35 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/source/rtl/hbstrfmt.c + added precision support for %s and %d. COMMENT: I've used GNU printf() function for test. Some of formats is not supported by it. For example, zero padding is ignored if left alignment is used, etc. I'm not sure if it is intentional. 2009-04-06 18:12 UTC+0200 Viktor Szakats * bin/hb-mkdyn.bat * owatcom tweaks. Build is still going dunno if this will be okay. * contrib/hbqt/generator/rebuild_hbqt.bat * Added hbmk2 dir. * utils/hbmk2/hbmk2.prg ! Fixed stupid MSVC typo. 2009-04-06 17:58 UTC+0200 Francesco Saverio Giudice (info/at/fsgiudice.com) + harbour/contrib/hbqt/generator/rebuild_hbqt.bat + Added batch to generate fresh hbqt sources from headers 2009-04-06 17:58 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/hb-func.sh * renamed --hbbindir --hblibdir --hbincdir parameters to --hbdirbin --hbdirlib --hbdirinc 2009-04-06 17:44 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added --hbdirdyn. 2009-04-06 17:35 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added --hbdirbin, --hbdirlib, --hbdirinc. + Added --version and --help to help screen. ! Changed to use OS native slashed in path when calling harbour executable. + -quiet will now suppress messages when -traceonly option is used. Script dumps will still have a header for clarity. + Will now dump harbour executable name to Harbour command -trace output, even if internal compiler is used. 2009-04-06 16:04 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/hb-func.sh + added support for displaying harbour bin, lib and include directories for --hbbindir --hblibdir --hbincdir parameters. Viktor please add such functionality also to hbmk2. Only given directories should be displayed without any other characters in the output. Such feature allows to use -I`hbmk --hbincdir` in *nixes build scripts what should greatly simplify 3rd party projects make scripts. 2009-04-06 15:41 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/compiler/hbmain.c * harbour/source/compiler/hbcomp.c ! fixed ignored -es2 compiler flag when warning is caused by startup parameters * harbour/source/compiler/harbour.yyc * harbour/source/compiler/harbour.y * pacified warning * harbour/harbour.spec ! fixed doc/en directory name to doc/en-EN * harbour/source/vm/Makefile + harbour/source/vm/maindllh + harbour/source/vm/maindllh/Makefile + added hbmaindllh library - it's necessary for some compiler to create working harbour.dll, e.g. in OpenWatcom builds. Please updated harbour.dll build scripts to use this library with such compilers. MinGW based compilers do not need it. * harbour/source/vm/Makefile ! fixed typo which broke wce builds * harbour/source/vm/Makefile * harbour/harbour-wce-spec * harbour/harbour.spec + added mainstd mainwin maindllh maindllp to all win and wce builds * harbour/harbour-win-spec * harbour/harbour-wce-spec * harbour/harbour.spec + added support for parallel compilation (-j make flags) in RPMs which supports %{_smp_mflags} macro ! temporary fix: disabled harbour external libraries. I do not know what should be the final version. ; WCE builds are still broken due to repeated macro definitions but I'm lost with the new build time parameters and I do not know how to fix it without breaking hbce* scripts or bad introduce some interactions to other build/install time scripts so it will have to be fixed by Viktor. 2009-04-06 14:33 UTC+0200 Viktor Szakats * contrib/hbole/Makefile * contrib/hbole/olecore.c + contrib/hbole/hbwinole.h + Added C header. + Exported hb_oleVariantToItem(). * contrib/hbqt/hbqt_qfont.cpp ! Fixed HB_IS_STRING() -> HB_ISCHAR(). 2009-04-06 13:19 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fixed finding shared libs since /lib/<arch>/<comp> lib path autodetection was added. Please test. + Added -traceonly command-line switch which will display all commands to be executed, without actually executing them. Notice that this isn't a complete "dry" run, as some temp files will may be created and normally created temp files are deleted along the process. * contrib/hbqt/Makefile ! Fix to include statement. 2009-04-05 14:03 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/hbqt/generator/hbqtgen.prg * harbour/contrib/hbqt/generator/qt45.qtp + harbour/contrib/hbqt/qth/QPoint.qth + harbour/contrib/hbqt/qth/QPointF.qth + harbour/contrib/hbqt/qth/QRect.qth + harbour/contrib/hbqt/qth/QRectF.qth + harbour/contrib/hbqt/qth/QSizeF.qth + Added more classes. 2009-04-05 12:57 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) + harbour/contrib/hbqt/tests/wvtext.prg + Added wvtext.prg [ already in harbour/tests ] modified to invoke QT dialogs. This demo is far from production environment abd is just a future concept of implementation what we can achieve with QT with least efforts. 2009-04-05 02:35 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) + harbour/contrib/hbqt/tests/*.png + Added some .png files used in the demoqt.prg. 2009-04-05 02:00 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/hbqt/hbqt.h * harbour/contrib/hbqt/generator/hbqtgen.prg * harbour/contrib/hbqt/generator/qt45.qtp + harbour/contrib/hbqt/gensource/Makefile * harbour/contrib/hbqt/qth/QAbstractButton.qth * harbour/contrib/hbqt/qth/QAbstractItemView.qth * harbour/contrib/hbqt/qth/QAbstractPrintDialog.qth * harbour/contrib/hbqt/qth/QAbstractScrollArea.qth * harbour/contrib/hbqt/qth/QAbstractSlider.qth * harbour/contrib/hbqt/qth/QAbstractSpinBox.qth * harbour/contrib/hbqt/qth/QAction.qth * harbour/contrib/hbqt/qth/QApplication.qth * harbour/contrib/hbqt/qth/QAxBase.qth * harbour/contrib/hbqt/qth/QAxBindable.qth * harbour/contrib/hbqt/qth/QAxObject.qth * harbour/contrib/hbqt/qth/QAxWidget.qth * harbour/contrib/hbqt/qth/QBoxLayout.qth * harbour/contrib/hbqt/qth/QBrush.qth * harbour/contrib/hbqt/qth/QCalendarWidget.qth * harbour/contrib/hbqt/qth/QCheckBox.qth * harbour/contrib/hbqt/qth/QColor.qth * harbour/contrib/hbqt/qth/QColorDialog.qth * harbour/contrib/hbqt/qth/QComboBox.qth * harbour/contrib/hbqt/qth/QCommandLinkButton.qth * harbour/contrib/hbqt/qth/QCoreApplication.qth * harbour/contrib/hbqt/qth/QDateEdit.qth * harbour/contrib/hbqt/qth/QDateTimeEdit.qth * harbour/contrib/hbqt/qth/QDesktopWidget.qth * harbour/contrib/hbqt/qth/QDial.qth * harbour/contrib/hbqt/qth/QDialog.qth * harbour/contrib/hbqt/qth/QDir.qth * harbour/contrib/hbqt/qth/QDockWidget.qth * harbour/contrib/hbqt/qth/QDoubleSpinBox.qth * harbour/contrib/hbqt/qth/QErrorMessage.qth * harbour/contrib/hbqt/qth/QFileDialog.qth * harbour/contrib/hbqt/qth/QFocusFrame.qth * harbour/contrib/hbqt/qth/QFont.qth * harbour/contrib/hbqt/qth/QFontComboBox.qth * harbour/contrib/hbqt/qth/QFontDialog.qth * harbour/contrib/hbqt/qth/QFontInfo.qth * harbour/contrib/hbqt/qth/QFormLayout.qth * harbour/contrib/hbqt/qth/QFrame.qth * harbour/contrib/hbqt/qth/QFtp.qth * harbour/contrib/hbqt/qth/QGridLayout.qth * harbour/contrib/hbqt/qth/QGroupBox.qth * harbour/contrib/hbqt/qth/QHBoxLayout.qth * harbour/contrib/hbqt/qth/QHeaderView.qth * harbour/contrib/hbqt/qth/QHttp.qth * harbour/contrib/hbqt/qth/QInputDialog.qth * harbour/contrib/hbqt/qth/QLabel.qth * harbour/contrib/hbqt/qth/QLayout.qth * harbour/contrib/hbqt/qth/QLayoutItem.qth * harbour/contrib/hbqt/qth/QLCDNumber.qth * harbour/contrib/hbqt/qth/QLineEdit.qth * harbour/contrib/hbqt/qth/QListView.qth * harbour/contrib/hbqt/qth/QListWidget.qth * harbour/contrib/hbqt/qth/QListWidgetItem.qth * harbour/contrib/hbqt/qth/QMainWindow.qth * harbour/contrib/hbqt/qth/QMenu.qth * harbour/contrib/hbqt/qth/QMenuBar.qth * harbour/contrib/hbqt/qth/QMessageBox.qth * harbour/contrib/hbqt/qth/QObject.qth * harbour/contrib/hbqt/qth/QPageSetupDialog.qth * harbour/contrib/hbqt/qth/QPaintDevice.qth * harbour/contrib/hbqt/qth/QPainter.qth * harbour/contrib/hbqt/qth/QPen.qth * harbour/contrib/hbqt/qth/QPrintDialog.qth * harbour/contrib/hbqt/qth/QPrintPreviewDialog.qth * harbour/contrib/hbqt/qth/QProgressBar.qth * harbour/contrib/hbqt/qth/QProgressDialog.qth * harbour/contrib/hbqt/qth/QPushButton.qth * harbour/contrib/hbqt/qth/QRadioButton.qth * harbour/contrib/hbqt/qth/QScrollArea.qth * harbour/contrib/hbqt/qth/QScrollBar.qth * harbour/contrib/hbqt/qth/QSignalMapper.qth + harbour/contrib/hbqt/qth/QSize.qth * harbour/contrib/hbqt/qth/QSizeGrip.qth * harbour/contrib/hbqt/qth/QSlider.qth * harbour/contrib/hbqt/qth/QSpinBox.qth * harbour/contrib/hbqt/qth/QSplashScreen.qth * harbour/contrib/hbqt/qth/QSplitter.qth * harbour/contrib/hbqt/qth/QTabBar.qth * harbour/contrib/hbqt/qth/QTableView.qth * harbour/contrib/hbqt/qth/QTableWidget.qth * harbour/contrib/hbqt/qth/QTableWidgetItem.qth * harbour/contrib/hbqt/qth/QTabWidget.qth * harbour/contrib/hbqt/qth/QTextEdit.qth * harbour/contrib/hbqt/qth/QTimeEdit.qth * harbour/contrib/hbqt/qth/QTimer.qth * harbour/contrib/hbqt/qth/QToolBar.qth * harbour/contrib/hbqt/qth/QToolBox.qth * harbour/contrib/hbqt/qth/QToolButton.qth * harbour/contrib/hbqt/qth/QTreeView.qth * harbour/contrib/hbqt/qth/QTreeWidget.qth * harbour/contrib/hbqt/qth/QTreeWidgetItem.qth * harbour/contrib/hbqt/qth/QUrl.qth * harbour/contrib/hbqt/qth/QVBoxLayout.qth * harbour/contrib/hbqt/qth/QWebPage.qth * harbour/contrib/hbqt/qth/QWebView.qth * harbour/contrib/hbqt/qth/QWidget.qth * harbour/contrib/hbqt/qth/QWizard.qth ! Restructured the layout of .qth source headers. List of section blocks: <CLASS> </CLASS> <CODE> </CODE> <ENUMS> </ENUMS> <PROTOS> </PROTOS> <SLOTS> </SLOTS> <SIGNALS> <SIGNALS> This layout will be useful for future extensions. We can spread anything outside of these blocks wheatever is required. The <hbqtgen> engine has been reworked and enhanced to a great extent. At this moment about 99% functions are compiled properly. Except for one warning everypiece compiles fine: : warning: taking address of temporary which is the result of code like as below: /* * QIcon icon () const */ HB_FUNC( QT_QABSTRACTBUTTON_ICON ) { hb_retptr( &( ( QIcon ) hbqt_par_QAbstractButton( 1 )->icon() ) ); } is spread all over. I have no clue how to suppress it. This is why I have not posted the files in root folder. NOTE: Make system fails for <Makefile_gen>, Viktor? The demoqt.prg is updated with many features. Just play. And an Experiment: /tests/wvtext.prg can be updated to work with QT Widgets. Though this is not the end goal of QT, you may take advantage of QT's powerful yet simple classes to embed in your console applications. 2009-04-05 09:53 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Enabled rtlink/blinker parsing code, so now hbmk2 will work as a plugin replacement for clipper, rtlink/blinker/exospace when renamed to these names. Example: --- $ copy hbmk2.exe clipper.exe $ copy hbmk2.exe rtlink.exe $ clipper hello.prg $ echo OUT myhello FI hello > rtl.lnk $ rtlink @rtl.lnk --- 2009-04-04 17:06 UTC+0200 Viktor Szakats * INSTALL * Minor. * utils/hbmk2/hbmk2.prg ! Fixed to add 'lib' prefix when -hblib option is used with GCC family compilers. ! Fixed to not override compiler output when -hblib option is used. * contrib/hbqt/generator/hbqtgen.prg + contrib/hbqt/Makefile_gen * contrib/hbqt/Makefile + Added Makefile_gen which holds the generated part of the Makefile. This way there is no (less) hidden make logic inside hbqtgen. * config/wce/global.cf - Removed gtwin. ; TODO: Move GT inclusion logic to GT local Makefiles. [DONE] 2009-04-03 15:33 UTC+0200 Viktor Szakats * harbour-wce-spec * INSTALL * bin/postinst.bat * Makefile * make_gnu.bat * external/sqlite3/Makefile * external/libhpdf/Makefile * external/libpng/Makefile * contrib/gtalleg/Makefile * contrib/hbodbc/Makefile * contrib/hbtpathy/Makefile * contrib/hbole/Makefile * contrib/hbsqlit3/Makefile * contrib/hbqt/generator/hbqtgen.prg * contrib/hbqt/Makefile * contrib/hbfbird/Makefile * contrib/hbwin/Makefile * source/vm/Makefile * source/vm/vmmt/Makefile + Added wce arch and mingwarm/msvcarm/poccarm support. In parallel with old win/mingwce|msvcce|poccce support. As soons as this new one works, the old one will be deleted. * make_gnu.bat ! Fixed to work like rest of targets for GCC family. It will now only initiate a 'clean install' if HB_BUILD_DLL=yes. * utils/hbmk2/hbmk2.prg + Added Przemek's code for rtlink/blinker script parsing. Not yet activated. 2009-04-03 11:05 UTC+0200 Viktor Szakats * bin/hb-mkdyn.bat ! Attempt to fix owatcom shared executable generation. (still GPFs, or does nothing) * utils/hbmk2/hbmk2.prg ! Fixed typo in prev commit, causing RTE. 2009-04-03 03:45 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/dircmd.prg ! small fix in 'DIR <filemask>' DOS like output formatting. Note: this function uses strict DOS like 8.3 file name convention in the output so it will play well with long file names. Maybe we should change the output formatting? 2009-04-03 02:49 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/hvm.c * harbour/source/vm/fm.c * harbour/source/vm/cmdarg.c ! fixed GPF when hb_vmInit() is called without initializing application startup parameters by hb_cmdargInit(). Thanks to Enrico's friends for information about the problem. * some code cleanup 2009-04-03 01:20 UTC+0200 Francesco Saverio Giudice (info/at/fsgiudice.com) * harbour/contrib/examples/uhttpd/uhttpd.prg + added Application Root folder Also as ini command and -a command line switch * fixed starting path ! fixed CGI/HRB execution path now uhttpd runs CGI and HRB pointing to document root as execution path. Pay attention to update existing cgi and hrb modules. + added console rows and cols to alter console display either as ini command than as -cr and -cc command line switch ! fixed $(APP_DIR) and $(DOCROOT_DIR) macro substitution now it is possible to run uhttpd executable from a different folder specifying uhttpd.ini path, application root path and document root path that may differ from default * updated help screen * harbour/contrib/examples/uhttpd/uhttpd.ini + added new commands * harbour/contrib/examples/uhttpd/session.prg * work in progress to fix error in session handling * harbour/contrib/examples/uhttpd/modules/tableservletdb.prg * updated path of test.dbf that now is relative to document root and not to application path 2009-04-03 00:20 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fixed warning. 2009-04-02 22:01 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbexpra.c ! verify all expression POP operation for usage as LValue * harbour/include/hbexprb.c ! fixed possible GPF in unverified send context + added support for IIF() usage as LValue even if it cannot be reduced during [macro]compilation * harbour/source/macro/macro.yyc * harbour/source/macro/macro.y * harbour/source/macro/macrolex.c * removed support for some characters unsupported by Clipper in macro expressions like chr(10) as trailing expression character, e.g.: ? &("DATE()"+chr(10)) * harbour/source/compiler/complex.c * formatting 2009-04-02 17:21 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Enabled embedded Harbour compiler. This will simplify cross-compile scenarios. 2009-04-02 17:11 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added msvcce (msvcarm) support. Untested, those who have such working environment please do. (pre 8.0 MSVC isn't supported) 2009-04-02 16:30 UTC+0200 Viktor Szakats * INSTALL + Made clear that Windows examples are all pure .bat scripts. + Made clear that HB_BUILD_IMPLIB isn't supported for MinGW targets. (and in most cases either not needed or not possible automatically) * contrib/hbct/ctstrfil.c ! Fixed missing #include which could cause unresolved externals. 2009-04-02 15:25 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added support for pocc64, poccce. This is a very gray area for pocc. Currently it doesn't work because polib is broken and doesn't generate an implib: POLIB: fatal error: Internal error (create_archive_file). ; FIXME: poccce also doesn't work, but this is probably solvable, there are unresolved externals when linking. 2009-04-02 15:10 UTC+0200 Viktor Szakats * bin/postinst.bat + utils/hbi18n/hbi18n.hbm + Generating hbmk2-dll and hbi18n-dll shared-mode executables. * utils/hbmk2/hbmk2.prg ! Fixed shared libnames for MinGW family. ; FIXME: Still doesn't build shared-mode executables. [DONE] 2009-04-02 13:42 UTC+0200 Viktor Szakats * bin/hb-mkdyn.bat * bin/postinst.bat + Added support for GCC family .dll creation. (Cygwin not tested) This will also create .def files. Also implib .a files are possible, code is there commented. + Added 'wce' ARCH support. ! Fixed to not include gtwin in WinCE .dlls. + Added support for HB_DLLIBS envvar. ; NOTE: The benefits of using cmd shell instead of msys to create mingw builds is that hbrun-dll and hbtest-dll are also created and you don't have use forward slashes in HB_INC_* envvars. It also allows to more easily add implib creation in the future. Overall the Windows build environment is more uniform this way. msys build output though is much sleeker and also seems faster. If this method turns out to be okay, it may become the default/support/standard way to build Harbour with MinGW on Windows. (if not we can return to the msys method) ; FIXME: Shared MinGW executables cannot be built if Harbour was built with -DHB_DYNLIB. IMO this macro should be ignored in MinGW builds as there is no separate DLL build and non-DLL. [ I cannot fix this. ] Until then I had to add a hack to starter batch files. * mpkg_win.bat * Switched to use make_gnu.bat instead of make_gnu.sh to build GCC family targets. * make_gnu.bat + Added special codepath for GCC familty as it needs one pass only to create .dlls. * INSTALL * Updated to reflect now possible non-msys MinGW build. * Updated example to use non-msys flavours. + Readded MinGW + msys example. % Minor simplification in mingw64/mingwce targets. (HB_CCPATH no longer needed on Windows) 2009-04-02 11:19 UTC+0200 Viktor Szakats * make_gnu_xmingwce.sh * bin/hb-mkdyn.sh * bin/hb-func.sh * bin/postinst.sh * mpkg_win.bat * external/sqlite3/Makefile * make_gnu.sh + Added 'wce' ARCH support and 'mingwce' COMP support where needed. ; TODO: Start using above in local contrib Makefiles. [DONE] * bin/hb-mkdyn.sh + Added comment on how to generate implib when creating the .dll. * bin/hb-mkdyn.bat ! Added missing setlocal. * ChangeLog ! Typos. * make_gnu.bat + Will now exit with message if tried to run with mingw/cygwin targets. 2009-04-01 22:10 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/doc/Makefile ! removed unexisting license.txt file * harbour/include/hbapidbg.h * do not export Harbour debugger functions. If someone wants to create 3rd party debugger then we should agree the list of functions which should be public. * harbour/include/hbstack.h * minor cleanup in some definitions * harbour/include/hbdefs.h + added HB_DLL_ENTRY_POINT macro to set default DLL entry point for different Windows compilers * harbour/source/vm/maindllh.c * harbour/source/vm/maindllp.c * use HB_DLL_ENTRY_POINT macro * harbour/include/hbsetup.h * added internal macro to disable flatten optimization * harbour/include/hbmath.h * harbour/source/rtl/math.c * make default math error handler function static * harbour/include/hbatomic.h + added atomic inc/dec inline asm code to OW x86 builds * harbour/source/rtl/console.c * small code reorganization to not mix public and private function calls * harbour/source/rtl/hbregex.c * harbour/source/hbpcre/_hbpcreg.c * do not use hb_xfree() function pointer directly to avoid problems with different calling conventions. * harbour/config/win/owatcom.cf * harbour/config/os2/owatcom.cf * removed unnecessary in recent OpenWatcom versions explicit wlink.lnk including. 2009-04-01 14:11 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added clipper/rtlink/exospace/blinker self-name recognition. clipper will switch it to hbcmp mode, rtlink/exospace/blinker will switch it to hblnk mode. rtlink parameter recognition is yet to be done. * contrib/hbct/ctmisc.prg ! Fixed CENTER() to not LTrim() the input string. * contrib/hbwin/wapi_commctrl.c ! 0/1 -> FALSE/TRUE ! Fixed to use proper macro instead of hb_parnint(). % Using hb_arraySetNL() rather than hb_arraySet(). * mpkg_win.nsi * Minor. 2009-04-01 10:45 UTC+0200 Viktor Szakats * doc/Makefile ! Removed license.txt. * INSTALL + Added Windows/Windows CE build examples. Cleaned mingw64 and mingwce cross-builds. * mpkg_win.bat * Using make_gnu.sh instead of make_gnu_xmingwce.sh for mingwce target for uniformity. * utils/hbmk2/hbmk2.prg ! Fixed silly typo causing RTE if compiler autodetection fails to detect any tier-one compilers (or none). + Added automatic postfixing external Harbour executable name if hbmk2 executable name is also postfixed. Currently -x64 and -ia64 are recognized. Useful to call harbour-x64.exe / harbour-ia64.exe when hbmk2-x64.exe / hbmk2-ia64.exe is used. * make_gnu_xmingwce.sh * config/rules.cf * config/win/mingwce.cf * config/win/poccce.cf * config/win/msvcce.cf * config/wce/global.cf * Moved -D__PLATFORM__WINCE to .cf files. This also fixes missing __PLATFORM__WINCE for poccce and msvcce targets. 2009-03-31 18:41 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) + harbour/contrib/hbqt/qth/QAxBase.qth + harbour/contrib/hbqt/qth/QAxBindable.qth + harbour/contrib/hbqt/qth/QAxObject.qth + harbour/contrib/hbqt/qth/QAxWidget.qth + harbour/contrib/hbqt/qth/QDesktopWidget.qth + harbour/contrib/hbqt/qth/QDir.qth + harbour/contrib/hbqt/qth/QDockWidget.qth + harbour/contrib/hbqt/qth/QFontInfo.qth + harbour/contrib/hbqt/qth/QFtp.qth + harbour/contrib/hbqt/qth/QGridLayout.qth + harbour/contrib/hbqt/qth/QHeaderView.qth + harbour/contrib/hbqt/qth/QHttp.qth + harbour/contrib/hbqt/qth/QListWidget.qth + harbour/contrib/hbqt/qth/QListWidgetItem.qth + harbour/contrib/hbqt/qth/QSignalMapper.qth + harbour/contrib/hbqt/qth/QSplashScreen.qth + harbour/contrib/hbqt/qth/QTimer.qth + harbour/contrib/hbqt/qth/QUrl.qth + Added more source headers - RAW - not compiled. 2009-03-31 21:36 UTC+0200 Viktor Szakats * bin/postinst.bat ! Fixed regression causing shared hbrun/hbtest binaries to not be built on x64 targets. * external/sqlite3/Makefile ! Removed header installer rules. There are no headers here to install. 2009-03-31 19:50 UTC+0200 Viktor Szakats * INSTALL + Added information on HB_EXTERNAL* envvar settings. * utils/hbmk2/hbmk2.prg + Added support for wce target. Currently in parallel with win/*ce targets. 2009-03-31 14:01 UTC+0200 Viktor Szakats * contrib/rddsql/sddfb/Makefile ! Excluded for pocc64 due to compile errors. 2009-03-31 13:41 UTC+0200 Viktor Szakats * source/rtl/hbinet.c ! Reverted. Damn. 2009-03-31 13:39 UTC+0200 Viktor Szakats * contrib/hbfbird/Makefile ! Excluded for pocc64 due to compile errors. * source/rtl/hbinet.c ! Fixed two warnings for pocc64. 2009-03-31 12:45 UTC+0200 Viktor Szakats * bin/hb-mkdyn.bat + Added pocc64 support. * contrib/gtalleg/Makefile ! Excluded for pocc64 due to compile errors. * contrib/hbsqlit3/Makefile ! Excluded for pocc64 due to overflow. * contrib/hbqt/generator/hbqtgen.prg * contrib/hbqt/Makefile ! Excluded for pocc64. 2009-03-31 12:23 UTC+0200 Viktor Szakats * contrib/xhb/dbf2txt.c ! Fixed for Win64. * contrib/xhb/hbserv.c - Excluded for Win64 builds. * contrib/hbqt/generator/hbqtgen.prg * Minor formatting in generated code. (Using double quotes in #include, CLASS -> CREATE CLASS, DATA -> VAR to follow Class(y) syntax.) 2009-03-31 12:03 UTC+0200 Viktor Szakats + config/wce + config/wce/dir.cf + config/wce/global.cf + config/wce/install.cf + config/wce/msvcarm.cf + config/wce/mingwarm.cf + config/wce/poccarm.cf + Added new arch for WinCE: wce These will now live in parallel with old win/*ce targets until they are fully functional. We can also back up from here in case this new method turns out to be a dead end for any reason. The upgrade path is: win/msvcce -> wce/msvcarm win/mingwce -> wce/mingwarm win/poccce -> wce/poccarm The idea is that this way we may continue adding support for non-ARM WinCE platforms, if needed. It also makes it easier to do things globally for wce platform only. 2009-03-31 11:46 UTC+0200 Viktor Szakats * INSTALL * Moved Windows CE compilers into a separate section. * bin/hb-mkdyn.bat * Changes made to allow wce arch. (provision for wce arch) * mpkg_win.bat * Allows to override HB_ARCHITECTURE. (provision for wce arch) + Include arch in target directory. (provision for wce arch) * include/hbatomic.h - Turned off inline asm for _MSC_VER compilers in 64-bit mode. (pocc64, msvc64) These target don't support inline asm. This fixes previously reported regressions with these targets. * utils/hbmk2/hbmk2.prg % win/owatcom: Pentium Pro scheduling. * win/owatcom: Temply set back stack calling convention. * external/libhpdf/Makefile - Disabled for pocc64 due to errors, even internal compiler error: --- can't spill register variable: rcx (3) image ../../hpdf_image.c(480): fatal error: Internal error: best_spillee. --- * config/win/bcc.cf + Added comment about -4, -5, -6. * ChangeLog ! Minor fix to prev entry. 2009-03-31 01:50 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/hbqt/Makefile % Makefile is auto generated by <hbqtgen.exe> and is placed in hbqt/gensource. * harbour/contrib/hbqt/hbqt_base.cpp * harbour/contrib/hbqt/hbqt_qabstractbutton.cpp * harbour/contrib/hbqt/hbqt_qabstractitemview.cpp * harbour/contrib/hbqt/hbqt_qabstractprintdialog.cpp * harbour/contrib/hbqt/hbqt_qabstractscrollarea.cpp * harbour/contrib/hbqt/hbqt_qabstractslider.cpp * harbour/contrib/hbqt/hbqt_qabstractspinbox.cpp * harbour/contrib/hbqt/hbqt_qaction.cpp * harbour/contrib/hbqt/hbqt_qapplication.cpp * harbour/contrib/hbqt/hbqt_qboxlayout.cpp + harbour/contrib/hbqt/hbqt_qbrush.cpp * harbour/contrib/hbqt/hbqt_qcalendarwidget.cpp * harbour/contrib/hbqt/hbqt_qcheckbox.cpp + harbour/contrib/hbqt/hbqt_qcolor.cpp * harbour/contrib/hbqt/hbqt_qcolordialog.cpp * harbour/contrib/hbqt/hbqt_qcombobox.cpp * harbour/contrib/hbqt/hbqt_qcommandlinkbutton.cpp * harbour/contrib/hbqt/hbqt_qcoreapplication.cpp - harbour/contrib/hbqt/hbqt_qcqlendarwidget.cpp * harbour/contrib/hbqt/hbqt_qdateedit.cpp * harbour/contrib/hbqt/hbqt_qdatetimeedit.cpp * harbour/contrib/hbqt/hbqt_qdial.cpp * harbour/contrib/hbqt/hbqt_qdialog.cpp * harbour/contrib/hbqt/hbqt_qdoublespinbox.cpp * harbour/contrib/hbqt/hbqt_qerrormessage.cpp * harbour/contrib/hbqt/hbqt_qfiledialog.cpp * harbour/contrib/hbqt/hbqt_qfocusframe.cpp * harbour/contrib/hbqt/hbqt_qfont.cpp * harbour/contrib/hbqt/hbqt_qfontcombobox.cpp * harbour/contrib/hbqt/hbqt_qfontdialog.cpp * harbour/contrib/hbqt/hbqt_qformlayout.cpp * harbour/contrib/hbqt/hbqt_qframe.cpp * harbour/contrib/hbqt/hbqt_qgroupbox.cpp * harbour/contrib/hbqt/hbqt_qhboxlayout.cpp * harbour/contrib/hbqt/hbqt_qinputdialog.cpp * harbour/contrib/hbqt/hbqt_qlabel.cpp * harbour/contrib/hbqt/hbqt_qlayout.cpp * harbour/contrib/hbqt/hbqt_qlayoutitem.cpp * harbour/contrib/hbqt/hbqt_qlcdnumber.cpp * harbour/contrib/hbqt/hbqt_qlineedit.cpp * harbour/contrib/hbqt/hbqt_qlistview.cpp * harbour/contrib/hbqt/hbqt_qmainwindow.cpp * harbour/contrib/hbqt/hbqt_qmenu.cpp * harbour/contrib/hbqt/hbqt_qmenubar.cpp * harbour/contrib/hbqt/hbqt_qmessagebox.cpp * harbour/contrib/hbqt/hbqt_qobject.cpp * harbour/contrib/hbqt/hbqt_qpagesetupdialog.cpp + harbour/contrib/hbqt/hbqt_qpaintdevice.cpp + harbour/contrib/hbqt/hbqt_qpainter.cpp + harbour/contrib/hbqt/hbqt_qpen.cpp * harbour/contrib/hbqt/hbqt_qprintdialog.cpp * harbour/contrib/hbqt/hbqt_qprintpreviewdialog.cpp * harbour/contrib/hbqt/hbqt_qprogressbar.cpp * harbour/contrib/hbqt/hbqt_qprogressdialog.cpp * harbour/contrib/hbqt/hbqt_qpushbutton.cpp * harbour/contrib/hbqt/hbqt_qradiobutton.cpp * harbour/contrib/hbqt/hbqt_qscrollarea.cpp * harbour/contrib/hbqt/hbqt_qscrollbar.cpp * harbour/contrib/hbqt/hbqt_qsizegrip.cpp * harbour/contrib/hbqt/hbqt_qslider.cpp * harbour/contrib/hbqt/hbqt_qspinbox.cpp * harbour/contrib/hbqt/hbqt_qsplitter.cpp * harbour/contrib/hbqt/hbqt_qtabbar.cpp * harbour/contrib/hbqt/hbqt_qtableview.cpp * harbour/contrib/hbqt/hbqt_qtablewidget.cpp * harbour/contrib/hbqt/hbqt_qtablewidgetitem.cpp * harbour/contrib/hbqt/hbqt_qtabwidget.cpp * harbour/contrib/hbqt/hbqt_qtextedit.cpp * harbour/contrib/hbqt/hbqt_qtimeedit.cpp * harbour/contrib/hbqt/hbqt_qtoolbar.cpp * harbour/contrib/hbqt/hbqt_qtoolbox.cpp * harbour/contrib/hbqt/hbqt_qtoolbutton.cpp * harbour/contrib/hbqt/hbqt_qtreeview.cpp * harbour/contrib/hbqt/hbqt_qtreewidget.cpp * harbour/contrib/hbqt/hbqt_qtreewidgetitem.cpp * harbour/contrib/hbqt/hbqt_qvboxlayout.cpp + harbour/contrib/hbqt/hbqt_qwebpage.cpp * harbour/contrib/hbqt/hbqt_qwebview.cpp * harbour/contrib/hbqt/hbqt_qwidget.cpp * harbour/contrib/hbqt/hbqt_qwizard.cpp * harbour/contrib/hbqt/hbqt_slots.cpp * harbour/contrib/hbqt/hbqt_utils.cpp * harbour/contrib/hbqt/moc_slots.cpp * harbour/contrib/hbqt/hbqt.h + harbour/contrib/hbqt/hbqt_slots.h - harbour/contrib/hbqt/slots.h +- Added | Changed | Deleted Sources. Now these sources are auto generated by the HB-QT generator. Please never try to modify these. Instead look at /qth folder and .qth source definition files. I will write a detailed description once it becomes fully operational as I have drawn on the drawing board. The above code is fully functional to the extent it is generated but still about 30% functions have not been translated. A work in progress... + harbour/contrib/hbqt/TQAbstractButton.prg + harbour/contrib/hbqt/TQAbstractItemView.prg + harbour/contrib/hbqt/TQAbstractPrintDialog.prg + harbour/contrib/hbqt/TQAbstractScrollArea.prg + harbour/contrib/hbqt/TQAbstractSlider.prg + harbour/contrib/hbqt/TQAbstractSpinBox.prg + harbour/contrib/hbqt/TQAction.prg + harbour/contrib/hbqt/TQBoxLayout.prg + harbour/contrib/hbqt/TQCalendarWidget.prg + harbour/contrib/hbqt/TQCheckBox.prg + harbour/contrib/hbqt/TQColorDialog.prg + harbour/contrib/hbqt/TQComboBox.prg + harbour/contrib/hbqt/TQCommandLinkButton.prg + harbour/contrib/hbqt/TQDateEdit.prg + harbour/contrib/hbqt/TQDateTimeEdit.prg + harbour/contrib/hbqt/TQDial.prg + harbour/contrib/hbqt/TQDialog.prg + harbour/contrib/hbqt/TQDoubleSpinBox.prg + harbour/contrib/hbqt/TQErrorMessage.prg + harbour/contrib/hbqt/TQFileDialog.prg + harbour/contrib/hbqt/TQFocusFrame.prg + harbour/contrib/hbqt/TQFontComboBox.prg + harbour/contrib/hbqt/TQFontDialog.prg + harbour/contrib/hbqt/TQFormLayout.prg + harbour/contrib/hbqt/TQFrame.prg + harbour/contrib/hbqt/TQGroupBox.prg + harbour/contrib/hbqt/TQHBoxLayout.prg + harbour/contrib/hbqt/TQInputDialog.prg + harbour/contrib/hbqt/TQLabel.prg + harbour/contrib/hbqt/TQLayout.prg + harbour/contrib/hbqt/TQLayoutItem.prg + harbour/contrib/hbqt/TQLCDNumber.prg + harbour/contrib/hbqt/TQLineEdit.prg + harbour/contrib/hbqt/TQListView.prg + harbour/contrib/hbqt/TQMainWindow.prg + harbour/contrib/hbqt/TQMenu.prg + harbour/contrib/hbqt/TQMenuBar.prg + harbour/contrib/hbqt/TQMessageBox.prg + harbour/contrib/hbqt/TQObject.prg + harbour/contrib/hbqt/TQPageSetupDialog.prg + harbour/contrib/hbqt/TQPaintDevice.prg + harbour/contrib/hbqt/TQPainter.prg + harbour/contrib/hbqt/TQPrintDialog.prg + harbour/contrib/hbqt/TQPrintPreviewDialog.prg + harbour/contrib/hbqt/TQProgressBar.prg + harbour/contrib/hbqt/TQProgressDialog.prg + harbour/contrib/hbqt/TQPushButton.prg + harbour/contrib/hbqt/TQRadioButton.prg + harbour/contrib/hbqt/TQScrollArea.prg + harbour/contrib/hbqt/TQScrollBar.prg + harbour/contrib/hbqt/TQSizeGrip.prg + harbour/contrib/hbqt/TQSlider.prg + harbour/contrib/hbqt/TQSpinBox.prg + harbour/contrib/hbqt/TQSplitter.prg + harbour/contrib/hbqt/TQTabBar.prg + harbour/contrib/hbqt/TQTableView.prg + harbour/contrib/hbqt/TQTableWidget.prg + harbour/contrib/hbqt/TQTableWidgetItem.prg + harbour/contrib/hbqt/TQTabWidget.prg + harbour/contrib/hbqt/TQTextEdit.prg + harbour/contrib/hbqt/TQTimeEdit.prg + harbour/contrib/hbqt/TQToolBar.prg + harbour/contrib/hbqt/TQToolBox.prg + harbour/contrib/hbqt/TQToolButton.prg + harbour/contrib/hbqt/TQTreeView.prg + harbour/contrib/hbqt/TQTreeWidget.prg + harbour/contrib/hbqt/TQTreeWidgetItem.prg + harbour/contrib/hbqt/TQVBoxLayout.prg + harbour/contrib/hbqt/TQWebPage.prg + harbour/contrib/hbqt/TQWebView.prg + harbour/contrib/hbqt/TQWidget.prg + harbour/contrib/hbqt/TQWizard.prg + Added auto generated classes with exact same class hierarchy which QT has outlined with inheritance. QT implements constructors with dynamic parameters which on prg level are difficult to manage. So I have adopted a simple approach. :New() accepts only one argument <pParent> i.e., pointer to the parent object, if any, and which is universal in QT implementation. This class implementation implies that PRG code will pass <pPointer> to a method and will receive <oObject> | <pPointer>. We can build higher-level classes inheriting from above and implement whatever way we wish to pass and receive objects. I would like those higher level classes to confirm Xbase++ standards. * harbour/contrib/hbqt/qth/QAbstractButton.qth * harbour/contrib/hbqt/qth/QAbstractItemView.qth * harbour/contrib/hbqt/qth/QAbstractPrintDialog.qth * harbour/contrib/hbqt/qth/QAbstractScrollArea.qth * harbour/contrib/hbqt/qth/QAbstractSlider.qth * harbour/contrib/hbqt/qth/QAbstractSpinBox.qth * harbour/contrib/hbqt/qth/QAction.qth * harbour/contrib/hbqt/qth/QBoxLayout.qth * harbour/contrib/hbqt/qth/QCalendarWidget.qth * harbour/contrib/hbqt/qth/QCheckBox.qth * harbour/contrib/hbqt/qth/QColorDialog.qth * harbour/contrib/hbqt/qth/QComboBox.qth * harbour/contrib/hbqt/qth/QCommandLinkButton.qth * harbour/contrib/hbqt/qth/QDateEdit.qth * harbour/contrib/hbqt/qth/QDateTimeEdit.qth * harbour/contrib/hbqt/qth/QDial.qth * harbour/contrib/hbqt/qth/QDialog.qth * harbour/contrib/hbqt/qth/QDoubleSpinBox.qth * harbour/contrib/hbqt/qth/QErrorMessage.qth * harbour/contrib/hbqt/qth/QFileDialog.qth * harbour/contrib/hbqt/qth/QFocusFrame.qth * harbour/contrib/hbqt/qth/QFontComboBox.qth * harbour/contrib/hbqt/qth/QFontDialog.qth * harbour/contrib/hbqt/qth/QFormLayout.qth * harbour/contrib/hbqt/qth/QFrame.qth * harbour/contrib/hbqt/qth/QGroupBox.qth * harbour/contrib/hbqt/qth/QHBoxLayout.qth * harbour/contrib/hbqt/qth/QInputDialog.qth * harbour/contrib/hbqt/qth/QLabel.qth * harbour/contrib/hbqt/qth/QLayout.qth * harbour/contrib/hbqt/qth/QLayoutItem.qth * harbour/contrib/hbqt/qth/QLCDNumber.qth * harbour/contrib/hbqt/qth/QLineEdit.qth * harbour/contrib/hbqt/qth/QListView.qth * harbour/contrib/hbqt/qth/QMainWindow.qth * harbour/contrib/hbqt/qth/QMenu.qth * harbour/contrib/hbqt/qth/QMenuBar.qth * harbour/contrib/hbqt/qth/QMessageBox.qth * harbour/contrib/hbqt/qth/QObject.qth * harbour/contrib/hbqt/qth/QPageSetupDialog.qth + harbour/contrib/hbqt/qth/QPaintDevice.qth * harbour/contrib/hbqt/qth/QPainter.qth * harbour/contrib/hbqt/qth/QPrintDialog.qth * harbour/contrib/hbqt/qth/QPrintPreviewDialog.qth * harbour/contrib/hbqt/qth/QProgressBar.qth + harbour/contrib/hbqt/qth/QProgressDialog.qth * harbour/contrib/hbqt/qth/QPushButton.qth * harbour/contrib/hbqt/qth/QRadioButton.qth * harbour/contrib/hbqt/qth/QScrollArea.qth * harbour/contrib/hbqt/qth/QScrollBar.qth * harbour/contrib/hbqt/qth/QSizeGrip.qth * harbour/contrib/hbqt/qth/QSlider.qth * harbour/contrib/hbqt/qth/QSpinBox.qth * harbour/contrib/hbqt/qth/QSplitter.qth * harbour/contrib/hbqt/qth/QTabBar.qth * harbour/contrib/hbqt/qth/QTableView.qth * harbour/contrib/hbqt/qth/QTableWidget.qth * harbour/contrib/hbqt/qth/QTableWidgetItem.qth * harbour/contrib/hbqt/qth/QTabWidget.qth * harbour/contrib/hbqt/qth/QTextEdit.qth * harbour/contrib/hbqt/qth/QTimeEdit.qth * harbour/contrib/hbqt/qth/QToolBar.qth * harbour/contrib/hbqt/qth/QToolBox.qth * harbour/contrib/hbqt/qth/QToolButton.qth * harbour/contrib/hbqt/qth/QTreeView.qth * harbour/contrib/hbqt/qth/QTreeWidget.qth * harbour/contrib/hbqt/qth/QTreeWidgetItem.qth * harbour/contrib/hbqt/qth/QVBoxLayout.qth + harbour/contrib/hbqt/qth/QWebPage.qth + harbour/contrib/hbqt/qth/QWebView.qth * harbour/contrib/hbqt/qth/QWidget.qth + harbour/contrib/hbqt/qth/QWizard.qth + Added | Changed source definitions to honor class construction. * harbour/contrib/hbqt/generator/hbqtgen.prg ! Enhanced to generate .cpp | .h | .prg | .txt. Now .cpp sources contain information about which functions are still awaiting to be included plus the percentage in this form: - 189/229 [ 73.78% ] * harbour/contrib/hbqt/generator/qt45.qtp ! Added new .qth source definitions. * harbour/contrib/hbqt/tests/demoqt.prg ! Auto generated demo program. Just play with it and you will be surprised how simple it is to use QT; all gadgets provided. SUMUP: Auto Generated Files: - hbqt/gensource/hbqt_q*.cpp source files - hbqt/doc/Q*.txt documentation on function calls - hbqt/tests/demoqt.prg demonstration program - hbqt/gensource/hbqt.h - hbqt/gensource/hbqt_slots.h - hbqt/gensource/hbqt_slots.cpp - hbqt/gensource/hbqt_base.cpp - hbqt/gensource/moc_slots.cpp PROGNOSIS: - Stay in harbour/contrib/hbqt/generator - hbmk2.exe hbqtgen - del ..\gensource\*.* - del ..\doc\*.* - hbqtgen.exe qt45.qtp - cd .. - you should be staying at harbour/contrib/hbqt - del *.* ( be careful that you are under the right folder ) - copy gensource/*.* - invoke QT specific build batch - cd tests - hbmk2.exe demoqt - demoqt.exe - . - play with gadgets 2009-03-31 02:58 UTC+0200 Viktor Szakats * include/hbsetup.h % '( defined(__POCC_TARGET__) && __POCC_TARGET__ == 2 ) )' removed altogether. WinCE is detected anyway by using _WINCE. * external/sqlite3/Makefile - Disabled for poccce due to errors. * external/libpng/Makefile ! Fix to prev (poccce). * config/win/poccce.cf ! Added -D_M_ARM. * config/win/owatcom.cf % Pentium Pro scheduling. * Changed back to __cdecl calling convention from register based until we find a way to tweak HB_EXPORT to force __cdecl for .dll exported functions. ; FIXME: Find out how to force __cdecl for HB_EXPORT functions in owatcom. Or, if this is no good solution for owatcom users, or not an option and performace is more important, we must rename owatcom Harbour .dlls to a distinct name: harbour[mt]-11-ow.dll. We should try to avoid that. [SOLVED] * config/win/bcc.cf % -4 -> -6 for Pentium Pro instructions. Looking at the generated code this looks like rescheduling, if someone now can test Harbour or plain Pentium, it would be good to know if it still works. 2009-03-31 02:46 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/config/dos/owatcom.cf * harbour/config/win/owatcom.cf * harbour/config/linux/owatcom.cf * harbour/config/os2/owatcom.cf * harbour/utils/hbmk2/hbmk2.prg * removed unnecessary linker options * use 'SYS causeway' to enable causeway stub in DOS builds instead of setting it manually. DOS users can also use DOS4G (default) or PMODE (commercial) stubs. 2009-03-31 01:28 UTC+0200 Viktor Szakats * external/libhpdf/Makefile * external/libpng/Makefile * contrib/hbqt/Makefile - Disabled for poccce due to errors. 2009-03-30 23:56 UTC+0200 Francesco Saverio Giudice (info/at/fsgiudice.com) * harbour/contrib/examples/uhttpd/uhttpd.prg ! fixed CGI POST variables handling now it sends correctly variables to external executables. 2009-03-30 23:02 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/gtwvg/Makefile ! check HB_ARCHITECTURE=win before compiling GTWVG. It fixes non Windows OpenWatcom and ICC builds. 2009-03-30 22:17 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/dlmalloc.c ! fixed casting * harbour/source/vm/fm.c % use DLMALLOC as default memory manager in OpenWatcom Windows builds. Warning: HB_FM_DLMT_ALLOC does not work with OpenWatcom. * harbour/config/dos/owatcom.cf * harbour/config/win/owatcom.cf * harbour/config/linux/owatcom.cf * harbour/config/os2/owatcom.cf * changed alignment settings from 8 to 4 * synced optimization flags used in different builds ! fixed linker parameters when HB_BUILD_DEBUG=yes is set ; TODO: Verify: I do not remember what calling convention should be used in OpenWatcom MT OS2 builds to eliminate GPF when APIENTRY16 functions are called. It's possible that current settings are wrong. * harbour/config/win/owatcom.cf * removed STACK=65536 from OpenWatcom linker parameters. This switch probably was inherited from old DOS WatcomC builds. Later I'll test current OpwnWatcom builds to check if we can also remove it from DOS builds when cwstub.exe is used. * restored -bm switch. When DLMALLOC is used it does not cause noticeable performance reduction. * use default register calling convention. We can change it in the future but 1st we should check the performance overhead. If calling convention is a problem only for .DLLs then it can be resolved by modifying HB_EXTERN declaration and adding function attributes which will force given calling convention. * harbour/config/linux/owatcom.cf * enabled pentium pro instruction in OpenWatcom Linux builds. It reduces the code size and increase performance a little bit. Windows users which do not need pure pentium CPU support can make the same. * harbour/utils/hbmk2/hbmk2.prg ! fixed object extension used in OpenWatcom Linux builds: it's .o not .obj ! fixed linker parameters in OpenWatcom Linux builds: DEBUG ALL is single option ! fixed OpenWatcom calling convention settings. Viktor you cannot chose simultaneously register and stack calling convention. You have to chose one and keep it synced with Harbour compile time settings. Otherwise you will have unresolved external or you will force creating by linker dynamically function call wrappers (of course if OW support such functionality) what may strongly reduce the performance. ! removed -j compile time switch - it's not used to compile core code * synced optimization flags with core code I'm really interested in current OpenWatcom speedtst results compared with other Windows builds (MSVC, MinGW, BCC, POCC) in ST and MT builds. 2009-03-30 21:05 UTC+0200 Francesco Saverio Giudice (info/at/fsgiudice.com) * harbour/contrib/examples/uhttpd/uhttpd.prg * error string formatting using hb_GTInfo() functions. Tested only in windows. * harbour/contrib/examples/uhttpd/session.prg + added retrying in case of error in writing / deleting session files. * harbour/contrib/examples/uhttpd/cgifunc.prg * changed FCreate() to hb_FCreate() 2009-03-30 20:13 UTC+0200 Francesco Saverio Giudice (info/at/fsgiudice.com) * harbour/contrib/examples/uhttpd/uhttpd.prg + added support for closing console using "X" system button using hb_GTInfo() functions. Tested only in windows. * formatting * harbour/contrib/examples/uhttpd/uhttpdc.c * added WM_CLOSE event in win_SysRefresh() * harbour/contrib/examples/uhttpd/session.prg * minor change 2009-03-30 17:28 UTC+0200 Viktor Szakats * contrib/hbfbird/Makefile * contrib/gtalleg/Makefile - Disabled for poccce due to errors. * contrib/hbfimage/fi_winfu.c - Disabled Windows specific functions for poccce due to errors. * config/win/owatcom.cf % Removed -bm (MT mode) switch, because besides creating MT friendly code, it kills performance. Pls shout if MT mode is now broken in any ways. * mpkg_win.bat * Generate .zip file first. 2009-03-30 13:53 UTC+0200 Viktor Szakats * contrib/gtalleg/Makefile - Disabled for minwgce. 2009-03-30 13:10 UTC+0200 Viktor Szakats * INSTALL * Split Windows compiler list to 'recommended' and 'supported' sublists. Recommended are MinGW and MSVC. Some comments on the rest: - pocc: lack of 3rd party support, mediocre performance. - owatcom: lack of 3rd party support, bad performance, proprietary object format. - bcc: lack of 3rd party support, mediocre performance, has known bugs, proprietary object/dll format. - xcc: for testing only. - icc: for testing and code validation only. - cygwin: for some niche purposes. MinGW is a superior choice. * mpkg_win.bat + Added support for mingw64 and mingwce. 2009-03-30 12:32 UTC+0200 Viktor Szakats * contrib/hbqt/Makefile - Disabled for bcc and pocc due to compilation error. ; Maybe it's possible to make them work (at least bcc) by using some special defines, please play with it if you're interested. QT seems to like MinGW the best MSVC is also high on the support list, so IMO we should also put the focus there. 2009-03-30 11:21 UTC+0200 Viktor Szakats * contrib/hbqt/Makefile - Disabled for owatcom due to compilation error. * contrib/hbhpdf/tests/hbhpdf.hbp + Added libpng. 2009-03-30 11:12 UTC+0200 Viktor Szakats * external/libhpdf/Makefile - Disabled for owatcom due to compilation error. If someone is interested in patching it for this compiler, please do. 2009-03-30 10:27 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Don't attempt to strip leading 'lib' from libnames, since this breaks libs which actually begin with 'lib', not meant as a prefix. E.g. libpng, libhpdf, libjpeg. * contrib/hbqt/tests/hbqt.hbp + Added static QT libname as comment (for now). 2009-03-30 11:30 UTC+0200 Petr Chornyj (myorg63 at mail.ru) * contrib/hbsqlit3/hbsqlit3.ch * contrib/hbsqlit3/hbsqlit3.c * Added support for sqlite_exec() callback. Now the 3rd parameter is an optional callback that is invoked once for each row of any query results. * Now we can pass name of logfile as third parameter of sqlite3_trace(), sqlite3_profile(). + Added sqlite3_set_authorizer() - Compile-Time Authorization Callbacks. + Added sqlite3_busy_handler() - A Callback To Handle SQLITE_BUSY Errors. + Added sqlite3_progress_handler() - Query Progress Callbacks. + Added sqlite3_commit_hook(), sqlite3_rollback_hook() - Commit And Rollback Notification Callbacks + Added sqlite3_backup_*() API for backups purposes. + Added sqlite3_initialize(), sqlite3_shutdown(), sqlite3_interrupt(), sqlite3_status(), sqlite3_db_status(), sqlite3_stmt_status(), sqlite3_sql(), sqlite3_extended_errcode(), sqlite3_threadsafe(), sqlite3_memory_used(), sqlite3_memory_highwater(). ! Fixed sqlite3_table_column_metadata(). - Temporary disabled sqlite3_db_handle(). * Minor changes, cleanup and formating. + contrib/hbsqlit3/tests/authorizer.prg + contrib/hbsqlit3/tests/backup.prg + contrib/hbsqlit3/tests/hooks.prg + Added for demonstration of new possibilities. + contrib/hbsqlit3/tests/metadata.prg * Minor changes 2009-03-30 10:01 UTC+0200 Viktor Szakats * config/win/owatcom.cf * config/linux/owatcom.cf * config/os2/owatcom.cf - Reverted yesterdays attempt to make owatcom builds faster. After the change the compilation time went slower, the binaries got smaller, but execution speed got actually worse. I've left -oz option removed for win, that's the only remaining change, plus -5r in os2/dos. owatcom seems not very useful for production. 2009-03-30 09:37 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added two Windows system libs. (also needed for QT) 2009-03-29 22:46 UTC+0200 Viktor Szakats * contrib/xhb/hbserv.c ! Fixed issues with prev commit. (Thanks Francesco) 2009-03-29 09:03 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) + harbour/contrib/hbqt/doc + Added folder to receive auto-generated Q*.txt documentation files with PRG level functions with parameters and return value like: Qt_QWidget_setContentsMargins( pQWidget, nLeft, nTop, nRight, nBottom ) -> NIL + harbour/contrib/hbqt/gensource + Added folder to receive auto generated .cpp sources. The idea is to have freedom to generate sources and test them prior to committing to distribution folder. * harbour/contrib/hbqt/hbqt.h + Added more parameter and return macros. + harbour/contrib/hbqt/hbqt_utils.c + Added generic conversion routins to support parameters and return values. + harbour/contrib/hbqt/hbqt_qtreewidget.cpp + harbour/contrib/hbqt/hbqt_qtreewidgetitem.cpp * harbour/contrib/hbqt/hbqt_qtreeview.cpp * harbour/contrib/hbqt/generator/hbqtgen.prg ! Rearrangement of sequences in .qht files. Implemented project files with .qtp extension. Implemented auto generation of document files with .txt extension. USAGE: hbqtgen.exe @qt45.qtp will generate files as: . ../gensource/hbqt_Q*.cpp ../doc/Q*.txt + harbour/contrib/hbqt/generator/qt45.qtp + Added project file to generate sources and documenttaion for tested widgets. + harbour/contrib/hbqt/qth/QAbstractButton.qth + harbour/contrib/hbqt/qth/QAbstractItemView.qth + harbour/contrib/hbqt/qth/QAbstractPrintDialog.qth + harbour/contrib/hbqt/qth/QAbstractScrollArea.qth + harbour/contrib/hbqt/qth/QAbstractSlider.qth + harbour/contrib/hbqt/qth/QAbstractSpinBox.qth + harbour/contrib/hbqt/qth/QAction.qth + harbour/contrib/hbqt/qth/QApplication.qth + harbour/contrib/hbqt/qth/QBoxLayout.qth + harbour/contrib/hbqt/qth/QBrush.qth + harbour/contrib/hbqt/qth/QCalendarWidget.qth + harbour/contrib/hbqt/qth/QCheckBox.qth + harbour/contrib/hbqt/qth/QColor.qth + harbour/contrib/hbqt/qth/QColorDialog.qth + harbour/contrib/hbqt/qth/QComboBox.qth + harbour/contrib/hbqt/qth/QCommandLinkButton.qth + harbour/contrib/hbqt/qth/QCoreApplication.qth + harbour/contrib/hbqt/qth/QDateEdit.qth + harbour/contrib/hbqt/qth/QDateTimeEdit.qth + harbour/contrib/hbqt/qth/QDial.qth + harbour/contrib/hbqt/qth/QDialog.qth + harbour/contrib/hbqt/qth/QDoubleSpinBox.qth + harbour/contrib/hbqt/qth/QErrorMessage.qth + harbour/contrib/hbqt/qth/QFileDialog.qth + harbour/contrib/hbqt/qth/QFocusFrame.qth + harbour/contrib/hbqt/qth/QFont.qth + harbour/contrib/hbqt/qth/QFontComboBox.qth + harbour/contrib/hbqt/qth/QFontDialog.qth + harbour/contrib/hbqt/qth/QFormLayout.qth + harbour/contrib/hbqt/qth/QFrame.qth + harbour/contrib/hbqt/qth/QGroupBox.qth + harbour/contrib/hbqt/qth/QHBoxLayout.qth + harbour/contrib/hbqt/qth/QInputDialog.qth + harbour/contrib/hbqt/qth/QLabel.qth + harbour/contrib/hbqt/qth/QLayout.qth + harbour/contrib/hbqt/qth/QLayoutItem.qth + harbour/contrib/hbqt/qth/QLCDNumber.qth + harbour/contrib/hbqt/qth/QLineEdit.qth + harbour/contrib/hbqt/qth/QListView.qth + harbour/contrib/hbqt/qth/QMainWindow.qth + harbour/contrib/hbqt/qth/QMenu.qth + harbour/contrib/hbqt/qth/QMenuBar.qth + harbour/contrib/hbqt/qth/QMessageBox.qth + harbour/contrib/hbqt/qth/QObject.qth + harbour/contrib/hbqt/qth/QPageSetupDialog.qth + harbour/contrib/hbqt/qth/QPainter.qth + harbour/contrib/hbqt/qth/QPen.qth + harbour/contrib/hbqt/qth/QPrintDialog.qth + harbour/contrib/hbqt/qth/QPrintPreviewDialog.qth + harbour/contrib/hbqt/qth/QProgressBar.qth + harbour/contrib/hbqt/qth/QPushButton.qth + harbour/contrib/hbqt/qth/QRadioButton.qth + harbour/contrib/hbqt/qth/QScrollArea.qth + harbour/contrib/hbqt/qth/QScrollBar.qth + harbour/contrib/hbqt/qth/QSizeGrip.qth + harbour/contrib/hbqt/qth/QSlider.qth + harbour/contrib/hbqt/qth/QSpinBox.qth + harbour/contrib/hbqt/qth/QSplitter.qth + harbour/contrib/hbqt/qth/QTabBar.qth + harbour/contrib/hbqt/qth/QTableView.qth + harbour/contrib/hbqt/qth/QTableWidget.qth + harbour/contrib/hbqt/qth/QTableWidgetItem.qth + harbour/contrib/hbqt/qth/QTabWidget.qth + harbour/contrib/hbqt/qth/QTextEdit.qth + harbour/contrib/hbqt/qth/QTimeEdit.qth + harbour/contrib/hbqt/qth/QToolBar.qth + harbour/contrib/hbqt/qth/QToolBox.qth + harbour/contrib/hbqt/qth/QToolButton.qth + harbour/contrib/hbqt/qth/QTreeView.qth + harbour/contrib/hbqt/qth/QTreeWidget.qth + harbour/contrib/hbqt/qth/QTreeWidgetItem.qth + harbour/contrib/hbqt/qth/QVBoxLayout.qth + harbour/contrib/hbqt/qth/QWidget.qth + Added or changed(4) base header input files to generate sources. ; TODO - Create <Makefile> for generated sources. [DONE] - Generate Classes based on compiled members supporting QT's class hirarchy. As of now generated sources have limited usage. [DONE] ; REQUEST ( Przemek ) - Can you please provide a GTWVT.C like skeleton .cpp which I could use as a base for GTQTC ? 2009-03-29 22:26 UTC+0200 Viktor Szakats * config/dos/owatcom.cf * config/win/owatcom.cf * config/linux/owatcom.cf * config/os2/owatcom.cf % Tweaked optimization options. This will result in slower build process, but more optimal runtime performance and executable sizes. One option is now turned on which can cause bad code with OW 1.1, so make sure you use latest Open Watcom version, after all the upgrade is free. It'd be great if owatcom users could make speedtst runs with this revision and older ones to see the difference, maybe now owatcom won't perform so poorly as before. + Added link to C compiler option docs. ! Fixed to convert slashes in HB_USER_CFLAGS. % Enabled -5r for DOS and OS/2. * contrib/hbct/disk.c ! Disabled some volume/disk related code for WinCE. * contrib/xhb/hbserv.c ! Disabled for poccce. * contrib/hbnf/getenvrn.c ! Disabled FT_GETE() for poccce. ! Fixed FT_GETE() to return zero/empty string on platforms not supported (like also OS/2). * doc/en-EN/Makefile - doc/en-EN/error.txt + doc/en-EN/errsys.txt * source/rtl/Makefile - source/rtl/fserror.c - source/rtl/errorapi.c - source/rtl/errorapu.c - source/rtl/errorint.c - source/rtl/errorsys.prg + source/rtl/fserr.c + source/rtl/errapi.c + source/rtl/errint.c + source/rtl/errapiu.c + source/rtl/errsys.prg * contrib/examples/hbdoc/examples/core_es/Makefile - contrib/examples/hbdoc/examples/core_es/error.txt + contrib/examples/hbdoc/examples/core_es/errsys.txt * Most filenames containing 'error' renamed to make it easier to search for errors in build logs. ; Three headers remain. 2009-03-29 22:07 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/tests/speedtst.prg * added warning message when HVM debugger is enabled 2009-03-29 19:52 UTC+0200 Viktor Szakats * external/sqlite3/Makefile ! Added necessary configuration for WinCE builds. * bin/hb-func.sh * source/vm/maindllp.c * mingwce will now generate dll by the name: harbour*-*-arm.dll ; FIXME: mingwce .dlls should probably be generated in bin dir just like in every other cases, but I don't know why it's explicitly put in lib dir in this case. * bin/hb-mkdyn.bat + Added .dll generation for msvcce and poccce. * source/vm/maindllp.c * Formatting. ! Fixed to compile for WinCE. Please review me. * contrib/hbct/disk.c ! DRIVETYPE() made a dummy under WinCE to make it compile. * contrib/gtwvg/Makefile ! Limited GTWVG builds to 32-bit Windows compilers as it's still broken for WinCE, this time with pocce. Notice HB_OS* macros aren't available before #including Harbour headers. Reenable them after being fixed and tested. * contrib/hbole/olecore.c ! Fixed compilation errors below with poccce. Please review me. pocc.exe -I. -Ze -Go -W1 -Ot -Tarm-coff -D_WINCE -DUNICODE -DHB_NO_WIN_CONSOLE -I../../../../include -c ../../olecore.c -Foolecore.obj ../../olecore.c(188): error #2152: Unknown field 'llVal' of 'union (no name)'. ../../olecore.c(273): error #2152: Unknown field 'llVal' of 'union (no name)'. ../../olecore.c(290): error #2152: Unknown field 'ullVal' of 'union (no name)'. * contrib/hbsqlit3/Makefile ! Excluded for poccce. ; FIXME: pocc.exe -I. -Ze -Go -W1 -Ot -Tarm-coff -D_WINCE -DUNICODE -DHB_NO_WIN_CONSOLE -I../../../../include -c ../../getenvrn.c -Fogetenvrn.obj ../../getenvrn.c(177): warning #2027: Missing prototype for 'GetEnvironmentStrings'. ../../getenvrn.c(177): error #2168: Operands of = have incompatible types 'wchar_t *' and 'int'. ../../getenvrn.c(246): warning #2027: Missing prototype for 'FreeEnvironmentStrings'. pocc.exe -I. -Ze -Go -W1 -Ot -Tarm-coff -D_WINCE -DUNICODE -DHB_NO_WIN_CONSOLE -I../../../../include -c ../../hbserv.c -Fohbserv.obj ../../hbserv.c(391): error #2048: Undeclared identifier 'CTRL_C_EVENT'. ../../hbserv.c(392): error #2048: Undeclared identifier 'CTRL_BREAK_EVENT'. ../../hbserv.c(393): error #2048: Undeclared identifier 'CTRL_CLOSE_EVENT'. ../../hbserv.c(394): error #2048: Undeclared identifier 'CTRL_LOGOFF_EVENT'. ../../hbserv.c(395): error #2048: Undeclared identifier 'CTRL_SHUTDOWN_EVENT'. ../../hbserv.c(398): error #2069: Initializer must be constant. ../../hbserv.c(511): warning #2027: Missing prototype for 'CallNextHookEx'. ../../hbserv.c(528): warning #2027: Missing prototype for 'CallNextHookEx'. ../../hbserv.c(635): error #2048: Undeclared identifier 'SEM_NOALIGNMENTFAULTEXCEPT'. ../../hbserv.c(635): error #2048: Undeclared identifier 'SEM_NOGPFAULTERRORBOX'. ../../hbserv.c(636): error #2048: Undeclared identifier 'SEM_NOOPENFILEERRORBOX'. ../../hbserv.c(638): warning #2027: Missing prototype for 'SetUnhandledExceptionFilter'. ../../hbserv.c(639): warning #2027: Missing prototype for 'SetWindowsHookEx'. ../../hbserv.c(639): error #2048: Undeclared identifier 'WH_GETMESSAGE'. ../../hbserv.c(639): error #2048: Undeclared identifier 'HOOKPROC'. ../../hbserv.c(639): error #2001: Syntax error: expected ')' but found 's_MsgFilterFunc'. ../../hbserv.c(639): error #2168: Operands of = have incompatible types 'HHOOK' and 'int'. ../../hbserv.c(639): error #2001: Syntax error: expected ';' but found 's_MsgFilterFunc'. ../../hbserv.c(639): error #2001: Syntax error: expected ';' but found ')'. ../../hbserv.c(639): error #2061: Illegal statement termination. ../../hbserv.c(640): warning #2027: Missing prototype for 'SetConsoleCtrlHandler'. ../../hbserv.c(665): warning #2027: Missing prototype for 'SetUnhandledExceptionFilter'. ../../hbserv.c(668): warning #2027: Missing prototype for 'UnhookWindowsHookEx'. ../../hbserv.c(672): warning #2027: Missing prototype for 'SetConsoleCtrlHandler'. ../../hbserv.c(776): warning #2027: Missing prototype for 'FreeConsole'. 2009-03-29 19:57 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/fm.c ! fixed typo and add missing HVM stack preload macros 2009-03-29 19:20 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapi.h * harbour/include/hbstack.h * harbour/source/vm/estack.c * harbour/source/vm/fm.c + added support for thread local memory allocators by using MSPACE mechanism in DLALLOC. It can be enabled by compiling Harbour with HB_FM_DLMT_ALLOC macro. By default up to 16 (HB_MSPACE_COUNT macro) independent memory allocators is dynamically created for new threads. When more threads is used then allocators are shared between them and HVM tries to balance used allocators to reduce number of threads using the same allocator. It should give noticeable scalability improvement in some OS-es where default memory manages has pure MT performance. Please try to compiler speedtst.prg with Harbour compiled with and without HB_FM_DLMT_ALLOC and compare results in this test: speedtst --thread=2 --scale using real multiCPU machine. * harbour/source/vm/dlmalloc.c * pacified warning when FOOTERS are enabled * harbour/source/vm/garbage.c * cleanup comment 2009-03-29 09:03 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtwvg/wvgsink.c ! Fixed remaining non-ANSI C comments. Just had been overlooked! 2009-03-29 15:46 UTC+0200 Viktor Szakats * bin/hb-mkdyn.sh * bin/hb-func.sh + Added support for .dll creation and hbmk for mingw64. * Synced Windows system liblist for dll creation. * wsock32 -> ws2_32 * bin/hb-mkdyn.bat ! wsock32 -> ws2_32 * contrib/gtwvg/gtwvg.c ! Fixed embedded ANSI C comments. * contrib/gtwvg/wvgsink.c ! Fixed a few non-ANSI C comments. * There is more, see: 'grep // *.c' 2009-03-29 11:02 UTC+0200 Viktor Szakats * INSTALL * external/Makefile + external/libhpdf/* + external/libpng/* + Added libharu and libpng to Harbour repository. Now it's possible to use libhpdf as static lib on all platforms. This is useful because this lib isn't yet part of Linux distros. libpng is only built for win/dos/os2 platforms. It's possible to override libpng location by using HB_INC_LIBPNG envvar. * contrib/hbhpdf/Makefile + Look for libharu headers in /external dir. * external/sqlite3/Makefile - Disabled for bcc. Latest sqlite3 version breaks with this compiler: --- Error E2293 ../../sqlite3.c 29156: ) expected in function winCurrentTime Warning W8013 ../../sqlite3.c 29157: Possible use of 'timeW' before definition in function winCurrentTime Error E2379 ../../sqlite3.c 29157: Statement missing ; in function winCurrentTime Error E2379 ../../sqlite3.c 29158: Statement missing ; in function winCurrentTime Error E2379 ../../sqlite3.c 29160: Statement missing ; in function winCurrentTime Error E2293 ../../sqlite3.c 29161: ) expected in function winCurrentTime Error E2379 ../../sqlite3.c 29162: Statement missing ; in function winCurrentTime Error E2293 ../../sqlite3.c 29163: ) expected in function winCurrentTime Warning W8057 ../../sqlite3.c 29171: Parameter 'prNow' is never used in function winCurrentTime *** 7 errors in Compile *** --- bcc users can report this problem here: https://sqlite.org/cvstrac/tktnew + tests/bnch_win.bat - tests/bnchmark * Moved bnch_win.bat to tests. 2009-03-28 21:16 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added autofilling CCPREFIX on Windows platform when -comp=mingw64 or -comp=mingwce is specified. + Added autofilling CCPATH on Windows platform when -comp=mingw64 or -comp=mingwce is specified and corresponding embedded MinGW installations are found in Harbour directory. ; IOW this means that it's now possible to create a unified, self-contained install kit, which is able to easily build x64, WinCE and x86 executables with command below: $ hbmk2 test.prg => test.exe for x86 $ hbmk2 -comp=mingw64 a.prg => test.exe for x64 $ hbmk2 -comp=mingwce a.prg => test.exe for ARM/WinCE Can it be any simpler than that? My sample install .zip is 322 MB and it contains Harbour libs for msvc, mingw, mingw64, mingwce, bcc, owatcom and contains all required MinGW files. It will be even easier if we add CPU platform identifiers to Harbour. 2009-03-28 18:09 UTC+0100 Viktor Szakats * config/dos/owatcom.cf * config/win/owatcom.cf * config/linux/owatcom.cf * config/os2/owatcom.cf + Added HB_BUILD_MODE=c/cpp support for Watcom compilers. + Tweaked optimization options to work with wcc386 (C mode compiler). + Tweaked C make rule for wcc386 (only accepts backslashes). ; So now sqlite3 will be forced to C mode and will compile. ; FIXME: .cpp file compilation will be broken in forced C mode, so more cleanup will be needed here if we want to allow all combinations. 2009-03-28 00:20 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtwvg/gtwvg.h * harbour/contrib/gtwvg/wvggui.h * harbour/contrib/gtwvg/wvtwin.ch * harbour/contrib/gtwvg/gtwvg.c * harbour/contrib/gtwvg/wvgcore.c * harbour/contrib/gtwvg/wincallb.c * harbour/contrib/gtwvg/wvgcuig.c * harbour/contrib/gtwvg/wvggui.c * harbour/contrib/gtwvg/wvgsink.c * harbour/contrib/gtwvg/wvgutils.c * harbour/contrib/gtwvg/wvgwin.c * harbour/contrib/gtwvg/wincback.prg * harbour/contrib/gtwvg/wvg3stat.prg * harbour/contrib/gtwvg/wvgax.prg * harbour/contrib/gtwvg/wvgbitmp.prg * harbour/contrib/gtwvg/wvgcheck.prg * harbour/contrib/gtwvg/wvgclass.prg * harbour/contrib/gtwvg/wvgcombo.prg * harbour/contrib/gtwvg/wvgcrt.prg * harbour/contrib/gtwvg/wvgdarea.prg * harbour/contrib/gtwvg/wvgdatar.prg * harbour/contrib/gtwvg/wvgdlg.prg * harbour/contrib/gtwvg/wvghtmlv.prg * harbour/contrib/gtwvg/wvglistb.prg * harbour/contrib/gtwvg/wvgmenub.prg * harbour/contrib/gtwvg/wvgmle.prg * harbour/contrib/gtwvg/wvgpaint.prg * harbour/contrib/gtwvg/wvgparts.ch * harbour/contrib/gtwvg/wvgphdlr.prg * harbour/contrib/gtwvg/wvgpushb.prg * harbour/contrib/gtwvg/wvgradio.prg * harbour/contrib/gtwvg/wvgscrlb.prg * harbour/contrib/gtwvg/wvgsle.prg * harbour/contrib/gtwvg/wvgstatb.prg * harbour/contrib/gtwvg/wvgstatc.prg * harbour/contrib/gtwvg/wvgsysw.prg * harbour/contrib/gtwvg/wvgtabpg.prg * harbour/contrib/gtwvg/wvgtoolb.prg * harbour/contrib/gtwvg/wvgtreev.prg * harbour/contrib/gtwvg/wvgwnd.prg ! Comments converted to ANSI standards. ! Formatting whereever needed. ; Perhaps no comment is left which do not confirm to ANSI standards. 2009-03-28 00:59 UTC+0100 Francesco Saverio Giudice (info/at/fsgiudice.com) * harbour/contrib/examples/uhttpd/uhttpd.prg + added #define FIXED_THREADS that disable (temporarly) dynamic threads support, until I will find a correct way to implement. * changed default GT in Linux from GTXWC to GTTRM + added Actions and Handlers support rewrote handlers part, now separated and similar to Apache * changed internal ScripAlias Hash name from Aliases to ScriptAliases + added Alias support + added PATH_INFO and PATH_TRANSLATED support this means that parts of urls longer than the real file url are passed to file as parameters. Actually valid for any file. * fixed CGIKill() to correct handle killing of not responding CGI apps * formatting and minor changes ; NOTE: not tested under Linux, more tests to do ; FIXME: in case of error of cgi executables error output is missing, this I have to check better. * harbour/contrib/examples/uhttpd/uhttpd.ini * changed [ALIASES] section name to [SCRIPTALIASES] + added [ALIASES] correct section * harbour/contrib/examples/uhttpd/session.prg + added retrying in case of error in reading session files. to check it better ; NOTE: still work in progress. Any comments and suggestions are welcome 2009-03-27 18:30 UTC+0100 Viktor Szakats * config/win/poccce.cf * config/win/pocc.cf * Warning level taken down to -w2. * contrib/hbsqlit3/Makefile - Disabled for pocc, as it chokes on the new version of sqlite3.h. * INSTALL * Minor update. * include/hbapifs.h * include/hbdbsort.h * include/hbsetup.h * contrib/hbct/files.c * contrib/hbct/disk.c * contrib/hbmzip/hbmzip.c * contrib/rddads/ads1.c * contrib/hbbmcdx/bmdbfcdx.c * contrib/examples/pp/pp.c * contrib/examples/pp/hbppcore.c * source/pp/ppcore.c * source/pp/hbpp.c * source/vm/runner.c * source/vm/estack.c * source/vm/hvm.c * source/vm/cmdarg.c * source/vm/fm.c * source/vm/proc.c * source/vm/extrap.c * source/vm/memvars.c * source/vm/set.c * source/main/harbour.c * source/common/hbfsapi.c * source/common/hbwince.c * source/rtl/spfiles.c * source/rtl/defpath.c * source/rtl/philes.c * source/rtl/fnsplit.c * source/rtl/fstemp.c * source/rtl/gtchrmap.c * source/rtl/errorint.c * source/rtl/filebuf.c * source/rtl/hbffind.c * source/rtl/filesys.c * source/rtl/file.c * source/rdd/dbfntx/dbfntx1.c * source/rdd/sdf1.c * source/rdd/dbfnsx/dbfnsx1.c * source/rdd/dbfcdx/dbfcdx1.c * source/rdd/delim1.c * source/rdd/dbf1.c * source/rdd/hsx/hsx.c * source/rdd/dbffpt/dbffpt1.c * source/rdd/hbsix/sxsem.c * source/rdd/hbsix/sxfname.c * source/compiler/hbmain.c * source/compiler/genc.c * source/compiler/harbour.yyc * source/compiler/harbour.y * source/compiler/compi18n.c * source/compiler/genhrb.c * source/compiler/gencobj.c * source/compiler/genobj32.c * _POSIX_PATH_MAX + 1 -> HB_PATH_MAX * _POSIX_PATH_MAX -> HB_PATH_MAX - 1 Please update your .c code to use new constant. Harbour initialization of the value is now HB_LEGACY_LEVEL2 and will be removed in next version. ; Please review me. 2009-03-27 16:46 UTC+0100 Viktor Szakats * external/sqlite3/sqlite3.c * external/sqlite3/sqlite3.h * Updated to latest version. 2009-03-27 16:37 UTC+0100 Viktor Szakats * debian/dirs * Changed en -> en-EN. * external/sqlite3/Makefile * external/sqlite3/_sqlite3.c + Disabled warnings and forced C mode for sqlite3. - Deleted no longer needed stub. * include/hbsetup.h + Added HB_PATH_MAX. * source/compiler/genc.c * Minor modification to recent addition to make code more grep friendly. * config/win/msvc.cf * config/win/msvcce.cf + Added HB_BUILD_MODE=c and HB_BUILD_MODE=cpp support to force specific build mode. ATTENTION: Don't use this for normal Harbour code, it's only meant for external libs hosted inside Harbour source tree. * config/win/pocc.cf * config/win/poccce.cf + Added -w3 (default is -w2). * config/darwin/gcc.cf * config/hpux/gcc.cf * config/dos/owatcom.cf * config/dos/djgpp.cf * config/win/mingwce.cf * config/win/poccce.cf * config/win/icc.cf * config/win/cygwin.cf * config/win/msvc.cf * config/win/owatcom.cf * config/win/msvcce.cf * config/win/mingw.cf * config/win/pocc.cf * config/win/bcc.cf * config/linux/owatcom.cf * config/linux/gcc.cf * config/linux/icc.cf * config/os2/owatcom.cf * config/os2/gcc.cf * config/sunos/gcc.cf * config/bsd/gcc.cf + Added support for HB_BUILD_WARN=no to reset warning levels to compiler defaults. ATTENTION: Don't use this for normal Harbour code, it's only meant for external libs hosted inside Harbour source tree. 2009-03-27 15:35 UTC+0100 Viktor Szakats * external/sqlite3/Makefile * Don't build it for linux and darwin. * contrib/hbsqlit3/Makefile * Changed to plain standard external dependency search method. + Added searching in local sqlite3 copy for win and os2. 2009-03-27 15:01 UTC+0100 Viktor Szakats * contrib/hbodbc/odbc.c ! Fixed potential buffer overrun in SQLDRIVERCONNECT() in UNICODE mode. * utils/hbmk2/hbmk2.prg - Removed debug line left in. 2009-03-27 14:35 UTC+0100 Viktor Szakats * contrib/hbodbc/odbc.c * BYTE -> char ! GetDesktopWindow() -> NULL * contrib/hbmsql/tmsql.prg * contrib/hbqt/tests/demoqt.prg * contrib/hbpgsql/postgres.c * Formatting. * contrib/examples/hbapollo/Makefile ! Changed root dir after recent move. 2009-03-27 14:02 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbvm.h * harbour/source/vm/hvm.c + added void hb_vmAtQuit( HB_INIT_FUNC pFunc, void * cargo ); AtQuit functions are executed after deallocating all HVM items and disabling .prg destructors. They can make final cleanup at C level but should not reenter HVM. * harbour/contrib/hbole/oleinit.c * use hb_vmAtQuit() instead of hb_vmAtExit() - it resolves the problem with executing destructors to OLE objects after closing OLE connection. * harbour/contrib/hbole/olecore.c + added translation for VT_R4 and VT_CY values. ! fixed MT support by moving OLE error code to TSD 2009-03-27 12:22 UTC+0100 Viktor Szakats * contrib/hbqt/tests/hbqt.hbp + Removed mingw32 lib not necessary. + Added gt=gtnul to suppress the console window. * utils/hbmk2/hbmk2.prg ! Fixed gtnul usage in one remaining place. 2009-03-27 11:45 UTC+0100 Viktor Szakats * ChangeLog * One FIXME marked as DONE. * contrib/hbmysql/tmysql.prg % Optimizations (using SWITCH) * contrib/hbqt/qth/QFont.qth * contrib/hbqt/qth/QPen.qth * contrib/hbqt/hbqt_qfont.cpp ! Fixed HB_IS*() macro usage. * contrib/hbqt/tests/hbqt.hbp + Added C++ and runtime MinGW lib. ; FIXME: I still get: [SOLVED] harbour/lib/win/mingw/libhbvm.a(fm.o):fm.c:(.text+0x39b): undefined reference to `__mingw_vfprintf' + gui=yes 2009-03-27 02:03 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/hbqt/hbqt.h * harbour/contrib/hbqt/hbqt_qfont.cpp + Added more functions. + harbour/contrib/hbqt/generator + harbour/contrib/hbqt/generator/hbqtgen.prg + Implemented protocol to generate .cpp source file from QT Header definitions lifted from its help manual. It has lot more potentials to incorporate more features, it is just the begining. + harbour/contrib/hbqt/qth + harbour/contrib/hbqt/qth/QBrush.qth + harbour/contrib/hbqt/qth/QFont.qth + harbour/contrib/hbqt/qth/QPen.qth + harbour/contrib/hbqt/qth/QWidget.qth + Added .qth contining prototypes and user code to be embedded into the resulting .cpp source file. /* COMPILE : hbmk2 hbqtgen USAGE : hbqtgen -I<qthHeaderFilesPath> -O<cppSourceFilePath> <qthFile1.qth> <qthFile2.qth> <...> hbqtgen -help EXAMPLE : hbqtgen -IC:\harbour\hbqt\qth -OC:\temp QFont.qth QWidget.qth NEXT : hbqtgen @QtProjectFile.qtp OVERVIEW : .qth enum Capitalization { MixedCase, AllUppercase, AllLowercase, SmallCaps, Capitalize } enum SpacingType { PercentageSpacing, AbsoluteSpacing } enum Stretch { UltraCondensed, ExtraCondensed, Condensed, SemiCondensed, ..., UltraExpanded } enum Style { StyleNormal, StyleItalic, StyleOblique } enum StyleHint { AnyStyle, SansSerif, Helvetica, Serif, ..., System } enum StyleStrategy { PreferDefault, PreferBitmap, PreferDevice, PreferOutline, ..., PreferQuality } enum Weight { Light, Normal, DemiBold, Bold, Black } <CODE> /* QFont () QFont ( const QString & family, int pointSize = -1, int weight = -1, bool italic = false ) QFont ( const QFont & font, QPaintDevice * pd ) QFont ( const QFont & font ) */ HB_FUNC( QT_QFONT ) { if( HB_IS_STRING( 1 ) ) { hb_retptr( ( QFont* ) new QFont() ); } else { hb_retptr( ( QFont* ) new QFont( hbqt_par_QString( 1 ), HB_IS_NUMERIC( 2 ) ? hb_parni( 2 ) : -1, HB_IS_NUMERIC( 3 ) ? hb_parni( 3 ) : -1, hb_parl( 4 ) ) ); } } </CODE> bool bold () const Capitalization capitalization () const QString defaultFamily () const bool exactMatch () const QString family () const bool fixedPitch () const FT_Face freetypeFace () const bool fromString ( const QString & descrip ) HFONT handle () const //bool isCopyOf ( const QFont & f ) const bool italic () const bool kerning () const QString key () const QString lastResortFamily () const QString lastResortFont () const qreal letterSpacing () const SpacingType letterSpacingType () const //quint32 macFontID () const bool overline () const int pixelSize () const int pointSize () const qreal pointSizeF () const bool rawMode () const QString rawName () const QFont resolve ( const QFont & other ) const void setBold ( bool enable ) void setCapitalization ( Capitalization caps ) void setFamily ( const QString & family ) void setFixedPitch ( bool enable ) void setItalic ( bool enable ) void setKerning ( bool enable ) void setLetterSpacing ( SpacingType type, qreal spacing ) void setOverline ( bool enable ) void setPixelSize ( int pixelSize ) void setPointSize ( int pointSize ) void setPointSizeF ( qreal pointSize ) void setRawMode ( bool enable ) void setRawName ( const QString & name ) void setStretch ( int factor ) void setStrikeOut ( bool enable ) void setStyle ( Style style ) void setStyleHint ( StyleHint hint, StyleStrategy strategy = PreferDefault ) void setStyleStrategy ( StyleStrategy s ) void setUnderline ( bool enable ) void setWeight ( int weight ) void setWordSpacing ( qreal spacing ) int stretch () const bool strikeOut () const Style style () const StyleHint styleHint () const StyleStrategy styleStrategy () const QString toString () const bool underline () const int weight () const qreal wordSpacing () const Comments : # // Enumerators: enum definitions must be included what exists in the help documenttaion. It has special significan while parsing the prototypes. UserCode : Anything contained in <CODE> </CODE> construct will be written directly in the .cpp as is. Developer is responsible to insert syntatically correct code. usually constructor function goes here. And may be complex functions be put under it. Also if some special #include command is needed. Prototype : Not all prototypes are included in the source .cpp at the moment. I need more help on this front how we detect and format the parameters. I am struck specially at something like <const QFont & other> . Przemek? Bottom line: Copy and Paste all prototypes from the docs, generate the .cpp, compile it, check which function raises error, comment it out in .qth with either "//" or "#", regenerate .cpp until all errors are covered, copy .cpp into production folder. */ 2009-03-27 10:16 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added autodetection of lib/<arch>/<comp> lib dir. This makes it possible to use hbmk2 in multicompiler scenarios without 'make install'ing Harbour, or even multicompiler end-user configurations for any compiler regardless of lib format and naming. + contrib/hbqt/tests/hbqt.hbp + Added .hbp file for hbqt. * contrib/hbodbc/odbc.c * Further type cleanup. * Formatting. * contrib/hbole/tests/testole.prg * Minor cleanups. * contrib/hbole/olecore.c * Using hb_itemGetCPtr2() instead of hb_itemGetCLPtr() * contrib/hbwin/wapi_commctrl.c * contrib/hbwin/wapi_winuser.c ! WinCE fixes. * Formatting. * contrib/examples/hbwhat/tests/hbwhat.hbp - Removed no longer necessary Windows libs. 2009-03-27 02:53 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/tests/speedtst.prg * redirect output to file using SET ALTERNATE ... instead of stdout() * harbour/contrib/hbole/olecore.c * updated to compile with C and C++ OLE interface. Please make some tests with different compilers. 2009-03-27 01:52 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg * contrib/hbole/tests/hbole.hbp * contrib/gtwvg/tests/gtwvg.hbp * contrib/hbwin/tests/hbwin.hbp - utils/hbmk2/examples/winapi.hbp + Added all important Windows system libs to all win compilers in hbmk2. - Removed above libs from .hbp files. * contrib/hbodbc/todbc.prg * contrib/hbodbc/browodbc.prg * contrib/hbodbc/odbc.c * Further cleanups. SETNUMLEN() -> SQLNUMSETLEN(). This should probably be a core function by the name HB_NUMSETLEN(). * contrib/hbole/tests/testole.prg * contrib/hbole/tests/sample.odt + Updated to latest hbole code. ; FIXME: hbole code doesn't compile with MSVC in default C++ even if #define CINTERFACE 1 is enabled. [DONE] ; FIXME: OpenOffice example fails at some point. It probably needs array support. * contrib/hbole/olecore.c * Minor formatting. * contrib/hbqt/hbqt_qabstractitemview.cpp ! Fixed backslash to forward slash. * contrib/hbct/tests/ctwtest.prg * contrib/hbnf/dispmsg.prg * contrib/hbnf/pegs.prg * contrib/hbnf/tbwhile.prg * contrib/hbnf/calendar.prg * contrib/gtwvg/tests/demowvg.prg * contrib/examples/terminal/trm_server.prg * contrib/examples/terminal/trm_client.prg ! Using manifest constants. * contrib/hbmysql/mysql.c * contrib/hbodbc/odbc.c * Minor cleanup. * contrib/hbodbc/tests/odbcdemo.prg * contrib/hbodbc/tests/odbccall.prg * contrib/hbodbc/tests/testodbc.prg * Minor. 2009-03-26 22:01 UTC+0100 Viktor Szakats * contrib/hbodbc/tests/odbcdemo.prg * contrib/hbodbc/tests/testodbc.prg * contrib/hbodbc/todbc.prg * contrib/hbodbc/odbc.c * contrib/hbodbc/Makefile + Platform protection moved to Makefile level. + Lots of type cleanups to use SQL types rather than Windows types. + Lots of type cleanups to use large integers where needed. * Synced Harbour integers API calls with SQL integer sizes. + Cleaned __DMC__ hacks. ! Fixed to compile with ODBCVER == 0x0100 and ODBCVER == 0x0200. * Update Harbour level function names as follows. Old names are still available, you can disabled them by defining HB_ODBC_LEGACY_LEVEL_OFF macro: SQLALLOCEN => SQLALLOCENV SQLALLOCCO => SQLALLOCCONNECT SQLDRIVERC => SQLDRIVERCONNECT SQLDISCONN => SQLDISCONNECT SQLFREECON => SQLFREECONNECT SQLALLOCST => SQLALLOCSTMT SQLFREESTM => SQLFREESTMT SQLEXECDIR => SQLEXECDIRECT SQLNUMRES => SQLNUMRESULTCOLS SQLDESCRIB => SQLDESCRIBECOL SQLEXTENDE => SQLEXTENDEDFETCH SQLFETCHSC => SQLFETCHSCROLL SQLROWCOUN => SQLROWCOUNT SQLSETCONNECTOPTION => SQLSETCONNECTATTR SQLSETSTMTOPTION => SQLSETSTMTATTR SQLGETCONNECTOPTION => SQLGETCONNECTATTR SQLGETSTMTOPTION => SQLGETSTMTATTR * contrib/hbmysql/mysql.c % Replaced Windows headers with winsock2.h which seems to be required by mysql headers. * contrib/hbfbird/firebird.c * contrib/rddsql/sqlmix.c * contrib/hbssl/sslrand.c % Removed Windows headers. * contrib/gtwvg/gtwvg.h * contrib/gtwvg/wvggui.h + Readded ugly workaround for mingw64. 2009-03-26 20:54 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbole/olecore.c ! added some very basic protection against possible GPF if wrong parameters are passed to some OLE*() functions + added timestamp support * minor formatting and some cleanups in casting 2009-03-26 16:58 UTC+0100 Viktor Szakats * INSTALL - contrib/hbapollo * contrib/Makefile + contrib/examples/hbapollo * Moved hbapollo to examples. ; TODO: This, hbwhat, hbgf and hbsqlit2 should be IMO permanently removed from repository. If there are no objections, I'll do it next week. [DONE] 2009-03-26 16:05 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbole/olecore.c * added two notes with default defines for windows header files ! small correction and fixes in casting ; Now this code can be compiled by MinGW and OpenWatcom if we uncomment CINTERFACE setting. Anyhow I'd prefer to use C++ friendly declarations. Mindaugas, this code uses static variable: s_lOleError. Can we make it thread local? It should resolve the problem with using this code in MT programs. The next thing is the place where OLE is uninitialized. It's done by hb_vmAtExit(). In some cases it may be problematic because after hb_vmAtExit() some .prg destructors can be executed yet, e.g. when public variables are destroyed. The HB_OLEAUTO() objects uses destructor which can be activated after executing hb_ole_exit(). To resolve this problem you can replicate the trick with pointer variable stored inside static .prg var I added to old OLE code in contrib/whbwin/ (.prg destructors are disabled just before releasing static variables). It's not elegant solution but it will work. Probably we should think about two levels of exit procedures. The second one can be used only for pure C code which does not try to reenter HVM. * harbour/contrib/gtwvg/gtwvg.h ! moved _WIN32_IE declaration before #include ... to fix MinGW32 compilation 2009-03-26 15:54 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added autodetection of embedded MinGW64 and MinGWCE compilers. 2009-03-26 15:47 UTC+0100 Viktor Szakats * doc/en/Makefile * doc/Makefile - doc/en + doc/en-EN * Renamed. + man + man/nfdoc + man/manpages + Added new dir for Harbour manuals. ; TODO: Move files here from /doc. * contrib/hbtpathy/tests/testtp.prg * Applied update/fix by Barry Jackson. * utils/hbmk2/hbmk2.prg + Added autodetection of MinGW compiler if installed in the Harbour directory tree in the mingw dir. This way it's possible to create a fully setup-free install kit, which is able to produce Harbour executables right after unzip by simply issuing command: hbmk2 hello.prg 2009-03-26 14:10 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/contrib/hbole/olecore.c * fixed compile time warning 2009-03-25 23:21 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/pp/ppcore.c ! fixed line number set for C preprocessor in #pragma begindump * harbour/include/hbcomp.h * harbour/source/compiler/hbmain.c * harbour/source/compiler/genc.c * added detection of static Harbour functions in #pragma begindump code. I do not like it because it cannot be well implemented on other then real C compiler/preprocessor level but it's probably better then different workarounds I see in some [x]Harbour 3rd party projects. Warning this functionality is not officially supported. It's a hack to existing #pragma begindump hack and activated only for dumped C code. It tries to detect Harbour static functions declared by HB_FUNC_STATIC( name ) but it does not make any real C preprocessing. Only strips comments and strings and then looks for above statement dividing the code to some basic tokens so it will give wrong results for code like: #if 0 HB_FUNC_STATIC( MYFUNC ) #else HB_FUNC( MYFUNC ) #endif { hb_retc( "MyFunc" ); } but it works correctly for simple code which does not use conditional compilation and does not try to redefine HB_FUNC_STATIC() macro, f.e: proc main() ? YEAR( DATE() ), MONTH( DATE() ), DAY( DATE() ), TEST() return #pragma begindump #include "hbapi.h" /* are comments stripped? If not then HB_FUNC_STATIC( DATE ) in comment can create troubles. */ // HB_FUNC_STATIC( YEAR ) just like this one in C++ comments #define MYHB_FUNC_STATIC( fun ) #fun // to test whole word tokens /* COMMENT */HB_FUNC_STATIC( TEST ) { hb_retc( "HB_FUNC_STATIC( DAY )->" MYHB_FUNC_STATIC( MONTH ) ); } #pragma enddump Before we had wrong results for any code like: HB_FUNC_STATIC( MYFUNC ) { hb_retc( "MyFunc" ); } so it's not making anything worse (I hope ;-)). The implementation is intentionally local to -gc output to not effect other compiler code. The idea of parsing the code inside #pragma begindump to detect static harbour functions in C code inside was 1st time implemented by Andi Jahja in xHarbour. 2009-03-25 16:32 UTC+0100 Viktor Szakats - doc/license.txt % Removed duplicate copy of this text. Now /COPYING is the only one in repo. 2009-03-25 16:19 UTC+0100 Viktor Szakats * bin/hb-func.sh * bin/hb-mkdyn.bat * bin/hb-mkdyn.sh * bin/postinst.bat * bin/postinst.cmd * bin/postinst.sh * contrib/examples/hbdoc/examples/core_es/array.txt * contrib/examples/hbdoc/examples/core_es/binnum.txt * contrib/examples/hbdoc/examples/core_es/browse.txt * contrib/examples/hbdoc/examples/core_es/clipper.txt * contrib/examples/hbdoc/examples/core_es/cmdline.txt * contrib/examples/hbdoc/examples/core_es/codebloc.txt * contrib/examples/hbdoc/examples/core_es/command.txt * contrib/examples/hbdoc/examples/core_es/compiler.txt * contrib/examples/hbdoc/examples/core_es/datetime.txt * contrib/examples/hbdoc/examples/core_es/dbdelim.txt * contrib/examples/hbdoc/examples/core_es/dbsdf.txt * contrib/examples/hbdoc/examples/core_es/dbstrux.txt * contrib/examples/hbdoc/examples/core_es/dir.txt * contrib/examples/hbdoc/examples/core_es/dirstruc.txt * contrib/examples/hbdoc/examples/core_es/diskspac.txt * contrib/examples/hbdoc/examples/core_es/error.txt * contrib/examples/hbdoc/examples/core_es/eval.txt * contrib/examples/hbdoc/examples/core_es/file.txt * contrib/examples/hbdoc/examples/core_es/garbage.txt * contrib/examples/hbdoc/examples/core_es/harbext.txt * contrib/examples/hbdoc/examples/core_es/hb_apiln.txt * contrib/examples/hbdoc/examples/core_es/hb_set.txt * contrib/examples/hbdoc/examples/core_es/hb_vm.txt * contrib/examples/hbdoc/examples/core_es/howtobsd.txt * contrib/examples/hbdoc/examples/core_es/hvm.txt * contrib/examples/hbdoc/examples/core_es/idle.txt * contrib/examples/hbdoc/examples/core_es/input.txt * contrib/examples/hbdoc/examples/core_es/lang.txt * contrib/examples/hbdoc/examples/core_es/license.txt * contrib/examples/hbdoc/examples/core_es/macro.txt * contrib/examples/hbdoc/examples/core_es/math.txt * contrib/examples/hbdoc/examples/core_es/memo.txt * contrib/examples/hbdoc/examples/core_es/memvar2.txt * contrib/examples/hbdoc/examples/core_es/misc.txt * contrib/examples/hbdoc/examples/core_es/nation.txt * contrib/examples/hbdoc/examples/core_es/objfunc.txt * contrib/examples/hbdoc/examples/core_es/pcode.txt * contrib/examples/hbdoc/examples/core_es/pragma.txt * contrib/examples/hbdoc/examples/core_es/rdd.txt * contrib/examples/hbdoc/examples/core_es/readme.txt * contrib/examples/hbdoc/examples/core_es/sayget.txt * contrib/examples/hbdoc/examples/core_es/setmode.txt * contrib/examples/hbdoc/examples/core_es/statics.txt * contrib/examples/hbdoc/examples/core_es/strotype.txt * contrib/examples/hbdoc/examples/core_es/subcodes.txt * contrib/examples/hbdoc/examples/core_es/tbrowse.txt * contrib/examples/hbdoc/examples/core_es/tclass.txt * contrib/examples/hbdoc/examples/core_es/tgetlist.txt * contrib/examples/hbdoc/examples/core_es/tlabel.txt * contrib/examples/hbdoc/examples/core_es/tracing.txt * contrib/examples/hbdoc/examples/core_es/treport.txt * contrib/examples/hbdoc/examples/core_es/var.txt * contrib/examples/hbdoc/examples/core_es/vm.txt * contrib/examples/pp/hbppcore.c * contrib/gtwvg/gtwvg.c * contrib/gtwvg/wvgcore.c * contrib/gtwvg/wvgcuig.c * contrib/gtwvg/wvggui.c * contrib/gtwvg/wvgutils.c * contrib/gtwvg/wvgwin.c * contrib/hbct/datetime.c * contrib/hbct/pack.c * contrib/hbct/video.c * contrib/hbfbird/firebird.c * contrib/hbfbird/tfirebrd.prg * contrib/hbfimage/readme.txt * contrib/hbgd/doc/hbgd.txt * contrib/hbmisc/dates2.c * contrib/hbmisc/doc/en/dates2.txt * contrib/hbmisc/doc/en/ht_class.txt * contrib/hbmisc/doc/en/ht_conv.txt * contrib/hbmisc/doc/en/ht_dbf.txt * contrib/hbmisc/doc/en/ht_doc.txt * contrib/hbmisc/doc/en/ht_str.txt * contrib/hbmysql/mysql.c * contrib/hbnf/fttext.c * contrib/hbodbc/odbc.c * contrib/hbpgsql/postgres.c * contrib/hbpgsql/tpostgre.prg * contrib/hbsqlit3/hbsqlit3.c * contrib/hbsqlit3/hbsqlit3.ch * contrib/hbsqlit3/tests/blob.prg * contrib/hbsqlit3/tests/metadata.prg * contrib/hbsqlit3/tests/pack.prg * contrib/hbsqlit3/tests/sqlite3_test.prg * contrib/hbtip/utils.c * contrib/hbwin/win_prn1.c * contrib/hbwin/win_tprn.prg * contrib/rddads/doc/en/adsfuncs.txt * doc/class_tp.txt * doc/en/array.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/error.txt * doc/en/eval.txt * doc/en/file.txt * doc/en/hb_api.txt * doc/en/hb_apier.txt * doc/en/hb_apifs.txt * doc/en/hb_apigt.txt * doc/en/hb_apiit.txt * doc/en/hb_apiln.txt * doc/en/hb_apird.txt * doc/en/hb_compa.txt * doc/en/hb_date.txt * doc/en/hb_macro.txt * doc/en/hb_set.txt * doc/en/hb_vm.txt * doc/en/hvm.txt * doc/en/input.txt * doc/en/lang.txt * doc/en/math.txt * doc/en/memo.txt * doc/en/menu.txt * doc/en/misc.txt * doc/en/nation.txt * doc/en/objfunc.txt * doc/en/rdd.txt * doc/en/rdddb.txt * doc/en/rddmisc.txt * doc/en/rddord.txt * doc/en/set.txt * doc/en/setmode.txt * doc/en/string.txt * doc/en/tclass.txt * doc/en/terminal.txt * doc/en/tgetlist.txt * doc/en/tlabel.txt * doc/en/treport.txt * doc/en/var.txt * doc/hdr_tpl.txt * harbour-wce-spec * harbour-win-spec * harbour.spec * include/hbapigt.h * include/hbclass.ch * include/hboo.ch * make_gnu.bat * make_gnu.sh * mpkg_deb.sh * mpkg_rpm.sh * mpkg_rpm_from_svn.sh * mpkg_rpm_wce.sh * mpkg_rpm_win.sh * mpkg_tgz.sh * mpkg_win.bat * mpkg_win.nsi * source/common/hbdate.c * source/common/hbstr.c * source/common/hbver.c * source/compiler/cmdcheck.c * source/compiler/hbmain.c * source/debug/dbgtwin.prg * source/debug/debugger.prg * source/lang/msgpt.c * source/lang/msgptiso.c * source/rtl/accept.c * source/rtl/alert.prg * source/rtl/console.c * source/rtl/dates.c * source/rtl/dateshb.c * source/rtl/errorapi.c * source/rtl/filesys.c * source/rtl/gete.c * source/rtl/getsys.prg * source/rtl/getsys53.prg * source/rtl/gtapi.c * source/rtl/gtcrs/hb-charmap.def * source/rtl/gtdos/gtdos.c * source/rtl/gtos2/gtos2.c * source/rtl/gtwin/gtwin.c * source/rtl/gtwvt/gtwvt.c * source/rtl/gx.c * source/rtl/idle.c * source/rtl/inkey.c * source/rtl/mouseapi.c * source/rtl/natmsg.c * source/rtl/natmsgu.c * source/rtl/net.c * source/rtl/objfunc.prg * source/rtl/round.c * source/rtl/setpos.c * source/rtl/tclass.prg * source/rtl/tgetlist.prg * source/rtl/tobject.prg * source/rtl/transfrm.c * source/rtl/valtype.c * source/rtl/xsavescr.c * source/vm/arrays.c * source/vm/classes.c * source/vm/eval.c * source/vm/extend.c * source/vm/extrap.c * source/vm/fm.c * source/vm/hvm.c * source/vm/itemapi.c * source/vm/memvars.c * source/vm/proc.c * tests/bnchmark/bnch_win.bat * tests/langmsg.prg * tests/rto_tb.prg * utils/hbmk2/hbmk2.prg * utils/hbtest/make_c5x.bat * Changed reference: doc/license.txt -> COPYING. One step to allow the reorganization of doc dir. 2009-03-25 15:55 UTC+0100 Viktor Szakats * external/Makefile + Added HB_EXTERNAL_ADDON envvar support. * config/win/bcc.cf * -d moved to optimization switches. 2009-03-25 14:35 UTC+0100 Viktor Szakats + external/Makefile + Added missing file. 2009-03-25 14:09 UTC+0100 Viktor Szakats * INSTALL + Added HB_INC_SQLITE3 * include/hbapi.h + Added HB_IS*() flavour of classic Clipper compatibility IS*() macros. I'd recommend everyone to start using these new ones, as the old ones might be deprecated in future versions. * Makefile + Added new 'external' dir to host foreign, non-Harbour code. + external + external/sqlite3 + external/sqlite3/_sqlite3.c + external/sqlite3/sqlite3.c + external/sqlite3/sqlite3.h + external/sqlite3/Makefile - contrib/hbsqlit3/sqlite3 + Moved sqlite3 code into its dedicated place. * contrib/hbsqlit3/tests/hbsqlit3.hbp + Added sqlite3 to liblist. * contrib/hbsqlit3/hbsqlit3.c * contrib/hbsqlit3/Makefile + Changed to use external headers just like other external dependent libs. The only difference here is that it will pickup the locally hosted sqlite3 source from external/sqlite3 if not specified by user. * Changed to no embed sqlite3 code anymore. ATTENTION: This also means that hbsqlit3 users will now have to add sqlite3 lib to their liblist, since this code isn't anymore embedded into hbsqlit3. * contrib/hbqt/hbqt_qfontcombobox.cpp * contrib/hbqt/hbqt_qgroupbox.cpp * contrib/hbqt/hbqt_qcombobox.cpp * contrib/hbqt/hbqt_qtoolbutton.cpp * contrib/hbqt/slots.h * contrib/hbqt/hbqt_qpushbutton.cpp * contrib/hbqt/hbqt_qpagesetupdialog.cpp * contrib/hbqt/hbqt_qprintpreviewdialog.cpp * contrib/hbqt/hbqt_qlabel.cpp * contrib/hbqt/hbqt_qinputdialog.cpp * contrib/hbqt/hbqt_qprogressdialog.cpp * contrib/hbqt/hbqt_qtoolbox.cpp * contrib/hbqt/hbqt_qcommandlinkbutton.cpp * contrib/hbqt/hbqt_qmenubar.cpp * contrib/hbqt/hbqt_qhboxlayout.cpp * contrib/hbqt/hbqt_qabstractbutton.cpp * contrib/hbqt/hbqt_qabstractprintdialog.cpp * contrib/hbqt/hbqt_qwizard.cpp * contrib/hbqt/hbqt_qabstractspinbox.cpp * contrib/hbqt/hbqt_qfont.cpp * contrib/hbqt/hbqt_qdial.cpp * contrib/hbqt/hbqt_qtablewidgetitem.cpp * contrib/hbqt/hbqt_qlcdnumber.cpp * contrib/hbqt/hbqt_qmainwindow.cpp * contrib/hbqt/hbqt_qprintdialog.cpp * contrib/hbqt/hbqt_qcalendarwidget.cpp * contrib/hbqt/hbqt_qabstractitemview.cpp * contrib/hbqt/hbqt_qaction.cpp * contrib/hbqt/hbqt_qspinbox.cpp * contrib/hbqt/hbqt_qwidget.cpp * contrib/hbqt/hbqt_slots.cpp * contrib/hbqt/hbqt_qdateedit.cpp * contrib/hbqt/hbqt_qcheckbox.cpp * contrib/hbqt/hbqt_qprogressbar.cpp * contrib/hbqt/hbqt_qframe.cpp * contrib/hbqt/hbqt_qfocusframe.cpp * contrib/hbqt/hbqt_qtabbar.cpp * contrib/hbqt/hbqt_qcqlendarwidget.cpp * contrib/hbqt/hbqt_qerrormessage.cpp * contrib/hbqt/hbqt_qfiledialog.cpp * contrib/hbqt/hbqt_qformlayout.cpp * contrib/hbqt/hbqt_qtoolbar.cpp * contrib/hbqt/hbqt_qdatetimeedit.cpp * contrib/hbqt/hbqt_qmenu.cpp * contrib/hbqt/hbqt_qabstractslider.cpp * contrib/hbqt/hbqt_qwebview.cpp * contrib/hbqt/hbqt_qlayout.cpp * contrib/hbqt/hbqt_qslider.cpp * contrib/hbqt/hbqt_qtableview.cpp * contrib/hbqt/hbqt_qfontdialog.cpp * contrib/hbqt/hbqt_qboxlayout.cpp * contrib/hbqt/hbqt_qtreeview.cpp * contrib/hbqt/hbqt_qtextedit.cpp * contrib/hbqt/hbqt_qradiobutton.cpp * contrib/hbqt/hbqt_qcolordialog.cpp * contrib/hbqt/hbqt_qapplication.cpp * contrib/hbqt/hbqt_qtimeedit.cpp * contrib/hbqt/hbqt_qsplitter.cpp * contrib/hbqt/hbqt_qlistview.cpp * contrib/hbqt/hbqt_qtabwidget.cpp * contrib/hbqt/hbqt_qabstractscrollarea.cpp * contrib/hbqt/hbqt_qvboxlayout.cpp * contrib/hbqt/hbqt_qdoublespinbox.cpp * contrib/hbqt/hbqt_qscrollbar.cpp * contrib/hbqt/hbqt_qscrollarea.cpp * contrib/hbqt/hbqt_qtablewidget.cpp * contrib/hbqt/hbqt_qsizegrip.cpp * contrib/hbqt/hbqt_qlayoutitem.cpp * contrib/hbqt/hbqt_qmessagebox.cpp * contrib/hbqt/hbqt_qlineedit.cpp * Formatting, indenting. ! ISNIL() usage removed. * contrib/hbwin/wapi_commctrl.c * contrib/hbwin/wapi_winuser.c ! ISNIL() usage removed. * contrib/hbfbird/tfirebrd.prg * contrib/hbpgsql/tests/simple.prg * contrib/hbpgsql/tests/test.prg * contrib/hbpgsql/tests/cache.prg * contrib/hbpgsql/tests/stress.prg * contrib/hbpgsql/tests/dbf2pg.prg * contrib/hbpgsql/tpostgre.prg * contrib/examples/uhttpd/uhttpd.prg * contrib/examples/uhttpd/uhttpdc.c * contrib/examples/terminal/trm_server.prg * ISNIL() usage and other code cleanup, formatting. 2009-03-25 13:35 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) - harbour/contrib/hbole/ole2.c * harbour/contrib/hbole/oleauto.prg + harbour/contrib/hbole/oleinit.c + harbour/contrib/hbole/olecore.c + added my own implementation of OLE library. It is bases on old code written by Jose F. Gimenez. Code is changed to be reentrant, more clean, but only basic features are implemented. 2009-03-25 12:30 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbstack.h ! disabled inline assembler code to retrieve HVM stack pointer from TLS in Win64 builds. In summary I do not even know if Win64 uses the same memory addresses for TLS as Win32 so it's not safe to enable such code now. Maybe in the future though I hope that new 64-bit compilers will have fast enough native TLS support. 2009-03-25 11:35 UTC+0100 Viktor Szakats * tests/testhtml.prg * Update by Vailton Renato applied. * INSTALL * Minor formatting. * bin/postinst.bat + Minor cleanup to creation of hbrun/hbtest dll versions. (now it's more difficult to mislead it by already existing foreign .dlls) * contrib/hbqt/Makefile * contrib/hbapollo/Makefile - Disabled for mingw64. * contrib/rddads/rddads.h + Added workaround to compile under mingw64. * contrib/gtwvg/gtwvg.h * contrib/gtwvg/wvggui.h ! Fixed to _not_ override _WIN32_IE. Overriding these version numbers is generally a very bad idea. Instead the code should adapt to whatever values are defined by system headers. This fixes most mingw64 errors. Please test other compilers. * contrib/xhb/hbxml.c * contrib/hbfimage/fi_winfu.c * contrib/hbwin/wapi_commctrl.c ! Pointer/handle to integer conversion. * contrib/gtwvg/wvgcuig.c * contrib/gtwvg/wvgwin.c ! Fixed NULL used instead of 0. ! Fixed ISNIL() usage. GTWVG code is full of ISNIL() macros, which makes the code prone to GPFs and other unexpected behaviour when wrong type is passed. The solution is to change all these to type specific IS*() macros. ; FIXME: (core and all contribs) [DONE] C:/DOCUME~1/vszakats/LOCALS~1/Temp/ccVcE53g.s: Assembler messages: C:/DOCUME~1/vszakats/LOCALS~1/Temp/ccVcE53g.s:20: Error: `0x0e10(%rax,%ecx,4)' is not a valid base/index expression In these files: x86_64-pc-mingw32-gcc -I. -I../../../../../include -Wall -W -O3 -fomit-frame-pointer -DHB_MT_VM -c ../../../hvm.c -ohvm.o x86_64-pc-mingw32-gcc -I. -I../../../../../include -Wall -W -O3 -fomit-frame-pointer -DHB_MT_VM -c ../../../arrays.c -oarrays.o x86_64-pc-mingw32-gcc -I. -I../../../../../include -Wall -W -O3 -fomit-frame-pointer -DHB_MT_VM -c ../../../asort.c -oasort.o x86_64-pc-mingw32-gcc -I. -I../../../../../include -Wall -W -O3 -fomit-frame-pointer -DHB_MT_VM -c ../../../classes.c -oclasses.o x86_64-pc-mingw32-gcc -I. -I../../../../../include -Wall -W -O3 -fomit-frame-pointer -DHB_MT_VM -c ../../../cmdarg.c -ocmdarg.o x86_64-pc-mingw32-gcc -I. -I../../../../../include -Wall -W -O3 -fomit-frame-pointer -DHB_MT_VM -c ../../../debug.c -odebug.o x86_64-pc-mingw32-gcc -I. -I../../../../../include -Wall -W -O3 -fomit-frame-pointer -DHB_MT_VM -c ../../../dynlibhb.c -odynlibhb.o x86_64-pc-mingw32-gcc -I. -I../../../../../include -Wall -W -O3 -fomit-frame-pointer -DHB_MT_VM -c ../../../dynsym.c -odynsym.o x86_64-pc-mingw32-gcc -I. -I../../../../../include -Wall -W -O3 -fomit-frame-pointer -DHB_MT_VM -c ../../../codebloc.c -ocodebloc.o x86_64-pc-mingw32-gcc -I. -I../../../../../include -Wall -W -O3 -fomit-frame-pointer -DHB_MT_VM -c ../../../estack.c -oestack.o x86_64-pc-mingw32-gcc -I. -I../../../../../include -Wall -W -O3 -fomit-frame-pointer -DHB_MT_VM -c ../../../eval.c -oeval.o x86_64-pc-mingw32-gcc -I. -I../../../../../include -Wall -W -O3 -fomit-frame-pointer -DHB_MT_VM -c ../../../evalhb.c -oevalhb.o x86_64-pc-mingw32-gcc -I. -I../../../../../include -Wall -W -O3 -fomit-frame-pointer -DHB_MT_VM -c ../../../extend.c -oextend.o x86_64-pc-mingw32-gcc -I. -I../../../../../include -Wall -W -O3 -fomit-frame-pointer -DHB_MT_VM -c ../../../fm.c -ofm.o x86_64-pc-mingw32-gcc -I. -I../../../../../include -Wall -W -O3 -fomit-frame-pointer -DHB_MT_VM -c ../../../garbage.c -ogarbage.o x86_64-pc-mingw32-gcc -I. -I../../../../../include -Wall -W -O3 -fomit-frame-pointer -DHB_MT_VM -c ../../../hashes.c -ohashes.o x86_64-pc-mingw32-gcc -I. -I../../../../../include -Wall -W -O3 -fomit-frame-pointer -DHB_MT_VM -c ../../../hashfunc.c -ohashfunc.o x86_64-pc-mingw32-gcc -I. -I../../../../../include -Wall -W -O3 -fomit-frame-pointer -DHB_MT_VM -c ../../../itemapi.c -oitemapi.o x86_64-pc-mingw32-gcc -I. -I../../../../../include -Wall -W -O3 -fomit-frame-pointer -DHB_MT_VM -c ../../../macro.c -omacro.o x86_64-pc-mingw32-gcc -I. -I../../../../../include -Wall -W -O3 -fomit-frame-pointer -DHB_MT_VM -c ../../../memvars.c -omemvars.o x86_64-pc-mingw32-gcc -I. -I../../../../../include -Wall -W -O3 -fomit-frame-pointer -DHB_MT_VM -c ../../../pcount.c -opcount.o x86_64-pc-mingw32-gcc -I. -I../../../../../include -Wall -W -O3 -fomit-frame-pointer -DHB_MT_VM -c ../../../proc.c -oproc.o x86_64-pc-mingw32-gcc -I. -I../../../../../include -Wall -W -O3 -fomit-frame-pointer -DHB_MT_VM -c ../../../pvalue.c -opvalue.o x86_64-pc-mingw32-gcc -I. -I../../../../../include -Wall -W -O3 -fomit-frame-pointer -DHB_MT_VM -c ../../../runner.c -orunner.o x86_64-pc-mingw32-gcc -I. -I../../../../../include -Wall -W -O3 -fomit-frame-pointer -DHB_MT_VM -c ../../../set.c -oset.o x86_64-pc-mingw32-gcc -I. -I../../../../../include -Wall -W -O3 -fomit-frame-pointer -DHB_MT_VM -c ../../../thread.c -othread.o x86_64-pc-mingw32-gcc -I. -I../../../../../include -Wall -W -O3 -fomit-frame-pointer -DHB_FM_STATISTICS -DHB_MT_VM -c ../../../fm.c -ofm.o ../../dbfntx1.c: In function 'hb_ntxTagHeaderCheck': ../../dbfntx1.c:1054: warning: dereferencing type-punned pointer will break strict-aliasing rules ../../dbfntx1.c:1054: warning: dereferencing type-punned pointer will break strict-aliasing rules ../../dbfntx1.c:1055: warning: dereferencing type-punned pointer will break strict-aliasing rules ../../dbfntx1.c:1055: warning: dereferencing type-punned pointer will break strict-aliasing rules ../../dbfntx1.c:1055: warning: dereferencing type-punned pointer will break strict-aliasing rules ../../dbfntx1.c:1055: warning: dereferencing type-punned pointer will break strict-aliasing rules ../../dbfnsx1.c: In function 'hb_nsxTagHeaderCheck': ../../dbfnsx1.c:1282: warning: dereferencing type-punned pointer will break strict-aliasing rules ../../dbfnsx1.c:1284: warning: dereferencing type-punned pointer will break strict-aliasing rules ../../dbfnsx1.c:1285: warning: dereferencing type-punned pointer will break strict-aliasing rules ../../dbfnsx1.c:1285: warning: dereferencing type-punned pointer will break strict-aliasing rules ../../dbfnsx1.c:1285: warning: dereferencing type-punned pointer will break strict-aliasing rules ../../dbfnsx1.c:1285: warning: dereferencing type-punned pointer will break strict-aliasing rules ../../dbfnsx1.c: In function 'hb_nsxPageFree': ../../dbfnsx1.c:1573: warning: dereferencing type-punned pointer will break strict-aliasing rules ../../dbfnsx1.c:1573: warning: dereferencing type-punned pointer will break strict-aliasing rules ../../dbfnsx1.c:1573: warning: dereferencing type-punned pointer will break strict-aliasing rules ../../dbfnsx1.c:1573: warning: dereferencing type-punned pointer will break strict-aliasing rules ../../dbfnsx1.c: In function 'hb_nsxPageNew': ../../dbfnsx1.c:1622: warning: dereferencing type-punned pointer will break strict-aliasing rules ../../dbfnsx1.c:1622: warning: dereferencing type-punned pointer will break strict-aliasing rules ../../dbfnsx1.c:1622: warning: dereferencing type-punned pointer will break strict-aliasing rules ../../dbfnsx1.c:1622: warning: dereferencing type-punned pointer will break strict-aliasing rules ../../hb_btree.c: In function 'StackSkip': ../../hb_btree.c:643: warning: cast from pointer to integer of different size ../../hb_btree.c: In function 'Grow': ../../hb_btree.c:739: warning: cast from pointer to integer of different size ../../getenvrn.c: In function 'HB_FUN_FT_GETE': ../../getenvrn.c:178: warning: implicit declaration of function 'GetEnvironmentStrings' ../../getenvrn.c:178: warning: initialization makes pointer from integer without a cast ../../win_dll.c: In function 'DllExec': ../../win_dll.c:509: warning: cast from pointer to integer of different size ../../win_dll.c:603: warning: cast to pointer from integer of different size ../../win_dll.c:672: warning: cast to pointer from integer of different size ../../win_dll.c:689: warning: cast to pointer from integer of different size ../../hbserv.c: In function 's_serviceSetHBSig': ../../hbserv.c:638: warning: passing argument 1 of 'SetUnhandledExceptionFilter' from incompatible pointer type ../../firebird.c: In function 'HB_FUN_FBCREATEDB': ../../firebird.c:87: warning: initialization makes integer from pointer without a cast ../../firebird.c:88: warning: initialization makes integer from pointer without a cast ../../firebird.c: In function 'HB_FUN_FBCONNECT': ../../firebird.c:115: warning: initialization makes integer from pointer without a cast ../../firebird.c:143: warning: cast to pointer from integer of different size ../../firebird.c: In function 'HB_FUN_FBCLOSE': ../../firebird.c:149: warning: cast from pointer to integer of different size ../../firebird.c: In function 'HB_FUN_FBSTARTTRANSACTION': ../../firebird.c:172: warning: cast from pointer to integer of different size ../../firebird.c:173: warning: initialization makes integer from pointer without a cast ../../firebird.c:179: warning: cast to pointer from integer of different size ../../firebird.c: In function 'HB_FUN_FBCOMMIT': ../../firebird.c:184: warning: cast from pointer to integer of different size ../../firebird.c: In function 'HB_FUN_FBROLLBACK': ../../firebird.c:195: warning: cast from pointer to integer of different size ../../firebird.c: In function 'HB_FUN_FBEXECUTE': ../../firebird.c:206: warning: cast from pointer to integer of different size ../../firebird.c:207: warning: initialization makes integer from pointer without a cast ../../firebird.c:215: warning: cast from pointer to integer of different size ../../firebird.c: In function 'HB_FUN_FBQUERY': ../../firebird.c:249: warning: cast from pointer to integer of different size ../../firebird.c:250: warning: initialization makes integer from pointer without a cast ../../firebird.c:253: warning: initialization makes integer from pointer without a cast ../../firebird.c:270: warning: cast from pointer to integer of different size ../../firebird.c:375: warning: cast to pointer from integer of different size ../../firebird.c:379: warning: cast to pointer from integer of different size ../../firebird.c: In function 'HB_FUN_FBFETCH': ../../firebird.c:395: warning: cast from pointer to integer of different size ../../firebird.c: In function 'HB_FUN_FBFREE': ../../firebird.c:419: warning: cast from pointer to integer of different size ../../firebird.c:421: warning: cast from pointer to integer of different size ../../firebird.c: In function 'HB_FUN_FBGETBLOB': ../../firebird.c:613: warning: cast from pointer to integer of different size ../../firebird.c:614: warning: initialization makes integer from pointer without a cast ../../firebird.c:615: warning: initialization makes integer from pointer without a cast ../../firebird.c:624: warning: cast from pointer to integer of different size ../../fbirddd.c: In function 'fbConnect': ../../fbirddd.c:164: warning: initialization makes integer from pointer without a cast ../../fbirddd.c:192: warning: cast to pointer from integer of different size ../../fbirddd.c: In function 'fbOpen': ../../fbirddd.c:217: warning: initialization makes integer from pointer without a cast ../../fbirddd.c:218: warning: initialization makes integer from pointer without a cast ../../fbirddd.c:409: warning: assignment makes pointer from integer without a cast ../../fbirddd.c:410: warning: assignment makes pointer from integer without a cast ../../fbirddd.c: In function 'fbClose': ../../fbirddd.c:446: warning: passing argument 2 of 'isc_dsql_free_statement' from incompatible pointer type c:/devl/Firebird-2.1.1/include/ibase.h:629: note: expected 'isc_stmt_handle *' but argument is of type 'void **' ../../fbirddd.c:451: warning: passing argument 2 of 'isc_rollback_transaction' from incompatible pointer type c:/devl/Firebird-2.1.1/include/ibase.h:780: note: expected 'isc_tr_handle *' but argument is of type 'void **' ../../fbirddd.c: In function 'fbGoTo': ../../fbirddd.c:469: warning: passing argument 2 of 'isc_dsql_fetch' from incompatible pointer type c:/devl/Firebird-2.1.1/include/ibase.h:622: note: expected 'isc_stmt_handle *' but argument is of type 'void **' ../../fbirddd.c:531: warning: passing argument 2 of 'isc_dsql_free_statement' from incompatible pointer type c:/devl/Firebird-2.1.1/include/ibase.h:629: note: expected 'isc_stmt_handle *' but argument is of type 'void **' ../../fbirddd.c:538: warning: passing argument 2 of 'isc_commit_transaction' from incompatible pointer type c:/devl/Firebird-2.1.1/include/ibase.h:524: note: expected 'isc_tr_handle *' but argument is of type 'void **' 2009-03-25 02:49 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/tests/speedtst.prg * simplified xHarbour MT test - use mutexes as internal thread IDs as workarounds for race conditions in xHarbour .prg MT API. 2009-03-24 18:34 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/tbrowse.prg ! fixed Clipper compatibility in configure() action - it does not set refreshAll flag and only invalidates all records ! recalculate visible columns in colorRect() method * enabled strict Clipper compatible behavior for non character footers and headers 2009-03-24 13:27 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/gttrm/gttrm.c * formatting 2009-03-24 01:08 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/tests/speedtst.prg * updated to compile with FlagShip 2009-03-23 22:08 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/gtwvg/gtwvg.h * harbour/contrib/gtwvg/wvggui.c * harbour/contrib/gtwvg/wvgcuig.c * harbour/contrib/gtwvg/wvgcore.c ! pacified MinGW-CE builds warnings 2009-03-23 21:42 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbodbc/odbc.c * harbour/contrib/hbtpathy/tpwin.c * harbour/contrib/hbwin/win_ole.c * harbour/contrib/hbwin/win_regc.c ! casting 2009-03-23 20:46 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbclass.ch + added support for xBase++ method code declaration by METHOD <clasName>:<methodName>[ ( <parameters,...> ) ] e.g.: METHOD TBrowse:Configure( nMode ) * harbour/source/rtl/tthreadx.prg * harbour/source/rtl/thfuncx.prg ! fixed 0 timeout parameter in some xBase++ compatible functions In xBase++ timeout 0 means wait forever * harbour/tests/speedtst.prg * update to compile with MT support using xBase++ MT .prg API. I tested it only using Harbour by compiling this code with -D__XPP__ macro and it works using only xBase++ MT .prg API we are emulating. Please make some tests with real xBase++ compiler. 2009-03-23 17:04 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/itemapi.c * harbour/source/common/hbprintf.c * use isfinite() instead of finite() in MinGW builds. It's possible that it can resolve problems with MinGW64 builds. 2009-03-23 16:06 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/pp/ppcore.c ! fixed typo in data constant values written to .ppo files 2009-03-23 14:54 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/debian/dirs * harbour/harbour.spec ! removed doc/es form direcotry list 2009-03-23 02:17 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/pp/ppcore.c * harbour/source/common/hbdate.c * harbour/source/macro/macrolex.c * harbour/source/compiler/complex.c + added alternative support for date constant values as: d"YYYY-MM-DD" As delimiter the following characters can be used: "-", "/", "." Just like in t"..." 2009-03-22 22:50 UTC+0100 Francesco Saverio Giudice (info/at/fsgiudice.com) * harbour/contrib/hbwin/win_ole.c * removed debug lines 2009-03-22 22:33 UTC+0100 Francesco Saverio Giudice (info/at/fsgiudice.com) * harbour/source/rtl/tscalart.c * fixed header ; copyright leaved to Przemek as I have only changed function name, but the code is the same 2009-03-22 22:28 UTC+0100 Francesco Saverio Giudice (info/at/fsgiudice.com) * harbour/source/rtl/tscalart.c ! fixed SVN attributes ; I hope I did correctly 2009-03-22 22:13 UTC+0100 Francesco Saverio Giudice (info/at/fsgiudice.com) + harbour/source/rtl/tscalart.c + Added scalar TIMESTAMP * harbour/source/rtl/Makefile + tscalart.c added * harbour/include/hbclass.ch * added HBTIMESTAMP scalar type to ENABLE TYPE CLASS * harbour/source/rtl/tscalar.prg + added scalar class TIMESTAMP with methods to extract parts from Timestamp: Date(), Time(), Year(), Month(), Day(), Hour(), Minute(), Sec() * added methods Year(), Month(), Day() to Date scalar class * harbour/contrib/hbwin/win_ole.c * updated for new Timestamp type 2009-03-22 21:54 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/valtoexp.prg + added timestamp support to hb_valToExp() and hb_cStr() functions 2009-03-22 18:16 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbstack.h * added alternative asm inline function to __MINGW32__ builds which operates on 64-bit pointers. It's used when __MINGW64__ macro is defined. I do not know if such macro existing in 64-bit MinGW version. * harbour/include/hbdefs.h + added HB_PTRUINT * harbour/source/common/hbprintf.c * used HB_PTRUINT for %p casting 2009-03-21 09:01 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/hbqt/Makefile + Added new files. * harbour/contrib/hbqt/hbqt.h + harbour/contrib/hbqt/slots.h + Slots.h could be renamed to hbqt_slots.h, Marcos ? + harbour/contrib/hbqt/hbqt_qabstractscrollarea.cpp + harbour/contrib/hbqt/hbqt_qabstractslider.cpp + harbour/contrib/hbqt/hbqt_qabstractspinbox.cpp + harbour/contrib/hbqt/hbqt_qaction.cpp + harbour/contrib/hbqt/hbqt_qapplication.cpp + harbour/contrib/hbqt/hbqt_qboxlayout.cpp + harbour/contrib/hbqt/hbqt_qcalendarwidget.cpp + harbour/contrib/hbqt/hbqt_qcheckbox.cpp + harbour/contrib/hbqt/hbqt_qcolordialog.cpp + harbour/contrib/hbqt/hbqt_qcombobox.cpp + harbour/contrib/hbqt/hbqt_qcommandlinkbutton.cpp + harbour/contrib/hbqt/hbqt_qcoreapplication.cpp + harbour/contrib/hbqt/hbqt_qcqlendarwidget.cpp + harbour/contrib/hbqt/hbqt_qdateedit.cpp + harbour/contrib/hbqt/hbqt_qdatetimeedit.cpp + harbour/contrib/hbqt/hbqt_qdial.cpp * harbour/contrib/hbqt/hbqt_qdialog.cpp + harbour/contrib/hbqt/hbqt_qdoublespinbox.cpp + harbour/contrib/hbqt/hbqt_qerrormessage.cpp + harbour/contrib/hbqt/hbqt_qfiledialog.cpp + harbour/contrib/hbqt/hbqt_qfocusframe.cpp + harbour/contrib/hbqt/hbqt_qfont.cpp + harbour/contrib/hbqt/hbqt_qfontcombobox.cpp + harbour/contrib/hbqt/hbqt_qfontdialog.cpp + harbour/contrib/hbqt/hbqt_qformlayout.cpp + harbour/contrib/hbqt/hbqt_qframe.cpp + harbour/contrib/hbqt/hbqt_qgroupbox.cpp + harbour/contrib/hbqt/hbqt_qhboxlayout.cpp + harbour/contrib/hbqt/hbqt_qinputdialog.cpp + harbour/contrib/hbqt/hbqt_qlabel.cpp + harbour/contrib/hbqt/hbqt_qlayout.cpp + harbour/contrib/hbqt/hbqt_qlayoutitem.cpp + harbour/contrib/hbqt/hbqt_qlcdnumber.cpp + harbour/contrib/hbqt/hbqt_qlinedit.cpp + harbour/contrib/hbqt/hbqt_qlineedit.cpp + harbour/contrib/hbqt/hbqt_qlistview.cpp + harbour/contrib/hbqt/hbqt_qmainwindow.cpp + harbour/contrib/hbqt/hbqt_qmenu.cpp + harbour/contrib/hbqt/hbqt_qmenubar.cpp + harbour/contrib/hbqt/hbqt_qmessagebox.cpp + harbour/contrib/hbqt/hbqt_qobject.cpp + harbour/contrib/hbqt/hbqt_qpagesetupdialog.cpp + harbour/contrib/hbqt/hbqt_qprintdialog.cpp + harbour/contrib/hbqt/hbqt_qprintpreviewdialog.cpp + harbour/contrib/hbqt/hbqt_qprogressbar.cpp + harbour/contrib/hbqt/hbqt_qprogressdialog.cpp + harbour/contrib/hbqt/hbqt_qpushbutton.cpp + harbour/contrib/hbqt/hbqt_qradiobutton.cpp + harbour/contrib/hbqt/hbqt_qscrollarea.cpp + harbour/contrib/hbqt/hbqt_qscrollbar.cpp + harbour/contrib/hbqt/hbqt_qsizegrip.cpp + harbour/contrib/hbqt/hbqt_qslider.cpp + harbour/contrib/hbqt/hbqt_qspinbox.cpp + harbour/contrib/hbqt/hbqt_qsplitter.cpp + harbour/contrib/hbqt/hbqt_qtabbar.cpp + harbour/contrib/hbqt/hbqt_qtableview.cpp + harbour/contrib/hbqt/hbqt_qtablewidget.cpp + harbour/contrib/hbqt/hbqt_qtablewidgetitem.cpp + harbour/contrib/hbqt/hbqt_qtabwidget.cpp + harbour/contrib/hbqt/hbqt_qtextedit.cpp + harbour/contrib/hbqt/hbqt_qtimeedit.cpp + harbour/contrib/hbqt/hbqt_qtoolbar.cpp + harbour/contrib/hbqt/hbqt_qtoolbox.cpp + harbour/contrib/hbqt/hbqt_qtoolbutton.cpp + harbour/contrib/hbqt/hbqt_qtreeview.cpp + harbour/contrib/hbqt/hbqt_qvboxlayout.cpp + harbour/contrib/hbqt/hbqt_qwebview.cpp * harbour/contrib/hbqt/hbqt_qwidget.cpp + harbour/contrib/hbqt/hbqt_qwizard.cpp + harbour/contrib/hbqt/hbqt_slots.cpp + harbour/contrib/hbqt/moc_slots.cpp + Added re-worked code supplied by Marcos Gambeta, thanks. Please ensure that all future developments should respect hbqt.h api conventions. + harbour/contrib/hbqt/tests + harbour/contrib/hbqt/tests/demoqt.prg + Added a small test. Marcos please check which MinGW flag is needed so that it does not show up console screen as parent of App or Dialogs. ; NOTE: Marcos, can you update your PHP script to write output file in format I showed in above files? 2009-03-21 16:07 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/hb-func.sh ! restored default optimization flag (-O3) in hb* scripts * harbour/harbour.spec ! fixed recent modification * harbour/contrib/rddads/ads1.c * harbour/contrib/rddads/adsfunc.c * harbour/contrib/hbmisc/strfmt.c * harbour/contrib/hbcrypt/sha1.c ! fixed wrongly used C reference operator * harbour/contrib/hbwin/win_prn2.c * harbour/contrib/hbwin/wapi_commctrl.c * harbour/source/vm/maindllp.c ! fixes for unicode builds * harbour/include/std.ch + added SET TIME FORMAT [TO] <f> * harbour/include/set.ch * harbour/include/hbset.h * harbour/source/vm/set.c + added _SET_TIMEFORMAT The folowing modifiers are supported: hh - hours mm - minutes ss - seconds fff - fraction part of seconds p - 1st letter from PM / AM signature. When used time is shown in 12 hour format otherwise 24 hour format is used ex: Set( __SET_TIMEFORMAT, "hh:mm pm" ) default _SET_TIMEFORMAT value is "hh:mm:ss:fff" + added C function: char * hb_setGetTimeFormat( void ); * harbour/include/hbpp.h * harbour/source/pp/ppcore.c + added support for timestamp constant values in the form: t"YYYY-MM-DD HH:MM:SS.fff" The exact accepted timestamp pattern is is: YYYY-MM-DD [H[H][:M[M][:S[S][.f[f[f[f]]]]]]] [PM|AM] i.e.: tValue := t"2009-03-21 5:31:45.437 PM" or: YYYY-MM-DDT[H[H][:M[M][:S[S][.f[f[f[f]]]]]]] [PM|AM] with literal "T" as date and time part delimiters (XML timestamp format), i.e.: tValue := t"2009-03-21T17:31:45.437" The folowing characters can be used as date delimiters: "-", "/", "." if PM or AM is used HH is in range < 1 : 12 > otherwise in range < 0 : 23 > * harbour/source/compiler/complex.c * harbour/source/compiler/harbour.y * harbour/source/compiler/harbour.yyc * harbour/source/compiler/harbour.yyh + added support for t"YYYY-MM-DD HH:MM:SS.fff" time stamp constant to compiler + added support for VFP datetime constant values: { ^ [ YYYY-MM-DD [,] ] [ HH[:MM[:SS][.FFF]] [AM|PM] ] } The following characters can be used as date delimiters: "-", "/". Dot "." as date delimiter is not supported. There is no limit on number of characters in YYYY, MM, DD, HH, MM, SS, FFF parts. Important is only their value. This is the format in semi PP notation: { ^ <YEAR> <sep:/-> <MONTH> <sep:/-> <DAY> [[<sep2:,>] [ <HOUR> [ : <MIN> [ : <SEC> [ . <FRAQ> ] ] ] [AM|PP] ] } In practice it allows to also parse xHarbour datetime constant values with compatible conditions though xHarbour support only "/" as date delimiter. NOTE: there is one important difference to VFP and xHarbour in decoding above format. In VFP and xHarbour when date part is missing then it's set by default to: 1899-12-30 so this code: { ^ 12:00 } gived the same results as: { ^ 1899-12-30 12:00 } Harbour does not set any default date value when timestamp constant value contains only time part. If you want we can change it for strict VFP compatiblity. Now this extension is enabled by default for testing. In the future it will be probably covered by HB_COMPAT_FOXPRO macro. * harbour/source/macro/macro.yyc * harbour/source/macro/macro.y * harbour/source/macro/macro.yyh * harbour/source/macro/macrolex.c + added support for t"YYYY-MM-DD HH:MM:SS.fff" time stamp constant to macro compiler * harbour/include/hbmacro.h * harbour/source/vm/macro.c + added new function: void hb_macroGenPushTimeStamp( LONG lDate, LONG lTime, HB_COMP_DECL ); * harbour/include/hberrors.h * harbour/source/compiler/hbgenerr.c + added new compile time error: "Invalid timestamp constant '%s'" * harbour/source/compiler/cmdcheck.c * use Harbour API timestamp functions instead of calling system functions * harbour/include/hbpcode.h * harbour/source/compiler/hbfix.c * harbour/source/compiler/hbpcode.c * harbour/source/compiler/hbdead.c * harbour/source/compiler/genc.c * harbour/source/compiler/gencc.c * harbour/source/compiler/hblbl.c * harbour/source/compiler/hbstripl.c * harbour/source/compiler/hbopt.c + added new PCODE HB_P_PUSHTIMESTAMP (replaced one unused PCODE value) to store timestamp constant values in the PCODE * harbour/include/hbcomp.h * harbour/source/compiler/hbmain.c + added new function: void hb_compGenPushTimeStamp( LONG lDate, LONG lTime, HB_COMP_DECL ); * harbour/include/hbexprop.h * harbour/source/common/expropt1.c + added new C functions: HB_EXPR_PTR hb_compExprNewTimeStamp( LONG, LONG, HB_COMP_DECL ); * harbour/include/hbexprb.c * harbour/include/hbcompdf.h * harbour/source/common/expropt2.c + added timestamp expressions support + added compile time optimization for timestamp expressions * updated function optimization for timestamp expressions * harbour/include/hbdate.h * harbour/source/common/hbdate.c * changed hb_dateMilliSeconds() to return UTC julian timestamp in milliseconds * changed existing seconds, time and timestamp functions to operate on common OS specific functions to eliminate possible problems with different OS time counters + added new functions to operates on time and timestamp values. See source code for details. + harbour/source/rtl/cputime.c * moved double hb_secondsCPU( int n ) function to separate file * harbour/source/rtl/seconds.c - removed old version of date/seconds functions * harbour/source/vm/hashes.c * harbour/source/vm/arrays.c + added support for timestamp values as hash item indexes * harbour/source/vm/hashfunc.c + added support for find timestamp values in hash and array items by simple date value in AScan(), hb_HScan(), hb_AScan() and hb_RAScan() functions when exact comparison is not used. * harbour/source/vm/asort.c + added support for sorting timestamp values * harbour/source/vm/classes.c + added support for timestamp scallar classes + added support for timestamp typed instance variables * harbour/source/vm/memvars.c + added support for timestamp values in .mem files * harbour/source/vm/estack.c + show timestamp values in stack dump * harbour/include/hbapi.h * harbour/source/vm/arrays.c + added new C functions: double hb_arrayGetTD( PHB_ITEM pArray, ULONG ulIndex ); BOOL hb_arraySetTD( PHB_ITEM pArray, ULONG ulIndex, double dTimeStamp ) BOOL hb_arrayGetTDT( PHB_ITEM pArray, ULONG ulIndex, LONG * plJulian, LONG * plMilliSec ); BOOL hb_arraySetTDT( PHB_ITEM pArray, ULONG ulIndex, LONG lJulian, LONG lMilliSec ); * harbour/include/hbapi.h * harbour/source/vm/extend.c + accept timestamp items in date functions - use only date part of timestamp value + added new C functions: double hb_partd( int iParam, ... ); BOOL hb_partdt( LONG * plJulian, LONG * plMilliSec , int iParam, ... ); void hb_rettd( double dTimeStamp ); void hb_rettdt( LONG lJulian, LONG lMilliSec ); int hb_stortd( double dTimeStamp, int iParam, ... ); int hb_stortdt( LONG lJulian, LONG lMilliSec, int iParam, ... ); * harbour/include/hbapiitm.h * harbour/source/vm/itemapi.c + accept timestamp items in date functions - use only date part of timestamp value + added new C functions: char * hb_itemGetTS( PHB_ITEM pItem, char * szDateTime ); PHB_ITEM hb_itemPutTS( PHB_ITEM pItem, const char * szDateTime ); double hb_itemGetTD( PHB_ITEM pItem ); PHB_ITEM hb_itemPutTD( PHB_ITEM pItem, double dTimeStamp ) BOOL hb_itemGetTDT( PHB_ITEM pItem, LONG * plJulian, LONG * plMilliSec ); PHB_ITEM hb_itemPutTDT( PHB_ITEM pItem, LONG lJulian, LONG lMilliSec ); + support for timestamp items in hb_itemString(), hb_itemPadConv() and hb_itemTypeStr() functions * harbour/include/hbvm.h * harbour/include/hbxvm.h * harbour/include/hbapi.h * harbour/source/vm/hvm.c + added HB_IT_TIMESTAMP items * modified HB_IT_DATE internal item structure to use common structure with HB_IT_TIMESTAMP - it simplifies HVM code and eliminates additional RT conditions. + added HB_IS_TIMESTAMP() and ISTIMESTAMP() macros + added HB_IS_DATETIME() and ISDATETIME() macros - they return true if item/parameter is DATE or TIMESTAMP type. + added void hb_vmPushTimeStamp( long lJulian, long lMilliSec ); and xhb_vmPushTimeStamp() + added support for timestamp values in relational operators: <, <=, >, >=, =, == When two timestamp values are compared then VM compares date and time parts in both values. When date and timestamp values are used in <, <=, >, >=, = operations then VM compares only date part in both values. When date and timestamp values are used in == operation then VM compares date part in both values and then check if time part of timestamp value is 0. + added support for timestamp values in + and - math operations. The following rules are used in timestamp arithmetic: <t> + <t> => <t> <t> - <t> => <n> <t> + <n> => <t> <n> + <t> => <t> <t> - <n> => <t> <d> + <t> => <t> <t> + <d> => <t> <d> - <t> => <n> <t> - <d> => <n> When number is result or argument of timestamp operation then the its integer part is a number of day and fractional part is the time. * harbour/source/rtl/dateshb.c + added new .prg functions to mange date and timestamp values: HB_DATETIME() -> <tTimeStamp> HB_CTOD( <cDate> [, <cDateFormat> ] ) -> <dDate> HB_DTOC( <dDate> [, <cDateFormat> ] ) -> <cDate> HB_NTOT( <nValue> ) -> <tTimeStamp> HB_TTON( <tTimeStamp> ) -> <nValue> HB_TTOC( <tTimeStamp>, [ <cDateFormat> ] [, <cTimeFormat> ] ) -> <cTimeStamp> HB_CTOT( <cTimeStamp>, [ <cDateFormat> ] [, <cTimeFormat> ] ) -> <tTimeStamp> HB_TTOS( <tTimeStamp> ) -> <cYYYYMMDDHHMMSSFFF> HB_STOT( <cDateTime> ) -> <tTimeStamp> <cDateTime> should be in one of the above form: - "YYYYMMDDHHMMSSFFF" - "YYYYMMDDHHMMSSFF" - "YYYYMMDDHHMMSSF" - "YYYYMMDDHHMMSS" - "YYYYMMDDHHMM" - "YYYYMMDDHH" - "YYYYMMDD" - "HHMMSSFFF" - "HHMMSSF" - "HHMMSS" - "HHMM" - "HH" Important is number of digits. HB_TSTOSTR( <tTimeStamp> [, <lShorten> ] ) -> <cTimeStamp> // YYYY-MM-DD HH:MM:SS.fff HB_STRTOTS( <cTimeStamp> ) -> <tTimeStamp> <cTimeStamp> should be in one of the above form: YYYY-MM-DD [H[H][:M[M][:S[S][.f[f[f[f]]]]]]] [PM|AM] YYYY-MM-DDT[H[H][:M[M][:S[S][.f[f[f[f]]]]]]] [PM|AM] The folowing characters can be used as date delimiters: "-", "/", "." T - is literal "T" - it's for XML timestamp format if PM or AM is used HH is in range < 1 : 12 > otherwise in range < 0 : 23 > HB_HOUR( <tTimeStamp> ) -> <nHour> HB_MINUTE( <tTimeStamp> ) -> <nMinute> HB_SEC( <tTimeStamp> ) -> <nSeconds> // with milliseconds * harbour/source/rtl/datec.c + accept timestamp parameters in CMONTH() and CDOW() functions * harbour/source/rtl/empty.c + added support for timestamp items * harbour/source/rtl/itemseri.c + added support for timestamp items serialization * harbour/source/rtl/minmax.c + added support for timestamp values to MIN() and MAX() functions. when only one of given parameters is timestamp value and other is date value and date parts are equal then always date item is returned as both MIN() or MAX() value. * harbour/source/rtl/dates.c + added new C functions: hb_timeFormat(), hb_timeUnformat(), hb_timeStampFormat(), hb_timeStampUnformat() * harbour/source/rtl/valtype.c + added .prg functions: HB_ISDATETIME(), HB_ISTIMESTAMP() * harbour/source/rtl/transfrm.c + added support for timestamp items formatting. + added new function modifier @T. When @T is used without @D then only time part of timestamp value is formatted and return. When @D is used without @T then only date part of timestamp value is formatted and return. * harbour/source/rtl/tbrowse.prg + display timestamp values * harbour/source/rtl/philes.c + accept timestamp value as second parameter of HB_FSETDATETIME() function + store file data and time in second parameter of HB_FGETDATETIME() as timestamp value. Old parameters (2-dDate, 3-cTime) are still supported but please think about removing them - they are redundant. * harbour/source/rtl/filesys.c * updated function names * harbour/source/rdd/dbf1.c + added native support for time and timestamp fields * harbour/include/hbrddcdx.h * harbour/include/hbrddnsx.h * harbour/source/rdd/dbfntx/dbfntx1.c * harbour/source/rdd/dbfcdx/dbfcdx1.c * harbour/source/rdd/dbfnsx/dbfnsx1.c * harbour/source/rdd/dbffpt/dbffpt1.c + added support for indexing timestamp fields + added support for using DATE values with timestamp fields which replicate HVM behavior. SEEK and SEEKLAST with date value when active index is on timestamp positions to 1st or last record where date part of indexed timesamp value is equal. Settings scopes to date values when active index is on timestamp value reduce the visible record range to these ones which have date part of timestamp value in the range of dates values used for scopes. It possible to mix date and timestamp values in scope and set one scope to date value and the second to timesamp. * harbour/source/rdd/sdf1.c * harbour/source/rdd/delim1.c + added support for exporting timestamp fields * harbour/source/rdd/dbsql.c ! fixed typo in logical value export + export timestamp fields. Please update the format to given SQL syntax. * harbour/contrib/hbct/files.c + changed SETFDATI() to optionally accept timestamp parameter instead of two parameters dDate and cTime * harbour/contrib/hbct/misc1.c + added timestamp support to XTOC() function * harbour/contrib/hbct/misc2.c + added timestamp support to COMPLEMENT() function * harbour/contrib/hbct/dattime2.c + accept timestamp values in ADDMONTH(), DOY(), ISLEAP(), QUARTER() LASTDAYOM(), WEEK() functions * harbour/contrib/hbmzip/hbmzip.c + updated HB_ZipFileCreate( hZip, cZipName, tDateTime, cTime, ... ) functions to optionaly accept timestamp value in 3rd parameter instead od dDate, and cTime in 3rd and 4th parameters. + updated HB_UnzipFileInfo( hUnzip, @cZipName, @tDateTime, @cTime, ... ) to return timestamp value in 3rd parameter instead of date value. TODO: Please think about removing 4th parameter from: HB_ZipFileCreate( hZip, cZipName, tDateTime, cTime, ... ) HB_UnzipFileInfo( hUnzip, @cZipName, @tDateTime, @cTime, ... ) Now it's redundant. * harbour/contrib/hbmzip/readme.txt * updated parameters description for above functions * harbour/contrib/hbnf/descendn.c + added timestamp support to FT_DESCEND() function * harbour/contrib/hbclipsm/date.c + accept timestamp values in DATEASAGE(), DATEASARRAY() and DATEISLEAP() functions * harbour/contrib/hbmisc/dates2.c + accept timestamp values in ISLEAPYEAR(), DAYSINMONTH(), EOM(), BOM(), WOM(), WOY(), EOY() and BOY() functions The following contrib files should be updated but I'm leaving it to other developers who want to keep this code alive: contrib/hbtip/utils.c contrib/hbvpdf/hbvpdf.prg contrib/hbvpdf/hbvpdft.prg contrib/hbwin/win_dll.c some minor cleanups if necessary and authors will find timestamp values usable contrib/hbole/ole2.c contrib/hbwin/win_ole.c add support for timestamp values in OLE contrib/rddado/adordd.prg contrib/rddads/ads1.c contrib/rddads/adsx.c contrib/rddsql/... add support for timestamp values in RDDs Warning: this implementation is not xHarbour compatible. There are many important differences. Mostly on C level and used API. Please be careful in porting xHarbour source code to Harbour. Many thanks to Walter Negro for his DATETIME implementation in xHarbour which allowed me to tests some different aspects of DAYTIME/TIMESTAMP behavior and was important inspiration for this job. 2009-03-21 15:44 UTC+0100 Viktor Szakats * contrib/hbtpathy/tpwin.c * contrib/hbwin/win_regc.c ! mingw64 reported (64-bit) problems fixed. * contrib/hbwin/wapi_winbase.c ! mingw64 reported (64-bit) problem fixed. ! ISNIL() -> ISCHAR(). It appears many times, but using ISNIL() has the same cost IS<ACTUAL_TYPE>(), yet only covers one case, so it's very dangerous and leave potential GPFs when passing wrong type. So, when there is no strong special reason to use ISNIL() (like we really want to allow all types except NIL), always use ISCHAR(), ISNUM(), ISPOINTER(), ... instead. * ChangeLog - Deleted resolved mingw64 warnings from entry. 2009-03-21 15:12 UTC+0100 Viktor Szakats * contrib/hbwin/win_dll.c * contrib/hbwin/win_ole.c ! Fixed most mingw64 spotted errors/warnings. 2009-03-21 15:02 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg * config/win/icc.cf * config/win/cygwin.cf * config/win/msvc.cf * config/win/owatcom.cf * config/win/xcc.cf * config/win/mingw.cf * config/win/pocc.cf * Changed Harbour to uniformly link against ws2_32 winsock lib on Windows. Previous we've been using a mixture of ws2_32 and wsock32, sometimes both. For some platforms one of these libs is automatically included by linker, e.g. for bcc, wsock32 is used. ! This fixes wsock32 no longer available for mingw64. ; These platforms should be retested if this causes any problems, but ws2_32 should be available for all since long. * utils/hbmk2/hbmk2.prg ! Typo in prev commit. * source/vm/maindllp.c * source/vm/extrap.c ! Fixed for mingw64. ! Fixed warning for mingw64. ; TODO: Check for possible regression. [DONE] * contrib/hbodbc/odbc.c ! Fixed mingw64 warning. ; TODO: Check for possible regression. [DONE] 2009-03-21 14:23 UTC+0100 Viktor Szakats * INSTALL * utils/hbmk2/hbmk2.prg + config/win/mingw64.cf * config/win/mingw.cf + Added support for mingw64. MinGW 64-bit mode. Harbour doesn't build yet due to some compiling errors (plus some internal MinGW ones to be investigated). ; TODO: Add support in postinst.sh. [DONE] * source/vm/extrap.c * win32 -> win. 2009-03-21 13:21 UTC+0100 Viktor Szakats * config/win/mingwce.cf * config/win/cygwin.cf * config/win/mingw.cf + Added -fomit-frame-pointer switch for win/gcc family. It causes quite a huge improvement in all areas, bringing MinGW very close to MSVC and even faster in many aspects. Some FP operations are still slower a bit, and this seems to be the only remaining - small - disadvantage. For C level debugging this switch should be turned off AFAIK. 2009-03-21 10:17 UTC+0100 Viktor Szakats * tests/bnchmark/bnch_win.bat + Added option to override benchmark program name, so now it can be used with customized speedtst versions or other benchmark apps. + Added HB_CMP_FLAGS envvar to define common compilation flags. + Now echoing all benchmark settings to output. * config/win/icc.cf + Added -nologo. * Changed -W4 to -W3, as -W3 is really verbose in this compiler. * INSTALL * bin/hb-mkdyn.bat * utils/hbmk2/hbmk2.prg + config/win/iccia64.cf + Added Intel(R) C++ Compiler IA64 support. All Harbour libs (including contribs) compiled successfully, but I couldn't try linking any executables. ; TODO: Add processor information to appropriate places into Harbour. Currently we have only bit width and endianness, but no actual CPU family info. CPU instruction families Harbour can currently be built on out of the box: x86, amd64, IA64, PPC, PPC64, ARM. [DONE] 2009-03-20 17:33 UTC+0100 Viktor Szakats * tests/bnchmark + tests/bnchmark/bnch_win.bat + Added speedtst comparison tool, featuring: - CPU + physical memory info dump from WMI - Tasklist before and after test runs - Harbour /build info included in output - Complete dump of commands executed, hbmk2 output - Dir listing of tested .exes - All tests repeated three times by default (configurable) - 8 slots maximum to compare different speedtst scenarios - By default it will run -st vs. -mt tests. ; Please read the comments in the file for usage instructions. Here's an example for parameter setup: -- set PATH=C:\devl\MinGW-432\bin;%PATH% set HB_BENCH_RUNS=3 set HB_RUN_FLAGS=--exclude=030 set HB_CMP_FLAGS_1=-gc2 set HB_CMP_FLAGS_2=-gc3 call bnch_win.bat > results.txt 2>&1 -- * config/rules.cf + Restored -ko flag. Thanks Mindaugas for analysing test result. * contrib/hbodbc/todbc.prg * contrib/hbodbc/odbc.c * Formatting + minor cleanups. 2009-03-20 00:41 UTC+0100 Viktor Szakats + contrib/xhb/inet.h + Added from xhb. * contrib/xhb/xhbfunc.c + Added HB_POINTER2STRING() and HB_STRING2POINTER(). Just for the record, I've commented them, as they're both very dangerous and violating basic programming rules. * contrib/hbwin/win_prn2.c + Added XISPRINTER() from xhb. % Optimizations / cleanups in Windows spaghetti code. Would need a complete 'refactor'. 2009-03-19 20:37 UTC+0100 Viktor Szakats * contrib/xhb/Makefile + contrib/xhb/stream.prg + contrib/xhb/traceprg.prg + contrib/xhb/xhberr.prg * contrib/xhb/xhbfunc.c + More ports: HB_CMDARGARGV(), HB_VMMODE(), TRACELOG(), Stream classes, xhb errorsys (activate by calling xhb_ErrorSys()) * contrib/xhb/fparse.c * contrib/xhb/dumpvar.prg * contrib/xhb/xhbat.c * contrib/xhb/ttable.prg * contrib/xhb/txtline.c * Fixes/cleanups to previous ports. 2009-03-19 19:49 UTC+0100 Viktor Szakats * xhb/Makefile * xhb/dumpvar.prg + xhb/decode.prg + Added HB_DECODE(). * Syntax adapted for Harbour. 2009-03-19 19:05 UTC+0100 Viktor Szakats * source/vm/maindll.c * source/vm/maindllp.c ! HB_EXPORT moved to beginning of declaration. * contrib/hbmysql/tmysql.prg * contrib/hbmysql/tsqlbrw.prg * More formatting. * xhb/Makefile * xhb/hbcompat.ch + xhb/xhbis.c + xhb/xhbscr.c + xhb/xhbat.c + xhb/txtline.c + xhb/dumpvar.prg + Added xhb remaining stuff: ISALNUM() ISSPACE() ISXDIGIT() ISCNTRL() ISGRAPH() ISPRINT() ISPUNCT() ISASCII() SCROLLFIXED() ATSKIPSTRINGS() HB_TABEXPAND() HB_READLINE() __OutDebug() HB_DumpVar() HBCONSOLELOCK() (emulation, might be wrong) HBCONSOLEUNLOCK() (emulation, might be wrong) ; Please review, my only goal was to make them compile. 2009-03-19 18:06 UTC+0100 Viktor Szakats * source/vm/maindll.c * source/vm/maindllp.c ! Fixed placement of HB_EXPORT in declaration. * contrib/hbmysql/tmysql.prg * Reformatting (heavy). Minor optimizations along the way. Pls test. ! S&R typo fixed. + Added lFormat parameter to FieldDec() method. Submitted by Mitja Podgornik. * contrib/xhb/Makefile + contrib/xhb/fparse.c + Added part from xhb RTL. (pls review changed PHB_ITEM usage) 2009-03-19 08:10 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/hbqt/hbqt.h * harbour/contrib/hbqt/hbqt_qdialog.cpp * harbour/contrib/hbqt/hbqt_qabstractbutton.cpp + harbour/contrib/hbqt/hbqt_qabstractitemview.cpp + harbour/contrib/hbqt/hbqt_qabstractprintdialog.cpp + harbour/contrib/hbqt/hbqt_qwidget.cpp ! Formatting and new additions. 2009-03-19 15:33 UTC+0100 Viktor Szakats * INSTALL * contrib/Makefile + Added QT to the mainstream build. See INSTALL how to enable it. We will disable it before release if it will be a build blocker. + contrib/hbqt/hbqt_base.cpp + Added missing file from previous commit. * utils/hbmk2/hbmk2.prg + Added -dflag: and -aflag: options. 2009-03-19 12:58 UTC+0100 Viktor Szakats * config/rules.cf % Removed -ko option as it slightly decreases performance in -gc3 mode. (it's better in -gc[0-2] only) 2009-03-19 12:27 UTC+0100 Viktor Szakats * contrib/xhb/Makefile + contrib/xhb/hbserv.h + contrib/xhb/hbserv.ch + contrib/xhb/trpccli.prg + contrib/xhb/hbrpc.ch + contrib/xhb/ttable.prg + contrib/xhb/trpc.prg + contrib/xhb/ttable.ch + contrib/xhb/hbserv.c + Added few components from xhb. They compile without warnings, but I didn't try any of them. * contrib/hbqt/hbqt_qabstractbutton.cpp * contrib/hbqt/hbqt_qdialog.cpp * contrib/hbqt/hbqt.h * contrib/hbqt/Makefile + Added QT_VERSION(), QT_VERSION_STR() + Added QT version protection. ! Fixed to use forward slashes in #include filenames. * Changed Linux include dir autodetection. * Changed autodetection to look for qglobal.h. * contrib/rddads/tests/testmg.prg - Removed unnecessary lines. 2009-03-19 09:10 UTC+0100 Viktor Szakats * bin/postinst.bat - Removed generation of odbc32.lib for BCC. You should configure BCC to include <bcc>/Lib/PSDK in the lib paths in bcc32.cfg and ilink32.cfg. It's not Harbour's job to generate it. - contrib/hbodbc/tests/harbour.mdb + contrib/hbodbc/tests/test.mdb * contrib/hbodbc/tests/odbcdemo.prg * contrib/hbodbc/tests/odbccall.prg * contrib/hbodbc/tests/testodbc.prg * Created working test table from test.dbf. (previous .mdb was broken) * contrib/hbodbc/tests/odbcdemo.prg * contrib/hbodbc/tests/odbccall.prg * contrib/hbodbc/tests/testodbc.prg * contrib/hbodbc/todbc.prg * contrib/hbodbc/browodbc.prg * contrib/hbodbc/sql.ch * Formatting. * Optimizations and cleanups. (could still use a lot more) ! Fixed to not use Alert(). 2009-03-19 01:14 UTC+0100 Viktor Szakats * contrib/hbmysql/mysql.c * contrib/hbmysql/tmysql.prg * Renamed all functions to standard mysql equivalents. Please update your code and turn off old function names with -DHB_MYSQL_LEGACY_LEVEL_OFF to test for success. Legacy function names will be removed from Harbour in the next release. This move allows to use hbmysql and hbodbc in the same app. SQLAND() has to be replaced with HB_BITAND(), be aware that latter will RTE when non-numeric var is passed, while SQLAND() was silently ignoring it. Changed functions names: SQLVERSION() => mysql_get_server_version() SQLCONNECT() => mysql_real_connect() SQLCLOSE() => mysql_close() SQLCOMMIT() => mysql_commit() SQLROLLBACK() => mysql_rollback() SQLSELECTD() => mysql_select_db() SQLQUERY() => mysql_query() SQLSTORER() => mysql_store_result() SQLUSERES() => mysql_use_result() SQLFREER() => mysql_free_result() SQLFETCHR() => mysql_fetch_row() SQLDATAS() => mysql_data_seek() SQLNROWS() => mysql_num_rows() SQLFETCHF() => mysql_fetch_field() SQLFSEEK() => mysql_field_seek() SQLNUMFI() => mysql_num_fields() SQLFICOU() => mysql_field_count() SQLLISTF() => mysql_list_fields() SQLGETERR() => mysql_error() SQLLISTDB() => mysql_list_dbs() SQLLISTTBL() => mysql_list_tables() SQLAFFROWS() => mysql_affected_rows() SQLHOSTINFO() => mysql_get_host_info() SQLSRVINFO() => mysql_get_server_info() DATATOSQL() => mysql_escape_string() FILETOSQLBINARY() => mysql_escape_string_from_file() SQLAND() => hb_bitAnd() * source/vm/maindll.c * source/vm/maindllh.c * source/vm/maindllp.c * contrib/hbodbc/odbc.c * Minor formatting. 2009-03-18 20:17 UTC+0100 Viktor Szakats * source/vm/Makefile + source/vm/maindllp + source/vm/maindllp/Makefile + Added generation of hbmaindllp lib, to create pcode .dlls on Windows platform. -DHB_DYNLIB is always defined for this lib. This is just the first step, we will need compiler, hbmk2 and other changes. I'll contribute with hbmk2 changes. * source/vm/maindllp.c % Code made less verbose. ! Created HB_EXPORT declaration for DllEntryPoint(). * config/win/icc.cf * Changed optimization to -O3 (from MSVC ones). With max optim (-Ox) it was just a bit faster than MSVC 2008. + contrib/hbqt + contrib/hbqt/hbqt_qabstractbutton.cpp + contrib/hbqt/hbqt_qdialog.cpp + contrib/hbqt/hbqt.h + contrib/hbqt/Makefile + Added initial QT wrapper lib layout with content posted by Pritpal to the list. (I did a few renames, please check them) * contrib/hbwin/hbwapi.h * Fixes in header. 2009-03-18 20:07 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/minmax.c ! fixed min()/max() functions to always return the 1st item when items are equal. It's Clipper behavior and can be important when two items with the same wight have different other attributes like formatted value size or number of decimal places. 2009-03-18 19:59 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/hb-mkdyn.bat * harbour/config/linux/icc.cf * harbour/contrib/xhb/xhbcls.ch * harbour/contrib/hbblat/tests/f_listtext.txt * harbour/contrib/hbblat/tests/f_sample.txt * harbour/contrib/hbblat/tests/f_ps.txt * harbour/contrib/hbblat/tests/f_sample1.txt * harbour/contrib/hbblat/tests/blattest.prg * harbour/contrib/hbblat/tests/f_subjectline.txt * harbour/contrib/hbblat/tests/blatcmd.prg * harbour/contrib/hbblat/syntax.txt * harbour/contrib/hbblat/hbblat.ch * harbour/contrib/hbblat/blatcls.prg * harbour/contrib/hbblat/blatwrp.c * harbour/contrib/hbblat/Makefile * harbour/contrib/examples/uhttpd/session.prg * harbour/tests/ac_test2.prg * harbour/tests/gtxfnt.prg * updated SVN attributes * harbour/tests/speedtst.prg * use chr(13)+chr(10) as EOL in outstd() in Clipper and XPP builds. * harbour/source/compiler/genc.c ! fixed one printf modifier * harbour/source/compiler/gencc.c * harbour/include/hbcompdf.h % do not call hb_xvmExitProc() if hb_xvmEndProc() was not executed inside function compiled by -gc3 2009-03-18 15:11 UTC+0100 Viktor Szakats * bin/hb-mkdyn.bat + Added .dll generation support for win/icc. 2009-03-18 13:09 UTC+0100 Viktor Szakats * include/hbapi.h ! Added HB_EXPORT declaration for hb_vmSetLinkedMain(). * utils/hbmk2/hbmk2.prg ! Regression regarding -ldflag: option handling. 2009-03-18 12:16 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/tests/speedtst.prg ! fixed typo. 2009-03-18 11:58 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Enabled lib grouping for minwgce. * include/hbtypes.h * source/vm/maindllp.c * Formatting. 2009-03-18 10:09 UTC+0100 Viktor Szakats * contrib/hbsqlit3/tests/blob.prg * contrib/hbsqlit3/tests/pack.prg * contrib/hbsqlit3/tests/metadata.prg * contrib/hbsqlit3/tests/sqlite3_test.prg * contrib/hbsqlit3/hbsqlit3.ch * contrib/hbsqlit3/hbsqlit3.c * Changed GPL license to GPL + Harbour exception with kind permission of author Petr Chornyj. Many thanks! 2009-03-18 09:49 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added support for multiple input files when using pocc. ! Fixed some mingw/mingwce mis-identifications. 2009-03-18 02:16 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbatomic.h ! fixed inline assembler code for atomic inc/dec operations. It's late and I haven't wrote anything in assembler using Intel syntax for years. * reenabled inline assembler code for atomic inc/dec operations for POCC/XCC builds - such version should work. Please check. 2009-03-18 01:14 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/utils/hbtest/rt_hvma.prg * use #pragma -ko- / #pragma -ko+ to make 3 RTE messages clipper compatible 2009-03-18 01:04 UTC+0100 Viktor Szakats * include/hbatomic.h ! Typo (__inline__ -> __inline). ! Temply disabled new _MSC_VER inline asm code, because it causes this with POCC5: include\hbatomic.h(268): error #3114: [asm] Invalid combination of opcode and operands. include\hbatomic.h(273): error #3114: [asm] Invalid combination of opcode and operands. 2009-03-18 00:50 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added support for -o for executables in win/pocc. 2009-03-18 00:50 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbatomic.h % removed unnecessary in such version xor 2009-03-18 00:49 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbatomic.h + added atomic inc/dec inline assembler code for 32-bit MSVC builds and probably also to other compilers which defines _MSC_VER macro (XCC/POCC). Thanks to Viktor for help. Please make some tests. * harbour/source/compiler/hbopt.c ! disabled one assert() in PCODE optimization code. Mindaugas, I left note which explains why. 2009-03-18 00:31 UTC+0100 Viktor Szakats * config/rules.cf + Added -ko optimization switch for Harbour. ; TODO: Disable it for specific places of hbtest. [DONE] * bin/hb-mkdyn.bat + Added missing pocc implib generation. * utils/hbmk2/hbmk2.prg + mingwce support synced with mingw some more. E.g. now resources are supported for mingwce executables. 2009-03-17 20:15 UTC+0100 Viktor Szakats * bin/hb-mkdyn.sh * bin/hb-func.sh ! mingw/cygwin .dll name generation tweaked to work properly. This fixes both FIXMEs in prev commit. * mpkg_win.bat + Added -9 switch to zip. - contrib/examples/hbdoc/examples/core_es/hbpplib.txt * contrib/examples/hbdoc/examples/core_es/dirstruc.txt * Cleanup. 2009-03-17 17:52 UTC+0100 Viktor Szakats * contrib/hbmysql/readme.txt * contrib/hbapollo/readme.txt * contrib/gtwvg/tests/demowvg.prg * contrib/rddads/doc/en/readme.txt * contrib/rddads/readme.txt * contrib/hbbtree/hb_btree.c * Minor updates to make method/b32 references. 2009-03-17 17:05 UTC+0100 Viktor Szakats * bin/hb-mkdyn.sh * bin/hb-mkdyn.bat * source/vm/maindllp.c * utils/hbmk2/hbmk2.prg + Renamed all Windows Harbour .dlls to harbour-11.dll and harbourmt-11.dll. This means that MinGW will now have a versioned name to be in sync with other builds. It also means that -vc, -pocc, -ow postfixes are gone (and additionally DMC could also be supported). What remains is -x64 to signal an x64 and -ia64 to signal a IA64 build. Another thing which remains is -b32 (now renamed to -bcc to be in sync with rest of Harbour), because Borland has an non-standard name mangling, and while it can be made work with other compilers since the calling convention is the same, it requires the .dll user applications to be rebuilt with some implib tricks. Overall Borland isn't recommended for .dll creation. Please do further tests for binary compatibility. ; FIXME: Location of .dll still differs for mingw/cygwin, they are created in lib while rest of compilers create it in bin. I think we should sync them by creating a copy of the .dlls in bin for mingw/cygwin. Przemek, could you help here? [DONE] ; FIXME: "Making <dllname>..." screen messages. I'll need some help here also. [DONE] * bin/hb-mkdyn.sh * ${MAJOR} default set to 1. * make_gnu_os2.cmd * Minor formatting. * contrib/hbgd/gdwrp.c ! Minor correction to recent change. (avoiding warning for MinGW) 2009-03-17 16:14 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/tests/speedtst.prg + added new tests of dynamic code blocks performance * modified to compile by __XPP__ and __CLIP__ - now for single thread only 2009-03-17 13:40 UTC+0100 Viktor Szakats * harbour-win-spec * harbour-wce-spec * make_gnu_xmingw.sh * make_gnu_xmingwce.sh * mpkg_rpm_win.sh * mpkg_tgz.sh * bin/hb-mkdyn.sh * bin/hb-func.sh * bin/postinst.sh * config/win/mingwce.cf * config/win/mingw.cf * CCPATH -> HB_CCPATH * CCPREFIX -> HB_CCPREFIX 2009-03-17 12:22 UTC+0100 Viktor Szakats + tests/server.prg * tests/Makefile + Added inet example from xhb. * source/vm/thread.c ! Fixed nested comment. * contrib/xhb/hbcompat.ch * contrib/xhb/xhb.ch ! Moved xhb.lib dependent translation to xhb.ch. * contrib/examples/hbdoc/examples/core_es/Makefile * contrib/examples/hbdoc/examples/core_en/genhtm.bat - contrib/examples/hbdoc/examples/core_en/genhtm.sh * Cleanup. 2009-03-17 10:00 UTC+0100 Viktor Szakats * debian/rules * harbour-win-spec * harbour-wce-spec * harbour.spec * mpkg_tgz.sh - hbdoc removed from core. - doc/Makefile - doc/es + contrib/examples/hbdoc/examples/core_es * Moved. - doc/man/hbdoc.1 + contrib/examples/hbdoc/hbdoc.1 * Moved. - doc/en/genhtm.lnk - doc/en/genhtm.sh - doc/en/genhtm.rsp - doc/en/genhtm.bat + contrib/examples/hbdoc/examples/core_en/genhtm.rsp + contrib/examples/hbdoc/examples/core_en/genhtm.lnk + contrib/examples/hbdoc/examples/core_en/genhtm.bat + contrib/examples/hbdoc/examples/core_en/genhtm.sh * Moved. - contrib/hbgt/doc/gendoc.bat - contrib/hbgt/doc/libgt.lnk - contrib/hbgt/doc/libgt.rsp - contrib/rddads/doc/gendoc.bat - contrib/rddads/doc/rddads.lnk - contrib/rddads/doc/rddads.rsp - Deleted. * utils/Makefile - utils/hbdoc + contrib/examples/hbdoc - contrib/hbmisc/doc/gendoc.bat - contrib/hbmisc/doc/hbmisc.lnk - contrib/hbmisc/doc/hbmisc.rsp + contrib/examples/hbdoc/examples/hbmisc/gendoc.bat + contrib/examples/hbdoc/examples/hbmisc/hbmisc.lnk + contrib/examples/hbdoc/examples/hbmisc/hbmisc.rsp * Moved. - contrib/hbgt/doc/en/ht_gt.txt + contrib/hbgt/doc/en/hbgt.txt * Renamed. 2009-03-17 09:26 UTC+0100 Viktor Szakats * utils/hbdoc/genos2.prg * utils/hbdoc/genng.prg * utils/hbdoc/genasc.prg * utils/hbdoc/genchm.prg * utils/hbdoc/genhpc.prg * utils/hbdoc/ft_funcs.prg * utils/hbdoc/hbdoc.prg * utils/hbdoc/genhtm.prg * utils/hbdoc/genpdf1.prg * utils/hbdoc/gentrf.prg * utils/hbdoc/genrtf.prg + Enabled line number for all files to aid finding crashes. ! Few crashes fixed. Still far from usable state. * source/vm/thread.c + Added short Harbour level API description. (from Przemek) * contrib/xhb/Makefile * contrib/xhb/hbcompat.ch + contrib/xhb/xhbmt.prg + Added translation for all xhb MT functions. (Thanks a lot Przemek) 2009-03-17 00:18 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fixed mingw -fmstat in static mode. (shared mode gives warnings and doesn't work) + Added -[no]fmstat for all compilers. (untested) 2009-03-16 23:18 UTC+0100 Viktor Szakats * harbour-win-spec * harbour-wce-spec % Removed forced -O2 options, -O3/-O2 are the defaults already. * mpkg_win.bat + Adds -DHB_FM_STATISTICS_OFF to HB_USER_CFLAGS. * utils/hbmk2/hbmk2.prg ! Setting gtwvt for msvcce targets as default GT. * source/debug/debugger.prg % Minor optimization. (platform branching done at PP time rather than runtime). * contrib/xhb/hbcompat.ch + Added DestroyMutex() compatibility #translate. 2009-03-16 18:31 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added __PLATFORM__* macro support for cross-compilation situations. * include/hbsetup.ch * Minor 2009-03-16 09:39 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtwvg/gtwvg.c * harbour/contrib/gtwvg/wincallb.c * harbour/contrib/gtwvg/wvgwin.c ! Fixed MSVC warnings. 2009-03-16 09:07 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtwvg/wvgcuig.c * harbour/contrib/gtwvg/wvgsink.c * harbour/contrib/gtwvg/wvgwin.c ! Fixes for warnings on all compilers. 2009-03-16 15:35 UTC+0100 Viktor Szakats * bin/postinst.bat ! Typo in bcc / fbclient. % Cleanup for owatcom, fbclient fixed. 2009-03-16 15:18 UTC+0100 Viktor Szakats * INSTALL + Added 3.81 or upper as GNU Make requirement. Older ones have bugs exploitet by current .cf files. * contrib/hbssl/Makefile - Disabled for owatcom. * config/win/msvc.cf ! Fixed -TP switch. Stopped using CFLAGS. * Changed to use link.exe directly instead of cl.exe. * config/win/msvcce.cf * Minor cleanup. 2009-03-16 13:25 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added support for win/mingwce. + Honoring HB_CCPATH for ar in gcc *nix. + Honoring HB_CCPATH for gcc win. 2009-03-16 12:40 UTC+0100 Viktor Szakats * include/hbdefs.h + Enabled new Harbour types. Still incomplete, and relying on old unsafe types in places. * contrib/gtwvg/gtwvg.c ! Warning. * contrib/gtwvg/wvgcuig.c ! Cast errors. * config/win/msvc.cf + Enabled C++ mode. This should result in stricter compiler warnings/errors, and also enables to use standard init method (non-C++ method is broken when using LTCG and potentially in other scenarios like IA64). Note, this doesn't mean we'd allow non-ANSI C usage inside Harbour, so no C++ features are allowed. This won't cause any drawbacks for the users AFAIK, if you know otherwise, pls speak up. [Notice that we're using C++ mode for owatcom on all platforms.] * doc/whatsnew.txt + Documented win/owatcom and OpenSSL incompatibility. (maybe it can be resolved, I didn't spend time on it) * INSTALL * C compiler -> ANSI C compiler. 2009-03-16 11:30 UTC+0100 Viktor Szakats * bin/hb-mkdyn.bat ! Fixed typo in prev. * bin/hb-mkdyn.bat ! owatcom IMPLIB generation restored. * source/lang/msgpt.c * source/lang/msgeo.c * source/lang/msgfr.c * source/lang/msgptiso.c * source/lang/msgko.c ! Fixed missing commas. * source/vm/dynsym.c * source/vm/hvm.c * source/rdd/dbfnsx/dbfnsx1.c * while( TRUE ) -> for( ;; ) to avoid warning. * utils/hbmk2/hbmk2.prg ! Fixed to owatcom support. ! Fixed to honor HB_CCPREFIX in mingw detection. * config/dos/owatcom.cf * config/win/owatcom.cf * config/linux/owatcom.cf * config/os2/owatcom.cf + Enabled -w3 warning level (from -w2) + Added -bm (MT) switch for win. + Using -5s and -3s (when NOOPT) in win. * Synced win owatcom options with GNU Make. ; FIXME: ../../dbf1.c(208): Warning! W007: col(55) '&array' may not produce intended result 2009-03-15 23:10 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtwvg/gtwvg.c * harbour/contrib/gtwvg/wvgcuig.c ! A fix for UNICODE | non-UNICODE. Not sure if it is the right way, but it works. Please fix me. 2009-03-16 01:33 UTC+0100 Viktor Szakats * bin/hb-mkdyn.bat * source/vm/maindllp.c * utils/hbmk2/hbmk2.prg + Added .dll generation for pocc. + Added -shared support for pocc. * utils/hbmk2/hbmk2.prg ! Warning after prev commit is fixed. * source/vm/Makefile * All win targets will generate maindllh lib. 2009-03-15 16:42 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtwvg/hbgtwvg.ch + #define HB_GTI_SETPOSANDSIZE + #define HB_GTI_HB_GTI_REFRESH + Two more events to manage new CUI-GUI objects. + #define GOBJ_OBJSTATE_* + #define GOBJ_OBJDATA_* + #define GOBJ_IMAGESOURCE_* + Constants to manage CUI=GUI objects. * harbour/contrib/gtwvg/gtwvg.h * harbour/contrib/gtwvg/wvggui.h ! Updated to be compilable for WinCE builds. * harbour/contrib/gtwvg/gtwvg.c ! Updated to honor WinCE builds. ! Implemented double-buffering of console. Now flickering should be the topic of the past. * harbour/contrib/gtwvg/wvggui.c ! Updated to honor WinCE builds. * harbour/contrib/gtwvg/wvgcuig.c + Implemented a highly optimized GUI controls for CUI consoles. Implementation includes auto-destruction, data-substitution, enable/disable feast, etc. These controls are almost identical which are available with Wvt_Draw*() namespace but with a great difference that these are tied to the urrent GT and are handelled transparently by the GT itself. Developer has only to define it. The only requirement is that SaveScreen()/RestScreen() needs to be changed to new Modal GT window. Appln screens will never get blurred. It also employs optimized double-buffering and hence almost eliminates screen flickering. * harbour/contrib/gtwvg/wvgcore.c * harbour/contrib/gtwvg/wvgsink.c * harbour/contrib/gtwvg/wvgutils.c * harbour/contrib/gtwvg/wvgwin.c ! Updated to honor WinCE builds. * harbour/contrib/gtwvg/wvgcrt.prg ! A couple of methods fine-tuned. ! Modal GT's more responsive to user needs. * harbour/contrib/gtwvg/tests/demowvg.prg ! Demonstrated the latest implemention of CUI-GUI controls. See below. Please try <Traditional><WVG Console with CGUI> option in the main menu. Also note the usage of Modal GT to simulate Alert() in new window. Every GUI object returns a handle to it which may be used to change its parameters. ; FIXME( WINCE BUILDS ) - GetSystemDirectory() /* IMPLEMENTATION OF CUI-GUI CONTROLS - A CODE PREVIEW #xTranslate Alert( => MyAlert( PROCEDURE GCUIConsole( oCrt ) LOCAL dDate := date() LOCAL cName := pad( 'Some Usefule Name' , 35 ) LOCAL cAdd1 := pad( 'Linda Goldman Avenue', 35 ) LOCAL cAdd2 := pad( 'Excellent Street' , 35 ) LOCAL cAdd3 := pad( 'Suit #415' , 35 ) LOCAL nSlry := 9000 LOCAL nColGet := 8 LOCAL GetList := {} LOCAL cLabel := "VOUCH, that GROWS with you" LOCAL oTab, oStat, hBoxR, hTxt SET SCOREBOARD OFF SetColor( "N/W,N/GR*,,,N/W*" ) CLS hb_gtInfo( HB_GTI_WINTITLE, "WVG Simplified yet Powerful CUI-GUI Console!" ) @ MaxRow(), 0 SAY PadC( "Navigate the Gets", maxcol()+1 ) COLOR "W+/B" @ 2, nColGet SAY "< Date >" @ 5, nColGet SAY "<" + PadC( "Name" , 33 ) + ">" @ 8, nColGet SAY "<" + PadC( "Address", 33 ) + ">" @ 15, nColGet SAY "< Salary >" @ 3, nColGet GET dDate ; WHEN {|| Wvg_SetGObjData( hTxt, 1, FetchText( 1 ) ) } ; Valid {|| Wvg_SetGObjData( hTxt, 6, RGB( 255,0,0 ) ), .t. } @ 6, nColGet GET cName ; WHEN {|| Wvg_SetGObjData( hTxt, 1, FetchText( 2 ) ) } ; Valid {|| Wvg_SetGObjData( hTxt, 6, RGB( 255,255,0 ) ), ; Wvg_SetGObjState( hBoxR, 3 ), .t. } @ 9, nColGet GET cAdd1 ; WHEN {|| Wvg_SetGObjData( hTxt, 1, FetchText( 3 ) ) } ; Valid {|| Wvg_SetGObjData( hTxt, 6, RGB( 255,0,255 ) ), .t. } @ 11, nColGet GET cAdd2 ; WHEN {|| Wvg_SetGObjData( hTxt, 1, FetchText( 4 ) ) } ; Valid {|| Wvg_SetGObjData( hTxt, 6, RGB( 255,255,255 ) ), ; Wvg_SetGObjState( hBoxR, 1 ), .t. } @ 13, nColGet GET cAdd3 ; WHEN {|| Wvg_SetGObjData( hTxt, 6, RGB( 198,21,140 ) ), .t. } @ 16, nColGet GET nSlry PICTURE "@Z 9999999.99" ; WHEN {|| Wvg_SetGObjData( hTxt, 6, RGB( 0,0,0 ) ), .t. } // The only additional calls to render your console GUI // // The GETLIST : This can be embedded via @ GET preprocessor command aEval( GetList, {|oGet| Wvg_BoxGet( oGet:Row, oGet:Col, Len( Transform( oGet:VarGet(), oGet:Picture ) ) ) } ) // hBoxR := Wvg_BoxRaised( 1,2,18,49, {-5,-5,5,5} ) // Wvg_BoxRecessed( 1,2,18,49 ) // // Wvg_BoxGroup( 2,4,17,47 ) // Wvg_BoxGroupRaised( 2,4,17,47, {-7,-7,7,7} ) // hTxt := Wvg_TextBox( 3,57,16,75, {10,10,-10,-10}, 'This is first TextBox Line!', 2, 2 ) // Wvg_Image( 15,36,16,42, {-3,-3,3,3}, GOBJ_IMAGESOURCE_FILE, 'Vouch1.bmp' ) // Wvg_BoxRaised( 15,36,16,42,{-2,-2,2,2} ) // Wvg_ShadedRect( 1,54,18,79, { -5,-5,5,5 }, 0, {65000,21000,7000,56000}, {255,32255,16000,32500} ) // Wvg_BoxRaised( 1,54,18,79, {-5,-5,5,5} ) // Instruct GT to Repaint the Screen with GUI elements. oCrt:refresh() // Issue the read READ Alert( 'How did you like the "Alert" replacement?', { 'WOW','OK','OOps'} ) RETURN /*----------------------------------------------------------------------*/ #xUntranslate alert( => FUNCTION MyAlert( cMsg, aOpt ) LOCAL nSel, oCrt oCrt := WvgCrt():New( , , { -1,-1 }, { 9, MaxCol()-6 }, , .t. ) oCrt:lModal := .t. oCrt:icon := "dia_excl.ico" oCrt:create() oCrt:resizable := .t. SetColor( 'N/W' ) CLS hb_gtInfo( HB_GTI_WINTITLE, cMsg ) nSel := Alert( cMsg, aOpt ) oCrt:destroy() RETURN nSel #xTranslate Alert( => MyAlert( /*----------------------------------------------------------------------*/ STATIC FUNCTION FetchText( nMode ) LOCAL cText DO CASE CASE nMode == 1 cText := 'Do you know Harbour is gaining a popularity what Clipper enjoyed at one time! ' cText += 'Enjoy it.' CASE nMode == 2 cText := 'Do you know Harbour can host pure console, cui+gui console, pure gui consoles applications? ' cText += 'This demonstration is a proof of that.' CASE nMode == 3 cText := 'Do you know Harbour is a multi-gt, multi-window, multi-thread compiler far superior than others in the market! ' cText += 'And is FREE.' CASE nMode == 4 cText := 'Enjoy and contribute to the project any way you can. Develop, Debug, Support, and spread a word of mouth!' ENDCASE RETURN cText /*----------------------------------------------------------------------*/ */ ;TODO - Write a comprehensive help to exploit CUI-GUI functionality. Will do in a few days. 2009-03-16 00:38 UTC+0100 Viktor Szakats * bin/postinst.bat + Added owatcom and pocc support for implib generation. * utils/hbmk2/hbmk2.prg + Fixed win/pocc support. + Added resource support for win/pocc. + Added .dll support for win/pocc. + Added win/xcc support (untested). + -DHB_DYNLIB is passed to C compiler in -hbdyn (.dll) mode for win targets. (still need fixing to create usable .dlls) ; NOTE: pocc support is very limited as pocc compiler doesn't support multiple input files. 2009-03-15 20:51 UTC+0100 Viktor Szakats * INSTALL + Documented cross-build config for minwgce. * utils/hbmk2/hbmk2.prg + Added static lib generation support for owatcom compilers on platforms. + Added static lib generation support for gcc family. Please review it's probably incomplete. + Honoring HB_CCPREFIX on win platform for gcc family. ! Fixed typo on .c stub function declaration for bcc/owatcom. * contrib/xhb/hbcompat.ch + #xtranslate hb_funcptr(<x>) => __dynsn2sym(<x>) 2009-03-14 16:00 UTC+0100 Viktor Szakats * contrib/hbgt/strasint.c % Using HB_ISDIGIT() ! Fixed to not include hbtrace.h directly. * make_gnu.bat % make clean and install phases merged in HB_BUILD_DLL mode. * bin/postinst.bat ! Fix to recent change. * include/hbdefs.h ! Moved #include hbtrace.h after HB_EXPORT is defined. (hack) 2009-03-14 15:04 UTC+0100 Viktor Szakats * contrib/hbfimage/fi_winfu.c * contrib/hbfimage/fi_wrp.c % Unnecessary Harbour headers removed. 2009-03-14 14:37 UTC+0100 Viktor Szakats * make_gnu_xmingwce.sh - Disabled modifying PATH when host OS is Windows. ; NOTE: Hack. * include/hbtrace.h + Added HB_EXPORT. * doc/whatsnew.txt * contrib/hbfimage/fi_winfu.c * contrib/hbfimage/fi_wrp.c * contrib/hbfimage/Makefile - Restored previous state, because latest changed addressing Linux build failure were causing problems for the Windows platform. ; FIXME: We must clean our types, to avoid these problems and all bad hacks to work it around. * mpkg_win.bat * mpkg_win.nsi + Added files ChangeLog, TODO, ERRATA, INSTALL to root dir. * Some changed to batch targeting robustness for situations which cannot normally happen in normal cases, but it's useful for debugging. 2009-03-13 23:21 UTC+0100 Viktor Szakats * make_gnu.bat * config/win/global.cf * HB_BUILD_DLL is now processed by make_gnu.bat and another internal envvar is used to request DLL flags from the GNU Make. This way some side effects are avoided when doing a make_gnu.sh launched build. * make_gnu.sh + Emptying CLIPPER/HARBOUR envvars before starting the build. (please test) * contrib/hbfbird/firebird.c * Minor formatting. * contrib/hbcurl/hbcurl.c ! Fixed warning/bug in recently added feature. 2009-03-13 16:30 UTC+0100 Viktor Szakats * mpkg_win.bat * Cleanup. - Removed checking for errorlevel as it made it exit even when doing successful builds. [ Why? Could someone look at this? ] * contrib/hbwin/wapi_commctrl.c ! Fix of the fix of the fix for non-ANSI comment fixes. 2009-03-13 13:19 UTC+0100 Viktor Szakats * tests/ac_test2.prg * Updated. * source/rtl/achoice.prg ! Fixed to not call user func in AC_NOITEM mode. ! Added more visual corrections for better CA-Cl*pper compatibility. ; Thanks to Vladislav Lavrecky for the above. 2009-03-13 12:56 UTC+0100 Viktor Szakats * INSTALL + Further refined GNU Make usage instructions for Windows compilers. The recommended way of setting it up is now stricter and there is mention of recommended build and version number. * contrib/hbapollo/apollo.c * contrib/hbapollo/apollo1.prg * Formatting. 2009-03-13 03:21 UTC+0100 Viktor Szakats * contrib/rddsql/sddpg/pgsqldd.c ! MSVC C++ potentially uninit'ed var warning fixed. 2009-03-13 02:15 UTC+0100 Viktor Szakats * contrib/hbwin/wapi_commctrl.c ! Fix to prev commit. * contrib/hbwin/win_ole.c ! Disabled whole code for WinCE. 2009-03-13 01:45 UTC+0100 Viktor Szakats * contrib/hbwin/wapi_commctrl.c * contrib/hbwin/wapi_winuser.c ! Lots of non-ANSI C comments converted to ANSI. (may I please ask to pay attention to this?) ! Fixed WAPI_GETSCROLLRANGE() return value. ! non-WinCE compatible functions converted to stubs when compiled for WinCE. * Formatting. * contrib/Makefile - contrib/hbgf + contrib/examples/hbgf * contrib/examples/hbgf/hbgfwin/Makefile * contrib/examples/hbgf/hbgfos2/Makefile * contrib/examples/hbgf/hbgfgtk/Makefile * contrib/examples/hbgf/Makefile * hbgf moved from contrib to examples. * contrib/examples/Makefile * Updated. 2009-03-13 01:36 UTC+0100 Viktor Szakats * config/dos/owatcom.cf * config/win/poccce.cf * config/win/pocc64.cf * config/win/owatcom.cf * config/win/pocc.cf * config/linux/owatcom.cf * config/os2/owatcom.cf ! Cleanups and fixes after yesterday's changes. Turned out that CFLAGS has an important and strange difference compared to CPPFLAGS: It's also passed to the _linker_ :( This should be cleaned in the future. ! HB_USER_LDFLAGS honored in dos/owatcom. 2009-03-13 01:16 UTC+0100 Viktor Szakats * contrib/hbgf/hbgfwin/winapi.c * Formatting. * contrib/hbwin/win_misc.c ! Fixed WIN_SHELLEXECUTE() for WinCE (converted to stub). ! Fixed WIN_RUNDETACHED() to compile with WinCE (4th parameter is ignored and fixed to CREATE_NEW_CONSOLE). * contrib/hbwin/win_regc.c ! HKEY_CURRENT_CONFIG disabled for WinCE builds. * source/rtl/gtwvt/gtwvt.c ! Complete "layered" window support disabled for WinCE builds. 2009-03-12 16:10 UTC+0100 Viktor Szakats * source/rtl/achoice.prg * tests/ac_test2.prg ! ACHOICE() made more Clipper compatible. Still not fully, pls continue Clipper/Harbour tests with updated ac_test2.prg. 2009-03-12 14:00 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) + harbour/tests/ac_test2.prg + added achoice() test by Vladislav Lavrecky - many thanks. 2009-03-12 13:32 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/gttrm/gttrm.c + added some missing xterm key sequences * harbour/utils/hbmk2/hbmk2.prg ! fixed curses name in SunOS builds (here we are using native curses library not ncurses) * harbour/config/hpux/global.cf * harbour/config/sunos/global.cf * enabled GTXWC disabled for default builds 2009-03-12 10:55 UTC+0100 Viktor Szakats * contrib/hbtpathy/telepath.prg ! Fixed to use __PLATFORM__UNIX instead of __PLATFORM__LINUX. ! Fixed to check for string lengths instead of using Empty(). This way full whitespace data is also handled now. * source/rtl/memoedit.prg * Minor formatting. 2009-03-12 10:28 UTC+0100 Viktor Szakats * source/rtl/achoice.prg ! Fixed to always dehilight active item on exit. (probably could be done more efficiently, feel free to optimize it.) Please test. ; FIXME: ? gttrm on Darwin changes console color from my default green, to Harbour default gray on exit. * doc/whatsnew.txt * Minor. 2009-03-12 03:45 UTC+0100 Viktor Szakats * bin/postinst.bat * mpkg_win.bat * HB_DIR_IMPLIB -> HB_BUILD_IMPLIB ATTENTION: Please modify your local settings. This setting is now closer to final. * mpkg_win.bat + Turning on optimizations. + Turning off debug mode. 2009-03-12 03:42 UTC+0100 Viktor Szakats * config/rules.cf + Do not add -l Harbour option when HB_BUILD_DEBUG=yes. 2009-03-12 03:07 UTC+0100 Viktor Szakats * ChangeLog * Added comment to previous entry. (-d1 vs -d2 in owatcom) * config/rules.cf ! Fixed typo in prev. * config/dos/owatcom.cf * config/win/owatcom.cf * config/linux/owatcom.cf * config/os2/owatcom.cf % Removed unnecessary -i C compiler options. (pls check, I've tested with Windows and applied it to other platforms) % Removed DOS command-line length hack from win/os2. 2009-03-12 02:49 UTC+0100 Viktor Szakats * config/dos/owatcom.cf * config/linux/owatcom.cf + Added support for HB_BUILD_DEBUG=yes. (using -d2 instead of -d1 to be in sync with win, please correct this if wrong) + config/os2/owatcom.cf + Added os2/owatcom build file. OS/2 users please test. * config/win/owatcom.cf * Minor formatting. 2009-03-12 02:37 UTC+0100 Viktor Szakats * INSTALL * config/darwin/gcc.cf * config/hpux/gcc.cf * config/dos/owatcom.cf * config/dos/djgpp.cf * config/win/mingwce.cf * config/win/poccce.cf * config/win/icc.cf * config/win/cygwin.cf * config/win/msvc.cf * config/win/owatcom.cf * config/win/xcc.cf * config/win/msvcce.cf * config/win/mingw.cf * config/win/pocc.cf * config/win/bcc.cf * config/linux/owatcom.cf * config/linux/gcc.cf * config/linux/icc.cf * config/os2/gcc.cf * config/sunos/gcc.cf * config/bsd/gcc.cf + Added HB_BUILD_OPTIM=no setting to disable all C compiler optimizations (for quick draft builds, or debugging, testing). * config/win/xcc.cf % Cleaned -I options. (please verify) 2009-03-12 02:14 UTC+0100 Viktor Szakats * source/rtl/achoice.prg ! Fixed handling of empty items. * INSTALL * config/rules.cf * config/darwin/gcc.cf * config/hpux/gcc.cf * config/dos/djgpp.cf * config/win/mingwce.cf * config/win/poccce.cf * config/win/pocc64.cf * config/win/icc.cf * config/win/cygwin.cf * config/win/msvc.cf * config/win/owatcom.cf * config/win/xcc.cf * config/win/msvcce.cf * config/win/mingw.cf * config/win/pocc.cf * config/win/bcc.cf * config/linux/gcc.cf * config/linux/icc.cf * config/os2/gcc.cf * config/sunos/gcc.cf * config/bsd/gcc.cf + Added support HB_BUILD_DEBUG=yes. This will work identically to the former non-GNU make systems. ! Added missing -MT for MSVC. (from non-GNU make) * Changed a few CPPFLAGS to CFLAGS. (these are currently synonyms, and both are utilized without any apparent order). This could use more cleanup. 2009-03-11 22:48 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/common/hbgete.c * disabled unsetenv() from Watcom builds - looks that this function exists only in OpenWatcom header files. * harbour/source/common/hbprintf.c * do not use some FL functions which operates on long double values in SunOS builds 2009-03-11 17:45 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbdate.h * harbour/source/common/hbgete.c * harbour/source/common/hbdate.c * harbour/source/rtl/seconds.c * harbour/source/rtl/hbffind.c * harbour/source/rtl/filesys.c * harbour/source/compiler/cmdcheck.c * harbour/contrib/hbct/files.c * harbour/contrib/xhb/filestat.c * harbour/contrib/hbmzip/hbmzip.c * harbour/contrib/hbtip/utils.c * harbour/contrib/examples/uhttpd/uhttpdc.c * cleaned feature test macros usage 2009-03-11 16:27 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/common/hbdate.c * harbour/source/compiler/cmdcheck.c * harbour/source/rtl/idle.c * harbour/source/rtl/seconds.c * harbour/source/rtl/fssize.c * harbour/source/rtl/hbffind.c * harbour/source/rtl/filesys.c * harbour/contrib/hbct/files.c * cleaned feature test macros usage 2009-03-11 08:51 UTC+0100 Viktor Szakats * doc/whatsnew.txt + Added new entries since last update. Please review, etc... ; TODO: There is still 500 kB worth of ChangeLog to process for the timeframe 200808/09-20081219. Someone pls help. * doc/man/hbmk.1 * CC* envvar name change. 2009-03-11 00:51 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/common/hbgete.c ! fixed setenv() usage in some OpenWatcom ports * harbour/source/compiler/cmdcheck.c ! fixed casting for C++ compilation * harbour/source/rtl/gttrm/gttrm.c * removed some trailing spaces 2009-03-10 18:18 UTC+0100 Viktor Szakats * ChangeLog * Updates. * contrib/xhb/txml.prg * Update HB_REGEXMATCH() calls, to keep old logic. ; FIXME: Above doesn't mean it's now correct, so someone familiar with this code, please correct it. * contrib/hbapollo/apollo.c * Removed essentially empty comments. * source/rtl/achoice.prg ! Applied fix from Vladislav Lavrecky. I didn't test it just assumed okay, please do so. 2009-03-10 17:25 UTC+0100 Viktor Szakats * source/rtl/hbregex.c * Fixed HB_REGEXMATCH(). Now the HAS/LIKE mode can be controlled by 5th logical parameter (was 3rd), so 3rd parameter is solely controlling case-sensitivity as indicated in the documentation. Users are recommended to use HB_REGEXHAS() and HB_REGEXLIKE() functions as unambiguous alternatives, which work equally well on all Harbour versions. HB_REGEXMATCH() is now deprecated, but kept for compatibility. 2009-03-10 15:48 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg * -debug description extended. * contrib/xhb/hbcompat.ch - Disabled dangerous bitop compatibility macros + comment added. Enabled them with #define XHB_BITOP. Or even better to change code to use HB_BIT*() functions natively. 2009-03-10 12:23 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/garbage.c ! fixed one bad typo * cleanup * harbour/tests/speedtst.prg + added one new test 2009-03-10 03:46 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added support for static lib creation (experimental). win/msvc, win/bcc are supported. + Added support for dynamic lib creation (experimental). win/msvc is currently support. ; Please help adding support for the rest of compilers. 2009-03-10 01:12 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/compiler/hbusage.c ! fixed the /u+ description - it does not work like #include. Only preprocessor command are significant in files included by -u<file> and -u+<file> * harbour/doc/man/harbour.1 + add -u+<file> description * harbour/source/pp/ppcore.c ! fixed typo in error message table (missing ',') * harbour/source/compiler/cmdcheck.c * generate error when -u+ is used without <file> * harbour/source/compiler/hbmain.c * do not display usage screen if other errors were generated before 2009-03-09 23:05 UTC+0100 Viktor Szakats * source/compiler/hbusage.c + Added -u+ to help screen. * One remaining non-ASCII char cleaned from credit list. * include/hbpp.h * source/pp/ppcore.c ! Renamed HB_PP_MAX_REPATS to HB_PP_MAX_REPEATS. * ChangeLog * Added one line to my prev entry. 2009-03-09 17:16 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbcompdf.h * harbour/source/compiler/cmdcheck.c * harbour/source/compiler/hbcomp.c * harbour/source/compiler/ppcomp.c + added support for extended definition files in Harbour compiler switches: -u+<file> This option can be repeated if user wants to use more then one file with extended definitions. The definitions are added after standard ones and after defines specified by -D<name>[=<value>] Harbour compiler switch. The behavior of -u[<file>] remains unchanged and -u or -u<file> can can be used together with -u+<file>. Note for xHarbour users: it's not exactly the same behavior as in xHarbour compiler. ! fixed memory leak when repeated -u[<file>] options are used. 2009-03-09 16:21 UTC+0100 Viktor Szakats * make_gnu_os2.cmd * make_gnu.bat + Clearing HARBOUR/CLIPPER envvars while building Harbour. * bcc32 no longer accepted as compatibility HB_COMPILER value. * utils/hbmk2/hbmk2.prg * TODO section update. 2009-03-09 14:08 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbpp.h ! changed the NOT operator precedence - it should be bigger then logical .and./.or. operators in #if expressions * harbour/source/vm/thread.c ! fixed typo HB_OS_WIM -> HB_OS_WIN - thanks to Francesco. 2009-03-09 00:19 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbthread.h * harbour/source/vm/thread.c * emulate POSIX thread conditional variables in Windows builds. It should fix some possible bad behavior in MS-Windows Harbour MT programs. * harbour/source/rtl/hbinet.c ! fixed typo in HB_INETDATAREADY() - the second parameter (timeout) was ignored. * harbour/contrib/examples/uhttpd/uhttpdc.c * fixed typo in conditional iMsec usage. * harbour/contrib/examples/uhttpd/uhttpd.prg * set default timeout for socket operations to 3 sec. * use timeout parameter in HB_INETDATAREADY() and increased default timeout for accept to 250 millisecs. Please correct this modification if you prefer different values. 2009-03-08 19:29 UTC+0100 Viktor Szakats * contrib/examples/uhttpd/uhttpdgd.hbm + Added Darwin/MacPorts support. 2009-03-08 18:04 UTC+0100 Viktor Szakats * INSTALL + Added short information for Darwin/MacPorts and contribs. * contrib/hbmysql/Makefile * contrib/gtalleg/Makefile * contrib/rddsql/sddmy/Makefile * contrib/rddsql/sddpg/Makefile * contrib/hbpgsql/Makefile + Enabled on Darwin (for MacPorts). * include/hbdefs.h * contrib/hbfimage/fi_wrp.c * contrib/hbfimage/Makefile + Enabled on Darwin (for MacPorts). + Added ugly hack to make it compile on Darwin. * contrib/hbtpathy/Makefile + Enabled on Darwin. 2009-03-08 15:56 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + Normalizing paths of cfg files. * CCPREFIX, CCPATH renamed to HB_CCPREFIX, HB_CCPATH (seems these are Harbour specific settings) * contrib/examples/uhttpd/home/testxmldb.html * Added Safari as unsupported browser. (BTW, what would it need to support Safari and Chrome, or WebKit browsers in general?) 2009-03-08 00:43 UTC+0100 Francesco Saverio Giudice (info/at/fsgiudice.com) * harbour/contrib/examples/uhttpd/uhttpd.prg - Commented hb_GCAll() in main loop, I got newly one GPF randomly. In meanwhile I will do other tests. ! Reverted and corrected closing threads because with last changes finished threads were not correctly released. 2009-03-07 22:14 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fixed to recognize GT libs in dynlibhas= lines, and add them to core GT list. 2009-03-07 19:56 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/common/hbgete.c * added suport for BSD systems * harbour/contrib/examples/uhttpd/uhttpd.prg ! fixed private declaration - after last modification they were not declared for threads at all ! fixed close procedure, s_aRunningThreads and s_aServiceThreads where not protected at all in the moment when these variables variables where used inside aeval() and other threads were resizing them removing their pointers. In short word it was in practice impossible to cleanly close uhttpd server without GPF, deadlock or other bad side effects. I changed this code so these arrays are modified only by calling procedure. I do not know why it was written in such way but I guess it was workaround for xHarbour bugs. In xHarbour is race condition inside some functions like ThreadJoin() (RTE if thread finished just before ThreadJoin(<pThID>)). Harbour does not have such problems so I simply cleaned this code making it much simpler. * reactivated hb_gcAll( .T. ) in the main loop for tests. I made some tests with linux and current uhttpd works perfectly without any problems with and without hb_gcAll( .t. ). I haven't noticed any problems. I used this scripts to make tests: #!/bin/sh function GT_UHTTPD() { while curl http://localhost:8082/ > /dev/null do if ! curl http://localhost:8082/serverstatus > /dev/null then exit fi # disable it if you want to increase traffic if ! curl http://localhost:8082/info > /dev/null then exit fi if [ -f stop ] then exit fi done } for i in `seq 10` do GT_UHTTPD &>/dev/null & done wait on three CPU machine. Please make some test with other systems. 2009-03-07 13:04 UTC+0100 Viktor Szakats * contrib/examples/uhttpd/uhttpdgd.hbm + Added *nix GD lib name. * contrib/hbwin/win_prt.c ! WINPORTWRITE() potential GPF if non char type is passed as 2nd arg. 2009-03-07 12:49 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fix to prev (off by one). 2009-03-07 12:38 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fixed recently introd problem with path sep translation. * source/common/hbgete.c + Enabled Darwin support. * contrib/examples/uhttpd/modules/showcounter.prg ! Protected whole code with GD_SUPPORT. 2009-03-07 11:43 UTC+0100 Francesco Saverio Giudice (info/at/fsgiudice.com) * harbour/contrib/examples/uhttpd/uhttpd.prg * Updated uHTTPD (Work in progress) - Commented hb_GCAll() in main loop, I got one GPF randomly. * Fixed an error on threads number calculation 2009-03-07 02:53 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/classes.c * forbid some usage of __clsModMsg() and unblock some others It should make some xHarbour users using OVERRIDE METHOD happy but please remember it's still undocumented and unsupported functionality - use for your own risk. 2009-03-06 13:32 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtwvg/tests/demowvg.prg ! Wrong prg at previous commit. 2009-03-06 13:14 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtwvg/Makefile + wvgtabpg.prg * harbour/contrib/gtwvg/wvtwin.ch * harbour/contrib/gtwvg/wvgparts.ch + Added constants to manage Tab Pages * harbour/contrib/gtwvg/gtwvg.c ! Changed the behavior if a GT is child of another GT. * harbour/contrib/gtwvg/wincallb.c ! Cleanups. * harbour/contrib/gtwvg/wvgsink.c ! Cleanup. % Fixed a potential nasty bug. Kept it in the code to refer if some problem arises in the future. * harbour/contrib/gtwvg/wvgwin.c ! Cleanup. Removed yet unfinished code. * harbour/contrib/gtwvg/wvgcombo.prg ! Cleanups and documentation update. * harbour/contrib/gtwvg/wvgcrt.prg ! Changed the style of modal GT console. * harbour/contrib/gtwvg/wvgwnd.prg % Rearrangement of methods. ! Updated to use either protocol - HB_ASCallBck() or SetProp() controllable by a #define constant. + harbour/contrib/gtwvg/wvgtabpg.prg + Started WvgTabPage() compatible with - XbpTabPage() of Xbase++. Unfinished but yet usable as demonstrated in demowvg.prg. * harbour/contrib/hbwin/hbwapi.h + Added wapi_par_WORD|DWORD() macros. * harbour/contrib/hbwin/wapi_commctrl.c + Added TabCtrl_* WINAPI macros as functions. * harbour/contrib/gtwvg/tests/demowvg.prg ! Updated to execute pure Xbase++ code in all its fury. + Added WvgTabPage() implementation via CUI+GUI demo in <Traditional><WVG Console with GCUI> menu option. 2009-03-06 21:56 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/dirdrive.c ! fixed ISDISK() and DISKCHANGE() return value - due to typo the logical value .T./.F. was reverted 2009-03-06 17:33 UTC+0100 Viktor Szakats * utils/Makefile * Minor reordering. * config/win/poccce.cf * config/win/pocc.cf ! Turned off -Ox, left -Ot. "When it comes to optimizations, the -Ot option (in this case) is the much more important than -Ox. The -Ox option will only rarely find things to optimize, and in your case it will cause a GPF. I suggest you skip the -Ox option and just use the -Ot option for now... Pelle" 2009-03-06 17:08 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbinit.h * disabled HB_MSC_STARTUP in C++ MSVC builds. 2009-03-06 11:55 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rdd/usrrdd/usrrdd.c ! removed unnecessary declaration * harbour/source/compiler/harbour.yyc ! removed unnecessary ";" * harbour/source/vm/classes.c * harbour/source/compiler/hbpcode.c * pacified some warnings for compilers which can detect that hb_errInternal() does not returns * harbour/source/rtl/hbgtcore.c * harbour/source/rdd/dbfntx/dbfntx1.c * harbour/source/rdd/dbfnsx/dbfnsx1.c * harbour/source/rdd/dbfcdx/dbfcdx1.c * harbour/source/rdd/dbffpt/dbffpt1.c * harbour/contrib/rddads/adsx.c * marked all places where we put some link time bindings after hb_errInternal() as: /* not executed, only to force linking ... */ 2009-03-06 10:13 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fixed -gh switch detection and workings. (Francesco, pls check now allmod.hbm) + -gt switch can now be filtered. (-gtwin{win}) ! -gui switch won't anymore add '-Wl,-mwindows' C compiler switch on *nix systems. Someone pls confirm this is right. * icc will use -vc postfixed .dlls. They seem to be binary compatible, but I didn't test. % Using __PLATFORM__UNIX macro where applicable. ! Ignoring -o Harbour option passed using '-prgflag:' * INSTALL + Added some details. * mpkg_win.bat ! Don't create install files if the make process returned with error. * source/lang/msg_tpl.c ! Removed ending ';'. * source/vm/Makefile + Added icc to generate maindllh.lib. * source/common/hbfsapi.c ! Removed obsolete 'extern hb_fhnd_ForceLink()'. * config/rules.cf * config/lib.cf * config/bin.cf % Compiling all .prg files with -n1 switch. * contrib/examples/uhttpd/uhttpdc.c * Cleaned Windows headers usage. #define HB_OS_WIN_USED is safe to use on all platforms, it just requests the Windows headers, and if compiled on Windows, it will #include them. * contrib/examples/uhttpd/uhttpd.prg + Automatically sets USE_HB_INET on non-Windows platforms. - contrib/examples/uhttpd/uhttpd-inet.hbm - contrib/examples/uhttpd/uhttpdgd-inet.hbm - Removed files no longer necessary. * contrib/examples/uhttpd/uhttpd.hbm + Added comment about -DUSE_HB_INET option. % Removed -lhbct 2009-03-06 04:25 UTC+0100 Francesco Saverio Giudice (info/at/fsgiudice.com) * harbour/contrib/examples/uhttpd/uhttpdc.c * Fixed error in windows header include ; TOCHECK: Viktor, could you check if this is correct ? [DONE] 2009-03-06 04:13 UTC+0100 Francesco Saverio Giudice (info/at/fsgiudice.com) * harbour/contrib/examples/uhttpd/uhttpd.prg * Updated uHTTPD (Work in progress) * Updated to work in Linux. * Fixed PRIVATE use and threads as per Przemek suggestions * Marked WIN_SYSREFRESH() with USE_WIN_ADDONS define * Changed WIN_TIMEZONEBIAS() to hb_UTCoffset() * Changed WIN_SETENV() to hb_SetEnv() * Minor changes * harbour/contrib/examples/uhttpd/uhttpdc.c * Marked WIN_SYSREFRESH() as only windows function - Deleted WIN_SETENV() - Deleted WIN_TIMEZONEBIAS() + Added hb_UTCoffset() * harbour/contrib/examples/uhttpd/socket.c * Guarded for only windows build * harbour/contrib/examples/uhttpd/session.prg * Changed FileDate() to hb_FGetDateTime() * harbour/contrib/examples/uhttpd/uhttpd.ini * Minor fixes * harbour/contrib/examples/uhttpd/modules/showcounter.prg * harbour/contrib/examples/uhttpd/modules/tableservletdb.prg * fixed Linux build + harbour/contrib/examples/uhttpd/uhttpd-inet.hbm + harbour/contrib/examples/uhttpd/uhttpdgd-inet.hbm + Added as temporary files to build uhttpd under Linux (they haven't -gui flags that give error as per Przemek note, instead add -gtxwc as standard gui) ; NOTE: Przemek please check if hb_UTCOffSet() it is correct, then we have to move in other place. Tested all samples and they works. Modules build need to be fixed (Viktor?) but hrb are built. Need to be copied manually to ../home/cgi-bin 2009-03-06 02:15 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbpp.h * harbour/include/hbhash.h * harbour/source/pp/pplib2.c * harbour/source/pp/hbpp.c * harbour/source/lang/msghuiso.c * harbour/source/lang/msgskiso.c * harbour/source/lang/msgrukoi.c * harbour/source/lang/msghuwin.c * harbour/source/lang/msgzhgb.c * harbour/source/lang/msgskwin.c * harbour/source/lang/msgruwin.c * harbour/source/lang/msgelwin.c * harbour/source/lang/msgro.c * harbour/source/lang/msgpt.c * harbour/source/lang/msghriso.c * harbour/source/lang/msghrwin.c * harbour/source/lang/msgsliso.c * harbour/source/lang/msgbe866.c * harbour/source/lang/msghe862.c * harbour/source/lang/msgslwin.c * harbour/source/lang/msgcskam.c * harbour/source/lang/msggl.c * harbour/source/lang/msgtrwin.c * harbour/source/lang/msgeo.c * harbour/source/lang/msgbgiso.c * harbour/source/lang/msgbgwin.c * harbour/source/lang/msgskkam.c * harbour/source/lang/msges.c * harbour/source/lang/msguakoi.c * harbour/source/lang/msgzhb5.c * harbour/source/lang/msgeu.c * harbour/source/lang/msgpl852.c * harbour/source/lang/msgsr852.c * harbour/source/lang/msguawin.c * harbour/source/lang/msgde.c * harbour/source/lang/msgtr857.c * harbour/source/lang/msgru866.c * harbour/source/lang/msgcs852.c * harbour/source/lang/msgfr.c * harbour/source/lang/msgis850.c * harbour/source/lang/msgnl.c * harbour/source/lang/msghu852.c * harbour/source/lang/msgsk852.c * harbour/source/lang/msgplmaz.c * harbour/source/lang/msgca.c * harbour/source/lang/msgpliso.c * harbour/source/lang/msgbgmik.c * harbour/source/lang/msgplwin.c * harbour/source/lang/msgbg866.c * harbour/source/lang/msgid.c * harbour/source/lang/msgltwin.c * harbour/source/lang/msgptiso.c * harbour/source/lang/msgsriso.c * harbour/source/lang/msgel.c * harbour/source/lang/msgsrwin.c * harbour/source/lang/msgbewin.c * harbour/source/lang/msgdewin.c * harbour/source/lang/msghr437.c * harbour/source/lang/msghr852.c * harbour/source/lang/msgko.c * harbour/source/lang/msgua866.c * harbour/source/lang/msghewin.c * harbour/source/lang/msgit.c * harbour/source/lang/msgsl437.c * harbour/source/lang/msgsl852.c * harbour/source/lang/msghucwi.c * harbour/source/lang/msgcsiso.c * harbour/source/lang/msgcswin.c * harbour/source/lang/msgeswin.c * harbour/source/vm/macro.c * harbour/source/vm/hashes.c * harbour/source/vm/memvars.c * harbour/source/common/expropt1.c * harbour/source/rdd/dbfcdx/dbfcdx1.c * harbour/source/rdd/dbffpt/dbffpt1.c * harbour/source/rdd/hbsix/sxutil.c * harbour/source/compiler/harbour.y * minor code cleanup: - pacified some warnings - added some missing declarations - removed redundant ; 2009-03-06 00:09 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbsqlit3/sqlite3/sqlite3.c * pacified one optimization warning 2009-03-05 21:52 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/common/hbwince.c ! added missing return statement 2009-03-05 21:24 UTC+0100 Viktor Szakats * contrib/hbbtree/tests/test.hbm * contrib/examples/guestbk/guestbk.hbm * contrib/examples/pe/pe.hbm * contrib/examples/dbu/dbu.hbm * contrib/examples/terminal/terminal.hbp * contrib/examples/hscript/hscript.hbm * contrib/examples/uhttpd/modules/allmod.hbm * contrib/examples/rl/rl.hbm * utils/hbdoc/hbdoc.hbm * utils/hbmk2/hbmk2.hbm * utils/hbtest/hbtest.hbm * utils/hbrun/hbrun.hbm - Removed -n switches no longer necessary. 2009-03-05 21:05 UTC+0100 Viktor Szakats * include/hbextern.ch + Added HB_SETENV() * utils/hbmk2/hbmk2.prg * Minor cleanups. * contrib/examples/uhttpd/uhttpd.hbm - Removed -n. It's now automatic. ; TODO: Remove the rest. [DONE] * INSTALL * doc/man/hbmk.1 + config/win/icc.cf * utils/hbmk2/hbmk2.prg + Added Intel(R) C++ compiler support for Windows. + Added initial support also in hbmk2. ; This compiler is actively developed and its famous of generating the fastest running code of all C compilers. It also outputs an extremely detailed warning list. And the best thing: It compiled Harbour without a single hitch. hbtest is also running fine. hbmk2 is able to create executables. 2009-03-05 19:44 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapi.h * harbour/include/hbwince.h * harbour/source/common/hbgete.c * harbour/source/common/hbwince.c + added BOOL hb_setenv( const char * szName, const char * szValue ) It sets or deletes (szValue==NULL) environment variable. Please add support for other compilers/OS-es or define unsupported platforms to eliminate TODO warning. For sure OS2 version have to be updated. * harbour/source/rtl/gete.c + added .prg function: HB_SETENV( <cEnvName>, [<cNewVal>] [, <lOsCP>] ) -> <lOK> which sets or deletes (when <cNewVal> is NIL) process environment variable <cEnvName>. <lOsCP> controls character translation to OS encoding. By default is enabled. FIXME: <cEnvName> OS character encoding is missing in [HB_]_GETENV() 2009-03-05 18:10 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/common/hbprintf.c * do not use modfl() in WinCE POCC builds. If MSVC also does not support if in WinCE builds then please change the condition to global HB_OS_WIN_CE 2009-03-05 16:39 UTC+0100 Viktor Szakats * doc/man/hbmk.1 * INSTALL * utils/hbmk2/hbmk2.prg - config/win/dmc.cf - config/os2/icc.cf - Removed win/dmc (Digital Marc C) C compiler from supported compiler list. The compiler was added last year, but it turned out to be too buggy for any kind of production work, and the compiler's development seem to have been stalled year ago. This is part of the pruning effort to leave here what's really needed and beneficiary for users. This will reduce the test matrix and give way to more important things. - Removed os2/icc. IBM Visual Age isn't available for OS/2 since very long, and no one seems to use this compiler on this platform. Harbour support also wasn't tested since long. 2009-03-05 16:16 UTC+0100 Viktor Szakats * doc/man/hbmk.1 * INSTALL * utils/hbmk2/hbmk2.prg - config/win/icc.cf - Deleted win/icc from supported compiler list. This was never working and the compiler isn't available anymore for Windows. For AIX we could support it though. * INSTALL * Minor typos. * mpkg_win.bat + Added zip link. Made NSIS link more direct. 2009-03-05 15:10 UTC+0100 Viktor Szakats * INSTALL * Deeper link to MinGW GNU Make download. 2009-03-05 14:38 UTC+0100 Viktor Szakats * doc/man/hbmk.1 * INSTALL * utils/hbmk2/hbmk2.prg * config/dos/global.cf - config/dos/rsx32.cf - config/win/rsxnt.cf - Pruned rsx32 and rsxnt compiler support. Both are dead product since long years. Their successor is MinGW on win, and DJGPP on dos. ; NOTE: More candidates for such pruning are: - dmc (buggy and compiler not updated) - xcc (based on very old version of pocc) Any opinions? * config/dos/global.cf - Cleaned emx, watcom, rsx, bcc16 related branches. * mpkg_win.bat * mpkg_win.nsi ! Exclusion of junk files is now done in batch, so the .zip is now also free from them. 2009-03-05 14:34 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbdefs.h * harbour/source/vm/hvm.c * respect HB_START_PROCEDURE in all builds if such public function/procedure exists. Now whole Harbour code can be compiled with -n1 in all builds. Warning for Windows/DOS users: if you have main() function in your .prg code then it will be automatically detected as application startup entry just like in other systems. Otherwise the 1st linked function will be used like so far. + added HB_START_PROC_STRICT macro which causes that HVM ignores HB_FS_FIRST attribute. Before this modification HB_START_PROCEDURE has such meaning. 2009-03-05 12:48 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/hbgtcore.c * small modification in instruction order as workaround for PellesC bug 2009-03-05 12:04 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/memvars.c ! added protection against pushing new private variable on HVM stack if such private variable is already created by the same function. Clipper also has such protection. This code illustrates it: proc main() memvar var1, var2, var3 private var1 := "a", var2 := "b", var3 := "c" ? var1, var2, var3 private var1 := "A", var2, var3 := "C" ? var1, var2, var3 private var1 := NIL, var2, var3 ? var1, var2, var3 return compare Clipper and current Harbour results with old Harbour ones or with xHarbour results. 2009-03-05 11:36 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added -prgflag:, -cflag:, -ldflag: options. To lessen the chance to mess up hbmk and underlying tools, only "-" and (on non-*nix) "/" prefixed values are accepted. Values are slash corrected by hbmk and filters can also be used. + -hbcc and -hblnk will now consider raw (unrecognized and prefixed) options as C/linker flags respectively. Values are slash corrected and filters can also be used. ; NOTE: Passing C/linker flags directly to underlying tools isn't a very good idea if you want to stay portable across tools and OSes. The only exception is the '-D' C flag which seems universally available on all C compilers. * "/" prefixed Harbour options will now be recognized in normal mode on non-*nix systems. ! DOS EOL char is now ignored in .hbp/.hbm files. + Added -bm owatcom C compiler switch in -mt mode for win/os2/linux. Pls test on os2/linux. * FIXME: Attempted to add -gui support for win/owatcom. Harbour still complains about "It's not a GUI app". This compiler is a real bitch with tons of similarly looking options and no adequate online docs, so if someone feels like it, pls correct the FIXME section in source. Until then GTWVT and GTWVG won't work with owatcom. ; NOTE: Most probably not, but I hope hbmk2 now qualifies for "basic functionality". * mpkg_win.nsi ! Fixed to not include some more unnecessary files generated by certain linkers along the build process. 2009-03-04 19:34 UTC+0100 Viktor Szakats * source/compiler/ppcomp.c ! #pragma -k? options are now case-insensitive like all other Harbour options. This completes this change: 2008-08-06 22:18 UTC+0200 Viktor Szakats 2009-03-04 18:42 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added warning msg if referenced .hbm file cannot be found. + filename without extension referenced with @ prefix will get an .hbm extension added automatically. ! Typo in prev fixed. * Filename updated in comment. 2009-03-04 17:59 UTC+0100 Viktor Szakats * doc/man/hbmk.1 * Updates. Work in progress. * utils/hbmk2/hbmk2.prg + Added man page, troff/groff links. ! Reversed the logic shared lib paths were included by. * Changed the meaning -hbcc again. Now it will switch hbmk2 to a mode where it accept -c option. If -c is sensed, it will stop after calling the C compiler. ! gtwxc removed from default GT list for *nix systems. It should be added there by hbmk.cfg. 2009-03-04 15:02 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/make_gnu.sh * small cleanup 2009-03-04 14:12 UTC+0100 Viktor Szakats * doc/man/hbmk.1 * Updated. Blindly. Do someone know a tool which can render man pages and show it without having to install this file first? * utils/hbmk2/hbmk2.prg ! Fixed to not create .c stub if only C compilation is requested. In this case it won't do any entry function detection either. ! Attempt to fix core GT dependencies not automatically linked with gcc/*nix for gtsln/gtcrs/gtxwc (in static mode). % Not adding some (now unnecessary) system libraries when in shared mode for gcc family compilers on all platforms. See: 2009-03-04 12:56 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) ; Please test above changes. 2009-03-04 12:56 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/hb-func.sh * explicitly bind system libraries with harbour shared library. RPM/DEB packages should automatically detect these dependencies. Viktor, now you do not have to pass system libraries like m, dl, rt, pthread, socket, nsl, resolv, curses, slang, x11, wininet, ws2, commdlg, commctrl, uuid, ole32 ... when you create shared binaries by hbmk2 - all bindings are in harbour shared library. They are necessary only for static builds. 2009-03-04 10:00 UTC+0100 Viktor Szakats * bin/hb-mkdyn.sh * bin/postinst.sh + Added some level of cygwin support. ; FIXME: .dlls are not generated. * make_gnu.sh * Change recently added '==' operators to '='. + Added link to GNU bash and POSIX shell docs. For Harbour we need to comply with the latter (at least for OS neutral script parts). * INSTALL * mpkg_win.bat * config/global.cf * Formatting. 2009-03-04 00:34 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtwvg/wvgsink.c ! Pacified long-standing warning. 2009-03-04 09:13 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg ! gtnul removed from gt list. It's probably enough to not add it to liblist when passing -gtnul. 2009-03-04 08:56 UTC+0100 Viktor Szakats * INSTALL + Added few NOTEs on HB_INC_* usage. * Other minor clarifications and cleanups. * mpkg_win.bat ! Forces import lib generation off. 2009-03-04 08:28 UTC+0100 Viktor Szakats * mpkg_win.bat + Added cygwin support. * utils/hbmk2/hbmk2.prg * Updated some details on the help screen. - Removed gcc as a valid win target. 2009-03-04 08:00 UTC+0100 Viktor Szakats * INSTALL * HB_INC_OPENSSL sample corrected to point to real-life header dir. + Added cygwin compiler. gcc temply removed from doc list. % Removed unnecessary -n hbmk2 switches. + Added cygwin section. * utils/hbmk2/hbmk2.prg + Don't add gtnul as a real library. Please test, I've never used GTNUL. + Added support for cygwin compiler value. (works the same as current 'win/gcc' combination) ! Typo in rare error messages. ! Removed -no-cygwin option from cygwin gcc command line. * source/common/hbprintf.c * contrib/hbssl/sslrand.c ! Fixed to compile with cygwin. ; FIXME: when running hbtest.exe: Error DBFNTX/1011 Write error: _hbtmp_.dbf Called from DBCREATE(0) Called from TEST_BEGIN(0) Called from MAIN(0) * make_gnu.sh + Added cygwin detection. * config/win/gcc.cf + config/win/cygwin.cf + Added separate cygwin make config. gcc is now just a map to cygwin. 2009-03-04 02:16 UTC+0100 Viktor Szakats * mpkg_win.bat ! Fixed dirs inside the .zip file. * Missing 'clean' added. 2009-03-04 01:46 UTC+0100 Viktor Szakats * INSTALL * make_gnu.bat - 'msvc' is no longer the default choice for win. HB_COMPILER must always be specified. * mpkg_win.bat + Removes tmp install dir before creating the build. + Added support for MinGW. + Added creation of .zip packages. (Info-ZIP zip.exe is required). * make_gnu.sh * INSTALL + on win/dos/os2 systems it will create HB_*_INSTALL dirs automatically (sync with make_gnu.bat). + on dos/os2 it will also automatically set HB_DOC_INSTALL. + on win/dos/os2 it will automatically convert HB_INSTALL_PREFIX and HB_*_INSTALL to use forward slashes. * utils/hbmk2/hbmk2.prg + Added gtnul to standard list of GTs. Attempt to solve the problem reported by Barry Jackson. Please test if this solves anything. * doc/Makefile ! Deleted files removed. 2009-03-04 00:53 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fixed problem reported by Istvan Bisz. Wrong function declarations were used in static mode. 2009-03-03 23:58 UTC+0100 Viktor Szakats * mpkg_win.bat ! Not polluting caller environment vars. * Changed to always override HB_INSTALL_PREFIX to a local temp dir. (to avoid picking up any other misc files accidentally present in a user supplied directory) + Added --deltemp option which will delete the temp install dir. + Completed requirement list. * mpkg_win.nsi * Formatting. 2009-03-03 23:56 UTC+0100 Francesco Saverio Giudice (info/at/fsgiudice.com) * harbour/contrib/examples/uhttpd/uhttpd.prg * Updated uHTTPD (Work in progress) ! Fixing memory usage attempt. Set PRIVATE vars to NIL when not more used and force collect memory with hb_GCAll( .T. ) * Set Service Threads initial value to 0 + Added support for directory index files + Added support for filters (WIP) * Added creation of error.log file in case of error * Minor changes * harbour/contrib/examples/uhttpd/cgifunc.prg * Fixed comment * harbour/contrib/examples/uhttpd/uhttpd.ini + DirectoryIndex entry ; NOTE: Please check me for memory usage. I have added a comment // FSG - memory check to interested lines. But I'm not sure if this solves the problem. 2009-03-03 22:22 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/tests/speedtst.prg * updated to work with CA-Cl*pper 2009-03-03 20:05 UTC+0100 Viktor Szakats * INSTALL + Extended 'HOW TO ENABLE OPTIONAL COMPONENTS BEFORE BUILD' section a bit. (HB_DIR_* stuff still not included as it's early to document it yet, refer to the ChangeLog for info on it). * bin/hbmk.bat - Removed -n switch. + mpkg_win.bat + Added Windows installer creator script. ; TODO: Move all mpkg_*.* and related files to new /package dir. * mpkg_win.nsi + Changed to use HB_*_INSTALL envvars for source file locations. ! Fixed to exclude .tds files. + Will now will include version number, architecture and compiler in installer .exe name. + Default install destination will now include compiler name. * source/compiler/hbmain.c * source/compiler/cmdcheck.c * source/compiler/gencobj.c * source/compiler/hbusage.c + Marked -go option as HB_LEGACY_LEVEL2. Deprecated text shown on help screen. * utils/hbmk2/hbmk2.prg ! Fixed entry func autodetection problem with gcc when source file is passed without .prg extension. Reported by Maurilio. 2009-03-03 19:54 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/hbproces.c * check if some define constants exists before use - it should fix compilation in some WinCE builds, e.g. with MSVC * harbour/source/common/hbprintf.c * disabled _LIB_VERSION setting in DJGPP builds - if we need it for some reasons then it should be done in different which does not create multiple instances of this variable 2009-03-03 19:34 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/config/dir.cf * disabled parallel execution rules for make 3.79.1 2009-03-03 16:40 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/Makefile ! fixed compilation with C compilers which does not support MT mode (HB_MT=no) - it's seldom situation but may exists on some platforms, e.g. in *nixes when PTHREADS is not available * harbour/config/win/bcc.cf ! fixed compilation in SHELL environment (if exists ... del ... is COMMAND.COM/CMD.EXE only command) * harbour/source/rtl/hbstrfmt.c ! casting for C++ compilation * harbour/contrib/xhb/dbf2txt.c ! casting for C++ compilation ! fixed two bad bugs which can cause GPF or some other bad results I'd seen after short check. I haven't analyzed this code carefully for others. * harbour/bin/postinst.sh ! fixed hb*-mkslib link in cross builds (MinGW/MinGWCE) 2009-03-03 10:42 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + Now hbmk will show the filename of each processed .hbp file. * Changed -quiet meaning: it will now suppress above messages. * ChangeLog + Added new line for previous entry about new --version option. 2009-03-03 10:26 UTC+0100 Viktor Szakats * INSTALL - Bison requirement moved next to the parser related option, to not cause any unnecessary confusion. * utils/hbmk2/hbmk2.prg * Made -hbcc and -hbcmp to behave the same. They'll no both generate objects. + Added --version option. 2009-03-02 23:59 UTC+0100 Viktor Szakats * debian/rules + doc/man/hbmk.1 - doc/man/hbmake.1 - Removed hbmake doc. + Added hbmk doc. (bare one) - doc/genhtm.rsp - doc/genhtm.lnk - doc/genhtm.bat - doc/genhtm.sh + doc/en/genhtm.lnk + doc/en/genhtm.sh + doc/en/genhtm.rsp + doc/en/genhtm.bat * Moved. 2009-03-02 23:34 UTC+0100 Viktor Szakats * contrib/Makefile - contrib/hbwhat + contrib/examples/hbwhat * contrib/examples/hbwhat/Makefile * Moved hbwhat to contrib/examples. 2009-03-02 23:27 UTC+0100 Viktor Szakats * INSTALL - Removed HB, HBPP envvars as cross-compilation requirements. * make_gnu_os2.cmd + Now honors HB_USER_MAKEFLAGS setting. * utils/hbmk2/hbmk2.prg + Added -n2 Harbour switch as default. ; TODO: If this works out well, we can remove explicit -n switches from .hbm files. [DONE] * config/win/bcc.cf + Suppressing some OS commands to not pollute output. 2009-03-02 21:28 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbcomp.h * harbour/include/hbcompdf.h * harbour/include/hbexpra.c * harbour/source/compiler/hbmain.c * harbour/source/compiler/cmdcheck.c * harbour/source/compiler/hbcomp.c * harbour/source/compiler/genc.c * harbour/source/compiler/harbour.yyc * harbour/source/compiler/harbour.y * harbour/source/compiler/harbour.yyh * harbour/source/compiler/ppcomp.c * harbour/source/compiler/hbdbginf.c * harbour/source/compiler/genhrb.c * harbour/source/compiler/hbusage.c ! fixed static variables indexes in the generated PCODE when static variables are declared inside extended codeblocks - in some cases wrong PCODE was generated ! fixed initialization PCODE for thread static variables declared inside extended codeblocks ! fixed modulename generated for debugger to always contain function name part for extended codeblock declared as file wide static variables. In such case "(_INITSTATICS)" is used as function name. Without it debugger does not register entering such codeblocks and GPFs. + added support for automatic adding 1st function with the same name as compiled .prg file if some code statements are used before 1st function/procedure declared explicitly in .prg file. Such mode can be enabled by -n2 new harbour compiler switch. 2009-03-02 18:48 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + Compiler value unknown message now shows the actual value. 2009-03-02 17:53 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + Automatically switching to -hbcmp mode if /gh switch is used. + In -hbcmp mode it will pass /o option directly to Harbour. - contrib/examples/uhttpd/modules/bldhrb.bat + contrib/examples/uhttpd/modules/allmod.hbm + Replaced batch file with hbmk2 make file. It will build all .hrb files and place them to cgi-bin dir. 2009-03-02 16:56 UTC+0100 Viktor Szakats - obj - make_b32.bat - make_b32.mak - make_gcc.sh - make_gcc.mak - make_vc.bat - make_vc.mak - common.mak - contrib/mtpl_b32.mak - contrib/mtpl_b32.bat - contrib/make_b32_all.bat - contrib/mtpl_gcc.mak - contrib/mtpl_gcc.sh - contrib/make_gcc_all.sh - contrib/mtpl_vc.mak - contrib/mtpl_vc.bat - contrib/make_vc_all.bat - contrib/hbmysql/common.mak - contrib/hbmysql/make_gcc.sh - contrib/hbmysql/make_b32.bat - contrib/hbmysql/make_vc.bat - contrib/gtalleg/common.mak - contrib/gtalleg/make_gcc.sh - contrib/gtalleg/make_b32.bat - contrib/gtalleg/make_vc.bat - contrib/hbct/make_b32.bat - contrib/hbct/make_gcc.sh - contrib/hbct/make_vc.bat - contrib/hbct/common.mak - contrib/hbodbc/common.mak - contrib/hbodbc/make_gcc.sh - contrib/hbodbc/make_b32.bat - contrib/hbodbc/make_vc.bat - contrib/xhb/make_b32.bat - contrib/xhb/make_gcc.sh - contrib/xhb/make_vc.bat - contrib/xhb/common.mak - contrib/hbtpathy/common.mak - contrib/hbtpathy/make_gcc.sh - contrib/hbtpathy/make_b32.bat - contrib/hbtpathy/make_vc.bat - contrib/hbgt/make_b32.bat - contrib/hbgt/common.mak - contrib/hbgt/make_gcc.sh - contrib/hbgt/make_vc.bat - contrib/hbmsql/common.mak - contrib/hbmsql/make_gcc.sh - contrib/hbmsql/make_b32.bat - contrib/hbmsql/make_vc.bat - contrib/hbsqlit3/common.mak - contrib/hbsqlit3/make_gcc.sh - contrib/hbsqlit3/make_b32.bat - contrib/hbsqlit3/make_vc.bat - contrib/hbole/common.mak - contrib/hbole/make_gcc.sh - contrib/hbole/make_b32.bat - contrib/hbole/make_vc.bat - contrib/hbmzip/make_b32.bat - contrib/hbmzip/common.mak - contrib/hbmzip/make_gcc.sh - contrib/hbmzip/make_vc.bat - contrib/hbblat/common.mak - contrib/hbblat/make_b32.bat - contrib/hbblat/make_vc.bat - contrib/hbfbird/common.mak - contrib/hbfbird/make_gcc.sh - contrib/hbfbird/make_b32.bat - contrib/hbfbird/make_vc.bat - contrib/hbapollo/common.mak - contrib/hbapollo/make_gcc.sh - contrib/hbapollo/make_b32.bat - contrib/hbapollo/make_vc.bat - contrib/hbziparc/common.mak - contrib/hbziparc/make_gcc.sh - contrib/hbziparc/make_b32.bat - contrib/hbziparc/make_vc.bat - contrib/hbnf/make_b32.bat - contrib/hbnf/make_gcc.sh - contrib/hbnf/make_vc.bat - contrib/hbnf/common.mak - contrib/hbcurl/common.mak - contrib/hbcurl/make_gcc.sh - contrib/hbcurl/make_b32.bat - contrib/hbcurl/make_vc.bat - contrib/rddsql/common.mak - contrib/rddsql/sddmy/common.mak - contrib/rddsql/sddmy/make_gcc.sh - contrib/rddsql/sddmy/make_b32.bat - contrib/rddsql/sddmy/make_vc.bat - contrib/rddsql/sddpg/common.mak - contrib/rddsql/sddpg/make_gcc.sh - contrib/rddsql/sddpg/make_b32.bat - contrib/rddsql/sddpg/make_vc.bat - contrib/rddsql/sddfb/common.mak - contrib/rddsql/sddfb/make_b32.bat - contrib/rddsql/sddfb/make_vc.bat - contrib/rddsql/make_gcc.sh - contrib/rddsql/make_b32.bat - contrib/rddsql/make_vc.bat - contrib/hbhpdf/common.mak - contrib/hbhpdf/make_gcc.sh - contrib/hbhpdf/make_b32.bat - contrib/hbhpdf/make_vc.bat - contrib/rddado/common.mak - contrib/rddado/make_gcc.sh - contrib/rddado/make_b32.bat - contrib/rddado/make_vc.bat - contrib/gtwvg/make_b32.bat - contrib/gtwvg/make_gcc.sh - contrib/gtwvg/make_vc.bat - contrib/gtwvg/common.mak - contrib/hbpgsql/common.mak - contrib/hbpgsql/make_gcc.sh - contrib/hbpgsql/make_b32.bat - contrib/hbpgsql/make_vc.bat - contrib/hbclipsm/make_b32.bat - contrib/hbclipsm/common.mak - contrib/hbclipsm/make_gcc.sh - contrib/hbclipsm/make_vc.bat - contrib/rddads/make_b32.bat - contrib/rddads/common.mak - contrib/rddads/make_gcc.sh - contrib/rddads/make_vc.bat - contrib/hbfimage/common.mak - contrib/hbfimage/make_gcc.sh - contrib/hbfimage/make_b32.bat - contrib/hbfimage/make_vc.bat - contrib/hbgd/make_b32.bat - contrib/hbgd/common.mak - contrib/hbgd/make_gcc.sh - contrib/hbgd/make_vc.bat - contrib/hbmisc/make_b32.bat - contrib/hbmisc/common.mak - contrib/hbmisc/make_gcc.sh - contrib/hbmisc/make_vc.bat - contrib/hbgf/hbgfwin/common.mak - contrib/hbgf/hbgfwin/make_b32.bat - contrib/hbgf/hbgfwin/make_vc.bat - contrib/hbtip/make_b32.bat - contrib/hbtip/common.mak - contrib/hbtip/make_gcc.sh - contrib/hbtip/make_vc.bat - contrib/hbwin/make_b32.bat - contrib/hbwin/common.mak - contrib/hbwin/make_gcc.sh - contrib/hbwin/make_vc.bat - contrib/hbbmcdx/common.mak - contrib/hbbmcdx/make_gcc.sh - contrib/hbbmcdx/make_b32.bat - contrib/hbbmcdx/make_vc.bat - contrib/hbvpdf/common.mak - contrib/hbvpdf/make_gcc.sh - contrib/hbvpdf/make_b32.bat - contrib/hbvpdf/make_vc.bat - contrib/hbssl/common.mak - contrib/hbssl/make_gcc.sh - contrib/hbssl/make_b32.bat - contrib/hbssl/make_vc.bat - contrib/hbbtree/common.mak - contrib/hbbtree/make_gcc.sh - contrib/hbbtree/make_b32.bat - contrib/hbbtree/make_vc.bat - contrib/hbcrypt/make_b32.bat - contrib/hbcrypt/common.mak - contrib/hbcrypt/make_gcc.sh - contrib/hbcrypt/make_vc.bat - contrib/hbwhat/make_b32.bat - contrib/hbwhat/make_gcc.sh - contrib/hbwhat/make_vc.bat - contrib/hbwhat/common.mak - contrib/examples/hbsqlit2/common.mak - contrib/examples/hbsqlit2/make_gcc.sh - contrib/examples/hbsqlit2/make_b32.bat - contrib/examples/hbsqlit2/make_vc.bat - Deleted components of "non-GNU" (MSVC, BCC and GCC specific) make systems. Leaving GNU Make as the unified make platform for Harbour. This also means that Harbour is now much portable in the sense that with a few rare exceptions all tasks should be carried exactly the same way across the OSes. Platform specific script file statistics before: - Bash 54 (end-user oriented: 49 - including package creation) - Windows/DOS 105 (end-user oriented: 90) - OS/2 2 (end-user oriented: 1) Platform specific script file statistics now: - Bash 14 (end-user oriented: 9 - including package creation) - Windows/DOS 19 (end-user oriented: 4) - OS/2 2 (end-user oriented: 1) Some of these will be further cleaned (hbdoc related: 5, hbmk compatibility: 2) 2009-03-02 16:26 UTC+0100 Viktor Szakats * INSTALL * contrib/hbfbird/readme.txt * Updates. 2009-03-02 11:55 UTC+0100 Viktor Szakats * config/global.cf ! Corrected GNU Make doc link. * INSTALL * Updates. * contrib/xhb/regexrpl.prg * contrib/gtwvg/gtwvg.c ! Fixed warnings. 2009-03-02 09:43 UTC+0100 Viktor Szakats * include/hbapi.h * source/rtl/hbstrfmt.c * C level function renamed to hb_strFormat(). + Added to headers, exported. 2009-03-02 09:36 UTC+0100 Viktor Szakats * source/rtl/Makefile * include/hbextern.ch + source/rtl/hbstrfmt.c + Added HB_STRFORMAT() sprintf()-like formatting. + Added hb_StrFormat() C level function. ; Work of Mindaugas sent to the list, with some minor cleanups applied. Please test on your platform/compiler. * contrib/examples/uhttpd/uhttpd.prg * contrib/examples/uhttpd/cgifunc.prg * contrib/examples/uhttpd/session.prg * contrib/examples/uhttpd/uhttpd.hbm * xhb compatibility cleanups. - xhb lib and header dependency removed. * utils/hbmk2/hbmk2.prg * Changed so that libs won't inherit their .hbm file paths. + Embedded .hbm files will inherit their parents dir. 2009-03-02 08:30 UTC+0100 Viktor Szakats * INSTALL * Updates. * source/vm/Makefile - Removed sensing HB_MT value and building pure MT version of Harbour. This is to avoid yet another unnecessary variation of Harbour builds. For MT, just simply hbvmmt lib should be linked. 2009-03-01 23:56 UTC+0100 Viktor Szakats + contrib/xhb/regexrpl.prg + Added HB_REGEXREPLACE() from xhb. Work of Francesco. (missed from prev commit) * contrib/xhb/common.mak * Updated. 2009-03-01 23:54 UTC+0100 Viktor Szakats - contrib/examples/uhttpd/hbmk.bat + contrib/examples/uhttpd/uhttpdgd.hbm * contrib/examples/uhttpd/uhttpd.prg * contrib/examples/uhttpd/readme.txt * Added separate GD enabled .hbm file. * Remaining hbmk.bat features moved to .prg code and into readme.txt. * utils/hbmk2/hbmk2.prg + Added support for @ and .hbm parameters inside .hbm files. Currently three levels deep nesting in allowed. * contrib/xhb/Makefile + contrib/xhb/dbf2txt.c + Added DBF2TXT() function from xhb. ; TODO: RPC support and HB_SERVICE*() API ? [DONE] 2009-03-01 18:39 UTC+0100 Viktor Szakats * contrib/examples/uhttpd/hbmk.bat * contrib/examples/uhttpd/uhttpd.hbm + Changed to build without using hbmk.bat. (socket.c is now always linked) 2009-03-01 18:16 UTC+0100 Viktor Szakats * INSTALL * make_b32.bat * doc/gmake.txt * bin/postinst.bat * bin/hb-mkdyn.bat * make_gnu.bat * contrib/hbfimage/readme.txt * contrib/examples/uhttpd/modules/bldhrb.bat * source/vm/Makefile * source/rtl/console.c * source/compiler/gencobj.c * utils/hbmk2/hbmk2.prg * utils/hbmk2/examples/winapi.hbp - config/win/bcc32.cf + config/win/bcc.cf * Long time TODO done: Renamed bcc32 compiler name to bcc. bcc32 is still accepted by make_gnu.bat, but will be removed in the future, so it's recommended to update your local settings to use: set HB_COMPILER=bcc - config/dos/bcc16.cf - Deleted bcc16 compiler support. I didn't work since ages, and Harbour doesn't support 16-bit compilers anyway. 2009-03-01 17:05 UTC+0100 Viktor Szakats * config/win/bcc32.cf ! Fix to prev. 2009-03-01 16:05 UTC+0100 Viktor Szakats * config/win/bcc32.cf ! Fixed to use response files with tlib, to avoid command line length limits on some systems. - tests/run_prg.bat + tests/run.bat - tests/run_prg_all.bat + tests/run_all.bat * Renamed to short name. 2009-03-01 15:27 UTC+0100 Viktor Szakats - contrib/hbct/ctflist.txt - contrib/hbodbc/odbc.txt - contrib/hbodbc/readme.txt - contrib/hbpgsql/readme.txt - contrib/hbgd/readme.txt * contrib/hbgd/tests/counter.prg * contrib/hbgd/Makefile - contrib/hbvpdf/readme.txt + contrib/hbvpdf/ChangeLog * Some cleanups. * doc/gmake.txt * '-r' requirement removed. * doc/codestyl.txt * Grammar. - doc/funclist.txt - doc/howtomak.txt - doc/hrb_faq.txt - doc/hbmake.txt - doc/lang_id.txt - Deleted obsolete files. * INSTALL + Added Bison version required. * Minor typo. * contrib/hbvpdf/tests/files/test.txt * Changed text to lorem ipsum. * utils/hbmk2/hbmk2.prg * Two line ending spaces removed from output. * mpkg_win.nsi ! Fixed to include subdir for doc dir. * config/global.cf + Added comment from doc file. 2009-03-01 13:58 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapi.h * harbour/include/hbstack.h * harbour/source/vm/hvm.c * harbour/source/vm/estack.c * harbour/source/vm/memvars.c ! fixed __M[V]CLEAR()/ __M[V]RESTORE() to be exactly Clipper compatible and do not release PUBLIC GetList value. Here it's small example which illustrates current behavior and exploits bug in previous version: memvar getlist proc main() getlist:="public:getlist" ? getlist private getlist:="private:getlist" ? getlist CLEAR MEMORY ? getlist return * harbour/source/compiler/gencc.c + added Harbour exception to the license - it's mine code with few lines added/modified by Ryszard and Viktor. I hope they do not have anything against. * harbour/source/compiler/hbmain.c * harbour/source/compiler/hbident.c * minor formatting 2009-02-28 15:51 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtwvg/common.mak * harbour/contrib/gtwvg/Makefile + Added wvgcuig.c * harbour/contrib/gtwvg/gtwvg.h + Added PHB_GOBJS structure to hold static CUI enhancement elements. * harbour/contrib/gtwvg/gtwvg.c ! Implemented hb_gt_wvt_PaintGObjects( PHB_GTWVT pWVT, RECT *uRect ) just before EndPaint() call. + harbour/contrib/gtwvg/wvgcuig.c + Implementation of pure static controls with Clipper like approach leaving away the details of heavy GTWVG base protocol. * harbour/contrib/gtwvg/tests/demowvg.prg ! Implemented simplified GUI look to a CUI console. Now it is possible TO build console dialogs pretty fast. This implementation assumes that appln will NOT use overlapping screens as with SaveScreen()/RestScreen() functions. Instead a new window will be opened to host overlapping screens. Please look at <Traditional><WVG Console with GCUI> to look at this functionality. The code goes below: /* PROCEDURE GCUIConsole() LOCAL dDate := ctod( "" ) LOCAL cName := Space( 35 ) LOCAL cAdd1 := Space( 35 ) LOCAL cAdd2 := Space( 35 ) LOCAL cAdd3 := Space( 35 ) LOCAL nSlry := 0 LOCAL nColGet := 8 LOCAL GetList := {} LOCAL cLabel := "VOUCH, that GROWS with you" SetColor( "N/W,N/GR*,,,N/W*" ) CLS hb_gtInfo( HB_GTI_WINTITLE, "WVG Simplified GUI Console" ) @ MaxRow(), 0 SAY PadC( "GTWVG Simplified GUI Console", maxcol()+1 ) COLOR "W+/B*" @ 2, nColGet SAY "< Date >" @ 5, nColGet SAY "<" + PadC( "Name", 33 ) + ">" @ 8, nColGet SAY "<" + PadC( "Address", 33) + ">" @ 15, nColGet SAY "< Salary >" @ 3, nColGet GET dDate @ 6, nColGet GET cName @ 9, nColGet GET cAdd1 @ 11, nColGet GET cAdd2 @ 13, nColGet GET cAdd3 @ 16, nColGet GET nSlry PICTURE "@Z 9999999.99" // The only additional calls to render your console GUI // // The GETLIST : This can be embedded via @ GET preprocessor command aEval( GetList, {|oGet| Wvg_BoxGet( oGet:Row, oGet:Col, Len( Transform( oGet:VarGet(), oGet:Picture ) ) ) } ) // And thsese can be another @ SAY commands Wvg_BoxRaised( 1, 2, 18, 49, { -5,-5,5,5 } ) Wvg_BoxRecessed( 1, 2, 18, 49 ) Wvg_BoxGroupRaised( 2, 4, 17, 47, { -7,-7,7,7 } ) // Instruct GT to Repaint the Screen with GUI elements. Wvt_InvalidateRect( 0, 0, maxrow(), maxcol() ) // Issue the read READ RETURN */ 2009-02-28 13:51 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtwvg/tests/demoxbp.prg ! Fixed to honor recent GTWVG changes. 2009-02-28 12:12 UTC+0100 Viktor Szakats * make_gnu_os2.cmd * make_gnu.sh + Setting HB_DOC_INSTALL dir. (the .sh sets it only for mingw, please test) * INSTALL * contrib/hbhpdf/make_b32.bat * contrib/hbhpdf/make_vc.bat * contrib/hbgd/make_b32.bat * contrib/hbgd/make_vc.bat ! Old typos in two HB_INC_* examples. 2009-02-28 10:26 UTC+0100 Viktor Szakats * INSTALL * Cleaned the section dealing with GNU Make on Windows. --- 3.) Make sure to have GNU Make. We recommend the one distributed with MinGW. To get it: - Use your search engine with 'mingw gnu make' - Use this link: https://sourceforge.net/project/showfiles.php?group_id=2435 If you have it, you have three choices: - Put mingw32-make.exe anywhere in your PATH. (recommended) - Put mingw32-make.exe in Harbour source root dir. - Rename mingw32-make.exe to make.exe and put it in your PATH _before_ your compiler tools. --- * make_gnu.bat + mingw32-make.exe is now also accepted in Harbour's source tree root. 2009-02-28 10:15 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + Reenabled and fixed call to entry function autodetection for gcc. + Now all Harbour dirs are always normalized (stripped). 2009-02-28 09:56 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fixed yesterday's -fullstatic patch. Now it should work. * make_b32.bat * make_vc.bat - Disabled automatic .dll builds to expose the pure make_gnu.bat interface. * Some refininements to vc version. 2009-02-28 01:22 UTC+0100 Viktor Szakats * INSTALL + Added win/owatcom. + Added contrib control options. * bin/postinst.bat % Optimized, cleaned. * mpkg_win.nsi - Turned off checkbox in "view readme" option. 2009-02-27 23:40 UTC+0100 Viktor Szakats + mpkg_win.nsi + Added NSIS Windows installer script. Needs to be inserted into build creation process, which is completely missing yet from SVN. Anyhow it's tested and working well. At this moment it should be run from a freshly created dir created with 'make_gnu.bat install'. * utils/hbrun/hbrun.prg + Added -v option which simply runs '? hb_version()' after startup. * make_gnu.bat + Added init of HB_DOC_INSTALL. * doc/license.txt - Removed SVN header to be in full sync with /COPYING. * INSTALL * Minor cleanups. 2009-02-27 22:13 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added '-Wl,-static' option for gcc/*nix when -fullstatic hbmk option is used. I hope this is fine. On my Ubuntu, this says: '/usr/bin/ld: cannot find -lgcc_s'. - Removed debug trace line left in. * contrib/Makefile ! Fixed commenting hbwhat. 2009-02-27 21:12 UTC+0100 Viktor Szakats * INSTALL * Minor. * make_gnu.bat ! Typo. 2009-02-27 20:49 UTC+0100 Viktor Szakats * INSTALL + Added more information to Windows section. This will need a cleanup already. + Added links, header. * make_gnu.bat + Added automatic default of HB_INSTALL_PREFIX on NT and above systems. This means this setting is now option. If not set, it will install under the source tree. 2009-02-27 20:15 UTC+0100 Viktor Szakats * make_gnu.bat + Added autodetection of mingw32-make.exe. If found in PATH, it will be used instead of make.exe. This way the build process is much less resistant of environment configuration. If this works out, I'll lax the rules in INSTALL. * utils/hbmk2/hbmk2.prg * Minor internal cleanup to previous. 2009-02-27 19:59 UTC+0100 Viktor Szakats * INSTALL + Added text to specifically tell to rename mingw32-make.exe to make.exe if the former is found in a distro. BTW most probably mingw32-make.exe would also make it, but our make_gnu.bat file wants make.exe, and there is no easy way to check (but can be done). * utils/hbmk2/hbmk2.prg ! Fixed silly typo preventing object files to get their proper extension in -hbcc mode. * Minor internal change to avoid changing extensions twice on the same string, since this may cause loss. 2009-02-27 19:19 UTC+0100 Viktor Szakats * INSTALL * make_gnu.bat * make_gnu.sh + Added listing of supported C compilers. + Added list of available built-time options. (may be incomplete). ! Added -n options to hbmk2 calls. - Removed similar content from script files. * make_gnu.bat - Removed --install-with-dll option. Use set HB_BUILD_DLL=yes instead. * utils/hbmk2/hbmk2.prg ! Fixed swapped -hbcc and -hbcmp meaning. + Don't deal with compiler autodetection if called with -hbcmp option. In this mode a C compiler isn't needed at all. 2009-02-27 17:54 UTC+0100 Viktor Szakats * make_gnu.bat ! Fixed to work when DLLs weren't requested. 2009-02-27 16:52 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) + harbour/contrib/xhb/xhbcls.ch + added header file which xHarbour like OVERRIDE / EXTEND CLASS definitions. Warning: using this functionality may break logical inheritance scheme or even some internal class definitions in both Harbour and xHarbour compilers. In Harbour it's unsupported feature added here only for strict XHB compatibility. 2009-02-27 16:05 UTC+0100 Viktor Szakats * INSTALL * bin/postinst.bat * Formatting. 2009-02-27 15:49 UTC+0100 Viktor Szakats * INSTALL + Added more information. (everyone trying to build Harbour from source should read this first.) * bin/postinst.bat + Added option to copy import libs belonging to external tools for msvc and bcc32 to HB_LIB_INSTALL. This is to keep this debated, but convenient feature for the GNU-make world, until we find some better way to deal with it. Now it's self contained, detached from all important Harbour parts. And most importantly: You don't have to use it, if you don't want to. Now, if you want, set HB_DIR_IMPLIB to "yes" and setup your HB_DIR_* dirs to the roots of the external tool dirs, like this (adjust to your environment): --- set HB_DIR_IMPLIB=yes set HB_DIR_ADS=C:\devl\ADS910\ACESDK set HB_DIR_ALLEGRO=C:\devl\allegro-4.2.2 set HB_DIR_APOLLO=C:\devl\Apollo-6.1.0.4 set HB_DIR_BLAT=C:\devl\blat-2.6.2 set HB_DIR_CURL=C:\devl\curl-7.19.0 set HB_DIR_FIREBIRD=C:\devl\Firebird-2.1.1 set HB_DIR_FREEIMAGE=C:\devl\FreeImage-3.11.0 set HB_DIR_GD=C:\devl\gd-2.0.34 set HB_DIR_LIBHARU=C:\devl\libharu-2.1.0 set HB_DIR_MYSQL=C:\devl\mysql-5.0.67 set HB_DIR_OPENSSL=C:\devl\openssl-0.9.8j set HB_DIR_PGSQL=C:\devl\pgsql-8.3.3 --- (This may be tweaked in the future, so I don't guarantee any compatibility for this stuff) 2009-02-27 12:52 UTC+0100 Viktor Szakats * make_b32.bat * make_vc.bat * make_gcc.sh * Redirected old "non-GNU" build starters to the mainstream Harbour GNU Make system, with some measures to keep compatibility. It's not 100% compatible, but the most important settings and aspects should be similar. It's recommended for everyone to switch using the GNU make system natively, as the non-GNU one will be removed in the future, the old way is now legacy and not supported. * INSTALL * make_gnu.bat + Added some more information. 2009-02-27 12:38 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/postinst.sh ! fixed hb-mkslib link. Please test this version in MSys. 2009-02-27 12:17 UTC+0100 Viktor Szakats * make_gnu.bat + Made them accept HB_BUILD_DLL=yes. ! Some typos. 2009-02-27 11:51 UTC+0100 Viktor Szakats * bin/postinst.bat * make_gnu.bat * config/win/global.cf * Renamed HB_DLL to HB_BUILD_DLL, which makes this GNU make setting compatible with old non-GNU make. 2009-02-27 10:44 UTC+0100 Viktor Szakats * INSTALL * make_gnu.bat + Added --install-with-dll option. This will build and install Harbour with .dlls. Some examples: --- for msvc: call "%ProgramFiles%\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" set PATH=C:\devl\make-3.81;%PATH% set HB_INSTALL_PREFIX=C:\devl\hbvc-1.1 call make_gnu.bat --install-with-dll > out.txt 2>&1 --- --- for bcc32: set PATH=C:\devl\bcc55\bin;%PATH% set PATH=C:\devl\make-3.81;%PATH% set HB_COMPILER=bcc32 set HB_INSTALL_PREFIX=C:\devl\hbb32-1.1 call make_gnu.bat --install-with-dll > out.txt 2>&1 --- * make_gnu.bat * make_gnu_os2.cmd + Will now automatically create the install destination dirs. ; TODO: Could someone please add this feature to make_gnu.sh? [DONE] * bin/postinst.bat * bin/hb-mkdyn.bat * Moved building dll flavoured executables to postinst, so they will be rebuilt even if HB_DLL!=yes but .dlls are available. * contrib/Makefile + Added support for option: HB_CONTRIBLIBS=no. This will disable building any Harbour contribs. (no need to resort to hacks here anymore) * utils/hbmk2/hbmk2.prg * Minor on help screen. 2009-02-27 08:41 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + Now all dirs of input files referred to through .hbm make files will be adjusted with the .hbm path as passed on the command line. This allows to use .hbm files without switching to their host dirs: 'hbmk2 examples/hello/hello.hbm' (internal logic also allows to display error messages pointing to the exact location where the error was detected) + Added simple macro substitution engine. Not used yet. % Minor optimizations. * bin/hb-mkdyn.bat * source/vm/Makefile * utils/hbmk2/hbmk2.prg + config/win/msvcia64.cf + Added support for IA64 architecure with MSVC. (actual compilation untested as it needs MSVC Team System) * bin/hb-mkdyn.bat % Now using .hbm files. 2009-02-26 22:51 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtwvg/wvgwin.c ! Removed TREEVIEWITEM structure definition as it is fixed by Przemek. 2009-02-26 16:10 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtwvg/gtwvg.c ! Some refinements is setting Window's style through SetWindowLong(Ptr)(). * harbour/contrib/gtwvg/wvgwin.c % Removed some test code. 2009-02-25 18:57 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtwvg/gtwvg.c * harbour/contrib/gtwvg/gtwvg.h ! Updated to honor Box Caharcter Changes as in GTWVT by Przemek. ! Updated HB_GTI_CLOSABLE and HB_GTI_RESIZABLE behavior as in GTWVT by Viktor. 2009-02-26 20:30 UTC+0100 Viktor Szakats * bin/hb-mkdyn.bat + Added hbrun-dll.exe generation for msvc64. 2009-02-26 19:46 UTC+0100 Viktor Szakats * bin/hb-mkdyn.bat * Minor cleanup. 2009-02-26 19:44 UTC+0100 Viktor Szakats * bin/hb-mkdyn.bat * Cleaned tool outputs. + Added hbmaindllh lib to included liblist. (dunno what this serves, but we had it in non-GNU make) Do we need this at all? + Added support for msvc64 dll name. * Some tweak to owatcom, but it's just guessing, it still doesn't work. + Added generating hbrun-dll executable. * source/vm/hvm.c * source/vm/mainstd.c * Random tweak for owatcom/win dll support without success. Best result so far is: "Unrecoverable error 9012: Can't locate the starting procedure: 'MAIN'" * source/vm/Makefile + Added mainddllp generation for msvc, msvc64, bcc32, owatcom. * source/vm/maindllp.c + Added msvc64 and msvcia64 .dll names. * source/vm/extrap.c * Minor tweak to use alternate (documented) CPU detection macro. * utils/hbmk2/hbmk2.prg + Added msvc64 .dll name. * Removed automatic addition of hbcommon lib for shared mode for win compilers. * utils/hbtest/hbtest.hbm * utils/hbrun/hbrun.hbm + Added make files. 2009-02-26 12:54 UTC+0100 Viktor Szakats * source/rtl/gtwvt/gtwvt.c ! Attempt to fix SetMode() always returning FALSE when the window isn't open yet. Please test, I didn't. 2009-02-26 12:44 UTC+0100 Viktor Szakats * source/rtl/gtwvt/gtwvt.c ! Fixed HB_GTI_CLOSABLE when set before window initialization. 2009-02-26 12:16 UTC+0100 Viktor Szakats * config/rules.cf * config/win/global.cf * config/lib.cf * config/bin.cf * Make files changed to: - add Harbour option -n1 for all lib .prgs. - add Harbour option -n for all binary .prgs. - use HB_GCMODE to override -gc mode for binaries. - add C -DHB_DYNLIB option when HB_DLL envvar is set to 'yes'. ; This means that now 'set HB_DLL=yes' setting works as planned, and will compile Harbour to allow the creation of .dlls and will also create those (msvc, bcc32, owatcom). (MinGW has been covered before these changes already.) ; FIXME: .dlls still need tweaking to work properly. owatcom doesn't create usable binaries when using HB_DLL=yes. * config/win/owatcom.cf % Removed DOS hack. * bin/hb-mkdyn.bat ! Fixes to recent changes. 2009-02-26 12:02 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/gtwvt/gtwvt.h * harbour/source/rtl/gtwvt/gtwvt.c + added support to set codepage for box drawing characters using HB_GTI_BOXCP as numeric value just like in HB_GTI_CODEPAGE for non UNICODE builds. In Windows CP encoding has even higher priority then font name so such functionality is necessary for users who have to keep normal and box font synced % do not allocate separate font handle for BOX drawing characters when they have the same encoding as normal characters ! keep box and normal font handles synced and free then on exit ! respect HB_GTI_RESIZABLE settings when new window is created 2009-02-26 10:24 UTC+0100 Viktor Szakats * bin/hb-mkdyn.bat + Moving .lib and .exp (if they are generated) files to LIB dir. * source/vm/maindllp.c + Added owatcom flavour of .dll name. * contrib/hbwin/win_misc.c + Added WAPI_GETLASTERROR(), WAPI_SETLASTERROR(), WAPI_SETERRORMODE(). * utils/hbmk2/hbmk2.prg + Added TODO to create temp .c files in temp location. Looks this can create a few problems (-hbcc, .ppo output location when -p is used by user). + '/o' flavour of -o option is now ignored on non-*nix systems to make sure users cannot mess up the hbmk process flow. * -o option modified to reset any previous explicit -o settings. * Some minor internal renames, comments. + Added new hbmk.cfg / .hbp option: 'shareddef='. This can change the default state of shared/static setting, so it can be used by installers or user to override default behaviour. NOTE: HB_SHARED envvar can also be used. * Changed hbmk.cfg lookup preferences to this: 1. $HOME/.harbour 2. /etc/harbour 3. <hbmkdir>/../etc/harbour 4. <hbmkdir>/../etc 5. <hbmkdir> (NOTE: I've deleted /etc as etc/harbour seems superior and we already store a .def file there. I've also deleted /usr/local/etc) 2009-02-25 18:57 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtwvg/gtwvg.c * harbour/contrib/gtwvg/wvgcrt.prg * harbour/contrib/gtwvg/wvgwnd.prg ! More types of consoles. Mainly modal windows implementation. 2009-02-25 15:35 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/hbwin/wapi_winuser.c ! Commented out WAPI_GETSCROLLBARINFO(). 2009-02-25 23:44 UTC+0100 Viktor Szakats * bin/postinst.cmd * bin/postinst.bat * bin/postinst.sh - Removed creation of hb*.bat files. * contrib/make_b32_all.bat * contrib/make_gcc_all.sh * contrib/make_vc_all.bat * contrib/Makefile * Disabled hbwhat. * contrib/gtwvg/wvggui.c ! Fixed a few warnings. 2009-02-25 21:08 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/memvars.c + added support for reading FoxPro .mem files - Clipper compatibility ! fixed bug introduced in my recent modifications in .mem files writing ! fixed very old bug which disabled writing to .mem files strings longer then 32 KiB 2009-02-25 20:17 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/gtwvg/wvgwin.c ! added dirty hack for borland C compiler and #define NONAMELESSUNION in oledlg.h * harbour/config/linux/owatcom.cf ! added missing support for HB_USER_LDFLAGS 2009-02-25 09:25 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtwvg/wvgpaint.prg ! Removed THREAD STATIC implimentation hack introduced when behavior of THREAD STATIC was different. 2009-02-25 16:27 UTC+0100 Miguel Angel Marchuet <miguelangel@marchuet.net> * contrib/hbbmcdx/hbbmcdx.h ! updated to current rdd subsystem. 2009-02-25 15:25 UTC+0100 Viktor Szakats * config/win/msvcce.cf ! Typo corrected in prev modif after testing feedback. Thanks Jose. 2009-02-25 15:22 UTC+0100 Viktor Szakats * INSTALL ! Typo in prev. * config/darwin/install.cf * config/win/install.cf + Added same as Linux workaround to not let install phase fail because copy on install error. 2009-02-25 14:36 UTC+0100 Viktor Szakats * bin/postinst.sh ! Fixed hb_mkslib link generation. * contrib/gtwvg/wvgwin.c ! Fixed owatcom error. (removed Windows structure redefinition) * utils/hbmk2/hbmk2.prg * Some screen messages slightly refined. * doc/whatsnew.txt * Minor. * ChangeLog * Fixed dates. 2009-02-25 13:54 UTC+0100 Miguel Angel Marchuet <miguelangel@marchuet.net> * contrib/hbbmcdx/bmdbfcdx.c ! updated to current rdd subsystem. 2009-02-25 13:36 UTC+0100 Viktor Szakats * INSTALL + Added MinGW + msys specific entry. * bin/postinst.sh + Added generation of hbcc.bat, hbcmp.bat, hblnk.bat to be in complete feature sync with the non-msys method. NOTE: non-msys method isn't recommended. * make_gnu_os2.cmd + Added automatic HB_*_INSTALL setup based on HB_INSTALL_PREFIX to be in sync with the rest of Harbour. * make_gnu.bat ! Fixed forward slashed to backslashes. * Changed default compiler from mingw to msvc. 2009-02-25 11:37 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Refined autodetection of msvc to not be confused by watcom binary dir in the path. ! Refined autodetection of owatcom by also checking for WATCOM envvar. Thanks Petr Chornyj for the hint. % Removed hack to not prioritize MSVC compiler detection, so it's now handled just like the others. 2009-02-25 11:26 UTC+0100 Viktor Szakats + INSTALL + Installation docs kept simple. ; TODO: Add it to install packages. Test and extend as needed. [DONE] 2009-02-25 10:42 UTC+0100 Viktor Szakats * bin/postinst.bat + Added dos/windows (djgpp/mingw) autodetection. ! Cleaned help screen. (missed from previous entry) * Other minor cleanups and fixes on help screen. 2009-02-25 10:41 UTC+0100 Viktor Szakats * bin/postinst.cmd * bin/postinst.bat * bin/hb-func.sh + Added arch= and comp= variables to hbmk.cfg. I plan to use these for autoconfiguration. * make_gnu_os2.cmd * make_gnu.bat - Removed built in output redirection to make them in sync with the bash flavour. Users can easily redirect it themselves. * utils/hbmk2/hbmk2.prg + Formally added icc. * config/win/msvcce.cf ! Untested fixes for msvcce in GNU make. 2009-02-25 03:37 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) + harbour/config/linux/icc.cf * harbour/config/linux/gcc.cf * harbour/bin/hb-func.sh * harbour/bin/postinst.sh * harbour/source/common/hbver.c + added support for Intel(R) C/C++ compiler * harbour/bin/postinst.sh % use hb-mkdyn symlink instead of regenerating it as hb-mkslib It will work also in DOS/Windows (MSys/DJGPP emulates ln -s ...) * harbour/source/vm/thread.c * removed all references to HB_THREAD_EQUAL()/HB_THREAD_SELF() in non MT builds * harbour/source/rtl/console.c ! fixed default color setting in hb_dispOutAtBox() * harbour/contrib/gtwvg/wvggui.h * harbour/contrib/gtwvg/wvgwin.c * harbour/contrib/gtwvg/wincallb.c * harbour/contrib/gtwvg/wvgsink.c ! fixes for C++ compilation: - this is reserved word in C++ - do not use it as variable name - class is reserved word in C++ - do not use it as variable name - use macros to hide differences between C and C++ WinAPI - casting 2009-02-24 23:14 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fixed warning. 2009-02-24 22:52 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg * On *nix platform hbmk.cfg is now first checked for in /usr/local/etc, then in /etc and after that in hbmk2's dir. Please advise if there are other such global config dirs to check on different platforms. 2009-02-24 22:39 UTC+0100 Viktor Szakats * harbour-win-spec * harbour-wce-spec * harbour.spec * bin/hb-func.sh * utils/hbmk2/hbmk2.prg * hbmkcfg.hbp file renamed to the clearer: hbmk.cfg Same rules apply, the format is .hbp, which is also made clear on the hbmk2 help screen. hbmk2 and hbmk.cfg now effecticely replaces harbour.cfg, which can now be considered obsolete, along with the /go option. If someone knows some real-life tasks which can be done with /go+harbour.cfg, but cannot with hbmk2, please speak up. 2009-02-24 22:12 UTC+0100 Viktor Szakats * harbour-win-spec * harbour-wce-spec * harbour.spec + Added hb-mkslib compatiblity file to distros. 2009-02-24 21:35 UTC+0100 Viktor Szakats * include/hbapi.h * source/pp/hbpp.c * source/vm/cmdarg.c * source/main/harbour.c + Added hb_verHB_ARCH(), hb_verHB_COMP() to retrieve build time HB_ARCHITECTURE and HB_COMPILER settings. * include/hbver.ch * source/rtl/version.c + Added new hb_version() information: hb_version( HB_VERSION_BUILD_ARCH ) hb_version( HB_VERSION_BUILD_COMP ) * utils/hbmk2/hbmk2.prg + Using above hb_version() values to find out the exact build time architecture/compiler instead of guessing. 2009-02-24 18:49 UTC+0100 Viktor Szakats * source/vm/fm.c ! Fixed compilation error in dlmalloc with pocc64. * config/win/pocc64.cf * config/win/msvc64.cf * Cleanup. * config/win/gcc.cf ! Added gdi32 to system lib list. * config/win/mingw.cf * config/win/mingwce.cf * Minor sync with each other. % Two duplicated lines removed from mingwce. I hope these weren't intentional. --- AR = $(CCPREFIX)ar ARFLAGS = $(HB_USER_AFLAGS) --- 2009-02-24 17:19 UTC+0100 Viktor Szakats * config/win/msvcce.cf ! Fixed another cl.exe occurence to be compatible with older MSVC versions. 2009-02-24 17:07 UTC+0100 Viktor Szakats * bin/postinst.sh + Added 'hb-mkslib' creation for compatibility. NOTE: This name is deprecated and will be removed in next major release (1.2). Update your environment to use the name: 'hb_mkdyn'. 2009-02-24 16:54 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fixed last minute typo. 2009-02-24 15:07 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg * utils/hbmk2/Makefile * common.mak + Added -DHBMK_INTEGRATED_COMPILER compile time option to enable integrated Harbour compiler. Experimental, please test. This results is bigger executable (obviously) but may be more efficient on some platforms. % Using .exe extension for external commands on non-*nix. * Using slightly different format to echo commands on screen, they are now printed in a new line and they are not put between quotes. 2009-02-24 15:07 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added autodetection for pocc64. 2009-02-24 13:53 UTC+0100 Viktor Szakats * config/win/pocc64.cf % Optimized to use pocc.cf and modify that slightly for x64. 2009-02-24 13:49 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbsetup.h * minor modifications in macros * disabled some GCC function attributes when ICC is used * harbour/source/pp/ppcore.c * casting * harbour/source/vm/fm.c * destroy dlmalloc mspace in hb_xexit() when USE_DL_PREFIX is used otherwise call malloc_trim(0) to at least reduce allocated memory 2009-02-24 13:39 UTC+0100 Viktor Szakats * config/win/msvc.cf * config/win/msvc64.cf ! Fixes to previous. 2009-02-24 13:27 UTC+0100 Viktor Szakats * bin/hb-mkdyn.bat * make_gnu.bat * make_gnu.sh * utils/hbmk2/hbmk2.prg * config/win/msvc.cf + config/win/msvc64.cf + Added separate HB_COMPILER for msvc x64 mode. This allows to keep both the 32 and 64-bit builds built in parallel. NOTE: This is only supported with GNU Make. * utils/hbmk2/hbmk2.prg + Added autodetection of msvc64. + Added pocc64 and msvc64 support in self-detection code. * bin/hbmk.bat + Added -n to stay compatible with former hbmk.bat. 2009-02-24 10:20 UTC+0100 Viktor Szakats * ChangeLog * Updates. ! Correction made to entry: 2009-02-24 01:30 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg * Attempt to add .dll support for win/owatcom. ; FIXME: This happens: Warning! W1023: no starting address found, using 00401000 2009-02-24 02:13 UTC+0100 Viktor Szakats * bin/hb-mkdyn.bat + Added Open Watcom .dll building. ; Quickest and most clean case so far. 2009-02-24 01:30 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Tweaked to only include path in shared lib name on *nixes, if Harbour is installed on a system location. ! Forgot to add bin dir to lib path in shared mode in gcc/*nix. (correction: this wasn't needed, and wasn't finally committed) ! Fixed macro substitution order for {DB}. ! Tweaks for library name forming on gcc family. The applied rule is to prepend -l, delete lib prefix and extension, when the libname doesn't have a path in it, if it has, the libname will be passed as is (without -l, with lib prefix and extension). 2009-02-23 23:19 UTC+0100 Viktor Szakats * contrib/hbgd/gdwrp.c ! Added required Windows initialization for GD headers. This become an issue because I've recently removed windows system headers (which weren't needed for local code) from this file. 2009-02-23 22:29 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added -map support for owatcom on all platforms. 2009-02-23 22:17 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fixed bug in path normalization which stripped leading (root) path separator. Guy, could you please retest now? - bin/hb-mkdll.bat + bin/hb-mkdyn.bat * bin/postinst.bat * harbour-win-spec * harbour-wce-spec * harbour.spec * bin/postinst.sh * bin/hb-func.sh - bin/hb-mkslib.sh + bin/hb-mkdyn.sh * Synced the name of these tools with similar function, name also converted to 8.3. ; NOTE: lib/dll creation functionality (which is the difference now between .sh and .bat flavour) may once in the future be implemented in hbmk2. See existing TODO there. 2009-02-23 19:36 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg % Normalizing autodetected paths when system locations are used on *nix and always for win/dos/os2. ! Fix to MSVC resource handling. 2009-02-23 19:36 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/estack.c ; added TODO note for TSD handles recovery system to document dynamic (not static) TSD access as public API. Otherwise it's a risk to give such interface for 3rd party code developers due to potential resource leak. * harbour/contrib/hbct/ctwin.c + added support for thread local current window pointer in CT Windows. Warning: each new thread uses window 0 as default. * harbour/contrib/hbct/files.c + added MT support FILESEEK(), FILEATTR(), FILESIZE(), FILEDATE(). Warning: now each thread operates on it's own directory handle. The directory handle is open until is not scanned to the end by subsequent calls to FILESEEK() without parameters or by explicit call with NIL or empty string "" as file name, e.g.: FILESEEK( NIL ). Such method of closing directory handle is compatible with original CT3 behavior. 2009-02-23 19:40 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added support for resources on Windows platform. mingw, owatcom, msvc, bcc32 are supported. mingw and owatcom support single resources only. * config/rules.cf + Added owatcom .err files to the clean list. Maybe there is more appropriate place to put this. Please correct it. 2009-02-23 09:04 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtwvg/wvgwin.c + #define NONAMELESSUNION It may fix OW' few warnings. Please test. 2009-02-23 16:40 UTC+0100 Viktor Szakats * bin/hb-mkdll.bat - Removed no longer relevant NOTE. BCC tlib can actually handle dots in pathname if put between quotes, which is how it is. * contrib/gtwvg/gtwvg.h * contrib/gtwvg/wvggui.h ! Applied former owatcom fix to GTWVG, too. ! Applied more casting fixes shown by owatcom 1.8. ; Remaining errors and warnings posted on the list. 2009-02-23 15:14 UTC+0100 Viktor Szakats * bin/postinst.bat ! Protected command from pre-NT systems. * harbour-win-spec * harbour-wce-spec * harbour.spec + hbmkcfg.hbp added to distros (I hope to all of them). * ChangeLog * Updated statuses of a few pending items. 2009-02-23 14:51 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fixed bug which made gtwvt the default GT for mingw. ! Fixed to create final exe in current dir if no output filename was specified and the first input file contained a path. * Changed to use version-less harbour shared lib names on *nixes. ! Fixed to pass full path with harbour.so to gcc. (even when Harbour isn't run from a system location) ! Fixed compilation/linking/cleanup if an input file wasn't in current dir. * Temp stub file is now created in system default temp dir, instead of the current one. + Harbour shared lib path is normalized when Harbour is found on system locations. (so '*/bin/../lib/' becomes '*/lib') * Better I hope handling of .so/.dylib/.sl/.dll files passed on the command line. * bin/hb-mkdll.bat ! Fixed typo in Borland MT .dll name. ! Fixed to not include maindll.obj, maindllp.obj in Borland .dlls. * Minor formatting and cleanup on internal names. + Added checking for source lib existence, showing message if not found. + Better user feedback. * bin/postinst.bat + Added running hb_mkdll.bat at the end of the build process. For now users have to use 'set HB_DLL=yes' to enable this features. It's experimental yet, see previous comments. * source/vm/Makefile + Now generating hbmainstd and hbmainwin for remaining (non-mingw and non-mingwce) compilers. MSVC and BCC need this for -shared linkage, I'm not sure about the rest, anyhow we can disable it for other compilers if it isn't needed in future. * bin/hb-func.sh % Refined hbmkcfg.hbp setup to better detect conditions. * contrib/hbcurl/hbcurl.c ! Pacified this only one new gcc 4.3.3 warning. * config/win/gcc.cf * config/win/mingw.cf + Added -mtune=pentiumpro gcc optimization. 2009-02-22 19:32 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtwvg/wvgwin.c * harbour/contrib/gtwvg/wvg3stat.prg * harbour/contrib/gtwvg/wvgcheck.prg * harbour/contrib/gtwvg/wvgcombo.prg * harbour/contrib/gtwvg/wvgdarea.prg * harbour/contrib/gtwvg/wvglistb.prg * harbour/contrib/gtwvg/wvgmle.prg * harbour/contrib/gtwvg/wvgpushb.prg * harbour/contrib/gtwvg/wvgradio.prg * harbour/contrib/gtwvg/wvgscrlb.prg * harbour/contrib/gtwvg/wvgsle.prg * harbour/contrib/gtwvg/wvgstatb.prg * harbour/contrib/gtwvg/wvgstatc.prg * harbour/contrib/gtwvg/wvgtoolb.prg * harbour/contrib/gtwvg/wvgtreev.prg * harbour/contrib/gtwvg/wvgwnd.prg ! Code cleanup. ! Implemented generic callback functionality taking use of SetProp()/GetProp() functions of WINAPI. It effectively eliminates the use of AsCallBack() function which has been discussed as non-scalable in multi-processor architect. ; TODO: To use hb_gcAlloc() mechanism to hold the codeblock. Please review wvgwnd():SetWindowProcCallback() and wvgwin:WVG_SetWindowProcBlock( ::hWnd, bBlock ). I did try but could not resolve it properly. 2009-02-22 22:39 UTC+0100 Viktor Szakats * make_vc.mak ! Added workaround for WinCE mode. * config/win/msvcce.cf ! Fixed cl name when building with older MSVC version. 2009-02-22 21:52 UTC+0100 Viktor Szakats * bin/hb-mkdll.bat + Added Borland C/C++ .dll building. It has the same requirements as MSVC. NOTE: Due to tlib bug, it won't work if the HB_LIB_INSTALL path contains '.' chars. I can add a workaround, but at the cost of speed. 2009-02-22 21:04 UTC+0100 Viktor Szakats * bin/hb-func.sh * utils/hbmk2/hbmk2.prg + Previous workaround changed to generic solution, keeping all Harbour lib specific external lib knowledge inside hbmk2. Guy, if you can please retest. * bin/hb-mkdll.bat * Minor in comment. 2009-02-22 19:34 UTC+0100 Viktor Szakats * bin/postinst.sh % Deleted part generating hbfm/hbfmmt libs. Now this is done my GNU make. 2009-02-22 18:33 UTC+0100 Viktor Szakats * bin/hb-func.sh ! Fixed stupid typos after testing on Linux. * contrib/examples/terminal/terminal.hbp * contrib/examples/terminal/trm_appn.hbm * Minor change. 2009-02-22 18:00 UTC+0100 Viktor Szakats * contrib/hbbtree/tests/test.hbm * contrib/examples/guestbk/guestbk.hbm * contrib/examples/pe/pe.hbm * contrib/examples/terminal/trm_appn.hbm * contrib/examples/hscript/hscript.hbm * utils/hbdoc/hbdoc.hbm + utils/hbmk2/hbmk2.hbm + Added -n switch to .hbm files. * contrib/examples/uhttpd/hbmk.bat + contrib/examples/uhttpd/uhttpd.hbm + Moved most make params to new .hbm file. 2009-02-22 17:49 UTC+0100 Viktor Szakats * config/lib.cf * config/bin.cf + Added -n to Harbour flags to bin.cf. + Added -n1 to Harbour flags to lib.cf. ; FIXME: The former works, the latter doesn't. Could someone please help why is this happening? [DONE] * utils/hbmk2/hbmk2.prg - Removed -n from default Harbour switches. ; TODO: Add prgflags=-n to all .hbp files. [NOT NEEDED ANYMORE] ; TODO: Add -n to all .hbm files. [DONE] ; TODO: Add .hbp file to dirs where there are .prgs needing -n flag. [NOT NEEDED ANYMORE] + bin/hb-mkdll.bat + Added .dll creation for GNU-make. Not yet enabled, only MSVC supported, and by the nature of the wonderful world of Microsoft, whole Harbour needs to be compiled with HB_USER_CFLAGS=-DHB_DYNLIB to make this work. -DHB_DYNLIB has some drawbacks though: export table will be generated for all executables made from these .libs, .exp/.lib will also be generated for all executables. ; TODO: Solve to compile Harbour lib .prgs using -n1 switch. (needed for .dll, and this one has only befenefits for other scenarios) [DONE] ; TODO: Add hb-mkdll.bat to postinst.bat. [DONE] ; TODO: Add BCC support, if possible. [DONE] ; TODO: Rename hb-mkslib.sh to 8.3 name and sync name with the .bat version (not necessarily mkdll, but something short.) [DONE] * bin/hb-func.sh ! Added system libs for optional components included in the harbour dynlib. I plan to make some more changes here, but this should fix missing system libs with shared option enabled in hbmk2. * contrib/examples/dbu/dbu.hbm * contrib/examples/rl/rl.hbm + Added -n. * utils/hbdoc/Makefile * utils/hbmk2/Makefile * utils/hbtest/Makefile * utils/hbi18n/Makefile * utils/hbrun/Makefile - Removed explicit -gc0 -n override. Should now be set automatically for all binaries. 2009-02-22 14:59 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/gtxwc/gtxwc.c + added support for HB_GTI_CLOSABLE and HB_GTI_RESIZABLE. 2009-02-22 13:06 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/gtxwc/gtxwc.c ! fixed typo which caused GPF when palette was set before console window initialization * harbour/source/rtl/gttrm/gttrm.c * reset console color palette to default on application exist 2009-02-22 00:51 UTC+0100 Viktor Szakats * contrib/gtwvg/wvgtoolb.prg ! Enabled disabling debug calls (requiring xhb) in non-debug mode. * contrib/gtwvg/tests/gtwvg.hbp - Removed xhb lib. + Added mt=yes line. * source/vm/extrap.c ! Extended line buffer used for module listing. 64 bytes just isn't enough in 64-bit mode. 2009-02-22 00:17 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fix to -mwindow/-mconsole switch handling for MinGW. 2009-02-21 22:11 UTC+0100 Viktor Szakats + contrib/examples/dbu/dbu.hbm - contrib/examples/dbu/hbmk.bat * contrib/examples/dbu/readme.txt + contrib/examples/rl/rl.hbm - contrib/examples/rl/hbmk.bat * contrib/examples/rl/readme.txt + Replace Win/DOS specific batch files with hbmk make file, so now all platforms are equally supported. - contrib/examples/dbu/hb_dbu.dif + contrib/examples/dbu/dbu.dif * Renamed. 2009-02-21 13:00 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtwvg/wvgsink.c * harbour/contrib/gtwvg/wvgutils.c * harbour/contrib/gtwvg/wvgwin.c ! Pacified more warnings on 64-bit. 2009-02-21 19:31 UTC+0100 Viktor Szakats * bin/hb-func.sh * harbour.spec * mpkg_tgz.sh % Removed -O3 user gcc switch. It's the default in all gcc family .cf files. 2009-02-21 18:44 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fixed forming Harbour installed paths when alternate *nix dir layout is detected. Thanks to Guy also. Please retest. 2009-02-21 18:36 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fixed recent typo in shared names for *nix systems. Thanks Guy. 2009-02-21 09:28 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtwvg/wincallb.c ! Pacified warnings on 64-bit. 2009-02-21 09:01 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtwvg/wvgwin.c ! Pacified warnings on 64-bit. 2009-02-21 07:28 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtwvg/wvgsink.c ! Pacified warnings on 64-bit. 2009-02-21 07:28 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtwvg/gtwvg.c * harbour/contrib/gtwvg/wvggui.c ! Pacified warnings on 64-bit. 2009-02-21 07:15 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtwvg/wvgwin.c * harbour/contrib/gtwvg/wvgdarea.prg ! WIN_FillRect() => WVG_FillRect() Namespace lashed with hbwin/win_prn1.c. 2009-02-21 15:03 UTC+0100 Viktor Szakats + source/vm/fm + source/vm/fm/Makefile + source/vm/fmmt + source/vm/fmmt/Makefile * source/vm/Makefile + Added hbfm, hbfmmt lib generation which works for all compilers, not just gcc family. ; Please review. ; FIXME: For some reason the locally added C flags appear twice. Couldn't find out why. 2009-02-21 14:03 UTC+0100 Viktor Szakats * bin/hb-func.sh * utils/hbmk2/hbmk2.prg ! Some three bad typos in recent commit. ! Fixed the way build-default GT is supplied via hbmkcfg file. (via gtdef= line) ! Fixed to fill gtdef= line only if GT was overridden at build time. Previously it was filled with gtstd, which is wrong. ! Temporarily disabled automatic entry point detection, as it needs more complicated management because there needs to be a second C compiler pass. We should try to use some other means to implement this feature IMO. 2009-02-21 13:55 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fix to prev. 2009-02-21 13:37 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added internal function to check for linked GTs, so that platform/compiler code can act accordingly. + Added required system libs and paths for gtsln, gtcrs and gtxwc. So now it's 100% hbmk script compatible. This effectively added support for gtsln and gtcrs (for *nix only). ncur194 support is missing though, plus maybe some build-time modifier switches aren't honored (the WITHOUT* ones, but I'm not positive that all of them have to be handled on hbmk2 level). Probably some clever autodetection can be used on hbmk2 level for such cases. ! Fixed to not be case-sensitive when dealing with GT names. + Added NOTE about 3rd party/contrib stuff handling. * Minor formatting. ; NOTE: What remains is cross compilation support, which is a new topic. -n support tweak, if needed. And testing, adding missing compilers, fixing existing ones if needed, syncing with build-time switches, clean Win32 system libs. * contrib/gtwvg/tests/gtwvg.hbp + Readded gui=yes to better separate compontents. * ChangeLog * Entry marked done. 2009-02-21 11:13 UTC+0100 Viktor Szakats * contrib/gtwvg/tests/gtwvg.hbp * Moved gtwvg from libs= to gt=. gui=yes no longer needed. * Added xhb, Windows libs. 2009-02-21 10:57 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg - Removed HBMK_NO_GTCGI macro. * Cleanups and fixes to GT list handling after recent changes. * Minor rearrangement on help screen. 2009-02-21 10:02 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Debug line removed. 2009-02-21 09:52 UTC+0100 Viktor Szakats * contrib/gtwvg/wvgtoolb.prg ! Fixed unused variable. 2009-02-21 09:33 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added automatic selection of GUI/non-GNU modes for core GTs. This can be overridden by user by putting -gui (and related switches) _after_ -gt switch. In normal cases this isn't necessary. + Invalid GT names are ignored, instead of creating compile error in the stub. + GTs and FM are now requested from C stub just like they are in hbmk script. This makes it possible to override GT even for apps that already uses an official method to choose a GT. hbmk2 uses function call also to set GT. - Removed .prg stub. ! Fixed recent potential RTE when using darwin. 2009-02-21 00:15 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtwvg/gtwvg.c * harbour/contrib/gtwvg/wvggui.c * harbour/contrib/gtwvg/wvgsink.c * harbour/contrib/gtwvg/wvgwin.c * harbour/contrib/gtwvg/wvgutils.c * harbour/contrib/gtwvg/wvgtoolb.prg * harbour/contrib/gtwvg/wvgwnd.prg * harbour/contrib/gtwvg/wvgparts.ch * harbour/contrib/gtwvg/wvtwin.ch * harbour/contrib/hbwin/hbwapi.h * harbour/contrib/hbwin/wapi_commctrl.c * harbour/contrib/hbwin/wapi_winbase.c * harbour/contrib/hbwin/wapi_winuser.c ! Mostly warning fixes for 64-bit. ; Viktor, review me and plese send list of warnings left after this. 2009-02-21 08:44 UTC+0100 Viktor Szakats * source/vm/hvm.c + Added hb_vmSetLinkedMain() function to replace direct access to exported variable hb_vm_pszLinkedMain. (it's not a public call and caller should always pass a string literal). * hb_vm_pszLinkedMain -> s_vm_pszLinkedMain and made static. * utils/hbmk2/hbmk2.prg ! Not adding 'dllimport' for externs in C stub when MSVC is used, to avoid compiler warning mentioned in previous entry. * utils/hbmk2/hbmk2.prg * bin/hb-func.sh * Updated for above change. ; TODO: Convert GT defaulting to function call too. [DONE] 2009-02-21 08:15 UTC+0100 Viktor Szakats * contrib/hbfimage/fi_wrp.c ! Added hack to trick around FreeImage.h header not to #include <inttypes.h> on Borland compilers. Maybe newer than 5.8.2 versions have it, so this can be made BCC version dependend. 2009-02-21 08:05 UTC+0100 Viktor Szakats * include/hbdefs.h + Added similar to HB_DONT_DEFINE_BOOL hack: HB_DONT_DEFINE_LONG. (needed until we clear up our types.) * contrib/hbfimage/fi_winfu.c * contrib/hbfimage/fi_wrp.c * contrib/hbfimage/Makefile * doc/whatsnew.txt % Deleted #includes/macro checks not necessary. ! Disabled body of fi_winfu.c when not compiled under Windows. This fixes one Linux compilation error. % Replaced HB_OS_WIN_USED with HB_DONT_DEFINE_BOOL and HB_DONT_DEFINE_LONG, moved foreign headers before Harbour headers, added non-Harbour Windows detection in fi_wrp.c (I'm not sure that is necessary), so that it now compiles on both Windows and non-Windows (Linux tested) systems. + Renabled on Linux in Makefile. ; Please review/test these changes. 2009-02-20 17:23 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtwvg/wvgsink.c ! Fixes as per Przemek's observations. ;TOREVIEW : return( ( ULONG ) ( ( MyRealIEventHandler * ) this )->count < 0 ? ( ( MyRealIEventHandler * ) this )->count : 0 ); Actually I was having some problem with some old active-x and was trying to fix that, that is why, now I do not remeber... 2009-02-21 01:49 UTC+0100 Viktor Szakats * contrib/hbgd/gdwrp.c % Deleted #includes not necessary. 2009-02-21 01:11 UTC+0100 Viktor Szakats * source/compiler/hbusage.c ! Fixed to not show -n option as '(default)' on help screen. -n isn't the default in Harbour, nor in Clipper. Please review me. * utils/hbmk2/hbmk2.prg + Added -main=<id> option to override starting function/procedure name. Using the method from hbmk script, but made portable to all compilers. Can we add somewhat more official method to set this up? Preferably .prg level, but even a function call seems better, as with current method, MSVC complains with this warning: "hbsc_2nwvzg.obj : warning LNK4217: locally defined symbol \ _hb_vm_pszLinkedMain imported in function __hb_hbmk_setdef_" [FIXED] + Added code to only accept valid Harbour identifier as -main= value. + Added first module detection. + Enabled code to automatically find entry function in first module and make it the app entry point. This is very serious hack dealing with lots of internals. * source/compiler/cmdcheck.c * Typo in comment. 2009-02-20 22:41 UTC+0100 Viktor Szakats * contrib/hbgd/gdwrp.c ! Fixed double implementation of GDIMAGEELLIPSE(). The so far inactive .c version got enabled by recently making lib version detection automatic, which made it collide with the existing .prg implementation. Left the .prg one active because it works regardless of the lib gd version. Francesco, please verify me. - Deleted disabled, probably older copy of GDIMAGEELLIPSE() from .c source. * utils/hbmk2/hbmk2.prg * Help screen update. 2009-02-20 19:03 UTC+0100 Viktor Szakats * bin/hb-func.sh ! Fixed gtalleg lib name. % Removed explicit harbour -gc0 option. This is now the default. * utils/hbmk2/hbmk2.prg + Added fmstat/nofmstat support. ! Minor fix to allow more freedom in formatting inside .hbp files. ! Fixed to delete prg stub file when using -hbcc option. + Added Copyright section for Przemek for the ideas I've borrowed from hbmk script and contributed code. + Detect platform default GT and only create stub if the user selected GT is different. + Now using versions shared libs on *nixes. + Mode detection now regards the ending or the beginning of the original name, so prefixed or postfixed names will also be recognized: xhbcmp, hbcmpx, myhbcmp. ! Fixed to multiple -gt options override each other so the last one will be effective. ! Fixed error message text when stub cannot be created. Furthermore in this case hbmk will now quit. + Also using '-Wl,--start-group' for bsd (from hbmk script). + Added '-bind_at_load', '-multiply_defined suppress' gcc options for darwin shared mode (from hbmk script). * Changed stub name to hbstub (from hbmkgt). * pthread lib handling streamlined based on hbmk script, but this probably needs further cleaning as the script isn't clear to me here. + Added fmstat/nofmstat switch. It most probably needs some tweaking, as the conditions seem rather sophisticated here. TODO: For non-*nix/non-gcc platforms (msvc/bcc32/owatcom most importantly). + Added system libs for darwin if gtcrs or gtsln are selected. (nslang isn't a default lib here, so it won't work on plain installations, slang however will). + Missed from previous commit: Fix so that -nohbp doesn't prevent processing the global config .hbp file. ! Fixed typo in prev commit. * utils/hbmk2/examples/contrib.hbp - Removed hbtip as it's not fully portable (dos). + utils/hbmk2/examples/contribf.hbp + Added complete database of contrib, with availability information. * contrib/xhb/Makefile * contrib/hbmsql/Makefile * contrib/hbmzip/Makefile * contrib/hbziparc/Makefile * contrib/hbnf/Makefile * contrib/hbmisc/Makefile * contrib/hbvpdf/Makefile * Formatting. 2009-02-20 18:36 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/gtxwc/gtxwc.c * harbour/source/rtl/gttrm/gttrm.c * reverted the RGB numeric color definition to be compatible with Windows GTs which seems to use RGB values directly. Users who use to define RGB colors in hex notation (0xRRGGBB) should now remember that it's BGR definition (0xBBGGRR). Why MS have to make everything in reverted way? 2009-02-20 15:47 UTC+0100 Viktor Szakats * bin/hb-func.sh ! Two typos. - Disabled slang/ncurses lib stuff. * utils/hbmk2/hbmk2.prg ! Fixed to put a space after -o gcc option for darwin. ; This makes hbmk2 work under darwin (for basic cases). 2009-02-20 15:30 UTC+0100 Viktor Szakats * Makefile * bin/postinst.bat + bin/postinst.cmd + Added postinst for OS/2. * utils/hbmk2/hbmk2.prg * Minor in comment. 2009-02-20 15:13 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg * Removed -q0 default Harbour option. * Turned off informational messages. (turn it on with -info) * Help screen made shorter. + Added -help option to show the full help. * Showing no logo for normal operation. 2009-02-20 14:57 UTC+0100 Viktor Szakats * bin/hb-func.sh + Added gpm lib to config file when mouse is enabled at build time. * utils/hbmk2/hbmk2.prg ! Fixed not to use '$' sign in generated temp filename. ! Fixed recent typo causing RTE in *nix. ; After these changes linux/gcc works out of the box, but it still needs tweaking (X11, other libs). 2009-02-20 13:43 UTC+0100 Viktor Szakats * source/common/hbver.c ! Fixed hb_verPlatform() to avoid confusion for other parts of Harbour (and maybe even app code) parsing the returned string and expecting some format. NOTE added about this to source to avoid similar errors in future. The Wine text got moved between the Windows name and version number, and have been put into parenthesis: Like: 'Windows XP SP3 (Wine) 5.1'. Please test. 2009-02-20 13:08 UTC+0100 Viktor Szakats * bin/hb-func.sh + Added generation of hbmkcfg.hbp. gt override, cflags, ldflags and slang/curses libs are currently added. ; TODO: Add this file to distro packages. [DONE] * utils/hbmk2/hbmk2.prg ! Fixed handling of -DHB_EXT_ZLIB. ! Fixed handling of -DHB_PCRE_REGEX. + Added support for -DHB_POSIX_REGEX. ! Removed -mconsole from *nix gccs too. + Added new Linux targets mingw and mingwce for future cross compiling support. + Added remaining system libs for linux, sunos and hpux. + Added a more complete set of win system libs for mingw. TODO: Some more generic solution needs to be developed because currently the win systems libs added by our tools are pretty much random across the different supported compilers. + Added system lib list for mingwce. + Path separator translation for mingwce. 2009-02-20 13:18 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/classes.c * cleanup comment * harbour/source/rtl/gttrm/gttrm.c + added support for HB_GTI_PALETTE - it's supported only by Linux console and PuTTY/PTerm * harbour/source/rtl/gtxwc/gtxwc.c * harbour/source/rtl/gtwvt/gtwvt.c * harbour/contrib/gtwvg/gtwvg.c ! fixed indexes in hb_gtInfo( HB_GTI_PALLETE, <nIndex> [, <nNewRGBcolor> ] ) They should be the same as in our screen buffer: 0-based not one based. 2009-02-20 11:03 UTC+0100 Viktor Szakats * bin/postinst.sh ! Fix to prev HB_USR_LIBTOOL should be HB_USER_LIBTOOL to be consistent. * bin/hb-func.sh * HB_USR_LIBS -> HB_USER_LIBS to be in sync with rest of Harbour. 2009-02-20 10:58 UTC+0100 Viktor Szakats * bin/postinst.sh ! Fixed s&r error (LIBTOOHB_USR_LDFLAGS). * Renamed LIBTOOL_USR to HB_USR_LIBTOOL. 2009-02-20 10:32 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg ! Fixed build compiler detection when GNU C++ was used on Linux. * contrib/hbwin/win_dll.c % Removed unncessary (potential build-breaker) #define _WIN32_WINNT. * contrib/hbwhat/whtdate.c * contrib/hbwhat/whtini.c * contrib/hbwhat/wincorec.c * contrib/hbwhat/whticon.c * contrib/hbwhat/whtcret.c * contrib/hbwhat/whtsock.c * contrib/hbwhat/whthead.c * contrib/hbwhat/whtseria.c * contrib/hbwhat/whtilst.c * contrib/hbwhat/whtreg.c * contrib/hbwhat/whtmem.c * contrib/hbwhat/whtclpb.c * contrib/hbwhat/whtmous.c * contrib/hbwhat/whtrgn.c * contrib/hbwhat/whtmeta.c * contrib/hbwhat/whttbar.c * contrib/hbwhat/whtrect.c * contrib/hbwhat/whtbrsh.c * contrib/hbwhat/whtgdi.c * contrib/hbwhat/whtscrlb.c * contrib/hbwhat/whtdlg.c * contrib/hbwhat/whtview.c * contrib/hbwhat/whtsys.c * contrib/hbwhat/whtlv.c * contrib/hbwhat/whtmisc.c * contrib/hbwhat/whtcomm.c * contrib/hbwhat/whtmmcap.c * contrib/hbwhat/whtprn.c * contrib/hbwhat/whtinet.c * contrib/hbwhat/whttab.c * contrib/hbwhat/whtfont.c * contrib/hbwhat/whtshell.c * contrib/hbwhat/whtcdlg.c * contrib/hbwhat/whtbmp.c * contrib/hbwhat/whtdir.c * contrib/hbwhat/whtpen.c * contrib/hbwhat/whtkbrd.c * contrib/hbwhat/whttext.c * contrib/hbwhat/whtmsg.c * contrib/hbwhat/whtdc.c * contrib/hbwhat/whtdraw.c * contrib/hbwhat/whtmenu.c ! Added #undef _WIN32_* where needed. This should fix compilation problems if these macros were already #defined by user. It's better however to honor the host setting. This fixed a pending FIXME. 2009-02-20 09:44 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added support for build level (or system-level if that's needed in the future) configuration file for hbmk. Currently it will automatically pick the file named hbmkcfg.hbp from the dir where hbmk is located. This file can be used to store build settings so that they can later be used by hbmk, automatically. IOW this is the communication medium between the build process and hbmk. We can store here the selected GT, extra libraries, PRG flags, C flags, linker flags, while keeping hbmk executable free from such burnt-in information. For this to work, the build process needs to generate hbmkcfg.hbp with appropriate content, and this file needs to be added to standard distribution packages. The format is normal .hbp, described on the hbmk help screen. 2009-02-20 09:26 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added CCPATH + CCPREFIX support for *nix/gcc|gpp. + Reworked *nix alternative dir layout detection to be generic. + Generating '-Wl,-mwindows', '-Wl,-mconsole' options for gcc, mingw (no -mconsole for mingw). Please review. ! Added missing gdi32 system lib for mingw when GTWVT is used. ! Added -shared support for mingw. + Added Przemek's code to detect entry function on gcc|gpp|mingw. Code not used yet. + Added HBMK_NO_GTCGI macro to disable automatic GTCGI selection for hbmk executable. 2009-02-20 04:15 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbgtinfo.ch + added HB_GTI_FONTSEL * harbour/source/rtl/gtxwc/gtxwc.c + added support for HB_GTI_FONTSEL + added support for HB_GTI_PALETTE + harbour/tests/gtxfnt.prg + added small demonstration/test code for HB_GTI_FONTSEL and XWindow GTs * harbour/source/rtl/hbproces.c * replaced execv() with execvp() in *nix builds 2009-02-19 16:50 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/source/rtl/gtwvt/gtwvt.c * Fixed not to generate RTE if class is already been registered. Useful in cases where multiple windows are implemented. 2009-02-20 00:44 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + Added autodetection of compiler based on build data on linux. + Added '-comp:bld' option to force autodetection based on build data for all other platforms. This way the compiler will be set to the same one as was used to build hbmk2 executable. + Added support to specify object output name using the -o option in conjunction with the -hbcmp parameter. Single and multiple input (c. and .prg->.c) files are also supported, but that's compiler dependent, currently gcc/pocc/msvc/bcc32 supports single file and also msvc/bcc32 support multiple files. * os2/icc libprefix reset and TODO added. + Added some cross-platform related markups (comments). ! Fixed not stripping 'lib' from libnames for linux/gpp. 2009-02-19 12:42 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtwvg/wvgwin.c + More functions. * harbour/contrib/gtwvg/wvgdatar.prg * harbour/contrib/gtwvg/wvgscrlb.prg * harbour/contrib/gtwvg/wvgwnd.prg ! WvgScrollBar() class now works in toto as per Xbase++ documentation. ; TODO: Implementation of WvgScrollBar() in demowvg.prg. 2009-02-19 20:44 UTC+0100 Viktor Szakats * utils/Makefile ! Fixed broken GNU Make after recent directory rename. * utils/hbmk/hbmk2.prg * -q switch changed to -quiet to not collide with harbour option of the same name. + Following C flags will automatically be inheried to *nix/gcc|gpp compilers regardless of -bldf flag: -mlp64, -mlp32, -m64, -m32, -fPIC, -fpic + Following C flags will be automatically processed and relevent system libs added: -DHB_PCRE_REGEX - pcre -DHB_EXT_ZLIB - z -DHAVE_GPM_H - gpm ! Stripping 'lib' prefix from lib names for gcc-family compilers. ! Stripping extension from lib names for gcc-family compilers. ; Please review. * contrib/examples/uhttpd/hbmk.bat * .lib extensions removed from HB_USER_LIBS. 2009-02-19 20:13 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/thread.c * pacified warning 2009-02-19 12:59 UTC-0600 Teo Fonrouge (teo/at/windtelsoft/dot/com) * common.mak * changed HBMK_DIR from "utils\hbmk" to "utils\hbmk2" - utils/hbmk + utils/hbmk2 * renamed dir name to fix wrong dir change on gnu scripts: mpkg_tgz.sh and the harbour.spec ! Fixed dir name error that avoided to build rpms and tgz files. 2009-02-19 16:44 UTC+0100 Viktor Szakats * utils/hbmk/hbmk2.prg + Added object archive support for (currently) gcc compilers. .a file are gathered like .o files, and they can be added to the internal command line templates using the {OA} macro. I've added these after {O} macros in gcc command-lines. (Przemek's request #9. Please review.) * Minor internal change to system location detection. * harbour-win-spec * harbour-wce-spec * harbour.spec * mpkg_tgz.sh % Removed -r make flags. No longer needed. 2009-02-19 15:37 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/thread.c ! fixed yest another stupid typo in new OS2 conditional variable code 2009-02-19 15:18 UTC+0100 Viktor Szakats * utils/hbmk/hbmk2.prg + Added new flags to replace -bldflags[-]: -bldf[-] and -bldf=[p][c][l]. We can pass any combinations to the latter. '-bldf=' is the same as '-bldf-'. + Added hbcplr to liblists (both static and shared). + Added infrastructure to allow for any kind of logic to detect compilers (not just PATH search for .exe). We should however very carefully use such methods to keep detection precize, predictable. For now I'd like to hear about misdetections using current system. 2009-02-19 14:18 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/thread.c ! fixed very stupid and also vary bad typo in my last OS2 modification. 2009-02-19 13:14 UTC+0100 Viktor Szakats * utils/hbmk/hbmk2.prg + Added new TODOs. + Now using GTCGI as the GT. + Added -info option to enable informational output. (currently this is the default for testing period) + Added -arch=<arch> command line option. Same as HB_ARCHITECTURE. Added -comp=<comp> command line option. Same as HB_COMPILER. envvars are kept for compatibility. + Added -hblnk option to give place for hblnk script behaviour emulation. * Changed -cc, -cmp options to -hbcc, -hbcmp respecitvely. + Changed -hbcc, -hbcmp, -hblnk switches to turn off information output and turn on quiet mode by default. + Added autodetection of architecture when unique to architecture compiler is choosen manually. IOW, when -comp=msvc|mingw|pocc|dmc|xcc is passed the architecture will be set to win automatically. When -comp=djgpp is used, dos will be selected. ! Fixed ordering of compiler autodetection because e.g. owatcom bin dir holds a 'cl.exe', which made hbmk2 falsely detect msvc. + Added trick which I'm not sure I like, and may cause problems and seemingly unpredictable behaviour, but could also help in some environments where multiple compilers are setup in parallel (this isn't a recommended scenario for various other reasons, so maybe we shouldn't support it further). So from now on the compiler autodetection will first look for the compiler used to build hbmk2.exe, and check for the rest afterwards. This feature is turned off for msvc builds of hbmk2.exe because it breaks owatcom autodetection. + Added possibility to pass a plain dir by using -odir[\|/] switch. The final name will be determined by first input file name, if this one also has a dir, -o option will be ignored. Added logic to handle separator differences, this wasn't tested to a great deal. + Added -Wl,--start-group support for linux/gcc|gpp, win/mingw, dos/djgpp. ! Fixed owatcom support to setup library paths. ! Fixed linux/owatcom to use link script. * Some adjustments to win/owatcom C compiler settings. I guess the ones in .cf should also need a cleanup. * Few minor indentation problems fixed. ! C compiler and linker scripts now got an extension in the generated temp filename to make some of them happy (owatcom in this case). .cpl is used for compiler scripts, .lnk for linker ones. + Compiler autodetection now also looks in hbmk2 executable dir before looking into the PATH. ! Link script content was wrong due to typo. ! Fixed problem with library paths being wrong (doubly decorated) in the link command. This may also fix some problems with double extensions and final .c file cleanup. ! Fixed to add hbdebug lib when building in shared mode. ! Fixed typo in automatically adding './' on *nix systems. ; Please test, I definitely couldn't retest all scenarios after all these changes. * bin/postinst.bat * Adapted change in mode modifier switches, also added new -hblnk one. * utils/hbmk/examples/winapi.hbp + Added mapi32. + utils/hbmk/examples/contrib.hbp + Added .hbp file for popular and portable only contribs. * config/win/owatcom.cf - Removed unnecessary system libs. * contrib/hbvpdf/hbvpdft.prg * hbwhat32 -> hbwhat in comment. * contrib/hbwin/wapi_commctrl.c * contrib/hbwin/wapi_winuser.c ! Fixed harbour-project page link in header. * contrib/hbwin/hbwapi.h * Formatting (indenting the whole file content inside self-guard isn't necessary.) 2009-02-19 12:49 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/thread.c ! fixed the typo in order of sending signals in _hb_thread_cond_signal() _hb_thread_cond_broadcast() for OS2. By mistake it was LIFO instead of FIFO. 2009-02-18 17:05 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtwvg/wvgscrlb.prg * Disabled structure support for time being as build process is unable to locate cstruct.c, etc. headers. Viktor? 2009-02-19 01:40 UTC+0100 Viktor Szakats + contrib/gtalleg/tests/gtallegs.hbp - contrib/gtalleg/tests/gtalleg-shared.hbp + contrib/gtalleg/tests/gtallegd.hbp - contrib/gtalleg/tests/gtalleg-static.hbp * Converted to short filenames. * utils/hbmk/hbmk2.prg ! Typos in prev. commit. 2009-02-18 16:25 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtwvg/Makefile * harbour/contrib/gtwvg/common.mak + Added wvgscrlb.prg. + harbour/contrib/gtwvg/wvgscrlb.prg + Implemented WvgScrollBar() class ( work-in-progress ). * harbour/contrib/gtwvg/gtwvg.c * harbour/contrib/gtwvg/gtwvg.h * harbour/contrib/gtwvg/hbgtwvg.ch * harbour/contrib/gtwvg/wvgcrt.prg * harbour/contrib/gtwvg/wvgdarea.prg * harbour/contrib/gtwvg/wvgdatar.prg * harbour/contrib/gtwvg/wvgdlg.prg * harbour/contrib/gtwvg/wvggui.c * harbour/contrib/gtwvg/wvggui.h * harbour/contrib/gtwvg/wvgparts.ch * harbour/contrib/gtwvg/wvgphdlr.prg * harbour/contrib/gtwvg/wvgstatb.prg * harbour/contrib/gtwvg/wvgstatc.prg * harbour/contrib/gtwvg/wvgwin.c * harbour/contrib/gtwvg/wvgwnd.prg * harbour/contrib/gtwvg/wvtwin.ch * Numerous changes and fixes and behavioral shifts. ! Started to implement CUI and GUI components in GTWVG. ! Started to use C STRUCTURES. * harbour/contrib/hbwin/Makefile * harbour/contrib/hbwin/common.mak + Added wapi_winuser.c * harbour/contrib/hbwin/hbwapi.h + added more WAPI macros to accomodate new types. + harbour/contrib/hbwin/wapi_winuser.c + Introduced wrapper function to manipulate scrollbars. ; NOTE: GTWVG now needs xhb.lib alongwith hbwin.lib. 2009-02-19 00:22 UTC+0100 Viktor Szakats * utils/hbmk/hbmk2.prg + Added rest of default *nix system paths. % Minor optimization regarding the above. ! Fix regarding the above (include/lib were swapped). * make_gnu.sh * Formatting. 2009-02-18 23:34 UTC+0100 Viktor Szakats * contrib/hbole/ole2.c * contrib/hbwin/win_ole.c * contrib/hbwin/win_misc.c * contrib/hbwin/win_prn1.c ! Fixed Open Watcom 1.8 related warnings/errors. 2009-02-18 22:34 UTC+0100 Viktor Szakats * config/global.cf + Added link to GNU make docs. + Added .SUFFIXES: to delete all built-in rules. This does the same as the -r switch which we were using so far, so this one is no more necessary. Now GNU make can be started by simply running 'make' without parameters. * make_gcc.sh * make_gnu_os2.cmd * make_gnu.bat % Removed make -r switches. ; TODO: Do the same in the rest of the scripts. [DONE] 2009-02-18 22:00 UTC+0100 Viktor Szakats * ChangeLog * utils/hbmk/hbmk2.prg * TODOs moved to source file. + Added hbp comment syntax to help screen. * config/win/install.cf ! Reverted previous fix (with xcopy) and replaced with official method to suppress return value. 2009-02-18 20:00 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbthread.h * harbour/source/vm/thread.c ! added support for conditional variables working like in PTHREADS in OS2 builds - it fixes the problem with possible dead lock or starvation effect which can also cause dead lock in some cases. OS2 users please test current code. 2009-02-18 18:59 UTC+0100 Viktor Szakats * utils/hbmk/hbmk2.prg % Optimizations in FindInPath(). ! Fixed handling dirs in PATH with embedded path separator in them. ! Possible fix for owatcom compilers by forcing link script instead of passing options on the command line. * utils/hbmk/examples/winapi.hbp ! Updated for BCC. 2009-02-18 16:45 UTC+0100 Maurilio Longo (maurilio.longo@libero.it) * ChangeLog * little correction to previous entry. 2009-02-18 16:35 UTC+0100 Maurilio Longo (maurilio.longo@libero.it) * source/vm/cmdarg.c * little hack from Przemyslaw to make it work under OS/2 where executable name hasn't got extension if extension was not given when executable was started. * utils/hbmk/hbmk2.prg * Changed to work under OS/2 with GCC; other OS/2 compilers not tested. 2009-02-18 16:21 UTC+0100 Viktor Szakats * utils/hbmk/hbmk2.prg * '-l-' is now passed to Harbour instead of being considered a lib spec. * Arch/comp is now case-insensitive in filters too. * Removed GTSTD usage. It caused a stall at startup for BCC, and Ctrl+C had to be pressed to proceed. I didn't investigate further, maybe it's a local problem. 2009-02-18 16:05 UTC+0100 Viktor Szakats * config/win/bcc32.cf * Synced flags with non-GNU make. This adds MT support. * config/win/install.cf ! Install command modified to not give errors and block the whole build process if the target file already exists. The workaround consisted of changing 'copy' to 'xcopy /d /y'. * include/inkey.ch + Added comments on K_MM*DOWN codes. These also should be protected, and moved to local the local headers belonging to GTs supporting this feature (GTWVG notably). * source/rtl/gtwvt/gtwvt.c + Protected non-Clipper compatible extension regarding K_MM*DOWN with __HB_GTWVT_GEN_K_MMDOWN_EVENTS #define. Also see notes about app level code modification needed if you want to continue using default Harbour build: 2009-02-18 12:20 UTC+0100 Viktor Szakats 2009-02-18 14:36 UTC+0100 Viktor Szakats * contrib/gtalleg/tests/gtalleg-static.hbp + Added some Windows libs. The libs seem compiler and/or SDK dependent, so pls update this, current state is probably enough to get an idea of it. + utils/hbmk/examples/winapi.hbp + Created hbp file for Windows libs. * utils/hbmk/hbmk2.prg * utils/hbmk/examples/xbgtk.hbp * utils/hbmk/examples/xhgtk.hbp * Formatting. 2009-02-18 14:20 UTC+0100 Viktor Szakats * utils/hbmk/hbmk2.prg + Added handling of quoted options (with double quotes) for items containing spaces. hb_AToken( , , .T. ) is used, so these rules apply. Outer double quote pair will be stripped from the quoted items. We will probably need extra code to add the quote back when forming the command lines. Anyway this feature mainly targets to support pkg-config options, which have their own special quotes anyway. ! Minor change to not use hb_cmdline() for -q option detection, and also to ignore -q in main option processing loop. ! Fixed explicit .hbp processing. * contrib/gtalleg/tests/gtalleg-shared.hbp * contrib/gtalleg/tests/gtalleg-static.hbp * utils/hbmk/examples/xbgtk.hbp * utils/hbmk/examples/hwgui.hbp * utils/hbmk/examples/xhgtk.hbp * Updated pkg-config related lines. 2009-02-18 14:18 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/listbox.prg * changed FindText() and FindData() LISTBOX method to work without _SET_EXACT modification 2009-02-18 13:06 UTC+0100 Viktor Szakats + source/rtl/mousehb.c + Added missing file from previous commit. 2009-02-18 12:45 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/itemapi.c ! fixed wrong exact condition hb_itemStrICmp() % small optimization in hb_itemStr[I]Cmp() functions 2009-02-18 12:20 UTC+0100 Viktor Szakats * include/hbextern.ch * common.mak * source/rtl/Makefile * source/rtl/mouse53.c + Added HB_MMIDDLEDOWN() functions, plus MMIDDLEDOWN() alias. These are always available regardless of the CLIP53 compatibility setting. ; FIXME: K_MM*DOWN events _override_ C5.3 compatible K_MOUSEMOVE events (in GTWVT only), which created an unfortunate incompatibility with our target C5.x compiler when using some specific GT. Ideas are welcome how to fix this. We should probably either send out both codes and let the inkey queue do the filtering as requested by app (we need a new filter then), or remove these event code and generate proper K_MOUSEMOVE events instead. Apps using this these incompatible keycodes are encouraged to replace expressions: '( key == K_MM*DOWN )' with the compatible: '( key == K_MOUSEMOVE .AND. M*DOWN() )' to prepare for the fix. [DONE] 2009-02-18 12:17 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapi.h * harbour/source/vm/hvm.c % replaced index to evaluated PCODE by direct PCODE pointer modification 2009-02-18 10:34 UTC+0100 Viktor Szakats * bin/postinst.bat + Added generation of hbcc[.bat|.cmd], hbcmp[.bat|.cmd] and hblnk[.bat|.cmd]. ; NOTE: Available only when using GNU-make to build Harbour. * utils/hbmk/hbmk2.prg % Minor optimizations. + HB_USER_LIBS now gets automatic path separator adjustment. * config/win/msvc.cf ! Added missing system libs. ! Tweaked C options to be like in non-GNU make. * make_gcc.sh * make_gnu.sh - Removed compatibility with HB_ARCHITECTURE = w32. 2009-02-18 10:25 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapi.h * harbour/source/vm/cmdarg.c * harbour/source/vm/hvm.c * added hb_cmdargUpdate() function which makes final argc/argv updating (code moved from hb_cmdargInit()) ! use hb_cmdargUpdate() - it fixes GPF in MT mode when some fs* functions were called before allocating HVM stack ; FIXME: change some hb_setGet*() functions to work without HVM stack. * harbour/source/rtl/hbtoken.c * formatting 2009-02-18 02:03 UTC+0100 Viktor Szakats * utils/hbmk/hbmk2.prg ! Fixed not recognising hbp lines if the filter was at BOL. ! Two minor fixes. * utils/hbmk/examples/xbgtk.hbp + Added cflags, it was already supported, just forgot about it. * contrib/hbblat/tests/hbblat.hbp * contrib/hbblat/tests/blatcmd.prg % Using WIN_GETCOMMANDLINEPARAM(). * contrib/hbwin/win_misc.c * contrib/hbwin/tests/testreg.prg + Added WIN_GETCOMMANDLINEPARAM(). Similar to WAPI_GETCOMMANDLINE() but returns only the parameter part. Handles UNICODE, _SET_OSCODEPAGE and appnames with spaces. * contrib/hbwin/tests/hbwin.hbp ! Fixed to include shell32 lib. * contrib/hbwin/Makefile * contrib/hbwin/common.mak + contrib/hbwin/wapi_winbase.c * contrib/hbwin/tests/testreg.prg + Added WAPI_GETCOMMANDLINE(). With UNICODE and _SET_OSCODEPAGE support. * ChangeLog * FIXME (hb_cmdline()) marked as POSTPONED with explanation. 2009-02-18 00:19 UTC+0100 Viktor Szakats * source/rtl/listbox.prg ! Restored _SET_EXACT dependent code parts to have the same logic as before my modifications a few years ago. Przemek, is it right now? I honestly didn't understand the issue here. 2009-02-17 23:31 UTC+0100 Viktor Szakats + contrib/gtalleg/tests + contrib/gtalleg/tests/gtalleg-shared.hbp + contrib/gtalleg/tests/gtalleg-static.hbp * utils/hbmk/examples/whoo.hbp * utils/hbmk/examples/c4w.hbp * utils/hbmk/examples/minigui.hbp * utils/hbmk/examples/hwgui.hbp * utils/hbmk/examples/fwh.hbp + utils/hbmk/examples/xbgtk.hbp + utils/hbmk/examples/xhgtk.hbp + Added new hbp files and settings to cover support by current hbmk script features. + Added new gtalleg hbp files for Windows, both static and shared. Added logic from hbmk script for Linux. ; NOTE: This is a work in progress, I'll have to investigate -I support needed for xbgtk, hbmk can't handle that yet. Also pkgconfig notation isn't parsed well yet, there needs to be added syntax to allow spaces inside items. Expect some possible incompatible changes in this area. 2009-02-17 21:33 UTC+0100 Viktor Szakats * utils/hbmk/hbmk2.prg + Made HB_ARCHITECTURE and HB_COMPILER case-insensitive. Notice however that other parts of Harbour (notably the GNU-make system) will only accept them in lowercase, so that's the recommended way to setup these values. * One error message made more informative. 2009-02-17 20:56 UTC+0100 Viktor Szakats * utils/hbmk/hbmk2.prg + HB_COMPILER now automatically set to gcc for Linux. You can override it if you need gpp or owatcom. + xcc, icc autodetection for win. + Added support for HB_MT=mt|MT for compatibility. + Added support for -mwindows/-mconsole for compatibility. + 0/1 is accepted instead of yes/no for compatibility. 2009-02-17 11:43 UTC+0800 Luis Krause (lkrausem at shaw dot ca) * utils/hbmk/hbmk2.prg ! Fixed typo on line 1038 (missing . in .OR.) 2009-02-17 20:06 UTC+0100 Viktor Szakats * utils/hbmk/hbmk2.prg ! Fixed -run on *nix systems. 2009-02-17 19:29 UTC+0100 Viktor Szakats * utils/hbmk/hbmk2.prg ! Fixed Linux system location detection to work regardless of the name of the executable. 2009-02-17 18:44 UTC+0100 Viktor Szakats * utils/hbmk/hbmk2.prg + More informative messages for HB_COMPILER problems. 2009-02-17 17:34 UTC+0100 Viktor Szakats * utils/hbmk/hbmk2.prg + Added support for -fullstatic. + Added '-lm' to linux/gcc. Still needs to tweaking, like gpm. * bin/hbmk.bat + Added missing '@'. 2009-02-17 16:42 UTC+0100 Viktor Szakats * harbour-win-spec * harbour-wce-spec * mpkg_tgz.sh * harbour.spec + Replaced hbmake with hbmk2. 2009-02-17 16:40 UTC+0100 Viktor Szakats * make_b32.mak * make_vc.mak * common.mak + bin/hbmk.bat * utils/hbmk/Makefile - utils/hbmk/hbmk.prg + utils/hbmk/hbmk2.prg + Renamed hbmk to hbmk2 to avoid collision with hbmk script, and to allow parallel testing. + Readded hbmk.bat to redirect to hbmk2.exe. This will be removed in the future. Win9x/OS/2 isn't supported with this batch file. 2009-02-17 16:30 UTC+0100 Viktor Szakats * utils/hbmk/hbmk.prg * Minor changes. 2009-02-17 15:45 UTC+0100 Viktor Szakats * utils/hbmk/hbmk.prg + Added autodetection of -cc, -cmp options based on argv[0]. 2009-02-17 15:21 UTC+0100 Viktor Szakats * utils/hbmk/hbmk.prg + Added support for multiple -L (lib path) options. + Added support for libpaths= option in .hbp files. ! Fix/cleanup to help screen. ! Fixed handling of libs specified in an explicitly passed .hbp file due to typo. 2009-02-17 14:54 UTC+0100 Viktor Szakats * utils/hbmk/hbmk.prg + Added support for -cc switch. This will stop hbmk after creating the Harbour .c outputs to emulate hbcc tool behaviour. 'hbcc' -> 'hbmk -cc $*' + Added support for -cmp switch. This will stop hbmk after creating the object outputs from the C compiler. 'hbcmp' -> 'hbmk -cmp $*' + From now on objects file passed on the command line will also be considered as final executable name if passed before the other files. * Tweaked internals to cope with some new combinations, like passing object only for a compiler having separate C compiler and link phases. Launching C compiler even if there are only object files. 2009-02-17 13:12 UTC+0100 Viktor Szakats - contrib/hbmysql/utils/hbmk.bat + contrib/hbmysql/utils/hbmysql.hbp - contrib/hbblat/tests/hbmk.bat + contrib/hbblat/tests/hbblat.hbp * Switched from WIN/DOS specific to .hbp. - contrib/hbgd/tests/hbmk_gnu.sh * contrib/hbgd/tests/hbgd.hbp * Switched from *NIX specific to .hbp. 2009-02-17 11:36 UTC+0100 Viktor Szakats * contrib/hbblat/tests/blatcmd.prg ! Reverted fix of mine until we properly fix hb_cmdline(). ; FIXME: Fix hb_cmdline() to work more consistently on Windows. [POSTPONED. It creates incompatibility with behaviour on other platforms.] 2009-02-17 11:22 UTC+0100 Viktor Szakats - contrib/hbmysql/tests/hbmk.bat + contrib/hbmysql/tests/hbmysql.hbp - contrib/xhb/tests/hbmk.bat + contrib/xhb/tests/xhb.hbp - contrib/hbodbc/tests/hbmk.bat + contrib/hbodbc/tests/hbodbc.hbp - contrib/hbtpathy/tests/hbmk.bat + contrib/hbtpathy/tests/hbtpathy.hbp - contrib/hbmsql/tests/hbmk.bat + contrib/hbmsql/tests/hbmsql.hbp - contrib/hbmzip/tests/hbmk.bat + contrib/hbmzip/tests/hbmzip.hbp - contrib/hbole/tests/hbmk.bat + contrib/hbole/tests/hbole.hbp - contrib/hbsqlit3/tests/hbmk.bat + contrib/hbsqlit3/tests/hbsqlit3.hbp - contrib/hbfbird/tests/hbmk.bat + contrib/hbfbird/tests/hbfbird.hbp - contrib/hbziparc/tests/hbmk.bat + contrib/hbziparc/tests/hbziparc.hbp - contrib/hbnf/tests/hbmk.bat + contrib/hbnf/tests/hbnf.hbp - contrib/rddsql/tests/hbmk.bat + contrib/rddsql/tests/rddsql.hbp - contrib/hbhpdf/tests/hbmk.bat + contrib/hbhpdf/tests/hbhpdf.hbp - contrib/rddado/tests/hbmk.bat + contrib/rddado/tests/rddado.hbp - contrib/hbpgsql/tests/hbmk.bat + contrib/hbpgsql/tests/hbpgsql.hbp - contrib/rddads/tests/hbmk.bat + contrib/rddads/tests/rddads.hbp - contrib/hbfimage/tests/hbmk.bat + contrib/hbfimage/tests/hbfimage.hbp - contrib/hbgd/tests/hbmk.bat + contrib/hbgd/tests/hbgd.hbp - contrib/hbmisc/tests/hbmk.bat + contrib/hbmisc/tests/hbmisc.hbp - contrib/hbtip/tests/hbmk.bat + contrib/hbtip/tests/hbtip.hbp - contrib/hbgf/tests/hbmk.bat + contrib/hbgf/tests/hbgf.hbp - contrib/hbwin/tests/hbmk.bat + contrib/hbwin/tests/hbwin.hbp - contrib/hbvpdf/tests/hbmk.bat + contrib/hbvpdf/tests/hbvpdf.hbp - contrib/hbssl/tests/hbmk.bat + contrib/hbssl/tests/hbssl.hbp - contrib/hbwhat/tests/hbmk.bat + contrib/hbwhat/tests/hbwhat.hbp * Switched from WIN/DOS specific to platform independent .hbp files. These will be automatically picked by hbmk (prg). Some libnames will need tweaking for non-Windows platforms. ! Fixed a few liblists along the way. * contrib/hbgd/gdwrp.c ! Fixed to properly check GD lib version for conditional compiling. Formerly used GD_VERS isn't defined by the library headers. - contrib/hbmisc/tests/Makefile - Unnecessary file removed. * contrib/hbmisc/doc/gendoc.bat - contrib/hbmisc/doc/libmisc.lnk - contrib/hbmisc/doc/libmisc.rsp + contrib/hbmisc/doc/hbmisc.lnk + contrib/hbmisc/doc/hbmisc.rsp * libmisc -> hbmisc * util/hbmk/hbmk.prg + Added TODO. * ChangeLog * TODO marked DONE. 2009-02-17 09:18 UTC+0100 Viktor Szakats * make_gcc.sh * contrib/make_gcc_all.sh ! Fixed typo in if condition. 2009-02-17 03:19 UTC+0100 Viktor Szakats * source/rtl/fstemp.c ! Fixed temp filename generation in {(linux|bsd)&!owatcom} builds when extension was requested. 2009-02-17 01:50 UTC+0100 Viktor Szakats * contrib/hbfimage/Makefile ! Disabled hbfimage on Linux until we solve the type collision problem. Some more platforms may need to be added. 2009-02-17 01:39 UTC+0100 Viktor Szakats * config/linux/install.cf ! Added hack to ignore copy errors. This probably isn't the ultimate solution, but since a few weeks Harbour cannot be installed in the same dirs where sources are located, since it fails with cp: `file' and `/harbour/include/file' are the same file which causes that no binaries will be installed either. 2009-02-17 01:03 UTC+0100 Viktor Szakats * contrib/gtwvg/make_b32.bat * contrib/gtwvg/make_vc.bat * contrib/gtwvg/Makefile * Trying new method to point to hbwin, so that we're not relying on hbwin headers being installed. ; Please test. * contrib/Makefile + Added hbblat. * contrib/make_vc_all.bat * contrib/make_b32_all.bat * contrib/make_gcc_all.sh * contrib/hbblat/Makefile * contrib/hbblat/common.mak * contrib/hbblat/make_b32.bat * contrib/hbblat/make_vc.bat * contrib/hbblat/blatwrp.c * contrib/hbblat/tests/hbmk.bat * contrib/hbblat/tests/blatcmd.prg + Added support for HB_INC_BLAT (needed for releases). * Some EOLs added. * Minor correction to .ch name in make files. % Replaced command line retrieval with hb_cmdline() call. * Cleaned some headers/#defines. * GNU make file got protection to only compile for win, and to install headers. * make_gnu.bat * contrib/hbct/Makefile * contrib/hbwin/Makefile * Minor formatting. 2009-02-16 23:55 UTC+0100 Francesco Saverio Giudice (info/at/fsgiudice.com) + harbour/contrib/hbblat + harbour/contrib/hbblat/blatcls.prg + harbour/contrib/hbblat/blatwrp.c + harbour/contrib/hbblat/common.mak + harbour/contrib/hbblat/hbblat.ch + harbour/contrib/hbblat/make_b32.bat + harbour/contrib/hbblat/make_vc.bat + harbour/contrib/hbblat/Makefile + harbour/contrib/hbblat/syntax.txt + harbour/contrib/hbblat/tests + harbour/contrib/hbblat/tests/blatcmd.prg + harbour/contrib/hbblat/tests/blattest.prg + harbour/contrib/hbblat/tests/f_listtext.txt + harbour/contrib/hbblat/tests/f_ps.txt + harbour/contrib/hbblat/tests/f_sample.txt + harbour/contrib/hbblat/tests/f_sample1.txt + harbour/contrib/hbblat/tests/f_subjectline.txt + harbour/contrib/hbblat/tests/hbmk.bat + Added BLAT wrapper class * harbour/contrib/make_b32_all.bat * harbour/contrib/make_vc_all.bat * added above contrib * harbour/source/vm/hvm.c * added missing ; 2009-02-16 21:19 UTC+0100 Viktor Szakats - tests/hbmk_gnu.bat - Removed. * contrib/examples/uhttpd/hbmk.bat * contrib/examples/dbu/hbmk.bat * contrib/examples/rl/hbmk.bat * Made them compatible with Win9x/NT systems again. * source/lang/msg_tpl.c + Added NOTE about date format. * source/lang/msgbe866.c * source/lang/msgbewin.c * source/lang/msgbg866.c * source/lang/msgbgiso.c * source/lang/msgbgmik.c * source/lang/msgbgwin.c * source/lang/msgit.c * source/lang/msgnl.c * source/lang/msgsl437.c * source/lang/msgsl852.c * source/lang/msgsliso.c * source/lang/msgslwin.c ! Fixed date formats to only contain YYYY MM and DD. Plus the format itself corrected in a few places. * utils/hbmk/hbmk.prg + Added TODO % Added ANNOUNCE HB_GTSYS / REQUEST HB_GT_STD_DEFAULT. Since this tools doesn't need anything fullscreen, and this way it's faster smaller, yet portable. * ChangeLog * Few old TODO/FIXME statuses updated. 2009-02-16 18:48 UTC+0100 Viktor Szakats - contrib/hbct/tests/hbmk.bat - contrib/hbcurl/tests/hbmk.bat + contrib/hbcurl/tests/hbcurl.hbp - contrib/hbclipsm/tests/hbmk.bat + contrib/hbclipsm/tests/hbclipsm.hbp - contrib/hbcrypt/tests/hbmk.bat + contrib/hbcrypt/tests/hbcrypt.hbp - contrib/examples/pp/hbmk.bat + contrib/examples/pp/pp.hbm - contrib/examples/guestbk/hbmk.bat + contrib/examples/guestbk/guestbk.hbm - contrib/examples/pe/hbmk.bat + contrib/examples/pe/pe.hbm - contrib/examples/hbsqlit2/tests/hbmk.bat + contrib/examples/hbsqlit2/tests/hbsqlit2.hbp - contrib/examples/hscript/hbmk.bat + contrib/examples/hscript/hscript.hbm - utils/hbdoc/hbmk.bat + utils/hbdoc/hbdoc.hbm * Converted some DOS/WIN batch files to platform independent .hbm/.hbp files. ; Please test them. * ChangeLog + Marked DBCREATETEMP() as DONE. 2009-02-16 18:30 UTC+0100 Viktor Szakats * include/hbextern.ch + Added HB_DBCREATETEMP() * harbour/source/rdd/dbcmd.c * Renamed to HB_DBCREATETEMP(). 2009-02-16 17:44 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/dbinfo.ch + added DBI_ISTEMPORARY * harbour/include/hbapirdd.h * harbour/source/rdd/wafunc.c + added hb_rddCreateTableTemp() C function to create temporary table which are automatically deleted on close. All indexes and memo files for such tables are also in temporary files and automatically deleted on close. Please remember that Harbour uses OS functions to create temporary files so it's installation dependent how much disk space is available for them. Some RDDs may also do not create temporary files but keep everything in memory if they decide it's more efficient. * harbour/source/rdd/dbcmd.c + added .prg function to create temporary files: hb_dbCreateTemp( <cAlias>, <aStruct>, <cRDD>, ; <cCodePage>, <nConnection> ) -> <lSuccess> Not all RDDs have to support it. It's verified by support for DBI_ISTEMPORARY dbInfo() action. * harbour/include/hbrdddbf.h * harbour/include/hbrddnsx.h * harbour/include/hbrddcdx.h * harbour/include/hbrddntx.h * harbour/source/rdd/dbf1.c * harbour/source/rdd/dbffpt/dbffpt1.c * harbour/source/rdd/dbfntx/dbfntx1.c * harbour/source/rdd/dbfnsx/dbfnsx1.c * harbour/source/rdd/dbfcdx/dbfcdx1.c + added support for temporary tables in native RDDs. Most of above modifications were done by Viktor Szakats. 2009-02-16 15:03 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/thread.c ! fixed typo in PTHREAD (*nixes) version of hb_threadMutexTimedLock() (.prg HB_MUTEXLOCK() with timeout parameter) ! unlock HVM in *nix version of hb_threadWait() ; added TODO note 2009-02-16 14:02 UTC+0200 Chen Kedem <niki@synel.co.il> * doc/dirstruc.txt * Updated to reflect current state. * source/compiler/hbusage.c * source/lang/msghe862.c * source/lang/msghewin.c * source/rtl/tone.c * source/rtl/gtos2/gtos2.c * Update my email on source files (didn't bother to change those under doc). 2009-02-16 12:48 UTC+0100 Viktor Szakats * include/hbapicdp.h * common.mak * source/codepage/Makefile + source/codepage/ucmacce.c + source/codepage/ucmacice.c + source/codepage/uc424.c + source/codepage/ucmacrom.c + source/codepage/ucmacgrk.c + source/codepage/uc037.c + source/codepage/uc875.c + source/codepage/uc1026.c + source/codepage/ucascii.c + source/codepage/ucatari.c + source/codepage/ucmaccyr.c + source/codepage/uc1006.c + source/codepage/ucnext.c + source/codepage/ucmactrk.c + source/codepage/uc856.c + source/codepage/uc500.c + Added missing codepages. Except for multi-byte ones, which I believe are not supported by the current Harbour infrastructure. * utils/hbmk/hbmk.prg ! Minor. 2009-02-16 11:52 UTC+0100 Viktor Szakats * utils/hbmk/hbmk.prg + Added support to pass .hbp files on the command line. * contrib/hbwin/wapi_commctrl.c * contrib/hbwin/hbwapi.h ! Remaining comments changed to ANSI. 2009-02-16 00:10 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtwvg/common.mak * harbour/contrib/gtwvg/Makefile + Added wvgdarea.prg * harbour/contrib/gtwvg/wvgwin.c + Added more functions. + harbour/contrib/gtwvg/wvgdarea.prg + Added WvgDrawingArea(), a helper class to WvgDialog(). * harbour/contrib/gtwvg/wvgdlg.prg * harbour/contrib/gtwvg/wvgparts.ch * harbour/contrib/gtwvg/wvgphdlr.prg * harbour/contrib/gtwvg/wvgstatc.prg * harbour/contrib/gtwvg/wvgtoolb.prg * harbour/contrib/gtwvg/wvgwnd.prg * harbour/contrib/gtwvg/wvtwin.ch ! Numerous class structure enhancements. More Xbase++ compatibility XbpDialog:drawingArea concept implemented in greater details. WvgToolbarButtons() now take use of WAPI_ImageList_*() functions. * harbour/contrib/hbwin/hbwapi.h ! Defines updated to respect pointers also. + harbour/contrib/hbwin/wapi_commctrl.c + Implemented WAPI ImageList_*() family of functions. * harbour/contrib/hbwin/Makefile * harbour/contrib/hbwin/common.mak + Added wapi_commctrl.c * harbour/contrib/gtwvg/tests/demowvg.prg * harbour/contrib/gtwvg/tests/demoxbp.prg ! Updated TO respect new changes in class structures. Xbase++ related components are more compatible now. ; TODO: Tooltips on Toolbar Buttons. WHILE implemeting XbpDialog:drawingArea concept I have lost track of this feature as buttons are now created via image lists and Toolbar window is created with CreateWindowEx() instead of CreateToolbarWindow(). 2009-02-16 09:25 UTC+0100 Viktor Szakats * contrib/hbapollo/tests/hbapollo.hbp + Added filters. ; FIXME: hbapollo test doesn't link with MSVC. - contrib/hbapollo/tests/hbmk.bat - contrib/gtwvg/tests/hbmk.bat - contrib/hbbtree/tests/hbmk.bat - contrib/examples/terminal/hbmk.bat - contrib/examples/terminal/hbmk_trm_appn.bat - Removed batch versions of make files. Go to the directory the source are located and use the .hbm files where there is one, or just pass the .prg name to hbmk.exe. * utils/hbmk/hbmk.prg ! Fixed handling lib/source files with double extensions. ! Fixed to not add empty items to lists in some occasions. + Added -q to suppress informational output + header. 2009-02-16 02:18 UTC+0100 Viktor Szakats * make_b32.mak * make_vc.mak - Deleted hbmk*.bat references. 2009-02-16 02:16 UTC+0100 Viktor Szakats - bin/hbmk.bat - bin/hbmk_gcc.bat - bin/hbmk_os2.cmd - bin/hbmk_ow.bat - bin/hbmk_b32.bat - bin/hbmk_vc.bat - Removed make files obsoleted by new hbmk tool. Old calling convention, features, switches, envvars continue to work. WARNING: If you've called hbmk as hbmk.bat, you'll need to change that to simply hbmk. * contrib/hbodbc/odbc.c * Minor formatting. * utils/hbmk/hbmk.prg ! Fixed owatcom link commands. (it was also wrong in hbmk.bat) + Added -debug support for owatcom. (untested) + Added rsxnt/rsx32 support in an unobtrusive way. 2009-02-16 00:40 UTC+0100 Viktor Szakats * common.mak * make_b32.mak * make_vc.mak * make_gcc.mak * utils/Makefile - utils/hbmake - Removed hbmake from repository. 2009-02-16 00:33 UTC+0100 Viktor Szakats * source/compiler/hbusage.c + Added Vailton Renato to credit list. * utils/hbmk/hbmk.prg + Cleanups and additions to help screen. ! Fixed dm/dmc compiler ID. - config/win/dm.cf + config/win/dmc.cf * contrib/gtalleg/Makefile * contrib/hbwhat/Makefile * Digital Mars C compiler ID changed from dm to dmc. (they also have a D compiler e.g.) 2009-02-15 22:28 UTC+0100 Viktor Szakats + contrib/gtwvg/tests/gtwvg.hbp + contrib/hbapollo/tests/hbapollo.hbp + contrib/hbbtree/tests/hbbtree.hbp + contrib/hbbtree/tests/test.hbm + Added hbmk files. * contrib/hbbtree/tests/hbmk.bat * contrib/hbbtree/tests/test.prg * Cleaned hbct dependency. * contrib/hbbtree/Makefile * contrib/hbbtree/common.mak - contrib/hbbtree/hb_btree.api + contrib/hbbtree/hb_btree.h * contrib/hbbtree/hb_btree.c * contrib/hbbtree/tests/ctest.c * Renamed hb_btree.api -> hb_btree.h * contrib/examples/terminal/terminal.hbp + Added {win} filter. 2009-02-15 20:54 UTC+0100 Viktor Szakats * utils/hbmk/hbmk.prg + Added support for '#' comment lines in .hbm files. + Added support to automatically convert slashes/backslashes in passed libnames and prg options. * Cleanup on computing Harbour location. I didn't test all situations here. This should fix previous versions not honoring explicit HB_*_INSTALL envvars. + Added support for POCC (untested). + contrib/hbct/tests/hbct.hbp + contrib/examples/terminal/terminal.hbp + contrib/examples/terminal/trm_appn.hbm + Added new hbmk files to show what it takes to replace the current system, but this time fully supporting all Harbour platforms. To use these just run hbmk, either from the path, or by directly pointing to it: ..\..\..\bin\hbmk.exe <test.prg> ..\..\..\bin\hbmk.exe trm_appn.hbm .exe can be dropped as soon as we delete out hbmk.bat file. 2009-02-15 18:37 UTC+0100 Viktor Szakats * utils/hbmk/hbmk.prg + Added POCC and DMC autodetection. + Added screen message when no C compiler could be autodetected. ! owatcom was missing from OS/2 supported compiler internal list. 2009-02-15 17:45 UTC+0100 Viktor Szakats * utils/hbmk/hbmk.prg + Added support for -map switch to create a map file. + Added support for -run switch to run the created executable. + Script files can be passed without '@' prefix if using the extension '.hbm'. So 'hbmk myscript.hbm' will now also work. + Now possible to negate most switches using a '-' postfix: 'hbmk -strip-' + Added '-notrace'/'-trace-' switches to disable tracing. + Some steps towards Windows resource support. + Added support for 'cflags=' and 'ldflags=' in .hbp files. + Added mini architecture/compiler filter which can be used in every line of an .hbp file, and also for every library passed on the command line: hbmk hello.prg -lonlyforlinux{linux} The filter expression can use parenthesis, '&' for AND, '|' for OR and '!' for not. E.g.: {linux&!owatcom} % Minor optimizations. + utils/hbmk/examples + utils/hbmk/examples/whoo.hbp + utils/hbmk/examples/c4w.hbp + utils/hbmk/examples/minigui.hbp + utils/hbmk/examples/hwgui.hbp + utils/hbmk/examples/fwh.hbp + Added few example for .hbp files to support 3rd party packages. These may be removed, as it's better if these are supplied by the packages themselves. NOTE: I took these from hbmake, and they are probably obsolete. 2009-02-15 08:56 UTC+0100 Viktor Szakats * utils/hbmk/hbmk.prg + Added -bldflags option which tells hbmk to also apply user build flags (HB_USER_*FLAGS) used when building Harbour. * Minor internal cleanups. ! Typo in help screen. 2009-02-15 02:30 UTC+0100 Viktor Szakats * utils/hbmk/hbmk.prg ! Fix to previous commit. * Help screen made more compact. 2009-02-15 02:22 UTC+0100 Viktor Szakats * utils/hbmk/hbmk.prg + Added support for parameters passed in files: 'hbmk @myprogram.hbm'. Multiple scripts can be passed, and they can be combined with normal command line options. This makes it possible to supply quasi make files for programs. + Added support for hbmake parameter (.hbp) files. hbmk will scan current dir for .hbp files and process them. .hbp files can specify user libs, .prg options, can control MT, GUI, NULRDD, SHARED, DEBUG, STRIP and can select GT. This makes it ideal to offer automatic setup for lib dependent programs, e.g. an .hbp can be places in contrib test dirs to allow for a configuration free make process without the need of any helper batch/script files. 3rd party makers can also supply .hbp file for the same effect, e.g. xhgtk, hwgui support may be added this way, without hard-wiring knowledge into hbmk itself. -nohbp disables processing of these files. + Added support for HB_GT envvar. + -o support for win/msvc. ! Fix to GT handling and -shared to for msvc and bcc32. ! Fixed some envvar names. * utils/hbi18n/hbi18n.prg * Minor typo. 2009-02-14 13:32 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) + harbour/contrib/hbwin/wapi_commctrl.c + Added WAPI_Image*() functions. * harbour/contrib/hbwin/hbwapi.h + Added more _par and _ret defines. ; The idea is to encapsulate Harbour API for WINAPI parameters and return values. Now wapi_commctrl.c looks very clean and easy to understand code. Also I have contained all those functions which are either not required on normal programming level OR I could not convert, with #if 0 / #endif blocks. But the header definitions are pulled from MSDN and have been kept alongwith. This ensures that whenever someone will try to implement them, all info will be handy. ; Please approve the above implementation so that I include these files in the build batches. 2009-02-14 19:50 UTC+0100 Viktor Szakats * utils/hbmk/hbmk.prg + Added -strip/nostrip switch and implemented for GCC/GPP. + Added -trace switch to see executed commands. + Added negative switches: -std, -st, -nodebug + Added detection whether Harbour is installed in default system locations on *NIX systems. If it is, turn on shared libraries by default for all *NIX systems. + Added support for GT selection with -gt??? switch. (using .prg method, not .c as in hbmk bash script) + Added support for linux/gpp. ; NOTE: Some things still missing: - details of *NIX stuff, systems libs, switches, etc, etc. - -fullstatic not yet supported. [DONE] - handling 3rd party libs. These should be supported by supplying proper parameter, and we can provide example scripts for these libs. Hard-wiring them into core Harbour is quite dangerous. [DONE] - Built-in support for our contribs. For clear separation of components contribs shouldn't be referred to in this core component. [DONE] - Filtering foreign system libs passed on the command line for platforms not needing them. The goal is to be able to use as simple and _portable_ hbmk command lines as possible. [DONE] - "MAIN" function override. I'd rather leave this out, and clear up the situation with entry procs. - fmstat/nofmstat. It would be good to find a more easily manageable way to influence that. Current one is make system dependent and a bit hackish. [MOVED TO hbmk2.prg] - gtsln and gtcrs support. [MOVED TO hbmk2.prg] - Watcom, OS/2, *NIX not tested. - Support for POCC, DM. ; TODO: - Switch to portable command lines in hbmk.bat files. [DONE] (Win9x will be supported again). [DONE] - Remove bin/hbmk*.bat, bin/hbmk*.cmd, util/hbmake/*. [DONE] - Cleanup on variable names in hbmk.prg. [MOVED TO hbmk2.prg] * tests/testid.prg * Minor cleanup. 2009-02-14 17:34 UTC+0100 Viktor Szakats * utils/hbmk/hbmk.prg ! Fixes after testing with MSVC and MINGW both static and dynamic mode. 2009-02-14 14:23 UTC+0100 Viktor Szakats * utils/hbmk/hbmk.prg - Added support for -o option for win/bcc32. - tests/hbmk_vc.bat - tests/hbmk_b32.bat + contrib/hbmysql/utils/hbmk.bat - contrib/hbmysql/utils/hbmk_b32.bat - contrib/hbmysql/utils/hbmk_vc.bat + contrib/hbmysql/tests/hbmk.bat - contrib/hbmysql/tests/hbmk_b32.bat - contrib/hbmysql/tests/hbmk_vc.bat + contrib/hbct/tests/hbmk.bat - contrib/hbct/tests/hbmk_b32.bat - contrib/hbct/tests/hbmk_vc.bat + contrib/hbodbc/tests/hbmk.bat - contrib/hbodbc/tests/hbmk_b32.bat - contrib/hbodbc/tests/hbmk_vc.bat + contrib/xhb/tests/hbmk.bat - contrib/xhb/tests/hbmk_b32.bat - contrib/xhb/tests/hbmk_vc.bat + contrib/hbtpathy/tests/hbmk.bat - contrib/hbtpathy/tests/hbmk_b32.bat - contrib/hbtpathy/tests/hbmk_vc.bat + contrib/hbmsql/tests/hbmk.bat - contrib/hbmsql/tests/hbmk_b32.bat - contrib/hbmsql/tests/hbmk_vc.bat + contrib/hbsqlit3/tests/hbmk.bat - contrib/hbsqlit3/tests/hbmk_b32.bat - contrib/hbsqlit3/tests/hbmk_vc.bat + contrib/hbole/tests/hbmk.bat - contrib/hbole/tests/hbmk_b32.bat - contrib/hbole/tests/hbmk_vc.bat + contrib/hbmzip/tests/hbmk.bat - contrib/hbmzip/tests/hbmk_b32.bat - contrib/hbmzip/tests/hbmk_vc.bat + contrib/hbapollo/tests/hbmk.bat - contrib/hbapollo/tests/hbmk_b32.bat - contrib/hbapollo/tests/hbmk_vc.bat + contrib/hbfbird/tests/hbmk.bat - contrib/hbfbird/tests/hbmk_b32.bat - contrib/hbfbird/tests/hbmk_vc.bat + contrib/hbziparc/tests/hbmk.bat - contrib/hbziparc/tests/hbmk_b32.bat - contrib/hbziparc/tests/hbmk_vc.bat + contrib/hbnf/tests/hbmk.bat - contrib/hbnf/tests/hbmk_b32.bat - contrib/hbnf/tests/hbmk_vc.bat + contrib/hbcurl/tests/hbmk.bat - contrib/hbcurl/tests/hbmk_b32.bat - contrib/hbcurl/tests/hbmk_vc.bat + contrib/rddsql/tests/hbmk.bat - contrib/rddsql/tests/hbmk_b32.bat - contrib/rddsql/tests/hbmk_vc.bat + contrib/hbhpdf/tests/hbmk.bat - contrib/hbhpdf/tests/hbmk_b32.bat - contrib/hbhpdf/tests/hbmk_vc.bat + contrib/rddado/tests/hbmk.bat - contrib/rddado/tests/hbmk_b32.bat - contrib/rddado/tests/hbmk_vc.bat + contrib/gtwvg/tests/hbmk.bat - contrib/gtwvg/tests/hbmk_b32.bat - contrib/gtwvg/tests/hbmk_vc.bat + contrib/hbpgsql/tests/hbmk.bat - contrib/hbpgsql/tests/hbmk_b32.bat - contrib/hbpgsql/tests/hbmk_vc.bat + contrib/rddads/tests/hbmk.bat - contrib/rddads/tests/hbmk_b32.bat - contrib/rddads/tests/hbmk_vc.bat + contrib/hbclipsm/tests/hbmk.bat - contrib/hbclipsm/tests/hbmk_b32.bat - contrib/hbclipsm/tests/hbmk_vc.bat + contrib/hbfimage/tests/hbmk.bat - contrib/hbfimage/tests/hbmk_b32.bat - contrib/hbfimage/tests/hbmk_vc.bat + contrib/hbgd/tests/hbmk.bat - contrib/hbgd/tests/hbmk_b32.bat - contrib/hbgd/tests/hbmk_vc.bat + contrib/hbmisc/tests/hbmk.bat - contrib/hbmisc/tests/hbmk_b32.bat - contrib/hbmisc/tests/hbmk_vc.bat + contrib/hbgf/tests/hbmk.bat - contrib/hbgf/tests/hbmk_b32.bat - contrib/hbgf/tests/hbmk_vc.bat + contrib/hbtip/tests/hbmk.bat - contrib/hbtip/tests/hbmk_b32.bat - contrib/hbtip/tests/hbmk_vc.bat + contrib/hbwin/tests/hbmk.bat - contrib/hbwin/tests/hbmk_b32.bat - contrib/hbwin/tests/hbmk_vc.bat + contrib/hbvpdf/tests/hbmk.bat - contrib/hbvpdf/tests/hbmk_b32.bat - contrib/hbvpdf/tests/hbmk_vc.bat + contrib/hbbtree/tests/hbmk.bat - contrib/hbbtree/tests/hbmk_djg.bat - contrib/hbbtree/tests/hbmk_b32.bat - contrib/hbbtree/tests/hbmk_vc.bat + contrib/hbcrypt/tests/hbmk.bat - contrib/hbcrypt/tests/hbmk_b32.bat - contrib/hbcrypt/tests/hbmk_vc.bat + contrib/hbssl/tests/hbmk.bat - contrib/hbssl/tests/hbmk_b32.bat - contrib/hbssl/tests/hbmk_vc.bat + contrib/hbwhat/tests/hbmk.bat - contrib/hbwhat/tests/hbmk_b32.bat - contrib/hbwhat/tests/hbmk_vc.bat - source/rdd/usrrdd/example/hbmk_b32.bat - source/rdd/usrrdd/example/hbmk_vc.bat % Updated for new hbmk.bat and hbmk.exe. 2009-02-14 13:25 UTC+0100 Viktor Szakats * utils/hbmk/hbmk.prg + Added linux/owatcom, os2/icc support. (completely untested) 2009-02-14 13:17 UTC+0100 Viktor Szakats * make_b32.mak * make_vc.mak * make_gcc.mak * common.mak * utils/Makefile + Added hbmk to make systems. * utils/hbmk/hbmk.prg + Update. Second pass, it's now ready for testing. I've only tried with BCC yet. Please test and if possible update internal setup for various platforms/compilers. 2009-02-14 10:49 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/memvars.c % small optimization in __MVSAVE() 2009-02-13 22:00 UTC+0100 Viktor Szakats + utils/hbmk + utils/hbmk/hbmk.prg + utils/hbmk/Makefile + Added hbmk .prg implementation. First pass, work in progress, unfinished. It aims to fully replace hbmk.bat, hbmk_os2.cmd and possibly/eventually hbmk bash script, with similar functionality. Beyond that it's meant to support all compiler/platform combination we happen to have under /config. 2009-02-13 21:57 UTC+0100 Francesco Saverio Giudice (info/at/fsgiudice.com) * harbour/bin/hbmk.bat * added more temp envvar cleanup 2009-02-13 20:10 UTC+0100 Viktor Szakats * make_b32.bat * tests/rddtest/make_c52.bat * tests/run_prg.bat * tests/hbmk_gnu.bat * tests/hbmk_vc.bat * tests/hbmk_b32.bat * tests/run_prg_all.bat * bin/hbmk.bat * bin/hbmk_os2.cmd * bin/postinst.bat * make_vc.bat * make_gnu_os2.cmd * make_gnu.bat * contrib/make_b32_all.bat * contrib/mtpl_b32.bat * contrib/make_vc_all.bat * contrib/mtpl_vc.bat * contrib/examples/pp/hbmk.bat * contrib/examples/guestbk/hbmk.bat * contrib/examples/pe/hbmk.bat * contrib/examples/hbsqlit2/tests/hbmk.bat * contrib/examples/uhttpd/hbmk.bat * contrib/examples/dbu/hbmk.bat * contrib/examples/terminal/hbmk.bat * contrib/examples/terminal/hbmk_trm_appn.bat * contrib/examples/hscript/hbmk.bat * contrib/examples/rl/hbmk.bat * utils/hbdoc/hbmk.bat * utils/hbextern/make_c5x.bat * utils/hbmake/hbmk.bat * utils/hbtest/make_c5x.bat * utils/hbtest/make_xpp.bat * Minor formatting. * Cleanups to refer to simply 'hbmk'. ; TODO: Add support for other than bcc/msvc compiler for HB_USER_LIBS. Change HB_USER_LIBS settings to contain the raw lib list without extensions. This is where batch capabilities end, so this might need a .prg rewrite. [CANCELLED] 2009-02-13 19:00 UTC+0100 Viktor Szakats * bin/hbmk.bat % Compiler detection made faster. + contrib/examples/pp/hbmk.bat - contrib/examples/pp/hbmk_b32.bat - contrib/examples/pp/hbmk_vc.bat + contrib/examples/guestbk/hbmk.bat - contrib/examples/guestbk/hbmk_b32.bat - contrib/examples/guestbk/hbmk_vc.bat + contrib/examples/pe/hbmk.bat - contrib/examples/pe/hbmk_b32.bat - contrib/examples/pe/hbmk_vc.bat + contrib/examples/hbsqlit2/tests/hbmk.bat - contrib/examples/hbsqlit2/tests/hbmk_b32.bat - contrib/examples/hbsqlit2/tests/hbmk_vc.bat + contrib/examples/uhttpd/hbmk.bat - contrib/examples/uhttpd/hbmk_b32.bat - contrib/examples/uhttpd/hbmk_vc.bat + contrib/examples/terminal/hbmk.bat - contrib/examples/terminal/hbmk_b32.bat - contrib/examples/terminal/hbmk_vc.bat + contrib/examples/terminal/hbmk_trm_appn.bat - contrib/examples/terminal/hbmk_b32_trm_appn.bat - contrib/examples/terminal/hbmk_vc_trm_appn.bat + contrib/examples/rl/hbmk.bat - contrib/examples/rl/hbmk_b32.bat - contrib/examples/rl/hbmk_vc.bat + utils/hbdoc/hbmk.bat - utils/hbdoc/hbmk_b32.bat - utils/hbdoc/hbmk_vc.bat + utils/hbmake/hbmk.bat - utils/hbmake/hbmk_b32.bat - utils/hbmake/hbmk_vc.bat % Changed to generic make files. 2009-02-13 18:43 UTC+0100 Viktor Szakats + contrib/examples/dbu/hbmk.bat - contrib/examples/dbu/hbmk_b32.bat - contrib/examples/dbu/hbmk_vc.bat + contrib/examples/hscript/hbmk.bat - contrib/examples/hscript/hbmk_b32.bat - contrib/examples/hscript/hbmk_vc.bat % Converted compiler specific make files to generic ones. 2009-02-13 18:36 UTC+0100 Viktor Szakats * bin/hbmk.bat + Added automatic architecture detection on Windows NT and above. + Added automatic compiler detection on Windows NT and above. (mingw, msvc, bcc32 and owatcom are detected - in that order) The given compiler should be properly setup, with compiler executable in PATH or current dir. ; NOTE: This makes it possible to get rid of all hbmk_b32.bat and hbmk_vc.bat files and at the same time automatically add support for OpenWatcom and MinGW for all our tests, examples, etc. I'll replace all special hbmk_b32.bat and hbmk_vc.bat files with generic local hbmk.bat files, which can be used with any supported compilers. 2009-02-13 17:34 UTC+0100 Viktor Szakats * bin/hbmk.bat + Allow mixing -mt, -gui, -shared, -debug switches with the input files. So 'hbmk_vc testapp -gui' will now work. 2009-02-13 17:26 UTC+0100 Viktor Szakats * bin/hbmk.bat + Added support for pure .c projects. (like pp) * contrib/examples/pp/hbmk_b32.bat * contrib/examples/pp/hbmk_vc.bat * contrib/examples/guestbk/hbmk_b32.bat * contrib/examples/guestbk/hbmk_vc.bat * contrib/examples/pe/hbmk_b32.bat * contrib/examples/pe/hbmk_vc.bat * contrib/examples/hbsqlit2/tests/hbmk_b32.bat * contrib/examples/hbsqlit2/tests/hbmk_vc.bat * contrib/examples/uhttpd/hbmk_b32.bat * contrib/examples/uhttpd/hbmk_vc.bat * contrib/examples/dbu/hbmk_b32.bat * contrib/examples/dbu/hbmk_vc.bat * contrib/examples/terminal/hbmk_b32.bat * contrib/examples/terminal/hbmk_b32_trm_appn.bat * contrib/examples/terminal/hbmk_vc.bat * contrib/examples/terminal/hbmk_vc_trm_appn.bat * contrib/examples/hscript/hbmk_b32.bat * contrib/examples/hscript/hbmk_vc.bat * contrib/examples/rl/hbmk_b32.bat * contrib/examples/rl/hbmk_vc.bat * utils/hbdoc/hbmk_b32.bat * utils/hbdoc/hbmk_vc.bat * utils/hbmake/hbmk_b32.bat * utils/hbmake/hbmk_vc.bat % Much simplified batch files. Actually the content of vc and b32 are fully identical, so you can easily create new flavours for GCC and OpenWatcom by simply making a copy by the name hbmk_gcc.bat or hbmk_ow.bat. Et voila. ; NOTE: As indicated, these won't work with Win9x anymore. * contrib/examples/pp/hbppcore.c + Added <ctype.h> to make it compile with recent Harbour. 2009-02-13 16:35 UTC+0100 Viktor Szakats * bin/hbmk.bat + Added detection for .PRG written in uppercase. (needed for DBU original sources.) ! Fixed to set 'echo off' * contrib/examples/guestbk/hbmk_b32.bat * contrib/examples/guestbk/hbmk_vc.bat * contrib/examples/dbu/hbmk_b32.bat * contrib/examples/dbu/hbmk_vc.bat * utils/hbdoc/hbmk_b32.bat * utils/hbdoc/hbmk_vc.bat * utils/hbmake/hbmk_b32.bat * utils/hbmake/hbmk_vc.bat % Switched to use hbmk instead of using local logic. * ChangeLog + Added one item to previous entry. 2009-02-13 16:03 UTC+0100 Viktor Szakats * bin/hbmk.bat + Added autodetection of Harbour dirs. So this batch will now work when called from any directories, and even if '/bin' dir is added to the PATH. IOW, it's not anymore necessary to supply these envvars in normal cases: HB_INSTALL_PREFIX, HB_BIN_INSTALL, HB_LIB_INSTALL, HB_INC_INSTALL. If someone moves this batch file away from its original place, these envvars can still be used to point to the Harbour tree, but support for this may be removed in the future to keep things simple. + Added support for multiple .prg files on the command line. The first will be the main program. + Added support to supply .c files on the command line. [these features need Windows NT or upper] - Removed compatibility support for HB_MT=mt. Use HB_MT=yes. ; TODO: Test OpenWatcom. I had to remove -fo and FILE directives from script, if this was required we need to find a solution to support multiple input files. [DONE] * bin/hbmk_b32.bat * bin/hbmk_vc.bat + Now these files can be called from any directories and even when '/bin' dir is added to the PATH. + Added support for unlimited number of command line parameters. [these features need Windows NT or upper] * Changed to not interfere with 'echo off' setting of the caller. ; NOTE: After this change it's possible to get rid of all non-customized version of hbmk_b32.bat/hbmk_vc.bat files in the source tree. I plan to remove these in the near future. The rest can be simplified in most places. This will only cause some inconvenience for developers still using Win95/98/ME. + bin/hbmk_gcc.bat + bin/hbmk_ow.bat + Added make batch files to MingW/GCC and OpenWatcom. * contrib/hbwin/win_tprn.prg ! Fixed recent typo. * include/hbstdgen.ch - Removed #undef __FILE__. I understand this isn't needed anymore. 2009-02-13 13:05 UTC+0100 Viktor Szakats * source/common/hbver.c + Added Windows 7 and Windows Server 2008 R2 detection. * source/rtl/dateshb.c * Minor formatting. 2009-02-13 12:09 UTC+0100 Viktor Szakats + contrib/examples/terminal/hbmk_b32.bat + contrib/examples/terminal/hbmk_b32_trm_appn.bat + contrib/examples/terminal/hbmk_vc.bat + contrib/examples/terminal/hbmk_vc_trm_appn.bat + Added build batches, one generic for client and server, and one special for trm_appn. ; NOTE: Turn off Unicode when building these apps. 2009-02-13 11:15 UTC+0100 Maurilio Longo (maurilio.longo@libero.it) * harbour/include/hbthread.h * harbour/source/vm/thread.c ! fixed a bug on OS/2 MT implementation adding a new function, _hb_cond_timed_wait() because when a semaphore gets posted it has to be reset, otherwise it does not stop new threads entering it in a wait. 2009-02-13 11:08 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbpp.h * harbour/source/pp/hbpp.c * harbour/source/pp/ppcore.c * harbour/source/compiler/hbmain.c + added support for dynamically calculated #define results ! removed old code which was adding __FILE__ #define constant It was not working correctly like in other compilers ignoring #include + added __FILE__ and __LINE__ #define directives using dynamically calculated results - now it works as expected respecting #include directives and the implementation is local to PP without any hacks in core compiler code. * harbour/contrib/hbct/files.c * added support for optional milliseconds part in HB_FSETDATETIME()/ HB_FGETDATETIME(). * harbour/source/rtl/philes.c ! minor fix in return value 2009-02-13 10:51 UTC+0100 Viktor Szakats * include/hbdefs.h * contrib/gtwvg/gtwvg.h * contrib/gtwvg/wvggui.h * contrib/examples/terminal/trm_client.prg + Added HB_EXTERN_BEGIN/END. * include/hbdefs.h + Added some comments from the original mail from Przemek. 2009-02-13 00:29 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtwvg/wvgcore.c ! Fixed hb_wvt_Get|SetStringAttrib()s to respect return errcode. + harbour/contrib/examples/terminal + harbour/contrib/examples/terminal/terminal.prg + harbour/contrib/examples/terminal/terminal.ch + harbour/contrib/examples/terminal/trm_server.prg + harbour/contrib/examples/terminal/trm_client.prg + harbour/contrib/examples/terminal/trm_appn.prg + harbour/contrib/examples/terminal/reame.txt + Added components for Harbour Terminal Protocol Welcome in the world of Harbour Terminal Protocol ================================================= Harbour Terminal Protocol is build on three components: 1) Terminal Server 2) Terminal Client 3) The Harbour Application Terminal Server =============== Source => trm_server.prg Link => GTWVG Run => trm_server.exe 2011 Parameter => <TCP/IP Port number - [D] 8085 ] Mode => MT ( Multi Threaded ) Terminal Server will reside on the same machine or network ( as of now ) where Harbour Application resides. Harbour Application must be able to be run by ShellExecute() WINAPI function issued by the Terminal Server. Terminal Client =============== Source => trm_client.prg Link => GTWVG Run => trm_client.exe <IP - localhost | vouch.dynalias.com> <Port where Terminal Server is Listening - 2011> <Harbour Application - C:\harbour\contrib\examples\terminal\trm_appn.exe> [Parameters - Norammly Supplied to Appln - Separated by SPACE ] [InitDirectory - Harbour Application's Startup Folder ] Mode => ST ( Single Threaded ) Terminal Client can be distributed anywhere there is ACCESS TO designated TCP/IP port, be it a network clinet or any computer having internet avalable. Parameters supplied TO Harbour Client can be on command line or as an .ini file. .Ini file may contain these entries: ServerIP = localhost | vouch.dynalias.com ServerPort = 2011 Application = C:\harbour\contrib\examples\terminal\trm_appn.exe Parameters = any number of parameters separated by a space InitDirectory = Complete Folder path from where Harbour Appln will be invoked. IF parameters are supplied as .ini file, then .ini filename ( without path ) will be the only parameter - note - only one parameter passed on the command line. Harbour Application =================== Source(s) => trm_appn.prg | Your program sources + terminal.prg + terminal.ch Link => GTWVG Run => No Mode => ST ( Single Thread ) Main() FUNCTION in Harbour Application will have TO be modified TO accept one additional parameter <cServerInfo> at the END of the usual parameters your application is accepting as ususal. And make sure that you send the same number of parameter either on the command line or through .ini file. <cServerInfo> parameter is supplied by Harbour Terminal Server. At just start of the Harbour Application, immediately after variable definitions in main() add these lines: FUNCTION Main( [p1] [, p2] [, p3], cServerInfo ) LOCAL x, y // Required it initialize the GTWVG window SetColor( 'N/W,W/B,W+/N' ) CLS ? ' ' #ifdef __REMOTE__ // cServerInfo will be supplied by the Remote Server // RmtSvrSetInfo( cServerInfo ) IF ( nServerPort := RmtSvrSetInfo( 1 ) ) <> NIL .and. nServerPort > 0 IF !RmtSvrInitialize( NTRIM( nServerPort ), 60/*nTimeoutClient*/, 0.5 /*nTimeRefresh*/ ) Quit ENDIF ENDIF #endif ... ... RETURN Must remember to issue - ANNOUNCE HB_NOSTARTUPWINDOW - somewhere in your sources Please note that we do not want to show up the Harbour console on the server so HB_NOSTARTUPWINDOW symbol must be defined. And this is the only requirement for your appln to be NET ready. Technical Overview ================== Client connects to Server. Server looks for a free port - 45000+. Server invokes Harbour Application with client supplied parameters + <cSerrverInfo==45000+>. Harbour Application itself behaves as server on start listening on designated port. Server informs back to Client about this port where Harbour Application is listening. Client connects to Harbour Application on designated port. If connection is successful, Server closes the connection from Client and Application. Client and Application then have the direct communication. Client transmits the keystrokes and Application reacts TO those events as IF supplied via keyboard. Application transmits the screen buffer back TO client IF there have been any changes. Application also transmits special commands, call them 'Remote Procedure Calls'. Client responds TO received buffer according TO instruction it contains. Client retrieves buffer per command basis. Events are not serialized. The Bottom Line =============== The protocol above works as expected but is not as sophisticated as it should be. GTNET as Przemek has been talking about will be the perfect solution though this can be the basis FOR future enhancements. A lot can be improved, i.e., remote printing, etc., which I hope you Gurus can implement in no times. It is my humble contribution TO the Harbour world. Regards Pritpal Bedi <pritpal@vouchcac.com> a student of software analysis & design 2009-02-13 09:25 UTC+0100 Viktor Szakats * contrib/rddads/rddads.h ! Added missing extern directive. * contrib/hbwin/common.mak * contrib/hbwin/Makefile + Added hbwapi.h to installed headers. 2009-02-12 11:43 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) - harbour/include/hbwapi.h + harbour/contrib/hbwin/hbwapi.h 2009-02-12 11:23 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) + harbour/include/hbwapi.h As this header will be required fot many libraries in contrib I have placed it in core folder. It will pave me the way to isolated WINAPI wrappers as discussed earlier. Before I begin to shift functions in harbour/contrib/hbwin please feel free to include in this header whatever you feel will be required for such transition. 2009-02-12 12:48 UTC+0100 Viktor Szakats * source/lang/msgrukoi.c * source/lang/msgruwin.c * source/lang/msguakoi.c * source/lang/msguawin.c * source/lang/msgru866.c * source/lang/msgua866.c ! Fixed date format to be DD.MM.YYYY. 2009-02-12 10:57 UTC+0100 Viktor Szakats * include/hbsetup.h * include/hbapi.h * source/common/hbprintf.c * source/common/hbstr.c + Temporarily enabled local hb_snprintf() implementation. ; Please test. If it's okay, we can enable it permanently. * contrib/rddsql/sddmy/make_b32.bat * contrib/rddsql/sddmy/make_vc.bat * contrib/rddsql/sddpg/make_b32.bat * contrib/rddsql/sddpg/make_vc.bat * contrib/rddsql/sddfb/make_b32.bat * contrib/rddsql/sddfb/make_vc.bat ! Fixed typos for VC flavours. % Removed unnecessary INCLUDE path. * source/vm/maindllp.c ! Updated dll name for Borland and MSVC. * source/lang/msguawin.c * source/lang/msgua866.c * source/lang/msguakoi.c ! Fixed corrupted equal char in code. ! Fixed date format. ! Fixed CP IDs and descriptions in UA866 and UAKOI. ! Restored 'CA-Cl*pper' in comment. ; Please verify me. 2009-02-12 11:43 UTC+0200 Petr Chornyj (myorg63 at mail.ru) * /source/lang/msguawin.c * /source/lang/msgua866.c * /source/lang/msguakoi.c * Minor changes. 2009-02-12 10:49 UTC+0200 Petr Chornyj (myorg63 at mail.ru) * /source/lang/msguawin.c * /source/lang/msgua866.c * /source/lang/msguakoi.c * Corrected bad Ukrainian localization 2009-12-11 18:09 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtwvg/wvgwin.c - #include "hbwapi.h" 2009-12-11 17:00 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtwvg/wvgwin.c * harbour/contrib/gtwvg/wvgsink.c * harbour/contrib/gtwvg/wvgax.prg * harbour/contrib/gtwvg/wvgdlg.prg * harbour/contrib/gtwvg/wvgmenub.prg * harbour/contrib/gtwvg/wvgparts.ch * harbour/contrib/gtwvg/wvgphdlr.prg * harbour/contrib/gtwvg/wvgstatc.prg * harbour/contrib/gtwvg/wvgtoolb.prg * harbour/contrib/gtwvg/wvgwnd.prg ! Numerous enhancements and fixes, difficult to remember as most are spread over a long time and where I had no means to update them. But all are synchronized with changes effected till date by others. 2009-02-12 01:17 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/extend.c * formatting * harbour/contrib/gtwvg/wvgwin.c * pacified few warnings 2009-02-11 22:36 UTC+0100 Francesco Saverio Giudice (info/at/fsgiudice.com) * harbour/contrib/rddsql/sddfb/make_vc.bat * fixed typo ; NOTE: Viktor pls check me, this is my first build with MSVC. 2009-02-11 20:40 UTC+0100 Viktor Szakats * source/rtl/binnumx.c * Added rewritten versions of these functions: a proper license: BIN2U(), W2BIN(), U2BIN() ; Work of Przemek. * source/rtl/binnum.c ! Readded old copyright holder as co-holder. 2009-02-11 20:05 UTC+0100 Viktor Szakats * COPYING * doc/license.txt * source/rtl/binnum.c * Added rewritten versions of these functions, now with a proper license: BIN2W(), BIN2I(), BIN2L(), I2BIN(), L2BIN() ; Thanks to Przemek. 2009-02-11 19:47 UTC+0100 Viktor Szakats * include/std.ch * include/hbclass.ch * include/common.ch * HB_SYMBOL_UNUSED() moved to std.ch. 2009-02-11 19:44 UTC+0100 Viktor Szakats * contrib/hbct/files.c * source/common/hbfsapi.c * source/rtl/gtgui/gtgui.c * source/rtl/gttone.c * W32 -> Windows. In comments. 2009-02-11 19:40 UTC+0100 Viktor Szakats * doc/en/diskspac.txt * doc/en/terminal.txt * doc/en/setmode.txt * doc/es/diskspac.txt * doc/es/dirstruc.txt * doc/inet.txt * contrib/hbmysql/readme.txt * contrib/hbct/disk.c * contrib/hbtpathy/telepath.prg * contrib/hbole/tests/testole.prg * contrib/gtwvg/gtwvg.c * contrib/gtwvg/wvgclass.prg * contrib/gtwvg/gtwvg.h * contrib/gtwvg/wvggui.c * contrib/gtwvg/wvggui.h * contrib/gtwvg/wvgwin.c * contrib/gtwvg/wvgutils.c * contrib/gtwvg/wvgcore.c * contrib/hbgf/hbgfos2/winctrl.prg * contrib/hbgf/hbgfos2/tform.prg * source/common/hbver.c * source/rtl/run.c * source/rtl/gtwin/gtwin.c * source/rtl/oemansi.c * source/rtl/gtwvt/gtwvt.h * source/rtl/gtwvt/gtwvt.c * source/rtl/hbrandom.c * source/rtl/filesys.c * Win32 -> Windows. In comments / docs. 2009-02-11 19:03 UTC+0100 Viktor Szakats * COPYING * source/rtl/philes.c ! Fixed license to have the Harbour exception, in agreement with the group and main copyright holders. * Minor cleanup to HB_FGETDATETIME(). 2009-02-11 19:30 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/include/hbextern.ch * harbour/source/rtl/philes.c + added HB_FGETDATETIME(). A "brother" of function HB_FGETDATETIME(). ; TODO: BTW, hb_fs*() functions can get a better precision (milliseconds). It would be nice to support it also at .prg level. [DONE] 2009-02-11 18:30 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/source/vm/proc.c * hb_procname() support for symbol evaluation 2009-02-11 16:30 UTC+0100 Viktor Szakats * contrib/gtwvg/wvgutils.c ! Applied fixes done to WIN_APPENDMENU() to the exact same function named WVT_APPENDMENU(). % Converted WVT_APPENDMENU() to a simple stub redirecting the call to WIN_APPENDMENU(). 2009-02-11 15:33 UTC+0100 Viktor Szakats * contrib/gtwvg/wvgwin.c ! Fixed to use hb_snprintf() instead of unsafe sprintf(). ! Fixed WIN_APPENDMENU() to not directly modify Harbour string buffer (when compiled in non-Unicode mode). ! Fixed WIN_APPENDMENU() to modify string _before_ converting it to Unicode. (when compiled in Unicode mode). ; This clears the GPF previously reported by me. 2009-02-11 15:05 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/set.c ! fixed casting in hb_fsFileExists() * harbour/contrib/gtwvg/gtwvg.c * harbour/contrib/gtwvg/wvgsink.c ! fixed WinCE (Unicode) compilation 2009-02-11 14:51 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/gtwvg/wvgwin.c * harbour/contrib/gtwvg/wvgsink.c * pacified MinGW warnings. This one: ../../wvgsink.c:368: warning: comparison of unsigned expression < 0 is always false Should be checked by author. Pritpal can you look at it? 'count' is declared as WORD so it cannot be negative. 2009-02-11 13:10 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/ChangeLog * add missing information about optimized hb_fsExtName() in previous commit 2009-02-11 10:44 UTC+0100 Viktor Szakats * ChangeLog ! Fixed wrong name/email in previous changelog header of mine. 2009-02-11 09:46 UTC+0100 Viktor Szakats * source/rtl/gtwvt/gtwvt.c * BYTE -> CHAR (Windows) - UNDONE. * include/hbdefs.h + Added (commented) new types. Work in progress, incomplete. * contrib/hbssl/ssl.c - Temporary disabled SSL_GET_READ_AHEAD() as a workaround for BCC linking problem with SSL_get_read_ahead() OpenSSL library function (symbol is unresolved due to missing leading underscore in implib generated ssleay32.lib file). * source/vm/set.c % hb_fsFile() -> hb_fsFileExists() * source/rtl/hbffind.c * HB_WIN_32_MATCH -> HB_WIN_MATCH * doc/whatsnew.txt * include/hbsetup.h * source/vm/fm.c * #define HB_FM_WIN32_ALLOC renamed to HB_FM_WIN_ALLOC. ; INCOMPATIBLE: For those who are using this switch, please update your make files. * source/rtl/tpopup.prg ! Fixed to draw separator lines with BOX GT attributes, so that they appear properly. 2009-02-11 02:38 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapi.h * harbour/source/vm/cmdarg.c + added const char * hb_cmdargARGVN( int argc ) * harbour/source/vm/cmdarg.c * try to convert executable file name argument in argv[0] to absolute path if it's relative one. Respect PATH envvar it necessary. * harbour/source/common/hbdate.c * formatting * harbour/source/rtl/philes.c * harbour/source/rtl/errorint.c * harbour/source/rtl/filesys.c ! use hb_cmdargARGVN(n) instead of hb_cmdargARGV()[n] to avoid possible GPF if some function will be called before argument initialization * removed additional logic which tries to convert relative paths in file name from hb_fsBaseDirBuff() and HB_PROGNAME() functions % use hb_fsFileExists() instead of hb_fsFile() in hb_fsExtName() hb_fsExtName() is used by hb_fsExtOpen() and hb_fileExtOpen() which are used by RDD code. 2009-02-10 10:35 UTC+0100 Viktor Szakats * source/rtl/filesys.c ! Fixes for *NIX compilation to latest change. Please test. [ some more ] 2009-02-10 10:34 UTC+0100 Viktor Szakats * source/rtl/filesys.c ! Fixes for *NIX compilation to latest change. Please test. 2009-02-10 03:52 UTC+0100 Viktor Szakats * contrib/hbssl/Makefile + Added new detection dir. * source/rtl/gtwvt/gtwvt.c + Added support for HB_GTI_BOXCP. (available for UNICODE builds only). * source/rtl/filesys.c + Added (untested) support for *NIX system to hb_fsBaseDirBuff() / HB_DIRBASE(). 2009-02-10 04:15 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/classes.c * covered some old functions marked as deprecated long time ago by HB_LEGACY_LEVEL2 macro * harbour/source/rtl/hbgtcore.c * harbour/contrib/hbct/ctwin.c * harbour/contrib/hbct/keyset.c * harbour/contrib/hbct/misc3.c * harbour/contrib/hbnf/numlock.c * harbour/contrib/hbnf/shift.c * harbour/contrib/hbnf/alt.c * harbour/contrib/hbnf/ctrl.c * harbour/contrib/hbnf/caplock.c * use memset( >Info, 0, sizeof( gtInfo ) ); to initialize HB_GT_INFO structure - it also fixes possible problems with uninitialized pNewVal2 member in few cases. 2009-02-10 02:53 UTC+0100 Viktor Szakats * ChangeLog * contrib/rddsql/sddmy/common.mak * contrib/rddsql/sddmy/make_b32.bat * contrib/rddsql/sddmy/make_vc.bat * contrib/rddsql/sddpg/common.mak * contrib/rddsql/sddpg/make_b32.bat * contrib/rddsql/sddpg/make_vc.bat * contrib/rddsql/sddfb/common.mak * contrib/rddsql/sddfb/make_b32.bat * contrib/rddsql/sddfb/make_vc.bat ! Fixed HB_ROOT setting. This fixes a former FIXME in ChangeLog. 'set HB_ROOT = ..\..\..' was right, but spaces aren't accepted around '=', so it wasn't executed. 2009-02-10 02:34 UTC+0100 Viktor Szakats * include/hbapigt.h * source/rtl/hbgtcore.c * source/rtl/gtfunc.c - Removed unnecessary extension to HB_GT_INFO. 2009-02-10 02:04 UTC+0100 Viktor Szakats * doc/whatsnew.txt * include/hbextern.ch * source/vm/runner.c * source/rdd/dbcmd.c * __HRB*() functions marked as HB_LEGACY_LEVEL2 compatibility, please update your code to use HB_HRB*(). * __RDDGETTEMPALIAS() marked as HB_LEGACY_LEVEL2 compatibility, please update your code to use HB_RDDGETTEMPALIAS(). ; I've permanently remove these symbols from hbextern.ch, so regardless of the legacy setting, hbrun won't have them anymore. This is merely technical, as it would need some hacks in the make system to push through HB_LEGACY_OFF to pptable.c generation. If someone wants to deal with this, even better. * include/hbstdgen.ch * Added #undef __FILE__. * include/hbsetup.ch * Minor. 2009-02-10 01:39 UTC+0100 Viktor Szakats * doc/whatsnew.txt * include/clipdefs.h * include/filesys.api * include/gt.api * include/hbapi.h * include/hbapierr.h * include/hbapifs.h * include/hbapigt.h * include/hbapiitm.h * include/hbapirdd.h * include/hbdefs.h * include/hbgfxdef.ch * include/hbgtinfo.ch * include/hbsetup.ch * include/hbsetup.h * include/item.api * include/rdd.api * source/rtl/errorapi.c * source/rtl/filesys.c * source/vm/cmdarg.c * common.mak - source/vm/debugold.c * source/vm/Makefile * source/vm/vmmt/Makefile - Permanently disabled HB_LEGACY_LEVEL support. + Added HB_LEGACY_LEVEL2 support to protect some recently made incompatible changes. Old methods are supported until Harbour 1.2. Please update your code until then. To test your code for compatibility with recent changes, you can turn off legacy support manually by #defining HB_LEGACY_OFF. (HB_USER_CFLAGS=-DHB_LEGACY_OFF) This is recommended on local systems for all Harbour developers. 2009-02-10 01:38 UTC+0100 Francesco Saverio Giudice (info/at/fsgiudice.com) * harbour/contrib/examples/uhttpd/uhttpd.prg * Updated uHTTPD (Work in progress) + Added support for Sessions * Fixed ini file support * harbour/contrib/examples/uhttpd/cgifunc.prg * Fixed some functions + harbour/contrib/examples/uhttpd/session.prg + Session class * harbour/contrib/examples/uhttpd/modules/info.prg + Added display of SESSION vars + Added a simple example of SESSIONS * harbour/contrib/examples/uhttpd/hbmk_b32.bat * harbour/contrib/examples/uhttpd/hbmk_b32.bat + Added new files + harbour/contrib/examples/uhttpd/sessions + Added folder used in samples 2009-02-10 00:50 UTC+0100 Viktor Szakats * ChangeLog * Updated [DONE] statuses. 2009-02-10 00:39 UTC+0100 Viktor Szakats * include/hbapigt.h * source/rtl/gtfunc.c + Extended HB_GT_INFO structure with nPCount member. * include/hbgtinfo.ch * include/hbgtcore.h * source/rtl/hbgtcore.c + Added HB_GTI_CARGO. This can be used to store whatever user defined value on a per GT basis. HB_GTINFO( HB_GTI_CARGO[, <xValue ] ) -> <xPrevValue> * source/rtl/hbgtcore.c ! hb_gt_def_Alert() fixed to also initialize pNewVal2 with NULL. (didn't cause any real-world harm). * contrib/hbwin/win_tprn.prg % Minor optimizations. 2009-02-09 15:00 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rdd/hsx/hsx.c * keep HSX indexes in global table synced by mutex instead of using thread storage data (TSD) on HVM stack. It allows to move HSX indexes between threads, e.g. when workarea is moved by HB_DEATCH()/HB_REQUEST() 2009-02-09 12:43 UTC+0100 Viktor Szakats * source/rtl/fstemp.c ! Added cast for MSVC warning. (this code part was formerly only active for non-Windows builds) * include/hbapifs.h * source/rtl/fstemp.c * source/rtl/filebuf.c * UCHAR -> BYTE in new FS functions, for consistency. 2009-02-08 22:19 UTC+0100 Viktor Szakats * include/hbapifs.h * source/rtl/spfiles.c + Added hb_spFileExists(). Same as hb_spFile(), but uses the more efficient (especially on networks) hb_fsFileExists() call to check for file exitance. [ not very elegant solution, as I've just copied the whole function, and changed the file existance call, maybe a worker function + passing the check function pointer could help, but the hb_fsFile() and hb_fsFileExists() workings differ slightly. ] * source/rdd/dbfntx/dbfntx1.c * source/rdd/dbfnsx/dbfnsx1.c * source/rdd/dbfcdx/dbfcdx1.c * source/rdd/dbf1.c % Using hb_spFileExists() instead of hb_spFile(). This API also works for dirs where user doesn't have file listing rights, which may create a slight incompatibility by finding files which weren't found by former method (and by Clipper). C:\WINDOWS\TEMP\*.* were such when logged in as non-admin user, but this dir is only used as a default TEMP dir for DOS programs. Please speak up if you find this issue (or something else) to be problem. * source/rtl/file.c * File naming standardized. * doc/whatsnew.txt * Minor updates. 2009-02-08 20:56 UTC+0100 Viktor Szakats * doc/whatsnew.txt + Started 1.1.0 whatsnew section. Incomplete. Please, review, extend, reorder, proofread, etc. 2009-02-08 18:06 UTC+0100 Viktor Szakats * source/rtl/gtwvt/gtwvt.c * BYTE -> CHAR (Windows) * contrib/hbct/ctwin.c * contrib/hbct/ctwin.h + Added hb_ctwGetPosWindows() to find out which window is visible on a given physical screen coordinate. * make_b32.mak * make_gcc.mak * make_vc.mak * Formatting. * include/hbdefs.h + Added type HB_COLOR to replace current BYTE. * Minor formatting. * contrib/rddsql/sddfb/make_b32.bat * contrib/rddsql/sddfb/make_vc.bat * contrib/rddsql/sddmy/make_b32.bat * contrib/rddsql/sddmy/make_vc.bat * contrib/rddsql/sddpg/make_b32.bat * contrib/rddsql/sddpg/make_vc.bat * Minor cleanup. * source/vm/hvm.c * source/vm/memvars.c * Added varnames to prototypes. 2009-02-07 02:15 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/fstemp.c * casting for C++ mode 2009-02-07 01:21 UTC+0100 Viktor Szakats * include/hbapifs.h * include/hbextern.ch * source/rtl/fstemp.c * source/rtl/filebuf.c + Added hb_fsCreateTempEx(). Similar to hb_fsCreateTemp(), but allows to control the extension. Note, that the ordering of parameters ha slightly changed compared to hb_fsCreateTemp(). + Added hb_fileCreateTempEx(). See above. + Added Harbour level HB_FTEMPCREATEEX(). See above. HB_FTEMPCREATEEX( @<cName>, <cDir>, <cPrefix>, <cExt> ) -> <nHandle> ; Please review & test. 2009-02-07 00:27 UTC+0100 Viktor Szakats * source/debug/dbgentry.c % Using HB_ISFIRSTIDCHAR() and HB_ISNEXTIDCHAR() macros. 2009-02-07 00:22 UTC+0100 Viktor Szakats * include/Makefile - include/hbfixdj.h * include/hbsetup.h - Removed file no longer needed. Harbour no longer uses is*()/toupper()/tolower() calls, or <ctype.h>. * source/rtl/gtpca/gtpca.c % Removed #include <ctype.h>. 2009-02-07 00:22 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbdefs.h * harbour/include/hbapi.h * moved HB_ISSPACE(), HB_ISFIRSTIDCHAR() and HB_ISNEXTIDCHAR() from hbapi.h to hbdefs.h + HB_ISXDIGIT() macro * harbour/include/hbpp.h * updated other HB_PP_IS*() macros definitions to internally use HB_IS*() ones * harbour/source/rtl/fstemp.c ! fixed unterminated ASCIIZ string TODO: new macros HB_CHARVAL( c ), HB_CHARXVAL( c ), HB_VALDIGIT( i ), HB_VALXDIGIT( i ) 2009-02-06 23:47 UTC+0100 Viktor Szakats * common.mak * harbour-wce-spec * harbour-win-spec * harbour.spec * make_b32.bat * make_b32.mak * make_gcc.mak * make_gcc.sh * make_gnu.bat * make_gnu.sh * make_gnu_os2.cmd * make_gnu_xmingw.sh * make_gnu_xmingwce.sh * make_vc.bat * make_vc.mak * mpkg_tgz.sh * bin/hb-func.sh * bin/hb-mkslib.sh * bin/hbmk.bat * bin/hbmk_os2.cmd * bin/postinst.sh * config/bin.cf * config/bsd/gcc.cf * config/darwin/gcc.cf * config/dos/bcc16.cf * config/dos/djgpp.cf * config/dos/owatcom.cf * config/dos/rsx32.cf * config/hpux/gcc.cf * config/lib.cf * config/linux/gcc.cf * config/linux/owatcom.cf * config/os2/gcc.cf * config/os2/icc.cf * config/rules.cf * config/sunos/gcc.cf * config/win/bcc32.cf * config/win/dm.cf * config/win/gcc.cf * config/win/icc.cf * config/win/mingw.cf * config/win/mingwce.cf * config/win/msvc.cf * config/win/msvcce.cf * config/win/owatcom.cf * config/win/pocc.cf * config/win/pocc64.cf * config/win/poccce.cf * config/win/rsxnt.cf * config/win/xcc.cf * contrib/gtalleg/Makefile * contrib/hbapollo/Makefile * contrib/hbcurl/Makefile * contrib/hbfbird/Makefile * contrib/hbfimage/Makefile * contrib/hbgd/Makefile * contrib/hbgd/tests/hbmk_b32.bat * contrib/hbgd/tests/hbmk_vc.bat * contrib/hbgf/hbgfgtk/Makefile * contrib/hbhpdf/Makefile * contrib/hbmysql/Makefile * contrib/hbodbc/Makefile * contrib/hbpgsql/Makefile * contrib/hbssl/Makefile * contrib/hbtip/ChangeLog * contrib/hbwhat/Makefile * contrib/hbwhat/tests/hbmk_b32.bat * contrib/hbwhat/tests/hbmk_vc.bat * contrib/mtpl_b32.bat * contrib/mtpl_b32.mak * contrib/mtpl_gcc.mak * contrib/mtpl_gcc.sh * contrib/mtpl_vc.bat * contrib/mtpl_vc.mak * contrib/rddads/Makefile * contrib/rddsql/sddfb/Makefile * contrib/rddsql/sddmy/Makefile * contrib/rddsql/sddpg/Makefile * doc/es/tracing.txt * doc/gmake.txt * doc/tracing.txt * include/hbapi.h * source/main/harbour.c * source/pp/hbpp.c * source/rdd/dbffpt/Makefile * source/vm/cmdarg.c * source/vm/Makefile * source/vm/vmmt/Makefile * tests/multifnc/Makefile * tests/testid.prg * utils/hbdoc/Makefile * utils/hbi18n/Makefile * utils/hbmake/hbmake.prg * utils/hbmake/Makefile * utils/hbrun/Makefile * utils/hbtest/Makefile * Renamed remaining build configration envvars: - PRG_USR -> HB_USER_PRGFLAGS - C_USR -> HB_USER_CFLAGS - L_USR -> HB_USER_LDFLAGS - A_USR -> HB_USER_AFLAGS - MK_USR -> HB_USER_MAKEFLAGS (finally settled with HB_USER* instead of HB_USR*, this also means that HB_USER_LIBS was kept unchanged.) ; Please update your environment. You may use these commands to make it easy: gsar -o -sPRG_USR -rHB_USER_PRGFLAGS * gsar -o -sC_USR -rHB_USER_CFLAGS * gsar -o -sL_USR -rHB_USER_LDFLAGS * gsar -o -sA_USR -rHB_USER_AFLAGS * gsar -o -sMK_USR -rHB_USER_MAKEFLAGS * 2009-02-06 23:00 UTC+0100 Viktor Szakats * include/hbpp.h * Minor rearrangement of previous state. Still referencing HB_ISDIGIT() and HB_TOUPPER(), one time each. * contrib/xhb/hbxml.c * isspace() -> HB_ISSPACE(). HB_ISSPACE() should be revised in the future if Unicode is used, but until then this is fine here. * ChangeLog * Marked one TODO as [CANCELLED]. 2009-02-06 22:44 UTC+0100 Viktor Szakats * contrib/make_b32_all.bat * contrib/make_gcc_all.sh * contrib/make_vc_all.bat * Corrected to always build rddsql (not just when MYSQL is configured). * contrib/rddsql/make_b32.bat * contrib/rddsql/make_vc.bat * contrib/rddsql/make_gcc.sh + Added logic to build sdds. (logic copied from contrib/make_*_all.* files) * contrib/rddsql/sddfb/make_b32.bat * contrib/rddsql/sddfb/make_vc.bat * contrib/rddsql/sddfb/Makefile * FBIRD -> FIREBIRD to be in sync with hbfbird setup. * contrib/rddsql/sddfb/fbirddd.c + Added hack (from hbfbird) to make it work with latest FB and BCC versions. 2009-02-06 21:35 UTC+0100 Viktor Szakats * include/hbdefs.h - Removed HB_ISSPACE(). It was already defined. * include/hbset.h * contrib/hbct/ctwin.c * contrib/hbct/ctwin.h * source/vm/set.c * BYTE -> UCHAR 2009-02-06 20:02 UTC+0100 Viktor Szakats * source/codepage/cptr857.c * source/codepage/cphu852s.c * source/codepage/cphuwins.c * source/codepage/cphuisos.c * source/codepage/cpes850c.c ! Fixed accents Far Manager (one of its new plugins probably) messed up. 2009-02-06 19:03 UTC+0100 Viktor Szakats * include/hbdefs.h + Added HB_ISALNUM() macro. + Added HB_ISSPACE() macro. Please review. * source/contrib/hbver.c * isspace() -> HB_ISSPACE(). * contrib/rddads/ads1.c ! toupper() -> HB_TOUPPER() * contrib/xhb/hbxml.c + Readded #include <ctype.h> because this one still uses isspace(). * include/hbcomp.h * include/hbmacro.h * contrib/hbct/token1.c * contrib/hbodbc/odbc.c * contrib/xhb/freadlin.c * contrib/rddsql/sqlmix.c * contrib/gtwvg/gtwvg.h * contrib/gtwvg/wvggui.h * contrib/rddads/adsx.c * contrib/rddads/ads1.c * contrib/hbclipsm/time.c * contrib/hbclipsm/status.c * contrib/hbmisc/dates2.c * contrib/hbwin/win_ole.c * contrib/examples/pp/pp.c * source/debug/dbgentry.c * source/common/hbver.c * source/rtl/chrasc.c * source/rtl/philes.c * source/rtl/dirdrive.c * source/rtl/dateshb.c * source/rtl/philesx.c * source/rtl/disksphb.c * source/rtl/soundex.c * source/rtl/gtapi.c * source/rtl/filesys.c * source/codepage/cppt850.c * source/codepage/cpuawin.c * source/codepage/cpde850.c * source/codepage/cpsv850.c * source/codepage/cpeswinc.c * source/codepage/cptr857.c * source/codepage/cpru866.c * source/codepage/cproiso.c * source/codepage/cprowin.c * source/codepage/cpeswinm.c * source/codepage/cpes850.c * source/codepage/cpcs852.c * source/codepage/cpitisb.c * source/codepage/cphu852.c * source/codepage/cpsk852.c * source/codepage/cpplmaz.c * source/codepage/cpesisoc.c * source/codepage/cppliso.c * source/codepage/cpbgmik.c * source/codepage/cpplwin.c * source/codepage/cpbg866.c * source/codepage/cpltwin.c * source/codepage/cphu852s.c * source/codepage/cpptiso.c * source/codepage/cpel737.c * source/codepage/cpsrwin.c * source/codepage/cpsviso.c * source/codepage/cpdeiso.c * source/codepage/cpfr850.c * source/codepage/cpsvwin.c * source/codepage/cpdewin.c * source/codepage/cphr437.c * source/codepage/cpes850c.c * source/codepage/cphr852.c * source/codepage/cpua866.c * source/codepage/cpit850.c * source/codepage/cpit437.c * source/codepage/cpsl437.c * source/codepage/cpsl852.c * source/codepage/cphuwins.c * source/codepage/cpcsiso.c * source/codepage/cpesiso.c * source/codepage/cpcswin.c * source/codepage/cpeswin.c * source/codepage/cphuiso.c * source/codepage/cpskiso.c * source/codepage/cprukoi.c * source/codepage/cphuwin.c * source/codepage/cpskwin.c * source/codepage/cp_tpl.c * source/codepage/cpruiso.c * source/codepage/cpruwin.c * source/codepage/cphuisos.c * source/codepage/cpelwin.c * source/codepage/cpro852.c * source/codepage/cpfriso.c * source/codepage/cpfrwin.c * source/codepage/cpitiso.c * source/codepage/cphrwin.c * source/codepage/cpsliso.c * source/codepage/cpitwin.c * source/codepage/cpslwin.c * source/codepage/cpcskam.c * source/codepage/cpsvclip.c * source/codepage/cpbgiso.c * source/codepage/cptrwin.c * source/codepage/cpskkam.c * source/codepage/cpbgwin.c * source/codepage/cpuakoi.c * source/codepage/cppl852.c * utils/hbdoc/hbdfrdln.c * utils/hbmake/hbmfrdln.c % Removed #include <ctype.h>. Most of these didn't need it anyway. 2009-02-06 18:46 UTC+0100 Viktor Szakats * include/hbdefs.h + Added HB_ISALNUM() macro. * include/hbpp.h * include/hbapicdp.h * contrib/hbct/pos1.c * contrib/hbct/ascpos.c * contrib/xhb/hbxml.c * contrib/hbtip/utils.c * contrib/examples/pp/hbppcore.c * source/vm/itemapi.c * source/vm/memvars.c * source/vm/set.c * source/vm/classes.c * source/debug/dbgentry.c * source/common/hbstr.c * source/common/expropt2.c * source/rtl/strcase.c * source/rtl/cdpapi.c * source/rtl/is.c * source/rtl/transfrm.c * source/rtl/dates.c * source/rtl/natmsg.c * source/rtl/soundex.c * source/rtl/hbffind.c * source/rdd/workarea.c * source/compiler/hbmain.c * source/compiler/harbour.yyc * source/compiler/harbour.y * Replaced: isdigit() -> HB_ISDIGIT() isalpha() -> HB_ISALPHA() isalnum() -> HB_ISALNUM() isupper() -> HB_ISUPPER() islower() -> HB_ISLOWER() tolower() -> HB_TOLOWER() toupper() -> HB_TOUPPER() * source/rtl/natmsg.c ! Fixed to use CP sensitive case conversion in __NATISNEGATIVE() and __NATISAFFIRM(). * source/rtl/is.c ! Fixed typo in recently added hb_charIsUpper()/hb_charIsLower() functions. ; TODO: Remove DJGPP to*() hack. (or should we keep it to support foreign code, like hbpcre and hbzlib?) [DONE] ; TODO: Replace HB_PP_UPPER(), HB_PP_ISDIGIT() with equivalent new macros. [CANCELLED] ; TODO: Remove remaining #include <ctype.h> lines. [DONE] ; FIXME: Some of the above macros should better be replaced by CP sensitive versions. E.g. the one in hbtip. 2009-02-06 17:46 UTC+0100 Viktor Szakats * include/hbdefs.h + Added macros: HB_TOUPPER(), HB_TOLOWER(), HB_ISUPPER(), HB_ISLOWER(), HB_ISALPHA(), HB_ISDIGIT(). * source/rtl/strcase.c * source/compiler/cmdcheck.c * Replaced tolower()/toupper()/isdigit() with macros or other constructs. * source/rtl/tmenusys.prg % Changed to use Inkey() second parameter instead of tweaking Set( _SET_EVENTMASK ). * contrib/rddads/ads1.c * Minor formatting. 2009-02-06 13:46 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/harbour-win-spec ! fixed CRLF=>LF * harbour/harbour-win-spec * harbour/harbour-wce-spec * harbour/harbour.spec * set svn attributes 2009-02-06 12:29 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/common/hbprintf.c * pacified warning * harbour/source/rtl/philesx.c ! fixed typo 2009-02-06 11:52 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/hbproces.c * removed always false condition for #if expression 2009-02-06 11:30 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/estack.c ! added missing HB_STACK_TLS_PRELOAD 2009-02-06 11:26 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/philes.c * harbour/source/rtl/dirdrive.c * harbour/source/rtl/philesx.c * harbour/source/rtl/filesys.c ! fixed CURDRIVE() and DISKNAME() to not return "A" in OS-es which does not use drive letters ! eliminated toupper() % minor cleanup and speed improvement * harbour/config/bin.cf * harbour/config/test.cf * removed quoting for TOP=$(GRANDP) nested GNU make call parameters 2009-02-06 10:55 UTC+0100 Maurilio Longo (maurilio.longo@libero.it) * config/os2/dir.cf * use $(COMSPEC) instead of calling cmd.exe directly * config/os2/gcc.cf * rewrote create_library rule to work with make -jn without breaking shell environment/command line size. * source/rtl/hbproces.c * included sys/waith.h in OS/2 build. I think that initial #defines can be simplified a bit. * config/os2/install.cf * rewrote install_rule to work with make -jn without breaking shell environment/command line size. * config/lib.cf * removed unnecessary double quotes around TOP definition 2009-02-06 00:05 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbstack.h * harbour/source/vm/estack.c ! fixed typo in one internal function name * harbour/include/hbapi.h * harbour/include/hbstack.h * harbour/source/vm/estack.c * harbour/source/vm/dynsym.c * harbour/source/vm/memvars.c % changed code used for memvars clear in MT mode - it greatly reduce the cost of HVM thread exit % changed code for memvars copping/sharing when thread is started it greatly reduce the time of thread creation when existing memvars are shared or copied Both modifications reduced the cost of simple hb_threadJoin( hb_threadCreate( {|| NIL } ) ) few times depending on number of symbols and memvars. * harbour/source/rtl/gttrm/gttrm.c * harbour/source/rtl/gtsln/gtsln.c * harbour/source/rtl/gtsln/gtsln.h * harbour/source/rtl/gtpca/gtpca.c % added better initial cursor position detection and eliminated sscanf() * harbour/source/Makefile ! fixed concurrent dependencies in cross builds 2009-02-05 10:21 UTC+0100 Viktor Szakats * contrib/rddado/adordd.prg ! Fixed HB_SYMOL_USED() -> HB_SYMBOL_UNUSED() * Formatting. * mpkg_rpm.sh * harbour.spec * -with hbhpdf -> -with libharu This should also fix hbhpdf to libharu in generated rpm name. Please test. * contrib/hbwin/win_prn2.c * contrib/hbwin/win_prn1.c * Minor cleanups, formatting. 2009-02-04 02:20 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/contrib/rddsql/sddfb/make_b32.bat * removed 'echo on' I've left for debugging purpose some time ago 2009-02-04 23:55 UTC+0100 Viktor Szakats * harbour-win-spec ! Fixed some accents messed up in latest changes. 2009-02-04 23:39 UTC+0100 Viktor Szakats * source/compiler/cmdcheck.c * source/compiler/hbmain.c * source/compiler/hbusage.c * Minor rename. 2009-02-04 23:23 UTC+0100 Viktor Szakats * include/hbwince.h * include/hb_io.h * include/hbwmain.c * include/hbthread.h * include/hbsetup.h * include/hbmath.h * include/hbassert.h * contrib/gtwvg/gtwvg.c * contrib/gtwvg/gtwvg.h * contrib/gtwvg/wvggui.c * contrib/gtwvg/wvggui.h * contrib/gtwvg/wvgutils.c * contrib/hbwin/win_prn2.c * contrib/hbwin/win_dll.c * contrib/hbwin/win_prn1.c * contrib/examples/pp/pp.c * contrib/examples/pp/hbppcore.c * source/pp/hbpp.c * source/vm/fm.c * source/vm/extrap.c * source/main/harbour.c * source/common/hbver.c * source/common/hbwince.c * source/rtl/diskspac.c * source/rtl/hbgtcore.c * source/rtl/gtclip.c * source/rtl/gtstd/gtstd.c * source/rtl/disksphb.c * source/rtl/gtpca/gtpca.c * source/rtl/seconds.c * source/rtl/filebuf.c * source/rtl/hbproces.c * source/rtl/gtwvt/gtwvt.h * source/rtl/gtwvt/gtwvt.c * source/rtl/fssize.c * source/rtl/hbinet.c * source/rtl/gtsys.c * source/rtl/filesys.c * HB_WINCE -> HB_OS_WIN_CE. Now all OS branching #defines are in the HB_OS_* namespace. Please use the new name from now on. 2009-02-04 23:13 UTC+0100 Viktor Szakats * source/rtl/tget.prg * source/rtl/tgetx.prg * source/rtl/tbcolumn.prg * source/rtl/tbrowse.prg * Reset internal name of GET(), TBROWSE(), TBCOLUMN(), because even if Clipper doesn't have such public symbols, Class(y) has them, and we want to maintain compatibility. * include/hbextern.ch + Added GET, TBROWSE, TBCOLUMN. 2009-02-04 23:04 UTC+0100 Viktor Szakats * contrib/examples/hbsqlit2/tests/hbmk_b32.bat * contrib/examples/hbsqlit2/tests/hbmk_vc.bat * contrib/gtwvg/tests/hbmk_b32.bat * contrib/gtwvg/tests/hbmk_vc.bat * contrib/hbapollo/tests/hbmk_b32.bat * contrib/hbapollo/tests/hbmk_vc.bat * contrib/hbclipsm/tests/hbmk_b32.bat * contrib/hbclipsm/tests/hbmk_vc.bat * contrib/hbcrypt/tests/hbmk_b32.bat * contrib/hbcrypt/tests/hbmk_vc.bat * contrib/hbct/tests/hbmk_b32.bat * contrib/hbct/tests/hbmk_vc.bat * contrib/hbcurl/tests/hbmk_b32.bat * contrib/hbcurl/tests/hbmk_vc.bat * contrib/hbfbird/tests/hbmk_b32.bat * contrib/hbfbird/tests/hbmk_vc.bat * contrib/hbfimage/tests/hbmk_b32.bat * contrib/hbfimage/tests/hbmk_vc.bat * contrib/hbgd/tests/hbmk_b32.bat * contrib/hbgd/tests/hbmk_vc.bat * contrib/hbgf/tests/hbmk_b32.bat * contrib/hbgf/tests/hbmk_vc.bat * contrib/hbhpdf/tests/hbmk_b32.bat * contrib/hbhpdf/tests/hbmk_vc.bat * contrib/hbmisc/tests/hbmk_b32.bat * contrib/hbmisc/tests/hbmk_vc.bat * contrib/hbmsql/tests/hbmk_b32.bat * contrib/hbmsql/tests/hbmk_vc.bat * contrib/hbmysql/tests/hbmk_b32.bat * contrib/hbmysql/tests/hbmk_vc.bat * contrib/hbmysql/utils/hbmk_b32.bat * contrib/hbmysql/utils/hbmk_vc.bat * contrib/hbmzip/tests/hbmk_b32.bat * contrib/hbmzip/tests/hbmk_vc.bat * contrib/hbnf/tests/hbmk_b32.bat * contrib/hbnf/tests/hbmk_vc.bat * contrib/hbodbc/tests/hbmk_b32.bat * contrib/hbodbc/tests/hbmk_vc.bat * contrib/hbole/tests/hbmk_b32.bat * contrib/hbole/tests/hbmk_vc.bat * contrib/hbpgsql/tests/hbmk_b32.bat * contrib/hbpgsql/tests/hbmk_vc.bat * contrib/hbsqlit3/tests/hbmk_b32.bat * contrib/hbsqlit3/tests/hbmk_vc.bat * contrib/hbssl/tests/hbmk_b32.bat * contrib/hbssl/tests/hbmk_vc.bat * contrib/hbtip/tests/hbmk_b32.bat * contrib/hbtip/tests/hbmk_vc.bat * contrib/hbtpathy/tests/hbmk_b32.bat * contrib/hbtpathy/tests/hbmk_vc.bat * contrib/hbvpdf/tests/hbmk_b32.bat * contrib/hbvpdf/tests/hbmk_vc.bat * contrib/hbwhat/tests/hbmk_b32.bat * contrib/hbwhat/tests/hbmk_vc.bat * contrib/hbwin/tests/hbmk_b32.bat * contrib/hbwin/tests/hbmk_vc.bat * contrib/hbziparc/tests/hbmk_b32.bat * contrib/hbziparc/tests/hbmk_vc.bat * contrib/rddado/tests/hbmk_b32.bat * contrib/rddado/tests/hbmk_vc.bat * contrib/rddads/tests/hbmk_b32.bat * contrib/rddads/tests/hbmk_vc.bat * contrib/rddsql/tests/hbmk_b32.bat * contrib/rddsql/tests/hbmk_vc.bat * contrib/xhb/tests/hbmk_b32.bat * contrib/xhb/tests/hbmk_vc.bat * source/rdd/usrrdd/example/hbmk_b32.bat * source/rdd/usrrdd/example/hbmk_vc.bat * tests/hbmk_b32.bat * tests/hbmk_vc.bat * HB_ARCHITECTURE w32 -> win transition. Pass 2. ; NOTE: HB_ARCHITECURE=w32 still works, but it's strongly recommended to switch to 'win'. 2009-02-04 23:00 UTC+0100 Viktor Szakats * bin/hb-func.sh * bin/hb-mkslib.sh * bin/hbmk.bat * bin/hbmk_b32.bat * bin/hbmk_vc.bat * bin/pack_src.sh * bin/postinst.bat * contrib/examples/uhttpd/modules/bldhrb.bat * contrib/gtwvg/Makefile * contrib/hbct/ctflist.txt * contrib/hbgf/hbgfwin/Makefile * contrib/hbgf/Makefile * contrib/hbodbc/Makefile * contrib/hbole/Makefile * contrib/hbtpathy/Makefile * contrib/hbwhat/Makefile * contrib/hbwin/Makefile * contrib/make_gcc_all.sh * contrib/mtpl_b32.mak * contrib/mtpl_gcc.mak * contrib/mtpl_gcc.sh * contrib/mtpl_vc.mak * doc/dirstruc.txt * doc/es/dirstruc.txt * doc/funclist.txt * doc/gmake.txt * harbour-wce-spec * harbour-win-spec * make_b32.mak * make_gcc.mak * make_gcc.sh * make_gnu.bat * make_gnu.sh * make_gnu_xmingw.sh * make_gnu_xmingwce.sh * make_vc.mak * Makefile * mpkg_tgz.sh * source/vm/Makefile * source/vm/vmmt/Makefile - config/w32 + config/win * HB_ARCHITECTURE w32 -> win transition. Pass 1. 2009-02-04 22:11 UTC+0100 Viktor Szakats * bin/hbmk.bat * make_gcc.sh * make_gnu.sh + All of these now accept 'win' instead of 'w32'. * make_gcc.sh * make_gnu.sh * make_gnu_xmingwce.sh * make_gnu_xmingw.sh ! Indentation fixed. 2009-02-04 21:59 UTC+0100 Viktor Szakats * include/hbgtcore.h * contrib/gtwvg/gtwvg.c * contrib/gtwvg/wvggui.c * source/rtl/gtclip.c * source/rtl/gttone.c * source/rtl/gtkbstat.c * source/rtl/gtgui/gtgui.c * source/rtl/gtwin/gtwin.c * source/rtl/gtwvt/gtwvt.c * hb_gt_w32_*() internal functions renamed to hb_gt_winapi_*(). 2009-02-04 21:48 UTC+0100 Viktor Szakats * contrib/rddado/tests/hbmk_b32.bat * contrib/rddado/tests/hbmk_vc.bat ! hbw32.lib -> hbwin.lib * source/vm/set.c ! Fixed HB_OS_W32 (non-existing) macro to HB_OS_WIN. It caused that device names were not uppercased in Windows builds, which wasn't fatal. 2009-02-04 19:20 UTC+0100 Viktor Szakats * include/hbextern.ch * source/rtl/tbcolumn.prg * source/rtl/tbrowse.prg * source/rtl/tget.prg * source/rtl/tgetx.prg ! Using new method to solve the GET()/TBROWSE()/TBCOLUMN() symbol problem (these aren't public symbols in Clipper). The method used is the one already implemented for other C53 CUI classes. This allows inheritance, doesn't mess up the class name, and won't declare above public symbols. * Moved Xbase++ compatible GET()/TBROWSE()/TBCOLUMN() functionality into separate classes, all inheriting from original Harbour classes. This means that Xbase++ compatible methods are only accessible when using the derived classes. The separation will allow us to move XPP (and other HB_COMPAT_*) compatible functionality into separate libraries in the future, allowing more freedom to resolve clashing features, symbol names, etc.. * Xbase++ compatible classes are named: xpp_Get(), xpp_TBrowse(), xpp_TBColumn(). This is a slight incompatibility compared to Xbase++ and also to previous Harbour. Technically it seems possible to give them the names GET()/TBROWSE()/TBCOLUMN(), if the class is defined in a different file, but let's first discuss it. * source/rtl/tgetint.prg * Using GetNew() instead of Get():New(). ; Finally I didn't use '( ... )' to pass parameters in GetNew(), as it's a tiny bit less efficient with -gc3. * include/hbusrrdd.ch * include/hbapi.h + Comment. 2009-02-04 14:42 UTC+0100 Viktor Szakats * include/hbextern.ch * common.mak * source/rtl/Makefile + source/rtl/tgetx.prg * source/rtl/tget.prg * source/rtl/tgetint.prg + CA-Cl*pper compatible GET class renamed to HBGet and is now always available regardless of feature settings. * Xbase++ compatible GET class named Get(), moved to separate file and now inherits from HBGet, plus implements additional functionality also in the separate file. * GetNew() moved to tget.prg from tgetint.prg. * Code changed to use HBGet():New() instead of Get():New(). ; FIXME: After above changes, Xbase++ compatiblity methods are no longer available for regular GETs, only if they are explicitly created using Get():New(). If this is a problem for someone we can start thinking of a solution. [OK] ; TODO: Do the same with TBrowse() and TColumn(). [DONE] 2009-02-04 09:49 UTC+0100 Viktor Szakats * contrib/hbwin/win_tprn.prg * Formatting. * contrib/hbwin/win_prn1.c * contrib/hbwin/win_prn2.c * Cleanups, formatting. + Added WIN_ABORTDOC() (Windows API compatible equivalent of WIN_ENDDOC( .T. )) * contrib/hbwin/win_misc.c ! Fixed returning handle from WIN_RUNDETACHED(). * contrib/hbwin/tests/testprn.prg ! Fix to prev commit. 2009-02-04 02:16 UTC+0100 Viktor Szakats * contrib/hbwin/win_prn1.c ! Typo in prev commit. 2009-02-04 02:15 UTC+0100 Viktor Szakats * contrib/hbwin/win_prn1.c + Added support to pass HDCs as numeric parameters to all Harbour level functions. This allows them to behave as generic Windows API wrappers, and makes WIN_MULDIV(), WIN_RECTANGLE(), WIN_SETBKMODE() fully compatible with parallel GTWVG implementations, so duplicated can now be removed from there. 2009-02-04 01:36 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/arrays.c ! protection against possible GPF in hb_rAscan() if user block reduces the array size * harbour/source/debug/tbrwtext.prg ! fixed source color text to be more Clipper compatible. Borrowed from xHarbour by Phil Krylov * harbour/source/debug/debugger.prg ! added missing :forceStable() to refresh the screen after break point setting 2009-02-04 01:09 UTC+0100 Viktor Szakats * include/extend.api * include/hbgtcore.h * include/hbwince.h * include/hbthread.h * include/hbdefs.h * include/hbsetup.h * include/hbapi.h * include/clipdefs.h * include/hbatomic.h * contrib/hbmysql/mysql.c * contrib/hbct/ctnet.c * contrib/hbct/files.c * contrib/hbct/dattime3.c * contrib/hbct/disk.c * contrib/hbodbc/odbc.c * contrib/xhb/hboutdbg.c * contrib/xhb/hbsyslog.c * contrib/xhb/filestat.c * contrib/hbmsql/msql.c * contrib/hbole/ole2.c * contrib/hbmzip/hbmzip.c * contrib/hbapollo/apollo.c * contrib/hbfbird/firebird.c * contrib/hbnf/descendn.c * contrib/hbnf/getenvrn.c * contrib/rddsql/sqlmix.c * contrib/gtwvg/gtwvg.c * contrib/gtwvg/wvggui.c * contrib/gtwvg/wvgwin.c * contrib/gtwvg/wvgutils.c * contrib/gtwvg/wvgcore.c * contrib/rddads/adsx.c * contrib/rddads/rddads.h * contrib/rddads/adsmgmnt.c * contrib/rddads/adsfunc.c * contrib/rddads/ads1.c * contrib/hbfimage/fi_winfu.c * contrib/hbfimage/fi_wrp.c * contrib/hbgd/gd.ch * contrib/hbgd/gdwrp.c * contrib/hbgf/hbgfwin/winapi.c * contrib/hbtip/utils.c * contrib/hbtip/ChangeLog * contrib/hbwin/win_prn2.c * contrib/hbwin/win_osc.c * contrib/hbwin/win_misc.c * contrib/hbwin/win_prt.c * contrib/hbwin/win_dll.c * contrib/hbwin/win_ole.c * contrib/hbwin/win_prn1.c * contrib/hbwin/win_regc.c * contrib/hbssl/sslsess.c * contrib/hbssl/sslrand.c * contrib/hbwhat/whtdate.c * contrib/hbwhat/whtini.c * contrib/hbwhat/whtcret.c * contrib/hbwhat/whthead.c * contrib/hbwhat/whtilst.c * contrib/hbwhat/whtreg.c * contrib/hbwhat/whtclpb.c * contrib/hbwhat/whtmous.c * contrib/hbwhat/whtrgn.c * contrib/hbwhat/whtmeta.c * contrib/hbwhat/whttbar.c * contrib/hbwhat/whtrect.c * contrib/hbwhat/whtbrsh.c * contrib/hbwhat/whtgdi.c * contrib/hbwhat/whtdlg.c * contrib/hbwhat/whtview.c * contrib/hbwhat/whtsys.c * contrib/hbwhat/whtmain.c * contrib/hbwhat/whtwnd.c * contrib/hbwhat/whtmmcap.c * contrib/hbwhat/whtfont.c * contrib/hbwhat/whtdir.c * contrib/hbwhat/whtbmp.c * contrib/hbwhat/whtkbrd.c * contrib/hbwhat/whtpen.c * contrib/hbwhat/whttext.c * contrib/hbwhat/whtdc.c * contrib/hbwhat/whtdraw.c * contrib/examples/uhttpd/socket.c * contrib/examples/uhttpd/uhttpdc.c * source/vm/mainwin.c * source/vm/maindll.c * source/vm/maindllh.c * source/vm/hvm.c * source/vm/cmdarg.c * source/vm/maindllp.c * source/vm/fm.c * source/vm/extrap.c * source/vm/thread.c * source/vm/dynlibhb.c * source/vm/set.c * source/common/hbgete.c * source/common/hbver.c * source/common/hbfsapi.c * source/common/hbwince.c * source/common/hbdate.c * source/rtl/diskspac.c * source/rtl/console.c * source/rtl/gtwin/gtwin.c * source/rtl/fserror.c * source/rtl/hbgtcore.c * source/rtl/gtclip.c * source/rtl/fstemp.c * source/rtl/idle.c * source/rtl/oemansi.c * source/rtl/disksphb.c * source/rtl/net.c * source/rtl/gtgui/gtgui.c * source/rtl/seconds.c * source/rtl/gttone.c * source/rtl/hbproces.c * source/rtl/gtkeycod.c * source/rtl/version.c * source/rtl/gtwvt/gtwvt.c * source/rtl/hbrandom.c * source/rtl/hbinet.c * source/rtl/hbffind.c * source/rtl/gtsys.c * source/rtl/filesys.c * source/rtl/gtkbstat.c * source/rtl/isprint.c * source/compiler/cmdcheck.c * utils/hbmake/hbmlang.c * #defines renamed to be bitwidth-independent. - HB_OS_WIN_32_USED -> HB_OS_WIN_USED - HB_OS_WIN_32 -> HB_OS_WIN ; Please modify your code accordingly. * include/hbdefs.h * include/hbsetup.h + Added compatibility to still understand HB_OS_WIN_32_USED, and to #define HB_OS_WIN_32 in addition to HB_OS_WIN. This means that old code will still work, but these compatibility features will be removed in the future, so it's recommended to change the code as above. 2009-02-04 00:49 UTC+0100 Viktor Szakats * doc/dirstruc.txt - contrib/hbtpathy/tpwin32.c + contrib/hbtpathy/tpwin.c * contrib/hbtpathy/common.mak * contrib/hbtpathy/Makefile * Cleaned some 'win32'/'w32' to 'win'. 2009-02-04 00:29 UTC+0100 Viktor Szakats * contrib/hbwin/win_reg.prg * contrib/hbwin/win_osc.c * contrib/hbwin/win_os.prg * contrib/hbwin/win_tprn.prg * contrib/hbwin/win_tprt.prg * contrib/hbwin/win_dll.c * contrib/hbwin/win_prn1.c * contrib/hbwin/win_regc.c * contrib/hbwin/tests/testreg.prg * contrib/hbwin/tests/testole.prg * Renaming hbwin lib functions to a common and bitwidth-neutral namespace, which is WIN_*(): - W32_REGPATHSPLIT() -> WIN_REGPATHSPLIT() - W32_REGREAD() -> WIN_REGREAD() - W32_REGWRITE() -> WIN_REGWRITE() - WIN32_REGCREATEKEYEX() -> WIN_REGCREATEKEYEX() - WIN32_REGOPENKEYEX() -> WIN_REGOPENKEYEX() - WIN32_REGQUERYVALUEEX() -> WIN_REGQUERYVALUEEX() - WIN32_REGSETVALUEEX() -> WIN_REGSETVALUEEX() - WIN32_REGCLOSEKEY() -> WIN_REGCLOSEKEY() * contrib/hbwin/win_tprn.prg * contrib/hbwin/win_prn1.c * contrib/hbwin/tests/testprn.prg * Renaming hbwin lib functions/classes to a common and bitwidth-neutral namespace, which is WIN_*(): - WIN32PRN class -> WIN_PRN class. - WIN32BMP class -> WIN_BMP class. - WIN32_ARC() -> WIN_ARC() - WIN32_BITMAPSOK() -> WIN_BITMAPSOK() - WIN32_CREATEDC() -> WIN_CREATEDC() - WIN32_CREATEFONT() -> WIN_CREATEFONT() - WIN32_DELETEDC() -> WIN_DELETEDC() - WIN32_DRAWBITMAP() -> WIN_DRAWBITMAP() - WIN32_ELLIPSE() -> WIN_ELLIPSE() - WIN32_ENDDOC() -> WIN_ENDDOC() - WIN32_ENDPAGE() -> WIN_ENDPAGE() - WIN32_ENUMFONTS() -> WIN_ENUMFONTS() - WIN32_FILLRECT() -> WIN_FILLRECT() - WIN32_GETCHARSIZE() -> WIN_GETCHARSIZE() - WIN32_GETDEVICECAPS() -> WIN_GETDEVICECAPS() - WIN32_GETEXEFILENAME() -> WIN_GETEXEFILENAME() - WIN32_GETPRINTERFONTNAME() -> WIN_GETPRINTERFONTNAME() - WIN32_GETTEXTSIZE() -> WIN_GETTEXTSIZE() - WIN32_LINETO() -> WIN_LINETO() - WIN32_LOADBITMAPFILE() -> WIN_LOADBITMAPFILE() - WIN32_MULDIV() -> WIN_MULDIV() - WIN32_OS_ISWIN9X() -> WIN_OS_ISWIN9X() - WIN32_RECTANGLE() -> WIN_RECTANGLE() - WIN32_SETBKMODE() -> WIN_SETBKMODE() - WIN32_SETCOLOR() -> WIN_SETCOLOR() - WIN32_SETDOCUMENTPROPERTIES() -> WIN_SETDOCUMENTPROPERTIES() - WIN32_SETMAPMODE() -> WIN_SETMAPMODE() - WIN32_SETPEN() -> WIN_SETPEN() - WIN32_STARTDOC() -> WIN_STARTDOC() - WIN32_STARTPAGE() -> WIN_STARTPAGE() - WIN32_TEXTOUT() -> WIN_TEXTOUT() ; INCOMPATIBLE. Please update your source code. 2009-02-03 18:51 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/thread.c * casting to pacify warning. The code is correct. 2009-02-03 18:24 UTC+0100 Viktor Szakats * doc/en/hb_api.txt * doc/en/hb_apird.txt * include/hbrdddbf.h * include/hbrddcdx.h * include/hbapi.h * include/hbrddfpt.h * include/hbrddntx.h * contrib/hbct/dbftools.c * contrib/rddado/adordd.prg * contrib/hbpgsql/pgrdd.prg * contrib/rddads/adsx.c * contrib/rddads/adsfunc.c * contrib/examples/rdddbt/hbrdddbt.h * contrib/examples/rdddbt/dbfdbt1.c * source/vm/hvm.c * source/vm/memvars.c * source/debug/dbgentry.c * SUCCESS -> HB_SUCCESS * FAILURE -> HB_FAILURE * ERRCODE -> HB_ERRCODE ; Migration finished. 2009-02-03 17:25 UTC+0100 Viktor Szakats * source/rtl/gtwvt/gtwvt.c ! Fixed for OpenWatcom 1.8. (SM_REMOTESESSION wasn't defined) 2009-02-03 16:16 UTC+0100 Viktor Szakats * include/hbrddcdx.h * contrib/rddsql/sddmy/mysqldd.c * contrib/rddsql/sddpg/pgsqldd.c * contrib/rddsql/sddfb/fbirddd.c * contrib/rddsql/hbrddsql.h * contrib/rddsql/sqlbase.c * contrib/rddsql/sqlmix.c * contrib/rddado/adordd.prg * contrib/rddads/rddads.h * contrib/rddads/adsfunc.c * contrib/rddads/ads1.c * contrib/hbbmcdx/bmdbfcdx.c * contrib/hbbmcdx/hbbmcdx.h * SUCCESS -> HB_SUCCESS * FAILURE -> HB_FAILURE * ERRCODE -> HB_ERRCODE 2009-02-03 15:27 UTC+0100 Viktor Szakats * include/hbapirdd.h * source/rdd/dbcmd.c * source/rdd/dbcmd53.c * source/rdd/dbcmdx.c * source/rdd/dbdetach.c * source/rdd/dbf1.c * source/rdd/dbsql.c * source/rdd/delim1.c * source/rdd/hbdbsort.c * source/rdd/sdf1.c * source/rdd/wacore.c * source/rdd/wafunc.c * source/rdd/workarea.c * source/rdd/dbfcdx/dbfcdx1.c * source/rdd/dbffpt/dbffpt1.c * source/rdd/dbfnsx/dbfnsx1.c * source/rdd/dbfntx/dbfntx1.c * source/rdd/hbsix/sxcrypt.c * source/rdd/hbsix/sxord.c * source/rdd/hbsix/sxtable.c * source/rdd/hsx/hsx.c * source/rdd/nulsys/nulsys.c * source/rdd/usrrdd/rdds/arrayrdd.prg * source/rdd/usrrdd/rdds/fcomma.prg * source/rdd/usrrdd/rdds/hscdx.prg * source/rdd/usrrdd/rdds/logrdd.prg * source/rdd/usrrdd/rdds/rlcdx.prg * source/rdd/usrrdd/usrrdd.c * SUCCESS -> HB_SUCCESS * FAILURE -> HB_FAILURE * ERRCODE -> HB_ERRCODE 2009-02-03 15:03 UTC+0100 Viktor Szakats * include/hbapigt.h * contrib/hbct/screen1.c * source/rtl/console.c * source/rtl/hbrunfun.c * source/rtl/gx.c * source/rtl/gtapi.c * SUCCESS -> HB_SUCCESS * FAILURE -> HB_FAILURE * ERRCODE -> HB_ERRCODE 2009-02-03 14:48 UTC+0100 Viktor Szakats * include/hbusrrdd.ch * include/hbapi.h + Added HB_SUCCESS, HB_FAILURE on .prg level, too. * SUCCESS, FAILURE, ERRCODE as compatibility. * Minor cleanup. ; TODO: Switch to HB_* versions inside Harbour tree. [DONE] 2009-02-03 14:19 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/doc/Makefile * harbour/doc/es/Makefile * updated file list * harbour/debian/rules ! changed to use documentation files installed by harbour install phase Please test. 2009-02-03 12:58 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/make_gcc.sh + added some Solaris libraries necessary to link Harbour applications using sockets * harbour/make_gnu.sh * look also for pure curses header files for GTCRS compilation. GTCRS can be compiled with CURSES not only NCURSES. * enable -fPIC in SunOS and HPUX builds * harbour/mpkg_tgz.sh * enable -fPIC in SunOS builds * harbour/make_gcc.mak * do not use -Wl,--start-group/-Wl,--end-group in SunOS, HPUX and Darwin builds * harbour/config/hpux/gcc.cf * small cleanup in comment 2009-02-03 11:45 UTC+0100 Lorenzo Fiorini (lorenzo.fiorini/at/gmail.com) * contrib/xhb/hblognet.prg * fixed thread function names 2009-02-03 03:02 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/mpkg_deb.sh * harbour/make_gnu_xmingwce.sh * harbour/tests/transtst.prg * harbour/tests/wcecon.prg * harbour/tests/foreach2.prg * harbour/tests/rto_get.prg * harbour/tests/memtst.prg * harbour/tests/gtwin.prg * harbour/tests/mt/mttest08.prg * harbour/tests/mt/mttest09.prg * harbour/tests/mt/mttest01.prg * harbour/tests/mt/mttest10.prg * harbour/tests/mt/mttest02.prg * harbour/tests/mt/mttest11.prg * harbour/tests/mt/mttest03.prg * harbour/tests/mt/mttest12.prg * harbour/tests/mt/mttest04.prg * harbour/tests/mt/mttest05.prg * harbour/tests/mt/mttest06.prg * harbour/tests/mt/mttest07.prg * harbour/tests/speedtst.prg * harbour/tests/hsxtest.prg * harbour/tests/rto_tb.prg * harbour/tests/multifnc/t0.prg * harbour/tests/multifnc/t1.prg * harbour/tests/multifnc/t2.prg * harbour/tests/multifnc/Makefile * harbour/tests/gtchars.prg * harbour/tests/aliaslck.prg * harbour/tests/gtcolors.prg * harbour/tests/gtkeys.prg * harbour/make_gcc.sh * harbour/mpkg_rpm_win.sh * harbour/doc/howtosvn.txt * harbour/doc/howtobld.txt * harbour/make_gnu_os2.cmd * harbour/include/hbrddnsx.h * harbour/include/hbsxdef.ch * harbour/include/hbwince.h * harbour/include/hbwmain.c * harbour/include/hbthread.h * harbour/include/hbsix.ch * harbour/include/hbvmint.h * harbour/include/hbassert.h * harbour/include/hbthread.ch * harbour/include/hbatomic.h * harbour/mpkg_rpm_wce.sh * harbour/source/hbextern/hbextern.prg * harbour/source/hbextern/Makefile * harbour/source/lang/msgptiso.c * harbour/source/vm/dlmalloc.c * harbour/source/vm/vmmt/Makefile * harbour/source/vm/thread.c * harbour/source/vm/mainwin/Makefile * harbour/source/vm/vm.c * harbour/source/debug/dbgtinp.prg * harbour/source/common/hbprintf.c * harbour/source/common/hbwince.c * harbour/source/common/hbfopen.c * harbour/source/rtl/tscalars.c * harbour/source/rtl/hbi18n2.prg * harbour/source/rtl/gui.prg * harbour/source/rtl/getsys53.prg * harbour/source/rtl/hbfile.c * harbour/source/rtl/tscalard.c * harbour/source/rtl/tscalarh.c * harbour/source/rtl/tbrowsys.prg * harbour/source/rtl/tscalarl.c * harbour/source/rtl/gtchrmap.c * harbour/source/rtl/tscalarp.c * harbour/source/rtl/oemansix.c * harbour/source/rtl/hbrunfun.c * harbour/source/rtl/strc.c * harbour/source/rtl/gttrm/Makefile * harbour/source/rtl/gttrm/gttrm.c * harbour/source/rtl/dirscan.prg * harbour/source/rtl/tthreadx.prg * harbour/source/rtl/tscalara.c * harbour/source/rtl/hbhex.c * harbour/source/rtl/inkeyapi.c * harbour/source/rtl/filebuf.c * harbour/source/rtl/tscalaru.c * harbour/source/rtl/tmenusys.prg * harbour/source/rtl/secondfs.c * harbour/source/rtl/hbproces.c * harbour/source/rtl/menusys.prg * harbour/source/rtl/gtkeycod.c * harbour/source/rtl/typefilx.prg * harbour/source/rtl/natmsgu.c * harbour/source/rtl/thfuncx.prg * harbour/source/rtl/tscalarb.c * harbour/source/rtl/hbini.prg * harbour/source/rtl/tscalar.prg * harbour/source/rtl/mouse53.c * harbour/source/rtl/hbprocfn.c * harbour/source/rtl/tscalarn.c * harbour/source/rtl/strtoexp.c * harbour/source/rtl/einstvar.prg * harbour/source/rtl/hbstrsh.c * harbour/source/rtl/gtkbstat.c * harbour/source/rtl/hbbit.c * harbour/source/rtl/tscalarc.c * harbour/source/codepage/cpsv850.c * harbour/source/codepage/cpeswinm.c * harbour/source/codepage/cpsk852.c * harbour/source/codepage/ucmik.c * harbour/source/codepage/cpbgmik.c * harbour/source/codepage/cpsvwin.c * harbour/source/codepage/cpskiso.c * harbour/source/codepage/cpskwin.c * harbour/source/codepage/cpsvclip.c * harbour/source/codepage/cpskkam.c * harbour/source/rdd/dbjoinx.prg * harbour/source/rdd/dblistx.prg * harbour/source/rdd/rddinfo.c * harbour/source/rdd/dbtotalx.prg * harbour/source/rdd/dbstruxx.prg * harbour/source/rdd/dbsortx.prg * harbour/source/rdd/dbdetach.c * harbour/source/rdd/dbcmdx.c * harbour/source/rdd/dbfnsx/dbfnsx1.c * harbour/source/rdd/dbfnsx/Makefile * harbour/source/rdd/dbdrop.c * harbour/source/rdd/dbupdatx.prg * harbour/source/rdd/dbcmd53.c * harbour/source/rdd/usrrdd/example/exlog.prg * harbour/source/rdd/usrrdd/example/exarr.prg * harbour/source/rdd/usrrdd/rdds/logrdd.prg * harbour/source/rdd/dbfuncsx.prg * harbour/source/rdd/dbexists.c * harbour/source/rdd/hbsix/sxsem.c * harbour/source/rdd/hbsix/sxord.c * harbour/source/rdd/hbsix/sxredir.c * harbour/source/rdd/hbsix/sxini.prg * harbour/source/rdd/hbsix/sxfname.c * harbour/source/rdd/hbsix/sxtable.c * harbour/source/rdd/hbsix/sxcompat.prg * harbour/source/rdd/hbsix/sxtrig.prg * harbour/source/rdd/hbsix/sxutil.c * harbour/source/rdd/fieldhb.c * harbour/source/compiler/compi18n.c * harbour/contrib/hbmysql/common.mak * harbour/contrib/hbmysql/make_gcc.sh * harbour/contrib/hbmysql/make_vc.bat * harbour/contrib/make_b32_all.bat * harbour/contrib/hbct/screen2.c * harbour/contrib/hbct/charsprd.c * harbour/contrib/hbct/dbftools.c * harbour/contrib/hbct/make_gcc.sh * harbour/contrib/hbct/ctrand.prg * harbour/contrib/hbct/getsecrt.prg * harbour/contrib/hbct/ctdisk.ch * harbour/contrib/hbct/keysec.prg * harbour/contrib/hbct/maxline.c * harbour/contrib/hbct/getinput.prg * harbour/contrib/hbct/video.c * harbour/contrib/hbct/screen3.prg * harbour/contrib/hbct/dattime3.c * harbour/contrib/hbct/lton.c * harbour/contrib/hbct/cursor.c * harbour/contrib/hbct/keytime.prg * harbour/contrib/hbct/misc2.c * harbour/contrib/hbct/color.c * harbour/contrib/hbct/cttime.prg * harbour/contrib/hbct/ctvideo.ch * harbour/contrib/hbct/showtime.prg * harbour/contrib/hbct/numcount.c * harbour/contrib/hbct/pack.c * harbour/contrib/hbct/setlast.c * harbour/contrib/hbct/setrc.c * harbour/contrib/hbct/like.c * harbour/contrib/hbct/disk.c * harbour/contrib/hbct/ctstrfil.c * harbour/contrib/hbct/ctstrfil.h * harbour/contrib/hbct/getinfo.prg * harbour/contrib/hbct/numline.c * harbour/contrib/hbct/scrmark.prg * harbour/contrib/hbct/dattime2.c * harbour/contrib/hbct/keysave.prg * harbour/contrib/hbct/common.mak * harbour/contrib/hbct/misc3.c * harbour/contrib/hbct/expand.c * harbour/contrib/hbct/fcopy.prg * harbour/contrib/hbct/ctpad.c * harbour/contrib/hbct/datetime.c * harbour/contrib/hbct/blank.prg * harbour/contrib/xhb/hboutdbg.c * harbour/contrib/xhb/dbgfx.prg * harbour/contrib/xhb/hbcompat.h * harbour/contrib/xhb/hblog.ch * harbour/contrib/xhb/hbcompat.ch * harbour/contrib/xhb/xhbenum.c * harbour/contrib/xhb/hblognet.prg * harbour/contrib/xhb/hbxml.c * harbour/contrib/xhb/xhbmsgs.c * harbour/contrib/xhb/xhbqself.c * harbour/contrib/xhb/dirrec.prg * harbour/contrib/xhb/hbxml.h * harbour/contrib/xhb/make_gcc.sh * harbour/contrib/xhb/xhbarr.c * harbour/contrib/xhb/xhb.h * harbour/contrib/xhb/hbctypes.ch * harbour/contrib/xhb/xhb.ch * harbour/contrib/xhb/hbsyslog.c * harbour/contrib/xhb/txml.prg * harbour/contrib/xhb/wintypes.ch * harbour/contrib/xhb/sprintf.prg * harbour/contrib/xhb/Makefile * harbour/contrib/xhb/dbgfxc.c * harbour/contrib/xhb/cstruct.ch * harbour/contrib/xhb/hblog.prg * harbour/contrib/xhb/hbstruct.prg * harbour/contrib/xhb/xhbcomp.prg * harbour/contrib/xhb/hbstruct.ch * harbour/contrib/xhb/xhbextrn.ch * harbour/contrib/xhb/hbfast.h * harbour/contrib/xhb/xhbwith.c * harbour/contrib/xhb/hbcomprs.c * harbour/contrib/xhb/common.mak * harbour/contrib/xhb/hbxml.ch * harbour/contrib/xhb/hblogdef.ch * harbour/contrib/xhb/cstructc.c * harbour/contrib/xhb/xhbfunc.c * harbour/contrib/xhb/cstruct.prg * harbour/contrib/hbodbc/common.mak * harbour/contrib/hbodbc/make_gcc.sh * harbour/contrib/hbodbc/make_vc.bat * harbour/contrib/hbgt/common.mak * harbour/contrib/hbgt/make_gcc.sh * harbour/contrib/hbmsql/common.mak * harbour/contrib/hbmsql/tests/hbmk_b32.bat * harbour/contrib/hbmsql/tests/hbmk_vc.bat * harbour/contrib/hbmsql/make_gcc.sh * harbour/contrib/hbmsql/make_b32.bat * harbour/contrib/hbmsql/make_vc.bat * harbour/contrib/mtpl_b32.bat * harbour/contrib/mtpl_b32.mak * harbour/contrib/hbmzip/crypt.h * harbour/contrib/hbmzip/make_gcc.sh * harbour/contrib/hbole/common.mak * harbour/contrib/hbole/oleauto.prg * harbour/contrib/hbole/ole2.c * harbour/contrib/hbole/tests/testole.prg * harbour/contrib/hbole/tests/hbmk_b32.bat * harbour/contrib/hbole/make_gcc.sh * harbour/contrib/hbole/make_b32.bat * harbour/contrib/hbole/make_vc.bat * harbour/contrib/hbole/Makefile * harbour/contrib/make_gcc_all.sh * harbour/contrib/hbfbird/common.mak * harbour/contrib/hbfbird/tests/simple.prg * harbour/contrib/hbfbird/tests/test.prg * harbour/contrib/hbfbird/tests/stress.prg * harbour/contrib/hbfbird/tests/testapi.c * harbour/contrib/hbfbird/tests/hbmk_b32.bat * harbour/contrib/hbfbird/tests/Makefile * harbour/contrib/hbfbird/make_gcc.sh * harbour/contrib/hbfbird/firebird.c * harbour/contrib/hbfbird/make_b32.bat * harbour/contrib/hbfbird/tfirebrd.prg * harbour/contrib/hbfbird/make_vc.bat * harbour/contrib/hbfbird/readme.txt * harbour/contrib/hbfbird/Makefile * harbour/contrib/hbapollo/common.mak * harbour/contrib/hbapollo/make_gcc.sh * harbour/contrib/hbapollo/make_vc.bat * harbour/contrib/make_vc_all.bat * harbour/contrib/hbziparc/common.mak * harbour/contrib/hbziparc/make_gcc.sh * harbour/contrib/hbnf/ftshadow.c * harbour/contrib/hbnf/make_gcc.sh * harbour/contrib/hbnf/iamidle.c * harbour/contrib/hbnf/fttext.c * harbour/contrib/hbnf/setkeys.c * harbour/contrib/hbnf/common.mak * harbour/contrib/hbnf/ftisprn.c * harbour/contrib/hbnf/putkey.c * harbour/contrib/hbnf/setlastk.c * harbour/contrib/rddsql/sddfb/Makefile * harbour/contrib/hbhpdf/tests/harupdf.prg * harbour/contrib/hbhpdf/tests/files/cp936.txt * harbour/contrib/hbhpdf/tests/files/elic_jp.txt * harbour/contrib/hbhpdf/tests/files/sjis.txt * harbour/contrib/hbhpdf/tests/files/euc.txt * harbour/contrib/hbhpdf/tests/files/cp932.txt * harbour/contrib/hbhpdf/harupdf.ch * harbour/contrib/hbhpdf/harupdf.c * harbour/contrib/rddado/common.mak * harbour/contrib/rddado/make_gcc.sh * harbour/contrib/rddado/make_vc.bat * harbour/contrib/gtwvg/wvgdlg.prg * harbour/contrib/gtwvg/gtwvg.h * harbour/contrib/gtwvg/wvglistb.prg * harbour/contrib/gtwvg/make_b32.bat * harbour/contrib/gtwvg/wvgmle.prg * harbour/contrib/gtwvg/wvggui.c * harbour/contrib/gtwvg/wvgtoolb.prg * harbour/contrib/gtwvg/wvgpushb.prg * harbour/contrib/gtwvg/wvggui.h * harbour/contrib/gtwvg/wvgsle.prg * harbour/contrib/gtwvg/wvgtreev.prg * harbour/contrib/gtwvg/make_gcc.sh * harbour/contrib/gtwvg/tests/demoxbp.prg * harbour/contrib/gtwvg/tests/demowvg.prg * harbour/contrib/gtwvg/wvgdatar.prg * harbour/contrib/gtwvg/wvgradio.prg * harbour/contrib/gtwvg/make_vc.bat * harbour/contrib/gtwvg/wincallb.c * harbour/contrib/gtwvg/Makefile * harbour/contrib/gtwvg/wvgsysw.prg * harbour/contrib/gtwvg/wvgmenub.prg * harbour/contrib/gtwvg/wvgbitmp.prg * harbour/contrib/gtwvg/wvtwin.ch * harbour/contrib/gtwvg/wvgcheck.prg * harbour/contrib/gtwvg/wvgstatb.prg * harbour/contrib/gtwvg/wvgstatc.prg * harbour/contrib/gtwvg/common.mak * harbour/contrib/gtwvg/hbgtwvg.ch * harbour/contrib/gtwvg/wvghtmlv.prg * harbour/contrib/gtwvg/wvgparts.ch * harbour/contrib/gtwvg/wincback.prg * harbour/contrib/gtwvg/wvg3stat.prg * harbour/contrib/gtwvg/wvgcombo.prg * harbour/contrib/mtpl_gcc.mak * harbour/contrib/hbpgsql/common.mak * harbour/contrib/hbpgsql/tests/hbmk_b32.bat * harbour/contrib/hbpgsql/make_gcc.sh * harbour/contrib/hbpgsql/make_vc.bat * harbour/contrib/rddads/unixutils.h * harbour/contrib/rddads/common.mak * harbour/contrib/rddads/make_gcc.sh * harbour/contrib/mtpl_gcc.sh * harbour/contrib/hbclipsm/common.mak * harbour/contrib/hbclipsm/make_gcc.sh * harbour/contrib/hbclipsm/make_vc.bat * harbour/contrib/hbfimage/common.mak * harbour/contrib/hbfimage/tests/fitest.prg * harbour/contrib/hbfimage/tests/hbmk_b32.bat * harbour/contrib/hbfimage/make_gcc.sh * harbour/contrib/hbfimage/fi_winfu.c * harbour/contrib/hbfimage/fi_wrp.c * harbour/contrib/hbfimage/make_b32.bat * harbour/contrib/hbfimage/make_vc.bat * harbour/contrib/hbfimage/readme.txt * harbour/contrib/hbfimage/Makefile * harbour/contrib/hbfimage/freeimage.ch * harbour/contrib/hbgd/common.mak * harbour/contrib/hbgd/make_gcc.sh * harbour/contrib/hbgd/make_vc.bat * harbour/contrib/hbmisc/common.mak * harbour/contrib/hbmisc/make_gcc.sh * harbour/contrib/hbtip/encurl.prg * harbour/contrib/hbtip/thtml.prg * harbour/contrib/hbtip/thtml.ch * harbour/contrib/hbtip/utils.c * harbour/contrib/hbtip/popcln.prg * harbour/contrib/hbtip/sendmail.prg * harbour/contrib/hbtip/tip.ch * harbour/contrib/hbtip/cgi.prg * harbour/contrib/hbtip/url.prg * harbour/contrib/hbtip/encqp.prg * harbour/contrib/hbtip/base64x.c * harbour/contrib/hbtip/common.mak * harbour/contrib/hbtip/make_gcc.sh * harbour/contrib/hbtip/httpcln.prg * harbour/contrib/hbtip/encmthd.c * harbour/contrib/hbtip/client.prg * harbour/contrib/hbtip/encoder.prg * harbour/contrib/hbtip/smtpcln.prg * harbour/contrib/hbtip/encb64.prg * harbour/contrib/hbtip/mail.prg * harbour/contrib/hbtip/credent.prg * harbour/contrib/hbtip/ftpcln.prg * harbour/contrib/hbtip/Makefile * harbour/contrib/hbgf/hbgfwin/common.mak * harbour/contrib/hbbmcdx/common.mak * harbour/contrib/hbbmcdx/make_gcc.sh * harbour/contrib/hbbmcdx/make_vc.bat * harbour/contrib/hbwin/win_prn2.c * harbour/contrib/hbwin/win_tprn.prg * harbour/contrib/hbwin/common.mak * harbour/contrib/hbwin/tests/testole.prg * harbour/contrib/hbwin/tests/testprn.prg * harbour/contrib/hbwin/make_gcc.sh * harbour/contrib/hbwin/Makefile * harbour/contrib/hbwin/win_prn1.c * harbour/contrib/mtpl_vc.bat * harbour/contrib/mtpl_vc.mak * harbour/contrib/hbbtree/common.mak * harbour/contrib/hbbtree/make_gcc.sh * harbour/contrib/hbbtree/make_vc.bat * harbour/contrib/hbwhat/debug.ch * harbour/contrib/hbwhat/whtdate.c * harbour/contrib/hbwhat/whtini.c * harbour/contrib/hbwhat/make_b32.bat * harbour/contrib/hbwhat/whticon.c * harbour/contrib/hbwhat/whtcret.c * harbour/contrib/hbwhat/make_gcc.sh * harbour/contrib/hbwhat/whtsock.c * harbour/contrib/hbwhat/whthead.c * harbour/contrib/hbwhat/whtseria.c * harbour/contrib/hbwhat/sqltypes.ch * harbour/contrib/hbwhat/Makefile * harbour/contrib/hbwhat/whtilst.c * harbour/contrib/hbwhat/whtreg.c * harbour/contrib/hbwhat/whtmem.c * harbour/contrib/hbwhat/whtclpb.c * harbour/contrib/hbwhat/winini.prg * harbour/contrib/hbwhat/whtmous.c * harbour/contrib/hbwhat/whatutil.prg * harbour/contrib/hbwhat/whtrgn.c * harbour/contrib/hbwhat/whtmeta.c * harbour/contrib/hbwhat/whtmapi.c * harbour/contrib/hbwhat/winrbar.prg * harbour/contrib/hbwhat/whttbar.c * harbour/contrib/hbwhat/winerror.prg * harbour/contrib/hbwhat/whtrect.c * harbour/contrib/hbwhat/whtbrsh.c * harbour/contrib/hbwhat/import.ch * harbour/contrib/hbwhat/whtgdi.c * harbour/contrib/hbwhat/winstruc.ch * harbour/contrib/hbwhat/whtscrlb.c * harbour/contrib/hbwhat/whtdlg.c * harbour/contrib/hbwhat/whtview.c * harbour/contrib/hbwhat/whtsys.c * harbour/contrib/hbwhat/whtlv.c * harbour/contrib/hbwhat/whtmain.c * harbour/contrib/hbwhat/whtwnd.c * harbour/contrib/hbwhat/wintabs.prg * harbour/contrib/hbwhat/whtmisc.c * harbour/contrib/hbwhat/whtcomm.c * harbour/contrib/hbwhat/wincomm.prg * harbour/contrib/hbwhat/whtmmcap.c * harbour/contrib/hbwhat/tests/whatdemo.prg * harbour/contrib/hbwhat/whtprn.c * harbour/contrib/hbwhat/whtinet.c * harbour/contrib/hbwhat/hbwhat.ch * harbour/contrib/hbwhat/whttab.c * harbour/contrib/hbwhat/make_vc.bat * harbour/contrib/hbwhat/whtfont.c * harbour/contrib/hbwhat/whtshell.c * harbour/contrib/hbwhat/commdlg.ch * harbour/contrib/hbwhat/whtcdlg.c * harbour/contrib/hbwhat/wincdlg.prg * harbour/contrib/hbwhat/whtbmp.c * harbour/contrib/hbwhat/whtdir.c * harbour/contrib/hbwhat/winuser.ch * harbour/contrib/hbwhat/whtpen.c * harbour/contrib/hbwhat/whtkbrd.c * harbour/contrib/hbwhat/whttext.c * harbour/contrib/hbwhat/whtdc.c * harbour/contrib/hbwhat/whtmsg.c * harbour/contrib/hbwhat/windebug.prg * harbour/contrib/hbwhat/wincore.prg * harbour/contrib/hbwhat/wintbar.prg * harbour/contrib/hbwhat/common.mak * harbour/contrib/hbwhat/whtdraw.c * harbour/contrib/hbwhat/whttree.c * harbour/contrib/hbwhat/wininet.ch * harbour/contrib/hbwhat/whtmenu.c * harbour/contrib/hbwhat/commctrl.ch * harbour/contrib/hbwhat/wingdi.ch * harbour/contrib/examples/pe/pe.prg * harbour/contrib/examples/pe/hbmk_b32.bat * harbour/contrib/examples/uhttpd/cookie.prg * harbour/contrib/examples/uhttpd/cgifunc.prg * harbour/contrib/examples/uhttpd/modules/cookie.prg * harbour/contrib/examples/dbu/readme.txt * harbour/contrib/examples/dbu/hbmk_b32.bat * harbour/contrib/examples/dbu/Makefile * harbour/utils/hbmake/hbmfrdln.c * harbour/utils/hbtest/rt_mt.prg * harbour/utils/hbi18n/hbi18n.prg * harbour/utils/hbi18n/Makefile * harbour/make_gcc.mak * harbour/config/none.cf * harbour/config/w32/mingwce.cf * harbour/config/w32/owatcom.cf * harbour/config/w32/pocc.cf * svn ps svn:keywords "Author Date Id Revision" 2009-02-03 02:07 UTC+0100 Viktor Szakats * contrib/hbct/strdiff.c * contrib/hbct/token2.c * contrib/hbct/atadjust.c * contrib/hbct/ctmath.c * contrib/hbct/charsort.c * contrib/hbct/charmix.c * contrib/hbct/wordrepl.c * contrib/hbct/charrepl.c * contrib/hbct/strswap.c * contrib/hbct/trig.c * contrib/hbct/charswap.c * contrib/hbct/charop.c * contrib/hbct/num1.c * contrib/hbct/ctstr.c * contrib/hbct/token1.c * contrib/hbct/charmirr.c * contrib/hbct/ctc.c * contrib/hbct/relation.c * contrib/hbct/atnum.c * contrib/hbct/posdiff.c * contrib/hbct/finan.c * contrib/hbct/range.c * contrib/hbct/addascii.c * contrib/hbct/ctmath2.c * contrib/hbct/tab.c * contrib/hbct/asciisum.c * contrib/hbct/pos2.c * contrib/hbct/numat.c * contrib/hbct/atrepl.c * contrib/hbct/wordtoch.c % Using HB_ERR_FUNCNAME. * contrib/hbct/charop.c ! Fixed CHARADD(), CHARSUB(), CHARAND(), CHAROR(), CHARXOR() showing wrong function name in error message when first passed parameter is invalid. 2009-02-03 01:49 UTC+0100 Viktor Szakats * contrib/hbct/charop.c ! Fixed CHARADD(), CHARSUB(), CHARAND(), CHAROR(), CHARXOR() to not crash when second parameter is an empty string. 2009-02-03 01:39 UTC+0100 Viktor Szakats * contrib/xhb/cstruct.prg ! One STATIC converted to THREAD STATIC. + FIXME added for the rest of them. * Some formatting. 2009-02-03 01:34 UTC+0100 Viktor Szakats * source/common/hbprintf.c ! Comment corrected to be ANSI. 2009-02-03 00:55 UTC+0100 Maurilio Longo (maurilio.longo@libero.it) * include/hbdefs.h * include/hbthread.h * added HB_OS_SUNOS to be able to build under OpenSolaris 2008.11 using pthreads. * source/common/hbprintf.c * include ieeefp.h under OpenSolaris 2008.11 2009-02-02 23:25 UTC+0100 Viktor Szakats * contrib/hbct/keysec.prg * contrib/hbct/keytime.prg * contrib/hbct/showtime.prg * contrib/hbct/ctdummy.prg * STATICs converted to THREAD STATICs. * contrib/xhb/hblognet.prg * contrib/xhb/hblog.prg + Permanently enabled conditional HB_THREAD_SUPPORT. ; FIXME: - hbwhat/wincore.prg - xhb/cstruct.prg Needs reviewing and either mutex protection for STATICs or conversion to THREAD STATIC. ; FIXME: C code uses much more statics, some of these make code clearly broken for MT. ; TODO: Shouldn't we add core support for C-level thread specific cargo (user defined data) area available for 3rd party libs/apps? [FEATURE ALREADY IMPLEMENTED] ; TODO: Same could be added to GT structure to hold GT instance specific user defined data. [DONE] 2009-02-02 22:40 UTC+0100 Viktor Szakats * contrib/hbct/fcopy.prg * contrib/hbtpathy/telepath.prg * contrib/hbziparc/hbziparc.prg * contrib/rddado/adordd.prg * contrib/gtwvg/wvgpaint.prg * contrib/gtwvg/tests/demowvg.prg * contrib/hbpgsql/pgrdd.prg * contrib/hbwin/win_tole.prg * contrib/hbvpdf/hbvpdf.prg * contrib/hbwhat/wincore.prg * Renamed THREAD STATIC vars to t_* (from s_*). 2009-02-02 17:25 UTC+0100 Viktor Szakats * doc/cmpopt.txt ! Fixed missing SVN keyword. * source/rtl/perfuncs.prg * source/rtl/menuto.prg * source/rtl/getlist.prg * source/rtl/readvar.prg * source/rtl/thfuncx.prg * source/rtl/text.prg * Renamed THREAD STATIC vars to t_* (from s_*). 2009-02-02 17:34 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/doc/cmpopt.txt * svn ps svn:keywords "Author Date Id Revision" * minor cleanup 2009-02-02 11:02 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/fm.c ! fixed typo in default FM module setting/ * harbour/include/hbapicls.h * harbour/source/vm/classes.c * harbour/source/debug/dbgentry.c * renamed hb_dbgObjSendMessage() to hb_dbg_objSendMessage() to keep naming convention used for other C debugger functions * harbour/source/vm/debug.c * added information about existing debugger functions and where they are used. * harbour/include/hbvm.h * harbour/include/hbapidbg.h * harbour/include/hbvmpub.h * harbour/include/hbstack.h * harbour/include/hbapi.h * harbour/source/vm/codebloc.c * harbour/source/vm/estack.c * harbour/source/vm/hvm.c * harbour/source/debug/dbgentry.c * changed the method of static variable handling. Now we do not have centralized array of all statics used by application (s_aStatics) but each module uses it's own array to keep statics. The old s_aStatics has been removed. It means that loading new PCODE module from .hrb file or shared/dynamic library does not cause any static table reallocation so it does not creates potential GPF trap for MT code which may operate on static vars. This modification changed a little bit the debugger interface. I also updated some unused by us debug functions like __DBGVMVARSLIST() or __DBGVMVARSLEN() anyhow any 3rd party debuggers should be updated for new API and modified hb_dbgEntry() syntax. 2009-02-01 10:21 UTC+0100 Viktor Szakats + doc/inet.txt + Added from xhb. 2009-01-31 20:43 UTC+0100 Viktor Szakats * contrib/gtwvg/tests/demoxbp.prg + Added SVN header. 2009-01-31 12:35 UTC+0100 Viktor Szakats * utils/hbrun/hbrun.prg + If a .dbf file is passed on the command line, hbrun will open it. * contrib/examples/uhttpd/hbmk_vc.bat * Updated. * contrib/examples/uhttpd/hbmk_b32.bat % Minor opt. 2009-01-30 20:19 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/make_gcc.mak ! added additional rules to fix time conditions in parallel compilation * harbour/config/dos/dir.cf * harbour/config/w32/dir.cf * changed simple assignments to recursive ones * harbour/config/dir.cf + added support for dependencies between build directories for parallel execution. If compilation of dirX needs results of dirY and dirZ compilation then it hsould be declared as: dirX{dirY,dirZ} % process directories defined in DIRS simultaneously when -j<N> GNU make switch is used - it gives additional speed improvement on multi CPU machines * harbour/Makefile * harbour/source/Makefile * set directory dependencies for parallel compilation The parallel compilation can be enabled by using -j<n> GNU make switch on multiprocess platforms, e.g.: ./gnu_make.sh -j3 It should give some speed improvement even on single CPU machines. These are results of clean Harbour compilation on my 3 phantom CPU computer: 1. leaner compilation without -j<n> 6m29.895s 2. parallel compilation with -j5 but without parallel directory processing 3m20.163s 3. parallel compilation with -j5 and with new parallel directory processing 2m6.168s 2009-01-30 08:52 UTC+0100 Viktor Szakats * ChangeLog ! Typos in former ChangeLog entries. (testing commit notification) 2009-01-30 08:51 UTC+0100 Viktor Szakats * ChangeLog ! Typos in former ChangeLog entries. 2009-01-30 03:24 UTC+0100 Francesco Saverio Giudice (info/at/fsgiudice.com) * harbour/contrib/examples/uhttpd/uhttpd.prg * Updated uHTTPD (Work in progress) + Added HRB caching (set #define HRB_ACTIVATE_CACHE .T. to enable) + Added support for Cookies * Formatted ! Renamed all public functions with uhttpd_ prefix (TOCHECK) + Added support for array content in POST variables * Optimized some code + harbour/contrib/examples/uhttpd/cgifunc.prg + Some helper function moved here from uhttpd prg and added some functions of mine + harbour/contrib/examples/uhttpd/cookie.prg + Cookie class + harbour/contrib/examples/uhttpd/modules/cookie.prg + cookie sample module + harbour/contrib/examples/uhttpd/home/postsample.html + POST example * harbour/contrib/examples/uhttpd/uhttpd.ini + Added new script alias for cookie sample * harbour/contrib/examples/uhttpd/hbmk_b32.bat * harbour/contrib/examples/uhttpd/home/index.html * harbour/contrib/examples/uhttpd/home/testxmldb.html * harbour/contrib/examples/uhttpd/modules/bldhrb.bat * harbour/contrib/examples/uhttpd/modules/info.prg * harbour/contrib/examples/uhttpd/modules/showcounter.prg * harbour/contrib/examples/uhttpd/modules/tableservletdb.prg * Updated for new function prefix and some formatting 2009-01-29 22:50 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/config/rules.cf * harbour/config/dos/bcc16.cf ! fixed wrong automatic macros $? was used instead of $< * harbour/config/dir.cf * optional new DIR_RULE setting for easier testing * harbour/config/c.cf + added support for setting dependencies for files which needs grammar header files generated by bison (YACC_DEPEND) * harbour/source/macro/Makefile * marked macrolex.c as YACC_DEPEND dependent * harbour/source/compiler/Makefile * marked complex.c as YACC_DEPEND dependent 2009-01-29 19:48 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/postinst.sh ! added missing export in envvar setting. * harbour/config/linux/install.cf * added error message when install directory is not set. * harbour/config/lib.cf * harbour/config/bin.cf * harbour/config/dir.cf + added explicit support for make recursive calls. Question: why we use $(MK) instead of $(MAKE) so it necessary to mark recursive make calls manually? * harbour/config/dir.cf * rewritten DIR_RUL to use only GNU make commands instead of OS scripts. Now config/<arch>/dir.cf files are not longer used. Please make build tests on different platforms. If all will be correct then we remove these files. * harbour/source/common/Makefile * harbour/source/vm/Makefile * harbour/source/vm/vmmt/Makefile * moved biggest files to begin of file list for better parallel compilation utilization. * harbour/source/rdd/dbfcdx/dbfcdx1.c * accept invalid string key expression if codeblock key expression is given. 2009-01-29 14:25 UTC+0100 Viktor Szakats * source/rtl/gtwvt/gtwvt.c ! Fixed to #undef _WIN32_WINNT before setting it. ; FIXME: hbwhat has this problem in almost all of its source files. [DONE] * contrib/examples/uhttpd/modules/bldhrb.bat * contrib/examples/uhttpd/modules/showcounter.prg * contrib/examples/uhttpd/hbmk_b32.bat * contrib/examples/uhttpd/hbmk_vc.bat * Minor. 2009-01-29 02:16 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/common/hbprintf.c * minor modification for easier future updating * harbour/source/rdd/dbfntx/dbfntx1.c ! fixed possible GPF caused by corrupted indexes * harbour/source/rdd/dbfcdx/dbfcdx1.c ! fixed possible GPF caused by missing RT error ! added RT errors for invalid KEY or FOR expressions 2009-01-28 22:28 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/itemapi.c % eliminated hb_snpritf() from HB_IT_POINTER conversion in hb_itemString() * harbour/source/common/hbprintf.c ! fixed return value - it should be one less. Thanks to Xavi. + added support for I64, I32 and I16 length specifiers - it's MS-Windows only extension but it should help in replacing native C *printf() calls with Harbour version. 2009-01-28 19:03 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/common/hbprintf.c * disabled _finitel() in MSVC builds, added casting to double instead 2009-01-28 17:41 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/common/hbprintf.c ! do not use _fpclass() in BCC builds - it breaks FL arithmetic * use _finitel() instead of _finite() in MSVC builds 2009-01-28 14:25 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/common/hbprintf.c ! include float.h in MSVC builds * changed code a little bit to pacify MSVC warning 2009-01-28 13:29 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/common/hbprintf.c * redefine [u]intmax_t as [U]LONGLONG in MSVC builds. 2009-01-28 04:27 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/common/hbprintf.c * added yet another TODO marker for easier code updating to new C compilers 2009-01-27 17:23 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/config/dos/owatcom.cf * increased max library page size (-p=32 => -p=64) 2009-01-27 17:03 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/config/dos/dir.cf * harbour/config/dos/install.cf ! fixed for GNU make ports which prefer COMSPEC before SHELL 2009-01-27 16:33 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbdefs.h * include stdint.h in DJGPP >= 2.4 * harbour/source/common/hbprintf.c ! fixed DJGPP <= 2.3 compilation * harbour/source/common/hbstr.c * force buffer ending in DJGPP <= 2.3 when vsprintf() is used * harbour/source/rtl/hbproces.c ! fixed typo in HB_SYMBOL_UNUSED() variable name * harbour/config/dos/global.cf ! fixed for GNU make ports which prefer COMSPEC before SHELL 2009-01-27 15:31 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/common/hbprintf.c ! fixed two bugs in conversions 2009-01-27 10:14 UTC+0100 Francesco Saverio Giudice (info/at/fsgiudice.com) * harbour/contrib/examples/uhttpd/uhttpd.prg * Fixed APP_NAME that causes wrong ini file name and than error loading aliases from uhttpd.ini 2009-01-27 09:38 UTC+0100 Viktor Szakats * contrib/hbssl/sslctx.c * contrib/hbssl/ssl.c - Removed some functions operating on binary data. * ChangeLog * FIXME marked DONE. 2009-01-27 04:30 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbdefs.h * added some C compilers which supports stdint.h * harbour/source/common/hbprintf.c * eliminated non portable GCC only C syntax. * updated to compile with other C compilers. Now only GNUC with C99 support and BORLAND C gives all +inf/-inf/NaN values for [long] double conversions. Other compilers uses NaN also for infinite numbers or nothing. Please add full support for them. See TODO notes I left. For compilers which supports C99 floating point macros should be enough to enable the same macros used for GNUC && _ISOC99_SOURCE. * harbour/contrib/hbcrypt/sha2.h * harbour/contrib/hbcrypt/sha2.c ! fixed BCC5.5 compilation FIXME: harbour/contrib/hbssl/ssl.c[631], sslctx.c[268], sslctx.c[281] error: invalid conversion from void* to const char* I do not know if SSL_get_ex_data()/SSL_CTX_get_app_data() returns valid ASCIIZ string so I cannot decide if simple casting is safe and to pacify above errors. Viktor, can you look at it? [DONE] 2009-01-27 02:22 UTC+0100 Viktor Szakats * source/rtl/version.c ! Fixed hb_version( HB_VERSION_BUILD_DATE ). 2009-01-27 00:39 UTC+0100 Viktor Szakats * contrib/examples/uhttpd/uhttpd.prg ! Fixed RTE when in socket.c mode. * contrib/examples/uhttpd/socket.c ! Fixed leak. Thanks to Mindaugas. ; FIXME: Ajax test (404 Not Found), Counter (image not found), cgi-bin (broken link), XML database (empty boxes in Chrome, empty boxes and error messagebox with IE8) doesn't work here. Shall I configure something? [SOLVED] 2009-01-27 00:21 UTC+0100 Viktor Szakats * contrib/examples/uhttpd/uhttpd.prg + Added callstack in RTE message (ugly but useful). ! Fixed RTE when displaying server status. (might have broken non-inet-mode) * contrib/examples/uhttpd/hbmk_b32.bat * contrib/examples/uhttpd/hbmk_vc.bat + Trying to shutdown server before build. 2009-01-26 15:07 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtwvg/gtwvg.c * harbour/contrib/gtwvg/gtwvg.h ! Synchronized with GTWVT per Viktor's changes for box characters. ! Commented out previous change per Przemek's "Layered Attributes". Somehow, this change had increased the flickering of the window as it invalidates the whole window when it regain focus, not desirable behavior in GTWVG with GUI elelments. 2009-01-26 23:37 UTC+0100 Viktor Szakats * contrib/examples/uhttpd/hbmk_b32.bat ! Missed update from previous commit. 2009-01-26 23:32 UTC+0100 Viktor Szakats + contrib/examples/uhttpd/hbmk_vc.bat + Added MSVC make file. * contrib/examples/uhttpd/socket.c ! Made it compile with MSVC. ! Added SVN header. * contrib/examples/uhttpd/uhttpd.prg + contrib/examples/uhttpd/uhttpdc.c + C level stuff moved to separate file. ; NOTE: I'm getting an "Argument error: +" when browsing to http://localhost:8082 (using Chrome if that matters). 2009-01-26 22:57 UTC+0100 Viktor Szakats * source/rdd/usrrdd/example/exhsx.prg ! Removed HSXRDD references. It seems to work without them. * contrib/hbssl/ssl.c * Comment changes. 2009-01-26 22:45 UTC+0100 Francesco Saverio Giudice (info/at/fsgiudice.com) * harbour/source/rdd/usrrdd/rdds/arrayrdd.prg * fixed AR_CREATE() to be compatible with dbCreate() extension parameters * harbour/source/rdd/usrrdd/example/exarr.prg * updated 2009-01-26 13:02 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/hbziparc/hbziparc.prg ! Fixed <acFiles> behavior if the parameter is not passed. 2009-01-26 21:25 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/common/hbprintf.c * harbour/source/codepage/cpeswinm.c * harbour/source/rdd/usrrdd/example/exlog.prg * harbour/source/rdd/usrrdd/rdds/logrdd.prg * harbour/contrib/xhb/dbgfx.prg * harbour/contrib/xhb/xhb.h * harbour/contrib/xhb/sprintf.prg * harbour/contrib/xhb/dbgfxc.c * harbour/contrib/xhb/hbstruct.prg * harbour/contrib/xhb/hbstruct.ch * harbour/contrib/hbmsql/tests/hbmk_b32.bat * harbour/contrib/hbmsql/tests/hbmk_vc.bat ! fixed hardcoded CRLF and svn:eol-style attribute 2009-01-26 21:18 UTC+0100 Viktor Szakats * source/common/hbprintf.c ! Some fixes to make it compile under BCC. Still doesn't compile however. I'll rather disable this code for now, unless someone jumps in an fixes these problems. ; FIXME: For MSVC, too: [DONE] source\common\hbprintf.c(213) : error C2061: syntax error : identifier 'intmax_t' source\common\hbprintf.c(214) : error C2061: syntax error : identifier 'as_x_uintmax_t' source\common\hbprintf.c(214) : error C2059: syntax error : ';' source\common\hbprintf.c(222) : error C2059: syntax error : '}' source\common\hbprintf.c(226) : error C2061: syntax error : identifier 'x_type' source\common\hbprintf.c(227) : error C2059: syntax error : '}' source\common\hbprintf.c(379) : error C2146: syntax error : missing ')' before identifier 'value' source\common\hbprintf.c(379) : error C2081: 'uintmax_t' : name in formal parameter list illegal source\common\hbprintf.c(379) : error C2061: syntax error : identifier 'value' source\common\hbprintf.c(379) : error C2059: syntax error : ';' source\common\hbprintf.c(379) : error C2059: syntax error : ',' source\common\hbprintf.c(379) : error C2059: syntax error : ')' source\common\hbprintf.c(434) : error C2146: syntax error : missing ')' before identifier 'value' source\common\hbprintf.c(434) : error C2081: 'uintmax_t' : name in formal parameter list illegal source\common\hbprintf.c(434) : error C2061: syntax error : identifier 'value' source\common\hbprintf.c(434) : error C2059: syntax error : ';' source\common\hbprintf.c(434) : error C2059: syntax error : ',' source\common\hbprintf.c(435) : error C2059: syntax error : ')' source\common\hbprintf.c(615) : error C2146: syntax error : missing ')' before identifier 'value' source\common\hbprintf.c(615) : error C2081: 'uintmax_t' : name in formal parameter list illegal source\common\hbprintf.c(615) : error C2061: syntax error : identifier 'value' source\common\hbprintf.c(615) : error C2059: syntax error : ';' source\common\hbprintf.c(615) : error C2059: syntax error : ',' source\common\hbprintf.c(616) : error C2059: syntax error : ')' source\common\hbprintf.c(700) : error C2059: syntax error : '{' source\common\hbprintf.c(700) : error C2065: 'n' : undeclared identifier source\common\hbprintf.c(700) : error C2059: syntax error : ')' source\common\hbprintf.c(702) : error C2143: syntax error : missing '{' before '-=' source\common\hbprintf.c(702) : error C2059: syntax error : '-=' source\common\hbprintf.c(703) : error C2059: syntax error : 'if' source\common\hbprintf.c(710) : error C2059: syntax error : 'while' source\common\hbprintf.c(717) : error C2059: syntax error : 'while' source\common\hbprintf.c(725) : error C2059: syntax error : 'return' source\common\hbprintf.c(726) : error C2059: syntax error : '}' 2009-01-26 20:24 UTC+0100 Francesco Saverio Giudice (info/at/fsgiudice.com) * harbour/ChangeLog * added missed entry I haven't uploaded and fixed my wrong phrase. 2009-01-26 17:10 UTC+0100 Viktor Szakats * common.mak * include/hbextern.ch * source/rtl/Makefile + source/rtl/strxor.c + Added HB_STRXOR() (work of Mindaugas Kavaliauskas) * common.mak * source/common/Makefile + source/common/hbprintf.c + Added hb_snprintf_c() (temp name, untested) (work of Przemyslaw Czerpak) [ I've added a normal Harbour license, as per your permission on the list. Pls give me feedback if this is wrong. ] * source/rdd/usrrdd/example/exlog.prg ! Fixed missing #includes. * source/rdd/usrrdd/example/hbmk_b32.bat + source/rdd/usrrdd/example/hbmk_vc.bat + Added MSVC make file. ! Added EOL to the last line to hbmk_b32.bat. ! xhb.lib dependency removed. It was not needed anyway. ; FIXME: When compiling exhsx.prg, this happens: exhsx.obj : error LNK2001: unresolved external symbol _HB_FUN_HSXRDD [DONE] * contrib/hbssl/sslsess.c * contrib/hbssl/sslctx.c * contrib/hbssl/sslciph.c * Minor changes. 2009-01-26 16:53 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/config/darwin/gcc.cf ! changed CCACHE to HB_CCACHE * harbour/include/hbatomic.h ! removed unnecessary volatile casting in Darwin atomic function parameters * harbour/source/compiler/harbour.y ! cleaned one untyped expression assign (by Phil Krylov borrowed from xHarbour) * harbour/bin/hb-func.sh * updated contrib library last 2009-01-26 16:47 UTC+0100 Francesco Saverio Giudice (info/at/fsgiudice.com) * harbour/source/rdd/usrrdd/rdds/arrayrdd.prg * fixed harbour version without using hbcompat.ch ; TODO: update it using dbCreate() extension params + harbour/source/rdd/usrrdd/example/exarr.prg + ARRAYRDD example + harbour/source/rdd/usrrdd/example/hbmk_b32.bat + BCC make file 2009-01-26 13:11 UTC+0100 Francesco Saverio Giudice (info/at/fsgiudice.com) * harbour/source/rdd/usrrdd/rdds/logrdd.prg * changed REQUEST to DYNAMIC HB_LOGRDDINHERIT * fixed typo: HB_UNUSED_VAR() is HB_SYMBOL_UNUSED() * harbour/source/rdd/usrrdd/example/exlog.prg * fixed typo: HB_UNUSED_VAR() is HB_SYMBOL_UNUSED() 2009-01-26 11:34 UTC+0100 Viktor Szakats * contrib/hbssl/sslctx.c * contrib/hbssl/ssl.c + Added more SSL API. * TODO * Updated. 2009-01-26 10:35 UTC+0100 Viktor Szakats * contrib/hbssl/tests/test.prg * contrib/hbssl/ssl.c + More SSL API added. 2009-01-26 10:19 UTC+0100 Viktor Szakats * contrib/hbssl/common.mak * contrib/hbssl/Makefile * contrib/hbssl/hbssl.h + contrib/hbssl/sslsess.c + contrib/hbssl/sslciph.c * contrib/hbssl/ssl.c * contrib/hbssl/sslctx.c * contrib/hbssl/tests/test.prg + More SSL API added. 2009-01-26 01:07 UTC+0100 Francesco Saverio Giudice (info/at/fsgiudice.com) * harbour/contrib/examples/uhttpd/uhttpd.prg + Added CGIExec() function Now uHTTPD supports external cgi executables. A big thank you to Giancarlo Niccolai that wrote Process*() functions and to Przemek that has ported them to harbour. ; NOTE: security has to be checked. A minimal executable test can be downloaded from: www.fsgiudice.com/testcgi.zip [LOST LINK] Expand into harbour/contrib/examples/uhttpd/home/cgi-bin, then run it using http://localhost:8082/cgi-bin/testcgi.exe 2009-01-26 00:52 UTC+0100 Viktor Szakats * contrib/Makefile * contrib/make_b32_all.bat * contrib/make_gcc_all.sh * contrib/make_vc_all.bat + contrib/hbssl + contrib/hbssl/Makefile + contrib/hbssl/common.mak + contrib/hbssl/make_b32.bat + contrib/hbssl/make_vc.bat + contrib/hbssl/make_gcc.sh + contrib/hbssl/hbssl.h + contrib/hbssl/hbssl.ch + contrib/hbssl/ssl.c + contrib/hbssl/sslctx.c + contrib/hbssl/sslrand.c + contrib/hbssl/tests + contrib/hbssl/tests/hbmk_b32.bat + contrib/hbssl/tests/hbmk_vc.bat + contrib/hbssl/tests/test.prg + Added Harbour bindings to OpenSSL. Work in progress, but it's theoretically already functional. To build, set your HB_DIR_OPENSSL or HB_INC_OPENSSL envvar. ; FIXME: Makefile openssl autodetection should be adjusted. [DONE] * contrib/examples/uhttpd ! Fixed SVN attributes. (except for /home dir) 2009-01-25 22:16 UTC+0100 Viktor Szakats * source/rtl/philes.c ! FWRITE(): Fixed accessing past the string buffer (thus causing potential GPF and a huge security hole) when the passed length is greater than the length of the string. Very old bug. In fact CA-Cl*pper suffers from the same problem, and behaviour for such case is not documented. Harbour will ignore the length parameter (thus writing the whole passed string), if the length is invalid. 2009-01-25 12:30 UTC+0100 Francesco Saverio Giudice (info/at/fsgiudice.com) * harbour/contrib/examples/uhttpd/uhttpd.prg + Added hb_Inet*() version * harbour/contrib/examples/uhttpd/hbmk_b32.bat + Added support for hb_Inet*() version ; NOTE: To use hb_Inet*() version build using hbmk_b32.bat --with-inet 2009-01-23 10:24 UTC+0100 Viktor Szakats * bin/hb-mkslib.sh * make_gnu.sh ! Removed unnecessary explicit darwin detection. * ChangeLog ! Removed tabs. 2009-01-22 18:20 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/source/compiler/hbmain.c * harbour/source/pp/hbpp.c * harbour/source/pp/ppcore.c + added __FILE__ define for .prg code ; Please, look if this is implemented the right and optimal way. I'm a little confused about PP initialization order, and how __DATE__, etc, survive after hb_pp_reset in compiler. 2009-01-22 10:15 UTC+0100 Lorenzo Fiorini (lorenzo.fiorini/at/gmail.com) * bin/hb-func.sh * fix darwin detection * make_gnu.sh * fix darwin detection * added ncurses detection logic like slang one * contrib/hbtip/ftpcln.prg * fixed wrong changes from nil to .f. * someone in the past has done a mass change of the return values * without checking the results 2009-01-22 09:30 UTC+0100 Lorenzo Fiorini (lorenzo.fiorini/at/gmail.com) * bin/hb-mkslib.sh * fix name of dylibs * source/compiler/hbgenerr.c * cleaned some ":" in the error messages 2009-01-22 01:08 UTC+0100 Francesco Saverio Giudice (info/at/fsgiudice.com) * harbour/contrib/examples/uhttpd/uhttpd.prg + Added support for ini file (default: uhttpd.ini) + modified to add support to Lib GD on batch request * changed THREAD STATIC names with t_ prefix * changed all global STATIC names with s_ prefix - removed C level function EXE_FULLNAME (hb_argv( 0 ) does same) * harbour/contrib/examples/uhttpd/hbmk_b32.bat + now support LIBGD on request * harbour/contrib/examples/uhttpd/readme.txt * updated infos + harbour/contrib/examples/uhttpd/uhttpd.ini + Added default ini file if not found are used internal defaults or command line flags * harbour/contrib/examples/uhttpd/home/counter.html * Fixed typo ; NOTE: Hope that will follow multiplatform version. 2009-01-21 21:46 UTC+0100 Viktor Szakats * contrib/hbhpdf/harupdf.ch * contrib/hbhpdf/harupdf.c + Added HPDF_VERSION_TEXT() function which returns the libharu version hbhpdf was compiled against. - Removed #define HPDF_VERSION_TEXT with hard-wired libharu version. 2009-01-21 17:52 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/common.mak * harbour/source/rtl/Makefile - harbour/source/rtl/hbi18n.c + harbour/source/rtl/hbi18n1.c * renamed hbi18n.c to hbi18n1.c to avoid conflicts with hbi18n program - non GNU make files needs unique file names ! fixed bug in internal function __I18N_HASHTABLE() * harbour/common.mak * harbour/source/rtl/Makefile + harbour/source/rtl/hbi18n2.prg + added new I18N functions to manage .pot files and generate .hbl ones. public functions: HB_I18N_loadPot( <cFile>, [<pI18N>] [, @<cErrorMsg>] ) -> <pI18N> | NIL Reads .pot file and returns Harbour translation set or NIL when error appears. In such case <cErrorMsg> is contains error message string. If second parameter [<pI18N>] is given then translation items read from .pot file are added to this set. Otherwise new Harbour translation set is created. HB_I18N_savePot( <cFile>, <pI18N> [, @<cErrorMsg>] ) -> <lSuccess> Generates .pot file from Harbour translation set. Please note that Harbour translation set does not contain additional information which exists in original .pot files like source code numbers or alternative plural forms. internal functions for Harbour developers which will work on I18N tools: __I18N_potArrayLoad( <cFile> [, @<cErrorMsg>] ) -> <aTrans> | NIL Reads .pot file and returns array with translation items or NIL when error appears. In such case <cErrorMsg> is contains error message string. <aTrans> is an array with translation items containing additional informations from .pot file which are not necessary in final translation sets used at runtime. It's designed for I18N tools written in Harbour to manage .pot files and/or create .hbl ones. __I18N_potArraySave( <cFile>, <aTrans> [, @<cErrorMsg>] ) -> <lSuccess> Generates .pot file from array with translations items. __I18N_potArrayJoin( <aTrans>, <aTrans2> ) -> <aTrans> Join two arrays with translation items. Items from <aTrans2> are added to <aTrans>. If given translation item already exists in <aTrans> (the same msgctxt and msgid) then source code references are merged and translations from <aTrans2> are added only if <aTrans> does not have it. __I18N_potArrayToHash( <aTrans>, [<lEmpty>] [, <hI18N>] ) -> <hI18N> Converts array with translation items to hash table in the format used internally by Harbour translation sets. It's the same format as used __I18N_hashTable() function. The conversion removes data which is not necessary for runtime translations like source code references or alternative source plural forms. If second parameter <hI18N> is given then translation items form <aTrans> are added to it. Otherwise new hash table with is created. If <lEmpty> is .T. then also items with empty translation are added but source strings are used instead of missing destination ones. * harbour/include/hbextern.ch + added new I18N functions * harbour/harbour-win-spec * harbour/harbour-wce-spec * harbour/harbour.spec * harbour/mpkg_tgz.sh * harbour/make_b32.mak * harbour/make_vc.mak * harbour/make_gcc.mak * harbour/common.mak * harbour/utils/Makefile + harbour/utils/hbi18n + harbour/utils/hbi18n/hbi18n.prg + harbour/utils/hbi18n/Makefile + added very simple application to manage .pot/.hbl files Syntax: hbi18n -m | -g [-o<outfile>] [-e] [-q] <files1[.pot] ...> -m merge given .pot files -g generate .hbl file from given .pot files -o<outfile> output file name default is first .pot file name with .po_ (merge) or .hbl extension -e do not strip empty translation rules from .hbl files -q quiet mode TODO: extend it and add support for interactive mode which will allow to edit translations. 2009-01-21 17:38 UTC+0100 Francesco Saverio Giudice (info/at/fsgiudice.com) * harbour/Changelog * missed upload 2009-01-21 17:02 UTC+0100 Francesco Saverio Giudice (info/at/fsgiudice.com) * harbour/contrib/examples/uhttpd/hbmk_b32.bat * Updated with link where download bgd.dll 2009-01-21 16:42 UTC+0100 Lorenzo Fiorini (lorenzo.fiorini/at/gmail.com) * contrib/hbpgsql/tests/simple.prg * contrib/hbpgsql/tests/async.prg * contrib/hbpgsql/tests/cache.prg * contrib/hbpgsql/tests/stress.prg * contrib/hbpgsql/tests/dbf2pg.prg * general cleanup for Harbour * fix of function and method names, removed hard wired uid and pwd * contrib/hbtip/utils.c * added new mime types like flash files, rtf, csv 2009-01-21 10:43 UTC+0100 Viktor Szakats * include/hbextern.ch + Added new .prg functions. 2009-01-21 10:41 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbcrypt/sha1.h * harbour/contrib/hbcrypt/sha1.c ! disabled LITTLE_ENDIAN macro definition to avoid conflicts with macros using the same name defined in some system header files HB_LITTLE_ENDIAN used instead 2009-01-21 10:02 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/ChangeLog * cleaned some typos * harbour/common.mak * harbour/source/rtl/Makefile + harbour/source/rtl/strtoexp.c * harbour/source/rtl/valtostr.c * moved my HB_STRTOEXP() function to separate file * harbour/common.mak * harbour/source/rtl/Makefile + harbour/source/rtl/strc.c + added two new functions to operate on C like strings: HB_STRDECODESCAPE( <cEscSeqStr> ) -> <cStr> Decode string with \ escape sequences. HB_STRCDECODE( <cStr> [, @<lCont> ] ) -> <cResult> | NIL Decode string using C compiler rules. If second parameter <lCont> is passed by reference then it allows to decode multiline strings. In such case <lCont> is set to .T. if string ends with unclosed "" quoting and next call to this function with lCont parameter continue string decoding. Function returns decoded string or NIL on syntax error. They will be helper functions for decoding .pot files. * harbour/source/rtl/hbi18n.c * harbour/source/rtl/hbstrsh.c % small optimizations 2009-01-20 23:04 UTC+0100 Viktor Szakats * contrib/hbcrypt/sha1.c ! Fixed some BCC warnings. 2009-01-20 23:00 UTC+0100 Viktor Szakats * contrib/hbcrypt/sha1.c ! Added #include <string.h> for mem*(). 2009-01-20 22:51 UTC+0100 Viktor Szakats * contrib/hbcrypt/tests/testsha2.prg ! Fixed typo in some last minute (and untested) modifications. 2009-01-20 20:47 UTC+0100 Viktor Szakats * contrib/make_b32_all.bat * contrib/make_gcc_all.sh * contrib/make_vc_all.bat * contrib/Makefile + contrib/hbcrypt + contrib/hbcrypt/Makefile + contrib/hbcrypt/make_b32.bat + contrib/hbcrypt/make_vc.bat + contrib/hbcrypt/make_gcc.sh + contrib/hbcrypt/common.mak + contrib/hbcrypt/hbsha2.c + contrib/hbcrypt/hbsha2hm.c + contrib/hbcrypt/sha1.h + contrib/hbcrypt/sha1.c + contrib/hbcrypt/sha2.h + contrib/hbcrypt/sha2.c + contrib/hbcrypt/sha1hmac.h + contrib/hbcrypt/sha1hmac.c + contrib/hbcrypt/sha2hmac.h + contrib/hbcrypt/sha2hmac.c + contrib/hbcrypt/tests + contrib/hbcrypt/tests/testsha2.prg + contrib/hbcrypt/tests/hbmk_b32.bat + contrib/hbcrypt/tests/hbmk_vc.bat + Added hbcrypt library. Included .prg level functions: - HB_SHA224( <cMessage> ) -> <cDigest> - HB_SHA256( <cMessage> ) -> <cDigest> - HB_SHA384( <cMessage> ) -> <cDigest> - HB_SHA512( <cMessage> ) -> <cDigest> - HB_HMAC_SHA224( <cMessage>, <cKey> ) -> <cMAC> - HB_HMAC_SHA256( <cMessage>, <cKey> ) -> <cMAC> - HB_HMAC_SHA384( <cMessage>, <cKey> ) -> <cMAC> - HB_HMAC_SHA512( <cMessage>, <cKey> ) -> <cMAC> ; TODO: Add C level wrappers in Harbour namespace. ; TODO: Add .prg level wrappers for SHA1 functions + tests. ; TODO: Convert HB_MD5() to work on binary data, rather than doing hexadecimal conversion accessible using standard Harbour functions anyway. ; TODO: Add other crypt functions (AES, ...). ; NOTE: I plan to move these functions to core, after they've matured here. 2009-01-20 17:29 UTC+0100 Viktor Szakats * contrib/hbhpdf/harupdf.c ! HPDF_SETINFODATEATTR() fixed taking date/time from the wrong parameter. ! HPDF_SETINFODATEATTR() fixed to fully initialize the date structure passed to libharu. ; NOTE: I've changed my editor config to automatically clean line ending spaces. This may cause larger diffs even for small modifications until all these spaces are cleaned from the sources. FYI. 2009-01-20 00:20 UTC+0100 Francesco Saverio Giudice (info/at/fsgiudice.com) + harbour/contrib/examples/uhttpd/modules/info.prg + New sample showing server variables * harbour/contrib/examples/uhttpd/home/index.html * harbour/contrib/examples/uhttpd/readme.txt * harbour/contrib/examples/uhttpd/uhttpd.prg * updated for new sample 2009-01-19 23:43 UTC+0100 Francesco Saverio Giudice (info/at/fsgiudice.com) * harbour/Changelog * fixed path of previous upload 2009-01-19 23:39 UTC+0100 Francesco Saverio Giudice (info/at/fsgiudice.com) + harbour/contrib/examples/uhttpd + harbour/contrib/examples/uhttpd/socket.c + harbour/contrib/examples/uhttpd/uhttpd.prg + harbour/contrib/examples/uhttpd/hbmk_b32.bat + harbour/contrib/examples/uhttpd/readme.txt + harbour/contrib/examples/uhttpd/home + harbour/contrib/examples/uhttpd/home/cgi-bin + harbour/contrib/examples/uhttpd/home/counter.html + harbour/contrib/examples/uhttpd/home/css + harbour/contrib/examples/uhttpd/home/css/base.css + harbour/contrib/examples/uhttpd/home/favicon.ico + harbour/contrib/examples/uhttpd/home/images + harbour/contrib/examples/uhttpd/home/images/ajax-loader.gif + harbour/contrib/examples/uhttpd/home/index.html + harbour/contrib/examples/uhttpd/home/js + harbour/contrib/examples/uhttpd/home/js/ajax.js + harbour/contrib/examples/uhttpd/home/testajax.html + harbour/contrib/examples/uhttpd/home/testxmldb.html + harbour/contrib/examples/uhttpd/home/xsl + harbour/contrib/examples/uhttpd/home/xsl/based.xsl + harbour/contrib/examples/uhttpd/home/xsl/basep.xsl + harbour/contrib/examples/uhttpd/logs + harbour/contrib/examples/uhttpd/modules + harbour/contrib/examples/uhttpd/modules/bldhrb.bat + harbour/contrib/examples/uhttpd/modules/showcounter.prg + harbour/contrib/examples/uhttpd/modules/tableservletdb.prg + harbour/contrib/examples/uhttpd/modules/testajax.prg + Uploaded first version of uHTTPD server. ; NOTE: This is first version of uHTTPD (micro HTTPD server) based on a sample shared from Mindaugas (thanks!). Actually is only for windows and BCC32. To build use hbmk_b32.bat Please read readme.txt before start to use. 2009-01-19 22:17 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/hvm.c * clone arrays and hash tables instead of coping when thread static variable is initialized + harbour/tests/mt/mttest12.prg + added demonstration/test code which illustrates thread static variables initialization 2009-01-19 21:38 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbct/ctwin.c * harbour/contrib/hbct/ctwin.h + added support for nested window shadows 2009-01-19 19:34 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbct/ctwin.c * harbour/contrib/hbct/ctwin.h * harbour/contrib/hbct/ctwfunc.c + added support for window shadows which clears highlight attributes instead of using fixed shadow color attribute 2009-01-19 13:10 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbmzip/hbmzip.c ! added missing nInternalAttr and nExternalAttr parameters decoding in function HB_ZIPFILECREATE() - problem located and fixed by Andres Reyes in xHarbour 2009-01-19 12:57 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/hbproces.c ! include signal.h in all *nixes builds - it was my typo and not only Darwin needs it. 2009-01-18 22:12 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/hbgtcore.c ! fixed UNSELECTED color updating in SetColor(). It should be changed only and always when ENHANCED color is changed * harbour/contrib/hbmzip/hbmzip.c ! fixed GPF in hb_zipDeleteFile() when file has comment 2009-01-17 19:21 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * source/rtl/hbproces.c ! Added header for Darwin to cover kill() call. 2009-01-17 03:39 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbgtcore.h * harbour/source/rtl/hbgtcore.c + added two new methods: TOUCHLINE() - marks line as modified REDRAWDIFF() - it contains REFRESH() from which is now called so it's possible to overload this method by upper level RDDs without touching REFRESH() method which can be overloaded by intermediate RDDs * harbour/contrib/hbct/ctwin.c % do not use EXPOSEAREA() and TOUCHCELL() methods but TOUCHLINE() only and overloaded REDRAWDIFF() - it should gives noticeable speed improvement in some where cost of screen update is very big and GT does not calculate minimal update area. * harbour/source/rdd/dbfnsx/dbfnsx1.c % minor speed improvement in key decoding 2009-01-16 22:05 UTC+0100 Francesco Saverio Giudice (info/at/fsgiudice.com) * harbour/source/rdd/usrrdd/rdds/logrdd.prg - removed sample at end of file * typos * harbour/source/rdd/usrrdd/example/exlog.prg * Altered to reflect new codeblock parameters and added local MyToString() function to see how handle commands. 2009-01-16 21:48 UTC+0100 Francesco Saverio Giudice (info/at/fsgiudice.com) * harbour/source/rdd/usrrdd/rdds/logrdd.prg + Added new function hb_LogRddValueToText() * Changed parameters send at CodeBlocks that user can define using hb_LogRddMsgLogBlock() and hb_LogRddUserLogBlock(). See notes. ; NOTE: Made LOGRDD more under user control: - hb_LogRddValueToText( <xValue>] ) -> <cValue> cValue is formatted as "[<cValType>]>>><cString><<<" e.g.: date 31/12/2009 is formatted as "[D]>>>0d20091231<<<" in harbour this function already exists as local function as ValToText() - Now bMsgLogBlock, defined using hb_LogRddMsgLogBlock(), receives follow parameters: cTag, cRDDName, cCmd, nWA, xPar1, xPar2, xPar3 and has to returns a valid formatted string or NIL. In last case nothing is written to log file. xPar1, xPar2 and xPar3 change depends from called commands. For details see at ToString() local function. - bUserLogBlock, defined using hb_LogRddUserLogBlock(), receives same parameters of bMsgLogBlock. It has to return nothing, so it is under user control where to log and the format of the log string. 2009-01-16 16:01 UTC+0100 Viktor Szakats * contrib/examples/misc/guess.prg * Formatting. (just to test SVN commit hook). 2009-01-16 01:30 UTC+0100 Viktor Szakats * contrib/hbct/video.c * contrib/hbct/pack.c * contrib/hbct/disk.c * Minor formatting. * contrib/hbct/common.mak * contrib/hbct/Makefile ! C headers are now installed. (committed in a previous session) * config/global.cf * make_b32.bat * make_gcc.mak + Added file ending EOLs. (committed in a previous session) 2009-01-15 15:20 UTC-0600 Teo Fonrouge (teo/at/windtelsoft/dot/com) * source/rdd/usrrdd/rdds/Makefile ! Fixed small typos on making library specs 2009-01-16 01:10 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbrddnsx.h * harbour/source/rdd/dbfnsx/dbfnsx1.c ! fixed typo in descend flag checking % optimized current key decoding * harbour/source/rdd/dbfntx/dbfntx1.c * formatting 2009-01-16 00:13 UTC+0100 Francesco Saverio Giudice (info/at/fsgiudice.com) * harbour/source/rdd/usrrdd/rdds/logrdd.prg * Added new functions ; NOTE: hb_LogRddMsgLogBlock( [<bMsgLogBlock>] ) -> <bOldMsgLogBlock> bMsgLogBlock codeblock permits to user to alter message to log into standard log file. Codeblock receives follow parameters: cTag, cRDDName, cCmd, nWA, cMsg hb_LogRddUserLogBlock( [<bUserLogBlock>] ) -> <bOldUserLogBlock> bUserLogBlock codeblock redirect all log to user that can log everywhere. Parameters send to bUserLogBlock are same of bMsgLogBlock. * harbour/source/rdd/usrrdd/example/exlog.prg * Changed with new functions * harbour/make_b32.bat * removed comment on first line 2009-01-15 23:08 UTC+0100 Francesco Saverio Giudice (info/at/fsgiudice.com) * harbour/common.mak * harbour/config/global.cf * harbour/harbour-wce-spec * harbour/harbour-win-spec * harbour/harbour.spec * harbour/make_b32.bat * harbour/make_b32.mak * harbour/make_gcc.mak * harbour/make_vc.mak * Added hbuddall library to standard make files ; NOTE: hbuddall contains all USR RDDS files in harbour/source/rdd/usrrdd/rdds/* Viktor pls check me. * harbour/source/rdd/usrrdd/rdds/arrayrdd.prg * harbour/source/rdd/usrrdd/rdds/fcomma.prg * harbour/source/rdd/usrrdd/rdds/hscdx.prg * harbour/source/rdd/usrrdd/rdds/logrdd.prg * fixed assigned but unused variable 2009-01-15 21:27 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbct/ctwin.c * added small hack for scrolling console output when client area is set 2009-01-15 20:52 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/hvm.c * register default RT symbols after setting exception handler * harbour/source/vm/fm.c % keep process heap address in static variable when HeapAlloc() is used. * harbour/source/vm/extrap.c * casting to pacify warnings 2009-01-15 13:48 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/set.c * do not check for HVM stack existence in ST HVM to avoid compiler warning * harbour/contrib/hbct/ctextern.ch ! removed HB_GT_CTW and HB_GT_CTW_DEFAULT added by mistake It caused GPF at HVM startup because CTW was register as default GT driver * harbour/contrib/hbbmcdx/bmdbfcdx.c ! added missing hbstack.h ! fixed accessing RDD node structure * harbour/contrib/hbct/ctwin.h * harbour/contrib/hbct/ctwin.c * harbour/contrib/hbct/ctwfunc.c + extended internal CTW API functions to hide/show window, create new window without displaying it, selecting window without moving it to top-level, changing existing window shadow attribute. + added support user window levels controlled by user (BOTTOM, DEFAULT, TOP) + added support for selecting client area (possible to update square) in each CT Window It's a work in progress and the above modifications will be updated yet. 2009-01-15 04:40 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/source/compiler/harbour.yyc * harbour/source/compiler/harbour.yyh * fixed warnings using bison patch provided by Przemek 2009-01-15 00:46 UTC+0100 Viktor Szakats * source/pp/hbpp.c * utils/hbdoc/hbdoc.prg * utils/hbmake/hbmake.prg * utils/hbtest/hbtest.prg * utils/hbrun/hbrun.prg * More copyrights bumped to 2009. 2009-01-15 03:20 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/include/hbcomp.h * harbour/include/hbcompdf.h * harbour/include/hbexprb.c * harbour/source/compiler/harbour.y * harbour/source/compiler/harbour.yyc * harbour/source/compiler/harbour.yyh * harbour/source/compiler/hbcomp.c * harbour/source/compiler/hbmain.c * removed global variables HB_COMP_PARAM->cVarType, ->szFromClass 2009-01-14 21:39 UTC+0100 Francesco Saverio Giudice (info/at/fsgiudice.com) + harbour/source/rdd/usrrdd/example/exlog.prg + harbour/source/rdd/usrrdd/rdds/logrdd.prg * harbour/source/rdd/usrrdd/rdds/Makefile + Added new LOGRDD rdd file and related example ; NOTE: A simple RDD which introduce logging to file. It inheriths from any existent RDD but if you write / replace / delete something on tables it writes changes in a log file. It needs to inherit a standard RDD to which it adds logging capabilities. Related functions: hb_LogRddInherit() -> <cRDDName> REQUESTED - It must returns the standard RDD name to be inherited. This function HAVE to be defined from user in application. hb_LogRddLogFileName( [<cFileName>] ) -> <cOldFileName> OPTIONAL - Set/Get logging file name (default "changes.log"). hb_LogRddTag( [<cTag>] ) -> <cOldTag> OPTIONAL - Set/Get Tag string added in each log line. (default COMPUTERNAME\UserName) hb_LogRddActive( [<lActive>] ) -> <lOldActive> OPTIONAL - Set/Get logging active status (default .F.). 2009-01-14 17:51 UTC+0100 Viktor Szakats * contrib/hbmzip/hbmzip.c + Added .prg level functions: HB_ZIPSTOREFILEHANDLE(): To add a new file to a .zip via an already open handle (typically a temp file). Obviously, file date/time/attrib will not be set. HB_UNZIPEXTRACTCURRENTFILETOHANDLE(): To extract a file to an already open file handle. ; NOTE: I'm not sure if these new functions are useful enough to be added to official SVN. Except for Windows, there doesn't seem to be a trend that OSes would support native temp files, so that we can use this to avoid race conditions. Opinions are welcome. 2009-01-14 16:15 UTC+0100 Viktor Szakats * source/rtl/net.c * contrib/hbct/files.c * Minor formatting. * source/rtl/gtxwc/gtxwc.c ! Fix to recent fix. An '!' was missing, Przemek pls check me. * source/rtl/philes.c + HB_PROGNAME() now returns absolute path in *NIX systems, too. (please test and refine) * source/lang/msgca.c ! Fixes from xhb. * contrib/hbziparc/hbziparc.prg * Minor correction ( = -> := ) * source/rtl/gtwin/gtwin.c + Added HB_GTI_CODEPAGE support. As per MS docs, this works only when non-raster font is used in the console window. Notice that the accepted CP values are different from the GTWVT ones (GTWIN being the more "logical" one, since it's a newer API). Currently, Harbour doesn't try to hide these interface details. ; TODO: UNICODE and BOX char support for GTWIN mode. * source/rtl/tbrowse.prg * Using HB_DISPOUTATBOX() to draw column/header/footer separators. ; NOTE: This may cause problems if someone wants to use native CP (accented or other special CP specific) chars to draw these screen elements. Maybe an option should be added, or some sort of markings in the separator strings to control that. Pls REVIEW. * include/hbextern.ch * source/rtl/console.c + Added HB_DISPOUTATBOX() which is similar to HB_DISPOUTAT(), but marks the text drawn as HB_GT_ATTR_BOX, so these chars can be properly displayed as drawing chars, regardless of the selected codepage. Another difference is that this function only supports strings to be printed. Other types don't print anything. ; NOTE: Maybe this function could use a better name, pls review and decide. * source/rtl/gtwvt/gtwvt.c * source/rtl/gtwvt/gtwvt.h ! Fixed not accepting zero as an HB_GTI_CODEPAGE value. ! Fixed HB_GTI_CODEPAGE to change the codepage. + Added box char support in Unicode mode. For chars marked as HB_GT_ATTR_BOX, chars will be mapped to Unicode according to CP437. + Added box char support in non-Unicode mode. For chars marked as HB_GT_ATTR_BOX, OEM_CHARSET will always be used. ; NOTE: This way it's possible to use ISO/WIN codepages with GTWVT, while still being able to use various drawing chars (lines, blocks, arrows). ; NOTE: The available set of drawing chars depends on the OS OEM_CHARSET mapping _for non-Unicode Harbour_. For Unicode Harbour, full CP437 codepage is always available. ; NOTE: This solution doesn't go as far as (GTWXC) to graphically draw / emulate these chars. ; TODO: Add HB_GTI_BOXCP support to change hard-wired "EN" CP. [DONE] * include/hbapigt.h * include/hbgtcore.h ! Moved HB_GT_ATTR_* macros to public headers, because they are needed for public API functions. * contrib/hbwin/win_reg.prg + w32_regRead(): Added second parameter to specify the default value returned in case the reg entry doesn't exist. If not specified, NIL will be returned, just like before. + GetRegistry(): Added 4th parameter with same purpose as above. * source/rtl/hbregex.c * Minor opt. * contrib/hbwin/win_misc.c * Added command line option parameter to WIN_RUNDETACHED(). * include/hbapi.h + HB_ERRCODE (to replace ERRCODE) + HB_SUCCESS (to replace SUCCESS) + HB_FAILURE (to replace FAILURE) + contrib/hbwin/win_misc.c * contrib/hbwin/common.mak * contrib/hbwin/Makefile + WIN_SHELLEXECUTE() WIN_RUNDETACHED() WIN_LOADRESOURCE() Added some new Windows API wrappers. ; TODO: Add hb_osEncode() to them. * source/rtl/diskspac.c * source/rtl/disksphb.c ! Fixed DISKSPACE() and HB_DISKSPACE() for Darwin. Previously they had returned erroneous values. ; FIXME: Probably HB_DISKSPACE() should be implemented for Watcom and CEGCC, just like DISKSPACE() is. * source/rtl/filesys.c ! hb_fsGetAttr() to set the returned attribute to zero in case of error. * include/hbextern.ch * source/rtl/philes.c + HB_FGETATTR( <cFileName>, @<nAttr> ) -> <lSuccess> + HB_FSETATTR( <cFileName>, <nAttr> ) -> <lSuccess> + HB_FSETDATETIME( <cFileName>, [<dDate>], [<cTime HH:MM:SS>] ) -> <lSuccess> * source/rtl/direct.c ! Fixed DIRECTORY() when called with "V" (label) parameter. Tested under Windows. Please test/correct for other platforms. On Windows, the dirspec should not contain a filemask in order to work. * contrib/hbtip/base64x.c % HB_BASE64(): Optimized, cleaned. ! HB_BASE64(): Removed second parameter allowing to pass the length of the string. This could cause GPF if passed incorrectly. Now length is simply determined using hb_parclen(). ; FIXME: Input string size limit checking. * include/hbdefs.h + HB_SIZEOFARRAY() macro, which does: ( sizeof( var ) / sizeof( *var ) ) To be really precise, e.g. all hb_strncpy() calls should use 'hb_strncpy( d, s, HB_SIZEOFARRAY( d ) );' instead of: 'hb_strncpy( d, s, sizeof( d ) );' (given that 'd' is allocated at compile time). So that the code adapts to changing character sizes (like UTF-16/32). It's useful in some other places, too. * contrib/hbct/dattime2.c * 0 -> FALSE for BOOL types. * include/hbextern.ch * source/rtl/strmatch.c + HB_WILDMATCHI(). Case-instenstive, exact match. First two parameters and return value are the same as for HB_WILDMATCH(). * include/hbextern.ch * source/rtl/cdpapi.c + HB_CDPSELECT() which does the same as HB_SETCODEPAGE(), but aligns well with function naming rules and namespace. HB_SETCODEPAGE() still works, but usage is not recommended. + Added HB_CDPUNIID( <cHarbourCP> ) -> <cCPName> This will return the std CP ID of a Harbour CP, or empty if the Harbour CP isn't linked. * include/hbapi.h * source/rtl/is.c ! Fixed compile error when HB_CDP_SUPPORT_OFF is defined. + Added following functions: hb_charIsDigit() hb_charIsAlpha() hb_charIsLower() hb_charIsUpper() * include/hbapi.h - hb_strUpperCopy() removed. Implementation was missing. * source/rtl/strcase.c * Minor formatting. * source/rtl/hbrunfun.c * source/rtl/run.c ! Fixed missing header hbapiitm.h (after previous local change). * include/hbapi.h * include/hbset.h * include/hbapifs.h * include/set.ch * source/rtl/hbffind.c * source/rtl/gete.c * source/rtl/filesys.c * source/rtl/hbrunfun.c * source/rtl/run.c * source/rtl/philes.c * source/vm/set.c * source/vm/cmdarg.c + Added file system CP translation. Set( _SET_FNAMECP[, <cCPID> ] ) -> <cOldCPID> All operations passing filenames to/from the OS will convert them to/from the host CP from/to the FS CP specified using _SET_FNAMECP. * hb_fsNameConv() extended to deal with CP conversion, if requested by the app. + hb_fsNameConvFrom() (exported) added to deal with CP conversions for filenames received from OS. + hb_fsNameConvTo() (exported) added to deal with CP conversions for filenames/string sent to the OS. + Added hb_setGetFNAMECP() (exported) function. + Added hb_setGetFileCPTransTo(), hb_setGetFileCPTransFrom() (non-exported) functions. + hb_fsCurDirBuff() and hb_fsFindNextLow() extended to use hb_fsNameConvFrom(). + Added hb_fsBaseDirBuff() to return the base directory on the C level (based on argv[0]). + Added HB_PROGNAME() to return the executable program name (based on argv[0]). + Added HB_DIRBASE() to return the executable base directory (based on argv[0]). * Renames done regarding OS/FS CP conversion: hb_fsNameConvFrom() -> hb_osDecode() hb_fsNameConvTo() -> hb_osEncode() hb_setGetFileCPTransTo() -> - hb_setGetFileCPTransFrom() -> - hb_setGetFNAMECP() -> hb_setGetOSCODEPAGE() _SET_FNAMECP -> _SET_OSCODEPAGE * hb_osDecode()/hb_osEncode() extended to have a second parameter BOOL * fFree. Changed all calls to handle the case when fFree is set to TRUE by hb_osDecode()/hb_osEncode(). + HB_GETENV(): Added 3rd logical parameter to control wether to convert the returned value from OS CP to Harbour CP. The default is TRUE to be in sync with GETE[NV]() and the rest of core. * hb_fsNameConv() is now doing OS CP conversion using std APIs, rather than duplicating such logic. I've traded some speed for modularity. * hb_osDecode/hb_osEncode() function declarations moved to hbapi.h * hb_osDecode/hb_osEncode() function definitions moved to set.c ; NOTE: None of these were extensively tested, and I tend to make mistakes when dealing with pointers. It compiles cleanly with BCC, and some basic tests worked, but bFree = TRUE codepaths are not yet working so this needs more review. * source/rtl/teditor.prg * source/rtl/tpersist.prg * utils/hbmake/hbmake.prg * MemoRead() -> hb_MemoRead() * contrib/hbct/files.c ; FIXME: Many functions here are possibly not thread safe. [DONE] ; FIXME: Calling hb_fsFindClose() at app exit (and thus keeping the FF handles open for the whole app lifetime) doesn't play well with server side apps (as the app may run for months or even longer), and even worse, they will lock the passed directory so that they cannot be removed (maybe even renamed), until the app exits. At least on Windows. * source/rtl/dirdrive.c ! Fixed to use F_ERROR instead of -1. * include/hbextern.ch ! Added missing HB_GCSTEP(). * source/vm/extrap.c + Added CPU dump code for Windows x64. + Enabled module listing for Windows 64-bit platforms. % Minor cleanup in Windows x86 CPU dump code. + Added TODO for Windows IA64 CPU dump. + Added TODO for Windows x64 stack walk, with pointers. + Added FIXME regarding displaying module names in Windows x64 mode. * source/rtl/fstemp.c ! Minor formatting. * source/rtl/gete.c * source/rtl/run.c * source/rtl/hbrunfun.c * source/vm/cmdarg.c + Added CP conversion to: GETE[NV](), HB_GETENV(), __RUN(), HB_RUN(), HB_ARGSTRING(), HB_CMDLINE(). ; TODO: hb_dbCreateTemp( <cAlias>, <aStruct>, <cRDD>, <nConnection> ) -> <lSuccess> Generates and opens a new dbf with a temporary filename in exclusive mode, deletes it automatically when closed. All indexes created for this table, should ideally have the temporary flag on, so those get deleted too, when closed. [DONE] ; FIXME: hb_regex*() functions will not honor Harbour CP setting, when case insensitivity is selected. ; FIXME: hbct / SetFDaTi() to move any local logic into Harbour core functions and use a simple Harbour API call only. I'm not sure what is the reason with keeping the logic duplicated here; if this isn't by intent, this function could be much simplified. [DONE] ; FIXME: Avoid using C level toupper()/tolower()/islower()/isupper() [DONE] ; FIXME: hb_regexMatch()'s 3rd parameter has a double meaning. It controls case-sensitivity (in sync with the documentation), but it also controls if hb_regexMatch() behaves like hb_regexLike() (.T.), or hb_regexHas() (.F.). This means that hb_regexMatch(,, .T.) == hb_regexLike(,, .T.) (case-sensitive) and hb_regexMatch(,, .F.) == hb_regexHas(,, .F.) (case-insensitive) Maybe this was the intent of the original developers, but to me it looks a rather strange behaviour which was added by accidentally forgetting about the 3rd parameter already being utilized. This either needs to be fixed, or properly documented. [DONE] ; NOTE: Noteworthy links: https://docs.python.org/3.0/whatsnew/3.0.html - Unicode/text section - Removed <> (use != instead) http://www.sphinx-doc.org/en/stable/ - Documentation format https://fredeaker.blogspot.com/2007/01/character-encoding-detection.html - Character encoding detection 2009-01-14 15:10 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/source/compiler/hbopt.c * disabled code optimisation (selfifying local, removing local), if code is compiled using -b (debug) switch 2009-01-14 01:38 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/gtxwc/gtxwc.c ! added protection against inaccessible character cell value what could cause accessing uninitialized memory and GPF * harbour/include/hbrdddbf.h ! fixed HB_DIRTYREAD() macro not updated when RDDI_* settings were converted from global to thread local * harbour/source/rdd/dbf1.c * harbour/source/rdd/dbfntx/dbfntx1.c * harbour/source/rdd/dbfnsx/dbfnsx1.c * harbour/source/rdd/dbfcdx/dbfcdx1.c * harbour/source/rdd/dbffpt/dbffpt1.c % replaced <RDD>NODE_DATA() and <RDD>AREA_DATA() macros defined in each RDD by common for all DBF bases RDDs DBFNODE_DATA() and DBFAREA_DATA() macros defined in hbrdddbf.h to reduce possible mistakes in code updating in the future 2009-01-13 22:44 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/hb-func.sh ! restored GCC optimization flags in hb* scripts disabled unintentionally by some other modifications * harbour/include/hbapifs.h * harbour/source/rtl/hbproces.c * renamed hb_fsOpenProcess() and hb_fsCloseProcess() to hb_fsProcessOpen(), hb_fsProcessClose() * harbour/include/hbextern.ch * harbour/source/rtl/hbprocfn.c * renamed hb_openProcess() and hb_closeProcess() to hb_processOpen(), hb_processClose() * harbour/contrib/xhb/hbcompat.ch * added xHarbour compatible translations hb_openProcess() <-> hb_processOpen() hb_closeProcess() <-> hb_processClose() 2009-01-13 20:00 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/contrib/rddads/adsx.c * improved code to solve RDD initialisation order problem * harbour/contrib/rddsql/sqlbase.c ! fixed minor typo * harbour/source/pp/hbpp.c * harbour/source/compiler/hbusage.c * updated copyright year to 2009 2009-01-13 07:17 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtwvg/gtwvg.c ! Synchronized with GTWVT as per change below ( Przemek ): + Added 'layered' window support. It's enabled on W2K and above (and only when not in Terminal Services environment, because it makes it perform worse). This way the screen is also properly displayed regardless of what the Harbour application does. It also fixes numerous paint artifacts, when GTWVT window was in the background and another window is moved in front of it. 2009-01-13 14:07 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/common.mak * harbour/source/rtl/Makefile * harbour/include/hbapifs.h * harbour/include/hbextern.ch + harbour/source/rtl/hbproces.c + harbour/source/rtl/hbprocfn.c + added C functions hb_fsOpenProcess(), hb_fsProcessValue(), hb_fsCloseProcess() + added .prg functions HB_OPENPROCESS(), HB_PROCESSVALUE(), HB_CLOSEPROCESS() Based on xHarbour code by Giancarlo Niccolai. Warning: it's possible that they will be changed in the future. Please test current implementation. Now few notes about it. Each handle returned by HB_OPENPROCESS() have to be closed by HB_PROCESSVALUE(). Even if process is killed by HB_CLOSEPROCESS() its handle is still open and HB_PROCESSVALUE() has to be executed. Type of handle depends on OS. In *nixes it's process PID. In MS-Windows it's HANDLE. HB_PROCESSVALUE() attach process exit result in *nixes cleaning zombie processes and in Windows closing the HANDLE. If you do not call this function then you will have resource leak. HB_CLOSEPROCESS() only sends quite request to the process but does not execute any cleanup code. All communication handles returned in parameters by reference by HB_OPENPROCESS() function have to be closed using FCLOSE() function. If hStdOut and hStdErr are references to the same variables then executing process stdout and stderr is redirected to the only one pipe. When handles for stdout, stderr and stdin are not given then executed process inherits them from parent process unless <lDetach> parameter is not given. In such case they are redirected to null device (/dev/null or NUL). The OS2 version is not tested. Please make tests. There is no support for DOS which is single process OS. In WinCE builds std{out,err,in} redirecting and process detaching does not work too. The parameters parsing should be updated. Now MS-Windows version uses native OS command line parsing and quoting by "" can be used for parameters with blank characters. I do not know any escape character which can be used to pass (") as parameter to MS-Windows application. In all other OS-es standard bourne shell rules are used. Parameters can be quoted by "" or '' and escape character is \. Quoting by '' disables special meaning of escape character. In OS2 where \ is path separator escaping and '' quoting is disabled so it works like in MS-Windows but I do not know if parameters divided by calling process are fully respected by low-level API calls in this system. 2009-01-12 23:35 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/cdpapi.c * harbour/source/rtl/langapi.c * increase maximum number of lang and codepage modules from 64 to 128 (we already have more then 64) * harbour/include/hbgtinfo.ch + added HB_GTI_BOXCP - it allows to chose CP for given characters put by DISPBOX() and similar box drawing functions. * harbour/source/rtl/gttrm/gttrm.c + added support for HB_GTI_BOXCP. Now it's possible to change the CP used for box drawing characters. Before this modification is was hardcoded to "EN" * use codepage set by HB_SET{DISP|TERM}CP() also for box characters if last parameter <lBox> is true This functionality (using different CP for box drawing characters) is available only if terminal works in Unicode mode (UTF8). 2009-01-12 15:15 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/fm.c * harbour/include/hbwmain.c * use HeapAlloc( GetProcessHeap(), ... ) instead of LocalAlloc() when HB_FM_WIN32_ALLOC macro is set - Toninho's tests show that it's a little bit more efficient - thanks. Thanks also to Miguel Angel Marchuet which 1st used HeapAlloc() in xHarbour. 2009-01-09 17:59 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbct/ftoc.c * harbour/contrib/hbct/misc1.c * changed XTOC(), FTOC() and CTOF() to always store/retirve numbers as double value in little endian order to reduce platform differences ; FIXME introduce new macro which can be used instead sizeof( double ) for platforms where double size is different then 8 and macro HB_FORCE_IEEE754_DOUBLE is set * harbour/contrib/hbct/dattime2.c * changed date functions to use default date like in CT3 2009-01-09 13:35 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/classes.c * updated __objHasMsgAssigned() + accept also symbols (@methodname()) not only strings as message name (2nd parameter) just like in __objHasMsg() or __objSendMsg() + added suport for scalar classes in __objHasMsgAssigned() + generate RT error when wrong parameters are passed * updated comments with .prg functions syntax 2009-01-09 12:55 UTC+0100 Maurilio Longo (maurilio.longo@libero.it) * harbour/config/os2/global.cf * simplified and fixed an error in deleting files * harbour/source/rtl/hbffind.c ! fixed hb_fsFindNextLow() in OS/2 which was using stat to find file size, but as it seems, st_size contains garbage. Removed call to stat() and used buffer returned by DosFindFirst(). 2009-01-09 01:24 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/hbntos.c * harbour/source/rtl/hbrandom.c * removed dummy spaces * harbour/source/rtl/filesys.c * updated HB_TRACE messages * harbour/source/rdd/dbfntx/dbfntx1.c * harbour/source/rdd/dbfnsx/dbfnsx1.c * return pure index name without path and extension for DBOI_BAGNAME just like DBFCDX does. It's not Clipper compatible but looks that people expects ordBagName() behavior implemented in COMIX CDX driver (CL53). Full index name can be accessed by DBOI_FULLPATH. If you think it's wrong and we should keep CL52 DBFNTX behavior then I can revert it but I will want to also change DBFCDX to keep ordBagName() compatible core RDDs. Please let me know your preferences. * harbour/contrib/hbtpathy/telepath.prg ! replaced ThreadSleep() with hb_idleSleep() 2009-01-08 20:55 UTC+0100 Francesco Saverio Giudice (info/at/fsgiudice.com) * harbour/contrib/xhb/cstruct.prg * fixed assigned but unused variable 2009-01-08 13:12 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/source/compiler/hbopt.c * improved 'variable assigned but unused' detection logic * harbour/source/rtl/treport.prg * fixed assigned but unused variable 2009-01-07 13:56 UTC-0600 Teo Fonrouge (teo/at/windtelsoft/dot/com) * source/vm/classes.c + addded __objHasMsgAssigned( object, "msgName" ) ; this is similar to xHarbour __clsMsgAssigned() and checks ; if a VIRTUAL message has been overrided in a sub-class. ; TODO: Please check this implementation, I'm sure it can be optimized. 2009-01-05 18:20 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rdd/dbsql.c * harbour/source/rdd/dbfntx/dbfntx1.c * harbour/source/rdd/dbfnsx/dbfnsx1.c * harbour/source/rdd/dbfcdx/dbfcdx1.c * harbour/contrib/rddads/ads1.c ! reuse the same error object when CANRETRY flag is set for valid TRIES member update 2009-01-05 13:33 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbgtcore.h * harbour/source/rtl/hbgtcore.c * changed BYTE bClearColor to USHORT uiClearColor 2008-12-19 12:56 UTC+0100 Viktor Szakats ; The following modifications were made by Viktor Szakats, (2008-11-22 16:15 UTC+0100 - 2008-12-19 12:56 UTC+0100) Many thanks. It's the first part without CP conversions in OS calls which I will want to check yet. Please tests MS-Windows only modifications. [Committed by Przemyslaw Czerpak] * harbour/make_vc.mak * harbour/contrib/mtpl_vc.mak + Added support for A_USR. * harbour/include/set.ch * harbour/include/hbextern.ch * harbour/source/vm/cmdarg.c * harbour/source/vm/set.c * harbour/source/rtl/tgetlist.prg * harbour/source/rtl/gete.c * harbour/contrib/hbhpdf/harupdf.c * formatting * harbour/source/rtl/hbffind.c * Changed few places to use sizeof() instead of explicit size macro. * harbour/source/vm/extrap.c + Added module listing. (also supports Win64) * harbour/source/common/hbver.c + Added Intel C compiler detection. (from xhb) + Added Wine detection (unofficial but stable looking detection method. There intentionally doesn't exist an official method to do this detection, yet there are cases when this is necessary. It's also essential for error reports.) See also: https://www.mail-archive.com/wine-devel@winehq.org/msg48659.html * harbour/source/common/hbfopen.c ! Reverted recent change to use fopen_s(). fopen_s() will always open in exclusive mode, so it could create incompatibilities. * harbour/source/codepage/cpbgmik.c ! Fixed BGMIK collation encoding. Someone familiar with BG CPs please confirm this, but previously it was almost certainly broken, as the collation was identical to BG866. * harbour/source/rtl/diskspac.c * harbour/source/rtl/disksphb.c ! GetModuleHandleA() -> GetModuleHandle() ; NOTE: GetModuleHandleA() WinCE emulation in source/common/wince.c might be unnecessary after this change. * harbour/source/rtl/memoedit.prg * harbour/source/rtl/teditor.prg ! Cleaned insert handling. It now won't anymore mess up the cursor on instantiation (in New() method). Internal :lInsert state replaced by Set( _SET_INSERT ). Cursor is only touched in the editing loop. * harbour/source/rtl/version.c ! HB_VERSION( HB_VERSION_BUILD_DATE ): Fixed month being off by one. * harbour/contrib/hbmzip/hbmzip.c ! Fixed typo which caused timestamps stored in .zip files to be wrong. * harbour/contrib/hbhpdf/tests/harupdf.prg ! Minor typo in code. * harbour/contrib/rddads/rddads.h + Added detection for ACE 9.10. * harbour/contrib/hbtip/sendmail.prg ! Stricter parameter checking in hb_SendMail(). * harbour/contrib/examples/dbu/hb_dbu.dif + Added SET DATE ANSI and SET CENTURY ON * harbour/source/rtl/gtxwc/gtxwc.c + Generating HB_K_RESIZE keystrokes on screen resize. This way it's working similarly to gtwvt. ! Typos in comments. * harbour/source/rtl/gtwin/gtwin.c ! Fixed HB_GTI_KBDSHIFTS not working in console mode. Replaced GetKeyboardState() call with GetKeyState() calls. * harbour/source/rtl/gtwvt/gtwvt.c + Added 'layered' window support. It's enabled on W2K and above (and only when not in Terminal Services environment, because it makes it perform worse). This way the screen is also properly displayed regardless of what the Harbour application does. It also fixes numerous paint artifacts, when GTWVT window was in the background and another window is moved in front of it. ! Fixed only generate HB_K_RESIZE keystrokes when resize mode is HB_GTI_RESIZEMODE_ROWS. 2008-12-31 14:12 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbexprb.c + added optimizations for var := var <op> <exp> => var <op>= <exp> when <op> is +, -, *, / %, ^ operator % cleanup up checking if message can be used as LValue 2008-12-30 18:10 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/include/hbapi.h * harbour/source/vm/arrays.c + added array preallocation * harbour/contrib/rddsql/sqlbase.c * harbour/contrib/rddsql/sqlmix.c * fixed a few compile time warnings 2008-12-30 12:02 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbcomp.h * harbour/include/hbcompdf.h * harbour/include/hbexprb.c * harbour/source/common/expropt2.c * harbour/source/compiler/hbmain.c * harbour/source/compiler/hbcomp.c * harbour/source/compiler/harbour.y * harbour/source/compiler/harbour.yyc ! fixed <cConst1> == <cConst2> => <lConst> optimizations if <cConst1> or <cConst2> contains valid ¯o. Such expressions cannot be optimized if -kM compiler switch is not used, e.g.: M->V := "ABC" ? "[&V]" == "[ABC]" ! fixed <cConst1> $ <cConst2> => <lConst> optimizations if <cConst1> or <cConst2> contains valid ¯o. Such expressions cannot be optimized if -kM compiler switch is not used, e.g.: M->V := "ABC" ? "[&V]" $ " [ABC] " % do not disable <cConst1> + <cConst2> => <cConst> and <cConst1> - <cConst2> => <cConst> optimization when <cConst1> or <cConst2> contains valid ¯o but -kM compiler switch is used. * harbour/include/hbexprb.c * cover ! ! <exp> => <exp> optimization by -ko compile time switch * harbour/doc/cmpopt.txt * updated compiler optimization description 2008-12-29 20:23 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbct/disk.c ! fixed dirname() - thanks to Saulius 2008-12-29 19:20 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbcomp.h * harbour/include/hbmacro.ch * harbour/source/compiler/ppcomp.c * harbour/source/compiler/hbusage.c * harbour/source/compiler/cmdcheck.c + added -ko (allow operator optimizations) compiler switch It's disabled by default. * harbour/include/hbexprb.c * removed HB_ADD_SUB_ONE_OPT macro and enable optimizations covered by it when -ko switch is used. * harbour/source/common/expropt2.c * disabled <exp> + 0 => <exp>, <exp> + "" => <exp>, - - <exp> => <exp> optimizations for default compiler settings. They can be enabled by -ko compiler switch + added optimizations for numeric values and + operator which uses standard mathematical + behavior for real numbers: a + b + c == a + ( b + c ) a + b == b + a It's disabled by default and can be enabled by -ko compiler switch. There are also other similar optimizations which can be added in this way. * harbour/include/hbapi.h * harbour/source/vm/itemapi.c * harbour/source/vm/fm.c ! fixed redundant call to hb_xrealloc() in string resize operation. Thanks to Mindaugas for locating it. 2008-12-29 19:33 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/contrib/rddsql/sddfb/fbirddd.c ! fixed a few type castings 2008-12-27 18:20 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rdd/dbfnsx/dbfnsx1.c * added some missing const in char * declarations * harbour/contrib/hbtip/sendmail.prg * cleaned unused assigned detected by new Mindaugas logic 2008-12-27 17:46 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/hb-func.sh + added support for rddsql and sdd* libraries in hb* scripts * harbour/harbour-win-spec * harbour/harbour-wce-spec ! added rddnsx library * harbour/mpkg_rpm.sh * harbour/harbour.spec + added harbour-fbird RPM and support for sqlrdd and sdd* libraries * harbour/contrib/rddsql/sddpg/Makefile + added other paths checking for postgresql header files * harbour/contrib/rddsql/sddfb/Makefile ! fixed file name * harbour/contrib/rddsql/sddpg/pgsqldd.c * harbour/contrib/rddsql/sddfb/fbirddd.c * cleanup init symbol declaration ! casting for C++ compilation * added missing const in some char * declarations * harbour/contrib/rddsql/sddfb/fbirddd.c * changed some parameters passed to firebird functions. Mindaugas please verify me because these modifications changes the code behavior. I do not know FireBird API and I modified it to only pass C++ compilation checking error messages. At least these lines should be checked: 233, 236, 244, 245, 260, 261, 440, 445 If possible please also check casting I added in in other lines because it may hide some mistakes. 2008-12-27 18:08 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * source/compiler/hbopt.c + added logic to generate 'assigned but unused' warning in case op= is used. Ex.: nI += nJ nI := 5 ; This type of redundancy is not found in core code 2008-12-27 15:31 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbstack.h * harbour/include/hbapi.h * harbour/include/hbapiitm.h * harbour/source/vm/hashes.c * small modifications in order of some structure members for better alignment * harbour/source/vm/hvm.c * pacified BCC warnings * harbour/contrib/rddsql/Makefile * harbour/contrib/rddsql/sddpg/Makefile + harbour/contrib/rddsql/sddfb/Makefile * updated GNU make files for new SQL RDDs - many thanks to Mindaugas 2008-12-26 00:35 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) + contrib/rddsql/sddfb + contrib/rddsql/sddfb/fbirddd.c + contrib/rddsql/sddfb/common.mak + contrib/rddsql/sddfb/make_b32.bat + contrib/rddsql/sddfb/make_vc.bat + added SQL database driver for Firebird * contrib/rddsql/sddmy/mysqldd.c * contrib/rddsql/sddpg/pgsqldd.c * minor adjustment of error subsystem name * contrib/rddsql/sddmy/make_vc.bat * contrib/rddsql/sddpg/make_b32.bat * contrib/rddsql/sddpg/make_vc.bat * removed unused enviroment variable assignment * contrib/rddsql/sddpg/common.mak * svn properties adjustment 2008-12-25 23:08 UTC+0100 Francesco Saverio Giudice (info/at/fsgiudice.com) * contrib/gtwvg/wvgclass.prg * contrib/hbgd/gdchart.prg ! fixed assigned but not used variable ; Also I would like to wish you all a happy Christmas holidays 2008-12-25 11:32 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * ChangeLog * fixed ChangeLog entry of last commit. Sorry, wrong result file was pasted 2008-12-25 11:14 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * include/hbextern.ch * source/rtl/seconds.c + implemented hb_milliseconds(). This function returns time value from some moment in the past (not midnigth!). It does not start to cound from zero in midnight, thus, can be safetly used to measure time intervals. + tests/ticktime.c + Added nice test for hb_milliseconds(). Results on Windows XP: Ticks per second: 63.595 Min/avg/max interval (ms): 15.000 / 15.724 / 47.000 Loops per tick: 13035.09 Results on openSUSE on VirtualBox on Windows XP: Ticks per second: 991.799 Min/avg/max interval (ms): 1.000 / 1.008 / 22.000 Loops per tick: 765.71 2008-12-25 08:20 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * contrib/rddsql/sqlpg/make_b32.bat * contrib/rddsql/sqlpg/make_vc.bat ! fixed import library building 2008-12-25 08:05 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * contrib/rddsql/sqlbase.c * contrib/rddsql/sqlmix.c * contrib/rddsql/tests/test1.prg * contrib/rddsql/common.mak - contrib/rddsql/hbsqldd.h + contrib/rddsql/hbrddsql.h * contrib/rddsql/make_b32.bat * contrib/rddsql/make_vc.bat * contrib/rddsql/make_gcc.sh + contrib/rddsql/sddmy - contrib/rddsql/mysqldd.c + contrib/rddsql/sddmy/mysqldd.c + contrib/rddsql/sddmy/Makefile + contrib/rddsql/sddmy/make_gcc.sh + contrib/rddsql/sddmy/common.mak + contrib/rddsql/sddmy/make_b32.bat + contrib/rddsql/sddmy/make_vc.bat * changed structure and names of rddsql libraries. Since it can support many SQL databases, each backend moved to a separate library. Otherwise (all backend in the same library) nobody will be able to compile library without installing packages of ALL supported SQL databases. Now: rddsql - RDD for interfacing to SQL database drivers sddmy - MySQL database driver sddpg - Postgre SQL database driver ... ; FIXME: I was unable to manage build files. [DONE] contrib/sqlrdd/sddmy/make_b32.bat sets HB_ROOT variable: set HB_ROOT = ..\..\.. but this variable is lost and contrib/make_b32.mak reassign it: !ifndef HB_ROOT HB_ROOT = ..\.. !endif This breaks building of library. To fix this problem, I've added a two hacks: - added additional include path into CFLAGS (see make_b32.bat) - added "..\" to LIB_PATH (see common.mak) The same problem is for both make_b32 and make_vc, and for both sddmy and sddpg libraries. ; TODO: check (and adjust if necessary) build files for unix + contrib/rddsql/sddpg + contrib/rddsql/sddpg/pgsqldd.c + contrib/rddsql/sddpg/Makefile + contrib/rddsql/sddpg/make_gcc.sh + contrib/rddsql/sddpg/common.mak + contrib/rddsql/sddpg/make_b32.bat + contrib/rddsql/sddpg/make_vc.bat + added SQL database driver for Postgre SQL ; does anyone have more RDD for Christmas gift? :) 2008-12-24 12:23 UTC-0600 Teo Fonrouge (teo/at/windtelsoft/dot/com) * include/Makefile + added hbrddnsx.h header 2008-12-24 11:52 UTC-0600 Teo Fonrouge (teo/at/windtelsoft/dot/com) * harbour.spec + added rddnsx to rpm builds. Thanks Przemek. ; Also I would like to wish you all a happy xmas holidays ; and a new year full of health, love and Harbour business :) 2008-12-24 14:36 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/hbmk.bat * harbour/bin/hbmk_os2.cmd * harbour/bin/hb-func.sh + added rddnsx to linked library list 2008-12-24 13:32 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rdd/dbfnsx/Makefile ! fixed typo in library name. Should be rddnsx instead of dbfnsx. Thanks to Lorenzo. 2008-12-24 09:45 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) + harbour/include/hbrddnsx.h + harbour/source/rdd/dbfnsx + harbour/source/rdd/dbfnsx/dbfnsx1.c + harbour/source/rdd/dbfnsx/Makefile * harbour/config/global.cf * harbour/make_b32.mak * harbour/make_vc.mak * harbour/make_gcc.mak * harbour/common.mak + added new DBFNSX RDD. Those of you who knows SIX3 should also know NSX index format. It's very interesting format and in some cases much better then CDX. I hope you will find it interesting. In hbrddnsx.h you can find detail information about Harbour NSX implementation. It's a small gift from me for Christmas ;-) I would like to wish all of you Marry Christmas and Happy new Year. best regards, Przemek 2008-12-24 04:56 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/rddado/adordd.prg * removed cSupperRDD never assigned local variable detected by new compiler logic added by Mindaugas. 2008-12-24 03:23 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * include/hberrors.h * source/compiler/hbgenerr.c * source/compiler/hbopt.c + implemented warning: Variable '%s' is never assigned in function %s(%d). This variable can be replaced by value NIL * source/rtl/treport.prg % removed never assigned variable 2008-12-24 00:04 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/common/expropt1.c * harbour/source/common/expropt2.c ! fixed wrongly modified expression during optimization for ( <numConst> / 0.0 ) * cleaned bDec/bWidth updating in compile time optimizations * harbour/tests/speedtst.prg ! fixed possible race condition in initialization + added set workarea private for xHarbour builds - thanks to Phil * harbour/doc/cmpopt.txt * small cleanup * harbour/include/hbvmpub.h * harbour/source/vm/hvm.c % some optimizations mostly for MT mode or compilers which do not support function autoinline optimization 2008-12-23 15:45 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbsetup.h * temporary disabled noreturn function attributes - we have some code which puts references to some functions after hb_errInternal() call to force link bindings which is fully optimized if hb_errInternal is declared with noreturn attribute so we cannot use it as long as we will not clean them. * harbour/tests/speedtst.prg * build default xHarbour binaries without support. xHarbour needs separated version for MT and ST mode because standard MT functions are not available in ST libraries. 2008-12-23 03:11 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/ChangeLog * harbour/contrib/rddado/adordd.ch * harbour/contrib/hbwin/hbwin.h * converted TABs to SPACEs * harbour/include/hbapicdp.h * formatting * harbour/config/rules.cf * harbour/config/w32/mingwce.cf * harbour/config/w32/poccce.cf * harbour/config/w32/msvcce.cf ! fixed repeated HB_FLAGS 2008-12-22 16:30 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/ChangeLog ! cleaned some typos in my recent ChangeLog entries * harbour/include/hbvm.h * harbour/include/hbvmpub.h * harbour/include/hbsetup.h * harbour/include/hbapi.h * harbour/include/hbapierr.h * added some function attributes which can improve code optimization or introduce some additional warnings. Now it works only in GCC builds. * harbour/source/vm/hvm.c ! fixed missing double decimal places initialization in some number negating ! fixed setting number of decimal places in plus and minus operations if integer overflow forces conversion to double item * some minor optimizations * harbour/source/rtl/rat.c * formatting 2008-12-20 09:36 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtwvg/gtwvg.h ! Seperated PHB_GTWVT structure for GUI elements as PHB_GUIDATA + PHB_GTWVT. * harbour/contrib/gtwvg/gtwvg.c * harbour/contrib/gtwvg/wvgcore.c * harbour/contrib/gtwvg/wvgutils.c ! Modified to respect PHB_GUIDATA structure. * harbour/contrib/gtwvg/wvgpaint.prg ! Modified THREAD STATIC paint_ behavior to respect true thread oriented until THREAD STATIC is modified to respect its true meaning. * harbour/contrib/gtwvg/wincback.prg * harbour/contrib/gtwvg/wvgmenub.prg * harbour/contrib/gtwvg/wvgclass.prg * harbour/contrib/gtwvg/wvgsle.prg * harbour/contrib/gtwvg/wvgstatc.prg * harbour/contrib/gtwvg/wvgsysw.prg * harbour/contrib/gtwvg/wvgwnd.prg ! Fixed to respect new compiler warnings. Thanks Mindaugas for this great addition. Hope code will be faster than before. 2008-12-20 18:35 UTC+0100 Francesco Saverio Giudice (info/at/fsgiudice.com) * contrib/hbfbird/tfirebrd.prg * contrib/hbgd/gdbar.prg * contrib/hbgd/gdbarcod.prg * contrib/hbgd/gdchart.prg ! fixed assigned but not used variable 2008-12-19 20:26 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/set.c ! fixed long existing bug in _SET_PRINTFILE, _SET_DEFAULT, _SET_EXTRAFILE It was possible to use closed handle for the above file inside error handler executed during their reopening. 2008-12-19 19:46 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/filesys.c * do not respect _SET_PATH when hb_{file|fs}ExtOpen() is called with create file attributes - Clipper compatibility. * harbour/source/vm/set.c * recognize files starting with "/dev/" as devices in *nixes * check if given file name is a name of existing device (character, block, fifo, socket) in *nix builds * ignore _SET_DEFAULT and default extension in _SET_PRINTFILE, _SET_ALTFILE and _SET_EXTRAFILE when given file name is device name. In DOS/Windows/OS2 builds devices are recognized by name: "PRN", "CON", "LPT[1-3]", "COM[1-9]" 2008-12-19 18:25 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/compiler/hbopt.c * pacified GCC warning 2008-12-19 14:15 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/pp/hbpp.c * accept empty $Id keywords in ChangeLog file. It allows to compile Harbour from source taken directly from SVN as tarball without keyword expanding, e.g. from: https://harbour-project.svn.sourceforge.net/viewvc/ harbour-project/trunk/harbour.tar.gz?view=tar In such case revision number is unknown and set arbitrary to -1 * change -q parameter to accept 0, 1 and 2 levels to disable standard messages and also warning/error ones 2008-12-19 06:55 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/utils/hbtest/rt_hvm.prg * harbour/utils/hbtest/rt_hvma.prg * updated error messages for compilation with -z (no shortcut optimization) 2008-12-19 04:30 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbmysql/tmysql.prg * harbour/contrib/hbpgsql/pgrdd.prg * harbour/contrib/hbpgsql/tpostgre.prg ! fixed unused variables and meaningless assignment detected by new compiler extension - many thanks to Mindaugas for it. * harbour/include/hbsetup.h + added macros for some function attributes which can be used in the future for optimizations * harbour/source/rtl/filesys.c * formatting * harbour/source/rtl/hbtoken.c * changed the behavior of " " token delimiter - now it works as any other tokens. The old behavior can be still reach using empty string "" as token delimiter. "" is now default token. * harbour/utils/hbtest/hbtest.prg * change error object to text conversion in hbtest so now it detects also differences which were ignored by previous version, e.g. OPERATION wrongly used instead of FILENAME or wrongly set TRIES flag. * harbour/utils/hbtest/hbtest.prg * harbour/utils/hbtest/rt_trans.prg * harbour/utils/hbtest/rt_math.prg * harbour/utils/hbtest/rt_hvm.prg * harbour/utils/hbtest/rt_misc.prg * harbour/utils/hbtest/rt_hvma.prg * harbour/utils/hbtest/rt_class.prg * harbour/utils/hbtest/rt_str.prg * harbour/utils/hbtest/rt_stra.prg * harbour/utils/hbtest/rt_date.prg * harbour/utils/hbtest/rt_array.prg * updated for extended error messages, tested with Harbour, Cl52/53 * harbour/include/hbapierr.h * harbour/source/rtl/errorapi.c + added hb_errRT_FileError() used in file errors ! fixed TRIES counter updating when RETRY flag is set - it should be done before calling error block not after - detected by new hbtest error messages ; FIXME: in practice all errors with RETRY flag generated by other hb_errRT_*() functions have to be fixed because new error object is created each time and informations from previous one are lost, e.g. TRIES counter or CARGO value set by user. They should be reimplemented in similar way to hb_errRT_FileError() * harbour/source/vm/memvars.c * harbour/source/rtl/copyfile.c * harbour/source/vm/set.c ! fixed wrong error messages detected by new hbtest in _SET_PRINTFILE, _SET_ALTFILE and _SET_EXTRAFILE ; TOCHECK - Does CA-Cl*pper respect _SET_DEFAULT in above SETs? 2008-12-19 03:55 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * source/compiler/hbopt.c ! fixed compiler memory leaks * contrib/hbnf/xbox.prg * contrib/hbtpathy/telepath.prg ! fixed assigned but not used variable 2008-12-19 01:15 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * contrib/rddsql/mysqldd.c * contrib/rddsql/sqlbase.c ! moved pArea->uiFieldCount checking to sqlbase 2008-12-18 21:27 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * contrib/hbnf/mouse1.prg * contrib/hbnf/pegs.prg * contrib/hbnf/popadder.prg * contrib/hbnf/tbwhile.prg * contrib/hbtip/cgi.prg * contrib/hbtip/ftpcln.prg * contrib/hbtip/httpcln.prg * contrib/hbtip/popcln.prg * contrib/hbtip/sendmail.prg * contrib/hbtip/sessid.prg * contrib/hbtip/smtpcln.prg * contrib/hbtpathy/telepath.prg * contrib/hbvpdf/hbvpdf.prg * contrib/hbvpdf/hbvpdt.prg * contrib/hbwhat/wincore.prg * contrib/hbwin/win_tprn.prg ! fixed assigned but not used variable ; NOTE: the only unfixed code is contrib/gtwvg, utils/hbdoc, utils/hbmake/hbmake.prg 2008-12-18 19:53 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * source/compiler/hbopt.c ! one more try to fix passing information about redundant variable assignment by preprocessor rules, i.e., _nowarn_* hack removed, using HB_SYMBOL_UNUSED() technique * include/hbclass.ch * include/std.ch ! fixed redundant nScope and GetList assignment * contrib/rddado/adordd.prg * contrib/xhb/cstruct.prg * contrib/xhb/hblog.prg * contrib/xhb/sprintf.prg ! fixed assigned but not used variable 2008-12-18 17:30 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * source/compiler/hbopt.c ! suppressed optimisation if PARAMETER sentence is used ; TODO: PARAMETER sentence support * contrib/hbmisc/fileread.prg * contrib/hbmisc/nconvert.prg * contrib/hbnf/aredit.prg * contrib/hbnf/clrsel.prg * contrib/hbnf/dfile.prg * contrib/hbnf/dispmsg.prg * contrib/hbnf/dosver.prg * contrib/hbnf/menu1.prg * contrib/hbnf/menutonf.prg * contrib/hbodbc/browodbc.prg * contrib/hbodbc/todbc.prg * contrib/hbwhat/whatutil.prg * contrib/hbwhat/wincore.prg * contrib/hbwhat/windebug.prg * contrib/hbwhat/winerror.prg * contrib/hbwhat/wintabs.prg * contrib/hbwhat/wintbar.prg * contrib/hbziparc/hbziparc.prg ! fixed assigned but not used variable 2008-12-18 15:30 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * include/hbcomp.h * source/compiler/hbmain.c * source/compiler/hbopt.c ! fixed warnings of last commit * contrib/hbpgsql/tpostgre.prg ! fixed assigned but not used variable 2008-12-18 05:02 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * include/hbclass.ch * include/hbcomp.h * include/hberrors.h * source/compiler/hbgenerr.c * source/compiler/hbmain.c * source/compiler/hbopt.c + PCode optimizations: 1) Self := QSELF(), Self:method -> QSELF():method 2) Declared, but unused variables are removed from code These optimizations are enabled if jump optimizations are enabled. + added recursive pcode tree tracer. It is capable to generate new warning: Variable %s is assigned, but not used. Warning is not generated in these cases: 1) unoptimal Self := QSELF() pcode [generated by preprocessor rules] 2) if variable name starts with '_nowarn_'. This allows to suppress warning in case unoptimal pcode is generated by preprocessor rules 3) assigned value is NIL. This let us force garbage collection using oVar := NIL Warning has warning level 3. ; NOTE: if you are using -w3 -es2 in makefiles, you'll need to fix your redundant code to compile the project * source/rtl/achoice.prg * source/rtl/browse.prg * source/rtl/tbrowse.prg * source/rtl/teditor.prg * source/rtl/tget.prg * source/rtl/tgetlist.prg * source/rtl/tlabel.prg * source/rtl/tmenusys.prg * source/rtl/tpersist.prg * source/rtl/treport.prg * source/debug/dbgtmenu.prg * source/debug/debugger.prg * source/debug/dbgtobj.prg * fixed 'assigned but not used' warnings * utils/hbdoc/hbdoc.prg * utils/hbdoc/genasc.prg * utils/hbdoc/genhpc.prg * utils/hbdoc/genhtm.prg * utils/hbdoc/genchm.prg * utils/hbdoc/genng.prg * utils/hbdoc/genos2.prg * utils/hbdoc/genrtf.prg * utils/hbdoc/gentrf.prg * utils/hbdoc/ft_funcs.prg * utils/hbmake/hbmake.prg * #pragma -w2 ; NOTE: I've been fixing warnings in utils/hbdoc/* for 2 hours, but only fixed half of files. There are a lot of garbage code here. I do not thing this code is working... I used fallback method: restored original files and used -w2 ; NOTE: hbmake.prg has about 140 unused assignments. I've also fallback to -w2, because some of unused code is complex, ex., ASCAN() with block parameters. I'm not using hbmake, and I'm affraid to break something important. * compiler/hbpcode.c - removed Ron's copyright on hb_compStrongType(). We do not have this functions in the compiler at all. I guess this text is just a result of .c header copy-paste from xHarbour's hbstrong.c some time ago. 2008-12-16 10:06 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/classes.c * pacified BCC warning + harbour/tests/mt/mttest11.prg + added new test for asynchronous screen updating in MT mode 2008-12-15 08:07 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtwvg/wvtwin.ch + Added more constants. * harbour/contrib/gtwvg/wvgwin.c + Added functions to manipulate ChooseFont() WINAPI. * harbour/contrib/gtwvg/wvgsysw.prg + Implemented WvgFontDialog(), WvgFon() Xbase++ compatible classes. * harbour/contrib/gtwvg/tests/demoxbp.prg + Incorporated WvgFontDialog() and WvgFont() functionality. ;IMPORTANT: XBase++ documentation describes that WvgFontDialog() cannot be opened in modeless state under Windows. Additionally it also states that its event blocks cannot be implemented in Windows. It is possible only in OS/2. But Harbour implementation of WvgFontDialog() has provided this important functionality in Windows also. You can :display the font dialog in modeless state as well as :activate* codeblocks also get fired. 2008-12-12 12:10 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtwvg/wvtwin.ch + Added more constants. * harbour/contrib/gtwvg/wvgcrt.prg * harbour/contrib/gtwvg/wvgdlg.prg * harbour/contrib/gtwvg/wvgwnd.prg * harbour/contrib/gtwvg/wvgsysw.prg ! Fixed some variable usages. Sorry for reckless uplod a couple of hours before. 2008-12-12 10:06 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtwvg/makefile * harbour/contrib/gtwvg/common.mak + wvgsysw.prg + harbour/contrib/gtwvg/wvgsysw.prg + Started WvtSysWindow(), WvgFontDialog() classes compatible with Xbase++. * harbour/contrib/gtwvg/wvgcrt.prg * harbour/contrib/gtwvg/wvgdlg.prg * harbour/contrib/gtwvg/wvgwnd.prg ! Implemented more methods and properties upto Xbase++ documentation. * harbour/contrib/gtwvg/wvgwin.c ! More functions and cleanup of existing ones. * harbour/contrib/gtwvg/wvgparts.ch + Added More constants. * harbour/contrib/gtwvg/tests/demoxbp.prg ! Added more feature implemenattion. ;THANKS: Przemek for fixing mingw compilation. 2008-12-12 18:06 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapicls.h * harbour/source/vm/codebloc.c * harbour/source/vm/proc.c * harbour/source/vm/classes.c + added support for messages in PROCFILE() * modified PROCFILE() and HB_METHODNAME() output - PROCFILE() should be fully Clipper compatible and HB_METHODNAME() works in a little bit different way for evaluated codeblocks created in methods or associated with method and returns (b)<class>:<msg> instead of (b)<method> so the output is more similar to xHarbour. * harbour/contrib/gtwvg/gtwvg.h ! disabled NONAMELESSUNION - wvgwin.c uses TVINSERTSTRUCT item member without union name what breaks MINGW compilation * added hardcoded TVIS_EXPANDPARTIAL when it does not exist in header files - MINGW 3.4 does not have it. 2008-12-11 19:48 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbthread.h * harbour/source/vm/thread.c + added hb_atomic_set(), hb_atomic_get(), hb_atomic_inc() and hb_atomic_dec() functions which operates on HB_COUNTER or smaller type if it's necessary for some platforms which can be access/assign increment/decrement in MT safe atom operations. hb_atomic_dec() returns true if counter is 0 after decrementation * harbour/include/hbatomic.h ! fixed compilation in Linux and OpenWatcom * harbour/include/hbapiitm.h * harbour/source/rtl/itemseri.c + make hb_itemSerialize() and hb_itemDeserialize() public functions ! fixed serialization items with internal item references * harbour/source/vm/hvm.c * release memvars after closing RDDs * harbour/source/debug/dbgentry.c ! fixed buffer overflow reported by Rodrigo * harbour/source/vm/macro.c * harbour/source/compiler/hbmain.c * formatting * harbour/include/hbexprb.c ! fixed wrongly recognized functions with HB_I18N_ prefix as HB_I18N_GETTEXT() * harbour/include/hbapi.h * harbour/include/hbstack.h * harbour/include/hbthread.h * harbour/source/vm/estack.c * harbour/source/vm/thread.c * harbour/source/vm/hvm.c + added support for I18N in HVM. Each thread can have it's own i18n set. When new thread is created then it inherits i18n set from parent thread and both uses the same set (please remember about it if you will want to make some direct modifications on active i18n set internals). When thread change active i18n set then it effects only this thread and new threads which will be created later. It does not change i18n in other existing threads. + added functions to set/get pointer to active i18n set in HVM void * hb_vmI18N( void ) void hb_vmSetI18N( void * ) * harbour/include/hbapi.h * harbour/source/rtl/hbi18n.c + added i18n module. Now only for internal Harbour usage without support for optional switching to alternative implementations. I'll add such functionality later when I will work on native gettext support. The following public .prg functions has been added: HB_I18N_GETTEXT[_STRICT]( <cMsgID> [, <cContext> ] ) -> <cTranslatedMsgID> | <cMsgID> HB_I18N_NGETTEXT[_STRICT]( <nValue>, <cMsgID> | <acMsgID> ; [, <cContext> ] ) -> <cTranslatedMsgID> | <cMsgID> | <acMsgID>[ <nIndex> ] This is minimal support necessary for .prg code which has to exists in each i18n module working with Harbour. The following functions had been added as public C API: PHB_ITEM hb_i18n_gettext( PHB_ITEM pMsgID, PHB_ITEM pContext ) PHB_ITEM hb_i18n_ngettext( PHB_ITEM pNum, PHB_ITEM pMsgID, PHB_ITEM pContext ) The following functions had been added as private HVM C API: void hb_i18n_init( void ) void hb_i18n_exit( void ) void hb_i18n_release( void * cargo ) void * hb_i18n_alloc( void * cargo ) They have to be supported by alternative i18n modules The following functions has been added to manage Harbour i18n translations sets: HB_I18N_CREATE() -> <pI18N> Creates new empty I18N translation set HB_I18N_CODEPAGE( [<pI18N>,] [<cNewCP>], [<lBase>], [<lTranslate>] ) -> <cOldCP> Gets or sets Harbour codepage used by translation set <pI18N> - I18N translation set, if it's not given then currently active I18N set is used <cNewCP> - new CP ID. Must be linked with application <lBase> - when it's .T. then get/set base massages' CP instead of translated massages' CP <lTranslate> - if it's .T. then translate base (<lBase>==.T.) or final messages in I18N set from previous CP to given one. Base messages translation is synced with context ID translation. HB_I18N_PLURALFORM( [<pI18N>,] [<cNewForm>|<bNewForm>], [<lBase>] ) -> <cOldForm>|<bOldForm> Gets or sets plural form used for final or base messages <pI18N> - I18N translation set, if it's not given then currently active I18N set is used <cNewForm> - language ID of plural form, e.g.: "EN", "PL", "LT". Now only three above are supported. Please add rules for other languages to source/rtl/hbi18n.c. <bNewForm> - codeblock used to calculate plural form indexes. can be used instead of character representation but it's not storred in serialized I18N set <lBase> - when it's .T. then get/set base massages' plural form instead of translated massages' one. HB_I18N_DESCRIPTION( [<pI18N>,] [<cNewDescription>] ) -> <cOldDescription> Gets or sets translation set description. After serialization up to 32 bytes is stored in header which can be easy used to determinate type of translation file. <pI18N> - I18N translation set, if it's not given then currently active I18N set is used <cNewDescription> - new description HB_I18N_ADDTEXT( <pI18N>, <cMsgID>, <cTrans> | <acTrans> [, <cContext> ] ) -> NIL Adds new message with translation to i18n translation set <pI18N> - I18N translation set <cMsgID> - original message <cTrans> - translated message <acTrans> - array with translated messages used for plural forms <cContext> - message context HB_I18N_SET( [ <pI18N> | NIL ] ) -> <lActive> Sets given I18N translation set as default one used by HB_I18N_[N]GETTEXT[_STRICT]() functions or remove translation set for calling thread when passed parameter is NIL <pI18N> - I18N translation set Returns logical value which is .T. when i18n set is active HB_I18N_SAVETABLE( [<pI18N>] ) -> <cTable> Returns I18N translation as string item which can be stored in file or database <pI18N> - I18N translation set, if it's not given then currently active I18N set is used HB_I18N_RESTORETABLE( <cTable> ) -> <pI18N> | NIL Restores I18N translation set from string item. <cTable> - I18N translation set in string representation On success it returns new <pI18N> set otherwise NIL if <cTable> is not valid item created by HB_I18N_SAVETABLE() or it's corrupted. HB_I18N_HEADERSIZE() -> <nHeaderSize> Returns size of header used by i18n serialized version HB_I18N_CHECK( <cTable> | <cHeader> [, @<cDescription> ] ) -> <lValid> <cTable> - i18n translation set serialized by HB_I18N_SAVETABLE <cHeader> - header of i18n translation set ( LEFT( <cTable>, HB_I18N_HEADERSIZE() ) ) <cDescription> - optional parameter passed by reference where will be sored i18n translation set description extracted from valid header Returns logical value indicating if given table or header is valid serialized by HB_I18N_SAVETABLE() data. It does not decode the table though it validates size and control sums. These functions are optional and some future alternative implementations may not support all of them and/or may provide some other functions. + added unofficial .prg function __I18N_HASHTABLE() which allows to access hash table used by i18n translation set or create new translation set with given hash table. It's helper functions for developers which will work on Harbour i18n tools and should not be used by Harbour users. Unlike original gettext Harbour allows to use language with many plural forms as base one. In such case programmer should activate at application startup default i18n translation set with base plural form valid for base application language, e.g. by: pI18N := hb_i18n_create() hb_i18n_pluralForm( pI18N, <cLangID> | <bForm>, .t. ) hb_i18n_set( pI18N ) .prg code example: #xtranslate _( <x,...> ) => hb_i18n_gettext_strict( <x> ) #xtranslate _N( <x,...> ) => hb_i18n_ngettext_strict( <x> ) proc main() local pI18N, i pI18N := hb_i18n_create() hb_i18n_pluralForm( pI18N, "PL", .t. ) hb_i18n_set( pI18N ) for i := 0 to 30 ? i, _N( i, {"grosz", "grosze", "groszy"} ) if i > 0 .and. i % 10 == 0 wait endif next return In .pot files created during compilation by Harbour with -j option for above code we have the following entries for message with plural forms: msgid "grosz" msgid_plural "grosze" msgid_plural2 "groszy" msgstr[0] "" The msgid_plural2 (and others if language has more plural forms) is Harbour extension which is not gettext compatible. The above implementation is base version but should be fully functional. Now we will need functions to safe/read i18n files and tools to mange .pot files: merge them, edit translations, create final binary i18n translation sets. Because we are using gettext compatible .pot files then for some of such jobs we can use original gettext tools but we need at least function which will create translation set from one or more .pot files. We should also agree some default localization(s) for files containing translated data, their name convention and environment variable(s) to set default language. It's not strictly necessary and each user can have his own implementation but it would help in adding new translations by final users to any Harbour application which will respect them. We can use LANG envvar to extract preferred language and use the same path as executed application looking for <appname>-<lang>.hil files though it may create some problems for OSes which support only 8.3 file names so we can also define that HB_I18N envvar has higher priority and points to expected translation file. * harbour/include/hbextern.ch - removed old __i18n_*() functions + added current i18n functions 2008-12-09 12:46 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtwvg/makefile * harbour/contrib/gtwvg/common.mak + wvghtmlv.prg * harbour/contrib/gtwvg/hbgtwvg.ch + HB_GTI_ACTIVATESELECTCOPY + HB_GTE_CTLCOLOR * harbour/contrib/gtwvg/gtwvg.c + hb_gtInfo( HB_GTI_ACTIVATESELECTCOPY ) This has the same effect as to activating the select/copy operation from the sys menu of the application. This way you can define any key to begin this operation as: SetKey( K_RBUTTONUP, {|| hb_gtInfo( HB_GTI_ACTIVATESELECTCOPY ) } ) and to start copy operation it will be enough to perform right click and then dragging the text with left button down. :TODO: Implementation in GTWVT. + harbour/contrib/gtwvg/wvghtmlv.prg + Added WvgHTMLViewer() class compatible with XbpHTMLViewer(). It is a fully functional implementation as per Xbase++ documentation except for method :setHTML( cHTMLtext ) * harbour/contrib/gtwvg/wvggui.c + Added evenh handlling for WV_CTLCOLOR* messages. * harbour/contrib/gtwvg/wvgwin.c + Added more winapi functions. * harbour/contrib/gtwvg/wvg3stat.prg * harbour/contrib/gtwvg/wvgax.prg * harbour/contrib/gtwvg/wvgcheck.prg * harbour/contrib/gtwvg/wvglistb.prg * harbour/contrib/gtwvg/wvgmle.prg * harbour/contrib/gtwvg/wvgphdlr.prg * harbour/contrib/gtwvg/wvgpushb.prg * harbour/contrib/gtwvg/wvgradio.prg * harbour/contrib/gtwvg/wvgsle.prg * harbour/contrib/gtwvg/wvgstatb.prg * harbour/contrib/gtwvg/wvgstatc.prg * harbour/contrib/gtwvg/wvgtoolb.prg * harbour/contrib/gtwvg/wvgtreev.prg * harbour/contrib/gtwvg/wvgwnd.prg ! Heavy changes especially in event handlling management. + ::setColorFG( nRGB ) and ::setColorBG( nRGB ) implemented for WvgSLE(), WvgMLE(), WvgStatic(), WvgCheckBox(), WvgRadioButton(), WvgTreeView(), WvgListBox(). * harbour/contrib/gtwvg/tests/demowvg.prg ! Some finer additions. + harbour/contrib/gtwvg/tests/demoxbp.prg Added new demo with pure Xbase++ code clubbing all the committed classes till date including WvgHTMLViewer(). ; Compile as : hbmk_b32 -mt demoxbp 2008-12-08 16:30 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/hb-mkslib.sh ! fixed last modification * harbour/doc/Makefile + harbour/doc/cmpopt.txt + added small description for Harbour compile time optimization * harbour/include/hbexpra.c + allow to use hb_mutexCreate() as static variable initializer, e.g.: static s_mtxarr := { "MTX1" => hb_mutexCreate(), ; "MTX2" => hb_mutexCreate(), ; "MTX3" => hb_mutexCreate() } * harbour/include/hbexprb.c % comment * harbour/source/common/expropt2.c + added some missing optimizations for date constants + added optimization for multiple negate expressions 2008-12-07 22:22 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtwvg/makefile * harbour/contrib/gtwvg/common.mak + wvg3stat.prg + wvgbitmp.prg + wvgmle.prg + wvgsle.prg * harbour/contrib/gtwvg/wvgparts.ch + New constants to handle new classes. + harbour/contrib/gtwvg/wvgbitmp.prg + Code skelton of WvgBitmap class ( non-functional yet ). + harbour/contrib/gtwvg/wvg3stat.prg + Wvg3State() class compatible to Xbase++ Xbp3State(). + harbour/contrib/gtwvg/wvgmle.prg + WvgMLE() class compatible with Xbase++ XbpMLE(). + harbour/contrib/gtwvg/wvgsle.prg + WvgSLE() class compatible with Xbase++ XbpSLE(). * harbour/contrib/gtwvg/wvgwin.c + Added new functions for new classes. * harbour/contrib/gtwvg/wvgcheck.prg * harbour/contrib/gtwvg/wvgdatar.prg * harbour/contrib/gtwvg/wvglistb.prg * harbour/contrib/gtwvg/wvgphdlr.prg * harbour/contrib/gtwvg/wvgstatb.prg * harbour/contrib/gtwvg/wvgradio.prg * harbour/contrib/gtwvg/wvgstatc.prg * harbour/contrib/gtwvg/wvgtreev.prg * harbour/contrib/gtwvg/wvghwnd.prg ; Heavy changes in class framework. * harbour/contrib/gtwvg/tests/demowvg.prg + Added functionality of Wvg3State() and WvgSLE(), WvgMLE() classes. ; IMPLEMENTATION : Point to <Xbase++ Dialogs> menu option, click on any Active-X Control, Play with all controls : clicks, double clicks, resize. Watch statusbar panels, click on <Tools> toolbar button, the resulting panel contains latest classes SLE, MLE, CHECKBOX, RADIO, 3STATE. 2008-12-07 17:12 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/hb-mkslib.sh ! added support for absolute paths in passed object or static library list * harbour/config/bsd/gcc.cf ! added missing HB_CCACHE in gcc calls 2008-12-06 19:08 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtwvg/makefile * harbour/contrib/gtwvg/common.mak + wvgcheck.prg + wvgdatar.prg + wvgradio.prg + harbour/contrib/gtwvg/wvgcheck.prg + harbour/contrib/gtwvg/wvgdatar.prg + harbour/contrib/gtwvg/wvgradio.prg + Added WvgCheckBox(), WvgRadioButton(), DataRef() Xbase++ compatible classes. * harbour/contrib/gtwvg/wvggui.c * harbour/contrib/gtwvg/wvgwin.c * harbour/contrib/gtwvg/wvgparts.ch * harbour/contrib/gtwvg/wvglistb.prg * harbour/contrib/gtwvg/wvgpushb.prg * harbour/contrib/gtwvg/wvgstatb.prg * harbour/contrib/gtwvg/wvgstatc.prg * harbour/contrib/gtwvg/wvgtoolb.prg * harbour/contrib/gtwvg/wvgtreev.prg * harbour/contrib/gtwvg/wvghwnd.prg ; Heavy changes in class framework. + Many new winapi functions. ! Optimized use of hb_ACallBack(). - WinApi functions replaced by Harbour core functions. * harbour/contrib/gtwvg/tests/demowvg.prg + Added functionality of WvgCheckBox() and WvgRadioButton() classes. Now thses classes implement DataRef() class also. Work-in-progress. ;TODO : Few functions in wvgwin.c are not UNICODE compliant yet. DONE All functions are now UNICODE compliant. ;Viktor, can you compile GTWVG on 64-bit platform? ;REQUEST : Can someone familiar with Xbase++ come forward to write a small test program based on implemented classes. Please exclude all that functionality which is not yet implemented. 2008-12-04 23:56 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtwvg/tests/hbmk_b32.bat + xhb.lib - just to take use of hb_ToOutDebug(). While under heavy changes I need to keep the debugging info intact. Final sources will not have this included. * harbour/contrib/gtwvg/wvggui.c * harbour/contrib/gtwvg/wvgwin.c * harbour/contrib/gtwvg/wvgparts.ch * harbour/contrib/gtwvg/wvtwin.ch * harbour/contrib/gtwvg/winback.prg * harbour/contrib/gtwvg/wvgax.prg * harbour/contrib/gtwvg/wvgcrt.prg * harbour/contrib/gtwvg/wvgdlg.prg * harbour/contrib/gtwvg/wvglistb.prg * harbour/contrib/gtwvg/wvgphdlr.prg * harbour/contrib/gtwvg/wvgpushb.prg * harbour/contrib/gtwvg/wvgstatb.prg * harbour/contrib/gtwvg/wvgstatc.prg * harbour/contrib/gtwvg/wvgtoolb.prg * harbour/contrib/gtwvg/wvgtreev.prg * harbour/contrib/gtwvg/wvghwnd.prg + Implemented ( partially ) WvgTreeView(), WvgListBox() classes. ; Heavy changes in class structure, introduction of new functions, refinement of old ones, heavy implementtaion of hb_ACallBack()s. * harbour/contrib/gtwvg/tests/demowvg.prg + Added functionality of WvtTreeView() and WvtListBox() classes. ;TODO : Few functions in wvgwin.c are not UNICODE compliant yet. 2008-12-04 11:09 UTC+0100 Miguel Angel Marchuet <miguelangel@marchuet.net> * contrib/hbbmcdx/bmdbfcdx.c * contrib/hbbmcdx/hbbmcdx.h ! fixed partially BM_DbSetFilterArray, and added new features to rdd synced with dbfcdx. 2008-12-03 18:35 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/common/hbstr.c ! added missing call to va_end() in hb_snprintf() * harbour/source/vm/classes.c + added internal helper function __objSetClass() * harbour/source/rtl/valtoexp.prg * set class in expressions serialized by hb_valToExp() * harbour/source/rtl/valtostr.c % optimized hb_strToExp() * harbour/contrib/xhb/hbcompat.ch ! removed unnecessary conversion for HB_ISPOINTER() in xHarbour part. 2008-12-03 15:05 UTC-0300 Antonio Carlos Pantaglione <toninho@fwi.com.br> * contrib/hbziparc/hbziparc.prg ! hb_UnzipFile() to accept empty password like "" 2008-12-02 13:48 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/common/hbstr.c * harbour/config/w32/xcc.cf ! fixed XCC compilation * harbour/contrib/gtwvg/wvgwin.c ! changed _MAX_PATH to MAX_PATH - not all compilers support _MAX_PATH 2008-12-02 11:27 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/xhb/Makefile * harbour/contrib/xhb/common.mak + harbour/contrib/xhb/xhbarr.c + added aSplice(), aRemove() and aMerge() functions - code borrowed from xHarbour by Ron Pinkas. ! fixed GPF trap in these functions * harbour/contrib/xhb/xhbfunc.c + added CSTR() * harbour/contrib/xhb/hbcompat.ch ! changed name of xHarbour include files - they where changed few months ago and now they are the same as in Harbour. To xHarbour users: please update hbcompat.ch in xHarbour CVS * harbour/contrib/xhb/filestat.c ! fixed UNICODE compilation * harbour/contrib/xhb/hblognet.prg * harbour/contrib/xhb/hblog.prg * formatting * harbour/contrib/hbnf/tempfile.prg ! do not use HB_ISBYREF() .prg function - this function does not exist in Harbour and does not work correctly in xHarbour * harbour/include/hbapiitm.h * harbour/source/vm/macro.c * harbour/source/vm/codebloc.c * harbour/source/vm/hashes.c * harbour/source/vm/garbage.c * harbour/source/vm/itemapi.c * harbour/source/vm/memvars.c * cleanup * harbour/contrib/gtwvg/Makefile ! fixed typo * harbour/contrib/gtwvg/hbgtwvg.ch * added new line at the end of file and changed non ANSI C // comments to /* */ - this file is included by C code too. * harbour/contrib/gtwvg/wvgwin.c * harbour/contrib/gtwvg/wincallb.c * pacified some warnings and fixed possible access to uninitialized data * harbour/source/compiler/harbour.y * harbour/source/compiler/harbour.yyc ! fixed possible double freeing of memory blocks in #line directives TOMERGE[1.0] * harbour/common.mak * harbour/source/compiler/hbmain.c + harbour/source/compiler/compi18n.c * moved hb_compI18n*() functions to separate file covered by GPL with Harbour exception - Thank to Mindaugas * harbour/include/hbcomp.h * harbour/include/hbcompdf.h * harbour/include/hbexpra.c * harbour/include/hbexprop.h * harbour/include/hbexprb.c * harbour/source/common/expropt1.c * harbour/source/compiler/Makefile * harbour/source/compiler/ppcomp.c * added support for plural forms: hb_i18n_ngettext[_noop|_strict]( <nExp>, <cText> | <acText> ; [, <cContext> ) <acText> is accepted only as array of literal strings even if _strict suffix is missing - if it's a problem then we can change it. hb_i18n_ngettext_noop() is reduced only when it has valid parameters The default plural index expression used for reduction at compile time is: iif( <nExp> == 1, 1, 2 ) If second parameter of hb_i18n_ngettext_noop() is <cText> or <acText> length is 1 then it's reduced to <cText> or acText[1] else if second parameter is <acText> with more then 1 item then it's reduced to <acText>[ iif( <nExp> == 1, 1, 2 ) ] and if <nExp> is literal numeric expression is farther reduced to given array item. Otherwise is not reduced and warning is generated. The plural forms in .pot files are generated as: msgid "" msgid_plural "" msgid_plural2 "" [...] msgid_pluralN "" msgstr[0] "" Then real message ID is only msgid (with context if any) and msgid_plural* is used only for information. When the same msgid is used more then once in different hb_i18n_ngettext*() calls then plural messages are merged. Please remember that for strict gettext compatibility only two plural forms are allowed. * extended i18n warnings for simple types validation, e.g.: hb_i18n_gettext( .t. ) * do not generate empty .pot file when source code does not contain any hb_i18n_*() functions * store in .pot files references to real source file names with paths respecting #include directives * use hb_compIdentifierNew() to hash i18n messages at compile time ! fixed possible bad escape encoding of i18n strings + added support to control -j[01] flag using #pragma directive Before I'll begin to work on runtime support please test these modifications and inform me about problems you can see with the above version and missing functionality. 2008-11-30 23:49 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtwvg/wvggui.c * harbour/contrib/gtwvg/wvgdlg.prg * harbour/contrib/gtwvg/wvgphdlr.prg * harbour/contrib/gtwvg/wvgwnd.prg ! Cleanup - leftover trace calls. 2008-11-30 23:05 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtwvg/makefile * harbour/contrib/gtwvg/common.mak + wvgparts.ch + wincallb.c + wincback.prg + wvglistb.prg + wvgpushb.prg + wvgstatb.prg + wvgstatc.prg + wvgtreev.prg * harbour/contrib/gtwvg/wvggui.c * harbour/contrib/gtwvg/wvgsink.c * harbour/contrib/gtwvg/wvgutils.c * harbour/contrib/gtwvg/wvgwin.c * harbour/contrib/gtwvg/hbgtwvg.ch * harbour/contrib/gtwvg/wvgparts.ch * harbour/contrib/gtwvg/wvtwin.ch * harbour/contrib/gtwvg/wvgax.prg * harbour/contrib/gtwvg/wvgcrt.prg * harbour/contrib/gtwvg/wvgdlg.prg * harbour/contrib/gtwvg/wvgmenub.prg * harbour/contrib/gtwvg/wvgphdlr.prg * harbour/contrib/gtwvg/wvgtoolb.prg * harbour/contrib/gtwvg/wvgwnd.prg ! More synchronization, more events firings, etc. + harbour/contrib/gtwvg/wincback.prg + harbour/contrib/gtwvg/wincallb.c Now PRG/C level callback procedures/code blocks/methods are made available by Andy Wos. A big thank you. :nWndProc := HB_AsCallBack( 'MYWNDPROC', Self ) METHOD MYWndProc( hWnd, nMessage, nwParam, nlParam ) IF nMessage == WM_LBUTTONDOWN Win_MessageBox( , 'Prg level callback procedure!, 'Info' ) RETURN 0 ENDIF RETURN 1 Before this mechanism was available with only C callbacks which were of limiting nature. It has made our life so easy. + harbour/contrib/gtwvg/wvglistb.prg + harbour/contrib/gtwvg/wvgcombo.prg + harbour/contrib/gtwvg/wvgpushb.prg + harbour/contrib/gtwvg/wvgstatb.prg + harbour/contrib/gtwvg/wvgstatc.prg + harbour/contrib/gtwvg/wvgtreev.prg + Added Xbase++ compatible new classes. NOTE: Still a work-in-progress, subject to heavy changes. Basic functionality is working and class skeletons are in place. The partially functional classes added are: WvgStatusBar() WvgStatic() WvgPushButton() * harbour/contrib/gtwvg/tests/demowvg.prg + Added functionality of new classes. ; FIXME: harbour/contrib/gtwvg/wvggui.c Przemek, can you please look into this stripped down version of gtwvg.c. It has memory leak in inkey() and hb_gtInfo() functions. To test, just resize the window and exit, boooom, a big hb_out.log with above mem leak entries. I am sure I just stripped some important loop but am unable to locate where. 2008-11-26 18:22 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/itemapi.c * changed hb_itemPutNLen() function to create integer item only when conversion to HB_LONG does not change value of passed double argument. It fixes some problems like restoring non integer double values with 0 decimal places by __MVRESTORE() * harbour/source/rtl/val.c % minor optimization 2008-11-25 09:15 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtwvg/wvggui.c * harbour/contrib/gtwvg/wvgdlg.prg * harbour/contrib/gtwvg/wvgtoolb.prg + Hot Tracking of toolbar buttons. ;TODO: Buttons from resources. System defined buttons. Buttons with dropdown menues. Buttons with disabled/hot images. 2008-11-25 02:14 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtwvg/hbgtwvg.ch * harbour/contrib/gtwvg/wvtwin.ch * harbour/contrib/gtwvg/wvggui.c * harbour/contrib/gtwvg/wvgwin.c * harbour/contrib/gtwvg/wvgax.prg * harbour/contrib/gtwvg/wvgphdlr.prg * harbour/contrib/gtwvg/wvgtoolb.prg * harbour/contrib/gtwvg/wvgwnd.prg + Added WvgToolBar() class demonstrating limited features. * harbour/contrib/gtwvg/tests/demowvg.prg ! Added WvgToolBar() functionality. Click on ActiveX dialogs and see the difference between two two types of buttons. It is just limited featured toolbar. Extended version will follow. ;THANKS - Bitmap management code is lifted from GTWVW. Thanks Budyanto for this well written code. I examined many implementations but found this piece of code satisfying. Just tweaked to make UNICODE compliant. 2008-11-24 16:41 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/pp/ppcore.c * harbour/source/rtl/run.c * harbour/source/rtl/errorint.c * harbour/source/rtl/trace.c * harbour/contrib/xhb/hboutdbg.c * pacified warnings and updated some possibly danger constructions * harbour/source/vm/memvars.c % improved the performance of __MVRESTORE() ; FIXME: this code has Clipper incompatible extension which may cause that incorrect values will be restored - numeric double values with 0 as default number of decimal places for str() formatting are wrongly converted to integers loosing fractional part of number. 2008-11-24 12:34 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hberrors.h * harbour/source/compiler/hbgenerr.c + added new compile time error (file write error) * harbour/source/pp/ppcore.c * harbour/source/rtl/errorint.c * harbour/source/compiler/genhrb.c * harbour/source/compiler/genc.c * harbour/source/rtl/run.c * harbour/source/vm/estack.c * pacified warnings - Lorenzo please verify it compiling with C header files from Ubuntu. * harbour/contrib/xhb/filestat.c ! fixed UNICODE compilation * harbour/contrib/gtwvg/wvgsink.c ! added #define NONAMELESSUNION to fix MinGW compilation 2008-11-23 17:28 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtwvg/Makefile * harbour/contrib/gtwvg/common.mak + wvgtoolb.prg * harbour/contrib/gtwvg/hbgtwvg.ch * harbour/contrib/gtwvg/wvgdlg.prg * harbour/contrib/gtwvg/wvgmenub.prg * harbour/contrib/gtwvg/wvgphdlr.prg + harbour/contrib/gtwvg/wvgtoolb.prg ! Initial commit. * harbour/contrib/gtwvg/wvgwnd.prg ! Usual cleanup plus new functions/members etc. 2008-11-23 15:00 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtwvg/Makefile * harbour/contrib/gtwvg/common.mak + wvgmenub.prg 2008-11-23 13:27 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtwvg/gtwvg.c + static void hb_gt_wvt_FireMenuEvent( PHB_GTWVT pWVT, int iMode, int menuIndex ) + WM_ENTERMENULOOP + WM_EXITMENULOOP ! WM_COMMAND - Enhanced * harbour/contrib/gtwvg/wvggui.c + Same as with gtwvg.c * harbour/contrib/gtwvg/wvgsink.c + Experimental TypeLib info extraction function. Disabled for now. * harbour/contrib/gtwvg/wvgwin.c + Many new Win_* winapi functions. * harbour/contrib/gtwvg/hbgtwvg.ch + HB_GTI_MENU * harbour/contrib/gtwvg/wvgax.prg * harbour/contrib/gtwvg/wvgcrt.prg * harbour/contrib/gtwvg/wvgdlg.prg + harbour/contrib/gtwvg/wvgmenub.prg * harbour/contrib/gtwvg/wvgphdlr.prg + Implemented ( partially but functional ) Xbase++ compatible WvgMenuBar() and WvgMenu() classes. * harbour/contrib/gtwvg/tests/demowvg.prg + Demonstrated WvgMenuBar() and WvgMenu() implementation by picking up the real-time Xbase++ code. ; NEXT: WvtToolBar() class per XbpToolBar(). 2008-11-22 15:57 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) + harbour/contrib/gtwvg/tests/myharu.pdf 2008-11-22 15:39 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtwvg/gtwvg.c ! Fixed to honor parent GT if that is alien. * harbour/contrib/gtwvg/wvggui.c ! Thorough synchronized hb_gtInfo() slots. Every info gives results as expected, the only poiint to remeber is that those values are based on :fontHeight/Width set by the user at startup, though the font is never created. So MaxCol() will return the ( Windows client area size / fontWidth ). At any given moment this value is measured from actual size of the window. Though this information is irrelevant in this context but still it works. * harbour/contrib/gtwvg/wvgsink.c ! Fixed few left-over unreleased memory blocks. More synchronized code. ; FIXME: With some active-x's, for example, Shell.Explorer.2, object never unreference itself to 0 and hence GlobalAlloc()ated memory never gets released. Though I made extensive debugging but do not know where I should look into this matter. * harbour/contrib/gtwvg/wvgwin.c + Added few more Win_* functions. * harbour/contrib/gtwvg/wvgax.prg * harbour/contrib/gtwvg/wvgcrt.prg * harbour/contrib/gtwvg/wvgdlg.prg ! More synchronizations, method implementations, etc. Still a work in progress. * harbour/contrib/gtwvg/tests/demowvg.prg ! Changed menu prompts to depict correct usage. + Added more prompts and deleted unwanted ones. 2008-11-19 21:49 UTC+0100 Viktor Szakats * bin/hb-func.sh ! hbw32 -> hbwin 2008-11-19 19:30 UTC+0100 Viktor Szakats * include/hbapi.h * source/vm/extend.c + Added hb_stordl() which is similar to hb_stords() but accepts a Julian date in long numeric format similarly to hb_retdl(). * contrib/xhb/Makefile * contrib/xhb/common.mak + contrib/xhb/filestat.c + Added FILESTATS() function. Work of Giancarlo Niccolai / xhb. Minor cleanups made. ; Please test. (Only Win32/BCC platform was tested.) 2008-11-19 18:14 UTC+0100 Viktor Szakats * source/codepage/cpuakoi.c ! Fixed CP reference to point to KOI8-U instead of KOI8. Reasons: 1) KOI8-U was used in the _comment_. 2) Ukrainian quasi standard is KOI8-U instead of KOI8. http://aspell.net/charsets/cyrillic.html 3) CP KOI8-U wasn't used previously anywhere, yet was added by same author. I hope the author (Pavel Tsarenko) will be able to verify this change. 2008-11-19 13:51 UTC+0100 Viktor Szakats * common.mak * make_b32.mak * make_gcc.mak * make_vc.mak * Smoothened the difference between HARBOURFLAGS and HARBOURFLAGSDLL under the name HARBOURFLAGSLIB. Now all core .prg modules will be compiled with -n1 Harbour switch. This also means double compilation of .prg modules for static/dynamic libs could be optimized out as the object files are the same in both modes. TODO: Make -n1 switch unnecessary. * contrib/mtpl_gcc.mak + Added -n1 to HARBOURFLAGS. This way Harbour functions in libs will never be considered as entry points in executables or when any such module is built as dynamic lib in the future. * contrib/make_gcc_all.sh * Minor formatting. 2008-11-19 09:04 UTC+0100 Viktor Szakats * bin/hb-func.sh * mpkg_tgz.sh ! Fixed OSX/Darwin builds: - to not require harbour.dylib for binary tools supplied in .tgz package. This way, hbrun/hbmake/hbdoc/hbtest will work out of the box without the need for any special installation or extra manual procedure, or any change whatsoever in the user/system environment. The change also doesn't prevent user installing Harbour to system dirs and/or to utilize harbour.dylib in every way. - so that hbmk script creates '-static' executables by default. This will make all programs created by hbmk to work out of the box without any special trick described above, or explicit need to use '-static' switch. You can override this with '-shared' switch. ; [ The price to pay is slightly larger binary package and executable sizes. ] * make_gnu.sh * Minor sync in help text with recent change. * common.mak ! Old typo. 2008-11-19 06:27 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/hb-func.sh * updated OS release version checking for new OpenSuse distros * removed r from uname parameters used in get_hbplatform() function + added support for HB_MK_STATIC=yes|no envvar which allows to control default -static/-shared hbmk switch. It should be set before hb* scripts are created * harbour/harbour.spec * updated OS release version checking for new OpenSuse distros * harbour/mpkg_tgz.sh * changed installer envelope code to not use 'sed' and reenabled it in default builds. Now it should work with different *nixes. Please test. 2008-11-18 13:55 UTC+0100 Viktor Szakats * make_gcc.sh * common.mak ! Fixed previous and even older workaround for cyclic reference in common.mak when used with GNU-make. ; Please review/test. 2008-11-18 00:43 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtwvg/wvggui.c * harbour/contrib/gtwvg/common.mak * harbour/contrib/gtwvg/wvgdlg.prg * harbour/contrib/gtwvg/wvgwnd.prg ! Minor typos - strict Harbour code quality warnings. 2008-11-17 23:59 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtwvg/Makefile * harbour/contrib/gtwvg/common.mak + wvgdlg.prg * harbour/contrib/gtwvg/gtwvg.c ! Fixed one more issue with screen repaint behavior when window was changing size due to font settings. * harbour/contrib/gtwvg/wvgcore.c * harbour/contrib/gtwvg/wvggui.c * harbour/contrib/gtwvg/wvgwin.c * harbour/contrib/gtwvg/hbgtwvg.ch * harbour/contrib/gtwvg/wvggui.h * harbour/contrib/gtwvg/wvgax.prg * harbour/contrib/gtwvg/wvgcrt.prg * harbour/contrib/gtwvg/wvgphdlr.prg * harbour/contrib/gtwvg/wvgwnd.prg ! A reshuffling exercise, Wvt*Classes inching towards Xbase++ compatibility, more synchronizations. + harbour/contrib/gtwvg/wvgdlg.prg + Added WvgDialog() class on lines with XbpDialog(). * harbour/contrib/gtwvg/tests/demowvg.prg ! Active-X controls hosted with WvgDialog(), pure Windows GT. Previously these were being hosted in WvtCrt() console. 2008-11-18 03:04 UTC+0100 Viktor Szakats * ChangeLog * Two recent TODOs in entries marked as [DONE] by this change: 2008-11-18 01:36 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) (It was "broken" due to enhancements, see the TODOs. Thanks anyway.) 2008-11-18 02:53 UTC+0100 Viktor Szakats * source/rtl/gtwvt/gtwvt.c ! Fix to previous fix to maximize the window when the initial size would be too big to fit on screen (stupid omission). Now the previously cited sizing problem is alright. * source/vm/fm.c + Replaced HB_NO_FM_STAT and HB_FM_STAT envvars with HB_FM_STAT=yes|no (maybe 0|1 or on|off woud be better or could be accepted as alternatives or replacement). This is to avoid ambiguity when both envvars were set or the app default is not known. + Added HB_FM_STATISTICS_DYN_OFF to turn off mem tracking by default when stat module is linked in. * source/common/hbverdsp.c * Minor cosmetic. 2008-11-18 01:36 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/make_gcc.sh * harbour/make_gcc.mak ! fixed GCC builds broken by modifications in common.mak 2008-11-16 23:22 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtwvg/gtwvg.c ! Resizing: some recent changes reverted back. ; TODO: reversal in GTWVT also. It breaks some pre-initialization issues. * harbour/contrib/gtwvg/wvgax.prg ! Better detection if COM object fails to be created. + harbour/contrib/gtwvg/wvggui.c + harbour/contrib/gtwvg/wvggui.h + Initial commit of pure GUI GT based on GTWVG named WGU. ; Subject to heavy changes onwards. WGU will become the basis of WvgDialog() plus inherited sub-classes. * harbour/contrib/gtwvg/makefile * harbour/contrib/gtwvg/common.mak + Added new files. * harbour/contrib/gtwvg/tests/demowvg.prg + Now <Dialog One> is working properly. It now opens in new thread if it is odd and as usual if even. + <Modeless Dialogs><Experiment #1> ! Just to have experiments on WGU GT. 2008-11-16 23:05 UTC+0100 Viktor Szakats * contrib/gtwvg/wvgsink.c * Minor cleanup to hb_strncat() (it's best to use 'sizeof( target ) - 1' for size, if target is a char array. The buffer was off by one on the good direction.) * ChangeLog ! ChangeLog was again saved as Unicode. Please guys TURN THIS OFF for good. (fixed in prev commit, but I've left this here anyway) 2008-11-16 13:00 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtwvg/gtwvg.c ! Slight fix in WM_PAINT message. * harbour/contrib/gtwvg/tests/demowvg.prg + Added menu option to open a GET session in GTWVT console. ; I was studying to call multiple GTs ( GTWVG and GTWVT ) same time. It can be and it also opens up a lot more possibilities. ; Thanks Przemek for superb basic engine. + Added RMChart Active-X manipulation. It is free OCX and can be downloaded from https://web.archive.org/web/20090205114428/rmchart.com/ ; Select from the <Active-X Controls> option. Press F11 repeatedly to see 6 different charts. Press F12 to change some attributes. 2008-11-16 07:29 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtwvg/gtwvg.c * harbour/contrib/gtwvg/gtwvg.h ! Further tuned up the resizing behavior. Viktor please check. 2008-11-16 15:32 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbatomic.h + added support for built in GCC atomic functions: __sync_*() They are present in GCC >= 4.1 if given CPU supports them. For x86 CPU family the ones we use need at least i486 CPU. Please make tests with other CPUs like PPC. If given platform/CPU does not support them then GCC generate call to function __sync_*_<N>() where <N> is size of given type used in atomic operation instead of storing inlined assembler code. 2008-11-15 23:59 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtwvg/gtwvg.c * harbour/contrib/gtwvg/wvgcrt.prg ! Further tuned up the resizing behavior. Silly typos. 2008-11-15 23:01 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtwvg/gtwvg.c ! Further tuned up the resizing behavior. ! Fixed a nasty bug present since begining. The bug was causing window to loose gui contents and even text buffer in certain circumstances. Now you can be assured that all GTs open with/without gui contents will never be out of synchronization. Play with contrib/gtwvg/tests/demowvg.prg, open many browsers, Active-X controls, get windows and so on, every window will behave as a gentleman. * harbour/contrib/gtwvg/wvgcrt.prg ! Fixed ::resize method. * harbour/contrib/gtwvg/tests/demowvg.prg ! Fine tuned to respect above fixes. 2008-11-15 13:12 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtwvg/gtwvg.c * harbour/contrib/gtwvg/gtwvg.h - pWVT->bResizing - pWVT->bAlreadySizing ; Optimized resizing behavior. Now Window must not flicker until resizing is finished. Please test. If this effects the desired behavior, let me port it to GTWVT also. * harbour/contrib/gtwvg/tests/demowvg.prg ! Adjusted few parameters. Just play with <Traditional><Browser><F3, F4>. ; FIXME: INKEY() vs FireEvent() - Not sure what it behave like. * harbour/contrib/gtwvg/wvgcrt.prg ! Fixes to some events behaviors. Copy and Paste syndrome :-( 2008-11-15 08:17 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtwvg/gtwvg.c * harbour/contrib/gtwvg/gtwvg.h + BOOL bDeferPaint; member. * harbour/contrib/gtwvg/hbgtwvg.ch + #define HB_GTI_DEFERPAINT Implemented hb_gtInfo( HB_GTI_DEFERPAINT, FALSE | TRUE ) For consoles hosting ActiveX controls need not be painted text buffer. :FIXME To extend this protocol for resizing buffer too * harbour/contrib/gtwvg/wvgsink.c ! More unicode compliant. ! Fixed some errors in -DUNICODE builds, not all. ! strcat() => hb_strncat() : Viktor please check. * harbour/contrib/gtwvg/tests/demowvg.prg + Added more Active-X controls. 2008-11-14 20:57 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtwvg/gtwvg.c * harbour/contrib/gtwvg/wvgsink.c ! Pacified some warnings. ! Formatting per Harbour standards. 2008-11-15 01:43 UTC+0100 Viktor Szakats * make_b32.mak * make_vc.mak * contrib/mtpl_b32.mak * contrib/mtpl_vc.mak * Minor fix. * contrib/hbcurl/make_b32.bat * contrib/hbcurl/make_vc.bat * contrib/hbcurl/Makefile - Removed recently added HB_HBCURL_USR_C. * contrib/gtwvg/tests/demowvg.prg * Replaced '#if __MW__' with 'IF hb_vmmt()'. (not tested) * contrib/gtwvg/tests/hbmk_b32.bat * contrib/gtwvg/tests/hbmk_vc.bat ! Added hbwin.lib to HB_USER_LIBS list. * contrib/gtwvg/gtwvg.c * contrib/gtwvg/wvgclass.prg * contrib/gtwvg/wvgax.prg * contrib/gtwvg/wvgphdlr.prg * contrib/gtwvg/wvgpaint.prg * contrib/gtwvg/wvgcore.c * contrib/gtwvg/wvgwin.c * contrib/gtwvg/wvgwnd.prg * contrib/gtwvg/wvgcrt.prg * contrib/gtwvg/wvgutils.c * contrib/gtwvg/wvgsink.c ! SVN IDs missing, mistyped. SVN tags now reset. ; FIXME: GTWVG is now broken with MSVC 8 and/or C++ and/or 64-bit modes, also unsafe string function is used: - strcat() should be hb_strncat(). - Usual but wrong HRESULT to ULONG conversions break in 64-bit. - Some newest Windows features should be probably guarded. .\gtwvg.c(1913) : warning C4013: 'TrackMouseEvent' undefined; assuming extern returning int .\gtwvg.c(3205) : error C2065: 'WS_EX_LAYERED' : undeclared identifier .\wvgsink.c(128) : warning C4244: 'return' : conversion from 'HB_THREAD_NO' to 'int', possible loss of data .\wvgsink.c(339) : warning C4245: 'return' : conversion from 'HRESULT' to 'ULONG', signed/unsigned mismatch .\wvgsink.c(352) : warning C4245: 'return' : conversion from 'HRESULT' to 'ULONG', signed/unsigned mismatch .\wvgsink.c(368) : warning C4245: 'return' : conversion from 'HRESULT' to 'ULONG', signed/unsigned mismatch .\wvgsink.c(392) : warning C4245: 'return' : conversion from 'HRESULT' to 'ULONG', signed/unsigned mismatch .\wvgsink.c(455) : error C2039: 'n1' : is not a member of 'tagVARIANT' .\wvgsink.c(457) : error C2039: 'n1' : is not a member of 'tagVARIANT' .\wvgsink.c(460) : error C2039: 'n1' : is not a member of 'tagVARIANT' .\wvgsink.c(463) : error C2039: 'n1' : is not a member of 'tagVARIANT' .\wvgsink.c(466) : error C2039: 'n1' : is not a member of 'tagVARIANT' .\wvgsink.c(469) : error C2039: 'n1' : is not a member of 'tagVARIANT' .\wvgsink.c(472) : error C2039: 'n1' : is not a member of 'tagVARIANT' .\wvgsink.c(475) : error C2039: 'n1' : is not a member of 'tagVARIANT' .\wvgsink.c(633) : warning C4305: 'type cast' : truncation from 'HB_LONG' to 'device_interface *' .\wvgsink.c(652) : warning C4996: 'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 2008-11-14 20:49 UTC+0100 Viktor Szakats * make_b32.mak * make_vc.mak * Possible fix to install problem. I can't test at the moment. 2008-11-14 07:26 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtwvg/wvgax.prg * harbour/contrib/gtwvg/wvgphdlr.prg ! Hash() => hb_hash() * harbour/contrib/gtwvg/tests/demowvg.prg - #ifdef HB_ACTIVEX Sorry I left few defines untouched. hbmk_b32 -mt -gui demowvg -d__MW__ But it needs hbwin.lib and you have to include it in link script. 2008-11-14 00:45 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtwvg/gtwvg.c + New HB_GTI_ + HB_GTE_ messages. * harbour/contrib/gtwvg/wvgutils.c - Excluded WIN_* Windows API functions. + harbour/contrib/gtwvg/wvgwin.c + Included WIN_* Windows API functions. + harbour/contrib/gtwvg/wvgsink.c ! ActiveX container functions contributed by Andy Wos, a big thanks to him. + harbour/contrib/gtwvg/wvgphdlr.prg + harbour/contrib/gtwvg/wvgwnd.prg + harbour/contrib/gtwvg/wvgcrt.prg + harbour/contrib/gtwvg/wvgax.prg ! Xbase++ compatible class skeleton and implementation. ! Partially but sufficient functional WvgCrt() class. * harbour/contrib/gtwvg/gtwvg.h * harbour/contrib/gtwvg/hbgtwvg.ch * harbour/contrib/gtwvg/wvtwin.ch + Added few new members. * harbour/contrib/gtwvg/common.mak * harbour/contrib/gtwvg/makefile ! Updated to include added files. * harbour/contrib/gtwvg/tests/demowvg.prg ! updated to include WvgCrt() class implementation. ! Updated to host ActiveX controls in WvtCrt() terminal. ; It is a humble effort to introduce a common and portable class framework to build futuristic CUI/GUI applications development and maintainability easier. I had been a fairly good user of Xbase++ in early years and was an admirer of their intuitive object modal especially uniform way of parameters passing almost for all their objects. So when Multi-threading and Multi-windows(GT) capability is introduced Przemek, I thought it is the right moment to start in this direction too. The firts efforts are encouraging and I see a great hope in the future. But for sure I cannot accomplish this task at my own. Someone has to join this effort. I know all have their own preferences but also realize that it can ease all of us in a big way. In the past many developers put their hands on the GUI front but without a clear framework. I based this effort on Xbase++ because it is the only compiler which offers such functionality on console level if we do not talk about GUI. Also it has extensive documentation which is a force in itself. I ever wished if Przemek would been a Windows user too! 2008-11-12 23:28 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/hbgtcore.c ! removed code I committed by mistake. 2008-11-12 23:16 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/fm.c + added support for enabling/disabling memory statistic when application starts. To enable memory statistic it's enough to set HB_FM_STAT environment variable to non empty value. To disable memory statistic it's enough to set HB_NO_FM_STAT envvar. The default setting may depend on build time option. Now is enabled when memory statistic is compiled when harbour is created. It may not work if C compiler does not allow to check environment variables from startup code. E.g. functions to access environment can be also part of dynamic library registered after harbour.dll or harbour core code startup functions. Viktor I would like to ask you only about one thing. Please do not remove current support for HB_FM_STATISTICS_OFF from GNU make builds so Harbour user can still create binaries without any memory statistic code using -[no]fmstat switch in hb* scripts. The above feature is only for users who need support for enabling/disabling memory statistic to test application if foreign environment, e.g. at client computers. Of course if it will work with given C compiler and/or type of application (linked dynamically or statically). Please check. 2008-11-12 20:03 UTC+0100 Viktor Szakats * doc/linux1st.txt * Updated for Ubuntu 8.10. 2008-11-12 19:11 UTC+0100 Viktor Szakats * make_b32.bat * make_b32.mak * make_vc.bat * make_vc.mak * make_gcc.mak * contrib/mtpl_b32.mak * contrib/mtpl_gcc.mak * contrib/mtpl_vc.mak + Added 'set HB_BUILD_OPTIM=no' option to disable all C compiler optimization for all compilers in non-GNU make system. This replaces old envvars BCC_NOOPTIM and GCC_NOOPTIM and add MSVC support for this option. * common.mak * Formatting. 2008-11-12 18:20 UTC+0100 Viktor Szakats * source/common/hbverdsp.c * Don't show '(C mode)', only C++. 2008-11-12 14:44 UTC+0100 Viktor Szakats * make_vc.mak + FIXME added for the case when HB_CC_NAME is overridden by user and MT/DLL targets are being created. * common.mak * source/common/hbver.c % Minor opts. 2008-11-12 13:57 UTC+0100 Viktor Szakats * source/common/hbverdsp.c ! Fixed displaying tracing status. (INFO and DEBUG level counts as 'on'.) 2008-11-12 12:13 UTC+0100 Viktor Szakats * make_b32.mak * make_vc.mak * common.mak * utils/hbdoc/Makefile * utils/hbmake/Makefile * utils/hbtest/Makefile * utils/hbrun/Makefile % Setup to build shipped Harbour executables with -gc0. ; TODO: Please update make_gcc.mak. [DONE] * ChangeLog + Marked one change as [TOMERGE 1.0] 2008-11-12 01:48 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rdd/dbfcdx/dbfcdx1.c ! fixed bug in joined leaf pages size calculation which activated error massage enabled by HB_CDX_DBGCODE_EXT macro. Thanks to Saulius for reporting the problem. [TOMERGE 1.0] 2008-11-11 21:57 UTC+0100 Viktor Szakats * source/common/hbverdsp.c * Streamlined the /build information screen. It's now more compact and now show if tracing is enabled. Max symbol length got removed, ANSI C startup also, because it needs a custom C flag anyway. * include/hbvmpub.h * include/hbsetup.h * HB_SYMBOL_NAME_LEN moved away from custom setup. This isn't an option users should normally tinker with. * tests/run_prg.bat * Minor. 2008-11-11 15:56 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbcompdf.h * harbour/source/compiler/harbour.yyc * harbour/source/compiler/harbour.y ! fixed compile time warnings for __enum* messages used in simpled code block variables inside FOR EACH statement, 2008-11-11 13:30 UTC+0100 Viktor Szakats * make_b32.mak * make_vc.mak + hbmk.bat and hbmk_*.bat will now be installed on 'make*.bat install' 2008-11-11 13:16 UTC+0100 Viktor Szakats * make_b32.mak * make_vc.mak * ChangeLog ! Fixed MT mode .dll not starting up properly. IOW now 'hbmk -shared -mt' works. Relevant entries marked as [DONE] * bin/hbmk.bat + Added '-debug' switch. Currently supported in BCC and MSVC. 2008-11-11 12:08 UTC+0100 Viktor Szakats * source/rtl/console.c ! Fixed __EJECT() writing an EJECT only if output device was "PRINTER". This fixes problem reported by Ciro, and also a very old FIXME which was removed very long ago by mistake. (see thread "Bug: __EJECT() (David)" on 2000-07-27) [TOMERGE 1.0] * source/rtl/treport.prg ! Fixed some linefeed differences. [TOMERGE 1.0] * source/vm/set.c * Minor formatting. 2008-11-11 05:34 UTC+0100 Viktor Szakats * make_b32.mak * make_vc.mak * common.mak * bin/hbmk.bat + Added generation of MT harbour .dlls for BCC and MSVC. ; FIXME: 'hbmk -shared -mt' doesn't seem to work, resulting app simply exits for both BCC and MSVC. [DONE] ; TODO: Please update make_gcc.mak. [DONE] 2008-11-11 04:22 UTC+0100 Viktor Szakats * make_b32.mak * make_vc.mak * make_gcc.mak * common.mak * Changed dll and mt obj locations to reside inside the platform dir: obj/dll/* -> obj/*/dll obj/*_mt -> obj/*/mt + Added provisions for new obj location: obj/*/mt_dll 2008-11-11 03:56 UTC+0100 Viktor Szakats * make_b32.mak * make_vc.mak * make_gcc.mak * common.mak + Added generation of hbmainstd and hbmainwin libs. * bin/hbmk.bat + Changed to use above libs. This also means that '-shared' can now be used in Harbour binary distributions, too. 2008-11-11 03:13 UTC+0100 Viktor Szakats + contrib/examples/rl + contrib/examples/rl/Makefile + contrib/examples/rl/hbmk_b32.bat + contrib/examples/rl/hbmk_vc.bat + contrib/examples/rl/readme.txt + Added build files for Clipper RL utility. (if someone remembers :) * contrib/examples/guestbk/hbmk_vc.bat * contrib/examples/pp/hbmk_vc.bat * contrib/examples/pe/hbmk_vc.bat * contrib/examples/dbu/hbmk_b32.bat * contrib/examples/dbu/hbmk_vc.bat * contrib/examples/hscript/hbmk_vc.bat * utils/hbdoc/hbmk_b32.bat * utils/hbdoc/hbmk_vc.bat * utils/hbmake/hbmk_b32.bat * utils/hbmake/hbmk_vc.bat % Removed winspool.lib from liblists. % Removed '/subsystem:console' from MSVC commandlines. + Added gtwvt.lib + gdi32.lib to liblists. (work in progress) * contrib/examples/dbu/readme.txt * Minor. * contrib/examples/pe/editorhi.prg ! Fixed stupid s&r error which broke compilation. [TOMERGE 1.0] 2008-11-11 02:44 UTC+0100 Viktor Szakats * bin/hbmk.bat + Added '-shared' support for MSVC. ! Fixed to cleanup mainstd.obj and mainwin.obj. * ChangeLog * Some TODO/FIXME marked as [DONE]. One [DONE] marked as [DONE - REOPENED]. 2008-11-11 02:35 UTC+0100 Viktor Szakats * make_b32.mak * make_vc.mak * make_gcc.mak + Added -DHB_TR_LEVEL_DEBUG C compiler option when HB_BUILD_DEBUG=yes. * source/rtl/hbinet.c * Minor formatting. 2008-11-11 01:39 UTC+0100 Viktor Szakats + config/w32/pocc64.cf + Added Pelles C x64 GNU-make file. * config/w32/pocc.cf * Minor cleanup. 2008-11-11 00:39 UTC+0100 Viktor Szakats * make_b32.mak * make_vc.mak ! Fixed linking hbtest-dll.exe with tracing enabled. * bin/hbmk.bat + Added '-shared' option. ; FIXME: '-shared' won't work in binary installations. [DONE] ; FIXME: '-shared' cannot create MT apps. [DONE] ; FIXME: '-shared' only works for BCC32 yet. [DONE] - tests/hbmk_b32_dll.bat - Removed. Use 'hbmk_b32 -shared' instead. * source/rtl/treport.prg * Minor formatting. * make_b32.bat * make_vc.bat * common.mak * Changed default of HB_BUILD_DLL to 'yes'. 2008-11-10 15:17 UTC+0100 Viktor Szakats * contrib/hbcurl/common.mak * contrib/hbcurl/Makefile * contrib/hbcurl/hbcurl.c + contrib/hbcurl/hbcurlm.c + Some disabled (not mainstream) functions moved to a separate file. * contrib/hbwin/win_prn2.c * Minor fix in comment. 2008-11-10 14:41 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapi.h * harbour/source/common/hbstr.c + added hb_numToStr() * harbour/source/vm/estack.c * harbour/source/compiler/genc.c * harbour/source/compiler/gencc.c * use hb_numToStr() for integer number conversions * harbour/source/vm/dlmalloc.c * disable #pragma warning ... in MinGW builds. If some newer MinGW versions support it and it's useful then it can be enabled after checking MinGW version 2008-11-10 09:50 UTC+0100 Viktor Szakats * include/hbmath.h ! Fixed Pelles C 5.00 not having an 'inf' (HUGE_VAL) symbol when in -Tarm-coff (~WinCE) mode. Pelles C bug (?). ; NOTE: Now core fully compiles in WinCE mode. So we have a new port. ; FIXME: (this is a complete list of all Pelles C WinCE problems) [except hbmysql errors] POLINK: warning: Multiple '.rdata' sections found with different flags (0x40000040 and 0xc0000040). POLINK: warning: Multiple '.rdata' sections found with different flags (0x40000040 and 0xc0000040). contrib\gtwvg\gtwvg.h(78): fatal error #1035: Can't find include file <olectl.h>. ../../ctnet.c(119): warning #2027: Missing prototype for 'WNetGetLastError'. ../../ctnet.c(167): warning #2027: Missing prototype for 'WNetCancelConnection'. ../../ctnet.c(208): warning #2027: Missing prototype for 'WNetAddConnection'. ../../ctnet.c(210): warning #2027: Missing prototype for 'WNetAddConnection'. ../../ctnet.c(251): warning #2027: Missing prototype for 'WNetGetProviderName'. ../../ctnet.c(271): warning #2027: Missing prototype for 'WNetGetProviderName'. ../../disk.c(127): warning #2027: Missing prototype for 'GetDriveType'. ../../disk.c(129): error #2048: Undeclared identifier 'DRIVE_RAMDISK'. ../../disk.c(129): error #2045: Case label must be a constant integer expression. ../../disk.c(132): error #2048: Undeclared identifier 'DRIVE_REMOVABLE'. ../../disk.c(132): error #2045: Case label must be a constant integer expression. ../../disk.c(135): error #2048: Undeclared identifier 'DRIVE_FIXED'. ../../disk.c(135): error #2045: Case label must be a constant integer expression. ../../disk.c(138): error #2048: Undeclared identifier 'DRIVE_CDROM'. ../../disk.c(138): error #2045: Case label must be a constant integer expression. ../../disk.c(141): error #2048: Undeclared identifier 'DRIVE_REMOTE'. ../../disk.c(141): error #2045: Case label must be a constant integer expression. ../../disk.c(244): warning #2027: Missing prototype for 'SetVolumeLabel'. ../../disk.c(270): warning #2027: Missing prototype for 'GetVolumeInformation'. ../../disk.c(307): warning #2027: Missing prototype for 'GetVolumeInformation'. ../../disk.c(337): warning #2027: Missing prototype for 'GetFullPathName'. ../../winapi.c(70): error #2048: Undeclared identifier 'CS_OWNDC'. ../../winapi.c(75): error #2048: Undeclared identifier 'IDI_APPLICATION'. ../../winapi.c(75): error #2140: Type error in argument 2 to 'LoadIconW'; found 'int', expected 'const wchar_t *'. ../../winapi.c(181): error #2048: Undeclared identifier 'MFS_DISABLED'. ../../winapi.c(194): warning #2027: Missing prototype for 'InsertMenuItem'. ../../winapi.c(219): warning #2027: Missing prototype for 'SetMenu'. ../../getenvrn.c(177): error #2168: Operands of = have incompatible types 'wchar_t *' and 'int'. ../../getenvrn.c(177): warning #2027: Missing prototype for 'GetEnvironmentStrings'. ../../getenvrn.c(246): warning #2027: Missing prototype for 'FreeEnvironmentStrings'. ../../odbc.c(94): fatal error #1035: Can't find include file <sql.h>. ../../win_ole.c(77): fatal error #1035: Can't find include file <olectl.h>. contrib\hbsqlit3\sqlite3\sqlite3.c(9936): warning #2027: Missing prototype for 'localtime'. contrib\hbsqlit3\sqlite3\sqlite3.c(9936): error #2168: Operands of = have incompatible types '(incomplete) struct tm *' and 'int'. contrib\hbsqlit3\sqlite3\sqlite3.c(9937): error #2152: Unknown field 'tm_year' of '(incomplete) struct tm'. contrib\hbsqlit3\sqlite3\sqlite3.c(9938): error #2152: Unknown field 'tm_mon' of '(incomplete) struct tm'. contrib\hbsqlit3\sqlite3\sqlite3.c(9939): error #2152: Unknown field 'tm_mday' of '(incomplete) struct tm'. contrib\hbsqlit3\sqlite3\sqlite3.c(9940): error #2152: Unknown field 'tm_hour' of '(incomplete) struct tm'. contrib\hbsqlit3\sqlite3\sqlite3.c(9941): error #2152: Unknown field 'tm_min' of '(incomplete) struct tm'. contrib\hbsqlit3\sqlite3\sqlite3.c(9942): error #2152: Unknown field 'tm_sec' of '(incomplete) struct tm'. contrib\hbsqlit3\sqlite3\sqlite3.c(22136): error #2120: Redeclaration of 'localtime' previously declared at contrib\hbsqlit3\sqlite3\sqlite3.c(9936): found '(incomplete) struct tm * __cdecl function(const unsigned long int *)', expected 'int __cdecl function()'. contrib\hbsqlit3\sqlite3\sqlite3.c(22137): error #2149: Undefined size for 'y' with type '(incomplete) struct tm'. contrib\hbsqlit3\sqlite3\sqlite3.c(22137): error #2149: Undefined size for 'y' with type '(incomplete) struct tm'. contrib\hbsqlit3\sqlite3\sqlite3.c(22147): error #2152: Unknown field 'tm_year' of '(incomplete) struct tm'. contrib\hbsqlit3\sqlite3\sqlite3.c(22148): error #2152: Unknown field 'tm_mon' of '(incomplete) struct tm'. contrib\hbsqlit3\sqlite3\sqlite3.c(22149): error #2152: Unknown field 'tm_wday' of '(incomplete) struct tm'. contrib\hbsqlit3\sqlite3\sqlite3.c(22150): error #2152: Unknown field 'tm_mday' of '(incomplete) struct tm'. contrib\hbsqlit3\sqlite3\sqlite3.c(22151): error #2152: Unknown field 'tm_hour' of '(incomplete) struct tm'. contrib\hbsqlit3\sqlite3\sqlite3.c(22152): error #2152: Unknown field 'tm_min' of '(incomplete) struct tm'. contrib\hbsqlit3\sqlite3\sqlite3.c(22153): error #2152: Unknown field 'tm_sec' of '(incomplete) struct tm'. ../../tpwin32.c(75): warning #2027: Missing prototype for 'BuildCommDCB'. ../../wincorec.c(150): error #2048: Undeclared identifier 'WS_MAXIMIZE'. ../../wincorec.c(164): warning #2027: Missing prototype for 'CreateMDIWindow'. ../../wincorec.c(166): error #2168: Operands of = have incompatible types 'HWND' and 'int'. ../../fi_winfu.c(97): warning #2027: Missing prototype for 'CreateDIBitmap'. ../../fi_winfu.c(147): warning #2027: Missing prototype for 'GetDIBits'. ../../sqlbase.c(509): warning #2130: Result of unsigned comparison is constant. C:\devl\allegro-4.2.2\include\allegro\platform\almsvc.h(23): fatal error #1035: Can't find include file <malloc.h>. ../../firebird.c(456): error #2149: Undefined size for 'times' with type '(incomplete) struct tm'. ../../firebird.c(487): error #2152: Unknown field 'tm_year' of '(incomplete) struct tm'. ../../firebird.c(488): error #2152: Unknown field 'tm_mon' of '(incomplete) struct tm'. ../../firebird.c(489): error #2152: Unknown field 'tm_mday' of '(incomplete) struct tm'. ../../firebird.c(490): error #2152: Unknown field 'tm_hour' of '(incomplete) struct tm'. ../../firebird.c(491): error #2152: Unknown field 'tm_min' of '(incomplete) struct tm'. ../../firebird.c(492): error #2152: Unknown field 'tm_sec' of '(incomplete) struct tm'. ../../firebird.c(501): error #2152: Unknown field 'tm_year' of '(incomplete) struct tm'. ../../firebird.c(501): error #2152: Unknown field 'tm_mon' of '(incomplete) struct tm'. ../../firebird.c(501): error #2152: Unknown field 'tm_mday' of '(incomplete) struct tm'. ../../firebird.c(510): error #2152: Unknown field 'tm_hour' of '(incomplete) struct tm'. ../../firebird.c(511): error #2152: Unknown field 'tm_min' of '(incomplete) struct tm'. ../../firebird.c(512): error #2152: Unknown field 'tm_sec' of '(incomplete) struct tm'. ../../fi_winfu.c(98): error #2048: Undeclared identifier 'CBM_INIT'. ../../fi_winfu.c(99): error #2168: Operands of = have incompatible types 'HBITMAP' and 'int'. 2008-11-10 03:35 UTC+0100 Viktor Szakats * source/vm/fm.c ! Fixed missing abort() on WinCE. (for Pelles C only, but the fix should work for any WinCE compilers). ; FIXME: Now the only remaining showstopper for PellesC5 WinCE support is: ../../math.c(652): error #3120: [asm] Symbol 'inf' is undefined. [DONE] 2008-11-10 03:15 UTC+0100 Viktor Szakats * config/w32/poccce.cf ! Added -DHB_NO_WIN_CONSOLE. 2008-11-10 02:56 UTC+0100 Viktor Szakats * config/w32/poccce.cf ! Added -DUNICODE switch. ; FIXME: (important ones only) --- ERRORS ../../math.c(652): error #3120: [asm] Symbol 'inf' is undefined. contrib\gtwvg\gtwvg.h(78): fatal error #1035: Can't find include file <olectl.h>. ../../ctmath2.c(324): error #3120: [asm] Symbol 'inf' is undefined. ../../getenvrn.c(177): error #2168: Operands of = have incompatible types 'wchar_t *' and 'int'. --- WARNINGS source\vm\dlmalloc.c(2486): warning #2027: Missing prototype for 'abort'. source\vm\dlmalloc.c(3253): warning #2027: [ LOTS MORE ] ../../getenvrn.c(177): warning #2027: Missing prototype for 'GetEnvironmentStrings'. ../../getenvrn.c(246): warning #2027: Missing prototype for 'FreeEnvironmentStrings'. contrib\hbsqlit3\sqlite3\sqlite3.c(9936): warning #2027: Missing prototype for 'localtime'. 2008-11-10 02:14 UTC+0100 Viktor Szakats * config/w32/poccce.cf + Added -D_WINCE to C compiler options. * source/pp/hbpp.c * source/main/harbour.c ! Reenabled hbwmain.c for __POCC__. * source/pp/hbpp.c * WinCE cleanup. (__MINGW32CE__ is always defined when HB_WINCE is, so checking for HB_WINCE seems enough) % Removed #include <windows.h>. ; Please verify me. 2008-11-10 01:24 UTC+0100 Viktor Szakats * source/hbzlib/zconf.h * Removed commented Harbour additions. * config/w32/mingwce.cf * config/w32/poccce.cf * config/w32/msvcce.cf ! Fixed typo in previous today's commit. 2008-11-10 00:20 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/config/rules.cf ! fixed recursive HB_FLAGS declaration * harbour/include/hbdefs.h * harbour/include/hbsetup.h * harbour/include/hbtrace.h * declared hb_tr_trace() parameters as printf() compatible in GCC builds. It enabled format string with parameters validation * harbour/source/rtl/errorapi.c ! fixed GPF caused by HB_ERR_FUNCNAME which is not longer valid string * harbour/source/vm/itemapi.c * harbour/source/vm/hvm.c * harbour/source/vm/arrays.c * harbour/source/vm/memvars.c * harbour/source/vm/eval.c * harbour/source/vm/extend.c * harbour/source/vm/set.c * harbour/source/debug/dbgentry.c * harbour/source/rtl/gtwin/gtwin.c * harbour/source/rtl/gtxwc/gtxwc.c * harbour/source/rtl/hbgtcore.c * harbour/source/rtl/gtcrs/gtcrs.c * harbour/source/rtl/gtstd/gtstd.c * harbour/source/rtl/gtsln/gtsln.c * harbour/source/rtl/gttrm/gttrm.c * harbour/source/rtl/gtpca/gtpca.c * harbour/source/rtl/gtcgi/gtcgi.c * harbour/source/rtl/gtwvt/gtwvt.c * harbour/source/rtl/filesys.c * harbour/source/rdd/dbf1.c * harbour/source/rdd/dbffpt/dbffpt1.c * harbour/contrib/gtalleg/gtalleg.c * harbour/contrib/xhb/freadlin.c * harbour/contrib/gtwvg/gtwvg.c * harbour/contrib/rddads/adsfunc.c * harbour/contrib/rddads/ads1.c * harbour/contrib/hbwin/win_ole.c * harbour/utils/hbdoc/hbdfrdln.c * harbour/utils/hbmake/hbmfrdln.c ! fixed bugs in HB_TRACE massages reported in GCC builds 2008-11-09 20:58 UTC+0100 Viktor Szakats * include/hbdefs.h * include/hbapigt.h * source/common/hbfsapi.c * source/rtl/console.c * source/rtl/fserror.c * source/rtl/fstemp.c * source/rtl/gtstd/gtstd.c * source/rtl/gtpca/gtpca.c * source/rtl/filesys.c * Macro rename: - HB_WIN32_IO_OFF -> HB_IO_WIN_OFF - HB_WIN32_IO -> HB_IO_WIN ; NOTE: INCOMPATIBLE if someone happens to disable Windows native IO. Users don't normally need this though. 2008-11-09 20:49 UTC+0100 Viktor Szakats - contrib/hbmysql/utils/bld_b32.bat - contrib/hbmysql/utils/bld_vc.bat + contrib/hbmysql/utils/hbmk_b32.bat + contrib/hbmysql/utils/hbmk_vc.bat - contrib/hbgd/tests/bld.sh + contrib/hbgd/tests/hbmk_gnu.sh * contrib/hbbtree/tests/hbmk_b32.bat * contrib/hbbtree/tests/hbmk_vc.bat * contrib/examples/pp/hbmk_b32.bat * contrib/examples/pp/hbmk_vc.bat * contrib/examples/guestbk/hbmk_b32.bat * contrib/examples/guestbk/hbmk_vc.bat * contrib/examples/pe/hbmk_b32.bat * contrib/examples/pe/hbmk_vc.bat * contrib/examples/hscript/hbmk_vc.bat * Some remaining renames. * Got rid of temp files in BCC batch files. Win9x is no longer supported. * Some other minor cleanups. 2008-11-09 20:27 UTC+0100 Viktor Szakats - contrib/examples/dbu/bld_b32.bat - contrib/examples/dbu/bld_vc.bat + contrib/examples/dbu/hbmk_b32.bat + contrib/examples/dbu/hbmk_vc.bat - contrib/examples/guestbk/bld_b32.bat - contrib/examples/guestbk/bld_vc.bat + contrib/examples/guestbk/hbmk_b32.bat + contrib/examples/guestbk/hbmk_vc.bat - contrib/examples/hbsqlit2/tests/bld_b32.bat - contrib/examples/hbsqlit2/tests/bld_vc.bat + contrib/examples/hbsqlit2/tests/hbmk_b32.bat + contrib/examples/hbsqlit2/tests/hbmk_vc.bat - contrib/examples/hscript/bld_b32.bat - contrib/examples/hscript/bld_vc.bat + contrib/examples/hscript/hbmk_b32.bat + contrib/examples/hscript/hbmk_vc.bat - contrib/examples/pe/bld_b32.bat - contrib/examples/pe/bld_vc.bat + contrib/examples/pe/hbmk_b32.bat + contrib/examples/pe/hbmk_vc.bat - contrib/examples/pp/bld_b32.bat - contrib/examples/pp/bld_vc.bat + contrib/examples/pp/hbmk_b32.bat + contrib/examples/pp/hbmk_vc.bat - contrib/gtwvg/tests/bld_b32.bat - contrib/gtwvg/tests/bld_vc.bat + contrib/gtwvg/tests/hbmk_b32.bat + contrib/gtwvg/tests/hbmk_vc.bat - contrib/hbapollo/tests/bld_b32.bat - contrib/hbapollo/tests/bld_vc.bat + contrib/hbapollo/tests/hbmk_b32.bat + contrib/hbapollo/tests/hbmk_vc.bat - contrib/hbbtree/tests/bld_b32.bat - contrib/hbbtree/tests/bld_djgp.bat - contrib/hbbtree/tests/bld_vc.bat + contrib/hbbtree/tests/hbmk_b32.bat + contrib/hbbtree/tests/hbmk_djg.bat + contrib/hbbtree/tests/hbmk_vc.bat - contrib/hbclipsm/tests/bld_b32.bat - contrib/hbclipsm/tests/bld_vc.bat + contrib/hbclipsm/tests/hbmk_b32.bat + contrib/hbclipsm/tests/hbmk_vc.bat - contrib/hbct/tests/bld_b32.bat - contrib/hbct/tests/bld_vc.bat + contrib/hbct/tests/hbmk_b32.bat + contrib/hbct/tests/hbmk_vc.bat - contrib/hbcurl/tests/bld_b32.bat - contrib/hbcurl/tests/bld_vc.bat + contrib/hbcurl/tests/hbmk_b32.bat + contrib/hbcurl/tests/hbmk_vc.bat - contrib/hbfbird/tests/bld_b32.bat - contrib/hbfbird/tests/bld_vc.bat + contrib/hbfbird/tests/hbmk_b32.bat + contrib/hbfbird/tests/hbmk_vc.bat - contrib/hbfimage/tests/bld_b32.bat - contrib/hbfimage/tests/bld_vc.bat + contrib/hbfimage/tests/hbmk_b32.bat + contrib/hbfimage/tests/hbmk_vc.bat - contrib/hbgd/tests/bld_b32.bat - contrib/hbgd/tests/bld_vc.bat + contrib/hbgd/tests/hbmk_b32.bat + contrib/hbgd/tests/hbmk_vc.bat - contrib/hbgf/tests/bld_b32.bat - contrib/hbgf/tests/bld_vc.bat + contrib/hbgf/tests/hbmk_b32.bat + contrib/hbgf/tests/hbmk_vc.bat - contrib/hbhpdf/tests/bld_b32.bat - contrib/hbhpdf/tests/bld_vc.bat + contrib/hbhpdf/tests/hbmk_b32.bat + contrib/hbhpdf/tests/hbmk_vc.bat - contrib/hbmisc/tests/bld_b32.bat - contrib/hbmisc/tests/bld_vc.bat + contrib/hbmisc/tests/hbmk_b32.bat + contrib/hbmisc/tests/hbmk_vc.bat - contrib/hbmysql/tests/bld_b32.bat - contrib/hbmysql/tests/bld_vc.bat + contrib/hbmysql/tests/hbmk_b32.bat + contrib/hbmysql/tests/hbmk_vc.bat - contrib/hbmzip/tests/bld_b32.bat - contrib/hbmzip/tests/bld_vc.bat + contrib/hbmzip/tests/hbmk_b32.bat + contrib/hbmzip/tests/hbmk_vc.bat - contrib/hbnf/tests/bld_b32.bat - contrib/hbnf/tests/bld_vc.bat + contrib/hbnf/tests/hbmk_b32.bat + contrib/hbnf/tests/hbmk_vc.bat - contrib/hbodbc/tests/bld_b32.bat - contrib/hbodbc/tests/bld_vc.bat + contrib/hbodbc/tests/hbmk_b32.bat + contrib/hbodbc/tests/hbmk_vc.bat - contrib/hbole/tests/bld_b32.bat - contrib/hbole/tests/bld_vc.bat + contrib/hbole/tests/hbmk_b32.bat + contrib/hbole/tests/hbmk_vc.bat - contrib/hbpgsql/tests/bld_b32.bat - contrib/hbpgsql/tests/bld_vc.bat + contrib/hbpgsql/tests/hbmk_b32.bat + contrib/hbpgsql/tests/hbmk_vc.bat - contrib/hbsqlit3/tests/bld_b32.bat - contrib/hbsqlit3/tests/bld_vc.bat + contrib/hbsqlit3/tests/hbmk_b32.bat + contrib/hbsqlit3/tests/hbmk_vc.bat - contrib/hbtip/tests/bld_b32.bat - contrib/hbtip/tests/bld_vc.bat + contrib/hbtip/tests/hbmk_b32.bat + contrib/hbtip/tests/hbmk_vc.bat - contrib/hbtpathy/tests/bld_b32.bat - contrib/hbtpathy/tests/bld_vc.bat + contrib/hbtpathy/tests/hbmk_b32.bat + contrib/hbtpathy/tests/hbmk_vc.bat - contrib/hbvpdf/tests/bld_b32.bat - contrib/hbvpdf/tests/bld_vc.bat + contrib/hbvpdf/tests/hbmk_b32.bat + contrib/hbvpdf/tests/hbmk_vc.bat - contrib/hbwhat/tests/bld_b32.bat - contrib/hbwhat/tests/bld_vc.bat + contrib/hbwhat/tests/hbmk_b32.bat + contrib/hbwhat/tests/hbmk_vc.bat - contrib/hbwin/tests/bld_b32.bat - contrib/hbwin/tests/bld_vc.bat + contrib/hbwin/tests/hbmk_b32.bat + contrib/hbwin/tests/hbmk_vc.bat - contrib/hbziparc/tests/bld_b32.bat - contrib/hbziparc/tests/bld_vc.bat + contrib/hbziparc/tests/hbmk_b32.bat + contrib/hbziparc/tests/hbmk_vc.bat - contrib/rddado/tests/bld_b32.bat - contrib/rddado/tests/bld_vc.bat + contrib/rddado/tests/hbmk_b32.bat + contrib/rddado/tests/hbmk_vc.bat - contrib/rddads/tests/bld_b32.bat - contrib/rddads/tests/bld_vc.bat + contrib/rddads/tests/hbmk_b32.bat + contrib/rddads/tests/hbmk_vc.bat - contrib/rddsql/tests/bld_b32.bat - contrib/rddsql/tests/bld_vc.bat + contrib/rddsql/tests/hbmk_b32.bat + contrib/rddsql/tests/hbmk_vc.bat - contrib/xhb/tests/bld_b32.bat - contrib/xhb/tests/bld_vc.bat + contrib/xhb/tests/hbmk_b32.bat + contrib/xhb/tests/hbmk_vc.bat - tests/bld_b32.bat - tests/bld_b32_dll.bat - tests/bld_gnu.bat - tests/bld_vc.bat + tests/hbmk_b32.bat + tests/hbmk_b32_dll.bat + tests/hbmk_gnu.bat + tests/hbmk_vc.bat - utils/hbdoc/bld_b32.bat - utils/hbdoc/bld_vc.bat + utils/hbdoc/hbmk_b32.bat + utils/hbdoc/hbmk_vc.bat - utils/hbmake/bld_b32.bat - utils/hbmake/bld_vc.bat + utils/hbmake/hbmk_b32.bat + utils/hbmake/hbmk_vc.bat * bld*.bat -> hbmk*.bat * contrib/mtpl_b32.mak * /P32 -> /P64 + contrib/hbmsql/tests/hbmk_b32.bat + contrib/hbmsql/tests/hbmk_vc.bat + Added make files. - contrib/hbclip - Removed this contrib. It was incomplete and not updated since 2001. 2008-11-09 17:44 UTC+0100 Viktor Szakats * make_vc.mak * config/rules.cf * config/w32/mingwce.cf * config/w32/poccce.cf * config/w32/msvcce.cf * Use Harbour option -gc0 for WinCE builds. * Use C option -O2 (instead of -O3) for MinGWCE builds. ; None of these were tested. 2008-11-09 17:15 UTC+0100 Viktor Szakats * source/vm/arrays.c * source/vm/classes.c * source/vm/cmdarg.c * source/vm/codebloc.c * source/vm/debug.c * source/vm/dynsym.c * source/vm/extend.c * source/vm/fm.c * source/vm/hashes.c * source/vm/hvm.c * source/vm/itemapi.c * source/vm/maindll.c * source/vm/maindllh.c * source/vm/maindllp.c * source/vm/mainstd.c * source/vm/mainwin.c * source/vm/set.c * source/vm/vm.c % Removed HB_EXPORT from remaining function definitions. 2008-11-09 17:03 UTC+0100 Viktor Szakats * contrib/gtwvg/wvgcore.c * contrib/gtwvg/wvgutils.c * contrib/hbwin/win_dll.c * contrib/hbwin/win_ole.c * contrib/xhb/cstructc.c * contrib/xhb/dbgfxc.c * source/common/hbarch.c * source/common/hbdate.c * source/common/hbfsapi.c * source/common/hbstr.c * source/common/hbver.c * source/common/hbverdsp.c * source/debug/dbgentry.c * source/main/harbour.c * source/rdd/dbf1.c * source/rdd/nulsys/nulsys.c * source/rdd/wacore.c * source/rdd/wafunc.c * source/rdd/workarea.c * source/rtl/cdpapi.c * source/rtl/console.c * source/rtl/dates.c * source/rtl/errorint.c * source/rtl/file.c * source/rtl/filesys.c * source/rtl/fscopy.c * source/rtl/fserror.c * source/rtl/fstemp.c * source/rtl/gtapi.c * source/rtl/gtapiu.c * source/rtl/hbadler.c * source/rtl/hbcrc.c * source/rtl/hbffind.c * source/rtl/hbgtcore.c * source/rtl/hbmd5.c * source/rtl/inkeyapi.c * source/rtl/isprint.c * source/rtl/math.c * source/rtl/mouseapi.c * source/rtl/seconds.c * source/rtl/setcolor.c * source/rtl/setcurs.c * source/rtl/strmatch.c * source/vm/hvm.c % Removed HB_EXPORT from function definitions. Placing it in declaration is enough. * source/debug/dbgentry.c * Formatting. 2008-11-09 16:49 UTC+0100 Viktor Szakats * contrib/hbcurl/hbcurl.c * contrib/hbcurl/hbcurl.ch + Added libcurl 7.19.1 features. % Removed hashing calls from some parts which are only compiled for libcurl versions which don't need hashing anyway. * ChangeLog * Changed CVS ID tag name in some very old entries to avoid them being replaced by versioning system. 2008-11-09 16:00 UTC+0100 Viktor Szakats * make_b32.mak * make_vc.mak ! Added hbpp.lib and hbcommon.lib to HBRUN_DLL liblist. * include/hbapi.h * source/vm/cmdarg.c * source/common/hbver.c * source/common/hbverdsp.c * source/rtl/console.c * source/rtl/setcolor.c * source/rtl/setcurs.c + Added HB_EXPORT to some functions to make it possible to build hbrun-dll.exe. For other reasons, it only works if Harbour built with set C_USR=-DHB_DYNLIB. ; TODO: Make HB_DYNLIB the default build mode, do gradual steps to remove separate DLL building pass, and finally to remove HB_BUILD_DLL option. The only drawback will be about 10-100K (currently) overhead in final executable size due to included export table for BCC and MSVC builds. 2008-11-09 15:46 UTC+0100 Viktor Szakats * contrib/xhb/hboutdbg.c ! Fixed to compile without warnings and with more consistent behavior across platforms. * source/rtl/gtwvt/gtwvt.c * Minor formatting. 2008-11-09 15:16 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbstack.h * do not define hb_stack_ptr_from_tls() in BCC builds when HB_STACK_PRELOAD macro is not defined to pacify BCC warning 2008-11-09 14:37 UTC+0100 Viktor Szakats * make_b32.mak ! /P32 -> /P64 2008-11-09 14:29 UTC+0100 Viktor Szakats * make_b32.mak * make_vc.mak + Added HBRUN_DLL. ; FIXME: It doesn't work. Maybe more eyeballs will spot the problem more easily. [DONE] 2008-11-09 14:23 UTC+0100 Viktor Szakats * tests/longstr.prg * contrib/hbole/oleauto.prg * contrib/hbole/ole2.c * contrib/gtwvg/wvgutils.c * contrib/gtwvg/wvgcore.c * contrib/hbgd/gdbarcod.prg * contrib/hbgd/gdbar.prg * contrib/hbwin/win_tole.prg * contrib/hbwin/win_ole.c * contrib/hbvpdf/hbvpdf.prg * contrib/examples/hbsqlit2/tests/hbsqlite.prg * contrib/examples/hbsqlit2/TODO.txt * contrib/examples/hbsqlit2/hbsqlit2.c * source/debug/dbgwa.prg * source/rtl/gtwin/gtwin.c * source/rtl/tget.prg * source/rtl/tgetint.prg * source/compiler/gencobj.c ! Removed high chars from comments. This usually means copyright holders' names. I apologize for touching them, I also have one in mine, but it's better to not use them in source code to avoid encoding problems. 2008-11-09 14:20 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/common.mak * harbour/make_gcc.mak ! fixed hbtest-dll linking - the path to used harbour shared library was hardcoded in final binaries + added hbrun-dll. Please update make_b32.mak and make_vc.mak 2008-11-09 14:02 UTC+0100 Viktor Szakats * make_vc.mak + Added /nxcompat linker flag for non-WinCE, non-DLL, HB_VISUALC_VER >= 80 MSVC executables. This should add extra safety. * include/hbextern.ch * source/rtl/rat.c + Added HB_RAT() which is similar to RAT(), but also accepts <nStart> and <nEnd> optional paramaters, similarly to HB_AT(). ; Please test. * source/rtl/at.c * Minor formatting. 2008-11-09 13:16 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/memvars.c ! fixed 3 tracelog messages * harbour/source/rtl/hbgtcore.c * declare core method table as const * harbour/source/compiler/gencc.c ! fixed accessing data out of buffer in string to hex conversion and logical expression used to divide strings 2008-11-09 13:03 UTC+0100 Viktor Szakats * contrib/hbtip/utils.c ! Fixed static function also marked as HB_EXPORT. * contrib/xhb/dbgfx.prg * Minor formatting. 2008-11-09 12:26 UTC+0100 Viktor Szakats * ChangeLog ! Fixed again the UNICODE problem (I've uploaded a wrong version apparently). + Added my last entry which was lost due to above. ! Removed all ending whitespaces. ! Stripped all non-ASCII chars. Sorry to all who's names were thus modified. ; NOTE: Please don't use any high chars in the future, only 7-bit ASCII. Same goes for all Harbour source comments BTW. This way everyone can read what the other are typing and it's much easier to fix files if someone accidentally saves with the wrong codepage. ; FIXME: We should also possibly fix all high chars in .prg and .c code _strings_. 2008-11-09 11:48 UTC+0100 Viktor Szakats * ChangeLog ! Restored last non-UNICODE version, and readded all entries and reapplied all changes since then. ; NOTE: Please never save any Harbour files in UNICODE mode. Thank you. * contrib/make_gcc_all.sh * contrib/Makefile - Removed hbdbgfx. * source/pp/hbpp.c * source/main/harbour.c * Excluded hbwmain for __POCC__ WinCE. ; FIXME: Warning: Not proper fix. This way it won't link but at least it compiles. [DONE] * source/compiler/gencc.c * Switched to hexadecimal format for high chars, because octal was tried to be converted to Windows codepage, by PellesC. * config/w32/poccce.cf - Removed -DSTRSAFE_NO_DEPRECATE switch. * config/w32/pocc.cf + Added -MT switch. * contrib/hbwin/win_prn2.c * contrib/hbwin/win_dll.c * source/rtl/hbhex.c * source/rdd/hbsix/sxcompat.prg * Minor formatting. 2008-11-09 11:45 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/make_gcc.mak ! declared non file helper rules as .PHONY ones. ! fixed bad typo in helper rules usage - strange that I haven't seen it before. * restored non indirect rules - now they should work as expected also in parallel builds. TODO: remove static libraries from HB_BUILD_TARGETS in common.mak if everything is correct then they should be created to satisfy hbrun and other tools dependencies. It's not necessary to explicitly duplicate it. 2008-11-08 15:40 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtwvg/gtwvg.c * harbour/contrib/gtwvg/gtwvg.h * harbour/source/rtl/gtwvt/gtwvt.c * harbour/source/rtl/gtwvt/gtwvt.h + BOOL bResizing + BOOL bAlreadySizing To control unnecessary code execution while sizing operation is being carried out. Now the flickering of console window should be greatly minimized, IMO, please test. ! Fixed behavior of some function not to recreate font if one is already created given other parameters are the same. SetMode() does nothing if nRows, nCols are the same as with console prior to calling this function. ; NOTE: Please test extensively as this is one gray area of GTWVT we all are in a quest to fix. 2008-11-08 19:53 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/make_gcc.mak ! corrected missing $(HARBOUR_EXE) dependence in .prg files rules ! replaced non indirect rules (::) which are strictly file base with indirect ones to not confuse dependence logic when parallel compilation is enabled ! marked harbour.c and cmdarg.c as dependent on pptable.c to fix compilation order - these files needs hbverbld.h which is generated together with pptable.c ! fixed HBTESTDLL_EXE dependencies - static library were used instead of harbour share library. BTW probably it will be good to create also HBRUNDLL_EXE With above modification parallel compilation can be enabled for make_gcc.sh (-j<N> GNU make option). It greatly improves compilation speed. Probably also make_{bcc,vc}.mak should be fixed even if they do not support parallel compilation. 2008-11-08 10:23 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtwvg/gtwvg.c ! Updated to match current GTWVT. * harbour/contrib/gtwvg/wvgutils.c + HB_FUNC( WIN_DESTROYWINDOW ) - Winapi compatible function. 2008-11-08 18:40 UTC+0100 Francesco Saverio Giudice (info fsgiudice com) - contrib/hbdbgfx - contrib/hbdbgfx/common.mak - contrib/hbdbgfx/dbgfx.prg - contrib/hbdbgfx/dbgfxc.c - contrib/hbdbgfx/hbdbgfx.h - contrib/hbdbgfx/make_b32.bat - contrib/hbdbgfx/make_gcc.sh - contrib/hbdbgfx/make_vc.bat - contrib/hbdbgfx/Makefile - contrib/hbdbgfx/sprintf.prg + contrib/xhb/dbgfx.prg + contrib/xhb/dbgfxc.c + contrib/xhb/sprintf.prg + contrib/xhb/xhb.h * contrib/make_b32_all.bat * contrib/make_vc_all.bat * contrib/xhb/common.mak * contrib/xhb/Makefile * moved hbdbgfx to xhb folder 2008-11-08 16:43 UTC+0200 Viktor Szakats * source/rtl/version.c % Minor. 2008-11-08 16:18 UTC+0200 Viktor Szakats * source/rtl/version.c + Implemented: hb_version( HB_VERSION_BUILD_DATE ) hb_version( HB_VERSION_BUILD_TIME ) * source/rtl/gtwvt/gtwvt.c * Formatting. * source/rdd/hbsix/sxini.prg * source/rdd/hbsix/sxcompat.prg * source/rdd/hbsix/sxtrig.prg * Formatted to std Harbour. Generated pcode unchanged. * ChangeLog * Marked finished TODO/FIXMEs as [DONE]. 2008-11-08 14:15 UTC+0200 Viktor Szakats * bin/hbmk.bat + Added C_USR support for OpenWatcom. - Removed debug switches from OpenWatcom C compiler command-line. * bin/hbmk_os2.cmd + Added OpenWatcom support. Pls update it, e.g. I don't know what is the name of the compiler executable. ! Fixed HB_COMPILER branching. Looks like nobody uses this file if this problem didn't show up so far, so I'd like to propose again to remove this file completely, as there is not much point spending time on maintaining stuff which nobody uses or needs, is there? * bin/hbmk.bat - config/dos/watcom.cf - config/w32/watcom.cf - Removed rather obsolete Watcom support. Pls use OpenWatcom. Update you envvar HB_COMPILER from 'watcom' to 'owatcom'. 2008-11-08 14:03 UTC+0200 Viktor Szakats * make_b32.bat * make_vc.bat * contrib/mtpl_b32.bat * contrib/mtpl_gcc.sh * contrib/mtpl_vc.bat * Sync with GNU make system: HB_MAKE_FLAGS -> MK_USR ; FIXME: Maybe it's a good time now to resolve the missing HB_ prefixes for C_USR, L_USR, A_USR, MK_USR. If there are no objections / better ideas I'd like to make these changes: HB_USER_LIBS -> HB_USR_LIBS PRG_USR -> HB_USR_PRG C_USR -> HB_USR_C L_USR -> HB_USR_LINK (or HB_USR_L ?) A_USR -> HB_USR_LIB (or HB_USR_A ?) MK_USR -> HB_USR_MAKE (or HB_USR_MAK ?) As an option we may keep the old names for compatibility to give some transition time. 2008-11-08 13:55 UTC+0200 Viktor Szakats * source/vm/set.c ! _SET_EVENTMASK RTE removed to be Clipper compatible. ! _SET_VIDEOMODE RTE removed to be Clipper compatible. ! _SET_MBLOCKSIZE default value set to 64 (was 0) to be Clipper compatible. (pls correct me if this was intentionally wrong) * utils/hbtest/rt_misc.prg + Added one C5.2 SET()s for two simple tests. + Added all C5.3 SET()s for two simple tests each. ; FIXME: _SET_VIDEOMODE has the type wrong. ; NOTE: It wouldn't be a bad idea to add some more comprehensive tests for SET()s. 2008-11-08 13:22 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/make_gcc.sh * harbour/make_gnu.bat * harbour/make_gnu.sh * harbour/config/lib.cf * harbour/config/bin.cf + added MK_USR to pass GNU MAKE flags * harbour/source/vm/set.c * minor cleanup and simplifications in hb_setSetItem(). * grouped SETs with the same item type in hb_setSetItem() function together. 2008-11-08 12:46 UTC+0200 Viktor Szakats * source/rtl/gtwvt/gtwvt.c * hb_gt_wvt_ResetWindowSize(): Not very good looking (or overly efficient) solution added for the windows resize/positioning problem in case the initally set size cannot fit on the screen (Windows desktop). 2008-11-08 10:25 UTC+0200 Viktor Szakats * source/vm/set.c + Implemented rest of hb_setSetItem() values. ; TODO: Please review. [DONE] ! Fixed HB_SET_FILECASE and HB_SET_DIRCASE to not allow invalid numeric values to be set. ! Added missing 'break;' to hb_setSetItem2(); * source/rtl/gtwvt/gtwvt.c ! Fixed a few places where '+' operator was used instead of '|'. * Minor opt/formatting. ; FIXME: The window positioning bug is still to be solved. [DONE -> REOPENED] 2008-11-07 23:39 UTC+0100 Francesco Saverio Giudice (info fsgiudice com) * source/rdd/usrrdd/rdds/arrayrdd.prg * Changed AR_CREATE( nWA, aOpenInfo ) behaviour, now it not checks if a table exists in memory but act as dbCreate() does. + Added hb_FileArrayRDD() function to check existence of a table in memory. * Changed EraseArrayRDD() -> hb_EraseArrayRDD() * removed string length limit in case of a Memo field 2008-11-07 22:45 UTC+0100 Francesco Saverio Giudice (info fsgiudice com) * contrib/xhb/hboutdbg.c + Added hb_OutDebug() and hb_OutDebugName() functions at C level 2008-11-07 19:02 UTC+0200 Viktor Szakats * source/rtl/gtwvt/gtwvt.c * Formatting. * config/w32/owatcom.cf * Added support for L_USR in link options. * Removed debug switch -d2 from compiler command line. For debug builds 'C_USR=-d2' and 'L_USR=debug all' should be added. ; Untested. 2008-11-07 17:48 UTC+0200 Viktor Szakats * bin/hbmk.bat + Added support for 'owatcom' as HB_COMPILER. ; NOTE: If there are no objections I'll remove Harbour support for 'watcom' HB_COMPILER, which was used for old non-opensource version of this compiler, but I guess it doesn't make too much sense having them anymore. * source/common/hbverdsp.c * Minor change in /build output. * include/hbver.ch * source/rtl/version.c * Changed ordering of parameter constants to make more sense. * bin/hbmk.bat * config/w32/owatcom.cf * Removed 'debug all' linker option to make executable sizes significantly smaller by default. If you need debug info, use 'L_USR=debug all'. ; NOTE: I'd suggest doing the same for other platform supported by owatcom. If there are no objections I can do this. * source/rtl/gtwvt/gtwvt.c * Typo, minor formatting. 2008-11-07 14:19 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/set.c + finished hb_setSetFile() used internally for HB_SET_ALTFILE, HB_SET_EXTRAFILE, HB_SET_PRINTFILE 2008-11-07 13:01 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbset.h * harbour/source/vm/set.c + added hb_setSetItem2() C function for SETs which needs two parameters + added support for HB_SET_DECIMALS and HB_SET_EPOCH in hb_setSetItem() Still 22 SETs are marked as TODO [DONE] + added internal function hb_setSetFile() for HB_SET_ALTFILE, HB_SET_EXTRAFILE, HB_SET_PRINTFILE - function body marked as TODO [DONE]. I'll implement it later. 2008-11-07 00:39 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/ChangeLog ! fixed typo in previous ChangeLog entry. Instead of: #ifdef DEFINE && DEFINE >= 0x100 should be: #if defined( DEFINE ) .and. DEFINE >= 0x100 2008-11-07 00:36 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbwmain.c * pacified unused variable warning * harbour/include/hbpp.h * harbour/source/pp/ppcore.c ! do not report #if expression errors in #if PP directives when they are in codedis activated by parent #if[def]/#elif/#else. It allows to compiler code like: #ifdef DEFINE #if DEFINE >= 0x100 ... #endif #endif + added logical expression reduction to not report #if expression errors in code like: #if defined( DEFINE ) && DEFINE >= 0x100 ... #endif ! fixed possible division by 0error in #if exporessions like #if 1 / 0 Now #if expression compiler error is generated ! restored some bit operators in #if directives wrongly disabled with xHarbour stuff * harbour/source/vm/hashfunc.c % removed unnecessary hb_itemUnRef() 2008-11-06 09:35 UTC+0200 Viktor Szakats * common.mak ! Fixed mistakes in previous commit. + Added NOTE about requirement that harboury stays at the top of the obj list. 2008-11-06 09:07 UTC+0200 Viktor Szakats * common.mak * source/vm/Makefile * source/vm/vmmt/Makefile * source/common/Makefile * source/rtl/Makefile - source/vm/fmhb.c + source/rtl/fmhb.c - source/vm/hbmem.c + source/common/hbmem.c * Moved hbfm (MEMORY() .prg function) from VM to RTL. * Moved hbmem (hb_xmem*() C functions) from VM to COMMON. - contrib/hbziparc/hbzipcpp.old - Removed. 2008-11-06 02:18 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/tests/wcecon.prg ! added missing REQUEST DBFCDX * harbour/contrib/rddsql/Makefile ! added missing include $(TOP)$(ROOT)config/lib.cf * harbour/contrib/rddsql/hbsqldd.h * harbour/contrib/rddsql/sqlbase.c * harbour/contrib/rddsql/mysqldd.c * added missing const to some char * parameters/members ; added note about using sizeof() in preprocesor conditional directives * harbour/contrib/rddsql/sqlmix.c ! fixed printf() format FIXME for author: mysqldd.c:258: warning: pItemEof may be used uninitialized in this function sqlbase.c:509: warning: comparison of unsigned expression < 0 is always false Mindaugas can you look at it? 2008-11-05 23:27 UTC+0200 Viktor Szakats * make_vc.bat * contrib/hbgt/doc/gendoc.bat * contrib/hbapollo/make_vc.bat * contrib/hbcurl/make_vc.bat * contrib/hbmisc/doc/gendoc.bat % Non-empty 'echo.' commands in batch files cleaned. 2008-11-05 19:36 UTC+0200 Viktor Szakats * contrib/examples/dbu/bld_b32.bat * contrib/examples/dbu/bld_vc.bat * utils/hbdoc/bld_b32.bat * utils/hbdoc/bld_vc.bat * utils/hbmake/bld_b32.bat * utils/hbmake/bld_vc.bat * Minor cleanups. ; NOTE: Win9x support for BCC files is now dropped. 2008-11-05 19:26 UTC+0200 Viktor Szakats * contrib/hbcurl/hbcurl.c % Removed two Harbour level functions not really adding to functionality but forcing linkage of these (otherwise unused) curl interfaces. CURL_SHARE_STRERROR() CURL_MULTI_STRERROR() INCOMPATIBLE (but I doubt even a single user would be affected) * source/rtl/version.c ! Fix to prev. 2008-11-05 19:16 UTC+0200 Viktor Szakats * bin/hb-func.sh * include/hbstdgen.ch * include/hbver.h * contrib/examples/pp/pp.c * source/pp/ppcore.c * source/pp/hbpp.c * source/common/hbver.c * HB_VER_REVISION -> HB_VER_RELEASE. INCOMPATIBLE. 2008-11-05 13:15 UTC+0200 Viktor Szakats * make_vc.mak * -GA option only used for HB_VISUALC_VER >= 70. Please update this if older versions also support it. * include/hbver.ch * source/common/hbver.c * Some more fiddling with version number terminology and hb_version() values: HB_VERSION_MICRO -> HB_VERSION_RELEASE HB_VERSION_BLD_DATE_STR -> HB_VERSION_BUILD_DATE_STR HB_VERSION_BLD_DATE -> HB_VERSION_BUILD_DATE HB_VERSION_BLD_TIME -> HB_VERSION_BUILD_TIME HB_VERSION_CHANGELOG_REV -> HB_VERSION_CHANGELOG_ID Third part of version number could also be: PATCH, MICRO, BUILD SVN revision could also be: BUILD BUILD is inherently connected with a physical binary, so I dropped it, PATCH is limiting and negativ, MICRO is not very common (otherwise good), so a finally opted for RELEASE. REVISION kept as is. ; If there are no objections I'll HB_VER_REVISION macro to HB_VER_RELEASE. This will be an INCOMPATIBLE change, but I expect not too many ppl being affected. * TODO - Removed MT as a TODO. Thanks Przemek for the nice job. 2008-11-05 03:01 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapi.h * harbour/source/vm/hashes.c * harbour/source/vm/hashfunc.c * changed hb_hSort() to execute sorting when hash is marked as needed resorting instead of marking hash for resorting * harbour/source/vm/fm.c * formatting * harbour/contrib/hbdbgfx/dbgfxc.c ! fixed casting in ASCII build + added support for UNICODE builds * harbour/contrib/gtwvg/gtwvg.c * cover LWA_ALPHA usage by #if ( _WIN32_WINNT >= 0x0500 ) to keep at least compile time compatibility with older systems 2008-11-04 15:54 UTC-0600 Teo Fonrouge (teo/at/windtelsoft/dot/com) * source/vm/fm.c * removed unneeded HB_FUNC( MEMORY ), now in fmhb.c 2008-11-04 23:03 UTC+0200 Viktor Szakats * common.mak * source/vm/Makefile * source/vm/vmmt/Makefile * source/vm/fm.c + source/vm/fmhb.c + source/vm/hbmem.c + Moved functions not depending on FM_STATISTICS setting, to separate files. ; NOTE: MEMORY() function should IMO move to rtl, and hb_xmem*() functions to common lib. 2008-11-04 22:53 UTC+0200 Viktor Szakats * include/hbextern.ch + Added new HB_H*() functions. 2008-11-04 22:50 UTC+0200 Viktor Szakats * include/hbextern.ch * common.mak * source/codepage/Makefile + source/codepage/cpes850.c + Added ES850 - Modern Spanish. * include/hbextern.ch ! Added ITWIN. * source/codepage/cpesisoc.c * source/codepage/cpsviso.c * source/codepage/cpesiso.c * source/codepage/cpitwin.c + Added my copyright. * ChangeLog ; Some TODO/FIXMEs marked as [DONE] 2008-11-04 22:39 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapi.h * harbour/source/vm/hashfunc.c * harbour/source/vm/hashes.c + added support for binary key order % enable binary internal key order by default for new hash arrays + added .prg function to enable/disable/retrive binary order in hash items: hb_hSetBinary( <hValue>, <lOnOff> ) => <hValue> hb_hBinary( <hValue> [, <lBinary> ] ) => <lBinary> + added support for hash array resorting. It's activated automatically on 1st key access/assign after changing binary or casematch hash array flag + added .prg function hb_hSort( <hValue> ) => <hValue> which marks hash array for sorting * harbour/source/rtl/itemseri.c % improved performance of hash array deserialization TODO: add support for hash array flags and hash default value serialization 2008-11-04 19:59 UTC+0200 Viktor Szakats * contrib/hbnf/getenvrn.c - Removed some obsolete comments. * contrib/hbwhat/whtlv.c ! Fixed memory leak. ! Fixed to use hb_strncpy() instead of unsafe lstrcpy(). ; FIXME: The destination address isn't properly allocated and the size of it is unknown, so this modification is not enough. ; FIXME: Unicode conversion, buffer allocation for item.pszText. 2008-11-04 19:32 UTC+0200 Viktor Szakats * make_gcc.mak * contrib/mtpl_gcc.mak + Added '-march=i586' for Windows platform. (Sync with other make systems.) * ChangeLog + Some changes marked as TOMERGE 1.0. * contrib/hbtip/base64x.c ! Fixed an ages old problem with BUILDUSERPASSSTRING() function, which always returned an empty string thus making SMTP "AUTH PLAIN" broken. I wonder how this went unnoticed for this long. This also fixes unsafe strcpy() usage. [TOMERGE 1.0] 2008-11-04 17:28 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/hvm.c * harbour/source/vm/mainstd.c * force linking main() function in OpenWatcom OS2 builds * harbour/contrib/xhb/hbcrypt.c ! casting 2008-11-04 13:06 UTC+0200 Viktor Szakats * include/hbextern.ch * common.mak * source/codepage/Makefile * source/codepage/cpeswinm.c - source/codepage/cpes850.c + source/codepage/cpes850c.c * source/codepage/cpesiso.c + source/codepage/cpesisoc.c * source/codepage/cpeswin.c + source/codepage/cpeswinc.c * source/codepage/cpesisom.c * Spanish language support cleaned: Modern collation made the default, fixed CP linkage in ESWIN collations, Clipper compatibility versions renamed to have an ending 'C' Now the following collations are supported: ES850C - Clipper compatibility CP: IBM850 ESWINC - Clipper compatibility CP: Windows-1252 ESISOC - Clipper compatibility CP: ISO-8859-1 ESWIN - Modern CP: Windows-1252 ESISO - Modern CP: ISO-8859-1 ESMWIN - Compatibility with previous Harbour versions and xhb. (this collation has wrong CP linkage, so everyone is encouraged to use ESWIN or ESISO instead.) Intentionally not added to hbextern.ch. ; TODO: Add ES850. [DONE] ; TODO: Check whether Clipper compatibility is indeed true. 2008-11-04 12:52 UTC+0200 Viktor Szakats * contrib/rddsql/mysqldd.c ! Excluded sizeof() in #ifdef to compile with MinGW. * contrib/hbhpdf/make_gcc.sh ! Fixed missing quote char. [TOMERGE 1.0] * contrib/mtpl_gcc.mak ! Fixed to create its own OBJ dir. Not the ultimate solution, pls enhance if you think. * source/codepage/cpeswinm.c * source/codepage/cpeswin.c ! Fixed linked codepage to be Windows-1252 instead of ISO-8859-1. For the ISO versions, pls see ESISO variants. * source/codepage/cpes850.c * source/codepage/cpesisom.c * Comments. * contrib/make_gcc_all.sh ! Fixed to not include externally dependent contribs, when HB_CONTRIBLIBS is specified by user. 2008-11-04 09:46 UTC+0200 Viktor Szakats * include/hbextern.ch + Added HB_CODEPAGE_SVISO. 2008-11-04 09:40 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbgtcore.h ! added missing 'extern' in hb_gt_dos_keyCodeTranslate() declaration * harbour/source/rtl/gtstd/gtstd.c * harbour/source/rtl/gtpca/gtpca.c + added support for console input in OpenWatcom builds * harbour/source/vm/vmmt/Makefile ! removed mainpm.c * harbour/contrib/xhb/hbcrypt.c ! fixed casting 2008-11-04 02:12 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/seconds.c + added #include <process.h> to OpenWatcom OS2 builds. 2008-11-04 02:08 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/thread.c * removed casting to void* thread startup function passed as _beginthread() parameter in OS2 builds. It should be checked if it does not breaks GCC builds. * harbour/source/rtl/seconds.c * use getpid() instead of _getpid() in non GCC OS2 builds 2008-11-04 01:04 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbthread.h ! fixed typo * harbour/source/vm/Makefile * excluded mainpm.c from OS2 builds * harbour/source/rtl/hbinet.c * changed the #include order for OS2 OpenWatcom builds and added some cleanups - please test other builds. 2008-11-04 00:15 UTC+0200 Viktor Szakats * common.mak * source/codepage/Makefile + source/codepage/cpitwin.c + Added ITWIN. Same as ITISO, with a different attached CP and name. 2008-11-03 17:49 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbthread.h * include <process.h> in OpenWatcom OS2 builds 2008-11-03 14:31 UTC+0200 Viktor Szakats * common.mak * source/codepage/Makefile + source/codepage/cpsviso.c + Added SVISO, which is the same as SVWIN, except it's internally using ISO-8859-1 CP in sync with its name. * source/codepage/cpsvwin.c ! Changed internal CP to Windows-1252 from ISO-8859-1, so that it's in sync with its name. 2008-11-03 14:08 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbthread.h * harbour/source/vm/thread.c + added ULONG _hb_gettid( void ) to OS2 builds - thanks to Maurilio * harbour/source/rtl/hbinet.c * changed a little bit the order of including header files in OS2 builds (blink fix for OpenWatcom OS2 builds). 2008-11-03 12:13 UTC+0200 Viktor Szakats * include/hbextern.ch ! Synced codepage list with recent changes. 2008-11-03 11:20 UTC+0200 Viktor Szakats * common.mak * source/codepage/Makefile - source/codepage/cpesmwin.c + source/codepage/cpeswinm.c + source/codepage/cpesiso.c + source/codepage/cpesisom.c * Renamed cpesmwin -> cpeswinm (ESMWIN -> ESWINM) (INCOMPATIBLE) + Added Spanish ISO natsort modules. Besides their ID, they are idendical with current ESWIN* natsorts, because the WIN versions for some reason are using ISO-8859 CP instead of Windows-*. This is IMO wrong, even if these CPs are similar or identical for the Spanish language. 2008-11-03 09:56 UTC+0200 Viktor Szakats * include/fileio.ch * Formatting. 2008-11-03 08:57 UTC+0200 Viktor Szakats * common.mak * source/codepage/Makefile + source/codepage/cproiso.c + source/codepage/cpfriso.c + source/codepage/cpfrwin.c + Added new CPs. - source/codepage/cphr1250.c + source/codepage/cphrwin.c * Renamed to follow the rest of the CPs. INCOMPATIBLE. * source/codepage/cpfr850.c ! Fixed uppercase chars. [TOMERGE 1.0] 2008-11-03 00:56 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/thread.c + added temporary workaround for non GCC OS2 ST builds * harbour/source/rtl/hbmd5.c * casting cleanup 2008-11-02 23:10 UTC+0200 Viktor Szakats * include/hbapicdp.h * common.mak * source/codepage/Makefile + source/codepage/uc855.c + source/codepage/uc874.c + source/codepage/uc1256.c + source/codepage/uc1258.c + source/codepage/uc860.c + source/codepage/uc862.c + source/codepage/uc864.c + source/codepage/uc775.c + source/codepage/uc1255.c + source/codepage/uc861.c + source/codepage/uc863.c + source/codepage/uc865.c + source/codepage/uc869.c + Added missing IBM/Windows codepages. * source/rtl/cdpapi.c * Formatting. 2008-11-02 22:45 UTC+0200 Viktor Szakats * source/codepage/uc1250.c * source/codepage/uc1251.c * source/codepage/uc1252.c * source/codepage/uc1253.c * source/codepage/uc1254.c * source/codepage/uc1257.c * source/codepage/uc737.c * source/codepage/uc850.c * source/codepage/uc852.c * source/codepage/uc857.c * source/codepage/uc866.c * source/codepage/uc8859_1.c * source/codepage/uc8859_2.c * source/codepage/uc8859_3.c * source/codepage/uc8859_4.c * source/codepage/uc8859_5.c * source/codepage/uc8859_6.c * source/codepage/uc8859_7.c * source/codepage/uc8859_8.c * source/codepage/uc8859_9.c * source/codepage/uc885910.c * source/codepage/uc885911.c * source/codepage/uc885913.c * source/codepage/uc885914.c * source/codepage/uc885915.c * source/codepage/uc885916.c * source/codepage/uc88591b.c * Formatting. 2008-11-02 22:24 UTC+0200 Viktor Szakats * source/codepage/uc1250.c * source/codepage/uc1251.c * source/codepage/uc1252.c * source/codepage/uc1253.c * source/codepage/uc1254.c * source/codepage/uc1257.c * source/codepage/uc737.c * source/codepage/uc850.c * source/codepage/uc852.c * source/codepage/uc857.c * source/codepage/uc866.c * source/codepage/uc8859_1.c * source/codepage/uc8859_2.c * source/codepage/uc8859_3.c * source/codepage/uc8859_4.c * source/codepage/uc8859_5.c * source/codepage/uc8859_6.c * source/codepage/uc8859_7.c * source/codepage/uc8859_8.c * source/codepage/uc8859_9.c * source/codepage/uc885910.c * source/codepage/uc885911.c * source/codepage/uc885913.c * source/codepage/uc885914.c * source/codepage/uc885915.c * source/codepage/uc885916.c * source/codepage/uc88591b.c * source/codepage/uckam.c * source/codepage/uckoi8.c * source/codepage/uckoi8u.c * source/codepage/ucmaz.c * source/codepage/ucmik.c * Formatting. 2008-11-02 21:15 UTC+0200 Viktor Szakats * include/hbapicdp.h * common.mak * source/codepage/Makefile + source/codepage/uc8859_3.c + source/codepage/uc8859_4.c + source/codepage/uc8859_6.c + source/codepage/uc8859_7.c + source/codepage/uc8859_8.c + source/codepage/uc8859_9.c + source/codepage/uc885910.c + source/codepage/uc885911.c + source/codepage/uc885913.c + source/codepage/uc885914.c + source/codepage/uc885915.c + source/codepage/uc885916.c + Added remaining 8859 codepages. 0x00-0x1F chars are unstandard (following existing files). * source/codepage/uc8859_1.c * source/codepage/uc8859_2.c * Comments. 2008-11-02 16:33 UTC+0200 Viktor Szakats * include/hbextern.ch * common.mak * source/codepage/Makefile + source/codepage/cpro852.c + source/codepage/cprowin.c + Added Romanian codepages. ; TODO: Add ROISO variant. [DONE] * source/codepage/uc1250.c * source/codepage/uc1251.c * source/codepage/uc1252.c * source/codepage/uc8859_5.c * source/codepage/uckam.c * Minor formatting. 2008-11-02 14:56 UTC+0200 Viktor Szakats * include/hbextern.ch ! Readded HB_LANG_EN. 2008-11-02 14:28 UTC+0200 Viktor Szakats * include/hbextern.ch ! Added all missing LANG and CODEPAGE modules. [TOMERGE 1.0] * ChangeLog - Removed duplicate entry of mine. * source/common/hbstr.c * source/rtl/version.c * source/rtl/filesys.c * Minor formatting. * source/codepage/cpcs852.c * source/codepage/cpsk852.c * source/codepage/cpcsiso.c * source/codepage/cpcswin.c * source/codepage/cpskiso.c * source/codepage/cpskwin.c * source/codepage/cpcskam.c * source/codepage/cpskkam.c * Removed unnecessary ending ';' 2008-11-02 13:36 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbexprb.c ! fixed possible GPF/internal memory corruption in code like: ? HB_I18N_GETTEXT_NOOP( "Ala ma kota" + " !!!" ) Mindaugas, the fix is also the answer for the question you left in TODO. 2008-11-02 12:25 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/dynlibhb.c * forced casting in OS2 builds to eliminate problems with possible differences between compilers in 'char' type sign * harbour/source/rtl/filesys.c ! use _getcwd1() only in GCC OS2 builds - it's local GCC function * removed some header files from OS2 build - please test if it does not break GCC builds 2008-11-02 00:40 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtwvg/gtwvg.c * harbour/contrib/gtwvg/gtwvg.h * harbour/contrib/gtwvg/hbgtwvg.ch * harbour/contrib/gtwvg/wvgpaint.prg ! Synchronized with GTWVT. + Added HB_GTI_* hb_gtInfo() constants: HB_GTI_PRESPARAMS // provides mechanism to configure windows appearance and behavior HB_GTI_ENABLE // enables window to receive input focus with specified GT HB_GTI_DISABLE // disables window to accept input focus with specified GT HB_GTI_SETFOCUS // sets the input focus to specified GT + Added HB_GT_PP structure supporting design-time presentation parameters via HB_GTI_PRESPARAMS: HB_GTI_PP_EXSTYLE // extended style of the window HB_GTI_PP_STYLE // normal style of the window HB_GTI_PP_X // left position by pixel | top position by row HB_GTI_PP_Y // top position by pixel | left position by col HB_GTI_PP_WIDTH // width of the window by pixel | number of rows in window HB_GTI_PP_HEIGHT // height of the window by pixel | number of columns in window HB_GTI_PP_PARENT // parent GT if window needs to be modal and/or other usage HB_GTI_PP_VISIBLE // flag to specify if the window is made visible immediate after this call HB_GTI_PP_ROWCOLS // flag to interpret X,Y,WIDTH,HEIGHT as Top,Left,Rows,Cols ;IMPLEMENTS the behavioral changes to current GT window invoked either by hb_gtCreate() or hb_gtSelect() functions by specifying an array of 9 elements ( bound to increase in future ) via hb_gtInfo( HB_GTI_PRESPARAMS, aPresParams ) where <aPresParams> contains elements described as above: 1. ExStyle N [D] 0 2. Style N WS_OVERLAPPEDWINDOW 3. x[pxl] top[row] N 0 4. y[pxl] left[col] N 0 5. width[pxl] rows[row] N CW_USEDEFAULT 6. height[pxl] cols[col] N CW_USEDEFAULT 7. Parent GT P NIL 8. Visibility L FALSE 9. RowCols L FALSE <aPresParams> must be passed with all 9 elements even if you want only few to be changed. * harbour/contrib/gtwvg/tests/demowvg.prg ! Updated to demonstrate above concept to show up a modal dialog in the same thread on top of a threaded window. Try to click on the parent window. <Traditional><Browser><F3> will show up this modal dialog. ;NOTE : Please do not use literals to define members, always use #defines from hbgtwvg.ch as it is a work in progress and is possible that few of the definitions may change in future. 2008-11-02 07:39 UTC+0200 Viktor Szakats * source/rtl/version.c ! Added missing header from previous change. * source/vm/itemapi.c ! snprintf() -> hb_snprintf() This got reverted in previous commit by mistake. 2008-11-02 07:33 UTC+0200 Viktor Szakats * include/hbstdgen.ch - Removed HB_VERSION mistakenly left there. * include/hbextern.ch * source/rtl/version.c + Added HB_OSISWINNT() + Added HB_OSISWINCE() [TOMERGE 1.0] * include/hbver.ch * source/rtl/version.c + Added: hb_version( HB_VERSION_MT ) -> <logical> hb_version( HB_VERSION_UNIX_COMPAT ) -> <logical> hb_version( HB_VERSION_PLATFORM ) -> <string> (same as ending of __PLATFORM__* macros) This makes these functions/macros deprecated: - HB_MTVM() - __PLATFORM__* (not for all possible situations) ; FIXME: Cleanup REVISION/SVN term usage in source. ; FIXME: Remove HB_VER_* predefined macro usage on .prg level. ; TODO: Remove some deprecated by hb_version() functions/macros. * include/hbapi.h * source/vm/itemapi.c * source/common/hbstr.c * source/common/expropt2.c * source/rtl/chrasc.c * source/rtl/hbi18n.c * Minor formatting. 2008-11-01 22:58 UTC+0200 Viktor Szakats * source/rtl/hbi18n.c * Modified __I18N_GETTEXT() to not RTE when trs table is non-array (like NIL). * USHORT -> ULONG in a few places. * source/rtl/gtwvt/gtwvt.c * Minor formatting. 2008-11-01 21:13 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/itemseri.c ! fixed 8-bytes integer numbers deserialization + added support for serializing number with information about size and decimal places. It can be activated by passing .T. as second parameter to HB_SERIALIZE() function. Mindaugas please test if this is what you asked for. * harbour/source/rtl/hbi18n.c * changed USHORT to ULONG to pacify warning and minor speed increase (it eliminates later conversions to 32-bits when variable is used) 2008-11-01 20:09 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/gtwvt/gtwvt.h * harbour/source/rtl/gtwvt/gtwvt.c ! fixed HB_GTI_SETPOS_ROWCOL and HB_GTI_SETPOS_XY parameters decoding * automatically resize caret when cell size is changed * show window after setting its all parameters to eliminate visible resizing and repositioning. It did not eliminate multiple calls to hb_gt_wvt_FitSize() when windows is created. This has to be fixed yet or at least low-level actions in this function not repeated when window and font dimensions are the same as in last call. Please test it in real MS-Windows. It should reduce startup flickering and increase the speed of initial code. 2008-11-01 17:52 UTC+0200 Viktor Szakats * source/rtl/gtwvt/gtwvt.h * source/rtl/gtwvt/gtwvt.c + Added support for HB_GTI_ICONRES, HB_GTI_ICONFILE before the window is created. ! Fixed resource leak when HB_GTI_ICONFILE was used. ! Fixed problem with HB_GTI_ICONRES when it was resetting the icon if a non-string/non-numeric parameter was passed passed, which included simply trying to read the value using hb_gtInfo( HB_GTI_ICONRES ). If this was an intented feature, pls speak up. ; Please review these changes. 2008-11-01 15:47 UTC+0200 Viktor Szakats * source/rtl/hbi18n.c % Removed 'comment' field from language file header. Any text can be added simply by adding it to the translation table. * contrib/Makefile ! Missing hbdbgfx added here, too. ; BTW, I've intentionally left this lib out from the liblist until we decide where to put these functions. There is not much point maintaining for the sake of just a few functions. If there are no objections, I'll be moving these functions to hbwin (until someone updates the code to work outside Windows). 2008-11-01 )7:31 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/make_vc_all.bat * harbour/contrib/make_gcc_all.sh + hbdbgfx librray for auto build. 2008-11-01 15:20 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbdefs.h + added #define INCL_LONGLONG to include native compiler LONGLONG definition. It's necessary for OpenWatcom. Please check how it will interact with other OS2 compilers (GCC) 2008-11-01 13:41 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/common/hbgete.c ! fixed OS2 casting for non GCC compilers 2008-11-01 12:02 UTC+0200 Viktor Szakats * include/hbextern.ch * source/rtl/memofile.c + Added HB_MEMOREAD() which is identical to MEMOREAD() except it won't truncate the last byte (on non-UNIX compatible systems) if it's a EOF char. See also existing HB_MEMOWRIT(). [TOMERGE 1.0] 2008-11-01 11:24 UTC+0200 Viktor Szakats * source/rtl/hbi18n.c * Minor change in header to separate it visually from comment field. 2008-11-01 11:11 UTC+0200 Viktor Szakats * include/hbextern.ch * source/rtl/hbi18n.c % Using buffered hb_file*() API in __I18N_LOAD() instead of plain hb_fs*(). This will cause speedup when buffering gets implemented in hb_file*(), because currently two hb_fsRead() will be executed for each string stored in the language file. - __I18N_LOAD(): Because of the above, passing a file handle is no longer possible. + Added __I18N_LOADFROMMEMORY( <mem> ) => trs % Minor internal cleanups. 2008-11-01 08:45 UTC+0200 Viktor Szakats * include/hbextern.ch * common.mak * source/rtl/Makefile + source/rtl/hbi18n.c + Added basic/low-level i18n functions: __I18N_SAVE( cFileName | nHandle, aSortedTable [, cComment ] ) => lSuccess __I18N_LOAD( cFileName | nHandle ) => trs __I18N_GETTEXT( @cText, trs ) => NIL ; NOTE: These were originally based on Giancarlo Niccolai's work in xhb, but everything was completely reworked, fixed, internals removed, made portable, lighter, shorter and probably quicker. The used file format is incompatible, slightly smaller and portable. ; NOTE: The internal format of 'trs' (loaded translation) is also different. For minimal memory/speed overhead, I've choosen a one dimensional array, as opposed to the original two dimensional (like the input aSortedTable array). ; TODO: Higher-level functions to handle selecting a default language, loading files automatically, possibly caching multiple loaded language translations in memory and providing a high-level HB_I18N_GETTEXT() function. We may also readd a low-level function to create 'trs' from a memory object instead of loading it from the disk. We should in any case make the higher-level the lightest and less app specific as possible. * include/hbver.ch * source/rtl/version.c * utils/hbtest/rt_str.prg * ChangeLog ! Fixed returning bit width. * Reworked hb_version() parameter values as follows: (also fixed some differences between docs here in the previous entry and actual code) HB_VERSION_HARBOUR (was: HB_V_HARBOUR ) HB_VERSION_COMPILER (was: HB_V_COMPILER ) HB_VERSION_MAJOR (was: HB_V_MAJOR ) HB_VERSION_MINOR (was: HB_V_MINOR ) HB_VERSION_MICRO (was: HB_V_REV ) HB_VERSION_STATUS (was: HB_V_STATUS ) HB_VERSION_REVISION (was: HB_V_COUNT ) HB_VERSION_BLD_DATE_STR (was: HB_V_DATE_TIME ) HB_VERSION_BLD_DATE (was: HB_V_DATE ) HB_VERSION_BLD_TIME (was: HB_V_TIME ) HB_VERSION_PCODE_VER (was: HB_V_PCODE ) HB_VERSION_PCODE_VER_STR (was: HB_V_PCODE_STR ) HB_VERSION_CHANGELOG_LAST (was: HB_V_CHANGELOG_LAST ) HB_VERSION_CHANGELOG_REV (was: HB_V_CHANGELOG_REV ) HB_VERSION_FLAG_PRG (was: HB_V_FLAG_HARBOUR ) HB_VERSION_FLAG_C (was: HB_V_FLAG_C ) HB_VERSION_FLAG_LINKER (was: HB_V_FLAG_LINKER ) HB_VERSION_BITWIDTH (was: HB_V_BITWIDTH ) HB_VERSION_ENDIANNESS (was: HB_V_ENDIANNESS ) This function makes deprecated following functions: - HB_COMPILER() => hb_version( HB_VERSION_COMPILER ) - HB_PCODEVER() => hb_version( HB_VERSION_PCODE_VER_STR ) - HB_BUILDDATE() => hb_version( HB_VERSION_BLD_DATE_STR ) and macros: - __ARCH16BIT__ - __ARCH32BIT__ - __ARCH64BIT__ - __LITTLE_ENDIAN__ - __BIG_ENDIAN__ - __PDP_ENDIAN__ - HB_VER_SVNID - HB_VER_CHLID - HB_VER_LENTRY - HB_VER_C_USR - HB_VER_L_USR - HB_VER_PRG_USR ; FIXME: Some term anomalies regarding 'REVISION'. [DONE] * source/vm/runner.c * Minor formatting and added "s_" prefix to static var. 2008-10-31 13:02 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/make_b32_all.bat + hbdbgfx librray for auto build. 2008-10-31 13:54 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/dynlibhb.c * harbour/source/common/hbgete.c * harbour/source/common/hbfsapi.c * harbour/source/rtl/hbinet.c * harbour/source/rtl/hbffind.c * harbour/source/rtl/filesys.c * harbour/contrib/hbct/files.c * harbour/contrib/hbmzip/hbmzip.c * harbour/contrib/hbgf/hbgfos2/os2pm.c * cleanup casting in OS2 builds (use PCSZ/PSZ) 2008-10-30 21:24 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/source/rtl/gtwvt/gtwvt.c * harbour/source/rtl/gtwvt/gtwvt.h + Transfereed two static variables to HB_GTWVT structure. Multi-thread/console protection. 2008-10-31 02:26 UTC+0200 Viktor Szakats * make_vc.mak - Removed -GS- option for WinCE. MS recommends this to be there for safety. If someone wants to disable, it can be done with C_USR. 2008-10-31 02:14 UTC+0200 Viktor Szakats * source/vm/dlmalloc.c ! Fixed minor MinGW warning. This fix also exists as part of the next dlmalloc version (2.8.4b). 2008-10-31 02:05 UTC+0200 Viktor Szakats * make_b32.mak * contrib/mtpl_b32.mak * config/w32/bcc32.cf - Added -4 switch, which means Intel 386 CPUs are not not supported by default. * make_vc.mak + Added -GA switch to MSVC 32/64 which creates smaller (and only slightly faster) TLS access code. * source/compiler/cmdcheck.c * source/compiler/hbusage.c + Added -/+ suboptions to -k? options to make it possible to set them to the opposite setting. ; NOTE: BTW, shouldn't -ki option also disable #pragma BEGINDUMP/ENDDUMP? IMO it should, otherwise it doesn't really enforce C out of .prg code. * config/w32/gcc.cf * config/w32/mingw.cf * Changed -march=i486 to -march=i586. ; NOTE: Please comment on CPU optimization switches, IMO we can quite safely target Pentium/586 as the minimum CPU requirement these days for default Harbour builds. If someone needs to run it on 386 (Win95) or 486 (Win98/WinME), a special built can be created. 2008-10-30 21:56 UTC+0200 Viktor Szakats * contrib/make_b32_all.bat * contrib/make_vc_all.bat * contrib/make_gcc_all.sh + Added support for GNU-make features HB_CONTRIBLIBS, and HB_CONTRIB_ADDONS. Not tested in make_gcc_all.sh. * config/w32/msvc.cf * config/w32/msvcce.cf - Removed -D_CRT_SECURE_NO_DEPRECATE. (sync with non-GNU make) 2008-10-30 15:03 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbvmpub.h + added HB_VM_ISFUNC(), HB_VM_FUNCUNREF() and HB_VM_EXECUTE() macros to operate on HB_SYMB structure * harbour/source/vm/hvm.c * harbour/source/vm/classes.c * use HB_VM_ISFUNC()/HB_VM_FUNCUNREF()/HB_VM_EXECUTE() macros for executing function inside HB_SYMB structure to avoid possible synchronization problems during modifications 2008-10-29 19:06 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtwvg/gtwvg.c * harbour/contrib/gtwvg/gtwvg.h * harbour/contrib/gtwvg/hbgtwvg.ch + Added the possibility to have transparency on Window. Work-in-progress ! Rearranged .H structure for future seggregations into smaller structures * harbour/contrib/gtwvg/tests/demowvg.prg + Added functionality to make a window transparent. ; <Traditional><Browser> : Press F11 and F12 to increase/decrese transparency. 2008-10-30 00:10 UTC+0200 Viktor Szakats * ChangeLog + Clarification to previous entry. * source/common/hbgete.c * source/common/hbfsapi.c ! Blind fix for OS/2 compiler warnings. David, please test. * source/rtl/philes.c * Minor (0 -> '\0'). * source/compiler/hbusage.c ! Fixed old typo in help text. ; BTW: What is missing for gettext support? 2008-10-29 12:46 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtwvg/gtwvg.c ! Cleaned debug call left by mistake. 2008-10-29 18:33 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbgtcore.h * harbour/source/rtl/hbgtcore.c + added PHB_GT hb_gt_ItemBase( PHB_ITEM pItemGT ) 2008-10-29 17:06 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbcompdf.h * harbour/include/hbexprb.c * harbour/source/common/expropt1.c * harbour/source/common/expropt2.c ! change the expressions precedence - references to variables were wrongly marked as simple expressions * harbour/include/hbexpra.c ! fixed protection against wrong static initializers. Now code like: static s_var := { { func(), M->var } } or: static s_var := { "A" => { func() => M->var } } or: static s_var := { @M->var } or: static s_var := QSelf() is not accepted by compiler and error is generated at compile time instead of crashing at HVM startup when static variables are initialized 2008-10-29 08:10 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtwvg/tests/demowvg.prg ! Cleaned debug call left by mistake. 2008-10-28 18:12 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtwvg/gtwvg.c * harbour/contrib/gtwvg/gtwvg.h ! Updated to respect latest features of GTWVT. * harbour/contrib/gtwvg/tests/demowvg.prg ! Updated to honor procol the way console is visible 2008-10-28 20:08 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbstack.h * harbour/source/vm/estack.c + added hb_stackReleaseTSD() function - this function can be called only in HVM cleanup state when all threads except the main one are released * harbour/source/rdd/dbf1.c * harbour/source/rdd/dbffpt/dbffpt1.c * harbour/source/rdd/dbfntx/dbfntx1.c * harbour/source/rdd/dbfcdx/dbfcdx1.c * make RDDINFO settings in BDF* based RDDs thread local * harbour/include/hbclass.ch * minor modification 2008-10-28 17:56 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/dynlibhb.c ! added #define INCL_DOSMODULEMGR for OS2 builds 2008-10-28 15:56 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbstack.h ! fixed fDebugRequest declaration 2008-10-28 12:53 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/gtwvt/gtwvt.h * harbour/source/rtl/gtwvt/gtwvt.c + added support for creating console window after 1st screen update Please remember that it interacts with inkey() code which does not work until windows is not created. Now it should be quite easy to add support for some initializations before window is created. Probably it will be necessary to change INFO() method and store settings in some pWVT variables if pWVT->hWND is NULL and then use them as parameters for new console window. I'd like to leave this modification to MS-Windows developers. * harbour/contrib/xhb/xhbcopyf.c ! fixed name conflict with hb_fsCopy() 2008-10-28 12:48 UTC+0200 Viktor Szakats * contrib/hbcurl/make_b32.bat * contrib/hbcurl/make_vc.bat * contrib/hbcurl/Makefile + Added HB_HBCURL_USR_C envvar to customize C switches specifically for this contrib. 2008-10-28 11:54 UTC+0200 Viktor Szakats * config/w32/gcc.cf * config/w32/mingw.cf + Added -march=i486 to default C switches. 2008-10-28 10:43 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/hvm.c ! added missing HB_STACK_PRELOAD 2008-10-28 10:42 UTC+0200 Viktor Szakats * source/rtl/copyfile.c ! Fixed hb_fsCopy() name collision with static function. 2008-10-28 10:24 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbxvm.h * harbour/source/vm/hvm.c * harbour/source/compiler/gencc.c + added finished by mistake support for hidden strings in -gc3 mode [TOMERGE 1.0] 2008-10-28 09:44 UTC+0200 Viktor Szakats * contrib/examples/guestbk/inifiles.prg * contrib/examples/guestbk/testcgi.prg * contrib/examples/guestbk/guestbk.prg * contrib/examples/guestbk/bld_b32.bat * contrib/examples/guestbk/bld_vc.bat * contrib/examples/pe/bld_b32.bat * contrib/examples/pe/bld_vc.bat * contrib/examples/pe/editorhi.prg * Minor updates, optimizations. * source/rtl/version.c % Using better method to return HB_V_BITWIDTH. * utils/hbtest/rt_str.prg ! Changed to use 'hb_version( HB_V_BITWIDTH ) >= 64' instead of #ifdef __ARCH64BIT__. 2008-10-28 01:52 UTC+0200 Viktor Szakats * include/Makefile * include/hbextern.ch + include/hbver.ch * source/rtl/version.c + Added HB_VERSION() unified version information function. This can return these version related data: hb_version( HB_V_HARBOUR ) => <string> hb_version( HB_V_COMPILER ) => <string> hb_version( HB_V_MAJOR ) => <num> hb_version( HB_V_MINOR ) => <num> hb_version( HB_V_REV ) => <num> hb_version( HB_V_STATUS ) => <string> hb_version( HB_V_COUNT ) => <num> hb_version( HB_V_DATE_TIME ) => <string> hb_version( HB_V_DATE ) => <date> hb_version( HB_V_TIME ) => <string> hb_version( HB_V_PCODE ) => <num> hb_version( HB_V_PCODE_STR ) => <string> hb_version( HB_V_CHANGELOG_LAST ) => <string> hb_version( HB_V_CHANGELOG_REV ) => <string> hb_version( HB_V_FLAG_HARBOUR ) => <string> hb_version( HB_V_FLAG_C ) => <string> hb_version( HB_V_FLAG_LINKER ) => <string> hb_version( HB_V_BITWIDTH ) => <num> hb_version( HB_V_ENDIANNESS ) => <num> This function makes deprecated following functions: - HB_COMPILER() => hb_version( HB_V_COMPILER ) - HB_PCODEVER() => hb_version( HB_V_PCODE_VER_STR ) - HB_BUILDDATE() => hb_version( HB_V_DATE_TIME ) and macros: - __ARCH16BIT__ - __ARCH32BIT__ - __ARCH64BIT__ - __LITTLE_ENDIAN__ - __BIG_ENDIAN__ - __PDP_ENDIAN__ - HB_VER_SVNID - HB_VER_CHLID - HB_VER_LENTRY - HB_VER_C_USR ; NOTE: If there are no objections, I'd remove the __ARCH*BIT__ and __*ENDIAN__ predefined macros, as these can be misleading on some systems. ; TODO: Implement HB_V_DATE and HB_V_TIME. [DONE] ; TODO: Add HB_MTVM() functionality. [DONE] ; TODO: Add __PLATFORM__* equivalent. [DONE] ; TODO: Add HB_OS_UNIX_COMPATIBLE equivalent. [DONE] * include/hbextern.ch * include/hbapifs.h * common.mak * source/rtl/Makefile + source/rtl/fscopy.c + Added C level hb_fsCopy() function. + Added .prg level HB_FCOPY() function. 2008-10-28 00:57 UTC+0200 Viktor Szakats * include/hbextern.ch * source/vm/cmdarg.c + Added HB_CMDLINE() .prg level function to return the full command line. Currently it does reassemble it from hb_argc/hb_argv. * contrib/rddsql/mysqldd.c ! Fixed MSVC casting errors in C++ mode. * include/hbwmain.c * source/vm/cmdarg.c * Moved argv[ 0 ] generation on Windows platform, so that it now gets properly filled with the full executable file path for console mode (GTWIN) apps in all situations (e.g. when run from a batch file using '%~n1.exe' macro). * source/rtl/hbinet.c ! Fixed to use safe strerror() (named strerror_s()) under MSVS 2005 and upper. Please test. * source/hbzlib/gzio.c + Added _CRT_SECURE_NO_DEPRECATE locally to suppress various MSVC unsafe CRT API usage warnings. Maybe it'd be better to fix these by using Harbour APIs. * utils/hbdoc/gentrf.prg ! Fixed missing "common.ch" 2008-10-27 23:38 UTC+0200 Viktor Szakats * contrib/hbmysql/tmysql.prg * contrib/xhb/hbcompat.ch * contrib/xhb/dirrec.prg * contrib/xhb/txml.prg * contrib/xhb/hblog.prg * contrib/xhb/cstruct.prg * contrib/hbodbc/todbc.prg * contrib/hbtpathy/telepath.prg * contrib/hbmsql/tmsql.prg * contrib/hbpgsql/tpostgre.prg * contrib/hbgd/gd.prg * contrib/hbgd/gdimage.prg * contrib/hbgd/gdbarcod.prg * contrib/hbgd/gdchart.prg * contrib/hbgd/gdbar.prg * contrib/hbmisc/stringp.prg * contrib/hbtip/thtml.prg * contrib/hbtip/popcln.prg * contrib/hbtip/sendmail.prg * contrib/hbtip/cgi.prg * contrib/hbtip/httpcln.prg * contrib/hbtip/encoder.prg * contrib/hbtip/smtpcln.prg * contrib/hbtip/mail.prg * contrib/hbtip/ftpcln.prg * contrib/hbwin/win_reg.prg * contrib/hbwin/win_tole.prg * source/rdd/usrrdd/rdds/arrayrdd.prg * source/rdd/usrrdd/rdds/hscdx.prg * source/rdd/usrrdd/rdds/rlcdx.prg * utils/hbdoc/genos2.prg * utils/hbdoc/genng.prg * utils/hbdoc/genchm.prg * utils/hbdoc/genhtm.prg * utils/hbdoc/genrtf.prg * utils/hbdoc/gentrf.prg * utils/hbmake/hbmake.prg % 'ValType() == "?"' -> IS*() % *trim( Str() ) -> hb_NToS() ; In few places in hbtip the length limit was removed from Str(), as it was used inconsistently and could also cause infinite loops and invalid filenames. % Some other minor updates. 2008-10-27 22:39 UTC+0200 Viktor Szakats * tests/db_brows.prg * contrib/hbmysql/tmysql.prg * contrib/hbnf/miltime.prg * contrib/hbnf/mouse1.prg * contrib/hbnf/sleep.prg * contrib/hbnf/d2e.prg * contrib/hbnf/easter.prg * '&&' comments changed to '//' for all Harbour SVN. * contrib/gtwvg/wvgclass.prg * source/rdd/hbsix/sxcompat.prg ! Fixed '&&' being used instead of '.AND.' in code. ; NOTE: This '&&' comment compatibility is a lot more dangerous than it's useful. It'd vote for a compiler warnings switch for any of it's occurences. [TOMERGE 1.0] * source/rtl/tbcolumn.prg * source/rtl/tget.prg * source/rtl/tbrowse.prg * contrib/xhb/hbcompat.ch ! Fixed '&&' being used instead of '.AND.' in #ifs. [TOMERGE 1.0] * source/rdd/hbsix/sxini.prg * source/rdd/hbsix/sxcompat.prg * source/rdd/hbsix/sxtrig.prg * 'end' -> 'endswitch' % 'ValType() == "x"' -> 'IS*()' ; TODO: Reformat to Harbour standards. [DONE] 2008-10-27 21:43 UTC+0200 Viktor Szakats * contrib/Makefile * contrib/make_vc_all.bat * contrib/make_b32_all.bat * contrib/make_gcc_all.sh + Added rddsql to default builds. Please test. * contrib/hbdbgfx/dbgfxc.c * Added TODO. (multiplatform support in one the functions) * include/hbsetup.h * include/hbexprb.c * contrib/hbct/ctnet.c * contrib/hbct/color.c * contrib/hbct/dattime2.c * contrib/xhb/hboutdbg.c * contrib/hbtpathy/tpwin32.c * contrib/hbmzip/hbmzip.c * contrib/hbsqlit3/hbsqlit3.c * contrib/hbfbird/firebird.c * contrib/hbziparc/hbzipcpp.old * contrib/hbnf/getver.c * contrib/hbpgsql/postgres.c * contrib/hbclipsm/gauge.c * contrib/rddads/adsfunc.c * contrib/rddads/ads1.c * contrib/hbgd/gdwrp.c * contrib/hbmisc/spd.c * contrib/hbtip/utils.c * contrib/hbwin/win_prt.c * contrib/examples/pp/hbppcore.c * contrib/examples/pp/hbppcomp.c * source/pp/pplib.c * source/pp/ppcore.c * source/pp/hbpp.c * source/vm/estack.c * source/vm/debug.c * source/vm/itemapi.c * source/vm/hvm.c * source/vm/cmdarg.c * source/vm/fm.c * source/vm/extrap.c * source/vm/classes.c * source/main/harbour.c * source/common/hbver.c * source/common/hbverdsp.c * source/common/hbstr.c * source/common/hbdate.c * source/rtl/gtxwc/gtxwc.c * source/rtl/hbgtcore.c * source/rtl/gtcrs/gtcrs.c * source/rtl/errorint.c * source/rtl/gtsln/gtsln.c * source/rtl/gttrm/gttrm.c * source/rtl/gtpca/gtpca.c * source/rtl/fkmax.c * source/rtl/langapi.c * source/rtl/hbffind.c * source/rdd/workarea.c * source/rdd/sdf1.c * source/rdd/delim1.c * source/rdd/dbf1.c * source/rdd/wafunc.c * source/compiler/hbmain.c * source/compiler/cmdcheck.c * source/compiler/hbpcode.c * source/compiler/genhrb.c * source/compiler/gencobj.c * source/compiler/genobj32.c * source/compiler/genc.c * source/compiler/hbusage.c * source/compiler/hbfunchk.c * source/compiler/hbgenerr.c * utils/hbmake/hbmgauge.c * Changed snprintf() calls to hb_snprintf(). ; TODO: Finish the mappings in headers. [DONE] * tests/wvtext.prg * include/inkey.ch * source/rtl/gtwvt/gtwvt.c * Changed K_HB_RESIZE to HB_K_RESIZE. The reason is that we already got an HB_K_MULTICODE code (few lines below, I didn't know about it before), and it's better to keep consistency with that. 2008-10-27 20:50 UTC+0200 Viktor Szakats * config/rules.cf * Synced Harbour flags with non-GNU make. (added -gc3, -l) 2008-10-27 20:06 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/setkey.c ! fixed GPF in HB_SETKEYGET() when bActive block is used 2008-10-27 18:38 UTC+0200 Viktor Szakats * source/pp/ppcore.c - Removed duplicate TEXTHIDDEN #pragma implementation. * source/vm/arrayshb.c * Reset defaults of last parameters of hb_AINS()/hb_ADEL(). 2008-10-27 18:05 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbdefs.h + added HB_PRINTF_FORMAT() macro to declare functions with printf() like formatting parameters - now it works only for GCC compilers. * harbour/include/hbapi.h * declare hb_snprintf() with HB_PRINTF_FORMAT() attribute * harbour/source/rtl/philes.c + set FERROR() in HB_FLOCK()/HB_FUNLOCK() + accept extended lock attributes (WAIT/SHARE) in HB_FLOCK() 2008-10-27 15:24 UTC+0200 Viktor Szakats * source/compiler/gencc.c ! Fixed -gc3 double number handling problem (on non-Intel CPUs). Many thanks to Przemek for the fix. [TOMERGE 1.0] 2008-10-27 15:18 UTC+0200 Viktor Szakats * source/rtl/tbrowse.prg * source/debug/debugger.prg ! Cleaned hb_AINS()/hb_ADEL() usage after changing the default of the last parameter. Should fix the recent TBrowse() crash. ; NOTE: I'll rethink the defaulting situation at least for hb_AINS(). 2008-10-27 14:47 UTC+0200 Viktor Szakats * include/hbextern.ch * source/rtl/philes.c + Added HB_FLOCK() / HB_FUNLOCK() file locking functions. [TOMERGE 1.0] * source/rtl/tget.prg ! Accessing of Get() variables below made C5.x compatible when a new value was assigned to them as function call, rather then normal assigment. :buffer, :changed, :clear, :col, :colorSpec :minus, :pos, :row, :subScript, :postBlock, :preBlock, :cargo, :exitState, :reader. ; NOTE: Please report if any of the side cases still don't work. [TOMERGE 1.0] 2008-10-27 12:03 UTC+0200 Viktor Szakats * make_vc.mak * contrib/mtpl_vc.mak - Removed no longer necessary '-D_CRT_SECURE_NO_DEPRECATE' for MSVS 2005 and upper. * include/hbsetup.h * Mapping snprintf() calls to hb_snprintf(). ; TODO: Replace the calls in source code. [DONE] * source/common/hbstr.c ! Fixed hb_snprintf(). Please verify on your platforms. ; TODO: It may need further tweaking to smooth out the platform implementation differences. 2008-10-27 11:29 UTC+0200 Viktor Szakats * include/hbapi.h * source/common/hbstr.c + Added return value to hb_snprintf(). 2008-10-27 11:26 UTC+0200 Viktor Szakats * source/common/hbstr.c * Some tweaks to hb_snprintf(). It still doesn't work for some reason. * include/hbapi.h + Added hb_snprintf() to header. * source/debug/dbgentry.c * Changed strcpy() to hb_strncpy(). Chances are high this is wrong. Please review and test. 2008-10-27 10:37 UTC+0200 Viktor Szakats * source/pp/ppcore.c + Added '#pragma TEXTHIDDEN=<ON | OFF>' to control the existing -texthidden option to add light encoding to strings embedded in code. Since this goes with a slight performance hit and it's rarely used, it might be useful to turn it on only for code parts that really needs this. * source/rtl/tget.prg * Corrected an assigment to follow official syntax. 2008-10-27 00:01 UTC+0200 Viktor Szakats * source/common/hbver.c * Changed to include bitness even for DJGPP. * Changed "(* bit)" to "(*-bit)" ; NOTE: We have __ARCH*BIT__ but this macro is misleading and cannot be used properly on platforms where the compiler is able to generate multiple targets in one build pass. Such system is Darwin/OSX. I'd suggest to consider removing this macro, and rather adding a function to return bitness. Any opininons? 2008-10-26 22:25 UTC+0200 Viktor Szakats * source/common/hbfopen.c * Changed hb_fopen() to use fopen_s(), secure version of fopen() for MSVS 2005 and upper. * source/common/hbstr.c + Added hb_snprintf() Harbour wrapper for snprintf() which terminates the buffer with a '\0' char for CRTLs that need this (like MSVC). MSVC _snprintf() doesn't do so. * hb_snprintf() used _snprintf_s(), secure version of _snprintf() for MSVS 2005 and upper. ; FIXME: There is still one strcpy() marked as non-secure in debug lib. Could someone please take a look at it and replace it with hb_strncpy() or something else secure? The code is cryptic and as someone not using the debugger, I didn't dare to touch it, and this is the only one such call left. [DONE - TOVERIFY] ; TODO: Change all snprintf() calls to hb_snprintf(). When that happens, Harbour will no more use anything depicted as "non-secure" by MSVS 2005/2008. [DONE] ; NOTE: This function may need tweaking, pls review and fix if/where needed. * source/vm/dlmalloc.c ! Fixed MSVC C++ mode compile error. This fix also exists as part of the next dlmalloc version (2.8.4b). 2008-10-26 07:27 UTC+0200 Viktor Szakats * contrib/hbdbgfx/dbgfx.prg * Minor cleanup. * contrib/hbdbgfx/dbgfxc.c ! Fixed GPF when non-string parameter passed to hb_outdebug(). 2008-10-25 19:10 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/hbdbgfx/dbgfxc.c + HB_FUNC( HB_OUTDEBUG ). May be I am missing something. Please correct. 2008-10-25 17:55 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/include/hbgtinfo.ch + Added HB_GTI_SETPOS_XY + Added HB_GTI_SETPOS_ROWCOL * harbour/rtl/gtwvt/gtwvt.c ! Updated to honor HB_GTI_SETPOS_XY | HB_GTI_SETPOS_ROWCOL commands. * harbour/tests/wvtext.prg ! Updated to demonstrate HB_GTI_SETPOS_XY|ROWCOL window positioning. ; Now every next browser window opens 20x20 pixels away from previous window, a GT imposed Z-Order. 2008-10-25 14:49 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/rtl/gtwvt/gtwvt.h + Added <ResizeMode> member to HB_GTWVT * harbour/include/hbgtinfo.ch + Added HB_GTI_RESIZEMODE + Added HB_GTI_RESIZEMODE_FONT + Added HB_GTI_RESIZEMODE_ROWS * harbour/include/inkey.ch + Added K_HB_RESIZE 1101 * harbour/rtl/gtwvt/gtwvt.c ! Updated to accomodate HB_GTI_RESIZEMODE. * harbour/rtl/hbgtcore.c ! static BOOL hb_gt_def_Info( PHB_GT pGT, int iType, PHB_GT_INFO pInfo ) { case HB_GTI_RESIZEMODE: pInfo->pResult = hb_itemPutNInt( pInfo->pResult, HB_GTI_RESIZEMODE_FONT ); break; * harbour/tests/wvtext.prg ! Updated to demonstrate K_HB_RESIZE event in navigation loop. ; Odd numbered windows will have HB_GTI_RESIZEMODE_ROWS mode Even numbered windows will have HB_GTI_RESIZEMODE_FONT mode. Open two or more browsers to see the effects. ; To activate HB_GTI_RESIZEMODE_ROWS mode call hb_gtInfo( HB_GTI_RESIZEMODE, HB_GTI_RESIZEMODE_ROWS ) and whenever window will be resized you can retrieve it via if inkey() == K_HB_RESIZE // Reconfigure browser/your screen accordingly endif 2008-10-25 09:35 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtwvg/gtwvg.c * harbour/contrib/gtwvg/gtwvg.h ! Updated to honor latest changes in GTWVT. 2008-10-25 12:58 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/gtwvt/gtwvt.h * harbour/source/rtl/gtwvt/gtwvt.c * eliminated few static variables ! fixed possible race condition when new window is created by adding mutex protection 2008-10-24 13:57 UTC+0200 Viktor Szakats * source/vm/arrayshb.c * Changed the default for the last logical parameter of HB_AINS()/HB_ADEL() to be .T. This way there is no need to pass this parameter if someone wants to actually use the extended nature of these functions. Passing a .F. will result in equivalent functionality to AINS()/ADEL(). Essentially the last parameter is just there for compatibility. 2008-10-24 12:26 UTC+0200 Viktor Szakats * include/hbextern.ch + Added recent .prg level functions. 2008-10-24 12:00 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/gtxwc/gtxwc.c * added hack for problems with some XLIB versions in heavy stress MT tests * harbour/include/hbapigt.h * harbour/source/vm/thread.c * added parameter to hb_gtAlloc() C function * harbour/include/hbapigt.h * harbour/source/rtl/hbgtcore.c + added hb_gtCreate() and hb_gtSwap() C functions + added new .prg functions: HB_GTCREATE( <cGtName> ) -> <pGT> HB_GTSELECT( <pGT> ) -> <pPrevGT> Using this functions is possible to create many console window if GT supports such possibilities (e.g. GTXWC or GTWVT) even in single thread programs and switch between them. * harbour/source/rtl/box.c ! fixed one of recent DISPBOX() modifications - it should use: hb_gtBoxEx() instead of hb_gtDrawBox() to set cursor position. + harbour/tests/gtwin.prg + added demonstration/test code for using more then one console window also in single thread programs. 2008-10-24 10:48 UTC+0200 Viktor Szakats * source/vm/arrayshb.c % Removed unnecessary pcount() calls. 2008-10-24 09:23 UTC+0200 Viktor Szakats * contrib/xhb/hbcompat.ch + Added a few MT related translations. * Some cleanup. 2008-10-23 14:25 UTC+0200 Viktor Szakats * contrib/hbcurl/hbcurl.c ! Fixed compilation against libcurl 7.16.1. ; Untested. 2008-10-23 12:23 UTC+0200 Viktor Szakats * contrib/mtpl_vc.mak ! Fixed MSVC not rebuilding .prg files after changing them. Current solution is to simply delete the intermediate .c file after C compiler returned. This also saves space, so even if it's a hack, it might be good to add this for other build paths. 2008-10-23 12:17 UTC+0200 Viktor Szakats * make_vc.mak ! Changed '!' (non-working) echo suppression char to '@'. * contrib/mtpl_b32.mak * contrib/mtpl_vc.mak % Changed to create the obj dir as a separate build rule (just like for core) rather than for each file. 2008-10-23 12:00 UTC+0200 Viktor Szakats * make_b32.mak * make_vc.mak * contrib/mtpl_b32.mak * contrib/mtpl_vc.mak * "IF EXIST" -> "if exist" for consistency. * "-" echo suppression char consistently changed to "@", and added where it was missing (for 'if exist' commands). * make_vc.mak % Cleaned WinCE C options from unnecessary quotes. % Minor opt in .dll flag assembly. % Some commented options removed. * WinCE LDFLAGS uppercase to lowercase. % Minor opt in non-WinCE LDFLAGSDLL assembly. * source/rtl/gtwvt/gtwvt.c * Minor formatting. 2008-10-22 20:58 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtwvg/tests/demowvg.prg ! Yet another cosmetic change to demonstrate Fonts and Size of the windows. 2008-10-22 20:45 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtwvg/tests/demowvg.prg ! Minor change to change the color pallet of <Next Gets> screen. 2008-10-22 20:11 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtwvg/gtwvg.c * harbour/contrib/gtwvg/gtwvg.h * harbour/contrib/gtwvg/wvgpaint.prg * harbour/contrib/gtwvg/tests/demowvg.prg ! Updated to current GTWVT changes for multi-windows support. ; NOTE: Compile demowvg.prg with -d__MW__ and execute repeatedly <Traditonal><Next Gets | Browser>. Also paly with other parts as usual. 2008-10-23 04:39 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/gtwvt/gtwvt.c * removed unnecessary initialization * harbour/contrib/hbct/screen2.c * removed unused variable 2008-10-23 04:35 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/gtapi.c * LOCK/UNLOCK GT in hb_gtBeginWrite()/hb_gtEndWrite() * harbour/contrib/hbct/showtime.prg ! added missing common.ch * harbour/contrib/hbct/screen2.c % use hb_gtPutText() in _HB_CTDSPTIME() * harbour/contrib/hbct/screen1.c * forrmatting 2008-10-23 04:01 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/gtxwc/gtxwc.h * harbour/source/rtl/gtxwc/gtxwc.c ! use XInitThreads() for MT safe thread access when linked with MT HVM + added optional mutex protection enabled by HB_XWC_XLIB_NEEDLOCKS macro to use when XLib does not support XInitThreads() 2008-10-22 20:01 UTC+0200 Viktor Szakats * bin/hbmk.bat ! Fix to previous change. (MT and GUI status was reset in the loop). * bin/hbmk.bat * bin/hbmk_os2.cmd ! Help message corrections. * bin/hbmk.bat * make_vc.mak * config/w32/msvc.cf * config/w32/msvcce.cf * Using lowercase linker options for MSVC. Just for consistency. * Using '/' as a switch char for MSVC linker. This works fo all old version. * contrib/mtpl_vc.mak * Minor formatting. 2008-10-22 19:52 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/gttrm/gttrm.c * use CP437 for BOX characters when terminal is in UTF-8 mode 2008-10-22 19:13 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/thread.c ! fixed memory allocation in HB_THREADWAIT() when more then 16 threads were specified 2008-10-22 17:45 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/hbmk.bat * simple modification to make beginning hbmk parameters (-mt and -gui) position independent though they still have to be used before Harbour/ C compiler switches and filenames * harbour/source/common/hbdate.c * harbour/source/compiler/cmdcheck.c * harbour/source/rtl/filesys.c * harbour/source/rtl/hbffind.c ! use MT safe localtime_r() function if it's available instead of localtime() TODO: clean the usage of this function and gmttime[_r]() probably by adding our own wrappers. * harbour/source/rtl/hbffind.c ! disabled calls to tzset() - this function should be executed automatically by CRTL only if it's necessary. It's also not MT safe and can cause MT applications crash. 2008-10-22 17:07 UTC+0200 Viktor Szakats * bin/hbmk.bat * Minor. * contrib/rddsql/mysqldd.c ! Fixed one warning. * contrib/rddads/adsx.c ! Fixed codepage/MT related compile error. ! Some warnings. ! svn:keywords, svn:eol-style 2008-10-22 17:17 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) + contrib/rddads/adsx.c + added implementation of local indexing support for ADS driver. Local indexing is used in case server cannot do index creation, for example: index key depends on relation child area fields, index key uses user defined functions, index is created using codeblock, but not expression, etc. ; This code implements no update index! Partial index update could also be implemented, but I didn't have a need for this. Besides that partial index implementation will be a little more complicated than in other RDD. Database update operations are not done in a single goCold() method. So, index update should be called, from many methods: append(), putValue(), delete(), recall(), etc., or ADS RDD structure should be changed to support real goCold(). For implementation of partial index, I'd suggest to use tree index (instead of a simple sorted array and binary search). B-tree code could be found in contrib/rddsql/sqlmix.c. ; Please check makefiles, and other compilers, platforms. 2008-10-22 14:57 UTC+0200 Viktor Szakats * bin/hbmk_os2.cmd + Added support for HB_MT=yes. + Added support for -mt switch. * bin/hbmk.bat ! Typo in help screen. 2008-10-22 16:00 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * contrib/rddsql/hbsqldd.h * contrib/rddsql/sqlbase.c * contrib/rddsql/sqlmix.c * contrib/rddsql/mysqldd.c * Finished implementation of national sorting support * converted // comments to /* */ * translated lithuanian comments to english * updated startup code * fixed BYTE * val -> BYTE val[1] 2008-10-22 14:51 UTC+0200 Viktor Szakats * bin/hbmk.bat + Added support for 'set HB_GUI=yes' Currently implemented for BCC32 and MSVC. + Added support for 'set HB_MT=yes' (instead of 'MT') for consistency. MT seems to be an xhb heritage and it may be removed in the future. + Added support for optional -mt switch as an equivalent to 'set HB_MT=yes' + Added support for optional -gui switch as an equivalent to 'set HB_GUI=yes' ; NOTE: Ordering (first -mt, then -gui) and casing (everything is lowercase) of the above options are significant. * bin/hbmk.bat * bin/hbmk_os2.cmd * Help screen cleanup. * contrib/gtwvg/tests/bld_vc.bat * contrib/gtwvg/tests/bld_b32.bat * Changed to use HB_GUI=yes instead of C_USR/L_USR. 2008-10-22 14:08 UTC+0200 Viktor Szakats * tests/rto_get.prg + Added tests for assigments as function calls (o:col( 10 ) and some for assigments as _function calls (o:_col( 10 )). * bin/hbmk.bat * make_vc.mak - Removed /subsystem:console from LDFLAGS. This seems to be the default so it's not necessary. * bin/hbmk.bat + Added L_USR support for MSVC. Now it's possible to build GUI (and GTWVT) programs using 'set L_USR=/subsystem:WINDOWS' switch. * contrib/gtwvg/tests/bld_vc.bat ! Using above method to make it work with MSVC. 2008-10-22 12:09 UTC+0200 Viktor Szakats * tests/wvtext.prg ! Fixed GT selection code. * contrib/rddsql/mysqldd.c + Added ugly hack to make it compile with MSVC. ! Fixed MSVC 64-bit warning. * source/rtl/gtapi.c * Minor formatting. 2008-10-22 23:01 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/tests/wvtext.prg Updated to demonstrate multi-windows GT capabilities. A REMINDER : This development alone places Harbour much higher than so many dialects. Mind-blowing feature. I had ever longed for this functionality since I started with Xbase++. But the ease of use of a MW-GT in Harbour is far superior than in Xbase++. Spread this word. I am sure this feature alone is going to add a handsome value to my applications. I hope you all will be benefitted. I have no word of appreciation for Przemyslaw Czerpak as whatever I will say will fall short of weight. So... 2008-10-22 05:03 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbstack.h * harbour/include/hbgtcore.h * harbour/include/hbthread.h * harbour/include/hbapigt.h * harbour/source/vm/estack.c * harbour/source/vm/hvm.c * harbour/source/vm/thread.c * harbour/source/rtl/hbgtcore.c + added support for optional allocating independent console window by each thread. By default new thread inherits console Window from parent thread. But each thread can allocate its own console window by calling hb_gtReload( <cGtName> ) function, e.g. by: hb_gtReload( hb_gtVersion() ) If GT driver supports such functionality then new it will allocate new console windows. Each console window has reference counter which is increased when new thread starts and decreased when hb_gtReload() is executed or thread terminates. When counter reach zero give console window is destroyed. * harbour/source/rtl/gtwvt/gtwvt.c ! use SendNotifyMessage() instead of SendMessage() to not block threads which inherited GT from parent thread. Why non of MS-Win users reported this problem? + added reference counter to window class for multi GT support + harbour/tests/mt/mttest10.prg + added demonstration/test code for using independent console window in different threads. It needs GT driver which supports such functionality, f.e GTXWC in *nixes or GTWVT in MS-Windows * harbour/tests/mt/mttest09.prg ! fixed typo in comment 2008-10-21 17:19 UTC-0500 Teo Fonrouge (teo/at/windtelsoft/dot/com) * source/debug/debugger.prg ! Fixed error when moving in the call stack window to an source prg not included in the path, and a ::oWndVars (Monitor of vars) is opened. 2008-10-21 22:18 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapigt.h * harbour/source/rtl/console.c * harbour/source/rtl/filesys.c * use HB_STD{IN,OUT,ERR}_HANDLE macros instead of hard coded values * harbour/include/hbgtcore.h * harbour/source/rtl/hbgtcore.c * harbour/source/rtl/gtapi.c + added optional support for dynamic supertables + added reference counter to HB_GT_BASE structure - removed hb_gtUnLoad() function + added hb_gtAlloc(), hb_gtRelease(), hb_gtAttach() + added hb_gtRealod() function which unloads current GT driver and loads given new one + added .prg function HB_GTRELOAD( <cGtName> ) -> <lSuccess> This function allow to switch active GT driver at run time. It can be also used to simulate removed HB_NOSTARTUPWINDOW() functionality. E.g.: REQUEST HB_GT_WVT REQUEST HB_GT_NUL_DEFAULT proc main() // do some initializations... hb_gtReload( "WVT" ) // rest of code... return Please remember that some GTs may refuse initialization due to missing required resources and instead of return FALSE they can interrupt program with internal error, just like at application startup so it's not guarantied that this function always returns. * harbour/contrib/hbct/ctwin.c * updated for new GT API + added support for dynamic supertable to allow using CTWIN in the same time with different GTs. * harbour/contrib/xhb/hbcompat.h - removed hb_retclenAdoptRaw translation 2008-10-21 14:58 UTC+0200 Viktor Szakats * source/rtl/box.c ! Fixed GPF in hb_dispBox() when box drawing chars were not passed. 2008-10-21 13:17 UTC+0100 Miguel Angel Marchuet <miguelangel@marchuet.net> * contrib/xhb/hbcompat.ch * contrib/xhb/hbcompat.h + added compatibilities. * include/fileio.ch * source/rtl/filesys.c * minor sintax correction. 2008-10-21 09:35 UTC+0200 Viktor Szakats * source/rtl/console.c ! Fixed typo in hb_dispoutAt() numeric color handling. * source/rtl/box.c * Minor formatting. 2008-10-21 08:29 UTC+0200 Viktor Szakats + contrib/rddsql + contrib/rddsql/common.mak + contrib/rddsql/tests + contrib/rddsql/tests/test1.prg + contrib/rddsql/tests/bld_b32.bat + contrib/rddsql/tests/bld_vc.bat + contrib/rddsql/Makefile + contrib/rddsql/make_b32.bat + contrib/rddsql/make_vc.bat + contrib/rddsql/make_gcc.sh + contrib/rddsql/mysqldd.c + contrib/rddsql/sqlbase.c + contrib/rddsql/sqlmix.c + contrib/rddsql/hbsqldd.h + Added SQL RDD sent to the list by Mindaugas. * Changed strcpy(), unused vars, startup code, added make files, fixed all MSVS/BCC warnings, other minor cleanups. * Changed 'BYTE val[]' to 'BYTE * val' in struct decl. ; FIXME: It doesn't compile on MSVC due to this error: .\mysqldd.c(65) : fatal error C1017: invalid integer constant expression [DONE] * ChangeLog + Marked one change as TOMERGE. * contrib/hbdbgfx/dbgfxc.c * Minor cleanup. * source/vm/harbinit.prg * Minor. * source/rtl/xhelp.c ! Typo in comment. * source/rtl/valtoexp.prg * source/rtl/alert.prg * {|| ... } -> {||...} for consistency along Harbour. 2008-10-21 02:40 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/common.mak * harbour/source/lang/Makefile + harbour/source/lang/msgptiso.c + added PTISO lang module * harbour/source/lang/msgpt.c * formatting * harbour/contrib/hbct/ctwin.c ! fixed restoring active window after executing CTWIN alert() with window 0 active 2008-10-20 21:16 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbct/ctwin.c * moved internal CTW data to structure allocated dynamically and hold by inside current thread GT (HB_GT) to eliminate static variables used by GTCTW. Now each thread can have its own independent set of CTWindows if it allocated new GT. * harbour/contrib/hbct/tests/ctwtest.prg * removed two unused local variables 2008-10-20 12:06 UTC-0500 Teo Fonrouge (teo/at/windtelsoft/dot/com) * source/debug/debugger.prg ! Fixed error when selecting "Restore Settings" and the current prg source is not in the "path for Files" option. (NIL ::oBrwText at line 1478 on debugger.prg) 2008-10-20 17:26 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/filebuf.c ! fixed bad typo in lock table resizing * harbour/source/rdd/hbsix/sxcompr.c ! fixed ring buffer initialization in Sx_Compress() 2008-10-20 08:39 UTC+0200 Viktor Szakats * contrib/hbdbgfx/Makefile * contrib/hbdbgfx/common.mak + contrib/hbdbgfx/make_gcc.sh * contrib/hbdbgfx/make_b32.bat * contrib/hbdbgfx/make_vc.bat * contrib/hbdbgfx/hbdbgfx.h * contrib/hbdbgfx/dbgfxc.c * contrib/hbdbgfx/dbgfx.prg * contrib/hbdbgfx/sprintf.prg * Some cleanups and fixes. ; FIXME: hb_ToOutDebug() for WinCE/Unicode. Maybe adding other platforms. 2008-10-19 20:18 UTC-0500 Teo Fonrouge (teo/at/windtelsoft/dot/com) * source/debug/dbgbrwsr.prg ! Fixed out of range error ( BASE/1133 ) when scrolling out the source code window and then executing a "run" command. 2008-10-20 01:18 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbstack.h ! added HB_EXPORT to hb_stack*() functions used in -gc3 code [TOMERGE 1.0] 2008-10-20 00:25 UTC+0200 Francesco Saverio Giudice (info fsgiudice com) * contrib/hbdbgfx * contrib/hbdbgfx/dbgfxc.c * contrib/hbdbgfx/dbgfxc.prg * contrib/hbdbgfx/hbdbgfx.h * updated copyright year minor corrections 2008-10-20 00:15 UTC+0200 Francesco Saverio Giudice (info fsgiudice com) + contrib/hbdbgfx + contrib/hbdbgfx/dbgfxc.c + contrib/hbdbgfx/dbgfxc.prg + contrib/hbdbgfx/hbdbgfx.h + contrib/hbdbgfx/sprintf.prg + hbdbgfx lib add some functions usefull for debugging purpose: hb_ToOutDebug( cMsg, p1, p2, ... ) that outputs to OutDebug from Microsoft debugview HB_ToLogFile( cLogFile, cMsg, p1, p2, ... ) that outputs to a file where cMsg is formatted like printf() example: hb_ToOutDebug( "fields: name = %s, address = %s", field->name, field->address ) and some utility functions: HB_ToOutDebugOnOff( lOnOff ) HB_LogFileOnOff( lOnOff ) HB_EmptyLogFileOnOff( lOnOff ) Above functions are available either at prg than at C level. Actually it is only for window platform. 2008-10-19 23:15 UTC+0200 Viktor Szakats * contrib/mtpl_b32.mak * contrib/mtpl_gcc.mak * contrib/mtpl_vc.mak * Fine tuning latest setting changes. I've rather removed -gc3 as contrib default switch. For those contribs where speed is critical, this switch should be turned on on a per contrib basis. 2008-10-19 09:34 UTC+0200 Viktor Szakats * source/rtl/filebuf.c * source/rtl/filesys.c ! Fixed -W4 warnings. * source/rtl/tclass.prg * source/rtl/tsymbol.prg ! Fixed mistakes in recent commit. 2008-10-19 09:16 UTC+0200 Viktor Szakats * common.mak * contrib/mtpl_b32.mak * contrib/mtpl_gcc.mak * contrib/mtpl_vc.mak + Made -gc3 switch the default. This will result in noticeably faster .prg code execution at the cost of a slightly bigger executable. Speaking of the core, this can result at maximum 250 kB of extra executable size increase, if the final executable uses _all_ core .prg functions. Usually though it's much lower than that, especially for GUI programs, since the majority of core .prg code deals with CUI elements, like TBrowse(), TGet(), 5.3 compatible CUI controls, .frm and .lbl support, MemoEdit(). * contrib/examples/dbu/bld_b32.bat * contrib/examples/dbu/bld_vc.bat * utils/hbdoc/bld_vc.bat * utils/hbdoc/bld_b32.bat * utils/hbmake/bld_b32.bat * utils/hbmake/bld_vc.bat + Added -l Harbour switch. 2008-10-19 09:00 UTC+0200 Viktor Szakats * include/hbextern.ch * include/assert.ch * common.mak * source/rtl/Makefile - source/rtl/strtrim.c + source/rtl/hbntos.c * contrib/xhb/hbcompat.ch * source/debug/dbgthsh.prg * source/debug/tbrwtext.prg * source/debug/dbgwa.prg * source/debug/debugger.prg * source/debug/dbgtarr.prg * source/rtl/errorsys.prg * source/rtl/valtoexp.prg * source/rtl/getsys.prg * source/rtl/tgetlist.prg * source/rtl/browse.prg * source/rtl/alert.prg * source/rtl/tclass.prg * source/rtl/tsymbol.prg * source/rtl/tscalar.prg * source/rtl/tpersist.prg * utils/hbmake/hbmake.prg * utils/hbrun/hbrun.prg * Renamed hb_N2S() to hb_NToS() which feels more natural in Clipper. [TOMERGE 1.0] (only the addition of new function hb_NToS()) 2008-10-19 00:17 UTC+0200 Viktor Szakats * include/assert.ch * contrib/xhb/hbcompat.ch * source/debug/tbrwtext.prg * source/debug/dbgthsh.prg * source/debug/debugger.prg * source/debug/dbgwa.prg * source/debug/dbgtarr.prg * source/rtl/errorsys.prg * source/rtl/valtoexp.prg * source/rtl/getsys.prg * source/rtl/tgetlist.prg * source/rtl/browse.prg * source/rtl/alert.prg * source/rtl/tscalar.prg * source/rtl/tpersist.prg * utils/hbmake/hbmake.prg * utils/hbrun/hbrun.prg % Using hb_N2S() instead of LTrim( Str() ) expressions. ; NOTE: contribs and hbdoc not touched yet. 2008-10-19 00:05 UTC+0200 Viktor Szakats * common.mak * include/hbextern.ch * source/rtl/Makefile + source/rtl/strtrim.c + Added function HB_N2S( <number> ) -> <string>. This is equivalent to LTrim( Str( <number> ) ), just faster. * source/rtl/dircmd.prg * source/rtl/tget.prg * Minor cleanup. 2008-10-18 22:21 UTC+0200 Viktor Szakats * contrib/hbmysql/utils/bld_b32.bat * contrib/hbmysql/utils/bld_vc.bat * One final missing bld.bat -> hbmk.bat changed done. * contrib/hbapollo/readme.txt * Minor update. 2008-10-18 22:03 UTC+0200 Viktor Szakats * contrib/xhb/hbcrypt.c ! Fixed lower-level crypt functions to not do zero division on zero length key input. 2008-10-18 21:16 UTC+0200 Viktor Szakats * source/common/hbgete.c ! Fixed recent warning on Win32 platforms. * contrib/xhb/hbcrypt.c * Changed to just work instead of RTE-ing if any of the params are empty on non-strings. If non-string is passed, it's considered as empty string. 2008-10-18 16:15 UTC+0200 Viktor Szakats - bin/bld.bat + bin/hbmk.bat - bin/bld_os2.cmd + bin/hbmk_os2.cmd - bin/bld_b32.bat + bin/hbmk_b32.bat - bin/bld_vc.bat + bin/hbmk_vc.bat * tests/bld_b32.bat * tests/bld_vc.bat * contrib/hbmysql/tests/bld_b32.bat * contrib/hbmysql/tests/bld_vc.bat * contrib/hbct/tests/bld_b32.bat * contrib/hbct/tests/bld_vc.bat * contrib/xhb/tests/bld_b32.bat * contrib/xhb/tests/bld_vc.bat * contrib/hbodbc/tests/bld_b32.bat * contrib/hbodbc/tests/bld_vc.bat * contrib/hbtpathy/tests/bld_b32.bat * contrib/hbtpathy/tests/bld_vc.bat * contrib/hbmzip/tests/bld_b32.bat * contrib/hbmzip/tests/bld_vc.bat * contrib/hbole/tests/bld_b32.bat * contrib/hbole/tests/bld_vc.bat * contrib/hbsqlit3/tests/bld_b32.bat * contrib/hbsqlit3/tests/bld_vc.bat * contrib/hbapollo/tests/bld_b32.bat * contrib/hbapollo/tests/bld_vc.bat * contrib/hbfbird/tests/bld_b32.bat * contrib/hbfbird/tests/bld_vc.bat * contrib/hbziparc/tests/bld_b32.bat * contrib/hbziparc/tests/bld_vc.bat * contrib/hbnf/tests/bld_b32.bat * contrib/hbnf/tests/bld_vc.bat * contrib/hbcurl/tests/bld_b32.bat * contrib/hbcurl/tests/bld_vc.bat * contrib/hbhpdf/tests/bld_b32.bat * contrib/hbhpdf/tests/bld_vc.bat * contrib/rddado/tests/bld_b32.bat * contrib/rddado/tests/bld_vc.bat * contrib/gtwvg/tests/bld_vc.bat * contrib/gtwvg/tests/bld_b32.bat * contrib/hbpgsql/tests/bld_b32.bat * contrib/hbpgsql/tests/bld_vc.bat * contrib/hbclipsm/tests/bld_b32.bat * contrib/hbclipsm/tests/bld_vc.bat * contrib/rddads/tests/bld_b32.bat * contrib/rddads/tests/bld_vc.bat * contrib/hbfimage/tests/bld_b32.bat * contrib/hbfimage/tests/bld_vc.bat * contrib/hbgd/tests/bld_vc.bat * contrib/hbgd/tests/bld_b32.bat * contrib/hbmisc/tests/bld_b32.bat * contrib/hbmisc/tests/bld_vc.bat * contrib/hbgf/tests/bld_b32.bat * contrib/hbgf/tests/bld_vc.bat * contrib/hbtip/tests/bld_vc.bat * contrib/hbtip/tests/bld_b32.bat * contrib/hbwin/tests/bld_b32.bat * contrib/hbwin/tests/bld_vc.bat * contrib/hbvpdf/tests/bld_b32.bat * contrib/hbvpdf/tests/bld_vc.bat * contrib/hbwhat/tests/bld_b32.bat * contrib/hbwhat/tests/bld_vc.bat * contrib/examples/hbsqlit2/tests/bld_b32.bat * contrib/examples/hbsqlit2/tests/bld_vc.bat * Renamed bin\bld*.* files to bin\hbmk*.*. This dir may be put in the path in user environments, so it's necessary to put the name into the Harbour namespace. The new name is also the one supported on *nix/bash platforms, albeit with slightly different usage. INCOMPATIBLE. Please update your environment. To achieve compatbility with older Harbour versions and xhb, you can locally add a bld.bat file with the content: '@call hbmk.bat %1 %2 %3 %4 %5 %6 %7 %8 %9' * source/common/hbgete.c * Minor. 2008-10-18 11:39 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/common/hbgete.c * modified hb_getenv_buffer() to return logical value indicating that environment variable exists even if no buffer is passed 2008-10-18 10:56 UTC+0200 Viktor Szakats * common.mak * make_b32.mak * make_vc.mak * make_gcc.mak % Harbour command line configuration moved to common.mak. * source/rtl/tclass.prg * source/rtl/tget.prg + NOTE added to tclass.prg. * Minor formatting. 2008-10-18 10:27 UTC+0200 Viktor Szakats * include/hbapi.h * source/common/hbgete.c + Added hb_getenv_buffer(). Similar to hb_getenv() but this one needs a buffer+size to be passed, so no memory allocation is done by the function. It also return a BOOL to signal success. It doesn't signal if passed buffer was too small to store the value. 2008-10-18 08:36 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/debug/dbgtwin.prg * harbour/source/debug/dbgbrwsr.prg * harbour/source/debug/debugger.prg ! fixed mono color setting * minor formatting 2008-10-17 18:22 UTC+0200 Viktor Szakats * source/debug/dbgtwin.prg * source/debug/dbgbrwsr.prg * source/debug/tbrwtext.prg * source/debug/debugger.prg ! Fixed to not crash after switching to mono display. DISCLAIMER: This is a quick patch (but even this took hours) and it absolutely can be wrong, incomplete in any ways. I'm not using or knowing debugger code, pls patch it further on. NOTE: Color refresh after switching mono/color mode is still wrong and I've given up after trying for a few hours. * Minor formatting. 2008-10-17 16:35 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/console.c ! added missing #include "hbapierr.h" 2008-10-17 15:55 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/pp/hbpp.c * workaround for warning in some GCC versions which can lost user casting during function autoinline optimization. * harbour/source/rtl/console.c * harbour/source/rtl/gtapi.c * moved //INFO message from hb_gtInit() to hb_conInit() * harbour/source/rtl/hbgtcore.c * harbour/contrib/hbct/ctwin.c * minor cleanup 2008-10-17 12:41 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/debug/debugger.prg * changed __dbgInput() to return logical value and set edit value in variable passed by reference * harbour/source/debug/dbgtobj.prg * harbour/source/debug/dbgthsh.prg * harbour/source/debug/dbgtarr.prg ! fixed typo in VALID block declaration - it was array by mistake * removed unnecessary code related to GET behavior * use new __dbgInput() format 2008-10-17 10:16 UTC+0200 Viktor Szakats * source/debug/dbgtobj.prg * source/debug/dbgthsh.prg * source/debug/debugger.prg * source/debug/dbgtarr.prg * Changed rest of GETs to __dbgInput() * source/rtl/listbox.prg - Removed saving cursor position and color, and changing default color. ; NOTE: Couldn't replicate Mono display RTE. 2008-10-17 03:13 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/debug/dbgtwin.prg * use hb_scroll() instead of scroll() * harbour/source/debug/tbrwtext.prg ! fixed screen redrawing in horizontal movement * harbour/source/debug/debugger.prg * harbour/source/debug/dbgtinp.prg ! replaced GET/GETLIST objects by HbDbInput() ! fixed some interface incompatibilities with Clipper debugger * removed HB_NO_READDBG and code using GET classes - HbDbInput() works better and is much simpler in use. % do not use __GetListActive()/__GetListSetActive() - now debugger does not touch GET/GETLIST so it's not necessary to save/restore GETLIST state Now all references (except HBCLASS) to external .prg code in debugger have been removed. TODO: remove HB_NO_READDBG from other debugger files replacing code inside with __dbgInput()/HbDbInput(). I would like to leave it for someone else and return to core code modifications. 2008-10-17 00:07 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/common.mak * harbour/source/debug/Makefile + harbour/source/debug/dbgtinp.prg + added HbDbInput class for simple user input (GET) * harbour/source/debug/debugger.prg ! changed __dbgInput() to use HbDbInput() class instead of ACCEPT It fixes all bad visual end edit bad effects caused by ACCEPT. TODO: replace all GET references in debugger code with HbDbInput class. 2008-10-16 14:33 UTC+0200 Viktor Szakats * common.mak * make_b32.bat * make_b32.mak * make_vc.bat * make_vc.mak * make_gcc.mak * HB_BUILD_VERBOSE=yes is now the default. If someone is wanting to build Harbour from source and is bothered by the compiler command-lines being shown, these can be turned off with HB_BUILD_VERBOSE=no. These lines are IMO very important to see, which options were exactly used when Harbour was built, I personally archive these logs along with the builds. 2008-10-16 14:22 UTC+0200 Viktor Szakats * make_b32.mak * make_vc.mak * make_gcc.mak * contrib/mtpl_b32.mak * contrib/mtpl_gcc.mak * contrib/mtpl_vc.mak * Changed -b switch to -l-. -b debug mode causes more problems than good for Harbour core/contrib. 2008-10-16 13:21 UTC+0200 Viktor Szakats * make_b32.mak * make_vc.mak * make_gcc.mak + Readded -b when HB_BUILD_STATIC=yes. Now it should work. * make_b32.mak * make_vc.mak * make_gcc.mak * contrib/mtpl_b32.mak * contrib/mtpl_gcc.mak * contrib/mtpl_vc.mak % Deleted -l- switch when HB_BUILD_STATIC=yes. Line numbers are automatically enabled when -b switch is used. * source/debug/debugger.prg * Renamed getdbginput() -> __dbgInput() ; NOTE to FIXME: Do we need "Mono display" these days? :) 2008-10-16 13:08 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/debug/debugger.prg + added __dbgAChoice() - simple AChoice() replacement which uses internally HBDbBrowser() class * replaced AChoice() with __dbgAChoice() * replaced @ ... SAY ... by hb_dispOutAt() 2008-10-16 08:42 UTC+0200 Viktor Szakats * include/common.ch * contrib/hbziparc/hbziparc.prg * source/rtl/tclass.prg * source/rtl/hbini.prg * Minor formatting. (hb_Is*() -> hb_is*()) * contrib/hbct/ctrand.prg * contrib/hbct/numconv.prg * contrib/hbct/cttime.prg * contrib/hbct/showtime.prg * contrib/hbwhat/hbwhat.ch * utils/hbrun/hbrun.prg * source/debug/dbgtobj.prg * source/debug/dbgbrwsr.prg * source/debug/dbgthsh.prg * source/debug/dbgtarr.prg * source/rtl/alert.prg * source/rtl/tbrowse.prg % ValType() -> IS*() / hb_is*() * contrib/hbwhat/hbwhat.ch % Using common.ch instead of replicating logic. * Some formatting. * utils/hbtest/hbtest.prg * Minor formatting. 2008-10-16 08:10 UTC+0200 Viktor Szakats * contrib/hbwhat/wincore.prg ! One STATIC made THREAD STATIC. ! STATIC vars renamed to s_*. 2008-10-16 07:52 UTC+0200 Viktor Szakats * source/rtl/tpersist.prg * contrib/hbgd/gd.prg * contrib/hbgd/tests/tostring.prg * MemoWrit() -> hb_MemoWrit() * contrib/hbgd/gd.prg ! Fixed potential RTE. 2008-10-16 07:46 UTC+0200 Viktor Szakats * source/rtl/tpersist.prg * MemoWrit() -> hb_MemoWrit() 2008-10-16 07:40 UTC+0200 Viktor Szakats * source/rtl/achoice.prg % Minor optimization. * source/rtl/achoice.prg * source/rtl/menuto.prg * source/rtl/tbrowse.prg * source/rtl/tclass.prg * Minor formatting. * source/rtl/tobject.prg * Removed '#pragma DEBUGINFO=OFF' as it's no more needed. * source/debug/dbgthsh.prg * source/debug/debugger.prg * Copied hb_CStr() as __dbgCStr() to debug.lib. * Changed calls from hb_CStr() to __dbgCStr(). * source/debug/dbgtmenu.prg * source/debug/dbgtwin.prg * source/debug/dbgwa.prg * Remaining BOX commands changed to hb_dispBox(). * source/debug/dbghelp.prg ! Fixed one hb_dispBox() call with numeric frame parameter. 2008-10-16 04:24 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/debug/dbgbrwsr.prg * harbour/source/debug/dbgtwin.prg * harbour/source/debug/tbrwtext.prg * harbour/source/debug/dbgwa.prg * harbour/source/debug/debugger.prg * harbour/source/debug/dbghelp.prg * harbour/source/debug/dbgtmenu.prg * harbour/source/debug/dbgtmitm.prg * use hb_dispOutAt()/hb_dispBox() instead of DispOutAt()/DispBox() ! fixed using ADel()/AIns() with xHarbour extended parameters ! fixed RT debugger errors caused by missing ::nTabWidth and ::colorSpec in HBBrwText class ! fixed processing source code with TABs (chr(9)) ; FIXME: "Mono Display" causes RT error due to missing color index range checking. It also does not change all colors immediately [DONE] ; FIXME: getdbginput(): writing out of window area, scrolling internal buffer, cursor navigation, interrupting by ESC 2008-10-16 00:42 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/debug/dbgtobj.prg * harbour/source/debug/dbgbrwsr.prg * harbour/source/debug/dbgtwin.prg * harbour/source/debug/dbgmenu.prg * harbour/source/debug/dbgthsh.prg * harbour/source/debug/tbrwtext.prg * harbour/source/debug/debugger.prg * harbour/source/debug/dbgtarr.prg * harbour/source/debug/dbgtmenu.prg * harbour/source/debug/dbgtmitm.prg * use #define HB_CLS_NOTOBJECT to disable inheritance from HBObject in internal debugger classes. Here is complete list of other .prg functions still used by hbdebug library: GET, __GETLISTACTIVE, __GETLISTSETACTIVE, HBGETLIST, ACHOICE, HB_CSTR, HBCLASS 2008-10-15 21:33 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/debug/tbrwtext.prg ! refresh rows after active line changing for proper color updating 2008-10-15 20:03 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/debug/tbrwtext.prg ! fixed vertical navigation to be compatible with old debugger and Clipper ! fixed horizontal scrolling to the size of maximal line not to the size of current line % use single call to hb_aTokens() to convert source code into array 2008-10-15 19:08 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/debug/dbgbrwsr.prg ! added missing #include "common.ch" ! added missing colorBlock variable in HBDBColumn class % replaced .prg wrappers for type checking with native harbour class type validation 2008-10-15 18:12 UTC+0200 Viktor Szakats * source/debug/tbrwtext.prg * Replaced with new implementation from Lorenzo Fiorini. Sent to the list on 2008-07-26. ; NOTE: Some issue were reported with this, but it's again a step into the right direction, please try to update this code to better resemble to Clipper and to fix possible error. Thanks. ; Remaining RTL .prg dependencies: - ACHOICE() (just one call) * source/debug/debugger.prg * Using hb_MemoWrit() instead of MemoWrit() * source/rtl/achoice.prg % Minor opt. 2008-10-15 17:47 UTC+0200 Viktor Szakats * source/debug/dbgtobj.prg * source/debug/dbgbrwsr.prg * source/debug/dbgthsh.prg * source/debug/debugger.prg * source/debug/dbghelp.prg * source/debug/dbgtarr.prg * source/debug/dbgwa.prg * source/debug/dbgtwin.prg * source/debug/dbgtmenu.prg + Added minimal Alert() clone, named ___dbgAlert(). + Replaced Alert() with __dbgAlert() calls. + Added minimal TBColumn() implementation, named HBDbColumn(). + Replaced TBColumnNew() with HBDbColumnNew() calls. + Enabled HB_NO_READDBG for all sources. This isn't perfect, just a step into the right direction. ; Please test above modifications. ; Remaining RTL .prg dependencies: - HBEDITOR() - ACHOICE() * source/debug/dbgwa.prg * source/debug/dbgtwin.prg * source/debug/dbgtmenu.prg * Formatted to Harbour standards. * source/rtl/tobject.prg * source/rtl/tclass.prg + Added '#pragma DEBUGINFO=OFF'. ; NOTE: Maybe it'd be better to rewrite these in .c, also for speed. If possible. * source/rtl/alert.prg ! Minor typo. 2008-10-15 17:50 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbstack.h * harbour/source/vm/estack.c * harbour/source/vm/hvm.c * harbour/source/debug/dbgentry.c * harbour/source/debug/debugger.prg * moved debugRequest flag and debugger internal structure pointer to HVM stack * allocate debugger internal structure dynamically in thread thread local area when PCODE with debug information is executed * changed STATIC s_oDebugger to THREAD STATIC * send HB_DBG_VMQUIT after each thread termination when debugger is activated Now debugger can be used in MT programs and each thread can be debugged separately (each has its own debuger). Please only remember that thread sharing console window can overwrite other threads debugger screen. There is also one limitation which I'll try to remove later: only main thread debugger keeps information about file wide STATIC names and line numbers with possible break point places. This data should be shared between debuggers. 2008-10-15 13:32 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapi.h * harbour/source/vm/hvm.c * harbour/source/vm/estack.c * disabled all debugger related bindings and variables when HB_NO_DEBUG macro is set % moved s_fDebuging to HVM function stack frame to eliminate saving/restoring this variable in each function/message call Note: if you think it's good to block linking .prg code compiled with -b (debugger support) with HVM compiled with HB_NO_DEBUG then it's enough to disable whole hb_dbg_SetEntry() function in hvm.c when HB_NO_DEBUG macro is set. 2008-10-15 10:16 UTC+0200 Viktor Szakats * doc/dirstruc.txt * Updated. 2008-10-15 10:09 UTC+0200 Viktor Szakats * make_b32.mak * make_vc.mak * make_gcc.mak * Removed disabling -b for non-debug builds. ; We aim to remove RTL .prg dependencies from hbdebug.lib, either by local implementation, .c rewrite, or force disabling debug mode in more core files. Until this happens, one will have to be careful with using -b switch to compile Harbour. These are the core .prg modules currently used by hbdebug.lib: - HBGETLIST(), GET(), __GET(), __GETLISTACTIVE(), __GETLISTSETACTIVE(), READINSERT(), READMODAL() - HBCLASS() [DONE] - HBOBJECT() [DONE] - HBEDITOR() - TBCOLUMNNEW() [DONE] - ACHOICE() - ALERT() [DONE] * source/debug/dbgtobj.prg * source/debug/dbgbrwsr.prg * source/debug/dbgtwin.prg * source/debug/dbgmenu.prg * source/debug/dbgthsh.prg * source/debug/tbrwtext.prg * source/debug/dbgwa.prg * source/debug/debugger.prg * source/debug/dbghelp.prg * source/debug/dbgtarr.prg * source/debug/dbgtmenu.prg * source/debug/dbgtmitm.prg + Readded '#pragma DEBUGINFO=OFF'. 2008-10-15 02:33 UTC+0200 Viktor Szakats * source/rtl/langapi.c * utils/hbtest/rt_class.prg * Cleanup to previous modif. 2008-10-15 01:56 UTC+0200 Viktor Szakats * source/debug/dbgtobj.prg * source/debug/dbgbrwsr.prg * source/debug/dbgtwin.prg * source/debug/dbgmenu.prg * source/debug/dbgthsh.prg * source/debug/tbrwtext.prg * source/debug/dbgwa.prg * source/debug/debugger.prg * source/debug/dbghelp.prg * source/debug/dbgtarr.prg * source/debug/dbgtmenu.prg * source/debug/dbgtmitm.prg - Removed '#pragma DEBUGINFO=OFF'. See solution below. * make_b32.mak * make_gcc.mak * make_vc.mak * Forcing -b- (disabling debug info) for all core .prg functions. Compiling anything in core with -b would cause infinite loops, when trying to use the debugger. QUESTION: Is HB_NO_READDBG still needed? 2008-10-15 01:40 UTC+0200 Viktor Szakats - lib/b32 - lib/vc - bin/b32 - bin/vc - obj/b32 - obj/vc - Removed dirs from SVN. They are automatically created by the build scripts. 2008-10-15 01:39 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/hvm.c ! clear HVM stack return value before use in initialization code 2008-10-15 01:04 UTC+0200 Viktor Szakats * source/debug/dbgtobj.prg * source/debug/dbgbrwsr.prg * source/debug/dbgtwin.prg * source/debug/dbgmenu.prg * source/debug/dbgthsh.prg * source/debug/tbrwtext.prg * source/debug/dbgwa.prg * source/debug/debugger.prg * source/debug/dbghelp.prg * source/debug/dbgtarr.prg * source/debug/dbgtmenu.prg * source/debug/dbgtmitm.prg + Added '#pragma DEBUGINFO=OFF' to debugger sources. Otherwise compiling full Harbour with -b was causing an infinite loop in app. (-b is now default when building with 'HB_BUILD_DEBUG=yes'). * source/rdd/nulsys/nulsys.c ! Added DBSELECTAREA(), DBSTRUCT(), HEADER(), RECSIZE(), LUPDATE() so that programs can be built with -b and hbnulrdd.lib. hbdebug.lib/dgbwa.prg uses symbols above. 2008-10-15 00:31 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbxvm.h * harbour/source/vm/hvm.c - removed to unused functions * harbour/source/vm/thread.c - removed unnecessary casting 2008-10-14 20:36 UTC+0200 Viktor Szakats * source/rtl/dbedit.prg * source/rtl/tgetint.prg * source/rtl/tlabel.prg * source/rtl/treport.prg * Changed '&( "{||" + c + "}" )' expressions to hb_macroBlock() calls. To me these places seemed safe to change, but please verify me. * source/rtl/alert.prg * source/rtl/tbcolumn.prg * source/rtl/tget.prg * Minor formatting. 2008-10-14 19:23 UTC+0200 Viktor Szakats * include/hbextern.ch + Added hb_macroBlock() * source/rtl/langapi.c * One error text changed to be more precise. * doc/gmake.txt * bin/bld.bat * contrib/hbbtree/tests/bld_vc.bat * contrib/examples/pp/bld_vc.bat * contrib/examples/guestbk/bld_vc.bat * contrib/examples/pe/bld_vc.bat * contrib/examples/dbu/bld_vc.bat * contrib/examples/hscript/bld_vc.bat * utils/hbdoc/bld_vc.bat * utils/hbmake/bld_vc.bat * utils/hbmake/hbmake.prg - Removed MSVC -TP switches. 2008-10-14 11:51 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapi.h * harbour/source/vm/macro.c * added missing const attribute to hb_macroCompile() parameter + added new .prg function: hb_macroBlock( <cExpr> ) -> <bCode> which converts macro expression to codeblock. New codeblocks do not inherit hb_macroBlock() caller scope/attributes. 2008-10-14 08:44 UTC+0200 Viktor Szakats * contrib/examples/dbu/bld_vc.bat ! Removed -TP C option. 2008-10-14 00:02 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/dynlibhb.c ! fixed HB_LIBFREE() return value - thanks to Enrico 2008-10-13 22:27 UTC+0200 Viktor Szakats * tests/transtst.prg * doc/en/string.txt * doc/en/compiler.txt * doc/en/macro.txt * doc/en/browse.txt * doc/en/binnum.txt * doc/es/macro.txt * doc/es/browse.txt * doc/es/binnum.txt * doc/transfrm.txt * doc/whatsnew.txt * include/hbclass.ch * include/hbmacro.ch * include/hbexprb.c * ChangeLog * contrib/hbvpdf/hbvpdft.prg * contrib/hbwhat/import.ch * source/vm/macro.c * source/rtl/tobject.prg * source/rtl/tthreadx.prg * source/rtl/transfrm.c * source/rtl/tget.prg * source/rtl/isprint.c * source/rtl/tbrowse.prg * source/rdd/wacore.c * source/rdd/dbdetach.c * utils/hbtest/rt_trans.prg * Xbase++ name references cleaned. * common.mak * source/rdd/Makefile * source/rdd/dbdetach.c + source/rdd/dbdetacx.c * Moved Xbase++ compatibility functions to separate file. 2008-10-13 21:44 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbwin/win_tole.prg ! Fixed assignment to oErr:Operation from "+" to "-" in OleValueMinus() method - fix by Luis Krause Mantilla borrowed from xHarbour 2008-10-13 21:30 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbwince.h * harbour/source/common/hbwince.c ! fixed LastError overwriting inside WinCE wrapper functions 2008-10-13 20:21 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rdd/wacore.c ; updated comments about Xbase++ behavior in dbRelease() * harbour/include/hbvm.h * harbour/source/vm/hvm.c * harbour/source/vm/dynlibhb.c * harbour/source/vm/runner.c ! added MT protection for HB_LIBLOAD()/HB_LIBFREE() and HB_HRBLOAD()/HB_HRBUNLOAD(). Please remember that you should not use any external LoadLibrary() functions because they are not protected for clean PCODE modules loading/unloading even in ST mode. Using them can cause HVM internal structure corruption. If we have such functions in contrib then they should be redirected to our HVM ones. There is still one problem in MT mode which has to be resolved yet. When dynamic library containing PCODE using static variables is loaded 1st time then it will force resizing of internal array with static variables. If in exactly the same moment some other thread operates on static variable then it may cause corruption. To resolve this problem we will have to divide continuous memory block common for all modules where we store all static variables into separated blocks bound with each PCODE module (symbol table). * harbour/source/vm/dynlibhb.c + added support for DLL loading/unloading in OS2 builds. Based on xHarbour code by Maurilio Longo - please test. 2008-10-13 20:19 UTC+0200 Viktor Szakats * contrib/hbmisc/strfmt.c ! Fixed GPF when non-string was passed as first parameter. 2008-10-13 18:01 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/thread.c + added small description for hb_threadOnce() .prg function * harbour/include/hbthread.h ! do not set TLS in POCC and XCC builds when _MSC_VER macro is set This compilers also have this macro but dllspec( thread) does not work for them (at least in version 4.50.15) * harbour/utils/hbtest/rt_hvm.prg + added few tests which exploit by DMC bug. Be careful with this compiler. In some cases it gives buggy final code, e.g. try this: #include <stdio.h> typedef struct { double dd; long long int ll; } UN; const char * cmp( UN * pU ) { return pU->dd >= pU->ll ? "OK" : "ERRROR"; } int main( void ) { UN u = { 10.50, 10 }; printf( "%s\n", cmp( &u ) ); return 0; } The same bug can be exploited also by final Harbour binaries compiled by DMC in code like: ? iif( 10.50 >= 10, "OK", "ERROR" ) I used DMC 8.42n. As long as such things will not be fixed by DMC developers this compiler is not supported by Harbour and reported problems with DMC Harbour builds will have to be ignored by us. 2008-10-13 16:34 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbclass.ch * harbour/source/vm/classes.c * harbour/source/rtl/tobject.prg * harbour/source/rtl/tclass.prg ! fixed race condition when class function is called 1st time and new class is created. It was possible that more then one thread execute this function simultaneously and two classes identical classes but with different handles were created and registered in HVM * harbour/contrib/xhb/xhbcomp.prg * updated hack with optional inheritance for new class code 2008-10-13 13:51 UTC+0200 Viktor Szakats * make_b32.mak * make_gcc.mak * make_vc.mak * contrib/mtpl_b32.mak * contrib/mtpl_gcc.mak * contrib/mtpl_vc.mak + Added -l switch to default Harbour options. + Enabling Harbour debug options (-b -l-) when HB_DEBUG_BUILD=yes. 2008-10-13 12:42 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/compiler/gencc.c ! fixed thread static variable offsets generated in .c code when -gc3 is used * harbour/source/vm/hvm.c % removed unnecessary call to HB_STACK_TLS_PRELOAD 2008-10-13 12:34 UTC+0200 Viktor Szakats * source/rtl/teditor.prg ! Typo in previous modification. * make_b32.mak * make_vc.mak * make_gcc.mak ! Minor formatting. 2008-10-13 11:22 UTC+0200 Viktor Szakats * source/rtl/teditor.prg + Added :LineCount(), :ExitState() methods. * Changed to use hb_MemoWrit() to write text content to disk, to avoid Chr(26) to be appended. ! Fixed :InsertState() to also modify physical cursor state. ! Fixed :BrowseText() to not go into an infinite loop in view mode. [TOMERGE 1.0] * source/rtl/memofile.c ! Minor formatting. * ChangeLog ! Fixed yesterday's entry dates. 2008-10-12 20:54 UTC+0200 Viktor Szakats * include/hbapierr.h ! Fixed previous casting fix. * source/rtl/console.c * source/rtl/philes.c % Optimized by using static buffers and hb_retc_const(): HB_OSNEWLINE() HB_OSPATHSEPARATOR() HB_OSPATHLISTSEPARATOR() HB_OSPATHDELIMITERS() HB_OSDRIVESEPARATOR() HB_OSFILEMASK() * source/rtl/filesys.c ! hb_fsDisableWaitLocks() made static. 2008-10-12 20:31 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/hvm.c ! execute hb_vmThreadQuit() after hb_vmStackRelease() * harbour/source/vm/thread.c * do not destroy critical sections on exit 2008-10-12 16:59 UTC+0200 Viktor Szakats * make_b32.mak * make_vc.mak * make_gcc.mak ! Minor formatting. * include/hbapierr.h ! Fixed casting in macro HB_ERR_FUNCNAME, as it was generating a new warning with MSVC in 64-bit mode. '( ( char * ) 1 )' -> '( ( const char * ) NULL + 1 )' ('const' keyword was not enough to silence it) * include/hbapierr.h * source/rtl/errorapi.c - Disabled (marked with HB_LEGACY_LEVEL) hb_errFuncName symbol. No longer supported, pls use HB_ERR_FUNCNAME instead. 2008-10-11 13:40 UTC+0200 Viktor Szakats * bin/bld.bat + Suppress logo for bcc32 and msvc. 2008-10-11 13:27 UTC+0200 Viktor Szakats * make_vc.mak * contrib/mtpl_vc.mak + Added /nologo to lib commands. * source/rtl/fserror.c * Minor formatting. * ChangeLog + Marked change as TOMERGE 1.0. 2008-10-12 13:19 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbthread.h * casting cleanup * harbour/include/hbapigt.h * harbour/source/rtl/gtapi.c * harbour/source/rtl/scroll.c * harbour/source/rtl/console.c * harbour/source/rtl/box.c * changed hb_gtDrawBox() and hb_gtPutText() to operate on color number (index in some GTs) instead of color string * use int as color number (index) in hb_gtScrollEx() hb_gtBoxEx() * harbour/source/rtl/box.c % changed DISPBOX() with color and frame string to work as one GT atomic operation * harbour/source/vm/classes.c ! fixed profiler usage [TOMERGE 1.0] 2008-10-11 21:49 UTC+0200 Viktor Szakats * bin/bld.bat * bin/bld_os2.cmd + Enabled cleanup of .c/object/.tds files after build. + Under Windows NT OSes, it's now possible to pass full .prg name with extension. ! Few minor fixes. * Formatting, cleanup and help update. ; Please test. 2008-10-11 14:49 UTC+0200 Viktor Szakats * source/rtl/fnsplit.c * source/rtl/hbtoken.c ! HB_FNAMESPLIT(), HB_TOKENPTR() fixed to reset parameters passed by reference in error cases. 2008-10-11 13:06 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/tget.prg ! fixed cursor positioning when new get item is added. ; added note about possible modification - Viktor, please verify it 2008-10-11 11:21 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/common/expropt2.c * formatting and minor cleanup * harbour/source/rtl/gtapi.c % do not set and restore default color set in hb_gtPutText() and hb_gtDrawBox() but decode colors from passed string 2008-10-11 11:06 UTC+0200 Viktor Szakats * include/hbextern.ch + New functions added. * source/rtl/alert.prg % Minor optimization. ; NOTE: Found yet another hidden extension in Alert() code :( UPDATE: It's a CT Alert() override extension. * source/rtl/radiobtn.prg ! Fix and optimization in recent modification. 2008-10-11 04:56 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapigt.h * harbour/source/rtl/gtapi.c + added C functions hb_gtLock() and hb_gtUnlock() They block current GT for other threads * harbour/source/rtl/gtfunc.c + added PRG functions hb_gtLock() and hb_gtUnlock() They block current GT for other threads - be careful using them and always unlock locked GT * harbour/source/rtl/scroll.c + added HB_SCROLL() function - it works like SCROLL() but supports 2 additional parameters: color and erase char. It's stateless and atomic in GT access * harbour/source/rtl/tbrowse.prg * use HB_SCROLL() instead of SCROLL(). Now whole TBROWSE class does not depend on other thread screen output and does not set any GT variables except of cursor positioning to active cell when it's enabled * harbour/source/rtl/memoedit.prg * harbour/source/rtl/tgetlist.prg * harbour/source/rtl/tlabel.prg * harbour/source/rtl/listbox.prg * harbour/source/rtl/tmenusys.prg * harbour/source/rtl/achoice.prg * harbour/source/rtl/profiler.prg * harbour/source/rtl/teditor.prg * use atomic stateless functions when possible - this code should be checked and updated by some who know it. 2008-10-11 03:24 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/scrollbr.prg * harbour/source/rtl/getsys.prg * harbour/source/rtl/tpopup.prg * harbour/source/rtl/tgetlist.prg * harbour/source/rtl/radiogrp.prg * harbour/source/rtl/listbox.prg * harbour/source/rtl/checkbox.prg * harbour/source/rtl/browse.prg * harbour/source/rtl/tget.prg * harbour/source/rtl/ttopbar.prg * harbour/source/rtl/pushbtn.prg * harbour/source/rtl/tmenusys.prg * harbour/source/rtl/achoice.prg * harbour/source/rtl/teditor.prg * harbour/source/rtl/radiobtn.prg * harbour/source/rtl/tbrowse.prg * replaced DispOut() with hb_dispOut() * replaced DispBox() with hb_dispBox() % removed saving and restoring of cursor position in places where it's not longer necessary due to hb_dispOut()/hb_dispBox() usage % removed saving and restoring of SetColor() value in places where it's not longer necessary due to hb_dispOut()/hb_dispBox() usage % removed saving and restoring of MSetCursor(). If it's necessary low GT driver should hide and redraw mouse cursor before and after screen update. We do not have to make it manually The above modification gives faster code and allow to access screen from different threads simultaneously because functions like hb_dispOut() and hb_dispBox() are stateless and atomic in screen access. Not all .prg code has been updated yet. If someone is familiar with this code then please help. I'll add yet HB_SCROLL() function which will support additionally colors. Viktor if possible please verify this modifications. 2008-10-11 03:06 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapigt.h * harbour/source/rtl/gtapi.c + added hb_gtDrawBox() works like hb_gtBox() but does not change cursor posiion and support colors + added support for color parameter to hb_gtPutText() * harbour/source/rtl/console.c * use new hb_gtPutText() format in HB_DISPOUTAT() Now all screen operations inside this function is one atomic operation for other threads * harbour/source/rtl/box.c + added HB_DISPBOX() function - works like DISPBOX() bit does not change cursor position and is atomic for other threads * harbour/include/hbapigt.h * harbour/include/hbgtcore.h * harbour/source/rtl/hbgtcore.c * harbour/source/rtl/gtclip.c * harbour/source/rtl/gtdos/gtdos.c * harbour/source/rtl/gtwin/gtwin.c * harbour/source/rtl/gtxwc/gtxwc.c * harbour/source/rtl/gtcrs/gtcrs.c * harbour/source/rtl/gtstd/gtstd.c * harbour/source/rtl/gtsln/gtsln.c * harbour/source/rtl/gttrm/gttrm.c * harbour/source/rtl/gtpca/gtpca.c * harbour/source/rtl/gtcgi/gtcgi.c * harbour/source/rtl/gtwvt/gtwvt.c * harbour/contrib/gtalleg/gtalleg.c * harbour/contrib/gtalleg/ssf.h * harbour/contrib/gtalleg/ssf.c * harbour/contrib/gtwvg/gtwvg.c * cleanup char * casting * harbour/source/rtl/filesys.c ! do not use pread()/pwrite() in OpenWatcom Linux builds 2008-10-10 22:46 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/hvm.c * reduced the mutex lock time in thread exit state * harbour/source/vm/thread.c ; added note about possible behavior of hb_threadSelf() function in one very specific situation. It's documented and expected behavior * harbour/source/rtl/hbgtcore.c + added support for retrieving current HB_GTI_NOTIFIERBLOCK code block + added support for removing HB_GTI_NOTIFIERBLOCK code block without setting the new one 2008-10-10 21:22 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/garbage.c * unblock HVM before executing destructors and releasing blocks * harbour/source/vm/fm.c ! do not call internal error with active lock when FM statistic is enabled * harbour/source/vm/thread.c ! stop other threads in hb_threadOnce() if the 1st one executes bAction block to be sure that it will be completed before thread leave hb_threadOnce() function * harbour/source/vm/set.c ! do not call hb_inkeyReset() in set release. It's not necessary and it could change keyboard buffer size for other threads using the same GT driver. * harbour/source/vm/hvm.c % allocate new thread stack without lock * harbour/source/rtl/hbgtcore.c * harbour/source/rtl/gtapi.c * moved clipboard resetting from hbgtcore.c to gtapi.c * harbour/source/rtl/filesys.c ! do not use read/write operations with given file offset in Win9X which seems to not support such functionality 2008-10-10 20:12 UTC+0200 Viktor Szakats * make_vc.bat * make_vc.mak * Cleanups. 2008-10-10 10:50 UTC+0200 Viktor Szakats * include/hbextern.ch ! Fixed XPP class names. 2008-10-10 10:42 UTC+0200 Viktor Szakats * make_b32.mak * make_vc.mak * make_gcc.mak * Removed special 'set HB_GT_LIB=gtXXX' support. For the exact same effect - in case you want to modify default GT at build time, which is not recommended -, pls use this: 'set C_USR=-DHB_GT_LIB=XXX' where XXX is 'wvt', 'std', etc. - Removed HARBOURFLAGSDLL, LDFLAGSDLL, CFLAGSDLL as public options. It's better to keep these settings common IMO, and handle all DLL subtleties in our make files. + L_USR is now respected for .dlls, too. ! Fixed make_gcc.mak internal HARBOURFLAGSDLL to be in sync with the other .mak files (removed -l switch). - Removed HB_BUILD_MODE for VC builds. Now C/C++ is left to the default value (which is C mode for core), and it's possible to override using: 'set C_USR=-TP' for C++ mode (or -TC for forced C mode). % Other minor cleanups. * contrib/mtpl_b32.mak * contrib/mtpl_vc.mak - Removed HB_BUILD_MODE undocumented options from contrib make files. For Borland C++ mode, use 'set C_USR=-P'. For VC, see above. - Removed HB_BUILD_ST undocumented option. % Other minor cleanups. * contrib/xhb/hbcompat.ch * contrib/xhb/xhb.ch ! Moved __COPYFILE() translation to xhb.ch. 2008-10-10 09:41 UTC+0200 Viktor Szakats * common.mak * make_b32.mak * make_vc.mak * make_gcc.mak - Removed option HB_BUILD_ST to build another version of Harbour MT build [for non-GNU builds], or forced SingleThreaded (non -tWM) Harbour builds. * Modified to not allow CFLAGSMT to be tweaked from the outside [for non-GNU builds]. 2008-10-10 09:27 UTC+0200 Viktor Szakats * make_b32.mak * bin/bld.bat + -tWM BCC32 switch made the all-time default. * include/hbextern.ch + Added new functions. 2008-10-10 06:26 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbvm.h * harbour/source/vm/hvm.c + added hb_vmProcessDynLibSymbols() which works like hb_vmProcessSymbolsEx() but always mark registered modules as dynamic * harbour/source/vm/maindllp.c * redirect hb_vmProcessSymbolsEx() to hb_vmProcessDynLibSymbols() * harbour/source/vm/thread.c * disabled some low-level locking code in non MT HVM mode 2008-10-10 01:43 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbgtcore.h * harbour/source/rtl/hbgtcore.c * harbour/source/rtl/gtapi.c + added new GT methods: LOCK() and UNLOCK() * serialize GT access in MT mode - please remember that it's only low-level serialization to protect access to low GT resources. It has nothing to application level screen output from different threads which has to be serialized by programmer if necessary. * harbour/source/rtl/tthreadx.prg * use HB_THREAD_INHERIT_PUBLIC as thread attribute for thread started by oThread:start() to emulate Xbase++ PUBLIC variables behavior 2008-10-10 00:14 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapigt.h * harbour/source/rtl/gtapi.c + added hb_gtPutText() C function * harbour/source/rtl/console.c + added HB_DISPOUTAT() which works like DISPOUTAT but does not change cursor position. Xbase++ users can use #xtranslate DispOutAt( <x,...> ) => hb_dispOutAt( <x> ) for Xbase++ compatible code 2008-10-09 20:51 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/common.mak * harbour/source/rtl/Makefile + added thfuncx.prg * harbour/source/rtl/thfuncx.prg + added ThreadObject() function * harbour/source/rtl/tthreadx.prg + added Xbase++ compatible TThread class. Special thanks to Pritpal Bedi for class skeleton with info about Xbase++. Now only basic functionality is supported though it was enough to compile and execute examples Pritpal sent. I'm leaving rest for Xbase++ users. BTW The examples suggest that in Xbase++ DispOutAt() does not change cursor position. It's not Clipper compatible so I cannot make it in Harbour though I can add new function which will work in such way. 2008-10-09 10:48 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) ! harbour/bin/bld.bat + _C_MT= if not HB_MT==MT Forgot to clear the variable if mt mode is switched. 2008-10-09 10:36 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) ! harbour/bin/bld.bat + Added _C_MT=-tWM if HB_MT==MT BCC32 includes cw32mt.lib if -tWM is present as a switch. Now setting HB_MT=MT will allow to compile and link a prg in MT mode. 2008-10-09 17:03 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) + harbour/source/rtl/thfuncx.prg * added Xbase++ compatible functions: ThreadID() -> <nThId> ThreadWait( <aThreads>, <nTimeOut> ) -> <oThread> | <pThId> | NIL ThreadWaitAll( <aThreads>, <nTimeOut> ) -> <lAllFinished> In Harbour <aThreads> can be array of thread pointers or thread objects. Xbase++ compatible thread class I'll add later. 2008-10-09 07:30 UTC-0500 Teo Fonrouge (teo/at/windtelsoft/dot/com) - bin/hb_flst.tmp * bin/pack_src.sh - removed the temporary file list from SVN. * Added code to retrieve the source file list when SVN info is not available 2008-10-09 14:11 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/hvm.c * changed the place where exception handles are set/remove. Now it's set at the beginning of hb_vmInit() and removed at the end of hb_vmQuit() * harbour/source/rdd/dbcmd.c * harbour/source/rdd/dbf1.c ! added workaround for problem with EVAL block used in PACK command * harbour/source/compiler/hbmain.c * minor simplification 2008-10-09 05:02 UTC-0500 Teo Fonrouge (teo/at/windtelsoft/dot/com) * bin/hb_flst.tmp * bin/pack_src.sh * small fix to have always the list ordered 2008-10-09 04:57 UTC-0500 Teo Fonrouge (teo/at/windtelsoft/dot/com) + bin/hb_flst.tmp * bin/pack_src.sh * Made available the source file list to users that don't build from a SVN tree 2008-10-09 10:11 UTC+0200 Viktor Szakats * bin/bld.bat * bin/bld_os2.cmd + CLEANUP section now tries to clean object files and Borland .tds files, too. 2008-10-09 09:57 UTC+0200 Viktor Szakats * include/hbextern.ch + Added missing HB_DISABLEWAITLOCKS(). ; NOTE: This looks like a hack to add FLX_WAIT flag for locks app-wide, and on Windows systems only. IMO we should not have such hacks in core, or if this is really important it should support all possible platforms. It also has a low-level function equivalent, which is missing from hbapifs.h. There is no reference to these function in any Harbour or xhb changelogs. If there are no objections, I'd like remove this functionality. * source/rtl/hbrandom.c * source/rtl/filesys.c * Minor formatting. 2008-10-09 03:26 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbcompdf.h * harbour/source/compiler/hbmain.c % do not add dummy entries to symbol table for functions declared as dynamic - it allows to include hbdynamic.ch with list of all supported functions by application and/or harbour.dll to any .prg file which will be used to create shared library (.dll, .so, ...) without any memory overhead. * harbour/source/compiler/genc.c % do not generate unnecessary HB_FUNC_EXTERN() declarations for function declared as DYNAMIC 2008-10-09 01:33 UTC+0200 Viktor Szakats * include/hbextern.ch + Added HB_THREADWAIT() 2008-10-09 00:17 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbtypes.h * harbour/source/vm/maindllp.c ! updated casting for current SVN code [TOMERGE 1.0] * harbour/include/hbthread.h * harbour/source/vm/hvm.c * harbour/source/vm/thread.c + added .prg function hb_threadWait( <pThID> | <apThID>, [ <nTimeOut> ] [, <lAll> ] ) => <nThInd> | <nThCount> | 0 This function wait for <nTimeOut> seconds (default infinite wait) until one or all (controlled by <lAll> parameter) of given HVM threads will have finished execution in HVM area. It does not join the threads. It returns index to 1st thread which has finished execution (default) or number of threads which has finished in given time period when lAll is .T. 2008-10-08 20:33 UTC+0200 Viktor Szakats * contrib/examples/hscript/hscript.prg * source/compiler/gencobj.c * source/compiler/genobj32.c * Formatting, minor cleanups. 2008-10-08 15:19 UTC+0200 Viktor Szakats * make_gnu.bat ! HARBOURDIR -> HB_INSTALL_PREFIX 2008-10-08 14:57 UTC+0200 Viktor Szakats * make_b32.mak * contrib/mtpl_b32.mak + Added -Q switch to BCC defaults. This will print verbose error messages. 2008-10-08 14:36 UTC+0200 Viktor Szakats * bin/bld.bat * bin/bld_os2.cmd + Added support for HB_INSTALL_PREFIX. + Added experimental support for 'set HB_MT=MT' flag, to create an MT executable. * source/rtl/seconds.c * Formatting. 2008-10-08 12:28 UTC+0200 Maurilio Longo (maurilio.longo@libero.it) * harbour/source/rtl/seconds.c ! removed a couple of warnings. 2008-10-08 02:15 UTC+0200 Viktor Szakats * source/vm/cmdarg.c * HB_ARGV() will now return the executable name if called without a parameter. ! HB_ARGSTRING() fixed to return "" in some error cases instead of NIL. 2008-10-08 01:31 UTC+0200 Viktor Szakats * source/compiler/gencc.c * Trick to avoid MSVC -W4 warnings in -gc3 compiled C code, when compiled string literal contained certain high (> 127) chars followed by a digit. Thanks Przemek. NOTE: I've checked and hexadecimal format has even more such problems. 2008-10-07 21:27 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/runner.c * harbour/source/vm/codebloc.c * harbour/source/vm/itemapi.c * minor casting modification * harbour/tests/speedtst.prg * added workaround for timeout parameter not working in xHb Subscribe() when 3rd parameter is passed 2008-10-07 19:33 UTC+0200 Maurilio Longo (maurilio.longo@libero.it) * harbour/source/rtl/seconds.c ! fixed little typo after latest commit. 2008-10-07 18:42 UTC+0200 Viktor Szakats * source/rtl/seconds.c * Some cleanup after latest change. Functionality shouldn't change. OS/2 users pls verify. 2008-10-07 18:36 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/estack.c ! fixed typo in last commit 2008-10-07 18:32 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbstack.h * harbour/source/vm/estack.c * harbour/source/vm/hvm.c % moved static USHORT uiPolls to HVM stack to not reduce the HVM performance in MT mode. In multi CPU environment if many threads try to change the same memory variable in the same time the overall performance is strongly reduced on most of tested hardware - probably some random CPU delay used to resolve the conflict. 2008-10-07 16:33 UTC+0200 Maurilio Longo (maurilio.longo@libero.it) * harbour/source/rtl/seconds.c + Added OS/2 section to secondsCPU(), but it does not work as expected :) In particular, user and system times are kept per thread, but when a thread dies the time it has spent in user and system-land gets lost, so the overall running time of the program decreases. Not only, if I call secondsCPU() before a thread starts and after it has ended I'll have no idea of the time that was spent by that thread. 2008-10-07 14:24 UTC+0200 Viktor Szakats * include/hbapierr.h * source/vm/extrap.c * source/rtl/errorint.c ! Fixed recent modification on Windows platform, where GPF would generate an internal error. It didn't launch the OS error handler. ! Fixed hb_errInternal() being marked as HB_EXPORT in the headers only. 2008-10-07 09:33 UTC+0200 Viktor Szakats * include/hbextern.ch * source/rtl/inkey.c + Added HB_KEYCLEAR() a documented function equivalent to "CLEAR TYPEAHEAD" command, or undocumented __KEYBOARD() function. [TOMERGE 1.0] * contrib/rddads/rddads.h * contrib/rddads/ads1.c + Added support for ADS_USE_OEM_TRANSLATION for old ads versions. Borrowed from xhb/Pavel Tsarenko. 2008-10-07 02:57 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/Makefile + harbour/include/hbatomic.h * harbour/include/hbthread.h * harbour/source/vm/garbage.c * harbour/source/vm/fm.c * moved atomic and spinlock functions into hbatomic.h * harbour/include/hbatomic.h + added atomic inc/dec for GCC and x86@64 and PPC@32 + use OSAtomic*() and OSSpin*() functions for atomic inc/dec and spinlocks in Darwin builds + added spinlocks to MS-Win builds 2008-10-06 22:33 UTC+0200 Viktor Szakats * source/rtl/tobject.prg ! Formatting to some old code. 2008-10-06 22:24 UTC+0200 Viktor Szakats * include/hbthread.h ! Committed MT fix to make it compile under Darwin. Thanks Przemek. 2008-10-06 21:50 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/hvm.c ! fixed last commit typo in thread number allocating - all threads where using 0 number * harbour/source/vm/thread.c ! fixed return value in recursive call to hb_mutexLock() - was FALSE ! fixed typo in timeout parameter number should be 2 instead of 1 * harbour/source/rtl/tobject.prg ! fixed init() return value - it should be ignored and current object should be returned * harbour/source/rtl/tthreadx.prg ! probably fixed timeout parameter use in signal:wait() method I guess that like other Xbase++ functions it's in 1/100th of a second * harbour/include/hboo.ch * harbour/include/hbclass.ch * harbour/source/vm/classes.c * harbour/source/rtl/tclass.prg + added support for SYNC object and CLASS messages working like in Xbase++. Please remember that all locked by thread SYNC messages objects and classes are unblocked automatically for the time which thread spends in hb_subscribe[Now]() or signal:wait() 2008-10-06 21:27 UTC+0200 Viktor Szakats * include/hbapifs.h * include/hbextern.ch * source/common/hbfsapi.c * source/rtl/hbfile.c + Added hb_fsNameExists() C level function. + Added hb_FNameExists() Harbour level function. ; Both will return true if any kind of directory entry exists with the given name (IOW it doesn't matter if it's a file or directory, or else). 2008-10-06 15:30 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbthread.h * harbour/source/vm/thread.c * harbour/source/vm/hvm.c + add numeric HVM thread identifiers to thread structure. Now HB_THREADID() returns numbers in all OSes * harbour/include/hbexprop.h * harbour/include/hbexprb.c * harbour/source/common/expropt2.c + added compile time optimization for MIN() and MAX() functions * harbour/source/rtl/minmax.c * removed trailing spaces from source code 2008-10-06 12:38 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbclass.ch * harbour/include/hboo.ch + added SYNC attribute to accepted syntax in class declaration it allows to compile code which uses this attribute but low level implementation is not ready yet - work in progress * harbour/source/vm/garbage.c ! added #define INCL_DOSPROCESS for OS2 builds. For some reasons #define INCL_DOSDATETIME I've found in DosSleep() documentation is note enough 2008-10-06 11:17 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/thread.c ! fixed typo in recent modification 2008-10-06 03:09 UTC+0200 Viktor Szakats * include/hbextern.ch + Added HB_THREADONCE. * ChangeLog - Removed a duplicate entry of mine. 2008-10-06 02:18 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/tests/speedtst.prg * marked T054 as memory tests * harbour/source/vm/hvm.c * harbour/source/vm/thread.c * added hb_threadOnce( @<onceControl> [, <bAction> ] ) -> <lFirstCall> This function allow to execute some code only once. It's usefull in MT environment for initialization. <onceControl> is variable which holds the execution status and have to be initialized to NIL. In most of cases it will be simple static variable in user code. <bAction> is optional codeblock which is executed only once (on 1st call with given <onceControl>) * harbour/source/rtl/filesys.c ! do not make any file name conversions in hb_fsNameConv() if HVM stack is not allocated * harbour/source/rtl/gtcrs/gtcrs.c * casting 2008-10-06 01:06 UTC+0200 Viktor Szakats * source/debug/debugger.prg * source/rtl/typefile.prg * source/rtl/tgetlist.prg * source/rtl/treport.prg * source/rtl/teditor.prg * Using [Q]QOut() functions instead of "[?]?" commands. * Using hb_Run() function instead of RUN command. * source/rtl/typefile.prg % Upped read buffer. * Formatting. % Got rid of a few unnecessary initialization. 2008-10-06 00:28 UTC+0200 Viktor Szakats * include/hbthread.h ! Blind fix for WinCE compilation after MT changes. 2008-10-05 20:10 UTC+0200 Viktor Szakats * common.mak * source/rtl/Makefile - source/rtl/persist.prg + source/rtl/tpersist.prg - source/rtl/symbol.prg + source/rtl/tsymbol.prg * source/rtl/achoice.prg * source/rtl/browse.prg * source/rtl/dbedit.prg * source/rtl/dircmd.prg * source/rtl/einstv52.prg * source/rtl/einstvar.prg * source/rtl/hbini.prg * source/rtl/tbrowse.prg * source/rtl/tclass.prg * source/rtl/tget.prg * source/rtl/tgetint.prg * source/rtl/tlabel.prg * source/rtl/tobject.prg * source/rtl/treport.prg * source/rtl/typefile.prg * source/rtl/valtoexp.prg * source/rdd/usrrdd/example/exhsx.prg * source/rdd/usrrdd/example/exfcm.prg * source/rdd/usrrdd/rdds/hscdx.prg * Some formattings and cleanup. * source/rtl/tclass.prg % ValType() optimizations. * source/rtl/tlabel.prg * source/rtl/treport.prg * Trim() -> RTrim() * source/rtl/treport.prg ! Hard-coded Chr(13)+Chr(10) fixed in treport.prg. 2008-10-05 18:46 UTC+0200 Viktor Szakats * contrib/hbwin/win_ole.c * source/rtl/wait.prg * source/rtl/tthreadx.prg * Minor formatting. 2008-10-05 17:53 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/tests/speedtst.prg + added support for --scale switch - it enables special mode which compare scalability, e.g.: ./speedtst --thread=4 --scale executes each test loop 4 times by single thread then by 4 simultaneous threads, counts total real times in both cases and presents them with the scale factor. Please note that exactly the same loop tests are executed simultaneously so this test should well show all places which are not well scalable. This test allows me to locate yet another memory variable written by each thread on each function call just like uiPolls in main HVM loop. It's s_bDebugging which is not used in MT mode because we do not have any MT debugger yet but is was effectively killing the scalability in my hardware. If possible I would like to see some Windows results from multi CPU machine with --scale parameter, e.g.: speedtst --thread=8 --scale > speedtst.log Please make some tests. * harbour/source/vm/hvm.c % do not assign s_bDebugging in hb_vmDo()/hb_vmSend() when debugger is not linked * harbour/source/vm/garbage.c % enabled spinlocks in all x86 GCC builds 2008-10-05 15:56 UTC+0200 Viktor Szakats * include/hbpers.ch * source/rtl/perfuncs.prg * source/rtl/objfunc.prg * source/rtl/tlabel.prg * source/rtl/setta.prg * source/rtl/dirscan.prg * source/rtl/tthreadx.prg * source/rtl/setfunc.prg * source/rtl/readvar.prg * source/rtl/tclass.prg * source/rtl/ttextlin.prg * source/rtl/profiler.prg * source/rtl/treport.prg * source/rtl/tgetint.prg * source/rtl/persist.prg * source/rtl/altd.prg * source/rtl/devoutp.prg * source/rdd/usrrdd/example/exmemo.prg * source/rdd/usrrdd/example/exhsx.prg * source/rdd/usrrdd/example/exfcm.prg * source/rdd/usrrdd/example/exrlx.prg * source/rdd/usrrdd/rdds/dbtcdx.prg * source/rdd/usrrdd/rdds/fptcdx.prg * source/rdd/usrrdd/rdds/arrayrdd.prg * source/rdd/usrrdd/rdds/hscdx.prg * source/rdd/usrrdd/rdds/rlcdx.prg * source/rdd/usrrdd/rdds/fcomma.prg * source/rdd/usrrdd/rdds/smtcdx.prg * Formatting. Basically finished. * include/hbextern.ch ! Added two missing functions. 2008-10-05 15:53 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/thread.c ! fixed hb_mutexSubscribe*() in ST mode 2008-10-05 03:29 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/tests/speedtst.prg + added support for multiple usage of --exclude parameter + added support for --thread[=<num>] parameter which allows to set how many threads will be used to execute speed test. When =<num> is not given then each test loop is executed by separate thread, e.g.: ./speedtst --thread=3 Now you can make tests looking for optimal for your system values. Please only remember that the total results shown by speedtst can be highly bound with the most expensive test loop which is finished only on one CPU + added support for --only=<testnums,...> parameter which allows to chose requested tests + added restricted parameter validation and syntax info 2008-10-04 21:23 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/fm.c ! do not build DL-MM when HB_FM_WIN32_ALLOC is set * harbour/tests/speedtst.prg + added support for --exclude=<tests,...> option to exclude some tests, e.g.: ./speetest --exclude=029.030.023.025.027.040.041.043.052.053.019.022.031.032 disables all tests which allocates memory. The same tests can be also excluded by --exclude=mem 2008-10-04 20:34 UTC+0200 Viktor Szakats * contrib/hbole/ole2.c ! Fixed errors in previous commit. Thanks Toninho. * contrib/hbwin/win_ole.c ! Prefixed remaining static variables with 's_'. 2008-10-04 19:36 UTC+0100 Francesco Saverio Giudice (info at fsgiudice dot com) * contrib/hbwhat/wincore.prg * HB_Exec() changed to HB_ExecFromArray() Now contrib/hbwhat/tests/whatdemo.prg can be compiled and runs 2008-10-03 21:53 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) - harbour/tests/speedtst.prg + harbour/tests/speedold.prg * renamed old speed test - I left it because some other xbase compiler cannot compiple the new one due to not Clipper compatible PP + harbour/tests/speedtst.prg * added new speed test which can also measure mutlithread performance. When linked with MT HVM version then it can be executed with optional parameter which causes that each test loop is executed by separate thread. Please make such tests on different platforms. 2008-10-03 20:20 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/garbage.c * Use spinlock instead of mutex in OS2 builds - performance test. 2008-10-03 13:50 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/estack.c * pacified OS2 warning 2008-10-03 09:37 UTC+0200 Viktor Szakats * source/vm/extrap.c + Now using standard internal error call for Windows too. + Implemented //BATCH for OS/2. (please test) * source/rtl/errorint.c * Upped internal buffer. 2008-10-03 09:04 UTC+0200 Viktor Szakats * contrib/hbole/oleauto.prg * contrib/hbole/ole2.c * contrib/hbwin/win_tole.prg * contrib/hbwin/win_ole.c * OLESHOWEXCEPTION() implemented on the .prg level, using Alert() rather than MessageBox(). ! All MessageBox()es converted to Alert()s. + Added OLEEXCEPTIONSOURCE(), OLEEXCEPTIONDESCRIPTION() to hbole. * source/vm/maindllp.c ! Changed MessageBox() call to internal error. * contrib/gtwvg/gtwvg.c * source/rtl/gtwvt/gtwvt.c ! Changed MessageBox() calls to internal error. * contrib/gtwvg/gtwvg.c * Internal error calls synced with GTWVT. * source/rtl/hbgtcore.c - Removed "Internal error" text from two internal error descriptions. * make_vc.mak - Removed reference to MessageBox() from comment. ; NOTE: No more MessageBox() calls in Harbour. (except some wrappers for user .prg code) 2008-10-03 00:25 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/filesys.c * added workaround for missing S_IREAD, S_IWRITE and S_IEXEC in OS2 when _XOPEN_SOURCE is defined 2008-10-02 23:16 UTC+0200 Viktor Szakats * include/hbsetup.ch ! Removed some company names from comments. * source/vm/extrap.c + Added //BATCH internal switch to indicate exception handler to suppress the Windows exception dialog when an exception occurs. Useful for programs running without user interaction. NOTE: This may not be the ultimate method. If we can gather more such situations where such "batch" mode might be useful, we may as well implement it as a Set(). - Removed Harbour specific exception MessageBox(). Besides having gotten rid of a MessageBox() call in core VM, Harbour now got back the standard Windows error handling dialog, which is more standard and easy to get by than the previous default method, where several clicks were needed to pass through the (sometimes hidden) popups. The details of all GPFs are still logged into hb_out.log. + Removed size limit for the logged exception call stack. 2008-10-02 21:12 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rdd/sdf1.c ! fixed stupid typo (missing !) in last modification which broke SDF RDD read mode. Thanks to Marco for information and example. * harbour/include/hbstack.h * harbour/source/vm/estack.c * small cleanup in used macros 2008-10-02 20:25 UTC+0200 Viktor Szakats * contrib/hbct/Makefile * contrib/hbct/common.mak * contrib/hbct/ctmisc.prg + contrib/hbct/ctdummy.prg * Recently added dummy CT functions moved to a separate file. * source/vm/thread.c ! Fixed warning in HB_THREADID(). 2008-10-02 15:54 UTC+0200 Maurilio Longo (maurilio.longo@libero.it) * harbour/source/vm/thread.c * hb_ThreadID() returns 0 when built in ST mode. 2008-10-02 15:50 UTC+0200 Maurilio Longo (maurilio.longo@libero.it) * harbour/source/vm/thread.c + added hb_ThreadID() function which returns thread ID of current thread. 2008-10-02 15:19 UTC+0200 Viktor Szakats * source/vm/extrap.c + Upped internal buffer to store the exception dump and stack trace. 2008-10-02 14:33 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbstack.h % enable assembler inline function to access HVM thread stack pointer without native compiler TLS support even if HB_STACK_PRELOAD is not defined in MinGW builds. It gives some additional small speed improvement in MT mode * harbour/source/rtl/idle.c * unlock HVM inside hb_releaseCPU() function * harbour/contrib/hbwin/win_ole.c ! fixed casting and C++ compilation in some compilers * harbour/include/Makefile + harbour/contrib/examples/rdddbt/hbrdddbt.h - harbour/include/hbrdddbt.h ! moved hbrdddbt.h to correct location * harbour/include/Makefile ! added missinf hbthread.h * harbour/tests/rddtest/rddmktst.prg * harbour/tests/rddtest/adscl52.prg * harbour/tests/rddtest/adscl53.prg * harbour/tests/rddtest/ntxcl52.prg * harbour/tests/rddtest/ntxcl53.prg * harbour/tests/rddtest/cdxcl52.prg * harbour/tests/rddtest/rddtst.prg * harbour/tests/rddtest/cdxcl53.prg ! fixed description in header I wrongly copied without updating from other files + harbour/tests/hsxtest.prg + added test code for HiPer-SEEK indexes * harbour/source/rtl/filesys.c + added new functions: hb_fsExtName(), hb_fsReadAt(), hb_fsWriteAt(), hb_fsTruncAt() to use with shared file handles. Please test it in other *nixes. I used pread[64]()/pwrite[64]() POSIX functions but I do not know if they are available by default in other supported platforms like MacOSX, BSD, HPUX, SunOS. If not they I will have to implement some workaround. * harbour/common.mak * harbour/source/rtl/Makefile * harbour/include/hbapifs.h + harbour/source/rtl/filebuf.c + added set of new file functions (hb_file*()) which are designed to use with shared file handles and locks (buffers in the future): hb_fileExtOpen(), hb_fileCreateTemp(), hb_fileClose(), hb_fileLock(), hb_fileReadAt(), hb_fileWriteAt(), hb_fileTruncAt(), hb_fileSize(), hb_fileCommit(), hb_fileHandle() These functions operate on PHB_FILE structure instead of HB_FHANDLE. Now in POSIX systems they share file handle between aliased or simultaneously open by other thread work areas. It resolves the problem with releasing all process FCNTL locks by any close() operation even on duplicated or open() separately handle. Now DOS deny flags emulation works in single process even if BSD locks are disabled (non Linux *nixes). They also keep internal file lock list what allows to synchronize threads and aliases with file locks in POSIX systems. In the future it will be used also for internal locking to synchronize threads without OS level locks - pseudo exclusive mode in cloned WA. Finally these structures will be used also for file buffers which will be shared between aliased WA and threads. * harbour/include/hbrdddbf.h * harbour/include/hbrddcdx.h * harbour/include/hbrddntx.h * harbour/include/hbrdddel.h * harbour/include/hbrddsdf.h * harbour/source/rdd/dbf1.c * harbour/source/rdd/delim1.c * harbour/source/rdd/sdf1.c * harbour/source/rdd/dbffpt/dbffpt1.c * harbour/source/rdd/dbfntx/dbfntx1.c * harbour/source/rdd/dbfcdx/dbfcdx1.c * harbour/source/rdd/hsx/hsx.c * harbour/contrib/hbbmcdx/bmdbfcdx.c * harbour/contrib/hbbmcdx/hbbmcdx.h * use PHB_FILE and hb_file*() functions instead of HB_FHANDLE (hb_fs*()) to access files. + harbour/tests/aliaslck.prg + added test code for file lock synchronization between aliased work areas 2008-10-02 11:49 UTC+0200 Viktor Szakats * source/vm/extrap.c * Added "error" text in exception message. 2008-10-02 10:08 UTC+0200 Viktor Szakats * contrib/hbct/ctmisc.prg + Added dummy functions: GETKXLAT(), SETKXLAT(), DSETKBIOS() 2008-10-02 08:57 UTC+0200 Viktor Szakats * source/rtl/dbedit.prg ! Fixed to use local Skipped() function. ! Guarded some 5.3 features with HB_COMPAT_C53. ! Fixed stepping back to real record from append position. (This fixes Clipper 5.x screen trashing and '87 incompatibility.) ! Minor keyboard handling fix. ! Fixed behaviour in append mode. 2008-10-01 23:52 UTC+0200 Viktor Szakats * contrib/hbfbird/firebird.c ! Added ugly hack to make it compile with Firebird 2.1.1 and BCC 5.8.2 (and upper). This way all Win32/Win64 builds are now supporting this newer version of Firebird. DOS still needs 2.0.4. * contrib/hbwin/win_tole.prg * contrib/hbwin/win_ole.c + Added support for optional License Key. Borrowed from xhb/Ron Pinkas. (untested) 2008-10-01 14:46 UTC+0200 Viktor Szakats * contrib/hbct/ctmisc.prg ! Fix to CENTER() when 3rd param is logical. + Added ALLOFREE(). 2008-09-30 11:37 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/Makefile + harbour/include/hbvmint.h + added new header file which works like hbvmopt.h but does not enable stack macros * harbour/contrib/xhb/xhbenum.c * harbour/contrib/xhb/xhbqself.c * harbour/contrib/xhb/xhbwith.c * harbour/contrib/xhb/cstructc.c * harbour/contrib/hbwin/win_ole.c ! use hbvmint.h instead of hbvmopt.h to eliminate direct bindings to HVM stack structure 2008-09-30 02:07 UTC+0200 Viktor Szakats * make_vc.mak * config/w32/msvc.cf * config/w32/msvcce.cf ! Removed -fp:fast optimization switch from WinCE builds. ! -W4 warning level enabled for MSVC in GNU-make too. 2008-09-29 23:13 UTC+0200 Viktor Szakats * make_b32.mak * contrib/mtpl_b32.mak * bin/bld.bat % Added BCC optimization switches (the ones used for the Harbour release versions). [TOMERGE 1.0] * bin/bld.bat * bin/bld_os2.cmd + Added -O3 to GCC compilation. [TOMERGE 1.0] 2008-09-29 22:55 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/hvm.c ! restored some item type settings I wrongly removed few days ago 2008-09-29 18:49 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/config/os2/gcc.cf * harbour/make_gnu_os2.cmd * moved -DTCPV40HDRS to make_gnu_os2.cmd and added small description about this macro. By default is enabled, can be disabled by setting environment variable HB_OS2_TCP32 to 'yes', e.g. SET HB_OS2_TCP32=yes David and Maurilio, please check me. 2008-09-29 13:11 UTC-0300 Antonio Carlos Pantaglione <toninho@fwi.com.br> * contrib/xhb/common.mak * contrib/xhb/makefile + contrib/xhb/hbstruct.ch + contrib/xhb/hbstruct.prg + STRUCTURE / MEMBER / ENDSTRUCTURE support 2008-09-29 17:41 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbset.h * harbour/source/vm/set.c + divided __SETCENTURY() PRG function into two functions: __SETCENTURY() and public C function hb_setSetCentury() to manipulate century setting from C code. Modyfication by Francesco Saverio Giudice 2008-09-29 15:59 UTC+0200 Viktor Szakats * ChangeLog * mpkg_tgz.sh * harbour.spec * config/darwin/gcc.cf * config/hpux/gcc.cf * config/dos/rsx32.cf * config/dos/djgpp.cf * config/linux/gcc.cf * config/os2/gcc.cf * config/sunos/gcc.cf * config/bsd/gcc.cf * config/w32/mingwce.cf * config/w32/gcc.cf * config/w32/rsxnt.cf * config/w32/mingw.cf + -O3 GCC optimization level made the default for all GCC builds. Those who wish to use lower optimization settings, pls use C_USR=-O2 or such. [TOMERGE 1.0] 2008-09-29 13:59 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rdd/workarea.c * added protection against multiple registering RDD with the same name by *_GETFUNCTABLE() in ST/MT mode or other thread in MT mode 2008-09-29 11:18 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbvm.h * harbour/include/hbthread.h * harbour/source/vm/hvm.c * harbour/source/vm/thread.c + added hb_vmThreadRegister() funtion which allows to register new thread in HVM without HVM stack allocation + added hb_vmThreadRelease() which removes registered thread which does not have allocated HVM stack yet + added hb_threadStateNew() which returns new thread control state which can be used as parameter to hb_vmThreadInit(), hb_vmThreadRegister(), hb_vmThreadRelease() * register thread control state also for main thread Now hb_threadSelf() returns thread pointer also for main thread ! fixed possible race condition in hb_threadWaitForAll() and hb_threadTerminateAll() by using hb_vmThreadRegister() before starting thread. * harbour/source/rtl/idle.c * interrupt hb_idleSleep() on QUIT or BREAK requests * harbour/tests/mt/mttest09.prg * small cleanup 2008-09-29 10:13 UTC+0200 Viktor Szakats * make_b32.mak * make_vc.mak ! Fixed to use 'COPY /B' instead of 'COPY /A' to install headers, to avoid appending and EOL to these files. They should work as is. * make_gcc.mak ! Fixed mainstd lib name. [TOMERGE 1.0] 2008-09-27 09:17 UTC+0200 Viktor Szakats * make_gcc.sh % Minor cleanup after prev changes. 2008-09-27 09:15 UTC+0200 Viktor Szakats * include/hbthread.h % Disabled HB_USE_TLS for __BORLAND__ and __MINGW32__ for best performance. * contrib/hbwhat/whtmmcap.c ! Fixed some warnings under certain MinGW 4.3.2 installations. TODO: hbwhat users pls finish this fix. * utils/hbmake/hbmake.prg ! Fixed hbw32 to hbwin. * Win32 references changed to Windows. * make_gcc.sh * Not accepting CFLAGS anymore as custom C flags envvar. Pls use C_USR instead. * make_gcc.mak + Added wsock32 lib to Cygwin system liblist. ! Removed setting HB_OS_* macros explicitly. * make_b32.mak * make_vc.mak * Minor formatting. 2008-09-26 21:28 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/thread.c * release thread return value when is retrieve * harbour/common.mak * harbour/source/rtl/Makefile + harbour/source/rtl/tthreadx.prg + added Xbase++ compatible signal class * harbour/source/rdd/wacore.c ! added missing alias setting after attaching work area + harbour/tests/mt/mttest09.prg + added test code for using the same work area in different threads 2008-09-26 19:34 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbstack.h * harbour/source/vm/estack.c + added assembler inline macros for TLS access in BCC and MinGW32 They are enabled when Harbour is compiled with -DHB_NO_TLS. Please check the speed difference. If it will be noticeable then we keep them probably as default. Otherwise they will be removed. 2008-09-26 02:42 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/thread.c ! fixed thread cleanup code when startthread() fails, e.g. OS refuse to create new thread. 2008-09-25 21:50 UTC+0200 Viktor Szakats * include/hbdefs.h ! Fixed 64-bit printf() formatting strings to be compatible with MinGW. MinGW seems to follow the Microsoft way instead of being compatible with other GCC dialects. This fixes some pcode/c code (-gc3) generation problems for long long literals, and hbfbird/FBGETDATA() potential problems, when MinGW 3.x/4.x compilers were used. [TOMERGE 1.0] ; FIXME: Some sqlite3.c code may also be affected, since "%llX" and "%lld"s are hard-coded into the source. 2008-09-25 13:28 UTC+0200 Viktor Szakats - make_tgz.sh + mpkg_tgz.sh - make_deb.sh + mpkg_deb.sh - make_rpm.sh + mpkg_rpm.sh - make_rpmwce.sh + mpkg_rpm_wce.sh - make_rpmwin.sh + mpkg_rpm_win.sh - make_xmingw.sh + make_gnu_xmingw.sh - make_xmingwce.sh + make_gnu_xmingwce.sh - make_rpm_from_svn.sh + mpkg_rpm_from_svn.sh * Some renamed in the hope that it will better separate the simple build scripts (make*) from package build (mpkg*) scripts. 2008-09-25 13:16 UTC+0200 Viktor Szakats * contrib/xhb/hbcompat.ch + Added xhb_CopyFile() two-way translations. (untested) 2008-09-25 13:13 UTC+0200 Viktor Szakats * tests/speedtst.prg ! Use hb_OSNewLine() instead of hard-wired EOL. + Emulate hb_OSNewLine() for non-Harbour compilers. 2008-09-25 13:07 UTC+0200 Viktor Szakats * include/hbthread.h + Enabled HB_USE_TLS for MinGW >= 4.3.0 2008-09-25 11:26 UTC+0200 Viktor Szakats - harbour-ce-spec + harbour-wce-spec - harbour-w32-spec + harbour-win-spec - make_rpmw32.sh + make_rpmwin.sh - make_rpmce.sh + make_rpmwce.sh * Some steps done to use more consistent names for Windows and Windows CE, and also to move away from '32' usage. ; TODO: I'd prefer to give all .spec files the same empty extensions, could anyone help how to convert current harbour.spec to harbour-spec and not break .rpm creation? Plus it would be also good to implement automatic versioning on .rpm build just like for harbour-win/wce in make_rpmw*.sh scripts. - hbgtmk.sh + make_rpm_from_svn.sh * Renamed to give a better idea about its purpose. ; NOTE: make_rpm_from_svn.sh seems a bit pointless now that we have the final releases in separate SVN tags. * make_gcc.mak * Minor formatting. 2008-09-25 00:22 UTC+0200 Viktor Szakats * make_b32.mak * make_gcc.mak * make_vc.mak * harbour.spec * source/rtl/hbgtcore.c * source/rtl/Makefile * source/rtl/gtsys.c * config/w32/poccce.cf * config/w32/xcc.cf * config/w32/pocc.cf % Removed HB_GT_DEFAULT envvar, which was the exact synonym of HB_GT_LIB. Please use HB_GT_LIB instead, if you - by any chance - want to change the default GT at Harbour build-time. * tests/speedtst.prg ! Fixed to delete temp .dbf files before exiting. 2008-09-24 20:30 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/estack.c ! fixed stack preloading - it should be after checking if stack exist :) 2008-09-24 18:27 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/hb-func.sh * reverted modification for import attributes - this will be changed in the future to function calls 2008-09-24 18:17 UTC+0200 Viktor Szakats * utils/hbdoc/hbdoc.prg * utils/hbmake/hbmake.prg * utils/hbrun/hbrun.prg % One function made STATIC. 2008-09-24 17:58 UTC+0200 Viktor Szakats * utils/hbrun/hbrun.prg + Added REQUESTs for GTSTD, GTCGI, GTPCA (these GTs are available on all platforms). % Removed explicit GT defaulting logic (now identical to the one in RTL). 2008-09-24 16:18 UTC+0200 Viktor Szakats * source/vm/fm.c + Enabled dlmalloc (HB_FM_DL_ALLOC) for MSVC, BCC and MINGW builds. ; It's possible to disable dlmalloc with HB_FM_STD_ALLOC for testing purposes. 2008-09-24 16:06 UTC+0200 Viktor Szakats * bin/bld.bat * bin/bld_os2.cmd * HARBOURFLAGS removed as a public envvar to setup Harbour parameters. Use PRG_USR instead. * common.mak ! Fixed after recent modification. * source/compiler/cmdcheck.c * Minor formatting. 2008-09-24 14:53 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/dynsym.c * harbour/source/vm/arrays.c * harbour/source/vm/memvars.c ! fixed three typos which broke HB_TR_DEBUG messages 2008-09-24 13:57 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/compiler/cmdcheck.c ! fixed starting index in parsed parameters. argv[0] is application name with path not user parameter. Parsing it was giving unpredictable results if harbour binaries were located in path having option delimiters in name 2008-09-24 12:47 UTC+0200 Viktor Szakats * harbour-ce-spec * harbour-w32-spec * harbour.spec * make_xmingwce.sh % Some remaining explicit GT defaultings removed. Relying on RTL source code. * include/hbsetup.h ! Disabled HB_MT_VM for HB_WINCE. 2008-09-24 12:31 UTC+0200 Viktor Szakats * source/vm/vmmt/Makefile ! Possible fix for mingw build error: make: *** mainstd: No such file or directory. Stop. make[3]: *** [first] Error 2 make[2]: *** [first] Error 2 ; Please review. ; FIXME: These DLALLOC warnings are present with MinGW 4.3.2 In file included from ../../fm.c:127: ../../dlmalloc.c:1144: warning: ignoring #pragma warning In file included from ../../fm.c:127: ../../dlmalloc.c: In function 'sys_alloc': ../../dlmalloc.c:3396: warning: statement with no effect 2008-09-24 12:12 UTC+0200 Viktor Szakats * common.mak * source/rtl/gtgui/Makefile - source/rtl/gtgui/gtdef.c - Removed HB_GTGUI_HACK to masquerade GTGUI under a different name and to make Windows users happier. Instead of hacking Windows users with GUI programs should simply use this in their code: -- PROCEDURE HB_GTSYS REQUEST HB_GT_GUI_DEFAULT RETURN -- ; This clears up a few exceptions, make hacks and a few possible confusions. 2008-09-24 02:26 UTC+0200 Viktor Szakats * make_gcc.sh * make_gnu_os2.cmd * make_gnu.bat * make_gnu.sh * make_tgz.sh % Some additional GT defaulting logic removed. 2008-09-24 01:41 UTC+0200 Viktor Szakats * contrib/hbwhat/tests/whatdemo.prg ! SVN ID. + contrib/hbwhat/tests/bld_b32.bat + contrib/hbwhat/tests/bld_vc.bat + Added missing non-GNU make files. 2008-09-24 01:37 UTC+0200 Viktor Szakats * source/rtl/gtsys.c * Added HB_WINCE with GTWVT to the set of defaults. * config/darwin/global.cf * config/hpux/global.cf * config/linux/global.cf * config/sunos/global.cf * config/bsd/global.cf % Removed unnecessary defaulting to GTSTD. * config/os2/gcc.cf ! Fixed minor typo in line 24 / HB_OS2_NEW_TCP. 2008-09-23 16:19 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/hbwhat + /tests + /tests/whatdemo.prg A demo program, very basic, will be expanded in future, together with gtwvt. 2008-09-24 00:44 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/hbgtcore.c * harbour/source/rtl/gtsys.c * use GTTRM as default GT in *nixes 2008-09-24 00:18 UTC+0200 Viktor Szakats * tests/memtst.prg + Added #include "simpleio.ch" to allow output redirection. * bin/bld.bat * bin/bld_os2.cmd * Removed any HB_GT_LIB "selection" logic. Selection is to be done from source code, from now on all supported core GTs are included in the lib list. * Few other minor cleanups. * source/vm/cmdarg.c * Commented code turned into HB_C52_STRICT branch. * source/vm/vmmt/Makefile ! Fixed cemgw -> mingwce * config/dos/global.cf * config/os2/global.cf * config/w32/global.cf % Removed unnecessary logic to select default GT. This is done in Harbour source code now. ; FIXME: After MT changes, mingw32 build gives this new error: make: *** mainstd: No such file or directory. Stop. make[3]: *** [first] Error 2 make[2]: *** [first] Error 2 2008-09-23 21:42 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/hb-func.sh * use HB_IMPORT instead of hardcoded attributes in hb* scripts * harbour/source/common/hbver.c * generate different info for POCC and XCC compilers * harbour/source/rdd/dbfcdx/dbfcdx1.c * reduce header validation to not report clipper indexes as corrupted 2008-09-23 20:41 UTC+0200 Viktor Szakats * source/vm/extrap.c ! Fixed to close .log file before showing MessageBox(). [TOMERGE 1.0] + Don't attempt to write into .log file if the _SET_HBOUTLOG filename is empty. ; FIXME: Remove all remaining MessageBox() calls from Harbour sources. 2008-09-23 18:56 UTC+0200 Viktor Szakats * contrib/rddads/adsmgmnt.c ! Blind fix to ADSMGGETWORKERTHREADACTIVITY() where the first element in list wasn't returned. Please test, I couldn't. * source/vm/fm.c ! Stupid typo. (I guess I'm completely confused by separated "#" and preprocessor command :/ Second typo in two lines.) 2008-09-23 17:09 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/config/os2/gcc.cf * enabled -DTCPV40HDRS in default builds, can be disabled by setting HB_OS2_NEW_TCP=yes environment variable 2008-09-23 07:05 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/hbwhat/wincorec.c % hb_retptr() => HB_RETWI() 2008-09-23 06:51 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/hbwin/win_ole.c % hb_vmPushDynDym() => hb_vmPushDynSym() 2008-09-23 15:38 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/codebloc.c * updated old and not longer valid comment * harbour/source/vm/memvars.c * minor code formatting * harbour/source/common/expropt2.c ! fixed bug in power math expression optimization caused by two lines left in the code by mistake. Many thanks to Maurilio for locating the problem. * harbour/include/hbstack.h * harbour/source/vm/estack.c * harbour/source/vm/hvm.c % added support for buffering hb_stack TLS access be preloading the stack pointer into C stack function local variables. Please make speed tests for MT mode with different C compilers and different platforms. 2008-09-23 14:50 UTC+0200 Viktor Szakats * contrib/rddads/adsmgmnt.c * Minor. 2008-09-23 14:38 UTC+0200 Viktor Szakats * contrib/hbole/ole2.c * contrib/hbgf/hbgfwin/winapi.c * contrib/hbgf/hbgfos2/os2pm.c * contrib/hbwin/win_ole.c * contrib/hbwhat/wincorec.c * source/rtl/do.c * source/rdd/workarea.c % hb_vmPushSymbol( hb_dynsymSymbol( p ) ) -> hb_vmPushDynSym( p ) * contrib/hbwhat/wincorec.c ! WHT__GETDLGPROC() fixed. ! hb_vmPushSymbol( hb_itemGetSymbol( p ) ) -> hb_vmPushDynSym( p ) * contrib/hbgf/hbgfwin/winapi.c * contrib/hbwhat/wincorec.c * contrib/hbwhat/whtmsg.c * contrib/hbwhat/whtbmp.c * contrib/hbwhat/whtcomm.c * contrib/hbwhat/whthead.c * contrib/hbwhat/whthead.c * contrib/hbwhat/whtkbrd.c * contrib/hbwhat/whtlv.c * contrib/hbwhat/whttext.c * contrib/hbwhat/whtwnd.c * contrib/hbwhat/whtdlg.c * contrib/hbwhat/whttab.c ! Fixed few LPARAM/WPARAM passings to be 64-bit compatible. (hb_parnl()/hb_parni() -> hb_parnint()) * source/vm/thread.c * source/rtl/do.c * source/rdd/usrrdd/usrrdd.c * contrib/hbwhat/whtlv.c * contrib/hbwhat/whtfont.c % hb_vmPushSymbol( hb_itemGetSymbol( p ) ) -> hb_vmPush() ; QUESTION/FIXME: In whtlv.c and whtfont.c this may be wrong, and hb_vmPushDynSym() could be needed instead. Can someone take a look pls? 2008-09-23 08:45 UTC-0300 Antonio Carlos Pantaglione <toninho@fwi.com.br> * contrib/rddads/adsmgmnt.c + ADSMGSETHANDLE( nHandle ) to set an existing connection handle ! ADSMGGETUSERNAMES() that was skipping first user 2008-09-23 11:27 UTC+0200 Viktor Szakats * source/vm/fm.c ! Enabled USE_DL_PREFIX for _MSC_VER compilers. This may be refined, but without this setting MSVS 2008 would give an error on exit and GPF. 2008-09-23 11:24 UTC+0200 Viktor Szakats * include/hbthread.h % Enabled TLS for _MSC_VER compilers. ; Tested with MSVS 2008 32-bit. Someone pls test with older/other MSVC compilers (especially MSVC6 and WinCE mode) to refine the default setting if needed. 2008-09-22 22:08 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/thread.c ! fixed GPF when hb_threadSelf() was executed from thread without allocated ID object (e.g. main thread) 2008-09-22 16:19 UTC-0300 Antonio Carlos Pantaglione <toninho@fwi.com.br> * harbour/contrib/rddads/ads1.c * using AdsCreateIndex61 when ADS_LIB_VERSION >= 610. This functions use ADS_DEFAULT as index page size parameter and force Advantage to compute a page size based on the key size to provide optimal balancing. 2008-09-22 20:54 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rdd/dbfntx/dbfntx1.c * harbour/source/rdd/dbfcdx/dbfcdx1.c * do not allow to close production index by ordBagClear() when strict FP compatibility is set for production index or when _SET_AUTOPEN is enabled. It compatible behavior to ordListClear() function 2008-09-22 20:40 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/classes.c * harbour/source/rdd/workarea.c * pacified BCC warnings * harbour/source/debug/dbgwa.prg * harbour/source/debug/debugger.prg * harbour/source/debug/dbghelp.prg * eliminated two static variables 2008-09-22 14:34 UTC-0300 Antonio Carlos Pantaglione <toninho@fwi.com.br> * source/rtl/dbedit.prg * source/rtl/dirscan.prg * source/rtl/errorsys.prg * source/rtl/hbini.prg * source/rtl/listbox.prg * source/rtl/objfunc.prg * source/rtl/tbrowse.prg * source/rtl/tclass.prg * source/rtl/tget.prg * source/rtl/tgetlist.prg * Code formating and some local decarations inlined 2008-09-22 19:32 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/ChangeLog ! corrected previous ChangeLog entry: instead of hb_waDetach()/ hb_waRequest() should be db_dbDetach()/hb_dbRequest() * harbour/source/vm/hvm.c * disabled PRG tracing in default builds. If someone wants to use this feature then he should recompile Harbour with HB_PRG_TRACE macro. In such case tracing can be enabled/disabled by __TRACEPRGCALLS() function. HB_NO_TRACE macro is not longer usable - it's default in current code. * harbour/source/vm/classes.c + added PRG function __clsPreallocate() which extends the size of classes buffer to given value to avoid later RT reallocations. It may be useful in some very seldom cases for MT programs which will allocate dynamically at runtime more then 16386 classes. In practice rather impossible though who knows ;-) * harbour/source/rdd/workarea.c * set default preallocation size for RDD nodes to 128 + added PRG function __rddPreallocate() which extends the size of RDD nodes buffer to given value to avoid later RT reallocations. It may be useful in some very seldom cases for MT programs which will register dynamically at runtime more then 128 RDDs when other threads are active and may use RDD nodes. * harbour/include/hbrddcdx.h * harbour/source/rdd/dbfcdx/dbfcdx1.c + added ORDLSTDELETE() method. Now ordbagClear() should work for DBFCDX. 2008-09-22 19:24 UTC+0200 Viktor Szakats * bin/bld.bat - Removed recently added cw32mt.lib. ; Now, for MT builds 'set HB_USER_LIBS=cw32mt.lib' should be used. Where cw32mt.lib may also be cp32mt.lib, cp32mti.lib, cw32mti.lib depending on other factors. Notice that even this would only work if Harbour was built with 'set HB_BUILD_ST=no'. 2008-09-22 19:19 UTC+0200 Viktor Szakats * make_b32.mak * make_vc.mak * common.mak * source/rtl/hbgtcore.c ! Any messing with HB_GT_LIB and HB_GT_DEFAULT was removed from non-GNU make files, to leave these things to the source code itself (just like in GNU-make). + Added automatic selection of GTWVT from source code for WinCE, so that it also works in GNU-make. * source/rdd/dbfcdx/dbfcdx1.c ! Restored RTE behaviour when key length is zero. ! Recently added C53 compatible but C52 incompatible RTE (throwing an error when index key is longer than 240 chars) enabled only if HB_COMPAT_C53 and HB_C52_STRICT are both #defined to not make valid C52 apps crash. ; Someone pls review me. 2008-09-22 16:37 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/hbregex.c * added hack to force linking newer PCRE versions not the one included in BCC RTL when Harbour is compiled without HB_PCRE_REGEX_BCC. If user application will uses regex expressions (directly or indirectly by some RTL functions) then lining it without HBPCE should give link time error that pcre_config() function is missing. 2008-09-22 16:14 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbstack.h * harbour/source/vm/estack.c + added support for using stack macros without native compiler TLS support in MT mode. * enabled stack macros by default for OS2 MT builds David, if possible please try speedtst.prg with current MT HVM 2008-09-22 15:23 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/hbinet.c ! fixed W32 compilation 2008-09-21 20:29 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/hbwhat/*.c;*.prg ! Prefixed every WHAT specific functions with "WHT_" and Windows specific functions with "VWN_" ; NOTE: Now onwards HBWhat.lib use proprietory namespace and can be used alongwith any other WINAPI library. In the next few days I will upload a working demo taking care of all the components together. ; FIXME: HBWhat.lib is not usable as is still. Viktor, please examine these two functions in wincorec.c HB_FUNC( WHT__GETDLGPROC ) BOOL CALLBACK __DlgProc( H... ) where I have changed the casts to original code. Only then I could get it worked. It is only for WHT_DialogBox() and I am sure until we fix it no other component will work. It should be easy, IMO, just I do not know the whole story. Probably the above change will not let HbWhat to be compliled by other compilers or they will produce warnings. 2008-09-22 04:27 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/hbinet.c ! fixed typo in previous commit which broke MS-Win builds * check hb_vmReaquestQuery() after executing use codeblocks 2008-09-22 03:49 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbstack.h * harbour/source/vm/estack.c * harbour/source/vm/hvm.c + added support for nested hb_vmUnlock()/hb_vmLock() calls * harbour/source/rtl/hbinet.c * encapsulated all potentially slow inet functions inside hb_vmUnlock()/hb_vmLock() calls 2008-09-22 02:34 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbvm.h * harbour/source/vm/hvm.c * harbour/source/vm/thread.c + added .prg function hb_threadSelf() -> <pThID> | NIL It returns thread ID pointer variable or NIL when thread was registered without it (main thread and some 3rd party threads created by C API) * harbour/source/vm/hvm.c * protect s_InitFunctions and s_ExitFunctions by mutex * harbour/source/common/hbverdsp.c * use hb_verBuildDate() instead of __DATE__ and __TIME__ in hb_verBuildInfo() function to report the same time in both cases. 2008-09-21 23:03 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapi.h * harbour/source/vm/arrays.c + added hb_arrayGetPtrGC(), hb_arrayGetSymbol(), hb_arraySetSymbol() * harbour/include/hbapi.h * harbour/source/vm/dynsym.c + added hb_dynsymProtectEval(). Works like hb_dynsymEval() but keeps dynamic symbol table locked during whole execution. It's faster then hb_dynsymEval() but user function may not access dynamic symbol tbale to not cause recursive locks + added protection against possible dynamic symbol table resizing during hb_dynsymEval() by other threads. * harbour/include/hbapi.h * harbour/source/vm/memvars.c + added hb_memvarSaveInArray( int iScope, BOOL fCopy ) and hb_memvarRestoreFromArray( PHB_ITEM pArray ) % use hb_dynsymProtectEval() in places where it's safe * harbour/include/Makefile + harbour/include/hbthread.ch + added header file with thread constant definitions: HB_THREAD_INHERIT_PUBLIC HB_THREAD_INHERIT_PRIVATE HB_THREAD_INHERIT_MEMVARS HB_THREAD_MEMVARS_COPY * harbour/include/hbthread.h * harbour/source/vm/hvm.c * harbour/source/vm/thread.c + added support for inheriting visible memvars from current thread when new thread is created. Memvars in child thread can be shared with parrent or they can be copied. See HB_THREAD_* attributes defined in hbthread.ch, e.g.: hb_threadStart( HB_THREAD_INHERIT_PUBLIC, @thFunc() ) or: hb_threadStart( HB_BITOR( HB_THREAD_INHERIT_MEMVARS, ; HB_THREAD_MEMVARS_COPY ), ; @thFunc() ) Please note that when child thread creates new PUBLIC variable which didn't existed when thread was started then it's visible only for this thread and optionally for its child threads but not for parent thread. Please also remember that write access to shared memvars have to be protected by users. + harbour/tests/mt/mttest08.prg + added test code for thread memvars inheritance 2008-09-20 05:37 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/common.mak * harbour/source/rdd/Makefile ! restored dbdetach.* in makefiles + harbour/source/rdd/dbdetach.c + added file I forgot to add in previous commit * harbour/source/vm/thread.c + added support for using function name as string in HB_THREADSTART() + added support for thread attributes. They will be used in the future. 2008-09-19 21:28 UTC-0500 Teo Fonrouge (teo/at/windtelsoft/dot/com) * common.mak * source/rdd/Makefile * removed dbdetach.* from make constructors 2008-09-20 03:38 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/hvm.c * minor modification: #ifdef ... => #if defined( ... ) * harbour/source/rtl/gtcrs/gtcrs.c * harbour/source/rtl/gttrm/gttrm.c ! fixed reentrance counter resetting 2008-09-20 00:42 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) + harbour/source/rdd/dbdetach.c + added .prg functions: hb_dbDetach( [<nWorkArea>|<cAlias>], [<xCargo>] ) -> <lSuccess> hb_dbRequest( [<cAlias>], [<lFreeArea>], [<@xCargo>], [<lWait>] ) -> <lSuccess> The first one detach workarea from current thread and move it to special hidden holder. Before detaching all relations (parent and child) to detached workarea are cleared. The second one restores area from the holder and attach it to calling thread. + added Xbase++ compatible functions DbRelease() / DbRequest() Xbase++ users please test. If possible please also check what Xbase++ does with relations and active RLOCKs/FLOCK on released WA. 2008-09-19 22:27 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/set.c ! fixed casting * harbour/contrib/xhb/xhbcopyf.c * replaced TABs with SPACEs * harbour/include/hbapirdd.h * harbour/source/rdd/workarea.c * harbour/source/rdd/wacore.c * harbour/source/rdd/wafunc.c + added support for detaching and attaching workareas * harbour/source/vm/hvm.c % minor cleanup in thread return code * harbour/include/hbthread.h * harbour/source/vm/thread.c * unlock HVM stack during thread join operation * added workaround for DosWaitThread() which seems to fail if thread terminated before ; added FIXME note for OS2 and join code 2008-09-19 12:21 UTC+0100 Miguel Angel Marchuet <miguelangel@marchuet.net> * contrib/hbbmcdx/bmdbfcdx.c * source/rdd/dbfcdx/dbfcdx1.c ! fixed return value after rt error. * Added rt error as in clipper when OrdkeyVal is greater than 240, with default capabilities as in clipper. code to test it: FUNCTION MAIN() LOCAL i LOCAL nSec := SECONDS() REQUEST DBFCDX RddSetDefault( "DBFCDX" ) DBCREATE( "__MYTEST", { { "test", "C", 241, 0 } } ) USE __MYTEST INDEX ON FIELD->Test TO __MYTEST FOR i := 1 TO 10 APPEND BLANK FIELD->test := Replicate( "1", 240 ) + Str( 10 - i, 1 ) NEXT DbGoTop() ? &(OrdKey()) ? "Length of &(OrdKey()) :" + Str( Len( &(OrdKey()) ) ) ? OrdKeyVal() ? "Length of OrdKeyVal() :" + Str( Len(OrdKeyVal()) ) WHILE ! EOF() ? Right( FIELD->Test, 1 ) DbSkip() ENDDO USE FERASE( "__MYTEST.DBF" ) FERASE( "__MYTEST.CDX" ) RETURN NIL 2008-09-19 11:00 UTC+0200 Viktor Szakats * contrib/hbct/fcopy.prg * contrib/hbnf/dfile.prg * contrib/hbpgsql/pgrdd.prg * contrib/hbtpathy/telepath.prg * contrib/rddado/adordd.prg + Some STATICs converted to THREAD STATIC. * contrib/hbtip/ftpcln.prg * STATIC var renamed. 2008-09-18 22:00 UTC+0200 Viktor Szakats * source/vm/fm.c ! Suppressing warnings for foreign dlalloc.c code for BCC. 2008-09-18 21:31 UTC+0200 Viktor Szakats * contrib/xhb/Makefile * contrib/xhb/common.mak + contrib/xhb/xhbcopyf.c + contrib/xhb/tests + contrib/xhb/tests/testcp.prg + contrib/xhb/tests/bld_b32.bat + contrib/xhb/tests/bld_vc.bat + Added XHB_COPYFILE() function, which is (more or less) compatible with xhb's extended __COPYFILE() function. Thanks to Toninho for the initial code and hint. 2008-09-18 20:41 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/thread.c * detach local parameters passed by reference to hb_threadStart() to avoid possible calling thread HVM stack corruption 2008-09-18 19:28 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rdd/dbfcdx/dbfcdx1.c ! fixed memory leak - Many thanks to Miguel for report 2008-09-18 17:24 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/make_rpm.sh * use rpm to test if curl-devel package is installed * harbour/include/hbapi.h * harbour/source/common/hbstr.c + added hb_strduptrim() and hb_strlentrim() * harbour/source/rdd/dbfcdx/dbfcdx1.c ! control total length of KEY and FOR expression together to be compatible with other CDX drivers. Total length of both expressions cannot exceed 512 bytes (with two trailing ASCII 0 characters) 2008-09-18 15:00 UTC+0200 Viktor Szakats * contrib/hbcurl/hbcurl.c ! Made it compile with a slightly older (~7.15.x) versions of libcurl. Please test. 2008-09-18 14:00 UTC+0200 Viktor Szakats * make_vc.mak * Synced with BCC to build in ST mode by default. ; FIXME: There seems to be an old problem where contrib .prg files won't get rebuilt after a modification by running make_vc.bat (MSVC only). Marek, if you see this, could you take a look at it? 2008-09-18 11:48 UTC+0200 Viktor Szakats * contrib/hbmisc/fileread.prg * Changed to use natic CLASS syntax. 2008-09-18 11:25 UTC+0200 Viktor Szakats * make_rpm.sh ! Attempt to detect libcurl. [TOMERGE 1.0] * contrib/hbziparc/hbziparc.prg * contrib/hbwin/win_tole.prg * contrib/hbvpdf/hbvpdf.prg * Some STATIC vars converted to THREAD STATIC. * aReport renamed to s_aReport. (is it a good idea to name 'ts_name' THREAD STATIC vars?) * utils/hbmake/hbmake.prg ! Patch by Bill Robertson applied. This should eliminate any messing with harbour.cfg. 2008-09-18 11:02 UTC+0100 Miguel Angel Marchuet <miguelangel@marchuet.net> * contrib/hbbmcdx/bmdbfcdx.c * source/rdd/dbfcdx/dbfcdx1.c ! fixed generation error when length of key is greater than 256 as Clipper. instead of wait for internal error. * Used defined errors instead of hardcoded numbers. 2008-09-18 07:55 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/cdpapi.c * explicit casting to char * in 1st strchr() parameter as workaround for wrong function prototype in DMC header files 2008-09-18 07:21 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbthread.h * use assembler version of atomic inc/dec operation in all x86 based GCC builds - it should noticeable improve OS2 MT build speed, please test. * harbour/include/hbcomp.h * harbour/include/hbapicdp.h * harbour/include/hbcompdf.h * harbour/include/hbgtcore.h * harbour/include/hbapifs.h * harbour/include/hbwince.h * harbour/include/hbexpra.c * harbour/include/hbexprop.h * harbour/include/hbmacro.h * harbour/include/hbapigt.h * harbour/include/hbapi.h * harbour/include/hbapiitm.h * harbour/include/hbexprb.c * harbour/source/pp/ppcore.c * harbour/source/pp/hbpp.c * harbour/source/vm/macro.c * harbour/source/vm/cmdarg.c * harbour/source/vm/arrays.c * harbour/source/vm/extrap.c * harbour/source/vm/memvars.c * harbour/source/vm/eval.c * harbour/source/vm/extend.c * harbour/source/vm/set.c * harbour/source/main/harbour.c * harbour/source/common/hbfsapi.c * harbour/source/common/reserved.c * harbour/source/common/expropt1.c * harbour/source/macro/macro.yyc * harbour/source/macro/macro.y * harbour/source/macro/macro.yyh * harbour/source/macro/macrolex.c * harbour/source/rtl/gtdos/gtdos.c * harbour/source/rtl/gtwin/gtwin.c * harbour/source/rtl/gtxwc/gtxwc.c * harbour/source/rtl/gtos2/gtos2.c * harbour/source/rtl/hbgtcore.c * harbour/source/rtl/cdpapi.c * harbour/source/rtl/gtcrs/gtcrs.c * harbour/source/rtl/hbtoken.c * harbour/source/rtl/gtchrmap.c * harbour/source/rtl/gtstd/gtstd.c * harbour/source/rtl/gtsln/mousesln.c * harbour/source/rtl/gtsln/gtsln.c * harbour/source/rtl/gtsln/kbsln.c * harbour/source/rtl/gttrm/gttrm.c * harbour/source/rtl/gtpca/gtpca.c * harbour/source/rtl/hbhex.c * harbour/source/rtl/gtgui/gtgui.c * harbour/source/rtl/gt_tpl/gt_tpl.c * harbour/source/rtl/gtcgi/gtcgi.c * harbour/source/rtl/gtwvt/gtwvt.c * harbour/source/rtl/strtran.c * harbour/source/rtl/hbinet.c * harbour/source/rtl/gtapi.c * harbour/source/rtl/filesys.c * harbour/source/rdd/dbfntx/dbfntx1.c * harbour/source/rdd/dbsql.c * harbour/source/rdd/dbfcdx/dbfcdx1.c * harbour/source/rdd/dbffpt/dbffpt1.c * harbour/source/rdd/hbsix/sxfname.c * harbour/source/compiler/ppcomp.c * harbour/source/compiler/hbmain.c * harbour/source/compiler/cmdcheck.c * harbour/source/compiler/hbdbginf.c * harbour/source/compiler/genc.c * harbour/source/compiler/hbident.c * harbour/source/compiler/hbusage.c * harbour/source/compiler/gencc.c * harbour/source/compiler/harbour.yyc * harbour/source/compiler/harbour.y * harbour/contrib/gtalleg/gtalleg.c * harbour/contrib/hbct/charlist.c * harbour/contrib/hbct/charmix.c * harbour/contrib/hbct/screen1.c * harbour/contrib/hbct/atrepl.c * harbour/contrib/xhb/hboutdbg.c * harbour/contrib/xhb/hbxml.c * harbour/contrib/xhb/hbxml.h * harbour/contrib/hbgt/strexpan.c * harbour/contrib/hbsqlit3/sqlite3/sqlite3.c * harbour/contrib/gtwvg/gtwvg.c * harbour/contrib/hbclipsm/status.c * harbour/contrib/hbclipsm/gauge.c * harbour/contrib/hbmisc/stringsx.c * harbour/contrib/hbtip/utils.c * harbour/contrib/hbgf/hbgfgtk/msginfo.c * harbour/contrib/hbgf/hbgfgtk/harbgtk.h * harbour/contrib/hbbmcdx/bmdbfcdx.c * harbour/utils/hbmake/hbmgauge.c * use const char * instead of char * in places which should be marked as const 2008-09-18 01:17 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/fm.c + harbour/source/vm/dlmalloc.c + added alternative memory manager written by Doug Lea It can be activated by recompiling Harbour with HB_FM_DL_ALLOC macro. Please make test on different platforms with different C compilers. Linux users will not benefit from it because the default GLIBC MM is derived from a version of code. NOTE: the results may strongly depend on total memory allocation and will be different then in simple memory tests. 2008-09-17 22:15 UTC+0200 Viktor Szakats * contrib/rddado/adordd.prg ! Marking one STATIC var as thread STATIC. ; BTW, this should be revised for whole contrib .prg code. 2008-09-17 18:38 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbthread.h + added macros to disable default native compiler TLS support: HB_NO_TLS * harbour/source/vm/set.c ! fixed GPF when set listeners were removed 2008-09-17 18:04 UTC+0200 Viktor Szakats * make_gcc.sh * contrib/make_gcc_all.sh ! cyg to w32 architecture conversion got uncommented. 2008-09-17 17:32 UTC+0200 Viktor Szakats * bin/hb-mkslib.sh * make_gcc.sh * make_gnu.sh * make_tgz.sh * make_xmingw.sh * make_xmingwce.sh * contrib/make_gcc_all.sh * contrib/mtpl_gcc.sh - Removed unnecessary explicit SunOS detection. - Removed unnecessary explicit Darwin detection (to be tested). * contrib/mtpl_gcc.sh - Detecting 'cyg' platform looks unnecessary here and may only create problems, so it got removed. * contrib/make_gcc_all.sh ! Fixed 'cyg' platform in contrib make files. * make_tgz.sh ! Fixed .tgz generation for SunOS. Thanks Przemek. I simply copied the Linux method here, I'm not sure 64-bit code would apply here, too. ! Fix for SunOS to link against curses instead of ncurses lib. Someone pls verify me. ; FIXME: make_tgz.sh in OpenSolaris still has these errors: ld: fatal: relocations remain against allocatable but non-writable sections. ld: fatal: library -lharbour: not found 2008-09-17 14:04 UTC+0200 Viktor Szakats * bin/hb-mkslib.sh * make_xmingwce.sh * make_gcc.sh * make_xmingw.sh * make_gnu.sh * make_tgz.sh + Added SunOS platform detection as an attempt to make make_tgz.sh work on OpenSolaris. ; FIXME: Still, when trying to use make_tgz.sh in OpenSolaris, I'm getting these errors: --- ld: fatal: library -lharbour: not found ld: fatal: library -lncurses: not found --- gtar: wheel: %s: Invalid group 2008-09-17 13:22 UTC+0200 Viktor Szakats * tests/memtst.prg * tests/speedtst.prg * Made them compile with < 1.1 Harbour versions. 2008-09-17 01:29 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/make_xmingwce.sh * harbour/make_xmingw.sh + added an option to build utility binaries in cross builds * harbour/source/vm/thread.c ! fixes in OS2 builds MT builds 2008-09-17 01:17 UTC+0200 Viktor Szakats * debian/changelog * Synced with 1.0.1. * source/pp/ppcore.c ! Minor typo in one PP error message. (sync 1.0.1) * Cleaned ":" from all PP error/warning messages to be friendly with Eclipse. * source/compiler/hbgenerr.c * Cleaned some more ":" chars from compiler error/warning messages to be friendly with Eclipse. ; NOTE: Few more still remain. If you have an idea how to rephrase these, pls tell: "Bound error: '%s'" "Syntax error: '%s'" "Syntax error: \"%s at '%s'\"" "Invalid lvalue: '%s'" "Invalid use of '@' (pass by reference): '%s'" "3Incompatible type in assignment to declared array element expected: '%s'" "4Suspicious type in assignment to declared array element expected: '%s'" * utils/hbmake/hbmake.prg * Updated by large patch from Bill Robertson. Adds several enhancements, fixes and optimizations to the previous version. * utils/hbdoc/hbdoc.prg * utils/hbmake/hbmake.prg * utils/hbrun/hbrun.prg * Changed the way version number is shown. * utils/hbmake/hbmake.prg * Updated MT lib lists. (untested) * make_b32.mak * Minor sync with make_vc.mak. * make_vc.mak * Attempt to implement hbvmmt.lib just like in make_b32.mak to make them synced. 2008-09-16 19:11 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/utils/hbtest/rt_class.prg ! fixed description message * harbour/common.mak * harbour/utils/hbtest/Makefile * harbour/utils/hbtest/hbtest.prg + harbour/utils/hbtest/rt_mt.prg + added simple MT test for fast checking MT builds NOTE: DMC builds crashes with and without direct TLS access If possible it has to be fixed. Now MT mode is not supported for this compiler. 2008-09-16 15:57 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbthread.h * do not use native TLS support in BCC builds when CodeGuard is enabled 2008-09-16 14:49 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbthread.h + added DMC to list of compilers which can use __declspec( thread ) + automatically use TLS for Linux and GLIBC >= 2.6 on x86* machines * harbour/include/hbthread.h * harbour/source/vm/estack.c * harbour/source/vm/thread.c ! clean up typos in OS2 builds 2008-09-16 13:01 UTC+0200 Viktor Szakats * source/compiler/hbgenerr.c * Most ':' chars removed from Harbour compiler error messages. Few still remain, where I wasn't sure of the exact meaning or final layout of the texts. Warnings are also a TODO yet. Please review. ; NOTE: We do this to be friendly with Eclipse and maybe other IDEs, where ':' in messages in handled specially. 2008-09-16 12:01 UTC+0200 Viktor Szakats * make_b32.mak * contrib/mtpl_b32.mak ! Removed CG switches. 2008-09-16 05:14 UTC+0200 Viktor Szakats * doc/gmake.txt * doc/gtapi.txt * doc/hbmake.txt * doc/windll.txt * Useless changes. * make_vc.mak * Some untested MT support for MSVC. * include/hbdefs.h ! Removed mistakenly committed experiment to pull in MT related libs. This caused the strange build problem due to empty lib name passed to #pragma. This could work in case someone wanted to deal with it in the future. 2008-09-15 23:08 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) + harbour/tests/memtst.prg + added some simple tests for memory manager * harbour/tests/speedtst.prg * reduced the size of allocated block size to not test C-RTL memory manager but HVM speed * harbour/include/hbthread.h * added for x86@32 PTHREADS builds HB_ATOM_GET() and HB_ATOM_SET() so they can be used together with HB_ATOM_INC()/HB_ATOM_DEC() also for x86@64 but with reduced to 32-bit reference counter. 2008-09-15 21:05 UTC+0200 Viktor Szakats * make_b32.mak * contrib/mtpl_b32.mak + Added -vG -Od to debug flags (CodeGuard and no optimization if HB_BUILD_DEBUG is 'yes'). ; I couldn't test it, because I'm getting a fatal error when trying with my so far working BCC build script. Fatal: Unable to open file '.OBJ' 2008-09-15 20:54 UTC+0200 Viktor Szakats * tests/multifnc/Makefile * doc/gmake.txt * bin/hb-func.sh * bin/postinst.sh * include/hbdefs.h * source/vm/Makefile * source/vm/vmmt/Makefile ! Changed mingw32 to mingw in remaining places. 2008-09-15 17:53 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbthread.h + added assembler MT version of HB_ATOM_INC/HB_ATOM_DEC operation for x86@32 * harbour/source/vm/fm.c ! removed #undef HB_ATOM_INC/HB_ATOM_DEC I left by mistake 2008-09-15 14:54 UTC+0200 Viktor Szakats * bin/bld.bat * bin/bld_os2.cmd * contrib/gtwvg/tests/bld_b32.bat * contrib/hbgd/tests/bld_b32.bat ! Changed CFLAGS to C_USR. 2008-09-15 13:38 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/tests/speedtst.prg * small update in speedtst.prg. It should be enough to make test and compare MT and ST mode speed. Please make test with different C compiler and send results to devel list. 2008-09-15 11:16 UTC+0200 Viktor Szakats * tests/bld_b32.bat * tests/bld_vc.bat + Added bld files for tests. * tests/bld_b32_dll.bat ! .dll name updated. 2008-09-15 04:33 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/pack_src.sh * added file list to archive so it's possible to recreate it later without SVN data * harbour/common.mak * harbour/make_b32.mak * harbour/make_gcc.mak + added HBVMMT library for default builds BCC version not tested - please test. * harbour/source/vm/hvm.c * moved language and code page setting before class and error initialization * harbour/source/rtl/fserror.c * harbour/source/rtl/fstemp.c * harbour/source/rtl/fssize.c * harbour/source/rtl/hbffind.c * harbour/source/rtl/filesys.c ! fixed overloading FS error codes by other operations, e.g. accessing TLS data by OS API function call 2008-09-15 01:00 UTC+0200 Viktor Szakats * source/common/hbverdsp.c * Undone prev change. 2008-09-14 22:46 UTC+0200 Viktor Szakats * utils/hbmake/hbmake.prg ! Fixed two typos in last commit. Thanks to Bill Robertson. 2008-09-14 22:36 UTC+0200 Viktor Szakats * source/common/hbverdsp.c + Showing MT status on //BUILD screen. * contrib/hbvpdf/hbvpdf.prg ! Fix to previous modification (fixing bookmarks). 2008-09-14 22:15 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbsetup.h * accept both settings: HB_FM_STATISTICS and HB_FM_STATISTICS_OFF without errors * harbour/bin/postinst.sh * added small trick to make HBFM lib compilation not dependent on default HB_FM_STATISTIC settings * harbour/include/hbvm.h * harbour/source/vm/hvm.c + added C function hb_vmIsMt() * harbour/source/vm/cmdarg.c * report MT HVM status when program is executed with //INFO parameter * harbour/source/vm/fm.c ! fixed memory statistic MT protection in hb_xrealloc() operation * harbour/config/w32/owatcom.cf * use echo instead of echo. for non empty output. * harbour/include/hbextern.ch * harbour/source/vm/thread.c + added .prg function hb_threadTerminateAll() - it sends QUIT request to each HVM thread and waits for their termination. Can be executed only by main HVM thread. 2008-09-14 16:30 UTC+0200 Lorenzo Fiorini (lorenzo.fiorini/at/gmail.com) * contrib/hbvpdf/hbvpdf.prg * contrib/hbvpdf/hbvpdf.ch * contrib/hbvpdf/test/pdf_demo.prg ! Mostly a cleanup of the code, added some functions to avoid the use of publics vars. 2008-09-14 20:18 UTC+0200 Viktor Szakats * include/common.ch % IS*() macros now using hb_Is*() functions instead of ValType() calls. 2008-09-14 19:59 UTC+0200 Viktor Szakats * make_b32.mak + Now setting 'HB_BUILD_ST = no' will generate an MT build. TODO: Change the default to 'yes' should be the way to go IMO. * bin/bld.bat + Added cw32mt.lib for BCC32 to make it work for MT Harbour. ; I hope this won't break ST Harbour builds, a quick tests proved not. 2008-09-14 19:15 UTC+0200 Viktor Szakats * make_b32.mak * make_vc.mak * make_gcc.mak * A change with the goal to further clean duplicate build controlling options and make the configuration of GNU and non-GNU build systems closer. INCOMPATIBLE. Builders should make the following changes in their configurations and build scripts: - CFLAGS -> C_USR - CLIBFLAGS -> C_USR - LDFLAGS -> L_USR - HARBOURFLAGS -> PRG_USR * BCCDLL_WITH_DYNRT -> HB_BCCDLL_DYNRT Shouldn't this be the default, if it's marked as 'recommended'? ; Basic rules for builders is now pretty simple: C_USR for .c options, L_USR for link options, PRG_USR for .prg options. ; L_USR doesn't work the same way as in GNU-make, yet. ; Also expect, that in the future - even before 1.1 release - these switches might be also standardized to be HB_USR_C, HB_USR_PRG, HB_USR_L, HB_USR_A. 2008-09-14 17:59 UTC+0200 Viktor Szakats + contrib/hbnf/tests/nftest.prg + Adapted hbnf test program from xhb. * contrib/hbnf/common.mak ! File list synced with the GNU-make one. * source/common/hbver.c * "Intl." removed from the version number. Besides mimicing CA-Cl*pper there is not point in including this, since all Harbour compilers are by default international version. 2008-09-14 16:10 UTC+0200 Viktor Szakats * bin/hb-func.sh * source/vm/hvm.c * source/rtl/hbgtcore.c * source/rtl/gtchrmap.c ! Global vars given std names: s_pszLinkedMain -> hb_vm_pszLinkedMain s_defaultGT -> hb_gt_szNameDefault s_szDefaultCharMapFile -> hb_gt_szCharMapFileDefault ; INCOMPATIBLE. 2008-09-14 15:56 UTC+0200 Viktor Szakats * include/hbsetup.ch * Turned off HB_LEGACY_LEVEL by default. ; INCOMPATIBLE. * doc/whatsnew.txt * Synced with 1.0.1. * make_vc.mak * contrib/mtpl_vc.mak * MSVS warning level changed to -W4 (with one warning type manually excluded). ; NOTE/FIXME: This will still generate quite some warnings, hopefully we can fix these until the next major release. 2008-09-14 13:18 UTC+0200 Viktor Szakats * make_b32.mak * make_vc.mak * contrib/mtpl_b32.mak * contrib/mtpl_vc.mak + Attempt to add support for L_USR and A_USR in non-GNU make. A_USR is probably wrong, L_USR might also be. Please test. 2008-09-14 12:54 UTC+0200 Viktor Szakats * harbour-ce-spec * make_xmingwce.sh * harbour-w32-spec * bin/bld.bat * make_xmingw.sh * make_gnu.bat * make_gnu.sh * make_tgz.sh * mingw32 -> mingw changes. ! hbw32 -> hbwin fixes. + config/w32/bcc32.cf - config/w32/bcc.cf * Renamed back, because it's difficult to know in advance how they will solve this, and there would be too many places to update. 2008-09-14 12:38 UTC+0200 Viktor Szakats - config/w32/bcc32.cf + config/w32/bcc.cf - config/w32/mingw32.cf + config/w32/mingw.cf * Cleaning some '32's from HB_COMPILER names. BCC and MinGW 64-bit are coming. ; Please update your build files. INCOMPATIBLE. 2008-09-14 12:28 UTC+0200 Viktor Szakats * harbour-ce-spec * harbour-w32-spec * harbour.spec * common.mak * include/hbver.h * Changed version number to 1.1.0 * include/hbextern.ch + Added new thread functions. * harbour-ce-spec * harbour-w32-spec * contrib/Makefile * contrib/make_b32_all.bat * contrib/make_gcc_all.sh * contrib/make_vc_all.bat - contrib/hbw32 + contrib/hbwin * contrib/hbwin/win_reg.prg * contrib/hbwin/win_os.prg * contrib/hbwin/win_tprt.prg * contrib/hbwin/common.mak - contrib/hbwin/hbw32.ch + contrib/hbwin/hbwin.ch - contrib/hbwin/tests/testw32p.prg + contrib/hbwin/tests/testprn.prg * contrib/hbwin/tests/testreg.prg * contrib/hbwin/tests/bld_b32.bat * contrib/hbwin/tests/testprt1.prg * contrib/hbwin/tests/bld_vc.bat * contrib/hbwin/tests/testprt2.prg * contrib/hbwin/Makefile * Renamed hbw32 to hbwin. * Renamed hbw32.ch to hbwin.ch. ; INCOMPATIBLE. 2008-09-14 11:14 UTC+0200 Viktor Szakats * contrib/gtalleg/ssf.h ! Fixed to compile with Cygwin. * contrib/hbwhat/whtsock.c ! Fixed for PellesC 4.5 where the inclusion order of Windows headers needs to be the opposite of what 5.0 needs. * contrib/hbwhat/whtilst.c ! Fixed to compile with Cygwin. * contrib/hbwhat/whtinet.c ! Added missing Windows macro for Cygwin. ! Fixed three warnings with Cygwin. * contrib/hbwhat/whtseria.c * contrib/hbwhat/whtreg.c * contrib/hbwhat/whtini.c ! Removed #include "tchar.h", because it's unnecessary, and breaks Cygwin. * contrib/hbwhat/whtsys.c ! Removed #include "htmlhelp.h", because it's unnecessary, and breaks Cygwin. 2008-09-13 19:30 UTC+0200 Viktor Szakats * contrib/gtalleg/ssf.h ! Turned off ASM for MSVC AMD64 mode. * contrib/gtalleg/Makefile ! Disabled for OpenWatcom. (maybe compilation could be fixed somehow, if someone is interested pls look into it.) * doc/whatsnew.txt * contrib/hbfimage/fi_winfu.c * contrib/hbfimage/fi_wrp.c ! Fixed for OpenWatcom. * contrib/gtwvg/wvgutils.c * contrib/gtwvg/wvgcore.c ! Silenced some MinGW/PelleC cast warnings. * contrib/hbw32/win_prt.c ! Fixed GCC (MinGW/Cygwin) warnings. The solution I choose is pretty ugly, if someone knows the right one, please help. Warning was: ../../win_prt.c:70: warning: missing initializer ../../win_prt.c:70: warning: (near initialization for `s_PortData[0].OldDCB') ! Fixed few remaining warnings / minor bugs. * contrib/hbwhat/whtlv.c * contrib/hbwhat/whtcomm.c * contrib/hbwhat/whttab.c * contrib/hbwhat/whttree.c ! Silenced MinGW 4.12 warnings. * contrib/hbwhat/whtdate.c ! Removed #include "tchar.h", which seems unnecessary and fixed Cygwin compilation. * contrib/hbwhat/whtsock.c ! Changed #include order of Windows headers to satisfy PellesC 5. ; FIXME1: hbct / SETFDATI() has a possible bug here (shown in PelleC 64-bit): ../../files.c(264): warning #2006: [ISO] Conversion from 'void *' to 'int' is compiler dependent. ../../files.c(264): warning #2052: Conversion from 'void *' to 'int' is undefined. Problem is with HFILE / HANDLE conversion. ; FIXME2: Here are some remaining 64-bit problems: ../../hb_btree.c(643): warning #2006: [ISO] Conversion from 'void *' to 'unsigned long int' is compiler dependent. ../../hb_btree.c(643): warning #2052: Conversion from 'void *' to 'unsigned long int' is undefined. ../../hb_btree.c(739): warning #2006: [ISO] Conversion from 'ioBuffer_T *' to 'unsigned long int' is compiler dependent. ../../hb_btree.c(739): warning #2052: Conversion from 'ioBuffer_T *' to 'unsigned long int' is undefined. ../../win_dll.c(511): warning #2006: [ISO] Conversion from 'void *' to 'unsigned long int' is compiler dependent. ../../win_dll.c(511): warning #2052: Conversion from 'void *' to 'unsigned long int' is undefined. ../../win_ole.c(761): warning #2006: [ISO] Conversion from 'LPDISPATCH' to 'long int' is compiler dependent. ../../win_ole.c(761): warning #2052: Conversion from 'LPDISPATCH' to 'long int' is undefined. ../../win_ole.c(1091): warning #2006: [ISO] Conversion from 'LPDISPATCH' to 'long int' is compiler dependent. ../../win_ole.c(1091): warning #2052: Conversion from 'LPDISPATCH' to 'long int' is undefined. ../../win_ole.c(1425): warning #2006: [ISO] Conversion from 'void *' to 'long int' is compiler dependent. ../../win_ole.c(1425): warning #2052: Conversion from 'void *' to 'long int' is undefined. ../../win_ole.c(1478): warning #2006: [ISO] Conversion from 'void *' to 'long int' is compiler dependent. ../../win_ole.c(1478): warning #2052: Conversion from 'void *' to 'long int' is undefined. ../../win_regc.c(94): warning #2006: [ISO] Conversion from 'HKEY' to 'unsigned long int' is compiler dependent. ../../win_regc.c(94): warning #2052: Conversion from 'HKEY' to 'unsigned long int' is undefined. ../../win_regc.c(116): warning #2006: [ISO] Conversion from 'HKEY' to 'unsigned long int' is compiler dependent. ../../win_regc.c(116): warning #2052: Conversion from 'HKEY' to 'unsigned long int' is undefined. 2008-09-13 13:34 UTC+0200 Viktor Szakats * doc/dirstruc.txt * Updated. - contrib/hbgf/hbgfw32 + contrib/hbgf/hbgfwin * contrib/hbgf/tests/bld_b32.bat * contrib/hbgf/tests/bld_vc.bat * contrib/hbgf/Makefile * contrib/hbgf/hbgfwin/common.mak * contrib/hbgf/hbgfwin/button.prg * contrib/hbgf/hbgfwin/winctrl.prg * contrib/hbgf/hbgfwin/form.prg * contrib/hbgf/hbgfwin/menuitem.prg * contrib/hbgf/hbgfwin/menu.prg * contrib/hbgf/hbgfwin/edit.prg * contrib/hbgf/hbgfwin/Makefile - contrib/hbgf/hbgfwin/win32.c + contrib/hbgf/hbgfwin/winapi.c - contrib/hbgf/hbgfwin/hbgfw32.ch + contrib/hbgf/hbgfwin/hbgfwin.ch * Removed some '32's. 2008-09-13 12:28 UTC+0200 Viktor Szakats * doc/whatsnew.txt * Updated. 2008-09-13 12:28 UTC+0200 Viktor Szakats * contrib/hbw32/Makefile * contrib/hbw32/common.mak * contrib/hbw32/hbw32.ch + contrib/hbw32/hbwin.h + contrib/hbw32/win_prt.c + contrib/hbw32/win_tprt.prg + contrib/hbw32/tests/testprt1.prg + contrib/hbw32/tests/testprt2.prg + Added Windows COM port handling functions. Contributed by Alex Strickland. ; I did some changes to clean warnings, few 64-bit issues, changed to use safe string functions, integrated the header into hbw32.ch, added a new general C level header, split BEGINDUMP into separate .c function, changed to ANSI C comments, marked statics with s_, fixed a few trashed string buffers and leaks in some error cases. Separated tests into distinct .prgs. Fixed for UNICODE mode. Minor optimizations, formatting. ; TODO: Test WinCE build. ; Please test, I don't have any COM ports on my system. 2008-09-13 10:28 UTC+0200 Viktor Szakats * contrib/gtwvg/wvgcore.c * contrib/gtwvg/wvgutils.c ! Fixed 64-bit problems. ; Pritpal, could you please review and test these changes? 2008-09-13 09:37 UTC+0200 Viktor Szakats * contrib/hbvpdf/hbvpdf.prg ! Generic support functions made STATIC to avoid collision with similarly named functions in other libs (like hbct). * contrib/hbvpdf/hbvpdf.prg * contrib/hbvpdf/hbvpdft.prg * Using hb_run() instead of RUN and __run(). 2008-09-12 19:30 UTC+0200 Viktor Szakats * contrib/gtalleg/Makefile * Excluded Cygwin. * contrib/hbwhat/Makefile * contrib/hbwhat/common.mak - contrib/hbwhat/whtdll.c - contrib/hbwhat/whtcall.c - Removed DLL related stuff from hbwhat, since we're maintaining (a better working) one already in hbw32, and hbwhat by itself doesn't seem to need this functionality internally. Users should migrate to the hbw32 functions, which work mostly similarly. 2008-09-12 19:08 UTC+0200 Viktor Szakats * doc/whatsnew.txt * Added some build notes. * contrib/gtalleg/Makefile ! Fixed POCC, XCC compiler exlusions. * Excluded DMC compiler. * contrib/hbwhat/Makefile * Excluded DMC compiler. * contrib/hbwhat/wincorec.c ! Workaround for a wrong Windows API declaration in __DMC__ headers. 2008-09-12 11:01 UTC+0200 Viktor Szakats * contrib/hbole/tests/bld_vc.bat * contrib/hbw32/tests/bld_vc.bat ! Added missing system libs. 2008-09-12 04:03 UTC+0200 Viktor Szakats * contrib/gtwvg/wvgutils.c ! Fix to previous fix, so it works again in 64-bit builds. hb_retclen( ( LPSTR ) pdlgtemplate, ( ( ULONG ) p - ( ULONG ) pdlgtemplate ) ) ; => hb_retclen( ( LPSTR ) pdlgtemplate, ( ( HB_PTRDIFF ) p - ( HB_PTRDIFF ) pdlgtemplate ) ) ; ; This way it's now in sync with similar function in hbwhat. 2008-09-12 01:14 UTC+0200 Viktor Szakats * source/rdd/usrrdd/rdds/Makefile + source/rdd/usrrdd/rdds/arrayrdd.prg + source/rdd/usrrdd/rdds/vfpcdx.prg + Added two usrrdd based RDDs. Borrowed from xhb. Works of: Francesco Saverio Giudice and Miguel Angel Marchuet Frutos ; These were adapted to compile and link in Harbour, but I did no tests, so some more - hopefully minor - changes may happen to be needed. 2008-09-12 00:53 UTC+0200 Viktor Szakats * contrib/rddado/adordd.prg * contrib/rddado/adordd.ch * Merged changes from xhb. Some hbusrrdd.ch values seem to be missing from Harbour, related features will be automatically enabled if we implement them in our usrrdd. Please test. 2008-09-11 22:55 UTC+0200 Viktor Szakats * doc/whatsnew.txt * source/vm/cmdarg.c * Legacy undocumented symbols hb_hInstance and hb_hPrevInstance reenabled for 1.0.1, when HB_LEGACY_LEVEL is #defined. This is the default in 1.0.x. It will be turned off in 1.1.0. I did this to not break binary compatibility of 1.0.1 with 1.0.0 for those apps that rely on these symbols (like gtwvg). 2008-09-11 21:29 UTC+0200 Viktor Szakats * contrib/gtwvg/tests/bld_vc.bat ! Added required list of system libs. 2008-09-11 14:08 UTC+0200 Viktor Szakats * source/rtl/gtpca/gtpca.c * source/rtl/gtwin/gtwin.c * source/rtl/gtwvt/gtwvt.c * source/rtl/gttone.c ! Fixed some core MSVC -W4 warnings. * contrib/hbnf/getenvrn.c ! Fixed compile problem in MSVC C++ mode surfaced after recent UNICODE fix. 2008-09-11 13:13 UTC+0200 Viktor Szakats * contrib/gtwvg/wvgutils.c ! Fixed last MSVC -W4 warnings. ; NOTE: Only these contribs have remaining -W4 warnings: hbbmcdx, hbbtree, hbct (in screen*.c). Plus core. 2008-09-11 12:00 UTC+0200 Viktor Szakats * contrib/hbnf/fttext.c * contrib/hbwhat/whtdate.c * contrib/hbwhat/wincorec.c * contrib/hbwhat/whtsock.c * contrib/hbwhat/whtseria.c * contrib/hbwhat/whtdlg.c * contrib/hbwhat/whtsys.c * contrib/hbwhat/whtmisc.c * contrib/hbwhat/whtcdlg.c ! Fixed all MinGW 4.3x warnings. ! Added workaround for slightly wrong MinGW definition for Windows DateTime_GetMonthCal() macro. * contrib/gtwvg/gtwvg.c * contrib/gtwvg/wvgutils.c * contrib/gtwvg/wvgcore.c ! Fixed all MSVC -W4 warnings. * contrib/gtwvg/gtwvg.h ! Fixed old bug, which surfaced after recently fixing __MINGW__ to __MINGW32__. Apparently, comctl32.h is never needed here. * config/rules.cf * contrib/hbbtree/tests/bld_djgp.bat % Removed -gc0. Now default. * contrib/make_b32_all.bat * contrib/make_vc_all.bat * Minor formatting. * contrib/hbgt/asciisgt.c * utils/hbdoc/hbdoc.prg - Removed unnecessary version strings. This was good in CVS times, but for SVN there is not much point. * utils/hbmake/hbmake.prg + Another patch session from Bill Robertson. Besides some further cleanups, this should fix some problems with the previous version. * source/lang/msghuiso.c * source/lang/msgskiso.c * source/lang/msgrukoi.c * source/lang/msghuwin.c * source/lang/msgzhgb.c * source/lang/msgskwin.c * source/lang/msg_tpl.c * source/lang/msgruwin.c * source/lang/msgelwin.c * source/lang/msgro.c * source/lang/msgpt.c * source/lang/msghriso.c * source/lang/msghrwin.c * source/lang/msgsliso.c * source/lang/msgbe866.c * source/lang/msgslwin.c * source/lang/msghe862.c * source/lang/msgcskam.c * source/lang/msggl.c * source/lang/msgtrwin.c * source/lang/msgeo.c * source/lang/msgbgiso.c * source/lang/msgbgwin.c * source/lang/msgskkam.c * source/lang/msges.c * source/lang/msguakoi.c * source/lang/msgzhb5.c * source/lang/msgeu.c * source/lang/msgpl852.c * source/lang/msgsr852.c * source/lang/msguawin.c * source/lang/msgde.c * source/lang/msgtr857.c * source/lang/msgru866.c * source/lang/msgcs852.c * source/lang/msgfr.c * source/lang/msgis850.c * source/lang/msgnl.c * source/lang/msghu852.c * source/lang/msgsk852.c * source/lang/msgca.c * source/lang/msgplmaz.c * source/lang/msgpliso.c * source/lang/msgplwin.c * source/lang/msgbgmik.c * source/lang/msgid.c * source/lang/msgbg866.c * source/lang/msgltwin.c * source/lang/msgsriso.c * source/lang/msgel.c * source/lang/msgsrwin.c * source/lang/msgbewin.c * source/lang/msgdewin.c * source/lang/msghr437.c * source/lang/msghr852.c * source/lang/msgko.c * source/lang/msgua866.c * source/lang/msghewin.c * source/lang/msgit.c * source/lang/msgsl437.c * source/lang/msgsl852.c * source/lang/msghucwi.c * source/lang/msgcsiso.c * source/lang/msgcswin.c * source/lang/msgeswin.c * source/rtl/langapi.c - Cleared unnecessary version strings. This was good in CVS times, but for SVN there is not much point. 2008-09-14 03:25 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/harbour-ce-spec * harbour/harbour-w32-spec * harbour/harbour.spec + added harbour MT libraries: libfmmt and libhbvmmt * harbour/include/hbstack.h ! respect HB_USE_TLS defined in hbthread.h * harbour/bin/hb-func.sh * always create harbourmt shared library in non DOS builds * harbour/bin/postinst.sh * always create libfmmt in non DOS builds * harbour/source/vm/Makefile * always create libhbvmmt in non DOS builds 2008-09-13 18:49 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbpp.h * harbour/include/hbvm.h * harbour/include/hbcomp.h * harbour/include/hbcompdf.h * harbour/include/hbtrace.h * harbour/include/hbapilng.h * harbour/include/hbinit.h * harbour/source/rtl/langapi.c * harbour/source/pp/ppcore.c * harbour/source/pp/hbpp.c * harbour/source/vm/itemapi.c * harbour/source/vm/hvm.c * harbour/source/common/hbver.c * harbour/source/common/hbtrace.c * harbour/source/common/expropt2.c * harbour/source/compiler/complex.c * harbour/source/compiler/hbident.c * harbour/source/compiler/hbfunchk.c * changed some declarations from 'char *' to 'const char *' and fixed casting for some more pedantic compilers * harbour/source/pp/ppcore.c ! fixed one typo which could cause memory leak and even GPF * harbour/common.mak * harbour/source/vm/Makefile * harbour/source/rtl/Makefile - harbour/source/rtl/set.c + harbour/source/vm/set.c * harbour/include/hbstack.h * harbour/source/vm/estack.c * moved from RTL to HVM * eliminated hb_set global structure * moved set structure to HVM stack + added internal function hb_setClone() which is used to create copy of SET structure for child threads * hidden HB_SET_STRUCT declaration - 3rd part code must not access it directly. Dedicated hb_set*() functions should be used instead. + added new function: BOOL hb_setSetItem( HB_set_enum set_specifier, PHB_ITEM pItem ) which allow to change some set by 3rd party code. TODO: not all SETs can be changed yet - if someone have a while then please add code for missing ones. * harbour/include/set.ch * harbour/include/hbset.h + added _SET_CODEPAGE which works like _SET_LANGUAGE giving common interface * harbour/include/hbsetup.h + added HB_CODEPAGE_DEFAULT which works like HB_LANG_DEFAULT * harbour/source/vm/hvm.c ! fixed builds which uses non EN lang or code page modules by forcing linking the chosen ones * harbour/include/hbstack.h * harbour/source/vm/estack.c * harbour/include/hbapicdp.h * harbour/source/rtl/cdpapi.c - removed global code page variable: hb_cdp_page and moved code page settings to HVM stack + added new function hb_cdpID() which returns current code page character ID + added new functions hb_vmCDP() and hb_vmSetCDP() to get/set active for given thread code page structure * harbour/include/hbstack.h * harbour/source/vm/estack.c * harbour/include/hbapilng.h * harbour/source/rtl/langapi.c + moved lang setting to HVM stack + added new functions hb_vmLang() and hb_vmSetLang() to get/set active for given thread language module * harbour/include/hbvmpub.h * harbour/include/hbstack.h * harbour/include/hbapi.h * harbour/source/vm/estack.c * harbour/source/vm/dynsym.c * harbour/source/vm/itemapi.c * harbour/source/vm/memvars.c * changed memvar handles for HB_HANDLE to void * which is directly casted to PHB_ITEM - new memvar references * changed HB_DYNS declarations for MT mode. In MT mode HB_DYNS does not contain area and memvar handles which are moved to thread local HVM stack + added array for thread local memvar and area handles to HVM stack % eliminated global continues array with all memvars and detached locals % changed HB_IT_MEMVAR to use pointers to HB_ITEM directly - it resolve synchronization problems in MT mode and should also improve the speed and reduce memory usage. It should be well visible in applications which uses lot of detached locals. - removed hb_memvarsInit() and hb_memvarsFree() - they are not necessary now because we do not longer use array with all allocated memvars and detached local and private stack initialization is made automatically + added internal functions hb_dynsymGetMemvar()/hb_dynsymSetMemvar() + added hb_memvarGetValueBySym() for debugger * moved PRIVATE variable stack to HVM stack * eliminated all static variables in memvars module * harbour/include/hbstack.h * harbour/source/vm/estack.c * harbour/source/rtl/fserror.c * moved IO errors to HVM stack + added special IO error handling which works without HVM stack It allows to use hb_fs*() functions without allocated stack by 3rd party threads. * harbour/source/rtl/filesys.c * moved hb_fsCurDir() to HVM stack with special handling to work with HVM stack like IO errors * harbour/source/rdd/workarea.c * allocated RDD node array in bigger peaces to reduce later RT reallocations in MT mode. If user want to add dynamically more then 64 RDDs then it should synchronize this operation himself. * harbour/source/rdd/wacore.c * moved WA list, current WA, default RDD and neteer() flag to HVM stack * harbour/include/hbdefs.h - removed HB_HANDLE declaration * harbour/include/hbapi.h - removed HB_VALUE structure - it's not longer used due to different memvar handling * updated hb_struMemvar to new memvar handling * replaced hb_vmIsLocalRef() and hb_memvarsIsMemvarRef() with hb_vmIsStackRef() which respect multiple stack and new memvar and static structures and location in GC mark pass. * harbour/include/hbstack.h * harbour/source/vm/estack.c * harbour/source/vm/hvm.c + added support for thread specific data located on HVM stack Now it's possible to allocate static variables which are local to thread. Such variables are allocated on HVM stack and automatically destroyed. To declare new TSD variable use: HB_TSD_NEW( <name>, <size>, <init>, <destruct> ) <name> - name of variable which holds TSD handler <size> - size of TSD are which has to be allocated <init> - init function, executed when new TSD is allocated by thread (thread access given TSD 1st time). This function receives void * pointer to allocated area. <destruct> - destructor function executed when HVM stack is destroyed e.g.: static HB_TSD_NEW( s_scrData, sizeof( HB_SCRDATA ), NULL, hb_xSaveRestRelease ); To initialize dynamically allocated TSD variable use: HB_TSD_INIT( <name>, <size>, <init>, <destruct> ) Pointer to TSD can be accessed using hb_stackGetTSD( &<name> ) where <name> is name of variable which holds TSD handler, e.g.: PHB_SCRDATA pScrData = ( PHB_SCRDATA ) hb_stackGetTSD( &s_scrData ); See source/rtl/xsavescr.c as an example It's also possible to test if data has been already allocated for current thread by: hb_stackTestTSD( &<name> ) => pData it works like hb_stackGetTSD() but return NULL if current thread data has not been allocated yet. * harbour/include/hbstack.h * harbour/source/vm/estack.c * changed hb_stack location to thread local storage in MT mode + added functions and macros to access/assign new HVM stack members + changed garbage collection mark functions to work with multiple stacks, thread local static and memvar variables * harbour/source/rtl/xsavescr.c * use TSD data for screen buffer to make __XSAVESCREEN()/__XRESTSCREEN() thread independent * harbour/source/rtl/idle.c * use TSD data for idle task settings and codeblocks - removed hb_idleShutDown() - it's not longer necessary * harbour/source/rtl/setkey.c * use TSD data for allocated keys to make SETKEY() thread independent * harbour/source/rtl/math.c * moved math error handler, math error block, math error mode and math error structure to TSD * harbour/source/rtl/errorapi.c * moved error handler, error block, error launch counter and DOS error value to TSD * harbour/source/rtl/inkey.c * moved inkey "before" and "after" blocks to TSD * harbour/source/rdd/hsx/hsx.c * moved HSX handles array to TSD * harbour/include/hbapigt.h * harbour/source/rtl/console.c - removed hb_setkeyInit() and hb_setkeyExit() - they are not longer necessary, allocated resources will be freed by TSD destructor function * harbour/include/hbapi.h * harbour/source/rtl/console.c * removed hb_conXSaveRestRelease() - it's not longer necessary, allocated resources will be freed by TSD destructor function * harbour/source/vm/macro.c * moved s_macroFlags to TSD * harbour/source/rtl/accept.c * moved accept buffer to TSD * harbour/include/hbcomp.h * harbour/include/hbcompdf.h * harbour/include/hbxvm.h * harbour/source/compiler/hbmain.c * harbour/source/compiler/hbfix.c * harbour/source/compiler/hbpcode.c * harbour/source/compiler/hbdead.c * harbour/source/compiler/complex.c * harbour/source/compiler/genc.c * harbour/source/compiler/gencc.c * harbour/source/compiler/hbopt.c * harbour/source/compiler/hblbl.c * harbour/source/compiler/hbstripl.c * harbour/source/compiler/harbour.y * harbour/source/compiler/harbour.yyc * harbour/source/compiler/harbour.yyh * harbour/source/vm/hvm.c + added new PCODE HB_P_THREADSTATICS + added support for static variables which are local to thread: THREAD STATIC <varname [:= <exp>], ...> They work like normal static variables but each thread operates on its own copy. * added protection against possible double call to hb_xfree() It can happen due to wrong marking expressions as used by bison and executing destructors after our free code when syntax error appear. * harbour/source/rtl/perfuncs.prg * harbour/source/rtl/menuto.prg * harbour/source/rtl/getlist.prg * harbour/source/rtl/readvar.prg * harbour/source/rtl/text.prg * use THREAD STATIC variables to make above code MT safe * harbour/include/hbgtcore.h * harbour/source/rtl/hbgtcore.c + added hb_gt_BaseFree() which will release current GT pointer locked by hb_gt_Base() function. This function will be used to optional automatic GT access synchronization when threads share the same GT. * harbour/source/rtl/gtapi.c * harbour/source/rtl/inkeyapi.c * harbour/source/rtl/mouseapi.c * harbour/contrib/hbct/ctwin.c * free GT pointer by hb_gt_BaseFree() TODO: CTWIN is not MT safe yet - it will be updated together with core GT when we add multi window interface for thread with own console window. * harbour/bin/hb-func.sh * harbour/config/linux/gcc.cf + added rt lib to Linux builds * harbour/bin/postinst.sh * create MT safe version of FM stat library: fmmt * harbour/bin/pack_src.sh + added support for ZIP packing * harbour/include/hbapi.h * harbour/include/hbvm.h * harbour/source/vm/hvm.c + added hb_vmThreadInit()/hb_vmThreadQuit() functions - they initialize HVM for calling thread so it can execute .prg code and call HVM functions. They can be used by 3rd party code threads. + added hb_vmUnlock()/hb_vmLock() functions which informs that thread will not operate on HVM structures for some time allowing to execute single thread only processes like GC. + added hb_vmThreadQuitRequest() which sends stop request to given thread + added hb_vmWaitForThreads() which stops main thread execution waiting for other threads + added hb_vmSuspendThreads() and hb_vmResumeThreads() used be GC to stop all HVM threads before mark/swap scan + added linked list of HVM stacks + added hb_vmTerminateThreads() used by main HVM thread in QUIT state * moved EXIT procedures execution from QUIT request to HVM QUIT state in MT mode. It may effects some non structural code which tries to access private variables in EXIT functions but it's much cleaner and understandable for user. Please remember that we guaranties that ALWAYS code in BEGIN SEQUENCE is _always_ executed even after HVM QUIT request just like destructs. Personally I think that we should move EXIT procedures execution also in ST mode. * changed startup and cleanup code for new internal structures * changes startup and cleanup code for MT mode % removed some redundant HB_ITEM type settings ! eliminated non MT safe code which was using reference counters without protection * harbour/common.mak * harbour/source/vm/Makefile + harbour/include/hbthread.h + harbour/source/vm/thread.c + added C level functions to manage threads and synchronization objects See hbthread.h for detail description. They are based on PTHREAD API and PTHREAD documentation can be used as reference. I intentionally keep this list small for easier multiplatform porting. Now they have been implemented for PTHREADS (POSIX threads supported by many different OSes), MS-Win32/64 and OS2. The OS2 version is not tested at all. I do not even know if it can be compiled so please make tests. I used internet resources and some part of xHarbour code as documentation for OS2 MT API. It should be quite easy to add other platforms if necessary. Harbour core code needs non recursive mutexes, conditional variables and TLS for one pointer. If platforms does not support conditional variables (e.g. MS-Win or OS2) then they can be emulated using multistate semaphores. + added .prg functions to manage threads and synchronization objects: hb_threadStart( <@sStart()> | <bStart> [, <params,...> ] ) -> <pThID> hb_threadJoin( <pThID> [, @<xRetCode> ] ) -> <lOK> hb_threadDetach( <pThID> ) -> <lOK> hb_threadQuitRequest( <pThID> ) -> <lOK> hb_threadWaitForAll() -> NIL hb_mutexCreate() -> <pMtx> hb_mutexLock( <pMtx> [, <nTimeOut> ] ) -> <lLocked> hb_mutexUnlock( <pMtx> ) -> <lOK> hb_mutexNotify( <pMtx> [, <xVal>] ) -> NIL hb_mutexNotifyAll( <pMtx> [, <xVal>] ) -> NIL hb_mutexSubscribe( <pMtx>, [ <nTimeOut> ] [, @<xSubscribed> ] ) -> <lSubscribed> hb_mutexSubscribeNow( <pMtx>, [ <nTimeOut> ] [, @<xSubscribed> ] ) -> <lSubscribed> The function list should give similar to xHarbour API but they are not exactly the same and except of hb_mutex*() functions which should replicate xHarbour behavior. + harbour/source/vm/vmmt + harbour/source/vm/vmmt/Makefile + added hbvmmt library to GNU make builds. Non GNU make builds should be updated. * harbour/contrib/hbct/pos1.c * harbour/contrib/gtwvg/gtwvg.c * harbour/contrib/rddads/ads1.c * harbour/contrib/hbmisc/spd.c * harbour/contrib/hbbmcdx/bmdbfcdx.c * harbour/contrib/examples/rdddbt/dbfdbt1.c * harbour/source/vm/runner.c * harbour/source/vm/itemapi.c * harbour/source/vm/hvm.c * harbour/source/rtl/console.c * harbour/source/rtl/strcase.c * harbour/source/rtl/spfiles.c * harbour/source/rtl/defpath.c * harbour/source/rtl/hbgtcore.c * harbour/source/rtl/dateshb.c * harbour/source/rtl/mlcfunc.c * harbour/source/rtl/fstemp.c * harbour/source/rtl/is.c * harbour/source/rtl/setcolor.c * harbour/source/rtl/errorint.c * harbour/source/rtl/transfrm.c * harbour/source/rtl/dates.c * harbour/source/rtl/filesys.c * harbour/source/rtl/gtdos/gtdos.c * harbour/source/rtl/gtwin/gtwin.c * harbour/source/rtl/gtwvt/gtwvt.c * harbour/source/rtl/gtxwc/gtxwc.c * harbour/source/rtl/gttrm/gttrm.c * harbour/source/rtl/gtpca/gtpca.c * harbour/source/rtl/gtcgi/gtcgi.c * harbour/source/rtl/gtcrs/gtcrs.c * harbour/source/rtl/gtstd/gtstd.c * harbour/source/rtl/gtsln/gtsln.c * harbour/source/rtl/gtsln/gtsln.h * harbour/source/rdd/dbf1.c * harbour/source/rdd/sdf1.c * harbour/source/rdd/delim1.c * harbour/source/rdd/dbcmd.c * harbour/source/rdd/hbdbsort.c * harbour/source/rdd/workarea.c * harbour/source/rdd/dbffpt/dbffpt1.c * harbour/source/rdd/dbfcdx/dbfcdx1.c * harbour/source/rdd/dbfntx/dbfntx1.c * harbour/source/rdd/hsx/hsx.c * harbour/source/rdd/hbsix/sxfname.c * use API functions instead of direct accessing to hb_cdp_page or hb_set * harbour/source/rtl/fstemp.c * harbour/source/rtl/fssize.c * harbour/source/rtl/hbffind.c * harbour/source/rtl/filesys.c * encapsulate potentially slow IO operation inside hb_vmUnlock()/hb_vmLock() calls to allow other thread GC activation * harbour/contrib/hbnf/fttext.c ! fixed casting * harbour/contrib/gtwvg/gtwvg.h - removed #include <comctl32.h> - my MinGW and MinGW/CE instalations do not have them. If it exists in some newer ones then it has to be covered by #if version checking. * harbour/source/vm/dynsym.c - removed hb_dynsymLog() and hb_dynsymMemvarHandle() * modified code to be MT safe and improved speed of some operations * added MUEXT protection for global dynamic table access * harbour/include/hbapi.h * harbour/source/vm/garbage.c * changed to work with MT HVM * changed to work with new memvar structures and thread local static and memvar variables * added MUEXT protection for linked block lists + added parameter to hb_gcCollectAll() which will force GC activation in MT mode by temporary suspending all executed threads. + added logical parameter to HB_GCALL() functions which is passed to hb_gcCollectAll() * harbour/source/vm/fm.c * added MUEXT protection for FM statistic module * added MT protection for reference counters. For platforms which supports atomic incrmenetation/decrementation (e.g. Interlocked*() functions in MS-Win) such operations are used. For other it's MUTEX protection. It gives MT safe readonly access for HVM complex variables without user synchronization. The MUTEX protection can cause some speed overhead so it's good to define MT safe version of HB_ATOM_INC()/HB_ATOM_DEC() in hbthread.h if given platform has them. Now they are defined only for Windows. For other platforms We can define can define them in assembler for some most popular CPUs in the future. * harbour/source/vm/classes.c * changed class definition array. Now it keeps pointers to class structures. * In MT mode allocated at HVM startup big enough array for class definitions to avoid later RT reallocations. It effectively eliminates MUTEX synchronization for class structure access. * protect by MUTEX code for new class creation * harbour/source/debug/dbgentry.c * eliminated hbvmopt.h and direct accessing to HVM structures * harbour/source/rtl/gtclip.c * protect with MUTEX access to internal clipboard data * harbour/source/rdd/nulsys/nulsys.c + added hb_rddCloseAll() + harbour/tests/mt + harbour/tests/mt/mttest01.prg + harbour/tests/mt/mttest02.prg + harbour/tests/mt/mttest03.prg + harbour/tests/mt/mttest04.prg + harbour/tests/mt/mttest05.prg + harbour/tests/mt/mttest06.prg + harbour/tests/mt/mttest07.prg + added some demonstration/test small MT programs written using Harbour language. Some of them can be also compiled by xHarbour but xHarbour does not pass any of my tests in real multi-CPU machine so do not expect they will work correctly. Harbour threads needs OS threads support. Each Harbour thread is directly mapped to OS thread. It's not very efficient on some older system where cost of thread creation and/or task switching is very expensive but it should not be bigger problem for modern OS-es which can support threads in practice nearly in user space only. I haven't touched Harbour function calling convention which comes from Clipper. It means that we do not pass pointer to VM to each functions like CLIP or Xbase++. To resolve the problem I have to use thread local storage (TLS) where such pointer is kept. If platform does not support TLS then it can be emulated by us. Anyhow the speed of accessing TLS data and extracting HB_STACK poitner is critical for performance. Some compilers depending on used hardware and OS give native support for TLS (e.g. __thread keyword in GCC/BCC or __declspec( thread ) in MSVC). This should give optimal performance. On other Harbour uses TLS functions like TlsGetValue() (MS-WIN) or pthread_getspecific() (PTHREAD) are used. OS2 gives quite interesting TLS functionality which seems to be quite fast though it will be interesting to know how it is iplemented internally for real multi CPU machines (if it depends on CPU exception then the performance will be bad). We need TLS only for one pointer to HB_STACK structure. I haven't added any tricks like HB_THREAD_STUB in xHarbour to reduce the cost of TLS access. If it will be necessary for some platform the we can add it. Except TLS Harbour threads needs OS support for non recursive mutexes or critical sections and conditional variables. If platforms does not support conditional variables (e.g. MS-Win or OS2) then they can be emulated using multistate semaphores. I intentionally didn't create code which may need recursive mutexes. The non recursive ones are often faster and some platforms may not support recursive mutexes so they will have to be emulated by us. Harbour uses reference counters for complex variables. It means that even readonly access to complex item causes internal write operations necessary to increment/decrement its reference counter. To make such readonly access MT safe we have to make incrementation and decrementation with result checking atomic. By default it's done by mutex inside vm/fm.c but some platforms have native support for atomic inc/dec operations, e.g. Interlocked*() functions in MS-Win. If they are available then such functions should be used to not reduce the performance by mutex call very often used functions. For many CPUs it should be quite easy to implement such atomic inc/dec functionality in assembler. E.g. for GCC and x86@32 it may looks like: static __inline__ void hb_atomic_inc32( volatile int * p ) { __asm__ __volatile__( "lock incl %0" :"=m" (*p) :"m" (*p) ); } static __inline__ int hb_atomic_dec32( volatile int * p ) { unsigned char c; __asm__ __volatile__( "lock decl %0" "sete %1" :"=m" (*p), "=qm" (c) :"m" (*p) : "memory" ); return c == 0; } and then it's enough to define in hbthreads.h: #define HB_ATOM_INC( p ) hb_atomic_inc32( ( volatile int * ) p ) #define HB_ATOM_DEC( p ) hb_atomic_dec32( ( volatile int * ) p ) Probably I'll make it for some most popular CPUs in the future. In Harbour each thread which wants to call HVM functions have to allocate it's own HVM stack. It's done hb_vmThreadInit(). The HVM stack is freed by calling hb_vmThreadQuit(). This functions can be called also by 3rd party threads if they want to call HVM functions or execute .prg code. Calling HVM functions without allocated stack will cause GPF. I moved most of static variables to HVM stack to make them thread local. But some of them like FS errors have their own alternative copy which is used when thread does not allocate HVM stack. It allows to use hb_fs*() functions without HVM stack but programmer have to know that error codes return by hb_fs*Error() functions can be overwritten by other threads which also didn't allocated HVM stack. To execute garbage collector scan and mark pass it's necessary to stop other HVM threads. Otherwise the scan may give false results. It's also possible to not stop threads but protect with mutex all operations on GC items but it will probably cause performance reduction and will force some other modifications. Maybe I'll implement it in the future. I didn't use any OS level thread KILL or CANCEL calls. All HVM threads have to be cleanly removed without any resource leaks. QUIT command terminate only calling thread. If main (startup) HVM thread call QUIT then it sends QUIT request to all existing threads. In QUIT state ALWAYS statements and destructors are executed. New thread is created by: hb_threadStart( <@sStart()> | <bStart> [, <params,...> ] ) -> <pThID> The returned value is a pointer to internal thread structure which can be used in JOIN or DETACH operations. Each thread should be Joined or DETACHED to avoid resource leaks. If programmer does not store <pThID> or all instances of <pThID> are destroyed then thread is automatically detached. I do not know clear method of thread detaching in OS2. If some OS2 users knows it then plase update vm/hbthread.c. When thread terminates then all locked by this thread mutexes are released. Each thread uses its own memvars (PRIVATEs and PUBLICs) and work areas. When new thread is created then it inherits from parent thread: - code page - language - SETs - default RDD error block is initialized to default value by calling ERRORSYS() and PUBLIC variable GetList := {} is created. The following objects are initialized to default value: - error block - math error handler and math error block - macro compiler features setting (hb_setMacro()) or move them to SETs. We can think about inheriting them. It's also possible to add inheriting of all visible memvars but I do not know it's good idea. Compilation and linking: For MT mode HVM library should be compiled with HB_MT_VM macro. GNU make automatically creates hbvmmt library which should be linked with Harbour MT programs instead of hbvm. Non GNU make files should be updated. If given compiler support TLS then you can try to set HB_USE_TLS to force using native compiler TLS support. Now it's enabled by default only for BCC. For Linux and GCC builds it may depend also on used GLIBC version. In older system there is no TLS support at all or TLS works only for shared binaries so I haven't enabled it. If you will test some other compiler then please add default native TLS support for them in hbthread.h Users using hb* scripts can simply use -mt switch when they want to create MT program, e.g.: hbmk -n -w3 -es2 -mt mttest01.prg There are still some minor things which should be done but I'll do them later. Current state seems to be fully functional. The most important and still missing is our own file lock server for RDD synchronization in POSIX systems. Kernel internally recognize POSIX locks by PID and file i-node - not PID and file handle. It means that the same file open more then once by one process shares locks. Because POSIX locks can be overwritten then we do not have any synchronization between aliased workareas or threads using the same table in *nixes. We have to make synchronization ourselves. I'll create such lock server ASAP. Please test and enjoy using Harbour threads. 2008-09-12 16:05 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/gtwvg/wvgutils.c ! HB_FUNC( WVT__MAKEDLGTEMPLATE ) hb_retclen( ( LPSTR ) pdlgtemplate, ( ( ULONG ) p - ( ULONG ) pdlgtemplate ) ) ; => hb_retclen( ( LPSTR ) pdlgtemplate, ( ( HB_PTRDIFF ) p - ( HB_PTRDIFF ) pdlgtemplate ) ) ; ; NG suggests that Viktor has fixed it but I cannot see to it. So again... * contrib/gtwvg/wvgcore.c + Added <aPxlOff> parameter to the functions it was missing earlier. ; NOTE: Parameter sequence of all GUI components is a mess now, I mean are not uniform. ; I will be introducing a new set of API calls on top of the existing calls with standradized and normalized parameter passing. Developers can take advantage of new functions. Old API will still remain intact. 2008-09-11 18:00 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/gtwvg/wvgutils.c ! HB_FUNC( WVT__MAKEDLGTEMPLATE ) hb_retclen( ( LPSTR ) pdlgtemplate, ( ULONG ) ( p - pdlgtemplate ) ); => hb_retclen( ( LPSTR ) pdlgtemplate, ( ( ULONG ) p - ( ULONG ) pdlgtemplate ) ) ; Fix to open modeless/modal dialogs. ; NOTE: Need to be fixed in v1.0.0 also. 2008-09-10 13:22 UTC+0200 Viktor Szakats * doc/whatsnew.txt + Updated. * contrib/hbw32/Makefile * contrib/hbw32/common.mak - contrib/hbw32/w32_prn.c + contrib/hbw32/win_prn1.c - contrib/hbw32/tprinter.c + contrib/hbw32/win_prn2.c - contrib/hbw32/dllcall.c + contrib/hbw32/win_dll.c - contrib/hbw32/w32_osc.c + contrib/hbw32/win_osc.c - contrib/hbw32/w32_ole.c + contrib/hbw32/win_ole.c - contrib/hbw32/w32_regc.c + contrib/hbw32/win_regc.c - contrib/hbw32/w32_os.prg + contrib/hbw32/win_os.prg - contrib/hbw32/w32_tole.prg + contrib/hbw32/win_tole.prg - contrib/hbw32/w32_reg.prg + contrib/hbw32/win_reg.prg - contrib/hbw32/w32_tprn.prg + contrib/hbw32/win_tprn.prg * Cleaned some 'w32'. * contrib/hbwhat/hbwhat.h ! Hack to disable UNICODE if enabled. hbwhat cannot currently be compiled in UNICODE mode. * contrib/hbwhat/wincorec.c * contrib/hbwhat/whtmisc.c % Made some internal functions static by moving them around. ! Removed TEXT( <function_call> ) type of syntax. * contrib/hbodbc/odbc.c ! MSVC warning fixed in the UNICODE path. * contrib/hbnf/getenvrn.c ! Fixed to compile in Windows/UNICODE mode. 2008-09-10 09:46 UTC+0200 Viktor Szakats * doc/whatsnew.txt + Updated. * contrib/Makefile * contrib/make_b32_all.bat * contrib/make_gcc_all.sh * contrib/make_vc_all.bat - contrib/hbwhat32 + contrib/hbwhat * Renamed to not contain '32'. INCOMPATIBLE. ; NOTE: I plan to do this with a couple of other names too in the future. * contrib/hbwhat/Makefile * contrib/hbwhat/common.mak - contrib/hbwhat/what32.ch + contrib/hbwhat/hbwhat.ch * Renamed what32.ch to not contain '32' (and added hb for consistency if it got renamed anyway). INCOMPATIBLE. * utils/hbmake/hbmake.prg * Updated by Bill Robertson to fix too many things to mention here. (cleaned up lots of stuff, using hb_run()s return values, cleaned to not call main() function recursively (!), display output cleanups, etcetc) * hbwhat32, hbziparch lib name changes. * contrib/examples/pp/hbppcore.c * contrib/examples/pp/hbppcomp.c * contrib/rddads/ads1.c * source/pp/ppcore.c * source/vm/asort.c * source/vm/hvm.c * source/rtl/disksphb.c * source/rdd/dbfntx/dbfntx1.c * source/rdd/workarea.c * contrib/hbct/screen2.c * contrib/hbct/token2.c * while( TRUE ) -> for( ;; ) * do {} while( TRUE ) -> for( ;; ) {} ; To avoid warnings about conditions being constant. 2008-09-09 21:54 UTC+0200 Viktor Szakats * contrib/hbwhat32/hbwhat.h * contrib/hbwhat32/whtcall.c * contrib/hbwhat32/whtclpb.c * contrib/hbwhat32/whtcomm.c * contrib/hbwhat32/whtdll.c * contrib/hbwhat32/whtgdi.c * contrib/hbwhat32/whtilst.c * contrib/hbwhat32/whtinet.c * contrib/hbwhat32/whtini.c * contrib/hbwhat32/whtmisc.c * contrib/hbwhat32/whtmmcap.c * contrib/hbwhat32/whtmsg.c * contrib/hbwhat32/whtsock.c * contrib/hbwhat32/whtsys.c * contrib/hbwhat32/whttab.c * contrib/hbwhat32/whttree.c * contrib/hbwhat32/whtwnd.c * contrib/hbwhat32/wincorec.c ! Fixed remaining 64-bit problems. ! Fixed to work as before, using numbers for pointers. ! Fixed bugs in these internet related functions: INTERNETREADFILE(), INTERNETWRITEFILE() ; NOTE: Number of warnings went down from somewhere well above a thousand to just a few ones, mostly common in other parts of Harbour. If someone could help to clear these remains, it'd be great. Tested with MSVS2008 -W4 64/32-bit modes, BCC 5.8, MinGW 4.31. ; NOTE: I didn't do any real-life tests. Pls do if you're interested or you're using this contrib. ; NOTE: Remaining warnings: - MSVS 2008 -W4 64-bit: wincorec.c(689) : warning C4244: 'argument' : conversion from 'HB_PTRDIFF' to 'ULONG', possible loss of data whtclpb.c(208) : warning C4244: 'argument' : conversion from 'SIZE_T' to 'ULONG', possible loss of data whtdll.c(298) : warning C4311: 'type cast' : pointer truncation from 'LPSTR' to 'DWORD' whtdll.c(299) : warning C4311: 'type cast' : pointer truncation from 'char *' to 'DWORD' whtdll.c(306) : warning C4311: 'type cast' : pointer truncation from 'char *' to 'DWORD' whtlv.c(84) : warning C4267: 'argument' : conversion from 'size_t' to 'ULONG', possible loss of data whtlv.c(109) : warning C4267: 'argument' : conversion from 'size_t' to 'ULONG', possible loss of data whtmem.c(243) : warning C4244: 'argument' : conversion from 'SIZE_T' to 'int', possible loss of data whtmem.c(270) : warning C4244: 'argument' : conversion from 'SIZE_T' to 'int', possible loss of data whtmem.c(279) : warning C4244: 'argument' : conversion from 'SIZE_T' to 'int', possible loss of data whtreg.c(171) : warning C4267: 'argument' : conversion from 'size_t' to 'DWORD', possible loss of data whtshell.c(34) : warning C4267: 'argument' : conversion from 'size_t' to 'ULONG', possible loss of data whtsys.c(1093) : warning C4244: 'argument' : conversion from 'SIZE_T' to 'int', possible loss of data whttext.c(127) : warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data whttext.c(154) : warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data whttext.c(190) : warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data whttext.c(246) : warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data whttext.c(299) : warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data - MSVS 2008 -W4 32-bit: wincorec.c(434) : warning C4152: nonstandard extension, function/data pointer conversion in expression wincorec.c(438) : warning C4152: nonstandard extension, function/data pointer conversion in expression wincorec.c(442) : warning C4152: nonstandard extension, function/data pointer conversion in expression wincorec.c(446) : warning C4152: nonstandard extension, function/data pointer conversion in expression wincorec.c(450) : warning C4152: nonstandard extension, function/data pointer conversion in expression wincorec.c(454) : warning C4152: nonstandard extension, function/data pointer conversion in expression wincorec.c(458) : warning C4152: nonstandard extension, function/data pointer conversion in expression wincorec.c(462) : warning C4152: nonstandard extension, function/data pointer conversion in expression wincorec.c(466) : warning C4152: nonstandard extension, function/data pointer conversion in expression wincorec.c(470) : warning C4152: nonstandard extension, function/data pointer conversion in expression wincorec.c(486) : warning C4152: nonstandard extension, function/data pointer conversion in expression wincorec.c(529) : warning C4055: 'type cast' : from data pointer 'void *' to function pointer 'DLGPROC' wincorec.c(543) : warning C4055: 'type cast' : from data pointer 'void *' to function pointer 'DLGPROC' wincorec.c(556) : warning C4055: 'type cast' : from data pointer 'void *' to function pointer 'DLGPROC' wincorec.c(569) : warning C4055: 'type cast' : from data pointer 'void *' to function pointer 'DLGPROC' whtsys.c(316) : warning C4055: 'type cast' : from data pointer 'void *' to function pointer 'TIMERPROC' whtwnd.c(197) : warning C4055: 'type cast' : from data pointer 'void *' to function pointer 'WNDPROC' - MinGW 4.31 32-bit: wincorec.c:94: warning: signed and unsigned type in conditional expression wincorec.c:95: warning: signed and unsigned type in conditional expression wincorec.c:96: warning: signed and unsigned type in conditional expression wincorec.c:97: warning: signed and unsigned type in conditional expression wincorec.c:119: warning: signed and unsigned type in conditional expression wincorec.c:120: warning: signed and unsigned type in conditional expression wincorec.c:121: warning: signed and unsigned type in conditional expression wincorec.c:122: warning: signed and unsigned type in conditional expression whtcdlg.c:180: warning: signed and unsigned type in conditional expression whtdate.c:61: warning: passing argument 1 of 'hb_retptr' makes pointer from integer without a cast whtdlg.c:169: warning: signed and unsigned type in conditional expression whtmisc.c:95: warning: signed and unsigned type in conditional expression whtmisc.c:349: warning: signed and unsigned type in conditional expression whtseria.c:343: warning: signed and unsigned type in conditional expression whtsock.c:43: warning: signed and unsigned type in conditional expression whtsock.c:108: warning: signed and unsigned type in conditional expression whtsock.c:124: warning: signed and unsigned type in conditional expression whtsock.c:226: warning: signed and unsigned type in conditional expression whtsock.c:246: warning: signed and unsigned type in conditional expression whtsock.c:249: warning: signed and unsigned type in conditional expression whtsock.c:318: warning: signed and unsigned type in conditional expression whtsock.c:331: warning: signed and unsigned type in conditional expression whtsock.c:338: warning: signed and unsigned type in conditional expression whtsys.c:1091: warning: comparison between signed and unsigned 2008-09-09 13:14 UTC+0200 Viktor Szakats * contrib/hbwhat32/whthead.c * contrib/hbwhat32/whtmmcap.c * contrib/hbwhat32/whtshell.c * contrib/hbwhat32/whtdir.c ! Fixed a few problems when compiling with MinGW. * contrib/Makefile * contrib/make_b32_all.bat * contrib/make_gcc_all.sh * contrib/make_vc_all.bat + Readded hbwhat32 to default build lists. ; This doesn't mean this lib works, but the amount of warnings are now on a manageable level on both 32 and 64-bit on BCC/MSVC/MINGW, we can gradually fix the remaining ones, and maybe if we have this lib built, someone will try to use it and maybe fix it. [ We may temply as well disable it again, if it turns out to be a showstopper for 1.0.1 release. ] ; If there is anything against the above, I'd suggest to remove the whole contrib altogether. 2008-09-09 12:37 UTC+0200 Viktor Szakats * source/debug/dbgentry.c ! Fixed recent typo. Thanks Lorenzo. 2008-09-09 11:50 UTC+0200 Viktor Szakats * contrib/mtpl_b32.mak * contrib/mtpl_gcc.mak * contrib/mtpl_vc.mak ! Some more fine tuning. 2008-09-09 11:47 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/asort.c ! fixed GPF when user sort code block reduces the size of sorted array 2008-09-09 11:34 UTC+0200 Viktor Szakats * contrib/hbct/numconv.prg ! Fixed typo. Thanks to Grigory Filatov for reporting it. 2008-09-09 11:32 UTC+0200 Viktor Szakats + contrib/hbwhat32/hbwhat.h * contrib/hbwhat32/whtbmp.c * contrib/hbwhat32/whtbrsh.c * contrib/hbwhat32/whtcall.c * contrib/hbwhat32/whtcdlg.c * contrib/hbwhat32/whtclpb.c * contrib/hbwhat32/whtcomm.c * contrib/hbwhat32/whtcret.c * contrib/hbwhat32/whtdate.c * contrib/hbwhat32/whtdc.c * contrib/hbwhat32/whtdir.c * contrib/hbwhat32/whtdlg.c * contrib/hbwhat32/whtdll.c * contrib/hbwhat32/whtdraw.c * contrib/hbwhat32/whtfont.c * contrib/hbwhat32/whtgdi.c * contrib/hbwhat32/whthead.c * contrib/hbwhat32/whticon.c * contrib/hbwhat32/whtilst.c * contrib/hbwhat32/whtinet.c * contrib/hbwhat32/whtini.c * contrib/hbwhat32/whtkbrd.c * contrib/hbwhat32/whtlv.c * contrib/hbwhat32/whtmain.c * contrib/hbwhat32/whtmapi.c * contrib/hbwhat32/whtmem.c * contrib/hbwhat32/whtmenu.c * contrib/hbwhat32/whtmeta.c * contrib/hbwhat32/whtmisc.c * contrib/hbwhat32/whtmmcap.c * contrib/hbwhat32/whtmous.c * contrib/hbwhat32/whtmsg.c * contrib/hbwhat32/whtpen.c * contrib/hbwhat32/whtprn.c * contrib/hbwhat32/whtrect.c * contrib/hbwhat32/whtreg.c * contrib/hbwhat32/whtrgn.c * contrib/hbwhat32/whtscrlb.c * contrib/hbwhat32/whtseria.c * contrib/hbwhat32/whtshell.c * contrib/hbwhat32/whtsock.c * contrib/hbwhat32/whtsys.c * contrib/hbwhat32/whttab.c * contrib/hbwhat32/whttbar.c * contrib/hbwhat32/whttext.c * contrib/hbwhat32/whttree.c * contrib/hbwhat32/whtview.c * contrib/hbwhat32/whtwnd.c * contrib/hbwhat32/wincorec.c ! Changed pointer related hb_ret, hb_par and hb_stor calls to ptr versions. This might create incompatibilities and since there is no test package for this lib, it's difficult to test if it works. I relied on MSVC warnings. ; There are still some calls to change. One other problem is there is no public equivalent of hb_vmPushLong() for pointers, so these VM specific parts should be changed to use some more official Harbour APIs. 2008-09-09 09:33 UTC+0200 Viktor Szakats * contrib/mtpl_b32.mak * contrib/mtpl_vc.mak * Minor adjustment to previous change (to not display the obj dir creation for each command.) * contrib/hbwhat32/whtdll.c * contrib/hbwhat32/wincorec.c * contrib/hbwhat32/whtsock.c * contrib/hbwhat32/whtcall.c * contrib/hbwhat32/whtclpb.c * contrib/hbwhat32/whtmapi.c * contrib/hbwhat32/whtdlg.c * contrib/hbwhat32/whtwnd.c * contrib/hbwhat32/whtmisc.c * contrib/hbwhat32/whtinet.c ! Fixed MSVS 2008 -W4 warnings. * bin/bld.bat * Some further updates. 2008-09-08 22:49 UTC+0200 Viktor Szakats * bin/bld.bat * Some changes to make it more up-to-date. * utils/hbtest/hbtest.prg * utils/hbtest/rt_array.prg + Added comment to 'TAEVSM' test case saying this is a CA-Cl*pper bug. + Added two additional tests doing resizes in ASORT() blocks. They fail very badly in Harbour. (FIXME) ; Made my indenting of ChangeLog entries compatible with everyone else's. 2008-09-08 21:37 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/hashes.c ! fixed typo in hash cloning code which caused that references was copied to cloned array. Thanks to Mindaugas for example. 2008-09-08 13:59 UTC-0500 Teo Fonrouge (teo/at/windtelsoft/dot/com) * include/hbclass.ch ! added missing MESSAGE <MessageName> TO <oObject> ; this also fixes DELEGATE command 2008-09-08 13:01 UTC+0200 Viktor Szakats * contrib/mtpl_b32.mak * contrib/mtpl_vc.mak * contrib/mtpl_gcc.mak * Changed the location of intermediate obj and c files from /obj/<arch>/ to local [/contrib/<contribname>/]obj/<arch>/ dir so that similar filenames across different contribs would never interfere with each other anymore when using non-GNU make. This was a difficult to detect problem, especially when someone is trying to use custom contribs, and even more so if these custom contribs happen to have 3rd party code with non Harbour controlled filenames. This change is also an important last step to make contribs fully self-containing. ; TODO: mtpl_gcc.mak support has to be finished by someone familiar with bash. ; NOTE: This change shouldn't go to 1.0.1 until well tested and reviewed. ; NOTE: As a consequence of the above, from now on a 'make_*.bat clean' won't anymore clean the objects/.c files of all contribs. If you hadn't do so so far, now you'll need to explicitly call 'contrib/make_*.all.bat clean' to do that. * contrib/mtpl_gcc.mak * make_gcc.mak % HB_ARCHITECTURE hack from cyg to w32 removed, as cyg is not a valid public architecture name in Harbour. cyg is used in make_gcc.sh internally, and it's automatically converted to w32 before using make_gcc.mak, so it would seem that this is solved at the right place already, and the hack is not needed. 2008-09-08 11:44 UTC+0200 Viktor Szakats * doc/whatsnew.txt * doc/dirstruc.txt * Updated. * contrib/hbhpdf/tests/harupdf.prg - contrib/hbhpdf/tests/files/maskimage.png + contrib/hbhpdf/tests/files/maskimag.png - contrib/hbhpdf/tests/files/32_32_2color.dat - contrib/hbhpdf/tests/files/32_32_gray.dat - contrib/hbhpdf/tests/files/penguinattack.ttf - contrib/hbhpdf/tests/files/32_32_rgb.dat * One file renamed to short name. - Some unused files removed. 2008-09-08 02:08 UTC+0200 Viktor Szakats * source/rtl/transfrm.c * source/rtl/set.c * contrib/hbct/ctwin.c * contrib/hbct/token1.c * contrib/hbct/numat.c ! Fixed more MSVS 2008 -W4 warnings. * source/rtl/set.c * Formatting. 2008-09-08 01:33 UTC+0200 Viktor Szakats * contrib/hbcurl/hbcurl.c * contrib/hbcurl/hbcurl.ch + Added support for 7.19.0 features. * doc/whatsnew.txt + Added recent changes. 2008-09-07 01:44 UTC+0200 Viktor Szakats * contrib/hbcurl/make_vc.bat ! Fixed external .lib handling for MSVC. * contrib/rddads/make_vc.bat ! Fixed external .lib handling for MSVC (for older ACE versions). * contrib/hbhpdf/make_b32.bat * contrib/hbhpdf/make_vc.bat + Added .lib/.dll support for libharu 2.1.0 binary distribution version. 2008-09-06 12:38 UTC+0200 Viktor Szakats * source/hbpcre/pcre.h * source/hbpcre/config.h + Upgraded PCRE lib to 7.8 release version. * contrib/hbct/token2.c * contrib/examples/pp/hbppcore.c * Minor formatting. 2008-09-06 11:07 UTC+0200 Viktor Szakats * make_vc.bat * contrib/mtpl_vc.bat + Added -nologo to nmake.exe command line. * source/vm/memvars.c * source/rtl/scroll.c * source/rtl/diskspac.c * source/rtl/console.c * source/rtl/philes.c * source/rtl/oldclear.c * source/rtl/oldbox.c * source/rtl/cdpapi.c * source/rtl/setpos.c * source/rtl/errorapi.c * source/rtl/setcolor.c * source/rtl/philes53.c * source/rtl/setkey.c * source/rtl/disksphb.c * source/rtl/shadow.c * source/rtl/hbhex.c * source/rtl/setcurs.c * source/rtl/dates.c * source/rtl/gtwvt/gtwvt.c * source/rtl/hbinet.c * source/rtl/hbffind.c * source/rtl/filesys.c * contrib/hbct/screen2.c * contrib/hbct/screen1.c * contrib/hbnf/fttext.c ! Fixed more MSVS 2008 -W4 warnings (about 100 of them). * contrib/hbnf/fttext.c ! Fixed C++ compile error after recently switching to Harbour API from Clipper one. 2008-09-05 20:45 UTC+0200 Viktor Szakats * contrib/rddads/adsfunc.c ! Fixed some more MSVS 2008 -W4 warnings. 2008-09-05 20:34 UTC+0200 Viktor Szakats * source/debug/dbgentry.c * source/rtl/do.c * source/rtl/xhelp.c * contrib/xhb/freadlin.c * contrib/hbw32/w32_prn.c * contrib/rddads/ads1.c * contrib/hbgd/gdwrp.c * contrib/hbtip/encmthd.c * utils/hbdoc/hbdfrdln.c * utils/hbmake/hbmfrdln.c ! Fixed some more MSVS 2008 -W4 warnings. 2008-09-05 18:12 UTC+0200 Viktor Szakats * contrib/hbapollo/apollo.c * contrib/hbclipsm/gauge.c * contrib/hbct/atadjust.c * contrib/hbct/atnum.c * contrib/hbct/atrepl.c * contrib/hbct/ctstr.c * contrib/hbct/ctwfunc.c * contrib/hbct/dattime2.c * contrib/hbct/dattime3.c * contrib/hbct/files.c * contrib/hbct/pack.c * contrib/hbct/print.c * contrib/hbct/setrc.c * contrib/hbfbird/firebird.c * contrib/hbhpdf/harupdf.c * contrib/hbmisc/hb_f.c * contrib/hbmzip/hbmzip.c * contrib/hbnf/descendn.c * contrib/hbnf/dispc.c * contrib/hbnf/ftattr.c * contrib/hbnf/ftshadow.c * contrib/hbnf/fttext.c * contrib/hbodbc/odbc.c * contrib/hbole/ole2.c * contrib/hbw32/dllcall.c * contrib/hbw32/tprinter.c * contrib/rddads/ads1.c * contrib/xhb/cstructc.c * contrib/xhb/hbxml.c * contrib/xhb/xhbmsgs.c * utils/hbmake/hbmgauge.c ! Fixed some MSVS 2008 -W4 warnings. ; There are quite some more. * contrib/hbhpdf/harupdf.c ! HPDF_ADDPAGELABEL() accepting first parameter wrongly. * contrib/hbfbird/firebird.c ! FBQUERY() potential GPF when using value from freed memory. * doc/whatsnew.txt * Updated for latest fixes. 2008-09-05 17:41 UTC+0100 Miguel Angel Marchuet <miguelangel@marchuet.net> * contrib/hbbmcdx/bmdbfcdx.c ! fixed dirty index reading. 2008-09-05 17:11 UTC+0200 Lorenzo Fiorini (lorenzo.fiorini/at/gmail.com) * contrib/hbtip/test/tiptest.prg * contrib/hbtip/popcln.prg * fixed typos: "retreived vs retrieved" 2008-09-05 16:54 UTC+0100 Miguel Angel Marchuet <miguelangel@marchuet.net> * contrib/hbbmcdx/bmdbfcdx.c ! fixed to not respect bitmap filters when structural order is scanned, e.g. in OrdListAdd() with active bitmap filter. * source/rtl/hbinet.c ! fixed return value of HB_INETGETSNDBUFSIZE 2008-09-05 15:58 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rdd/dbffpt/dbffpt1.c ! fixed GPF introduced by today MSVC warning cleanup 2008-09-05 12:32 UTC+0200 Viktor Szakats * doc/whatsnew.txt * Reviewed, some clarifications. 2008-09-05 12:01 UTC+0200 Viktor Szakats * source/common/hbver.c ! Version detection fixed for __DMC__ * contrib/mtpl_gcc.mak % One unnecessary C -I option deleted. - contrib/hbsqlit2 + contrib/examples/hbsqlit2 * doc/whatsnew.txt * Moved hbsqlit2 to examples. * contrib/examples/hbsqlit2/Makefile * contrib/examples/hbsqlit2/make_b32.bat * contrib/examples/hbsqlit2/make_gcc.sh * contrib/examples/hbsqlit2/make_vc.bat * contrib/examples/hbsqlit2/common.mak * contrib/examples/hbsqlit2/tests/bld_b32.bat * contrib/examples/hbsqlit2/tests/bld_vc.bat * Modified make files to work from the new location. * Location of sqlite2 headers can be specified by HB_INC_SQLITE2. ; Notice that sqlite2 lib itself should now be build separately. 2008-09-05 11:23 UTC+0200 Viktor Szakats * source/common/hbver.c ! Version detection fixed for __DMC__. 2008-09-05 11:12 UTC+0200 Viktor Szakats * contrib/mtpl_vc.mak - Removed recently (and mistakenly) added unnecessary option. * source/macro/macro.y - Removed old comment, other part synced with harbour.y. * source/rdd/dbffpt/dbffpt1.c ! Fixed MSVC -W4 potentially unused var warnings. * contrib/Makefile * contrib/make_b32_all.bat * contrib/make_gcc_all.sh * contrib/make_vc_all.bat - Removed (commented) references to hbsqlit2. hbsqlit2 is broken due to foreign code problems. It will be converted to use separately compiled sqlite2 library. Pls use hbsqlit3 as a replacement. - contrib/hbsqlit2/vdbeaux.c - contrib/hbsqlit2/build.c - contrib/hbsqlit2/vdbeInt.h - contrib/hbsqlit2/opcodes.h - contrib/hbsqlit2/btree.c - contrib/hbsqlit2/delete.c - contrib/hbsqlit2/printf.c - contrib/hbsqlit2/trigger.c - contrib/hbsqlit2/attach.c - contrib/hbsqlit2/btree.h - contrib/hbsqlit2/sqlite.h - contrib/hbsqlit2/pragma.c - contrib/hbsqlit2/config.h - contrib/hbsqlit2/util.c - contrib/hbsqlit2/select.c - contrib/hbsqlit2/os.c - contrib/hbsqlit2/hash.c - contrib/hbsqlit2/os.h - contrib/hbsqlit2/hash.h - contrib/hbsqlit2/tokenize.c - contrib/hbsqlit2/pager.c - contrib/hbsqlit2/vacuum.c - contrib/hbsqlit2/auth.c - contrib/hbsqlit2/pager.h - contrib/hbsqlit2/insert.c - contrib/hbsqlit2/copy.c - contrib/hbsqlit2/parse.c - contrib/hbsqlit2/where.c - contrib/hbsqlit2/date.c - contrib/hbsqlit2/expr.c - contrib/hbsqlit2/parse.h - contrib/hbsqlit2/LICENSE.txt - contrib/hbsqlit2/random.c - contrib/hbsqlit2/vdbe.c - contrib/hbsqlit2/sqliteInt.h - contrib/hbsqlit2/update.c - contrib/hbsqlit2/main.c - contrib/hbsqlit2/btree_rb.c - contrib/hbsqlit2/vdbe.h - contrib/hbsqlit2/table.c - contrib/hbsqlit2/func.c - contrib/hbsqlit2/opcodes.c - contrib/hbsqlit2/encode.c - Removed foreign code. 2008-09-05 04:01 UTC+0200 Viktor Szakats * doc/whatsnew.txt + Added 1.0.1 changes. Please review. 2008-09-04 19:30 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rdd/dbfntx/dbfntx1.c ! fixed typo in previous commit 2008-09-04 19:08 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rdd/dbfntx/dbfntx1.c * harbour/source/rdd/dbfcdx/dbfcdx1.c ! fixed dirty index reading, thx Miguel for bug report * harbour/source/compiler/hbmain.c * removed old comment and hack 2008-09-04 15:58 UTC+0200 Viktor Szakats * config/w32/msvc.cf * config/w32/msvcce.cf * Synced with latest non-GNU changes. 2008-09-04 09:43 UTC+0200 Viktor Szakats * make_vc.mak * contrib/mtpl_vc.mak + -w34701 VC flag added to enabled warning 4701 (uninitialized vars) on -W3 level. % -FD VC flag removed. This is only needed for IDEs. % -Gs VC flag moved to the common section. % VC flags synced in contrib with core. + FIXME added for WinCE command line. It's full of stuff which is _probably_ not needed. + NOTE added about MSDN page explaining VC switches. ; NOTE: -W4 and -Wp64 are recommended for MSVC. ; FIXME: There are still a few uninit vars warnings: harboury.c(7226) : warning C4701: potentially uninitialized local variable 'hb_complval' used macroy.c(3095) : warning C4701: potentially uninitialized local variable 'hb_macrolval' used dbffpt1.c(2671) : warning C4701: potentially uninitialized local variable 'ulType' used dbffpt1.c(2614) : warning C4701: potentially uninitialized local variable 'ulSize' used dbffpt1.c(3073) : warning C4701: potentially uninitialized local variable 'ulOldSize' used dbffpt1.c(3083) : warning C4701: potentially uninitialized local variable 'ulBlock' used dbffpt1.c(3652) : warning C4701: potentially uninitialized local variable 'pBlock' used * source/rdd/workarea.c ! Fixed DBI_POSITIONED value returned. * include/hbsetup.h * source/vm/pvalue.c * source/rtl/fserror.c * source/rtl/accept.c * source/rtl/descend.c * source/rtl/inkey.c * source/rtl/dates.c * source/rtl/fkmax.c * source/rtl/natmsg.c * source/rtl/hbinet.c * source/rtl/dates.c ! Fixed some MSVS2008 -W4 warnings (we use -W3 as the default). ; NOTE: There is a lot more of these. * source/rtl/dates.c * Formatting. 2008-09-03 23:06 UTC+0200 Viktor Szakats * contrib/hbziparc/hbziparc.prg ! Fix to one of the rarely used function names. * contrib/gtalleg/gtalleg.c * contrib/hbw32/dllcall.c * contrib/hbcurl/hbcurl.c * contrib/hbfimage/fi_winfu.c * contrib/hbfimage/fi_wrp.c * source/vm/memvars.c * source/rtl/gtwin/gtwin.c * source/rtl/math.c * source/rtl/gtclip.c * source/rtl/fstemp.c * source/rtl/is.c * source/rtl/xsavescr.c * source/rtl/fkmax.c * source/rtl/langapi.c * source/rtl/hbrandom.c * source/rtl/hbinet.c * source/rtl/hbffind.c * Minor formatting, code style/format cleanup (!=/== NULL mostly). * source/compiler/genc.c * Minor; empty line added to .c output. 2008-09-03 20:03 UTC+0200 Viktor Szakats * contrib/hbziparc/hbziparc.prg ! Some formatting to docs. + Now .zip extension will only be added if _SET_DEFEXTENSIONS is TRUE (the default). 2008-09-03 19:41 UTC+0200 Viktor Szakats * contrib/hbziparc/hbziparc.prg ! RTE fixed when not specifying some optional params. ! Fixed to parse the right array, and thus not exluding all filenames to be zipped. ; Disclaimer: I'm not a user of these functions, and I've admittedly not tested them besides tests/unzipa.prg and tests/zipa.prg (which are pretty basic cases), so bumps are expected. If you find some bugs, please try to provide patches to fix them. Thanks. 2008-09-03 16:36 UTC+0200 Viktor Szakats * contrib/hbziparc/make_b32.bat * contrib/hbziparc/make_vc.bat % Special C flags not needed anymore. - contrib/hbziparc/hbzipold.cpp + contrib/hbziparc/hbzipcpp.old * Renamed to not look like something live. 2008-09-03 16:02 UTC+0200 Viktor Szakats * harbour-ce-spec * make_deb.sh * harbour-w32-spec * harbour.spec * contrib/Makefile * contrib/make_b32_all.bat * contrib/make_gcc_all.sh * contrib/make_vc_all.bat + contrib/hbziparc - contrib/hbziparch + hbziparc readded to default contrib list, as it creates no more harm now. ; NOTE: And now that this is about ready, we might step forward to develop a .7z interface ;) 2008-09-03 15:47 UTC+0200 Viktor Szakats * contrib/hbziparch/Makefile * contrib/hbziparch/common.mak + contrib/hbziparch/hbziparc.prg - contrib/hbziparch/hbzipnew.cpp + contrib/hbziparch/hbzipold.cpp * contrib/hbziparch/tests/bld_b32.bat * contrib/hbziparch/tests/bld_vc.bat - contrib/hbziparch/Wildcard.h - contrib/hbziparch/ZipString.h - contrib/hbziparch/FileInfo.h - contrib/hbziparch/ZipFileMapping_lnx.h - contrib/hbziparch/ZipMutex_win.h - contrib/hbziparch/ZipPathComponent.h - contrib/hbziparch/Aes.h - contrib/hbziparch/BaseLibCompressor.cpp - contrib/hbziparch/zlib - contrib/hbziparch/ZipCentralDir.h - contrib/hbziparch/RandomPool.h - contrib/hbziparch/ZipPathComponent_win.cpp - contrib/hbziparch/ZipString_stl.h - contrib/hbziparch/ZipPlatform_win.cpp - contrib/hbziparch/std_mfc.h - contrib/hbziparch/DeflateCompressor.h - contrib/hbziparch/ZipCrc32Cryptograph.h - contrib/hbziparch/Wildcard.cpp - contrib/hbziparch/ZipString.cpp - contrib/hbziparch/FileFilter.h - contrib/hbziparch/ZipMutex.h - contrib/hbziparch/ZipCompatibility.cpp - contrib/hbziparch/ZipFileMapping_win.h - contrib/hbziparch/ZipExtraData.cpp - contrib/hbziparch/Sha1.h - contrib/hbziparch/ZipArchive.cpp - contrib/hbziparch/ZipFileHeader.h - contrib/hbziparch/DirEnumerator.cpp - contrib/hbziparch/DeflateCompressor.cpp - contrib/hbziparch/ZipBaseException.h - contrib/hbziparch/std_stl.h - contrib/hbziparch/_features.h - contrib/hbziparch/ZipFileMapping.h - contrib/hbziparch/BaseLibCompressor.h - contrib/hbziparch/FileFilter.cpp - contrib/hbziparch/ZipException.h - contrib/hbziparch/ZipCryptograph.h - contrib/hbziparch/ZipAbstractFile.h - contrib/hbziparch/ZipStorage.h - contrib/hbziparch/ZipStringStoreSettings.h - contrib/hbziparch/stdafx.h - contrib/hbziparch/ZipCompatibility.h - contrib/hbziparch/ZipExtraData.h - contrib/hbziparch/ZipMemFile.h - contrib/hbziparch/Hmac.cpp - contrib/hbziparch/Bzip2Compressor.h - contrib/hbziparch/ZipExport.h - contrib/hbziparch/ZipArchive.h - contrib/hbziparch/ZipExtraField.cpp - contrib/hbziparch/ZipFileHeader.cpp - contrib/hbziparch/ZipPlatform.h - contrib/hbziparch/ZipAesCryptograph.cpp - contrib/hbziparch/ZipException.cpp - contrib/hbziparch/ZipCompressor.h - contrib/hbziparch/ZipFile_stl.cpp - contrib/hbziparch/DirEnumerator.h - contrib/hbziparch/ZipCryptograph.cpp - contrib/hbziparch/ZipStorage.cpp - contrib/hbziparch/ZipAutoBuffer.h - contrib/hbziparch/ZipCollections_mfc.h - contrib/hbziparch/ZipFile_mfc.h - contrib/hbziparch/resource.h - contrib/hbziparch/ZipCallbackProvider.h - contrib/hbziparch/ZipMemFile.cpp - contrib/hbziparch/Bzip2Compressor.cpp - contrib/hbziparch/ZipCollections.h - contrib/hbziparch/ZipFile.h - contrib/hbziparch/Aes.cpp - contrib/hbziparch/ZipCentralDir.cpp - contrib/hbziparch/RandomPool.cpp - contrib/hbziparch/ZipMutex_lnx.h - contrib/hbziparch/Hmac.h - contrib/hbziparch/ZipExtraField.h - contrib/hbziparch/ZipCompressor.cpp - contrib/hbziparch/License.txt - contrib/hbziparch/ZipCrc32Cryptograph.cpp - contrib/hbziparch/ZipAesCryptograph.h - contrib/hbziparch/ZipPathComponent_lnx.cpp - contrib/hbziparch/ZipPlatformComm.cpp - contrib/hbziparch/ZipString_mfc.h - contrib/hbziparch/ZipCallback.h - contrib/hbziparch/ZipAutoBuffer.cpp - contrib/hbziparch/ZipFile_mfc.cpp - contrib/hbziparch/ZipCollections_stl.h - contrib/hbziparch/BytesWriter.h - contrib/hbziparch/ZipPlatform_lnx.cpp - contrib/hbziparch/_platform.h - contrib/hbziparch/ZipFile_stl.h - contrib/hbziparch/readme.txt - contrib/hbziparch/Sha1.cpp + Added .prg level implementation of old hbziparch interface. It's based on Toninhos functions sent to the list, but synced with old interface and extended with new features, fixes and all the remaining interface functions, and old doc. There are some non-implemented stuff, and a couple of NOTEs and FIXMEs, if someone wants, these can be addressed. (some not, as hbmzip doesn't support multi-volume archives.) ; NOTE: This implementation is based on hbmzip.lib, so you MUST link it, to make it work. INCOMPATIBLE. * Library renamed from hbziparch -> hbziparc to be short filename. The dir itself will also be renamed so. INCOMPATIBLE. * Make files modified to compile on all platforms and to pull hbmzip to build tests. - Removed ZipArchive sources. ; Temporarily kept hbzipold.cpp to serve as reference. ; FIXME: There is a problem with the loop adding new files to the .zip. 2008-09-03 15:15 UTC+0200 Viktor Szakats * contrib/hbziparch/Makefile * contrib/hbziparch/common.mak - contrib/hbziparch/hbziparc.c - contrib/hbziparch/hbxdirec.c * contrib/hbziparch/hbzipnew.cpp * Merged Harbour C parts to .cpp file. * Made full low-level interface static. 2008-09-03 15:05 UTC+0200 Viktor Szakats * contrib/hbziparch/hbziparc.c * contrib/hbziparch/hbzipnew.cpp ! Some fixes to prev. 2008-09-03 12:34 UTC+0200 Viktor Szakats * contrib/hbziparch/hbziparc.c * contrib/hbziparch/hbzipnew.cpp ! Some fixes and further reduction. 2008-09-03 10:28 UTC+0200 Viktor Szakats * contrib/hbziparch/hbziparc.c * contrib/hbziparch/hbzipnew.cpp % Merged slightly different internal functions, thus removing significant redundancy. Higher-level hb_unzipFile(), hb_unzipFileIndex(), hb_unzipAllFile() are now functionally the same, since the only difference was how the file list parameter was handled. ! Removed any remaining Win32 dependency. 2008-09-02 23:37 UTC+0200 Viktor Szakats * contrib/hbziparch/hbziparc.c * contrib/hbziparch/hbzipnew.cpp * Complete cleanup/refactor/fixes. (original functions and internal logic was kept, except some shady path/curdir manipulations, which were removed, along with any directory changes) The code got significantly easier to oversee, so if someone wants to find out how this interface works, now the code is much easier to read. If we want to keep this in Harbour, maybe we could just swap the low-level interface to utilize hbmzip calls instead of ZipArchive ones. We would lose the segmented archive feature though, but I'm not sure how important this is these days, when there is no floppy disk anymore. Code size is now 40% smaller than in 1.0.0. It's still far from being perfect, but now it's at least possible to fix. 2008-09-02 10:23 UTC+0200 Viktor Szakats * utils/hbmake/hbmake.prg ; Applied patch by Bill Robertson: ! Fixed previously introduced (by me actually) bug. Thanks. % Removed "non-extended" codepath, since it was never used. ! UI elements fixed to properly accomodate to any screen dimensions. * utils/hbmake/hbmake.prg ! Fixed to not change casing of files, plus a few other minor fixes. ! Made one filename comparison multiplatform by using hb_FileMatch() ; Added FIXMEs where filename comparison is not multiplatform. % Removed some dead or commented code. 2008-09-01 21:52 UTC+0200 Viktor Szakats - contrib/hbw32ddr * contrib/Makefile * contrib/make_b32_all.bat * contrib/make_gcc_all.sh * contrib/make_vc_all.bat - Removed contrib hbw32ddr. For those wanting to peek into this code, or pick up development, the exact source can be found in Harbour 1.0.0 release. 2008-09-01 21:33 UTC+0200 Viktor Szakats * contrib/hbziparch/hbziparc.c * contrib/hbziparch/hbzipnew.cpp % Cleanups, optimizations, fixes. Now it's possible to oversee what the code actually tries to do. * Statics reduced to one, not changing current dir anymore. ; It may happen that something is not working as it was, please test. Path handling is/was very shady. Unix support is (and was) not working at places. ; NOTE: 'Kiss of death' change. Please be prepared that I plan to remove hbziparch from the repository sometimes this week. If you have a strong reason not to do so (or some alternative proposal), pls write to the list. If someone wants to continue using it, it can be accessed from past revisions of the SVN, or the 1.0.0 binary and source releases. Someone could as well upload the lastest (or latest stable) revision to our website. 2008-09-01 15:57 UTC+0200 Viktor Szakats - contrib/hbziparch/hbziparc.h * contrib/hbziparch/hbziparc.c * contrib/hbziparch/hbzipnew.cpp * contrib/hbziparch/tests/unzipa.prg % Further cleanups, optimizations. % Removed adding current directory to .zip filename if it didn't contain a path. If a file doesn't contain path, the OS will create it by default in the current dir. If someone knows why this hack was there, please tell. 2008-09-01 12:39 UTC+0200 Viktor Szakats * contrib/hbziparch/hbziparc.c * contrib/hbziparch/hbzipnew.cpp * One variable rename missed from previous commit. 2008-09-01 12:33 UTC+0200 Viktor Szakats * contrib/hbziparch/hbziparc.h * contrib/hbziparch/hbziparc.c * contrib/hbziparch/hbzipnew.cpp ! Fixed several potential leaks. % Optimized out several unnecessary allocations. % Optimized out several unnecessary string copying. % Cleaned all global variables. % Cleaned all static variables in C code. % Using HB_ERR_FUNCNAME. ! Returning empty values instead of NULL. ! Fixed potential GPFs. ! Using manifest constants instead of literals. * Cleaned header file and constant usage. * Other minor fixes and optimizations. * Formatting. ; The code is still a mess. 2008-09-01 09:42 UTC+0200 Viktor Szakats * contrib/hbziparch/hbziparc.h * contrib/hbziparch/hbziparc.c * contrib/hbziparch/hbzipnew.cpp * contrib/hbziparch/hbxdirec.c % Cleanups: Unused headers, types, one #define, one BCC582 warning, one Linux/GCC/MinGW #ifdef oddness. ; NOTE: Need to test this on Linux. * utils/hbmake/hbmake.prg ; Applied cleanup and fix patch from Bill Robertson: ! LIBFILES -> HBLIBS EXTERNLIB -> CONTRIBLIB EXTLIBFILES -> CONTRIBLIBS * ALLLIB = $(USERLIBS) $(LIBFILES) ... -> ALLLIB = $(USERLIBS) $(CONTRIBLIBS) $(HBLIBS) ... % Removed CONTRIBLIB = YES from makefile output as it did nothing. % Combined two ShowHelp() secs into one and put together with ShowCredits() at top of program. % Simplied Flag checks somewhat but it's still awkward. I fixed a mingw bug where a flag was set to .t. in one place and .f. later because of inconsistent use of letters, capitals/lower, etc. Still lots of checking for lower(...), upper(...), etc. of the command-line params. * Changed Help screen to reflect current program options better. * Made some alert message a little clearer and minor formatting. ! Initalized s_nMakeFileHandle to F_ERROR and reset it to F_ERROR whenever the file was closed. Didn't seem to be a current problem, just good practice. * utils/hbmake/hbmake.prg * Removed separate /credits switch and added content to main help screen. % Removed a few CLS commands from command-line orientated places. % Removed -elx and -ex from help screen (as these are the same as -el and -e). They are still accepted though. * source/compiler/hbusage.c + Added Bill Robertson to credits list. 2008-08-31 16:59 UTC+0200 Viktor Szakats * hbwhat32/whtdate.c * hbwhat32/whthead.c * hbwhat32/whtbrsh.c * hbwhat32/whtgdi.c * hbwhat32/whtmisc.c * hbwhat32/whttab.c * hbwhat32/whtbmp.c * hbwhat32/whtkbrd.c % Using hb_arraySet*() instead of hb_arraySet() 2008-08-31 16:26 UTC+0200 Viktor Szakats * utils/hbdoc/bld_vc.bat * utils/hbmake/bld_vc.bat % Minor cleanup. * contrib/hbwhat32/whticon.c * contrib/hbwhat32/whtcret.c * contrib/hbwhat32/whthead.c * contrib/hbwhat32/whtmous.c * contrib/hbwhat32/whtmeta.c * contrib/hbwhat32/whtrgn.c * contrib/hbwhat32/whttbar.c * contrib/hbwhat32/whtrect.c * contrib/hbwhat32/whtbrsh.c * contrib/hbwhat32/whtgdi.c * contrib/hbwhat32/whtview.c * contrib/hbwhat32/whtlv.c * contrib/hbwhat32/whtwnd.c * contrib/hbwhat32/whtcomm.c * contrib/hbwhat32/whtprn.c * contrib/hbwhat32/whttab.c * contrib/hbwhat32/whtfont.c * contrib/hbwhat32/whtbmp.c * contrib/hbwhat32/whtpen.c * contrib/hbwhat32/whtkbrd.c * contrib/hbwhat32/whttext.c * contrib/hbwhat32/whtdc.c * contrib/hbwhat32/whtdraw.c * contrib/hbnf/fttext.c * contrib/hbnf/peek.c * contrib/hbnf/ontick.c * contrib/hbnf/origin.c * contrib/hbnf/mouse.c * contrib/hbnf/poke.c ! Fixed to use Harbour API instead of legacy Clipper API. + contrib/hbbtree/tests/bld_b32.bat + contrib/hbbtree/tests/bld_vc.bat + contrib/hbbtree/tests/bld_djgp.bat - contrib/hbbtree/tests/mktest.bat * contrib/hbbtree/tests/ctest.c + Added make files. * Minor cleanups. ; One of the tests fail. * contrib/hbbtree/tbtree.prg ! Fixed crash due to scope problem in class declaration. * contrib/examples/pe/editorlo.c ! #include <x> -> #include "x" for Harbour headers. 2008-08-31 10:53 UTC+0200 Viktor Szakats * contrib/hbole/oleauto.prg * contrib/hbw32/w32_tole.prg * MessageBox() calls converted to Alert()s. A #translate added for the to be reconverted to MessageBox(), since I'm not sure why should we use MessageBox()es here? IMO it'd be better to throw RTEs, or handle these cases more "natively". Opinions? * contrib/hbole/oleauto.prg + Modified to generate RTE when the object could not be created, so that it works more like OLE in hbw32.lib, and the test doesn't crash in this case. I don't have Excel, and this is what I could fix without it. * contrib/hbw32/w32_tole.prg * contrib/hbw32/w32_ole.c ! Typos, minor formatting. * common.mak * source/hbpcre/Makefile * source/hbpcre/cnv_hb2o.bat * source/hbpcre/cnv_o2hb.bat - source/hbpcre/ucpinter.h - source/hbpcre/ucptable.h - source/hbpcre/pcrefind.c + source/hbpcre/pcreucd.c * source/hbpcre/pcrevutf.c * source/hbpcre/pcre.h * source/hbpcre/pcreconf.c * source/hbpcre/pcreinfo.c * source/hbpcre/pcremktb.c * source/hbpcre/config.h * source/hbpcre/pcrenewl.c * source/hbpcre/pcreoutf.c * source/hbpcre/chartabs.c * source/hbpcre/pcrerefc.c * source/hbpcre/pcreget.c * source/hbpcre/pcrefinf.c * source/hbpcre/pcretryf.c * source/hbpcre/pcreexec.c * source/hbpcre/pcreinal.h * source/hbpcre/pcretabs.c * source/hbpcre/pcredfa.c * source/hbpcre/pcrever.c * source/hbpcre/pcrecomp.c * source/hbpcre/pcrexcls.c * source/hbpcre/pcrestud.c * source/hbpcre/ucp.h + Updated to PCRE 7.8 RC1 (will be updated to final pretty soon) This version contains the small patches we so far had locally in Harbour. Thanks to Philip Hazel for applying them. 2008-08-30 11:58 UTC+0200 Viktor Szakats * include/hbsetup.ch + Added HB_LEGACY_OFF macro to turn off HB_LEGACY_LEVEL. * utils/hbmake/hbmake.prg * Two minor cleanups. * doc/en/hb_apiit.txt * source/vm/eval.c * PEVALINFO -> PHB_EVALINFO * EVALINFO -> HB_EVALINFO * contrib/hbct/ctwin.c * contrib/hbct/keyset.c * contrib/hbct/misc3.c * contrib/hbnf/numlock.c * contrib/hbnf/shift.c * contrib/hbnf/alt.c * contrib/hbnf/ctrl.c * contrib/hbnf/caplock.c * GTI_* -> HB_GTI_* * source/rtl/spfiles.c * FHANDLE -> HB_FHANDLE 2008-08-29 14:45 UTC+0200 Viktor Szakats * utils/hbmake/hbmake.prg ; Applied patch created by Bill Robertson: * The following functions aren't used in hbmake and were removed: FindCfile(), TestforPrg(), AsDll(), ExtenPrg(), GetMakeDir() 2008-08-29 11:29 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbcompdf.h * harbour/source/compiler/hbmain.c * harbour/source/compiler/harbour.yyc * harbour/source/compiler/harbour.y ! removed all classes and functions static declarations ! fixed cleanup code for classes and functions declarations 2008-08-29 10:40 UTC+0200 Viktor Szakats + config/w32/mingwce.cf - config/w32/cemgw.cf * harbour-ce-spec * make_xmingwce.sh * bin/hb-mkslib.sh * bin/hb-func.sh * bin/postinst.sh * source/vm/Makefile * Renamed 'cemgw' HB_COMPILER name to 'mingwce' for consistency. 2008-08-29 10:35 UTC+0200 Viktor Szakats * ChangeLog ! Minor typo. * utils/hbmake/hbmake.prg % Minor cleanup. * source/common/hbver.c * Further cleanup of constant usage. + Changed Borland to CodeGear to BCC5.9 and above. (borrowed from xhb / Andi Jahja) * config/w32/gcc.cf * config/w32/dm.cf * contrib syslibs moved to separate lines. 2008-08-28 20:17 UTC+0200 Viktor Szakats * make_vc.bat - make_vcce.bat + Added some additional information how to create WinCE builds using make_vc.bat. - Deleted make_vcce.bat 2008-08-28 20:00 UTC+0200 Viktor Szakats * source/rtl/gtchrmap.c * source/rtl/hbgtcore.c * source/vm/hvm.c + Added three FIXMEs regarding namespace violations. s_pszLinkedMain -> hb_vm_pszLinkedMain s_defaultGT -> hb_gt_szNameDefault s_szDefaultCharMapFile -> hb_gt_szCharMapFileDefault FIXME: These should be fixed in 1.1 (or maybe even in 1.0.1 if this isn't such a big problem for 3rd parties). 2008-08-28 18:31 UTC+0200 Viktor Szakats * contrib/gtwvg/wvgutils.c ! Fixed to use documented Harbour API hb_winmainArgGet() instead of the (since cleaned away) undocumented Harbour global variable hb_hInstance. 2008-08-28 12:22 UTC+0200 Viktor Szakats * contrib/hbfimage/fi_winfu.c ! Added CBM_INIT definition for Pellec C in WinCE mode. [UNDONE. CreateDIBitmap() also doesn't exist in WinCE. ] 2008-08-28 12:20 UTC+0200 Viktor Szakats * make_vc.bat * Updated usage text. * include/hbwince.h ! Fix for Pelles C 5.0 in WinCE/ARM mode. * include/hbsetup.h + Detecting Pelles C 5.0 in ARM mode as HB_WINCE. * ChangeLog - Removed some advices not valid anymore from previous entry. * contrib/mtpl_b32.bat * contrib/mtpl_vc.bat * Synced with /make_*.bat so that the name of the .mak file is now hard-wired instead of being HB_CC_NAME dependent. This way contribs may be built for WinCE in the future (this still needs adding WinCE support to mtpl_vc.mak). * contrib/mtpl_gcc.sh + Darwin autodetection was missing. * contrib/hbfimage/fi_winfu.c ! Added CBM_INIT definition for Pellec C in WinCE mode. * source/rtl/gtclip.c + Added GMEM_MOVEABLE definition for Pelles C in WinCE mode. + config/w32/poccce.cf + Added Pellec C WinCE make file. + config/w32/msvcce.cf + Added WinCE GNU make file for MSVC. Untested, probably not working, this is just a small step to make the GNU-make equal in feature with the non-GNU make one. * config/w32/bcc32.cf * Minor sync of C options with non-GNU make file. * config/w32/msvc.cf * Attempt to sync C options with non-GNU make file. * contrib/hbfbird/firebird.c * Minor formatting. ; NOTE1: For better consistency I'd like to rename GNU make compiler names 'mingw32' to 'mingw' (they've dropped '32' long ago), and 'cemgw' to 'mingwce'. ; NOTE2: Pelles C WinCE build still generates following errors: POLINK: error: Unresolved external symbol 'GetModuleFileNameA'. POLINK: error: Unresolved external symbol 'RegOpenKeyExA'. ../../math.c(605): error #3120: [asm] Symbol 'inf' is undefined. contrib\gtwvg\gtwvg.h(78): fatal error #1035: Can't find include file <olectl.h>. ../../ctmath2.c(324): error #3120: [asm] Symbol 'inf' is undefined. ../../win32.c(70): error #2048: Undeclared identifier 'CS_OWNDC'. ../../win32.c(75): error #2048: Undeclared identifier 'IDI_APPLICATION'. ../../win32.c(75): error #2140: Type error in argument 2 to 'LoadIconA'; found 'int', expected 'const char *'. ../../win32.c(181): error #2048: Undeclared identifier 'MFS_DISABLED'. ../../win32.c(194): warning #2027: Missing prototype for 'InsertMenuItem'. ../../win32.c(219): warning #2027: Missing prototype for 'SetMenu'. ../../odbc.c(94): fatal error #1035: Can't find include file <sql.h>. contrib\hbsqlit3\sqlite3\sqlite3.c(9936): warning #2027: Missing prototype for 'localtime'. [ ... ] ../../w32_ole.c(403): error #2152: Unknown field 'pllVal' of 'union (no name)'. ../../w32_ole.c(403): error #2168: Operands of = have incompatible types 'int' and 'long long int *'. ../../w32_ole.c(408): error #2152: Unknown field 'llVal' of 'union (no name)'. ../../w32_ole.c(786): error #2152: Unknown field 'pllVal' of 'union (no name)'. ../../w32_ole.c(786): error #2144: Type error: pointer expected. ../../w32_ole.c(792): error #2152: Unknown field 'llVal' of 'union (no name)'. ../../hbsyslog.c(31): error #2140: Type error in argument 2 to 'RegisterEventSourceW'; found 'const char *', expected 'const wchar_t *'. ../../hbsyslog.c(97): error #2140: Type error in argument 8 to 'ReportEventW'; found 'const char * *', expected 'const wchar_t * *'. ../../firebird.c(448): error #2149: Undefined size for 'times' with type '(incomplete) struct tm'. ../../firebird.c(479): error #2152: Unknown field 'tm_year' of '(incomplete) struct tm'. ../../firebird.c(480): error #2152: Unknown field 'tm_mon' of '(incomplete) struct tm'. ../../firebird.c(481): error #2152: Unknown field 'tm_mday' of '(incomplete) struct tm'. ../../firebird.c(482): error #2152: Unknown field 'tm_hour' of '(incomplete) struct tm'. ../../firebird.c(483): error #2152: Unknown field 'tm_min' of '(incomplete) struct tm'. ../../firebird.c(484): error #2152: Unknown field 'tm_sec' of '(incomplete) struct tm'. ../../firebird.c(493): error #2152: Unknown field 'tm_year' of '(incomplete) struct tm'. ../../firebird.c(493): error #2152: Unknown field 'tm_mon' of '(incomplete) struct tm'. ../../firebird.c(493): error #2152: Unknown field 'tm_mday' of '(incomplete) struct tm'. ../../firebird.c(502): error #2152: Unknown field 'tm_hour' of '(incomplete) struct tm'. ../../firebird.c(503): error #2152: Unknown field 'tm_min' of '(incomplete) struct tm'. ../../firebird.c(504): error #2152: Unknown field 'tm_sec' of '(incomplete) struct tm'. ../../fi_winfu.c(97): warning #2027: Missing prototype for 'CreateDIBitmap'. ../../fi_winfu.c(98): error #2048: Undeclared identifier 'CBM_INIT'. ../../fi_winfu.c(99): error #2168: Operands of = have incompatible types 'HBITMAP' and 'int'. ../../fi_winfu.c(150): warning #2027: Missing prototype for 'GetDIBits'. [ lots of them with hbmysql ] 2008-08-28 01:20 UTC+0200 Viktor Szakats * make_b32.bat * make_vc.bat * exit_err.bat -> hbmkpost.bat Please update your environment if you used this feature. INCOMPATIBLE. * make_vcce.bat ! Adjusted to latest change. * make_gnu.bat * Minor formatting. 2008-08-28 01:14 UTC+0200 Viktor Szakats * make_b32.bat * make_vc.bat ! Made makefile name independent of the HB_CC_NAME envvar. NOTE: If this poses a limitation for someone, please shout, we may add an additional variable to control/override makefile name (but it cannot directly depend on HB_CC_NAME now that make_vc.mak and make_vcce.mak got merged.) 2008-08-27 21:56 UTC+0200 Viktor Szakats + config/w32/poccce.cf + Added POCC GNU make file for WinCE. It has quite some errors yet. 2008-08-27 21:30 UTC+0200 Viktor Szakats * make_vcce.bat ! Fixed. * contrib/rddads/make_vc.bat ! Undone previous modification. Quotes are needed to support dirs containing spaces (this is actually the case for the default install dir of ACE SDK). 2008-08-27 17:05 UTC+0100 JF Lefebvre (Mafact) (jfl at mafact dot com) * contrib/rddads/make_vc.bat * small typo in set _HB_LIB_INSTALL="%HB_LIB_INSTALL% _HB_LIB_INSTALL=%HB_LIB_INSTALL% 2008-08-27 12:05 UTC+0200 Viktor Szakats * source/compiler/hbcomp.c * Changed the default -gc generation mode for real. 2008-08-27 11:22 UTC+0200 Viktor Szakats * contrib/examples/rdddbt/dbfdbt1.c * contrib/gtalleg/gtalleg.c * contrib/gtwvg/gtwvg.c * contrib/hbbmcdx/bmdbfcdx.c * contrib/hbbtree/hb_btree.c * contrib/hbct/ctwin.c * contrib/rddads/ads1.c * source/codepage/cp_tpl.c * source/codepage/cpbg866.c * source/codepage/cpbgiso.c * source/codepage/cpbgmik.c * source/codepage/cpbgwin.c * source/codepage/cpcs852.c * source/codepage/cpcsiso.c * source/codepage/cpcskam.c * source/codepage/cpcswin.c * source/codepage/cpde850.c * source/codepage/cpdeiso.c * source/codepage/cpdewin.c * source/codepage/cpel737.c * source/codepage/cpelwin.c * source/codepage/cpes850.c * source/codepage/cpesmwin.c * source/codepage/cpeswin.c * source/codepage/cpfr850.c * source/codepage/cphr1250.c * source/codepage/cphr437.c * source/codepage/cphr852.c * source/codepage/cphu852.c * source/codepage/cphu852s.c * source/codepage/cphuiso.c * source/codepage/cphuisos.c * source/codepage/cphuwin.c * source/codepage/cphuwins.c * source/codepage/cpit437.c * source/codepage/cpit850.c * source/codepage/cpitisb.c * source/codepage/cpitiso.c * source/codepage/cpltwin.c * source/codepage/cppl852.c * source/codepage/cppliso.c * source/codepage/cpplmaz.c * source/codepage/cpplwin.c * source/codepage/cppt850.c * source/codepage/cpptiso.c * source/codepage/cpru866.c * source/codepage/cpruiso.c * source/codepage/cprukoi.c * source/codepage/cpruwin.c * source/codepage/cpsk852.c * source/codepage/cpskiso.c * source/codepage/cpskkam.c * source/codepage/cpskwin.c * source/codepage/cpsl437.c * source/codepage/cpsl852.c * source/codepage/cpsliso.c * source/codepage/cpslwin.c * source/codepage/cpsrwin.c * source/codepage/cpsv850.c * source/codepage/cpsvclip.c * source/codepage/cpsvwin.c * source/codepage/cptr857.c * source/codepage/cptrwin.c * source/codepage/cpua866.c * source/codepage/cpuakoi.c * source/codepage/cpuawin.c * source/lang/msg_tpl.c * source/lang/msgbe866.c * source/lang/msgbewin.c * source/lang/msgbg866.c * source/lang/msgbgiso.c * source/lang/msgbgmik.c * source/lang/msgbgwin.c * source/lang/msgca.c * source/lang/msgcs852.c * source/lang/msgcsiso.c * source/lang/msgcskam.c * source/lang/msgcswin.c * source/lang/msgde.c * source/lang/msgdewin.c * source/lang/msgel.c * source/lang/msgelwin.c * source/lang/msgeo.c * source/lang/msges.c * source/lang/msgeswin.c * source/lang/msgeu.c * source/lang/msgfr.c * source/lang/msggl.c * source/lang/msghe862.c * source/lang/msghewin.c * source/lang/msghr437.c * source/lang/msghr852.c * source/lang/msghriso.c * source/lang/msghrwin.c * source/lang/msghu852.c * source/lang/msghucwi.c * source/lang/msghuiso.c * source/lang/msghuwin.c * source/lang/msgid.c * source/lang/msgis850.c * source/lang/msgit.c * source/lang/msgko.c * source/lang/msgltwin.c * source/lang/msgnl.c * source/lang/msgpl852.c * source/lang/msgpliso.c * source/lang/msgplmaz.c * source/lang/msgplwin.c * source/lang/msgpt.c * source/lang/msgro.c * source/lang/msgru866.c * source/lang/msgrukoi.c * source/lang/msgruwin.c * source/lang/msgsk852.c * source/lang/msgskiso.c * source/lang/msgskkam.c * source/lang/msgskwin.c * source/lang/msgsl437.c * source/lang/msgsl852.c * source/lang/msgsliso.c * source/lang/msgslwin.c * source/lang/msgsr852.c * source/lang/msgsriso.c * source/lang/msgsrwin.c * source/lang/msgtr857.c * source/lang/msgtrwin.c * source/lang/msgua866.c * source/lang/msguakoi.c * source/lang/msguawin.c * source/lang/msgzhb5.c * source/lang/msgzhgb.c * source/pp/pplib3.c * source/rdd/dbf1.c * source/rdd/dbfcdx/dbfcdx1.c * source/rdd/dbffpt/dbffpt1.c * source/rdd/dbfntx/dbfntx1.c * source/rdd/delim1.c * source/rdd/sdf1.c * source/rtl/gt_tpl/gt_tpl.c * source/rtl/gtcgi/gtcgi.c * source/rtl/gtcrs/gtcrs.c * source/rtl/gtdos/gtdos.c * source/rtl/gtgui/gtdef.c * source/rtl/gtgui/gtgui.c * source/rtl/gtos2/gtos2.c * source/rtl/gtpca/gtpca.c * source/rtl/gtsln/gtsln.c * source/rtl/gtstd/gtstd.c * source/rtl/gttrm/gttrm.c * source/rtl/gtxwc/gtxwc.c * source/rtl/hbregex.c (added as separate, next commit) ! Fix for MSVC 64-bit C mode startup procedure. 2008-08-27 03:57 UTC+0200 Viktor Szakats * utils/hbmake/hbmake.prg ; Applied patches made by Bill Robertson. (Thanks!) % Removed Function C( STRING ) as it was only used in the function, Attention(), to center a line on the screen. % Removed Static Function IsWin() since it wasn't being used. ! Replace all remaining calls to hb_OSNewLine() with s_cEOL. ! Changed some calls from OutStd() to OutErr() since they were essentially errors mesages. % Replaced some long series of FWrite()s with a single FWrite() where convientent so I could see what was being written to the makefile easier. ! Replaced some comparisons from '=' to '=='. 2008-08-27 02:47 UTC+0200 Viktor Szakats * source/rtl/filesys.c ! Disabled hb_fsPOpen() body for __CYGWIN__. This way __CYGWIN__ compiles cleanly. (although I'm not sure how important Cygwin support is) 2008-08-27 01:46 UTC+0200 Viktor Szakats * source/rtl/hbinet.c ! Bad workaround for the '__WSAFDIsSet unresolved' problem in Pelles C 5.00.13 AMD64 mode, to make final executables link at all. Some hbinet.c features (or the whole module) won't properly work though. This possible bug has been reported on the Pellec C forums: https://forum.pellesc.de/index.php?topic=2590.0 2008-08-27 00:54 UTC+0200 Viktor Szakats * include/hbinit.h * source/rtl/gtwin/gtwin.c * source/rtl/gtwvt/gtwvt.c * source/compiler/genc.c + Enabled init functions for MSVC 64-bit in C mode. ; NOTE: You get the idea, please comment. If there is no simpler/easier/shorter way to achieve this, I'll update the rest 150 files, too. 2008-08-26 22:41 UTC+0200 Viktor Szakats * contrib/gtalleg/Makefile * Excluded for POCC and XCC. * contrib/gtalleg/ssf.h ! Setting platform before include Allegro headers. (I'm not sure this is necessary for all platforms, but it surely is for BCC and MinGW). * contrib/gtwvg/gtwvg.h ! __MINGW__ -> __MINGW32__. __MINGW__ is not #defined by MinGW. 2008-08-26 22:23 UTC+0200 Viktor Szakats * contrib/hbct/atnum.c ! Workaround for PelleC 5.00.1 bug in AMD64 mode. 'fatal error: Internal error: reduce_tree()' I didn't test if it actually works, but at least now is compiles. Bug reported on Pelles C forum. 2008-08-26 22:13 UTC+0200 Viktor Szakats * source/common/hbver.c * hb_verCompiler() buffer size cleanup. * source/rtl/hbinet.c * Minor formatting. * utils/hbmake/hbmake.prg * PRG -> .prg on some screen messages. * config/w32/xcc.cf * config/w32/pocc.cf + Added ws2_32.lib. Didn't solve the problem, but as per MS docs of some functions we use, we should use this instead of wsock2 (everywhere actually) [and ws2 instead of winsock for WinCE]. Someone pls correct me if I'm wrong, or if there is any reason we're using both and/or the older one? * config/w32/pocc.cf - Removed C switch -Zx (Enable Pelles C extensions). We don't need this. 2008-08-26 15:14 UTC+0200 Viktor Szakats * source/common/hbver.c + Show bitness for all (non-DJGPP) compilers. ! Fixed to show "Windows Server 2003 / XP x64" when Windows 5.2 is detected. 2008-08-26 13:24 UTC+0200 Viktor Szakats * source/compiler/hbmain.c ! Text casing fixed in some warning messages. ! Attempted to update hardcoded declarations for TGET methods. Some of them were removed, for some of them the parameter list was updated to be in sync with current tget.prg. * contrib/gtalleg/gtalleg.c * contrib/gtwvg/gtwvg.c * contrib/hbbmcdx/bmdbfcdx.c * contrib/hbbmcdx/hbbmcdx.h * contrib/hbbtree/hb_btree.c * contrib/hbct/ctnet.c * contrib/hbct/ctstrfil.c * contrib/hbct/ctwin.c * contrib/hbcurl/hbcurl.c * contrib/hbgd/gdwrp.c * contrib/hbmzip/hbmzip.c * contrib/hbnf/fttext.c * contrib/hbtip/utils.c * contrib/xhb/freadlin.c * contrib/xhb/hbxml.c * contrib/xhb/hbxml.h * doc/codestyl.txt * doc/en/garbage.txt * doc/en/hb_apifs.txt * include/hbapigt.h * include/hbchksum.h * include/hbdbsort.h * include/hbgtcore.h * include/hbrddcdx.h * include/hbrdddbf.h * include/hbrdddel.h * include/hbrddntx.h * include/hbrddsdf.h * include/hbset.h * include/hbsxfunc.h * source/rdd/dbf1.c * source/rdd/dbfcdx/dbfcdx1.c * source/rdd/dbffpt/dbffpt1.c * source/rdd/dbfntx/dbfntx1.c * source/rdd/dbsql.c * source/rdd/hbsix/sxcompr.c * source/rdd/hbsix/sxsem.c * source/rdd/hsx/hsx.c * source/rtl/console.c * source/rtl/copyfile.c * source/rtl/fssize.c * source/rtl/fstemp.c * source/rtl/gt_tpl/gt_tpl.c * source/rtl/gtapi.c * source/rtl/gtcgi/gtcgi.c * source/rtl/gtcrs/gtcrs.c * source/rtl/gtdos/gtdos.c * source/rtl/gtos2/gtos2.c * source/rtl/gtpca/gtpca.c * source/rtl/gtsln/gtsln.c * source/rtl/gtstd/gtstd.c * source/rtl/gttrm/gttrm.c * source/rtl/gtwin/gtwin.c * source/rtl/gtwvt/gtwvt.c * source/rtl/gtxwc/gtxwc.c * source/rtl/hbgtcore.c * source/rtl/hbmd5.c * source/rtl/isprint.c * source/rtl/memofile.c * source/rtl/philes.c * source/rtl/set.c * source/vm/memvars.c * source/vm/runner.c * utils/hbdoc/hbdfrdln.c * utils/hbmake/hbmfrdln.c * FHANDLE -> HB_FHANDLE * hbct: HB_ITEM_PTR -> PHB_ITEM 2008-08-26 12:50 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/compiler/hbmain.c ! reset class and functions static declarations to avoid GPF when more then one file is compiled with -w3 switch NOTE: Whole this code will have to be removed and written from scratch 2008-08-26 11:57 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/compiler/hbmain.c ! fixed GPF when more then one file was compiled with -w3 switch 2008-08-26 10:35 UTC+0200 Viktor Szakats - source/rtl/gtalleg + contrib/gtalleg * TODO * doc/dirstruc.txt * include/hbgtcore.h * contrib/gtalleg/Makefile * contrib/gtalleg/make_b32.bat * contrib/gtalleg/make_vc.bat * contrib/gtalleg/make_gcc.sh * contrib/make_b32_all.bat * contrib/make_vc_all.bat * contrib/make_gcc_all.sh * contrib/Makefile * config/hpux/gcc.cf * config/hpux/global.cf * config/darwin/gcc.cf * config/darwin/global.cf * config/dos/global.cf * config/linux/gcc.cf * config/linux/global.cf * config/sunos/gcc.cf * config/sunos/global.cf * config/bsd/gcc.cf * config/bsd/global.cf * config/w32/global.cf * harbour-ce-spec * harbour-w32-spec * harbour.spec * GTALLEG moved to contrib to make it possible to build using the non-GNU make system, also to align the build process with other 3rd party package dependent parts of Harbour. HB_INC_ALLEGRO or HB_DIR_ALLEGRO may be used to point to Allegro package directory. This is generally necessary on non-*nix systems. ; NOTE: Review and test build processes and modified files, and unmodified, but potentially related files: bin/hb-func.sh make_gnu.sh make_rpm.sh make_rpmce.sh make_rpmw32.sh 2008-08-26 09:00 UTC+0200 Viktor Szakats * include/hbsetup.h + Added small table (partly from MS KB) about _MSC_VER values and MS product names, as we know them. * common.mak * utils/hbdoc/Makefile * utils/hbdoc/bld_b32.bat * utils/hbdoc/bld_vc.bat * utils/hbdoc/hbdoc.prg * utils/hbdoc/genasc.prg * utils/hbdoc/genchm.prg * utils/hbdoc/genhpc.prg * utils/hbdoc/genhtm.prg * utils/hbdoc/genng.prg * utils/hbdoc/genos2.prg * utils/hbdoc/genpdf1.prg * utils/hbdoc/genrtf.prg * utils/hbdoc/gentrf.prg - utils/hbdoc/rtf.prg - utils/hbdoc/os2.prg - utils/hbdoc/teeasc.prg - utils/hbdoc/ng.prg - utils/hbdoc/html.prg - utils/hbdoc/troff.prg ! Removed non-ASCII drawing chars from comments. % Removed STATIC var from THTML class. % Merged separate support classes to their gen*.prg. 2008-08-26 08:10 UTC+0200 Viktor Szakats * utils/hbmake/hbmake.prg ! Some liblists synced with xhb / hbmake. 2008-08-26 02:43 UTC+0200 Viktor Szakats * contrib/xhb/hbcrypt.c * contrib/hbw32/tprinter.c * contrib/hbw32/w32_ole.c * contrib/hbw32/w32_prn.c * contrib/hbfbird/tests/testapi.c * contrib/hbziparch/hbziparc.c * contrib/hbziparch/hbzipnew.cpp * contrib/hbhpdf/harupdf.c * contrib/hbfimage/fi_winfu.c * contrib/hbfimage/fi_wrp.c * contrib/hbgf/hbgfw32/win32.c * contrib/hbgf/hbgfos2/os2pm.c * source/rtl/filesys.c * utils/hbtest/rt_miscc.c * // -> ANSI comments. ; NOTE: hbwhat32 and gtwvg remain with //. 2008-08-26 00:43 UTC+0200 Viktor Szakats * make_vc.bat * make_vcce.bat * make_vc.mak - make_vcce.mak % make_vcce functionality merged into make_vc. * make_vcce.bat changed to a stub calling make_vc.bat. ; WinCE builds can be triggered using envvars: set HB_BUILD_WINCE=yes set HB_CC_NAME=vcce Please update your environment and test WinCE builds after this change. * make_vc.mak * contrib/mtpl_vc.mak * Changed HB_VISUALC_VER default to 80. It was 60 for non-WinCE builds and contribs, 80 for WinCE builds. Now it is 80 for all these cases. * make_b32.mak * Minor comment visual sync with make_vc.mak. 2008-08-25 23:30 UTC+0200 Viktor Szakats * doc/cmdline.txt * doc/hrb_faq.txt * doc/en/cmdline.txt * doc/en/dir.txt * doc/en/file.txt * doc/en/set.txt * doc/es/cmdline.txt * doc/es/dir.txt * doc/es/file.txt * doc/whatsnew.txt * contrib/hbct/disk.c * contrib/hbodbc/odbc.txt * contrib/hbwhat32/whtmapi.c * contrib/hbwhat32/whtsys.c * contrib/hbwhat32/whtinet.c * contrib/hbziparch/hbziparc.c * contrib/hbnf/chdir.c * contrib/hbnf/tempfile.prg * contrib/hbnf/ftisprn.c * contrib/hbnf/getenvrn.c * contrib/hbnf/mkdir.c * contrib/hbnf/rmdir.c * contrib/hbpgsql/readme.txt * contrib/hbclipsm/environ.c * contrib/hbclipsm/tests/testenv.prg * contrib/hbgd/tests/gdtest.prg * contrib/hbgd/tests/test_out.prg * contrib/hbgd/tests/gdtestcl.prg * contrib/hbgd/tests/testdpi.prg * contrib/hbgd/tests/counter.prg * contrib/hbtip/thtml.prg * contrib/hbvpdf/hbvpdf.prg * contrib/hbvpdf/tests/pdf_demo.prg * contrib/hbvpdf/hbvpdft.prg * contrib/examples/guestbk/guestbk.prg * contrib/examples/pe/editorlo.c * utils/hbdoc/genos2.prg * utils/hbdoc/hbdoc.prg * utils/hbmake/hbmake.prg ! Filename casing fixes. (nothing critical) 2008-08-25 22:49 UTC+0200 Viktor Szakats * include/hbsetup.h ! Fixed OS_UNIX_COMPATIBLE + Small comments added. ; NOTE: I'd like to do the following global renames: HB_WINCE -> HB_OS_WIN_CE HB_OS_WIN_32 -> HB_OS_WIN Opinions? Especially on the latter. * include/hbdefs.h * include/hbinit.h * contrib/hbodbc/odbc.c * _WIN64 -> HB_OS_WIN_64 2008-08-25 22:49 UTC+0200 Viktor Szakats * make_vcce.mak ! Do not explicitly #define HB_WINCE. This should be autodetected in hbsetup.h. * include/hbsetup.h % Minor cleanup. 2008-08-25 22:35 UTC+0200 Viktor Szakats * include/hbsetup.h * source/common/hbver.c - Removed HB_OS_MAC support. It was nothing more than a simple detection and a static version string, so we didn't lose much. 2008-08-25 22:25 UTC+0200 Viktor Szakats * make_vcce.mak ! Attempt to fix /MANIFEST:NO warnings for MSVC 6.0. ! Attempt to fix WinCE .dll linking error. ; Jose, another test would be great. * make_vc.bat * make_vc.mak * make_vcce.bat * make_vcce.mak * Some syncing and minor fixes in comments. 2008-08-25 21:56 UTC+0200 Viktor Szakats * make_vcce.mak ! Fixed system library list to not contain gdi32.lib. This lib was previously used for harbour.dll generation, so I wonder if it was correct, but probably not. It would be great if someone could try an MSVC WinCE .dll build using the option: set HB_BUILD_DLL=yes 2008-08-25 20:44 UTC+0200 Viktor Szakats * config/w32/mingw32.cf % -mno-cygwin options removed. No longer needed. If someone wants to compile a mingw build using cygwin, this option should be explicitly specified as C_USR/L_USR and 'gcc' should be used as a compiler. But this setup is barely supported in Harbour, so don't expect it to work. This option may also be needed to compile Harbour using Cygnus MinGW32 2.95. (Rather, install MinGW 3.x or newer) 2008-08-25 20:36 UTC+0200 Viktor Szakats * utils/hbmake/hbmake.prg ! Harbour executable detection cleanups and fix to look into current dir and detect Darwin as a Unix platform. (usable state is still very far) 2008-08-25 20:14 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbw32/w32_ole.c * removed hack with malloc()/free() directly used to avoid memory leak reports - it's not necessary in Harbour. * harbour/contrib/hbfbird/firebird.c * harbour/contrib/examples/pp/hbppcore.c ! fixed buffer size calculation in hbstrnc*() functions * harbour/contrib/hbziparch/hbzipnew.cpp % use hb_strdup() instead of hb_xgrab()/hb_strncpy() * harbour/contrib/hbnf/getenvrn.c ! use hb_xgrab() instead of hb_xalloc() - the returned value was not checked and internal error is for sure better then GPF on NULL pointer * harbour/source/rdd/dbfntx/dbfntx1.c ! use memcpy() instead of hb_strncpy() to avoid problems when there is no place for tailing 0 2008-08-25 19:49 UTC+0200 Viktor Szakats * include/hbsetup.h ! Fixed problem where Darwin autodetection went wrong between 1.0.0rc2 -> 1.0.0. * HB_OS_DARWIN added to the HB_OS_UNIX detection list. (no functional difference, just makes it more clear.) % HB_OS_OS2_EMX removed. It was unused. * source/compiler/gencobj.c * include/hbsetup.h % Removed OS_DOS_COMPATIBLE. It's equivalent to !defined(HB_OS_UNIX_COMPATIBLE). 2008-08-25 18:28 UTC+0200 Viktor Szakats * source/common/hbver.c ! Fix to commit '2008-07-11 18:20 UTC+0200' which effectively disabled Vista/2008 detection for everything but MSVC (>1400) compilers. 2008-08-25 17:13 UTC+0200 Viktor Szakats * common.mak * utils/hbmake/Makefile * utils/hbmake/bld_b32.bat * utils/hbmake/bld_vc.bat * utils/hbmake/hbmake.prg - utils/hbmake/hbmutils.prg * hbmutils.prg merged into hbmake.prg. 2008-08-25 17:05 UTC+0200 Viktor Szakats * utils/hbdoc/bld_vc.bat * utils/hbdoc/bld_b32.bat * utils/hbmake/bld_b32.bat * utils/hbmake/bld_vc.bat + Harbour option: /w3 - Harbour option: /gc0 (now default) * common.mak * utils/hbmake/Makefile * utils/hbmake/bld_b32.bat * utils/hbmake/bld_vc.bat * utils/hbmake/hbmake.prg - utils/hbmake/pickarry.prg % Eliminated all STATIC vars in pickarry.prg. * pickarry.prg merged into hbmake.prg. 2008-08-25 16:37 UTC+0200 Viktor Szakats * common.mak * utils/hbmake/Makefile * utils/hbmake/bld_b32.bat * utils/hbmake/bld_vc.bat * utils/hbmake/hbmake.prg * utils/hbmake/hbmutils.prg * utils/hbmake/tmake.prg - utils/hbmake/ft_funcs.prg - utils/hbmake/tmake.prg ! Applied patches sent by Bill Robertson. ft_funcs.prg got replaced by standard file handling functions and HB_FREADLINE(), EOL handling fixes, typos and other fixes. Many thanks Bill. * Eliminated STATIC var in tmake.prg * Merged tmake.prg into hbmake.prg. (this was the easiest way to make the new s_aEOL variable available to this module.) ; Please test. * common.mak * utils/hbdoc/Makefile * utils/hbdoc/bld_b32.bat * utils/hbdoc/bld_vc.bat + utils/hbdoc/hbdfrdln.c + Added HB_FREADLINE() to hbdoc, too. It's not used, just a small help to allow using it here, too, instead of ft_funcs.prg. 2008-08-25 16:01 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/macro.c * harbour/source/vm/hvm.c ! fixed _FIELD indirectly used as alias, e.g.: ? ("_FIELD")->NAME or: M->var := "_FIELD" ? ("&var")->NAME * harbour/include/hbclass.ch * harbour/include/common.ch * use a little bit simpler form for HB_SYMBOL_UNUSED() * harbour/contrib/hbw32/w32_ole.c * harbour/contrib/hbole/ole2.c ! fixed numeric to pointer casting * accept both pointer and numeric values as window handle for easier code migration 2008-08-25 14:46 UTC+0200 Viktor Szakats * source/vm/cmdarg.c ! hb_hInstance, hb_hPrevInstance, s_iCmdShow, s_WinMainParam vars marked as 'static', hb_ prefix changed to s_. NOTE: This may pose a problem if some 3rd party code was relying on the names or the fact that these vars were exported by incident (since they were not declared in any Harbour headers.) [INCOMPATIBLE] * contrib/hbwhat32/whtmain.c ! Removed WinMain() function and some global vars colliding with some Harbour core ones. * HINSTANCE(), HPREVINSTANCE(), NCMDSHOW() functions now use Harbour API calls to retrieve values. 2008-08-25 14:12 UTC+0200 Viktor Szakats * make_vc.mak * make_vcce.mak % Cleaned list of system libraries for VC. winspool.lib removed, the rest documented. * Syncing between VC and VCCE. ; NOTE: WinCE system lib list didn't get anything removed (just added), but nevertheless pls test it. * ChangeLog * Some cleanups (regarding my entries). * source/pp/hbpp.c ! Comment typo. * source/rtl/gtclip.c ! Fixed for __CYGWIN__. * contrib/hbw32/dllcall.c ! Disabled asm parts for __CYGWIN__ to make it compile. * config/w32/gcc.cf ! Added missing system lib wsock32 for Cygwin. * config/w32/gcc.cf * config/w32/cemgw.cf * config/w32/mingw32.cf * config/w32/owatcom.cf * config/w32/pocc.cf * config/w32/watcom.cf * config/w32/xcc.cf * Attempt to sort out system libs needed for core from those needed for contribs. No system libraries have been removed or added so far. [ I wonder why we need to include contrib sys lib dependencies here, when Harbour GNU make system doesn't build any contrib dependent executables. Also, some ws2_32.lib seems definitely superfluous. ] ; FIXME: (for __CYGWIN__) ../../filesys.c: In function `hb_fsPOpen': ../../filesys.c:577: warning: passing arg 1 of `pipe' from incompatible pointer type 2008-08-25 14:09 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/tests/rddtest/rddmktst.prg * harbour/tests/rddtest/adscl52.prg * harbour/tests/rddtest/adscl53.prg * harbour/tests/rddtest/ntxcl52.prg * harbour/tests/rddtest/ntxcl53.prg * harbour/tests/rddtest/cdxcl52.prg * harbour/tests/rddtest/rddtst.prg * harbour/tests/rddtest/cdxcl53.prg * added copyright note. It's my code. * harbour/source/debug/dbgentry.c ! strip function name from module name used to initialize global and file wide variables. It fixes presenting file wide static variables in debugger. * harbour/source/debug/debugger.prg % minor optimization 2008-08-24 21:10 UTC+0200 Viktor Szakats * contrib/hbw32/w32_ole.c * contrib/hbole/ole2.c ! 64-bit fix for MessageBox() Harbour level functions. * Formatting. 2008-08-24 20:40 UTC+0200 Viktor Szakats * contrib/hbole/ole2.c ! Fixed GPF reported by Guillermo. (introduced in 1.0.0rc2 when switching from parnl to parptr as 64-bit cleanup, two calls were missed from the update). ! Fixed another potential problem. 2008-08-24 18:18 UTC+0200 Viktor Szakats * source/compiler/cmdcheck.c * source/compiler/hbusage.c * Changed default .c code generation option to -gc0 (from -gc2). So now the default is 'compact' (faster/smaller) instead of 'verbose' (good to inspect/debug how Harbour pcode works). * make_b32.mak * make_gcc.mak * make_vc.mak * make_vcce.mak * contrib/mtpl_b32.mak * contrib/mtpl_gcc.mak * contrib/mtpl_vc.mak % Removed explicit -gc0 switches from Harbour command lines. * make_vcce.mak % Removed unnecessary -DHB_WINCE from Harbour command line. 2008-08-24 13:15 UTC+0200 Viktor Szakats * source/vm/runner.c * source/vm/fm.c * source/common/hbver.c * source/rtl/hbgtcore.c * source/rtl/gtwvt/gtwvt.c * source/rdd/dbfntx/dbfntx1.c * source/rdd/workarea.c * source/rdd/wacore.c * source/rdd/sdf1.c * source/rdd/dbfcdx/dbfcdx1.c * source/rdd/delim1.c * source/rdd/dbf1.c * source/rdd/wafunc.c * source/rdd/dbffpt/dbffpt1.c * source/compiler/hbmain.c * source/compiler/fixflex.c * source/compiler/gencobj.c * source/compiler/genc.c * source/compiler/harbour.yyc * source/compiler/harbour.y * contrib/hbct/disk.c * contrib/hbwhat32/whtcdlg.c * contrib/gtwvg/gtwvg.c * contrib/rddads/adsfunc.c * contrib/rddads/ads1.c * contrib/hbbmcdx/bmdbfcdx.c * contrib/examples/pp/hbppcomp.c * hb_strncpy()/hb_strncat() size parameter changed from CONSTANT to 'sizeof( dest ) - 1', where applicable. ! hbct/VOLUME() buffer overrun fixed. ; NOTE: dbfntx1.c has a couple of places where I wasn't sure of the intention, so I left them unchanged. 2008-08-24 11:47 UTC+0200 Viktor Szakats * contrib/hbmisc/spd.c ! strcpy() -> hb_strncpy() Patch by Xavi. Many thanks. 2008-08-23 12:52 UTC-0500 Teo Fonrouge (teo/at/windtelsoft/dot/com) * harbour.spec * added missing contrib libs needed to build rpm packages: libhbmsql.a, libhbsqlit3.a, libhbtpathy.a 2008-08-23 19:00 UTC+0200 Viktor Szakats * source/common/hbwince.c ! strcpy() -> hb_strncpy() ; FIXME: Only spd.c and dbgentry.c have some remaining strcpy() calls. 2008-08-23 16:52 UTC+0200 Viktor Szakats * tests/multifnc/t0.prg * tests/multifnc/t1.prg * tests/multifnc/t2.prg * source/rdd/usrrdd/example/exmemo.prg * source/rdd/usrrdd/example/exhsx.prg * source/rdd/usrrdd/example/exfcm.prg * source/rdd/usrrdd/example/exrlx.prg * contrib/xhb/hbsyslog.c * contrib/rddado/tests/mysql3.prg * contrib/rddado/tests/access1.prg * contrib/rddado/tests/access2.prg * contrib/rddado/tests/mysql1.prg * contrib/hbpgsql/tests/tstpgrdd.prg ! SVN headers. * contrib/hbwhat32/Makefile * contrib/hbwhat32/common.mak - contrib/hbwhat32/wintypes.ch - Removed wintypes.ch, as it collides with a header with the same name (and similar content) in xhb. It will now use the xhb one, since it already relied on other xhb headers anyway. If anyone wants to sort this out properly, pls do. 2008-08-23 16:40 UTC+0200 Viktor Szakats * contrib/hbgt/Makefile * contrib/hbgt/common.mak - contrib/hbgt/strdiff.c + contrib/hbgt/strdiffg.c - contrib/hbgt/charmix.c + contrib/hbgt/charmixg.c - contrib/hbgt/asciisum.c + contrib/hbgt/asciisgt.c - contrib/hbgt/ascpos.c + contrib/hbgt/ascposgt.c * contrib/hbgf/hbgfos2/Makefile - contrib/hbgf/hbgfos2/tmenuitm.prg + contrib/hbgf/hbgfos2/tmenuit.prg ! Some files renamed to not collide with each other on non-GNU make systems. * contrib/examples/hscript/cgi.ch * contrib/examples/hscript/dir.hs * contrib/examples/hscript/multiply.hs * contrib/examples/hscript/ugly.hs * contrib/examples/hscript/hello.hs * contrib/examples/guestbk/guestbk.ini + Added SVN headers. + source/rtl/gtalleg/common.mak + source/rtl/gtalleg/make_gcc.sh + source/rtl/gtalleg/make_b32.bat + source/rtl/gtalleg/make_vc.bat + Added non-GNU make file as an ugly hack to build them on Windows systems. - tests/altd.prg + tests/altdtest.prg * Rename. * include/hbver.h * harbour-ce-spec * harbour-w32-spec * harbour.spec * Version changed to '1.0.1dev'. Trunk will need to be synced to tag/1.0. * common.mak + Added version to harbour.dll: harbour-101-b32/vc.dll ; Work in progress. Pls comment. 2008-08-23 13:05 UTC+0200 Viktor Szakats + contrib/hbnf/tests/ftgete.prg + Added test. * contrib/hbwhat32/Makefile * contrib/hbwhat32/common.mak + contrib/hbwhat32/whtbmp.c + contrib/hbwhat32/whtbrsh.c + contrib/hbwhat32/whtcall.c + contrib/hbwhat32/whtcdlg.c + contrib/hbwhat32/whtclpb.c + contrib/hbwhat32/whtcomm.c + contrib/hbwhat32/whtcret.c + contrib/hbwhat32/whtdate.c + contrib/hbwhat32/whtdc.c + contrib/hbwhat32/whtdir.c + contrib/hbwhat32/whtdlg.c + contrib/hbwhat32/whtdll.c + contrib/hbwhat32/whtdraw.c + contrib/hbwhat32/whtfont.c + contrib/hbwhat32/whtgdi.c + contrib/hbwhat32/whthead.c + contrib/hbwhat32/whticon.c + contrib/hbwhat32/whtilst.c + contrib/hbwhat32/whtinet.c + contrib/hbwhat32/whtini.c + contrib/hbwhat32/whtkbrd.c + contrib/hbwhat32/whtlv.c + contrib/hbwhat32/whtmain.c + contrib/hbwhat32/whtmapi.c + contrib/hbwhat32/whtmem.c + contrib/hbwhat32/whtmenu.c + contrib/hbwhat32/whtmeta.c + contrib/hbwhat32/whtmisc.c + contrib/hbwhat32/whtmmcap.c + contrib/hbwhat32/whtmous.c + contrib/hbwhat32/whtmsg.c + contrib/hbwhat32/whtpen.c + contrib/hbwhat32/whtprn.c + contrib/hbwhat32/whtrect.c + contrib/hbwhat32/whtreg.c + contrib/hbwhat32/whtrgn.c + contrib/hbwhat32/whtscrlb.c + contrib/hbwhat32/whtseria.c + contrib/hbwhat32/whtshell.c + contrib/hbwhat32/whtsock.c + contrib/hbwhat32/whtsys.c + contrib/hbwhat32/whttab.c + contrib/hbwhat32/whttbar.c + contrib/hbwhat32/whttext.c + contrib/hbwhat32/whttree.c + contrib/hbwhat32/whtview.c + contrib/hbwhat32/whtwnd.c - contrib/hbwhat32/_winbmp.c - contrib/hbwhat32/_winbrsh.c - contrib/hbwhat32/_wincall.c - contrib/hbwhat32/_wincdlg.c - contrib/hbwhat32/_winclpb.c - contrib/hbwhat32/_wincomm.c - contrib/hbwhat32/_wincret.c - contrib/hbwhat32/_windate.c - contrib/hbwhat32/_windc.c - contrib/hbwhat32/_windir.c - contrib/hbwhat32/_windlg.c - contrib/hbwhat32/_windll.c - contrib/hbwhat32/_windraw.c - contrib/hbwhat32/_winfont.c - contrib/hbwhat32/_wingdi.c - contrib/hbwhat32/_winhead.c - contrib/hbwhat32/_winicon.c - contrib/hbwhat32/_winilst.c - contrib/hbwhat32/_wininet.c - contrib/hbwhat32/_winini.c - contrib/hbwhat32/_winkbrd.c - contrib/hbwhat32/_winlv.c - contrib/hbwhat32/_winmain.c - contrib/hbwhat32/_winmapi.c - contrib/hbwhat32/_winmem.c - contrib/hbwhat32/_winmenu.c - contrib/hbwhat32/_winmeta.c - contrib/hbwhat32/_winmisc.c - contrib/hbwhat32/_winmmcap.c - contrib/hbwhat32/_winmous.c - contrib/hbwhat32/_winmsg.c - contrib/hbwhat32/_winpen.c - contrib/hbwhat32/_winprn.c - contrib/hbwhat32/_winrect.c - contrib/hbwhat32/_winreg.c - contrib/hbwhat32/_winrgn.c - contrib/hbwhat32/_winscrlb.c - contrib/hbwhat32/_winserial.c - contrib/hbwhat32/_winshell.c - contrib/hbwhat32/_winsock.c - contrib/hbwhat32/_winsys.c - contrib/hbwhat32/_wintab.c - contrib/hbwhat32/_wintbar.c - contrib/hbwhat32/_wintext.c - contrib/hbwhat32/_wintree.c - contrib/hbwhat32/_winview.c - contrib/hbwhat32/_winwnd.c * Renamed hbwhat32 files to not have a leading underscore and long filenames. 2008-08-23 11:38 UTC+0200 Viktor Szakats * source/pp/hbpp.c * source/vm/cmdarg.c * source/vm/memvars.c * source/rtl/dates.c * source/rtl/fstemp.c * source/rtl/gtchrmap.c * source/rtl/gtcrs/gtcrs.c * source/rtl/gtpca/gtpca.c * source/rtl/gtstd/gtstd.c * source/rdd/dbf1.c * source/rdd/dbfntx/dbfntx1.c * contrib/hbct/disk.c * contrib/hbfbird/firebird.c * contrib/hbw32/w32_ole.c * contrib/xhb/hboutdbg.c * contrib/examples/pp/hbppcore.c * strncpy() -> hb_strncpy() * strncat() -> hb_strncat() ! In most of these places the terminating zero was not explicitly set by the caller before. * contrib/hbnf/getenvrn.c * contrib/hbw32/dllcall.c * contrib/hbw32/w32_ole.c * contrib/hbwhat32/_wincdlg.c * contrib/hbwhat32/_windll.c * contrib/hbwhat32/_winmain.c * contrib/hbziparch/hbzipnew.cpp ! strcpy() -> hb_strncpy() ! strcat() -> hb_strncat() ; FIXME1: There are still two strcpy()s left in SQL_SPRINTF(). Xavi, could you pls take a look at it? ; FIXME2: There are still a few strcpy()s in hbwince.c and dbgentry.c. * source/pp/hbpp.c * source/rtl/gtcrs/gtcrs.c * source/rtl/gtpca/gtpca.c * source/rtl/gtstd/gtstd.c * contrib/hbfbird/firebird.c * contrib/hbwhat32/_wincdlg.c * contrib/hbwhat32/_windll.c ! Fixed wrong buffer sizes (or no buffer limits) in some string copy operations (potential buffer overruns). * contrib/hbnf/getenvrn.c ! Fixed bad leak in FT_GETE() on Win32 systems. * source/rtl/fstemp.c ! hb_fsTempName(): Fixed potential buffer overrun by one byte. * Minor formatting. * source/rtl/fstemp.c * source/rtl/hbffind.c * contrib/xhb/hboutdbg.c * Using sizeof() instead of explicit size in string copy operations. ; TODO: There is a lot more to fix like this. 2008-08-22 22:51 UTC+0200 Viktor Szakats * utils/hbtest/rt_array.prg + Added failing test case of doing AEval() and resizing the evaluated array in the eval codeblock. ; FIXME * utils/hbdoc/ft_funcs.prg * utils/hbdoc/hbdoc.prg * utils/hbmake/ft_funcs.prg * utils/hbmake/hbmutils.prg ! Two EOL handling fixes applied. Thanks to Bill Robertson. ; Please test. * contrib/xhb/Makefile * contrib/xhb/common.mak + contrib/xhb/arrayblk.prg + Added HB_ARRAYBLOCK() from xhb. 2008-08-22 17:03 UTC+0200 Viktor Szakats * contrib/make_gcc_all.sh + Added darwin autodetection. * contrib/Makefile + Added HB_CONTRIB_ADDONS envvar which enables building local custom contribs stored in the contrib dir. A separate dir may be better, but we will see. * utils/hbtest/hbtest.prg * Changed test .dbf filename casing to lowercase. + tests/rddtest + tests/rddtest/rddmktst.prg + tests/rddtest/adscl52.prg + tests/rddtest/adscl53.prg + tests/rddtest/ntxcl52.prg + tests/rddtest/ntxcl53.prg + tests/rddtest/cdxcl52.prg + tests/rddtest/rddtst.prg + tests/rddtest/make_c52.bat + tests/rddtest/cdxcl53.prg + tests/rddtest/make_c53.bat + Added RDD tests from xhb. 2008-08-22 14:56 UTC+0200 Viktor Szakats * source/rtl/gtalleg/ssf.h ! Fixed to compile with BCC. * source/rtl/gtalleg/Makefile ! Missing SVN header. % Removed obsolete HB_MULTI_GT #define. * source/rtl/gtalleg/gtalleg.c * utils/hbmake/hbmake.prg ! Typos. 2008-08-22 11:30 UTC+0200 Viktor Szakats * source/rtl/gtalleg/gtalleg.c * GFX_* -> HB_GFX_* ; (untested) 2008-08-22 11:20 UTC+0100 JF Lefebvre (MAFACT) (jfl at mafact dot com) * utils/hbdoc/hbdoc.prg * utils/hbmake/Makefile * utils/hbmake/hbmake.prg % removing 'ANNOUNCE RDDSYS', not anymore needed causing some problem with msvc linking. * debug/debugger.prg % changing all GTI_ by HB_GTI_ 2008-08-22 09:32 UTC+0200 Viktor Szakats * common.mak * source/vm/debug.c * source/vm/hvm.c * source/vm/Makefile + source/vm/debugold.c + Added some HB_DBG_*() functions for compatibility with certain 3rd party libs. They are marked with HB_LEGACY_LEVEL, and will be removed (pbly at 1.1.0), so everyone is encouraged to use __DBG*() version for Harbour versions above 0x010000 (or not use them at all, if this is possible). If these functions are indeed needed for some functionality, it'd be good to hear about it, maybe there is a solution which doesn't require internals. * utils/hbdoc/ft_funcs.prg * utils/hbmake/ft_funcs.prg * Using FS_* manifest constants. 2008-08-22 08:20 UTC+0200 Viktor Szakats * common.mak * make_b32.mak * make_gcc.mak * make_vc.mak * make_vcce.mak * utils/hbdoc/Makefile * utils/hbdoc/bld_b32.bat * utils/hbdoc/bld_vc.bat * utils/hbdoc/hbdoc.prg * utils/hbmake/Makefile * utils/hbmake/bld_b32.bat * utils/hbmake/bld_vc.bat * utils/hbmake/hbmake.prg % Reduced executable size of hbmake and hbdoc (by 20%) by excluding unused libs and RDD stuff. % Optimized local non-GNU make files to work faster and generate faster executables. * utils/hbdoc/hbdocdef.ch % Removed unused macro. * minor formatting. 2008-08-21 18:52 UTC+0200 Viktor Szakats * common.mak * utils/hbdoc/Makefile * utils/hbdoc/bld_b32.bat * utils/hbdoc/bld_vc.bat - utils/hbdoc/fclass1.prg - utils/hbdoc/ffile1.prg * utils/hbdoc/ft_funcs.prg * utils/hbmake/Makefile * utils/hbmake/bld_vc.bat * utils/hbmake/bld_b32.bat - utils/hbmake/fclass1.prg - utils/hbmake/ffile1.prg * utils/hbmake/ft_funcs.prg * utils/hbmake/pickarry.prg - utils/hbmake/prb_stak.prg - utils/hbmake/pickfile.prg % Removed unused modules. % Replaced module with simple constructs. * Merged file handling classes and functions into one file, for easier syncing. 2008-08-21 18:06 UTC+0200 Viktor Szakats * utils/hbdoc/fclass1.prg * utils/hbdoc/ffile1.prg * utils/hbdoc/ft_funcs.prg * utils/hbmake/fclass1.prg * utils/hbmake/tmake.prg * utils/hbmake/ffile1.prg * utils/hbmake/ft_funcs.prg * utils/hbmake/pickarry.prg * utils/hbmake/pickfile.prg * utils/hbmake/hbmutils.prg * utils/hbmake/hbmake.prg * Cleanups. ! Fixed open bug from previous commit (hopefully). * common.mak * utils/hbmake/Makefile * utils/hbmake/bld_b32.bat * utils/hbmake/bld_vc.bat - utils/hbmake/readline.c + utils/hbmake/hbmfrdln.c * utils/hbmake/hbmlang.c + utils/hbmake/hbmgauge.c * readline.c -> hbmfrdln.c (made fully identical to /contrib/xhb/freadlin.c) * GAUGE*() stuff moved into separate file. (separate file is fully identical to /contrib/hbclipsm/gauge.c) ! GAUGE*() function copyright restored to original. 2008-08-21 14:11 UTC+0200 Viktor Szakats * include/hbcomp.h * Minor formatting (alignment). * ChangeLog ! Added missing file from previous entry. * contrib/hbclipsm/gauge.c ! Fixed very old bug (too small buffer for snprintf()). * Minor adjustment to Harbour percentage var retrieval. * common.mak * utils/hbmake/Makefile * utils/hbmake/bld_b32.bat * utils/hbmake/bld_vc.bat - utils/hbmake/checkdef.ch - utils/hbmake/checks.ch - utils/hbmake/checks.prg * utils/hbmake/fclass1.prg * utils/hbmake/ffile1.prg * utils/hbmake/ft_funcs.prg - utils/hbmake/hbdocdef.ch * utils/hbmake/hbmake.prg * utils/hbmake/hbmlang.c * utils/hbmake/hbmutils.prg * utils/hbmake/Makefile * utils/hbmake/pickfile.prg * utils/hbmake/prb_stak.prg - utils/hbmake/radiodef.ch - utils/hbmake/radios.ch - utils/hbmake/radios.prg * utils/hbmake/readline.c * utils/hbmake/tmake.prg * utils/hbdoc/fclass1.prg * utils/hbdoc/ffile1.prg * utils/hbdoc/ft_funcs.prg * utils/hbdoc/genasc.prg * utils/hbdoc/genchm.prg * utils/hbdoc/genhpc.prg * utils/hbdoc/genhtm.prg * utils/hbdoc/genng.prg * utils/hbdoc/genos2.prg * utils/hbdoc/genpdf1.prg * utils/hbdoc/genrtf.prg * utils/hbdoc/gentrf.prg * utils/hbdoc/hbdoc.prg * utils/hbdoc/hbdocdef.ch * Cleanups. % Removed unused parts. ! GAUGE*() functions synced with hbclipsm.lib. * Removed hbclip.ch requirement when compiled with CA-Cl*pper. (not tested) 2008-08-21 10:28 UTC+0200 Viktor Szakats * include/dbinfo.ch * include/dbstruct.ch * include/hbgtinfo.ch * include/hblang.ch * include/setcurs.ch ! Added "also used from C code" comments. * utils/hbmake/ffile1.prg * utils/hbdoc/ffile1.prg ! Minor cleanup. * include/hbgfxdef.ch * include/hbgtinfo.ch * Marked old GTI_*, GFX_* macros with HB_LEGACY_LEVEL. (Old macro HB_GT_NO_XHB no longer works) * include/hbsetup.ch + Added HB_LEGACY_LEVEL macro. Currently turned on. Will be turned off later, and completely removed as a final step. Times are not defined for these yet. Please prepare to modify your code to not use old legacy stuff. NOTE: C code using legacy Clipper (.api) headers are unaffected. * include/hbapirdd.h * Marked HARBOUR_* macros with HB_LEGACY_LEVEL * include/hbsetup.h * Marked OS_UNIX_COMPATIBLE, OS_PATH_DELIMITER macros with HB_LEGACY_LEVEL. * include/hbapifs.h * source/rtl/filesys.c * Marked hb_fileNameConv() as HB_LEGACY_LEVEL. ; 3rd party and app developers should switch to hb_fsNameConv(). * source/rtl/box.c * source/rtl/console.c * source/rtl/filesys.c * source/rtl/gtapi.c * source/rtl/hbgtcore.c * contrib/hbclipsm/gauge.c * contrib/hbclipsm/status.c * contrib/hbct/ctwin.c * source/rtl/set.c * utils/hbmake/hbmlang.c * Updated core/contrib sources to use non-legacy names: HB_CLRSTR_LEN, HB_EVALINFO, PHB_EVALINFO, HB_FHANDLE ; TODO: FHANDLE -> HB_FHANDLE is incomplete yet. * include/hbdefs.h * Minor formatting. * include/hbmath.h ! #include <hbmath.ch> -> #include "hbmath.ch" * contrib/hbmysql/mysql.c + function SQLFETCHR() updated to allow fetching binary (BLOB) fields. [Thanks to Mitja Podgornik] * include/hbapifs.h * include/hbapigt.h * include/hbapiitm.h * include/hbdefs.h * include/item.api * include/filesys.api * include/gt.api * FHANDLE -> HB_FHANDLE * EVALINFO -> HB_EVALINFO * PEVALINFO -> PHB_EVALINFO * EVALINFO_PTR -> marked as legacy * CLR_STRLEN -> HB_CLRSTR_LEN ; Old names are still working if HB_LEGACY_LEVEL is #defined, and by default now it is. ; It's highly recommended to change all 3rd party and app C code to use the new #defines/types/functions. ; NOTE1: There are some more names which are still in the legacy "namespace", and gradually I'd like to clean some of these as well. The most important would be the type names, as these are currently colliding with multiple external packages, like windows.h, and it also makes it impossible to compile hbfimage on certain systems. ; NOTE2: I'd also like to move the *_PTR (like HB_ITEM_PTR) names to legacy status as we don't really use them except in a few VM files, and we have PHB_* as a wide-spread (and shorter) replacement. [~DONE] ; NOTE3: We may also use HB_LEGACY_LEVEL to obolete other legacy or unsafe functions, with better new alternatives. ; NOTE4: Here's a more or less complete list of names that _may_ cause such problems: ; Type related stuff - TRUE, FALSE - BOOL, BYTE, SCHAR, UINT, USHORT - INT_MAX, INT_MIN - INT16, INT16_MAX, INT16_MIN - INT24_MAX, INT24_MIN - INT32, INT32_MAX, INT32_MIN - INT64, INT64_MAX, INT64_MIN - LONG, LONG_MAX, LONG_MIN - LONGLONG, LONGLONG_MAX, LONGLONG_MIN - SHORT, SHRT_MAX, SHRT_MIN - UCHAR, UCHAR_MAX - UINT16, UINT16_MAX - UINT24_MAX - UINT32, UINT32_MAX - UINT64, UINT64_MAX - ULONG, ULONG_MAX - ULONGLONG, ULONGLONG_MAX ; Some hacks currently used: - HB_DONT_DEFINE_BASIC_TYPES - HB_DONT_DEFINE_BOOL - HB_OS_WIN_32_USED -> (include <windows.h> locally where needed) ; Compiler related stuff: - VS_*, VU_*, VT_*, FUN_* - *COMDECLARED, *COMCLASS, *COMSYMBOL - VAR, PVAR - _FUNC, PFUNCTION - _INLINE, PINLINE - _FUNCALL, PFUNCALL - _EXTERN, PEXTERN - AUTOOPEN, PAUTOOPEN - FUNCTIONS - INLINES - FUNCALLS - SYMBOLS ; Clipper compatibility #defines, better be moved behind a compatibility layer: - F_ERROR, FS_ERROR - IS*() - E_*, EF_* - FL_*, FLX_*, FO_*, FXO_* - _B_* - FC_*, FS_*, FD_* - INKEY_*, K_* - ES_*, EG_* - SC_* - DBS_* ; + All RDD related stuff, including "dbinfo.ch" constants. 2008-08-20 23:06 UTC+0200 Viktor Szakats * contrib/mtpl_b32.mak * contrib/mtpl_gcc.mak * contrib/mtpl_vc.mak ! Added -km switch to contribs by default. This way it's synced with the GNU-make system, too. * utils/hbdoc/hbdocdef.ch * utils/hbdoc/fclass1.prg * utils/hbdoc/ffile1.prg * utils/hbdoc/ft_funcs.prg * utils/hbmake/hbdocdef.ch * utils/hbmake/fclass1.prg * utils/hbmake/ffile1.prg * utils/hbmake/ft_funcs.prg * Cleanups, optimizations (in ft_funcs.prg) ! Synced these for common files to be completely identical. In fact this is a fix, as their name is common so they were "randomly" interchanged along the non-GNU build process even before. There was only one very small functional difference, though. ; Please test. 2008-08-20 19:07 UTC+0200 Viktor Szakats * source/debug/dbgentry.c ! HB_DBG_*() -> __DBG*(). ; I somehow completely missed this file from recent update, thanks Bill. 2008-08-20 12:50 UTC+0200 Viktor Szakats * tests/longdev.prg * tests/hbpptest/hbpptest.prg * tests/testcgi.prg * tests/foreach.prg * tests/onidle.prg * tests/tstchbx.prg * tests/codebl.prg * tests/tstdbi.prg * tests/vmasort.prg * tests/tstasort.prg * tests/testbrw.prg * tests/inkeytst.prg * tests/testrdd2.prg * tests/keywords.prg * tests/testhtml.prg * tests/readhrb.prg * tests/stripem.prg * tests/wvtext.prg * tests/testpre.prg * tests/seconds.prg * tests/fsplit.prg * tests/mousetst.prg * contrib/hbmysql/tmysql.prg * contrib/hbct/numconv.prg * contrib/hbct/ctmisc.prg * contrib/hbodbc/todbc.prg * contrib/hbapollo/tests/apollo.prg * contrib/hbnf/acctyear.prg * contrib/hbnf/acctadj.prg * contrib/hbnf/nwsem.prg * contrib/hbnf/week.prg * contrib/hbnf/acctmnth.prg * contrib/hbnf/savearr.prg * contrib/hbnf/madd.prg * contrib/hbnf/mouse1.prg * contrib/hbnf/month.prg * contrib/hbnf/findith.prg * contrib/hbnf/acctweek.prg * contrib/hbnf/pegs.prg * contrib/hbnf/acctqtr.prg * contrib/hbnf/nooccur.prg * contrib/hbnf/dayofyr.prg * contrib/hbnf/menu1.prg * contrib/hbnf/sqzn.prg * contrib/hbnf/asum.prg * contrib/hbnf/aavg.prg * contrib/hbnf/any2any.prg * contrib/hbnf/adessort.prg * contrib/hbnf/amedian.prg * contrib/hbnf/blink.prg * contrib/hbnf/qtr.prg * contrib/hbnf/aredit.prg * contrib/hbnf/xbox.prg * contrib/hbnf/ftround.prg * contrib/hbnf/invclr.prg * contrib/hbnf/tempfile.prg * contrib/hbnf/diskfunc.prg * contrib/hbnf/mouse2.prg * contrib/hbnf/daytobow.prg * contrib/hbnf/anomatch.prg * contrib/hbnf/datecnfg.prg * contrib/hbnf/tbwhile.prg * contrib/hbnf/year.prg * contrib/hbnf/elapsed.prg * contrib/hbnf/dfile.prg * contrib/hbnf/clrsel.prg * contrib/hbmisc/twirler.prg * contrib/hbmisc/fileread.prg * contrib/hbmisc/stringp.prg * contrib/hbgf/hbgfw32/winctrl.prg * contrib/hbgf/hbgfw32/form.prg * contrib/hbgf/hbgfos2/winctrl.prg * contrib/hbgf/hbgfos2/tform.prg * contrib/hbtip/httpcln.prg * contrib/hbvpdf/hbvpdf.prg * contrib/hbvpdf/hbvpdft.prg * contrib/examples/guestbk/guestbk.prg * contrib/examples/pe/editorhi.prg * Some more general code cleanups ( if() -> iif() ). 2008-08-20 11:50 UTC+0200 Viktor Szakats * tests/onidle.prg * tests/codebloc.prg * tests/keywords.prg * tests/wvtext.prg * tests/test_all.prg * tests/ainstest.prg * doc/es/compiler.txt * doc/es/file.txt * contrib/hbct/numconv.prg * contrib/hbct/tests/expomant.prg * contrib/hbwhat32/whatutil.prg * contrib/hbwhat32/winrbar.prg * contrib/hbwhat32/wintabs.prg * contrib/hbwhat32/wincomm.prg * contrib/hbwhat32/wincdlg.prg * contrib/hbwhat32/wintbar.prg * contrib/hbwhat32/_wininet.c * contrib/hbwhat32/wincore.prg * contrib/hbw32/w32_ole.c * contrib/hbapollo/tests/apollo.prg * contrib/hbnf/dispmsg.prg * contrib/hbnf/fttext.c * contrib/hbnf/mouse1.prg * contrib/hbnf/menu1.prg * contrib/hbnf/sleep.prg * contrib/hbnf/xbox.prg * contrib/hbnf/popadder.prg * contrib/hbnf/mouse2.prg * contrib/hbnf/pchr.prg * contrib/hbhpdf/tests/harupdf.prg * contrib/gtwvg/wvgclass.prg * contrib/gtwvg/tests/demowvg.prg * contrib/gtwvg/wvgpaint.prg * contrib/rddads/tests/testmg.prg * contrib/hbclipsm/tests/testgaug.prg * contrib/hbfimage/tests/fitest.prg * contrib/hbmisc/twirler.prg * contrib/hbtip/httpcln.prg * contrib/hbtip/ftpcln.prg * contrib/hbvpdf/hbvpdft.prg * utils/hbmake/hbmake.prg * Some more general code cleanups. * iif(), quote char, #include, filename-casing, = usage cleanups, hardcoded absolute paths, non-ASCII drawing chars in source. Using mixed-case filenames to #include .ch files breaks on non-WinDOS platforms. 2008-08-20 10:22 UTC+0200 Viktor Szakats * utils/hbdoc/hbdoc.prg * utils/hbdoc/gentrf.prg * utils/hbmake/hbmake.prg * Some more general code cleanups. 2008-08-20 10:09 UTC+0200 Viktor Szakats * contrib/hbmzip/hbmzip.c * contrib/hbmzip/readme.txt ! Typos. * utils/hbdoc/rtf.prg * utils/hbdoc/fclass1.prg * utils/hbdoc/genos2.prg * utils/hbdoc/genng.prg * utils/hbdoc/genasc.prg * utils/hbdoc/genchm.prg * utils/hbdoc/os2.prg * utils/hbdoc/html.prg * utils/hbdoc/genhpc.prg * utils/hbdoc/ng.prg * utils/hbdoc/ffile1.prg * utils/hbdoc/ft_funcs.prg * utils/hbdoc/hbdoc.prg * utils/hbdoc/troff.prg * utils/hbdoc/genhtm.prg * utils/hbdoc/genpdf1.prg * utils/hbdoc/gentrf.prg * utils/hbdoc/genrtf.prg * utils/hbmake/fclass1.prg * utils/hbmake/tmake.prg * utils/hbmake/ffile1.prg * utils/hbmake/ft_funcs.prg * utils/hbmake/pickarry.prg * utils/hbmake/pickfile.prg * utils/hbmake/hbmutils.prg * utils/hbmake/hbmake.prg ! Fixed problems reported by Bill Robertson. (Thanks) * Some general code cleanups. 2008-08-19 17:17 UTC+0200 Viktor Szakats * doc/en/string.txt * doc/en/rddord.txt * doc/hbmake.txt * More cleanups, formatting (filename casing, CA-Cl*pper, etc). 2008-08-19 17:06 UTC+0200 Viktor Szakats * doc/en/string.txt * doc/en/rddord.txt * doc/en/treport.txt * doc/en/memvar2.txt * doc/en/terminal.txt * doc/en/rddmisc.txt * doc/en/setmode.txt * doc/en/rdddb.txt * doc/en/tbrowse.txt * doc/en/set.txt * doc/en/sayget.txt * doc/es/treport.txt * ChangeLog * utils/hbtest/rt_misc.prg * More cleanups, formatting (filename casing, CA-Cl*pper, etc). 2008-08-19 16:16 UTC+0200 Viktor Szakats * doc/en/diskspac.txt * doc/en/string.txt * doc/en/rddord.txt * doc/en/terminal.txt * doc/en/rddmisc.txt * doc/en/datetime.txt * doc/en/array.txt * doc/en/rdddb.txt * doc/en/menu.txt * doc/en/file.txt * doc/en/eval.txt * ChangeLog * contrib/hbodbc/todbc.prg * contrib/hbodbc/tests/odbcdemo.prg * contrib/hbtpathy/readme.txt * utils/hbmake/pickfile.prg * More cleanups, formatting (filename casing, CA-Cl*pper, etc). 2008-08-19 14:58 UTC+0200 Viktor Szakats * make_deb.sh * Removed wrong comment recently added. (we will need to fix hbfimage compilation anyway) * harbour-ce-spec * harbour-w32-spec * harbour.spec * debian/control * include/vm.api * include/extend.api * include/button.ch * include/hbstack.h * include/item.api * include/rdd.api * include/gt.api * include/dbinfo.ch * include/error.api * include/filesys.api * include/hbapigt.h * include/clipdefs.h * include/assert.ch * include/fm.api * include/extend.h * source/compiler/genhrb.c * config/os2/install.cf * tests/db_brows.prg * tests/debugtst.prg * tests/ac_test.prg * tests/testhtml.prg * tests/tstcolor.prg * doc/hdr_tpl.txt * doc/man/harbour.1 * doc/dirstruc.txt * doc/howtobld.txt * doc/en/diskspac.txt * doc/en/string.txt * doc/en/rddord.txt * doc/en/math.txt * doc/en/error.txt * doc/en/treport.txt * doc/en/memvar2.txt * doc/en/terminal.txt * doc/en/dir.txt * doc/en/rddmisc.txt * doc/en/var.txt * doc/en/nation.txt * doc/en/dbstrux.txt * doc/en/datetime.txt * doc/en/memo.txt * doc/en/tgetlist.txt * doc/en/tlabel.txt * doc/en/hb_compa.txt * doc/en/array.txt * doc/en/rdddb.txt * doc/en/dbsdf.txt * doc/en/tbrowse.txt * doc/en/hvm.txt * doc/en/input.txt * doc/en/dbdelim.txt * doc/en/browse.txt * doc/en/menu.txt * doc/en/file.txt * doc/en/binnum.txt * doc/en/tclass.txt * doc/en/set.txt * doc/en/misc.txt * doc/en/sayget.txt * doc/en/readme.txt * doc/es/diskspac.txt * doc/es/tlabel.txt * doc/es/array.txt * doc/es/dbsdf.txt * doc/es/tbrowse.txt * doc/es/math.txt * doc/es/hvm.txt * doc/es/treport.txt * doc/es/input.txt * doc/es/dbdelim.txt * doc/es/browse.txt * doc/es/memvar2.txt * doc/es/command.txt * doc/es/dir.txt * doc/es/file.txt * doc/es/eval.txt * doc/es/binnum.txt * doc/es/nation.txt * doc/es/var.txt * doc/es/tclass.txt * doc/es/dbstrux.txt * doc/es/misc.txt * doc/es/datetime.txt * doc/es/sayget.txt * doc/es/memo.txt * doc/es/readme.txt * doc/es/tgetlist.txt * doc/readme.txt * contrib/hbct/ctnet.c * contrib/hbct/video.c * contrib/hbct/dattime3.c * contrib/hbct/color.c * contrib/hbnf/acctyear.prg * contrib/hbnf/byteneg.prg * contrib/hbnf/isshare.prg * contrib/hbnf/sinkey.prg * contrib/hbnf/dhkey.h * contrib/hbnf/kspeed.c * contrib/hbnf/prtscr.c * contrib/hbnf/descendn.c * contrib/hbnf/peek.c * contrib/hbnf/scancode.prg * contrib/hbnf/vidmode.prg * contrib/hbnf/nwsem.prg * contrib/hbnf/acctadj.prg * contrib/hbnf/week.prg * contrib/hbnf/vidcur.prg * contrib/hbnf/iamidle.c * contrib/hbnf/prtesc.prg * contrib/hbnf/miltime.prg * contrib/hbnf/proper.c * contrib/hbnf/acctmnth.prg * contrib/hbnf/savearr.prg * contrib/hbnf/rand1.prg * contrib/hbnf/madd.prg * contrib/hbnf/dispmsg.prg * contrib/hbnf/settime.prg * contrib/hbnf/restsets.prg * contrib/hbnf/page.prg * contrib/hbnf/byt2bit.prg * contrib/hbnf/setkeys.c * contrib/hbnf/month.prg * contrib/hbnf/byt2hex.prg * contrib/hbnf/findith.prg * contrib/hbnf/at2.prg * contrib/hbnf/acctweek.prg * contrib/hbnf/dispc.c * contrib/hbnf/gcd.prg * contrib/hbnf/pegs.prg * contrib/hbnf/min2dhm.prg * contrib/hbnf/acctqtr.prg * contrib/hbnf/numlock.c * contrib/hbnf/dosver.prg * contrib/hbnf/nooccur.prg * contrib/hbnf/dayofyr.prg * contrib/hbnf/metaph.prg * contrib/hbnf/ontick.c * contrib/hbnf/menu1.prg * contrib/hbnf/byteand.prg * contrib/hbnf/sqzn.prg * contrib/hbnf/bytexor.prg * contrib/hbnf/ftidle.c * contrib/hbnf/workdays.prg * contrib/hbnf/byteor.prg * contrib/hbnf/asum.prg * contrib/hbnf/shift.c * contrib/hbnf/sleep.prg * contrib/hbnf/wda.prg * contrib/hbnf/aavg.prg * contrib/hbnf/woy.prg * contrib/hbnf/origin.c * contrib/hbnf/any2any.prg * contrib/hbnf/chdir.c * contrib/hbnf/adessort.prg * contrib/hbnf/setdate.prg * contrib/hbnf/netpv.prg * contrib/hbnf/amedian.prg * contrib/hbnf/blink.prg * contrib/hbnf/stod.c * contrib/hbnf/vertmenu.prg * contrib/hbnf/qtr.prg * contrib/hbnf/linked.prg * contrib/hbnf/n2color.c * contrib/hbnf/aredit.prg * contrib/hbnf/alt.c * contrib/hbnf/xbox.prg * contrib/hbnf/ftround.prg * contrib/hbnf/hex2dec.prg * contrib/hbnf/nwuid.prg * contrib/hbnf/dectobin.prg * contrib/hbnf/bitset.prg * contrib/hbnf/aemaxlen.prg * contrib/hbnf/nwlstat.prg * contrib/hbnf/invclr.prg * contrib/hbnf/ctrl.c * contrib/hbnf/lastday.prg * contrib/hbnf/tempfile.prg * contrib/hbnf/diskfunc.prg * contrib/hbnf/scregion.prg * contrib/hbnf/mouse2.prg * contrib/hbnf/d2e.prg * contrib/hbnf/ftisprn.c * contrib/hbnf/pickday.prg * contrib/hbnf/firstday.prg * contrib/hbnf/daytobow.prg * contrib/hbnf/anomatch.prg * contrib/hbnf/pvid.prg * contrib/hbnf/isbiton.prg * contrib/hbnf/color2n.c * contrib/hbnf/isbit.prg * contrib/hbnf/putkey.c * contrib/hbnf/cntryset.prg * contrib/hbnf/datecnfg.prg * contrib/hbnf/getenvrn.c * contrib/hbnf/easter.prg * contrib/hbnf/bytenot.prg * contrib/hbnf/ntow.prg * contrib/hbnf/poke.c * contrib/hbnf/aeminlen.prg * contrib/hbnf/floptst.prg * contrib/hbnf/pchr.prg * contrib/hbnf/savesets.prg * contrib/hbnf/mkdir.c * contrib/hbnf/year.prg * contrib/hbnf/caplock.c * contrib/hbnf/rmdir.c * contrib/hbnf/calendar.prg * contrib/hbnf/e2d.prg * contrib/hbnf/elapsed.prg * contrib/hbnf/sysmem.prg * contrib/hbnf/bitclr.prg * contrib/hbnf/eltime.prg * contrib/hbnf/aading.prg * contrib/hbnf/dfile.prg * contrib/hbnf/elapmil.prg * contrib/hbnf/setlastk.c * contrib/hbnf/pending.prg * contrib/hbnf/clrsel.prg * contrib/rddads/doc/en/adsfuncs.txt * contrib/rddads/doc/en/readme.txt * contrib/hbclip/hbclip.ch * contrib/hbclip/readme.txt * contrib/hbmisc/doc/en/ht_dbf.txt * utils/hbdoc/rtf.prg * utils/hbdoc/fclass1.prg * utils/hbdoc/genos2.prg * utils/hbdoc/genng.prg * utils/hbdoc/genasc.prg * utils/hbdoc/genchm.prg * utils/hbdoc/os2.prg * utils/hbdoc/ng.prg * utils/hbdoc/genhpc.prg * utils/hbdoc/html.prg * utils/hbdoc/ffile1.prg * utils/hbdoc/ft_funcs.prg * utils/hbdoc/hbdoc.prg * utils/hbdoc/troff.prg * utils/hbdoc/genhtm.prg * utils/hbdoc/genpdf1.prg * utils/hbdoc/gentrf.prg * utils/hbdoc/genrtf.prg * utils/hbmake/fclass1.prg * utils/hbmake/prb_stak.prg * utils/hbmake/ffile1.prg * utils/hbmake/ft_funcs.prg * utils/hbmake/pickfile.prg * utils/hbmake/hbmutils.prg * More cleanups, formatting (filename casing, CA-Cl*pper, etc). 2008-08-19 11:53 UTC+0200 Viktor Szakats * config/w32/install.cf * doc/hbmake.txt * doc/whatsnew.txt * doc/man/hbdoc.1 * doc/en/tlabel.txt * doc/en/set.txt * doc/en/readme.txt * doc/es/tlabel.txt * doc/es/rdd.txt * doc/es/hbpplib.txt * doc/es/treport.txt * doc/es/dirstruc.txt * doc/es/dir.txt * doc/es/file.txt * doc/es/readme.txt * source/rtl/setkey.c * source/rtl/tclass.prg * source/compiler/cmdcheck.c * contrib/hbmysql/utils/dbf2mysq.prg * contrib/hbw32ddr/readme.txt * contrib/hbodbc/odbc.txt * contrib/hbodbc/readme.txt * contrib/hbwhat32/_wincdlg.c * contrib/hbtpathy/ChangeLog * contrib/hbsqlit2/tests/hbsqlite.prg * contrib/hbapollo/ChangeLog * contrib/hbnf/byteneg.prg * contrib/hbnf/savearr.prg * contrib/hbnf/fttext.c * contrib/hbnf/restsets.prg * contrib/hbnf/byt2bit.prg * contrib/hbnf/byt2hex.prg * contrib/hbnf/ftint86.ch * contrib/hbnf/byteand.prg * contrib/hbnf/bytexor.prg * contrib/hbnf/byteor.prg * contrib/hbnf/origin.c * contrib/hbnf/bitset.prg * contrib/hbnf/popadder.prg * contrib/hbnf/menutonf.prg * contrib/hbnf/ftattr.c * contrib/hbnf/isbit.prg * contrib/hbnf/putkey.c * contrib/hbnf/getenvrn.c * contrib/hbnf/bytenot.prg * contrib/hbnf/savesets.prg * contrib/hbnf/tbwhile.prg * contrib/hbnf/ftmenuto.ch * contrib/hbnf/bitclr.prg * contrib/hbnf/readme.txt * contrib/rddads/doc/en/adsfuncs.txt * contrib/rddads/doc/en/readme.txt * contrib/rddads/readme.txt * contrib/hbgd/ChangeLog * contrib/hbgd/readme.txt * contrib/hbmisc/hb_f.c * contrib/hbtip/utils.c * contrib/hbbtree/doc/hb_btree.txt * contrib/examples/guestbk/guestbk.txt * contrib/examples/hscript/readme.txt * utils/hbdoc/genos2.prg * utils/hbdoc/genng.prg * utils/hbdoc/genasc.prg * utils/hbdoc/genchm.prg * utils/hbdoc/genhpc.prg * utils/hbdoc/html.prg * utils/hbdoc/ft_funcs.prg * utils/hbdoc/hbdoc.prg * utils/hbdoc/genpdf1.prg * utils/hbdoc/gentrf.prg * utils/hbdoc/genrtf.prg * utils/hbmake/checks.prg * utils/hbmake/ft_funcs.prg * utils/hbmake/radios.prg * utils/hbmake/hbmake.prg ! Some more filename casing related cleanups. 2008-08-17 17:30 UTC+0200 Viktor Szakats * include/hbstack.h * include/hbsetup.h * include/hbapi.h * source/rtl/filesys.c * contrib/gtwvg/tests/demowvg.prg * contrib/hbct/tests/ctwtest.prg * contrib/hbgd/ChangeLog * contrib/hbodbc/sql.ch * contrib/rddads/ads.ch * contrib/rddads/ads1.c ! Some more filename casing related cleanups. 2008-08-17 17:00 UTC+0200 Viktor Szakats * contrib/examples/guestbk/guestbk.ini * contrib/examples/guestbk/testcgi.prg * contrib/examples/hscript/hscript.prg * contrib/examples/pp/hbppdef.h * contrib/examples/pp/hbpptbl.c * contrib/gtwvg/tests/demowvg.prg * contrib/gtwvg/wvgclass.prg * contrib/hbapollo/tests/apollo.prg * contrib/hbgd/ChangeLog * contrib/hbgt/doc/gendoc.bat * contrib/hbmisc/doc/gendoc.bat * contrib/hbvpdf/hbvpdf.prg * contrib/hbvpdf/hbvpdft.prg * contrib/hbwhat32/_winclpb.c * contrib/hbwhat32/_windate.c * contrib/hbwhat32/_windc.c * contrib/hbwhat32/_windir.c * contrib/hbwhat32/_windraw.c * contrib/hbwhat32/_wingdi.c * contrib/hbwhat32/_winmisc.c * contrib/hbwhat32/_winpen.c * contrib/hbwhat32/_winprn.c * contrib/hbwhat32/_winrect.c * contrib/hbwhat32/_winrgn.c * contrib/hbwhat32/_winsock.c * contrib/hbwhat32/_wintbar.c * contrib/hbwhat32/import.ch * contrib/hbwhat32/sqltypes.ch * contrib/hbwhat32/windebug.prg * contrib/hbwhat32/winerror.prg * contrib/hbwhat32/winini.prg * contrib/hbwhat32/winrbar.prg * contrib/hbwhat32/winstruc.ch * contrib/hbwhat32/wintbar.prg * contrib/hbziparch/hbziparc.c * contrib/rddads/doc/gendoc.bat * doc/cmdline.txt * doc/dirstruc.txt * doc/en/cmdline.txt * doc/en/dbstrux.txt * doc/en/dir.txt * doc/en/file.txt * doc/en/rddord.txt * doc/es/dbstrux.txt * doc/es/file.txt * doc/es/hbpplib.txt * doc/howtomak.txt * doc/hrb_faq.txt * doc/windll.txt * include/dbinfo.ch * source/debug/dbghelp.prg * source/vm/classes.c * source/vm/hvm.c * tests/keywords.ch * tests/output.prg * tests/statics1.prg * tests/statics2.prg * tests/test_all.prg * tests/testcgi.prg * tests/testpre.prg * tests/testrdd2.prg * utils/hbmake/hbmake.prg * utils/hbmake/hbmutils.prg ! Some filename casing related fixes, cleanups. * Some non-ASCII drawing chars in comments changed to ASCII ones. 2008-08-17 09:48 UTC+0200 Viktor Szakats * include/hbapirdd.h * include/hbsetup.h + Added the most commonly used old #defines for compatibility: - HARBOUR_MAX_RDD_DRIVERNAME_LENGTH - HARBOUR_MAX_RDD_ALIAS_LENGTH - OS_UNIX_COMPATIBLE - OS_PATH_DELIMITER Please try not to use these anymore, as they will be removed in version 1.1. 2008-08-17 08:59 UTC+0200 Viktor Szakats * doc/dirstruc.txt * Updated to reflect current state. [Chen Kedem] * contrib/examples/pp/hbppcore.c * contrib/examples/pp/pp.c * contrib/hbct/disk.c * contrib/hbct/files.c * contrib/hbnf/getenvrn.c * contrib/hbw32/tprinter.c * contrib/hbziparch/hbxdirec.c * contrib/hbziparch/hbziparc.c * contrib/rddads/ads1.c * contrib/rddads/adsfunc.c * doc/en/terminal.txt * include/hb_io.h * include/hbapifs.h * include/hbapirdd.h * include/hbdefs.h * include/hbsetup.h * include/hbwince.h * source/common/hbfsapi.c * source/compiler/gencobj.c * source/compiler/hbcomp.c * source/compiler/hbusage.c * source/debug/dbgentry.c * source/main/harbour.c * source/pp/hbpp.c * source/pp/ppcore.c * source/rdd/dbcmd.c * source/rdd/dbf1.c * source/rdd/delim1.c * source/rdd/sdf1.c * source/rdd/usrrdd/usrrdd.c * source/rdd/wacore.c * source/rdd/wafunc.c * source/rdd/workarea.c * source/rtl/console.c * source/rtl/copyfile.c * source/rtl/defpath.c * source/rtl/direct.c * source/rtl/disksphb.c * source/rtl/file.c * source/rtl/filesys.c * source/rtl/fssize.c * source/rtl/fstemp.c * source/rtl/gtos2/gtos2.c * source/rtl/gtpca/gtpca.c * source/rtl/gtstd/gtstd.c * source/rtl/gttrm/gttrm.c * source/rtl/hbffind.c * source/rtl/hbinet.c * source/rtl/memofile.c * source/rtl/philes.c * source/rtl/seconds.c * source/rtl/set.c * source/vm/hvm.c * source/vm/main.c * Changed some macros to be in the HB_ namespace, to be possibly shorter, more unified and clearer. OS_UNIX_COMPATIBLE -> HB_OS_UNIX_COMPATIBLE OS_PATH_LIST_SEPARATOR -> HB_OS_PATH_LIST_SEP_CHR OS_PATH_DELIMITER -> HB_OS_PATH_DELIM_CHR OS_PATH_DELIMITER_STRING -> HB_OS_PATH_DELIM_STR OS_PATH_DELIMITER_LIST -> HB_OS_PATH_DELIM_LIST OS_FILE_MASK -> HB_OS_ALLFILE_MASK OS_DRIVE_DELIMITER -> HB_OS_DRIVE_DELIM_CHR OS_HAS_DRIVE_LETTER -> HB_OS_HAS_DRIVE_LETTER OS_OPT_DELIMITER_LIST -> HB_OS_OPT_DELIM_LIST OS_EOL_LEN -> HB_OS_EOL_LEN HARBOUR_GCC_OS2 -> HB_OS_OS2_GCC HARBOUR_START_PROCEDURE -> HB_START_PROCEDURE HARBOUR_MAIN_STD -> HB_MAIN_STD HARBOUR_MAIN_WIN -> HB_MAIN_WIN HARBOUR_MAX_RDD_DRIVERNAME_LENGTH -> HB_RDD_MAX_DRIVERNAME_LEN HARBOUR_MAX_RDD_ALIAS_LENGTH -> HB_RDD_MAX_ALIAS_LEN HARBOUR_MAX_RDD_AREA_NUM -> HB_RDD_MAX_AREA_NUM ; INCOMPATIBLE change, please update your sources, a simple case-sensitive search and replace on .c/.cpp/.h/.hpp files will be enough for most sources. 2008-08-16 16:16 UTC+0200 Viktor Szakats * make_b32.mak * make_gcc.mak * make_vc.mak * make_vcce.mak * include/hbdefs.h * source/vm/mainwin.c * source/vm/hvm.c * source/hbpcre/_hbconf.h * source/hbzlib/ChangeLog * source/hbzlib/zconf.h * utils/hbmake/hbmake.prg * __EXPORT__ -> HB_DYNLIB 2008-08-16 16:16 UTC+0200 Viktor Szakats * config/os2/gcc.cf % Cleaned include path for OS/2/GCC. David, please test it if it still builds successfully. * make_b32.mak * make_gcc.mak * make_vc.mak * make_vcce.mak * utils/hbmake/hbmake.prg % Removed using -D__EXPORT__ from any Harbour command lines, as this switch has no effect on the .prg level. 2008-08-16 13:19 UTC+0200 Viktor Szakats * doc/linux1st.txt + Added some quick openSUSE package requirement information. * config/rules.cf ! Fixed .prg rule to add PRG_USR after the built-in rules, to allow overriding them. This way it's also in sync with non-GNU make files. 2008-08-16 03:10 UTC+0200 Viktor Szakats * make_rpm.sh * harbour.spec ! Added hbsqlit3, hbmsql to the contrib list. ! Added hbhpdf (libharu) detection and build. ; Untested 2008-08-16 02:19 UTC+0200 Viktor Szakats * contrib/hbmzip/hbmzip.c ! Fixed potential GPF in executable type detection. Fixes GCC 4.3.1 warnings in openSUSE 11. * dos/whatsnew.txt ! Minor typos. * tests/debugtst.prg * tests/funcarr.prg * tests/inherit.prg * tests/objarr.prg * tests/objasign.prg * doc/en/hvm.txt * doc/es/hvm.txt * include/hbextern.ch * source/vm/debug.c * source/vm/hvm.c * source/debug/dbgtobj.prg * source/debug/debugger.prg * source/rtl/altd.prg * Harbour level HB_DBG_*() functions renamed to __DBG*() to reflect their internal nature. - Removed old __VM*() synonyms to Harbour level __DBG*() functions. INCOMPATIBLE. ! Fixed a few minor doc bugs along the way. 2008-08-14 18:15 UTC+0200 Viktor Szakats * ChangeLog + Added entry for yesterday's syncing/tagging. * make_deb.sh ! Removed hbsqlit2 from contrib list. + Added libharu detection. + Added FreeImage detection (commented). * Contrib list more or less ordered by alphabet. ; [ QUESTION: Do we need to keep this logic duplicated here, if we now have the detection logic and contrib list embedded into the make system anyway? ] * doc/linux1st.txt * Synced with make_deb.sh. 2008-08-14 00:08 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/hb-func.sh ! updated SunOS and HPUX library list ! allow to set startup .prg function in DJGPP builds * harbour/include/hbdefs.h ! defined HARBOUR_START_PROCEDURE procedure for DMC it fixes problem with executing final applications * harbour/config/w32/dm.cf ! disabled -o+time - with this switch wrong code is generated what can be seen in HBRUN 2008-08-13 17:41 UTC+0200 Viktor Szakats * SVN ; ========================================================= ; ========================================================= ; Fully synced /branches/harbour-1.0 with /trunk/harbour ; Created /tags/harbour-1.0.0 based on /branches/harbour-1.0 ; (revision 9175) ; ========================================================= ; ========================================================= 2008-08-13 16:35 UTC+0200 Viktor Szakats * doc/whatsnew.txt * More minor adjustments. 2008-08-13 15:30 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/config/hpux/gcc.cf * harbour/config/sunos/gcc.cf ! fixed typo in comment * harbour/config/dos/owatcom.cf ! fixed build process in POSIX SHELL environment 2008-08-13 13:55 UTC+0200 Viktor Szakats * doc/whatsnew.txt * Minor adjustments, typo fixes. 2008-08-13 05:50 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/gtwvg/gtwvg.h ! added missing defines for DMC builds * harbour/contrib/gtwvg/wvgutils.c ! use HB_PTRDIFF for pointer to number casting 2008-08-13 05:30 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/pp/ppcore.c * harbour/source/pp/hbpp.c * harbour/source/vm/itemapi.c * harbour/source/vm/hvm.c * harbour/source/common/hbver.c * harbour/source/macro/macrolex.c * harbour/source/hbpcre/pcrecomp.c * harbour/source/compiler/hbpcode.c * harbour/contrib/hbmisc/spd.c * harbour/contrib/hbsqlit3/sqlite3/sqlite3.c * pacified warnings * harbour/config/w32/dm.cf * updated to work with SHELL env - comment -w7 switch 2008-08-13 04:16 UTC+0200 Viktor Szakats * contrib/hbodbc/odbc.c ! Some recently updated code now conditionally restored to pre-ODBC 3.0 versions to support compilers (namely __DMC__) with old ODBC headers. I couldn't find out how to point DMC to newer (SDK) ODBC headers, but as soon as we do, we can remove this workaround. There is a similar problem with MSVC6. 2008-08-13 03:08 UTC+0200 Viktor Szakats * source/rtl/gtwvt/gtwvt.c ! Fixed one possible minor bug (synced from gtwvg.c), when pressing the mouse button for mark&select. * contrib/hbodbc/odbc.c ! Fixed some compile errors for __DMC__. ; FIXME: Some more remain. ../../odbc.c(517) : Error: undefined identifier 'SQL_IS_INTEGER' ../../odbc.c(525) : Error: undefined identifier 'SQLSetStmtAttr' ../../odbc.c(536) : Error: undefined identifier 'SQLGetConnectAttr' ../../odbc.c(549) : Error: undefined identifier 'SQLGetStmtAttr' * contrib/gtwvg/gtwvg.c * contrib/gtwvg/gtwvg.h * contrib/gtwvg/wvgcore.c * contrib/gtwvg/wvgutils.c ! Synced (to some extent) with gtwvt.c, so that it now also compiles with __DMC__. ! Fixed a some more compile errors for __DMC__. ; FIXME: Some more remain. ../../wvgutils.c(356) : Error: undefined identifier 'TTM_SETMARGIN' ../../wvgutils.c(367) : Error: undefined identifier 'TTM_GETMAXTIPWIDTH' ../../wvgutils.c(371) : Error: undefined identifier 'TTM_SETMAXTIPWIDTH' ../../wvgutils.c(385) : Error: undefined identifier 'TTM_GETTIPBKCOLOR' ../../wvgutils.c(389) : Error: undefined identifier 'TTM_SETTIPBKCOLOR' ../../wvgutils.c(402) : Error: undefined identifier 'TTM_GETTIPTEXTCOLOR' ../../wvgutils.c(406) : Error: undefined identifier 'TTM_SETTIPTEXTCOLOR' ../../wvgutils.c(761) : Error: undefined identifier 'UINT_PTR' ../../wvgutils.c(1296) : Error: undefined identifier 'LONG_PTR' ../../wvgutils.c(1297) : Error: undefined identifier 'ul' * config/w32/dm.cf ! Fix missed from previous commit added. * Added -x C compiler switch. 2008-08-13 03:24 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/gtwvt/gtwvt.c ! use HB_PTRDIFF for handle to number casting 2008-08-13 02:30 UTC+0200 Viktor Szakats * make_b32.bat * make_b32.mak - Removed dummy option HB_BUILD_MODE. 2008-08-13 01:11 UTC+0200 Viktor Szakats * doc/whatsnew.txt * Extended releases notes/issues section. * config/w32/dm.cf ! Fixed to exclude "possible extraneous ';'" warnings for every for()/while()/etc constructs with an empty body. ! Further fixes to link/lib rules. ; FIXME1: odbc.c, gtwvg.c still don't compile. ; FIXME2: Harbour executables won't run, by simply doing nothing. * source/rtl/gtwvt/gtwvt.c ! Fixed to compile with __DMC__. ; NOTE: Przemek, could you please check these? * include/hbsetup.h ! snprintf() for __DMC__. * contrib/hbw32/dllcall.c ! Fixed casting for __DMC__. * contrib/hbsqlit3/hbsqlit3.c ! Workaround for Pelles C 4.5 and Open Watcom, so that sqlite3.c won't be included for these compilers. Pelles C 4.5 crashes, Open Watcom 1.7 goes into an infinite loop on this huge file. For thes compilers the sqlite3 library should be supplied by the users. * contrib/hbapollo/apollo.c ! Fixed to compile with Open Watcom. * source/vm/mainwin.c * source/vm/hvm.c ! Fix for __DMC__ startup problem: 'OPTLINK : Warning 134: No Start Address' 2008-08-12 22:49 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/config/w32/dm.cf * updated for central library directory used by Harbour - not tested * harbour/config/w32/xcc.cf ! fixed include PATH in XCC builds - Viktor be carefull with cleaning -I<path> parameter. Some compilers use different rulles then the one you may expect using the most popular ones and such operation will break compilation. E.g. XCC seems to ignore source file location for releative paths so in GNU make builds it's necessary to add "-I$(TOP)" instead of "-I." and when included file starts with ".." then it does not try to use it with paths set by -I option so we need -I$(TOP)$(ROOT) and hard coded for this compiler directories in include/hbregex.h and include/hbzip.h * harbour/source/hbzlib/zutil.h ! do not use fdopen() with XCC - it does not support it * harbour/contrib/examples/pp/pp.c * harbour/contrib/examples/pp/hbppcore.c * harbour/source/common/hbfsapi.c * harbour/source/rtl/fnsplit.c * harbour/source/rtl/fstemp.c ! always use _POSIX_PATH_MAX + 1 buffers * harbour/source/compiler/gencobj.c * extended line buffer size * harbour/source/rtl/gtcrs/gtcrs.h * removed unnecessary declaration for _POSIX_PATH_MAX it's always defined in Harbour header files * harbour/source/rtl/inkey.c * harbour/source/rtl/hbinet.c * harbour/source/rtl/gtwvt/gtwvt.c * use hb_array[SG]et*() functions insteaf of hb_item*( hb_arrayGetItemPtr, ... ) 2008-08-12 21:02 UTC+0200 Viktor Szakats * doc/linux1st.txt * Some further updates. [1.0] 2008-08-12 20:55 UTC+0200 Viktor Szakats + config/w32/dm.cf + Digital Mars .cf file added. Some cleanups done, and FIXME added besides the following: ; FIXME: This file comes from xhb, and it needs to be updated to create core and contrib .lib files in central dir. Until then it doesn't work. Ryszard, if you see this, could you take a look? * config/dos/djgpp.cf * config/w32/bcc32.cf * config/w32/xcc.cf % Unnecessary CPPFLAGS -I options deleted: -I$(TOP) -I$(TOP)include -Iinclude -I$(TOP)$(ROOT) ; NOTE/TODO: CPPFLAGS -i usage should be cleaned for these files: config/dos/owatcom.cf config/linux/owatcom.cf config/os2/gcc.cf config/w32/owatcom.cf config/w32/watcom.cf 2008-08-12 19:31 UTC+0200 Viktor Szakats * doc/linux1st.txt * Updated with hbgf package requirement information. [1.0] * contrib/hbcurl/hbcurl.ch * Minor update for libcurl 7.18.2 [1.0] 2008-08-12 16:00 UTC+0200 Viktor Szakats * doc/Makefile - doc/hbpplib.txt - Removed obsolete file. [1.0] * doc/linux1st.txt * Added required Ubuntu packages for all existing contribs (except hbgf). [1.0] * doc/whatsnew.txt + Added "Known issues", with MSVC 64-bit C mode compilation and hbfimage compile failure in Linux. [1.0] 2008-08-12 14:06 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/make_rpmw32.sh * harbour/make_rpmce.sh ! fixed release number setting for empty harbour release string [1.0] 2008-08-12 13:00 UTC+0200 Viktor Szakats * contrib/hbhpdf/Makefile ! Fixed to find libharu headers in its current default location. (tested on Ubuntu with .tar.gz package from libharu.org.) [1.0] ; Some more (albeit not new) errors from Ubuntu when compiled will all possible external packages installed: In file included from ../../fi_winfu.c:74: /usr/include/FreeImage.h:134: error: conflicting types for 'LONG' ../../../../include/hbdefs.h:205: error: previous declaration of 'LONG' was here In file included from ../../fi_wrp.c:74: /usr/include/FreeImage.h:134: error: conflicting types for 'LONG' ../../../../include/hbdefs.h:205: error: previous declaration of 'LONG' was here 2008-08-12 13:01 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/make_xmingw.sh * harbour/make_xmingwce.sh ! cleanup and some minor fixes * synced behavior of both scripts in few places [1.0] * harbour/contrib/rddads/ads1.c * harbour/contrib/rddads/adsfunc.c ! fixed casting of parameters passed to snprintf() [1.0] 2008-08-12 12:02 UTC+0200 Viktor Szakats * contrib/rddads/adsfunc.c ! Fixed GCC warning (Ubuntu/GCC422 + ACE 9.00.0.0) ; FIXME: These ones still remain: ../../ads1.c: In function 'adsInfo': ../../ads1.c:2792: warning: format '%ld' expects type 'long int', but argument 5 has type 'UNSIGNED32' ../../ads1.c:2792: warning: format '%ld' expects type 'long int', but argument 6 has type 'UNSIGNED32' ../../ads1.c:2792: warning: format '%ld' expects type 'long int', but argument 5 has type 'UNSIGNED32' ../../ads1.c:2792: warning: format '%ld' expects type 'long int', but argument 6 has type 'UNSIGNED32' ../../adsfunc.c: In function 'HB_FUN_ADSVERSION': ../../adsfunc.c:1617: warning: format '%ld' expects type 'long int', but argument 4 has type 'UNSIGNED32' ../../adsfunc.c:1617: warning: format '%ld' expects type 'long int', but argument 5 has type 'UNSIGNED32' ../../adsfunc.c:1617: warning: format '%ld' expects type 'long int', but argument 4 has type 'UNSIGNED32' ../../adsfunc.c:1617: warning: format '%ld' expects type 'long int', but argument 5 has type 'UNSIGNED32' ../../adsfunc.c:1620: warning: format '%ld' expects type 'long int', but argument 5 has type 'UNSIGNED32' ../../adsfunc.c:1620: warning: format '%ld' expects type 'long int', but argument 6 has type 'UNSIGNED32' ../../adsfunc.c:1620: warning: format '%ld' expects type 'long int', but argument 5 has type 'UNSIGNED32' ../../adsfunc.c:1620: warning: format '%ld' expects type 'long int', but argument 6 has type 'UNSIGNED32' [1.0] 2008-08-12 10:55 UTC+0200 Viktor Szakats * source/lang/msgcskam.c * source/lang/msgcs852.c * source/lang/msgcsiso.c * source/lang/msgcswin.c ! Typo fixed (by Vojtech Obrdlik). [1.0] 2008-08-11 21:20 UTC+0200 Viktor Szakats * config/hpux/gcc.cf * config/linux/gcc.cf * config/os2/gcc.cf * config/bsd/gcc.cf ! Never force the platform from the make files, rather rely on the autodetection in hbsetup.h. Compiling default parts of the software should only rely on manually set macros if there is no reasonable chance to make the detection automatic. * include/hbsetup.h ! HB_OS_LINUX, HB_OS_HPUX autodetection supposedly made more robust. [1.0] * include/hbsetup.ch * include/hbapi.h * source/rtl/hbffind.c - Removed HB_FILE_VER stuff. It's lost its importancy with SVN. [1.0] * include/Makefile - include/hbcommon.ch - Removed hbcommon.ch no longer needed. It only contained HB_FILE_VER related stuff. [1.0] * contrib/rddado/Makefile ! Excluded from OS/2 builds. 2008-08-11 20:41 UTC+0200 Viktor Szakats * contrib/hbmisc/spd.c ! Fix to SQL_SPRINTF() by Xavi. [1.0] 2008-08-11 19:40 UTC+0200 Viktor Szakats * make_xmingw.sh ! Fixed to look for hbpp in the path, like it does for harbour. [1.0] 2008-08-11 18:24 UTC+0200 Viktor Szakats * config/rules.cf % Removed unnecessary -I option from Harbour command line. * ChangeLog + Added entry to signal the branching. 2008-08-11 12:13 UTC+0200 Viktor Szakats * SVN ; ========================================================= ; ========================================================= + New '/branches/harbour-1.0' branch created. Any work involving 1.0.x versions should be done in this branch. ; In the "normal" repository (= the trunk = this one), the development of next main version (1.1) of Harbour should continue. To put it shortly: - Don't commit here anything belonging to 1.0.x. - Do commit everything belonging to 1.1. - Do commit everything belonging to 1.0 to /branches/harbour-1.0 ; ========================================================= ; ========================================================= 2008-08-11 11:02 UTC+0200 Viktor Szakats * make_vcce.mak * Minor cosmetic sync with make_vc.mak * hbgtmk.sh ! Minor typos. 2008-08-10 17:32 UTC+0200 Viktor Szakats * make_xmingwce.sh * make_xmingw.sh ! Fixed to use full uppercase for script generated __PLATFORM__ macros too. Przemek pls check me. 2008-08-10 16:18 UTC+0200 Viktor Szakats * config/rules.cf * make_b32.mak * make_gcc.mak * make_vcce.mak * make_vc.mak * -kM -> -km ! Synced make_vcce.mak HBFLAGSCMN flag with make_vc.mak. (-gc1 -> -gc0 -km) * make_xmingwce.sh ! Minor typos. 2008-08-10 16:17 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/hb-func.sh * updated library list for wince harbour.dll linking * harbour/source/common/hbwince.c ! fixed compilation new MinGWCE 2008-08-10 15:14 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/ChangeLog * harbour/include/hbextern.ch ! fixed typo, should be HB_REQUEST_SCALAR 2008-08-10 12:58 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbextern.ch * include scalar classes only when HB_REQUEST_SCALAR define is set * harbour/source/rtl/tobject.prg ! use <obj>:className instead of __objGetClsName( <obj> ) in error message 2008-08-09 21:44 UTC+0200 Viktor Szakats * doc/whatsnew.txt * Minor corrections. * contrib/hbclipsm/Makefile * contrib/hbclipsm/common.mak * contrib/hbclipsm/num.c + contrib/hbclipsm/numfloor.c + contrib/hbclipsm/numceil.c * Moved CEILING() and FLOOR() to separate source files to lessen the impact with colliding function names in hbct.lib. 2008-08-09 18:07 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/extrap.c * use static buffer for signal alternative stack so it will not have to be deallocated for clean application exit 2008-08-09 18:00 UTC+0200 Viktor Szakats * make_gnu_os2.cmd * Minor formatting. 2008-08-09 17:55 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/runner.c ! fixed HB_HRBGETFUNSYM() to respect only function symbols 2008-08-09 17:52 UTC+0200 Viktor Szakats * doc/whatsnew.txt * include/hbextern.ch * source/vm/runner.c - Completely removed __HRBDOFU(). Users should use DO() instead. 2008-08-09 17:31 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/extrap.c * deallocate alternative signal stack on exit FIXME: hb_vmSetExceptionHandler() / hb_vmUnsetExceptionHandler() cover only part of hb_vmInit() and not hb_vmQuit(). Their calls should be moved to external places where both hb_vmInit() and hb_vmQuit() are executed. * harbour/source/rdd/dbfcdx/dbfcdx1.c ! fixed to not respect bitmap filters when structural order is scanned, e.g. in OrdListAdd() with active bitmap filter. 2008-08-09 16:52 UTC+0200 Viktor Szakats * include/hbsetup.h * Refinement to HB_OS_DARWIN autodetection. Thanks Przemek. * doc/whatsnew.txt * include/hbextern.ch * source/vm/runner.c * Refinements to previous commit. HB_HRBGETSYMBOL() -> HB_HRBGETFUNSYM() HB_HRBDOSYMBOL() -> deleted * __HRBDOFU() made equivalent to __HRBDO() 2008-08-09 16:28 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/hb-mkslib.sh * do not create temporary directory in MacOSX ! fixed absolute shared library soft links to be relative ones 2008-08-09 12:55 UTC+0200 Viktor Szakats * config/darwin/gcc.cf % Commented -Wno-long-double Darwin option. It seems that it's no longer needed with GCC 4.0.1. 2008-08-09 12:33 UTC+0200 Viktor Szakats * config/darwin/gcc.cf % Removed an unnecessary -I option from the GCC command line. 2008-08-09 11:43 UTC+0200 Viktor Szakats * doc/whatsnew.txt * bin/hb-mkslib.sh ! Changed the way harbour.dylib is created on Darwin systems to support universal builds. Please review and test. ! Fixed generating links for .dylibs on Darwin. ! Removed one excessive 'cd "${OTMPDIR}"' command. (I hope this is right) ! Removed previously added $(L_USR) from Darwin dynamic lib creation command line, as the L_USR "-arch" flags (and probably others) cannot work here. ; FIXME: 'ld: library not found for -lharbour' is still present. * include/hbsetup.h + Added autodetection for HB_OS_DARWIN (based on __APPLE__). * config/darwin/gcc.cf ! Not forcing HB_OS_DARWIN from the command-line, we're relying on the autodetection. * source/rtl/hbzlib.c * include/hbextern.ch * doc/whatsnew.txt * Harbour level functions renamed: HB_COMPRESS -> HB_ZCOMPRESS HB_COMPRESSBOUND -> HB_ZCOMPRESSBOUND HB_UNCOMPRESS -> HB_ZUNCOMPRESS HB_UNCOMPRESSLEN -> HB_ZUNCOMPRESSLEN This is to avoid collision with xhb functions with similar name but different parameter list. Please modify your programs to use the new interface. INCOMPATIBLE. * utils/hbextern/hbextern.prg * Disabled scanning C HB_FUNC functions in .prg files. * Minor formatting. * include/hbapigt.h ! Minor cosmetic. * source/vm/runner.c * include/hbextern.ch * doc/whatsnew.txt * contrib/examples/hscript/hscript.prg * utils/hbrun/hbrun.prg * Harbour level functions renamed: __HRBRUN -> HB_HRBRUN __HRBLOAD -> HB_HRBLOAD __HRBDO -> HB_HRBDO __HRBUNLOAD -> HB_HRBUNLOAD __HRBGETFU -> HB_HRBGETSYMBOL __HRBDOFU -> HB_HRBDOSYMBOL .hrb API functions moved to the documented namespace. Old function names still function, but are deprecated. Please modify your programs to use the new interface. ; NOTE: HB_DBG_*() function should I believe correctly named as __DBG*(), as they are indeed internal functions, not meant to guaranteed for final apps. We should do this cleanup in the future. * tests/Makefile - tests/spawn.prg - tests/spawn2.prg ! Removed two obsolete tests. 2008-08-08 18:28 UTC+0200 Viktor Szakats * bin/hb-mkslib.sh + Added $(L_USR) to Darwin dynamic lib creation command line. * config/darwin/gcc.cf * Changed '-o ' to a more robust expression. 2008-08-08 13:18 UTC+0200 Viktor Szakats * contrib/hbsqlit3/sqlite3/sqlite3.c ! Pacified one OSX GCC unused var warning. 2008-08-08 13:13 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/postinst.sh * use libtool instead of ar to create library on Darwin * harbour/make_tgz.sh * disabled self extracting shell envelop 2008-08-08 11:17 UTC+0200 Viktor Szakats * config/darwin/gcc.cf ! Added space after -o in CC_OUT to avoid a lot of warning messages. NOTE: Is there any way to add the ending space in a safer way? Now an editor can easily truncate it by incident. 2008-08-08 05:00 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/hbgtmk.sh * removed ncurses dependences * harbour/source/rtl/hbmd5.c * pacified warnings. Thanks to Xavi 2008-08-08 03:05 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/hb-func.sh * replaced all echo -n with echo - shells should remove trailing blank characters when stream command is not quoted by "" 2008-08-08 02:18 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/make_deb.sh * harbour/make_tgz.sh * harbour/make_rpm.sh * harbour/make_rpmce.sh * harbour/make_rpmw32.sh * harbour/bin/pack_src.sh * force using BASH in all files which includes hb-func.sh * harbour/include/hbgtcore.h * harbour/include/hbapigt.h * harbour/include/hbextern.ch * harbour/source/rtl/hbgtcore.c * harbour/source/rtl/inkeyapi.c * harbour/source/rtl/inkey.c + added HB_KEYINS() which works like HB_KEYPUT() but numeric key values puts at the beginning of keyboard buffer. It does not clear keyboard buffer contents. 2008-08-07 17:20 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/source/rtl/achoice.prg - Removed K_MOUSEMOVE functionality. 2008-08-07 16:35 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/source/rtl/achoice.prg + Added functionality for K_MOUSEMOVE. Now if the moouse is moved over the AChoice area, prompt ready for selection will also change, just like in Windows. 2008-08-08 01:10 UTC+0200 Viktor Szakats * doc/genhtm.sh ! Minor fix to previous commit. * utils/hbdoc/rtf.prg * utils/hbdoc/genos2.prg * utils/hbdoc/genng.prg * utils/hbdoc/genasc.prg * utils/hbdoc/hbdocdef.ch * utils/hbdoc/genchm.prg * utils/hbdoc/os2.prg * utils/hbdoc/ng.prg * utils/hbdoc/genhpc.prg * utils/hbdoc/html.prg * utils/hbdoc/ft_funcs.prg * utils/hbdoc/hbdoc.prg * utils/hbdoc/troff.prg * utils/hbdoc/genhtm.prg * utils/hbdoc/genpdf1.prg * utils/hbdoc/gentrf.prg * utils/hbdoc/genrtf.prg ! Fixed to not convert filenames to uppercase. (sf.net #1673895) ! Formatting. * <> -> !=, .f. -> .F., .t. -> .T. ! = -> ==/:= (where the intent was clear) ! Added newline to the end of files. 2008-08-08 00:33 UTC+0200 Viktor Szakats + doc/genhtm.sh + Added Linux/Unix make file for docs (sf.net #1673897) Thanks to Wilfried Brunken - df7be. 2008-08-08 00:30 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/hb-func.sh + recognize -mwindows -mconsole MinGW-GCC switches and update library list for them * harbour/source/rtl/gtwvt/gtwvt.h * harbour/source/rtl/gtwvt/gtwvt.c + added support HB_SET{TERM|DISP|KEY}CP() in non Unicode builds 2008-08-07 23:04 UTC+0200 Viktor Szakats - doc/es/simplex.txt * doc/es/Makefile - Obsolete file removed. 2008-08-07 22:52 UTC+0200 Viktor Szakats * doc/whatsnew.txt * Updated. 2008-08-07 21:49 UTC+0200 Viktor Szakats * harbour-ce-spec * harbour-w32-spec * harbour.spec * contrib/examples/pp/pp.c * contrib/hbmisc/fileread.prg * contrib/hbmisc/tests/readfile.prg * contrib/hbmisc/tests/twirl.prg * contrib/hbmisc/twirler.prg * doc/en/readme.txt * doc/es/readme.txt * source/rtl/achoice.prg * tests/boxtst2.prg * tests/delimtst.prg * tests/devtest.prg * tests/disptest.prg * tests/inkeytst.prg * tests/longdev.prg * tests/output.prg * tests/round.prg * tests/sbartest.prg * tests/scroll.prg * tests/sdf_test.prg * tests/seconds.prg * tests/setkeys.prg * tests/testhtml.prg * tests/version.prg * utils/hbdoc/hbdoc.prg * Minor formattings, cosmetic updates, homepage made lower case everywhere. 2008-08-07 12:23 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/source/rtl/achoice.prg * Corrected behavior of K_LDBLCLK and K_LBUTTONDOWN. 2008-08-07 18:50 UTC+0200 Viktor Szakats * source/rtl/achoice.prg * Minor changes to mouse support. FIXME/TODO added. 2008-08-07 17:48 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/debug/debugger.prg ! added missing semicolon for -DHB_NO_READDBG compilation Thanks to Lorenzo 2008-08-07 15:06 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/gtwvg/wvgutils.c ! fixed OpenWatcom compilation 2008-08-07 14:58 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/harbour-ce-spec * harbour/harbour-w32-spec ! set HB_XBUILD evvar * harbour/bin/hb-func.sh ! do not move harbour.dll to HB_BIN_INSTALL directory when HB_XBUILD envvar is set * harbour/source/hbzlib/deflate.c * pacified warning 2008-08-07 14:33 UTC+0200 Viktor Szakats * include/hbver.h - Removed reference to hbverfix. * utils/hbmake/hbmake.prg - Removed local version number. Full Harbour version number is shown. 2008-08-07 13:32 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbodbc/odbc.c ! fixed casting in conditional expressions 2008-08-07 12:55 UTC+0200 Viktor Szakats * include/hbdefs.h % Tamed latest HB_SYMBOL_UNUSED() change to only affect __POCC__, __XCC__. 2008-08-07 13:01 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/hb-func.sh * excluded hbcplr library from harbour shared library 2008-08-07 12:55 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/harbour-ce-spec * harbour/harbour-w32-spec * harbour/harbour.spec ! added hbextern library * harbour/harbour.spec * removed dependences on ncurses (--without gtcrs) * harbour/make_rpm.sh * added automatic ncurses detection 2008-08-07 11:58 UTC+0200 Viktor Szakats * source/pp/hbpp.c * utils/hbrun/hbrun.prg * Synced help screen, header and copyright layout. (some more minor) 2008-08-07 11:52 UTC+0200 Viktor Szakats * source/pp/hbpp.c * utils/hbdoc/hbdoc.prg * utils/hbmake/hbmake.prg * utils/hbtest/hbtest.prg * Synced help screen, header and copyright layout. 2008-08-07 10:11 UTC+0200 Viktor Szakats * contrib/hbodbc/odbc.c ! Replaced deprecated ODBC API calls to new ones, thus solving some potential buffer overflow problems and 64-bit warnings. * contrib/hbodbc/tests/odbcdemo.prg ! Fixed some non-ASCII chars. 2008-08-07 09:15 UTC+0200 Viktor Szakats * source/rtl/achoice.prg * Minor formatting. 2008-08-07 09:10 UTC+0200 Viktor Szakats * include/hbdefs.h ! Changed HB_SYMBOL_UNUSED() to better work for all compilers, notably Pelles C. ! Fix to PFLL, although it didn't fix all GCC 4.3.1 warnings. These remained: ../../genc.c:1582: warning: unknown conversion type character 'l' in format ../../genc.c:1582: warning: too many arguments for format [ This change got merged with existing commit. ] ; Thanks to Przemek for these patches. * contrib/hbfbird/firebird.c % Using PFLL instead of local logic. * contrib/gtwvg/wvgutils.c ! Reverted some wrong fixes from previous commit. 2008-08-06 22:30 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/source/rtl/achoice.prg + Implemented mouse operations as follows. CASE ( nKey == K_MWFORWARD ) Keyboard( Chr( K_UP ) ) CASE ( nKey == K_MWBACKWARD ) Keyboard( Chr( K_DOWN ) ) CASE nKey == K_LDBLCLK Keyboard( Chr( K_ENTER ) ) 2008-08-07 05:05 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbdefs.h ! fixed default printf length modifier for long long integer values * harbour/harbour.spec * harbour/harbour-ce-spec * harbour/harbour-w32-spec ! fixed for new FM library name 2008-08-07 03:35 UTC+0200 Viktor Szakats * contrib/gtwvg/gtwvg.c * contrib/gtwvg/wvgutils.c * contrib/gtwvg/wvgcore.c ! Fixed 64-bit (MSVS 2008 64-bit and Pelles C 5 64-bit) related problems shown as warnings. ; Please review and test, especially WinCE and older MSVC builds. ; NOTE: There are many other 64-bit related problems not shown as compiler warnings. 2008-08-06 23:07 UTC+0200 Viktor Szakats * contrib/hbapollo/Makefile ! Excluded from DOS builds. 2008-08-06 22:56 UTC+0200 Viktor Szakats * source/hbzlib/zconf.h * Undone previous ZLIB_DLL related change, as it causes these warnings, when compiled with MSVS: hbzlib.obj : warning LNK4217: locally defined symbol _inflateEnd imported in function _hb_zlibUncompressedSize hbzlib.obj : warning LNK4217: locally defined symbol _inflate imported in function _hb_zlibUncompressedSize hbzlib.obj : warning LNK4217: locally defined symbol _inflateInit_ imported in function _hb_zlibUncompressedSize hbzlib.obj : warning LNK4217: locally defined symbol _zlibVersion imported in function _HB_FUN_HB_ZLIBVERSION hbzlib.obj : warning LNK4217: locally defined symbol _compressBound imported in function _HB_FUN_HB_COMPRESSBOUND hbzlib.obj : warning LNK4217: locally defined symbol _compress imported in function _HB_FUN_HB_COMPRESS hbzlib.obj : warning LNK4217: locally defined symbol _compress2 imported in function _HB_FUN_HB_COMPRESS hbzlib.obj : warning LNK4217: locally defined symbol _uncompress imported in function _HB_FUN_HB_UNCOMPRESS hbzlib.obj : warning LNK4217: locally defined symbol _gzclose imported in function _hb_gz_Destructor hbzlib.obj : warning LNK4217: locally defined symbol _gzopen imported in function _HB_FUN_HB_GZOPEN hbzlib.obj : warning LNK4217: locally defined symbol _gzdopen imported in function _HB_FUN_HB_GZDOPEN hbzlib.obj : warning LNK4217: locally defined symbol _gzsetparams imported in function _HB_FUN_HB_GZSETPARAMS hbzlib.obj : warning LNK4217: locally defined symbol _gzread imported in function _HB_FUN_HB_GZREAD hbzlib.obj : warning LNK4217: locally defined symbol _gzwrite imported in function _HB_FUN_HB_GZWRITE hbzlib.obj : warning LNK4217: locally defined symbol _gzgets imported in function _HB_FUN_HB_GZGETS hbzlib.obj : warning LNK4217: locally defined symbol _gzputs imported in function _HB_FUN_HB_GZPUTS hbzlib.obj : warning LNK4217: locally defined symbol _gzgetc imported in function _HB_FUN_HB_GZGETC hbzlib.obj : warning LNK4217: locally defined symbol _gzungetc imported in function _HB_FUN_HB_GZUNGETC hbzlib.obj : warning LNK4217: locally defined symbol _gzflush imported in function _HB_FUN_HB_GZFLUSH hbzlib.obj : warning LNK4217: locally defined symbol _gzseek imported in function _HB_FUN_HB_GZSEEK hbzlib.obj : warning LNK4217: locally defined symbol _gzrewind imported in function _HB_FUN_HB_GZREWIND hbzlib.obj : warning LNK4217: locally defined symbol _gztell imported in function _HB_FUN_HB_GZTELL hbzlib.obj : warning LNK4217: locally defined symbol _gzeof imported in function _HB_FUN_HB_GZEOF hbzlib.obj : warning LNK4217: locally defined symbol _gzdirect imported in function _HB_FUN_HB_GZDIRECT hbzlib.obj : warning LNK4217: locally defined symbol _gzerror imported in function _HB_FUN_HB_GZERROR hbzlib.obj : warning LNK4217: locally defined symbol _gzclearerr imported in function _HB_FUN_HB_GZCLEARERR 2008-08-06 22:18 UTC+0200 Viktor Szakats * source/compiler/hbusage.c + Updated credit list based on contributors committing ChangeLog entries. If anyone has someone to recommend to add to the list, please do this on the devl-list. * source/compiler/hbusage.c * source/compiler/cmdcheck.c + -k? switches made case-insensitive. 2008-08-06 17:53 UTC+0200 Viktor Szakats * doc/whatsnew.txt + Updated with recent changes. 2008-08-06 17:31 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/hb-func.sh * harbour/bin/postinst.sh * changed FM lib name to HBFM * harbour/bin/hb-mkslib.sh * respect L_USR also in Windows builds 2008-08-06 16:14 UTC+0200 Viktor Szakats * contrib/hbapollo/Makefile * contrib/hbapollo/apollo.c ! Fixed include dir detection to honor file casing, to make it compatible with MinGW + bash. Could someone with Apollo for Linux check whether it uses 'Sde61.h' or 'sde61.h' as the header name? ! Fixed to #include "Sde61.h" instead of "sde61.h" 2008-08-06 14:27 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/hb-func.sh * updated to create harbour.dll in HB_BIN_INSTALL instead of HB_LIB_INSTALL * added to library paths in hb* scripts HB_BIN_INSTALL directory for shared linking when harbour shared library does not exist in HB_LIB_INSTALL but it's present in HB_BIN_INSTALL 2008-08-06 13:09 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/hb-func.sh * harbour/source/vm/hvm.c * harbour/source/rtl/hbgtcore.c * added const to s_defaultGT and s_pszLinkedMain declarations * make s_pszLinkedMain visible and functional for platforms which does not use HARBOUR_START_PROCEDURE * harbour/source/vm/extrap.c + added exception trap for SIGSEGV, SIGILL, SIGFPE and SIGBUS for *nixes which support sigaltstack() * harbour/include/hbwmain.c * harbour/source/vm/mainwin.c * use of WinMain() from hbwmain.c * harbour/source/pp/pplib.c * ignore all #pragma directives setting compiler switches instead of generating RT error when user uses PP in .prg code by __PP_*() functions * harbour/source/Makefile + harbour/source/hbextern + harbour/source/hbextern/hbextern.prg + harbour/source/hbextern/Makefile * harbour/common.mak * harbour/make_b32.mak * harbour/make_gcc.mak * harbour/make_vc.mak * harbour/make_vcce.mak * harbour/bin/hb-func.sh + added hbextern library + added hbextern to harbour shared library. Now all functions are registered and visible for dynamically linked applications not only .prg ones and .c functions explicitly bound with some .prg code * harbour/utils/hbrun/Makefile * harbour/utils/hbrun/hbrun.prg * use hbextern library instead of #include "hbextern.ch" It has no noticeable effect on static builds but greatly reduce the size of dynamic builds, e.g. current hbrun linked dynamically in my Linux box has 12 kB. 2008-08-06 12:59 UTC+0200 Viktor Szakats * common.mak - Excluded hbdebug.lib from non-GNU make made harbour*.dlls. 2008-08-06 11:36 UTC+0200 Viktor Szakats * utils/hbdoc/hbdoc.prg ! Typos fixed on help screen. 2008-08-05 23:47 UTC+0200 Viktor Szakats * source/rtl/errorint.c * source/vm/estack.c * source/vm/hvm.c * source/vm/extrap.c + Added filename to stack traces. Someone please review me. Also, pls test if it compiles cleanly with OS/2. 2008-08-05 21:39 UTC+0200 Viktor Szakats * source/hbpcre/_hbconf.h * source/hbzlib/zconf.h * source/hbzlib/ChangeLog ! Fixed to pass down the Harbour DLL creation flag to integrated 3rd party sources. After this, pcre and zlib public symbols should be properly exported on Windows platform. ; NOTE: Harbour uses __EXPORT__ to signal DLL creation, which is not very ideal, so I'd suggest to switch to HB_DLL in future versions. 2008-08-05 16:29 UTC+0200 Viktor Szakats * contrib/examples/pp/bld_b32.bat * contrib/examples/pp/bld_vc.bat * contrib/examples/guestbk/bld_b32.bat * contrib/examples/guestbk/bld_vc.bat * contrib/examples/pe/bld_b32.bat * contrib/examples/pe/bld_vc.bat * contrib/examples/dbu/bld_b32.bat * contrib/examples/dbu/bld_vc.bat * contrib/examples/hscript/bld_b32.bat * contrib/examples/hscript/bld_vc.bat * utils/hbdoc/bld_vc.bat * utils/hbdoc/bld_b32.bat * utils/hbmake/bld_vc.bat * utils/hbmake/bld_b32.bat + Cleaning .c and .obj files after the build process. ! This is needed to not interfere with the GNU-make system, which would pickup and try to compile those temp .c files. 2008-08-05 15:23 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/postinst.sh * added workaround for wrongly detected harbour root path in some environments * harbour/source/vm/extrap.c * minor modification 2008-08-05 13:22 UTC+0200 Viktor Szakats * doc/whatsnew.txt + Added hbdot -> hbrun info. * utils/Makefile ! Missing change to previous commit. * contrib/examples/pp/bld_b32.bat * contrib/examples/guestbk/bld_b32.bat * contrib/examples/pe/bld_b32.bat * contrib/examples/dbu/bld_b32.bat * contrib/examples/hscript/bld_b32.bat * utils/hbdoc/bld_b32.bat * utils/hbmake/bld_b32.bat % -e switch removed from bcc32 command line. 2008-08-05 08:50 UTC+0200 Viktor Szakats * harbour-ce-spec * harbour-w32-spec * harbour.spec * common.mak * make_b32.mak * make_gcc.mak * make_vc.mak * make_vcce.mak * make_tgz.sh * debian/rules - doc/man/hbdot.1 * doc/man/hbrun.1 - utils/hbdot * utils/hbrun/Makefile * utils/hbrun/hbrun.prg - utils/hbrun/external.prg * Replaced hbrun functionality with hbdot's. - Removed separate hbdot tool. * contrib/hbsqlit3/sqlite3/sqlite3.c * contrib/hbsqlit3/make_vc.bat ! Fixed bug in foreign code (sqlite3.c) to compile in MSVC C++ mode. (HANDLE -> HMODULE) * C++ mode is no longer forced in non-GNU MSVC builds, this way also avoiding a screen warning. * contrib/examples/dbu/bld_b32.bat * contrib/examples/dbu/bld_vc.bat ! Fixed to call 'patch' with '-N' so that it doesn't ask to reverse patches when run multiple times. + utils/hbdoc/bld_b32.bat + utils/hbdoc/bld_vc.bat + Added non-GNU make batch files to build hbdoc. ; This is a step towards detaching hbdoc from core. * utils/hbdoc/hbdocdef.ch ! Fixed equality operators to be SET EXACT independent. ; Minor formatting. 2008-08-05 02:43 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/utils/hbdot/hbdot.prg * removed holder class for HRB modules - it's not longer necessary because we have automatic destructors for .hrb modules * updated usage message for .hrb files * minor modifications * harbour/doc/man/hbdot.1 * updated man page for recent modifications 2008-08-05 00:22 UTC+0200 Viktor Szakats + utils/hbmake/bld_vc.bat + utils/hbmake/bld_b32.bat + Added non-GNU make batch files to build hbmake. ; This is a step towards detaching hbmake from core. + contrib/examples/dbu/bld_vc.bat + contrib/examples/guestbk/bld_vc.bat + contrib/examples/hscript/bld_vc.bat + contrib/examples/pe/bld_vc.bat + contrib/examples/pp/bld_vc.bat + Added MSVC build scripts. 2008-08-05 00:22 UTC+0200 Viktor Szakats + utils/hbmake/bld_vc.bat + utils/hbmake/bld_b32.bat + Added non-GNU make batch files to build hbmake. ; This is a step towards detaching hbmake from core. 2008-08-04 22:28 UTC+0200 Viktor Szakats * utils/hbdot/hbdot.prg + hbdot is now able to run .hrb files too, by doing a check on the extension, similar to hbrun. 2008-08-04 22:31 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/make_gcc.mak ! fixed SPACEs used instead of TAB in clean command 2008-08-04 22:28 UTC+0200 Viktor Szakats * utils/hbmake/hbmake.prg ! Several minor typos corrected in main help screen. 2008-08-04 22:16 UTC+0200 Viktor Szakats * source/rtl/filesys.c * Minor formatting. [ Thanks for the patches, they got merged with prev commit. ] 2008-08-04 22:13 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/rddads/adsfunc.c ! fixed possibly unclosed AdsCloseSQLStatement() * harbour/contrib/rddads/ads1.c * minor cleanup and protection against possible strange results caused by indexes without tags * harbour/source/rtl/hbinet.c ! added protection against using wrong handles ! fixed possible resource leak (unclosed handle) when open handle is passed to HB_INETCONNECT[IP]() * harbour/source/rtl/filesys.c * cleaned warnings 2008-08-04 20:24 UTC+0200 Viktor Szakats * include/hbdefs.h ! Fixed 4 remaining warnings in BCC 5.8.2 builds. Many thanks to Przemek for the patch. NOTE: Now BCC58 core is warning-free and there are two warnings in its own header files, exploited by contrib hbcurl/libcurl. 2008-08-04 16:34 UTC+0200 Viktor Szakats * harbour-ce-spec * harbour-w32-spec * harbour.spec * common.mak * make_b32.mak * make_gcc.mak * make_vc.mak * make_vcce.mak * make_tgz.sh * utils/Makefile - utils/hbpptest + tests/hbpptest * Moved hbpptest to tests. 2008-08-04 16:23 UTC+0200 Viktor Szakats * harbour-ce-spec * harbour-w32-spec * harbour.spec * common.mak * make_b32.mak * make_gcc.mak * make_vc.mak * make_vcce.mak * make_tgz.sh * utils/Makefile - utils/hbver - Removed obsolete binary hbverfix. 2008-08-04 16:02 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/common.mak * harbour/source/compiler/Makefile * harbour/source/compiler/cmdcheck.c * harbour/source/compiler/hbmain.c * harbour/source/compiler/hbusage.c * disabled support for unfinished -gw compiler switch in default builds. It can be enabled by developers who will want to work on this code by recompiling Harbour with HB_GEN_W32_OBJ macro (e.g. by setting it in C_USR envvar) 2008-08-04 15:48 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/debug/dbgentry.c ! fixed some possible memory leaks or GPFs when wrong parameters are passed to debug functions * moved module name conversions (path stripping) into one place so in the future it will be easier to add automatic path detection 2008-08-04 15:16 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/compiler/genhrb.c ; added FIXME note * pacified warning 2008-08-04 14:27 UTC+0200 Viktor Szakats * make_vcce.mak * make_b32.mak * make_vc.mak ! Fixed to delete .dlls from 'bin' dir, too. 2008-08-04 14:09 UTC+0200 Viktor Szakats * make_b32.mak * make_gcc.mak * make_vc.mak * make_vcce.mak ! Fixed to delete hbverbld.h from include dir on 'clean'. ! Using INCLUDE_DIR instead of some hard-wired 'include' dir references. 2008-08-04 13:27 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/console.c * harbour/source/rtl/box.c * harbour/source/rtl/errorapi.c * harbour/source/rtl/do.c * harbour/source/rtl/filesys.c * cleaned warnings * harbour/source/vm/runner.c * respect references in parameters passed to init and startup functions 2008-08-04 12:58 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/pp/ppcore.c * cleaned warning * harbour/source/rtl/set.c * do not attach ".prn" extension to known device names also in DOS and Windows builds * recognize "CON" as device name in DOS, Win and OS2 builds 2008-08-04 11:27 UTC+0200 Viktor Szakats * source/debug/debugger.prg ! Avoided __PLATFORM__* macros in core code by using hb_FileMatch() instead of some local logic to make filename comparisons portable. Someone please check me if this is right. 2008-08-01 14:44 UTC+0200 Viktor Szakats * source/pp/ppcore.c * doc/whatsnew.txt ! __PLATFORM__* macros now all #defined in full uppercase. E.g.: __PLATFORM__Windows becomes __PLATFORM__WINDOWS __PLATFORM__Linux becomes __PLATFORM__LINUX INCOMPATIBLE. * contrib/xhb/hbcompat.ch + Added compatibility #defines for __PLATFORM__* macros. * include/hbdefs.h ! Minor formatting. * harbour-ce-spec * harbour-w32-spec * make_xmingw.sh * make_xmingwce.sh * source/debug/debugger.prg * contrib/hbtpathy/telepath.prg * contrib/hbw32/w32_tole.prg * contrib/hbw32/w32_tprn.prg * utils/hbdot/hbdot.prg * utils/hbmake/hbmake.prg * Changed __PLATFORM__* #define according to latest changes. ; NOTE: I find this kind of compile-time platform dependency quite wrong in an normal application, and we should definitely avoid it in core Harbour. In core Harbour there is one place where it would better be eliminated, and in order to do this, we'd need to have a filename equality comparison FS function. Maybe we already have one, I don't know. 2008-08-01 11:01 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/compiler/harbour.yyc * updated for recent harbour.y modifications - thanks to Viktor for remainder 2008-08-01 03:06 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbpp.h * harbour/include/hbexprb.c * harbour/source/pp/ppcore.c * harbour/source/vm/evalhb.c * harbour/source/vm/runner.c * harbour/source/vm/hvm.c * harbour/source/vm/fm.c * harbour/source/vm/eval.c * harbour/source/vm/dynlibhb.c * harbour/source/vm/classes.c * harbour/source/rdd/hbsix/sxord.c * harbour/source/compiler/hbmain.c * harbour/source/compiler/harbour.y * pacified warnings 2008-08-01 02:09 UTC+0200 Viktor Szakats * include/hbdefs.h ! Patch added to workaround following phoney warnings when using BCC 5.8 compiler (tested with 5.8.2): Warning W8017 C:\devl\BCC58\Include\stdint.h 77: Redefinition of 'INT16_MIN' is not identical Warning W8017 C:\devl\BCC58\Include\stdint.h 78: Redefinition of 'INT32_MIN' is not identical Warning W8017 C:\devl\BCC58\Include\stdint.h 79: Redefinition of 'INT64_MIN' is not identical Warning W8017 C:\devl\BCC58\Include\stdint.h 82: Redefinition of 'INT16_MAX' is not identical Warning W8017 C:\devl\BCC58\Include\stdint.h 83: Redefinition of 'INT32_MAX' is not identical Warning W8017 C:\devl\BCC58\Include\stdint.h 84: Redefinition of 'INT64_MAX' is not identical Warning W8017 C:\devl\BCC58\Include\stdint.h 87: Redefinition of 'UINT16_MAX' is not identical Warning W8017 C:\devl\BCC58\Include\stdint.h 88: Redefinition of 'UINT32_MAX' is not identical Warning W8017 C:\devl\BCC58\Include\stdint.h 89: Redefinition of 'UINT64_MAX' is not identical Many thanks to Przemek for this patch. 2008-07-31 23:02 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rdd/hbsix/sxcompr.c * pacified warnings 2008-07-31 22:49 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbmzip/hbmzip.c ! added "b" to fopen() flags to force binary mode in all systems during CRC32 calculation 2008-07-31 18:58 UTC+0200 Viktor Szakats * include/hbextern.ch + EXTERNAL __OBJGETPROPERTIES * doc/whatsnew.txt + Updated with new functions. * source/hbpcre/_hbconf.h ! Silenced a #pragma warning for MSVC 12.x. ; NOTE: Some notable MSVC 12.x warnings in Harbour code: source\rdd\hbsix\sxcompr.c(532) : warning C4244: '=' : conversion from 'long ' to 'short ', possible loss of data source\rdd\hbsix\sxcompr.c(533) : warning C4244: '=' : conversion from 'long ' to 'short ', possible loss of data source\rdd\hbsix\sxcompr.c(539) : warning C4244: '=' : conversion from 'long ' to 'short ', possible loss of data source\rdd\hbsix\sxcompr.c(540) : warning C4244: '=' : conversion from 'long ' to 'short ', possible loss of data There are 3 more known warnings, the rest is common integer difference warning. 2008-07-31 17:41 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/classes.c + adding 2nd parameter to __clsGetProperties() When it's TRUE then __clsGetProperties() returns also exported messages which have corresponding assign messages (with "_" prefix) * harbour/source/rtl/objfunc.prg + added __objGetProperties( oObject, [ lAllExported = .F. ] ) -> aMsgAndValues This function returns list of PROPERTY message with their values, when 2nd parameter is true it also returns exported messages which which have corresponding assign messages (with "_" prefix) This function is designed to use in object inspectors. 2008-07-31 14:50 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbmzip/hbmzip.c * harbour/contrib/hbmzip/readme.txt * changed parameters of HB_UnzipFileInfo() Now in 10th parameter is @lCrypted and 11th is @cComment * harbour/contrib/hbmzip/tests/myunzip.prg + show archive and file comment + show encrypted files ('*' after file name) 2008-07-31 14:07 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbmzip/zip.c ! set valid ZIP signature in header file (2.0) * harbour/contrib/hbmzip/hbmzip.c ! fixed ZIP encryption header by adding CRC32 checksum Now other tools should properly recognize password encrypted archives created by HBMZIP library. Please test. ! changed parameters of HB_ZipFileCreate() function to pass CRC32 for password encrypted files: HB_ZipFileCreate( hZip, cZipName, dDate, cTime, nInternalAttr, nExternalAttr, [ nMethod = HB_ZLIB_METHOD_DEFLATE ], [ nLevel = HB_ZLIB_COMPRESSION_DEFAULT ], [ cPassword, ulFileCRC32 ], [ cComment ] ) -> nError + added new function to calculate CRC32 value from file body: HB_zipFileCRC32( cFileName ) -> nError + added translation for file attributes when DOS archive is decompressed in *nix environment * harbour/contrib/hbmzip/readme.txt * updated list of Harbour [UN]ZIP functions and parameters 2008-07-31 10:10 UTC+0200 Viktor Szakats * contrib/xhb/hbcompat.ch + Added translations for WildMatch(), hb_DeserialNext(), hb_Checksum(). 2008-07-30 16:30 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/harbour-ce-spec * harbour/harbour-w32-spec * harbour/harbour.spec ! set 0 as package release number - the release signature is necessary in RPM format and cannot be removed 2008-07-30 15:39 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/compiler/harbour.y * harbour/source/compiler/harbour.yyc ! fixed wrongly hidden error message - it was causing memory leak Thanks to Roberto for information. 2008-07-30 11:18 UTC+0200 Viktor Szakats * doc/dirstruc.txt * Some (incomplete) updates to the dir structure layout. * contrib/hbtpathy/tplinux.c * contrib/hbtpathy/tpwin32.c * Minor formatting. * contrib/hbtpathy/telepath.prg + Added TP_UNINSTALL() dummy compatibility function. 2008-07-30 11:16 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/xhb/dirrec.prg ! initialize cAttr parameter * harbour/contrib/hbmzip/ioapi.c * use hb_fopen() instead of fopen() to respect filename conversions: _SET_FILECASE, _SET_DIRCASE, _SET_DIRSEPARATOR, _SET_TRIMFILENAME 2008-07-30 03:31 UTC+0200 Viktor Szakats * source/rtl/gtwvt/gtwvt.c ! Fixed one MSVC 64-bit warning. 2008-07-30 03:11 UTC+0200 Viktor Szakats * source/rtl/memoedit.prg ! Fixed to never popup "Abort (Y/N)" when pressing <Esc> in case a user function is used with MemoEdit(). 2008-07-30 01:15 UTC+0200 Viktor Szakats * source/rtl/gtwvt/gtwvt.c ! Fixed recent MSVC warning. Please test on WinCE/pre-1200 MSVC versions. 2008-07-30 00:21 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/mlcfunc.c ! fixed possible infinite introduce in previous commit 2008-07-29 20:40 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/mlcfunc.c ! skip SOFTCR when it's on the end of extracted line. ; NOTE: MPOSTOLC() is not exactly CA-Cl*pper compatible The returned value is intentionally updated to be MLCTOPOS() so conversions are revertable. For me it's a bug in CA-Cl*pper. 2008-07-29 18:03 UTC+0200 Viktor Szakats * source/rtl/memoedit.prg ! Fixed so that "Abort (Y/N)" confirmation gets only popped up if _SET_SCOREBOARD is .T.. This way it's C5.x compatible. 2008-07-29 17:31 UTC+0200 Viktor Szakats * contrib/make_b32_all.bat * contrib/make_vc_all.bat * contrib/make_gcc_all.sh * Disabled following contribs, to be in sync with the default GNU-make setup: hbsqlit2 - Too many warnings in unsupported foreign code. Replacement: hbsqlit3 hbw32ddr - C++, not maintained, incomplete, warnings. hbwhat32 - Problems and warnings, non 64-bit compatible. hbziparch - C++, foreign code not well portable, interface code not Harbour quality. Replacement: hbmzip ; NOTE: We should consider what to do with these contribs. 2008-07-29 04:58 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/filesys.c ! fixed casting in DOS builds 2008-07-29 00:10 UTC+0200 Viktor Szakats * contrib/hbhpdf/Makefile ! Refixed to exclude hbhpdf from DOS builds. 2008-07-28 20:41 UTC+0200 Viktor Szakats * tests/ainstest.prg * tests/array16.prg * tests/arrays.prg * tests/atest.prg * tests/clasinit.prg * tests/classch.prg * tests/classes.prg * tests/dates.prg * tests/db_brows.prg * tests/ddate.prg * tests/debugtst.prg * tests/dynobj.prg * tests/files.prg * tests/gfx.prg * tests/inline.prg * tests/keywords.prg * tests/objects.prg * tests/onidle.prg * tests/readhrb.prg * tests/rtfclass.prg * tests/speed.prg * tests/switch.prg * tests/test_all.prg * tests/testbrw.prg * tests/testcgi.prg * tests/testcls.prg * tests/testget.prg * tests/testhtml.prg * tests/testidle.prg * tests/testinit.prg * tests/testntx.prg * tests/testpers.prg * tests/testrdd2.prg * tests/teststr.prg * tests/tstblock.prg * tests/tstmacro.prg * tests/videotst.prg * tests/vidtest.prg * tests/wcecon.prg * Cleanups. SVN header, '=' operator usage. 2008-07-28 18:44 UTC+0200 Viktor Szakats * debian/changelog * Applied Guy's patch. * tests/rto_get.prg + Added two more test cases. ; They look good with latest tget.prg change. 2008-07-28 18:20 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/tget.prg ! fixed translation comma/dot translation for pictures with "@E" Viktor, please test it - I'm not very familiar with GET code and it's possible that I made something wrong 2008-07-28 17:15 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/gttrm/gttrm.c ! set default color before raw scrolling in console emulation mode 2008-07-28 16:22 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/filesys.c + use utime() to set file date and time in all dos builds not only in DJGPP. 2008-07-28 15:07 UTC+0200 Viktor Szakats * harbour-ce-spec * harbour-w32-spec * include/hbver.h * harbour.spec * Removed 'rc2' tag in preparation for final release. * doc/whatsnew.txt ! Minor typos. * contrib/hbmysql/make_b32.bat * contrib/hbmysql/make_vc.bat * contrib/hbapollo/make_b32.bat * contrib/hbapollo/make_vc.bat * contrib/hbfbird/make_b32.bat * contrib/hbfbird/make_vc.bat * contrib/hbcurl/make_b32.bat * contrib/hbcurl/make_vc.bat * contrib/hbhpdf/make_b32.bat * contrib/hbhpdf/make_vc.bat * contrib/hbpgsql/make_b32.bat * contrib/hbpgsql/make_vc.bat * contrib/rddads/make_b32.bat * contrib/rddads/make_vc.bat * contrib/hbfimage/make_b32.bat * contrib/hbfimage/make_vc.bat * contrib/hbgd/make_b32.bat * contrib/hbgd/make_vc.bat ! Fixed HB_DIR_* detection. 2008-07-28 12:37 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbmzip/hbmzip.c * converted TABs to SPACEs * harbour/source/rtl/hbcrc.c * harbour/source/rtl/hbmd5.c * added const to some static array declarations 2008-07-28 02:47 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbmzip/tests/myzip.prg * harbour/contrib/hbmzip/tests/myunzip.prg * minor cleanup 2008-07-26 20:13 UTC+0200 Viktor Szakats * doc/whatsnew.txt + Updated for 1.0.0. 2008-07-26 17:05 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbmzip/tests/myzip.prg + added support for setting global comment + added support for scanning subdirectories 2008-07-26 16:25 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbmzip/zip.c ! fixed access to uninitialized member of z_stream by simple initialization. Anyhow it's minor bug in MINIZIP code exploited HB_ZipDeleteFile() which causes that TEXT flag is not set after raw binary file updating. There is also no API call to make it manually. * harbour/contrib/hbmzip/hbmzip.c * harbour/contrib/hbmzip/readme.txt + added HB_ZipDeleteFile( cZipFile, cFileMask ) --> nError * harbour/common.mak * harbour/source/rtl/Makefile + harbour/source/rtl/dirscan.prg + added HB_DirScan( cPath, cFileMask, cAttr ) * harbour/source/rtl/strmatch.c + added HB_FileMatch( cFile, cPattern ) * harbour/include/hbextern.ch + added HB_DirScan(), HB_FileMatch() * harbour/contrib/xhb/dirrec.prg * changed to use HB_DirScan() 2008-07-26 12:22 UTC+0200 Viktor Szakats * TODO * Updated. ; QUESTION: Is this still valid?: Assign to: Przemek Detail...: Clean RDD code to be safe for return from RT errors Status...: Open. 2008-07-25 22:52 UTC+0200 Viktor Szakats * include/hbextern.ch + HB_OSFILEMASK() added. 2008-07-25 20:46 UTC+0200 Viktor Szakats * source/rtl/tgetlist.prg ! TGetList():ReadVar() implemented using duplicated code, instead of creating a dependency to hb_GetReadVar() in getsys.prg. 2008-07-25 19:19 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbmzip/hbmzip.c + added support to set archive comment: HB_ZipClose( hZip, [ cGlobalComment ] ) --> nError + added support to get archive comment in append mode: HB_ZipOpen( cFileName, [ iMode = HB_ZIP_CREATE ], [ @cGlobalComment ] ) --> hZip + added support to set file comment: HB_ZipFileCreate( hZip, cZipName, dDate, cTime, nInternalAttr, nExternalAttr, [ nMethod = HB_ZLIB_METHOD_DEFLATE ], [ nLevel = HB_ZLIB_COMPRESSION_DEFAULT ], [ cPassword ], [ cComment ] ) --> nError HB_ZipStoreFile( hZip, cFileName, [ cZipName ], [ cPassword ], [ cComment ] ) --> nError + added new function which allow to extract archive comment: HB_UnzipGlobalInfo( hUnzip, @nEntries, @cGlobalComment ) --> nError + added support to extract file comment: HB_UnzipFileInfo( hUnzip, @cZipName, @dDate, @cTime, @nInternalAttr, @nExternalAttr, @nMethod, @nSize, @nCompressedSize, @cComment ) --> nError * harbour/contrib/hbmzip/readme.txt + added list of Harbour ZIP/UNZIP functions with parameters 2008-07-25 18:46 UTC+0200 Viktor Szakats * source/rtl/treport.prg ! Fixed RTE by removing some type constraints from object vars which get NILs assigned. Thanks to Ciro Vargas Clemow. 2008-07-25 15:24 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/xhb/Makefile * harbour/contrib/xhb/common.mak + harbour/contrib/xhb/dirrec.prg + added DirectoryRecurse() function. It's not exactly xHarbour compatible as I wanted at the beginning. But when I begin to carefully check what xHarbour exactly does then I dropped the strict compatibility due to problems with xHarbour implementation which have to be fixed. I left this note in the dirrec.prg header: This implementation uses different rules then xHarbour one. It does not change current drive or current directory so unlike the xHarbour version it's MT safe. It also returns relative paths which are more similar to DIRECTORY() function results so they can be easy used directly in other code, e.g. to create archive without absolute paths. Please note that user can easy convert relative paths to absolte ones by simple adding curdir() and/or cPath parameter passed to DirectoryRecurse() but reverted conversion may not be possible in some cases. The 3rd xHarbour parameter <lCaseMach> is ignored because harbour uses platform native rules to check filename mask respecting SET FILECASE and SET DIRCASE settings. xHarbour does not add "D" to attribute list used for directory tree scanning so user always have to add it manually and later it ignores it so it's not possible to extract file list with directories entries. In Harbour it's fixed. * harbour/source/rtl/philes.c + added hb_osFileMask() * harbour/source/rtl/direct.c % minor optimization 2008-07-25 11:27 UTC+0200 Viktor Szakats * contrib/hbziparch/hbziparc.c ! Fixed bug reported by Juan Galvez. * Formatting, minor cleanup. 2008-07-24 18:43 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/make_xmingwce.sh * look for platform native hbpp also in default build paths 2008-07-24 18:02 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/hbinet.c ! fixed possible data file corruption due to wrong use of 0 handle. 0 handle is perfectly valid. By default it points to stdin but it can be closed and then reused for any other thing, e.g. data file. In such case any data written to socket was written to such file and this situation was very easy to replicate with old hbinet code. ! fixed resource leak due to unclosed handles in few cases ! fixed possible double close of the some handle what could cause that other object handles reusing the same handle number between first and second close (e.g. data files) was wrongly closed ! fixed s_inetRecvPattern()/HB_INETRECVLINE() - the end pattern was wrongly checked and the code didn't detect end pattern in streams like: "...\r\r\n" when end pattern was "\r\n" NOTE: this code needs some general cleanup. IMHO it should be joined with adding hbinet C API. 2008-07-24 03:42 UTC+0200 Viktor Szakats * contrib/hbcurl/hbcurl.c ! Disabled string hashing for curl_formadd() with CURLFORM_COPYNAME. I've misread the docs (sorry Przemek), hashing is only needed for CURLFORM_PTRNAME, which we currently don't use. I've disbled some code to avoid unused function warnings, but other than that it may be good to have the possibility for hashing for future functions too. ! Fixed/Added support for CURLFORM_COPYNAME parameter with embedded zeroes by passing the string length using CURLFORM_NAMELENGTH. Not tested. 2008-07-23 21:43 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbsqlit3/sqlite3/sqlite3.c * pacified warnings 2008-07-23 15:06 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbcurl/hbcurl.c * activate string hasing in all builds for curl_formadd() with CURLFORM_COPYNAME * do not use string hasing fro curl_slist_append() Many thanks to Viktor for help. 2008-07-23 12:18 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/common/hbwince.c * formatting * harbour/contrib/hbcurl/hbcurl.c + use hash table to keep strings passed to CURL library accessible even if HVM destroys them. It should allow to safely use HBCURL wrapper also with CURL library older then 7.17.0 though it can be a little bit expensive in some cases. The allocated strings are freed when CURL pointer is destroyed (directly or by CURL_EASY_CLEANUP()) or reset by CURL_EASY_RESET(). This feature is enabled only when compiled for CURL libraries older then 7.17.0 or when user set explicitly compile time macro HB_CURL_HASH_STRINGS Viktor, you are more familiar with this code so please check it. 2008-07-23 01:04 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/make_xmingwce.sh * fixed CCPATH setting - it has to be ended with ":" 2008-07-22 21:25 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbmzip/zip.c * harbour/contrib/hbmzip/unzip.c * use hb_xgrab()/hb_xfree() instead of malloc()/free() 2008-07-22 19:27 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbmzip/zip.c * set OS version information in ZIP header when ZIP archive is created by *nix Harbour build. It's necessary to inform some zip packages (e.g. infozip/unzip) that they should respect POSIX file permission during decompression. 2008-07-22 17:18 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbmzip/hbmzip.c ! fixed storing/setting file date, time and attributes in *nixes * harbour/include/hbapifs.h * harbour/source/rtl/hbffind.c * harbour/source/rtl/filesys.c ! replaced hack with direct bit conversion in *nixes attributes by bit testing 2008-07-22 15:07 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbct/files.c * harbour/contrib/hbmzip/hbmzip.c * use new hb_fs*() functions when native platform code does not exist 2008-07-22 12:55 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/filesys.c * casting for DOS OpenWatcom builds and added missing header file 2008-07-22 12:30 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/gtwvt/gtwvt.c * disabled SetWindowLongPtr() in 32-bit MSVC WinCE builds * harbour/source/rtl/hbffind.c * minor cleanup. * harbour/source/rtl/filesys.c + implemented hb_fsGetAttr() and hb_fsGetFileTime() for DOS, MS-Win, OS2 and *nixes. Please test it on different platforms. 2008-07-22 11:03 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/compiler/genobj32.c ! casting 2008-07-22 10:35 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/gtwvt/gtwvt.h * added yet another one MSVC-WinCE missing definition 2008-07-22 09:50 UTC+0200 Viktor Szakats * include/hbapifs.h * source/rtl/filesys.c + Added skeletons for hb_fsGetAttr() and hb_fsGetFileTime() TODO: Implementation. * contrib/hbclipsm/common.mak * contrib/hbclipsm/Makefile - contrib/hbclipsm/dbf.c ! Removed duplicate implementation of DBF() from hbclipsm.lib ; FIXME: I'm getting these new warnings under BCC55: Warning W8080 source\rtl\filesys.c 2718: '_fstat(int,_stat *)' is declared but never used Warning W8080 source\rtl\filesys.c 2718: '_disable()' is declared but never used Warning W8080 source\rtl\filesys.c 2718: '_enable()' is declared but never used Warning W8080 source\rtl\fssize.c 142: '_fstat(int,_stat *)' is declared but never used 2008-07-21 21:54 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/gtwvt/gtwvt.h * added some definitions which seems to be missing in some MSVC-WinCE versions * harbour/source/rtl/gtwvt/gtwvt.c * cleaned SetWindowLongPtr()/SetWindowLong() usage so now all calls are protected by the same #if condition 2008-07-21 19:05 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbwince.h * added DRIVE_UNKNOWN declaration for MSVC WinCE builds * harbour/source/common/expropt2.c * pacified warning 2008-07-21 18:42 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/ChangeLog * harbour/contrib/hbtip/ChangeLog * replaced TABs with SPACEs * harbour/source/compiler/genobj32.c ! fixed memory leak TODO: disable this module in default builds until it will not be fixed to generate valid OMF .obj files 2008-07-17 18:19 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbw32/dllcall.c * minor cleanup in return values * harbour/contrib/hbole/ole2.c * cleaned casting in UNICODE conversions * harbour/source/common/expropt2.c * replicate CA-Cl*pper compile time optimization bugs: "" $ <literString> => .T. AT( "", <literString> ) => 1 CHR( 256 ) => "" only when Harbour extensions (-kh) are not enabled, e.g. in strict Clipper compatibility mode (-kc) * harbour/utils/hbtest/rt_hvma.prg * harbour/utils/hbtest/rt_str.prg * updated to test Clipper and Harbour compile time modes in the above situations * harbour/common.mak * harbour/source/rtl/Makefile - harbour/source/rtl/strings.c * harbour/source/common/hbstr.c * moved hb_strEmpty() from RTL to COMMON library * harbour/include/hbexprb.c * harbour/include/hbexprop.h * harbour/source/common/expropt2.c + added compile time optimization for EMPTY() function ; removed 'TODO: empty optimization' note * harbour/source/rtl/itemseri.c % compress trailing spaces during string item serialization * harbour/include/hbapi.h * harbour/source/vm/hashes.c + added hb_hashAddNew() - works like hb_hashAdd() but it adds item only if new key is used * harbour/source/vm/hvm.c * use hb_hashAddNew() instead of hb_hashAdd() for HB_P_HASHGEN I cannot revert the order of hash item during compilation because it will also change the order of user expression evaluation. 2008-07-17 03:36 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbtpathy/tplinux.c * workaround for missing CRTCTS declaration in OpenWatcom * harbour/contrib/hbsqlit3/sqlite3/sqlite3.c * harbour/contrib/hbsqlit3/hbsqlit3.c * pacified warnings ! fixed C++ compilation * harbour/contrib/gtwvg/gtwvg.h * add hack for missing GCLP_HCURSOR declaration in OpenWatcom * harbour/contrib/hbtpathy/tpwin32.c * harbour/contrib/hbw32/dllcall.c * harbour/contrib/hbw32/w32_osc.c * harbour/contrib/hbole/ole2.c * harbour/contrib/hbgf/hbgfw32/win32.c * updated for UNICODE builds * pacified warnings 2008-07-15 20:37 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/hbmd5.c ! fixed MD5 calculations 2008-07-15 14:31 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbmysql/Makefile * harbour/contrib/hbodbc/Makefile * harbour/contrib/hbsqlit3/Makefile * harbour/contrib/hbfbird/Makefile * harbour/contrib/hbcurl/Makefile * harbour/contrib/hbhpdf/Makefile * harbour/contrib/hbpgsql/Makefile * harbour/contrib/hbfimage/Makefile * harbour/contrib/hbgd/Makefile * harbour/contrib/hbgf/hbgfgtk/Makefile * do not add default system include directory to C_USR during testing for foreign header files when HB_XBUILD variable is set - protection against including wrong header files in cross builds * harbour/contrib/hbtpathy/ChangeLog * changed SVN EOL style to 'native' * harbour/contrib/hbbmcdx/bmdbfcdx.c * pacified warning 2008-07-12 16:12 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * source/rtl/gtwvt/gtwvt.c * #if defined(_MSC_VER) and (_MSC_VER >= 1200) => #if defined(_MSC_VER) && (_MSC_VER >= 1200) *#elif => #else /* JF Please check with BCC also */ 2008-07-11 19:52 UTC+0200 JF Lefebvre (MAFACT) (jfl/at/mafact.com) * harbour/source/rtl/gtwvt/gtwvt.c * Reversed my change LONG_PTR to LONG but to HB_LONG type for 64-bit compatibility 2008-07-11 19:13 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbct/files.c * changed SETFATTR() to use hb_fsSetAttr() 2008-07-11 18:20 UTC+0200 JF Lefebvre (MAFACT) (jfl/at/mafact.com) * harbour/source/common/hbver.c * protected by a #define the use of the new structure OSVERSIONINFOEXA, not know by MSVC 6 (_MSC_VER < 1400) * harbour/source/rtl/gtwvt/gtwvt.c * Change LONG_PTR to LONG as LONG_PTR was unknow by MSVC compiler and finally the expected type for SetWindowLongPtr() is LONG. * protected by a #define the call to SetWindowLongPtr(), not know by MSVC 6 (_MSC_VER < 1400) * not tested as working, just compile ok !!! 2008-07-11 17:33 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/dbedit.ch * harbour/source/rtl/dbedit.prg + added support for undocumented Clipper DE_APPEND mode - code covered by HB_C52_UNDOC % ignore K_MOUSEMOVE events to avoid flickering just like CA-Cl*pper does + added support for cell positioning with mouse left key - CL53 compatible behavior covered by HB_COMPAT_C53 macro * changed static function name dbEditCallUser() to CallUser() for strict Clipper compatibility - some user function code may check PROCNAME() * some minor optimizations and fixes * harbour/contrib/hbmzip/hbmzip.c * indenting * harbour/source/vm/hvm.c * formatting 2008-07-10 20:59 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/macro.c ! fixed RT error when invalid symbol string is precompiled 2008-07-10 18:51 UTC+0100 Miguel Angel Marchuet <miguelangel@marchuet.net> * contrib/hbbmcdx/bmdbfcdx.c * contrib/hbbmcdx/hbbmcdx.h ! fixed casting for indexes with key length greater then 196 bytes created on tables with record number smaller then 256. In such case if keys have equal value then after decoding they may need more then 32767 bytes and casting to SHORT gives negative indexes. Thanks to Saulius Zrelskis for example. % changed some SHORT to INT to reduce runtime overhead * contrib/hbziparch/hbziparc.c ! fixed some unused variables. * minor sintax corrections. 2008-07-09 22:53 UTC+0200 Viktor Szakats * contrib/hbcurl/hbcurl.c + Changed to use Harbour memory allocation functions in libcurl. 2008-07-09 22:42 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/make_xmingwce.sh ! fixed HB_PPGEN_PATH setting 2008-07-09 18:30 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/filesys.c ! casting 2008-07-09 18:24 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbwince.h * harbour/source/common/hbwince.c + added SetFileAttributesA() for WinCE builds * harbour/source/rtl/filesys.c * replaced UNICODE translations for SetFileAttributes() with direct call to SetFileAttributesA() * harbour/include/hbapifs.h * harbour/source/rtl/spfiles.c * harbour/source/rtl/fstemp.c * harbour/source/rtl/hbffind.c * harbour/source/rtl/direct.c * harbour/source/rtl/filesys.c * changed internal representation for file attributes from USHORT to ULONG + added support for POSIX permission attributes in .c code ; added some comments about used attribute translations which should be cleand 2008-07-09 13:57 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbmzip/hbmzip.c ! added missing DJGPP header files * harbour/source/rtl/filesys.c * finished hb_fsSetAttr() * harbour/source/rtl/set.c % optimized for loop 2008-07-09 12:32 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/set.c ! do not add .prn extension to printer/extra filenames if file name is one of well known device name: PRN, LPT[1-3], COM[1-9] This code is enabled only for OS2 builds where it's necessary but maybe MS-Windows/DOS users should think about adding it to their builds too because sometimes also DOS/Win does not recognize correctly device name when it has extension. 2008-07-09 12:05 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) * source/codepage/cp_tpl.c * source/codepage/cpbg866.c * source/codepage/cpbgiso.c * source/codepage/cpbgmik.c * source/codepage/cpbgwin.c * source/codepage/cpcs852.c * source/codepage/cpcsiso.c * source/codepage/cpcskam.c * source/codepage/cpcswin.c * source/codepage/cpde850.c * source/codepage/cpdeiso.c * source/codepage/cpdewin.c * source/codepage/cpel737.c * source/codepage/cpelwin.c * source/codepage/cpes850.c * source/codepage/cpesmwin.c * source/codepage/cpeswin.c * source/codepage/cpfr850.c * source/codepage/cphr1250.c * source/codepage/cphr437.c * source/codepage/cphr852.c * source/codepage/cphu852.c * source/codepage/cphu852s.c * source/codepage/cphuiso.c * source/codepage/cphuisos.c * source/codepage/cphuwin.c * source/codepage/cphuwins.c * source/codepage/cpit437.c * source/codepage/cpit850.c * source/codepage/cpitisb.c * source/codepage/cpitiso.c * source/codepage/cpltwin.c * source/codepage/cppl852.c * source/codepage/cppliso.c * source/codepage/cpplmaz.c * source/codepage/cpplwin.c * source/codepage/cppt850.c * source/codepage/cpptiso.c * source/codepage/cpru866.c * source/codepage/cpruiso.c * source/codepage/cprukoi.c * source/codepage/cpruwin.c * source/codepage/cpsk852.c * source/codepage/cpskiso.c * source/codepage/cpskkam.c * source/codepage/cpskwin.c * source/codepage/cpsl437.c * source/codepage/cpsl852.c * source/codepage/cpsliso.c * source/codepage/cpslwin.c * source/codepage/cpsrwin.c * source/codepage/cpsv850.c * source/codepage/cpsvclip.c * source/codepage/cpsvwin.c * source/codepage/cptr857.c * source/codepage/cptrwin.c * source/codepage/cpua866.c * source/codepage/cpuakoi.c * source/codepage/cpuawin.c * source/compiler/genc.c * source/lang/msg_tpl.c * source/lang/msgbe866.c * source/lang/msgbewin.c * source/lang/msgbg866.c * source/lang/msgbgiso.c * source/lang/msgbgmik.c * source/lang/msgbgwin.c * source/lang/msgca.c * source/lang/msgcs852.c * source/lang/msgcsiso.c * source/lang/msgcskam.c * source/lang/msgcswin.c * source/lang/msgde.c * source/lang/msgdewin.c * source/lang/msgel.c * source/lang/msgelwin.c * source/lang/msgeo.c * source/lang/msges.c * source/lang/msgeswin.c * source/lang/msgeu.c * source/lang/msgfr.c * source/lang/msggl.c * source/lang/msghe862.c * source/lang/msghewin.c * source/lang/msghr437.c * source/lang/msghr852.c * source/lang/msghriso.c * source/lang/msghrwin.c * source/lang/msghu852.c * source/lang/msghucwi.c * source/lang/msghuiso.c * source/lang/msghuwin.c * source/lang/msgid.c * source/lang/msgis850.c * source/lang/msgit.c * source/lang/msgko.c * source/lang/msgltwin.c * source/lang/msgnl.c * source/lang/msgpl852.c * source/lang/msgpliso.c * source/lang/msgplmaz.c * source/lang/msgplwin.c * source/lang/msgpt.c * source/lang/msgro.c * source/lang/msgru866.c * source/lang/msgrukoi.c * source/lang/msgruwin.c * source/lang/msgsk852.c * source/lang/msgskiso.c * source/lang/msgskkam.c * source/lang/msgskwin.c * source/lang/msgsl437.c * source/lang/msgsl852.c * source/lang/msgsliso.c * source/lang/msgslwin.c * source/lang/msgsr852.c * source/lang/msgsriso.c * source/lang/msgsrwin.c * source/lang/msgtr857.c * source/lang/msgtrwin.c * source/lang/msgua866.c * source/lang/msguakoi.c * source/lang/msguawin.c * source/lang/msgzhb5.c * source/lang/msgzhgb.c * source/pp/pplib3.c * source/rdd/dbf1.c * source/rdd/dbfcdx/dbfcdx1.c * source/rdd/dbffpt/dbffpt1.c * source/rdd/dbfntx/dbfntx1.c * source/rdd/delim1.c * source/rdd/sdf1.c * source/rtl/gt_tpl/gt_tpl.c * source/rtl/gtalleg/gtalleg.c * source/rtl/gtcgi/gtcgi.c * source/rtl/gtcrs/gtcrs.c * source/rtl/gtdos/gtdos.c * source/rtl/gtgui/gtdef.c * source/rtl/gtgui/gtgui.c * source/rtl/gtos2/gtos2.c * source/rtl/gtpca/gtpca.c * source/rtl/gtsln/gtsln.c * source/rtl/gtstd/gtstd.c * source/rtl/gttrm/gttrm.c * source/rtl/gtwin/gtwin.c * source/rtl/gtwvt/gtwvt.c * source/rtl/gtxwc/gtxwc.c * source/rtl/hbregex.c * contrib/examples/rdddbt/dbfdbt1.c * contrib/gtwvg/gtwvg.c * contrib/hbbmcdx/bmdbfcdx.c * contrib/hbbtree/hb_btree.c * contrib/hbct/ctwin.c * contrib/rddads/ads1.c * include/hbinit.h * Changed C mode static initialisation code. Thanks for Paul Tucker for the solution. * make_vc.mak * Removed /OPT:WIN98 since it is not supported in Win64 and has less impact on Windows XP/Windows 2003 builds 2008-07-09 11:57 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbdate.h * harbour/source/common/hbdate.c + added hb_timeStampEncode() * harbour/include/hbapifs.h * harbour/source/rtl/filesys.c + added hb_fsSetFileTime() + added POSIX file attributes with some macros to convert Harbour definitions into OS ones. + added initial version of hb_fsSetAttr() - work in progress, I should finish it in the evening. * harbour/contrib/hbmzip/hbmzip.c * added setting file attribute in DJGPP builds ! fixed some small typos in OS2 builds reported by David * harbour/source/vm/fm.c * changed hb_xrealloc() to be ANSI-C realloc() compatible 2008-07-09 10:20 UTC+0200 Viktor Szakats * contrib/make_b32_all.bat * contrib/make_vc_all.bat ! Fixed to accept HB_INC_* envvars to specify header locations for external packages. 2008-07-09 10:00 UTC+0200 Viktor Szakats * source/rtl/gtwvt/gtwvt.c * contrib/gtwvg/gtwvg.c ! Restored previous change. In Harbour, passing NULL to hb_itemPutC() is valid and will result in an empty string being stored in an optimized way. hb_itemPutCLPtr() should be used instead of hb_itemPutCPtr(). The GPF in question used to happen when setting the clipboard, and it looks to happen inside the OS. I'm still investigating. * contrib/hbapollo/tests/bld_b32.bat * contrib/hbapollo/tests/bld_vc.bat ! Fixed external .lib name. 2008-07-08 16:45 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/gtwvg/gtwvg.c * source/rtl/gtwvt/gtwvt.c ! Fixed GPF in HB_GTI_CLIPBOARDDATA. 2008-07-08 20:42 UTC+0200 Viktor Szakats * contrib/hbcurl/hbcurl.c ! CURL_EASY_GETINFO() will now return the proper type (with an empty value) if the given info type is not supported in the libcurl version used at build-time. (This makes the test program not crash after latest hbcurl changes.) 2008-07-08 19:03 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * contrib/hbmzip/hbmzip.c + implemented file date/time get/set for OS2 ; TODO: DOS implementation is still missing ; Implementation is not tested! 2008-07-08 17:05 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/compiler/hbusage.c * cleaned possible warning in some C compilers 2008-07-08 16:47 UTC+0200 Viktor Szakats * contrib/hbw32/Makefile * contrib/hbw32/common.mak + contrib/hbw32/w32_osc.c + contrib/hbw32/w32_os.prg + Ported some Windows specific version detection and networking checker/setup code. From Peter Rees/xhb: OS_ISWINNT() OS_ISWINNT351() OS_ISWINNT4() OS_ISWIN2000_OR_LATER() OS_ISWIN2000() OS_ISWINXP() OS_ISWIN2003() OS_ISWINVISTA() OS_ISWIN9X() OS_ISWIN95() OS_ISWIN98() OS_ISWINME() OS_ISWTSCLIENT() OS_VERSIONINFO() OS_NETREGOK() OS_NETVREDIROK() 2008-07-08 14:13 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbrddcdx.h * harbour/source/rdd/dbfcdx/dbfcdx1.c ! fixed casting for indexes with key length greater then 196 bytes created on tables with record number smaller then 256. In such case if keys have equal value then after decoding they may need more then 32767 bytes and casting to SHORT gives negative indexes. Thanks to Saulius Zrelskis for example. % changed some SHORT to INT to reduce runtime overhead 2008-07-08 10:34 UTC+0200 Viktor Szakats * contrib/rddads/ads1.c ! Fixed to behave Clipper-like when trying to write when on EOF position. This way a TODO is cleared in the source. 2008-07-08 08:29 UTC+0200 Viktor Szakats * contrib/hbodbc/odbc.c ! Fixed compilation error with Pelles C 5.00.1. * Some formatting. * contrib/hbw32/dllcall.c + Two FIXMEs added for Win64 support. ! One Warning fixed under Win64. * contrib/hbfimage/make_gcc.sh * contrib/hbfimage/make_b32.bat * contrib/hbfimage/make_vc.bat ! Corrected to look in Dist subdir instead of 'source', so that simple .dll ditribution is enough to compile. 2008-07-08 07:56 UTC+0200 Viktor Szakats * contrib/hbodbc/odbc.c ! Fixed all ODBC handles to be pointers. This way it's Win64 compatible. This is an INCOMPATIBLE change. Since normal app code is using ODBC error values to check for error conditions, the type of handles shouldn't be a concern for most app code. I'd ask everyone using hbodbc to do some tests. + FIXMEs added where deprecated (and potentially dangerous) APIs are used. * contrib/hbw32/dllcall.c ! Using hb_parnint()/hb_retnint() instead of hb_parnl()/hb_retnl() to make Harbour level .dll functions compatible with Win64, and at the same time stay compatible with Xbase++. * contrib/rddado/adordd.prg ! Fixed a few places where _SET_EXACT dependent string comparisons were used. One of them could cause problems updating field values. * contrib/hbodbc/todbc.prg * Formatting. * contrib/hbodbc/tests/odbcdemo.prg * contrib/hbodbc/tests/odbccall.prg * contrib/hbodbc/tests/testodbc.prg ! Made them work out of the box. ; FIXME: All of them gives "unrecognized database format" for harbour.mdb. 2008-07-08 02:27 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/runner.c + added support for passing non string parameters to .HRB INIT/<main> procedures/function + added automatic destructors for .HRB modules ; FIXME: add protection against possible double executing of EXIT procedures in .HRB modules in HVM quit phase 2008-07-08 00:38 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbdefs.h * disabled internal pointer handles I enabled by mistake for MS-WIN builds 2008-07-08 00:35 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapifs.h * harbour/include/hbdefs.h * harbour/source/rtl/console.c * harbour/source/rtl/philes.c * harbour/source/rtl/hbgtcore.c * harbour/source/rtl/fstemp.c * harbour/source/rtl/philes53.c * harbour/source/rtl/gtapi.c * harbour/source/rtl/filesys.c * harbour/source/rdd/dbfntx/dbfntx1.c * harbour/source/rdd/dbsql.c * harbour/source/rdd/sdf1.c * harbour/source/rdd/dbfcdx/dbfcdx1.c * harbour/source/rdd/delim1.c * harbour/contrib/hbbmcdx/bmdbfcdx.c + added HB_NHANDLE + added hb_numToHandle() macro ! fixed WIN32 HANDLE to integer number conversions in Harbour file API ! fixed F_ERROR and FS_ERROR usage * added support for optional FHANDLE mapped to pointer instead of integer number - disable by default in hbdefs.h Now Harbour can be compiled with internal pointer and integer file handles (FHANDLE) 2008-07-08 00:07 UTC+0200 Viktor Szakats * source/compiler/genhrb.c * contrib/hbtip/utils.c ! Changed octal values in strings (and chars too) to make these functions work with Pelles C 5.00.1. 2008-07-07 20:16 UTC+0200 Viktor Szakats * contrib/xhb/xhbfunc.c ! Changed hb_ArrayID() to be in sync with xhb, and at the same time fixing the Win64 compatibility issue. Thanks Przemek. * ChangeLog ! Typo. 2008-07-07 19:32 UTC+0200 Viktor Szakats * source/vm/arrayshb.c * contrib/xhb/xhbfunc.c ! Moved hb_ArrayID() Harbour level function to xhb.lib. ; NOTE: This function is not compatible with Win64 architecture. 2008-07-07 19:00 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) * make_xmingwce.mak * Changed the way HB_COMP_PATH, HB_PPGEN_PATH, CCPATH and CCPREFIX environment variables are handled 2008-07-07 17:41 UTC+0200 Viktor Szakats * source/vm/extrap.c ! Warning fixed. * source/rtl/hbffind.c ! Added workaround for PellesC 5.00.1 compiler bug. (hang -> out of memory) when compiling a certain expression. * contrib/hbmysql/mysql.c * contrib/hbmysql/tmysql.prg ! sqlListF() return value changed to pointer from numeric. Now compatible with Win64. INCOMPATIBLE. * contrib/hbw32/w32_prn.c ! Warning suppressed (pointer to BOOL conversion). * contrib/hbw32/dllcall.c * contrib/hbhpdf/harupdf.c * contrib/hbfimage/fi_winfu.c * contrib/hbgf/hbgfw32/win32.c ! Fixed several pointer (handle) passings to be 64-bit compatible. * contrib/hbw32/w32_reg.prg * Minor formatting. ; FIXME: There are still some PellesC 64-bit warnings to be fixed. (posted separately) 2008-07-07 12:48 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/compiler/gencc.c ! fixed bud with wrong C code generated for doubly negated integer values reported by Viktor. 2008-07-07 06:57 UTC+0200 Viktor Szakats * make_deb.sh + Added libgpm-dev to mouse test. Thanks Guy. - doc/simplex.txt * doc/Makefile - Removed obsolete file. * doc/linux1st.txt + Added libgpm*-dev requirements. * contrib/hbtpathy/Makefile * contrib/hbziparch/Makefile ! Fixed referring to win32 archictecture as 'win32' (should be 'w32'). Recently introduced bugs. * contrib/hbfimage/fi_winfu.c * contrib/hbfimage/fi_wrp.c ! Fixed for POCC, XCC compilers. 2008-07-06 23:01 UTC+0200 Viktor Szakats * include/hbundoc.api ! Casting in _tctemp() 2008-07-05 03:28 UTC+0200 Viktor Szakats * source/rtl/transfrm.c + Added patch by Javier. This will make @R picture compatible with Clipper 5.01 and VFP if HB_COMPAT_FOXPRO is enabled. 2008-07-05 02:48 UTC+0200 Viktor Szakats * doc/Makefile ! Removed non-existing genhtm.cmd ! howtocvs.txt -> howtosvn.txt 2008-07-05 02:22 UTC+0200 Viktor Szakats * source/pp/hbpp.c * source/pp/ppcore.c * source/pp/pplib.c ! Fixed bug introduced in r8836, so that now __HARBOUR__ will again be #defined when 'harbour /u' switch is used. Thanks Randy. 2008-07-05 01:59 UTC+0200 Viktor Szakats * include/hbver.h ! Typo in comment. 2008-07-05 01:46 UTC+0200 Viktor Szakats * contrib/hbcurl/hbcurl.c ! Typo: hb_free() -> hb_xfree() 2008-07-04 20:45 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) * make_vcce.mak ! Fixes required by an old eVC4 compiler, Better synchronization with make_vc.mak. 2008-07-04 19:00 UTC+0200 Viktor Szakats * contrib/hbziparch/Makefile ! Fixed commented file in file list. ; This may fix some GNU-make problems regarding hbziparch. ; hbziparch may not work in RC2 GNU-make builds for this reason. * harbour-ce-spec * harbour-w32-spec * doc/whatsnew.txt * include/hbver.h * harbour.spec * RC2 -> rc2 ; We should use lowercase for 'RC' in the future, for consistency with 'alpha', 'beta' (and with other projects too). It looks smoother too. * source/rtl/errorint.c ! hb_setGetCPtr( HB_SET_HBOUTLOG ) checked for NULL value. I'm not sure if this is required in real life, so this may be unnecessary safety. * utils/Makefile * Formatting. 2008-07-04 04:06 UTC+0200 Viktor Szakats * contrib/hbmzip/hbmzip.c + Reenabled new OS/2 code. ! Fixed defines in OS/2 part. Requested definitions. Fixed one potential error. Pls review and test, all this was done blindly. 2008-07-04 03:06 UTC+0200 Viktor Szakats * include/Makefile ! Removed hbwmain.c from the header list to be installed. (Przemek please verify me) 2008-07-03 22:45 UTC+0200 Viktor Szakats * source/rtl/errorint.c + Internal error are now logged to hb_out.log (by default). ; This addition looks quite humble, yet very useful, please test and comment it. Credits to Randy Portnoff for the idea. ; First post-RC2, RC3/FINAL modification. 2008-07-03 22:15 UTC+0200 Viktor Szakats ; Tagged: /tags/harbour-1.0.0RC2 2008-07-03 21:53 UTC+0200 Viktor Szakats * source/common/hbver.c ! Fixed version detection to not break when compiling for WinCE. ; Marek, thanks a lot. 2008-07-03 21:26 UTC+0200 Viktor Szakats * contrib/hbmzip/hbmzip.c * Temply disabled new OS/2 code to go on with the RC2 release. 2008-07-03 21:08 UTC+0200 Viktor Szakats - contrib/hbmysql/difer.txt - contrib/hbmysql/diffeng.txt + contrib/hbmysql/diff-en.txt + contrib/hbmysql/diff-es.txt * contrib/hbmysql/tmysql.prg - contrib/hbmysql/dbf2mysq.prg + contrib/hbmysql/utils + contrib/hbmysql/utils/bld_b32.bat + contrib/hbmysql/utils/dbf2mysq.prg + contrib/hbmysql/utils/bld_vc.bat * Some dir cleanup. * Created separate dir for standalone utility. ! SVN headers and props added. 2008-07-03 19:28 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/debian/changelog * harbour/make_deb.sh * added modifications by Guy Roussin - thanks * harbour/contrib/gtwvg/gtwvg.c ! fixed pointer comparison - C uses different precedence for ! operator then Clipper/xbase I thought that I've already fixed it once :-o 2008-07-03 18:35 UTC+0200 Viktor Szakats * contrib/hbbmcdx/bmdbfcdx.c * contrib/hbbtree/hb_btree.c * contrib/hbgd/gdwrp.c * contrib/hbsqlit3/hbsqlit3.c * contrib/hbtip/encmthd.c * contrib/hbtip/utils.c * contrib/xhb/cstructc.c * contrib/xhb/xhbwith.c % Using HB_ERR_FUNCNAME 2008-07-03 18:00 UTC+0200 Viktor Szakats * contrib/hbmzip/hbmzip.c ! Fixed previous FIXME for DOS. ! Fixed warning. ! Fixed mistake in previous commit. 2008-07-03 16:48 UTC+0200 Viktor Szakats * contrib/hbmzip/hbmzip.c + Added ".cmd" to the (commented) list of OS/2 executable extensions. + Added headers for DOS/GCC line. + Guarded new DOS section with GCC guards, added dummy branch for other DOS compilers. ! Fixed embedded comment. ; FIXME: ../../hbmzip.c:563: error: 'FILE_ATTRIBUTE_READONLY' undeclared (first use in this function) ../../hbmzip.c:568: error: 'FILE_ATTRIBUTE_DIRECTORY' undeclared (first use in this function) * contrib/hbmisc/spd.c - Removed two __XHARBOUR__ guards, because these feature have since been implemented in xhb. ! Fixed DJGPP warning. The problem is that DJGPP will preprocess snprintf() to sprintf() (not very safe), which makes ulMaxBuf var unused. 2008-07-03 16:35 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/Makefile ! fixed some contrib library comments: # used before 1st commented library created long comment to the end of library list 2008-07-03 15:41 UTC+0200 Viktor Szakats - contrib/hbmysql/dbf2mysql.prg + contrib/hbmysql/dbf2mysq.prg * contrib/hbfbird/common.mak * contrib/hbfbird/Makefile - contrib/hbfbird/tfirebird.prg + contrib/hbfbird/tfirebrd.prg * contrib/hbfimage/tests/fitest.prg + contrib/hbfimage/tests/imgs_out - contrib/hbfimage/tests/images_out * Some more long filenames removed. ; FIXME?: freeimage.ch is still long. * contrib/hbfimage/fi_winfu.c * contrib/hbfimage/fi_wrp.c % Using HB_ERR_FUNCNAME 2008-07-03 16:30 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * contrib/hbmzip/hbmzip.c + implemented file get attributes and file set attributes for DOS and OS2 ; I've not even tried to compile the code. I have no required OS and compile enviroment. DOS implementation is written using docs from https://www.delorie.com/djgpp/doc/libc-2.02/, OS2 implementation is just guess... Please test, I hope adding some #include <xxx.h> will make this code usable. 2008-07-03 15:15 UTC+0200 Viktor Szakats - contrib/hbgd/tests/imgs_in/gdlogobig.png - contrib/hbgd/tests/imgs_in/conv_test.jpg - contrib/hbgd/tests/imgs_in/theclipper.gif + contrib/hbgd/tests/imgs_in/harbour.gif + contrib/hbgd/tests/imgs_in/gdlogo.png + contrib/hbgd/tests/imgs_in/conv_tst.jpg * contrib/hbgd/tests/gdtest.prg * contrib/hbgd/tests/tostring.prg * contrib/hbgd/tests/gdtestcl.prg * Removing long filenames in hbgd (part 3/3) 2008-07-03 15:08 UTC+0200 Viktor Szakats - contrib/hbgd/tests/images_in - contrib/hbgd/tests/images_out + contrib/hbgd/tests/imgs_in + contrib/hbgd/tests/imgs_out * contrib/hbgd/tests/gdtest.prg * contrib/hbgd/tests/bartest.prg * contrib/hbgd/tests/barms.prg * contrib/hbgd/tests/test_out.prg * contrib/hbgd/tests/tostring.prg * contrib/hbgd/tests/gdtestcl.prg * contrib/hbgd/tests/animgif.prg * contrib/hbgd/tests/testdpi.prg * contrib/hbgd/tests/counter.prg * contrib/hbgd/tests/antialia.prg * Removing long filenames in hbgd (part 2/3) ! Added SVN headers. ! Fixed to not use hbcompat.ch. 2008-07-03 14:56 UTC+0200 Viktor Szakats * contrib/hbgd/Makefile * contrib/hbgd/common.mak - contrib/hbgd/gdexternal.ch + contrib/hbgd/gdextern.ch - contrib/hbgd/tests/gdtestcls.prg + contrib/hbgd/tests/gdtestcl.prg - contrib/hbgd/tests/antialiased.prg + contrib/hbgd/tests/antialia.prg ! Removing long filenames in hbgd (part 1/3) 2008-07-03 14:22 UTC+0200 Viktor Szakats * contrib/hbbmcdx/Makefile * contrib/hbbmcdx/common.mak - contrib/hbbmcdx/bmsixcdx1.c + contrib/hbbmcdx/bmsixcdx.c - contrib/hbbmcdx/bmdbfcdx1.c + contrib/hbbmcdx/bmdbfcdx.c - contrib/hbbmcdx/hbrddbmcdx.h + contrib/hbbmcdx/hbbmcdx.h ! Removed long filenames. 2008-07-03 14:11 UTC+0200 Viktor Szakats * contrib/hbmisc/spd.c ! DJGPP warning fixed, plus another update from Xavi. ; Sorry I've removed _SPD() as IMO there is not much point in keeping compatibility with a name which was never used by Harbour. That can be easily done outside Harbour though for those (few) who need it nevertheless. 2008-07-03 13:16 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbmsql/msql.h * updated for [Open]Watcom builds. Now DOS OpenWatcom builds works fine except hbbmcdx which needs special trick for long file names. Question: Should we change filenames in this library to 8.3 standard? * harbour/config/none.cf ! fixed to work with DOS and pure command.com 2008-07-03 12:40 UTC+0200 Viktor Szakats * contrib/hbcurl/Makefile * contrib/hbfimage/Makefile * contrib/hbhpdf/Makefile * contrib/rddads/Makefile ! Excluded from DOS builds. 2008-07-03 11:55 UTC+0200 Viktor Szakats * contrib/hbcurl/hbcurl.c ! Fixed compile errors when compiled with some (but not all possible) older libcurl versions. ; It still requires libcurl 7.17.0 in order to work properly though. 2008-07-03 11:37 UTC+0200 Viktor Szakats * contrib/hbziparch/Makefile - contrib/hbziparch/hbzipcom.cpp * contrib/hbziparch/hbzipnew.cpp * contrib/hbziparch/common.mak * Merged source module hbzipcom.cpp into hbzipnew.cpp. + Using hb_fsSize() Harbour API instead of implementing this functionality locally and only for a limited number of platforms/compilers. 2008-07-03 11:21 UTC+0200 Viktor Szakats * hbziparch/hbziparc.c * hbziparch/hbziparc.h * hbziparch/hbzipcom.cpp * hbziparch/hbzipnew.cpp ! Fixed reintroduced warnings. Sorry Miguel, but the latest fix was not needed, since bAdded was reinited to FALSE in each iteration of the loop. ! sprintf() -> snprintf() % Optimizations. * Formatting, cleanups. ; Tested with BCC55, MSVC9 and MinGW. 2008-07-03 10:09 UTC+0200 Viktor Szakats * contrib/hbcurl/make_gcc.sh * contrib/hbgd/tests/bld.sh * contrib/hbhpdf/make_gcc.sh * contrib/hbsqlit2/make_gcc.sh * contrib/hbsqlit3/make_gcc.sh * contrib/hbvpdf/make_gcc.sh + svn propset svn:executable ON * ; Thanks Marek. I'm updating my local files to avoid this in the future. 2008-07-03 09:15 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) * harbour/contrib/mtpl_gcc.mak ! Fixed copy/paste error in ifdef/endif * harbour/contrib/hbapollo/make_gcc.sh * harbour/contrib/hbcurl/make_gcc.sh * harbour/contrib/hbfbird/make_gcc.sh * harbour/contrib/hbfimage/make_gcc.sh * harbour/contrib/hbgd/make_gcc.sh * harbour/contrib/hbhpdf/make_gcc.sh * harbour/contrib/hbmysql/make_gcc.sh * harbour/contrib/hbpgsql/make_gcc.sh * harbour/contrib/rddads/make_gcc.sh * Changed "==" to "=" to allow compilation on Ubuntu 8.04. For some reasons I got error when "==" was used. 2008-07-03 08:56 UTC+0200 Viktor Szakats * contrib/hbsqlit3/Makefile * Changed so that only failing BSD and HPUX platforms are excluded. 2008-07-03 08:48 UTC+0200 Viktor Szakats * contrib/hbtpathy/tpos2.c ! Blind fix for three OS/2 warnings. David please test. 2008-07-02 23:44 UTC+0200 Viktor Szakats * source/rtl/gtwvt/gtwvt.c ! Removed unused variable. 2008-07-02 14:35 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/gtwvg/gtwvg.c * source/rtl/gtwvt/gtwvt.c ! Changed the wat EXIT procedure works. ; The change is provided by Ron Pinkas so I have implemented as is. Before also I was not finding any problems on Harbour but appln was GPFing on Exit with GTWVG. ; TOCHECK: Viktor see if it resolves the EXIT problem you are reporting 2008-07-02 22:42 UTC+0200 Viktor Szakats * contrib/hbsqlit3/Makefile * contrib/Makefile + Reenabled hbsqlit3 for w32 platform. 2008-07-02 22:42 UTC+0200 Viktor Szakats * contrib/hbmzip/hbmzip.c + Added DOS branches but not actual content. Sorry. * contrib/hbsqlit3/Makefile * contrib/Makefile + Reenabled hbsqlit3 for w32 platform. 2008-07-02 22:27 UTC+0200 Viktor Szakats * contrib/hbsqlit2/Makefile * contrib/hbsqlit3/Makefile ! Excluded from DOS builds. * contrib/Makefile - Commented following contribs from GNU-make default builds until different platform/compiler issues and excessive warnings are resolved: hbsqlit2, hbsqlit3, hbw32ddr, hbwhat32, hbziparch 2008-07-02 21:26 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/make_xmingwce.sh * harbour/bin/hb-mkslib.sh * harbour/make_tgz.sh + added Darwin and OS2 to architecure autodetection. 2008-07-02 20:56 UTC+0200 Viktor Szakats * make_gcc.sh * make_gnu.sh + Added Darwin to architecure autodetection. 2008-07-02 20:00 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbgf/Makefile * do not include dir.cf when there is no platform dependent hbgf* library 2008-07-02 18:52 UTC+0200 Viktor Szakats * contrib/hbziparch/hbzipcom.cpp * contrib/hbziparch/hbzipnew.cpp ! Two lines commented by mistake now reenabled. Thanks Miguel. * source/rtl/gtwvt/gtwvt.c * Minor naming, formatting. 2008-07-02 18:39 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbodbc/Makefile * added test for header files in non W32 builds ODBC is not standard system part in other then MS-Window platforms * harbour/contrib/hbgf/hbgfgtk/Makefile * updated path check for GTK header files In fact it still can give wrong results in different Linux or other *nixes distributions. The real path to GTK header files is unknown and should be always tested by pkg-config 2008-07-02 15:34 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbziparch/hbziparc.c - removed HB_FUNC_EXIT( HBZIPCLEANUP ) * harbour/contrib/hbziparch/hbzipnew.cpp + added automatic callback destructor registered by hb_vmAtExit() at 1st callback set 2008-07-02 14:09 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbtpathy/tpos2.c * moved INCL_* definitions before harbour header files 2008-07-02 13:06 UTC+0100 Miguel Angel Marchuet <miguelangel@marchuet.net> * contrib/hbziparch/hbziparc.c + Added HBZIPCLEANUP() as EXIT function to clean. It will be called automatically at end application. 2008-07-02 12:43 UTC+0200 Viktor Szakats * contrib/hbapollo/make_b32.bat * contrib/hbapollo/make_vc.bat * contrib/hbcurl/make_b32.bat * contrib/hbcurl/make_vc.bat * contrib/hbfbird/make_b32.bat * contrib/hbfbird/make_vc.bat * contrib/hbfimage/make_b32.bat * contrib/hbfimage/make_vc.bat * contrib/hbgd/make_b32.bat * contrib/hbgd/make_vc.bat * contrib/hbhpdf/make_b32.bat * contrib/hbhpdf/make_vc.bat * contrib/hbmysql/make_b32.bat * contrib/hbmysql/make_vc.bat * contrib/hbpgsql/make_b32.bat * contrib/hbpgsql/make_vc.bat * contrib/rddads/make_b32.bat * contrib/rddads/make_vc.bat + Added possibility to use HB_INC_* envvars to specify the header directories for external packages. This way _all_ Harbour make systems now able to use the same common logic to specify external header dirs. (For GNU-make you can even use a dir list). If HB_INC_* is used with the non-GNU make system, the .dll to .lib generation _won't_ happen, which is desirable for binary builds for distribution. HB_DIR_* envvars continue to work, in this case .libs are copied/generated from the external .dlls, and this is useful who build their Harbour from source. For official Harbour binary distributions HB_INC_* must be used. 2008-07-02 12:29 UTC+0200 Viktor Szakats * contrib/hbapollo/make_b32.bat * contrib/hbapollo/make_vc.bat * contrib/hbcurl/make_b32.bat * contrib/hbcurl/make_vc.bat * contrib/hbfbird/make_b32.bat * contrib/hbfbird/make_vc.bat * contrib/hbfimage/make_b32.bat * contrib/hbfimage/make_vc.bat * contrib/hbgd/make_b32.bat * contrib/hbgd/make_vc.bat * contrib/hbhpdf/make_b32.bat * contrib/hbhpdf/make_vc.bat * contrib/hbmysql/make_b32.bat * contrib/hbmysql/make_vc.bat * contrib/hbpgsql/make_b32.bat * contrib/hbpgsql/make_vc.bat * contrib/rddads/make_b32.bat * contrib/rddads/make_vc.bat ! Fixed previous modification. More to come. 2008-07-02 11:57 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/xhb/Makefile * harbour/contrib/xhb/common.mak - harbour/contrib/xhb/hbchksum.c * removed HB_CHECKSUM() code - it's not necessary * harbour/contrib/xhb/xhbfunc.c + redirected HB_CHECKSUM() to HB_ADLER32() * harbour/source/rtl/gtwvt/gtwvt.c ! fixed WINCE builds. It was only for MiGWCE which partially emulates GetSystemMenu() but probably other builds will report that this function is missing. If possible please test if current Harbour application can be executed in real WinCE environment. * harbour/make_deb.sh * updated contrib library list * harbour/contrib/hbmysql/mysql.c ! fixed compilation for older MYSQL versions * harbour/contrib/gtwvg/gtwvg.c * harbour/contrib/gtwvg/wvgutils.c ! fixed UNICODE builds + harbour/config/none.cf + added dummy header file for GNU make to avoid errors on unsupported platforms * harbour/contrib/hbw32ddr/Makefile * harbour/contrib/hbmysql/Makefile * harbour/contrib/hbodbc/Makefile * harbour/contrib/hbwhat32/Makefile * harbour/contrib/hbtpathy/Makefile * harbour/contrib/hbw32/Makefile * harbour/contrib/hbole/Makefile * harbour/contrib/hbapollo/Makefile * harbour/contrib/hbfbird/Makefile * harbour/contrib/hbziparch/Makefile * harbour/contrib/hbcurl/Makefile * harbour/contrib/hbhpdf/Makefile * harbour/contrib/rddado/Makefile * harbour/contrib/gtwvg/Makefile * harbour/contrib/hbpgsql/Makefile * harbour/contrib/rddads/Makefile * harbour/contrib/hbfimage/Makefile * harbour/contrib/hbgd/Makefile * harbour/contrib/hbgf/hbgfw32/Makefile * harbour/contrib/hbgf/hbgfos2/Makefile * harbour/contrib/hbgf/hbgfgtk/Makefile * harbour/contrib/hbtip/Makefile * harbour/contrib/hbbmcdx/Makefile * updated to not generate errors for unsupported builds 2008-07-02 11:21 UTC+0200 Viktor Szakats * include/hbdefs.h ! Fixed DLL creation for MSVC (and maybe compilers, too). Thanks to Marek Paliwoda for the hint. * contrib/hbtpathy/tpos2.c ! Blind attempt to fix OS/2 compile error. 2008-07-02 10:52 UTC+0100 Miguel Angel Marchuet <miguelangel@marchuet.net> * contrib/hbziparch/hbziparc.c * corrected library name in comments. 2008-07-02 08:31 UTC+0200 Viktor Szakats * contrib/hbpgsql/Makefile ! Added /usr/include to the default dir list. 2008-07-02 01:45 UTC+0200 Viktor Szakats * contrib/make_b32_all.bat * contrib/make_b32_vc.bat * Contribs sorted by alphabet. 2008-07-02 01:17 UTC+0200 Viktor Szakats * contrib/xhb/hbchksum.c * contrib/xhb/hbcomprs.c - contrib/xhb/hbcomprs.h + contrib/xhb/hbcomprs.ch - Removed unnecessary C header. + Added xhb compatibility .ch header. 2008-07-02 01:13 UTC+0200 Viktor Szakats * contrib/xhb/hbcomprs.c * contrib/xhb/hbcomprs.h % Stripped yet another copy of an old embedded ZLIB version from Harbour. Now xhb compatibility compression functions use Harbour hbzlib.lib, thus reducing binary size and avoiding security problems with old ZLIB. ; Now the only copy of ZLIB in Harbour is in source/hbzlib. % Using HB_ERR_FUNCNAME. 2008-07-02 01:01 UTC+0200 Viktor Szakats * contrib/hbziparch/Makefile * contrib/hbziparch/common.mak - contrib/hbziparch/hbcomprs.c + contrib/hbziparch/hbxdirec.c ! Renamed to avoid collision with an xhb contrib file. 2008-07-01 22:49 UTC+0200 Viktor Szakats * contrib/hbziparch/hbzipnew.cpp ! Fixed a potential GPFs. (GCC warnings) * contrib/hbpgsql/postgres.c * contrib/hbwhat32/_wininet.c ! Fixed two const casting warnings in MSVS non-CPP mode. - tests/run_test.bat + tests/run_prg_all.bat - tests/gnu_test.bat + tests/bld_gnu.bat - tests/bld4dll.bat + tests/bld_b32_dll.bat + Some renames in the hope they will be easier to understand, and more standard. ! Fixed .dll reference. * contrib/hbziparch/Makefile ! Excluded from Darwin and OS/2 builds. ; NOTE: The Windows build I've tried are now building relatively clearly, only with the 1) known warnings 2) warnings in foreign code, plus 3) quite some in contrib/hbwhat32. Tested compilers: Win32 BCC551 - OK BCC582 - OK MSVS2005 - OK (doesn't work with set HB_BUILD_DLL=yes) MSVS2005cpp - OK (doesn't work with set HB_BUILD_DLL=yes) MSVS2008 - OK (doesn't work with set HB_BUILD_DLL=yes) MSVS2008cpp - OK (doesn't work with set HB_BUILD_DLL=yes) MinGW412 - OK MinGW430 - OK Win64 MSVS2008 Fails with: 'include\hbinit.h(218) : fatal error C1189: #error : Unknown initialization method. MSVS2008cpp - OK (doesn't work with set HB_BUILD_DLL=yes) Linux-Ubuntu (7.10) GCC413 - OK (FreeImage e.g. fails.) Darwin (OS X Leopard 10.5.4) GCC401 Fails with a lot of: 'Wrong type of codeblock parameter, is: 1, should be: 8' 2008-07-01 22:10 UTC+0200 Viktor Szakats * source/rtl/gtwvt/gtwvt.c * contrib/gtwvg/gtwvg.c ! Fixed MSVC warnings. 2008-07-01 21:33 UTC+0200 Viktor Szakats * contrib/hbwhat32/_winmmcap.c ! #include <hbapi.h> -> #include "hbapi.h" Harbour headers are not system headers. * contrib/gtwvg/gtwvg.c * Commented unused code to avoid warnings. * contrib/hbziparch/hbziparc.c * contrib/hbziparch/hbzipnew.cpp ! Fixed BCC 5.8 warning. ! Removed tabs. * Some formatting. 2008-07-01 21:25 UTC+0200 Viktor Szakats * source/vm/extrap.c ! Excluded GPF dumping code for Win64 and WinCE. 2008-07-01 20:58 UTC+0200 Viktor Szakats * source/rtl/hbinet.c % Recently added code fixed to use HB_ERR_FUNCNAME. ! Quick fix to recently added code to compile with MSVC. Please review, it seem that get/setsockopt() 4th parameter is void* in Linux but char* in Windows. 2008-07-01 20:48 UTC+0200 Viktor Szakats * source/vm/extrap.c ! Fixed MSVC error in new code. 2008-07-01 19:05 UTC+0200 Viktor Szakats * doc/whatsnew.txt + Added RC2 changes. ; Please review. 2008-07-01 18:36 UTC+0200 Viktor Szakats * contrib/hbcurl/hbcurl.c ! Fixed version checking (pass 2). 2008-07-01 18:34 UTC+0200 Viktor Szakats * contrib/hbcurl/hbcurl.c ! Fixed version checking. 2008-07-01 18:08 UTC+0200 Viktor Szakats * harbour-ce-spec * harbour-w32-spec * include/hbver.h * harbour.spec * RC1 -> RC2 * contrib/hbziparch/hbziparc.c ! Fixed potential GPF in HBZIPCLEANUP(). ! HBZIPCLEANUP() changed to be an HB_FUNC() (from HB_EXIT_FUNC()), so now it has to be called manually, but at least it's now doing something useful. (HB_EXIT_FUNC() in .c code never gets executed by itself). 2008-07-01 17:22 UTC+0200 Viktor Szakats * contrib/hbapollo/Makefile * contrib/hbcurl/Makefile * contrib/hbfbird/Makefile * contrib/hbfimage/Makefile * contrib/hbgd/Makefile * contrib/hbhpdf/Makefile * contrib/hbmysql/Makefile * contrib/hbpgsql/Makefile * contrib/rddads/Makefile ! Fixed a macro check to make autodetection really work. So the previous FIXME (2008-06-30 19:20 UTC+0200) is now cleared. ; TODO: Adjust hbodbc to contrib Makefile standards. * contrib/hbgf/hbgfgtk/Makefile + Added header detection. (default: /usr/include) * contrib/hbziparch/hbziparc.c * contrib/hbziparch/hbzipcom.cpp * contrib/hbziparch/hbzipnew.cpp ! Pacified Linux warnings. * Some formatting. 2008-07-01 16:28 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/harbour-ce-spec * harbour/harbour-w32-spec * define whole contrib library list for new contrib/Makefile + added header files to respect differences between platform native and Windows only headers * harbour/harbour.spec * define whole contrib library list for new contrib/Makefile * divided libraries which needs external references into separated packages ! removed unnecessary dependences in binaries rebuild in shared mode * harbour/contrib/hbodbc/odbc.c * pacified warnings % minor optimization * harbour/contrib/hbcurl/hbcurl.c * harbour/contrib/hbfbird/firebird.c * harbour/source/vm/extrap.c * casting to pacify warnings * harbour/contrib/gtwvg/gtwvg.c ! fixed pointer comparison - C uses different precedence for ! operator then Clipper/xbase * harbour/source/rtl/hbinet.c ! fixed GPF HB_INET[GS]ET{SND,RCV}BUFSIZE() when wrong socket parameter is passed. Please remember that after RT error the control is returned to application. % removed any hardcoded limits for size of data passed in single read/write call during normal stream operations - removed iSndBufSize/iRcvBufSize 2008-06-30 19:20 UTC+0200 Viktor Szakats * contrib/hbapollo/Makefile * contrib/hbcurl/Makefile * contrib/hbfbird/Makefile * contrib/hbfimage/Makefile * contrib/hbgd/Makefile * contrib/hbhpdf/Makefile * contrib/hbmysql/Makefile * contrib/hbpgsql/Makefile * contrib/rddads/Makefile * Changed to use default for all architecture. Let's hope that checking existence for mixed platform paths won't create problems on any platforms. + Added include path detection logic to hbapollo, too. + Added Darwin path to hbgd include path list. + Added std Linux path to hbfbird include path list. ; FIXME: Seems that 'ifneq ($(HB_INC_*_OK),)' doesn't really work if no path in the path list is valid. 2008-06-30 17:15 UTC+0200 Viktor Szakats * source/rtl/hbinet.c ! Fixed non-ANSI comment. 2008-06-30 17:00 UTC+0100 Miguel Angel Marchuet <miguelangel@marchuet.net> * source/rtl/hbinet.c + Added define SOCKET_ERROR, that is missing in some compilers. 2008-06-30 16:36 UTC+0200 Viktor Szakats * contrib/hbtip/tests/tiptest.prg ! Remove strings as arrays access. Thanks Lorenzo. 2008-06-30 14:46 UTC+0200 Viktor Szakats * include/hbextern.ch + New inet functions added. * source/rtl/hbinet.c ! Blind fix for Linux compile error. 2008-06-30 13:33 UTC+0200 Viktor Szakats * contrib/hbmysql/make_b32.bat * contrib/hbmysql/make_vc.bat * contrib/hbmysql/Makefile - Removed -DBIG_JOINS. If someone needs this, it can be specified via C_USR, but to me it seem this is a MySQL build-time switch, and it has no effect for interface code. 2008-06-30 13:18 UTC+0200 Viktor Szakats * contrib/hbapollo/Makefile * contrib/hbcurl/Makefile * contrib/hbfbird/Makefile * contrib/hbfimage/Makefile * contrib/hbgd/Makefile * contrib/hbhpdf/Makefile * contrib/hbmysql/Makefile * contrib/hbpgsql/Makefile * contrib/rddads/Makefile + Now possible to specify external header location using the HB_INC_* envars (similar to the ones used in non-GNU makefiles). In GNU make, multiple dirs can be specified, and the make system will always autodetect whether the headers are really there. If not, the build process will be skipped for that contrib. Additionally in Linux, the HB_INC_* vars will be inited with a default, if not specified by the builder. These default should be verified by Linux users and extended/fixed accordingly. Most of them were already initialized for Linux, so there should be no big surprises here. * contrib/hbmysql/make_b32.bat * contrib/hbmysql/make_vc.bat + Synced C options with GNU make. (-DBIG_JOINS=1 added) * contrib/hbmysql/make_vc.bat - Removed -D__WIN32__. Now it seems to work without it. * contrib/hbcurl/make_gcc.sh ! Fixed example dir in comment. 2008-06-30 11:16 UTC+0200 Viktor Szakats * include/hbapi.h * source/rtl/set.c * source/vm/fm.c ! Fixed _SET_HBOUTLOG, _SET_HBOUTLOGINFO handling in fm.c. hb_setget*() functions cannot be used here as the set system is deinited at this point. So local buffers are holding the values. 2008-06-30 10:08 UTC+0200 Viktor Szakats * contrib/gtwvg/Makefile * contrib/hbapollo/Makefile * contrib/hbbtree/Makefile * contrib/hbclipsm/Makefile * contrib/hbct/Makefile * contrib/hbfbird/Makefile * contrib/hbfimage/Makefile * contrib/hbgd/Makefile * contrib/hbhpdf/Makefile * contrib/hbmisc/Makefile * contrib/hbmsql/Makefile * contrib/hbmysql/Makefile * contrib/hbmzip/Makefile * contrib/hbnf/Makefile * contrib/hbodbc/Makefile * contrib/hbpgsql/Makefile * contrib/hbsqlit2/Makefile * contrib/hbsqlit3/Makefile * contrib/hbtip/Makefile * contrib/hbtpathy/Makefile * contrib/hbvpdf/Makefile * contrib/hbw32/Makefile * contrib/hbw32ddr/Makefile * contrib/hbwhat32/Makefile * contrib/rddado/Makefile * contrib/rddads/Makefile ! CFLAGS -> C_USR * var = var + x -> var += x ! Added header install rules for all places where such headers are defined. I wonder why isn't this the default in our GNU-make system. * few other minor cleanups. * contrib/rddads/Makefile * Experimenting with HB_INC_ADS implementation in GNU-make system. HB_INC_ADS can now used to enable to rddads builds. In GNU-make HB_INC_ADS can contain a list of possible places where headers may be found. GNU-make will validate these and if the headers were found in any of these places, rddads will be built. For Linux there are some default dirs which will always be checked. 'HB_WITHOUT_ADS' and 'ACE_DIRS' is not longer used. ; Please test. If this works out okay, we can use this method for the rest of 3rd party dependent contribs. * contrib/rddads/Makefile % Don't define WIN32 in GNU-makefiles for w32. * contrib/hbmisc/Makefile ! Don't include non-existing 'test' dir in make. * contrib/gtwvg/Makefile * contrib/gtwvg/common.mak ! Not installing private .h file to common include dir. * contrib/hbw32ddr/w32_ddrw.cpp ! Fixed one GCC warning. (Some remain) 2008-06-28 11:37 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/gtwvg/gtwvg.c * contrib/gtwvg/gtwvg.h * contrib/gtwvg/hbgtwvg.ch + Implemented application to run as a System Tray Icon. ; IMPLEMENTATION: Hb_GtInfo( HB_GTI_SPEC, HB_GTS_SYSTRAYICON, ; { nMode /*NIM_ADD/MODIFY/DELETE*/, ; nIconType /*NIT_FILE/RESOURCEBYNAME/RESOURCEBYID*/, ; cnFileNameOrResourceName|Id, ; cTooltip } ) Right-click on SysTrayIcon will restore the appln in its original state. : TOKNOW: Does it qualify for GTWVT? * tests/wvtext.prg ! Modified to show the SysTrayIcon feature if linked with GTWVG. Link Guarded againt __GTWVG__ define. 2008-06-28 11:17 UTC+0200 Viktor Szakats * source/vm/extrap.c + Added Windows GPF detailed information dump (with some modifications) provided by Mindaugas Kavaliauskas. Many thanks. ; It would be very nice to have similar for Linux, OS/2, Darwin. 2008-06-28 10:44 UTC+0200 Viktor Szakats * tests/extend2.c * source/debug/dbgentry.c * contrib/hbodbc/odbc.c * contrib/hbw32/tprinter.c * contrib/hbziparch/hbziparc.c * contrib/hbziparch/hbzipnew.cpp * contrib/hbpgsql/postgres.c ! Changed strcpy() -> hb_strncpy() ! Changed strcat() -> hb_strncat() ! Some possible buffer overruns fixed along the way in hbziparch.lib ! Fixed some filename buffer sizes in hbziparch.lib ; FIXME: There are still some remaining strcpy()/strcat() calls in Harbour code: core: dbgentry.c, hbwince.c contrib: hbnf, hbw32, hbwhat32, hbtip foreign code: zlib, sqlite2/3 Not all of these are necessarily bugs (but it's difficult to know without checking each). 2008-06-28 08:53 UTC+0200 Viktor Szakats * include/set.ch * include/hbset.h * source/rtl/set.c * source/vm/fm.c * source/vm/extrap.c + Added: Set( _SET_HBOUTLOGINFO[, <cValue>] ) -> <cOldValue> Default value: "" This user defined text will be included in each hb_out.log messages. This way it's possible to include custom information in these entries to help identify and locate them. ! Fixed a few string not marked with HB_I_() translation marker. 2008-06-27 17:13 UTC+0100 Miguel Angel Marchuet <miguelangel@marchuet.net> * contrib/hbtip/client.prg * contrib/hbtip/ftpcln.prg * contrib/hbtip/httpcln.prg * contrib/hbtip/mail.prg * contrib/hbtip/sendmail.prg + Added methods setget to interrogate buffer size send/recive METHOD InetRcvBufSize( SocketCon, nSizeBuff ) METHOD InetSndBufSize( SocketCon, nSizeBuff ) + Added data members to assign default buffer sizes DATA nDefaultRcvBuffSize DATA nDefaultSndBuffSize + Asigned default buffer size to 64 KiB only for FTP transfer, previous to open sockets ::nDefaultSndBuffSize := 65536 ::nDefaultRcvBuffSize := 65536 * Fixed port ftp protocol. * source/rtl/hbinet.c * now works with default system buffer, for example 8 KiB at Windows 2000. instead of harcoded 1400 2008-06-27 17:07 UTC+0200 Viktor Szakats * contrib/hbgf/hbgfgtk/msginfo.c ! Blind fix for missing MultiLineDelimiters definition. 2008-06-27 15:43 UTC+0200 Viktor Szakats * contrib/hbwhat32/wincorec.c * contrib/hbwhat32/_winwnd.c * contrib/hbwhat32/wincore.prg + hb_retnl()/hb_parnl() calls replaced with hb_retptr()/hb_parptr(). This way it won't break on Win64. ; NOTE1: Functions dealing with wndproc/dlgproc functions on the Harbour level will now return/require POINTER types instead of numerics. App level code should be updated accordingly. INCOMPATIBLE. ; NOTE2: There might be other places in hbwhat32 where such conversion would be necessary. ; Please test. 2008-06-27 14:58 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/pp/ppcore.c ! fixed GPF in expressions like: #command CMD => #translate abc => \ problem located by Ron in xHarbour * harbour/source/pp/hbpp.c * extended string escaping to also quote " and ? (possible trigraph) * harbour/source/compiler/gencc.c ; comment formatting 2008-06-27 14:27 UTC+0200 Viktor Szakats * contrib/Makefile * After this change, HB_CONTRIBLIBS will _override_ the default list of contribs, rather than adding them to the default list (which BTW contains everything since this week, so there's no much point anyway, besides if someone was hosting local contribs in the Harbour contrib dir). * include/hbver.h - Removed recenly added HB_VERSION 0x010000. * Instead I've changed both .prg level and .c level __HARBOUR__ to contain this more granular (full) version number. ; NOTE: If someone is relying on the value of __HARBOUR__ in .prg code, the values should be multiplied by 256. 2008-06-27 13:22 UTC+0200 Viktor Szakats * include/hbstdgen.ch * include/hbver.h * Cleanups to previous change. ! Fixed HB_STD_CH_ to not be #defined in .prgs by default. 2008-06-27 12:51 UTC+0200 Viktor Szakats * contrib/hbgf/hbgfgtk/creamenu.c - Removed deprecated pre GTK2 API call with no equivalent in newer versions. If someone needs the menu shadow functionality for GTK1, please give some hint how to guard it, and we can add it back. 2008-06-27 12:24 UTC+0200 Viktor Szakats * include/hbstdgen.ch * include/hbver.h * include/hbdefs.h * source/pp/pplib.c * source/pp/ppcore.c * source/pp/hbpp.c * source/common/hbver.c * source/common/hbverdsp.c * contrib/hbsqlit3/hbsqlit3.c * contrib/examples/pp/hbppdef.h * Changed .c level __HARBOUR__ to have the same value as the existing .prg level one. * PP now gets the __HARBOUR__ define directly from the .c level instead of generating it locally. ; QUESTION: Should or shouldn't we change __HARBOUR__ to contain revision number too? (0x0100 -> 0x01000) This would allow for a greater level of development opportunities between minor revisions, more "agile" development. * include/hbpp.h * source/pp/ppcore.c - Two __XHARBOUR__ guards removed. 2008-06-27 03:27 UTC+0200 Viktor Szakats * contrib/gtwvg/Makefile * contrib/gtwvg/common.mak - contrib/gtwvg/wvtclass.prg + contrib/gtwvg/wvgclass.prg - contrib/gtwvg/wvtpaint.prg + contrib/gtwvg/wvgpaint.prg - contrib/gtwvg/wvtcore.c + contrib/gtwvg/wvgcore.c - contrib/gtwvg/wvtutils.c + contrib/gtwvg/wvgutils.c * contrib/gtwvg/hbgtwvg.ch * contrib/gtwvg/wvtwin.ch + Added self-guards for headers. ! Added missing SVN header and copyright to hbgtwvg.ch. ! Deleted ISBLOCK() from wvtwin.ch since it's already #defined in common.ch. * Renamed local source files from wvt*.* -> wvg*.* 2008-06-26 15:58 UTC+0200 Viktor Szakats * source/pp/hbpp.c ! Fixed typo in recent modification. Thanks to Grigory Filatov for spotting it. 2008-06-26 12:25 UTC+0200 Viktor Szakats * contrib/hbmysql/mysql.c * contrib/hbmysql/tmysql.prg * contrib/hbmsql/msql.c * contrib/hbmsql/tmsql.prg ! Fixed again to use hb_parptr()/hb_retptr() instead of hb_parnl()/hb_retnl(). This fixes these libs on 64-bit systems. This is an INCOMPATIBLE change, users of these libs will have to update their code when dealing with return values of the following functions: - hbmysql / SQLCONNECT() - hbmysql / SQLSTORER() - hbmysql / SQLUSERES() - hbmsql / MSQLSTORER() - hbmsql / MSQLLISTFI() They will now return pointer type instead of a number, so error checking will have to be changed from r > 0, r ==/=/!=/> 0 to !Empty( r ). ; Please test. * contrib/hbgf/hbgfw32/win32.c * contrib/hbgf/hbgfos2/os2pm.c * contrib/hbgf/hbgfos2/os2pm.ch * Some cleanups. ; Please test for OS/2. 2008-06-26 11:47 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbmsql/msql.c ! changed msqlGetErrMsg( NULL ) => msqlErrMsg * harbour/contrib/hbsqlit3/hbsqlit3.c ! include harbour header files after sqlite3.c which needs some extra sets for system header files * harbour/contrib/hbgf/hbgfw32/win32.c ! removed wrongly used TEXT( hb_parc( 1 ) ) macro. The TEXT() macro can be used _ONLY_ for literal strings. * harbour/contrib/hbgf/hbgfgtk/Makefile * harbour/contrib/hbgf/hbgfgtk/dispatch.c * harbour/contrib/hbgf/hbgfgtk/msginfo.c * harbour/contrib/hbgf/hbgfgtk/form.prg * harbour/contrib/hbgf/hbgfgtk/creawin.c ! fixed compilation in Linux * harbour/source/rtl/gtclip.c * pacified warning 2008-06-26 11:21 UTC+0200 Viktor Szakats * source/common/hbver.c * Changed version information layout: "Harbour a build x.y-z" -> "Harbour x.y.za" format. * contrib/gtwvg/gtwvg.c ! Fixed compile error. (commented line, please check this code) [ pGT->iLocalGTHandle = pWVT->iHandle; ] * contrib/gtwvg/wvtutils.c * contrib/gtwvg/wvtcore.c * contrib/gtwvg/wvtpaint.prg * contrib/gtwvg/wvtclass.prg % hb_arraySet( ..., hb_itemPut*() ) -> hb_arraySet*( ... ) * if() -> iif() * != on strings to IS*() macros. ; TODO: I'd suggest to change "WVT" references to "WVG" to avoid confusion with core WVT. At least in those places which wouldn't break compatibility (like source names). If there is no objection I can do it. * source/rtl/gtwvt/gtwvt.c * Minor cleanup. 2008-06-25 15:55 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtwvg/gtwvg.c * Some futuristic additions and synchronization with GTWVT. * harbour/contrib/gtwvg/tests/demowvg.prg * Update to recognize all key events. ;DONE: I am done with the update og GTWVG. Open to previous modifications, Viktor? 2008-06-25 18:19 UTC+0200 Viktor Szakats * contrib/hbfimage/fi_winfu.c * contrib/hbfimage/fi_wrp.c ! I cannot test it right now, but this should fix the build problem for hbfimage under Linux. 2008-06-25 16:48 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbver.h * removed unnecessary EOL inside comment * harbour/contrib/hbodbc/odbc.c ! use valid integer type instead of explicit casting in function call. Such casting is vary dangerous and may cause unpredictible results when integer value has different binary size * harbour/contrib/hbtpathy/Makefile * harbour/contrib/hbtpathy/common.mak * harbour/contrib/hbtpathy/telepath.ch * harbour/contrib/hbtpathy/tplinux.c * harbour/contrib/hbtpathy/tpwin32.c * harbour/contrib/hbtpathy/tpos2.c * harbour/contrib/hbtpathy/telepath.prg * harbour/contrib/hbtpathy/readme.txt * harbour/contrib/hbtpathy/tests/testtp.prg * converted EOL style to native * set valid SVN attributes * harbour/contrib/hbapollo/Makefile * disabled non W32 builds, SDE exists only for MS-Windows * harbour/contrib/hbziparch/Makefile ! fixed C flag setting for Linux builds * harbour/source/pp/ppcore.c * formatting * harbour/source/rtl/valtoexp.prg ! fixed empty date conversion * harbour/hbgtmk.sh * harbour/make_xmingwce.sh * harbour/make_deb.sh * harbour/make_rpmw32.sh * harbour/make_gcc.sh * harbour/make_rpm.sh * harbour/make_xmingw.sh * harbour/make_tgz.sh * harbour/make_rpmce.sh * harbour/contrib/hbmzip/make_gcc.sh * harbour/contrib/hbsqlit3/make_gcc.sh * harbour/contrib/make_gcc_all.sh * harbour/contrib/hbziparch/make_gcc.sh * harbour/contrib/hbnf/make_gcc.sh * harbour/contrib/hbhpdf/tests/files/cp932.txt * harbour/contrib/hbhpdf/make_gcc.sh * harbour/contrib/rddado/make_gcc.sh * harbour/contrib/gtwvg/make_gcc.sh * harbour/contrib/hbpgsql/make_gcc.sh * harbour/contrib/rddads/make_gcc.sh * harbour/contrib/hbclipsm/make_gcc.sh * harbour/contrib/mtpl_gcc.sh * harbour/contrib/hbfimage/make_gcc.sh * harbour/contrib/hbgd/tests/bld.sh * harbour/contrib/hbgd/make_gcc.sh * harbour/contrib/hbmisc/make_gcc.sh * harbour/contrib/hbtip/make_gcc.sh * harbour/contrib/hbbmcdx/make_gcc.sh * harbour/contrib/hbvpdf/make_gcc.sh * harbour/contrib/hbbtree/make_gcc.sh * set valid SVN EOL attribute 2008-06-25 11:49 UTC+0200 Viktor Szakats * source/rtl/gtwvt/gtwvt.c * Slightly changed the way CLOSE button works. Now the close button, if enabled, will always force a shutdown. So this setting is made independent of SetCancel(). I choose this because there might be cases when we need to use <Alt+C> in app code, yet we want to allow closing the window. Previously it was also easy to create confusing scenarios by using various combinations of HB_GTI_CLOSABLE + SetCancel(). Another kind of fix - without the advantage above - would be to fully sync SetCancel() with HB_GTI_CLOSABLE. * contrib/hbtpathy/tplinux.c ! Fixed embedded comments in Linux code. * contrib/hbziparch/hbziparc.h ! Fixed header casing. 2008-06-24 19:20 UTC+0200 Viktor Szakats * contrib/hbmsql/msql.c * contrib/hbmysql/mysql.c ! Partially undone previous change where hb_par/retnl() calls were swapped for hb_par/retptr(). HB_PAR/RETPTR() macros are used in the time being, until .prg level code isn't updated to expect pointers rather then numerics. The problem is that these pointers are checked for zero on the .prg level. Notice that using par/retnl() for pointers makes these function fail on Win64. FIXME: Two solutions come to mind: 1) extend HVM to make it possible to compare pointer types against zero. 2) develop different ways to return errors and modify .prg level code accordingly. I'd vote for 1) if doable. * contrib/hbfimage/fi_winfu.c * contrib/hbfimage/fi_wrp.c * contrib/hbfimage/Makefile * __GNUC__ macro requirement moved to C source from GNU-make CFLAGS. 2008-06-24 14:00 UTC+0200 Viktor Szakats * source/rtl/tgetlist.prg ! Fixed Settle() calls. ! Removed type constraint from ::nLastExitState. (this value may be of any type, even in TGet()) * Formatting. 2008-06-24 07:00 UTC+0200 Viktor Szakats * contrib/gtwvg/common.mak * contrib/gtwvg/Makefile ! Added missing new public .ch header. 2008-06-24 00:35 UTC+0200 Viktor Szakats + contrib/hbziparch/_features.h + contrib/hbziparch/_platform.h + contrib/hbziparch/Aes.cpp + contrib/hbziparch/Aes.h + contrib/hbziparch/BaseLibCompressor.cpp + contrib/hbziparch/BaseLibCompressor.h + contrib/hbziparch/BytesWriter.h + contrib/hbziparch/Bzip2Compressor.cpp + contrib/hbziparch/Bzip2Compressor.h + contrib/hbziparch/DeflateCompressor.cpp + contrib/hbziparch/DeflateCompressor.h + contrib/hbziparch/DirEnumerator.cpp + contrib/hbziparch/DirEnumerator.h + contrib/hbziparch/FileFilter.cpp + contrib/hbziparch/FileFilter.h + contrib/hbziparch/FileInfo.h + contrib/hbziparch/Hmac.cpp + contrib/hbziparch/Hmac.h + contrib/hbziparch/RandomPool.cpp + contrib/hbziparch/RandomPool.h + contrib/hbziparch/Sha1.cpp + contrib/hbziparch/Sha1.h + contrib/hbziparch/std_mfc.h + contrib/hbziparch/std_stl.h + contrib/hbziparch/Wildcard.cpp + contrib/hbziparch/Wildcard.h + contrib/hbziparch/ZipAbstractFile.h + contrib/hbziparch/ZipAesCryptograph.cpp + contrib/hbziparch/ZipAesCryptograph.h + contrib/hbziparch/ZipArchive.cpp + contrib/hbziparch/ZipArchive.h + contrib/hbziparch/ZipAutoBuffer.cpp + contrib/hbziparch/ZipAutoBuffer.h + contrib/hbziparch/ZipBaseException.h + contrib/hbziparch/ZipCallback.h + contrib/hbziparch/ZipCallbackProvider.h + contrib/hbziparch/ZipCentralDir.cpp + contrib/hbziparch/ZipCentralDir.h + contrib/hbziparch/ZipCollections.h + contrib/hbziparch/ZipCollections_mfc.h + contrib/hbziparch/ZipCollections_stl.h + contrib/hbziparch/ZipCompatibility.cpp + contrib/hbziparch/ZipCompatibility.h + contrib/hbziparch/ZipCompressor.cpp + contrib/hbziparch/ZipCompressor.h + contrib/hbziparch/ZipCrc32Cryptograph.cpp + contrib/hbziparch/ZipCrc32Cryptograph.h + contrib/hbziparch/ZipCryptograph.cpp + contrib/hbziparch/ZipCryptograph.h + contrib/hbziparch/ZipException.cpp + contrib/hbziparch/ZipException.h + contrib/hbziparch/ZipExtraData.cpp + contrib/hbziparch/ZipExtraData.h + contrib/hbziparch/ZipExtraField.cpp + contrib/hbziparch/ZipExtraField.h + contrib/hbziparch/ZipFile.h + contrib/hbziparch/ZipFile_mfc.cpp + contrib/hbziparch/ZipFile_mfc.h + contrib/hbziparch/ZipFile_stl.cpp + contrib/hbziparch/ZipFile_stl.h + contrib/hbziparch/ZipFileHeader.cpp + contrib/hbziparch/ZipFileHeader.h + contrib/hbziparch/ZipFileMapping.h + contrib/hbziparch/ZipFileMapping_lnx.h + contrib/hbziparch/ZipFileMapping_win.h + contrib/hbziparch/ZipMemFile.cpp + contrib/hbziparch/ZipMemFile.h + contrib/hbziparch/ZipMutex.h + contrib/hbziparch/ZipMutex_lnx.h + contrib/hbziparch/ZipMutex_win.h + contrib/hbziparch/ZipPathComponent.h + contrib/hbziparch/ZipPlatform.h + contrib/hbziparch/ZipPlatformComm.cpp + contrib/hbziparch/ZipStorage.cpp + contrib/hbziparch/ZipStorage.h + contrib/hbziparch/ZipString.h + contrib/hbziparch/ZipString_mfc.h + contrib/hbziparch/ZipString_stl.h + contrib/hbziparch/ZipStringStoreSettings.h + ZipArchive lib update finished. ; Pass 2/2 ; Please test. 2008-06-24 00:33 UTC+0200 Viktor Szakats + contrib/hbziparch/readme.txt + contrib/hbziparch/zlib + contrib/hbziparch/zlib/deflate.h + contrib/hbziparch/zlib/zlib.h * contrib/hbziparch/common.mak * contrib/hbziparch/hbcomprs.c * contrib/hbziparch/hbziparc.c * contrib/hbziparch/hbzipcom.cpp * contrib/hbziparch/hbzipnew.cpp * contrib/hbziparch/License.txt * contrib/hbziparch/make_gcc.sh * contrib/hbziparch/make_vc.bat * contrib/hbziparch/Makefile * contrib/hbziparch/resource.h * contrib/hbziparch/stdafx.h * contrib/hbziparch/ZipExport.h * contrib/hbziparch/ZipPathComponent_lnx.cpp * contrib/hbziparch/ZipPathComponent_win.cpp * contrib/hbziparch/ZipPlatform_lnx.cpp * contrib/hbziparch/ZipPlatform_win.cpp * contrib/hbziparch/ZipString.cpp - contrib/hbziparch/stdafx.cpp - contrib/hbziparch/zipabstractfile.h - contrib/hbziparch/ziparchive.cpp - contrib/hbziparch/ziparchive.h - contrib/hbziparch/zipautobuffer.cpp - contrib/hbziparch/zipautobuffer.h - contrib/hbziparch/zipbaseexception.h - contrib/hbziparch/zipcentraldir.cpp - contrib/hbziparch/zipcentraldir.h - contrib/hbziparch/zipcollections.h - contrib/hbziparch/zipcompatibility.cpp - contrib/hbziparch/zipcompatibility.h - contrib/hbziparch/zipexception.cpp - contrib/hbziparch/zipexception.h - contrib/hbziparch/zipfile.cpp - contrib/hbziparch/zipfile.h - contrib/hbziparch/zipfileheader.cpp - contrib/hbziparch/zipfileheader.h - contrib/hbziparch/zipfilemapping.h - contrib/hbziparch/zipinternalinfo.h - contrib/hbziparch/zipmemfile.cpp - contrib/hbziparch/zipmemfile.h - contrib/hbziparch/zippathcomponent.h - contrib/hbziparch/zipplatform.h - contrib/hbziparch/zipplatformcomm.cpp - contrib/hbziparch/zipstorage.cpp - contrib/hbziparch/zipstorage.h - contrib/hbziparch/zipstring.h * ZipArchive 2.x -> ZipArchive 3.2.0 (latest) Only one minor modification (reported to author) Plus integrated ZLIB replaced with hbzlib. ; Pass 1 2008-06-24 00:21 UTC+0200 Viktor Szakats + contrib/hbziparch/tests + contrib/hbziparch/tests/bld_b32.bat + contrib/hbziparch/tests/bld_vc.bat + contrib/hbziparch/tests/zipa.prg + contrib/hbziparch/tests/unzipa.prg * contrib/hbziparch/hbziparc.c * contrib/hbziparch/hbzipcom.cpp * contrib/hbziparch/hbcomprs.c * contrib/hbziparch/hbzipnew.cpp * Further cleanup. ! Several potential buffer overruns fixed. (there are still quite some left) + Added simple tests. 2008-06-23 20:06 UTC+0200 Viktor Szakats * include/hbextern.ch * HB_GETREADVAR() added. 2008-06-23 19:40 UTC+0200 Viktor Szakats * source/rtl/getsys.prg * source/rtl/tgetlist.prg ! Fixed ReadModal() for C5.2 mode to not accept a (BTW unused) nPos parameter. This could cause an RTE in Harbour if ReadModal( <number> ) was used, with HB_COMPAT_C53 turned off. Default build was not affected. + Added hb_GetReadVar( <oGet> ) -> <cVariableName> to get the name of a GET variable in uppercase and including the subscripts. Same as existing HBGetList():GetReadVar() on the active GET object. 2008-06-23 15:57 UTC+0200 Viktor Szakats * contrib/hbziparch/common.mak - contrib/hbziparch/zip.h - contrib/hbziparch/unzip.h * contrib/hbziparch/hbziparc.c * contrib/hbziparch/hbziparc.h * contrib/hbziparch/hbzipcom.cpp * contrib/hbziparch/hbzipnew.cpp * Further cleanup. ; Now the Harbour part compiles cleanly, except the recently added HB_FUNC_EXIT( HBZIPCLEANUP ). ; I have a version ready using the unmodified sources of the latest ZipArchive version. Waiting for testers or test code. 2008-06-23 14:08 UTC+0200 Viktor Szakats - contrib/hbziparch/make_b32_dll.bat - contrib/hbziparch/make_b32_dll.mak - contrib/hbziparch/doc * contrib/hbziparch/Makefile * contrib/hbziparch/common.mak * contrib/hbziparch/hbziparc.c * contrib/hbziparch/hbziparc.h - contrib/hbziparch/zipcomp.cpp + contrib/hbziparch/hbzipcom.cpp - contrib/hbziparch/zipnew.cpp + contrib/hbziparch/hbzipnew.cpp - Docs integrated into source. - Removed .dll building batch files (highly redundant, non-maintained and probably non-working), so now the make system is fully standard. If .dll generation is that important, we will have to add it to the central contrib make files, so that we can use it for all contribs. * Renamed some files so separate ZipArch and Harbour parts. * Cleanups, renames (statics, globals), warning fixes, deleted unneeded stuff, some functions made static. ; This is still a mess. ; NOTE: Since there is no sample or test program, neither do I use this contrib, I couldn't test any of these changes. Please test. (if you have test code, upload it to hbziparch/tests) 2008-06-23 10:45 UTC+0200 Viktor Szakats * contrib/hbziparch/make_b32_dll.mak * contrib/hbziparch/make_b32.bat * contrib/hbziparch/make_vc.bat * contrib/hbziparch/Makefile * contrib/hbziparch/common.mak - contrib/hbziparch/lincompile.sh - contrib - contrib/hbziparch/include -> contrib/hbziparch - contrib/hbziparch/Linux + contrib/hbziparch/ZipFileMapping.h + contrib/hbziparch/ZipPathComponent_lnx.cpp + contrib/hbziparch/ZipPlatform_lnx.cpp - contrib/hbziparch/zippathcomponent.cpp + contrib/hbziparch/ZipPathComponent_win.cpp - contrib/hbziparch/zipplatform.cpp + contrib/hbziparch/ZipPlatform_win.cpp * Directory cleanup. ! Fixed #include. 2008-06-23 10:45 UTC+0200 Viktor Szakats * contrib/hbziparch/Makefile * contrib/hbziparch/common.mak - contrib/hbziparch/Linux + contrib/hbziparch/ZipFileMapping.h + contrib/hbziparch/ZipPathComponent_lnx.cpp + contrib/hbziparch/ZipPlatform_lnx.cpp - contrib/hbziparch/zippathcomponent.cpp + contrib/hbziparch/ZipPathComponent_win.cpp - contrib/hbziparch/zipplatform.cpp + contrib/hbziparch/ZipPlatform_win.cpp * Directory cleanup. 2008-06-23 10:37 UTC+0200 Viktor Szakats * make_vcce.mak * make_vc.mak * contrib/mtpl_vc.mak * KEEPSTATE -> HB_KEEPSTATE * contrib/hbziparch/Makefile * contrib/hbziparch/make_b32.bat * contrib/hbziparch/make_vc.bat * contrib/hbziparch/common.mak - contrib/hbziparch/zip.c + contrib/hbziparch/hbziparc.c - contrib/hbziparch/include/hbzip2.h + contrib/hbziparch/hbziparc.h - contrib/hbziparch/include/hbzip.h - contrib/hbziparch/include/hbz.h * contrib/hbziparch/zipcomp.cpp * contrib/hbziparch/zipnew.cpp - Removed unnecessary headers. * Renamed include/hbzip2.h to hbziparc.h * Renamed zip.c to hbziparc.c * Some cleanups to source. * BCC warnings suppressed. % Unecessary compilation flags removed. 2008-06-22 22:49 UTC+0200 Viktor Szakats * include/hbapierr.h * source/rtl/errorapi.c * source/rdd/hbsix/sxtable.c * contrib/hbct/charonly.c * contrib/hbct/charevod.c * contrib/hbct/charone.c * contrib/hbct/pos1.c * contrib/hbct/ascpos.c * contrib/hbct/token1.c * contrib/hbct/atnum.c * contrib/hbct/count.c * contrib/hbct/replace.c * contrib/hbct/ctpad.c * contrib/hbct/justify.c * contrib/hbct/remove.c * contrib/xhb/hbxml.c * contrib/hbmzip/hbmzip.c * contrib/hbtip/utils.c * Changed remaining &hb_errFuncName -> HB_ERR_FUNCNAME + Added compatibility comments. ! Fixed hb_errFuncName value (changed to 1 to be the same as HB_ERR_FUNCNAME). ; NOTE: 3rd party developers are encouraged to use HB_ERR_FUNCNAME instead of hb_errFuncName. There is no change in functionality. [TOMERGE 1.0.0RC1] 2008-06-22 22:28 UTC+0200 Viktor Szakats * contrib/xhb/hbcompat.ch + Added HB_SYMBOL_UNUSED() to xhb branch. [TOMERGE 1.0.0RC1] 2008-06-22 21:20 UTC+0200 Viktor Szakats * contrib/hbw32/w32_ole.c * contrib/hbole/ole2.c * contrib/gtwvg/gtwvg.h ! HB_ID_REF() declaration changed to compile with MSVS2008 in AMD64. Przemek please verify me. ; With this, all 64-bit contrib errors are fixed. [TOMERGE 1.0.0RC1] 2008-06-22 21:03 UTC+0200 Viktor Szakats * include/hbsetup.h + Added HB_OS_WIN_64 macro to replace _WIN64. [TOMERGE 1.0.0RC1] * contrib/hbwhat32/_winsys.c * contrib/hbwhat32/_winsock.c * contrib/hbwhat32/_wincall.c * contrib/gtwvg/wvtutils.c ! Fixed WIN64 compile errors. [TOMERGE 1.0.0RC1] * contrib/hbw32/dllcall.c * contrib/hbw32/w32_ole.c * _WIN64 -> HB_OS_WIN_64 [TOMERGE 1.0.0RC1] 2008-06-22 13:19 UTC+0200 Viktor Szakats * contrib/hbcurl/hbcurl.c + Code cleanup for 64-bit. Only calls to Harbour APIs are generating warnings now. (hb_xgrab, hb_xrealloc, hb_fsWriteLarge, hb_fsReadLarge, hb_retclen, hb_storclen) [TOMERGE 1.0.0RC1] 2008-06-22 12:24 UTC+0200 Viktor Szakats * contrib/hbw32ddr/w32_ddrw.cpp * contrib/hbodbc/odbc.c ! Fixed to compile with MSVS2008 in AMD64 mode. [1.0.0RC1] 2008-06-22 10:58 UTC+0200 Viktor Szakats * contrib/mtpl_b32.mak * contrib/mtpl_gcc.mak * contrib/mtpl_vc.mak + Added HB envvar harbour.exe override. This is currently useful in VC only to create cross-platform builds. [1.0.0RC1] 2008-06-22 10:24 UTC+0200 Viktor Szakats * ChangeLog + Marked changes merged with 1.0.0RC1. * make_vc.mak * make_vcce.mak * Syncing between these two. ! Fixed minor typo in CE comment. ! Fixed one rule where HB var was not respected in CE DLL generation. Marek please check me. 2008-06-22 01:42 UTC+0200 Viktor Szakats * contrib/hbwhat32/Makefile ! Fixed to compile using GNU make system. This contrib needs xhb header in order to compile. (solved with an ugly hack) [1.0.0RC1] 2008-06-22 00:36 UTC+0200 Viktor Szakats * contrib/hbmysql/mysql.c ! Fixed GCC warning. 2008-06-21 23:27 UTC+0200 Viktor Szakats * source/rtl/gtwvt/gtwvt.c - Removed HB_NOSTARTUPWINDOW link time GTWVT window hiding option. ; For the same effect, but with the advantage that the screen output won't slow the application at all, and that behaviour is controllable from the command line and/or at link time, please use gtgui.lib. With GTGUI the application window is neither created nor updated, while GTWVT will create the window, update the window, but it will be fully invisible with no way to unhide. Clipboard and sound generation works in both cases. For 100% similar end-user experience as the old hack: - link gtgui.lib - replace ANNOUNCE HB_NOSTARTUPWINDOW with ANNOUNCE HB_GT_GUI_DEFAULT - add REQUEST HB_GT_GUI to your application. * contrib/hbwhat32/whatutil.prg * contrib/hbwhat32/wincomm.prg * contrib/hbwhat32/wincore.prg * contrib/hbwhat32/windebug.prg * contrib/hbwhat32/winerror.prg * contrib/hbwhat32/winini.prg * contrib/hbwhat32/winrbar.prg * contrib/hbwhat32/wintabs.prg * contrib/hbwhat32/wintbar.prg * Some .prg level code cleanup. (= operators, if(), <> -> !=). No actual problem found. 2008-06-21 22:50 UTC+0200 Viktor Szakats * contrib/hbfimage/Makefile ! Fixed to compile with MinGW. [1.0.0RC1] 2008-06-21 22:24 UTC+0200 Viktor Szakats * source/rtl/gtalleg/gtalleg.c * source/rtl/gtgui/gtgui.c * source/rtl/gtwin/gtwin.c * source/rtl/gtwvt/gtwvt.c * source/rtl/gtxwc/gtxwc.c * Changed some GT names to more descriptive, uniform ones and leaving "win32" (it can be win64 too): "Win32 buffered console -> "Windows native console" "Win32 buffered WVT" -> "Windows GUI console (WVT)" "Strep GT driver for W32 GUI programs" -> "Windows dummy console for GUI programs" "XWindow Console XWC" -> "XWindow GUI console (XWC)" "Multiplatform Allegro graphics console" -> "Portable Allegro GUI console" 2008-06-21 21:22 UTC+0200 Viktor Szakats * doc/whatsnew.txt + Some updates. [1.0.0RC1] * contrib/Makefile ! Fix to prev. 2008-06-21 10:42 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbwhat32/commctrl.ch * contrib/hbwhat32/commdlg.ch * contrib/hbwhat32/wingdi.ch * contrib/hbwhat32/wininet.ch ! Pulled from MinGW distribution. ; TODO: Refinement for UNICODE version which I realized a little later. [1.0.0RC1] 2008-06-21 19:17 UTC+0200 Viktor Szakats * source/pp/hbpp.c ! Fixed to escape strings in generated hbverbld.h. [1.0.0RC1] 2008-06-21 18:25 UTC+0200 Viktor Szakats * contrib/hbwhat32/_winsock.c * contrib/hbwhat32/_winmous.c ! Silenced GCC 4.30 warnings. NOTE: These warnings are pointing to important potential bugs (GPFs) in these functions. It would be better to fix them properly. 2008-06-21 18:06 UTC+0200 Viktor Szakats * contrib/hbole/Makefile + Marked as w32 only. + contrib/hbgf/hbgfw32/Makefile * contrib/hbgf/hbgfos2/Makefile * contrib/hbgf/hbgfgtk/Makefile + Added w32 GNU make file. + Added platforms guards. 2008-06-21 18:03 UTC+0200 Viktor Szakats - contrib/hbgf/hbgfw32/win32.ch + contrib/hbgf/hbgfw32/hbgfw32.ch * contrib/hbgf/hbgfw32/common.mak * contrib/hbgf/hbgfw32/button.prg * contrib/hbgf/hbgfw32/form.prg * contrib/hbgf/hbgfw32/edit.prg ! Made the .ch name less generic. 2008-06-21 17:58 UTC+0200 Viktor Szakats * contrib/Makefile - contrib/hbgf/gtk - contrib/hbgf/os2pm - contrib/hbgf/win32 + contrib/hbgf/hbgfw32 + contrib/hbgf/hbgfos2 + contrib/hbgf/hbgfgtk + contrib/hbgf/Makefile * contrib/hbgf/hbgfos2/Makefile + Decentralized GNU make for these contribs. * Renamed according to stds. ! Fix to be built under Linux/Win32. (if they don't work they should be fixed/disabled locally) * contrib/Makefile * contrib/hbodbc/Makefile * contrib/hbw32/Makefile * contrib/rddado/Makefile * Further decentralization of contrib building decisions. + Added all existing contribs to the list. Separated into two sections: standalone contribs, and ones with external dependencies. ; TODO: Refine this by some clever commenting. This is a multiplatform issue, so we need to work together. * contrib/examples/Makefile ! Fixed to include newly added examples. * contrib/hbapollo/make_b32.bat * contrib/hbapollo/make_vc.bat * contrib/hbcurl/make_b32.bat * contrib/hbcurl/make_vc.bat * contrib/hbfbird/make_b32.bat * contrib/hbfbird/make_vc.bat * contrib/hbfimage/make_b32.bat * contrib/hbfimage/make_vc.bat * contrib/hbgd/make_b32.bat * contrib/hbgd/make_vc.bat * contrib/hbhpdf/make_b32.bat * contrib/hbhpdf/make_vc.bat * contrib/hbmysql/make_b32.bat * contrib/hbmysql/make_vc.bat * contrib/hbpgsql/make_b32.bat * contrib/hbpgsql/make_vc.bat * contrib/rddads/make_b32.bat * contrib/rddads/make_vc.bat + Some steps made to make it possible to disable any messings with .dlls. This is not yet complete, and the goal is to be able to use HB_INC_* to specify include dirs for external packages on all make systems (GNU, non-GNU .bat, non-GNU .sh) 2008-06-21 17:33 UTC+0200 Viktor Szakats - contrib/hbgf/gtk - contrib/hbgf/os2pm - contrib/hbgf/win32 + contrib/hbgf/hbgfw32 + contrib/hbgf/hbgfos2 + contrib/hbgf/hbgfgtk + contrib/hbgf/Makefile * contrib/hbgf/hbgfos2/Makefile + Decentralized GNU make for these contribs. * Renamed according to stds. ! Fix to be built under Linux/Win32. (if they don't work they should be fixed/disabled locally) 2008-06-21 17:23 UTC+0200 Viktor Szakats * contrib/hbw32ddr/Makefile ! Fixed to compile with GNU make. ! Found a way to compile with MingW. [1.0.0RC1] * contrib/hbtpathy/Makefile ! Fixed to work at all. [1.0.0RC1] * contrib/Makefile * contrib/gtwvg/Makefile * contrib/hbbmcdx/Makefile * contrib/hbodbc/Makefile * contrib/hbtip/Makefile * contrib/hbw32/Makefile * contrib/hbw32ddr/Makefile * contrib/hbwhat32/Makefile * contrib/rddads/Makefile + Platform/compiler checks moved to the contrib level Makefiles instead of being in /contrib/Makefile. This way it's modular, anyone can easily find out any platform/compiler dependencies and the central Makefile is easier to manage since it's global for all platforms/compilers. As a side effect HB_WITHOUT_ODBC, HB_WITHOUT_ADS now behaves similarly on all platforms. ; Work in progress. The goal is to be safe to include all contribs in /contrib/Makefile. - contrib/hbw32ddr/w32_ddrw.h * contrib/hbw32ddr/w32_ddrw.cpp * Cleanups, removing unneeded fluffs. [1.0.0RC1] * contrib/hbziparch/make_b32_dll.mak - Removed many unneeded command line switches. ; This make file should better be standardized. * contrib/hbziparch/Makefile - Removed many unneeded command line switches. 2008-06-21 16:22 UTC+0200 Viktor Szakats * contrib/hbfbird/firebird.c ! Fixed two bugs signaled by GCC 4.30. * contrib/hbziparch/hbcomprs.c * contrib/hbziparch/zip.c * contrib/hbziparch/ziparchive.cpp * contrib/hbziparch/include/zip.h * contrib/hbziparch/include/ziparchive.h * contrib/hbziparch/include/unzip.h * contrib/hbziparch/include/zipinternalinfo.h - contrib/hbziparch/include/hbcomprs.h - contrib/hbziparch/include/zutil.h - contrib/hbziparch/include/zconf.h ! Stripped an old version (1.1.4) of ZLIB embedded in this contrib. Some warnings and even more security problems fixed this way. Users of this lib should link hbzlib.lib from now on. ! Fixed some warnings after recent update. NOTE: One is still there (unused ..HBZIPCLEANUP function). ; NOTE: The quality of this code is not up to Harbour standard. It compiles with a large amount of warnings on all (BCC, MSVC, GCC) compilers. Also the included ziparch source is dated. Anybody volunteering to clear these up? ; NOTE: Please test these changes, I'm not a user of this contrib. [1.0.0RC1] 2008-06-21 12:00 UTC+0200 Viktor Szakats * ChangeLog + Marked changes merged with 1.0.0RC1. * RC1 markings renamed to 1.0.0RC1. 2008-06-21 11:44 UTC+0200 Viktor Szakats * harbour-ce-spec * harbour-w32-spec * doc/whatsnew.txt ! Fixed version to be 1.0.0 RC1 [1.0.0RC1] * ChangeLog ! Marked a few changes for merge with 1.0.0RC1. 2008-06-20 16:25 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbwhat32/winuser.ch ! Pulled from MinGW distribution. ; HbWhat32 compiles fine but I have seen a lot of contradictions in the header. Anybody using hbwhat32 needs to test it properly. May be in normal usage this is OK. [1.0.0RC1] 2008-06-20 13:25 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbwhat32/winuser.ch ! Clean to confirm to .CH specifications. Formatting. ; Let me know if this cleanup fixes the Copyright issue. If it is alright then I will cleanup all other .CHs. 2008-06-20 21:16 UTC+0200 Viktor Szakats * source/rtl/gtwvt/gtwvt.c + Refreshing whole screen after palette change. This replaces the previous method which had some side effects. * source/vm/fm.c * source/vm/extrap.c * Changed "Harbour" to "Application" in user visible screen/log messages. * contrib/hbwhat32/_winfont.c ! Fixed typo in previous commit. 2008-06-20 17:56 UTC+0200 Viktor Szakats * contrib/hbtpathy/telepath.prg ! Fixed embedded comments. [1.0.0RC1] 2008-06-20 16:23 UTC+0100 Miguel Angel Marchuet Frutos <miguelangel@marchuet.net> * contrib/hbziparch/zip.c * contrib/hbziparch/zipfile.cpp * contrib/hbziparch/zipnew.cpp * contrib/hbziparch/zipplatform.cpp * contrib/hbziparch/zipstorage.cpp * Synced with xharbour. Added relative paths capability, removed memory leaks and minor refinements. ( code aported by Juan Galvez ) [1.0.0RC1] 2008-06-20 15:07 UTC+0200 Viktor Szakats * source/rtl/gtwvt/gtwvt.c ! Removed PutChar override. This was added along the palette support, but I'm afraid we'll need to find an alternative solution, as this change caused a huge amount of flickering on every screen update, essentially nilling all screen change buffering efforts. ; FIXME: Solve realtime palette change in an alternative way. 2008-06-20 14:49 UTC+0200 Viktor Szakats * ChangeLog + Marked changes merged with 1.0.0RC1. * include/hbgtinfo.ch ! Comment typo. [1.0.0RC1] * contrib/hbtpathy/tplinux.c * contrib/hbtpathy/telepath.prg ! Moved some commented "inline" stuff to C level. [1.0.0RC1] 2008-06-20 09:59 UTC+0200 Viktor Szakats * contrib/hbmisc/spd.c ! Fix for OS/2 warning. * contrib/examples/pe/editorhi.prg * contrib/examples/hscript/hscript.prg * Cleanups. * contrib/examples/hscript/bld_b32.bat ! Fixed to have hbzlib.lib [1.0.0RC1] 2008-06-19 18:26 UTC+0200 Viktor Szakats * contrib/examples/guestbk/guestbk.prg * contrib/examples/guestbk/inifiles.prg * contrib/examples/guestbk/testcgi.prg * contrib/examples/hscript/hscript.prg * contrib/examples/pe/editorhi.prg * contrib/gtwvg/tests/demowvg.prg * contrib/hbbtree/tests/test.prg * contrib/hbbtree/tests/ttest.prg * contrib/hbclipsm/tests/testgaug.prg * contrib/hbct/getinfo.prg * contrib/hbct/getinput.prg * contrib/hbct/getsecrt.prg * contrib/hbct/keytime.prg * contrib/hbct/numconv.prg * contrib/hbfbird/tfirebird.prg * contrib/hbgd/gd.prg * contrib/hbgd/gdbar.prg * contrib/hbgd/gdbarcod.prg * contrib/hbgd/gdimage.prg * contrib/hbgd/tests/animgif.prg * contrib/hbgd/tests/gdtest.prg * contrib/hbgd/tests/test_out.prg * contrib/hbgf/gtk/button.prg * contrib/hbgf/gtk/form.prg * contrib/hbgf/gtk/menuitem.prg * contrib/hbgf/gtk/winctrl.prg * contrib/hbgf/os2pm/button.prg * contrib/hbgf/os2pm/edit.prg * contrib/hbgf/os2pm/tform.prg * contrib/hbgf/os2pm/tmenu.prg * contrib/hbgf/os2pm/tmenuitm.prg * contrib/hbgf/tests/formtext.prg * contrib/hbgf/tests/testctrl.prg * contrib/hbgf/tests/testform.prg * contrib/hbgf/win32/button.prg * contrib/hbgf/win32/edit.prg * contrib/hbgf/win32/form.prg * contrib/hbgf/win32/menu.prg * contrib/hbgf/win32/menuitem.prg * contrib/hbhpdf/tests/harupdf.prg * contrib/hbmsql/tests/dbf2msql.prg * contrib/hbmsql/tmsql.prg * contrib/hbmysql/dbf2mysql.prg * contrib/hbmysql/tmysql.prg * contrib/hbmysql/tsqlbrw.prg * contrib/hbmzip/tests/myzip.prg * contrib/hbnf/aredit.prg * contrib/hbnf/calendar.prg * contrib/hbnf/clrsel.prg * contrib/hbnf/pending.prg * contrib/hbnf/sqzn.prg * contrib/hbnf/tbwhile.prg * contrib/hbnf/tests/test.prg * contrib/hbodbc/todbc.prg * contrib/hbpgsql/tests/dbf2pg.prg * contrib/hbpgsql/tpostgre.prg * contrib/hbsqlit2/tests/hbsqlite.prg * contrib/hbsqlit3/tests/sqlite3_test.prg * contrib/hbtpathy/telepath.prg * contrib/hbvpdf/hbvpdf.prg * contrib/hbvpdf/hbvpdft.prg * contrib/hbvpdf/tests/pdf_demo.prg * contrib/hbvpdf/tests/tstpdf.prg * contrib/hbw32/w32_tole.prg * contrib/hbw32/w32_tprn.prg * contrib/hbw32ddr/tests/testdx.prg * contrib/rddado/adordd.prg * contrib/rddado/tests/access2.prg * source/debug/debugger.prg * source/rdd/hbsix/sxini.prg * utils/hbdot/hbdot.prg * utils/hbextern/hbextern.prg * Cleanup. <> -> != or !( == ) for strings if() -> iif() (for inline, where noticed) ' = ' -> := or == for comparisons, or left as '=' in the few rare cases where this was (probably) intended (sxini.prg). Excluded: most tests, hbnf, util/hbdoc, util/hbmake, hbwhat32, gtwvg, hbvpdf has some difficult to judge '=' operators, so I left them. ! Fixed some _SET_EXACT dependencies in a few places. ; TODO: If possible, add a compile switch to catch these, as it's not very easy using 'grep'. 2008-06-19 11:23 UTC+0200 Viktor Szakats * source/rtl/gtwvt/gtwvt.c ! Avoid using the "Windows" word in public message. 2008-06-19 11:08 UTC+0200 Viktor Szakats * contrib/hbtip/cgi.prg * contrib/hbtip/encoder.prg * contrib/hbtip/ftpcln.prg * contrib/hbtip/httpcln.prg * contrib/hbtip/mail.prg * contrib/hbtip/popcln.prg * contrib/hbtip/sendmail.prg * contrib/hbtip/sessid.prg * contrib/hbtip/smtpcln.prg * contrib/hbtip/thtml.prg * contrib/hbtip/url.prg * Some formatting, cleanups, <> -> != * contrib/hbtip/sendmail.prg + hb_SendMail(): Added <cReplyTo> parameter. * contrib/hbtip/thtml.prg ! Removed five remaining _SET_EXACT dependent string comparisons. Exact comparisons were used for all these cases, with a NOTE added. 2008-06-19 02:25 UTC+0200 Viktor Szakats * contrib/hbtip/common.mak ! Added missing sendmail.prg [1.0.0RC1] * contrib/hbtip/sendmail.prg * Formatting. 2008-06-19 01:53 UTC+0200 Viktor Szakats * contrib/hbw32/tests/testdll.prg * source/rtl/colorind.c * contrib/hbodbc/odbc.c * Minor cleanups. * contrib/hbtip/tests/base64.prg * contrib/hbtip/tests/dbtohtml.prg * contrib/hbtip/tests/httpadv.prg * contrib/hbtip/tests/tipmail.prg * contrib/hbtip/tests/tipmmail.prg * contrib/hbtip/tests/tiptest.prg ! All tip tests fixed and tested to compile/link with Harbour. * Changed to not require hbw32.lib. [1.0.0RC1] + contrib/hbtip/tests/test.dbf + Added for tests. [1.0.0RC1] 2008-06-18 11:39 UTC+0200 Viktor Szakats * source/rtl/gtclip.c ! hb_gt_w32_setClipboard() fix to CF_UNICODETEXT EOS char setting. [1.0.0RC1] * source/rtl/gtwvt/gtwvt.c + Internal error string cleanup. 2008-06-18 10:06 UTC+0200 Viktor Szakats * source/rtl/gtwvt/gtwvt.c + Now showing the application's executable name in the window title on startup, instead of "Harbour WVT". * Window class name handling and control flow cleaned. [1.0.0RC1] 2008-06-17 23:33 UTC+0200 Viktor Szakats * source/rtl/tget.prg % Minor opt. * contrib/hbwhat32/_winkbrd.c * contrib/hbwhat32/_wintext.c * contrib/hbwhat32/_windc.c * contrib/hbwhat32/_winsys.c * contrib/hbwhat32/_windir.c * contrib/hbwhat32/_winmsg.c * contrib/hbwhat32/_winmisc.c * contrib/hbwhat32/_winfont.c * contrib/hbwhat32/_winreg.c ! Potential warning fixes. 2008-06-17 23:00 UTC+0200 Viktor Szakats * tests/rto_get.prg * source/rtl/tget.prg ! Fixed TGet():assign() to pad character values to the original length with the original content. This also clears some existing differences in rto_get.prg. + Added regression test specifically for this. [1.0.0RC1] 2008-06-17 21:45 UTC+0200 Viktor Szakats * source/rtl/gtclip.c ! Added three LPWSTR casts to pacify warnings. [1.0.0RC1] 2008-06-17 18:49 UTC+0200 Viktor Szakats * source/rtl/gtclip.c ! Fixed get/set clipboard when UNICODE is #defined. (WinCE mostly). ! Fixed get/set clipboard when format is CF_UNICODETEXT. (untested, please someone review me) ! Fixed get clipboard when CF_TEXT/CF_OEMTEXT format is used, so that an additional zero byte won't be appended anymore to the returned string. [1.0.0RC1] (someone pls verify this) * source/rtl/gtwvt/gtwvt.c * "HARBOUR_WVT" -> "Harbour WVT". This text is visible, so it's better to make it "desktop friendlier"". [1.0.0RC1] 2008-06-17 13:28 UTC+0200 Viktor Szakats * contrib/hbmzip/hbmzip.ch * contrib/hbmzip/hbmzip.c + Added error codes to hbmzip.ch + Interface code changed to use manifest constants instead of literals in a few places. [1.0.0RC1] 2008-06-17 09:43 UTC+0200 Viktor Szakats * contrib/hbmisc/spd.c + SQL_SPRINTF() enhancements from Javier. (internal modifiers for date and numeric types are now accepted). * contrib/hbw32/w32_ole.c * contrib/hbole/ole2.c * Formatting. 2008-06-16 18:17 UTC+0200 Viktor Szakats * contrib/hbole/ole2.c * More cleanups. * contrib/rddads/doc/en/adsfuncs.txt * contrib/rddads/doc/en/readme.txt + Updated. [1.0.0RC1] 2008-06-16 14:11 UTC+0200 Viktor Szakats * contrib/hbole/ole2.c * And some more. 2008-06-16 13:56 UTC+0200 Viktor Szakats * contrib/hbole/ole2.c * Further cleanup. 2008-06-16 11:04 UTC+0200 Viktor Szakats * include/set.ch ! Fix to previous commit. 2008-06-16 10:15 UTC+0200 Viktor Szakats * source/rtl/set.c ! Fix to previous commit. * contrib/hbole/oleauto.prg * contrib/hbole/ole2.c * Some cleanups. 2008-06-16 01:47 UTC+0200 Viktor Szakats * include/set.ch * include/hbset.h * source/rtl/set.c * source/vm/fm.c * source/vm/extrap.c + Added: Set( _SET_HBOUTLOG[, <cFileName>] ) -> <cOldFileName> Default value: "hb_out.log" This replaces hb_fm.log and hb_ex.log, and makes it possible for the applications to control the filename where these internal Harbour outputs are written to. * source/rtl/gtwvt/gtwvt.c % Minor redundancy removed. 2008-06-15 15:16 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/gtwvg/gtwvg.c * contrib/gtwvg/wvtutils.c * contrib/gtwvg/wvtcore.c * contrib/gtwvg/wvtpaint.prg * contrib/gtwvg/gtwvg.h + contrib/gtwvg/hbgtwvg.ch ! Syntactically and parameters wise GTWVG matches GTWVT. ! More functions ported to Hb_GtInfo(). ! wvtcore.c and wvtutils.c are now based on function call instead of static variables. + Separate hbgtwvg.ch included containg GTI_ constants proprietory to GTWVG only. ! Organizing, formatting and code clean ups. ; TODO: Separate HB_GTWVT structure in 3 units 1) Core GT member. 2) WVG specif member - per GT. 3) GDI members Work-in-progress. Please deffer updates in GTWVG. 2008-06-15 23:10 UTC+0200 Viktor Szakats * source/vm/memvars.c * Minor format. * contrib/hbmzip/hbmzip.c * Minor cleanups. * contrib/hbtip/tests/httpadv.prg * contrib/hbtip/tests/dnldftp.prg * contrib/hbtip/tests/upld_ftp.prg * contrib/hbtip/tests/tipmail.prg * contrib/hbtip/tests/loadhtml.prg * contrib/hbtip/tests/ftpadv.prg * Changed to compile in Harbour. [1.0.0RC1] 2008-06-14 11:34 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/gtwvg/gtwvg.c * contrib/gtwvg/gtwvg.h * contrib/gtwvg/wvtutils.c * contrib/gtwvg/wvtcore.c * contrib/gtwvg/wvtpaint.prg * contrib/gtwvg/wvtclass.prg + Implemented all features recently added in gtwvt. * contrib/gtwvg/tests/demowvg.prg * Just refreshed to match the date/time stamps with gtwvg.lib ; This is first attempt in this series of optimizations in gtwvg to synchronize it with gtwvt builing a basis for inheretance from gtwvt. Now all EXPORTed funtions in gtwvg.c are stripped and isolated in wvtpaint.prg as prg code taking use of Hb_GtInfo() architecture. gtwvg.c contains only static functions and as such GT layer is made self contained. For this to happen I had to define few more GTI_* constants which goes in gtwvg.h and local to wvtpaint.prg. One or two of them validly become candidate fot gtwvt/hbgtinfo.ch also. TODO: To clean wvtutils.c by plugging the functionality in HB_GTINFO structure. Please do not update any of these files. 2008-06-14 12:03 UTC+0200 Viktor Szakats + contrib/hbtip/tests + contrib/hbtip/tests/bld_b32.bat + contrib/hbtip/tests/bld_vc.bat + contrib/hbtip/tests/base64.prg + contrib/hbtip/tests/dbToHtml.prg + contrib/hbtip/tests/dnldftp.prg + contrib/hbtip/tests/ftpadv.prg + contrib/hbtip/tests/httpadv.prg + contrib/hbtip/tests/loadhtml.prg + contrib/hbtip/tests/tipmail.prg + contrib/hbtip/tests/tipmime.prg + contrib/hbtip/tests/tipmmail.prg + contrib/hbtip/tests/tiptest.prg + contrib/hbtip/tests/tiptime.prg + contrib/hbtip/tests/uploadftp.prg + Added TIP library tests from xhb repository. [1.0.0RC1] 2008-06-14 09:35 UTC+0200 Viktor Szakats * contrib/hbw32/w32_ole.c * Fix to previous commit. 2008-06-14 09:13 UTC+0200 Viktor Szakats * contrib/hbbmcdx/bmdbfcdx1.c * contrib/hbct/ctnet.c * contrib/hbct/pos2.c * contrib/hbgf/gtk/creabutt.c * contrib/hbgf/gtk/creawin.c * contrib/hbgt/bitflags.c * contrib/hbmisc/stringsx.c * contrib/hbtip/encmthd.c * contrib/hbtip/utils.c * contrib/hbw32/w32_ole.c * contrib/hbwhat32/_wincdlg.c * contrib/hbwhat32/_winclpb.c * contrib/hbwhat32/_wintree.c * contrib/rddads/ads1.c * contrib/xhb/xstrdel.c * source/rdd/dbcmd.c * source/rdd/dbf1.c * source/rdd/dbfcdx/dbfcdx1.c * source/rdd/dbffpt/dbffpt1.c * source/rdd/dbfntx/dbfntx1.c * source/rdd/delim1.c * source/rdd/hbsix/sxsem.c * source/rdd/sdf1.c * source/rdd/workarea.c * source/rtl/alert.prg * source/rtl/errorsys.prg * source/rtl/gtcrs/gtcrs.c * source/rtl/gtgui/gtgui.c * source/rtl/gtsln/gtsln.c * source/rtl/gtwin/gtwin.c * source/rtl/gtxwc/gtxwc.c * source/rtl/hbgtcore.c * source/rtl/hbregex.c * source/vm/cmdarg.c * source/vm/dynsym.c ! LUPDATE() buffer overread fixed. (hb_retds("")) [1.0.0RC1] % hb_itemPutC*()/hb_retc*()/hb_errInternal() "" parameter -> NULL NOTE: gtwvg not changed. * Few minor cleanups. * Some formatting in ads1.c. (verified to result in no actual codeflow change) ; TODO: hb_retc( NULL ) -> hb_retc_null() 2008-06-13 20:00 UTC+0200 Viktor Szakats * source/rtl/gtwvt/gtwvt.h * source/rtl/gtwvt/gtwvt.c ! Sorted out SELECTCOPY menu text and Unicode. 2008-06-13 19:19 UTC+0200 Viktor Szakats * source/rtl/gtwvt/gtwvt.h * source/rtl/gtwvt/gtwvt.c * tests/wvtext.prg + Added hb_gtInfo( HB_GTI_SELECTCOPY, <cMenuText> ) to set the menu text ("Mark and Copy" on startup). cMenuText mustn't be zero length. Setting the menu text also enables select© automatically. The call will return the previously set menu text. To get the menu text without setting a new one, use: hb_gtInfo( HB_GTI_SELECTCOPY, "" ) This is good if someone wants to adapt the menu text to the OS's or app's language. * doc/en/hb_apiit.txt * include/hbapi.h * include/hbapiitm.h * source/rtl/gtwin/gtwin.c * source/rtl/hbgtcore.c * source/rtl/gtgui/gtgui.c * source/rtl/gtwvt/gtwvt.c * source/vm/macro.c * source/vm/debug.c * source/vm/itemapi.c * source/vm/hvm.c * source/vm/arrays.c * source/vm/extend.c * source/rdd/dbfntx/dbfntx1.c * source/rdd/sdf1.c * source/rdd/dbfcdx/dbfcdx1.c * source/rdd/delim1.c * source/rdd/dbf1.c * source/rdd/dbffpt/dbffpt1.c * contrib/hbw32/w32_ole.c * contrib/gtwvg/gtwvg.c * contrib/rddads/ads1.c * contrib/hbmisc/spd.c * contrib/hbbmcdx/bmdbfcdx1.c * contrib/examples/rdddbt/dbfdbt1.c * I did a mistake in 1999 by giving the name hb_itemPutCPtr() to the function which would have to be correctly named hb_itemPutCLPtr() (notice the 'L' for 'length'). So, now this was renamed to hb_itemPutCLPtr(), stub was added with the old name, and Harbour code was changed to use the new one. I've also added hb_itemPutCPtr2() as a version not requiring len parameter, the proper name would be hb_itemPutCPtr() for this, but we cannot use it without breaking compatibility. IMPORTANT: I'd strongly suggest all 3rd parties to update their code to use the call hb_itemPutCLPtr() instead of hb_itemPutCPtr(). The final goal would be to have hb_itemPutCPtr() with two parameters instead of the hakish looking hb_itemPutCPtr2(). I'd welcome any opinions how to reach this goal. I didn't want to break compatiblity with 3rd parties this time, but IMO we may do it in 1.1, or even before 1.0. ! The above also fixes the (potential) problem when hb_retc_buffer()'s szText parameter was evaluated twice if HB_API_MACROS was #defined. 2008-06-14 06:18 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/source/rtl/gtwvt/gtwvt.c ! Replaced min()/max() functions with HB_MIN()/HB_MAX() macro. 2008-06-13 13:56 UTC+0200 Viktor Szakats * source/rtl/gtwvt/gtwvt.c ! Fixed window trashing for tall/wide windows where the content cannot fill the entire window client area. ; There is still a great amount of flickering, while doing the resize. I wonder if there is any solution for this besides turning off full-content drag/resize. Anyways it's only really bad when trying insane sizes, so it's not a big problem for normal usage. 2008-06-13 22:24 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/source/rtl/gtwvt/gtwvt.c * harbour/source/rtl/gtwvt/gtwvt.h * Minor cleanups. 2008-06-13 21:56 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/source/rtl/gtwvt/gtwvt.c ! Fixed selection of left most column and top row. Thanks to Andy Wos for help. 2008-06-13 10:56 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/source/rtl/gtwvt/gtwvt.c * harbour/source/rtl/gtfunc.c * harbour/include/hbapigt.h + Added Palette implementation by color index. Hb_GtInfo( HB_GTI_PALETTE, nIndex[, nNewRGB ] ) -> nOldRGB * harbour/tests/wvtext.prg * Updated to demonstrate above functionality. 2008-06-13 09:12 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com * harbour/source/rtl/gtwvt/gtwvt.c * harbour/include/hbgtinfo.ch + Added functionality to change Palette. Hb_GtInfo( HB_GTI_PALETTE, aNewPalette ) -> aOldPalette <aNewPalette> must be of 16 elements containg RGB colors. * harbour/tests/wvtext.prg * Updated to demonstrate palette info. ; TODO : Hb_GtInfo( HB_GTI_PALETTEBYINDEX, nIndex[, nNewRGB ] ) -> nOldRGB Needs deeper modifications in GT core. Needs additional parameter in core setup. Will commit today. 2008-06-12 17:57 UTC+0200 Viktor Szakats * contrib/hbmisc/strfmt.c + contrib/hbmisc/tests/tsstrfmt.prg + StrFormat() extended to automatically convert parameters to strings, above that the result will AllTrim()-med too before being inserted into the mask string: StrFormat( "%2 %1 born on %3", "Smith", "Mr.", Date() ) -> "Mr. Smith born on 06/12/08" 2008-06-12 11:02 UTC+0200 Viktor Szakats * source/rtl/gtwvt/gtwvt.c % Minor optimization in new screen marking code. * contrib/hbmisc/strfmt.c * Cleanup, optimization, some internal limits removed. * contrib/hbmisc/spd.c * Former _SPD() function renamed to SQL_SPRINTF() 2008-06-12 00:40 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com * harbour/source/rtl/gtwvt/gtwvt.c ! Completely removed flickering under Mark and Copy operation without lengthy calculations. Forwarded by Andy Wos - thanks. ; Viktor, now first row and column are being selected. When right < left only then first column is not accessible but it is very rare in practical application. 2008-06-12 08:55 UTC+0200 Viktor Szakats * contrib/hbct/fcopy.prg ! Fixed crash in FILECOPY() (reported by Mario H. Sabado) [1.0.0RC1] * contrib/hbodbc/odbc.c * Using sizeof() wherever possible. ! SQLGETDATA(): One strcpy() converted to hb_strncpy() + SQLGETDATA(): One FIXME added for strcat() usage and possible buffer overrun. Also, it looks to me that both of the above would better be replaced by memcpy() calls otherwise it cannot support embedded '\0's. Anyone? 2008-06-12 01:47 UTC+0200 Viktor Szakats * source/rtl/gtwvt/gtwvt.h * source/rtl/gtwvt/gtwvt.c ! Fixed remaining Mark&Copy trashing while doing the selection. * I've undone fix (2008-06-09 14:48 UTC+0800) for non-selectable maxrow/maxcol, since after the fix the _first_ row/col couldn't be selected. FIXME: Reopened. 2008-06-12 01:40 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbw32/dllcall.c ! fixed typo in previous modification. It should be HB_PTRDIFF instead of HB_PTR_DIFF 2008-06-11 23:59 UTC+0200 Viktor Szakats * contrib/hbmisc/spd.c + Added support for index & indirect arguments ANSI C99. ; Update contributed by original author: Xavi <jarabal@gmail.com>. Thanks! * Function renamed from _SPD() to C_SPRINTF(). Name tentative. * source/rtl/filesys.c ! hb_fsIsDrv() restored to generic version fo WinCE, because its API doesn't have GetDriveTypeA(). 2008-06-11 13:30 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com * harbour/tests/wvtext.prg + Added Massimo's contribution. 2008-06-11 12:30 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com * harbour/source/rtl/gtwvt/gtwvt.c * harbour/source/rtl/gtwvt/gtwvt.h * harbour/include/hbgtinfo.ch + Added HB_GTI_CLOSABLE Hb_GtInfo( HB_GTI_CLOSABLE, TRUE|FALSE ) -> lPrevState TRUE enables the "X" button, FALSE disbles it. + Added functionality to respond to WM_CLOSE message. If application returns 1 then application is exited. * harbour/tests/wvtext.prg + Added functionality to demonstrate above feature. 2008-06-11 19:39 UTC+0200 Viktor Szakats * ChangeLog + Marked changes merged with 1.0.0RC1. 2008-06-11 19:19 UTC+0200 Viktor Szakats * include/hbgtinfo.ch * source/rtl/gtwvt/gtwvt.c ! Fixed stupid typo from me. This is why maximized size didn't want to get right. ! Fixed to not reposition non-maximized windows while resizing them and their top/left corner was off screen. ! Fixed to not allow font screen below a certain limit (3x4 pixels). This fixes some of the more obvious cases when window gets trashed. ! Fixed to not resize the windows when toggling the resizing feature using HB_GTI_RESIZABLE. + Added to disable maximize icon after maximizing and reenable it on the first resize attempt. - Removed TIMER related stuff as it's very difficult (or impossible) to support on other platforms. Timer support could be added to hbw32.lib, though. * Some cleanups. ; Remaining FIXMEs: - Window trashing when settling on a size which cannot be properly filled with the console. Try with vertically or horizontally narrow window shapes. - Mark&Copy is still trashing when swapping directions with the selection compared to the starting position. * tests/wvtext.prg ! Added missing SVN keywords properties. ! Added missing SVN eol property. ! Fixed to use the default font to have a more common ground for testing. + Added markers to the corners to easily spot chopped borders. * contrib/xhb/Makefile * contrib/xhb/common.mak - Removed some xhb specific non-standard headers from the list of those getting installed to the Harbour central include dir. Only hbcompat.ch, hbcompat.h and xhb.ch goes now to the official include dir. After this change has been merged with 1.0.0RC1, xhb.lib may be included in the default build. [1.0.0RC1] * contrib/hbw32/tests/testdll.prg + Added some more DLL calling samples. 2008-06-11 18:22 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbdate.h * harbour/source/rtl/dates.c + added hb_dateUnformat() - code by David G. Holm extracted from CTOD() * updated copyright note to point original author of hb_dateFormat() and hb_dateUnformat() * harbour/source/rtl/dateshb.c * use hb_dateUnformat() in CTOD() 2008-06-11 16:22 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbw32/dllcall.c * added casting of wOrdinal to HB_PTR_DIFF to avoid waring * disabled asm code for WIN64 builds * disabled asm code for WINCE builds * disabled some code which breaks WINCE builds ; TODO: add support for WINCE/ARM and WIN64 * harbour/source/rtl/gtwvt/gtwvt.c ! always use literal strings inside TEXT() macro for UNICODE builds 2008-06-10 23:06 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com * harbour/source/rtl/gtwvt/gtwvt.c ! Fixed maximized state. Borders were missing. - Removed functionality to force Windows not to show Windows contents while resizing. ; Instead application can issue : To switch off full drag DllCall( "user32.dll", NIL, "SystemParametersInfo", 37, 0, 0, 0 ) To switch on full drag DllCall( "user32.dll", NIL, "SystemParametersInfo", 37, 1, 0, 0 ) ! Fixed non-refreshed client area under certain circumstances. * Removed all the hacks to adjust borders. * Adjusted maximize operation - now window is centered on the screen. ; TODO - Find a better solution to enabling and disabling of resizing feature at run time. 2008-06-11 04:10 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbexprop.h * harbour/include/hbexprb.c * harbour/source/common/expropt2.c * added optimization for DTOS( <date_constant> ), e.g.: static s := DTOS( 0d20080611 ) 2008-06-11 01:17 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/common/hbwince.c ! fixed typo in GetDriveTypeA() * temporary disabled GetDriveTypeW() call because not all CRTLs for WinCE support it * harbour/include/hbexpra.c * harbour/include/hbexprb.c * harbour/source/common/expropt2.c * harbour/source/compiler/harbour.y * harbour/source/compiler/harbour.yyc * added full expression list stripping - it enables optimizations in few additional places ! fixed code to always refresh expression address after direct or indirect reduction - seems that we have some memory leaks and possible GPFs not located so far Please make tests with your code. 2008-06-10 15:35 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com * harbour/source/rtl/gtwvt/gtwvt.c ! Fixed maximized state. Borders were missing. + Added functionality to force Windows not to show Windows contents while resizing. This can be set manually via <Desktop><Right-Click><Properties><Appearance><Effects><Show windows contents while dragging> ; To review: If this behavior be controlled via HB_GTI_SHOWRESIZING or like. * harbour/tests/wvtext.prg * Minor changes. 2008-06-10 22:48 UTC+0200 Viktor Szakats * contrib/hbw32/dllcall.c * Casts and cleanups. 2008-06-10 21:55 UTC+0200 Viktor Szakats * contrib/hbw32/dllcall.c % Futher optimizations. ! Fixed LoadLibrary() handle leak in DLLPREPARECALL() when an invalid function is requested from a valid library. 2008-06-10 21:11 UTC+0200 Viktor Szakats * contrib/hbw32/dllcall.c % Optimizations. Removed one internal limit. + contrib/hbw32/tests/testdll.prg + Added small test code. 2008-06-10 19:36 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/gtwvt/gtwvt.c ! do not use min()/max() C functions. These are not portable functions. Use HB_MIN()/HB_MAX() macros instead. 2008-06-10 19:03 UTC+0100 Viktor Szakats * contrib/hbw32/dllcall.c ! Fixed memory corruption when more than 15 parameters were passed to a DLL function. * contrib/hbw32/w32_regc.c % Minor optimization. 2008-06-10 18:50 UTC+0100 Viktor Szakats * contrib/hbw32/dllcall.c ! Fixed to not execute code after hb_errRT*() calls. ! Fixed to call hb_gcFree() if the hb_gcAlloc()ed pointer is not hb_retptrGC()d (in case of errors). 2008-06-10 19:10 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/source/vm/hashfunc.c * extended functionality of HB_HSet(), HB_HDel() and HB_HDelAt() to return hash value 2008-06-10 17:44 UTC+0100 Viktor Szakats * contrib/xhb/Makefile * contrib/xhb/common.mak - contrib/xhb/hbrandom.c - We had it in core. Removed. 2008-06-10 17:27 UTC+0100 Viktor Szakats * contrib/xhb/Makefile * contrib/xhb/common.mak + contrib/xhb/hbrandom.c + Added some remaining xhb functions: HB_RANDOM() HB_RANDOMINT() HB_RANDOMSEED() Work of Giancarlo Niccolai / xhb. 2008-06-10 16:26 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/common/hbwince.c + added GetDriveTypeA() wrapper for WinCE builds * harbour/source/rtl/gtwvt/gtwvt.c ! changed wrongly used NULL to 0 * harbour/source/rtl/gtwvt/gtwvt.c * changed LoadLibrary() to LoadLibraryA() for UNICODE builds still some other code have to be updated for UNICODE builds. 2008-06-10 16:24 UTC+0100 Viktor Szakats * xhb/Makefile * xhb/common.mak + xhb/freadlin.c + Adopted HB_FREADLINE(). Work of Marcelo Lombardo / xhb. ! Fixed one potential leak (probably not exploited by current control flow). ; Please test. [1.0.0RC1] * xhb/hbcrypt.c % Minor opt. (HB_ERR_FUNCNAME) 2008-06-10 16:06 UTC+0100 Viktor Szakats + contrib/xhb/hbcrypt.c + contrib/xhb/hbnxs.h * contrib/xhb/Makefile * contrib/xhb/common.mak + Added HB_CRYPT()/HB_DECRYPT(). Thanks to Giancarlo Niccolai / xhb. + Changed to not depend on hbzlib. ; Minor modifications to compile smoothly in Harbour. [1.0.0RC1] * bin/bld.bat * Prev change undone. 2008-06-10 15:45 UTC+0100 Viktor Szakats * contrib/hbw32/dllcall.c ! Fixed some xhb specific code to work in Harbour. Now the DLL functions started to work. ! Fixed buffer corruption (by 1 byte) when strings were passed by reference. + Added some Xbase++-like support to always pass a copy of our string buffers to the called functions. This is safer but slower. The support is probably not complete. Please test. + Added some Xbase++ compatible #defines. + Added CALLDLLTYPED() function where the return value type can be specified. Untested work in progress, feel free to modify. ; Now this test code works: --- hDLL := DllLoad( "pscript.dll" ) cVersion := Space(24) DllCall( hDll, NIL, "PSGetVersion", @cVersion ) ? cVersion DllUnload( hDLL ) --- ; TODO: Add header for these #defines. 2008-06-10 11:10 UTC+0100 Viktor Szakats * source/rtl/gtwvt/gtwvt.c ! Fixed maximized window size. * contrib/hbw32/dllcall.c * Further cleanup. ! MessageBox()es converted to RTE calls. * contrib/hbcurl/hbcurl.c * contrib/rddads/ads1.c * contrib/rddads/adsfunc.c * source/rdd/dbcmd.c * source/rdd/dbcmd53.c * source/rdd/dbcmdx.c * source/rdd/dbsql.c * source/rdd/wafunc.c * source/rdd/workarea.c * source/rtl/abs.c * source/rtl/at.c * source/rtl/cdpapi.c * source/rtl/chrasc.c * source/rtl/copyfile.c * source/rtl/datec.c * source/rtl/dateshb.c * source/rtl/do.c * source/rtl/gtfunc.c * source/rtl/hbadler.c * source/rtl/hbbit.c * source/rtl/hbcrc.c * source/rtl/hbhex.c * source/rtl/hbinet.c * source/rtl/hbregex.c * source/rtl/hbregexc.c * source/rtl/hbrunfun.c * source/rtl/hbtoken.c * source/rtl/hbzlib.c * source/rtl/left.c * source/rtl/len.c * source/rtl/math.c * source/rtl/minmax.c * source/rtl/philes.c * source/rtl/philesx.c * source/rtl/replic.c * source/rtl/round.c * source/rtl/run.c * source/rtl/set.c * source/rtl/space.c * source/rtl/str.c * source/rtl/strcase.c * source/rtl/strpeek.c * source/rtl/strtran.c * source/rtl/strzero.c * source/rtl/substr.c * source/rtl/transfrm.c * source/rtl/trim.c * source/rtl/type.c * source/rtl/val.c * source/rtl/valtype.c * source/rtl/word.c * source/vm/arrayshb.c * source/vm/classes.c * source/vm/debug.c * source/vm/eval.c * source/vm/evalhb.c * source/vm/hashfunc.c * source/vm/memvars.c * source/vm/runner.c * &hb_errFuncName -> HB_ERR_FUNCNAME % Using HB_ERR_FUNCNAME wherever possible. 2008-06-09 14:48 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com * harbour/source/rtl/gtwvt/gtwvt.c ! Fixed for selection in the last row and column. 2008-06-09 21:28 UTC+0100 Viktor Szakats * source/rtl/errorapi.c * Using HB_ERR_FUNCNAME. 2008-06-09 21:18 UTC+0100 Viktor Szakats * source/rtl/gtwvt/gtwvt.c ! Fixed windows size after maximize. * Temporary restored "instant resize" on mouse move. + contrib/hbw32/dllcall.c * contrib/hbw32/common.mak * contrib/hbw32/Makefile + Added DLL interface. From xhb. Work of several authors. ; I've applied some modifications made by Alex Strickland. ; The API calls below are implemented: Xbase++ compatible: - DLLLoad() - DLLUnload() - DLLPrepareCall() - DLLExecuteCall() - DLLCall() Proprietary: - LoadLibrary() - Same as DLLLoad() - FreeLibrary() - Same as DLLUnload() - GetProcAddress() - CallDLL() - CallDLLBool() - GetLastError() - SetLastError() ! Fixed GetProcAddress() passed ordinals to always be WORDs casted to DWORD. ! Fixed a few possible buffer overruns. * Cleanup, format, etc. ; Compile with HB_NO_ASM if you use BCC55 and don't have TASM32 (or upgrade to free BCC58 which contains TASM32). ; "C struct" support was stripped (but that seems only a small portion. ; Please test. I doesn't work me for simple test code, I have no idea why. ; FIXME: Replace MessageBox() calls with RTEs. ; FIXME: Solve any name clashing problems and/or use namespace for the proprietary interface. * include/hbapierr.h + HB_ERR_FUNCNAME added to replace &hb_errFuncName 2008-06-09 20:48 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/doc/whatsnew.txt * minor fixes in formatting * harbour/source/rtl/hbgtcore.c ! fixed memory leak when HB_GTI_NOTIFIERBLOCK was used to overload register before block * harbour/source/vm/eval.c + added support for SYMBOL items in hb_evalLaunch() to be compatible with hb_itemDo() * harbour/contrib/hbmisc/spd.c * cleaned warnings 2008-06-09 09:47 UTC+0100 Viktor Szakats * source/rtl/gtwvt/gtwvt.c ! Fixed most cases of trashing whilst marking. Maybe there is a simpler way of doing this... ! Readded "HB_NOSTARTUPWINDOW" feature deleted by mistake. ; FIXME: Some trashing is still visible if switching directions relative to the starting corner. ; FIXME: It doesn't seem to be possible to select the last row and the last column. Pritpal, could you take a look at it? 2008-06-09 07:36 UTC+0100 Viktor Szakats * tests/wvtext.prg * include/hbgtinfo.ch * include/hbgtcore.h * source/rtl/hbgtcore.c * source/rtl/gtwvt/gtwvt.c * Changed the way notifications work. It's now platform neutral and more simple. hb_gtInfo( HB_GTI_NOTIFIERBLOCK, {| nEvent, ... | myhandler( nEvent, mycustomdata, ... ) } ) may be used to set it. Use NIL to disable it. The purpose of this is to be able to get notifications from GT related user interactions not initiated inside the apps UI world. E.g. to save screen size after the user has changed it, or to have a last chance to commit tables, set flags, etc when user (or OS) closed the app window. ; FIXME: New TIMER stuff in GTWVT should be replace by a platform neutral solution, which is probably MT. (see also "background events") ; FIXME: Is there a way to force "non full content" resize on the application level? * bld/bld.bat * HB_USER_LIBS moved to the end of the lib list. 2008-06-08 22:10 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com * harbour/source/rtl/gtwvt/gtwvt.c * Hack to fix maxrow() display. Now maximizing the window displays correctly on 25x80. * harbour/tests/wvtext.pr * More information. 2008-06-09 06:25 UTC+0100 Viktor Szakats * tests/wvtext.prg * include/hbgtinfo.ch * include/hbgtcore.h * source/rtl/gtwvt/gtwvt.h * source/rtl/gtwvt/gtwvt.c ! Fixed a few warnings. ! Fixed bad selection behaviour when starting the selection (to not let it "stick" to the upper left corner). - Removed predefined symbols as a way to control GT behaviour. They may interfere with foreign libs. We have hb_gtInfo() for these kinds of settings. * HB_GTI_MARKCOPY -> HB_GTI_SELECTCOPY to use more generic terminology. * HB_GTI_RESIZEABLE -> HB_GTI_RESIZABLE ; TODO: Clean the callback interface to not be Windows specific, and to hole one notifier block with higher level of information. ; FIXME: Sometime irreguralities appear in selection, probably due to skipped updates or the like. ; FIXME: The window gets messy while resizing to a bigger size. Test: Grab the corner, resize to bigger size while not releasing the mouse button. ; FIXME: Window resized to a very small size will have "dead" (non-updated) portions on the sides. ; FIXME: Resize is without flicker now, but it's not interactive anymore, so it's difficult to predict what the result will be. ; FIXME: It's possible to resize the windows so that parts of screen disappear. 2008-06-08 20:12 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com * harbour/source/rtl/gtwvt/gtwvt.c * More fixes on resizing. Now appears to be behaving correctly. Please test. * harbour/tests/wvtext.pr * Formatting and typos. 2008-06-08 16:03 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com * harbour/source/rtl/gtwvt/gtwvt.c * harbour/source/rtl/gtwvt/gtwvt.h * harbour/source/rtl/hbgtcore.c * harbour/include/hbgtinfo.ch + HB_GTI_MARKCOPY Added feature to toggle "Mark and Copy" Sysmenu option with: Hb_GtInfo( HB_GTI_MARKCOPY, TRUE|FALSE ) -> lPrevState Removed necessity to have Hb_NoCopyConsole() to not include it. Now appln always HAS this SysMenu option. + HB_GTI_RESIZEABLE Added feature to toggle resizing of appln window as: Hb_GtInfo( HB_GTI_RESIZEABLE, TRUE|FALSE ) -> lPrevState Function Hb_NoResizeableWindow() still hold good for startup. You always can activate/deactivate this feature from within appln. Few more optimizations while resizing, still work in progress. * harbour/tests/wvtext.prg * Updated to demonstrate above functionality. 2008-06-08 08:57 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com * harbour/source/rtl/gtwvt/gtwvt.c * Fixed flickering in "Mark and Copy" operation. /* Viktor, see the slight change in your code. */ 2008-06-08 08:57 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com * harbour/source/rtl/gtwvt/gtwvt.c + Added functionality to disable "Mark and Copy" prompt in the SysMenu. Include Function Hb_NoCopyConsole() if you do not want this functionality. + Added funtionality to resize the console window with mouse operations. /* Resizing of console is enabled by default. To suppress this behavior include a dummy function Hb_NoResizableWindow() Resizing is available in both directions. I mean horizontal as well as verticle. Maximize button is also enabled. Click it to see to your surprize that now console window will provide you DOS like terminal. However there is a bug in maximized operation, last row does not show up correct. I feel it belongs to some miscalculation, but what that is I am unable to locate, so far. Please experiment. */ * harbour/tests/wvtext.prg * Updated to new HB_GT*_ constants and new functionality. 2008-06-08 15:18 UTC+0100 Viktor Szakats * include/hbgtinfo.ch + Added comment to compatibility #defines, to not use them, since they're deprecated. [1.0.0RC1] * HB_GTI_CB_* -> HB_GTE_* (stands for GT Event). Removed plain GTI_ versions, GTI_* range is frozen, pls don't add new codes to them and especially don't use them in core code. * include/hbgfx.ch * include/hbgfxdef.ch * contrib/gtwvg/gtwvg.c * source/rtl/gtxwc/gtxwc.c * source/rtl/gtwvt/gtwvt.c * GFX_* constants renamed to HB_GFX_*. The old ones are still working but it's recommended to update to use HB_GFX_*. #define HB_GT_NO_XHB to disable the compatibility #defines, if it collides with your code or you want to test after transition. ; [1.0.0RC1] * source/rtl/dirdrive.c ! Guarded C53 undoc functions with HB_C52_UNDOC, which is enabled so it won't make a difference in default builds. ; [1.0.0RC1] * source/rtl/filesys.c ! Fixed hb_fsIsDrv() to use GetDriveTypeA() API, to avoid some win32 system MessageBox() to be shown when certain types of drives (e.g. USB reader devices) are queried. ; Please test. ; FIXME: hb_fsChDrv() suffers from the same problem. ; [CANCELLED 1.0.0RC1] * contrib/hbcurl/hbcurl.c * contrib/rddads/adsfunc.c * contrib/rddads/ads1.c % Optimized out explicit function name strings in RTE calls. ! The above is actually a fix (I hope) for the one in hb_adsCheckLock(). Error text also made more consistent. ; [CANCELLED 1.0.0RC1] * contrib/hbw32/w32_prn.c % Minor optimizations, cleanups. 2008-06-08 12:42 UTC+0100 Viktor Szakats * source/rtl/gtwvt/gtwvt.c + Appending CRLF to each marked row before copying to the clipboard. * "Mark" sysmenu named "Mark and Copy". 2008-06-08 12:14 UTC+0100 Viktor Szakats * contrib/hbmysql/tmysql.prg * contrib/hbmysql/mysql.c * contrib/hbmysql/mysql.ch * contrib/hbtpathy/telepath.ch * contrib/hbtpathy/tplinux.c * contrib/hbtpathy/tpwin32.c * contrib/hbtpathy/tpos2.c * contrib/hbtpathy/tpcommon.c * contrib/hbmsql/msql.h * contrib/hbmsql/msql.ch * contrib/hbmsql/msql.c * contrib/hbfbird/firebird.c * contrib/hbfbird/tests/test.prg * contrib/hbapollo/apollo.c * contrib/hbmisc/hb_f.c * General code cleanup, formatting, minor optimizations, Harbour API usage cleanup, ANSI comments. ! Several minor fixes to Firebird interface code, but it still doesn't seem to work, and the code is very unclear, partly because of the strange/unsafe Firebird API. ! Firebird test.prg fixes: Variable name typos, undeclared vars, hard-coded paths. * contrib/hbfbird/make_b32.bat * contrib/hbfbird/make_vc.bat * Fixed location where .libs are looked for. [1.0.0RC1] * contrib/hbcurl/hbcurl.c % Minor cleanups. [1.0.0RC1] 2008-06-07 15:32 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com * harbour/source/rtl/gtwvt/gtwvt.c * harbour/source/rtl/gtwvt/gtwvt.h + Added feature to copy text from WVT console just like any console window. /* 1. Click on SysMenu icon at the left on Title Bar 2. Click on "Mark" option 3. Place cursor on top of the text you wish to copy. 4. Keep left button down and drag to desired end of console text. 5. Release left button. 6. Right click anywhere "Paste" operation is supported. 7. Copies text is there. You can drag the mouse in any direction, copied text will always be in order. */ 2008-06-07 20:41 UTC+0100 Viktor Szakats * contrib/hbodbc/make_vc.bat ! Removed .dll -> .lib conversion for MSVC, since the .lib is provided by the MS SDK anyway. ; [1.0.0RC1] * contrib/hbcurl/hbcurl.c * contrib/hbcurl/hbcurl.ch * contrib/hbcurl/tests/ftp_uldl.prg ! Cleanup the rare case when curl_easy_init() returns NULL. Functions now always return the same type, even in case libcurl failed to initialize. + Return values for above cases is now HB_CURLE_ERROR (== -1). ! CURL_*() passed pointers now are also checked for the pointer type, and RTE is thrown if they are not HBCURL ones. So for example in the very rare case when any hbcurl functions would get passed a GC pointer returned by another API, an argument error would be thrown now. ! CURL_ESCAPE()/CURL_UNESCAPE() fixed picked parameter ordinal. + CURL_ESCAPE()/CURL_UNESCAPE() added parameter checking. ; [1.0.0RC1] * contrib/rddads/adsmgmnt.c * Minor formatting. 2008-06-07 13:26 UTC+0100 Viktor Szakats * contrib/hbmisc/common.mak * contrib/hbmisc/Makefile - contrib/hbmisc/mathx.c + contrib/hbmisc/spd.c - Removed math functions equivalent with CT3 ones. INCOMPATIBLE: If your code used CEIL() from hbmisc, please update it to use CEILING() from hbct. Functionality is the same. + Added _SPD() function. Contributed by Javier (jarabal at gmail.com) 2008-06-07 09:40 UTC+0100 Viktor Szakats * contrib/hbcurl/hbcurl.c % Minor opt. [1.0.0RC1] * ChangeLog + Marked changes merged with 1.0.0RC1. 2008-06-07 09:39 UTC+0100 Viktor Szakats * source/rtl/gtwvt/gtwvt.c ! Fixed cursor width to be synced properly after a font change. ! Fixed cursor SC_NORMAL height to be calculated from the font height, instead of being a static number. [1.0.0RC1] * contrib/hbcurl/hbcurl.c + Added RTEs when wrong parameter was passed to the remaining functions: CURL_EASY_STRERROR() CURL_SHARE_STRERROR() CURL_MULTI_STRERROR() CURL_GETDATE() [1.0.0RC1] 2008-06-06 23:30 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com * harbour/source/rtl/gtwvt/gtwvt.c ! hb_gt_wvt_Info() + GTI_SCREENSIZE Hb_GtInfo( GTI_SCREENSIZE, { nPxlWidth, nPxlHeight } ) Try to adjust the mode to rows and columns best fitting nPxlWidth, nPxlHeight. + GTI_SETTIMER Hb_GtInfo( GTI_SETTIMER, { nTimerId, nMiliSeconds } ) + GTI_KILLTIMER Hb_GtInfo( GTI_KILLTIMER, nTimerId ) 2008-06-06 20:45 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/source/rtl/hbgtcore.c * harbour/include/hbgtcore.h * harbour/include/hbgtinfo.ch * harbour/source/rtl/gtwvt/gtwvt.c * harbour/source/rtl/gtwvt/gtwvt.h + Added building blocks for CallBacks to be set with Hb_GtInfo( GTI_* ). * harbour/tests/wvtext.prg + Test program to taste few of the callbacks. /* This also sets the ground for futuristic multi-window GT I have kept MW GT code out of current implementation. This implementation does not interfere nor affects current functionality. A work in progress. Viktor, I have found a way to implement 'consol shearing, working on it and for that to happen these building blocks are a must. Przemek, please review the structure of <PHB_PGT>. I have added a few members. Please bear with my meagre knowledge if I did something stupid, just correct it. */ 2008-06-06 17:58 UTC+0100 Viktor Szakats * ChangeLog + Marked changes merged with 1.0.0RC1. * contrib/hbpgsql/make_b32.bat - Removed special compiler switches no longer necessary. [1.0.0RC1] 2008-06-06 14:46 UTC+0100 Viktor Szakats * contrib/hbcurl/hbcurl.c + Now throws RTEs when required parameters are missing or the wrong type. The concept here is that RTEs are only to catch syntax mistakes, and not errors resulting from actual libcurl usage/functionality/states. [1.0.0RC1] * contrib/hbapollo/apollo.ch * Formatting. [1.0.0RC1] 2008-06-06 10:21 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbpp.h * harbour/source/pp/ppcore.c + added hb_pp_errorCount() which returns total number of errors which appeared during preprocessing * harbour/source/pp/hbpp.c * added new switch: -u[<file>] use command def set in <file> (or none) * if neither -o nor -v is specified then -w is default action + added to default search paths INCLUDE envvar * set application exit code to non 0 value if errors appear during preprocessing * harbour/source/compiler/harbour.yyc * harbour/source/compiler/harbour.y ! added support for expression list without parenthesis used in statements - Clipper compatibility fix. 2008-06-06 07:42 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/make_tgz.sh * added build status (RC1) extracted automatically from hbver.h to final package name 2008-06-05 22:10 UTC+0100 Viktor Szakats * contrib/hbapollo/common.mak * contrib/hbapollo/Makefile + contrib/hbapollo/apollo.ch - contrib/hbapollo/tests/apollo.ch ! apollo.ch file was in tests by mistake. [1.0.0RC1] 2008-06-05 20:30 UTC+0100 Viktor Szakats - contrib/examples/pp/hbpp.c + contrib/examples/pp/pp.c * contrib/examples/pp/bld_b32.bat * contrib/examples/pp/Makefile * hbpp.c -> pp.c to generate pp.exe using GNU make files. * contrib/examples/pp/bld_b32.bat % Removed unnecessary libs. 2008-06-05 18:30 UTC+0100 Viktor Szakats * common.mak * harbour-ce-spec * harbour-w32-spec * harbour.spec * make_b32.mak * make_gcc.mak * make_vc.mak * make_vcce.bat * make_vcce.mak * make_xmingw.sh * make_xmingwce.sh + source/pp/hbpp.c - source/pp/hbppgen.c * source/pp/Makefile * hbppgen -> hbpp ; Please test. * harbour-w32-spec ! Added 'svn:keywords "Author Date Id Revision"' [1.0.0RC1] 2008-06-05 14:58 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/harbour-ce-spec * harbour/harbour-w32-spec * harbour/harbour.spec * harbour/make_tgz.sh * removed not longer used HBPP references, thanks to Adam * added hbppgen to list of installed binaries for native builds * removed hbppgen from cross builds * harbour/source/pp/Makefile * harbour/config/install.cf * added hack to install also hbppgen I do not want to make deeper modifications in non GNU makefiles now. Looks that now we are ready to rename hbppgen to hbpp. I would like to keep -w hbppgen option semantic as is. Does anyone find it as a problem? 2008-06-05 13:53 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/make_vcce.mak * harbour/make_vc.mak * harbour/common.mak * removed not longer used HBPP references 2008-06-05 13:42 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/pp/hbppgen.c + added -d<id>[=<val>] command line switch * harbour/source/compiler/cmdcheck.c * cleaned processing -d<id>[=<val>] switches 2008-06-05 12:57 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/hb-func.sh + added get_hbverstat function to extract build status from hbver.h * harbour/make_rpmw32.sh * harbour/harbour.spec * harbour/make_rpmce.sh * moved -RC1 from version to releasen part - it resolves the problem with illegal character in version number 2008-06-05 12:53 UTC+0100 Viktor Szakats * source/pp/hbppgen.c * contrib/examples/pp/hbpp.c * Headers cleaned. 2008-06-05 12:42 UTC+0100 Viktor Szakats * make_b32.mak * make_gcc.mak * make_vc.mak * make_vcce.mak * common.mak * utils/Makefile - utils/hbpp/hbpplib.c - utils/hbpp + contrib/examples/pp + contrib/examples/pp/bld_b32.bat * Moved utils/hbpp -> contrib/examples/pp + Added BCC make file. * contrib/examples/pe/bld_b32.bat ! Fixed. [1.0.0RC1] 2008-06-05 10:41 UTC+0100 Viktor Szakats * contrib/hbmysql/mysql.c ! Fixes to previous commit. ! Using hb_retptr(). ! SQLNROWS() fixed to return 64-bit values. % Using array API optimally. 2008-06-05 10:12 UTC+0100 Viktor Szakats * common.mak * contrib/hbbtree/hb_btree.c * contrib/hbclipsm/gauge.c * contrib/hbfbird/firebird.c * contrib/hbgd/gdwrp.c * contrib/hbmsql/msql.c * contrib/hbmysql/mysql.c * contrib/hbnf/dispc.c * contrib/hbnf/getenvrn.c * contrib/hbnf/getver.c * contrib/hbnf/kspeed.c * contrib/hbodbc/odbc.c * contrib/hbole/ole2.c * contrib/hbsqlit2/hbsqlit2.c * contrib/hbsqlit3/hbsqlit3.ch * contrib/hbtpathy/tplinux.c * contrib/hbtpathy/tpwin32.c * contrib/hbtpathy/tpos2.c * contrib/hbtpathy/tpcommon.c * contrib/hbtip/thtml.ch * contrib/hbtip/utils.c * contrib/hbtip/tip.ch * contrib/xhb/hboutdbg.c * utils/hbpp/Makefile - utils/hbpp/pragma.c + utils/hbpp/hbpragma.c * General code quality improvements. (.api usage, sprintf -> snprintf, ANSI comments, CLIPDEFS, windows.h inclusion, hb_retc*_buffer, hb_ret(), hb_itemReturnRelease(), formatting.) ! Collision between two pragma.c files resolved. 2008-06-05 12:50 UTC-0400 Phil Barnett <philb/at/philb.us> * Set version in harbour.spec to 1.0.0-RC1 * Set version in include/hbver.h to 1.0.0-RC1 [1.0.0RC1] 2008-06-05 03:25 UTC+0100 Viktor Szakats * contrib/hbsqlit3/hbsqlit3.c * Suppressed GCC warnings in foreign code. Only works for GCC 4.2.x and above. Please test. 2008-06-05 03:05 UTC+0100 Viktor Szakats * contrib/hbsqlit3/hbsqlit3.c * Suppressed MSVC warnings in foreign code. ; Added NOTE that suppressing warnings with #pragmas is not possible in GCC. 2008-06-05 02:30 UTC+0100 Viktor Szakats * contrib/hbpgsql/postgres.c ! Don't request windows.h. + Using hb_parptrGC() for 'PGconn'. + PQCONNECT() larger buffer for connect string. ! PQCONNECT() not passing trash to PG API if no. of params != 5 ! PQCONNECT() buffer overflow vulnerability. ! PQSETDBLOGIN() password could not be passed to PG API due to typo. ! PQMETADATA() now returns empty array instead of NIL in case of failure (so test.prg won't RTE). ! PQCREATETRACE(), PQCLOSETRACE(), PQTRACE() now only activated when 'NODLL' (temp name) is defined, since passing 'FILE *' to .dlls results in crash. ; FIXME? added to PQESCAPEBYTEA() * Formatting. % Cleanup, optimizations. ; NOTE: I've tried test.prg and while it runs, it doesn't seem to work properly for some reason. ; FIXME: Use hb_parptrGC() for 'PGresult', 'FILE*'. * contrib/hbpgsql/make_vc.bat + Now uses the .lib provided in the binary package. [1.0.0RC1] (This needs the current 8.3.1 version) 2008-06-05 02:34 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/macro.c ! pass macro compiled string to error object. It fixes Clipper incompatible behavior reported by Mindaugas. ! fixed few possible internal errors when user error handler will try to force wrong substitution 2008-06-05 02:05 UTC+0100 Viktor Szakats * contrib/hbpgsql/make_b32.bat * contrib/hbpgsql/make_vc.bat * contrib/hbpgsql/tests/bld_b32.bat * contrib/hbpgsql/tests/bld_vc.bat ! Fixed to use the right .dll to generate the .lib. [1.0.0RC1] * contrib/hbpgsql/tpostgre.prg * Comment. 2008-06-05 00:00 UTC+0100 Viktor Szakats * contrib/hbsqlit2/Makefile ! Readded last char of last line. [1.0.0RC1] 2008-06-04 23:18 UTC+0100 Viktor Szakats * contrib/hbsqlit2/hbsqlit2.c * Removed commented debug code. * Code cleanup, optimizations. ! GPFs fixed in many function, when no db was open. ! Automatically closing previous db when opening a new one. ! hb_sqlite2_db initialized with NULL. 2008-06-04 22:13 UTC+0100 Viktor Szakats * tests/rto_get.prg + Added keypress emulator to aid automated testing. + Added test for EMG's bug case. [1.0.0RC1] 2008-06-04 21:44 UTC+0100 Viktor Szakats * contrib/hbcurl/hbcurl.ch * contrib/hbcurl/hbcurl.c * contrib/hbcurl/tests/ftp_uldl.prg + Added test for deleting file. + Added dummy upload option: + CURL_EASY_SETOPT() / HB_CURLOPT_UL_NULL_SETUP ! Fixed all the setopt options below. Very old bug in hbcurl code. Now rename, delete, other custom commands plus a few other options work properly: HB_CURLOPT_HTTPHEADER HB_CURLOPT_HTTP200ALIASES HB_CURLOPT_QUOTE HB_CURLOPT_POSTQUOTE HB_CURLOPT_PREQUOTE HB_CURLOPT_TELNETOPTIONS ; [1.0.0RC1] 2008-06-04 20:17 UTC+0100 Viktor Szakats * contrib/hbsqlit3/hbsqlit3.c ! Fix for GCC. 2008-06-04 20:12 UTC+0100 Viktor Szakats * contrib/hbcurl/hbcurl.c * Minor. [1.0.0RC1] * contrib/hbodbc/todbc.prg * contrib/hbodbc/odbc.txt * contrib/hbodbc/sql.ch * contrib/hbodbc/readme.txt + Added SVN headers. * contrib/hbodbc/sql.ch ! Aligned #define values. 2008-06-04 19:21 UTC+0100 Viktor Szakats * contrib/hbcurl/hbcurl.c ! Missing cast. [1.0.0RC1] 2008-06-04 18:55 UTC+0100 Viktor Szakats * contrib/hbcurl/hbcurl.ch * contrib/hbcurl/hbcurl.c * contrib/hbcurl/tests/ftp_uldl.prg + Added some more test for downloading to memory, uploading from memory. + Added possibility to download to memory, and upload from memory: + CURL_EASY_SETOPT() / HB_CURLOPT_UL_BUFF_SETUP + CURL_EASY_SETOPT() / HB_CURLOPT_DL_BUFF_SETUP + CURL_EASY_SETOPT() / HB_CURLOPT_DL_BUFF_GET + CURL_EASY_DL_BUFF_GET() -> <cFileContent> * Changed a few old Harbour setopt defines: (old ones are still working to retain compatibility) * HB_CURLOPT_SETUPLOADFILE -> HB_CURLOPT_UL_FILE_SETUP * HB_CURLOPT_CLOSEUPLOADFILE -> HB_CURLOPT_UL_FILE_CLOSE * HB_CURLOPT_SETDOWNLOADFILE -> HB_CURLOPT_DL_FILE_SETUP * HB_CURLOPT_CLOSEDOWNLOADFILE -> HB_CURLOPT_DL_FILE_CLOSE * HB_CURLOPT_SETPROGRESS -> HB_CURLOPT_PROGRESSBLOCK ; [1.0.0RC1] 2008-06-04 17:32 UTC+0100 Viktor Szakats * contrib/hbcurl/hbcurl.c * Changed all logical options to default to .T.. This way all work the same way, and in real life usage the logical parameter can omitted in most cases. INCOMPATIBLE. [1.0.0RC1] * contrib/hbcurl/tests/ftp_uldl.prg + Added small example to get a dir listing. [1.0.0RC1] 2008-06-04 17:21 UTC+0100 Viktor Szakats * contrib/hbcurl/hbcurl.c + Changed to use hb_parc() (instead of hb_parcx()) for all curl_easy_setopt() string options, so that NULL (NIL) will reset these options to default state, instead of passing an empty string to them. [1.0.0RC1] 2008-06-04 15:48 UTC+0100 Viktor Szakats * source/rtl/hbbit.c + Added important NOTE about hb_bit*() functions' relation to the compiler optimization engine. [1.0.0RC1] * source/vm/fm.c * source/vm/extrap.c * Log filenames converted to static variables. With the intent that they'll be converted to Set()s or similar user settable values in the future, since it's useful and more elegant to redirect these to the app's normal logfile. * contrib/hbsqlit3/hbsqlit3.c * Minor formatting. 2008-06-04 14:27 UTC+0100 Viktor Szakats * contrib/hbsqlit2/hbsqlit2.c * Further cleanup, optimizations. ! Converted to use ANSI comment only. * contrib/hbsqlit3/hbsqlit3.c % Minor optimization. 2008-06-04 14:02 UTC+0100 Viktor Szakats * contrib/hbsqlit3/hbsqlit3.c % Removed __XHARBOUR__ guards. * Minor cleanups. * contrib/hbsqlit2/hbsqlit2.c % Major cleanup, formatting, optimizations. ! INCOMPATIBLE: public vars prefixed with 'hb_sqlite2_'. 2008-06-04 11:41 UTC+0100 Viktor Szakats * include/hbver.h + Added HB_VERSION unified version identifier: three bytes: major + minor + revision (0x000909) This is to aid 3rd parties to detect version. [1.0.0RC1] * contrib/hbsqlit3/make_b32.bat * contrib/hbsqlit3/hbsqlit3.c ! SQLITE3_OPEN(): Fixed potential leak. + BCC warnings are now suppressed for the foreign code only, and this is now effective in all build systems. * Code formatting. 2008-06-04 12:34 UTC-0400 Phil Barnett <philb/at/philb.us> * Set version in harbour.spec to 0.9.9-RC1 * Set version in include/hbver.h to 0.9.9-RC1 * Update header info in doc/whatsnew.txt to proper date and release tag * Tag repository with RC1 2008-06-04 04:02 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/hb-mkslib.sh * harbour/bin/hb-func.sh * harbour/bin/postinst.sh * harbour/bin/pack_src.sh * harbour/contrib/hbw32ddr/make_gcc.sh * harbour/contrib/hbmysql/make_gcc.sh * harbour/contrib/hbct/make_gcc.sh * harbour/contrib/hbodbc/make_gcc.sh * harbour/contrib/xhb/make_gcc.sh * harbour/contrib/hbwhat32/make_gcc.sh * harbour/contrib/hbtpathy/make_gcc.sh * harbour/contrib/hbtpathy/make_b32.bat * harbour/contrib/hbtpathy/make_vc.bat * harbour/contrib/hbgt/make_gcc.sh * harbour/contrib/hbw32/make_gcc.sh * harbour/contrib/hbmsql/make_gcc.sh * harbour/contrib/hbsqlit2/vdbeaux.c * harbour/contrib/hbsqlit2/build.c * harbour/contrib/hbsqlit2/hbsqlit2.ch * harbour/contrib/hbsqlit2/vdbeInt.h * harbour/contrib/hbsqlit2/opcodes.h * harbour/contrib/hbsqlit2/btree.c * harbour/contrib/hbsqlit2/delete.c * harbour/contrib/hbsqlit2/printf.c * harbour/contrib/hbsqlit2/trigger.c * harbour/contrib/hbsqlit2/attach.c * harbour/contrib/hbsqlit2/btree.h * harbour/contrib/hbsqlit2/sqlite.h * harbour/contrib/hbsqlit2/pragma.c * harbour/contrib/hbsqlit2/config.h * harbour/contrib/hbsqlit2/util.c * harbour/contrib/hbsqlit2/select.c * harbour/contrib/hbsqlit2/os.c * harbour/contrib/hbsqlit2/tests/hbsqlite.prg * harbour/contrib/hbsqlit2/hash.c * harbour/contrib/hbsqlit2/os.h * harbour/contrib/hbsqlit2/tokenize.c * harbour/contrib/hbsqlit2/hash.h * harbour/contrib/hbsqlit2/hbsqlit2.c * harbour/contrib/hbsqlit2/Makefile * harbour/contrib/hbsqlit2/pager.c * harbour/contrib/hbsqlit2/vacuum.c * harbour/contrib/hbsqlit2/auth.c * harbour/contrib/hbsqlit2/pager.h * harbour/contrib/hbsqlit2/insert.c * harbour/contrib/hbsqlit2/copy.c * harbour/contrib/hbsqlit2/parse.c * harbour/contrib/hbsqlit2/where.c * harbour/contrib/hbsqlit2/date.c * harbour/contrib/hbsqlit2/common.mak * harbour/contrib/hbsqlit2/expr.c * harbour/contrib/hbsqlit2/parse.h * harbour/contrib/hbsqlit2/random.c * harbour/contrib/hbsqlit2/vdbe.c * harbour/contrib/hbsqlit2/sqliteInt.h * harbour/contrib/hbsqlit2/update.c * harbour/contrib/hbsqlit2/main.c * harbour/contrib/hbsqlit2/btree_rb.c * harbour/contrib/hbsqlit2/vdbe.h * harbour/contrib/hbsqlit2/table.c * harbour/contrib/hbsqlit2/readme.txt * harbour/contrib/hbsqlit2/func.c * harbour/contrib/hbsqlit2/opcodes.c * harbour/contrib/hbsqlit2/encode.c * harbour/contrib/hbole/make_gcc.sh * harbour/contrib/hbmzip/make_b32.bat * harbour/contrib/hbmzip/make_vc.bat * harbour/contrib/hbfbird/make_gcc.sh * harbour/contrib/hbapollo/make_gcc.sh * harbour/contrib/hbcurl/tests/ftp_uldl.prg * harbour/contrib/mtpl_gcc.mak * harbour/source/hbpcre/cnv_o2hb.bat * harbour/source/hbpcre/cnv_hb2o.bat * CRLF<->LF conversion * set strict svn:eol-style 2008-06-04 02:05 UTC+0100 Viktor Szakats * contrib/rddads/adsfunc.c ! Fix to ADSCREATEFTSINDEX(). Thanks Brian and Luis. * contrib/rddads/ads.ch * Formatting: Moved #commands together to end of the file. * Formatting: Aligned #define values to look more organized. 2008-06-04 00:32 UTC+0100 Viktor Szakats * contrib/hbcurl/hbcurl.c * CURL_GETDATE(): using hb_retnint(). 2008-06-03 22:24 UTC+0100 Viktor Szakats * contrib/hbcurl/hbcurl.c ! Fixed macros used in *_LARGE setopt options. * contrib/hbcurl/hbcurl.c * contrib/hbsqlit3/hbsqlit3.c * Using hb_parnint()/hb_retnint() instead of messing with LONG_LONG locally. 2008-06-03 19:59 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/garbage.c % clear hb_stack return item in HB_GCALL() function before executing hb_gcCollectAll() 2008-06-03 18:47 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/common.mak * harbour/source/rtl/Makefile - harbour/source/rtl/hbrun.c + harbour/source/rtl/hbrunfun.c * renamed hbrun.c to hbrunfun.c to satisfy non GNU make system 2008-06-03 18:08 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/common.mak * harbour/source/rtl/Makefile * harbour/include/hbextern.ch + harbour/source/rtl/hbrun.c + added function to execute commands which returns application exit code: HB_RUN( <cCommand> ) -> <nErrorLevel> 2008-06-03 17:32 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/make_deb.sh ! added fixes by Guy Roussin - many thanks 2008-06-03 17:23 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbw32/w32_regc.c ! fixed typo hb_free() => hb_xfree() ! fixed UNICODE build * harbour/source/vm/itemapi.c * changed hb_itemPutC() and hb_itemPutCL() to be safe when user call it passing string which is stored in item passed as first parameter. It should fix problem located by Chen. Please test. 2008-06-03 15:10 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/extrap.c ! fixed unregistering exception error handler in OS2 builds David, if possible please test. 2008-06-03 10:12 UTC+0100 Viktor Szakats * source/vm/extend.c ! Reverted previous change. Caller should check the retval of hb_storclen_buffer() and free the pointer in case it's zero. Thanks Przemek. * contrib/hbw32/w32_regc.c * contrib/hbhpdf/harupdf.c * contrib/hbwhat32/_winsys.c * utils/hbmake/readline.c ! Fixed hb_storclen_buffer() calls. * contrib/hbwhat32/_winsys.c ! SYSTEMPARAMETERSINFO() fixed retval and leaks. ; Please test. * source/rtl/tget.prg ! Typo. 2008-06-03 09:11 UTC+0100 Viktor Szakats * include/rdd.api + Added necessary conversions. ; NOTE: 3 functions are not yet implemented in Harbour. * contrib/hbw32/w32_regc.c * contrib/hbw32/tests/testreg.prg % Optimizations. * Formatting. * contrib/hbw32/w32_ole.c ! Fixed indentation. * contrib/hbhpdf/harupdf.c ! Fixed hpdf_ReadFromStream() to not overflow to buffer in hb_storclen_buffer(). 2008-06-03 01:31 UTC+0100 Viktor Szakats * source/vm/extend.c ! hb_storclen_buffer() fixed to free the passed buffer in case it couldn't be stored. This situation was easy to miss and difficult to detect for the caller, and it might cause leaks. * contrib/hbw32/Makefile * contrib/hbw32/common.mak + contrib/hbw32/hbw32.ch + contrib/hbw32/w32_reg.prg + contrib/hbw32/w32_regc.c + contrib/hbw32/tests/testreg.prg + Added Windows registry handling stuff. Work of Peter Rees <peter/at/rees.co.nz> / xhb. * Code cleaned, formatted, optimized a bit. + Added an even simpler interface: w32_regRead( <reg_path> ) -> xValue w32_regWrite( <reg_path>, <value> ) -> <lSuccess> where <reg_path> is: "HKCU\key[\subkeys]\entry" 2008-06-02 23:33 UTC+0100 Viktor Szakats * contrib/make_b32_all.bat * contrib/make_gcc_all.sh * contrib/make_vc_all.bat + contrib/hbsqlit2 + contrib/hbsqlit2/Makefile + contrib/hbsqlit2/make_b32.bat + contrib/hbsqlit2/make_vc.bat + contrib/hbsqlit2/make_gcc.sh + contrib/hbsqlit2/common.mak + contrib/hbsqlit2/hbsqlit2.c + contrib/hbsqlit2/hbsqlit2.ch + contrib/hbsqlit2/LICENSE.txt + contrib/hbsqlit2/TODO.txt + contrib/hbsqlit2/readme.txt + contrib/hbsqlit2/attach.c + contrib/hbsqlit2/auth.c + contrib/hbsqlit2/btree.c + contrib/hbsqlit2/btree.h + contrib/hbsqlit2/btree_rb.c + contrib/hbsqlit2/build.c + contrib/hbsqlit2/config.h + contrib/hbsqlit2/copy.c + contrib/hbsqlit2/date.c + contrib/hbsqlit2/delete.c + contrib/hbsqlit2/encode.c + contrib/hbsqlit2/expr.c + contrib/hbsqlit2/func.c + contrib/hbsqlit2/hash.c + contrib/hbsqlit2/hash.h + contrib/hbsqlit2/insert.c + contrib/hbsqlit2/main.c + contrib/hbsqlit2/opcodes.c + contrib/hbsqlit2/opcodes.h + contrib/hbsqlit2/os.c + contrib/hbsqlit2/os.h + contrib/hbsqlit2/pager.c + contrib/hbsqlit2/pager.h + contrib/hbsqlit2/parse.c + contrib/hbsqlit2/parse.h + contrib/hbsqlit2/pragma.c + contrib/hbsqlit2/printf.c + contrib/hbsqlit2/random.c + contrib/hbsqlit2/select.c + contrib/hbsqlit2/sqlite.h + contrib/hbsqlit2/sqliteInt.h + contrib/hbsqlit2/table.c + contrib/hbsqlit2/tokenize.c + contrib/hbsqlit2/trigger.c + contrib/hbsqlit2/update.c + contrib/hbsqlit2/util.c + contrib/hbsqlit2/vacuum.c + contrib/hbsqlit2/vdbe.c + contrib/hbsqlit2/vdbe.h + contrib/hbsqlit2/vdbeaux.c + contrib/hbsqlit2/vdbeInt.h + contrib/hbsqlit2/where.c + contrib/hbsqlit2/tests/bld_b32.bat + contrib/hbsqlit2/tests/bld_vc.bat + contrib/hbsqlit2/tests/example.db + contrib/hbsqlit2/tests/hbsqlite.prg + Added hbsqlit2 SQLite 2.x interface library. With kind permission from the author: Alejandro de Garate <alex_degarate/at/hotmail.com> + Some renames were done here too to better fit into the contrib structure. + Added std make files. + Added to 'all' make files. + Added foreign SQLite 2.8.16 (final 2.x version) source code to the repository. Compiles with an okay amount of warnings under BCC but doesn't compile in C++ mode in MSVC (due to missing casts). ; NOTE: I've added this because this is the original SQLite Harbour interface, clean and working implementation, and SQLite 2 is incompatible with 3, and some may need to access existing 2.x databases from Harbour. 2008-06-02 21:16 UTC+0100 Viktor Szakats * source/vm/hvm.c % Minor opt to __SETPROFILE(), __TRACEPRGCALLS() ! __SETPROFILE() to only set the value if a parameter was passed. This way it's possible to read the value without destroying it. 2008-06-02 20:16 UTC+0100 Viktor Szakats * source/common/hbstr.c ! HB_EXPORT added to hb_strRemEscSeq(). Thanks Javier. 2008-06-02 20:11 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/compiler/ppcomp.c * harbour/source/compiler/cmdcheck.c ! do not disable macrotext substitution for -kc 2008-06-02 19:55 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbexprop.h * harbour/include/hbexprb.c * harbour/source/common/expropt2.c + added compile time INT( <num> ) optimization * harbour/source/compiler/hbusage.c * updated -k? description to show "(default)" for really set flags 2008-06-02 18:59 UTC+0100 Viktor Szakats * contrib/xhb/hbcompat.ch ! Minor fix in hb to xhb branch. * contrib/hbcurl/hbcurl.ch * '( 2 ** n )' expressions changed to actual values. ; We now have these optimized, but I'm committing anyway, as some folks may be scared away by seeing these, and not knowing it's optimized (and they might not even be optimized on some Clipper platforms...). * contrib/mtpl_vc.mak ! Fixed HB_VISUALC_VER to default to '60' rather than crashing. Same default is used for core make files already. * source/common/hbverdsp.c - Removed 'CA'. + Added word 'compatible' to the 'undocumented' line. 2008-06-02 16:46 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbexprb.c ! do not optimize HB_BITAND(), HB_BITOR() and HB_BITXOR() when only one parameter is passed to keep RT error compatibility * use hb_compExprListStrip() to optimize function calls also when parameters are passed in parenthesis, e.g.: ? CHR(65), CHR((65)) It's not Clipper compatible and disabled by -kc switch. Viktor it will interact with some hbtest tests when compile time optimization used by Clipper gives different results then RT function e.g. CHR( ( 256 ) ). Please think if we should keep it. It's important optimization if someone uses constant values or expressions defined in parentheses. 2008-06-02 15:40 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbsqlit3/hbsqlit3.c ! use char * instead of LPSTR to compile in non Windows environment ! fixed one printf() parames ! fixed casting and parameter type in sqlite3_blob_open() * harbour/include/hbexprop.h * harbour/include/hbexprb.c * harbour/source/common/expropt1.c * harbour/source/common/expropt2.c - removed unused hb_compExprAsLong() + added hb_compExprAsLongNum(), hb_compExprReduceBitFunc() + added compiletime optimizatiob for HB_BIT*() functions: HB_BITAND(), HB_BITOR(), HB_BITXOR(), HB_BITSET(), HB_BITRESET() HB_BITSHIFT(), HB_BITNOT(), HB_BITTEST() 2008-06-02 13:57 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbcurl/common.mak * harbour/contrib/hbcurl/hbcurl.c * harbour/contrib/hbcurl/hbcurl.ch * harbour/contrib/hbcurl/Makefile ! set svn:eol-style to native * harbour/contrib/hbcurl/make_gcc.sh ! set svn:eol-style to LF * harbour/contrib/hbcurl/Makefile * added missing rules to install header files and create library * harbour/contrib/hbcurl/hbcurl.ch ! closed uncloused /* comments * harbour/contrib/hbcurl/hbcurl.c ! fixed hb_curl_calloc() to clear allocated memory 2008-06-02 13:32 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbexprop.h * harbour/include/hbexprb.c * harbour/source/common/expropt2.c + added hb_compExprReducePower() and compile time optimization for: <NumConst1> ^ <NumConst2> + added compile time optimization for: <NumConst1> % <NumConst2> when <NumConst1> or <NumConst2> is not integer value NOTE: both optimizations are not Clipper compatible and disabled when -kc compiler switch is used 2008-06-02 12:42 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbsqlit3/tests/blob.prg * harbour/contrib/hbsqlit3/tests/sqlite3_test.prg * harbour/contrib/hbsqlit3/sqlite3/sqlite3.c * harbour/contrib/hbsqlit3/sqlite3/sqlite3.h * converted TABs to SPACEs 2008-06-02 12:00 UTC+0100 Viktor Szakats * source/common/hbverdsp.c ! Minor correction. * Wording/layout. C++/C and ANSI C init mode is now in one line as "Other build settings". * contrib/hbcurl/hbcurl.c + Comment extended regarding libcurl version requirement. + Added version guard (not currently effective). 2008-06-02 11:34 UTC+0100 Viktor Szakats * source/vm/extrap.c ! Blind fix for OS/2. 2008-06-02 02:36 UTC+0100 Viktor Szakats * contrib/hbsqlit3/hbsqlit3.c ! Removed Windows API dependencies (MessageBox() -> HB_TRACE()) % Minor opt. 2008-06-02 02:21 UTC+0100 Viktor Szakats * contrib/hbw32/w32_prn.c * contrib/hbhpdf/harupdf.c ! Fixed to not GPF in garbage collector if objects were explicitly released by caller using HPDF_FREE(), WIN32_DELETEDC(). * contrib/hbw32/w32_prn.c % Minor opt. * Formatting. * contrib/hbcurl/hbcurl.c % Minor opt. 2008-06-02 00:34 UTC+0100 Viktor Szakats * doc/whatsnew.txt + Added some recent stuff. * contrib/xhb/hbcompat.ch + hb_FSize() <-> FileSize() * contrib/hbcurl/hbcurl.c ! Fixed typo. 2008-06-01 23:56 UTC+0100 Viktor Szakats * include/hbvm.h * source/vm/hvm.c * source/vm/extrap.c ! Fixed OS/2 problem reported by David. (BTW, do we need really need to remove the exception handler before exiting? If yes, shouldn't we do the same under Win32?) * source/common/hbstr.c ! Silenced one 'loss of significant digit' BCC warning. 2008-06-01 17:35 UTC+0100 Viktor Szakats * contrib/hbsqlit3/hbsqlit3.c - Not needed to #include "sqlite3/sqlite3.h" if we've already #included "sqlite3/sqlite3.c" 2008-06-01 17:31 UTC+0100 Viktor Szakats * contrib/make_b32_all.bat * contrib/make_vc_all.bat * contrib/make_gcc_all.sh + contrib/hbsqlit3 + contrib/hbsqlit3/Makefile + contrib/hbsqlit3/make_b32.bat + contrib/hbsqlit3/make_vc.bat + contrib/hbsqlit3/make_gcc.sh + contrib/hbsqlit3/common.mak + contrib/hbsqlit3/hbsqlit3.c + contrib/hbsqlit3/hbsqlit3.ch + contrib/hbsqlit3/sqlite3/sqlite3.c + contrib/hbsqlit3/sqlite3/sqlite3.h + contrib/hbsqlit3/tests/bld_b32.bat + contrib/hbsqlit3/tests/bld_vc.bat + contrib/hbsqlit3/tests/blob.prg + contrib/hbsqlit3/tests/pack.prg + contrib/hbsqlit3/tests/metadata.prg + contrib/hbsqlit3/tests/sqlite3_test.prg + Added Harbour interface for SQLite 3.x. Thanks goes to Petr Chornyj <myorg63/at/mail.ru> for creating this code and making it available for this project. (The code also based on Alejandro de Garate <alex_degarate/at/hotmail.com> SQLite 2 interface work) + Added make files, arranged std contrib layout. * Renamed header, source and lib name to comply with 8.3 rules. + Added to 'all' make files. + Added foreign SQLite 3.5.9 (amalgamation) latest version source code to the repository. Compiles with lots of warnings under BCC and doesn't compile in C++ mode in MSVC (due to missing casts). ; We may remove foreign code once the warnings has been fixed and retrofitted in the original package. Since the two required files are simply #included in the Harbour source code, moving them anywhere, or accessing them from anywhere is a matter of -I switch. ; FIXME: - Replace MessageBox() with RTE or HB_TRACE(). - Remove HB_OS_WIN_32_USED dependency. - Review if __XHARBOUR__ branches are indeed necessary. 2008-06-01 16:44 UTC+0100 Viktor Szakats * tests/Makefile - tests/testhbf.prg + contrib/hbmisc/tests/testhbf.prg * Moved to its place. * contrib/hbcurl/hbcurl.c * contrib/hbcurl/hbcurl.ch * contrib/hbcurl/make_b32.bat * contrib/hbcurl/make_vc.bat * contrib/hbcurl/make_gcc.sh * Minor. 2008-06-01 13:50 UTC+0100 Viktor Szakats * contrib/hbcurl/hbcurl.ch ! Few typos. 2008-06-01 13:40 UTC+0100 Viktor Szakats * contrib/hbcurl/hbcurl.c ! Fixed FIXME1 from the previous entry. 2008-06-01 13:26 UTC+0100 Viktor Szakats * source/vm/extrap.c ! Fixed missing header for OS/2. * source/vm/classes.c ! Minor fix in internal error text. * contrib/hbcurl/make_b32.bat * contrib/hbcurl/make_vc.bat * contrib/hbcurl/hbcurl.c * contrib/hbcurl/hbcurl.ch * contrib/hbcurl/tests/ftp_uldl.prg ! non-GNU make will also look into the /bin folder for .dlls. ! Lots of fixes, too many to mention. + Enabled GC pointers. (see FIXME though) + Added all remaining CURL 'easy' API parts and implemented all options existing in 7.18.1: + All option values (except bit-level ones) made available in hbcurl.ch + All options updated to latest CURL version in hbcurl.ch + All error codes made available in hbcurl.ch + CURL_EASY_DUPLICATE() + CURL_EASY_RESET() + CURL_EASY_PAUSE() + CURL_EASY_SEND() (not yet available in stable builds) + CURL_EASY_RECV() (not yet available in stable builds) + CURL_EASY_GETINFO() + CURL_ESCAPE() (obsolete) + CURL_UNESCAPE() (obsolete) + CURL_GETDATE() ; FIXME1: Could someone look at it? In case I call the destructor (curl_easy_cleanup()) manually, the garbage collector will run into an invalid pointer, when terminating the test program. ; FIXME2: The casting to 'curl_off_t' goes wrong. Could someone help? ; NOTE1: Harbour needs at least libcurl 7.17.0. Unfortunately compile time version detection is not working at this time, so try with the latest version 7.18.1. ; NOTE2: Most callback interfaces are not implemented on the Harbour level. ; NOTE3: Harbour is currently not optimizing "<const1> ** <const2>" type of expressions at compile time. Could we add it? This expression is not widespread, but anyways, it cannot hurt, if isn't too much work to do. 2008-05-31 21:00 UTC+0100 Viktor Szakats * contrib/hbcurl/hbcurl.c * contrib/hbcurl/tests/ftp_uldl.prg + Using hb_fsReadLarge()/hb_fsWriteLarge() + Added redefinitiion of memory allocator functions. (doesn't work, disabled. hb_xgrab() is getting ptrs not allocated by us.) ! Fixes handling of size options in CURL_EASY_SETOPT(). + CURL_VERSION() + CURL_VERSION_INFO() + CURL_EASY_STRERROR() + CURL_SHARE_STRERROR() + CURL_EASY_ESCAPE() (see FIXME) + CURL_EASY_UNESCAPE() (see FIXME) + Test app extended. * Renames. ; Added several more FIXMEs. * source/rtl/tget.prg * Minor formatting. 2008-05-31 15:37 UTC+0100 Viktor Szakats * contrib/rddads/adsfunc.c * contrib/rddads/ads1.c ! Replaced AdsShowError() calls with HB_TRACE() ones. DEBUG guards removed. ! Minor fixes in HB_TRACE messages. * contrib/rddads/adsmgmnt.c * Minor formatting. * contrib/hbcurl/hbcurl.c * contrib/hbcurl/tests/ftp_uldl.prg * Minor changes. 2008-05-31 14:44 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbmacro.ch * harbour/source/vm/macro.c * harbour/source/vm/hvm.c - removed HB_MACRO_STATEMENTS and HB_SM_PREPROC 2008-05-31 13:15 UTC+0100 Viktor Szakats * contrib/hbcurl/hbcurl.c * contrib/hbcurl/tests/ftp_uldl.prg + Using Harbour FS API. ! Minor fix in uploaded file name. * contrib/make_b32_all.bat * contrib/make_gcc_all.sh * contrib/make_vc_all.bat + Added to 'all' makefiles. 2008-05-31 12:46 UTC+0100 Viktor Szakats + contrib/hbcurl + contrib/hbcurl/Makefile + contrib/hbcurl/make_b32.bat + contrib/hbcurl/make_vc.bat + contrib/hbcurl/common.mak + contrib/hbcurl/make_gcc.sh + contrib/hbcurl/hbcurl.ch + contrib/hbcurl/hbcurl.c + contrib/hbcurl/tests + contrib/hbcurl/tests/bld_b32.bat + contrib/hbcurl/tests/bld_vc.bat + contrib/hbcurl/tests/ftp_uldl.prg + Added hbcurl - CURL interface library. ; Based on original work of Luiz Rafael Culik / xhb, but heavily reworked and fixed, and still a work in progress. 2008-05-31 11:30 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/debug/debugger.prg * removed some unused var, formatting * harbour/source/pp/ppcore.c * harbour/source/common/expropt1.c * harbour/source/common/expropt2.c * harbour/source/common/hbdate.c * casting * harbour/source/common/hbstr.c * casting * use HB_ISSPACE() instead of isspace() for strict Clipper compatibility * harbour/source/compiler/harbour.y * harbour/source/compiler/harbour.yyc ! never use 'char' to 'int' casting for parameters of toupper()/to*()/isuper()/is*() functions 2008-05-31 09:57 UTC+0100 Viktor Szakats * include/hbdefs.h * For __BORLANDC__: _declspec( dllexport ) -> __declspec( dllexport ) _declspec( dllimport ) -> __declspec( dllimport ) to suppress warning: Non-ANSI keyword used: '_declspec'. NOTE1: This warning could be normally seen when compiling contrib/rddads/ads1.c, or creating a .dll build of Harbour, after the recent addition of -w switch to enable BCC warnings. NOTE2: Neither look like ANSI C, and both are undocumented in BCC. ; Please test. * include/hberrors.h * source/compiler/hbgenerr.c + Pointless historical surprise added. * contrib/mtpl_b32.mak - Removed duplicate -d switch. * contrib/rddads/ads1.c + Empty line. * TODO - Removed TBrowse() item. 2008-05-30 22:06 UTC+0100 Viktor Szakats * source/pp/ppcore.c * "hb_inLine" -> "hb_inline" * source/hbpcre/_hbconf.h + Added #pragma warn -sig (-w-sig-) * source/common/hbverdsp.c * source/compiler/hbusage.c * Minor adjustments to compatible product names. 2008-05-30 19:32 UTC+0100 Viktor Szakats * source/rtl/accept.c * Minor format. * contrib/hbfbird/readme.txt + Added SVN header. * contrib/hbvpdf/hbvpdf.prg * contrib/hbvpdf/hbvpdf.ch * contrib/hbvpdf/tests/pdf_demo.prg + contrib/hbvpdf/readme.txt + Updated to latest 0.8 version. + Added readme.txt (including revision log) from original package. 2008-05-30 18:10 UTC+0100 Viktor Szakats * include/hbsetup.h * include/hbinit.h * source/compiler/harbour.yyc * source/compiler/harbour.y * HARBOUR_YYDEBUG -> HB_YYDEBUG (do we need this? it's a synomym for YYDEBUG) * HARBOUR_STRICT_ANSI_C -> HB_STRICT_ANSI_C (do we need this?) + HB_PCRE_REGEX added. + HB_PCRE_REGEX_BCC added. + HB_POSIX_REGEX added. - HB_MACRO_STATEMENTS 2008-05-30 17:36 UTC+0100 Viktor Szakats * source/common/hbverdsp.c * Some cleanups on appearance. * Company names removed (except CA). * contrib/rddads/adsmgmnt.c * Minor formatting. + contrib/examples/dbu/hb_dbu.dif * contrib/examples/dbu/bld_b32.bat * contrib/examples/dbu/readme.txt + Added .dif file with a patch fixing some multiplatforms issues in original dbu source. It's a quick hack, I might have missed something, and I didn't do any testing. Add your own fix, if you have some. * DBU_DIR -> HB_DIR_DBU * make_b32.mak * contrib/mtpl_b32.mak * config/w32/bcc32.cf + Added following switches for BCC: -d: merge duplicate strings (was enabled already in GNU make) -w: enable warnings. -w-sig-: disable 'Conversion may lose significant digits' warnings. 2008-05-30 12:17 UTC+0100 Viktor Szakats * include/hbdefs.h - Removed WIN32_LEAN_AND_MEAN to make things more standard. We're losing some compile time performance for Windows build, but it's marginal. Runtime performance is not affected. * contrib/hbgd/gdwrp.c * Removed BCC55 hack to workaround WIN32_LEAN_AND_MEAN problem. 2008-05-30 12:05 UTC+0100 Viktor Szakats * include/hbsetup.ch * include/hbsetup.h * source/common/hbverdsp.c * source/vm/arrays.c - HB_FUNC_CALLCONV - no longer used. - HARBOUR_OBJ_GENERATION - no longer used. + Added profiler setting to build info. - YACC debug setting removed from build info. * Build info strict compatibility line now says 5.2e/5.3b. * HB_EXTENSION renamed to "non-portable extension" - HB_COMP_STRONG_TYPES - no longer used. - HB_FIX_ACOPY_BUG Replaced with an HB_C52_STRICT guard, but locally overridden to always be strict (thus replicating the bug). This means no change in functionality for default builds. In any ways this is not a decision to make by Harbour users. If anyone had this locally #defined anyway, pls shout. ; NOTE: It's nice that I'm removing unused stuff, but my impression is that by time we have added quite some new such settings burried in the code, so if you're aware of any such ones, please add them to hbsetup.h (or let's discuss which ones to add). 2008-05-30 11:48 UTC+0100 Viktor Szakats * contrib/hbgd/gdwrp.c * Tweaked the BCC55 hack for WIN32_LEAN_AND_MEAN and gd.h. 2008-05-30 09:42 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/extrap.c ! disabled SetUnhandledExceptionFilter() for WinCE builds * harbour/contrib/hbole/ole2.c * cleaned compilation in different env C/C++/UNICODE/compilers * harbour/contrib/hbw32/w32_ole.c * harbour/contrib/hbole/ole2.c * harbour/contrib/gtwvg/gtwvg.h ! do not use HB_ID_REF() for _WIN64 - I would like to ask someone with Win64 to verify current Harbour build status? 2008-05-30 09:29 UTC+0100 Viktor Szakats * contrib/hbapollo/apollo.c ! Added __BORLAND__ specific hack to suppress numerous non-ANSI warnings in foreign header. (#define _declspec __declspec) * contrib/hbapollo/apollo1.prg + File ending CRLF. * contrib/hbgd/gdwrp.c ! Fixed to explicitly include <windows.h> for __BORLANDC__ only. The reason for this hack is still unknwown, if anyone could help to investigate this, it would be great. 2008-05-30 03:47 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/hbgtcore.c * removed unnecessary variable * harbour/contrib/hbw32/w32_ole.c * harbour/contrib/hbole/ole2.c * harbour/contrib/gtwvg/gtwvg.h ! use trick with HB_ID_REF() only for BCC and MSVC some other C++ compilers like OpenWatcom have different header files and does not need it. 2008-05-30 02:48 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbvm.h * harbour/source/vm/hvm.c * harbour/source/vm/extrap.c * moved code to set exception handler from hvm.c to extrap.c + added void hb_vmSetExceptionHandler( void ) to set exception filter ! fixed problem with C++ builds caused by missing extern "C" declaration for exception handlers in extrap.c 2008-05-30 01:54 UTC+0100 Viktor Szakats * contrib/make_b32_all.bat * contrib/make_vc_all.bat * contrib/hbmysql/make_b32.bat * contrib/hbmysql/make_vc.bat * contrib/hbfbird/make_b32.bat * contrib/hbfbird/make_vc.bat * contrib/hbapollo/make_b32.bat * contrib/hbapollo/make_vc.bat * contrib/hbhpdf/make_b32.bat * contrib/hbhpdf/make_vc.bat * contrib/hbpgsql/make_b32.bat * contrib/hbpgsql/make_vc.bat * contrib/rddads/make_b32.bat * contrib/rddads/make_vc.bat * contrib/hbfimage/make_b32.bat * contrib/hbfimage/make_vc.bat * contrib/hbgd/make_b32.bat * contrib/hbgd/make_vc.bat * Some internal envvars are now cleared on exit. * Some internal envvar names standardized (-> _HB_*). 2008-05-30 01:36 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbct/files.c ! fixed memory leak in FILEDELETE() reported by Ed - thanks. 2008-05-30 00:15 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/estack.c * declare hb_stack as static variable when HB_STACK_MACROS is disabled to be sure that non extern code will access hb_stack It's very important to eliminate such code before we add MT support. * harbour/source/vm/hvm.c * changed hb_vmFrame() to work in the same way as hb_vmVFrame() * harbour/source/rtl/hbgtcore.c ! fixed wrong clear column in right horizontal scrolling * harbour/source/rtl/memoedit.prg * use hb_inkeySetLast( n ) instead of KEYBOARD Chr( n ) ; InKey() 2008-05-29 20:56 UTC+0100 Viktor Szakats * make_b32.mak - HB_NO_BCC_MAX_OPENFILES_HACK - no longer used. * include/hbsetup.h - HB_ASORT_OPT_ITEMCOPY - no longer used. - HB_FAST_STOD - no longer used. 2008-05-29 20:38 UTC+0100 Viktor Szakats * source/rtl/dateshb.c * source/rtl/datesx.c % Reworked to be a bit faster than non-HB_FAST_STOD. - Removed HB_FAST_STOD build time option, because it wasn't safe. It caused reaching into undefined buffers when passed string was shorter than 8 chars. 2008-05-29 20:20 UTC+0100 Viktor Szakats * source/vm/hvm.c * Minor formatting. + source/vm/extrap.c + Added. Now for real. Thanks Luis. 2008-05-29 19:31 UTC+0100 Viktor Szakats * common.mak * source/vm/Makefile * source/vm/mainwin.c * source/vm/estack.c + source/vm/extrap.c * source/vm/hvm.c * Rearranged/cleaned up exception handlers. * Renamed OS/2 one to comply with namespace rules. * Moved from estack.c/mainwin.c to extrap.c and hvm.c. * win32 ex.handler now enabled by default at HVM startup. * win32 ex.handler now writes exception info into hb_ex.log. * win32 ex.handler now pops up a MessageBox() by default. We should consider removing this but currently the default Windows handler kicks in anyway, which is also a GUI dialog. ; TODO: A common way to log these errors across all platforms. ; NOTE: HB_INCLUDE_WINEXCHANDLER is not used by Harbour anymore. ; NOTE: Please test OS/2 2008-05-29 17:37 UTC+0100 Viktor Szakats * contrib/hbmysql/make_gcc.sh * contrib/hbmysql/make_b32.bat * contrib/hbmysql/make_vc.bat * contrib/make_b32_all.bat * contrib/make_gcc_all.sh * contrib/hbfbird/make_gcc.sh * contrib/hbfbird/make_b32.bat * contrib/hbfbird/make_vc.bat * contrib/hbapollo/make_gcc.sh * contrib/hbapollo/make_b32.bat * contrib/hbapollo/make_vc.bat * contrib/make_vc_all.bat * contrib/hbhpdf/make_gcc.sh * contrib/hbhpdf/make_b32.bat * contrib/hbhpdf/make_vc.bat * contrib/hbpgsql/make_gcc.sh * contrib/hbpgsql/make_b32.bat * contrib/hbpgsql/make_vc.bat * contrib/rddads/make_gcc.sh * contrib/rddads/make_b32.bat * contrib/rddads/make_vc.bat * contrib/hbfimage/make_gcc.sh * contrib/hbfimage/make_b32.bat * contrib/hbfimage/make_vc.bat * contrib/hbgd/make_b32.bat * contrib/hbgd/make_gcc.sh * contrib/hbgd/make_vc.bat * Changed envvars pointing to external packages to comply with our own rules: APOLLO_DIR -> HB_DIR_APOLLO FIREBIRD_DIR -> HB_DIR_FIREBIRD FREEIMAGE_DIR -> HB_DIR_FREEIMAGE GD_DIR -> HB_DIR_GD MYSQL_DIR -> HB_DIR_MYSQL PGSQL_DIR -> HB_DIR_PGSQL ADS_DIR -> HB_DIR_ADS LIBHARU_DIR -> HB_DIR_LIBHARU (same rule for <package>_INC -> HB_INC_<package>) Sorry folks, but you'll need to update your env. (I can send a 'gsar' script to help that) + Added option for non-GNU BCC/VC contrib makes to accept HB_INC_<package> format envvars to specify the include dir only, so that we're now in sync with the non-GNU GCC build system (make_gcc.sh). ; TODO: HB_LIB_<package> (or HB_BIN_<package>) is still to be done any .dll/.lib handling. 2008-05-29 17:02 UTC+0100 Viktor Szakats * source/rtl/tget.prg * ::picture(), ::PutMask(), ::unTransform() moved next to each other for easier editing/fixing. * common.mak - source/common/hbfhnd.c * source/common/Makefile - Removed file not used by Harbour anymore. * contrib/hbole/ole2.c ! Fixed OLE C++ errors under MSVC. Using Przemek's method. ; FIXME: This one is still left: .\ole2.c(714) : error C2664: 'HRESULT (IUnknown *,const IID &,void **)' : cannot convert parameter 2 from 'LPIID' to 'const IID &' Reason: cannot convert from 'LPIID' to 'const IID' No constructor could take the source type, or constructor overload resolution was ambiguous 2008-05-29 11:45 UTC+0100 Viktor Szakats * tests/rto_get.prg + Some tests added. + Some older tests fixed and enabled (they made C5.x crash). * source/rtl/tget.prg + Some notes about C5.x crash behaviour. ! Formatting/indentation fixes. % Minor optimizations. * contrib/xhb/Makefile * contrib/xhb/common.mak ! Added hbfast.h, hbxml.h * contrib/hbfimage/fi_wrp.c ! Fixed two BCC warnings in new code. * contrib/hbgd/gdwrp.c ! Changed to generate proper extern references even for BCC. Now tests compile OK. The trick was to explicitly #include <windows.h> before all the other headers, instead of just requesting it using HB_OS_WIN_32_USED. * contrib/hbfimage/fi_winfu.c * contrib/hbfimage/fi_wrp.c * contrib/hbgd/gdwrp.c * contrib/hbct/ct.h * contrib/hbpgsql/postgres.c - Removed #defining _CLIPDEFS_H. It's only needed when using Clipper compatibility API headers (*.api, extend.h). 2008-05-29 03:01 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/gtwvg/gtwvg.h * harbour/contrib/gtwvg/wvtcore.c * harbour/contrib/hbw32/w32_ole.c ! fixed compilation in C++ mode 2008-05-28 22:41 UTC+0100 Viktor Szakats * source/hbpcre/cnv_o2hb.bat * source/hbpcre/cnv_hb2o.bat + Added LICENSE * contrib/hbfimage/tests/fitest.prg * contrib/hbfimage/fi_wrp.c + Added FI_LOADFROMMEM(), FI_GETFILETYPEFROMMEM() ; Borrowed from Pavel Tsarenko / xhb. * contrib/hbclipsm/gauge.c % Minor rearrangement. * contrib/hbmysql/make_vc.bat ! #defining __WIN32__ to make it build under VC. ; NOTE: C++ builds of everything related to OLE2 are broken. Could someone look into it? (hbw32, gtwvg, hbole under BCC and MSVC) 2008-05-28 21:53 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/Makefile * respect HB_WITHOUT_ODBC and HB_WITHOUT_ADS envvars * harbour/debian/control * harbour/make_deb.sh * removed libncurses5-dev, libslang2-dev, libgpmg1-dev, libx11-dev and unixodbc-dev from dependences list. + added support for HB_COMMERCE=yes envvar + added automatic detection for curses, slang, gpm, x11 and odbc devel packages + added test for ACESDK detection - it tests if ach.h file exists in default user or system wide installation The above modifications are not tested and I would like to ask Debian/Ubuntu users to make necessary tests. 2008-05-28 18:42 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/hbzlib/ChangeLog * harbour/source/hbzlib/zutil.c * harbour/source/hbzlib/gzio.c * harbour/source/hbzlib/zutil.h * harbour/source/hbzlib/zconf.h * use _WINCE macro instead of _WIN32_WCE to detect WinCE builds defining _WIN32_WCE interacts with header files and should be left for user to specify exact WinCE version 2008-05-28 16:37 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/harbour-ce-spec * harbour/harbour-w32-spec * harbour/harbour.spec * harbour/make_rpmce.sh * harbour/make_rpmw32.sh * harbour/make_rpm.sh * removed --with zlib switch - now zlib will be created in all builds * added hbzlib library * added hbmzip library - MiniZIP wrapper to manage ZIP files * harbour/contrib/Makefile * added hbmzip library to default builds * harbour/include/hbzlib.h ! changed \ in include path ! added relative paths for LCC and XCC * harbour/bin/hb-func.sh * updated for hbzlib library in core code and hbmzip in contrib * harbour/utils/hbdot/Makefile * harbour/utils/hbrun/Makefile * added hbzlib library to linked library list * harbour/include/hbzlib.h * harbour/bin/hb-func.sh * harbour/make_gcc.mak * harbour/config/darwin/gcc.cf * harbour/config/hpux/gcc.cf * harbour/config/linux/gcc.cf * harbour/config/sunos/gcc.cf * harbour/config/bsd/gcc.cf * harbour/utils/hbdot/Makefile * harbour/utils/hbrun/Makefile + added support for compilation with HB_EXT_ZLIB macro It forces using external (OS) ZLIB library instead of hbzlib. Still some other make files should be updated to respect it. 2008-05-28 14:42 UTC+0100 Viktor Szakats * bin/bld.bat * bin/bld_os2.cmd + Added hbzlib + Added hbpcre for OS/2. - contrib/hbzlib - Removed. 2008-05-28 14:33 UTC+0100 Viktor Szakats * common.mak * include/Makefile + include/hbzlib.ch + include/hbzlib.h * include/hbextern.ch + source/rtl/hbzlib.c * source/rtl/Makefile * contrib/make_b32_all.bat * contrib/make_vc_all.bat * contrib/make_gcc_all.sh * contrib/Makefile + contrib/hbmzip + contrib/hbmzip/Makefile + contrib/hbmzip/common.mak + contrib/hbmzip/make_b32.bat + contrib/hbmzip/make_vc.bat + contrib/hbmzip/make_gcc.sh + contrib/hbmzip/hbmzip.ch + contrib/hbmzip/ioapi.c + contrib/hbmzip/zip.c + contrib/hbmzip/unzip.c + contrib/hbmzip/ioapi.h + contrib/hbmzip/crypt.h + contrib/hbmzip/zip.h + contrib/hbmzip/unzip.h + contrib/hbmzip/hbmzip.c + contrib/hbmzip/readme.txt + contrib/hbmzip/tests + contrib/hbmzip/tests/bld_b32.bat + contrib/hbmzip/tests/bld_vc.bat + contrib/hbmzip/tests/myzip.prg + contrib/hbmzip/tests/myunzip.prg + Added hbzlib.h which is a simple wrapper to source/hbzlib/zlib.h. * Moved ZLIB specific Harbour wrappers and header from /contrib/hbzlib to /source/rtl. + Added /contrib/hbmzip lib based on /contrib/hbzlib. Copy + modify was used to keep the repo history. hbmzip contains all the MiniZip parts from former /contrib/hbzlib. New hbmzip header file: hbmzip.ch + Added new Harbour level zip functions to hbextern.ch. ; TODO: Remove /contrib/hbzlib, add core hbzlib to lib lists. 2008-05-28 13:33 UTC+0100 Viktor Szakats * source/hbzlib/ChangeLog * source/hbzlib/adler32.c * source/hbzlib/compress.c * source/hbzlib/crc32.c * source/hbzlib/deflate.c * source/hbzlib/gzio.c * source/hbzlib/infback.c * source/hbzlib/inffast.c * source/hbzlib/inflate.c * source/hbzlib/inftrees.c * source/hbzlib/trees.c * source/hbzlib/uncompr.c * source/hbzlib/zconf.h * source/hbzlib/zutil.c + Added modified ZLIB sources, with many tweaks to compile cleanly under Harbour. Thanks to Przemek for it. + source/hbpcre/LICENCE + source/hbzlib/README + Added legal text to foreign libs. 2008-05-28 13:29 UTC+0100 Viktor Szakats * common.mak * make_b32.mak * make_vc.mak * make_vcce.mak * make_gcc.mak * source/Makefile + source/hbzlib + source/hbzlib/ChangeLog + source/hbzlib/adler32.c + source/hbzlib/compress.c + source/hbzlib/crc32.c + source/hbzlib/crc32.h + source/hbzlib/deflate.c + source/hbzlib/deflate.h + source/hbzlib/gzio.c + source/hbzlib/infback.c + source/hbzlib/inffast.c + source/hbzlib/inffast.h + source/hbzlib/inffixed.h + source/hbzlib/inflate.c + source/hbzlib/inflate.h + source/hbzlib/inftrees.c + source/hbzlib/inftrees.h + source/hbzlib/Makefile + source/hbzlib/trees.c + source/hbzlib/trees.h + source/hbzlib/uncompr.c + source/hbzlib/zconf.h + source/hbzlib/zlib.h + source/hbzlib/zutil.c + source/hbzlib/zutil.h + Added unmodified ZLIB sources to Harbour core. + Added them to make systems. ; Work in progress. 2008-05-28 12:30 UTC+0100 Viktor Szakats * source/rtl/tget.prg % Flow cleanup. 2008-05-28 11:48 UTC+0100 Viktor Szakats * source/rtl/tget.prg ! Fixed ::unTransform() padding for strings with @R picture. (Edmer Issue #1) ! Fixed ::unTransform() to not use the "Chr( 1 )" hack to remove certain chars from string. (there is still one such remaining) ! Fixed ::unTransform() padding with zero decimals for numerics. This cleared some differences in rto_get.prg. ! Fixed ::toDecPos() to not crash with non-numeric vars. - Removed some Xbase++ specific code which is not needed for Harbour. - Removed some other unnecessary code dealing with '.'/',' swapping. % Minor cleanups. ; WARNING! Please test these with real code, as we have no extensive regression test suite for the above code parts. * tests/rto_get.prg + Added some test cases (and counter test cases) for problems reported by Edmer. * source/hbpcre/cnv_o2hb.bat * source/hbpcre/cnv_hb2o.bat ! Fix for potential s&r problem. (not adapted to converted code yet) * contrib/xhb/Makefile * contrib/xhb/common.mak + contrib/xhb/xstrdel.c + STRDEL() added from Walter Negro / xhb. * contrib/rddads/adsfunc.c + Minor correction to HB_TRACE handling. * contrib/hbfimage/fi_winfu.c % Removed unused var. 2008-05-28 11:48 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbrdddbf.h * harbour/include/hbapirdd.h * harbour/source/rdd/workarea.c * harbour/source/rdd/dbcmd.c * harbour/source/rdd/dbf1.c * harbour/source/rdd/dbfcdx/dbfcdx1.c * harbour/source/rdd/dbffpt/dbffpt1.c * harbour/source/rdd/usrrdd/usrrdd.c * harbour/contrib/rddads/ads1.c * harbour/contrib/hbbmcdx/bmdbfcdx1.c + added ULONG ulConnection parameter to DROP() and EXISTS() RDD node methods + added 4th parameter with ulConncetion index to [HB_]DBDROP() and [HB_]DBEXISTS() functions 2008-05-27 22:49 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/make_deb.sh ! fixes suggested by Guy Roussin 2008-05-27 22:36 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/harbour-ce-spec * harbour/harbour-w32-spec * harbour/harbour.spec * added hbvpdf library 2008-05-27 17:11 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/idle.c * updated included header files * removed unnecessary separated code for MacOSX * small modification in comment * harbour/source/hbpcre/pcreinal.h ! do not redefine BOOL type and TRUE / FALSE definitions * harbour/source/hbpcre/_hbpcreg.c * remap memory functions to Harbour core ones * harbour/source/hbpcre/pcrevutf.c * harbour/source/hbpcre/pcreoutf.c * harbour/source/hbpcre/pcrecomp.c * pacify warnings when utf8 mode is disabled * harbour/source/hbpcre/pcrefind.c * casting * harbour/contrib/gtwvg/wvtutils.c * harbour/contrib/rddads/adsfunc.c * cleanup warnings 2008-05-27 09:43 UTC+0100 Viktor Szakats * include/hbapi.h * source/vm/hvm.c * source/vm/cmdarg.c + Added support for internal switch format: --hb:<internal switch> //hb:<internal switch> Both are equivalent to original CA-Cl*pper: //<internal switch> 2008-05-27 04:15 UTC+0100 Viktor Szakats * make_vc.mak - No longer explicily defining WIN32, __WIN32__, __WINDOWS__ macros. 2008-05-27 04:10 UTC+0100 Viktor Szakats * contrib/hbwhat32/_windlg.c * contrib/hbole/ole2.c * contrib/hbfbird/firebird.c * contrib/hbziparch/zipnew.cpp * contrib/hbziparch/hbcomprs.c * contrib/hbnf/dispc.c * contrib/gtwvg/wvtutils.c * contrib/hbfimage/fi_winfu.c * contrib/hbfimage/fi_wrp.c ! MSVC errors and warnings fixed. ; FIXME: Several of them remain. Some contribs don't compile (gtwvg, hbole, hbw32) at all in C++ mode. * contrib/mtpl_vc.mak - No longer explicily defining WIN32, __WIN32__, __WINDOWS__ macros. 2008-05-27 03:10 UTC+0100 Viktor Szakats * bin/bld.bat + MSVC now sets the lib dir globally, so lib names don't need to contain the path anymore. * source/vm/fm.c * Minor cleanup. - contrib/hbgd/tests/bldtest.sh + contrib/hbgd/tests/bld.sh * Update, cleanup, SVN header. 2008-05-27 03:08 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/tbrowse.prg ! fixed cursor positioning when it's moved faster then record buffer refreshed. It should also fix flickering problem reported by Viktor - please test. 2008-05-26 16:59 UTC+0100 Viktor Szakats * common.mak * source/hbpcre/Makefile * source/hbpcre/chartabs.c -- changes * source/hbpcre/config.h * source/hbpcre/pcre.h * source/hbpcre/pcrecomp.c * source/hbpcre/pcreconf.c * source/hbpcre/pcredfa.c * source/hbpcre/pcreexec.c * source/hbpcre/pcrefind.c * source/hbpcre/pcrefinf.c * source/hbpcre/pcreget.c * source/hbpcre/pcreinal.h * source/hbpcre/pcreinfo.c * source/hbpcre/pcremktb.c * source/hbpcre/pcreoutf.c * source/hbpcre/pcrerefc.c * source/hbpcre/pcrestud.c * source/hbpcre/pcretabs.c * source/hbpcre/pcretryf.c * source/hbpcre/pcrever.c * source/hbpcre/pcrevutf.c * source/hbpcre/pcrexcls.c * source/hbpcre/ucp.h * source/hbpcre/ucpinter.h - source/hbpcre/pcreglob.c -- renames + source/hbpcre/_hbpcreg.c - source/hbpcre/pcreprni.c + source/hbpcre/pcreprni.h - source/hbpcre/ucptable.c + source/hbpcre/ucptable.h + source/hbpcre/_hbconf.h -- new files + source/hbpcre/pcrenewl.c - source/hbpcre/dftables.c -- deletion + Updated to PCRE 7.7 (from 6.3) ; Original code not (yet) modified, so some warnings may appear in foreign code. ; Please test. + source/hbpcre/cnv_hb2o.bat + source/hbpcre/cnv_o2hb.bat + Added batch files to help conversion from original PCRE source files into Harbour, and also to convert back to original to make it easy to spot local changes. 2008-05-26 12:23 UTC+0100 Viktor Szakats * contrib/hbclipsm/gauge.c ! Fixed GPF in GaugeNew(). Old bug. (leak and non-function was a misreport, it was indeed this GPF. Now it works correctly.) 2008-05-26 12:13 UTC+0100 Viktor Szakats * include/hbapi.h * source/vm/extend.c + Added hb_retc_null() which is equivalent to hb_retc( NULL ) and will return an empty string. I opted for this because hb_retc( NULL ) usage is not compatible with CA-Cl*pper _retc(), so it might create problems when writing C code intended for both Clipper and Harbour. * contrib/hbclipsm/stack.c * contrib/hbclipsm/environ.c * contrib/hbclipsm/status.c * contrib/hbclipsm/gauge.c % Optimizations. ; FIXME: GAUGE*() still leaks and doesn't seem to function. * contrib/rddads/adsmgmnt.c % Optimizations (using hb_arraySet*()). ! Fixed typo in ADSMGGETOPENTABLES2(). 2008-05-26 11:26 UTC+0100 Viktor Szakats * contrib/hbmsql/make_b32.bat * contrib/hbmsql/make_vc.bat * contrib/hbmsql/msql.c + Now automatically setting _OS_WIN32, no need to use special CFLAGS anymore. 2008-05-26 11:20 UTC+0100 Viktor Szakats - contrib/hbgd/include - contrib/hbgd/doc/COPYING ! Removed foreign headers. * contrib/hbgd/gdwrp.c ! Minor comment correction. 2008-05-25 17:45 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtwvg/gtwvg.c ! Fixed two resource leaks. 2008-05-25 14:57 UTC+0100 Viktor Szakats * contrib/hbclipsm/date.c ! Fixed internal error in MDY(), DMY(). Thanks Petr. ! DMY() extra space removed. 2008-05-25 02:25 UTC+0100 Viktor Szakats * doc/whatsnew.txt + Uploaded Przemek's detailed 1.1.1 Harbour change listing. ; I've actually committed this accidentally a few days ago, without noticing. I apologize for doing so, and I'm now at least correcting the missing ChangeLog description. (plus those few minor typos I've mentioned on the list) 2008-05-24 14:55 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtwvg/wvtutils.c * Uncommitted previous changes. - hb_arraySet( a, hb_itemPut*(x,*) ) + hb_arraySet*( a,* ) * harbour/contrib/gtwvg/wvtclass.c * CLASS TBrowseWVG() - ::DoConfigure() + ::SetVisible() This method override is more appropriate for the purpose. 2008-05-24 08:45 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtwvg/wvtutils.c ! Wvt_CreateDialogDynamic() ! Wvt_CreateDialogModal() ! Win_GetDlgItemText() ! Win_SetDlgItemText() Fixed memory leak. 2008-05-23 21:56 UTC+0100 Viktor Szakats * source/rtl/browse.prg * source/rtl/getsys53.prg * source/rtl/profiler.prg * source/rtl/tbrowse.prg * source/debug/dbghelp.prg * source/debug/dbgwa.prg * utils/hbextern/hbextern.prg * 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_str.prg * utils/hbtest/rt_stra.prg * utils/hbtest/rt_trans.prg % FUNCTION -> PROCEDURE 2008-05-23 21:25 UTC+0100 Viktor Szakats * source/compiler/hbfunchk.c ! Typo in message. 2008-05-23 08:00 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtwvg/wvtclass.prg * Class TBrowseWVG - METHOD ColumnsSep + METHOD DoConfigure Optimized population of ::aColumnsSep. Thanks Viktor pointing to this direction. 2008-05-23 10:57 UTC+0100 Viktor Szakats * harbour.spec + Added one missing HU translation. 2008-05-23 10:30 UTC+0100 Viktor Szakats * contrib/gtwvg/tests/demowvg.prg * contrib/gtwvg/wvtclass.prg + TBrowseWVT class moved to contrib core, to make it available for all WVT apps. 2008-05-22 19:00 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtwvg/tests/demowvg.prg + CLASS TBrowseWVG FROM TBrowse Subclassed TBrowse to retreive <::aColumnsSep> for WVG browsers to paint column separator lines. Now Wvt*class prompt of main menu works like a charm. /* BTW, new TBrowse is really a wonderful code. Hats off to Przem, once again. */ 2008-05-22 12:20 UTC+0200 Lorenzo Fiorini (lorenzo.fiorini/at/gmail.com) * source/common/hbstr.c * fixed typo in prevoius commit 2008-05-22 10:30 UTC+0100 Viktor Szakats * include/hbextern.ch * source/rdd/dbcmdx.c + Added dbPack() and dbZap() Xbase++ compatibility functions. 2008-05-22 10:10 UTC+0200 Lorenzo Fiorini (lorenzo.fiorini/at/gmail.com) * source/common/hbstr.c * casting for gcc 4.3.0 * source/rtl/idle.c * changed for make it work in Centos 5.1 * source/rtl/hbini.prg * set only = as default key, field separator 2008-05-22 08:30 UTC+0100 Viktor Szakats * hbwhat32/_winsys.c * hbwhat32/_wincomm.c ! Warnings. * source/rtl/net.c ! Fixed GPF in NETNAME() under DOS (in error condition only). ! Fixed GPF in NETNAME()/HB_USERNAME() on unsupported platforms. 2008-05-22 08:00 UTC+0100 Viktor Szakats - contrib/hbmisc/dbftools.c * contrib/hbmisc/common.mak * contrib/hbmisc/Makefile - Removed to avoid collision with similar file in hbct. Notice the content was also similar, except that in hbct it was updated and extended. There was also FIELDTYPE() implemented which was colliding with function with the same name in core. * include/hbextern.ch * source/rdd/dbcmd.c * source/rdd/dbdrop.c * source/rdd/dbexists.c * source/rdd/fieldhb.c + Added HB_ prefixed versions of DBDROP(), DBEXISTS(), FIELDDEC(), FIELDLEN(), FIELDTYPE() * source/rdd/rddinfo.c ! Comment. * tests/multifnc/Makefile ! Updated lib names. * contrib/hbapollo/apollo.c ! Fixed MSVC errors. * contrib/mtpl_b32.bat * contrib/mtpl_vc.bat ! Removed one obsolete line. + Now defines _HB_MAKELOG. * contrib/hbapollo/make_b32.bat * contrib/hbapollo/make_vc.bat * contrib/hbfimage/make_b32.bat * contrib/hbgd/make_b32.bat * contrib/hbhpdf/make_b32.bat * contrib/hbmysql/make_b32.bat * contrib/hbodbc/make_b32.bat * contrib/hbodbc/make_vc.bat * contrib/hbpgsql/make_b32.bat * contrib/hbpgsql/make_vc.bat * contrib/hbw32ddr/make_b32.bat * contrib/hbw32ddr/make_vc.bat * contrib/hbzlib/make_b32.bat * contrib/rddads/make_b32.bat + Redirects .lib creation (implib, lib) output to log file. * contrib/xhb/hbcompat.ch + Added some more conversions for xhb code. * contrib/rddads/ads1.c + Added two TODOs. (to adsDrop and adsExists) * source/pp/hbppgen.c ! MSVC warning fixed. * make_vc.mak ! Typo in prev commit. 2008-05-21 19:30 UTC+0100 Viktor Szakats * source/rdd/dbdrop.c * source/rdd/dbexists.c % Minor opt in source layout. * ChangeLog ! Typos. 2008-05-21 17:45 UTC+0100 Viktor Szakats * harbour.spec + Added HU translation (cpwin). * source/rtl/gtfunc.c % Minor opt. * source/rtl/console.c * source/rtl/fserror.c * source/rtl/strmatch.c * source/rtl/padr.c * source/rtl/hbhex.c * source/rtl/at.c * source/rtl/abs.c * source/rtl/dates.c * source/rtl/padc.c * source/rtl/mod.c * source/rtl/hbrandom.c * source/rtl/filesys.c * source/rtl/padl.c * source/rtl/val.c * source/rtl/hbregex.c * source/vm/runner.c * source/vm/hashes.c * source/vm/itemapi.c * source/vm/hvm.c * source/vm/maindllp.c * source/vm/fm.c * source/vm/arrayshb.c * source/vm/classes.c * source/common/hbtrace.c * Formatting (whitespace only) 2008-05-21 16:30 UTC+0100 Viktor Szakats * make_b32.mak * make_vc.mak * make_vcce.mak + Added HBDOC_LIBS to specify external libs for HBDOC. Only for non-GNU B32/VC/VCCE builds! For non-GNU GCC it's probably LDFLAGS, for GNU it's probably LDLIBS. NOTE: Use full path for the libs. Such dependency is anything but good though (the core build depends on a contrib lib, the contrib lib depends on the core build), so consider this a temporary solution. Moving HBDOC to the contrib area is one possibility, dropping it is another one. ; There is quite a big mess regarding these envvars depending on the type of make system, platform, compiler, etc, that it's almost impossible to document or understand, so maybe it'd be worth a review after the release, and sync all these external flag and dir envvars. * utils/hbdoc/genpdf1.prg ! Fixed warnings in HBDOC_PDF guarded code. 2008-05-21 15:00 UTC+0100 Viktor Szakats * bin/bld.bat * bin/bld_os2.cmd ! Removed trailing backslash from default Harbour bin dirs. * contrib/hbapollo/make_b32.bat * contrib/hbapollo/make_vc.bat * contrib/hbfbird/make_b32.bat * contrib/hbfbird/make_vc.bat * contrib/hbfimage/make_b32.bat * contrib/hbfimage/make_vc.bat * contrib/hbgd/make_b32.bat * contrib/hbgd/make_vc.bat * contrib/hbhpdf/make_b32.bat * contrib/hbhpdf/make_vc.bat * contrib/hbmysql/make_b32.bat * contrib/hbmysql/make_vc.bat * contrib/hbodbc/make_b32.bat * contrib/hbodbc/make_vc.bat * contrib/hbpgsql/make_b32.bat * contrib/hbpgsql/make_vc.bat * contrib/hbw32ddr/make_b32.bat * contrib/hbw32ddr/make_vc.bat * contrib/hbzlib/make_b32.bat * contrib/hbzlib/make_vc.bat * contrib/rddads/make_b32.bat * contrib/rddads/make_vc.bat ! Fixed to handle long *_DIR settings in those contribs where external packages are required. * contrib/gtwvg/tests/bld_b32.bat * contrib/gtwvg/tests/bld_vc.bat * contrib/hbapollo/tests/bld_b32.bat * contrib/hbapollo/tests/bld_vc.bat * contrib/hbclipsm/tests/bld_b32.bat * contrib/hbclipsm/tests/bld_vc.bat * contrib/hbct/tests/bld_b32.bat * contrib/hbct/tests/bld_vc.bat * contrib/hbfbird/tests/bld_b32.bat * contrib/hbfbird/tests/bld_vc.bat * contrib/hbfimage/tests/bld_b32.bat * contrib/hbfimage/tests/bld_vc.bat * contrib/hbgd/tests/bld_b32.bat * contrib/hbgd/tests/bld_vc.bat * contrib/hbgf/tests/bld_b32.bat * contrib/hbgf/tests/bld_vc.bat * contrib/hbhpdf/tests/bld_b32.bat * contrib/hbhpdf/tests/bld_vc.bat * contrib/hbmisc/tests/bld_b32.bat * contrib/hbmisc/tests/bld_vc.bat * contrib/hbmysql/tests/bld_b32.bat * contrib/hbmysql/tests/bld_vc.bat * contrib/hbnf/tests/bld_b32.bat * contrib/hbnf/tests/bld_vc.bat * contrib/hbodbc/tests/bld_b32.bat * contrib/hbodbc/tests/bld_vc.bat * contrib/hbole/tests/bld_b32.bat * contrib/hbole/tests/bld_vc.bat * contrib/hbpgsql/tests/bld_b32.bat * contrib/hbpgsql/tests/bld_vc.bat * contrib/hbtpathy/tests/bld_b32.bat * contrib/hbtpathy/tests/bld_vc.bat * contrib/hbvpdf/tests/bld_b32.bat * contrib/hbvpdf/tests/bld_vc.bat * contrib/hbw32/tests/bld_b32.bat * contrib/hbw32/tests/bld_vc.bat * contrib/hbw32ddr/tests/bld_b32.bat * contrib/hbw32ddr/tests/bld_vc.bat * contrib/hbzlib/tests/bld_b32.bat * contrib/hbzlib/tests/bld_vc.bat * contrib/rddado/tests/bld_b32.bat * contrib/rddado/tests/bld_vc.bat * contrib/rddads/tests/bld_b32.bat * contrib/rddads/tests/bld_vc.bat ! Fixed to honor HB_*_INSTALL envvar settings in bld_*.bats for /tests * contrib/examples/hscript/dir.hs * contrib/examples/hscript/bld_b32.bat - contrib/examples/hscript/makehtm.bat * Cleanup. * contrib/rddads/rddads.h * contrib/rddads/adsfunc.c * contrib/rddads/ads1.c * contrib/rddads/adsmgmnt.c * Header cleanup, minor code opt. * ADS_REQUIRE_VERSION==8 is now equivalent to ADS_LIB_VERSION=810. Brian suggested this is what the majority of users need. See next however. * ADS_REQUIRE_VERSION compatibility handling disabled to make usage and support more straightforward. I'd suggest everyone to remove any old ADS_REQUIRE_VERSION settings, if - and only if - there is a need to force an older version, ADS_LIB_VERSION=??? should be used, where ??? is 810 for ACE 8.10 (for example). 2008-05-21 11:10 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/tbrowse.prg * updated some comments * harbour/source/vm/hvm.c * harbour/source/vm/classes.c * formtting 2008-05-21 03:00 UTC+0100 Viktor Szakats * contrib/hbvpdf/Makefile * contrib/hbvpdf/common.mak * contrib/hbvpdf/hbvpdf.prg * contrib/hbvpdf/hbvpdft.prg + contrib/hbvpdf/hbvpsup.prg - contrib/hbvpdf/tests/fonts.dat + fonts.dat embedded in code (using BASE64 encoding). 2008-05-20 21:06 UTC+0100 Viktor Szakats * contrib/hbvpdf/tests/pdf_demo.prg * contrib/hbvpdf/tests/tstpdf.prg * contrib/hbvpdf/hbvpdft.prg ! TABs -> SPACEs 2008-05-20 20:31 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/hb-func.sh * added HB_USR_LIBS set during build time to list of predefined libs in hb* scripts * harbour/source/rtl/hbgtcore.c ! fixed horizontal scrolling. Warning CTIII does not support horizontal scrolling and ignores 6th scroll parameters. This behavior is intentionally not replicated in CTWIN though it can be easy added if someone will need it but covered with some macro to not change default builds. It will be enough to overload SCROLL() method and set iCol = 0 before calling SUPER_SCROLL(). 2008-05-20 17:15 UTC+0100 Viktor Szakats * contrib/hbvpdf/hbvpdft.prg ! Fixed include filename to be in lower case. Reported by Lorenzo. * contrib/hbhpdf/tests/files/gray.jpg * contrib/hbhpdf/tests/files/rgb.jpg * contrib/hbgd/tests/gdtest.prg * contrib/hbgd/tests/gdtestcls.prg * contrib/hbgd/tests/tostring.prg * contrib/hbgd/tests/images_in/gdlogobig.png - contrib/hbgd/tests/images_in/conv_test.jpeg + contrib/hbgd/tests/images_in/conv_test.jpg ! .jpg cleanup. 2008-05-20 13:30 UTC+0100 Viktor Szakats + contrib/hbvpdf + contrib/hbvpdf/common.mak + contrib/hbvpdf/hbvpdf.prg + contrib/hbvpdf/hbvpdf.ch + contrib/hbvpdf/make_gcc.sh + contrib/hbvpdf/tests + contrib/hbvpdf/tests/fonts.dat + contrib/hbvpdf/tests/files + contrib/hbvpdf/tests/files/color.tif + contrib/hbvpdf/tests/files/test.txt + contrib/hbvpdf/tests/files/color.jpg + contrib/hbvpdf/tests/pdf_demo.prg + contrib/hbvpdf/tests/tstpdf.prg + contrib/hbvpdf/tests/bld_b32.bat + contrib/hbvpdf/tests/bld_vc.bat + contrib/hbvpdf/hbvpdft.prg + contrib/hbvpdf/make_b32.bat + contrib/hbvpdf/make_vc.bat + contrib/hbvpdf/Makefile + Added Viktor K's pure Clipper pdf lib. + Added Pritpal's OOP version. + Added make files, reorged dir layout, named files to avoid collision. + Added minor #define tweak to compile as-is. * Renamed pdf.ch to hbvpdf.ch for above reasons, if this hurts anybody, I will correct it. ! Fixed unused vars and a few other things. ; FIXME: - ShellExecute(), GetDeskTopWindow() dependencies commented out. - fonts.dat dependency is a PITA, so this file should be moved inside the .prg somehow. - There are some hard-wired non portable things like Acrobat executable path. * contrib/Makefile * contrib/make_b32_all.bat * contrib/make_gcc_all.sh * contrib/make_vc_all.bat + hbvpdf added to make systems. 2008-05-20 09:30 UTC+0100 Viktor Szakats * contrib/hbwhat32/wincorec.c ! Removed old-style Clipper comment from C code. * contrib/hbwhat32/_winsys.c ! Fixed unresolved external in SYSTEMPARAMETERSINFO(). 2008-05-20 08:20 UTC+0100 Viktor Szakats * contrib/hbmisc/numtxthu.prg * contrib/hbmisc/numtxten.prg + Updated. * utils/hbmake/hbmake.prg ! Typos. 2008-05-20 02:35 UTC+0100 Viktor Szakats * doc/es/Makefile * doc/whatsnew.txt * source/lang/Makefile * source/rtl/gtcrs/Makefile * source/main/Makefile * source/debug/Makefile * source/codepage/Makefile * source/rdd/hbsix/Makefile * source/compiler/Makefile * contrib/hbgf/os2pm/Makefile * contrib/hbgf/gtk/Makefile * Some TAB/space cleanup. 2008-05-20 02:18 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/compiler/complex.c ! fixed typo in last modification - I chose wrong token 2008-05-19 23:01 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/make_rpm.sh * harbour/harbour.spec * changed --without gpl to --without gpllib * harbour/source/compiler/complex.c * changed END terminal symbol used for END SEQUENCE to ENDSEQ for better error reporting in wrong .prg code 2008-05-19 18:35 UTC+0100 Viktor Szakats * contrib/hbwhat32/Makefile * contrib/hbwhat32/common.mak + contrib/hbwhat32/wincorec.c * contrib/hbwhat32/wincore.prg ! Got rid of begindump/enddump ; No more begindump/enddump in repo. 2008-05-19 18:30 UTC+0100 Viktor Szakats * contrib/hbtpathy/common.mak * contrib/hbtpathy/Makefile * contrib/hbtpathy/telepath.prg + contrib/hbtpathy/tpcommon.c ! Got rid of begindump/enddump 2008-05-19 16:30 UTC+0100 Viktor Szakats * doc/whatsnew.txt + Added first round of whatsnew update. 2008-05-19 11:00 UTC+0100 Viktor Szakats * contrib/rddads/adsfunc.c + ADSSTMTSETTABLELOCKTYPE() + ADSVERIFYSQL() (for ACE 6.20 or upper) + ADSCREATEFTSINDEX() (for ACE 7.00 or upper) ; Thanks to Brian Hays for these functions. 2008-05-19 09:26 UTC+0100 Viktor Szakats * contrib/rddads/Makefile ! Spaces to TABs. 2008-05-19 09:16 UTC+0100 Viktor Szakats + contrib/xhb/usrrdd.ch + contrib/xhb/math.ch + contrib/xhb/classex.ch * contrib/xhb/Makefile * contrib/xhb/common.mak + Some more xhb compatibility. 2008-05-19 09:01 UTC+0100 Viktor Szakats * source/rtl/tget.prg % Minor code optimization. * contrib/rddads/adsfunc.c ! Minor correction. 2008-05-19 00:53 UTC+0100 Viktor Szakats * contrib/hbhpdf/harupdf.c ! Fixed HPDF_READFROMSTREAM() to not directly write into the variable buffer. The function will now return the status code instead of buffer length. The latter can be determined using Len(). 2008-05-19 00:07 UTC+0100 Viktor Szakats * contrib/hbhpdf/harupdf.c ! Fixed to use garbage collector to automatically free HPDF_Doc pointers. The rest of pointers seem to be handled automatically by internal memory manager of libharu. Also note that leaks wouldn't be reported by Harbour, because libharu currently uses memory via std C calls, not via hb_x*() functions. 2008-05-18 22:40 UTC+0100 Viktor Szakats * contrib/hbhpdf/harupdf.c ! Added one FIXME. ! Fixed some casts. 2008-05-18 22:27 UTC+0100 Viktor Szakats * contrib/hbhpdf/harupdf.c + Calling hb_fsNameConv() in filename parameters. Thanks Petr for the suggestion. ! Changed hb_parnl()/hb_retnl() calls to hb_parptr()/hb_retptr() where a "handle" (which is a memory pointer) is passed. ; FIXME: Some of these calls should be changed to the GC version to avoid leaks by bad or interrupted program code. 2008-05-18 20:15 UTC+0100 Viktor Szakats * contrib/hbhpdf/harupdf.c ! Fixed GPFs. Thanks to Petr Chornyj. 2008-05-18 19:09 UTC+0100 Viktor Szakats * contrib/hbhpdf/tests/harupdf.prg ! "\" -> hb_OSPathSeparator(). 2008-05-18 18:58 UTC+0100 Viktor Szakats + contrib/rddads/tests/datad.prg + Added new test program for ADS DD/SQL functionality. Kindly sent by Brian Hays. NOTE: The code will show some errors on SQL execution. I couldn't investigate, but it does the same with older versions of rddads, too. * contrib/rddads/ads1.c ! Two occurences of AdsShowError() calls guarded with DEBUG. This call pops up a visual dialog box on screen and halts execution until this is confirmed by the user. Not very desirable inside RDD code in real life environments. Proper error codes were and are still returned in these cases. * contrib/rddads/adsfunc.c * Final reformat and optimization. ! Fixed to not call AdsShowError() by default, only when DEBUG is #define-d. For about the same reason as above. Caller should use AdsGetLastError() to get the error code and string and present it to the user as required. + QUESTIONs added. * contrib/rddads/adsmgmnt.c * ADSMGGETOPENTABLES() changed to return empty array instead of error code in case of error. This way it now behaves consistently with the rest of the mgmnt functions. Error code and string can be get by the caller using ADSGETLASTERROR(). + ADSMGGETOPENTABLES2() added, which is similar to ADSMGGETOPENTABLES(), but will also return lock type for all tables, this way clearing a long standing TODO in the source. 2008-05-18 09:22 UTC+0100 Viktor Szakats * contrib/rddads/adsfunc.c + QUESTION added. * Formatting. 2008-05-18 09:21 UTC+0100 Viktor Szakats * contrib/hbhpdf/harupdf.c ! Fixed all MSVC warnings. Now builds cleanly. 2008-05-18 08:52 UTC+0100 Viktor Szakats + contrib/hbhpdf/Makefile + contrib/hbhpdf/make_b32.bat + contrib/hbhpdf/make_vc.bat + contrib/hbhpdf/make_gcc.sh + contrib/hbhpdf/common.mak + contrib/hbhpdf/tests/bld_b32.bat + contrib/hbhpdf/tests/bld_vc.bat + Added build/make files. ; Please test GNU make files. * contrib/make_b32_all.bat * contrib/make_gcc_all.sh * contrib/make_vc_all.bat + Added hbhpdf to 'all' make files. (not yet to GNU make files though) - contrib/hbhpdf/tests/<data files> + contrib/hbhpdf/tests/files/<data files> * Data files needed for test app moved to a subdir. * contrib/hbhpdf/tests/harupdf.prg ! Absolute paths changed to relative ones (for both input and output ones). ! NumToHex() -> hb_NumToHex() + hbct added to lib list because test program uses SIN()/COS()/TAN() from it. - contrib/hbhpdf/tests/harupdf.ch + contrib/hbhpdf/harupdf.ch * Moved to main dir. - contrib/hbhpdf/hpdf.h - Removed original libharu header. This will be picked up from the package dir, along with the rest of the .h files. * contrib/hbhpdf/harupdf.ch + Added self-guard. * contrib/hbhpdf/harupdf.c ! Fixed a few BCC warnings. It now builds cleanly. ; NOTE: There are a lot MSVC casting warnings and errors left. ; Many thanks for this contrib to Pritpal Bedi. 2008-05-17 18:45 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com) + harbour/contrib/hbhpdf + harbour/contrib/hbhpdf/harupdf.c + harbour/contrib/hbhpdf/hpdf.h Initial upload of wrappers for HaruPDF Library (https://sourceforge.net/projects/libharu/). + harbour/contrib/hbhpdf/tests + harbour/contrib/hbhpdf/tests/harupdf.prg + harbour/contrib/hbhpdf/tests/harupdf.ch Test program. + harbour/contrib/hbhpdf/tests/32_32_color.dat + harbour/contrib/hbhpdf/tests/32_32_gray.dat + harbour/contrib/hbhpdf/tests/32_32_rgb.dat + harbour/contrib/hbhpdf/tests/a010013l.afm + harbour/contrib/hbhpdf/tests/a010013l.pfb + harbour/contrib/hbhpdf/tests/basn0g01.png + harbour/contrib/hbhpdf/tests/basn0g02.png + harbour/contrib/hbhpdf/tests/basn0g04.png + harbour/contrib/hbhpdf/tests/basn0g08.png + harbour/contrib/hbhpdf/tests/basn2c08.png + harbour/contrib/hbhpdf/tests/basn0g16.png + harbour/contrib/hbhpdf/tests/basn2c16.png + harbour/contrib/hbhpdf/tests/basn3p01.png + harbour/contrib/hbhpdf/tests/basn3p02.png + harbour/contrib/hbhpdf/tests/basn3p04.png + harbour/contrib/hbhpdf/tests/basn3p08.png + harbour/contrib/hbhpdf/tests/basn4a08.png + harbour/contrib/hbhpdf/tests/basn4a16.png + harbour/contrib/hbhpdf/tests/basn6a08.png + harbour/contrib/hbhpdf/tests/basn6a16.png + harbour/contrib/hbhpdf/tests/maskimage.png + harbour/contrib/hbhpdf/tests/cp932.txt + harbour/contrib/hbhpdf/tests/cp936.txt + harbour/contrib/hbhpdf/tests/elic_jp.txt + harbour/contrib/hbhpdf/tests/euc.txt + harbour/contrib/hbhpdf/tests/gray.jpg + harbour/contrib/hbhpdf/tests/rgb.jpg + harbour/contrib/hbhpdf/tests/penguinattack.ttf + harbour/contrib/hbhpdf/tests/sjis.txt Needed files to run the haruprf.prg. Files are pulled from HaruPDF library distribution. /* NOTE! this library need distribution from : https://sourceforge.net/projects/libharu/ The distribution contains libpng.lib and zlib.lib for Windows. Viktor, please put copyright notices and all other necessary batch files to build this library. */ 2008-05-17 15:16 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/pp/hbppgen.c * cleaned code used to locate ChangeLog file 2008-05-16 19:26 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbcomp.h * harbour/include/hbcompdf.h * harbour/source/compiler/hbmain.c * harbour/source/compiler/complex.c * harbour/source/compiler/harbour.y * harbour/source/compiler/harbour.yyc ! moved function related variables and structures from HB_COMP to PFUNCTION - it fixes many different problems which can appear in some code, also the recent Mindaugas' example ! initialize statement value in error action to avoid valgrind/CodeGuard warning reports when syntax error appear in some complex statements * harbour/source/rtl/scrollbr.prg * repalced TAB with SPACEs 2008-05-16 09:30 UTC+0100 Viktor Szakats * source/rtl/tbrowse.prg + HIDDEN -> PROTECTED * contrib/rddads/rddads.h * Comment. * contrib/rddads/adsfunc.c ! ADSCOPYTABLECONTENTS() fixed to throw an RTE if destination area is not ADS. ! ADSCOPYTABLECONTENTS() fixed to not change the current workarea to the destination area (even if destination area wasn't ADS). * contrib/rddads/ads1.c ! Added some missing bits to VFP support. Requires ACE 9.00 or upper. 2008-05-15 17:58 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/gtwvg/gtwvg.c * harbour/source/rtl/gtwvt/gtwvt.c ! fixed memory corruption caused by missing ASCII-0 terminator when window title is retrieve 2008-05-15 12:37 UTC+0100 Viktor Szakats * contrib/rddads/rddads.h ! Fix to previous commit to avoid warning. (and again) 2008-05-15 11:00 UTC+0100 Viktor Szakats * contrib/rddads/rddads.h ! Fix to previous commit to avoid warning. * contrib/rddads/adsmgmnt.c * contrib/rddads/tests/testmg.prg % Final cleanup, minor optim. + HB_TRACE messages made shorter, added to all functions, consume less string space, now enabled if HB_TRACE trace level is INFO or above (instead of being commented out). Maybe they could be deleted, even. + ADSMGGETINSTALLINFO(), ADSMGGETACTIVITYINFO(), ADSMGGETCOMMSTATS(), ADSMGGETCONFIGINFO() now return an empty array in case of error instead of NIL, to be in sync with the rest of the functions. Now the only exception is ADSMGGETLOCKOWNER() which will return an ADS error code on failure and array on success. Please tell if the above functionality change hurts compatibility too much. WARNING: Change in error behavior. 2008-05-15 09:30 UTC+0100 Viktor Szakats * contrib/rddads/rddads.h ! Fixed to not allow to override to a higher lib version of the one of ACE lib. This applies to both ADS_LIB_VERSION and the compatibility ADS_REQUIRE_VERSION. ! Fixed so that ADS_LIB_VERSION override always takes precedence over ADS_REQUIRE_VERSION. * contrib/rddads/tests/testmg.prg ! Fixed to not crash when there's no server. * contrib/rddads/adsmgmnt.c % Minor opt. 2008-05-15 03:40 UTC+0100 Viktor Szakats * tests/db_brows.prg ! Removed note of hbmisc requirement. * tests/Makefile - tests/twirl.prg + contrib/hbmisc/tests/twirl.prg ! Test moved to local test dir. * source/vm/cmdarg.c ! hb_cmdargIsInternal(): Removed '--' as internal option marker, since it will disallow any application code to accept such options. We will now stick with '//' prefix for Clipper compatible internal options. * contrib/hbzlib/tests/myzip.prg * contrib/hbzlib/tests/myunzip.prg * contrib/hbzlib/hbmzip.c + Added support for password on Harbour API level. ; NOTE: This password is not at the moment compatible with .zip passwords added by standard .zip utilities. 2008-05-15 02:02 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/debug/tbrwtext.prg ! declare HBDebugger as friend class of HBBrwText to avoid scope errors when debugger code executes some protected messages. It will be better to clean debugger code but I do not have time for it now. ! use HBEditor() in edit mode to eliminate problems with cursor positioning in source code window * harbour/source/debug/debugger.prg * added protection against RT error during macro evaluation of wrong user expressions 2008-05-14 20:36 UTC+0100 Viktor Szakats * contrib/rddads/adsfunc.c % Some optimizations and cleanups. ! ADSVERSION(): Fixed possible memory corruption when wrong parameter was passed (not 0 or 3). ! ADSVERSION(): Fixed not trimming first char if it's a space. ! ADSSTMTSETTABLEPASSWORD(): Fixed to check pArea->hStatement rather than hConnect before making the call to ACE API AdsStmtSetTablePassword(). Someone please check me on this. 2008-05-14 15:20 UTC+0100 Viktor Szakats * contrib/rddads/adsfunc.c ! Minor cleanups. 2008-05-14 13:04 UTC+0100 Viktor Szakats * tests/bld4dll.bat * tests/gnu_test.bat - tests/test.ch - tests/testinc.prg - tests/db_brows.ch * tests/db_brows.prg - tests/entries.ini - tests/hversion.prg - tests/cgi.ch * tests/testcgi.prg ! Cleanups. 2008-05-14 12:06 UTC+0100 Viktor Szakats + contrib/hbclipsm/tests/bld_b32.bat + contrib/hbclipsm/tests/bld_vc.bat + contrib/hbmisc/tests/bld_b32.bat + contrib/hbmisc/tests/bld_vc.bat + contrib/hbmysql/tests/bld_b32.bat + contrib/hbmysql/tests/bld_vc.bat + contrib/hbnf/tests/bld_b32.bat + contrib/hbnf/tests/bld_vc.bat + contrib/hbtpathy/tests/bld_b32.bat + contrib/hbtpathy/tests/bld_vc.bat + contrib/hbw32/tests/bld_b32.bat + contrib/hbw32/tests/bld_vc.bat + contrib/hbw32ddr/tests/bld_b32.bat + contrib/hbw32ddr/tests/bld_vc.bat + contrib/hbzlib/tests/bld_b32.bat + contrib/hbzlib/tests/bld_vc.bat + contrib/rddado/tests/bld_b32.bat + contrib/rddado/tests/bld_vc.bat + contrib/rddads/tests/bld_b32.bat + contrib/rddads/tests/bld_vc.bat + Added non-GNU make files to make it easy to build contrib tests. * contrib/hbw32ddr/make_b32.bat * contrib/hbw32ddr/make_vc.bat + Added automatic generation of ddraw.lib. * contrib/rddads/tests/testmg.prg ! _ADS -> ADS * contrib/rddads/ads1.c ! Fixed MSVC warning. * contrib/hbbtree/tests/test.prg * contrib/hbbtree/tests/ttest.prg * License moved to top of the files. * contrib/hbw32ddr/tests/testdx.prg ! SVN ID added. * Some formatting. 2008-05-14 11:38 UTC+0100 Viktor Szakats * contrib/rddads/rddads.h * contrib/rddads/adsfunc.c * contrib/rddads/ads1.c ! Completed namespace cleanup, with the global vars: adsFileType -> hb_ads_iFileType adsLockType -> hb_ads_iLockType adsRights -> hb_ads_iCheckRights adsCharType -> hb_ads_iCharType bTestRecLocks -> hb_ads_bTestRecLocks adsConnectHandle -> hb_ads_hConnect adsOEM -> hb_ads_bOEM ; Please modify your code, if you relied on these. ! Minor code cleanups. 2008-05-14 11:19 UTC+0100 Viktor Szakats * contrib/rddads/rddads.h * contrib/rddads/adsfunc.c * contrib/rddads/ads1.c ! Fixed and extended ADS_REQUIRE_VERSION compatibility handling. Thanks Brian. Usage of this #define is obsoleted, and in case someone wants to override version autodetection, ADS_LIB_VERSION should be used instead. ! Some public C level functions renamed to respect namespace: adsCloseCursor() -> hb_adsCloseCursor() hb_rddGetADSWorkAreaPointer() -> hb_adsGetWorkAreaPointer() ShowPercentage() -> hb_adsShowPercentageCB() 2008-05-14 10:58 UTC+0100 Viktor Szakats * contrib/hbfimage/tests/bld_b32.bat + contrib/hbfimage/tests/bld_vc.bat + Standardized. 2008-05-14 10:46 UTC+0100 Viktor Szakats * contrib/hbfbird/make_b32.bat * contrib/hbfbird/make_vc.bat * contrib/hbfimage/make_vc.bat * contrib/hbgd/make_vc.bat * contrib/hbmysql/make_vc.bat * contrib/hbzlib/make_vc.bat * contrib/rddads/make_vc.bat + Use .lib files supplied with 3rd party packages (where available), rather than generating them locally. ; Please test. 2008-05-14 10:37 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/tbrowse.prg ! fixed :insColumn() - added missing hb_aIns() parameter. 2008-05-14 10:27 UTC+0100 Viktor Szakats - lib/b32/empty - lib/vc/empty - bin/b32/empty - bin/vc/empty - contrib/hbgd/tests/images_out/EMPTY - obj/b32/empty - obj/vc/empty - No longer needed for SVN. 2008-05-14 08:29 UTC+0100 Viktor Szakats * contrib/hbct/tests/bld_b32.bat * contrib/hbct/tests/bld_vc.bat * contrib/hbodbc/tests/bld_b32.bat + contrib/hbodbc/tests/bld_vc.bat * contrib/hbole/tests/bld_b32.bat + contrib/hbole/tests/bld_vc.bat * contrib/hbfbird/tests/bld_b32.bat + contrib/hbfbird/tests/bld_vc.bat * contrib/gtwvg/tests/bld_vc.bat * contrib/gtwvg/tests/bld_b32.bat * contrib/hbpgsql/tests/bld_b32.bat + contrib/hbpgsql/tests/bld_vc.bat * contrib/hbgf/tests/bld_b32.bat + contrib/hbgf/tests/bld_vc.bat * contrib/hbgd/tests/bld_b32.bat * contrib/hbgd/tests/bld_vc.bat - contrib/hbgd/tests/bldtest.bat + Standardized contrib test build batch files for non-GNU make systems. + Added MSVC flavour of these. + Now automatically sets Harbour bin/inc/lib paths. * source/rtl/scrollbr.prg % Minor opt, slipped in by last change. * contrib/hbfbird/tfirebird.prg ! Fixed duplicate class var declaration. 2008-05-14 01:09 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/rddads/adsfunc.c ! use OemToCharBuffA() and CharToOemBuffA() for UNICODE W32 builds 2008-05-14 00:27 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/compiler/complex.c ! added casting to unsigned char to force syntax error when some unknown tokens appear. Negative values bison recognizes as end of input. * harbour/contrib/rddads/adsmgmnt.c ! cleaned one warning 2008-05-13 11:32 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/xhb/txml.prg ! fixed wrongly defined scopes. Note: during porting xHarbour code to Harbour scopes should be carefully checked because in xHarbour in many cases wrong scopes does not cause any RT errors. 2008-05-13 09:43 UTC+0100 Viktor Szakats + contrib/hbct/tests/bld_b32.bat + contrib/hbct/tests/bld_vc.bat + Added non-GNU make files for tests. * contrib/hbct/tests/Makefile + Added ctwtest.prg to GNU makefile for hbct tests. (so building of these was actually solved already) * contrib/rddads/adsfunc.c ! Minor comment. 2008-05-12 22:58 UTC+0100 Viktor Szakats * contrib/gtwvg/tests/bld_b32.bat + Added switch to compile in GUI mode. 2008-05-12 21:50 UTC+0100 Viktor Szakats * contrib/rddads/rddads.h * contrib/rddads/ads1.c * contrib/rddads/adsfunc.c * Some cleanups. Minor fixes, comments added. 2008-05-12 19:31 UTC+0100 Viktor Szakats * tests/Makefile + Added hbpcre to the list of libs. 2008-05-12 14:24 UTC+0100 Viktor Szakats * bin/bld.bat + Added hbpcre to lib list. * source/rtl/hbini.prg ; Some formatting. * tests/Makefile + tests/parseini.prg + tests/parseini.ini + tests/parseins.ini + Added .ini handling tests. Adapted from xhb. 2008-05-12 13:56 UTC+0100 Viktor Szakats * bin/bld.bat + Added %HB_USER_LIB% for w32/msvc. + contrib/hbapollo/tests/bld_vc.bat + contrib/gtwvg/tests/bld_vc.bat + Added VC make files. * contrib/gtwvg/tests/demowvg.prg - Removed (unused) embedded C code. ; It still doesn't run though. * contrib/gtwvg/tests/bld_b32.bat ! Fixed eol-style. 2008-05-12 11:58 UTC+0100 Viktor Szakats * contrib/rddads/adsfunc.c ! Readded one mistakenly removed cast. 2008-05-12 11:54 UTC+0100 Viktor Szakats * source/rtl/scrollbr.prg ! Fixed :Update(). Submitted by Edmer. ! Fixed formula in :CalcThumbPos(). Reported by Edmer. ! Fixed assigment in :CalcThumbPos() to not interfere with ::lOverride. Reported by Edmer. ; Please test. 2008-05-12 18:20 UTC+0100 Viktor Szakats * contrib/rddads/ads1.c + Added DBOI_SKIPUNIQUE (C5.3 ordSkipUnique()) implementation when compiled for ADS 9.00 or above. 2008-05-10 00:44 UTC+0100 Viktor Szakats * contrib/rddads/rddads.h * contrib/rddads/adsfunc.c * contrib/rddads/adsmgmnt.c * More cleanups, internal fixes. ! ADSTESTLOGIN() fixed to not write into the 7th param string buffer directly since this may cause HVM corruption. To solve this properly, this parameter must now be passed by reference. 8th parameter is no longer needed. ! ADSBLOB2FILE(), ADSFILE2BLOB(), ADSGETTABLECHARTYPE() fixed to not GPF when selected workarea is not ADS. + ADSDDSETDATABASEPROPERTY() now able to clear the content of numeric properties. 2008-05-09 11:47 UTC+0100 Viktor Szakats * contrib/rddads/rddads.h * contrib/rddads/adsfunc.c * contrib/rddads/adsmgmnt.c * More cleanups, minor fixes. ! One fix to previous change. + Implemented: ADSMGGETLOCKS() ADSMGGETWORKERTHREADACTIVITY() Please test these. 2008-05-08 21:14 UTC+0100 Viktor Szakats * contrib/rddads/ads.ch * contrib/rddads/rddads.h * contrib/rddads/adsfunc.c * contrib/rddads/ads1.c * contrib/rddads/adsmgmnt.c * Lots of minor code cleanups, formatting fixes, optimizations, and several minor fixes. ! Lib version related fixes. (some features were not updated for newer ACE versions). + Automatic version detection extended with 6.20 and 5.00. 6.00 is still missing, if someone has it, pls send it to me. Even 6.11-8.00 versions disappeared from the vendor's site lately. + Added support for all possible properties in ADSDDGETDATABASEPROPERTY() ADSDDSETDATABASEPROPERTY() * ADSMGGETUSERNAMES() will now always return an array of users with 6 elements in each item, all data which is not available for the compiled version of the lib, will be filled with empty strings. Previously the number of elements depended on the compiled version. ; Besides the above, no functionality change should be experienced. ; Please test. * contrib/rddads/make_b32.bat * contrib/rddads/make_vc.bat ! Changed to never look for ace32.dll in system32 dir to generate the ace32.lib. ! Some other fixes to prev change where ADS_VER was obsoleted. * contrib/hbct/ctwfunc.c * contrib/hbct/ctextern.ch + Added hbct_MaxRow()/hbct_MaxCol() emulating the original overloaded MaxRow()/MaxCol() functions of CT3 lib. * source/rtl/maxrow.c * Reverted previous change on request, thus introducing a 3rd party lib specific function parameter extension. Users of CT3 lib's overloaded MaxRow(.T.)/MaxCol(.T.) functions are encouraged to change the app code to rather use hbct_MaxRow()/hbct_MaxCol() or hb_ScrMaxRow()/hb_ScrMaxCol(). These functions are easy to implement in CA-Cl*pper too (simple wrappers to Max*()). * source/compiler/hbmain.c * Reverted previous change on request. Some outputs are not exactly CA-Cl*pper compatible this way, but functionally it probably doesn't matter for most ppl. * contrib/xhb/hbcompat.ch ! Corrected MaxRow()/MaxCol()/hb_ScrMaxRow()/hb_ScrMaxCol() translations. (hopefully. someone using xhb please test) - tests/ctwtest.prg + contrib/hbct/tests/ctwtest.prg * Moved CT lib specific test to contrib local test directory (containing lots of other CT tests already). Building these is yet to be solved. * contrib/hbct/tests/math.prg * contrib/hbct/tests/trig.prg * contrib/hbct/tests/num1.prg ! Added SVN header. * include/hbgtinfo.ch * Minor comment. * contrib/rddads/make_gcc.sh * Help text sync with *.bat. 2008-05-08 14:31 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/tbrowse.prg ! fixed positioning when cursor is moved by :rowpos assignment and vertical move methods used together * harbour/source/vm/estack.c * updated hb_stackDispCall(), hb_UnhandledExceptionFilter(), OS2TermHandler() to show functions where codeblock where defined instead of EVAL() just like in call stack presented by cancel operation * updated hb_UnhandledExceptionFilter() to work in unicode mode * harbour/source/vm/hvm.c ! fixed 1st procedure presented in call stack during cancel operation to use the same conditions as for all others 2008-05-07 11:21 UTC+0100 Viktor Szakats * contrib/rddads/make_b32.bat * contrib/rddads/make_vc.bat * contrib/rddads/ads.ch * contrib/rddads/rddads.h * contrib/rddads/ads1.c * contrib/rddads/adsfunc.c * contrib/rddads/adsmgmnt.c + Added ACE version autodetection. You can override with: -DADS_LIB_VERSION=700 (and similar) (ADS_REQUIRE_VERSION still accepted for compatibility) ! Fixed a few lib version related problems. ! hMgmtHandle global renamed to ads_g_hMgmtHandle. * Formatting. * contrib/rddads/rddads.h + QUESTION: added about ADS_MAX_KEY_LENGTH redefinition. Is it needed? * source/compiler/hbmain.c * Changed output device (hb_compOutStd() -> hb_compOutErr()) for following texts: "Compiling..." "No code generated" "Lines x, Functions/Procedures x" This is to replicate CA-Cl*pper behaviour a bit more. * include/hbextern.ch * common.mak * source/rtl/Makefile * source/rtl/maxrow.c + source/rtl/scrrow.c * contrib/xhb/hbcompat.ch + Added hb_ScrMaxRow(), hb_ScrMaxCol() These will return the screen dimensions regardless of the size of an active window (when using CT windows for example). Functionality is the same as MaxRow(.T.) and MaxCol(.T.) previously. ! MaxRow()/MaxCol() extended parameters removed. + Added MaxRow(.T.)/MaxCol(.T.) conversions for xhb lib (hbcompat.ch) in both directions. ; Xbase++ doesn't have any extended parameters for Max*() function. Flagship has two of them, both of them doing something different. CAVO doesn't have these functions at all. * contrib/xhb/hbcompat.ch ! GTI_* macros updated to HB_GTI_*. * source/vm/memvclip.c % Minor opt in __QQPUB(). * source/vm/extend.c * 0 -> NULL * source/vm/estack.c - QUESTION removed. * source/lang/msgbgmik.c * source/rtl/console.c * source/rtl/philes.c * source/rtl/adir.prg * source/rtl/getsys53.prg * source/rtl/getsys.prg * source/rtl/tget.prg * source/rtl/ttopbar.prg * source/rtl/pushbtn.prg * source/rtl/mod.c * source/rtl/memofile.c * source/rtl/radiobtn.prg * source/rtl/filesys.c * source/rtl/tbrowse.prg * source/vm/estack.c * source/vm/itemapi.c * source/vm/hvm.c * source/vm/cmdarg.c * source/vm/fm.c * source/vm/eval.c * source/common/hbver.c * source/common/expropt2.c * utils/hbtest/hbtest.prg * utils/hbtest/rt_misc.prg * utils/hbtest/rt_str.prg ! Comment fixes and minor formatting. 2008-05-06 02:44 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/hb-func.sh ! do not add .exe suffix if user added it explicitly in W32/DOS builds * harbour/source/vm/dynsym.c * added internal error when size of dynamic table exceed maximal size % small optimization in hb_dynsymFind() function * harbour/source/pp/ppcore.c * added support for generating #line directives in strictly Clipper compatible way even if they are redundant. It can be enabled by HB_PP_STRICT_LINEINFO_TOKEN compiler time macro, e.g. using environment variables: set C_USR=-DHB_PP_STRICT_LINEINFO_TOKEN %C_USR% and making clean build. 2008-05-05 11:31 UTC+0100 Miguel Angel Marchuet Frutos <miguelangel@marchuet.net> * include/hbmemory.ch * source/vm/fm.c + Added Memory( HB_MEM_BLOCKS ) 2008-05-02 10:17 UTC+0100 Viktor Szakats * contrib/rddads/make_b32.bat * contrib/rddads/make_vc.bat * contrib/rddads/rddads.h * contrib/rddads/ads1.c * contrib/rddads/adsfunc.c ! Fixed to compile without ADS_VER/ADS_REQUIRE_VERSION being set. + Some features are automatically detected. NOTE1: To get all supported features included, it's still recommended to set ADS_VER/ADS_REQUIRE_VERSION before building this lib. NOTE2: Lowest tested ACE version is 6.11, and it may work with 5.x (if someone has this version, pls send it to me) 2008-04-29 13:05 UTC+0100 Viktor Szakats * common.mak * source/rdd/Makefile * source/rdd/dbstrux.prg * source/rdd/rddord.prg + source/rdd/rddordu.prg + source/rdd/dbstruxu.prg + Moved some UNDOC functions to separate files. * Removed STRICT guard from _dtxCondSet(). * include/hbextern.ch ! Added missing _dtxCondSet(). * source/rtl/colorind.c * source/rtl/direct.c * Minor formatting. * source/vm/asort.c ! Changed one direct item access to item API call. * contrib/rddads/ads.ch * contrib/rddads/adsfunc.c * contrib/rddads/ads1.c ! Added support for ADS9 VFP file type and fields. ; Borrowed from xhb / Luiz Rafael Culik. (changed to compile using original - older - ADS headers) ; Please review & test. * source/vm/pcount.c % Minor opt. * contrib/hbtip/sendmail.prg ! SF bugtracker#1934698 fix applied. Thanks Chen. - contrib/hbapollo/tests/bld.bat * contrib/hbapollo/tests/bld_b32.bat % Using central bld.bat instead of modified local copy. + contrib/gtwvg/tests/bld_b32.bat + Added BCC32 build batch file for GTWVG tests. ; NOTE: demowvg still doesn't seem to work. 2008-04-28 18:45 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/gtwin/gtwin.c * added mouse wheel support to GTWIN ; FIXME: the mouse events code in GTWIN needs cleanup current code which uses s_mouseLast is wrong and can cause that some events will be missing and some others are wrongly reported. It should be changed to something similar to the code I added to GTOS2 2008-04-28 09:38 UTC+0100 Viktor Szakats * source/common/hbver.c ! Fixed warning in recent change. * Minor adjustment to Vista/Server 2008 detection to be exactly along MS recommendation. 2008-04-28 09:28 UTC+0100 Viktor Szakats * common.mak * source/rtl/Makefile * source/rtl/einstvar.prg + source/rtl/einstvau.prg * Undoc function moved to separate file. 2008-04-28 01:00 UTC+0100 Viktor Szakats * contrib/rdd_ads/adsfunc.c ! Fixed warning in ADSDIRECTORY() for ADS >= 9.00. * contrib/rdd_ads/adsfunc.c * contrib/rdd_ads/adsmgmnt.c + Added AdsIsEmpty( <cFieldName | nFieldPos> ) -> <lValue> With .adt tables will return .T. if value of the field is NULL. With .dbf it's just equivalent to Empty(). (by Luis Krause Mantilla) + Added ADSMGGetOpenTables( nMaxNumberOfFilesToReturn, cUserName, nConnection ) + Added ADSMGGetOpenIndexes( nMaxNumberOfFilesToReturn, cTableName, cUserName, nConnection ) (by Antonio Carlos Pantaglione & Brian Hays) ; Changes borrowed from xhb, added minor optimization, formatting and warning fix. * include/hbclass.ch ! Comment typos. 2008-04-27 22:42 UTC+0100 Viktor Szakats * source/common/hbver.c + OS(), hb_verPlatform(): Added detection of Windows Server 2008. * source/rtl/tobject.prg ! XPP feature guarded with HB_COMPAT_XPP 2008-04-26 07:53 UTC+0100 Viktor Szakats * source/rtl/tget.prg ! Fixed to not extend ::left(), ::right(), ::backspace(), ::delete() with an internally used (but also externally accessible) extra parameter. This interface is now made fully C5x compatible. * tests/rto_tb.prg ! Fixed to override __eInstVar53() (instead of _eInstVar()) * include/hbextern.ch * common.mak * source/rdd/Makefile + source/rdd/dbcmdhb.c + Added non-internal versions of __dbPack() and __dbZap(), named: hb_dbPack() and hb_dbZap(). If group needs it I can add dbPack() and dbZap() too in separate files to lessen the problem of name collision with app code. * source/rtl/inkey.c * Formatting. + HB_KEYPUT(): Now possible to pass an array with string elements. (see feature in xhb/__KEYBOARD()) * HB_KEYPUT(): For string parameter it now uses hb_inkeySetText() API, rather than a loop of hb_inkeyPut()s. * contrib/xhb/xhbfunc.c ! xhb flavour of __KEYBOARD() sync fixed. (hb_inkeySetText() got extended in xhb, so here we're using hb_inkeyPut() for single numeric key codes). ; Now same code is used as in HB_KEYPUT(). * source/vm/memvars.c * source/vm/hvm.c * source/vm/arrayshb.c + Added HB_C52_STRICT branches for the remaining RTEs which produced different results in hbtest. ! Fixed HB_C52_STRICT RTE for AFill(). ; NOTE: It's not possible to build Harbour currently when HB_C52_STRICT, so it's not easy to test these. * include/hbclass.ch ! Typos. * source/rtl/memoedit.prg * source/rtl/achoice.prg * source/rtl/treport.prg * Formatting. * source/rtl/tobject.prg * Formatting. % Minor opt. 2008-04-25 12:01 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/tbrowse.prg * changed internal logic used for vertical movements. Now it should be much closer to Clipper though it also replicates some wrong Clipper behaviors due to removed protection against some concurrent modifications in browsed object. I left two FIXME notes and I'll reimplement them later. Please test. Lorenzo it should resolve the problem you reported. 2008-04-24 21:23 UTC+0100 Viktor Szakats * common.mak * make_vcce.mak * make_b32.mak * make_gcc.mak * make_vc.mak * utils/hbdoc/Makefile * utils/hbdoc/hbdoc.prg * utils/hbdoc/genpdf1.prg - Removed pdflib references from make file, since the contrib was not working and got removed. + PDF enabling logic in HBDOC made local to HBDOC. Now HBDOC_PDF should be #defined in HARBOURFLAGS (or PRG_USR) envvar, proper pdf library should be specified using LDFLAGS envvar. * contrib/mtpl_b32.mak ! Removed permanent '-P' C compiler switch from .prg -> .c rule. Thanks Rafa. Marek pls check me. 2008-04-24 13:00 UTC+0100 Lorenzo Fiorini (lorenzo.fiorini/at/gmail.com) * contrib/hbgd/gdimage.prg * removed two method that simply call public function * renamed GetTrueColorPixel back to GetTrueColor * contrib/hbtip/sendmail.prg * contrib/hbtip/smtpcln.prg * added support for smtp with authentication * added timeout parameter * borrowed from xHarbour 2008-04-24 11:03 UTC+0100 Viktor Szakats * source/rtl/achoice.prg ! Fixed to abort (rather than crash), when user callback function returns a non-numeric type. This is CA-Cl*pper compatible behaviour. * source/rtl/dbedit.prg + Documented CA-Cl*pper behaviour when it crashes if a non-numeric (and non-NIL) var is returned from the user callback function. 2008-04-24 10:51 UTC+0100 Viktor Szakats * include/memoedit.ch * source/rtl/memoedit.prg ! XPP feature marked with HB_COMPAT_XPP. ! Fixed to not crash if user callback function returns non-numeric type. 2008-04-24 10:24 UTC+0100 Viktor Szakats * contrib/xhb/xhb.ch * contrib/xhb/xhbfunc.c ! xhb flavour of __KEYBOARD() synced with current xhb code. * contrib/hbmisc/hb_f.c ! Swapped C file seek constants to Harbour ones. * Minor cleanups and formatting. * source/rtl/tbrowse.prg ! Committed patch to ::setPosition() submitted by Przemek on the devl list. * source/rtl/tget.prg * Minor changes. Copyright updated. 2008-04-23 22:31 UTC+0100 Viktor Szakats * contrib/rddads/adsfunc.c + Added these functions: ADSCREATESAVEPOINT() (for ADS 8 and above) ADSROLLBACKSAVEPOINT() (for ADS 8 and above) ADSDDCREATELINK() (for ADS 9 and above) ADSDDMODIFYLINK() (for ADS 9 and above) ADSDDDROPLINK() (for ADS 9 and above) + Extended AdsMgGetUserNames() to return aucAuthUserName, aucOSUserLoginName and aucTSAddress from ADS_MGMT_USER_INFO structure. Only available for ADS >= 8. ; Borrowed from xhb / Luiz Rafael Culik. * contrib/rddads/ads1.c + Made it compile with ADS 9. * contrib/rddads/adsmgmnt.c ! Fixed ADS_VER -> ADS_REQUIRE_VERSION 2008-04-23 20:11 UTC+0100 Viktor Szakats * source/rtl/tget.prg + Some protected object vars renamed to better show their roles. ! Fixed ::setFocus() to not mess with width related vars. ! Fixed ::PutMask() to not mess with display width. ! Fixed ::varPut() to only accept certain var types. ! Fixed ::picture() to more consistently reset picture related vars. ! Hack added to ::Reform() to try to set ::nDispLen like CA-Cl*pper. ! Fixed ::posInBuffer() to only work when in focus. (I didn't test if this is XPP compatible, but it surely avoids a possible RTE now.) ! Removed ::display() non-compatible 'lForce' parameter. ! Minor cleanups. ; NOTE: Now o[16] (aka ::nDispLen) is almost totally CA-Cl*pper compatible. * tests/rto_get.prg + Added some more tests. 2008-04-23 18:03 UTC+0100 Viktor Szakats * source/rtl/achoice.prg * source/rtl/alert.prg * source/rtl/browse.prg * source/rtl/einstv52.prg * source/rtl/einstvar.prg * source/rtl/persist.prg * source/rtl/tclass.prg * source/rtl/teditor.prg * source/rtl/typefile.prg * source/rtl/wait.prg * Formatting. * != -> !( == ) for strings. 2008-04-23 14:03 UTC+0100 Viktor Szakats * source/rtl/tget.prg ! Fixed o[13] and o[14] content (they were swapped) in C5.3 mode. ! Fixed ::varPut() to not have the extra Harbour parameter. ! Fixed ::picture to not mess with ::nDispLen when @S is used. Now solved with new internal var ::nPicLen. % ::ResetPar() internal method moved inside ::display() ! Fixed ::updateBuffer() to set ::xVarGet (o[19] in C5.3 mode and o[11] in C5.2 mode when ::hasFocus) to ::original. ! Fixed ::display() behavior when not in focus. ! Fixed ::reset() to be more compatible by setting ::xVarGet. ! Fixed ::undo() for non-gettable variable types. ! Fixed ::killFocus() to never call ::assign(). ! Fixed ::varPut() to never touch internal vars (old 'lReFormat' mode). ! Fixed ::varGet() to not touch ::xVarGet internal var. ! Fixed ::insert()/::overStrike() to call ::display() in out of bound and rejected cases. ! Fixed ::insert()/::overStrike() to not set ::Rejected when position is out of bound. ! Fixed internal ::PutMask() to never initiate a ::block evaluation. ; NOTE: Since Get() object is a highly complicated beast, bumps are expected. Pls test this code with your applications and report any problems with reduced code snippet. I'll include those tests in the regression test suite. Notice that after these changes, the number of differences between C5.x and Harbour are further reduced, especially regarding the "object as array" kind of access and regarding block evaluation. Currently, differences are mostly present in o[16] in C5.3 mode, plus some odd cases testing mostly invalid picture values, and a few other minor differences here and there. Plus of course further differences may happen to exist in cases not covered by rto_get.prg. * source/rtl/einstvar.prg ! Fixed to only include _eInstVar() if HB_C52_UNDOC is #defined (it is by default). * source/rtl/tbrowse.prg + Added missing XPP methods (three synomyms to existing methods). * tests/rto_get.prg + Added even more tests. + Added some additional info about errors. ! Fixed ::block SETGET tracing. 2008-04-23 09:46 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/pp/ppcore.c ! fixed some combinations of user functions in stream pragmas, e.g.: #pragma __cstream|f1(%s)|f2() or: #pragma __cstream||f2(%s) + added support for: #pragma __[c]streaminclude "fileName"|<code with %s result marker> e.g.: #pragma __streaminclude "foo1.html"|cHtml:=%s __cstreaminclude decode C like escape sequences, __streaminclude doesn't do that and takes file body in raw form. Maximum file size is arbitrary set to 65520. 2008-04-23 02:32 UTC-0500 Teo Fonrouge (teo/at/windtelsoft/dot/com) * contrib/hbgd/gdimage.prg ! Fixed at gdimage.prg(271): "Warning W0019 Duplicate declaration of Method 'GETTRUECOLOR'" the method was having a INLINE to the gdImageTrueColorPixel() function and the fix simply renamed the method name from 'GetTrueColor' to 'GetTrueColorPixel'. Please, someone used to the hbgd lib check if the new method name is correct. 2008-04-23 02:14 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/debug/dbgbrwsr.prg * respect oCol:colorBlock() used by debugger code in few places * harbour/source/debug/dbgtobj.prg * sort messages and show methods in lower letters just like Clipper * harbour/source/debug/dbgtobj.prg * harbour/source/debug/dbgthsh.prg * harbour/source/debug/dbgtarr.prg ! added protection against RT error when user type wrong expression in OBJECT, ARRAY and HASH inspectors 2008-04-22 20:41 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbclass.ch * harbour/include/hbcomp.h * harbour/source/compiler/hbmain.c * harbour/source/compiler/harbour.yyc * harbour/source/compiler/harbour.y ! fixed -w3 warnings when class name is different then function name * allow to overwrite predefined classes definitions it's a dirty hack but current implementation of predefined function and class declarations has to be rewritten from scratch in the future so I make it intentionally - at least it resolves some memory leaks like: harbour -n -w3 tbcolumn.prg * harbour/config/rules.cf * harbour/make_b32.mak * harbour/make_gcc.mak * harbour/make_vc.mak * harbour/make_vcce.mak * harbour/contrib/mtpl_b32.mak * harbour/contrib/mtpl_gcc.mak * harbour/contrib/mtpl_vc.mak * changed default Harbour compiler switch -w2 to -w3 * harbour/contrib/xhb/xhbcomp.prg * replaced repeated declarations by small hack * harbour/utils/hbmake/tmake.prg ! fixed reported by -w3 repeated aDir declaration * harbour/source/rtl/tbrowse.prg * calculate frozen area size for 5th element of array returned by Xbase++ compatible method :viewArea(). Viktor please check me. If you can also describe what exactly FIXME in :firstScrCol() and :viewArea() means then maybe I can help - I do not have Xbase++ so I do not know what should be fixed. 2008-04-22 15:24 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/bld_os2.cmd * changed eol-style from native to CRLF 2008-04-22 14:35 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/tbrowse.prg * updated mouse positioning for non integer coordinates 2008-04-22 04:50 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapicls.h * harbour/source/vm/classes.c + added new function hb_dbgObjSendMessage() which allows to call messages with given given execution context for proper scope checking * harbour/source/debug/dbgentry.c + added HB_DBG_SENDMSG() for calling messages with given execution context * harbour/source/debug/dbgtobj.prg * removed all __obj*() function calls * use HB_DBG_SENDMSG() to access/assign object variables ! fixed default value in GET operation called from object inspector to always show current object variable value ! fixed set for object variables which hold value: "Method" they were recognized as method Now object variables can be inspected by debugger. If object has multiple private messages with the same name inherited from parent classes then their context will be dynamically changed depending on position in currently debugged code. 2008-04-21 15:54 UTC+0100 Viktor Szakats * source/rtl/tbrowse.prg ! Added some new lines to XPP methods. * contrib/hbtip/thtml.prg * contrib/hbtip/popcln.prg * contrib/hbtip/sendmail.prg * contrib/hbtip/cgi.prg * contrib/hbtip/url.prg * contrib/hbtip/mail.prg * contrib/hbtip/ftpcln.prg ! Fixed ambigous "=" and "!=" to "==" or ":=" or "!( == )" constructs. Someone pls verify if these fixes are right in the broader context. 2008-04-21 15:02 UTC+0100 Viktor Szakats * common.mak * include/hbextern.ch * source/rtl/Makefile * source/rtl/checkbox.prg * source/rtl/einstvar.prg + source/rtl/einstv52.prg * source/rtl/listbox.prg * source/rtl/pushbtn.prg * source/rtl/radiobtn.prg * source/rtl/radiogrp.prg * source/rtl/tbcolumn.prg * source/rtl/tbrowse.prg * source/rtl/tget.prg * source/rtl/tmenuitm.prg * source/rtl/tpopup.prg * source/rtl/ttopbar.prg ! _eInstVar() made compatible with C5.2 in C5.2 mode. * Renamed _eInstVar52() -> __eInstVar52() (Harbour internal function namespace) * Renamed _eInstVar53() -> __eInstVar53() (Harbour internal function namespace) * __eInstVar52() moved to a separate file. * Harbour now uses __eInstVar53() internally. - make_os2_gcc.cmd + make_gnu_os2.cmd * Renamed to align the filename with the rest of the GNU make command files. Content unchanged. 2008-04-21 14:48 UTC+0100 Viktor Szakats * tests/rto_get.prg * tests/rto_tb.prg + Added more tests. + Enabled object as array results by default. + More details for TGet test results. * bin/bld_os2.cmd ! Fixed lib names. Thanks David. * source/rtl/tobject.prg * Formatting. * source/rtl/tget.prg ! Delimiter colors in C5.3 mode made compatible. ! ::colorSpec handling in C5.3 mode made compatible for some invalid parameter types. ! Fixed handling decimals in :row, :col, :pos methods. ! Fixed to compile in C5.2 mode without warning (introduced in recent commit). * source/rtl/tbrowse.prg ! Fixed handling decimals in :nTop, :nBottom, :nLeft, :nRight. + Added unfinished XPP method :viewArea() + Added untested XPP method :firstScrCol() ; Few minor formatting. * include/hbextern.ch * source/rtl/einstvar.prg + Added _eInstVar52() which is the C5.2 compatible version of this function. It also replicates a bug. * _eInstVar() renamed to _eInstVar53(). * _eInstVar() made a stub to call _eInstVar53(). * source/rtl/checkbox.prg * source/rtl/listbox.prg * source/rtl/pushbtn.prg * source/rtl/radiobtn.prg * source/rtl/radiogrp.prg * source/rtl/scrollbr.prg * source/rtl/symbol.prg * source/rtl/teditor.prg * source/rtl/tget.prg * source/rtl/tget1.prg * source/rtl/tgetlist.prg * source/rtl/tmenuitm.prg * source/rtl/tmenusys.prg * source/rtl/tpopup.prg * source/rtl/ttopbar.prg * Formatting (EXPORT: -> EXPORTED:) * contrib/hbtip/thtml.prg * contrib/hbtip/ftpcln.prg ! Fixed to work regardless of SET EXACT setting. ; NOTE: I'd suggest an optional compiler warning to detect plain "=" usage. It's bad practice in most cases. 2008-04-20 13:25 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/tobject.prg ! fixed the problem with SET EXACT ON I introduced recently by mistake * harbour/contrib/xhb/txml.prg * harbour/contrib/hbw32/w32_tole.prg * harbour/contrib/hbw32/w32_tprn.prg * replaced some = use for assign or comparison with := or == when it will have the same meaning. Looks like some parts of TIP library will not work with SET EXACT ON and should be updated. 2008-04-18 13:06 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/gtwvg/wvtcore.c ! fixed missing ; in last modification * when wrong color string is passed from user code then use hb_gtGetCurrColor() 2008-04-18 03:02 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/tbrowse.prg ! fixed typo in last minute modification 2008-04-18 02:53 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/tbrowse.prg * new TBrowse code - many thanks to Viktor Szakats for his help and code and to all others who tested this implementation. It should be very close to Clipper except some minor differences. Most of them are bugs not replicated intentionally. In few cases some of them like wrong positioning of logical columns with extended size by oCol:picture expression the original Clipper behavior is covered by HB_C53_STRICT macro (with cell overwriting during navigation but without internal buffer overflows) but it should be used rather for tests only not for normal applications. I left three TODO notes in the code for some less important things which maybe addressed in the future though they should not effect 99.99% of Clipper programs. It's a new code so it's possible that it contains bugs so if you will find any problems then please inform me. Warning: This TBrowse implementation is strongly Clipper oriented. It's neither compatible with previous Harbour nor xHarbour one in intentional or unexpected differences to Clipper. It also does not have any extensions which existed in the old code. In the old code there was TODO note about some Xbase++ extensions - I do not have Xbase++ so I cannot say anything about it. If any of you things that they are important then I can add them if group agree but I will need detail description of additional methods and probably results of some tests. 2008-04-18 01:41 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapigt.h * harbour/source/rtl/gtapi.c ! changed USHORT hb_gtColorToN( char * szColorString ) to int hb_gtColorToN( char * szColorString ) - it should be the same type as indexes in hb_gtColorsToString() functions * harbour/source/rtl/hbgtcore.c * return -1 from COLORNUM() method when passed color is not valid color string * harbour/contrib/hbct/screen2.c * harbour/contrib/hbct/color.c * harbour/contrib/hbct/screen1.c * harbour/contrib/hbct/ctwfunc.c * harbour/contrib/hbnf/color2n.c * harbour/contrib/gtwvg/wvtcore.c * updated to respect -1 returned for wrong color strings * harbour/source/rtl/tget.prg * updated to respect -1 returned for wrong color strings Viktor please check me, now it's simpler and hbtest does not reports any errors so I guess that this version will work like in Clipper also for :colorSpec := "R,X,Y,0" or similar * harbour/source/rtl/tobject.prg * harbour/source/debug/dbgbrwsr.prg * formatting 2008-04-18 01:04 UTC+0100 Viktor Szakats * tests/rto_tb.prg + Added some assigment tests using numerics with decimals. ! Fixed typo in prev commit. 2008-04-18 00:01 UTC+0100 Viktor Szakats * tests/rto_tb.prg + Added some C5.3 var tests. + Added object as array info. * Suppressed _eInstVar() difference by including a strictly compatible copy of it for Harbour. * Exclude incompatible binary array elements of the object. * tests/rto_get.prg * Exclude incompatible binary array elements of the object. + bin/bld_os2.cmd + Added OS/2 build command file. ; Someone pls test and update the content if needed. 2008-04-17 13:46 UTC+0100 Viktor Szakats * source/rtl/tget.prg * Formatting. * source/rtl/net.c ! Casting in DOS branch. 2008-04-17 13:26 UTC+0100 Viktor Szakats * common.mak * source/rtl/Makefile * source/rtl/defpath.c + source/rtl/defpathu.c * source/rtl/errorapi.c + source/rtl/errorapu.c * source/rtl/shadow.c + source/rtl/shadowu.c * Undocumented compatibility functions moved to separate files. 2008-04-17 03:53 UTC+0100 Viktor Szakats * include/hbextern.ch * source/rtl/errorapi.c + Added ERRORINHAN() (and alias ERRORINHANDLER()) CA-Cl*pper compatible, undocumented function, guarded with HB_C52_UNDOC. Same as Harbour __ERRINHANDLER(). * source/rtl/trim.c * source/rtl/strtran.c + Added strict branches for incompatible error messages. % Minor optimization in STRTRAN() parameter checking. * utils/hbtest/rt_str.prg + Reenabled two C53-only test calls. * include/hbdefs.h ! Minor indentation fix. * utils/hbdoc/hbdoc.prg * utils/hbdot/hbdot.prg * utils/hbmake/hbmake.prg * utils/hbpp/hbpp.c * utils/hbtest/hbtest.prg * utils/hbrun/hbrun.prg ! Year updated in copyright banners. 2008-04-16 14:41 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbclass.ch ! removed: MESSAGE <msgName> IS <mthName> used as synonym of: MESSAGE <msgName> METHOD <mthName> If someone was using the removed version then please update the code to MESSAGE ... METHOD ... The removed command has special meaning in Class(y) and it allow to define alternate names for existing messages. I'll add support for them in the future. * harbour/contrib/hbct/ctwin.c * added disabled code which is a workaround for some possible bad side effect caused by online shadow showing by CTWIN. * harbour/source/rtl/errorint.c ! fixed displaying internal error message * harbour/source/common/hbver.c * added "Rev." prefix to shown revision number * harbour/include/hbexprop.h * harbour/include/hbexprb.c * harbour/source/common/expropt1.c * harbour/source/common/expropt2.c + added hb_compExprReduceNegate() ! fixed wrong negate optimizations for platforms where HB_LONG_MAX is smaller then -HB_LONG_MIN, e.g. all x86 based CPUs. ! fixed setting the size in optimized negative numbers ! fixed some math optimizations to not use casting to double value when it's not necessary - when double precision is smaller then HB_LONG (e.g. on x86 it's 53 bits and HB_LONG has 64-bit) such casting can damage up to 11 less significant bits in big 64-bit numbers. * harbour/source/rtl/hbinet.c * replaced MAKEWORD() macro with HB_MKWORD() to pacify BCC58 warnings * harbour/include/hbdefs.h + added #include <limits.h> It should hide some warnings related to redefined integer size constants Viktor if it will not help for BCC58 warnings then you will have to add #include <stdint.h> few lines below but please remember that older BCC version does not have it so check for the exact compiler version. ! changed macros which setting default numeric item size for more strict Clipper compatible mode. I'm not a fun of some Clipper behavior in calculating number size and I left some notes about it in hbdefs.h Anyhow this and some other modifications below should cover the differences you've found recently. Some things are not addressed by me intentionally, e.g. _itemPutNL() in Clipper always set size to 10 without checking the maximum size so it's too small for values less then -999999999. Harbour compiler makes more compile time optimizations then Clipper. The formatting rules used by compiler are a little bit different then by VM so this can be source of some other differences to Clipper. I can easy create some examples. Harbour supports 64-bit signed integers and Clipper doesn't. This is yet another situation when we may have different results then Clipper. Most of them can be hidden if we add new PCODE(s) for integer number with explicit size but I do not think it's such important to increase PCODE list. In few cases it will be necessary to disable some optimizations at all and I do not like it. In the future when I will be adding some new optimizations I also add compiler switch to disable/enable optimizations which can have such side effects for people who need strict formatting. * harbour/include/hbvmpub.h * harbour/source/common/hbstr.c * harbour/source/vm/hvm.c * harbour/source/vm/itemapi.c * harbour/source/rtl/round.c * updated for more Clipper compatible number formating using new macros 2008-04-15 13:32 UTC+0100 Viktor Szakats * source/rtl/tget.prg + TGet instance variable ordering in class definition made CA-Cl*pper compatible, so that it's now possible to access object vars as array elements the same way. Read-only access is strongly recommended when using this unofficial access method, and the practice is overall discouraged. NOTE: oGet[8] is not supported in Harbour. NOTE: in oGet[11] (in C52 mode), oGet[17] (in C53 mode) only the first char is compatible, which is the type. The rest is 'trash' in CA-Cl*pper. * tests/rto_get.prg + Extended tests with regards to array access of the TGet object. * source/rtl/tbcolumn.prg * Formatting. * source/common/hbstr.c * source/compiler/ppcomp.c * source/compiler/hbgenerr.c * utils/hbpp/hbpp.c ! Fixed some BCC58 warnings. ; FIXME: These remain: Warning W8017 C:\devl\BCC58\Include\stdint.h 77: Redefinition of 'INT16_MIN' is not identical Warning W8017 C:\devl\BCC58\Include\stdint.h 78: Redefinition of 'INT32_MIN' is not identical Warning W8017 C:\devl\BCC58\Include\stdint.h 79: Redefinition of 'INT64_MIN' is not identical Warning W8017 C:\devl\BCC58\Include\stdint.h 82: Redefinition of 'INT16_MAX' is not identical Warning W8017 C:\devl\BCC58\Include\stdint.h 83: Redefinition of 'INT32_MAX' is not identical Warning W8017 C:\devl\BCC58\Include\stdint.h 84: Redefinition of 'INT64_MAX' is not identical Warning W8017 C:\devl\BCC58\Include\stdint.h 87: Redefinition of 'UINT16_MAX' is not identical Warning W8017 C:\devl\BCC58\Include\stdint.h 88: Redefinition of 'UINT32_MAX' is not identical Warning W8017 C:\devl\BCC58\Include\stdint.h 89: Redefinition of 'UINT64_MAX' is not identical Warning W8084 source\rtl\hbinet.c 507: Suggest parentheses to clarify precedence in function HB_FUN_HB_INETINIT * utils/hbtest/rt_main.h ! Typo. * utils/hbtest/make_c5x.bat + Cleanups, fixes, enhancements. * Changed invocation for C53. Now "53" (without quotes) should be used as command line parameter. + Now automatically selects linker. ! Fixed MSC parameters for C53. + Copyright added. 2008-04-14 23:06 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/errorapi.c * allow to pass NULL instead of PHB_ITEM pointer in argument list of RT error functions: hb_errRT_BASE() hb_errRT_BASE_Ext1() hb_errRT_BASE_Subst() hb_errRT_BASE_SubstR() to not force allocating dummy item in upper level code. * harbour/source/rtl/mod.c ! small fix in substitued return value in code like: proc main() set fixed on ? transform(mod( 12345, 0 ),"") return * harbour/utils/hbmake/hbmlang.c * harbour/utils/hbmake/hbmutils.prg * harbour/utils/hbmake/hbmake.prg ! removed gtnul library - it does not longer exists * minor formatting 2008-04-14 01:53 UTC+0100 Viktor Szakats * utils/hbtest/rt_main.h * Cleanup. 2008-04-14 01:40 UTC+0100 Viktor Szakats * source/rtl/tbcolumn.prg + TBColumn() instance variable ordering in class definition made CA-Cl*pper compatible, so that it's now possible to access object vars as array elements the same way. Read-only access is strongly recommended when using this unofficial access method, and the practice is overall discouraged. 2008-04-13 22:16 UTC+0100 Viktor Szakats * utils/hbtest/make_c5x.bat * utils/hbtest/hbtest.prg * utils/hbtest/rt_miscc.c * utils/hbtest/rt_misc.prg - Removed dependency on hbclip. + Added proper C version of hb_SToD() for C5.x builds. (Needs MSC) ! Refixed hb_SToD() results messed up in my previous commit. Sorry for the confusion, Harbour was perfectly 100% compatible, the reference values were wrong in default HBTEST for CA-Cl*pper. + Disabling hb_SToD() tests with invalid input values for CA-Cl*pper in case there was no C compiler available when building HBTEST. This is to avoid any invalid results (due to the .prg version of hb_SToD()) and to avoid confusions such as above. 2008-04-13 21:59 UTC+0100 Viktor Szakats * source/rtl/mod.c ! Fixed error object to be C5x compatible when wrong or too few parameters were passed to MOD(). Now the previously corrected MOD() regression tests pass. (I misinterpreted the problem in the previous ChangeLog entry.) * utils/hbtest/rt_math.prg + Added two new tests for MOD() 2008-04-13 19:19 UTC+0100 Viktor Szakats * common.mak + utils/hbtest/rt_main.h + utils/hbtest/rt_miscc.c * utils/hbtest/rt_str.prg * utils/hbtest/Makefile * hbtest/make_c5x.bat * hbtest/make_xpp.bat + Added light framework to implement C level regression tests. + Added regression tests for some incompatible Str() conversions. FIXME: The problem seems to be in hb_retnl() (and friends, presumably) where in C5x the internal width gets modified to 20 when certain value is reached (+/-1000000000), while in Harbour the length stays 10. I tried to do the same test using Item API, but I got so strange results in Clipper, that I finally dropped it. + Added optional C compilation using MSC for CA-Cl*pper build batch file. + Added better support to compile the test suite under C5.3. Caller will need to use "set HB_COMPAT_C53=1" for this mode. * utils/hbtest/rt_array.prg ! Corrected some (ASize()) expected results when not in 5.3 mode. * utils/hbtest/rt_str.prg + Added comments for some erroneous C5.3 'Str(Val())' results. * utils/hbtest/rt_math.prg ! Corrected expected C5.2/5.3 result for 'MOD()'. * utils/hbtest/rt_misc.prg ! Some results synced with C5.x (where the result could be "explained"), two marked as buggy/questionable. ! Two strange Harbour-synced results swapped for the somewhat more meaningful C5.x ones. + Added some more strange date conversion tests. ; All these could be fixed in Harbour to give the exact same C5.x values even for these strange inputs, but it's by no means a priority. * source/rtl/transfrm.c ! FoxPro/XPP feature guarded with HB_COMPAT_FOXPRO || HB_COMPAT_XPP, meaning that it stays enabled by default because of HB_COMPAT_XPP. * contrib/rddads/make_b32.bat * contrib/rddads/make_vc.bat ! Fixed the dir precedence when looking for ace32.dll. 2008-04-11 11.45 UTC+0100 Belgrano Massimo (mbelgrano/at/deltain.it) * harbour/contrib/rddado/adordd.prg ! removed old reference aAdoFunc[UR_FOUND]:=(@ADO_FOUND()) 2008-04-10 13:50 UTC-0500 Teo Fonrouge (teo/at/windtelsoft/dot/com) * source/debug/tbrwtext.prg ! fixed small typo that was allowing wordwrapping long source code lines and was messing with the correct display of the current line 2008-04-10 15:39 UTC+0100 Belgrano Massimo (mbelgrano/at/deltain.it) * harbour/contrib/rddado/adordd.prg * Instead of overloading FOUND method in ADO RDD it will be more efficient to use standard implementation written in C by Przemyslaw suggestion 2008-04-09 20:42 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/ChangeLog * harbour/harbour.spec * reverted translation to UTF8 - Tomaz please check your editor settings and disable automatic translation to UTF8. It's not the first as such situation happens. * harbour/include/hbclass.ch + added two missing PP directives ! protected against some repeated external definitions * harbour/source/pp/Makefile * harbour/source/pp/hbppgen.c * harbour/source/pp/ppcore.c * harbour/source/common/hbver.c * harbour/source/common/hbverdsp.c * harbour/source/main/harbour.c * harbour/source/vm/cmdarg.c * harbour/utils/hbpp/hbpp.c * harbour/include/hbpp.h * harbour/include/hbcomp.h * harbour/include/hbver.h * harbour/include/hbapi.h * harbour/make_vcce.mak * harbour/make_b32.mak * harbour/make_vc.mak * harbour/make_gcc.mak + added support for dynamically set during compilation ChangeLog entry ChangeLog ID and SVN revision and compilation flags Now hbppgen creates in include directory hbverbld.h file with information extracted from ChangeLog. New hbppgen parameters: Syntax: ./hbppgen <file>[.prg] [options] Options: -i<path> add #include file search path -c[<file>] look for ChangeLog file -o<file> creates .c file with PP rules -v<file> creates .h file with version information -w write preprocessed (.ppo) input file -q disable information messages + added new C functions: int hb_verSvnID( void ) - retrieves ChangeLog SVN revision number const char * hb_verSvnChangeLogID( void ) - retrieves a static buffer containing ChangeLog ID string const char * hb_verSvnLastEntry( void ) - retrieves a static buffer containing ChangeLog last entry string const char * hb_verFlagsC( void ) - retrieves a static buffer containing build time C compiler flags in C_USR envvar const char * hb_verFlagsL( void ) - retrieves a static buffer containing build time linker flags in L_USR envvar const char * hb_verFlagsPRG( void ) - retrieves a static buffer containing build time Harbour compiler flags in PRG_USR envvar + added new default PP defines which can be used in .prg code compiled by Harbour compiler: HB_VER_LENTRY, HB_VER_CHLID, HB_VER_SVNID * harbour/source/rtl/gtxwc/gtxwc.c * formatting * harbour/source/rtl/gttrm/gttrm.c ! fixed redrawing GPM mouse pointer after screen updating * harbour/source/rtl/gtstd/gtstd.c * harbour/source/rtl/gtpca/gtpca.c * updated for compilation even if some POSIX macros are not supported e.g. problems with some DJGPP versions reported recently * harbour/source/debug/dbgentry.c * harbour/source/debug/dbgtobj.prg * harbour/source/debug/dbgbrwsr.prg * harbour/source/debug/dbgthsh.prg * harbour/source/debug/tbrwtext.prg * harbour/source/debug/dbgwa.prg * harbour/source/debug/debugger.prg * harbour/source/debug/dbghelp.prg * harbour/source/debug/dbgtarr.prg ! Fixed object inspector in the debugger. ! Added HbDbBrowser:invalidate() message. Fixes work area browsing in debugger. ! Added an minimalistic TBrowse implementation that is just enough for internal use by the debugger. Fixes miscellaneous problems e.g. when debugging a piece of code with RELATIONs turned on. Fixes by Phil Krylov borrowed from xHarbour. 2008-04-09 UTC+0100 Belgrano Massimo (mbelgrano/at/deltain.it) * harbour/contrib/rddado/adordd.prg * harbour/contrib/rddado/tests/access2.prg * Support For Found() working after a LOCATE command by Antonio Linares 2008-03-26 16:54 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/gtos2/gtos2.c * small changes, removed some un-needed code - by Maurilio Longo in xHarbour ! use screen buffer in BYTEs instead of USHORTs to avoid possible problems on big endian machines. I do not know if such OS2 ports exist but this code should be also endian independent like rest of Harbour code * harbour/source/rtl/hbgtcore.c ! Fixed screen buffer corruption on little-endian platforms in hb_gt_def_ColdArea() - fixed by Phil Krylov in xHarbour - many thanks 2008-03-25 12:26 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/common.mak * harbour/source/lang/Makefile + harbour/source/lang/msgskiso.c + harbour/source/lang/msgskwin.c + harbour/source/lang/msgskkam.c + harbour/source/lang/msgsk852.c + added Slovak national messages by Gyula Bartal - many thanks * harbour/include/hbapi.h * harbour/source/vm/arrays.c ! Guarded hb_arraySetNLL() declaration with #ifndef HB_LONG_LONG_OFF. ! Fixed trace in hb_arraySetNInt(). By Phil Krylov borrowed from xHarbour * harbour/include/hbgtcore.h ! added missing HB_EXTERN_BEGIN / HB_EXTERN_END By Ron Pinkas borrowed from xHarbour * harbour/source/rtl/gtos2/gtos2.c % updated for much faster screen updating in OS2 console - many thanks for Maurilio Longo for tests and code. * harbour/source/rtl/cdpapi.c ! fixed CP string translation for CPs with accented equal characters + added HB_UTF8CHR( <nUniVal> ) -> <cUtf8Char> It's compatible with the function HB_UTF8CHR() by Phil Krylov in xHarbour * harbour/source/rtl/gtsln/gtsln.h * removed repeated #include <unistd.h> * harbour/contrib/hbct/files.c ! fixed FILESEEK() called with 3rd parameter set to .T. (exact attribute match) * harbour/config/os2/global.cf ! added fixes by David Arturo Macias Corona + harbour/make_os2_gcc.cmd + added build file for GCC OS2 users with minimal environment settings 2008-03-15 16:58 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbzlib/zip.c ! fixed to not ignore errors in zipFlushWriteBuffer() * harbour/contrib/hbzlib/tests/myzip.prg * harbour/contrib/hbzlib/tests/myunzip.prg ! removed procedure return values 2008-03-15 15:15 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/contrib/hbzlib/zip.c ! fixed compression bug 2008-03-13 11:14 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rdd/dbsql.c ! fixed typo in last commit which causes GPF when FOR condition was used without WHILE - thanks to Lorenzo 2008-03-12 17:43 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapi.h * harbour/source/common/hbver.c * harbour/source/rtl/gttone.c * added hb_iswince() and fixed TONE() for WinCE * harbour/source/rtl/math.c ! added workaround for SIGFPE platforms which generate it instead of setting errno during execution of math functions * harbour/source/rtl/gtcrs/hb-charmap.def ! remap 0x9b (155) to '.' in Linux terminals - it's control code * harbour/source/rdd/dbsql.c * harbour/source/rdd/workarea.c * harbour/source/rdd/dbf1.c ! always restore current workarea in WA EVAL() method ! always use EVAL() method for user codeblocks and macros * harbour/source/rdd/dbcmd.c ! fixed DBRELATION() called without numeric parameters or with 0 to return first relation expression (Clipper compatible) * harbour/contrib/hbtip/thtml.prg ! fixed wrongly ported to Harbour xHarbour specific code * harbour/source/common/hbstr.c + added missing const in one declaration * formatting * harbour/source/rtl/transfrm.c ! fixed casting for C++ compilers * harbour/source/rtl/errorapi.c * harbour/source/rdd/dbfntx/dbfntx1.c ! cleanup warnings * harbour/source/common/hbtrace.c * harbour/source/rdd/dbcmdx.c * harbour/source/rdd/wafunc.c * harbour/source/rdd/dbffpt/dbffpt1.c * harbour/source/rdd/hbsix/sxcrypt.c * formatting 2008-03-11 14:04 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/utils/hbtest/rt_trans.prg * cleaned TRANSFORM() tests * harbour/contrib/rddads/ads1.c ! fixed binary number formatting 2008-03-10 09:53 UTC+0100 Belgrano Massimo (mbelgrano/at/deltain.it) * harbour/utils/hbtest/rt_trans.prg ! added news regression test Corretted error Formatted source 2008-03-10 13:10 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapifs.h ! default usage of BSD locks in *BSD systems for emulating DOS/Windows DENY_* flags has been disabled because tests on FreeBSD 6.2 and MacOSX shows that this implementation can create self deadlock when used simultaneously with POSIX locks - thanks to Phil and Lorenzo for locating the problem and tests. 2008-03-09 18:30 UTC+0100 Lorenzo Fiorini (lorenzo.fiorini/at/gmail.com) * config/darwin/install.cf * added missed semicolon * contrib/hbtip/utils.c * added translation for CR and LF 2008-03-09 16:47 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/gtclip.c ! fixed two very bad bugs in get clipboard action used for W32 and GTs which do not support system clipboard data 2008-03-07 19:49 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbct/ctrand.prg ! fixed random() parameter interpretation - the action was reverted 2008-03-05 19:19 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/utils/hbtest/rt_trans.prg * minor comment cleanup 2008-03-05 19:10 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbct/screen2.c ! fixed possible vary bad bug (memory buffer overflow) in SCREENSTR() * harbour/source/rtl/hbffind.c ! fixed possible GPF in some *nixes * harbour/source/vm/classes.c ! do not execute the same destructor inherited from different parent classes more then once * harbour/source/rtl/transfrm.c ! fixed bug with '9' used as stop condition of function pattern this character cannot be stripped, e.g.: ? transform( "abc", "@_99*" ) ! fixed bug with '*' or '$' used with @), e.g.: ? transform( -12345, "@) $999999" ) ! fixed replacing '.' with ',' when @E is used without picture part, e.g.: ? transform( 123.45, "@E" ) ! fixed ',' conversions ? transform( 12.34,"@E ab,cd.ef9,9.99,.--" ) ! fixed bug with picture starting with ".", e.g.: ? transform( 0.3456, ".999" ) ! fixed "@(" and "@)" conversions, e.g.: ? transform( -12345, "@) 1999*999" ) ! fixed late oveflow detection in "@(" and "@)", e.g.: ? transtest( -12345, "@( 6798^999" ) ! fixed "@E" conversion for dates to keep user delimiters set in _SET_DATEFORMAT, e.g.: set( _SET_DATEFORMAT, "mm:dd:yyyy" ); ? transform( date(), "@E" ) set( _SET_DATEFORMAT, "yyyy<mm>dd" ); ? transform( date(), "@E" ) Please note that Harbour is not strictly Clipper compatible here because it respects _SET_DATEFORMAT set by user. ! fixed 64-bit integer conversion by eliminating conversion to 'double' e.g.: ? transform( 1234567890123456789, "99999999999999999999" ) ? transform( -1234567890123456789, "99999999999999999999" ) ! some other fixes, see regression test transtst.prg % speed improvement in numeric conversions + harbour/tests/transtst.prg + added regression test for transform function * harbour/utils/hbtest/rt_trans.prg * disabled transform() tests for "@E" and result smaller then 5 bytes CA-Cl*pper do not check result size and always exchanges bytes 1-2 with bytes 4-5 for @E conversion. It's buffer overflow bug and I do not want to replicate it inside our transform implementation. It also causes that the results for for strings smaller then 5 bytes behaves randomly. In fact precise tests can show that it's not random behavior but CA-Cl*pper uses static buffer for result and when current one is smaller then 5 bytes then first two bytes are replaced with 4-5 bytes from previous result which was length enough, e.g.: ? transform( "0123456789", "" ) ? transform( "AB", "@E" ) ? transform( "ab", "@E" ) Replicating exact CA-Cl*pper behavior it's trivial (it will be enough to use static buffer two and not check the size of current result) but IMHO it's bug. * harbour/source/rtl/round.c * added strictly Clipper compatible code covered by HB_C52_STRICT and comment about possible difference in Harbour. * harbour/include/hbgtinfo.ch * harbour/source/rtl/hbgtcore.c * harbour/source/rtl/gtxwc/gtxwc.c * harbour/source/rtl/gtsln/gtsln.c * harbour/source/rtl/gttrm/gttrm.c * harbour/source/rtl/gtwvt/gtwvt.c + added HB_GTI_ISUNICODE - it returns logical value with information about Unicode mode in active GT driver - it's necessary for proper CP initialization in some GTDs which can work in both mode depending on client side settings * harbour/source/rtl/gttrm/gttrm.c * improved UTF-8 detection * added automatic PuTTY detection * improved PuTTY and some xterm key handling * added some missing RXVT keys 2008-02-25 00:08 UTC-0600 Teo Fonrouge (teo/at/windtelsoft/dot/com) * make_vc.mak ! Fixed small typo 2008-02-22 22:28 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) * harbour/make_b32.mak * Synchronized with make_vc.mak regarding HB_BUILD_ST and HB_BUILD_MODE environment usage. There is still a difference between make_b32.mak and make_vc.mak, because under BCC - ST mode is default, while under MSVC - MT mode is default. To use MT mode under BCC one needs to set HB_BUILD_ST to something different than a word "yes". For example: set HB_BUILD_ST=no. The difference comes from the fact that so far BCC build has always been done in ST mode. It will be changed after a 1.0 release. Please note that harbour.dll is *always* built in MT mode under BCC and MSVC. * harbour/make_vc.mak ! Forced MT mode for harbour.dll * Minor formating * harbour/contrib/mtpl_vc.mak ! Fixed compilation using ST mode * harbour/contrib/mtpl_b32.mak ! Fixed compilation of CPP files + Added ST/MT handling logic * harbour/contrib/hbziparch/make_b32.bat ! Fixed compilation on some BCC instalations 2008-02-22 03:42 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/hb-func.sh * added -xhgtk switch for linking with xHGtk library * harbour/source/pp/hbppgen.c * harbour/utils/hbpp/hbpp.c ! added missing #include "hbset.h" 2008-02-22 00:20 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/cdpapi.c ! fixed unicode values for control codes in default CP437 unicode table * harbour/source/rtl/gtchrmap.c ! added missing default translation of chr(155) - it's control code on most of terminals and should not be shown in non UFT-8 mode * harbour/source/rtl/gttrm/gttrm.c ! do not use alternate character set for box drawing in UTF-8 mode New Linux consoles disable UTF-8 mode when alternate character set is enabled * harbour/contrib/hbct/ctwin.c * harbour/contrib/hbct/ctwin.h * harbour/contrib/hbct/ctwfunc.c * overload ReadKey() method for future window moving when scroll lock is set and for KEYREAD() implementation. * store real last key value in CTWIN GT. 2008-02-21 22:17 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) * harbour/make_vc.mak + Added a possiblity to compile harbour in ST or MT mode by using an environment variable called HB_BUILD_ST. Setting HB_BUILD_ST to yes, causes Harbour+RTL+VM to be built in ST mode. Otherwise MT mode is used. 2008-02-20 00:14 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/utils/hbpp/hbpp.c ! added hb_setGetDirSeparator() 2008-02-20 00:11 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/pp/hbppgen.c ! added hb_setGetDirSeparator() * harbour/source/common/hbfsapi.c ! fixed wrong index in path updating 2008-02-19 23:37 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/main/harbour.c * harbour/source/common/hbfsapi.c ! fixed hb_fsFNameSplit()/hb_fsFNameMerge() to respect path delimiter set by user * harbour/contrib/hbct/ctwfunc.c ! fixed WFORMAT() called without parameters - it should reset all existing margins ! fixed WSETSHADOW() to accept color also as character parameter 2008-02-18 12:12 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rdd/dbfntx/dbfntx1.c ! fixed very bad typo in my last commit - thanks to Jorge and Enrico for confirmation 2008-02-16 11:28 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbdate.h ! fixed limitation which forced to use hbdate.h after hbapi.h or hbdefs.h 2008-02-15 10:52 UTC+0100 Viktor Szakats * contrib/hbnf/Makefile * contrib/hbnf/common.mak - contrib/hbnf/descend.c + contrib/hbnf/descendn.c - contrib/hbnf/menuto.prg + contrib/hbnf/menutonf.prg ! Renamed some files in libnf to not collide with core source names. (Thanks Marek) 2008-02-15 09:47 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) * harbour/contrib/hbfimage/make_gcc.sh ! Fixed CFLAGS settings from a proper FREEIMAGE_INC envvar * harbour/contrib/hbziparch/make_vc.bat ! Disabled warnings about functions considered "depreciated" by MS * harbour/contrib/mtpl_gcc.mak * harbour/contrib/mtpl_gcc.sh ! Fixed HB_ARCHITECTIRE, CC and LD envvar settings * harbour/contrib/mtpl_vc.mak ! Forced CPP mode compilation for a ".cpp.obj" rule 2008-02-13 20:13 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) * harbour/contrib/mtpl_vc.mak ! Enable compilation in C++ mode using HB_BUILD_MODE envvar 2008-02-13 14:36 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rdd/dbfcdx/dbfcdx1.c * pacify compiler warning 2008-02-13 14:20 UTC+0100 Viktor Szakats * contrib/hbwhat32/whatutil.prg * contrib/hbwhat32/winrbar.prg * contrib/hbwhat32/winerror.prg * contrib/hbwhat32/wintabs.prg * contrib/hbwhat32/windebug.prg * contrib/hbwhat32/wintbar.prg * contrib/hbwhat32/wincore.prg ! Fixed warnings. 2008-02-13 14:03 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/direct.c * fixed Clipper compatibility when last character of given path is directory delimiter or drive delimiter * harbour/source/rdd/dbf1.c * added RT error when corrupted memo block address is detected in DBF file. 2008-02-12 08:04 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) * harbour/contrib/hbwhat32/make_gcc.sh ! Fixed compilation under MingW and Cygwin * harbour/contrib/make_b32_all.bat * harbour/contrib/make_vc_all.bat + Added hbwhat32 to a list of compiled contribs * harbour/contrib/make_gcc_all.sh - Removed hbzlib from a list of mandatory compiled contribs. It still can be compiled conditionaly. 2008-02-11 16:23 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/xhb/wintypes.ch ! added missing => in #ytranslate command - thanks to Alex * harbour/contrib/hbw32/w32_tole.prg * fixed typo in one comment * harbour/contrib/hbw32/w32_ole.c ! added cleanup code for s_pOleAuto - memory leak fix 2008-02-10 04:03 UTC+0100 Viktor Szakats * common.mak * source/lang/Makefile + source/lang/msgbgmik.c + source/lang/msgbe866.c + source/lang/msgbewin.c + source/lang/msghr437.c + source/lang/msghrwin.c + source/lang/msgua866.c + source/lang/msguakoi.c + source/lang/msguawin.c + Added some msg files from xhb. Some problems corrected. (Belarussian ISO code, long filename and internal ID for HR1250) 2008-02-09 22:42 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/harbour.spec * harbour/harbour-ce-spec * harbour/harbour-w32-spec * harbour/make_rpm.sh * harbour/make_rpmce.sh * harbour/make_rpmw32.sh * updated for recent changes in library names * added '--with zlib' build switch * changed '--without odbc' to '--with odbc' * changed '--with adsrdd' to '--with ads' * harbour/debian/control * updated note about supported platforms 2008-02-09 12:50 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/config/w32/global.cf * removed ' quoting from commands - *sh shells removed them but without such shell they are passed to windows command interpreter and not all version removed them 2008-02-09 10:06 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) * harbour/contrib/hbtpathy/tplinux.c * harbour/contrib/hbtpathy/tpos2.c * harbour/contrib/hbtpathy/tpwin32.c * Fixed guarding file content with proper OS constant (HB_OS_UNIX, HB_OS_WIN_32, HB_OS_OS2) 2008-02-08 19:41 UTC+0100 Viktor Szakats * contrib/hbfimage/make_gcc.sh * contrib/rddads/make_gcc.sh ! Two minor corrections to *_INC path setting examples for Windows. 2008-02-08 16:51 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) + harbour/contrib/gtwvg/make_gcc.sh + harbour/contrib/hbapollo/make_gcc.sh + harbour/contrib/hbclipsm/make_gcc.sh + harbour/contrib/hbct/make_gcc.sh + harbour/contrib/hbfbird/make_gcc.sh + harbour/contrib/hbfimage/make_gcc.sh + harbour/contrib/hbgd/make_gcc.sh + harbour/contrib/hbgt/make_gcc.sh + harbour/contrib/hbmisc/make_gcc.sh + harbour/contrib/hbmsql/make_gcc.sh + harbour/contrib/hbmysql/make_gcc.sh + harbour/contrib/hbnf/make_gcc.sh + harbour/contrib/hbodbc/make_gcc.sh + harbour/contrib/hbole/make_gcc.sh + harbour/contrib/hbpgsql/make_gcc.sh + harbour/contrib/hbtip/make_gcc.sh + harbour/contrib/hbtpathy/make_gcc.sh + harbour/contrib/hbw32/make_gcc.sh + harbour/contrib/hbw32ddr/make_gcc.sh + harbour/contrib/hbwhat32/make_gcc.sh + harbour/contrib/hbziparch/make_gcc.sh + harbour/contrib/hbzlib/make_gcc.sh + harbour/contrib/rddads/make_gcc.sh + harbour/contrib/xhb/make_gcc.sh + Added missing files to allow compilation using non standard build system. Please note that some contribs require external packages, so to succesfuully compile them you will have to set a proper environment variable, pointing to a list of directories, containig required package header files. Those envvars are listed below : APOLLO_INC FIREBIRD_INC FREEIMAGE_INC GD_INC MYSQL_INC PGSQL_INC ZLIB_INC ADS_INC Note that those envvars may contain list of directories, for example : export ADS_INC="/usr/include include ." Also note that on Windows systems, using MingW or Cygwin, you will have to generate a proper import files from dlls, available in those packages - using MingW or Cygwin dlltool - to build end user programs, utilizing those packages. * harbour/contrib/mtpl_gcc.mak * harbour/contrib/mtpl_gcc.sh * harbour/contrib/make_gcc_all.sh + Added the rest of contrib libs to compile * harbour/contrib/hbtpathy/tplinux.c * harbour/contrib/hbtpathy/tpos2.c * harbour/contrib/hbtpathy/tpwin32.c + Added an operating system guard around the content of thses files to allow including all three files in a library. 2008-02-08 15:58 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbcomp.h * harbour/include/hbmacro.h * harbour/include/hbexprb.c * harbour/source/vm/macro.c * harbour/source/compiler/hbmain.c ! fixed name conflict in privates/publics declaration. Harbour allows to declare memvars with the same name as file wide statics or fields but this extensions was not working well in some cases and can cause unexpected results in variable declaration, e.g. try this code: static v:="static" proc main() public v:="public" ? v, M->v return compiled with -n -w switches and also with -n -w -a before this fix. ! fixed some compile time warnings in memvars declaration to be more Clipper compatible ! fixed compiling external modules (DO <procname> [WITH <params,...>]) when function <procname> is already declared but with different letter case. Harbour does not convert <procname> in DO statement to upper case to play well with case sensitive file systems and it could cause confusing warning message: Cannot open <procname>.prg, assumed external * harbour/source/compiler/harbour.y * harbour/source/compiler/harbour.yyc ! added protection against bug in bison destructors which might cause multiple free the same memory block on syntax error due to * harbour/source/rdd/dbf1.c ! added missing binary flag for daytime fields * harbour/source/rdd/dbfntx/dbfntx1.c ! fixed possible memory leak during accessing corrupted NTX files ! fixed possible GPF during accessing corrupted NTX files * harbour/source/compiler/genc.c * minor cleanup * harbour/config/os2/global.cf ! use FOR command to delete group of files 2008-02-07 20:17 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/config/lib.cf * moved some definitions for easier detecting library build mode * harbour/config/os2/dir.cf * harbour/config/os2/global.cf * some modifications which should help for old GNU make OS2 ports and maybe also current ones 2008-02-07 11:24 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/config/os2/gcc.cf * use OS2_LIB_ARCH as library name to avoid problems with DEL * harbour/config/os2/global.cf * use double backslash characters - hack to test if it's sufficient workaround for problems mkdir on OS2 2008-02-06 11:08 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) * harbour/common.mak * harbour/make_gcc.mak * harbour/make_gcc.sh ! Some fixes for OS/2+eComStation. Still not all is working ok (dlls) 2008-02-05 10:58 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/config/os2/global.cf ! fixed typo in FOR command 2008-02-04 22:57 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) * harbour/common.mak * harbour/make_gcc.mak ! Fixed compilation under DJGPP * contrib/mtpl_gcc.mak ! Fixed compilation under GNU make 2008-02-04 15:55 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/config/os2/global.cf * added workaround for non working 'if' function in OS2 GNU make port 2008-02-04 16:40 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/source/vm/fm.c ! fixed hex dump of fm.log. The previous "hex" dump contained characters: ( ) . , + - / * 2008-02-04 09:31 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/harbour.spec * harbour/harbour-ce-spec * harbour/harbour-w32-spec * updated for new library names * harbour/ChangeLog * harbour/include/hbexprb.c * formatting * harbour/source/rtl/net.c ! fixed casting * harbour/harbour.spec * harbour/harbour-ce-spec * harbour/harbour-w32-spec * harbour/contrib/Makefile * removed hbzlib - it cannot be longer part of default build because Viktor removed zlib header files. Viktor sorry but IMHO you should revert it and also restore ace.h - it creates serious problems without any valuable addition. Now we will have to rebuild Harbour on many different platforms and often it will not be possible to install some libraries. We cannot force installing additional libs by people who will create binaries for incoming releases so it's important to revert it. Please do it. * harbour/config/bsd/install.cf * harbour/config/darwin/install.cf * harbour/config/hpux/install.cf * harbour/config/linux/install.cf * harbour/config/sunos/install.cf * harbour/config/dos/install.cf * harbour/config/os2/install.cf * harbour/config/w32/install.cf * redirected echo error messages to stderr when *sh shell is used * harbour/config/lib.cf * harbour/config/bin.cf * harbour/config/global.cf * harbour/config/hpux/gcc.cf * harbour/config/hpux/global.cf * harbour/config/darwin/gcc.cf * harbour/config/darwin/global.cf * harbour/config/dos/owatcom.cf * harbour/config/dos/global.cf * harbour/config/dos/rsx32.cf * harbour/config/global.cf * harbour/config/linux/owatcom.cf * harbour/config/linux/global.cf * harbour/config/os2/gcc.cf * harbour/config/os2/global.cf * harbour/config/sunos/gcc.cf * harbour/config/sunos/global.cf * harbour/config/bsd/global.cf * harbour/config/w32/owatcom.cf * harbour/config/w32/bcc32.cf * harbour/config/w32/gcc.cf * harbour/config/w32/rsxnt.cf * harbour/config/w32/global.cf ! fixed build process. DOS and WINDOWS users should make tests for different compilers. I tested only DOS-OpenWatcom, DOS-DJGPP, W32-BCC32, W32-OpenWatcom, W32-POCC, W32-XCC and corss builds W32-MinGW, W32-MinGW-CE. OS2 version not testes at all - I hope it will work. LINUX-GCC, LINUX-G++, LINUX-OpenWatcom, BSD-GCC, HPUX-GCC tested and they are working. I hope that SunOS version also works though I do not have any solaris installation where I can make real tests. 2008-02-02 23:40 UTC+0100 Ryszard Glab (harbour//rglab.pl) * config/os2/global.cf * restored double backslash in deletion command 2008-02-02 15:29 UTC+0100 Viktor Szakats + contrib/examples/rdddbt - contrib/examples/dbfdbt * Renamed after move. 2008-02-02 15:27 UTC+0100 Viktor Szakats + contrib/examples/dbfdbt + contrib/examples/dbfdbt/dbfdbt1.c + contrib/examples/dbfdbt/Makefile - source/rdd/dbfdbt * Moved no longer used (superceded) core RDD code to /contrib/examples/ 2008-02-02 02:13 UTC+0100 Viktor Szakats * include/hbapicdp.h * common.mak * source/codepage/Makefile + source/codepage/uc1252.c + source/codepage/cpdewin.c + source/codepage/cpruiso.c + Added RUISO (Russian ISO-8859-5) and DEWIN (German CP1252, actually identical to DEISO) codepages and a CP1252<->Unicode table. Borrowed from Phil Krylov (xhb). 2008-02-01 17:35 UTC+0100 Ryszard Glab (harbour/at/rglab.pl) * config/lib.cf * fixed to correctly list the source of installed library 2008-02-01 12:25 UTC+0100 Ryszard Glab <harbour//rglab.pl> * config/os2/global.cf * fixed to delete single library during 'clean' when command shell is used 2008-02-01 08:17 UTC+0100 Viktor Szakats * contrib/hbw32ddr/w32_ddrw.cpp ! Fixed compile error under MSVC. ! Fixed MSVC warning (strdup() -> hb_strdup()) Now compiles without warnings under MSVC. ! Reindented, some formatting. 2008-02-01 02:35 UTC+0100 Ryszard Glab <harbour//rglab.pl> * config/lib.cf * added vpath to search target libraries in lib/<arch>/<compiler> * config/darwin/global.cf * config/hpux/global.cf * config/dos/global.cf * config/linux/global.cf * config/os2/global.cf * config/sunos/global.cf * config/bsd/global.cf * config/w32/global.cf * fixed to remove a single library during 'clean' 2008-01-31 23:03 UTC+0100 Viktor Szakats * contrib/gtwvg/tests/demowvg.prg ! SVN header added. * source/rtl/dircmd.prg ! Minor typos in comments. * source/rtl/net.c % Minor opt. 2008-01-31 22:10 UTC+0100 Viktor Szakats * contrib/examples/guestbk/bld_b32.bat * contrib/examples/pe/bld_b32.bat * contrib/examples/dbu/bld_b32.bat * contrib/examples/hscript/bld_b32.bat ! Lib name changes. 2008-01-31 19:36 UTC+0100 Viktor Szakats * source/rtl/net.c ! Typo fixed. 2008-01-31 19:04 UTC+0100 Viktor Szakats * contrib/make_gcc_all.sh ! Added SVN header. * contrib/hbgf/win32/common.mak ! Same change done as on the other 'common.mak's in contrib. 2008-01-31 18:47 UTC+0100 Ryszard Glab <harbour//rglab.pl> * config/hpux/gcc.cf * config/darwin/gcc.cf * config/dos/owatcom.cf * config/dos/watcom.cf * config/dos/bcc16.cf * config/dos/rsx32.cf * config/dos/djgpp.cf * config/linux/owatcom.cf * config/linux/gcc.cf * config/os2/gcc.cf * config/os2/icc.cf * config/sunos/gcc.cf * config/bsd/gcc.cf * config/w32/msvc.cf * config/w32/owatcom.cf * config/w32/watcom.cf * config/w32/bcc32.cf * config/w32/gcc.cf * config/w32/xcc.cf * config/w32/rsxnt.cf * config/w32/cemgw.cf * config/w32/pocc.cf * config/w32/mingw32.cf * fixed to link contrib libraries (all contrib libraries are placed in lib/<arch>/<compiler> directory) NOTE: OS/2 users: the names of libraries have 'hbgf' prefix 2008-01-31 18:41 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) + contrib/mtpl_gcc.mak + Readded to SVN yet another time 2008-01-31 18:29 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) * contrib/gtwvg/common.mak * contrib/hbapollo/common.mak * contrib/hbbmcdx/common.mak * contrib/hbbtree/common.mak * contrib/hbclipsm/common.mak * contrib/hbct/common.mak * contrib/hbfbird/common.mak * contrib/hbfimage/common.mak * contrib/hbgd/common.mak * contrib/hbgt/common.mak * contrib/hbmisc/common.mak * contrib/hbmsql/common.mak * contrib/hbmysql/common.mak * contrib/hbnf/common.mak * contrib/hbodbc/common.mak * contrib/hbole/common.mak * contrib/hbpgsql/common.mak * contrib/hbtip/common.mak * contrib/hbtpathy/common.mak * contrib/hbw32/common.mak * contrib/hbw32ddr/common.mak * contrib/hbwhat32/common.mak * contrib/hbziparch/common.mak * contrib/hbzlib/common.mak * contrib/mtpl_b32.mak * contrib/mtpl_vc.mak * contrib/rddado/common.mak * contrib/rddads/common.mak * contrib/xhb/common.mak * contrib/mtpl_gcc.mak ! Fixed possible error in Bcc build, related to recent changes + contrib/hbbmcdx/make_gcc.sh + contrib/hbbtree/make_gcc.sh + contrib/rddado/make_gcc.sh + contrib/make_gcc_all.sh + contrib/mtpl_gcc.sh + Readded, due to my wrong last commit, when these files were not added at all 2008-01-31 18:07 UTC+0100 Viktor Szakats * common.mak * harbour-ce-spec * harbour-w32-spec * harbour.spec * make_tgz.sh * utils/hbpptest/Makefile + utils/hbpptest/hbpptest.prg - utils/hbpptest/pretest.prg ! Fixed hbpptest to have this name (instead of 'pretest') even when built with the GNU make system. 2008-01-31 17:40 UTC+0100 Viktor Szakats * bin/hb-func.sh + Updated for lib name change. Please test & review. * source/rtl/net.c * include/hbapi.h + Added hb_netname() and hb_username() low-level versions of NETNAME() and hb_USERNAME(). 2008-01-31 17:40 UTC+0100 Ryszard Glab <harbour//rglab.pl> * config/w32/mingw32.cf * fixed library name mainstd -> hbmainstd 2008-01-31 16:32 UTC+0100 Viktor Szakats * include/hbextern.ch * source/rtl/net.c * contrib/xhb/hbcompat.ch ! Removed non-compatible xhb extension from NetName(). + hb_UserName() function added with the above functionality. ! Slight correction to the Win32 branch of hb_UserName(). + Added compatibility translations to NetName(1) for xhb lib users (enough to #include "hbcompat.ch"). 2008-01-31 14:13 UTC+0100 Viktor Szakats * contrib/hbbtree/hb_btree.c ! Removed HB_ERR_SS_TOOLS reference. 2008-01-31 13:00 UTC+0100 Ryszard Glab <harbour//rglab.pl> * source/rdd/Makefile * config/global.cf * added HB_LIB_DIRS with a list of valid RDD subdirectories (HB_LIB_DRIVERS stores the list of valid RDD libraries) 2008-01-31 12:40 UTC+0100 Ryszard Glab <harbour//rglab.pl> * doc/howtosvn.txt * svn update does not report locally modified files - it is required to run 'svn status' to list all changed files * config/lib.cf * config/bin.cf * config/darwin/gcc.cf * config/darwin/global.cf * config/hpux/gcc.cf * config/hpux/global.cf * config/dos/owatcom.cf * config/dos/watcom.cf * config/dos/bcc16.cf * config/dos/global.cf * config/dos/rsx32.cf * config/dos/djgpp.cf * config/global.cf * config/linux/owatcom.cf * config/linux/gcc.cf * config/linux/global.cf * config/os2/gcc.cf * config/os2/icc.cf * config/os2/global.cf * config/sunos/gcc.cf * config/sunos/global.cf * config/bsd/gcc.cf * config/bsd/global.cf * config/w32/msvc.cf * config/w32/owatcom.cf * config/w32/watcom.cf * config/w32/bcc32.cf * config/w32/gcc.cf * config/w32/xcc.cf * config/w32/rsxnt.cf * config/w32/global.cf * config/w32/cemgw.cf * config/w32/pocc.cf * config/w32/mingw32.cf * updated to create libraries in harbour/lib/<arch>/<compiler> subdirectories NOTE: only 'linux/gcc' modifications were tested -please report any problems (mostly slash or backslash issues probably) 2008-01-30 21:30 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) * contrib/gtwvg/common.mak * contrib/hbapollo/common.mak * contrib/hbbmcdx/common.mak * contrib/hbbtree/common.mak * contrib/hbclipsm/common.mak * contrib/hbct/common.mak * contrib/hbfbird/common.mak * contrib/hbfimage/common.mak * contrib/hbgd/common.mak * contrib/hbgt/common.mak * contrib/hbmisc/common.mak * contrib/hbmsql/common.mak * contrib/hbmysql/common.mak * contrib/hbnf/common.mak * contrib/hbodbc/common.mak * contrib/hbole/common.mak * contrib/hbpgsql/common.mak * contrib/hbtip/common.mak * contrib/hbtpathy/common.mak * contrib/hbw32/common.mak * contrib/hbw32ddr/common.mak * contrib/hbwhat32/common.mak * contrib/hbziparch/common.mak * contrib/hbzlib/common.mak * contrib/rddado/common.mak * contrib/rddads/common.mak * contrib/xhb/common.mak ! Changed to be compatible with GNU make for alternative building system centered around common.mak. + contrib/make_gcc_all.sh + contrib/mtpl_gcc.mak + contrib/mtpl_gcc.sh + New files for building contrib libs with GNU make using alternative building system centered around common.mak. + contrib/hbbmcdx/make_gcc.sh + contrib/hbbtree/make_gcc.sh + contrib/rddado/make_gcc.sh + New files for building contrib libs with GNU make using alternative building system centered around common.mak. Work in progress. * contrib/make_b32_all.bat * contrib/make_vc_all.bat + Added Copyright notes. * contrib/mtpl_b32.bat * contrib/mtpl_b32.mak * contrib/mtpl_vc.bat * contrib/mtpl_vc.mak ! Minor cleanup and formatting. * make_gcc.mak * make_gcc.sh ! Minor fix related to Cygwin platform 2008-01-29 01:00 UTC+0100 Viktor Szakats * ChangeLog ! Typos. * utils/hbpp/hbpplib.c ! Replaced RTE code 1001 with 1002. (almost the same error condition, but better have it different to avoid any support confusions). 2008-01-28 12:10 UTC+0100 Viktor Szakats * include/hbapierr.h * source/rtl/errorapi.c ! Removed HB_ERR_SS_TOOLS non-core #define (formerly used by /contrib/hbct) from core header. ! Removed non-core related Error API call hb_errRT_TOOLS() (functionality was similar to hb_errRT_BASE()) * contrib/hbct/ctnet.c ! Fixed RTE calls to use unique IDs instead of 9999. Subcode changed to 0 from 999. * utils/hbpp/hbpplib.c ! Replaced RTE code 9999 with 1001. 2008-01-28 09:28 UTC+0100 Viktor Szakats * source/rdd/dbfntx/Makefile * source/rdd/dbfdbt/Makefile * source/rdd/dbfcdx/Makefile * source/rdd/dbffpt/Makefile ! Missing LIBNAME change now done. * ChangeLog ! Missing dbfdbt -> rdddbt name change added to prev entry. 2008-01-27 17:24 UTC+0100 Viktor Szakats * contrib/hbmysql/make_b32.bat * contrib/hbmysql/make_vc.bat * contrib/hbodbc/make_b32.bat * contrib/hbodbc/make_vc.bat * contrib/hbfbird/make_b32.bat * contrib/hbfbird/make_vc.bat * contrib/hbapollo/make_b32.bat * contrib/hbapollo/make_vc.bat * contrib/hbzlib/make_b32.bat * contrib/hbzlib/make_vc.bat * contrib/hbpgsql/make_b32.bat * contrib/hbpgsql/make_vc.bat * contrib/rddads/make_b32.bat * contrib/rddads/make_vc.bat * contrib/hbfimage/make_b32.bat * contrib/hbfimage/make_vc.bat * contrib/hbgd/make_b32.bat * contrib/hbgd/make_vc.bat ! Minor formatting. * contrib/hbzlib/make_b32.bat ! -a added to implib until a better fix is found for the problem. * source/rdd/dbfntx/dbfntx1.c * source/rdd/dbfcdx/dbfcdx1.c ! Changed previously used internal error code ranges to better fit in already used ones. (70??/71?? -> 93??) * contrib/hbbmcdx/bmdbfcdx1.c ! 9999 internal error codes synced with CDX RDD. 2008-01-27 15:26 UTC+0200 Chen Kedem <niki@synel.co.il> * source/rtl/objfunc.prg ! Change hb_ISPOINTER() -> hb_ISSYMBOL() 2008-01-27 12:46 UTC+0100 Viktor Szakats * source/rtl/objfunc.prg ! Fixed ISNUMBER() -> hb_ISPOINTER() for pointers. Thanks to Chen Kedem. * utils/hbtest/rt_stra.prg * utils/hbtest/rt_array.prg ! Fixed expected results to use the recently introduced new error codes. Thanks to Chen Kedem. 2008-01-26 22:42 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) * make_gcc.mak + Added an extra compilation phase for building shared VM+RTL library (if needed) ! Some minor fixes and cleanup 2008-01-26 17:00 UTC+0100 Lorenzo Fiorini (lorenzo.fiorini/at/gmail.com) * source/rtl/gtxwc/gtxwc.h added missed K_SH_keys 2008-01-26 11:00 UTC+0100 Viktor Szakats * source/pp/Makefile ! Missed modification made after lib name change. 2008-01-26 10:26 UTC+0100 Viktor Szakats * contrib/rddads/adsfunc.c ! Warning fixed in ADSGetServerName(). * contrib/hbtip/sessid.prg ! SVN header added. * contrib/hbtip/common.mak + New file added. * contrib/hbtip/Makefile * Formatting. * source/rtl/gtxwc/gtxwc.c ! Formatting. 2008-01-26 10:10 UTC+0100 Lorenzo Fiorini (lorenzo.fiorini/at/gmail.com) * contrib/hbtip/utils.c added .ico support to TIP_MIMETYPE * contrib/hbtip/cgi.prg + contrib/hbtip/sessid.prg moved statis funcs GenerateSID, CheckSID, DateToGmt from cgi.prg to new sessid.prg and renamed to TIP_* * contrib/hbtip/httpcln.prg fixed few typos that generated RT errors * source/rtl/gtxwc/gtxwc.c added missed K_SH_keys 2008-01-26 09:54 UTC+0100 Viktor Szakats * contrib/make_b32_all.bat * contrib/make_vc_all.bat * contrib/Makefile + contrib/rddado * contrib/rddado/common.mak * contrib/rddado/Makefile + contrib/gtwvg * contrib/gtwvg/common.mak * contrib/gtwvg/Makefile + contrib/rddads * contrib/rddads/common.mak * contrib/rddads/Makefile - contrib/hbrddado - contrib/hbgtwvg - contrib/hbrddads * utils/hbmake/hbmutils.prg ! Done some final renames in contrib to be consistent with the core names where some new rules had to be made for DJGPP compatibility. Old name New name -------- -------- hbgtwvg -> gtwvg hbrddado -> rddado hbrddads -> rddads 2008-01-26 07:53 UTC+0100 Viktor Szakats * source/pp/pplib.c * source/rtl/run.c * source/rtl/hbgtcore.c * source/rtl/philesx.c * source/rtl/strzero.c * source/vm/runner.c * source/vm/debug.c * source/vm/itemapi.c * source/vm/arrayshb.c * source/vm/classes.c * source/rdd/dbfntx/dbfntx1.c * source/rdd/dbfcdx/dbfcdx1.c ! Replaced 9999 internal and RT error codes with unique ones, in new Harbour ranges: RT/PP: 1001-1999 RT/BASE: 6001-6999 runner: 6101-6199 Internal/misc: 6001-6999 Internal/RDD: 9301-9399 NOTE: If you find some more 9999s in the core code, pls tell. 2008-01-26 06:27 UTC+0100 Viktor Szakats * tests/gfx.prg * tests/wcecon.prg * tests/gtchars.prg * tests/gtkeys.prg * include/hbgtinfo.ch * source/rtl/hbgtcore.c * source/rtl/gtkbstat.c * source/rtl/gtdos/gtdos.c * source/rtl/gtwin/gtwin.c * source/rtl/gtxwc/gtxwc.c * source/rtl/gtos2/gtos2.c * source/rtl/gtcrs/gtcrs.c * source/rtl/gtalleg/gtalleg.c * source/rtl/gtstd/gtstd.c * source/rtl/gtsln/gtsln.c * source/rtl/gttrm/gttrm.c * source/rtl/gtpca/gtpca.c * source/rtl/gtgui/gtgui.c * source/rtl/gtcgi/gtcgi.c * source/rtl/gtwvt/gtwvt.c * contrib/hbgtwvg/gtwvg.c ! Some minor formatting to the .ch file. Removed reference to non-existing doc/gtinfo.txt. * Using HB_GTI_* instead of GTI_* in Harbour files. 2008-01-25 21:27 UTC+0100 Viktor Szakats * harbour-ce-spec * harbour-w32-spec * bin/bld.bat * harbour.spec * common.mak * source/pp/Makefile * source/lang/Makefile * source/macro/Makefile * source/rtl/Makefile * source/vm/mainstd/Makefile * source/vm/Makefile * source/vm/mainwin/Makefile * source/main/Makefile * source/debug/Makefile * source/codepage/Makefile * source/common/Makefile * source/rdd/nulsys/Makefile * source/rdd/Makefile * source/rdd/hsx/Makefile * source/rdd/usrrdd/Makefile * source/compiler/Makefile * contrib/hbct/tests/Makefile * contrib/hbodbc/tests/bld_b32.bat * contrib/hbole/tests/bld_b32.bat * contrib/hbapollo/tests/bld.bat * contrib/hbfbird/tests/bld_b32.bat * contrib/hbfbird/tests/Makefile * contrib/hbpgsql/tests/Makefile * contrib/hbfimage/tests/bld_b32.bat * contrib/hbgd/tests/bldtest.bat * contrib/hbmisc/tests/Makefile * contrib/hbgf/tests/bld_b32.bat * contrib/hbbtree/tests/Makefile * contrib/examples/guestbk/Makefile * contrib/examples/pe/Makefile * contrib/examples/dbu/Makefile * contrib/examples/misc/Makefile * contrib/examples/hscript/Makefile * utils/hbdoc/Makefile * utils/hbextern/Makefile * utils/hbdot/Makefile * utils/hbmake/Makefile * utils/hbmake/hbmutils.prg * utils/hbmake/hbmake.prg * utils/hbpp/Makefile * utils/hbpptest/Makefile * utils/hbtest/Makefile * utils/hbrun/Makefile * tests/Makefile * Core libs renamed to be prefixed with hb, while having the first significant 5 chars unique. Old name New name -------- -------- codepage -> hbcpage common -> hbcommon compiler -> hbcplr debug -> hbdebug hbsix -> hbsix hsx -> hbhsx lang -> hblang macro -> hbmacro pp -> hbpp rtl -> hbrtl vm -> hbvm rdd -> hbrdd dbfcdx -> rddcdx dbffpt -> rddfpt dbfntx -> rddntx dbfdbt -> rdddbt nulsys -> hbnulrdd usrrdd -> hbusrrdd mainwin -> hbmainwin mainstd -> hbmainstd NOTE/TODO: We're currently not in sync with contribs, regarding hb prefixing, since in contrib rdds and gts (rightly) also have hb prefixes. The only reason not to add them in core this time, is to keep compatibility with DJGPP. Maybe we should remove those prefixes from contrib. NOTE/TODO: Do tests in as many platforms and as many contrib tests as possible. Feedback from hbmake users is also welcome. !!! Please update your local make files !!! * include/hbgtinfo.ch + Added HB_ prefixed versions for all GTI_ macros. Unprefixed GTI_ macros are to be considered xhb compatible (or legacy) ones, and they can be excluded by #defining HB_GT_NO_XHB if they seem to collide with user code. TODO: Switch to use HB_GTI_* inside Harbour code. 2008-01-25 17:55 UTC+0100 Viktor Szakats * source/rtl/radiogrp.prg ! Minor formatting. 2008-01-25 16:32 UTC+0100 Viktor Szakats - contrib/hbzlib/zlib.h - contrib/hbzlib/zconf.h * contrib/hbzlib/hbmzip.c * contrib/hbzlib/readme.txt ! Removed zlib headers included in Harbour SVN. For this contrib to compile, users will need to have the zlib package installed. ! stricmp() -> hb_stricmp() to avoid MSVC warning and to be more portable. 2008-01-25 15:20 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/source/compiler/hbmain.c ! fixed a few /w3 memory leaks 2008-01-25 10:47 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) * contrib/make_b32_all.bat * contrib/make_vc_all.bat ! moved hbzlib compilation into "conditional section" of above batfiles 2008-01-25 10:08 UTC+0100 Viktor Szakats * contrib/hbrddads/make_b32.bat * contrib/hbrddads/make_vc.bat ! Removed duplicate line. 2008-01-25 10:05 UTC+0100 Viktor Szakats * contrib/hbzlib/make_b32.bat * contrib/hbzlib/make_vc.bat + Added creation of .lib from .dll for non-GNU make systems. 2008-01-23 02:24 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbrddntx.h ! fixed type of Signature field in tag structure * harbour/source/rdd/dbfntx/dbfntx1.c ! fixed possible leaving locked index when number of tags exceed 63. 63 is maximum number of tags in multi tag NTX file ! fixed typo in HB_TRACE message % simplify NTXNODE data access in RDDINFO method * harbour/source/rdd/dbfcdx/dbfcdx1.c * formatting, some minor cleanup and fixed typo in comment 2008-01-18 02:11 UTC+0100 Viktor Szakats * contrib/hbrddads/make_b32.bat * contrib/hbrddads/make_vc.bat ! Fixed typo in a label. (Thanks to Eduardo Horbino) 2008-01-18 01:39 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbzlib/hbmzip.c * cast result of hb_fsGetOsHandle() to expected OS handle type - thanks to Jorge 2008-01-18 01:17 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbzlib/zip.c * harbour/contrib/hbzlib/unzip.c ! fixed possible access to uninitialized memory - thanks to Lorenzo * harbour/contrib/hbzlib/hbzlib.c * fixed casting - thanks to Andi * harbour/contrib/hbzlib/hbmzip.c * use hb_fsGetOsHandle() instead of LongToHandle() - code which uses hb_fsGetOsHandle() will work also with our own virtual handles if we add such extensions in the future * harbour/source/vm/harbinit.prg ! call __SetHelpK() only when HELP() function/procedure exist Clipper compatible behavior 2008-01-17 17:29 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/harbour.spec ! removed dummy %endif which left after recent modification for Mandriva detection * harbour/ChangeLog ! fixed ChangeLog description - I repeated by mistake the previous one 2008-01-17 16:50 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbzlib/ioapi.c * harbour/contrib/hbzlib/zip.c * harbour/contrib/hbzlib/unzip.c * harbour/contrib/hbzlib/crypt.h * harbour/contrib/hbzlib/hbzlib.c * harbour/contrib/hbzlib/hbmzip.c * casting for C++ compilation * changed function declaration for C++ compilation * removed #include "errno.h" - some platforms do not have it * updated WIN32 API for WinCE and UNICODE builds * use localtime_r() only for Linux builds - TODO: create our own API for it and remove all #if... from core code so we will have it only in one place easy to update for different platforms * harbour/contrib/hbzlib/common.mak * replaced TABs with SPACEs * harbour/harbour-ce-spec * harbour/harbour-w32-spec * harbour/harbour.spec * harbour/bin/hb-func.sh * harbour/contrib/Makefile + added hbzlib to contrib libraries compiled by default 2008-01-16 12:03 UTC+0100 Viktor Szakats * contrib/make_b32_all.bat * contrib/make_vc_all.bat + contrib/hbzlib/common.mak + Added missing non-GNU make file. + Added hbzlib to "all" non-GNU make batches. 2008-01-16 03:59 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) + harbour/contrib/hbzlib/crypt.h + added modified for minizp crypt.h - it comes from minizip source code and it's modified infozip file * harbour/contrib/hbzlib/zip.c * disabled unused functions to eliminate warning * harbour/contrib/hbzlib/unzip.c * added suggested by compiler statement markers {} to pacify warnings * harbour/contrib/hbzlib/hbmzip.c ! added missing parenthesis in one logical expression * updated for Linux compilation - not tested yet but it can be cleanly compiled * harbour/contrib/hbzlib/hbzlib.c * synced with some minor modifications in my local copy 2008-01-16 03:18 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/macro.c ! strip trailing and leading SPACEs and TABs from macro compiled symbols 2008-01-16 01:20 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) + harbour/contrib/hbzlib + added support for zlib library and zip files (based on minizip) + harbour/contrib/hbzlib/zconf.h + harbour/contrib/hbzlib/zlib.h + zlib include files + harbour/contrib/hbzlib/zip.h + harbour/contrib/hbzlib/unzip.h + minizip include files + harbour/contrib/hbzlib/ioapi.c + harbour/contrib/hbzlib/zip.c + harbour/contrib/hbzlib/unzip.c + minizip source files. Some fixes are applied to avoid compile time warnings and errors, see readme.txt for list ; I've compiled with BCC only, please, check other compilers + harbour/contrib/hbzlib/hbzlib.c + zlib wrapper functions. Przemyslaw Czerpak is author of this code. The file was posted to developers mailing list on 2007-05-17. I think licence statements in the begining of file gives permission to include it into SVN. * HB_UNCOMPRESSLEN() function added. Source copied from Przemyslaw's email on 2008-01-10. + harbour/contrib/hbzlib/hbmzip.c + wrapper functions for minizip library Function names uses convention: - HB_ZIP*() - manages compression of .zip file: HB_ZIPOPEN(), HB_ZIPCLOSE() - HB_ZIPFILE*() - manages compression of files inside .zip: HB_ZIPFILECREATE(), HB_ZIPFILEWRITE(), HB_ZIPFILECLOSE() - HB_UNZIP*() - manages decompression of .zip fileL HB_UNZIPOPEN(), HB_UNZIPCLOSE() - HB_UNZIPFILE*() - manages decompression of files inside .zip HB_UNZIPFILEOPEN(), HB_UNZIPFILEREAD(), HB_UNZIPFILECLOSE(), HB_UNZIPFILEFIRST(), HB_UNZIPFILENEXT(), HB_UNZIPFILEPOS(), HB_UNZIPFILEGOTO(), HB_UNZIPFILEINFO() Parameters of functions are documented inside source files. + implemented some higher-level functions. These function are not wrapper of minizip: HB_ZIPSTOREFILE(), HB_UNZIPEXTRACTCURRENTFILE() ; minizip gives low-level access on zip files. This could be a problem if you not going to put your fingers on internals, but just want to compress/decompress files. Because managing of file attributes is a little complicated. These higher-level functions do the job. ; please test code under linux. Source is written using docs only, without test or deeper knowledge. + harbour/contrib/hbzlib/hbzlib.ch + defines for zlib and minizip libraries ; I've used HB_ZLIB_* and HB_ZIP_* prefixes, because some original names of minizip library are too general, ex., APPEND_STATUS_CREATE If you want to use original define names we change this. + harbour/contrib/hbzlib/readme.txt * some comments on the source of libraries and ChangeLog for minizip files + harbour/contrib/hbzlib/tests/myzip.prg + harbour/contrib/hbzlib/tests/myunzip.prg + tiny compression/decompression utilities written in Harbour + harbour/contrib/hbzlib/Makefile + harbour/contrib/hbzlib/make_b32.bat + harbour/contrib/hbzlib/make_vc.bat + makefiles written using another contrib's makefiles as template ; I'm not makefiles guru, please test it. I've also used command line parameters: -DNOCRYPT -DNOUNCRYPT, to compile minizip. I don't know howto include these to our makefiles 2008-01-15 19:30 UTC+0100 Tomaz Zupan (tomaz.zupan/at/orpo.si) * harbour.spec * Recognize more Mandriva releases * Changed platform from mdk to mdv for Mandriva 2008-01-15 14:27 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/macro.c ! make macro substitution before macro compilation - Clipper compatible behavior - fix borrowed from xHarbour ! do not overwrite 1st error object by others which can appear during macro TYPE() checking 2008-01-14 13:44 UTC+0100 Miguel Angel Marchuet Frutos <miguelangel@marchuet.net> * source/vm/extend.c * Undo Added conversion from logical params in hb_par* functions. ( thks to Juan Galvez ) 2008-01-14 12:28 UTC+0100 Miguel Angel Marchuet Frutos <miguelangel@marchuet.net> * source/vm/extend.c * Added conversion from logical params in hb_par* functions. ( thks to Juan Galvez ) 2008-01-15 10:31 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbdefs.h ! do not define [U]LONGLONG when HB_DONT_DEFINE_BASIC_TYPES macro is set 2008-01-15 10:21 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rdd/usrrdd/usrrdd.c * added missing 'const' to few variable declarations 2008-01-14 19:35 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/common.mak * replaced TAB with SPACEs * harbour/source/rdd/dbcmd.c * changed hb_retnl() in LASTREC() to hb_retnint() to increase maximum record number to 2^32 - unsigned 32-bit integer instead of signed one. * harbour/source/rdd/dbf1.c ! fixed possible memory leak/GPF when sx_DBFencrypt() is called when table already has password set * added support for password passing in sx_DBFdecrypt() - it's accepted only when table has no password * harbour/source/rdd/hbsix/sxcompat.prg - removed SX_SETPASS() * harbour/source/rdd/hbsix/sxtable.c + added new SX_SETPASS() implementation which supports some undocumented SIX3 actions ! fixed problem with setting password for currently open table with SX_SETPASS( <cPass> ) 2008-01-12 13:19 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/ChangeLog * harbour/include/hbapiitm.h * harbour/source/vm/itemapi.c - removed hb_itemLockReadCPtr()/hb_itemLockWriteCPtr()/hb_itemUnLockCPtr() Whole modification which will address all different aspects it to complex to introduce it now. I'll return to this problem after 1.0 release 2008-01-11 18:13 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbexprb.c * removed unused variable 2008-01-11 18:01 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapiitm.h * harbour/source/vm/itemapi.c + added new functions: BOOL hb_itemParamStore( USHORT uiParam, PHB_ITEM pItem ) BOOL hb_itemParamStoreForward( USHORT uiParam, PHB_ITEM pItem ) They copy/move pItem body to parameter passed by reference and return TRUE when operation was done successfully (uiParam was passed by reference) * harbour/include/hbcompdf.h * harbour/include/hbexprop.h * harbour/include/hbexprb.c * harbour/source/compiler/hbmain.c * harbour/source/compiler/cmdcheck.c * harbour/source/compiler/hbusage.c * removed HB_I18N_SUPPORT macro and enabled I18N code in default build 2008-01-11 17:32 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/include/hbexprb.c * harbour/source/compiler/hbmain.c ! added string escaping before to i18n .pot files + added hb_i18n_gettext_strict() support for compiler. This function generates warning if argument is not literal string. See discussion on mailing list from 2007-11-23 to 2007-11-29, for details. 2007-01-10 18:05 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com) * source/rtl/teditor.prg ! Fixed [ <nWndRow> scrolls past ::naTextLen ] 2007-01-10 17:50 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com) * source/rtl/memoedit.prg * source/rtl/teditor.prg + Implemented Clipper compatible missing parameters: nTextBuffRow nTextBuffColumn nWindowRow nWindowColumn Tested slightly but need deeper testing in case <nWndRow> scrolls past ::naTextLen. 2008-01-09 15:03 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/estack.c * added missing static to s_initSymbol declaration * harbour/include/hbgtinfo.ch * harbour/source/rtl/scroll.c * formatting * harbour/common.mak * added empty line necessary for some make systems (e.g. wmake) * harbour/bin/hb-func.sh * changed system libs order to avoid problems on some platforms * harbour/bin/pack_src.sh * collect information about repository files using 'svn status -v' command instead of scanning .svn/entries files to avoid problems with different formats used by SVN * harbour/include/hbchksum.h * harbour/include/hbset.h ! added missing extern in few function prototypes * harbour/include/hbclass.ch * use HB_CLS_PARAM_LIST macro instead of ... for strict C52 mode * harbour/source/common/hbfsapi.c + added missing const to one declaration * harbour/source/common/hbstr.c * minor cleanup in hb_stricmp() * harbour/source/rtl/inkey.c ! casting to avoid negative values during char to int translation * harbour/source/rtl/mouse53.c * added one internal definition * harbour/source/rtl/philes.c * removed unnecessary #include(s) * added missing const to one declaration * harbour/source/rtl/valtype.c * harbour/source/vm/hashfunc.c * cleanup RT error call to eliminate hb_paramError() function * harbour/source/pp/pplib.c * harbour/source/vm/runner.c * harbour/source/vm/debug.c * harbour/source/vm/arrayshb.c * harbour/source/vm/classes.c * harbour/source/vm/hvm.c * harbour/source/rtl/hbgtcore.c * harbour/source/rtl/gtfunc.c * harbour/source/rtl/hbinet.c * harbour/source/rtl/hbregex.c * harbour/source/rtl/idle.c * harbour/source/rtl/errorapi.c * harbour/source/rtl/hbtoken.c * harbour/source/rtl/direct.c * harbour/source/rdd/dbcmd.c * harbour/source/rdd/dbcmd53.c * harbour/source/rdd/fieldhb.c * harbour/source/rdd/hbsix/sxcompr.c * harbour/source/rdd/hbsix/sxcrypt.c * harbour/source/compiler/hbcmplib.c * harbour/contrib/hbrddads/adsfunc.c * harbour/contrib/hbrddads/adsmgmnt.c - removed unnecessary calls to hb_ret() % replaced hb_itemRelease( hb_itemReturn( pItem ) ) with hb_itemReturnRelease( pItem ) % replaced hb_itemPut*( hb_arrayGetItemPtr( pArray, ... ), ... ) with hb_arraySetNI( pArray, ... ) * harbour/source/macro/macro.y * harbour/source/macro/macro.yyc * harbour/contrib/xhb/cstructc.c * harbour/contrib/hbw32/w32_ole.c * harbour/contrib/hbgtwvg/wvtcore.c * cleaned typos with double ;; * harbour/source/vm/extend.c * harbour/source/rtl/math.c * cleaned HB_EXPORT usage * harbour/source/pp/ppcore.c ! fixed Harbour extension which allows to use match marker at the beginning of rule definition * harbour/source/main/harbour.c ! fixed hex conversion in FM log module - fix done by Phil Krylov in xHarbour * harbour/source/rdd/nulsys/nulsys.c + added dummy version of DBEVAL() and DBFILTER() - these functions are used in RTL * harbour/contrib/hbct/bitnum.c + added INTNEG(), INTPOS() + harbour/contrib/hbct/ctrand.prg + added RANDOM(), RAND() - borrowd from xHarbour by Pavel Tsarenko + harbour/contrib/hbct/setrc.c + added SETRC() * harbour/contrib/hbct/getinput.prg % minor optimization * harbour/contrib/hbct/Makefile * harbour/contrib/hbct/common.mak * updated for new files * harbour/contrib/hbnf/tempfile.prg * use HB_FTempCreate() - modification borrowed from xHarbour FIXME this function uses hb_isbyref() which does not exist in Harbour * harbour/config/w32/msvc.cf + added -nologo flag for cl.exe (Phil Krylov's modification borrowed from xHarbour * harbour/config/w32/mingw32.cf - removed repeated definitions * harbour/config/w32/install.cf ! added alternative install rule for command.com with max line size limit 2008-01-08 19:31 UTC+0100 Viktor Szakats * include/hbclass.ch ! Enabling HB_CLS_NO_DECORATION if compiled with HB_C52_STRICT, since in strict mode some PP extensions required by the decoration feature are not available. (Thanks Przemek for the tip) * source/rtl/tget.prg * Some formatting. 2008-01-05 01:07 UTC+0100 Viktor Szakats * source/rtl/tpopup.prg ! Fixed typo in POPUPMENU():getAccel(), causing wrong position being returned. Reported by Jose Miguel. * source/rtl/ttopbar.prg ! Changed HB_C52_STRICT guards to HB_EXTENSION. 2007-12-28 15:51 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com) * source/rtl/tbrowse.prg Method DispCell() case 'L' DispOut( ftmp, cColor ) => DispOut( alltrim( ftmp ), cColor ) 2007-12-22 13:14 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/make_tgz.sh + added HB_BUILDSUF - removed hbverfix and pretest from final binaries ! fixed setting UNTAR_OPT 2007-12-22 12:58 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/make_tgz.sh + added HB_BUILDSUF - removed hbverfix and pretest from final binaries ! fixed setting UNTAR_OPT 2007-12-22 11:59 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/make_tgz.sh * use -fPIC on HP-UX * respect user defined C_USR and L_USR ! fixed typo in GNU tar detection 2007-12-22 11:28 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/hb-mkslib.sh + added -fPIC to GCC parameters - it's necessary on some platforms + use .sl suffix for shared library in HP-UX * harbour/bin/hb-func.sh + use .sl suffix for shared library in HP-UX * harbour/bin/postinst.bat * removed < > from email address * harbour/include/hbgtcore.h * harbour/source/rtl/gtkeycod.c * harbour/source/rtl/gtdos/gtdos.c * harbour/source/rtl/gtos2/gtos2.c * harbour/source/rtl/gtstd/gtstd.c * harbour/source/rtl/gtpca/gtpca.c * fixed typo in function name - it should be hb_gt_dos_keyCodeTranslate() not hb_gt_dos_keyCodeTanslate() * harbour/make_tgz.sh * updated for non GNU tar versions * harbour/ChangeLog * replaced TABs with SPACEs 2007-12-21 20:09 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/make_xmingw.sh * fixed yet another typo located by Phil Krylov - thanks 2007-12-21 18:49 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/make_xmingw.sh * fixed two typos - many thanks to Phil Krylov for locating them 2007-12-21 18:21 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/pack_src.sh * try to detect GNU tar * harbour/make_xmingw.sh * added new default location for MinGW cross-compiler in Gentoo distribution * added auto detection of MinGW cross-compiler installation which should work in most cases when default location test fails * harbour/make_tgz.sh * try to detect GNU make and GNU tar * harbour/source/rtl/gtwvt/gtwvt.c * call hb_gt_wvt_InitWindow explicitly to eliminate problems with ignored WM_CREATE message when new window handler is not yet registered 2007-12-21 18:00 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/source/lang/msgltwin.c * month name typo 2007-12-21 10:55 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/hb-func.sh * added system libraries necessary for linking some of harbour contrib libs in WinCE * minor cleanup * harbour/source/rtl/gtxwc/gtxwc.c * added missing 'const' in declaration 2007-12-21 10:05 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/hb-func.sh * respect -fPIC used to create Harbour binaries in default GCC switches used by hb* scripts 2007-12-20 15:56 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/make_rpmw32.sh * moved -maxdepth option before actions and expressions in find parameters 2007-12-20 15:00 UTC+0100 Lorenzo Fiorini (lorenzo.fiorini/at/gmail.com) * harbour/make_xmingw.sh * moved -maxdepth before -name * harbour/source/rtl/hbini.prg * added hb_ininew() * harbour/contrib/hbtip/sendmail.prg * removed hbcompat.ch dependences + harbour/contrib/hbtip/utils.c * fixed a type in jpeg mime string * added TIP_HTMLSPECIALCHARS + harbour/contrib/hbpgsql/postgres.c * added PQRESULT2ARRAY 2007-12-20 11:44 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/common.mak * harbour/source/rtl/Makefile * harbour/include/hbgtcore.h + harbour/source/rtl/gtkeycod.c + added hb_gt_dos_keyCodeTanslate() - based on hb_gt_ReadKey() from GTDOS by David G. Holm <dholm@jsd-llc.com> * harbour/source/rtl/gtdos/gtdos.c * harbour/source/rtl/gtos2/gtos2.c * harbour/source/rtl/gtstd/gtstd.c * harbour/source/rtl/gtpca/gtpca.c * use hb_gt_dos_keyCodeTanslate() to eliminate repeated code * harbour/contrib/hbrddads/Makefile * harbour/contrib/hbpgsql/Makefile * updated code to locate directories with header files * harbour/source/rtl/hbini.prg ! fixed typo in HB_IniRead() * harbour/source/rtl/persist.prg ! eliminated internal static variable 2007-12-20 08:06 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbct/files.c ! added missing 'return;' - in OS2 builds - it should fix value returned by SETFDATI(), many thanks to David for his tests, now SETFDATI() should be fully functional in OS2 builds. 2007-12-19 18:48 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/xhb/Makefile * harbour/contrib/xhb/common.mak + harbour/contrib/xhb/xhbqself.c + added xHarbour compatible HB_QSELF() function * harbour/contrib/xhb/xhbfunc.c * removed HB_QSELF() redirecting to Class(y) compatible __SENDER() function * harbour/contrib/xhb/xhbcomp.prg ! fixed scalar classes overloading, do not enable extended messages for basic types if user haven't requested it (ENABLE TYPE CLASS ...), use scalar classes defined in RTL 2007-12-19 13:05 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbmath.h * harbour/source/rtl/math.c * cleaned matherr API, now it works in the same way on all platforms - this modification fixes also some strange results when math functions were called with wrong arguments on some platforms * harbour/contrib/hbct/trig.c * harbour/contrib/hbct/finan.c * harbour/contrib/hbct/ctmath2.c * updated for new matherr API and cleaned some minor problems * harbour/contrib/hbct/files.c ! use DATE and TIME parameters formated like for DOS in OS2 version of SETFDATI() - David, if possible please repeat the test from my previous commit, thank you. 2007-12-18 13:08 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/xhb/xhbcomp.prg + Added xHarbour specific methods to Type classes. 2007-12-18 11:17 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/ChangeLog * reverted conversion to UTF8 of national characters (svn diff) * harbour/include/hbdate.h * harbour/source/common/hbdate.c + added hb_timeStrGet() * harbour/contrib/hbct/files.c * use hb_timeStrGet() instead of sscanf() + added OS2 version of SETFDATI() - please test it !!! I'm interesting in results of this code compiled with OS2 Harbour build: proc main() local cFile:="_tst.tmp" FCLOSE(FCREATE(cFile)) ? FILEDATE(cFile), FILETIME(cFile) ? SETFDATI(cFile,STOD("20061129"),"12:34:45") ? FILEDATE(cFile), FILETIME(cFile) ? SETFDATI(cFile) ? FILEDATE(cFile), FILETIME(cFile) FERASE(cFile) return 2007-12-18 06:05 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbct/files.c * harbour/source/common/hbfsapi.c ! fixes in OS2 build - thanks to David 2007-12-17 21:40 UTC+0100 Viktor Szakats * bin/bld.bat ! %HB_USER_LIBS% (for bcc32) moved to the beginning of the lib list. * contrib/mtpl_b32.mak ! Fixed preprocessor error in line 190 when HB_INSTALL_PREFIX != HB_ROOT * source/rtl/getsys53.prg * source/rtl/getsys.prg ! Moved ReadStats() to getsys53.prg * ChangeLog ! Removed UTF-8 signature from the beginning of the file. Unfortunately accented chars got converted to UTF8, which would need to fixed. Pritpal, please turn off this feature on your editor for Harbour. 2007-12-17 21:21 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapigt.h * harbour/include/hbgtcore.h * harbour/source/rtl/gtapi.c * harbour/source/rtl/hbgtcore.c * harbour/source/rtl/gt_tpl/gt_tpl.c * harbour/source/rtl/gtdos/gtdos.c * harbour/source/rtl/gtwin/gtwin.c * harbour/source/rtl/gtxwc/gtxwc.c * harbour/source/rtl/gtos2/gtos2.c * harbour/source/rtl/gtcrs/gtcrs.c * harbour/source/rtl/gtsln/gtsln.c * harbour/source/rtl/gttrm/gttrm.c * harbour/source/rtl/gtpca/gtpca.c * harbour/source/rtl/gtgui/gtgui.c * harbour/source/rtl/gtwvt/gtwvt.c * harbour/source/rtl/gtcgi/gtcgi.c * harbour/source/rtl/gtstd/gtstd.c * harbour/contrib/hbct/ctwin.c * harbour/contrib/hbgtwvg/gtwvg.c * harbour/source/rtl/gtalleg/gtalleg.c * harbour/source/rtl/gtalleg/ssf.h * harbour/source/rtl/gtalleg/fixedth.sfc * added missing const to few declarations * formatting and minor code cleanup * harbour/source/rtl/hbgtcore.c ! fixed GTNUL registration * harbour/source/rtl/gtcgi/gtcgi.c * harbour/source/rtl/gtstd/gtstd.c * moved static variables to dynamic GT area * harbour/contrib/hbct/files.c ! fixed DOS version 2007-12-17 13:41 UTC+0100 Miguel Angel Marchuet Frutos <miguelangel@marchuet.net> * common.mak + Added some missing files (suggested by Juan Galvez) 2007-12-16 15:42 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbgtwvg/gtwvg.h * added OleLoadPicture() declaration when BCC5.5 is used. It's missing in BCC55 header files. 2007-12-16 15:06 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbct/files.c ! fixed pure C compilation I broke in previous commit 2007-12-16 13:32 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/common/hbfsapi.c + added OS2 version of hb_fsFileExists() and hb_fsDirExists() Please test - I do not have OS2 * harbour/source/rdd/dbf1.c ! removed unnecessary printf() message I left by mistake * harbour/contrib/hbct/files.c + added OS2 version of SETFATTR() Please test - I do not have OS2 * harbour/config/os2/global.cf + added temporary workaround for possible problems with some GNU make versions * harbour/make_deb.sh + build hbpgsql when libpq-dev is installed * harbour/include/clipdefs.h * do not define PBYTE, PSHORT, PUSHORT, PLONG, PULONG, PBOOL, PVOID when HB_OS_OS2 && HB_DONT_DEFINE_BASIC_TYPES is defined 2007-12-15 18:35 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/contrib/hbrddads/adsfunc.c + ADSGetServerName() * harbour/contrib/hbrddads/make_b32.bat * harbour/contrib/hbrddads/make_vc.bat ! Fixed variable names in help screen * Added setting to ADS_REQUIRE_VERSION by value of ADS_VER 2007-12-14 08:55 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/hbgtwvg/wvtutils.c ! Fixed memory leak in HB_FUNC( WVT_GETTITLE ) 2007-12-14 13:48 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/hb-func.sh * force linking GT drivers in hb* scripts also when shared library is used 2007-12-14 08:51 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/tscalar.prg + added APPEND method to array scalar object 2007-12-13 16:55 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapigt.h * harbour/source/rtl/gtapi.c ! fixed DISPCOUNT() return value * cleaned some GT functions declarations 2007-12-13 10:14 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/gtwvt/gtwvt.c ! fixed allocating terminal context - thanks to Enrico * harbour/contrib/hbct/token2.c + added automatic cleanup code for static data allocated by TokenInit() using hb_vmAtExit() functions * Change RestToken() to validate size of passed string * harbour/contrib/hbct/ct.prg - removed TokenExit() from CT EXIT procedure - it's not longer necessary * harbour/contrib/hbrddads/adsmgmnt.c * minor cleanup - hb_xgrab() cannot return NULL pointer 2007-12-13 18:05 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/hbrddads/adsmgmnt.c ! Fixed memory leak in HB_FUNC( ADSMGGETLOCKOWNER ) if ( pstUserInfo ) hb_xfree( pstUserInfo ); 2007-12-12 22:01 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/gt_tpl/gt_tpl.c * harbour/source/rtl/gtdos/gtdos.c * harbour/source/rtl/gtos2/gtos2.c * updated for new API * harbour/source/rtl/gtcgi/gtcgi.c * harbour/source/rtl/gtstd/gtstd.c * harbour/source/rtl/gtpca/gtpca.c * harbour/source/rtl/gttrm/gttrm.c * harbour/source/rtl/gtcrs/gtcrs.c * harbour/source/rtl/gtsln/gtsln.c * harbour/source/rtl/gtxwc/gtxwc.c * harbour/source/rtl/gtwin/gtwin.c * harbour/source/rtl/gtwvt/gtwvt.c * harbour/source/rtl/gtalleg/gtalleg.c * cleanup 2007-12-13 10:42 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/hbgtwvg/wvtpaint.prg ! Formatting. * harbour/contrib/hbgtwvg/hbgtwvg.c + static BOOL hb_gt_wvt_PutChar( PHB_GT pGT, int iRow, int iCol, BYTE bColor, BYTE bAttr, USHORT usChar ) GUI elements need that every screen region requsted to be redrawn must be redrawn. 2007-12-12 11:06 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/ChangeLog * removed UTF-8 signature: 0xEF 0xBB 0xBF * harbour/source/rtl/gtwvt/gtwvt.c * converted TABs to SPACEs 2007-12-12 10:46 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/idle.c ! fixed casting in hb_idleSleep() which truncated the fraction part of given timeout 2007-12-11 23:37 UTC+0100 Viktor Szakats * source/compiler/hbusage.c * Year bumped to 2008. 2007-12-11 16:05 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/hbgtcore.c * formatting * harbour/source/vm/hvm.c ! fixed typo in HB_TRACE message * harbour/source/rtl/gtwvt/gtwvt.h * harbour/source/rtl/gtwvt/gtwvt.c * updated for multi window usage * harbour/source/vm/maindllp.c * use MessageBox() instead of hb_errInternal() - thanks to Jon Jagger for information about the problem 2007-12-09 19:17 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/hbgtwvg/tests/demowvg.prg ! Formatting. ! "xHarbour" => "(x)Harbour" 2007-12-08 12:13 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/xhb/cstruct.prg + #include 'xhb.ch' ! Line#259 : cSynon[1] == '*' => left( cSynon,1 ) == '*' Now C Structure support in Harbour is exactly like xHarbour. Tested. 2007-12-07 15:29 UTC+0100 Viktor Szakats * contrib/hbgtwvg/Makefile * contrib/hbgtwvg/common.mak - contrib/hbgtwvg/gtwvt.h + contrib/hbgtwvg/gtwvg.h - contrib/hbgtwvg/gtwvt.c + contrib/hbgtwvg/gtwvg.c * contrib/hbgtwvg/wvtutils.c * contrib/hbgtwvg/wvtcore.c ! Renamed gtwvt to gtwvg to avoid clash with gtwvt in core when using non-GNU make files. * source/vm/extend.c ! Fixed trace messages in hb_parcx() * utils/hbmake/hbmutils.prg ! Fixed cosmetic problem. (Thanks to Bill Robertson) 2007-12-07 11:39 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/gtwvt/gtwvt.h * harbour/source/rtl/gtwvt/gtwvt.c * harbour/contrib/hbgtwvg/gtwvt.h * harbour/contrib/hbgtwvg/gtwvt.c * moved RGB definition of used colors to terminal window structure, now each window can use different palette 2007-12-07 10:43 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbgtcore.h * harbour/source/rtl/hbgtcore.c * harbour/source/rtl/gtapi.c * harbour/source/rtl/inkeyapi.c * harbour/source/rtl/mouseapi.c - removed hb_gt_*(), hb_inkey_*(), hb_mouse_*() functions + implemented HB_GTSELF_*() functions and changed HB_GTSUPER_*() ones to operate on GT context passed ad 1st parameter. Now GT API allows to create many GTs working simultaneously + added hb_gt_Base() core function which returns GT context it will be extended soon to allow using many GT contexts, setting thread default one or switch between them using some .prg function. * harbour/source/rtl/gtstd/gtstd.c * harbour/source/rtl/gtcgi/gtcgi.c * harbour/source/rtl/gtpca/gtpca.c * harbour/source/rtl/gttrm/gttrm.c * harbour/source/rtl/gtxwc/gtxwc.c * harbour/source/rtl/gtcrs/gtcrs.c * harbour/source/rtl/gtcrs/gtcrs.h * harbour/source/rtl/gtsln/gtsln.c * harbour/source/rtl/gtsln/gtsln.h * harbour/source/rtl/gtsln/kbsln.c * harbour/source/rtl/gtsln/mousesln.c * harbour/source/rtl/gtalleg/gtalleg.c * harbour/source/rtl/gtgui/gtgui.c * harbour/source/rtl/gtwin/gtwin.c * harbour/source/rtl/gtwvt/gtwvt.h * harbour/source/rtl/gtwvt/gtwvt.c * harbour/contrib/hbct/ctwin.c * harbour/contrib/hbct/ctwin.h * harbour/contrib/hbct/ctwfunc.c * harbour/contrib/hbgtwvg/gtwvt.h * harbour/contrib/hbgtwvg/gtwvt.c * updated GT code for new GT API. I still haven't added GT cloning to them and only GTTRM is ready to use in multi window MT programs but now they can be systematically modified and it can be done locally without core code modifications. * harbour/contrib/hbgtwvg/wvtutils.c ! fixed some memory leaks in Unicode conversions 2007-12-06 11:35 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/source/lang/msgltwin.c * more changes from LT to LTWIN * harbour/common.mak * restored missing msgltwin.c * harbour/include/hbapi.h * harbour/source/vm/hashes.c + added hash key support for pointer type 2007-12-06 00:20 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtwvg/gtwvt.c ! Small addition in PaintText() wrongly omitted while cleaning. * harbour/contrib/gtwvg/wvtutils.c * Tooltip - Initialization of variable. * harbour/contrib/gtwvg/tests/demowvg.prg ! Fixed to run with Harbour perfectly. Please note that TBrowse in Harbour needs some fixes. Replace it with xHarbour TBrowse and the look of composite dialog changes. 2007-12-06 02:21 UTC+0100 Viktor Szakats * include/hbextern.ch * common.mak * source/codepage/Makefile - source/codepage/cpdedos.c + source/codepage/cpde850.c - source/codepage/cpeldos.c + source/codepage/cpel737.c - source/codepage/cpesdos.c + source/codepage/cpes850.c - source/codepage/cpfrdos.c + source/codepage/cpfr850.c - source/codepage/cptrdos.c + source/codepage/cptr857.c ! Renamed some codepage modules to include the actual DOS codepage number instead of nothing or generic "dos" name. * common.mak * source/lang/Makefile + source/lang/msgtr857.c - source/lang/msgtrdos.c ! Rename one language module to be in sync with proper internal ID. 2007-12-06 01:26 UTC+0100 Viktor Szakats * doc/howtosvn.txt ! Fixed the SVN propset command to include all needed keywords, not just "Id". * common.mak * source/codepage/Makefile - source/codepage/cpgedos.c - source/codepage/cpgeiso.c + source/codepage/cpdedos.c + source/codepage/cpdeiso.c ! Renamed to be in sync with rules and content. * source/lang/msgnl.c ! svn propset svn:keywords "Author Date Id Revision". (to correct my prev commit) * include/hbextern.ch ! Adjusted CP/MSG module names. 2007-12-05 21:15 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/source/codepage/cpltwin.c * harbour/source/lang/msgltwin.c * changed language ID to: LTWIN * svn properties 2007-12-05 20:00 UTC+0100 Viktor Szakats * source/codepage/cphuwins.c * source/codepage/cphuiso.c * source/codepage/cphuwin.c * source/codepage/cphuisos.c ! Fixed sloppy wording in comment. (Thanks Chen) * common.mak * source/codepage/Makefile + source/codepage/cpgeiso.c - source/codepage/cpgewin.c * Renamed to ISO to be in sync with the actual codepage used. (Thanks Chen) ; Might be a good idea to readd the "real" WIN version to stay compatible. Anyone? 2007-12-05 19:50 UTC+0100 Viktor Szakats * source/lang/msgnl.c * source/lang/msgelwin.c * source/lang/msgltwin.c * source/lang/msgel.c * source/codepage/cpitisb.c * source/codepage/cpit850.c * source/codepage/cpcswin.c * source/codepage/cpskwin.c * source/codepage/cpitiso.c ! Some SVN header, SVN keywords and some errors in comments fixed. (Thanks Chen) 2007-12-05 14:20 UTC+0200 Chen Kedem <niki@synel.co.il> * doc/dirstruc.txt * Change "test" to "tests". * doc/en/lang.txt * Update language table for HB_LANGSELECT to reflect source/lang * Update codepage table for HB_SETCODEPAGE to reflect source/codepage 2007-12-05 09:15 UTC+0100 Viktor Szakats * contrib/hbct/files.c ! FILESIZE() fixed to return -1 when the file doesn't exist. - contrib/hbmysql/test + contrib/hbmysql/tests - contrib/hbw32ddr/test + contrib/hbw32ddr/tests - contrib/hbodbc/test + contrib/hbodbc/tests - contrib/hbtpathy/test + contrib/hbtpathy/tests - contrib/hbw32/test + contrib/hbw32/tests - contrib/hbole/test + contrib/hbole/tests - contrib/hbfbird/test + contrib/hbfbird/tests - contrib/hbapollo/test + contrib/hbapollo/tests - contrib/hbnf/test + contrib/hbnf/tests - contrib/hbfimage/test + contrib/hbfimage/tests - contrib/hbmisc/test + contrib/hbmisc/tests - contrib/hbgtwvg/test + contrib/hbgtwvg/tests - contrib/hbrddads/test + contrib/hbrddads/tests - contrib/hbbtree/test + contrib/hbbtree/tests ! Renamed test to tests to use 'tests' everywhere inside the repository. 2007-12-04 23:56 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtwvg/wvtcore.c ! Small typo and formatting. * harbour/contrib/gtwvg/wvtutils.c * More UNICODE compliant. * harbour/contrib/gtwvg/test/demowvg.prg ! Adjusted to respect changes in core lib. 2007-12-05 08:25 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbgtcore.h * added HB_GTSELF_*() macros for future use * harbour/source/rtl/gtalleg/gtalleg.c * harbour/source/rtl/gtalleg/ssf.h * harbour/source/rtl/gtalleg/fixedth.sfc * harbour/source/rtl/gtalleg/ssf.c * replaced one global variable by static one * formatting * harbour/contrib/hbct/files.c ! fixed default attribute mask in FILEATTR(<cFileName>) 2007-12-05 02:28 UTC+0100 Viktor Szakats * utils/hbmake/hbmutils.prg ! Some fixes related to contrib dir renames. NOTE: Blind fix. I don't use this tool. If you do, pls report problems. 2007-12-04 20:39 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) * harbour/contrib/make_b32_all.bat * harbour/contrib/make_vc_all.bat ! Fixed argument handling in created "worker bat file" 2007-12-04 17:04 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) * harbour/make_b32.mak * harbour/make_vc.mak * TABs converted to spaces. Minor formatting * harbour/make_gcc.mak * harbour/make_vcce.mak * Minor formatting 2007-12-04 16:30 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) * harbour/make_vcce.bat * Checking if HB and HBPPGEN envvars are set is moved to BUILD rule to not affect CLEAN and INSTALL rules 2007-12-04 12:51 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbgtcore.h + added some missing HB_GTSUPER_* functions * harbour/contrib/hbgtwvg/wvtcore.c * use hb_gt*() functions instead of hb_gt_*() ones * harbour/contrib/hbgtwvg/wvtutils.c * harbour/contrib/hbgtwvg/gtwvt.c * harbour/source/rtl/gtwin/gtwin.c * harbour/source/rtl/gtgui/gtgui.c * harbour/source/rtl/gtwvt/gtwvt.c * harbour/source/rtl/gttone.c * harbour/source/rtl/gtclip.c * minor cleanup in hb_gt_w32_*() function names * harbour/source/rtl/hbgtcore.c * harbour/source/rtl/gtclip.c * use common for all GT internal Clipboard buffer - thanks to Pritpal for a note 2007-12-04 10:17 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) * harbour/contrib/make_b32_all.bat * harbour/contrib/make_vc_all.bat - Removed the dependancy on a worker bat file named make_<b32|vc>.bat. Now a worker bat file is created on a fly. - harbour/contrib/make_b32.bat - harbour/contrib/make_vc.bat - Removed. No longer neccesary. 2007-12-03 22:35 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/common.mak * harbour/source/rtl/Makefile * harbour/include/hbgtcore.h * harbour/source/rtl/hbgtcore.c * harbour/source/rtl/inkey.c + harbour/source/rtl/inkeyapi.c * moved hb_inkey*() functions to GT subsystem so now they can be overloaded by GT drivers and/or operate on different GT context * harbour/source/rtl/mouse53.c * eliminated to unused static variables * harbour/source/rtl/mouseapi.c * do not include unnecessary header files * harbour/source/rtl/gtchrmap.c * replaced // comment by /* ... */ 2007-12-03 21:40 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) * harbour/common.mak * harbour/make_gcc.sh * Eliminated HB_GT_LIST hack in common.cf, converted from common.mak * harbour/make_gcc.mak * Minor change in handling platforms which are Windows compatible 2007-12-03 18:25 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) * harbour/common.mak * harbour/make_gcc.mak * harbour/make_gcc.sh + Added the possibility to build dll/so of Harbour VM+RTL (tested om MingW, Cygwin, FC8/64) * harbour/make_b32.mak * harbour/make_vc.mak * harbour/make_vcce.mak + Added HB_ARCHITECTURE definition (to be used in a future) * harbour/source/rtl/gtchrmap.c ! Fixed compilation under Linux using make_gcc.sh 2007-12-03 16:30 UTC+0200 Chen Kedem <niki@synel.co.il> * ChangeLog * Update my email address * doc/dirstruc.txt + Add short description to the newly added directories. 2007-12-03 11:48 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapigt.h * removed declaration for not existing function: hb_inkeyGet() * harbour/include/hbgtcore.h * harbour/source/rtl/hbgtcore.c * moved all static variables used by core GT code to HB_GT_BASE structure * harbour/source/rtl/inkey.c * cleanup * harbour/contrib/Makefile * moved HB_CONTRIBLIBS to the end build library list because they may need some other contrib libraries in dependences list 2007-12-02 12:38 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbnf/nwsem.prg * harbour/contrib/hbnf/prtesc.prg * harbour/contrib/hbnf/mouse1.prg * harbour/contrib/hbnf/workdays.prg * harbour/contrib/hbnf/sleep.prg * harbour/contrib/hbnf/xbox.prg * harbour/contrib/hbnf/d2e.prg * harbour/contrib/hbnf/mouse2.prg * harbour/contrib/hbnf/ntow.prg * harbour/contrib/hbnf/floptst.prg * harbour/contrib/hbnf/e2d.prg * converted TABs to SPACEs 2007-12-02 05:58 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/hb-func.sh * updated for new contrib libraries names 2007-12-02 04:32 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbdefs.h * harbour/source/rdd/hsx/hsx.c * harbour/source/rdd/dbfcdx/dbfcdx1.c * harbour/source/hbpcre/ChangeLog * harbour/source/hbpcre/pcrecomp.c * minor modifications to pacify some MSVC warnings 2007-12-02 04:00 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/mouse53.c * do not include unnecessary header files * harbour/bin/pack_src.sh * changed packing procedure - now it does not scan chosen directories and files but all contents of all .svn/entries to extract files stores in SVN repository and then pack them - it's very good method to pack whole Harbour repository without .svn/* data and risk of packing local files. * harbour/harbour.spec * harbour/harbour-ce-spec * harbour/harbour-w32-spec * updated for recent changes in directory and library names 2007-12-01 23:55 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/source/lang/msgltwin.c * svn properties 2007-12-01 22:33 UTC+0100 Viktor Szakats * contrib/hbgd/make_b32.bat * contrib/hbgd/gdwrp.c ! Fixed the way HB_OS_WIN_32_USED is used and windows.h is included to work like in rest of Harbour. This way it works for all compilers/build systems. 2007-12-01 22:21 UTC+0100 Francesco Saverio Giudice (info at fsgiudice dot com) * harbour/contrib/hbgd/make_b32.bat ! Fixed compilation under BCC added -DHB_OS_WIN_32_USED to CFLAGS env var to compile gdwrp.c creating undecorate C function names 2007-12-01 21:07 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) * harbour/make_vcce.mak ! Fixed compilation against bug in Texas Instruments versions of ARM processors 2007-12-01 21:52 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) * harbour/include/hbwince.h ! Fixed compilation in C++ mode by renaming local variable named "template" to "tmplt". "template" is a reserved word in MSVC C++. + Added few missing WINAPI function declarations under MSVC WinCE. * harbour/source/common/hbwince.c ! Fixed compilation in C++ mode by renaming local variable named "template" to "tmplt". "template" is a reserved word in MSVC C++. 2007-12-01 20:12 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) * harbour/make_vcce.bat + Added existence verification of HB and HBPPGEN environment variables and existence of files which are pointed by them 2007-12-01 20:30 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) + harbour/source/lang/msgltwin.c * harbour/source/lang/Makefile * harbour/common.mak + message file for Lithuanian language 2007-12-01 15:27 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) * harbour/source/rtl/hbinet.c ! Fixed compilation under Cygwin environment * harbour/make_gcc.sh + Added Cygwin as a detected platform 2007-12-01 03:42 UTC+0100 Viktor Szakats * debian/copyright * doc/license.txt * COPYING - Removed one explicily listed license exception: 'samples\pe\license.txt', since it is now in the contrib which is covered in the "contrib license" section anyway. This license is probably included only as an example file for the editor. Ryszard? 2007-12-01 03:08 UTC+0100 Viktor Szakats - contrib/hgf + contrib/hbgf * contrib/hbwhat32/Makefile * contrib/hbwhat32/common.mak * contrib/hbfbird/test/bld_b32.bat * contrib/hbapollo/test/bld.bat * contrib/hbpgsql/tests/bld_b32.bat * contrib/hbfimage/test/bld_b32.bat * contrib/hbgd/tests/bldtest.bat * contrib/hbgf/os2pm/Makefile * contrib/hbgf/tests/bld_b32.bat * contrib/hbgf/win32/common.mak * contrib/hbgf/gtk/Makefile * contrib/hbrddado/common.mak * contrib/hbrddado/Makefile * contrib/hbbmcdx/common.mak * contrib/hbbmcdx/Makefile * contrib/hbgtwvg/common.mak * contrib/hbgtwvg/Makefile * contrib/hbrddads/common.mak * contrib/hbrddads/Makefile ! Some fixes to previous changes. ; Here is the final summary of contrib lib renames: ----------- ------------- ------------- Old Old New DIR LIBNAME DIR & LIBNAME ----------- ------------- ------------- adordd adordd hbrddado apollo apollo hbapollo bmdbfcdx bmdbfcdx hbbmcdx btree hbbtree hbbtree directx hbwin32ddrw hbw32ddr firebird firebird hbfbird freeimage hbfreeimage hbfimage gd hbgd hbgd gtwvg gtwvg hbgtwvg hbzlib hbziparch hbziparch htmllib html (DELETED) libct ct hbct libgt gt hbgt libmisc hbmisc hbmisc libnf nf hbnf msql msql hbmsql mysql hbmysql hbmysql odbc hbodbc hbodbc ole hbole hbole pdflib hbpdflib (DELETED) pgsql hbpg hbpgsql rdd_ads rddads hbrddads samples samples hbclipsm telepath telepath hbtpathy tip tip hbtip what32 what32 hbwhat32 win32 hbwin32 hbw32 xhb xhb xhb hgf hgf* hbgf* 2007-12-01 02:55 UTC+0100 Viktor Szakats * contrib/make_b32_all.bat * contrib/make_vc_all.bat * contrib/Makefile - contrib/telepath + contrib/hbtpathy * contrib/hbtpathy/common.mak * contrib/hbtpathy/Makefile - contrib/what32 + contrib/hbwhat32 - contrib/win32 + contrib/hbw32 * contrib/hbw32/common.mak * contrib/hbw32/Makefile - contrib/adordd + contrib/hbrddado - contrib/gtwvg + contrib/hbgtwvg - contrib/rdd_ads + contrib/hbrddads - contrib/tip + contrib/hbtip * contrib/hbtip/common.mak * contrib/hbtip/Makefile - contrib/bmdbfcdx + contrib/hbbmcdx * contrib/hbct/Makefile * contrib/hbct/common.mak * contrib/hbgt/common.mak * contrib/hbgt/Makefile * contrib/hbnf/common.mak * contrib/hbnf/Makefile * Contrib lib rename finished. ; Please report build (or other) problems. 2007-12-01 02:42 UTC+0100 Viktor Szakats - contrib/libct + contrib/hbct - contrib/libgt + contrib/hbgt - contrib/libnf + contrib/hbnf * contrib/Makefile * contrib/make_b32_all.bat * contrib/make_vc_all.bat * utils/hbmake/hbmutils.prg * Contrib lib rename continued. 2007-12-01 02:34 UTC+0100 Viktor Szakats * contrib/make_b32_all.bat * contrib/make_vc_all.bat * contrib/Makefile - contrib/msql + contrib/hbmsql * contrib/hbmsql/common.mak * contrib/hbmsql/Makefile - contrib/libmisc + contrib/hbmisc - contrib/mysql + contrib/hbmysql - contrib/odbc + contrib/hbodbc - contrib/ole + contrib/hbole - contrib/pgsql + contrib/hbpgsql * contrib/hbpgsql/common.mak * contrib/hbpgsql/Makefile - contrib/samples + contrib/hbclipsm * contrib/hbclipsm/common.mak * contrib/hbclipsm/Makefile * Contrib lib rename continued. 2007-12-01 02:22 UTC+0100 Viktor Szakats - contrib/pdflib * contrib/make_b32_all.bat * contrib/make_vc_all.bat - Removed pdflib (not working, abandoned) 2007-12-01 02:20 UTC+0100 Viktor Szakats - contrib/htmllib * contrib/Makefile * contrib/make_b32_all.bat * contrib/make_vc_all.bat * Removed htmllib (obsolete, non-maintained). 2007-12-01 01:15 UTC+0100 Viktor Szakats - contrib/btree + contrib/hbbtree - contrib/directx + contrib/hbw32ddr * contrib/hbw32ddr/Makefile * contrib/hbw32ddr/common.mak - contrib/firebird + contrib/hbfbird * contrib/hbfbird/Makefile * contrib/hbfbird/common.mak - contrib/freeimage + contrib/hbfimage * contrib/hbfimage/Makefile * contrib/hbfimage/common.mak - contrib/gd + contrib/hbgd - contrib/hbzlib + contrib/hbziparch * contrib/hbziparch/make_b32_dll.bat * contrib/hbziparch/make_b32_dll.mak * contrib/Makefile * contrib/make_b32_all.bat * contrib/make_vc_all.bat * Contrib lib rename continued. 2007-12-01 00:54 UTC+0100 Viktor Szakats - contrib/apollo + contrib/hbapollo * contrib/hbapollo/common.mak * contrib/hbapollo/Makefile * contrib/make_b32_all.bat * contrib/make_vc_all.bat * First contrib lib rename (live rehearsal). (goals: hb prefix, dirname = libname, 8 chars limit) * contrib/make_b32_all.bat * contrib/make_vc_all.bat * DIRS internal envvar renamed to _HB_DIRS. 2007-11-30 20:30 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) * harbour/include/hbstack.h ! Added HB_EXPORT to hb_stackPop(). Required by dll build with -gc3 switch * Removed HB_EXPORT from hb_stackReturnItem() and hb_stackSelfItem() 2007-11-30 19:57 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbgtcore.h * harbour/source/rtl/hbgtcore.c * harbour/source/rtl/gtalleg/gtalleg.c * harbour/source/rtl/gtdos/gtdos.c * harbour/source/rtl/gtos2/gtos2.c * harbour/source/rtl/gtwin/gtwin.c * harbour/source/rtl/gtwvt/gtwvt.c * harbour/source/rtl/gtgui/gtgui.c * harbour/source/rtl/gtxwc/gtxwc.c * harbour/source/rtl/gtcrs/gtcrs.c * harbour/source/rtl/gtsln/gtsln.c * harbour/source/rtl/gttrm/gttrm.c * harbour/source/rtl/gtstd/gtstd.c * harbour/source/rtl/gtpca/gtpca.c * harbour/source/rtl/gtcgi/gtcgi.c * harbour/contrib/libct/ctwin.c * harbour/contrib/gtwvg/gtwvt.c + added GT ID (int s_GtId) * harbour/include/hbapigt.h * harbour/source/rtl/gtapi.c + added some missing wrappers for hb_gt_* functions to avoid including hbgtcore.h by non GT code - such functions separation will be important in MT mode where each thread can operate on different GT context (window) * harbour/contrib/libct/screen2.c * harbour/contrib/libct/screen1.c * harbour/contrib/libct/ctwfunc.c * use hb_gt* functions instead of hb_gt_*() ones * harbour/include/hbapigt.h * harbour/source/rtl/inkey.c * changed hb_setInkeyLast() to hb_inkeySetLast() to keep hb_inkey*() prefix in all inkey() related functions + added hb_inkeySetText() - removed hb_inkeyTranslate() * harbour/contrib/libct/setlast.c * use hb_inkeySetLast() instead of hb_setInkeyLast() * harbour/source/rdd/usrrdd/usrrdd.c * removed dummy xHarbour code not usable in Harbour * harbour/include/hbapi.h * harbour/source/vm/codebloc.c * harbour/source/vm/hvm.c * added const to BYTE * pCode parameter of hb_codeblockMacroNew() 2007-11-30 07:00 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) * harbour/common.mak * harbour/make_b32.mak * harbour/make_vc.mak ! Reverted moving HB_GT_LIB to common.mak, because in common.mak it is set to gtstd by default. 2007-11-30 08:45 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) * harbour/make_vcce.mak ! Conditionaly add HB_NO_WIN_CONSOLE to CFLAGS based on HB_WINCE_COMPILE_WITH_GTWIN envvar 2007-11-30 07:00 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) * harbour/common.mak * harbour/make_b32.mak * harbour/make_vc.mak % HB_GT_LIB definition moved to common.mak to avoid redundancy 2007-11-30 06:30 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) * harbour/contrib/make_b32_all.bat * harbour/contrib/make_vc_all.bat + Cleanup of used environment variables 2007-11-30 06:30 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) * harbour/make_b32.bat * harbour/make_vc.bat * harbour/make_vcce.bat * Restored handling of exit level 2007-11-29 22:23 UTC+0100 Viktor Szakats * make_vcce.bat * make_vcce.mak * make_b32.bat * make_b32.mak * make_vc.bat * make_vc.mak * common.mak + Now every internally used envvars are reset before exiting. ! Not tampering with user level envvars by changing their content to default values. % HB_GT_* envvar defaulting moved to .mak file level, since these envvars were not used on batch file level anyway. * make_vcce.bat * make_vcce.mak * CFLAGS -DHB_NO_WIN_CONSOLE moved to the make file. If there was any reason to have this only CE C flag in batch file separated from the rest of the extra CE C flags in the make file, please speak up. This change may cause trouble for those using the make file directly and at the same time don't want to use the HB_NO_WIN_CONSOLE compiler flag. In this case we should add a documented way to disable it inside the make file IMO. * contrib/freeimage/make_b32.bat * contrib/freeimage/make_vc.bat * contrib/apollo/make_b32.bat * contrib/apollo/make_vc.bat * contrib/firebird/make_b32.bat * contrib/firebird/make_vc.bat * contrib/pdflib/make_b32.bat * contrib/pdflib/make_vc.bat * contrib/hbzlib/make_b32.bat * contrib/hbzlib/make_vc.bat * contrib/pgsql/make_b32.bat * contrib/pgsql/make_vc.bat * contrib/gd/make_b32.bat * contrib/gd/make_vc.bat * contrib/rdd_ads/make_b32.bat * contrib/rdd_ads/make_vc.bat * contrib/mysql/make_b32.bat * contrib/mysql/make_vc.bat * contrib/odbc/make_b32.bat * contrib/odbc/make_vc.bat * contrib/what32/make_b32.bat * contrib/what32/make_vc.bat * contrib/msql/make_b32.bat * contrib/msql/make_vc.bat + Now every internally used envvars are reset before exiting the batch file, so they won't interact with other batch files even if being called after each other using "call". So "%COMPSPEC% /c" is not necessary anymore when calling these batches. ! Fixed to use _HB_CC_NAME when dealing with .dll to .lib conversions. * contrib/make_b32_all.bat * contrib/make_vc_all.bat + Added gtwvg library. + Added what32 library (to DO_NOT_COMPILE list for b32). * contrib/mtpl_b32.bat * contrib/mtpl_vc.bat ! Undone prev change because it interacted with .dll to .lib conversions. 2007-11-29 22:10 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) * harbour/make_b32.bat * harbour/make_vc.bat * harbour/make_vcce.bat * Added handling of exit level in case of make error 2007-11-29 21:40 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) * harbour/make_b32.bat * harbour/make_vc.bat * harbour/make_vcce.bat * Take care of environment variables possibly modified inside batch files. Should leave user environment space in a consistent state. 2007-11-29 01:26 UTC+0100 Viktor Szakats * contrib/mtpl_b32.bat * contrib/mtpl_vc.bat + Clear the internal envvars used by these .bat files, to not leave any junk after themselves. 2007-11-28 18:30 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) * harbour/source/common/hbfhnd.c * Added conditional define to disable Bcc extension (HB_NO_BCC_MAX_OPENFILES_HACK). Required for dll build with dynamic runtime (-tWR). * harbour/make_b32.mak * harbour/make_vc.mak * harbour/make_vcce.mak * $ECHO) and $(DEL) definitions moved to common.mak to avoid redundancy 2007-11-28 15:16 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/harbour-ce-spec * harbour/harbour-w32-spec * updated for library name modification 2007-11-28 15:01 UTC+0100 Tomaz Zupan (tomaz.zupan@orpo.si) * harbour.spec ! fixed name libhbmisc. Change needed after namechange see: (2007-11-23 03:03 UTC+0100 Viktor Szakats) 2007-11-27 21:38 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtwvg/gtwvt.c * Minor fixes. * harbour/contrib/gtwvg/wvtutils.c * Tooltip functions activated guarded against __WINCE__ ! Minor fixes. More UNICODE compliant. * harbour/contrib/gtwvg/wvtpaint.prg ! Wvt_GetOpenFileName() - Fixed to respect recent UNICODE compliance. * harbour/contrib/gtwvg/test/demowvg.prg ! Adjusted to respect changes in core lib. 2007-11-27 21:42 UTC+0100 Viktor Szakats * contrib/make_b32.bat * contrib/make_vc.bat ! Refixed to work again with /contrib/hgf/win32 (or any other nested libs) 2007-11-27 20:43 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/common/hbfsapi.c ! fixed typo 2007-11-27 18:58 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/xhb/hbcomprs.c * harbour/contrib/xhb/hbcomprs.h * harbour/contrib/freeimage/fi_winfu.c * harbour/contrib/firebird/test/testapi.c * harbour/contrib/firebird/firebird.c * harbour/contrib/what32/sqltypes.ch * harbour/contrib/what32/_wincret.c * harbour/contrib/what32/_winpen.c * harbour/contrib/what32/what32.ch * harbour/contrib/what32/_winmem.c * converted TABs to spaces 2007-11-27 18:24 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/common/hbfsapi.c * define INVALID_FILE_ATTRIBUTES when not defined in C header files - temporary workaround for missing INVALID_FILE_ATTRIBUTES definition in new MSVC versions * harbour/include/hbwince.h * removed INVALID_FILE_ATTRIBUTES definition 2007-11-27 17:43 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/common/hbwince.c * disabled dummy GetDiskFreeSpaceA() overloading - it's not longer necessary 2007-11-27 14:47 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/hb-func.sh * inherit some parameters like -mlp{64,32}, -m{64,32} set in C_USR during build as default C compiler/linker switches in hb* scripts * harbour/config/w32/pocc.cf + added comdlg32.lib to linked library list * harbour/source/common/hbwince.c + added dummy FreeResource() function. This is a note from MSDN: FreeResource() is an obsolete function. It is provided for backward compatibility with 16-bit Windows applications. FreeResource() is not necessary for 32-bit Windows applications to free the resources loaded using LoadResource() function. * harbour/contrib/gtwvg/wvtutils.c + added workaround for wrong ChooseColorW() definition in header files include in last oficial relase (0.50) of MinGW32-CE Pritpal above finished modifications I was able to make using only pure MinGW32-CE 0.50. The following functions used by GTWVG are still missing: GetMenu(), SetMenu(), CreateBrushIndirect(), GetViewportOrgEx(), IsDlgButtonChecked(), OleLoadPicture(), TrackPopupMenu(), If you are sure that they exist in WinCE then simply create static import library for them or dynamic wrappers. 2007-11-27 11:56 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/common/hbwince.c * added MulDiv() implementation for MinGW32-CE builds 2007-11-27 11:31 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/compiler/hbmain.c * make all hb_compI18n*() functions which do not need external access static - now only hb_compI18nAdd() is public function. If it will be necessary to make other functions public then we will make it but please always try to declare new functions as static if it's not necessary to access them externally - it helps in future modifications because we do not have to worry about external code which may access some functions. * harbour/config/hpux/gcc.cf * added commented -mlp64 GCC switch to CFLAGS and LDFLAGS - this switch forces 64-bit mode in HP-UX on IA64 * harbour/source/common/hbwince.c + added wrapper for LocalHandle() and direct translation for LocalLock() * harbour/config/w32/cemgw.cf + added commdlg, commctrl, luuid and ole32 to linked library list for some contrib code 2007-11-27 10:36 UTC+0100 J. Lefebvre Mafact (jfl/at/mafact.com) * source/common/hbfsapi.c added a check for HB_WINCE for using "FILE_ATTRIBUTE_DEVICE" 2007-11-27 09:33 UTC+0100 Viktor Szakats * contrib/mtpl_b32.mak * contrib/mtpl_vc.mak + Added optional HB_CC_DIRNAME to control (and override) where the final target files will be created inside obj/lib/bin dirs. Marek pls report if this solved anything for you. 2007-11-27 01:12 UTC+0100 Viktor Szakats * make_b32.mak ! Removed -l flag from .dll creation to be in sync with the rest of Harbour. * contrib/mtpl_b32.mak * contrib/mtpl_vc.mak ! Synced with core flags (VC mainly). * contrib/freeimage/fi_winfu.c * contrib/freeimage/fi_wrp.c * contrib/freeimage/make_b32.bat * contrib/freeimage/make_vc.bat * contrib/firebird/firebird.c * contrib/firebird/make_b32.bat * contrib/firebird/make_vc.bat * contrib/pdflib/make_b32.bat * contrib/pdflib/make_vc.bat * contrib/pdflib/pdfhbdoc.c * contrib/pgsql/postgres.c * contrib/pgsql/make_b32.bat * contrib/pgsql/make_vc.bat * contrib/mysql/mysql.c * contrib/mysql/make_b32.bat * contrib/mysql/make_vc.bat ! Some extra lib-level custom C flags fixed to be in sync with rest of Harbour. (mainly HB_OS_WIN_32_USED) * contrib/hbzlib/make_b32.bat * contrib/hbzlib/make_vc.bat ! hbziparch extra switches removed (all of them). This made surface a whole lot of warnings. If someone wants to create a .dll from this, -DZLIB_DLL will need to be added to C_USR. -a8 switch was also removed from the BCC build. If someone know that it's necessary, pls shout. 2007-11-27 00:12 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/pack_src.sh * updated for recent file name modifications * harbour/include/hbgtcore.h * harbour/source/rtl/gtclip.c * changed hb_gt_w32_SetClipboard() type from void to BOOL * harbour/source/rtl/gtstd/gtstd.c * harbour/source/rtl/gtpca/gtpca.c * added basic input support for DJGPP * harbour/contrib/gtwvg/gtwvt.c ! fixed memory leak and GPF trap * harbour/contrib/gtwvg/wvtutils.c ! rewritten and fixed CLIPBOARD functions - Pritpal this functions should be removed, they are redundant and works only in MS-Windows * make WVT__GETOPENFILENAME() and WVT__GETSAVEFILENAME() Unicode ready and fixed possible GPF trap 2007-11-26 22:09 UTC+0100 Viktor Szakats * contrib/mtpl_b32.bat * contrib/mtpl_vc.bat % Eliminated _HB_SHOW_ERRORS. 2007-11-26 21:18 UTC+0100 Viktor Szakats * contrib/mtpl_b32.mak * contrib/mtpl_vc.mak ! Fixed: HB_CC_NAME -> _HB_CC_NAME (files were directly created in '/lib//' since last change) If someone wants to override the default dir names where bin/lib/obj files are created - by using an undocumented internal envvar - pls use 'set _HB_CC_NAME=...' 2007-11-26 20:50 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) * harbour/contrib/make_b32.bat * harbour/contrib/make_vc.bat * Removed TABS unintentionaly introduced in my last commit 2007-11-26 19:23 UTC+0100 Viktor Szakats * contrib/freeimage/make_b32.bat * contrib/freeimage/make_vc.bat * contrib/apollo/make_b32.bat * contrib/apollo/make_vc.bat * contrib/firebird/make_b32.bat * contrib/firebird/make_vc.bat * contrib/pdflib/make_b32.bat * contrib/pdflib/make_vc.bat * contrib/hbzlib/make_b32.bat * contrib/hbzlib/make_vc.bat * contrib/pgsql/make_b32.bat * contrib/pgsql/make_vc.bat * contrib/gd/make_b32.bat * contrib/gd/make_vc.bat * contrib/rdd_ads/make_b32.bat * contrib/rdd_ads/make_vc.bat * contrib/mysql/make_b32.bat * contrib/mysql/make_vc.bat ! Fixed CFLAGS assignments to not include %C_USR%, as this is done in the .mak files anyway. * contrib/what32/make_b32.bat * contrib/what32/make_vc.bat + Added ..\xhb to the include path for Harbour. 2007-11-26 18:50 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) * harbour/contrib/mtpl_b32.mak * harbour/contrib/mtpl_vc.mak ! Fixed "hardcoded" definitions for OBJ_DIR, LIB_DIR, BIN_DIR * Reset "echo" to "echo." 2007-11-26 08:00 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com) + harbour/contrib/gtwvg/test + demowvg.prg + test.dbf + dia_excel.ico + v_browse.ico + v_clcltr.ico + v_calend.ico + v_clclt.bmp + v_filter.ico + v_help.ico + v_index.bmp + v_lock.bmp + v_new.bmp + v_notes.bmp + v_notes1.bmp + v_selct1.bmp + v_tools.bmp + vr_1.ico Initial placement of files to demonstrate the usage of gtwvg and its GUI elements. Please note that this appln may terminate without notice at places where browser is opened because appln needs tbrowse:aColumnsSep instance variable which I will do shortly. Rest all components are working ok. 2007-11-26 17:17 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/postinst.sh * workaround for missing 'install' command in some HP-UX versions * harbour/contrib/xhb/cstructc.c * casting for 64-bit builds 2007-11-26 08:00 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtwvg/wvtcore.c ! Fixed side effects of copy/paste in hb_wvt_gtDlgProcModal(). * harbour/contrib/gtwvg/wvtclass.prg * Changed cCaption[1] to left( cCaption,1 ) to work without xhb.lib. 2007-11-26 07:50 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/what32 * wininet.ch * winerror.prg * windebug.prg * wintabs.prg * wintbar.prg svn:eol-style = native svn:keywords = Id 2007-11-26 14:50 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/hb-mkslib.sh * harbour/bin/postinst.sh * set predefined CCPREFIX in cross build hb*-mkslib * harbour/make_xmingw.sh ! fixed BSD build cross build - problem noticed by Phil Krylov in xHarbour * harbour/source/rdd/dbffpt/dbffpt1.c * casting * harbour/config/darwin/gcc.cf * harbour/config/hpux/gcc.cf * harbour/config/linux/gcc.cf * harbour/config/sunos/gcc.cf * harbour/config/bsd/gcc.cf * added support for HB_CRS_LIB envvar which allow to overload platform default [n]curses library name 2007-11-26 14:36 UTC+0100 Viktor Szakats * contrib/what32/wintabs.prg * contrib/what32/wintbar.prg ! Fixes to make them compile with Harbour. Pritpal, could you please check this, because it's not exactly clear what is the intent in the source code, so these might be the wrong fixes. * contrib/mtpl_b32.mak * contrib/mtpl_vc.mak ! Using a neutral character instead of double quote in hacked DOS "if %1 ==" commands to avoid the situation where the quote is filtered, replaced under certain (not defined) Windows/BCC environments. Same change done for VC to stay in sync. 2007-11-26 06:15 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) * harbour/make_b32.mak * harbour/make_gcc.mak * harbour/make_vc.mak * harbour/make_vcce.mak ! Fixed generation of pptable.c for dll build (I am amazed how it used to work before) * Changed -Iobj\$(HB_CC_NAME) to -I$(OBJ_DIR) 2007-11-26 09:46 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/hb-func.sh ! fixed typo * harbour/contrib/gtwvg/gtwvt.c * use hb_strncpy() instead of strcpy() 2007-11-26 08:02 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/gtwvg/gtwvt.h * harbour/contrib/gtwvg/gtwvt.c * harbour/source/rtl/gtwvt/gtwvt.h * harbour/source/rtl/gtwvt/gtwvt.c * casting and minor formatting 2007-11-26 06:15 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) * harbour/common.mak ! HB and HBPPGEN definitions moved to end of file, because they have to be defined after HARBOUR_EXE and HBPPGEN_EXE 2007-11-26 02:56 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/gtwvg/wvtcore.c ! fixed typo 2007-11-26 02:34 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/gtwvg/gtwvt.h * harbour/contrib/gtwvg/gtwvt.c * harbour/contrib/gtwvg/wvtcore.c * moved hb_wvt_GetStringAttrib(), hb_wvt_PutStringAttrib(), hb_wvt_gtLoadPictureFromResource(), hb_wvt_gtLoadPicture(), hb_wvt_gtRenderPicture(), hb_wvt_gtDestroyPicture() from gtwvt.c to wvtcore.c * changed hb_wvt_GetStringAttrib() and hb_wvt_PutStringAttrib() to work with any GTs ! removed GTWVG internal screen buffer and fixed to work well with core code screen buffer ! some fixes borrowed from Harbour GTWVT * synced most of contrib/gtwvg/gtwvt.c code with rtl/gtwvt/gtwvt.c - removed unused GLOBAL_DATA members: foreground, background, BUFFERSIZE, byAttributes, byBuffer, pAttributes, pBuffer, caretPos, displayCaret, RectInvalid Pritpal please check if it works for you with GUI extensions. I've tested it as normal GT driver and it works correct in my tests. 2007-11-25 23:48 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/gtwvt/gtwvt.h * harbour/source/rtl/gtwvt/gtwvt.c + extended GTI_WINTITLE to return window title: hb_gtInfo( GTI_WINTITLE [, <cNewTitle>] ) -> <prevTile> * formatting and code cleanup 2007-11-25 23:06 UTC+0100 Viktor Szakats + contrib/what32/Makefile + contrib/what32/make_b32.bat + contrib/what32/make_vc.bat + contrib/what32/common.mak + Added GNU and non-GNU make files for what32. ; Not fully tested, because I stumbled across a few problems when compiling: - for BCC32 this lib needs TASM32 (non-free AFAIS) - it need xhb lib and headers - several .prg warnings, so it needs PRG_USR=-w1 before building. - error in .prg: .\wintabs.prg(98) Warning W0001 Redefinition or duplicate definition of #define TCN_SELCHANGE ; An MSVC warning: - ..\..\obj\vc\wincore.c(711) : warning C4129: 'w' : unrecognized character escape sequence This is inline C code in wincore.prg 2007-11-25 13:15 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/what32 + wininet.ch + winerror.prg + windebug.prg + wintabs.prg + wintbar.prg Renamed/synchronised for GNU makes. 2007-11-25 13:07 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/what32 - wininet.CH - errorsys.prg - debug.prg - wintabs.Prg - wintbar.Prg Removed to have all lower case and avoid name conflicts. 2007-11-25 20:20 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) * harbour/common.mak * harbour/make_b32.mak * harbour/make_gcc.mak * harbour/make_vc.mak * harbour/make_vcce.mak * Moved HB and HBPPGEN definitions to common.mak to reduce unnecesary redundancy * harbour/contrib/make_b32.bat * harbour/contrib/make_vc.bat * Enclosed "help usage message" in double quotes due to special meaning of "<>" symbols in command processor. 2007-11-25 11:00 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com) + harbour/contrib/what32 + _winbmp.c + _winbrsh.c + _wincall.c + _wincdlg.c + _winclpb.c + _wincomm.c + _wincret.c + _windate.c + _windc.c + _windir.c + _windlg.c + _windll.c + _windraw.c + _winfont.c + _wingdi.c + _winhead.c + _winicon.c + _winlist.c + _wininet.c + _winini.c + _winkbrd.c + _winlv.c + _winmain.c + _winmapi.c + _winmem.c + _winmenu.c + _winmeta.c + _winmisc.c + _winmmcap.c + _winmous.c + _winmsg.c + _winpen.c + _winprn.c + _winrect.c + _winreq.c + _winrgn.c + _winscrlb.c + _winserial.c + _winshell.c + _winsock.c + _winsys.c + _wintab.c + _wintbar.c + _wintext.c + _wintree.c + _winview.c + _winwnd.c + commctrl.ch + commdlg.ch + debug.ch + import.ch + sqltypes.ch + what32.ch + wingdi.ch + wininet.ch + winstruc.ch + wintypes.ch + winuser.ch + debug.prg + errorsys.prg + whatutil.prg + wincdlg.prg + wincomm.prg + wincore.prg + winini.prg + winrbar.prg + wintabs.prg + wintbar.prg Initial upload of xharbour/contrib/what32. Direct item access replaced with api calls. Still untested. 2007-11-25 12:24 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/gtwvg/wvtutils.c ! changed 'template' used as variable name to 'lpTemplate' Some C++ compilers may not accept 'template' as variable name because 'template' has special meaning in C++ so please do not use such name - thanks to Andi 2007-11-25 12:12 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbwmain.c * harbour/source/vm/mainwin.c ! fixed unnecessary conversion of WinMain() parameters on W32/W64 when UNICODE macro is set - thanks to Chen * harbour/source/rdd/sdf1.c * harbour/source/rdd/delim1.c ! fixed code wrongly synced with xHarbour - in Harbour HB_SET_EOL is char* not PHB_ITEM - thanks to Andi * harbour/source/compiler/genc.c ! fixed file name in generated for C inline code by escaping special characters - thanks to Andi * harbour/source/rtl/gtwvt/gtwvt.c * minor code cleanup * harbour/contrib/gtwvg/wvtcore.c ! fixed setting default foreground and background color when user does not pass it's own one. Previous versions was using _s->background and _s->foreground - it was wrong because this variables in all GTWVT base GTs (also in xHarbour) contains not default color but the color recently used to redraw some part of screen - e.g. after exposing some region - it means that they can have any value. Such bugs are hard to locate because the same program can be executed many times without any problem and suddenly he will use wrong colors drawing something - if you observed such effect then it can be the results of the above problem. Now default color is taken from core GT code. Two functions make it: hb_wvt_FgColorParam() and hb_wvt_BgColorParam() Both accept also colors passed as standard Clipper strings. The same should be also fixed in xHarbour just like the problem with executing registered user functions when HVM is closing fixed in previous commit - even if now it does not cause GPF (due to race condition it may be exploited only sometimes) then it does not mean it works correctly. 2007-11-24 20:10 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/gtwvt/gtwvt.h * harbour/source/rtl/gtwvt/gtwvt.c * removed unused global hdc * formatting and minor code cleanup * harbour/source/vm/hvm.c + added to hb_vmRequestReenter() support for checking if HVM is properly initialized and working for code which may want to execute PCODE before HVM initialization or after HVM close - in such case hb_vmRequestReenter() will return FALSE. Please also remember that in the future hb_vmRequestReenter() may return FALSE also in some other cases. * harbour/source/vm/eval.c * use hb_vmRequestReenter()/hb_vmRequestRestore() in hb_itemDo[C]() instead of hb_vmPushState()/hb_vmPopState() * harbour/contrib/gtwvg/gtwvt.c ! always use hb_vmRequestReenter()/hb_vmRequestRestore() before executing .prg functions/codeblocks. It will resolve the problem with executing .prg functions during HVM closing. Anyhow I suggest to register C cleanup functions using hb_vmAtExit() for code which needs some additional destructor/closing procedure. * code formatting and indenting 2007-11-24 11:12 UTC+0100 Viktor Szakats * source/rtl/gtwin/gtwin.c * source/rtl/gtcrs/gtcrs.h * source/rtl/gtsln/gtsln.h * source/rtl/gttrm/gttrm.c * source/rtl/gtwvt/gtwvt.h + #defining xhb compatible K_SH_* keyboard codes only if they were not already defined. * utils/hbdoc/genasc.prg ! Fixed problem generating filenames for .txt output. Also added LFN branch to get rid of the 8.3 limitation. 2007-11-24 01:58 UTC+0100 Viktor Szakats * contrib/msql/Makefile * contrib/msql/make_b32.bat * contrib/msql/make_vc.bat * contrib/msql/msql.h * contrib/msql/tmsql.prg ! Fixed to compile with non-GNU BC/VC makefiles. (short-term fixes, there may be better / more generic ways to fix it) ! C warnings fixed. ! Harbour warnings fixed. ! Makefile changed to Harbour standard GNU format. * contrib/make_b32_all.bat * contrib/make_vc_all.bat + msql enabled. - contrib/msql/dbf2msql.prg - contrib/msql/test.prg + contrib/msql/tests + contrib/msql/tests/dbf2msql.prg + contrib/msql/tests/test.prg * Tests moved to tests dir. 2007-11-23 21:18 UTC+0100 Viktor Szakats * contrib/mtpl_vc.mak ! Some minor fixes for VC. - %1 -> %%1 to be on the safe side. - Fixed double execution of inline files. Thanks to Marek. * contrib/make_b32_all.bat * contrib/make_vc_all.bat ! Batch file calling method reset to Marek's version ('%COMSPEC% /c' as opposed to 'call') to avoid any unwanted "crosstalk" between contrib build procedures through the CFLAGS envvar. 2007-11-23 21:14 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/doc/man/harbour.1 * harbour/source/compiler/hbusage.c + added description for -j switch * harbour/include/hbexprb.c * replaced // comments by /* */ * accept <cContext> (domain) parameters of HB_i18nGettext() when number of parameters is two or more Should we generate compile time warning when wrong number of parameters is passed to this function or they are not literal strings? Maybe only after -j+ or something like that? * harbour/include/hbclass.ch * harbour/include/tbrowse.ch * harbour/include/hbpers.ch * harbour/include/getexit.ch * replaced // comments by /* */ 2007-11-23 18:55 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/source/include/hbexprb.c * changed HB_i18nGettext() to hb_i18n_gettext(), to respect original gettext lowercase function name convention 2007-11-23 06:57 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtwvg/gtwvt.c * HB_EXPORT void hb_wvt_GetStringAttrib( USHORT top, USHORT left, USHORT bottom, USHORT right, BYTE * sBuffer, BYTE * sAttrib ) * HB_EXPORT void hb_wvt_SetStringAttrib( USHORT top, USHORT left, USHORT bottom, USHORT right, BYTE * sBuffer, BYTE * sAttrib ) ! Restored. Please keep these functions as is as those have wide-usage. 2007-11-23 12:37 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/compiler/hbmain.c ! fixed bad typo in hb_compI18nAdd() and memmove() range which can cause GPF * changed pFileName to FileName in hb_compI18nSave() to respect used by us naming convention * eliminated strcpy() - do not use strcpy()/strcat() - these functions are reported as dangerous by security restrict compilers. I suggest to use hb_strncpy()/hb_strncat() instead (remember about different size meaning in these functions) or some others depending on context (e.g. hb_strdup() in this case) 2007-11-23 10:22 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/gtwvg/wvtutils.c * harbour/contrib/gtwvg/wvtcore.c * use lstrlen( text ) instead of strlen( hb_parc( 2 ) ) * removed dummy casting 2007-11-23 09:47 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/common/hbwince.c + added dummy Arc(), FrameRect(), FloodFill() for WinCE builds * harbour/make_gcc.mak ! restored TABs in rules definitions. Viktor TABs for GNU make have special meaning - your last modifications broke this file * harbour/contrib/libmisc/Makefile ! comment DIR rule as temporary workaround for problem with library name 2007-11-22 22:49 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtwvg/wvtcore.c ! Fixes for UNICODE Support. ? Przem, please review. I suspect about like these fixes: DrawText( _s->hGuiDC, hb_parcx( 6 ), strlen( hb_parcx( 6 ) ), &rc, iAlignH | DT_WORDBREAK | DT_TOP ); => LPTSTR text = HB_TCHAR_CONVTO( hb_parc( 6 ) ); DrawText( _s->hGuiDC, text, strlen( hb_parc( 6 ) ), &rc, iAlignH | DT_WORDBREAK | DT_TOP ); ^--------------------^ OK | How to compute length of "text" 2007-11-22 21:45 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtwvg/wvtutils.c ! Fixes for UNICODE Support. ? Przem, please review. It is not complete, still there are warnings. 2007-11-23 05:54 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/gtwvg/wvtcore.c ! casting * harbour/source/rtl/memofile.c * cleaned warning in *nixes 2007-11-23 05:09 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/gtwvt/gtwvt.h * harbour/source/rtl/gtwvt/gtwvt.c * removed foreground and background from GLOBAL_DATA - they are not necessary + added support for gfxPrimitive() - fixed xHarbour code * harbour/contrib/gtwvg/gtwvt.c + added support for gfxPrimitive() - fixed xHarbour code * removed some methods which can be safely replaced by default ones * harbour/tests/gfx.prg * harbour/tests/wcecon.prg * harbour/tests/gtchars.prg * updated the order of changed font parameters * harbour/contrib/xhb/hbcompat.ch ! added missing closing square bracket 2007-11-23 04:59 UTC+0100 Viktor Szakats * make_b32.bat * make_vc.bat * make_vcce.bat + Accepts "Install" and "Clean" consistently. ! Not directly modifying C_USR, instead use CFLAGS internally. * contrib/make_b32_all.bat * contrib/make_vc_all.bat * contrib/make_b32.bat * contrib/make_vc.bat * contrib/mtpl_b32.bat * contrib/mtpl_vc.bat * contrib/mtpl_b32.mak * contrib/mtpl_vc.mak - contrib/mtpl_defs.mak % Removed COPYCMD requirement. ! Not modifying any user level envvars anymore. (so no need for COMPSPEC trick to call another copy of command com) ! Some other smaller fixes. ! Fixed rdd_ads in make_*_all.bats. * Removed the simple common part for BC/VC to consistently separate the BC/VC make file system. The only common part now is common.mak in each contrib. (Marek I hope you don't mind, I promise to update them in case of changes. We have quite some reduancy between BC/VC anyway, so this won't hurt much overall, but they are now nicely separated and maybe bit easier to oversee for someone new to the project. ! Avoiding 'exit' command, as it stops all batch file execution, and as a bad side-effect can force to exit shells too. - CFLAGS, CLIBFLAGS, HARBOURFLAGS not advertised anymore as official public vars to set compiler flags. C_USR, PRG_USR should be used, which are also GNU make system compatible. ! Fixed copyrights. ! Tabs converted to spaces. 2007-11-23 03:20 UTC+0100 Viktor Szakats * contrib/apollo/make_b32.bat * contrib/apollo/make_vc.bat * contrib/examples/dbu/bld_b32.bat * contrib/firebird/make_b32.bat * contrib/firebird/make_vc.bat * contrib/freeimage/make_b32.bat * contrib/freeimage/make_vc.bat * contrib/gd/make_b32.bat * contrib/gd/make_vc.bat * contrib/hbzlib/make_b32.bat * contrib/hbzlib/make_vc.bat * contrib/mysql/make_b32.bat * contrib/mysql/make_vc.bat * contrib/odbc/make_b32.bat * contrib/odbc/make_vc.bat * contrib/pdflib/make_b32.bat * contrib/pdflib/make_vc.bat * contrib/pgsql/make_b32.bat * contrib/pgsql/make_vc.bat * contrib/rdd_ads/make_b32.bat * contrib/rdd_ads/make_vc.bat + Accepts "Install" and "Clean" consistently. * Not using "exit" command anymore. ! Restored some lost changes. ! Not directly modifying C_USR, instead use CFLAGS internally. + Now rddads will find ace32.dll in system32 dir too. ; It's not possible to set HB_DLL_DIR directly now, just through the <LIBNAME>_DIR envvar. Some contribs may try to "autodetect" the exact location of the .dll (currently rddads). 2007-11-23 03:03 UTC+0100 Viktor Szakats * make_b32.mak * make_gcc.mak * make_vc.mak * make_vcce.mak * common.mak ! Fixed copyrights. ! Tabs converted to spaces. - CFLAGS not advertised anymore as an official public var to set compiler flags. C_USR should be used, which is also GNU make system compatible. * make_vc.mak * make_vcce.mak ! Removed /Y from copy command (we're using the COPYCMD trick in core make files). - contrib/adordd/access1.prg - contrib/adordd/access2.prg - contrib/adordd/mysql1.prg - contrib/adordd/mysql3.prg + contrib/adordd/tests + contrib/adordd/tests/access1.prg + contrib/adordd/tests/access2.prg + contrib/adordd/tests/mysql1.prg + contrib/adordd/tests/mysql3.prg - contrib/btree/mktest.bat + contrib/btree/test/mktest.bat - contrib/samples/testdate.prg - contrib/samples/testenv.prg - contrib/samples/testgaug.prg - contrib/samples/testnum.prg - contrib/samples/teststat.prg - contrib/samples/testtime.prg - contrib/samples/tststack.prg + contrib/samples/tests + contrib/samples/tests/testdate.prg + contrib/samples/tests/testenv.prg + contrib/samples/tests/testgaug.prg + contrib/samples/tests/testnum.prg + contrib/samples/tests/teststat.prg + contrib/samples/tests/testtime.prg + contrib/samples/tests/tststack.prg * Test related files moved to test dir. ! Added EOLs to the last line in adordd files. - contrib/gd/README + contrib/gd/readme.txt * Renamed to use proper extension. * contrib/adordd/common.mak * contrib/apollo/common.mak * contrib/bmdbfcdx/common.mak * contrib/btree/common.mak * contrib/directx/common.mak * contrib/firebird/common.mak * contrib/freeimage/common.mak * contrib/gd/common.mak * contrib/hbzlib/common.mak * contrib/hgf/win32/common.mak * contrib/htmllib/common.mak * contrib/ole/common.mak * contrib/pdflib/common.mak * contrib/pgsql/common.mak * contrib/libct/common.mak * contrib/libgt/common.mak * contrib/libnf/common.mak * contrib/libmisc/common.mak * contrib/mysql/common.mak * contrib/odbc/common.mak * contrib/rdd_ads/common.mak * contrib/samples/common.mak * contrib/telepath/common.mak * contrib/tip/common.mak * contrib/win32/common.mak * contrib/xhb/common.mak * Formatting made consistent. * contrib/adordd/common.mak * contrib/bmdbfcdx/common.mak * contrib/btree/common.mak * contrib/freeimage/common.mak * contrib/gd/common.mak * contrib/hgf/win32/common.mak * contrib/libct/common.mak * contrib/libnf/common.mak * contrib/mysql/common.mak * contrib/odbc/common.mak * contrib/pdflib/common.mak * contrib/pgsql/common.mak * contrib/rdd_ads/common.mak * contrib/samples/common.mak * contrib/tip/common.mak * contrib/xhb/common.mak + Added headers. * contrib/btree/common.mak * contrib/freeimage/common.mak * contrib/freeimage/Makefile * contrib/hbzlib/common.mak * contrib/hbzlib/Makefile * contrib/libct/common.mak * contrib/libmisc/common.mak * contrib/libmisc/Makefile * contrib/mysql/common.mak ! Library names synced between GNU and non-GNU make systems. ! Some libraries renamed to not have a too common or non-descriptive name, like "misc". non-GNU hb_btree -> hbbtree (synced with GNU) non-GNU fi_lib -> hbfreeimage GNU fi_lib -> hbfreeimage non-GNU hbzip -> hbziparch GNU ziparchive -> hbziparch non-GNU libct -> ct (synced with GNU) non-GNU libmisc -> hbmisc GNU misc -> hbmisc non-GNU mysql -> hbmysql (synced with GNU) * contrib/apollo/Makefile * contrib/firebird/Makefile ! Fixed space to tabs. + contrib/msql/make_b32.bat + contrib/msql/make_vc.bat + contrib/msql/common.mak + Added non-GNU make files. ; FIXME: I cannot compile these still. * contrib/msql/Makefile ! Added SVN header. ; FIXME: This is a non-standard Makefile. Did anyone manage to compile this lib? * contrib/adordd/adordd.ch * contrib/adordd/adordd.prg ! Added EOLs to the last line. * utils/hbmake/hbmutils.prg * Lib names fixed and changed to reflect the recent changes in contrib. * contrib/rdd_ads/rddads.h ! Minor cosmetic fix. * include/hbextern.ch * source/rtl/memofile.c ! MEMOWRIT() 3rd parameter marked as extension. + HB_MEMOWRIT() function added, which never writes the obsolete EOF char at the end of the file. 2007-11-23 03:55 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/source/include/hbcompdf.h * harbour/source/include/hbexprop.h * harbour/source/include/hbexprb.c * harbour/source/compiler/cmdcheck.c * harbour/source/compiler/hbmain.c + added i18n support Implemented -j[filename] switch to indicate output filename. Default filename is <sourcefilename>.pot. If switch -o is used, this file is created in specified output path. Output file format is compatible with 'gettext' utils, but not all available features are implemented. Harbour level function HB_i18nGettext( cText [, cContext ] ) should be used to indicate translatable strings. All this commit is commented using #ifdef HB_I18N_SUPPORT and is in development stage. Please, do not use it yet. 2007-11-23 01:28 UTC+0100 Viktor Szakats + gtwvg/common.mak + gtwvg/make_b32.bat + gtwvg/make_vc.bat + Added non-GNU make files. ; FIXME: gtwvt.obj will clash with the core file with this name, so this won't properly work yet. * gtwvg/wvtpaint.prg ! HB_INLINE() -> hb_bitAnd() * gtwvg/Makefile * Minor formatting. 2007-11-23 01:19 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbvm.h * harbour/source/vm/hvm.c * make hb_vmPushNumInt() public function * harbour/contrib/gtwvg/wvtcore.c ! fixed hb_wvt_gtDlgProcMLess() and hb_wvt_gtDlgProcModal() - fixed GPF when codeblock are used - use hb_vmPushNumInt() instead of hb_vmPushLong() to push handles and numbers with potentially unknown size. I still suggest to use pointers ITEMs instead of converting handles to numbers but I'm leaving such modifications to library authors - using hb_vmPushNumInt() is a workaround for striping highest 32 bits from handles by hb_vmPushLong() in XP64 - use hb_vmRequestReenter() / hb_vmRequestRestore() to avoid crash when function/codeblock is executed during HVM has been serving an exception (e.g. BREAK/QUIT/RETURN) 2007-11-22 18:33 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/gtwvt/gtwvt.c * declared two functions hb_gt_wvt_AddCharToInputQueue() and hb_gt_wvt_AddCharToInputQueue() as static - they were public by mistake * harbour/contrib/gtwvg/wvtcore.c * harbour/contrib/gtwvg/gtwvt.c * moved hb_wvt_gtDlgProcMLess() and hb_wvt_gtDlgProcModal() from gtwvt.c to wvtcore.c These both functions are wrong and have to be fixed. * farther cleanup: - declared some internal functions as static - synced some other with GTWVT - removed some repeated declarations 2007-11-22 14:22 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbwince.h + added HB_TCHAR_CONVNREV() macro * harbour/contrib/gtwvg/wvtutils.c * harbour/contrib/gtwvg/wvtcore.c * harbour/contrib/gtwvg/gtwvt.c * cleaned MinGW warnings ! fixed compilation with HB_TR_LEVEL_DEBUG * some minor cleanup in UNICODE conversions 2007-11-22 12:21 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/gtwvt/gtwvt.c * formatting * harbour/contrib/gtwvg/gtwvt.h * harbour/contrib/gtwvg/gtwvt.c * removed some unused code and redirect some methods to common for all MS-Win GTs functions. Pritpal this code needs cleanup. Now it's xHarbour GT hacked to compile and link with Harbour API. It means that this code also inherited some small incompatibilities to Clipper which exists in xHarbour GTs. If you agree I'll try to systematically clean it and as I can see IMO the final version will look like GTWVT in core code plus some additional code so it can be quite easy separated. Probably with some small modifications in GTWVT it will be possible to remove these two files from GTWVG at all changing GTWVG to inherit from core GTWVT. Such separation will also show what is core GT code and what is GUI Windows extension what should help in defining common multi platform API. 2007-11-21 22:57 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com) * harbour/contrib/gtwvg/gtwvt.c ! Suppressed warnings. 2007-11-22 04:33 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/harbour-ce-spec * harbour/harbour-w32-spec * harbour/make_rpmce.sh * harbour/make_rpmw32.sh * updated for removed ace.h * harbour/bin/pack_src.sh * updated for some recent modifications in contrib/pgsql FIXME: it should be updated for all recent modifications in contrib and MS-Windows build scripts. * harbour/bin/hb-func.sh + added gtwvg to -gt* parameters in hb* scripts * harbour/contrib/Makefile + added gtwvg in W32 builds * harbour/contrib/xhb/hbcomprs.c * harbour/contrib/xhb/hbcomprs.h * cleaned some warnings * harbour/contrib/gtwvg/gtwvt.h * harbour/contrib/gtwvg/wvtutils.c * harbour/contrib/gtwvg/wvtpaint.prg * harbour/contrib/gtwvg/wvtwin.ch * harbour/contrib/gtwvg/wvtcore.c * harbour/contrib/gtwvg/gtwvt.c * harbour/contrib/gtwvg/Makefile * harbour/contrib/gtwvg/wvtclass.prg * set svn attributes: svn ps svn:eol-style native svn ps svn:keywords Id Pritpal please remember about it before you commit new files. For .bat files use svn ps svn:eol-style CRLF or better set default attribute in your SVN config file so you will not have to set it manually each time you are adding new file. 2007-11-21 06:08 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com) + contrib/gtwvt + gtwvt.c + gtwvt.h + wvtcore.c + wvtutils.c + wvtpaint.prg + wvtclass.prg + wvtwin.ch * Initial port of xHarbour's GTWVT + WVTGUI in a combined manner. ? Please create the make files as I am poor in this field. ? Przem, please add switches to hnmk/hbcemk files for -gtwvg as is done for -gtwvt. 2007-11-22 01:44 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/fssize.c * harbour/source/rtl/hbffind.c * harbour/source/rtl/filesys.c * set _LARGEFILE64_SOURCE in all builds and use HB_USE_LARGEFILE64 macro (set automatically when __USE_LARGEFILE64 is defined too or HB_OS_HPUX && O_LARGEFILE) to enable large file support in 32-bit POSIX systems. It should help to enable large file support in other then Linux different 32-bit *nixes. I hope it will resolve Sandro problems with HPUX. * harbour/source/vm/itemapi.c * do not return DATE item value in hb_itemGetNDDec() It was old and unused xHarbour only code - now hb_itemGetNDDec() is compatible with hb_itemGetND() * harbour/source/rtl/seconds.c ! fixed typo in BSD builds BTW can someone test current SVN code with Solaris? I will not be able to make such test myself in the nearest few weeks. 2007-11-21 21:45 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) * harbour/contrib/mtpl_defs.mak * harbour/contrib/mtpl_b32.mak * harbour/contrib/mtpl_vc.mak * Resored Viktor's Copyright removed by mistake in my last commit 2007-11-21 21:10 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) - harbour/contrib/make_all.mak - harbour/contrib/mtpl_ruls.mak - Removed due to explict request from Viktor to revert new make system * harbour/contrib/make_b32_all.bat * harbour/contrib/make_vc_all.bat * Restored to my original version * After restoration modified to allow proper compilation under Win98 * Blocked compilation for contribs required additional setting (Sorry Viktor I do not share your opinion in regard to this issue) + harbour/contrib/make_b32.bat + harbour/contrib/make_vc.bat + Restored to my original version * Modified to show which dir is compiled * harbour/contrib/mtpl_b32.mak * harbour/contrib/mtpl_vc.mak * Removed makefile integration between Bcc and Msvc. You now HAVE TO do duplicative work to modify CLEAN and INSTALL rule. IMO this is wrong behavior, but requested by Viktor. 2007-11-21 19:59 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/hbgtcore.c + added emulation for clipboard in core GT code. Now: hb_gtInfo( GTI_CLIPBOARDDATA ) -> <cClipData> and: hb_gtInfo( GTI_CLIPBOARDDATA, <cNewClipData> ) is working in all GTs even if such functionality is not supported by OS. 2007-11-21 18:30 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/make_vcce.bat * harbour/make_vcce.mak * harbour/make_b32.mak * harbour/common.mak * harbour/contrib/make_all.mak * harbour/contrib/mtpl_ruls.mak * harbour/make_gcc.mak + added missing Marek's Copyright * set svn attributes: svn ps svn:eol-style [native|CRLF] svn ps svn:keywords Id * harbour/contrib/mtpl_defs.mak * harbour/contrib/mtpl_b32.mak * harbour/contrib/mtpl_vc.mak + added missing Marek's and Viktor's Copyrights * set svn attributes: svn ps svn:eol-style [native|CRLF] svn ps svn:keywords Id Viktor, Marek if I missed something then please fix me. * harbour/make_gcc.sh * added mine Copyright note 2007-11-21 17:30 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) * harbour/contrib/make_all.mak * harbour/contrib/make_b32_all.bat * harbour/contrib/make_vc_all.bat * harbour/contrib/mtpl_b32.bat * harbour/contrib/mtpl_b32.mak * harbour/contrib/mtpl_vc.bat * harbour/contrib/mtpl_vc.mak * Adopted to new make system - Handling of PRG_HEADERS and C_HEADERS is implemented. All common.mak files from contrib dirs should be modified to add those defines if required. Only those headers defined in PRG_HEADERS and C_HEADERS are installed into HB_INC_INSTALL dir. If this dir is equal HB_ROOT those header are automaticaly CLEANed. - Changed "echo." to "echo" for Borland makefiles to enable proper work on Win2003 + harbour/contrib/mtpl_defs.mak + Rules for Bcc and Msvc are unified now and placed into a new makefile, "included" by mtpl_b32.mak and mtpl_vc.mak. + harbour/contrib/mtpl_ruls.mak - harbour/contrib/mtpl.mak + Renamed to more verbose name - harbour/contrib/make_b32.bat - harbour/contrib/make_vc.bat - Removed - no longer neccesary * harbour/contrib/libmisc/make_b32.bat * harbour/contrib/libmisc/make_vc.bat * harbour/contrib/libnf/delone.bat * harbour/contrib/libnf/make_b32.bat * harbour/contrib/libnf/make_vc.bat * harbour/contrib/mysql/delone.bat * harbour/contrib/mysql/make_b32.bat * harbour/contrib/mysql/make_vc.bat * harbour/contrib/odbc/a_mk_vc.bat * harbour/contrib/odbc/delone.bat * harbour/contrib/odbc/make_b32.bat * harbour/contrib/odbc/make_vc.bat * harbour/contrib/odbc/mhlp_b32.bat * harbour/contrib/odbc/mhlp_vc.bat * harbour/contrib/ole/delone.bat * harbour/contrib/ole/make_b32.bat * harbour/contrib/ole/make_vc.bat * harbour/contrib/pdflib/delone.bat * harbour/contrib/pdflib/make_b32.bat * harbour/contrib/pdflib/make_vc.bat * harbour/contrib/pgsql/delone.bat * harbour/contrib/pgsql/make_b32.bat * harbour/contrib/pgsql/make_vc.bat * harbour/contrib/rdd_ads/delone.bat * harbour/contrib/rdd_ads/make_b32.bat * harbour/contrib/rdd_ads/make_vc.bat * harbour/contrib/samples/delone.bat * harbour/contrib/samples/make_b32.bat * harbour/contrib/samples/make_vc.bat * harbour/contrib/telepath/delone.bat * harbour/contrib/telepath/make_b32.bat * harbour/contrib/telepath/make_vc.bat * harbour/contrib/tip/delone.bat * harbour/contrib/tip/make_b32.bat * harbour/contrib/tip/make_vc.bat * harbour/contrib/win32/a_mk_bc.bat * harbour/contrib/win32/delall.bat * harbour/contrib/win32/delone.bat * harbour/contrib/win32/make_b32.bat * harbour/contrib/win32/make_vc.bat * harbour/contrib/xhb/delone.bat * harbour/contrib/xhb/make_b32.bat * harbour/contrib/xhb/make_vc.bat * Adopted to new make system * harbour/common.mak * harbour/make_b32.mak * harbour/make_gcc.mak * harbour/make_vc.mak * harbour/make_vcce.mak * Minor cleanup 2007-11-21 05:44 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/harbour-ce-spec * harbour/harbour-w32-spec * harbour/harbour.spec * harbour/make_rpmce.sh * harbour/make_rpmw32.sh * harbour/make_rpm.sh * changed --without adsrdd to --with adsrdd now ADS* RDDs are not created by default * harbour/make_rpm.sh * set '--with adsrdd' when ${HOME}/ads/acesdk/ace.h or /usr/local/ads/acesdk/ace.h exists * harbour/contrib/rdd_ads/Makefile + added ${HOME}/ads/acesdk/ace.h as alternative ace.h location * harbour/source/rdd/hbsix/sxini.prg ! fixed typo 2007-11-20 19:09 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/hb-func.sh ! fixed using -o<name> in hbcc * harbour/contrib/rdd_ads/rddads.h ! small hack for Linux compilation and compilers which do not set unix macro * harbour/contrib/rdd_ads/Makefile * added /usr/local/ads/acesdk to include directory list Viktor the side effect of removing ace.h from our repository is blocking ADS* RDDs compilation by people who do not have ACE installed - I expect it will be serious problem in creating BETA4 binaries because not all people who create them have ACE installed or even want to install it and without these RDDs for many users new Harbour version will be unusable. * harbour/source/rtl/seconds.c ! fixed stupid typo in milliseconds calculation * harbour/contrib/xhb/hbchksum.c * harbour/contrib/xhb/hbcomprs.c * harbour/contrib/xhb/hbcomprs.h ! use hb_retclenAdopt() instead of hb_retclenAdoptRaw() + svn:keywords Id svn:eol-style native FIXME - these files have to be removed or changed to avoid name conflicts with ZLIB - personally I vote to add real ZLIB wrapper and only xHarbour compatible .prg functions when they are necessary. Probably only: HB_COMPRESS(), HB_UNCOMPRESS(), HB_COMPRESSBUFLEN() and maybe: HB_COMPRESSERROR(), HB_COMPRESSERRORDESC() In xHarbour: HB_CHECKSUM( <cValue> [, <nStart>] ) -> <nChkSum> is exactly the same function as in Harbour: HB_ADLER32( <cValue> [, <nStart>] ) -> <nChkSum> with the exception to bug with negative values fixed in Harbour only. 2007-11-20 17:02 UTC+0100 Miguel Angel Marchuet Frutos <miguelangel@marchuet.net> * contrib/xhb/common.mak + Added some missing lines (suggested by Juan Galvez) 2007-11-20 13:45 UTC+0100 Miguel Angel Marchuet Frutos <miguelangel@marchuet.net> * contrib/bmdbfcdx/bmdbfcdx1.c * synced with dbfcdx as nedded 2007-11-19 20:35 UTC+0100 Viktor Szakats * contrib/examples/dbu/bld_b32.bat * Now the non-GNU build batch file will look for DBU source in the original CA-Cl*pper installation, if specified (using 'set CLIPPER_DIR=C:\CLIPPER5\'). 2007-11-19 20:21 UTC+0100 Viktor Szakats + contrib/rdd_ads/test + contrib/rdd_ads/test/testmg.prg - contrib/rdd_ads/testmg.prg * Moved. * contrib/rdd_ads/make_b32.bat * contrib/rdd_ads/make_vc.bat * contrib/rdd_ads/adsmgmnt.c - contrib/rdd_ads/ace.h + Non-GNU make files standardized. You'll need to set these envvars to tell the package (Advantage Client Engine) location (and version): set ADS_DIR=C:\ads\acesdk set ADS_VER=810 * ADS_VER is optional, if not speficied, zero will be returned as "index sort buffer size" by AdsMgGetConfigInfo(). ; The exact .dll location inside the package dir will be detected (tested 6.11-8.10) - Now ADS header is not included anymore in Harbour. Notice that this header file is a copyrighted file where such distribution is not permitted. Anyhow, distributing other packages headers is not good practice anyway. * contrib/rdd_ads/rddads.h * WatcomC / LCC hack implemented outside ace.h. Please test this as I don't have any of these compilers. 2007-11-19 19:03 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/source/compiler/hbopt.c ! fixed HB_P_MACROFUNC optimization 2007-11-19 15:25 UTC+0100 Viktor Szakats + contrib/examples/dbu + contrib/examples/dbu/readme.txt + contrib/examples/dbu/bld_b32.bat + contrib/examples/dbu/Makefile + Added make files for original CA-Cl*pper DBU. One will need the original sources to compile. 2007-11-18 23:11 UTC+0100 Viktor Szakats + contrib/mtpl_b32.bat + contrib/mtpl_vc.bat + Added generic non-GNU make batch files. ; Thanks to Marek. * utils/hbmake/hbmutils.prg ! Some untested fixes to hbmake. If someone uses this tool, pls send reports. - contrib/mkall_b32.bat * contrib/make_b32_all.bat + contrib/make_vc_all.bat * Renamed. + VC version added. * contrib/mtpl_b32.mak * contrib/mtpl_vc.mak ! Minor fix by Marek. * contrib/rdd_ads/doc/gendoc.bat ! Fix to run from its place. * contrib/rdd_ads/adsmgmnt.c ! Fixed to compile with ADS 8.10. #define ADS_VER=810 (or upper) to enable this. * contrib/rdd_ads/rddads.h ! Fixed to compile using original ads.h headers. (tested with 6.11, 7.00, 7.10, 8.00, 8.10) * contrib/rdd_ads/ads1.c * contrib/rdd_ads/adsfunc.c ! Suppressed this BCC32 warning using #pragma: 'Call to function 'AdsApplicationExit' with no prototype in function ...' + contrib/rdd_ads/unixutils.h + Added dummy header to fix compilation under Linux, using the original ads.h headers. Not tested. Supposed to replace the workaround currently in local ads.h where '#include "unixutils.h"' is commented out. * contrib/rdd_ads/readme.txt ! Added SVN header. * contrib/pgsql/Makefile * contrib/pgsql/common.mak + Added pgrdd.prg to make files. - contrib/pgsql/tstpgrdd.prg + contrib/pgsql/tests/tstpgrdd.prg ! Moved test to test dir. * contrib/pgsql/pgrdd.prg ! Fixed warnings. - contrib/pgsql/README + contrib/pgsql/readme.txt * Rename. * contrib/pgsql/common.mak ! Lib name change: libhbpg -> hbpg + contrib/pgsql/tests/bld_b32.bat + Added test app build helper. * contrib/rdd_ads/make_b32.bat * contrib/rdd_ads/make_vc.bat * contrib/pgsql/make_b32.bat * contrib/pgsql/make_vc.bat * contrib/ole/make_b32.bat * contrib/ole/make_vc.bat * contrib/xhb/make_b32.bat * contrib/xhb/make_vc.bat * contrib/libmisc/make_b32.bat * contrib/libmisc/make_vc.bat * contrib/freeimage/make_b32.bat * contrib/freeimage/make_vc.bat * contrib/apollo/make_b32.bat * contrib/apollo/make_vc.bat * contrib/firebird/make_b32.bat * contrib/firebird/make_vc.bat * contrib/htmllib/make_b32.bat * contrib/htmllib/make_vc.bat * contrib/libct/make_b32.bat * contrib/libct/make_vc.bat * contrib/pdflib/make_b32.bat * contrib/pdflib/make_vc.bat * contrib/libgt/make_b32.bat * contrib/libgt/make_vc.bat * contrib/hgf/win32/make_b32.bat * contrib/hgf/win32/make_vc.bat * contrib/telepath/make_b32.bat * contrib/telepath/make_vc.bat * contrib/hbzlib/make_b32.bat * contrib/hbzlib/make_vc.bat * contrib/gd/make_b32.bat * contrib/gd/make_vc.bat * contrib/libnf/make_b32.bat * contrib/libnf/make_vc.bat * contrib/tip/make_b32.bat * contrib/tip/make_vc.bat * contrib/adordd/make_b32.bat * contrib/adordd/make_vc.bat * contrib/btree/make_b32.bat * contrib/btree/make_vc.bat * contrib/directx/make_b32.bat * contrib/directx/make_vc.bat * contrib/win32/make_b32.bat * contrib/win32/make_vc.bat * contrib/samples/make_b32.bat * contrib/samples/make_vc.bat * contrib/mysql/make_b32.bat * contrib/mysql/make_vc.bat * contrib/odbc/make_b32.bat * contrib/odbc/make_vc.bat * contrib/bmdbfcdx/make_b32.bat * contrib/bmdbfcdx/make_vc.bat % Using the batch file templates. + Some other additions and fixes related to make it easy to specifiy 3rd party package locations. These envvars can be used for our libs: set APOLLO_DIR=C:\Apollo set FIREBIRD_DIR=C:\Firebird set FREEIMAGE_DIR=C:\FreeImage set GD_DIR=C:\gd set MYSQL_DIR=C:\mysql set PDFLIB_DIR=C:\pdflib set PGSQL_DIR=C:\pgsql 2007-11-18 12:09 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com) + contrib/xhb/hbcomprs.c % Direct access to item values changed to api calls. + contrib/xhb/hbchksum.c % Direct access to item values changed to api calls. + contrib/xhb/hbcomprs.h Hb_Compress(), Hb_Uncompress(), Hb_CheckSum() functions made available. Borrowed from xHarbour. 2007-11-18 13:46 UTC+0100 Viktor Szakats * contrib/xhb/hbcompat.ch + Added xhb SecondsSleep() translation. * contrib/freeimage/make_b32.bat * contrib/freeimage/make_vc.bat * contrib/firebird/make_b32.bat * contrib/firebird/make_vc.bat ! Some fixes. * contrib/libct/cttime.prg ! SECTOTIME() fix. Borrowed from xhb. * contrib/apollo/apollo.c * contrib/apollo/make_b32.bat * contrib/apollo/make_vc.bat ! Fixed and tested with latest downloadable package. * contrib/win32/w32_tprn.prg * contrib/win32/w32_prn.c + Minor fix (from xhb) * source/rtl/errorint.c ! Defaulting all string parameters to "" when they are NULL to avoid any potential problems later in the function. * source/rtl/hbgtcore.c % Passing NULL instead of "" in hb_errInternal() calls. * source/vm/itemapi.c ! Internal error is lauched in case the parameters passed to hb_itemPutCLConst() are violating string item rules. Thanks for Mindaugas for the suggestion. FIXME: Since this violation will most probably happen in contrib/win32 OLE code, we'll need to fix that code too. * utils/hbmake/hbmake.prg ! Fixed to not request wvtgui.lib. 2007-11-17 12:42 UTC+0100 Viktor Szakats * contrib/make_b32.bat * contrib/make_vc.bat * contrib/mkall_b32.bat ! Added SVN headers. ! Fixed SVN properties (keywords, eol-style=CRLF). 2007-11-17 12:00 UTC+0100 Viktor Szakats * contrib/xhb/cstructc.c * contrib/make_b32.bat ! Some fixes for recent changes. 2007-11-17 10:20 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) * harbour/contrib/adordd/make_b32.bat * harbour/contrib/adordd/make_vc.bat * harbour/contrib/apollo/make_b32.bat * harbour/contrib/apollo/make_vc.bat * harbour/contrib/bmdbfcdx/make_b32.bat * harbour/contrib/bmdbfcdx/make_vc.bat * harbour/contrib/btree/make_b32.bat * harbour/contrib/btree/make_vc.bat * harbour/contrib/directx/make_b32.bat * harbour/contrib/directx/make_vc.bat * harbour/contrib/firebird/make_b32.bat * harbour/contrib/firebird/make_vc.bat * harbour/contrib/freeimage/make_b32.bat * harbour/contrib/freeimage/make_vc.bat * harbour/contrib/gd/make_b32.bat * harbour/contrib/gd/make_vc.bat * harbour/contrib/hbzlib/make_b32.bat * harbour/contrib/hbzlib/make_vc.bat * harbour/contrib/htmllib/make_b32.bat * harbour/contrib/htmllib/make_vc.bat * harbour/contrib/libct/make_b32.bat * harbour/contrib/libct/make_vc.bat * harbour/contrib/libgt/make_b32.bat * harbour/contrib/libgt/make_vc.bat * harbour/contrib/libmisc/make_b32.bat * harbour/contrib/libmisc/make_vc.bat * harbour/contrib/libnf/make_b32.bat * harbour/contrib/libnf/make_vc.bat * harbour/contrib/mysql/make_b32.bat * harbour/contrib/mysql/make_vc.bat * harbour/contrib/odbc/make_b32.bat * harbour/contrib/odbc/make_vc.bat * harbour/contrib/ole/make_b32.bat * harbour/contrib/ole/make_vc.bat * harbour/contrib/pdflib/make_b32.bat * harbour/contrib/pdflib/make_vc.bat * harbour/contrib/pgsql/make_b32.bat * harbour/contrib/pgsql/make_vc.bat * harbour/contrib/rdd_ads/make_b32.bat * harbour/contrib/rdd_ads/make_vc.bat * harbour/contrib/samples/make_b32.bat * harbour/contrib/samples/make_vc.bat * harbour/contrib/telepath/make_b32.bat * harbour/contrib/telepath/make_vc.bat * harbour/contrib/tip/make_b32.bat * harbour/contrib/tip/make_vc.bat * harbour/contrib/win32/make_b32.bat * harbour/contrib/win32/make_vc.bat * harbour/contrib/xhb/make_b32.bat * harbour/contrib/xhb/make_vc.bat ! Synced with recent changes to main bat files from harbour dir + harbour/contrib/make_b32.bat + harbour/contrib/make_vc.bat + harbour/contrib/mkall_b32.bat + Added bat files for compiling (almost) all contribs 2007-11-17 07:20 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) * harbour/make_b32.bat * harbour/make_vc.bat * harbour/make_vcce.bat + Customize showing error log file in case of compilation error ! Do not remove error log file if CLEAN rule fails. * harbour/make_vcce.mak ! Minor formatting 2007-11-17 03:20 UTC+0100 Viktor Szakats * contrib/win32/w32_ole.c ! Fixed more direct item accesses. Now only complicated cases remain. 2007-11-17 03:08 UTC+0100 Viktor Szakats * make_vcce.bat * make_vcce.mak ! Minor corrections (syncing with existing files). * doc/genhtm.bat ! Minor fix to make it work out of the box. - Some obsolete stuff removed from it. * include/hbapiitm.h * include/hbapi.h * source/vm/itemapi.c + Added hb_itemPutCLConst() which is the same as hb_itemPutCConst() but the buffer length can be passed. Same as xhb hb_itemPutCRawStatic(). + contrib/xhb/hbcompat.h + Added C level compatibility header file. * contrib/win32/w32_ole.c ! hb_itemPutCRawStatic() -> hb_itemPutCLConst() ! Some more xhb API calls changed to Harbour ones. ! TraceLog() -> HB_TRACE() ! HB_ITEM s_OleAuto -> PHB_ITEM s_pOleAuto FIXME (new): s_pOleAuto is not freed on app exit. ! Fixed a few more internal accesses by using API calls. ; NOTE: There are four more complicated problems here to be solved: 1) hb_stackSetActionRequest() call 2) Passing direct references to HB_ITEM .value members to external functions. 3) Storing "hidden" information in string ITEMs prepended after the strings' actual content. 4) Not freeing s_pOleAuto (this var BTW is used in one static function only) * source/rtl/hbinet.c * source/rdd/dbcmd.c ! Changed some xhb C level API calls to Harbour ones. * contrib/xhb/Makefile * contrib/freeimage/Makefile * contrib/apollo/Makefile * contrib/firebird/Makefile * contrib/libct/Makefile * contrib/telepath/Makefile * contrib/pgsql/Makefile * contrib/gd/Makefile * contrib/libnf/Makefile * contrib/tip/Makefile * contrib/adordd/Makefile * contrib/rdd_ads/Makefile * contrib/btree/Makefile * contrib/samples/Makefile * contrib/mysql/Makefile * contrib/odbc/Makefile * contrib/pdflib/Makefile ! Added C and Harbour public headers to GNU makefiles. ! Added one missing SVN header. * contrib/pdflib/pdfhbdoc.ch * contrib/pdflib/pdf.ch ! Added missing SVN headers. - contrib/pdflib/pdflib.h - Removed this file which belongs to the pdflib package. This package is needed anyway to use this contrib. (but the contrib is badly broken) * contrib/pdflib/make_b32.bat * contrib/pdflib/make_vc.bat ! Minor typo. * source/rtl/persist.prg ! Prefixed static var name with "s_" 2007-11-16 21:00 UTC+0100 Viktor Szakats * contrib/win32/w32_ole.c ! Some trivial cases fixed where low-level stuff was directly accessed. ! Some remaining static vars prefixed with s_. 2007-11-16 20:00 UTC+0100 Viktor Szakats * source/rtl/natmsgu.c ! Typo fixed. 2007-11-16 18:00 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) + harbour/make_vcce.bat + harbour/make_vcce.mak + Added WinCE/MSVC 8.0 bat/makefile environment 2007-11-16 15:37 UTC+0100 Viktor Szakats * make_b32.mak * make_vc.mak ! Fixed BC/VC make files to generated pptable.c in the obj dir instead of source/pp. ! Synced BC/VC pptable.c dependencies with make_gcc.mak ; Suggested by Przemek. * make_gcc.mak ! Fixed to not delete source/pp/pptable.c on clean (since it's never generated there). 2007-11-16 14:46 UTC+0100 Viktor Szakats * include/hbsetup.ch ! Minor fix in comments. * contrib/xhb/hbcompat.ch + Added hb_rddInfo() translation for xhb apps. * common.mak * include/hbextern.ch * source/rtl/Makefile + source/rtl/natmsgu.c * source/rtl/natmsg.c + Added Harbour internal version of undocument Clipper Nat*() (and friends) calls. These are always available in core. Harbour __natIsAffirm() = Clipper IsAffirm() Harbour __natIsNegative() = Clipper IsNegative() Harbour __natMsg() = Clipper NationMsg() Harbour __natSortVer() = Clipper _NatSortVer() Harbour __natMsgVer() = Clipper _NatMsgVer() * utils/hbtest/rt_misc.prg * source/rtl/dircmd.prg * source/rtl/getsys.prg * source/rtl/tgetlist.prg * source/rtl/tlabel.prg * source/rtl/treport.prg ! Now using Harbour internal __NAT*() functions instead of C5.x undocumented calls, so Harbour will now compile with HB_C52_UNDOC turned off. 2007-11-16 01:25 UTC+0100 Viktor Szakats + contrib/freeimage + contrib/freeimage/Makefile + contrib/freeimage/make_b32.bat + contrib/freeimage/make_vc.bat + contrib/freeimage/common.mak + contrib/freeimage/freeimage.ch + contrib/freeimage/fi_winfu.c + contrib/freeimage/fi_wrp.c + contrib/freeimage/readme.txt + contrib/freeimage/test + contrib/freeimage/test/bld_b32.bat + contrib/freeimage/test/fitest.prg + contrib/freeimage/test/sample1.jpg + contrib/freeimage/test/italia.gif + contrib/freeimage/test/fsg.jpg + contrib/freeimage/test/images_out + Added FreeImage OSS library Harbour interface. ! Some minor fixes and file rearrangements made. + Added std make files. ; FIXME: There is still a potentially dangerous warning to be fixed in FI_GETBACKGROUNDCOLOR() ; Borrowed from xhb. ; NOTE: The lib made some features available through the xhb specific C struct functionality. Since such functionality is not implemented in Harbour, the library would need to be extened with some more wrappers to make C level vars accessible from Harbour code. But even without this functionality, the lib seems quite useful. ; NOTE: The lib also has some Windows specific functions: FI_FITOBITMAP(), FI_BITMAPTOFI(), FI_WINDRAW() + contrib/xhb/hbfast.h + Added this file to enhance C interface code compatibility with xhb. * contrib/firebird/* ! Fixed SVN properties. 2007-11-15 20:44 UTC+0100 Viktor Szakats + contrib/firebird + contrib/firebird/Makefile + contrib/firebird/make_b32.bat + contrib/firebird/make_vc.bat + contrib/firebird/common.mak + contrib/firebird/tfirebird.prg + contrib/firebird/firebird.c + contrib/firebird/readme.txt + contrib/firebird/test + contrib/firebird/test/Makefile + contrib/firebird/test/bld_b32.bat + contrib/firebird/test/simple.prg + contrib/firebird/test/test.prg + contrib/firebird/test/stress.prg + contrib/firebird/test/testapi.c + Added firebird library, with some warnings and other minor things fixed, and Harbour std non-GNU make / build files added. ; FIXME: There is still a potentially dangerous warning to be fixed in FBGETBLOB(). ; Borrowed from xhb. * contrib/hbzlib/make_b32.bat * contrib/hbzlib/make_vc.bat ! Fixed to not override C_USR set by user. + contrib/mysql/test + contrib/mysql/test/test.prg - contrib/mysql/test.prg * Moved test file to test dir. 2007-11-15 00:20 UTC+0100 Viktor Szakats * contrib/xhb/make_b32.bat * contrib/xhb/make_vc.bat * contrib/apollo/make_b32.bat * contrib/apollo/make_vc.bat * contrib/htmllib/make_b32.bat * contrib/htmllib/make_vc.bat * contrib/libct/make_b32.bat * contrib/libct/make_vc.bat * contrib/pdflib/make_b32.bat * contrib/pdflib/make_vc.bat * contrib/libgt/make_b32.bat * contrib/libgt/make_vc.bat * contrib/hbzlib/make_b32.bat * contrib/hbzlib/make_vc.bat * contrib/pgsql/make_b32.bat * contrib/pgsql/make_vc.bat * contrib/libnf/make_b32.bat * contrib/libnf/make_vc.bat * contrib/gd/make_b32.bat * contrib/gd/make_vc.bat * contrib/tip/make_b32.bat * contrib/tip/make_vc.bat * contrib/adordd/make_b32.bat * contrib/adordd/make_vc.bat * contrib/rdd_ads/make_b32.bat * contrib/rdd_ads/make_vc.bat * contrib/btree/make_b32.bat * contrib/btree/make_vc.bat * contrib/directx/make_b32.bat * contrib/directx/make_vc.bat * contrib/win32/make_b32.bat * contrib/win32/make_vc.bat * contrib/samples/make_b32.bat * contrib/samples/make_vc.bat * contrib/mysql/make_b32.bat * contrib/mysql/make_vc.bat * contrib/odbc/make_b32.bat * contrib/odbc/make_vc.bat * contrib/bmdbfcdx/make_b32.bat * contrib/bmdbfcdx/make_vc.bat ! Removed HB_*_INSTALL manipulation from .bat files. ! Different but compatible logic added on batch file level for odbc and rddads, where the batch file is copying the .dll .libs to the final install dir. 2007-11-14 23:54 UTC+0100 Viktor Szakats * common.mak * include/hbextern.ch * source/rdd/Makefile + source/rdd/rddinfo.c * source/rdd/dbcmd.c + source/rdd/dbdrop.c + source/rdd/dbcmd53.c + source/rdd/dbexists.c + source/rdd/fieldhb.c ! Moved away C53 functions to a separate file. + Added HB_RDDGETTEMPALIAS() as a documented version of the long existing __RDDGETTEMPALIAS(). The latter name still kept for compatibility. ! Moved away non-namespace conformant HB_EXTENSIONs to separate files to cause less harm form those not wanting these or already using these names in app code. + Added HB_RDDINFO() namespace conformant version of the RDDINFO() Harbour extension. RDDINFO() still works but it's now defined in a separate file to cause less potential harm. - Removed HB_EXTENSION guards from around DBDROP(), DBEXISTS(), RDDINFO(), FIELDLEN(), FIELDDEC(), FIELDTYPE() non namespace conformant Harbour extensions, so these are now always available. ; NOTE/FIXME: In RDD we have some more hidden Harbour specific extensions not properly marked or at least documented, like cRDD, nConnection, cCodePage extra parameters, DBS_FLAG, maybe more. ; Przemek: I'm sorry you didn't bother to answer, so I just can hope these address the problems you were having. * source/rdd/sdf1.c * source/rdd/delim1.c ! Removed two __XHARBOUR__ guards, by making the guarded code the default. We have SET EOL support in Harbour now, so this seems okay. If not, tell. ; FIXME: We still have __XHARBOUR__ #defines in pp/ppcore.c and debug/debugger.prg. * include/hbsetup.ch ! HB_EXTENSION turned off. 2007-11-14 21:53 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/make_xmingwce.sh * updated for different then GCC host C compiler name (DJGPP in DOS and MINGW32 in MS-Windows) 2007-11-14 19:00 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbwince.h * harbour/source/common/hbwince.c * harbour/utils/hbver/hbverfix.c * modified for clean compilation with POCC/XCC and ARM processors 2007-11-14 17:07 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/harbour-ce-spec * harbour/harbour-w32-spec * updated for recently modified hb-mkslib.sh name in cross builds 2007-11-14 15:55 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/make_xmingwce.sh ! added -D__PLATFORM__Windows for non MS-Windows based hosts I removed by mistake in previous commit * harbour/bin/hb-mkslib.sh * harbour/bin/hb-func.sh * harbour/bin/postinst.sh * in cross builds changed hb-mkslib.sh name to respect prefix used by other hb* scripts (e.g. hbce or hbw) and set destination platform to fixed value 2007-11-14 14:45 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/make_xmingwce.sh * cleaned possible warning message when host computer is controlled by MS-Windows cross build ! fixed harbour.exe and hbppgen.exe detecting in Windows 2007-11-14 02:00 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/common.mak * harbour/source/codepage/Makefile + harbour/source/codepage/cpesmwin.c - harbour/source/codepage/cpesmwi.c * renamed * harbour/source/rtl/cdpapi.c ! do not use '~' as accented character marker if neither ACCENTED_EQUAL nor ACCENTED_INTERLEAVED is set - in some CPs '~' is a letter ! use '~' as accented character marker only if it exists in UPPER and LOWER letter sets - our CP code cannot properly decode letter sets when this condition is not true - it should be fixed (FIXME) ! use '.' as multibyte character marker only if it exists in UPPER and LOWER letter sets - our CP code cannot properly decode letter sets when this condition is not true - it should be fixed (FIXME) * harbour/source/codepage/cpeldos.c * harbour/source/codepage/cpelwin.c * updated accent marker upper letters to be the same as in lower ones Greek users should fix me. 2007-11-14 00:51 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/make_gcc.sh * harbour/make_gnu.sh * harbour/make_tgz.sh * updated for new MSYS versions 2007-11-13 22:59 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/strcase.c * casting 2007-11-13 22:22 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/cdpapi.c ! fixed bad typo in my last modification 2007-11-13 14:38 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/hb-func.sh * do not include gtwin in harbour.dll for MinGW-CE builds gtwin can work only if additional (non standard) libraries are installed in WinCE/PocketPC so it should not be part of harbour.dll * harbour/source/rtl/gtwin/gtwin.c * removed HB_WINCE_USE_POCKET_CONSOLE macro It's not longer necessary when gtwin is not part of harbour.dll 2007-11-13 14:13 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/make_xmingwce.sh * harbour/make_xmingw.sh * do not create compiler binaries in cross builds * use hbce and hbw prefixes for generated build scripts * harbour/make_tgz.sh * use strip from cross compiler instead of native one * harbour/include/Makefile + added missing header files * harbour/harbour.spec * minor cleanup * harbour/source/compiler/cmdcheck.c * accept internal option delimiters in define value (-d option, e.g.: '-dABC="QWE-ASD"') 2007-11-13 01:25 UTC+0100 Viktor Szakats * contrib/odbc/odbc.c ! MSVC casting warnings silenced. * utils/hbmake/hbmake.prg ! Fixed "$" used on array named s_cInvalidExt. ! Fixed to not include ct/tip/ctmt/tipmt in Harbour. ; The reports and fixes were provided by Bill Robertson. 2007-11-12 20:53 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/filesys.c * do not redefine LongToHandle() for __XCC__ and __POCC__ WinCE builds * harbour/utils/hbver/hbverfix.c ! fixed typos in previous commit 2007-11-12 19:22 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) + harbour/include/hbassert.h * harbour/include/hb_io.h * harbour/source/rtl/gtstd/gtstd.c * harbour/source/rtl/gtpca/gtpca.c * harbour/source/rtl/fssize.c * harbour/source/rtl/hbinet.c * harbour/source/rtl/filesys.c * harbour/source/compiler/hbfix.c * harbour/source/compiler/hbpcode.c * harbour/source/compiler/hbdead.c * harbour/source/compiler/genc.c * harbour/source/compiler/hbopt.c * harbour/source/compiler/gencc.c * harbour/source/compiler/hblbl.c * harbour/source/compiler/hbstripl.c * harbour/utils/hbver/hbverfix.c * harbour/utils/hbpp/hbppcore.c * removed dependences to unsupported by new MSVC header files most of this modifications can be enabled also for standard Win32 builds * harbour/source/common/hbwince.c * do not create dummy LocalLock() and LocalUnlock() function in MSVC WinCE builds * harbour/source/rtl/gtwin/gtwin.c + added HB_WINCE_USE_POCKET_CONSOLE macro which enable console support in WINCE builds (macro suggested by Marek Paliwoda) * harbour/source/rtl/gtwvt/gtwvt.h * harbour/source/rtl/gtwvt/gtwvt.c * changed default window and font size on WinCE to values suggested by Marek Paliwoda Marek if you have a while please make test with MSVC WinCE/PocketPC builds and current SVN code. 2007-11-12 16:09 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapifs.h * harbour/source/common/hbfsapi.c + added hb_fsMaxFilesError() * harbour/source/pp/ppcore.c * harbour/utils/hbpp/hbppcore.c * use hb_fsMaxFilesError() to avoid direct accessing of errno value - some compilers/platforms do not support errno * harbour/include/hbdate.h * harbour/source/rtl/seconds.c + added hb_dateMilliSeconds() * harbour/source/rtl/hbgtcore.c * harbour/source/rtl/idle.c * harbour/source/rtl/inkey.c * use hb_dateMilliSeconds() to avoid using clock_t clock() some compilers/platforms do not support it * harbour/include/hbwince.h * harbour/source/common/hbwince.c * disabled clock_t clock() emulation - it's not longer used + added some declarations for ANSI functions emulated by us for WinCE and some defines - code sent by Marek Paliwoda * harbour/include/hbwmain.c * harbour/source/vm/mainwin.c * always use unicode translations with WinMain() parameters for compilers which do not set UNICODE macro for WinCE * harbour/source/rtl/fserror.c * do not include errno.h for HB_WIN32_IO - it's not necessary * harbour/utils/hbver/hbverfix.c * do not include errno.h for _MSC_VER and HB_WINCE builds * harbour/contrib/libmisc/dates2.c - commented DATETIME() function - this was not standard DATETIME() value but raw ctime() function output and some compilers/platforms do not support ctime() * harbour/contrib/libnf/getenvrn.c + added HB_OS_WIN_32_USED * harbour/contrib/mtpl.mak * harbour/contrib/pdflib/pdflib.h * replaced TABs with SPACEs * harbour/include/hbsetup.ch ! reenabled HB_EXTENSION in default builds - disabling it makes a lot of RDD code unusable and breaks default builds due to insufficient dependences 2007-11-12 01:25 UTC+0100 Viktor Szakats * utils/hbmake/hbmake.prg ! Fixed warnings. 2007-11-12 01:14 UTC+0100 Viktor Szakats * include/hbapi.h + Added xhb compatibility #define for hb_storclenAdopt() (equivalent to Harbour's hb_storclen_buffer()) * contrib/xhb/hbcompat.ch + Added xhb IsDirectory() <-> hb_DirExists() translation. Harbour version works using access(), while xhb version does a filefind, so Harbour will return a more accurate result more quickly, but it won't work with wildcards. * source/rtl/persist.prg % Using hb_StrShrink() * common.mak * utils/hbdoc/Makefile * utils/hbdoc/ffile1.prg * utils/hbdoc/genasc.prg * utils/hbdoc/genchm.prg * utils/hbdoc/genhtm.prg * utils/hbdoc/genng.prg * utils/hbdoc/genos2.prg * utils/hbdoc/genpdf1.prg * utils/hbdoc/genrtf.prg * utils/hbdoc/gentrf.prg * utils/hbdoc/hbdoc.prg * utils/hbdoc/html.prg * utils/hbdoc/ng.prg * utils/hbdoc/os2.prg * utils/hbdoc/rtf.prg + utils/hbdoc/teeasc.prg + Synced with xhb. ; Someone who uses this tool, pls test. * common.mak * utils/hbmake/Makefile * utils/hbmake/ft_funcs.prg * utils/hbmake/hbmake.prg * utils/hbmake/hbmutils.prg * utils/hbmake/pickarry.prg * utils/hbmake/radios.prg + utils/hbmake/readline.c + utils/hbmake/tmake.prg + Synced with xhb. ; Someone who uses this tool, pls test. 2007-11-11 22:26 UTC+0100 Viktor Szakats * common.mak * source/rtl/Makefile + source/rtl/getsys53.prg * source/rtl/getsys.prg + source/rtl/secondfs.c * source/rtl/seconds.c + source/rtl/mouse53.c * source/rtl/mouseapi.c + Some C53 and FlagShip functions moved to separate source file. * include/hbextern.ch * common.mak * source/rtl/Makefile + source/rtl/hbstrsh.c * utils/hbtest/rt_stra.prg + Added hb_StrShrink(<cString>[,<nShrinkBy>]) -> cStringShrinked <nShrinkBy> has a default value of 1. Returns empty string on error, returns full string if <nShrinkBy> is zero or negative. This function call is meant to be use instead of code like this: cString := Left( cString, Len( cString ) - 1 ) -> cString := hb_StrShrink( cString, 1 ) TODO: Maybe to support passing it by reference and make it even faster. + Added regression tests for this function. 2007-11-11 18:55 UTC+0100 Viktor Szakats + contrib/telepath + contrib/telepath/ChangeLog + contrib/telepath/Makefile + contrib/telepath/make_b32.bat + contrib/telepath/make_vc.bat + contrib/telepath/common.mak + contrib/telepath/telepath.ch + contrib/telepath/tplinux.c + contrib/telepath/tpwin32.c + contrib/telepath/tpos2.c + contrib/telepath/telepath.prg + contrib/telepath/readme.txt + contrib/telepath/test + contrib/telepath/test/testtp.prg + Added Telep*th(y) compatible contrib lib. Borrowed from xhb. * source/debug/dbgtobj.prg ! Fixed crash. Borrowed from xhb. 2007-11-11 18:07 UTC+0100 Viktor Szakats * contrib/mtpl.mak * contrib/mtpl_b32.mak * contrib/mtpl_vc.mak + Added support for HB_ROOT. + Now default HB_*_INSTALL dirs are set inside make files. (to avoid manipulating these envvars on the batch file level) * contrib/libmisc/make_b32.bat * contrib/libmisc/make_vc.bat - Removed HB_*_INSTALL manipulation from .bat files. * contrib/hgf/win32/make_b32.bat * contrib/hgf/win32/make_vc.bat - contrib/hgf/win32/make_b32.mak - contrib/hgf/win32/make_vc.mak + contrib/hgf/win32/common.mak + Now using contrib template make files. * make_b32.bat * make_vc.bat * common.mak ! Moved HB_*_INSTALL defaulting to make file level. + contrib/ole + contrib/ole/common.mak + contrib/ole/oleauto.prg + contrib/ole/test/sample.odt + contrib/ole/test/testole.prg + contrib/ole/test/bld_b32.bat + contrib/ole/ole2.c + contrib/ole/make_b32.bat + contrib/ole/make_vc.bat + contrib/ole/Makefile + Restored "old" OLE implementation, as it was reported by Mindaugas Kavaliauskas that it works better in some respects than the newer version in /contrib/win32. Until we know further about the details there is no reason to not have this contrib. + Added CreateObject() and GetActiveObject() to enhance compatibility with newer implementation. + Standardized make files. * test moved to test dir. + Added VC make file. * contrib/win32/test/testole.prg + contrib/ole/test/testole.prg + The two test apps from the two OLE implementations were merged and now they are the same. A quick look shows differences when detecting the presence of an OLE object. "old" OLE GPFs with "new" OLE method, "new" OLE RTEs with "old" OLE method. * contrib/pdflib/common.mak * contrib/pdflib/pdf1.prg * contrib/pdflib/pdfhbdocs.prg * contrib/pdflib/pdfhbdoc.c * contrib/pdflib/Makefile ! Removed GLOBAL requirement. ! Moved away C code inside .prg. ! Fixed some unused var warnings. ! Removed some unused stuff. ; Now there are clashing symbols. I suspect this is an unfinished contrib, even in xhb. 2007-11-11 16:07 UTC+0100 Viktor Szakats * contrib/xhb/hbcompat.ch + Added hb_At() translation to extended At() * contrib/tip/popcln.prg * contrib/tip/mail.prg ! Changed extended At() to hb_At(). 2007-11-11 16:05 UTC+0100 Viktor Szakats * contrib/xhb/hbcompat.ch + Added extended At() translation to hb_At() * contrib/tip/ftpcln.prg ! Changed extended At() to hb_At(). (Thanks Petr) 2007-11-11 14:51 UTC+0100 Viktor Szakats * contrib/rdd_ads/make_b32.bat * contrib/rdd_ads/make_vc.bat * contrib/odbc/make_b32.bat * contrib/odbc/make_vc.bat + Added HB_DLL_DIR for BC too. ! Minor fix for VC: echo -> echo. 2007-11-11 14:13 UTC+0100 Viktor Szakats * source/rtl/tpopup.prg * source/rtl/ttopbar.prg * source/rtl/tmenuitm.prg ! MENUITEM class :row and :col vars changed to :__row and :__col, instead of adding HB_EXTENSION guards to them, because they are needed internally. * source/rtl/browse.prg * source/rtl/tbrowse.prg * Two mouse-wheel handling extensions now rather guarded with HB_C52_STRICT. * source/rtl/gete.c ! Fixed GETENV()/GETE() to return an empty string when called with more than one parameter, to be fully C5.x compatible. * source/vm/proc.c ! PROCFILE() HB_EXTENSION guard changed to HB_C52_STRICT. Since PROCFILE() is an undocumented function in C5.x we can legally extend it in Harbour. * include/hbsetup.ch * Turned off HB_EXTENSION for the default build. Now HB_EXTENSION covers all the extensions which in some ways violates namespace rules or extends functionality of existing CA-Cl*pper functions or classes in an "invisible" (or "dirty") way, like adding new parameters or accepting new types of parameters. In case we want to keep some extended functionality in the default build, we'll need to create new function names. For class extensions, I'm not yet sure what is the proper way to go. In case of ML*() functions, I think they should respect SET EOL instead of accepting EOL settings as parameters. 2007-11-11 13:45 UTC+0100 Viktor Szakats * source/rtl/tbrowse.prg ! Fixed to compile with HB_C52_STRICT. * contrib/rdd_ads/make_vc.bat * contrib/odbc/make_vc.bat ! Fixed .dll to .lib generation to work using GNU sed. (now it doesn't need exports.sed anymore). NOTE: I'm not sure if the batch tricks will work on every flavour of Windows. It should for W2K and above though, probably NT too. ! Fixed to pick .dlls from HB_DLL_DIR, which when not defined, points to system32 dir. ; I know "sed" dependency is not optimal, but we can remove this later if we have better solution, until then it cannot hurt and it's better than nothing. "sed" is a free tool included in mingw32, cygwin, and also downloadable as a self-contained .exe from the gnuwin32 project: https://gnuwin32.sourceforge.io/packages/sed.htm Direct link to bin package: https://gnuwin32.sourceforge.io/downlinks/sed-bin-zip.php (it cannot hurt to have this in ones "utils" dir anyway :) * contrib/odbc/make_b32.bat - contrib/odbc/odbc32.def - Removed .def file from repository. .lib have to be generated from live .dll instead of this old .def. 2007-11-11 12:51 UTC+0100 Viktor Szakats * include/std.ch ! SET STRICTREAD command definition fixed. * include/hbextern.ch ! Fixed placement of MENUMODAL, to compile when HB_COMPAT_C53 is turned off. * contrib/libmisc/Makefile ! Fixed test dir name. (broken since yesterday) * contrib/pdflib/common.mak + Added another file. + contrib/pdflib/Makefile + Added GNU make file for pdflib. * utils/hbdoc/ft_funcs.prg * utils/hbmake/ft_funcs.prg * utils/hbmake/hbmake.prg ! Made them compile with HB_COMPAT_C53 turned off. There is a loss of functionality in this case. (MAKEDIR(), DIRCHANGE() and @ CHECKBOX are used here) * source/rtl/menuto.prg * source/rtl/tgetlist.prg ! Fixed to compile when HB_COMPAT_C53 is turned off. * include/hbextern.ch * source/rtl/defpath.c * source/rtl/adir.prg * __DEFPATH() is now always included, not just when HB_C52_UNDOC is defined, since we use this function from core, and __*() functions are okay to be included without this guard. DEFPATH() is still marked as HB_C52_UNDOC. ! ADIR() now uses __DEFPATH() instead of DEFPATH() to compile with HB_C52_UNDOC turned off. ; FIXME: There are still a few functions we use from core, which are guarded with HB_C52_UNDOC: NATIONMSG(), ISNEGATIVE() * source/vm/memvars.c * Changed HB_EXTENSION to HB_C52_STRICT. Reason: This is a Harbour internal (undocumented) function, where extension is possible. CA-Cl*pper internal (undocumented) function __MRESTORE() is mapped to this function, which is still okay. We could create a fully CA-Cl*pper compatible, non-extended __MRESTORE() without any trouble, if this is an issue. 2007-11-11 02:40 UTC+0100 Viktor Szakats * source/rtl/at.c * include/hbextern.ch + Added hb_At() which is equivalent to At() with HB_EXTENSION turned on. Users are encouraged to use hb_At(), and this is also a must inside core. * include/hbextern.ch ! Added missing hb_AIns(), hb_ADel(), hb_AScan() * source/rtl/persist.prg ! Fixed hard-wired EOL length. ! Fixed to not go into an infinite loop on non EOL terminated texts. (Thanks Petr) ! Fixed to use hb_At() instead of extended At(). ! Fixed to also handle LF delimited texts. ; All this in static function ExtractLine() * contrib/rdd_ads/doc/gendoc.bat ! Added version header. * contrib/hgf/tests/bld_b32.bat ! Some more minor cleanups. * contrib/pgsql/make_vc.bat * contrib/apollo/make_vc.bat * contrib/gd/make_vc.bat * contrib/adordd/make_vc.bat * contrib/pdflib/make_b32.bat * contrib/pdflib/make_vc.bat * contrib/btree/make_vc.bat * contrib/samples/make_vc.bat * contrib/mysql/make_vc.bat * contrib/odbc/make_vc.bat * contrib/bmdbfcdx/make_vc.bat ! Fixed EOL-style. + contrib/libmisc/test - contrib/libmisc/tests * Dir rename. 2007-11-11 01:52 UTC+0100 Viktor Szakats * source/rtl/tpopup.prg ! Fixed a few problems regarding HB_EXTENSION guards. (one method declaration was mistakenly guarded, and one IF construct broke when compiled without HB_EXTENSION) * source/rtl/mlcfunc.c * source/rtl/alert.prg ! Fixed unused var warnings when HB_EXTENSION is off. * contrib/hgf/tests/bld_b32.bat ! Some more fixes. (removed hard coded BCC path, and a few wrong dirs) ; For me form3.hbf works without a closing EOL, under Windows. So the problem might rather be something else. For sure though, HBPersistent()'s EOL detection and handling is not portable (FIXME). * source/compiler/hbcomp.c ! Reverted previous change for non-Unix platforms, regaring command-line output. Now Harbour will again use stderr/stdout about the same way CA-Cl*pper does. However odd this is, most DOS/Windows programs work this way, so the "when in Rome" rule got in effect here. Otherwise, any DOS/Windows build output (BC/VC/GCC) goes to stdout, _except_ Harbour errors/warnings, and this is not a good thing. Still, the //STDOUT:, //STDERR: compiler switches could come handy to override the platform defaults. 2007-11-11 00:44 UTC+0100 Viktor Szakats * include/std.ch * Removed HB_EXTENSION guard from around SET commands implementing Harbour _SET_* extensions. The reason: _SET_* extensions are not marked as extensions (and it would be nearly impossibly to do so), so it's more consistent to behave the same way for their command counterparts. * utils/hbpp/hbpplib.c ! Removed HB_EXTENSION guard from around __PP*() functions which are Harbour undocumented ones, so they don't need to be guarded. We're also in sync with hbextern.ch now. * utils/hbtest/rt_stra.prg ! Removed HB_EXTENSION guard from around hb_ValToStr() calls, because this function is no longer marked as HB_EXTENSION. * contrib/hgf/os2pm/tmenu.prg * contrib/hgf/os2pm/tmenuitm.prg * contrib/hgf/gtk/shared.ch * contrib/hgf/gtk/dispatch.c * contrib/hgf/gtk/creamenu.c * contrib/hgf/gtk/msginfo.c * contrib/hgf/gtk/creabutt.c * contrib/hgf/gtk/general.c * contrib/hgf/gtk/creawin.c * contrib/hgf/gtk/harbgtk.h * contrib/hgf/gtk/menuitem.prg * contrib/hgf/win32/button.prg * contrib/hgf/win32/edit.prg * contrib/hgf/win32/form.prg * contrib/hgf/win32/menu.prg * contrib/hgf/win32/menuitem.prg * contrib/hgf/win32/winctrl.prg * contrib/hgf/tests/bld_b32.bat * contrib/hgf/tests/form2.prg * contrib/hgf/tests/form3.prg * contrib/hgf/tests/form3.hbf * contrib/hgf/tests/form3res.prg * contrib/hgf/tests/formtext.prg * contrib/hgf/tests/testctrl.prg * contrib/hgf/tests/testform.prg ! Fixed bld_b32.bat to link properly. ! Changed HBMenuItem CLASS to HGFMenuItem() to not collide with Harbour class HBMenuItem() (C53 compatibility class). ; The above reported by Petr Chornyj. ! Added CRLF at the end of each source file where there was none. ! Fixed version headers. ; FIXME1: HBPersistent():LoadFromFile() has a bug where it doesn't load the last line if it doesn't end with newline. ; FIXME2: HBPersistent() uses At() "dirty" extension. * contrib/odbc/test/odbcdemo.prg - contrib/odbc/test/browodbc.prg * contrib/odbc/test/odbccall.prg * contrib/odbc/test/testodbc.prg * contrib/odbc/common.mak + contrib/odbc/browodbc.prg ! Moved back browodbc.prg to /contrib/odbc (since it was not a test, just missing from the non-GNU make files) Reported by Petr Chornyj. ! Added browodbc.prg to non-GNU makefile. ! Added version headers. 2007-11-10 18:03 UTC+0100 Viktor Szakats * Makefile - samples + contrib/examples * contrib/Makefile * contrib/examples/Makefile * contrib/examples/guestbk/inifiles.prg * contrib/examples/guestbk/testcgi.prg * contrib/examples/guestbk/bld_b32.bat * contrib/examples/guestbk/Makefile * contrib/examples/pe/pe.prg * contrib/examples/pe/Makefile * contrib/examples/misc/Makefile * contrib/examples/hscript/bld_b32.bat * contrib/examples/hscript/Makefile * contrib/examples/Makefile * Moved /samples to /contrib/examples 2007-11-10 17:35 UTC+0100 Viktor Szakats * source/vm/hvm.c ! Fixed unused var warning when HB_NO_DEBUG was defined and TRACE disabled. (Reported by Enrico Maria Giordano) 2007-11-10 17:24 UTC+0100 Viktor Szakats * make_b32.bat * make_vc.bat * contrib/xhb/make_b32.bat * contrib/xhb/make_vc.bat * contrib/libmisc/make_b32.bat * contrib/libmisc/make_vc.bat * contrib/pgsql/make_b32.bat * contrib/pgsql/make_vc.bat * contrib/apollo/make_b32.bat * contrib/apollo/make_vc.bat * contrib/libnf/make_b32.bat * contrib/libnf/make_vc.bat * contrib/gd/make_b32.bat * contrib/gd/make_vc.bat * contrib/htmllib/make_b32.bat * contrib/htmllib/make_vc.bat * contrib/tip/make_b32.bat * contrib/tip/make_vc.bat * contrib/libct/make_b32.bat * contrib/libct/make_vc.bat * contrib/adordd/make_b32.bat * contrib/adordd/make_vc.bat * contrib/pdflib/make_b32.bat * contrib/pdflib/make_vc.bat * contrib/rdd_ads/make_b32.bat * contrib/rdd_ads/make_vc.bat * contrib/libgt/make_b32.bat * contrib/libgt/make_vc.bat * contrib/btree/make_b32.bat * contrib/btree/make_vc.bat * contrib/win32/make_b32.bat * contrib/win32/make_vc.bat * contrib/directx/make_b32.bat * contrib/directx/make_vc.bat * contrib/samples/make_b32.bat * contrib/samples/make_vc.bat * contrib/mysql/make_b32.bat * contrib/mysql/make_vc.bat * contrib/odbc/make_b32.bat + contrib/odbc/make_vc.bat * contrib/bmdbfcdx/make_b32.bat * contrib/bmdbfcdx/make_vc.bat * contrib/hgf/win32/make_b32.bat * contrib/hgf/win32/make_vc.bat ! Readded COPYCMD "hack" to core Harbour for fully portable "copy /y" functionality across all Micro$oft operating systems. + Same feature added for all contribs. * contrib/hbzlib/make_b32_dll.bat * contrib/hbzlib/make_b32_dll.mak * contrib/hbzlib/make_b32.bat - contrib/hbzlib/make_b32.mak * contrib/hbzlib/make_vc.bat - contrib/hbzlib/make_vc.mak + contrib/hbzlib/common.mak + Standardized make files (and some cleanup along the way) ; TODO: BC dll creating is still to be cleaned. ; FIXME: Lots of warnings if compiled with standard BCC switch set. [DROPPED] ; FIXME: Lots of warnings when compiler for MSVC. * contrib/hgf/win32/win32.c * contrib/hgf/win32/form.prg ! Fixed one unused var warning in .prg code. ! Fixed to not use Harbour internals. (Petr, this should have the same effect as your request, but pls test this change.) 2007-11-10 12:29 UTC+0100 Viktor Szakats * contrib/libmisc/common.mak * contrib/apollo/common.mak * contrib/libnf/common.mak * contrib/gd/common.mak * contrib/htmllib/common.mak * contrib/tip/common.mak * contrib/adordd/common.mak * contrib/rdd_ads/common.mak * contrib/libgt/common.mak * contrib/btree/common.mak * contrib/win32/common.mak * contrib/directx/common.mak * contrib/samples/common.mak * contrib/mysql/common.mak * contrib/bmdbfcdx/common.mak * contrib/pgsql/common.mak ! .obj -> $(OBJEXT) * contrib/pgsql/make_b32.bat * contrib/pgsql/make_vc.bat ! Minor fix. + contrib/pdflib/make_vc.bat + contrib/pdflib/make_b32.bat + contrib/pdflib/common.mak + contrib/pdflib/pdf1.prg + contrib/pdflib/pdfhbdoc.ch + contrib/pdflib/pdf.ch + contrib/pdflib/pdfhbdocs.prg * contrib/pdflib/pdflib.h * contrib/pdflib/pdfhbdoc.c * Borrowed from xhb. ! Fixed HB_ITEM -> PHB_ITEM. ! Fixed warnings. + Added non-GNU make files. ; NOTE: I didn't test this, it would be great if someone would. 2007-11-10 06:10 UTC+0100 Viktor Szakats - contrib/hgf/tests/build_b32.bat + contrib/hgf/tests/bld_b32.bat - contrib/hgf/win32/makefile.bc + contrib/hgf/win32/make_b32.mak - contrib/hgf/win32/makevc.bat + contrib/hgf/win32/make_vc.bat - contrib/hgf/win32/makefile.vc + contrib/hgf/win32/make_vc.mak * contrib/hgf/win32/make_b32.bat - contrib/hbzlib/hrbdll.bc + contrib/hbzlib/make_b32_dll.bat - contrib/hbzlib/dll_b32.bat + contrib/hbzlib/make_b32_dll.mak - contrib/hbzlib/makefile.vc + contrib/hbzlib/make_vc.mak - contrib/hbzlib/makefile.bc + contrib/hbzlib/make_b32.mak * contrib/hbzlib/make_b32.bat * contrib/hbzlib/make_vc.bat * Some non-GNU make file cleanup. 2007-11-10 05:50 UTC+0100 Viktor Szakats * make_b32.bat + make_b32.mak - makefile.bc * make_gcc.sh + make_gcc.mak - makefile.gc * make_vc.bat + make_vc.mak - makefile.vc * common.mak - contrib/maketpl.b32 + contrib/mtpl_b32.mak - contrib/maketpl.vc + contrib/mtpl_vc.mak - contrib/maketpl.mak + contrib/mtpl.mak * contrib/libct/make_b32.bat * contrib/libct/make_vc.bat % Makefile name cleanup, batch file synchronization, setting name cleanup. Some minor fixes. Now all non-GNU makefiles have the .mak extension. - contrib/xhb/makefile.vc * contrib/xhb/make_b32.bat + contrib/xhb/common.mak - contrib/xhb/makefile.bc * contrib/xhb/make_vc.bat - contrib/libmisc/makefile.vc * contrib/libmisc/make_b32.bat + contrib/libmisc/common.mak - contrib/libmisc/makefile.bc * contrib/libmisc/make_vc.bat + contrib/apollo/common.mak - contrib/apollo/makefile.bc * contrib/apollo/make_b32.bat + contrib/apollo/make_vc.bat - contrib/htmllib/makefile.vc * contrib/htmllib/make_b32.bat + contrib/htmllib/common.mak - contrib/htmllib/Makefile.bc * contrib/htmllib/make_vc.bat * contrib/libct/make_b32.bat * contrib/libct/make_vc.bat - contrib/libgt/makefile.vc * contrib/libgt/make_b32.bat + contrib/libgt/common.mak - contrib/libgt/makefile.bc * contrib/libgt/make_vc.bat * contrib/libnf/make_b32.bat - contrib/libnf/makefile.vc * contrib/libnf/make_vc.bat + contrib/libnf/common.mak - contrib/libnf/makefile.bc * contrib/gd/make_b32.bat + contrib/gd/common.mak - contrib/gd/makefile.bc + contrib/gd/make_vc.bat - contrib/tip/makefile.vc * contrib/tip/make_b32.bat + contrib/tip/common.mak - contrib/tip/makefile.bc * contrib/tip/make_vc.bat + contrib/adordd/common.mak - contrib/adordd/makefile.bc * contrib/adordd/make_b32.bat + contrib/adordd/make_vc.bat - contrib/rdd_ads/makefile.vc * contrib/rdd_ads/make_b32.bat + contrib/rdd_ads/common.mak - contrib/rdd_ads/makefile.bc * contrib/rdd_ads/make_vc.bat + contrib/btree/common.mak - contrib/btree/makefile.bc * contrib/btree/make_b32.bat + contrib/btree/make_vc.bat + contrib/directx/common.mak - contrib/directx/makefile.bc - contrib/directx/makefile.vc * contrib/directx/make_b32.bat * contrib/directx/make_vc.bat + contrib/win32/common.mak - contrib/win32/makefile.bc - contrib/win32/makefile.vc * contrib/win32/make_b32.bat * contrib/win32/make_vc.bat + contrib/bmdbfcdx/common.mak - contrib/bmdbfcdx/makefile.bc * contrib/bmdbfcdx/make_b32.bat + contrib/bmdbfcdx/make_vc.bat - contrib/samples/makefile.vc * contrib/samples/make_b32.bat + contrib/samples/common.mak - contrib/samples/makefile.bc * contrib/samples/make_vc.bat * contrib/mysql/common.mak - contrib/mysql/makefile.bc * contrib/mysql/make_b32.bat + contrib/mysql/make_vc.bat * contrib/pgsql/common.mak - contrib/pgsql/makefile.bc * contrib/pgsql/make_b32.bat + contrib/pgsql/make_vc.bat * Changed most libs to use the generic non-GNU makefiles. + Added support for MSVC for all above libs. + Added "implib" for rdd_ads. FIXME: Doesn't work for MSVC. ; FIXME: directx won't build under MSVC with an error. ; FIXME: I couldn't compile pgsql using latest 8.2.5. [DONE] * contrib/samples/gauge.c ! Fixed MSVC warning. + odbc/test + odbc/test/bld_b32.bat + odbc/test/harbour.mdb + odbc/test/odbcdemo.prg + odbc/test/browodbc.prg + odbc/test/odbccall.prg + odbc/test/testodbc.prg - odbc/bld_b32.bat - odbc/harbour.mdb - odbc/odbcdemo.prg - odbc/browodbc.prg - odbc/odbccall.prg - odbc/testodbc.prg - odbc/bldodbc.bat + odbc/make_b32.bat + odbc/make_vc.bat - odbc/hbodbc.b32 + odbc/common.mak * Moved test functions to test fir. ! Fixed bld_b32.bat ! Renamed non-GNU BC make files to be in sync with the rest of contribs. ; FIXME: There are some warnings under MSVC. ; FIXME: .def -> .lib conversions fails under MSVC. - contrib/ole - contrib/delphi - contrib/hb_struc - contrib/dot - contrib/tprepro - Removed obsolete, incomplete or non-working contribs. 2007-11-09 15:20 UTC+0100 Viktor Szakats * source/compiler/hbcomp.c ! Changed error messages to go to stderr on non-Unix platforms too. With this change the Harbour compiler uses the same output on non-Unix platforms as on Unixes. With Przemek's previous and now this change, the compiler uses stdout/stderr in the standard way (messages to stdout, warnings/errors to stderr), instead of being more or less CA-Cl*pper compatible. (in CA-Cl*pper startup msg plus some info went to stderr and errors/warnings and some other progress info went to stdout) * source/compiler/hbusage.c + Added -f* switches to help screen. * source/compiler/cmdcheck.c * source/compiler/hbusage.c ! -r=<max> -> -r:<max> * contrib/libct/screen2.c * contrib/libct/cursor.c * contrib/libct/ctstrfil.c ! Fixed MSVC warnings. * contrib/htmllib/Makefile.bc * Changed to not generate .ppo output on build. * contrib/libct/make_b32.bat * contrib/libct/make_vc.bat - contrib/libct/makefile.bc - contrib/libct/makefile.vc + contrib/libct/common.mak + contrib/maketpl.b32 + contrib/maketpl.vc + contrib/maketpl.mak + Added BC/VC non-GNU generic make script for contribs. + Using the above generic make scripts to build LIBCT. Notice BC/VC now uses one make file per contrib project named common.mak. The two helper batch files are essentially identical for BC and VC, and there is no reduancy or any complexity in common.mak (they much resemble in content to Makefile). Notice that with this new system users have to call make_[b32|vc].bat INSTALL in order to get the libs and headers installed in the final lib/header destinations. (This step was previously done automatically by the .bat files in LIBCT - or maybe not in other contribs.) The new scripts also have a generic CLEAN functionality. ; Thanks Marek Paliwoda for the generic make scripts. 2007-11-09 00:09 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/tip/ftpcln.prg * converted TABs to SPACEs 2007-11-08 22:57 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/make_xmingw.sh * minor modification in one message + harbour/make_rpmw32.sh + harbour/harbour-w32-spec + added script to build RPMs with cross build of Harbour for MS-Windows using MinGW32 cross compiler. make_rpmw32.sh should create harbour-w32-<ver>.i[345]86.rpm which can be installed with platform native harbour RPMs. This RPM contains Harbour libraries compiled for Win32 and set of hbw* scripts which should be used instead of standard hb* ones to create MS-Windows binaries. It means that you can create standard Linux binaries and MS-Windows binaries in the same session without setting/changing any additional environment variables, f.e: hbmk -n -w -es2 test.prg will create Linux binaries and: hbwmk -n -w -es2 test.prg will create binaries for MS-Windows. Please also remember that if you create and install RPMs with Harbour for WinCE/PocketPC (make_rpmce.sh) then hbce* scripts will create WinCE/PocketPC binaries, e.g.: hbcemk -n -w -es2 test.prg 2007-11-07 13:53 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/pp/ppcore.c * harbour/source/rtl/hbgtcore.c * harbour/source/rtl/cdpapi.c * harbour/source/rtl/mlcfunc.c * harbour/source/vm/classes.c * harbour/source/common/reserved.c * harbour/source/compiler/hbpcode.c * harbour/source/compiler/gencc.c * harbour/source/compiler/hbfunchk.c * cleaned possible dangerous code reported by Chen - many thanks 2007-11-07 10:48 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/common/hbfsapi.c ! fixed DJGPP builds * use _chmod() if available (for long file name support) or _dos_getfileattr() instead of direct interrupt calls 2007-11-07 01:47 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/filesys.c * updated hb_fsTell() and hb_fsEof() to respect platform dependent API calls used in hb_fsSeek[Large]() 2007-11-06 23:19 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/debug/dbgentry.c * changed the name of global static variable from 'info' to 's_pInfo' to avoid possible typos 2007-11-06 12:58 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbwince.h * put functions declarations inside HB_EXTERN_BEGIN / HB_EXTERN_END + harbour/include/hbwmain.c + added WinMain() to main() wrapper * harbour/include/hbexprb.c * harbour/source/common/expropt1.c ! fixed typo reported by Chen * harbour/source/pp/hbppgen.c * harbour/source/main/harbour.c * harbour/utils/hbpp/hbpp.c * use hbwmain.c when main() is not supported by C compiler/platform * harbour/source/rtl/gtwin/gtwin.c * include wincon.h in all builds except LCC * harbour/source/rtl/fserror.c * harbour/source/rtl/fstemp.c * harbour/source/rtl/filesys.c * use HB_OS_WIN_32_USED as in other files (still on FIXME list) * harbour/source/rtl/seconds.c + added HB_OS_WIN_32_USED * harbour/source/compiler/hbcomp.c ! fixed typo: stderr was used instead of stdout 2007-11-05 18:35 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/tests/wcecon.prg + added small test for DBF/FPT/CDX file creation and browsing in PocketPC/WinCE 2007-11-05 01:12 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/utils/hbmake/hbmlang.c * pacify some other data lost conversion warnings by explicit casting * harbour/source/compiler/harbour.y * cleaned explicit comparison with TRUE value * harbour/source/compiler/harbour.yyc * rebuild with all recent cleanup in harbour.y 2007-11-04 19:20 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbcomp.h * harbour/include/hbmacro.h * harbour/source/compiler/hbmain.c * harbour/source/compiler/harbour.y * harbour/source/vm/macro.c * harbour/source/vm/garbage.c * harbour/source/vm/hvm.c * harbour/source/vm/classes.c * harbour/source/rdd/dbf1.c * harbour/source/rdd/dbffpt/dbffpt1.c * harbour/source/rtl/binnum.c * harbour/source/rtl/gtwvt/gtwvt.c * added explicit casting or changed some declarations to avoid warning about possible data lost in conversions * harbour/source/rtl/direct.c % optimized directory array creation and fixed one FIXME note I left few warnings intentionally to mark places which should be updated in the future (e.g. HB_SYMBOLSCOPE translations). Victor, if you can please make build test with MSVC builds and send the list of warnings which still exist to harbour-devel. 2007-11-04 17:47 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbpp.h ! fixed typo in quoting condition for 1st line token 2007-11-04 03:40 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * include/hbapifs.h * harbour/source/common/hbfsapi.c ! fixed hb_fsFileExists() for DOS + Added hb_fsDirExists() * include/hbextern.ch * source/rtl/hbfile.c + Added HB_DIREXISTS() 2007-11-04 02:34 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapi.h * harbour/source/common/hbstr.c + added hb_strlow() * harbour/source/rtl/fstemp.c * harbour/source/rtl/filesys.c ! fixed _SET_DIRSEPARATOR behavior - now it's always set to default OS directory separator what means no translations. If you want to enable some translations then it should be set to other value, e.g. in *nixes: set( _SET_DIRSEPARATOR, "\" ) enables translations of "\" in paths to "/" * harbour/source/main/harbour.c + added support for new compiler switches: - Filename casing: -fn:l (lower) -fn:u (upper) -fn- (disable - default) -fn (disable - default) - Directory casing -fd:l (lower) -fd:u (upper) -fd- (disable - default) -fd (disable - default) - Path separator: -fp:<char> -fp (default: OS defined) - Filename space trimming: -fs (enable) -fs- (disable - default) These switches works only in standalone compiler. When compiler is linked with HVM and RTL then corresponding _SET_* switches are used instead. 2007-11-03 11:12 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/cdpapi.c * indenting 2007-11-03 11:05 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/cdpapi.c * some minor speed improvement * harbour/source/rdd/dbfntx/dbfntx1.c * harbour/source/rdd/dbfcdx/dbfcdx1.c * use hb_cdpSelect() instead of direct accessing hb_cdp_page variable 2007-11-02 22:09 UTC-0600 Teo Fonrouge (teo/at/windtelsoft/dot/com) * contrib/directx/makefile.vc * contrib/hbzlib/makefile.vc * contrib/hgf/win32/makefile.vc * contrib/htmllib/makefile.vc * contrib/libct/makefile.vc * contrib/libgt/makefile.vc * contrib/libmisc/makefile.vc * contrib/libnf/makefile.vc * contrib/rdd_ads/makefile.vc * contrib/samples/makefile.vc * contrib/tip/makefile.vc * contrib/win32/makefile.vc * contrib/xhb/makefile.vc * removed the "-TP" (force source as c++) msvc compiler flag 2007-11-03 02:35 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/bmdbfcdx/bmdbfcdx1.c * replaced all direct access to hb_set structure with functions Now it's possible to link bmdbfcdx with harbour.dll but because it still access hb_cdp_page then only if linker supports auto import conversions * harbour/source/common/hbfsapi.c * harbour/source/main/harbour.c * harbour/source/pp/hbppgen.c * harbour/utils/hbpp/hbpp.c * added filename conversion (hb_fsNameConv()) to hb_fsFileExists() function * harbour/include/hbapifs.h + harbour/source/common/hbfopen.c * harbour/source/common/Makefile * harbour/common.mak + added hb_fopen() function - it's a wrapper to fopen() function but calls internally hb_fsNameConv() * harbour/source/pp/hbppgen.c * harbour/source/pp/ppcore.c * harbour/source/common/hbtrace.c * harbour/source/compiler/hbmain.c * harbour/source/compiler/genhrb.c * harbour/source/compiler/gencobj.c * harbour/source/compiler/genobj32.c * harbour/source/compiler/genc.c * harbour/source/rtl/gtchrmap.c * harbour/source/vm/fm.c * use hb_fopen() instead of fopen() 2007-11-02 18:52 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/source/common/hbfsapi.c ! fixed hb_fsFileExists() to return TRUE for files only 2007-11-02 16:04 UTC+0100 Miguel Angel Marchuet Frutos <miguelangel@marchuet.net> * contrib/bmdbfcdx/bmdbfcdx1.c ! fixed undoing previous fix 2007-11-02 13:15 UTC+0100 Viktor Szakats - doc/genhtm.cmd - utils/hbtest/make_xpp.cmd - contrib/libmisc/doc/gendoc.cmd - contrib/libgt/doc/gendoc.cmd - Removed .cmd versions of .bat files. + contrib/dot/bld_b32.bat + New build batch file added (for testing). 2007-11-02 12:48 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/common/hbfsapi.c * harbour/source/common/hbwince.c ! fixed hb_fsFileExists() in W32 Unicode builds and WinCE 2007-11-02 21:32 UTC+0100 Miguel Angel Marchuet Frutos <miguelangel@marchuet.net> * contrib/bmdbfcdx/bmdbfcdx1.c ! fixed acces to set variables. 2007-11-01 21:32 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/samples/pe/bld_b32.bat * updated svn attributes 2007-11-01 20:03 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/tip/sendmail.prg * harbour/contrib/directx/test/anima2.bmp * harbour/contrib/directx/test/brick1.bmp * harbour/contrib/directx/test/black.bmp * harbour/contrib/directx/test/brick2.bmp * harbour/contrib/directx/test/brick3.bmp * harbour/contrib/directx/test/shot.bmp * harbour/contrib/directx/w32_ddrw.h * harbour/contrib/directx/Makefile * harbour/samples/pe/pe.prg * updated svn attributes 2007-11-01 19:09 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/ole/bldtest.bat * harbour/contrib/ole/build32.bat * harbour/contrib/xhb/make_b32.bat * harbour/contrib/xhb/make_vc.bat * harbour/contrib/libmisc/make_b32.bat * harbour/contrib/libmisc/doc/gendoc.bat * harbour/contrib/libmisc/make_vc.bat * harbour/contrib/pgsql/make_b32.bat * harbour/contrib/apollo/test/bld.bat * harbour/contrib/apollo/test/bld_b32.bat * harbour/contrib/apollo/make_b32.bat * harbour/contrib/gd/make_b32.bat * harbour/contrib/gd/tests/bldtest.bat * harbour/contrib/libnf/make_b32.bat * harbour/contrib/libnf/make_vc.bat * harbour/contrib/htmllib/make_b32.bat * harbour/contrib/htmllib/make_vc.bat * harbour/contrib/tip/make_b32.bat * harbour/contrib/tip/make_vc.bat * harbour/contrib/libct/make_b32.bat * harbour/contrib/libct/make_vc.bat * harbour/contrib/adordd/make_b32.bat * harbour/contrib/rdd_ads/doc/gendoc.bat * harbour/contrib/rdd_ads/make_b32.bat * harbour/contrib/rdd_ads/make_vc.bat * harbour/contrib/libgt/make_b32.bat * harbour/contrib/libgt/doc/gendoc.bat * harbour/contrib/libgt/make_vc.bat * harbour/contrib/hbclip/make_clp.bat * harbour/contrib/btree/make_b32.bat * harbour/contrib/btree/mktest.bat * harbour/contrib/directx/make_b32.bat * harbour/contrib/directx/make_vc.bat * harbour/contrib/win32/make_b32.bat * harbour/contrib/win32/make_vc.bat * harbour/contrib/hgf/tests/build_b32.bat * harbour/contrib/hgf/win32/make_b32.bat * harbour/contrib/hgf/win32/makevc.bat * harbour/contrib/samples/make_b32.bat * harbour/contrib/samples/make_vc.bat * harbour/contrib/delphi/hbdll/start.bat * harbour/contrib/delphi/hbdll/bld_sdll.bat * harbour/contrib/mysql/make_b32.bat * harbour/contrib/odbc/bldodbc.bat * harbour/contrib/odbc/bld_b32.bat * harbour/contrib/bmdbfcdx/make_b32.bat * harbour/contrib/hbzlib/dll_b32.bat * harbour/contrib/hbzlib/make_b32.bat * harbour/contrib/hbzlib/make_vc.bat * fixed typo, changed eol-style to svn:eol-style 2007-11-01 18:37 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/ole/bldtest.bat * harbour/contrib/ole/build32.bat * harbour/contrib/xhb/make_b32.bat * harbour/contrib/xhb/make_vc.bat * harbour/contrib/libmisc/make_b32.bat * harbour/contrib/libmisc/doc/gendoc.bat * harbour/contrib/libmisc/make_vc.bat * harbour/contrib/apollo/test/bld.bat * harbour/contrib/apollo/test/bld_b32.bat * harbour/contrib/apollo/make_b32.bat * harbour/contrib/pgsql/make_b32.bat * harbour/contrib/libnf/make_b32.bat * harbour/contrib/libnf/make_vc.bat * harbour/contrib/gd/make_b32.bat * harbour/contrib/gd/tests/bldtest.bat * harbour/contrib/htmllib/make_b32.bat * harbour/contrib/htmllib/make_vc.bat * harbour/contrib/tip/make_b32.bat * harbour/contrib/tip/make_vc.bat * harbour/contrib/adordd/make_b32.bat * harbour/contrib/libct/make_b32.bat * harbour/contrib/libct/make_vc.bat * harbour/contrib/rdd_ads/doc/gendoc.bat * harbour/contrib/rdd_ads/make_b32.bat * harbour/contrib/rdd_ads/make_vc.bat * harbour/contrib/libgt/make_b32.bat * harbour/contrib/libgt/doc/gendoc.bat * harbour/contrib/libgt/make_vc.bat * harbour/contrib/hbclip/make_clp.bat * harbour/contrib/btree/make_b32.bat * harbour/contrib/btree/mktest.bat * harbour/contrib/directx/make_b32.bat * harbour/contrib/directx/make_vc.bat * harbour/contrib/win32/make_b32.bat * harbour/contrib/win32/make_vc.bat * harbour/contrib/hgf/tests/build_b32.bat * harbour/contrib/hgf/win32/make_b32.bat * harbour/contrib/hgf/win32/makevc.bat * harbour/contrib/samples/make_b32.bat * harbour/contrib/samples/make_vc.bat * harbour/contrib/delphi/hbdll/start.bat * harbour/contrib/delphi/hbdll/bld_sdll.bat * harbour/contrib/mysql/make_b32.bat * harbour/contrib/odbc/bldodbc.bat * harbour/contrib/odbc/bld_b32.bat * harbour/contrib/bmdbfcdx/make_b32.bat * harbour/contrib/hbzlib/dll_b32.bat * harbour/contrib/hbzlib/make_b32.bat * harbour/contrib/hbzlib/make_vc.bat * set eol-style to CRLF 2007-11-01 18:16 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/cdpapi.c * added mossing const in declaration * harbour/contrib/xhb/make_b32.bat * harbour/contrib/xhb/make_vc.bat * harbour/contrib/win32/make_b32.bat * harbour/contrib/win32/make_vc.bat * changed EOL style to CRLF 2007-11-01 11:05 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/cdpapi.c * changed accented character handling and multibyte character comparison to make some operations like: dbSeek(cVal) while ordKeyVal() = cVal ... enddo safe also with such CDPs 2007-10-30 18:37 UTC-0600 Teo Fonrouge (teo/at/windtelsoft/dot/com) * contrib/tip/sendmail.prg * cleanup to compile with a std harbour build, removed the "include "hbcompat.ch"", and added the #translate for LIKE found in the hbcompat.ch file, to keep it easy and clean when comparing from/to the xHarbour version. 2007-10-30 19:45 UTC+0100 Lorenzo Fiorini (lorenzo.fiorini/at/gmail.com) * harbour/contrib/tip/Makefile * harbour/contrib/tip/ftpcln.prg * harbour/contrib/tip/httpcln.prg + harbour/contrib/tip/sendmail.prg * synced with xHarbour's fixes and additions 2007-10-30 19:25 UTC+0100 Lorenzo Fiorini (lorenzo.fiorini/at/gmail.com) * harbour/contrib/gd/gd.prg * harbour/contrib/gd/gdbar.prg * harbour/contrib/gd/gdbarcod.prg * harbour/contrib/gd/gdchart.prg * harbour/contrib/gd/tests/counter.prg * removed #ifdef HB_COMPAT_XHB 2007-10-30 15:17 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/libnf/fttext.c - removed not necessary size_t definition 2007-10-29 17:57 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/harbour-ce-spec * harbour/make_xmingwce.sh * harbour/make_xmingw.sh * removed HOST_OS_UNIX_COMPATIBLE * harbour/makefile.gc * changed ppgen.c -> hbppgen.c * harbour/source/pp/hbppgen.c * harbour/source/vm/dynsym.c * fixed some typos in comment * harbour/source/rtl/hbcrc.c ! fixed casting 2007-10-29 11:21 UTC+0100 Viktor Szakats * doc/howtosvn.txt + Added few propset command. Would need some more cleanup. * contrib/win32/test/testw32p.prg ; Formatting * source/common/hbfsapi.c ! Minor fixes. * source/compiler/hbusage.c + Added (c) after copyright. - lib/b16 - obj/b16 - Removed not needed directories. 2007-10-27 17:50 UTC+0100 Viktor Szakats * utils/hbpp/pragma.c * source/rtl/binnum.c * source/rtl/direct.c ! Some VS2005 -O2 warnings. One FIXME added at the same time, since DIRECTORY() has a problem returning file sizes greater than 2 GiB. 2007-10-27 16:57 UTC+0100 Viktor Szakats * include/hbapifs.h * source/rtl/fserror.c * source/rtl/philes.c * source/rtl/philes53.c ! Two FS API functions moved to the hb_fs*() namespace: hb_getFError() -> hb_fsGetFError() hb_setFError() -> hb_fsSetFError() 2007-10-27 16:46 UTC+0100 Viktor Szakats * include/hbapifs.h * source/common/hbfsapi.c ! Added missing HB_EXPORTs. + Added hb_fsFileExists(). This is the preferred way to check for the existence of a file, because it is fast and will find a file even if directory traversal is not possible for the file's directory. Works the same way as file existence check in most other tools. ; NOTE: DOS branch was not compiled or tested (it is a rewrite of a tested ASM function though). * common.mak * include/hbextern.ch * source/rtl/Makefile + source/rtl/hbfile.c + Added HB_FILEEXISTS() Harbour level function to check for the existence of a file. This works better than FILE() in most situations, but it doesn't accept any wildcards. * source/compiler/gencobj.c ! Fixed to not used access(). Using hb_fsFileExists() instead. 2007-10-27 16:04 UTC+0100 Viktor Szakats * source/compiler/gencobj.c ! HOST_OS_UNIX_COMPATIBLE -> OS_UNIX_COMPATIBLE 2007-10-27 01:23 UTC+0100 Viktor Szakats * include/hbsetup.h - Removed HOST_OS_UNIX_COMPATIBLE which was a misleading alias for OS_UNIX_COMPATIBLE. * source/compiler/hbcomp.c % HOST_OS_UNIX_COMPATIBLE -> OS_UNIX_COMPATIBLE * common.mak * harbour-ce-spec * make_xmingw.sh * make_xmingwce.sh * makefile.bc * makefile.gc * makefile.vc * source/pp/Makefile - source/pp/ppgen.c + source/pp/hbppgen.c ! executable ppgen renamed to hbppgen. * samples/pe/editorlo.c * samples/pe/pe.prg + samples/pe/bld_b32.bat + Added BCC build batch file. ! Fixed to compile under current Harbour. ! Fixed filename casing. ! Fixed several warnings (quite some signedness problem still remain). ; This is a very nice editor written in C (Harbour callable), I think it is the work of Ryszard. * samples/hscript/bld_b32.bat * samples/hscript/hscript.prg * samples/hscript/dir.hs * samples/hscript/multiply.hs * samples/hscript/ugly.hs * samples/hscript/hello.hs ! Fixed build batch file. ! Fixed to use NFLib file IO rather than libmisc, because latter was broken (it is a clone of the NFLib file IO). ! Fixed scripts to use Start instead of Main as an entry point otherwise __hrbRun() got confused and called the app Main(). ! Fixed some other problems to make it run. 2007-10-26 20:46 UTC+0100 Viktor Szakats * contrib/win32/w32_prn.c + Using hb_retptrGC()/hb_parptrGC(). * source/rtl/filesys.c ! DosToWinHandle() made static. ; Minor formatting. 2007-10-26 03:46 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbstack.h * harbour/include/hboo.ch * harbour/ChangeLog * harbour/utils/hbmake/hbmlang.c * harbour/utils/hbpp/hbppcore.c * harbour/utils/hbpp/hbpp.c * harbour/source/pp/ppcore.c * harbour/source/rtl/cdpapi.c * harbour/source/rtl/gtcrs/gtcrs.c * harbour/source/rtl/gtalleg/fixedth.sfc * harbour/source/rtl/fstemp.c * harbour/source/rtl/idle.c * harbour/source/rtl/gtstd/gtstd.c * harbour/source/rtl/gttrm/gttrm.c * harbour/source/rtl/gtpca/gtpca.c * harbour/source/rtl/hbffind.c * harbour/source/rtl/hbregex.c * harbour/source/vm/hvm.c * harbour/contrib/xhb/hboutdbg.c * harbour/contrib/xhb/hbxml.c * harbour/contrib/xhb/hbxml.h * harbour/contrib/xhb/cstructc.c * harbour/contrib/xhb/hbsyslog.c * harbour/contrib/libmisc/hb_f.c * harbour/contrib/libnf/fttext.c * harbour/contrib/libnf/mouse.c * harbour/contrib/tip/encmthd.c * harbour/contrib/rdd_ads/ads1.c * harbour/contrib/rdd_ads/ace.h * harbour/contrib/btree/hb_btree.c * harbour/contrib/samples/status.c * harbour/contrib/samples/gauge.c * harbour/contrib/odbc/odbc.c * harbour/contrib/bmdbfcdx/hbrddbmcdx.h * harbour/contrib/bmdbfcdx/bmdbfcdx1.c * cleanup errors in strict ANSI C compilation 2007-10-25 22:43 UTC+0100 Viktor Szakats * contrib/win32/w32_prn.c ! Changed hb_retnl() -> hb_retptr() for Windows handles. ! Changed hb_parnl() -> hb_parptr() for Windows handles. ; Thanks Przemek. ; The GC-ed version is yet to be done. - bldcmncf.sh * make_gcc.sh % bldcmncf.sh integrated into make_gcc.sh. After consulting with Przemek. * include/clipdefs.h ! Fixed HANDLE clash with Windows headers after recent modification. Notice that I've left HB_VMHANDLE as ULONG for now. It's enough to revisit this when implementing those VM API calls. Another notice that because of this name clash legacy Clipper VM API calls in Harbour won't work with Windows headers, native Harbour VM API calls will do work however. - make_xcemgw.sh + make_xmingwce.sh * Rename to be in sync with make_xmingw.ch 2007-10-25 14:30 UTC+0100 Viktor Szakats - ChangeLog.001 - ChangeLog.002 - ChangeLog.003 - ChangeLog.004 - ChangeLog.005 - ChangeLog.006 - ChangeLog.007 - ChangeLog.008 - ChangeLog.009 - ChangeLog.010 - ChangeLog.011 - ChangeLog.012 - ChangeLog.013 - ChangeLog.014 - ChangeLog.015 - ChangeLog.016 - ChangeLog.017 - ChangeLog.018 - ChangeLog.019 * ChangeLog + Re-merged changelog into one file. Now searching is easy, clutter is less, performance should stay the same. 2007-10-24 15:32 UTC-0500 Teo Fonrouge (teo/at/windtelsoft/dot/com) * bin/hb-func.sh * removed not longer needed "gharbour","harbour-link" references in build script. 2007-10-24 21:57 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) - harbour/debian/hbdot.1 - harbour/debian/harbour.1 - harbour/debian/hbmake.1 - harbour/debian/hbtest.1 - harbour/debian/hbpp.1 - harbour/debian/hbrun.1 - harbour/debian/hbdoc.1 + harbour/doc/man + harbour/doc/man/hbdot.1 + harbour/doc/man/harbour.1 + harbour/doc/man/hbmake.1 + harbour/doc/man/hbpp.1 + harbour/doc/man/hbtest.1 + harbour/doc/man/hbrun.1 + harbour/doc/man/hbdoc.1 * moved man files from ./debian directory to ./doc/man * harbour/debian/rules * updated for new man files location * harbour/bin/pack_src.sh * harbour/harbour.spec * added man files to RPMs 2007-10-24 21:38 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/debian/hbdot.1 * harbour/debian/harbour.1 * harbour/debian/hbrun.1 * updated man files 2007-10-24 20:57 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/source/rtl/hbbit.c + fixed HB_BITRESET() 2007-10-24 17:47 UTC+0100 Viktor Szakats * debian/control ! Fixed pkg dependency to allow building Harbour on some non-Linux ports as per Petr Salinger's request. See: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=375426 2007-10-24 09:51 UTC+0100 Viktor Szakats * debian/copyright * doc/license.txt * COPYING ! Synced COPYING with doc/license.txt ! Synced old license list with debian/copyright ! Removed one old license file reference from text: contrib\libmisc\dates2.c (Only the DateTime() function by Jon Berg) Since this copyright clearly refers to doc/license.txt. Moreover, it's clearly stated in the text that licenses in contrib can be anything as per defined in the given contrib. * Removed 1 char left margin from the text. 2007-10-24 04:22 UTC+0100 Viktor Szakats - bin/b16 - Removed obsolete directory. 2007-10-24 04:16 UTC+0100 Viktor Szakats - .cvsignore - utils/hbpptest/.cvsignore - Removed .cvsignore files, they were not used anymore. 2007-10-24 04:08 UTC+0100 Viktor Szakats - bin/bld_b16.bat - Removed file. DOS/BCC16 usage is not that common now, that it needs a separate batch file. DOS/BCC16 users should use bld.bat with proper envvars. 2007-10-24 03:54 UTC+0100 Viktor Szakats * include/vm.api * include/hbapi.h * include/clipdefs.h * common.mak * source/vm/Makefile + source/vm/vm.c + Added skeletons for CA-Cl*pper-like C-level VM API. Types slightly modified for portability and to support larger memory than C5x. 2007-10-24 03:55 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/harbour-ce-spec * harbour/make_rpmce.sh * automatically update version number * harbour/doc/howtobld.txt * set svn:keywords=Id * harbour/contrib/libnf/Makefile - removed test.prg 2007-10-24 03:25 UTC+0100 Viktor Szakats * include/hbclass.ch * include/hbsetup.ch - Removed HB_SHORTNAME last occurences. Harbour doesn't have a 10 char symbol compatibility since some time, and it didn't make too much sense anyway since long. I wonder if HB_CLS_NO_DECORATION (in hbclass.ch) has any point anymore? 2007-10-24 03:12 UTC+0100 Viktor Szakats - make_gnu.cmd - Remove obsolete file. This was the same as make_gnu.bat but with defaults set for OS/2. OS/2 users should use make_gnu.bat with proper platform/compiler sets. * bin/bld.bat * make_gnu.bat * Changed default compiler/platform to w32/mingw32 (was dos/djgpp) 2007-10-24 01:47 UTC+0100 Viktor Szakats * contrib/libnf/fttext.c % Optimized _writeeol() * contrib/libnf/readme.txt ! Old typos fixed. * include/hbgtinfo.ch * contrib/xhb/hbcompat.ch ! Some xhb specific MaxRow()/MaxCol() parameter extension macros (also named GTI_*) moved to xhb contrib. - bin/bld.cmd - Removed obsolete version of bld.bat (aimed for OS/2). OS/2 users should use bld.bat. - bin/bld.sh - Removed obsolete file. Linux/Unix users should use hb*.sh scripts, which are properly working (as opposed to bld.sh). * harbour-ce-spec * harbour.spec * doc/howtobld.txt - Removed gharbour and harbour-link compatibility commands (to lessen equivalent user choices and to have every harbour related stuff to start with hb) Pls use hbcmp and hblnk respectively. 2007-10-23 22:55 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/harbour-ce-spec * set svn:keywords=Id, svn:eol-style=native 2007-10-23 22:40 UTC+0100 Viktor Szakats * contrib/libnf/Makefile * contrib/libnf/makefile.vc * contrib/libnf/makefile.bc - contrib/libnf/round.prg + contrib/libnf/ftround.prg - contrib/libnf/test.prg + contrib/libnf/test + contrib/libnf/test/test.prg ! Rename one file in NFLIB to not clash with core Harbour. * Moved test file to a separate test dir. * source/debug/dbgtobj.prg ! Fixed an RTE when browsing subarrays in object monitor. (from xhb by Phil Krylov) 2007-10-23 21:01 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/libnf/fttext.c ! added missing type declaration in _ins_buff() and _del_buff() 2007-10-23 20:27 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) + harbour/doc/howtobld.txt + added hb* scripts description * harbour/Makefile * harbour/source/Makefile + harbour/harbour-ce-spec * harbour/bin/pack_src.sh + harbour/make_rpmce.sh + added script to build RPMs with cross build of Harbour for PocketPC make_rpmce.sh should create harbour-ce-1.1.1-0.i386.rpm which can be installed with other harbour RPMs It contains Harbour libraries compiled for WinCE/PocketPC and set of hbce* scripts which should be used instead of standard hb* ones to create PocketPC binaries. It means that you can create standard Linux binaries and PocketPC binaries in the same session without setting/changing any additional environment varibales, f.e: hbmk -n -w -es2 test.prg will create linux binaries and: hbcemk -n -w -es2 test.prg will create binaries for WinCE/PocketPC 2007-10-23 16:39 UTC+0100 Viktor Szakats * contrib/libnf/fttext.c ! Fixed opening mode in FT_FUSE(). ! Fixed FT_FAPPEND() infinite loop when called without parameter or with an odd number. (bug in original function) + Added support for plain LF line ending. * Changed to use OS dependant line ending instead of hardwired CRLF when adding new lines. ; Please test. 2007-10-23 13:50 UTC+0100 Viktor Szakats + contrib/libnf/ftisprn.c + contrib/libnf/setkeys.c + contrib/libnf/setlastk.c * contrib/libnf/Makefile * contrib/libnf/makefile.bc * contrib/libnf/makefile.vc * contrib/libnf/readme.txt + Added FT_SETKEYS(), FT_ISPRINTER() (not 100% compatible in all situations), FT_LASTKEY(). 2007-10-23 13:30 UTC+0100 Viktor Szakats * contrib/directx/w32_ddrw.cpp * contrib/directx/w32_ddrw.h ! Cleanup, formatting. ! Tabs converted to spaces. * contrib/libnf/aading.prg * contrib/libnf/aavg.prg * contrib/libnf/acctadj.prg * contrib/libnf/acctmnth.prg * contrib/libnf/acctqtr.prg * contrib/libnf/acctweek.prg * contrib/libnf/acctyear.prg * contrib/libnf/adessort.prg * contrib/libnf/aemaxlen.prg * contrib/libnf/aeminlen.prg * contrib/libnf/amedian.prg * contrib/libnf/anomatch.prg * contrib/libnf/any2any.prg * contrib/libnf/aredit.prg * contrib/libnf/asum.prg * contrib/libnf/at2.prg * contrib/libnf/bitclr.prg * contrib/libnf/bitset.prg * contrib/libnf/blink.prg * contrib/libnf/byt2bit.prg * contrib/libnf/byt2hex.prg * contrib/libnf/byteand.prg * contrib/libnf/byteneg.prg * contrib/libnf/bytenot.prg * contrib/libnf/byteor.prg * contrib/libnf/bytexor.prg * contrib/libnf/calendar.prg * contrib/libnf/clrsel.prg * contrib/libnf/cntryset.prg * contrib/libnf/d2e.prg * contrib/libnf/datecnfg.prg * contrib/libnf/dayofyr.prg * contrib/libnf/daytobow.prg * contrib/libnf/dectobin.prg * contrib/libnf/descend.c * contrib/libnf/dfile.prg * contrib/libnf/dhkey.h * contrib/libnf/diskfunc.prg * contrib/libnf/dispmsg.prg * contrib/libnf/dosver.prg * contrib/libnf/e2d.prg * contrib/libnf/easter.prg * contrib/libnf/elapmil.prg * contrib/libnf/elapsed.prg * contrib/libnf/eltime.prg * contrib/libnf/findith.prg * contrib/libnf/firstday.prg * contrib/libnf/floptst.prg * contrib/libnf/ftattr.c * contrib/libnf/ftint86.ch * contrib/libnf/ftmenuto.ch * contrib/libnf/fttext.c * contrib/libnf/gcd.prg * contrib/libnf/getenvrn.c * contrib/libnf/getver.c * contrib/libnf/getvid.c * contrib/libnf/hex2dec.prg * contrib/libnf/idle.c * contrib/libnf/invclr.prg * contrib/libnf/isbit.prg * contrib/libnf/isbiton.prg * contrib/libnf/isshare.prg * contrib/libnf/kspeed.c * contrib/libnf/lastday.prg * contrib/libnf/linked.prg * contrib/libnf/madd.prg * contrib/libnf/menu1.prg * contrib/libnf/menuto.prg * contrib/libnf/metaph.prg * contrib/libnf/miltime.prg * contrib/libnf/min2dhm.prg * contrib/libnf/month.prg * contrib/libnf/mouse.c * contrib/libnf/mouse1.prg * contrib/libnf/mouse2.prg * contrib/libnf/netpv.prg * contrib/libnf/nooccur.prg * contrib/libnf/ntow.prg * contrib/libnf/nwlstat.prg * contrib/libnf/nwsem.prg * contrib/libnf/nwuid.prg * contrib/libnf/ontick.c * contrib/libnf/origin.c * contrib/libnf/page.prg * contrib/libnf/pchr.prg * contrib/libnf/peek.c * contrib/libnf/pegs.prg * contrib/libnf/pending.prg * contrib/libnf/pickday.prg * contrib/libnf/poke.c * contrib/libnf/popadder.prg * contrib/libnf/prtesc.prg * contrib/libnf/prtscr.c * contrib/libnf/pvid.prg * contrib/libnf/qtr.prg * contrib/libnf/rand1.prg * contrib/libnf/readme.txt * contrib/libnf/restsets.prg * contrib/libnf/round.prg * contrib/libnf/savearr.prg * contrib/libnf/savesets.prg * contrib/libnf/scancode.prg * contrib/libnf/scregion.prg * contrib/libnf/setdate.prg * contrib/libnf/settime.prg * contrib/libnf/sinkey.prg * contrib/libnf/sleep.prg * contrib/libnf/sqzn.prg * contrib/libnf/sysmem.prg * contrib/libnf/tbwhile.prg * contrib/libnf/test.prg * contrib/libnf/vertmenu.prg * contrib/libnf/vidcur.prg * contrib/libnf/vidmode.prg * contrib/libnf/wda.prg * contrib/libnf/week.prg * contrib/libnf/workdays.prg * contrib/libnf/woy.prg * contrib/libnf/xbox.prg * contrib/libnf/year.prg - contrib/libnf/idle.c + contrib/libnf/ftidle.c + contrib/libnf/iamidle.c * contrib/libnf/Makefile * contrib/libnf/makefile.bc * contrib/libnf/makefile.vc + Added svn headers. ! Fixed FT_IDLE() ! Renamed idle.c to not clash with core idle.obj. ! FT_F*() functions fully ported from original NFLIB. Pls test. * Some minor cleanups, formatting. + Added FT_IAMIDLE() * include/filesys.api ! _fsRead(), _fsWrite() now more compatible. * include/hbundoc.api + Added _lcopy(), _ncopyuc(), _ncopylc() compatibility functions. * include/hbapi.h * source/common/hbstr.c + Added hb_strncpyLower() 2007-10-23 10:22 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/diskspac.c ! added missing ; in DOS builds 2007-10-23 10:12 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/win32/tprinter.c * casting 2007-10-23 04:03 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbwince.h * harbour/source/common/hbwince.c * harbour/source/rtl/gtwin/gtwin.c * harbour/contrib/win32/tprinter.c * harbour/contrib/win32/w32_prn.c * updated for compilation with UNICODE support 2007-10-23 02:24 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/common.mak * harbour/source/vm/mainwin.c * harbour/source/common/hbwince.c ! fixed compilation with Unicode support and standard MS-Windows 2007-10-22 21:04 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rdd/wacore.c * harbour/source/rdd/dbcmd.c ! fixed registering workareas with numbers from 65280 to 65534 2007-10-21 11:21 UTC+0100 Viktor Szakats - contrib/directx/media - contrib/directx/samples - contrib/directx/lib - contrib/directx/directx.lib - contrib/directx/readme.1st + contrib/directx/readme.txt + contrib/directx/test + contrib/directx/test/testdx.prg + contrib/directx/test/anima2.bmp + contrib/directx/test/brick1.bmp + contrib/directx/test/black.bmp + contrib/directx/test/brick2.bmp + contrib/directx/test/shot.bmp + contrib/directx/test/brick3.bmp - contrib/directx/buvcdx.bat + contrib/directx/Makefile + contrib/directx/makefile.bc + contrib/directx/makefile.vc + contrib/directx/make_b32.bat + contrib/directx/make_vc.bat * contrib/directx/w32_ddrw.h * contrib/directx/w32_ddrw.cpp + Added build scripts ! Further fixes to make it compile and run. * Rearranged test/readme files. ; Now it runs but the sample .bmps seem to be corrupted. 2007-10-21 11:01 UTC+0100 Viktor Szakats * contrib/directx/w32_ddrw.cpp ! Fixed two -w warnings left. 2007-10-21 02:52 UTC+0100 Viktor Szakats * source/rtl/set.c ! Fixed SET DEVICE TO PRINTER not to add an extension (".prn") to the filename specified by SET PRINTER TO (the extension is only added by the SET PRINTER TO command). ! Fixed SET DEVICE TO PRINTER to point to "LPT1" by default (instead of "PRN") under Win32 (this is now in sync with ISPRINTER() logic). Added "PRN" for the rest of OSes (FIXME). ; Pls test. * source/rtl/isprint.c ! Cleaned up platform branches in ISPRINTER(). Non DOS/Win32 branch is a dummy TODO now. * contrib/libnf/fttext.c ! Some fixes reported by Mike Evans. Pls test. Not all reported bugs were fixed. (ft_FError() returns a constant zero, ft_FUse() still needs ft_FSelect()) - contrib/directx/HB_DDraw.cpp + contrib/directx/w32_ddrw.cpp - contrib/directx/HB_DDraw.h + contrib/directx/w32_ddrw.h * contrib/directx/readme.1st ! Harbour API updates to this severly outdated code. ! Fixed warnings. + Added SVN headers. 2007-10-19 16:16 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapicdp.h * harbour/source/rtl/cdpapi.c + added hb_cdpGetChar() + harbour/tests/wcecon.prg + added demonstration console program for WinCE, compile it using: hbmk -n -w -es2 -gtwvt wcecon * harbour/include/hbwince.h * harbour/source/common/hbwince.c * harbour/contrib/win32/w32_ole.c * harbour/contrib/odbc/odbc.c * use UNICODE macro instead of HB_WINCE to allow using Unicode WINAPI also in other MS-Windows versions * harbour/source/rtl/gtwvt/gtwvt.h * harbour/source/rtl/gtwvt/gtwvt.c + added support for Unicode IO * harbour/source/rtl/diskspac.c * harbour/source/rtl/disksphb.c ! fixed wrongly set error code ! fixed possible access to uninitialized memory * use GetDiskFreeSpaceEx() on WinCE instead of GetDiskFreeSpace() for disk larger then 4 GiB - I do not know if PocketPC have such large devices now or if WinCE can support it but for sure it will somewhere in the future 2007-10-19 01:09 UTC+0100 Viktor Szakats * contrib/runjava - Obsolete contrib removed. (Thanks Petr) 2007-10-18 23:54 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/hb-mkslib.sh * harbour/bin/pack_src.sh * updated for recent Viktor's modifications * harbour/source/rtl/oemansix.c ! added missing #include "hbpai.h" * harbour/include/Makefile + harbour/include/hbwince.h * harbour/include/hbrdddbf.h * harbour/include/hbrdddbt.h * harbour/include/hbdefs.h * harbour/include/hbsetup.h * harbour/include/hbrddcdx.h * harbour/include/hbrddfpt.h * harbour/contrib/xhb/hboutdbg.c * harbour/contrib/xhb/hbsyslog.c * harbour/contrib/xhb/xhbfunc.c * harbour/contrib/libct/ctnet.c * harbour/contrib/libct/files.c * harbour/contrib/libct/disk.c * harbour/contrib/libnf/getenvrn.c * harbour/contrib/win32/tprinter.c * harbour/contrib/win32/w32_ole.c * harbour/contrib/win32/w32_prn.c * harbour/contrib/odbc/odbc.c * harbour/source/pp/ppgen.c * harbour/source/rtl/diskspac.c * harbour/source/rtl/gtclip.c * harbour/source/rtl/fstemp.c * harbour/source/rtl/gtchrmap.c * harbour/source/rtl/oemansi.c * harbour/source/rtl/disksphb.c * harbour/source/rtl/fssize.c * harbour/source/rtl/hbffind.c * harbour/source/rtl/filesys.c * harbour/source/rtl/net.c * harbour/source/rtl/gtgui/gtdef.c * harbour/source/rtl/gtwvt/gtwvt.c * harbour/source/rtl/gtpca/gtpca.c * harbour/source/rtl/gtstd/gtstd.c * harbour/source/rtl/gtwin/gtwin.c * harbour/source/vm/Makefile * harbour/source/vm/mainwin.c * harbour/source/vm/dynlibhb.c + harbour/source/vm/mainwin/Makefile * harbour/source/common/Makefile * harbour/source/common/hbgete.c * harbour/source/common/hbver.c + harbour/source/common/hbwince.c * harbour/utils/hbpp/hbpp.c * harbour/utils/hbdot/hbdot.prg * harbour/utils/hbver/hbverfix.c + added support for WinCE and PocketPC + harbour/make_xcemgw.sh + harbour/config/w32/cemgw.cf * harbour/bin/hb-mkslib.sh * harbour/bin/hb-func.sh * harbour/bin/postinst.sh + added support for CeGCC-MinGW32 port - those of you who want to create applications for WinCE on PockePC with ARM processors on Linux or MS-Windows can download from SF cegcc-mingw32ce port. User using RPM based Linux distribution for x86 CPUs can simply download cegcc-mingw32ce-0.50-1.i586.rpm and install it. The hb* scripts created by ./make_xcemgw.sh [tgz|gnu] are automatically updated to work with CeGCC-MinGW32 so later you can simply crate WinCE-ARM binaries using them as for native port. I'm waiting for users feedback. Please remember that I'm not Windows user and even this port was created without any Pocket machine. With Marek Paliwoda help I only tested that final applications are working using PocketPC emulator. 2007-10-18 18:46 UTC+0100 Viktor Szakats + contrib/win32/test/testole.prg - contrib/win32/test/oleenum.prg + contrib/win32/test/sample.odt + Added new OLE examples for OpenOffice, CDO. + Added new OLE examples from xhb. 2007-10-18 12:26 UTC+0100 Viktor Szakats - contrib/win32prn - contrib/ole2 - Removed two contribs which were merged into one. ; Pls use hbwin32 instead of win32prn and/or hbole. 2007-10-18 12:16 UTC+0100 Viktor Szakats + contrib/Makefile + contrib/win32 + contrib/win32/test + contrib/win32/test/testw32p.prg + contrib/win32/test/oleenum.prg - test/oleenum.prg + contrib/win32/Makefile + contrib/win32/makefile.bc + contrib/win32/makefile.vc + contrib/win32/make_b32.bat + contrib/win32/make_vc.bat + contrib/win32/w32_tole.prg + contrib/win32/w32_tprn.prg + contrib/win32/tprinter.c + contrib/win32/w32_ole.c + contrib/win32/w32_prn.c + Added a Win32 contrib lib by merging win32prn and ole2 libs. The name of the new library is "hbwin32". ; directx was not added for now. 2007-10-17 11:55 UTC+0100 Viktor Szakats * common.mak * source/rtl/Makefile * source/rtl/oemansi.c + source/rtl/oemansix.c * source/rtl/typefile.prg + source/rtl/typefilx.prg * source/rdd/Makefile * source/rdd/dbjoin.prg + source/rdd/dbjoinx.prg * source/rdd/dblist.prg + source/rdd/dblistx.prg * source/rdd/dbtotal.prg + source/rdd/dbtotalx.prg * source/rdd/dbstrux.prg + source/rdd/dbstruxx.prg * source/rdd/dbfuncs.prg + source/rdd/dbfuncsx.prg * source/rdd/dbsort.prg + source/rdd/dbsortx.prg * source/rdd/dbcmd.c + source/rdd/dbcmdx.c * source/rdd/dbupdat.prg + source/rdd/dbupdatx.prg + Moved XPP compatible functions into separated source files. 2007-10-17 00:33 UTC+0100 Viktor Szakats * contrib/Makefile + contrib/win32prn/Makefile + contrib/win32prn/makefile.vc + contrib/win32prn/make_vc.bat + Added win32prn to GNU make system. + Added VC makefiles for win32prn. 2007-10-16 23:58 UTC+0100 Viktor Szakats * source/rtl/isprint.c - Removed Win32 bitmap printer specific (non-multiplatform) functionality. For this feature (and more) pls use hbwin32prn.lib from contrib: PRINTEREXISTS(), GETDEFAULTPRINTER(), etc. % Minor optimization. 2007-10-16 23:08 UTC+0100 Viktor Szakats * contrib/xhb/xhbfunc.c * contrib/win32prn/make_b32.bat * contrib/win32prn/tprinter.c ! Warnings/errors fixed from previous commit. 2007-10-16 15:18 UTC+0100 Viktor Szakats + contrib/win32prn + contrib/win32prn/makefile.bc + contrib/win32prn/make_b32.bat + contrib/win32prn/w32_pcls.prg + contrib/win32prn/w32_papi.c + contrib/win32prn/tprinter.c + contrib/win32prn/testw32p.prg + Ported Win32 specific bitmap printing class from xharbour core. ; Please test. 2007-10-16 12:50 UTC+0100 Viktor Szakats * source/rtl/isprint.c ! Fixed ISPRINTER() on Win32 after last changes. Thanks Guillermo, pls test now. * source/rdd/dbcmd.c ! Marked as HB_EXTENSION: FIELDLEN(), FIELDDEC(), FIELDTYPE() * include/hbextern.ch * source/rdd/dbcmd.c ! Marked as HB_EXTENSION: DBDROP(), DBEXISTS(), RDDINFO() (they were properly marked in hbextern.ch but not in source) * include/hbextern.ch * source/rtl/disksphb.c * source/rtl/fssize.c * source/rtl/fstemp.c * source/rtl/inkey.c * source/rtl/oemansi.c * source/rtl/philes.c * source/rtl/setcolor.c * source/rtl/setfunc.prg * source/rtl/setkey.c * source/rtl/shadow.c * source/rtl/trace.c * source/rtl/valtostr.c * source/vm/dynsym.c + Removed HB_EXTENSION from all the .prg level functions prefixed with HB_. (there was a mixed situation here, but there's no need to mark any HB_ functions as extensions, as it's obvious by their name. So as a rule, no HB_ prefixed function should ever be marked as HB_EXTENSION anymore.) ! Fixed some inconsistencies in HB_EXTENSION between hbextern.ch and actual sources. * source/rtl/tgetlist.prg * One HB_EXTENSION changed to !HB_C52_STRICT because it was guarding a bugfix rather than a real extension. * source/rtl/gui.prg * _GetNumCol() is now always strictly compatible. NOTE added about sloppy C5.3 behaviour. * source/rtl/inkey.c * contrib/xhb/xhb.ch * contrib/xhb/xhbfunc.c ! __KEYBOARD() xhb hidden parameter extension moved to xhb lib. For similar functionality inside Harbour pls use HB_KEYPUT(). __KEYBOARD is now 100% C5.x compatible. * source/rtl/setfunc.prg * __SetFunction() extension now uses HB_KEYPUT() instead of __KEYBOARD() extended parameters. * source/compiler/hbfunchk.c * source/rtl/at.c ! AT() extra parameters handled when HB_EXTENSION is on (was !HB_C52_STRICT). (The first extra parameter is XPP and Flagship compatible. The three parameter version of this function is called AT3() in CAVO.) ! TRIM()/RTRIM() extra parameters handled on compiler level when HB_EXTENSION is on (default). ! FILE() parameter check turned off in compiler. (to be C5.x compatible) * source/rtl/alert.prg ! ALERT() Harbour extended parameter (1st parameter type) is now guarded with HB_EXTENSION instead of HB_C52_STRICT. * source/rtl/gete.c ! GETE[NV]() Harbour extended parameter guarded with HB_EXTENSION. * source/vm/proc.c ! PROCFILE() Harbour extended parameter guarded with HB_EXTENSION. * source/rtl/mlcfunc.c ! Harbour extended parameters for MEMOLINE()/MLCOUNT()/ MLPOS()/MLCTOPOS()/MPOSTOLC() are now guarded with HB_EXTENSION (instead of HB_C52_STRICT). It seems to be possible to specify custom EOLs for all these functions. (Maybe simple automatic Unix/Win EOL style handling would be better here) * source/vm/memvars.c ! Guarded Harbour extension in __MVRESTORE() with HB_EXTENSION. ; After this cleanup: - HB_EXTENSION is marking extra features living inside existing C5.x functions or classes, or Harbour extension functions not complying with the HB_ prefix rule (we have six such functions in RDD). If there are more extended parameters in Harbour pls mark them with HB_EXTENSION too. - HB_C52_STRICT is guarding bugfixes compared to C5.x. - No HB_ functions are guarded with HB_EXTENSION anymore. - We'd pbly need to review each HB_EXTENSIONs to check whether they are safe or not. - A list of HB_EXTENSIONs: - MLCOUNT() MEMOLINE() MLPOS() MLCPOS() MPOSTOLC() - 5th and up can specify custom EOLs. - ALERT() - 1st parameter type can be any type in Harbour, char only in C5.x - SET FUNCTION TO __SETFUNCTION - 2nd parameter can be numeric or array of numeric in Harbour. - SETKEY() - 3rd codeblock parameter ("isactive" block) - SAVESCREEN() - 5th parameter: lNoCheck (?) RESTSCREEN() - 6th parameter: lNoCheck (?) - AT() - 3rd and 4th parameters to set search range. 3rd parameter is also supported by XPP and FS. Results in compiler error in C5.x. (CAVO uses AT2() and AT3() for extended versions.) - TRIM() RTRIM() - 2nd parameter is an extension regarding space trimming mode. Results in compiler error in C5.x. - ALLTRIM() - 2nd parameter is an extension regarding space trimming mode. - GETE() GETENV() - 2nd parameter specifies a default value. Can be found in HB_GETENV(). - PROCFILE() - 1st parameter is a Harbour extension. Undocumented function in C5.x. The extension looks similar to the one found in Flagship. - __MVRESTORE() - 3rd/4th parameters are Harbour extensions to set variable name mask. Redirected from the internal 5.x function named __MRESTORE(). - DB*() - cRDD, nConnection, cCodePage extra parameters in many DB*() functions. FIXME: None of them is marked as HB_EXTENSION. - SET()s - These are not marked as HB_EXTENSION. - ? - Is there anything else? 2007-10-16 09:29 UTC+0100 Viktor Szakats * include/hbextern.ch * source/rtl/gete.c + Added HB_GETENV(). There you have a 2nd parameter which will be returned in case the requested envvar doesn't exist. This extensions is still present in GETE[NV](), but we'd better remove it. * include/hbextern.ch * source/rtl/isprint.c + Added HB_ISPRINTER() with support for extra parameter printer port name. This parameter also currently has support for Win32 printers. Win32 printer name support was removed from ISPRINTER() to keep compatibility. ISPRINTER() extra parameter is enabled with HB_COMPAT_XPP (which is the default). 2007-10-15 18:36 UTC+0100 Viktor Szakats * source/rtl/tbcolumn.prg ! Strict C5.2e compatible behaviour made the default. * source/rtl/inkey.c + Added handling of arrays of numbers in HB_KEYPUT(). (this was copied from __KEYBOARD()'s extended section) + Added handling of string parameter in HB_KEYPUT(). (this way we don't really need the hidden extensions in __KEYBOARD() anymore.) * common.mak * include/hbcompdf.h * source/compiler/hbmain.c * source/compiler/cmdcheck.c * source/compiler/hbcomp.c * source/compiler/harbour.l * source/compiler/Makefile * source/compiler/ppcomp.c * source/compiler/hbusage.c - source/compiler/genjava.c - source/compiler/gencli.c - Removed two non-working (experimental) output types: Java, CLI ! Prefixed LANG_* enums with HB_ 2007-10-15 17:39 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbpp.h * harbour/include/hbmath.h * harbour/source/pp/ppcore.c * harbour/source/pp/ppgen.c * harbour/source/pp/Makefile * harbour/source/rtl/diskspac.c * harbour/source/rtl/fserror.c * harbour/source/rtl/gtchrmap.c * harbour/source/rtl/disksphb.c * harbour/source/rtl/gttone.c * harbour/source/rtl/gtwvt/gtwvt.c * harbour/source/rtl/fssize.c * harbour/source/rtl/hbinet.c * harbour/source/rtl/hbffind.c * harbour/source/rtl/filesys.c * harbour/source/vm/mainwin.c * harbour/source/common/hbver.c * harbour/source/common/hbtrace.c * harbour/source/compiler/cmdcheck.c * harbour/source/compiler/ppcomp.c * harbour/utils/hbver/hbverfix.c * harbour/utils/hbpp/hbppcore.c * harbour/config/w32/pocc.cf * code cleanup: - eliminated unnecessary errno access - use WinAPI functions instead of some standard C library functions in Windows builds 2007-10-13 12:48 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/compiler/hbdead.c % minor improvement 2007-10-13 02:13 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/macro/macro.yyc * harbour/source/macro/macro.yyh * harbour/source/compiler/harbour.yyc * harbour/source/compiler/harbour.yyh * updated for recent modifications 2007-10-13 02:12 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/doc/destruct.txt * update description for multiple inherited destructors * harbour/source/compiler/complex.c * _HB_CLASS and _HB_MEMBER are not longer reserved words * harbour/include/hbclass.ch * harbour/include/hbexprop.h * harbour/include/hbexprb.c * harbour/source/macro/macro.y * harbour/source/compiler/harbour.y * formatting and minor code cleanup * harbour/source/compiler/hbusage.c * added missing information about -undef:<id> switch to usage description * harbour/source/compiler/gencc.c ! fixed bug reported by Teo in code generated for SWITCH statement 2007-10-10 21:11 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/tests/multifnc/t0.prg * harbour/tests/multifnc/t1.prg * harbour/tests/multifnc/t2.prg + one more test for function overload with C function 2007-10-10 00:05 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbcompdf.h * harbour/source/compiler/hbmain.c * harbour/source/compiler/harbour.y * harbour/source/compiler/harbour.yyc * harbour/source/compiler/complex.c * cleanup: removed unused variable, some extension to datetime decoding, etc. 2007-10-09 09:05 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/runner.c * harbour/source/compiler/genhrb.c ! added support for functions marked as DYNAMIC in .hrb format * harbour/source/compiler/complex.c + finished code (stil disabled) to decode datetime in VFP strict date form 2007-10-09 00:11 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/source/vm/dynsym.c * minor optimzation * harbour/tests/multifnc/t0.prg * harbour/tests/multifnc/t1.prg * harbour/tests/multifnc/t2.prg + one more test for function overload 2007-10-08 23:05 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/hvm.c * do not clear references to public functions in symbol tables used by unloaded modules * harbour/source/compiler/complex.c + added disabled yet code to decode datetime in VFP strict date form {^YYYY/MM/DD[,][HH[:MM[:SS[.CCC]]][A|P]]} It's for future datetime implementation. 2007-10-08 19:34 UTC+0100 Viktor Szakats * contrib/xhb/hbcompat.ch * contrib/xhb/xhb.ch + Moved lines which do not need xhb lib itself from xhb.ch to hbcompat.ch. xhb.ch now includes hbcompat.ch and not vice versa. So now hbcompat.ch can be used as a "lighter" compatibility layer which doesn't need the lib binary. Pls test. * contrib/mysql/tmysql.prg * contrib/mysql/tsqlbrw.prg * contrib/mysql/Makefile ! Applied MySQL lib patch on behalf of Guy Roussin. 2007-10-08 01:06 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/arrays.c ! fixed value returned by HB_RASCAN( aVal, bCode ) - it was returning index -1, e.g. hb_rascan({1,2,3},{|x|x==2}) returned 1 when it should 2 2007-10-06 21:28 UTC-0500 Teo Fonrouge (teo/at/windtelsoft/dot/com) * contrib/tip/thtml.prg * contrib/tip/cgi.prg * contrib/tip/httpcln.prg * removed HB_HSetAutoAdd, now Harbour hashes by default have AUTOADD on assign. 2007-10-06 13:55 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/hashes.c * set AUTOADD for assign operation by default in new arrays * removed last HB_COMPAT_XHB * harbour/source/vm/hashfunc.c * change HB_HAUTOADD( hHash, .T. ) to set AUTOADD for assign only when no default value is set Above are minimal modifications to make default Harbour behavior more similar to other languages e.g. PHP or xHarbour. Other modifications will depend on group decision. 2007-10-06 12:45 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbsetup.h * harbour/source/rtl/hbffind.c * harbour/source/rtl/filesys.c * cleanup * harbour/source/vm/hvm.c % use extended reference for enumerator destructor - it eliminates 3 hb_itemNew() calls reducing the cost of creating FOR EACH envelope about 40% 2007-10-05 23:44 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbsetup.h * minor cleanup comment * harbour/source/vm/hvm.c * save/restore return value in extended references 2007-10-05 14:00 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/dynsym.c * added some additional comments. I still do not know MSVC behavior can someone check the results from tests/multifnc in MS[V]C build? 2007-10-04 20:14 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rdd/dbf1.c * ignore Sx_SetTrigger( TRIGGER_ENABLE ) when trigger function not set 2007-10-04 19:50 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rdd/dbffpt/dbffpt1.c ! fixed memo pack when DBF record were not updated but only memo file Problem reported by Miguel 2007-10-04 13:15 UTC+0100 Miguel Angel Marchuet Frutos <miguelangel/at/marchuet.net> * contrib/bmdbfcdx/bmdbfcdx1.c * removed memory leak. * contrib/xhb/makefile.bc * added missing file. * source/vm/estack.c * corrected sintax 2007-10-04 13:15 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/tests/multifnc/t0.prg * show information about Harbour version and used C compiler 2007-10-04 12:36 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/hvm.c ! removed one call to hb_vmRequestRestore() left by mistake % minor optimization 2007-10-04 02:54 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/compiler/hbmain.c ! fixed setting HB_FS_FIRST flag 2007-10-03 17:04 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) + harbour/tests/oleenum.prg + added Enrico example and test code for enumerators and OLE objects * harbour/contrib/Makefile * enabled hbole, ado_rdd, hybodbc in most of Windows builds * harbour/contrib/ole2/win32ole.prg * harbour/contrib/ole2/w32ole.c * synced with recent Ron's modifications in xHarbour I'd like to ask Windows users to make tests with above oleenum.prg and example sent by Luis * harbour/source/rtl/gttrm/gttrm.c * disable ACS mode before sending BEL on Linux compatibile terminals - some of them may try to display chr(7) instead of generating sound when ACSC is enabled * harbour/source/vm/proc.c + added support for character parameter in PROCFILE() - now it can accept <nLevel> | <sFuncSym> | <cFuncName> as first parameter * harbour/source/vm/dynsym.c * added support for detecting not cleanly overloaded by linker .prg functions. In such case hb_dynsymNew() checks if linker updated function addresses and if yes then remove unnecessary HB_FS_LOCAL flag. In such case works GCC (but not MinGW and DJGPP), OpwenWatcom for Linux, DOS, Windows (and probably for OS2), POCC, XCC (with /FORCE:MULTIPLE linker switch) and some other linkers I haven't tested. Otherwise (two different functions with the same name linked and each accessible from different symbol, e.g. BCC32, MinGW, DJGPP) it accept multiple HB_FS_LOCAL for dynamically loaded modules (.hrb, .dll, .so, .dyn, ...) if HVM also accepted it (for future KEEP_LOCAL_FUNC HB_LIBLOAD()/__HBRLOAD() parameter). For statically linked modules it overloads one of the functions when HB_OVERLOAD_MULTIPLE_FUNC macro is set (now by default to make tests with different linkers). I left detail description in source code of hb_dynsymNew() in source/vm/dynsym.c. I hope it will also help Ron in recent xHarbour modifications - AFAIK it's something what he tires to do. Anyhow please remember that that dirty overloading any symbols by linker is very bad idea and in such case you have big chance that wrong binaries will be created so the most preferable choice is eliminating such situations and not using linker switches like -Wl,--allow-multiple-definition or /FORCE:MULTIPLE + harbour/tests/multifnc + harbour/tests/multifnc/t0.prg + harbour/tests/multifnc/t1.prg + harbour/tests/multifnc/t2.prg + harbour/tests/multifnc/Makefile + added test code for results of dirty overloaded functions. With recent modifications expected results are: main t0.prg t0.prg alert t1.prg t1.prg [ALERT] p0 t0.prg t0.prg P0:t0.prg P0:t0.prg OK p1 t0.prg t0.prg P1:t0.prg P1:t0.prg OK p2 t1.prg t1.prg P2:t1.prg P2:t1.prg OK p3 t0.prg t0.prg P3:t0.prg P3:t0.prg OK p4 t1.prg t1.prg P4:t1.prg P4:t1.prg OK p5 t2.prg t2.prg P5:t2.prg P5:t2.prg OK === main2 t1.prg t1.prg alert t1.prg t1.prg [ALERT] p0 t0.prg t0.prg P0:t0.prg P0:t0.prg OK p1 t0.prg t0.prg P1:t0.prg P1:t0.prg OK p2 t1.prg t1.prg P2:t1.prg P2:t1.prg OK p3 t0.prg t0.prg P3:t0.prg P3:t0.prg OK p4 t1.prg t1.prg P4:t1.prg P4:t1.prg OK p5 t2.prg t2.prg P5:t2.prg P5:t2.prg OK === main3 t2.prg t2.prg alert t1.prg t1.prg [ALERT] p0 t0.prg t0.prg P0:t0.prg P0:t0.prg OK p1 t0.prg t0.prg P1:t0.prg P1:t0.prg OK p2 t1.prg t1.prg P2:t1.prg P2:t1.prg OK p3 t0.prg t0.prg P3:t0.prg P3:t0.prg OK p4 t1.prg t1.prg P4:t1.prg P4:t1.prg OK p5 t2.prg t2.prg P5:t2.prg P5:t2.prg OK I've tested only few compilers: GCC/G++ (Linux) MinGW (WINE-W32), DJGPP (DOSEMU), OpenWatcom (Linux, WINE-W32, DOSEMU), XCC/POCC (WINE-W32) and I'm interesting in results from other compiler/ platforms, e.g. from M[V]SC. 2007-10-02 14:58 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/ole2/win32ole.prg ! fixed typo in __enumStart() - enum parameter has to be passed by reference ro __enumSkip() method 2007-10-02 10:57 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbexpra.c + added support for HB_ENUM*([@]<varname>) functions - disabled by default can be enabled by HB_USE_ENUM_FUNCTIONS macro * harbour/source/rtl/gttone.c * use assembler code for tone emulation for POCC/XCC compiler only for X86 platforms * harbour/source/rtl/filesys.c * do not include <share.h> for POCC/XCC * harbour/source/compiler/gencli.c * pacify warning * harbour/config/w32/owatcom.cf * harbour/config/w32/xcc.cf * updated description in header files + harbour/config/w32/pocc.cf + added support for Pelles ISO C Compiler 2007-10-02 10:49 UTC+0100 Viktor Szakats * harbour/ChangeLog + harbour/ChangeLog.019 * ChangeLog archived. * contrib/tip/cgi.prg * contrib/tip/url.prg * contrib/tip/httpcln.prg * contrib/tip/mail.prg ! Some hash function calls corrected after last modification. Thanks Juan. 2007-10-01 22:53 UTC-0500 Teo Fonrouge (teo/at/windtelsoft/dot/com) * contrib/tip/httpcln.prg * removed unnecesary include file hbcompat.ch 2007-10-01 23:50 UTC+0100 Viktor Szakats * contrib/tip/Makefile * contrib/tip/makefile.bc + contrib/tip/makefile.vc + contrib/tip/make_vc.bat * contrib/tip/tip.ch * contrib/tip/utils.c * contrib/tip/base64x.c * contrib/tip/encmthd.c - contrib/tip/hbhex2n.c * contrib/tip/cgi.prg * contrib/tip/client.prg * contrib/tip/ftpcln.prg * contrib/tip/httpcln.prg * contrib/tip/mail.prg * contrib/tip/thtml.prg * contrib/tip/url.prg + Code converted to not require xhb lib. % Now compiled with -kM switch to avoid macro expansion of strings. This is important here, as "&" char is used quite often in the code, so expect a somewhat better performance. - Removed hex number conversion functions, as compatible versions are now available in Harbour with am hb_ prefix. + C code update to use Harbour API calls only. + Added VC build script. ! Fixed two C warnings. ! Standardized SVN header in one file. ! Set std SVN keywords and eol-style. ; Please test it. * include/hbextern.ch * source/rtl/hbinet.c * contrib/xhb/xhb.ch * contrib/xhb/xhbfunc.c * Renamed hb_IsInetSocket() to hb_inetIsSocket() to keep all inet related functions in one namespace. 2007-10-01 19:42 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/errorapi.c + added protection against possible GPF when some assign methods were called without parameters * harbour/source/rdd/workarea.c * initialize uiFalgs also when DBS_FLAGS is not set * harbour/contrib/bmdbfcdx/bmdbfcdx1.c * fixed hb_cdxSkipFilter() declaration - it should be 'static' function * harbour/source/pp/ppcore.c * harbour/source/compiler/ppcomp.c + added support for changing all -k? switches by #pragma, e.g.; #pragma -ks+ #pragma -kM- #pragma -kx1 #pragma -kJ0 * harbour/source/compiler/hbusage.c * changed -ks description * harbour/include/hbexpra.c * harbour/include/hbexprb.c * do not generate error message for negative indexes and [] operators are used for simple types when -ks option is used * harbour/include/hbvmpub.h * harbour/include/hbapi.h * harbour/source/vm/hvm.c * harbour/source/vm/extend.c * harbour/source/vm/itemapi.c * harbour/source/vm/memvars.c + added HB_IT_DEFAULT flags - it allows to check if item was changed * harbour/source/vm/memvars.c * harbour/include/hbvm.h ! fixed HB_IT_MEMOFLAG updating to be Clipper compatible. Here we are not Clipper compatible in one place: in clodeblock local parameters with memo values are marked as MEMO but if you leave function where codeblock were created then Clipper during detaching removes MEMO flag. In Harbour memo flag is kept. * harbour/include/hbvm.h * harbour/source/vm/classes.c * harbour/source/vm/hvm.c % improved speed of extended references used for SETGET methods and overloaded [] operators * harbour/include/hbapi.h * harbour/include/hbsetup.ch * harbour/source/compiler/hbcomp.c * harbour/source/vm/hvm.c * harbour/source/vm/macro.c * harbour/source/vm/cmdarg.c * removed HB_COMPAT_XHB flags - only one HB_COMPAT_XHB still exist in HVM in hashes.c - it will be removed soon. * harbour/source/common/hbverdsp.c * removed information about xHarbour compatibility mode - it's not longer used. We are emulating xHarbour behavior using external XHB library and standard compiler/HVM features * harbour/contrib/xhb/xhb.ch * harbour/contrib/xhb/xhbfunc.c * harbour/source/vm/arrayshb.c * moved XHB_AINS(), XHB_ADEL() from XHB lib to HVM as HB_AINS(), HB_ADEL() * harbour/contrib/xhb/xhb.ch + added #pragma -ks+ + added transaltion for hb_enumindex( <enumvar> ) + harbour/contrib/xhb/xhbenum.c + added emulation for HB_EUMMINDEX() * harbour/contrib/xhb/xhbfunc.c * do not add INET*() function wrappers for DOS builds or when HB_NO_DEFAULT_INET macro is set * harbour/contrib/xhb/xhbmsgs.c * added comment * harbour/contrib/Makefile + added TIP and XHB * harbour/make_rpm.sh * harbour/harbour.spec * removed HB_COMPAT_XHB, --with tip, --with xhb they are not longer necessary 2007-09-01 17:54 UTC+0100 Miguel Angel Marchuet <miguelangel/at/marchuet.net> * contrib/bmdbfcdx/bmdbfcdx1.c * contrib/bmdbfcdx/hbrddbmcdx.h * synced with dbfcdx * contrib/tip/make_b32.bat * fixed copy of lib by Juan Galvez. * contrib/xhb/makefile.bc + added missing files by Juan Galvez. 2007-09-29 11:50 UTC+0100 Viktor Szakats * source/rdd/dbfntx/dbfntx1.c * source/rdd/dbfcdx/dbfcdx1.c * source/rdd/dbf1.c + Added support for _SET_DEFEXTENSIONS to RDD. 2007-09-28 23:57 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rdd/dbf1.c ! fixed typo in hb_dbfGetRowVer() reported by Mindaugas, many thanks for information, it was side effect of some experiments I hadn't cleanly removed before commit. 2007-09-28 19:26 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbcomp.h * pass compile time -ks state to RT macro compiler flags. It means that if you compile some with which ¯os then -ks compile time switch will be passed also to macro compiler and respected later at runtime * harbour/source/macro/macro.yyc * harbour/source/macro/macro.y + added support for passing by reference array and object items * harbour/source/compiler/harbour.y * harbour/source/compiler/harbour.yyc * generate compile time error for @func(<vars,...>) only @func() is acceptable 2007-09-28 17:26 UTC+0100 Viktor Szakats * include/Makefile - include/hbcompat.ch + contrib/xhb/hbcompat.ch * contrib/xhb/xhb.ch * contrib/xhb/Makefile * Moved content or hbcompat.ch into xhb.ch. Those who need compatibility, have to replace * Moved hbcompat.ch (for compatibility) to contrib/xhb 2007-09-28 16:32 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbexprb.c * respect -ks in macrovars and array item references * harbour/source/vm/memvars.c * do not detach array items during detaching enumerator variable also in standard (without HB_COMPAT_XHB) build 2007-09-28 14:08 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapi.h * harbour/source/vm/itemapi.c * harbour/source/vm/garbage.c + added extended item references - it's universal reference which can be used by HVM for many different things without introducing new item types * harbour/include/hbexprb.c * respect -ks compiler also with <op>=, --, ++ operators * harbour/include/hbvm.h * harbour/source/vm/hvm.c * harbour/source/vm/classes.c + added extended references for SETGET methods used as object item references * use extended references to respect overloaded [] operator in object item references + added support for passing indexes to string item characters ( @cValue[n] ) by reference using extended references - extension enabled by -ks compiler switch and //flags:s RT switch. + added hb_vmPushItemRef() * harbour/source/rdd/dbf1.c * harbour/source/rdd/usrrdd/usrrdd.c * use hb_vmPushItemRef() * harbour/contrib/xhb/xhbcomp.prg * harbour/contrib/xhb/xhbmsgs.c * overload +, -, *, %, ^, ++, -- in string and numeric scalar classes to emulated xHarbour behavior when 1 byte string is used as numeric value. Note: <nun> + <char1> in XHB lib gives numeric value when in xHarbour character. But because <nun> <anyOtherOper> <char1> in xHarbour gives numeric value then I guess that it's xHarbour bug and I should not replicate it, e.g.: proc main() ? 1+"A", 131-"A", 33 * 2, 132 / chr(2), 133 % "C" return * overload +, - in hash scalar class to emulated xHarbour behavior for <hash> + <hash> and <hash> - <hash> Seems that now we can remove HB_COMPAT_XHB flag from HVM and keep Harbour compatibility only with -ks compile time switch and XHB library. Please make some tests with Harbour compiled without HB_COMPAT_XHB and xHarbour code using REQUEST XHB_LIB. It's possible that I missed something but some basic test shows that our emulation is better then original and addresses places where xHarbour does not work at all or gives strange results, e.g.: #ifndef __XHARBOUR__ request XHB_LIB #endif proc main() local h:={"ABC"=>123.45} ? h:abc h:abc+=1000 ; ? h:abc h["ABC"]+=1000; ? h:abc p(@h:abc) ; ? h:abc p(@h["ABC"]) ; ? h:abc return proc p(x) x+=1000 return or: #ifndef __XHARBOUR__ request XHB_LIB #endif #include "hbclass.ch" proc main() local o:=myClass():new() o:setget:="ABC"; ? o:setget o:setget[2]:=42; ? o:setget o:setget[2]+=42; ? o:setget ? o:setget[2]+=42; ? o:setget ? o:var:="ABC"; ? o:var o:var[2]:=42; ? o:var o:var[2]+=42; ? o:var ? o:var[2]+=42; ? o:var return CREATE CLASS myClass VAR var METHOD setget SETGET END CLASS METHOD setget( xNewVal ) CLASS myClass IF pcount() > 0 ::var := xNewVal ENDIF RETURN ::var * harbour/include/hbapirdd.h * harbour/source/rdd/dbcmd.c * harbour/source/rdd/workarea.c * harbour/source/rdd/dbf1.c * harbour/source/rdd/dbffpt/dbffpt1.c * harbour/source/rdd/dbfcdx/dbfcdx1.c * harbour/source/rdd/dbfdbt/dbfdbt1.c * harbour/source/rdd/usrrdd/usrrdd.c * harbour/contrib/rdd_ads/ads1.c * changed second parameter in RELTEXT() method to PHB_ITEM Now RELTEXT() works like FILTERTEXT() and the size of expression is not limited. It's a modification I wanted to make for a long time and I think that now is a good moment to make it together with HB_FT_* modifications - rmoved not longer necessary HARBOUR_MAX_RDD_RELTEXT_LENGTH * harbour/source/rtl/gttrm/gttrm.c * small cleanup 2007-09-28 11:56 UTC+0100 Viktor Szakats * source/compiler/hbusage.c ! Show the -ks switch only when compiled with HB_COMPAT_XHB. 2007-09-27 15:29 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/dbinfo.ch * harbour/contrib/rdd_ads/ads1.c * harbour/source/rdd/workarea.c * harbour/source/rdd/delim1.c * harbour/source/rdd/dbf1.c * harbour/source/rdd/sdf1.c + added support for DBI_POSITIONED flag. Because some RDDs may not support phantom record then checking for EOF() does not have to be enough to detect that the cursor is positioned to phantom record. Checking for RecNo() == LastRec() + 1 does not have to work either because some RDD may use not use continuous record numbers e.g. ADT. So in code like BROWSE() if you want to be sure that current record is phantom one then (!dbInfo(DBI_POSITIONED)) should be used. 2007-09-27 14:40 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/rdd_ads/ads1.c * harbour/source/rdd/workarea.c * harbour/source/rdd/dbf1.c * recognize field { "T", 4, 0 } as TIME and { "T", 8, 0 } as DAYTIME * harbour/source/vm/hvm.c * formatting 2007-09-26 05:37 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/ChangeLog ! fixed typo in function names in previous commit description * harbour/contrib/xhb/xhbfunc.c + added HB_QSELF() 2007-09-26 05:00 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/xhb/Makefile + harbour/contrib/xhb/xhbwith.c + added HB_QWith( [<nLevel>] ), HB_WithObjectCounter(), HB_ResetWith() 2007-09-26 02:30 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbclass.ch + added: ON ERROR FUNCTION <FuncName> OPERATOR <op> FUNCTION <FuncName> <scope> * harbour/include/hbapicls.h * harbour/source/vm/classes.c * harbour/source/vm/hvm.c + added support for overloading right side $ operator * harbour/contrib/xhb/xhbfunc.c * rewritten xhb_ains() and xhb_adel() in C * harbour/contrib/xhb/xhb.ch * changed AINS() conversion to be xHarbour compatible * harbour/contrib/xhb/Makefile + added xhb.ch to PRG_HEADERS so it's installed automatically during 'make install' * harbour/contrib/xhb/Makefile + harbour/contrib/xhb/xhbmsgs.c * harbour/contrib/xhb/xhbcomp.prg + added support for $ operator used with hashes and arrays on right side working _exactly_ like in xHarbour. + added support for negative indexes in used in [] operator for array and strings. Please remember that standard harbour build (without HB_COMPAT_XHB flag) generate warning for negative indexes, if you wan to pacify them then instead of var[-1] use var[(-1)] + added support for assign string characters with [] index. Please remember that for standard harbour build (without HB_COMPAT_XHB flag) you have to use -ks compile time switch if you want to assign strings in such way because this feature needs different PCODE, e.g. try to compile this code: proc main() local s:="ABC" s[(-1)] := "*" ? s return with and without -ks switch + added support for accessing hash items using OO interface, e.g.: proc main() local h:={"ABC"=>123.45,"XYZ"=>567.89} ? h["ABC"], h["XYZ"] ? h:ABC, h:XYZ h:ABC+=1000 h:XYZ:=-2000 ? h:ABC, h:XYZ return All of the above extensions are written in C code so the speed overhead is very small. Harbour evaluates PCODE faster then xHarbour so in speed tests where above operators are executed in loop without any other code the xHarbour results with native support are comparable with Harbour ones where above operators are overloaded using scalar classes so in normal code you should not find any difference with one exception for assigning characters in very long strings. 2007-09-25 19:15 UTC+0100 Viktor Szakats * contrib/xhb/xhbcomp.prg + Added "string as array" implementation. I didn't test it for 100% compatibility, but the base is there. One problem though that Harbour won't allow an zero or negative index even with the -ks switch. (I find the error useful though, so we should keep it, but allow it with a switch -ks?) 2007-09-25 18:51 UTC+0100 Viktor Szakats * include/hbcompat.ch * source/vm/arrayshb.c * contrib/xhb/xhb.ch * contrib/xhb/xhbfunc.c + Added HB_ASCAN() to Harbour, which does the same as the plain AScan() in xhb. I decided to do this because we already had hb_RAscan() implemented, and having hb_Ascan() is good to keep symetry. * Modified xhb lib to use the Harbour one. * Translations moved to hbcompat.ch. - Removed HB_COMPAT_XHB from Harbour level array functions. 2007-09-25 13:10 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rdd/wafunc.c ! fixed typo which broke array returned by dbStrunct() 2007-09-25 00:55 UTC-0500 Teo Fonrouge (teo/at/windtelsoft/dot/com) * contrib/xhb/xhbcomp.prg + added "[]" operator overloading for the HBCharacter type class: <string>[n] : access assign is not implemented ( <string>[n] := <char> ) negative index is not implemented ( <string>[-n] ) + added "$" operator overloading for the following type classes: HBCharacter : <char> $ <array|hash> HBDate : <date> $ <array|hash> HBLogical : <logical> $ <array|hash> HBNil : <nil> $ <array|hash> HBNumeric : <numeric> $ <array|hash> ; all the new extended types, has a ::ClassName with the "HB" prefix. 2007-09-25 04:30 UTC+0100 Viktor Szakats * contrib/xhb/Makefile * contrib/xhb/xhbfunc.c + contrib/xhb/xhb.ch + contrib/xhb/xhbcomp.prg + Added xhb_AScan(), xhb_AIns(), xhb_ADel() plus defines to redirect extended AScan(), AIns(), ADel() calls to these functions. They need to be tested as I'm no xhb user. + Added compatibility header, which adds a the above translations and include hbcompat.ch. + Added INIT PROC xhb_Init() as a future place for xhb specific startup settings. ; TODO: - Add $ and [] operator overloading. - Add operator overloading for hash type. - Add a way hash API call to control the default flag hb_hashNew() uses, then add this default setting to the xhb libs INIT PROC. ; For better xhb compatibility, developers should add #ifndef __XHARBOUR__ #include "xhb.ch" #endif to every .prg file they use. + contrib/xhb/make_b32.bat + contrib/xhb/make_vc.bat + contrib/xhb/makefile.bc + contrib/xhb/makefile.vc + Added non-GNU makefiles for xhb lib. * include/hbcompat.ch + Added xhb compatibility translates for ENDSWITCH end friends. * source/rtl/scrollbr.prg * Minor formatting. 2007-09-25 03:35 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbextern.ch + harbour/contrib/xhb/xhbextrn.ch * harbour/contrib/xhb/Makefile * moved xHarbour compatible functions from hbextern.ch to xhbextrn.ch 2007-09-25 03:20 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbset.h * harbour/source/rtl/set.c * changed recently added hb_set*() functions to hb_setGet*() Please do not use these functions yet - it's possible that they will be removed soon. + added hb_setGetL(), hb_setGetCPtr(), hb_setGetNI(), hb_setGetNL() * harbour/contrib/libct/dattime2.c * harbour/contrib/samples/date.c * use hb_setGetCentury() instead of hb_setGetL( hb_set_century ) we do not have hb_set_century SET switch so hb_setGetL() cannot be used * harbour/harbour.spec * harbour/bin/hb-func.sh * harbour/bin/pack_src.sh * harbour/contrib/Makefile + harbour/contrib/xhb + harbour/contrib/xhb/hboutdbg.c + harbour/contrib/xhb/cstruct.ch + harbour/contrib/xhb/hblog.prg + harbour/contrib/xhb/hblog.ch + harbour/contrib/xhb/hblognet.prg + harbour/contrib/xhb/hbxml.c + harbour/contrib/xhb/hbxml.h + harbour/contrib/xhb/hbxml.ch + harbour/contrib/xhb/hblogdef.ch + harbour/contrib/xhb/hbctypes.ch + harbour/contrib/xhb/wintypes.ch + harbour/contrib/xhb/txml.prg + harbour/contrib/xhb/hbsyslog.c + harbour/contrib/xhb/cstructc.c + harbour/contrib/xhb/Makefile + harbour/contrib/xhb/cstruct.prg + harbour/contrib/xhb/xhbfunc.c + added XHB library with xharbour compatible functions borrowed from xHarbour. Now it contains HBLOG, HBXML, HBCSTRUCT, HASH, INET*() functions and classes. * harbour/source/rtl/itemseri.c * harbour/source/rtl/strmatch.c * harbour/source/rtl/hbinet.c * harbour/source/vm/hashfunc.c * moved xHarbour compatible functions to XHB library * harbour/source/vm/classes.c + added support for ERROR HANDLER message in scalar classes * harbour/contrib/tip/mail.prg * harbour/contrib/tip/ftpcln.prg + added #include "hbcompat.ch" * harbour/include/hbdbferr.h + added new RT errors: EDBF_CREATE_TEMP, EDBF_WRITE_TEMP, EDBF_READ_TEMP * harbour/include/dbinfo.ch + added DBI_ENCRYPT, DBI_DECRYPT, DBI_MEMOPACK, DBI_DIRTYREAD + added DBOI_INDEXTYPE, DBOI_USECURRENT + added RDDI_LOCKRETRY, RDDI_DIRTYREAD * harbour/include/dbinfo.ch * harbour/include/hbrdddbf.h * harbour/include/hbrddfpt.h * harbour/include/hbrddcdx.h * harbour/include/hbrddntx.h * harbour/source/rdd/dbf1.c * harbour/source/rdd/dbffpt/dbffpt1.c * harbour/source/rdd/dbfntx/dbfntx1.c * harbour/source/rdd/dbfcdx/dbfcdx1.c + added support for MEMOPACK, table ENCRYPT/DECRYPT, index DIRTYREAD * harbour/include/hbapirdd.h * harbour/include/dbstruct.ch * harbour/include/hbusrrdd.ch * harbour/contrib/rdd_ads/ads1.c * harbour/contrib/rdd_ads/ace.h * harbour/source/rdd/dbfdbt/dbfdbt1.c * harbour/source/rdd/dbffpt/dbffpt1.c * harbour/source/rdd/dbcmd.c * harbour/source/rdd/wafunc.c * harbour/source/rdd/workarea.c * harbour/source/rdd/dbf1.c * harbour/source/rdd/sdf1.c * harbour/source/rdd/delim1.c * changed HB_IT_* as field type to HB_FT_* + added field flags HB_FF_* + added support for new field types to core code * harbour/source/rdd/dbf1.c + added support for AUTOINC (+), ROWVERSION (^), TIME (T), DAYTIME (@) and MODTIME (=) fields * harbour/contrib/rdd_ads/ads1.c * harbour/contrib/rdd_ads/ace.h + added support for ROWVERSION (^), and MODTIME (=) fields * harbour/source/rdd/dbcmd.c ! fixed bug in dbSkipper() reported by Viktor + harbour/include/hbsix.ch * harbour/source/rdd/hbsix/Makefile * harbour/source/rdd/hbsix/sxdate.c * harbour/source/rdd/hbsix/sxcompr.c * harbour/source/rdd/hbsix/sxcrypt.c + harbour/source/rdd/hbsix/sxsem.c + harbour/source/rdd/hbsix/sxord.c + harbour/source/rdd/hbsix/sxredir.c + harbour/source/rdd/hbsix/sxfname.c + harbour/source/rdd/hbsix/sxtable.c + harbour/source/rdd/hbsix/sxutil.c + harbour/source/rdd/hbsix/sxcompat.prg + harbour/source/rdd/hbsix/sxtrig.prg + harbour/source/rdd/hbsix/sxini.prg + added SIx3 compatible functions: RDD_Count(), RDD_Name(), RDD_Info(), SetRDD(), sxChar(), sxNum(), sxDate(), sxLog(), Sx_DToP(), Sx_PToD(), Sx_BLOB2File(), Sx_File2BLOB(), Sx_Compress(), Sx_Decompress(), Sx_FCompress(), Sx_FDecompress(), Sx_AutoOpen(), Sx_AutoShare(), Sx_MemoExt(), Sx_MemoBlk(), Sx_SetMemoBlock(), Sx_MemoPack(), Sx_SetTrigger(), Sx_SetTrig(), Sx_DefTrigger(), Sx_INIheader(), _sx_INIinit(), _sxOpenInit(), Sx_SetPass(), Sx_Encrypt(), Sx_Decrypt(), Sx_DBFdecrypt(), Sx_DBFencrypt(), sx_MakeSem(), sx_KillSem(), sx_IsSem(), Sx_ClrScope(), Sx_SetScope(), Sx_Freeze(), Sx_Warm(), Sx_Chill(), Sx_Thermometer(), Sx_IsReindex(), Sx_Step(), Sx_KeysIncluded(), Sx_I_IndexName(), Sx_I_TagName(), Sx_IndexCount(), Sx_IndexName(), Sx_IndexType(), Sx_IndexFilter(), Sx_ROXLock(), Sx_ROXUnLock(), Sx_IsMyROX(), Sx_IsROXLock(), Sx_KeyAdd(), Sx_KeyDrop(), Sx_KeyData(), Sx_KeySkip(), Sx_KeyCount(), Sx_KeyNo(), Sx_KeyGoto(), Sx_WildSeek(), Sx_WildMatch(), Sx_IsFLocked(), Sx_IsReadOnly(), Sx_IsShared(), Sx_IsLocked(), Sx_IsDBT(), Sx_IDtype(), Sx_TableType(), Sx_TableName(), Sx_SetTurbo(), Sx_TurboArea(), Sx_SetDirty(), Sx_DirtyArea(), Sx_RLock(), Sx_UnLock(), Sx_GetLocks(), Sx_LockRetry(), Sx_SeekLast(), Sx_FindRec(), Sx_SkipUnique(), Sx_TagUnique(), Sx_TagCount(), Sx_TagOrder(), Sx_TagNo(), Sx_TagName(), Sx_TagInfo(), Sx_Tags(), Sx_SetTag(), Sx_SetTagOrder(), Sx_SetTagNo(), Sx_KillTag(), Sx_FileOrder(), Sx_SetFileOrd(), Sx_ClearOrder(), Sx_VSigLen(), Sx_VFGet(), Sx_dbCreate(), Sx_StrxCheck(), Sx_Rollback(), Sx_SortOption(), _sxCondSet(), Sx_FNameParser(), Sx_SlimFast(), Sx_Version(), Sx_Error(), + added SIx3 compatible commands: SET DIRTYREAD ON|OFF USE ... [TRIGGER <cTrigger>] [PASSWORD <cPassword>] SORT ... USECURRENT WILDSEEK <str> WILDSEEKNEXT <str> CLEAR ORDER <order> SET TAGORDER TO [<order>] SET ORDER TO TAG <(tag)> [OF <(bag)>] SET TAG TO [<tag> [OF <(bag)>]] REINDEX OPTION <eval> [STEP <step>] DELETE TAG <(tag1)> [OF <(bag1)>] [, <(tagN)> [OF <(bagN)>]] DELETE TAG ALL [OF <(bag)>] CLEAR SCOPE SET SCOPETOP TO [<value>] SET SCOPEBOTTOM TO [<value>] SET SCOPE TO [<value>] SET TURBOREAD ON|OFF MEMOPACK [BLOCK <size>] [OPTION <opt> [STEP <step>]] SET MEMOBLOCK TO <value> SUBINDEX ON <key> TO <(file)> ; [OPTION <eval> [STEP <every>]] [FILTERON] [EMPTY] SUBINDEX ON <key> TAG <(tag)> [OF <(bag)>] [TO <(bag)>] ; [OPTION <eval> [STEP <every>]] [FILTERON] [EMPTY] INDEX ON <key> [TAG <(tag)>] TO <(bag)> ; [OPTION <eval> [STEP <every>]] [FILTERON] [EMPTY] [SUBINDEX] INDEX ON <key> TAG <(tag)> [OF <(bag)>] [TO <(bag)>] ; [OPTION <eval> [STEP <every>]] [FILTERON] [EMPTY] [SUBINDEX] Unlike Ads*() functions the Sx_*() ones can be used with any RDD and will work if RDD supports necessary functionality. The global settings in SIx3 are RDD dependent in Harbour, e.g. in SIx3 Sx_MemoExt() change MEMO file extensions in all SIX* RDDs but in Harbour only in default RDD driver. In Harbour default trigger function "Sx_DefTrigger" is not enabled by default. If user needs such functionality then he has to enable it himself using rddInfo( RDDI_TRIGGER, "SX_DEFTRIGGER", [<cRDD>] ) e.g. this code: init procedure sx_inittrig() local aRDDs := { "DBF", "DBFNTX", "DBFCDX", "SIXCDX", ; "RMDBFNTX", "RMDBFCDX" } local aRDDList := RddList(), cRdd for each cRdd in aRDDs if ascan( aRDDList, { |x| x == cRdd } ) != 0 rddInfo( RDDI_TRIGGER, "SX_DEFTRIGGER", cRDD ) endif next return sets SX_DEFTRIGGER as default trigger in DBF* based RDDs. I still do not allow to encrypt tables with memo fields to not replicate SIx3 bugs which may cause data corruption. 2007-09-24 02:05 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/ole2/win32ole.prg * changed Invoke() method to work with core code compiled without HB_COMPAT_XHB * harbour/source/rtl/gttrm/gttrm.c * harbour/source/rdd/dbcmd.c * code clean-up * harbour/include/hbset.h * harbour/source/rtl/set.c * code clean-up + added functions to access set parameters: hb_setAltHan() hb_setCentury() hb_setExtraHan() hb_setPrintHan() hb_setAlternate() hb_setAltFile() hb_setAutOpen() hb_setAutOrder() hb_setAutoShare() hb_setBell() hb_setCancel() hb_setColor() hb_setConfirm() hb_setConsole() hb_setDateFormat() hb_setDebug() hb_setDecimals() hb_setDefault() hb_setDeleted() hb_setDelimChars() hb_setDelimiters() hb_setDevice() hb_setEOF() hb_setEpoch() hb_setEscape() hb_setEventMask() hb_setExact() hb_setExclusive() hb_setExit() hb_setExtra() hb_setExtraFile() hb_setFixed() hb_setIdleRepeat() hb_setInsert() hb_setIntensity() hb_setPath() hb_setMargin() hb_setMBlockSize() hb_setMCenter() hb_setMessage() hb_setMFileExt() hb_setOptimize() hb_setPrinter() hb_setPrintFile() hb_setScoreBoard() hb_setScrollBreak() hb_setSoftSeek() hb_setStrictRead() hb_setTypeAhead() hb_setUnique() hb_setFileCase() hb_setDirCase() hb_setDirSeparator() hb_setVideoMode() hb_setWrap() hb_setDBFLockScheme() hb_setHardCommit() hb_setForceOpt() hb_setDefExtension() hb_setEOL() hb_setTrimFileName() This is compatible with recent modifications by Andi Jahja in xHarbour. 2007-09-22 21:43 UTC-0500 Teo Fonrouge (teo/at/windtelsoft/dot/com) * contrib/tip/thtml.prg * contrib/tip/cgi.prg * contrib/tip/httpcln.prg ! Fixed missing logical parameter on HB_HSetAutoAdd 2007-09-18 14:40 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbclass.ch + added new commands for scalar classes: ASSOCIATE CLASS <ClassName> WITH TYPE ARRAY|BLOCK|CHARACTER|DATE|HASH|LOGICAL|NIL| NUMERIC|POINTER|SYMBOL ENABLE CLASS TYPE ALL ENABLE TYPE CLASS ARRAY|BLOCK|CHARACTER|DATE|HASH|LOGICAL|NIL| NUMERIC|POINTER|SYMBOL Please remeber that: ENABLE CLASS TYPE ALL and: ENABLE TYPE CLASS ... can be used in any place of code - this commands are translated to REQUEST HB<TYPENAME> so are not executed * harbour/source/vm/classes.c + added __clsAssocType( <hClass>, <cType> ) => <lOK> * harbour/common.mak * harbour/source/rtl/tscalar.prg * harbour/source/rtl/Makefile + harbour/source/rtl/tscalars.c + harbour/source/rtl/tscalard.c + harbour/source/rtl/tscalarh.c + harbour/source/rtl/tscalarl.c + harbour/source/rtl/tscalarp.c + harbour/source/rtl/tscalara.c + harbour/source/rtl/tscalaru.c + harbour/source/rtl/tscalarb.c + harbour/source/rtl/tscalarn.c + harbour/source/rtl/tscalarc.c + added scalar classes for basic types, Now it's possible to define messages also for basic item types. It's even possible to overload some not defined in HVM operators, e.g. in this example we overload operator "+" so it makes AADD( <aValue>, <xValue> ) for code like <aValue> + <xValue>: #include "hbclass.ch" PROC MAIN() LOCAL a:={} ASSOCIATE CLASS MyArray WITH TYPE ARRAY a := a + "elem1" a += "elem2" a := a + "elem3" a += "elem4" ? a:asString, a:isScalar AEVAL(a,{|x,i|QOUT(i,x)}) RETURN CREATE CLASS MyArray INHERIT __HBArray OPERATOR "+" ARG xValue INLINE AADD( Self, xValue ), Self ENDCLASS Operators which have default actions for given types defined in HVM cannot be overloaded. 2007-09-18 00:45 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapicls.h * harbour/source/vm/hvm.c + added hb_clsDoInit() function to initialize classy .prg functions * harbour/source/compiler/complex.c * allow to use NIL as class name * harbour/source/compiler/harbour.yyc * harbour/source/compiler/harbour.y * harbour/source/compiler/harbour.yyh % optimize automatically var[0] declaration and generate the same PCODE as for var:={} * harbour/source/rtl/tscalar.prg + added HASH, POINTER and SYMBOL scalar classes * changed NIL class to not use any instance variables * harbour/source/vm/classes.c + added support for scalar classes. Now at startup classy code looks for hb<TYPENAME> functions and try to execute them to register scalar classes. It's Class(y) compatible behavior and only the prefix of scalar ceases class function is different: 'CSY' in class(y) and 'HB' in Harbour, e.g.: hbNumeric() If you prefer xHarbour like not automatic scalar class registration with some PP commands: ASSOCIATE CLASS <ClassName> WITH TYPE ARRAY|BLOCK|CHARACTER|DATE|HASH|LOGICAL|NIL| NUMERIC|POINTER|SYMBOL ENABLE CLASS TYPE ALL ENABLE TYPE CLASS ARRAY|BLOCK|CHARACTER|DATE|HASH|LOGICAL|NIL| NUMERIC|POINTER|SYMBOL EXTEND [TYPE] ARRAY|BLOCK|CHARACTER|DATE|HASH|LOGICAL|NIL| NUMERIC|POINTER|SYMBOL WITH METHOD <SomeFunc> Then I can replace current code with it. If not then we should divide scalar cases definitions into separated files to allow easier overloading. I'm interesting in your opinions. 2007-09-17 18:41 UTC+0100 Viktor Szakats * source/rtl/tbrowsys.prg * source/rtl/getsys.prg * source/rtl/tbrowse.prg ! Some rearrangements to avoid including the C5.3 compatible (and yet to be implemented) bloat in tbrowsys.prg 2007-09-17 13:26 UTC+0100 Viktor Szakats * tests/rto_get.prg * tests/rto_tb.prg * source/rtl/gui.prg + source/rtl/tbrowsys.prg * source/rtl/tmenusys.prg * source/rtl/menusys.prg * source/rtl/tscalar.prg * source/rtl/tbrowse.prg + Added missing file from previous commit. + Set Id keyword and eol-style to native on newly added files. 2007-09-17 12:34 UTC+0100 Viktor Szakats * source/rtl/tscalar.prg ! Some fixes for previous commit regarding scalar classes. 2007-09-17 12:25 UTC+0100 Viktor Szakats * common.mak + source/rtl/tbrowsys.prg * source/rtl/Makefile * source/rtl/getsys.prg * source/rtl/tbrowse.prg + Added new file for C5.3 TB*() functions. Most of them is dummy, a few of them were moved here from existing files. * include/hbextern.ch + Added rest of C5.3 TB*() functions. * source/rtl/teditor.prg ! Fixed new scope violations reported by Guillermo. * source/rtl/tbrowse.prg + :border implemented (to be tested). ! :setColumn() return value fixed, NOTE added. ! Non-character :picture handled properly. (to be tested for full compatibility) % Some optimizations. - :TApplyKey() removed (it is not a C5.3 method) ; Some source cleanup and other changes. ; Work in progress. * include/hbextern.ch * common.mak * source/rtl/Makefile + source/rtl/tscalar.prg - source/rtl/array.prg - source/rtl/block.prg - source/rtl/characte.prg - source/rtl/date.prg - source/rtl/logical.prg - source/rtl/nil.prg - source/rtl/numeric.prg - source/rtl/scalar.prg + Consolidated scalar classes to one file. + Minor optimizations and cleanup done on files. + Class function names now consistently HB*() (was non-Class(y) compatible and a mixed list of plain unprefixed class names and class names prefixed with an underscore). Notice however that Class(y) has only CsyArray() defined in its own library, the rest was seemingly made only available as additional source code. ! Fixed NIL class to be named NIL (was _NIL). % Some unneeded MESSAGE redirections removed. % LOCAL var[0] -> LOCAL var := {}. This results in better pcode. + Added all these symbols to hbextern.ch * source/rtl/symbol.prg * Some cleanup. ; I believe this should be named HBSymbol() and added to hbextern.ch 2007-09-16 22:45 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/compiler/hbopt.c ! fixed bad typo in last modification - thanks to Viktor * added additional line number validation to not make optimizations which will change line numbers 2007-09-16 22:28 UTC+0200 Francesco Saverio Giudice <info/at/fsgiudice.com> * contrib/gd/source/gdwrp.c * cleaned some comments * contrib/gd/ChangeLog * adjusted time of previous commit 2007-09-16 22:25 UTC+0200 Francesco Saverio Giudice <info/at/fsgiudice.com> * contrib/gd/source/gdwrp.c * changed pointers handling, thanks to Przemek for code 2007-09-16 20:14 UTC+0100 Viktor Szakats * source/rtl/tbrowse.prg ! C5.x compatible fix for non-numeric values inside the defColor array or the one returned by colorBlock. 2007-09-16 18:44 UTC+0100 Viktor Szakats * source/rtl/tbrowse.prg ! Another fix for TBrowse() full color compatibility. 2007-09-16 12:53 UTC+0100 Viktor Szakats * contrib/libct/makefile.vc * Some alignment. * source/rtl/listbox.prg ! Using manifest constant. * source/rtl/tbrowse.prg ! Some final fixes for full color compatibility. * source/common/hbver.c + Added NOTE about what CA-Cl*ppers are returning for Version(). 2007-09-15 22:35 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapi.h + HB_ISFIRSTIDCHAR() and HB_ISNEXTIDCHAR() macros * harbour/source/rdd/wafunc.c * changed FIELD->, _FIELD->, <alias>-> stripping from expressions to respect shortcuts * harbour/source/compiler/hbmain.c * harbour/source/compiler/hbdead.c * harbour/source/compiler/hbopt.c * jump joining optimization changed to work also for code with line numbers 2007-09-15 13:53 UTC+0100 Viktor Szakats * source/rtl/tbrowse.prg ! Color handling made fully C5.x compatible. Pls test. + One C5.3 bug replicated where no special header/footer colors are being used if there is not header/footer separator specified. ! Fixed compile error (because of unused var warning) when HB_COMPAT_C53 is not defined. ! Fixed recently introduced vertical header aligning. * source/rtl/numeric.prg * source/rtl/memoedit.prg * source/rtl/typefile.prg * source/rtl/block.prg * source/rtl/symbol.prg * source/rtl/errorsys.prg * source/rtl/scalar.prg * source/rtl/nil.prg * source/rtl/radiogrp.prg * source/rtl/logical.prg * source/rtl/array.prg * source/rtl/listbox.prg * source/rtl/browse.prg * source/rtl/characte.prg * source/rtl/pushbtn.prg * source/rtl/ttextlin.prg * source/rtl/profiler.prg * source/rtl/date.prg * source/rtl/persist.prg * source/debug/dbgbrwsr.prg * source/debug/tbrwtext.prg * source/debug/dbgtmenu.prg + Enabled "PROTECTED:" keyword in profiler.prg * Finished CLASS declarations to use a more or less consistent syntax inside Harbour (Class(y) compatible except SETGET and the METHOD parameter lists, maybe some more). * Finished WHILE, iif(), END, string quotation to be consistent along Harbour. ! Fixed some indentations. * Some other minor cleanups. 2007-09-14 18:46 UTC+0100 Viktor Szakats * harbour/source/rtl/tbrowse.prg ! Fixed cell color. This was needed because the oCol:colorBlock() now always contains a block (it cannot be NIL) to be CA-Cl*pper compatible, so the logic had to be adjusted in :DispCell() accordingly. 2007-09-14 07:30 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbsxdef.ch * harbour/contrib/pdflib/pdflib.h * harbour/source/rtl/tbrowse.prg * harbour/samples/pe/editorlo.c * converted TABs to SPACEs 2007-09-13 20:40 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/utils/hbtest/rt_misc.prg * harbour/utils/hbtest/make_c5x.bat + added alternative results for oGet:colorspec compatible with CL53 when HB_COMPAT_C53 macro is set 2007-09-13 20:15 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/tests/run_prg.bat * harbour/tests/gnu_test.bat * harbour/tests/run_test.bat * harbour/tests/bld4dll.bat * harbour/doc/genhtm.bat * harbour/bin/bld.bat * harbour/bin/postinst.bat * harbour/bin/bld_b32.bat * harbour/bin/bld_b16.bat * harbour/bin/bld_vc.bat * harbour/make_b32.bat * harbour/make_vc.bat * harbour/make_gnu.bat * harbour/contrib/ole/bldtest.bat * harbour/contrib/ole/build32.bat * harbour/contrib/libmisc/make_b32.bat * harbour/contrib/libmisc/doc/gendoc.bat * harbour/contrib/libmisc/make_vc.bat * harbour/contrib/apollo/test/bld.bat * harbour/contrib/apollo/test/bld_b32.bat * harbour/contrib/apollo/make_b32.bat * harbour/contrib/pgsql/make_b32.bat * harbour/contrib/gd/make_b32.bat * harbour/contrib/gd/tests/bldtest.bat * harbour/contrib/libnf/make_b32.bat * harbour/contrib/libnf/make_vc.bat * harbour/contrib/htmllib/make_b32.bat * harbour/contrib/htmllib/make_vc.bat * harbour/contrib/tip/make_b32.bat * harbour/contrib/libct/make_b32.bat * harbour/contrib/libct/make_vc.bat * harbour/contrib/adordd/make_b32.bat * harbour/contrib/rdd_ads/doc/gendoc.bat * harbour/contrib/rdd_ads/make_b32.bat * harbour/contrib/rdd_ads/make_vc.bat * harbour/contrib/libgt/make_b32.bat * harbour/contrib/libgt/doc/gendoc.bat * harbour/contrib/libgt/make_vc.bat * harbour/contrib/hbclip/make_clp.bat * harbour/contrib/btree/make_b32.bat * harbour/contrib/btree/mktest.bat * harbour/contrib/ole2/make_b32.bat * harbour/contrib/directx/buvcdx.bat * harbour/contrib/hgf/tests/build_b32.bat * harbour/contrib/hgf/win32/make_b32.bat * harbour/contrib/hgf/win32/makevc.bat * harbour/contrib/samples/make_b32.bat * harbour/contrib/samples/make_vc.bat * harbour/contrib/delphi/hbdll/start.bat * harbour/contrib/delphi/hbdll/bld_sdll.bat * harbour/contrib/mysql/make_b32.bat * harbour/contrib/runjava/bld_java.bat * harbour/contrib/runjava/make_vc.bat * harbour/contrib/odbc/bldodbc.bat * harbour/contrib/odbc/bld_b32.bat * harbour/contrib/bmdbfcdx/make_b32.bat * harbour/contrib/hbzlib/dll_b32.bat * harbour/contrib/hbzlib/make_b32.bat * harbour/contrib/hbzlib/make_vc.bat * harbour/utils/hbextern/make_c5x.bat * harbour/utils/hbpptest/compare.bat * harbour/utils/hbtest/make_c5x.bat * harbour/utils/hbtest/make_xpp.bat * harbour/samples/guestbk/bld_b32.bat * harbour/samples/hscript/makehtm.bat * harbour/samples/hscript/bld_b32.bat * set svn:eol-style to CRLF 2007-09-13 19:50 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/rdd_ads/ads1.c * harbour/source/rdd/dbf1.c * variable name clean-up 2007-09-13 16:40 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/Makefile + harbour/include/hbsxdef.ch * harbour/include/dbinfo.ch * harbour/include/hbrdddbf.h * harbour/include/hbrddcdx.h * harbour/include/hbrddntx.h * harbour/contrib/bmdbfcdx/hbrddbmcdx.h * harbour/source/rdd/dbf1.c * harbour/source/rdd/workarea.c + added SIx3 compatible triggers support They should work like in SIx3 with some intentional excpetions: 1) if 4th parameter exists (PREUSE/GET/PUT) then it's passed by reference otherwise is not passed at all and PCOUNT() in trigger functions returns 3 SIx3 do not pass 4th parameter by reference and if it not exist then passes 0 2) EVENT_POSTCLOSE is executed after SUPER_CLOSE() SIx3 executes EVENT_POSTCLOSE just before SUPER_CLOSE() 3) EVENT_UPDATE is executed _ALWAYS_ when DBF is updated also when WA does not have open indexes SIx3 executes EVENT_UPDATE only when at least one index is open without checking if it's updated or not 4) EVENT_POSTUSE is executed from OPEN() method in "DBF" RDD not from index RDDs so before the indexes are open SIx3 executes EVENT_POSTUSE after opening indexes It's possible that I'll change this condition in the future 2007-09-13 13:30 UTC+0100 Viktor Szakats * makefile.vc * makefile.gc * makefile.bc * config/rules.cf + Using Harbour -kM switch when building Harbour itself. (this switch will turn off macro substitution in string literals.) 2007-09-13 13:00 UTC+0100 Viktor Szakats * tests/rto_get.prg * Changes missed from previous commit. 2007-09-13 10:50 UTC+0100 Viktor Szakats * source/rtl/getsys.prg * source/rtl/tgetlist.prg * source/debug/debugger.prg ! Fixed scope violation in debugger by creating a new :Get() method for HBGetList(). ! Fixed some minor issues. % Minor optimization. Like dropping HBGetList():ReadExit() which was just a wrapper to SET( _SET_EXIT ). ! Replaced a few remaining external HBGetList() var accesses with :ReadStats() calls. ! TGetList():GetApplyKey() parameter list rearranged after yesterday to keep it compatible with previous versions. This also avoids a crash in the debugger. 2007-09-13 04:42 UTC+0100 Viktor Szakats * source/rtl/memoedit.prg * source/rtl/teditor.prg * source/debug/tbrwtext.prg + HBEditor():RefreshWindow() renamed to :display() old message name kept for compatibility. + HBEditor():hitTest() added. + HBEditor():changed() added. (returns internal ::lDirty) * source/rtl/getlist.prg * source/rtl/getsys.prg * source/rtl/tgetlist.prg ! Fixes for UI problems reported by Lorenzo and more. Mostly from xhb. + ReadModal() core functionality moved inside HBGetList() + ReadStats() functionality moved inside HBGetList() + All HBGetList() vars made protected. + Cleaned up the .prg and class interfaces. ! Fixed crashes of several GETSYS compatibility functions, when no getlist was active. We're still not fully C5.x compatible though. * source/rtl/tmenusys.prg + Uses ReadStats() instead of direct HBGetList() var access. * source/rtl/tbrowse.prg ! :hitTest() fixed. * source/rtl/tget.prg ! Minor fixes to :capCol() and :capRow() * source/rtl/checkbox.prg * source/rtl/listbox.prg * source/rtl/menuto.prg * source/rtl/pushbtn.prg * source/rtl/radiobtn.prg * source/rtl/radiogrp.prg * source/rtl/scrollbr.prg * source/rtl/tbcolumn.prg * source/rtl/tbrowse.prg * source/rtl/tget.prg * source/rtl/tgetlist.prg * source/rtl/tpopup.prg * source/rtl/ttopbar.prg * Formatting (some varnames uniformized). 2007-09-12 19:27 UTC+0100 Viktor Szakats * source/rtl/tget.prg ! :HitTest() crash fix. ! :HitTest() made more compatible. + Added proper wrappers for undocumented C5.3 vars. + Added support for Caption. + Added support for C5.3 color handling (it's quite ugly, but it's on by default). ; Some snippets from xhb but heavily fixed. * source/rtl/scrollbr.prg * source/rtl/tpopup.prg * source/rtl/radiogrp.prg * source/rtl/listbox.prg * source/rtl/checkbox.prg * source/rtl/tget.prg * source/rtl/ttopbar.prg * source/rtl/pushbtn.prg * source/rtl/radiobtn.prg % __GUIColor() -> hb_ColorSelect() 2007-09-12 13:55 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/hbgtcore.c * changed default UNSELECTED collor from W/N to N/W 2007-09-12 12:54 UTC+0100 Viktor Szakats * source/rtl/teditor.prg * source/rtl/tbrowse.prg ! Fixed to assign SetColor() in New() rather than in INIT. (INIT value gets evaluated and stored on first class usage, not on every instantiation.) * source/rtl/tget.prg * tests/rto_get.prg + Added Harbour extensions: :hideInput (logical value) :style (1 char long string to control mask character when :hideInput is .T.) QUESTION: Is there any need to support multiple hiding styles? (like always fully masked or masked with random chars?) ! Fixed several bugs in SET DELIMITERS handling. (color, focus behaviour, "caching", positioning) + Added test cases for SET DELIMITERS issues. 2007-09-12 11:50 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbrdddbf.h * harbour/source/rdd/dbf1.c + added two new members to DBFAREA structure: fModStamp and fTrigger * harbour/include/hbrddntx.h * harbour/include/hbrddcdx.h * harbour/contrib/bmdbfcdx/hbrddbmcdx.h * updated for DBFAREA structure modifications * harbour/contrib/libct/ctnet.c * use hb_stricmp() instead of stricmp() * harbour/include/hbrddcdx.h * harbour/source/rdd/dbfcdx/dbfcdx1.c * updated for DBFAREA structure modifications + added some very basic support for order temperature flags 2007-09-12 08:29 UTC+0100 Viktor Szakats * source/rtl/getsys.prg ! Fix for crash in TGetList():ShowGetMsg() reported by Lorenzo. * contrib/libct/blank.prg * source/rtl/menuto.prg * source/rtl/valtoexp.prg * source/rtl/readkey.prg * source/rtl/browse.prg * source/debug/debugger.prg + Replaced END with ENDSWITCH and ENDWITH 2007-09-12 02:10 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/std.ch * cover ENDSEQUENCE translation with HB_C52_STRICT macro + added translations for END SWITCH, END WITH, END OBJECT * harbour/source/compiler/complex.c * harbour/source/compiler/harbour.y * harbour/source/compiler/harbour.yyc * harbour/source/compiler/harbour.yyh + added support for ENDSEQ[UENCE], ENDSW[ITCH] and ENDW[ITH] * harbour/source/rtl/hbgtcore.c ! changed string to color number translation to be fully Clipper compatible. Now I do not know any examples which we translate differently - if someone will find any them then please inform me. The only one intentional difference between Harbour and Clipper is in color number to string translation and background highlighting attribute "*", Clipper put it just before "/" as part of foreground color (e.g.: 248 => "N*+/W") but Harbour as part background color (e.g.: 248 => "N+/W*") - Clipper compatible behavior is enabled when Harbour is compiled with HB_C52_STRICT macro * harbour/utils/hbtest/rt_misc.prg * control the position of background highlighting attribute (*) in expected results depending on HB_C52_STRICT. Harbour passes correctly all included color translation tests. 2007-09-11 23:34 UTC+0100 Viktor Szakats * source/rtl/hbgtcore.c ! Fixed handling of some strangely formatted colorstrings mainly inside TGet(). The low-level functionality modified is the colorstring to number conversion. The only change is to continue (and not exit) on a non-std char. * utils/hbtest/rt_misc.prg + Added some color string parsing tests. Some of them fail. * source/rtl/achoice.prg * source/debug/debugger.prg * utils/hbtest/hbtest.prg * utils/hbtest/rt_array.prg * Formatting. 2007-09-11 15:34 UTC+0100 Viktor Szakats * tests/rto_get.prg * source/rtl/tget.prg ! Fixed display issue when using display->varput->display sequence. (Thanks Lorenzo) + Above case added to test suite. * source/rtl/tbrowse.prg + Some scattered logic moved inside :Configure() + Some FIXMEs added. ! ::ColorSpec() to call Configure(). * source/debug/dbgtobj.prg * source/debug/dbgwa.prg + Formatting, var name cleanup. 2007-09-11 00:40 UTC+0100 Viktor Szakats * include/hbcompat.ch * include/hbextern.ch * source/rtl/hbini.prg + .ini functions added to hbextern.ch. * .ini functions renamed so that all of them reside in the hb_ini*() namespace. xhb compatibility translates added. * source/debug/debugger.prg * Formatting. * source/rtl/teditor.prg % Minor optimization. * source/rtl/memoedit.prg ! Fixed to not ask for confirmation when pressing <Esc> on an unedited buffer. 2007-09-10 22:51 UTC+0100 Viktor Szakats * contrib/libct/ctnet.c * contrib/libct/dattime2.c * contrib/samples/date.c * contrib/bmdbfcdx/bmdbfcdx1.c * Changed hb_set.* access to hb_setGet*() in all contrib code. * source/rtl/hbini.prg + Further cleanup. 2007-09-10 22:12 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/hbtoken.c ! fixed bad typo in hb_tokenCount() * minor code cleanup 2007-09-10 20:05 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/rdd_ads/ads1.c * changed HB_TR_ALWAYS to HB_TR_DEBUG in two places and removed some old comment for which Brian received answer from ExtSys 2007-09-10 19:25 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbset.h * declare hb_set with HB_EXPORT attribute when HB_SET_IMPORT macro is not set - it's temporry modification and it will be removed when we will have real hb_setGet*() and hb_setPut*() functions. 2007-09-10 19:05 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbdefs.h + added HB_IMPORT macro * harbour/include/hbset.h * declare hb_set with HB_IMPORT attribute when HB_SET_IMPORT macro is set + added macros to retrieve information from hb_set structure: hb_setGetCPtr(), hb_setGetNI(), hb_setGetNL(), hb_setGetL() In the future these macros will be replaced by functions and direct access to hb_set structure from non core code will be forbidden so please update your code and and replace all hb_set.HB_SET_* with hb_setGet*( HB_SET_* ) e.g. replace: hb_set.HB_SET_SOFTSEEK with: hb_setGetL( HB_SET_SOFTSEEK ) I'll also add hb_setPut*() functions to assign some set values. Both hb_setGet*() and hb_setPut*() functions will validate parameters and in future MT mode will operate on global or thread local structures. * harbour/contrib/rdd_ads/ads1.c * define HB_SET_IMPORT before #include "hbset.h" * use hb_setGet*() to access SET values 2007-09-10 17:25 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/dbinfo.ch * harbour/source/rdd/workarea.c * renamed RDDI_TRIGGERS to RDDI_TRIGGER + added RDDI_PENDINGTRIGGER, RDDI_PENDINGPASSWORD, DBI_TRIGGER, DBI_OPENINFO * do not generate RT error in WA default ORDERINFO() method * harbour/common.mak * harbour/source/rtl/Makefile + harbour/source/rtl/hbini.prg + added HB_ReadIni()/HB_WriteIni() - code by Giancarlo Niccolai borowed from xHarbour with some minor fixes 2007-09-10 12:01 UTC+0100 Viktor Szakats * source/rtl/color53.prg + Added HB_COMPAT_C53 guards. * source/rtl/tgetlist.prg + Two new methods to return Self rather than NIL. * source/rtl/einstvar.prg + Added HB_C52_STRICT branch. * source/rtl/tbrowse.prg + Continued prev. changes. 2007-09-10 03:38 UTC+0100 Viktor Szakats * source/rtl/scrollbr.prg * source/rtl/tpopup.prg % Removed two no more needed classname override lines. 2007-09-10 03:28 UTC+0100 Viktor Szakats * source/rtl/color53.prg ! Fixed ApplyDefau(). % Optimized. * source/debug/tbrwtext.prg ! Minor formatting. * source/rtl/memoedit.prg ! Variable name cleanup. * source/rtl/memoedit.prg * source/rtl/symbol.prg * source/rtl/color53.prg * source/rtl/teditor.prg * source/debug/dbgthsh.prg * source/debug/dbgtarr.prg ! "=" operators changed to ":=" (or "==" as per context) 2007-09-10 01:53 UTC+0100 Viktor Szakats * source/rtl/tgetlist.prg ! Fixed two typos in previous commit. * source/debug/dbgtobj.prg * source/debug/dbgthsh.prg * source/debug/dbgwa.prg * source/debug/debugger.prg * source/debug/dbgtarr.prg * Further formatting, cleanup, minor optimizations. + Added Ctrl+PgUp/PgDn + Ctrl+Home/End everywhere as synonyms to Home/End. 2007-09-09 19:38 UTC+0100 Viktor Szakats * include/setcurs.ch * include/hbapigt.h * SC_UNDEF moved to .prg level. ! SC_* defs not duplicated on C level. * include/hbcompat.ch + Added debugger class compatibility translations. * source/rtl/tmenusys.prg * source/rtl/menusys.prg * Formatting. * source/rtl/teditor.prg * source/debug/debugger.prg + Added :RowPow(), :ColPos(), :IsWordWrap(), :WordWrapCol() ! Changed debugger to use the above methods instead of direct instance var access. * source/rtl/tbcolumn.prg * source/rtl/tget.prg * source/rtl/tbrowse.prg ! Public class initializator names hidden when in strict (and non-XPP) mode. * source/rtl/tbrowse.prg + Some work in progress towards better C5.x compatibility (borrowed from xhb) ! Fixed crash in TBMouse() (due to recent changes) (Thanks to Guillermo) * source/rtl/getsys.prg * source/rtl/tgetlist.prg + (Better) C5.3 message line support, several 5.3 fixes, some of them borrowed from xhb. * include/hbcompat.ch * source/debug/dbgtobj.prg * source/debug/dbgbrwsr.prg * source/debug/dbgtwin.prg * source/debug/dbgmenu.prg * source/debug/dbgthsh.prg * source/debug/tbrwtext.prg * source/debug/dbgwa.prg * source/debug/debugger.prg * source/debug/dbghelp.prg * source/debug/dbgtarr.prg * source/debug/dbgtmenu.prg * source/debug/dbgtmitm.prg ! Class names named to be in the Harbour namespace. xhb compatibility translations added to hbcompat.ch ! Unneeded BEGINDUMP and .h inclusions removed. ! Added :End() to HBBrwText to avoid using some internals vars of the class. ! Fixed problem with HBDebugger:SaveAppScreen() where it crashed due to wrong initialization order of TBrowse() screen coordinates. Bug appeared due to the now more compatible TBrowse() behaviour. ! Locally used function (named ShowTopic()) made STATIC. % Optimizations and cleanups. % Unused vars/functions removed. * Formatting (except large parts of debugger.prg and those files which were okay). ; Majority of formatting, optimization and code cleanup work is still left to do. 2007-09-08 15:15 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/dbinfo.ch * updated comment * harbour/contrib/rdd_ads/ads1.c * replaced hb_itemGetPtr(hb_param(n,HB_IT_POINTER)) with hb_parptr(1) * harbour/contrib/hbzlib/hbcomprs.c * changed variable name: PHB_FNAME fDirSpec to PHB_FNAME pDirSpec * harbour/source/rdd/dbcmd.c ! fixed parameter checking in OrdNumber() to generate Clipper compatible RT error * code cleanup * harbour/source/rdd/dbfntx/dbfntx1.c * harbour/source/rdd/dbfcdx/dbfcdx1.c * do not evaluate KEY expresion in custom indexes in KEYDEL operation. It may interact with MULTIKEY/TEMPLATE indexes. * updated default order in DBOI_BAGNUMBER and DBOI_BAGORDER 2007-09-07 12:55 UTC+0100 Viktor Szakats * include/hbextern.ch ! Fix of some corrected public function names. 2007-09-07 03:38 UTC+0100 Viktor Szakats * tests/Makefile * tests/rto_get.prg + tests/rto_tb.prg * include/button.ch * include/hbextern.ch * common.mak * source/rtl/Makefile - source/rtl/mssgline.prg + source/rtl/gui.prg + source/rtl/menusys.prg + source/rtl/tmenusys.prg * source/rtl/checkbox.prg * source/rtl/einstvar.prg * source/rtl/getlist.prg * source/rtl/getsys.prg * source/rtl/listbox.prg * source/rtl/memoedit.prg * source/rtl/pushbtn.prg * source/rtl/radiobtn.prg * source/rtl/radiogrp.prg * source/rtl/scrollbr.prg * source/rtl/tbcolumn.prg * source/rtl/tbrowse.prg * source/rtl/teditor.prg * source/rtl/tget.prg * source/rtl/tgetlist.prg * source/rtl/tlabel.prg * source/rtl/tmenuitm.prg * source/rtl/tpopup.prg * source/rtl/treport.prg * source/rtl/ttopbar.prg ; These changes mainly targeted the .prg level UI classes of Harbour. + Code standardization, cleanup, formatting. (formatting is not fully complete yet) ! Lots of compatibility fixes. ! Lots of bugfixes (crashes, wrongly passed parameters, etc). ! Minor fix in one of the methods of HBReportForm() - Non-Clipper classes removed (the MENUSYS/msgline related ones). ! Some fixes adapted from xHarbour's TBrowse() + Class VARs properly scoped. + TBColumn() is now fully compatible. * The mess in the TTopBar and related classes was cleaned up, some small non-Clipper compatible classes were removed and a new TMenuSys class was created of the related parts. % Optimizations. + TBrowse/TBColumn regression test suite added (far from complete at this point). ; NOTE: No C5.3 GUI support is implemented in Harbour. ; NOTE: Harbour uses Disp*() functions in UI functions to update screen. C5.x uses a mixture of Dev*(), Q?Out() and Disp*(). ; NOTE: TBrowse() fixing is still a work in progress. ; Please test. 2007-09-06 13:40 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/set.c ! fixed typo in SET name 2007-09-06 00:45 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/gttrm/gttrm.c * use for teraterm Linux controle codes * harbour/source/rtl/filesys.c * harbour/source/rtl/file.c ! fixed GPF trap which appeared after my last modifications 2007-09-05 16:50 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/hbgtmk.sh * replaced CVS checkout commands by SVN checkout # This script checks you have all tools to build Harbour binaries # installed then takes current Harbour sources from SourceForge SVN # repository and build binary RPMs at your local host If possible I think it will be good to put this script on Harbour home page so Linux users using RPM based distributions can simply download it and execute. It should greatly help them and it will reduce some repeated questions. * harbour/include/hbapifs.h * harbour/source/rtl/filesys.c + added hb_fsNameConv() function, hb_fileNameConv() kept only for backward compatibility - it should not be used * use hb_fsNameConv() instead of hb_fileNameConv() * updated conversion code to use hb_fsFNameSplit()/hb_fsFNameMerge() and respect some other DOS like conditions * harbour/include/hbdate.h * harbour/source/common/hbdate.c * harbour/source/rtl/seconds.c * use MT safe localtime_r() instead of localtime() in Linux + hb_dateTimeStamp(), hb_timeStampStr(), hb_timeStampDecode(), hb_dateTimeStampStr(), hb_dateTimeStampStrGet() * harbour/contrib/libct/files.c * harbour/contrib/libct/disk.c * harbour/contrib/hbzlib/hbcomprs.c * harbour/source/rtl/diskspac.c * harbour/source/rtl/fstemp.c * harbour/source/rtl/disksphb.c * harbour/source/rtl/file.c * use hb_fsNameConv() instead of hb_fileNameConv() * harbour/source/debug/dbgentry.c + added modifications by Phil Krylov borowed from xHarbour for supporting :: in command line expressions * harbour/source/rdd/dbfntx/dbfntx1.c * harbour/source/rdd/dbfdbt/dbfdbt1.c * harbour/source/rdd/dbfcdx/dbfcdx1.c * harbour/source/rdd/delim1.c * harbour/source/rdd/dbf1.c * harbour/source/rdd/dbffpt/dbffpt1.c * harbour/source/rdd/sdf1.c * minor clenup: use hb_parptr(n) instead of hb_itemGetPtr(hb_param(n,HB_IT_POINTER)) 2007-09-03 01:23 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) - harbour/contrib/apollo/makefile + harbour/contrib/apollo/Makefile * renamed * harbour/contrib/apollo/test/apollo.ch * harbour/contrib/pgsql/postgres.c * harbour/contrib/htmllib/errorsys.prg * harbour/contrib/adordd/adordd.ch * converted TABs to SPACEs 2007-09-02 17:27 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/hbgtmk.sh * harbour/tests/codebl.prg * harbour/tests/testprof.prg * harbour/tests/keywords.prg * harbour/tests/testpp.prg * harbour/make_rpm.sh * harbour/makefile.gc * harbour/bin/hb-mkslib.sh * harbour/include/hbexpra.c * harbour/include/hbmath.ch * harbour/include/hbrddntx.h * harbour/include/hbexprb.c * harbour/harbour.spec * harbour/contrib/dot/pp.prg * harbour/contrib/libct/ctwin.c * harbour/contrib/ole2/w32ole.c * harbour/contrib/hgf/win32/win32.c * harbour/contrib/mysql/mysql.ch * harbour/contrib/odbc/todbc.prg * harbour/contrib/odbc/sql.ch * harbour/contrib/hb_struc/hbstruc.ch * harbour/contrib/bmdbfcdx/bmdbfcdx1.c * harbour/contrib/msql/msql.ch * harbour/contrib/msql/readme.txt * harbour/source/pp/ppcore.c * harbour/source/rtl/gtdos/gtdos.c * harbour/source/rtl/gtxwc/gtxwc.h * harbour/source/rtl/hbgtcore.c * harbour/source/rtl/gtcrs/gtcrs.h * harbour/source/rtl/gtalleg/gtalleg.c * harbour/source/rtl/gtalleg/ssf.h * harbour/source/rtl/gtalleg/fixedth.sfc * harbour/source/rtl/gtchrmap.c * harbour/source/rtl/itemseri.c * harbour/source/rtl/gtstd/gtstd.c * harbour/source/rtl/gtsln/gtsln.h * harbour/source/rtl/gttrm/gttrm.c * harbour/source/rtl/gtpca/gtpca.c * harbour/source/rtl/hbhex.c * harbour/source/rtl/tget.prg * harbour/source/rtl/gtcgi/gtcgi.c * harbour/source/rtl/hbinet.c * harbour/source/vm/hvm.c * harbour/source/debug/dbgtobj.prg * harbour/source/debug/dbgwa.prg * harbour/source/common/expropt2.c * harbour/source/rdd/dbfcdx/dbfcdx1.c * harbour/source/rdd/dbffpt/dbffpt1.c * harbour/utils/hbpp/hbppcore.c * harbour/utils/hbpptest/pp_test.prg * harbour/utils/hbpptest/pretest.prg * harbour/make_tgz.sh * converted TABs to SPACEs 2007-09-01 16:23 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbcompat.ch + added some new translation rules * harbour/source/vm/proc.c * fixed buffer size to protect against possible overflow 2007-09-01 14:38 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/hbhex.c * replaced TAB by spaces 2007-08-31 17:55 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbcompat.ch + added some reverted translation rules for xHarbour * harbour/source/rtl/hbhex.c ! fixed HB_HEXTOSTR() - I had really bad day, sorry 2007-08-31 18:01 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/source/rtl/hbhex.c * fixed typo in HB_STRTOHEX() * harbour/source/vm/extend.c * code optimisation 2007-08-31 11:55 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/hbhex.c + added HB_HEXTOSTR() and HB_STRTOHEX() - they are compatible with HEXTOSTR() and STRTOHEX() in xHarbour * harbour/include/hbcompat.ch + added translations for HB_HEXTOSTR(), HB_STRTOHEX() * harbour/include/hbextern.ch + added new functions * harbour/contrib/libct/ctextern.ch * updated function list 2007-08-31 03:25 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/dircmd.prg * changed STOD() to HB_STOD() 2007-08-31 03:20 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapi.h * harbour/source/vm/dynsym.c + added hb_dynsymIsFunction() * harbour/source/rtl/filehb.c * updated comment * harbour/source/rtl/philes.c * renamed HB_F_EOF() to HB_FEOF() * harbour/source/rtl/scroll.c * harbour/source/rtl/transfrm.c * harbour/source/rtl/file.c * formatting * harbour/source/rtl/substr.c * harbour/source/rtl/trim.c % optimization * harbour/source/rtl/typefile.prg % use HB_ATOKENS() instead of static .prg function * harbour/source/rtl/setkey.c % optimization and protection aganst possible GPF when wrong array is passed to HB_SETKEYSAVE() * harbour/source/rtl/xhelp.c ! do not generate RT error when HELP symbol exist (e.g. after PUBLIC HELP) but HELP() function doesn't ! keep reference in parametes passed by reference to __XHELP() * use only PHB_DYNS instead of PHB_SYMB * harbour/source/rtl/seconds.c + added WIN32 version borrowed from XHARBOUR * harbour/source/rtl/trace.c ! protection against possible GPF when wrong parameters are passed * harbour/source/rtl/samples.c ! protection against possible GPF when wrong parameters are passed Warning! We have in this file few functions without HB_ prefix. Some of them may create conflicts with future functions for TIMEDATE items. * harbour/source/rtl/inkey.c + added support for passing array with key codes as __KEYBOARD() parameter, covered by HB_EXTENSION macro - this is xHarbour compatible extension. I do not like it but we already had extension with numeric parameters and probably it would be hard to remove it now and keep __KEYBOARD() code clean so I decided to add support also for arrays instead of creating new function and adding conditional code covered by HB_COMPAT_XHB macro. * harbour/source/rtl/setfunc.prg * accept extended __KEYBOARD() parameters when HB_EXTENSION macro is set. 2007-08-30 18:30 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/hb-func.sh * repeated -ldl at the end of linked library list in linux for fullstatic builds 2007-08-30 03:55 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapi.h * harbour/source/rtl/console.c * changed hb_conOutAlt() from static to global function. * harbour/include/hbapi.h * harbour/source/common/hbver.c + added hb_verBuildDate() * harbour/source/rtl/accept.c ! Fixed ACCEPT to respect SET CONSOLE and similar sets. * harbour/source/rtl/hbgtcore.c * harbour/contrib/libct/ctwin.c ! fixed chr(8) console output - it should erase character on the screen * harbour/include/set.ch * harbour/include/hbset.h * harbour/source/rtl/set.c * harbour/source/rtl/filesys.c + added _SET_TRIMFILENAME - when enabled low-level hb_fs*() functions strip trailing and leading spaces from file names to emulate DOS like behavior - switch compatible with xHarbour * harbour/source/rtl/run.c * remove compiler type checking - if system() is not supported by some platform/compiler then I'd prefer to exclude it explicitly. * harbour/source/rtl/dircmd.prg + added support for extended DBF types and replaced some of Bin2W() by ASC() * harbour/source/rtl/defpath.c * use OS_HAS_DRIVE_LETTER macro to detect if platform supports drive letters * harbour/source/rtl/philes.c + added HB_FCOMMIT(), HB_OSERROR(), HB_OSDRIVESEPARATOR() Question: why we have HB_F_EOF() instead HB_FEOF() * harbour/source/rtl/oldbox.c * harbour/source/rtl/box.c ! fixed __BOX() to be Clipper compatible * harbour/source/rtl/math.c * harbour/source/rtl/dateshb.c * formatting and some minor improvements * harbour/source/rtl/isprint.c * harbour/source/vm/itemapi.c * harbour/source/rtl/ampm.c * harbour/source/rtl/inkey.c * harbour/source/rtl/gete.c * harbour/source/rtl/fkmax.c * harbour/source/rtl/langapi.c * harbour/source/rtl/colorind.c * harbour/source/rtl/mouseapi.c * harbour/source/rtl/readvar.prg * harbour/source/rtl/devoutp.prg * harbour/source/rtl/readkey.prg * code checking and formatting ! some minor fixes % some speed improvements * harbour/source/rtl/menuto.prg * harbour/source/rtl/radiogrp.prg * harbour/source/rtl/listbox.prg * harbour/source/rtl/checkbox.prg * harbour/source/rtl/pushbtn.prg * harbour/source/rtl/radiobtn.prg * code checking and formatting ! added fixes borrowed from xHarbour ! some other fixes % some speed improvements * harbour/source/rtl/filehb.c + added commment * harbour/source/rtl/transfrm.c ! fixed integer numbers transformation when _SET_FIXED is on to be Clipper compatible * harbour/source/rtl/version.c + added HB_PCODEVER() and HB_BUILDDATE() * harbour/source/rtl/copyfile.c ! fixed __COPYFILE() - source and destination files should respect _SET_DEFAULT 2007-08-28 14:00 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/diskspac.c * formatting * harbour/source/rtl/disksphb.c ! fixed typo in numeric drive parameter, now 1->A, 2->B, ..., 0->default * extract drive letter only when second letter in path is OS_DRIVE_DELIMITER 2007-08-28 03:15 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/diskspac.c * harbour/source/rtl/disksphb.c ! casting for C++ compilers * harbour/source/rtl/hbinet.c * added hack for unimplemented in Linux OpenWatcom version h_errno and hstrerror() * harbour/source/rtl/hbregex.c * harbour/source/hbpcre/pcreglob.c * harbour/contrib/btree/hb_btree.c * workaround for C/C++ compilers which may use different calling convention for standard C functions 2007-08-27 17:35 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/diskspac.c * harbour/source/rtl/disksphb.c * use statvfs() instead of statfs() in *nixes - unlike statfs() statvfs() is documented POSIX function * respect superuser status in calculating free space in DISKSPACE() * respect _SET_FILECASE, _SET_DIRCASE in HB_DISKSPACE() * accept numeric parameter with driver number in systems which supports drive letters * harbour/source/rtl/binnum.c * harbour/source/rtl/binnumx.c * force positive return value in BIN2W() and BIN2U() 2007-08-26 18:15 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) * harbour/makefile.gc * Added a DIRTY hack for Windows systems to allow building either CONSOLE or GUI programs with gcc. A new library libmainstd.a is created. This library should be added to a link libraries if programs are CONSOLE based. 2007-08-25 12:20 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapi.h * harbour/source/vm/arrays.c * harbour/source/vm/extend.c ! fixed hb_stor*() functions return value to be Clipper compatible. These functions should return 1 _ONLY_ when the operation is really successful; otherwise, they return zero. + added hb_storclen_buffer(), hb_arraySetPtrGC() * harbour/config/darwin/gcc.cf * harbour/config/hpux/gcc.cf * harbour/config/dos/rsx32.cf * harbour/config/os2/gcc.cf * harbour/config/sunos/gcc.cf * harbour/config/w32/gcc.cf * harbour/config/w32/rsxnt.cf + added rtl library after gt drivers for linker which do not support backward references 2007-08-24 22:45 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/utils/hbdot/hbdot.prg * some minor modifications for GT drivers which allow to change the size of console window * changed the order of requested GTs for CYGWIN builds 2007-08-24 20:35 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) * harbour/makefile.gc ! Fixed compilation of hbverfix * harbour/make_gcc.gc * Changed the way CC and LD envvars are set 2007-08-24 14:22 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) + harbour/debian/hbdot.1 * harbour/debian/rules + added man page for hbdot 2007-08-24 14:00 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/utils/hbdot/hbdot.prg ! fixed typo in history updating 2007-08-24 03:00 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/gttrm/gttrm.c * harbour/source/vm/runner.c * code cleanup 2007-08-23 18:25 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/gttrm/gttrm.c * enable automatic LF->CR+LF translation on TTY device * harbour/utils/hbdot/hbdot.prg * do not clear screen when hbdot executed with -h or --help switch * harbour/utils/hbtest/hbtest.prg * use stdout(<cMsg>) instead of fwrite(1,<cMsg>) - now GT driver can catch and redirect output if necessary 2007-08-23 17:15 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/gttrm/gttrm.c * set cursor position at beginning of new line on application exit * harbour/include/hbextern.ch + added missing functions (CDPs, LANGs, HSX, ...) * harbour/utils/hbdot/Makefile * harbour/utils/hbrun/Makefile + added codepage library 2007-08-23 14:30 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbgtcore.h * harbour/source/rtl/hbgtcore.c + added new GT method: SEMICOLD() * harbour/source/rtl/gtxwc/gtxwc.c * use SEMICOLD() for late console window initialization * harbour/source/rtl/gttrm/gttrm.c * use SEMICOLD() to not erase startup screen contnts. Now applications which uses GTTRM and only simple QOUT()/QQOUT() output will work like with GTSTD. It means that in *nixes we can use GTTRM as default GT driver for all Harbour utilities. * harbour/make_gcc.sh * harbour/make_tgz.sh * harbour/harbour.spec * changed default GT driver for *nixes from to GTSTD to GTTRM 2007-08-23 02:55 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/config/darwin/gcc.cf * harbour/config/darwin/global.cf * harbour/config/hpux/gcc.cf * harbour/config/hpux/global.cf * harbour/config/dos/owatcom.cf * harbour/config/dos/watcom.cf * harbour/config/dos/bcc16.cf * harbour/config/dos/global.cf * harbour/config/dos/rsx32.cf * harbour/config/dos/djgpp.cf * harbour/config/linux/owatcom.cf * harbour/config/linux/gcc.cf * harbour/config/linux/global.cf * harbour/config/os2/gcc.cf * harbour/config/os2/icc.cf * harbour/config/os2/global.cf * harbour/config/sunos/global.cf * harbour/config/bsd/gcc.cf * harbour/config/bsd/global.cf * harbour/config/w32/msvc.cf * harbour/config/w32/owatcom.cf * harbour/config/w32/watcom.cf * harbour/config/w32/bcc32.cf * harbour/config/w32/gcc.cf * harbour/config/w32/xcc.cf * harbour/config/w32/rsxnt.cf * harbour/config/w32/global.cf * harbour/config/w32/mingw32.cf + added support for linking with all GT libraries - please test * harbour/makefile.gc * removed system screen libraries - they are set by make_gcc.sh * harbour/bin/pack_src.sh + added HBDOT * harbour/harbour.spec * harbour/make_tgz.sh * replaced PP with HBDOT 2007-08-22 22:37 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/makefile.bc * harbour/makefile.vc * harbour/makefile.gc * harbour/common.mak * always pass all GT libraries to linked library list so compiled programs can use REQUEST HB_GT_* + added HBDOT 2007-08-22 19:10 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbpp.h * harbour/include/hbcomp.h * harbour/include/hbcompdf.h * harbour/source/pp/ppcore.c * harbour/source/rtl/gttrm/gttrm.c * harbour/source/main/harbour.c * harbour/source/compiler/hbmain.c * harbour/source/compiler/cmdcheck.c * harbour/source/compiler/hbcomp.c * harbour/source/compiler/hbcmplib.c * harbour/source/compiler/ppcomp.c * added 'const' to some 'char *' declarations + added hb_pp_inBuffer() + extended hb_compMain() to accept source code passed as ASCIIZ string + .prg function HB_COMPILEFROMBUF() + added support for -q2 compiler switch - it disables _ALL_ stdout/stderr messages * harbour/utils/Makefile + harbour/utils/hbdot + harbour/utils/hbdot/hbdot.prg + harbour/utils/hbdot/Makefile + added hbdot utility program. It's a "DOt Prompt" Console for the Harbour Language Syntax: hbdot [<hrbfile[.prg]> [<parameters,...>]] It should look and work in similar way to pp/xBaseScript by Ron Pinkas but unlike xBaseScript is does not have preprocessor or simulated runtime environment but simply uses Harbour pp and compiler libraries to preprocess and compile commands. It means that it supports all language constructions also statements, e.g.: "for i:=1 to 10; ? i; next" Additionally it can also compile and execute .prg files given as first parameter just like hbrun. Please test it. If it will work as expected then we can remove 'pp' (contrib/dot) from standard packages 2007-08-21 16:00 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/memvars.c + added __MVSETBASE() function * harbour/source/pp/ppcore.c * redirect error messages when error trap is not defined into user dispout function * harbour/include/hbcomp.h * harbour/source/compiler/hbmain.c * harbour/source/compiler/cmdcheck.c * harbour/source/compiler/hbcomp.c * harbour/source/compiler/genjava.c * harbour/source/compiler/genc.c * harbour/source/compiler/hbcmplib.c * harbour/source/compiler/ppcomp.c * harbour/source/compiler/gencli.c * harbour/source/compiler/genhrb.c * harbour/source/compiler/gencobj.c * harbour/source/compiler/genobj32.c * harbour/source/compiler/hbusage.c * harbour/source/compiler/hbgenerr.c + added hb_compOutStd() and hb_compOutErr() * redirected all compiler output to above functions 2007-08-20 23:55 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/harbour.spec ! added workaround for undefined Epoch tag * harbour/source/rtl/Makefile * harbour/common.mak - harbour/source/rtl/terror.prg - removed .prg level ERROR class * harbour/include/hbapierr.h * harbour/source/rtl/errorapi.c + added ERROR class supported at .c level and updated all necessary functions to work without PCODE execution - it should allow to create and update ERROR object when HVM has active exceptions * harbour/utils/hbtest/rt_hvma.prg * harbour/utils/hbtest/rt_misc.prg * harbour/utils/hbtest/rt_array.prg * update HBTEST for new ERROR object structure 2007-08-20 17:42 UTC+0100 Viktor Szakats * source/rtl/tget.prg ! Recent missing date picture mask bug fixed in another different way. Now without any side-effects, tested with the regression test suit. ! Fixed a minor incompatibility in some rare situations. This is grey area even in C5.2 so compatibility is not 100% here. 2007-08-20 15:50 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbexprb.c * do not generate error for QSELF()[...] - Clipper allows such operation and because some valid Clipper code needs it then I disabled error message. * harbour/common.mak * harbour/source/rtl/Makefile + harbour/source/rtl/einstvar.prg + added undocumented CA-Cl*pper function _eInstVar() used to validate variable type in assign messages. * harbour/include/hbapi.h * harbour/source/vm/arrays.c * changed 'char *' to 'const char *' in hb_arraySetC() and hb_arraySetCL() * harbour/source/rdd/dbcmd.c * cleaned DBSKIPPER() code * harbour/source/rtl/browdb.prg * use written in C DBSKIPPER() function instead of static .prg Skipped() when HB_COMPAT_XPP macro is enabled * harbour/source/rtl/browse.prg ! fixes in BROWSE() function: ! displaying box characters + added CL53 compatible mouse actions + added mouse wheel actions + added support for deleting records (K_DEL) + added support for edit mode + added support for append mode 2007-08-20 15:25 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/fserror.c + added translation (errno=>dosError) for ENOSPC 2007-08-20 04:03 UTC+0100 Viktor Szakats * source/rtl/tget.prg ! Fixed incompatible setting of ::TypeOut in certain situations. As an example this could cause infinite loops in the get reader when a bad date was entered like: 2007-12-32 (very old bug) ! Recent missing date picture mask bug fixed in a different way, because the previous one caused some regressions. ! Fixed ::TypeOut behaviour for non-editable types. 2007-08-19 18:35 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) * harbour/makefile.bc * harbour/makefile.vc * harbour/makefile.gc + Added more descripion in a makefile's headers % Minor makefile cleanup 2007-08-19 17:00 UTC+0100 Viktor Szakats * source/rtl/tgetlist.prg ! Fixed crash when bad date is detected. (:TypeOut was used in an assignment) 2007-08-19 12:58 UTC+0100 Viktor Szakats * source/rtl/tget.prg ! Fixed bug where negative number in get buffer beginning with a decimal sign was erroneously converted back to a numeric. (like: -.58) % Minor optimization in @E handling. 2007-08-19 05:14 UTC+0100 Viktor Szakats * source/rtl/tget.prg ! Fixed bug where mask was missing for date var type when no explicit picture was used. * contrib/libct/makefile.bc ! Added missing lines. 2007-08-14 15:22 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/cdpapi.c + added HB_UTF8TRAN(), HB_UTF8STUFF(), HB_UTF8POKE() 2007-08-09 14:12 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/libct/misc3.c * cleanup 2007-08-09 13:30 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/libct/misc3.c * changed hb_set.HB_SET_INSERT to GTI_KBD_INSERT - thanks to Saulius for information 2007-08-09 13:05 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/libnf/ftattr.c ! fixed to work with GT drivers which do not use VGA compatible screen buffer * harbour/contrib/libnf/proper.c ! fixed to not change passed string and possible buffer overflow * harbour/contrib/libnf/dispc.c ! fixed hard coded item type and updated some old code for current GTs * harbour/contrib/libnf/getenvrn.c + added support for nixes * borrowed W32 version from xHarbour 2007-08-09 08:48 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/gtxwc/gtxwc.c + added support for GTI_KBDSHIFTS 2007-08-09 03:35 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/libnf/numlock.c * harbour/contrib/libnf/caplock.c * harbour/contrib/libct/keyset.c ! fixed typo 2007-08-09 02:25 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/gtgui/gtgui.c ! fixed typo in copy and past in previous commit 2007-08-09 02:10 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbgtinfo.ch + added GTI_KBD_INSERT * harbour/common.mak * harbour/include/hbgtcore.h * harbour/source/rtl/Makefile + harbour/source/rtl/gtkbstat.c + added common for W32 GT drivers: hb_gt_w32_getKbdState() and hb_gt_w32_setKbdState() * harbour/source/rtl/gtgui/gtgui.c * harbour/source/rtl/gtwvt/gtwvt.c * harbour/source/rtl/gtwin/gtwin.c * use hb_gt_w32_getKbdState() and hb_gt_w32_setKbdState() for GTI_KBDSHIFTS * harbour/source/rtl/gtdos/gtdos.c + added support for GTI_KBDSHIFTS * harbour/contrib/libct/keyset.c * use GTI_KBDSHIFTS to get/set keyboard flags * harbour/contrib/libnf/prtscr.c * harbour/contrib/libnf/numlock.c * harbour/contrib/libnf/shift.c * harbour/contrib/libnf/alt.c * harbour/contrib/libnf/ctrl.c * harbour/contrib/libnf/caplock.c * use GTI_KBDSHIFTS to get/set keyboard flags + harbour/contrib/libnf/ftshadow.c * harbour/contrib/libnf/makefile.bc * harbour/contrib/libnf/makefile.vc + added missing file I forgot to add in previous commit 2007-08-08 16:31 UTC+0100 Viktor Szakats * include/hbcompat.ch * include/hbextern.ch * contrib/libnf/fttext.c * source/vm/arrayshb.c + xhb RASCAN() added to Harbour without HB_COMPAT_XHB switch, under the name HB_RASCAN(). Translation from RASCAN() is done via hbcompat.ch ! NFLib/FT_FRSEEK() now works in Harbour regardless of the HB_COMPAT switches. 2007-08-08 15:44 UTC+0100 Viktor Szakats * contrib/libnf/make_b32.bat - contrib/libnf/nanfor.bc + contrib/libnf/makefile.bc * BC makefile name made uniform. 2007-08-08 15:41 UTC+0100 Viktor Szakats * contrib/libnf/makefile.vc * contrib/libnf/nanfor.bc * Updated. 2007-08-08 15:20 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/libnf/at2.prg * harbour/contrib/libnf/min2dhm.prg * harbour/contrib/libnf/ontick.c * harbour/contrib/libnf/sqzn.prg * harbour/contrib/libnf/bytexor.prg * harbour/contrib/libnf/asum.prg * harbour/contrib/libnf/sleep.prg * harbour/contrib/libnf/any2any.prg * harbour/contrib/libnf/origin.c * harbour/contrib/libnf/mouse.c * harbour/contrib/libnf/stod.c * harbour/contrib/libnf/vertmenu.prg * harbour/contrib/libnf/aredit.prg * harbour/contrib/libnf/n2color.c * harbour/contrib/libnf/xbox.prg * harbour/contrib/libnf/hex2dec.prg * harbour/contrib/libnf/getver.c * harbour/contrib/libnf/Makefile * harbour/contrib/libnf/invclr.prg * harbour/contrib/libnf/popadder.prg * harbour/contrib/libnf/d2e.prg * harbour/contrib/libnf/anomatch.prg * harbour/contrib/libnf/color2n.c * harbour/contrib/libnf/datecnfg.prg * harbour/contrib/libnf/easter.prg * harbour/contrib/libnf/ntow.prg * harbour/contrib/libnf/floptst.prg * harbour/contrib/libnf/pchr.prg * harbour/contrib/libnf/tbwhile.prg * harbour/contrib/libnf/e2d.prg * harbour/contrib/libnf/sysmem.prg * harbour/contrib/libnf/dfile.prg * harbour/contrib/libnf/clrsel.prg + harbour/contrib/libnf/fttext.c + harbour/contrib/libnf/putkey.c * basic cleanup and syncing with some of xHarbour fixes and extensions. I'd like to ask Windows users to update non GNU make file * harbour/source/pp/ppcore.c + added support for .T., .F., .Y., .N. in PP and #IF ... / #ELIF ... expressions. It was reported by Nick Van Dyck on xHarbour devel list that old PP supported it. I haven't known that old PP suported .T. and .F. in #IF directive. Please not that there are other diferences between new PP and the old one in expresions which can be used in #IF ... / #ELIF directives. New PP supports C like expressions with support for pseudo functions like defined(), operates on integer numbers only to not damage 64-bit values during conversion to double and keep C compatible results (the old one used double values) and is much more restrictive in checking for valid expression. 2007-08-07 03:12 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbclass.ch ! fixed typo: AddClsMthds() => AddClsMethod() + added support for executing InitClass() constructor - it's not exact Class(y) behavior but rather something what xHarbour does now. It will be change in the future when we will have real class methods and variables. * harbour/contrib/libct/blank.prg ! fixed typo * harbour/contrib/libct/dbftools.c * added function list in header * harbour/contrib/libct/screen1.c + added SCREENTEXT() * harbour/contrib/libct/disk.c - removed DELETEFILE() and FILEMOVE() * harbour/contrib/libct/files.c + added DELETEFILE(), RENAMEFILE(), FILEMOVE() * harbour/contrib/libct/ctwfunc.c ! fixed typo in parameters numbers in WFORMAT() + harbour/contrib/libct/charsprd.c + added CHARSPREAD() + harbour/contrib/libct/scrmark.prg + added SCREENMARK() + harbour/contrib/libct/expand.c + added EXPAND() + harbour/contrib/libct/fcopy.prg + added FILECOPY(), FILECOPEN(), FILECCLOSE(), FILEAPPEND(), FILECDATI() it's modified and fixed code by Frederic J. Bell borrowed from xHarbour * harbour/contrib/libct/Makefile * harbour/contrib/libct/makefile.bc * harbour/contrib/libct/makefile.vc * update for new files. makefile.bc will have to be modified yet (some files were missing and I added them to file list) but I'd like to leave it for BCC users who can test modifications 2007-08-05 15:10 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/libct/screen3.prg ! fixed typo ISNUMERIC was used instead of ISNUMBER 2007-08-05 15:00 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/libct/Makefile + harbour/contrib/libct/keysec.prg + harbour/contrib/libct/keytime.prg + added KEYSEC() and KEYTIME() modified code by Pavel Tsarenko borrowed from xHarbour * harbour/contrib/libct/Makefile * harbour/contrib/libct/makefile.bc * harbour/contrib/libct/makefile.vc * updated for new files 2007-08-05 11:55 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/libct/screen2.c + added CLEARSLOW() + harbour/contrib/libct/getsecrt.prg + added GETSECRET() + harbour/contrib/libct/getinput.prg + added GETINPUT() * harbour/contrib/libct/ctmisc.prg * moved SAVEGETS() and RESTGETS() to getinfo.prg file + harbour/contrib/libct/getinfo.prg + added COUNTGETS(), CURRENTGET(), GETFLDROW(), GETFLDCOL(), GETFLDVAR() modified code by Philip Chee borrowed from xHarbour + added SAVEGETS() and RESTGETS() from ctmisc.prg + harbour/contrib/libct/keysave.prg + SAVESETKEY(), RESTSETKEY() - code by Philip Chee borrowed from xHarbour * harbour/contrib/libct/Makefile * harbour/contrib/libct/makefile.bc * harbour/contrib/libct/makefile.vc * updated for new files * harbour/contrib/libct/screen3.prg * harbour/contrib/libct/showtime.prg * set svn:eol-style=native 2007-08-03 23:25 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) - harbour/debian/rules.cf + harbour/debian/rules * renamed rules.cf to rules - I forgot to make it before commit * removed link to not installed hbverfix.1 * changed default INSTDIR 2007-08-03 22:45 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/libct/screen1.c * removed unnecessary casting + harbour/contrib/libct/screen3.prg + added CLEAREOL(), CLEOL(), CLWIN() * harbour/contrib/libct/screen2.c + harbour/contrib/libct/showtime.prg + added SHOWTIME() * harbour/contrib/libct/Makefile * harbour/contrib/libct/makefile.bc * harbour/contrib/libct/makefile.vc * updated for new files 2007-08-03 13:30 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/libct/ctwin.c * added protection against overwriting right and bottom WBOX border directly inside GTCTW so now other screen functions does not have to check maximum window coordinates. Please remeber that CTWIN from CT3 has a bug which allows to damage top and left border which I partialy replicated because peope used it to set window title. 2007-08-03 04:05 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/libct/screen2.c + added SCREENSTR(), STRSCREEN() * harbour/contrib/libct/keyset.c * casting to fix warnings in DOS builds * harbour/source/rtl/seconds.c * update timezone in BSD systems when clock is stored in UTC 2007-08-02 18:03 UTC+0100 Viktor Szakats * harbour/contrib/libct/keyset.c ! Fixed gcc 4.1.2 warning in SetGet() (Win32 branch). 2007-08-02 17:57 UTC+0100 Viktor Szakats * include/hbfixdj.h ! Added blank copyright header. * include/hbpers.ch ! Added EOL to last line. (GCC 4.1.2 is very picky on that) 2007-08-02 17:45 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/libct/keyset.c * cleaned warning * harbour/bldcmncf.sh * harbour/debian/control * harbour/debian/harbour.cfg * harbour/debian/harbour.1 * harbour/debian/dirs * harbour/debian/rules.cf * harbour/debian/compat * harbour/debian/hbmake.1 * harbour/debian/changelog * harbour/debian/copyright * harbour/debian/hbtest.1 * harbour/debian/hbpp.1 * harbour/debian/hbrun.1 * harbour/debian/hbdoc.1 * harbour/make_deb.sh * harbour/tests/foreach2.prg * harbour/tests/gtchars.prg * harbour/tests/gtcolors.prg * harbour/tests/gtkeys.prg * harbour/make_gcc.sh * harbour/doc/howtosvn.txt * harbour/makefile.gc * harbour/contrib/tip/thtml.prg * harbour/contrib/tip/thtml.ch * harbour/contrib/libct/screen2.c * harbour/contrib/libct/dbftools.c * harbour/contrib/libct/ctdisk.ch * harbour/contrib/libct/maxline.c * harbour/contrib/libct/video.c * harbour/contrib/libct/dattime3.c * harbour/contrib/libct/lton.c * harbour/contrib/libct/cursor.c * harbour/contrib/libct/misc2.c * harbour/contrib/libct/color.c * harbour/contrib/libct/cttime.prg * harbour/contrib/libct/ctvideo.ch * harbour/contrib/libct/numcount.c * harbour/contrib/libct/pack.c * harbour/contrib/libct/setlast.c * harbour/contrib/libct/like.c * harbour/contrib/libct/disk.c * harbour/contrib/libct/ctstrfil.c * harbour/contrib/libct/ctstrfil.h * harbour/contrib/libct/numline.c * harbour/contrib/libct/dattime2.c * harbour/contrib/libct/misc3.c * harbour/contrib/libct/ctpad.c * harbour/contrib/libct/datetime.c * harbour/contrib/libct/blank.prg * harbour/source/rtl/gtchrmap.c * harbour/source/rtl/gttrm/Makefile * harbour/source/rtl/gttrm/gttrm.c * harbour/source/rtl/hbhex.c * harbour/source/rtl/hbbit.c * harbour/source/codepage/cpsv850.c * harbour/source/codepage/cpsk852.c * harbour/source/codepage/ucmik.c * harbour/source/codepage/cpbgmik.c * harbour/source/codepage/cpsvwin.c * harbour/source/codepage/cpskiso.c * harbour/source/codepage/cpskwin.c * harbour/source/codepage/cpsvclip.c * harbour/source/codepage/cpskkam.c * harbour/config/w32/owatcom.cf + set svn:eol-style property to native + add some missing svn:keywords Id property 2007-08-02 12:29 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/ChangeLog - removed mixed ChangeLog entry 2007-08-02 12:25 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) + harbour/contrib/libct/screen2.c + added SAYDOWN(), SAYSPREAD(), SAYMOVEIN() + harbour/contrib/libct/cursor.c + added SAVECURSOR(), RESTCURSOR() * harbour/contrib/libct/Makefile * harbour/contrib/libct/makefile.bc * harbour/contrib/libct/makefile.vc * updated for new files * harbour/contrib/libct/ctmisc.prg ! fixed CSETCURS() when called with non logical parameter * harbour/source/vm/classes.c + added basic version for executing all known inherited destructors final version in the future after some testes * harbour/source/codepage/cpsv850.c * harbour/source/codepage/cpsk852.c * harbour/source/codepage/ucmik.c * harbour/source/codepage/cpbgmik.c * harbour/source/codepage/cpsvwin.c * harbour/source/codepage/cpskiso.c * harbour/source/codepage/cpskwin.c * harbour/source/codepage/cpsvclip.c * removed hardcoded CHR(13)+CHR(10) EOLs 2007-08-01 14:25 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapifs.h * harbour/source/rtl/file.c + added xHarbour compatible C function hb_fsIsDirectory() * harbour/contrib/libct/color.c * harbour/contrib/libct/screen1.c + added UNTEXTWIN(), CHARWIN(), COLORWIN(), COLORREPL() * changed CLEARWIN(), INVERTWIN() to use common helper functions 2007-07-31 23:00 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/make_gcc.sh * cleanup - harbour/make_drw.sh - harbour/make_bsd.sh - removed not longer necessary files - make_gnu.sh can be used instead with exactly the same effect 2007-07-31 22:00 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/make_deb.sh * cleanup 2007-07-31 21:35 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/make_rpm.sh * removed not longer necessary flex and bison from dependences list + harbour/debian + harbour/debian/control + harbour/debian/harbour.cfg + harbour/debian/harbour.1 + harbour/debian/dirs + harbour/debian/rules.cf + harbour/debian/compat + harbour/debian/hbmake.1 + harbour/debian/changelog + harbour/debian/copyright + harbour/debian/hbtest.1 + harbour/debian/hbpp.1 + harbour/debian/hbrun.1 + harbour/debian/hbdoc.1 + harbour/make_deb.sh + added rules to generate DEB packages - rules by Luis Mayoral taken from Debian distribution updated for current code but not tested at all. Please make some test running make_deb.sh in Debian and Ubuntu distribution and give me an information about results. 2007-07-31 21:00 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbexprb.c * disable CTOD("") optimization when -kc switch is used * harbour/source/macro/macro.yyc * harbour/source/macro/macro.y * fixed typo reported by Mindaugas * harbour/source/vm/classes.c * fixed typo reported by Lost 2007-07-31 12:50 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/tip/utils.c * harbour/contrib/tip/encmthd.c * changed hb_retclenAdoptRaw() to hb_retclen_buffer() 2007-07-30 18:10 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) + harbour/tests/foreach2.prg * added example for FOR EACH overloading 2007-07-30 18:00 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbcompat.ch + added #xtranslate ISPOINTER( <xValue> ) * simplified bit operator translations * harbour/include/hbapi.h + added #define hb_itemPutCStatic(...) hb_itemPutCConst(...) * harbour/include/hbapiitm.h - removed #define hb_retclenAdoptRaw(...) hb_retclen_buffer(...) it's not _exactly_ the same and in some cases it cannot be replaced so users should know what exactly they are doing * harbour/source/rtl/gttrm/gttrm.c + added some #ifdef OS_UNIX_COMPATIBLE for future non *nix ports * harbour/source/rdd/dbf1.c ! added RT error when someone tires to create DBF with more then 2046 fields - without it corrupted files were created or GPF appeared * harbour/contrib/ole2/w32ole.c * changed hb_retclenAdoptRaw() to hb_retclen_buffer() 2007-07-27 01:52 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/make_gcc.sh * harbour/makefile.gc * cleanup 2007-07-26 21:45 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) + harbour/bldcmncf.sh + harbour/make_gcc.sh + harbour/makefile.gc * harbour/common.mak * harbour/makefile.bc * harbour/makefile.vc * harbour/make_vc.bat * harbour/make_b32.bat * added support for GCC and common make file. The extension created by Marek Paliwoda with some modifications added by me. Victor this commit removed the HB_* prefix from some of internal make variables. I've done it temporary to avoid synchronization problems with files in SVN, used by me and Marek. I hope we will clean the code and restore necessary prefixes when Marek will have returned so we can test it in different environments - such modification have to be done in all of the above files. 2007-07-26 13:10 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/gttrm/gttrm.c * removed old XTerm (XFree 3.x.x) key sequences which are used in current XTerm implementation as for keys with modifiers 2007-07-26 01:20 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/gtcrs/gtcrs.c * added protection against misleading mouse wheel and mouse drag events * harbour/source/rtl/gttrm/gttrm.c * added protection against misleading mouse wheel and mouse drag events * enable XTERM like mouse reporting also for Linux terminal - it's possible with external mouse driver * added some CTRL+Fx escape sequences XTERM and gnome-terminal compatible * disabled some escape sequences mapped to simple cursor keys which are used as CTRL+[cursor key] in recent XTerm versions 2007-07-25 18:45 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/gtchrmap.c * indenting * harbour/source/rtl/gttrm/gttrm.c * added some key sequences I used in patch for PuTTY/PTerm CTRL+{INS,DEL,HOME,END,PGUP,PGDN} - they are gnome-terminal compatible 2007-07-25 16:05 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbgtcore.h + added translation for HB_GT_trm * harbour/source/rtl/gttrm/gttrm.c + map some Linux key codes also in XTerm - they will be usable in terminals like PuTTY/PTerm * harbour/source/rtl/gtstd/gtstd.c * harbour/source/rtl/gtpca/gtpca.c + changed the order of checking HB_WIN32_IO and OS_UNIX_COMPATIBLE macros for CYGWIN compilation 2007-07-25 09:40 UTC+0100 Viktor Szakats * common.mak * source/codepage/Makefile + source/codepage/cpsv850.c + source/codepage/cpsvclip.c + source/codepage/cpsvwin.c + Added Swedish codapages from xHarbour. ; The codepages are now synced. 2007-07-24 20:30 UTC+0100 Viktor Szakats * common.mak * include/hbapicdp.h * source/codepage/Makefile + source/codepage/ucmik.c + source/codepage/cpbgmik.c + Added BGMIK codepage and Bulgarian MIK unicode conversion table from xHarbour. ! Changed internal ID "MIK" to "bg-mik". * include/hbapicdp.h * source/codepage/uckam.c ! Changed internal ID "CSKAM" to "Kamenicky". 2007-07-24 20:11 UTC+0100 Viktor Szakats * common.mak * source/codepage/Makefile + source/codepage/cpsk852.c + source/codepage/cpskiso.c + source/codepage/cpskwin.c + source/codepage/cpskkam.c + Added Slovak codepages. Pls. test them if you are familiar with the language rules. 2007-07-24 19:40 UTC+0100 Viktor Szakats * common.mak * makefile.vc * makefile.bc * PPGEN -> HBPPGEN * Some redundancies removed. ! Redone and fixed my previous modifications. (Thanks Marek and pls test this.) 2007-07-24 14:35 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/debug/dbgentry.c ! cleaned memory leak in not freed trap on debugger exit 2007-07-20 18:40 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/libct/Makefile * harbour/contrib/libct/makefile.bc * harbour/contrib/libct/makefile.vc + harbour/contrib/libct/ctvideo.ch + harbour/contrib/libct/video.c + added CHARPIX(), VGAPALETTE(), VIDEOTYPE(), SETFONT() code by Phil Krylov borrowed from xHarbour + harbour/contrib/libct/dattime3.c + added WAITPERIOD(), TIMEVALID(), SETTIME(), SETDATE() 2007-07-19 20:50 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/libct/Makefile + harbour/contrib/libct/maxline.c + harbour/contrib/libct/lton.c + harbour/contrib/libct/pack.c * harbour/contrib/libct/color.c * harbour/contrib/libct/makefile.bc * harbour/contrib/libct/screen1.c - harbour/contrib/libct/screen2.prg * harbour/contrib/libct/makefile.vc * harbour/source/rtl/gtapi.c * synced with xHarbour modifications and fixes * new functions or .prg functions rewritten in C ! some fixes * indenting 2007-07-19 18:45 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/libct/strdiff.c * harbour/contrib/libct/token2.c * harbour/contrib/libct/Makefile * harbour/contrib/libct/wordrepl.c * harbour/contrib/libct/strswap.c * harbour/contrib/libct/makefile.bc * harbour/contrib/libct/screen1.c * harbour/contrib/libct/token1.c * harbour/contrib/libct/makefile.vc * harbour/contrib/libct/ctwfunc.c * harbour/contrib/libct/relation.c + harbour/contrib/libct/setlast.c * harbour/contrib/libct/tab.c * harbour/contrib/libct/replace.c - harbour/contrib/libct/setlast.prg * harbour/contrib/libct/wordtoch.c * harbour/contrib/libct/remove.c * synced with xHarbour modifications and fixes * new functions or .prg functions rewritten in C ! some fixes * indenting 2007-07-19 11:10 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) + harbour/contrib/libct/ctdisk.ch + added missing file I forgot to add in previous commit * harbour/contrib/libct/pos1.c * harbour/contrib/libct/ct.h * harbour/contrib/libct/posdiff.c * harbour/contrib/libct/range.c * harbour/contrib/libct/pos2.c * harbour/contrib/libct/print.c * synced with xHarbour modifications and fixes ! some fixes * indenting 2007-07-19 04:15 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hb_io.h + added #include <dos.h> for DOS builds * harbour/source/rtl/gttone.c + #include <conio.h> for WATCOM builds * harbour/config/w32/watcom.cf * cleanup + harbour/config/w32/owatcom.cf + added OpenWatcom support * harbour/contrib/libct/files.c * rewritten FILESEEK(), FILESIZE(), FILEATTR(), FILETIME(), FILEDATE() now they should work on all supported platforms + added FILESMAX() for POSIX systems * added FILEDELETE() - It's Phil Krylov code from xHarbour modified to be MT safe * indenting, cleanup and some minor fixes 2007-07-18 21:30 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapicdp.h * harbour/source/rtl/cdpapi.c + added C functions: hb_cdpUTF8StringSubstr(), hb_cdpUTF8StringPeek() + added .prg functions: HB_UTF8SUBSTR(), HB_UTF8LEFT(), HB_UTF8RIGHT(), HB_UTF8LEN(), HB_UTF8PEEK() They are working like corresponding functions: SUBSTR(), LEFT(), RIGHT(), LEN(), STRPEEK() but operates on UTF-8 strings. TODO: HB_UTF8STUFF(), HB_UTF8TRAN(), HB_UTF8POKE() * harbour/include/hbcompat.ch + added translation rule for str(<x>,,,.t.) * harbour/contrib/tip/ftpcln.prg ! changed str(<x>,,,.t.) to ltrim(str(<x>)) * harbour/source/rtl/right.c * harbour/source/rtl/left.c % minor optimization 2007-07-18 16:43 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/libct/Makefile * harbour/contrib/libct/makefile.bc * harbour/contrib/libct/makefile.vc * added new files and Juan Galvez fixes * harbour/contrib/libct/like.c * harbour/contrib/libct/keyset.c ! fixed typo 2007-07-18 16:25 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/tests/gtchars.prg * harbour/tests/gtcolors.prg * harbour/tests/gtkeys.prg * harbour/contrib/tip/thtml.prg * harbour/contrib/tip/thtml.ch * harbour/contrib/libct/misc2.c * harbour/contrib/libct/color.c * harbour/contrib/libct/numcount.c * harbour/contrib/libct/numline.c * harbour/contrib/libct/misc3.c * harbour/source/rtl/hbhex.c * harbour/source/rtl/hbbit.c * set valid Id svn:keyword * harbour/include/hbcompat.ch * reverted hb_adler32() <=> hb_checksum() translations * harbour/contrib/libct/keyset.c + harbour/contrib/libct/like.c * harbour/contrib/libct/finan.c * harbour/contrib/libct/justify.c * synced with xHarbour modifications and fixes * indenting 2007-07-17 16:48 UTC+0100 Miguel Angel Marchuet <miguelangel/at/marchuet.net> * contrib/tip/client.prg * contrib/tip/ftpcln.prg + Added support to PORT transfer mode, alternative to PASV transfer mode. When :bUsePasv will be false PORT mode will be used. and cleaned some unused variables. + Added method :NoOp() + Added method :Rest( nPos ) * Changed method :LS( cSpec ) * Changed method :List( cSpec ) * Changed method :TransferStart() * Changed method :Stor( cFile ) * Changed method :UploadFile( cLocalFile, cRemoteFile ) * Changed method :DownloadFile( cLocalFile, cRemoteFile ) + Added method :Port() + Added method :SendPort() 2007-07-16 9:02 UTC+0100 Viktor Szakats * common.mak * makefile.vc * makefile.bc * HB -> HB_HARBOUR_EXE PPGEN -> HB_PPGEN_EXE * Some redundancies removed. ; Please test VC. 2007-07-16 07:30 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) * harbour/makefile.bc * harbour/makefile.vc * added cross-compilation capabilities by means of HB and PPGEN environment variables. You can set them to fully qualified paths to harbour.exe and ppgen.exe respectivly, to allow cross-compiling. * minor cleanups in rules and code formatting 2007-07-15 09:20 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/libct/Makefile * harbour/contrib/libct/makefile.bc * harbour/contrib/libct/makefile.vc * harbour/contrib/libct/misc1.c + harbour/contrib/libct/misc2.c + harbour/contrib/libct/misc3.c * harbour/contrib/libct/num1.c * harbour/contrib/libct/numconv.prg + harbour/contrib/libct/numcount.c + harbour/contrib/libct/numline.c * harbour/contrib/libct/numat.c * synced with xHarbour modifications and fixes + added some missing functions borrowed from xHarbour, in most cases it was Pavel Tsarenko code ! some fixes * indenting * harbour/source/rtl/gtfunc.c * replaced hb_itemRelease( hb_itemReturn( pItem ) ) by hb_itemReturnRelease( pItem ) 2007-07-14 22:55 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/gttrm/gttrm.c * added protection against corrupted by programmer screen buffer * harbour/source/rtl/hbgtcore.c * extended hb_gtColorToN() to recognize also "I", "N", "U" and numeric NN/NN attributes * harbour/contrib/libct/ftoc.c * cleanup * harbour/contrib/libct/Makefile * harbour/contrib/libct/makefile.bc * harbour/contrib/libct/makefile.vc - harbour/contrib/libct/color.prg - harbour/contrib/libct/invrtwin.prg + harbour/contrib/libct/color.c * rewritten INVERTATTR(), INVERTWIN(), COLORTON(), NTOCOLOR(), ENHANCED(), STANDARD(), UNSELECTED() in C code. Now COLORTON() and NTOCOLOR() use GT functions for color translations. ! fixed INVERTATTR() to not change blink and highlight attributes ! fixed INVERTWIN() to work with GT divers which do not use VGA compatible screen buffer 2007-07-14 12:31 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbcompat.ch ! changed hb_adler() to hb_adler32() * harbour/contrib/libct/dattime2.c * changed WEEK() to be exactly CT3 compatible. I do not know why but in CT3 WEEK() checks if the first character of date format is 'd' or 'D' and in such case uses differ algorithm to calculate week number. 2007-07-11 12:04 UTC+0100 Viktor Szakats * contrib/mysql/tmysql.prg ! Some fixes for the previous fixes. 2007-07-11 09:58 UTC+0100 Viktor Szakats * contrib/mysql/tmysql.prg ! Some further date fixes. (pls test) 2007-07-11 09:53 UTC+0100 Viktor Szakats - doc/howtocvs.txt + doc/howtosvn.txt * File renamed (using 'svn rename'). 2007-07-11 09:52 UTC+0100 Viktor Szakats * doc/howtocvs.txt * Adapted for SVN (roughly). * contrib/mysql/tmysql.prg ! Fixed converting MySql date to Harbour date. (Thanks Chen) 2007-07-07 12:35 UTC+0100 Viktor Szakats * common.mak ! Added dbsql.c 2007-07-07 12:25 UTC+0100 Viktor Szakats * source/compiler/hbusage.c * Steps done to protect email addresses against email scanners. 2007-07-07 11:35 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/compiler/hbusage.c * added to credits list some Harbour developers which were missing and also some xHarbour developers which are authors of modules we borrowed and ported to xHarbour. It's highly possible that still some people are missing. If you fill that you or someone else should be added to this list then please send a message to harbour devel list 2007-07-07 11:25 UTC+0100 Viktor Szakats * common.mak ! OBJEXT -> HB_OBJ_EXT EXEEXT -> HB_EXE_EXT DLLEXT -> HB_DLL_EXT LIBEXT -> HB_LIB_EXT LIBPREF -> HB_LIB_PREFIX - contrib/libct/alt - contrib/libct/token1.prg - contrib/libct/ctcolton.c - Removed obsolete files. QUESTION: Shouldn't LIBCT's COLORTON() simply pass the call to HB_COLORTON() instead of replicating the functionality there (in .prg code)? * source/rtl/scrollbr.prg ! Formatting. 2007-07-07 04:00 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) + harbour/contrib/libct/dbftools.c - harbour/contrib/libct/dattime2.prg * harbour/contrib/libct/ctmath.h * harbour/contrib/libct/Makefile * harbour/contrib/libct/exponent.c + harbour/contrib/libct/cttime.prg * harbour/contrib/libct/ctstr.h * harbour/contrib/libct/ct.h + harbour/contrib/libct/disk.c + harbour/contrib/libct/ctstrfil.c + harbour/contrib/libct/ctstrfil.h - harbour/contrib/libct/datetime.prg - harbour/contrib/libct/pad.c + harbour/contrib/libct/dattime2.c + harbour/contrib/libct/ctpad.c + harbour/contrib/libct/datetime.c * synced with xHarbour modifications and fixes ! some fixes * indenting 2007-07-06 23:15 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/libct/bitnum.c * harbour/contrib/libct/charlist.c * harbour/contrib/libct/ctnet.c * harbour/contrib/libct/charonly.c * harbour/contrib/libct/atadjust.c * harbour/contrib/libct/ctmath.c * harbour/contrib/libct/ctset.c * harbour/contrib/libct/charsort.c * harbour/contrib/libct/ctmath.h * harbour/contrib/libct/ctset.h * harbour/contrib/libct/cterror.ch * harbour/contrib/libct/charmix.c * harbour/contrib/libct/charevod.c * harbour/contrib/libct/charrepl.c * harbour/contrib/libct/charswap.c * harbour/contrib/libct/charop.c * harbour/contrib/libct/color.prg + harbour/contrib/libct/blank.prg * harbour/contrib/libct/ct.prg * harbour/contrib/libct/ct.ch * harbour/contrib/libct/charone.c * harbour/contrib/libct/ctchksum.c * harbour/contrib/libct/ascpos.c * harbour/contrib/libct/charmirr.c * harbour/contrib/libct/ctc.c * harbour/contrib/libct/ct.h * harbour/contrib/libct/atnum.c * harbour/contrib/libct/ctmisc.prg * harbour/contrib/libct/count.c * harbour/contrib/libct/ctcrypt.c * harbour/contrib/libct/addascii.c * harbour/contrib/libct/ctmath2.c * harbour/contrib/libct/ctextern.ch * harbour/contrib/libct/asciisum.c * harbour/contrib/libct/atrepl.c * harbour/contrib/libct/ctstr.c * harbour/contrib/libct/ctstr.h * synced with xHarbour modifications and fixes ! some fixes * indenting * harbour/source/rtl/errorapi.c * indenting * harbour/source/vm/hashfunc.c + added HB_HSETCASEMATCH(), HB_HSETAUTOADD() % some minor optimizations * harbour/include/hbcompat.ch + added hb_checksum() <=> hb_adler() * use new HB_HSET*() function to avoid warnings * harbour/include/hbcomp.h * harbour/include/hbcompdf.h * harbour/include/hberrors.h * harbour/source/compiler/hbmain.c * harbour/source/compiler/harbour.yyc * harbour/source/compiler/harbour.y * harbour/source/compiler/harbour.yyh * harbour/source/compiler/hbgenerr.c ! fixed using EXIT/LOOP inside WITH OBJECT / END statement ! fixed optimization of empty BEGIN/END sequence when recover has EXIT or LOOP statement ! forbidden using EXIT and LOOP inside ALWAYS code in BEGIN/END sequence ! forbidden using ALWAYS statement if RECOVER code has EXIT or LOOP statement 2007-07-04 21:45 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/listbox.prg * synced with some xHarbour modifications 2007-07-04 18:25 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbextern.ch + added some other missing functions for which I had no doubt they should be included 2007-07-04 17:40 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/compiler/gencobj.c + added support for environment variable substitution in harbour.cfg file, envvar should be given as $(<name>) e.g.: $(HB_INC_INSTALL) 2007-07-04 15:10 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbcompdf.h * harbour/source/compiler/harbour.yyc * harbour/source/compiler/harbour.y ! fixed using LOOP inside SWITCH/CASE.../END statement ! fixed possible memory leeks when compile time error appear with some unfinished LOOP statements ! do not push unnecessary NIL on HVM stack when SWITCH/CASE.../END statement were used without OTHERWISE clause * harbour/source/pp/ppcore.c ! do not calculate last line when it does not contain any character * clear line number counter after preprocessing standard definitions/ rules - I hope it will make David happy ;-) 2007-07-04 13:52 UTC+0100 Miguel Angel Marchuet (miguelangel/at/marchuet.net) * source/rdd/dbfcdx/dbfcdx1.c * removed unnecesary code 2007-07-04 04:45 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/classes.c * do not allocate self calss casting method when class name cannot be used as method 2007-07-04 04:35 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/classes.c ! fixed typo in adding messages with HB_OO_MSG_PROPERTY flag ! fixed __clsDelMsg() to be safe with later dictionary resizing 2007-07-03 21:40 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbcompat.ch ! added closing parentheses in operators translation rules to avoid wrong translations * harbour/include/hbextern.ch + added many missing functions 2007-07-03 16:53 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/tip/makefile.bc - removed cstr.prg + added thtml.prg 2007-07-03 15:30 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbcompat.ch * removed bit translation rules starting with comma (,) * harbour/source/rtl/hbhex.c * harbour/source/rdd/delim1.c * harbour/source/rdd/dbf1.c * harbour/source/rdd/sdf1.c ! fixed casting 2007-07-02 18:10 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/macro/macro.yyc * harbour/source/macro/macro.y * harbour/source/macro/macrolex.c ! allow to use 'FIELD' and '_FIELD' as variable/function/field name. * allow to use 'IF' and 'IIF' as variable/field name. 2007-07-02 17:16 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/common.mak * harbour/source/rtl/Makefile + harbour/source/rtl/hbhex.c * added HB_HEXTONUM() and HB_NUMTOHEX() * harbour/include/hbcompat.ch * added trnaslation rules for expresions in parentheses which use new xHarbour operators: HAS, IN, LIKE, &, |, ^^, >>, << Please note that only code which uses above operators in parentheses will be translated, e.g. this code will not be translated: if cVal1 IN cVal2 nVal := nVal1 | nVal2 | nVal3 | nVal4 endif will not be translated but this one will: if ( cVal1 IN cVal2 ) nVal := ( nVal1 | nVal2 | nVal3 | nVal4 ) endif * harbour/contrib/tip/thtml.prg * harbour/contrib/tip/thtml.ch + added $\Id * harbour/source/rtl/hbbit.c + added $\Id ! fixed typo in HB_BITSHIFT() 2007-07-02 14:10 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbcompat.ch + added hb_CStr() <=> CStr() translations * harbour/common.mak * harbour/source/rtl/Makefile + harbour/source/rtl/hbbit.c + added set of hb_bit*() functions for bit manipulations: HB_BITAND( <nVal1>, <nVal2>, [<nVal3,...>] ) => <nResult> HB_BITOR( <nVal1>, <nVal2>, [<nVal3,...>] ) => <nResult> HB_BITXOR( <nVal1>, <nVal2>, [<nVal3,...>] ) => <nResult> HB_BITNOT( <nVal> ) => <nResult> HB_BITTEST( <nVal>, <nBit> ) => <lResult> HB_BITSET( <nVal>, <nBit> ) => <nResult> HB_BITRESET( <nVal>, <nBit> ) => <nResult> HB_BITSHIFT( <nVal>, <nBits> ) => <nResult> * harbour/contrib/tip/Makefile * harbour/contrib/tip/utils.c * harbour/contrib/tip/popcln.prg * harbour/contrib/tip/Changelog * harbour/contrib/tip/cgi.prg * harbour/contrib/tip/url.prg * harbour/contrib/tip/httpcln.prg * harbour/contrib/tip/client.prg * harbour/contrib/tip/encoder.prg * harbour/contrib/tip/smtpcln.prg * harbour/contrib/tip/mail.prg * harbour/contrib/tip/ftpcln.prg + harbour/contrib/tip/thtml.prg + harbour/contrib/tip/thtml.ch - harbour/contrib/tip/cstr.prg * synced with recent xHarbour modifications - please test * harbour/source/vm/hvm.c * formatting * harbour/source/rdd/delim1.c * harbour/source/rdd/dbf1.c * harbour/source/rdd/sdf1.c % do not copy date value to separate memory buffer but decode dates directly from record buffer * harbour/source/compiler/hbopt.c * optimize PCODE generated for: return <somefunc>([<params,...>]) 2007-06-29 13:05 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rdd/hbsix/sxcompr.c ! fixed bug in workaround for SIX3 bug ;-) 2007-06-29 08:15 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/gttrm/gttrm.c * minor code reorganization 2007-06-28 21:53 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/gttrm/gttrm.c * disable ternminal signals at startup * redraw screen after __RUN() 2007-06-28 16:15 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/cdpapi.c ! fixed possible GPF and some other problems in HB_TRANSLATE() * harbour/source/rtl/dateshb.c * harbour/source/rtl/datesx.c * harbour/source/common/hbdate.c * make STOD() exact Clipper compatible 2007-06-27 21:02 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/gttrm/gttrm.c * restore default color on exit * harbour/source/rdd/dbf1.c * cleaned few warnings * harbour/make_tgz.sh * harbour/make_gnu.sh * if HB_WITHOUT_GTSLN not set then check if slang.h exists in one of known locations and set HB_WITHOUT_GTSLN automatically 2007-06-27 19:00 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/common.mak ! removed double quotas from files extension definitions Neither Borland make nor NMake can accept them, sorry my fault but I used to work with GNU make * harbour/makefile.vc - removed recently added by J. Lefebvre Mafact alternative verion of file extnesions. Thank you for your help but it was my mistake and the default definitions in common.mak should not use quotas * harbour/source/rtl/datesx.c * harbour/source/common/hbdate.c * accept date strings longer then 8 characters in STOD() just like in CT3 * changed casting in date decoding code to be strict Clipper compatible and cover date string validation by HB_C52_STRICT macro. Now STOD() can give _EXACTLY_ the same results as Clipper for wrong date strings if you disable code covered by #ifndef HB_C52_STRICT in hb_dateStrGet(). It fixes errors reported by hbtest in: stod("19 90905") -> "17490905" stod("199 0905") -> "19740905" but I do not know if you want to have it as default. * harbour/source/rtl/gtsln/gtsln.c ! fixed variable declaration to be ANSI C compatible 2007-06-27 16:00 UTC+0200 J. Lefebvre Mafact (jfl/at/mafact.com) * harbour/makefile.vc * Setting file extensions variables without double quotes for nmake Will overide those in common.mak 2007-06-27 10:05 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/hbgtcore.c * harbour/source/rtl/gtdos/gtdos.c * harbour/source/rtl/gtwin/gtwin.c * harbour/source/rtl/gtxwc/gtxwc.c * harbour/source/rtl/gtcrs/gtcrs.c * harbour/source/rtl/gtstd/gtstd.c * harbour/source/rtl/gtsln/gtsln.c * harbour/source/rtl/gttrm/gttrm.c * harbour/source/rtl/gtpca/gtpca.c * harbour/source/rtl/gtcgi/gtcgi.c * added support for CP translation in OUTSTD()/OUTERR() when they are not redirected to console 2007-06-26 23:55 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/hb-func.sh * harbour/harbour.spec * added description for -L<path> in hb* scripts * harbour/include/hbapicls.h * harbour/source/vm/classes.c * changed hb_objSendMsg() and hb_objSendMessage() to return hb_stackReturnItem() - xHarbour users asked about it. It does not change binary compatibility with existing code. * harbour/common.mak * replaced some hard coded values like file extensions with variables for future use on other platforms * harbour/contrib/mysql/mysql.c * changed code to not use non standard function filelength() and optimized * harbour/source/compiler/cmdcheck.c * recognize --version on platforms where '-' is option separator * harbour/source/compiler/hbusage.c * changed syntax description from: Syntax: harbour <file[s][.prg]> [options] to: Syntax: harbour <file[s][.prg]|@file> [options] 2007-06-26 22:00 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/gttrm/gttrm.c * use separate trnaslation tables for dispout() and dispbox() like in GTCRS 2007-06-26 19:15 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/gttrm/gttrm.c * use ECMA-48 compatible sequence to disable bold intensity also on Linux terminals (one byte longer but will work also in some non Linux terminals which do not emulate it well) * use STDIN handle for full screen output when STDOUT redirected to non terminal device, e.g. file. 2007-06-23 15:45 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbgtcore.h * harbour/source/rtl/gtchrmap.c * harbour/source/rtl/gtcrs/gtcrs.c * harbour/source/rtl/gttrm/gttrm.c + added 3rd parameter BOOL fSetACSC to hb_gt_chrmapinit() function * initialize ACSC translation for XTERM like terminals when hb_charmap.def file cannot be found or there is no valid section for used terminal + harbour/tests/gtchars.prg + harbour/tests/gtcolors.prg + harbour/tests/gtkeys.prg + added test ptograms for GT drivers to test all character output and automatic CP translation, colors settings and keyboard/mouse input 2007-06-23 11:10 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/gtchrmap.c * harbour/source/rtl/gttrm/Makefile * harbour/source/rtl/gttrm/gttrm.c + set Id keyword property * harbour/source/common/expropt1.c ! fixed typo in HB_TRACE() parameters * harbour/include/hbapicdp.h * harbour/include/hbapirdd.h * harbour/source/rtl/strcase.c * harbour/source/rtl/is.c * harbour/source/rtl/gtxwc/gtxwc.h * harbour/source/rtl/gtxwc/gtxwc.c * harbour/source/rtl/gtstd/gtstd.c * harbour/source/rtl/gtsln/gtsln.c * harbour/source/rtl/gtsln/gtsln.h * harbour/source/rtl/gtpca/gtpca.c * harbour/source/rtl/gtcgi/gtcgi.c * harbour/source/rdd/dbfcdx/dbfcdx1.c * harbour/source/vm/hvm.c ! fixed compilation with HB_CDP_SUPPORT_OFF - I do not plan to create such builds but now these macro allow to easy locate CDP dependent code * harbour/include/hbextern.ch * harbour/source/rtl/cdpapi.c + added two prg functions for translations from/to UTF-8: HB_STRTOUTF8( <cStr> [, <cCPID> ] ) -> <cUTF8Str> HB_UTF8TOSTR( <cUTF8Str> [, <cCPID> ] ) -> <cStr> <cCPID> is Harbour codepage id, e.g.: "EN", "ES", "ESWIN", "PLISO", "PLMAZ", "PL852", "PLWIN", ... When not given then default HVM codepage (set by HB_SETCODEPAGE()) is used. 2007-06-22 16:25 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/pack_src.sh + added GTTRM to compressed file list * harbour/include/hbgtcore.h + added HB_GT_ATTR_UNDEF * harbour/source/rtl/hbgtcore.c * minor cleanup in COLD() method * harbour/source/rtl/gtchrmap.c * disable control characters when hb_charmap.def file cannot be found or there is no valid section for current terminal inside * harbour/source/rtl/gttrm/gttrm.c - removed OUTERR() and OUTSTD() method - the default one are enough + set CLIPKEY flag in GTI_ADDKEYMAP 2007-06-21 02:25 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/gtcrs/hb-charmap.def * harbour/source/rtl/gttrm/gttrm.c + added 'screen' terminal 2007-06-20 23:20 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/gtchrmap.c * removed 'static const' from s_szDefaultCharMapFile declaration I forgot that it was used by some build scripts I made public few years ago - I'll change these declaration when I'll add alternative method of changing default charmap file. * harbour/source/rtl/gttrm/gttrm.c + added support for SetBlink(.f.) working like in GTCRS and GTSLN. We cannot change from the server side the interpretation of BLINK attribute in 99% of terminals (it has to be done on client side) so SetBlink(.f.) simply disables sending BLINK attribute to terminal. 2007-06-20 21:05 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbgtinfo.ch + added GTI_ADDKEYMAP and GTI_DELKEYMAP * harbour/include/hbapicdp.h * harbour/source/rtl/cdpapi.c + added const to declarations of some function parameters * harbour/include/hbgtcore.h * harbour/source/rtl/Makefile + harbour/source/rtl/gtchrmap.c * harbour/source/rtl/gtcrs/Makefile - harbour/source/rtl/gtcrs/chrmap.c * harbour/source/rtl/gtcrs/gtcrs.c * harbour/source/rtl/gtcrs/gtcrs.h * hb_gt_chrmapinit() common function now for different GT drivers * minor cleanup in GTCRS code * harbour/include/hbcompat.ch + added some new translation rules * harbour/include/hbapi.h * cleanup comment * harbour/source/pp/ppcore.c ! fixed line numbering when errors are reported in different order due to preprocessing extended code block + harbour/source/rtl/gttrm + harbour/source/rtl/gttrm/Makefile + harbour/source/rtl/gttrm/gttrm.c + added new GT driver - it's terminal driver like GTCRS and GTSLN but it does not use any external library like [N]CURSES or SLANG so it can be compiled in nearly all POSIX systems. It's not such flexible like curses or slang base drivers because instead of using termcap/terminfo databases to extract terminal capabilities it uses some hard coded sequences for few terminals (now Linux, ANSI, XTERM) but it should cover users requests in 95% of cases. Terminals I tested are quite well supported (GTTRM works even better then GTCRS or GTSLN and is much faster in full screen mode - 2-4 times). I noticed that most terminal emulators works much better with GTTRM then with GTCRS or GTSLN due to limited list of used escape sequences so some minor differences in each terminal implementation are not noticeable. GTTRM automatically detects ISO/UTF8 terminal mode and chose valid output what should also help *nix users. Now I would like to ask BSD and MacOSX users to test GTTRM in these systems with pure text console and XWindow terminal emulators. I'm interesting in any problems you may found. * harbour/source/vm/hvm.c + added protection for possible GPF caused by wrong .prg code * harbour/source/vm/maindllp.c % store function addreses in static variables to improved execution speed + added support for compilers which does not use "_" as function prefix + added support for using with harbour*.dll * harbour/source/vm/memvars.c + added new method of detaching enumerators and array item references covered by HB_COMPAT_XHB macro. xHarbour does not work in such way but the final results are similar. * harbour/source/vm/dynlibhb.c + added protection against passing wrong pointer items to HB_LIB*() functions * harbour/source/common/reserved.c * cleaned warning * harbour/bin/hb-func.sh * harbour/config/hpux/global.cf * harbour/config/darwin/global.cf * harbour/config/linux/global.cf * harbour/config/sunos/global.cf * harbour/config/bsd/global.cf + added GTTRM to library list 2007-06-20 12:45 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/hbgtmk.sh * harbour/make_drw.sh * harbour/make_rpm.sh * harbour/bin/hb-mkslib.sh * harbour/bin/bld.sh * harbour/bin/hb-func.sh * harbour/bin/postinst.sh * harbour/bin/pack_src.sh * harbour/make_bsd.sh * harbour/make_xmingw.sh * harbour/make_gnu.sh * harbour/make_tgz.sh * set executable attribute small thing but makes happy ;-) - Many thanks Victor! 2007-06-14 00:20 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/doc/whatsnew.txt * harbour/harbour.spec * harbour/include/hbver.h * small information about new release * updated version number to 1.1.1 * tagged as build48 2007-06-14 00:10 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/tclass.prg * initialize date members to ctod("") 2007-06-14 00:05 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbcompat.ch + added translation rules for extended code blocks * harbour/source/compiler/gencc.c * cleaned C compiler warnings in -gc3 output and SWITCH <exp> statement * harbour/source/compiler/complex.c * harbour/source/compiler/harbour.y * harbour/source/compiler/harbour.yyc * allow to use 0d0 and 0d00000000 as empty date value * harbour/source/pp/Makefile * workaround for problems with some GNU make versions, e.g. 3.76.1 on OS2 2007-06-12 23:40 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/rdd_ads/ads1.c * cleaned BCC warning * harbour/include/hbapi.h * harbour/source/vm/arrays.c + added set of hb_arraySet*() functions - I hope they will help 3rd party developers to eliminate using C stack level HB_ITEM and reduce usage of potentially danger function like hb_arrayGetItemPtr() * harbour/include/hbapiitm.h * harbour/source/vm/itemapi.c + added hb_itemReturnRelease() * harbour/include/hbcompat.ch + added hb_pvalue() <-> pvalue() translations * harbour/source/vm/pvalue.c + added support for 2nd parameter for assugb operation, e.g. now hb_pvalue( 3, "abc" ) sets "abc" to 3rd function parameter * harbour/source/compiler/gencc.c * harbour/source/compiler/hbopt.c ! fixed two buggy optimizations 2007-06-11 16:28 UTC+0100 Viktor Szakats * harbour/ChangeLog + harbour/ChangeLog.018 * ChangeLog archived. 2007-06-11 11:30 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/compiler/genc.c * allow to use #pragma begindump / enddump in .prg files without any .prg code * harbour/source/vm/hvm.c ! fixed assign in overloaded [] 2007-06-08 14:45 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/rdd_ads/ads1.c ! generate valid RT errors in some methods so NETERR() can be properly set 2007-06-08 06:50 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/harbour.spec * restored original national characters which were unintentionally damaged on 2006-06-29 08:25 UTC+0200 Tomaz Zupan Tomaz please do not use editors which will change national characters in the whole file when you will change harbour.spec in the future 2007-06-07 11:55 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/harbour.spec * some minor cleanups in Requires section and added %{epoch} * harbour/make_rpm.sh * build Harbour GD library only when GD 2.0 or newer is installed 2007-06-06 15:40 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbregex.h * harbour/source/rtl/hbregex.c ! fixed GPF and removed two hacks 2007-06-06 14:02 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/hbregex.c ! added workaround for some wrong hack (to check if both can be safely removed) 2007-06-06 12:05 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapicls.h * changed extern hb_bProfiler to local HVM static variable * harbour/source/vm/hvm.c + added two macros HB_NO_TRACE and HB_NO_DEBUG for these people who needs/wants to test HVM speed without debugger support and PRG call tracing - the difference is rather small 2007-06-05 22:44 UTC+0200 Enrico Maria Giordano (e.m.giordano@emagsoftware.it) * harbour/contrib/hbzlib/zip.c * cleaned a couple of warnings 2007-06-05 21:10 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbcompdf.h * formatting * harbour/include/hbexpra.c + added comment * harbour/source/common/expropt2.c + added optimization for <constValue> == NIL, <constValue> = NIL, <constValue> != NIL ! disabled in macro compiler buggy Clipper compiler optimization for expressions like: AT( "", "" ), "" $ "", CHR(256), now the folowwing code gives the same results when compiled by Clipper and Harbour: proc main() ? ""$"", &('""$""') ? AT(""," "), &('AT(""," ")') ? LEN(CHR(0)+CHR(256)), &('LEN(CHR(0)+CHR(256))') return 2007-06-05 20:22 UTC+0100 Viktor Szakats * harbour/doc/linux1st.txt + Added info about required Ubuntu packages. (Thanks Przemek) * harbour/utils/hbtest/rt_hvma.prg * harbour/utils/hbtest/rt_str.prg + Added two more tests for "" $ "" / At( "", "" ) combinations. 2007-06-05 10:53 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) - harbour/contrib/hbzlib/Makefile.mingw - removed not necessary file 2007-06-05 09:56 UTC+0300 Chen Kedem <niki@synel.co.il> * source/rtl/achoice.prg ! Fix bug#1729881 by <sokaxa@telenet.be> ACHOICE() was not handling AC_GOTO when user function was used. 2007-06-05 03:40 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbzlib/zip.c * cleaned some warnings * harbour/contrib/ole2/w32ole.c * harbour/contrib/ole2/win32ole.prg * changed deinitialization code to allow using OLE in .prg object destructors and user EXIT functions * added support for FOR EACH overloading - not tested please check % use BEGIN SEQUENCE WITH as TRY / CATCH replacement 2007-06-04 22:40 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbzlib/include/stdafx.h * harbour/contrib/hbzlib/include/ziparchive.h * cleaned some warnings * harbour/include/hbexprb.c * harbour/include/hbexprop.h * harbour/source/common/expropt2.c * restored Mindaugas code for UPPER optimization and added logic to optimize UPPER for strings with only Latin letters, digit and spaces just like in Clipper. Now code like: ? Upper( chr(65)+chr(66)+chr(67)+"0123 QWE asd " ) + "ZXC" is fully optimized at compile time to single string expression. % optimized hb_compExprReduceCHR() by eliminating memory allocation for new string ! fixed typo in my previous commit 2007-06-04 20:10 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbexprb.c * harbour/include/hbexprop.h * harbour/source/common/expropt2.c % added compile time optimization for CTOD("") % added compile time optimization for - used forconstant string values, e.g.: ? "Harbour " - " Compiler" * harbour/source/vm/hvm.c % added optimization for string resizing in cVal1 - cVal2 * harbour/source/rtl/dateshb.c % minor optimization - removed one not necessary ISCHAR() 2007-06-04 19:11 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/include/hbexprop.h * harbour/include/hbexprb.c * harbour/source/common/expropt2.c - removed UPPER("") optimisation because of ... ? 2007-06-04 15:50 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/make_gnu.sh * harbour/make_tgz.sh * harbour/bin/hb-func.sh * harbour/bin/postinst.sh * HPUX build cleanup * harbour/source/debug/dbgentry.c * cast isalpha() and isdigit() parameters to unsigned char * harbour/source/rtl/hbinet.c * harbour/source/rtl/gtstd/gtstd.c * HPUX build cleanup 2007-06-04 08:04 UTC-0300 Antonio Carlos Pantaglione <toninho@fwi.com.br> + harbour/contrib/tip/make_b32.bat + harbour/contrib/tip/makefile.bc 2007-06-04 12:17 UTC+0200 Enrico Maria Giordano (e.m.giordano@emagsoftware.it) * harbour/contrib/hbzlib/include/zipexception.h * removed wrong CZipException:: qualificator in CZipException copy constructor * harbour/contrib/hbzlib/zip.c + added extern void hb_fsDirectory() declaration * harbour/contrib/hbzlib/include/hbzip2.h * harbour/contrib/hbzlib/zipnew.cpp * changed fifth parameter to const char *pbyBuffer in hb_UnzipSel() function 2007-06-03 23:03 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/include/hbexprop.h * harbour/include/hbexprb.c * harbour/source/common/expropt2.c * added UPPER("") optimisation. The side effect of this modification is that Harbour becomes Clipper bug compatible in calculation of AT(UPPER(""), "test"). Though this optimisation does not introduce any buggy behaviour itself. 2007-06-02 12:30 UTC+0200 Enrico Maria Giordano (e.m.giordano@emagsoftware.it) * harbour/contrib/hbzlib * replaced with the one borrowed from xharbour, source modifications by Przemek * harbour/contrib/hbzlib/makefile * harbour/contrib/hbzlib/makefile.bc * harbour/contrib/hbzlib/makefile.vc * harbour/contrib/hbzlib/zip.c * harbour/contrib/hbzlib/include/zipfilemapping.h * harbour/contrib/hbzlib/include/zipautobuffer.h * harbour/contrib/hbzlib/include/hbzip2.h * changed to make contrib/hbzlib working with harbour + harbour/contrib/hbzlib/hbcomprs.c + harbour/contrib/hbzlib/include/hbcomprs.h + added to make contrib/hbzlib working with harbour + harbour/contrib/hbzlib/doc + harbour/contrib/hbzlib/doc/zipnew.txt + added documentation borrowed from xharbour/doc/en 2007-06-01 21:25 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/pgsql/postgres.c * cover PQescapeByteaConn() by #if HB_PGVERSION >= 0x0800 * harbour/source/rtl/gtxwc/gtxwc.c ! fixed casting in DBLCLICK checking 2007-06-01 19:40 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/harbour.spec * harbour/make_rpm.sh * harbour/contrib/Makefile * cleanup and added HB_CONTRIBLIBS to set additional contrib libraries + added -with xhb switch to build Harbour RPMs with HB_COMPAT_XHB macro * harbour/contrib/mysql/Makefile + added -I/usr/include/mysql -I/usr/local/include/mysql to C compiler flags * harbour/contrib/mysql/tmysql.prg * harbour/contrib/mysql/tsqlbrw.prg * cleaned -w2 warnings - in few places I added HB_SYMBOL_UNUSED() which should be replace sin the future by valid code 2007-06-01 15:10 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/harbour.spec * set attributes explicitly to clean some wrong attributes committed to CVS and minor cleanup * harbour/include/hbapierr.h * harbour/source/rtl/errorapi.c + added hb_errorBlock() * harbour/source/macro/macro.yyc * harbour/source/compiler/harbour.yyc * manual hack to pacify BCC warning messages * harbour/include/hbpcode.h * harbour/include/hbxvm.h * harbour/source/compiler/genc.c * harbour/source/compiler/gencc.c * harbour/source/compiler/harbour.y * harbour/source/compiler/harbour.yyc * harbour/source/compiler/hbdead.c * harbour/source/compiler/hbfix.c * harbour/source/compiler/hblbl.c * harbour/source/compiler/hbmain.c * harbour/source/compiler/hbopt.c * harbour/source/compiler/hbpcode.c * harbour/source/compiler/hbstripl.c * harbour/source/vm/hvm.c + added support for: BEGIN SEQUENCE WITH <errorBlockExp> [<statements;...>] [ RECOVER [ USING oErr ] ] ... [ ALWAYS ] ... END It works like normal BEGIN SEQUENCE but sets <errorBlockExp> as ErrorBlock() before executing <statements;...> and restore previous ErrorBlock() at the end or when exception will appear. I hope it will make some xHarbour user happy ;-) * harbour/include/hbcompat.ch + added preprocessor directive for TRY / CATCH / FINALLY / END working like in xHarbour - translated to: BEGIN SEQUENCE WITH { |oErr| Break( oErr ) } ... [ RECOVER [ USING oErr ] ] ... [ ALWAYS ] ... END 2007-06-01 13:00 UTC+0200 Lorenzo Fiorini (lorenzo.fiorini/at/gmail.com) * harbour/make_gnu.sh * updated msgs * harbour/pach_src.sh * added contrib/gd * harbour/make_rpm.sh * harbour/harbour.spec * added support for --with gd, --with pgsql, --with pgsql4 and --without tip * contrib/tip/cgi.prg * added lDumpHtml to create a dump of the html useful for syntax check * added support for "var" and "src" in both scripts and styles * contrib/pgsql/tpostgre.prg * added ::Read() method to use in forward only loop * instead of while !::eof() ... ::skip() * several optimizations now in a typical loop it is 30% faster * !!! now char fields are not sized to len !!! 2007-06-01 02:08 UTC+0100 Viktor Szakats * harbour/bin/bld.sh ! Updated list of libs for linux/gcc. * harbour/bin/bld.bat * Minor. 2007-06-01 00:15 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/harbour.spec * harbour/bin/pack_src.sh + added hbpcre library 2007-05-31 23:35 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/compiler/harbour.yyc * synced with recent modifications in harbour.y - I missed it. * harbour/source/hbpcre/pcrecomp.c * cleaned some warnings reported by Lorenzo 2007-05-31 21:25 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/common.mak * harbour/makefile.vc * added some missing declaration for PCRE library * harbour/include/hbregex.h * added PCRE_STATIC - it fixes problem with MinGW build * harbour/utils/hbrun/Makefile * removed one redundant hbpcre from library list 2007-05-31 17:30 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/common.mak ! added PCRE_LIB * harbour/bin/hb-func.sh ! fixed typo in last commit * harbour/source/hbpcre/pcredfa.c * harbour/source/hbpcre/pcreexec.c * harbour/source/hbpcre/pcrefind.c * harbour/source/hbpcre/pcreprni.c * harbour/source/hbpcre/pcrestud.c * harbour/source/hbpcre/pcretryf.c * cleaned some warnings 2007-05-31 15:10 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/common.mak * harbour/makefile.bc * harbour/makefile.vc * harbour/bin/hb-func.sh * harbour/config/bsd/gcc.cf * harbour/config/darwin/gcc.cf * harbour/config/hpux/gcc.cf * harbour/config/linux/gcc.cf * harbour/config/sunos/gcc.cf * harbour/source/Makefile + harbour/source/hbpcre/ChangeLog + harbour/source/hbpcre/Makefile + harbour/source/hbpcre/chartabs.c + harbour/source/hbpcre/config.h + harbour/source/hbpcre/dftables.c + harbour/source/hbpcre/pcre.h + harbour/source/hbpcre/pcrecomp.c + harbour/source/hbpcre/pcreconf.c + harbour/source/hbpcre/pcredfa.c + harbour/source/hbpcre/pcreexec.c + harbour/source/hbpcre/pcrefind.c + harbour/source/hbpcre/pcrefinf.c + harbour/source/hbpcre/pcreget.c + harbour/source/hbpcre/pcreglob.c + harbour/source/hbpcre/pcreinal.h + harbour/source/hbpcre/pcreinfo.c + harbour/source/hbpcre/pcremktb.c + harbour/source/hbpcre/pcreoutf.c + harbour/source/hbpcre/pcreprni.c + harbour/source/hbpcre/pcrerefc.c + harbour/source/hbpcre/pcrestud.c + harbour/source/hbpcre/pcretabs.c + harbour/source/hbpcre/pcretryf.c + harbour/source/hbpcre/pcrever.c + harbour/source/hbpcre/pcrevutf.c + harbour/source/hbpcre/pcrexcls.c + harbour/source/hbpcre/ucp.h + harbour/source/hbpcre/ucpinter.h + harbour/source/hbpcre/ucptable.c + added HBPCRE library - based on older xHarbour 6.3 version filenames changed to 8.3 DOS format * harbour/include/hbregex.h * harbour/source/rtl/Makefile * harbour/source/rtl/hbregex.c + harbour/source/rtl/hbregexc.c * divided harbour regular expression functions into two files Now regular expression low-level library is not linked with application until user will not use or REQUEST for one of HB_REGEX* functions. It also means that also DBOI_SKIPREGEX will not work when regex module is not linked. + added support for build-in regular expression library + added ulLen parameter to hb_regexMatch() to support strings with embedded 0 * harbour/contrib/bmdbfcdx/bmdbfcdx1.c * harbour/source/rdd/dbfcdx/dbfcdx1.c * harbour/source/rdd/dbfntx/dbfntx1.c * harbour/source/rtl/strmatch.c * use new hb_regexMatch() format * harbour/utils/hbrun/Makefile + added hbpcre to linked library list 2007-05-30 01:35 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/main/harbour.c - removed unnecessary code for HB_PARANOID_MEM_CHECK macro 2007-05-30 01:00 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbcompdf.h * harbour/include/hbexprb.c * harbour/source/common/expropt1.c * harbour/source/compiler/harbour.y * harbour/source/compiler/harbour.yyc * harbour/source/macro/macro.y * harbour/source/macro/macro.yyc ! fixed bug in operator precedence - seems that it existed from beginning and partially were fixed in xHarbour. This code exploits the problem: #define EOL chr(13)+chr(10) #command ? [<x,...>] => [outstd( <x> );]outstd(EOL) #command TEST <exp> => BEGIN SEQUENCE ; ; ? <exp> ; ; RECOVER USING oErr ; ; ? "Error:", oErr:subCode, ; oErr:description, oErr:operation ; ; END proc main() local oErr, s1:="X", s2:="Y", t:=.T. errorBlock({|oErr|break(oErr)}) TEST t != s1 $ s2 TEST t == s1 $ s2 TEST t = s1 $ s2 TEST t < s1 $ s2 TEST t <= s1 $ s2 TEST t > s1 $ s2 TEST t >= s1 $ s2 TEST s1 $ s2 != t TEST s1 $ s2 == t TEST s1 $ s2 = t TEST s1 $ s2 > t TEST s1 $ s2 < t TEST s1 $ s2 >= t TEST s1 $ s2 <= t return 2007-05-29 10:30 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/makefile.vc * synced with BETA branch * harbour/contrib/Makefile * disable BMDBFCDX for DOS builds due to long names which do not pass 8.3 convention * use OLE2 instead of OLE * harbour/contrib/ole2/w32ole.c * warning fixes * harbour/include/hbregex.h + added REGEX support for DJGPP build * harbour/source/rtl/net.c * warning cleanup 2007-05-28 20:05 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/Makefile + harbour/contrib/adordd/Makefile + added ADORDD to default windows GNU make builds * harbour/contrib/adordd/makefile.bc + added -w2 to harbour compoiler switches * harbour/contrib/adordd/adordd.prg + added HB_SYMBOL_UNUSED() for some methods + harbour/contrib/ole2/Makefile + added GNU make file * harbour/include/common.ch * changed HB_HASH_AUTOADD_* to HB_HAUTOADD_* 2007-05-28 18:50 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/config/bsd/gcc.cf * harbour/config/darwin/gcc.cf * harbour/config/hpux/gcc.cf * harbour/config/linux/gcc.cf * harbour/config/sunos/gcc.cf + added -lpcreposix -lpcre to linked system libraries when C_USR contains -DHB_PCRE_REGEX * harbour/source/compiler/hbmain.c * clear HB_COMP_PARAM->functions.pLast in hb_compCompileEnd() to avoid accessing freed memory 2007-05-28 15:55 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/TODO - removed some not longer valid notes * harbour/common.mak - removed dbgaltd.obj * harbour/include/common.ch + added HB_HASH_AUTOADD_* definitions 2007-05-28 14:00 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/debug/Makefile - harbour/source/debug/dbgaltd.prg - removed repeated ALTD() implementation 2007-05-28 09:50 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/make_xmingw.sh * harbour/source/pp/Makefile * recent xHarbour fixes for MinGW Linux->W32 cross build by Phil Krylov with small modifications * harbour/config/rules.cf + added rules for C++ files * harbour/include/hbapi.h * harbour/source/vm/arrays.c + added hb_arraySetForward() * harbour/include/hbapi.h * harbour/source/rtl/strmatch.c + added hb_strMatchFile() - compare two strings using platform dependent rules for file matching, respects platform dependent wildcards + added hb_strMatchCaseWildExact() - compare two strings using pattern with wildcard (?*) ignoring the case of the characters - patern have to cover whole string * changed hb_strMatchRegExp() to use real reguar expresions, if build does not support regex then redirected to hb_strMatchWildExact() - removed not longer used hb_strMatchDOS() - in fact it was neither DOS nor classic wildcards (?*) compatible * harbour/source/common/hbstr.c ! casting to avoid possible problem on platforms where toupper does not accept negative char value * harbour/include/hbcomp.h * harbour/source/compiler/hbcomp.c * harbour/source/compiler/hbmain.c * minor modifications in cleanup functions * harbour/source/rtl/hbffind.c * use hb_strMatchFile() * harbour/source/vm/memvars.c * use hb_strMatchCaseWildExact() instead of hb_strMatchRegExp() I still keep the hack which translates any mask starting with '*' to "*" but if you think that we should fully respect wildcards patterns then we should remove it from function hb_memvarGetMask() Opinions? 2007-05-26 09:05 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/pp/ppcore.c ! fixed bug reported by Lorenzo * harbour/contrib/rdd_ads/ads1.c * changed static variable name from iSetListenerHandle to s_iSetListenerHandle to keep common naming convention * harbour/include/hbapi.h * harbour/source/vm/hashes.c * harbour/source/vm/hashfunc.c * harbour/source/vm/hvm.c + added new 3rd parameter to hb_hashGetItemPtr() to control independently hash autoadd behavior in access/assign operation * harbour/include/hbrdddbf.h * harbour/include/hbrddntx.h * harbour/source/rdd/dbfntx/dbfntx1.c * moved static variables holding RDDI_* settings to RDDNODE data so they can be set separately for each RDD which inherits from DBFNTX * harbour/source/vm/classes.c + added disabled code to access hash items using messages * harbour/source/vm/garbage.c * comment 2007-05-25 11:46 UTC+0100 Miguel Angel Marchuet (miguelangel/at/marchuet.net) * contrib/bmdbfcdx/bmdbfcdx1.c * removed unnecesary code ! fixed bug on SKIP with SET DELETED ON when skips a deleted recno, OrdKeyNo was wrong. 2007-05-25 01:35 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapi.h * harbour/include/hbexpra.c * harbour/source/macro/macro.y * harbour/source/macro/macro.yyc * harbour/source/macro/macrolex.c * harbour/source/vm/macro.c - removed hb_macroIsIdent() + added hb_macroTextSymbol() ! fixed old bug (it exists in all [x]Harbour versions) in macrocompiler which caused HVM stack corruption * generate from lexer symbols which are well formatted (uppercase and size <= HB_SYMBOL_NAME_LEN) % use hb_dynsymGetCase() instead of hb_dynsymGet() % some minor speed improvement * harbour/source/rtl/gtwin/gtwin.c % use hb_dynsymFind() instead of hb_dynsymFindName() * harbour/source/rdd/dbcmd.c * harbour/source/rdd/wafunc.c * reenabled by default strict clipper compatible behavior for code select(), dbSelectArea() and alias allocating * harbour/source/rdd/dbf1.c + added DBI_ISENCRYPTED for tables encrypted by SIX3 * harbour/source/rtl/hbinet.c ! added missing break (Ron fix from xHarbour) 2007-05-23 12:27 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/debug.c ! fixed access/assign local variables from debugger in functions with variable number of parameters 2007-05-23 11:55 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/Makefile + added hbapidbg.h * harbour/source/vm/classes.c - removed one unused debug function * harbour/source/vm/debug.c * formatting 2007-05-22 23:20 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/common.mak ! fixed typo during copy and past in last modification - changing files when the modifications cannot be checked is always dangerous, sorry 2007-05-22 13:47 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/common.mak * harbour/source/rtl/Makefile * synced RTL files 2007-05-22 13:30 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/compiler/hbfix.c ! fixed local IND/DED when PARAMETERS is used ! fixed local names generated for debugger when PARAMETERS is used * harbour/source/debug/dbgentry.c ! fixed very bad typo in my previous commit % minor optimization 2007-05-22 12:20 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/hb-func.sh + added -lpcreposix to system libraries when C_USR has -DHB_PCRE_REGEX * harbour/include/hbregex.h * removed pcre/ path from PCRE header files - if you want to build Harbour with PCRE regex and PCRE header files are not in default\ path then set valid path in C_USR, e.g.: export C_USR="${C_USR} -DHB_PCRE_REGEX -I/usr/include/pcre" * harbour/include/hbxvm.h * harbour/source/compiler/gencc.c * harbour/source/vm/hvm.c * minor optimizatin for -gc3 output 2007-05-22 01:45 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapi.h * harbour/include/hbapicls.h * harbour/include/hbcomp.h * harbour/include/hbvm.h * harbour/include/hbvmpub.h * harbour/source/compiler/genc.c * harbour/source/compiler/gencc.c * harbour/source/compiler/gencli.c * harbour/source/compiler/hbdead.c * harbour/source/compiler/hbfix.c * harbour/source/compiler/hblbl.c * harbour/source/compiler/hbopt.c * harbour/source/compiler/hbpcode.c * harbour/source/compiler/hbstripl.c * harbour/source/debug/dbgentry.c * harbour/source/rdd/wafunc.c * harbour/source/rtl/itemseri.c * harbour/source/rtl/gtsln/gtsln.c * harbour/source/vm/classes.c * harbour/source/vm/dynsym.c * harbour/source/vm/hvm.c * harbour/source/vm/memvars.c * harbour/source/vm/runner.c * casting: changed some 'char *' to 'const char *', added const to some other declarations, added workaround for GCC warnings about dereferencing pointer with strict-aliasing optimization, etc. 2007-05-21 13:20 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/pp/ppcore.c ! fixed E"..." ! added new hack for strings inside [] 2007-05-21 13:11 UTC+0100 Miguel Angel Marchuet (miguelangel/at/marchuet.net) * contrib/bmdbfcdx/bmdbfcdx1.c * minor warning fix on os/2 compile. 2007-05-20 13:29 UTC+0100 Viktor Szakats * harbour/source/rtl/hbffind.c ! Added HB_EXPORT for hb_fsFind*() functions. (missed from prev commit) 2007-05-20 01:00 UTC+0100 Hannes Ziegler <hz@knowleXbase.com> * source\tip\thtml.prg Changed code to avoid errors with VC8 --> error C2440: 'initializing' : cannot convert from 'void *' to 'char *' --> error C3861: 'tolower': identifier not found 2007-05-19 15:40 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbclass.ch * formatting * harbour/include/hbpp.h * harbour/source/pp/ppcore.c + added support for: #pragma escapedstrings = on cStr := "some value with internal \" character" #pragma escapedstrings = off + added support for multiline strings in escaped strings * harbour/source/compiler/gencobj.c * minor simplification * harbour/source/rtl/hbffind.c * always set hb_fsError() * harbour/source/rtl/mlcfunc.c ! fixed minor typo 2007-05-19 00:15 UTC+0100 Hannes Ziegler <hz@knowleXbase.com> * source\tip\thtml.prg Changed code to avoid warnings -> Warning W0001 Ambiguous reference -> Warning w0027 Meaningless use of expression 2007-05-18 22:45 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapierr.h * harbour/source/rtl/errorapi.c * changed 'char hb_errFuncName' to 'const char hb_errFuncName' * harbour/source/compiler/ppcomp.c * added note about Harbour exception in header * harbour/include/hbapifs.h * harbour/source/rtl/fserror.c + added hb_getFError(), hb_setFError() * harbour/source/rtl/philes.c * harbour/source/rtl/philes53.c * use hb_getFError()/hb_setFError() in F*() functions * harbour/source/rtl/disksphb.c * harbour/source/rtl/fssize.c * fixed setting hb_fsError() * harbour/source/rtl/console.c * harbour/source/rtl/dirdrive.c * harbour/source/rtl/diskspac.c * harbour/source/rtl/hbgtcore.c * harbour/source/rtl/philesx.c * harbour/source/rtl/set.c * harbour/source/rtl/gtcgi/gtcgi.c * harbour/source/rtl/gtpca/gtpca.c * harbour/source/rtl/gtstd/gtstd.c * removed code to save/restore hb_fsError() 2007-05-18 17:45 UTC+0100 Hannes Ziegler <hz@knowleXbase.com> * source\tip\thtml.prg Changed HTML parser to handle malformed HTML files more graciously. Changed Attribute parser to detect hardcoded empty values (""). 2007-05-18 07:24 UTC+0100 Fernando Mancera (fmancera@viaopen.com) * contrib/adordd/adordd.prg * ADO_GETFIELDTYPE() Improved * ADO_GETFIELDSIZE() Now support MEMO Field 2007-05-17 00:36 UTC+0100 Viktor Szakats * harbour/utils/hbtest/rt_misc.prg ! SET EOLs guarded with __HARBOUR__ to make it compile on other platforms. 2007-05-17 00:20 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/TODO * removed some not longer necessary TODO/FIXME * harbour/common.mak * harbour/source/rtl/Makefile - harbour/source/rtl/memoline.c - harbour/source/rtl/mlcount.c - harbour/source/rtl/mlctopos.c - harbour/source/rtl/mlpos.c - harbour/source/rtl/mpostolc.c + harbour/source/rtl/mlcfunc.c * new version of memo line functions: MEMOLINE(), MLCOUNT(), MLPOS(), MLCTOPOS(), MPOSTOLC() * harbour/include/hbexpra.c ! fixed in HB_COMPAT_XHB build hb_enumIndex() used inside internal FOR/NEXT loop * harbour/include/hbpp.h * harbour/source/pp/ppcore.c ! removed some not longer necessary hack % added some speed optimizations - it's not done in the way I want to have in the final version but with some very small modifications it should make people using a lot of #[x]translate (Enrico ;-)) happy. * harbour/source/rtl/set.c * minor cleanup in HB_SET_EOL initialization * harbour/source/vm/hvm.c * clean MEMO flag in array and hash items created by { MEMOFILED, ... } or { "KEY" => MEMOFILED, ... } and optimized results of PLUS operation * harbour/utils/hbtest/rt_misc.prg * SET EOL to CHR(13) + CHR( 10 ) before MLCTOPOS() tests to avoid false alarm on platforms with differ default EOL 2007-05-16 16:27 UTC+0100 Viktor Szakats * harbour/ChangeLog + Added one missing entry (2007-05-15 15:40 UTC+0300). * harbour/include/hblass.ch ! Fix added for misplaced *UNUSED() macro. (Thanks Juan) * harbour/include/hbapifs.h ! Added HB_EXPORT for hb_fsFind*() functions. 2007-05-16 11:03 UTC+0100 Miguel Angel Marchuet (miguelangel/at/marchuet.net) * /include/hbclass.h ! fixed INLINE, incorrect parameters are passed to. reported by Juan Galvez. 2007-05-15 15:40 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/source/compiler/gencobj.c ! fixed unrecoverable error "hb_xfree called with an invalid pointer" related to HB_CFG_FILE implementation 2007-05-14 15:40 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/compiler/harbour.y * harbour/source/compiler/harbour.yyc * harbour/source/compiler/hbmain.c ! fixed memory leak when error appears during generating codeblock 2007-05-13 09:20 UTC+0100 Antonio Linares (alinares@fivetechsoft.com) * contrib/adordd/adordd.prg * Improved ADO_PUTVALUE() 2007-05-11 18:34 UTC+0100 Viktor Szakats * harbour/source/compiler/hbmain.c * harbour/source/compiler/harbour.yyc ! Fixed error message text when unclosed multiline codeblock was detected (said: <||...> instead of {||...}). (two more places) 2007-05-11 18:30 UTC+0100 Hannes Ziegler <hz@knowleXbase.com> + tests\tiptest\loadhtml.prg + tests\tiptest\dbtohtml.prg + source\tip\thtml.prg New HTML classes + THtmlDocument() + THtmlIterator() + THtmlIteratorScan() + THtmlIteratorRegEx() + THtmlNode() New HTML functions + AnsiToHtml() + HtmlToAnsi() + HtmlToOem() + OemToHtml() + THtmlCleanup() + THtmlInit() + THtmlIsValid() + include\thtml.ch * source\tip\ftpcln.prg + added method :pwd() As a short introduction: 1) THtmlDocument() objects read/write HTML files and streams 2) THtmlNode() objects know HTML and raise errors upon illegal HTML code 3) THtmlNode() objects know the "+" and "-" operator for opening/closing an HTML tag 4) THtmlNode() objects know the ":" operator for querying/creating a HTML node .OR. attribute (sending an unknown message results in a query of lookup tables. If that query is successful, a HTML node .OR. the value of an attribute is returned. Otherwise, a runtime error is raised) 2007-05-11 18:24 UTC+0100 Viktor Szakats * harbour/source/compiler/harbour.y ! Fixed error message text when unclosed multiline codeblock was detected (said: <||...> instead of {||...}). ; FIXME: In this same case two memory blocks are not released: source\main\harbour.c:329: HB_TR_ERROR Block 1 0098C39C (size 100) source\main\harbour.c:329: HB_TR_ERROR Block 2 0098C200 (size 92) 2007-05-12 17:43 UTC+0200 Lorenzo Fiorini (lorenzo.fiorini/at/gmail.com) * harbour/contrib/tip/cgi.prg * support of option encoding in StartHtml * removed language= in htmlscript * fixed use of pre and post parameters in HtmlOption * now TipCgi code is validated xhtml 1.0 strict 2007-05-12 11:10 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/hbffind.c ! fixed typo in my previous commit 2007-05-12 10:48 UTC+0100 Antonio Linares (alinares@fivetechsoft.com) * contrib/adordd/adordd.prg * OrdCreate() fixed * OrdDestroy() implemented 2007-05-12 10:45 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbcomp.h * harbour/include/hbexpra.c * harbour/include/hbexprb.c * harbour/include/hbexprop.h * harbour/include/hbpp.h * harbour/source/compiler/complex.c * harbour/source/compiler/harbour.y * harbour/source/compiler/harbour.yyc * harbour/source/compiler/harbour.yyh * harbour/source/compiler/hbmain.c * harbour/source/pp/ppcore.c + added support for extended multiline codeblocks: { |<params,...>| <EOL> <statement1> ... <statementN> return <val> } Such codeblocks allow nested definitions. They can also have their own variable declarations (local, static, field, memvar, parameters, private, public) and visibility of declared variables is similar to nested function in Pascal but please note that there is one limitation which exists also for normal codeblocks (Clipper compatible behavior): internal codeblock local parameters and local variables cannot be used in nested codeblocks, e.g. such code: eval( { |p| eval( {|| qout( p + 1 ) } ) } ) is illegal in Clipper and Harbour. This limitation also can be eliminated but but it will be necessary to make deeper modifications in code for local detaching changing the method of generating codeblocks local variables in nested blocks so unlike the above also some modifications in HVM will be necessary. Please test. 2007-05-11 22:50 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbcomp.h * harbour/include/hbcompdf.h * harbour/include/hbexpra.c * harbour/include/hbexprb.c * harbour/source/compiler/complex.c * harbour/source/compiler/genc.c * harbour/source/compiler/gencli.c * harbour/source/compiler/genobj32.c * harbour/source/compiler/harbour.y * harbour/source/compiler/harbour.yyc * harbour/source/compiler/harbour.yyh * harbour/source/compiler/hbmain.c * changed code used for variable scoping - now it's much more simple (only one function) and allows to use declarations in nested functions/codeblocks with visibility similar to Pascal ! fixed parsing FILED <fields,...> IN <alias> we were accepting code like: FIELD f1, f2 IN db1, f3 IN db2 IN db3 and for all fields the last alias (db2 in this example) was used ! fixed calculating number of static variables with -b (debugger) compilation (number of file wide statics were doubled) ! fixed generation of static variable names for debugger when declared with array dimensions, e.g.: static sVar[3] * harbour/source/rtl/hbffind.c * minor cleanup *nix version * harbour/contrib/bmdbfcdx/bmdbfcdx1.c ! fixed casting for C++ compilation * harbour/source/rdd/dbfdbt/dbfdbt1.c * updated for some old API modifications (this library is not used now but if we keep it in CVS then I think it should be updated) 2007-05-11 18:09 UTC+0100 Antonio Linares (alinares@fivetechsoft.com) * contrib/adordd/adordd.prg * COMMIT changes 2007-05-11 14:27 UTC+0100 Antonio Linares (alinares@fivetechsoft.com) * contrib/adordd/adordd.prg * some minor changes 2007-05-11 10:17 UTC+0100 Viktor Szakats * harbour/source/rtl/filehb.c * Changed one old FIXME to a NOTE regarding a minor incompatibility in FILE() where the filename is RTrim()-ed in Clipper but not in Harbour. It became a NOTE because making it compatible would mean losing some portability. * harbour/source/rtl/hbffind.c ! Removed code in Unix branch which would change an empty file mask to "*" (thus causing FILE("") to return .T. and DIRECTORY("") to return the whole dir content.) ! Made sure in Unix branch that an empty file mask won't return any files regardless of the filename matching method used. * harbour/source/rtl/strmatch.c + Added NOTE about hb_WildMatch() / sx_WildMatch() incompatibility. ! Guarded WILDMATCH() with HB_COMPAT_XHB. * WILDMATCH() now calls HB_WILDMATCH() internally. 2007-05-11 01:04 UTC+0100 Antonio Linares (alinares@fivetechsoft.com) * contrib/adordd/adordd.prg * Reduced used variables and memory 2007-05-10 08:13 UTC+0100 Antonio Linares (alinares@fivetechsoft.com) * contrib/adordd/adordd.prg * FoxPro support 2007-05-09 15:28 UTC+0100 Antonio Linares (alinares@fivetechsoft.com) * contrib/adordd/adordd.prg * Improved ADO_CLEARREL() 2007-05-09 15:03 UTC+0100 Fernando Mancera (fmancera@viaopen.com) * contrib/adordd/adordd.prg + Improved Deleted() 2007-05-09 10:55 UTC+0100 Antonio Linares (alinares@fivetechsoft.com) * contrib/adordd/adordd.prg + Added function HB_AdoRddGetRecordSet( [<nWorkArea>] ) --> oAdoRecordset 2007-05-09 10:41 UTC+0100 Antonio Linares (alinares@fivetechsoft.com) * contrib/adordd/adordd.prg + New functions HB_AdoRddGetConnection( [<nWorkArea>] ) --> oAdoConnection and HB_AdoRddGetCatalog( [<nWorkArea>] ) --> oAdoCatalog 2007-05-09 10:10 UTC+0200 Lorenzo Fiorini (lorenzo.fiorini/at/gmail.com) * harbour/config/w32/mingw32.cf * fixed typo * harbour/include/Makefile * removed reference to deleted hbrddwrk.h * harbour/include/std.ch * added SET EOL <x> clause * harbour/include/hbcompat.ch * fixed typos and added TEXT INTO * harbour/contrib/gd/Makefile * fixed install of includes * harbour/contrib/gd/gdwrp.c * fixed warnings 2007-05-08 16:06 UTC+0300 Chen Kedem <niki@synel.co.il> * source/rtl/mlctopos.c ! Make the function MLCTOPOS() more compatible. FIXME note added about existing problems. * utils/hbtest/rt_misc.prg + Add some tests for MLCTOPOS() 2007-05-07 19:42 UTC+0100 Antonio Linares (alinares@fivetechsoft.com) * contrib/adordd/adordd.prg * Added some connection strings, borrowed from xharbour 2007-05-07 15:46 UTC+0100 Fernando Mancera (fmancera@viaopen.com) * contrib/adordd/adordd.prg * ADO_GOTOID() borrowed from xHarbour with modifications 2007-05-07 14:06 UTC+0100 Fernando Mancera (fmancera@viaopen.com) * contrib/adordd/adordd.prg * DbRSelect() and DbRelation() implemented 2007-05-07 11:28 UTC+0100 Antonio Linares (alinares@fivetechsoft.com) * contrib/adordd/adordd.prg * INDEX ON ... implementation * OrdListClear() and OrdListAdd() implementation 2007-05-07 11:04 UTC+0300 Chen Kedem <niki@synel.co.il> * source/rtl/mlctopos.c ! Fix bug#1635288 - Make the function MLCTOPOS() more Clipper compatible. Also, the WordWrap value was taken from the wrong parameter. 2007-05-07 02:20 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rdd/dbcmd.c * initialize lpaParent in DBRELINFO structure to pArea - please note that this initialization is ignored by default SETREL() RDD method * harbour/source/rdd/usrrdd/usrrdd.c ! fixed GPF when NULL lpaParent or lpaChild was used in DBRELINFO structure 2007-05-06 11:42 UTC+0100 Antonio Linares (alinares@fivetechsoft.com) * contrib/adordd/adordd.ch * New define added * contrib/adordd/adordd.prg * SET RELATION implementation 2007-05-06 20:30 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rdd/wacore.c * harbour/source/vm/classes.c * harbour/include/hbapirdd.h * harbour/source/compiler/hbmain.c * updated HB_TRACE messages and some minor cleanups * harbour/source/rdd/dbcmd.c ! fixed initialisation of DBRELINFO dbSetRelation() - thanks to Antonio for locating the problem * harbour/source/rtl/idle.c * increase timeout in nanosleep() from 1 microsecond to 1 millisecond - removed some wrong comment 2007-05-06 16:15 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/classes.c * changed __cls_IncData() to return index to newly allocated instance item and __cls_DecData() to return number of local (not inherited) instance items 2007-05-06 11:42 UTC+0100 Viktor Szakats * harbour/source/rtl/hbrandom.c ! HB_RANDOMSEED() fixed to correctly handle passed parameter. (Thanks to Mitja Podgornik) 2007-05-05 12:08 UTC+0100 Viktor Szakats * harbour/source/rtl/tget.prg ! Fixed a recently introduced crash in Get():ColorDisp(). (Thanks to Teo Fonrouge) 2007-05-05 10:28 UTC+0100 Antonio Linares (alinares@fivetechsoft.com) * contrib/adordd/adordd.prg * Improved formatting and xharbour compatibility 2007-05-04 15:35 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/Makefile * harbour/contrib/bmdbfcdx/Makefile * harbour/source/rdd/Makefile ! fixed GNU make compilation * harbour/include/hbapifs.h * harbour/source/rtl/filesys.c + added support for DOS/Windows DENY_* flag emulation in POSIX systems using BSD locks. So far such emulatin was done with standard POSIX locks. The new emulation can be enabled by setting HB_USE_BSDLOCKS and disabled by HB_USE_BSDLOCKS_OFF. By default it's enabled in Linux and BSD* based systems. Please not that it BSD locks work in differ way then POSIX ones. They are bound with file handle and process ID not i-node and PID. It will allow to synchronize even single process but it will not work in NFS and some old BSD and Linux kernels. This synchronization cannot be used also between different platforms. If someone needs such synchronization then he should build Harbour on all platforms with HB_USE_BSDLOCKS_OFF and HB_USE_SHARELOCKS with valid multi platform lock offset * harbour/source/rdd/dbcmd.c * removed all explicit NETERR setting - now it can be set only by NETERR() function (executed by default errorsys) * changed ordListAdd()/dbSetIndex() - now they return logical value with information about success * harbour/source/rdd/wafunc.c * changed hb_rddOpenTable()/hb_rddCreateTable() to make dbUseArea()/ dbCreate() more Clipper compatible - it's not exact Clipper behavior but I intentionally do not want to replicate some strange for me things, e.g. I do not know why Clipper ignores RDDNAME when it has only one character + harbour/tests/tstuse.prg + test code for dbUseArea() 2007-05-04 11:06 UTC+0100 Miguel Angel Marchuet (miguelangel/at/marchuet.net) * source/rdd/wafunc.c * change of the behavior of DbUseArea opening, so that one behaves like made Clipper, when it fails the opening of a table, does not recover the previous area. 2007-05-04 10:15 UTC+0100 Miguel Angel Marchuet (miguelangel/at/marchuet.net) + contrib/bmdbfcdx/Makefile + contrib/bmdbfcdx/bmdbfcdx1.c + contrib/bmdbfcdx/bmsixcdx1.c + contrib/bmdbfcdx/hbrddbmcdx.h + contrib/bmdbfcdx/make_b32.bat + contrib/bmdbfcdx/makefile.bc + contrib/bmdbfcdx/readme.txt + BMDBFCDX RDD: Is a DBFCDX RDD compatible with clipper 5.3, use SET OPTIMIZE ON to make a static bitmap filters, with SET OPTIMIZE OFF works as harbour DBFCDX. Addons: BM_DbSeekWild( uKey, [lSoftSeek], [lFindLast], [lNext], [lAll] ) => .T./.F. or aSeekRec when lAll clause BM_Turbo( lOnOff ) // Is only recomendable to use it on creating FILTERS BM_DbGetFilterArray() => aFilterRec BM_DbSetFilterArray( aFilterRec ) BM_DbSetFilterArrayAdd( aFilterRec ) BM_DbSetFilterArrayDel( aFilterRec ) Respecting command: SET OPTIMIZE Change the setting that determines whether to optimize using the open orders when processing a filtered database file ------------------------------------------------------------------------------ Syntax SET OPTIMIZE ON | OFF | (<lToggle>) Arguments ON enables optimization. OFF disables optimization. <lToggle> is a logical expression that must be enclosed in parentheses. A value of true (.T.) is the same as ON, and a value of false (.F.) is the same as OFF. Note: The initial default of this setting depends on the RDD. Description For RDDs that support optimization, such as BMDBFCDX, SET OPTIMIZE determines whether to optimize filters based on the orders open in the current work area. If this flag is ON, the RDD will optimize the search for records that meet the filter condition to the fullest extent possible, minimizing the need to read the actual data from the database file. If this flag is OFF, the RDD will not optimize. Examples * The following example enables optimization for the Inventor database file using the SET OPTIMIZE command: USE Inventor NEW VIA "BMDBFCDX" SET OPTIMIZE ON 2007-05-03 16:22 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rdd/usrrdd/usrrdd.c * updated casting for recent modifications in RDD API 2007-05-03 16:10 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/common.mak * harbour/include/hbapirdd.h - harbour/include/hbrddwrk.h * harbour/source/rdd/Makefile + harbour/source/rdd/wacore.c + harbour/source/rdd/wafunc.c * harbour/source/rdd/workarea.c * cleaned RDD code: * the default work area implementation from which each RDD inherits and RDD management is now in workarea.c file - this part will be common for all threads in future MT version * the code to mange workareas and aliases moved to wacore.c - this code uses some static variables which will be moved to HVM stack in MT version * helper RDD functions thread independent moved to wafunc.c * harbour/source/rdd/dbcmd.c * removed RDD/WorkArea management code - only independent HB_FUNCs left. IMHO it will be good to divide this file into few ones. * changed dbCreate() and dbUseArea() to return logical value * harbour/config/global.cf - removed nulsys from linked library list - it should not be here because it can confuse some linkers and wrong library will be created * harbour/contrib/rdd_ads/ads1.c * harbour/source/rdd/dbf1.c * harbour/source/rdd/delim1.c * harbour/source/rdd/sdf1.c * harbour/source/rdd/dbfcdx/dbfcdx1.c * harbour/source/rdd/dbfdbt/dbfdbt1.c * harbour/source/rdd/dbffpt/dbffpt1.c * harbour/source/rdd/dbfntx/dbfntx1.c * harbour/source/rdd/nulsys/nulsys.c * updated for recent modifications in RDD API * harbour/include/hbextern.ch - removed __RDDSETDEFAULT() - this function was necessary with old rdd register code and we not not need it for few years. It's not Clipper function so I do not see any reason to keep it but if you want we can add wrapper to standard RDDSETDEFAULT() * harbour/source/rdd/hbsix/sxcompr.c + added workaround for SIX3 bug which I intentionally replicated in [x]Harbour but it may cause data corruption so IMHO it will be better to fix it. * harbour/source/rtl/errorsys.prg * added default action for EG_LOCK - it's Clipper compatible behavior but done in differ way. Due to some differences in linker we are using we cannot exactly replicate Clipper behavior because it will not work on some platforms as expected so I decided to add it here. I think it's even more Clear then the trick with source/sys/ntxerr.prg done by Clipper. Many people do not even knows about it. * harbour/source/rtl/gtcrs/chrmap.c * changed environment variable name from HB_CHRMAP to HB_CHARMAP to be compatible with description in default map file 2007-05-01 22:53 UTC+0100 Antonio Linares (alinares@fivetechsoft.com) * contrib/adordd/adordd.prg * DbCreate() implementation just for Microsoft Access + contrib/adordd/access2.prg * DbCreate() sample with Microsoft Access 2007-05-01 08:48 UTC+0100 Antonio Linares (alinares@fivetechsoft.com) * contrib/adordd/adordd.ch * contrib/adordd/adordd.prg * LOCATE and CONTINUE support + contrib/adordd/mysql3.prg * MySQL LOCATE and CONTINUE sample 2007-04-30 21:58 UTC+0100 Antonio Linares (alinares@fivetechsoft.com) * contrib/adordd/adordd.prg * IndexKey( n ) support 2007-04-30 20:58 UTC+0100 Antonio Linares (alinares@fivetechsoft.com) * contrib/adordd/adordd.prg * ZAP implemented. GO TOP fixed for empty tables 2007-04-30 10:15 UTC+0100 Fernando Mancera (fmancera@viaopen.com) * contrib/adordd/adordd.prg * ADO connection objects and ADO catalog objects are automatically created, stored and used by the ADORDD 2007-04-29 17:34 UTC+0100 Antonio Linares (alinares@fivetechsoft.com) * contrib/adordd/adordd.prg * Oracle support, thanks to Srdjan Dragojlovic * contrib/adordd/adordd.ch * formatting 2007-04-29 12:42 UTC+0100 Antonio Linares (alinares@fivetechsoft.com) * contrib/adordd/adordd.prg * SET FILTER TO ... support i.e.: SET FILTER TO First = "Homer" To use special SQL expressions, place quotation marks around them, i.e.: SET FILTER TO "City LIKE 'Chi*'" 2007-04-27 19:33 UTC+0100 Antonio Linares (alinares@fivetechsoft.com) * contrib/adordd/adordd.ch * contrib/adordd/adordd.prg * QUERY support and MS SQL support (thanks to Vikthor!) 2007-04-27 14:35 UTC+0100 Fernando Mancera (fmancera@viaopen.com) * contrib/adordd/adordd.prg * Minor change to header file name 2007-04-27 13:05 UTC+0200 Lorenzo Fiorini (lorenzo.fiorini/at/gmail.com) * harbour/source/rtl/set.c * harbour/include/set.ch * harbour/include/hbset.h * added support for SET EOL <x> as in xHarbour * harbour/source/rtl/mlcount.c * fixed count for softcr * harbour/include/hbcompat.ch * added compatibility for isregex(string) function * harbour/contrib/tip/cgi.prg * changed return of StartSession to Self 2007-04-27 10:53 UTC+0100 Fernando Mancera (fmancera@viaopen.com) + contrib/adordd/adordd.ch + contrib/adordd/adordd.prg + contrib/adordd/make_b32.bat + contrib/adordd/makefile.bc + contrib/adordd/access1.prg + contrib/adordd/mysql1.prg * ADORDD header file, source code, makefiles and samples 2007-04-24 10:38 UTC+0100 Viktor Szakats * harbour/source/rtl/tget.prg * harbour/source/rtl/tgetint.prg * harbour/tests/rto_get.prg * Minor fixes, cleanups, formatting. 2007-04-23 23:28 UTC+0100 Viktor Szakats * harbour/source/rtl/diskspac.c ! Fixed to return free space instead of disk size under Unix OSes. * harbour/source/rtl/tget.prg ! Fixed checking for invalid GET var types. ! More C5x compatible behaviour for invalid types. ! ::UnTransform() fixed when not in focus. - ::UnTransform() cBuffer incompatible parameter removed. ! ::Reform() probably made more compatible. + ::PosInBuffer() Xbase++ compatible method implemented. (but not tested or compared with Xbase++) ! ::Minus assignment fixed. ! ::Clear assignment fixed. ! ::Changed assignment fixed. ! ::Buffer assignment fixed. ! ::Block assignment fixed. ! ::Name assignment fixed. ! ::UnTransform() extra parameter removed. ! ::UpdateBuffer() minor fix when not in focus. ! ::Reform() made more compatible. % ::SetFocus() some superfluous stuff removed. % ::SetFocus() some fixes, cleanups. ! ::KillFocus() now sets ::TypeOut properly. ! ::VarPut(), ::VarGet() fixed for invalid ::Subscript contents. ! ::VarPut(), ::VarGet() fixed for invalid ::Block content. ! ::Pos rewritten to be fully compatible. ! ::ColorSpec made fully compatible. ! ::UnTransform() fixed when not in focus. ! ::UnTransform() fixed handling "YL" in string pictures. % ::UnTransform() minor optimization. % ::PutMask() some hacks removed. ! ::PutMask() invalid types handling. ! ::BackSpace() fixed when not in focus. ! ::Delete() fixed when not in focus. ! ::DeleteAll() fixed when not in focus. ! ::IsEditable() fixes. ! ::Picture fixes for invalid types, assignment behaviour. ! ::Picture hacks removed. ! Non-assignable vars made READONLY. (will generate different RTEs than in CA-Cl*pper due to the more refined oo engine in Harbour.) ! ::BadDate changed to be a METHOD. ! ::DecPos fixed. ! ::ToDecPos fixes. ! ::Row assigment and behaviour fixes. ! ::Col assigment and behaviour fixes. + Several comments and NOTEs added. * harbour/include/hbapigt.h * harbour/source/rtl/gtapi.c * harbour/source/rtl/setcolor.c + hb_gtColorsToString() public API added. + hb_NToColor() function added to convert a single color value (returned by hb_ColorToN()) back to a string. Used in TGet():ColorSpec implementation. * harbour/source/vm/fm.c * "Blocks" -> "Block(s)" * harbour/tests/rto_get.prg + Added many test cases. * harbour/source/vm/cmdarg.c + Added support to use "--" instead of "//" for internal command line options. * harbour/source/rtl/tbcolumn.prg + Formatting. * harbour/source/rtl/tbrowse.prg + Added Harbour (undocumented) extension NOTE. * harbour/include/Makefile - harbour/include/usrrdd.ch + harbour/include/hbusrrdd.ch * harbour/source/rdd/usrrdd/usrrdd.c * harbour/source/rdd/usrrdd/rdds/dbtcdx.prg * harbour/source/rdd/usrrdd/rdds/fcomma.prg * harbour/source/rdd/usrrdd/rdds/fptcdx.prg * harbour/source/rdd/usrrdd/rdds/hscdx.prg * harbour/source/rdd/usrrdd/rdds/rlcdx.prg * harbour/source/rdd/usrrdd/rdds/smtcdx.prg * harbour/contrib/pgsql/pgrdd.prg ! Changed public header filename to comply with the "hb*.ch" rule. (namespace protection) 2007-04-23 18:25 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbcomp.h * harbour/include/hbcompdf.h * harbour/include/hbexpra.c * harbour/include/hbexprb.c * harbour/include/hbexprop.h * harbour/source/common/expropt1.c * harbour/source/compiler/genc.c * harbour/source/compiler/harbour.y * harbour/source/compiler/hbmain.c * harbour/source/compiler/hbopt.c ! reverted fix for unnecessary -W2 warning: Function '...' does not end with RETURN statement in code like: func f(v) if v return "TRUE" else return "FALSE" endif Sorry but I had to make it because this fix was wrong and causes that code like: func f(v) if v ? v else return "FALSE" endif was compiled without any warnings but wrong PCODE was generated. In some spare time I'll try to implement valid RETURN detection, now simply add RETURN NIL at the end of such functions - it will be removed by dead code eliminator. ! fixed memory leak when more then one .prg file was given as compiler parameter + cleaned some code for future modifications * harbour/source/macro/macro.y + added small hack for two BCC/OW warnings * harbour/source/compiler/harbour.yyc * harbour/source/compiler/harbour.yyh * harbour/source/macro/macro.yyc * harbour/source/macro/macro.yyh * regenerated with modified Bison version which should give code without BCC warnings - I cannot promise I'll keep it in the future but I will try. * harbour/source/rdd/dbcmd.c ! use default RDD instead of current one in COPY TO and APPEND FROM * harbour/source/vm/classes.c * added support for (@func()):eval(...) 2007-04-23 14:30 UTC+0100 Hannes Ziegler <hz@knowleXbase.com> * changed TIP classes to comply with OOP rules * source\tip\client.prg Adapted all :new() method(s) so that tIPClient becomes the abstract super class for TIpClientFtp, TIpClientHttp, TIpClientPop and TIpClientSmtp + Added Method :INetErrorDesc() + Added Method :lastErrorCode() + Added Method :lastErrorMessage() - Removed method :data() since it calls an undeclared method :getOk() :data() is used in TIpClientSmtp * fixed bugs resulting in corrupted file downloads * source\tip\ftpcln.prg Added missing FTP functionalities + Added method :rmd() + Added method :listFiles() + Added method :mput() Supports progress bars * Changed method :downloadFile() to enable display of download progress * Changed method :uploadFile() to enable display of upload progress * source\tip\encoder.prg + Added FUNCTION TIp_GetEncoder( cModel ) * source\tip\mail.prg Added "high-level" methods to easily (de)compose an eMail (with file attachments) + Added method :setHeader() + Added method :attachFile() + Added method :detachFile() + Added method :getFileName() + Added method :isMultiPart() + Added method :getMultiParts() * source\tip\popcln.prg New methods for easy eMail retrieval + Added method :countMail() + Added method :retrieveAll() * source\tip\smtpcln.prg New method to work with TIpMail objects + Added method :sendMail() 2007-04-20 21:46 UTC+0100 Viktor Szakats * harbour/source/rtl/tbcolumn.prg * harbour/source/rtl/tbrowse.prg * harbour/source/rtl/teditor.prg * harbour/source/rtl/tget.prg * harbour/source/rtl/tgetlist.prg % Avoiding INLINE for speed. % Using INIT for quicker object initialization. + Added TGet() NOTEs, FIXME. ! Fixed some problems in TGetList. (Two GetApplyKey() potential RTEs.) ! Fixed a few missing "CLASS TBrowse"-es. ; Some formatting, code cleaning. 2007-04-20 04:05 UTC+0100 Viktor Szakats * harbour/source/rtl/tget.prg * harbour/tests/Makefile + harbour/tests/rto_get.prg ; Fixed lots of minor bugs and differences between CA-Cl*pper and Harbour Get system. The following methods got most of the fixes: + ::Reform() undocumented C52 method added. ! ::Display() fixed when not having focus. (old FIXME) ! ::UpdateBuffer() fixed when not having focus. ! ::SetFocus() fixed to do nothing when already having focus. ! ::KillFocus() made almost fully compatible. (the ::Assign() call is still raising questions) ! ::Reset() made compatible. ! ::VarPut() fixed when not having focus. ! ::Undo() made compatible. ! ::Type() behaviour now fully C5x compatible. ! ::Block() assignment now fully C5x compatible. ! ::OverStrike() fixed RTE when not having focus. ! ::Insert() fixed RTE when not having focus. ! ::ToDecPos() fixed to set ::Changed. ! ::PutMask() fixed to not pad the string to ::nMaxLen to be fully compatible with C5x. ! ::DecPos, ::Pos initialization made compatible. (here the CA-Cl*pper NG is wrong in stating that these vars ever hold NIL, they don't and they hold 0s instead) ! ::Minus more compatible but still far from perfect. % ::ParsePict() integrated into ::Picture() - ::HasScroll() internal method removed. ! ::HitTest() guarded with HB_COMPAT_C53. + Propely marked Get vars/methods as PROTECTED/VISIBLE. % Several minor optimizations, meaningless code elimination. ; Formatting, removed many old commented code snippets. + Added regression style tests for basic Get methods. All the above fixes was the result of comparing Get object var dumps after calling different methods in different order. ; Notice that there could be new/rare cases when any of the above methods would need more fixes, in that case the regression test is there to check if the existing behaviour stayed the same after the fix and it's also very useful to add the new cases to the test. 2007-04-19 00:15 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/gd/gdwrp.c * harbour/contrib/libmisc/hb_f.c * harbour/contrib/samples/dbf.c * harbour/contrib/samples/time.c * harbour/doc/es/hb_apiln.txt * harbour/include/hbapicdp.h * harbour/include/hbapilng.h * harbour/source/rdd/dbcmd.c * harbour/source/rdd/dbnubs.c * harbour/source/rdd/hsx/cftsfunc.c * harbour/source/rtl/accept.c * harbour/source/rtl/defpath.c * harbour/source/rtl/oemansi.c * harbour/source/rtl/pad.c * harbour/source/rtl/shadow.c * harbour/source/rtl/trim.c * harbour/source/vm/debug.c * changed HB_FUNCNAME( <name> )() to HB_FUNC_EXEC( <name> ) * harbour/utils/hbrun/Makefile * changed order of linked libraries * harbour/source/rtl/empty.c * changed EMPTY( <symboItem> ) - not it returns .T. when <symboItem> is not a function symbol * harbour/source/rtl/errorapi.c % replaced all hb_dynsym{Find,Get}*() by static variables initialized at HVM startup variables - it reduce the cost of creating and initializing error object about 50% * harbour/include/hbapifs.h * harbour/source/rtl/fssize.c * harbour/source/rtl/hbffind.c * changed to use 64-bit file API + harbour/contrib/libct/ctextern.ch + added list with EXTERN requests for our CT3 function. List generated automatically from final binary CT lib created on Linux. 2007-04-18 10:43 UTC+0100 Viktor Szakats * harbour/source/codepage/cp_tpl.c + Added NOTE about the fact that hb_Translate() (and hb_cdpTranslate()) would only work properly if all codepages for the same language are using the exact same number of lowercase/uppercase cp chars in the exact same order. * harbour/source/codepage/Makefile * harbour/common.mak * harbour/source/codepage/cphu852.c * harbour/source/codepage/cphu852s.c * harbour/source/codepage/cphuiso.c + harbour/source/codepage/cphuisos.c * harbour/source/codepage/cphuwin.c + harbour/source/codepage/cphuwins.c ! Synced HU WIN and HU ISO codepage lower/uppercase strings with HU 852, so that hb_Translate() works properly. (this means there are now several duplicate chars included in the WIN/ISO versions, along with a non-HU char, all just needed to stay compatible with original CA-Cl*pper HU/852 index ordering and keep hb_Translate() working at the same time.) IMO, we'd need to introduce a separate "collation" string in each cp file to detach index ordering from upper/lowercase and codepage translation without any hacks, since as this example shows these two are not always in sync. (or, as an alternative we might want to make codepage translation more sophisticated, like converting first to unicode and convert back to the other codepage from unicode, but that leads a bit further.). (If I'm missing something, pls don't hesitate to clarify) + Added SixDriver compatible HU ISO/WIN codepage files for the reasons described above. * harbour/include/hbapicdp.h * harbour/source/rtl/cdpapi.c * harbour/source/codepage/cpbg866.c * harbour/source/codepage/cpbgiso.c * harbour/source/codepage/cpbgwin.c * harbour/source/codepage/cpcs852.c * harbour/source/codepage/cpcsiso.c * harbour/source/codepage/cpcskam.c * harbour/source/codepage/cpcswin.c * harbour/source/codepage/cpeldos.c * harbour/source/codepage/cpelwin.c * harbour/source/codepage/cpesdos.c * harbour/source/codepage/cpesmwi.c * harbour/source/codepage/cpeswin.c * harbour/source/codepage/cpfrdos.c * harbour/source/codepage/cpgedos.c * harbour/source/codepage/cpgewin.c * harbour/source/codepage/cphr1250.c * harbour/source/codepage/cphr437.c * harbour/source/codepage/cphr852.c * harbour/source/codepage/cphu852.c * harbour/source/codepage/cphu852s.c * harbour/source/codepage/cphuiso.c * harbour/source/codepage/cphuwin.c * harbour/source/codepage/cpit437.c * harbour/source/codepage/cpit850.c * harbour/source/codepage/cpitisb.c * harbour/source/codepage/cpitiso.c * harbour/source/codepage/cpltwin.c * harbour/source/codepage/cppl852.c * harbour/source/codepage/cppliso.c * harbour/source/codepage/cpplmaz.c * harbour/source/codepage/cpplwin.c * harbour/source/codepage/cppt850.c * harbour/source/codepage/cpptiso.c * harbour/source/codepage/cpru866.c * harbour/source/codepage/cprukoi.c * harbour/source/codepage/cpruwin.c * harbour/source/codepage/cpsl437.c * harbour/source/codepage/cpsl852.c * harbour/source/codepage/cpsliso.c * harbour/source/codepage/cpslwin.c * harbour/source/codepage/cpsrwin.c * harbour/source/codepage/cptrdos.c * harbour/source/codepage/cptrwin.c * harbour/source/codepage/cpua866.c * harbour/source/codepage/cpuakoi.c * harbour/source/codepage/cpuawin.c * harbour/source/codepage/uc1250.c * harbour/source/codepage/uc1251.c * harbour/source/codepage/uc1253.c * harbour/source/codepage/uc1254.c * harbour/source/codepage/uc1257.c * harbour/source/codepage/uc737.c * harbour/source/codepage/uc850.c * harbour/source/codepage/uc852.c * harbour/source/codepage/uc857.c * harbour/source/codepage/uc866.c * harbour/source/codepage/uc88591b.c * harbour/source/codepage/uc8859_1.c * harbour/source/codepage/uc8859_2.c * harbour/source/codepage/uc8859_5.c * harbour/source/codepage/uckam.c * harbour/source/codepage/uckoi8.c * harbour/source/codepage/uckoi8u.c * harbour/source/codepage/ucmaz.c ! #define namespace issue in public API header file corrected: CPID_* -> HB_CPID_* UNITB_* -> HB_UNITB_* * harbour/source/compiler/gencobj.c ! Fixed warning. 2007-04-18 09:43 UTC+0200 Lorenzo Fiorini (lorenzo.fiorini/at/gmail.com) * harbour/source/compiler/gencobj.c * fixed declaration 2007-04-18 09:23 UTC+0200 Lorenzo Fiorini (lorenzo.fiorini/at/gmail.com) * harbour/source/compiler/gencobj.c * added support of HB_CFG_FILE envvar which define the file name to use for -go compiler switch borrowed from xHarbour * harbour/config/w32/mingw32.cf * fixed a typo 2007-04-18 00:00 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/mysql/Makefile * changed library name from mysql to hbmysql * harbour/bin/hb-func.sh + added hbgd hbole hbpg hbmysql to linked library list in hb* scripts 2007-04-17 23:05 UTC+0200 Lorenzo Fiorini (lorenzo.fiorini/at/gmail.com) * harbour/contrib/gd/Makefile * added install of gd.ch * harbour/contrib/gd/gd.prg * removed two unused vars * harbour/contrib/libct/ctnet.c * harbour/contrib/libct/Makefile * added ctnet.c borrowed from xHarbour * harbour/contrib/pgsql/postgres.c * fixes some warnings * harbour/contrib/tip/cgi.prg * added session name parameter * harbour/include/hbcompat.ch * added gtProcessMessages() translate 2007-04-17 20:00 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rdd/dbcmd.c ! update NetErr() in ordListAdd() If you know other then dbCreate()/dbUseArea() functions which reset NetErr() flag in Clipper then please report them. We will have to update our functions (dbSetIndex() is a wrapper to ordListAdd() so you nay not report it ;)) * harbour/source/rtl/gtstd/gtstd.c * do not stop Harbour process when controlling terminal has TOSTOP attribute set (as long as no direct out is done) * harbour/source/rtl/tclass.prg * harbour/source/rtl/terror.prg * harbour/source/rtl/tobject.prg * set valid class function * harbour/source/rtl/tmenuitm.prg * harbour/source/rtl/tpopup.prg ! I think that no one has been checking what these code does for very long time. Both MenuItem() and PopUp() on each call tries to create new _CLASSES_ called "MenuItem" and "PopUpMenu" instead of creating only new instance of these classes (new objects) Updated to use standard hbclass.ch commands. If possible try to not create classes manually and always use documented commands from hbclass.ch 2007-04-17 19:34 UTC+0100 Viktor Szakats * harbour/source/common/hbver.c + Added Vista and 2003 Windows versions. * Updated Cygwin/Mingw compiler names. 2007-04-17 04:20 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapi.h * harbour/source/vm/dynsym.c * removed const from return value of hb_dynsymName() to not force updating of existing 3rd party code 2007-04-17 04:12 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/itemseri.c * cleaned OW warnings 2007-04-17 04:10 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapi.h * harbour/source/vm/dynsym.c * changed some declarations from 'char *' to 'const char *' * harbour/include/hbapicls.h * harbour/source/vm/classes.c * changed some declarations from 'char *' to 'const char *' + added hb_clsFuncName(), hb_clsFindClass(), hb_objSetClass() * harbour/source/rtl/itemseri.c ! fixed some stupid typos in previous commit * added support for serialization of object variables - I'm not sure it's good idea anyhow people ask about it so we have it. Probably we should add some special method like OnError(), e.g.: OnRestore() or something like that and execute it after deserialization or object cloning. 2007-04-17 01:55 UTC+0100 Antonio Linares (alinares@fivetechsoft.com) + contrib/ole2/make_b32.bat + contrib/ole2/makefile.bc * Borland makefile for HBOleAut.lib * contrib/ole2/win32ole.prg * minor fix 2007-04-17 01:32 UTC+0100 Antonio Linares (alinares@fivetechsoft.com) * contrib/ole2/win32ole.prg * contrib/ole2/w32ole.c * Some changes to get them working on Harbour 2007-04-17 01:17 UTC+0100 Antonio Linares (alinares@fivetechsoft.com) + contrib/ole2 + contrib/ole2/win32ole.prg + contrib/ole2/w32ole.c * win32ole.prg borrowed from xharbour, source modifications by Przemek 2007-04-16 22:45 UTC+0100 Viktor Szakats * harbour/source/rtl/hbinet.c ! Warnings fixed for Darwin (gcc 4.0.1 OSX 10.4.9 PPC) * harbour/source/rtl/idle.c ! Fixed releasing idle CPU cycles. (thanks Przemek) The committed method was tested against usleep( 1 ) and usleep( 100 ) and found to work perfect as opposed to the usleep() calls. * harbour/source/rtl/tget.prg ! Adjusted my old FIXME note. 2007-04-16 21:30 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbcompat.ch * always translate hash H*() function to HB_H*() ones even if HB_COMPAT_XHB is set. Code which uses HB_H*() functions can be linked with any Harbour builds * harbour/include/hbapi.h * harbour/source/vm/hashes.c + added hb_hashId() * harbour/source/pp/ppcore.c + added #ytranslate, #ycommand, #yuntranslate, #yuncommand case sensitive version of corresponding #x* directives * harbour/source/rtl/itemseri.c + added support for serialization arrays and/or hashes with cyclic references 2007-04-16 21:25 UTC+0200 Lorenzo Fiorini (lorenzo.fiorini/at/gmail.com) * harbour/source/rtl/tget.prg * harbour/source/rtl/tgetlist.prg * fixed ::UpdateBuffer() * source/codepage/uc88591b.c * source/rtl/gtxwc/gtxwc.c * added support for Euro sign 2007-04-16 11:45 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/compiler/hbmain.c * harbour/source/compiler/ppcomp.c ! fixed file name in errors/warnings generated from PP just after including some file 2007-04-16 01:50 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/debug/debugger.prg * removed some not longer necessary GTWVW extensions * harbour/source/rtl/hbgtcore.c * harbour/contrib/libct/ctwin.c + added support for GTI_{NEW,GET,SET}WIN in CTWIN Now debugger can be used with CTWIN without any problems 2007-04-16 00:20 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/common.mak * harbour/bin/pack_src.sh * harbour/source/vm/Makefile - harbour/source/vm/dbgentry.c * harbour/source/debug/Makefile + harbour/source/debug/dbgentry.c * moved dbgentry.c from HVM to DEBUG library * harbour/source/rtl/hbgtcore.c + added basic version of GTI_{NEW,GET,SET}WIN * harbour/include/hbapidbg.h * harbour/source/vm/hvm.c * harbour/source/debug/debugger.prg * harbour/source/debug/dbgentry.c + added set of .prg level functions (HB_DBG_*()) to control debugger internals * eliminated HB_INLINE() calls * use to switch between user and debugger screen * cleaned debugger interface in HVM, removed unused variables added one common debug function 2007-04-15 14:57 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/common/hbver.c ! fixed typo in buffer size passed to snprintf() 2007-04-15 14:35 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/compiler/hbmain.c * harbour/source/vm/dbgentry.c * harbour/source/vm/hvm.c ! fixed GPF in debugger 2007-04-15 11:20 UTC+0200 Francesco Saverio Giudice (info/at/fsgiudice.com) + harbour/contrib/gd/tests/images_in/conv_test.jpeg + harbour/contrib/gd/tests/images_in/gdlogobig.png + harbour/contrib/gd/tests/images_in/theclipper.gif + uploaded in binary form 2007-04-15 11:17 UTC+0200 Francesco Saverio Giudice (info/at/fsgiudice.com) - harbour/contrib/gd/tests/images_in/empty.jpeg - harbour/contrib/gd/tests/images_in/conv_test.jpeg - harbour/contrib/gd/tests/images_in/gdlogobig.png - harbour/contrib/gd/tests/images_in/theclipper.gif - removed from CVS because not marked as binary I will upload them in binary form on next commit, but not empty.jpeg 2007-04-14 14:31 UTC+0100 Viktor Szakats * harbour/include/hbcompat.ch ! Added copyright and CVS header. ! Indentation fixes. 2007-04-14 13:47 UTC+0200 Francesco Saverio Giudice (info/at/fsgiudice.com) * harbour/include/hbcompat.ch * added xharbour compatible hash translations 2007-04-14 13:36 UTC+0200 Francesco Saverio Giudice (info/at/fsgiudice.com) * harbour/bin/bld.bat * added HB_USER_LIB var to bcc link line to make usable bldtest.bat Question: Is there a way to build from bcc adding contrib libs ? - harbour/contrib/gd/hbgd.txt + harbour/contrib/gd/doc/hbgd.txt * moved in doc dir + harbour/contrib/gd/doc/COPYING + gd copyright text (it's free for any use, but this file has to be reported) + harbour/contrib/gd/include/entities.h + harbour/contrib/gd/include/gd.h + harbour/contrib/gd/include/gd_io.h + harbour/contrib/gd/include/gdcache.h + harbour/contrib/gd/include/gdfontg.h + harbour/contrib/gd/include/gdfontl.h + harbour/contrib/gd/include/gdfontmb.h + harbour/contrib/gd/include/gdfonts.h + harbour/contrib/gd/include/gdfontt.h + harbour/contrib/gd/include/gdfx.h + harbour/contrib/gd/include/gdhelpers.h + harbour/contrib/gd/include/jisx0208.h + harbour/contrib/gd/include/wbmp.h + include files for compiling in windows environment + harbour/contrib/gd/tests/digits/57chevy.gif + harbour/contrib/gd/tests/digits/7seg.gif + harbour/contrib/gd/tests/digits/brsd.gif + harbour/contrib/gd/tests/digits/digib.gif + harbour/contrib/gd/tests/digits/fdb.gif + harbour/contrib/gd/tests/digits/jelly.gif + harbour/contrib/gd/tests/digits/odb.gif + harbour/contrib/gd/tests/digits/odw.gif + harbour/contrib/gd/tests/digits/pdg.gif + harbour/contrib/gd/tests/digits/pdw.gif + digits images for counter.prg sample + harbour/contrib/gd/gdexternal.ch + external declarations for use with linker + harbour/contrib/gd/make_b32.bat + harbour/contrib/gd/makefile.bc + harbour/contrib/gd/tests/bldtest.bat + harbour/contrib/gd/tests/bldtest.sh + make files * harbour/contrib/gd/tests/images_in/conv_test.jpeg * harbour/contrib/gd/tests/images_in/gdlogobig.png * harbour/contrib/gd/tests/images_in/theclipper.gif * updated images (I got them corrupted, probably is CVS ?) * harbour/contrib/gd/README * harbour/contrib/gd/gd.prg * harbour/contrib/gd/gdbar.prg * harbour/contrib/gd/gdbarcod.prg * harbour/contrib/gd/gdchart.prg * harbour/contrib/gd/gdimage.prg * harbour/contrib/gd/gdwrp.c * harbour/contrib/gd/tests/animgif.prg * harbour/contrib/gd/tests/antialiased.prg * harbour/contrib/gd/tests/barms.prg * harbour/contrib/gd/tests/bartest.prg * harbour/contrib/gd/tests/counter.prg * harbour/contrib/gd/tests/gdtestcls.prg * harbour/contrib/gd/tests/test_out.prg * harbour/contrib/gd/tests/testdpi.prg * harbour/contrib/gd/tests/tostring.prg * fixed hbgd files ! Please test in other environment. I have built harbour as downloaded from CVS, no HB_COMPAT_XHB defined 2007-04-14 12:40 UTC+0100 Viktor Szakats * harbour/include/hbstdgen.ch * harbour/include/box.ch * harbour/include/hbclass.ch * harbour/include/hbcommon.ch * harbour/include/hbextern.ch * harbour/include/hbgetcmt.ch * harbour/include/hbsetup.ch * harbour/include/ord.ch * harbour/source/rdd/dbdelim.prg * harbour/source/rdd/dbfuncs.prg * harbour/source/rdd/dbjoin.prg * harbour/source/rdd/dblist.prg * harbour/source/rdd/dbsort.prg * harbour/source/rdd/dbstrux.prg * harbour/source/rdd/dbtotal.prg * harbour/source/rdd/dbupdat.prg * harbour/source/rdd/rddord.prg * harbour/source/rtl/alert.prg * harbour/source/rtl/browdb.prg * harbour/source/rtl/browdbx.prg * harbour/source/rtl/checkbox.prg * harbour/source/rtl/dircmd.prg * harbour/source/rtl/getsys.prg * harbour/source/rtl/input.prg * harbour/source/rtl/mssgline.prg * harbour/source/rtl/pushbtn.prg * harbour/source/rtl/radiobtn.prg * harbour/source/rtl/radiogrp.prg * harbour/source/rtl/setfunc.prg * harbour/source/rtl/setta.prg * harbour/source/rtl/tbcolumn.prg * harbour/source/rtl/tget.prg * harbour/source/rtl/tgetint.prg * harbour/source/rtl/tmenuitm.prg * harbour/source/rtl/tpopup.prg * harbour/source/rtl/ttopbar.prg * harbour/source/rtl/typefile.prg * harbour/source/vm/harbinit.prg * harbour/utils/hbrun/external.prg * harbour/utils/hbtest/rt_main.ch + Following #defines are now available by default without the need to #include "hbsetup.ch". These are of course also available for applications as defined at Harbour build time: HB_EXTENSION HB_C52_UNDOC HB_C52_STRICT HB_COMPAT_C53 HB_COMPAT_XPP HB_COMPAT_VO HB_COMPAT_FLAGSHIP HB_COMPAT_FOXPRO HB_COMPAT_DBASE HB_COMPAT_CLIP HB_COMPAT_XHB HB_SHORTNAMES HB_FILE_VER_STATIC * harbour/source/compiler/hbusage.c * Mail address update. 2007-04-14 11:56 UTC+0100 Viktor Szakats * harbour/source/debug/dbgtarr.prg ! Fixed unclosed #if construct. Question: What does HB_NO_READDBG do? * harbour/source/rtl/tget.prg ! Removed :Assign() call from :UpdateBuffer() to close the functionality to CA-Cl*pper. 2007-04-13 19:05 UTC+0200 Lorenzo Fiorini (lorenzo.fiorini/at/gmail.com) * harbour/include/Makefile ! added install of hbcompat.ch * harbour/source/debug/dbgtarr.prg * harbour/source/debug/dbgtobj.prg * harbour/source/debug/dbgthsh.prg * added missed #ifndef HB_NO_READDBG 2007-04-13 18:43 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/common.mak * harbour/source/rtl/Makefile + harbour/source/rtl/valtoexp.prg + added HB_VALTOEXP() and HB_CSTR() * harbour/source/debug/dbgthsh.prg * harbour/source/debug/debugger.prg * replaced CSTR() with HB_CSTR() and SETLASTKEY() with HB_SETLASTKEY() now debugger can be used without CT and TIP libraries * harbour/include/hbgtinfo.ch * harbour/source/rtl/hbgtcore.c + added GTI_ISMULTIWIN, GTI_GETWIN, GTI_SETWIN, GTI_NEWWIN and TODO note - it's not finished yet, work in progress 2007-04-13 17:38 UTC+0100 Viktor Szakats * harbour/source/rtl/tget.prg ! Get method UpdateBuffer() fixed to be effective only when the object has focus (as per the C52 docs and Lorenzo's report). 2007-04-13 12:18 UTC+0100 Viktor Szakats * harbour/source/debug/debugger.prg ! Fixed a few compile errors. ! Reapplied (and extended) a former fix regarding the proper handling of the filenames. * harbour/source/rtl/tbrowse.prg ; Cosmetic. 2007-04-13 11:50 UTC+0200 Lorenzo Fiorini (lorenzo.fiorini/at/gmail.com) * harbour/common.mak ! updated for new files * harbour/source/debug/Makefile * harbour/source/debug/dbgbrwsr.prg * harbour/source/debug/dbghelp.prg * harbour/source/debug/dbgmenu.prg * harbour/source/debug/dbgtarr.prg * harbour/source/debug/dbgtmenu.prg * harbour/source/debug/dbgtmitm.prg * harbour/source/debug/dbgtobj.prg * harbour/source/debug/dbgtwin.prg * harbour/source/debug/dbgwa.prg * harbour/source/debug/debugger.prg + harbour/source/debug/dbgaltd.prg + harbour/source/debug/dbgthsh.prg * debugger code borrowed from xHarbour + harbour/include/hbcompat.ch * xHarbour compatibility defines 2007-04-13 11:25 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/common.mak ! updated for new files * harbour/contrib/libct/Makefile - harbour/contrib/libct/math.c + harbour/contrib/libct/ctmath2.c * harbour/contrib/libct/makefile.bc * harbour/contrib/libct/makefile.vc * renamed math.c to ctmath2.c 2007-04-13 03:00 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapi.h + harbour/include/hbapidbg.h * harbour/include/hbcomp.h * harbour/include/hbcompdf.h * harbour/include/hbdebug.ch * harbour/include/hbdefs.h * harbour/source/compiler/Makefile * harbour/source/compiler/genc.c + harbour/source/compiler/hbdbginf.c * harbour/source/compiler/hbmain.c * harbour/source/debug/debugger.prg * harbour/source/rtl/altd.prg * harbour/source/vm/Makefile + harbour/source/vm/dbgentry.c * harbour/source/vm/debug.c * harbour/source/vm/hvm.c + added xHarbour compatible low-level debugger code Without some small exceptions like my hbdbginf.c most of the code created by Phil Krylov <phil a t newstar.rinet.ru> and borrowed from xHarbour with some small modifications. * harbour/source/rtl/gete.c ! fixed memory leak in GETENV() * harbour/source/compiler/hbmain.c ! fixed memory leak when -build or -credit switches were used 2007-04-12 13:55 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbpp.h * harbour/include/hbcomp.h * harbour/source/compiler/hbgenerr.c * harbour/source/compiler/ppcomp.c * harbour/source/pp/ppcore.c * harbour/source/pp/pplib.c * harbour/utils/hbpp/hbpp.c * harbour/utils/hbpp/hbppcore.c * harbour/utils/hbpp/hbppdef.h * changed error and warning messages to const char * * harbour/source/compiler/genhrb.c * rewritten to work on memory buffers and with new compiler code * harbour/include/hbcomp.h * harbour/include/hbcompdf.h * harbour/source/compiler/hbmain.c * harbour/source/main/harbour.c + added LANG_PORT_OBJ_BUF which allow to generate .hrb files into memory buffers * harbour/source/compiler/hbcmplib.c + added HB_COMPILEBUF() functions which returns compiled .hrb file as string item * harbour/source/vm/runner.c + added support for executing compiled .hrb files stored in string items in __HRBRUN() function - it works just like in __HRBLOAD() * harbour/harbour.spec * harbour/utils/hbrun/hbrun.prg + added default include directories to hbrun * use HB_COMPILEBUF() instead of HB_COMPILE() to eliminate temporary files 2007-04-12 11:14 UTC+0300 Chen Kedem <niki@synel.co.il> * source/rtl/tget.prg ! Fix bug#1672233 - Picture masks for Logical GET variables. * source/lang/msgtrdos.c * source/lang/msgtrwin.c ! Change ID from TR to TR857 and TRWIN. * doc/en/lang.txt + Update language and codepage lists with the latests additions. * doc/dirstruc.txt + Add short description to the newly added directories. 2007-04-11 22:20 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/common.mak + added compiler.lib to linked libraries 2007-04-11 22:00 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/compiler/harbour.y * harbour/source/compiler/harbour.yyc ! fixed some possible false warning messages * harbour/include/hboo.ch * harbour/source/vm/classes.c + added support for HB_OO_MSG_PROPERTY and HB_OO_MSG_CLASSPROPERTY to make some xHarbour users happy ;-) * harbour/common.mak * harbour/harbour.spec * harbour/include/hbcompdf.h * harbour/source/compiler/Makefile + harbour/source/compiler/hbcmplib.c + added HB_COMPILE() function - it accepts exactly the same parameters as harbour compiler and makes the same job :-) * harbour/utils/hbrun/Makefile * harbour/utils/hbrun/hbrun.prg + added support for compilation and direct execution of .prg files Now hbrun can accept as first parameter .hrb or .prg file and if it's .prg file it's compiled and then executed just like .hrb one. In *nixes if you copy compiled hbrun to /usr/bin directory then you can add to your .prg files as first line: #!/usr/bin/hbrun and then after setting executable attribute you can directly execute them, e.g.: ./test.prg If you are using Linux then you can also chose default gt driver by dding to above line: //gt<name> E.g. #!/usr/bin/hbrun //gtstd 2007-04-11 15:25 UTC+0100 Viktor Szakats * harbour/contrib/libnf/mouse1.prg ! Fixed unused variable. * harbour/source/compiler/genc.c % Compact compiler output (-gc0) made even more compact (~20% size reduction). 2007-04-10 14:35 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/Makefile + added hbregex.h * harbour/include/hbclass.ch + added support for ENDCLASS LOCK[ED] + := <clasname> { <constructorParams,...> } * harbour/source/debug/tbrwtext.prg * harbour/source/rtl/memoedit.prg * harbour/utils/hbdoc/ffile1.prg * harbour/utils/hbmake/ffile1.prg * changed code with: super:<msg> to ::super:<msg> I will want to remove lines with: [ ; #translate Super( <SuperClassN> ): => ::<SuperClassN>: ] ; [ ; #translate Super( <SuperClass1> ): => ::<SuperClass1>: ] ; [ ; #translate Super(): => ::<SuperClass1>: ] ; [ ; #translate Super: => ::<SuperClass1>: ] ; [ ; #translate ::Super : => ::<SuperClass1>: ] from our hbclass.ch (at least the last three ones) because they beaks code which uses SUPER identifier * harbour/source/rtl/philes.c * changed FSEEK() to use hb_fsSeekLarge() for OSes which supports large (64-bit) files * harbour/source/vm/classes.c ! updated some comments about function syntax 2007-04-10 13:31 UTC+0100 Viktor Szakats * harbour/common.mak * harbour/source/codepage/Makefile * harbour/source/codepage/cphu852.c + harbour/source/codepage/cphu852s.c ! Default Hungarian 852 codepage made 100% compatible with ntxhu852.obj for CA-Cl*pper 5.x. + Added Hungarian 852 codepage 100% compatible with sixhu852.obj for S*ccessWare SIx Driver. (this was formerly used as the default Hungarian 852 codepage for Harbour, the only change now is the ID and comment cleanup.) 2007-04-10 11:20 UTC+0200 Lorenzo Fiorini (lorenzo.fiorini/at/gmail.com) * harbour/contrib/gd * added new directory * harbour wrapper classes for www.libgd.org graphic library * see README and hbgd.txt for docs 2007-04-06 15:38 UTC+0100 Viktor Szakats * harbour/source/rtl/persist.prg * harbour/source/rtl/tbrowse.prg * harbour/source/rtl/teditor.prg % Replaced __StrT*() internal functions with native Harbour extensions hb_Token*(). % Removed workarounds for problems with the previous implementation of the __StrT*() functions. Please test TEditor (all) and TBrowse class (header/footer line splitting). 2007-04-06 14:33 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/hbtoken.c ! fixed using delimiters longer then 1 character 2007-04-06 11:36 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/lang/msgnl.c * added missing $\Date$ in version string 2007-04-06 02:32 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/common.mak * harbour/source/lang/Makefile + harbour/source/lang/msgnl.c + added Dutch language module by Rene Koot * harbour/config/os2/gcc.cf * commented out -DTCPV40HDRS in CFLAGS * harbour/make_gnu.cmd * added commented by default: set C_USR=-DTCPV40HDRS %C_USR% * harbour/contrib/libnf/menu1.prg * harbour/contrib/libnf/pegs.prg * harbour/contrib/libnf/popadder.prg * harbour/contrib/libnf/savesets.prg * harbour/source/debug/dbgmenu.prg + added missing #include "common.ch" for HB_SYMBOL_UNUSED() * harbour/include/hbclass.ch * renamed __HB_SYMBOL_UNUSED() to __HB_CLS_SYMBOL_UNUSED() to keep the same name convention as for other hbclass definitions/commands * harbour/include/hbsetup.h * added commented by default #define HB_PP_MULTILINE_STRING with small description * harbour/source/rtl/net.c * added missing #include(s) for OS2 build * harbour/source/rdd/dbfcdx/dbfcdx1.c * formatting 2007-04-05 13:31 UTC+0100 Viktor Szakats * harbour/include/hbclass.ch * harbour/include/common.ch ! Using locally declared __HB_SYMBOL_UNUSED() instead of HB_SYMBOL_UNUSED() * harbour/contrib/hgf/os2pm/tform.prg ! Fixed unused symbol. 2007-04-05 10:00 UTC+0200 Lorenzo Fiorini <lorenzo.fiorini/at/gmail.com> * ported from xHarbour/contrib/gd * changed name of the lib from gdlib to hbgd * changed dirs and make files * deleted some files * changed images * changed C and prg for Harbour 2007-04-04 15:30 UTC+0200 Lorenzo Fiorini (lorenzo.fiorini/at/gmail.com) * harbour/contrib/pgsql/tpostgre.prg * removed unused vars * harbour/contrib/tip/cgi.prg * used new hb_serialize/hb_deserialize * removed unused vars * harbour/contrib/tip/ftpcln.prg * harbour/contrib/tip/httpcln.prg * harbour/contrib/tip/mail.prg * harbour/contrib/tip/popcln.prg * removed unused vars 2007-04-04 12:15 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/ChangeLog ! typos * harbour/source/vm/extend.c * formatting 2007-04-04 10:35 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/tip/Makefile - harbour/contrib/tip/atokens.c * removed HB_ATOKENS() - harbour/source/rtl/teditorl.c - removed __STRTOKEN(), __STRTKPTR() * harbour/common.mak * harbour/source/rtl/Makefile * harbour/include/hbextern.ch + harbour/source/rtl/hbtoken.c + added set of functions to manipulate string tokens: HB_TOKENCOUNT( <cString>, [ <cDelim> ], [ <lSkipStrings> ], [ <lDoubleQuoteOnly> ] ) -> <nTokens> HB_TOKENGET( <cString>, <nToken>, [ <cDelim> ], [ <lSkipStrings> ], [ <lDoubleQuoteOnly> ] ) -> <cToken> HB_TOKENPTR( <cString>, @<nSkip>, [ <cDelim> ], [ <lSkipStrings> ], [ <lDoubleQuoteOnly> ] ) -> <cToken> HB_ATOKENS( <cString>, [ <cDelim> ], [ <lSkipStrings> ], [ <lDoubleQuoteOnly> ] ) -> <aTokens> All these functions use the same method of tokenization. They can accept as delimiters string longer then one character. By default they are using " " as delimiter. " " delimiter has special meaning Unlike other delimiters repeated ' ' characters does not create empty tokens, e.g.: HB_ATOKENS( " 1 2 3 " ) returns array: { "1", "2", "3" } Any other delimiters are restrictly counted, e.g.: HB_ATOKENS( ",,1,,2,") returns array: { "", "", "1", "", "2", "" } + added emulation for old __STRTOKEN(), __STRTKPTR() and xHarbour's __STRTOKENCOUNT() by HB_TOKEN*() functions. They do not return exactly the same result as __STRT*() functions which in some cases ignored some delimiters and return wrong results. * harbour/source/rdd/Makefile + harbour/source/rdd/dbsql.c + added __DBSQL() function * harbour/include/hbsetup.h * harbour/source/vm/fm.c + added support for native Windows memory allocation functions It can be enabled by HB_FM_WIN32_ALLOC macro and disable C-RTL memory manager. * harbour/tests/mousetst.prg * touch screen output before MPRESENT() to work with GTXWC 2007-04-03 20:05 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rdd/dbf1.c ! fixed OS code in error message * harbour/source/rtl/gtxwc/gtxwc.c ! fixed MCOL()/MROW() 2007-04-03 14:50 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/hbinet.c ! fixed possible process locking when undefined select() result is used 2007-04-03 14:10 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapi.h * harbour/source/vm/arrays.c + added hb_arrayRevScan() * harbour/source/vm/arrayshb.c + added RASCAN() covered by HB_COMPAT_XHB macro 2007-04-03 13:00 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/compiler/harbour.y * harbour/source/compiler/harbour.yyc ! fixed false warning about unreachable code in switch ...; case ...; exit; case ... statement * disabled some error messages about illegal pass by reference now HVM should not allow to create cyclic reference chain 2007-04-02 19:25 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/ole/oleauto.prg * removed unused local variable * harbour/source/rtl/net.c ! fixed typo in variable name 2007-04-02 19:00 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/hbregex.c + added HB_REGEXHAS() and HB_REGEXLIKE() * harbour/source/rtl/net.c * added support for <nType> parameter in NETNAME() like in xHarbour when nType == 1 NETNAME() returns user name instead of host name. 2007-04-02 16:40 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/htmllib/counter.prg * harbour/contrib/htmllib/htmbrows.prg * harbour/contrib/htmllib/jwindow.prg * harbour/contrib/htmllib/ocgi.prg * harbour/contrib/htmllib/oedit.prg * harbour/contrib/htmllib/ofile.prg * harbour/contrib/htmllib/ohtm.prg * harbour/contrib/htmllib/oini.prg * harbour/contrib/libnf/aading.prg * harbour/contrib/libnf/aredit.prg * harbour/contrib/libnf/clrsel.prg * harbour/contrib/libnf/dispmsg.prg * harbour/contrib/libnf/eltime.prg * harbour/contrib/libnf/floptst.prg * harbour/contrib/libnf/menu1.prg * harbour/contrib/libnf/pegs.prg * harbour/contrib/libnf/popadder.prg * harbour/contrib/libnf/savesets.prg * harbour/contrib/libnf/tbwhile.prg * harbour/contrib/libnf/xbox.prg * harbour/contrib/odbc/todbc.prg * cleaned unused variable warnings 2007-04-01 16:56 UTC+0100 Viktor Szakats * harbour/source/rtl/tgetlist.prg ! Fixed bug #1692268. The fix simply removes two strange lines of code which tried to modify the internal TGet() var "Type", after it read the value contained in the TGet(). Since this would be the job of TGet() alone, and Type() is not an assignable var in CA-Cl*pper, it very much looks like a workaround for something (maybe a shortcoming of an earlier version of TGet()). If anyone knows what was to be achieved with that, pls shout. 2007-04-01 13:47 UTC+0100 Viktor Szakats * harbour/makefile.bc * harbour/makefile.vc * harbour/config/rules.cf * harbour/contrib/btree/makefile.bc * harbour/contrib/htmllib/Makefile.bc * harbour/contrib/htmllib/makefile.vc * harbour/contrib/libct/makefile.bc * harbour/contrib/libct/makefile.vc * harbour/contrib/libgt/makefile.bc * harbour/contrib/libgt/makefile.vc * harbour/contrib/libmisc/makefile.bc * harbour/contrib/libmisc/makefile.vc * harbour/contrib/libnf/makefile.vc * harbour/contrib/libnf/nanfor.bc * harbour/contrib/samples/makefile.bc * harbour/contrib/samples/makefile.vc + harbour/contrib/samples/make_b32.bat + harbour/contrib/samples/make_vc.bat - harbour/contrib/samples/makevc.bat + -w default Harbour build switch changed to -w2, to further maintain code quality. ; Notice that CONTRIB might need some fixing here. + Added proper BC/VC make batch files for "samples". * harbour/include/hbclass.ch * harbour/source/debug/dbgmenu.prg * harbour/source/debug/debugger.prg * harbour/source/rtl/teditor.prg * harbour/utils/hbdoc/genchm.prg * harbour/utils/hbdoc/genhtm.prg * harbour/utils/hbdoc/genng.prg * harbour/utils/hbdoc/genos2.prg * harbour/utils/hbdoc/genpdf1.prg * harbour/utils/hbdoc/genrtf.prg * harbour/utils/hbdoc/os2.prg * harbour/utils/hbmake/hbmake.prg * harbour/utils/hbmake/radios.prg * harbour/utils/hbpptest/pretest.prg * harbour/utils/hbtest/rt_misc.prg + Added HB_SYMBOL_UNUSED() inside codeblocks. ! Removed a few uneeded codeblock parameters. + Added HB_SYMBOL_UNUSED() to some class syntax generated code to avoid unused "Self" var warnings. * harbour/ChangeLog.017 ! Typos. 2007-03-31 12:40 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/Makefile + harbour/include/hbchksum.h * harbour/source/rtl/Makefile + harbour/source/rtl/hbadler.c + harbour/source/rtl/hbcrc.c + harbour/source/rtl/hbmd5.c + added functions to calculate different checksums HB_ADLER( <cValue> [, <nStart> ] ) -> <nCC> HB_CRC32( <cValue> [, <nStart> ] ) -> <nCRC> HB_CRC16( <cValue> [, <nStart> ] ) -> <nCRC> HB_CRC ( <cValue> [, <nStart> ] [, <nPolynomial> ] ) -> <nCRC> HB_CRCCT( <cValue> [, <nStart> ] [, <nPolynomial> ] ) -> <nCRC> HB_MD5( <cString> ) -> <cMD5> HB_MD5FILE( <cFileName> ) -> <cMD5> HB_CRC() is general CRC function which can be used for any polynomial given as second argument, e.g.: 0x104C11DB7 is CRC32 polynomial, 0x18005 -> CRC16, 0x11021 -> CRC16 X.25, 0x1393 -> CRC12, 0x101 -> LCR8 HB_CRCCT() makes exactly the same job but it uses broken algorithm. Unfortunately it seems that this broken version is widely used by many other projects, e.g. HB_CRCCT() gives exactly the same results as COM_CRC() from CT3. Generated results are usually "good enough" but if you do not need compatibility with some other tools which uses broken CRC algorithm then I suggest to not use it. HB_ADLER() is ADLER32 check sum - this function gives the same results as HB_CHECKSUM in xHarbour. HB_MD5*() functions are from Dmitry V. Korzhov code modified a little bit by me for other then x86@32 machines files and buffers longer then 2^32. I also fixed possible problems with wrong results in some cases. * harbour/source/compiler/hbmain.c * increase number of optimization passes * harbour/source/pp/ppcore.c * cleaned C compiler warning 2007-03-30 18:50 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/pp/ppcore.c + added support for multiline string concatenated by ';' e.g.: cVar := "line 1; line 2; line 3" To enable the above it's necessary to build PP with HB_PP_MULTILINE_STRING macro. It's not Clipper compatible extension and it's not enabled by default anyhow old PP worked in such way so I'm leaving the decision to Harbour community if the above should be enabled by default or not. 2007-03-30 15:12 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbexprb.c % optimize PCODE generated for IIF() used as statement * harbour/include/hbpp.h * fixed typo in comment * harbour/source/pp/ppcore.c * fixed .ppo output in some string expressions inside [] * harbour/source/rdd/dbfcdx/dbfcdx1.c * harbour/source/rdd/dbfntx/dbfntx1.c + added some missing DBOI_* actions * harbour/source/rtl/hbregex.c + added comment * harbour/source/vm/hashes.c * set autoadd by default when compiled with HB_COMPAT_XHB macro * harbour/source/debug/debugger.prg * harbour/source/rdd/dbstrux.prg * harbour/source/rtl/tbrowse.prg * removed unnecessary NIL in in IIF() statements * harbour/utils/hbtest/rt_misc.prg * removed unnecessary ::cValue in in IIF() statements 2006-03-28 14:06 UTC-0300 Laverson Espindola <laverson.espindola@newage-software.com.br> * contrib/gd/source/gdbarcode.prg * contrib/gd/source/gdbar.prg + added method to create barcode of the type 2 of 5 * contrig/gd/samples/barcode/bartest.prg + added sample to use barcode of the type 2 of 5 2006-03-21 00:38 UTC+0100 Francesco Saverio Giudice <info/at/fsgiudice.com> * contrib/gd/rules.make * contrib/gd/make_vc.bat * fixed make files * contrib/gd/source/gdwrp.c * fixed linux compilation to align to gd ver. 2.0.28 2007-03-23 04:25 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/harbour.spec * harbour/hbgtmk.sh - removed bison and flex from dependences list 2007-03-23 04:05 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/pack_src.sh + harbour/contrib/pgsql/Changelog + harbour/contrib/pgsql/Makefile + harbour/contrib/pgsql/README + harbour/contrib/pgsql/make_b32.bat + harbour/contrib/pgsql/makefile.bc + harbour/contrib/pgsql/pgrdd.prg + harbour/contrib/pgsql/postgres.c + harbour/contrib/pgsql/postgres.ch + harbour/contrib/pgsql/tpostgre.prg + harbour/contrib/pgsql/tstpgrdd.prg + harbour/contrib/pgsql/tests/Makefile + harbour/contrib/pgsql/tests/async.prg + harbour/contrib/pgsql/tests/cache.prg + harbour/contrib/pgsql/tests/dbf2pg.prg + harbour/contrib/pgsql/tests/simple.prg + harbour/contrib/pgsql/tests/stress.prg + harbour/contrib/pgsql/tests/test.prg + added Postgres SQL library - code borrowed from xHarbour * harbour/source/rtl/empty.c + added support for HASH items * harbour/source/rtl/itemseri.c + added SYMBOL items serialization 2007-03-22 21:30 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * xharbour/contrib/pgsql/postgres.c ! fixed code which was accessing item internals in function PQMETADATA % optimized function PQMETADATA by eliminating repeated array resizing 2007-03-22 12:55 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/common.mak * updated for new files - please check * harbour/harbour.spec * added compiler library * harbour/bin/pack_src.sh * harbour/bin/hb-func.sh * updated for new files and libraries * harbour/config/w32/mingw32.cf * harbour/config/w32/watcom.cf * harbour/config/w32/xcc.cf * added winsock libraries * harbour/include/hbapicdp.h * harbour/source/rtl/cdpapi.c + added hb_cdpicmp() - not case sensitive version of hb_cdpcmp() * harbour/include/hbapiitm.h * harbour/source/vm/itemapi.c + hb_itemStrICmp(), hb_itemCopyFromRef(), hb_itemMoveFromRef() * harbour/include/hbapi.h * harbour/include/hbcomp.h * harbour/include/hbcompdf.h * harbour/include/hbexpra.c * harbour/include/hbexprb.c * harbour/include/hbexprop.h * harbour/include/hbmacro.h * harbour/include/hbpcode.h * harbour/include/hbvmpub.h * harbour/include/hbxvm.h * harbour/source/common/expropt1.c * harbour/source/compiler/complex.c * harbour/source/compiler/genc.c * harbour/source/compiler/gencc.c * harbour/source/compiler/gencli.c * harbour/source/compiler/genhrb.c * harbour/source/compiler/genobj32.c * harbour/source/compiler/harbour.y * harbour/source/compiler/harbour.yyc * harbour/source/compiler/harbour.yyh * harbour/source/compiler/hbdead.c * harbour/source/compiler/hbfix.c * harbour/source/compiler/hblbl.c * harbour/source/compiler/hbmain.c * harbour/source/compiler/hbopt.c * harbour/source/compiler/hbpcode.c * harbour/source/compiler/hbstripl.c * harbour/source/macro/macro.y * harbour/source/macro/macro.yyc * harbour/source/macro/macro.yyh * harbour/source/macro/macrolex.c * harbour/source/vm/Makefile * harbour/source/vm/arrays.c * harbour/source/vm/asort.c * harbour/source/vm/classes.c * harbour/source/vm/eval.c * harbour/source/vm/garbage.c * harbour/source/vm/hvm.c * harbour/source/vm/itemapi.c * harbour/source/vm/macro.c + harbour/source/vm/hashes.c + harbour/source/vm/hashfunc.c + added hash items, e.g.: local h1 := {=>}, h2 := { "a"=>1.234, "b"=>2.345 } ? h2[ "a" ], h2[ "b ] + added support for DYNAMIC function declaration - it allow to define functions which are lately bound at runtime, e.g.: /*** t01.prg ***/ dynamic func1 proc main() local h:=__hrbload("t02.hrb") ? func1() return /*** t02.prg ***/ func func1 return "Hello!!!" % use new FUNCALL structure to hold EXTERNAL and DYNAMIC functions, it reduce memory usage, FUNCALL is much smaller then FUNCTION % use symbol scope bits when possible instead of making some linear scan + added new enumarator message: __ENUMKEY - it allow to access key value when hash item is base enumerator value, e.g.: proc main() local v, h:={"a"=>1.000,"b"=>2.000,"c"=>3.000} heval( h, { |k,v,i| qout( k, v, i ) } ); ? for each v in h ? v, "=>", v:__enumKey(), v:__enumValue(), v:__enumIndex(), ; valtype(v:__enumBase()) v += 0.123 next ? ;heval( h, { |k,v,i| qout( k, v, i ) } ) return + added C level hb_hash*() functions + added support for full HASH item cloning and updated array cloning to also clone nested hashes - please note that xHarbour does not do that, in xHarbour ACLONE() clones _ONLY_ nested arrays and HCLONE() _DOES_NOT_ clone _ANY_ nested items. * harbour/include/hbextern.ch + added hash functions HB_H*() * changed INET*() functions to HB_INET*() + added hash functions H*() and socket functions INET*() when HB_COMPAT_XHB is set * harbour/include/hbtypes.h + added missing HB_EXTERN_BEGIN / HB_EXTERN_END * harbour/include/hbpp.h * harbour/source/pp/ppcore.c ! added protection against automatic word concatenation in some cases ! fixed preprocessing expressions when match marker matches ';' token * harbour/source/rtl/Makefile + harbour/source/rtl/itemseri.c + added functions for item serialization: HB_SERIALIZE() and HB_DESERIALIZE() - these function are not binary compatible with xHarbour functions with the same names but make very similar job with the exception to serialization of codeblock and object variables - Harbour does not allow to serialize codeblocks and serialize objects as arrays. In most cases these functions can replace the xHarbour ones + added HB_DESERIALBEGIN() and HB_DESERIALIZE() functions covered by HB_COMPAT_XHB macro - this functions are only for compatibility with existing xHarbour code, In Harbour HB_DESERIALBEGIN() is dummy function which returns first parameter and HB_DESERIALNEXT() is a simple wrapper to HB_DESERIALIZE() so it's not necessary to use them. * harbour/source/rtl/hbinet.c * changed INET*() functions to HB_INET*() and enable them for default build + added INET*() functions wrappers covered by HB_COMPAT_XHB macro * harbour/source/rtl/hbrandom.c + added HB_RANDOMINT() - xHarbour compatible * harbour/source/rtl/len.c + added support for HASHes * harbour/source/rtl/valtype.c + added support for HASHes + added set of HB_IS*() functions - they are a little bit faster then calling VALTYPE( v ) == <cVal> - removed HB_ISBYREF() - this function cannot longer work, it was using a Clipper incompatible anomalies in passing variables by reference I fixed so it has to stop to work. If it will be realy necessary to implement HB_ISBYREF() function then please inform me - it will have to be done at compiler level or with some much deeper HVM stack checking. * harbour/source/vm/extend.c ! fixed hb_extIsArray() and hb_extIsObject() to work well with parameters passed by reference. Please note that now hb_extIsArray() return TRUE only for pure arrays not object values. * harbour/contrib/Makefile + harbour/contrib/tip/Changelog + harbour/contrib/tip/Makefile + harbour/contrib/tip/atokens.c + harbour/contrib/tip/base64x.c + harbour/contrib/tip/cgi.prg + harbour/contrib/tip/client.prg + harbour/contrib/tip/credent.prg + harbour/contrib/tip/cstr.prg + harbour/contrib/tip/encb64.prg + harbour/contrib/tip/encmthd.c + harbour/contrib/tip/encoder.prg + harbour/contrib/tip/encqp.prg + harbour/contrib/tip/encurl.prg + harbour/contrib/tip/ftpcln.prg + harbour/contrib/tip/hbhex2n.c + harbour/contrib/tip/httpcln.prg + harbour/contrib/tip/mail.prg + harbour/contrib/tip/popcln.prg + harbour/contrib/tip/smtpcln.prg + harbour/contrib/tip/tip.ch + harbour/contrib/tip/url.prg + harbour/contrib/tip/utils.c + added TIP library - code borrowed from xHarbour Please test - a lot of above code is not well tested, also some peaces were written over year ago for different things (e.g. serialization for NETRDD) and now I collected them and committed. The TIP library was not tested at all. It can be compiled but I cannot say if it works - I hope that people familiar with it can make necessary test and fixes. It's also not the final version of low-level HASH item code. I'm working on more efficient structure which uses binary tries but I cannot say when I'll finish it (maybe in this weekend or maybe in next year) so I committed working version now even if I'm not happy with overall performance (BTW not worser then in xHarbour) 2007-03-14 14:45 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapiitm.h * harbour/source/vm/eval.c + added C function hb_execFromArray() * harbour/common.mak * harbour/source/rtl/Makefile + harbour/source/rtl/hbinet.c + added xHarbour compatible INET*() functions - code borrowed from xHarbour with some minor modifications and fixes * harbour/include/hbextern.ch + added regex functions + added INET*() functions when compiled with HB_COMPAT_XHB 2007-03-13 23:35 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/pp/pplib.c ! fixed std rules initialization - now it should also use GC pointer item or __PP_STDRULES will ignore it 2007-03-13 19:40 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapi.h * harbour/include/hbapiitm.h * harbour/source/vm/garbage.c * harbour/source/vm/extend.c * harbour/source/vm/itemapi.c + added hb_gcFunc(), hb_parptrGC(), hb_itemGetPtrGC() hb_parptrGC() and hb_itemGetPtrGC() uses GC cleanup function address to validate if pointer item points to expected memory block type * harbour/source/common/hbhash.c * harbour/source/compiler/hbident.c * formatting and minor modifications * harbour/source/pp/pplib.c * harbour/source/pp/pplib2.c * use hb_parptrGC() to be sure that given pointer item points to PP structure + harbour/include/hbregex.h + harbour/source/rtl/hbregex.c * harbour/source/rtl/Makefile * harbour/common.mak + added support for regular expressions. Now it's enabled by default only in *nixes (POSIX regex) and BCC 5.5 (PCRE regex). Setting HB_PCRE_REGEX macro enables Perl-Compatible Regular Expressions and HB_POSIX_REGEX - POSIX regular expressions. In xHarbour regex support is enabled for all builds because PCRE source code is stored in CVS. If you will want we can make the same. + the following C functions are available: hb_regexCompile(), hb_regexGet(), hb_regexFree(), hb_regexMatch() + the following PGR functions are available: HB_REGEXCOMP(), HB_ISREGEX(), HB_ATX(), HB_REGEX(), HB_REGEXMATCH(), HB_REGEXSPLIT(), HB_REGEXATX(), HB_REGEXALL() They are working in similar way to the ones in xHarbour with the exception to some bug fixes and form of compiled regular expression. In Harbour it's pointer item for which HB_ISREGEX() returns TRUE when in xHarbour it's binary string. * harbour/source/rdd/dbfcdx/dbfcdx1.c * harbour/source/rdd/dbfntx/dbfntx1.c * enabled code to seek in index using regular expressions (DBOI_SKIPREGEX[BACK]) 2007-03-12 14:30 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbexpra.c * emulate xHarbour HB_ENUMINDEX() inside FOR EACH loop when HB_COMPAT_XHB macro is set It's only for compatibility - I strongly suggest to use <unumvar>:__enumIndex() which is more flexible and allow to chose the enumerator variable not only the one from last loop * harbour/include/hbexprb.c * added comment removed from hbexpra.c * harbour/source/compiler/hbmain.c ! fixed GPF which can appear when -b option is used in line numbering inside codeblocks 2007-03-11 11:00 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/main/Makefile * Changed order of linked libraries for linkers with linear library symbols scanning 2007-03-09 13:00 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/compiler/hbmain.c * removed #include "hbmemory.ch" * harbour/source/main/harbour.c * added #include "hbmemory.ch" 2007-03-09 04:40 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/common.mak * harbour/makefile.bc * harbour/makefile.vc * harbour/bin/hb-func.sh * harbour/config/global.cf * harbour/include/error.ch * harbour/include/hbcomp.h * harbour/include/hbcompdf.h * harbour/include/hbexpra.c * harbour/include/hbexprb.c - harbour/include/hbexprc.c * harbour/include/hbexprop.h * harbour/include/hbmacro.h * harbour/source/Makefile * harbour/source/common/expropt1.c * harbour/source/common/expropt2.c * harbour/source/compiler/Makefile - harbour/source/compiler/exproptc.c - harbour/source/compiler/harbour.c * harbour/source/compiler/harbour.y * harbour/source/compiler/harbour.yyc * harbour/source/compiler/hbcomp.c * harbour/source/compiler/hbgenerr.c + harbour/source/compiler/hbmain.c * harbour/source/compiler/hbpcode.c * harbour/source/macro/Makefile * harbour/source/macro/macro.y * harbour/source/macro/macro.yyc - harbour/source/macro/macroc.c + harbour/source/main/Makefile + harbour/source/main/harbour.c * harbour/source/vm/macro.c * resolved name conflicts between compiler and macro compiler. Now new compiler library is created. There are some things which can be improved and cleaned yet but it's enough to create single binaries with compiler+HVM+RTLs. I updated non GNU make files but I cannot tested the modifications - please check and fix me if necessary 2007-03-05 23:30 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbcompdf.h * harbour/include/hbexprb.c * harbour/source/compiler/hbgenerr.c * do not generate warnings about meaningless expression usage in code optimized by short logical expression evaluation, e.g.: proc main() (f1() .or. (f2(), .t.)) return 2007-03-05 14:00 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/config/os2/install.cf * workaround for command line size limitation borrowed from xHarbour 2007-03-05 04:10 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbexpra.c ! fixed GPF when _GET_() parameter is passed in parenthesis 2007-03-04 14:00 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapifs.h * harbour/include/hbcompdf.h * harbour/include/hbpp.h * harbour/source/common/hbfsapi.c * harbour/source/compiler/cmdcheck.c * harbour/source/compiler/harbour.c * harbour/source/compiler/hbusage.c * harbour/source/compiler/ppcomp.c * harbour/source/pp/ppcore.c * cleanup .ppo file creation + new compiler switch: p+ to enable preprocessor tracing when used information about applied rules is stored in .ppt file * harbour/include/hbdefs.h * harbour/source/rtl/gtos2/gtos2.c * OS2 build cleanup 2007-03-02 03:30 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rdd/dbf1.c * harbour/source/rdd/delim1.c * harbour/source/rdd/sdf1.c * harbour/source/rdd/dbfcdx/dbfcdx1.c * harbour/source/rdd/dbffpt/dbffpt1.c * harbour/source/rdd/hbsix/sxcompr.c * harbour/source/rdd/hsx/hsx.c * harbour/source/rdd/usrrdd/usrrdd.c * harbour/source/rtl/cdpapi.c * casting 2007-03-02 00:40 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/pp/ppcore.c * clear included file counter in hb_pp_reset() * insert space after stream comment /* */ - it's not Clipper compatible but it's necessary as long as we have automatic identifier concatenation 2007-03-01 14:10 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/config/os2/global.cf * harbour/contrib/hgf/os2pm/os2pm.c * harbour/include/hbdefs.h * harbour/include/hbgtcore.h * harbour/source/rdd/dbcmd.c * harbour/source/vm/mainpm.c * cleaned OS2 build errors and warnings reported by David Macias. Modifications not tested - OS2 users will have to make tests and reports problems. 2007-03-01 05:22 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/pp/ppcore.c ! fixed comments like /*/*/ 2007-03-01 01:55 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbclass.ch * cleaned scope error message * harbour/include/hbpp.h * harbour/source/pp/ppcore.c * added hack for accepting expressions which start with ':' character as regular/list match markers 2007-02-28 08:10 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbpp.h * harbour/source/compiler/complex.c * harbour/source/compiler/harbour.y * harbour/source/compiler/harbour.yyc * harbour/source/pp/ppcore.c * updated lexer to recognize IF(<exp1>,<exp2>,<exp3>) in expressions like IF(<exp,...>) - it allow to make some grammar rules much more simple. 2007-02-27 12:10 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbcomp.h * harbour/include/hbexpra.c * harbour/include/hbexprb.c * harbour/include/hbexprc.c * harbour/include/hbmacro.h * harbour/include/hbpcode.h * harbour/include/hbxvm.h * harbour/source/common/hbdate.c * harbour/source/compiler/genc.c * harbour/source/compiler/gencc.c * harbour/source/compiler/harbour.c * harbour/source/compiler/harbour.y * harbour/source/compiler/harbour.yyc * harbour/source/compiler/hbdead.c * harbour/source/compiler/hbfix.c * harbour/source/compiler/hblbl.c * harbour/source/compiler/hbopt.c * harbour/source/compiler/hbpcode.c * harbour/source/compiler/hbstripl.c * harbour/source/rtl/abs.c * harbour/source/rtl/at.c * harbour/source/rtl/chrasc.c * harbour/source/rtl/datec.c * harbour/source/rtl/dateshb.c * harbour/source/rtl/diskspac.c * harbour/source/rtl/disksphb.c * harbour/source/rtl/gtfunc.c * harbour/source/rtl/left.c * harbour/source/rtl/len.c * harbour/source/rtl/math.c * harbour/source/rtl/minmax.c * harbour/source/rtl/mod.c * harbour/source/rtl/philes.c * harbour/source/rtl/philesx.c * harbour/source/rtl/replic.c * harbour/source/rtl/round.c * harbour/source/rtl/set.c * harbour/source/rtl/space.c * harbour/source/rtl/strcase.c * harbour/source/rtl/strpeek.c * harbour/source/rtl/transfrm.c * harbour/source/rtl/trim.c * harbour/source/rtl/type.c * harbour/source/rtl/val.c * harbour/source/rtl/word.c * harbour/source/vm/hvm.c * harbour/source/vm/macro.c * added some PCODEs to cover all possible combination of ++, --, <op>= operations in the same way and keep Clipper compatible RT errors. * added some other PCODEs to optimize some commonly used expressions/ statements * use HB_ERR_ARGS_BASEPARAMS instead of hb_paramError() * some other cleanups and minor optimizations * harbour/utils/hbtest/rt_math.prg * update expected result for MOD() - it was not Clipper compatible and it will be hard to make it compatible without introducing some Clipper's side effects 2007-02-25 19:25 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/common/expropt2.c % strip nested parenthesis in expressions like: (((<exp>))) 2007-02-25 17:10 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbstdgen.ch * added #undef HB_COMPAT_XHB * harbour/source/common/hbstr.c * indenting * harbour/source/compiler/ppcomp.c * updated line numbering in #pragma dump code and error messages executed for disabled code * harbour/source/pp/ppcore.c * changed the precedence of #pragma BEGINDIUMP/ENDDUMP - now it has higher precedence then conditional compilation with #IF[DEF]/#ENDIF * added support for defined() pseudo function in #IF / #ELIF directives, e.g.: #if defined( __HARBOUR__ ) .and. !defined( HB_COMPAT_XHB ) #stdout "Harbour compiler compiled without xHarbour extensions." #endif 2007-02-22 13:38 UTC+0100 Viktor Szakats * harbour/contrib/libct/makefile.bc * harbour/contrib/libct/makefile.vc ! Synced with GNU makefile changes. 2007-02-22 08:40 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbexprop.h * harbour/source/common/expropt1.c + added hb_compExprAsNumSign() * harbour/include/hbexprc.c * optimize lValue++ and ++lValue * harbour/source/common/hbdate.c * minor optimization * harbour/source/compiler/cmdcheck.c * maximum supported warning level should be 3 not 4 * harbour/include/hbxvm.h * harbour/source/compiler/gencc.c * harbour/source/vm/hvm.c * use separate functions for equal and exactly equal operations * cleanup and some other minor optimizations * harbour/source/compiler/hbopt.c * optimize PCODEs for code like: lVar:=lVar, sVar:=sVar, mVar:=mVar, ... * harbour/include/common.ch * changed HB_SYMBOL_UNUSED( symbol ) to ( symbol := ( symbol ) ) It's a little bit simpler version and now it's also stripped by PCODE optimizer * harbour/source/compiler/harbour.c * harbour/source/compiler/harbour.y * harbour/source/compiler/harbour.yyc * eliminated some redundant rules * optimized PCODEs generated for FOR/NEXT code and removed some old hardcoded optimization for local variables - if it will be worth to optimize then such optimization will be done by expression optimizer * chaned a little bit WITHOBJECT syntax. Now WITHOBJECT somefunc(); END is not silently ignored and call to somefunc() is left. This optimization also works when there are empty line between WITHOBJECT and END * harbour/source/rdd/dbf1.c ! fixed for GPF in DBRI_RAWDATA, DBRI_RAWMEMOS (Peter Rees fix in xHarbour) 2007-02-22 03:22 UTC+0100 Viktor Szakats * harbour/source/rtl/tget.prg ! Fixed :Type to not return NIL right after the GetNew() call. 2007-02-21 22:37 UTC+0100 Viktor Szakats * harbour/include/common.ch + Changed HB_SYMBOL_UNUSED() to also work in codeblock. Thanks to Przemek. 2007-02-18 12:40 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/common.mak * harbour/source/compiler/Makefile * harbour/source/compiler/hbfix.c + harbour/source/compiler/hbopt.c * divided hbfix.c into two separated functions: - hb_compFixFuncPCode() which only fix generated PCODE updating local parameters numbers when PARAMETERS is used - hb_compOptimizePCode() which makes PCODE optimization It allows to not execute hb_compFixFuncPCode() when PARAMETERS is not use and execute hb_compOptimizePCode() more then once in optimization process. * harbour/hbgtmk.sh * updated CVS server name * harbour/include/hbcomp.h * harbour/include/hbcompdf.h * harbour/source/compiler/complex.c * harbour/source/compiler/harbour.c * harbour/source/compiler/harbour.y * harbour/source/compiler/harbour.yyc * harbour/source/compiler/hbcomp.c * harbour/source/compiler/hbgenerr.c * harbour/source/compiler/hbident.c * changed code for generating in PCODE line numbers and module names there was serious problem with line numbers and module names in old code - in many cases line numbers were not generated at all or generated in wrong places. Also file module name was not updated when inside of function some code was included with #include For such situation now modified version of HB_P_MODULE is generated with module name only but without function name, e.g.: HB_P_MODULE "test.prg:" exactly the same form of HB_P_MODULE is used in xHarbour. Debugger code should be updated to recognize such HB_P_MODULE version Ryszard any chance that you can look at it? And what about syncing with xHarbour debugger? I can add some missing functions to compiler and HVM but I do not want to update next peace of code myself. Sorry but I do not have enough time. I'd prefer to finish some other things I'm working. If Ryszard is busy can someone else try to port xHarbour debugger to Harbour? 2007-02-14 00:15 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/libct/ctwfunc.c * harbour/contrib/libct/ctwin.c * harbour/contrib/libct/ctwin.h + added CTWIN compatible ALERT - it works in differ way then the standard Clipper one. In the moment when CTWIN is activated (it's enough to call any CTWIN function like WOPEN()/WBOARD(),... or CTWINIT()) standard ALERT() is replaced by CTWIN one build in inside CTWIN GT driver. It allocates separate window for ALERT box and makes differ formatting of passed text. TODO: add support for SET KEY blocks 2007-02-13 21:00 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/hb-func.sh * do not pass linking parameters to GCC/G++ when is used for compilation only * harbour/contrib/rdd_ads/Makefile * set -DWIN32 for W32 compilation * harbour/contrib/rdd_ads/makefile.bc * formatting * harbour/include/hbapi.h * harbour/source/rtl/strcase.c + added hb_charUpper() and hb_charLower() * harbour/include/hbapigt.h * harbour/include/hbgtcore.h * harbour/source/rtl/gtapi.c * harbour/source/rtl/hbgtcore.c + added support for ALERT() on GT level - C functions: hb_gtAlert()/ hb_gt_Alert() To replicate some details of Clipper and CT3 behavior ALERT() cannot be implement only on upper level as .prg function * harbour/source/rtl/gtfunc.c + added .prg function HB_GTALLERT() * harbour/source/rtl/alert.prg * redirected ALERT() to HB_GTALLERT() * harbour/source/rtl/fstemp.c * use the same case conversion as in low-level hb_fs*() functions to avoid possible problems with national characters * harbour/source/rtl/dates.c * harbour/source/rtl/set.c * harbour/source/rtl/strmatch.c * harbour/source/rtl/transfrm.c * use hb_charUpper() * casting 2007-02-12 16:50 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/rdd_ads/ads1.c * do not release FLOCK() after DBAPPEND() - only RLOCKs should be removed * harbour/contrib/rdd_ads/rddads.h * set ADS_REQUIRE_VERSION when not set by user scripts 2007-02-12 10:50 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/pp/ppcore.c ! fix line numbering when preprocess static buffers, e.g. by __PP_PROCESS() * harbour/source/rtl/strcase.c * harbour/source/rtl/transfrm.c - removed unnecessary extern PHB_CODEPAGE hb_cdp_page; 2007-02-09 00:28 UTC+0100 Viktor Szakats * harbour/source/rtl/isprint.c * harbour/include/hbapi.h ! hb_printerIsReady() C level function made public again. + Added proper declaration for it. * harbour/bin/bld.bat ! Mistakenly committed change undone. 2007-02-09 00:10 UTC+0100 Viktor Szakats * harbour/source/common/hbstr.c ! Fixed three BCC5.5 warnings. 2007-02-08 23:55 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbgtinfo.ch * harbour/contrib/libct/ctwin.c * harbour/source/rtl/gtalleg/gtalleg.c * harbour/source/rtl/gtcrs/gtcrs.c * harbour/source/rtl/gtdos/gtdos.c * harbour/source/rtl/gtos2/gtos2.c * harbour/source/rtl/gtpca/gtpca.c * harbour/source/rtl/gtsln/gtsln.c * harbour/source/rtl/gtstd/gtstd.c * harbour/source/rtl/gtwin/gtwin.c * harbour/source/rtl/gtwvt/gtwvt.c * harbour/source/rtl/gtxwc/gtxwc.c + added support for GTI_FULLSCREEN, GTI_KBDSUPPORT, GTI_ISCTWIN * harbour/source/rtl/hbgtcore.c ! fixed line and box drawing when the coordinates are out of screen size * harbour/include/hbapi.h * harbour/include/hbcomp.h * harbour/include/hbpcode.h * harbour/include/hbstack.h * harbour/include/hbvm.h * harbour/include/hbxvm.h * harbour/source/compiler/complex.c * harbour/source/compiler/genc.c * harbour/source/compiler/gencc.c * harbour/source/compiler/harbour.c * harbour/source/compiler/harbour.y * harbour/source/compiler/harbour.yyc * harbour/source/compiler/harbour.yyh * harbour/source/compiler/hbdead.c * harbour/source/compiler/hbfix.c * harbour/source/compiler/hblbl.c * harbour/source/compiler/hbpcode.c * harbour/source/compiler/hbstripl.c * harbour/source/vm/classes.c * harbour/source/vm/estack.c * harbour/source/vm/hvm.c * harbour/source/vm/itemapi.c ! added protection against cyclic references in arrays * eliminated action parameter from hb_vmRequestReenter() / hb_vmRequestRestore() * moved s_lRecoverBase and s_uiActionRequest to HB_STACK structure for future MT HVM version + added internal item structure hb_struRecover - it's not real item but this structure is used to keep information about BEGIN SEQUENCE data - it reduce HB_STACK usage + added support for ALWAYS clause in BEGIN SEQUENCE The syntax is: BEGIN SEQUENCE <code> [ RECOVER [ USING oErr ] ] <recoverCode> [ ALWAYS ] <alwaysCode> END [ SEQUENCE ] It's guaranteed that <alwaysCode> is _ALWAYS_ executed even if inside <code> or <recoverCode> some new exceptions like RETURN, BREAK or QUIT will appear. Please note that when the following code is executed: BEGIN SEQUENCE <code> ALWAYS <alwaysCode> END (without RECOVER clause) then BREAK exception inside <code> is not recovered, <alwaysCode> is executed and then BREAK exception is passed to outer BEGIN SEQUENCE. This is the same semantic as used in TRY / [ CATCH ] / FINALLY / END Those of you who prefer to use TRY / CATCH / FINALLY / END instead of BEGIN SEQUENCE / RECOVER / ALWAYS / END can simply add to your source code: #command TRY => BEGIN SEQUENCE #command CATCH [ oErr ] => RECOVER [ USING <oErr> ] and: errorBlock( {|oErr| break( oErr ) } ) Though instead of 'break( oErr )' I suggest to use some small function which will support some basic recovery/substitute operations like in default errorsys() and LockErrHandler() to not break existing code which may depends on the default behavior. If you want I can add direct support for TRY / CATCH / FINALLY / END but I'm not sure it's really necessary. Please note also that in Harbour ALWAYS code is execute even for QUIT excpetion. When <alwaysCode> is executed current exception is stored and restored when is finished. If new exception appears inside <alwaysCode> then restored exception depends on the priority in the following order: QUIT // highest priority BREAK RETURN If both exceptions have the same priority and contain additional value (error object in BREAK or return value in RETURN) then the recently set one is restored. It's similar behavior to destructor code. * harbour/source/common/hbstr.c * moved one character length string table (hb_szAscii) from hvm.c to use it also in compiler and preprocessor * harbour/source/compiler/ppcomp.c * harbour/source/pp/ppcore.c * harbour/source/pp/pplib.c * tuned error messages to be more Clipper compatible % use static strings from hb_szAscii * harbour/source/rtl/alert.prg * use hb_gtInfo( GTI_FULLSCREEN ) to detect type of GT driver ! some minor fixes FIXME: we have to also use GTI_ISCTWIN or add window allocation to standard GT drivers to be Clipper compatible when CTWIN is used - In Clipper Tools ALERT() works in differ way then the standard one. It creates separate window box to display data, supports SETKEY(), etc. I'll think about adding some extended support for ALERT() and similar operations (e.g. separate debugger windows) to GT API so it will be also possible to overload standard alert() command by GUI message box in GTGUI and similar GT drivers. * harbour/source/rtl/binnumx.c ! fixed U2BIN() - wrong casting 2007-01-24 23:10 UTC+0200 Tomaz Zupan <tomaz.zupan@orpo.si> * harbour.spec * Added Mandriva One distro to platforms * bin/hb-func.sh * Added Mandriva and Mandriva One distro to platforms 2007-01-24 10:25 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/config/w32/bcc32.cf * harbour/include/hbexprb.c * harbour/include/hbpcode.h * harbour/include/hbxvm.h * harbour/source/compiler/genc.c * harbour/source/compiler/gencc.c * harbour/source/compiler/hbdead.c * harbour/source/compiler/hbfix.c * harbour/source/compiler/hblbl.c * harbour/source/compiler/hbpcode.c * harbour/source/compiler/hbstripl.c * harbour/source/rtl/set.c * harbour/source/rtl/gtsln/gtsln.c * harbour/source/vm/hvm.c * recent fixes from Beta1 * harbour/contrib/libct/Makefile - harbour/contrib/libct/bit1.c - harbour/contrib/libct/bit2.c - harbour/contrib/libct/bit3.c + harbour/contrib/libct/bitnum.c ! rewritten bit functions * harbour/contrib/libct/addascii.c * cleanup * harbour/contrib/odbc/Makefile * harbour/contrib/odbc/odbc.c * harbour/contrib/odbc/sql.ch - harbour/contrib/odbc/sql.h - harbour/contrib/odbc/sqlext.h - harbour/contrib/odbc/sqltypes.h * harbour/contrib/odbc/todbc.prg ! synced with xHarbour * harbour/contrib/rdd_ads/ads1.c ! fixed typo in DBI_GETHEADERSIZE * harbour/contrib/rdd_ads/adsfunc.c + added ADSDDREMOVEINDEXFILE - borrowed from xHarbour * harbour/source/rtl/alert.prg * minor cleanup * harbour/source/rtl/gtfunc.c * use HB_ERR_ARGS_BASEPARAMS in error messages * harbour/source/rtl/transfrm.c * casting 2007-01-17 13:50 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/compiler/gencc.c * harbour/source/vm/hvm.c ! fixed typo in hb_xvmGreaterEqualThenIntIs() - <= was used instead of >= ! fixed :¯o() messages used in WITH OBJECT structure and -gc3 output + added some missing optimizations in -gc3 output 2007-01-17 03:55 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/libct/ctc.c * harbour/contrib/libct/files.c * harbour/contrib/libnf/ftattr.c * harbour/contrib/libnf/n2color.c * cleaned some BCC warnings * harbour/include/hbapi.h * harbour/include/hbexpra.c * harbour/include/hbexprb.c * harbour/include/hbsetup.ch * harbour/source/common/expropt1.c * harbour/source/common/expropt2.c * harbour/source/common/hbver.c * harbour/source/common/hbverdsp.c * harbour/source/compiler/hbcomp.c * harbour/source/vm/arrays.c * harbour/source/vm/arrayshb.c * harbour/source/vm/cmdarg.c * harbour/source/vm/hvm.c ! fixed Harbour support for accessing string characters with array index operators [] + added support for #define HB_COMPAT_XHB - it's disabled by default. When set it enables some of xHarbour features like negative array indexes calculated from tail, accessing string characters with [] operators (warning it's not compatible with default Harbour version enabled by -ks during compilation and //flags:s at runtime - in xHarbour compatibility mode "ABC"[2] returns "B" when in Harbour 66) and some other minor features. * harbour/source/compiler/cmdcheck.c * added support for optional setting C output type in -go switch Now it accepts optional digit [0123] after -go in the same way as -gc, e.g.: -go3 * harbour/source/compiler/harbour.c * call hb_compExprLstDealloc() only when errors appeared during compilation - it disable automatic freeing all allocated expressions in clean compilation. I make it intentionally for easier detecting problems one some expressions are not freed. So far the final cleanup code always deallocated expressions what can hide some real bugs. * harbour/source/vm/hvm.c ! fixed very serious bug in HVM closing. The s_uiActionRequest flag was not cleared before hb_rddShutDown() so when RDD buffers were hot and flushing required some PCODE evaluation (e.g. index KEY or FOR expression) then they were not properly evaluated. * harbour/source/vm/macro.c * minor improvement * harbour/utils/hbtest/rt_misc.prg ! fixed one of expected result, it was neither Harbour nor Clipper result (I've just made some test with Clipper), I do not know why it existed 2007-01-14 16:05 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/macro/macro.y * formatting * harbour/source/vm/macro.c ! fixed macrocompiler for proper compilation of string with embedded ASCII NUL byte (chr(0)), e.g.: ? &("'["+chr(0)+"]'") 2007-01-13 14:05 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/rdd_ads/adsfunc.c * harbour/source/rdd/workarea.c * formatting * harbour/include/hbapi.h * harbour/source/vm/extend.c + added missing hb_storptrGC() * harbour/include/hbapicdp.h * harbour/source/rtl/cdpapi.c + added parameter to unicode translation function to protect control code translation * formatting * harbour/source/rtl/gtsln/kbsln.c * harbour/source/rtl/gtxwc/gtxwc.c * use new unicode translation function format. It also fixes problem with space translation in GTLSN used in UTF8 mode * harbour/include/hbapiitm.h * harbour/source/vm/itemapi.c + added hb_itemCopyToRef(), hb_itemMoveToRef(), hb_itemMoveRef(), hb_itemUnRefWrite() * harbour/include/hbexprb.c ! use HB_P_DUPLUNREF instead of HB_P_DUPLICATE when assign is used in push context - Clipper compatible behavior, see: x:=10 f(y:=iif(.t.,@x,)) ? x, y func f(x) x+=100 return nil * harbour/include/hbver.h * harbour/source/common/hbver.c * changed status to "devel" * harbour/source/common/expropt2.c * disabled setting NIL when iif( .T.,, something() ) is optimized to avoid warning when iif() is used as statement - to fix number of parameters passed to function in code like f( iif( .T.,, something() ) ) we will need a little bit deeper modification * harbour/source/compiler/complex.c * added hack for potential problems caused by WITH OBJECT syntax, e.g. in code like: proc p(obj,x) case:=myCaseClass():new() retu:=myCaseClass():new() WITH OBJECT obj do case case x==nil case:value() case:action() retu:something() end END case:action() retu:something() return case:action(), case:value(), retu:something() can means two different things and compiler cannot guess which one should use. It cannot be fixed because it's caused by bad WITH OBJECT syntax. In xHarbour constractions like case:value() or retu:something() are always used as in WITH OBJECT context what is not Clipper compatible. I do not want to introduce such limitations. We have two choices: change WITH OBJECT syntax or add some hack to "hide" the problem a little bit. Now I intorduce ugly hack which check number of spaces between ':' so case :action() is compiled as case condition using WITH OBJECT message and case:action() as sending message to object in case variable * harbour/source/compiler/harbour.y * harbour/source/compiler/harbour.yyc + added support for passing base value to FOR EACH by reference. * harbour/source/vm/arrays.c * use hb_itemMoveRef() in AINS()/ADEL() to avoid creation of cyclic reference chains * harbour/source/vm/debug.c * harbour/source/vm/memvars.c * use hb_itemCopyToRef() to avoid creation of cyclic reference chains * harbour/source/vm/classes.c * harbour/source/vm/hvm.c * use hb_itemMoveToRef() to avoid creation of cyclic reference chains + added support for for writable string enumerators, e.g.: proc main() local s, c s:="abcdefghijklmnopqrst" for each c in @s if c$"aeio" c:="*" endif next ? s // "*bcd*fgh*jklmn*pqrst" return 2007-01-09 16:10 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/harbour.spec * harbour/include/hbver.h * updated version number to 1.1.0 2007-01-09 15:34 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/ChangeLog + harbour/ChangeLog.017 * new ChangeLog file created * harbour/doc/whatsnew.txt * harbour/harbour.spec * harbour/include/hbver.h * updated version number to 0.47.0 * tagged CVS as build47 2007-01-09 15:10 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/compiler/hbusage.c * update the year in hb_compPrintLogo() from 2006 to 2007 * harbour/source/vm/garbage.c ! fixed potentially very serious bug - when I added array items references I forgot to update GC. Fortunately it was caught by code to detect bugs in object destructors so only RT error was reported instead of internal HVM memory corruption * harbour/tests/hbinline.prg * updated comments 2007-01-09 10:56 UTC+0200 Chen Kedem <niki@synel.co.il> * doc/whatsnew.txt + Add changes for the new beta build. * tests/inline_c.prg ! Add //NOTEST and a comment since this file uses old, unsupported syntax. 2007-01-08 00:50 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbexpra.c ! fixed GPF which can appear on syntax error during compilation one of enumerator message * harbour/source/compiler/harbour.y * harbour/source/compiler/harbour.yyc * accept the folowing syntax: (@var):msg With this modification FOR EACH overloading is completed. 2007-01-07 19:25 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/hvm.c * small modification to protect against creating long references chains which can hardly reduce the performance in some cases 2007-01-07 05:00 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/makefile.bc * harbour/makefile.vc * harbour/include/hbcomp.h * harbour/include/hbexpra.c * harbour/include/hbexprb.c * harbour/include/hbexprc.c * harbour/include/hbexprop.h * harbour/source/common/expropt1.c * harbour/source/common/expropt2.c * harbour/source/compiler/Makefile * harbour/source/compiler/cmdcheck.c * harbour/source/compiler/harbour.c * harbour/source/compiler/harbour.y * harbour/source/compiler/harbour.yyc * harbour/source/compiler/harbour.yyh * harbour/source/compiler/hbcomp.c * harbour/source/compiler/hbusage.c * harbour/source/compiler/ppcomp.c * harbour/source/macro/Makefile * harbour/source/macro/macro.y * harbour/source/macro/macro.yyc * harbour/source/macro/macro.yyh * harbour/source/vm/macro.c * harbour/source/vm/memvars.c * harbour/source/vm/memvclip.c * keep prefix definition for bison public symbols in *.y files instead of passing them as bison arguments to avoid possible mistakes during *.yy[hc] file generation ! fixed iif() reduction when used as single function parameter + add -kM compiler switch - turn off macrotext substitution * updated <string> + <string> optimization and other macrotext usage to keep more Clipper compatible behavior ! fixed typo in expression type checking in IIF() reduction - it was working because wrongly used macros has the same values as the valid ones - removed compiler switches and macros for old HB_INLINE() syntax - it was not supported after last months modifications. Only: HB_INLINE([params,...]) { C code } is supported. ! fixed passing parameters by reference in IIF() statement and macro compiler. The following valid Clipper code: &("myfunc(<exp>, @var1, @var2)") was not supported ! do not allow to use references or empty expressions in expression list AFAIK it's Clipper compatible. If I'm wrong then please fix me but Clipper allows to use references only as function arguments, 2nd and 3rd IIF() argument and as directly created array items ( {...@var...} ) DO ... WITH ... is a special case of function call. ! Changed grammar rules to accept only Clipper compatible parameters. ! fixed typo in macro name in hb_memvarNewParameter() function. * use HB_FUNC_EXEC(...) instead of HB_FUNCNAME(...)() 2007-01-05 16:00 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbexprb.c * make function call optimizations only when hb_compFunCallCheck() do not report errors * harbour/source/common/reserved.c + added VALTYPE to list of reserved words and shortcuts (Clipper compatible) * harbour/source/compiler/hbfunchk.c * checking for number of parameters in FILE() function call is Harbour extension - do not enable it when HB_C52_STRICT macro is set * harbour/source/rtl/filehb.c * formatting 2007-01-05 08:00 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbcompdf.h + added comment * harbour/include/hbexpra.c * change expression type for <exp> = <exp> from HB_EO_EQUAL to HB_EO_ASSIGN in hb_compExprGenStatement() function so later we can safely make all optimization in hb_compExprUseEqual() during reduce process - optimization only when PCODE is generated is too late and causes that expressions like: iif( 1 = 1, <exp>, <exp> ) are not reduces (Clipper reduce them) * do not execute hb_compFunCallCheck() in hb_compExprNewFunCall() to avoid repeating the same error message in hb_compExprUseFunCall() * harbour/include/hbexprb.c * enabled reduction for hb_compExprUseEqual() and generate errors when it's used as statement * harbour/source/common/expropt2.c * added some missing reductions for expressions like: NIL == NIL * harbour/source/common/reserved.c % very basic optimization: use binary search instead of linear scanning for reserved words and shortcuts - it gives noticeable speed improvement in macro compiler * harbour/source/compiler/complex.c * changed the order of special keywords to keep alphabetic sorting * harbour/source/compiler/harbour.c % some minor optimizations in aliased expressions ! added protection in hb_compIsJump() to avoid possible problems when this function is executed after replacing some code with jumps by series of NOOPs in optimizations process * harbour/source/compiler/hbfix.c * better optimization of PCODE generated for logical expressions * harbour/source/compiler/hbfunchk.c % use binary search instead of linear scan * harbour/source/rtl/minmax.c ! fixed GPF when MIN() or MAX() function is called with less then two parameters * harbour/source/vm/itemapi.c * minor optimization and formatting 2006-12-30 22:45 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbcomp.h * harbour/include/hbcompdf.h * harbour/include/hbexpra.c * harbour/include/hbexprb.c * harbour/source/common/expropt1.c * harbour/source/compiler/harbour.c * harbour/source/compiler/harbour.y * harbour/source/compiler/harbour.yyc * harbour/source/compiler/hbgenerr.c * harbour/source/macro/macro.l * harbour/source/macro/macro.y * harbour/source/macro/macro.yyc * harbour/source/macro/macro.yyh * harbour/source/macro/macrolex.c * harbour/source/vm/macro.c * final grammar cleanup: removed unused and/or unnecessary grammar expressions in *.y files, fixed some differences between compiler and macrocompiler, fixed some other bugs, typos, clipper incompatibilities, etc. It's end of year, it's late and sorry but I'd like to begin making something absolutely differ then creating detail description ;-) If you will have any questions then I'll answer in new year. * harbour/source/rdd/dbffpt/Makefile * small hack for XCC compilation 2006-12-28 16:40 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbcomp.h * harbour/include/hbcompdf.h * harbour/include/hbexprb.c * harbour/include/hbexprc.c * harbour/include/hbpcode.h * harbour/include/hbpp.h * harbour/include/hbxvm.h * harbour/source/compiler/genc.c * harbour/source/compiler/gencc.c * harbour/source/compiler/gencli.c * harbour/source/compiler/harbour.c * harbour/source/compiler/harbour.y * harbour/source/compiler/harbour.yyc * harbour/source/compiler/hbgenerr.c * harbour/source/compiler/hbpcode.c * harbour/source/vm/hvm.c * harbour/source/vm/macro.c * changed HB_P_MACROPUSHINDEX PCODE behavior - now it does not evaluated macro expression * eliminated HB_ET_MACRO_INDEX - HB_ET_MACRO_LIST can be used instead * accept ... in codeblocks only when codeblocks parameters are defined as variables, f.e: {|a,b,...|qout(a+b,...)} ! fixed error in a[&s]:=100 + added support for a[...] - now ... can be used in the same context as Xbase++ like multivalue macro (a[&s]) * disabled ++, --, <op>= optimizations when -kc (strict Clipper compatibility mode) compiler switch is used 2006-12-27 21:12 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbcompdf.h * removed not longer used pFunCall from asMacro expression. This item was used only in a very old s:="1,2";f(&s) implementation. * harbour/include/hbexpra.c * harbour/include/hbexprb.c * harbour/include/hbexprop.h * harbour/source/common/expropt1.c * harbour/source/compiler/harbour.y * harbour/source/compiler/harbour.yyc * a little bit more simple implementation of passing optional arguments and simplified some code. Now they can be used in any place in argument list (also repeated). It's also possible to create arrays using "..." as array element(s), e.g.: func f(...); return { "{", ..., "}" } If you think it will be usable then I can also add support for accessing array items with optional parameters, e.g.: ? a[ ... ] so it can be used in the same context as Xbase++ like macro lists but for this I will need new PCODE so I'd like to hear your opinion ASAP - I'm closing any extensions today. 2006-12-27 15:00 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbcomp.h * harbour/include/hbcompdf.h * harbour/include/hberrors.h * harbour/include/hbexpra.c * harbour/include/hbexprb.c * harbour/include/hbpcode.h * harbour/include/hbxvm.h * harbour/source/common/expropt1.c * harbour/source/compiler/genc.c * harbour/source/compiler/gencc.c * harbour/source/compiler/harbour.c * harbour/source/compiler/harbour.y * harbour/source/compiler/harbour.yyc * harbour/source/compiler/hbdead.c * harbour/source/compiler/hbfix.c * harbour/source/compiler/hbgenerr.c * harbour/source/compiler/hblbl.c * harbour/source/compiler/hbpcode.c * harbour/source/compiler/hbstripl.c * harbour/source/vm/hvm.c + added support for passing optional parameters to called function, e.g.: proc p( a, b, ... ) qout( a, b, "X", ... ) * forbid creating function pointer when function is used with parameters, e.g.: x:=@f1(1,2,3) * harbour/source/compiler/complex.c * cleaned all restrictions on reserved words I've found - if I missed something then please inform me. The previous behavior and some error messages are used with -kc compiler switch * harbour/source/rtl/symbol.prg * harbour/source/rtl/tobject.prg ! eliminated limitations in number of constructor parameters (new syntax with passing optional parameters used) 2006-12-24 16:54 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbcompdf.h * harbour/include/hbexprb.c * harbour/source/common/expropt1.c * harbour/source/compiler/harbour.c * harbour/source/compiler/harbour.y * harbour/source/compiler/harbour.yyc * harbour/source/compiler/hbcomp.c - removed not longer used fExternal from compiler structure * allow to pass array items by reference ( func(@a[1]) ) and some cleanups in reference rules. Probably we should also block using: @func(param1 [,param2,[,...paramN]]) and accept only @func() ! fixed using statements in codeblocks used to initialize static variables and some other cleanups (e.g. allow to use as static initializers any functions which are later eliminated by expression optimizer. 2006-12-23 06:00 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbexprb.c * do not generate HB_P_FUNCPTR - it's not longer necessary + added optimization for <exp> + 1, <exp> - 1 - disabled by default because it changes error messages in hbtest, code like NIL + 1 generates 'argument error ++' instead of 'argument error +'. I'd like you will decide what you prefer - faster code or strict Clipper error messaged. * harbour/source/common/expropt2.c + added optimizations for <num> + <date> + added ooptimizations for <exp> + 0, 0 + <exp>, <exp> - 0 This is also something what may interact with operators overloading in object system. When we will have strong typing then we should think about an option which will optionally disable some optimizations - someone may want to define arithmetic where <obj> + 0 gives differ then <obj> results. * harbour/include/hbcomp.h * harbour/source/compiler/harbour.c * harbour/source/compiler/harbour.y * harbour/source/compiler/harbour.yyc * harbour/source/compiler/harbour.yyh + added hb_compStatmentStart() ! restrict MEMVAR and FIELD usage - now they have to be located before executable statements like in Clipper. ! generate error when PARAMETERS is used as file wide declaration. ! generate errors when different executable statements are used before first procedure - now such code was simply ignored without any errors. ! generate valid error messages when some declarations are used in wrong places ! fixed setting begin of executable statement flag in different .prg constructions. 2006-12-22 11:00 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/rdd_ads/adsfunc.c * do not use hb_param( pItem, HB_IT_BYREF ) but ISBYREF() macro * harbour/include/hbdefs.h * formatting * harbour/include/hbexprb.c ! fixed code generated for logical expressions when shortcutting is enabled to be Clipper compatible * harbour/source/compiler/cmdcheck.c ! added missing break in -z compiler switch decoding * harbour/source/compiler/hbfix.c % added optimizations for code generated for logical expressions, it strips a chain of HB_P_DUPLICATE -> HB_P_JUMP[TRUFALES] -> HB_P_DUPLICATE -> HB_P_JUMP[TRUFALES] -> ... In fact it should not be done here but because we do not have any metacode level where such optimizations should be done and PCODE is generated online then it will have to be here. Maybe in the future we will add metacode. * harbour/source/rdd/dbcmd.c * make "M" alias Clipper compatible. After some thoughts I decided that in some cases it can be usable so now "M" will set WA number to 65535 like in Clipper. * harbour/source/rdd/dbf1.c * allow to open VFP DBFs with _NullFlags system command * harbour/source/rdd/delim1.c * harbour/source/rdd/sdf1.c ! updated field size calculation for some some extended types. * harbour/source/rdd/workarea.c * generate RT error when CREATEFIELD() method does not accept some parameters to avoid silent DBCREATE() failing. * harbour/source/vm/macro.c * removed hb_compMemvarCheck() - this function was not dooing anything - only slows the TYPE() by calling hb_dynsymFind() one or two times. + added TODO note: memvars create by TYPE() have PUBLIC scope in Clipper. Clipper also always tries to evaluate valid expressions inside TYPE even if the contain UDF. UDF only stops evaluation so: TYPE( "(val:=1) + f() + (val2:=2)" ) creates in clipper public variable VAL but not VAL2. 2006-12-19 23:22 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rdd/dbf1.c ! added missing 'else' and cleaned BCC warnings 2006-12-19 22:47 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbexprop.h * harbour/source/common/expropt1.c + added hb_compExprParamListLen() * harbour/include/hbexpra.c * harbour/include/hbexprb.c * use hb_compExprParamListLen() * harbour/include/hbexprc.c * generate error message for syntax like: o:var()++ or o:var()+=10 only: o:var++ and o:var+=10 is supported, just like for @o:var * harbour/include/hbapi.h * harbour/source/common/hbstr.c + hb_numDecConv() used to convert double value to/from binary integer fields with fixed number of decimal places * harbour/common.mak * harbour/include/hbapicdp.h * harbour/source/codepage/Makefile + harbour/source/codepage/cptrdos.c + harbour/source/codepage/cptrwin.c * harbour/source/lang/Makefile + harbour/source/lang/msgtrdos.c + harbour/source/lang/msgtrwin.c + added Turkish CPs and MSGs created by Bicahi Esgici + harbour/source/codepage/uc1254.c + harbour/source/codepage/uc857.c + added unicode tables for Turkish CPs * harbour/source/rdd/dbf1.c * harbour/source/rdd/workarea.c + added support for decimal places in binary integer fields ("I") ! fixed currency field decoding ("Y") - it's integer binary value not IEEE758 double. Warning: on write the value is rounded not truncated like in VFP. 2006-12-19 00:35 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbexprc.c * added support _" prefix when macro message is used in assignment context also when -kc is used. We can block this feature for -kc but as long as is not blocked it should work in the same way for -kc and -kh 2006-12-18 19:30 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/config/w32/bcc32.cf * cleanup + harbour/config/w32/xcc.cf + added XCC support * harbour/contrib/btree/hb_btree.c * use hb_vmAtInit()/hb_vmAtExit() instead of INIT/EXIT functions defined from C code * harbour/contrib/libct/tab.c * casting * harbour/contrib/odbc/odbc.c ! removed #include <malloc.h> - it should not be used with new C compilers I think that we should replace this library with hbodbc from xHarbour. * harbour/contrib/ole/ole2.c * updated for XCC * harbour/include/hbdefs.h * include stdint.h if available * harbour/source/compiler/complex.c ! fixed yet another stupid mistake in WITHOBJECT token * harbour/include/hbpcode.h * harbour/include/hbxvm.h * harbour/source/compiler/genc.c * harbour/source/compiler/gencc.c * harbour/source/compiler/hbdead.c * harbour/source/compiler/hbfix.c * harbour/source/compiler/hblbl.c * harbour/source/compiler/hbpcode.c * harbour/source/compiler/hbstripl.c * harbour/source/vm/hvm.c + added HB_P_SWAP <n> PCODE * harbour/include/hbcompdf.h * harbour/include/hbexpra.c * harbour/include/hbexprb.c * harbour/include/hbexprc.c * harbour/include/hbexprop.h ! fixed GPF during compilation of @:var, @:&var, @o:&var + added support for @o:&var and @:var, @:&var inside WITH OBJECT statement * changed PCODE generated of ++,--,+=,-=,... Now left side expression is evaluated _ONLY_ once and when object messages are used it's guarantied that exactly the same object variable will be used. It also fixes some problems which exists in Clipper. This optimization is enabled by -kh flag (by default) and can be disabled with -kc. % optimize ald macros in ++,--,+=,-=,... operations * add automatically "_" prefix when macro message is used in assignment context, e.g.: s:="osCode" o:=errorNew() ? o:&s o:&s := 100 ? ++o:&s ? o:&s *= 5 * harbour/include/hblang.ch - removed #xtranslate - this file is included by C code and some C compiler do not like unknown directives * harbour/utils/hbtest/rt_math.prg + added test code for <op>assign and (pre/post)(inc/dec)rementation, macro messages and WITH OBJECT * harbour/source/compiler/harbour.c * harbour/source/rdd/dbf1.c * harbour/source/rtl/errorapi.c * harbour/source/rtl/hbgtcore.c * harbour/source/rtl/gtdos/gtdos.c * harbour/source/rtl/gtos2/gtos2.c * harbour/source/rtl/gtpca/gtpca.c * harbour/source/rtl/gtsln/gtsln.c * harbour/source/rtl/gtstd/gtstd.c * harbour/source/rtl/gtwin/gtwin.c * casting and warning cleanup * harbour/utils/Makefile + added $(HB_UTILS) - harbour/utils/hbpp/hbpp.h + harbour/utils/hbpp/hbppdef.h * harbour/utils/hbpp/hbpp.c * harbour/utils/hbpp/hbppcomp.c * harbour/utils/hbpp/hbppcore.c * harbour/utils/hbpp/hbpplib.c * harbour/utils/hbpp/hbpptbl.c * harbour/utils/hbpp/pragma.c * renamed hbpp.h to hbppdef.h to avoid possible conflict with hbpp.h in include directory * casting and warning cleanup 2006-12-18 18:20 UTC+0100 Ryszard Glab <rglab//imid.med.pl> * include/hbcomp.h + added extern BOOL hb_compCheckUnclosedStru( HB_COMP_DECL ) * include/hbcompdf.h + added 'int iLastLineErr' to HB_COMP structure * include/hbpp.h + added extern BOOL hb_pp_eof( PHB_PP_STATE ) * source/compiler/harbour.c * source/compiler/harbour.y * source/compiler/harbour.yyc * source/compiler/harbour.yyh * source/compiler/hbgenerr.c * fixed reporting errors in cases of unclosed delimiters or unclosed control structures IF/WHILE/FOR/etc * source/pp/ppcore.c + added hb_pp_eof() function 2006-12-18 14:19 UTC+0200 Chen Kedem <niki@synel.co.il> * doc/dirstruc.txt + Add a oneliner description for: source/rdd/usrrdd, source/rtl/gtgui * source/rtl/console.c * Pacify false CG error messages in one more place, with a comment. 2006-12-15 16:55 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapi.h * harbour/include/hbcomp.h * harbour/include/hbcompdf.h * harbour/include/hbdefs.h * harbour/include/hberrors.h * harbour/include/hbexpra.c * harbour/include/hbexprb.c * harbour/include/hbexprc.c * harbour/include/hbpcode.h * harbour/include/hbxvm.h * harbour/source/common/expropt1.c * harbour/source/common/expropt2.c * harbour/source/common/hbstr.c * harbour/source/compiler/cmdcheck.c * harbour/source/compiler/genc.c * harbour/source/compiler/gencc.c * harbour/source/compiler/gencobj.c * harbour/source/compiler/harbour.c * harbour/source/compiler/harbour.y * harbour/source/compiler/harbour.yyc * harbour/source/compiler/hbdead.c * harbour/source/compiler/hbfix.c * harbour/source/compiler/hbgenerr.c * harbour/source/compiler/hblbl.c * harbour/source/compiler/hbpcode.c * harbour/source/compiler/hbstripl.c * harbour/source/macro/macro.y * harbour/source/macro/macro.yyc * harbour/source/rtl/console.c * harbour/source/rtl/isprint.c * harbour/source/rtl/left.c * harbour/source/rtl/right.c * harbour/source/rtl/strtran.c * harbour/source/vm/codebloc.c * harbour/source/vm/hvm.c * harbour/source/vm/macro.c * general PCODE cleanup and address most of TODO/FIXME notes in source code: ! fixed GPF traps when too long string or codeblock is generatd + added support for 16 MiB codeblocks and strings ! removed macrocompiler limitation for jumps range ! fixed GPF when more then 255 local variables is used and added support for 2^15 locals ! removed all strtok() functions % added optimization for all +=, -=, *=, %=, ^=, **= operations when left side of expression is variable or array item % added optimization for all +=, -=, *=, %=, ^=, **= operations when left side of expression is object method and updated ++, -- for new code. It's still disabled until we will not add support for late evaluated reference items to HVM ! fixed a[++i]++ and similar operations (a[++i]*=2, ...). Now ++i is executed only once. It's not Clipper compatible but it was in TODO note in source code. It can be disabled by -kc option * finished support to xHarbour like #pragma TEXTHIDDEN(1) ! fixed local add int optimization when PARAMETERS used after optimization changed local variable number over 255 ! fixed GPF trap when in HB_P_<op>EQ PCODEs when executed for direct values * others ! fixed problems reported by Chen * optimized strtran(), left(), right() to not create new string copy when the same value is returned 2006-12-13 18:45 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/console.c * pacify false CG error messages - Chen Kedem modifications (sizeof(int) in #if replaced by hardcoded 4 for compilers which does not allow to use sizeof() in #if directives) * harbour/TODO - removed console.c cleanup note from FIXME * harbour/include/hbcomp.h * harbour/include/hbexprb.c * harbour/include/hbexprc.c * harbour/source/common/expropt1.c * minor code cleanup 2006-12-12 14:55 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbstack.h ! fixed typo in function name, should be: hb_stackLocalVariable() not hb_stacklocalVariable() + added hb_stackId() * hide hb_stack declaration when HB_STACK_MACROS is not set * harbour/source/vm/dynlibhb.c * use hb_stackId() * harbour/source/vm/estack.c + added hb_stackId() ! fixed some condition used to check stack access - they were reporting internal errors for valid code * harbour/source/vm/hvm.c ! fixed code which executed hb_stackLocalVariable() with pointer to SHORT not int 2006-12-11 22:15 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/memoline.c ! added fix sent to me by Randy Portnoff - it's a little bit differ then the one Randy sent to list but this one seems to be correct. I never used this function in Clipper and made only very basic tests. I believe that Randy make better tests and this fix will not break some other constructions. 2006-12-11 14:40 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/rdd_ads/ads1.c * harbour/contrib/rdd_ads/adsfunc.c * harbour/source/rdd/dbfcdx/dbfcdx1.c * harbour/source/rdd/hsx/hsx.c * synced with xHarbour * harbour/source/rtl/gtsln/gtsln.h * changed #if to #ifdef to avoid problems with some unofficially patched slang versions 2006-12-09 17:10 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/config/bsd/gcc.cf * harbour/config/darwin/gcc.cf * harbour/config/dos/bcc16.cf * harbour/config/dos/djgpp.cf * harbour/config/dos/owatcom.cf * harbour/config/dos/rsx32.cf * harbour/config/hpux/gcc.cf * harbour/config/linux/gcc.cf * harbour/config/linux/owatcom.cf * harbour/config/os2/gcc.cf * harbour/config/os2/icc.cf * harbour/config/sunos/gcc.cf * harbour/config/w32/bcc32.cf * harbour/config/w32/gcc.cf * harbour/config/w32/mingw32.cf * harbour/config/w32/msvc.cf * harbour/config/w32/rsxnt.cf * harbour/config/w32/watcom.cf * added respecting HB_GT_DEFAULT, though it's quite possible that I'll remove it at all soon. * some other cleanup * harbour/source/compiler/complex.c ! fixed wrongly replicated from FLEX lexer condition used to DECLARE. Now they should be the same as in FLEX lexer but IMHO they are not Clipper compatible. * harbour/source/compiler/gencli.c * harbour/source/compiler/gencobj.c * harbour/source/compiler/genhrb.c * harbour/source/compiler/genjava.c * harbour/source/compiler/genobj32.c * harbour/source/compiler/harbour.c * harbour/source/rtl/hbffind.c * harbour/source/pp/ppcore.c * harbour/source/rdd/workarea.c ! fixed sizes of some C stack buffers and strncpy() parameters * use hb_strn*() instead of strn*() in few places to be sure that 0 is always stored in destination buffer * harbour/source/rtl/gtcgi/gtcgi.c * change reported GT name from "Standard stream console" to "Raw stream console" to make it differ then GTSTD one. 2006-12-08 05:55 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/hb-func.sh * harbour/bin/hb-mkslib.sh * harbour/bin/postinst.sh * harbour/config/bsd/gcc.cf * harbour/config/darwin/gcc.cf * harbour/config/dos/owatcom.cf * harbour/config/hpux/gcc.cf * harbour/config/linux/gcc.cf * harbour/config/linux/owatcom.cf * harbour/config/os2/gcc.cf * harbour/config/sunos/gcc.cf * harbour/config/w32/watcom.cf * harbour/contrib/rdd_ads/ads1.c * harbour/contrib/rdd_ads/adsfunc.c * harbour/include/hbapifs.h * harbour/include/hbexprc.c * harbour/include/hbsetup.h * harbour/source/common/expropt2.c * harbour/source/common/hbdate.c * harbour/source/common/hbgete.c * harbour/source/common/hbstr.c * harbour/source/common/hbver.c * harbour/source/common/hbverdsp.c * harbour/source/compiler/cmdcheck.c * harbour/source/compiler/fixflex.c * harbour/source/compiler/gencobj.c * harbour/source/compiler/genobj32.c * harbour/source/compiler/harbour.c * harbour/source/compiler/harbour.l * harbour/source/compiler/harbour.y * harbour/source/compiler/harbour.yyc * harbour/source/compiler/hbfix.c * harbour/source/compiler/hbfunchk.c * harbour/source/pp/ppcore.c * harbour/source/pp/ppgen.c * harbour/source/pp/pplib.c * harbour/source/rdd/dbcmd.c * harbour/source/rdd/workarea.c * harbour/source/rdd/dbfcdx/dbfcdx1.c * harbour/source/rdd/dbffpt/dbffpt1.c * harbour/source/rdd/hsx/hsx.c * harbour/source/rtl/accept.c * harbour/source/rtl/ampm.c * harbour/source/rtl/console.c * harbour/source/rtl/defpath.c * harbour/source/rtl/errorint.c * harbour/source/rtl/filesys.c * harbour/source/rtl/fkmax.c * harbour/source/rtl/fstemp.c * harbour/source/rtl/hbffind.c * harbour/source/rtl/hbgtcore.c * harbour/source/rtl/langapi.c * harbour/source/rtl/seconds.c * harbour/source/rtl/set.c * harbour/source/rtl/tobject.prg * harbour/source/rtl/transfrm.c * harbour/source/rtl/gtcrs/chrmap.c * harbour/source/rtl/gtcrs/gtcrs.c * harbour/source/rtl/gtcrs/gtcrs.h * harbour/source/rtl/gtpca/gtpca.c * harbour/source/rtl/gtwvt/gtwvt.c * harbour/source/rtl/gtxwc/gtxwc.c * harbour/source/vm/classes.c * harbour/source/vm/cmdarg.c * harbour/source/vm/debug.c * harbour/source/vm/estack.c * harbour/source/vm/fm.c * harbour/source/vm/hvm.c * harbour/source/vm/macro.c * harbour/source/vm/proc.c * harbour/source/vm/runner.c * harbour/utils/hbmake/hbmlang.c * harbour/utils/hbpp/hbpp.c * harbour/utils/hbpp/hbppcomp.c * harbour/utils/hbpp/hbppcore.c * harbour/utils/hbpp/hbpplib.c * harbour/utils/hbpp/pragma.c * harbour/utils/hbver/hbverfix.c * general code cleanup: all strcpy() and strcat() replaced hb strn*() and hb_strn*(), sprintf() by snprintf(), etc. It fixed some possible buffer overflow but it's also possible that it will exploit some some hidden so far problems but I strongly prefer to know about them ASAP to fix them before final 1.0 release. ! fixed bug I introduce in codeblock falgs which disabled early macro evaluation in codeblocks. ! added missing protection against execution by bison destructor for used CBSTART token on syntax error. % use PP stringify logik added for FLEX support to remove all redundant spaces in stringified for early macro evaluation codeblocks and add spaces between operators if after preprocessing they were removed. Now we are supporting also some code which cannot be compiled by Clipper. % cleaned and improved the speed of printer redirecting in console code. Chen please check if CG still reports problems and if not ubdate TODO/FIXME or inform me about them. * some cleanups in building process for different *nixes: MacOSX, SunOS, *BSD, etc. * removed not longer necessary (I hope) compiler flag to force default 'char' type as signed. Now Harbour should work with signed and unsigned char without any problems. To other developers: please remember that when you are using 'char' as 8 bytes signed integer then it's a bug. Always explicitly use: 'signed char' in such case. On some platforms it's not possible to set default type for 'char' so if you hardcode that 'char' is signed or unsigned somewhere then code will not be portable. Chen if you will find a while to also rebuild Harbour with BCC and -K switch to make some tests with CG then I'll be thankful. 2006-12-04 19:20 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/macro/macro.y * harbour/source/macro/macro.yyc * harbour/source/macro/macro.yyh * harbour/source/macro/macrolex.c * added support for extended string (e"...") to macro compiler and strings with embedded ASCII NUL character (chr(0)) * harbour/source/rtl/valtostr.c * added HB_STRTOEXP() function which converts string item to valid expression which can be compiled by macro compiler. String may contain any characters. * harbour/source/rtl/persist.prg * use HB_STRTOEXP() for sting conversion and 0d....... for date constants * harbour/source/rtl/readvar.prg * harbour/source/rtl/xsavescr.c * minor cleanup 2006-12-01 18:55 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/pack_src.sh + added packing *.yy[ch] files * harbour/makefile.bc * harbour/makefile.vc * harbour/include/hbcomp.h * harbour/include/hbcompdf.h * harbour/include/hbexpra.c * harbour/include/hbexprb.c * harbour/include/hbexprc.c * harbour/include/hbexprop.h * harbour/include/hbpp.h * harbour/source/common/expropt1.c * harbour/source/common/expropt2.c * harbour/source/compiler/Makefile * harbour/source/compiler/complex.c * harbour/source/compiler/harbour.c * harbour/source/compiler/harbour.l * harbour/source/compiler/harbour.y * harbour/source/compiler/harbour.yyc * harbour/source/compiler/harbour.yyh * harbour/source/compiler/hbgenerr.c * harbour/source/macro/macro.y * harbour/source/macro/macro.yyc * harbour/source/pp/ppcore.c + added hb_comp prefix to grammar/lexer compiler public functions to reduce possible conflict with 3rd party code which may use default yy prefix. ! do not use bison destructors for expressions. Internal bison logic cannot properly detect if expression was used or not in some of our grammar rules and it's possible that some expressions will not be freed and some other freed twice. ! added protection against multiple destructors execution for CBSTART and LITERAL tokens * added small garbage collector for deallocating expressions which were not freed (such situation can happen in syntax errors) % some optimizations in used structures to reduce their sizes + added protection against execution PCODE optimizations for functions which were not cleanly compiled. * harbour/source/rtl/idle.c * use const in nanosec() timeout declaration 2006-11-30 03:50 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbcompdf.h * harbour/source/compiler/harbour.l * harbour/source/compiler/harbour.c * harbour/source/compiler/harbour.y * removed declaration and all references to global variable hb_comp_data it's not longer necessary after last modifications * harbour/source/compiler/harbour.yyc * synced compiler grammar parser * harbour/source/macro/macro.yyc ! regenerated macro compiler grammar parser with -p hb_macro - I forgot about this prefix before last commit 2006-11-29 23:30 UTC+0100 J. Lefebvre (jfl/at/mafact.com) * makefile.vc * make_vc.bat ! Fixed the COPY command to work on Windows-NT (/Y flag isn't supported) * Sync. with makefile.bc & make_b32.bat. 2006-11-28 16:00 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/Makefile + added hbcompdf.h and hbstdgen.ch * harbour/source/compiler/harbour.y * harbour/source/macro/macro.y + added #define __STDC__ as workaround for __BORLANDC__ which seems to not properly understand ANSI C declarations. It should pacify some of BCC warning messages about undeclared functions * harbour/source/compiler/harbour.yyc * harbour/source/compiler/harbour.yyh * harbour/source/macro/macro.yyc * harbour/source/macro/macro.yyh * updated generated grammar parser files for above modification in parser definition files (.y) 2006-11-29 16:11 UTC+0200 Chen Kedem <niki@synel.co.il> * makefile.bc * make_b32.bat ! Fixed the COPY command to work on Windows-NT (/Y flag isn't supported) * TODO - Remove FIXME item with were fixed 2006-11-29 10:30 UTC+0100 J. Lefebvre (jfl/at/mafact.com) * harbour/makefile.vc * Sync. with makefile.bc for msvc compiler. 2006-11-28 21:40 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/makefile.bc * harbour/config/c.cf ! fixed typo in last modification - I have bad day today. 2006-11-28 21:10 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/makefile.bc * harbour/config/c.cf * changed default settings to not use bison for generation new grammar files. Now developers who will want to update our grammar definition files for compiler and macro compiler should set environment variable HB_REBUILD_PARSER=yes to force preprocessing new rules by bison and should remember to update before committing modifications in *.y file(s) corresponding *.yy[ch] files by copping the new ones generated by parser. ! fixed typo in makefile.bc - instead of $(HARBOUR_DIR)\macro.yyc should be $(MACRO_DIR)\macro.yyc 2006-11-28 19:30 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/compiler/harbour.y * use HB_COMP_PARAM macro in expression destructor instead of direct accessing hb_comp_data global variable to make compiler code MT safe + harbour/source/compiler/harbour.yyc + harbour/source/compiler/harbour.yyh + harbour/source/macro/macro.yyc + harbour/source/macro/macro.yyh + added generated by bison 2.3 grammar parsers for compiler and macro compiler * harbour/config/dos/global.cf * harbour/config/dos/install.cf * harbour/config/w32/global.cf * changed CP definition for COMMAND.COM so it can work as standalone command and added DIRSEP macro * harbour/config/c.cf + added support for HB_REBUILD_PARSER=no environment variable. When it's set then during build process grammars parsers will not be generated from grammar definitions files (.y) but instead the predefined ones (.yyc) used. Tested and works well in Linux and DOS * harbour/makefile.bc + added support for HB_REBUILD_PARSER=no environment variable. Not tested. It's even possible that I've just broken the BCC compilation with this modification. Please check it and fix me if necessary. 2006-11-28 05:40 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/compiler/harbour.c ! fixed typo in last modification which caused memory leak * harbour/source/vm/codebloc.c + initialize freed codeblock structure with pointer to static PCODE which returns NIL for buggy .prg destructors. * harbour/ChangeLog ! fixed date of my last commit 2006-11-28 02:10 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/tests/codebl.prg * harbour/tests/langmsg.prg * harbour/utils/hbpptest/pp_test.prg * harbour/utils/hbpptest/pretest.prg * harbour/samples/pe/license.txt * removed carriage return (\r) characters * harbour/include/hbcomp.h * harbour/include/hbapi.h * harbour/include/hbcompdf.h * harbour/include/hbexprb.c * harbour/include/hbexprop.h * harbour/source/vm/macro.c * harbour/source/compiler/hbcomp.c * harbour/source/compiler/complex.c * harbour/source/compiler/harbour.c * harbour/source/compiler/harbour.l * harbour/source/compiler/harbour.y * harbour/source/compiler/genjava.c * harbour/source/compiler/hbcomp.c * harbour/source/compiler/hbident.c * harbour/source/compiler/hbpcode.c * harbour/source/compiler/ppcomp.c * separated HB_COMP and HB_MACRO definitions and added HB_COMMON structure used when HB_COMMON_SUPPORT macro is set * hide HB_MACRO internal definitions in hbapi.h when HB_MACRO_SUPPORT is not set These modifications should help in future compiler and macro compiler integration into single binary. + added clipper compatible error message in unclosed structures In general we should cleanup rules to make error reporting more user friendly and Clipper compatible % eliminated unnecessary allocations + added int mode member to common part of HB_COMP and HB_MACRO structure. It's initialized to HB_MODE_MACRO or HB_MODE_COMPILER + add FIXME note about memory leaks in cParamTypes and pParamClasses members of COMDECLARED structure. It's a part of unfinished strong typing code. I do not know what Ryszard plan to do with it so I'm leaving it as is. The part of strong typing which were operating on emulated HVM stack has been removed. * removed static variables from genjava.c. Also gencli.c and genobj32.c should be fixed but this will not make this code working so I haven't touched it. * changed 3rd parameter of hb_compIdentifierNew() from BOOL to int. Now it can have the following values: HB_IDENT_STATIC, HB_IDENT_FREE, HB_IDENT_COPY. This modification will allow in the future using common for static and dynamic symbol hash table without additional source code changes. I also plan to use identifier hash table in PP the reduce number of memory allocations and speed-up preprocessing by using second level hashing for hash keys. * harbour/source/common/expropt1.c * harbour/source/common/expropt2.c * changed HB_MACRO_SUPPORT to HB_COMMON_SUPPORT to automatically detect possible conflicts between compiler and macro compiler ! removed first detected conflict which existed for long time + added hb_compExprMacroAsAlias() function to convert HB_ET_VARIABLE expression to HB_ET_ALIAS. * harbour/source/macro/macro.y ! fixed using prefix¯o-> and ¯o.sufix-> when macro cannot be substituted by compiler, e.g.: M->v := NIL x := "&v.1->fld" M->v := "v" M->v1:= "data" ? &x ! fixed memory leak in macro substituted expression compilation * harbour/source/vm/macro.c ! fixed initialization of some HB_MACRO members ! fixed value returned for type("&V->F") when alias does not exist - removed not longer used hb_comp_bShortCuts global variable 2006-11-25 20:00 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbexprb.c ! fixed parenthesis in expression * harbour/source/pp/ppcore.c ! fixed code block tokens stringify 2006-11-25 19:30 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbexpra.c * harbour/include/hbexprb.c * harbour/include/hbexprc.c * harbour/include/hbexprop.h * harbour/source/common/expropt1.c * harbour/source/common/expropt2.c * harbour/source/compiler/complex.c * harbour/source/compiler/harbour.c * harbour/source/compiler/harbour.y * harbour/source/macro/macro.y + added support for strings with with ASCII NUL character Strings with ASCII NUL character are not stored with hash table but dynamically allocated/deallocated ! fixed compilation of strings with ASCII NUL character which can appear in escaped strings e"..." or after compiler chr(0) optimization % removed some not longer necessary memory allocations * harbour/source/vm/macro.c ! fixed GPF caused by HB_MACRO structure double freeing - removed some code which was added as workaround for the old behavior of HVM QUIT and false FM stat memory leak reports. It's not longer necessary in current HVM. * harbour/source/common/hbstr.c ! fixed final string size calculation in extended strings * harbour/source/compiler/gencli.c * cleaned BCC warning 2006-11-25 09:50 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * common.mak ! hbstrong.c is removed 2006-11-24 19:10 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/config/bsd/gcc.cf * harbour/config/darwin/gcc.cf * harbour/config/dos/djgpp.cf * harbour/config/dos/owatcom.cf * harbour/config/hpux/gcc.cf * harbour/config/linux/gcc.cf * harbour/config/linux/owatcom.cf * harbour/config/os2/gcc.cf * harbour/config/sunos/gcc.cf * harbour/config/w32/bcc32.cf * harbour/config/w32/gcc.cf * harbour/config/w32/mingw32.cf * harbour/include/hbcomp.h * harbour/include/hbcompdf.h * harbour/include/hberrors.h * harbour/include/hbexpra.c * harbour/include/hbexprb.c * harbour/include/hbver.h * harbour/source/common/hbstr.c * harbour/source/common/hbver.c * harbour/source/compiler/Makefile * harbour/source/compiler/cmdcheck.c * harbour/source/compiler/complex.c * harbour/source/compiler/gencli.c * harbour/source/compiler/genjava.c * harbour/source/compiler/genobj32.c * harbour/source/compiler/harbour.c - harbour/source/compiler/harbour.simple - harbour/source/compiler/harbour.slx - harbour/source/compiler/harbour.sly * harbour/source/compiler/harbour.y * harbour/source/compiler/hbgenerr.c - harbour/source/compiler/hbslex.c - harbour/source/compiler/hbstrong.c * harbour/source/compiler/hbusage.c - harbour/source/compiler/simplex.c * harbour/source/macro/Makefile - harbour/source/macro/macro.slx - harbour/source/macro/macroslx.c * harbour/source/pp/ppcore.c * harbour/utils/hbpp/hbppcomp.c - removed SIMPLEX references ! fixed memory leak in request _GET_ * use hb_compIdentifiersNew() in INLINE and AUTOOPEN structures members * eliminated all internal exit() calls. Now hb_compGenError() with fatal errors does not interrupt application but only sets HB_COMP_PARAM->fExit = TRUE; What should cause silent clean application close. Please keep it in mind making future modifications and do not introduce and exit() function call. + added support for \x<hex> and \<oct> quoting in extended strings (just like in C). Warning !!!. Embedded 0 bytes are supported by PP, lexer and expression optimizer but not by bison. To make them working it will be necessary to change Literal terminal symbol holder and add length field in bison rules and also change the hash table used to hold identifiers, literals and macros to store and use real string length. If someone will try to use strings with embedded 0 now then they will be cut but nothing worser should happen. 2006-11-24 07:50 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/compiler/harbour.y * fixed some memory leaks which cannot be addressed by destructor because they are inside our own code which were not freeing properly passed expressions, e.g.: x:=1->f or: x:=field->(1) This should close the memory leaks problem in grammar parser. * indenting 2006-11-24 03:25 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/compiler/Makefile * commented out YACC_FLAGS = -p hb_comp this should not be committed, it will be used in the future. 2006-11-23 20:00 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapi.h * harbour/include/hbcomp.h + harbour/include/hbcompdf.h * harbour/include/hberrors.h * harbour/include/hbexpra.c * harbour/include/hbexprb.c * harbour/include/hbexprc.c * harbour/include/hbexprop.h * harbour/include/hbmacro.h * harbour/include/hbpp.h * harbour/include/hbvm.h * harbour/source/common/expropt1.c * harbour/source/common/expropt2.c * harbour/source/compiler/Makefile * harbour/source/compiler/cmdcheck.c * harbour/source/compiler/complex.c * harbour/source/compiler/genc.c * harbour/source/compiler/gencc.c * harbour/source/compiler/gencli.c * harbour/source/compiler/gencobj.c * harbour/source/compiler/genhrb.c * harbour/source/compiler/genjava.c * harbour/source/compiler/genobj32.c * harbour/source/compiler/harbour.c * harbour/source/compiler/harbour.l * harbour/source/compiler/harbour.y * harbour/source/compiler/hbcomp.c * harbour/source/compiler/hbdead.c * harbour/source/compiler/hbfix.c * harbour/source/compiler/hbfunchk.c * harbour/source/compiler/hbgenerr.c * harbour/source/compiler/hbident.c * harbour/source/compiler/hbpcode.c * harbour/source/compiler/ppcomp.c * harbour/source/macro/macro.y * harbour/source/pp/ppcore.c * harbour/source/pp/ppgen.c * harbour/source/pp/pplib.c * harbour/source/vm/cmdarg.c * harbour/source/vm/estack.c * harbour/source/vm/fm.c * harbour/source/vm/macro.c * harbour/utils/hbpp/hbpp.c * harbour/utils/hbpp/hbpp.h * harbour/utils/hbpp/hbppcomp.c * harbour/utils/hbpp/hbppcore.c * harbour/utils/hbpp/hbpplib.c * harbour/utils/hbpp/pragma.c * changed the internal compiler API to be MT safe. All global and static non constant variables replaced by HB_COMP structure which have all compiler context settings. It's possible to allocate simultaneously many compiler contexts and compile code. Only constant/read only variables are shared. In macro compiler HB_COMP is replaced by HB_MACRO. In source code I everywhere used to macros: HB_COMP_DECL and HB_COMP_PARAM which are equivalents of old HB_MACRO_DECL and HB_MACRO_PARAM definitions. We will only have to change compiler FATAL errors support to not execute exit() for non batch systems. * make macro compiler fully MT safe * removed not longer used definitions and variables ! add direct accessing to PP line number information - it fixes missing line numbers reported recently ! added generating .ppo files when tokens are teken directly by compiler - it fixes empty .ppo file problem ! clear hb_stack internal variables after removing hb_stack to avoid possible GPF if application still works and try to access unexsiting hb_stack ! do not allocate new memory block when final FM statistic report is generated - it fixes problem with GPF when application compiled with FM statistic exits and CLIPPER envvar is set. ! fixed memory leak hb_cmdargCheck() ! added to harbour.y symbol destructors - it should fixes memory leaks in syntax errors but it uses quite new bison feature which is not fully supported yet. Unfortunately it's also not MT safe and the destructors implementation in 1.875c does not respect %parse-param. Bison documentation says that it should so I hope it will be fixed soon (or maybe even already is in the newest bison versions) before I'll add multi context compilation support. If not then I will have to add some workaround. I can pass compiler context pointer inside YYSTYPE using hack in a lexer but it will force really huge number modifications in existing bison rules so probably it will be much easier to fix bison or write a small tool to update generated parser. * other modifications - the total size of patch is nearly 1 MB and detail description will have to take me few days. 2006-11-21 14:35 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/common.mak + added missing compiler/hbcomp.c file 2006-11-21 05:05 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/compiler/complex.c + harbour/source/compiler/hbcomp.c * added missing header and file in my previous commit 2006-11-21 03:30 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/common.mak * harbour/source/compiler/Makefile * harbour/include/hbcomp.h * harbour/include/hbexprb.c * harbour/include/hbexprc.c * harbour/source/compiler/cmdcheck.c * harbour/source/compiler/genc.c * harbour/source/compiler/harbour.c * harbour/source/compiler/harbour.l * harbour/source/compiler/harbour.slx * harbour/source/compiler/harbour.y * harbour/source/compiler/hbgenerr.c * harbour/source/compiler/hbident.c * harbour/source/compiler/ppcomp.c + harbour/source/compiler/complex.c + added new PP based compiler lexer - it's smaller, MT safe and a little bit faster then then the FLEX version. + added HB_COMP structure to hold compiler data in future MT version + added global variable HB_COMP_PTR hb_comp_data to make conversion to MT easier - now it holds only PP and lexer data. * update PP related code in compiler to be MT safe + added %pure-parser, %parse-param and %lex-param for bison to generate MT safe grammar parser. * updated FLEX to work with recent compiler modifications and pure-parser bison API * harbour/makefile.bc * harbour/makefile.vc * harbour/source/macro/Makefile * harbour/source/macro/macro.l * harbour/source/macro/macro.y * harbour/source/macro/macrolex.c * use hb_macro prefix instead of hb_comp in bison/flex parser/lexer used in macro compiler to avoid possible conflicts in the future * separated lexer data * harbour/include/hbapi.h * harbour/include/hbpp.h * harbour/source/pp/ppcore.c * harbour/source/pp/ppgen.c * harbour/source/pp/pplib.c * harbour/source/vm/macro.c * removed not used members from HB_MACRO structure to make it cleaner before creating common to compiler and macro compiler structure + added new token HB_PP_TOKEN_EPSILON + added void * cargo parameters passed to executed user functions + hb_pp_tokenGet(), hb_pp_tokenToString(), hb_pp_tokenBlockString() functions for new PP based compiler lexer * harbour/utils/hbpp/hbpp.c * harbour/utils/hbpp/hbpp.h * harbour/utils/hbpp/hbppcomp.c * harbour/utils/hbpp/hbppcore.c * harbour/utils/hbpp/hbpplib.c * harbour/utils/hbpp/pragma.c * updated to compile with recent compiler header file modifications PP, new lexer and most of grammar parser should be MT safe. Now we should update all compiler functions to pass pointer to HB_COMP data structure where we should all current global variables. This structure as first member should have HB_CMPCOMMON structure which will hold common to compiler and macro compiler data. Ryszard I think you are the best person to define this structure. We have new lexer which is MT safe but please note that it has to be extensively tested so I would like to ask everybody to compile as much as possible different code and check if the final programs work as expected. Working on new code I removed some limitations existing in FLEX though not all. At the beginning I tried to replicate the exact FLEX behavior but I've found that in few places it does not work as it should so I begin to encode rules in a way which remove some limitations. In fact now it's much easier to control some things. I kept the FLEX code working and made all necessary modifications so it still can be used but keeping FLEX working cost us IMHO too much. It's not possible to introduce some improvements to grammar parser. All identifiers, keyword and macros returned by new lexer are converted to upper letters, do not have to be freed by hb_xfree() and is guarantied that will be always accessible. So from grammar file we can remove all hb_compIdentifierNew( hb_strupr($1), TRUE ) what should give noticeable speed improvement but will break the FLEX code. Ryszard and other you will have to decide if we will support FLEX in the future. We can also clean the code and remove most of other redundant hb_strupr() and hb_strdup() used in many places. BTW only one terminal symbol can be returned with lower letters: DOIDENT and I make it intentionally so it's possible to use: DO prog1 WITH "something" on case sensitive file systems so this symbol should be cloned in upper cases as function symbol but used without modification as file name. It's current behavior but I'm not sure you will want to keep it. Maybe compiler switch to always convert file names created from DO <id> [WITH <params,...>] to lower cases will be better. Please think about it. 2006-11-20 15:20 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/macro/macrolex.c ! fixed bad typo in NIL, IIF, .AND., .NOT. tokens parsing 2006-11-18 15:35 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbexpra.c * harbour/include/hbexprb.c * harbour/include/hbexprc.c * harbour/source/macro/macro.y * harbour/source/macro/macrolex.c * do not allocate separate memory in macro compiler for terminal symbols which needs string representation - it fixes some set of memory leaks and increase a little bit macro compilation ! fixed accessing freed memory in: private cMacro := "cEarly", cEarly := {"Early"} @ 12,10 GET &cMacro[1] ! fixed GPF in: p:=@left() and similar expressions * harbour/source/common/expropt2.c % minor modification * harbour/source/compiler/harbour.c ! fixed HB_TRACE message 2006-11-17 22:55 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/pp/ppcore.c ! fixed casting - it resolves problem reported by Alexander with preprocessing chr(255) from static buffer (PP used by .prg code) * harbour/source/macro/macro.y + added some comments * harbour/source/macro/Makefile * commented out compilation of FLEX based lexer for macro compiler and added compilation of new small lexer written in pure .c * harbour/common.mak * replaced macrol.obj by macrolex.obj + harbour/source/macro/macrolex.c + new small lexer written in pure .c. The code is much smaller, MT safe and more friendly for grammar parser. I think it should be also faster but I haven't made any tests yet. When we update grammar parser to not free string representation of terminal symbols then we should expect some farther speed improvement, it will also resolve some set of memory leaks like in: type("user input") and will allow to make some parts of grammar parser common to compiler and macro compiler by removing #if[n]def HB_MACRO_SUPPORT 2006-11-17 14:55 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/common/hbstr.c ! fixed decoding strings without trailing ASCII NUL character in hb_strRemEscSeq() * harbour/source/pp/ppcore.c + added decoding C escaped strings (e"...") to PP so they can be preprocessed like a normal strings, it's not enabled when HB_C52_STRICT macro is set 2006-11-17 13:30 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapi.h * harbour/source/common/hbstr.c * harbour/source/compiler/harbour.l * harbour/source/macro/macro.l * harbour/source/macro/macro.slx * harbour/source/compiler/harbour.slx * changed parameters in function: hb_compStrToNum() now the string size is passed explicitly so it can work with strings which does not have trailing ASCII NUL character. * harbour/source/macro/macro.y * indenting * harbour/include/hbmacro.h * harbour/source/common/hbstr.c * harbour/source/macro/macro.l * harbour/source/macro/macro.y * added two new functions for macro compiler: hb_macroLexNew() and hb_macroLexDelete() to clearly separate lexer from grammar parser. * harbour/source/compiler/harbour.l * harbour/source/common/hbstr.c * harbour/source/pp/ppcore.c * added error generation for wrong e"..." strings and fixed \" quoting * removed \q quoting * harbour/source/pp/ppcore.c * harbour/source/pp/ppgen.c * added small description in headers * harbour/common.mak * harbour/source/pp/Makefile * harbour/source/pp/pplib.c + harbour/source/pp/pplib2.c * harbour/include/hbextern.ch + added auto destructor for allocated PP context, it's not longer necessary to execute __PP_FREE() so this function was moved from the standard .prg API to file with backward compatible functions * changed __PREPROCESS() to __PP_PROCESS() * moved setting std rules to separate file so now if user uses PP with only his own rules we are not forcing linking static tables which are quite huge (over 100 kB) To include stdandard rules in static binaries user should add to his code: REQUEST __PP_STDRULES + harbour/source/pp/pplib3.c * old PP functions for backward compatibility: __PPADDRULE(), __PREPROCESS(), __PP_FREE() Please note that using this function is not MT safe. They should work like with old PP code. Using any of this function automatically forces linking __PP_STDRULES 2006-11-15 14:20 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapi.h + added void * pLex; member to HB_MACRO structure - it will be necessary for MT safe macro parser * harbour/include/set.ch * harbour/include/hbexprb.c * harbour/source/macro/macro.l * harbour/source/macro/macro.y * indenting, formatting and converting tabs to spaces * harbour/include/hbpp.h * harbour/source/compiler/ppcomp.c * harbour/source/pp/ppcore.c * harbour/source/pp/ppgen.c * harbour/source/pp/pplib.c * make HB_PP_TOKEN structure public for other code and changed public PP API to not force including static rules by programs which does not need them. + added basic API for using PP as lexer * divided HB_PP_TOKEN_MACRO to HB_PP_TOKEN_MACROVAR and HB_PP_TOKEN_MACROTEXT and mark [<keyword>][&<keyword>[.[<nextidchars>]]]+ as HB_PP_TOKEN_MACROTEXT not pair HB_PP_TOKEN_KEYWORD and HB_PP_TOKEN_MACRO It allows easier integration PP as (macro)compiler lexer and fixes preprocessing [<keyword>][&<keyword>[.[<nextidchars>]]]+ in some patterns. * harbour/utils/hbtest/Makefile + added PP library to linked library list * harbour/source/macro/macro.y + added seaport to use PP as lexer. It's disabled by default and can be enabled using by defining HB_PP_MACROLEX. It eliminates using FLEX or SIMPLEX lexer in macro compiler. Now it emulates the behavior of FLEX lexer because I wanted to minimize the modification but in fact because parsed token are freed when macro compiler finish its job then we can resolve RT memory leaks which apear during parsing wrong expressions. It will be enough to drop allocating memory for new terminal symbols and using them as is like in compiler. It will also quite nice simplify include/hbexpr*.c code and will allow to move some functions to COMMON library. I want to make also pure compiler code MT safe so I will have to add passing pointer to a structure with compiler context just like in macro compiler. It means that if we define a structure which will be common to compiler and macro compiler with local (not common) data stored in other structure for which will will keep only a pointer then we will be able to move most of include/hbexpr*.c code to common library. But I do not want to make farther modification without consultation without Ryszard. Also to make PP default lexer some farther modifications should be done in core PP code and include/hbexpr*.c files to not reduce the speed. Now using HB_PP_MACROLEX for sure will have to cause speed reduction in macro compiler. But if we make necessary modifications then we should keep at least the same speed or probably reach noticeable better results. 2006-11-14 16:35 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * common.mak * Reverted a change of 2006-10-04 09:02 2006-11-14 13:50 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/TODO * removed to resolved problems from TODO/FIXME list * harbour/include/hbexprb.c * indenting and tab to spaces conversion * harbour/source/compiler/ppcomp.c ! fixed typo which cased that dump buffer was not ended with \0 character 2006-11-13 20:50 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbpp.h * harbour/source/pp/ppcore.c ! fixed the problem reported by Enrico in code like: IF ["] $ var Unfortuantelly this fix also breaks some valid expressions like: x := a[ f("]") ] $ "test" x := a[ f( "'" ) ] $ "test" what is also Clipper compatible anyhow I think that in the future we may want to break Clipper compatibility and allow compilation of such code. * harbour/doc/pp.txt * updated documentation for the above modification 2006-11-13 11:22 UTC+0200 Chen Kedem <niki@synel.co.il> * TODO - Remove one FIXME item with was fixed (PP of a long line). + Add 3 FIXME items (these are all that I know of). + doc/pp.txt * PP description by Przemyslaw Czerpak (druzus/at/priv.onet.pl) 2006-11-13 03:40 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/hb-func.sh + pass GTK paths to GCC in hb* scripts when -xbgtk switch is used * harbour/contrib/rdd_ads/rddads.h * harbour/contrib/rdd_ads/adsfunc.c * indenting and casting * harbour/source/rdd/dbfcdx/dbfcdx1.c * cleaned typos in comments + harbour/tests/speedtst.prg + added speed test * harbour/include/hbpp.h * harbour/source/pp/ppcore.c + added HB_PP_TOKEN_ISNEUTRAL() macro to make code a little bit more readable * harbour/include/std.ch + added some missing old PP commands * harbour/source/Makefile * minor modification in order of compiled libraries * harbour/source/pp/pplib.c * changed the PP interface for .prg code. Now following functions are supported: __PP_INIT( [<cIncludePath>] [, <cStdChFile> ] ) -> <pPP> initialize new PP context and return pointer to it. when <cStdChFile> is empty string ("") then no default rules are used only the dynamically created #defines like __HARBOUR__, __DATE__, __TIME__, __PLATFORM__* __PP_FREE( <pPP> ) free PP context. __PP_PATH( <pPP>, <cPath> [, <lClearPrev>] ) add new (or replace previous) include paths. __PP_RESET( <pPP> ) reset the PP context (remove all rules added by user or preprocessed code) __PP_ADDRULE( <pPP>, <cDirective> ) preprocess and execute new preprocessor directive __PREPROCESS( <pPP>, <cCode> ) -> <cPreprocessedCode> preprocess given code and return result User can create more then one PP context and then use each of them separately. Any modification in one context have no effect in other. 2006-11-12 09:30 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) * harbour/makefile.bc * harbour/makefile.vc * Fixed pptable.c dependencies 2006-11-10 17:40 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/rdd_ads/rddads.h + added #define WIN32 when HB_OS_WIN_32 is set to not force -DWIN32 compiler switch * harbour/source/pp/ppcore.c * cleaned BCC warnings * harbour/source/rdd/dbfcdx/dbfcdx1.c ! fixed ordKeyGoto() positioning when active filter is set and no controlling order 2006-11-10 12:00 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/hb-mkslib.sh + added ${L_USR} to gcc parameters * harbour/source/pp/ppgen.c ! fixed minor typo in printf() format 2006-11-10 02:05 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbcomp.h * harbour/include/hbpp.h * harbour/source/compiler/cmdcheck.c * harbour/source/compiler/hbusage.c * harbour/source/compiler/ppcomp.c * harbour/source/pp/ppcore.c * harbour/source/pp/ppgen.c * harbour/source/pp/pplib.c * restored support for old hb_inLine() syntax + added support for hb_inLine() to new PP. It can be enabled by -kI compiler switch. It's disabled by default. The new hb_inLine{} syntax is: [ <exp> ] hb_inLine [ ( [<params,...>] ) ] { [ <c_code> ] } [ <exp> ] <c_code> can contain new line characters. Nested hb_inLine{} in <params,...> is not supported. If you think it's important I can add it in few lines. This version does not break any valid Clipper syntax, hb_inLine is not reserved word and hb_inLine can be repeated many times in the same line. E.g. this code can be properly preprocessed and compied if you disable in compiler old hb_inLine() syntax and enable the new one by -kcI Harbour compiler switch: proc main() local hb_inLine := " (var) " ? hb_inLine{ hb_retc("inLine"); } + hb_inLine(" parameter ") { hb_retc( hb_parc( 1 ) ); } + "!" + hb_inLine + hb_inLine() { hb_retc( ":-)" ); } + ; hb_inLine() + "{}" return function hb_inLine() return " func() " So from user point of view this version have real "inline" syntax. To be clear: I'm not a fun of any C inline extensions. They works only when we use .c code as compiler backend so the code which uses them cannot be used in .hrb files and any other format we will add in the future which do not support later C code compilation. F.e it will not work in compiler integrated with HVM or with .NET Anyhow if someone finds it useful then I think that it should be properly implemented. This is the reason I added the new version. The old one I left only for backward compatibility. It breaks any code which uses hb_inLine keyword can be used only once in a line and it does not have "inline" so IMHO it should not be enabled by default. I would like to hear your opinion about default compiler switches: 1. should we disable both: hb_inLine() and hb_inLine {} 2. should we disable hb_inLine() and enable hb_inLine {} 3. should we disable hb_inLine {} and enable hb_inLine() 4. should we enable both: hb_inLine() and hb_inLine {} + harbour/tests/hbinline.prg + added test code for new hb_inLine{} syntax * harbour/tests/inline_c.prg ! replaced direct access to HB_ITEM body by API function calls 2006-11-09 22:00 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) * harbour/include/hbstack.h * Added HB_EXPORT to hb_stackReturnItem() 2006-11-09 14:00 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) - harbour/utils/hbpp/hbpptable.c + harbour/utils/hbpp/hbpptbl.c * harbour/utils/hbpp/Makefile * harbour/common.mak * Renamed hbpptable.c->hbpptbl.c to follow 8.3 naming convention 2006-11-09 09:45 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) * harbour/makefile.bc * Adapted to the new Preprocessor utility ppgen.exe * Cleaned hbpp.exe dependecies due to recent changes * harbour/makefile.vc * harbour/common.mak * Cleaned hbpp.exe dependecies due to recent changes * harbour/include/hbapi.h * Added HB_EXPORT to hb_gcAlloc() * harbour/include/hbstack.h * Added HB_EXPORT to hb_stackSelfItem() * harbour/source/vm/fm.c * Added dipslaying contents of unreleased blocks at program exit, together with logging unreleased memory blocks report to fm.log file. Borrowed from xharbour. - harbour/utils/hbpp/ppcomp.c - harbour/utils/hbpp/ppcore.c - harbour/utils/hbpp/pplib.c - harbour/utils/hbpp/pptable.c + harbour/utils/hbpp/hbppcomp.c + harbour/utils/hbpp/hbppcore.c + harbour/utils/hbpp/hbpplib.c + harbour/utils/hbpp/hbpptable.c * Rename harbour/utils/hbpp/pp*.c to harbour/utils/hbpp/hbpp*.c 2006-11-08 00:39 UTC+0200 JF Lefebvre (jflefebv at mafact com) * harbour/makefile.vc * harbour/common.mak * Adapted to the new Preprocessor utility ppgen.exe Someone should rename the following files into utils/hbpp ppcomp.c -> hbppcomp.c pplib.c -> hbpplib.c ppcore.c -> hbppcore.c pptable.c -> hbpptable.c 2006-11-08 17:20 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/classes.c ! fixed type checking for "string" type. It should be translate to character not symbol item type. 2006-11-08 13:40 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/pp/ppcore.c * cleaned two warnings generated by old GCC versions 2006-11-08 12:55 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/hb-func.sh + added linker parametrs to hbcc * harbour/include/hbapi.h + added hb_retclenAdoptRaw() * harbour/include/hbapifs.h * harbour/source/common/hbfsapi.c * changed first parameters of hb_fsAddSearchPath() to const char * * harbour/include/hbclass.ch * update for new PP. I think that now we can try to create final version of our OOP rules. * harbour/include/hbdefs.h + added UCHAR and SCHAR typedefs * harbour/include/hbrddcdx.h * indenting * harbour/source/rdd/workarea.c ! fixed minor typo * harbour/source/common/hbdate.c * harbour/source/rtl/dates.c * moved hb_dateToday() and hb_dateTimeStr() from RTL to COMMON library - harbour/include/hbpp.h - harbour/source/pp/ppcomp.c - harbour/source/pp/ppcore.c - harbour/source/pp/pplib.c - harbour/source/pp/pptable.c - harbour/source/pp/pragma.c * harbour/utils/hbpp/Makefile * harbour/utils/hbpp/hbpp.c + harbour/utils/hbpp/hbpp.h + harbour/utils/hbpp/ppcomp.c + harbour/utils/hbpp/ppcore.c + harbour/utils/hbpp/pplib.c + harbour/utils/hbpp/pptable.c + harbour/utils/hbpp/pragma.c * moved all PP code to harbour/utils/hbpp It's interesting and working preprocessor and the code can be usable for some other things so I do not want to remove it. Probablly we should move it to contrib/hbpptext * harbour/include/hbcomp.h * harbour/include/hberrors.h * harbour/include/hbsetup.ch + harbour/include/hbpp.h + harbour/include/hbstdgen.ch * harbour/source/common/hbstr.c * harbour/source/compiler/Makefile * harbour/source/compiler/cmdcheck.c * harbour/source/compiler/harbour.c * harbour/source/compiler/harbour.l * harbour/source/compiler/hbgenerr.c + harbour/source/compiler/ppcomp.c * harbour/source/pp/Makefile + harbour/source/pp/ppcore.c + harbour/source/pp/pplib.c + harbour/source/pp/ppgen.c + New PP code written from scratch. It works in similar way to Clipper PP even the error codes are replicated. The code is MT safe does not have any limitation on size of preprocessed code, line, etc. It's also Clipper compatible lexer. It means that we do not longer need FLEX or SIMPLEX which can be replaced by new PP after some small modifications. Anyhow I haven't decided to make it myself. I would like to agree with with the rest of developers. I will be very happy if such modifications will be done by someone else, Ryszard? Meanwhile I current PP join on output the line tokens and give the string line to FLEX/SIMPLEX. It does not have any sense and all FLEX/SIMPLEX limitations are still existing. Ryszard, even if we keep it then I hope you can remove at least FLEX line buffer and use the one returned from PP. Because string tokens in parsed line are converted to text which is later once again decoded to tokens by FLEX I had to introduce new string format which supports embedded string delimiters. I chose modified version of xHarbour extension with escaped strings e"<sting>" so now FLEX understand such strings and decode them like C escaped strings. It means that you can use them also in the .prg code e.g.: outstd( e"Hello\n\rWorld" ) The new PP is also noticeable faster. You should see the difference compiling long files. The build in PP rules are generated automatically by ppgen program created from source/pp/ppgen.c I had to add to GNU source/pp/Makefile these two lines: pptable.c : ppgen$(EXE_EXT) ./ppgen$(EXE_EXT) $(TOP)$(ROOT)include/hbstdgen.ch -opptable.c -q something like that will have to be done also in non GNU make system. Now Harbour can be compiled only using GNU make. Marek can you update non GNU make files? I would like to leave this modification to you or other developers who can test it. It was quite big modification and I do not believe that I haven't make any mistakes but I hope that in few weeks I'll fix any reported bugs and it will resolve any PP problems. TODO: * error messages create one common list of errors and warnings and keep it in common library. PP and compiler can still generate different errors with the same number. It can be confusing for the users and hard to document and add i18n translations. If possible we should also try to keep Clipper error numbers. In new PP code I added Clipper error numbers but I cannot use them until compiler code is not updated. We should aslo remove the ctype passed to error functions and hack with first character in warning messages and use only error number. The codes from 1000 to 1999 should be warnings where range 1000:1099 is activated by -w, 1100:1199 by -w1, 1200:1299 by -w2, etc. 2000:2999 are errors and 3000:3999 fatal errors. All compiler functions which generate an error should expect that error function will not stop the compiler but return and cleanly finished their job. It's necessary for MT support in compiler and making compiler part of some other programs which may still work and compile different source code. * FLEX/SIMPLEX remove them at all and add some final pass to PP to create more precise tokens for grammar parser or at least add better integration to remove some redundant code and existing limits. * hb_inLine() support - it's broken in new PP but as I can see it was never working correctly. I can add a hack to PP to support hb_inLine() but I'm not sure it's worth to do. Maybe in few days. + harbour/include/std.ch + added new std.ch. It was created without using Clipper's std.ch. It's quite possible that some rules are wrong and should be fixed so please help. Anyhow I created a set of programs based on new PP code generating all possible combinations of different commands I collected from different source code, documentation and match patterns of rules I was adding to new std.ch and then I was comparing .ppo files generated by Clipper and Harbour so I do not expect any bigger problems then some minor typos. I had to introduce some modifications in spacing as workaround for FLEX/SIMPLEX which cannot properly decode text preprocessed by Clipper after stringify. * harbour/utils/hbpptest/pretest.prg * updated for new PP It reports 16 wrong translations but some of them are valid and some others are caused by escaped string e"..." (one of hack for FLEX/SIMPLEX support) I also had to remove all spaces in comparison the results because they were not Clipper ocmpatible at all. Ryszard please look at it. 2006-11-07 21:23 UTC+0200 JF Lefebvre (jflefebv at mafact com) * harbour/include/hbclass.ch * added one rule to support inline method with local var separated from <code> by a coma Working and into the classy compatibility block 2006-11-07 20:36 UTC+0200 JF Lefebvre (jflefebv at mafact com) * harbour/include/hbclass.ch * added one rule to support inline method with local var separated from <code> by a coma 2006-11-03 22:00 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) * harbour/makefile.bc * Updated comment section about environment variables used by makefile * harbour/makefile.vc * Updated comment section about environment variables used by makefile * Cleaned compilation under Visual C++ 8.0 (VS2005 compiler), including 64-bit platforms. To properly compile under Visual C++ 8.0 you have set a new environment variable HB_VISUALC_VER to 80 before running make_vc.bat. 2006-10-07 04:25 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbclass.ch + added validation for class data names. As additional preprocessor rule to not use <!marker!> * harbour/include/hboo.ch * harbour/source/rtl/tclass.prg * harbour/source/vm/classes.c + added delegate messages * harbour/include/hbstack.h * harbour/source/vm/arrays.c * harbour/source/vm/estack.c * harbour/source/vm/hvm.c * harbour/source/vm/proc.c + added startup symbol to hb_stack. It gives very good stop condition for all procedures which trace stack calls and resolves the problem with hb_stack.pBase which was never pointing to valid function/procedure symbol when no symbol was put on HVM stack. Now after hb_stackInit() the first item is allocated for "hb_stackInit()" symbol so hb_stack.pBase is always a pointer to valid function/procedure symbol. * changed the guard condition for buggy code in hb_stackPop() and similar code from: hb_stack.pPos < hb_stack.pItems to: hb_stack.pPos <= hb_stack.pBase The old condition was generating usable error message only in the startup function. In deeply called functions it was only waste of CPU time on one of the most often call functions. Before it was activated internal stack structures were corrupted. If we were leaving for many years without really working stack underflow protection then maybe we should think about disabling it at when HB_STACK_MACROS are used and keep it only in real stack functions for HVM developers. Single protection in hb_stackOldFrame() I've just added is enough for basic C code validation. I created the second version of stack macros without it in hbstack.h but I would like to hear other developers opinion. 2006-10-05 01:40 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbexprc.c * Temporary disabled optimization with references to object variables until we will not have extended reference items in our HVM. It can be enabled by compiling with HB_USE_OBJMSG_REF * harbour/include/hbclass.h * restored previous CLASSDATA behavior which ignores SHARED clause and always create shared class variables 2006-10-04 15:20 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbexprc.c * translate HB_P_INC / HB_P_DEC in (pre|post)(inc|dec)rementation to HB_P_[PLUS|MINUS]EQ * harbour/source/vm/hvm.c - removed not necessary now hb_itemUnRef() in hb_vmInc()/hb_vmDec() 2006-10-04 09:02 UTC+0100 Antonio Linares (alinares@fivetechsoft.com) * common.mak main.c has to be used instead of mainstd.c or mainwin.c as main.c select the right entry point function based on the used defines 2006-10-04 02:30 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbclass.ch * most of the rules rewritten ! fixed some wrong rules and general cleanup + added additional code validation ! fixed compilation of more then one class in single file. Now it's even possible to declare all classes at beginning of single file and then implementing their methods in any order ! fixed using static classes and classes ! fixed compilation without <ClassName>_ prefix in method names + added support for HB_CLS_NO_DECORATION macro which disable adding <ClassName>_ prefix to method names - this macro is set by default when HB_SHORTNAMES is set. + added support for declared parameters validation - it can be disabled with HB_CLS_NO_PARAMS_ERR and I had to disable it by default due to problems with our preprocessor. Ryszard seems that our PP has serious problems with decoding directives when there is no space between symbol and some other non symbol character. I had to add some workarounds and even introduce buggy rules to make it working. Please look at it. You can remove #define HB_CLS_NO_PARAMS_ERR from hbclass.ch and try to rebuild Harbour core code to see the problem. * harbour/include/hboo.ch * harbour/source/vm/classes.c + added support for new primitive message: HB_OO_MSG_PERFORM * harbour/source/rtl/tclass.prg - removed <lPersistent> parameter from HBClass messages and internals data. Persistent is supported as scope bit and separate variable was redundant. - removed stripping of () from message names. Here is not a place to fix wrong preprocessor rules. * harbour/utils/hbtest/rt_class.prg * use: METHOD PROCEDURE ... CALSS ... instead of: PROCEDURE ... CALSS ... The first version is preferable syntax. * harbour/source/debug/dbgtmenu.prg * harbour/source/rtl/checkbox.prg ! fixed some parameters in method declaration - global cleanup will have to wait for preprocessor fixes Hi all, Please make test with current hbclass.ch code. I hope that I haven't broken too much things ;-) but I rewrite from scratch most rules and it's possible that I missed something or made some stupid typos. Current version is much shorter and should be easier to updated. For sure I've intentionally changed one thing. CLASSDATA was ignoring SHARED attribute and always created shared class variables. Seems that it was long existing typo but the fix may interact with already existing code which needs SHARED class variables but does not use SHARED clause in CLASSDATA declaration. In such case please update it and add missing SHARED. Also in the end of CLASS declaration we have: [ ; #translate Super( <SuperClassN> ): => ::<SuperClassN>: ] ; [ ; #translate Super( <SuperClass1> ): => ::<SuperClass1>: ] ; [ ; #translate Super(): => ::<SuperClass1>: ] ; [ ; #translate Super: => ::<SuperClass1>: ] ; [ ; #translate ::Super : => ::<SuperClass1>: ] These rules introduce very serious bug - they are breaking supercasting in code which makes something like: ::super:super:super:msg or in any other code which sends SUPER message to some other class objects. I will have to remove them. At least the last three ones. There were some other things I wanted to write about but it's too late and I'm to tired - sorry. If you will have any question please ask. if you will notice some problems with current rules please inform me. 2006-09-29 22:50 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/classes.c * allow to access object variables using assign messages without parameter. I do not want to add symmetric behavior for access messages though it's technically possible but such things should be controlled by programmer because access messages can have less restricted scoping then assign ones (READONLY) so I'll add new rule for it in hbclass.ch * harbour/source/vm/hvm.c * fixed warning message when object variable reference is generated using macro compiler without '_' as prefix. 2006-09-29 21:05 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/rdd_ads/ads1.c * harbour/contrib/rdd_ads/adsfunc.c * synced with Brian fixes in xHarbour * harbour/source/rdd/workarea.c * minor modification * harbour/source/rdd/dbfcdx/dbfcdx1.c * minor Clipper compatibility update 2006-09-29 11:20 UTC+0100 Ryszard Glab <rglab//imid.med.pl> * tests/Makefile + added omacro.prg and varparam.prg * ChangeLog * fixed date in previous commit 2006-09-29 11:10 UTC+0100 Ryszard Glab <rglab//imid.med.pl> * include/hbexpra.c * include/hbexprb.c * include/hbexprc.c * include/hbexprop.h * source/common/expropt1.c * source/compiler/expropta.c * source/compiler/exproptb.c * source/compiler/exproptc.c * source/compiler/harbour.c * source/compiler/harbour.y * source/macro/macro.y * source/macro/macroa.c * source/macro/macrob.c * source/macro/macroc.c * source/vm/hvm.c + added support for passing methods as macro eg: o:&send() o:&send.end() o:&(expr)() o:&var++ o:&var := 0 o:&(expr)++ WITH OBJECT obj ++:&var :&var += :&(var2+"oo") END + tests/omacro.prg + sample file to test the new syntax NOTICE: For simple assigments (=,:=), compound assignments (+=,-=,*=,/=) and for pre/post increment operators( ++,--) the macro should evaluate to a symbol that starts with underscore '_'. To access a variable the macro should evaluate to a symbol with no '_' char. 2006-09-28 23:55 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/common.ch - removed ISSYMBOL() * harbour/source/rtl/tclass.prg * use valtype() instead of IS*() * some minor modifications * harbour/source/vm/hvm.c * minor modification 2006-09-28 14:40 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbclass.ch * updated some not enabled by default rules to use function pointers instead of function names which I forgot to update in previous commit 2006-09-28 14:30 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/common.ch + added ISSYMBOL() * harbour/include/hbextern.ch - removed __CLS_PARAM() * harbour/include/hbclass.ch * harbour/source/rtl/tclass.prg * harbour/source/vm/classes.c * replaced __CLS_PAR00() and __CLS_PARAM() functions by preprocessor rules. These functions are not longer necessary though I left them in classes.c for backward binary compatibility. Probably they will be removed in the future. ! use function pointers (@<funcname>()) instead of function names with REQUEST for super classes ID. It fixes using STATIC class functions. 2006-09-28 00:40 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/make_rpm.sh * check for rpmbuild also when BUGGY_RPM is set * harbour/make_tgz.sh * removed rebuild hbpptest with shared libraries * harbour/include/hbapicls.h + added definitions for hb_clsCreate(), hb_clsAdd(), hb_clsAssociate() * harbour/include/hbapierr.h * harbour/source/rtl/errorapi.c + added hb_errFuncName - pseudo function name which can be used as operation description in new error object. It should help to simplify some code and fix function names when RT error is generated from C function which can be executed from different .prg functions. * harbour/include/hbclass.ch + added some missing Classy(y) compatible object variable type descriptions: Int, Integer, Block * harbour/source/rdd/dbfcdx/dbfcdx1.c ! disabled early retrieving from the cache key position and key count * harbour/include/hbvm.h * harbour/source/vm/hvm.c + added: void hb_vmPushEvalSym( void ) for the code which do not want to access any [P]HB_SYMB structures * changed symbol name in hb_symEval from __EVAL to EVAL and modified hb_symEval registration method to not register hb_vmDoBlock as global function. Having PHB_DYNS address for "EVAL" in hb_symEval.pDynSym allows to eliminate some strcmp() when we are looking for EVAL public symbol. ! fixed symbol table updating in PCODE functions for future multi module .hrb files * harbour/source/vm/proc.c * use hb_symEval.pDynSym instead of strcmp() * harbour/source/vm/arrays.c * harbour/source/vm/debug.c * minor code cleanup * harbour/source/rtl/tclass.prg * harbour/source/vm/classes.c % separate message hash table from methods table - it will cause farther reduction of allocated memory - many thanks to all people who send me statistics about number of used classes and symbols from their code. % use hb_symEval.pDynSym + added support for object variable type scope checking like in Class(y). ! fixed typo in pushing object class variables by reference % s_pClasses is now indexed directly by class handle % some other optimiztions ! make hidden and non virtual invisible in child classes if it overloaded some other non hidden method. In such case the overloaded method is used and can be accessed. ! make friend functions real method class oriented not (super)object for hidden messages 2006-09-26 17:00 UTC+0100 Ryszard Glab <rglab//imid.med.pl> * include/hbexprb.c * source/compiler/exproptb.c * source/compiler/harbour.y *added support for passing the reference to object's variable e.g. foo( @obj:var ) 2006-09-24 21:10 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/rtl/cdpapi.c * Restored hb_CdpList(), deleted accidentally while last commit. 2006-09-23 19:58 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/rtl/cdpapi.c ! Bugs fixed in hb_cdpcmp() 2006-09-23 14:35 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/itemapi.c * minor modification in function order to group together the ones which can operate on reference counters + added additional stop condition in hb_itemUnRef() - we will have to make some modifications for the code which execute hb_itemUnRef() to resolve some possible conflicts with operators overloading and compiler optimizations * harbour/source/vm/classes.c * do not inherit friends - seems that our classes code was too friendly ;-) It also effectively resolves logical problem with accessing overloaded non virtual methods from friends. + added __clsLock( <hClass> ) - it locks any farther class modifications and can be used if programmer wants to be sure that no one will try to hack his class definition. It's very important when programmers work in a team on bigger project. Please do not add to CVS any __clsUnLock() functions - if someone needs it then he can create his own custom HVM build. * code cleanup * harbour/source/vm/eval.c + added hb_execFromArray() - idea and syntax borrowed from xHarbour's HB_ExecFromArray() by Giancarlo Niccolai though it's independent implementation. Now when we have support for functions with variable number of parameters then we need something like this function to fully benefit from new feature. The following syntax is supported: hb_execFromArray( <cFuncName> [, <aParams> ] ) hb_execFromArray( @<funcName>() [, <aParams> ] ) hb_execFromArray( <bCodeBlock> [, <aParams> ] ) hb_execFromArray( <oObject> , <cMethodName> [, <aParams> ] ) hb_execFromArray( <oObject> , @<msgName>() [, <aParams> ] ) or: hb_execFromArray( <aExecArray> ) where <aExecArray> is in one of the following format: { <cFuncName> [, <params,...>] } { @<funcName>() [, <params,...>] } { <bCodeBlock> [, <params,...>] } { <oObject> , <cMethodName> [, <params,...>] } { <oObject> , @<msgName>() [, <params,...>] } * harbour/source/rtl/symbol.prg * removed C code inside #pragma BEGINDUMP/ENDDUMP now it's only .prg code which uses variable parameters function and hb_execFromArray() 2006-09-22 23:00 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbclass.ch * harbour/include/hbvm.h * harbour/source/rtl/tclass.prg * harbour/source/vm/classes.c * harbour/source/vm/hvm.c ! fixed bug in real codeblock scoping which was exploited by dictionary resizing * changed ACCESS messages to ASSIGN ones when object item reference is created for proper READONLY scope checking. The reference to object variable can be created only when caller has sufficient ASSIGN privileges. + added FRIEND CLASS and FRIEND FUNCTION support. It's enough to add class definition: FRIEND CLASS <classFunc1> [, <classFuncN> ] and/or: FRIEND FUNCTION <FuncName1> [, <FuncNameN> ] and all methods of given class or given function will be able to access private variables. Warning!!! Friends cannot access overloaded non virtual methods. This feature is available _ONLY_ for real class members. + added MODULE FRIENDLY to class definition. It causes that all other functions and classes defined in the same .prg module will have friend privileges. In such way works xHarbour and there is now way to disable this "feature" what is IMHO bug. In Harbour programmer has to explicitly enable it (until he will not change / add new preprocessor rule and set it as default ;-)). Syntax: CREATE CLASS .... MODULE FRIENDLY ... END CLASS * harbour/source/vm/proc.c * harbour/source/vm/runner.c * updated function symbols processing * harbour/source/compiler/harbour.c * added note in hb_compOptimizeFrames() about exceeding maximum number of local variables (255). We should add new pcode(s) HB_P_LARGE[V]FRAME or generate compile time error. * harbour/source/vm/macro.c % minor optimizations 2006-09-21 12:05 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/itemapi.c % minor optimization in hb_itemParam() ! fixed enumerator variable clearing in hb_itemCopy() 2006-09-21 09:52 UTC+0100 Viktor Szakats * harbour/source/common/expropt2.c ! Fixed leak introduced in previous commit. 2006-09-20 23:17 UTC+0100 Viktor Szakats * harbour/include/hbexprb.c * harbour/include/hbexprop.h * harbour/source/common/expropt2.c % Compile-time optimization added for expressions below: SToD(""), SToD(), HB_SToD(<cDate>), HB_SToD(""), HB_SToD() ! Tabs converted to spaces. * harbour/source/common/hbdate.c * harbour/source/rtl/dates.c * Copyright cosmetic cleanup. 2006-09-20 21:02 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/codebloc.c ! fixed detaching locals in variable parameters functions 2006-09-20 20:22 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/rdd_ads/ads1.c ! fixed casting for C++ compilation * harbour/source/compiler/harbour.c ! fixed removing locals frame - bSkipFrame was not initialized * harbour/include/hbapi.h * harbour/source/vm/estack.c * harbour/source/vm/hvm.c * harbour/source/vm/itemapi.c * harbour/source/vm/proc.c * moved current line number information from hb_struSymbol to current stack state to keep 16 bytes size for HB_ITEM on 32-bit systems with 4 bytes alignment 2006-09-20 18:40 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/rdd_ads/ads1.c * synced with recent xHarbour fixes * harbour/include/hbdefs.h * indenting * harbour/include/hbexprb.c * harbour/include/hbexprop.h * harbour/source/common/expropt2.c + added compile time optimization for STOD(cConstDateString) covered by -kh compiler extension (default) It allows to keep the same source code for Clipper and Harbour and benefits from data constants without using 0dYYYYMMDD values * harbour/source/vm/classes.c * restored the original 3rd parameter in hb_clsAdd to void(void) - PHB_FUNC - and added translation for PHB_SYMB to not force using [P]HB_SYMB in 3rd party code * harbour/source/vm/estack.c * added protection against possible GPF after executing hb_stackBaseProcOffset() when first item on the stack was not HB_IT_SYMBOL - it can happen in some seldom cases. Probably some more general solution like leaving first dummy item on HVM stack for breaking stack scan loops will be better. I'll think about it. * harbour/source/vm/itemapi.c ! fixed clearing enumerators 2006-09-20 14:15 UTC+0100 Ryszard Glab <rglab//imid.med.pl> * include/hbpcode.h + added new pcode HB_P_VFRAME * include/hbapi.h + added USHORT paramdeclcnt to asSymbol structure * include/hbstack.h * source/vm/estack.c + added hb_stackLocalVariable() to acces local variables * source/compiler/genc.c * source/compiler/gencc.c * source/compiler/harbour.c * source/compiler/harbour.l * source/compiler/harbour.y * source/compiler/hbdead.c * source/compiler/hbfix.c * source/compiler/hblbl.c * source/compiler/hbpcode.c * source/compiler/hbstripl.c * source/vm/hvm.c + added support for variable number of parameters in functions/procedures + tests/varparam.prg * example usage of new syntax for variable number of parameters * source/vm/arrayshb.c * changed HB_APARAMS() to use current stack frame if no arguments are passed ( HB_APARAMS() == HB_APARAMS(0) ) SYNTAX for variable number of parameters 1) [FUNCTION|PROCEDURE] name( ... ) or 2) [FUNCTION|PROCEDURE] name( var1, var2, varN, ... ) To access passed parameters use the following: PCOUNT() - returns number of passed parameters HB_PVALUE( iParamNum ) - returns <iParamNum> parameter HB_APARAMS() - returns array with all passed parameters or usual name of parameter variable in case of syntax 2) 2006-09-19 18:40 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbexprb.c * harbour/source/vm/hvm.c + added support to compiler for sending messages with multi parameters resolved by macro operator: s:="1,2,3"; o:msg(&s) It works just like for functions and it also needs XBASE extension support enabled during compilation, -kx switch in compiler, it's enabled by default. * harbour/source/rdd/usrrdd/usrrdd.c ! added missing DBOI_* index in parameters passed to user ORDINFO() method. 2006-09-19 11:50 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapi.h * harbour/include/hbapicls.h * harbour/include/hbpcode.h * harbour/include/hbxvm.h * harbour/source/compiler/genc.c * harbour/source/compiler/gencc.c * harbour/source/compiler/hbdead.c * harbour/source/compiler/hbfix.c * harbour/source/compiler/hblbl.c * harbour/source/compiler/hbpcode.c * harbour/source/compiler/hbstripl.c * harbour/source/vm/arrays.c * harbour/source/vm/classes.c * harbour/source/vm/codebloc.c * harbour/source/vm/hvm.c * harbour/source/vm/itemapi.c + added three new PCODEs: HB_P_MACROSEND - to use for: s:=1,2,3"; o:=send(&s) HB_P_PUSHOVARREF - to create references to object variables: @o:var HB_P_ARRAYPUSHREF - to create references to array items, it can be used in some optimization, e.g.: a[ <exp1> ] += <exp2> or directly by: func( @a[ <exp> ] ) if we add passing array elements by reference Implemented in HVM and PCODE generation, the compiler has to be modified yet to use them. * changed last parameter in hb_codeblockGetRef() - I'd like to have all variables in hb_struRefer structure in one place: hb_itemUnRefOnce() for easier modifications in the future. * replaced in hb_struRefer 'itemsbase' with 'array'. + added hb_arrayGetItemRef() to create references to array elements. Such reference updates array reference counters. * changed STATICs passed by reference to use new array item references. ! block destructor execution after classy releasing on HVM exit 2006-09-18 03:12 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbclass.ch + added MESSAGE ... INLINE ... rule * harbour/tests/clsccast.prg * harbour/tests/clsicast.prg * harbour/tests/clsnv.prg * harbour/tests/clsscast.prg * harbour/tests/clsscope.prg - removed some unnecessary definitions 2006-09-18 02:00 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/classes.c + added hb_clsRealMethodName() function which I'm using in some test code * harbour/tests/clsscast.prg * updated to use __CLS_CNTSHRDATA() instead of __CLS_CNTCLSDATA() * harbour/utils/hbtest/rt_class.prg + added tests for class and shared class variables/allocating 2006-09-17 18:52 UTC+0100 Viktor Szakats * harbour/tests/testrpt.prg ! Fixed fatal typo. 2006-09-17 18:45 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * xharbour/include/hbvm.h * xharbour/source/vm/hvm.c + added hb_vmPushDynSym( PHB_DYNS ) It should allow most applications to not use [P]HB_SYMB at all. Removing PHB_SYMB from 3rd party .c code may allow us to add freeing unused symbol tables from HVM in the future. * harbour/source/vm/classes.c * temporary restored hb_objGetpMethod() + added __ClsCntClasses() ! allocated real methods for OnError and Destructor to keep the same behavior in these methods as in any others, e.g. scoping checking or debugging. * harbour/common.mak * harbour/utils/hbtest/Makefile * harbour/utils/hbtest/hbtest.prg + harbour/utils/hbtest/rt_class.prg + added tests for our classy code. Now destructors and instance area allocating/casting. Some other in the future. 2006-09-16 23:20 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/rdd_ads/ads1.c * synced with recent Brian fixes in xHarbour * harbour/include/hbapi.h + added 'method' member to hb_struBlock structure * harbour/source/vm/hvm.c * initialize 'method' member in hb_struBlock structure * harbour/source/vm/proc.c * changed the name of last parameter of hb_procname() from bSkipBlock to fMethodName and modified to use information about the class of executed codeblock from new hb_struBlock members * harbour/source/vm/classes.c * removed hb_objGetpMethod() - I hope it's not longer used * added real codeblock scoping. In Clipper there is no information where the codeblock where created and what priviladges/scopes it should has. Class(y) to resovle this problem when codeblock is executed scans the HVM stack for the nearest method call and takes scopes defined for this method. It's a workaround which allow to break standard access rights though seems reasonable when it's not possible to store information where the block is created. I've added to block item structure information about class and method where code block was created so we can use the exact method priviladges. Now Harbour classy code can work exactly like Class(y) when compiled with -DHB_CLASSY_BLOCK_SCOPE and with real code block scoping when compiled with -DHB_REAL_BLOCK_SCOPE. I set the second (real code block scopes) as default. If you think we should be strict Class(y) compatible here then please inform me and I'll change default setting. + tests/clsscope.prg + added demonstration/test code for class method scoping 2006-09-15 21:15 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/arrays.c * harbour/source/vm/classes.c ! fixed multiple use of supercasted object I broke in last commit * removed some unused code and moved some scoping checking to class creation code 2006-09-15 13:25 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbvm.h * harbour/source/vm/classes.c * harbour/source/vm/hvm.c + added hb_vmRequestReenter() and hb_vmRequestRestore() + added executing destructors when some exception is active I forgot about it in previous commit. + harbour/tests/destruct.prg + added example/test code for object destructors 2006-09-15 04:55 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) + harbour/doc/destruct.txt + added description for object destructors in Harbour * harbour/include/error.ch + added new error code EG_DESTRUCTOR * harbour/source/lang/msgpl852.c * harbour/source/lang/msgpliso.c * harbour/source/lang/msgplmaz.c * harbour/source/lang/msgplwin.c * harbour/source/rtl/langapi.c + added desription for new error code - other language modules have to be updated * harbour/include/hbapi.h + added hb_gcRefCheck() and cover some hb_gc* functions by _HB_API_INTERNAL_ macro * harbour/source/vm/itemapi.c ! fixed possible RT error generation when some exception is active * harbour/include/hbapicls.h * harbour/include/hbclass.ch * harbour/include/hboo.ch * harbour/source/rtl/tclass.prg * harbour/source/vm/arrays.c * harbour/source/vm/classes.c + added support for object destructors * harbour/source/vm/garbage.c + added support for object destructors + added logic to detect buggu .prg code which uses destructors see doc/destruct.txt for more info. It's also possible that this code will exploit some bugs in other code which uses GC allocated memory blocks. 2006-09-14 15:23 UTC+0100 Viktor Szakats * harbour/tests/testlbl.prg ! use lower name in report name to work properly on case sensitive file systems 2006-09-14 15:10 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/garbage.c * minor cleanup * harbour/source/rtl/cdpapi.c * harbour/include/hbextern.ch + added HB_CDPLIST() - it returns array with all registered CODEPAGEs * harbour/source/rtl/set.c ! fixed typo in _SET_DEFEXTENSIONS * harbour/tests/testrpt.prg ! fixed syntax ! use lower name in report name to work properly on case sensitive file systems 2006-09-13 20:35 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbvm.h * harbour/source/vm/hvm.c * harbour/source/vm/itemapi.c + added __enumStop() message for "FOR EACH" overloading It's guarantied that it will be sent to base item if it is an object with such message when FOR EACH ... NEXT will finish its job even if it will be interrupted by EXIT or RETURN to allow base object clear resources allocated for FOR EACH enumerator. The BREAK exception is not supported now. This is something what I'd like to discuss soon when I'll add destructors. Please think now if we should allow to execute destructors and other cleanup user code when we are returning to nearest expection trap (BEGIN SEQUENCE / [ RECOVER /] END) cleaning the HVM stack. 2006-09-13 14:00 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/compiler/genc.c * harbour/source/compiler/gencli.c * harbour/source/compiler/harbour.c ! fixed number of compiled functions shown in compilation status ! added workaround for GPF in empty #pragma begindump/enddump statement 2006-09-13 03:10 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/classes.c * keep class shared data in separate array + added __CLS_CNTSHRDATA( hClass ) -> nSharedDatas % some minor optimizations * harbour/tests/clsscast.prg + added test code for shared class data allocating and casting * harbour/include/hbapicls.h * harbour/source/vm/hvm.c * harbour/source/vm/itemapi.c + added support for FOR EACH overloading - it's work in progress do not create any code which may use current solution - it may change in the nearest future 2006-09-12 14:48 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/rtl/cdpapi.c ! Bug fixed 2006-09-12 12:37 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/classes.c ! fixed typo in adding SHARED CLASS VAR ASSIGN messages * some minor cleanup 2006-09-11 20:10 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapicls.ch * added HB_EXPORT to public functions and some internal covered by _HB_API_INTERNAL_ macro * harbour/include/hboo.ch + added HB_OO_CLSTP_NONVIRTUAL and HB_OO_CLSTP_OVERLOADED * harbour/source/rtl/tclass.prg ! do not add supercast class messages - now it's done automatically by __clsNew() function with proper instance area offset updating ! enumerate instance class datas in __clsAddMsg() from 1 - inherited instance variables are managed internally by classy code with proper instance area offset updating ! use __CLS_CNTCLSDATA() as start offset for class data. Do not try to calculate it yourself - some of super classes can be ignored when they are appear in the inheritance tree more then once so it's not possible to calculate class data or instance data start offset using simple sum of class or instance variables in super classes. * harbour/source/vm/classes.c ! fixed instance area casting ! fixed class variables casting ! fixed multi-inheritance when the same class can apear more then once in super classes tree. ! Do not add unnecessary instance variables for the same class when it's inherited more then once. ! Do not add unnecessary class variables for the same class when it's inherited more then once. ! Do not add unnecessary initialization class and instance variables + added support for non virtual messages + added support for static and casted scoping + super cast messages added automatically. They are used to dynamic recalculation of instance are offsets and to avoid multiple inheritance of the same class so please do not overload them or you will have as result something what we have before recent modifications in the instance and class data area. Just simply run tests/clsccast.prg and tests/clsicast.prg compiled with current CVS code and last release code or with xHarbour and compare the results. Also Class(y) does not pass these tests and I do not know if any other dynamic OOP model in xbase languages can properly address it. BTW maybe I should add RT error when .prg code will try to delete or overwrite class cast message. For me it seems to be reasonable and what's your opinion? * make hidden class members non virtual by default. It can be disabled by compiling classes.c with -DHB_VIRTUAL_HIDDEN but IMHO keeping HIDDEN members as virtual causes that they are not really HIDDEN because subclasses can simply overwrite them. It also means that it's not possible to create class with some private data and methods which will never interact with any subclass code created by other programmers where name conflict can appear. So one of the most important OOP features is missing in such case. See tests/clsnv.prg as an example for non virtual hidden members. + tests/clsicast.prg + added test code for proper instance area allocating and casting + tests/clsccast.prg + added test code for proper class data allocating and casting + tests/clsnv.prg + added test code for non virtual hidden class members Now we should be able to create and class model even replicate the static one like in C++ using current class engine which still fully supports dynamic bindings. It consumes less memory and due to much more efficient hashing it should be faster then it was though some other minor optimization can be add and I'll plan to make them in some spare time. The item type verification in assignment is still missing. I'll add it when I'll collect some statistic informantion I'd like to ask [x]Harbour users. I need these information to tune some internal structures where I can balance between speed and memory allocation to statistically optimal form. Marek asked me to add passing object datas by reference and I'll do that but I'd like to ask Ryszard to add support for: @<oVar>:<message> to compiler. I'll implement all other HVM modifications. If you can please also add support for: <oVar>:&<cMsgName>[(...)] For this we do not need any HVM modifications or new PCODEs. We are supporting Xbase++ macro list compilation in: cList:="1,2,3" x := aVar[ &cList ] aVar:={ &cList } func( &cList ) But we do not support: <oVar>:<message>( &cList ) IMHO it looks ugly. If we have this syntax for function call then we should also support it in message sending. Ryszard can you make necessary compiler modifications? I'm also thinking about adding support for variable parameters func myfunc(...) [...] return xVar In few cases it will help to encode some function much more efficient then now. I'll add Class(y) compatible functions used in class(y) header files so it will be possible to use original class(y) .ch files in Harbour though it will not be the most efficient because we have @func() operator which gives better performance then using codeblocks. Anyhow classy create separate meta class for each class with CLASS members and <clasName>() function always return such meta class object so for full Class(y) compatibility we need to generate differ .prg code. But all such modifications now can be done on preprocessor and .prg level and they will not need .c code modification. We should make them to give user interface for our new OOP features. Now I'm waiting for reports about any problems with current classy code. 2006-09-11 20:30 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/vm/itemapi.c ! Bug fixed, which was introduced while last commit 2006-09-11 16:40 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * include/hbapicdp.h * Changed declaration of hb_cdpcmp() function * source/rtl/cdpapi.c * hb_cdpcmp() has been changed. It accepts now additional parameters: hb_cdpcmp( char* szFirst, ULONG ulLenFirst, char* szSecond, ULONG ulLenSecond, PHB_CODEPAGE cdpage, BOOL bExact ), also some bugs fixed. * source/vm/itemapi.c * source/rdd/dbfntx/dbfntx1.c * Calls of hb_cdcmp() has been changed. 2006-09-10 14:28 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/classes.c * cleaned BCC warning 2006-09-10 14:02 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/ChangeLog ! added missing changelog entry about __MVPUT() fix * harbour/source/vm/itemapi.c * removed redundant pItem->type = HB_IT_NIL (thanks for Manu Exposito) 2006-09-10 14:02 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/ChangeLog ! added missing changelog entry about __MVPUT() fix * harbour/source/vm/itemapi.c * removed redundant pItem->type = HB_IT_NIL (thanks for Manu Exposito) 2006-09-10 13:05 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapi.h * harbour/source/vm/hvm.c * harbour/source/vm/codebloc.c * harbour/source/vm/arrays.c * moved static base offset from hb_struBlock structure to HB_CODEBLOCK structure + added hclass member to hb_struBlock - it will be used in the future for checking codeblock scope in classy so we will real scope checking also for messages sent from codeblocks. - removed supercast and superoffset members from hb_struArray structure. * harbour/include/hbclass.ch * added class(y) like @:<MessageName>([<MsgParams,...>]) send operator. It's not exactly the same as in class(y) where this operator is hardcoded to executing function directly, needs method name instead of message name and is linked statically. In Harbour this operator uses message name so can be used also for instance variables and make dynamic casting to the class from which current method is inherited. In short words sending messages to @: instead of :: causes that they work like non-virtual messages in C++ mode. If you do not use the same method body in different classes then you can also use explicitly self casting: ::<myclass>:<msgname>[(...)] and it will be a little bit faster * harbour/include/hboo.ch + added: HB_OO_MSG_ASSIGN, HB_OO_MSG_ACCESS, HB_OO_MSG_CLSASSIGN, HB_OO_MSG_CLSACCESS They should be used insted of HB_OO_MSG_DATA and HB_OO_MSG_CLSDATA This resolves problems with name conflicts when we were detecting type of message (ACCESS/ASSIGN) by checking the first character in message name. E.g. now it's possible to create exported instance variable called __WithObject and it will be used in all WITH OBJECT statement instead of the base object value. It's simple and effective WITH OBJECT overloading. I kept backward compatibility for HB_OO_MSG_DATA and HB_OO_MSG_CLSDATA but I strongly suggest to update code to use new constants. + added HB_OO_MSG_REALCLASS * harbour/source/rtl/objfunc.prg * harbour/source/rtl/tobject.prg * harbour/source/rtl/tclass.prg * use HB_OO_MSG_[CLS]{ASSIGN,ACCESS} instead of HB_OO_MSG_[CLS]DATA * harbour/source/rtl/tclass.prg + added REALCLASS message to creted classes - it's used for @: operator * harbour/source/vm/classes.c * updated for above modifications * calculate instance area offset in supercasting dynamically - it will allow to eliminate multiple instance area allocating when in the inheritance tree the same class exists more then once and also quite easy add support for non-virtual messages. ! fixed GPF in __CLSINSTSUPER() class function generate HVM exception % do not inherit unaccessible inline blocks * some other minor optimization, fixes and code cleanups * harbour/source/rdd/usrrdd/usrrdd.c ! fixed HB_TRACE message * harbour/source/rtl/errorapi.c ! generate internal error if ErrorNew() function does not return an object 2006-09-07 16:05 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/memvars.c ! fixed memvar creation in __MVPUT() 2006-09-07 01:55 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rdd/dbcmd.c ! always initialize all members in RDD structures to avoid GPF when some RDD will try to access uninitialized data * harbour/source/rdd/usrrdd/usrrdd.c ! added some additional validation in RDD structures <-> item conversions 2006-09-06 14:45 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/itemapi.c * modified hb_itemClear() to be reentrant safe - the new version can be also better optimized by C compiler so should be also faster * harbour/source/rdd/dbcmd.c ! initialize lpdbOrdCondInfo in DBORDERINFO structure before passing to ORDCREATE() * harbour/source/vm/fm.c ! fixed typo in memset() when HB_PARANOID_MEM_CHECK enabled * harbour/source/vm/hvm.c ! fixed item type used for iterator 2006-09-06 12:02 UTC+0300 Chen Kedem <niki@synel.co.il> * utils/hbrun/hbrun.prg * Change Main() into _APPMAIN() to avoid collision with user function in HRB file with that name. + Added a NOTE about this. 2006-09-05 16:10 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/rtl/cdpapi.c ! Bug fixed in hb_cdpcmp(), which caused strange comparison results as ( s1 > s2 ) != ( s2 > s1 ). 2006-09-05 15:51 UTC+0100 Viktor Szakats * harbour/include/hbset.h * harbour/include/set.ch * harbour/source/pp/pptable.c * harbour/source/rtl/set.c + Added Set( _SET_DEFEXTENSIONS, <logical: .T./.F.> ) Default value is .T. (CA-Cl*pper compatible). If set to .F., Harbour runtime/RDD code will never attempt to add a default extension to the filename arguments. Commands/functions where this setting makes a difference are: - SET ALTERNATE TO / Set( _SET_ALTFILE_, ... ) - SET PRINTER TO / Set( _SET_PRINTFILE_, ... ) - Set( _SET_EXTRAFILE, ... ) - SAVE TO / __mvSave() - RESTORE FROM / __mvRestore() - LABEL FORM - REPORT FORM - COPY TO ... DELIMITED - COPY TO ... SDF - LIST / __dbList() - USE / dbUseArea() - dbCreate() - SET INDEX TO / ordListAdd() (not yet implemented) - __HRBLOAD(), __HRBRUN() ; Notes: - From now on, it possible to create/load files using the above functions/commands which have no extension. This might be desirable in a few platforms and/or situations. For example on Win32, it's possible to directly print to a shared Windows printer queue, using these commands: lOldValue := Set( _SET_DEFEXTENSIONS, .F. ) SET PRINTER TO \\myserver\myprinter Set( _SET_DEFEXTENSIONS, lOldValue ) Or, it is possible to open a dbf file which have no extension: dbUseArea(.T., NIL, "dbf_filename_with_no_extension", "w_DATA", .F., .F.) - Compiler is (of course) not affected by this setting. - Preprocessor (PP) lib flavour is not affected by this setting. - Support is not full in the RDD code yet. * harbour/source/rdd/dbf1.c * harbour/source/rdd/dblist.prg * harbour/source/rdd/delim1.c * harbour/source/rdd/sdf1.c * harbour/source/rtl/tlabel.prg * harbour/source/rtl/treport.prg * harbour/source/rtl/set.c * harbour/source/vm/memvars.c * harbour/source/vm/runner.c + Honoring _SET_DEFEXTENSIONS setting all over the code. 2006-09-05 12:44 UTC+0100 Viktor Szakats * harbour/source/debug/debugger.prg ! Fixed and made multiplatform the filename extension handling parts. * harbour/source/vm/memvars.c ! Comment minor fixes. * harbour/harbour.spec * harbour/make_xmingw.sh * harbour/make_bsd.sh * harbour/make_drw.sh ! xharbour -> harbour 2006-09-04 19:45 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/TODO + added simpler example for memory leak in macro compiler: ? type("user input") * harbour/source/macro/macro.y * replaced TABs with SPACEs * harbour/source/vm/classes.c * added some TRACE() messages + added support for executing functions with <symItem>:EXEC() registered dynamically after creating <symItem> * harbour/source/vm/hvm.c * minor modification 2006-09-04 18:10 UTC+0100 Viktor Szakats * harbour/source/rtl/tlabel.prg * harbour/source/rtl/treport.prg ! Made the logic multiplatform where it's decided whether to add a default extension to the loaded filename. C:\PATH.A\MYFILE didn't get the default extension while C:\PATH\MYFILE did. 2006-09-04 11:40 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbexprc.c ! fixed bug in wrong integer negating, e.g.: proc main(); local i:=0; i-=-32768; ? i; return ! fixed PCODE generated for +=, -=, /=, *= expressions when right side of expression is undefined variable - it's possible that it will be field and we will have RT error. It fixes tt4.prg example form TODO file. * harbour/TODO - removed tt4.prg example from FIXME * harbour/source/vm/classes.c ! fixed supercast message validation * harbour/source/vm/hvm.c ! fixed very bad typo in hb_vmMinus() which can cause wrong results when on 64-bit integer overflow 2006-09-04 09:25 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/ChangeLog + harbour/ChangeLog.016 ! added ChangeLog.016 and updated number - mistake in my previous commit * harbour/source/vm/classes.c * stronger parameters validation and fixed some possible problems in hb_objGetMethod() + added support for assigning enumerator value by: <enum>:__enumValue(<newVal>) and enumerator index by: <enum>:__enumIndex(<newIndex>) It's a work in progress - please do not create any code which may need such functionality yet * harbour/source/vm/debug.c * harbour/source/vm/hvm.c * minor code cleanup 2006-09-03 18:55 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapicls.h * harbour/source/vm/classes.c * harbour/source/vm/hvm.c * harbour/tests/overload.prg + added support for overloading [] in assignment operation 2006-09-03 16:30 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/ChangeLog + harbour/ChangeLog.016 * new ChangeLog file created 2006-09-03 16:20 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hboo.ch + added HB_OO_CLSTP_PERSIST and HB_OO_MSG_INITIALIZED * harbour/include/hbapi.h * harbour/include/hbvmpub.h * harbour/source/vm/dynsym.c % changed HB_HANDLE hArea to USHORT uiArea to reduce HB_DYNS size. RDD code internally uses USHORT as area number so it's not necessary to keep it as HB_HANDLE value. * harbour/source/vm/arrays.c * modified internal static function name * harbour/source/vm/itemapi.c + added missing HB_TRACE in hb_itemClone() * harbour/source/vm/classes.c ! moved initialization values to separate structure not bound with methods. We can inherit the same method names from more then one object so we will store only the first one but we are inheriting whole instance area which is accessible with super casting (last fixes) so we have to properly initialize it even if methods does not exist. This modification also fixes some possible memory leaks. % replaced bIsPersistent by HB_OO_CLSTP_PERSIST in uiScope in method definition ! added basic parameter validation to __CLSADDMSG() to avoid some possible strange behavior at runtime when broken messages are defined. * updated __OBJHASMSG() and __OBJSENDMSG() to accept SYMBOL items too (@funcName()). Using symbol items it faster then strings. Also added support to use non array parametes. E.g. now __OBJHASMSG( {||NIL}, "EVAL" ) returns TRUE * some other fixes, reduced memory consumption and speed optimizations 2006-09-03 16:15 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hboo.ch + added HB_OO_CLSTP_PERSIST and HB_OO_MSG_INITIALIZED * harbour/include/hbvmpub.h * harbour/source/vm/dynsym.c % changed HB_HANDLE hArea to USHORT uiArea to reduce HB_DYNS size. RDD code internally uses USHORT as area number so it's not necessary to keep it as HB_HANDLE value. * harbour/source/vm/arrays.c * modified internal static function name * harbour/source/vm/itemapi.c + added missing HB_TRACE in hb_itemClone() * harbour/source/vm/classes.c ! moved initialization values to separate structure not bound with methods. We can inherit the same method names from more then one object so we will store only the first one but we are inheriting whole instance area which is accessible with super casting (last fixes) so we have to properly initialize it even if methods does not exist. This modification also fixes some possible memory leaks. % replaced bIsPersistent by HB_OO_CLSTP_PERSIST in uiScope in method definition ! added basic parameter validation to __CLSADDMSG() to avoid some possible strange behavior at runtime when broken messages are defined. * updated __OBJHASMSG() and __OBJSENDMSG() to accept SYMBOL items too (@funcName()). Using symbol items it faster then strings. Also added support to use non array parametes. E.g. now __OBJHASMSG( {||NIL}, "EVAL" ) returns TRUE * some other fixes, reduced memory consumption and speed optimizations 2006-09-03 16:37 UTC+0300 Chen Kedem <niki@synel.co.il> * doc/en/lang.txt + Update supported codepage list for HB_SETCODEPAGE() 2006-09-01 23:25 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) + harbour/source/codepage/uckam.c + added missing in my previous commit file * harbour/include/hbvmpub.h * harbour/source/vm/dynsym.c + added USHORT uiSymNum to HB_DYNS structure - I will need it for MT as index for thread local HB_DYNSYM values for MT version in the future but now I use it as perfectly efficient continuous hash value for all symbols. Of course PHB_DYNS address is also perfectly good hash value and in classes code can be used but it does not guaranties that all messages will cover well whole 16-bit area used as message pool without dynamic bucket size modification. * harbour/source/vm/classes.c * changed hashing method. Now it uses really unique base hash key values which can cover whole 16-bit area so mathematically it's not be possible to break it by any combination of method names as long as our dynamic symbol table will be limited to 2^16 symbols. It still consumes more memory then necessary and I'll change it in the future but it's much less then before. The BUCKET size is smaller (4) and all calculations are done only with bit shifts so it should be also faster. * use ULONG instead of USHORT to calculate maximum number of methods to avoid possible overflow problems if it reach 2^16 (rather impossible in normal application - it will have to create more then 2^15 symbols) ! some other fixes and code cleanup * harbour/source/vm/hvm.c * minor modifications 2006-09-01 10:25 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/lang/msgcs852.c * harbour/source/lang/msgcsiso.c * harbour/source/lang/msgcskam.c * harbour/source/lang/msgcswin.c * typo fixed (Vojtech Obrdlik <vobrdlik centrum.cz>) * harbour/include/hbapicdp.h * harbour/source/codepage/Makefile + harbour/source/codepage/cpcs852.c + harbour/source/codepage/cpcsiso.c + harbour/source/codepage/cpcskam.c + harbour/source/codepage/cpcswin.c + harbour/source/codepage/uckam.c * harbour/doc/en/lang.txt * harbour/common.mak + added czech codepage support (Vojtech Obrdlik <vobrdlik centrum.cz>) Vojtech many thanks. We will have to fix our CDP code to work well with characters with the same wight - now sorting with such codepages does not work correctly, e.g. in CSISO: CHR(65)+CHR(204) > CHR(65)+CHR(201) but: CHR(65)+CHR(201) >= CHR(65)+CHR(204) as you can see comparison depends on string order: s1 > s2 but not s2 < s1 It means that such codepages cannot be used in any sorting systems like indexes until we will not fix internal CPD logic. Alexander can you look at it? If not then please inform me and I'll work on it in some spare time. * harbour/source/rtl/do.c * minor RTE message simplification * harbour/source/rtl/gtos2/gtos2.c * casting * harbour/source/vm/dynsym.c + added __DYNSN2SYM( <cName> ) -> symbolItem * harbour/include/hbapi.h * harbour/source/vm/arrays.c + added supercast and superoffset members to hb_struArray structure * harbour/source/vm/classes.c * harbour/source/rtl/tclass.prg ! fixed calculation of instance area offsets ! fixed accessing instance variables with super casting + added selfclass casting + added support for sending 'exec' and 'name' messages to symbol items, e.g.: funcSym := (@funcName()) ? "Exacuting:", funcSym:name funcSym:exec( param1, param2, ... ) * changed __CLASSNAME() to be Clipper compatible * changed __CLSINST()/__CLASSINSTANCE() now accepts as third paramter function name - Clipper compatible ! fixed GPF trap in __OBJGETCLSNAME() when executed with wrong parameter * some other fixes and small speed improvement 2006-08-31 21:45 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) * harbour/makefile.bc * harbour/makefile.vc * Changed console output of "install" rule to inst_$(CC_DIRNAME).log 2006-08-29 10:25 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/classes.c + added Class(y) compatible scoping - please test and report any possible problems 2006-08-28 12:40 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/classes.c ! fixed __SENDER() function to work with non-inline methods ! respect super casting in ClassName(), ClassH(), ClassSel() methods % some optimizations 2006-08-27 20:54 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/classes.c ! fixed bug in super casting introduced in my last commit 2006-08-24 10:02 UTC+0300 Chen Kedem <niki@synel.co.il> * TODO + Add three known issues to the To-Fix list 2006-08-23 23:12 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbrdddbf.h * harbour/source/rdd/dbf1.c * harbour/contrib/rdd_ads/ads1.c * synced with xHarbour * harbour/include/hbapi.h + added uiClass and uiMethod to HB_STACK_STATE structure - removed puiClsTree from HB_BASEARRAY structure * harbour/include/hbvmpub.h ! fixed typo in HB_ARRAY_OBJ() declaration * harbour/source/vm/arrays.c - removed puiClsTree from HB_BASEARRAY structure * harbour/source/vm/classes.c - removed static variable s_pMethod to make classes code MT safe * store information about current method index and supercasting on HVM stack in HB_STACK_STATE structure ! changed hb_objGetRealClsName() to not use puiClsTree - this functions was never working as it should when object was supercasted. Now it simply returns name of class where method was defined and inherited. - removed hb_objPopSuperCast() and changed last parameter in hb_objGetMethod() from BOOL * to PHB_STACK_STATE hb_objPopSuperCast() is not longer necessary - removed hb_mthRequested() and first parameter from hb_mthAddTime() + added char * hb_clsName( USHORT uiClass ); + added FIXME notes in hb___msgGetData() and hb___msgSetData() * harbour/source/vm/estack.c + added uiClass and uiMethod to HB_STACK_STATE structure * harbour/source/vm/hvm.c * updated for above modifications * harbour/source/vm/proc.c ! do not use hb_objGetRealClsName() anymore but retrieve information about _REAL_ class form HVM stack 2006-08-19 01:10 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapi.h * moved HB_STACK_STATE declaration from hbstack.h to hbapi.h it's covered by _HB_API_INTERNAL_ macro so it should not effect 3rd party code * modified hb_struSymbol structure: LONG stackbase replaced by: PHB_STACK_STATE stackstate this modification allows to keepadditional information bound with function call stack accessible from different HVM modules. Now it's used by memvars code to keep/update PRIVATE variables stack pointers. I plan to store in HB_STACK_STATE structure information additional information for classes code like super casting or instance variables offsets in new OOP model I'm working on. It can be also used by debugger code to retrieve some informations about executed functions without active updating by main HVM loop. + added hb_memvarsClear() - cleanly clears all PRIVATE and PUBLIC variables + added hb_memvarUpdatePrivatesBase() - updates PRIVATE stack base offset so PRIVATE variables created in current function/procedure will not be removed when it returns - removed hb_memvarsRelease() and hb_memvarValueNew() * harbour/include/hbstack.h + added hb_stackClearMevarsBase() - helper function for hb_memvarsClear() clears PRIVATE stack offsets in executed functions * changed to static offset from int to long - in different places we were using int or long in HVM so I cleaned the HVM code to always operate on the same type * harbour/source/vm/estack.c * set/restore PRIVATE stack base offset in hb_stackNewFrame()/ hb_stackOldFrame() * updated for new HB_IT_SYMBOL structure * harbour/source/vm/hvm.c ! removed setting/restoring PRIVATE stack base offset in hb_vmExecute() It make code like: eval(&("{||VAR:=1}")) Clipper compatible * updated for new HB_IT_SYMBOL structure * changed order of execution exit procedures for clean memvars removing and future destructors execution. I'll describe it better when I'll add destructors. * harbour/source/vm/memvars.c ! fixed CLEAR MEMORY - now this function should be safe in Harbour It's not exactly compatible with Clipper because I intentionally didn't replicated some Clipper bugs like possible memory corruption. + added hb_memvarsClear() - cleanly clears all PRIVATE and PUBLIC variables + added hb_memvarUpdatePrivatesBase() - updates PRIVATE stack base offset so PRIVATE variables created in current function/procedure will not be removed when it returns ! fixed releasing PUBLIC and PRIVATE variables which were passed by reference and are still active on HVM stack or in codeblocks as detached locals (see: hb_memvarDetachDynSym()) * modified hb_memvarFindSymbol() to be more Clipper compatible % optimized hb_memvarRelease() to operate or PHB_DYNS instead of string comparison and not make linear dynamic symbol scan for PUBLIC or not existing symbols - removed hb_memvarReleasePublic() * harbour/include/hbvmpub.h * harbour/include/hbxvm.h * harbour/source/compiler/gencc.c * harbour/source/vm/classes.c * harbour/source/vm/debug.c * harbour/source/vm/itemapi.c * harbour/source/vm/pcount.c * harbour/source/vm/proc.c * harbour/source/vm/pvalue.c * updated for the above modifications * harbour/source/rtl/memvarbl.prg * harbour/source/rtl/menuto.prg * use __mvEXIST( cMemvar ) instead of __mvSCOPE( cMemvar ) > HB_MV_ERROR __mvEXIST() is much faster function * harbour/source/rtl/type.c * execute hb_memvarUpdatePrivatesBase() after macro type checking. This should not be necessary but we are not Clipper compatible here and this is work around for difference in our TYPE() implementation. Clipper for: ? TYPE("VAR:=1") create PUBLIC variable VAR when [x]Harbour PRIVATE one. Should we try to make it Clipper compatible? The above should fix problems reported with memvars. We are not 100% Clipper compatible but unlike in Clipper we cannot break VM internals using some operation on references to memvars and detached locals and/or RELEASE.../ CLEAR MEMORY. This modifications should be intensively tested. If you will find any problems with current code please inform me. I'd like to hear your opinions about memvars created by TYPE() (see above). Should we change it? It may not be very easy operation - we will have to change macro compiler and add new PCODE for that. 2006-08-17 12:40 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/rdd_ads/ads1.c * harbour/include/hbapi.h * harbour/include/hbapigt.h * harbour/include/hbapiitm.h * harbour/include/hbdefs.h * harbour/include/hbrdddbf.h * harbour/include/hbstack.h * harbour/include/hbsxfunc.h * harbour/source/common/expropt1.c * harbour/source/common/hbstr.c * harbour/source/compiler/harbour.c * harbour/source/compiler/hbident.c * harbour/source/pp/ppcore.c * harbour/source/rdd/hbdbsort.c * harbour/source/rdd/dbffpt/dbffpt1.c * harbour/source/rdd/hbsix/sxcompr.c * harbour/source/rtl/hardcr.c * harbour/source/rtl/inkey.c * harbour/source/rtl/isprint.c * harbour/source/rtl/math.c * harbour/source/rtl/mtran.c * harbour/source/rtl/natmsg.c * harbour/source/rtl/gtcrs/chrmap.c * harbour/source/rtl/gtcrs/gtcrs.c * harbour/source/rtl/gtsln/gtsln.c * harbour/source/rtl/gtsln/gtsln.h * harbour/source/rtl/gtsln/kbsln.c * harbour/source/rtl/gtsln/keytrans.c * harbour/source/rtl/gtsln/mousesln.c * harbour/source/vm/estack.c * harbour/source/vm/extend.c * harbour/source/vm/runner.c * harbour/utils/hbver/hbverfix.c * general code cleanup, public functions declared in header files, local changed to static, added missing void for functions without parameters, etc. We still have some public functions which are not used by core code and not declared in header files, like: hb_memvarValueBaseAddress(), hb_memvarGetVarHandle(), hb_memvarGetValueByHandle(), hb_clsCreate(), hb_clsAdd(), hb_clsAssociate(), hb_hashTableDel(), hb_hashTableSize(), I haven't touched them yet though we will have to keep in mind that we should make something with them. 2006-08-16 18:50 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/config/bsd/gcc.cf * harbour/config/darwin/gcc.cf * strip lib prefix from CONTRIBS library list * harbour/source/codepage/cp_tpl.c * removed redundant ; 2006-08-16 15:12 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/common.mak * harbour/source/codepage/Makefile + harbour/source/codepage/cpfrdos.c + harbour/source/codepage/cphr1250.c + harbour/source/codepage/cphr437.c + harbour/source/codepage/cphr852.c + harbour/source/codepage/cpit437.c + harbour/source/codepage/cpit850.c + harbour/source/codepage/cpitisb.c + harbour/source/codepage/cpitiso.c + harbour/source/codepage/cpltwin.c + harbour/source/codepage/cpua866.c + harbour/source/codepage/cpuakoi.c + harbour/source/codepage/cpuawin.c + added codepages from xHarbour * harbour/source/vm/garbage.c * harbour/source/vm/hvm.c * formatting and code cleanup 2006-08-16 12:55 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbstack.h * harbour/source/vm/estack.c + added: int hb_stackCallDepth( void ) LONG hb_stackBaseProcOffset( int iLevel ) * harbour/source/vm/arrays.c * harbour/source/vm/proc.c * use hb_stackBaseProcOffset() * harbour/source/vm/hvm.c - removed s_ulProcLevel used by HB_DBG_PROCLEVEL() - count the call stack dynamically using stack data - a little bit slower but it's not widely used function, now is MT safe and we eliminated some small overhead in each function call so statistically we improved overall performance 2006-08-14 14:22 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/TODO - removed eliminating hb_stackTopItem() from FIXME - Done. * harbour/include/hbexprc.c * restore original expression type after *POPEQ optimization * harbour/source/compiler/harbour.c * removed some commented code * harbour/source/compiler/harbour.y % optimized PCODE generated for FOR/NEXT statement - it eliminates one unconditional jump inside the loop - Ryszard if you can please check me. 2006-08-14 10:10 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/fserror.c + added translation error code for ENMFILE * harbour/source/rtl/hbffind.c * set FERROR() code when FILE() faild - Clipper compatibility 2006-08-11 10:15 UTC+0100 Ryszard Glab <rglab//imid.med.pl> * utils/hbpptest/pretest.prg * fixed to use HB_OSNewLine(0 instead '\n' 2006-08-10 16:26 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/compiler/genhrb.c ! fixed a bug in counting of the number of functions * source/vm/runner.c ! strange bug ( possibly typo ) fixed 2006-08-10 14:00 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapifs.h * changed order of members in HB_FNAME structure to avoid possible problems with alignment * harbour/include/hbexprb.c ! cleaned usGroups usage to avoid BCC warnings * harbour/source/rtl/filesys.c * harbour/source/rtl/fstemp.c * code formatting and casting * harbour/include/hbset.h * harbour/source/rtl/set.c * some minor updates for future incoming hb_set structure modifications * harbour/source/vm/hvm.c * use HB_MACRO2STRING() macro for default lang setting * harbour/include/hbrdddel.h * harbour/source/rdd/delim1.c * harbour/source/rdd/dbcmd.c + extended COPY TO ... DELIMITED ... / APPEND FROM ... DELIMITED ... to support some other common formats. COPY TO ... DELIMITED WITH TAB APPEND FROM ... DELIMITED WITH TAB uses chr(9) as field separator and without string delimiters COPY TO ... DELIMITED WITH PIPE APPEND FROM ... DELIMITED WITH PIPE uses '|' as field separator and without string delimiters COPY TO ... DELIMITED WITH ( { cStrDelim, cFldSeparator } ) APPEND FROM ... DELIMITED WITH ( { cStrDelim, cFldSeparator } ) allows users to set and any character field delimiters and fields separators 2006-08-10 12:30 UTC+0100 Ryszard Glab <rglab//imid.med.pl> * source/compiler/harbour.c * fixed some 'memory unreleased' errors * source/pp/ppcore.c * fixed some cases of access to unallocated memory 2006-08-08 11:40 UTC+0100 Ryszard Glab <rglab//imid.med.pl> * source/pp/pplib.c * suppressed preprocessing of empty lines * utils/hbpptest/pretest.prg * added line length to MLCOUNT to correctly count the number of lines to process 2006-08-07 14:00 UTC+0100 Ryszard Glab <rglab//imid.med.pl> * source/compiler/harbour.y * fixed to support @funname() syntax in assigments * utils/hbpptest/pp_test.prg * fixed preprocessor example * TODO * removed 'to fix' vertical spacing in ppo files 2006-08-07 12:20 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * xharbour/include/usrrdd.ch ! fixed RDD method order 2006-08-07 11:06 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/set.c ! fixed possible GPF after hb_setListenerRemove() * removed default: clause in main SET() switch to enable C compiler warning when not all HB_SET_* cases are defined. * harbour/source/vm/hvm.c ! fixed bug#1533096 reported by Chen 2006-08-07 02:20 UTC+0100 Viktor Szakats * harbour/make_b32.bat * harbour/make_vc.bat ! install call redirected to nul instead of make_b32.log to avoid overwriting the build results with less important (no) information. * harbour/include/hbundoc.api + Added _txopen() (not tested) * harbour/source/rdd/dbfcdx/dbfcdx1.c * harbour/source/rdd/dbfntx/dbfntx1.c ! BCC -w warnings fixed. * harbour/source/rtl/filehb.c + Added FIXME about a CA-Cl*pper incompatibility. In CA-Cl*pper the argument of FILE() is RTrim()-ed before doing the check. * harbour/source/rtl/fstemp.c ! Fixed two BCC warnings. 2006-08-06 13:06 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/debug/debugger.prg * changed checking for static initialization functions * harbour/source/vm/itemapi.c ! fixed stupid typo in string unsharing which caused very serious bug 2006-08-05 13:42 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/common/hbver.c * extended C compiler information * harbour/source/compiler/genc.c * use hb_verHarbour() and hb_verCompiler() to for information about Harbour build in generated .c files' headers * harbour/source/rdd/dbfcdx/dbfcdx1.c * harbour/source/rdd/dbfntx/dbfntx1.c ! fixed typo in my last commit - additional dummy evaluations of EVAL block 2006-08-04 16:00 UTC+0100 Viktor Szakats * harbour/source/rtl/fstemp.c + Implemented prefix parameter in temp file generation for Win32. 2006-08-04 15:24 UTC+0100 Viktor Szakats * harbour/include/hbundoc.api + Added _tctemp() undocumented call. * harbour/source/rtl/fserror.c ! Fixed trace message. 2006-07-28 14:02 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbsetup.h * updated PCODE version number due to recent modifications 2006-07-28 00:10 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbdefs.h * use extern "C" as default for HB_FUNC() declaration in C++ mode. I know that this modification will interact with binary compatibility but current state is worser because we were not binary compatible between C and C++ mode. Now the problem should go away with some reasonable for me cost. If compiler uses the same ABI for C and C++ mode then the backward binary compatibility problem can be resolved by small tools which can strip C++ decoration from binary libraries. Sometimes also linkers have necessary switches to ignore them. * harbour/include/hbexprb.c * cleaned BCC warning * harbour/source/rdd/nulsys/nulsys.c + added missing hb_rddGetAliasNumber(), thanks to Ron. 2006-07-27 15:10 UTC+0100 Ryszard Glab <rglab//imid.med.pl> * source/compiler/genc.c * source/compiler/gencli.c * source/compiler/harbour.c * generate an empty .c file if there is no valid function in prg code (when -n is used) (this fixes error during compilation of browdbx.prg) * fixed a warning in hb_compStaticGetName 2006-07-27 14:20 UTC+0100 Ryszard Glab <rglab//imid.med.pl> * include/hbcomp.h * source/compiler/genc.c * source/compiler/gencli.c * source/compiler/genhrb.c * source/compiler/genjava.c * source/compiler/genobj32.c * source/compiler/harbour.c * fixed compilation of static variables with -gc2 switch * source/pp/ppcore.c * fixed vertical spacing in generated ppo files * source/util/hbpptest/pretest.prg * fixed for current state of preprocessor 2006-07-27 01:18 UTC+0100 Viktor Szakats * harbour/source/rtl/dbedit.prg ! Previous non-strict compatible part made fully compatible by dropping an Eval() on the field value block. Strict branch and NOTE removed. 2006-07-26 22:00 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapi.h * harbour/include/hbexpra.c * harbour/include/hbexprb.c * harbour/include/hbexprop.h * harbour/include/hbpcode.h * harbour/include/hbxvm.h * harbour/source/common/expropt1.c * harbour/source/compiler/genc.c * harbour/source/compiler/gencc.c * harbour/source/compiler/gencli.c * harbour/source/compiler/hbdead.c * harbour/source/compiler/hbfix.c * harbour/source/compiler/hblbl.c * harbour/source/compiler/hbpcode.c * harbour/source/compiler/hbstripl.c * harbour/source/vm/hvm.c * harbour/source/vm/macro.c * changed support for Xbase++ extended syntax in expressions like: v:="1,2,3" x := a[ &v ] a := { &v } f( &v ) Now all data is stored on HV * stack without any external registers which have to be saved/restored or updated in chosen operation. This modification was necessary to make HV * reentrant safe and it also eliminated some small overhead caused by old code. I hope I haven't break anything in compiler - Ryszard please fix me if I made something wrong. * harbour/source/vm/hvm.c * harbour/source/compiler/harbour.y * revert FOR/NEXT stop condition to be Clipper compatible PCODE table has been updated and all .prg code which used modified PCODEs has to be recompiled 2006-07-25 22:50 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapirdd.h * harbour/source/rdd/dbcmd.c * harbour/source/vm/hvm.c * do not generate RT errors "Alias does not exist" in constructions like: ("NOT_EXISTING_ALIAS")->(...) Clipper compatible modifications. I do not like it but current previous behavior made problems for people who have code like: if ("NOT_EXISTING_ALIAS")->(used()) ... else ? "Table not open..." endif ! fixed some other RT errors to be Clipper compatible 2006-07-25 12:41 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbstack.h * harbour/source/vm/hvm.c ! fixed typo in hb_stackWithObjectOffset() macro definition 2006-07-25 11:45 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) * harbour/makefile.bc * harbour/makefile.vc ! Fixed INSTALL rule. ! Disabled generic library build rule which might wrongly interact with normal build process. 2006-07-25 10:35 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/rdd_ads/ads1.c ! make GOTOP() when new index is open and is set as control one * harbour/include/hbcomp.h * harbour/include/hbstack.h * harbour/include/hbxvm.h * harbour/source/compiler/gencc.c * harbour/source/compiler/hblbl.c * harbour/source/vm/classes.c * harbour/source/vm/estack.c * harbour/source/vm/hvm.c * harbour/source/vm/itemapi.c * added automatic destructors for FOR EACH and WITH OBJECT statement * s_lWithObjectBase changed to lWithObjectBase hb_stack membera * added hb_stackWithObject*() functions/macros to manipulate WITH OBJECT offset/item * removed setting/restoring lForEach and lWithObject in functions preamble/postamble ! fixed restoring s_lRecoverBase on HB_QUIT_REQUESTED ! fixed possible GPF on enumerators copping * moved FOR EACH / WITH OBJECT massages suport from HVM to classy.c ! fixed access to first stack item in hb_vmIsLocalRef() * harbour/TODO - removed note about hb_objGetMethod() - it's already addressed 2006-07-24 13:50 UTC+0100 Ryszard Glab <rglab//imid.med.pl> * source/pp/ppcore.c * source/pp/pptable.c * utils/hbpptest/pp_test.prg * fixed to be more Clipper compatible * fixed access to unallocated memory * added more test cases 2006-07-21 02:47 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rdd/dbcmd.c * harbour/source/rdd/dbf1.c * harbour/source/rdd/delim1.c * harbour/source/rdd/sdf1.c * harbour/source/rdd/workarea.c * code cleanup * harbour/source/rdd/dbfcdx/dbfcdx1.c * harbour/source/rdd/dbfntx/dbfntx1.c ! do not interrupt subindexing when new record is concurrently added by other station * harbour/source/rtl/gtpca/gtpca.c * harbour/source/rtl/gtstd/gtstd.c ! redirect STDOUT() to console only when stdout is a tty device. 2006-07-20 22:00 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) * harbour/source/rtl/math.c ! Fixed GPF when compiled under Bcc with -tWR switch * harbour/makefile.bc * harbour/make_b32.bat ! Fixed compilation of Harbour DLL with dynamic RTL * Added INSTALL rule. * harbour/makefile.vc * harbour/make_vc.bat ! Fixed header description of makefile * Added INSTALL rule. 2006-07-20 12:36 UTC+0100 Viktor Szakats + harbour/utils/hbpptest/compare.bat + harbour/utils/hbpptest/.cvsignore * harbour/utils/hbpptest/pp_test.prg + Added batch file to compare PP results between Harbour and CA-Cl*pper. 2006-07-20 11:40 UTC+0100 Ryszard Glab <rglab//imid.med.pl> * source/pp/ppcore.c * fixed bugs which I introduced * utils/hbpptest/pretest.prg * added more test cases + utils/hbpptest/pp_test.prg * new file to test preprocessor Preprocess both with Clipper and harbour and next use diff utility to compare outputs - ignore the number of white spaces (use diff -w -u ...) 2006-07-18 21:26 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/hvm.c ! fixed executing EXIT procedures after external to BEGIN SEQUENCE / END BREAK - now by default we are taking the same action as after QUIT what seems to be intention of Clipper authors. When HVM is compiled with HB_C52_STRICT macro then we will try to emulate real Clipper behavior. * harbour/include/hbapi.h * harbour/source/vm/itemapi.c + added single member to hb_struPointer structure for internal HVM use. The reference counter for GC collectible HB_IT_POINTER items which have 'single' member set to TRUE is not updated in hb_itemCopy(). * harbour/source/rdd/workarea.c * code cleanup 2006-07-18 13:25 UTC+0100 Viktor Szakats * harbour/include/hbextern.ch ! Removed __dbfList() reference. 2006-07-18 12:51 UTC+0100 Viktor Szakats - harbour/source/rtl/dummy.prg * harbour/source/rtl/Makefile * harbour/common.mak * harbour/source/debug/dbgwa.prg - Removed dummy.prg + Note added about __dbfList() to debugger source. * harbour/source/rtl/dbedit.prg ! Comment typos. 2006-07-18 12:20 UTC+0100 Ryszard Glab <rglab//imid.med.pl> * source/pp/ppcore.c * added guard for infinite loop * utils/hbpptest/pretest.prg * added more test cases (3 of them fails) 2006-07-18 12:00 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/hvm.c ! fixed problems reported by Marek with EXIT procedures after my last commit 2006-07-18 10:21 UTC+0100 Viktor Szakats * harbour/source/lang/msgcs852.c * harbour/source/lang/msgcsiso.c * harbour/source/lang/msgcskam.c * harbour/source/lang/msgcswin.c + Updates/fixes and more translated texts for Czech language modules. Thanks to: Vojtech Obrdlik <vobrdlik centrum.cz> * harbour/source/pp/pplib.c ! Fixed function names in trace calls. * harbour/source/rdd/dblist.prg * harbour/source/rdd/dbsort.prg * harbour/source/rdd/dbstrux.prg + Minor improvements. 2006-07-18 09:55 UTC+0200 Enrico Maria Giordano <e.m.giordano@emagsoftware.it> * fixed time in previous updates 2006-07-18 08:00 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) * harbour/source/vm/mainwin.c ! Fixed compilation in C mode under Msvc * harbour/include/hbapi.h * Added HB_EXPORT to hb_symbolNew() * harbour/makefile.bc * harbour/makefile.vc * harbour/make_b32.bat * harbour/make_vc.bat * harbour/Common.mak ! Fixed compilation of Harbour DLL ! Fixed compilation of HbPPTest.exe % Improved building of customized Harbour DLL % Some more minor fixes and improvements 2006-07-18 03:40 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/doc/en/hb_vm.txt * harbour/doc/es/hb_vm.txt * harbour/include/hbvm.h * harbour/contrib/hgf/gtk/mainlgtk.c * harbour/source/compiler/gencc.c * harbour/source/rtl/errorapi.c * harbour/source/rtl/gtalleg/gtalleg.c * harbour/source/vm/maindll.c * harbour/source/vm/mainpm.c * harbour/source/vm/mainstd.c * harbour/source/vm/mainwin.c * harbour/source/vm/hvm.c * changed hb_vmQuit() to not execute EXIT() but return s_nErrorLevel ! execute EXIT procedures in hb_vmRequestQuit() - Clipper compatible behavior * do not exit immediately in RT errors but return from all executed functions - some internal parts of RDD code will have to be fixed. * harbour/source/vm/proc.c ! fixed procname for codeblocks. Seems that we are not fully Clipper compatible yet. I'll look at it closer soon. * harbour/TODO + added new item: Clean RDD code to be safe for return from RT errors assigned to me 2006-07-17 13:40 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/make_tgz.sh * added hbpptest to list of tools rebuilt with shared library * harbour/source/rdd/dbcmd.c ! fixed possible access to uninitialized variable in __dbApp()/__dbCopy() 2006-07-17 03:43 UTC+0100 Viktor Szakats * harbour/source/rtl/dbedit.prg % Optimized codeblock creation. + Restored 100% compatible codeblock creation for STRICT mode. - Removed a strange extension which looked like a mistake (besides not being CA-Cl*pper compatible). * Comments reviewed/changed/added. ; Review done, now 100% compatible. 2006-07-17 00:41 UTC+0100 Viktor Szakats * harbour/common.mak * harbour/makefile.bc * harbour/makefile.vc * harbour/utils/Makefile + Added hbpptest * harbour/utils/hbpptest/pretest.prg + Output now goes to STDOUT. * harbour/source/compiler/harbour.c ! Possible memory leak fixed. * harbour/source/rtl/Makefile ! Fixed tabs (readded them). - harbour/source/rtl/dbdelim.prg + harbour/source/rdd/dbdelim.prg - harbour/source/rtl/dbjoin.prg + harbour/source/rdd/dbjoin.prg - harbour/source/rtl/dbsdf.prg + harbour/source/rdd/dbsdf.prg * harbour/source/rtl/Makefile * harbour/source/rdd/Makefile * harbour/common.mak * Moved three RDD related internal function source files to the RDD library. (They did depend on each other anyway.) * harbour/source/rdd/dbcmd.c * harbour/source/rdd/dbfuncs.prg * harbour/source/rdd/dblist.prg * harbour/source/rdd/dbsort.prg * harbour/source/rdd/dbstrux.prg * harbour/source/rdd/dbtotal.prg * harbour/source/rdd/dbupdat.prg * harbour/source/rdd/rddord.prg * harbour/source/rtl/dbdelim.prg * harbour/source/rtl/dbedit.prg * harbour/source/rtl/dbjoin.prg % Cleanups, minor optimizations. ! __dbApp(), __dbCopy() to return LOGICAL. ! Problem where error condition was not detected if BREAK didn't set the error object. ! __dbTotal() lRest handling fixed. ! __dbTotal() ErrorBlock overriding removed. ! __dbCreate() now generating default alias. % __dbCreate() using dbCreate() undoc param to open the tables. ! __dbDelim() return value. ! __dbSDF() return value. + CA-Cl*pper undocumented call added: _dtxCondSet() + Xbase++ compatible calls implemented: dbJoin(), dbList(), dbSort(), dbTotal(), dbUpdate(), _dbExport() dbCopyStruct(), dbCopyExtStruct() + Added some more 10 chars call stubs: __dbCopySt(), __dbCopyXS(), __dbOpenSD(), __dbArrang() + Comments. + Formatting. ; All high-level db functions seems to be compatible now. DBEDIT() is left TODO for review (refix). * harbour/source/rtl/tbrowse.prg * Minor cleanup. * harbour/include/hbexpra.c * harbour/source/vm/arrayshb.c * harbour/source/rdd/dblist.prg - Removed compiler+RTL __dbList() hack which made it incompatible with CA-Cl*pper. The hack targeted an Xbase++ extension, but it's compatible even without the hack. Tested with Xbase++ 1.82.294. * harbour/source/rtl/typefile.prg % FUNCTION -> PROCEDURE + _TypeFile() Xbase++ internal function added. 2006-07-16 23:26 UTC+0200 Enrico Maria Giordano <e.m.giordano@emagsoftware.it> * source\common\expropt1.c * Removed unuseful break inside hb_compExprAsSymbol function 2006-07-16 19:00 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/ChangeLog ! fixed typo in date * harbour/doc/gtapi.txt * harbour/include/hbgtcore.h * harbour/source/rtl/hbgtcore.c * harbour/source/rtl/gtgui/gtdef.c * changed HB_GT_DEFAULT_<name> to HB_GT_<name>_DEFAULT and added REQUEST posibilities so now the GT drivers can be REQUESTed and the default one set in similar way. E.g.: REQUEST HB_GT_WIN REQUEST HB_GT_WVT_DEFAULT REQUEST HB_GT_STD I think that it will be much easier and also using _DEFAULT as suffix does not resolve fully 10 character symbol but will work if GT name is not longer then 3 characters 2006-07-16 16:45 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/compiler/harbour.c ! fixed typo in binary or - || was used instead of | * reenabled frame optimization for compilation without -n switch 2006-07-16 16:10 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/compiler/genc.c - removed debug message I left by mistake * harbour/bin/hb-func.sh * use by default -gc0 output when compiled as temporary workaround for GPF in -gc2 2006-07-16 14:40 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/compiler/genc.c * harbour/source/compiler/gencc.c ! fixed .prg file name stored in generated .c files * harbour/source/compiler/harbour.c ! update function counter when startup function is removed It fixes compilation of empty .prg files in C++ mode * harbour/source/rtl/dbjoin.prg - removed unused variable 2006-07-14 16:00 UTC+0100 Ryszard Glab <rglab//imid.med.pl> * include/hbcomp.h * include/hberrors.h * include/hbexpra.c * include/hbexprb.c * include/hbexprc.c * include/hbmacro.h * include/hbpcode.h * include/hbpp.h * include/hbxvm.h * source/common/expropt1.c * source/compiler/cmdcheck.c * source/compiler/expropta.c * source/compiler/exproptb.c * source/compiler/exproptc.c * source/compiler/genc.c * source/compiler/gencc.c * source/compiler/gencli.c * source/compiler/genhrb.c * source/compiler/genjava.c * source/compiler/genobj32.c * source/compiler/harbour.c * source/compiler/harbour.l * source/compiler/harbour.y * source/compiler/hbdead.c * source/compiler/hbfix.c * source/compiler/hbfunchk.c * source/compiler/hbgenerr.c * source/compiler/hblbl.c * source/compiler/hbpcode.c * source/compiler/hbstripl.c * source/macro/macroa.c * source/macro/macrob.c * source/macro/macroc.c * source/vm/hvm.c * source/vm/macro.c * fixed compilation of code that uses '@' pass by reference. The following syntax is no longer supported: var := IIF( .T., @var, var ) however you can still use the following: funcall( IIF( bPassbyRef, @someVar, someVar ) ) +added support for the following statement: WITH OBJECT <objexpression> ... END inside this statement you can use simplified form of sending messages to the object specified by <objexpression> :message( ) instead objexpression:message() :property instead objexpression:property The runtime error will be generated at the time of message sending (or property access/assign) if <objexpression> is not a value of type object. You can use the reserved property: :__withobject to access/assign the controlling object. *fixed support for command line response file (@file.clp) to be compatible with Clipper (Clipper genertes a single obj file) *fixed memory leaks when there is a fatal error in autoopened module (using DO ... statement) *implicit startup functions are removed from the list of functions before generation of output code * source/pp/ppcomp.c * source/pp/pplib.c * source/pp/ppcore.c * redefinition of #define no longer causes a memory leak * fixed repeatable optional clauses #xcommand SET <var1> [, <varN>] WITH <val> => <var1>:=<val>[; <varN>:=<val>] * fixed compilation of optional clauses (when used in different order then declared) -this fixes the following long waiting bug: #command MYCOMMAND [<mylist,...>] [MYCLAUSE <myval>] => ; MyFunction( {<mylist>} [, <myval>] ) MYCOMMAND MYCLAUSE 321 "HELLO" * fixed restricted macro match marker <x:&> * tests/Makefile - tests/pretest.prg + utils/hbpptest + utils/hbpptest/Makefile + utils/hbpptest/pretest.prg * moved file 'pretest.prg' from tests to separate directory to make easier validation of the preprocessor * TODO * added note to fix hb_objGetMethod() so it will not generate error if there is no method * doc/en/clipper.txt * added documentation for WITH OBJECT usage 2006-07-13 16:49 UTC+0100 Viktor Szakats * harbour/source/rdd/dbtotal.prg % Unused variable removed, one other optimized out, other minor optimizations. ! Fixed not resetting the error block when used on a table containing Memo fields only. ! Fixed error when passing xFor parameter as a string. ! Set(_SET_CANCEL...) calls removed. + Formatting, added few comments, CA-Cl*pper differences. 2006-07-13 14:00 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/common.mak * harbour/source/rtl/Makefile + harbour/source/rtl/dbjoin.prg + added __dbJoin() - code by Pavel Tsarenko borrowed from xHarbour * harbour/source/rdd/dbtotal.prg + added __dbTransRec() and updated to use it like in Clipper Can someone tell me why we have Set( _SET_CANCEL, .f. ) in this function? * harbour/source/rtl/dummy.prg - removed __dbJoin() and __dbTransRec() Now only one function is defined here: __dbFList() I have no idea what it does - if someone knows then please implement it. * harbour/include/hbvm.h * harbour/source/vm/hvm.c * formatting * harbour/source/rdd/dbcmd.c * keep strict Clipper compatibility in DBCREATE() parameters * harbour/source/rdd/dbsort.prg * harbour/source/rdd/dbstrux.prg * harbour/source/rtl/dbdelim.prg * updated for strict Clipper DBCREATE() parameters 2006-07-13 12:27 UTC+0100 Viktor Szakats * harbour/source/rtl/hvm.c ! errorlevel changed to int from byte. * harbour/source/rtl/errorapi.c * Minor formatting. 2006-07-12 18:45 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbextern.ch - removed ORDCOND() - it's not normal function * harbour/include/ord.ch + added documented by CL5.3 NG but not implemented in Clipper pseudofunction ORDCOND() * harbour/source/rdd/dbcmd.c + added __dbOpenSDF() function In Clipper dbCreate() can receive also 6th undocumented parameter: cDelim. In [x]Harbour this parameter is used for code page ID. I'd like you decide if we should move it and keep exact Clipper parameters. I'm also not sure if __dbOpenSDF() is the exact Clipper's name. In Clipper the name has only 10 characters __dbOpenSD() and this function is used to open for import DELIMITED and SDF files so maybe SD is not from SDF. Can anyone confirm it's valid name. Maybe we should remove the last F. * harbour/source/rdd/dbstrux.prg * small speed optimization * harbour/source/rtl/dbdelim.prg * added alternatice Clipper like version of __dbDelim(). It executes internally the same functions as Clipper - if someone has a while and can check if it works correctly giving the same as Clipper results then I'll be helpfull. * harbour/source/rtl/dummy.prg - removed ORDCOND() and __dbOpenSDF() * harbour/source/vm/arrays.c * minor optimization * harbour/source/vm/cmdarg.c * harbour/source/vm/itemapi.c * formatting 2006-07-12 12:24 UTC+0300 Chen Kedem <niki@synel.co.il> * doc/en/rddmisc.txt * doc/en/rdddb.txt ! Fix the sample for AFIELDS() * Mark AFIELDS() as obsolete 2006-07-11 14:20 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/estack.c * minor optimizations * harbour/source/vm/itemapi.c * make hb_itemClear() safe for not allocated stack items 2006-07-10 20:43 UTC+0100 Viktor Szakats By Marek Paliwoda: * harbour/makefile.vc + Generalized linker flags (LDFLAGS) and small exe generation improvements. 2006-07-10 13:29 UTC+0100 Viktor Szakats * harbour/source/rdd/dbcmd.c ! AFIELDS() made fully CA-Cl*pper compatible. * harbour/contrib/libct/ctc.c ! Warning fixed. 2006-07-07 18:45 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapi.h * harbour/include/hbvmpub.h * harbour/source/vm/classes.c + added HB_ARRAY_OBJ() and changed HB_IS_OBJECT() to use it instead of HB_OBJ_CLASS() - it allows to use HB_IS_OBJECT() without including hbapicls.h 2006-07-07 12:10 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/libct/ctwfunc.c + added missing header note * harbour/include/hbapigt.h * harbour/include/hbgtcore.h * harbour/include/hbgtinfo.ch * harbour/source/rtl/gtapi.c * harbour/source/rtl/hbgtcore.c * harbour/source/rtl/gtcgi/gtcgi.c * harbour/source/rtl/gtcrs/gtcrs.c * harbour/source/rtl/gtpca/gtpca.c * harbour/source/rtl/gtsln/gtsln.c * harbour/source/rtl/gtstd/gtstd.c * started basic modifications for multi CDP unicode screen buffer added hb_gtSetFlag(), removed hb_gt_SetCompatBuffer(), added GTI_STDOUTCON, GTI_STDERRCON, etc. * harbour/source/vm/arrays.c ! fixed bug I introduce recently in AEVAL and additional range checking * minor optimizations in ASCAN 2006-07-06 23:15 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/rdd_ads/ads1.c * synced with Toninho modifications in xHarbour: (! Inverted checking for memo data types, verifying binary first, to prevent freeze in some empty ADT tabes.) 2006-07-06 23:05 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/Makefile + added usrrdd.ch * harbour/include/hbapiitm.h * harbour/source/vm/itemapi.c + added hb_itemPutSymbol() * harbour/source/vm/hvm.c ! fixed HB_P_POPVARIABLE - it should work like HB_P_POPMEMVAR This Ron's code which illustrates it: PROCEDURE Main() USE Test First := First CLOSE ? First RETURN In practice it means that we do not need this PCODE at all and we should replace it in compiler by HB_P_POPMEMVAR and reuse it in the future for differ things. * harbour/source/vm/memvars.c * code cleanup * harbour/source/vm/runner.c ! fixed possible memory leaks when corrupted .hrb file is loaded 2006-07-05 20:30 UTC+0100 Viktor Szakats - harbour/Common.mak + harbour/common.mak * harbour/make_b32.bat * harbour/make_vc.bat * harbour/makefile.bc * harbour/makefile.vc ! Filename casing correction. (fixed in two previous commits) ! Missing CVS ID added. (fixed in previous commit) ! Few minor formatting, typos fixed. + Few build envvars prefixed with HB_ (some renamed) * Few minor cleanups not related the actual make process. ; Thanks Marek for the great work. 2006-07-05 18:30 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) - harbour/make_b16.bat - harbour/make_vc64.bat - harbour/mkbcdll.bat - harbour/hrbdll.bc - harbour/makefile.nt - harbour/makefile64.nt - harbour/hrbdll.vc - removed no more needed files * harbour/makefile.bc * harbour/makefile.vc * harbour/make_b32.bat * harbour/make_vc.bat * totaly rewritten to support sharing common file lists, automatic DLL creation and using implicit rules as a default approach + harbour/Common.mak + common file lists and definitions shared between Bcc and Msc makefiles TODO : add automatic building of contrib libs/dll(s) 2006-07-04 13:20 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbstack.h * harbour/source/vm/estack.c - removed hb_stackTopItem() + added hb_stackItemBasePtr(), hb_stackAllocItem() * changed the item initialization/clearing in push/pop operation Now only complex item are cleared and it's not guaranteed that the top item will be set to NIL. In fact it was not guarantied even before my modifications. You coule be sure only that the allocated item will not be complex one and you can safely pass pointer to it to any other functions. It allow to clean a little bit some code and remove redundant and repeated setting HB_IT_NIL for allocated items. Now using hb_stackPush() can be necessary only in some very seldom cases. hb_stackAllocItem() allocates new item and returns pointer to this item. After some code cleaning hb_stackPush() is not used by core Harbour code at all so if you have it in your sources then please check if you should not update them. * harbour/source/rdd/usrrdd/usrrdd.c * use hb_vmPushNil() instead of hb_stackPush() * harbour/source/vm/arrays.c * changed hb_arrayNew() to be safe for automatic GC activation * some minor speed improvement * harbour/source/vm/codebloc.c * changed hb_codeblockNew() and hb_codeblockMacroNew() to be safe for automatic GC activation * harbour/source/vm/debug.c * use only stack function/macros instead of direct accessing hb_stack I hope that I haven't break anything. * harbour/source/vm/hvm.c ! use hb_stackAllocItem() instead of hb_stackTopItem() to make our HVM reentrant safe. This modifications also fixed some possible bugs which could be exploited by other modules which have to execute .prg code - e.g. in RDD when relation codeblock has to be executed to position record in fieldget/fieldput operations. * harbour/source/vm/itemapi.c * harbour/source/vm/memvars.c * use hb_stackAllocItem() The above modifications finish stack usage and making our HVM reentrant safe. There is only one thing which have to be fixed yet. It's HVM support for Xbase++ syntax in things like: func(&<paramList>), aVal[&<indexList>], {&<itemList>} To fix it we will have to change PCODE generated by compiler and replace some PCODEs used for current code by the new one. I will wait with this modifications for Ryszard. With the above exception now we are ready to implement destructors, add automatic GC and begin to work on MT though before that I'd like to clean the RT error support. Please carefully check if all is correct. It was modification in core code and even small typo can break whole application. 2006-06-29 08:25 UTC+0200 Tomaz Zupan (tomaz.zupan at orpo.si) * harbour.spec * Added libusrrdd.a to rpm files 2006-06-29 00:25 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/hb-func.sh * harbour/include/hbgtcore.h * use HB_FUNC*() macros * harbour/source/rdd/dbcmd.c ! added fix for GPF in APPEND FROM when source file has repeated fields with the same names. 2006-06-29 00:02 UTC+0100 Antonio Linares (alinares@fivetechsoft.com) * harbour/makefile.nt * harbour/makefile64.nt + Added gtclip.c file + Added gtdef.c file + Added gttone.c file * harbour/rtl/gttone.c + added Microsoft requested header file. 2006-06-28 22:20 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * xharbour/bin/pack_src.sh + added USRRDD 2006-06-28 15:46 UTC+0100 Viktor Szakats * harbour/config/w32/mingw32.cf ! One minor fix and another minor correction made after testing the Win9x branch. 2006-06-28 09:29 UTC+0100 Antonio Linares (alinares@fivetechsoft.com) * harbour/makefile.bc + Added gtdef.c file 2006-06-28 07:59 UTC+0100 Viktor Szakats * harbour/config/w32/mingw32.cf % Removed Windows system libs we don't need to link in Harbour. 2006-06-28 02:32 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/hbgtcore.c - removed forgotten printf() used as debug message * harbour/source/rtl/gtgui/gtdef.c * register "GUI" GT as default one by executing hb_gtSetDefault( "GUI" ) at startup 2006-06-28 01:32 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/config/w32/mingw32.cf * create LD scripts for W9x 2006-06-27 23:40 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/memvars.c * indenting * harbour/include/hbrddcdx.h * harbour/include/hbrdddbf.h * harbour/include/hbrdddbt.h * harbour/include/hbrddfpt.h * harbour/include/hbrddntx.h * harbour/source/rdd/dbf1.c * harbour/source/rdd/dbfcdx/dbfcdx1.c * harbour/source/rdd/dbfdbt/dbfdbt1.c * harbour/source/rdd/dbffpt/dbffpt1.c * harbour/source/rdd/dbfntx/dbfntx1.c * remove SYSNAME() method - use the default WA one. * harbour/source/vm/hvm.c ! fixed last C stack usage of HB_ITEM - now HVM should be cleaned and we begin to implement automatic GC activation * harbour/config/w32/mingw32.cf * updated for current xHarbour state - not tested but I guess it works for Lorenzo 2006-06-27 19:45 UTC+0100 Viktor Szakats * harbour/config/w32/mingw32.cf ! Fix to make it work in environments where "gcc @__lib__.tmp" construct is not possible. The "@" expansion is done by gcc when using Cygwin, but it's not done (and left to the shell, which doesn't do it either when using CMD/COMMAND) when using plain MinGW. 2006-06-27 19:05 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbexpra.c * harbour/include/hbexprb.c * indenting * harbour/source/vm/hvm.c * harbour/source/vm/macro.c ! fixed HB_P_MACROPUSHINDEX - removed hb_vm_iExtraIndex - fixed GPF in direct uninitialized HB_ITEM usage - make it safe for HVM reentrant and pending RT errors There is a set of global hb_vm*Extra* variables which tries to extend HVM by adding some additional registers to it. This code does not work as it should even know and it's absolutely not reentrant safe. It will have to be fixed before we will have .prg destructor and MT support. As I can see the same problems has xHarbour. 2006-06-27 10:50 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapi.h * harbour/source/vm/proc.c + added BOOL hb_procinfo( int iLevel, char * szName, USHORT * puiLine, char * szFile ) * harbour/include/hbstack.h * harbour/source/vm/estack.c + added hb_stackTotalItems(), hb_stackDateBuffer(), hb_stackGetStaticsBase(), hb_stackSetStaticsBase(), hb_stackBaseProcInfo() * harbour/source/vm/garbage.c * indenting * harbour/source/vm/classes.c * harbour/source/vm/codebloc.c * harbour/source/vm/extend.c * harbour/source/vm/fm.c * harbour/source/vm/hvm.c * replaced direct stack access by stack functions/macros * harbour/source/vm/debug.c * removed hb_stackLenGlobal() and replace it by hb_stackTopOffset() Warning!!! hb_stackTopOffset() returnes results smaller by 1. The TOP stack item is undefined and should not be accessed by debuger. * changed HB_DBG_VMSTKGLIST() to operate on functions/macros. It's possible that the above will badly interact with core debugger code so I stop farther modifications leaving them for someone who knows debugger core code. 2006-06-26 16:35 UTC+0100 Ryszard Glab <rglab//imid.med.pl> * include/hbapi.h * source/vm/garbage.c * changed hb_gcUnregistedSweep to static function * fixed handling of sweeper functions * there is no need to call hb_UnregisterSweep - this is done automatically inside hb_gcFree and during garbage collecting 2006-06-26 15:00 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/gtgui/Makefile * harbour/source/rtl/gtgui/gtgui.c + harbour/source/rtl/gtgui/gtdef.c + added GT version info * modified the hack which overwrite the default GT name Now original GTGUI is always present and only separate file add linker bindings. It will be cleaner solution which will allow to use REQUEST HB_GT_GUI in valid programs and libraries. * harbour/source/rtl/gtwin/gtwin.c * indenting * harbour/source/vm/garbage.c * minor modification: use HB_GC_PTR() to take HB_GRABAGE pointer + added alternate code for sweep function execution - disabled by default, maybe it will be used when we agree the sweep function behavior * harbour/contrib/rdd_ads/ads1.c * BCC warnings clean-up - synced with xHarbour * harbour/source/rtl/empty.c * added HB_IT_SYMBOL 2006-06-26 14:27 UTC+0300 Chen Kedem <niki@synel.co.il> * doc/en/var.txt + Add the types Pointer and Symbol to TYPE() and VARTYPE() 2006-06-26 12:55 UTC+0100 Ryszard Glab <rglab//imid.med.pl> * TODO * assigned SQLRDD to me * source/compiler/harbour.c * source/compiler/harbour.y * fixed one more warning (function with no RETURN) in cases: IF tmp>0 RETURN 1 ELSE RETURN 0 ENDIF * include/hbapi.h * source/vm/garbage.c * fixed to call hb_gcUnregisterSweep before the memory block clean-up 2006-06-25 08:32 UTC+0300 Chen Kedem <niki@synel.co.il> * TODO * Change one assignment from Przemek to Ryszard 2006-06-23 02:50 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/gtgui/Makefile * harbour/source/rtl/gtgui/gtgui.c * hacked GTGUI for W32 to be compiled using the same name as RTL default GT driver (GTWIN). * harbour/include/hbgtcore.h * harbour/source/rtl/hbgtcore.c * changed 'char *' to 'const char *' in hb_gtSetDefault(), hb_gtLoad() 2006-06-22 21:41 UTC+0100 Viktor Szakats * harbour/makefile.bc * Fix to prev. 2006-06-22 19:43 UTC+0100 Viktor Szakats * harbour/source/rtl/errorsys.prg ! Fixed to use OutErr() instead of QOut() for CA-Cl*pper compatibility. (Thanks Chen) ! Fixed to set ErrorLevel to 1 in case of a RT error. (this was once removed by me as a fix about 7 years ago, but I can't remember what was the reason. It looks to be a wrong fix back then.) * harbour/utils/hbtest/rt_array.prg * Removed one codeblock unused var warning. 2006-06-22 17:28 UTC+0100 Viktor Szakats * harbour/makefile.bc * Updated for latest changes. 2006-06-22 16:35 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/Makefile + harbour/source/rtl/gtclip.c + harbour/source/rtl/gttone.c * harbour/include/hbgtcore.h * separated low-level TONE() and ClipBoard code for W32 new functions: hb_gt_w32_Tone() hb_gt_w32_SetClipboard() hb_gt_w32_GetClipboard() Please update non GNU make files * harbour/source/rtl/gtwin/gtwin.c * harbour/source/rtl/gtwvt/gtwvt.c * use hb_gt_w32_*() for common GT code * harbour/config/w32/global.cf + harbour/source/rtl/gtgui/Makefile + harbour/source/rtl/gtgui/gtgui.c + added GTGUI GT driver - it inherits from GTNUL and add support for TONE and CLIPBOARD 2006-06-22 11:30 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapicls.h * harbour/source/vm/classes.c + hb_objSendMessage( PHB_ITEM pObj, PHB_DYNS pMessage, ULONG ulArg, ... ) * code clean-up * harbour/source/rtl/do.c * removed old not longer necessary code - thanks to Chen. * harbour/source/vm/runner.c * added one TODO note * harbour/source/rtl/gtstd/gtstd.c * try to enable raw mode for console stdin in W32 * harbour/source/rdd/dbfntx/dbfntx1.c * code clean-up 2006-06-22 11:58 UTC+0300 Chen Kedem <niki@synel.co.il> * TODO * Modify to include latests TODO and FIXME entries, removed completed tasks. * doc/gtapi.txt + Add a section by Przemyslaw Czerpak (druzus/at/priv.onet.pl) "How to get rid of unwanted console in Windows GUI applications" 2006-06-22 10:55 UTC+0100 Ryszard Glab <rglab//imid.med.pl> * harbour.spec * include/hbver.h * updated to set version 0.46.2 * include/hbapi.h * source/vm/garbage.c + added possibility to register a sweep function that will scan memory block allocated with hb_gcAlloc * source/compiler/harbour.c * source/compiler/harbour.y * fixed 'unreachable code' warning in IF/ELSEIF * fixed 'variable unused' warnings when -w3 switvh was used 2006-06-22 00:25 UTC+0100 Viktor Szakats * harbour/include/common.ch * harbour/source/debug/dbghelp.prg * harbour/source/debug/dbgmenu.prg * harbour/source/debug/dbgtarr.prg * harbour/source/debug/dbgtobj.prg * harbour/source/debug/dbgwa.prg * harbour/source/debug/debugger.prg * harbour/source/rdd/dbupdat.prg * harbour/source/rtl/achoice.prg * harbour/source/rtl/checkbox.prg * harbour/source/rtl/dbedit.prg * harbour/source/rtl/getsys.prg * harbour/source/rtl/listbox.prg * harbour/source/rtl/persist.prg * harbour/source/rtl/pushbtn.prg * harbour/source/rtl/radiobtn.prg * harbour/source/rtl/tbcolumn.prg * harbour/source/rtl/tbrowse.prg * harbour/source/rtl/tclass.prg * harbour/source/rtl/teditor.prg * harbour/source/rtl/tget.prg * harbour/source/rtl/tgetlist.prg * harbour/source/rtl/tlabel.prg * harbour/source/rtl/treport.prg * harbour/utils/hbdoc/genchm.prg * harbour/utils/hbdoc/genhtm.prg * harbour/utils/hbdoc/genng.prg * harbour/utils/hbdoc/genos2.prg * harbour/utils/hbdoc/genrtf.prg * harbour/utils/hbdoc/gentrf.prg * harbour/utils/hbdoc/html.prg * harbour/utils/hbdoc/ng.prg * harbour/utils/hbdoc/os2.prg * harbour/utils/hbdoc/rtf.prg * harbour/utils/hbmake/checks.prg * harbour/utils/hbmake/hbmake.prg * harbour/utils/hbmake/hbmutils.prg * harbour/utils/hbmake/radios.prg * harbour/utils/hbtest/rt_hvm.prg + HB_SYMBOL_UNUSED() added for .prg code. It can suppress unused var warnings where applicable. The code won't generate any final pcodes, so it won't cause overhead. The only current downside is that it cannot be used inside codeblocks. ! Fixed a number (>200) of declared but unused variable /w2 error. All parts were scanned and fixed (except contrib). Note that there are several false "unreachable code" warnings, and there are still quite a few unused var warnings inside codeblocks. After fixing these /w2 switch could be added to the standard build process to maintain code quality. 2006-06-21 00:50 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/config/w32/dir.cf + added EOL at EOF * harbour/config/w32/global.cf * changed clean and dirbase commands to work cleanly with CMD.EXE * harbour/source/rtl/gtwin/gtwin.c * always try to allocate console + added workaround for MSYS console which does not support WriteConsoleOutput()/ReadConsoleInput() * harbour/source/rtl/gtwvt/gtwvt.c * changed default codepage to OEM 2006-06-20 17:22 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/classes.c ! fixed memory leak when CLASSSEL() message was sent to non object item 2006-06-20 14:50 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapicls.h * harbour/source/vm/classes.c ! fixed typo in function name should be hb_objHasMessage() 2006-06-20 13:30 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapicls.h * harbour/source/vm/classes.c + added hb_objHasMesage( PHB_ITEM pObject, PHB_DYNS pMessage ) + added hb_objGetpMethod() for backward binary compatibility with FWH * hidden for 3rd party users hb_objGetMethod() and hb_objPopSuperCast() If for some reason 3rd party code will need these methods please tell me in which case and I'll add necessary functions. Please try to not use any non-public function. I strongly prefer to add new public functions for which we will know that they are used by 3rd party code then create problems with binary compatibility after updating local HVM functions. 2006-06-20 11:33 UTC+0100 Viktor Szakats * harbour/source/rtl/gtwin/gtwin.c ! Stupid bug fixed in prev commit. 2006-06-20 09:45 UTC+0100 Viktor Szakats * harbour/source/rtl/gtwin/gtwin.c * harbour/source/rtl/gtwxt/gtwxt.c ! Possible (double) fix to properly handle embedded zero bytes when getting clipboard content. 2006-06-20 08:55 UTC+0100 Viktor Szakats * harbour/source/rtl/gtwin/gtwin.c + Copied Windows Clipboard support from the GTWVT driver. So now it is available in Win32 console apps too. (Thanks Przemek for the functions and instructions). Set/Get the Clipboard using: hb_GTInfo( GTI_CLIPBOARDDATA[, <newvalue>] ) 2006-06-20 02:37 UTC+0100 Viktor Szakats * harbour/source/rtl/tbrowse.prg ! Fixed TBrowseNew() not initializing :skipBlock() ! Fixed TBrowse:skipBlock() (throwing proper error, NIL parameter behaviour, parameter checking) 2006-06-19 23:10 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/Makefile + added hbapicls.h * harbour/include/hbapi.h * harbour/source/vm/garbage.c * added some testing macros * harbour/include/hbmath.h * HB_MATH_ERRNO enabled for MINGW build. Seems that MinGW doesn't activate math error handler and only sets errno * harbour/include/hbtypes.h * harbour/source/vm/maindllp.c ! fixed VM_PROCESS_SYMBOLS_EX definition * cleaned a little bit code to not return uninitialized values when original function cannot be detected * harbour/source/compiler/genc.c * minor modifications * harbour/source/rtl/math.c ! fixed possible memory leak * indenting * harbour/source/vm/classes.c ! fixed possible GPF in __GETMSGPRF * use only one function for method name hashing * harbour/source/vm/hvm.c * minor fix 2006-06-17 00:20 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbcomp.h + added extern hb_comp_szFile * harbour/include/hbinit.h * changed hb_vmProcessSymbolsExt() to hb_vmProcessSymbolsEx() respecting Mindaugas suggestion. + added HB_INIT_SYMBOLS_EX_END() macro * translate HB_INIT_SYMBOLS_END() macro to HB_INIT_SYMBOLS_EX_END() * harbour/include/hbsetup.h + added HB_PCODE_VER_MIN and HB_PCODE_VER both now are set to 0x0001 * harbour/include/hbtypes.h * changed VM_PROCESS_SYMBOLS_EXT to VM_PROCESS_SYMBOLS_EX * harbour/include/hbvm.h + added hb_vmFindModuleSymbolName() - it returns the file name of given symbol if it was registered in HVM * harbour/source/compiler/genc.c * set HB_FS_LOCAL for local module functions * use HB_INIT_SYMBOLS_EX_END instead of HB_INIT_SYMBOLS_END * harbour/source/compiler/harbour.c * minor modifications * harbour/contrib/rdd_ads/ads1.c * harbour/source/rdd/dbf1.c * harbour/source/rdd/delim1.c * harbour/source/rdd/sdf1.c * harbour/source/rdd/dbfdbt/dbfdbt1.c * harbour/source/rdd/dbffpt/dbffpt1.c * harbour/source/rdd/dbfcdx/dbfcdx1.c * added HB_FS_LOCAL to function symbols in registered symbol tables * harbour/source/rdd/dbfntx/dbfntx1.c * added HB_FS_LOCAL to function symbols in registered symbol tables ! added missing break + added DBOI_KEYCOUNTRAW, DBOI_KEYNORAW. They works like DBOI_KEYCOUNT and DBOI_KEYNO in pure DBFNTX. Only with some upper level RDDs like RMDBFNTX which supports bit map filters they can return differ results. * harbour/source/rdd/workarea.c * changed ORDERINFO to DBORDERINFO in error message * harbour/source/rtl/set.c * respect previous settings in logical SETs if given value is not valid new one. + added missing initialization for _SET_FORCEOPT and _SET_HARDCOMMIT. * changed default value of _SET_OPTIMIZE to TRUE * harbour/source/vm/dynsym.c * give the highest priority for LOCAL function symbols * harbour/source/vm/hvm.c + added hb_vmFindModuleSymbolName() - it returns the file name of given symbol if it was registered in HVM * changed hb_vmProcessSymbolsExt() to hb_vmProcessSymbolsEx() and added PCOE version checking * harbour/source/vm/maindllp.c * changed hb_vmProcessSymbolsExt() to hb_vmProcessSymbolsEx() * changed VM_PROCESS_SYMBOLS_EXT to VM_PROCESS_SYMBOLS_EX * harbour/source/vm/proc.c * changed to use stack macros/functions instead of direct accessing HB_STACK members + implemented PROCFILE() - it returns now real source file name with body of given function symbol or function executed at given stack level. If the source file cannot be detected then empty string is returned. Unlike in xHarbour it works also for static functions. synatx: PROCFILE( [ <FuncSym> | <nStackLevel> ] ) E.g.: PROCFILE() -> current module name PROCFILE(@DBFCDX()) -> ../../dbfcdx1.c 2006-06-16 01:30 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapi.h * harbour/source/vm/arrays.c * added hb_arraySelfParams() * harbour/include/hbapierr.h * harbour/source/rtl/errorapi.c + added HB_ERR_ARGS_SELFPARAMS for automatic setting as argument list array with self item and passed parameters * harbour/source/rtl/copyfile.c * harbour/source/rtl/str.c * harbour/source/rtl/strtran.c * harbour/source/rtl/strzero.c * harbour/source/rtl/substr.c * harbour/source/vm/arrayshb.c * harbour/source/vm/classes.c * harbour/source/vm/evalhb.c * harbour/source/vm/memvars.c * harbour/source/vm/runner.c * use HB_ERR_ARGS_BASEPARAMS in generated RT messages * harbour/source/rtl/fstemp.c * formatting * harbour/source/vm/hvm.c ! added some missing operator overloading ! fixed some error messages to be Clipper compatible ! fixed FOR loop for nonnumerical value and STEP, e.g.: FOR d := date() TO date() + 10 step 2 ? d NEXT * added disabled code to support reverted FOR condition like in Clipper. See below. * harbour/source/compiler/harbour.y * added disabled code to generate reverted FOR condition like in Clipper. I cannot uncomment it because it will break backward binary compatibility so I'll do that when some modification will force PCODE version updating. Enabling this code clean the following errors reported by hbtest: ! 2907 MAIN_MISC(200) TFORNEXT( NIL, NIL, NIL ) Result: "E BASE 1074 Argument error <= A:2:U:NIL;U:NIL F:S" Expected: "E BASE 1075 Argument error > A:2:U:NIL;U:NIL F:S" ! 2919 MAIN_MISC(212) TFORNEXT( NIL, NIL, NIL ) Result: "E BASE 1074 Argument error <= A:2:U:NIL;U:NIL F:S" Expected: "E BASE 1075 Argument error > A:2:U:NIL;U:NIL F:S" 2006-06-15 18:10 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rdd/usrrdd/usrrdd.c + added functions to set WorkArea flags USRRDD_SETBOF, USRRDD_SETEOF, USRRDD_SETFOUND, USRRDD_SETTOP, USRRDD_SETBOTTOM * harbour/include/hbapierr.h + added HB_ERR_ARGS_BASEPARAMS * harbour/source/rtl/errorapi.c ! check if ARGS passed to __ERRRT_BASE() and __ERRRT_SBASE() are valid to avoid possible GPF * replaced old hack with passing ARGS in array for some chosen errors by HB_ERR_ARGS_BASEPARAMS in hb_errRT_BASE and hb_errRT_BASE_SubstR - it was impossible to generate Clipper compatible error message * harbour/source/rtl/do.c * use HB_ERR_ARGS_BASEPARAMS * harbour/source/rtl/tobject.prg * assign SELF to ARGS of error object when EG_NO[VAR]METHOD RT error is generated - Clipper compatible. * harbour/source/vm/classes.c * added __msgNoMethod which is returned to hb_vmSend when object does not support requested message. This handler can display previous Harbour error message though now it's disabled and Clipper compatible error message is generated. I leave the decision to Harbour users which version of error message should be used. * changed __msgClsSel to return variable size array with only valid items If some code needs fixed size array then it will have to be updated * harbour/source/vm/hvm.c * generate Clipper compatible error messages for EG_NO[VAR]METHOD and EG_NOFUNC. Please do not change it. If you want previous Harbour error messages for EG_NO[VAR]METHOD then please change __msgNoMethod in classy.c * harbour/source/vm/arrays.c * minor modification 2006-06-14 13:30 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapiitm.h + added missing declaration of hb_itemPutPtrGC() 2006-06-14 13:05 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/config/linux/dir.cf * harbour/config/linux/gcc.cf * formatting * harbour/config/linux/global.cf * harbour/config/linux/install.cf * added -ldl to linked library list and RANLIB executing after library creation * harbour/contrib/ole/ole2.c * added #include "hbapicls.h" + harbour/include/hbapicls.h * harbour/include/hbapi.h + added HB_IT_ENUM item + added collect member to HB_IT_POINTER structure for POINTER items inspected by GC * changed the order of HB_CODEBLOCK members to safe few bytes on alignment * removed counters from HB_CODEBLOCK and HB_BASEARRAY structure + added hb_xRefInc(), hb_xRefDec(), hb_xRefFree(), hb_xRefCount(), hb_xRefResize() functions. They are internal Harbour VM functions and covered by internal API macro. Should not be used by 3rd party code because we may change them in the future or even remove. + added hb_gcRefInc(), hb_gcRefDec(), hb_gcRefFree(), hb_gcRefCount() functions. These are also internal function which corresponds to the above hb_x*() ones. - removed hb_arrayRelease() function. This function is not longer necessary and it should never be public function - it was implemented in very dangerous way. - removed hb_codeblockDelete() function. - removed hb_memvarValueDecGarbageRef() + added USHORT usLen parameter to hb_codeblockMacroNew() - when sets to non 0 value it informs that PCODE should be copied to dynamically allocated buffer. * moved all classes/object functions to separate file: hbapicls.h + added hb_retptrGC() + added internal function hb_memvarGetItem() * harbour/include/hbapiitm.h - removed hb_itemForwardValue() and added macro which translates hb_itemForwardValue() to hb_itemMove() + added hb_itemUnShareString() and hb_itemReSizeString() functions + added hb_itemSetNil() macro * harbour/include/hbdefs.h * some cleanups in macro definitions * harbour/include/hbexprb.c * indenting * harbour/include/hbvm.h * harbour/include/hbinit.h + added hb_vmProcessSymbolsExt(), hb_vmRegisterSymbols(), hb_vmFreeSymbols(), hb_vmBeginSymbolGroup(), hb_vmInitSymbolGroup(), hb_vmExitSymbolGroup() * changed hb_vmProcessSymbols() to return address of register symbol table. For normal code it's the same address as given in parameter so it does not break backward binary compatibility. * changed symbol init macros to work correctly with modified address of symbol table * harbour/include/hbsetup.h * added support for HB_USE_PROFILER macro. Now profiler code is is disable in HVM by default * commented out HB_ASORT_OPT_ITEMCOPY - it's not longer used - see note. * harbour/include/hbstack.h * added missing parenthesis in hb_stackItem() macro * harbour/include/hbtypes.h * updated VM_PROCESS_DLL_SYMBOLS definition + added VM_PROCESS_SYMBOLS_EXT - removed HB_ARRAYRELEASE * harbour/include/hbver.h * changed revision number to 2 * harbour/include/hbvmpub.h - remove pFunPtr from HB_DYNS and cover profiler member by #ifndef HB_NO_PROFILER + added HB_PCODEFUNC structure + added HB_FS_PCODEFUNC, HB_FS_DYNCODE and HB_FS_LOCAL - the last one is not used yet. * harbour/include/hbxvm.h * added some multipcode functions for some speed optimization in -gc3 output * harbour/include/hbapicdp.h * harbour/source/codepage/cpbg866.c * harbour/source/codepage/cpbgiso.c * harbour/source/codepage/cpbgwin.c * harbour/source/codepage/cpeldos.c * harbour/source/codepage/cpelwin.c * harbour/source/codepage/cpesdos.c * harbour/source/codepage/cpesmwi.c * harbour/source/codepage/cpeswin.c * harbour/source/codepage/cpgedos.c * harbour/source/codepage/cpgewin.c * harbour/source/codepage/cphu852.c * harbour/source/codepage/cphuiso.c * harbour/source/codepage/cphuwin.c * harbour/source/codepage/cppl852.c * harbour/source/codepage/cppliso.c * harbour/source/codepage/cpplmaz.c * harbour/source/codepage/cpplwin.c * harbour/source/codepage/cppt850.c * harbour/source/codepage/cpptiso.c * harbour/source/codepage/cpru866.c * harbour/source/codepage/cprukoi.c * harbour/source/codepage/cpruwin.c * harbour/source/codepage/cpsl437.c * harbour/source/codepage/cpsl852.c * harbour/source/codepage/cpsliso.c * harbour/source/codepage/cpslwin.c * harbour/source/codepage/cpsrwin.c * harbour/source/common/hbfhnd.c * harbour/source/common/hbstr.c * harbour/source/common/hbver.c * harbour/source/compiler/gencli.c * harbour/source/rtl/fstemp.c * harbour/source/rtl/hbgtcore.c * harbour/source/rtl/langapi.c * harbour/source/rtl/gtalleg/gtalleg.c * harbour/source/rtl/gtalleg/ssf.h * harbour/source/rtl/gtcgi/gtcgi.c * harbour/source/rtl/gtcrs/gtcrs.c * harbour/source/rtl/gtdos/gtdos.c * harbour/source/rtl/gtos2/gtos2.c * harbour/source/rtl/gtpca/gtpca.c * harbour/source/rtl/gtsln/gtsln.c * harbour/source/rtl/gtstd/gtstd.c * harbour/source/rtl/gtwin/gtwin.c * harbour/source/rtl/gtwvt/gtwvt.c * harbour/source/rtl/gtxwc/gtxwc.c * cleaned the code to avoid warnings for some non ANSI C constructions * harbour/source/compiler/cmdcheck.c * formatting * harbour/source/compiler/gencc.c * added some multipcode optimizations * harbour/source/compiler/genc.c * keep function name set by compiler for static initstatics * harbour/source/compiler/harbour.c * extend init statics name with the number of used static variables * formatting * harbour/source/compiler/hbusage.c + added my name to developers list - I hope that there is enough of my code in Harbour (BTW for quite long time) ;-) * harbour/source/rdd/dbcmd.c - removed DBF2TEXT() function * harbour/source/rdd/dbf1.c * harbour/source/rdd/dbffpt/dbffpt1.c * generate RT error when someone tries to create DBF with memo fields without MEMO RDD linked. * harbour/source/rtl/errorapi.c * replace all hb_vmDo() with hb_vmSend() * harbour/source/rtl/math.c * use hb_errPutArgs() to pass parameters to error object * harbour/source/rtl/philes.c * harbour/source/rtl/space.c * harbour/source/rtl/strpeek.c * some minor optimizations * harbour/source/vm/arrays.c - removed hb_arrayRelease() function. * changed hb_arrayReleaseGarbage() to be safe for recursive call * updated to use GC counters * harbour/source/vm/arrayshb.c * use stack function/macros instead of direct accessing HB_STACK members * harbour/source/vm/asort.c * removed unused HB_ASORT_OPT_ITEMCOPY * harbour/source/vm/classes.c * added class code from HVM % added fast overloaded operator detection and execution + added hb_objHasOperator(), hb_objOperatorCall() + added separated overloading of "=" and "==" operators * operate on PHB_SYMB not PHB_FUNC - support for pure PCODE function without any machine code * use stack function/macros instead of direct accessing HB_STACK members * separated profiler code * some code cleaning * harbour/source/vm/codebloc.c + added USHORT usLen parameter to hb_codeblockMacroNew() - when sets to non 0 value it informs that PCODE should be copied to dynamically allocated buffer. * updated to use GC counters - removed hb_codeblockDelete() function. * changed hb_codeblockDeleteGarbage() to be safe for recursive call - removed restoring statics base in hb_codeblockEvaluate() * harbour/source/vm/debug.c * cleaned and optimized some code * harbour/source/vm/dynlibhb.c + added support for loading and unloading dynamic libraries with PCODE + added support for dynamic libraries in Linux (.so) + added HB_LIBERROR() - returns error string with last error in HB_LIBLOAD() - now works only in Linux * harbour/source/vm/dynsym.c * separated profiler code + use pDynSym->pSymbol->value.pFunPtr instead of pDynSym->pFunPtr * harbour/source/vm/estack.c + added #include "hbapicls.h" + added hb_stackPushReturn(), hb_stackPopReturn() * harbour/source/vm/eval.c * harbour/source/vm/extend.c * use stack function/macros instead of direct accessing HB_STACK members + added hb_retptrGC() * harbour/source/vm/fm.c + added hb_xRefInc(), hb_xRefDec(), hb_xRefFree(), hb_xRefCount(), hb_xRefResize() functions. They are internal Harbour VM functions and covered by internal API macro. Should not be used by 3rd party code because we may change them in the future or even remove. * harbour/source/vm/garbage.c + added hb_gcRefInc(), hb_gcRefDec(), hb_gcRefFree(), hb_gcRefCount() functions. These are also internal function which corresponds to the above hb_x*() ones. * changed Step 3 of GC pass and execution of clean-up function to be safe for recursive calls and additional activity. Ryszard see my note and s_pDeletedBlock + added GC inspected HB_IT_POINTER items. * harbour/source/vm/hvm.c * separated profiler code * separated class code from HVM + added support for loading and unloading libraries with PCODE modules + added support for pure PCODE functions + added support for string item resizing and preallocating string buffer + added some new multipcode functions for -gc3 optimization + added hb_vmProcessSymbolsExt(), hb_vmRegisterSymbols(), hb_vmFreeSymbols(), hb_vmBeginSymbolGroup(), hb_vmInitSymbolGroup(), hb_vmExitSymbolGroup() * changed hb_vmProcessSymbols() to return address of register symbol table. For normal code it's the same address as given in parameter so it does not break backward binary compatibility. + use new code for operator overloading * changed FOR EACH to dynamically check iteration scope in hb_vmEnumNext()/hb_vmEnumPrev() and remove max number of iteration stored on HVM stack * temporary use hb_itemUnRefOnce() instead of hb_itemUnRefRefer() as workaround for possible GPF. I'd like Ryszard will chose the final version * harbour/source/vm/itemapi.c + added support for preallocating string buffer size + added hb_itemUnShareString() and hb_itemReSizeString() * updated string items to use counters allocated with each memory block by xh_xgrab()/hb_xalloc() * updated codeblock and array items to use GC reference counters + added GC inspected HB_IT_POINTER items. * generate RT error in hb_itemUnreOnce() for enumerator items out of scope + added hb_itemPutPtrGC() * harbour/source/vm/macro.c * use pDynSym->pSymbol->value.pFunPtr instead of pDynSym->pFunPtr * harbour/source/vm/maindllp.c * updated usage of hb_vmProcessSymbols() * added hb_vmProcessSymbolsExt() * harbour/source/vm/memvars.c + added hb_memvarGetItem() - removed hb_memvarValueDecGarbageRef() * harbour/source/vm/proc.c + added #include "hbapicls.h" * harbour/source/vm/pvalue.c * do not access stack structure directly but use hb_stack*() functions (macros) * harbour/source/vm/runner.c * synced with xHarbour * harbour/utils/hbtest/rt_misc.prg * added overloading "=" operator. Now "==" and "=" can be overloaded with different methods All names I used for new functions/macros can be changed. Please look at it and if you will some better propositions then we can use it. hb_vmProcessSymbolsExt() is added but not used yet. 2006-06-07 16:35 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbrddcdx.h * harbour/include/hbrdddbf.h * harbour/source/rdd/dbcmd.c * harbour/source/rdd/delim1.c * harbour/source/rdd/dbffpt/dbffpt1.c * cleaned // comments and some compiler warnings * harbour/include/dbinfo.ch * harbour/source/rdd/dbf1.c ! fixed setting [V]FP DBF table type * harbour/source/vm/arrays.c ! fixed ADEL() to clear last element % optimized a little bit AINS() - use hb_itemMove() instead of hb_itemCopy() 2006-06-05 20:30 UTC+0200 Jacek Kubica (kubica/at/wssk.wroc.pl) * harbour/makefile.bc * added references for USRRDD.LIB 2006-06-04 18:30 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbdefs.h * use i64 suffix for BCC 5.3 and higher for long long int * harbour/source/rtl/dummy.prg * harbour/source/rdd/dbcmd.c * added undocumented Clipper function: __dbTrans() __dbOpenSDF() and __dbJoin() I'll commit soon. There is also __dbTransRec() in dummy.prg but I cannot find any information about this function and its parameters in GOOGLE. If someone knows what is this functions syntax and can Inform me then I'll implement it. I guess it's a wrapper to TRANSREC() RDD method. * harbour/source/rdd/dbf1.c * DBI_LOCKOFFSET now returns DBF record lock offset really used (e.g. updated in FP locking after open/close production index) * harbour/source/rdd/delim1.c * cleaned BCC warning * harbour/source/rdd/dbfcdx/dbfcdx1.c ! updated internal production index flag after manual opening production index 2006-06-02 14:30 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/hb-func.sh * harbour/config/global.cf + harbour/include/usrrdd.ch + harbour/source/rdd/usrrdd/Makefile + harbour/source/rdd/usrrdd/usrrdd.c + harbour/source/rdd/usrrdd/rdds/Makefile + added USRRDD library. It allows to create new RDD from scratch or by inheriting from any other RDDs (except USRRDDs) and overloading any of their methods at .prg level. I hope you will find a lot of fun in creating your own RDDs. I wanted to create more examples and added some documentation but I do not have time for it now - sorry. Try to look at examples below and if you need some more detail information then look at Clipper's NG Technical Reference Guide or ask me. I'll try to help. Two RDDs which seems to be requested by users are ARRAY RDD and OLE RDD. I hope that some of you implement them. + harbour/source/rdd/usrrdd/rdds/dbtcdx.prg * Very simple RDD DBTCDX which inherits from DBFCDX and set default memo type to DBT, see exmemo.prg as an example. + harbour/source/rdd/usrrdd/rdds/fptcdx.prg * Very simple RDD FPTCDX which inherits from DBFCDX and set default memo type to FPT, see exmemo.prg as an example. + harbour/source/rdd/usrrdd/rdds/smtcdx.prg * Very simple RDD SMTCDX which inherits from DBFCDX and set default memo type to SMT, see exmemo.prg as an example. + harbour/source/rdd/usrrdd/rdds/fcomma.prg * A simple RDD which uses HB_F*() functions from MISC library to access CSV files. It allow to open an CSV file and navigate using SKIP()/GOTO()/GOTOP()/GOBOTTOM() functions using BOF()/EOF()/RECNO()/LASTREC() to check current state. HB_F*() functions does not support single field access and allow to read only the whole line. This RDD also. I only added one virtual field which exist in all tables open by this RDD called LINE which contains the current .csv file line. + harbour/source/rdd/usrrdd/rdds/hscdx.prg * A simple RDD which adds automatically update HSX indexes to DBFCDX To create new HSX index for current work area use: HSX_CREATE() To open already existing one use HSX_OPEN(), To close use: HSX_CLOSE() To retieve an handle use: HSX_HANDLE() + harbour/source/rdd/usrrdd/rdds/rlcdx.prg * A simple RDD which introduce lock counters. It has full DBFCDX functionality from which it inherits but if you execute DBRLOCK(100) twice then you will have to also repeat call to DBRUNLOCK(100) to really unlock the record 100. The same if for FLOCK() This idea comes from one of messages sent by Mindaugas Kavaliauskas. + harbour/source/rdd/usrrdd/example/exfcm.prg * example of using FCOMMA RDD + harbour/source/rdd/usrrdd/example/exhsx.prg * example of using HSCDX RDD + harbour/source/rdd/usrrdd/example/exrlx.prg * example of using RLCDX RDD + harbour/source/rdd/usrrdd/example/exmemo.prg * example of using DBTCDX, FPTCDX and SMTCDX RDDs 2006-06-02 14:15 UTC+0100 Ryszard Glab <rglab//imid.med.pl> * harbour.spec * include/hbver.h * updated to set version 0.46.1 for build46 2006-06-02 14:00 UTC+0100 Ryszard Glab <rglab//imid.med.pl> * include/hbexpra.c * source/compiler/expropta.c * fixed bug in GET var[ any_one_dim_index ] * source/pp/ppcore.c * fixed BCC warning NOTICE: The above files are retagged to 'build46' 2006-05-31 14:00 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rdd/dbcmd.c ! fixed default RDD seting in APPEND FROM / COPY TO 2006-05-31 13:45 UTC+0200 Tomaz Zupan (tomaz.zupan at orpo.si) * harbour.spec * Added Mandriva to recognised distros * Sinchronised version with harbour/include/hbver.h 2006-05-30 18:15 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rdd/sdf1.c * cleaned BCC warning * harbour/source/rdd/delim1.c ! fixed BCC compilation (string initialization with dynamic values is forbidden by BCC) 2006-05-30 12:15 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbver.h * changed version number and ChangeLog entry * harbour/make_tgz.sh ! fixed creating PP in DJGPP builds * harbour/contrib/dot/pp.prg ! minor fix in parameter checking * harbour/contrib/libmisc/hb_f.c ! fixed bug in record numbering after reaching EOF position and backward skipping * harbour/include/hbrdddel.h * harbour/source/rdd/delim1.c + implemented DELIM RDD. It should be fully Clipper compatible in comma files parsing. If you will find any difference, please inform me and I'll update it. Unlike in Clipper in [x]Harbour these RDD can be used also in direct import operations with APPEND FROM ... VIA "DELIM" These RDD also support whole record transfering between RDDs if they support the same record format and field representation and can translate extended field types like "I", "B", "V3", "V4", etc. * harbour/source/rtl/dbdelim.prg * replaced old code of __dbDelim() function with simple calls to __dbCopy()/__dbApp() - it should fix most of the reported incompatibilities in DELIM import/export operations and increase their speed many times * harbour/include/hbrddsdf.h * harbour/source/rdd/sdf1.c + implemented SDF RDD. It should be fully Clipper compatible in SDF files parsing. If you will find any difference, please inform me and I'll update it. Unlike in Clipper in [x]Harbour these RDD can be used also in direct import operations with APPEND FROM ... VIA "SDF" These RDD also support whole record transfering between RDDs if they support the same record format and field representation and can translate extended field types like "I", "B", "V3", "V4", etc. * harbour/source/rtl/dbsdf.prg * replaced old code of __dbSDF() function with simple calls to __dbCopy()/__dbApp() - it should fix most of the reported incompatibilities in SDF import/export operations and increase their speed many times * harbour/source/rdd/dbcmd.c + added support for table structure inheriting in transfer RDDs. + added eleventh parameter with delimiter to __dbCopy()/__dbApp() * harbour/source/rdd/dbf1.c * force 10 bytes size for memo fields in DBF and SMT memos. * some minor clean-up. * harbour/source/rdd/workarea.c * added some dummy DBI_* actions in base RDD level 2006-05-30 12:09 UTC+0300 Chen Kedem <niki@synel.co.il> + doc/howtorel.txt + How-to-Release document by Przemyslaw Czerpak (druzus/at/priv.onet.pl) * doc/whatsnew.txt + Add tag information to all tagged builds. 2006-05-29 16:00 UTC+0100 Ryszard Glab <rglab//imid.med.pl> * harbour.spec * doc/whatsnew.txt * include/hbver.h * modified to store build number 46 2006-05-29 14:10 UTC+0100 Ryszard Glab <rglab//imid.med.pl> * source/pp/ppcore.c *fixed invalid memory access * source/compiler/harbour.c *fixed to generate error in cases when variable name is duplicated in PARAMETERS and PRIVATE statements (NOTICE: this error is generated when automatic memvar declaration was requested only using -a command line switch) 2006-05-23 14:21 UTC+0300 Chen Kedem <niki@synel.co.il> * doc/whatsnew.txt + Add information about the upcoming alpha build 46. * doc/en/compiler.txt + Add a line for -gc3 switch. * source/compiler/hbusage.c + Add a line for -gc3 switch. * Bumped the copyright year from 2005 to 2006. 2006-05-19 21:05 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/hb-func.sh * added support -go[0-3] and other -g* switches to xhb* scripts * harbour/include/hbapi.h + added ISSYMBOL() macro * formatting * harbour/include/hbapirdd.h * changed definition of SUPERTABLE for optional dynamic overloading this modification will not effect existing code * harbour/include/hbrddfpt.h * harbour/source/rdd/dbffpt/dbffpt1.c * added support for NIL value in SIX3 FPT files * harbour/include/hbcomp.h * harbour/source/compiler/harbour.c * harbour/source/compiler/genc.c * harbour/source/compiler/gencli.c * harbour/source/compiler/genhrb.c * harbour/source/compiler/genjava.c ! message symbols are not function symbols - cleaned the HB_FS_MESSAGE usage and fix the problem with registering static function in global symbol table * harbour/source/compiler/gencc.c ! fixed typo in compilation for platforms 64-bit LONG * harbour/include/hbvmpub.h * harbour/source/compiler/cmdcheck.c * harbour/source/vm/asort.c * harbour/source/vm/evalhb.c * formatting * harbour/source/rdd/dbcmd.c * formatting and some minor clean-up * harbour/source/rdd/workarea.c * added default SYSNAME method ! fixed possible memory leak when APPEND failed in TRANSREC method * harbour/source/rdd/hsx/hsx.c ! fixed using HS_ADD()/HS_REPLACE() without STRING/BLOCK expression * harbour/source/rtl/cdpapi.c * cleaned GCC4 warning * harbour/source/rtl/do.c * changed to keep parameter references in DO() function. Now it works like IIF()/EVAL() * harbour/source/vm/classes.c * removed some definitions repared from hbapi.h + added support to passing function references as HB_IT_SYMBOL * harbour/source/vm/dynlibhb.c ! fixed GPF in HB_LIBDO called with wrong parameter * harbour/source/vm/hvm.c ! fixed hb_rddGetFieldValue() to not operate on unallocated stack area it could cause unpredictable results when RDD had to access HVM, e.g. for evaluation some pending relations. The whole code should be carefully checked and to not operate on hb_stackTopItem() if other functions are called to make the HVM fully reentrant. + added commented out support for passing HB_IT_SYMBOL as function pointer * formatting * harbour/source/vm/itemapi.c * return "S" for HB_IT_SYMBOL by hb_itemType() * formatting 2006-05-14 09:36 UTC+0300 Chen Kedem <niki@synel.co.il> * doc/dirstruc.txt + Add oneliner description for: source\rtl\gtalleg, source\rtl\gtwvt, source\rtl\gtxwc, source\vm\mainstd * doc/howtocvs.txt * Update CVS location to reflect recent changes in SourceForge. 2006-05-05 11:30 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/hb-func.sh * changed the exit code for .hrb file compilation by xhbcmp * harbour/include/hbcomp.h * harbour/source/compiler/gencc.c * harbour/source/compiler/hblbl.c * removed some variables which are not necessary in Harbour * harbour/source/compiler/hbfix.c + added unconditional and conditional jump joining optimization * harbour/source/vm/classes.c * indenting and some minor modifications * harbour/source/rdd/dbfcdx/dbfcdx1.c ! clear the logical key position buffer for pending relations or hot record buffer updating * harbour/source/rdd/dbffpt/dbffpt1.c * harbour/source/vm/hvm.c * casting * harbour/source/vm/macro.c * harbour/include/hbvmpub.h * removed HB_FS_ALLOCATED * harbour/source/vm/dynsym.c * changed the code for hb_symbolNew() to avoid possible memory leak alerts and keep the list of all dynamic symbols accessible. It also reduced a little bit the memory fragmentation and total size of memory allocated for dynamic symbols. 2006-04-18 14:10 UTC+0100 Ryszard Glab <rglab//imid.med.pl> * bin/bld.sh * fixed typo * source/pp/ppcore.c * fixed bug in ParseOptional <"var"> were not recognized correctly (This fixes SET RELATION bug reported by David Macias) 2006-04-15 20:20 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/Makefile + harbour/include/blob.ch * harbour/include/dbinfo.ch * harbour/include/hbdbferr.h * harbour/include/hbrddfpt.h * harbour/source/rdd/dbf1.c * harbour/source/rdd/workarea.c * harbour/source/rdd/dbffpt/dbffpt1.c + added all CL5.3 BLOB*() functions support + added new RDD DBFBLOB compatible with CL5.3 DBFBLOB It operates on memo files only (.dbv) without tables (.dbf) To create .DBV file use: dbCreate( cFile, {}, "DBFBLOB" ) * harbour/source/rdd/dbcmd.c * do not report error when empty structure table is passed to DBCREATE() CL5.3 allow to create even DBF files without any fields and because I can imagine some valid code which use it as a feature then I also allow it in DBF RDD. Authors of RDDs which do not allow to create tables without fields should add to their low-level RDD code necessary RT error. 2006-04-14 20:51 UTC+0100 Jacek Kubica (kubica/at/wssk.wroc.pl) * source/rtl/filesys.c ! fixed problem in CURDIR() wchich return truncate value if directory name is 3 chars long (fix given by Przemyslaw Czerpak) 2006-04-10 00:50 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rdd/dbfntx/dbfntx1.c ! fixed skip back after updating last record 2006-04-09 19:16 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rdd/dbfcdx/dbfcdx1.c ! fixed scope checking when skip is done from the record which dos not exist in index * harbour/source/vm/classes.c * use hb_itemClone() - it will save us modifications in the future if we will add new items which will be passed as parameters like arrays (e.g. hashes) * some source code formatting 2006-04-09 14:55 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * contrib/rdd_ads/ads1.c * Added possibility to save memo fields > 64K 2006-04-08 02:42 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rdd/dbfcdx/dbfcdx1.c ! update current order number after ordDestroy() * harbour/source/rdd/dbfntx/dbfntx1.c ! fixed ordKeyGoto() - only the index file was repositioned but I forgot to also change the record in DBF 2006-04-07 15:30 UTC+0100 Viktor Szakats * harbour/source/vm/classes.c % Optimized __CLSADDMSG() to call hb_parc() only once instead of 25 times for most cases. ! Possible problem fixed in __CLSADDMSG() where message parameter was required to be uppercase when overloading operator .NOT., .AND. or .OR. % hb_dynsymGet() calls replaced with hb_dynsymGetCase() where the parameter was an already uppercased constant. * harbour/source/vm/dynsym.c ! Fixed HB_TRACE() function name in hb_dynsymGetCase(). 2006-04-07 15:00 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/hb-func.sh * support for detecting startup function in C++ mode * harbour/include/hbapi.h * some few #defines to translate some xHarbour functions names to Harbour * harbour/include/hbxvm.h * harbour/source/compiler/gencc.c * harbour/source/vm/hvm.c * harbour/source/vm/itemapi.c * harbour/source/common/hbdate.c + added optimizations for add and div by integer value * changed code generated for double values to avoid limitation in some C compilers like MSC and possible differ conversion inside C RTL then the one which uses Harbour RTL * some minor optimizations, cleanups and code formating * harbour/source/compiler/hbfix.c * optimize usage of HB_P_NOT PCODE - remove repeated NOT operations or revert conditional jumps if they are just after NOT. * harbour/source/rdd/dbf1.c * added support for NULL value set in memo fields by ACCESS * harbour/source/rdd/dbfcdx/dbfcdx1.c * fixed ordKeyPos() - for records out of scope * harbour/source/rtl/padc.c * harbour/source/rtl/padl.c * harbour/source/rtl/padr.c * harbour/source/rtl/substr.c * some minor optimizations to avoid new string item creation when it's not necessary * harbour/source/vm/classes.c * harbour/source/vm/extend.c * minor code formatting and optimizations 2006-04-06 14:05 UTC+0100 Ryszard Glab <rglab//imid.med.pl> * source/compiler/harbour.c * fixed registering of startup procedure name * source/pp/ppcore.c * ignore escaped '<' in command/translate definitions (work in progress) 2006-04-05 15:49 UTC+0100 Antonio Linares <alinares@fivetechsoft.com> * source/makefile.nt + Added hblbl.c and gencc.c modules * harbour/source/vm/mainwin.c * harbour/source/rtl/gtwvt/gtwvt.c * harbour/source/compiler/harbour.l * some required changes for Microsoft C 2006-04-05 13:35 UTC+0100 Ryszard Glab <rglab//imid.med.pl> * source/compiler/harbour.c * fixed allocation of startup procedure name * source/compiler/harbour.l * fixed compilation of macro expression (the first letter was eaten in some cases) * source/pp/ppcomp.c * source/pp/ppcore.c * source/pp/pplib.c * fixed calls to hb_pp_ParseDirective * increased back the input buffer to HB_PP_STR_SIZE (12288 bytes) 2006-03-29 11:55 UTC+0100 Ryszard Glab <rglab//imid.med.pl> * include/hbpp.h *fixed declaration of hb_pp_StreamBlock * source/pp/ppcore.c * added two guards for buffer overflow 2006-03-28 18:00 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/compiler/harbour.c ! upper the default .prg function name created from .prg file name when compiled without -n switch 2006-03-28 17:20 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/hvm.c * warnings cleanup 2006-03-28 14:35 UTC+0100 Ryszard Glab <rglab//imid.med.pl> * include/hbexpra.c * fixed optimization of 'EVAL' in macro compiler * source/pp/ppcore.c * fixed calculation of length of stringify expressions 2006-03-28 13:46 UTC+0200 Jacek Kubica (kubica/at/wssk.wroc.pl) * harbour/makefile.bc * harbour/makefile.nt * harbour/makefile.vc * harbour/makefile64.nt + added references for harbour/source/compiler/hbstrong.c 2006-03-28 13:00 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbcomp.h + added hb_compPCodeSize() and hb_compStrongType() declarations * harbour/include/hbpp.h * formatting * harbour/source/compiler/Makefile + harbour/source/compiler/hbstrong.c * harbour/source/compiler/hbpcode.c * moved strong typing code to separate file * harbour/source/compiler/hbpcode.c + added hb_compPCodeSize() function + added support for automatic size checking of variable size PCODEs in hb_compPCodeEval() * harbour/source/compiler/gencc.c * added escaping of '?' character in generated strings to avoid possible conflicts with trigraph sequences which are part of ANSI C standard * force .0 at the end of double numbers to avoid possible range conflicts in generated .c files * removed unnecessary HB_SYMBOL_UNUSED() * harbour/source/compiler/harbour.l * harbour/source/compiler/harbour.y * harbour/source/macro/macro.l * harbour/source/macro/macro.y * added #define realloc hb_xrealloc * harbour/source/compiler/hbdead.c * harbour/source/compiler/hbfix.c * harbour/source/compiler/hblbl.c * harbour/source/compiler/hbstripl.c * use hb_compPCodeSize() function * removed not longer necessary functions for checking the real size of variable size PCODEs * harbour/source/vm/hvm.c * fixed RT error number in hb_vmAddInt() for negative values to be Clipper compatible 2006-03-27 15:25 UTC+0100 Ryszard Glab <rglab//imid.med.pl> * contrib/htmllib/default.ch * fixed IF/THEN command * source/compiler/hbident.c * source/compiler/harbour.l * added memory duplication for macro text (&a._m) * source/pp/ppcore.c * fixed my last commits * processed this file with indent 2006-03-25 03:30 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbstack.h * harbour/source/vm/estack.c * added pEnd to hb_stack structure to speed up hb_stackPush() which is one of the most often used operation in HVM. * harbour/include/hbapi.h * small trick with HB_IS_* macros to give a compiler a chance to make them faster on some machines * harbour/source/compiler/genc.c ! fixed stripping non identifier characters from symbol table name * harbour/source/compiler/hbpcode.c * cleaned comment * harbour/source/rdd/dbf1.c * set Operation in error object to field name in field{put,get} methods. + added DBI_LOCKOFFSET * harbour/source/vm/classes.c * formatting * harbour/source/vm/hvm.c * harbour/source/vm/itemapi.c * some minor speed optimizations 2006-03-23 14:50 UTC+0100 Ryszard Glab <rglab//imid.med.pl> * source/pp/ppcore.c * fixed preprocessor to preserve spaces the same way (almost) as Clipper * tests/pretest.prg * added more tests to check preprocessor 2006-03-22 16:05 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbstack.h * harbour/source/vm/estack.c + added hb_stackDecrease( ULONG ) * harbour/include/hbxvm.h * harbour/source/vm/hvm.c + added hb_xvmArrayItemPush(), hb_xvmArrayItemPop(), hb_xvmMultByInt() * harbour/source/compiler/gencc.c % use hb_xvmArrayItemPush(), hb_xvmArrayItemPop(), hb_xvmMultByInt() If someone has time then it will be good to also add: hb_xvmDivByInt(), hb_xvmModulusInt(), hb_xvmPlusInt(), hb_xvmMinusInt() * harbour/source/vm/itemapi.c * use simple memcpy() in hb_itemSwap() - it's save in current HVM It could become unsafe if we add reference tracing or something like that in the future but in such case we will have to also update hb_itemCopy() and hb_itemMove() so we can also update hb_itemSwap() * harbour/source/vm/asort.c * harbour/source/vm/classes.c * harbour/source/vm/memvars.c * harbour/source/vm/hvm.c * cleaned the code which created HB_ITEMs on C stack. Only three places have to be update yet and array/clodeblock creation little bit modified and we will be able add automatic GC activation in hb_xgrab() or hb_gcAlloc(). 2006-03-21 13:40 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/hvm.c ! added missing void in hb_xvmActionRequest() declaration to avoid BCC warnings 2006-03-21 13:20 UTC+0100 Jacek Kubica (kubica/at/wssk.wroc.pl) * harbour/source/vm/hvm.c + missing declaration for hb_xvmActionRequest added 2006-03-21 03:17 UTC+0100 Jacek Kubica (kubica/at/wssk.wroc.pl) * harbour/makefile.bc added referenced to: harbour/source/compiler/gencc.c harbour/source/compiler/hblbl.c 2006-03-21 02:25 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/make_gnu.bat * harbour/make_gnu.cmd * harbour/make_gnu.sh * added information about GTWVT to GT description for Windows * harbour/contrib/rdd_ads/ads1.c * harbour/contrib/rdd_ads/adsfunc.c * harbour/source/rdd/dbf1.c * synced with xHarbour * harbour/source/rtl/console.c ! fixed PROW() updating to be Clipper compatible when row number exceed 16-bit integer value * harbour/source/rtl/filesys.c ! fixed possible GPF when hb_fsCurDirBuff() * harbour/source/rtl/str.c * harbour/source/rtl/strzero.c * minor optimizations * harbour/source/rtl/strpeek.c ! fixed accessing the last character in STRPEEK() and STRPOKE() * harbour/include/hbgtinfo.ch * harbour/source/rtl/gtwin/gtwin.c + synced with recent xHarbour modifications * harbour/source/rtl/gtwvt/gtwvt.c * cleaned BCC warning * harbour/include/hbapi.h * harbour/source/vm/codebloc.c * declare BYTE * passed to hb_codeblockNew() as const * harbour/include/hbpcode.h ! fixed the PCODE numbers in PCODE description, 122 was repeated for two different PCODEs: HB_P_ONE and HB_P_MACROLIST * harbour/source/compiler/genc.c ! fixed hb_p_functionshort pcode size returned by genc function ! fixed double value presented in verbose genc mode for HB_P_PUSHDOUBLE ! fixed number of cases presented in verbose genc mode for HB_P_SWITCH * harbour/source/compiler/hbdead.c + added support for dead code elimination in functions which uses SWITCH ...; CASE ...; ...; END syntax * harbour/source/compiler/harbour.c * harbour/source/compiler/hbfix.c ! fixed optimization for HB_P_PUSHLOCALNEAR and HB_P_POPLOCALNEAR. It was a long existing bug not reported so far because 0, 1 and 2 PCODEs uses only one BYTE and bad PCODE tracing in hbfix.c didn't caused bad side effects as long as number of locals in function was smaller then 768. Now for functions HB_P_PUSHLOCAL and HB_P_POPLOCAL is used and later changed to NEAR version in hbfix.c if possible. * harbour/source/compiler/hbfix.c * join sequential jumps to optimize constructions like: while ... ... if ... exit endif enddo * harbour/source/compiler/hbdead.c * remove HB_P_END PCODE also at the and of function if is repeated just before, e.g. in code like (source/rtl/color53.prg): Function RADGRDEFCO( cColor ) if isdefcolor() Return applydefau( cColor, "W/N", "W/N", "W+/N") Else Return applydefau( cColor, 3, 1, 4) endif Return nil Now such redundant constructions like above are fully stripped by compiler anyhow if someone has time and think is important then can clean also this .prg code. * harbour/include/Makefile * harbour/include/hbcomp.h + harbour/include/hbxvm.h * harbour/source/compiler/Makefile * harbour/source/compiler/cmdcheck.c * harbour/source/compiler/genc.c + harbour/source/compiler/gencc.c + harbour/source/compiler/hblbl.c * harbour/source/compiler/hbpcode.c * harbour/source/vm/hvm.c + added support for generating real C code not PCODE in .c files. Now with -gc3 Harbour will generate .c files with real .c code which is later compiled to real machine code. I left PCODE only for code block definitions though it's also possible to have even code block compiled to machine code but we will have to add a flag to codeblock structure which will be checked at runtime and proper method of execution in EVAL will be chosen. If you think it's worth of afford then I can add it too in some spare time. The final binaries are noticeable longer then the one which has only PCODE but they are faster. The speed improvement depends on type of operations. The pure Clipper code which does not execute any external time consuming C functions compiled with -gc3 is from 10% to 50% faster. The side effect of generating pure machine code is also harder recompilation but it does not mean that is impossible. If something can be executed by some machines (virtual or hardware) then it can always be decompiled by definition. This modification opens door for farther optimization, e.g. when we will have fully working strong type support then we can add using native .c types. In fact this module is PCODE to .c translater not part of compiler and can be used as separate module to translate generated PCODE, e.g. .hrb files. Maybe in the future we will change the compiler to generate meta code not directly PCODE and it will be possible to make optimizations on this meta code which will depend on selected output type: VHM PCODE, C code, .NET code, etc. but at this moment adding support for .c compilation directly into compiler will make the compiler code too much complicated for me - IMHO it's better to invest time into clear separation to FRONT_END->REAL_COMPILER->BACK_END Please make test with your code. I rebuild whole Harbour code with -gc3 set in HB_FLAGS in harbour/config/rules.cf and all seems to work correctly. hbtest returns exactly the same results. I also made tests with my programs and they work correctly but I had to define actions for all PCODEs and it's possible that made some typos in some of them which are very seldom used so your tests will be very important. 2006-03-19 03:43 UTC+0100 Jacek Kubica (kubica/at/wssk.wroc.pl) * harbour/makefile.bc * harbour/makefile.nt * harbour/makefile.vc * harbour/makefile64.nt + added references for harbour/source/rtl/gtwvt GT driver. * harbour/makefile.vc - removed references to harbour/source/rtl/gtwin/mouseobj 2006-03-16 09:00 UTC+0100 Jacek Kubica (kubica/at/wssk.wroc.pl) * harbour/makefile.bc * harbour/makefile.nt * harbour/makefile.vc * harbour/makefile64.nt - removed entry for harbour/source/lang/msgen.c file. 2006-03-16 05:35 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/lang/Makefile - harbour/source/lang/msgen.c * harbour/source/rtl/langapi.c * moved EN lang definitions to core lang code so we always have at least one lang module defined at sartup. Modified after common group agreement - no one was against, thanks to all for answers. Please update non GNU make files and remove harbour/source/lang/msgen.c file. * harbour/source/rtl/cdpapi.c * replaced CDP startup initialization with simple assignment * harbour/source/rtl/gtpca/gtpca.c * added #include <sys/time.h> for *nix platforms 2006-03-13 23:15 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/hbgtcore.c * respect pure REQUEST HB_GT_NUL as user GT choice if only GTNUL is linked * harbour/source/rtl/errorint.c ! fixed GPF when no lang module is register - I'll wait a while for other people opinion and if no one will give good reason against then I'll make EN language definition default part of langapi.c what will resolve the problem of valid error description when no language module is linked. 2006-03-13 19:20 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/ChangeLog * fixed description in last commit. Should be HB_GTSYS() not GTSYS() * harbour/include/hbapi.h * fixed hb_retl() macro by adding missing parenthesis * harbour/source/compiler/harbour.c * removed unnecessary initialization to avoid BCC warning * harbour/source/rtl/console.c * harbour/source/rtl/hbgtcore.c * do not call hb_gtOutStd()/hb_gtOutErr() when given string has 0 length - it may cause unpredictable results in low-level hb_fsWrite() when trunc operation will be activated for non real file handles in some systems * harbour/source/rtl/errorint.c * increased the error message buffer * harbour/source/rtl/inkey.c * fixed typo in comment * harbour/source/rtl/gtcrs/gtcrs.c * formatting 2006-03-13 11:40 UTC+0100 Ryszard Glab <rglab//imid.med.pl> * source/compiler/cmdcheck.c * source/pp/pragma.c * fixed to force max recurse preprocessor passed bigger then 0 * source/pp/ppcore.c * suppressed memory access error in getExpReal + added missing '.' in valid match markers (ConvertOptional) 2006-03-12 23:15 UTC+0100 Francesco Saverio Giudice <info/at/fsgiudice.com> * contrib/gd/make_b32.bat * contrib/gd/makefile.bc * fixed BCC compilation 2006-03-11 09:45 UTC+0100 Ryszard Glab <rglab//imid.med.pl> * source/pp/ppcomp.c * source/pp/ppcore.c * source/rtl/gtcrs/gtcrs.c * fixed to suppress warning messages in some compilers 2006-03-10 21:15 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/config/rules.cf * harbour/config/bsd/gcc.cf * harbour/config/darwin/gcc.cf * harbour/config/dos/bcc16.cf * harbour/config/dos/djgpp.cf * harbour/config/dos/owatcom.cf * harbour/config/dos/rsx32.cf * harbour/config/dos/watcom.cf * harbour/config/linux/gcc.cf * harbour/config/os2/gcc.cf * harbour/config/os2/icc.cf * harbour/config/sunos/gcc.cf * harbour/config/w32/bcc32.cf * harbour/config/w32/gcc.cf * harbour/config/w32/global.cf * harbour/config/w32/icc.cf * harbour/config/w32/mingw32.cf * harbour/config/w32/msvc.cf * harbour/config/w32/rsxnt.cf * harbour/config/w32/watcom.cf * use F macro extension to extract file name from given macros. It simplified some rules and allow to use vpath and differ file locations in GNU Makefiles * moved the BCC16 excpetion for C_RULE from global rules.cf to DOS bcc16.cf file * use mainstd library in MinGW build * harbour/include/hbapi.h + added two new functions: hb_winmainArgInit() and hb_winmainArgGet() to set/retrieve WinMain() parameters. + added hb_strMatchWildExact() * harbour/source/pp/ppcore.c * initialized variable to avoid compiler warning * harbour/source/rtl/console.c * cleaned comment * harbour/source/rtl/hbffind.c ! Fixed invalid handle error in Windows when file() fails (fix borrowed from xHarbour) * harbour/source/rtl/strmatch.c + added hb_strMatchWildExact() + added 3rd parameter <lExact> to WildMatch() - when it's TRUE WildMatch() will check if given pattern cover the whole string. Without it it check if pattern is valid prefix only. * harbour/source/rtl/gtcrs/gtcrs.c * harbour/source/rtl/gtcrs/gtcrs.h * harbour/source/rtl/gtsln/mousesln.c * do not call Gpm_GetSnapshot() to avoid stupid message on stderr generated from GPM library - I lost the the hope that it will be fixed ;-) * harbour/source/rtl/gtpca/gtpca.c * use select() in *nixes for cursor position terminal feedback. * harbour/source/rtl/gtwin/gtwin.c * try to always allocate console when compiled without HB_NO_ALLOC_CONSOLE. It allow to use GTWIN also in real windows programs. + harbour/source/rtl/gtwvt/Makefile + harbour/source/rtl/gtwvt/gtwvt.c + harbour/source/rtl/gtwvt/gtwvt.h + added new GT driver GTWVT - the core of this driver it's Peter Ress work in xHarbour. In Harbour GTWVT contains only pure GT code without local to GTWVT xHarbour extensions and GTWVT contrib libraries. This extensions can be added but later but I want to keep them separated from the core GTWVT code and add them as upper level GT which can inherit from GTWVT. Just like I've implemented CTWIN. Please update non GNU make files and test this GT in Windows. The programs which want to use GTWVT should be compiled as standard Windows GUI programs. GTWVT replaces window console code. if you add to your code: proc HB_GTSYS() request HB_GT_WIN request HB_GT_WVT return then the final binaries will be linked with both GT drivers and you can switch between them using //gt[:]<name> switch. E.g.: ./my_prog //gtwin or ./my_prog //gtwvt this feature works in all platforms. People who works in shell environment (*nixes, MSYS, DJGPP) and use hb* scripts does not have to use HB_GTSYS() in source code but can simply use -gt<name> switch in hblnk and hbmk. * harbour/source/rtl/gtxwc/gtxwc.c * some minor cleanups and code formatting * harbour/source/vm/Makefile + harbour/source/vm/mainstd/Makefile * moved mainstd.c to separate mainstd library for MinGW32 build. Unfortunately MinGW always link main() function if it locate it in libraries and ignores WinMain() what effectively makes impossible to create Windows GUI programs if we have main() in VM library. People who are using MinGW and wants to create only pure console programs should now include mainstd library to linked library list. * harbour/source/vm/cmdarg.c * harbour/source/vm/mainwin.c + added two new functions: hb_winmainArgInit() and hb_winmainArgGet() to set/retrieve WinMain() parameters. 2006-03-10 12:20 UTC+0100 Ryszard Glab <rglab//imid.med.pl> * include/hbpp.h + added 'extern' declaration * source/compiler/hbusage.c + added short usage info abour /r= switch * doc/pragma.txt * doc/en/compiler.txt + added documentation about new pragmas and new /r= switch 2006-03-10 10:20 UTC+0100 Ryszard Glab <rglab//imid.med.pl> * source/pp/ppcomp.c *fixed compilation for Borland C * source/pp/ppcore.c +added missing '{' in valid match markers (ConvertOptional) * tests/Makefile + tests/pretest.prg + added the file to show '#pragma __stream' and '#pragma __cstream' 2006-03-09 16:30 UTC+0100 Ryszard Glab <rglab//imid.med.pl> * include/hbapi.h * include/hbexpra.c * include/hbexprb.c * include/hbexprop.h * modified to support strings with embeded LF/CR characters * source/common/hbstr.c * source/rtl/strings.c * added hb_strRemEscSeq() function that removes C-like Esc sequences (\n \t \r \b currently) * source/compiler/cmdcheck.c * added new command line switch -r=<max_recursive_preprocessor_passes> with defaults equal to -r=1024 * include/hbpp.h * source/compiler/harbour.l * source/compiler/harbour.y * source/macro/macro.y * source/pp/ppcomp.c * source/pp/ppcore.c * source/pp/pplib.c * source/pp/pptable.c * source/pp/pragma.c * fixed compilation of #command ( => (,7 (loops in #define or #command are trapped now) * fixed compilation of \[ and \] in command/translate * modified TEXT/ENDTEXT to use '#pragma __text' + added #pragma __stream and #pragma __cstream (examples later) 2006-03-08 3:31 UTC-0500 David Arturo Macias Corona <dmacias@mail.udg.mx> - harbour/source/codepage/cdpsl437.c - harbour/source/codepage/cdpsl852.c - harbour/source/codepage/cdpslwin.c - harbour/source/codepage/cdpsliso.c - Removed these four files. 2006-03-06 12:00 UTC+0100 Mitja Podgornik <Yamamoto@rocketmail.com> David Macias: Source code provided by Mitja Podgornik * harbour/contrib/mysql/mysql.ch + added MYSQL_DECIMAL_TYPE for MySQL versions 5.0 and above * harbour/contrib/mysql/mysql.c * harbour/contrib/mysql/tmysql.prg + added functions sql_commit(), sql_rollback()(CLASS TMySQLServer) to support transactions with InnoDB table types + added function sql_version() (CLASS TMySQLServer) returns 5 digit numeric version of MySQL server * harbour/source/codepage/cdpsl437.c * harbour/source/codepage/cdpsl852.c * harbour/source/codepage/cdpslwin.c * harbour/source/codepage/cdpsliso.c + Update startup code to work with MSC 2006-03-02 18:00 UTC+0100 Ryszard Glab <rglab//imid.med.pl> * source/compiler/harbour.l * source/pp/ppcomp.c * source/pp/ppcore.c * source/pp/pptable.c * fixed compilation of included files in cases when the file ends with ';' (with no LF or CR) * fixed translation of nested command/translate * fixed translation of TEXT/ENDTEXT to be more Clipper compatible +added new hidden preprocessor directive __text|ParseBlockCode|EndBlockCode|StartBlockCode currently TEXT is preprocessed using: #command TEXT => __text|Qout(%s)|QQOut() #command TEXT TO FILE <f> => ; __text|Qout(%s)|__TextRestore()|__TextSave(<f>) ParseBlockCode is called for every line beetwen TEXT/ENDTEXT, %s is replaced with the text enclosed with [] 2006-03-02 01:10 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/pp/ppcore.c * fixed yest another problem with PP which caused GPF on minigui compilation 2006-03-01 21:15 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/dbinfo.ch * harbour/source/rdd/workarea.c * added DBI_SCOPEDRELATION action. It alow to test if given relation on current work area sets scope on child index. E.g.: dbInfo( DBI_SCOPEDRELATION, 1 ) 2006-03-01 20:40 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapicdp.h * harbour/source/rtl/cdpapi.c * added optional BOOL parameter to functions which translate to UTF8 to not translate control code characters * harbour/source/rtl/gtsln/gtsln.c * harbour/source/rtl/gtxwc/gtxwc.c * update for new parameter in UTF8 functions 2006-03-01 16:40 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/cdpapi.c * harbour/source/rtl/gtxwc/gtxwc.c ! fixed UTF8 trnalsations 2006-03-01 14:30 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/htmllib/default.ch * fixed few wrong definitions - Ryszard, the definitions where wrong but Clipper PP seems to parse them. * harbour/contrib/rdd_ads/ads1.c * call AdsFlushFileBuffers() only when _SET_HARDCOMMIT is set (default) * harbour/include/Makefile + harbour/include/hbgfx.ch + harbour/include/hbgfxdef.ch + added hbgfx.ch, hbgfxdef.ch and missing tbrowse.ch * harbour/include/hbapigt.h * harbour/include/hbgtcore.h * harbour/source/rtl/gtapi.c * harbour/source/rtl/hbgtcore.c + added hb_gtGfxPrimitive(), hb_gtGfxText() - it's a work in progress now this functions works like in xHarbour allow to draw graphic objects in GTs which can do that (GTALLEG, GTXWC) but I plan to introduce some modifications in them. + harbour/tests/gfx.prg + added test program by Mauricio Abre (borrowed from xHarbour) which illustrates GFX usage * harbour/include/hbdefs.h * harbour/source/compiler/genc.c * harbour/source/compiler/harbour.c * harbour/source/vm/hvm.c * minor modification in some harbour func name and symbol scope definitions - I'd like to keep them in one place for easier manipulations in the future * harbour/source/compiler/harbour.y * harbour/source/pp/ppcore.c * harbour/source/pp/pplib.c * harbour/utils/hbpp/hbpp.c * clean a little bit recent modification it should resolve the problem with GPFs reported by users and some possible memory leaks when preprocessing/compilation process is interrupted. Ryszard I decided to always store copy of file name in open files structure - it can be used by compiler, preprocessor, PPLIB and HBPP and IMHO in all cases it should have valid and always initialized in the same way members for easier manipulation. In the future I'd like to clean the whole PP usage. I will need to keep all compiler and PP static variables in one structure pointed by pointer in thread local data or passed to called functions for MT support. * harbour/source/rtl/cdpapi.c * set 0 at the end of destination string in hb_cdpStrnToUTF8() * harbour/source/rtl/dateshb.c ! fixed possible GPF in CTOD when badly formated date is given * harbour/source/rtl/gtxwc/gtxwc.c * harbour/source/rtl/gtxwc/gtxwc.h * changed the selection code - now both PRIMARY and CLIPBOARD selections are set by Harbour. It should work with any programs which uses any of them but I'd like to remove one of this selections or give user a way to chose the preferred one. I can also add support for automatic setting/clearing/pasting PRIMARY selection by GTXWC with mouse and shift key. I'm waiting for opinions. + added basic support for GFX operations + harbour/source/rtl/gtalleg/Makefile + harbour/source/rtl/gtalleg/fixedth.sfc + harbour/source/rtl/gtalleg/gtalleg.c + harbour/source/rtl/gtalleg/ssf.c + harbour/source/rtl/gtalleg/ssf.h + added new GT by Mauricio Abre based on Allegro cross platform graphic libraries. Code borrowed from xHarbour and modified by my for new Harbour GT API. 2006-02-28 17:00 UTC+0100 Ryszard Glab <rglab//imid.med.pl> * include/hbpp.h * source/pp/ppcore.c * source/pp/pptable.c * fixed handling of optional clauses in command/translate e.g. #command PRINT TO <oPage> => [<oPage>:=]PrintPage() * fixed <-x-> match marker * added fixed length of command/translate/define name to speed translation * source/compiler/harbour.l * fixed GPF in handling of '¯o.tekst' syntax (introduced recently) 2006-02-22 21:25 UTC-0400 Alejandro de Garate <alex_degarate@hotmail.com> * harbour/.cvsignore restored to previous 1.9 revision 2006-02-22 15:48 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/compiler/harbour.c * harbour/source/rtl/gtdos/gtdos.c * fixed casting and typos for DOS OpenWatcom compilation 2006-02-21 23:20 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/hb-func.sh * added support for -L<librarypath> in xhbmk * set the highest priority to user libraries specified by -l<libname> linker option * harbour/include/hbapicdp.h * harbour/source/rtl/cdpapi.c * added UTF8 related functions: hb_cdpUTF8StringLength(), hb_cdpStringInUTF8Length(), hb_cdpUTF8ToStrn(). * Changed name of hb_cdpStrnToUTF() function to hb_cdpStrnToUTF8() to avoid confusions with UTF16 * harbour/include/hberrors.h * harbour/source/compiler/hbgenerr.c * harbour/source/compiler/harbour.c + added to new errors (memory corruption and memory overflow) for compiler level FM statistic. * harbour/source/compiler/hbfix.c ! fixed stupid typo in copy and past which broke conditional jump reduction * harbour/include/hbgtcore.h * harbour/source/rtl/hbgtcore.c * harbour/include/hbgtinfo.ch * harbour/source/rtl/gtdos/gtdos.c * harbour/source/rtl/gtos2/gtos2.c * harbour/source/rtl/gtwin/gtwin.c * added new method to change screen buffer state (hot/cold/scroll) and use them in some GTs. * harbour/source/rtl/gx.c * use screen dimensions as default values for SETMODE() not maxrow()/ maxcol() * harbour/source/rtl/gtxwc/gtxwc.c * harbour/source/rtl/gtxwc/gtxwc.h * added support for clipboard * added support for cursor shape - like in DOS/VGA * harbour/source/rdd/workarea.c * harbour/source/rdd/dbffpt/dbffpt1.c * cleaned some redundant extern declarations * harbour/contrib/rdd_ads/ads1.c * harbour/contrib/rdd_ads/adsfunc.c * removed some unnecessary #include ... * harbour/source/rtl/str.c * harbour/source/rtl/transfrm.c * harbour/source/vm/itemapi.c ! fixed some small incompatibilities with Clipper in number to string conversions 2006-02-17 10:10 UTC+0100 Ryszard Glab <rglab//imid.med.pl> * include/hbcomp.h * source/compiler/Makefile * source/compiler/cmdcheck.c * source/compiler/harbour.c * source/compiler/harbour.y * source/compiler/hbident.c * even more fixes to memory leaks in the compiler (all compiler structures are deallocated on exit now, really :) 2006-02-16 14:40 UTC+0100 Ryszard Glab <rglab//imid.med.pl> * include/hbcomp.h * include/hbexpra.c * source/compiler/Makefile * source/compiler/expropta.c * source/compiler/genc.c * source/compiler/harbour.c * source/compiler/harbour.y * source/compiler/hbgenerr.c * all compiler structures are deallocated on exit now 2006-02-15 20:24 UTC+0100 Viktor Szakats * harbour/hrbdll.bc * harbour/hrbdll.vc * harbour/makefile.bc * harbour/makefile.nt * harbour/makefile.vc * harbour/makefile64.nt * harbour/source/codepage/Makefile + harbour/source/codepage/cp_tpl.c + harbour/source/codepage/cpbg866.c + harbour/source/codepage/cpbgiso.c + harbour/source/codepage/cpbgwin.c + harbour/source/codepage/cpeldos.c + harbour/source/codepage/cpelwin.c + harbour/source/codepage/cpesdos.c + harbour/source/codepage/cpesmwi.c + harbour/source/codepage/cpeswin.c + harbour/source/codepage/cpgedos.c + harbour/source/codepage/cpgewin.c + harbour/source/codepage/cphu852.c + harbour/source/codepage/cphuiso.c + harbour/source/codepage/cphuwin.c + harbour/source/codepage/cppl852.c + harbour/source/codepage/cppliso.c + harbour/source/codepage/cpplmaz.c + harbour/source/codepage/cpplwin.c + harbour/source/codepage/cppt850.c + harbour/source/codepage/cpptiso.c + harbour/source/codepage/cpru866.c + harbour/source/codepage/cprukoi.c + harbour/source/codepage/cpruwin.c + harbour/source/codepage/cpsl437.c + harbour/source/codepage/cpsl852.c + harbour/source/codepage/cpsliso.c + harbour/source/codepage/cpslwin.c + harbour/source/codepage/cpsrwin.c - harbour/source/codepage/cdp_tpl.c - harbour/source/codepage/cdpbg866.c - harbour/source/codepage/cdpbgiso.c - harbour/source/codepage/cdpbgwin.c - harbour/source/codepage/cdpeldos.c - harbour/source/codepage/cdpelwin.c - harbour/source/codepage/cdpesdos.c - harbour/source/codepage/cdpesmwi.c - harbour/source/codepage/cdpeswin.c - harbour/source/codepage/cdpgedos.c - harbour/source/codepage/cdpgewin.c - harbour/source/codepage/cdphu852.c - harbour/source/codepage/cdphuiso.c - harbour/source/codepage/cdphuwin.c - harbour/source/codepage/cdppl852.c - harbour/source/codepage/cdppliso.c - harbour/source/codepage/cdpplmaz.c - harbour/source/codepage/cdpplwin.c - harbour/source/codepage/cdppt850.c - harbour/source/codepage/cdpptiso.c - harbour/source/codepage/cdpru866.c - harbour/source/codepage/cdprukoi.c - harbour/source/codepage/cdpruwin.c - harbour/source/codepage/cdpsl437.c - harbour/source/codepage/cdpsl852.c - harbour/source/codepage/cdpsliso.c - harbour/source/codepage/cdpslwin.c - harbour/source/codepage/cdpsrwin.c * Renamed codepage files (cdp*.c -> cd*.c) * Updated init code for all remaining codepages. 2006-02-15 13:50 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/hvm.c ! fixed memory leak I introduced changing Ryszard modifications * harbour/ChangeLog + harbour/ChangeLog.015 * new ChangeLog file created * harbour/harbour.spec * harbour/bin/hb-func.sh * some modification in xhb* scripts building - adding passing predefined compiler and linker switches 2006-02-15 11:15 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/compiler/harbour.c * do not line striping optimization when -l compiler switch (suppress line number information) is set - in such case it's only waste of time * harbour/include/hbapifs.h * harbour/source/common/hbfsapi.c * harbour/source/compiler/cmdcheck.c * harbour/source/pp/pplib.c * harbour/source/rtl/filesys.c * harbour/source/rtl/set.c * cleaned the usage of hb_fsAddSearchPath()/hb_fsFreeSearchPath() It fixes few possible memory leaks and GPF traps. 2006-02-14 18:15 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/compiler/harbour.c * enabled FM statistic by default when compiled without: -DHB_FM_STATISTICS_OFF after last Ryszard modification there is no memory leak in valid .prg code so this may help us to find some unknown problems. * harbour/include/hbcomp.h * harbour/source/compiler/hbpcode.c * formatting * harbour/source/rdd/dbcmd.c * fixed GPF in DBF2TEXT when work are is not in use. * harbour/source/rdd/dbfntx/dbfntx1.c * disabled validation of unused index pages - Clipper left them dirty so xHarbour reported that index is corrupted * harbour/source/rtl/dbdelim.prg * generate 2001 RT error when work area is not in used() state before export file is created. * harbour/source/rtl/errorapi.c * set DOSERROR() to oError:OSCODE when RT error is generated It's documented Clipper behavior. * harbour/source/vm/hvm.c * some fixes in new operators and removed unnecessary long->double->long conventions 2006-02-14 16:10 UTC+0100 Ryszard Glab <rglab@imid.med.pl> * include/hbapiitm.h * include/hbexpra.c * include/hbexprc.c * include/hbexprop.h * source/compiler/expropta.c * source/compiler/exproptb.c * source/compiler/exproptc.c * source/macro/macroa.c * source/macro/macrob.c * source/macro/macroc.c * source/vm/hvm.c * source/vm/itemapi.c * fixed code for adding date and numeric values (introduced in my last commits) * removed hb_itemPutBHLong (use hb_itemPutNInt instead) * added more optimization for localvar+=integer using HB_P_LOCALNEARADDINT pcode (borrowed from xHarbour) 2006-02-14 14:40 UTC+0100 Ryszard Glab <rglab@imid.med.pl> * include/hbexprc.c * source/compiler/exproptc.c * source/macro/macroc.c * disabled optimalization of compound assignment in macro compiler 2006-02-14 13:40 UTC+0100 Ryszard Glab <rglab@imid.med.pl> * include/hbexprc.c * source/compiler/exproptc.c * source/macro/macroc.c * disabled optimalization of compound assignment for fields 2006-02-14 11:40 UTC+0100 Ryszard Glab <rglab@imid.med.pl> * include/hbapiitm.h * include/hbcomp.h * include/hbexpra.c * include/hbexprb.c * include/hbexprc.c * include/hbexprop.h * include/hbpcode.h * source/common/expropt1.c * source/common/hbfsapi.c * source/compiler/expropta.c * source/compiler/exproptb.c * source/compiler/exproptc.c * source/compiler/genc.c * source/compiler/harbour.c * source/compiler/harbour.l * source/compiler/harbour.y * source/compiler/hbdead.c * source/compiler/hbfix.c * source/compiler/hbpcode.c * source/compiler/hbstripl.c * source/macro/macro.y * source/macro/macroa.c * source/macro/macrob.c * source/macro/macroc.c * source/pp/ppcore.c * source/vm/hvm.c * source/vm/itemapi.c * fixed many more memory leaks in the compiler (the Harbour code compiles itself with no memory leaks). However there are still leaks when the compiler aborts compilation due to errors. + added optimalization of '+=' '-=' '*=' '/=' operators + added hb_itemGetNDDec(), hb_itemPutHBLong(), hb_itemPutNumType() borrowed from xHarbour NOTE: new pcodes: HB_[PLUS|MINUS|MULT|DIV]EQ HB_[PLUS|MINUS|MULT|DIV]EQPOP recompile all sources. 2006-02-12 14:33 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapi.h * harbour/include/hbdefs.h * cleaned BOOL usage * harbour/include/hbcomp.h * harbour/include/hbpp.h * harbour/source/compiler/harbour.l * harbour/source/compiler/harbour.sly * harbour/source/compiler/harbour.y * harbour/source/pp/ppcomp.c * harbour/source/pp/ppcore.c * harbour/source/pp/pplib.c * harbour/source/pp/pragma.c * keep functions and public variables definitions in header files. Do not use any extern ... in source code to aviod possible mistakes ! fixed some mistakes in BOOL/int declarations * use hb_fsFreeSearchPath() to free allocated path list * harbour/source/compiler/harbour.c * keep functions and public variables definitions in header files. + added memory statistic module - it's disabled now because too much errors is reported. Ryszard I hope it will help in locating memory leaks in compiler. * begun of cleaning static variables to make compiler code ready for reentrance. * harbour/source/rtl/gtstd/gtstd.c ! fixed cursor positioning * harbour/config/os2/gcc.cf + added socket library + harbour/tests/ctwtest.prg + added CTWIN test program + harbour/contrib/dot/Makefile + added GNU Makefile 2006-02-12 11:15 UTC+0100 Antonio Linares <alinares@fivetechsoft.com> * harbour/include/hbdefs.h * minor fix to avoid conflict with Darwin and Cocoa BOOL use 2006-02-11 16:02 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/compiler/harbour.c * do not strip redundant line information when compiled for debug (-b) * harbour/source/compiler/harbour.y ! fixed typo in hb_compSequenceFinish() call - Ryszard please check me. using iNumber instead of lNumber caused that on big endian machines begin sequence / endsequence block was stripped * harbour/source/compiler/hbdead.c ! fixed stupid typo in counting length of debug variable/module names 2006-02-11 13:32 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/Makefile * added missing header files * harbour/source/compiler/harbour.c * added support for @filelst[.clp] - partially borrowed from xHarbour It's not exactly the same as in Clipper because Clipper creates one final file when [x]Harbour series of files. To make it like in Clipper we will have to add support from more then one symbol table in the final file. It will be also useful for proper implementation of: DO <file> Now in [x]Harbour it works like #include <file>.prg when in Clipper also new symbol table is created for included files. The difference can be easy sync when current file has static functions with exactly the same names as the one included by DO - compilation fails. * add HB_P_ENDBLOCK to PCODE with codeblock body before run any optimization - it fixes pcode tracing in jump optimization and also allow to make some validation of generated PCODE * harbour/source/rdd/dbstrux.prg * harbour/source/rdd/dbtotal.prg * removed not longer necessary temporary alias creation. Harbour support empty aliases ("") like Clipper. * harbour/source/rdd/dbffpt/dbffpt1.c * harbour/source/rtl/hbgtcore.c * casting * harbour/source/rtl/gtos2/gtos2.c ! fixed hb_gt_os2_GetScreenContents() 2006-02-11 12:40 UTC+0100 Ryszard Glab <rglab@imid.med.pl> * source/compiler/harbour.c * source/compiler/harbour.y * source/pp/ppcore.c * added tracing code * fixed one more memory leak 2006-02-09 15:25 UTC+0100 Ryszard Glab <rglab@imid.med.pl> * source/compiler/harbour.c * fixed to release memory allocated with the proeprocessor * tests/mousetst.prg * minor fix after latest Przemek changes * source/pp/ppcore.c * fixed bug in processing the list of optional repeatable code reported by Lorenzo 2006-02-09 12:52 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/bld.cmd + added -ldbffpt, -lhbsix, -lhsx libraries for GCC OS2 linking * harbour/config/os2/gcc.cf * harbour/contrib/libct/files.c + some cleanups for OS2 - please check me. * harbour/source/rtl/gtos2/gtos2.c + implemented hb_gt_os2_GetScreenContents() - please check me * harbour/include/Makefile + added missing hbfixdj.h * harbour/source/rtl/gtdos/gtdos.c ! for screen synchronization after PostExt() 2006-02-09 03:08 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/gtapi.c * minor modifications for GTs which may no flush data in PreExt() * harbour/source/rtl/gtwin/gtwin.c ! fixed Init() code by adding missing SUPER_INIT() * modified a little bit PreExt() and PostExt() methods 2006-02-08 20:23 UTC+0100 Antonio Linares <alinares@fivetechsoft.com> * makefile.nt * makefile64.nt * updated with recent changes 2006-02-08 18:02 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/gtwin/gtwin.c + added PreExt() and PostExt() methods 2006-02-08 15:17 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rdd/dbcmd.c ! warning I introduced in last commit cleanup 2006-02-08 14:05 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/gtdos/gtdos.c * updated copyright message with authors from removed mousedos.c * harbour/include/hbgtcore.h * harbour/source/rtl/hbgtcore.c * harbour/source/compiler/harbour.c ! fixed BOLL / int typos * harbour/source/vm/eval.c * minor modification * harbour/source/rdd/dbf1.c * enable 'Y' (currency) fields - translated to HB_IT_DOUBLE * harbour/source/rdd/dbcmd.c ! fixed some wrong behavior in SORT parameters setting in __dbArrange() * harbour/source/rdd/dbsort.prg ! removed hack with COPY TO ... when lastrec()==1 which introduced new bugs * harbour/source/rdd/hbdbsort.c ! fixed sort output when only one record is sorted There are still some problems with sort like sorting numeric fields as ASCII strings or using strcmp what will not work with binary fields but all all this code should be rewritten due to unacceptable performance so I left it as is to some spare time in the future. * harbour/source/rtl/gtwin/gtwin.c ! save cursor position at startup * harbour/source/rtl/net.c * harbour/source/rtl/gtos2/gtos2.c * harbour/contrib/hgf/os2pm/os2pm.c * some warnings cleaned and updates for new API in OS2 build 2006-02-07 20:03 UTC+0100 Antonio Linares <alinares@fivetechsoft.com> * source/vm/mainwin.c * minor fix 2006-02-07 18:20 UTC+0100 Viktor Szakats * source/vm/mainwin.c ! Fixed previous commit. 2006-02-07 12:20 UTC+0100 Viktor Szakats * makefile.bc + Updated for latest changes. * bin/bld.bat + Added codepage lib. * source/codepage/cdpbg866.c * source/codepage/cdpbgiso.c * source/codepage/cdpbgwin.c + Added two missing chars to BG alphabet. * source/vm/arrays.c * source/vm/mainwin.c * source/rtl/hbgtcore.c * include/hbapigt.h * source/rtl/gtpca/gtpca.c * source/rtl/gtstd/gtstd.c ! Fixed recent compiler warnings. 2006-02-05 09:47 UTC+0200 Chen Kedem <niki@synel.co.il> * source/rtl/gtos2/gtos2.c * Restore my copyright notice for functions used to be in mouseos2.c 2006-02-04 17:05 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/harbour.spec * harbour/make_bsd.sh * harbour/make_drw.sh * harbour/make_gnu.sh * harbour/make_rpm.sh * harbour/make_tgz.sh * harbour/bin/hb-func.sh * harbour/bin/pack_src.sh * harbour/config/c.cf * harbour/config/global.cf * harbour/config/rules.cf * harbour/config/darwin/gcc.cf * harbour/config/darwin/global.cf * harbour/config/dos/djgpp.cf * harbour/config/dos/global.cf * harbour/config/dos/install.cf * harbour/config/dos/owatcom.cf * harbour/config/hpux/gcc.cf * harbour/config/hpux/global.cf * harbour/config/linux/gcc.cf * harbour/config/linux/global.cf * harbour/config/linux/owatcom.cf * harbour/config/sunos/gcc.cf * harbour/config/w32/watcom.cf * include ADSRDD by default in RPMs * updated for new RPM which does not accept some old tags * set -fPIC on 64-bit platforms + added /etc/harbour/hb-charmap.def * updated for new GT system and drivers * harbour/contrib/dot/pp.prg * harbour/contrib/dot/pp_harb.ch * use _APMAIN as startup function * cleaned direct access to item internals * harbour/contrib/libct/Makefile + harbour/contrib/libct/ctwfunc.c + harbour/contrib/libct/ctwin.c + harbour/contrib/libct/ctwin.h * added CT3 like Window System - it's a GT driver which inherits from the existing one and adds CTW functionality * harbour/contrib/libct/screen1.c * updated for GTAPI modifications * harbour/contrib/libnf/Makefile * harbour/contrib/libnf/chdir.c * harbour/contrib/libnf/mkdir.c * harbour/contrib/libnf/rmdir.c * use hb_fs*() API functions instead of calling DOS interrupts Now NF dir functions works on all platforms - it will be nice to update other functions too. * harbour/contrib/libnf/dispc.c * harbour/contrib/libnf/ftattr.c * updated for GT API modifications, some of this code still depends on EGA/VGA video buffer so will work only if user will force in GT using it - it will be nice to rewrite them * harbour/contrib/odbc/odbc.c * harbour/contrib/ole/ole2.c * casting and cleaning direct access to item internals * harbour/contrib/rdd_ads/ads1.c * harbour/contrib/rdd_ads/adsfunc.c * harbour/contrib/rdd_ads/adsmgmnt.c * synced with xHarbour * harbour/include/Makefile * added new header files + harbour/include/hbgtinfo.ch + added GTI_* defintions for hb_gtInfo() function. This function works in similar way to dbInfo() in RDD. The GTI_* definitions are taken from xHarbour "as is" and they should be cleaned - not all functionality are supported in Harbour and some others should be implemented in differ way then in xHarbour. + harbour/include/hbgtcore.h * harbour/include/hbapigt.h * new GTAPI hbgtcore.h file should not be included by user code it's only for internal use in GT drivers * HB_inkey_enum changed to int - this is bit field not enumerated type. Many of C/C++ compilers forbid bit operations on enum types and forcing it by casting which finally exceeds the enum range is defined as bug because it may badly interacts with some compiler optimizations * harbour/include/hbapi.h * harbour/include/hbapicdp.h * harbour/include/hbapierr.h * harbour/include/hbapifs.h * harbour/include/hbapiitm.h * harbour/include/hbapilng.h * harbour/include/hbapirdd.h * harbour/include/hbdate.h * harbour/include/hbdefs.h * harbour/include/hbinit.h * harbour/include/hbpcode.h * harbour/include/hbrdddbf.h * harbour/include/hbset.h * harbour/include/hbstack.h * harbour/include/hbvm.h * harbour/include/hbvmopt.h * harbour/include/hbvmpub.h * separated internal and external API. Now the definitions for internal HVM structures and functions are excluded by default they could be enabled if user include hbvmopt.h before other header files. Such operation should be done _ONLY_ by core code - if 3rd party developers make something like that then it's for their own risk and such code may stop to work with next Harbour versions. Without hbvmopt.h the internal structures like HB_ITEM, HB_DYNS, ... are mapped to 'void' so there is no way to access their members so we can modify them in the future without afford for 3rd party code. There is one small exception 'type' should be the first member for HB_ITEM structure because I used a small ugly hack in HB_IS_*() macros with castin PHB_ITEM to HB_TYPE* - it works without speed overhead but if you think that it will be better/cleaner to not use such tricks then it's enough to change HB_ITEM_TYPE() definitions in hbvmpub.h - see note. * cleared the usage of HB_EXPORT - to avoid problems with some C/C++ compilers we agreed that the only one common way of using HB_EXPORT is adding it ad begining of declaration - please keep this convention in the future. + added new functions: hb_extIsObject(), hb_codeblockId(), hb_idleSleep(), hb_fsGetOsHandle(), hb_dynsymFindSymbol(), hb_dynsymGetSymbol(), hb_dynsymSymbol(), hb_dynsymName(), hb_dynsymMemvarHandle(), hb_dynsymAreaHandle(), hb_dynsymSetAreaHandle() * changed hb_arrayClone() declaration to: PHB_ITEM hb_arrayClone( PHB_ITEM pArray ) * changed hb_arrayFromParams() declaration to: PHB_ITEM hb_arrayFromParams( int iLevel ) The previous version needed a pointer to stack relocatable area so any stack resizing could cause GPF. * harbour/include/inkey.ch * added definitions for extended mouse keys/events and some key combinations * harbour/source/codepage/uc1250.c * harbour/source/codepage/uc1251.c * harbour/source/codepage/uc1253.c * harbour/source/codepage/uc1257.c * harbour/source/codepage/uc737.c * harbour/source/codepage/uc850.c * harbour/source/codepage/uc852.c * harbour/source/codepage/uc866.c * harbour/source/codepage/uc88591b.c * harbour/source/codepage/uc8859_1.c * harbour/source/codepage/uc8859_2.c * harbour/source/codepage/uc8859_5.c * harbour/source/codepage/uckoi8.c * harbour/source/codepage/uckoi8u.c * harbour/source/codepage/ucmaz.c * updated unicode values for characters in rabge 1-31 to keep DOS compatibility * harbour/source/common/expropt1.c * harbour/source/common/hbarch.c * harbour/source/common/hbdate.c * harbour/source/common/hbstr.c * harbour/source/common/hbver.c * keep HB_EXPORT at the beginning of function declaration * harbour/include/hbpcode.h * harbour/include/hbcomp.h * harbour/source/compiler/harbour.c * harbour/source/compiler/harbour.y * harbour/source/compiler/hbfix.c + harbour/source/compiler/hbdead.c * harbour/source/compiler/hbpcode.c + harbour/source/compiler/hbstripl.c % rewritten jump optimization ! fixed some minor problems * do not optimize jumps and local variable access by shorter PCODE version and HB_P_NOOP when jump optimization is disabled, this is a note I left in source code in few places: /* * optimizing jumps here by shorting them and setting HB_P_NOOPs * only slow down the compilation process for three reasons: * 1. When it's dummy jump to next instruction we need two passes * in hb_compOptimizeJumps() to fully remove it * 2. hb_compOptimizeJumps() also make jump shortcutting in each pass * 3. When Jump Optimization is disabled (-kJ) then it cause slowness * at runtime because we will have more HVM loops: first for the * shorter jump and next for the HB_P_NOOP PCODE(s) * [druzuz] */ + added support for multi passes in jump/dead code elimination (hb_compOptimizeJumps()) By default is set upto three passes. Now hb_compOptimizeJumps() keeps all compiler internal data clean on exist and can be called any times and does not change other compiler's functions behaviors + added dummy jumps elimination + added optimization for: IF .T. IF .F. WHILE .T. WHILE .F. etc. * restored empty BEGIN/RECOVER sequence block elimination if Jump Optimization is enabled then it marks the block with HB_P_NOOPS else it cut the generated PCODE + added dead code eliminator (new functions hb_compCodeTraceMarkDead()/ hb_compPCodeTrace() - it works only when Jump Optimization is not disabled) As a result of the above we have smaller and faster PCODE. I do not think that we will have meta code support in the reasonable time and because I need some valid compiler data/structures like updated table of all jumps for real C code (not PCODE in .c files) generation then I decide to make some modifications and the above is in practice a side effect of this work. * harbour/source/rdd/dbcmd.c * harbour/source/rdd/dbf1.c * harbour/source/rdd/rddord.prg * harbour/source/rdd/workarea.c * harbour/source/rdd/dbfcdx/dbfcdx1.c * harbour/source/rdd/dbffpt/dbffpt1.c * harbour/source/rdd/dbfntx/dbfntx1.c * harbour/source/rdd/nulsys/nulsys.c * synced with my modifications in xHarbour * updated for API modifications * harbour/source/rtl/Makefile + added gtsys.c, gtfunc.c, hbgtcore.c * harbour/source/rtl/accept.c * harbour/source/rtl/alert.prg * harbour/source/rtl/cdpapi.c * harbour/source/rtl/console.c * harbour/source/rtl/dates.c * harbour/source/rtl/do.c * harbour/source/rtl/errorapi.c * harbour/source/rtl/errorsys.prg * harbour/source/rtl/file.c * harbour/source/rtl/fserror.c * harbour/source/rtl/fstemp.c * harbour/source/rtl/hbffind.c * harbour/source/rtl/idle.c * harbour/source/rtl/math.c * harbour/source/rtl/oldclear.c * harbour/source/rtl/strmatch.c * harbour/source/rtl/strpeek.c * harbour/source/rtl/valtype.c * harbour/source/rtl/xsavescr.c * updated for API modifications * cleaned some compiler warnings * harbour/source/rtl/filesys.c + added hb_fsGetOsHandle() * updated for API modifications * harbour/source/rtl/gt.c * harbour/source/rtl/gtapi.c * harbour/source/rtl/gtapiu.c + harbour/source/rtl/gtfunc.c + harbour/source/rtl/gtsys.c + harbour/source/rtl/hbgtcore.c * harbour/source/rtl/inkey.c * harbour/source/rtl/maxrow.c * harbour/source/rtl/mouseapi.c * harbour/source/rtl/setcolor.c * harbour/source/rtl/setposbs.c * harbour/source/rtl/shadow.c * new GT API code * harbour/source/rtl/saverest.c * changed default behavior in SEVESCREEN/RESTSCREEN with parameters out of screen range to be Clipper compatible. Added last logical parameter to keep previous behavior for programs which begins to use it. * harbour/source/rtl/seconds.c * include missing header file to fix C++ compilation * make hb_secondsCPU global function * harbour/source/rtl/set.c * make HB_SET_TYPEAHEAD Clipper compatible * harbour/source/rtl/gtcgi/Makefile * harbour/source/rtl/gtcgi/gtcgi.c - harbour/source/rtl/gtcgi/mousecgi.c * rewritten for new GT API some detail behaviors has been changed but I think the current implementation is better for CGI programs output - please check and fix me if necessary * harbour/source/rtl/gtcrs/Makefile - harbour/source/rtl/gtcrs/charmap.prg + harbour/source/rtl/gtcrs/chrmap.c - harbour/source/rtl/gtcrs/debug.map - harbour/source/rtl/gtcrs/eterm.map * harbour/source/rtl/gtcrs/gtcrs.c + harbour/source/rtl/gtcrs/gtcrs.h + harbour/source/rtl/gtcrs/hb-charmap.def - harbour/source/rtl/gtcrs/kbdcrs.c - harbour/source/rtl/gtcrs/keymap.prg - harbour/source/rtl/gtcrs/linux.map - harbour/source/rtl/gtcrs/mousecrs.c * new GTCRS based on my xHarbour and Flagship curses code Please not that at runtime it looks for a file /etc/harbour/hb-charmap.def where user can fully tune output for his terminal. This file is included with proper path in binaries created by make_rpm.sh and make_tgz.sh Ryszard I've removed some of your extensions which are no longer necessary and some other (keyboard sequence redefinition) should be done in a little bit differ way. I would like to talk about it when you test current code. Added support for extended mouse keys (middle button and wheel). * harbour/source/rtl/gtdos/Makefile * harbour/source/rtl/gtdos/gtdos.c - harbour/source/rtl/gtdos/mousedos.c * rewritten for new GT API Fixed some small problems, finished mouse code which for DJGPP is fully Clipper compatible with real mouse SAVE/RESTORE code. For other compilers it should be updated depending on memory model and used DPMI driver (if any). * harbour/source/rtl/gtos2/Makefile * harbour/source/rtl/gtos2/gtos2.c - harbour/source/rtl/gtos2/mouseos2.c * rewritten for new GT API Fixed some problems and finished the mouse code. Please test it - I made all modifications without OS2 and I was not able to make any test. I'm interesting in information if it works and the speed difference - e.g. results from tests/vidtest.prg run with previous and current version. * harbour/source/rtl/gtpca/Makefile * harbour/source/rtl/gtpca/gtpca.c - harbour/source/rtl/gtpca/kbdos2.gcc - harbour/source/rtl/gtpca/mousepca.c * rewritten for new GT API and finished so now it's full functional GT driver I'm interesting in keyboard sequences used by PC-ANSI drivers in DOS so it will be possible to implement also support for extended keys input. * harbour/source/rtl/gtsln/Makefile * harbour/source/rtl/gtsln/gtsln.c + harbour/source/rtl/gtsln/gtsln.h * harbour/source/rtl/gtsln/kbsln.c * harbour/source/rtl/gtsln/keytrans.c * harbour/source/rtl/gtsln/mousesln.c * rewritten for new GT API basing on current xHarbour code added support for slang 1.4x patched for UNICODE (Debian patches used by most of current Linux distributions) and slang 2.x - It's unicode ready, tries to detect terminal mode (utf-8/iso) at startup and switch the internal logic to iso/unicode mode. When compiled with slang 1.4x or 2.x and terminal is in UTF-8 it can display all characters like in DOS if only used font have them or good fall-back table is loaded (e.g. the one created by QRCZAK) Added support for extended mouse keys (middle button and wheel). * harbour/source/rtl/gtstd/Makefile * harbour/source/rtl/gtstd/gtstd.c - harbour/source/rtl/gtstd/mousestd.c * rewritten for new GT API Now it can work as full screen GT driver redrawing the previous screen contents from internal GT core buffers. I run with this GT some of my programs and they work quite well ;-) of course without colors. * harbour/source/rtl/gtwin/Makefile * harbour/source/rtl/gtwin/gtwin.c - harbour/source/rtl/gtwin/mousewin.c * updated for new GT API + harbour/source/rtl/gtxwc/Makefile + harbour/source/rtl/gtxwc/gtxwc.c + harbour/source/rtl/gtxwc/gtxwc.h * new XWindow Console GT driver based on my and Giancarlo Niccolai code form xHarbour - this GT can work in XWindow environment only and create its own window for console output. It delays the initialization to the moment when user try to display anything on the screen so even without X Window system programs which uses this GT can work as long as use only outstd/outerr output. * harbour/source/vm/arrays.c * updated for API modifications + added hb_arrayId(), * changed hb_arrayClone() declaration to: HB_EXPORT PHB_ITEM hb_arrayClone( PHB_ITEM pSrcArray ) * changed hb_arrayFromParams() declaration to: PHB_ITEM hb_arrayFromParams( int iLevel ) * harbour/source/vm/arrayshb.c * updated for API modifications + added new parameter iLevel to function HB_APARAMS() * harbour/source/vm/classes.c * harbour/source/vm/cmdarg.c * harbour/source/vm/dynlibhb.c * harbour/source/vm/estack.c * harbour/source/vm/fm.c * harbour/source/vm/garbage.c * harbour/source/vm/maindll.c * harbour/source/vm/maindllh.c * harbour/source/vm/maindllp.c * harbour/source/vm/mainstd.c * harbour/source/vm/mainwin.c * harbour/source/vm/memvars.c * harbour/source/vm/pcount.c * harbour/source/vm/proc.c * updated for API modifications * harbour/source/vm/codebloc.c * updated for API modifications + added hb_codeblockId() * harbour/source/vm/dynsym.c * updated for API modifications + added new functions: hb_dynsymFindSymbol(), hb_dynsymGetSymbol(), hb_dynsymSymbol(), hb_dynsymName(), hb_dynsymMemvarHandle(), hb_dynsymAreaHandle(), hb_dynsymSetAreaHandle() * harbour/source/vm/eval.c * updated for API modifications * call hb_vmPushState()/hb_vmPopState() in hb_itemDo()/hb_itemDoC() functions - it's necessary to make HVM reentrant safe. * harbour/source/vm/extend.c * updated for API modifications + added hb_extIsObject() similar to existing hb_extIsArray() * harbour/source/vm/hvm.c * updated for API modifications + added new functions: hb_vmPushState(), hb_vmPopState() which save/restore HVM state (the top stack value which can be processed and return item and maybe something else in the future) making HVM ready for reentrant. * harbour/source/vm/itemapi.c * updated for API modifications + added new function: HB_EXPORT PHB_SYMB hb_itemGetSymbol( PHB_ITEM pItem ); ! fixed bug in hb_itemPutNInt() * harbour/tests/Makefile * harbour/utils/hbdoc/Makefile * harbour/utils/hbextern/Makefile * harbour/utils/hbmake/Makefile * harbour/utils/hbrun/Makefile * harbour/utils/hbtest/Makefile - removed badly added: dbfntx, dbfcdx, dbffpt, hbsix libraries. what broke GNU make compilation for some compilers This libraries should be included automatically when RDD lib is included by *.cf files Summary: The whole patch (cvs diff -uN) is ~1.5 MB length and I cannot describe everything in details - sorry but it was too much modifications in one commit so now just some of general notes. The header files included as is does not have any information about internal HVM structures and some functions. In practice only HB_SYMB is public and it has to be public for .c files generated from .prg so I force the fixed size of this structure (alignment independent) by redefining some members to union with void * - it's a little bit ugly trick but it effectively eliminates the problem of linking binaries compiled with differ alignment C compiler switches. The structures like HB_ITEM, HB_CODEBLOCK, HB_STACK, HB_DYNS are not longer defined and pointers to the defined as void * - like in Clipper the ITEM structure. It caused that I had to add some new functions to make some operation still possible to implement. If I missed something and any of you will have a problem with your code then please inform me about it and after a small discussion on Harbour developers list we can decide if other functions should be added. The internal API is still accessible. It's enough to include "hbvmopt.h" file before other header files to enable it. Now only files in source/vm directory include it. The 3rd party code which does not include hbvmopt.h (or tries to set some internals macros) should be safe for future HVM modifications and will work also with new binaries so 3rd party library developers should remember about it. If they won't then it's only their and their clients problem not Harbour developers. With this modifications I also create new GT model which is similar to the one used by RDD with multi inheritance. It can be quite easy extended to simultaneously load more then one GT subsystem (something like work areas in RDD) but I left it for the future when someone may need it. hbapigt.h file now contains only information about public functions and does not have any code which depends on current internal implementation - it should be backword compatible as long as somone did not try to use internal GT functions. The internal GT system use hbgtcore.h file which should not be included by 3rd party code as long as someone will not make new GT driver. The internal GT code is new so I expect that it will be changed yet in the nearest future (I'm waiting for other developers feedback) and in such case any 3rd party GTs will have to be updated. How it works: The base GT driver (GTNUL) is fully functional GT driver which makes all operations on memory buffer. After each screen write Flush() method is called which check for dispcount() and if it's 0 then call Refresh() method to update modified area by Redraw() method. This method is dummy in GTNUL and external output with this GT can be reached by outstd()/outerr() which are now redirected to GT methods. A simple GT driver may overload only Refresh() method to give full screen output. Application can use only this GT driver and it seems to be very good choice for GUI and background daemon/service programs. This GT is loaded at startup then all other GTs can be loaded later and inherit from the previously loaded GT drivers. The new GT driver can overload as much method as wants/needs. Now all GT operations are implemented as GT method so GT driver can easy change their default behavior, e.g. it may fully overload color parsing methods and use differ or extended to Clipper color definitions. I rewrote all existing GTs to work with new GT model. OS2 users - please test GTOS2 which I was not able to test and see the note in Redraw() method. If possible please make some speed tests. In fact now there is much more internal operations then it was before but because they are done on memory only then current code is much faster in this GT drivers which so far makes all operations on real video area. I made some tests with GTNUL and tests/vidtest.prg and the total overhead is minimal. Now dipbegin()/dispend() in practice does not cost anything so it gives additional speed improvement in application which extensively use it. More then one GT driver can be linked with final binaries and chose on application startup by //GT<NAME> switch and/or environment variable HB_GT=<name> In the RTL is new GT function GTSYS() which works in similar way to RDDSYS() in RDD subsystem and for linking default GT driver for given platform. When RTL is compiled the default GT driver is set to HB_GT_DEFAULT envvar and if not exist to HB_GT_LIB envvar and if it also does not exist to hard coded platfom GTs (see source/rtl/gtsys.c and source/rtl/Makefile for rules) Adding to source code: ANNOUNCE GTSYS disable linking the default GT driver and: REQUEST HB_GT_<name> for linking given (<name>) GT driver, e.g.: REQUEST HB_GT_WIN If you are working in SH environment (Linux and other *nixes users, DJGPP bash, MinGW shell then it's possible to use -gt<name> switch in hblnk / hbmk scripts to force linking GT drivers (it could be repeated with different <name>) and the first one becomes the default one. E.g.: xhbmk -m -n -w -es2 -gtcrs -gtsln -gtstd -gtpca vidtest.prg Usually the GT driver are loaded at HVM startup but it's possible to load it later. I created new GT driver CTW which gives full CT3 like Window system. The CT3 extended driver change the behavior of some function in Clipper extended driver, f.e WRITECON() or SETPOS() with parameters out of screen range. So I implemented it CTW as RT GTs which is loaded when some of CTWIN function is used (e.g. WOPEN()/WBOARD()) and inherits from any existing GT driver. This is full CT3 WIN implementation with all detail behaviors I found (with some CT3 bug fixes). It does not have any CT3 limitations and can be used for any virtual screen/window size though I hardcoded CT3 limitation for backword compatibility. If somone will want to remove it then it will be enough to delete few lines from ctwin.c file. I'm not CTWIN Clipper user so maybe I missed some side effects in this driver and was not able to well test it so if you will find any incompatibilities then please inform me. THe default GT buffer uses 32-bit character cell internally but in savescreen/restscreen it uses VGA compatible two bytes character cell. Some GT drivers may want to use differ character cell. Now GTCRS and GTSLN use 32-bit character cell by default. They need additional information about character set (box/normal) to properly display box characters. It is possible to force in this GT drivers using Clipper compatible character cell by calling: hb_gtInfo( GTI_COMPATBUFFER, <lCompat> ) -> <lPreviousSeting> but in may cause that box drawing characters will be lost in some countries after RESTSCREEN(). It will depend on used code page. HB_GTINFO() is new function which works in similar way to DBINFO() in RDD. It allows to retrieve/change some of GT driver settings. GTI_* actions are defined in hbgtinfo.ch - it has all GTI_* definitions used in xHarbour. Now in Harbour only few of them are implemented. The new three .prg functions: HB_SETKEYCP( <cTermCP> [,<cHostCP>] ) HB_SETDISPCP( <cTermCP> [,<cHostCP>] [,<lBoxChar>] ) HB_SETTERMCP( <cTermCP> [,<cHostCP>] [,<lBoxChar>] ) have been added. They set automatic input (HB_SETKEYCP) and output (HB_SETDISPCP) (or both: HB_SETTERMCP) character translation. They are also important for some GTs which informing them about used internal code page for unicode translation (GTXWC, GTSLN) and/or chosing proper character set (standard/alternate) for letters and other (e.g. box drawing characters) (GTCRS, GTSLN), <cTermCP> is encoding used on external (terminal) side <cHostCP> is encoding used internally, if not given then current code page set HB_SETCODEPAGE() is used. some of GTs which uses unicode output may ignore <cTermCP> <lBoxChar> is optional parameter which interacts with dispbox() output disabling switching to alternate character set in some GTs. It effectively causes that if internal (host) code page contains some letters on the box char positions then they will be shown also by box drawing functions like dispbox() instead of CP437 characters. In some cases it could be useful. By default lBoxChar is not set and GTs which can switch between standard and alternate character set (GTCRS, GTSLN) will try to use alternate character set for box drawing functions. Victor: I removed some of your functions. They can be very easy implemented with hb_gt_GetChar()/hb_gt_PutChar() but I do not want to make them part of documented external API because some GT drivers may want to use absolutely differ color definitions and they will stop to work so I do not want to make this functions documented external API. Ryszard: Setting alternative debug keys does not longer work. I like such possibilities but it should be implemented in differ way to e.g. using HB_GTINFO interface to allow low-level GT driver extensions, e.g. in *nixes using CTRL+[A-Z] and SIGINT, SIGQUIT, SIGTSTP signals for real asynchronous setting of debug/cancel flag without keyboard polling from main HVM loop. I would like to discus about such more general solution. *** Please updated non GNU make files *** 2006-02-03 15:56 UTC+0100 Antonio Linares <alinares@fivetechsoft.com> * makefile.nt * makefile64.nt + added modules strpeek and dynlibhb 2006-02-03 15:30 UTC+0100 Antonio Linares (alinares@fivetechsoft.com) * source/rtl/filesys.c * Harbour 64-bit required fix 2006-01-21 01:45 UTC+0100 Francesco Saverio Giudice <info@fsgiudice.com> * contrib/gd/source/gd.prg + added functions: gdImageToString( oImage ) -> cImageString return a string containing binary image check oImage:cType for image type: jpeg, gif or png gdImageToFile( oImage, cFileName ) -> NIL Create an image file (as cFileName + "." + oImage:cType) * contrib/gd/source/gdimage.prg + added ToString() method, this choose right ToString*() method reading cType property + added ToFile( cFile ) method, this choose right ToString*() method reading cType property and create an image file + contrib/gd/include/gdexternal.ch external gd functions declaration + contrib/gd/tests/tostring.prg sample for tostring() and SaveToFile() methods 2006-01-09 14:50 UTC+0100 Ryszard Glab <rglab@imid.med.pl> * include/hbexprb.c * source/compiler/exproptb.c * source/macro/macrob.c * fixed to release the memory if macro compiled code contains a variable or a function reference * source/rtl/filesys.c * added missing '(' to copile correctly on Unix'es 2006-01-08 23:28 UTC+0100 Francesco Saverio Giudice <info@fsgiudice.com> * contrib/gd/source/gdwrp.c + added save image to string * contrib/gd/source/gdimage.prg + added ToString*() methods, fixed Output*() methods /* Now it is possible to get an image into a string using ToString*() methods. Sample: oImage := GDImage( 200, 200 ) .... cImage := oImage:ToStringJPeg() */ 2006-01-08 02:47 UTC+0100 Francesco Saverio Giudice <info@fsgiudice.com> * contrib/gd/source/gdwrp.c * fixed error + formatting * contrib/gd/source/gd.prg * fixed gdImageFromFile() 2005-12-28 13:05 UTC+0100 Antonio Linares (alinares@fivetechsoft.com) * vm/maindll.c + Added new functions HBDLLENTRY1() and HBDLLENTRY2() These function allow to call a Harbour (self contained) DLL and provide it one or two Harbour items as parameters. A HBDLLENTRYN() that allows optionally N parameters would be valuable too. 2005-12-26 23:16 UTC+0100 Francesco Saverio Giudice <info@fsgiudice.com> * contrib/gd/source/gdwrp.c * fixed error parameters number 2005-12-26 22:58 UTC+0100 Francesco Saverio Giudice <info@fsgiudice.com> * contrib/gd/source/gdwrp.c * gdImageStringFTEx + added new parameters: linespacing (default 1.05) charmap (default gdFTEX_Unicode) resolution (default 96 dpi) * contrib/gd/source/gd.prg * changed gdImageStringFT accordling with new parameters * contrib/gd/source/gdimage.prg * changed SayFreeType() method accordling with new parameters + contrib/gd/tests/testdpi.prg + added sample showing dpi changes * contrib/gd/include/gd.h * minor formatting /* Added new parameters not handled before to alter dpi in string drawing As per request of Rene Gladis */ 2005-12-12 14:06 UTC-0300 Laverson Espindola <laverson.espindola@newage-software.com.br> * source\gdbar.prg ! Added new parameters <cpath_img> in construtor class TCode default "image_bar/", to output image, this suggestion from Francesco Saverio Giudice. 2005-12-09 18:30 UTC-0300 Laverson Espindola <laverson.espindola@newage-software.com.br> * source\gdwrp.c ! Added missing castings to make MSVC happy * make_vc.bat * makefile.nt + Added MSVC building files * makemsvcimport.bat + Utility to create import lib from GD DLL * source\gdbar.prg * source\gdbarcode.prg + Added barcode generation routines * samples\barcode\bartest.prg * samples\barcode\bldtest.bat * samples\barcode\bldtestvc.bat + Added barcode sample * readme.txt * makefile.bc ! Updated with BarCode stuff 2005-12-02 17:12 UTC+0100 Viktor Szakats * include/hbmath.h ! Fixed a few declarations to be in sync with the implementation. (Thanks Chen) 2005-11-27 11:20 UTC+0200 Chen Kedem <niki@synel.co.il> * doc/en/math.txt * Rename HB_MATHERRMODE() --> HB_MATHERMODE(), HB_MATHERRORBLOCK() --> HB_MATHERBLOCK(), math.ch --> hbmath.ch * Some formating to 76 characters per line 2005-11-24 23:24 UTC+0100 Viktor Szakats * include/hbpcode.h + Comment added about adding new pcodes at the end of the list for compatibility. * source/rtl/filesys.c + Added hb_fsSetDevMode() Unix branch added (thx Przemek) * tests/mathtest.prg * source/rtl/math.c ! Fixed prev commit to comply with 10char function name rule: HB_MATHERRMODE() -> HB_MATHERMODE() HB_MATHERRORBLOCK() -> HB_MATHERBLOCK() * source/rtl/seconds.c ! hb_secondsCPU() move inside FlagShip guard instead of HB_EXTENSION. * hb_secondsCPU() made static (Harbour level function helper only with non-std name). * source/vm/dynlibhb.c * include/hbextern.ch * LIBLOAD(), LIBFREE() moved (back) to Harbour namespace: HB_LIBLOAD(), HB_LIBFREE() + Added these functions to hbextern.ch * source/rtl/symbol.prg * source/vm/dynsym.c * include/hbextern.ch * Internal function names renamed to comply and to not collide with existing ones (mistake in prev commit). + tests/symbolt.prg ; Missed from prev commit. 2005-11-22 10:31 UTC+0100 Viktor Szakats * source/rtl/symbol.prg * source/vm/dynsym.c * include/hbextern.ch ! Moved and renamed two functions from BEGINDUMP to their proper place. GETSYMBOLPOINTER() -> __DYNSGETPOINTER() GETSYMBOLNAME() -> __DYNSGETNAME() + Added the two functions to hbextern.ch + FIXME added to symbol.prg to remove the remaining one C function inside BEGINDUMP. (Antonio, can you take a look?) 2005-11-22 10:08 UTC+0100 Viktor Szakats * doc/en/hb_apifs.txt ! Fixed doc for hb_fsSetDevMode() * source/rtl/filesys.c + Partially undone prev commit, so that now it gives unreferenced var warnings for the not-implemented platform branch. * tests/bldtest/bldtest.c + Added missing CVS ID. * samples/guestbk/Makefile * samples/guestbk/bld_b32.bat * samples/hscript/Makefile * samples/hscript/bld_b32.bat * samples/misc/Makefile * samples/pe/Makefile * tests/Makefile * utils/hbdoc/Makefile * utils/hbextern/Makefile * utils/hbmake/Makefile * utils/hbrun/Makefile * utils/hbtest/Makefile + Added missing dbf*, hbsix libs. Could not test GCC because MingW build is broken. 2005-11-22 02:22 UTC+0100 Jacek Kubica (kubica/at/wssk.wroc.pl) * makefile.bc * updated to compile source/rtl/strpeek.c 2005-11-22 01:51 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbsetup.ch * enable HB_COMPAT_FLAGSHIP by default I hope it will not be a problem - if it does then I can disable it but in *nixes for a long time FlagShip was the only one Clipper alternative and some of its functions are quite often used in Clipper/FoxPro programs ported to *nixes so I'd want to keep it enabled at least when HB_OS_LINUX/HB_OS_UNIX is defined. * harbour/include/hbvm.h + added missing extern in hb_vmAtInit() and hb_vmAtExit() declarations * harbour/include/hbvmpub.h * formatting * harbour/source/rdd/dbcmd.c ! fixed the problem with fieldput(<n>,nil) at phantom recrod reported by Victor * do not use C level HB_ITEM * harbour/source/rdd/dbf1.c * harbour/source/rdd/dbfcdx/dbfcdx1.c * harbour/source/rdd/dbfntx/dbfntx1.c ! fixed possible GPF when "/an/existing/path/" was used as file name. No in DOS in such case it will casue RT error that file: /an/existing/path/.<ext> cannot be created (like in Clipper) but in other systems (e.g. Linux) which allow to use such file names it will work without any problems. * harbour/source/rdd/dbffpt/dbffpt1.c * do not use C level HB_ITEM * harbour/source/rtl/Makefile + harbour/source/rtl/strpeek.c + added STRPEEK and STRPOKE FS functions covered by HB_COMPAT_FLAGSHIP macro * harbour/source/rtl/philes.c ! fixed GPF when unshareing string item buffer with embedded 0 by using hb_itemUnShare() * harbour/include/hbapiitm.h * harbour/source/vm/itemapi.c + added hb_itemUnShare() - /* un-share given string item */ and hb_itemClone() - /* clone the given item */ 2005-11-21 18:03 UTC+0100 Viktor Szakats - include/math.ch + include/hbmath.ch * include/hbmath.h * tests/mathtest.prg ! math.ch -> hbmath.ch (rename) 2005-11-21 17:44 UTC+0100 Viktor Szakats + tests/simplet.prg * src/rtl/symbol.prg * Embedded example code moved to the test dir. * src/rtl/math.c * include/hbextern.ch * tests/mathtest.prg * doc/en/math.txt ! HB_ prefix added for non-Clipper functions. MATHERRMODE() -> HB_MATHERRMODE() MATHERRORBLOCK() -> HB_MATHERRORBLOCK() + Above two functions added to hbextern.ch * HB_MATHERRMODE() input validation logic moved to the lower level function. This is a step to make this a simple Set() * include/math.ch + HB_ prefix added. 2005-11-21 18:29 UTC+0200 Chen Kedem <niki@synel.co.il> * source/rtl/math.c * Standardized public function names (to make HbExtern happy): HB_FUNC (MATHERRMODE) --> HB_FUNC( MATHERRMODE ) HB_FUNC (MATHERRORBLOCK) --> HB_FUNC( MATHERRORBLOCK ) HB_FUNC (LOG) --> HB_FUNC( LOG ) * utils/hbextern/hbextern.prg * Heavily modified to produce more accurate output 2005-11-14 16:42 UTC+0100 Antonio Linares <alinares@fivetechsoft.com> * harbour/contrib/rdd_ads/makefile.vc - removed module ads0 2005-11-19 00:30 UTC+0100 Viktor Szakats * include/hbapifs.c * src/rtl/filesys.c ! hb_fsSetDevMode() fixed back to return a BOOL value to be compatible with the CA-Cl*pper undocumented _tdevraw() function. (hb_fsSetDevMove() is mapped to _tdevraw() in hbundoc.api, it's the documented version of the same functionality) Also fixed warning and error for one of the dummy platform branches. Since this came from xHarbour it pbly needs to be fixed there too. * tests/Makefile + symbolt.prg added 2005-11-16 13:35 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/pack_src.sh * updated for nulsys.prg -> nulsys.c modification 2005-11-16 13:14 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbvmpub.h * changed definition of HB_SYMB structure. HB_SYMBOLSCOPE cScope replaced by: union { HB_SYMBOLSCOPE value; /* the scope of the symbol */ void * pointer; /* filler to force alignment */ } scope; This modification should only force the same alignment independently on used compiler alignment switches or executed #pragma pack* It's important to keep this structure with fixed size because it's used in .c files generated from .prg code. The code with #pragma pack* removed - it should not be longer necessary but please make a real tests with different compiler alignment switches * harbour/contrib/btree/hb_btree.c * harbour/contrib/rdd_ads/ads1.c * harbour/contrib/runjava/runjava.c * harbour/source/compiler/genc.c * harbour/source/rdd/dbf1.c * harbour/source/rdd/delim1.c * harbour/source/rdd/sdf1.c * harbour/source/rdd/dbfcdx/dbfcdx1.c * harbour/source/rdd/dbfdbt/dbfdbt1.c * harbour/source/rdd/dbffpt/dbffpt1.c * harbour/source/rdd/dbfntx/dbfntx1.c * harbour/source/vm/dynsym.c * harbour/source/vm/hvm.c * harbour/source/vm/initsymb.c * harbour/source/vm/runner.c * updated for modified HB_SYMB structure. 2005-11-15 05:10 UTC+0100 Viktor Szakats * hrbdll.bc * hrbdll.vc * makefile.bc * makefile.nt * makefile.vc * makefile64.nt * nulsys generation updated. * source/compiler/gencobj.c ! Fixed warning. * source/rdd/rddord.prg ! Fixed to include hbsetup.ch for HB_COMPAT_* guard * source/vm/hvm.c ! Fixed warning. * make_b32.bat - Removed "set BISON_SIMPLE" (was remmed) 2005-11-14 20:54 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/common/expropt2.c * casting * harbour/include/hbdate.h + added hb_dateJulianDOW() - retrieve day of week from Julian's date * harbour/source/rtl/dates.c * harbour/source/common/hbdate.c * moved hb_dateDOW(), hb_dateDecStr() and hb_dateEncStr() to hbdate.c - Ryszard I'd prefer to keep this function together It will be much easier to update them. + added HB_STR_DATE_BASE for conversion to string - Clipper compatibility though we are not 100% Clipper compatible in STOD() because we will have to reduce functionality (supported date range) to reach it. In Clipper STOD(DTOS()) is not revertible. I decided to make it revertible in [x]Harbour for the whole supported in string conversion range: 0000/01/01 : 9999/01/01 % optimized hb_dateEncode() * some minor fixes for Clipper compatibility * harbour/source/rtl/dateshb.c * use faster and Clipper compatible hb_dateJulianDOW() instead of hb_dateDOW() * harbour/source/rdd/nulsys/Makefile - harbour/source/rdd/nulsys/nulsys.prg + harbour/source/rdd/nulsys/nulsys.c * replaced .prg code with #pragma begindump/enddump by native C code rtl/symbol.prg have to be updated yet. * harbour/source/rdd/dbf1.c * harbour/source/rdd/dbffpt/dbffpt1.c * synced with xHarbour 2005-11-14 20:50 UTC+0100 Viktor Szakats * hrbdll.vc * makefile.nt * makefile.vc * makefile64.nt * Change -o linker option to /OUT: to avoid warning with MS Visual Studio 2005 compiler tools. + Added -D_CRT_SECURE_NO_DEPRECATE to suppress the many new MS warnings about unsafe function usage. ; NOTE: MSVC 14.0 fails to compile macroy.c ; NOTE: Still tons of warnings, but other than these it compiles fine. * source/codepage/cdpsl437.c ! Fixed wrong escape char (\ -> \\). * include/hbsetup.ch * source/common/hbverdsp.c + Added CLIP compatibility switch. * include/hbextern.ch + Updated (somewhat). * source/rtl/strmatch.c * source/rdd/rddord.prg ! WILDMATCH() renamed to HB_WILDMATCH() * source/rdd/rddord.prg ! ORDWILDSEEK() guarded with HB_COMPAT_XPP * source/rtl/seconds.c ! SECONDSCPU guarded with HB_COMPAT_FLAGSHIP 2005-11-14 9:01 UTC-0800 Luis Krause Mantilla <lkrausem /*at*/ shaw /*dot*/ ca> * hrbdll.bc - removed references to delim0.prg/c 2005-11-14 14:40 UTC+0100 Jacek Kubica (kubica/at/wssk.wroc.pl) * harbour/bin/bld.bat + added references to hbsix.lib - removed references to dbfdbt.lib 2005-11-14 11:40 UTC+0100 Ryszard Glab <rglab@imid.med.pl> * source/compiler/harbour.y * fixed 'type clash' warning in some bison version 2005-11-14 11:10 UTC+0100 Ryszard Glab <rglab@imid.med.pl> * makefile.bc * makefile.nt * makefile.vc * makefile64.nt * updated to compile source/common/hbdate.c 2005-11-14 11:00 UTC+0100 Ryszard Glab <rglab@imid.med.pl> * include/hbcomp.h * include/hberrors.h * include/hbexpra.c * include/hbexprb.c * include/hbexprop.h * include/hbhash.h * include/hbmacro.h * include/hbpcode.h * source/common/Makefile * source/common/expropt1.c * source/common/expropt2.c * source/common/hbhash.c * source/compiler/expropta.c * source/compiler/exproptb.c * source/compiler/genc.c * source/compiler/harbour.c * source/compiler/harbour.l * source/compiler/harbour.y * source/compiler/hbfix.c * source/compiler/hbgenerr.c * source/compiler/hbident.c * source/compiler/hbpcode.c * source/macro/macro.l * source/macro/macro.y * source/macro/macroa.c * source/macro/macrob.c * source/rtl/dates.c * source/vm/hvm.c * source/vm/macro.c + source/common/hbdate.c + tests/ddate.prg + tests/switch.prg +added support for DATE type constants in the following format: 0dYYYYMMDD for example (see tests/ddate.prg for more): IF( dDate > 0d20051112 ) +added support for SWITCH command (see tests/switch.prg) SWITCH <expr> CASE <integer_expression> ... [EXIT] CASE <string_expression> ... [EXIT] [OTHERWISE] ... END Notice: - Integer and string expressions can be mixed in a single SWITCH command with no runtime errors; - CASE expression have to be resolved at compile time and the result has to be either an integer or string constant - if there is no EXIT statement then next CASE is executed (or OTHERWISE for the last CASE) For example: CASE 1+32+2*4 CASE CHR(64) CASE ASC('A') CASE "A"+CHR(13) Notice: The above changes apply only to FLEX version! 2005-11-13 21:21 UTC+0100 Jacek Kubica (kubica/at/wssk.wroc.pl) * harbour/contrib/ole/bldtest.bat * harbour/contrib/ole/hbtest.prg ! updated files 2005-11-13 20:50 UTC+0100 Jacek Kubica (kubica/at/wssk.wroc.pl) * harbour/contrib/rdd_ads/makefile.bc * harbour/contrib/rdd_ads/make_b32.bat ! updated - synced with xHarbour 2005-11-13 12:05 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/ole/ole2.c * harbour/contrib/ole/oleauto.prg ! fixed casting * harbour/contrib/rdd_ads/Makefile * harbour/contrib/rdd_ads/ace.h * harbour/contrib/rdd_ads/ads.ch - harbour/contrib/rdd_ads/ads0.prg * harbour/contrib/rdd_ads/ads1.c * harbour/contrib/rdd_ads/adsfunc.c * harbour/contrib/rdd_ads/adsmgmnt.c * harbour/contrib/rdd_ads/rddads.h * harbour/include/hbapirdd.h * harbour/include/hbrddcdx.h * harbour/include/hbrdddbf.h * harbour/include/hbrdddbt.h * harbour/include/hbrddfpt.h * harbour/include/hbrddntx.h * harbour/source/rdd/dbcmd.c * harbour/source/rdd/dbf1.c * harbour/source/rdd/dbsort.prg * harbour/source/rdd/dbstrux.prg * harbour/source/rdd/dbtotal.prg * harbour/source/rdd/hbdbsort.c * harbour/source/rdd/dbfcdx/dbfcdx1.c * harbour/source/rdd/dbffpt/dbffpt1.c * harbour/source/rdd/dbfntx/dbfntx1.c * synced with xHarbour * harbour/include/hbcomp.h * harbour/source/compiler/harbour.c * harbour/source/compiler/hbgenerr.c * harbour/source/compiler/hbpcode.c * emit warning and error messages to stderr instead of stdout Now it's enabled only for *nix platforms. * harbour/source/vm/extend.c * allow hb_param() to return parameters accessed by HB_IT_BYREF 2005-11-08 01:56 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/garbage.c - removed unnecessary memset() * harbour/source/vm/hvm.c % use startup initialized symbols: hb_symEnumIndex, hb_symEnumBase, hb_symEnumValue instead of strcmp( pSym->szName, ... ) in hb_vmSend() % remove unnecessary temporary item in hb_vmEnumStart() and use hb_itemMove() instead of hb_itemCopy()+hb_itemClear() % changed main VM loop to eliminate one comparision done on each loop. Now HB_P_ENDBLOCK and HB_P_ENDPROC pcodes set HB_ENDPROC_REQUESTED and the main loop can be exited only from one place. It gives some small but noticeable speed improvement. Ryszard please check this modification. AFAIK it should not cause any bad side effect and IMHO the code is cleaner now. * harbour/source/vm/itemapi.c % removed two unnecessary hb_itemClear() before hb_itemRelease() 2005-11-07 14:35 UTC+0100 Ryszard Glab <rglab@imid.med.pl> * include/hbapi.h * include/hbapiitm.h * include/hbcomp.h * include/hberrors.h * include/hbexpra.c * include/hbpcode.h * include/hbsetup.h * source/common/expropt1.c * source/compiler/expropta.c * source/compiler/genc.c * source/compiler/gencli.c * source/compiler/harbour.c * source/compiler/harbour.l * source/compiler/harbour.y * source/compiler/hbfix.c * source/compiler/hbgenerr.c * source/compiler/hbpcode.c * source/macro/macroa.c * source/vm/hvm.c * source/vm/itemapi.c + tests/foreach.prg + added support for FOR EACH loop FOR EACH var1 [,var255] IN expr1 [,expr255] [DESCEND] NEXT Note: -expr can be a string or an array if it is a string then assigments to the control variable does not change the string -after the loop the controlling variable(s) store the value which they had before entering the loop -the controlling variable supports the following properties :__enumindex - the loop counter for variable :__enumbase - the value that is being traversed :__enumvalue - the value of variable -see tests/foreach.prg for examples + added warnings in cases of duplicated loop variables eg. FOR i:=1 TO 5 FOR i:=i TO i+5 -removed strong typing in the compiler (xHarbour too) (reactivate it by compiling with -DHB_COMP_STRONG_TYPES) NOTE: The new pcodes were added - rebuild everything 2005-11-07 01:37 UTC+0100 Francesco Saverio Giudice <info@fsgiudice.com> * contrib/gd/readme.txt * updated 2005-11-07 00:15 UTC+0100 Francesco Saverio Giudice <info@fsgiudice.com> * contrib/gd/source/gdwrp.c + added gdImageGifAnimBegin, gdImageGifAnimAdd, gdImageGifAnimEnd + contrib/gd/tests/animgif.prg + test of gdImageGifAnim*() functions /* Added Animated GIF functions ! */ 2005-11-06 16:48 UTC+0100 Francesco Saverio Giudice <info@fsgiudice.com> * contrib/gd/source/gdwrp.c + added GTIMAGECREATEPALETTE as alias of GDIMAGECREATE + contrib/gd/tests/antialiased.prg + test of gdImageSetAntiAliased() function thanks to Jorge Mason for requesting it 2005-11-04 22:19 UTC+0100 Antonio Linares <alinares@fivetechsoft.com> * harbour/source/vm/estack.c * hb_UnhandledExceptionFilter() modified to return EXCEPTION_CONTINUE_SEARCH NOTICE: When returning EXCEPTION_CONTINUE_SEARCH then both Microsoft and Borland behave the same way, and the Windows GPF dialogbox is finally shown, which it is quite usefull to locate the GPF address (on a MAP file). 2005-11-04 12:41 UTC+0100 Antonio Linares <alinares@fivetechsoft.com> * harbour/source/vm/mainwin.c * SetUnhandledExceptionFilter() is called if HB_INCLUDE_WINEXCHANDLER define is used * harbour/source/vm/estack.c * UnhandledExceptionFilter renamed as hb_UnhandledExceptionFilter, and WINBASEAPI removed. 2005-11-03 10:42 UTC+0100 Antonio Linares <alinares@fivetechsoft.com> + added Microsoft initialization code harbour/source/lang/msgcs852.c harbour/source/lang/msgcsiso.c harbour/source/lang/msgcskam.c harbour/source/lang/msgcswin.c harbour/source/lang/msgde.c harbour/source/lang/msgdewin.c harbour/source/lang/msgel.c harbour/source/lang/msgelwin.c harbour/source/lang/msgen.c harbour/source/lang/msgeo.c harbour/source/lang/msges.c harbour/source/lang/msgeswin.c harbour/source/lang/msgeu.c harbour/source/lang/msgfr.c harbour/source/lang/msggl.c harbour/source/lang/msghr852.c harbour/source/lang/msghriso.c harbour/source/lang/msgid.c harbour/source/lang/msgis850.c harbour/source/lang/msgit.c harbour/source/lang/msgko.c harbour/source/lang/msgpt.c harbour/source/lang/msgro.c harbour/source/lang/msgru866.c harbour/source/lang/msgrukoi.c harbour/source/lang/msgruwin.c harbour/source/lang/msgsl437.c harbour/source/lang/msgsl852.c harbour/source/lang/msgsliso.c harbour/source/lang/msgslwin.c harbour/source/lang/msgsr852.c harbour/source/lang/msgsriso.c harbour/source/lang/msgsrwin.c harbour/source/lang/msgzhb5.c harbour/source/lang/msgzhgb.c 2005-11-02 07:32 UTC+0100 Antonio Linares <alinares@fivetechsoft.com> * makefile.nt * makefile64.nt + added references to new files. 2005-11-02 01:56 UTC+0100 Jacek Kubica (kubica/at/wssk.wroc.pl) * harbour/makefile.bc + added references to harbour/source/common/hbarch.c + added references to harbour/source/rtl/fserror.c 2005-11-01 23:28 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/make_gnu.sh + harbour/make_xmingw.sh * harbour/bin/hb-mkslib.sh * harbour/bin/postinst.sh * harbour/config/w32/mingw32.cf * added support for cross compilation (Windows binaries at Linux) with MinGW - borrowed from xHarbour Phil Krylov solution * harbour/contrib/btree/hb_btree.c * casting * harbour/contrib/libct/files.c ! fixed iAttr initialization in SETFATTR() * harbour/contrib/ole/ole2.c ! fixed names of included files * harbour/contrib/rdd_ads/ace.h * cover #pragma warning( error : 4706 ) by !defined( __GNUC__ ) * harbour/include/hbapi.h * harbour/include/hbdefs.h + harbour/source/common/hbarch.c * harbour/source/common/Makefile * added functions for machine independent double and long long conversions (my code borrowed from xHarbour) * harbour/include/hbapifs.h * synced file IO with xHarbour - it fixes some problems, adds some missing functionality and long (64-bit) file support for Windows. For Linux I added it some time ago. * harbour/include/hbcomp.h * changed 'char cScope' to 'HB_SYMBOLSCOPE cScope' * harbour/source/common/hbfsapi.c ! fixed some possible buffer overflow * harbour/source/common/hbstr.c * synced with xHarbour * harbour/source/common/hbver.c + added hb_iswinnt() (borrowed from xHarbour) * harbour/source/compiler/cmdcheck.c + added -undef: compiler switch (borrowed from xHarbour) * harbour/source/compiler/gencobj.c * cleanup * harbour/source/pp/ppcore.c ! fixed path delimiters in included file names * harbour/source/rtl/Makefile + harbour/source/rtl/fserror.c + added C -> OS file error trnalsations - not perfect but better then the used hacks (borrowed from xHarbour) * harbour/source/rtl/file.c * use hb_fileNameConv() instead of hb_filecase() - hb_fileNameConv() is the only one function to make file name conversions dependent on some SETs. * harbour/source/rtl/filesys.c * synced file IO with xHarbour - it fixes some problems, adds some missing functionality and long (64-bit) file support for Windows. For Linux I added it some time ago. * harbour/source/rtl/fstemp.c * synced with xHarbour * harbour/source/rtl/strings.c * use ULONG instead of size_t in hb_strnicmp declaration - we have to decide what we should use. Using size_t or its Harbour version e.g. HB_SIZE_T seems to be reasonable but it has to be global - redefining single functions does not make sense and will create troubles only. 2005-10-31 14:38 UTC+0100 Antonio Linares <alinares@fivetechsoft.com> * makefile.nt * makefile64.nt - Some files removed cause recent changes: harbour/source/rdd/dbf0.prg harbour/source/rdd/delim0.prg harbour/source/rdd/sdf0.prg harbour/source/rdd/dbfcdx/dbfcdx0.prg harbour/source/rdd/dbfcdx/sixcdx0.prg harbour/source/rdd/dbfdbt/dbfdbt0.prg 2005-10-31 01:37 UTC+0100 Francesco Saverio Giudice <info@fsgiudice.com> + contrib/gd/rules.make * reverted. file needed 2005-10-31 01:20 UTC+0100 Francesco Saverio Giudice <info@fsgiudice.com> * contrib/gd/source/gdwrp.c * contrib/gd/source/gdimage.prg * contrib/gd/source/gd.prg * fixed some warnings * contrib/gd/include/gd.h * contrib/gd/include/gd.ch * contrib/gd/source/gdimage.c * contrib/gd/source/gdwrp.c * guarded gd version. for linux gd last version is 2.0.28 (i.e. Fedora Core 3) for windows gd last version is 2.0.33 if your distribution is different please update header files this is needed because some functions are missing in 2.0.28 - contrib/gd/rules.make - contrib/gd/test/Makefile - contrib/gd/test/Makefile.linux - contrib/gd/test/Makefile.mingw32 + contrib/gd/test/bldtest.sh + contrib/gd/test/dll_b32.bat + contrib/gd/test/dll_b32.mak + contrib/gd/samples/counter/bldtest.sh + contrib/gd/samples/counter/dll_b32.bat + contrib/gd/samples/counter/dll_b32.mak * contrib/gd/README.txt * updated compilation batches for windows dll and linux now for windows: bldtest gdtest (full static) dll_b32 gdtest (dll version - needs harbour.dll) for linux : . bldtest.sh gdtest 2005-10-30 14:50 UTC+0200 Chen Kedem <niki@synel.co.il> * doc/dirstruc.txt + Add oneliner description for: source/rdd/hbsix, source/rdd/hsx * doc/en/lang.txt + Added the following to HB_LANGSELECT() list of supported ID's: BG866, BGISO, BGWIN, HUISO + Added the following to HB_SETCODEPAGE() list of supported ID's: BG866, BGISO, BGWIN, ESMWIN, HUISO * Change the following to HB_SETCODEPAGE() list of supported ID's: PT --> PT850, RUWIN --> RU1251 * source/lang/msghe862.c * source/lang/msghewin.c * Update startup code to work with MSC 2005-10-30 02:32 UTC+0200 Francesco Saverio Giudice <info@fsgiudice.com> * contrib/gd/source/gdwrp.c * replaced im = hb_itemGetPtr( hb_param( 1, HB_IT_POINTER ) ); with im = hb_parptr( 1 ); and im_handle = hb_itemPutPtr( NULL, ( BYTE *) im ); hb_itemReturn(im_handle); hb_itemRelease(im_handle); with hb_retptr( im ) 2005-10-28 10:23 UTC+0100 Viktor Szakats * hrbdll.bc * hrbdll.vc * makefile.bc * makefile.nt * makefile.vc * makefile64.nt * include/hbapicdp.h * source/codepage/Makefile * source/codepage/cdphu852.c * source/lang/Makefile * source/lang/msg_tpl.c * source/lang/msghu852.c + source/codepage/cdpbg866.c + source/codepage/cdpbgiso.c + source/codepage/cdpbgwin.c + source/codepage/uc8859_5.c + source/lang/msgbg866.c + source/lang/msgbgiso.c + source/lang/msgbgwin.c + Added BG language support. * HU minor fix. * Lang template updated. 2005-10-25 18:07 UTC+0200 Francesco Saverio Giudice <info@fsgiudice.com> * contrib/gd/make_b32.bat * fixed bgd.dll name (thanks to Dener) 2005-10-25 10:31 UTC+0200 Francesco Saverio Giudice <info@fsgiudice.com> - contrib/gd/bgd.dll + contrib/gd/bgd.dll_download.url * removed from bgd.dll from CVS 2.9 MB (sorry) and added a link to gdwin32.zip from Thomas Boutell's website to download it. * contrib/gd/README.txt * updated * contrib/gd/make_b32.bat * check if bgd.dll exists 2005-10-25 02:43 UTC+0200 Francesco Saverio Giudice <info@fsgiudice.com> * contrib/gd/tests/gdtest.prg * contrib/gd/tests/gdtestcls.prg * some fixes * contrib/gd/README.txt * updated + contrib/gd/samples + added a samples directory + contrib/gd/samples/counter/bldtest.bat + contrib/gd/samples/counter/counter.prg + contrib/gd/samples/counter/digits + contrib/gd/samples/counter/digits/57chevy.gif + contrib/gd/samples/counter/digits/7seg.gif + contrib/gd/samples/counter/digits/brsd.gif + contrib/gd/samples/counter/digits/digib.gif + contrib/gd/samples/counter/digits/digitmania.url + contrib/gd/samples/counter/digits/fdb.gif + contrib/gd/samples/counter/digits/jelly.gif + contrib/gd/samples/counter/digits/odb.gif + contrib/gd/samples/counter/digits/odw.gif + contrib/gd/samples/counter/digits/pdg.gif + contrib/gd/samples/counter/digits/pdw.gif + added a counter sample /* A first sample: an image counter to build: bldtest counter to run: counter to have a random number using 57chevy.gif as base image or: counter 372647 odb.gif to have a fixed number with odb.gif as base image base images from digitmania Enjoy! Francesco */ 2005-10-25 01:14 UTC+0200 Francesco Saverio Giudice <info@fsgiudice.com> * contrib/gd/tests/bldtest.bat * fixed build error 2005-10-25 01:02 UTC+0200 Francesco Saverio Giudice <info@fsgiudice.com> * contrib/gd/tests/gdtest.prg * contrib/gd/tests/gdtestcls.prg * added output directory check and create if not exists 2005-10-24 16:30 UTC+0200 Maurilio Longo <maurilio.longo@libero.it> ! contrib/tp_/linux.c ! contrib/tp_/telepath.prg ! contrib/tp_/ChangeLog ! Latest commit broke EOL * contrib/tp_/os2.c + stub tp_ctrlcts() 2005-10-24 15:10 UTC+0200 Francesco Saverio Giudice <info@fsgiudice.com> + contrib/gd + /bgd.dll + /rules.make + /Makefile + /make_b32.bat + /makefile.bc + /readme.txt + /ChangeLog + /doc/entities.html + /doc/GD Graphics Library.url + /doc/gd-license.txt + /doc/gdlib.txt + /doc/index.html + /doc/libfreetype-license.txt + /doc/libjpeg-license.txt + /doc/libpng-license.txt + /doc/win32-readme.txt + /doc/zlib-license.txt + /env/makeb32.env + /env/makelib.b32 + /env/bccwin32.mak + /include/gd.h + /include/gdcache.h + /include/gdfontg.h + /include/gdfontl.h + /include/gdfontmb.h + /include/gdfonts.h + /include/gdfontt.h + /include/gdfx.h + /include/gdhelpers.h + /include/gd_io.h + /include/jisx0208.h + /include/wbmp.h + /include/gd.ch + /source/gd.prg + /source/gdchart.prg + /source/Makefile + /source/gdwrp.c + /source/gdimage.prg + /tests/images_in + /tests/images_out + /tests/Makefile + /tests/Makefile.linux + /tests/Makefile.mingw32 + /tests/setfont.bat + /tests/bldtest.bat + /tests/test_out.prg + /tests/gdtest.prg + /tests/gdtestcls.prg + /tests/images_in/xharbour.jpg + /tests/images_in/italia.gif + /tests/images_in/fsg.jpg + /tests/images_out/ + first upload /* please look at readme.txt */ 2005-10-24 15:09 UTC+0200 Jacek Kubica (kubica/at/wssk.wroc.pl) * harbour/makefile.bc - Remove references to: harbour/source/rdd/dbf0.prg harbour/source/rdd/delim0.prg harbour/source/rdd/sdf0.prg harbour/source/rdd/dbfcdx/dbfcdx0.prg harbour/source/rdd/dbfcdx/sixcdx0.prg harbour/source/rdd/dbfdbt/dbfdbt0.prg 2005-10-24 14:27 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/makefile.bc * BCC make file updated by Jacek Kubica 2005-10-24 13:23 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapi.h * harbour/include/hbapiitm.h * harbour/include/hbapirdd.h * harbour/include/hbdefs.h * harbour/include/hbtypes.h * harbour/source/rtl/empty.c * harbour/source/vm/arrays.c * harbour/source/vm/extend.c * harbour/source/vm/hvm.c * harbour/source/vm/itemapi.c * harbour/source/vm/maindllp.c + added HB_TYPE to as HB_ITEM type marker. * set HB_TYPE as UINT32 * updated to the above modifications * cleaned some ~HB_IT_BYREF which has no effect in current VM 2005-10-24 12:37 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbtypes.h * harbour/source/vm/maindllp.c ! fixed some declaration I missed in previous commit 2005-10-24 12:08 UTC+0100 Viktor Szakats * hrbdll.bc * hrbdll.vc * makefile.bc * makefile.nt * makefile.vc * makefile64.nt * source/codepage/Makefile * source/codepage/cdphu852.c + source/codepage/cdphuiso.c * source/codepage/cdphuwin.c * source/lang/Makefile * source/lang/msghu852.c * source/lang/msghucwi.c + source/lang/msghuiso.c * source/lang/msghuwin.c * HU lang stuff updated. ISO cp added (same as Win cp). Minor fixes (not related to functionality) added. 2005-10-24 02:50 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/dot/pp.prg * harbour/contrib/dot/pp_harb.ch * harbour/include/hbapi.h * harbour/include/hbapirdd.h * harbour/include/hbdefs.h * harbour/include/hbextern.ch * harbour/include/hbinit.h * harbour/include/hbstack.h * harbour/include/hbsxfunc.h * harbour/include/hbvm.h + harbour/include/hbvmopt.h * harbour/include/hbvmpub.h * harbour/source/codepage/cdp_tpl.c * harbour/source/codepage/cdppl852.c * harbour/source/codepage/cdppliso.c * harbour/source/codepage/cdpplmaz.c * harbour/source/codepage/cdpplwin.c * harbour/source/compiler/genc.c * harbour/source/compiler/harbour.c * harbour/source/lang/msgca.c * harbour/source/lang/msgpl852.c * harbour/source/lang/msgpliso.c * harbour/source/lang/msgplmaz.c * harbour/source/lang/msgplwin.c * harbour/source/rdd/Makefile * harbour/source/rdd/dbcmd.c - harbour/source/rdd/dbf0.prg * harbour/source/rdd/dbf1.c - harbour/source/rdd/delim0.prg * harbour/source/rdd/delim1.c * harbour/source/rdd/rddsys.prg - harbour/source/rdd/sdf0.prg * harbour/source/rdd/sdf1.c * harbour/source/rdd/dbfcdx/Makefile - harbour/source/rdd/dbfcdx/dbfcdx0.prg * harbour/source/rdd/dbfcdx/dbfcdx1.c - harbour/source/rdd/dbfcdx/sixcdx0.prg * harbour/source/rdd/dbfdbt/Makefile - harbour/source/rdd/dbfdbt/dbfdbt0.prg * harbour/source/rdd/dbfdbt/dbfdbt1.c * harbour/source/rdd/dbffpt/Makefile - harbour/source/rdd/dbffpt/dbffpt0.prg * harbour/source/rdd/dbffpt/dbffpt1.c * harbour/source/rdd/dbfntx/Makefile * harbour/source/rdd/dbfntx/dbfntx0.prg * harbour/source/rdd/dbfntx/dbfntx1.c * harbour/source/rdd/hbsix/Makefile * harbour/source/rdd/hbsix/sxcompr.c * harbour/source/rdd/hbsix/sxcrypt.c * harbour/source/rdd/hbsix/sxdate.c * harbour/source/rdd/hsx/hsx.c * harbour/source/rdd/nulsys/nulsys.prg * harbour/source/rtl/browdbx.prg * harbour/source/rtl/cdpapi.c * harbour/source/vm/arrays.c * harbour/source/vm/arrayshb.c * harbour/source/vm/asort.c * harbour/source/vm/break.c * harbour/source/vm/classes.c * harbour/source/vm/cmdarg.c * harbour/source/vm/codebloc.c * harbour/source/vm/debug.c * harbour/source/vm/dynlibhb.c * harbour/source/vm/dynsym.c * harbour/source/vm/estack.c * harbour/source/vm/eval.c * harbour/source/vm/evalhb.c * harbour/source/vm/extend.c * harbour/source/vm/fm.c * harbour/source/vm/garbage.c * harbour/source/vm/hvm.c * harbour/source/vm/initsymb.c * harbour/source/vm/itemapi.c * harbour/source/vm/macro.c * harbour/source/vm/maindllp.c * harbour/source/vm/memvars.c * harbour/source/vm/memvclip.c * harbour/source/vm/pcount.c * harbour/source/vm/proc.c * harbour/source/vm/pvalue.c * harbour/source/vm/runner.c * remove default API and stack macros. Now API/stack macros can be enabled by including hb_vmopt.h file. This file should be included _ONLY_ by core code because binary object/libraries generated after can work only with _EXACTLY_ the same HVM compiled the same C alignment switches * cleaned some HB_EXTERN_C declaration - Anotonio you should be able to build FWH now * cleaned startup initialization code - please update lang and codepage files - I only updated source/codepage/cdppl*.c and source/lang/msgpl*.c files Or other files should be updated or they will not work MSC * synced with recent xHarbour modification in RDD init code 2005-10-23 09:05 UTC+0100 Antonio Linares <alinares@fivetechsoft.com> * harbour/source/rdd/dbfntx/dbfntx1.c * harbour/source/rdd/dbfcdx/dbfcdx1.c * harbour/source/rdd/dbffpt/dbffpt1.c * harbour/source/rdd/hbsix/sxcompr.c * harbour/source/rdd/hbsix/sxcrypt.c * harbour/source/rdd/hsx/hsx.c + Minor fix to support define HB_NO_DEFAULT_API_MACROS (if used) required by Microsoft compiler IMPORTANT: Now Harbour properly builds using Microsoft compiler and define HB_NO_DEFAULT_API_MACROS, but applications fail to start, showing this error: Unrecoverable error 9004: RDD invalid or failed to load Called from DBFFPTINIT(62) Using Borland and the same define, all compiles and works ok. We need to discover why such error raises using Microsoft compiler and that define. 2005-10-21 08:40 UTC+0100 Antonio Linares <alinares@fivetechsoft.com> * makefile.nt + minor fix. 2005-10-13 13:00 UTC+0200 Maurilio Longo <maurilio.longo@libero.it> * NB: With latest commits tp_recv() and tp_recvto() wait up to 3 ms ( under linux ) before returning ( with or without any character ). OS/2 and win32 modules, instead, return immediatly if no input is available and waiting in the com port receive buffer. I think the correct way of doing read()s is the one implemented in linux.c and I will change OS/2 and win32 behaviour as soon as I can. 2005-10-13 12:50 UTC+0200 Maurilio Longo <maurilio.longo@libero.it> * contrib/tp_/Makefile * added linux.c module to library 2005-10-13 10:05 UTC+0200 Maurilio Longo <maurilio.longo@libero.it> + contrib/tp_/linux.c + Added linux low-level serial module, tested with a a serial printer and a connection to a cash register. * contrib/tp_/telepath.prg * changes to a few functions to make them work nicely with linux.c 2005-10-12 02:24 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/config/global.cf + added HB_DB_DRVEXT envvar support for additional RDDs * harbour/config/linux/gcc.cf + harbour/config/linux/gpp.cf + added GNU C++ support * harbour/config/linux/owatcom.cf * harbour/contrib/btree/hb_btree.c * harbour/contrib/libct/ct.h * harbour/contrib/libct/ctc.c * harbour/contrib/odbc/odbc.c * harbour/contrib/rdd_ads/adsfunc.c * harbour/include/hbapi.h * harbour/include/hbapierr.h * harbour/include/hbapigt.h * harbour/include/hbapilng.h * harbour/source/compiler/harbour.c * harbour/source/rtl/console.c * harbour/source/rtl/datec.c * harbour/source/rtl/diskspac.c * harbour/source/rtl/errorapi.c * harbour/source/rtl/errorint.c * harbour/source/rtl/filesys.c * harbour/source/rtl/fssize.c * harbour/source/rtl/fstemp.c * harbour/source/rtl/gtapi.c * harbour/source/rtl/isprint.c * harbour/source/rtl/natmsg.c * harbour/source/rtl/philes.c * harbour/source/rtl/setcolor.c * harbour/source/rtl/spfiles.c * harbour/source/rtl/gtcrs/gtcrs.c * harbour/source/rtl/gtsln/gtsln.c * harbour/source/rtl/gtsln/kbsln.c * harbour/source/vm/itemapi.c * harbour/source/vm/memvars.c * harbour/source/vm/runner.c * fixed for popper compilation with GNU C++ and OpenWatcom on Linux 2005-10-08 12:40 UTC-0300 Rodrigo Moreno <rodrigo_moreno@yahoo.com> * xharbour/contrib/pgsql/postgres.c ! Fixed return problem with lo_import 2005-10-05 15:05 UTC+0100 Ryszard Glab <rglab@imid.med.pl> * source/common/expropt2.c * fixed bug in ASC() optimization (when character code > 127) 2005-10-05 03:08 UTC-0500 David Arturo Macias Corona <dmacias@mail.udg.mx> * harbour/include/hbextern.ch ! added missing declarations: DBRELATION, DBRSELECT, MENUMODAL, _PUSHBUTT_, _LISTBOX_ * harbour/contrib/mysql/tmysql.prg ! added conversion from tiny int MySQL type into numeric DBF. (an error before). Supplied by Mitja Podgornik 2005-09-28 13:05 UTC+0100 Ryszard Glab <rglab@imid.med.pl> * makefile.bc * makefile.nt * makefile.vc * makefile64.nt - removed references to DBFDBT library * source/debug/dbgtmenu.prg * source/debug/dbgtmitm.prg * source/debug/dbgtwin.prg * source/debug/debugger.prg * source/rtl/alert.prg * fixed displaying of boxes under the xterm (use @ ... TO ... instead of @ ... BOX) * source/rtl/gtcrs/gtcrs.c * fixed restoring of alternate characters flag 2005-09-27 15:10 UTC-0800 Luis Krause Mantilla <lkrausem /*at*/ shaw /*dot*/ ca> * harbour/contrib/rdd_ads/adsfunc.c ! added missing functions hb_oemansi & hb_ansioem required with the recent sycn by Ryzard * harbour/contrib/rdd_ads/ads.ch ! updated comment on how to use ADS_REQUIRED_VERSION manifest constant 2005-09-26 12:10 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * xharbour/source/rdd/dbcmd.c ! fixed bug I introduced in RDDLIST() 2005-09-25 21:40 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/harbour.spec * harbour/make_tgz.sh * harbour/bin/hb-func.sh * harbour/bin/pack_src.sh * harbour/config/global.cf * harbour/include/hbapiitm.h * harbour/include/hbdate.h * harbour/include/hbextern.ch * harbour/source/rdd/dbcmd.c * harbour/source/rdd/dbf1.c * harbour/source/rdd/workarea.c * harbour/source/rdd/dbfntx/dbfntx1.c * harbour/source/rtl/dates.c * harbour/source/vm/itemapi.c * updated for proper RDD synchronization with xHarbour * harbour/source/vm/hvm.c ! fixed bug in divide by 0 substitution * harbour/contrib/rdd_ads/ads0.prg * harbour/contrib/rdd_ads/ads1.c * harbour/contrib/rdd_ads/adsfunc.c * harbour/contrib/rdd_ads/rddads.h * synced base of ADS RDD with xHarbour - old code cannot be compiled without it - external ADS*() functions not synced - I do not use them and I do not want to break something - Harbour ADS developers should check it 2005-09-23 15:05 UTC+0100 Ryszard Glab <rglab@imid.med.pl> * include/hbextern.ch * removed reference to SDFC and DELIMC * source/rdd/dbcmd.c * removed definition of DBSKIPPER function (it is defined already in rtl/browdbx.prg) 2005-09-23 13:45 UTC+0100 Ryszard Glab <rglab@imid.med.pl> * makefile.bc * makefile.nt * makefile.vc * makefile64.nt * updated build files for non-GNU make engines 2005-09-23 15:45 UTC+0100 Ryszard Glab <rglab@imid.med.pl> * config/global.cf * include/dbinfo.ch * include/hbapi.h * include/hbapierr.h * include/hbapifs.h * include/hbapirdd.h * include/hbdbf.h * include/hbdbferr.h * include/hbdefs.h * include/hbrddcdx.h * include/hbrdddbf.h * include/hbrdddbt.h * include/hbrdddel.h * include/hbrddfpt.h * include/hbrddntx.h * include/hbrddsdf.h * include/hbrddwrk.h * include/hbvm.h * source/common/hbstr.c * source/rdd/Makefile * source/rdd/dbcmd.c * source/rdd/dbf1.c * source/rdd/dbtotal.prg * source/rdd/delim0.prg * source/rdd/delim1.c * source/rdd/rddsys.prg * source/rdd/sdf0.prg * source/rdd/sdf1.c * source/rdd/workarea.c * source/rdd/dbfcdx/Makefile * source/rdd/dbfcdx/dbfcdx0.prg * source/rdd/dbfcdx/dbfcdx1.c * source/rdd/dbfdbt/Makefile * source/rdd/dbfdbt/dbfdbt1.c * source/rdd/dbffpt/Makefile * source/rdd/dbffpt/dbffpt0.prg * source/rdd/dbffpt/dbffpt1.c * source/rdd/dbfntx/Makefile * source/rdd/dbfntx/dbfntx0.prg * source/rdd/dbfntx/dbfntx1.c * source/rdd/nulsys/nulsys.prg * source/rtl/errorapi.c * source/rtl/filesys.c * source/vm/dynsym.c * source/vm/extend.c * source/vm/itemapi.c * source/vm/hvm.c + include/hbsxfunc.h + source/rdd/dbfcdx/sixcdx0.prg + source/rdd/dbfcdx/sixcdx1.c + source/rdd/hbsix/Makefile + source/rdd/hbsix/sxcompr.c + source/rdd/hbsix/sxcrypt.c + source/rdd/hbsix/sxdate.c + source/rdd/hsx/Makefile + source/rdd/hsx/cftsfunc.c + source/rdd/hsx/hsx.c * changes to synhronize RDD code with xHarbour (state of 23.09.2005) Many, many thanks to Przemek Czerpak for his work. 2005-09-20 10:16 UTC+0100 Viktor Szakats * source/rtl/tget.prg ! One previous fix reverted because it broke numeric data entry. Solved from caller side for the meantime. FIXME added. 2005-08-23 22:01 UTC-0400 Alejandro de Garate <alex_degarate@hotmail.com> + doc\linux1st.txt Added Linux primer written by Scott Johnson 2005-08-23 18:45 UTC-0400 Alejandro de Garate <alex_degarate@hotmail.com> * source\rtl\scrollbr.prg * Fixed length in Style string (more than 4 characters) - Eliminated unused LOCAL vars in Hitest() - Deleted unused method GetColor() + Added METHOD SetStyle( cStyle ) to change SB characters at runtime + Added METHOD SetColor( cColor ) to change SB colors at runtime * fixed bugs, minor optimizations 2005-08-23 18:45 UTC-0400 Alejandro de Garate <alex_degarate@hotmail.com> + tests\sbartest.prg Added sample of scrollbar class 2005-06-14 21:11 UTC+0100 Viktor Szakats * source/rtl/disksphb.c * hb_DiskSpace() changed to not give a runtime error in case of any error, but set the FError() value instead. * config/bsd/global.cf * config/darwin/global.cf * config/dos/global.cf * config/dos/owatcom.cf * config/hpux/global.cf * config/linux/global.cf * config/linux/owatcom.cf * config/os2/dir.cf * config/os2/global.cf * config/os2/install.cf * config/sunos/global.cf * config/w32/global.cf ! Changed all line beginning spaces to Tabs. 2005-06-11 13:01 UTC+0100 Viktor Szakats * source/rtl/idle.c ! Fix to prev. commit. 2005-06-09 18:09 UTC+0100 Viktor Szakats * source/rtl/tget.prg ! :display fixed (again) to always call VarGet block to be CA-Cl*pper compatible. * config/w32/global.cf ! Fixed to properly create the obj directories when compiling using GCC under XP. This broke in the near past. * source/pp/ppcore.c ! Fixed two compiler warnings. ; Please review one of them if you made the change, since I'm not sure what the intention was, here's the code snippet: ... lenreal = IsMacroVar( *ptri, com_or_tra ); /* THIS LINE IS NOW COMMENTED OUT */ *ptri +=1; lenreal = getExpReal( expreal+2, ptri, FALSE, maxlenreal, FALSE ); ... * source/codepage/cdphu852.c ! HU sorting order fixed to be more compatible with CA-Cl*pper. (Still missing some non-852 chars though) * source/common/hbver.c ! Fixed forming NT version number (5.01.2600 -> 5.1.2600) * source/compiler/hbusage.c + Copyright year updated. * source/rtl/idle.c * Cleaned up a platform dependent code part. 2005-06-01 20:30 UTC-0300 Rodrigo Moreno <rodrigo_moreno@yahoo.com> * xharbour/contrib/pgsql/postgres.c ! Add control version for pg74x. 2005-05-25 09:55 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * include/hbver.h * doc/whatsnew.txt * harbour.spec * Release info has been changed for release 45. 2005-05-21 11:45 UTC-0300 Rodrigo Moreno <rodrigo_moreno@yahoo.com> * xharbour/contrib/pgsql/TPostgres.prg + Add 3 new methods, traceOn(), TraceOff(), SetVerbosity() * xharbour/contrib/pgsql/postgres.c + Add New Functions: PQcreatetrace PQclosetrace PQtrace PQuntrace PQseterrorverbosity PQprotocolversion PQserverversion PQclientencoding PQsetclientencoding PQsetdblogin PQdb PQuser PQpass PQhost PQport PQtty PQoptions PQoidvalue PQoidstatus PQbinarytuples PQftable PQftype PQfname PQfmod PQfsize PQgetisnull PQfnumber PQntuples PQnfields PQgetcancel PQcancel PQfreecancel PQsetnonblocking PQisnonblocking lo_Unlink lo_Import lo_Export * xharbour/contrib/pgsql/tests/test.prg * xharbour/contrib/pgsql/tests/async.prg * xharbour/contrib/pgsql/tests/simple.prg + Add more samples of using new functions 2005-05-15 11:04 UTC+0300 Chen Kedem <niki@synel.co.il> * doc/dirstruc.txt + Add oneliner description for: config/hpux 2005-05-15 10:42 UTC+0300 Chen Kedem <niki@synel.co.il> * doc/whatsnew.txt + Add information about the upcoming alpha build 45 written by Alejandro de Garate <alex_degarate@hotmail.com> + Add historic information about the old OpenClipper builds 6, 7, 8 and 9 I had found on Google 2005-05-07 17:01 UTC+0100 Antonio Linares <alinares@fivetechsoft.com> * makefile64.nt + bufferoverflowu.lib added to LDFLAGS as per new Microsoft C 64 compiler (PSDK April 2005) requirement. * hbdate.h * hbapifs.h + HB_EXPORT added to those functions that already were using it, as per new Microsoft C 64 compiler (PSDK April 2005) requirement. 2005-04-29 16:00 UTC+0100 Antonio Linares <alinares@fivetechsoft.com> * makefile64.nt * -D__64__ removed. No longer needed. 2005-04-29 15:54 UTC+0100 Antonio Linares <alinares@fivetechsoft.com> * include/hbinit.h * __64__ changed into Microsoft C 64 built-in _WIN64 2005-04-29 15:46 UTC+0100 Antonio Linares <alinares@fivetechsoft.com> * include/hbdefs.h * fixed for Windows 64, using Microsoft C provided _WIN64 define Changes provided by Przemek. Thanks! :-) 2005-04-29 12:00 Luiz Rafael Culik <culikr@brturbo.com> * source/tip/client.prg * source/tip/smtpcln.prg * source/tip/ftpcln.prg * source/tip/popcln.prg * source/tip/httpcln.prg !added code to create trace of inet functions !all inet* functions call is replace by an method of same name 2005-04-29 07:02 UTC+0100 Antonio Linares <alinares@fivetechsoft.com> * makefile64.nt * __64__ define declared * include/hbinit.h * __64__ define use to detect building for 64-bit when using Microsoft C compiler Please notice that Microsoft C 64 compiler is a cross compiler that works as a 32-bit application, so this is the only way found by now to detect we want to build for 64-bit. 2005-04-29 06:08 UTC+0100 Antonio Linares <alinares@fivetechsoft.com> + make_vc64.bat + makefile64.nt * make files for Microsoft C 64-bit 2005-04-18 00:15 UTC+0100 Antonio Linares <alinares@fivetechsoft.com> * source/rtl/gtwin/gtwin.c * 64-bit support - temporary minor workarounds 2005-04-18 00:10 UTC+0100 Antonio Linares <alinares@fivetechsoft.com> * include/hbdefs.h * fixed typo on used USHORT_MAX instead of USHRT_MAX as per advise from Przemek. 2005-04-18 22:52 UTC+0100 Antonio Linares <alinares@fivetechsoft.com> * include/hbstack.h * two minor changes required for 64-bit support as per advise from Przemek. It is a general solution for the fix implemented yesterday. 2005-04-17 ??:?? UTC+0100 Antonio Linares <alinares@fivetechsoft.com> * source/vm/hvm.c * minor change required for 64-bit support. 2005-03-18 11:45 UTC+0100 Ryszard Glab <rglab@imid.med.pl> * config/dos/global.cf *restored creation of subdirectiories under plain DOS * include/hbapi.h * include/hbcomp.h * include/hbdefs.h * include/hbvm.h * source/compiler/genc.c * source/compiler/harbour.c * source/compiler/hbpcode.c * source/vm/dynsym.c * source/vm/hvm.c * source/vm/macro.c *modified creation of symbols table *symbol of function name never share a symbol of variable *symbol for INIT/EXIT procedure has now '$' suffix - this means that such procedures cannot be called from user code (Clipper compatible) See the following code: PROCEDURE MAIN aaa() RETURN INIT PROCEDURE aaa ? "In INIT procedure", PROCNAME(0) RETURN STATIC PROCEDURE aaa ? "In STATIC procedure", PROCNAME(0) RETURN It will print: In INIT procedure aaa$ In STATIC procedure aaa *fixed access to static functions in a macro compiler (symbols for static functions never goes into dynamic symbols table) * source/pp/ppcore.c *increased numer of nested optional clauses (max 5 currently - work in progress) 2005-03-12 12:20 UTC-0300 Rodrigo Moreno <rodrigo_moreno@yahoo.com> * xharbour/contrib/pgsql/TPostgres.prg ! Fixed bug with ValueToString, thanks to Marco Aurelio. 2005-03-01 12:00 UTC-0300 Rodrigo Moreno <rodrigo_moreno@yahoo.com> + xharbour/contrib/pgsql/postgres.c ! Add new function to handle binary escape string/quoted strings 2005-02-16 13:52 UTC+0100 Antonio Linares <alinares@fivetechsoft.com> * source/vm/classes.c hb_objGetpMethod() compiled as extern "C" for MSVC compatibility with xHarbour 2005-02-08 12:00 UTC-0300 Rodrigo Moreno <rodrigo_moreno@yahoo.com> * xharbour/contrib/pgsql/TPostgres.prg ! Fixed bug in Append Method, regarding where clause, thanks to Marco Aurelio. 2005-02-02 11:45 UTC-0300 Rodrigo Moreno <rodrigo_moreno@yahoo.com> * xharbour/contrib/pgsql/TPostgres.prg ! Add Destroy Methods 2005-02-01 21:05 UTC+0100 Tomaz Zupan <tomaz/at/orpo.si> * harbour.spec Returned optimization to O3. Problems with Mandrake/gcc are fixed in Mdk 10.1 with gcc 3.4. (see ChangeLog 2004-07-18 19:50 UTC+0200 Tomaz Zupan) 2005-02-01 20:40 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/memvars.c * fixed public releasing - fix borrowed from xHarbour Ryszard please check if it doesn't cause any bad side effects. The following code demonstrate the problem. =========================================== memvar x, y, z proc main() local l := { || x } public x := "QWE" private z := "asd" Errorblock( { | oError | errHandler( oError ) } ) ? eval( l ) test() ? x ? z ? eval( l ) return proc test() private y := "xyz" release x, y, z ? x ? y ? z return func errHandler( oErr ) local varName := oErr:operation() public &varName := oErr:description() + ": " + varName return .t. =========================================== 2005-01-31 20:35 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rdd/dbf1.c * fixed possible GPF I introduced with last update. 2005-01-30 22:10 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/rdd_ads/ace.h * small modification for OpenWatcom on Linux * harbour/source/rdd/dbfntx/dbfntx1.c * minor fix: use *_GOTO( pArea, 0 ) instead of *_GOTO( pArea, pArea->ulRecCount+1000 ) + use hb_fsSeekLarge() - for DBFs longer then 2 GiB * harbour/include/hbrddcdx.h * harbour/source/rdd/dbfcdx/dbfcdx1.c + use hb_fsSeekLarge() - for DBFs longer then 2 GiB * my last xHarbour modifications: improved indexing speed of DBFs with very big number of records. In small DBFs less then 100'000 records the new algorithm can even decrease the speed by ~0.5% due to static costs but in bigger it becomes faster. For 1'000'000 records DBFs is about 20% faster, for 10'000'000 records about twice faster. With bigger DBFs more. Please test it. If you will have any troubles (I hope not) then please comment out in dbfcdx.c: #define HB_CDX_NEW_SORT I should done it before when I was rewriting the indexing but sorry I was too lazy. Now I've found a while. Current cost of key comparisons is always n*log2(n) and cannot be more improved. Some small optimizations still can be done but the static cost for small database will be bigger then ~0.5% as in this case so I do not plan to do it in the nearest future. * harbour/include/dbinfo.ch * harbour/source/rdd/dbf1.c + use hb_fsSeekLarge() - for DBFs longer then 2 GiB * synched with xHarbour (added DBRI_RAW*) * do not call GOCOLD() inside CHILDSYNC() but do it in FORCEREL() the modification based on CL5.3 NG. Below is a note I lef in dbf1.c: /* * !!! The side effect of calling GOCOLD() inside CHILDSYNC() is * evaluation of index expressions (index KEY and FOR condition) * when the pArea is not the current one - it means that the * used RDD has to set proper work area before eval, DBFCDX does * but DBFNTX not yet - it should be changed. * IMHO GOCOLD() could be safely removed from this place but I'm not * sure it's Clipper compatible - I will have to check it, Druzus. */ /* * I've checked in CL5.3 Technical Reference Guide that only * FORCEREL() should ensure that the work area buffer is not hot * and then call RELEVAL() - I hope it describes the CL5.3 DBF* RDDs * behavior so I replicate it - the GOCOLD() is moved from CHILDSYNC() * to FORCEREL(), Druzus. */ * harbour/source/rdd/dbf0.prg * harbour/source/rdd/delim0.prg * harbour/source/rdd/rddsys.prg * harbour/source/rdd/sdf0.prg * harbour/source/rdd/dbfntx/dbfntx0.prg * formatting (adding EOL at EOF) * harbour/include/hbapifs.h * harbour/source/rtl/filesys.c * added hb_fsLockLarge() and hb_fsSeekLarge() which uses 64-bit ofsets * harbour/source/rdd/workarea.c * set current work area to the used one in EVALBLOCK RDD method before code block evaluation * harbour/source/vm/harbinit.prg * harbour/source/vm/hvm.c + added hb_vmDoInitClip() which calls CLIPINIT function to initialize ErrorBlock() and __SetHelpK() Because on some platform the execution order of init functions is out of Harbour control then CLIPINIT has to be called explicitly in VM initialization process before hb_vmDoInitFunctions() and do not depends on INIT clause. * small modification in VM loop which gives noticeable speed-up 2005-01-23 09:05 UTC+0100 Antonio Linares <alinares@fivetechsoft.com> * makefile.nt + hbverdsp.obj module added to makefile.nt 2005-01-22 23:40 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbfntx/dbfntx1.c ! Yet another rare bug fixed. 2005-01-22 19:55 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbfntx/dbfntx1.c ! Bug fixed, which oocured in some rare situations while record updating. 2005-01-13 09:35 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/mod.c ! fixed mod() function to be Clipper/DBASE III compatible (not the % operator) for combination of psitive and negative numbers 2005-01-13 08:15 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) + harbour/include/hbfixdj.h + I missed to add this file in my last commit - it's borrowed from xHarbour. * harbour/source/rtl/filesys.c ! fixed DJGPP compilation I broke 2005-01-12 23:45 UTC-0300 Rodrigo Moreno <rodrigo_moreno@yahoo.com> + xharbour/contrib/pgsql/postgres.c ! Add new function to handle escape string/quoted strings 2005-01-12 18:25 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/hbgtmk.sh * harbour/make_rpm.sh * harbour/harbour.spec * added flex to dependences * added --without gpl swich to exclude code which needs 3rd party GPL libs (GPM, SLANG) - necessary for people who want to create commercial closed source application * harbour/make_gnu.sh * modified DJGPP detection - try to use env var first * set HB_GT_LIB depending on platform information * check PREFIX env var for default installation * harbour/make_tgz.sh * modified to work with DJGPP and 8.3 file names * harbour/bin/hb-func.sh * DJGPP support * harbour/bin/pack_src.sh * autodetect Harbour version number * harbour/config/linux/gcc.cf * added small comment + harbour/config/linux/owatcom.cf + OpenWatcom support on Linux * harbour/config/w32/global.cf * harbour/config/w32/mingw32.cf * small modification in clean procedure + added Phil's modification for MINGW cross compilation in Linux and BSD * harbour/source/compiler/gencobj.c + added Phil's modification for MINGW cross compilation in Linux and BSD * harbour/include/hbsetup.h * added OS_HAS_DRIVE_LETTER, OS_PATH_DELIMITER_STRING, OS_FILE_MASK, OS_DRIVE_DELIMITER and HOST_OS_UNIX_COMPATIBLE * modified for OW on Linux and MINGW cross compilation * added snprintf macro for compilers which do not support it * harbour/source/rtl/mod.c ! fixed bug in mod(a,b) when a/b exceeds LONG limit * harbour/source/rtl/filesys.c * removed HB_FS_DRIVE_LETTER - use OS_HAS_DRIVE_LETTER * modified for OW on Linux and MINGW cross compilation * harbour/contrib/libct/files.c * harbour/include/hb_io.h * harbour/include/hbdefs.h * harbour/source/rtl/diskspac.c * harbour/source/rtl/disksphb.c * harbour/source/rtl/fssize.c * harbour/source/rtl/fstemp.c * harbour/source/rtl/hbffind.c * harbour/source/rtl/net.c * harbour/source/rtl/seconds.c * harbour/source/rtl/gtcrs/Makefile * harbour/source/rtl/gtcrs/kbdcrs.c * harbour/source/rtl/gtpca/gtpca.c * harbour/source/rtl/gtsln/Makefile * harbour/source/rtl/gtsln/gtsln.c * harbour/source/rtl/gtsln/kbsln.c * harbour/source/rtl/gtstd/gtstd.c * harbour/source/vm/hvm.c * harbour/source/vm/mainstd.c * harbour/source/vm/mainwin.c * modified for OW on Linux and MINGW cross compilation * harbour/source/vm/memvars.c - removed unnecessary checking for s_globalTable == NULL in hb_memvarValueDecRef() - in Harbour it cannot happen * harbour/source/vm/itemapi.c - removed snprintf macros (see hbsetup.h) * fixed possible GPF in hb_itemCopyC() * modified hb_itemGetPtr() to check item type 2005-01-06 12:15 UTC+0100 Ryszard Glab <rglab@imid.med.pl> * source/pp/ppcore.c * defined pseudo-functions' parameters are case sensitive now (this fixes bug #define F( n ) FF( n, N ) ) 2005-01-03 14:15 UTC+0100 Ryszard Glab <rglab@imid.med.pl> * include/hbexprb.c * source/compiler/exproptb.c * source/macro/macrob.c * fixed to compile with SIMPLEX defined Notice: Simplex version is not updated for a long time and it doesn't support all fixes from FLEX version 2005-01-03 10:30 UTC+0100 Ryszard Glab <rglab@imid.med.pl> * include/hbcomp.h * include/hbexprb.c * include/hbmacro.h * source/compiler/exproptb.c * source/compiler/harbour.c * source/compiler/hbgenerr.c * source/macro/macrob.c * source/vm/macro.c * compiler reports error on the following syntax now (Clipper compatibility): {|| ¯ovar <operator> anysymbol} "codeblock contains both macro and declared symbol reference" Notice, that Clipper reports error even in this case: MEMVAR mvar {|| &mvar,mvar} * source/vm/memvars.c * restored initial and expand sizes for memvars table * source/pp/ppcore.c * some empty lines added 2004-12-27 10:37 UTC+0100 Ryszard Glab <rglab@imid.med.pl> * source/vm/memvars.c * changed algorithm for recycling of unused memvar values - thanks to Przemek 2004-12-31 06:16 UTC-0800 Luis Krause Mantilla <lkrausem /*at*/ shaw /*dot*/ ca> * harbour/source/codepage/cdpesmwi.c ! the init values were set to ESWIN instead of ESMWIN Somehow my original entry was obliterated from the changelog as well as my original commit of cdpesmwi.c: 2004-12-29 18:24 UTC-0800 Luis Krause Mantilla <lkrausem /*at*/ shaw /*dot*/ ca> * hrbdll.bc * hrbdll.vc * makefile.bc * makefile.nt * makefile.vc ! Added missing/new files from source/codepage/*.c & source/lang/*.c + source/codepage/cdpesmwi.c + Added Spanish Modern codepage 2004-12-31 12:35 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapicdp.h * harbour/source/codepage/cdp_tpl.c * harbour/source/codepage/cdpeldos.c * harbour/source/codepage/cdpelwin.c * harbour/source/codepage/cdpesdos.c * harbour/source/codepage/cdpeswin.c * harbour/source/codepage/cdpgedos.c * harbour/source/codepage/cdpgewin.c * harbour/source/codepage/cdphu852.c * harbour/source/codepage/cdphuwin.c * harbour/source/codepage/cdppl852.c * harbour/source/codepage/cdppliso.c * harbour/source/codepage/cdpplmaz.c * harbour/source/codepage/cdpplwin.c * harbour/source/codepage/cdppt850.c * harbour/source/codepage/cdpptiso.c * harbour/source/codepage/cdpru866.c * harbour/source/codepage/cdprukoi.c * harbour/source/codepage/cdpruwin.c * harbour/source/codepage/cdpsl437.c * harbour/source/codepage/cdpsl852.c * harbour/source/codepage/cdpsliso.c * harbour/source/codepage/cdpslwin.c * harbour/source/codepage/cdpsrwin.c * harbour/source/rtl/cdpapi.c * fix memory leak reported for accented and multi byte CPs + harbour/source/codepage/cdpesmwi.c * added missing Spanish modern CP * harbour/include/hbstack.h * harbour/include/hbapiitm.h * harbour/source/vm/estack.c * harbour/source/vm/itemapi.c + added hb_stackReturnItem() - removed hb_itemReturnPtr() * harbour/source/rdd/workarea.c ! fixed possible restoring of scopes in scoped relations after 'SET RELATION TO' * harbour/source/rdd/dbfcdx/dbfcdx1.c * harbour/source/rdd/dbfdbt/dbfdbt1.c * harbour/source/rdd/dbffpt/dbffpt1.c * use hb_stackReturnItem() instead of direct stack accessing * harbour/source/rdd/dbfntx/dbfntx1.c ! Fixed opening NTX file in ReadOnly mode * use hb_stackReturnItem() instead of direct stack accessing * harbour/source/rtl/filesys.c * cleaned unnecessary initialization * harbour/source/vm/memvars.c * formatting and small fix for calling GC after hb_memvarsRelease() 2004-12-28 11:35 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/samples/dbf.c * harbour/contrib/samples/time.c * harbour/source/compiler/genc.c * harbour/source/compiler/gencli.c * harbour/source/rdd/dbcmd.c * harbour/source/rtl/accept.c * harbour/source/rtl/errorapi.c * harbour/source/vm/hvm.c * harbour/source/vm/initsymb.c * harbour/source/vm/macro.c * harbour/source/vm/memvclip.c * changed 'extern HB_FUNC' to HB_FUNC_EXTERN for easier ABI manipulations 2004-12-28 10:30 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/harbour.spec * harbour/hbgtmk.sh * harbour/make_rpm.sh * harbour/bin/pack_src.sh * updated for recent changes in make process * harbour/contrib/Makefile * added odbc lib for Linux compilation * harbour/contrib/btree/Makefile * changed lib name from hb_btree to hbtree * harbour/contrib/btree/hb_btree.api * harbour/contrib/btree/hb_btree.c * fixed GCC compilation in HB_TR_DEBUG mode * harbour/contrib/hbzlib/hbzip.h * harbour/contrib/hbzlib/include/hbzip.h * harbour/include/hbapi.h * harbour/include/hbapicdp.h * harbour/include/hbapierr.h * harbour/include/hbapifs.h * harbour/include/hbapigt.h * harbour/include/hbapiitm.h * harbour/include/hbapilng.h * harbour/include/hbapirdd.h * harbour/include/hbcomp.h * harbour/include/hbdate.h * harbour/include/hbdbsort.h * harbour/include/hberrors.h * harbour/include/hbexprb.c * harbour/include/hbexprop.h * harbour/include/hbhash.h * harbour/include/hbinit.h * harbour/include/hbmacro.h * harbour/include/hbpp.h * harbour/include/hbrdddel.h * harbour/include/hbrddntx.h * harbour/include/hbrddsdf.h * harbour/include/hbrddwrk.h * harbour/include/hbset.h * harbour/include/hbstack.h * harbour/include/hbtrace.h * harbour/include/hbvm.h * harbour/include/hbvmpub.h * changed #if defined (HB_EXTERN_C) to HB_EXTERN_BEGIN / HB_EXTERN_END macros for easier manipulation with different ABI * added HB_IS_BADITEM() macro for debugging * synced CDP with xHarbour - added basic Unicode support * synced RDD with xHarbour * harbour/source/codepage/Makefile * harbour/source/codepage/cdp_tpl.c * harbour/source/codepage/cdpeldos.c * harbour/source/codepage/cdpelwin.c * harbour/source/codepage/cdpesdos.c * harbour/source/codepage/cdpeswin.c * harbour/source/codepage/cdpgedos.c * harbour/source/codepage/cdpgewin.c * harbour/source/codepage/cdphu852.c * harbour/source/codepage/cdphuwin.c * harbour/source/codepage/cdppl852.c * harbour/source/codepage/cdppliso.c * harbour/source/codepage/cdpplmaz.c * harbour/source/codepage/cdpplwin.c * harbour/source/codepage/cdppt850.c * harbour/source/codepage/cdpptiso.c * harbour/source/codepage/cdpru866.c * harbour/source/codepage/cdprukoi.c * harbour/source/codepage/cdpruwin.c * harbour/source/codepage/cdpsl437.c * harbour/source/codepage/cdpsl852.c * harbour/source/codepage/cdpsliso.c * harbour/source/codepage/cdpslwin.c * harbour/source/codepage/cdpsrwin.c + harbour/source/codepage/uc1250.c + harbour/source/codepage/uc1251.c + harbour/source/codepage/uc1253.c + harbour/source/codepage/uc1257.c + harbour/source/codepage/uc737.c + harbour/source/codepage/uc850.c + harbour/source/codepage/uc852.c + harbour/source/codepage/uc866.c + harbour/source/codepage/uc88591b.c + harbour/source/codepage/uc8859_1.c + harbour/source/codepage/uc8859_2.c + harbour/source/codepage/uckoi8.c + harbour/source/codepage/uckoi8u.c + harbour/source/codepage/ucmaz.c * harbour/source/rtl/cdpapi.c * synced HB CDP API with xHarbour - added basic Unicode support * harbour/source/common/expropt2.c * harbour/source/common/hbstr.c * removed unnecessary initialization to avoid BCC warnings * harbour/source/compiler/harbour.c * formatting hb_compCodeBlockStop() looks like work in progress or is has some old unused code - Ryszard, can you look at it? * harbour/source/macro/macro.y * removed hack for GCC and old Bison versions * harbour/source/pp/ppcore.c * removed unnecessary initialization to avoid BCC warnings * harbour/source/pp/pptable.c + added some sets for RDD synchronization with xHarbour * harbour/source/rdd/dbcmd.c + added __RDDGETTEMPALIAS * harbour/source/rdd/dbf1.c * harbour/source/rdd/dbfuncs.prg * harbour/source/rdd/dbnubs.c * harbour/source/rdd/dbstrux.prg * harbour/source/rdd/hbdbsort.c * harbour/source/rdd/rddord.prg * harbour/source/rdd/workarea.c * harbour/source/rdd/dbfcdx/dbfcdx1.c * harbour/source/rdd/dbfdbt/dbfdbt1.c * harbour/source/rdd/dbffpt/dbffpt1.c * harbour/source/rdd/dbfntx/dbfntx1.c * synchronized with xHarbour - still dbcmd.c has to be synced yet ! fixed all known bugs Alexander, please look at DBFNTX - I hope all is correct. * harbour/source/vm/codebloc.c * formatting * harbour/source/vm/fm.c + added HB_PARANOID_MEM_CHECK to force reallocations in hb_xrealloc and fill allocated and freed memory with HB_MEMFILER (0xff by default) It's for debugging only. * harbour/source/vm/hvm.c ! fixed hb_vmTopNumber() declaration for BCC * use hb_gcCollectAll() at HVM exit instead of hb_gcReleaseAll() to report allocated and not freed items - It could caused that some programs begin to report memory leaks. * harbour/source/vm/itemapi.c * check for HB_IS_BADITEM inside hb_itemClear() when compiled with HB_PARANOID_MEM_CHECK for debugging * harbour/source/vm/memvars.c * formatting ! fixed pItem initialization in hb_memvarDetachLocal() BTW - is this really necessary? I copy it form hb_itemUnRef() but in fact it cannot detect all possible item reference cycles if they appear - can they appear? 2004-12-27 10:37 UTC+0100 Ryszard Glab <rglab@imid.med.pl> * source/vm/memvars.c * changed algorithm for recycling of unused memvar values - thanks to Przemek 2004-12-24 07:47 UTC+0100 Ryszard Glab <rglab@imid.med.pl> * include/hbapi.h * source/vm/codebloc.c * source/vm/itemapi.c * source/vm/memvars.c * fixed memvars and detached locals handling related to reallocation of memvar's buffer and detaching of locals in a loop - thanks to Przemek * source/vm/debug.c *removed diagnostic hb_dbgstop() 2004-12-24 07:47 UTC+0100 Ryszard Glab <rglab@imid.med.pl> * include/hbapi.h * source/vm/codebloc.c * source/vm/itemapi.c * source/vm/memvars.c * fixed memvars and detached locals handling related to reallocation of memvar's buffer and detaching of locals in a loop - thanks to Przemek * source/vm/debug.c *removed diagnostic hb_dbgstop() 2004-12-20 05:00 UTC-0500 David G. Holm <dholm@jsd-llc.com> * config/global.cf * config/bsd/gcc.cf * config/bsd/global.cf * config/darwin/gcc.cf * config/darwin/global.cf * config/dos/bcc16.cf * config/dos/djgpp.cf * config/dos/global.cf * config/dos/owatcom.cf * config/dos/rsx32.cf * config/dos/watcom.cf * config/hpux/gcc.cf * config/hpux/global.cf * config/linux/gcc.cf * config/linux/global.cf * config/os2/gcc.cf * config/os2/global.cf * config/os2/icc.cf * config/sunos/gcc.cf * config/sunos/global.cf * config/w32/bcc32.cf * config/w32/gcc.cf * config/w32/global.cf * config/w32/mingw32.cf * config/w32/msvc.cf * config/w32/rsxnt.cf * config/w32/watcom.cf * Changed ARCH variable to HB_ARCH due to a conflict with a permanent, non-replacable FreeBSD 5.3 environment variable with the same name. 2004-12-16 13:32 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/make_gnu.sh * harbour/make_tgz.sh * fixed HPUX detection * harbour/bin/hb-func.sh * late GTK lib checking for -xbgtk switch in hb* scripts * harbour/contrib/btree/hb_btree.api * harbour/contrib/btree/hb_btree.c * harbour/contrib/libnf/chdir.c * harbour/contrib/libnf/dispc.c * harbour/contrib/libnf/ftint86.ch * harbour/contrib/libnf/getver.c * harbour/contrib/libnf/mkdir.c * harbour/contrib/libnf/proper.c * harbour/contrib/libnf/rmdir.c * casting and small fixes for OpenWatcom compilation * harbour/include/hbdefs.h * force big endian if not detected automatically for HPUX * harbour/source/vm/itemapi.c * HPUX uses isfinite() not finite() * harbour/source/vm/memvars.c ! fixed endian dependent code 2004-12-15 10:00 UTC-0300 Rodrigo Moreno <rodrigo_moreno@yahoo.com> + xharbour/contrib/pgsql/postgres.c ! Add new functions to handle the result of affected rows + xharbour/contrib/pgsql/TPostgres.prg ! Add new property, rows 2004-12-14 01:15 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rdd/dbfcdx/dbfcdx1.c * minor modifications of some static function names 2004-12-14 01:00 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/extend.c * harbour/source/vm/itemapi.c * fixed some minor typos in GCC hack + added missing hb_parnint() 2004-12-12 22:00 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/make_gnu.sh + added platform autodetection if HB_ARCHITECTURE not set and choosing the preferred compiler if HB_COMPILER not set + added new platforms (Darwin, SunOS, BSD, HPUX) for info descriptions - I do not want to decide if this should be also added for make_gnu.bat, make_gnu.cmd because these files cannot be used for this platforms. Now make_bsd.sh and make_drw.sh are redundant - we should decide if they should be kept in CVS or removed * harbour/make_tgz.sh + added platform autodetection if HB_ARCHITECTURE not set and choosing the preferred compiler if HB_COMPILER not set * harbour/contrib/Makefile * changed the list of compiled contrib libs - now there is a list of some default libs which can be compiled for all platforms and only the chosen ones are added for some platforms - it will be easier to manage because the number of supported platforms is growing up. Please check if it will work for other platforms/compilers. 2004-12-12 02:55 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) + harbour/config/hpux/dir.cf + harbour/config/hpux/gcc.cf + harbour/config/hpux/global.cf + harbour/config/hpux/install.cf * Marcelo's files build files for HPUX borrowed from xHarbour * harbour/bin/hb-func.sh * harbour/bin/hb-mkslib.sh * harbour/bin/postinst.sh * recent Phil's changes for Darwin and some of mine modifications and cleanups * harbour/include/Makefile + added some missing header files * harbour/include/hbapi.h + added HB_ITEM_{GET|PUT}_NUMINTRAW() macros + added hb_objGetClass() * harbour/include/hbdefs.h * redefined multi commands macros to use do {...} while(0) for safe use in any of C statement + added HB_OS_HPUX * harbour/include/hbsetup.h + added HB_OS_HPUX * harbour/include/hbstack.h * hb_stackDec(), hb_stackPop(), hb_stackPush() redefined also as macros when HB_STACK_MACROS is set + added function hb_stackIncrease() * harbour/source/common/hbstr.c * fixed possible buffer overflow * harbour/include/hbrdddbf.h * harbour/source/rdd/dbf1.c * harbour/source/rdd/workarea.c * harbour/source/rdd/dbfcdx/dbfcdx1.c * harbour/source/rdd/dbfdbt/dbfdbt1.c * harbour/source/rdd/dbffpt/dbffpt1.c * my recent fixes in xHarbour * harbour/source/rtl/copyfile.c * small fix to error message * harbour/source/rtl/idle.c + added HB_IDLESLEEP() and void hb_idleSleep( double dSeconds ) * harbour/source/rtl/isprint.c * use hb_xgrab()/hb_xfree() instead of malloc()/free() * harbour/source/rtl/run.c * added __WATCOMC__ to C compilers supporting system() * harbour/source/vm/arrays.c * cleaned hb_arrayFromStack(), hb_arrayFromParams() * harbour/source/vm/arrayshb.c * small fixes to error messages ! improved Clipper compatibility in AFILL() * harbour/source/vm/asort.c * separate entry for integer items - conversion to double may damage big 64-bit numbers * harbour/source/vm/classes.c + added USHORT hb_objGetClass( PHB_ITEM pItem ) * harbour/source/vm/dynsym.c ! fixed accessing to uninitialized memory * harbour/source/vm/estack.c + added hb_stackIncrease() and modification for new stack macros * harbour/source/vm/hvm.c * fixed some error messages * some speed improvements * harbour/source/vm/itemapi.c * some small optimizations * harbour/utils/hbtest/rt_misc.prg * modified file name conversions test results for __PLATFORM__UNIX 2004-10-31 01:55 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/compiler/cmdcheck.c * replaced some free by hb_xfree * harbour/source/compiler/genc.c * replace non ID characters in name of local symbol table by '_' * harbour/bin/hb-func.sh * set proper X11 path for mixed (32/64-bit) systems 2004-10-24 20:10 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/config/bsd/global.cf + added suppot for HB_COMMERCE and HB_WITHOUT_GTSLN env vars * harbour/source/compiler/Makefile * formating * harbour/include/hbdefs.h * harbour/source/vm/fm.c * harbour/source/vm/garbage.c + added macro HB_ALLOC_ALIGNMENT which forces allocated memory alignment in FM and GC modules to given value - by default used only when set HB_OS_SUNOS with 8 bytes alignment 2004-10-23 02:50 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/postinst.sh * changed install command syntax for Solaris compatibility * harbour/include/hbdefs.h * minor formating * harbour/source/vm/fm.c + overwrite HB_MEMINFO_SIGNATURE with 0 in hb_xfree() for detection redundant hb_xfree() call with the same pointer * harbour/source/rtl/spfiles.c * set the real path in second parameter of RetPath even when hb_spFiles fails to avoid race condition * harbour/source/vm/hvm.c ! set proper decimal value in hb_vmDivide when the integer results is converted into double ! commented out integer division optimization at runtime for Clipper compatibility 2004-10-20 17:20 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/pp/ppcore.c + added predefined macro __PLATFORM__UNIX for all *nix compatible systems * harbour/contrib/dot/pp.prg * harbour/source/pp/ppcore.c * harbour/utils/hbtest/hbtest.prg * harbour/utils/hbtest/rt_misc.prg * replaced __PLATFORM__Linux with __PLATFORM__UNIX * harbour/harbour.spec ! fixed stripping script files * harbour/source/rdd/dbfntx/dbfntx1.c ! fixed casting 2004-10-20 12:00 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbcmd.c ! Fixed a small bug in ordListAdd() function - there was a memory leak if the index name is wrong. 2004-10-20 09:41 UTC+0200 Chen Kedem <niki@synel.co.il> * makefile.bc + Add the missing Greek language and codepage files * doc/dirstruc.txt + Add oneliner description for: config/darwin, config/sunos 2004-10-20 07:00 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbdefs.h + added macros HB_{PUT|GET}_{LONG|PTR} * changed HB_CAST_BYTE_NUMBERS_OFF to HB_STRICT_ALIGNMENT * harbour/source/vm/fm.c * harbour/source/vm/hvm.c * harbour/source/vm/macro.c * replaced code which made pointer casting without respecting machine alignment with proper macros 2004-10-19 22:25 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/hb-func.sh * changed 'sed' and 'tr' expresions to be compatible with SunOS + added Darwin dynlib support borrowed from xHarbour thanks to Phil Krylov * harbour/bin/hb-mkslib.sh * minor modification * harbour/bin/postinst.sh * harbour/config/darwin/gcc.cf + Phil's modification for Darwin * removed HB_OS_BSD and HB_BIG_ENDIAN - the first macro is set in hbsetup.h when HB_OS_DARWIN is set, the second one should be automatically detected inside hbdefs.h using C header files. * harbour/config/sunos/gcc.cf * removed HB_BIG_ENDIAN macro - the same as above * harbour/include/hbapi.h * harbour/source/vm/fm.c * changed 16/32-bit hack #if UINT_MAX == ULONG_MAX for hb_xmem*() functions to still not perfect but working on current platforms #if UINT_MAX > USHRT_MAX * harbour/include/hbdefs.h + added HB_DBL_LIM_INT24(d) and HB_LIM_INT24(l) macros + try to autodect byte order using information form system C header files - it whoud work for Linux, BSD/Darwin, SunOS - maybe also for some other *nixes * removed some dangerous casting. [x]Harbour code still depnds on 8 bytes double - in CDX for binary compatibility IEEE754 double is necessary - if some architectures uses differ type of double value for binary compatibility we will have to create proper conversion functions for HB_{PUT|GET}_{LE|BE}_DOUBLE and HB_ORD2DBL/HB_DBL2ORD macros * harbour/include/hbsetup.h * define HB_OS_UNIX when HB_OS_SUNOS set * harbour/source/common/hbstr.c * harbour/source/pp/ppcore.c * casting * harbour/source/compiler/harbour.c * use HB_LIM_INT*() macros instead of hard coded values * removed some unnecessary if () statement - always true * harbour/source/compiler/harbour.l * harbour/source/compiler/hbfix.c * harbour/source/vm/macro.c * use HB_LIM_INT*() macros instead of hard coded values * harbour/source/rdd/dbfcdx/dbfcdx1.c ! minor fix * harbour/source/rdd/dbfntx/dbfntx1.c ! small fix - the temporary index file was not removed * do not force any name for temporary index files - important in some cases (like DOS and short file names) * harbour/source/rtl/diskspac.c ! fixed type in SunOS version * harbour/source/rtl/gtsln/Makefile * minor cleanups * harbour/utils/hbtest/rt_math.prg * changed to number results to be Clipper compatible. 2004-10-14 21:30 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/hb-func.sh * harbour/bin/pack_src.sh + harbour/config/sunos/dir.cf + harbour/config/sunos/gcc.cf + harbour/config/sunos/global.cf + harbour/config/sunos/install.cf + added SunOS support * harbour/config/darwin/gcc.cf * small modification for nicer work with OS-X installed on SF compile farm - I'm not Darwin user and SF is the only one place I can make tests - if someone may fix me and leave some comments 'why?' it will be nice. * harbour/contrib/Makefile * exclude ADS RDD from Darwin build * harbour/contrib/rdd_ads/adsfunc.c * some minor modification to avoid compiler warnings. * harbour/include/hbdefs.h * fixed typo in HB_PUT_LE_DOUBLE() macro for big endian machines. * harbour/source/compiler/genc.c ! fixed endian dependend code I left by mistake * harbour/source/compiler/harbour.c * harbour/source/compiler/harbour.sly * harbour/source/compiler/harbour.y ! commented out hb_compSequenceFinish() * harbour/source/pp/ppcore.c + added ( void * ) size as result of __ARCH{16,32,64}BIT__ and __{LITTLE,BIG,PDP}_ENDIAN__ macros * harbour/source/pp/pragma.c ! fixed possible string overflow * harbour/source/vm/itemapi.c * harbour/source/rtl/diskspac.c * harbour/source/rtl/disksphb.c * harbour/source/rtl/fstemp.c * harbour/source/rtl/idle.c * harbour/source/rtl/math.c * harbour/source/rtl/gtcrs/Makefile * harbour/source/rtl/gtcrs/gtcrs.c * harbour/source/rtl/gtcrs/kbdcrs.c * harbour/source/rtl/gtcrs/mousecrs.c * modified for SunOS and Darwin support. 2004-10-14 10:00 UTC-0300 Rodrigo Moreno <rodrigo_moreno@yahoo.com> - xharbour/contrib/pgsql/TPostgres.prg ! Removed function removespaces. It's not necessary remove unused spaces in query. 2004-10-12 02:35 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/makefile.bc * updated for recent changes by Jacek Kubica - thanks. 2004-10-12 01:10 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbdefs.h * harbour/source/rdd/dbf1.c * harbour/source/rdd/workarea.c * harbour/source/rdd/dbfcdx/dbfcdx1.c * foramting some // replaced by /* */ * adding some missing extensions I haven't ported fully in xHarbour * harbour/source/vm/maindllp.c * fixed Windows compilation The BCC and MSC make fiels have to be updated to the folowing changes: - harbour/contrib/libct/invertwin.prg + harbour/contrib/libct/invrtwin.prg - harbour/source/common/hbffind.c + harbour/source/common/hbverdsp.c - harbour/source/rdd/dbfcdx/dbfcdx1.h + harbour/source/rtl/hbffind.c 2004-10-11 21:40 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/Makefile + harbour/make_bsd.sh + harbour/make_drw.sh * harbour/make_tgz.sh + harbour/bin/hb-func.sh * harbour/bin/pack_src.sh + harbour/bin/postinst.bat + harbour/bin/postinst.sh * harbour/config/dir.cf * harbour/config/bsd/gcc.cf * harbour/config/bsd/global.cf + harbour/config/darwin/dir.cf + harbour/config/darwin/gcc.cf + harbour/config/darwin/global.cf + harbour/config/darwin/install.cf * harbour/config/dos/dir.cf * harbour/config/dos/global.cf * harbour/config/dos/install.cf * harbour/config/dos/owatcom.cf * harbour/config/dos/watcom.cf * harbour/config/linux/gcc.cf * harbour/config/linux/global.cf * harbour/contrib/Makefile * harbour/contrib/dot/pp_harb.ch * harbour/contrib/libct/Makefile * harbour/contrib/libct/bit1.c * harbour/contrib/libct/bit2.c * harbour/contrib/libct/bit3.c * harbour/contrib/libct/files.c * harbour/contrib/libct/ftoc.c - harbour/contrib/libct/invertwin.prg + harbour/contrib/libct/invrtwin.prg * harbour/contrib/libct/keyset.c * harbour/contrib/libct/makefile.bc * harbour/contrib/libmisc/dates2.c * harbour/contrib/rdd_ads/ads1.c * harbour/contrib/rdd_ads/adsfunc.c * harbour/contrib/samples/date.c * harbour/include/dbinfo.ch * harbour/include/hbapi.h * harbour/include/hbapicdp.h * harbour/include/hbapifs.h * harbour/include/hbapigt.h * harbour/include/hbapiitm.h * harbour/include/hbcomp.h * harbour/include/hbdate.h * harbour/include/hbdbf.h * harbour/include/hbdbferr.h * harbour/include/hbdefs.h * harbour/include/hbexprb.c * harbour/include/hbexprc.c * harbour/include/hbexprop.h * harbour/include/hbmacro.h * harbour/include/hbmath.h * harbour/include/hbpcode.h * harbour/include/hbrddcdx.h * harbour/include/hbrdddbf.h * harbour/include/hbrdddbt.h * harbour/include/hbrddfpt.h * harbour/include/hbrddntx.h * harbour/include/hbset.h * harbour/include/hbsetup.h * harbour/include/set.ch * harbour/source/common/Makefile * harbour/source/common/expropt1.c * harbour/source/common/expropt2.c - harbour/source/common/hbffind.c * harbour/source/common/hbfsapi.c * harbour/source/common/hbstr.c * harbour/source/common/hbver.c + harbour/source/common/hbverdsp.c * harbour/source/compiler/genc.c * harbour/source/compiler/gencli.c * harbour/source/compiler/harbour.c * harbour/source/compiler/harbour.l * harbour/source/compiler/harbour.slx * harbour/source/compiler/harbour.sly * harbour/source/compiler/harbour.y * harbour/source/compiler/hbfix.c * harbour/source/compiler/hbpcode.c * harbour/source/compiler/hbusage.c * harbour/source/compiler/simplex.c * harbour/source/macro/macro.l * harbour/source/macro/macro.slx * harbour/source/macro/macro.y * harbour/source/pp/ppcore.c * harbour/source/rdd/dbcmd.c * harbour/source/rdd/dbf1.c * harbour/source/rdd/dbfcdx/dbfcdx1.c - harbour/source/rdd/dbfcdx/dbfcdx1.h * harbour/source/rdd/dbffpt/dbffpt1.c * harbour/source/rdd/dbfntx/dbfntx1.c * harbour/source/rtl/Makefile * harbour/source/rtl/abs.c * harbour/source/rtl/at.c * harbour/source/rtl/datec.c * harbour/source/rtl/dates.c * harbour/source/rtl/dateshb.c * harbour/source/rtl/datesx.c * harbour/source/rtl/empty.c * harbour/source/rtl/errorapi.c * harbour/source/rtl/errorint.c * harbour/source/rtl/filesys.c * harbour/source/rtl/fstemp.c + harbour/source/rtl/hbffind.c * harbour/source/rtl/hbrandom.c * harbour/source/rtl/idle.c * harbour/source/rtl/inkey.c * harbour/source/rtl/math.c * harbour/source/rtl/minmax.c * harbour/source/rtl/pad.c * harbour/source/rtl/padc.c * harbour/source/rtl/padl.c * harbour/source/rtl/padr.c * harbour/source/rtl/philes.c * harbour/source/rtl/round.c * harbour/source/rtl/soundex.c * harbour/source/rtl/str.c * harbour/source/rtl/strcase.c * harbour/source/rtl/strmatch.c * harbour/source/rtl/strtran.c * harbour/source/rtl/strzero.c * harbour/source/rtl/substr.c * harbour/source/rtl/val.c * harbour/source/rtl/gtcrs/gtcrs.c * harbour/source/rtl/gtcrs/kbdcrs.c * harbour/source/rtl/gtdos/gtdos.c * harbour/source/rtl/gtsln/gtsln.c * harbour/source/rtl/gtsln/kbsln.c * harbour/source/rtl/gtsln/keytrans.c * harbour/source/vm/arrays.c * harbour/source/vm/codebloc.c * harbour/source/vm/estack.c * harbour/source/vm/eval.c * harbour/source/vm/extend.c * harbour/source/vm/hvm.c * harbour/source/vm/itemapi.c * harbour/source/vm/macro.c * harbour/source/vm/memvars.c * harbour/source/vm/runner.c * harbour/tests/bldtest/bldtest.c * harbour/utils/hbtest/hbtest.prg * harbour/utils/hbtest/rt_misc.prg * harbour/utils/hbtest/rt_str.prg * Sorry but it's too much modification for full description cvs diff gives file 785982 bytes length. So I only count the main things: ! cleand the code (no more warning messages under Linux and GCC and DOS OpenWatcom) - some of them were real bugs ! cleaned all endian dependend code I've found - now Harbour can be compiled on LITLE and BIG endian machines - for some other like PDP ENDIAN it's enough to define proper macros in hbdefs.h + added macros for to get/put values in chosen byte order: HB_GET_LE_[U]INT{16,24,32,64}( pPtr ) HB_GET_BE_[U]INT{16,24,32,64}( pPtr ) HB_PUT_LE_[U]INT{16,24,32,64}( pPtr, nVal ) HB_PUT_BE_[U]INT{16,24,32,64}( pPtr, nVal ) + added macro HB_CAST_BYTE_NUMBERS_OFF which disables casting in HB_{GET|PUT}_{LE|BE}_* macros - it's necessary for some platforms like ALPHA DEC. ! cleaned the code for 64-bit machines * changed all parameters in hb_date* functions (day, month, year, week) from LONG to int - it doesn't change binary compatibility for 32-bit machines but can cause troubles with compiling the old source + changed HB_IT_LONG type to HB_LONG which is mapped to long long by default for 32-bit machines. + change HB_IT_INTEGER to be real 'int' C type not 'short int' + added HB_IS_NUMINT() macro + added hb_parnll, hb_stornll, hb_retnll, hbretnlllen, hb_itemPutNLL, hb_itemPutNLLLen, hb_itemGetNLL which operates on LONGLONG + added hb_parnint, hb_stornint, hb_retnint, hb_retnintlen, hb_itemPutNInt, hb_itemPutNIntLen, hb_itemGetNInt which operates on HB_LONG + added HB_PUSHLONGLONG pcode + changed compiler and optimizer to use HB_LONG numbers and reduce conversion from to double which may damage the 64-bit number. + common functions for string to number conversions for compiler, RTL and RDD to reduce problems with differ FL values for the same number: hb_compStrToNum(), hb_valStrnToNum(), hb_strToNum(), hb_strnToNum() + common function hb_numRoun() which uses exactly the same algorithms as string to number conversion for the same reason - please keep this functions together. + hack inside hb_numRound() similar to the one used by CL5.3 + hb_numInt() which uses uses the same hack as hb_numRound() + rewritten number to string conversion + some new string manipulation functions hb_strncpy(), hb_strncat(), ... They works differ the the C one - always set 0 at the end, the buffer has to be n+1 bytes length, the n is total size of buffer not the left free space. ! cleaned some code which operates on ASCIIZ string to avoid potential buffer overflow + updated RDD code - it's the first part - in few days I plan to change workarea structure in both projects - it will break any 3rd party RDDs so they have to be updated. I want to add SUPERTABLE into workarea to allow creating new RDD on-line. ! cleaned the bugs with negating integers - on most machines (like x86) the integers are not 0 symmetric - it means that x = -x does not work for {INT,LONG,LONGLONG}_MIN (hb_vmNegate, ABS()) + cleaned error messages to be Clipper compatible. + updated build process for .DEB packages - now hb* scripts and shared libs are created by standard make install * added new .prg #defines: __PLATFORM__<cPlatfrom>, __ARCH{16|32|64}BIT__, __LITTLE_ENDIAN__|__BIG_ENDIAN__|__PDP_ENDIAN__ !!! cPlatfrom can have lower letters (for xHarbour compatibility) If you do not like it please change it. * others ... 2004-10-10 21:35 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbfntx/dbfntx1.c ! Fixed a bug, introduced in a last change. 2004-10-06 21:56 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbfntx/dbfntx1.c ! Fixed a bug, causing random GPFs while seeking. 2004-10-06 05:40 UTC-0500 David Arturo Macias Corona <dmacias@mail.udg.mx> + harbour/contrib/mysql/difer.txt Describe modifications to programs of harbour\contrib\mysql, in Spanish + harbour/contrib/mysql/diffeng.txt Describe modifications to programs of harbour\contrib\mysql, in English 2004-10-05 05:39 UTC-0500 David Arturo Macias Corona <dmacias@mail.udg.mx> * harbour/contrib/mysql/tmysql.prg * harbour/contrib/mysql/tsqlbrw.prg * Changes to approach Clipper behaviour NOTE: My changes are marked in source code with label "DAVID:", to help in quick review of changes, and these changes are described widely in files difer.txt, diffeng.txt These labels will be removed in a reasonable time + harbour/contrib/mysql/difer.txt Describe modifications to programs of harbour\contrib\mysql, in Spanish + harbour/contrib/mysql/diffeng.txt Describe modifications to programs of harbour\contrib\mysql, in English 2004-09-29 18:30 UTC-0300 Rodrigo Moreno <rodrigo_moreno@yahoo.com> + xharbour/contrib/pgsql/postgres.c ! Add new function PQreset, This function will close the connection to the server and attempt to reestablish a new connection to the same server, using all the same parameters previously used. This may be useful for error recovery if a working connection is lost. * xharbour/contrib/pgsql/README ! Updated * xharbour/contrib/pgsql/makefile.bc ! Updated 2004-09-08 16:40 UTC+0100 Ryszard Glab <rglab@imid.med.pl> * include/hbapi.h * source/vm/dynsym.c * a new function 'hb_dynsymScope' was added to check if the passed symbol has requested scope * source/vm/macro.c * source/vm/hvm.c * fixed support for static functions used in macro compiled expressions (the runtime error is generated during evaluation instead of macro compilation - like in Clipper) * source/pp/ppcore.c * fixed support for '¯o.' in complex expressions 2004-09-07 10:30 UTC+0100 Ryszard Glab <rglab@imid.med.pl> * source/pp/ppcore.c * fixed support for Clipper undocumented <x:&> match marker, Harbour is now 100% compatible here. Notice that this fixes support for SET FILTER TO ¯o SET FILTER TO ¯o. .AND. expr 2004-09-06 22:00 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * xharbour/contrib/pgsql/postgres.c * initialize some variables which could not be uninitialized on some errors in PG or bad user parameters and cause GPF - I only fix it on C level - the same should be done for .prg returned values to not confuse .prg programmers on errors (if any). 2004-08-31 16:50 UTC+0200 Maurilio Longo <maurilio.longo@libero.it> * contrib/tp_/os2.c * contrib/tp_/telepath.prg ! corrected an error on tp_crc16() + added a bunch of functions, right now only to OS/2 build 2004-08-31 16:45 UTC+0200 Maurilio Longo <maurilio.longo@libero.it> * contrib/tp_/telepath.ch - removed UPPERCASE file + added telepath.ch 2004-08-26 09:30 UTC+0200 Maurilio Longo <maurilio.longo@libero.it> * contrib/tp_/os2.c + added OS/2 low-level C code 2004-08-25 23:50 UTC+0200 Maurilio Longo <maurilio.longo@libero.it> * contrib/tp_/telepath.prg + tp_crc32() 2004-08-25 21:50 UTC-0300 Rodrigo Moreno <rodrigo_moreno@yahoo.com> * xharbour/contrib/pgsql/TPostgres.prg ! Fixed bugs with numeric/decimal fields when field was created with numeric() without parameters 2004-08-25 15:50 UTC+0200 Maurilio Longo <maurilio.longo@libero.it> * contrib/tp_/telepath.prg * contrib/tp_/win32.c + tp_baud(), tp_sendsub() ! tp_send() and tp_receive() seem to work as expected. 2004-08-25 10:35 UTC+0200 Maurilio Longo <maurilio.longo@libero.it> * contrib/tp_/telepath.prg + tp_crc16() thanks to Pete Disdale. * modified a few functions to start using low-level win32.c + contrib/tp_/win32.c + Low-level C code for win32 serial port access + contrib/tp_/Makefile + OS/2 Makefile + contrib/tp_/makefile.bc + bcc32 makefile + contrib/tp_/make_b32.bat + win32 makefile + contrib/tp_/telepath.ch + .prg level defines for telepathy compatibility /* At this time, on win32, I can ask to my modem its name :) */ 2004-08-16 16:32 UTC+0200 Maurilio Longo <maurilio.longo@libero.it> * contrib/tp_/telepath.prg * contrib/tp_/testtp.prg + Added xharbour Copyright header with full credit to the original author of this library /* I think I will change a lot this library since I want to have it multiplatform, so, for example, all C code will go to separated files (one per platform) to have a common (high-level) .prg code which calls common (low-level) C code functions from different (one per platform) .c files. As it is now should compile and work under linux, I can't test it right now and, probably, something will break in the process of making it multiplatform. */ 2004-08-16 16:32 UTC+0200 Maurilio Longo <maurilio.longo@libero.it> * contrib/tp_/telepath.prg + removed the original developed with Flagship and inserted the one ported to xharbour by Luiz Rafael Culik Guimaraes (culikr@brturbo.com) 2004-08-16 16:22 UTC+0200 Maurilio Longo <maurilio.longo@libero.it> * contrib/tp_/ChangeLog * contrib/tp_/Makefile * contrib/tp_/README * contrib/tp_/telepath.prg * contrib/tp_/testtp.prg + Added CVS ID to every file I sent the original version to the flagship website in may 2000. I just now (July 2001) made the first change to the code. 7/19/2001 The bug I found is REALLY esoteric... it's in tp_open. It comes into play when something previously set the parity to Even or Odd and then your telepathy program does a tp_open on that port and sets parity to None. I previously assumed that if you were setting parity to N, the port was already at N and I didn't explicitly call stty -parenb and -parodd. I included telepathy.bak in case you care to look at the prior version. 2004-08-06 18:21 UTC-0500 David Arturo Macias Corona <dmacias@mail.udg.mx> * harbour/source/rtl/dates.c ! fixed problem with dates. Now is Clipper compatible For empty date it returns empty string, for valid when number of years greater equal to 0 it returns formated date and in other case it fills buffers with 0 characters. Borrowed from xHarbour, in changes made by Przemyslaw Czerpak It also fix ( CTOD( "" ) + 30 ) error reported by Randy Portnoff 2004-08-04 10:28 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * contrib/odbc/odbc.c + New functions has been added: sqlSetStmtOption() and sqlColumns() * contrib/mysql/mysql.c + sqlUseRes() function added * sqlListTbl() is modified - second parameter ( table template ) is added 2004-08-03 11:10 UTC+0100 Ryszard Glab <rglab@imid.med.pl> * source/rtl/tget.prg * GetNew() no longer evaluates passed set/get codeblock 2004-08-01 14:38 UTC+0100 Viktor Szakats * source/rtl/filesys.c ! Out of bound buffer access fixed. (I couldn't test this) (Thanks to Chen Kedem) 2004-07-27 20:41 UTC+0100 Antonio Linares <alinares@fivetechsoft.com> * include/hbclass.ch + Added a previous #undef _HB_CLS_FUNCNAME for multiple classes definitions on the same PRG 2004-07-27 10:50 UTC-0800 Luis Krause Mantilla <lkrausem /*at*/ shaw /*dot*/ ca> * hrbdll.bc + Added modules array.prg, block.prg, characte.prg, date.prg, logical.prg, nil.prg, numeric.prg. 2004-07-27 11:49 UTC+0100 Antonio Linares <alinares@fivetechsoft.com> + source/rtl/array.prg + source/rtl/block.prg + source/rtl/date.prg + source/rtl/logical.prg + source/rtl/nil.prg + source/rtl/numeric.prg * Harbour implementation of Class(y) Classes Array, Block, Date, Logical, Nil, Numeric. * makefile.bc + Added modules array.prg, block.prg, date.prg, logical.prg, nil.prg, numeric.prg. WARNING: Other makefiles need to be updated 2004-07-27 11:16 UTC+0100 Antonio Linares <alinares@fivetechsoft.com> * include/hbclass.ch + Added optional clause FUNCTION to class definitions, based on Class(y) implementation. This allows to use a different name, if desired, to the defined class. i.e.: CLASS Date FUNCTION _Date As Date() is a reserved function name, we can use a _Date() one, but the Class Name will remain as DATE. 2004-07-27 02:09 UTC+0100 Antonio Linares <alinares@fivetechsoft.com> + source/rtl/characte.prg * Harbour implementation of Class(y) Class Character * makefile.bc + Added module characte.prg WARNING: Other makefiles need to be updated 2004-07-26 9:03 UTC-0800 Luis Krause Mantilla <lkrausem /*at*/ shaw /*dot*/ ca> * hrbdll.bc + Added module scalar.prg 2004-07-26 10:50 UTC+0100 Viktor Szakats * source/compiler/cmdcheck.c ! Writing out of bound when using -x compiler switch fixed. (Thanks to Chen Kedem) * source/vm/cmdarg.c ! Tabs removed. 2004-07-26 01:21 UTC+0100 Antonio Linares <alinares@fivetechsoft.com> + source/rtl/scalar.prg * Harbour implementation of Class(y) Class ScalarObject * makefile.bc + Added module scalar.prg WARNING: Other makefiles need to be updated. 2004-07-25 16:48 UTC+0100 Antonio Linares <alinares@fivetechsoft.com> * vm/classes.c + functions hb_clsCreate(), hb_clsAdd() and hb_clsAssociate() added. These functions are equivalents to Clipper __mdCreate(), __mdAdd() and __mdAssociate(), though the parameters are different to easy their use. The purpouse of these functions is to create new classes from C level, a missing feature of Harbour classes engine. Harbour classes functions never considered the possibility of being used from C level. USHORT hb_clsCreate( USHORT usSize, char * szClassName ) : Creates a new class with usSize DATAs and szClassName Name. It returns the handle of the new created class. void hb_clsAdd( USHORT usClassH, char * szMethodName, void * pFunction ) : Adds a new method to the class, that will execute pFunction() code. void hb_clsAssociate( USHORT usClassH ) : Instantiates a new object of the Class handle usClassH. The object is placed at the stack returned value, so it may be accessed using hb_par...( -1, ... ) functions, or managing the item directly. 2004-07-19 21:42 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * include/hbver.h * doc/whatsnew.txt * bin/pack_src.sh * harbour.spec * make_tgz.sh * Release info has been changed for release 44. 2004-07-19 17:05 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * contrib/mysql/tmysql.prg ! Added checking for decimal field type in :GetRow() and :GetBlankRow() - provided by Mitja Podgornik 2004-07-19 12:15 UTC+0100 Ryszard Glab <rglab@imid.med.pl> * doc/whatsnew.txt *added some items and divided into few sections 2004-07-18 19:50 UTC+0200 Tomaz Zupan <tomaz.zupan@orpo.si> * harbour.spec * Changed Optimisation level for rpm package to -O2, because there are pboblems with -O3 and gcc 3.3 on Mandrake Linux 2004-07-18 19:50 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * contrib/mysql/mysql.c * Some fixes and formatting. 2004-07-18 13:05 UTC+0300 Chen Kedem <niki@synel.co.il> * doc/whatsnew.txt + Add information about the upcoming alpha build 44 2004-07-17 21:58 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * contrib/mysql/tmysql.prg ! Small fix, provided by Mitja Podgornik 2004-07-17 04:14 UTC-0500 David Arturo Macias Corona <dmacias@mail.udg.mx> * source/rtl/tget.prg + Added DATA CapRow and DATA CapCol values For Clipper 5.3x compatibility 2004-07-16 13:40 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbfntx/dbfntx1.c ! Bug fixed in soft seek * contrib/odbc/todbc.prg ! Bug fixed in TODBC():Open() 2004-07-13 11:30 UTC-0300 Rodrigo Moreno <rodrigo_moreno@yahoo.com> * xharbour/contrib/pgsql/TPostgres.prg * Improved control over error messages ! Fixed small bugs * xharbour/contrib/pgsql/tests/dbf2pg.prg * xharbour/contrib/pgsql/tests/cache.prg ! changed to handle error messages 2004-07-12 17:19 UTC-0800 Luis Krause Mantilla <lkrausem /*at*/ shaw /*dot*/ ca> * source/rdd/dbcmd.c ! fixed Clipper compatibility bug reported by Serge Jakimoff * source/rtl/minmax.c ! Fixed r/t error when Min() and Max() received logical values to have Clipper compatibility 2004-07-09 12:15 UTC+0100 Ryszard Glab <rglab@imid.med.pl> * include/hbapi.h * source/vm/codebloc.c * source/vm/proc.c *fixed to correctly return the procedure name where the codeblock was created * source/common/hbffind.c *fixed to set correctly size and modification date of retrieved files on Linux/Unix -used from DIRECTORY() function 2004-06-22 15:40 UTC-0300 Rodrigo Moreno <rodrigo_moreno@yahoo.com> * xharbour/contrib/pgsql/TPostgres.prg ! Fixed bug regading primary keys, but with arrays + xharbour/contrib/pgsql/tests/cache.prg ! Sample, how to use .dbf as postgres record cache 2004-06-21 14:07 UTC-0500 Randy Portnoff <randy@palmasdev.com> * source/rdd/dbcmd.c * Fixed rddMoveRecords() so that copied records, which are deleted, maintain their deleted status. Reported by Marcos Gambeta 2004-06-18 10:45 UTC-0300 Rodrigo Moreno <rodrigo_moreno@yahoo.com> * xharbour/contrib/pgsql/TPostgres.prg ! Fixed bug regading primary keys 2004-06-11 19:26 UTC-0300 Rodrigo Moreno <rodrigo_moreno@yahoo.com> * xharbour/contrib/pgsql/TPostgres.prg ! Fixed Date convertion bugs 2004-06-08 22:50 UTC+0300 Phil Krylov <phil@newstar.rinet.ru> * source/rtl/inkey.c ! Renamed SETLASTKEY() to HB_SETLASTKEY(). * source/debug/debugger.prg ! Changed SETLASTKEY() to HB_SETLASTKEY(). + contrib/libct/setlast.prg * contrib/libct/Makefile * contrib/libct/ctflist.txt * contrib/libct/makefile.bc * contrib/libct/makefile.vc + Reimplemented SETLASTKEY() through HB_SETLASTKEY() 2004-06-08 22:10 UTC+0300 Phil Krylov <phil@newstar.rinet.ru> - contrib/libct/setlast.prg * contrib/libct/Makefile * contrib/libct/ctflist.txt * contrib/libct/makefile.bc * contrib/libct/makefile.vc - Removed SETLASTKEY() from libct, because it conflicts with the RTL implementation which is also cleaner. 2004-06-08 02:25 UTC+0300 Phil Krylov <phil@newstar.rinet.ru> * source/debug/debugger.prg + Added preliminary CLD-compatible scripting capabilities. 2004-06-07 18:15 UTC+0300 Phil Krylov <phil@newstar.rinet.ru> * source/debug/dbgmenu.prg * source/debug/debugger.prg ! Fixed some problems related to menus, colors and cursor positioning. 2004-06-07 14:15 UTC+0300 Phil Krylov <phil@newstar.rinet.ru> * source/rtl/inkey.c + Added hb_setInkeyLast() (copyright 2002 by Walter Negro) and SETLASTKEY() (copyright 2003 by Przemyslaw Czerpak). Both functions are borrowed from xHarbour. * source/debug/debugger.prg ! Fixed Left and Right keys behaviour in the code window (fix by Lorenzo Fiorini, borrowed from xHarbour). ! Also from xHarbour, but written by myself: ! Restore LastKey() value on program execution. ! Fixed Step() behaviour. ! Removed the last dependencies of the debugger on SET_EXACT setting. ! Fixed some issues with the Monitor window. 2004-06-07 13:45 UTC+0300 Phil Krylov <phil@newstar.rinet.ru> * source/debug/dbgwa.prg * source/debug/dbgtarr.prg * source/debug/tbrwtext.prg * source/debug/debugger.prg ! Miscellaneous fixes borrowed from xHarbour: ! Fixed support for monitoring work areas with non-contigous numbers. ! Fixed monitoring empty subarrays. ! Maintain separate "active" line and cursor line in the code window. Support external initialization of TBrwText():lLineNumbers. ! Fixed problems with breakpoints and source files stored in multiple directories. The environment variable HB_DBG_PATH takes precedence over PATH to search for source files. 2004-06-03 12:40 UTC+0200 Giancarlo Niccolai <gian@niccolai.ws> * source/tip/tipclient.prg ! Using (now properly) InetReadAll to read data slices. 2004-06-03 12:40 UTC+0200 Giancarlo Niccolai <gian@niccolai.ws> * source/tip/tiputils.c ! TIP_FileMimeType was not closing the file if it had to open it. 2004-06-03 11:00 UTC+0100 Ryszard Glab <rglab@imid.med.pl> * source/compiler/harbour.c * fixed to compile FOR var[index] 2004-06-02 05:30 UTC-0400 Alejandro de Garate <alex_degarate@hotmail.com> * doc\en\file.txt * function FOPEN() ! Fixed the meaning of FO_DENYNONE + Added FO_SHARED definition to the table * function FCREATE() ! Fixed table title name, changed Atribute for Meaning * function FREAD() ! Fixed typo at $ARGUMENTS$ section ! Removed typo <nHandle> from $RETURNS$ section ! Fixed typo at $EXAMPLES$ section * function FCLOSE() ! Fixed typo at $EXAMPLES$ section * function CURDIR() ! Fixed typo at $ARGUMENTS$ section * function MAKEDIR() ! Fixed typo at $RETURNS$ section + doc\es\file.txt + Added file's operations document 2004-05-27 14:35 UTC-0400 Alejandro de Garate <alex_degarate@hotmail.com> + doc/es/codestyl.txt + Added code style document file, missing in the last commit + doc/es/hb_apiln.txt + Added Lang API Document * doc/es/lang.txt * Updated Lang Document + doc/es/hb_vm.txt + Added VM API Document 2004-05-24 22:37 UTC-0400 Alejandro de Garate <alex_degarate@hotmail.com> * doc/codestyl.txt * Added Documentation item + doc/es/codestyl.txt + Documented code style 2004-05-23 16:55 UTC+0300 Chen Kedem <niki@synel.co.il> * doc/en/lang.txt + Documentation for HB_LANGERRMSG(), HB_LANGMESSAGE(), HB_TRANSLATE() + Added Greek and Greek ANSI to the list in HB_LANGSELECT() and HB_SETCODEPAGE() + add notes about the need to REQUEST language and code page module * Some formating 2004-05-21 14:40 UTC+0100 Ryszard Glab <rglab@imid.med.pl> * source/compiler/harbour.l * modified to compile correctly with flex version 2.5.31 (IMHO it is m4 preprocessor bug) 2004-05-21 13:30 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbf1.c * source/rdd/dbfdbt/dbfdbt1.c * Calls of hb_cdpTranslate() are changed to hb_cdpnTranslate() + source/codepage/cdpeldos.c + source/codepage/cdpelwin.c + Greek language codepage files added - provided by Pete Dionisopoulos. * source/lang/msgel.c * source/lang/msgelwin.c + Greek language files added - provided by Pete Dionisopoulos. * source/codepage/Makefile * source/lang/Makefile * hrbdll.bc * hrbdll.vc * makefile.bc * makefile.nt * makefile.vc * Makefiles has been updated due to new codepage and lang files. * source/codepage/cdp_tpl.c * source/codepage/cdpesdos.c * source/codepage/cdpeswin.c * source/codepage/cdpgedos.c * source/codepage/cdpgewin.c * source/codepage/cdphu852.c * source/codepage/cdphuwin.c * source/codepage/cdpla850.c * source/codepage/cdppl852.c * source/codepage/cdppliso.c * source/codepage/cdpplmaz.c * source/codepage/cdpplwin.c * source/codepage/cdppt850.c * source/codepage/cdpptiso.c * source/codepage/cdpru866.c * source/codepage/cdprukoi.c * source/codepage/cdpruwin.c * source/codepage/cdpsk852.c * source/codepage/cdpskiso.c * source/codepage/cdpsl437.c * source/codepage/cdpsl852.c * source/codepage/cdpsliso.c * source/codepage/cdpslwin.c * source/codepage/cdpsrwin.c * Few lines are replaced with HB_CODEPAGE_INIT( <id> ), as was suggested by Ilias Lazaridis 2004-05-19 13:25 UTC+0100 Ryszard Glab <rglab@imid.med.pl> * source/codepage/cdpsrwin.c *replaced CR+LF with LF only 2004-05-19 11:30 UTC-0300 Rodrigo Moreno <rodrigo_moreno@yahoo.com> * xharbour/contrib/pgsql/TPostgres.prg ! Fixed Schema bug 2004-05-18 15:45 UTC-0400 David G. Holm <dholm@jsd-llc.com> * source/rtl/cdpapi.c ! Corrected the function names reported by to HB_TRACE statements, as pointed out by Chen Kedem <niki@synel.co.il>. 2004-05-18 16:12 UTC+0300 Chen Kedem <niki@synel.co.il> * doc/en/lang.txt + Documentation for HB_SETCODEPAGE() * Some formating 2004-05-17 17:14 UTC+0200 Giancarlo Niccolai <gian@niccolai.ws> * source/tip/Rules.make + Added support for HB_MULTI_GT under unix/GNU make * source/tip/tiputils.c + added functions Tip_FileMimeType( cFileName ) ==> cMimeType Tip_FileMimeType( nFileHandle ) ==> cMimeType Tip_MimeType( cData ) ==> cMimeType that are able to detect the type of file (or of a string) depending on extension and file content. If extension is not available (if using a stream in Tip_FileMimeType or in Tip_MimeType) only content is used to guess the format, and if the file can't be open ( Tip_FileMimeType ) only the extension is used. If the file type can't be determined, "unknown" is returned (which is a valid MIME type). * source/tip/tests/Makefile + source/tip/tests/Makefile.mimetest + source/tip/tests/mimetest.prg + Added a test to find mime type. 2004-05-14 16:05 UTC+0100 Ryszard Glab <rglab@imid.med.pl> * include/hbexpra.c * source/compiler/expropta.c * source/compiler/harbour.c * source/macro/macroa.c * source/rtl/tget.prg * source/rtl/tgetint.prg * fixed to be more Clipper compatible * source/rtl/persist.prg * fixed to not use xBase extensions 2004-05-13 11:00 UTC+0100 Ryszard Glab <rglab@imid.med.pl> * source/rtl/transform.c * TRANSFORM(1.23,"999.") correctly returns " 1." now instead of empty string * source/rtl/tget.prg * fixed to correctly display buffer when negative value and '0' was pressed in the position next to decimal point e.g. -1230. was displayed as -123-. * fixed support for '9999.' picture 2004-05-12 11:30 UTC+0200 Giancarlo Niccolai <gian@niccolai.ws> * source/tip/tipencoderurl.prg ! Default for URL encoding is now "complete", that is encoding also "=", "?" and ":" symbols 2004-05-12 11:00 UTC+0200 Giancarlo Niccolai <gian@niccolai.ws> * source/tip/tipclienthttp.prg ! In post form, the "&" field separator was missing :-/ 2004-05-11 15:10 UTC+0100 Ryszard Glab <rglab@imid.med.pl> * CVSROOT/avail * restored write access to the entire repository for all developers * doc/codestyl.txt * small corrections (use 3 spaces instead of Tab) * include/hbcomp.h * source/compiler/cmdcheck.c * source/compiler/harbour.c * source/compiler/hbusage.c + added posibility to specify the output PPO file with -p e.g. -pppo/myfile.ppo (thanks to Larry Sevilla) * source/rtl/tget.prg * fixed positioning of cursor when the first pressed key was a digit during editing of numeric value * source/compiler/hbfix.c * source/rdd/dbcmd.c * source/rdd/dbf1.c * source/rdd/dbfcdx/dbfcdx1.c * source/rdd/dbffpt/dbffpt1.c * source/rdd/dbfntx/dbfntx1.c * source/rtl/dates.c * source/rtl/filesys.c * source/rtl/inkey.c * source/rtl/isprint.c * source/rtl/math.c * source/rtl/philes.c * source/vm/classes.c * source/vm/hvm.c * removed '//' comments 2004-05-10 19:20 UTC-0400 David G. Holm <dholm@jsd-llc.com> - cvsplay.txt - cvsplay2.txt - Removed these two files. 2004-05-08 10:40 UTC+0100 Ryszard Glab <rglab@imid.med.pl> * source/rdd/dbf1.c * source/rdd/dbfcdx/dbfcdx1.c * source/rdd/dbfdbt/dbfdbt1.c * source/rdd/dbffpt/dbffpt1.c * source/rdd/dbfntx/dbfntx1.c * source/rtl/is.c * source/rtl/strcase.c * source/rtl/transfrm.c * updated to refer hb_cdp_page instead of s_cdpage * source/vm/itemapi.c * snprintf is used only in GCC/Linux and WatcomC guarded with #ifdef HB_HAS_SNPRINTF (this is ommision from my previous commit) 2004-05-07 19:30 UTC+0100 Ryszard Glab <rglab@imid.med.pl> + config/dos/owatcom.cf * added configuration file for OpenWatcom (renamed from watcom.cf) * config/dos/watcom.cf * restored previous version so it correctly compiles under WatcomC 10 - please use watcom.cf for WatcomC and owatcom.cf for OpenWatcom * makefile.bc * makefile.nt * makefile.vc * hrbdll.bc * source/codepage/Makefile + source/codepage/cdpsrwin.c + new file with Serbian codepage * CVSROOT/avail * removed reference to my local file * ERRATA * updated (removed reference to tmpname) * doc/codestyl.txt * updated with some coding guidelines adopted from PHP (please fell free to discuss them ;-) * doc/howtocvs.txt * added description for commit on Linux * include/hbapicdp.h * source/codepage/cdpesdos.c * restored previous versions * include/hbcomp.h * added <malloc.h> reference for WatcomC compiler * include/hbexprc.c * fixed warning reported by WatcomC * source/vm/itemapi.c * fixed infinite support for WatcomC * source/rtl/cdpapi.c * renamed global symbol s_cdpage into hb_cdp_page * source/rtl/gtcrs/kbdcrs.c * fixed reporting keystrokes with codes > 127 2004-05-07 14:22 UTC+0200 Giancarlo Niccolai <gian@niccolai.ws> * source/tip/tipclienthttp.prg + Added automatic authorization basic scheme if new field cAuthMode is set to "Basic". The cUserID and cPassword fields inside the oUrl object. + Added inline method UseBasicAuth() to set cAuthMode to "Basic" 2004-05-06 21:10 UTC-0400 David G. Holm <dholm@jsd-llc.com> * source/vm/itemapi.c ! The funtion snprintf is not a Standard C function and does not exist in the Version 12 of the Microsoft C++ compiler (MSVC 6). 2004-05-06 18:00 UTC+0100 Ryszard Glab <rglab@imid.med.pl> + CVSROOT/avail * CVSROOT/checkoutlist * CVSROOT/commitinfo * CVSROOT/loginfo + access to CVSROOT files is now available for project admins only 2004-05-06 15:40 UTC+0100 Ryszard Glab <rglab@imid.med.pl> * include/hbexpra.c * source/common/expropt2.c * source/compiler/expropta.c * source/macro/macroa.c ! Fixed optimalization of AT,ASC,LEN,CHR functions in the macro compiler (this fixes GPF reported by Alexander) 2004-05-05 08:08 UTC+0200 Ilias Lazaridis <ilias@lazaridis.com> * source/codepage/cdpesdos.c ! Whitespace reformatting 2004-05-04 19:00 UTC-0300 Rodrigo Moreno <rodrigo_moreno@yahoo.com> * xharbour/contrib/pgsql/TPostgres.prg ! Fixed bug select from procedures/funtion 2004-05-04 16:45 UTC+0200 Maurilio Longo <maurilio.longo@libero.it> * contrib/tip/Rules.make + added HB_USER_CFLAGS=-DTCPV40HDRS to use 16/32 tcp/ip stack on OS/2 (standard on OS/2 until eComStation and v5.x) * contrib/tip/ticlientpop.prg * changed the way a mail gets ::Retreived(), so much faster now. + Added Top(), Noop() and UIDL() methods * contrib/tip/tipmail.prg * changed ::fromstring() method where it looks for multipart messages, now it is so fast you simply can't follow it anymore, hope it is still correct though :) (I've done several tests and I'm using it in an in-house utility, so should be ok) 2004-05-03 11:15 UTC-0300 Rodrigo Moreno <rodrigo_moreno@yahoo.com> * xharbour/contrib/pgsql/TPostgres.prg ! Fixed bug with numeric/decimal dbf store "." as part os field size, postgres doesn't, so, when decimal add + 1 in length 2004-05-03 05:04 UTC+0200 Ilias Lazaridis <ilias@lazaridis.com> * source/include/hbinit.h + added macro HB_USE_PRAGMA_STARTUP * source/include/hdcdpapi.h + added macro HB_CODEPAGE_INIT * source/codepage/cdpesdos.c ! used HB_USE_PRAGMA_STARTUP and HB_CODEPAGE_INIT (changes are applyable to other cdp*.c files, too, but will wait until cdpesdos.c is completely reworked) 2004-05-02 18:00 UTC-0300 Rodrigo Moreno <rodrigo_moreno@yahoo.com> * xharbour/contrib/pgsql/postgres.c + Add new functions for handling asynchronous/nonblocking queries ! Fixed warnings + xharbour/contrib/pgsql/tests/async.prg + sample showing howto use the asynchronous queries 2004-05-02 09:25 UTC+0300 Chen Kedem <niki@synel.co.il> * doc/howtocvs.txt * Change references to CVSROOT (according to SourceForge documents) from cvs.Harbour-project.sourceforge.net into cvs.sourceforge.net 2004-04-30 16:09 UTC+0200 Ilias Lazaridis <ilias@lazaridis.com> + /cvsplay.txt + Added file with tortoiseCVS to check CVS functionality without influencing rest of project [Note: the above changelog time entry is possibly not correct] 2004-04-30 15:00 UTC-0300 Rodrigo Moreno <rodrigo_moreno@yahoo.com> + xharbour/contrib/pgsql/postgres.ch + Add new file with database definitions * xharbour/contrib/pgsql/TPostgres.prg * Changed fieldget parameters, fixed bug when parameter field is char * xharbour/contrib/pgsql/tests/simple.prg * xharbour/contrib/pgsql/tests/stress.prg * xharbour/contrib/pgsql/tests/test.prg ! Fix some bugs * xharbour/contrib/pgsql/tests/dbf2pg.prg ! Add new features and new parameter, like use transaction, commit interval, etc. 2004-04-27 12:57 UTC-0500 Randy Portnoff <randy@palmasdev.com> * contrib/rdd_ads/adsfunc.c Changes to ADSCOPYTABLE as follows: + added logical return value + added second optional param for ADS filter option + Now uses default index order if set Changes to ADSCOPYTABLECONTENTS as follows: ! changed default filter option from ADS_IGNOREFILTERS to ADS_RESPECTFILTERS + added second optional param for ADS filter option + Now uses default index order if set 2004-04-25 14:33 UTC-0300 Rodrigo Moreno <rodrigo_moreno@yahoo.com> * xharbour/contrib/pgsql/TPostgres.prg ! Fixed (INSERT, DELETE, UPDATE) result error when row is updated 2004-04-25 14:33 UTC-0300 Rodrigo Moreno <rodrigo_moreno@yahoo.com> * xharbour/contrib/pgsql/TPostgres.prg ! Fixed schema bugs 2004-04-25 16:00 UTC-0300 Rodrigo Moreno <rodrigo_moreno@yahoo.com> * xharbour/contrib/pgsql/postgres.c + Add new function to handle error message * Changed pointer functions * xharbour/contrib/pgsql/TPostgres.prg + Add Schema support ! Some fix and improve initial query * xharbour/contrib/pgsql/tests/test.prg ! Changed sample to handle connection and result messages 2004-04-24 15:30 UTC+0100 Ryszard Glab <rglab@imid.med.pl> * include/hbapi.h * changed ULONG hb_objHasMsg into BOOL hb_objHasMsg * include/hbvmpub.h * added union { PHB_FUNC pFunPtr; int iStaticsBase; } value to HB_SYMB structure to remove pointer/int conversion * source/compiler/genc.c * source/compiler/gencli.c * source/rdd/dbf1.c * source/rdd/delim1.c * source/rdd/sdf1.c * source/rdd/dbfcdx/dbfcdx1.c * source/rdd/dbfdbt/dbfdbt1.c * source/rdd/dbffpt/dbffpt1.c * source/rdd/dbfntx/dbfntx1.c * source/rtl/symbol.prg * source/vm/classes.c * source/vm/dynsym.c * source/vm/hvm.c * source/vm/initsymb.c * source/vm/macro.c * source/vm/runner.c * changed to use new HB_SYMB structure * removed all pointer/long castings (except runner.c) 2004-04-23 18:28 UTC+0200 Giancarlo Niccolai <gian@niccolai.ws> * contrib/tip/tipclienthttp.prg * contrib/tip/tipencoderurl.prg ! Fixed an offbyone error in URLEncode routines 2004-04-22 18:00 UTC-0500 David G. Holm <dholm@jsd-llc.com> * source/vm/itemapi.c ! #if check for for RSXNT and EMX must be ahead of GNUC test in the infinity test block, because RSXNT and EMX both use the GNUC compiler, but use isfinite() instead of finite(). 2004-04-22 17:30 UTC-0500 David G. Holm <dholm@jsd-llc.com> * contrib/libct/files.c * contrib/libnf/color2n.c * contrib/libnf/dispc.c * contrib/libnf/n2color.c * contrib/rdd_ads/ads1.c * source/vm/memvars.c ! Eliminated most warnings issued by MinGW GCC compiler. 2004-04-22 10:57 UTC+0300 Chen Kedem <niki@synel.co.il> * doc/dirstruc.txt + Add oneliner description for: contrib/hbzlib/include, contrib/hbzlib/Linux, tests/bldtest 2004-04-21 16:35 UTC+0300 Chen Kedem <niki@synel.co.il> * doc/en/rddord.txt - Remove docs for: ORDKEY() $DESCRIPTION$ section, ORDLISTADD(), ORDLISTCLEAR(), ORDLISTREBUILD(), ORDNAME(), ORDNUMBER(), ORDSETFOCUS() because of copyright violation! 2004-04-20 16:30 UTC-0400 David G. Holm <dholm@jsd-llc.com> * contrib/Makefile + Added an ifeq section for bsd builds. 2004-04-19 11:43 UTC+0300 Chen Kedem <niki@synel.co.il> * doc/en/rdd.txt - Remove docs for: RDDLIST(), RDDNAME(), RDDSETDEFAULT(), __RDDSETDEFAULT() because of copyright violation! (the file is now EMPTY) * doc/en/rdddb.txt - Remove docs for: __DBCONTINUE(), __DBZAP() because of copyright violation! 2004-04-17 12:30 UTC+0100 Ryszard Glab <rglab@imid.med.pl> * include/hbapi.h * source/rtl/empty.c * source/rtl/idle.c * source/vm/arrays.c * source/vm/estack.c * source/vm/extend.c * source/vm/itemapi.c * added missing code to use HB_IT_POINTER just like other value's type You can use: hb_retptr( void * pointer ) hb_parptr( ) -> void * hb_storptr( void * pointer, ...... ) to return/manage pointers from low-level functions. For example: p = GET_SOME_POINTER() ? VALTYPE(p) //prints: 'P' ? p //prints: 0x12345678 * tests/onidle.prg * fixed to use values of pointer type * tests/tstmacro.prg * added code to test TYPE() function 2004-04-16 17:08 UTC-0800 Luis Krause Mantilla <lkrausem /*at*/ shaw /*dot*/ ca> * contrib/rdd_ads/adsfunc.c Renamed adsGetConnectionType() as AdsGetTableConType() and added adsGetConnectionType( [hConnect] ) from Brian Hays' implementation in xHarbour. Due to the recent changes introduced to Harbour that render FWH inoperable, this is likely my last contribution to Harbour's CVS as I'll be using xHarbour only with my FWH apps (I currently use FW/FWH 2.3c). 2004-04-16 19:05 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * hrbdll.bc * Makefile for the harbour.dll is changed + mkbcdll.bat + Bat file is added to build the Harbour.dll. Changing appropriate environment variables inside it, you may include/exclude from the dll RDD ADS, CT, Libmisc, Debug libraries. + tests/bld4dll.bat + Bat file is added to build sample applications, which uses harbour.dll 2004-04-16 13:55 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * include/hbstack.h * source/vm/hvm.c * source/vm/itemapi.c * source/vm/estack.c * source/vm/dynsym.c * source/rtl/dates.c * source/rtl/file.c * source/rtl/filesys.c * HB_EXPORT is added to ITEM API, FILE API and some other function definitions to make it possible to call them when they are in the dll. 2004-04-14 19:05 UTC-0800 Luis Krause Mantilla <lkrausem /*at*/ shaw /*dot*/ ca> * contrib/rdd_ads/adsfunc.c Added adsGetConnectionType() provided by Randy Portnoff 2004-04-14 12:20 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * tests/bldtest/Makefile * fixed typo in file name * include/hbdefs.h + added HB_COUNTER and HB_PTRDIFF types - first for reference counters and second for any pointer differences and pointer to integer conversions - this modification is synced with xHarbour * include/hbapi.h * include/hbdefs.h * source/rtl/philes.c * source/vm/arrays.c * source/vm/hvm.c * source/vm/itemapi.c * use HB_COUNTER type 2004-04-09 15:00 UTC-0500 David G. Holm <dholm@jsd-llc.com> * source/rdd/dbfntx/dbfntx1.c ! Converted first parameter in the call to hb_fsCreateTemp from "" to NULL in order to avoid having to provide a (BYTE *) type conversion like the one that I added for the second parameter. * source/rtl/fstemp.c * Reformatted the code to match the Harbour coding style (in particular, to use spaces instead of Tabs for indenting and to always use braces for a code block that follows an if statement, even if only one line). ! Added a null pointer check in the non-Unix code that checks the size of the input arguments. 2004-04-09 11:45 UTC+0100 Ryszard Glab <rglab@imid.med.pl> * source/debug/debugger.prg * removed diagnostic ALERT call 2004-04-09 10:10 UTC+0100 Ryszard Glab <rglab@imid.med.pl> * include/hbexpra.c * include/hbexprop.h * source/compiler/expropta.c * source/macro/macroa.c * source/vm/macro.c * fixed my previous fix to correctly release memory in the macro compiler 2004-04-08 17:20 UTC+0100 Ryszard Glab <rglab@imid.med.pl> * include/hbexpra.c * source/compiler/expropta.c * source/macro/macroa.c * source/vm/macro.c * fixed bug cousing that some memory was deallocated more then once * source/debug/debugger.prg * fixed support for .T./.F. in command window * fixed issues when the application was using SET EXACT ON 2004-04-06 15:40 UTC+0100 Ryszard Glab <rglab@imid.med.pl> * include/hbapi.h * include/hbvm.h * source/vm/hvm.c * source/vm/macro.c * fixed bug introduced earlier by me in the macro compiler: PUBLIC ¯o works correctly now 2004-04-05 15:40 UTC+0200 Lorenzo Fiorini <lorenzo_fiorini/at/tin.it> * contrib/tip/Makefile using standard config/*.cf to support more C compilers * contrib/tip/tiputils.c windows.h included for HB_OS_WIN 2004-04-05 14:45 UTC-0300 Rodrigo Moreno <rodrigo_moreno@yahoo.com> * xharbour/contrib/pgsql/postgres.c + Add new functions to handle connection and result set * Changed pointer return * xharbour/contrib/pgsql/TPostgres.prg * Changed to handle the status of connection and querys * Changed Fieldget, Fieldtype, Fielddec, Fieldlen, to handle char field name 2004-04-03 01:46 UTC-0300 Luiz Rafael Culik(culikr@brturbo.com> * contrib/hbzlib/* ! updated to use the same core as xharbour do to compile on linux run ./lincompile.sh This was done in respect to users that want to use harbour 2004-04-02 16:25 UTC+0100 Ryszard Glab <rglab@imid.med.pl> * source/compiler/gencli.c * fixed warnings * source/rtl/cdpapi.c *fixed warnings (Can the author of the code check if I correctly parenthesized multiple || and && conditions?) * source/vm/classes.c *fixed warning in gcc (commented out unused static hb_clsScope function) * source/rdd/dbfntx/dbfntx1.c * source/rtl/fstemp.c * fixed hb_fsCreateTemp() to use 'mkstemp' on Unix * fixed sorting procedure to use hb_fsCreateTemp wrapper function * source/rtl/set.c *hb_set.HB_SET_DIRSEPARATOR defaults to '/' on Unix 2004-04-02 13:15 UTC+0100 Ryszard Glab <rglab@imid.med.pl> * include/hbexpra.c * include/hbexprop.h * source/common/expropt1.c * source/compiler/expropta.c * source/macro/macro.y * source/macro/macroa.c * source/vm/macro.c * fixed to release memory in cases where invalid syntax was macro compiled * source/vm/itemapi.c * fixed to correctly check for infinity on Unix STR(LOG(-1)) no longer core dumps * source/rtl/filesys.c * source/rdd/hbdbsort.c * fixed to suppres warnings * source/pp/ppcore.c * utils/hbtest/rt_misc.prg * Clipper preproceses '**' into '^' - harbour too 2004-04-02 12:17 UTC+0100 Antonio Linares <alinares@fivetechsoft.com> * source/rtl/fstemp.c * source/rdd/dbfntx/dbfntx1.c - Two linux linking time warnings removed 2004-04-01 11:15 UTC+0100 Ryszard Glab <rglab@imid.med.pl> * include/hbexprb.c * include/hbmacro.ch * fixed support for strings as array of bytes (in macro compiler) * added a new #define HB_SM_ARRSTR as a flag for HB_SETMACRO() to disable/enable strings as array of bytes * source/vm/macro.c * added HB_SM_ARRSTR support * fixed TYPE() function to return correct value when an assigment to undeclared variable is checked (Clipper creates the memvar variable) - thanks to Phil Krylov * source/compiler/hbusage.c * fixed typo for -ks switch 2004-04-01 09:09 UTC+0100 Viktor Szakats * source/common/hbffind.c ! Fix for NT4 * source/rdd/dbsort.prg * Fix by Mitja Podgornik 2004-04-01 08:49 UTC+0100 Viktor Szakats * bin/bld.bat * Updated 2004-03-31 21:45 UTC-0800 Luis Krause Mantilla <lkrausem /*at*/ shaw /*dot*/ ca> * source/rdd/workarea.c + added scopped relations. Now OrdSetRelation() works with DBFCDX like it does with Clipper 5.3b * contrib/rdd_ads/ads1.c + adsClearScope() method added to avoid r/t error with ADS and scoped relations Thanks to Przemyslaw Czerpak for the fix (borrowed from xHarbour) 2004-03-30 16:30 UTC+0100 Ryszard Glab <rglab@imid.med.pl> * include/hbapi.h * source/vm/macro.c * added HB_ITEM_PTR pError member to HB_MACRO structure * fixed bug in macro compiler - calls to static functions are not allowed in macro compiler * source/common/expropt1.c * source/common/hbffind.c *fixed minor warnings reported by Randy Portnoff * source/rtl/set.c *SET(_SET_DEBUG) defaults to FALSE (Clipper compatible) * source/rtl/idle.c *small optimization of hb_idleState() * source/compiler/harbour.y *the compiler generates line number for DO CASE (if debug info requested - to allow breakpoint) * source/debug/debugger.prg *the debugger shows the line number for modules where no source code is available 2004-03-29 15:00 UTC-0500 David G. Holm <dholm@jsd-llc.com> * source/pp/ppcore.c ! Added missing type conversions on calls to hb_xgrab and hb_xrealloc. * source/rtl/memoline.c ! Convert CR to space for Clipper compatibility. 2004-03-25 09:35 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbfcdx/dbfcdx1.c ! minor fix 2004-03-24 22:10 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbfcdx/dbfcdx1.c * source/rdd/dbfcdx/dbfcdx1.h * include/dbinfo.ch * include/hbrddcdx.h ! Some DBFCDX fixes, made by Przemyslaw Czerpak - borrowed from xHarbour. 2004-03-24 10:08 UTC-0800 Luis Krause Mantilla <lkrausem /*at*/ shaw /*dot*/ ca> * source/rtl/tbcolumn.prg ! fixed typo in comment * source/rtl/tbrowse.prg ! fixed initialization bug that miscalculated ::RowCount in ::Stabilize() ! fixed ASSIGN freeze to return ::nFrozenCols (Clipper compatibility) ! fixed ::RefreshCurrent() to validate ::aRedraw to avoid r/t error ! fixed ::rect assignment in ::Configure (3rd param was ::nHeaderHeight instead of ::nFooterHeight) 2004-03-23 14:50 UTC+0100 Ryszard Glab <rglab@imid.med.pl> * source/pp/ppcore.c * fixed parsing of nested #defines in command/translate for example: #define PRE_CHAR 'A' #define IDX_EXPR(x) PRE_CHAR+x INDEX ON IDX_EXPR(myfield) TO myfile * source/pp/pptable.c * updated for fixes in ppcore.c (_DFSET define) 2004-03-23 11:05 UTC+0100 Maurilio Longo <maurilio.longo@libero.it> * contrib/tip/Rules.make + added support for building under OS/2 with GCC (I hope I did not break anything else) + inserted TABs between target and rule to make target since this is requested by gnu-make * contrib/tip/tiputils.c * fixed to work under OS/2 GCC contrib/tip can now be built under OS/2 GCC and tests work ok (I could download a web page and a mail using tiptest). 2004-03-21 21:48 UTC-0800 Luis Krause Mantilla <lkrausem /*at*/ shaw /*dot*/ ca> * source/rtl/tbcolumn.prg + added PreBlock and PostBlock instance variables for Clipper 5.3x compatibility 2004-03-20 15:05 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) + tests/bldtest/Makefile + tests/bldtest/bldtest.c + simple C program to check if Harbour can be compiled on used machine / system / C compiler 2004-03-19 11:40 UTC+0100 Ryszard Glab <rglab@imid.med.pl> * utils/hbmake/hbmake.prg *fixed #define datediff(<x>,<y>) into datediff(x,y) (Clipper compatibility) (thanks to Jacek Kubica) 2004-03-19 08:20 UTC+0100 Ryszard Glab <rglab@imid.med.pl> * source/debug/debugger.prg * fixed refreshing of watchpoints * source/pp/ppcore.c * fixed bug introduced with my previous commit 2004-03-18 12:45 UTC+0100 Ryszard Glab <rglab@imid.med.pl> * include/hberrors.h * source/pp/ppcore.c *fixed #define parsing of pseudofunctions in cases where passed argument has the same name as declared parameter *fixed #define parsing of pseudofunctions - the following syntax is not allowed: #define test(x,x) - duplicated parameters #define test(x,) - missing parameter #define test(x - missing parenthes * source/common/expropt1.c * fixed generation of pcode for &(macro)->() syntax * source/compiler/harbour.l * fixed GPF when string with unmatched terminator was used * include/hbexprop.h * source/compiler/harbour.y * removed direct access to internals of expression optimizer structure * source/debug/debugger.prg * fixed checking of path separator 2004-03-17 8:14 UTC-0800 Luis Krause Mantilla <lkrausem /*at*/ shaw /*dot*/ ca> * contrib/rdd_sys/ads1.c * reuploaded to CVS (somehow it didn't get through the last time) 2004-03-12 14:45 UTC-0300 Rodrigo Moreno <rodrigo_moreno@yahoo.com> * xharbour/contrib/pgsql/TPostgres.prg * Method Fieldget, fixed problem text field with null 2004-03-11 16:01 UTC-0800 Luis Krause Mantilla <lkrausem /*at*/ shaw /*dot*/ ca> * contrib/rdd_sys/ads1.c * NTX compatibility fix in adsOrderListFocus() to keep current order if selected one fails 2004-03-10 10:40 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbfcdx/dbfcdx1.c ! Initialization code fixed. 2004-03-09 22:30 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * hrbdll.vc * file has been updated due to adding source/rtl/hbrandom.c. * include/hbapiitm.h * source/rdd/itemapi.c * source/rdd/dbf1.c * source/rdd/workarea.c * source/rdd/dbfcdx/dbfcdx1.c * more synchronization with xHarbour's RDD. 2004-03-09 10:15 UTC-0800 Luis Krause Mantilla <lkrausem /*at*/ shaw /*dot*/ ca> * hrbdll.bc * Added reference to missing hbrandom.c. Can a MSVC user sync hrbdll.vc? 2004-03-09 13:50 UTC+0100 Ryszard Glab <rglab@imid.med.pl> + source/rtl/altd.prg +new file with ALTD() procedure code * hrbdll.bc * hrbdll.vc * makefile.bc * makefile.nt * makefile.vc * source/rtl/Makefile *added a reference to rtl/altd.prg * source/common/hbffind.c *fixed to compile correctly with HB_OS_UNIX * include/hbcomp.h * include/hbexpra.c * include/hbexprb.c * include/hbexprop.h * include/hbpcode.h * source/common/expropt1.c * source/compiler/expropta.c * source/compiler/exproptb.c * source/compiler/genc.c * source/compiler/harbour.c * source/compiler/harbour.y * source/compiler/hbfix.c * source/compiler/hbgenerr.c * source/compiler/hbpcode.c * source/macro/macro.y * source/macro/macroa.c * source/macro/macrob.c * source/vm/hvm.c +added missing support for @¯o and @M->memvar +added new pcode HB_MACROPUSHREF (all sources have to be recompiled) * source/debug/dbgtwin.prg * source/debug/debugger.prg *fixed procedures callstack when modules with/without debug info are linked together *fixed the debugger activation when ALTD() is used in a module with no debug info (the debugger shows up on the first line with debug info after the ALTD() is called) NOTICE: Some compilers may require that the debug library has to be specified as an object file in order to get the debugger linked in. 2004-03-08 19:50 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> + ChangeLog + Started a new ChangeLog. * source/rtl/ChangeLog.014 * Renamed old ChangeLog, due to file size. * include/hbapifs.h * include/hbmath.h * include/hbrddcdx.h * include/hbrdddbf.h * include/hbrddntx.h * include/hbrdddbt.h * include/hbrddfpt.h * include/hbset.h + source/rtl/hbrandom.c * source/rtl/Makefile * source/rtl/filesys.c * source/rtl/set.c * source/rdd/dbf1.c * source/rdd/dbfntx/dbfntx1.c * source/rdd/dbfcdx/dbfcdx1.c * source/rdd/dbfcdx/dbfcdx1.h * source/rdd/dbffpt/dbffpt1.c * Changes in DBF RDD, DBFCDX RDD, DBFFPT RDD, made by Przemyslaw Czerpak and Giancarlo Niccolai, has been borrowed from xHarbour. * makefile.bc * makefile.nt * makefile.vc * make files has been updated due to adding source/rtl/hbrandom.c. 2004-03-06 10:50 UTC-0300 Rodrigo Moreno <rodrigo_moreno@yahoo.com> * xharbour/contrib/pgsql/TPostgres.prg * Changed DataToSql, when empty date, should return null * Contributed by Joao Fonseca 2004-03-04 11:15 UTC-0300 Rodrigo Moreno <rodrigo_moreno@yahoo.com> * xharbour/contrib/pgsql/TPostgres.prg * Changed method GetBlank(), resulting nil class on previous errors 2004-03-02 16:00 UTC-0300 Rodrigo Moreno <rodrigo_moreno@yahoo.com> * xharbour/contrib/pgsql/TPostgres.prg * Add new property lallCols. Used to send only changed columns or not changed 2004-02-07 17:05 UTC+0100 Giancarlo Niccolai <gian@niccolai.ws> * contrib/tip/Rules.make + Added support for making with GTXVT * contrib/tip/tipclient.prg + Added gauge support in WriteFromFile (TODO: add it in ReadFromFile ) (TODO: detect file sizes in downloads) * contrib/tip/tipclientftp.prg + Fixed transfer startup/shutdown sequence * contrib/tip/tests/tiptest.prg + Added gauge for writing files 2004-02-27 12:37 UTC+0100 Viktor Szakats * source/rtl/teditor.prg ! Fixed a Bound error in GetParagraph which came up when using <Del> in wrap mode, in the last line I guess. Note that this just fixed the bound error, not the possible real problem. 2004-02-21 8:14 UTC+0100 Viktor Szakats * source/common/hbffind.c * source/rtl/direct.c + Completely rearranged, so that the platform specific stuff is kept in one function. Redundant code removed. * Attrib filters needed to make DIRECTORY() CA-Cl*pper compatible have been moved to the low-level file-find functions. + Added label support for Win32. ! Fix for Win32. It has been made compatible with the C RTL _dos_findfirst pattern matching, which is what CA-Cl*pper is compatible with. * Adding space to the stringified attribute list on HB_FA_NORMAL removed, since it's not compatible, and it doesn't get executed anyway, since HB_FA_NORMAL == 0. * Unix part formatted. ; All this means that file find API is fixed now and compatible with CA-Cl*pper on the lower-level. Heavily tested under Win32, and probably easy to fix for any other platforms now in case of incompatibility. Changes has be merged from an older version of the file, so please double chk your changes/platforms. ; Note that other file-find API based functions will also automatically benefit from the above changes, like FILE()/ hb_fsFile(). 2004-02-21 7:39 UTC+0100 Viktor Szakats * source/rtl/memoread.c * Previous change reverted. hb_retc( NULL ) was intentional and is an optimized version of hb_retc( "" ). Both will return an empty string. % hb_fsClose() calls reduced. * src/rtl/tbcolumn.prg * src/rtl/tbrowse.prg ! :SetColumn() retval made compatible. ! :ColWidth() retval made compatible. % Using array functions to speed up a few things. % Got rid of the predefined 4096 long array in every columns plus the browse object. ; More and more incompatibilities are popping up, some of them quite strange, and only coming up in a large app's sophisticated browse stressing environment. - Removing rightmost column while active will do RTE, - If headsep is initialized after the columns and cargo, browse will sometimes behave strangely (headsep value disappears??) - Moving columns off the visible area will screw up internals. - Modifying columns is slow because of the unconditional :configure() calls. 2004-02-20 8:55 UTC-0800 Luis Krause Mantilla <lkrausem /*at*/ shaw /*dot*/ ca> * contrib/mysql/mysql.c ! Fixed declaration for filelength() from int to long to match io.h * source/rtl/memofile.c ! Changed return values for empty or failed calles to MemoRead() to return an empty string instead of a NULL ! Close file when MemoRead() was successful, but file was empty (was being left open) Above solutions reported and provided by David Arturo Macias Corona. Thanks! 2004-02-19 12:48 UTC-0800 Luis Krause Mantilla <lkrausem /*at*/ shaw /*dot*/ ca> * contrib/rdd_ads/adsfunc.c ! fixed casting in adsShowError() * contrib/rdd_ads/ads1.c ! adsSeek() now raises a runtime error 1201 if no index is active ! adsOrderListAdd() sets order to 0 if an invalid or non-existent tag is provided The above two were added to keep Clipper compatibility + Added 5th param to commonError() in order to provide uiFlags, like other RDD's * source/rdd/dbfcdx/dbfcdx1.c * source/rdd/dbfntx/dbfntx1.c ! Fixed error code returned by hb_cdxSeek() and ntxSeek() to 1201 (was 1020) so it returns same error code as Clipper 2004-02-17 9:22 UTC-0800 Luis Krause Mantilla <lkrausem /*at*/ shaw /*dot*/ ca> * contrib/rdd_ads/adsfunc.c + Forgot to mention Brian Hays' implicit record locking fix/workaround is also included in my previous ADS update. The function name is adsTestRecLocks() 2004-02-16 17:40 UTC-0800 Luis Krause Mantilla <lkrausem /*at*/ shaw /*dot*/ ca> * contrib/rdd_ads/ads1.c * contrib/rdd_ads/adsfunc.c * contrib/rdd_ads/adsmgmnt.c * contrib/rdd_ads/ace.h * contrib/rdd_ads/rddads.h * contrib/rdd_ads/doc/en/adsfuncs.txt ! Renamed Data Dictionary functions for consistency: adsAddTable() to adsDDAddTale() adsAddUserToGroup to adsDDAddUserToGroup() ! Moved adsGetNumActiveLinks() inside the ADS_REQUIRE_VERSION6 to avoid compile errors with ADS version older than v. 6.0 + Syncronized with xHarbour - Thanks to Brian Hays, Toninho, et. al. added the following functions: adsConnect60() adsCopyTableContents() adsDDCreate() adsDDCreateUser() adsDDGetDatabaseProperty() adsDDGetUserProperty() adsDDSetDatabaseProperty() adsGetTableCharType() adsMGGetLockOwner() 2004-02-16 15:52 UTC+0100 Viktor Szakats * src/rtl/set.c ! Fixed an incompatibility in Set(_SET_EXIT) which caused ReadExit() to set the SET value even if called without a parameter. Similar incompatibility can exist with other sets, but I didn't chk them. Now ReadExit() works as expected. * src/rtl/tbrowse.prg ! Typo. 2004-02-16 14:00 UTC-0300 Rodrigo Moreno <rodrigo_moreno@yahoo.com> * xharbour/contrib/pgsql/makefile.bc to user PG_DIR var * xharbour/contrib/pgsql/TPostgres.prg * Changed ISCHAR to ISCHARACTER * xharbour/contrib/pgsql/samples/stress.prg * Changed ISCHAR to ISCHARACTER * Contributed by Eduardo Fenandez 2004-02-16 10:52 UTC+0100 Viktor Szakats * src/rtl/tbrowse.prg + :ColorRect() partial support added. The missing part is that in C52 :ColorRect() will update the screen probably using some internal buffers for the data, because the skipblock for example is not evaluated. * src/rtl/filesys.c * Some cleanup, optim, comments, added static. 2004-02-15 14:02 UTC-0800 Luis Krause Mantilla <lkrausem /*at*/ shaw /*dot*/ ca> * hrbdll.bc + added references to cdphu852.c cdphuwin.c and errorint.c Could a MSVC user update hrbdll.vc 2004-02-15 16:35 UTC+0100 Viktor Szakats * src/rtl/tbrowse.prg ! Fixed to not display headsep/footsep when there's no header/footer. ! Fixed to display headsep/footsep with the width of colsep. * makefile.bc ! Added DEBUG_LIB for Harbour exes to make them compile in debug mode. * souce/rtl/gtapi.c ! hb_gtSetColorStr() previous change reverted. The mistake was on my side most probably. 2004-02-15 05:25 UTC+0100 Viktor Szakats * source/rtl/tbrowse.prg ! :Moved() fixed to always DeHilite() (independently from the autolite value). This is in sync with C52 docs (see autolite .ng), and testing has shown it to be compatible. Only :stabilize should be affected by the autolite setting. + TODO: added about missing ColorRect functionality. 2004-02-15 05:12 UTC+0100 Viktor Szakats * source/rtl/tbrowse.prg ! Fixed color handling to take into account ::defcolor of TBColumn. Now TBrowse coloring is C52 compatible. For speed wierd cases are not handled like if the value of ::defcolor is improper. * source/rtl/tgetlist.prg * source/rtl/ttopbar.prg * source/rtl/tbrowse.prg ! DevPos() -> SetPos() (TBrowse() had plenty of them) ! Few missing color params added to DispOut*() 2004-02-15 04:20 UTC+0100 Viktor Szakats * source/rtl/tget.prg ! :display() fixed to always evaluate the get block before displaying like in C52. * include/hbapifs.h + HB_FFIND structure extended for future changes. 2004-02-15 03:42 UTC+0100 Viktor Szakats * source/rdd/dbcmd.c ! FIELDPUT() Fixed to accept and ignore field NIL values without runtime error. C52 compatible. 2004-02-14 19:14 UTC+0100 Viktor Szakats * source/rtl/tbrowse.prg ! SetColumnWidth() fixed for multi-line headers. 2004-02-14 05:33 UTC+0100 Viktor Szakats * include/hbapigt.h * source/rtl/gt_tpl/gt_tpl.c * source/rtl/gtwin/gtwin.c * source/rtl/gtcgi/gtcgi.c * source/rtl/gtcrs/gtcrs.c * source/rtl/gtdos/gtdos.c * source/rtl/gtos2/gtos2.c * source/rtl/gtpca/gtpca.c * source/rtl/gtsln/gtsln.c * source/rtl/gtstd/gtstd.c + Following low-level GT API functions added (for completeness): hb_gt_GetCharAttr( SHORT uiRow, SHORT uiCol, BYTE * pbyChar, BYTE * pbyAttr ); "static hb_gt_xGetXY()" functionality copied where available. * Parameter of previously added functions changed from USHORT to SHORT (to support moving windows out of screen) + "static hb_gt_xPutch()" code copied to hb_gt_PutCharAttr() where available. ! Added bounds checking to GTWIN new functions. 2004-02-14 04:28 UTC+0100 Viktor Szakats * include/hbapigt.h * source/rtl/gt_tpl/gt_tpl.c + Following low-level GT API functions added to support 3rd party GT high-level layers/replacements and 3rd party screen handling libraries: hb_gt_PutCharAttr( USHORT uiRow, USHORT uiCol, BYTE byChar, BYTE byAttr ); hb_gt_PutChar( USHORT uiRow, USHORT uiCol, BYTE byChar ); hb_gt_PutAttr( USHORT uiRow, USHORT uiCol, BYTE byAttr ); hb_gt_GetChar( USHORT uiRow, USHORT uiCol, BYTE * pbyChar ); hb_gt_GetAttr( USHORT uiRow, USHORT uiCol, BYTE * pbyAttr ); * source/rtl/gtwin/gtwin.c * Above functions completed for the Win Terminal driver. * source/rtl/gtcgi/gtcgi.c * source/rtl/gtcrs/gtcrs.c * source/rtl/gtdos/gtdos.c * source/rtl/gtos2/gtos2.c * source/rtl/gtpca/gtpca.c * source/rtl/gtsln/gtsln.c * source/rtl/gtstd/gtstd.c * Skeletons added for the above new functions. 2004-02-14 03:00 UTC+0100 Viktor Szakats * makefile.bc ! Fixed compilation of dbgbrwsr * source/pp/ppcore.c * source/rtl/round.c * source/rdd/dbfcdx/dbfcdx1.c ! Fixed errors when compiled with HB_TRACE * source/common/hbffind.c * Formatting. 2004-02-13 23:57 UTC+0100 Viktor Szakats + source/codepage/cdphu852.c + source/codepage/cdphuwin.c * source/codepage/Makefile * makefile.bc * makefile.nt * makefile.vc + Added Hungarian 852 and Windows sorting codepages. * source/rtl/errorapi.c + source/rtl/errorint.c * source/rtl/Makefile * makefile.bc * makefile.nt * makefile.vc + hb_errInternal() put in a separate source file, to ease replacing/override it in link-time, this may be useful for GUI apps, logging or something like this. 2004-02-13 23:36 UTC+0100 Viktor Szakats * source/vm/hvm.c ! hb_vmPopAliasedVar() - Fixed to be case-insensitive. % hb_vmPushAliasedVar() - Case-insensitive handling speed up. * unsigned long -> ULONG * source/rtl/idle.c * include/hbapi.h + Made hb_releaseCPU() public. * source/rtl/filesys.c * include/hbapifs.h + Added return value to hb_fsSetDevMode(), this way it's fully compatible with the CA-Cl*pper _tdevraw() call. * source/rtl/philes53.c ! FSETDEVMOD() now returns a numeric instead of NIL. The returned value is always 0 now. Note added about this incompatibility with C53. * source/common/hbver.c ! Mistyped defines related to compatibilty fixed. * source/rtl/strcase.c ! Incorrect assigment warnings fixed. 2004-02-13 21:56 UTC+0100 Viktor Szakats * souce/rtl/gtapi.c ! hb_gtSetColorStr() removed one suspicious assigment which showed incompatible with CA-Cl*pper, where CLR_UNSELECTED was made equal to CLR_ENHANCED if missing from the color string. * Using HB_CLR_ constants instead of literals. * source/rtl/tget.prg ! :ColorSpec() method unselected color defaulting fixed. * source/compiler/hbusage.c * Bumped year to 2004. 2004-02-12 13:42 UTC-0800 Luis Krause Mantilla <lkrausem /*at*/ shaw /*dot*/ ca> * hrbdll.bc + added missing references - deleted obsolete refrerences 2004-02-11 13:40 UTC+0100 Ryszard Glab <rglab@imid.med.pl> + source/debug/dbgbrwsr.prg + The new file with TDbgBrowser class which inherits from TBrowse * hrbdll.bc * hrbdll.vc * makefile.bc * makefile.nt * makefile.vc * source/debug/Makefile + added the reference to dbgbrwsr.prg * source/debug/dbgmenu.prg + added "Run at Startup' option * source/debug/dbgtwin.prg * source/debug/debugger.prg * source/debug/tbrwtext.prg + added "Run at Startup' option - if it is enabled then the debugged application runs until ALTD() is called or Alt+D keys pressed (Clipper compatibility - the default option). If it is disabled the the debugger shows up at the first code line with the debug info. This setting is stored in the initialization file (init.cld) as 'Options NoRunAtStartup'. * fixed more display/refreshing issues * fixed quiting the debugger * source/rtl/alert.prg * fixed bug with messages longer then 60 bytes * source/vm/hvm.c * hb_vmDebugEndProc() is called before the eval stack is cleaned - this allows to handle INIT/EXIT procedures correctly 2004-02-05 18:49 UTC-0800 Luis Krause Mantilla <lkrausem /*at*/ shaw /*dot*/ ca> * source/vm/debug.c + add wrappers (some 3rd-party-libs still use these ones) for: __VMSTKGLIST() __VMSTKGCOUNT() Thanks Andi! 2004-01-30 15:30 UTC+0100 Ryszard Glab <rglab@imid.med.pl> * source/pp/ppcore.c * fixed compilation of &(exp) in normal stringify markers (this fixes INDEX ON bug reported by Jorge) 2004-01-30 10:40 UTC+0100 Ryszard Glab <rglab@imid.med.pl> * source/rtl/teditor.prg * the current line is still visible after the window resizing * source/debug/debugger.prg * fixed refreshing of variables' monitor window * fixed some save/restore screen issues 2004-01-29 20:15 UTC-0800 Luis Krause Mantilla <lkrausem /*at*/ shaw /*dot*/ ca> * contrib/rdd_ads/ace.h + added missing definition for adsGetNumActiveLinks() 2004-01-29 18:45 UTC-0800 Luis Krause Mantilla <lkrausem /*at*/ shaw /*dot*/ ca> * source/vm/debug.c + add wrappers (some 3rd-party-libs still use these ones) for: __VMSTKLCOUNT() __VMPARLLIST() __VMSTKLLIST() __VMVARLGET() __VMVARLSET() * source/vm/hvm.c + add wrappers (some 3rd-party-libs still use these ones) for: __VMVARSLIST() __VMVARSLEN() __VMVARSGET() __VMVARSSET() Thanks Andi! 2004-01-29 18:30 UTC-0800 Luis Krause Mantilla <lkrausem /*at*/ shaw /*dot*/ ca> * contrib/rdd_ads/adsfunc.c + Added 3 ADS functions: adsGetNumOpenTables(), adsShowError() and adsGetNumActiveLinks() 2004-01-28 11:10 UTC+0100 Ryszard Glab <rglab@imid.med.pl> * source/compiler/harbour.c * removed duplicated line causing memory leak reported by Andi 2004-01-27 19:10 UTC+0100 Ryszard Glab <rglab@imid.med.pl> * source/compiler/harbour.c * fixed generation of pcode in codeblocks with no local variables or parameters * source/debug/debugger.prg * fixed refreshing of variables in monitor window 2004-01-27 16:10 UTC+0100 Ryszard Glab <rglab@imid.med.pl> * source/compiler/harbour.c * the compiler generates module name inside '(_INITSTATICS)' function if -B option is used * source/vm/hvm.c * fixed hb_vmStaticName, hb_dbg_vmVarSGet, hb_dbg_varSSet to use the static variables frame * source/debug/dbgtmenu.prg * source/debug/dbgtmitm.prg * source/debug/debugger.prg * fixed parsing of <var>:<name> in watchpoint expressions * fixed monitoring of static variables - the debugger displays now static variables defined in the current debugged prg file 2004-01-26 19:30 UTC+0100 Ryszard Glab <rglab@imid.med.pl> * include/hbextern.ch * tests/debugtst.prg * tests/funcarr.prg * tests/inherit.prg * tests/objarr.prg * tests/objasign.prg *replaced '__vm*' functions with 'hb_dbg_vm*' names 2004-01-26 8:30 UTC-0800 Luis Krause Mantilla <lkrausem /*at*/ shaw /*dot*/ ca> * source/rtl/tget.prg ! Fixed bug in get class when using "@9" picture with strings 2004-01-26 11:45 UTC+0100 Ryszard Glab <rglab@imid.med.pl> * source/compiler/harbour.c *fixed generation of codeblock's pcode with debugging info * source/debug/dbgmenu.prg * source/debug/dbgtmenu.prg * source/debug/dbgtmitm.prg * source/debug/dbgtwin.prg * source/debug/debugger.prg * source/debug/tbrwtext.prg *added Tracepoint support *added support for PPO files *added monitoring of local variables used in a codeblock *local variables are displayed correctly when the callstack window is browsed *other minor fixes * source/vm/debug.c *renamed '__vm*' functions to 'hb_dbg_*' *fixed support for local variables inside of codeblock * source/vm/hvm.c *added 'hb_dbg_ProcLevel' function which return the size of procedure stack calls (the debugger support) 2004-01-25 10:11 UTC+0100 Antonio Linares <alinares@fivetechsoft.com> * makefile.nt * makefile.vc * minor fix for hbverdir module 2004-01-22 18:30 UTC+0100 Ryszard Glab <rglab@imid.med.pl> * source/debug/dbgmenu.prg * source/debug/dbgtwin.prg * source/debug/debugger.prg *added Watchpoints support * source/vm/debug.c *added item de-referencing to __vmVarLGet 2004-01-21 18:40 UTC+0100 Ryszard Glab <rglab@imid.med.pl> +include/hbdebug.ch *added a missing file 2004-01-21 18:35 UTC+0100 Ryszard Glab <rglab@imid.med.pl> * source/compiler/harbour.y *fixed generation of line number's pcode related to the debugger * source/debug/dbgmenu.prg * source/debug/debugger.prg *added support for 'Run to cursor" command *minor fixes in breakpoints handling (some code lines are not allowed to set a breakpoint and run to cursor) 2004-01-21 15:30 UTC+0100 Ryszard Glab <rglab@imid.med.pl> * source/compiler/harbour.y *fixed generation of line number's pcode related to the debugger * source/debug/dbgmenu.prg * source/debug/debugger.prg *fixed TRACE command *added support for 'Codeblock trace' option * other minor fixes to make the debugger usable Additionally in my previous commit (2004-01-20 19:15) * source/vm/hvm.c *added call for hb_inkeyPoll to the main pcode execution loop to correctly support Alt-D, Alt-C and Ctrl-C requests (only if HB_GUI is not defined) - it is called every 256 opcodes 2004-01-20 19:15 UTC+0100 Ryszard Glab <rglab@imid.med.pl> * include/hbcomp.h * include/hbexprb.c * source/macro/macrob.c * source/compiler/exproptb.c * source/compiler/genc.c * source/compiler/gencli.c * source/compiler/harbour.c * source/compiler/harbour.y * source/compiler/hbfix.c *when debug information is requested then the compiler generates correct pcode with static variable name (it was correct if -gc1 or -gc2 options were used previously) *the pcode of a codeblock contains the module name (in debug mode) + include/hbdebug.ch *a new file with a definition of __dbgEntry call modes * source/debug/debugger.prg * source/vm/hvm.c *changed parameters passed to __dbgEntry function to make the function more flexible *fixed monitoring of local and static variables *when a codeblock is eveluated then debugger shows the code where the codeblock was created * source/rtl/tbrowse.prg *'configure' method recalculates the width of columns * include/hbapi.h * source/vm/codebloc.c * source/vm/itemapi.c * source/vm/memvars.c *code clean-up and optimalization related to codeblocks * source/rtl/gtcrs/Makefile * source/rtl/gtcrs/gtcrs.c + source/rtl/gtcrs/charmap.prg *added possibility to load a character mapping using HB_GT_CHARMAP + source/rtl/gtcrs/debug.map *an example character mapping 2004-01-13 22:10 UTC-0300 Luiz Rafael Culik <culikr@brturbo.com> * contrib/tip/tipclient.prg ! Added support for ESMTP Servers and write method enhaced for multiples email address reparated by comma + contrib/tip/base64x.c ! functions for base64 password building * contrib/tip/makefile.bc * contrib/tip/makefile.bc contrib/tip/Makefile ! makefile updated 2004-01-08 18:45 UTC-0500 David G. Holm <dholm@jsd-llc.com> * contrib/Makefile + Added a section for rsxnt, which is unable to compile Ole and odbc. - Removed odbc from default section, because it includes the windows.h include file, which is unlikely to exist on non-Windows systems. * contrib/odbc/odbc.c ! Added type overrides for MSVC. 2004-01-08 16:45 UTC-0500 David G. Holm <dholm@jsd-llc.com> * source/rtl/filesys.c ! Usage of fdatasync updated to match current POSIX specification. 2004-01-08 16:00 UTC-0500 David G. Holm <dholm@jsd-llc.com> * source/rtl/filesys.c + Added an error return check to fdatasync when using POSIX synchronized I/O, so that if unimplemented, the slower method will be used to ensure that the file gets flushed. * utils/hbpp/hbpp.c ! Removed another refererence to malloc.h, which is obsoleted by stdlib.h and doesn't even exist in gcc 3.x implementations. 2004-01-07 11:20 UTC-0300 Rodrigo Moreno <rodrigo_moreno@yahoo.com> * xharbour/contrib/pgsql/make_b32.bat * xharbour/contrib/pgsql/makefile.bc ! now it's working properly. 2004-01-07 10:50 UTC-0300 Rodrigo Moreno <rodrigo_moreno@yahoo.com> * xharbour/contrib/pgsql/* * Clean tab and spaces align 2004-01-04 17:40 UTC-0300 Rodrigo Moreno <rodrigo_moreno@yahoo.com> * xharbour/contrib/pgsql/* * Add function PQExecParams * This will be usefull on Append/Updated TPostgres Methods to avoid scaping strings 2004-01-04 10:10 UTC-0300 Luiz Rafael Culik<culikr@brturbo.com> * xharbour/contrib/pgsql/* * All Files recommited (trash on source file( chr(13)) * postgres.c Xharbour sources should only include "hbapi.h" clipper compatible headers( extend.api and item.api) should now be used on xharbour modules 2004-01-02 15:05 UTC-0300 Rodrigo Moreno <rodrigo_moreno@yahoo.com> * xharbour/contrib/pgsql/* * INITIAL RELEASE 2003-12-25 19:40 UTC-0800 Luis Krause Mantilla <lkrausem /*at*/ shaw /*dot*/ ca> * include/hbapifs.ch * source/rtl/direct.c * source/common/hbffind.c ! Fixed bug in Directory( "C:\*.*" ) that returned 0 when hidden files were present Borrowed from xHarbour 2003-12-13 17:05 UTC+0100 Ryszard Glab <rglab@imid.med.pl> * source/vm/codebloc.c * fixed initialization of detached variables 2003-12-12 11:45 UTC-0800 Luis Krause Mantilla <lkrausem /*at*/ shaw /*dot*/ ca> * source/rdd/dbcmd.c ! Fixed dbSelectArea() bug reported by Giovi Verrua Thanks to Ryszard for the heads-up 2003-12-10 18:20 UTC-0500 David G. Holm <dholm@jsd-llc.com> * utils/hbver/hbverfix.c ! Fixes for problems found after testing on FreeBSD. 2003-12-10 17:30 UTC-0500 David G. Holm <dholm@jsd-llc.com> * source/compiler/harbour.c * source/compiler/harbour.sly * source/compiler/harbour.y * source/rtl/isprint.c * source/vm/fm.c * source/vm/hvm.c ! Never include malloc.h, because: 1) It been obsoleted by stdlib.h in Standard C; and 2) The use of malloc.h is forbidden in GCC 3.x. 2003-12-10 14:32 UTC+0100 Giancarlo Niccolai <gian@niccolai.ws> * contrib/tip/tipclienthttp.prg * GetRequest and PostRequest method have been changed into Get() and Post(). * cQuery field is now optional, if not given it defaults to URL path+file+query. * Post method now accepts a non optional parameter that may be a string or a hash. * contrib/tip/tipencoderqp.prg * contrib/tip/tipencoderurl.prg * contrib/tip/tipencoderbase64.prg ! IF string to encode is emptu, return immediately. 2003-12-10 02:51 UTC+0100 Giancarlo Niccolai <gian@niccolai.ws> * contrib/tip/tipclienthttp.prg ! fixed a loop and initialization of READ() in PostRequest method * contrib/tip/tipurl.prg ! Fixed parsing of file 2003-12-10 02:10 UTC+0100 Giancarlo Niccolai <gian@niccolai.ws> * contrib/tip/tipurl.prg ! Fixed URL parsing, now using latest REGEX * contrib/tip/tipclient.prg ! Now URL can be created also while opening * contrib/tip/tipclienthttp.prg + If provided with a Hash, method PostRequest will create an HTTP request using key/values pair from the hash, automatically translating them into strings AND encoding them. 2003-12-07 15:10 UTC+0100 Giancarlo Niccolai <gian@niccolai.ws> * tipencoderbase64.prg ! Must used unsigned char instead of char to encode binary data. * tipencoderqp.prg ! The same; also, newline at the end is now added only if needed to break a line. 2003-12-06 13:10 UTC-0300 Luiz Rafael Culik <culikr@brturbo.com> * tipmail.prg !fixed method to string when sending email with attach 2003-12-05 16:05 UTC+0100 Ryszard Glab <rglab@imid.med.pl> * source/rtl/gtcrs/gtcrs.c * characters with code > 128 are displayed correctly now * tests/codebl.prg * updated test for detached codeblock parameters (Notice that we are not compatible with Clipper here - there is no need do duplicate Clipper bug, IMHO) 2003-12-03 17:28 UTC-0800 Luis Krause Mantilla <lkrausem /*at*/ shaw /*dot*/ ca> * source/rdd/dbcmd.c ! Fixed OrdKeyNo() bug that set RecNo() to LastRec() + 1 reported by Roberto Lopez - borrowed from xharbour 2003-12-03 15:15 UTC+0100 Giancarlo Niccolai <gian@niccolai.ws> * contrib/tip/tiputils.c ! strftime does not work very well on windows, or maybe is the BORLANDC strftime failing. Anyhow, I have now implemented native windows api + sprintf() to get timezone, so there is no need of it under windows. 2003-12-03 14:24 UTC-0800 Luis Krause Mantilla <lkrausem /*at*/ shaw /*dot*/ ca> * include/hbapirdd.h * source/rdd/dbcmd.c ! Fixed dbCreate() bug that closed an open dbf with same name as newly created dbf in a different folder reported by Giovi Verrua - borrowed from xharbour 2003-12-03 01:44 UTC+0100 Francesco Saverio Giudice <info@fsgiudice.com> * contrib/tip/tiputils.c ! added __BORLANDC__ as switch to include <windows.h> * contrib/tip/makefile.bc ! added missing files and modfied the build method now it's sufficient to add the target objects without explicity define rules * contrib/tip/tests/bldtest.bat contrib/tip/tests/makefile.bc * changed to compile more examples than tiptest.prg now the syntax is bldtest.bat prg-name-without-extension 2003-12-02 15:57 UTC+0100 Tomaz Zupan <tomaz.zupan@orpo.si> * bin/pack_src.sh + Added missing directories to script 2003-12-02 15:23 UTC+0100 Lorenzo Fiorini <lorenzo_fiorini@tin.it> * source/vm/hvm.c * source/vm/mainwin.c * bin/bld.bat * config/dos/watcom.cf + config/w32/watcom.cf ! added support to OpenWatcom DOS/Win32 borrowed from xHarbour 2003-12-02 05:08 UTC+0100 Giancarlo Niccolai <gian@niccolai.ws> * contrib/tip/tipencoder.prg ! fixes to initialization (DO CASE brought some trouble, changed with an IF) + contrib/tip/tipmail.prg + Added full MIME w/multipart support! * contrib/tip/tests/Makefile + contrib/tip/tests/Makefile.testmail + contrib/tip/tests/testmail.prg + Added tests for mail parsing + contrib/tip/tests/Makefile.testmmail + contrib/tip/tests/testmmail.prg + Added tests for mail composing 2003-12-01 01:23 UTC+0100 Giancarlo Niccolai <gian@niccolai.ws> * contrib/tip/tipencoderbase64.prg * retouches + contrib/tip/tipencoderqp.prg + Added quoted-printable encoder + contrib/tip/tipencoderurl.prg + Added URL encode TIP encoder. - contrib/tip/tiputils.prg - Removed useless IP_UrlEncode, as they are added (in pure C) in Tip encoder; TIPEncoderURL_* can be used as static methods to access the IP_URLEncode features. + contrib/tip/tiputils.c + Added support for RFC822 timestamp * contrib/tip/Makefile * contrib/tip/Rules.make + Added capability to compile C files * contrib/tip/tests/Makefile + contrib/tip/tests/Makefile.makefile + Added support for testtime * contrib/tip/tests/testtime.prg * contrib/tip/tests/base64test.prg + Added test for quoted printable encoding/decoding. 2003-11-30 15:37 UTC+0100 Giancarlo Niccolai <gian@niccolai.ws> + contrib/tip/tipencoder.prg + contrib/tip/tipencoderbase64.prg + Added basic encoder system classes. More encoders incoming... * contrib/tip/tests/Makefile + contrib/tip/tests/Makefile.base64test + contrib/tip/tests/base64test.prg + tests for encoders. 2003-11-29 04:23 UTC+0100 Giancarlo Niccolai <gian@niccolai.ws> * contrib/tip/tipclienthttp.prg + Added field ::cUserAgent to mimic various User-Agents + Added automatic cookie setting (and eventually re-sending) in field ::hCookie + Added custom request header fields in ::hFields * NOTE: Probably this name will change. 2003-11-29 00:59 UTC+0100 Giancarlo Niccolai <gian@niccolai.ws> * contrib/tip/tipclienthttp.prg + Added fields ::nReplyCode and ::cReplyDesc for easier access to HTTP reply codes. 2003-11-24 18:32 UTC+0100 Lorenzo Fiorini <lorenzo_fiorini@tin.it> * source/compiler/gencobj.c ! fixed to allow = for the C compiler options ( suggested by Przemyslaw Czerpak ) ! added support of OpenWatcom C ! cleaned the verbose option * source/rdd/dbfcdx/dbfcdx1.h ! changed to allow OpenWatcom C build ( suggested by Przemyslaw Czerpak ) * source/vm/itemapi.c ! added support of OpenWatcom C 2003-11-22 18:13 UTC+0100 Giancarlo Niccolai <gian@niccolai.ws> * contrib/tip/tipclient.prg * contrib/tip/tipclientftp.prg - Removed useless InetDestroy 2003-11-22 18:13 UTC+0100 Giancarlo Niccolai <gian@niccolai.ws> * contrib/tip/tipclienthttp.prg + added hHeaders hash field to the class; it stores the returned http fields in a hash. * contrib/tip/tests/Makefile + contrib/tip/tests/Makefile.httpadvclient + contrib/tip/tests/httpadvclient.prg + Added a test for this feature. 2003-11-20 18:13 UTC+0100 Giancarlo Niccolai <gian@niccolai.ws> * contrib/tip/tests/ftpadvclient.prg ! Better compliancy for FTP protocol: now CWD is done before dele. 2003-11-20 16:51 UTC+0100 Giancarlo Niccolai <gian@niccolai.ws> * contrib/tip/tipclient.prg ! in ReadToFile(), check must be done for logical false on return from read. * contrib/tip/tipclientftp.prg ! removed a debug test. * contrib/tip/tests/Makefile + added 'clean' target 2003-11-20 16:27 UTC+0100 Giancarlo Niccolai <gian@niccolai.ws> * contrib/tip/tipclient.prg ! fixed a misplaced return on line 192 ! If the connection is not working, destination file is not created in ReadToFile() method. 2003-11-14 16:45 UTC+0100 Ryszard Glab <rglab@imid.med.pl> * include/hbmath.h * fixed to compile under OpenWatcom * source/vm/memvars.c * fixed to release PUBLIC variables correctly (when RELEASE command is used) 2003-11-14 13:01 UTC+0100 Giancarlo Niccolai <gian@niccolai.ws> * contrib/tip/Rules.make ! fixed libraries * contrib/tip/tipclientftp ! Added DELE command support + contrib/tip/tests/Makefile + contrib/tip/tests/Makefile.tiptest + contrib/tip/tests/Makefile.ftpadvtest + contrib/tip/tests/ftpadvtest.prg + Added test for DELE 2003-11-05 12:10 UTC+0100 Giancarlo Niccolai <gian@niccolai.ws> * contrib/tip/Rules.make ! default GT changed to gtcrs + added new libraries * contrib/tip/tipclient.prg * contrib/tip/tipclientftp.prg * contrib/tip/tipclientpop.prg * contrib/tip/tipclientsmtp.prg ! Access to function InetCRLF has been changed to TipClient::cCRLF * contrib/tip/tipclienthttp.prg ! Checking for error while receiving HTTP header 2003-10-12 17:35 UTC-0500 David G. Holm <dholm@jsd-llc.com> * utils/hbver/hbverfix.c ! Include closing quote in string built by szReplaceQuoted. ! Strip newline chars from end of log entry. 2003-10-12 17:15 UTC-0500 David G. Holm <dholm@jsd-llc.com> * utils/hbver/hbverfix.c ! Use the standard ENOENT instead of the DOS-centric ENOFILE. ! Resolved three print format warnings. 2003-11-12 13:35 UTC+0200 Chen Kedem <niki@synel.co.il> * doc/dirstruc.txt + Add a lines for source/rdd/dbfdbt, source/rdd/dbffpt, utils/hbver * doc/es/dbstrux.txt - Remove embedded TABs 2003-10-11 18:35 UTC-0500 David G. Holm <dholm@jsd-llc.com> * makefile.bc * makefile.nt * makefile.vc * include/hbver.h * utils/Makefile + utils/hbver/Makefile + utils/hbver/hbverfix.c This is a first pass at a utility to automatically update include/hbver.h. The ChangeLog-related fields are updated automatically. One of the version- related fields can be updated using one of three command line options (/iv for major version, /im for minor version, or /ir for program revision). The minimal debug output can be suppressed by using the /d-1 option or verbose debug output can be seen by using the /d1 option. Help is obtained using either of the /h or /? options. 2003-11-10 15:54 UTC+0100 Maurilio Longo <maurilio.longo@libero.it> borrowed from xHarbour trying to hunt down a memory leak on an utility of mine 2003-11-10 12:19 UTC+0100 Przemyslaw Czerpak <druzus@polbox.com> * include/hbrddcdx.h * source/rdd/dbfcdx/dbfcdx1.c ! possible memory leak fixed * small improvment in balancing 2003-11-10 13:20 UTC+0100 Maurilio Longo <maurilio.longo@libero.it> * contrib/btree/hb_btree.c + added _CLIPDEFS_H define to let it compile on OS/2 GCC * contrib/libct/bit1.c * contrib/libct/bit3.c * contrib/libct/ct.h + added _CLIPDEFS_H define to let it compile on OS/2 GCC * changed redefined base tipes to C ones, like WORD -> long, bit3.c was already partly fixed before this one * contrib/libnf/chdir.c * contrib/libnf/dispc.c * contrib/libnf/getenvrn.c * contrib/libnf/kspeed.c * contrib/libnf/mouse.c * contrib/libnf/rmdir.c + added _CLIPDEFS_H define to let it compile on OS/2 GCC, now it compiles, but a lot of functions are DOS only 2003-11-10 12:25 UTC+0100 Ryszard Glab <rglab@imid.med.pl> * include/hbcomp.h * source/compiler/cmdcheck.c * source/compiler/genc.c * source/compiler/harbour.c * source/compiler/hbusage.c * source/vm/hvm.c * doc/en/compiler.txt * fixed to correctly generate an address for far jumps * fixed optimalization of far jumps + added a new switch -kJ to disable jump optimalization and NOOP pcode removal (optimalization is enabled by default) 2003-11-09 00:50 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/pp/pptable.c + SET MBLOCKSIZE TO <x> SET MEMOBLOCK TO <x> SET MFILEEXT TO <x> SET AUTOSHARE TO [<x>] SET AUTORDER TO [<x>] SET STRICTREAD <x:ON,OFF,&> New DBFFPT related commands, added by Przemyslaw Czerpak - synced with xHarbour. * include/hbdefs.h * source/rdd/dbcmd.c * source/rdd/dbfcdx/dbfcdx1.c ! Some DBFCDX fixes by Przemyslaw Czerpak - synced with xHarbour. * source/rdd/dbfntx/dbfntx1.c ! Bug fixed, which appeared while conditional indexing of a parent file in relation. 2003-10-22 13:26 UTC-0800 Luis Krause Mantilla <lkrausem /*at*/ shaw /*dot*/ ca> * source/rdd/rddord.prg + ORDSETRELATION() * source/rtl/dummy.prg + removed implemented fzuns * Latest RDD changes, has been made by Przemyslaw Czerpak - synced with xHarbour. 2003-11-06 11:40 UTC+0100 Ryszard Glab <rglab@imid.med.pl> * source/compiler/harbour.l * enabled support for break[] (if not full Clipper compatibility mode was requested) * include/hbexpra.c * include/hbexprb.c * include/hbexprc.c * include/hbexprop.h * source/common/expropt2.c * source/compiler/expropta.c * source/compiler/exproptb.c * source/compiler/exproptc.c * source/macro/macroa.c * source/macro/macrob.c * source/macro/macroc.c * fixed optimalization of literal strings that contain macro operator - strings are not joined if the left argument of '+' operator contains '&' for example: CHR(38)+'text' -> will no longer look for 'text' variable '&var'+'iable' -> will look for 'var' variable instead of 'variable' + added optimalization of ASC function for example: ASC('&') will be replaced with 38 + added optimalization of LEN function for example: LEN("123") will be replaced with 3 LEN( {1,2} ) will be replaced with 2 Optimalization od ASC, LEN is disabled if strict Clipper mode is requested (-kc) * source/compiler/harbour.c * support for strings as array of bytes is disabled by default now (use -ks to enable it) * source/vm/cmdarg.c * source/vm/hvm.c * support for strings as array of bytes is disabled by default now (use //FLAGS:s to enable it) 2003-11-06 11:00 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/vm/hvm.c * RDD initialization added ( made by Przemyslaw Czerpak ) - I forgot to upload it yesterday. 2003-11-05 23:35 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * makefile.bc * makefile.nt * makefile.vc * Makefiles has been updated due to RDD changes 2003-11-05 22:50 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * config/global.cf * include/hbapirdd.h * include/hbapi.h * include/hbapifs.h * include/hbdefs.h * include/hbrddcdx.h * include/hbrddntx.h * include/hbrdddbf.h * include/hbrdddel.h * include/hbrddsdf.h + include/hbdbferr.h + include/hbrdddbt.h + include/hbrddfpt.h * source/rtl/filesys.c * source/rtl/spfiles.c * source/rtl/filehb.c * source/rdd/dbcmd.c * source/rdd/dbf1.c * source/rdd/delim1.c * source/rdd/rddsys.prg * source/rdd/sdf1.c * source/rdd/workarea.c * source/rdd/dbfcdx/dbfcdx0.prg * source/rdd/dbfcdx/dbfcdx1.c * source/rdd/dbfcdx/dbfcdx1.h - source/rdd/dbfcdx/dbfcdx2.h * source/rdd/dbfntx/dbfntx1.c + source/rdd/dbfdbt/ + source/rdd/dbfdbt/dbfdbt0.prg + source/rdd/dbfdbt/dbfdbt1.c + source/rdd/dbffpt/ + source/rdd/dbffpt/dbffpt0.prg + source/rdd/dbffpt/dbffpt1.c * Latest RDD changes, has been made by Przemyslaw Czerpak - synced with xHarbour. 2003-10-30 19:50 UTC+0100 Ryszard Glab <rglab@imid.med.pl> * source/compiler/harbour.l * source/compiler/harbour.y *Fixed support for DO <procname> [WITH ...] command The procedure name is not "uppercased" For example: DO MyProc The compiler look for MyProc.prg file now (instead of MYPROC.prg) 2003-10-30 10:45 UTC+0100 Tomaz Zupan <tomaz.zupan@orpo.si> * source/rtl/alert.prg ! Reverted changes from 2003-09-07 2003-10-29 20:15 UTC+0100 Ryszard Glab <rglab@imid.med.pl> * include/hbexprb.c * source/compiler/exproptb.c * source/macro/macrob.c *fixed generation of pcode for {|| &var} *see below * include/hbcomp.h * source/compiler/cmdcheck.c * source/compiler/harbour.c * source/compiler/harbour.y * source/compiler/hbusage.c * doc/en/compiler.txt *added support for DO <proc> WITH @variable *a new compatibility flag -ks was added to enable support for strings as array of bytes (it is enabled by default). The support for strings as bytes array is disabled if you use -kc switch (Clipper compatibility mode) *when xbase mode is not used (-kc or -kch) then compiler doesn't generate the pcode for these xbase extended features For example: memv:="2,3" a:={1, &memv, 4} will generate a runtime 'syntax error' without -kx switch or will create an array with four elements if -kx was used. The above rule will apply also for: var[&index] func( &argument ) (expr1, ¯o ) Notice that the xbase mode is enabled by default. * source/rtl/gtapi.c *fixed GPF in hb_gtBox() when no string was passed * source/rtl/gtcrs/gtcrs.c *improved recognition of xterm compatible terminals * source/rtl/gtcrs/Makefile * source/rtl/gtcrs/kbdcrs.c + source/rtl/gtcrs/keymap.prg + source/rtl/gtcrs/eterm.map + source/rtl/gtcrs/linux.map *the support for runtime definition of keycodes mapping was added (translation from terminal key sequences into INKEY() codes) +eterm.map and linux.map are example files with keycode mapping +HB_GT_KEYMAP() function was added * include/hbapi.h *Changed declaration of hb_cmdargProcessVM() * include/hbapigt.h * include/hbvm.h * source/rtl/inkey.c * source/vm/cmdarg.c * source/vm/hvm.c *new function hb_vmFlagEnabled() to query compatibility at runtime *new internal command line arguments were added to control application at runtime: //FLAGS:switches this flag controls compatibility issues of the virtual machine Available switches: c - Clipper compatibility h - Harbour extensions (enabled by default) s - enable support for strings as array of bytes (enabled by default) For example: myapp //FLAGS:ch will disable support for strings as array of bytes //CANCEL:key //CANCELEX:keyex this flag allows change the keycode of application cancel request (usually Alt-C) - using normal INKEY() keycodes or extended keycodes (CANCELEX) For example: myapp //CANCEL:304 will change Alt-c into Alt-b for cancelling (Alt-c is used to insert polish diactric letter) * tests/keywords.prg *fixed to suppress warnings for FIELD and IN keywords if passed by reference 2003-10-25 14:45 UTC+0100 Ryszard Glab <rglab@przesiew.imid.med.pl> * include/hbexprb.c * source/compiler/exproptb.c * fixed to stop 'function defined but not used' warning with SIMPLEX * source/compiler/harbour.l * enhanced to support nested '[]' strings created with dumb stingify match marker (full Clipper compatibility with Flex) * source/pp/ppcomp.c * source/pp/ppcore.c * fixed support for stingify match markers - full Clipper compatibility * tests/Makefile * testpp.prg was added into BAD_PRG_SOURCES * tests/codebl.prg * test for references of codeblock parameters was added + tests/testpp.prg * new file to test stringify match markers (this file will not run - compile it only) 2003-10-24 11:50 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbfntx/dbfntx1.c ! Minor fix for calculating the maximum keys number in index page. Some 3rd party engines ( Crystal Reports ) had problems opening ntx'es, created by Harbour. 2003-10-23 15:40 UTC+0100 Ryszard Glab <rglab@przesiew.imid.med.pl> * source/compiler/harbour.l * fixed codeblock scanning - this should cure random GPFs 2003-10-23 11:00 UTC+0100 Ryszard Glab <rglab@przesiew.imid.med.pl> * include/hbexprc.c * source/compiler/exproptc.c * a variable pbUseTextSubst is initialized correctly when compiled with macro support * source/compiler/harbour.l * (char *) cast was added * source/vm/itemapi.c * check for a loop in variable de-referencing was added The following code: var := IIF( .T., @var, var ) is causing that the variable is referencing itself (valid syntax in Clipper) * source/vm/macro.c * fixed to link correctly with WATCOM linker 2003-10-23 10:30 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/rtl/strcase.c ! hb_strncpyUpper() and hb_strncpyUpperTrim() fixed. 2003-10-22 9:49 UTC-0800 Luis Krause Mantilla <lkrausem /*at*/ shaw /*dot*/ ca> * makefile.bc * $(OBJ_DIR)\msgsrwin.obj added to LANG.LIB dependencies section. 2003-10-22 13:55 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * makefile.bc * makefile.nt * makefile.vc * lang/msgsrwin.c and symbol.prg ( to makefile.nt only ) added. * source/rdd/dbcmd.c ! Ordscope() fixed - first parameter is TOPSCOPE by default now. 2003-10-21 10:23 UTC-0800 Luis Krause Mantilla <lkrausem /*at*/ shaw /*dot*/ ca> * source/vm/codebloc.c ! Fixed detached local bug (borrowed from xharbour) * source/rdd/dbcmd.c ! Fixed bug in __dbLocate() with When clause (borrowed from xharbour) 2003-10-20 13:45 UTC+0100 Ryszard Glab <rglab@przesiew.imid.med.pl> * .cvsignore * Restored previous version * include/hbexpra.c * include/hbexprb.c * include/hbexprc.c * include/hbexprop.h * source/common/expropt1.c * source/compiler/exproptb.c * source/compiler/exproptc.c * source/compiler/harbour.sly * fixed declaration mismatch in Simplex version * fixed generation of string's pcode (introduced with my previous changes) * source/pp/ppcore.c * fixed support for stringify match markers <""> and <()> in Flex version (for example &var.1 have to be expanded into "&var.1" instead of var.1 since this is not a valid Clipper expression) NOTICE! In Simplex version this is not fixed because it is used as a hack to correctly support macro variables in GET command. * tests/testget.prg * MEMVAR declaration was added 2003-10-20 11:37 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * include/hbapi.h * The declaration of hb_objSendMsg() added. * source/rdd/dbfntx/dbfntx1.c ! bug fixed in soft seeking. 2003-10-17 18:08 UTC+0100 Ryszard Glab <rglab@przesiew.imid.med.pl> * include/hbapi.h * include/hbcomp.h * include/hbexpra.c * include/hbexprb.c * include/hbexprc.c * include/hbexprop.h * source/common/expropt1.c * source/compiler/expropta.c * source/compiler/exproptb.c * source/compiler/exproptc.c * source/compiler/harbour.c * source/compiler/harbour.l * source/compiler/harbour.sly * source/compiler/harbour.y * source/compiler/hbgenerr.c * source/macro/macro.y * source/macro/macroa.c * source/macro/macrob.c * source/macro/macroc.c * Fixed support for late/early evaluation of macro exressions in a codeblock (Flex version) (see tests/tstblock.prg for a sample) Harbour(flex) is now full Clipper compatible here. * config/dos/watcom.cf * source/rdd/dbfcdx/dbfcdx1.h * source/common/hbffind.c * include/hbrddcdx.h * include/hbmath.h * Changed to compile correctly with WATCOM compilers 2003-10-16 13:17 UTC+0100 Antonio Linares <alinares@fivetechsoft.com> * source/rtl/round.c ! hb_numRound() completely redesigned Source code provided by Vicente Aranzana. Vicente Aranzana kindly requests to have CVS developer access rights. 2003-10-10 10:00 UTC+0100 Antonio Linares <alinares@fivetechsoft.com> * source/rtl/round.c ! changes on round() function, proposed by Vicente Aranzana. Based on his tests, the changes are working ok. 2003-10-08 14:24 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * Makefile * contrib/Makefile * Makefiles are changed to build some contribution libraries. * source/vm/classes.c * hb_objSendMsg() function added ( borrowed from xHarbour ). It makes it more easy to set/get values of object variables, execute object methods from the C level. 2003-10-07 12:06 UTC+0200 Chen Kedem <niki@synel.co.il> * doc/whatsnew.txt * Update build 43 release date 2003-10-04 20:18 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * contrib/ole/ole2.c * Some changes needed for Mingw. + contrib/ole/Makefile + Makefile added. 2003-09-29 16:12 UTC-0800 Luis Krause Mantilla <lkrausem /*at*/ shaw /*dot*/ ca> * contrib/rdd_ads/adsfunc.c * contrib/rdd_ads/doc/en/adsfuncs.txt + Added 2 (ignored) & 3rd params to adsKeyNo() in order to perform like OrdKeyNo() for other RDD's. The default remains ADS_IGNOREFILTERS for compatibility (like adsKeyCount() does). Updated documentation in adsfuncs.txt 2003-09-29 22:10 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> *source/rtl/strcase.c ! hb_strncpyUpperTrim() is fixed ( borrowed from xHarbour ). * include/hbver.h * Release info has been corrected again ... 2003-09-29 15:20 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> *source/rtl/strcase.c ! hb_strncpyUpper() is fixed ( borrowed from xHarbour ). * make_tgz.sh * bin/pack_src.sh * release info changed * include/hbver.h * Release info has been corrected again :). 2003-09-29 11:47 UTC+0300 Chen Kedem <niki@synel.co.il> * doc/whatsnew.txt + Added information about builds 10..25, 43 based on information found on the Harbour site and the mail list. 2003-09-29 11:25 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbfntx/dbfntx1.c * Signature byte for ntx files is changed to be Clipper compatible. * include/hbver.h * Release info has been corrected 2003-09-29 09:10 UTC+0200 Tomaz Zupan <tomaz.zupan@orpo.si> * harbour.spec * Release info has been changed. 2003-09-26 22:10 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/compiler/hbusage.c ! Year has been changed in copyright statement ( 2003 instead of 2002 ). * include/hbver.h * Release info has been changed. 2003-09-26 09:18 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbfntx/dbfntx1.c ! Bug fixed in ntxSeek(), reported by Przemyslaw Czerpak - index unlocking wasn't present in some occasions. 2003-09-22 17:07 UTC-0800 Luis Krause Mantilla <lkrausem /*at*/ shaw /*dot*/ ca> * contrib/rdd_ads/adsfunc.c ! fixed parameter error handling in AdsSetAOF (borrowed from xHarbour) 2003-09-18 16:33 UTC-0800 Luis Krause Mantilla <lkrausem /*at*/ shaw /*dot*/ ca> * contrib/rdd_ads/ads1.c ! Fixed bug when passing a numeric to adsCustomizeAOF() (Nil and array worked ok). Thanks to Brian Hays for the fix. * include/ads.ch ! The ROLLBACK TRANSACTION command was translating to AdsRollbackTransaction() instead of just AdsRollback() 2003-09-18 10:20 UTC+0100 Antonio Linares <alinares@fivetechsoft.com> * source/rdd/dbcmd.c ! Fixed several places more where hb_strncpyUpper() was wrongly used 2003-09-18 10:00 UTC+0100 Antonio Linares <alinares@fivetechsoft.com> * source/rdd/dbcmd.c ! definition required for MSVC * source/rdd/dbfcdx/dbfcdx1.c ! some typecastings required for MSVC 2003-09-17 21:41 UTC+0100 Antonio Linares <alinares@fivetechsoft.com> * source/rdd/dbcmd.c ! fixed bug on hb_strncpyUpper() use from DbUseArea() 2003-09-17 10:54 UTC-0800 Luis Krause Mantilla <lkrausem /*at*/ shaw /*dot*/ ca> * source/rtl/tget.prg ! Fixed bug in unTransform() method that truncated trailing spaces in variable when using "@R" template Borrowed from xharbour by Andi Jahja: * source/common/reserved.c * utils/hbdoc/genrtf.prg * utils/hbdoc/genng.prg + Add option to omit reserved words by adding -DHB_RESERVED_OFF (default is ON) /* This may be useful when one is working with pCode DLL where he must redefine reserved words as dummy functions in the DLL. */ 2003-09-15 12:50 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbf1.c * source/rdd/dbfntx/dbfntx1.c ! Bug fixed in hb_IncString(), reported by Przemyslaw Czerpak - now this function respects the national sorting rules. ! Bug fixed in hb_ntxTagKeyNo(), reported by Przemyslaw Czerpak - index unlocking wasn't present in some occasions. ! Bug fixed with scoping, reported by Giovi Verrua. 2003-09-15 12:30 UTC-0500 Paul Tucker <ptucker@sympatico.ca> * contrib/tip/makefile.bc * contrib/tip/makefile.vc * contrib/tip/make_b32.bat * contrib/tip/make_vc.bat * standardised on file locations, etc. 2003-09-11 11:30 UTC+0200 Przemyslaw Czerpak <druzus@polbox.com> * harbour.spec * small fix in auto platform detection (thanks to Tomaz Zupan) * make_tgz.sh * added auto platform detection 2003-09-11 01:00 UTC+0200 Tomaz Zupan <tomaz.zupan@orpo.si> * harbour.spec * swiched back to gtcrs 2003-09-11 00:47 UTC+0200 Tomaz Zupan <tomaz.zupan@orpo.si> * harbour.spec * Added automatic platform resolution (borrowed from courier-imap project) * make_rpm.sh * small fix needed to work with Mandrake Linux 2003-09-10 23:27 UTC+0200 Przemyslaw Czerpak <druzus@polbox.com> * harbour.spec * make_tgz.sh * small fix 2003-09-10 21:37 UTC+0200 Przemyslaw Czerpak <druzus@polbox.com> * harbour.spec + new spec file. It creates four binary RPMs with shared and static libs core harbour compiler and tools and with Ron's PP which allow to run xBase files as scripts on *nix platform and new tool hbcmp, hbcc, hblnk, hbmk. For details see README.RPM Please remember that PP has poor GPL license. It is noticed in RPM headers. + hbgtmk.sh + simple script which connect to SourceForge CVS takes sources and build RPMs from them. + make_rpm.sh + script for checking dependences and making RPMs + make_tgz.sh + script for making binary package for this Linux distro which don't support RPM + bin/hb-mkslib.sh + script for building shared libs from static ones and/or object files + bin/pack_src.sh + script for packing harbour sources * Makefile * source/compiler/harbour.c * source/common/hbver.c * source/vm/cmdarg.c * source/vm/fm.c * source/vm/hvm.c * changes for some new futures in hb{cmp,lnk,mk} tools * contrib/libct/datetime.prg - redundant STOD removed (this function is part of RTL) * contrib/dot/pp.prg * contrib/dot/pp.txt * contrib/dot/pp_harb.ch * contrib/dot/rp_dot.ch * contrib/dot/rp_run.ch * upadting for runing xBase files as scripts. All this changes (except Ron's PP) are my work borrowed from xHarbour. 2003-09-10 15:00 UTC-0400 David G. Holm <dholm@jsd-llc.com> * config/dos/bcc16.cf * config/os2/icc.cf ! Disabled the LONGLONG and UNLONGLONG definitions in hbdefs.h, which only work for GCC and Windows, by defining HB_LONG_LONG_OFF. * source/common/hbstr.c * source/compiler/harbour.l * source/rtl/val.c ! Moved the duplicate definitions of hb_strVal to source/common/hbstr.c. * source/rtl/symbol.prg ! Removed static declarations from GETSYMBOLPOINTER, GETSYMBOLNAME, and SYMBOL_EXEC in order to eliminate static vs. extern errors in os2/icc builds. * source/rdd/dbfcdx/dbfcdx1.c ! Corrected two instances of (unsigned char *) typecasts on hb_fs... functions, which use BYTE * parameters, not unsigned char * (the distinction is very important for those builds that use C++ mode. 2003-09-10 09:45 UTC-0300 Antonio Carlos Pantaglione <toninho@fwi.com.br> * source/vm/arrayshb.c ! More clipper compatible on ADel(). 2003-09-09 14:16 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/pp/ppcore.c ! Bug fixed in preprocessor, reported by Randy Portnoff. 2003-09-07 13:58 UTC+0200 Tomaz Zupan <tomaz.zupan@orpo.si> * source/rtl/gtcrs/gtcrs.c ! fixed displaying of boxes in xterm * source/rtl/alert.prg ! changed BoxString parameter while displaying box to NIL. It is needed to corectly display alert box in xterm. 2003-08-29 07:03 UTC+0100 Antonio Linares <alinares@fivetechsoft.com> * source/vm/hvm.c ! Fix implemented for -0.0 on hb_vmPushDouble() as proposed by Alejandro de Garate <alex_degarate@hotmail.com>, and on hb_PushDoubleConst() (I guess this place may be a source for such bug too). This fix should solve the bug described by Don Lowenstein regarding -0.0 result <Don.Lowenstein@laapc.com>. 2003-08-24 14:30 UTC+0200 Tomaz Zupan <tomaz.zupan@orpo.si> * utils/hbdoc/genhtm.prg * removed trailing EOL from category name, because category is also used as file name. 2003-08-23 13:20 UTC+0200 Tomaz Zupan <tomaz.zupan@orpo.si> * utils/hbdoc/ffile1.prg ! fixed end of line handling now it works on platforma other than windows * utils/hbdoc/genhtm.prg ! fixed getitem function (in certain situation it returned NIL instead of logical value and prevented it to try access array beyond its bounds) * Changed backslashes into slashes (\ -> /) * utils/hbdoc/hbdoc.prg * doc/genhtm.rsp * Changed backslashes into slashes (\ -> /) 2003-08-22 12:10 UTC+0100 Antonio Linares <alinares@fivetechsoft.com> + source/rtl/color53.prg + source/rtl/mssgline.prg ! modules borrowed from xharbour (required for recent ttopbar.prg changes) * makefile.bc * makefile.nt * makefile.vc * source/rtl/Makefile + added modules mssgline.prg and color53.prg * include/hbapicdp.h + Added hb_cdpchrcmp() prototype * include/hbdefs.h + Added support for ULONLONG * include/hbrddcdx.h * source/rdd/dbfcdx/dbfcdx1.c * source/rdd/dbfcdx/dbfcdx2.h + Freeing pages implemented + redistributing keys implemented * small speed improvement ! And many bug fixes (changes borrowed from xharbour - developed by Przemyslaw Czerpak <druzus@polbox.com>) * source/rtl/cdpapi.c ! sync with xharbour (changes required for DBFCDX improvements) 2003-08-22 11:26 UTC+0100 Antonio Linares <alinares@fivetechsoft.com> * source/rtl/ttopbar.prg ! some required formating 2003-08-21 13:36 UTC+0100 Antonio Linares <alinares@fivetechsoft.com> * source/rtl/ttopbar.prg + MenuModal() implementation - changes borrowed from xHarbour, which borrowed used Class TopBarMenu from Harbour. With this function, David Macias reported bug of missing functions, is answered, as the functions names should not be truncated to 10 chars, also MAKEDIR() should be used instead of DIRMAKE(), and MemoSetSuper() implementation is pending on RDD experts development. 2003-08-21 12:37 UTC+0100 Antonio Linares <alinares@fivetechsoft.com> * source/rtl/teditor.prg ! Modified to allow inherited classes to properly manage K_ESC * source/rtl/memoedit.prg ! K_ESC and CTRL-W Clipper compatible management MemoEdit() bugs described by David Macias, already fixed. The only difference there is with Clipper is that Clipper does not shows the message "Abort Edit? (Y/N)" if the text has not been modified, but Class HBEditor does not provides a DATA lModified by now. 2003-08-21 11:29 UTC+0100 Antonio Linares <alinares@fivetechsoft.com> * contrib/samples/environ.c ! Fixed GPF on missing dot for FileExt() use Bug described by David Macias, and he confirmed the fix too, with this change. 2003-08-19 23:00 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> + harbour.spec spec file to build rpm is added. * source/debug/debugger.prg ! Fix, provided by Lorenzo Fiorini 2003-08-07 22:50 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbcmd.c ! Fix in LOCATE REST WHILE ... FOR ..., provided by Alexander Prostoserdov * source/rdd/dbfntx/dbfntx1.c * support of binary keys implemented. 2003-08-04 14:00 UTC-0400 David G. Holm <dholm@jsd-llc.com> * source/rtl/gtapi.c ! Enforce Clipper compatibility for SCROLL by only calling hb_gt_Scroll from hb_gtScroll if left <= right and top <= bottom. 2003-07-30 14:30 UTC-0400 David G. Holm <dholm@jsd-llc.com> * include/set.ch ! Indicate that there are six (6) Harbour SET extensions. 2003-07-30 08:28 UTC+0300 Chen Kedem <niki@synel.co.il> * doc/en/set.txt + Added _SET_EOF text from the changelog entry written by David G. Holm <dholm@jsd-llc.com> and mark it Harbour extension. 2003-07-28 22:00 UTC-0400 David G. Holm <dholm@jsd-llc.com> * include/hbset.h * include/set.ch * source/pp/pptable.c * source/rtl/dbdelim.prg * source/rtl/dbsdf.prg * source/rtl/set.c + New SET value named _SET_EOF. Defaults to FALSE on UN*X, but defaults to TRUE on everything else. If set to FALSE, then CHR(26) does not get written when using COPY TO DELIMITED, COPY TO SDF, or when closing any of the various text files that are created using various SET values. 2003-07-21 11:10 UTC-0300 Antonio Carlos Pantaglione <toninho@fwi.com.br> * source/rtl/transfrm.c ! Fixed the problem with @E and negative numbers. local nValue := -134.24 msginfo( Val( AllTrim( Transform( nValue, "@E 99,999.99" ) ) ) ) msginfo( Val( AllTrim( Transform( nValue, "@E99,999.99" ) ) ) ) Thanks to Enrico Maria Giordano for this fix. 2003-07-17 23:00 UTC-0300 Antonio Carlos Pantaglione <toninho@fwi.com.br> * source/rtl/transfrm.c ! Removed some old commented lines * contrib/rdd_ads/adsfunc.c ! Update transaction functions ! Add AdsCacheRecords function * source/rdd/dbcmd.c ! Modified error handling to allow retry if alias is not exist during DBSelectArea() for Clipper compatibility. (Reported by Giovi Verrua) * source/vm/hvm.c ! More Clipper compatible to handle FOR-NEXT loops. Changes by Andi Jahja, borrow from xharbour 2003-07-17 17:43 UTC-0400 Alejandro de Garate <alex_degarate@hotmail.com> * doc/en/memo.txt + Added MEMOREAD(), MEMOWRIT() documentation * doc/es/memo.txt + Added MEMOREAD(), MEMOWRIT() documentation 2003-07-17 17:34 UTC-0400 Alejandro de Garate <alex_degarate@hotmail.com> * source/rtl/memofile.c + Added an optional 3rd parameter to MEMOWRIT(), <lWriteEof>, to decide at run-time if EOF char should be written. 2003-07-16 13:00 UTC-0300 Antonio Carlos Pantaglione <toninho@fwi.com.br> * contrib/rdd_ads/ads1.c ! Changes in adsPutValue for speed(). Tested with ADS Local 6.2, not tested with prior versions of ADS. 2003-07-14 13:50 UTC-0300 Antonio Carlos Pantaglione <toninho@fwi.com.br> * contrib/rdd_ads/ads1.c * contrib/rdd_ads/adsfunc.c ! Changes in adsGetValue and AdsKeyCount() for speed(). Tested with ADS Local 6.2, not tested with prior versions of ADS. 2003-07-14 14:39 UTC+0100 Antonio Linares <alinares@fivetechsoft.com> * source/vm/classes.c + HB_SETCLSHANDLE() implemented Syntax: HB_SetClsHandle( <oObject>, <nClassHandle> ) --> <nPrevClassHandle> Real dirty function, though very usefull under certain circunstances: It allows to change the class handle of an object into another class handle, so the object behaves like a different Class of object. Based on objects.lib SetClsHandle(). 2003-07-14 09:10 UTC-0300 Antonio Carlos Pantaglione <toninho@fwi.com.br> * source/rtl/memoline.c ! Fixed a bug by missed () in HB_CHAR_SOFT1 compare. 2003-07-13 15:00 UTC+0200 Giancarlo Niccolai <gian@niccolai.ws> * contrib/tip/tipclientsmtp.prg ! Data() was not asking a getok() in its return, causing a possible misunderstanding if more than an email is sent. Fixed. 2003-07-13 14:13 UTC-0400 Alejandro de Garate <alex_degarate@hotmail.com> + doc/es/gnulice.txt + doc/es/hvm.txt + doc/es/input.txt + doc/es/macro.txt + doc/es/memvar2.txt + doc/es/misc.txt + doc/es/nation.txt + doc/es/objfunc.txt + doc/es/rdd.txt + doc/es/sayget.txt + doc/es/subcodes.txt + doc/es/tbrowse.txt + doc/es/tclass.txt + doc/es/tgetlist.txt + doc/es/tlabel.txt + doc/es/treport.txt + doc/es/var.txt + Added new doc files in spanish 2003-07-13 14:08 UTC-0400 Alejandro de Garate <alex_degarate@hotmail.com> * doc/es/Makefile + gnulice.txt + hvm.txt + input.txt + macro.txt + memvar2.txt + misc.txt + nation.txt + objfunc.txt + rdd.txt + sayget.txt + subcodes.txt + tbrowse.txt + tclass.txt + tgetlist.txt + tlabel.txt + treport.txt + var.txt + Added references to new doc files 2003-07-13 12:32 UTC-0400 Alejandro de Garate <alex_degarate@hotmail.com> * doc/es/lang.txt ! Fixed accents, etc, minor formating. Now in sync with english version 2003-07-13 12:24 UTC-0400 Alejandro de Garate <alex_degarate@hotmail.com> * doc/es/hbpplib.txt * doc/es/howtobsd.txt * doc/es/idle.txt * doc/es/license.txt * doc/es/math.txt * doc/es/memo.txt * doc/es/pcode.txt * doc/es/pragma.txt * doc/es/readme.txt * doc/es/setmode.txt * doc/es/simplex.txt * doc/es/statics.txt * doc/es/strotype.txt * doc/es/tracing.txt * doc/es/vm.txt ! Fixed errors, misspelling, accents, etc, minor formating 2003-07-13 10:52 UTC-0400 Alejandro de Garate <alex_degarate@hotmail.com> * doc/es/array.txt * doc/es/binnum.txt * doc/es/browse.txt * doc/es/clipper.txt * doc/es/cmdline.txt * doc/es/codebloc.txt * doc/es/command.txt * doc/es/compiler.txt * doc/es/datetime.txt * doc/es/dbdelim.txt * doc/es/dbsdf.txt * doc/es/dbstrux.txt * doc/es/dir.txt * doc/es/dirstruc.txt * doc/es/diskspac.txt * doc/es/error.txt * doc/es/eval.txt * doc/es/garbage.txt * doc/es/harbext.txt * doc/es/hb_set.txt ! Fixed errors, misspelling, accents, etc, minor formating 2003-07-12 13:02 UTC+0100 Antonio Linares <alinares@fivetechsoft.com> * source/rtl/philes.c ! FRead() bug fixed, introduced cause 1 byte length strings optimization Bug described by Guy Roussin: function main( cFile ) local nH local cBuf:=" " local cBlock := "{|| Alert( 'test' ) }" nH:=fopen(cFile,0) while fread(nH,@cBuf,1)>0 ; end fclose(nH) eval( &( cBlock ) ) return(NIL) 2003-07-12 10:06 UTC+0100 Antonio Linares <alinares@fivetechsoft.com> * source/debug/debugger.prg * source/rtl/philes.c ! Enhancements developed by Lorenzo Fiorini. Lorenzo: Please supply us a description of what you have implemented. 2003-07-10 17:43 UTC-0300 Antonio Carlos Pantaglione <toninho@fwi.com.br> * source/rtl/memoline.c ! Fixed bug with soft returns. Clipper compatible. 2003-07-09 07:20 UTC-0300 Antonio Carlos Pantaglione <toninho@fwi.com.br> * source/rtl/transfrm.c ! Fix with numeric values and pictures with spaces and pictures with severals dot. Changes by Walter Negro, borrow from xharbour. The return values are compliant with Clipper. eg: Transform( 1234, "9 999" ) eg: Transform( 123.123456, "999.99.99.99" ) PS: I comment ALL old lines with //Toninho@fwi and. If all is Ok, I delete it. 2003-07-08 23:00 UTC-0300 Antonio Carlos Pantaglione <toninho@fwi.com.br> ! Sync with changes made in xHarbour by Walter Negro * contrib/rdd_ads/ace.h ! Fix warning in declaration of function * contrib/rdd_ads/ads1.c * contrib/rdd_ads/adsfunc.c ! Fix error and potential error of AE_INSUFFICIENT_BUFFER in some functions. The len of buffer should include the NULL char. ! Fix, now adsGoTo() test if the new position is EOF. 2003-07-08 14:25 UTC-0300 Antonio Carlos Pantaglione <toninho@fwi.com.br> * contrib/rdd_ads/ads1.c ! Fixed: deleted() return TRUE when is at eof(), borrow from xHarbour. 2003-07-08 11:27 UTC+0300 Chen Kedem <niki@synel.co.il> * doc/en/lang.txt + Added the following to HB_LANGSELECT() list of supported ID's: Slovenian 437 2003-08-03 10:20 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbfntx/dbfntx1.c ! Bug fixed in ntxOrderListRebuild - sometimes GPF appared if packing/reindexing was made after intensive replace operations. 2003-07-07 11:12 UTC-0300 Antonio Carlos Pantaglione <toninho@fwi.com.br> * include/hbclass.ch + Added support for PROCEDURE <ProcName> CLASS <ClassName> syntax. 2003-07-03 15:00 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbfntx/dbfntx1.c ! Bug fixed in ntxZap. 2003-07-03 11:46 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbfntx/dbfntx1.c ! Bug fixed, which appeared after switching between orders and following skipping. 2003-07-03 10:54 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> + source/codepage/cdpsl437.c + source/lang/msgsl437.c + New codepage and lang modules for Slovenian 7bit 437, provided by Mitja Podgornik <Mitja.Podgornik@zgs.gov.si> * source/codepage/cdpsl852.c * source/codepage/cdpsliso.c * source/codepage/cdpslwin.c ! Some fixes, provided by Mitja Podgornik <Mitja.Podgornik@zgs.gov.si> * makefile.bc * makefile.nt * makefile.vc * source/codepage/Makefile * source/lang/Makefile * Makefiles updated. 2003-07-03 10:00 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbfntx/dbfntx1.c ! Bug fixed - there was memory leak after INDEX ON ... ADDITIVE if there were no open indexes * source/rdd/dbf1.c ! Problem fixed for the cases when the field name exceeds 10 characters. * Codepage translation added for memo fields. * source/codepage/cdppt850.c * source/codepage/cdpptiso.c ! Comment delimiters bug fixed. 2003-07-02 11:35 UTC-0300 Antonio Carlos Pantaglione <toninho@fwi.com.br> * source/compiler/harbour.slx ! Add 'static' in definition of hb_comp_SLX_InterceptAction and hb_comp_SLX_CustomAction. 2003-07-02 09:25 UTC+0100 Antonio Linares <alinares@fivetechsoft.com> * makefile.nt * makefile.vc + Added gencli.c module * include/hbcomp.h + Added hb_compGenILCode() prototype * source/compiler/gencli.c * source/rdd/dbf1.c + Added some MSVC required typecasts * source/rdd/dbfcdx/dbfcdx1.c + Added most recent Horacio's development 2003-06-30 10:50 UTC-0300 Antonio Carlos Pantaglione <toninho@fwi.com.br> * source/contrib/rdd_ads/ads1.c ! Fixed problem on adsGoTo() method when using ADT files. Borrow from xHarbour. 2003-06-30 18:33 UTC+0100 Antonio Linares <alinares@fivetechsoft.com> * source/compiler/gencli.c + Added support for multidimensional arrays for Harbour.NET ! .NET IL implementation for HB_ARRAYGEN, HB_P_FUNCTIONSHORT, HB_P_ARRAYPUSH ! Enhanced HB_DOSHORT + Added ObjArrayGen(), ObjArrayPush() and LEN() (Len() support just for arrays). Notice: I want to publically thank Microsoft tech support forums for .NET. There are great guys there providing superb tech support. This code is already working ok with Harbour.NET: function Main() local a := { 123, "hello", { "nested", "array", { 5, "more" } }, .t., "another" } ? a[ 1 ] ? a[ 3 ][ 2 ] ? a[ 3 ][ 3 ][ 2 ] ? a[ 5 ] ? "done!" return nil Warning: Arrays elements assignment is not implemented yet. 2003-06-28 22:52 UTC+0100 Antonio Linares <alinares@fivetechsoft.com> * source/compiler/gencli.c + Added support for logical values management ! .NET IL implementation for HB_P_TRUE, HB_P_FALSE, HB_P_NOT + Added ObjNot( object ) for HB_P_NOT support 2003-06-28 14:41 UTC+0100 Antonio Linares <alinares@fivetechsoft.com> * source/compiler/gencli.c + do case implemented for Harbour.NET ! .NET IL implementation for HB_P_JUMP, HB_P_EXACTLYEQUAL + Added ObjExactlyEqual( object, object ) for HB_P_EXACTLYEQUAL support 2003-06-28 11:56 UTC+0100 Antonio Linares <alinares@fivetechsoft.com> * source/compiler/gencli.c + for...next loops implemented for Harbour.NET ! .NET IL implementation for HB_P_PUSHLONG, HB_P_FORTEST + Added ObjForTest( object, object, object ) for HB_P_FORTEST support 2003-06-28 01:10 UTC+0100 Antonio Linares <alinares@fivetechsoft.com> * source/compiler/gencli.c + .NET IL implementation for HB_P_JUMPFALSENEAR, HB_P_JUMPNEAR + Added labels to each IL generated source code line + Added ObjLessEqual( object, object ) for "<=" operator support ! AddObjects() renamed into ObjAdd( object, object ) for "+" operator support. Notice: Some "nop" has been added to match Harbour opcodes offsets. We may remove them later on. This code is working ok: function Main() local n := 11 if n <= 10 ? "less-equal 10" else ? n ? "greater 10" endif n = 5 if n <= 10 ? n ? "less-equal 10" else ? "greater " endif ? "done!" return nil 2003-06-27 16:07 UTC+0100 Antonio Linares <alinares@fivetechsoft.com> * source/compiler/gencli.c ! .NET IL implementation for HB_P_PLUS ! New .NET function AddObjects() for adding "object" type variables Notice: As Harbour.NET uses IL "object" type for storing variables, the new implemented AddObjects() functions is used for adding variables. This code already works ok: function Main() local n := 10, c := "Hello World" ? n + 20 ? c + " from Harbour.NET" ? "done!" return nil Warning: Date variables type have not been implemented in AddObjects() yet, and also it is not generating an error when adding different types values. 2003-06-27 12:13 UTC+0100 Antonio Linares <alinares@fivetechsoft.com> * source/compiler/gencli.c ! .NET IL implementation for HB_P_PUSHBYTE Notice: This opcode is responsible for placing a byte onto the stack. As all Harbour variables are going to be managed as object type (meanwhile we don't implement strong typing), a box (to turn a value into an object) process is also performed. We may check later on if this is needed for all processes. This test already works: function Main() local n := 123 ? n ? 10 return nil 2003-06-27 10:21 UTC+0100 Antonio Linares <alinares@fivetechsoft.com> * source/compiler/gencli.c ! .NET IL implementation for HB_P_POPLOCALNEAR and HB_P_PUSHLOCALNEAR Notice: These opcodes are responsable for loading the values on the locals and also for pushing the locals contents onto the virtual machine stack. You can already run tests like this: function Main() local c := "Hello world from Harbour.NET !" ? c return nil Remember the process to build a .NET app: Harbour.exe -gi -n hello.prg --> hello.il ilasm.exe hello.il --> hello.exe (for .NET) 2003-06-27 09:13 UTC+0100 Antonio Linares <alinares@fivetechsoft.com> * source/compiler/gencli.c ! .NET IL implementation for HB_P_FRAME Notice: HB_P_FRAME is generated for declaring locals and params. On IL only locals are declared. Params are declared on the same (function) method declaration. Strong typing is not supported yet. To test it simply declare several locals, compile using /gi and check the .IL created file. 2003-06-25 08:32 UTC+0100 Antonio Linares <alinares@fivetechsoft.com> * source/compiler/gencli.c ! object type use implementation for QOUT() Notice: Harbour (as Clipper) any type value vars support is implemented through the use of IL object type. I consulted this idea with Miguel de Icaza and he agreed. So all variables types are declared as object, unless strong typing is required ( AS ... ), then we will use specific types instead of object one. 2003-06-23 17:56 UTC+0100 Antonio Linares <alinares@fivetechsoft.com> * source/compiler/gencli.c ! Some quick & dirty implementations, to provide an IL overview Notice: Hello.prg already works on .NET :-) 2003-06-23 15:10 UTC+0200 Tomaz Zupan <tomaz.zupan@orpo.si> * source/compiler/Makefile + Added gencli.c * source/rtl/Makefile + Added symbol.prg 2003-06-23 13:15 UTC+0100 Antonio Linares <alinares@fivetechsoft.com> * source/compiler/gencli.c ! The IL fun begins :-) Notice: Of course don't even try to compile the resulting IL generated files yet, but you can start reviewing the so-early design already :-) 2003-06-23 10:53 UTC+0100 Antonio Linares <alinares@fivetechsoft.com> * makefile.bc + gencli.c module added Please update other makefiles. 2003-06-23 10:20 UTC+0100 Antonio Linares <alinares@fivetechsoft.com> + source/compiler/gencli.c ! Compiler .NET .il source generation * It is just a copy of genc.c with some minor changes, just to set a starting point for IL generation. * include/hbcomp.h * source/compiler/cmdcheck.c * source/compiler/harbour.c * source/compiler/hbusage.c + Added support for IL generation Warning: This is not even an early prototype :-) More coming soon... 2003-06-23 10:05 UTC+0300 Chen Kedem <niki@synel.co.il> * doc/en/lang.txt + Added the following to HB_LANGSELECT() list of supported ID's: Serbian Windows-1251 * source/lang/msghe862.c * source/lang/msghewin.c ! fix Hebrew typo * source/lang/msgsrwin.c ! add missings commas 2003-06-22 06:42 UTC+0200 Giancarlo Niccolai <gian@niccolai.ws> * contrib/tip/tipclientftp.prg ! Write() implementation of this client was returining a logical instead of a number. Fixed * contrib/tip/tests/tiptest.prg * Timeout set to 20 seconds 2003-06-18 02:05 UTC+0200 Przemyslaw Czerpak <druzus@polbox.com> * source/codepage/Makefile * source/codepage/cdpesdos.c * source/codepage/cdpeswin.c * source/codepage/cdpgedos.c * source/codepage/cdppliso.c * source/codepage/cdpplmaz.c * source/codepage/cdpplwin.c * source/codepage/cdpslwin.c - source/codepage/cdpla850.c + source/codepage/cdppt850.c + source/codepage/cdpptiso.c * makefile.bc * makefile.nt * makefile.vc * corrections in code page description. - removed cdpla850.c ("PT" codepage) + PT850 and PTISO codepages added. * makefiles updated - Sorry, I cannot test all of them. 2003-06-18 00:10 UTC+0200 Przemyslaw Czerpak <druzus@polbox.com> * include/hbapilng.h * include/hblang.ch * source/lang/Makefile * source/lang/msg_tpl.c * source/lang/msgca.c * source/lang/msgcs852.c * source/lang/msgcsiso.c * source/lang/msgcskam.c * source/lang/msgcswin.c * source/lang/msgde.c * source/lang/msgdewin.c * source/lang/msgen.c * source/lang/msgeo.c * source/lang/msges.c * source/lang/msgeswin.c * source/lang/msgeu.c * source/lang/msgfr.c * source/lang/msggl.c * source/lang/msghe862.c * source/lang/msghewin.c * source/lang/msghr852.c * source/lang/msghriso.c * source/lang/msghu852.c * source/lang/msghucwi.c * source/lang/msghuwin.c * source/lang/msgid.c * source/lang/msgis850.c * source/lang/msgit.c * source/lang/msgko.c * source/lang/msgpl852.c * source/lang/msgpliso.c * source/lang/msgplmaz.c * source/lang/msgplwin.c * source/lang/msgpt.c * source/lang/msgro.c * source/lang/msgru866.c * source/lang/msgrukoi.c * source/lang/msgruwin.c * source/lang/msgsl852.c * source/lang/msgsliso.c * source/lang/msgslwin.c * source/lang/msgsr852.c * source/lang/msgsriso.c * source/lang/msgzhb5.c * source/lang/msgzhgb.c + source/lang/msgsrwin.c ! bug fixed in national msg system and new localization added (borrowed from xHarbour) + tests/langmsg.prg * simple test program for national messages I have to ask developpers to run it and check their national messages 2003-06-17 21:50 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/rtl/cdpapi.c ! Bug fixed in hb_cdpTranslate() and hb_cdpnTranslate() * source/rdd/dbf1.c * RDD works Ok now, if field names in dbf are in lower case ( this may be if dbf created by other dbms ) * source/codepage/cdprukoi.c ! Bug fixed. 2003-06-17 17:22 UTC+0100 Antonio Linares <alinares@fivetechsoft.com> * source/debug/debugger.prg * source/debug/dbgwa.prg ! some fixes implemented by Ian Anderson 2003-06-17 09:08 UTC+0300 Chen Kedem <niki@synel.co.il> * doc/en/lang.txt + Added the following to HB_LANGSELECT() list of supported ID's: German ANSI, Spanish ANSI, Polish Windows-1250, Slovenian 852, Slovenian ISO-8859-2, Slovenian Windows-1250 2003-06-16 21:16 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/rtl/cdpapi.c ! Bug fixed in hb_cdpTranslate() and hb_cdpnTranslate() * source/lang/msg_tpl.c * source/lang/msgca.c * source/lang/msgcs852.c * source/lang/msgcsiso.c * source/lang/msgcskam.c * source/lang/msgcswin.c * source/lang/msgde.c * source/lang/msgdewin.c * source/lang/msgeo.c * source/lang/msges.c * source/lang/msgeswin.c * source/lang/msgeu.c * source/lang/msgfr.c * source/lang/msggl.c * source/lang/msghe862.c * source/lang/msghewin.c * source/lang/msghr852.c * source/lang/msghriso.c * source/lang/msghu852.c * source/lang/msghucwi.c * source/lang/msghuwin.c * source/lang/msgid.c * source/lang/msgis850.c * source/lang/msgit.c * source/lang/msgko.c * source/lang/msgpt.c * source/lang/msgro.c * source/lang/msgsr852.c * source/lang/msgsr852.c * source/lang/msgzhb5.c * source/lang/msgzhgb.c ! Missing comma inserted. + source/lang/msgsl852.c + source/lang/msgsliso.c + source/lang/msgslwin.c + Slovenian language files added, provided by Mitja Podgornik <Mitja.Podgornik@zgs.gov.si> + source/codepage/cdpsl852.c + source/codepage/cdpsliso.c + source/codepage/cdpslwin.c + Slovenian codepage files added, provided by Mitja Podgornik <Mitja.Podgornik@zgs.gov.si> Collating sequences are also valid for Croatian, Macedonian and Serbian (latin) language. * source/codepage/Makefile * source/lang/Makefile * makefile.bc * makefile.nt * makefile.vc * Makefiles are changed to compile new lang and codepage files. 2003-06-15 14:20 UTC+0200 Przemyslaw Czerpak <druzus@polbox.com> * source/lang/msgen.c * source/lang/msgpl852.c * source/lang/msgpliso.c * source/lang/msgplmaz.c ! the bug reported by Alexander in msgru* fixed. + source/lang/msgplwin.c + added msgplwin (cp1250) * source/rtl/inkey.c * removed dirty hack which degrease performance of inkey() on *nix platforms. 2003-06-15 02:40 UTC+0200 Giancarlo Niccolai <gian@niccolai.ws> * contrib/tip/tipurl.prg ! Fixed an error in rebuilding address once it is splitted up, when referencing http queries ("?" paths) * contrib/tip/Makefile * contrib/tip/Rules.make * contrib/tip/tests/Makefile ! Updated linux makefiles to more modern settings 2003-06-14 21:25 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbfntx/dbfntx1.c ! Bug fixed, related to seek with lLast and go bottom with scope set. * source/lang/msgru866.c * source/lang/msgrukoi.c * source/lang/msgruwin.c ! Bugs fixed. 2003-06-14 15:48 UTC+0100 Antonio Linares <alinares@fivetechsoft.com> * source/debug/debugger.prg ! Some enhancements by Ian Anderson, but modified as they were implemented on an older Harbour version source code. ! Some improvements. * source/debug/dbgtwin.prg ! some changes by Ian Anderson Warning: Work in progress. Thanks Ian. 2003-06-14 15:22 UTC+0100 Antonio Linares <alinares@fivetechsoft.com> * source/rtl/transfrm.c ! temporary fix waiting for users feedback It fixes the reported bug: function Main() local nValue := -134.24 ? AllTrim( Transform( nValue, "@E 99,999.99" ) ) // Harbour returns "- 134,24" ? AllTrim( Transform( nValue, "@E99,999.99" ) ) // and Clipper "-134.24" return nil Notice that a Val() of the first wrong returned value generates zero, meanwhile the second one returns the original nValue, as expected. 2003-06-14 09:23 UTC+0100 Antonio Linares <alinares@fivetechsoft.com> * include/hbrddcdx.h * source/rdd/dbfcdx/dbfcdx1.c * source/rdd/dbfcdx/dbfcdx1.h * source/rdd/dbfcdx/dbfcdx2.h ! Recent changes and enhancements on DBFCDX from Horacio. Thanks Horacio! 2003-06-09 11:26 UTC+0100 Antonio Linares <alinares@fivetechsoft.com> * source/rtl/tget.prg ! fix on Method Picture() provided by Lorenzo Fiorini 2003-06-09 00:38 UTC+0100 Antonio Linares <alinares@fivetechsoft.com> * source/debug/debugger.prg + CallStack navigation support. ! Improved variables editing. 2003-06-06 15:53 UTC+0200 Tomaz Zupan <tomaz.zupan@orpo.si> * source/rtl/console.c + Added a PRG-callable functions HB_GETSTDIN and HB_GETSTDOUT, to get stdin and stdout file handle. 2003-06-06 10:51 UTC+0100 Antonio Linares <alinares@fivetechsoft.com> * makefile.bc * makefile.vc ! symbol module added Notice: Please update other make files. 2003-06-06 09:35 UTC+0100 Antonio Linares <alinares@fivetechsoft.com> + source/rtl/symbol.prg ! Harbour implementation of Class(y) Class Symbol 2003-05-31 21:04 UTC+0100 Antonio Linares <alinares@fivetechsoft.com> * source/rtl/teditor.prg ! several improvements for the debugger: The source code viewer does not leave a different block color when scrolling. The source code is displayed from the first line (Clipper compatibility). 2003-05-31 17:55 UTC+0100 Antonio Linares <alinares@fivetechsoft.com> * source/rtl/tget.prg ! fixed behavior when pressing "." or "," on a non decimals number Now editing a number without decimals and pressing "." or ",", the cursor goes to the latest GET visual pos (Clipper compatibility). 2003-05-31 15:45 UTC+0100 Antonio Linares <alinares@fivetechsoft.com> * source/rtl/tget.prg ! Some fixes for PICTURE "9" Now editing a character var does not allows to type "-". It allows both "+" and "-" for numeric var. (Clipper compatibility). 2003-05-30 12:39 UTC+0100 Antonio Linares <alinares@fivetechsoft.com> * contrib/rdd_ads/ads1.c ! managed 7008 open error This fixes the not issued error when doing: USE "any" NEW SHARED ALIAS "Test" VIA "ADS" USE "any" NEW EXCLUSIVE ALIAS "Test2" VIA "ADS" // An error must raise here We still need to know if there is a way to know the OS code when ADS returns 7008 error code when opening a DBF. 2003-05-30 09:37 UTC+0100 Antonio Linares <alinares@fivetechsoft.com> * contrib/htmllib/Makefile.bc ! some minor fixes. * source/compiler/harbour.l ! hb_strVal() used instead of atof() This fixes the MSVC incompatibility using RTL Val() and compiled decimal values. Warning: There are two more modules on Harbour that still use atof(). We should move hb_strVal() to source/common and also make the replace on those places. * source/debug/dbgtmenu.prg ! Minor fix to allow new Classes inherit from this one. * source/rtl/pushbtn.prg ! sync with xHarbour. 2003-05-28 13:00 UTC-0400 David G. Holm <dholm@jsd-llc.com> * contrib/rdd_ads/ads1.c * contrib/rdd_ads/adsfunc.c ! Minor changes to minimize MSVC++ type overrides. ! Added MSVC++ type overrides to the ADS version functions. 2003-05-26 18:40 UTC+0200 Przemyslaw Czerpak <druzus@polbox.com> * source/pp/ppcore.c * allow to compile file with <CR><LF> on *nix platforms. It's dirty hack but works good for me and resolves one of the most important problem with common CLIPPER and Harbour (and other XBASE compatible compilers like FlagShip and CLIP) sources - only Harbour cannot compile files with <CR>. * source/compiler/cmdcheck.c ! fix which allow to use file names with '-' char in '-o' option * source/rtl/diskspac.c + added support for diskspace on Unix platforms (first parameter is path name, if omitted "/" is checked) 2003-05-26 15:50 UTC+0200 Przemyslaw Czerpak <druzus@polbox.com> * source/rtl/cdpapi.c * small correction in s_en_codepage = { ... } + source/codepage/cdpplwin.c * source/codepage/Makefile + new Polish codepage PLWIN - CP1250 based * source/rtl/gt.c + new .prg function HB_GT_VERSION() which returns GT name. * source/rtl/seconds.c + new function added SECONDSCPU(n) which reports how many CPU and/or system seconds have elapsed since the beginning of the program execution. n == 1 utime -> user CPU time of the current process n == 2 stime -> system CPU time behalf of the current process n == 3 u + s -> sum of utime + stime (default) n == 11 cutime -> sum of the user CPU time of the current + child process n == 12 cstime -> sum of the system CPU time of the current + child process n == 13 cu+cs -> sum of cutime + cstime I have to ask someone similar with Windows to add support for this function. I found 'GetProcessTimes' in Windows API which can be used for NT based platforms but I cannot find anything for Win9x/ME. 2003-05-22 23:45 UTC-0400 David G. Holm <dholm@jsd-llc.com> * contrib/rdd_ads/ads1.c * contrib/rdd_ads/adsfunc.c * contrib/rdd_ads/rddads.h + Added support for DBINFO(DBI_DB_VERSION), DBINFO(DBI_RDD_VERSION), and ADSVERSION([<nType>]) (but only for nType == 0 and nType == 3 and without date and time information for nType == 3). 2003-05-21 20:34 UTC+0100 Antonio Linares <alinares@fivetechsoft.com> * source/vm/hvm.c ! Fixed arrays comparison. Now it is Clipper compatible. Bug reported by Randy Portnoff 2003-05-21 19:50 UTC+0100 Antonio Linares <alinares@fivetechsoft.com> * source/vm/memvars.c ! default path support for __MVSave() and __MVRestore() implemented by Alexander Prostoserdov. 2003-05-21 18:03 UTC+0100 Antonio Linares <alinares@fivetechsoft.com> * source/debug/dbgtarr.prg * source/debug/dbgtobj.prg ! several fixes when debugging arrays * source/debug/debugger.prg ! several fixes 2003-05-15 21:35 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * tests/testrdd2.prg * some changes, provided by Randy Portnoff * contrib/rdd_ads/ads1.c ! adsInfo() fixed for DBI_GETHEADERSIZE, so Header() returns now correct value ( for dbf tables ) 2003-05-15 12:44 UTC+0100 Antonio Linares <alinares@fivetechsoft.com> + source/rtl/tget.prg ! minor fix 2003-05-15 12:40 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbfntx/dbfntx1.c ! Minor fix * source/rdd/dbf1.c * DBI_FILEHANDLE and DBI_MEMOHANDLE added to dbInfo() 2003-05-15 09:33 UTC+0100 Antonio Linares <alinares@fivetechsoft.com> + source/rtl/tget.prg ! some fixes ! some changes borrowed from xHarbour tests/testread.prg is working fine again. 2003-05-09 23:30 UTC-0400 David G. Holm <dholm@jsd-llc.com> * config/doc.cf * config/header.cf ! Fixes to deal with situation where installation directories are left undefined to avoid installation. 2003-05-09 20:30 UTC-0400 David G. Holm <dholm@jsd-llc.com> * config/doc.cf ! Removed an extra layer of "protection" that resulted in an error message when HB_DOC_INSTALL is not defined, instead of a simple "nothing to do" message. 2003-05-09 20:30 UTC-0400 David G. Holm <dholm@jsd-llc.com> * Makefile + config/doc.cf + doc/Makefile * doc/gmake.txt + doc/en/Makefile + doc/es/Makefile + Added the ability to install files from doc directory using the new environment variable HB_DOC_INSTALL, which is left undefined by default. All files from doc, doc/en, and doc/es are installed if the HB_DOC_INSTALL variable is defined when you run 'make install'. 2003-05-09 17:20 UTC-0400 David G. Holm <dholm@jsd-llc.com> * source/rtl/idle.c + Added a PRG-callable function wrapper for hb_releaseCPU() and named it HB_RELEASECPU. 2003-05-09 14:40 UTC-0400 David G. Holm <dholm@jsd-llc.com> * source/rdd/dbcmd.c ! Fixed the FIELDPOS function to truncate long field names, instead of ignoring them. 2003-05-08 15:30 UTC-0400 David G. Holm <dholm@jsd-llc.com> * source/compiler/harbour.sly ! Fixed $<lNumber>3 in EmptyStatements to read $<lNumber>2. 2003-05-07 14:45 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbfntx/dbfntx1.c ! OrdkeyCount() and OrdKeyNo() now returns physical records number and position if there is no index opened or current order is 0 * source/rtl/set.c ! two warnings fixed. 2003-05-06 15:35 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/rtl/is.c ! Bug fixed: ISUPPER, ISLOWER and ISALPHA with chr(0) argument returned TRUE. Patch provided by Przemyslaw Czerpak 2003-05-06 12:55 UTC+0200 Przemyslaw Czerpak <druzus@polbox.com> * source/rtl/set.c ! Fixed very serious bug in set(_SET_ALTFILE, "") and set(_SET_EXTRAFILE, "") which can caused corrupting any files open by Harbour compiled program 2003-05-06 12:45 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * contrib/rdd_ads/ads1.c ! Bug fixed in adsOrderListClear() - the current order is set to 0 now 2003-05-06 10:45 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * include/hbapicdp.h * source/rtl/cdpapi.c * source/vm/itemapi.c * source/rdd/dbfntx/dbfntx1.c ! Some fix, regarding strings comparison via CODEPAGE API 2003-05-01 21:19 UTC+0100 Antonio Linares <alinares@fivetechsoft.com> + source/codepage/cdpesdos.c + source/codepage/cdpeswin.c ! Added missing char 2003-05-01 13:55 UTC+0100 Antonio Linares <alinares@fivetechsoft.com> + source/rdd/dbcmd.c ! DbCreate() always returns nil. This fixes the bug reported by Marco Braida on sourceforge 2003-05-01 12:10 UTC+0100 Antonio Linares <alinares@fivetechsoft.com> + source/codepage/cdpesdos.c ! codepage support for Spanish MS-DOS + source/codepage/cdpeswin.c ! codepage support for Spanish Windows + source/lang/msgeswin.c ! language messages support for Spanish Windows * makefile.bc * makefile.nt * makefile.vc * source/codepage/makefile * source/lang/makefile ! updated for cdpesdos.c, cdpeswin.c and msgeswin.c 2003-04-28 23:00 UTC+0100 Antonio Linares <alinares@fivetechsoft.com> * source/rtl/tget.prg ! numbers editing bug (side effect from previous change) fixed When typing a number, the second digit was overwriting the previous one. 2003-04-28 21:00 UTC+0100 Antonio Linares <alinares@fivetechsoft.com> * source/debug/debugger.prg ! aCallStack properly set when using trace mode (K_F10) This fixes the debugger bug reported by Guy Roussin. 2003-04-27 15:09 UTC+0300 Chen Kedem <niki@synel.co.il> * doc/dirstruc.txt + Add a line about contrib/ole 2003-04-27 01:33 UTC+0100 Antonio Linares <alinares@fivetechsoft.com> * source/rtl/filesys.c ! hb_fsOpen() minor fix for MSVC This fixes the DbUseArea() MSVC bug reported by Vicente. 2003-04-24 14:35 UTC-0400 David G. Holm <dholm@jsd-llc.com> * source/vm/itemapi.c ! Added non-finite test for w32/msvc, which fixes the new problem where all double values were displayed as if they had overflowed. 2003-04-23 23:11 UTC+0100 Antonio Linares <alinares@fivetechsoft.com> * source/rtl/tget.prg ! PICTURE "#" allows "." keystroke * source/rdd/dbfntx/dbfntx1.c ! some castings for MSVC 2003-04-19 12:00 UTC+0100 Antonio Linares <alinares@fivetechsoft.com> * source/rtl/tget.prg ! Class TGet Data Pos behavior modified to make it Clipper compatible Test sample provided on the Harbour mailing list 2003-04-18 14:10 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbf1.c ! Bug fixed - there was unrecoverable error if file opening failed due to access denied. * source/rdd/dbfntx/dbfntx1.c * Added reporting of OS error code if index opening failed 2003-04-17 15:50 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/pp/ppcore.c ! Fixed some problems with a long ( few kB ) directives. 2003-04-16 19:15 UTC-0400 David G. Holm <dholm@jsd-llc.com> * source/vm/itemapi.c * Simplified non-finite tests for BORLANDC > 1040 and DJGPP (there is no need to also test s_dInfinity and -s_dInfinity when using a function that tests whether or not the parameter value is finite). ! Added non-finite tests for os2.gcc, os2.icc, w32.mingw32, and w32.rsxnt, which fixes the problems that they had with evaluating str(log(-1)). 2003-04-16 22:10 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * include/hbrddntx.h * source/rdd/dbfntx/dbfntx1.c * Added possibility to save/load and use tag name as in Clipper's DBFNTX 2003-04-16 14:50 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbfntx/dbfntx1.c * A bug in hb_ntxTagKeyCount() fixed - reported by Jose Luis Capel 2003-04-15 13:10 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> + contrib/ole + contrib/ole/bldtest.bat + contrib/ole/build32.bat + contrib/ole/hbtest.prg + contrib/ole/ole2.c + contrib/ole/oleauto.prg + With a kind permission of the author, Jose F. Gimenez <jfgimenez@wanadoo.es>, ole library for harbour added. Some unused stuff is removed from the original files, few bug fixes are made. 2003-04-14 14:45 UTC-0400 David G. Holm <dholm@jsd-llc.com> * source/common/hbgete.c ! Added #ifdef to allow OS/2 GCC to use PSZ and OS/2 VAC++ to use PCSZ for EnvValue. 2003-04-13 10:23 UTC+0200 Tomaz Zupan <tomaz.zupan@orpo.si> * contrib/odbc/todbc.prg ! Better way to move to first record after fetching 2003-04-13 10:02 UTC+0300 Chen Kedem <niki@synel.co.il> * doc/whatsnew.txt + Add information about builds 38..42 according to information found on the Harbour site and the developers mailing list 2003-04-12 23:00 UTC+0200 Tomaz Zupan <tomaz.zupan@orpo.si> * contrib/odbc/todbc.prg ! If recordset is cached, move to first record after fetching recordset to cache 2003-04-09 21:40 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * include/hbdbf.h * include/hbrddcdx.h * include/hbrdddbf.h * include/hbrddntx.h * source/rdd/dbf1.c * source/rdd/dbfcdx/dbfcdx1.c * Byte 29 in dbf header with codepage information is added for later implementation. Currently this allows to keep codepage byte ( before it was cleared while header updating ). 2003-04-09 13:40 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * include/hbexprb.c * At() function is now Clipper compatible ( At( "","abc" ) ) - borrowed from xHarbour * source/rdd/workarea.c ! Fixed hb_waRelEval() - When the current order is zero, relation works by GOTO istead of SEEK, as Clipper does - borrowed from xHarbour * source/rdd/dbfntx/dbfntx1.c ! Fix in indexing - when index expression includes fields from the child related workarea 2003-04-08 15:40 UTC-0400 David G. Holm <dholm@jsd-llc.com> * contrib/Makefile ! Added a build path for MSVC++. * source/common/hbffind.c ! Added #include <errno.h> for the HB_OS_WIN_32 branch. * source/common/hbgete.c ! Changed EnvValue from PSZ to PCSZ for IBM VAC++ compatibility. * source/compiler/harbour.y ! Added missing semicolons using patch provided by Jos Backus <jos@catnook.com>. 2003-04-04 11:20 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/pp/ppcore.c * Handling of '*' comment now is more Clipper compatible * include/hbver.h * changed version information 2003-04-03 18:34 UTC+0200 Maurilio Longo <maurilio.longo@libero.it> * source/common/hbgete.c ! fixed warning on OS/2 GCC 2003-04-03 19:52 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/codepage/cdpplmaz.c ! Minor fix, provided by Jacek Kubica 2003-04-02 19:35 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/rtl/langapi.c ! Memory leak is fixed. 2003-04-02 14:18 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * include/hbapicdp.h * source/codepage/cdp_tpl.c * source/codepage/cdpgedos.c * source/codepage/Cdpgewin.c * source/codepage/cdpla850.c * source/codepage/cdppl852.c * source/codepage/cdppliso.c * source/codepage/cdpplmaz.c * source/codepage/cdpru866.c * source/codepage/cdprukoi.c * source/codepage/cdpruwin.c * source/rtl/cdpapi.c ! Few fixes in codepage subsystem 2003-04-01 16:12 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/rtl/transfrm.c * Transform() now uses codepages while converting to upper case. 2003-03-27 11:34 UTC+0100 Antonio Linares <alinares@fivetechsoft.com> * include/hbapi.h * source/vm/classes.c * hb_clsIsParent() made public 2003-03-27 18:35 UTC+0100 Antonio Linares <alinares@fivetechsoft.com> * source/rdd/dbcmd.c * contrib/rdd_ads/adsfunc.c * Minor type casting fixes for MSVC 2003-03-26 16:55 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbcmd.c ! Bug fixed related to COPY TO .. FIELDS ..., reported by Lorenzo Fiorini 2003-03-26 11:30 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbfntx/dbfntx1.c ! Bug fixed, reported by Andrew McCumiskey 2003-03-25 21:35 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> + source/codepage/cdpgewin.c * source/codepage/Makefile + source/lang/cdpdewin.c * source/lang/Makefile * makefile.bc * makefile.nt * makefile.bc Added German Win codepage and lang files, contributed by Guenther Steiner <byte-one@aon.at> + tests/testrdd2.prg + Added RDD test, contributed by Randy Portnoff <randy@palmasdev.com> 2003-03-25 16:46 UTC+0100 Martin Vogel <vogel@inttec.de> * contrib/libct/dattime2.prg * bug fix in function addmonth() 2003-03-24 15:35 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbcmd.c ! bug fixed with improper using of hb_strUpper() - reported by Lorenzo Fiorini * source/rtl/cdpapi.c ! fix, provided by Przemyslaw Czerpak 2003-03-23 15:02 UTC+0100 Giancarlo Niccolai <gian@niccolai.ws> + contrib/tip/encoding/base64.c + contrib/tip/encoding/base64.h + contrib/tip/encoding/uuencode.c + contrib/tip/encoding/uuencode.h Added this files for future integration in TIPS. (Thanks to LUIZ CULIK) 2003-03-22 11:25 UTC+0100 Antonio Linares <alinares@fivetechsoft.com> * source/compiler/harbour.y * fix on recent If() changes IIf() was accepted but If() not. Now it is ok. 2003-03-17 15:30 UTC-0500 David G. Holm <dholm@jsd-llc.com> * source/rtl/filesys.c ! Added newline at end of file. 2003-03-16 10:33 UTC+0100 Antonio Linares <alinares@fivetechsoft.com> * source/compiler/harbour.y * If() inline accepts all kind of arguments Changes borrowed from xHarbour. WARNING: We don't know for sure if these changes may bring any undesirable side effects, so please do all the tests you can. 2003-03-16 09:50 UTC+0100 Antonio Linares <alinares@fivetechsoft.com> * source/rtl/filesys.c * Proper definition for HAVE_POSIX_IO for MSVC compiler. This fixes the CurDrive() bug reported by Vicente Aranzana. Please notice that neither Andi and David proposed solutions have been used. 2003-03-05 13:35 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/vm/hvm.c * source/vm/itemapi.c * source/vm/asort.c * Reverted changes, related to short strings optimization, because they causes problems with arrays and inmplemented 1-byte length string optimization, borrowed from xHarbour. 2003-02-25 22:10 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * contrib/rdd_ads/adsfunc.c + Transaction processing functions added. * contrib/rdd_ads/ads.ch + New commands added: BEGIN TRANSACTION COMMIT TRANSACTION ROLLBACK TRANSACTION 2003-02-22 22:25 UTC+0100 Giancarlo Niccolai <gian@niccolai.ws> * contrib/tip/makefile.bc * contrib/tip/make_b32 + contrib/tip/tests/bldtest + contrib/tip/tests/makefile.bc * Updated (now working with bcc) * contrib/tip/tipclienthttp.prg ! Compilation warning removed 2003-02-22 17:45 UTC+0100 Giancarlo Niccolai <gian@niccolai.ws> * contrib/tip/ * INITIAL RELEASE 2003-02-18 22:05 UTC+0100 Tomaz Zupan <tomaz.zupan@orpo.si> * include/hbdbf.h * include/hbdbsort.h * include/hbexprc.c * include/hboo.ch * source/common/hbfhnd.c * source/compiler/genc.c * source/compiler/harbour.c * source/compiler/hbfix.c * source/compiler/hbpcode.c * source/pp/ppcomp.c * source/rdd/hbdbsort.c * source/rtl/at.c * source/rtl/descend.c * source/rtl/memoline.c * source/rtl/philes.c * source/rtl/philesx.c * source/rtl/strings.c * source/rtl/gtcrs/gtcrs.c * source/rtl/gtcrs/kbdcrs.c * source/vm/debug.c * source/vm/dynsym.c * source/vm/eval.c * source/vm/extend.c * source/vm/macro.c * source/vm/memvars.c * source/vm/runner.c ! Added newline to the end of file, to avoid annoying warning 2003-02-18 23:05 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbfntx/dbfntx1.c ! Stupid bug is fixed, which was introduced recently 2003-02-18 09:15 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * contrib/rdd_ads/adsfunc.c * Few type casts for MSVC 2003-02-17 13:15 UTC-0500 David G. Holm <dholm@jsd-llc.com> * source/rtl/dbdelim.c ! Bug fix for EOL handling when using large import files, provided by the author of the dbdelim append from code, Marco Braida <marcobra@elart.it> 2003-02-15 11:00 UTC+0100 Tomaz Zupan <tomaz.zupan@orpo.si> * config/linux/global.cf - removed PRG_USR directive, because it is no longer needed to compile dbfsdf.prg * source/rtl/dbsdf.prg + Automatic EOL recognition. FindEOL() recognises LF,CR+LF and CR as newline delimiters 2003-02-14 22:05 UTC+0100 Tomaz Zupan <tomaz.zupan@orpo.si> * include/hbapi.h * include/hbcomp.h * include/hbmacro.h * include/hbvm.h * include/hbvmpub.h ! Added newline to the end of file, to avoid annoying warning 2003-02-14 15:25 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/common/hbffind.c ! Fixed a problem with compiling under DJGPP 2003-02-14 13:15 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbfntx/dbfntx1.c ! Fixed few bugs, including problems with scopes and GPF under Linux 2003-02-12 11:15 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbcmd.c * source/rdd/dbf1.c ! Bug fixed: APPEND FROM gave an error if the file <from> was opened already 2003-02-12 10:00 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> + source/codepage/cdpgedos.c + German dos codepage, provided by Guenther Steiner <byte-one@aon.at> * source/codepage/Makefile * makefile.bc * makefile.vc * makefile.nt * cdpgedos.c added 2003-02-10 23:20 UTC+1 jf Lefebvre (mafact) <jfl@mafact.com> * source\compiler\harbour.y Missing external declaration 'hb_compLocalGetPos' * include/hbapirdd.h added function missing declaration at line 1059. 'hb_rddFieldIndex' used in source\rdd\dbfcdx\dbfcdx1.c(1223) * rdd/dbcmd.c changed 1 type casting BYTE * to char * added one type casting to BYTE * 2003-02-10 16:00 UTC-0500 David G. Holm <dholm@jsd-llc.com> * source/rtl/filesys.c ! I missed one place where the X__WIN32__ guard needs to be used (in the hb_fsRename function). 2003-02-05 23:45 UTC-0500 David G. Holm <dholm@jsd-llc.com> * contrib/libct/makefile.bc ! Added a rule to compile setlast.prg * source/rtl/filesys.c ! Always use X__WIN32__ when testing to see if the extended Windows file handle conversion utilities should be used. 2003-01-30 22:10 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/vm/asort.c ! Some fixes, which became necessary after optimization of string operations. 2003-01-29 22:05 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * include/hberrors.h * include/hbpcode.h * source/compiler/genc.c * source/compiler/harbour.sly * source/compiler/harbour.y * source/compiler/hbfix.c * source/compiler/hbpcode.c * source/vm/hvm.c * Added new pcode HB_P_LOCALNEARADDINT for using in FOR ... NEXT cycle, it increases the speed of execution the cycle. Borrowed from xHarbour. 2003-01-28 22:20 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbcmd.c ! Fixed a bug with APPEND FROM ..., COPY TO..., when there was a memo field 2003-01-28 13:05 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/vm/hvm.c ! Little fix to the previous change 2003-01-28 11:25 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * include/hbapi.h * source/rtl/philes.c * source/vm/itemapi.c * source/vm/hvm.c * Optimization of string operations. Now if the size of the string is less than sizeof(short int *) - in most systems it is 4, it is kept in the item itself, additional memory isn't allocated for it. This leads to performance improvement and decreasing of memory fragmentation/usage. 2003-01-26 16:20 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * include/hbapiitm.h * source/vm/itemapi.c * source/vm/hvm.c * hb_itemMove() function added, which is intended for use instead of the hb_itemCopy( pDest,pSource ) hb_itemClear( pSource ) This allows to speed up some internal vm functions. The idea was borrowed from xHarbour. 2003-01-26 14:50 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * include/hbrddcdx.h * source/rdd/dbfcdx/dbfcdx2.h * source/rdd/dbfcdx/dbfcdx1.c * all last updates, made by Horacio Roldan in xHarbour 2003-01-24 17:47 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/vm/maindllp.c ! Minor fix. 2003-01-24 14:00 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/vm/hvm.c * hb_inkeyPoll() is removed from hb_vmDo(), the code fragment with hb_ReadKey() is added to hb_vmExecute() - borrowed from xHarbour. * source/vm/estack.c * source/vm/extend.c * include/hbapi.h * include/hstack.h * HB_API_MACROS and HB_STACK_MACROS are default options now - borrowed from xHarbour. * source/rtl/version.c ! Memory leak fixed. 2003-01-20 00:20 UTC+0100 Martin Vogel <vogel@inttec.de> * contrib/libct/Makefile * contrib/libct/Makefile.bc * contrib/libct/Makefile.vc * contrib/libct/readme.txt * contrib/libct/ctflist.txt * contrib/libct/tests/Makefile + contrib/libct/dattim2.prg + contrib/libct/tests/datetime.prg + addmonth(),ctodow(),ctomonth(),daysinmonth(),daystomonth(),dmy(), doy(),isleap(),lastdayom(),ntocdow(),ntocmonth(),quarter(),week() Thanks to Alan Secker <alansecker@globalnet.co.uk> for providing these functions and the test program; small enhancements, mostly making the functions interational, docu headers etc. added by me :-) * contrib/libct/pos1.c * interpretation of <lMode> parameter in posalpha(),poslower(),posupper() and posrange() corrected; thanks to Guenther Steiner <byte-one@aon.at> for reporting this bug * include/hblang.ch + added constant definitions accessing language specific string via HB_LANG_MESSAGE() 2002-11-01 16:20 UTC-0300 Walter Negro <anegro@overnet.com.ar> * include/hbexprb.c ! Fix assign to array_at. This resolve FOR n[1]:=1 TO 2 Fix borrowed from xHarbour 2003-01-10 17:30 UTC-0500 David G. Holm <dholm@jsd-llc.com> * source/rtl/filesys.c ! The MingW32 use of _LK_UNLOCK instead of _LK_UNLCK turned out to be a bug in a MingW32 that has since been corrected, so the fix has been reverted. Thanks go to Phil Krylov <phil@mail.ru> for pointing this out. In order to allow this to work with the buggy version of MingW32, I've added a #define _LK_UNLCK _LK_UNLOCK if compiling for __MINGW32__ and _LK_UNLCK is not defined. 2003-01-10 17:00 UTC-0500 David G. Holm <dholm@jsd-llc.com> * source/rdd/dbfcdx/dbfcdx1.c ! hb_fsDelete takes a BYTE * parameter, not an unsigned char * one. * source/rtl/filesys.c ! MingW32 uses _LK_UNLOCK, not _LK_UNLK. * source/vm/itemapi.c ! Borland C 3.1 and earlier do not support _isnan or _finite. 2003-01-04 19:40 UTC-0300 Luiz Rafael Culik <culikr@uol.com.br> * include/filesys.c * When X__WIN32__ is defined FHANDLE is defined as Long * source/rtl/filesys.c % Properly Fix the usage os Native Windows File IO API. harbour apps with native WIN IO api has the same speed as Legacy api usage * source/rtl/console.c ! Minor Changes required to proper work of Windows File IO Native API * source/common/hbffind.c ! Corrected error return Values For DJGPP compiler for hb_fsFindNext() and hb_fsFindFirst() functions ! Corrected error return Values For WIN32 for hb_fsFindNext() and hb_fsFindFirst() functions With This Changes to console.c and filesys.c build with X__WIN32__ defined works properly 2002-12-31 11:45 UTC-0500 David G. Holm <dholm@jsd-llc.com> * include/hbver.h * Updated the build number and the ChangeLog information. 2002-12-30 16:50 UTC-0300 Horacio Roldan <harbour_ar@yahoo.com.ar> * source/rdd/dbfcdx/dbfcdx1.c ! fixed scope related bug, reported by Blue Face + added support for the EVAL clause in INDEX 2002-12-28 09:05 UTC-0300 Horacio Roldan <harbour_ar@yahoo.com.ar> * source/rdd/dbfcdx/dbfcdx1.c * source/rdd/dbfcdx/dbfcdx2.h ! fixed bug (search path related), reported by Jacek Potempa <Jacek.Potempa@otc.pl> ! fixed GPF bug reported by Alex Schaft <alexs@quicksoftware.co.za> + added support for DBOI_KEYCOUNTRAW, DBOI_KEYNORAW == DBOI_RECNO, DBOI_KEYTYPE, DBOI_KEYSIZE, DBOI_FULLPATH ! fixed: DBOI_BAGNAME ! fix return value when there's no active order to: DBOI_FILEHANDLE, DBOI_ISCOND, DBOI_ISDESC, DBOI_UNIQUE, DBOI_POSITION, DBOI_RECNO, DBOI_KEYNORAW, DBOI_KEYCOUNT, DBOI_KEYCOUNTRAW. This makes ordKeyNo() = recno() and ordKeyCount() = lastrec() in such case. Reported by Hernan Diego Ceccarelli <hceccarelli@cesotech.com.ar> + added helper function hb_cdxOrdListClear ! structural index isn't closed anymore ! fixed ordKeyNo() and ordKeyCount() to respect filters, they also respect the set deleted but only when there is a filter (as C53) ! fixed ordScope(0/1, ""), reported by Jean-Christophe AVARGUES and Blue Face * source/rdd/workarea.c ! fix to fieldname, reported by Luiz Rafael Culik 2002-12-27 16:40 UTC-0800 Brian Hays <bhays@abacuslaw.com> + added doc/windll.txt as an introduction to Windows 32-bit dll creation with Harbour. 2002-12-22 13:06 UTC+0200 Chen Kedem <niki@synel.co.il> * doc/dirstruc.txt + Add a line about source/codepade 2002-12-22 03:46 UTC-0300 Walter Negro <anegro@overnet.com.ar> * source/rtl/set.c ! Fix, reset PRINTFILE handle when close file. 2002-12-18 14:00 UTC-0500 David G. Holm <dholm@jsd-llc.com> * source/rtl/set.c ! In the set_string function, when then item parameter is NIL use a zero-length string (bug fix for SET PATH TO and SET DEFAULT TO). 2002-12-17 10:50 UTC-0800 Brian Hays <bhays@abacuslaw.com> * contrib/rdd_ads/ads.ch - Removed commands for SET PATH, DEFAULT, DELETED, EXACT, DATEFORMAT and EPOCH since these are handled by the Set Listener functionality now. + added new #define ADS_REQUIRE_VERSION6 to control version 6 ace32.lib/linker requirements * contrib/rdd_ads/ads1.c * created Set Listener support for HB_SET_DATEFORMAT HB_SET_DEFAULT HB_SET_DELETED HB_SET_EPOCH HB_SET_EXACT HB_SET_PATH So whenever you call the Set() function or commands, ADS is automatically updated. * added these fixes by Luiz Culik: * Created bDictionary and adsConnectHandle to allow access to ads data dictionaries; * store pFieldInfo.uiDec = uiDec for doubles in adsCreateFields. * fixed initialization of dVal in adsGetValue (fix by Ron Christie) * fixed Trace in ADS_GETFUNCTABLE(%i, %p), *uiCount, pTable)); to show the contents of uiCount instead of the pointer address. * contrib/rdd_ads/adsfunc.c * to test SetListener capabilities, added or upgraded these functions to be classic "Set/Get" functions so they return the prior ads setting: AdsSetDeleted AdsSetDefault AdsSetSearchPath AdsSetExact NOTE! Because the Set() function now also controls ADS, there is no reason for normal code to ever call these functions. If you do, you may get ADS out of sync with Harbour's settings and create unpredictable results. + added these funcs by Luiz Culik: AdsAddTable() AdsAddUser To Group() AdsUseDictionary() These are all protected by ADS_REQUIRE_VERSION6, so to use them you must define it when compiling rddads. The data dictionary support is a work-in-progress and may need to be re-thought, so don't get too dependent upon current implementation. * contrib/rdd_ads/doc/en/adsfuncs.txt + added documentation for functions in adsfunc.c * contrib/rdd_ads/doc/en/readme.txt + added explanation for using the Set() function call as well as the equivalent commands for SET DEFAULT TO, DATEFORMAT, DELETE, EXACT and EPOCH. + added explanation of INDEXING and Progress Displays using AdsRegCallBack() (and why EVAL/EVERY cannot be supported.) 2002-12-17 12:40 UTC-0300 Walter Negro <anegro@overnet.com.ar> * source/tget.prg ! Fix, UpdateBuffer() should not actualize the variable if the value was not modified. Reported by Francisco Gamboa and Horacio Roldan 2002-12-07 21:45 UTC-0300 Luiz Rafael Culik <culikr@uol.com.br> * source/rtl/menuto.prg ! Fixed Color Parameters when only One color is passed 2002-12-02 15:30 UTC-0500 David G. Holm <dholm@jsd-llc.com> * config/linux/global.cf ! Add to PRG_USR instead of replacing it. * source/rtl/set.c ! When adding a new listener, set the next pointer to NULL. 2002-12-03 22:40 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * makefile.bc * makefile.nt * Added lines, needed for compiling of cdpla850.c * source/codepage/cdpla850.c * source/codepage/Makefile ! Minor fixes 2002-11-01 12:00 UTC-0300 Luiz Rafael Culik <culikr@uol.com.br> * source/rtl/dbsdf.prg ! fixed importing/exporting on linux * contrib/mysql/tmysql.prg ! Applyed Fixes by Wang Shuming * config/linux/global.cf + PRG_USR=-DHB_LINUX macro Added to compile dbsdf.prg 2002-11-28 15:10 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/pp/ppcore.c ! Bug fixed, related to list match markers 2002-11-27 13:30 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbfntx/dbfntx1.c ! Bug fixed, reported by Carlos Andres * source/rtl/cdpapi.c ! Bug fixed in HB_TRANSLATE() 2002-11-26 21:20 UTC+0100 Tomaz Zupan <tomaz.zupan@orpo.si> * contrib/odbc/browodbc.prg ! There was a bug in skipping, that threw an error when dataset contained 0 rows 2002-11-25 21:45 UTC-0300 Luiz Rafael Culik <culikr@uol.com.br> * utils/hbmake/hbmake.prg ! removed unused Var * source/rtl/menuto.prg ! minor formating 2002-11-21 12:05 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbfntx/dbfntx1.c * DBOI_ORDERCOUNT is supported now * hb_stackPop() is added in ntxOrderCreate() * contrib/rdd_ads/ads1.c * adsOrderCreate() created indexes as if ADDITIVE clause is specified, even it was absent - is fixed now. adsOrderCreate() respects current order if WHILE clause is specified 2002-11-20 22:00 UTC-0300 Luiz Rafael Culik <culikr@uol.com.br> * utils/hbmake/hbmake.prg utils/hbmake/hbmlang.c * Some sinc from xharbour hbmake.prg hbmlang.c 2002-11-20 21:45 UTC-0300 Luiz Rafael Culik <culikr@uol.com.br> * source/pp/pptable.c + COLOR parameter to @...PROMPT * source/rtl/menuto.prg ! Added code to use the passed Color to the Prompt.This will allow to make Color menus and Was Far Requested since this feature is an Alaska,Flagship and Max compiler * tests/menuto.prg * Changes the Test to Show the ability of menu items in colors * contrib/mysql/tmysql.prg * On method GetRow(nRow) of TMySQLQuery fixed Handling of Date Retrived(The date is formated on Current SET DATE FORMAT) 2002-11-20 21:56 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/codepage/cdppl852.c * source/codepage/cdppliso.c * source/codepage/cdpplmaz.c ! Minor fix in comment delimiters * source/rdd/dbcmd.c ! COPY TO ... FIELDS is fixed again 2002-11-18 22:35 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbcmd.c ! COPY TO ... FIELDS ... is fixed - fields in the result dbf are in the same secuence as in the FIELDS clause. 2002-11-18 14:55 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * include/hbrddapi.c * source/rdd/dbcmd.c * source/rdd/workarea.c * source/rdd/dbfntx/dbfntx1.c * source/pp/pptable.c * contrib/rdd_ads/ads1.c * WHILE clause implemented for ADS RDD 2002-11-15 14:30 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * include/hbcdpapi.c * source/rtl/cdpapi.c * source/codepage/cdpru866.c * source/codepage/cdprukoi.c * source/codepage/cdpruwin.c * Some fixes and enhancements + source/codepage/cdp_tpl.c + Template file for codepages is added + source/codepage/cdppl852.c + source/codepage/cdppliso.c + source/codepage/cdpplmaz.c + Codepages for Polish language, provided by Jacek Kubica <kubica@wssk.wroc.pl> * source/codepage/Makefile * makefile.bc * makefile.nt * makefile.vc * Changed to compile new Polish codepages 2002-11-13 15:50 UTC-0300 Horacio Roldan <harbour_ar@yahoo.com.ar> * include/hbrddcdx.h * source/rdd/dbfcdx/dbfcdx1.c * source/rdd/dbfcdx/dbfcdx1.h * source/rdd/dbfcdx/dbfcdx2.h ! fixed some declarations to avoid warnings, removed unnecessary introduced casts ! fixed skip bug reported by Andrzej ! fixed bug when empty scope used ! fixed posible index corruption when shared. + added functions cdxError, hb_cdxOrderListRebuild, hb_cdxIndexReindex Now reindex works, as well as pack and zap. 2002-11-13 12:25 UTC+0100 Antonio Linares <alinares@fivetech.com> * include/hbexprb.c ! strings as bytes arrays management (assignment) ! changes borrowed from xHarbour * source/vm/hvm.c ! strings as bytes arrays management (assignment) 2002-11-12 14:32 UTC+0100 Antonio Linares <alinares@fivetech.com> * source/vm/hvm.c + strings as bytes arrays management implemented Notice: Assignment is not implemented yet! 2002-11-12 12:55 UTC+0100 Antonio Linares <alinares@fivetech.com> * source/vm/hvm.c + ":=" operator overloading support for locals and statics variables. 2002-11-12 10:23 UTC+0100 Antonio Linares <alinares@fivetech.com> * source/vm/classes.c * source/vm/hvm.c + Added support for "[]" operator overloading 2002-11-10 19:35 UTC-0300 Luiz Rafael Culik <culikr@uol.com.br> *source/rtl/alert.prg ! fix initialization of cold Var 2002-11-08 13:19 UTC+0100 Ignacio Ortiz <ignacio@fivetech.com> * source/rtl/errorapi.c !Fixed severity to 'can retry' on Base errors (as Clipper) * source/rtl/mlcount.c !Fixed bug reported Brian Hays (the solution is also from Brian) 2002-11-07 22:05 UTC-0300 Luiz Rafael Culik <culikr@uol.com.br> *source/rtl/alert.prg ! due an little mistake i`ve posted xharbour code, i`ve reverted back to version 1.38 and applyed the patch 2002-11-07 08:30 UTC-0300 Luiz Rafael Culik <culikr@uol.com.br> * source/rtl/alert.prg ! minor fix to my change from yesterday 2002-11-06 18:38 UTC-0300 Walter Negro <anegro@overnet.com.ar> * source/rtl/achoice.prg ! Fix, if no UDF is set, pressing an alpha key it go to first item finding this letter without respecting upper and lowercase. Reported by Luiz Culik. 2002-11-06 00:00 UTC-0500 Paul Tucker <ptucker@sympatico.ca> * makefile.vc * makefile.nt * make_vc.bat * clean now handled by make * corrected param handling * use /? for help 2002-11-05 21:41 UTC-0300 Luiz Rafael Culik <culikr@uol.com.br> * source/rtl/alert.prg ! Fixed problem when Text to display has more then 60 chars and the Line Breaker character (;) dont exist (You notice this behaviour on some erros produced by xharbour rdd) 2002-11-05 19:01 UTC-0300 Walter Negro <anegro@overnet.com.ar> * source/rtl/strcase.c ! Fix call to toupper(), tolower(), forcing unsigned char. For the correct working with DJGPP compiler. * source/rtl/is.c ! Fix call to isdigit() and isalpha(), islower() and isupper(), forcing unsigned char. For the correct working with DJGPP compiler. 2002-11-05 14:38 UTC-0300 Walter Negro <anegro@overnet.com.ar> * contrib/libct/setlast.prg + Init version of SETLASTKEY() * contrib/libct/screen1.c ! Fix variable declaration. * contrib/libct/Makefile + setlast.prg * contrib/libct/makefile.bc + setlast.prg * contrib/libct/makefile.vc + setlast.prg * contrib/libct/ctflist.txt * passed setlastkey() to Started state. * contrib/libnf/dispc.c ! Fix variable declaration. * contrib/libnf/ftattr.c ! Fix variable declaration. 2002-11-04 15:18 UTC-0500 Paul Tucker <ptucker@sympatico.ca> * makefile.vc * no more recursive nmake calls * makefile.nt * corrected one batch mode call * make_vc.bat * if building Harbour under NT, use the alternate makefile.nt * for faster builds. * if you would prefer not to use batch mode, * run make_vc /y (just like nmake) 2002-11-03 20:28 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbcmd.c * hb_rddFieldIndex() was declared as static - is changed now, because it is called from dbfntx1.c 2002-11-02 19:26 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * include/hbrddntx.h * source/rdd/dbfntx/dbfntx1.c * The algorithm of key expression evaluation is optimized. Now, if it is the field name only, macro/codeblock evaluation doesn't used - SELF_GETVALUE is used instead. It leads to sensible indexing speedup in case of such simplest index keys. 2002-11-02 11:55 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbcmd.c ! hb_rddGetCurrentWorkAreaPointer() fixed as proposed Jacek Potempa 2002-10-31 16:40 UTC-0300 Walter Negro <anegro@overnet.com.ar> * source/rtl/tget.prg ! Fix ::DeleteEnd() method. It didn't erase the last character. Reported by Luiz Rafael Culik. 2002-10-29 20:45 UTC-0500 Paul Tucker <ptucker@sympatico.ca> * source/rtl/gtwin/gtwin.c * Win9x Tone() support currently only for Borland and MSVC compilers. * The only issue for the moment, is if the calculation of TICKS is * incorrect for other compilers. SEE dTicks in hb_gt_Tone(). * Someone may wish to adapt the code above hb_gt_tone() in gtwin.c * for other compilers. 2002-10-29 16:20 UTC-0500 Paul Tucker <ptucker@sympatico.ca> * makefile.vc * slight re-ordering and added missed codepage.lib directive. + makefile.nt * make_vc.bat * if building Harbour under NT, use the alternate makefile.nt * for faster builds. * Changelog Changed date of following entry from 28 to 29. 2002-10-29 11:10 UTC-0500 Paul Tucker <ptucker@sympatico.ca> * source/rtl/gtwin/gtwin.c * modified by Robert Haley <rhaley@cheshire.net> to allow Tone() * to work correctly under Win9x. * source/vm/maindllp.c * remove redundant returns. Set parc to return NULL not "" * source/rtl/transform.c * changed nFor decl to UINT * source/rtl/defpath.c * removed unneeded assignment to size * source/rdd/dbfcdx/dbfcdx1.c * removed unneeded assignement to uiLen 2002-10-27 21:35 UTC+0100 J-F lefebvre <jfl@mafact.com> * source/rdd/dbf1.c * added missing typecasting for msvc. 2002-10-27 10:28 UTC+0200 Chen Kedem <niki@synel.co.il> * doc/en/lang.txt + Added Russian KOI-8 to HB_LANGSELECT() list of supported ID's 2002-10-25 14:30 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/rtl/cdpapi.c * source/codepage/cdpru866.c * source/codepage/cdprukoi.c * source/codepage/cdpruwin.c * source/vm/hvm.c * Memory for codepage tables is allocated dynamically now - this is needed to provide a possibility of loading codepages from external file while run-time. * Possibility to have the same weight for some characters ( usually accented and appropriate unaccented ) is implemented. 2002-10-25 11:38 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbfntx/dbfntx1.c ! Few fixes, related to codepages support ! Bug fixed ( setting controlling index doesn't caused movement to the top logical record before ) 2002-10-24 15:00 UTC-0300 Walter Negro <anegro@overnet.com.ar> * source/Makefile ! Add codepage to compilation 2002-10-24 20:58 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * include/hbapicdp.h ! Minor fix 2002-10-24 16:05 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> + include/hbapicdp.h + added header file for codepage system * include/hbapirdd.h * include/hbrddcdx.h * include/hbrdddbf.h * include/hbrddntx.h + source/lang/msgrukoi.c + added a msg file for koi8-r * source/lang/Makefile * msgrukoi.c added to Makefile + source/rtl/cdpapi.c + added codepages api source Functions HB_SETCODEPAGE() and HB_TRANSLATE() are implemented * source/rtl/is.c * source/rtl/strcase.c * IsAlpha(), IsUpper(), IsLower(), Upper(), Lower() functions modified to use codepages * source/rdd/dbcmd.c * source/rdd/dbf1.c * source/rdd/dbstrux.prg * source/rdd/dbfntx/dbfntx1.c * Rdd sources are modified to use codepages dbUseArea() and dbCreate() has new optional parameter - codepage id. * source/pp/pptable.c * Commands USE and CREATE FROM are changed - new optional clause 'CODEPAGE <id>' is added * source/vm/itemapi.c * hb_itemStrCmp() is modified to use codepages * source/Makefile * makefile.bc * makefile.vc * makefiles are modified 2002-10-24 15:40 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> + source/codepage + directory for codepage source files is added + source/codepage/cdpru866.c + source/codepage/cdprukoi.c + source/codepage/cdpruwin.c + source/codepage/Makefile + Files for Russian codepages and Makefile for codepage library are added 2002-10-22 18:30 UTC-0400 David G. Holm <dholm@jsd-llc.com> * source/rtl/set.c ! Removed comment block that incorrectly commented out the default case in the HB_SET switch block. ! Fixed the previously commented out code that prevented changing the new HB_SET_DIRSEPARATOR value. * tests/set_test.prg + Added tests to display the Harbour-specific SET values and a test for changing the _SET_DIRSEPARATOR value. 2002-10-22 17:30 UTC-0400 David G. Holm <dholm@jsd-llc.com> * source/rdd/dbfcmd.c * Made FIELDNAME Clipper compatible for the case where there is no current workarea and when the field number does not exist. 2002-10-22 02:00 UTC-0500 Paul Tucker <ptucker@sympatico.ca> * source/rdd/dbcmd.c ! corrected copy length in rddsetdefault 2002-10-22 18:53 UTC+0100 Antonio Linares <alinares@fivetech.com> * source/rtl/filesys.c ! minor fix reported by Jose Fco. Perez 2002-10-22 12:00 UTC-0500 Paul Tucker <ptucker@sympatico.ca> * source/rdd/dbcmd.c ! Fix a problem with Select() that I introduced. 2002-10-21 05:11 UTC+0100 Antonio Linares <alinares@fivetech.com> * source/rtl/achoice.prg ! minor fix 2002-10-21 23:41 UTC-0300 Walter Negro <anegro@overnet.com.ar> * source/rtl/achoice.prg ! Reduce redundant code. ! Fix default values of nBottom and nRight out of range. ! Add control of value of nBottom and nRight. * source/rtl/tget.prg ! Fix ::Changed property to conform UPDATE() behaviour with that Clipper. Fixed by Andi Jahja in xHarbour 2002-10-21 12:30 UTC-0500 Paul Tucker <ptucker@sympatico.ca> * source/rdd/dbfcdx/dbfcdx1.c ! added some long needed typecasts. ! corrected for index on/to without a tag * source/rdd/dbfntx/dbfntx1.c * source/rdd/dbfcdx/dbfcdx1.c * source/common/hbffind.c * source/common/hbfsapi.c ! some strncpy changes. 2002-10-21 12:00 UTC-0500 Paul Tucker <ptucker@sympatico.ca> + tests/vidtest.prg by Brian Dukes <bdukes@yellowthingy.co.uk> * source/rdd/dbcmd.c * source/rdd/workarea.c * source/rdd/dbf1.c ! modified string copy operations for efficiency where appropriate. 2002-10-21 10:20 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * contrib/rdd_ads/adsfunc.c ! Few fixes - checking for hb_parc() return value 2002-10-20 22:50 UTC-0500 Paul Tucker <ptucker@sympatico.ca> * source/rtl/inkey.c ! reduce keyboard polling to <= once per tick. ! Screen updating flies. * source/rtl/philes.c ! comparison to TRUE is not consistant with bool type in FREAD 2002-10-20 16:18 UTC-0500 Paul Tucker <ptucker@sympatico.ca> * source/rdd/dbfntx/dbfntx1.c ! removed unused pLastPages 2002-10-20 15:16 UTC-0500 Paul Tucker <ptucker@sympatico.ca> * source/rdd/dbcmd.c ! Just a few changes for efficiency... 2002-10-20 22:40 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbcmd.c ! Yet another fix related to the hb_parc() changes 2002-10-20 21:12 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbcmd.c ! Few fixes related to the latest hb_parc() changes * source/rdd/dbfntx/dbfntx1.c ! Bug fixed in indexing 2002-10-19 16:50 UTC-0500 Paul Tucker <ptucker@sympatico.ca> * include/hbdefs.h * Added definition for UINT * include/hbapigt.h * source/rtl/gtapi.c * source/rtl/saverest.c * source/rtl/xsavescr.c * source/rtl/gtdos/gtdos.c * source/rtl/gtsln/gtsln.c * source/rtl/gtos2/gtos2.c * source/rtl/gtwin/gtwin.c ! Properly account for the fact that hb_gt_rectsize returns an int (ok, so we treat it as UINT, but this is better than USHORT) * source/rtl/gtwin/gtwin.c * New, highly optimized Windows console gt driver written by Przemyslaw Czerpak <druzus@polbox.com> with some (?) fixes suggested by Peter Rees <peter@rees.co.nz> and Marek Paliwoda <paliwoda@inetia.pl> 2002-10-19 16:26 UTC-0500 Paul Tucker <ptucker@sympatico.ca> * source/rtl/box.c * source/rtl/disksphb.c * source/rtl/errorapi * source/rtl/fnsplit * source/rtl/setcolor ! Simplified some calls to hb_parc() 2002-10-19 21:40 UTC+0100 Martin Vogel <vogel@inttec.de> * contrib/libct/Makefile * contrib/libct/Makefile.bc * contrib/libct/Makefile.vc * contrib/libct/ctflist.txt + contrib/libct/invertwin.prg + INVERTWIN() function provided by Marek Horodyski <homar@altkom.com.pl> 2002-10-19 20:52 UTC+0100 Antonio Linares <alinares@fivetech.com> * debug/debugger.prg ! minor fix to BP (breakpoints) settings saved to file * debug/dbghelp.prg ! mouse support added to debugger help 2002-10-19 20:34 UTC+0100 Antonio Linares <alinares@fivetech.com> * makefile.bc + source/vm/maindllp.c added to the makefile (don't know why this file was removed from it) 2002-10-19 20:07 UTC+0100 Antonio Linares <alinares@fivetech.com> * source/rtl/is.c ! hb_parc() use made clipper compatible 2002-10-19 16:20 UTC+0100 Antonio Linares <alinares@fivetech.com> * source/rdd/dbcmd.c ! some fixes on hb_parc() use from DbCreate() WARNING: Cause recent fix to hb_parc() to make it Clipper compatible, hb_parc() result must be checked before using the returned value. REQUEST: Alexander, Horacio and Brian, as the RDDs captains, please review all hb_parc() use from the RDDs source code, to asure hb_parc() result is properly tested. 2002-10-19 13:27 UTC+0100 Antonio Linares <alinares@fivetech.com> * include/hbapi.h * include/hbtypes.h * source/vm/extend.c * source/vm/maindllp.c ! all hb_stor... functions changed to return an int value Notice: These changes fixes the extend API compatibility issues with Clipper reported by gabor salai <gabor.salai@euroherc.hr> 2002-10-19 12:53 UTC+0100 Antonio Linares <alinares@fivetech.com> * source/vm/extend.c ! minor fix to hb_parc() Notice: This change fixes the hb_parc() bug described by John Skelton 2002-10-19 12:20 UTC+0100 Antonio Linares <alinares@fivetech.com> * source/rtl/philes.c ! FRead() fix for dynamic strings use with more than one holder Notice: This change fixes the FRead() bug described by Randy Portnoff <randy@palmasdev.com> 2002-10-19 11:16 UTC+0100 Antonio Linares <alinares@fivetech.com> * include/hbtypes.h ! minor change to avoid compiling errors if using -DHB_API_MACROS 2002-10-17 14:40 UTC-0300 Luiz Rafael Culik <culikr@uol.com.br> * source/rtl/tbrowse.prg ! Fixed SetColumnMethod() that was not using all Display Area(The nWidthMax variable was substraced by 2) 2002-10-17 15:00 UTC+0700 Andi Jahja <andijahja@cbn.net.id> * source/compiler/harbour.sly * source/compiler/harbour.y ! Add missing third parameter on calls of hb_compGenPushSymbol() 2002-10-16 1:50 UTC-0800 Brian Hays <bhays@abacuslaw.com> * include/dbInfo.ch ! added comments 2002-10-14 17:10 UTC-0300 Walter Negro <anegro@overnet.com.ar> * source/rtl/tget.prg ! fixed get (value and display) involving negative with decimal number whose value is less than 1, in some pictures. 2002-10-14 17:40 UTC+0100 Antonio Linares <alinares@fivetech.com> * include/hbcomp.h * include/hbexprb.c * include/hbmacro.h * include/hbvmpub.h * source/compiler/genc.c * source/compiler/harbour.c * source/vm/dynsym.c * source/vm/hvm.c * source/vm/macro.c ! bug fixed when accesing an aliased expression from within a static function with the same name as the alias. ! changes borrowed from xharbour WARNING: All PRGs must be recompiled as defined value HB_FS_PUBLIC has changed !!! 2002-10-14 11:45 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbfntx/dbfntx1.c ! bug fixed in scopes, when the last record of current order was in the scope ! bug fixed in error handling while index creating * source/rdd/dbfcdx/dbfcdx1.c ! bug fixed in error handling while index creating ( the same as in dbfntx ) 2002-10-14 0:10 UTC-0800 Brian Hays <bhays@abacuslaw.com> * contrib/rdd_ads/rddads.h * contrib/rdd_ads/ads1.c * created iFileType to pArea so each workarea knows whether it's ADT or CDX or NTX * contrib/rdd_ads/adsfunc.c - removed the 'far' from a char far * added in last post * include/dbstruct.ch Added a note that it's also used by C code #included it in hbapirdd.h (where I removed redundancies) * include/ord.ch + include/dbInfo.ch * moved all the DBI_*, DBRI_* and DBOI_* constants to the new dbInfo.ch, and included this in ord.ch and hbapirdd.h * include/hbapirdd.h * removed the redundancies, included dbinfo.ch and dbstruct.ch 2002-10-12 19:00 UTC-0300 Luiz Rafael Culik <culikr@uol.com.br> * contrib/mysql/mysql.c ! Fixed Buffer sizes on DATATOSQL() and FILETOSQLBINARY() It was leading to GPF due buffer underflow. Many thanks to Peter Rees 2002-10-11 21:35 UTC-0300 Horacio Roldan <harbour_ar@yahoo.com.ar> * source/rdd/dbfcdx/dbfcdx1.h * source/rdd/dbfcdx/dbfcdx2.h * source/rdd/dbfcdx/dbfcdx1.c ! fixed bug reported by Richard Chidiak + added function hb_cdxMacroRun ! fixed bug reported by Peter Rees. * changed index creation and updating: some spaces in keys aren't compressed now, so ADS can read the indexes. (it couldn't with some special keys) 2002-10-07 13:22 UTC-0300 Gustavo Junior Alves <alves@coslinux.com.br> * source/rtl/filesys.c * Fix to compile on MSVC - Thanks to Andi Jahja <andijahja@harbour-id.net> 2002-10-06 21:29 UTC-0300 Gustavo Junior Alves <alves@coslinux.com.br> * source/rtl/filesys.c * hb_filecase on hb_fsMkDir, hb_fsChDir and hb_fsRmDir 2002-10-05 23:00 UTC-0300 Luiz Rafael Culik <culikr@uol.com.br> * source/rtl/tget.prg * Fixed small problem when using Mouse to select the editing get 2002-10-04 15:552 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbfntx/dbfntx1.c ! Bug fixed in key appending with few open indexes 2002-10-04 14:42 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbcmd.c ! Bug fixed in COPY TO, APPEND FROM with aliased fields 2002-10-04 13:58 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbfntx/dbfntx1.c ! Few bugs fixed, related to OrdKeyNo() and OrdKeyCount() 2002-10-03 0:40 UTC-0800 Brian Hays <bhays@abacuslaw.com> * contrib/rdd_ads/ace.h + added (void) to AdsApplicationExit( void ); This removes a compiler warning about missing the prototype. Let me know if this creates a problem with any other compilers. * contrib/rdd_ads/adsfunc.c + added AdsGetLastError() contrib. by Randy Portnoff (Thanks!) * contrib/rdd_ads/ads1.c * Cleaned up adsPutValue and adsGetValue formatting, * Fixed fieldname length references * Removed errant setting of uiLen in adsGetValue since these are set in adsOpen now. * adsOrderInfo(DBOI_KEYVAL): fixed ntx handling of numerics Added special decoding for keys of Negative values. * adsCreate: fixed fielddefs buffer sizing * adsOpen: fixed fieldname length references set uiLen of extended types * adsInfo: reformatted, prepared for fleshing out the rest of the options. Added support for dbinfo(DBI_ISFLOCK) 2002-10-01 08:25 UTC+0300 Chen Kedem <niki@synel.co.il> * doc/es/browse.txt * doc/es/cmdline.txt * doc/es/dbstrux.txt ! columns in <table></table> need to be at least 3 spaces apart 2002-09-30 16:46 UTC+0300 Chen Kedem <niki@synel.co.il> * doc/en/input.txt * doc/en/lang.txt * doc/en/menu.txt * doc/en/objfunc.txt ! columns in <table></table> need to be at least 3 spaces apart 2002-09-29 12:00 UTC+0700 Andi Jahja <andijahja@harbour-id.net> * source/rtl/tget.prg ! fixed get (value and display) involving negative (with decimal) number whose value is less than 1. 2002-09-28 21:50 UTC-0300 Horacio Roldan <harbour_ar@yahoo.com.ar> * source/compiler/hbusage.c ! fixed a bug in the list of hb_compPrintCredits ;-) 2002-09-28 01:55 UTC-0300 Horacio Roldan <harbour_ar@yahoo.com.ar> * include/hbapirdd.h * include/hbrdddbf.h * include/hbrddcdx.h * include/hbrddntx.h * source/rdd/dbcmd.c * source/rdd/workarea.c * contrib/rdd_ads/ads1.c * contrib/rdd_ads/rddads.h + Changed fieldname max length handling, it is now a workarea property. (set by the RDD) (in ADS, this is just a patch) 2002-09-28 01:50 UTC-0300 Horacio Roldan <harbour_ar@yahoo.com.ar> * source/rdd/dbfcdx/dbfcdx1.h * source/rdd/dbfcdx/dbfcdx1.c ! changed key in-memory management. this fixes trimmed key problems, reported by Lorenzo Fiorini. ! fixed error reported by Gianni Santamarina. * source/rdd/dbf1.c ! fixed some typos 2002-09-26 12:30 UTC-0300 Horacio Roldan <harbour_ar@yahoo.com.ar> * include/hbapi.h - removed filecase() definition from Extend API * include/hbapifs.h - added filecase() definition to FS API * include/hbset.h * source/rtl/set.c * source/rtl/filesys.c ! fixed GPF, fixed MSVC typecast, changed settings from strings to numeric constants. 2002-09-25 18:47 UTC-0300 Horacio Roldan <harbour_ar@yahoo.com.ar> * source/rdd/rtl/file.c * source/rdd/rtl/filesys.c ! added some missing casts. 2002-09-25 17:15 UTC-0300 Horacio Roldan <harbour_ar@yahoo.com.ar> * source/rdd/rtl/file.c * source/rdd/rtl/filesys.c ! fixed GPF, hb_xfree must be used for hb_xgrab memory. 2002-09-25 20:00 GMT+0100 Martin Vogel <vogel@inttec.de> * contrib/libct/color.prg ! fixed initialization bug reported by Marek Horodyski<homar@altkom.com.pl> 2002-09-25 13:15 UTC-0300 Gustavo Junior Alves <alves@coslinux.com.br> * source/rtl/file.c * source/rtl/filesys.c ! Allow last changes to compile under MSVC ! Change strdup to hb_strdup and rindex (BSD) to strrchr (POSIX) 2002-09-23 11:00 UTC-0300 Gustavo Junior Alves <alves@coslinux.com.br> * include/hbapi.h * include/hbset.h * include/set.ch * source/pp/pptable.c * source/rtl/file.c * source/rtl/filesys.c * source/rtl/set.c ! Implement SET FILECASE, DIRCASE and DIRSEPARATOR * source/pp/ppcore.c ! Fix a core dump on HB_TR_DEBUG PrevSquare 2002-09-22 16:40 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbfntx/dbfntx1.c ! Bug fixed introduced in previous fix :) 2002-09-22 12:25 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbfntx/dbfntx1.c ! Bug fixed in key append 2002-09-21 12:20 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbfntx/dbfntx1.c ! Bug fixed, related to seeking while set deleted on is set 2002-09-20 23:55 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbfntx/dbfntx1.c ! Bug fixed, related to softseek 2002-09-20 14:50 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbfntx/dbfntx1.c ! Bug fixed in ntxZap() 2002-09-20 12:32 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbfntx/dbfntx1.c * include/hbrddntx.h * Improved algorithm of record append in shared mode - that should result in better speed. * Maximum number of keys in the index page is now Clipper compatible - as I just discovered for myself, in Clipper it is already ( hm... I forgot appropriate English word - is divided by 2 ). 2002-09-19 00:35 UTC-0300 Horacio Roldan <harbour_ar@yahoo.com.ar> * source/rdd/dbfcdx/dbfcdx2.h * source/rdd/dbfcdx/dbfcdx1.c + added function hb_cdxGetTagNumber ! fixed some castings and warnings reported by Larry Sevilla, Luiz and Andy. ! fixed controlling order after ordCreate() ! fixed controlling order after ordListAdd() This fixes the controlling order after: USE name INDEX name SET INDEX TO name INDEX ON key TAG tagname * source/rdd/dbcmd.c ! fix gpf in pack, reported by Jorge Mason. * source/rdd/dbf1.c + added support for DBI_FULLPATH and DBI_SHARED, sent by Gianluca Piemonte. 2002-09-18 16:00 UTC-0400 David G. Holm <dholm@jsd-llc.com> * source/rdd/dbfcdx/dbfcdx1.c ! Replaced non-existent _SORTSWAPPAGE used in hb_xgrab() type override with the existing, and correct, LPSORTSWAPPAGE. 2002-09-17 21:55 UTC-01 jf lefebvre (mafact) <jfl@mafact.com> * source/rdd/dbfcdx\dbfcdx1.c ! Added needed typecasting for M$soft C * source/vm/classes.c ! Minor cosmetic change and syncro with xHarbour 2002-09-13 23:30 UTC-0400 David G. Holm <dholm@jsd-llc.com> * source/rtl/dbdelim.prg ! Bug fix for fields that have an embedded delimiter. 2002-09-13 22:20 UTC-0400 David G. Holm <dholm@jsd-llc.com> * source/rtl/dbdelim.prg ! Bug fixes for consecutive blank fields in a record and for records that have no delimiters (either because there are no character fields or because all of the character fields are blank). 2002-09-09 16:48 UTC+0300 Chen Kedem <niki@synel.co.il> * source/common/hbffind.c - Remove redundant line which used FILE_ATTRIBUTE_NOT_CONTENT_INDEXED from hb_fsAttToRaw(). The next line already use the explicit value 0x00002000. Now Harbour complie with Borland BCB 3.0 2002-09-09 14:25 UTC+0100 Tomaz Zupan <tomaz.zupan@orpo.si> * contrib/odbc/todbc.prg + Added recordset caching. 2002-09-07 14:38 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbfntx/dbfntx1.c ! GPF fixed, which appeared after pack operation if dbf became empty. 2002-09-07 00:30 UTC-0300 Luiz Rafael Culik <culikr@uol.com.br> * source/rtl/tget.prg Added missing Caption DATA and init to "" 2002-09-05 21:15 UTC-0300 Luiz Rafael Culik <culikr@uol.com.br> * contrib/rdd_ads/ads1.c ! Fixed Support for Long fields names in adscreate ! Fixed Display for the follow type of fields when ADT format is USED Autoinc -> 10 Double/Curdouble 8(Official Size of field on Database)+2*HB_SET_DECIMALS value 2002-09-05 18:46 UTC-0300 Horacio Roldan <harbour_ar@yahoo.com.ar> * include/hbrddcdx.h * source/rdd/dbfcdx/dbfcdx1.c * source/rdd/dbfcdx/dbfcdx1.h * source/rdd/dbfcdx/dbfcdx2.h + added support for creating big indexes hb_cdxSortSwapSavePage, hb_cdxSortSwapFillPage, hb_cdxSortSwapRecurseDict, hb_cdxSortSwapSendWord hb_cdxSortSwapBuildIndex, hb_cdxSortSwapGetNextKey; + added hb_cdxKeyValCompare ! fixed hb_cdxKeyGetItem for numeric keys ! fixed hb_cdxTagExtNodeWrite ! renamed some structs because td was confused * source/rdd/dbf1.c synched with 2002-08-31 20:38 UTC-0800 Ron Pinkas <ron@ronpinkas.com> * source/rdd/dbf1.c ! Fixed hb_dbfLockFile() to release record locks before attempting to lock the file. 2002-08-31 15:24 UTC-0800 Ron Pinkas <ron@ronpinkas.com> * source/rdd/dbf1.c ! Fixed hb_dbfLockRecord() to return success when area alread has file lock. 2002-09-04 17:56 UTC+0200 Maurilio Longo <maurilio.longo@libero.it> * source/rtl/tbrowse.prg ! Fixed cell padding inside ::DispCell(). Character or memo fields have to be padded right. Number fields have to be padded left. 2002-09-03 19:10 UTC+0200 Maurilio Longo <maurilio.longo@libero.it> * source/rtl/teditor.prg ! fixed line splitting when a character is deleted from a line and there is a word wrapping limit. Please note that lines of text are treated differently from the way clipper 5.x treats them, in particular when past EOL there is no deletion from current line * source/rtl/memoedit.prg ! fixed cursor positiong and shaping when calling an user function 2002-09-02 19:25 UTC-0400 David G. Holm <dholm@jsd-llc.com> * ChangeLog + Started a new ChangeLog. * source/rtl/ChangeLog.013 + Renamed old ChangeLog, due to file size. * source/rtl/dbdelim.prg ! Code fix to handle the field delimiters, provided by the APPEND FROM code author, Marco Braida <marcobra@elart.it>. 2002-09-02 16:58 UTC+0200 Maurilio Longo <maurilio.longo@libero.it> * harbour/source/rtl/tbrowse.prg ! fixed columns' width calulation on ::SetColumnWidth( oCol ) method 2002-08-30 11:20 UTC-0300 Luiz Rafael Culik <culikr@uol.com.br> * source/rtl/tget.prg ! fix for DeleteAll() method when Variable is Date type Reported by Charles Kwon 2002-08-30 18:05 UTC-0400 David G. Holm <dholm@jsd-llc.com> * source/rtl/dbdelim.prg ! Bug fix to pass cSeparator to appendtodb() instead of cDelimArg, which can be null and isn't the right value anyway, because the appendtodb() function uses the argument as the field separator, not as the field delimiter, which is currently ignored. I have sent a detailed message to the author requesting that he fix the code to honor the field delimiter when processing fields. 2002-08-30 13:25 UTC-0400 David G. Holm <dholm@jsd-llc.com> * source/rtl/dbdelim.prg * Implementation of APPEND FROM <xcFile> SDF, submitted * by Marco Braida <marcobra@elart.it> from Genoa Italy. 2002-08-27 21:30 UTC-0300 Luiz Rafael Culik <culikr@uol.com.br> * source/rtl/achoice.prg * Small fix to previus change * source/rtl/dummy.prg * removed __dbtotal() function + source/rdd/dbtotal.prg * Source file to __dbtotal() function * makefile.bc makefile.vc source/rdd/Makefile * Added dbtotal.prg to dependencie list 2002-08-27 17:15 UTC-0300 Horacio Roldan <harbour_ar@yahoo.com.ar> * include/fileio.ch * source/rtl/filesys.c * source/rtl/fstemp.c + added FO_EXCL for exclusive create + added convert_create_flags_ex ! fixed warning in hb_fsPOpen ! fixed hb_fsCreateEx(), HB_FCREATE(), hb_fsCreateTemp(), HB_FTEMPCREATE(). These functions were not working. 2002-08-25 17:40 UTC-0300 Luiz Rafael Culik <culikr@uol.com.br> * source/common/hbffind.c * fixed an problem on hb_fsFindFirst() and hb_fsFindNext() apis (Windows Section) that was making an Directory('*.*') return less files then the total amount that has on that directory. 2002-08-21 12:10 UTC-0400 David G. Holm <dholm@jsd-llc.com> * source/rtl/net.c ! If HB_OS_UNIX, then include <unistd.h>. 2002-08-20 22:30 UTC-0400 David G. Holm <dholm@jsd-llc.com> * source/rtl/net.c + HB_OS_UNIX uses the OS/2 GCC implementation of netname(). Tested on "FreeBSD 4.6-STABLE #2". 2002-08-17 21:05 UTC+0100 Tomaz Zupan <tomaz.zupan@orpo.si> * contrib/odbc/odbc.c + Added SQLConnect function * contrib/odbc/todbc.prg + Method new() now accepts additional parameters username and password. If TODBC:new() is called with username and password, it uses SQLConnect insted of SQLDriverConnect to establish ODBC conenction. 2002-08-15 17:40 UTC-0300 Luiz Rafael Culik <culikr@uol.com.br> * source/rtl/memoedit.prg * When User function is Defined , Make ALT+W key exit the Editing windows if not redefined inside the UDF function 2002-08-14 14:55 UTC-0300 Horacio Roldan <harbour_ar@yahoo.com.ar> * source/rdd/dbfcdx/dbfcdx1.c ! fixed some warnings 2002-08-12 23:25 UTC-0300 Horacio Roldan <harbour_ar@yahoo.com.ar> * source/rdd/dbfcdx/dbfcdx1.c ! fixed seek bug when having an empty scope ! Memo Limit is > 64 KiB now up to 2 GiB (2^31 or max(long)) ! fixed bug in ordNumber() 2002-08-08 00:40 UTC-0300 Horacio Roldan <harbour_ar@yahoo.com.ar> * source/rdd/dbcmd.c * source/rdd/dbf1.c ! minor change to previous fix in dbCloseArea 2002-08-07 17:58 UTC-0300 Horacio Roldan <harbour_ar@yahoo.com.ar> * include/hbapirdd.h * source/rdd/dbcmd.c * source/rdd/workarea.c ! fixed gpf in dbCloseArea, now relations are closed if child area is closed, reported by Brian Hays 2002-08-07 16:20 UTC-0300 Horacio Roldan <harbour_ar@yahoo.com.ar> * source/rdd/dbf1.c ! added os error code, for neterr() support and temporary fix for Win/DOS platforms. 2002-08-05 23:38 UTC-0300 Horacio Roldan <harbour_ar@yahoo.com.ar> * source/rdd/dbcmd.c ! fix GPF in dbCloseAll, reported by Jorge Mason 2002-08-05 09:33 UTC+0100 Dave Pearson <davep@davep.org> * source/compiler/genc.c * Corrected misspelling of "Alpha". 2002-08-03 22:50 UTC+0100 Tomaz Zupan <tomaz.zupan@orpo.si> * contrib/odbc/odbc.c * contrib/odbc/todbc.prg * Added bof(), reccount(), lastrec() and recno() functionality to ODBC library. * contrib/odbc/browodbc.prg * enabled statusline 2002-08-02 12:35 UTC-0400 David G. Holm <dholm@jsd-llc.com> * doc/howtobsd.txt * Changed BSD reference in heading to FreeBSD. * Removed reference to specific FreeBSD version number. 2002-08-02 12:05 UTC-0400 David G. Holm <dholm@jsd-llc.com> * source/rtl/set.c ! When encountering SET ALTERNATE TO, close the file. ! When encountering SET(_SET_EXTRAFILE,NIL), close the file. 2002-07-25 13:42 UTC+0100 Ignacio Ortiz <ignacio@fivetech.com> * source/pp/ppcore.c * Warn about already existing #defines, even if the have the same value 2002-07-25 13:42 UTC+0100 Ignacio Ortiz <ignacio@fivetech.com> * source/pp/ppcore.c * Bug fixed when an already existing #define (with no value) was redeclared 2002-07-22 01:29 UTC+0500 April White (bright.tigra gmail.com) * doc/en/set.txt * source/compiler/hbusage.c * source/rtl/setkey.c * tests/setkeys.prg ; my email address, just in case you want to find me :-) 2002-07-19 09:10 UTC+0500 April White (bright.tigra gmail.com) ! contrib/btree/hb_BTree.c * struct hb_btree pStrCompare function pointer changed to use the size_t type for the third param, to coincide with ChangeLog 2002-07-14 14:14 UTC+0500 2002-07-19 15:45 UTC-0400 David G. Holm <dholm@jsd-llc.com> * source/rtl/gtwin/gtwin.c ! Don't test for dead keys when dealing with international characters that have a negative character value. 2002-07-17 12:34 UTC-0300 Walter Negro <anegro@overnet.com.ar> * include/hbmath.h ! Fix multiple declaration of _LIB_VERSION_TYPE if it's declared here * source/rtl/math.c + Add declaration for _LIB_VERSION_TYPE (DJGPP compiler) * config/dos/djgpp.cf - LDFLAGS because -lm is not a flag, it's a library. + LDLIBS -lm for add math library. * contrib/libct/ctmath.h * Conditional includes of math.h for DJGPP compiler 2002-07-17 18:15 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/debug/debugger.prg ! Minor bug fixed 2002-07-17 09:08 UTC-0300 Walter Negro <anegro@overnet.com.ar> * source/rtl/tget.prg ! Fix initialization ::lEdit in New method. Bug and solution reported by Jose F. Gimenez 2002-07-17 12:55 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/pp/ppcore.c ! Bug fixed, related to #define f ..., #define t ... and .T., .F. 2002-07-17 12:30 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/debug/debugger.prg ! Bugs fixed with codeblocks processing 2002-07-17 11:10 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/debug/debugger.prg ! A bug fixed in commands evaluation 2002-07-17 02:42 UTC+0500 April White (bright.tigra gmail.com) * source/vm/itemapi.c + add conditional code if !(__DJGPP__) around #include <math.h> 2002-07-16 02:14 UTC+0500 April White (bright.tigra gmail.com) * source/rtl/strings.c * include/hbapi.h * changed last param of hb_strnicmp() from ULONG to size_t 2002-07-14 13:50 UTC-0300 Walter Negro <anegro@overnet.com.ar> * doc/transfrm.txt + Add information about new functionalities. * doc/tracing.txt + Add information about work with DOS/WIN9x. * doc/en/var.txt + Add information about HB_ISBYREF(). * source/rtl/tget.prg ! Fix and more compliant in Untransform(), PutMask() and KillFocus() methods. Reported by Andrew Wos * include/hbmath.h * source/rtl/math.c + Extend functionalities of math error handling for DJGPP compiler. 2002-07-14 14:14 UTC+0500 April White (bright.tigra gmail.com) * contrib/btree/hb_btree.api + extern "C" * rename nFlags to ulFlags + declaration for hb_BTreeDataItem() * declaration for hb_BTreeInsert() to use a PHB_ITEM vs LONG * contrib/btree/hb_btree.ch - comments from around 'inmemory' definition * contrib/btree/test/test.prg + code to test in-memory tree, including passing floats vs longs * contrib/btree/test/ctest.c ! a SEEK call that was incorrectly failing because the DATA param passed as 0 * hb_BTreeInsert() calls to use new form (PHB_ITEM vs long) * contrib/btree/hb_btree.c ; the following warnings are reported by BCC (thanks Alexander): Suspicious pointer conversion in function hb_BTreeNew & hb_BTreeOpen pBTree->pStrCompare = strncmp; Parameter 'ulFlags' is never used in function hb_BTreeOpen - defintion and use of DBG() macro + extern "C" ifdef'd - comments from around 'inmemory' definition * renamed nFlags to ulFlags, lFlags to ulFlags, position to iPosition * hb_btreenew [hi level] - when flag contains HB_BTREE_INMEMORY, first parameter is ignored * hb_btreenew [lo level] - when flag contains HB_BTREE_INMEMORY, dont try to open the file, etc, and clear necessary fields * hb_btreeclose [lo level] - close file and release file name only when necessary * only call HeaderWrite() when not in-memory tree + ioOneBufferAlloc() - allocate one ioBuffer_T block, called by ioBufferAlloc(), and Grow() when in-memory * Grow() in-memory - add a page to the link list + Prune() in-memory - added code to remove a page from the link list * (assorted) IsDirty flag is assigned the tree property IsDirtyFlagAssignment, so that in-memory trees never fire the write methods (ie. always false) * hb_BTreeGoTop(), hb_BTreeGoBottom() [lo-level] + bug fix: preserve last node found + if tree is empty, clear key/data, else retrieve selected key/data * ioBufferRead() - moved IsDirty reset within "if ( IsDirty )" block * ioBufferScan() - call ioBufferRead() when not in-memory tree - SearchNode() redundant BufferRelease() and return statement - enum ExceptionTypes (not used) - Buffer_T typedef struct, incorporating into the ioBuffer_T typedef struct * hb_KeyData_T: replaced lData with a union lData/pData + definition for hb_BTreeDataItem() * definition for hb_BTreeInsert() to use a PHB_ITEM vs LONG * hb_btreeinsert() [hi-level] accepts only number for file i/o and any data type for in-memory - macro SETKEYDATA(), placing equivalent code into hb_BTreeInsert() + Prune() - release individial items and then the page itself ! CountAdj() last param should have been SHORT not USHORT ; RecDelete() moved the inline assignment & comparision around to remove the b32 warning TODO: find a solution to the 'Suspicious pointer conversion in function hb_BTreeNew & hb_BTreeOpen' [strncmp() & hb_strncmp()] TODO: impliment ulFlags within hb_btreeopen() - see warning above - clear im-memory flag - get unique flag from file header * contrib/btree/doc/hb_btree.txt * spelling corrections * clarified use of HB_BTREE_INMEMORY flag with hb_BTreeNew() API ! corrected type of pBTree params, from 'hb_BTree *' to 'struct hb_BTree *' + definition for hb_BTreeDataItem() * clarified use of data param and data return value 2002-07-14 12:35 UTC+0100 Antonio Linares <alinares@fivetech.com> * source/debug/debugger.prg * Changes from Davor Siklic * BreakPoints status saving and restoring supported * SortVars status saving and restoring supported * Anim and Animate command supported in comand window Note: I can't stop started animation, is this work for You, Or this is problem on Linux with NextKey() ? * CallStack window switchig ON/OFF from menu Note: Modified by A.Linares * METHOD RemoveWindow() Note: Modified by A.Linares * Saving and restoring status of CallStack * Changes from A.Linares * Added Help Window mouse support * Improved cursor management on code window * source/debug/dbgmenu.prg * minor fix on View CallStack 2002-07-12 18:58 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/debug/debugger.prg ! A bug fixed in commands evaluation 2002-07-11 14:30 UTC-0400 David G. Holm <dholm@jsd-llc.com> * config/dos/djgpp.cf + Added the -lm option to LDFLAGS to enable math error handling. * source/rtl/gtwin/gtwin.c ! Shift Tab is now properly reported as 271. 2002-07-11 02:30 UTC-0300 Walter Negro <anegro@overnet.com.ar> * source/vm/itemapi.c ! Fix rounded for big numbers ( more of 16 significant numbers ). 2002-07-10 12:10 UTC-0300 Walter Negro <anegro@overnet.com.ar> * source/vm/itemapi.c ! Recognition of infinite numbers in DJGPP compiler. * bin/bld.bat * Add -lm in DJGPP compiler, for include libm.a (math library). This library it's necessary for new handler of math errors. * source/debug/Makefile + Add dbghelp.prg 2002-07-10 12:02 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/debug/debugger.prg * variables window works now. 2002-07-10 10:43 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/debug/debugger.prg * now it is possible to inspect local variables in debugger command window with '?' and '??' commands. 2002-07-09 11:00 UTC-0300 Luiz Rafael Culik <culikr@uol.com.br> * contrib/rdd_ads/ads1.c * Fixed bug on adsGetValue(). previus fix did not correct the problem. replaced the call to atol() , for Dval 2002-07-09 10:50 UTC+0100 Antonio Linares <alinares@fivetech.com> * source/debug/dbgtarr.prg + added lEditable parameter and data * source/debug/dbgtobj.prg + added lEditable parameter and data * fix for properly show objects datas names * source/debug/debugger.prg * Command window support for HELP and ?? (inspect) commands * Some fixes on cursor management 2002-07-08 20:45 UTC+0100 Antonio Linares <alinares@fivetech.com> * source/debug/debugger.prg * Command window support for DOS, QUIT, OUTPUT and empty commands 2002-07-08 17:30 UTC+0100 Antonio Linares <alinares@fivetech.com> + source/debug/dbghelp.prg * The debugger Help system * makefile.bc + added dbghelp.prg module * source/debug/dbgmenu.prg * source/debug/debugger.prg + added help support 2002-07-08 17:20 UTC+0100 Martin Vogel <vogel@inttec.de> * source/rtl/math.c * #ifdef'ed matherr() definition to hide it from compilers not supporting it 2002-07-08 10:15 UTC-0300 Luiz Rafael Culik <culikr@uol.com.br> * contrib/rdd_ads/ads1.c * Fixed bug on adsGetValue() function when numeric data to be putted are more the 10 number long and no decimals(ie: 123456789124) Fix By Luiz Rafael Culik and Charles Kwon 2002-07-08 09:08 UTC+0100 Antonio Linares <alinares@fivetech.com> * harbour/source/debug/debugger.prg * Change implemented by Davor Siklic * DATA cPathForFiles used to locate files 2002-07-08 01:40 UTC-0300 Walter Negro <anegro@overnet.com.ar> * source/rtl/tget.prg ! Fix minor bug in PutMask() method. Reported by Luiz Rafael Culik from brazilian user 2002-07-08 00:20 UTC-0300 Luiz Rafael Culik <culikr@uol.com.br> * contrib/rdd_ads/ads1.c * Fixed bug on adsPutValue() function when numeric data to be putted are more the 10 number long and no decimals(ie: 123456789124) Fix By Luiz Rafael Culik and Charles Kwon 2002-07-07 22:40 UTC+0100 Martin Vogel <vogel@inttec.de> * source/rtl/math.c * include/hbmath.h + include/math.ch * doc/en/math.txt * math error handling redesigned * tests/mathtest.prg * small test program to demonstrate new math error handling capabilities * source/vm/itemapi.c * bug fix: app compiled with BCC crashed if hb_itemPutNDLen was called with a "NaN" double * BCC checks for infinity added in hb_itemStr * possible bug fixed: math handler has not been switched off before using log(0) in hb_itemStr * contrib/libct/ctc.c * contrib/libct/ctmath.c * contrib/libct/ctmath.h * contrib/libct/ctflist.txt * contrib/libct/readme.txt * contrib/libct/cterror.ch * math error handling adopted to new design, function SETMATHERRMODE() removed * contrib/libct/math.c * contrib/libct/num1.c * contrib/libct/trig.c * contrib/libct/finan.c * math error handling adopted to new design, compatibility with CTIII enhanced * contrib/libct/test/Makefile * typo fixed 2002-07-07 11:05 UTC+0100 Antonio Linares <alinares@fivetech.com> * harbour/source/debug/debugger.prg * Changed constructor sequence * Alt-X support * Colors editing fix 2002-07-07 10:35 UTC+0100 Antonio Linares <alinares@fivetech.com> * harbour/source/debug/debugger.prg * Changes implemented by Davor Siklic * Now debugger properly initialize from init.cld * Private, Static, Local, Private monitoring are properly stored and read from the init.cld * OSShell work in Linux * Method InputBox get focus now 2002-07-07 01:10 UTC-0300 Walter Negro <anegro@overnet.com.ar> * source/rtl/transfrm.c ! Fix with numeric values and pictures with spaces and pictures with severals dot. The return values are compliant with Clipper. eg: Transform( 1234, "9 999" ) eg: Transform( 123.123456, "999.99.99.99" ) Reported by Richard Chidiak 2002-07-06 17:18 UTC+0100 Antonio Linares <alinares@fivetech.com> * harbour/source/debug/debugger.prg * Chr( 13 ) + Chr( 10 ) changed into HB_OsNewLine() 2002-07-05 16:09 UTC+0100 Antonio Linares <alinares@fivetech.com> * source/rtl/philes.c * fixed bug on previous change on FRead() 2002-07-05 12:00 UTC+0100 Antonio Linares <alinares@fivetech.com> * source/rtl/philes.c * added some missing #include 2002-07-05 11:35 UTC+0100 Antonio Linares <alinares@fivetech.com> * source/rtl/philes.c * FRead() fixed bug on constant strings use 2002-07-03 18:37 UTC-0300 Walter Negro <anegro@overnet.com.ar> * source/rtl/dates.c * More compliant for certain strange formats. eg: DD/MMM/YYYY * source/rtl/transfrm.c * More compliant, resolve several hbtest errors. 2002-07-02 01:14 UTC-0800 Brian Hays <bhays@abacuslaw.com> * contrib/rdd_ads/adsfunc.c * Fixed issues reported by Alex Schaft: Since AdsGetAOFOptLevel() did not attempt to return the NoOpt string by reference anyway, I just removed the NoOpt handling. This avoids the overflow error and removes any string buffer limitations at all. Fixed AdsGetAOF() AdsGetAOFNoOpt() to handle filters of any size that ADS may return. 2002-07-01 20:10 UTC-0300 Walter Negro <anegro@overnet.com.ar> * source/rtl/transfrm.c + Add @0 function. ! Fix minor bug introduce with previous changelog. See hbtest: 2044, 2052, 2054. eg: Transform( -12, "@( 99" ) Bug: "(2)" Now: "(*)" ! More compliant with Clipper. See hbtest: 1898, 1902, 1906, 1971, 2006, 2064, 2070. eg: Transform( 100.2, "@" ) Before: " 100.2" Now: " 100.2" eg: Transform(.T. ,"@R X!" ) Before: "XT" Now: "X!T" eg: Transform(1.0 ,"@B" ) Before: "1.0 " Now: "1.0 " eg: Transform("Hello","@S-1") Before: "" Now: "Hello" 2002-07-01 16:30 UTC-0400 David G. Holm <dholm@jsd-llc.com> * doc/howtocvs.txt * Corrected references to cvs_ssh.txt to refer to section 1.7. 2002-07-01 02:10 UTC-0300 Walter Negro <anegro@overnet.com.ar> * source/rtl/transfrm.c + Add @) template. ! Fix @D with numeric expressions. ! Fix bug with @D in string expressions. eg: Transform( "1", "@D" ) This example generate an GPF or strange memory errors. ! Better support for mask with initial comma, period or space. ! Better support for later mask. ! Replace comma, period or the correspondient space with an '*' when previous character is '*' too. eg: Transform( 99999, "9.999" ) -> Before: "* ***" Now: "*****" Transform( 99, "*.***" ) -> Before: "* *99" Now: "***99" * source/rtl/tgetlist.prg * Detection of modification with direct access to the var get in preval, postval and setkey functions. Point of control: GetPreValidate(), GetPostValidate(), GUIGetPreValidate(), GUIGetPostValidate(), GetDoSetKey(). * source/rtl/tget.prg + Add two protected methods. FirstEditable() and LastEditable(). Several change for use this methods. ! Fix in ParsePict method * @D function, overwrite the mask for SET DATE FORMAT * @S without length parameter or @S0, they don't have effect. ! Fix in Untransform method * if ::lEdit is false, return ::VarGet() without evaluate the buffer contained. * Better detection of a negative, minimizing false detections. * Improvement in the handling of mask. * More compliant in @D, @E, @X, @C, @(, @) functions. * In compliant with Clipper, the length of number (internal length) corresponds to the applied picture. ! Bug in conversion with date types and with @E function. ! Fix in Overstrike and Insert method * First it is evaluated if the input character is valid, before cleaning the var. ! Fix in Input method * The minus sign can be writed in any place. * Now work with '$' and '*' templates in numeric gets. ! Fix in PutMask method * More compliant in the handling of some get functions. * When edit a get with @B, the number is editing right-justified. ! Fix in Backspace method * Permit delete a '(' symbol in a non-editable position, when this symbol represent a negative number. ! Fix in Delete method ! When delete a negative symbol '(' or '-', turn the ::minus tu false ! Fix in IsBadDate function ! Evaluate crrectly a date with @E function. 2002-06-28 10:43 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbfntx/dbfntx1.c ! Bug fixed in hb_ntxPageSplit() - the created page was not released. 2002-06-27 15:25 UTC-0400 David G. Holm <dholm@jsd-llc.com> * source/rtl/gtsln/gtsln.c ! HRBNATIONCHARS fix provided by Niko Mikkila <nm@phnet.fi> 2002-06-27 22:30 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/workarea.c ! Bug fixed in hb_waSetRel(), reported by Richard Chidiak 2002-06-26 19:20 UTC-0400 David G. Holm <dholm@jsd-llc.com> * source/pp/ppcore.c ! Increase the loop limit used to detect cyclic #defines from 20 to 750. 2002-06-26 18:41 UTC+0100 Ignacio Ortiz <ignacio@fivetech.com> * source/rtl/tget.prg !Fixed minus property value, did not work correctly 2002-06-24 24:35 UTC+0100 Ignacio Ortiz <ignacio@fivetech.com> * source/rtl/tget.prg !Fixed date input when set century on and the year was typed with only two digits !Fixed minus property value, did not work correctly 2002-06-23 00:50 UTC-0300 Walter Negro <anegro@overnet.com.ar> * contrib/hbzlib/strcomp.c ! Fixed eliminated warning in declaration of var: const char ! Change of hb_retc() + hb_xfree() for hb_retclen_buffer() * contrib/hbzlib/zipfile2.c ! Reformating of indentation and eliminating of Tabs simbol * contrib/hbzlib/zlibapi1.c ! Reformating of indentation and eliminating of Tabs simbol * Change call to hb_fsSetDevRaw() for hb_fsSetDevMode() * contrib/hbzlib/zip.c ! Reformating of indentation and eliminating of Tabs simbol 2002-06-22 20:25 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbfntx/dbfntx1.c ! Bug fixed in skipping, when both Bof and Eof are true. 2002-06-21 17:15 UTC-0300 Walter Negro <anegro@overnet.com.ar> * source/rtl/tgetlist.prg + Add #include tbrowse.ch for TBrowse defines. * include/button.ch - Defines defined in TBrowse.ch 2002-06-21 17:00 UTC-0300 Walter Negro <anegro@overnet.com.ar> * source/rtl/tbrowse.prg + Initial support for SetStyle method, compatible with Clipper 5.3. See tbrowse.ch for support values. * source/rtl/tbcolumn.prg + Initial support for SetStyle method, compatible with Clipper 5.3. See tbrowse.ch for support values. * include/tbrowse.ch + Defines for TBrowse and TBColumn Classes 2002-06-21 15:50 UTC-0300 Walter Negro <anegro@overnet.com.ar> * source/rtl/getsys.prg ! Fix call to SET() without setting values. ReadExit() and ReadInsert() * source/rtl/tgetlist.prg ! Fix call to SET() without setting values. METHOD ReadExit() * source/rtl/teditor.prg ! Fix call to SET() without setting values. METHOD InsertState() 2002-06-20 14:28 UTC+0100 Ignacio Ortiz <ignacio@fivetech.com> * source/pp/ppcore.c - Removed warning for #Define redefinition when the new define value is exactly the same as the old value (same as Clipper) 2002-06-19 17:14 UTC+0100 Dave Pearson <davep@davep.org> * doc/en/compiler.txt - Removed /10 switch. 2002-06-15 13:04 UTC-0300 Walter Negro <anegro@overnet.com.ar> * source/vm/hvm.c ! Fixed support for FOR_NEXT with STEP 0 2002-06-14 14:52 UTC-0300 Walter Negro <anegro@overnet.com.ar> * source/rtl/getsys.prg ! Fixed RETURN in Accelerator() and HitTest() 2002-06-14 13:49 UTC-0300 Walter Negro <anegro@overnet.com.ar> * source/rtl/getlist.prg + Add __GetListLast() for support to the functions Update() and ReadUpdate() * source/rtl/getsys.prg ! Fixed compatibility functions Update() and ReadUpdate(). Now use __GetListLast() instead of __GetListActive(). __GetListActive() reference to the active oGetList, beginning and concluding with the ReadModal. __GetListLast() reference to the last oGetList form the beginning of the ReadModal until another ReadModal begins. ! Fix bug in Accelerator(), Clipper 5.3 compatibility function. * Some cleanup. * source/rtl/tget.prg + Add support for SET DELIMITERS * source/rtl/tgetlist.prg ! Change __GetListActive() for __GetListLast() for support to Update() and ReadUpdate() 2002-06-14 20:25 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbcmd.c ! Bug fixed in rddMoveRecords() - there was a problem with Append From. 2002-06-14 14:18 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbcmd.c ! Bug fixed in hb_rddCloseAll() 2002-06-09 14:29 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * contrib/rddads/ads1.c ! Few fixes for "ShortDate" data type 2002-06-08 16:15 UTC-0300 Horacio Roldan <harbour_ar@yahoo.com.ar> * include/hbrddcdx.h * source/rdd/dbfcdx/dbfcdx2.h * source/rdd/dbfcdx/dbfcdx1.c + added hb_cdxOrderDestroy, hb_cdxIndexDelTag functions, ordDestroy() is working now for dbfcdx rdd. 2002-06-07 11:50 UTC-0300 Walter Negro <anegro@overnet.com.ar> * source/rtl/tgetlist.prg * source/rtl/getsys.prg ! Modification of work for save oGetList active. Save oGetList for recursives calls to ReadModal(). Necessary to support post-evaluation functions to the exit of the ReadModal(). eg: UPDATE() 2002-06-07 13:53 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbf1.c ! Bug fixed in hb_dbfLockRecord(), reported by Richard Chidiak 2002-06-06 23:21 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * contrib/rddads/ads1.c ! Fixed bug, related to creating databases with extended data types 2002-06-06 14:40 UTC-0400 David G. Holm <dholm@jsd-llc.com> * source/rtl/gtwin/gtwin.c ! Removed Clipper-incompatible change that made Shift+ESC return 641 instead of 27 in normal keyboard input mode, instead of only returning 641 in HB_INKEY_EXTENDED mode. 2002-06-06 11:12 UTC-0300 Walter Negro <anegro@overnet.com.ar> * source/rtl/gtwin/gtwin.c ! Fix, now Shift-ESC return the correct value. 2002-06-06 09:23 UTC+0300 Chen Kedem <niki@synel.co.il> * doc/dirstruc.txt + Add notes for the btree directory * doc/gmake.txt * doc/transfrm.txt * doc/es/dbstrux.txt * doc/es/harbext.txt * doc/es/idle.txt * doc/es/tracing.txt ! Replace embedded TABs with SPACEs 2002-06-05 20:52 UTC-0800 Ron Pinkas <ron@ronpinkas.com> * make_b32.bat - Commented SET BISON_SIMPLE line as it causes incompatibility with current version of Bison. * source/compiler/harbour.sly * source/macro/macro.y + Added missing ; as per Bison 1.35 warnings. 2002-06-05 18:00 UTC-0400 David G. Holm <dholm@jsd-llc.com> * source/rtl/gtwin/gtwin.c ! Fixed Esc key translation problem that only occurred in some international versions of Windows, thanks to data provided by "Walter Negro - FOEESITRA" <waltern@foeesitra.org.ar> 2002-06-05 23:30 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * contrib + btree/ + btree/hb_btree.api + btree/hb_btree.c + btree/hb_btree.ch + btree/make_b32.bat + btree/Makefile + btree/makefile.bc + btree/mktest.bat + btree/tbtree.prg + btree/test/ + btree/test/ctest.c + btree/test/Makefile + btree/test/test.prg + btree/test/ttest.prg + btree/doc + btree/doc/hb_btree.txt + btree library, contributed by April White (bright.tigra gmail.com) is uploaded to the contrib section. 2002-06-05 12:10 UTC-0300 Walter Negro <anegro@overnet.com.ar> * source/source/rtl/tget.prg ! Fixed operation of picture "@Z" Reported by Pritpal Bedi 2002-06-05 10:13 UTC-0300 Horacio Roldan <harbour_ar@yahoo.com.ar> * source/compiler/gencobj.c ! fixed uninitialized pointer. 2002-06-05 10:00 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * contrib/rdd_ads/ads1.c ! bug fixed in adsOpen, reported by Jorge Mason 2002-06-02 09:30 UTC-0300 Horacio Roldan <harbour_ar@yahoo.com.ar> * source/rdd/dbfcdx/dbfcdx1.c ! fix in locking logic. ! fixed bug updating conditionals indexes, reported by Walter Negro ! fixed bug in dbgoto, reported by Pritpal Bedi 2002-06-02 12:02 UTC+0100 Antonio Linares <alinares@fivetech.com> * source/debug/debugger.prg ! Fixed AltD() behavior + tests/altd.prg * AltD() behavior test 2002-05-30 00:55 UTC-0300 Walter Negro <anegro@overnet.com.ar> * source/rtl/tbrowse.prg + Add two instance variables, nRow and nCol. Existing in Clipper 5.3. Only was modified the Hilite and SetPos method, for save in this variables, the position of cursor. 2002-05-30 00:55 UTC-0300 Walter Negro <anegro@overnet.com.ar> * contrib/libct/screen1.c ! Now return correctly a numeric value. * contrib/libct/color.prg ! Fix, the color string was inverted. 2002-05-25 21:36 UTC-0800 Ron Pinkas <ron@ronpinkas.com> * contrib/rdd_ads/ads1.c + Added #ifdef section to support xHarbour PCODE version check. 2002-05-25 21:00 UTC-0300 Walter Negro <anegro@overnet.com.ar> * source/rtl/tget.prg ! Fix picture function in lower case. (eg: @s ) Reported by Luiz Rafael Culik Guimaraes 2002-05-25 13:15 UTC-0300 Luiz Rafael Culik <culikr@uol.com.br> * contrib/mysql/tmysql.prg + CreateDatabase() method in TMYSqlServer on CreateTable() method, removed type tinyint for numeric, since this type if an logical value * contrib/mysql/mysql.c + Implementation of filelength() function when __GNUC__ is defined 2002-05-24 20:30 UTC-0400 David G. Holm <dholm@jsd-llc.com> * source/rdd/dbf1.c * source/rdd/dbfntx/dbfntx1.c * contrib/libnf/dispc.c * contrib/libnf/idle.c ! Fixed some problems that caused C++ compiles to fail. 2002-05-24 16:15 UTC-0300 Walter Negro <anegro@overnet.com.ar> * source/rtl/tgetlist.prg ! Corrected minor bug in using Len() on oGet:Buffer, where it might be NIL. By Ron Pinkas in xHarbour. * source/rtl/achoice.prg * More compliant with Cli**er. ! Fix minor bug when press CTRL_END and the quantity of items is smaller to the long of the window. This bug exist in previous versions of achoice(). Reported by Carlos Vargas. * contrib/libct/datetime.prg ! Fix, change NTOS() for STR() in EOQ() function. 2002-05-24 13:20 UTC-0300 Walter Negro <anegro@overnet.com.ar> * source/rtl/tget.prg ! Fix @R pictures with "-" or "(" characters Reported by somebody in sourceforge 2002-05-24 01:50 UTC-0300 Walter Negro <anegro@overnet.com.ar> * source/rtl/console.c ! Fix print in the same line when the new position is previus to the current one. * source/rtl/achoice.prg * More compliant with Cli**er. * Support for use acItems directly without internal copy. This permit modify acItems and reflect this changes. * Support for use xSelect directly, if its an array, without internal copy. This permit modify xSelect and reflect this changes. * No call to xUserFunc again when xUserFunc its call with nMode = AC_EXCEPT, and xUserFunc return AC_CONT * Always redraw the page when return from xUserFunc. * Support for return AC_REDRAW. 2002-05-23 12:46 UTC-0800 Ron Pinkas <ron@ronpinkas.com> * source/compiler/harbour.slx ! Fixed SELF[...] // Self as Array in IF_BELONG_LEFT() ( borrowed from from xHarbour ) * source/compiler/harbour.sly ! Corrected typo in GetVar - included item belonging to GetVarArray ( borrowed from from xHarbour ) ! Fixed logic of GetA ( borrowed from from xHarbour ) 2002-05-23 14:59 UTC-0300 Horacio Roldan <harbour_ar@yahoo.com.ar> * contrib/mysql/tmysql.prg ! Change in CreateTable's mapping of the xBase N(dig,0) field type into mySql's tinyint, smallint, mediumint, int, bigint and real (if the number is too big to be an integer) 2002-05-23 14:53 UTC-0300 Horacio Roldan <harbour_ar@yahoo.com.ar> * source/vm/estack.c ! All stack hb_stackxxx API functions are now included, no matter the build options (HB_STACK_MACROS) 2002-05-22 18:26 UTC-0300 Walter Negro <anegro@overnet.com.ar> * source/rtl/tget.prg ! Fix, it was always written in the position 1 the first number of a numeric field although the cursor was moved to write in another position. 2002-05-22 17:40 UTC+0200 Martin Vogel <vogel@inttec.de> * contrib/libct/datetime.prg ! corrections supplied by Marek Horodyski <homar@altkom.com.pl> 2002-05-21 11:05 UTC+0100 Tomaz Zupan <tomaz.zupan@orpo.si> * doc/gmake.txt * Documented use of compiler cache with HB_CCACHE. 2002-05-21 01:20 UTC-0500 Paul Tucker <ptucker@sympatico.ca> * source/common/hbffind.c * substitute constant for FILE_ATTRIBUTE_NOT_CONTENT_INDEXED * since it is named differently or non-existant in earlier * windows include files. (Borland specifically, but even from MS) 2002-05-20 22:33 UTC+0100 J.lefebvre (Mafact) <jfl@mafact.com> * contrib/htmllib * makefile.vc (Forget -p as Harbour param, creating ppo files when not needed) * source/compiler/hbusage.c * void hb_compPrintCredits( void ) Major bug fixed where my name was missing from the list ;-)))) 2002-05-20 16:20 UTC+0100 J.lefebvre (Mafact) <jfl@mafact.com> * contrib/htmllib + make_b32.bat (not tested !!!!) + make_vc.bat (ok) + makefile.vc 2002-05-20 14:55 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * contrib/rdd_ads/ads1.c ! Bug fixed in adsSysName() for that case when file isn't opened yet in workarea 2002-05-18 10:20 UTC-0300 Luiz Rafael Culik <culikr@uol.com.br> * makefile.bc makefile.vc utils/hbmake/Makefile * Added hbmlang.c to dependencie list * utils/hbmake/hbmake.prg - Removed GETLANG() function and moved to an new file + utils/hbmake/hbmlang.c * GETLANG.c is on this file now 2002-05-18 14:55 UTC+0100 J.lefebvre (Mafact) <jfl@mafact.com> * utils/hbmake/hbmake.prg added missing #include "windows.h" at the end (inline code) 2002-05-16 07:50 UTC-0300 Luiz Rafael Culik <culikr@uol.com.br> * utils/hbmake/hbmake.prg % Optimized The Code ! New text Formating + Support for Roberto's Minigui + Internationalization Started 2002-05-15 23:43 UTC-0800 Brian Hays <bhays@abacuslaw.com> * contrib/rdd_ads/ads1.c * Fixed adsSeek for non-ADS filter conditions. If a filter is set that is not valid for ADS, we need to skip off of any invalid records (IOW, filter at the Harbour level if ADS can't because the filter has UDFs or PUBLICVAR references). 2002-05-15 22:25 UTC-0300 Luiz Rafael Culik <culikr@uol.com.br> * contrib/mysql/mysql.c ! Fixed an bug on SQLFETCHR() when the select command is used with an empty table 2002-05-15 19:26 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * contrib/rdd_ads/ads1.c ! fixed a bug in adsSetScope() for date scopes, changes was posted by Carlos Mora. * contrib/rdd_ads/adsmgmt.c ! UINT, which is not defined in gcc system, is changed to unsigned int, fixed one warning 2002-05-15 12:00 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * contrib/rdd_ads/ads1.c ! fixed a bug in adsSeek() for date indexes, changes was posted by Carlos Mora. 2002-05-14 16:22 UTC-0400 David G. Holm <dholm@jsd-llc.com> * source/rdd/dbfntx/dbfntx1.c ! Changed usage of stricmp to hb_stricmp, because stricmp is not an ANSI standard function. 2002-05-14 16:10 UTC+0100 Tomaz Zupan <tomaz.zupan@orpo.si> * contrib/mysql/makefile renamed to Makefile. Needed to build library on Linux. 2002-05-13 13:10 UTC-0300 Walter Negro <anegro@overnet.com.ar> * source/rtl/menuto.prg ! Fix, initial value was not used. Reported by Horacio Roldan. 2002-05-13 00:55 UTC-0300 Horacio Roldan <harbour_ar@yahoo.com.ar> * source\rdd\dbfcdx\dbfcdx1.c ! minor changes ! fixed preventing reopening of same cdx. 2002-05-08 12:50 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/pp/pptable.c * Inserted "ifdef HB_EXTENSION" for clause 'MEMORY' in INDEX command * include/hbrddntx.h * source/rdd/dbfntx/dbfntx1.c * "ifdef HB_EXTENSION" is used for memory indexes * some cleanup, tags list is used now instead of index list * contrib/rdd_ads/ads1.c * calls of strcasecmp() replaced by hb_stricmp(), functions strcasecmp() and strncasecmp() are removed, printf() removed from adsCreate() 2002-05-08 10:20 UTC+0100 Tomaz Zupan <tomaz.zupan@orpo.si> + contrib/odbc/browodbc.prg * contrib/odbc/Makefile + Added browseodbc() function for browsing ODBC data. 2002-05-08 07:15 UTC+0100 "J. lefebvre (mafact)" <jfl@mafact.com> * source/rdd/dbf1.c * Msvc compiler need tmp to be unsigned char * at line 1605/1607 2002-05-07 22:25 UTC-0300 Luiz Rafael Culik <culikr@uol.com.br> * contrib/rdd_ads/ads1.c ! fixed problem on Seeking Dates with RDDADS 2002-05-07 08:00 UTC-0300 Luiz Rafael Culik <culikr@uol.com.br> * source/rtl/tbrowse.prg ! Bug fixed reported by Lorenzo Fiorini. 2002-05-07 14:19 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbf1.c * Bug fixed in dbfCreate(), related to creating memo file 2002-05-07 11:40 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbfntx/dbfntx1.c * OrdKeyAdd(), OrdKeyDel() support for dbfntx added. Now dbfntx supports custom indexes. 2002-05-06 21:40 UTC+0100 Tomaz Zupan <tomaz.zupan@orpo.si> -source/vm/mainlgtk.c +contrib/hgf/gtk/mainlgtk.c *contrib/hgf/gtk/Makefile Moved mainlgtk.c from source/vm to contrib/hgf/gtk and updated Makefile to include it in library. 2002-05-06 13:50 UTC-0400 David G. Holm <dholm@jsd-llc.com> ! source/compiler/harbour.c ! Commented out the parameter checking entries for QOUT and QQOUT, because they have no limit on the number or type of parameters. 2002-05-06 15:48 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbfntx/dbfntx1.c ! Bug fixed in ntxOrderListRebuild() 2002-05-06 13:30 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/pp/pptable.c * Added new clause 'MEMORY' to INDEX command * include/hbrddntx.h * source/rdd/dbfntx/dbfntx1.c * New feature implemented for dbfntx - index creating in memory If you specify MEMORY clause in INDEX ON ... command ( additional, 17th parameter is added to ordcondset() ), index will not be written to disk, but will be kept in memory, what significantly increases the performance. This may be especially helpful in case of creating temporary indexes for reporting, etc. 2002-05-05 21:05 UTC+0100 Martin Vogel <vogel@inttec.de> * contrib/libct/range.c + contrib/libct/tests/rangerem.prg + contrib/libct/tests/rangerepl.prg * contrib/libct/tests/Makefile * fix of a bug in RANGEREPL() and RANGEREM(): return string too long, reported by Guenther Steiner <byte-one@aon.at> 2002-05-04 17:47 UTC-0300 Horacio Roldan <harbour_ar@yahoo.com.ar> * source\rdd\dbcmd.c ! fixed return value of dbGoTo() + added support of 4th value of dbOrderInfo * include\hbrddcdx.h * source\rdd\dbfcdx\dbfcdx2.h * source\rdd\dbfcdx\dbfcdx1.c + fixed support for dbSeek(last) + added scope support: ordScope, dbOrderInfo(..scope..), ordKeyCount, ordKeyNo. ! fixed found() flag when last record in order must be filtered (eg: deleted), bug reported by Lorenzo Fiorini. + added dummy handler for DBOI_CUSTOM. 2002-05-04 18:40 UTC+0100 Martin Vogel <vogel@inttec.de> + contrib/libct/color.prg + COLORTON() + NTOCOLOR() by Walter Negro <anegro@overnet.com.ar> STANDARD(),ENHANCED(),UNSELECTED() by Viktor Szakats pasted from CTMISC.PRG and removed there + contrib/libct/screen1.c + SCREENATTR() by Walter Negro <anegro@overnet.com.ar> + contrib/libct/screen2.prg SCREENMIX() by Viktor Szakats pasted from CTMISC.PRG and removed there + contrib/libct/alt/ctcolton.c original implementation of COLORTON() in C by Viktor Szakats + contrib/libct/strdiff.c + contrib/libct/tests/strdiff.prg + STRDIFF() function and small test program * contrib/libct/Makefile * contrib/libct/makefile.bc * contrib/libct/makefile.vc * contrib/libct/ctflist.txt * contrib/libct/readme.txt * contrib/libct/tests/Makefile * changes according to the changes above 2002-05-04 09:08 UTC+0100 Tomaz Zupan <tomaz.zupan@orpo.si> * contrib/odbc/todbc.prg ! fixed infinite loop 2002-05-01 11:12 UTC-0300 Horacio Roldan <harbour_ar@yahoo.com.ar> * source/rdd/dbfcdx/dbfcdx1.c * source/rdd/dbfcdx/dbfcdx2.h ! fixed gpf reported by Lorenzo Fiorini + added helper function hb_cdxGoEof + added default tag name when not specified * source/rdd/workarea.c ! fixed bof flag in go bottom with no valid records 2002-04-30 20:49 UTC-0300 Horacio Roldan <harbour_ar@yahoo.com.ar> * include/hbrddcdx.h * source/rdd/dbfcdx/dbfcdx1.c * source/rdd/dbfcdx/dbfcdx2.h ! fixed sharing flags in index creation ! fixed tag order after index creation + added function hb_cdxReorderTagList + added dummies handlers for DBOI_KEYADD, DBOI_KEYDELETE. 2002-04-30 14:02 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbcmd.c * Bug fixed, which caused GPF's while opening of additive index 2002-04-30 12:46 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * include/hbrddntx.h * source/rdd/dbfntx/dbfntx1.c * Some changes, needed for custom indexes support 2002-04-30 01:11 UTC-0300 Walter Negro <anegro@overnet.com.ar> * source/rtl/memoedit.prg ! Add support for Set Key defined Keys. From xHarbour by Luiz Culik ! Fix minor bug related with this. * source/rtl/teditor.prg ! Add support for Set Key defined Keys on Edit() and BrowseText() method From xHarbour by Luiz Culik ! Fix minor bug related with this * source/rtl/tget.prg ! Fix minor bug in PutMask( ) 2002-04-29 13:40 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbfntx/dbfntx1.c * Bug fixed in tree balancing 2002-04-28 08:50 UTC-0300 Luiz Rafael Culik <culikr@uol.com.br> * source/rtl/listbox.prg * Fixed some warnings * source/rtl/dummy.prg *Removed reference to ordkeydel() and ordkeyadd() 2002-04-27 23:50 UTC-0300 Luiz Rafael Culik <culikr@uol.com.br> * source/rtl/teditor.prg * Added Support lookup on SetKey()'s Defined functions on Edit() and BrowseText() then this are not Handle by TMemoEditor:Edit() method 2002-04-27 19:15 UTC-0300 Horacio Roldan <harbour_ar@yahoo.com.ar> * include/hbapirdd.h * source/rdd/dbcmd.c + added functions ordKeyAdd and ordKeyDel (need support from each RDD) ! fixed compatibility issue: ordListAdd(nil) is valid in Clipper 2002-04-27 17:40 UTC-0300 Luiz Rafael Culik <culikr@uol.com.br> * source/rtl/dbedit.prg *Fix an bug on dbedit function that was Generating an Recursive call to DBEDIT() functions if the acColumns parameter was defined like below aCol[1]:={"Name"+" "+"AddRess"+" "+"phone"} 2002-04-27 00:10 UTC-0300 Luiz Rafael Culik <culikr@uol.com.br> * source/rtl/Listbox.prg source/rtl/tbrowse.prg * Code CleanUP 2002-04-26 21:45 UTC+0100 Tomaz Zupan <tomaz.zupan@orpo.si> * bin/bld.sh ! Fix: Script didn't add screen library needed by GT lib. 2002-04-26 21:56 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * contrib/rdd_ads/ads1.c ! Little fix for VarChar data type 2002-04-26 14:08 UTC-0300 Walter Negro <anegro@overnet.com.ar> * source/rtl/getlist.prg ! Fix bug when release last getlist Reported by Alexander Kresin 2002-04-25 08:10 UTC-0300 Luiz Rafael Culik <culikr@uol.com.br> * source/rtl/tbrowse.prg * Method SetColumnWidth() now return the corrent Value(Clipper return the Greater value of either Heading;Data; or footer 2002-04-26 15:15 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbstrux.prg * contrib/rdd_ads/ads1.c * Implemented using of extended data types in RDD ADS 2002-04-25 10:55 UTC-0300 Walter Negro <anegro@overnet.com.ar> * source/rtl/getsys.prg ! Fix, lost the reference to the current oGetList with recursive execution of ReadModal. 2002-04-24 09:04 UTC-0300 Horacio Roldan <harbour_ar@yahoo.com.ar> * include/hbrddcdx.h * source/rdd/dbfcdx/dbfcdx1.c * source/rdd/dbfcdx/dbfcdx1.h * source/rdd/dbfcdx/dbfcdx2.h + multiple CDXs support for: hb_cdxOrderListAdd, hb_cdxOrderListFocus, hb_cdxGoCold, hb_cdxGoHot, hb_cdxGetTagByNumber, hb_cdxGetActiveTag, DBOI_ORDERCOUNT, DBOI_UNIQUE, ordName, ordBagName. ! fixed a bug in: gotop, gobbotom, skip + begin of hb_cdxZap + added support for: DBOI_ISCOND, DBOI_ISDESC, DBOI_FILEHANDLE + added index locking routines ! fixed some structures definitions for gcc/vc/... ! fixed autopen bug on Linux ! fixed recno() while indexing 2002-04-24 00:42 UTC-0300 Horacio Roldan <harbour_ar@yahoo.com.ar> * source/rdd/workarea.c ! fixed bug with set relation to, found by Walter Negro. 2002-04-23 20:40 UTC-0300 Walter Negro <anegro@overnet.com.ar> * source/rtl/devoutp.prg ! More compliant with Cli**er for certain types of data. Now only accept character, memo, numeric, date and logical types of data. Any other types of data is ignored. 2002-04-22 14:14 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbfntx/dbfntx1.c * source/rdd/dbcmd.c * Implemented clauses USECURRENT and ADDITIVE of INDEX ON command for DBFNTX 2002-04-19 19:32 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbfntx/dbfntx1.c * Minor bug fixed in indexing empty files 2002-04-19 11:33 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * include/hbrddntx.h * source/rdd/dbfntx/dbfntx1.c * source/rdd/dbf1.c * Some fixes in locking to provide Clipper compatibility 2002-04-18 22:56 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbfntx/dbfntx1.c * Some improvements in keys per page calculating while indexing 2002-04-18 13:30 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbfntx/dbfntx1.c * Algorithm of key deleting is rewritten to keep the index tree balanced. 2002-04-18 03:55 UTC-0300 Walter Negro <anegro@overnet.com.ar> * contrib/libnf/ftattr.c + Initial version of FT_SAVEATT() & FT_RESTATT(). For save and restore the attribute bytes of a specified screen region. * contrib/libnf/getver.c * Different compilation for HB_OS_DOS_32 in _FT_TEMPFILE * contrib/libnf/tempfile.prg + New code for plataform diferent of HB_OS_DOS and HB_OS_DOS_32. The new code not use call to C function. + Add new parameter. FT_TEMPFIL( cPath, [lHidden], [@nHandle] ) if [@]nHandle is used, the function not close the temp file and return the handle by nHandle. This parameter should be passed by reference. If this parameter is not used or not passed by reference, the temp file is closed. * contrib/libnf/dispc.c + ported to Harbour of FT_DISPFILE(). See also FT_DFSETUP() and FT_DFCLOSE(). This function permit browse for a file without loading it in memory. * contrib/libnf/makefile * contrib/libnf/nanfor.bc * contrib/libnf/makefile.vc + Add reference for dispc.c, ftattr.c and dfile.prg * include/hbsetup.h + defines for compiler __DJGPP__ is HB_OS_DOS_32. 2002-04-17 13:15 UTC-0300 Luiz Rafael Culik<culikr@uol.com.br> * contrib/htmllib/ohtm.prg contrib/htmllib/oedit.prg contrib/htmllib/forms.ch * Added support for accessbility on Forms 2002-04-17 14:57 UTC-0300 Walter Negro <anegro@overnet.com.ar> * source/rtl/tget.prg ! Fix bug in DeleteAll method. Change DTOC() for CTOD(). * Bug fixed, reported by Lorenzo Fiorini. 2002-04-17 14:28 UTC-0300 Walter Negro <anegro@overnet.com.ar> * source/rtl/teditor.prg + Added of calls to IdleHook and KeyboardHook for handling of special keys when the mode edition is not used. 2002-04-15 05:00 UTC-0300 Walter Negro <anegro@overnet.com.ar> * source/rtl/valtype.c ! Change name of function form IS_VARBYREF() to HB_ISVARREF(). 2002-04-15 04:55 UTC-0300 Walter Negro <anegro@overnet.com.ar> * contrib/libnf/caplock.c * contrib/libnf/numlock.c * Add {} to avoid ambiguous if-else. * contrib/libnf/descend.c * contrib/libnf/getenvrn.c * contrib/libnf/proper.c * contrib/libnf/prtscr.c * contrib/libnf/getvid.c * Add some values for default to eliminate warnings when compiling with gcc -O2. * contrib/libnf/kspeed.c * Fix values in switch-case. * Add some values for default to eliminate warnings when compiling with gcc -O2. * contrib/libnf/mouse.c * _MGET_PAGE() now return value when HB_OS_DOS. * Add some values for default to eliminate warnings when compiling with gcc -O2. 2002-04-15 04:32 UTC-0300 Walter Negro <anegro@overnet.com.ar> * contrib/libct/makefile.bc * Correction in dependence of exponent.c 2002-04-14 05:15 UTC-0300 Walter Negro <anegro@overnet.com.ar> * contrib/libct/ctmisc.prg + Add function: CSETCENT() // Return state of SET CENTURY + Add function: UNSELECTED() // Activate UNSELECTED color * contrib/libct/bit1.c * contrib/libct/bit3.c * contrib/libct/files.c * contrib/libct/pos1.c * contrib/libct/posdiff.c * contrib/libct/strswap.c * Add some values for default to eliminate warnings when compiling with gcc -O2. * contrib/libct/ctflist.txt * state of CSETCENT() and UNSELECTED(): started. 2002-04-14 04:50 UTC-0300 Walter Negro <anegro@overnet.com.ar> * include/hbapiitm.h + Add definition for hb_itemUnRefOnce(). * source/vm/itemapi.c * Subdivision of the function hb_itemUnRef() in hb_itemUnRef() and hb_itemUnRefOnce(). * source/rtl/valtype.c + Add function: IS_VARBYREF(). This function allows in PRGs to know if a parameter has been passed by value or by reference. 2002-04-10 15:48 UTC+0100 Tomaz Zupan <tomaz.zupan@orpo.si> * config/linux/gcc.cf + Added support for compiler cache in linux. If you want to use compiler cache, set HB_CCACHE environment variable. (export HB_CCACHE=ccache) 2002-04-10 13:22 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbfntx/dbfntx1.c ! Some fix for shared mode ( hb_ntxHeaderRead() function added ) 2002-04-08 19:10 UTC+0100 Martin Vogel <vogel@inttec.de> + contrib/libct/exponent.c + EXPONENT() and MANTISSA() functions by Walter Negro + contrib/libct/tests/expomant.prg + test program for EXPONENT() and MANTISSA() 2002-04-08 21:00 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * include/hbrddntx.h * Cleanup * source/rdd/dbfntx/dbfntx1.c * Algorithm of updating keys is fully rewritten, now the index tree remains balanced after adding new keys. 2002-04-08 16:15 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbfntx/dbfntx1.c * Bug fixed, reported by Lorenzo Fiorini 2002-04-05 13:56 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbfntx/dbfntx1.c * Minor bug fixed, some cleanup 2002-04-04 11:17 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbfntx/dbfntx1.c ! Two bugs fixed 2002-04-03 21:40 UTC-0500 David G. Holm <dholm@jsd-llc.com> * config/w32/global.cf + If no COMSPEC and running on Windows NT or 2000, use CMD.EXE. 2002-04-03 21:40 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbfntx/dbfntx1.c * Algorithm of indexing improved - it is faster now ( in some cases 5%, in some others - 10 times ). 2002-04-03 10:30 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * contrib/rdd_ads/ace.h * New ace.h from Extended Systems, Inc. 2002-04-02 21:12 UTC+0200 JF Lefebvre (Mafact) <jfl@mafact.com> * include/hbclass.ch + Refined Class(y) compatibility as needed by Horacio. * source/rdd/dbfntx/dbfntx1.c * Added two type cast needed by VC++ 2002-04-02 21:46 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbcmd.c ! bug fixed in COPY TO db, reported by Mike Romberg 2002-04-02 20:42 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * include/hbrddntx.h * source/rdd/dbfntx/dbfntx1.c * OrdKeyNo() implemented for DBFNTX, both OrdKeyNo() and OrdKeyCount() now respects scopes. * Some fixes and cleanup 2002-04-02 18:57 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * contrib/rdd_ads/ads1.c * contrib/rdd_ads/adsfunc.c * contrib/rdd_ads/adsmgmnt.c * contrib/rdd_ads/testmg.prg * some changes for compatibility with Linux version 2002-04-02 4:44 UTC-0300 Walter Negro <anegro@overnet.com.ar> * source/rtl/menuto.prg ! Fix recursive executions and exit without pressing key. Now use local pointer and save static pointer. ! Fix call to HitTest 2002-03-31 14:00 UTC-0300 Luiz Rafael Culik<culikr@uol.com.br> * source/rtl/tbrowse.prg * Fixed an problem on SetColumnwidth() method that was Tbrowse not be properly show on screen 2002-03-29 14:45 UTC-0500 David G. Holm <dholm@jsd-llc.com> * contrib/libnf/calendar.prg * contrib/libnf/chdir.c * contrib/libnf/getver.c * contrib/libnf/getvid.c * contrib/libnf/kspeed.c * contrib/libnf/mkdir.c * contrib/libnf/mouse.c * contrib/libnf/rmdir.c ! Only include dos.h if building for a DOS platform. * contrib/libnf/diskfunc.prg * contrib/libnf/dispmsg.prg * contrib/libnf/dosver.prg * contrib/libnf/floptst.prg * contrib/libnf/isshare.prg * contrib/libnf/menuto.prg * contrib/libnf/mouse2.prg * contrib/libnf/nwlstat.prg * contrib/libnf/nwuid.prg * contrib/libnf/page.prg * contrib/libnf/popadder.prg * contrib/libnf/pvid.prg * contrib/libnf/scancode.prg * contrib/libnf/setdate.prg * contrib/libnf/settime.prg * contrib/libnf/sysmem.prg * contrib/libnf/tempfile.prg * contrib/libnf/vidcur.prg * contrib/libnf/vidmode.prg ! All include file names must be in lower case for Un*x type systems. 2002-03-29 13:15 UTC-0500 David G. Holm <dholm@jsd-llc.com> * libnf/descend.c * libnf/getenvrn.c * libnf/ontick.c * libnf/peek.c * libnf/poke.c ! All include file names must be lower case for Un*x type systems. 2002-03-29 13:15 UTC-0500 David G. Holm <dholm@jsd-llc.com> * contrib/Makefile + Added libnf and samples to all build paths. + contrib/libnf/Makefile + Added GNU make Makefile for nanforum library, but had to list ontick.c, peek.c, and poke.c under BAD_C_SOURCES, because the cpmi.h include file is missing. 2002-03-29 15:10 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbfntx/dbfntx1.c ! Minor fix 2002-03-29 14:17 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * include/hbrddntx.h * source/rdd/dbfntx/dbfntx1.c * OrdKeyCount() implemented for DBFNTX 2002-03-28 15:57 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * include/hbrddntx.h * source/rdd/dbfntx/dbfntx1.c * Lot of code is changed to avoid using of PHB_ITEM in internal functions, some other optimizations. DBFNTX became much faster now ( still not so fast as Clipper ). 2002-03-27 02:26 UTC-0300 Horacio Roldan <harbour_ar@yahoo.com.ar> * include/hbset.h * source/rtl/set.c ! changed definition of HB_SET_AUTORDER from BOOL into int. 2002-03-25 21:53 UTC-0300 Walter Negro <anegro@overnet.com.ar> * source/rtl/tget.prg ! Fix minor bug with initial spaces in PICTURE 2002-03-25 15:33 UTC-0300 Walter Negro <anegro@overnet.com.ar> * source/rtl/tget.prg ! Fix bug in picture "999,999.99" and "999.999,99". ! Fix bug in picture with initial spaces. 2002-03-25 08:45 UTC+0200 Chen Kedem <niki@synel.co.il> * doc/en/lang.txt ! Change ZH_GB --> ZHGB, ZH_BIG5 --> ZHB5 * source/lang/msgzhb5.c * source/lang/msgzhgb.c ! Added missing commas * Some text translated from English to Chinese All changes thanks to dongming <dongming@km169.net> 2002-03-24 16:08 UTC-0300 Walter Negro <anegro@overnet.com.ar> * include\hbtrace.h + Added #defines HB_TR_LEVEL_xxx * This allows to skip the limitation of DOS and WINDOWS to include the symbol '='inside an environment variable. Ex: SET CFLAGS=-DHB_TR_LEVEL_DEBUG it's equal to SET CFLAGS=-DHB_TR_LEVEL_DEBUG=5 // Not permited in DOS &WIN 2002-03-22 15:02 UTC-0300 Walter Negro <anegro@overnet.com.ar> * source/rtl/tget.prg ! Fix ::unTransform() for numeric Get with complex Picture. 2002-03-21 20:47 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbfntx/dbfntx1.c ! Minor fix. 2002-03-21 19:22 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * include/hbrddntx.h * source/rdd/dbfntx/dbfntx1.c * Added virtual method ntxSysName() - now Rddname() for DBFNTX works properly. * contrib/rdd_ads/ads1.c * adsSysName() changed - it returns now "ADSNTX", "ADSCDX" or "ADSADT". 2002-03-21 15:58 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * include/hbrddntx.h * source/rdd/dbfntx/dbfntx1.c * Some cleanup * source/vm/runner.c ! Bug fixed, related to execution of separate functions with __hrbDoFu() 2002-03-20 18:57 UTC-0300 Walter Negro <anegro@overnet.com.ar> * source/rtl/checkbox.prg * Revert static function to NO static 2002-03-19 12:45 UTC-0500 David G. Holm <dholm@jsd-llc.com> * source/rtl/set.c + Implemented Dave Pearson's idea for having SET PRINTER default to "|lpr" when HB_OS_UNIX is defined. 2002-03-19 12:30 UTC-0500 David G. Holm <dholm@jsd-llc.com> * source/rtl/set.c ! Fixed bugs in setting the default SET PRINTER TO device up to be "PRN". 2002-03-19 11:30 UTC-0500 David G. Holm <dholm@jsd-llc.com> * source/rtl/set.c ! The default SET PRINTER TO device is supposed to be "PRN". 2002-03-20 14:38 UTC-0300 Walter Negro <anegro@overnet.com.ar> * source/rtl/tget.prg * Fix bug in PICTURE '@S' * source/rtl/tgetlist.prg * source/rtl/listbox.prg * source/rtl/checkbox.prg * Fix some bugs and formatting indentation from last changelog 2002-03-20 14:38 UTC-0300 Walter Negro <anegro@overnet.com.ar> * source/rtl/tget.prg * Fix bug in PICTURE '@S' * source/rtl/tgetlist.prg * source/rtl/listbox.prg * source/rtl/checkbox.prg * Fix some bugs and formatting indentation from last changelog 2002-03-19 20:59 UTC+0100 Tomaz Zupan <tomaz.zupan@orpo.si> * contrib/odbc/odbc.c * Fix for compile error under Win32 2002-03-19 13:07 UTC+0100 Antonio Linares <alinares@fivetech.com> * source/vm/memvars.c * __MVSAVE() saves all variables (publics and privates) Of course if a public variable is overriden by a private one, the private value it is saved. I have not compared the saved files with Cl*pper ones. Once this is checked, then we may remove the SAVE TO entry from the TODO file. Notice that the code borrowed from [x]Harbour for this function, has been removed, as the function has been redesigned. 2002-03-19 11:36 UTC+0000 Dave Pearson <davep@davep.org> * source/rtl/tbrowse.prg * Commented out calls to TRACELOG(). * source/rtl/tgetlist.prg * Commented out calls to TRACELOG(). 2002-03-19 09:30 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbfntx/dbfntx1.c * Some type casts to prevent errors under MSVC and gcc * source/rdd/dbcmd.c * Reverted changes of handling second parameter in Ordscope() 2002-03-18 19:30 UTC-0300 Luiz Rafael Culik<culikr@uol.com.br> * include/getexit.ch include/buttons.ch * Minor fixes 2002-03-18 12:56 UTC-0300 Luiz Rafael Culik<culikr@uol.com.br> * source/rtl/menuto.prg * Added mouse capabilities 2002-03-17 20:25 UTC-0300 Luiz Rafael Culik<culikr@uol.com.br> * source/rtl/listbox.org source/rtl/radiobtn.prg source/rtl/radiogpr.prg source/rtl/checkbox.prg source/rtl/tget.prg source/rtl/pushbtn.prg source/rtl/tbrowse.prg source/rtl/getsys.prg source/rtl/tgetsys.prg * Added the missing Clip53 Methods and Functions % minor fix to Clip53 classes 2002-03-18 18:52 UTC+0100 Antonio Linares <alinares@fivetech.com> * source/vm/extend.c ! Now all hb_ret...() and hb_pcount() functions are always exported 2002-03-18 14:35 UTC+0100 Antonio Linares <alinares@fivetech.com> * source/vm/macro.c ! Fixed bug in Macro Compiler where Field Assignment is compiled mistakenly as a Memvar Assignment. /* Bug reported by Gerhard ? on Harbour's List. */ change borrowed from [x]Harbour 2002-03-18 13:55 UTC+0100 Antonio Linares <alinares@fivetech.com> * source/vm/hvm.c * bug fix on codeblock execution memvars management * source/vm/memvars.c * bug fix in __MVSAVE() both changes borrowed from [x]Harbour. 2002-03-18 15:12 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * include/hbrddntx.h * source/rdd/dbfntx/dbfntx1.c + Third parameter in dbseek() - bFindLast implemented. It's new Harbour feature - in Clipper 5.3 it was absent for dbfntx. + scopes implemented - you may now use ORDSCOPE() in DBFNTX. + new items added to ntxOrderInfo: DBOI_ISCOND, DBOI_ISDESC, DBOI_UNIQUE, DBOI_SCOPETOP, DBOI_SCOPEBOTTOM, DBOI_SCOPETOPCLEAR, DBOI_SCOPEBOTTOMCLEAR. * some cleanup. * source/rtl/set.c * Changed default value of SET AUTOPEN TO TRUE. * source/pp/pptable.c + Added command SET AUTOPEN [ ON,OFF ] * source/rtl/str.c * Added checking of parameters to be Clipper compatible Added possibility to omit second parameter, while third exists: Str( number,,dec ) 2002-03-18 01:48 UTC-0300 Horacio Roldan <harbour_ar@yahoo.com.ar> * source/rdd/dbfcdx/dbfcdx1.c + added compatibility with Clipper 5.3 (FlexFile) memo headers bug reported by Walter Negro. 2002-03-16 19:31 UTC-0300 Horacio Roldan <harbour_ar@yahoo.com.ar> * source/rdd/dbfcdx/dbfcdx1.c ! fixed bug with keys updating 2002-03-15 08:50 UTC-0800 Ron Pinkas <ron@ronpinkas.com> * contrib\dot\pp.prg * contrib\dot\pp_harb.ch * contrib\dot\prgscrpt.prg > Synched with latest PP from xHarbour. 2002-03-15 10:42 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/pp/pplib.c * removed ( commented ) setjmp/longjmp logic, because it caused GPF when "DEFAULT" was pressed after getting an error. It seems to me that __PreProcess() works right without setjmp/longjmp 2002-03-14 14:00 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbfntx/dbfntx1.c ! bug fixed in seeking, reported by Mikhail Malyh 2002-03-14 11:12 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbcmd.c ! bug fixed, reported by Mikhail Malyh. It was related to COPY FIELDS ... TO command 2002-03-13 14:07 UTC-0800 Ron Pinkas <ron@ronpinkas.com> * source/compiler/harbour.slx + Enabled support for TEXT ... ENDTEXT utilizing new hb_ppInsideTextBlock * source/compiler/harbour.sly ! Correted minor bug in GetA 2002-03-13 18:53 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/pp/ppcomp.c * bug fixed, related to 'ENDTEXT' position 2002-03-13 13:25 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/pp/ppcomp.c * source/pp/ppcore.c * source/pp/pptable.c * TEXT/ENDTEXT implemented * todo removed implemented items 2002-03-12 19:50 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbfntx/dbfntx1.c * bug fixed, related to seeking in filtered database 2002-03-12 11:40 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/rtl/dbsdf.prg * bug fixed, reported by Mikhail Malyh 2002-03-10 15:25 UTC-0300 Luiz Rafael Culik<culikr@uol.com.br> * source/pp/pptable.c * Fixed command for SET PRINTER TO * source/rtl/set.c * Fixed The SET_PRINTFILE 2002-03-08 18:35 UTC-0500 Phil Barnett <midnight@the-oasis.net * include/hbver.h * Updated version numbers to Alpha 39 release * Tagged Repository With BUILD39 2002-03-08 07:30 UTC-0300 Luiz Rafael Culik<culikr@uol.com.br> * utils/hbmake/hbmake.prg * Minor fix for Library names on linux section 2002-03-07 14:50 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/rtl/dbsdf.prg * bug fixed, reported by Mikhail Malyh * doc/en/compiler.txt * some formatting 2002-03-07 11:00 UTC+0100 Antonio Linares <alinares@fivetech.com> * source/rtl/persist.prg * Speed improvement on loading saved objects Memoline() use has been changed into Ingacio's ExtractLine() much faster function. 2002-03-07 12:56 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/vm/runner.c * Calls of hb_vmSend() are changed to hb_vmDo ( Ron's proposal ) * make_b32.bat * Added line 'SET BISON_SIMPLE=source\compiler\harbour.simple' * doc/en/compiler.txt * added information about /g... compiler switches 2002-03-05 21:25 UTC+0100 Antonio Linares <alinares@fivetech.com> * source/debug/dbgtarr.prg * some fixes on arrays debugging * source/rtl/persist.prg * some fixes on nested arrays recovering 2002-03-05 11:24 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/rtl/dbsdf.prg * Uncommented actual code ( forget to do it last time ), some fixes 2002-03-04 11:48 UTC-0300 Horacio Roldan <harbour_ar@yahoo.com.ar> * source/rdd/dbfcdx/dbfcdx1.c ! fixed bug seek and set deleted on, reported by Lorenzo Fiorini also fix bug with set filter ! fixed bug with ordkeyno() and ordkeycount(), reported by Manuel Mercado Gomez 2002-03-04 22:33 UTC+0100 Antonio Linares <alinares@fivetech.com> * source/rtl/set.c * some minor fixes on hb_setFreeSetPath() reported by Mike Romberg from sourceforge bugs report 2002-03-04 12:35 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbfntx/dbfntx1.c ! Bug fixed, reported by Mike Romberg 2002-03-03 17:17 UTC-0800 Brian Hays <bhays@abacuslaw.com> * source/rtl/persist.prg * added 254 as linelength to MLCount call in LoadFromText so it matches later call to MemoLine * source\common\hbffind.c * fixed the "Directory() can't see files with cleared archive bits" problem. 2002-03-03 16:20 GMT-3 Luiz Rafael Culik <culik@sl.conex.net> * include/hbapifs.h + prototype for hb_fsPOpen() api * source/rtl/set.c * source/rtl/filesys.c * Added Code to Support SET PRINTER TO PIPE <cmd> Code provided by Przemyslaw CzerPak druzus@polbox.com * utils/hbmake/hbmake.prg * Minor fix for Library create response file for ar archiver * utils/hbmake/hbmutils.prg * minor fix for linux 2002-03-03 19:35 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/rtl/dbsdf.prg * Support of APPEND FROM ... SDF ... added 2002-03-03 12:26 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/pp/ppcore.c * bug fixed, reported by Walter Negro 2002-03-02 20:00 UTC-0300 Walter Negro <anegro@overnet.com.ar> * source\rtl\tget.prg * METHOD _Delete() * modification to be more Clip*r compliant and behaviour. * changes in the logic of the function. before, the function only erased the character under the cursor. now it drags the other characters. dragging is limited by the non editable characters. * METHOD Insert() * modification to be more Clip*r compliant and behaviour. * changes in the logic of the function. now insert a character and displaces to the right the rest of the characters until the first non editable character. * source\rtl\tgetlist.prg * METHOD GetPostValidate() * modification to be more Clip*r compliant and behaviour. - eliminate call to SetFocus() when BadDate = .T., this fix makes that the buffer is not erased if the date is incorrect. 2002-03-02 13:40 UTC-0300 Walter Negro <anegro@overnet.com.ar> * source\vm\classes.c * __objClone() * comment this line pDstObject->item.asArray.value->puiClsTree = NULL; because it's redundant with arrayClone(). see Changelog below. 2002-03-02 13:25 UTC-0300 Walter Negro <anegro@overnet.com.ar> * source\vm\arrays.c * Fixed hb_arrayClone() + Add line 777, was token from __objClone() and xHarbour. Thanks, Ron. 2002-03-01 15:00 UTC-0500 Jorge A. Giraldo <jorgeagiraldo@emtelsa.multi.net.co> * contrib\delphi\hbdll\bld_sdll.bat * -b option ommited, people expect a DLL without DOS debugger docs with some indications will explain this * some absolute paths changed to relative paths + contrib\delphi\hbdll\main.dfm + Delphi's main form, as a binary file, because it's a D3 form it will be compatible with newer Delphis ; Changes thanks to Alexander's feedback 2002-02-26 17:20 UTC-0500 David G. Holm <dholm@jsd-llc.com> * .cvsignore + Added freebsd and freebsd/* to the CVS ignore list. 2002-02-27 16:30 UTC-0500 David G. Holm <dholm@jsd-llc.com> * contrib/Makefile - Removed apollo from the w32 build path, because it now requires the use of third-party (Apollo) include files. 2002-02-27 01:27 UTC+0100 Maurilio Longo <maurilio.longo@libero.it> * harbour/source/rtl/tbrowse.prg ! fixed columns' width calc (quick and not very much tested) 2002-02-26 21:50 UTC+0100 Tomaz Zupan <tomaz.zupan@orpo.si> * include/hbapi.h * Added newline at the end to clear gcc warning 2002-02-26 14:15 UTC-0500 David G. Holm <dholm@jsd-llc.com> * source/common/hbstr.c ! Fix bug in hb_strAt when the source string matches more than one character (but less than all) in the search string. As reported by Sergej Linnik, "22345" $ "012223456789" was failing, but it now succeeds. Note: This also affects compiler optimizations, so be sure to rebuild the compiler before testing. 2002-02-26 15:40 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/pp/ppcore.c * bug fixed, reported by Lorenzo Fiorini 2002-02-26 11:53 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/pp/ppcore.c * bug fixed, reported by Walter Negro 2002-02-24 09:36 UTC+0100 Antonio Linares <alinares@fivetech.com> * source/debug/debugger.prg * Fixed bug when browsing vars reported by Jorge A. Giraldo 2002-02-24 09:34 UTC+0200 Chen Kedem <niki@synel.co.il> * doc/dirstruc.txt + Add two lines about the Delphi directory 2002-02-23 15:48 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbfntx/dbfntx1.c ! bug fixed in unique indexes creating, reported by Mikhail Malyh 2002-02-23 09:55 UTC+0100 Antonio Linares <alinares@fivetech.com> * source/debug/debugger.prg * Fixed bug when browsing vars reported by Jorge A. Giraldo 2002-02-21 18:10 UTC-0500 Jorge A. Giraldo <jorgeagiraldo@emtelsa.multi.net.co> * contrib\delphi\hbdll\start.bat * a small typo * contrib\delphi\hbdll\errorsys.prg * For a DLL there is not main procedure, there seems to be something to be fixed to avoid and invalid "+" operation when showing the called stack. A specific workaround is provided to fix the problem. * contrib\delphi\hbdll\EasyPath.dpr * Id included * contrib\delphi\hbdll\Main.pas * Id included + In case of an error, the QUIT from the DLL has been moved to Delphi. + Other small changes * contrib\delphi\hbdll\MyProg.prg * small changes 2002-02-21 06:00 UTC-0300 Walter Negro <anegro@overnet.com.ar> * source/rtl/tget.prg * METHOD ::ParsePict() - The change is because if ::Original it is not numeric, it would generate an error. - METHOD ::Undo() - Delete assignment to ::buffer because ::VarPut( ::Original, .t. ) makes this assignment. - METHOD ::VarPut() - Delete ::nDispLen := NIL line, because ::Picture() makes this assignment. - Revert changes of Ignacio Ortiz because the problem was with ::nDispLen and not with empty cPicture. - METHOD ::Block() - Delete ::nDispLen := NIL line, because ::Picture() makes this assignment. * METHOD ::Picture() - Add ::nDispLen := NIL line, reset the variable. Only ::ParsePict() can load a value that can differ of nMaxLen. ! METHOD ::KillFocus() - Change position of lines, hasfocus should be before the call to Putmask. This makes that in numeric fields, points or comas are not shown before the numbers. 2002-02-20 20:10 UTC-0500 David G. Holm <dholm@jsd-llc.com> * doc/howtocvs.txt ! I updated my "How I got SSH and CVS to work together" procedure based on information that was provided by "Jorge A. Giraldo" <jorgeagiraldo@emtelsa.multi.net.co> 2002-02-19 21:55 UTC-0300 Luiz Rafael Culik <culikr@uol.com.br> * utils/hbmake/hbmake.prg * Fixed remaining bug as reported by Chen 2002-02-19 17:45 UTC+0100 Ignacio Ortiz <ignacio@fivetech.com> * source/rtl/Tget.prg * Fixed bug reported by Lorenzo Fiorini 2002-02-19 10:40 UTC+0100 Ignacio Ortiz <ignacio@fivetech.com> * source/rtl/Tget.prg * source/rtl/Tgetlist.prg * Minor modifications proposed by Walter Negro * Fixed bug on numeric fields with picture clause 2002-02-19 10:22 UTC+0100 Antonio Linares <alinares@fivetech.com> * source/pp/ppcore.c * minor fix borrowed from [x]Harbour Many thanks to Ron It fixes this kind of code: #xcommand INIT[<c>] ; =>; ::New( <c> ) function Main() INIT["test"] return nil 2002-02-18 23:41 UTC-0300 Luiz Rafael Culik <culikr@uol.com.br> * utils/hbmake/hbmake.prg utils/hbmake/hbmtuils.prg * Fixed minor bugs reported bu Chen 2002-02-19 00:05 UTC+0100 Martin Vogel <vogel@inttec.de> + contrib/libct/ftoc.c + FTOC() and CTOF() functions, implemented by Walter + contrib/libct/misc1.c + XTOC() function, implemented by Walter + contrib/libct/tab.c + contrib/libct/tests/tab.prg + TABPACK() and TABEXPAND() functions * contrib/libct/charonly.c * contrib/libct/charrepl.c * contrib/libct/remove.c * bug fixes, functions crashed when zero-length-strings were passed as parameters 2002-02-18 15:35 UTC-0500 David G. Holm <dholm@jsd-llc.com> * source\common\hbgete.c ! Type fix for IBM OS/2 C++ compiler (works with GCC also). 2002-02-18 14:01 UTC+0100 Maurilio Longo <maurilio.longo@libero.it> * source/rtl/tbrowse.prg ! fixed columns footing handling * source/rtl/tbcolumn.prg ! fixed columns footing handling 2002-02-18 10:42 UTC+0200 Chen Kedem <niki@synel.co.il> * doc/en/string.txt + AT() : Add note about Harbour extension in the $COMPLIANCE$ section ! Minor samples corrections * Line formating * doc/en/dir.txt * doc/en/file.txt * doc/en/misc.txt * doc/en/rdddb.txt * doc/en/terminal.txt * doc/en/tlabel.txt * doc/en/treport.txt * Mostly line formating 2002-02-17 20:30 UTC-0300 Walter Negro <anegro@overnet.com.ar> * source/vm/itemapi.c ! hb_itemStr() - Eliminated the limit of 9 decimals if not SET FIXED ON ! hb_itemStr() - Rounded starting from 17th less significant number. This is the behavior of Clipper. Ex: Before ? str( 1191.63, 20, 15 ) -> 1191.629999999999882 Now ? str( 1191.63, 20, 15 ) -> 1191.630000000000000 * source/rtl/val.c ! hb_strVal() - Change dValue from double to long double. This allows that the string-number conversions are same for program and for compilation. ? ( val("1191.63") == 1191.63 ) -> TRUE 2002-02-17 20:20 UTC+0100 Tomaz Zupan <tomaz.zupan@orpo.si> *include/hbpcode.h *Added newline at the end to clear gcc warning 2002-02-16 20:25 UTC-0500 Jorge A. Giraldo <jgiraldo@col2.telecom.com.co> Harbour to Delphi integration + Added contrib\delphi dir + Added contrib\delphi\hbdll dir + Added contrib\delphi\hbdll\start.bat + Added contrib\delphi\hbdll\bld_sdll.bat + Added contrib\delphi\hbdll\myprog.prg + Added contrib\delphi\hbdll\macrcall.c + Added contrib\delphi\hbdll\errorsys.prg + Added contrib\delphi\hbdll\easypath.dpr + Added contrib\delphi\hbdll\main.pas 2002-02-14 20:50 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/vm/arrayshb.c ! Adel() fixed - second parameter = 1 by default 2002-02-11 12:15 UTC+0100 Ignacio Ortiz <ignacio@fivetech.com> * source/rtl/Tget.prg * Minor modifications proposed by Walter Negro 2002-02-11 05:30 UTC+0100 Antonio Linares <alinares@fivetech.com> * contrib/hgf/win32/make_b32.bat * contrib/hgf/win32/makefile.bc * contrib/hgf/win32/makefile.vc * some minor fixes 2002-02-10 18:50 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/vm/runner.c * source/vm/dynlibhb.c ! Fixed problems with hb_strupr( ( hb_parc(1) ) by using hb_strdup() * source/rdd/workarea.c ! Fixed a bug in hb_waAddField() 2002-02-10 16:00 UTC+0100 Antonio Linares <alinares@fivetech.com> * include/hbapi.h * source/vm/debug.c * source/vm/hvm.c * source/vm/itemapi.c * struct hb_struString bPcode member renamed as bStatic Thanks to Ron for this name, which is more appropiate 2002-02-10 12:08 UTC+0100 Antonio Linares <alinares@fivetech.com> * source/rtl/dbedit.prg * Bug fixed reported by Bill Smith 2002-02-09 14:12 UTC-0800 Ron Pinkas <ron@ronpinkas.com> * source/compiler/hbgenerr.c ! Fixed incorrect position of "4Suspicious operand type: \'unknown\' expected: \'%s\'". 2002-02-09 20:10 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/vm/runner.c * Few bugs fixed, related to errors handling 2002-02-09 16:04 UTC+0100 Maurilio Longo <maurilio.longo@libero.it> * source/rtl/dbedit.prg ! fixed acColumns handling 2002-02-09 11:24 UTC+0100 Antonio Linares <alinares@fivetech.com> * source/vm/runner.c * Some MSVC castings required added 2002-02-09 11:03 UTC+0100 Antonio Linares <alinares@fivetech.com> * source/vm/hvm.c ! hb_strUpper() call for pcode strings bug fixed 2002-02-08 22:45 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/vm/runner.c * Bug fixed, which caused GPF in case of using a call of undefined function * include/hbextern.ch * added definitions of new __hrb... functions for providing possibility to call them from .hrb . 2002-02-07 20:48 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbfntx/dbfntx1.c * Some cleanup. 2002-02-06 22:42 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbfntx/dbfntx1.c * Bug fixed, reported by jhncon <jhncon@yahoo.com.tw> 2002-02-06 08:34 UTC+0100 Maurilio Longo <maurilio.longo@libero.it> * source/rtl/tbrowse.prg ! fixed ::aRedraw handling inside ::Stabilize() 2002-02-05 21:22 UTC+0100 Tomaz Zupan <tomaz.zupan@orpo.si> * contrib/odbc/Makefile * contrib/odbc/odbc.c * contrib/odbc/todbc.prg * Added support for linux to odbc library 2002-02-05 15:13 UTC+0100 Maurilio Longo <maurilio.longo@libero.it> * source/rtl/tbrowse.prg ! fixed columns width handling when there are frozen columns + columns' width get evaluated just before first TBrowse ::Stabilize() + little changes to optimize speed * source/rtl/tbcolumn.prg ! more clipper compatible (cannot set column width to nil) 2002-02-05 13:39 UTC+0000 Dave Pearson <davep@davep.org> * include/hbapi.h * include/hbapiitm.h * Added final EOLs to file. GCC warns if they're not there. 2002-02-05 02:04 UTC-0300 Horacio Roldan <harbour_ar@yahoo.com.ar> * source/rdd/dbf1.c ! reverted changes to hb_dbfGoTo * source/rdd/dbfcdx/dbfcdx1.c ! fixed bug with bof flag 2002-02-04 22:20 UTC-0300 Luiz Rafael Culik <culik@sl.conex.net * utils/hbmake/hbmake.prg * Minor fix 2002-02-04 23:10 UTC+0100 JFL (mafact) <jfl@mafact.com> * source/vm/hvm.c * source/vm/classes.c ! fixed bug where object overloading was using modulus in place of power for "**" expression * source/vm/runner.c ! added mscv needed type casting to lines 515 & 516 2002-02-01 17:14 UTC-0300 Horacio Roldan <harbour_ar@yahoo.com.ar> * source/rdd/dbf1.c ! fixed bof bug in hb_dbfGoTo and hb_dbfSkipRaw 2002-02-04 22:20 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbcmd.c * Bug fixed, reported by Lorenzo Fiorini 2002-02-04 20:15 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbf1.c * Fix for hb_dbfGoTo(), posted by Horacio Roldan 2002-02-04 16:45 UTC+0100 Ignacio Ortiz <ignacio@fivetech.com> * source/rtl/Tget.prg * source/rtl/Tgetlist.prg * Minor modifications proposed by Walter Negro 2002-02-04 13:50 UTC+0100 Ignacio Ortiz <ignacio@fivetech.com> * source/rtl/memoline.c * source/rtl/mlcount.c * Disable limitation of string length to 254 when no HB_C52_STRICT used. * source/rtl/at.c * source/source/compiler/Hbfuncchk.c * doc/en/string.txt * Two new parameters nStart & nEnd of At() function when no HB_C52_STRICT used. * source/rtl/Tget.prg * Minor modification on VarPut() method proposed by Walter Negro 2002-02-04 13:12 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/vm/runner.c * warnings and bug fixed 2002-02-02 11:40 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/compiler/genhrb.c * source/vm/runner.c * Creating/checking signature and version number for .hrb file. It is: \192 + 'H' + 'R' + 'B' then 2 byte version number, currently - 2 * include/hbrddntx.h * source/rdd/dbfntx/dbfntx1.c * some fixes and additions - DESCENDING clause works now. 2002-02-01 08:57 UTC-0300 Horacio Roldan <harbour_ar@yahoo.com.ar> * source/rdd/dbf1.c ! fixed bug with flags in hb_dbfGoTo 2002-02-01 19:35 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/vm/runner.c * some of TODO items implemented. New functions added: __HRBLOAD(), __HRBDO(), __HRBUNLOAD(), __HRBGETFU(), HRBDOFU() Now it became possible to use hrb files like pcode DLLs: hrbLib := __hrbLoad( "Mylib.hrb" ) hFu1 := __hrbGetFu( hrbLib,"fu1" ) __hrbDoFu( hFu1 ) ... __hrbUnload( hrbLib ) 2002-02-01 10:30 UTC-0300 Horacio Roldan <harbour_ar@yahoo.com.ar> * utils/hbmake/hbmake.prg utils/hbmake/hbmutils.prg * Better support for big project(Read and Generations) From Luiz Rafael Culik <culik@sl.conex.net> 2002-02-01 12:10 UTC+0100 Ignacio Ortiz <ignacio@fivetech.com> * source/rtl/transfrm.c * Memory buffer overflow reported by Lorenzo Fiorini 2002-02-01 12:00 UTC+0100 Antonio Linares <alinares@fivetech.com> * include/hbexpra.c * Temporary workaround for the "EVAL" bug 2002-02-01 09:32 UTC+0100 Antonio Linares <alinares@fivetech.com> * source/vm/extend.c * some minor fixes on HB_TRACE() supplied params * source/rtl/strings.c * source/rtl/strings.c ! hb_strnicmp() fixed, now it's compatible with strnicmp(). This fixes the previous fix in hvm.c which uses hb_strnicmp() And it also fixes a few functions which also used this: ISPRINTER(), HB_ARGCHECK(), HB_ARGSTRING() This fix has been implemented by Viktor 2002-02-01 07:43 UTC+0100 Antonio Linares <alinares@fivetech.com> * source/vm/codebloc.c * Some minor fixes implemented by Ron 2002-02-01 07:05 UTC+0100 Antonio Linares <alinares@fivetech.com> * source/rtl/strcase.c * Faster Upper() and Lower() as they use now hb_retclen_buffer() * source/rtl/hardcr.c * Faster HardCR() as it uses now hb_retclen_buffer() These changes have been implemented by Viktor 2002-02-01 06:50 UTC+0100 Antonio Linares <alinares@fivetech.com> * source/vm/hvm.c * some minor fix in hb_vmPushAliasedVar() from Viktor CVS, but reverted as it seems it is wrong. 2002-01-31 17:35 UTC+0100 Antonio Linares <alinares@fivetech.com> * source/vm/arrays.c * bug fixed from HB_GARBAGE_FUNC( hb_arrayReleaseGarbage ) when releasing string items 2002-01-31 13:50 UTC+0100 Ignacio Ortiz <ignacio@fivetech.com> * source/rtl/descend.c * source/rtl/memoline.c * source/rtl/saverest.c * source/rtl/mouseapi.c * hb_xgrab( ulLen + 1 ) ! This bug was generating a memory buffer overflows error 2002-01-31 12:55 UTC+0100 Antonio Linares <alinares@fivetech.com> * source/rtl/descend.c * zero ended string added ! This bug was generating a memory buffer overflows error 2002-01-31 08:40 UTC-0300 Horacio Roldan <harbour_ar@yahoo.com.ar> * source/rdd/dbfcdx1.c ! fixed bug with append and empty keys 2002-01-31 12:21 UTC+0100 Antonio Linares <alinares@fivetech.com> * source/rtl/memoline.c * zero ended string added ! This bug was generating a memory buffer overflows error 2002-01-31 08:00 UTC+0100 Antonio Linares <alinares@fivetech.com> * source/vm/hvm.c - removed two uneeded calls to hb_itemClear() from hb_vmOperatorCall() and hb_vmOperatorCallUnary() Notice: hb_itemCopy( pDest, pOrigin ) already performs a hb_itemClear( pDest ), so there is no need to do this: hb_itemClear( pDest ); <<< This is not needed hb_itemCopy( pDest, pOrigin ); 2002-01-30 22:40 UTC+0100 Antonio Linares <alinares@fivetech.com> * include/hbexprc.c * some minor fixes regarding strings sharing implementation 2002-01-30 16:25 UTC+0100 Antonio Linares <alinares@fivetech.com> * include/hbexprb.c * macros using "." bug fixed (reported by Matteo Bacan) 2002-01-30 11:30 UTC+0100 Antonio Linares <alinares@fivetech.com> * include/hbpcode.h * source/compiler/genc.c * source/compiler/hbfix.c * source/compiler/hbpcode.c * source/vm/hvm.c * source/vm/macro.c + Added support for HB_P_MPUSHSTR Notice: These changes have been borrowed from xHarbour, as they fix the bug that xHarbour strings sharing introduced in Harbour (for macro strings). Copyright of this xHarbour bug and bug fix: Ron Pinkas. * source/vm/classes.c * source change re-implemented, that was lost cause using Viktor classes.c 2002-01-30 12:30 UTC+0200 Chen Kedem <niki@synel.co.il> * source/vm/arrayshb.c * HB_AEXPRESSIONS() - The reported error code was 1123 (which belong to AADD()), since this function is an Harbour extension it should use error code > 3000. Changed into 9999 * source/vm/extend.c * source/vm/itemapi.c + Add EOL to the last line * source/vm/macro.c ! hb_macroCheckParam() - Wrong error code 1080 is used, changed into 1065 * source/vm/memvars.c + Add comment to __MVSAVE(), __MVRESTORE() that error code 2008 is undocumented in 5.2e and 5.3 2002-01-30 09:30 UTC+0100 Antonio Linares <alinares@fivetech.com> Notice: All these changes have been done by Viktor Implemented here with his permission * source/rtl/strzero.c * source/rtl/str.c * source/rtl/valtostr.c % Calling hb_retc*_buffer() to speed up things. * source/rtl/gete.c % Calling hb_retc*_buffer() to speed up things. % Calling hb_retc( NULL ) * source/rtl/oldbox.c * source/rtl/mpostolc.c * source/rtl/mlpos.c * source/rtl/mlctopos.c * source/rtl/mlcount.c * source/rtl/memoline.c % "ISCHAR( 1 ) ? hb_parc( 1 ) : """ optimized to plain hb_parc( 1 ) since in Harbour it automatically returns "" when !ISCHAR(1). * source/pp/pplib.c * source/rdd/dbcmd.c * source/rtl/colorind.c * source/rtl/datec.c * source/rtl/descend.c * source/rtl/fkmax.c * source/rtl/gete.c * source/rtl/hardcr.c * source/rtl/memofile.c * source/rtl/memoline.c * source/rtl/mtran.c * source/rtl/natmsg.c * source/rtl/net.c * source/rtl/oemansi.c * source/rtl/padc.c * source/rtl/padl.c * source/rtl/padr.c * source/rtl/philes.c * source/rtl/replic.c * source/rtl/right.c * source/rtl/set.c * source/rtl/space.c * source/rtl/str.c * source/rtl/strtran.c * source/rtl/strzero.c * source/rtl/stuff.c * source/rtl/substr.c * source/rtl/transfrm.c * source/rtl/trim.c * source/vm/classes.c * source/vm/cmdarg.c * source/vm/dynsym.c * source/vm/proc.c % hb_retc( "" ) calls optimized to hb_retc( NULL ) which will have the same effect, but it will generate a constant string item, instead allocating a memory buffer for the empty string, thus saving a hb_grab() call, some memory, and lessen the memort fragmentation. ; Note that CA-Cl*pper will also accept NULL as a parameter for _retc(), and it will be also a bit faster. This fact is undocumented though. * source/vm/itemapi.c * include/hbapiitm.h % hb_itemPutC*() functions optimized, so that they will assign a constant buffer when receiving a NULL string and thus storing an empty string ("") to the string item. Callers are encouraged to call this function (and hb_retc(), too) with a NULL instead of "" to allow this optimization for Harbour. + hb_itemPutCConst() API function added, which can set a string to a const buffer, which doesn't need to be freed, just like if it would point to a string stored in the pcode. The caller must make sure that the buffer is terminated with zero byte. * source/vm/extend.c * include/hbapi.h + hb_retc_buffer() + hb_retc_const() + hb_retclen_buffer() Three new functions, which can optimize out some memory allocations/deallocations in frequently called Harbour RTL functions, in this situation: --------------------------- char * buffer = hb_xgrab(); ... hb_retclen( buffer, len ); hb_xfree( buffer ); --------------------------- the above becomes: --------------------------- char * buffer = hb_xgrab(); ... hb_retclen_buffer( buffer, len ); --------------------------- and one pair of mem function calls is ruled out. * source/rtl/ampm.c * source/rtl/descend.c * source/rtl/langapi.c * source/rtl/memofile.c * source/rtl/memoline.c * source/rtl/mouseapi.c * source/rtl/mtran.c * source/rtl/oemansi.c * source/rtl/padc.c * source/rtl/padl.c * source/rtl/padr.c * source/rtl/philes.c * source/rtl/replic.c * source/rtl/saverest.c * source/rtl/space.c * source/rtl/strtran.c * source/rtl/stuff.c * source/rtl/transfrm.c * source/rtl/version.c * The above optimization implemented in Harbour. AMPM(), DESCEND(), LANGNAME(), MEMOREAD(), MEMOLINE() MSAVESTATE(), HB_ANSITOOEM(), HB_OEMTOANSI(), PADC(), PADR(), PADL(), FREADSTR(), REPLICATE(), SAVESCREEN(), SPACE(), STRTRAN(), STUFF(), TRANSFORM(), OS(), HB_COMPILER(), VERSION() are now faster. 2002-01-29 20:15 UTC+0100 Antonio Linares <alinares@fivetech.com> * include/hbapi.h * source/vm/extend.c * hb_retcconst() and hb_retcbuffer() renamed into hb_retc_const() and hb_retc_buffer() as per Viktor's instructions. 2002-01-29 10:00 UTC+0100 Antonio Linares <alinares@fivetech.com> * source/vm/extend.c + New functions hb_retcbuffer() and hb_retcconst() added * source/vm/itemapi.c + New function hb_itemPutCConst() added * include/hbapi.h + Added prototypes for hb_retcbuffer() and hb_retcconst() * include/hbapiitm.h + New hb_itemPutCConst() prototype added ; NOTE: Above functions were developed by Viktor Szakats, and among them hb_retc_buffer() and hb_retclen_buffer() were inspired by xhb function names hb_retcAdopt() and hb_retclenAdopt() and implemented fully independently in Harbour. 2002-01-29 08:48 UTC+0000 Dave Pearson <davep@davep.org> * source/vm/hvm.c * Removed unused szTemp variable from hb_vmPushStringPcode. 2002-01-28 22:52 UTC-0800 Brian Hays <bhays@abacuslaw.com> * contrib/hbzlib/makefile2.bc * minor cleanup of paths. * source/rtl/persist.prg * added 254 as linelength arg for memoline parsing in LoadFromText() 2002-01-28 21:30 UTC+0100 Patrick Mast <email@patrickmast.com> * contrib/mysql/tmysql + Added DateTime field * Added more info on Alert message for Unknown type * Modified ClipValue2SQL() to process empty strings 2002-01-28 20:43 UTC+0100 Patrick Mast <email@patrickmast.com> * contrib/mysql + Added CLEAN to make_b32.bat 2002-01-28 17:00 UTC+0100 Ignacio Ortiz <ignacio@fivetech.com> * source/vm/hvm.c * New define (HB_GUI) to avoid the call to hb_InkeyPoll() on GUI apps. 2002-01-28 12:36 UTC+0100 Ignacio Ortiz <ignacio@fivetech.com> * source/rtl/tget.prg * Bug fixed in VarPut() method, reported by Lorenzo Fiorini 2002-01-28 14:21 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbf1.c * Bug fixed in dbfGetMemo(), reported by Jose Luis Capel 2002-01-28 13:50 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbfntx/dbfntx1.c ! Bug fixed in ntxGoBottom(), reported by Lorenzo Fiorini 2002-01-27 22:55 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/vm/hvm1.c * Bug fixed in hb_vmSend() - thanks to Ron Pinkas * source/rdd/dbfntx/dbfntx1.c * hb_vmDo() calls are replaced by hb_vmSend() 2002-01-27 18:30 UTC+0100 Antonio Linares <alinares@fivetech.com> * include/hbapi.h * some minor fixes to use C compiler define -DHB_API_MACROS Notice: Using -DHB_API_MACROS C compiler define, results in a faster application execution! 2002-01-27 19:35 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbfntx/dbfntx1.c ! Bug fixed, reported by Lorenzo Fiorini * UNIQUE indexes creation implemented 2002-01-27 10:30 UTC+0100 Antonio Linares <alinares@fivetech.com> ! Strings sharing and strings pcode based implementation * harbour/include/hbapi.h + Two new members added to struct hb_struString * harbour/include/hbexprb.c * Compiler expressions optimizer modified to return a final zero for pcode strings. * harbour/include/hbvm.h + Added hb_vmPushStringPcode() prototype * harbour/source/vm/arrays.c * harbour/source/vm/debug.c * minor fixes related to strings sharing * harbour/source/vm/hvm.c + hb_vmPushStringPcode() implementation and use since HB_P_PUSHSTR and HB_P_PUSHSTRSHORT. * hb_vmPlus() and hb_vmMinus() adapted to strings sharing * hb_vmPushString() adapted to strings sharing * harbour/source/vm/itemapi.c * hb_itemPutC(), hb_itemPutCL(), hb_itemPutCPtr(), hb_itemCopy(), hb_itemClear() adapted to strings sharing and strings pcode based Based on an original idea from Ron Pinkas. Some little portions are borrowed from xHarbour. 2002-01-26 13:03 UTC+0100 Patrick Mast <email@patrickmast.com> * Changed enttry in Changelog 2002-01-25 22:30 from Alexander to Luiz 2002-01-25 22:30 UTC-0300 Luiz Rafael Culik <culik@sl.conex.net> +contrib/hbzlib added source code for ziparchive.lib File names bellow stdafx.cpp ziparchive.cpp zipautobuffer.cpp zipcentraldir.cpp zipcollections.cpp zipcompatibility.cpp zipexception.cpp zipfile.cpp zipfileheader.cpp zipinternalinfo.cpp zipmemfile.cpp zippathcomponent.cpp zipplatform.cpp zipplatformcomm.cpp zipstorage.cpp stdafx.h zipabstractfile.h ziparchive.h zipautobuffer.h zipbaseexception.h zipcentraldir.h zipcollections.h zipcompatibility.h zipexception.h zipfile.h zipfileheader.h zipfilemapping.h zipinternalinfo.h zipmemfile.h zippathcomponent.h zipplatform.h zipstorage.h zipstring.h clickout adler32.c compress.c crc32.c deflate.c gvmat32c.c infblock.c infcodes.c inffast.c inflate.c inftrees.c infutil.c maketree.c trees.c uncompr.c zutil.c gzio.c deflate.h infblock.h infcodes.h inffast.h inffixed.h inftrees.h infutil.h trees.h zlib.h zutil.h zconf.h ziparchivemt.mak ziparchive2.mak +contrib/hbzlib/ziparchivemt.mak +contrib/hbzlib/ziparchive2.mak *makefile file for ziparchive.lib(MT and standartone *contrib/hbzlib/zipnew.cpp * All calls to hb_itemArrayPut() replaced with hb_arraySet() 2002-01-25 21:35 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbfntx/dbfntx1.c ! Few type casts for MSVC 2002-01-25 19:00 UTC+0100 Antonio Linares <alinares@fivetech.com> * source/vm/eval.c + New function HB_ForNext() added Syntax: HB_ForNext( nStart, nEnd | bEnd, bCode [, nStep ] ) * bCode receives the nIndex of the For...Next loop as a parameter: { | nIndex | ...code... } 2002-01-25 18:50 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbfntx/dbfntx1.c * Few bugs fixed * Implemented indexing of a very big files, which keys aren't fit in memory. 2002-01-25 14:25 UTC+0000 Dave Pearson <davep@davep.org> * tests/testpers.prg - Removed the use of cName, it hasn't been supported for a long time and it was stopping this test from working. 2002-01-25 14:35 UTC+0100 Antonio Linares <alinares@fivetech.com> * include/hbexprb.c * include/hbexprc.c * proper generation (placement) of HB_P_SEND opcode <with thanks to Ron Pinkas> * include/hbvm.h - hb_vmMessage() prototype removed * source/vm/classes.c - hb_vmMessage() use removed * source/vm/hvm.c * HB_P_SEND now invokes hb_vmPushSymbol() - function hb_vmMessage() completely removed 2002-01-25 00:40 UTC-0800 Brian Hays <bhays@abacuslaw.com> * source/rtl/persist.prg * added arg to StrTran in LoadFromText() to limit conversion of "=" to ":=" to only the first instance, so data containing a "=" doesn't get changed * fixed ValToText() so data containing embedded quotes doesn't blow up (because it gets wrapped in quotes to save it). Tests if the string contains a " and uses single quotes instead, or use [] if it contains both. Future enhancement should cover if contains all 3.... * contrib/rdd_ads/adsfunc.c * Added wrapper for AdsDisconnect( ) (from Charles Kwon) 2002-01-24 17:53 UTC+0000 Dave Pearson <davep@davep.org> * include/hbpcode.h * Fixed some spelling errors in the pcode comments. 2002-01-24 10:27 UTC+0000 Dave Pearson <davep@davep.org> * source/rtl/profiler.prg * HBProfileLowLevel:gatherOPCodes() wasn't making a call to HBProfile:ignoreSymbol() to allow for opcode filtering in sub classes. Fixed. * Improved the formatting of OPCODE names so that they sort properly. 2002-01-24 10:03 UTC+0000 Dave Pearson <davep@davep.org> * source/rtl/profiler.prg + Added class HBProfileOPCode. + Added class HBProfileLowLevel. It inherits from HBProfile and adds OPCODE usage entries. 2002-01-19 06:11 UTC-0800 Ron Pinkas <ron@ronpinkas.com> * contrib/dot/pp_harb.ch + #ifdef __XHARBOUR__ to protect xHarbour fastitem reliance. 2002-01-23 23:00 UTC+0100 Antonio Linares <alinares@fivetech.com> * source/vm/hvm.c + Added support for opcodes profiling + New functions __OPCOUNT() and __OPGETPRF() Syntax: __OpCount() --> <nOpcodes> __OpGetPrf( <nOpcode> ) --> { <nCalledTimes>, <nConsumedTime> } 2002-01-23 09:40 UTC-0500 Paul Tucker <ptucker@sympatico.ca> * source\common\hbffind.c * Since I had used an undocumented 0x04000 as an attribute check. * it was causing trouble. Fixed. 2002-01-23 09:10 UTC-0500 Paul Tucker <ptucker@sympatico.ca> * source\common\hbffind.c * removed extra comment marker. 2002-01-22 22:30 UTC-0500 Paul Tucker <ptucker@sympatico.ca> * source\common\hbffind.c * It seems that at some point prior to the release of Win2k, MS * changed the definition of FILE_ATTRIBUTE_ENCRYPTED from * 0x00004000 to 0x00000040 * If you installed the Release Win2k over a beta or RC version of * the O/S, then Harbour's directory() will show an attribute of * 'I' for Encrypted files. Otherwise, it will show 'E'. It seems * that the only way to corect this is to reinstall the OS fresh. * (This text is subject to correction if anyone has a better description) 2002-01-22 20:30 UTC-0300 Luiz Rafael Culik <culik@sl.conex.net> * source/common/hbffind.c * Fixes for linux + doc\es\idle.txt + doc\es\codebloc.txt + doc\es\dbstrux.txt + doc\es\hbpplib.txt + doc\es\clipper.txt + doc\es\pcode.txt + doc\es\pragma.txt + doc\es\statics.txt + doc\es\tracing.txt + doc\es\vm.txt + doc\es\howtobsd.txt + doc\es\harbext.txt + doc\es\cmdline.txt + doc\es\simplex.txt + doc\es\dirstruc.txt + doc\es\readme.txt + doc\es\strotype.txt + doc\es\dbdelim.txt + doc\es\dbsdf.txt * Doc translation to spanish provided by Alejandro de Garate 2002-01-22 10:37 UTC+0100 Antonio Linares <alinares@fivetech.com> * source/vm/hvm.c * Fixed a minor error on hb_vmPopDate() caused by yesterday changes 2002-01-22 10:20 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbfntx/dbfntx1.c * bug fixed, reported by Jorge A. Giraldo 2002-01-21 00:19 UTC+0100 Maurilio Longo <maurilio.longo@libero.it> * include/hbstack.h ! fixed a few errors inside macro definition of stack operations -DHB_STACK_MACROS defined 2002-01-21 17:25 UTC-0300 Horacio Roldan <harbour_ar@yahoo.com.ar> * source/common/hbfhnd.c ! was not working for bcc32 since last change. fixed Reported by Lorenzo Fiorini 2002-01-21 17:00 UTC-0500 David G. Holm <dholm@jsd-llc.com> * config/dos/bcc16.cf ! Force a minimum symbol length of 48 characters, due to the length of some the class member function names in source/rtl/profiler.prg. ! Added the library name conversion to remove the LIB prefix in one spot that I had missed the first time around. ! LINKLIB contents were being replaced instead of accumulating, with the result that no CONTRIBS libraries were included. * contrib/libgt/make_b32.bat * contrib/libgt/make_vc.bat ! Corrected batch files to move the library using the corrected name. 2002-01-21 23:24 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * include/hbextern.ch * minor fix, hbrun now works better ( thanks to Viktor Szakats ). 2002-01-21 17:51 UTC+0100 Antonio Linares <alinares@fivetech.com> * source/vm/hvm.c * hb_stackTopItem() use execution speed optimizations on: HB_P_TRUE HB_P_FALSE HB_P_ONE HB_P_ZERO HB_P_PUSHBYTE HB_P_PUSHINT hb_vmPushLogical() hb_vmPushInteger() hb_vmPushLong() hb_vmPushLongConst() hb_vmPushDouble() hb_vmPushDoubleConst() hb_vmPushDate() hb_vmPushPointer() hb_vmPushBlock() hb_vmPushBlockShort() hb_vmPushMacroBlock() hb_vmPushAlias() hb_vmPopDate() hb_vmPopLocal() 2002-01-21 15:34 UTC+0100 Antonio Linares <alinares@fivetech.com> * source/vm/hvm.c * Improved hb_vmPushString() for execution speed 2002-01-21 14:54 UTC+0100 Antonio Linares <alinares@fivetech.com> * source/vm/hvm.c * Improved hb_vmPushSymbol() for execution speed and some minor fixes 2002-01-21 14:36 UTC+0100 Antonio Linares <alinares@fivetech.com> * source/vm/hvm.c * Improved HB_P_SENDSHORT for execution speed. 2002-01-21 14:06 UTC+0100 Antonio Linares <alinares@fivetech.com> * source/vm/hvm.c * Improved HB_P_SEND for execution speed. 2002-01-21 13:52 UTC+0100 Antonio Linares <alinares@fivetech.com> * source/vm/hvm.c * if() used at HB_P_FUNCTIONSHORT to avoid an hb_itemClear() call when not needed to improve execution speed. 2002-01-21 13:42 UTC+0100 Antonio Linares <alinares@fivetech.com> * source/vm/hvm.c * if() used at HB_P_FUNCTION to avoid an hb_itemClear() call when not needed to improve execution speed. 2002-01-21 13:12 UTC+0100 Antonio Linares <alinares@fivetech.com> * source/vm/hvm.c * Improved hb_vmMessage() for execution speed. 2002-01-21 12:39 UTC+0100 Antonio Linares <alinares@fivetech.com> * source/vm/hvm.c + New hb_vmIncDouble() and hb_DecDouble() used from hb_vmInc() and hb_vmDec(), as proposed by Matteo Baccan, to improve execution speed. 2002-01-21 11:48 UTC+0100 Antonio Linares <alinares@fivetech.com> * source/vm/classes.c * hb_arraySet() used instead of hb_itemArrayPut() to improve execution speed. 2002-01-21 10:10 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/vm/hvm.c * source/vm/memvars.c * Added resetting of HB_IT_MEMOFLAG in functions: hb_vmArrayPop(), hb_vmPopLocal(), hb_vmPopStatic(), hb_memvarSetValue() * source/rdd/dbfntx/dbfntx1.c * Added support of DBOI_POSITION and DBOI_KEYCOUNT to ntxOrderInfo() and empty prototypes of hb_ntxTagKeyNo(), hb_ntxTagKeyCount() 2002-01-20 13:29 UTC+0100 Patrick Mast <email@patrickmast.com> + Added ChangeLog to the /contrib/apollo dir + contrib/apollo/test/apollo.ch + defines for function sx_SysProp * contrib/apollo/test/apollo.prg Added define "Apollo.ch" * contrib/apollo/apollo1.prg + Added function sx_GetVal() * contrib/apollo/apollo.c + Added function sx_SetOrder() + Added function sx_Select() + Added function sx_SysProp() 2002-01-20 08:50 UTC-0800 Ron Pinkas <ron@ronpinkas.com> * contrib/dot/pp.prg * contrib/dot/pp.txt * contrib/dot/pp_harb.ch * Synched with source of RC-2 of xBaseScript ( https://sourceforge.net/Projects/xBase-Script/ ) 2002-01-19 06:11 UTC-0800 Ron Pinkas <ron@ronpinkas.com> * source/compiler/harbour.slx ! Minor bug correction. 2002-01-20 13:00 UTC+0100 Martin Vogel <vogel@inttec.de> + contrib/libct/bit1.c + number and bit manipulation functions NUMAND(), NUMOR(), NUMXOR() NUMNOT(), NUMROL(), NUMMIRR() equivalents to original CT3 + contrib/libct/bit3.c + number and bit manipulation functions NUMANDX(), NUMORX(), NUMXORX() NUMNOTX(), NUMROLX(), NUMMIRRX() enhanced functions, working on any bit range from 1 to 32 all provided by Walter Negro - FOEESITRA <waltern@foeesitra.org.ar> * contrib/libct/Makefile * contrib/libct/makefile.bc * contrib/libct/makefile.vc * contrib/libct/ctflist.txt * changes according to the above 2002-01-19 17:55 UTC-0300 Horacio Roldan <harbour_ar@yahoo.com.ar> * source/rdd/dbfcdx1.c ! speed boost for ordKeyNo() and ordKeyCount() 2002-01-19 13:39 UTC-0300 Horacio Roldan <harbour_ar@yahoo.com.ar> * source/rdd/dbfcdx1.c ! fixed a bug in descending skipping + added support for ordKeyNo() and ordKeyCount() 2002-01-19 08:00 UTC+0700 Andi Jahja <harbour@cbn.net.id> * source/rtl/typefile.prg * modification to be more Clip*r compliant and behaviour. 2002-01-19 05:00 UTC+0700 Andi Jahja <harbour@cbn.net.id> * include/hbexpra.c * source/vm/hvm.c * Optimized Eval() processing, and added support for bBlock:Eval(). * tests/speed.prg * Test program for bBlock:Eval(). Time consumed, previously: 11.59 secs now : 5.06 secs Environment: 1 GHz, 128 MiB, BCC 5.5.1, SimpLex and -DHB_FM_STATISTICS_OFF <with thanks to Ron Pinkas> 2002-01-18 17:45 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbfntx/dbfntx1.c * support of EVAL and EVERY clauses of INDEX ON command implemented 2002-01-18 13:42 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbfntx/dbfntx1.c * WHILE, etc, conditions support implemented (DBFNTX ) 2002-01-17 14:15 UTC-0500 David G. Holm <dholm@jsd-llc.com> * contrib/Makefile + Added platform checks to determine which libraries to build. * include/hbver.h * Identify what my OS/2 38.1 builds are based on. 2002-01-17 21:50 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbfntx/dbfntx1.c * source/rdd/dbcmd.c ! a bug fixed, related to conditional indexing 2002-01-17 15:32 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbfntx/dbfntx1.c * include/hbrddntx.h * FOR condition support implemented ( DBFNTX ) 2002-01-16 00:14 UTC+0100 Maurilio Longo <maurilio.longo@libero.it> * common/hbgete.c ! fixed warning on DosScanEnv() call 2002-01-16 17:21 UTC-0300 Horacio Roldan <harbour_ar@yahoo.com.ar> * source/rdd/dbfcdx1.c * fixed some simple warnings by bcc32 (with -w) * fixed 3 bugs with index not updating the tree 2002-01-16 11:10 UTC-0500 David G. Holm <dholm@jsd-llc.com> * contrib/libct/charsort.c ! OS/2 IBM C++ fix. 2002-01-16 05:00 UTC+0700 Andi Jahja <harbour@cbn.net.id> * source/rtl/typefile.prg * cBuffer not initialized, fixed. 2002-01-16 00:44 UTC+0100 Maurilio Longo <maurilio.longo@libero.it> * common/hbffind.c ! DosFindFirst() call on OS/2 section of file was wrong (parameter findcount was not set to any correct value) NOTE: OS/2 builds of Alpha 38 _are broken_ because of this bug 2002-01-15 22:30 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * contrib/rdd_ads/ads1.c * Added virtual method adsExit() with a call of AdsApplicationExit() 2002-01-15 20:40 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/pp/ppcore.c ! bug fixed, reported by Juan Agustin Barriga 2002-01-15 11:25 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbfntx/dbfntx1.c ! bug fixed, reported by Wilson 'W' Gamboa A ( indexing of an empty dbf ) 2002-01-14 21:53 UTC-0500 Paul Tucker <ptucker@sympatico.ca> * source\common\hbffind.c * replaced 3 literals with proper defines * minor formatting. 2002-01-14 21:32 UTC-0500 Paul Tucker <ptucker@sympatico.ca> * source\rtl\direct.c * updated default flags to include ReadOnly 2002-01-14 19:15 UTC-0500 David G. Holm <dholm@jsd-llc.com> * contrib/libct/files.c ! RSXNT fixes. * contrib/libct/keyset.c ! DOS BCC fixes. * contrib/libgt/Makefile * contrib/libgt/makefile.bc * contrib/libgt/makefile.vc ! Renamed the GT library file from libgt to gt in order to match the library file renaming for the libct and libmisc libraries. * source/common/hbffind.c ! DOS BCC fixes. * source/common/hbfhnd.c ! DOS BCC fixes. * source/common/hbgete.c ! OS/2 IBM C++ fix. * source/rtl/filehb.c ! OS/2 IBM C++ fix. 2002-01-14 15:05 UTC-0500 Paul Tucker <ptucker@sympatico.ca> * source\common\hbffind.c * Added missed Attribute check (thanks Victor) 2002-01-14 14:30 UTC-0500 Paul Tucker <ptucker@sympatico.ca> * source\rtl\direct.c * updated notes and TODO's 2002-01-14 10:40 UTC-0500 Paul Tucker <ptucker@sympatico.ca> * source\common\hbffind.c * source\rtl\direct.c * modified for correct operation under NT * including addition of extended file attributes 2002-01-12 19:00 UTC+0500 Phil Barnett <philb@the-oasis.net> * tagged cvs with build38 and lifted cvs freeze 2002-01-12 14:20 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbfntx/dbfntx1.c ! bug fixed, reported by Ramon F. Jaquez 2002-01-11 08:10 GMT-3 Luiz Rafael Culik <culik@sl.conex.net> * source/rdd/dbf1.c ! Fixed problem with numeric field. From Horacio Roldan <harbour_ar@yahoo.com.ar> 2002-01-10 22:10 GMT-3 Luiz Rafael Culik <culik@sl.conex.net> * source/common/hbffind.c * Now works properly on linux * utils/hbmake/hbmake.prg utils/hbmake/hbmutils.prg * Some fixes for linux * source/rtl/listbox.prg * Some formatting 2002-01-10 14:30 UTC-0500 David G. Holm <dholm@jsd-llc.com> * source/rtl/spfiles.c ! Fix to remove spurious ISCHAR(1) tests from C routines. From Horacio Roldan <harbour_ar@yahoo.com.ar> 2002-01-10 17:20 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/pp/pptable.c + SET OPTIMIZE ON/OFF/expression command added 2002-01-09 11:00 UTC+0100 Ignacio Ortiz <ignacio@ozs.com> * source/rtl/tget.prg * Picture "@Z" fixed 2002-01-09 17:30 UTC-0500 David G. Holm <dholm@jsd-llc.com> * include/hbsetup.h * source/rtl/console.c + Added HB_EOL_CRLF to allow the EOL string to be forced to CRLF. Defaults to commented out, so that the EOL string that is used will be detected based on platform considerations. To force CRLF, just include -DHB_EOL_CRLF in the C_USR environment variable and rebuild Harbour. 2002-01-08 17:10 UTC-0500 David G. Holm <dholm@jsd-llc.com> * source/rtl/isprint.c ! Added a missing __RSXNT__ guard on an HB_OS_WIN_32 check. 2002-01-08 09:52 UTC+0100 Patrick Mast <email@patrickmast.com> * source/compiler/genc.c * source/compiler/genjava.c * source/compiler/genobj32.c * source/compiler/hbusage.c * source/common/hbver.c * changed decimal build nr in "Alpha build .." 2002-01-08 12:31 UTC+0700 Andi Jahja <harbour@cbn.net.id> * source/rdd/dbfcdx/dbfcdx1.c ! remove spurious type casts 2002-01-07 19:40 UTC-0300 Luiz Rafael Culik <culik@sl.conex.net> * source/common/hbffind.c * Minor fix to Win32 branch * include/hbapifs.h * Added HB_FA_NORMAL 2002-01-07 17:30 UTC-0300 Luiz Rafael Culik <culik@sl.conex.net> * source/rtl/direct.c * Now Directory finds files with out attribute set. This fix the problem reported by Jorge Manson With the Adir function 2002-01-07 09:20 UTC-0300 Luiz Rafael Culik <culik@sl.conex.net> * source/rtl/isprint.c * Fixed an small typo 2002-01-07 00:45 UTC-0300 Luiz Rafael Culik <culik@sl.conex.net> * source/lang/msgpt.c * Translated the new error message to Portuguese * include/hbapifs.h source/common/hbffind.c * Now it find files with out attributes set 2002-01-06 14:30 UTC+0100 Antonio Linares <alinares@fivetech.com> * source/vm/fm.c * Checking of allocating zero bytes for hb_xalloc(), hb_xgrab() and hb_xrealloc(), no matter how HB_FM_STATISTICS state may be * include/error.ch * source/lang/*.c + Added one new internal error: HB_EI_XALLOCNULLSIZE NOTE to translators or language file maintainers: The new string should be translated to the proper languages from English. 2002-01-06 19:40 UTC+0700 Andi Jahja <harbour@cbn.net.id> * source/compiler/genc.c * change definition of INIT/EXIT PROCEDURE from HB_FUNC_STATIC() to HB_FUNC_INIT()/HB_FUNC_EXIT() to avoid ambiguity * include/hbdefs.h * added back definitions of HB_FUNC_INIT() and HB_FUNC_EXIT() 2002-01-06 09:55 UTC-0300 Luiz Rafael Culik <culik@sl.conex.net> * source/rtl/isprint.c * Fixed an small typo * utils/hbmake/hbmake.prg * Updated the date 2002-01-06 09:05 UTC-0300 Luiz Rafael Culik <culik@sl.conex.net> * source/lang/msgpt.c * translated the two new error to Portuguese * source/rtl/isprint.c * Change IsPrinter() logic for Win32;If no Printer is passed, it check the default instaled printer.If an Printer name is passed, the name should match the one listed on the Printer folders 2002-01-06 10:00 UTC+0100 Viktor Szakats * source/vm/fm.c + Added checking of ulSize == 0, only when HB_FM_STATISTICS is _ON_ * include/error.ch * include/hbapilng.h * source/lang/*.c + Added two new internal errors. NOTE to translators or language file maintainers: The two new strings should be translated to the proper languages from English. * Updated copyright headers to the new one in some language files, where I either hold copyright, or the holder is unknown. * source/rtl/isprint.c ! Made more multiplatform by passing the complete printer name to the fsOpen() function. * Platform specific uiPort moved to DOS branch. + Added support for PRN under DOS. + Added a C callable interface hb_printerIsReady() (not yet prototyped in the central headers). + Win32 version reworked so that it checks for the printer name passed to the function. This also made the program simpler. * source/rtl/descend.c * source/rtl/transfrm.c * Small changes in last fix. - source/lang/msgnl.c - Old style language removed. 2002-01-05 16:20 UTC+0700 Andi Jahja <harbour@cbn.net.id> * source/rtl/transform.c ! Transform("","@" ) -> memory allocation error, fixed by adding 1 byte to hb_xgrab() * source/rtl/descend.c ! Descend("" ) -> memory allocation error, fixed by adding 1 byte to hb_xgrab() 2002-01-03 23:26 UTC+0100 Viktor Szakats * source/rtl/filesys.c ! Fix to previous change. * source/compiler/harbour.y * source/macro/macro.y ! Removed the explicit declaration of __yy_memcpy(), since it made BCC551 fail with Bison 1.30, even even with the supplied harbour.simple file, which makes Bison 1.30 blow. Now we again have the usual warning, but at least it compiles under every Bison/.simple combinations again. 2002-01-03 23:11 UTC+0100 Viktor Szakats * include/hbapifs.h * source/rtl/filesys.c - Removed two wrapper functions to hb_fsSetDevMode which were there to maintain supposed compatibility with _tdevraw, but that turned to be unneeded. * include/hbundoc.api ! Fixed _tdevraw * source/rtl/filesys.c ! Re-disabled native Win32 file handling system. ! hb_fsCommit() fixed Win32 branch, and put it in the right place multiplatform #define-wise. * source/rtl/profiler.prg * Formatting change. * source/vm/memvars.c ! Fixed warnings in __MVEXIST() 2002-01-03 17:00 UTC+0700 Andi Jahja <harbour@cbn.net.id> * source/vm/fm.c ! restore original copy as it caused memory leak in Windows OS as reported by Sid 'Saylor'. Now hb_xgrab() problem when running hbtest.exe which compiled with -DHB_FMSTATISTICS_OFF ( harbour.exe and libraries were also compiled with the same switch ) remains open :( 2002-01-03 00:40 UTC-0300 Luiz Rafael Culik <culik@sl.conex.net> * include/hbfsapi.h * under Win32 FHANDLE is typedef to long * source/rtl/filesys.c * Replaced all X__WIN32__ with __WIN32__ * hb_fscommit() now used true Win32 Api calls * No more file limit on Win32 2002-01-02 09:40 UTC+0200 Chen Kedem <niki@synel.co.il> * doc/dirstruc.txt + Add description for newly added directories 2002-01-02 10:03 UTC+0700 Andi Jahja <harbour@cbn.net.id> * source/compiler/cmdcheck.c ! harbour did not obey "set clippercmd=/n" -> fixed ( my fault, sorry ) 2002-01-02 09:06 UTC+0700 Andi Jahja <harbour@cbn.net.id> * source\vm\fm.c * function hb_xalloc() - Prevention for same symptom as noted on hb_xgrab(): (see ChangeLog : 2002-01-01 11:15 UTC+0700 Andi Jahja <harbour@cbn.net.id> ) modify memory allocation by adding extra bytes to be allocated in line with byte alignment. * include/hbcomp.h + BOOL hb_comp_bNoStartUp, public variable for generating C-source with for no_startup option. TRUE = no_startup. FALSE = with_startup - remove definition of HB_COMPGENC_NO_STARTUP * source/compiler/cmdcheck.c - remove /gc3 switch ! add additional arguments to switch /n : /n or /n0 = no implicit proc but with startup proc /n1 = no implicit proc and no startup proc /n- = generates implicit procedure Note: Previously, Harbour did not create (implicit )starting procedure when we did not supply /n, fixed. Now compiling prg without /n creates (implicit) starting procedure. * source/compiler/genc.c ! Change routine for embedding HB_FS_FIRST to generated C-codes to conform with the new startup generation routines * source/compiler/harbour.c + BOOL hb_comp_bNoStartUp = FALSE, initialization for option to create C-source with startup. * source/compiler/hbusage.c + description of /n switch - remove description of /gc3 2002-01-01 12:30 UTC+0700 Andi Jahja <harbour@cbn.net.id> * source/compiler/hbusage.c * bump Copyright year to 2002 2002-01-01 11:15 UTC+0700 Andi Jahja <harbour@cbn.net.id> * source/vm/fm.c Memory allocation error was transparently noticed when running hbtest.exe with -DHB_FM_STATISTICS_OFF, fixed. * function hb_xgrab() fix memory allocation on function hb_xgrab() by adding extra bytes to be allocated in line with byte alignment. 2001-12-31 13:22 UTC+0100 Viktor Szakats * source/compiler/genc.c * include/hbdefs.h * Cleaned up the INIT/EXIT code generation ! Fixed function header generation for INLINE C. % Optimized a bit of code related to the generation of INLINE C declarations. * include/hbtypes.h ! Fixed CVS header and self guard. 2001-12-31 18:00 UTC+0700 Andi Jahja <harbour@cbn.net.id> * source/vm/maindllp.c ! commented unused iReturn variables ! BOOL WINAPI HB_EXPORT => BOOL HB_EXPORT WINAPI * include/hbapi.h ! extern * HB_EXPORT => extern HB_EXPORT * 2001-12-30 14:35 UTC-0300 Luiz Rafael Culik <culik@sl.conex.net> * source/vm/maindllp.c * Added FM api functions hb_xyy() % added somes cast to quite Borland * include/hbtypes.h * Added declaration for FM api functons * source/vm/fm.c include/hbapi.h * FM api functions marked as exported 2001-12-30 13:47 UTC+0100 Patrick Mast <email@patrickmast.com> * contrib/apollo/apollo.c + Added function sx_GetDateJulian() + Added function sx_GetVariant() + Added function sx_SetCentury() + Added function sx_SetDateFormat() + Added function sx_GetLogical() * modified function sx_Replace() Note: Replace a logical value with sx_Replace() does not work yet. * contrib/apollo/test/apollo.prg * Added added functions in the test application. * enhanced code * Added and changed defines 2001-12-30 18:00 UTC+0700 Andi Jahja <harbour@cbn.net.id> * utils/hbmake/hbmake.prg * replace filedate() => hbmake_filedate() * replace filetime() => hbmake_filetime() 2001-12-30 16:45 UTC+0700 Andi Jahja <harbour@cbn.net.id> * source/vm/dynlibhb.c - remove function hb_StartApp() and related _hInstance * source/vm/hvm.c - remove reference to hb_StartApp() * source/compiler/hbusage.c + add documentation of -gc3 switch 2001-12-30 08:00 UTC+0700 Andi Jahja <harbour@cbn.net.id> * source/compiler/cmdcheck.c + switch -gc3 => produce modiule with NO_START_UP * source/vm/genc.c + switch -gc3 now produce NO_START_UP codes. * source/vm/hvm.c - commented the use of hb_StartApp() * include/hbcomp.h + definition of HB_COMPGENC_NO_STARTUP 2001-12-28 22:53 UTC+0100 Patrick Mast <email@patrickmast.com> * contrib/apollo + Added function sx_GoBottom() + Added function sx_Go() + Added function sx_Seek() + Added function sx_SetSoftSeek() + Added function sx_RLock() + Added function sx_Reindex() + Added function sx_RecCount() + Added function sx_SetMemoBlockSize() + Added function sx_CreateNew() + Added function sx_CreateField() + Added function sx_CreateExec() * contrib/apollo/test * Added added functions in the test application. 2001-12-30 04:40 UTC+0700 Andi Jahja <harbour@cbn.net.id> * include/hbapi.h * declaration of exported functions in source/vm/extend.c and source/vm/arrays.c synchronized ( MSVC requirement ) 2001-12-29 19:00 UTC-0300 Luiz Rafael Culik <culik@sl.conex.net> * source/vm/maindllp.c * All extended function api implemented and started the array api + include/hbtypes.h * Header file for maindllp.c. Contain the typedef needed by maindllp.c * contrib/hbzlib/zipcomp.cpp * fixed an small error * utils/hbmake/hbmake.prg * some enhecements to select library code * source/vm/extend.c source/vm/arrays.c * All functions marked as exported 2001-12-28 20:39 UTC+0100 Patrick Mast <email@patrickmast.com> * contrib/apollo + Added function sx_AppendBlank() + Added function sx_Close() + Added function sx_Commit() + Added function sx_CreateField() + Added function sx_Eof() + Added function sx_GetString() + Added function sx_GoTop() + Added function sx_IndexTag() + Added function sx_RecNo() + Added function sx_Replace() + Added function sx_Skip() + Added function sx_Use() + Added function sx_Zap() * contrib/apollo/test * Added functions in a test application. 2001-12-29 20:35 UTC+0100 Viktor Szakats * include/extend.api ! Same fix applied to extend.api. 2001-12-29 19:44 UTC+0100 Viktor Szakats * include/clipdefs.h ! Changed #ifndef HB_OS_WIN_32 to #ifdef !(defined(HB_OS_WIN_32) && defined(HB_OS_WIN_32_USED)) Because the previous method was breaking legacy code. IMPORTANT: For those who get duplicate defines when compiling Win32 code, the #define HB_OS_WIN_32_USED should be defined somewhere before including clipdefs.h. 2001-12-28 18:54 UTC+0100 Patrick Mast <email@patrickmast.com> * contrib/apollo + added readme.txt * contrib/apollo/test + bld.bat + bld_b32.bat * updated apollo.prg 2001-12-28 13:28 UTC+0100 Patrick Mast <email@patrickmast.com> + contrib/apollo * Started Apollo SDE60.DLL connection for accessing SIXNSX database files Note: This is only the start. 2001-12-29 05:10 UTC+0700 Andi Jahja <harbour@cbn.net.id> Export declaration to meet MSVC syntax ( also work with BCC ) * include/hbapi.h * declaration of hb_parc() synchronized with that in extend.c * source/vm/extend.c * char * HB_EXPORT => char HB_EXPORT * * source/vm/maindll.c * BOOL WINAPI HB_EXPORT => BOOL HB_EXPORT WINAPI * LONG PASCAL HB_EXPORT => LONG HB_EXPORT PASCAL * source/vm/maindllh.c * BOOL WINAPI HB_EXPORT => BOOL HB_EXPORT WINAPI * source/vm/maindllp.c * BOOL WINAPI HB_EXPORT => BOOL HB_EXPORT WINAPI 2001-12-28 18:36 UTC+0100 Antonio Linares <alinares@fivetech.com> * source/vm/extend.c + New function hb_extIsArray() added function to be called from pcode DLLs to detect if the extend system is going to use an array item * source/vm/maindllp.c + extend system for pcode DLLs implementation started 2001-12-28 23:30 UTC+0700 Andi Jahja <harbour@cbn.net.id> * hrbdll.bc * hrbdll.vc * Change maindll.* to maindllh.* 2001-12-28 12:30 UTC+0700 Andi Jahja <harbour@cbn.net.id> * source/vm/hvm.c ! MSVC cannot find start procedure => hb_StartApp() now only applied to Borland C++ 2001-12-28 05:15 UTC+0700 Andi Jahja <harbour@cbn.net.id> * utils/hbmake/hbmutils.prg ! function renaming: filedate() => hbmake_filedate() ! function renaming: filetime() => hbmake_filetime() * utils/hbmake/ft_funcs.prg ! function renaming: filebase() => hbmake_filebase() * utils/hbmake/ffile1.prg ! function renaming: filebase() => hbmake_filebase() 2001-12-28 05:15 UTC+0700 Andi Jahja <harbour@cbn.net.id> * utils/hbmake/hbmake.prg ! enhancement in parameter passing 2001-12-27 13:25 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbf1.c * source/rdd/dbfntx/dbfntx1.c * source/rdd/dbfcdx/dbfcdx1.c * Calls of hb_fsOpen() and hb_fsCreate() replaced by hb_spOpen() and hb_spCreate() to allow SET PATH and SET DEFAULT settings 2001-12-26 22:20 GMT-3 Luiz Rafael Culik <culik@sl.conex.net> * utils/hbmake/hbmake.prg utils/hbmake/hbmutils.prg * Added code that allows the user select the 3rd party libraries they want * source/compiler/gencobj.c * Fixed an problem on the extension of object file(Borland and MSVC user .obj/Gcc uses .o) 2001-12-26 16:20 UTC-0500 David G. Holm <dholm@jsd-llc.com> * config/bsd/gcc.cf * config/dos/bcc16.cf * config/dos/djgpp.cf * config/dos/rsx32.cf * config/dos/watcom.cf * config/linux/gcc.cf * config/os2/gcc.cf * config/os2/icc.cf * config/w32/bcc32.cf * config/w32/gcc.cf * config/w32/mingw32.cf * config/w32/msvc.cf * config/w32/rsxnt.cf * Fix for the contrib library renames that broke the GNU Make System's usage of CONTRIBS= for some contrib libraries. Note: If a contrib lib directory name includes the lib prefix, then you have to include it (e.g. CONTRIBS=libmisc), but the actual library name listed in the library's Makefile must not (e.g., LIBNAME=misc). * contrib/libmisc/Makefile + contrib/libmisc/tests/Makefile + contrib/libmisc/tests/readfile.prg * tests/Makefile - tests/readfile.prg * Moved tests/readfile.prg to contrib/libmisc/tests/readfile.prg (hence the need to fix the GNU Make System). * source/vm/dynlibhb.c ! Only include extern declaration from _hInstance if using Borland. 2001-12-26 09:08 UTC+0000 Dave Pearson <davep@davep.org> * source/vm/Makefile * Added dynlibhb.c. * include/hbvmpub.h * Added final EOL. 2001-12-26 04:30 UTC+0700 Andi Jahja <harbour@cbn.net.id> makefile for creating harbour.dll with BCC & MsVC This is an initial template subject to further modification to make it more flexible for any environment. Tweak might have to be done on some files for: . function rename-ing since some files bear public functions with the same name. Example : filebase() in samples/environ.c, utils/hbdoc/ffile1.prg and contrib/htmllib/ofile.prg . phisically extract public functions to a separate file since they are written in the body of the main function but required by other functions. Example: WRITE_ERROR in utils/hbdoc/hbdoc.prg which is required by utils/hbdoc/genasc.prg. Consequently, I have locally created docfunc.prg which contains WRITE_ERROR(), StripFiles() and StripNgControls() extracted from utils/hbdoc/hbdoc.prg. + hrbdll.bc + hrbdll.vc * include/hbdefs.h ! Add argument to HB_EXPORT definition so that public functions will be exported upon explicit request only. Examples: BCC : makefile.bc => C_USR = __EXPORT__ MsVC : makefile.vc => --ditto-- 2001-12-25 14:40 UTC-0300 Luiz Rafael Culik <culik@sl.conex.net> * contrib/libct/Makefile * Removed the Lib prefix from library name * contrib/libmisc/Makefile * Removed the Lib prefix from library name * contrib/libgt/Makefile.bc contrib/libgt/Makefile.vc contrib/libgt/Make_vc.bat contrib/libgt/Make_b32.bat * Added the Lib prefix from library name + contrib/htmllib/*.prg contrib/htmllib/*.ch contrib/htmllib/Makefile.bc contrib/htmllib/Makefile * Sources and necessary files to build htmllib-harbour cgi library 2001-12-25 11:45 UTC+0700 Andi Jahja <harbour@cbn.net.id> + source/compiler/harbour.simple add a derivative copy of bison.simple v 1.28 which will be used as the standard bison skeleton output parser for the purpose of Harbour project in order to have a uniform parser code. Developers are expected to use this code and make revision to harbour.y if so required. 2001-12-24 21:35 UTC-0300 Luiz Rafael Culik <culik@sl.conex.net> * utils/hbmake/hbmake.prg * Some minor fixes to both edit mode 2001-12-23 10:18 UTC+0100 Viktor Szakats * source/rtl/filesys.c ! Fixed all return value checking for the Win32 API calls. * include/hbapi.h * include/hbundoc.api * Some compatibility #defines moved to its place. 2001-12-22 11:30 UTC+0100 Antonio Linares <alinares@fivetech.com> * source/vm/dynlibhb.c + New function hb_StartApp() added * source/vm/hvm.c * Function hb_StartApp() used from hb_vmProcessSymbols() 2001-12-22 07:50 UTC-0300 Luiz Rafael Culik <culik@sl.conex.net> * utils/hbmake/hbmake.prg * Some alingment of the text on edit mode. * utils/hbmake/hbmutils.prg * Getsourcefiles() function speed optimized(thanks Victor) 2001-12-22 03:30 UTC+0700 Andi Jahja <harbour@cbn.net.id> * source/rtl/filesys.c * add required C casts * include/hbinit.h * inconsistent hb_vmProcessSymbols() declaration corrected 2001-12-21 17:58 UTC+0100 Viktor Szakats * source/rtl/filesys.c * source/rtl/philes.c * include/hbapifs.h ! Fixed hb_fsRename() and hb_fsDelete() to return BOOL instead of platform specific error codes. ! All low-level functions returning BOOL now check for valid API call return value inside the platform spcific branches. ! hb_fsLock() fixed to not return TRUE when the mode parameter was invalid. 2001-12-21 16:31 UTC+0100 Viktor Szakats + source/rtl/filehb.c * source/rtl/direct.c * source/rtl/Makefile * makefile.bc * makefile.vc * Some fixes for FILE(). 2001-12-21 16:08 UTC+0100 Viktor Szakats + source/rtl/file.c + source/rtl/direct.c * source/rtl/Makefile * makefile.bc * makefile.vc + New implementation of the DIRECTORY() function, faster smaller, much more clean version. Please test this as extensively as possible, with special regards to attribute filtering. + New implementation of FILE() function, now it supports wildcards just like CA-Cl*pper. ; They are noth using the new multiplatform File Find API. Note that it may require some work/testing on some platforms. * source/rtl/filesys.c * source/rtl/philes.c - Removed old FILE() and hb_fsFile(). * source/common/hbffind.c ! Fixed date handling. The null terminating char was missing. 2001-12-21 14:37 UTC+0100 Viktor Szakats * source/common/hbffind.c ! Some fixes. * source/rtl/filesys.c ! Fixed write and read operations returning -1 on bad file handle and access erros from either low and Harbour level functions. * Cleaned up the new Win32 API branches. 2001-12-21 12:54 UTC+0100 Antonio Linares <alinares@fivetech.com> * source/pp/pragma.c * contrib/dot/pp_harb.ch * tests/inline_c.prg * STOPDUMP renamed as ENDDUMP (with Ron permission) 2001-12-21 08:40 UTC-0300 Luiz Rafael Culik <culik@sl.conex.net> * utils/hbmake/hbmake.prg * small fix 2001-12-21 07:50 UTC-0300 Luiz Rafael Culik <culik@sl.conex.net> * source/rtl/filesys.c * hb_fsmkdir,hb_fsChdir,hb_fsRmdir,hb_fsDelete,hb_fsRename,hb_fsCurdirBuff() now use Win32 API calls * utils/hbmake/hbmake.prg ! Disabled profile * utils/hbmake/hbmutils.prg * An small clean up * ChangeLog * Renamed to ChangeLog.012 and started an new one 2001-12-21 08:46 UTC+0000 Dave Pearson <davep@davep.org> * ERRATA * Added a note about and a pointer to harbour's bug reporting page. 2001-12-21 00:48 UTC-0800 Brian Hays <bhays@abacuslaw.com> * source/rtl/persist.prg * added type test to SaveToText() to avoid errors on non-initialized Properties 2001-12-20 15:40 UTC-0500 David G. Holm <dholm@jsd-llc.com> * include/hbdefs.h ! RSXNT doesn't support any type of inline export declaration. 2001-12-20 13:14 UTC+0000 Dave Pearson <davep@davep.org> * include/hbdefs.h * Added "&& defined( HB_OS_WIN_32 )" to the #elif that tests for __GNUC__ when deciding how to #define HB_EXPORT. 2001-12-20 13:53 UTC+0100 Antonio Linares <alinares@fivetech.com> * include/hbdefs.h * HB_EXPORT definition for Borland C 2001-12-20 20:00 UTC+0700 Andi Jahja <harbour@cbn.net.id> * source/compiler/genc.c ! add comments for easy reference in case this function needs to be revised. 2001-12-20 12:00 UTC+0100 Antonio Linares <alinares@fivetech.com> * include/hbvm.h * hb_vmInit(), hb_vmQuit(), hb_vmProcessSymbols(), hb_vmExecute() declared as HB_EXPORT * include/hbvmpub.h * hb_vmProcessSymbols(), hb_vmExecute() declared as HB_EXPORT * source/vm/hvm.c * hb_vmInit(), hb_vmQuit(), hb_vmProcessSymbols(), hb_vmExecute() declared as HB_EXPORT - hb_vmDllExecute() removed as hb_vmExecute() is HB_EXPORT * source/vm/maindllp.c * hb_vmExecute() used instead hb_vmDllExecute() 2001-12-20 11:35 UTC+0100 Antonio Linares <alinares@fivetech.com> * source/vm/maindll.c * source/vm/maindllh.c * source/vm/maindllp.c * HB_EXPORT used * include/hbapi.h * source/vm/cmdarg.c * hb_cmdargInit() declared as HB_EXPORT 2001-12-20 11:20 UTC+0100 Antonio Linares <alinares@fivetech.com> * include/hbdefs.h + HB_EXPORT definition added. All public functions are HB_EXPORT now 2001-12-20 09:43 UTC+0000 Dave Pearson <davep@davep.org> * doc/howtocvs.txt + Updated the footnote about the files which are an exception to the "everything lowercase please" rule. Added COPYING, ERRATA and TODO. 2001-12-20 09:36 UTC+0000 Dave Pearson <davep@davep.org> + ERRATA + Added the ERRATA list. 2001-12-19 20:00 UTC+0700 Andi Jahja <harbour@cbn.net.id> * source/compiler/genc.c ! Change C Outputs so one can freely export the public function without interferring the above three kind of functions. static function ( funcname ) => HB_FUNC_STATIC( funcname ) init procedure funcname => HB_FUNC_INIT( funcname ) exit procedure funcname => HB_FUNC_EXIT( funcname ) * include/hbdefs.h + definition of HB_FUNC_STATIC() + definition of HB_FUNC_INIT() + definition of HB_FUNC_EXIT() 2001-12-19 15:18 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * tests/db_brows.prg Few warnings fixed 2001-12-18 21:47 UTC+0100 Viktor Szakats * include/hbapi.h * include/hbsetup.ch + include/hbcommon.ch * include/Makefile + Added HB_FILE_VER( id ) for Harbour and C sources. Note that in order to work in .prg files, HB_FILE_VER() should come after the #includes and the file should #include "hbcommon.ch" which will automatically include "hbsetup.ch" too. + Added HB_FILE_VER_STATIC define which will enable the inclusion of HB_FILE_VER info. * source/common/hbffind.c * source/rtl/dbdelim.prg * source/rtl/dbsdf.prg + Added experimental HB_FILE_VER() lines. * doc/genhtm.rsp + doc/en/dbdelim.txt + doc/en/dbsdf.txt % Some small optimization for speed. * Separated documentation from the source. 2001-12-18 20:15 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> * tests/db_brows.prg Some changes to eliminate using of functions from libmisc. 2001-12-18 19:00 UTC+0700 Andi Jahja <harbour@cbn.net.id> Revision by Ron Pinkas <Ron@Profit-Master.com> * source/vm/hvm.c Replaced the call to hb_gcCollectAll() in hvm.c line 389 with new hb_gcReleaseAll() will increase cleanup speed (on app termination), and will result in a more complete cleanup in certain situations. 2001-12-18 10:03 UTC+0100 Viktor Szakats * source/common/hbffind.c ! Some fix (MSVC). 2001-12-18 07:44 UTC+0000 Dave Pearson <davep@davep.org> * doc/howtocvs.txt * Updated the pointer to details about harbour's mailing lists. 2001-12-18 07:21 UTC+0100 JFL (Mafact) <jfl@mafact.com> * source/vm/garbage.c ! RON Further Fix for forever loop when GC try to free first item in the arrayclone cloned list. + RON Added hb_gcReleaseAll() it will increase cleanup speed (on app termination), and will result in a more complete cleanup in certain situations * include/hbapi.h + RON Added hb_gcReleaseAll() 2001-12-18 06:44 UTC+0100 Antonio Linares <alinares@fivetech.com> * source/vm/maindll.c * source/vm/maindllh.c changed the definition of those files 2001-12-18 06:36 UTC+0100 Antonio Linares <alinares@fivetech.com> + source/vm/maindllh.c Windows Harbour DLL entry point 2001-12-18 01:03 UTC+0100 Viktor Szakats * source/common/hbffind.c * include/hbapifs.h ! Some fixes (MSVC, Win32, misc). * source/rtl/Makefile ! Fixed indentation in Makefile. * source/compiler/gencobj.c ! Fix provided by Jose Lalin bDelTemp was initialized to TRUE by default and this was causing that MAKE utilities rebuilds all the files in a project since the intermediate C file was deleted. * source/rtl/gt_tpl/gt_tpl.c ! Minor change. 2001-12-17 17:02 UTC+0100 Viktor Szakats * source/rtl/tbrowse.prg ! Fix added again for displaying logical field in a 100% CA-Cl*pper compatible way. * source/rtl/tget.prg ! Fixes by Walter Negro (GET single color colorspec and picture modifying on-the-fly) * source/common/hbffind.c * include/hbapifs.h ! DJGPP warning fixed. ! Fixed for Linux by Luiz ! AttrFromHarbour() fix for Unix + Added some new helper funcions. hb_fsAttrDecode( USHORT uiAttr, char * szAttr ) hb_fsAttrEncode( char * szAttr ) * Some type cleanups around the attribs. * source/vm/estack.c ! Small corrections to the #ifdefs. 2001-12-17 14:57 UTC+0100 Viktor Szakats * include/hbver.h * source/common/hbver.c * source/compiler/genc.c * source/compiler/genjava.c * source/compiler/genobj32.c * source/compiler/hbusage.c * utils/hbpp/hbpp.c - Build number removed, since it was the same as the version number, and it doesn stands for something which doesn't have too much meaning in an open-source project anyway. - Removed the date/month/day of the version number, since it was only yet another version-number duplicate. + Added #defines for last ChangeLog entry, ChangeLog CVS version string, optional C, PRG and linker option. As of now these should be manually edited whenever doing a build, but the goal is make this step completely automated. One can retrieve these new version details by running Harbour compiler with the -build switch, or any Harbour applications by running it with //BUILD switch. Optional switches are only displayed when not empty. + -build and -credits undocumented options now put into the command-line help screen. 2001-12-17 14:13 UTC+0100 Maurilio Longo <maurilio.longo@libero.it> * source/rtl/tbrowse.prg * ::DispCell() a little change on Logical values display 2001-12-17 13:02 UTC+0100 Viktor Szakats * makefile.vc * makefile.bc * source/common/Makefile * include/hbapifs.h + source/common/hbffind.c + Harbour File Find API added. hb_fsFindFirst() hb_fsFindNext() hb_fsFindClose() Note that currently only Win32 and DOS/DJGPP has been tested, all the other platform will require some more work. Also note that the attribute mask filtering may need more work and tweaking. + New generic file attributes added, they are named HB_FA_*, they are almost the same as the FA_ ones in dir.c, just a bit more Clipper like. 2001-12-17 12:33 UTC+0100 Viktor Szakats * Makefile * tests/Makefile - Inclusion of contrib in the core Harbour removed, because this made it impossible to build Harbour on some platforms (Linux). 2001-12-17 10:31 UTC+0100 Viktor Szakats * source/rtl/gtapi.c ! Modified hb_gtSetCursor() to allow cursor setting when the cursor position is off by one from the screen. This fixes the disappearing cursor in TBROWSE() Since I don't know why the bounds checking is there, I can't tell if this is the correct fix. If you have some idea, please tell. * TODO + Added a few things. 2001-12-17 07:20 UTC+0100 JFL (Mafact) <jfl@mafact.com> * source/vm/garbage.c ! RON Fix for forever loop when GC try to free first item in the arrayclone cloned list. 2001-12-16 21:28 UTC+0100 Viktor Szakats * source/rtl/tbrowse.prg ! Fixed cursor positioning when Autolite == .F. 2001-12-16 14:53 UTC+0100 Viktor Szakats * source/rtl/tbrowse.prg ! DispCell() - Fixed displaying of logical fields. * source/vm/estack.c + Added language markers HB_I_() 2001-12-16 14:20 UTC+0200 Chen Kedem <niki@synel.co.il> * doc/en/lang.txt * HB_LANGSELECT() - Sort table according to language + HB_LANGSELECT() - Add missing languages: CSWIN, EO, HR852, HRISO ! Wrong comment Romanian --> Spanish * doc/en/var.txt * __ISMV() renamed to __MVEXIST() (to reflect ChangeLog 2001-12-15 23:05 UTC+0100 Viktor Szakats) * source/lang/msghewin.c * Comment changed: Code Page 1255 is now Windows-1255 * source/lang/msgko.c ! Comment changed: KR --> KO 2001-12-16 12:07 UTC+0100 Viktor Szakats * source/common/hbgete.c * source/common/hbtrace.c * source/compiler/cmdcheck.c * source/compiler/gencobj.c * source/rtl/gete.c * source/rtl/gtcrs/gtcrs.c * source/rtl/gtcrs/kbdcrs.c * source/rtl/gtsln/gtsln.c * source/rtl/gtsln/kbsln.c * source/vm/cmdarg.c * source/vm/hvm.c * hb_getenv() now may return a NULL if the env.var getting process failed for some reason. ! Reviewed, cleaned up and fixed all the hb_getenv() calls, considering that it now may return NULL, all caller now consistently check for env[ 0 ] != '\0' ! Fixed one leak in gtcrs.c ; I'd ask everybody to test the new code, with special attention to the CLIPPER/HARBOUR/CLIPPERCMD/HARBOURCMD, Linux environment variables, HB_TRACE_* variables. 2001-12-15 23:13 UTC+0100 Viktor Szakats * source/debug/dbgwa.prg ! Missing CVS header. * TODO + Added some new items. * include/Makefile * include/hbexprb.c * include/hbexprc.c * include/hbmacro.h + include/hbmacro.ch - include/hbmsetup.h * include/set.ch * source/compiler/genc.c * source/vm/hvm.c * hbmsetup.h renamed to hbmacro.ch ! Fixed the inclusion of .h files from .ch files. + Added CVS header, copyright header, other stuff. % Removed some unneeded #includes. * include/hbgetcmt.ch * include/ord.ch * source/rtl/radiogrp.prg * Small corrections. 2001-12-15 23:05 UTC+0100 Viktor Szakats * source/rtl/memvars.c * source/rtl/tgetint.prg * include/hbextern.ch * __ISMV() renamed to __MVEXIST() + __MVEXIST() added to hbextern.ch 2001-12-16 02:15 UTC+0700 Andi Jahja <harbour@cbn.net.id> Revision by Ron Pinkas <Ron@Profit-Master.com> * source/compiler/harbour.sly * source/vm/mamvars.c ! __ISMV() in memvars was incorrectly returning TRUE for *any* dynamic symbol, instead of only MEMVARs. 2001-12-15 16:04 UTC+0100 Viktor Szakats * source/common/hbver.c ! Displays Windows XP properly ! Displays Windows ME properly (well, hopefully because I couldn't test this, if anyone has ME, please test it.) 2001-12-15 15:53 UTC+0100 Viktor Szakats * source/rdd/dbfcdx/dbfcdx1.c * source/rdd/dbfcdx/dbfcdx1.h * source/rdd/dbfcdx/dbfcdx2.h * Some formatting. * TODO + Readded one item. 2001-12-15 14:43 UTC+0100 Viktor Szakats * TODO - Some more updates. 2001-12-15 14:08 UTC+0100 Viktor Szakats * source/rtl/filesys.c ! Fixed missing #define for Cygwin (for setmode() prototype) 2001-12-15 13:58 UTC+0100 Viktor Szakats * source/rtl/dir.c ! Fix for BCC by Luiz. 2001-12-15 13:43 UTC+0100 Viktor Szakats * contrib/libct/Makefile ! Fixed tabs, EOF * contrib/libgt/Makefile ! Fixed LIBNAME * source/vm/classes.c ! missing "static" keyword 2001-12-15 12:32 UTC+0100 Viktor Szakats * TODO * Updated * source/rtl/dummy.prg - Removed commented line. 2001-12-15 12:24 UTC+0100 Viktor Szakats * include/hbver.h + Jumped the version number and date. * doc/whatsnew.doc + Added new version (no items yet) * source/vm/dynlibhb.c ! Fixed for non Win32 platform to return compatible values. * doc/howtomak.txt - Removed TASM as a requirement. 2001-12-15 12:11 UTC+0100 Viktor Szakats * include/hbinkey.ch * source/compiler/cmdcheck.c * source/compiler/harbour.c * source/compiler/hbpcode.c (I couldn't complete this one, since it's far too messy) * source/debug/dbgtmenu.prg * source/debug/dbgtmitm.prg * source/debug/dbgtobj.prg * source/debug/dbgtwin.prg * source/debug/dbgwa.prg * source/debug/debugger.prg * source/rtl/perfuncs.prg * source/rtl/persist.prg * source/rtl/profiler.prg * source/rtl/gtsln/gtsln.c * source/rtl/gtstd/gtstd.c ! Basic cleanups "s_" prefix, tabs, = -> := 2001-12-15 11:37 UTC+0100 Viktor Szakats * source/rtl/isprint.c ! Fixed DJGPP warning for DOS branch. * source/rtl/fstemp.c ! One unused #include added. Well, it was used. 2001-12-15 10:53 UTC+0100 Viktor Szakats * source/rtl/tbcolumn.prg ! Fixed case when heading parameter was NIL in TBColumnNew() or TBColumn():New() * source/rtl/fstemp.c - One unused #include removed. 2001-12-15 10:05 UTC+0100 Antonio Linares <alinares@fivetech.com> + source/vm/dynlibhb.c + HB_LIBLOAD() + HB_LIBFREE() + HB_LIBDO() Dynamic link libraries management functions * source/vm/eval.c - HB_DLLDO() Removed and included in dynlibhb.c as HB_LIBDO() * makefile.bc + added dynlibhb.c module 2001-12-14 10:17 UTC+0100 Viktor Szakats * include/hbapifs.h * source/common/hbfhnd.c * source/common/hbfsapi.c * source/rtl/spfiles.c * include/hbset.h * include/hbcomp.h * include/hbpp.h * source/compiler/harbour.c * source/compiler/harbour.y * source/compiler/harbour.sly * source/rtl/set.c * source/pp/pplib.c * source/pp/ppcore.c * utils/hbpp/hbpp.c * source/vm/hvm.c * source/vm/classes.c * Some cleanups. * PATHNAMES -> HB_PATHNAMES ! Removed some warnings. * include/Makefile * include/hbapi.h + include/hblang.ch + Added HB_I_() define for translatable strings. In Harbour sources which contains translatable strings #include "hblang.ch" must be added. 2001-12-13 16:40 UTC+0100 Antonio Linares <alinares@fivetech.com> * source/vm/eval.c + New function HB_DLLDO() added Executes a Harbour pcode dynamically loaded DLL function or procedure Syntax: HB_DllDo( <cFuncName> [,<params...>] ) --> [<uResult>] 2001-12-13 15:09 UTC+0100 Maurilio Longo <maurilio.longo@libero.it> * include/hbexprb.c + changed lastest version with the one posted by Ron 2001-12-13 03:50 UTC+0100 Antonio Linares <alinares@fivetech.com> * source/vm/maindllp.c * First VM/RTL functions added * source/vm/hvm.c * hvm support for pcode DLLs 2001-12-12 18:49 UTC+0100 Antonio Linares <alinares@fivetech.com> + source/vm/maindllp.c * Windows pcode DLL entry point and VM/RTL routing functions 2001-12-12 15:09 UTC+0100 Antonio Linares <alinares@fivetech.com> * source/common/hbfsapi.c * source/common/hbfhnd.c * some minor changes 2001-12-11 23:40 UTC+0100 JFL (Mafact) <jfl@mafact.com> * makefile.vc added missing hbgete.c to LIB * source/pp/ppcore.c * Modif to Workmarkers() so as expression like test{,,3} are correctly (x)translated to test():new(,,3) as clipper does. 2001-12-11 19:20 UTC-0300 Luiz Rafael Culik <culik@sl.conex.net> * contrib/hbzlib/zipnew.cpp contrib/hbzlib/zipcomp.cpp * Fixed some unreleased block reported by Sid Saylors + contrib/hbzlib/strcomp.c * CompressString() and UncompressString Functions * contrib/hbzlib/doc/zipnew.txt * Added the docs for the two new functions * utils/hbmake/hbmake.prg % Some cleanup * Common items moved to functions + WriteMakeFileHeader(),ProcessParameters(),ShowHelp(),ConvertParams(cParam) functions for task that was double coded for some parts * The Main Functions is now cleaner * Fixed the problem on checkbox that the user down know on witch one he is 2001-12-11 18:57 UTC+0100 Viktor Szakats * source/common/hbgete.c % Made it more fail-safe and compact. 2001-12-11 15:09 UTC+0100 Maurilio Longo <maurilio.longo@libero.it> * source/common/hbgete.c ! fixed problems with memory allocation for OS/2 end general case, please look at Win32 code section 2001-12-11 14:30 UTC+0100 Maurilio Longo <maurilio.longo@libero.it> * source/common/Makefile + added hbgete.c entry * source/common/hbgete.c + added OS/2 specific code 2001-12-11 00:02 UTC+0100 Viktor Szakats + ChangeLog + Added CVS ID + Added comment about the standard entry header. - source/vm/borinit.c - source/vm/borsym.asm - source/vm/startup.asm - source/vm/symbols.asm * source/vm/hvm.c * makefile.bc * makefile.vc ! Removed assembler parts. TASM is no longer required to build Harbour. - source/common/hash.c + source/common/hbhash.c * source/common/Makefile * makefile.vc * makefile.bc * File hash.c renamed to hbhash.c. + source/common/hbfhnd.c * source/common/hbfsapi.c * source/common/Makefile * makefile.vc * makefile.bc ! File handle tweaking functions moved to a separate source file. * source/common/hbgete.c * Some tweaks. * source/vm/hvm.c - Removed some line not needed anymore, related to Windows exception handler. * source/vm/estack.c - Removed a faulty #define. * makefile.bc * makefile.vc + Added note to not modify these files to add optional command line switches. * makefile.bc - Removed explicit debug switches from on PDF related file and from the 16-bit branch. 2001-12-10 19:55 GMT+1 Antonio Linares <alinares@fivetech.com> * harbour/source/common/hbgete.c * some fixes 2001-12-10 17:43 GMT+1 Antonio Linares <alinares@fivetech.com> * harbour/source/vm/maindll.c * some enhancements 2001-12-10 12:00 GMT+1 Antonio Linares <alinares@fivetech.com> * harbour/makefile.bc * removed -v -y flags, letf there by mistake * harbour/source/common/hbgete.c * type cast required 2001-12-09 21:06 GMT+1 Antonio Linares <alinares@fivetech.com> * harbour/source/vm/maindll.c * HBENTRY() generic DLLs entry point implemented 2001-12-09 20:11 GMT+1 Antonio Linares <alinares@fivetech.com> * harbour/source/common/hbtrace.c * harbour/source/compiler/cmdcheck.c * harbour/source/compiler/gencobj.c * harbour/source/rtl/gete.c * harbour/source/rtl/gtcrs/gtcrs.c * harbour/source/rtl/gtcrs/kbdcrs.c * harbour/source/rtl/gtsln/gtsln.c * harbour/source/rtl/gtsln/kbsln.c * harbour/source/vm/cmdarg.c ! hb_getenv() used instead of getenv() 2001-12-09 19:46 GMT+1 Antonio Linares <alinares@fivetech.com> * source/vm/hvm.c * A minor fix required for Harbour DLLs 2001-12-09 19:31 GMT+1 Antonio Linares <alinares@fivetech.com> * makefile.bc + added hbgete.c file 2001-12-09 19:18 GMT+1 Antonio Linares <alinares@fivetech.com> + source/common/hbgete.c * environment variables access * include/hbapi.h * Added hb_getenv() definition 2001-12-09 14:50 GMT+1 JFL (mafact) <jfl@mafact.com> * harbour/makefile.vc e.vc * Checked and corrected when used for SIMPLEX compilation 2001-12-09 12:30 GMT+1 JFL (mafact) <jfl@mafact.com> * harbour/source/rtl/checkbox.prg * Small typo corrected where nR became nT 001-12-08 22:10 GMT-3 Luiz Rafael Culik <culik@sl.conex.net> * source/rtl/checkbox.prg * Readded checkbox() function. (I've forget to redefine in previus commit 2001-12-08 06:15 GMT+0700 Andi Jahja <harbour@cbn.net.id> * makefile.bc - removed borinit.obj dependency - removed symbols.obj dependency - removed borsym.obj dependency - remed startup.obj Notes: Have made quite a number of tests and it seems that these modules are not needed. * makefile.vc - removed symbols.obj dependency Notes: Have made quite a number of tests and it seems that this module is not needed. * contrib/libct/files.c ! dir.h not used when _MSC_VER ( MsVC has no dir.h ) 2001-12-08 16:20 GMT-3 Luiz Rafael Culik <culik@sl.conex.net> * source/rtl/checkbox.prg * fixed an smallbug on isdefcolor() function * source/rtl/radiobtn.prg source/rtl/radiogrp.prg * minor fixes * contrib/libct/files.c * Added code to support unix for the follow functions:FileSize(),FileDate(),FileTime() 2001-12-08 08:40 GMT-3 Luiz Rafael Culik <culik@sl.conex.net> * source/rtl/checkbox.prg * fixed an smallbug on __guicolor() function * source/rtl/listbox.prg * fixed an smallbug the class constructor 2001-12-07 22:20 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbfntx/dbfntx1.c * Added support for Deleted() function in index adn condition expressions 2001-12-06 22:40 GMT-3 Luiz Rafael Culik <culik@sl.conex.net> * utils/hbmake/hbmake.prg ! fixed an small bug when using multiple -D switch * doc/hbmake.txt * updated the file * contrib/hbzlib/zipnew.cpp contrib/hbzlib/zipcomp.cpp * Fixed an bug reported by Sid Saylors. 2001-12-06 23:30 GTM+1 Antonio Linares <alinares@fivetech.com> * source/vm/eval.c ! hb_evalBlock() function added 2001-12-06 22:20 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbfntx/dbfntx1.c * Bug fixed, reported by Horacio Roldan 2001-12-06 21:15 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbfntx/dbfntx1.c * Bug fixed, reported by Walter Negro 2001-12-05 21:20 UTC-0500 David G. Holm <dholm@jsd-llc.com> * source/rtl/seconds.c ! Bug fix for FreeBSD 4.4 port, which has microsecond time. 2001-12-05 20:00 UTC-0500 David G. Holm <dholm@jsd-llc.com> * source/rtl/seconds.c ! Bug fix for FreeBSD 4.4 port. 2001-12-05 16:00 UTC-0500 David G. Holm <dholm@jsd-llc.com> * doc/gmake.txt + doc/howtobsd.txt + FreeBSD 4.4 port 2001-12-05 15:30 UTC-0500 David G. Holm <dholm@jsd-llc.com> + config/bsd + config/bsd/dir.cf + config/bsd/gcc.cf + config/bsd/global.cf + config/bsd/install.cf * source/rtl/disksphb.c * source/rtl/seconds.c * source/rtl/gtstd/gtstd.c + FreeBSD 4.4 port 2001-12-05 19:44 UTC+0100 Viktor Szakats * include/hbmath.h * source/rtl/math.c * contrib/libct/ctmath.c * Renamed math handler C level functions to match the naming system of Harbour: hb_getMathError -> hb_mathGetError hb_resetMathError -> hb_mathResetError hb_isMathHandler -> hb_mathIsHandler hb_installMathHandler -> hb_mathInstallHandler hb_deinstallMathHandler -> hb_mathDeinstallHandler hb_setMathHandlerStatus -> hb_mathSetHandlerStatus hb_getMathHandlerStatus -> hb_mathGetHandlerStatus HB_MATHERR* -> HB_MATH_ERR* * source/rtl/mlctopos.c * source/rtl/mpostolc.c ! Missing CVS headers added. * include/hbextern.ch * source/rtl/defpath.c * source/rtl/natmsg.c * source/rtl/oemansi.c * source/rtl/seconds.c * source/rtl/setcolor.c * source/rtl/setposbs.c * source/rtl/shadow.c * source/rtl/trim.c ! Functions, features marked as extensions or as undocumented. * Functions reordered by category in hbextern.ch It's now smaller, faster, and it's much more meaningful for the eye. ! Fixed faulty defines in hbextern.ch which excluded the complete GETSYS function list, when C53 compatibility was turned off. ! Some missing symbols added to hbextern.ch ! Removed doubly defined items from hbextern.ch * source/rtl/getsys.prg * source/rtl/tgetlist.prg * Some formatting. 2001-12-05 14:08 GTM+1 Antonio Linares <alinares@fivetech.com> * source/vm/eval.c ! hb_evalBlock0() and hb_evalBlock1() functions added * include/hbundoc.api ! hb_evalBlock0() and hb_evalBlock1() defines added 2001-12-05 12:31 UTC+0100 Viktor Szakats + source/vm/evalhb.c * source/vm/eval.c * source/vm/itemapi.c * source/vm/Makefile * makefile.bc * makefile.vc * EVAL() moved to evalhb.c * hb_eval*() and hb_do*() functions moved to eval.c. * source/vm/extend.c * Some vars renamed, type and indentation corrected. 2001-12-04 03:35 GMT+0700 Andi Jahja <harbour@cbn.net.id> * contrib/mysql/mysql.c ! type casts needed by MsVC 2001-12-03 15:00 GTM+1 Antonio Linares <alinares@fivetech.com> * harbour/include/clipdefs.h #ifndef HB_OS_WIN_32 used instead of __HARBOUR__ * harbour/include/extend.api #ifndef HB_OS_WIN_32 used instead of __HARBOUR__ 2001-12-03 11:20 GTM+1 Antonio Linares <alinares@fivetech.com> * harbour/include/clipdefs.h #ifndef used to avoid Windows.h collisions * harbour/include/extend.api #ifndef used to avoid Windows.h collisions 2001-12-02 23:15 GMT-3 Luiz Rafael Culik <culik@sl.conex.net> * contrib/mysql/mysql.c + DatatoSql() and FILETOSQLBINARY() functions.First to format characters to mysql format, Second to read an file and return it content as an mysql character string format * contrib/mysql/tmysql.prg * New Enhacemets + Added support to mediumint and mediumblob type on the follow classes + TMySqlRow:FieldType() will Return an "B" for mediumblob and an "I" Mediumint field + TMySQLServer:CreateTable(cTable, aStruct,cPrimaryKey,cUniqueKey,cAuto) Added tree new parameters * contrib/mysql/readme.txt * Updated file to reflect the changes 2001-12-01 18:10 GMT+1 JFL (mafact) <jfl@mafact.com> * harbour/source/vm/arrays.c * Last version from RON. No change in logic. 2001-11-30 22:05 GMT+1 JFL (mafact) <jfl@mafact.com> * harbour/source/vm/arrays.c * Corrected an error I added while creating null item when not needed * removed unneded itemrelease at the end of treatment 2001-11-30 00:10 GMT+1 JFL (mafact) <jfl@mafact.com> * harbour/source/vm/arrays.c * simplified hb_arrayClone() while keeping logic next step is to check it is working 2001-11-30 05:30 GMT+0700 Andi Jahja <harbour@cbn.net.id> * source/rtl/spfiles.c * Added C Casts for MsVC 2001-11-29 22:05 GMT+1 JFL (mafact) <jfl@mafact.com> * harbour/source/vm/classes.c * Forgot one printf(..) within hb_clsisclassref() 2001-11-29 12:15 UTC-0800 Brian Hays <bhays@abacuslaw.com> * makefile.bc + added dependencies for spfiles * contrib/rdd_ads/ads1.c * added possible error msg to a comment 2001-11-29 14:45 UTC-0500 David G. Holm <dholm@jsd-llc.com> * makefile.vc + Added spfiles.obj 2001-11-29 20:33 GMT+1 Antonio Linares <alinares@fivetech.com> * source/rtl/philes.c ! msvc required type cast added 2001-11-28 20:15 UTC-0500 David G. Holm <dholm@jsd-llc.com> * doc/funclist.txt ! Corrected the status of FILE() from Ready to Started, because it is missing the Clipper wild card (a.k.a., skeleton) support. * doc/en/file.txt ! Corrected the FILE() documentation. 2001-11-28 19:45 UTC-0500 David G. Holm <dholm@jsd-llc.com> * include/hbapifs.h + Moved PATHNAMES support from include/hbpp.h. * include/hbpp.h - Moved PATHNAMES support into include/hbapifs.h * include/hbset.h + Added PATHNAMES support for SET PATH. * source/common/hbfsapi.c + Moved PATHNAMES support from source/compiler/cmdcheck.c * source/compiler/cmdcheck.c - Moved PATHNAMES support into source/common/hbfsapi.c * source/rtl/Makefile + Added spfiles.c * source/rtl/philes.c ! FILES uses the new search path file API. * source/rtl/set.c + Added PATHNAMES support for SET PATH. + source/rtl/spfiles.c + New search path file API functions. 2001-11-28 22:45 GMT+1 JFL (mafact) <jfl@mafact.com> * harbour/source/vm/classes.c * Now releasing Classes from the last one to check Bryan GPF * harbour/include/hbclass.ch * Changed a bit some PP define to avoid unusued var warning from mscv 2001-11-28 12:57 GMT-3 Horacio Roldan <harbour_ar@yahoo.com.ar> * include/hbrddcdx.h * source/rdd/dbfcdx/dbfcdx1.c * begin support of pack 2001-11-26 22:55 GMT+1 JFL (mafact) <jfl@mafact.com> * harbour/source/vm/classes.c * Freezed ('remed') scoping due to a small bug wich could always create a false scoping error ... * harbour/source/vm/hvm.c * Changed the way a super call is done so now Super:Init(::nX) is allowed and ::nX is correctly seen befor ethat it was see as ::Super:nX ... 2001-11-23 17:57 GMT-3 Horacio Roldan <harbour_ar@yahoo.com.ar> * source/rdd/dbfcdx/dbfcdx1.c ! fixed gpf with autoopen ! fixed dbSeek for padded strings 2001-11-22 23:55 UTC-0800 Brian Hays <bhays@abacuslaw.com> * contrib/rdd_ads/ads1.c * quieted warnings in adsSetScope 2001-11-22 15:11 GMT+1 Maurilio Longo <maurilio.longo@libero.it> * contrib/mysql/readme.txt * little changes 2001-11-22 19:55 GMT+0700 Andi Jahja <harbour@cbn.net.id> * include/hbapi.h + add declaration char * hb_strncpyUpperTrim() 2001-11-21 17:45 UTC-0800 Brian Hays <bhays@abacuslaw.com> * source/rtl/strcase.c + added hb_strncpyUpperTrim to both upperize and trim * contrib/rdd_ads/ads1.c * removed bad pointer initialization * source/rdd/dbcmd.c * fieldpos() now calls hb_strncpyUpperTrim so padded field names don't fail * contrib/rdd_ads/adsfunc.c * fixed AdsGetAOFOptLevel to return correct value if there's no AOF active 2001-11-22 04:45 GMT+0700 Andi Jahja <harbour@cbn.net.id> * contrib/libnf/getvid.c ! HB_FUNC(_V_SETVPG), use int iPage only if HB_OS_DOS is defined * source/common/hbfsapi.c ! undefine _NFILE_ before redefining (was defined in BCC's _nfile.h) 2001-11-21 16:40 GMT-3 Horacio Roldan <harbour_ar@yahoo.com.ar> * source/rdd/dbfcdx/dbfcdx1.c ! fixed eof() bug 2001-11-21 12:31 GMT Dave Pearson <davep@davep.org> * source/rdd/dbcmd.c - Removed (using "#if 0...") hb_waNull(). 2001-11-21 09:15 GMT -3 Luiz Rafael Culik<culik@sl.conex.net> * source/debug/debugger.prg * sorce/debug/dbgtarr.prg * Fixed an small bug that was forget to fix on previus upload 2001-11-21 06:35 GMT -3 Luiz Rafael Culik<culik@sl.conex.net> * source/debug/debugger.prg * Some enhacements, now you can use the Pgup/pgdown keys. * source/common/hbfspai.c * Added code to make harbour apps compiler with borland compiler open mode then 50 files * source/rtl/tbrowse.prg * reverted back to version 1.69 of maurilio 2001-11-20 22:45 UTC-0500 David G. Holm <dholm@jsd-llc.com> * source/compiler/harbour.y * source/macro/macro.y ! Exclude IBM C++ from the declaration of __yy_memcpy. 2001-11-20 23:59 GMT+1 Maurilio Longo <maurilio.longo@libero.it> * source/debug/debugger.prg ! ::ShowCode() was using At( ":", cModuleName ) to divide procedure name from module name, but this does not work if you have a source file on a different disk (at least on those systems which use a letter and a colon to name volumes). 2001-11-20 21:02 UTC+0100 Viktor Szakats * source/lang/Makefile + Added missing language. * source/lang/msgruwin.c * source/lang/msgzhb5.c * source/lang/msgzhgb.c * Small changes. 2001-11-20 16:36 GMT-3 Horacio Roldan <harbour_ar@yahoo.com.ar> * source/rdd/dbfcdx/dbfcdx1.c + added support for AUTO OPEN ! fixed ordListAdd() if the index has no path, try first the path of the dbf. ! fixed ordBagName(), now returns full pathname 2001-11-20 20:11 UTC+0100 Viktor Szakats * doc/howtomak.txt * Changed the requirement to Bison 1.28 * source/common/hbver.c + Displays the HB_FM_STATISTICS setting in the /BUILD or //BUILD switches. 2001-11-20 08:18 GMT Dave Pearson <davep@davep.org> * source/rtl/gtsln/Makefile * source/rtl/gtsln/gtsln.c * source/rtl/gtsln/kbsln.c * Applied fixes from Marek Paliwoda <paliwoda@inetia.pl> that lets the slang GT driver code build on different GNU/Linux distributions (and possibly other flavours of Un*x). 2001-11-20 05:20 GMT+0700 Andi Jahja <harbour@cbn.net.id> * source/compiler/harbour.y ! declare function prototype __yy_memcpy() to satisfy Borland * source/macro/macro.y ! declare function prototype __yy_memcpy() to satisfy Borland 2001-11-19 16:00 UTC-0500 David G. Holm <dholm@jsd-llc.com> * source/rdd/dbfcdx/dbfcdx1.c ! Removed spurious (BYTE) overrides on dual assignments. 2001-11-19 17:20 GMT+1 Martin Vogel <vogel@inttec.de> + contrib/libct/bit2.c + number and bit manipulation functions CLEARBIT, SETBIT, ISBIT all provided by Walter Negro - FOEESITRA <waltern@foeesitra.org.ar> * contrib/libct/Makefile * contrib/libct/makefile.bc * contrib/libct/makefile.vc * contrib/libct/ctflist.txt * changes according to the above 2001-11-19 18:30 GMT+0700 Andi Jahja <harbour@cbn.net.id> * source/compiler/harbour.y ! add type casts for MsVC * makefile.vc / makefile.bc ! add flag "--no-line" to bison to kill MsVC warnings, so now macroy.c and harboury.c will be cleanly compiled ! change compiler flag: -w => -W3 ( no longer cause eye irritation ) 2001-11-18 22:15 GMT+1 JFL (mafact) <jfl@mafact.com> * harbour/source/vm/classes.c * change CLSADDMSG() to intercept Operator overloading and use standardised symbol in place of operator itself (like "-" => "__OpLess" ) * harbour/source/vm/hvm.c * Modif done to send correct message to object as newly defined * harbour/include/hbclass.ch + added an OPERATOR command for Inline use now we can define an OPERATOR using inline only like ; OPERATOR "-" ARG xARg INLINE ::cValue - xArg see new test overload.prg * harbour/tests/overload.prg adapted to command mode and use of the new OPERATOR INLINE command 2001-11-17 15:40 GMT+0700 Andi Jahja <harbour@cbn.net.id> * source/lang/msgzhbig.c - remove msgzhbig.c as it was replaced by msgzhb5.c 2001-11-17 08:20 GMT+0700 Andi Jahja <harbour@cbn.net.id> Non-ANSI comments fixed. * source/rdd/dbf1.c * source/rdd/dbfntx/dbfntx1.c * contrib/rdd_ads/ads1.c * contrib/rdd_ads/adsfunc.c * contrib/rdd_ads/adsmgmnt.c 2001-11-16 21:31 GMT-3 Horacio Roldan <harbour_ar@yahoo.com.ar> * source/rdd/dbfcdx/dbfcdx1.c ! fixed bug opening empty files with set delete on 2001-11-16 17:35 GMT+1 Antonio Linares <alinares@fivetech.com> * source/vm/hvm.c + Added new function __VMVARSLEN() --> nStatics It returns the total amount of used statics variables 2001-11-16 05:15 GMT+0700 Andi Jahja <harbour@cbn.net.id> * contrib/libnf/getver.c ! HB_FUNC(_FT_TEMPFIL), initialize cPath #if !defined(HB_OS_DOS) * source/lang/msgru866.c ! function renamed: hb_lang_Init_TPL => hb_lang_Init_RU866 * source/lang/msgruwin.c ! function renamed: hb_lang_Init_TPL => hb_lang_Init_RUWIN * source/lang ( <freexbase@yahoo.com.cn> ) + add msgzhb5.c ( Chinese Traditional ) ! revised msgzhgb.c ( Chinese Traditional ) * doc/en/lang.txt + add documentation of RU866 and RUWIN (Russian) + add documentation of ZH_GB and ZH_BIG5 (Chinese) * makefile.bc ( lang.lib section ) ! add file dependency - msgzhb5.obj ( Chinese Traditional ) ! add file dependency - msgzhgb.obj ( Chinese Simplified ) * makefile.vc ( lang.lib section ) ! add file dependency - msgzhb5.obj ( Chinese Traditional ) ! add file dependency - msgzhgb.obj ( Chinese Simplified ) * source/compiler/genobj32.c ! add type casts for MsVC * source/compiler/genc.c ! add type casts for MsVC 2001-11-16 08:44 GMT Dave Pearson <davep@davep.org> * source/compiler/gencobj.c * Fixed core dump when using -o switch. 2001-11-16 07:19 GMT Dave Pearson <davep@davep.org> * contrib/libct/print.c * Marked uiPort as HB_SYMBOL_UNUSED for unsupported platforms in PRINTSTAT() and PRINTREADY(). This removes a couple of warnings when building the library on unsupported platforms. 2001-11-16 00:13 GMT-3 Horacio Roldan <harbour_ar@yahoo.com.ar> * source/rdd/dbfcdx/dbfcdx1.c ! fixed bug with filters and set delete on 2001-11-15 21:00 GMT -3 Luiz Rafael Culik<culik@sl.conex.net> * utils/hbmake/hbmake.prg * Now it only delete test.out if no error occurs 2001-11-16 05:15 GMT+0700 Andi Jahja <harbour@cbn.net.id> * contrib/samples/gauge.c ! correct typo on formating %, \% => %% 2001-11-15 14:06 GMT-3 Horacio Roldan <harbour_ar@yahoo.com.ar> * source/rdd/dbfcdx/dbfcdx1.c ! fixed bug: value of empty memo was NIL instead of "" reported by Andi Jahja 2001-11-15 13:55 GMT+1 Antonio Linares <alinares@fivetech.com> * include/hbapi.h Enhanced HB_IS_OBJECT( PHB_ITEM ) 2001-11-15 04:00 GMT+7 Walter Nergo <waltern@foeesitra.org.ar> ( CVSed by Andi Jahja ) * contrib/libct/numconv.prg ! Fixed some bugs in CTON(), NTOC() and recursive function. + Add BITTOC() and CTOBIT() functions. 2001-11-13 21:26 GMT-3 Horacio Roldan <harbour_ar@yahoo.com.ar> * source/rdd/dbfcdx/dbfcdx1.c ! fixed: on index creation last byte of key was lost ! fixed: on index creation GPF with empty keys ! changed comments from // o /**/ 2001-11-13 15:40 GMT-3 Horacio Roldan <harbour_ar@yahoo.com.ar> * source/rdd/dbfcdx/dbfcdx1.c ! fixed eof() bug in hb_cdxGoTo 2001-11-12 21:25 GMT -3 Luiz Rafael Culik<culik@sl.conex.net> * utils/hbmake/hbmake.prg * Fixed an small bug that remain in previus update The fixed Bellow was provided by Matteo Baccan *source/rtl/hvm.c * fixed problem in the way of variable search on harbour *contrib/libct/make_b32.bat contrib/libct/make_vc.bat * Fixed the name of the library +contrib/libnf/make_b32.bat *contrib/libnf/nanfor.bc * Fixed the name of the library 2001-13-11 04:45 GMT+0700 Andi Jahja <harbour@cbn.net.id> * contrib/libnf/descend.c ! added type casts for MsVC * contrib/libnf/mouse.c ! some clean-ups 2001-12-11 20:00 GMT+0700 Andi Jahja <harbour@cbn.net.id> * contrib/rdd_ads/ads1.c ! added type casts for MsVC (but still got warning on line 2086) * contrib/samples + add contrib/samples/makefile.vc + add contrib/samples/makevc.bat * contrib/samples/status.c ! added type casts for MsVC * contrib/samples/num.c ! added type casts for MsVC * contrib/samples/gauge.c ! added type casts for MsVC * contrib/libct/trig.c ! HB_FUNC( ASIN ), replaced abs() with fabs() ! HB_FUNC( ACOS ), replaced abs() with fabs() 2001-11-11 15:40 GMT+0700 Andi Jahja <harbour@cbn.net.id> * contrib/hgf/win32 + add makefile.vc + add makevc.bat * contrib/hgf/win32/win32.c ! add type casts for MsVC 2001-11-11 23:35 UTC-0800 Brian Hays <bhays@abacuslaw.com> * include/hbapirdd.h * DBORDSCOPEINFO.scopeValue was changed from BYTE* to PHB_ITEM * source/rdd/dbcmd.c * ordScope(): changed to pass an item pointer to rdd * contrib/rdd_ads/ads1.c * adsScopeInfo and adsSetScope: fixed to handle all indexkey types This is a work in progress. Character and Numeric scopes should work fine. Some more needs to be done for Date and Logical 2001-11-11 20:10 GMT -3 Luiz Rafael Culik<culik@sl.conex.net> * utils/hbmake/hbmake.prg * Fixed an small bug on FileisNewer() function 2001-11-11 08:00 GMT+0700 Andi Jahja <harbour@cbn.net.id> * source/rdd/dbfcdx/dbfcdx1.c ! add type casts as required by MsVC 2001-11-10 20:54 GMT-3 Horacio Roldan <harbour_ar@yahoo.com.ar> * source/rdd/dbfcdx/dbfcdx1.c ! fixed hb_cdxKeyCompare, inverted sorting if high bit set (positives were before negatives) 2001-11-10 04:20 GMT +0700 Andi Jahja <harbour@cbn.net.id> * source/rdd/dbf1.c ! comment unused var ULONG ulRecNo * source/rdd/dbfntx/dbfntx1.c ! add type cast for MsVC 2001-11-09 10:30 UTC-0800 Brian Hays <bhays@abacuslaw.com> * harbour/source/rtl/persist.prg * fixed error handling for LoadFromText() Both it and LoadFromFile() now return lSuccess 2001-11-09 14:41 GMT Dave Pearson <davep@davep.org> * source/compiler/gencobj.c * Further fixes to remove core dumps regarding missing config files or missing information in the config file. 2001-11-08 23:42 GMT-3 Horacio Roldan <harbour_ar@yahoo.com.ar> * source/rtl/dummy.prg - removed dummy ordKeyVal() * source/rdd/dbcmd.c + added ordKeyVal() (need support by specifics RDDs) * source/rdd/dbfcdx/dbfcdx1.c + added support for ordBagName() + added support for ordKeyVal() ! fixed hb_cdxSorttoND, numeric key conversion ! fixed hb_cdxKeyGetItem(), for numeric & date keys * source/rdd/dbfcdx/dbfcdx2.h + added declaration for hb_cdxKeyGetItem 2001-11-08 22:40 GMT -3 Luiz Rafael Culik<culik@sl.conex.net> * utils/hbmake/hbmake.prg utils/hbmake/hbmake.prg * Fix some small problem with hbmake under linux 2001-11-09 05:20 GMT +7 Andi Jahja <harbour@cbn.net.id> * utils/hbmake/hbmutils.prg ! add Copyright header 2001-11-09 03:00 GMT +7 Andi Jahja <harbour@cbn.net.id> * utils/hbmake/hbmutils.prg ! some clean ups to enable compilation under MsVC To Luiz: Please use the standard " for include rather than ' eg. #include "foo.ch" instead of #include 'foo.ch' 2001-11-08 14:53 GMT-3 Horacio Roldan <harbour_ar@yahoo.com.ar> * source/rdd/dbfcdx/dbfcdx1.c + added support for ordFor() 2001-11-07 23:00 GMT -3 Luiz Rafael Culik<culik@sl.conex.net> * utils/hbmake/hbmake.prg utils/hbmake/hbmake.prg * Fix some small problem with hbmake under linux 2001-11-07 11:30 UTC-0500 David G. Holm <dholm@jsd-llc.com> * contrib/libct/files.c ! Exclude Cygwin from the WIN32 build paths. 2001-11-07 14:55 UTC+0100 Viktor Szakats * source/lang/Makefile * makefile.bc * makefile.vc * Updated with new lang modules. Now only Chinese and Dutch modules are not converted, if anyone feel like doing, please do. * make_vc.bat - Removed the call to create libmisc. If you need this, please make a batch file and set it locally. * source/rtl/oldbox.c * Some indentation. 2001-11-07 16:10 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> * source/lang/msgru866.c * source/lang/msgruwin.c * format changed 2001-11-07 03:55 UTC-0500 Paul Tucker <ptucker@sympatico.ca> * bin\bld.bat * corrected typo 2001-11-07 03:05 UTC-0500 Paul Tucker <ptucker@sympatico.ca> * makefile.vc * Correct new definitions * source/rtl/fstemp.c * added cast for msvc 2001-11-07 01:45 UTC+0100 Viktor Szakats * include/hbextern.ch * include/hbapifs.h * source/rtl/fstemp.c - Removed (made static) hb_fsTempName() low-level function, since it's unsafe, and will be incorporated into hb_fsCreateTemp(). - Removed HB_FTEMPNAME function, since it's unsafe. ! Fixed some recent HB_FTEMPCREATE bugs. + HB_FTEMPCREATE() now will store the generated filename in the fourth parameter if it's passed by reference. * makefile.bc ! Fixed a bug introduced in the prev. session. 2001-11-07 01:17 UTC+0100 Viktor Szakats - b16_slex.bat - b32_slex.bat - vc_slex.bat - hb_slex.vc * makefile.vc - Removed the batch files which initated a Simplex based Harbour. from now on you can simply set the environment variable HB_LEX=SIMPLEX and get the same result using the standard make files. So if you're a Simplex user, please don't forget to put the following line into your configuration files: set HB_LEX=SIMPLEX * The Simplex specific parallel MSVC make file has been consolidated into the standard MSVC make file. Note that I couldn't test it, so please report any errors you find. * make_b32.bat ! Doesn't override the HB_LEX variable, so that it can be set by the caller. * makefile.bc * makefile.vc * PDF environment variable changed to HB_DOC_PDF. Please change your settings according to this, if needed. + Documented this switch. - todo.txt + TODO * Standardized file name. 2001-11-07 00:11 UTC+0100 Viktor Szakats * include/hbapifs.h * source/rtl/filesys.c + Added hb_fsCreateEx() function which is similar to hb_fsCreate() with the plus that the opening mode can be also specified. * include/hbextern.ch * source/rtl/philes.c + Added HB_FCREATE() where you can specifiy the opening mode using the FO_* contants. * source/lang/Makefile * makefile.bc * makefile.vc + Added some new language files. * include/Makefile ! Synced with the actual list of header files. This fixes the installation with the GNU-make system. * source/rtl/fstemp.c * include/hbapifs.h * Changed to make use of hb_fsCreateEx(), and open the temp file in exclusive mode. * source/rdd/hbdbsort.c * Now uses hb_fsCreateTemp() * make_gnu.bat * bin/bld.bat ! MinGW name change. * include/hbapigt.h + Added some functions which have incompatible prototypes with CA-Cl*pper Extend System. * source/vm/extend.c * Some formatting. * source/vm/mainlgtk.c ! Fixed CVS header. 2001-11-06 19:28 GMT-3 Horacio Roldan <harbour_ar@yahoo.com.ar> * source/rdd/dbfcdx/dbfcdx2.h * source/rdd/dbfcdx/dbfcdx1.c ! fixed bug in OrdListAdd from previous change (now should work!) + added hb_cdxGetTagByNumber helper function 2001-11-06 09:50 GMT Dave Pearson <davep@davep.org> * tests/Makefile * testprof.prg was missing. Added. 2001-11-06 06:20 GMT -3 Luiz Rafael Culik <culik@sl.conex.net> * source/debug/dbgtarr.prg * Some enhacementes . Now you can use Page up/Page Down keys for movement * source/rtl/gtwin/gtwin.c * Applied Matteo Patch for screen size * source/rtl/tbrowse.prg * Now hilite/dehilite methods take in account the value of tbcolumn:defblock 2001-11-05 22:35 UTC-0800 Brian Hays <bhays@abacuslaw.com> * harbour/source/vm/dynsym.c * added "trimming" to new symbols, should fix bugs related to dbUseArea called with space-padded alias 2001-11-05 19:25 UTC-0500 David G. Holm <dholm@jsd-llc.com> * config/w32/gcc.cf * source/rtl/isprint.c ! Cygwin fixes. 2001-11-05 20:35 GMT+0700 Andi Jahja <andijahja@cbn.net.id> * source/rdd/workarea.c ! function hb_waRelEval(), remove unused local variable int iChildArea 2001-11-05 15:38 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/workarea.c * hb_waEval() method fixed ( NEXT n clause implementation ) 2001-11-05 03:59 UTC+0100 Viktor Szakats * utils/hbtest/hbtest.prg + Enhanced the display of errors, now the correct and incorrect results are below each other, so it's much easier to spot the difference. * source/common/hbver.c * "Mingw32" -> "MinGW" name of the compiler changed. * source/rtl/filesys.c * 0L -> 0, where the former was superfluous. * include/hbsetup.h ! Fixed WIN32 platform detection under Cygwin 1.3.3 * config/w32/mingw32.cf ! Added winspool lib... * makefile.bc - Removed -M switch from hbmake. Please use set CFLAGS= to add optional switches. * source/rtl/gtwin/gtwin.c * source/vm/arrays.c * source/vm/pvalue.c * Minor changes in formatting. 2001-11-04 18:34 UTC+0100 Viktor Szakats * source/compiler/cmdcheck.c * source/compiler/gencobj.c * source/compiler/hbpcode.c * source/rtl/filesys.c * source/rtl/idle.c * source/vm/classes.c * source/vm/hvm.c ! Non-ansi comments fixed. Note that RDD files has lots of // comments, if you're the author of some those files and seeing this, please check your code. Thx. 2001-11-04 18:14 UTC+0100 Viktor Szakats * include/hbexpra.c * include/hbexprc.c * source/rtl/set.c * source/rtl/isprint.c * source/vm/classes.c * source/vm/hvm.c ! Fixed BCC551 warnings. (One more warning is left, due to some define messes) ! Non-ansi comments fixed. 2001-11-04 17:25 GMT+1 Antonio Linares <alinares@fivetech.com> * source/vm/classes.c __ClsAddMsg() case HB_OO_MSG_ONERROR modifed to use hb_parnl( 3 ) * source/rtl/tclass.prg __ClsAddMsg() call, for ON ERROR clause, modified suplied parameters 2001-11-04 15:54 GMT+1 Maurilio Longo <maurilio.longo@libero.it> * source/rtl/tbrowse.prg ! ::Hilite() cursor positioning was wrong for TBrowsers without heading 2001-11-04 13:56 UTC+0100 Viktor Szakats * bin/bld.bat * bin/bld_b16.bat * bin/bld_b32.bat * bin/bld_vc.bat * make_gnu.bat ! Removed the LIBMISC.LIB requirement for BCC and VC platforms. + Added note to not modify these files as they are templates. 2001-11-03 14:00 GMT+7 Andi Jahja <harbour@cbn.net.id> * contrib/rdd_ads/ads1.c ! some clean ups * contrib/rdd_ads/adsmgmnt.c ! add type cast to quite MsVC 2001-11-02 22:50 GMT+1 Martin Vogel <vogel@inttec.de> + contrib/libct/keyset.c + key switch functions KSETINS, KSETCAPS, KSETNUM, KSETSCROLL + contrib/libct/print.c + printer functions PRINTSTAT, PRINTREADY + contrib/libct/numconv.prg + number manipulation functions NTOC, CTON all provided by Walter Negro - FOEESITRA <waltern@foeesitra.org.ar> * contrib/libct/Makefile * contrib/libct/makefile.bc * contrib/libct/makefile.vc * contrib/libct/ctflist.txt * changes according to the above 2001-11-01 05:10 UTC-0800 Brian Hays <bhays@abacuslaw.com> * harbour/include/hbsetup.h * Wrapped HB_FM_STATISTICS in #ifndef test so it can be turned off by defining HB_FM_STATISTICS_OFF in your make or bat files. * harbour/source/rtl/trace.c + added HB_TRACESTRING() which lets prg code trace a string into same trace file/window as C traces * harbour/source/vm/hvm.c + added __TRACEPRGCALLS( <lOnOff> ) --> <lOldValue> Turns on | off tracing of PRG-level function and method calls. Dumps symbol name just before it's called. Implementation follows example of the Profiler; all actions are wrapped in an "if" of a BOOL so there should be no performance hit if it's turned off. This is very useful when debugging GPFs as it will trace all PRG-level calls up until the crash. Uses HB_TRACE so traces are in line with any C-level traces. 2001-11-01 18:30 GMT+1 Martin Vogel <vogel@inttec.de> + contrib/libct/datetime.prg + some date functions (bom,eom,boq,eoq,boy,eoy,stod) provided by Marek Horodyski <homar@altkom.com.pl> * contrib/libct/Makefile * contrib/libct/makefile.bc * contrib/libct/makefile.vc * contrib/libct/ctflist.txt * changes according to the above * contrib/libct/token2.c * some typos corrected 2001-11-01 17:05 GMT+1 Antonio Linares <alinares@fivetech.com> * contrib/rdd_ads/ads1.c type cast required for msvc 2001-11-01 21:40 GMT+7 Andi Jahja <harbour@cbn.net.id> * include/hbdefs.h ! add argument to __HARBOUR__ definition => define if not defined yet since in some cases __HARBOUR__ is defined in command line 2001-11-01 15:15 GMT+1 Antonio Linares <alinares@fivetech.com> * source/vm/classes.c type cast to avoid a msvc error * source/vm/itemapi.c some type casts to avoid some msvc errors and warnings 2001-11-01 08:16 GMT Dave Pearson <davep@davep.org> * tests/multiarg.prg * __PValue() --> HB_PValue(). 2001-10-30 00:20 GMT +0700 Andi Jahja <harbour@cb.net.id> * include/hbexpra.c ! rename __PVALUE to HB_PVALUE => Need clean rebuild * utils/hbmake/hbmutils.prg ! fix typo "(" 2001-10-31 11:48 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbcmd.c ! fixed alias name checking in dbUseArea() 2001-10-30 21:15 GMT -3 Luiz Rafael Culik<culik@sl.conex.net> * bin/bld.bat * Added Required winspool.lib for msvc builds * source/vm/pvalue.c include/hbextern.ch * Renamed __pvalue to hb_pvalue * utils/hbmake/hbmake.prg utils/hbmake/hbmake.prg * Fix some small problem with hbmake under linux 2001-10-30 20:05 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> * contrib/rdd_ads/ads1.c * Added support for creating custom indexes * contrib/rdd_ads/adsfunc.c * Two functions added: AdsAddCustomKey( [ cOrder | nPosition ] ) AdsDeleteCustomKey( [ cOrder | nPosition ] ) 2001-10-30 11:01 GMT Dave Pearson <davep@davep.org> * source/rtl/filesys.c * Fixed the Un*x oriented code in hb_fsMkDir so that it sets S_IXUSR as well as S_IWUSR and S_IRUSR when making the directory. Without it the directory can't be entered or used. 2001-10-29 14:14 GMT+1 Maurilio Longo <maurilio.longo@libero.it> * contrib/mysql/readme.txt * updated - contrib/mysql/mysql.h - contrib/mysql/mysql_com.h - contrib/mysql/mysql_version.h - removed OS/2 only include files 2001-10-27 22:40 GMT -3 Luiz Rafael Culik<culik@sl.conex.net> * contrib/mysql/mysql.c * Fixed an small bug on SQLCONNECT *utils/hbmake/hbmutils.prg * Fixed an small bug, on GetSourceFiles() and GetMacrosDir() with was not returning the valid files names/directory names under linux 2001-10-27 20:15 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbfntx1.c * logical index support added ( code posted by Matteo Baccan ) ! source/pp/pplib.c ! bug fixed in __pp_free() function 2001-10-27 06:50 GMT -3 Luiz Rafael Culik<culik@sl.conex.net> * hb_slex.vc * Make file sincronized with makefile.vc thanks to Ron Pinkas <ron@profit-master.com>forn this file update * contrib/hbzlib/zipnew.cpp contrib/hbzlib/zip.c * Fixed an small bug when uncompressing File that has the drive letter 2001-10-26 15:21 GMT-3 Horacio Roldan <harbour_ar@yahoo.com.ar> * source/rdd/dbfcdx/dbfcdx1.c * OrderListAdd now reorder the Tag List of the opened CDX by its position in the CDX instead of its tag name. (for Clipper compatibility) 2001-10-26 13:15 GMT-3 Horacio Roldan <harbour_ar@yahoo.com.ar> * source/rdd/dbfcdx/dbfcdx1.c * Re-disabled temporally SUPER call to ignore unsupported ordinfo items 2001-10-26 00:10 GMT Dave Pearson <davep@davep.org> * source/compiler/harbour.c * Tidied up the indentation of the functions towards the end of the file. The indentation had somehow got lost at some point in the past. 2001-10-24 20:08 GMT+7 Andi Jahja <harnour@cbn.net.id> * source/rdd/dbcmd.c ! Add casts to quite MsVC 2001-10-24 09:50 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> ! source/rdd/dbfntx1.c ! bug fixed in ntxZap 2001-10-23 22:03 UTC-0500 Paul Tucker <ptucker@sympatico.ca> * makefile.vc * add missing $(OBJ_DIR)\hbmutils.c per <rhaley@onebox.com> 2001-10-23 20:08 GMT-3 Horacio Roldan <harbour_ar@yahoo.com.ar> * source/rdd/dbcmd.c ! Fixed bug in dbCreate, that affected DBF RDD derived (ntx & cdx) with memo files. 2001-10-23 14:10 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> ! source/rdd/dbfntx1.c ! fixed support of numeric indexes for negative numbers 2001-10-22 07:20 GMT -3 Luiz Rafael Culik<culik@sl.conex.net> *makefile.bc * removed -b option from hbmake 2001-10-22 13:42 GMT-3 Horacio Roldan <harbour_ar@yahoo.com.ar> * source/rdd/dbfcdx/dbfcdx1.c + added support for DBOI_NUMBER, for indexord() support + added support for DBOI_ORDERCOUNT, for ordlistadd() support 2001-10-22 01:28 UTC-0500 Paul Tucker <ptucker@sympatico.ca> * utils\hbmake\hbmake.prg * corrected a couple of typos. 2001-10-22 01:10 UTC-0500 Paul Tucker <ptucker@sympatico.ca> * makefile.vc * corrected ECHO and PDF definition. 2001-10-21 19:10 GMT -3 Luiz Rafael Culik<culik@sl.conex.net> * source/compiler/harbour.c * Fixed alingment on the _DECL section * utils/hbmake/hbmake.prg utils/hbmake/hbmutils.prg * Small Fixes *Removed call to the Harbour profiler * todo.txt *Removed the hbmake entry 2001-10-21 08:05 GMT Dave Pearson <davep@davep.org> * source/hbmake/Makefile * Added missing continuation character to line 14. * utils/hbmake/hbmutils.prg * Adding missing ")" to `if' in line 21. 2001-10-20 20:00 GMT -3 Luiz Rafael Culik<culik@sl.conex.net> * source/compiler/harbour.c * Changed some function parameters in the _DECL section * utils/hbmake/hbmake.prg % removed unused variables + New parameter -r: recurse sub directories on editor mode % enhaced -e and -el: the enhaced parameters has an x on the end. using the -ex or -elx tells hbmake to use harbour .obj generation capabilities % many For/Next Loop replaced for an fastern Aeval() function call * Support for generating output files in other dir + utils/hbmake/hbmutils.prg * All utilities function inside hbmake.prg was moved to this module * utils/hbmake/pickfile.prg *added pickafile() function + doc/hbmake.txt * some info about hbmake. Linux users should read to see how to set harbour.cfg. * makefile.bc makefile.vc hb_slex.vc utils/hbmake/Makefile * Added hbmutils.prg to dependencie List 2001-10-20 07:30 GMT -3 Luiz Rafael Culik<culik@sl.conex.net> *contrib/hbzlib/zipnew.cpp contrib/hbzlib/zipcomp.cpp contrib/hbzlib/zip.c contrib/hbzlib/hbzip2.h * Fixed an small bug on hb_setzipcommet() 2001-10-20 07:30 GMT -3 Luiz Rafael Culik<culik@sl.conex.net> *source/compiler/harbour.c *Fixed some warings reported by Dave Person 2001-10-19 01:35 UTC-0500 Paul Tucker <ptucker@sympatico.ca> * source/contrib/libct * justify.c pos2.c range.c relation.c replace.c strswap.c wordtoch.c pad.c * added casts to xgrab calls. 2001-10-19 18:42 GMT-3 Horacio Roldan <harbour_ar@yahoo.com.ar> * source/rdd/dbfcdx/dbfcdx1.c ! fixed ordSetFocus related, if the previos order was 0, it did nothing ! fixed ordSetFocus related, was comparing case sensitive 2001-10-19 07:50 GMT -3 Luiz Rafael Culik<culik@sl.conex.net> *source/compiler/harbour.c *Fixed some warings reported by Dave Person 2001-10-18 22:10 GMT -3 Luiz Rafael Culik<culik@sl.conex.net> *source/rtl/profiler.prg * fixed an small bug: Is was looking for an internel class start with HB_ but the class was defined without the _ *source/compiler/harbour.c *added 37 functions in the _DECL section for the strong type support 2001-10-15 09:15 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> ! source/pp/pptable.c * Warning fixed 2001-10-12 12:44 GMT-3 Horacio Roldan <harbour_ar@yahoo.com.ar> * source/rdd/dbfcdx/dbfcdx1.c ! fixed updating keys with trailing spaces * added support for conditional indexes (creation and updating) 2001-10-11 23:05 GMT+1 JFL (mafact) <jfl@mafact.com> * harbour/source/vm/classes.c * harbour/source/vm/hvm.c * Changed the way I allocate/reallocate and xfree 'puiClstree' pointer to solve unreleased memory blocks ... 2001-10-11 21:45 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> ! source/pp/pptable.c * Rule corrected 2001-10-10 23:50 GMT+1 JFL (mafact) <jfl@mafact.com> * harbour/source/vm/classes.c Fixed hb_clsIsParent for same class as parent ... (Xbase++ compatibility) 2001-10-10 10:07 GMT Dave Pearson <davep@davep.org> * source/rtl/tbrowse.prg * Fixed bug in :insColumn() as reported by Andreas Moroder in <URL:news:comp.lang.clipper>. 2001-10-08 21:30 GMT -3 Luiz Rafael Culik<culik@sl.conex.net> *source/rtl/isprint.c contrib/libct/files.c ! Cygwin fixes. *contrib/hbzlib/zipnew.cpp contrib/hbzlib/zipcomp.cpp contrib/hbzlib/zip.c contrib/hbzlib/hbzip2.h * Added new functions * Now is possible to create zipfiles in memory *contrib/libct/makefile.bc * added files.c to makefile 2001-10-08 23:12 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> ! source/rdd/dbf1.c ! source/rdd/workarea.c * relations implemented for RDD's, inherited from DBF ( DBFNTX AND DBFCDX ) 2001-10-06 15:28 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> ! source/rdd/dbfntx/dbfntx1.c ! Few fixes 2001-10-05 23:12 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> ! source/rdd/dbf1.c ! hb_dbfRecall() fixed 2001-10-04 17:10 UTC-0400 David G. Holm <dholm@jsd-llc.com> * doc/gmake.txt * source/rtl/filesys.c * source/rtl/idle.c ! Cygwin fixes. 2001-10-03 17:30 UTC-0400 David G. Holm <dholm@jsd-llc.com> * source/rtl/isprint.c - The Windows version doesn't work with RSXNT, due to link time errors, so exclude __RSXNT__ from the HB_OS_WIN_32 branches. 2001-09-30 17:20 GMT -3 Luiz Rafael Culik<culik@sl.conex.net> *source/rtl/filesys.c * Some minor changes to the Win32 section(Verify the return code of the function before make the call to GetLastError()) 2001-09-30 08:20 GMT -3 Luiz Rafael Culik<culik@sl.conex.net> *contrib/hbzlib/zipnew.cpp contrib/hbzlib/zipcomp.cpp contrib/hbzlib/zip.c contrib/hbzlib/hbzip2.h * Added an second code block to all Compress/extraction function * Added some guard com specific platform *contrib/hbzlib/doc/zipnew.txt * Updated the docs to reflect the library changes 2001-09-27 14:33 UTC+0100 Viktor Szakats * source/rtl/memofile.c ! MEMOWRIT() - Restored CA-Cl*pper compatibility. * source/rtl/dbedit.prg ! DBEDIT() - Restored CA-Cl*pper compatibility. * source/rtl/tbrowse.prg ! Fixed AutoLite/Hilite/DeHilite() support. Now DBEDIT() works as expected. 2001-09-27 01:52 GMT-3 Horacio Roldan <harbour_ar@yahoo.com.ar> * source/rtl/memofile.c * Fixed: MemoWrit added an EOF (0x1A) everytime (under Windows), Reported by Brian Hays. * Fixed: MemoRead didn't strip the EOF char (under Windows). 2001-09-26 18:38 GMT-3 Horacio Roldan <harbour_ar@yahoo.com.ar> * source/rtl/dbedit.prg * Fixed no-hilighting problem, sent by Wilson Velazquez 2001-09-24 08:45 GMT+1 Antonio Linares <alinares@fivetech.com> - contrib/hgf/gtk/tform.prg + contrib/hgf/gtk/form.prg * tform.prg module renamed as form.prg - contrib/hgf/gtk/tmenu.prg + contrib/hgf/gtk/menu.prg * tmenu.prg module renamed as menu.prg + contrib/hgf/gtk/dispatch.c * GTK c level to PRG level dispatcher + contrib/hgf/gtk/msginfo.c * GTK MsgInfo() implementation + contrib/hgf/gtk/creabutt.c * pushbuttons low-level creation. + contrib/hgf/gtk/winctrl.prg * Class HBWinControl + contrib/hgf/gtk/general.prg * some low-level functions + contrib/hgf/gtk/button.prg * Class HBButton * harbour/contrib/hgf/gtk/Makefile * harbour/contrib/hgf/gtk/creamenu.c * harbour/contrib/hgf/gtk/creawin.c * harbour/contrib/hgf/gtk/harbgtk.ch * harbour/contrib/hgf/gtk/harbgtk.h * harbour/contrib/hgf/gtk/menuitem.prg * harbour/contrib/hgf/gtk/shared.ch * some changes 2001-09-21 11:30 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> * contrib/rdd_ads/ads1.c ! Uploaded a fix, posted by Brian Hays * contrib/rdd_ads/adsfunc.c * contrib/rdd_ads/ads.ch * SET PATH TO <cpath> added * contrib/rdd_ads/doc/rddads.rsp * adsfuncs.txt item added * contrib/rdd_ads/doc/en/adsfuncs.txt ! minor formatting bug fixed 2001-09-18 02:06 UTC+0100 Viktor Szakats * source/vm/arrayshb.c ! HB_APARAMS() trace call removed. Thanks to Brian Hays. 2001-09-17 02:21 UTC+0100 Viktor Szakats * source/compiler/hbfunchk.c ! QSELF() compile time checking for the number of arguments. Thanks to Jose Lalin. 2001-09-16 20:40 GMT -3 Luiz Rafael Culik<culik@sl.conex.net> *contrib/libct/files.c * fixed compiler problem for MINGW 2001-09-13 06:02 UTC+0100 Viktor Szakats * source/vm/arrays.c ! hb_arraySize() fixed. Now it will do nothing if the passed size equals with the size of passed array. Caused mem. alloc. error with empty arrays. Reported by Brian Hays. 2001-09-11 10:37 GMT Dave Pearson <davep@davep.org> * source/rtl/profiler.prg * Renamed classes from HB_* to HB*. * tests/testprof.prg * Updated the code to use the new class names. 2001-09-11 12:11 UTC+0100 Viktor Szakats * source/vm/classes.c ! Changed one (hopefully) last occurence of TClass to HBClass * make_b16.bat make_b32.bat make_vc.bat makefile.bc makefile.vc * Some cleanups. * doc/en/command.txt doc/en/harbext.txt doc/en/objfunc.txt doc/en/tclass.txt doc/es/command.txt ! Classname changes applied to docs. 2001-09-10 23:53 UTC+0100 Viktor Szakats * source/rtl/dummy.prg - Removed commented out functions. ! Added CRLF to EOF * source/vm/classes.c ! Small correction to CVS header. * contrib/libmisc/fileread.prg contrib/odbc/todbc.prg include/hbclass.ch include/hbextern.ch samples/guestbk/inifiles.prg samples/guestbk/testcgi.prg source/debug/debugger.prg source/debug/tbrwtext.prg source/rtl/checkbox.prg source/rtl/dummy.prg source/rtl/getlist.prg source/rtl/getsys.prg source/rtl/listbox.prg source/rtl/memoedit.prg source/rtl/pushbtn.prg source/rtl/radiobtn.prg source/rtl/radiogrp.prg source/rtl/scrollbr.prg source/rtl/strings.c source/rtl/tclass.prg source/rtl/teditor.prg source/rtl/terror.prg source/rtl/tget.prg source/rtl/tgetlist.prg source/rtl/tlabel.prg source/rtl/tmenuitm.prg source/rtl/tobject.prg source/rtl/tpopup.prg source/rtl/treport.prg source/rtl/ttextlin.prg source/rtl/ttopbar.prg tests/clasinit.prg tests/classes.prg tests/clsdata.prg tests/debugtst.prg tests/dynobj.prg tests/inherit.prg tests/inifiles.prg tests/inline.prg tests/objarr.prg tests/objasign.prg tests/objects.prg tests/overload.prg tests/rtfclass.prg tests/stripem.prg tests/testcgi.prg tests/testhtml.prg tests/tstmacro.prg utils/hbtest/rt_misc.prg * Changed class names to avoid possible namespace collisions. TClass -> HBClass TObject -> HBObject TGetList -> HBGetList TEditor -> HBEditor TTextLine -> HBTextLine TLabelForm -> HBLabelForm TReportForm -> HBReportForm TGet -> removed (If someone used it anywhere please change it to "Get") TRadioGroup -> HBRadioGroup TScrollBar -> HBScrollBar TRadioBtn -> HBRadioButton TListBox -> HBListBox TPushButton -> HBPushButton The debugger classes were not renamed this time. * contrib/libct/makefile.bc ! Corrected typo in make file (could not compile). * source/rtl/radiobtn.prg ! Fixed class name. * source/rtl/listbox.prg ! Fixed two errors in class declaration ! Fixed one syntax error * source/rtl/scrollbr.prg ! Fixed incorrect #include "class.ch". ! Public variable (is it really needed ?) prefixed with "hb_p_" and MEMVAR declaration added. * source/rtl/strings.c * Updated copyright since all copyright was held by the one (me;) in the partial copyright section. * source/rtl/gtstd/gtstd.c ! C compiler warning fixed. * source/compiler/hbusage.c ! Typo fixed. 2001-09-09 17:30 GMT -3 Luiz Rafael Culik <culik@sl.conex.net> *makefile.bc makefile.vc source/rtl/Makefile + Scrollbr.prg and Listbox.prg to dependecie list +source/rtl/listbox.prg * CA-Cl*pper 5.3 compatible listbox Class +source/rtl/scrollbr.prg * CA-Cl*pper 5.3 compatible scroll bar Class *source/rtl/checkbox.prg *small change to isdefcolor function * Todo.txt Remove the CA-Cl*pper 5.3 classes entried 2001-09-09 21:00 MEST Martin Vogel <vogel@inttec.de> + contrib/libct/token2.c + Incremental tokenizer: TOKENINIT(), TOKENEXIT(), TOKENNEXT() TOKENNUM(), TOKENAT(), SAVETOKEN() RESTTOKEN(), TOKENEND() with some enhanced functionality + contrib/libct/tests/token2.prg + test program for incremental tokenizer - contrib/libct/ct.c + contrib/libct/ctc.c ! file renamed from ct.c to ctc.c, contains now C part of lib init/exit code + contrib/libct/ct.prg ! contains PRG part of lib init/exit code - contrib/libct/temper.c ! file removed since CELSIUS() and FAHRENHEIT() functions have already been implemted in num1.c * contrib/libct/Makefile * contrib/libct/makefile.bc * contrib/libct/makefile.vc * contrib/libct/cterror.ch * contrib/libct/ctflist.txt * contrib/libct/readme.txt * changes according to the above 2001-09-09 15:48 GMT+2 Maurilio Longo <maurilio.longo@libero.it> + contrib/hgf/os2pm/winctrl.prg + added + contrib/hgf/os2pm/button.prg + added + contrib/hgf/os2pm/edit.prg + added * contrib/hgf/os2pm/Makefile + added new files * contrib/hgf/os2pm/os2pm.c * modified and added new functions already added to win32.c * contrib/hgf/os2pm/os2pm.ch - removed all defines which are not currently needed, this makes os2pm.ch smaller and faster to compile. 2001-09-08 12:01 UTC-0800 Brian Hays <bhays@abacuslaw.com> - hb_slex.bc Removed unneeded file since Simplex uses makefile.bc now 2001-09-08 17:00 UTC+0100 Ryszard Glab <rglab@imid.med.pl> *source/vm/macro.c * fixed "memory not released" bug during object's variable assignment 2001-09-08 11:32 GMT+1 Antonio Linares <alinares@fivetech.com> * harbour/source/rtl/persist.prg extern HB_STOD added * harbour/contrib/hgf/win32/win32.ch some defines added * harbour/contrib/hgf/win32/makefile.bc module edit.prg added * harbour/contrib/hgf/win32/button.prg Some defines moved to win32.ch * harbour/contrib/hgf/win32/edit.prg Class HBEdit * harbour/contrib/hgf/tests/testctrl.prg HBEdit control test added 2001-09-08 00:01 UTC-0800 Brian Hays <bhays@abacuslaw.com> * hb_slex.bat * make_b32.bat * makefile.bc * integrated simplex instructions into makefile.bc 2001-09-07 13:06 GMT+1 Antonio Linares <alinares@fivetech.com> - harbour/contrib/hgf/win32/tform.prg + harbour/contrib/hgf/win32/form.prg tform.prg renamed as form.prg - harbour/contrib/hgf/win32/tmenu.prg + harbour/contrib/hgf/win32/menu.prg tmenu.prg renamed as menu.prg + harbour/contrib/hgf/win32/win32.ch Win32.ch constants definitions header file + harbour/contrib/hgf/win32/winctrl.prg Class HBWinControl + harbour/contrib/hgf/win32/button.prg Class HBButton * harbour/contrib/hgf/win32/makefile.bc updated + harbour/contrib/hgf/tests/testctrl.prg Testing Harbour GUI framework controls * harbour/contrib/hgf/win32/win32.c Some fixes and a new function ShowWindow() added * harbour/contrib/hgf/win32/menuitem.prg "T" Classes prefix changed into "HB" * harbour/contrib/hgf/tests/testform.prg * harbour/contrib/hgf/tests/formtext.prg * harbour/contrib/hgf/tests/form3res.prg * harbour/contrib/hgf/tests/form3.prg * harbour/contrib/hgf/tests/form2.prg "T" Classes prefix changed into "HB" * harbour/contrib/hgf/tests/form.hbf some minor changes * harbour/contrib/hgf/tests/build_b32.bat some minor fixes 2001-09-07 09:13 GMT Dave Pearson <davep@davep.org> * doc/readme.txt * Updated the pointer to dirstruc.txt (I'd committed the wrong version of the file last time, Doh!). 2001-09-07 08:40 GMT Dave Pearson <davep@davep.org> * doc/readme.txt * Added a pointer to dirstruc.txt. * doc/dirstruc.txt * Minor additions and corrections. 2001-09-06 21:20 GMT -3 Luiz Rafael Culik <culik@sl.conex.net> *makefile.vc hb_slex.vc * Renable build of hbrun by adding winspool.lib to LIB2 macro 2001-09-06 22:55 GMT +1 JFL (mafact) <jfl@mafact.com> * harbour/source/vm/classes.c __ObjSendMsg( Object, Message, xpar1, xparN ) Now generates a MessageNotfound error in case of unknow message sended 2001-09-06 22:20 GMT +1 JFL (mafact) <jfl@mafact.com> * harbour/hb_slex.vc synch. with hb_slex.bc * harbour/makefile.vc synch. with makefile.bc * harbour/source/rtl/isprint.c alloc.h => malloc.h LPSTR => LPBYTE 2001-09-06 14:50 GMT+1 Antonio Linares <alinares@fivetech.com> * harbour/source/rtl/persist.prg added methods LoadFromText() and LoadFromFile() * harbour/contrib/hgf/tests/form3.prg Added OnClick assignment test * harbour/contrib/hgf/tests/form3.hbf Added saved form OnClick property * harbour/contrib/hgf/tests/form3res.prg Loading persistence files at runtime sample 2001-09-06 14:39 UTC+0300 Chen Kedem <niki@synel.co.il> + doc/dirstruc.txt * add a document which list Harbour directory structure 2001-09-06 09:34 GMT+1 Antonio Linares <alinares@fivetech.com> * harbour/source/rtl/persist.prg Method CreateNew() added 2001-09-05 22:45 UTC-0800 Brian Hays <bhays@abacuslaw.com> * makefile.bc * hb_slex.bc * added defaults for ECHO and DEL macros so the make files are not dependent upon definitions in make_b32.bat and/or b32_slex.bat. 2001-09-05 11:25 UTC-0800 Brian Hays <bhays@abacuslaw.com> * b32_slex.bat * make_b32.bat + Added default setting for $(DEL) and $(ECHO). * makefile.bc + Added macros $(DEL) and $(ECHO) to allow needed redefinition under Win2K/Xp * hb_slex.bc * Synched with makefile.bc * source/compiler/harbour.slx * Removed unused piece of code in * source/compiler/simplex.c * changed two HB_SYMBOL_UNUSED() to (void) (to not use external macros in core simplex). 2001-09-05 12:24 GMT+1 Antonio Linares <alinares@fivetech.com> * harbour/source/rtl/persist.prg TPersistent renamed as HBPersistent * harbour/contrib/hgf/win32/tform.prg TPersistent changed for HBPersistent * harbour/contrib/hgf/win32/tmenu.prg TPersistent changed for HBPersistent * harbour/contrib/hgf/win32/menuitem.prg TPersistent changed for HBPersistent 2001-09-05 11:53 GMT+1 Antonio Linares <alinares@fivetech.com> * harbour/source/rtl/persist.prg Some changes as per Dave's proposal. * harbour/contrib/hgf/tests/testform.prg Some minor changes * harbour/contrib/hgf/tests/formtext.prg Some minor changes 2001-09-05 07:53 GMT Dave Pearson <davep@davep.org> * source/rtl/Makefile * Added perfuncs.prg to PRG_SOURCES. 2001-09-05 09:00 GMT+1 Antonio Linares <alinares@fivetech.com> + harbour/include/hbpers.ch Harbour persistence commands + harbour/source/rtl/perfuncs.prg Harbour persistence commands support functions * harbour/source/rtl/persist.prg HB_DToS() replaced by DToS() * harbour/makefile.bc perfuncs.prg module added + harbour/contrib/hgf/tests/form3.prg Sample of use of persistence files to build a form + harbour/contrib/hgf/tests/form3.hbf HGF form persistence file sample 2001-09-05 07:37 GMT+1 Antonio Linares <alinares@fivetech.com> * harbour/source/rtl/persist.prg HB_STOD() and HB_DTOS() use for dates management 2001-09-05 07:00 GMT+1 Antonio Linares <alinares@fivetech.com> * harbour/contrib/hgf/win32/tform.prg Property OnClick added and WM_LBUTTONDOWN msgs properly routed * harbour/contrib/hgf/tests/formtext.prg form OnClick property tested ok 2001-09-05 06:42 GMT+1 Antonio Linares <alinares@fivetech.com> * harbour/contrib/hgf/win32/tform.prg Added new properties Top, Left, Height and Width. * harbour/contrib/hgf/win32/win32.c Added new functions WinGetTop(), WinSetTop(), WinGetLeft(), WinSetLeft(), WinGetHeight(), WinSetHeight(), WinGetWidth(), WinSetWidth(). HB_PM_SHOWMODAL renamed as HB_FORMSHOWMODAL. 2001-09-02 16:15 GMT -3 Luiz Rafael Culik<culik@sl.conex.net> * source/rtl/isprint.c * Replaced HB_OS_WIN_32_USED with HB_OS_WIN_32 2001-09-04 22:50 GMT +1 JFL (mafact) <jfl@mafact.com> * harbour\include\hbclass.ch Improved support for PERSISTENT keyword (ACCESS and SETGET) * harbour\source\rtl\tobject.prg added two methods ... (Xbase++) ISDERIVEDFROM (Class(y)) ISKINDOF 2001-09-04 16:06 GMT+1 Antonio Linares <alinares@fivetech.com> * harbour/source/rtl/persist.prg oNew use fixed. Some formating fixes implemented also. 2001-09-04 11:50 GMT+1 Antonio Linares <alinares@fivetech.com> * harbour/contrib/hgf/win32/win32.c events routing implemented * harbour/contrib/hgf/win32/tmenu.prg inheritance from TPersistent implemented * harbour/contrib/hgf/win32/tform.prg events routing implemented. Inheritance from TPersistent implemented. * harbour/contrib/hgf/tests/form2.prg some little changes to test events routing + harbour/contrib/hgf/tests/formtext.prg testing forms view as text based on persistence 2001-09-04 11:30 GMT+1 Antonio Linares <alinares@fivetech.com> * harbour/source/rtl/persist.prg some improvements for arrays * harbour/tests/testpers.prg some improvements for testing nested arrays 2001-09-04 08:41 GMT+2 Maurilio Longo <maurilio.longo@libero.it> * contrib/hgf/os2pm/* ! fixed menu items handling under OS/2 where you cannot change a MIS_TEXT into a MIS_SUBMENU without first deleting MIS_TEXT and then inserting MIS_SUBMENU 2001-09-03 17:19 GMT Dave Pearson <davep@davep.org> * source/rtl/Makefile * Added persist.prg to PRG_SOURCES. 2001-09-03 16:56 GMT Dave Pearson <davep@davep.org> * source/rtl/isprint.c * Added missing comment close. 2001-09-03 11:30 GMT+1 Antonio Linares <alinares@fivetech.com> + harbour/contrib/hgf/gtk/makefile + harbour/contrib/hgf/gtk/creamenu.c + harbour/contrib/hgf/gtk/creawin.c + harbour/contrib/hgf/gtk/harbgtk.ch + harbour/contrib/hgf/gtk/shared.ch + harbour/contrib/hgf/gtk/harbgtk.h + harbour/contrib/hgf/gtk/menuitem.prg + harbour/contrib/hgf/gtk/tform.prg + harbour/contrib/hgf/gtk/tmenu.prg HGF GTK support by Marek Paliwoda 2001-09-02 21:30 GMT+1 Antonio Linares <alinares@fivetech.com> + harbour/source/rtl/persist.prg arrays support started 2001-09-02 19:30 GMT+1 Antonio Linares <alinares@fivetech.com> + harbour/source/rtl/persist.prg Class TPersistent to implement objects persistence + harbour/tests/testpers.prg objects persistence sample using Class TPersistent objects * harbour/makefile.bc persist.prg module added to Borland makefile. Notice that other makefiles should be updated 2001-09-02 18:32 GMT+1 Antonio Linares <alinares@fivetech.com> * harbour/source/vm/classes.c New function __ClsGetProperties() added. Syntax: __ClsGetProperties( <nClassHandle> ) --> <aPropertiesNames> 2001-09-02 13:10 GMT -3 Luiz Rafael Culik<culik@sl.conex.net> * source/rtl/isprint.c * Added code for win32 platform 2001-09-02 14:20 GMT+1 Antonio Linares <alinares@fivetech.com> * harbour/source/vm/classes.c Added BOOL bIsPersistent to the METHOD structure (notice that both datas and methods use that structure) * harbour/source/rtl/tclass.prg Added lPersistent parameter to AddMultiData, AddData and AddInline methods. * harbour/include/hboo.ch Added new defines HB_OO_DATA_PERSISTENT and HB_OO_MTHD_PERSISTENT * harbour/include/hbclass.ch Added new clause PERSISTENT or PROPERTY to both datas and methods. 2001-09-01 19:00 GMT+1 Antonio Linares <alinares@fivetech.com> * harbour/contrib/hgf/win32/tmenu.prg METHOD FindItem( nId ) added * harbour/contrib/hgf/win32/tmenuitm.prg METHOD FindItem( nId ) added 2001-09-01 09:00 GMT+1 Antonio Linares <alinares@fivetech.com> + harbour/contrib/hgf/win32/tests/form2.prg Harbour Class TForm inheritance sample 2001-09-01 08:35 GMT+1 Antonio Linares <alinares@fivetech.com> + harbour/contrib/hgf/win32/make_b32.bat batch file to invoke the makefile for Harbour GUI framework Win32 using Borland C compiler + harbour/contrib/hgf/win32/makefile.bc makefile for Harbour GUI framework Win32 using Borland C compiler * harbour/contrib/hgf/win32/win32.c * harbour/contrib/hgf/win32/tform.prg * harbour/contrib/hgf/win32/tmenu.prg * harbour/contrib/hgf/win32/tmenuitm.prg some minor fixes + harbour/contrib/hgf/win32/tests/build_b32.bc batch file to build Harbour GUI framework for Win32 tests + harbour/contrib/hgf/win32/tests/testform.prg Harbour GUI framework for Win32 TestForm.prg sample 2001-08-31 14:30 UTC-0400 David G. Holm <dholm@jsd-llc.com> * config/os2/icc.cf * source/vm/Makefile * Build and use mainstd.c for OS/2 instead of main.c in order to avoid the main.c build dependencies. Note to builders of OS/2 binary distributions: Please be sure to include both the mainstd and mainpm object files! 2001-08-31 12:15 GMT+1 Ignacio Ortiz <ignacio@fivetech.com> * source/bin/bld.bat * source/include/extend.api * source/include/clipdefs.h * source/tests/testget.prg * Return to previous revision due a mistake in last CVS process 2001-08-31 11:32 GMT+1 Antonio Linares <alinares@fivetech.com> + harbour/source/vm/mainlgtk.c Added Marek Paliwoda's Linux GTK application entry point 2001-08-28 21:10 GMT -3 Luiz Rafael Culik <culik@sl.conex.net> * added #include "dir.h" inside platform tags 2001-08-30 16:30 UTC-0400 David G. Holm <dholm@jsd-llc.com> * config/os2/gcc.cf * config/os2/icc.cf + Automatically deal with different linker requirements for Presentation Manager programs and VIO programs. * contrib/hgf/os2/os2pm.c ! Removed hWndFrame variable from HB_FUNC( WINCREATESTDWINDOW ), because it isn't needed and causes problems in C++ mode. * doc/gmake.txt + Added mention of w32/bcc32. + Added mention of os2/gcc and os2/icc with the new os2pm. * source/vm/Makefile ! Always build both main and mainpm for OS/2 builds, because the choice of which to use is a program link-time choice, not a Harbour build-time choice. 2001-08-30 19:00 GMT+1 Ignacio Ortiz <ignacio@fivetech.com> * source/rtl/memoline.c * source/rtl/mlcount.c * source/rtl/tget.prg * source/rtl/transfrm.c * Return to previous revision due a mistake in last CVS process 2001-08-30 15:38 GMT Dave Pearson <davep@davep.org> * source/rtl/Makefile * Added mlctopos.c and mpostolc.c to C_SOURCES. 2001-08-30 15:03 GMT+2 Maurilio Longo <maurilio.longo@libero.it> * contrib/hgf/os2pm/* * changed to add client window repainting capabilities. 2001-08-30 13:15 GMT+1 Ignacio Ortiz <ignacio@fivetech.com> + source/rtl/mlctopos.c + source/rtl/mpostolc.c * The last two memo Standard Clipper functions missing * makefile.bc * To include the two files. Please someone check other make files * source/rtl/dummy.prg * removed mlctopos and mpostolc dummy functions * doc/funclist.txt * change state to ready for mpostolc and mlctopos 2001-08-30 09:31 GMT+2 Maurilio Longo <maurilio.longo@libero.it> * contrib/hgf/os2pm/Makefile * Corrected because now subdir is one level deeper than it was before 2001-08-30 09:31 GMT+2 Maurilio Longo <maurilio.longo@libero.it> * contrib/os2pm/*.* - removed all files + contrib/hgf/os2pm + contrib/hgf/os2pm/os2pm.c + contrib/hgf/os2pm/tform.prg + contrib/hgf/os2pm/os2pm.ch + contrib/hgf/os2pm/tmenu.prg + contrib/hgf/os2pm/tmenuitm.prg + contrib/hgf/os2pm/Makefile + added all files for IBM OS/2 version of HGF 2001-08-28 21:10 GMT -3 Luiz Rafael Culik <culik@sl.conex.net> + contrib/libct/files.c * CT3 compatible functions for Fileattr,fileseek,filedate,filetime,setfattr + contrib/libct/temper.c * CT3 compatible functions Celcius e Fahrenheit *contrib/libct/Makefile Added temper.c and files.c 2001-08-28 19:21 GMT+2 Maurilio Longo <maurilio.longo@libero.it> * contrib/os2pm/*.* * changes to every file to add menu creation capabilities 2001-08-27 20:50 GMT -3 Luiz Rafael Culik <culik@sl.conex.net> *utils/hbmake/hbmake.prg * Fixes related to path finding to Apps(C compiler and harbour.exe) * Small fix for hbmake library mode for linux(the generated make file) 2001-08-27 18:10 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> + contrib/hgf/win32 * New directory added + contrib/hgf/win32/win32.c * Win32 GUI layer + contrib/hgf/win32/tform.prg + contrib/hgf/win32/tmenu.prg + contrib/hgf/win32/tmenuitm.prg * copied from contrib/os2pm with minor changes 2001-08-25 03:05 UTC-0800 Brian Hays <bhays@abacuslaw.com> * contrib/dot/pp.prg * added note: This is being expanded independently from Harbour at this Sourceforge project: https://sourceforge.net/projects/xbase-script/ * source/compiler/harbour.sly * copied Ryszard's last fix to harbour.y 2001-08-24 22:15 GMT -3 Luiz Rafael Culik <culik@sl.conex.net> +source/rtl/pushbtn.prg *Push Button Class Compatible with CA-Cl*pper 5.3 *hb_slex.bc makefile.bc hb_slex.vc makefile.vc source/rtl/makefile *Added pushbtn.prg to dependencie list *include/hbgetcmt.ch *Added Command for creating push buttons 2001-08-24 23:40 GMT+2 Maurilio Longo <maurilio.longo@libero.it> + contrib/os2pm/tmenu.prg + contrib/os2pm/tmenuitm.prg + added * contrib/os2pm/tform.prg * contrib/os2pm/os2pm.c + added harbour licence and new methods and support functions 2001-08-24 16:40 GMT+2 Maurilio Longo <maurilio.longo@libero.it> * contrib/os2pm/os2pm.c * moved here functions from mainpm.c * * contrib/os2pm/tform.prg + added new methods * source/vm/mainpm.c - removed a couple of helper functions which belong to os2pm.c 2001-08-24 16:03 GMT+2 Maurilio Longo <maurilio.longo@libero.it> + contrib/os2pm + contrib/os2pm/os2pm.c + contrib/os2pm/tform.prg + contrib/os2pm/os2pm.ch + contrib/os2pm/Makefile + added files of an early implementation of a generic GUI framework for harbour. At present time they work only under OS/2 PM 2001-08-23 23:18 GMT Dave Pearson <davep@davep.org> * source/rtl/profiler.prg * Minor tidy-up of a couple of comments. * tests/testprof.org * Updated to test the various reporting classes. 2001-08-23 22:51 GMT Dave Pearson <davep@davep.org> * doc/readme.txt * Cut down to a bare minimum. Most of the information in there was out of date. The document now simply states the aim of harbour, points the reader at the website and the FAQ and reminds them that they'll find copious documentation in the same place that they found the README file. 2001-08-23 23:13 GMT+2 Maurilio Longo <maurilio.longo@libero.it> * source/vm/Makefile + if HB_GT_LIB == os2pm then compiles mainpm.c instead of main.c * source/vm/mainpm.c * little changes to make it work. NOTE: after gcc creates an executable file you need to issue an: emxbind -ep filename.exe to mark it as a PM executable, failing to do so the executable file is a VIO one and all calls to WinXxx() functions will fail 2001-08-23 16:43 GMT+2 Maurilio Longo <maurilio.longo@libero.it> + source/vm/mainpm.c + added mainpm.c entry point for OS/2 Presentation Manager applications based on FiveWin GUI library 2001-08-23 14:22 GMT+2 Maurilio Longo <maurilio.longo@libero.it> * source/rtl/tbrowse.prg * changed/optimized ::DispCell() and ::RedrawHeaders() methods. A little faster now. 2001-08-22 17:01 GMT Dave Pearson <davep@davep.org> * source/rtl/gtcrs/gtcrs.c * Fixed incorrectly named variable (uRow -> Row) in hb_gt_VertLine(). 2001-08-22 12:45 UTC-0400 David G. Holm <dholm@jsd-llc.com> * source/rtl/gtcgi/gtcgi.c * source/rtl/gtcrs/gtcrs.c * source/rtl/gtdos/gtdos.c * source/rtl/gtos2/gtos2.c * source/rtl/gtpca/gtpca.c * source/rtl/gtsln/gtsln.c * source/rtl/gtstd/gtstd.c * source/rtl/gtwin/gtwin.c ! I forgot the comment style rule and had used two // style comments in each GT module. They now use the /* */ style. (I also converted a couple of other // style comments in gtstd to the /* */ style). 2001-08-22 01:42 GMT+2 Maurilio Longo <maurilio.longo@libero.it> * source/rtl/tbrowse.prg * now that DispBox() works as expected I can use it even for 1 line headers/ footers inside ::RedrawHeaders() 2001-08-22 01:25 GMT+2 Maurilio Longo <maurilio.longo@libero.it> * source/rtl/gtos2.c + Driver tries to set codepage 437 on startup. Needed by box drawing functions * hb_gt_isColor(), hb_gt_GetScreenWidth(), hb_gt_GetScreenHeight(), hb_gt_GetCellSize() now are faster since use a static VIDEOMODEINFO variable and this variable should be tilable. ! hb_gt_xPutch(), hb_gt_Replicate() and hb_gt_Box() were simply broken NOTE: Never call hb_gt_DispBegin()/hb_gt_DispEnd() from inside gtos2.c if you do you'll slow down everything and you will not respect harbour level DispBegin()/DispEnd() calls. 2001-08-21 16:45 UTC-0400 David G. Holm <dholm@jsd-llc.com> * source/rtl/gtcgi/gtcgi.c * source/rtl/gtcrs/gtcrs.c * source/rtl/gtdos/gtdos.c * source/rtl/gtos2/gtos2.c * source/rtl/gtpca/gtpca.c * source/rtl/gtsln/gtsln.c * source/rtl/gtstd/gtstd.c * source/rtl/gtwin/gtwin.c ! Bug fix for box clipping at right screen edge. + Minor optimizations for detecting box clipping at right and bottom screen edges. 2001-08-21 14:35 UTC-0400 David G. Holm <dholm@jsd-llc.com> * source/rtl/gtcrs/gtcrs.c * Renamed uRow variable to Row in hb_gt_VertLine(), to match the name in the other GT libraries and because it is not unsigned. 2001-08-21 08:30 GMT Dave Pearson <davep@davep.org> * source/compiler/gencobj.c * Fixed bugs 453424 (compiler core dumps on GNU/Linux when no harbour.cfg can be found) and 453425 (an empty harbour.cfg fails to correctly report that no compiler command has been specified. 2001-08-21 01:30 UTC-0800 Brian Hays <bhays@abacuslaw.com> * contrib/libgt/bitflags.c added the cvs header + todo.txt first stab at a todo list 2001-08-20 11:55 UTC-0800 Brian Hays <bhays@abacuslaw.com> * contrib/rdd_ads/ads1.c * fixed subIndexing. * optimized DBI_GETLOCKARRAY and fixed memory leak * adsOrderListFocus() failed on space-padded strings * adsGoTo: if on same record, refresh. Fixed issues that arose from minor bugs in ADS when using relations in versions prior to 6.1 * adsAppend() added error handling * fixed file lock/unlock, and record locking to support dbrlock lock list maintenance (and memory leak when no recno was passed to dbrlock()) * contrib/rdd_ads/adsfunc.c * adssetServerType now returns any error numbers + added AdsRefreshRecord, AdsIsTableLocked, AdsIsRecordLocked * source/rdd/dbcmd.c * Set NetErr flag to True for failed dbAppend() * fixed ordCondSet parameters. See pptable.c below. + contrib/libgt/bitflags.c + Dave Pearson's bitflags.c, which I ported to Harbour. Has functions to use a Harbour string for storing On/Off bit flags. * contrib/libgt/doc/en/ht_gt.txt + added docs from Dave Pearson's bitflags.c * source/pp/pptable.c * Alexander Kresin's fix for 5.3 compatible parameters for INDEX ON and ordCondSet(). WARNING! IF you had hard-coded calls to this function, and used any parameters after the 11th one, you have to change your code! Or, if you have a header that translates INDEX ON for clauses USECURRENT, ADDITIVE, CUSTOM or NOOPTIMIZE, these parameters are shifted back now. The parameter list was incorrectly handled before because of the 12th parameter that is always NIL. See Harbour Archives, subject "XINDEX warning" for details 2001-08-21 06:47 GMT Dave Pearson <davep@davep.org> * source/rtl/gtcrs/gtcrs.c * Fixed incorrectly named variable (Row -> uRow) in hb_gt_VertLine(). 2001-08-20 23:35 UTC-0400 David G. Holm <dholm@jsd-llc.com> * include/hbapigt.h * source/rtl/gtapi.c * source/rtl/gt_tpl/gt_tpl.c * source/rtl/gtcgi/gtcgi.c * source/rtl/gtcrs/gtcrs.c * source/rtl/gtdos/gtdos.c * source/rtl/gtos2/gtos2.c * source/rtl/gtpca/gtpca.c * source/rtl/gtsln/gtsln.c * source/rtl/gtstd/gtstd.c * source/rtl/gtwin/gtwin.c * Changed all row and column parameters for the box and line drawing functions from USHORT to SHORT. - Removed all box and line drawing boundary checks from gtapi.c + Added the appropriate box and line boundary checks to the various GT API library sources to properly implement clipping. 2001-08-20 23:30 UTC-0400 David G. Holm <dholm@jsd-llc.com> * source/rtl/set.c ! Synchronize SET CENTURY with SET DATE FORMAT. 2001-08-20 20:15 GMT -3 Luiz Rafael Culik <culik@sl.conex.net> *utils/hbmake/hbmake.prg *fixed some problem on library edit mode 2001-08-20 22:20 GMT +1 JFL (mafact) <jfl@mafact.com> harbour/source/vm/hvm.c * reversed my previous modif till I have it working :-( harbour/source/vm/classes.c * reversed my previous modif till I have it working :-( 2001-08-20 17:45 UTC+0100 Ryszard Glab <rglab@imid.med.pl> *include/hbexprb.c *source/compiler/exproptb.c *source/compiler/genc.c *source/compiler/hbpcode.c * fixed bug in "¯o" and ¯o() syntax 2001-08-20 14:02 GMT Dave Pearson <davep@davep.org> * config/test.cf * Added an empty "install:" target. 2001-08-19 23:30 GMT +1 JFL (mafact) <jfl@mafact.com> harbour/include/hbapi.h * changed structure of _HB_BASEARRAY (puiClsTree) * suppressed uiClsTree not anymore needed harbour/source/vm/arrays.c * modified ArrayRelease() to handle the release of puiClsTree pointer harbour/source/vm/classes.c * Changed the way MsgSuper() return a Super Object. Now ::Super(::nX) is allowed ::Super:Classname() return the superClassName. * Added some code to check or validate puiClsTree * improved validation of scoping harbour/source/vm/hvm.c * Changed vmdo as vmsend to handle the new SuperObject 2001-08-19 10:50 GMT -3 Luiz Rafael Culik <culik@sl.conex.net> *source/rdd/rddord.prg *Mapped functions to 10 character for ORDLISTCLE(),ORDLISTREB(),ORDSETFOCU() 2001-08-19 10:40 GMT -3 Luiz Rafael Culik <culik@sl.conex.net> +source/rdd/dbfuncs.prg * Code for CA-Cl*pper MApper DB function to 10 characters The follow functions were mapped: DBCLEARFIL(),DBSETDRIVE(),DBSETRELAT(),DBRLOCKLIS(),DBCLOSEARE() RDDSETDEFA(),DBSELECTAR(),DBUNLOCKAL(),DBCLEARREL(),DBSETFILTE() DBFIELDINF(),DBORDERINF(),DBRECORDIN() *makefile.bc makefile.vc hb_slex.bc hbslex.vc source/rdd/Makefile * Added dbfuncs.prg to depedence list 2001-08-18 17:00 MEST Martin Vogel <vogel@inttec.de> * contrib/libct/range.c * contrib/libct/wordtoch.c * small changes to remove warnings on linux/gcc. 2001-08-18 16:45 MEST Martin Vogel <vogel@inttec.de> + contrib/libct/numat.c + NUMAT() function + contrib/libct/pad.c + PADLEFT(), PADRIGHT() functions + contrib/libct/range.c + RANGEREM(), RANGEREPL() functions + contrib/libct/remove.c + REMALL(), REMLEFT(), REMRIGHT() functions + contrib/libct/replace.c + REPLALL(), REPLLEFT(), REPLRIGHT() functions + contrib/libct/strswap.c + STRSWAP() function + contrib/libct/wordtoch.c + WORDTOCH() function * contrib/libct/Makefile * contrib/libct/makefile.bc * contrib/libct/makefile.vc + numat.c, pad.c, range.c, remove.c, replace.c, strswap.c and wordtoch.c added * contrib/libct/ctflist.txt * function status updated 2001-08-17 22:15 GMT -3 Luiz Rafael Culik<culik@sl.conex.net> *source/compiler/gencobj.c *added conditional for _MSC_VER when checking if harbour -o is used 2001-08-17 18:10 UTC-0400 David G. Holm <dholm@jsd-llc.com> * doc/en/hb_set.txt * include/hbset.h * source/rtl/set.h + Added a primitive SET listener API. 2001-08-18 00:11 GMT+2 Maurilio Longo <maurilio.longo@libero.it> * source/rtl/tbrowse.prg * source/rtl/tbcolumn.prg + Added multi-line column header/footer support to TBrowse 2001-08-17 16:10 UTC-0400 David G. Holm <dholm@jsd-llc.com> Update from "Fergus McDonald" <listsub@qvolution.com>: * source/rtl/gtstd/gtstd.c * tests/gtstdtst.c + Added conditional functionality for MS C compiler to use io and conio libs to map stdin in the same manner as already implemented for unix version (i.e. no blocking). That is, if stdin is coming from console, inkey() returns 0 if no key waiting, and if stdin is coming from a file, inkey() returns each char of file and then always returns 0 once EOF is reached. 2001-08-17 20:15 UTC+0100 Ryszard Glab <rglab@imid.med.pl> *doc/en/compiler.txt *source/compiler/hbusage.c *updated to keep current state of compiler switches *include/hbexprc.c *fixed support for "¯o" syntax (macro was not expanded in cases: "¯o.&(macro)" *include/hbapi.h *include/hbexprb.c *source/vm/hvm.c *source/vm/macro.c *optimized support for compile time switches synchronization *source/compiler/harbour.y *fixed support for #line directive 2001-08-17 15:09 GMT+2 Maurilio Longo <maurilio.longo@libero.it> * source/rtl/tbrowse.prg ! fixed ::DispCell() cursor positioning (broken with latest changes to implement picture handling) * changed ::autolite handling ! fixed ::GoBottom() method which was not repainting TBrowse correctly if available records were less than available rows. 2001-08-16 16:30 UTC-0400 David G. Holm <dholm@jsd-llc.com> * source/pp/pptable.c + Added a translation for SET EVENTMASK TO <nEventMask> to SET(_SET_EVENTMASK,<nEventMask>) 2001-08-14 23:53 GMT+1 Patrick Mast <harbour@PatrickMast.com> * contrib/tprepro/tprepro.prg * Bug fix in TranslateFile() method 2001-08-13 23:18 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> * source/vm/mainwin.c * added hInstance assignment to hb_hInstance 2001-08-11 22:45 GMT -3 Luiz Rafael Culik <culik@sl.conex.net> * include/hbextern.ch * removed extern declaration for ALTD() function * source/rtl/tbrowse.prg * Added support for Autolite = .f. (I hope this is the right fix) 2001-08-11 08:40 GMT -3 Luiz Rafael Culik <culik@sl.conex.net> *tests/testbrw.prg * updated to show the use of pictures with tbrowse *include/hbextern.ch * added some missing extern declaration 2001-08-10 13:30 UTC-0400 David G. Holm <dholm@jsd-llc.com> * source/rtl/dbdelim.prg * source/rtl/dbsdf.prg + Added a run time error (9999, Operation not supported) when trying to use APPEND FROM DELIMITED or APPEND FROM SDF, with default allowed. 2001-08-10 12:15 UTC-0400 David G. Holm <dholm@jsd-llc.com> * source/vm/extend.c Submitted by Ricardo Ramirez R. <rramirez@crownlitometal.com> ! Allow hb_stor... functions to store to arrays passed by reference 2001-08-09 20:45 UTC-0800 Ron Pinkas <ron@profit-master.com> * contrib/dot/pp.prg * Corrected logic for closing ppo output file. 2001-08-09 17:45 UTC-0800 Ron Pinkas <ron@profit-master.com> * source/compiler/harbour.c * Minor correction to handling of HB_FS_FIRST * source/vm/hvm.c * Added extern "C" protection to hb_macroAutoSetMacro() declaration. 2001-08-08 15:30 UTC-0400 David G. Holm <dholm@jsd-llc.com> * tests/gtstdtst.prg Submitted by "Fergus McDonald" <listsub@qvolution.com> + New test module for GTSTD terminal driver. * source/rtl/gtstd/gtstd.c Submitted by "Fergus McDonald" <listsub@qvolution.com> ! changed some internal char * items to BYTE * to better match external functions ! Max row/col is 24/80 for unix compatible (would be better to do this for all) ! ReadKey implementation for unix compatible OS: ch value wasn't been initialised and only least-significant byte being set by fread() - upper byte of the int value was random, leading to spurious ReadKey return values ! Fixed missing/extra outputting of newline character in SetPos and Scroll functions ! Added use of backspace char to respond to leftward cursor repositioning requests ! Added output of BEL character for tone() calls, with tracking of system time to limit BEL outputs to 1 per second max I've only tested this under GNU/linux and gcc. The ReadKey is still only implemented for UNIX_COMPATIBLE_OS. Redirection of stdin/stdout still works ok. To preserve the ability to accept redirected stdin, I think maeans there should never be remapping of any keycodes in this driver. Would be nice to have a way to pass in ALT-C though. 2001-08-09 02:30 UTC-0800 Ron Pinkas <ron@profit-master.com> * source/vm/macro.c * include/hbcomp.h * include/hbexprb.c * include/hbexprc.c * include/hbmacro.h * include/hbmsetup.h * include/set.ch * source/compiler/cmdcheck.c * source/compiler/genc.c * source/compiler/harbour.c * source/compiler/hbpcode.c * source/rdd/dblist.prg * source/vm/hvm.c - Removed support for syncing of macro setting with main module. - Removed support for -ks which is replaced with -kr. + Added default logic to auto symchronize all macro activations with the compile time switches of each respective module. + Added -kr to disable auto synching, thus allowing Run-Time setting by means of HB_SETMACRO(). 2001-08-09 00:07 GMT+2 Maurilio Longo <maurilio.longo@libero.it> * source/rtl/seconds.c * changed HB_CLOKS2SECS to make it return a double (like Seconds()) this way profiler is able to show not only seconds spent inside a function but even tenths and hundredths. 2001-08-08 23:52 GMT+2 Maurilio Longo <maurilio.longo@libero.it> * include/hbvmpub.h * source/vm/classes.c * source/vm/hvm.c * source/vm/dynsym.c ! Fixed profiler counting of time elapsed inside recursive functions. It still has to be fixed for methods. NOTE: My knowledge of harbour VM is very poor. I hope I didn't break anything else :-)) ! Fixed a few warnings inside hb_vmDo() and hb_vmSend() * source/vm/arrayshb.c ! Fixed isalnum() call on line 359, isalnum() requires an int 2001-08-07 17:40 UTC-0800 Ron Pinkas <ron@profit-master.com> * doc/en/clipper.txt * Minor typo correction. 2001-08-07 23:11 GMT Dave Pearson <davep@davep.org> * doc/en/clipper.txt * Fixed a spelling mistake and added an ID tag. 2001-08-07 17:30 UTC-0400 David G. Holm <dholm@jsd-llc.com> * source/rtl.net.c ! The OS/2 version is only for GCC builds. 2001-08-07 13:45 UTC+0100 Ryszard Glab <rglab@imid.med.pl> * doc/en/compiler.txt *updated to keep current compiler state * include/hbcomp.h * source/compiler/cmdcheck.c * source/compiler/genc.c * source/compiler/harbour.c * source/compiler/hbusage.c * added a new switch -ks that request the synchronization of compile time and runtime options (enabled by default). Use -kc to disable it. * source/compiler/harbour.l * fixed bug when HB_INLINE is interpreted as an identifier (-ki option) 2001-08-07 01:10 UTC-0800 Ron Pinkas <ron@profit-master.com> + doc/en/clipper.txt + New file describing Harbour features that are different from Clipper. * include/hbpcode.h * Corrected typo in comment /* Thanks to Dave for info. */ 2001-08-06 23:50 UTC-0800 Ron Pinkas <ron@profit-master.com> * source/compiler/harbour.c ! Corrected assigment of HB_FS_FIRST scope, for proper execution of first non INIT/EXIT procedure in main module. * source/compiler/genc.c * source/vm/hvm.c ! Improved sync logic of HB_SETMACRO() level, to only activate once per application before any prg level code is executed. 2001-08-06 20:50 UTC-0400 David G. Holm <dholm@jsd-llc.com> * source/rtl/math.c ! Added missing type override for hb_xgrab return value on line 99 (type overrides are *mandatory* for hb_xgrab and hb_xrealloc, so that Harbour can be built using C++ compilers). * source/rtl/gtsln/gtsln.c * contrib/libct/ctstr.c ! Fixed typos causing compile errors with HB_TR_DEBUG and gcc. Case error in variable names in debug info calls (e.g. nstrLen instead of nStrLen). Fixed by "Fergus McDonald" <listsub@qvolution.com> 2001-08-06 20:30 GMT -3 Luiz Rafael Culik <culik@sl.conex.net> *source/rtl/tbrowse.prg * Fixed support to display pictures in TBrwose. Thanks for Manu Exposito <maex14@dipusevilha.es> 2001-08-06 09:15 UTC-0800 Ron Pinkas <ron@profit-master.com> * source/compiler/genc.c ! Improved sync logic of HB_SETMACRO() level, to only activate once per module with same level used by compiler. 2001-08-06 10:33 UTC+0300 Chen Kedem <niki@synel.co.il> * doc/funclist.txt ! Fix excessive use of global replace forcing 'n' or 'N' into 'S' * doc/en/macro.txt - Remove "<file[.prg]>" from line #19 (Copy & Paste mistake) * Small formating * doc/en/var.txt + doc for __ISMV() 2001-08-05 18:00 GMT -3 Luiz RafaelCulik<culik@sl.conex.net> * doc/en/compiler.txt * Updated provided by Fergus McDonald 2001-08-05 12:15 UTC-0800 Ron Pinkas <ron@profit-master.com> + include/hbmsetup.h * include/hbmacro.h * Moved #defines of HB_SM_* to new file hbmsetup.h * source/compiler/harbour.c * source/vm/macro.c * source/compiler/genc.c + Added logic to automatically synchronize HB_SETMACRO() level with the -k option supplied to compiler. /* HB_SETMACRO() may still be called explictly, but now specifying any -k option to harbour will automatically provide same level of functionalty in macro compiler. Example: harbour test -kc will restrict the compiler to the Clipper level mode, and will automatically disable extended macro support in that module without requiring: HB_SETMACRO( HB_SM_HARBOUR, .F. ) HB_SETMACRO( HB_SM_XBASE, .F. ) By default all harbour extensions are enabled - you can use -kc, -kx -ki, etc., to disable any unwanted feature. We should still review the need to have -ki which I find absolutley redundant and unproductive. */ 2001-08-05 22:58 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> * source/vm/memvars.c + Two functions added: hb_memvarGetVarHandle() and hb_memvarGetValueByHandle() 2001-08-05 14:20 UTC+0100 Ryszard Glab <rglab@imid.med.pl> *include/hbcomp.h *source/compiler/cmdcheck.c *source/compiler/hbusage.c * added new command line switch: -ki * added new flag: HB_COMPFLAG_HB_INLINE This switch enables support for HB_INLINE syntax (by default it is disabled) * all options used with -k switch are letter case sensitive * -kc (Clipper compatibility) clears all other switches (minimal set of features) *source/compiler/harbour.l * added support for -ki command line switch *source/compiler/harbour.sly *source/compiler/harbour.y * fixed line numer issues in generated pcode 2001-08-04 18:40 GMT -3 Luiz Rafael Culik<culik@sl.conex.net> *utils/hbmake/hbmake.prg * Small fix to the library edit mode of hbmake 2001-08-04 13:50 UTC-0800 Ron Pinkas <ron@profit-master.com> * source/compiler/harbour.l * source/compiler/harbour.slx * Added inline c support for hb_comp_iLanguage == LANG_OBJ_MODULE * source/compiler/harbour.sly * Added support for HB_COMP_ISSUPPORTED( HB_COMPFLAG_XBASE ) in Statement : ( MacroVar and MacroExpr ) to sync with harbour.y 2001-08-04 11:00 UTC-0800 Ron Pinkas <ron@profit-master.com> * source/vm/macro.c ! Added missing ; in line 956 2001-08-04 15:15 UTC+0100 Ryszard Glab <rglab@imid.med.pl> * doc/en/compiler.txt * include/hbapi.h * include/hbcomp.h * include/hbexpra.c * include/hbexprb.c * include/hbmacro.h * source/compiler/cmdcheck.c * source/compiler/expropta.c * source/compiler/exproptb.c * source/compiler/harbour.c * source/compiler/harbour.y * source/compiler/hbfunchk.c * source/compiler/hbusage.c * added command line switch which controls a compilation compatibility level -k<modes> Currently supported modes (can be joined): -kc ==> 100% Clipper compatible (with some obvious bugs fixed) -kh ==> harbour extensions enabled (default) -kx ==> other xbase dialects extensions * new macro HB_COMP_ISSUPPORTED(<mode>) to check if a feature is enabled. Currently supported modes (defined in hbcomp.h): HB_COMPFLAG_HARBOUR ==> -kh HB_COMPFLAG_XBASE ==> -kx * extended macro support for expression lists is disabled by default (latest Ron's additions) - use -kx switch to enable * include/set.ch * source/vm/macro.c * source/macro/macro.y * source/macro/macroa.c * source/macro/macrob.c * added HB_SETMACRO() function to control various compatibility issues at the runtime. HB_SETMACRO( <nFeature>, <lOnOff> ) This controls the macro compiler's features. The feature can be either enabled (.T.) or disabled (.F.) Currently available features (defined in set.ch file) HB_SM_HARBOUR => (enabled by default) enable/disable harbour extensions HB_SM_XBASE => (disaled by default) enable/disable xbase dialects extensions HB_SM_SHORTCUTS => (enabled by default) enable/disable shortcut evaluation of logical expressions HB_SM_PREPROC => enable/disable preprocessing (if harbour is build with HB_MACRO_STATEMENTS option) * source/rdd/dblist.prg * the array of expressions is scanned for extended macro lists when xbase compatibility is enabled (see HB_SETMACRO()) * source/vm/asort.c * moved HB_ASORT_OPT_ITEMCOPY setting to hbsetup.h * include/hbsetup.h * updated/added descriptions of all #ifdef settings used in the harbour code (Please keep updated this file (and hbsetup.ch) if a new setting is used) + doc/en/macro.txt * initial documentation for macro compiler * documentation of HB_SETMACRO() function 2001-08-04 00:06 GMT Dave Pearson <davep@davep.org> * doc/whatsnew.txt * Brought the document up to date. 2001-08-03 19:30 GMT -3 Luiz Rafael Culik<culik@sl.conex.net> *Changelog *renamed to Changelog.011 and started an new one *utils/hbmake/radios.prg utils/hbmake/radios.ch Small changes on this function due an change on the hbmake edit mode *utils/hbmake/hbmake.prg +gl option to tell that the compiler is gcc under linux *fixes to the edit mode to be more compatible with linux *Now Setbuild() return the command line to gcc(Linux and Os/2) insted of an response file 2001-08-03 13:23 GMT Dave Pearson <davep@davep.org> * source/rtl/profiler.prg + Added HB_Profile::ignoreSymbol(). * Changed HB_Profile::gather() to use HB_Profile::ignoreSymbol() to decide if a symbol should be ignored. This will let developers modify what is and isn't ignored by subclassing HB_Profile and implementing their own version of HB_Profile::ignoreSymbol(). 2001-08-02 10:00 UTC-0800 Ron Pinkas <ron@profit-master.com> * contrib/dot/pp.txt * Corrected typos. * include/hbpcode.h * Corrected comments for HB_P_MACROLIST and HB_P_MACROLISTEND 2001-07-31 10:10 UTC-0800 Ron Pinkas <ron@profit-master.com> * source/vm/arrayshb.c + Added HB_FUNC( HB_AEXPRESSION ) * source/rdd/dblist.prg - Removed FUNCTION HB_aExpressions() 2001-07-30 10:15 UTC-0800 Ron Pinkas <ron@profit-master.com> * source/rdd/dblist.prg - Removed HB_aTokens() + Added HB_aExpressions() * Changed call to HB_aTokens() to HB_aExpressions() 2001-07-30 14:54 GMT Dave Pearson <davep@davep.org> * source/rtl/profiler.prg * Restored the OO based profile reporter. 2001-07-30 16:40 UTC+0300 Chen Kedem <niki@synel.co.il> * doc/en/memvar2.txt * doc/en/sayget.txt * doc/en/strotype.txt * doc/es/array.txt * doc/es/binnum.txt * doc/es/browse.txt * doc/es/command.txt * doc/es/compiler.txt * doc/es/datetime.txt * doc/es/dir.txt * doc/es/diskspac.txt * doc/es/error.txt * doc/es/eval.txt * doc/es/garbage.txt * doc/es/lang.txt * doc/es/memo.txt + Add missing CVS ID * doc/es/license.txt + add missing CVS ID * small text formatting * source/rtl/profiler.prg ! Fix CVS ID 2001-07-26 16:21 UTC-0800 Ron Pinkas <ron@profit-master.com> * source/vm/macro.c * Corrected typo in trace message within hb_macroExpandString() 2001-07-26 22:50 UTC+1 JFL (mafact) <jfl@mafact.com> * MAKEFILE. VC * HB_SLEX.VC Minor typing error with genobj.c, .obj ... * include\hbapi.h hb_procname( int iLevel, char * szName, BOOL bskipBlock ); added boolean param to know if called from procname or methodname... * source/vm/proc.c Special treatment for inline method to display class:(b)methodname * source/vm/classes.c hb_msgSuper() changed behaviour, creating a fake object to be treated by hb_vmDdo() and hb_vmSend() * source/vm/hvm.c changed hb_vmDo() hb_vmSend() to work with the new fake objects Minor type casting needed by VC++ source\vm\hvm.c(1315) : 'void *' to 'struct _HB_ITEM *' source\vm\hvm.c(3359) : 'unsigned long' to 'unsigned short 2001-07-26 14:35 UTC-0400 David G. Holm <dholm@jsd-llc.com> * source/rtl/gtsln/gtsln.c * Fixes by Marek Paliwoda <paliwoda@inetia.pl> 2001-07-26 14:30 GMT Dave Pearson <davep@davep.org> * source/rtl/profiler.prg * Restored Antonio's profile reporter due to copyright concerns. 2001-07-26 02:50 UTC-0800 Ron Pinkas <ron@profit-master.com> * include/hbexpra.c + Added logic to optimize 2nd parameter of __DBLIST(). Scan it if array, and optiimize elements that are codeblocks containing macros to the core value of such macro. * source/rdd/dblist.prg + Added logic to scan abEval for Strings, parse and convert them to codeblocks. + Added HB_aTokens() /* This should complete support for: cFields := "Field1,Field2,..." LIST &cFields ... */ 2001-07-24 20:45 GMT -3 Luiz Rafael Culik <culik@sl.conex.net> +doc/es/math.txt *Math docs translated to spanish. Thanks for Ricardo Ramirez R. 2001-07-24 08:45 GMT -3 Luiz Rafael Culik <culik@sl.conex.net>/Jose Lalin <dezac@corevia.com> * source/compiler/gencobj.c * Bugs fixed provide by Jose 2001-07-24 11:10 MEST Martin Vogel <vogel@inttec.de> * include/hbdefs.h * added parenthesis around HB_MKLONG and HB_MKULONG definitions to avoid warning in gcc * include/hbvmpub.h * added newline at end of file (my gcc brought a warning) * contrib/libct/justify.c * removed unused variable * contrib/libct/pos.1 * fixed error and warning about mixture of pointers to signed and unsigned char 2001-07-23 20:50 UTC-0800 Ron Pinkas <ron@profit-master.com> * source/vm/macro.c ! Corrected a compiler warning. 2001-07-23 21:10 GMT -3 Luiz Rafael Culik <culik@sl.conex.net>/Jose Lalin <dezac@corevia.com> * include/hbcomp.h + Added LANG_OBJ_MODULE + Added prototype for hb_compGenCObj( PHB_FNAME ); * source/compiler/cmdcheck.c ! Changed -g switch: -go builds platform dependant object module from C compilers -gw builds DOS/WIN 32-bit object modules from Harbour (was -go) * source/compiler/hbusage.c ! Added -gw description + Changed -go description * source/compiler/harbour.c + Added call to hb_compGenCObj() * source/compiler/gencobj.c + void hb_compGenCObj( PHB_FNAME ) + static char * hb_searchpath() *makefile.bc hb_slex.vc makefile.vc source/compiler/makefile ! Updated 2001-07-23 22:35 UTC+0100 Lubos Janica <janicalubos@yahoo.com> * classes.c Fixed function __CLSNEW. Changed variable USHORT uiSize to ULONG ulSize This fix random GPFs in function hb_clsDictRealloc by creating classes. 2001-07-23 21:29 UTC+0100 Viktor Szakats * source/rtl/tbrowse.prg + FIXME added, about missing AutoLite support (needed for dbEdit()) * source/rtl/net.c * Cleaned up platform branching. ! Fixed redefined constant for DJGPP (reported by Dave Pearson) I could not test this change, so please test it, and report any bugs, especially under OS/2 (GCC or ICC) and DJGPP. Thanks. Also note that OS/2 support with ICC is/was probably broken, so a native OS/2 solution would be better here. 2001-07-23 22:30 MEST Martin Vogel <vogel@inttec.de> - contrib/libct/ctposupp.c ! merged into pos1.c + contrib/libct/pos1.c + POSALPHA(), POSLOWER(), POSRANGE(), POSUPPER() functions + contrib/libct/pos2.c + POSCHAR(), POSDEL(), POSINS(), POSREPL() functions + contrib/libct/posdiff.c + POSDIFF() & POSEQUAL() functions * contrib/libct/Makefile * contrib/libct/makefile.bc * contrib/libct/makefile.vc + pos1.c, pos2.c and posdiff.c added - ctposupp.c removed 2001-07-23 18:24 GMT Dave Pearson <davep@davep.org> * source/rtl/profiler.prg * Access method `nSeconds' in class HB_ProfileEntity now used HB_CLOCKS2SECS to calculate seconds. 2001-07-23 18:15 GMT Dave Pearson <davep@davep.org> * source/rtl/seconds.c * Renamed CLOCKS2SECS() to HB_CLOCKS2SECS(). 2001-07-23 20:10 MEST Martin Vogel <vogel@inttec.de> + contrib/libct/count.c + COUNTLEFT() & COUNTRIGHT() functions + contrib/libct/justify.c + JUSTLEFT() & JUSTRIGHT() functions + contrib/libct/relation.c + CHARRELA() & CHARRELREP() functions * contrib/libct/Makefile * contrib/libct/makefile.bc * contrib/libct/makefile.vc + count.c, justify.c and relation.c added 2001-07-23 17:37 GMT Dave Pearson <davep@davep.org> * source/rtl/profiler.prg * Replace old profile reporting code with an OO approach. 2001-07-23 18:40 MEST Martin Vogel <vogel@inttec.de> + contrib/libct/finan.c + contrib/libct/math.c + contrib/libct/num1.c + contrib/libct/trig.c + contrib/libct/tests/finan.prg + contrib/libct/tests/math.prg + contrib/libct/tests/num1.prg + contrib/libct/tests/trig.prg + mathematical functions provided by Alejandro de Garate <alex_degarate@hotmail.com> + Documentation (and some minor changes) added by me * contrib/libct/ascpos.c * contrib/libct/atadjust.c * contrib/libct/atnum.c * contrib/libct/charlist.c * contrib/libct/charswap.c * contrib/libct/ct.c * contrib/libct/ct.h * contrib/libct/cterror.ch * contrib/libct/ctmath.h * contrib/libct/token1.c * some minor changes to remove warnings reported by Maurilio Longo * changed USHORT to ULONG in variable parameter functions * fixed $SEEALSO$ bug in documentation * contrib/libct/ctflist.txt * contrib/libct/Makefile * contrib/libct/makefile.bc * contrib/libct/makefile.vc * contrib/libct/tests/Makefile * changes according to new files and function stati 2001-07-23 04:20 UTC-0800 Ron Pinkas <ron@profit-master.com> * contrib/dot/pp.prg ! Various refinments in matching and outputing due to new observations about Clipper. 2001-07-23 04:15 UTC-0800 Ron Pinkas <ron@profit-master.com> * include/hbexprop.h + Added #define HB_ET_MACRO_PARE 64 * source/vm/hvm.c * source/vm/macro.c * source/macro/macro.y * include/hbexprb.c + Added support for HB_P_MACROPUSHPARE aand HB_P_MACROPUSHINDEX * include/hbmacro.h + Added #define HB_MACRO_GEN_PARE 16 /* generate parentesized list */ * source/common/expropt1.c * source/common/expropt2.c * include/hbpcode.h * source/compiler/genc.c * source/compiler/hbfix.c * source/compiler/hbpcode.c + Added new opcode HB_P_MACROPUSHPARE /* This should complete macro list support for ( &cMacro ) and aArray[ &cMacro ] syntaxes. */ 2001-07-22 14:30 UTC-0800 Ron Pinkas <ron@profit-master.com> * include/hbapi.h * Changed 2nd parameter to BYTE iContext in hb_macroGetValue( HB_ITEM_PTR pItem, BYTE iContext ) * include/hbexprop.h + Added #define HB_ET_MACRO_LIST 16 /* &variable used as in literal arrays or parentesised expressions. */ + Added #define HB_ET_MACRO_INDEX 32 /* &variable used as arrays index. */ * include/hbexprb.c + Added macro list support logic to hb_compExprUseArray() + Added generation of HB_P_MACROLIST, HB_P_MACROPUSHLIST, HB_P_MACROLISTEND, and HB_P_MACROPUSHINDEX in hb_compExprUseMacro() /* HB_P_MACROLIST and HB_P_MACROLISTEND are only generated as an enevelope if array contains a one or more macro element which will generate an HB_P_MACROPUSHLIST. */ * include/hbpcode.h * source/compiler/genc.c * source/compiler/hbfix.c * source/compiler/hbpcode.c + Added: new opcodes HB_P_MACROLIST, HB_P_MACROPUSHLIST, HB_P_MACROLISTEND, and HB_P_MACROPUSHINDEX. * source/vm/hvm.c * source/vm/macro.c + Added: support for new opcodes HB_P_MACROLIST, HB_P_MACROPUSHLIST, HB_P_MACROLISTEND, and HB_P_MACROPUSHINDEX. /* HB_P_MACROPUSHINDEX not completed yet.*/ /* NOTE: This implements macro as literal array arguments list syntax <{ &cMacro }>. ( &Cmacro ) and Array[ &cMacro ] are not completed yet. *** All prgs must be recompiled due to new opcodes !!! */ 2001-07-22 18:00 GMT -3 Luiz Rafael Culik <culik@sl.conex.net> +source/rtl/radiobtn.prg *Added an 'LOCAL cColor' to compile without warning +source/rtl/radiogrp.prg *Added 'LOCAL nPos,nLen' to compile without warning 2001-07-22 18:00 GMT -3 Luiz Rafael Culik <culik@sl.conex.net> * utils/hbmake/hbmake.prg * Added suport for !iffile/!else/!endif and !stdout * utils/hbdoc/hbdoc.prg * Updated Copyright Date +include/hbgetcmt.ch *Include file for Ca-Clippr 5.3 Get Compatible Controls +source/rtl/radiobtn.prg *Radio Button Class Compatible with CA-Cl*pper 5.3 +source/rtl/radiogrp.prg *Radio Group Class Compatible with CA-Cl*pper 5.3 *tests/tstchbx.prg *Updated to demostrate the work of RadioButton/RadioGroup Classes *hb_slex.bc makefile.bc hb_slex.vc makefile.vc source/rtl/makefile *Added radiobtn.prg and radiogrp.prg to dependencie list 2001-07-22 20:15 UTC+0100 Ryszard Glab <rglab@imid.med.pl> *include/hbapi.h *include/hbexprb.c *source/vm/hvm.c *source/vm/macro.c *source/compiler/exproptb.c *source/macro/macrob.c * fixed to support nested aliases in macro, eg. LOCAL cAlias cAlias := "&area" PRIVATE area area := "MyAlias" ? &cAlias->someFile ? &cAlias->( someExpr ) 2001-07-22 08:40 GMT -3 Luiz Rafael Culik <culik@sl.conex.net> *source/rtl/getsys.prg *Now if an get has an message it will display properly 2001-07-21 18:15 UTC+0100 Ryszard Glab <rglab@imid.med.pl> *source/compiler/harbour.sly *fixed support for &alias->( expression ) 2001-07-21 16:15 UTC+0100 Ryszard Glab <rglab@imid.med.pl> *include/hbexpra.c *include/hbexprb.c *include/hbexprc.c *include/hbexprop.h *source/common/expropt1.c *fixed support for &alias->( expression ) *removed global variables that were breaking modularity of the code *fixed support for syntax: SomeFun( ¯o + someValue ) *source/compiler/harbour.y *removed access to internal HB_EXPR structure data *source/rtl/checkbox.prg * added 'LOCAL oCheck' to compile without warnings *source/rtl/gtsln/gtsln.c *fixed to support (at least) SLang version 1.3.8 2001-07-21 09:20 GMT -3 Luiz Rafael Culik <culik@sl.conex.net> *source/rtl/checkbox.prg *lowercased the include file names 2001-07-20 20:00 GMT -3 Luiz Rafael Culik <culik@sl.conex.net> +source/rtl/checkbox.prg *CheckBox Class Compatible with CA-Cl*pper 5.3 *source/rtl/getsys.prg +Added the follow function For compatibility with CA-Cl*pper 5.3: GUIReader(),GuiApplyKey(),GuiGetPreValidate(),GuiGetPostValidate() *source/rtl/tget.prg +Control and Message Data *Source/rtl/tgetlist.prg +Added the follow methods GUIReader(),GUIApplyKey(),GuiPreValidate(oGui),GuiPostValidate(oGui) *utils/hbmake/hbmake.prg *Applied patch provided By Dave Person +tests/tstchbx.prg *Small Test app for checkbox Class *hb_slex.bc makefile.bc hb_slex.vc makefile.vc source/rtl/makefile +added checkbox to dependency list 2001-07-20 22:45 UTC-0800 Ron Pinkas <ron@profit-master.com> * include/hbexpra.c % Wrapped hb_compExprSetGetBlock() unneeded with simplex build, with #ifndef SIMPLEX * include/hbexprb.c * Disabled support for HB_PUSHMACROARG within hb_compExprUseAssign() * include/hbexprc.c * Disabled support for HB_PUSHMACROARG within hb_compExprPushOperEq() 2001-07-20 15:10 GMT+2 Martin Vopgel <vogel@inttec.de> * source/rtl/math.c * include/hbmath.h * contrib/libct/ctmath.c ! added #defines for non-matherr math libraries 2001-07-20 13:10 GMT+2 Martin Vopgel <vogel@inttec.de> * source/rtl/math.c * include/hbmath.h ! Added typedefs for non-matherr-math libraries ! Fixed bug concerning custom math handler return values * contrib/libct/ctmath.c * contrib/libct/ctmath.h ! Changes analog to the changes in rtl/math.c ! minor bug fixes and cleanups * contrib/libct/makefile.bc ! typo fixed 2001-07-20 13:35 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> * source/rtl/memofile.c ! A bug fixed, which appeared while reading an empty file 2001-07-19 20:30 UTC-0800 Ron Pinkas <ron@profit-master.com> * include/hbapi.h + Added #define HB_MAX_MACRO_ARGS 16 * source/vm/hvm.c * source/vm/macro.c + Added support for nested HB_P_MACROPUSHARG * contrib/dot/pp.prg - Removed bSplit in PP_PreProLine(). Instead added logic to split the line unless line is a directive. 2001-07-19 21:30 GMT -3 Luiz Rafael Culik <culik@sl.conex.net> *utils/hbmake/hbmake.prg *Small changes needed to be more compatible with Gcc under OS/2 2001-07-19 12:00 UTC-0800 Ron Pinkas <ron@profit-master.com> * source/compiler/harbour.sly * source/compiler/harbour.y + Added "$$->value.asMacro.SubType = HB_ET_MACRO_SYMBOL" to "MacroVarAlias :" because in this context macro is a symbol. 2001-07-19 02:00 UTC-0800 Ron Pinkas <ron@profit-master.com> * source/compiler/harbour.slx * Changed storing of MACROTEXT from hb_compIdentifierNew() to hb_strdup(). * tests/tstasort.prg ! Fixed R/T Error resulting from comparing unrelated types in sorting codeblock. 2001-07-19 12:40 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> * source/rtl/transfrm.c * added some code for proper handling of numeric parameters 2001-07-18 16:10 UTC-0800 Ron Pinkas <ron@profit-master.com> * source/vm/macro.c * source/vm/hvm.c % Simplified logic for suppoting macro lists. Removed global variables: int hb_vm_iFunCalls = 0, *hb_vm_aiMacroListParameters = NULL, hb_vm_iMacroListAllocated which are no longer needed. No longer using any logic in any PCODE case, other than HB_P_PUSHMACROARG. No longer using any arrays, or memory allocations. * include/hbexpra.c * include/hbexprb.c * HB_P_PUSHMACROARG will now be followed with a push symbol sequence, indicating its parrent function call. * include/hbpcode.h * Added decimal values into the description comments for readability. 2001-07-18 12:17 GMT+1 Antonio Linares <alinares@fivetech.com> * source/rtl/seconds.c + Added Clocks2Secs() function 2001-07-18 11:45 GMT+1 Antonio Linares <alinares@fivetech.com> * source/vm/hvm.c + Added (C level) hb_bProfiler (profiler activity as boolean. False by default) + Added (PRG level) __SetProfiler( On | Off ) * source/vm/classes.c + Added hb_bProfiler support. * tests\TestProf.prg + Added __SetProfiler() call sample. * source/rtl/profiler.prg - removed Patrick's copyright (profiler.prg copyright is mine ;-) 2001-07-18 09:06 GMT+2 Maurilio Longo <maurilio.longo@libero.it> * source/rtl/tbrowse.prg + activated scoping * include/hbapierr.h include/hbapiitm.h include/hbvm.h source/rtl/errorapi.c source/vm/hvm.c source/vm/itemapi.c ! fixed va_start() use or, better, changed it to be compatible with OS/2 EMX GCC compiler which REQUIRES that va_start() calls use a type which cannot be promoted to something bigger. That is, this call is correct: va_start(valist, ulUnsignedLongType) while this one is not: va_start(valist, usUnsignedShortType) Using a type which can be promoted to a bigger one leads to memory corruption. I think this requirement could exist even on other ANSI C compilers. ! Removed workaround inside hb_itemDo() and hb_itemDoC() to prevent this corruption. 2001-07-17 18:25 UTC-0800 Ron Pinkas <ron@profit-master.com> * utils/hbpp/hbpp.c * Commented an exit() call in hb_compGenError() to continue processing after an error just like Harbour does. * include/hbapi.h + Added 2nd parameter BOOL bArg to hb_macroGetValue() * include/hbexpra.c + Added global BOOL hb_exp_bArgList = FALSE; * include/hbexprb.c + Added logic to generate HB_P_MACROPUSHARG rather than HB_MACROPUSH when pushed macro is a function call argument. * include/hbpcode.h * source/compiler/genc.c * source/compiler/hbfix.c * source/compiler/hbpcode.c + Added new HB_P_MACROPUSHARG * source/macro/macro.y + Added logic to generate an error if macro expression is list, unless servicing an HB_MACROPUSHARG. * source/vm/hvm.c + Added support for new HB_P_MACROPUSHARG calling hb_macroGetValue() with TRUE for bArg. * source/vm/macro.c + Added 2nd parameter BOOL bArg to hb_macroGetValue() to signify servicing of HB_P_MACROPUSHARG. * contrib/dot/pp.prg + Added bSplit 4th paramater to PP_PreProLine() defaulting to .T.. - Calls from PP_PreProFile() set it to .F.. /* NOTE!!! All prg MUST be recompiled due to addition of NEW pcode!!! */ 2001-07-17 22:30 MEST Martin Vogel <vogel@inttec.de> * contrib/libct/tests/Makefile + contrib/libct/tests/csetarge.prg + Test program for the new CSETARGERR() function. * contrib/libct/tests/*.prg + added calls to CTINIT() and CTEXIT() 2001-07-17 21:50 UTC+1 JFL (mafact) <jfl@mafact.com> * source/vm/classes.c ! Fixed Scoping where a protected var could be exported to some code block evaluated within a valid method from the scoping point of view. 2001-07-17 20:00 MEST Martin Vogel <vogel@inttec.de> * source/rtl/math.c * include/hbmath.h * memory leak fixed in hb_deinstallMathHandler() * various HB_TRACEs added * new status flag added + contrib/libct/ct.c + lib main module with functions CTINIT(), CTEXIT(), CSETARGERR() and error handling added + contrib/libct/ctmath.c + contrib/libct/ctmath.h + math main module added + functions SETMATHERR(), SETPREC(), GETPREC() added + contrib/libct/cterror.ch + error codes added * contrib/libct/ctset.c * contrib/libct/ctset.h * contrib/libct/ctstr.c * contrib/libct/ctstr.h * string switch functions moved to ctstr.c, ctset.c will be main module for switch functions * new switchable argument error handling added, see CSETARGERR() * contrib/libct/addascii.c * contrib/libct/asciisum.c * contrib/libct/ascpos.c * contrib/libct/atadjust.c * contrib/libct/atnum.c * contrib/libct/atrepl.c * contrib/libct/charevod.c * contrib/libct/charmirr.c * contrib/libct/charmix.c * contrib/libct/charone.c * contrib/libct/charonly.c * contrib/libct/charop.c * contrib/libct/charrepl.c * contrib/libct/charsort.c * contrib/libct/charswap.c * contrib/libct/token1.c * contrib/libct/wordrepl.c * new switchable argument error handling added, see CSETARGERR() * contrib/libct/Makefile * contrib/libct/makefile.bc * contrib/libct/makefile.vc + ct.c + ctmath.c * contrib/libct/ctflist.c * contrib/libct/readme.txt + new functions and their (short) description added 2001-07-17 18:35 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbfntx1.c * Fixed few bugs, reported by John M. S. Chiang, partially fixed seeking while SET DELETED ON state 2001-07-17 00:25 UTC+1 JFL (mafact) <jfl@mafact.com> * harbour/include/hbclass.ch ! Change NO_OO_ERR to HB_CLS_NO_OO_ERR Changed one Xtranslate in case of HB_CLS_NO_OO_ERR defined to allow multiples classes not ordered. 2001-07-16 22:55 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> * source/pp/ppcore.c ! minor fix, related to using of __PreProcess() function 2001-07-16 09:45 UTC-0800 Ron Pinkas <ron@profit-master.com> * source/vm/hvm.c * source/vm/macro.c + Wrapped macro statement support within #ifdef HB_MACRO_STATEMENTS (which is NOT defined). 2001-07-16 15:19 GMT+1 Patrick Mast <harbour@PatrickMast.com> * source/rtl/profiler.prg * Renamed function from Profiler() to HB_Profiler() 2001-07-16 13:00 GMT+1 Patrick Mast <harbour@PatrickMast.com> * source/rtl/profiler.prg - Removed <lOnlyUsed> parameter + Added <cFile> parameter. + Added <lAll> parameter + Added Cunsumed time in seconds * Replaced MemoWrit() function with more controllable f* functions + profiler() returns a array with profiler info Profiler() => Writes NO info to file, returns Array of profiler info. Array only contains USED functions/classes. Profiler(,.t.) => Writes NO info to file, returns Array of profiler info. Array only contains ALL functions/classes. Profiler("profiler.txt") => Writes profiler info to <profiler.txt> and returns Array of profiler info. Array only contains USED functions/classes. Profiler("profiler.txt", .t.) => Writes ALL profiler info to <profiler.txt> and returns Array of profiler info. Array contains ALL functions/classes. 2001-07-16 03:40 UTC-0800 Ron Pinkas <ron@profit-master.com> * source/vm/hvm.c * source/vm/macro.c + Added missing #include "hbpp.h" to resolve strict compiler warnings. 2001-07-16 03:00 UTC-0800 Ron Pinkas <ron@profit-master.com> * source/vm/hvm.c + Added call to hb_pp_Free() in hb_vmQuit() to release pp tables if loaded by macro evaluation. 2001-07-16 02:45 UTC-0800 Ron Pinkas <ron@profit-master.com> * source/vm/hvm.c * Few improvements to recent support for lists in macro expansion * source/vm/macro.c + Added preprocessing support to hb_macroGetValue() * source/compiler/harbour.sly * source/compiler/harbour.y + Added rules to support MacroVar and MacroExpr as a standalone Statement. 2001-07-15 20:45 UTC-0800 Ron Pinkas <ron@profit-master.com> * include/hbapi.h + Added member iListElements to HB_MACRO structure. * source/macro/macro.y + Added rules to support a macro of a comma seperated list. * source/vm/hvm.c + Added: int hb_vm_iFunCalls = 0, *hb_vm_aiMacroListParameters = NULL, hb_vm_iMacroListAllocated to support new logic to track number of extra parameters introduced by means of a macro expanded to a list. * source/vm/macro.c + Added logic to track number of extra parameters introduced by means of a macro expanded to a list. 2001-07-15 20:15 MEST Martin Vogel <vogel@inttec.de> * source/rtl/math.c + added functions for custom math handlers + include/hbmath.h + created header file for Harbour Math API * doc/en/math.txt + added some documentation for Harbour Math API functions 2001-07-15 16:23 GMT+1 Patrick Mast <harbour@PatrickMast.com> * source/rtl/profiler.prg + Added the <lOnlyUsed> parameter. If profiler is used like this Profiler(.t.), the profiler.txt will only be filled with used classes and/or functions. 2001-07-14 18:55 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> * source/rtl/teditor.prg ! Minor fix for K_END key implementation 2001-07-13 19:45 UTC-0400 David G. Holm <dholm@jsd-llc.com> * source\rtl\gtwin\gtwin.c * Fix for extended cursor keys on international keyboards. 2001-07-12 16:45 UTC-0800 Ron Pinkas <ron@profit-master.com> * source/pp/ppcore.c ! Fixed bug of translating text within logical tokens (.T., .F., .OR., .AND., and .NOT.) by adding skip logic to md_strAt(). 2001-07-12 00:40 UTC+1 JFL (mafact) <jfl@mafact.com> * harbour/source/vm/Classe.c - Hb_ClsScope() Corrected - hb_getRrealclsName() enhanced to keep a better trace of Class tree * harbour/source/vm/hvm.c - hb_Vmdo() & hb_VmSend() enhanced to keep trace of Class tree * harbour/include/hbapi.h - Array structure modified to keep a c array of Class handle ( _HB_BASEARRAY ) 2001-07-11 13:30 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> * contrib/rdd_ads/adsfunc.c * adsExecuteSqlDirect() and adsExecuteSql() are fixed for the occasions, when query doesn't returns cursor. 2001-07-10 12:30 UTC-0400 David G. Holm <dholm@jsd-llc.com> * doc/en/gtslang.txt * source/rtl/gtapi.c * source/rtl/gtsln/gtsln.c * source/rtl/gtsln/kbsln.c * source/rtl/gtsln/keytrans.c * GTSLN update provided by Marek Paliwoda <paliwoda@inetia.pl> 2001-07-10 01:55 UTC-0800 Ron Pinkas <ron@profit-master.com> * source/compiler/cmdcheck.c + Added missing type cast to resolve gcc warning. * source/pp/ppcore.c + Added missing type cast to resolve gcc warning. - Removed 4 redundant #includes already included by included hbcomp.h 2001-07-10 10:40 GMT+2 Maurilio Longo <maurilio.longo@libero.it> * source/rtl/browse.prg ! fixed status line display * contrib/mysql/mysql.c ! mysql_field_count() is not available before version 3.22 of mysql 2001-07-09 22:00 UTC-0800 Ron Pinkas <ron@profit-master.com> * contrib/dot/pp.prg * Changed PP_Main() to STATIC Main() to have a Main procedure for build that require a MAIN yet avoid conflict if linked with a prg including a MAIN. * contrib/dot/pp_harb.ch * Wrapped a Windows specific code within #ifdef WIN. /* Thanks to input from Tomas Zupan. */ * source/pp/ppcore.c ! Added a BOOL 2nd parameter to isExpres() to flag a LIST MP. This fixes problem with matching a list exp with an empty component. 2001-07-10 01:15 UTC+1 JFL (mafact) <jfl@mafact.com> * harbour/source/vm/Classe.c - Hb_ClsScope() Remed :-(((((((((( Sorry not yet ready ! 2001-07-10 00:15 UTC+1 JFL (mafact) <jfl@mafact.com> * harbour/source/vm/Classe.c - Hb_ClsScope() Corrected and re-added - hb_getRrealclsName() enhanced to keep a better trace of Class tree - __ClsInst simplified - List of modifs simplified * harbour/include/Hbclass.ch - List of modifs simplified - Added a line of explanation for HB_CLS_ENFORCERO * harbour/utils/hbmake/hbmake.prg - added #ifndef __HARBOUR__ around Function HB_OSNEWLINE() to allow compilation with Vc++ 2001-07-09 12:58 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> * contrib/rdd_ads/ads1.c * adsOrderInfo() fixed - before it returned info for current order only in many cases. * Few fixes, related to adt support * contrib/rdd_ads/adsfunc.c * some fixes, related to SQL support 2001-07-06 11:40 GMT +1 Ignacio Ortiz <ignacio@ozs.com> * source/rtl/mlcount.c * fix for tab character expansion buglet 2001-07-05 22:40 GMT -3 Luiz Rafael Culik <culik@sl.conex.net> *utils/hbmake/hbmake.prg *Fixed an Bug related to creation of makefile when filename and extension is all upper cased +Support for ! command and !iffile 2001-07-05 01:29 UTC-0800 Brian Hays <bhays@abacuslaw.com> * source/rtl/memoline.c * Ignacio's fix for tab character expansion buglet 2001-07-02 23:42 UTC+0100 Viktor Szakats * source/rtl/tget.prg ! Fixed method Reset() of TGet class, so that it sets the :TypeOut variable to .F. Fix provided by Istvan Foldi <foldii@terrasoft.hu> 2001-06-30 10:30 GMT+1 Antonio Linares <alinares@fivetech.com> * source/vm/dynsym.c + New profiler support functions added __DYNSISFUN( nDynSIndex ) --> .t. | .f. returns .t. if a dynamic symbol has a function/procedure pointer, given its dynamic symbol index. __DYNSGETPRF( nDynSIndex ) --> { nTimes, nTime } returns an array with a function or procedure called and consumed times, given its dynamic symbol index. * source/rtl/profiler.prg + Added support for functions and procedures. 2001-06-30 09:40 GMT+1 Antonio Linares <alinares@fivetech.com> * source/vm/hvm.c + Added profiler support for functions and procedures 2001-06-30 09:25 GMT+1 Antonio Linares <alinares@fivetech.com> * source/vm/dynsym.c + Added profiler initialization for created dynamic symbols 2001-06-30 08:45 GMT+1 Antonio Linares <alinares@fivetech.com> * include/hbvmpub.h + Added profiler support to the dynamic symbol structure 2001-06-29 18:40 UTC-0400 David G. Holm <dholm@jsd-llc.com> * contrib/Makefile + Build the ct3 and gt libraries along with the misc library. * include/hbver.h * Version 0.37a, dated 2001-06-29. * source/rtl/Makefile + Added the new profiler.prg file. * source/rtl/net.c ! Fix for w32.mingw32 build. 2001-06-29 17:15 GMT+1 Antonio Linares <alinares@fivetech.com> * makefile.bc + added profiler.prg support Please notice that other makefiles should be updated. 2001-06-29 17:00 GMT+1 Antonio Linares <alinares@fivetech.com> * source/vm/classes.c + Profiler support added: New function __GetMsgPrf( nClass, cMsg ) --> aMethodInfo // { nTimes, nTime } Returns a method called and consumed times, to be called from PRG level. New function void * hb_mthRequested( void ) It provides to the HVM the just requested method pointer. New function void hb_mthAddTime( void * pMethod, ULONG ulClockTicks ) It increases a called method consumed time. * source/vm/hvm.c + Profiler support added just for called methods (by now). * source/rtl/profiler.prg + New function Profiler(). It may be called any moment to generate a profiler.txt file. * tests + Added TestProf.prg sample showing how to use the profiler. 2001-06-27 01:30 UTC-0500 Paul Tucker <ptucker@sympatico.ca> * /contrib/libct/atadjust.c atrepl.c charevod.c charlist.c charmirr.c charmix.c charone.c charonly.c charop.c charrepl.c charsort.c charswap.c token1.c wordrepl.c * Added a number of casts to quiet down msvc. 2001-06-26 20:45 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> * /include/hbver.h * Changed build number to 0.37, build month and day 2001-06-26 08:00 GMT -3 Luiz Rafael Culik <culik@sl.conex.net> +utils/hbmake/Makefile *Readded this file after CVS repository clean up 2001-06-26 00:40 UTC+1 JFL (mafact) <jfl@mafact.com> * harbour/source/vm/Classe.c - Hb_ClsScope() deleted (to avoid warning) till after 0.37 - Hb_ObjGetpMethod() deleted (to avoid warning) till after 0.37 ! Misc reformating and some braces added 2001-06-25 14:51 GMT+1 Patrick Mast <harbour@PatrickMast.com> * contrib/tprepro/tprepro.prg * Bug fix in TranslateFile() method 2001-06-24 23:43 GMT -3 Luiz Rafael Culik <culik@sl.conex.net> *utils/hbmake/hbmake.prg * Reverted last change to hbmake, and put the file existence test on the correct place 2001-06-24 11:15 UTC-0800 Ron Pinkas <ron@profit-master.com> * source/vm/arrays.c ! Fixed but in hb_arrayDel() which caused a GPF by accessing an item beyond the array end. 2001-06-23 21:40 UTC-0800 Ron Pinkas <ron@profit-master.com> * contrib/rdd_ads/ads1.c - Removed 2 sets of parentheses in type casts where it was not needed. 2001-06-23 20:35 UTC-0800 Ron Pinkas <ron@profit-master.com> * contrib/rdd_ads/ads1.c ! Corrected 2 misplaced parentheses in type casts. 2001-06-22 11:10 UTC-0400 David G. Holm <dholm@jsd-llc.com> * source/vm/classes.c ! The file <ctype.h> must be included for the toupper() prototype. 2001-06-22 07:55 UTC-0800 Ron Pinkas <ron@profit-master.com> * contrib/dot/pp.prg + Added logic for new Idenitifier Match Marker <!AnyId!> which will only match Identifiers. 2001-06-22 07:30 UTC-0800 Ron Pinkas <ron@profit-master.com> * source/pp/ppcore.c + Added logic for new Idenitifier Match Marker <!AnyId!> which will only match Identifiers. + Added static BOOL IsIdentifier( char *szProspect ) * include/hbclass.ch ! Changed <name> to <!name!> in 3 VO OO compatibility rules, where regular match marker was TOO generic. ! Reinstated default #define HB_CLS_VO 2001-06-22 06:10 UTC-0800 Ron Pinkas <ron@profit-master.com> * include/hbclass.ch ! Un-Commented out 3 rules used for VO OO and #undefed HB_CLS_VO instead. 2001-06-21 11:19 UTC-0800 Brian Hays <bhays@abacuslaw.com> * source/rtl/transfrm.c * Fixed @Z handling * source/rdd/dbcmd.c * Fixed Select("") to return 0 Note that select() returns current workarea even if unused 2001-06-21 22:20 UTC-0800 Ron Pinkas <ron@profit-master.com> * contrib/dot/pp.prg * Added support fort '|' as a continuation token (as in Clipper). * include/hbclass.ch - Commented out 3 rules used for VO OO compatibility that are TOO generic, and match unexpected input. * source/pp/ppcore.c - Recommented out test for continuation token at the end of an Expression in isExpres() (after correcting cause for prior reinstatment). 2001-06-21 18:20 UTC-0800 Ron Pinkas <ron@profit-master.com> * source/pp/ppcore.c * Reinstated test for continuation token at the end of an Expression in isExpress() /* Clipper does not validate extracted expression like that, but Harbour PP has internal dependancy due to matching logic. Alexander, Clipper stops an expression when encountering the Anchor of the next NON optional Match Marker. Clipper accepts that expression even if it ends with continuation token (like '*'). */ 2001-06-21 14:55 UTC-0800 Ron Pinkas <ron@profit-master.com> * source/pp/ppcore.c * Commented out test for continuation token at the end of an Expression in isExpres() /* Clipper does not validate extracted expression like that. This solves problem with: SAVE ALL LIKE Patt* TO File */ 2001-06-21 14:05 UTC-0800 Ron Pinkas <ron@profit-master.com> * contrib/dot/pp.prg + Revised explicit support for Extended expression match marker, in NextExp() to use normal logic for () expresiions. 2001-06-21 10:50 UTC-0800 Ron Pinkas <ron@profit-master.com> * contrib/dot/pp.prg ! Changed MatchRule() to set sNextAnchor (for NextExp()) by skipping to next NON optional Anchor. 2001-06-21 10:40 UTC-0800 Ron Pinkas <ron@profit-master.com> * contrib/dot/pp.prg ! Changed MatchRule() to set sNextAnchor (for NextExp()) ONLY for NON optional Anchor. 2001-06-21 09:50 UTC-0800 Ron Pinkas <ron@profit-master.com> * contrib/dot/pp.prg + Added explicit support for Extended expression match marker, in NextExp() 2001-06-21 13:20 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> * source/debug/debugger.prg * partially fixed cursor appearance on debug screen 2001-06-21 10:25 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> * source/rtl/inkey.c + added static variable s_altdPressed, which is set after pressing Alt-D + added function isAltdPressed(), which return a value of s_altdPressed and set it to FALSE * source/debug/debugger.prg * __dbgEntry() now invokes isAltdPressed() and calls debug screen, if isAltdPressed() returns TRUE * commented few lines in __dbgEntry() - debugged program works now much faster and better 2001-06-20 22:10 UTC-0800 Ron Pinkas <ron@profit-master.com> * hb_slex.vc * makefile.vc * Synched make files. * contrib/libmisc/makefile.vc ! Corrected BIN_DIR to ../../bin/vc * source/compiler/simplex.c * Revised 1 debug message. * source/compiler/harbour.slx * Improved yytext handling. * source/compiler/harbour.sly * source/compiler/harbour.y + Added <yyerrok> after <yyclearin> to enable reporting of errors on consecutive lines. (only first line was reported!) 2001-06-20 14:50 UTC-0400 David G. Holm <dholm@jsd-llc.com> * include/hbvm.h * source/debug/debugger.prg * source/rtl/inkey.c * source/rtl/set.c * source/vm/hvm.c * tests/inkeytst.prg * Integrate the ALTD() function with SET( _SET_DEBUG ). Start at integrating the debugger with the Alt+D key. Cleanup for dealing with the Alt+C key. 2001-06-20 12:30 UTC-0400 David G. Holm <dholm@jsd-llc.com> * doc\license.txt * doc\en\license.txt * source\rtl\gtapi.c * source\rtl\setpos.c * Updated from the old Harbour Exception to the new Harbour Exception with permission from Bil Simser <bsimser@home.com>. * source\rtl\gtwin\gtwin.c + Added comment about Beep() parameters ignored on non-NT platforms. 2001-06-20 09:55 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> * source/debug/debugger.prg * added code to support PgDn, PgUp in a code window and a vars window 2001-06-19 23:39 UTC+0100 Viktor Szakats * source/lang/msgro.c * source/lang/msg_tpl.c * doc/license.txt * doc/en/license.txt * Changed two old licences of mine to the new one. Actually msg_tpl is not "mine", it's only a template. 2001-06-19 16:00 UTC-0400 David G. Holm <dholm@jsd-llc.com> * doc/license.txt * doc/en/license.txt * This rewrite includes the compiler license, the new exception license, and the old exception license (and a list of all files to which the old one applies). 2001-06-19 17:40 UTC-0800 Ron Pinkas <ron@profit-master.com> ! contrib/rdd_ads/ads1.c ! contrib/rdd_ads/adsfunc.c ! contrib/rdd_ads/adsmgmnt.c + Added many missing type casting required for C++ compilers. ! contrib/rdd_ads/makefile.vc + Added missing -DWIN32 to CFLAGS /* RDDADS.lib can now be built with MSVC using the supplied contrib/rdd_ads/make_vc.bat */ 2001-06-19 14:50 UTC-0400 David G. Holm <dholm@jsd-llc.com> * source\rtl\browdbx.prg * source\rtl\setcolor.c * source\rtl\browdb.prg * source\rtl\xsavescr.c * source\rtl\gtwin\gtwin.c * contrib\hbclip\hbclip.ch * Updated from the old Harbour Exception to the new Harbour Exception with permission from Paul Tucker <ptucker@sympatico.ca> 2001-06-19 14:25 UTC-0400 David G. Holm <dholm@jsd-llc.com> *contrib\runjava\hbrunj.h *contrib\runjava\runjava.c * Updated from the old Harbour Exception to the new Harbour Exception with permission from Matteo Baccan. 2001-06-19 18:15 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbfntx/dbfntx1.c * Some fixes in movement functions 2001-06-19 14:10 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbcmd.c * OrdListAdd() fixed due to previous ntxOrderListFocus() correction 2001-06-18 22:50 UTC+1 JFL (mafact) <jfl@mafact.com> * harbour/source/vm/Classe.c * Hb_ClsScope() neutralised till after 0.37 2001-06-18 23:55 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbf1.c * source/rdd/dbfntx/dbfntx1.c ! Fixed bugs with record appending, reported by John M. S. Chiang ! ntxOrderListFocus() corrected 2001-06-18 14:35 UTC-0400 David G. Holm <dholm@jsd-llc.com> * doc/class_tp.txt * include/hbrddcdx.h * include/hbrdddel.h * source/rtl/gt_tpl/gt_tpl.c * source/rtl/gt_tpl/mousetpl.c * source/rtl/gtdos/gtdos.c * source/rtl/gtwin/mousewin.c * tests/setkeys.prg * Updated from the old Harbour Exception to the new Harbour Exception either with permission from the various copyright holders or because the author is anonymous. 2001-06-18 14:10 UTC-0400 David G. Holm <dholm@jsd-llc.com> * contrib/libmisc/stringp.prg * source/rtl/accept.c * source/rtl/objfunc.prg * source/rtl/run.c * source/rtl/transfrm.c * source/vm/debug.c * source/vm/pvalue.c * source/vm/runner.c * Updated from the old Harbour Exception to the new Harbour Exception with permission from Eddie Runia <eddie@runia.com>. 2001-06-18 14:00 UTC-0400 David G. Holm <dholm@jsd-llc.com> * include/hbdbf.h * include/hbdbsort.h * include/hbrdddbf.h * include/hbrddsdf.h * include/hbrddwrk.h * source/rdd/dbcmd.c * source/rdd/dbf0.prg * source/rdd/dbf1.c * source/rdd/dbsort.prg * source/rdd/delim0.prg * source/rdd/delim1.c * source/rdd/hbdbsort.c * source/rdd/rddsys.prg * source/rdd/sdf0.prg * source/rdd/sdf1.c * source/rdd/workarea.c * source/rdd/dbfcdx/dbfcdx0.prg * source/rdd/dbfcdx/dbfcdx1.c * source/rdd/dbfcdx/dbfcdx1.h * source/rdd/dbfcdx/dbfcdx2.h * source/rdd/dbfntx/dbfntx0.prg * source/rdd/dbfntx/dbfntx1.c * source/rdd/nulsys/nulsys.prg * Updated from the old Harbour Exception to the new Harbour Exception with permission from Bruno Cantero <bruno@issnet.net>. 2001-06-18 15:50 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbfntx/dbfntx1.c ! Bug fixed, related to Bof, Eof flags after seeking ! Seek "" works now as in CA-Cl*pper * Added processing of DBOI_NAME to ntxOrderInfo, so Ordname() works now. 2001-06-17 22:50 GMT -3 Luiz Rafael Culik <culik@sl.conex.net> *utils/hbmake/hbmake.prg * Fixed an small bug regading the file existence 2001-06-16 20:40 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbcmd.c ! Bug fixed in dbCreate(), which caused unreleased memory blocks. 2001-06-15 23:35 UTC+1 JFL (mafact) <jfl@mafact.com> * harbour/source/vm/Classe.c * Hb_ClsScope finally working :-( * harbour/include/hbsetup.ch - removed not more needed #define about Hidden (was causing a 'message not found' when heriting hidden var) * harbour/include/hbclass.ch + added the support of calling ::Super from a method 2001-06-15 14:45 UTC-0400 David G. Holm <dholm@jsd-llc.com> * source\rtl\dir.c * Updated from the old Harbour Exception to the new Harbour Exception. with permission from Leslee Griffith <les.griffith@vantagesystems.ca> 2001-06-15 13:55 UTC-0400 David G. Holm <dholm@jsd-llc.com> * source/rdd/dbstrux.prg * source/rdd/rddord.prg * source/rtl/dbedit.prg * source/rtl/dircmd.prg * source/rtl/filesys.c * source/rtl/setfunc.prg * source/rtl/text.prg * source/rtl/version.c * source/vm/initsymb.c * Updated from the old Harbour Exception to the new Harbour Exception. 2001-06-15 13:40 UTC-0400 David G. Holm <dholm@jsd-llc.com> * source/common/hbver.c * Updated from the old Harbour Exception to the new Harbour Exception. * source/compiler/cmdcheck.c * source/compiler/hbfunchk.c * source/compiler/hbgenerr.c * source/compiler/hbident.c * source/compiler/hbpcode.c * Removed the old and new Harbour Exceptions from core compiler files. 2001-06-15 23:15 GMT-3 Horacio Roldan <horacioroldan@usa.net> * source/rdd/dbfcdx/dbfcdx1.h * Added parenthesis in macro parameters to eliminate some warnings and possible bad evaluation. 2001-06-14 17:15 UTC-0400 David G. Holm <dholm@jsd-llc.com> * contrib/libmisc/dates2.c * contrib/samples/date.c * contrib/samples/dbf.c * contrib/samples/environ.c * contrib/samples/gauge.c * contrib/samples/num.c * contrib/samples/stack.c * contrib/samples/status.c * contrib/samples/time.c * include/hberrors.h * include/hbexpra.c * include/hbexprb.c * include/hbexprc.c * include/hbexprop.h * include/hbextern.ch * include/hbhash.h * include/hbmacro.h * include/hbmemvar.ch * include/hbsetup.h * source/common/expropt1.c * source/common/expropt2.c * source/common/hash.c * source/common/reserved.c * source/compiler/hbfix.c * source/compiler/hbfunchk.c * source/compiler/hbident.c * source/lang/msgca.c * source/lang/msgeo.c * source/lang/msges.c * source/lang/msggl.c * source/pp/pragma.c * source/rtl/datec.c * source/rtl/defpath.c * source/rtl/descend.c * source/rtl/do.c * source/rtl/hardcr.c * source/rtl/idle.c * source/rtl/input.prg * source/rtl/memvarbl.prg * source/rtl/mtran.c * source/rtl/natmsg.c * source/rtl/oldbox.c * source/rtl/philes53.c * source/rtl/seconds.c * source/rtl/setta.prg * source/rtl/tmenuitm.prg * source/rtl/tpopup.prg * source/rtl/ttopbar.prg * source/rtl/type.c * source/rtl/wait.prg * source/rtl/gtcrs/kbdcrs.c * source/rtl/gtdos/mousedos.c * source/vm/break.c * source/vm/codebloc.c * source/vm/eval.c * source/vm/garbage.c * source/vm/macro.c * source/vm/memvars.c * utils/hbextern/hbextern.prg * utils/hbrun/external.prg * utils/hbrun/hbrun.prg * Updated from the old Harbour Exception to the new Harbour Exception with permission from Jose Lalin <dezac@corevia.com> and Ryszard Glab <rglab@imid.med.pl>. 2001-06-14 14:00 UTC-0400 David G. Holm <dholm@jsd-llc.com> * source/rdd/dbfcdx/dbfcdx1.h * Added #pragma pack(1) and #pragma pack() for C++ builds to eliminate the exception c0000005 that resulted from incorrect structure layouts. 2001-06-14 13:15 UTC-0400 David G. Holm <dholm@jsd-llc.com> * include/hbapierr.h ! Corrected reference to extend.ch for oError:Severity codes to refer to the file that the severity codes are actually in: error.ch. * source/rtl/math.c * Added hb_getMathError() and hb_resetMathError() functions submitted by Alejandro de Garate <alex_degarate@hotmail.com>. 2001-06-14 12:39 UTC-0800 Brian Hays <bhays@abacuslaw.com> * source/rtl/philes.c * changed comment re HB_FEOF() TO HB_F_EOF() * contrib/libmisc/hb_f.c * fixed several bugs, mostly EOF handling, and bumped record size to 4096 + added HB_FINFO() and HB_FREADANDSKIP(), the functions I used to test and debug. HB_FREADANDSKIP() goes a bit beyond the bug-fix category, but it's well tested. For reading comma-delimited files, it does a single read to both skip a "record" and return the buffer. It also recognizes hard-returns embedded within quotes as data, not a record separator. 2001-06-12 11:59 UTC-0800 Brian Hays <bhays@abacuslaw.com> * contrib/rdd_ads/ads1.c * fixed subIndexing. * source/rdd/dbcmd.c * Fixed __dbLocate. When it skipped to EOF, it didn't exit immediately and evaluated the FOR condition on the phantom record. If it passed that test, Found() was set to True even at EOF! 2001-06-12 19:10 UTC-0400 David G. Holm <dholm@jsd-llc.com> * source/rtl/net.c * Changed the OS/2 GCC gethostname() usage to generic EMX usage by replacing four includes with include <emx/syscalls.h>, which can also be used by RSXNT. 2001-06-12 09:20 UTC+1 JFL (mafact) <jfl@mafact.com> * harbour/source/vm/Classe.c * OnError error corrected (Tkx Brian) 2001-06-11 12:20 UTC-0400 David G. Holm <dholm@jsd-llc.com> * doc/es/license.txt * Spanish translation of Version 2 of the Harbour License, with the mandatory FSF translation notice in both English and Spanish. The translation is by Alejandro de Garate <alex_degarate@hotmail.com>. 2001-06-11 14:16 GMT+2 Maurilio Longo <maurilio.longo@libero.it> * source/rtl/net.c ! To compile under OS/2 EMX GCC compiler there were missing include files. NOTE: you need to link socket.a library to every program from now on or you'll get: rtl.a(net.o): Undefined symbol _gethostname referenced from text segment 2001-06-10 17:40 UTC-0800 Ron Pinkas <ron@profit-master.com> + contrib/dot/pp.prg + Restored deleted file. + contrib/dot/pp_harb.ch + Restored deleted file. 2001-06-10 19:40 GMT -3 Luiz Rafael Culik <culik@sl.conex.net> * source/rtl/net.c *Added missing include file needed by DJGPP/GNUC 2001-06-10 08:30 GMT -3 Luiz Rafael Culik <culik@sl.conex.net> * source/rtl/net.c + Support for DJGPP/RSXNT/GNUC compilers * doc/funclist.txt * Updated some function status 2001-06-10 19:07 GMT+1 Patrick Mast <harbour@PatrickMast.com> * contrib/tprepro/tprepro.prg * SetIncludePath() method uses __PP_PATH now + Added AddIncludePath(cIncludePath) method to TPreProcessor class 2001-06-10 18:35 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> * source/pp/pplib.c + __PP_PATH( cPath, lClear ) added * This function sets path for following #include's and clears existing paths if lClear is passed and is TRUE 2001-06-10 15:06 GMT+2 Maurilio Longo <maurilio.longo@libero.it> * source/rtl/memoedit.prg ! fixed error in handling of text (EOL delimiters handling was wrong) * source/rtl/teditor.prg ! fixed error in handling of text (EOL delimiters handling was wrong) 2001-06-09 23:15 GMT-3 Horacio Roldan <horacioroldan@usa.net> *source/rdd/dbf1.c ! fixed message sending that corrupted dbf (with ftp) header 2001-06-09 22:05 GMT+7 Andi Jahja <andijahja@cbn.net.id> * harbour/source/compiler/hbusage.c - Deleting my own name in "Credit", I do not deserve it! 2001-06-09 09:35 UTC+1 JFL (mafact) <jfl@mafact.com> * harbour/source/vm/Classe.c * New scoping for rel. 0.37 ! 2001-06-07 18:40 UTC-0800 Ron Pinkas <ron@profit-master.com> * source/vm/hvm.c ! Fixed HB_P_MPOPFIELD was poping assgined value pre-maturely, causing "data type error" from RDD when replacing a field using macro. 2001-06-07 20:39 GMT+1 Patrick Mast <harbour@PatrickMast.com> * contrib/tprepro/tprepro.prg + Added TestPrePro tes test preprocessor output + test.scr file. This is a test script 2001-06-07 11:30 UTC-0400 David G. Holm <dholm@jsd-llc.com> * contrib\libct\alt\token1.prg * contrib/libmisc/hb_f.c * source/debug/dbgwa.prg * source/lang/msgid.c * source/lang/msgko.c * source/rtl/copyfile.c * source/rtl/memoline.c * source/rtl/mlcount.c * source/rtl/mlpos.c * source/rtl/setkey.c * source/rtl/tget.prg * source/rtl/tgetint.prg * Replaced the old Harbour License and Exception with the new Harbour License and Exception with permission from Andi Jahja <andijahja@cbn.net.id>, April White (bright.tigra gmail.com), Ignacio_Ortiz_de_Zuniga <ignacio@ozs.com>, Kwon,OJun (Charles Kwon) <charles@fivetech.net>, and Phil Barnett <midnight@the-oasis.net> 2001-06-07 17:06 GMT+1 Patrick Mast <harbour@PatrickMast.com> + contrib/tprepro/tprepro.prg + Added TPreProcessor class METHOD New() METHOD End() METHOD AddRule() METHOD SetIncludepath() METHOD TranslateLine() METHOD TranslateFile() 2001-06-07 13:05 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> * source/pp/ppcore.c * source/pp/pplib.c * Sorry, last time I've uploaded wrong copy ... * Added new parameter to __PP_INIT( cPaths ) - the string with paths for #include files. 2001-06-07 10:15 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> * include/hbpp.h * source/pp/ppcore.c + hb_pp_Free() added ( separated from hb_pp_Init() ) * source/pp/pplib.c + __PP_INIT() added + __PP_FREE() added + __PPADDRULE() added * __PPADDRULE( cString ) can be called to preprocess a directive ( #include, #command, etc. ) __PP_FREE() should be called if __PPADDRULE() or __PP_INIT() was used to free memory, allocated for pp tables. * tests/testpre.prg * modified to demonstrate __ppAddRule() and __pp_Free() using * source/rdd/dbfntx/dbfntx1.c * bug fixed in ntxOrderListAdd() 2001-06-06 16:00 UTC-0400 David G. Holm <dholm@jsd-llc.com> * contrib/libct/charmix.c * Replaced the old Harbour License and Exception with the new Harbour License and Exception, which Viktor Szakats had previously done on 2001-05-15 15:02 UTC+0100 and is present in all of the other libct files contributed by Martin Vogel. 2001-06-06 15:35 UTC-0400 David G. Holm <dholm@jsd-llc.com> * utils/hbmake/fclass1.prg * utils/hbmake/ffile1.prg * utils/hbmake/ft_funcs.prg * utils/hbmake/hbdocdef.ch * utils/hbmake/hbmake.prg * utils/hbmake/radios.prg * Replaced the old Harbour License and Exception with the new Harbour License and Exception, with permission from Luiz Rafael Culik Guimaraes <culik@nh.conex.com.br> 2001-06-06 15:20 UTC-0400 David G. Holm <dholm@jsd-llc.com> * source/rtl/tobject.prg * Replaced the old Harbour License and Exception with the new Harbour License and Exception, with permission from JF Lefebvre <jfl@wanadoo.be> (formerly <jfl@mafact.com>). 2001-06-06 14:50 UTC-0400 David G. Holm <dholm@jsd-llc.com> * contrib/rdd_ads/ads.ch * contrib/rdd_ads/rddads.h * include/hbpp.h * include/hbrddntx.h * source/pp/ppcore.c * Replaced the old Harbour License and Exception with the new Harbour License and Exception, with permission from Alexander S.Kresin <alex@belacy.belgorod.su> (I somehow managed to overlook these files in my earlier update). 2001-06-04 17:45 UTC-0400 David G. Holm <dholm@jsd-llc.com> * contrib/libmisc/dbftools.c * contrib/rdd_ads/ads0.prg * contrib/rdd_ads/ads1.c * contrib/rdd_ads/adsfunc.c * source/lang/msgru866.c * source/lang/msgruwin.c * source/pp/ppcomp.c * source/pp/pptable.c * utils/hbpp/hbpp.c * Replaced the old Harbour License and Exception with the new Harbour License and Exception, with permission from Alexander S.Kresin <alex@belacy.belgorod.su>. 2001-06-04 16:15 UTC-0400 David G. Holm <dholm@jsd-llc.com> * contrib/libnf/proper.c * include/hbdefs.h * samples\pe\editorlo.c * source/compiler/genc.c * source/rtl/gtapi.c ! TRUE must never be declared as anything other than !0 and boolean results must never be compared to any constant other than 0 when overriding an implicit boolean test. 2001-06-04 16:55 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> * source/pp/pplib.c * __PreProcess() works now. 2001-06-03 23:50 UTC-0800 Ron Pinkas <ron@profit-master.com> * contrib/dot/pp.prg + Added #ifdef WIN to support using Windows MessageBox() instead of Alert(), use BLD pp -dWIN to activate. * contrib/dot/pp_harb.ch + Minor revision in TInnterpreter() class. + Added wrapper for MessageBox() * contrib/dot/rp_run.ch + Added #ifdef #command to translate 2001-06-03 09:35 UTC+1 JFL (mafact) <jfl@mafact.com> * harbour/source/vm/Classe.c * Temporary disabled scoping for rel. 0.37 ! 2001-06-01 10:30 UTC-0800 Ron Pinkas <ron@profit-master.com> * contrib/dot/pp.prg + PP_RunArray( asLines, aParams ) + PP_Exec( aProcedures, aInitExit, nProcId, aParams ) * Modified all PP_RunXXXX() to use PP_Exec() * RP_Comp_Err() now repports source line and line number with the sysntax error. * contrib/dot/pp_harb.ch + Added Tinterpreter() class METHOD New() METHOD AddLine( cLine ) METHOD SetScript( cText ) METHOD Compile() METHOD Run() METHOD RunFile( cFile, aParams, cPPOExt, bBlanks ) INLINE PP_Run( cFile, aParams, cPPOExt, bBlanks ) METHOD ClearRules() METHOD InitStdRules() METHOD LoadClass() METHOD LoadFiveWin() * contrib/dot/prgscrpt.prg * Modified to demonstrate TInterpreter() syntax. * include/hbapi.h * source/vm/arrays.c * Fixed bug, in hb_stackArrayFromParams() and modified to accept a frame base parameter. * source/vm/arrayshb.c + Added HB_APARAMS() PRG wrapper to hb_stackArrayFromParams() returning array with passed parameter of the function calling HB_APARAMS() * source/rtl/do.c * Added required frams base parameter in calls to hb_stackArrayFromParams(). This fix population of oErr:Args if error occurs. 2001-05-30 10:49 UTC-0800 Brian Hays <bhays@abacuslaw.com> * source/rdd/dbcmd.c * Harrier's fix to NEXT clause in COPY TO command Thanks, Harrier! * contrib/rdd_ads/ads1.c * fixed adsOrderDestroy to call DestroyIndex instead of CloseIndex * source/rtl/philes.c * changed HB_FEOF() to HB_F_EOF to avoid collision with the HB_FEOF() in libmisc/hb_f.c 2001-05-30 14:15 UTC-0400 David G. Holm <dholm@jsd-llc.com> * contrib/odbc/odbc.c * contrib/odbc/todbc.prg * samples/guestbk/guestbk.prg * samples/hscript/hscript.prg * source/pp/pplib.c * Corrected Felipe G. Coury's email address and/or changed to the new Harbour License, with permission from Felipe. 2001-05-30 13:30 UTC-0400 David G. Holm <dholm@jsd-llc.com> * source/rtl/gtsln/gtsln.c * source/rtl/gtsln/kbsln.c * source/rtl/gtsln/keytrans.c % Changed to the new Harbour License, per request from Marek Paliwoda 2001-05-30 09:05 UTC-0800 Ron Pinkas <ron@profit-master.com> * contrib/dot/pp.prg + PP_ResetRules() + PP_InitStd() + PP_LoadRun() + PP_LoadClass() + PP_LoadFW() 2001-05-30 08:45 UTC-0800 Ron Pinkas <ron@profit-master.com> * contrib/dot/pp.prg ! Fixed PP_PreProLine() to not generate '#line n "<module>"' if module name is empty() 2001-05-30 01:30 UTC-0800 Ron Pinkas <ron@profit-master.com> * contrib/dot/pp.prg + Added PP_PreProText( cText [, acLines ] ) returns the pre-process text and optional file asLines with pre=processed lines. + Added PP_RunText( cText, [bPreProcess], [aParmas] ) returns the return value of executed code. bPreProcess defaults to .T. * Enhanced PP_Run( cFile [, aParams] ) to accept optioanl Array with Paramaters. ! Minor correction in NextExp(). * contrib/dot/prgscrpt.prg * Rewrote sample to demonstarte new simpler wrapper functions: 2001-05-28 19:10 UTC-0800 Ron Pinkas <ron@profit-master.com> * contrib/dot/pp.prg * Modified PP_PreProLine() to handle multi-line lines (;) as primary line. * Improved PP_RunInit() accept aProcedure as paramater. Now it can auto handle setup of RP_Run_Err() and reset aProcedures to {} + Added loading of std.ch * contrib/dot/prgscrpt.prg * Simplified samples, and added a simpler inline form sample. /* PP_RunInit( aCompiledProcs ) // Note the return value from PP_ExecProcedure() and no Procedure declaration in this 1st. sample... Alert( PP_ExecProcedure( ; PP_CompileLine( ; PP_PreProLine( "Private cVar := 'Hi there'; ? cVar; Return 'Returned from embedded script!'" ), ; 0, aCompiledProcs, NIL, @nProcId )[1] ) ) */ 2001-05-28 14:50 UTC-0800 Ron Pinkas <ron@profit-master.com> * contrib/dot/pp.prg * Renamed PP_ProcessLine() to PP_PreProLine() and PP_ProcessFile() to PP_PreProFile() to allow 10 chars uniqueness. * Changed STATIC ExecuteMethod() to PP_ExecMethod() and STATIC ExecuteProcedure() to PP_ExecProcedure() to allow call from external modules, while preserving name space, and 10 chars uniqeness. * Removed STATIC from RP_*_Err() to allow calls from external modules. * Changed PP_CompileLine() to accept array of compiled procedures, instead of using a static. This allows thread safety, and support calls from external modules. * Changed RP_Run_Err() to accept 2nd parameter the Compiled Procedures Array, and 3rd parameter Module Name. This allows thread safety, and support calls from external modules. + Added PP_RunInit() to support initialization for Interpreter mode from external modules. + Added #ifdef __HARBOUR_ #include "pp_harb.ch" to allow Clipper to compile pp.prg. * contrib/dot/rp_run.ch * Changed ExecuteMethod() calls to PP_ExecMethod() + contrib/dot/pp_harb.ch + Added external file holding Harbour specific code that Clipper could not compile. + contrib/dot/prgscrpt.prg + Added sample to demonstrate PP interpreter embeded in a small prg to run prg driven scripts. 2001-05-28 03:20 UTC-0800 Ron Pinkas <ron@profit-master.com> * contrib/dot/pp.prg * Renamed Main() to PP_Main(), ProcessFile() to PP_ProcessFile() and ProcessLine() to PP_ProcessLine() * Qualified all "private" functions/procedures with STATIC. 2001-05-28 02:45 UTC-0800 Ron Pinkas <ron@profit-master.com> * contrib/dot/pp.prg ! Fixed support for multi-words in restricted list matching in NextExp() 2001-05-27 21:20 UTC-0800 Ron Pinkas <ron@profit-master.com> * contrib/dot/pp.prg * Few minor corrections to NextExp() ! Fixed generation of compiled rules results to always have marker place holders, even if no results exist. + Added TraceLog() message about repeatble results for non optional markers. * Updated burned-in rules for FiveWin.ch with newly generated rules. + Added few #ifdef FW to better support compilation with \fwh\samples\buildh.bat + Added #include "fwextern.ch" (#ifdef FW) to force link most FW modules. /* PP, if built like this: BUILDH pp -dFW (note -dFW) will produce PP.exe which will run most \fwh\samples\*.prg Test like this: PP Tutor01 -R etc... :-) */ 2001-05-27 02:19 UTC-0800 Brian Hays <bhays@abacuslaw.com> * source/rdd/dbcmd.c * fixed ordListAdd pointer bug reported by JF * contrib/rdd_ads/ads.ch + added COMMIT command to call AdsWriteAllRecords (our dbCommitAll() loops through all workareas. AdsWriteAllRecords is an optimized single call to the server.) * contrib/rdd_ads/ads1.c * corrected commit to only flush current workarea * fixed DBOI_ORDERCOUNT parameter handling * contrib/rdd_ads/adsfunc.c + added AdsWriteAllRecords() & AdsGetNumIndexes() * contrib\rdd_ads\doc\en\readme.txt * minor edits 2001-05-26 10:25 UTC-0800 Brian Hays <bhays@abacuslaw.com> * source/rdd/dbcmd.c * Harrier's fix to APPEND FROM from a source file with a different structure than the target. Thanks, Harrier, it works! 2001-05-25 12:20 UTC-0800 Ron Pinkas <ron@profit-master.com> * contrib/dot/pp.prg * Few corrections to NextToken() and CompileRule() to match Clipper behaviour regrding decimal point, and decimal numbers. * source/pp/ppcore.c - Removed unused variable as per compiler warning. * source/vm/hvm.c ! Fixed HB_P_POPFIELD and HB_P_POPVARIABLE to NOT pop top stack element pre-maturely. Item is now pop only after assignment took place. This fixes problem where the FieldPut rutine had to use the stack, thus overriding the assigned item. 2001-05-24 01:09 UTC-0800 Brian Hays <bhays@abacuslaw.com> * source/rdd/dbcmd.c * fixed dbSetIndex/ordListAdd to set the order and go top IF it's the first bag * contrib/rdd_ads/ads.ch + added #define ADS_LOCAL_SERVER, ADS_REMOTE_SERVER, ADS_AIS_SERVER for "ORing" options * fixed _SET_DELETED typo * contrib/rdd_ads/ads1.c * Fixed EOF flag when doing a GO 0 2001-05-23 21:15 UTC-0800 Ron Pinkas <ron@profit-master.com> * include/hbclass.ch ! Corrected few minor typos. * source/compiler/harbour.slx * source/macro/macro.slx - Commented few unused lines. * contrib/dot/pp.prg % Rewrote NextToken() and NextExp(). + Added NextIdentifier() ! Found that Clipper PP is not processing tokens read by NextToken() and NextExp() so removed recursive support, and changed logic in ProcessLine() to linear process: #defines against all valid Identifiers - Expansion forces a resacn from top. #[x]translates against all tokens - Expansion forces a resacn from top of #defines. #[x]command agains the first token - Expansion forces a resacn from top of #defines. ! Corrected and refined many aspects of Interpreter mode. + Added ExecuteMethod() and support for OO syntax. + Added support for -I<includepaths...> command line switch. * contrib/dot/rp_run.ch + Added support for OO syntax. * contrib/dot/pp.txt * Updated documentation. valid Identifiers - Expansion forces a resacn from top. #[x]translates against all tokens - Expansion forces a resacn from top of #defines. #[x]command agains the first token - Expansion forces a resacn from top of #defines. ! Corrected and refined many aspects of Interpreter mode. + Added ExecuteMethod() and support for OO syntax. + Added support for -I<includepaths...> command line switch. * contrib/dot/rp_run.ch + Added support for OO syntax. * contrib/dot/pp.txt * Updated documentation. PP Interpreter mode, is now capable of running code like this: //---------------------------// Function Main() LOCAL o := TTest():New() o:Increment() Alert( o:nVar ) Return nil CLASS TTest VAR nVar METHOD New CONSTRUCTOR METHOD Increment() ENDCLASS METHOD New //CLASS TTest /* CLASS clause now optional */ ::nVar := 0 return Self METHOD Increment CLASS TTest // () No longer required Return (++::nVar) //---------------------------// 2001-05-21 21:35 UTC+1 JFL (mafact) <jfl@mafact.com> * harbour/source/vm/Proc.c + MethodName(nLevel) ==> Same as ProcName(nLevel) * harbour/include/hbclass.ch - delete xTranslate 'MethodName' 2001-05-21 14:30 UTC-0400 David G. Holm <dholm@jsd-llc.com> * source/rtl/tget.prg ! In METHOD KillFocus(), don't call ::Display() until after clearing ::hasFocus. Per bug report from "Robert Haley" <rhaley@cheshire.net> 2001-05-21 08:30 GMT -3 Luiz Rafael Culik <culik@sl.conex.net> * source/rtl/gtapi.c * fixed an small bug on hb_gtBoxD() reported by Jacek Kaleta 2001-05-21 07:20 UTC+1 JFL (mafact) <jfl@mafact.com> * harbour/source/vm/classes.c * hb_objGetRealClsName(object, szmsg ) was missing in function declaration. 2001-05-20 19:15 GMT -3 Luiz Rafael Culik <culik@sl.conex.net> * contrib/hbzlib/zip.c contrib/hbzlib/zipcomp.cpp contrib/hbzlib/zipnew.cpp * Fixed some bugs reported by Patrick Mast 2001-05-20 23:15 UTC+1 JFL (mafact) <jfl@mafact.com> * harbour/source/vm/classes.c + hb_objGetRealClsName(object, szmsg ) Return the real class name regarding the Message called So as an inherited method will return it's real class parent * harbour/source/vm/proc.c * modified PROCNAME() to call the new classes function * harbour/include/hbapi.h + added hb_objGetRealClsName * harbour/include/hbclass.ch + added xtranslate to allow MethodName as the same as ProcName (a la class(y) ) 2001-05-20 13:35 GMT -3 Luiz Rafael Culik <culik@sl.conex.net> *contrib/hbzlib/zip.c *Fixed an small bug on hb_zipfilebytdspan() contrib/hbzlib/doc/zipnew.txt *Updated the doc to reflect the change 2001-05-19 19:00 GMT -3 Luiz Rafael Culik <culik@sl.conex.net> +contrib/hbzlib/hbzip2.h *include files need by the library +contrib/hbzlib/zip.c *Harbour Level functions for hbzlib +contrib/hbzlib/zipcomp.cpp *Low-level APIs for hbzlib compression +contrib/hbzlib/zipnew.cpp *Low-level APIs for hbzlib Extraction +contrib/hbzlib/makefile2.bc *makefile to make the new hbzlib +contrib/hbzlib/doc/zipnew.txt *Docs for the new hbzlib function interface *utils/hbmake/hbmake.prg *Fixed an small bug when generating the script(possibitity fo not find the file under linux) *updated to the new license 2001-05-18 13:20 UTC-0400 David G. Holm <dholm@jsd-llc.com> * source/rtl/dbdelim.prg * source/rtl/dbsdf.prg ! Fixed bug where using a WHILE condition failed to test for BOF or EOF, resulting in incorrect or blank records. * tests/delimtst.prg * tests/sdf_test.prg * Added a new test (4a) to demonstrate the fix. 2001-05-18 09:50 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbfntx/dbfntx1.c * indexes now are opened with FO_READWRITE regardless of readonly mode on/off to allow locking. They are opened with FO_READ mode only if exclusive and readonly are set. ( Before index file couldn't be locked while moving through it in shared readonly mode ). 2001-05-17 13:25 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbfntx/dbfntx1.c * bugs fixed, reported by John M. S. Chiang, related to appending of new records 2001-05-16 22:50 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbfntx/dbfntx1.c * bugs fixed, reported by John M. S. Chiang, related to seek with SOFTSEEK ON 2001-05-16 09:00 UTC-0800 Ron Pinkas <ron@profit-master.com> * include/hbclass.ch * Refined #error messages for OO compile time inegrity checks, as per input from Antonio and Dave. 2001-05-16 08:10 GMT -3 Luiz Rafael Culik <culik@sl.conex.net> *utils/hbmake/checks.prg updated to the new licence 2001-05-16 08:00 GMT -3 Luiz Rafael Culik <culik@sl.conex.net> *make_b32.bat b32_slex.bat make_vc.bat vc_slex.bat + Added Contrib\libmisc to default build bin\bld.bat + Added libmisc.lib to command lines of BCC and MSVC to fix undefined simbols , when compiling tests that require this library 2001-05-16 10:45 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> * include/hbrddntx.h * source/rddntx/dbfntx1.c + added ntxGoHot() + added ntxGoCold() - removed ntxPutValue() * corrected index updating - now it is done with ntxGoHot() and ntxGoCold(), as it should be. 2001-05-15 20:15 UTC+1 JFL (mafact) <jfl@mafact.com> * harbour/source/vm/classes.c * minor modif to hb___msgClsSel() as indicated by Chen 2001-05-15 20:50 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbf1.c * bug fixed, reported by Antonio Linares, related to record locking 2001-05-15 15:02 UTC+0100 Viktor Szakats * contrib/hbclip/hbarg.c * contrib/hbclip/hbclip.h * contrib/hbclip/hbclip.prg * contrib/hbclip/hbcolind.c * contrib/hbclip/hbkeyput.prg * contrib/hbclip/hbshadow.prg * contrib/hbclip/hbstod.c * contrib/hbclip/hbstodx.c * contrib/hbclip/hbvaltoc.prg * contrib/hbclip/readme.txt * contrib/libct/charevod.c * contrib/libct/charmix.c * contrib/libct/ctchksum.c * contrib/libct/ctcolton.c * contrib/libct/ctcrypt.c * contrib/libct/ctmisc.prg * contrib/libct/ctposupp.c * contrib/libct/readme.txt * contrib/libmisc/numtxthu.prg * contrib/libmisc/strfmt.c * contrib/libmisc/doc/en/ht_str.txt * doc/cmdline.txt * doc/hdr_tpl.txt * doc/howtocvs.txt * doc/howtomak.txt * doc/en/hb_apiln.txt * doc/en/hb_compa.txt * doc/en/hb_date.txt * doc/en/terminal.txt * doc/es/lang.txt * include/clipdefs.h * include/error.api * include/extend.api * include/extend.h * include/fm.api * include/gt.api * include/hbapigt.h * include/hbapilng.h * include/hbdate.h * include/hbmemory.ch * include/hboo.ch * include/hbsetup.ch * include/hbundoc.api * include/hbvmpub.h * include/item.api * include/rdd.api * include/vm.api * source/common/hbfsapi.c * source/common/hbstr.c * source/common/hbver.c * source/compiler/cmdcheck.c * source/compiler/hbusage.c * source/debug/dbgtmenu.prg * source/debug/dbgtmitm.prg * source/debug/dbgtwin.prg * source/debug/debugger.prg * source/lang/msgcs852.c * source/lang/msgcsiso.c * source/lang/msgcskam.c * source/lang/msgcswin.c * source/lang/msgen.c * source/lang/msgfr.c * source/lang/msghe862.c * source/lang/msghewin.c * source/lang/msghr852.c * source/lang/msghriso.c * source/lang/msghu852.c * source/lang/msghucwi.c * source/lang/msghuwin.c * source/lang/msgis850.c * source/lang/msgro.c * source/pp/ppcore.c * source/rdd/dbnubs.c * source/rdd/dbfntx/dbfntx0.prg * source/rtl/accept.c * source/rtl/adir.prg * source/rtl/alert.prg * source/rtl/ampm.c * source/rtl/binnumx.c * source/rtl/box.c * source/rtl/colorind.c * source/rtl/console.c * source/rtl/dates.c * source/rtl/dateshb.c * source/rtl/datesx.c * source/rtl/dirdrive.c * source/rtl/diskspac.c * source/rtl/disksphb.c * source/rtl/dummy.prg * source/rtl/errorapi.c * source/rtl/fieldbl.prg * source/rtl/filesys.c * source/rtl/fkmax.c * source/rtl/fnsplit.c * source/rtl/fssize.c * source/rtl/fstemp.c * source/rtl/gete.c * source/rtl/getlist.prg * source/rtl/gt.c * source/rtl/gtapi.c * source/rtl/gtapiu.c * source/rtl/gx.c * source/rtl/inkey.c * source/rtl/isprint.c * source/rtl/langapi.c * source/rtl/lennum.c * source/rtl/memofile.c * source/rtl/mouseapi.c * source/rtl/mousex.c * source/rtl/natmsg.c * source/rtl/net.c * source/rtl/oemansi.c * source/rtl/oldclear.c * source/rtl/pad.c * source/rtl/philes.c * source/rtl/philesx.c * source/rtl/readkey.prg * source/rtl/readvar.prg * source/rtl/samples.c * source/rtl/setposbs.c * source/rtl/soundex.c * source/rtl/strings.c * source/rtl/strmatch.c * source/rtl/strzero.c * source/rtl/type.c * source/rtl/val.c * source/rtl/version.c * source/rtl/word.c * source/rtl/xhelp.c * source/rtl/xsavescr.c * source/rtl/gtcgi/gtcgi.c * source/rtl/gtcgi/mousecgi.c * source/rtl/gtcrs/mousecrs.c * source/rtl/gtdos/gtdos.c * source/rtl/gtpca/mousepca.c * source/rtl/gtsln/mousesln.c * source/rtl/gtstd/gtstd.c * source/rtl/gtstd/mousestd.c * source/rtl/gtwin/gtwin.c * source/vm/arrays.c * source/vm/asort.c * source/vm/classes.c * source/vm/cmdarg.c * source/vm/extend.c * source/vm/fm.c * source/vm/harbinit.prg * source/vm/hvm.c * source/vm/itemapi.c * source/vm/main.c * source/vm/memvars.c * source/vm/memvclip.c * source/vm/proc.c * tests/fortest.prg * tests/langapi.prg * tests/lnlenli1.prg * tests/lnlenli2.prg * tests/memfile.prg * tests/memory.prg * tests/statinit.prg * tests/vec1.prg * utils/hbtest/hbtest.prg * utils/hbtest/rt_array.prg * utils/hbtest/rt_date.prg * utils/hbtest/rt_file.prg * utils/hbtest/rt_hvm.prg * utils/hbtest/rt_hvma.prg * utils/hbtest/rt_init.ch * utils/hbtest/rt_main.ch * utils/hbtest/rt_math.prg * utils/hbtest/rt_misc.prg * utils/hbtest/rt_str.prg * utils/hbtest/rt_stra.prg * utils/hbtest/rt_trans.prg * utils/hbtest/rt_vars.ch ! Corrected names, copyrights, dates for Viktor Szakats. * include/Makefile ! Fixed missing hb_io.h 2001-05-15 13:46 UTC+0100 Viktor Szakats * make_gnu.bat * make_gnu.cmd * make_gnu.sh * bin/bld.bat * bin/bld.cmd * bin/bld.sh * compiler/hbusage.c * Changed email address and copyright dates. * source/rtl/menuto.prg - Removed my partial copyright. First round of copyright/email address update. To be continued. 2001-05-15 13:20 UTC+0300 Chen Kedem <niki@synel.co.il> * doc/en/objfunc.txt * update the doc for __objGetMsgList() to reflect changelog 2001-05-13 22:10 UTC+1 JFL (mafact) <jfl@mafact.com> also added a short DATA/CLASSDATA explanation by J.Lefebvre 2001-05-14 21:10 UTC-0400 David G. Holm <dholm@jsd-llc.com> * source/compiler/hbusage.c % Corrected copyright year and URL, per diff from Dave Pearson. 2001-05-14 02:09 UTC-0800 Brian Hays <bhays@abacuslaw.com> * source/rdd/dbcmd.c * replaced lpdbOrdCondInfo->fScoped with fUseCurrent to clear "USECURRENT" property for subsequent indexes * contrib/rdd_ads/make_b32.bat * added CLEAN parameter handling * include/hbapirdd.h - removed fScoped member from DBORDERCONDINFO * contrib/rdd_ads/adsfunc.c * fixed retrieval of codeblock return value for aborting indexing. 2001-05-14 21:30 UTC+1 JFL (mafact) <jfl@mafact.com> * harbour/utils/hbmake/ffile1.prg * remed two old method wich where not anymore used nor declared from the class. 2001-05-14 22:14 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbfntx/dbfntx1.c * bugs fixed, reported by John M. S. Chiang, related to indexing of an empty file and packing 2001-05-13 07:55 UTC-0800 Brian Hays <bhays@abacuslaw.com> * source/rdd/dbcmd.c * dbAppend: set NetErr to True if SELF_APPEND fails * contrib/rdd_ads/ads.ch * added SET EPOCH TO and SET DATE FORMAT * contrib/rdd_ads/adsfunc.c + added AdsGetTableAlias() to confirm ADS's idea of the alias + added AdsSetEpoch() and AdsSetDateFormat() Done as get/set functions (returns previous setting) + added AdsCloseAllTables() * changed ShowPercentage for Indexing CallBacks to return the value from the codeblock to the Server. Pass 0 to continue, 1 (non-zero) to abort * contrib/rdd_ads/ads1.c * Fixed adsOpen() to pass along the correct alias to ADS * added DumpArea() for debugging: call this to dump ads server settings to HB_TRACE. Currently in a quick-and-dirty state... * source/vm/arrayshb.c * added HB_ArrayID() Useful for debugging: returns the array's "address" so dual references to same array can be seen */ * source/vm/arrays.c * in hb_arrayFromStack added missing ";" needed for debug build 2001-05-13 22:10 UTC+1 JFL (mafact) <jfl@mafact.com> * harbour/include/hboo.ch + added #define to allow a better control of __objGetMsgList() #define HB_MSGLISTALL 0 #define HB_MSGLISTCLASS 1 #define HB_MSGLISTPURE 2 * harbour/source/rtl/objfunc.prg * Modified __objGetMsgList() * harbour/source/vm/classes.c * Modified hb___msgClsSel() to be used by __objGetMsgList() 2001-05-13 09:40 UTC-0800 Ron Pinkas <ron@profit-master.com> * include/hbclass.ch % Removed many redundant rules (recently added for OO integrity checks). /* Found the PP problem that stopped me from implementing this optimized form before. It seems the PP has a problem with "[" follwing a an identifier without a space prefix like: #command TEST[([<param,...>])] It seems to work OK like this: #command TEST [([<param,...>])] */ 2001-05-12 18:30 GMT+0200 Martin Vogel <vogel@inttec.de> + contrib/libct/charmix.c - contrib/libct/ctchrmix.c ! ctchrmix.c replaced by charmix.c + contrib/libct/charone.c ! CHARONE() function ! WORDONE() function + contrib/libct/charonly.c ! CHARONLY() function ! WORDONLY() function ! CHARREM() function ! WORDREM() function !New function! + contrib/libct/charsort.c ! CHARSORT() function + contrib/libct/charswap.c ! CHARSWAP() function ! WORDSWAP() function * contrib/libct/Makefile * added charmix.c, removed ctchrmix.c + added charone.c + added charonly.c + added charsort.c + added charswap.c * contrib/libct/makefile.bc * added charmix.c, removed ctchrmix.c + added charone.c + added charonly.c + added charsort.c + added charswap.c * contrib/libct/makefile.vc * added charmix.c, removed ctchrmix.c + added charone.c + added charonly.c + added charsort.c + added charswap.c * contrib/libct/readme.txt ! enhancement list updated ! * contrib/libct/ctflist.txt ! function status list updated ! + contrib/libct/tests/charmix.prg + contrib/libct/tests/charone.prg + contrib/libct/tests/charonly.prg + contrib/libct/tests/charrem.prg + contrib/libct/tests/charsort.prg + contrib/libct/tests/charswap.prg + contrib/libct/tests/wordone.prg + contrib/libct/tests/wordonly.prg + contrib/libct/tests/wordrem.prg + contrib/libct/tests/wordswap.prg * contrib/libct/tests/Makefile + added charmix.prg + added charone.prg + added charonly.prg + added charrem.prg + added charsort.prg + added charswap.prg + added wordone.prg + added wordonly.prg + added wordrem.prg + added wordswap.prg 2001-05-11 14:15 UTC-0800 Ron Pinkas <ron@profit-master.com> * include/hbclass.ch + Added syntax declaration support for METHOD ... OPERATOR ... 2001-05-11 09:00 UTC-0800 Ron Pinkas <ron@profit-master.com> * include/hbclass.ch ! Fixed declaration support for OnError() METHODS ! Fixed support for Methods having space prefixing the "( ... )" in the method implementation. + Refined #error messages to report the Class Name . * source/pp/ppcore.c * Removed recently added but not required support of #define expansion in #error directive. 2001-05-10 22:10 UTC-0800 Ron Pinkas <ron@profit-master.com> * source/rtl/tclass.prg + Added logic to dispose of posibble "(...)" suffix to Method Name in AddInline() 2001-05-10 15:30 UTC-0800 Ron Pinkas <ron@profit-master.com> * include/hbclass.ch + Added logic for NO Checking of OO Syntax (#ifdef NO_OO_ERR) - Use /dNO_OO_ERR to disable OO Syntax Checking. * source/pp/ppcore.c * Temporarily disabled support of #define expansion in #error directive. 2001-05-10 14:40 UTC-0800 Ron Pinkas <ron@profit-master.com> * include/hbclass.ch - Removed 1 #translate that caused conflicts with FWH. + Refined logic detecting undeclared method and improved messages. + Added logic for STRICT (#ifdef STRICT_OO) validation (all paramaters must match too) + Added logic for normal (default) validation (paramaters are ignored). * source/compiler/harbour.sly * source/compiler/harbour.y + Added support for dummy parameters to function pointer ( @SomeFun( DummyParam ) ) * source/vm/hvm.c * source/compiler/hbpcode.c ! Corrected 1 compiler warning. * source/pp/ppcore.c + Added support for #defines in #error messages. * source/debug/debugger.prg - Removed orphan method (discovered by new compiler error) CaseSensitive() which is apparantly superceded by ToggleCaseSensitive(). * utils/hbdoc/ffile1.prg - Removed orphan method (discovered by new compiler error) GetBuff() which is routed to GetBuffer() in class declaration - Removed orphan method (discovered by new compiler error) fClose() which is not declared and default to Super in class declaration. /* These were discovered with the default LOOSE mode. When using /dSTRICT_OO many more inconsistencies are discovered! */ 2001-05-10 14:30 GMT+0200 (MET DST) Martin Vogel <vogel@inttec.de> + contrib/libct/charmirr.c + CHARMIRR() function + contrib/libct/charrepl.c + CHARREPL() function + contrib/libct/wordrepl.c + WORDREPL() function * contrib/libct/Makefile * contrib/libct/makefile.bc * contrib/libct/makefile.vc + added charmirr.c, charrepl.c, wordrepl.c + contrib/libct/tests/charmirr.prg + contrib/libct/tests/charrepl.prg + contrib/libct/tests/wordrepl.prg ! small test programs for new functions * contrib/libct/tests/Makefile + added charmirr.prg, charrepl.prg, wordrepl.prg 2001-05-10 11:30 GMT+0200 (MET DST) Martin Vogel <vogel@inttec.de> * contrib/libct/token1.c + added some documentation for the functions in token1.c * contrib/libct/readme.txt + added some information to the "enhancements" paragraph + contrib/libct/tests/numtoken.prg + contrib/libct/tests/tokenlow.prg + contrib/libct/tests/tokenupp.prg + contrib/libct/tests/tokensep.prg ! small test programs for new functions 2001-05-10 09:46 UTC+0300 Chen Kedem <niki@synel.co.il> * doc/en/objfunc.txt * update the doc for __objGetMsgList() to reflect changelog 2001-05-09 00:02 UTC+1 JFL (mafact) <jfl@mafact.com> 2001-05-09 22:10 UTC+1 JFL (mafact) <jfl@mafact.com> * include/hbclass.ch + EXPORT: same as EXPORTED: for classy compatibility 2001-05-08 21:30 UTC-0400 David G. Holm <dholm@jsd-llc.com> * source/rtl/dbdelim.c * source/rtl/dbsdf.c % Corrected the initial database record positioning when using only the ALL scope by itself or a FOR condition by itself to position to the top of the database instead of record number 1. 2001-05-09 00:02 UTC+1 JFL (mafact) <jfl@mafact.com> * source/vm/classes.c * modified hb_msgclssel() to accept one logical param so as it return only ClassMsg * source/rtl/objfunc.prg * modified ObjGetMsgList() to accept one logical param so as it return only ClassMsg 2001-05-08 14:50 UTC-0800 Ron Pinkas <ron@profit-master.com> * include/hbclass.ch % Removed numerous redundant rules. + Added logic to detect and raise #error on implementation of NON Declared method. * source/rtl/tclass.prg + Added logic to dispose of posibble "(...)" suffix to Method Name in AddVirtual(), AddMethod(), and AddClsMethod(). 2001-05-07 11:40 UTC-0800 Ron Pinkas <ron@profit-master.com> * include/hbclass.ch ! Added missing parameter to declaration of AddMultiData() * source/compiler/harbour.c ! Corrected broken Linked-List links in hb_compDeclaredInit() * source/compiler/hbpcode.c * Minor correction in declared parameters checking. * source/vm/hvm.c + Added complete call stack display to hb_vmRequestCancel() /* Cancelling will now show the complete call stack, rather than the not very helpful just current procedure. */ 2001-05-06 20:30 CET Martin Vogel <vogel@inttec.de> + contrib/libct/token1.c ! ATTOKEN() function ! New 4th parameter <nSkipWidth> ! ! TOKEN() function ! New 5th and 6th parameter <cPreTokenizer> and <cPostTokenizer>! ! NUMTOKEN() function ! TOKENLOWER() function ! TOKENUPPER() function ! TOKENSEP() function + contrib/libct/alt/ ! new subdirectory for alternate function implementation in pure Harbour, needed for Harbour output formats that rely on a pure byte code ! - contrib/libct/cttoken.prg ! moved to new alt/ subdir as token1.prg + contrib/libct/alt/token1.prg ! pure Harbour implementation of functions coded in ../token1.c, still some work to do ! * contrib/libct/Makefile + added token1.c - removed cttoken.prg * contrib/libct/makefile.bc + added token1.c - removed cttoken.prg * contrib/libct/makefile.vc + added token1.c - removed cttoken.prg * contrib/libct/readme.txt ! enhancement list updated ! * contrib/libct/ctflist.txt ! function status list updated ! + contrib/libct/tests/attoken.prg ! test program for the ATTOKEN() function + contrib/libct/tests/token.prg ! test program for the TOKEN() function * contrib/libct/tests/Makefile + added attoken.prg + added token.prg 2001-05-06 12:00 UTC-0500 Paul Tucker <ptucker@sympatico.ca> * source\rtl\inkey.c added cast in Lastkey * source\vm\debug.c(113) removed unused pItem * source\rtl\errorapi.c(815) removed unused pArg * utils\hbpp\hbpp.c(89) removed unused szDefText * source\rdd\dbcmd.c removed various unused variables 2001-05-04 17:10 UTC-0800 Ron Pinkas <ron@profit-master.com> * contrib/dot/pp.prg * contrib/dot/rp_run.ch ! Few corrections to Pre Processor, and Interpreter. * include/hbclass.ch + Added support for METHOD implementations without requiring the CLASS Clause. + Added support for METHOD implementations without requiring the "()" if no parameters needed. 2001-05-03 17:40 UTC-0800 Ron Pinkas <ron@profit-master.com> * source/pp/ppcore.c ! Corrected minor bug with test for valid string prefixs + Added missing valid string prefix (.) (except macro terminator) in getExpReal() 2001-05-03 19:35 UTC+0100 Ryszard Glab <rglab@imid.med.pl> *source/compiler/harbour.l *fixed support for macro expressions *tests/keywords.prg *added some code to test compilation of macro expressions *added HB_CLIPPER_COMPATIBLE to correctly report errors with Harbour(flex) 2001-05-03 07:30 UTC-0800 Ron Pinkas <ron@profit-master.com> * source/pp/ppcore.c + Added missing valid string prefix (|) in getExpReal() 2001-05-02 21:20 UTC-0800 Ron Pinkas <ron@profit-master.com> * source/pp/ppcore.c ! Corrected bug in getExpReal() where strings could be appended to an invalid expression. 2001-05-02 15:00 UTC-0400 David G. Holm <dholm@jsd-llc.com> * include/hbapigt.h % Corrected parameter declarations for hb_gt_ExtendedKeySupport() to be void instead of implied int. 2001-05-02 11:05 UTC-0800 Ron Pinkas <ron@profit-master.com> * include/hbapi.h * Changed HB_NESTED_CLONED to record BaseArray instead of first item. * Reverted declaration of hb_arrayClone to use 2nd parameter ( pClonedList ) for futute Thread Safety. * source/vm/arrays.c * Corrected handling of nested (shared) empty array in hb_arrayClone(). * Reverted definition of hb_arrayClone() to use 2nd parameter ( pClonedList ) for future Thread Safety. * source/vm/arrayshb.c * source/vm/classes.c * source/vm/hvm.c * Added required 2nd parameter ( NULL ) to calls to hb_arrayClone() 2001-05-01 02:35 UTC-0800 Ron Pinkas <ron@profit-master.com> * contrib/dot/rp_run.ch * contrib/dot/pp.prg % Optimozed and improved handling of IF [ELSEIF] [ELSE] ENDIF in Interpreter mode. % Optimozed and improved handling of DO CASE [CASE] [OTHERWISE] END[CASE] in Interpreter mode. + Added support for FOR [LOOP] [EXIT] NEXT to Interpreter mode. + Added support for [DO] WHILE [LOOP] [EXIT] END[DO] to Interpreter mode. + Added support for file statics to Interpreter mode. + Added supprt for Command-Line Parameters to Interpreter mode. /* PP "FileName Param1 ParamN" -r */ * tests/stripem.prg ! Resolved missing Default() and ToChar() 2001-04-30 13:00 UTC-0400 David G. Holm <dholm@jsd-llc.com> * include/hbinkey.ch * source/rtl/inkey.c * source/rtl/gtwin/gtwin.c % Corrected handling of enhanced keys with no key modifiers. As a result, the Key Pad Enter key is distinct from the normal Enter key when using HB_INKEY_EXTENDED mode. 2001-04-28 02:10 UTC-0800 Ron Pinkas <ron@profit-master.com> * include/hbapi.h - Removed 2nd parameter from hb_arrayClone() declaration * source/vm/arrays.c - Removed 2nd parameter from definition of hb_arrayClone(), added a static s_pClonedList instead. * source/vm/arrayshb.c * source/vm/classes.c * source/vm/hvm.c - Removed 2nd parameter from calls to hb_arrayClone() 2001-04-28 23:15 CET Martin Vogel <vogel@inttec.de> + contrib/libct/atrepl.c ! ATREPL() function with !new! 6th parameter + contrib/libct/charlist.c ! CHARLIST(), CHARNOLIST() function + CHARSLIST() sorted character list !New function! + CHARHIST() character histogram !New function! * contrib/libct/Makefile + added atrepl.c + added charlist.c * contrib/libct/makefile.bc + added atrepl.c + added charlist.c * contrib/libct/makefile.vc + added atrepl.c + added charlist.c * contrib/libct/readme.txt ! enhancement list updated ! * contrib/libct/ctflist.txt ! function status list updated ! + contrib/libct/tests/atrepl.prg ! test program for the ATREPL() function + contrib/libct/tests/charlist.prg ! test program for the CHARLIST() function + contrib/libct/tests/charnlst.prg ! test program for the CHARNOLIST() function + contrib/libct/tests/charslst.prg ! test program for the new CHARSLIST() function + contrib/libct/tests/charhist.prg ! test program for new CHARHIST() function * contrib/libct/tests/Makefile + added atrepl.prg + added charlist.prg + added charnlst.prg + added charslst.prg + added charhist.prg * contrib/libct/ctflist.txt ! function status list updated ! 2001-04-27 22:30 UTC-0400 David G. Holm <dholm@jsd-llc.com> * doc/en/input.txt * include/hbapigt.h + include/hbinkey.ch * include/inkey.ch * source/rtl/gtapi.c * source/rtl/inkey.c * source/rtl/gt_tpl/gt_tpl.c * source/rtl/gtcgi/gtcgi.c * source/rtl/gtcrs/kbdcrs.c * source/rtl/gtdos/gtdos.c * source/rtl/gtos2/gtos2.c * source/rtl/gtpca/gtpca.c * source/rtl/gtsln/kbsln.c * source/rtl/gtstd/gtstd.c * source/rtl/gtwin/gtwin.c * tests/inkeytst.prg + Added a new HB_INKEY_EXTENDED mode that extends the number of unique keys that Harbour can distinguish between. The first implementation is for gtwin only, so the gtapi has a new API function that the inkey.c module uses to determine if the GT module supports the new HB_INKEY_EXTENDED mode. This way, it is not necessary to convert all GT drivers to support the new input mode at the same time. The new GT API function is named hb_gtExtendedKeySupport() and returns zero if the new mode is not supported or non-zero if the new extended mode is supported. * The INKEY() family of functions defaults to the normal Clipper- compatible key code mode. In order to use the extended code mode, you either need to set the global input mask to include the new HB_INKEY_EXTENDED value or include it in the second parameter for INKEY() and the new optional NEXTKEY() and LASTKEY() parameter. + A GT driver that supports extended key code mode must *always* use extended key codes. A new translation function in inkey.c is used to translate between extended and normal key codes when the new HB_INKEY_EXTENDED mode is not in use. + The new hbinkey.ch module defines and documents the new extended mode key codes, which are not compatible with the normal codes (with the obvious exception of character codes 0 through 255). These manifest constants use the HB_ prefix and are also defined for many duplicate codes (such as HB_K_CTRL_A, HB_ENTER, etc.) + Extended key codes consist of the PC keyboard scan code and one or more offset values. If no keyboard modifier was used, then HB_INKEY_NONE is added. The Alt key adds HB_INKEY_ALT, the Ctrl key adds HB_INKEY_CTRL, the Shift key adds HB_INKEY_SHIFT, and enhanced keys (KeyPad+/ and CursorPad keys) add HB_INKEY_ENHANCED. For example, F1 is scan code 59, so if you just press F1, you get key code 315, but Alt+F1 gives 443, Ctrl+F1 gives 571, and Shift+ F1 gives 699. And NumPad+/ gives 1077, 1205, 1333, and 1461. At this time, the only value that can combine with other values is HB_INKEY_ENHANCED (i.e., there are no Alt+Ctl combinations, etc.) + Note: The extended key code set is larger than the normal key code set. As a result, if you switch between the normal and extended modes, you need to be aware that some codes get translated into a zero in normal mode (because there is no corresponding code in normal mode) and that these codes get removed from the keyboard input buffer in normal mode and you won't be able to go back and fetch them later in extended mode. + In order to allow testing the new extended mode, the inkeytst.prg module has been extended to interpret the second parameter. If it is not present, then normal mode is used. If it starts with an "R" (or "r"), then raw mode is used. Otherwise, extended mode is used. 2001-04-27 15:00 UTC-0400 David G. Holm <dholm@jsd-llc.com> * include/achoice.ch * include/assert.ch * include/box.ch * include/button.ch * include/color.ch * include/common.ch * include/dbedit.ch * include/dbstruct.ch * include/directry.ch * include/error.ch * include/getexit.ch * include/hbapigt.h * include/hbapirdd.h * include/hbdefs.h * include/inkey.ch * include/memoedit.ch * include/ord.ch * include/rddsys.ch * include/reserved.ch * include/setcurs.ch * include/simpleio.ch * include/std.ch * Changed the license in all "anonymous" include files from the old license to the new one. 2001-04-26 22:10 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> * contrib/mysql/mysql.c + added functions sqlHostInfo(), sqlSrvInfo() * source/rdd/dbfntx/dbfntx1.c * implemented seek for numeric and date indexes 2001-04-26 14:00 GMT+1 Antonio Linares <alinares@fivetech.com> * source/vm/debug.c ! __VMSTKLCOUNT( <nProcLevel> ) enhanced to accept a nProcLevel. 2001-04-26 14:00 CET Martin Vogel <vogel@inttec.de> + contrib/libct/asciisum.c + asciisum() function + contrib/libct/ascpos.c + ascpos() and valpos() function * contrib/libct/Makefile + added contrib/libct/asciisum.c + added contrib/libct/ascpos.c * contrib/libct/makefile.bc + added contrib/libct/asciisum.c + added contrib/libct/ascpos.c * contrib/libct/makefile.vc + added contrib/libct/asciisum.c + added contrib/libct/ascpos.c * contrib/libct/ctflist.txt * changed status of functions mentioned above + contrib/libct/tests/asciisum.prg + contrib/libct/tests/ascpos.prg + contrib/libct/tests/valpos.prg ! small test programs for new functions * contrib/libct/tests/Makefile + added contrib/libct/tests/asciisum.prg + added contrib/libct/tests/ascpos.prg + added contrib/libct/tests/valpos.prg 2001-04-26 01:15 UTC-0800 Brian Hays <bhays@abacuslaw.com> * source/rdd/dbcmd.c * __dbLocate wasn't freeing mem blocks if dataset was empty * added ordKeyCount * formatted comments * removed HB_SYMBOL_UNUSED( bRest ); since it's used now * Fixed logic in __dbCopy for only having a For clause (it was failing to copy if first record failed test) Harrier - please review my change to bFor/pFor testing * contrib/rdd_ads/adsfunc.c + Added ADSGETFILTER() for retrieving what ADS thinks the filter is * contrib/rdd_ads/ads1.c * fixed dbOrderInfo(DBOI_KEYCOUNT) when no scope was set (was returning 0) * contrib/rdd_ads/adsmgmnt.c * removed unneeded headers * source/rtl/dummy.prg * removed ordKeyCount 2001-04-25 17:51 GMT-3 Horacio Roldan <horacioroldan@usa.net> *source/rdd/workarea.c * patched GPF using valResult. 2001-04-25 20:08 GMT+1 Antonio Linares <alinares@fivetech.com> * source/vm/debug.c ! __VMPARLLIST( <nProcLevel> ) enhanced to accept a nProcLevel. 2001-04-21 22:59 GMT+2 Maurilio Longo <maurilio.longo@libero.it> * source/rtl/memoedit.prg ! fixed error when UserFunction is a logical value. 2001-04-20 18:15 UTC-0400 David G. Holm <dholm@jsd-llc.com> * source/rtl/disksphb.c % Fixed errors in EG_OPEN error generation. 2001-04-20 18:05 UTC-0400 David G. Holm <dholm@jsd-llc.com> + include/hb_io.h * source/common/hbtrace.c * source/rtl/console.c * source/rtl/dir.c * source/rtl/disksphb.c * source/rtl/filesys.c * source/rtl/gtapi.c + Instead of using #include <io.h> and/or messy #ifdef blocks to include <unistd.h> and/or <io.h>, just use #include "hb_io.h" (based on an idea from Dave Pearson). 2001-04-20 19:00 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> * contrib/libmisc/dbftools.c * fieldtype() fixed accordingly to RDD changes * contrib/mysql/mysql.c * sqlConnect() fixed for version older than 3.22.34 + added support for mysql_affected_rows() and mysql_field_count() * tests/db_brows.ch * tests/db_brows.prg * some improvements 2001-04-20 16:30 CET Martin Vogel <vogel@inttec.de> + contrib/libct/charop.c + charadd(), charand(), charor(), charxor(), charnot() and (NEW!) charsub(), charshl(), charshr(), charrll() and charrlr() functions * contrib/libct/Makefile + added contrib/libct/charop.c * contrib/libct/makefile.bc + added contrib/libct/charop.c * contrib/libct/makefile.vc + added contrib/libct/charop.c * contrib/libct/ctflist.txt * changed status of functions mentioned above * contrib/libct/readme.txt + added comments for new functions + contrib/libct/tests/charadd.prg + contrib/libct/tests/charand.prg + contrib/libct/tests/charor.prg + contrib/libct/tests/charnot.prg + contrib/libct/tests/charxor.prg + contrib/libct/tests/charsub.prg + contrib/libct/tests/charshl.prg + contrib/libct/tests/charshr.prg + contrib/libct/tests/charrll.prg + contrib/libct/tests/charrlr.prg ! small test programs for new functions * contrib/libct/tests/Makefile + added contrib/libct/tests/charadd.prg + added contrib/libct/tests/charand.prg + added contrib/libct/tests/charor.prg + added contrib/libct/tests/charnot.prg + added contrib/libct/tests/charxor.prg + added contrib/libct/tests/charsub.prg + added contrib/libct/tests/charshl.prg + added contrib/libct/tests/charshr.prg + added contrib/libct/tests/charrll.prg + added contrib/libct/tests/charrlr.prg 2001-04-20 15:04 GMT+2 Maurilio Longo <maurilio.longo@libero.it> * source/rtl/memoedit.prg * simplified handling of keys and prevented infinite recursion when a key not handled by TEditor was pressed inside a MemoEdit() window. * ME_TOGGLESCROLL is not handled since TEditor cannot handle such a kind of "movement" * K_CTRL_T (delete word right) is not handled since TEditor is not able to do it 2001-04-20 11:09 GMT+2 Maurilio Longo <maurilio.longo@libero.it> * source/rtl/memoedit.prg ! fixed handling of K_ALT_W 2001-04-20 10:50 CET Martin Vogel <vogel@inttec.de> + contrib/libct/charevod.c - contrib/libct/ctchrevn.c - contrib/libct/ctchrodd.c ! CHAREVEN() & CHARODD() functions merged to one file, some corrections * contrib/libct/Makefile * changed lib name to "ct3" again (sorry !) + added contrib/libct/charevod.c - removed contrib/libct/ctchrevn.c - removed contrib/libct/ctchrodd.c * contrib/libct/makefile.bc * changed lib name to "ct3" again (sorry !) + added contrib/libct/charevod.c - removed contrib/libct/ctchrevn.c - removed contrib/libct/ctchrodd.c * contrib/libct/makefile.vc * changed lib name to "ct3" again (sorry !) + added contrib/libct/charevod.c - removed contrib/libct/ctchrevn.c - removed contrib/libct/ctchrodd.c + contrib/libct/tests/chareven.prg ! Small test program for chareven() + contrib/libct/tests/charodd.prg ! Small test program for charodd() * contrib/libct/tests/Makefile + added contrib/libct/tests/chareven.prg + added contrib/libct/tests/charodd.prg 2001-04-20 01:35 UTC-0800 Ron Pinkas <ron@profit-master.com> * hb_slex.bc * Synched with makefile.bc * source/common/hbtrace.c + Added missing #include <io.h> * include/hbapilng.h * source/rtl/langapi.c * Corrected declaration of hb_langDGetItem() (required for C++) 2001-04-19 17:10 UTC-0400 David G. Holm <dholm@jsd-llc.com> * hb_slex.bc * hb_slex.vc * makefile.bc * makefile.vc * doc/funclist.txt * source/rtl/Makefile * source/rtl/dbdelim.prg + source/rtl/dbsdf.prg * source/rtl/dummy.prg * tests/Makefile + tests/sdf_test.prg + Added __dbSDF() with support for COPY TO SDF. + Added dbdelim.obj to makefile.vc. * Fixed CVS ID header in dbdelim.prg. * Changed name of Export() function in dbdelim.prg to ExportVar() 2001-04-19 15:07 GMT+2 Maurilio Longo <maurilio.longo@libero.it> * source/rtl/teditor.prg ! regression from previous fix 2001-04-19 14:43 GMT+2 Maurilio Longo <maurilio.longo@libero.it> * source/rtl/teditor.prg ! fixed handling of K_ESC and K_ALT_W * source/rtl/memoedit.prg ! fixed handling of K_ESC and K_ALT_W 2001-04-19 01:30 UTC-0800 Brian Hays <bhays@abacuslaw.com> * source/rdd/dbcmd.c * Harrier's latest fix for __dbCopy, plus my HB_TRACE addition * contrib/rdd_ads/adsfunc.c + added AdsIsServerLoaded(), AdsApplicationExit () * source/rtl/memoline.c * fixed bug where chr(0) was returned if source was an empty string. * source/common/hbtrace.c * added support for HB_TR_FLUSH Environment variable per David's guidance. (Thanks, David!) SET HB_TR_FLUSH=1 ...Will cause all HB_TRACE calls to flush to disk (when redirecting to file) so you can trace right up to a line that gpfs and not lose buffered output. 2001-04-18 21:15 UTC-0400 David G. Holm <dholm@jsd-llc.com> * source/rtl/dbdelim.prg * Completed the code needed for COPY TO DELIMITED * source/rtl/errorsys.prg + Temporarily added a QOUT() ahead of displaying the error message in DEFERROR(), because unless the screen has been scrolled while the program was running, the DOS prompt will overwrite the first line of the error trace after quitting. * source/rtl/langapi.c + Added Harbour methods to get language specific error messages and language specific general messages. * tests/Makefile + tests/delimtst.prg + New module to test COPY TO DELIMITED and APPEND FROM DELIMITED. 2001-04-18 17:40 UTC-0400 David G. Holm <dholm@jsd-llc.com> * source/rdd/dbf1.c % Changed two (unsigned chr *) type overrides to (BYTE *), because the function called requires a BYTE * parameter when used with C++. * source/rtl/gtos2/gtos2.c % Changed two (void *) type overrides to (PPVOID), because the function called requires a PPVOID parameter when used with C++. % Added definition for KBDTRF_EXTENDED_CODE when using VAC++. 2001-04-18 22:30 CET Martin Vogel <vogel@inttec.de> + contrib/libct/ctflist.txt ! function status list, only functions in the CVS are marked 'R' or 'S' ! + contrib/libct/atadjust.c ! ATADJUST() function * contrib/libct/Makefile + added atadjust.c * contrib/libct/makefile.bc + added atadjust.c * contrib/libct/makefile.vc + added atadjust.c + contrib/libct/tests/atadjust.prg ! added tests for ATADJUST() function * contrib/libct/tests/Makefile + added atadjust.prg 2001-04-18 15:50 CET Martin Vogel <vogel@inttec.de> * contrib/libct/makefile.bc ! Corrected a typo 2001-04-18 01:30 UTC-0800 Ron Pinkas <ron@profit-master.com> * source/vm/arrays.c ! Corrected a minor typo, that could cause some un-released memory on some occasions. 2001-04-17 23:55 UTC-0800 Ron Pinkas <ron@profit-master.com> * include/hbapi.h * Removed 3rd paramater from declaration of hb_arrayClone(). * source/vm/arrays.c ! Optimized and improved hb_arrayClone(). * source/vm/arrayshb.c * source/vm/classes.c * source/vm/hvm.c * Changed calls to hb_arrayClone() to remove no longer needed, 3rd parameter. 2001-04-17 19:30 UTC-0800 Ron Pinkas <ron@profit-master.com> * include/hbapi.h + Added typedef struct HB_NESTED_CLONED * Changed declaration of hb_arrayClone to hb_arrayClone( PHB_ITEM pArray, PHB_NESTED_CLONED pClonedList, BOOL *bCyclic ) * source/vm/arrays.c ! Fixed hb_arrayClone() to correctly clone any array including RELATIVE Ciclic Referncing of any level. * source/vm/arrayshb.c * source/vm/classes.c * source/vm/hvm.c * Changed calls to hb_arrayClone() to pass 2 additional NULLs as 2nd. and 3rd. parameters. 2001-04-17 17:15 UTC-0400 David G. Holm <dholm@jsd-llc.com> * hb_slex.bc * hb_slex.vc * makefile.bc * makefile.vc * doc/funclist.txt * source/rtl/Makefile + source/rtl/dbdelim.prg * source/rtl/dummy.prg + Added __dbDelim() function for use by COPY TO DELIMITED. FIELD, NEXT, FOR, and WHILE clauses are implemented, but I don't know what the first and last two parameters are for. 2001-04-17 21:30 CET Martin Vogel <vogel@inttec.de> + contrib/libct/atnum.c + AFTERATNUM() function + BEFORATNUM() function + ATNUM() function * contrib/libct/Makefile * changed library name to libct + added atnum.c * contrib/libct/makefile.bc * changed library name to libct + added atnum.c * contrib/libct/makefile.vc * changed library name to libct + added atnum.c + contrib/libct/tests/afteratn.prg + contrib/libct/tests/atnum.prg + contrib/libct/tests/beforatn.prg * contrib/libct/tests/Makefile + added afteratn.prg + added atnum.prg + added beforatn.prg * contrib/libct/ct.ch * error correction 2001-04-17 10:35 UTC-0800 Ron Pinkas <ron@profit-master.com> * source/vm/arrays.c ! Fixed GPF when aCloning an Array with circular refrences to itself. 2001-04-17 18:40 CET Martin Vogel <vogel@inttec.de> * contrib/libct/readme.txt + Added paragraph for enhancements over original CT3 library + contrib/libct/addascii.c * contrib/libct/Makefile + added addascii.c * contrib/libct/makefile.vc + added addascii.c * contrib/libct/makefile.bc + added addascii.c + contrib/libct/tests + contrib/libct/tests/Makefile + contrib/libct/tests/csetref.prg + contrib/libct/tests/csetatmu.prg + contrib/libct/tests/setatlik.prg + contrib/libct/tests/addascii.prg 2001-04-17 17:55 CET Martin Vogel <vogel@inttec.de> + contrib/libct/ct.ch + contrib/libct/ct.h + contrib/libct/ctset.c + contrib/libct/ctset.h + contrib/libct/ctstr.c + contrib/libct/ctstr.h * contrib/libct/Makefile + added ctset.c + added ctstr.c * contrib/libct/makefile.vc + added ctset.c + added ctstr.c * contrib/libct/makefile.bc + added ctset.c + added ctstr.c 2001-04-17 02:50 GMT-3 Horacio Roldan <horacioroldan@usa.net> *source/rdd/dbfcdx/dbfcdx1.c * fixed some warnings * fixed bug with pathname in hb_cdxOrderCreate 2001-04-16 14:40 UTC-0800 Ron Pinkas <ron@profit-master.com> * source/compiler/harbour.c + Added all GET Methods definitions (still need Exported Vars ) - Thanks to Luiz. + Added TBCOLUMN definitions - Thanks to Luiz. * source/rtl/tget.prg ! Correted :ToDecPos to return SELF as in Clipper (after verifying there was NO Low-Level Code conflict). 2001-04-16 11:45 UTC-0800 Brian Hays <bhays@abacuslaw.com> * source/rdd/dbcmd.c Uploaded Harrier's fix for COPY TO ... FIELDS * include/hbmemory.ch * source/vm/fm.c + added HB_MEM_STACK_TOP 1005 Total items currently on the stack This is useful in stack debugging; shows the actual TopOffset even after allocations have been made and items popped off. 2001-04-15 00:05 GMT -3 Luiz Rafael Culik *Changelog *Renamed to ChangeLog.010 and started an new one *util/hbdoc/*.prg utils/hbdoc/*.ch *updated to the new licence 2001-04-14 08:40 UTC-0800 Brian Hays <bhays@abacuslaw.com> - source/rdd/rddcopy.c removed per Harrier--code was integrated into dbcmd.c 2001-04-13 09:40 UTC-0800 Ron Pinkas <ron@profit-master.com> * source/compiler/harbour.c + Added TODO comment. * source/rdd/dbcmd.c Posted COPY TO fix for Harrier (default to TOP if REST or WHILE not provided) 2001-04-12 10:56 UTC-0800 Brian Hays <bhays@abacuslaw.com> * contrib/rdd_ads/ads1.c * Fixed ordName/dbOrderInfo: it returned blank for any order if in natural order when called * contrib/rdd_ads/adsmgmnt.c * contrib/rdd_ads/testmg.prg * changed licensing comment at top 2001-04-12 15:15 UTC-0400 David G. Holm <dholm@jsd-llc.com> * include/fileio.ch * include/filesys.api * include/hbapifs.h * include/hbset.h * include/hbver.h * include/set.ch * source/compiler/fixflex.c * source/rtl/gtpca/kbdos2.gcc * Replaced the old license with the new license in more files where I was listed as the primary or only copyright holder. * source/vm/borsym.asm * source/vm/startup.asm * source/vm/symbols.asm * Replaced the old license with the new license with permission from Antonio Linares <alinares@fivetech.com> 2001-04-12 15:00 UTC-0400 David G. Holm <dholm@jsd-llc.com> * source/compiler/genc.c * source/compiler/genhrb.c * source/compiler/genjava.c * source/compiler/genobj.c * source/compiler/harbour.c * source/compiler/harbour.l * source/compiler/harbour.sly * source/compiler/harbour.y * Replaced spurious ", with one exception:" text in source code that does not include the Harbour Exception with ".". * contrib/odbc/odbc.c * include/hbapi.h * include/hbapierr.h * include/hbapiitm.h * include/hbclass.ch * include/hbcomp.h * include/hbinit.h * include/hbpcode.h * include/hbstack.h * include/hbvm.h * source/debug/dbgmenu.prg * source/debug/dbgtmenu.prg * source/debug/dbgtmitm.prg * source/debug/dbgtwin.prg * source/debug/debugger.prg * source/macro/macro.l * source/macro/macro.y * source/rtl/at.c * source/rtl/browse.prg * source/rtl/chrasc.c * source/rtl/console.c * source/rtl/dates.c * source/rtl/dateshb.c * source/rtl/empty.c * source/rtl/errorapi.c * source/rtl/errorsys.prg * source/rtl/getsys.prg * source/rtl/is.c * source/rtl/left.c * source/rtl/len.c * source/rtl/rat.c * source/rtl/replic.c * source/rtl/right.c * source/rtl/saverest.c * source/rtl/setcurs.c * source/rtl/shadow.c * source/rtl/space.c * source/rtl/str.c * source/rtl/strcase.c * source/rtl/strings.c * source/rtl/strtran.c * source/rtl/stuff.c * source/rtl/substr.c * source/rtl/tbcolumn.prg * source/rtl/tbrowse.prg * source/rtl/tclass.prg * source/rtl/terror.prg * source/rtl/tgetlist.prg * source/rtl/trim.c * source/rtl/valtype.c * source/vm/arrays.c * source/vm/arrayshb.c * source/vm/borinit.c * source/vm/classes.c * source/vm/dynsym.c * source/vm/estack.c * source/vm/extend.c * source/vm/fm.c * source/vm/hvm.c * source/vm/initexit.c * source/vm/itemapi.c * source/vm/maindll.c * source/vm/mainstd.c * source/vm/mainwin.c * source/vm/pcount.c * source/vm/proc.c * tests/testop.prg * Replaced the old license with the new license with permission from Antonio Linares <alinares@fivetech.com> 2001-04-12 14:20 UTC-0400 David G. Holm <dholm@jsd-llc.com> * doc/hdr_tpl.txt * Changed the year in the partial copyright template to 2001. * contrib/hbzlib/hbzip.h * contrib/hbzlib/tzipfile.prg * contrib/hbzlib/zipfile.c * contrib/hbzlib/zipfile2.c * contrib/hbzlib/zlibapi1.c * contrib/libmisc/nconvert.prg * contrib/libnf/getver.c * contrib/libnf/getvid.c * contrib/libnf/mouse.c * contrib/pdflib/pdfhbdoc.c * source/debug/dbgtarr.prg * source/debug/dbgtobj.prg * source/lang/msgpt.c * source/rdd/dblist.prg * source/rdd/dbupdat.prg * source/rtl/tlabel.prg * source/rtl/treport.prg * source/rtl/typefile.prg * Replaced the old license with the new license with permission from Luiz Rafael Culik Guimaraes <culik@nh.conex.com.br> * source/rtl/abs.c * source/rtl/gete.c * source/rtl/math.c * source/rtl/minmax.c * source/rtl/mod.c * source/rtl/padc.c * source/rtl/padl.c * source/rtl/padr.c * Replaced the old license with the new license with permission from Matthew "Mabster" Hamilton <mhamilton@bunge.com.au> * contrib/hb_struc/hbstruc.prg * source/compiler/harbour.slx * source/compiler/simplex.c * source/macro/macro.slx * source/macro/maxroslx.c * Replaced the old license with the new license with permission from Ron Pinkas <Ron@Profit-Master.com> * include/hbtrace.c * source/common/hbtrace.c * source/rtl/trace.c * source/rtl/gtcrs/gtcrs.c * Replaced the old license with the new license with permission from Diethelm Guallar, Gonzalo <Gonzalo.Diethelm@sonda.com> * contrib/msql/dbf2msql.prg * contrib/msql/msql.c * contrib/msql/msql.ch * contrib/msql/test.prg * contrib/msql/tmsql.prg * contrib/mysql/dbf2mysql.prg * contrib/mysql/mysql.c * contrib/mysql/mysql.ch * contrib/mysql/test.prg * contrib/mysql/tmysql.prg * contrib/mysql/tsqlbrw.prg * source/debug/tbrwtext.prg * source/lang/msgit.c * source/rtl/memoedit.prg * source/rtl/teditor.prg * source/rtl/ttextlin.prg * source/rtl/gtos2/gtos2.c * Replaced the old license with the new license with permission from Maurilio Longo <maurilio.longo@libero.it> * source/rtl/teditorl.c * Replaced the old license with the new license with permission from Matthew "Mabster" Hamilton <mhamilton@bunge.com.au> and Antonio Linares <alinares@fivetech.com> 2001-04-12 10:42 UTC+0300 Chen Kedem <niki@synel.co.il> * source/rtl/tone.c * source/rtl/gtos2/mouseos2.c * source/rtl/lang/msghe862.c * source/rtl/lang/msghewin.c * Replaced the old license with a new license 2001-04-10 16:20 UTC-0800 Ron Pinkas <ron@profit-master.com> * include/hbcomp.h * Changed order of COMDECLARED elements to be more intuitive for static initialization. * source/compiler/harbour.c * source/compiler/hbpcode.c ! Added type casting needed for C++ compilers. 2001-04-09 22:40 UTC-0800 Ron Pinkas <ron@profit-master.com> * source/compiler/hbgenerr.c * Corrected spelling for suspicious. * source/compiler/hbpcode.c * Commented one debung printf() * include/hbcomp.h + Added extern PCOMCLASS hb_comp_pReleaseClass * source/compiler/genc.c + Added logic to release declared classes after compilation. * source/compiler/harbour.c + Added logic for standard classes declaration to hb_compDeclaredInit() + Added ERROR class declaration and started GET class declaration 2001-04-09 02:20 UTC-0800 Brian Hays <bhays@abacuslaw.com> * source/compiler/genc.c * Posted a fix from Ron to pDeclared handling 2001-04-09 12:30 UTC-0800 Brian Hays <bhays@abacuslaw.com> * contrib/rdd_ads/ads1.c * added scope optimization to DBOI_KEYCOUNT 2001-04-09 11:50 UTC-0800 Ron Pinkas <ron@profit-master.com> * include/hberrors.h * source/compiler/hbgenerr.c + Added #define HB_COMP_WARN_PARAM_SUSPECT 18 -> "4Suspicious parameter: %s expected: \'%s\'" * include/hbcomp.h + Added extern PCOMDECLARED hb_comp_pReleaseDeclared; * source/compiler/harbour.c + Added static void hb_compDeclaredInit( void ) initializes decalaration of standard functions; * source/compiler/genc.c * Changed release code from hb_comp_pFirstDeclared to hb_comp_pReleaseDeclared. * source/compiler/hbpcode.c * Many refinments. 2001-04-08 16:15 UTC-0800 Ron Pinkas <ron@profit-master.com> * include/hberrors.h ! Corrected typo. * source/compiler/harbour.sly * source/compiler/harbour.y ! Corrected few incorrect "Unreachable code warnings". ! Corrected hb_compPushLine() in RECOVER and RECOVERUSING * source/compiler/harbour.c * source/compiler/hbpcode.c ! Improved StrongType logic. 2001-04-07 13:25 UTC-0800 Ron Pinkas <ron@profit-master.com> * source/compiler/hbpcode.c ! Fixed some StrongType logic. * source/compiler/genc.c * source/rdd/dbf1.c * source/rtl/gtapi.c * source/vm/hvm.c ! Corrected Compiler warnings. * source/compiler/harbour.c * include/hbcomp.h * Minor formatting. 2001-07-01 21:20 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> Changes, provided by Marek Paliwoda. *doc/en/gtslang.txt *source/rtl/gtsln/gtsln.c *source/rtl/gtsln/kbsln.c *source/rtl/gtsln/keytrans.c ! Fixed a bug with processing '.' key * Added support for an Alt emulation using Meta key (which is an ESC key as in most Linux applications). 2001-04-04 01:20 UTC-0800 Brian Hays <bhays@abacuslaw.com> * source/vm/dynsym.c * added test for spaces to hb_dynsymFindName so padded symbols are found now. A few tests indicated NO speed loss (Thanks, Ron, I used yours when the speed test showed no difference) * contrib/rdd_ads/ads1.c * Fixed bug in GetValue where child areas returned blank fields * contrib/rdd_ads/adsfunc.c * rewrote adsGetKeyCount to walk the scope by hand 2001-04-03 21:00 UTC-0400 David G. Holm <dholm@jsd-llc.com> * contrib/libmisc/fileread.prg * Donated to the public domain. * doc/hdr_tpl.txt * source/rtl/devoutp.prg * source/rtl/inkey.c * source/rtl/maxrow.c * source/rtl/round.c * source/rtl/scroll.c * source/rtl/set.c * source/rtl/valtostr.c * source/rtl/gtpca/gtpca.c * Replaced the old license with a new license that is derived from the Guile 1.4 license (the old license was based on an older version of Guile) in the header template and in files where I was listed as the primary or only copyright holder. 2001-04-01 15:46 GMT+6 April White (bright.tigra gmail.com) * doc/en/hb_api.txt ! removed duplicate copies of: hb_pcount(), hb_ret(), hb_retc(), hb_retclen(), hb_retds(), hb_retd(), hb_retdl(), hb_retl(), hb_retnd(), hb_retni(), hb_retnl(), hb_retnlen(), hb_retndlen(), hb_retnilen(), hb_retnllen(), hb_reta() ! added a note to the description of each of the above that explains what happens when HB_API_MACROS is defined (each is replaced with a macro expression) * hb_pcount() entry ! corrected typo, * source/compiler/genc.c: ! correct comment 'the the' ! wrapped assignment within while() loop with brackets to eliminate a warning in djgpp 2001-04-01 15:45 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> * source/rtl/gtsln/gtsln.c ! minor fix, provided by Marek Paliwoda 2001-04-01 12:20 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbfntx/dbfntx1.c * ntxOrderListRebuild() mostly completed 2001-03-30 14:10 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbfntx/dbfntx1.c ! fixed the bug, reported by John M. S. Chiang, which appeared while indexing files with a big record length 2001-03-30 13:10 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbfntx/dbfntx1.c * include/hbrddntx.h + started ntxOrderListRebuild() + added ntxPack() - will work properly after ntxOrderListRebuild() has finished + added ntxZap() 2001-03-28 00:00 UTC-0800 Brian Hays <bhays@abacuslaw.com> * contrib/rdd_ads/ads1.c + added ADSSetRelKeyPos for quick scrollbar guesstimates * contrib/rdd_ads/adsfunc.c * moved ADSGetRelKeyPos to ads1.c + added AdsIsExprValid() wrapper to test if an expression can be evaluated by the server + contrib/rdd_ads/adsmgmnt.c * minor edits 2001-03-27 20:05 UTC+0100 Ryszard Glab <rglab@imid.med.pl> Changes from Marek Paliwoda. Thanks Marek :) *doc/en/gtslang.txt *source/rtl/gtsln/gtsln.c *source/rtl/gtsln/kbsln.c *source/rtl/gtsln/keytrans.c - added support for displaying and entering national characters (see gtslang.txt for details) - improved keyboard support for linux text console. Almost all ALT/CTRL+ SpecialKeys should work well. Note that You have to work using true /dev/tty[1-12] device. This means You can't benefit from it when You run Harbour programs from within Midnight Commander for example, because MC uses pseudoterminals. - prepared for other Unix text consoles (SCO) (not tested) - removed support for DOS. It was totally not needed due its limitations 2001-03-27 05:18 GMT-3 Horacio Roldan <horacioroldan@usa.net> * harbour/source/rdd/dbcmd.c * fixed unallocated memory block in dbcreate 2001-02-26 19:10 GMT -3 Luiz Rafael Culik <culik@sl.conex.net> *utils/hbmake/hbmake.prg +Added support to build libraries %optimized the check if the file is newer then the object file. +added Trap for errors return from command *source/vm/estack.c *added define when source is compiled with -DHB_INCLUDE_WINEXCHANDLER 2001-03-24 23:07 GMT-3 Horacio Roldan <horacioroldan@usa.net> * harbour/source/rdd/dbf1.c * fixed bug handling drive letter in opening memo file 2001-03-24 02:20 UTC-0800 Ron Pinkas <ron@profit-master.com> * source/compiler/simplex.c * Minor fix for VC++ - Removed 2 unused defines + Added #define MAX_RULES 1024 * source/compiler/harbour.slx * Changed // to /* */ * tests/keywords.prg * Corrected 3 warnings. 2001-03-23 00:55 UTC-0800 Brian Hays <bhays@abacuslaw.com> * contrib/rdd_ads/testmg.prg * fixed header 2001-03-23 00:45 UTC-0800 Brian Hays <bhays@abacuslaw.com> * contrib/rdd_ads/ads1.c * added unique index creation support * tweaked SELF_OPEN to return FAILURE only for probable sharing errors, but throw a real error for everything else. This way you get the information at runtime for things like failure to find a server or other useful ADS error#s * contrib/rdd_ads/adsfunc.c * minor error handling in ADSGETAOFOPTLEVEL * source/rdd/dbcmd.c * fixed handling of fourth IsScoped parameter in dbSetRelation + contrib/rdd_ads/adsmgmnt.c + added wrappers for most Management functions, including statistics on connections, comm success rates, # of open tables/indexes/users, etc. (( work in progress )) + contrib/rdd_ads/testmg.prg + simple test for management functions * contrib/rdd_ads/Makefile * contrib/rdd_ads/makefile.bc * contrib/rdd_ads/makefile.vc * added adsmgmnt.c to build >>> I only use Borland; someone please check the other make files! 2001-03-22 13:00 UTC-0800 Ron Pinkas <ron@profit-master.com> * contrib/runjava/runjava.c + Added support for Argument Errors * source/rtl/len.c * source/rtl/minmax.c * source/rtl/run.c * source/vm/arrayshb.c * source/vm/memvars.c * Corrected to always use hb_paramError() when calling hb_errRT_BASE*() 2001-03-22 11:00 UTC-0800 Ron Pinkas <ron@profit-master.com> * hb_slex.vc * Minor corrections. * include/hbapi.h + extern PHB_ITEM hb_paramError( int iParam ); /* Returns either the generic parameter or a NIL item if param not provided */ + extern PHB_ITEM hb_arrayFromStack( USHORT uiLen ); /* Creates and returns an Array of n Elements from the Eval Stack - Does NOT pop the items. */ + extern PHB_ITEM hb_arrayFromParams( void ); /* Creates and returns an Array of current Generic Parameters. */ * include/hbapierr.h * extern USHORT hb_errRT_BASE ( ULONG ulGenCode, ULONG ulSubCode, char * szDescription, char * szOperation, USHORT uiArgCount, ... ); * extern USHORT hb_errRT_BASE_Ext1 ( ULONG ulGenCode, ULONG ulSubCode, char * szDescription, char * szOperation, USHORT uiOsCode, USHORT uiFlags, USHORT uiArgCount, ... ); * extern PHB_ITEM hb_errRT_BASE_Subst ( ULONG ulGenCode, ULONG ulSubCode, char * szDescription, char * szOperation, USHORT uiArgCount, ... ); * extern void hb_errRT_BASE_SubstR ( ULONG ulGenCode, ULONG ulSubCode, char * szDescription, char * szOperation, USHORT uiArgCount, ... ); + Added support for variable number of Error Arguments. * source/rtl/errorapi.c * hb_errRT_BASE ( ULONG ulGenCode, ULONG ulSubCode, char * szDescription, char * szOperation, USHORT uiArgCount, ... ); * hb_errRT_BASE_Ext1 ( ULONG ulGenCode, ULONG ulSubCode, char * szDescription, char * szOperation, USHORT uiOsCode, USHORT uiFlags, USHORT uiArgCount, ... ); * hb_errRT_BASE_Subst ( ULONG ulGenCode, ULONG ulSubCode, char * szDescription, char * szOperation, USHORT uiArgCount, ... ); * hb_errRT_BASE_SubstR ( ULONG ulGenCode, ULONG ulSubCode, char * szDescription, char * szOperation, USHORT uiArgCount, ... ); + Added support for variable number of Error Arguments. * source/vm/arrays.c + PHB_ITEM hb_arrayFromStack( USHORT uiLen ) + PHB_ITEM hb_arrayFromParams( void ) * source/vm/extend.c + PHB_ITEM hb_paramError( int iParam ) * source/rdd/dbcmd.c * Added the Error Arguments as parameters to hb_errRT_BASE*(). * source/rtl/abs.c * source/rtl/at.c * source/rtl/chrasc.c * source/rtl/copyfile.c * source/rtl/datec.c * source/rtl/dateshb.c * source/rtl/diskspac.c * source/rtl/disksphb.c * source/rtl/do.c * source/rtl/left.c * source/rtl/len.c * source/rtl/math.c * source/rtl/minmax.c * source/rtl/mod.c * source/rtl/philes.c * source/rtl/philesx.c * source/rtl/replic.c * source/rtl/round.c * source/rtl/set.c * source/rtl/space.c * source/rtl/str.c * source/rtl/strcase.c * source/rtl/strtran.c * source/rtl/strzero.c * source/rtl/substr.c * source/rtl/transfrm.c * source/rtl/trim.c * source/rtl/type.c * source/rtl/val.c * source/rtl/word.c * Added the Error Arguments as parameters to hb_errRT_BASE*(). * source/vm/arrayshb.c * source/vm/eval.c * source/vm/hvm.c * source/vm/macro.c * source/vm/memvars.c * source/vm/runner.c * Added the Error Arguments as parameters to hb_errRT_BASE*(). * source/vm/classes.c + Added 0 arguments (J.F. can you please decide what should be the arguments! ) /* HBTEST now reports 173 failures ( down from 376 ) many of the failures are justified. I have tested this as much as I could, but since it invloved lots of "Cust & Pasets" more testing should be done. It would be great if someone could review each of HBTEST Reported Failures on a one-by-one basis. BTW, HBTEST reports 1 UN-RELEASED Memory Block (from before my changes)! */ 2001-21-03 23:10 GMT+1 JFL (Mafact) <jfl@mafact.com> *source/rdd/dbcmd.c *source/rdd/dbf1.c * Fixed many type casting needed by VC++ *source/rdd/dbfcdx/dbfcdx1.c * Fixed many type casting needed by VC++ - Rem on line 168 one reference to hb_cdxWhoCares who doesn't exist from static RDDFUNCS cdxTable = { ... } 2001-03-21 21:20 UTC+0100 Ryszard Glab <rglab@imid.med.pl> *include/hbapi.h *source/vm/codebloc.c *source/vm/memvars.c * fixed possible loop during a codeblock releasing called by the garbage Collector *source/rtl/errorapi.c *replaced 'static HB_ITEM' to 'static HB_ITEM_PTR' to make it the GC friendly 2001-02-17 15:50 UTC-0800 Brian Hays <bhays@abacuslaw.com> * contrib/rdd_ads/ads1.c * added conversion code for numeric key types to support DBOI_KEYVAL * fixed RecCount() to get a refreshed count (read the header from disk) * Implemented pArea->szDataFileName = hb_xgrab( ... * Implemented new Exists and Drop methods, stubbed out Exit * contrib/rdd_ads/adsfunc.c * removed hb_gc*LockItem calls * source/rdd/dbcmd.c * added partial fix to NetErr() problem in dbUseArea 2001-03-17 21:50 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> + contrib/Makefile * Makefile * Changes to forse contrib/libmisc to be compiled while make process * tests/Makefile * added again CONTRIBS=libmisc and readfile.prg moved to PRG_SOURCES from BAD_PRG_SOURCES * utils/hbmake/pickfile.prg * names of include files changed to lower case ( to work under Unix ) * source/rdd/dbfntx/dbfntx1.c * fixed format string in printf() to be compatible with other compilers fixed determining of the length of numeric key 2001-03-16 16:10 UTC+0100 Ryszard Glab <rglab@imid.med.pl> *doc/en/garbage.txt *include/hbapi.h *source/vm/garbage.c *source/vm/itemapi.c * new functions: hb_gcGripGet() and hb_gcGripDrop() for dynamic allocation/deallocation of items * added redefinition of _getGrip/_dropGrip to use hb_gcGripGet/hb_gcGripDrop * items allocated with hb_itemNew() or direct _getGrip() calls are maintained properly by the Garbage Collector - there is no need to locking/unlocking such items. * removed no longer needed hb_gcLockItem/hb_gcUnlockItem *source/rdd/dbcmd.c *source/rdd/workarea.c *source/rdd/dbfntx/dbfntx1.c *source/rtl/errorapi.c *source/rtl/idle.c *source/rtl/setkey.c * removed no longer needed calls for hb_gcLockItem/hb_gcUnlockItem NOTE: there is no hb_gcLockItem/hb_gcUnlockItem functions - please remove calls for these functions from your code. 2001-03-15 17:00 UTC-0500 David G. Holm <dholm@jsd-llc.com> * contrib/libmisc/Makefile * contrib/libmisc/makefile.bc * contrib/libmisc/makefile.vc + Added twirler.prg + contrib/libmisc/twirler.prg + New class provides twirler functionality with optional title and smoothing (by specifying a minimum time between updates). + Makefile + Added the new twirl.prg module to BAD_PRG_SOURCES, because it uses the LIBMISC library (to build this program, you'll have to add "CONTRIBS=LIBMISC" ahead of "LIBS=\"). + tests/twirl.prg + New module to test the twirler class using seven twirlers. 2001-03-15 20:40 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> files posted by Juan Agustin Barriga <harrier@topconnect.cl> * source/rdd/dbcmd.c * source/rdd/dbf1.c * include/hbapirdd.h * include/hbrdddbf.h * include/hbrddwrk.h * Implementation of DBAPPEND and DBCOPY is finished. + Added: DBEXIT (for RDD cleanup), DBDROP (for table deleting) and DBEXISTS (for table/index verification). 2001-03-14 04:55 UTC-0800 Ron Pinkas <ron@profit-master.com> * source/vm/classes.c ! Fixed hb_param() to hb_stackItemFromBase() (posted by Jose F. Gimenez) 2001-03-13 03:45 UTC-0800 Ron Pinkas <ron@profit-master.com> * contrib/dot/pp.txt * Updated status of newly added support. 2001-03-13 03:30 UTC-0800 Ron Pinkas <ron@profit-master.com> * contrib/dot/pp.prg * contrib/dot/rp_run.ch + Added support for initializers for PRVATE, PUBLIC, LOCAL, STATIC + Added support for Declared Parameters and PARAMETRS. + Added support for STATIC Procedures & Functions (will not be seen by modules called by DO <filename>.prg and vice-versa. + Added support for INIT and EXIT procedures. 2001-03-13 14:30 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbfntx/dbfntx1.c * include/hbrddntx.h + creating of indexes with numeric and date type expression ! fixed some problems with movement when key have characters with codes > 128 2001-03-13 11:50 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> * source/lang/msgeo.c ! Updated + Added harbour license ( provided by Jose Lalin <dezac@corevia.com> ) 2001-03-11 21:43 UTC+0500 April White (bright.tigra gmail.com) * doc/en/hb_macro.txt * renamed hb_compParse() to hb_macroYYParse() ; see 2000-11-30 18:25 UTC-0800 Ron Pinkas <ron@profit-master.com> * doc/en/hb_api.txt * merged the hb_xmemset() function and macro entries * merged the hb_xmemcpy() function and macro entries + entry for hb_idleReset ; see 2000-11-27 08:25 UTC-0800 Ron Pinkas <ron@profit-master.com> + entry for ISOBJECT() ; see 2001-03-01 GMT+1 Antonio Linares <alinares@fivetech.com> * doc/en/hb_apigt.txt + entry for hb_gtColorToN() ; see 2001-02-09 16:44 GMT+1 Antonio Linares <alinares@fivetech.com> * doc/en/hb_apird.txt + entry for hb_rddInsertAreaNode() * include/error.api * corrected define of _errPutFileNaem to _errPutFileName ; no other detected use of this macro * doc/en/hb_apier.txt * entry for _errPutFileName() as above 2001-03-11 14:05 UTC-0800 Ron Pinkas <ron@profit-master.com> * include/hbexpra.c ! Fixed hb_compExprSetOperand() to allow HB_ET_NONE on Right, if Left is >= HB_EO_PLUSEQ && <= HB_EO_EXPEQ 2001-03-10 22:55 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> * source/lang/msgru866.c * source/lang/msgruwin.c + Added harbour license * Messages translated to Russian 2001-03-08 15:00 UTC-0500 David G. Holm <dholm@jsd-llc.com> + COPYING + Added the GNU General Public License file 2001-03-08 13:00 UTC-0500 David G. Holm <dholm@jsd-llc.com> * tests/inkeytst.prg * tests/longdev.prg * tests/output.prg * tests/readfile.prg * tests/round.prg * tests/scroll.prg * tests/seconds.prg * Donated to the public domain. 2001-03-07 21:31 GMT-3 Horacio Roldan <horacioroldan@usa.net> * harbour/source/rdd/dbfcdx1.h * harbour/source/rdd/dbfcdx2.h + Added harbour license 2001-03-07 16:15 UTC-0800 Ron Pinkas <ron@profit-master.com> * contrib/dot/pp.prg * Corrcted typos oError -> oErr 2001-03-07 10:50 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> * harbour/source/rdd/dbfntx/dbfntx1.c ! fixed skipping for some special cases + hb_ntxSortKeyAdd() * Sorting of keys + hb_ntxRootPage() + hb_ntxBufferSave() * Building index from sorted keys + hb_ntxReadBuf() * read buffering * Index creating is fully rewritten. Now DBFNTX creates good balanced B-trees ( as CA-Cl*pper ) and works faster than before. 2001-03-04 16:40 UTC-0800 Ron Pinkas <ron@profit-master.com> * contrib/dot/pp.prg * Completed management of Variable Scoping. * Modified rest of Error Handlers to check type of :Args (Harbour bug). * contrib/dot/test.prg + Added test of private value after function call 2001-03-02 23:00 UTC-0800 Ron Pinkas <ron@profit-master.com> * source/macro/macroslx.c + Added copyright notice with the Harbour Exception. 2001-03-02 22:50 UTC-0800 Ron Pinkas <ron@profit-master.com> * contrib/dot/pp.prg ! Fixed handling of [Smart] Stringify of a period terminated macro. 2001-03-02 09:10 UTC-0800 Ron Pinkas <ron@profit-master.com> * source/pp/ppcore.c ! Fixed handling of [Smart] Stringify of a period terminated macro. 2001-03-01 GMT+1 Antonio Linares <alinares@fivetech.com> * harbour/include/hbapi.h + New function ISOBJECT() added. 2001-02-28 22:15 UTC-0800 Ron Pinkas <ron@profit-master.com> * contrib/dot/pp.prg * Improved management of variable scoping. /* Appears to work correctly when compiled with Clipper, but is incorrect under Harbour, because __MXRelease() is not releasing memvars as it should. */ 2001-28-02 23:41 GMT+1 JFL (Mafact) <jfl@mafact.com> *harbour/include/hb_class.ch * Reset :Class within the control of Class(y) define so as anyone can disable it as needed. 2001-02-28 00:05 UTC-0800 Ron Pinkas <ron@profit-master.com> * source/rtl/filesys.c * Temporarily changed all #if defined(__WIN32__) to #if defined(X__WIN32__) to disable newly added logic, until fixed. 2001-02-27 09:09 GMT+1 Maurilio Longo <maurilio.longo@libero.it> * source/rtl/gtos2/gtos2.c ! fixed (sort of) changing used variables to statics so that I don't have to alloc them on every call to hb_gt_ReadKey(). Now as fast as it was. 2001-02-26 22:59 GMT+1 Maurilio Longo <maurilio.longo@libero.it> * source/rtl/gtos2/gtos2.c ! hb_gt_ReadKey() uses KBD subsystem of OS/2 instead of any compiler runtime function to fetch characters from keyboard this way I can be sure that used memory is tileable. 2001-02-26 22:45 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> * harbour/source/rdd/dbfntx/dbfntx1.c * bugs fixed in ntxOrderListFocus() and ntxSeek(), which appeared after Set Order To 0 2001-02-26 13:45 UTC-0500 David G. Holm <dholm@jsd-llc.com> * include/hbapigt.h * Changed '#ifdef 0' block on line 78 to a comment block in order to avoid GCC warnings about the #ifdef argument starting with a digit. 2001-02-26 13:15 UTC-0500 David G. Holm <dholm@jsd-llc.com> * make_gnu.cmd * Added -r to make command to match make_gnu.bat. * Added output redirection to make command to match make_gnu.bat. * include/hbapigt.h * Changed '#ifdef HB_OS_DOS' on line 78 to '#ifdef 0', so that the DBCS compatible definitions of the line draw characters are always used. * source/Makefile * When building the bcc16 version of Harbour, don't build the compiler, because the djgpp version of the compiler needs to be used, because the bcc16 version of the compiler runs out of memory while building some of the Harbour library files. 2001-02-26 03:30 UTC-0800 Ron Pinkas <ron@profit-master.com> * contrib/dot/pp.prg + Added support for UDFs, PRIVATEs, PUBLICs, LOCALs, and STATICs + contrib/dot/rp_run.ch * Command Header for PP Interpreter Mode. * contrib/dot/test.prg * Sample prg runable by PP. * contrib/dot/pp.txt * Updated documentation. 2001-02-25 13:20 UTC-0800 Ron Pinkas <ron@profit-master.com> * contrib/dot/pp.prg * Minor optimization. + contrib/dot/pp.txt 2001-02-25 20:25 UTC+0300 Alex Shashkov <shashkov@ostu.ru> * harbour/source/rdd/dbfcdx2.h * harbour/source/rdd/dbfcdx1.c ! Fixed some bugs 2001-02-25 06:00 GMT -3 Luiz Rafael Culik <culik@sl.conex.net> *utils/hbmake/hbmake.prg *Fixed an small bug regarding the number of select files on editor mode *utils/hbdoc/genpdf1.prg utils/hbdoc/rtf.prg *Small enhacements 2001-02-24 19:45 UTC-0800 Ron Pinkas <ron@profit-master.com> * contrib/dot/pp.prg + Added CompileNestedBlocks() #ifdef __CLIPPER__, because Clipper's Macro Compiler can *not* compile nested blocks. /* Clipper macro compiler can't compile literal blocks which contain nested blocks. This is needed by #commands like: INDEX ON ... TO ... Now PP will pre-compile such nested blocks. This makes PP fully functional when compiled with Clipper too :-) */ * harbour/source/rdd/dbfcdx1.c ! Moved few declarations above the HB_TRACE() line, to fix compilation errors. 2001-02-24 18:10 UTC+0300 Alex Shashkov <shashkov@ostu.ru> * harbour/source/rtl/console.c ! Fixed bug STDOUT(..,"",..) on Watcom C 11.0 * harbour/source/pp/ppcore.c * harbour/source/pp/pragma.c ! Fixed extern declaration for Watcom C 11.0 2001-02-24 12:45 UTC+0300 Alex Shashkov <shashkov@ostu.ru> * harbour/source/vm/dynsym.c ! Fixed * harbour/include/hbrddcdx.h + Added support ORDSETFOCUS() and update keys * harbour/source/rdd/dbfcdx1.c + Added support ORDSETFOCUS(), update keys, keys any type - remove hb_cdxltoa() * harbour/source/rdd/dbfcdx1.h ! Fixed support for Watcom C 11.0 + Added support keys any type * harbour/source/rdd/dbfcdx2.h + Added some new functions * Changed the declaration of some functions Not finished yet. 2001-02-23 17:20 UTC-0800 Ron Pinkas <ron@profit-master.com> * source/vm/hvm.c ! Added logic to clear items of extraneous parameters in hb_vmFrame(). 2001-02-23 21:40 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> * harbour/source/rdd/dbfntx/dbfntx1.c * bug fixed, reported by Maurilio Longo 2001-02-23 21:40 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> * harbour/source/rdd/dbfntx/dbfntx1.c * building of indexes optimized 2001-02-13 hh:mm GMT+1 Jose Gimenez (JFG) <jfgimenez@wanadoo.es> * source/rtl/filesys.c * hb_fsOpen * hb_fsCreate * hb_fsClose * hb_fsRead * hb_fsWrite * hb_fsReadLarge * hb_fsWriteLarge * hb_fsSeek * hb_fsTell + added logic to use Win32 API calls * tests/files.prg * tested up to 20,000 DBF files 2001-02-23 19:35 UTC+0300 Alex Shashkov <shashkov@ostu.ru> * harbour/source/rtl/filesys.c * harbour/source/rtl/math.c * harbour/source/vm/item.c ! Fixed support for Watcom C 11.0 2001-02-23 08:25 UTC-0800 Ron Pinkas <ron@profit-master.com> * contrib/dot/pp.prg + Added support for DO <>.prg * contrib/dot/rp_dot.ch + Added #command DO <>.prg (no support for WITH yet) 2001-02-22 22:25 UTC-0800 Ron Pinkas <ron@profit-master.com> * contrib/dot/pp.prg + Started support for interpreting prg files. * contrib/dot/rp_dot.ch + Added #command for stealing END /* PP can alreay "Run" simple prgs :-). It actually support most Clipper commands. It does *not* support LOCAL/STATIC/PRIVATE/PUBLIC, but any refference to a variable will create it as PRIVATE. It does not (yet) support creation of FUNCTIONs/PROCEDUREs but will execute any built-in, or linked, prodecure/function. It does not (yet) support WHILE and FOR loops. It can execute code like this: //------------------------------// CLS Alert( "Testinf PP as Interpreter... " ) USE test IF ! File( "test" + IndexExt() ) INDEX on FIELD->First TO First ELSE SET INDEX TO First ENDIF GO TOP cName := FIELD->First + FIELD->Last IF cName == FIELD->First + FIELD->Last ? "Ok" ELSE ? "Err" ENDIF DO CASE CASE cName == First // Not exact! ? "Err" CASE cName = First // But still equal ? "Ok" OTHERWISE ? "Err" ENDCASE REPLACE First WITH "From PP" ? FIELD->First //------------------------------// To have PP execute a PRG use: PP filename -R */ 2001-02-22 17:10 UTC-0800 Ron Pinkas <ron@profit-master.com> * contrib/dot/pp.prg ! Fixed order of production in multi line result, where some of the resulting lines are re-processed + Added support for IF, ELSE, ELSEIF, ENDIF, DO CASE, CASE, OTHERWISE, ENDCASE ! Fixed cursor position in Dot prompt to simulate running program cursor position. * contrib/dot/rp_dot.ch ! Fixed literal coordinates to use MaxRow() and MaxCol() + Added #command CLS to only clean the work region. + Added #commands to "steal" handling of IF, ELSE, ELSEIF, ENDIF, DO CASE, CASE, OTHERWISE, ENDCASE 2001-02-22 15:45 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> * harbour/source/rdd/dbfntx/dbfntx1.c * fixed a bug while index opening, before ntxOrderListAdd have tried to open an index even index name was empty. 2001-02-22 01:10 UTC-0800 Ron Pinkas <ron@profit-master.com> * source/pp/ppcore.c ! Fixed NextName() to skip over .AND., .NOT. and .OR. * config/w32/mingw32.cf + Added rules to use script files for long command lines, but commented out because @scripts did not work. 2001-02-22 10:25 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> * harbour/source/rdd/dbfntx/dbfntx1.c * few bugs fixed, reported by Robert Haley * harbour/tests/Makefile * readfile.prg moved to BAD SOURCES, because it doesn't compiled under Linux, * testntx.prg added * harbour/tests/testntx.prg * minor fixes 2001-02-21 01:45 UTC-0800 Ron Pinkas <ron@profit-master.com> * contrib/dot/pp.prg * Changed all extensions to lower case (.prg, .pp$, .cch ). * Changed Chr(13) + Chr(10) to CRLF which is #defined as HB_OsNewLine() if __HARBOUR__ is defined. * Changed literal size of buffer 16384 to PP_BUFFER_SIZE which is #defined as 16384 /* Could Linux users please report results... */ 2001-02-20 22:20 UTC-0800 Ron Pinkas <ron@profit-master.com> * utils/hbpp/hbpp.c - Removed unused variables and function warnned by djgpp 2001-02-20 22:00 UTC-0800 Ron Pinkas <ron@profit-master.com> * make_gnu.bat ! Fixed maker to make -r * Added %HARBOURDIR% and removed trailing slash from HB_BIN_INSTALL, HB_LIB_INSTALL and HB_INC_INSTALL * contrib/dot/pp.prg * Minor corrections to stringifys * utils/hbtest/hbtest.prg * Commented out RddSetDefault( "DBFCDX" ) 2001-02-20 13:10 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> * harbour/include/hbver.h * Changed release info to 0.36, etc. * harbour/source/rdd/rddsys.prg * Default RDD changed to DBFNTX 2001-02-20 01:50 GMT-3 Horacio Roldan <horacioroldan@usa.net> * harbour/source/vm/asort.c * Fixed bug in optimization test that prevented sorting some arrays. 2001-02-19 11:15 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> * harbour/include/hbrddntx.h * Forgot to upload last time 2001-02-19 10:15 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> * harbour/source/rdd/dbfntx/dbfntx1.c * fixes and improvements 2001-02-17 16:00 GMT -3 Luiz Rafael Culik <culik@sl.conex.net> *utils/hbmake/hbmake.prg *Fixed an small bug regarding the number of select files on editor mode 2001-02-16 23:40 UTC-0800 Brian Hays <bhays@abacuslaw.com> * source/rtl/tget.prg * added Updating of Buffer to UpdateBuffer * added 0+Value to avoid changing the display lengths of numerics * contrib/rdd_ads/ads1.c * the last final ultimate fix to numeric seeks. really. 2001-02-16 11:20 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> * harbour/source/rdd/dbfntx/dbfntx1.c * fixes and improvements 2001-02-15 11:10 UTC-0800 Brian Hays <bhays@abacuslaw.com> * contrib/rdd_ads/ads1.c * implemented the DESCENDING flag in index creation * fixed dbOrderInfo(DBOI_KEYVAL) to return "" instead of garbage at EOF DBOI_NAME and many others to return correct empty values instead of garbage if in natural order * fixed SEEK on numeric indexes + added support for dbOrderInfo(DBOI_FULLPATH) AND dbInfo(DBI_FULLPATH) * contrib/rdd_ads/ads.ch * Commented out ADS_TOP and ADS_BOTTOM with a note to use TOPSCOPE and BOTTOMSCOPE instead. * contrib\rdd_ads\doc\en\readme.txt * minor clarifications 2001-02-15 13:15 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> * harbour/include/hbrddntx.h * harbour/source/rdd/dbfntx/dbfntx1.c * Locking of index file while moving/updating in shared mode ( don't sure that it's done absolutely right, should be tested ). 2001-02-14 23:10 UTC-0800 Ron Pinkas <ron@profit-master.com> * source/pp/ppcore.c ! Fixed space removal within [] in strotrim() when not processing MP or RP. 2001-02-14 12:45 GMT+1 Antonio Linares <alinares@fivetech.com> * harbour/source/debug/debugger.prg ! Locals are restored when returning from a function or procedure. 2001-02-14 12:40 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> * harbour/include/hbapirdd.h * Wrong parameters of SUPER_UNLOCK fixed * harbour/include/hbrddntx.h * harbour/source/rdd/dbfntx/dbfntx1.c + ntxLock(), ntxUnLock() added * These virtual functions are for index files locking/unlocking while appropriate dbf locking/unlocking I used here locking of first 512 bytes of index file ( don't know yet, is it Clipper compatible ). 2001-02-13 17:30 UTC-0800 Ron Pinkas <ron@profit-master.com> * harbour/source/rtl/idle.c * Changed Sleep(0) to Sleep(20) so that Harbour will properly release CPU on Win32. 2001-02-13 15:50 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> * harbour/source/rdd/dbfntx/dbfntx1.c * Warnings fixed; * handling of free pages pool implemented ( not tested yet ) 2001-02-13 12:21 GMT+1 Antonio Linares <alinares@fivetech.com> * harbour/source/debug/debugger.prg ! Trace support fixed 2001-02-13 11:30 GMT+1 Ignacio Ortiz <ignacio@fivetech.com> * harbour/source/rtl/tget.prg + Minus support fixed 2001-02-13 13:15 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> * harbour/include/hbrddntx.h * harbour/source/rdd/dbfntx/dbfntx1.c + ntxAppend() added; * updating of opened indexex while new record adding is implemented; * few fixes; * error now is generated while opening, if index file doesn't exist. 2001-02-12 21:58 GMT+1 Antonio Linares <alinares@fivetech.com> * harbour/source/debug/dbgmenu.prg + more options implemented. * harbour/source/debug/debugger.prg + Method EditSet() and Trace() implemented. 2001-02-12 13:32 GMT+1 Antonio Linares <alinares@fivetech.com> * harbour/source/debug/dbgmenu.prg + more options implemented. * harbour/source/debug/debugger.prg + Method Animate() added. (many thanks to Ignacio for the "happy ideas" :-) 2001-02-12 09:24 GMT+1 Antonio Linares <alinares@fivetech.com> * harbour/source/debug/dbgmenu.prg + more options implemented. * harbour/source/debug/dbgtwin.prg + DATA lVisible added. * harbour/source/debug/debugger.prg + Methods Public(), Private(), Static(), Local(), All() and Sort() added (many thanks to Luiz for the suggested code). 2001-02-11 18:22 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> * harbour/source/rdd/dbfntx/dbfntx1.c * few bugs fixed, related to using ntx in shared mode * harbour/source/compiler/cmdcheck.c * bug fixed, which prevented using of Harbour debugger under Linux 2001-02-10 08:43 GMT+1 Antonio Linares <alinares@fivetech.com> * harbour/source/debug/dbgmenu.prg + More options implemented * harbour/source/debug/debugger.prg + methods Speed(), SaveSettings() and Restore settings implemented. Not 100% implemented yet, but you can save and restore colors! 2001-02-09 23:46 GMT+1 Maurilio Longo <maurilio.longo@libero.it> * source/rtl/tbrowse.prg ! fixed ::Moved() method which was calling ::Dehilite() even if TBrowse was already unstable causing wrong painting of current row 2001-02-09 11:25 UTC-0800 Ron Pinkas <ron@profit-master.com> * harbour/source/debug/debugger.prg ! Fixesd ValType( &cColor ) to Type( cColor ) * hb_slex.bc * Synched with makefile.bc 2001-02-08 12:15 UTC-0500 David G. Holm <dholm@jsd-llc.com> * config/dos/djgpp.cf * config/dos/rsx32.cf * config/dos/watcom.cf * config/linux/gcc.cf * config/os2/gcc.cf * config/os2/icc.cf * config/w32/bcc32.cf * config/w32/gcc.cf * config/w32/icc.cf * config/w32/mingw32.cf * config/w32/msvc.cf * config/w32/rsxnt.cf + Added the ability to include contrib libraries by setting CONTRIBS to a list of contrib libraries in the Makefile. * tests/Makefile + Added CONTRIBS=libmisc * Moved program modules that use the contrib\libmisc library from BAD_PRG_SOURCES to PRG_SOURCES. 2001-02-09 17:01 GMT+1 Antonio Linares <alinares@fivetech.com> * harbour/source/rtl/gtapi.c + hb_gtColorToN() fixed (?). 2001-02-09 16:44 GMT+1 Antonio Linares <alinares@fivetech.com> * harbour/include/hbapigt.h + hb_gtColorToN() prototype added. * harbour/source/debug/debugger.prg * some minor fixes. * harbour/source/rtl/gtapi.c + hb_gtColorToN() function added. * harbour/source/rtl/setcolor.c + HB_COLORTON() function added. * harbour/source/rtl/shadow.c + HB_CLRAREA() function added. These functions are used by the debugger. 2001-02-09 14:44 GMT+1 Maurilio Longo <maurilio.longo@libero.it> * source/debug/tbrwtext.prg + fixed coloring * source/debug/debugger.prg * changed call to oBrwText:New() so pass a correct color string 2001-02-09 12:10 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> * harbour/source/rdd/dbfntx/dbfntx1.c * bug fixed, which have appeared after last change 2001-02-09 09:15 GMT+1 Maurilio Longo <maurilio.longo@libero.it> * source/debug/Makefile + added dbgwa.prg to GCC Makefile 2001-02-09 07:56 GMT+1 Antonio Linares <alinares@fivetech.com> * harbour/source/debug/debugger.prg + Colors are already editables. 2001-02-09 09:00 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> * harbour/include/hbrddntx.h + ntxPutValue declaration 2001-02-09 05:33 GMT+1 Antonio Linares <alinares@fivetech.com> * harbour/source/debug/dbgmenu.prg + Some new options added. * harbour/source/debug/dbgtarr.prg + mono display option supported. * harbour/source/debug/dbgtmenu.prg + mono display debugger colors supported. * harbour/source/debug/dbgtobj.prg + mono display debugger colors supported. * harbour/source/debug/dbgtwin.prg ! some minor fixes * harbour/source/debug/dbgwa.prg + mono display debugger colors supported. * harbour/source/debug/debugger.prg + New METHOD MonoDisplay() added. + New METHOD PathForFiles() added. + New METHOD TabWidth() added. 2001-02-08 20:57 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> * harbour/source/rdd/dbfntx/dbfntx1.c + ntxPutValue() + hb_ntxPageKeyDel() Updating of opened indexes implemented ( not good yet, but works ). 2001-02-08 17:30 GMT+1 Ignacio Ortiz <ignacioortiz@fivetech.com> * harbour/source/debug/dbgtmenu.prg + Minor fix * harbour/source/debug/debugger.prg + New method ShowWorkAreas() * harbour/source/debug/dbgwa.prg + New debugger Show work areas (completally finished) * harbour/makefile.bc + Added harbour/source/debug/dbgwa.prg ! Please update other make files 2001-02-08 16:04 GMT+1 Antonio Linares <alinares@fivetech.com> * source/debug/debugger.prg ! minor fix on METHOD OSShell(). 2001-02-08 14:55 GMT+1 Maurilio Longo <maurilio.longo@libero.it> * source/debug/debugger.prg * changed OSShell() method to use COMSPEC environment variable 2001-02-08 11:30 GMT+1 Antonio Linares <alinares@fivetech.com> * harbour/source/compiler/genc.c ! improved support for HB_P_STATICNAME * harbour/source/compiler/harbour.c ! improved support for HB_P_STATICNAME * harbour/source/debug/dbgmenu.prg + New OSShell() action added * harbour/source/debug/dbgtmenu.prg ! some minor fixes * harbour/source/debug/dbgtobj.prg ! some minor fixes * harbour/source/debug/debugger.prg ! improved statics vars support. + New method OSShell() added * harbour/source/rtl/tget.prg ! some minor fixes to let the debugger inspect a GetNew() object * harbour/source/vm/hvm.c ! improved support for HB_P_STATICNAME ! __vmVarSGet() changed to use the entire statics array, not just the statics frame based one. + New __vmVarSSet( <nStaticIndex>, <uValue> ) function added to change the value of any static variable. Notice: Debugger statics vars inspection is almost finished! :-) 2001-02-07 17:15 UTC-0500 David G. Holm <dholm@jsd-llc.com> * source/rtl/gtwin/gtwin.c ! Improved handling of international characters and keyboards, which my earlier fix for supporting Alt+alpha-numeric broke. 2001-02-07 18:25 GMT+1 Antonio Linares <alinares@alinares.com> * harbour/source/debug/dbgtarr.prg ! some minor fixes. 2001-02-07 18:21 GMT+1 Antonio Linares <alinares@alinares.com> * harbour/source/debug/debugger.prg + Implementing statics variables support (not finished yet). * harbour/source/vm/hvm.c ! HB_P_STATICNAME improved support Notice: Not finished yet! 2001-02-07 13:50 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> * harbour/source/pp/ppcore.c * now pp gives error if '<' haven't matched '>' . 2001-02-07 10:30 GMT+1 Ignacio Ortiz <ignacioortiz@fivetech.com> * harbour/source/debug/dbgtmenu.prg + Accelerator keys on popup menus fixed. * harbour/source/debug/tbrwtext.prg + Wrong comment on search method. 2001-02-06 23:57 GMT+1 Maurilio Longo <maurilio.longo@libero.it> * source/rtl/tbrowse.prg + added ::MGotoYX(nRow, nCol) method which hilights cell under screen coordinates nRow, nCol should help following a mouse. NOTE: hacked up and not tested. I'm very busy at the moment. * NOTE latest change to TBrowse (my previous entry in changelog) fixed a problem but created a new one :-) I'll have to rethink a little bit ::Stabilize() logic. 2001-02-06 20:30 GMT+1 Ignacio Ortiz <ignacioortiz@fivetech.com> * harbour/source/debug/dbgmenu.prg + Debugger full locate menu support. * harbour/source/debug/tbrwtext.prg + New search method * harbour/source/debug/debugger.prg + Debugger full locate menu support. 2001-02-06 17:47 GMT+1 Antonio Linares <alinares@fivetech.com> * harbour/source/debug/dbgtmenu.prg + debugger colors selection support. * harbour/source/debug/dbgmenu.prg + call to debugger SelColors() option. * harbour/source/debug/dbgtwin.prg + debugger colors selection support. * harbour/source/debug/debugger.prg + colors selection option implemented Notice: Not finished yet. 2001-02-06 12:11 GMT+1 Antonio Linares <alinares@fivetech.com> * harbour/source/debug/dbgmenu.prg + New CHECKED clause added on menuitems. * harbour/source/debug/dbgtmenu.prg + two spaces added on popup menuitems to support check mark. * harbour/source/debug/dbgtmitm.prg + New DATA lChecked and METHOD Toggle() added. 2001-02-06 12:00 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> * harbour/source/rdd/dbfntx/dbfntx1.c * fixed problem with correct movement via CA-Cl*pper created ntx file 2001-02-05 16:15 UTC-0500 David G. Holm <dholm@jsd-llc.com> * source/compiler/harbour.l * source/pp/pragma.c ! Corrected hb_xalloc and hb_xrealloc type overrides for pItem->pCode to be (BYTE *). * tests/Makefile * Only program modules that fail to compile and link are supposed to be listed under BAD_PRG_SOURCES, so I've moved the following to PRG_SOURCES: clasname, lnlenli2, setkeys, testcdx, testdbf, testhtml, testid, testrdd, and teststr. * tests/testid.prg * Documented how to set /dTEST if using the GNU Make System. 2001-02-05 21:05 GMT+1 Maurilio Longo <maurilio.longo@libero.it> * source/debug/debugger.prg + Added LineNumbers() method * source/debug/tbrwtext.prg + Added support for inclusion/exclusion of line numbering at runtime * source/debug/dbgmenu.prg + Added Menu item to activate line numbering 2001-02-05 21:10 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> * harbour/include/hbrddntx.h * harbour/source/rdd/dbfntx/dbfntx1.c + harbour/tests/testntx.prg * Implemented SKIP for ntx. * Indexkey(), etc. returns now info about current index. * Implemented buffering of index pages ( exclusive mode ). 2001-02-05 10:23 GMT+1 Antonio Linares <alinares@fivetech.com> * harbour/include/hbpcode.h + HB_P_STATICNAME opcode added. * harbour/source/compiler/genc.c + New hb_p_staticname() function added. * Modified hb_p_statics() function. * harbour/source/compiler/harbour.c + HB_P_STATICNAME opcode support. * harbour/source/compiler/hbfix.c + hb_p_staticname support. * harbour/source/compiler/hbpcode.c + HB_P_STATICNAME support. * harbour/source/debug/debugger.prg + statics variables support (not finished yet!) * harbour/source/vm/hvm.c + New hb_vmStaticName() added. WARNING: All libraries must be rebuilt as opcodes have changed!!! 2001-02-04 22:50 GMT+1 Maurilio Longo <maurilio.longo@libero.it> * source/debug/debugger.prg ! fixed CommandWindowProcessKey() where a K_DOWN on an empty command list was killing debugger with an out of bounds error. + Added a begin..end sequence to K_ENTER processing to survive requests to print variables which don't exist (like mispelled ones). 2001-02-04 22:15 GMT+1 Maurilio Longo <maurilio.longo@libero.it> * source/debug/debugger.prg * little changes, like adding K_LEFT and K_RIGHT to CodeWindowProcessKey (but they don't work) * source/debug/tbrwtext.prg + Added support for break points (coloring of text) * source/rtl/teditor.prg + Changed ::RefreshXXX() methods to allow line coloring outside of TEditor logic. 2001-02-04 08:22 GMT+1 Antonio Linares <alinares@fivetech.com> * source/rtl/tclass.prg - METHOD ClassName() removed so we get the default expected value. 2001-02-03 08:52 GMT+1 Antonio Linares <alinares@fivetech.com> * source/debug/debugger.prg + Mouse support added to the popups. * source/debug/dbgtmenu.prg + Mouse support added to the popups. 2001-02-03 08:00 GMT+1 Antonio Linares <alinares@fivetech.com> * source/debug/debugger.prg + Mouse support added to the variables window. ( a single click selects a variable, a doble click edits it ). * source/debug/dbgtwin.prg + Added support for mouse single and doble click events. 2001-02-03 06:48 GMT+1 Antonio Linares <alinares@fivetech.com> * source/debug/dbgtobj.prg + Debugger objects datas already editables. 2001-02-03 05:21 GMT+1 Antonio Linares <alinares@fivetech.com> * source/debug/dbgtarr.prg - removed SetsUp(), SetsDown() and MyColors() not needed functions. -+ Maurilio's navigation technique implemented. * source/debug/dbgtobj.prg - removed SetsUp(), SetsDown() and MyColors() not needed functions. -+ Maurilio's navigation technique implemented. - removed the repainting of the window caption. * source/debug/debugger.prg - removed SetsUp(), SetsDown() and MyColors() not needed functions. ( Maurilio, your navigation technique is much faster! :-) 2001-02-02 22:45 GMT+1 Maurilio Longo <maurilio.longo@libero.it> * source/debug/debugger.prg - removed calls to oBrwText:ForceStable() method which is no more available ! SetsUp() and SetsDown() functions where calling ::RefreshAll() and movement methods without any reason causing a noticeable delay during Sets scrolling. * source/debug/tbrwtext.prg - removed empty ::ForceStable() method * source/rtl/tbrowse.prg ! when a movement happens inside available on screen rows (like a ::Down() from row 1 to row 2) I have to force repainting of target row or else this sequence (for example) fails: ::RefreshCurrent():Down():ForceStable() because to paint the row where I issued a ::RefreshCurrent() I have to move one back from ::nNewRowPos, but there I stay since ::nNewRowPos is not to redraw. I'm sure nobody uderstands what I'm clearly unable to explain :-) * source/rtl/teditor.prg - removed a TODO: comment which is no more needed. 2001-02-02 16:48 GMT+1 Antonio Linares <alinares@fivetech.com> * source/vm/debug.c + New function __vmVarLSet() added. Purpose: It sets the contents of a local variable placed at nProcLevel stack deep. Syntax: __vmVarLSet( <nProcLevel>, <nLocalIndex>, <uNewValue> ) --> nil * source/debug/debugger.prg * Improved METHOD EditVar() for local variables (it uses the new __vmVarLSet() function). * Improved GetVarInfo() static function. 2001-02-02 15:40 GMT+1 Antonio Linares <alinares@fivetech.com> * source/compiler/harbour.c * HB_P_LOCALNAME local index fixed. 2001-02-02 14:39 GMT+1 Antonio Linares <alinares@fivetech.com> * source/vm/hvm.c * function hb_vmLocalName() properly implemented. * source/debug/debugger.prg * proper support for hb_vmLocalName() ! Warning: HB_P_LOCALNAME is working wrong! It has to be revised! 2001-02-02 11:46 GMT+1 Antonio Linares <alinares@fivetech.com> * makefile.bc - removed an empty blank line (was causing a make error) * source/debug/dbgtobj.prg + Added missing function __DbgObject() * source/debug/dbgtarr.prg * fixed editing window height when reviewing just a 1 element array 2001-02-01 06:20 UTC-0800 Brian Hays <bhays@abacuslaw.com> * source/rtl/memoline.c * fixed nasty bug that would blow away the app if word wrap was on and the next character after filling the line length was a space. 2001-02-01 22:10 GMT -3 Luiz Rafael Culik <culik@sl.conex.net> +source/debug/dbgtarr.prg *Browse functions for view arrays on debugger +source/debug/dbgtobj.prg *Browse functions for view objects on debugger *source/debug/debugger.prg +Added support to view arrays and objects on the Variable windows *fixed browse colors to viewsets() method *makefile.bc hb_slex.bc source/debug/makefile *added dbgtarr.prg and dbgtobj.prg to dependencies list ****NOTE**** VC++ Users. please update the make files 2001-01-30 10:10 UTC-0500 David G. Holm <dholm@jsd-llc.com> * source/rtl/gtwin/gtwin.c * Changed code that determines whether or not a key stroke is for an extended key, so that Alt+[alpha/numeric key] works properly. 2001-01-26 16:15 UTC-0800 Ron Pinkas <ron@profit-master.com> * hb_slex.vc + Added -DSIMPLEX to production of HARBOUR_EXE_OBJs. * source/vm/hvm.c ! Minor optimization of recent changes to hb_vmSend() 2001-01-25 12:00 UTC-0800 Ron Pinkas <ron@profit-master.com> * source/vm/hvm.c * Modified error messages in hb_vmSend() to report class name of native types (including NIL) along with missing method name. + Added default implementation of ClassName() method of native types. /* J.F. Can you please check why hb_objGetClsName() was not working correctly when called from hb_vmSend() ? It was returning empty string ("") on my BCC55 latest build. */ * tests/clasname.prg + Added Arrays to types checked. 2001-01-24 20:50 UTC-0800 Ron Pinkas <ron@profit-master.com> * source/pp/ppcore.c ! Fixed compilation and parsing of #command of single and bi-char operators ! Removed prior hack in hb_pp_RdStr() related to @[&-]. * source/pp/pptable.c ! Fixed compilation of #command ?? [ <list,...> ] => QQOut( <list> ) /* This [should] finally resolve all prior issues regarding @ and many other problems, of operators as command keys. */ 2000-01-22 19:10 UTC-0800 Brian Hays <bhays@abacuslaw.com> * harbour/include/hbsetup.h + added #define OS_EOL_LEN /* # of bytes in End of Line marker */ * source/rtl/console.c * source/rtl/memoline.c + implemented OS_EOL_LEN 2000-01-22 18:00 UTC-0800 Brian Hays <bhays@abacuslaw.com> * contrib/rdd_ads/adsfunc.c + added ADSRegCallBack(cbBlock) and ADSClrCallBack() to register a callback function during index creation. 2000-01-22 18:00 UTC-0800 Brian Hays <bhays@abacuslaw.com> * contrib/rdd_ads/ads1.c ! integrated AOF creation into dbSetFilter if SET OPTIMIZE is on. AdsCreateIndex(): * fixed bug to set focus to the new order + added USECURRENT support for subindexing. Since ADS by default does NOT obey the scope like COMIX, I create a While expression from the index key and scope expression (if there is one). NOTE: if the new tag/file already exists AND a bagname specifies a non-structural bag, it does not subindex! All records get added to the index. The app needs to see if it's there already and delete it. (Temp tags created with USECURRENT to the structural index are always created correctly.) * contrib/rdd_ads/adsfunc.c * ADSCustomizeAOF( [<nRecno | aRecNos>] [, <nType>] ) --> nSuccess Added support for default values (add current record to bitmap if no parameters are passed) and for an array of record numbers to be passed so up to 16,383 records can be set or cleared with one call to the server. Now returns 0 for success, otherwise the ADS error code. + added AdsIsIndexed() to quickly return if currently indexed vs. natural order I hope to remove this if we agree to make it an rdd func * harbour/contrib/rdd_ads/doc/en/adsfuncs.txt * documented ADSCustomizeAOF * harbour/include/ord.ch and hbapirdd.h + added constants for DBOI_OPTLEVEL return values #define DBOI_OPTIMIZED_NONE 0 #define DBOI_OPTIMIZED_PART 1 #define DBOI_OPTIMIZED_FULL 2 * harbour/doc/en/hb_api.txt * added text for hb_param * harbour/doc/en/hb_apiit.txt * added text for hb_itemParam 2001-01-22 13:15 UTC-0500 David G. Holm <dholm@jsd-llc.com> + doc/en/gtslang.txt + New file provided by Marek Paliwoda <paliwoda@inetia.pl> * source/rtl/gtsln/gtsln.c * Enhancements provided by Marek Paliwoda <paliwoda@inetia.pl> * source/rtl/gtsln/kbsln.c * Enhancements provided by Marek Paliwoda <paliwoda@inetia.pl> 2001-01-22 00:50 UTC-0800 Ron Pinkas <ron@profit-master.com> * contrib/dot/pp.prg * source/pp/ppcore.c ! Fixed processing of & with stringify. 2001-01-21 15:40 UTC-0800 Ron Pinkas <ron@profit-master.com> * source/compiler/harbour.slx * Minor correction. 2001-01-20 17:20 UTC-0800 Ron Pinkas <ron@profit-master.com> * hb_slex.vc + Added -DSIMPLEX to CLIBFLAGS * source/compiler/genc.c * Minor correction. * utils/hbpp/hbpp.c * source/pp/pplib.c * include/hbcomp.h * source/compiler/harbour.c + Added hb_comp_iLinePRG and hb_comp_iLineINLINE * source/compiler/harbour.l * source/compiler/harbour.slx * source/compiler/hbgenerr.c + Added logic to disallow multiple HB_INLINE() per source line. * source/pp/ppcomp.c * source/pp/ppcore.c * source/pp/pragma.c * Corrected double spacing in PPO generation, and added #pragma BEGINDUMP to PPO. 2001-01-19 22:30 GMT -3 Luiz Rafael Culik <culik@sl.conex.net> *utils/hbmake/hbmake.prg *Added code to allow Old style -D switch 2001-01-19 18:30 UTC-0500 David G. Holm <dholm@jsd-llc.com> * source/rtl/gtcgi/Makefile ! The library is supposed to be 'gtcgi', not 'gtstd'! * source/vm/hvm.c * Moved hb_inkeyPoll() call to inside the hb_vmDo() function. 2001-01-18 22:41 GMT+1 JFL (Mafact) <jfl@mafact.com> *harbour/hb_slex.vc * added HBMAKE harbour/makefile.vc * added HBMAKE 2001-01-18 00:18 GMT+1 JFL (Mafact) <jfl@mafact.com> *harbour/makefile.vc * minor form adjustement *harbour/include/hbclass.ch * Clean the ::Class reference wich does'nt work *harbour/source/debug/dbgtmenu.prg * Adding a blank line at the end of file to test Simplex and VC++ *harbour/source/rtl/tclass.prg * Clean the ::Class reference wich does'nt work *harbour/source/rtl/tobject.prg * Clean the ::Class reference wich does'nt work 2001-01-17 21:45 UTC+0100 Ryszard Glab <rglab@imid.med.pl> *source/vm.estack.c *fixed initialization of items during the stack reallocation *STACK_* constants can be defined using a compiler command line 2001-01-16 22:15 GMT+1 JFL (Mafact) <jfl@mafact.com> *harbour/makefile.vc *harbour/source/compiler/genobj32.c *harbour/source/compiler/harbour.l *harbour/source/compiler/harbour.slx *harbour/source/compiler/hbfix.c *harbour/source/pp/pragma.c *All minor type casting for VC++ *harbour/source/rtl/tobject.prg *code re-aligned (no modif) 2001-01-14 15:15 UTC+0100 Ryszard Glab <rglab@imid.med.pl> *include/hbapi.h *modified union in 'asRefer' structure *source/vm/codebloc.c *source/vm/hvm.c *source/vm/itemapi.c *fixed support for detached local variables passed by the reference 2001-01-13 02:25 UTC-0800 Ron Pinkas <ron@profit-master.com> * source/compiler/genc.c * source/compiler/harbour.c * source/pp/pragma.c + Added support for #pragma BEGINDUMP ... [#pragma STOPDUMP] or EOF. /* BEGINDUMP & STOPDUMP are just a suggestion. */ * utils/hbpp/hbpp.c * source/pp/pplib.c + Added empty stub hb_compInlineAdd() (needed by pragma.c) * tests/inline_c.prg + Added code to demonstrate #pragam BEGINDUMP 2001-01-11 20:10 UTC-0800 Ron Pinkas <ron@profit-master.com> * source/compiler/harbour.l * source/compiler/harbour.slx + Added logic to ignore, rest of line after // content of /**/ comments content of strings and char constants escape codes within strings and char constants * tests/inline_c.prg + Added sample comments and strings containing { and \". 2001-01-11 17:00 UTC-0500 David G. Holm <dholm@jsd-llc.com> * test/inline_c.prg + Added missing CVS ID line! 2001-01-10 18:20 UTC-0800 Ron Pinkas <ron@profit-master.com> * include/hbcomp.h * source/compiler/harbour.c + Added members szFileName and iLine to structure INLINE, set to originating PRG name and line number. * source/compiler/genc.c + Added #line directive to INLINE generations, so C compile warnings/errors will report source file and line number in PRG. * source/compiler/harbour.l * source/compiler/harbour.slx + Added Error message if inline C is used with non C output. + Added support for {} on same line * Minor optimization * include/hberrors.h * source/compiler/hbgenerr.c + Added: "Inline C requires C output generation, use -gc[n]" 2001-01-10 22:30 GMT -3 Luiz Rafael Culik <culik@sl.conex.net> *utils/hbmake/hbmake.prg *Fixed an typo on an fwh lib name +Added dinamic make file support 2001-01-09 23:10 UTC-0800 Ron Pinkas <ron@profit-master.com> * source/pp/ppcomp.c * source/pp/ppcore.c * Disabled all processing other than \n when processing HB_INLINE. 2001-01-09 10:00 UTC-0800 Ron Pinkas <ron@profit-master.com> * contrib/dot/pp.prg * Fixed bug with #include and INCLUDE Env Var processing. % Removed some unused vars. 2001-01-09 16:15 UTC+0100 Ryszard Glab <rglab@imid.med.pl> *source/rdd/workarea.c *codeblocks used in SET LOCATE are properly locked/unlocked to prevent deallocation by the GC (thanks to shashkov@orel.ru) *source/vm/macro.c *fixed bug in hb_macroTextSubst() (result buffer reallocation) (thanks to shashkov@orel.ru) *source/vm/memvars.c *fixed access of uninitialized memvar values (thanks to shashkov@orel.ru) 2001-01-08 17:45 UTC-0800 Ron Pinkas <ron@profit-master.com> * source/pp/ppcore.c ! Fixed ')' as expression terminator in state STATE_ID_END 2001-01-08 14:35 UTC-0800 Ron Pinkas <ron@profit-master.com> * source/vm/estack.c * Corrected typo _HB_ITEM => HB_ITEM in type casting. 2001-01-08 22:18 GMT+0100 JFL (mafact) <jfl@mafact.com> * harbour/makefile.vc Added estack.obj * harbour/source/compiler/harbour.l Added Type Casting needed by VC++ * harbour/source/vm/estack.c Added Type Casting needed by VC++ * harbour/source/vm/hvm.c Added Type Casting needed by VC++ * harbour/source/vm/classes.c Temporary released the HIDDEN Check on scooping 2001-01-08 12:35 UTC-0800 Ron Pinkas <ron@profit-master.com> * contrib/dot/pp.prg * Added support for leading and traing WS before/after #. * Extra logic for [...] within # directives in ProcessFile() * Fixed logic of // and && terminating at EOF. 2001-01-08 02:10 UTC-0800 Ron Pinkas <ron@profit-master.com> * contrib/dot/pp.prg * Few corrections in NextExp() and MatchRule(). 2001-01-07 13:40 UTC-0800 Ron Pinkas <ron@profit-master.com> * contrib/dot/pp.prg * Optimized cyclic detection logic. 2001-01-06 9:18 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> * source/vm/dynsym.c Fix, posted by shashkov@orel.ru 2001-01-05 09:57 UTC-0800 Ron Pinkas <ron@profit-master.com> * contrib/dot/pp.prg * Corrected possible case sensitive issue RP_Dot.ch -> rp_dot.ch (Thanx to Dave Pearson) * Corrected @ 24, ... -> @ MaxRow(), ... (Thanx to Dave Pearson) 2001-01-03 09:35 UTC-0800 Ron Pinkas <ron@profit-master.com> * contrib/dot/pp.prg * source/pp/ppcore.c ! Fixed Array Index support after '.' (Macro Terminator). 2001-01-02 17:10 UTC-0800 Ron Pinkas <ron@profit-master.com> * source/compiler/genc.c * Minor correction. 2001-01-02 10:00 UTC-0800 Ron Pinkas <ron@profit-master.com> * source/compiler/harbour.l + Added support for inline C code. 2001-01-01 23:35 UTC-0800 Ron Pinkas <ron@profit-master.com> * source/compiler/harbour.c * Minor correction in hb_compInlineAdd() 2001-01-01 22:40 UTC-0800 Ron Pinkas <ron@profit-master.com> * include/hberrors.h * source/compiler/hbgenerr.c + Added: "Unterminated inline block in function: \'%s\'" and "Too many inline blocks" * include/hbcomp.h * source/compiler/harbour.c + Added hb_compInlineNew(), hb_compInlineAdd(), and hb_compInlineFind() * source/pp/ppcomp.c * source/compiler/harbour.slx * source/compiler/genc.c + Added support for inline C code blocks. + tests/inline_c.prg + Added new test to demonstrate new inline C support. 2001-01-01 22:15 GMT -3 Luiz Rafael Culik <culik@sl.conex.net> *utils/hbdoc/genpdf.prg *contrib/pdflib/pdfhbdoc.c *Fixed handling of 4 column table items 2000-12-29 01:30 UTC-0800 Brian Hays <bhays@abacuslaw.com> * source/rtl/memoline.c Added OS_UNIX_COMPATIBLE test for single-byte EOL markers (with apologies to Dave: This probably is not the best way to handle this, It would be better to establish some constants for the target OS EOL string and its length...) NOTE: this may not be desirable if a harbour Unix app is manipulating strings with CRLF EOL markers !!!!!!!!!!!!!! Comments? Opinions? * contrib/rdd_ads/ads1.c * tweaked return values for fields at eof/bof * added DBI_SHARED option to dbInfo * memo file creation obeys SET(_SET_MBLOCKSIZE) * NOTE from ace.hlp: For ADS_CDX, values are in the range 1-1024. If the value is in the range 1-32, then that value is multiplied by 512 to get the actual block size. * harbour/source/rdd/workarea.c * fixed dbEval to not Go Top when a While expression is passed 2000-12-28 20:50 UTC-0800 Ron Pinkas <ron@profit-master.com> * source/vm/eval.c * Minor formatting. * source/vm/hvm.c * Added derefferncing of Block Vars in hb_vmPushLocal() /* Ryszard can you please review this change. */ 2000-12-29 9:18 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> * utils/hbpp/hbpp.c * Now it creates exactly the same .ppo as Harbour, without extra empty lines 2000-12-26 20:30 GMT -3 Luiz Rafael Culik <culik@sl.conex.net> *utils/hbmake/radios.prg utils/hbmake/checks.prg * Small Fixed *utils/hbmake/hbmake.prg + -F option added *Fixed some bug that apeared on non Case Sensitive OS 2000-12-18 16:55 GMT+1 Maurilio Longo <maurilio.longo@libero.it> * source/rtl/memoedit.prg + Added all missing functionalities. Should be 100% compatible (tested very little) * source/rtl/teditor.prg * little changes to make it work better with memoedit.prg. Removed cUdF parameter from ::New() method. 2000-12-15 22:10 GMT -3 Luiz Rafael Culik <culik@sl.conex.net> *utils/hbmake/radios.prg utils/hbmake/checks.prg utils/hbmake/pickarry.prg utils/hbmake/pickfile.prg utils/hbmake/prb_stak.prg utils/hbmake/fclass1.prg utils/hbmake/ft_funcs.prg utils/hbmake/ffile1.prg *lower case all include files names to be linux compatible +utils/hbmake/hbdocdef.ch *include file need by the File class engine 2000-12-15 21:40 GMT -3 Luiz Rafael Culik <culik@sl.conex.net> *utils/hbmake/hbmake.prg *fixed findmacro(),setbuild() and replacemacro() functions when a ";" is used to separate multiple macros *Fixed bug when -p switch is used 2000-12-14 17:00 UTC-0800 Ron Pinkas <ron@profit-master.com> * source/vm/eval.c * Removed unneeded hb_stackItemFromBase(1), reverted to use pItem obtained by hb_param() 2000-12-13 22:04 GMT+1 Maurilio Longo <maurilio.longo@libero.it> * source/vm/estack.c + added missing semicolons (lines 374 and 416) 2000-12-12 17:35 UTC-0800 Ron Pinkas <ron@profit-master.com> * source/vm/eval.c + Corrected support for block passed by reference. /* Ryszard, is there any reason to use hb_stackItemFromBase(1) instead of pItem? */ 2000-12-12 17:10 UTC-0800 Ron Pinkas <ron@profit-master.com> * makefile.bc * hb_slex.bc * Changed to include new source\vm\estack.c * include/hbextern.ch * Changed HB_PVALUE() to __PVALUE() 2000-12-12 21:15 GMT -3 Luiz Rafael Culik <culik@sl.conex.net> *utils/hbmake/hbmake.prg *Some clean ups *Parameter checking is faster now *Fixed some small bugs regarding to OS2 and GCC support 2000-12-12 21:25 UTC+0100 Ryszard Glab <rglab@imid.med.pl> TAGged all files with 'old-eval-stack' tag before commiting changes *include/hbstack.h *source/vm/estack.c *new files with the eval stack code *include/hbapi.h *include/hbvm.h *source/rdd/dbcmd.c *source/rdd/dbfcdx/dbfcdx1.c *source/rdd/dbfntx/dbfntx1.c *source/rtl/errorapi.c *source/vm/arrays.c *source/vm/arrayshb.c *source/vm/asort.c *source/vm/classes.c *source/vm/codebloc.c *source/vm/debug.c *source/vm/eval.c *source/vm/extend.c *source/vm/fm.c *source/vm/garbage.c *source/vm/hvm.c *source/vm/itemapi.c *source/vm/macro.c *source/vm/pcount.c *source/vm/proc.c *changed to support the new eval stack code *added #include "hbstack.h" when hb_stack.Return was used NOTE! some modules still use a direct access to the eval stack internal architecture (hb_stack.pItems) - mostly in function/messages names lookup code *source/vm/Makefile *added estack.c *source/rdd/dbfntx/Makefile *added dbfntx1.c *source/vm/pvalue.c *tests/multiarg.prg *renamed HB_PVALUE to __PVALUE * __PVALUE is no longer an HB_EXTENSION - it is an internal function now *include/hbexpra.c *renamed HB_PVALUE to __PVALUE *fixed support for __GETA to be compatible with the latest Ron's changes in tgetint.prg 2000-12-12 00:50 UTC-0800 Brian Hays <bhays@abacuslaw.com> * source/rtl/memoline.c Fixed "" returned only when reading past the end of the source * source/rdd/dbfntx/dbfntx1.c * More fixes by Alexander 2000-12-11 21:45 GMT -3 Luiz Rafael Culik <culik@sl.conex.net> *utils/hbmake/hbmake.prg *Fixed an small bug 2000-12-11 21:45 GMT+1 Maurilio Longo <maurilio.longo@libero.it> * source/rtl/tbrowse.prg - removed hidden: clause inside class definition (it doesn't work right now) * source/rtl/tclass.prg - commented out line 255 (gives infinite loop) * utils/hbmake/*.prg + hbdocdef.ch needs relative path ("..\hbdoc\") to be compiled by gcc system 2000-12-10 17:09 UTC-0800 Brian Hays <bhays@abacuslaw.com> * source/rdd/dbfntx/dbfntx1.c * More fixes by Alexander Now seek is added 2000-12-10 15:50 GMT -3 Luiz Rafael Culik <culik@sl.conex.net> *makefile.bc hb_slex.bc *Add hbmake to dependencies list +utils/hbmake *hbmake directoy +utils/hbmake/hbmake.prg *Harbour make utility main file +utils/hbmake/radios.prg utils/hbmake/checks.prg utils/hbmake/pickarry.prg utils/hbmake/pickfile.prg utils/hbmake/prb_stak.prg utils/hbmake/radios.ch utils/hbmake/checks.ch utils/hbmake/radiodef.ch utils/hbmake/checkdef.ch *Utilityes functions need by hbmake *utils/hbmake/fclass1.prg utils/hbmake/ft_funcs.prg utils/hbmake/ffile1.prg Hbdoc File class engine *utils/hbmake/makefile *makefile for GNu compiler utils/hbmake/checks.ch 2000-12-09 14:09 UTC-0800 Brian Hays <bhays@abacuslaw.com> * source/rdd/dbfntx/dbfntx1.c * include/hbrddntx.h Fixes by Alexander 2000-12-08 18:45 GMT+1 Maurilio Longo <maurilio.longo@libero.it> * source/rtl/tbrowse.prg ! I've fixed all known (to me) issues with latest TBrowse code. ::HitTop/Bottom were set back to .F. if a ::RefreshAll() was issued. This is wrong since only movement keys can reset them. Issuing a long sequence of K_UP/K_DN (or CTRL_...) resulted on wrong movement of datasource (you could even go backward using K_DN :-O) You could get an out of bounds moving around inside tbrowse. * Note that original Clipper TBrowse caches displayed rows, so moving left or right does not require calling ::Skipblock to refresh screen. Present implementation of TBrowse has not such a cache so a lot more of skipping around is needed. 2000-12-06 16:09 UTC-0800 Brian Hays <bhays@abacuslaw.com> * makefile.bc + include/hbrddntx.h * source/rdd/dbfntx/dbfntx0.prg * source/rdd/dbfntx/dbfntx1.c * Fixes by Alexander * contrib/rdd_ads/doc/en/readme.txt * BH added compatibility notes 2000-12-04 19:40 UTC-0800 Ron Pinkas <ron@profit-master.com> * source/rtl/tget.prg ! Corrected 2 bugs when New Method called without any parameters. 2000-12-04 17:54 GMT+1 Maurilio Longo <maurilio.longo@libero.it> * source/rtl/tbrowse.prg * I've rewritten from scratch stabilization and movement keys handling. They were simply broken in previous TBrowse. They are now nearly 100% clipper compatible. DBU now works correctly when lastrec() + 1 is reached and leaved. ::stable state and ::HitTop or ::HitBottom were wrongly set _before_ stabilization and not during as it should. ::GoBottom() was not calling ::goBottomBlock. Movement handling methods were calling ::skipBlock and they should not, this was causing unneeded skipping being requested to data source. I hope these last changes have fixed TBrowse class. Please test it extensively. 2000-12-03 15:05 UTC-0800 Ron Pinkas <ron@profit-master.com> * source/compiler/harbour.sly ! Optimized __GETA() support, and changed it to be implementated identical to Clipper. /* Clipper passes a bGet Block which refrences the Base Array Variable and not the Variable itself. Clipper passes NIL instead of bGet block if the Base Array is MACROVAR or MACROTEXT. Clipper does not optimize "&Macro" to Macro, but Harbour does! */ * source/rtl/tgetint.prg * __GETA() Changed 1st parameter aVar to bGetArray and logic to get the Base Array if bGetArray is NIL /* Optimized to not use macro if possible (most cases) even if the GetArray is a macro. */ * tests/testget.prg + Added additional test. 2000-12-03 10:45 UTC-0800 Ron Pinkas <ron@profit-master.com> * source/pp/ppcore.c + Added support for whaite space between = and > in #[x]command/[x]translate rules. 2000-12-02 01:15 UTC+0500 April White (bright.tigra gmail.com) * source/rtl/xhelp.prg * added code to push the params passed to xhelp back onto the stack (fixes default K_F1 set key) * tests/setkeys.prg * added Help() and display contents of params received * NOTE: using hb_SetKeyCheck() with only one param [key] will not pass proper values to default Help() - it's pcount will be 3, but cProc will be [key], and nLine and cVar will be NIL use hb_SetKeyCheck( n, procname(),procline(), readvar() ) 2000-12-02 01:13 UTC+0100 jfl (mafact) <jfl@mafact.com> * include/hbclass.ch * more work in progress about :class message * added the metaclass concept * source/rtl/tclass.prg * more work in progress about :class message + metaclass * :Create now accept the metaclass object * :instance() return an object with it's :class initiated 2000-12-01 01:50 UTC-0800 Ron Pinkas <ron@profit-master.com> * source/compiler/harbour.sly ! Minor optimization. * source/rtl/tgetint.prg * Corrected typo 2000-11-30 18:25 UTC-0800 Ron Pinkas <ron@profit-master.com> * include/hbmacro.h * source/macro/macro.y * source/vm/macro.c ! Renamed hb_compParse() to hb_macroYYParse(). We already have hb_macroParse() and hcompparse() * source/compiler/harbour.y * Added token GET (not used) just so that harboury.h is compatible with harbour.sly * source/rtl/tgetint.prg * Reverted to use _1 and == NIL to not break Clipper compatibility. /* Ryszard, if you want to re-introduce PCount() and HB_PVALUE(), I'll ask (since I wrote this original code) that you protect it with #ifdef FLEX etc. If you do I would suggest you further protect it with #ifdef STRICT... becuase this will defintly break strict compatibility. */ 2000-11-30 15:30 UTC-0500 David G. Holm <dholm@jsd-llc.com> * include/hbver.h % Bumped revision code to j and set date to 2000-11-30 for a new set of interim builds that I'm going to release. 2000-11-30 15:20 UTC-0500 David G. Holm <dholm@jsd-llc.com> * config/dos/bcc16.cf * config/dos/djgpp.cf * config/dos/rsx32.cf * config/dos/watcom.cf * config/linux/gcc.cf * config/os2/gcc.cf * config/os2/icc.cf * config/w32/bcc32.cf * config/w32/gcc.cf * config/w32/icc.cf * config/w32/mingw32.cf * config/w32/msvc.cf * config/w32/rsxnt.cf + Added $(A_USR) to AR_FLAGS * tests/tstmacro.prg + Added MEMVAR declarations for all PRIVATE variables, so that it will compile without warnings when using the GNU Make System. 2000-11-30 10:00 UTC-0800 Ron Pinkas <ron@profit-master.com> * source/compiler/harbour.slx ! Commented out support for Self: as SELF, treat as any other Identifier, until we finalize SELF support. 2000-11-30 07:50 UTC-0800 Ron Pinkas <ron@profit-master.com> * source/pp/pptable.c - Removed #ifdef SIMPLEX recently added by Ryszard, SimpLex was using same 5 paramters as Cliiper. 2000-11-30 16:00 UTC+0100 Ryszard Glab <rglab@imid.med.pl> *source/rtl/tgetint.prg * restored '_1' variable because {|| ..... __MVPUT( cVar, HB_PVALUE(1) )} will not access a correct value 2000-11-30 10:55 UTC+0100 Ryszard Glab <rglab@imid.med.pl> *include/hbexpra.c *include/hbexprop.h *source/common/expropt1.c *source/compiler/expropta.c *source/macro/macroa.c * _GET_ => __GET translation is now fully Clipper compatible *source/pp/pptable.c * Flex version doesn't pass a sixth argument to _GET_ function *source/rtl/tgetint.prg * replaced all internal '_1' variables with PCOUNT()/HB_PVALUE() 2000-11-29 23:30 UTC+0100 jfl (mafact) <jfl@mafact.com> * include/hbclass.ch * some work in progress about :class message * source/rtl/tobject.prg * source/rtl/tclass.prg * some work in progress about :class message 2000-11-29 13:50 UTC-0800 Ron Pinkas <ron@profit-master.com> * source/compiler/harbour.c * Exported: hb_compFieldGetPos() and hb_compMemvarGetPos() * source/compiler/harbour.sly ! Changed __GET() support to be parameter compatible with Clipper * include/hberrors.h * source/compiler/hbgenerr.c + Added Error: "GET contains complex macro" * source/pp/pptable.c - Removed bSetGet from rule of GET, PP output now Clipper compatible. * source/vm/memvars.c + Added HB_FUNC( __ISMV ) // Return .T. if passed string as a Memory Variable. * source/rtl/tgetint.prg ! Fixed __GET() to be 100% parameter compatible with Clipper. ! When 1st parameter (bSetGet) is NIL the bSetGet will be built internaly, not using macro in most cases, even if the Get Variable itslef is a macro :-) /* Ryszard, this will further break Flex support for GET, but makes __GET() 100% Clipper compatible as you suggested. Please note, that Clipper does *NOT* pass a bSetGet *only* when the Get Var is a *simple* *non* declared Variable. Declared Variables in this context are: MEMVAR, FIELD, LOCAL, and STATIC. For all of those, bSetGet *is* generated! Clipper also generates bSetGet for "Complex Variables", i.e. Aliased Variables, Object Data, etc.! */ 2000-11-28 17:15 UTC-0400 David G. Holm <dholm@jsd-llc.com> * include/hbapigt.h + Added non-DOS definitions of box drawing characters and strings. * source/rtl/oldbox.c % Changed to use same method to test and use numeric parameters as that used by source/rtl/box.c. * tests/boxtest.prg + Added display of box drawing statement used following each box draw, along with a wait for user input. Removed comment about the first __BOX() call not doing anything, because it does... 2000-11-28 11:40 UTC+0800 Brian Hays <bhays@abacuslaw.com> * contrib/rdd_ads/ads1.c * fixed retrieval of logical values NOTICE!! All logical fields were coming back as FALSE before! * contrib/rdd_ads/adsfunc.c * adsCopyTable respects filters now * source/rdd/dbcmd.c + added dbRelation, dbRSelect * source/rdd/workarea.c + implemented RelText, RelArea * source/rtl\disksphb.c *Changed default "" to NULL to fix "open" error * source/debug/debugger.prg * changed TGet to Get class reference 2000-11-27 18:30 UTC-0400 David G. Holm <dholm@jsd-llc.com> * include/set.h % Changed hb_vm_bIdleRepeat to hb_set.HB_SET_IDLEREPEAT. % Alphabetized the hb_set structure members within type. NOTE: THIS CHANGE REQUIRES A CLEAN BUILD! * source/rtl/idle.c - Removed spurious hb_inkeyNext() declaration. % Changed hb_vm_bIdleRepeat to hb_set.HB_SET_IDLEREPEAT. * source/rtl/set.c % Changed hb_vm_bIdleRepeat to hb_set.HB_SET_IDLEREPEAT. 2000-11-27 08:25 UTC-0800 Ron Pinkas <ron@profit-master.com> * include/hbapi.h * source/rtl/idle.c + Added hb_idleReset() * source/rtl/inkey.c * Replaced direct idle flags reeset with call to hb_idleReset() * tests/testidle.prg + Added 2nd block test. + tests/testget.prg + Added test for plain gets, array gets, macro gets, and object data gets. * hb_slex.bc * include/hbver.h * source/common/hbver.c * source/compiler/genc.c * source/compiler/genjava.c * source/compiler/genobj32.c * source/compiler/hbusage.c + Added HB_VER_LEX macro and added to Build Info. * config/dos/djgpp.cf * config/linux/gcc.cf * config/w32/bcc32.cf * config/w32/gcc.cf + Added -DSIMPLEX to C[LIB]FLAGS of SimpLex build 2000-11-27 18:55 UTC+0100 Ryszard Glab <rglab@imid.med.pl> *source/rtl/idle.c *source/rtl/inkey.c * Added support for CPU releasing in U*ix 2000-11-27 17:14 GMT+1 Maurilio Longo <maurilio.longo@libero.it> * source/rtl/tbrowse.prg * changed ::RelativePos into ::LastRetrieved (seems more descriptive to me) 2000-11-27 17:07 GMT+1 Maurilio Longo <maurilio.longo@libero.it> * source/rtl/tbrowse.prg ! fixed ::Stabilize() method (problems when past eof()) 2000-11-26 21:00 UTC-0800 Ron Pinkas <ron@profit-master.com> * include/hberrors.h * source/pp/ppcomp.c * source/pp/ppcore.c + Added error support for Input buffer overflow . 2000-11-26 18:40 UTC-0800 Ron Pinkas <ron@profit-master.com> * source/compiler/harbour.slx + Added Error message if NUMERALS_PER_LINE is exhausted, and set it to 3000 (just below apparent parser limitation) 2000-11-26 10:10 UTC-0800 Ron Pinkas <ron@profit-master.com> * source/pp/ppcore.c + Added support for ',' within Array Index in NextParm() 2000-11-24 21:10 UTC-0800 Ron Pinkas <ron@profit-master.com> * source/compiler/harbour.y * source/compiler/harbour.sly + Added support for MacroExpr as FunCall 2000-11-25 22:57 UTC+0100 jfl (mafact) <jfl@mafact.com> * source/rdd/rddcpy.c * added missing explicit cast needed by VC++ 2000-11-24 12:50 UTC-0800 Ron Pinkas <ron@profit-master.com> * include/hbset.h * include/set.ch * source/pp/pptable.c + Added _SET_IDLEREPEAT = 101 * source/rtl/set.c + Added suport for SET( _SET_IDLEREPEAT ) - Default is .T. * source/rtl/idle.c - Removed HB_IDLE_RESET() * Changed handling of Idle Process to default to REPEAT. * tests/onidle.prg - Removed call to HB_IDLE_RESET() + tests/testidle.prg + New test of Idle Blocks in default (REPEAT) mode and optional NON REPEAT mode. 2000-11-24 19:22 GMT+1 Maurilio Longo <maurilio.longo@libero.it> * contrib/mysql/tmysql.prg + ::FieldGet() and ::FieldPut() methods now accept a field name as field identifier and not only a field number. This makes easier setting/getting field values. ie oRow:FieldPut(oRow:FieldPos("my field"), xValue)) becomes oRow:FieldPut("my field", xValue) * contrib/mysql/tsqlbrw.prg ! small changes 2000-11-23 00:10 UTC+0100 jfl (mafact) <jfl@mafact.com> * source/compiler/harbour.c * added missing parenthesis giving a warning error with VC++ 2000-11-23 13:15 UTC-0800 Ron Pinkas <ron@profit-master.com> * source/rtl/idle.c + Added HB_IDLE_RESET() and logic to reset Idle Processing upon such explicit request. ! If reoccuring processing of Idle Blocks is requested, hb_releaseCPU() is execusted upon completion of each cycle. * tests/onidle.prg + Added HB_IDLE_RESET() to demonstrate explicit request for reoccuring processing of Idle Blocks. 2000-11-23 23:11 UTC+0100 jfl (mafact) <jfl@mafact.com> * source/vm/classes.c * corrected hb___msgClsParent( void ) where some pointer was badly deallocated 2000-11-23 11:11 UTC-0800 Ron Pinkas <ron@profit-master.com> * source/rtl/idle.c ! Added Reset Logic to HB_IDLESTATE() 2000-11-23 19:50 UTC+0100 Ryszard Glab <rglab@imid.med.pl> *source/rdd/dbfcdx/dbfcdx1.h *added forward declaration of _CDXTAG structure to compile in some C++ compilers (Watcom C++) 2000-11-23 10:00 UTC-0800 Ron Pinkas <ron@profit-master.com> * source/rtl/idle.c * source/rtl/inkey.c ! Improved granularity of Idle Processing: - GC is called only once per Wait Session. - Single Idle Task is performed for each itteration of hb_idleState() but never more than once per Wait Session. - ReleaseCPU() is guaranteed to be the only code executing for the remainder of every Wait Session. /* Maurilio, Ryszard, Victor, could you please review and comment... */ 2000-11-23 13:32 GMT+1 Maurilio Longo <maurilio.longo@libero.it> * source/rtl/teditor.prg ! fixed K_DEL handling * source/rtl/idle.c ! fixed / changed to release cpu only if there are no pending keys. Works ok under OS/2. Please test under win32 (linux still lacks system call to release cpu). Note: since I can enter hb_IdleState() while waiting a certain amount of time to elapse (ie. Inkey(.1)) I cannot keep calling idle tasks but I have to exit hb_IdleState() every time an idle task has ended its execution. If I have time left to wait I'll reenter hb_IdleState() immediatly (executing next idle task). 2000-11-21 18:35 UTC-0800 Ron Pinkas <ron@profit-master.com> * source/pp/ppcomp.c * Corrected 1 compiler warning. * source/pp/ppcore.c + Added s_bArray support logic to WorkDefine() * source/rtl/idle.c * Revered order of hb_gcCollectAll() and hb_releaseCPU(); 2000-11-21 23:42 UTC-0100 JFL (mafact) <jfl@mafact.com> * source/vm/classes.c * minor modif after the last Stack tests * :EVAL forgot to release one created item * source/vm/eval.c * One possible PHB_ITEM use after stack realloc.. fixed (thkx Antonio) * source/vm/arrayshb.c * One possible PHB_ITEM use after stack realloc.. fixed (thkx Antonio) 2000-11-21 13:40 UTC-0400 David G. Holm <dholm@jsd-llc.com> * source/rtl/idle.c + Added Sleep(0) for 32-bit Windows mode to forfeit the remainder of the current time slice in hb_releaseCPU(). 2000-11-21 08:55 UTC-0800 Ron Pinkas <ron@profit-master.com> * source/pp/ppcomp.c * source/compiler/harbour.c * Corrected compiler warnings. * source/compiler/harbour.slx * Small optimization in handling of s_sLastBlock * tests/tstblock.prg + Added complex early macro test. 2000-11-21 17:42 GMT+1 Maurilio Longo <maurilio.longo@libero.it> * source/rtl/teditor.prg + added ::LoadText() method * source/rtl/memoedit.prg ! fixed small bug with KEYBOARD statement * contrib/mysql/tsqlbrw.prg * little changes. 2000-11-20 23:11 GMT+1 Maurilio Longo <maurilio.longo@libero.it> * source/rtl/tbrowse.prg ! ::PageDown() fixed bug introduced with previous change * ::DispCell() now faster since only one Eval(::aColumns[n]:block) is needed to decide cell type and color instead of three. * contrib/mysql/tsqlbrw.prg * small changes 2000-11-20 17:38 GMT+1 Maurilio Longo <maurilio.longo@libero.it> * source/rtl/tbrowse.prg ! ::aRedraw[] can change its size if header/footer separators are added/removed during object life. ::Configure() can now handle this. ! ::PageDown() could set ::RowPos past ::RowCount. Fixed. * contrib/mysql/tmysql.prg ! fixed ::Skip() error when at eof(). * contrib/mysql/tsqlbrw.prg ! missing ::Configure() call 2000-11-18 11:11 GMT+1 Maurilio Longo <maurilio.longo@libero.it> * source/rtl/tbrowse.prg * drawing headers and footers is not needed if columns on screen don't change, before this change they were redrawn every time first row changed. ! fixed wrong redrawing of TBrowse if a down on last row was issued followed by an horizontal movement requiring an ::Invalidate() * source/rtl/tbcolumns.prg + added missing picture ivar. 2000-11-17 20:50 UTC+0100 Ryszard Glab <rglab@imid.med.pl> *source/hvm/macro.c * fixed initialization of 'status' structure member that caused random 'undefined function' error messages 2000-11-17 16:40 GMT+1 Maurilio Longo <maurilio.longo@libero.it> * source/rtl/tbrowse.prg ! fixed redrawing of header and footer separator (it was shorter than needed) 2000-11-16 02:35 UTC-0800 Ron Pinkas <ron@profit-master.com> * source/compiler/harbour.c ! Fixed jump optimization for HB_P_SEQBEGIN and HB_P_SEQEND 2000-11-14 16:10 UTC-0400 David G. Holm <dholm@jsd-llc.com> * source/rtl/gtwin/gtwin.c ! Fix for handling of function keys with no state key modifiers. 2000-11-14 02:35 UTC-0800 Ron Pinkas <ron@profit-master.com> * contrib/dot/pp.prg ! Corrected few pre-processor bugs. ! Corrected DOT multi-line support. * contrib/dot/rp_dot.ch + Added Clipper and Harbour support for GET * source/pp/ppcore.c ! Removed redundant line in md_strAt() whiched caused bug with tanslating within [] bracket expressions. 2000-11-13 16:18 UTC+0800 Brian Hays <bhays@abacuslaw.com> * contrib/rdd_ads/ads1.c + adsOrderInfo: added support for most options + include/ord.ch + 5.3-level SCOPE Commands and DBOI_* constants * include/hbapirdd.h + added note that DBOI_* constants are also in ord.ch * source/rdd/dbcmd.c * dbOrderInfo tweaks * include/hbrddwrk.h * removed stub for hb_waOrderInfo * source/rdd/workarea.c * added default hb_waOrderInfo Currently this throws an error if a non-supported flag is passed NOTE !!! --> Clipper behavior was just to return NIL, but that usually creates harder to trap errors down the road. I will revert this to return NIL later after testing if the group desires 2000-11-13 20:25 UTC+0100 Ryszard Glab <rglab@imid.med.pl> *include/hbexpra.c *source/compiler/expropta.c *source/compiler/harbour.y *source/compiler/harbour.sly *fixed bug when FOR/TO/STEP (expr) is used 2000-11-12 15:20 UTC+0100 Ryszard Glab <rglab@imid.med.pl> *include/hbapirdd.h *include/hbrddwrk.h *source/rdd/dbf1.c *source/rdd/dbfcdx/dbfcdx1.c *contrib/rdd_ads/ads1.c *added typedef for setScope member of virtual table typedef USHORT ( * DBENTRYP_VOS )( AREAP area, LPDBORDSCOPEINFO param ); *source/rdd/rddcpy.c * replaced NULL with 0 *source/vm/asort.c *source/vm/classes.c *source/vm/hvm.c *source/vm/itemapi.c *source/vm/memvars.c *added initialization of items created on the stack 2000-11-11 23:35 UTC-0800 Ron Pinkas <ron@profit-master.com> * contrib/dot/pp.prg ! Corrected few pre-processor bugs. 2000-11-10 22:40 UTC+0100 JFL (mafact) <jfl@mafact.com> * source/vm/classes.c Just a test with hb_parc() wich I recall just after vmPush() to be sure to have a good pointer. if it work, we should have some brain storming about hb_parxx function and the stack ! 2000-11-10 22:50 GMT+1 Maurilio Longo <maurilio.longo@libero.it> * source/rtl/teditor.prg ! error in cursor handling when K_CTRL_PGDN or K_CTRL_END key was pressed. 2000-11-10 11:40 UTC-0800 Ron Pinkas <ron@profit-master.com> * source/compiler/harbour.sly + Added support for early macro expansion of declared symbol for simple macro expression within CodeBlock (Like Clipper). * source/rtl/tgetint.prg ! Corrected creation of bSetGet if uVar == NIL, to avoid compile error: "Code block contains both macro and declared symbol references". 2000-11-09 23:30 GMT -3 (for) Harrier <culik@sl.conex.net> *source/rdd/rddcpy.c *Some fix suggested by Victor 2000-11-09 11:00 UTC-0800 Ron Pinkas <ron@profit-master.com> * source/pp/ppcore.c * Added parameter BOOL bRule to md_strAt() to differentiate between searching a Rule Text or an Expression. /* [...] should be searched within Rule, but _not_ within an Expression. */ 2000-11-09 09:00 UTC-0800 Ron Pinkas <ron@profit-master.com> * source/pp/ppcore.c * Fixed typo in NextName() 2000-11-09 01:10 UTC-0800 Ron Pinkas <ron@profit-master.com> * source/pp/ppcore.c * Fixed STATE_QUOT3 ([]) support in getExpReal() and added STATE_QUOT3 support to NextParm() NextName() and md_strAt() /* Before this fix #define and #translate were activated within [] strings - Fixed! Now strings delimiter conversion should be complete. */ 2000-11-08 24:10 UTC-0800 Ron Pinkas <ron@profit-master.com> * source/compiler/cmdcheck.c * utils/hbpp/hbpp.c + Added missing type case for C++ compilers. * source/compiler/simplex.c * Added 1 missing var reset. 2000-11-08 11:28 UTC+0800 Brian Hays <bhays@abacuslaw.com> * source\vm\arrays.c * added Victor's fix for passing the second parameter to ascan's codeblock. * contrib/rdd_ads/ads1.c * fixed adsSetScope -- SET SCOPE was busted * adsOrderInfo +added support for DBOI_ORDERCOUNT DBOI_KEYCOUNT DBOI_CUSTOM DBOI_POSITION << changed DBOI_RECNO to this! * include/hbapirdd.h TEMPORARILY added extra 5.3 DBOI_* constants * contrib/rdd_ads/adsfunc.c * minor editing * source/rtl/dummy.prg * source/rdd/dbcmd.c * moved dbOrderInfo from dummy.prg to dbcmd.c * fixed ordScope parameter checking * source/rdd/workarea.c * added commented-out OrderInfo; waiting for agreement on how to implement it 2000-11-08 18:25 UTC+0100 Ryszard Glab <rglab@imid.med.pl> *source/vm/macro.c *fixed support for field variables in TYPE() function *tests/dbevalts.prg *tests/newrdd.prg *tests/testbrdb.prg *tests/testlbl.prg *tests/testrpt.prg *tests/tstalias.prg *tests/tstdbi.prg *All file names should be written in lower case NOTE: newrdd.prg still creates file in upper case since it is hardcode somwhere in the RDD code 2000-11-08 15:40 UTC+0100 Ryszard Glab <rglab@imid.med.pl> *include/hbapi.h *include/hbapiitm.h *source/vm/arrays.c *source/vm/codebloc.c *source/vm/garbage.c *source/vm/itemapi.c *source/vm/memvars.c * fixed the order of memory deallocations done in the garbage collector (this will fix many random core dumps/GPF's) * removed unnecessary reference counter inc/dec operations 2000-11-07 22:50 UTC-0800 Ron Pinkas <ron@profit-master.com> * include/hberrors.h + Added: #define HB_COMP_ERR_BLOCK 47 * source/compiler/hbgenerr.c + Added Error: "Code block contains both macro and declared symbol references" * source/compiler/harbour.c * Made public: hb_compLocalGetPos() and hb_compStaticGetPos() * source/compiler/harbour.slx + Added: char * hb_comp_SLX_LastBlock( BOOL bReset ) * source/compiler/harbour.sly + Added logic to support Early Expansions of Macro within CodeBlock unless parenthesized. + tests/tstblock.prg + New test of Early/Late expansion of Macros within CodeBlocks. 2000-11-07 16:25 UTC+0100 Ryszard Glab <rglab@imid.med.pl> *include/hbexpra.c *source/compiler/expropta.c *source/macro/macroa.c *fixed internal _GET_ optimization for macro variables *source/rtl/tgetint.prg *__GET uses macro operator if no initial value is passed and there is no set/get block 2000-11-06 22:10 UTC-0800 Ron Pinkas <ron@profit-master.com> * source/compiler/cmdcheck.c * utils/hbpp/hbpp.c + Added support for complex Command Line #defines * source/pp/ppcore.c * Renamed ParseDefine() to hb_pp_ParseDefine() and made it public. 2000-11-06 22:43 UTC+0100 JFL (mafact) <jfl@mafact.com> * source/vm/classes.c Final check on Function directly pushing item on the stack removing every direct use of stacked PHB_ITEM after .VmPush() or accessing them by hb_stack.pBase + n. 2000-11-05 14:40 UTC-0800 Ron Pinkas <ron@profit-master.com> * source/pp/ppcore.c ! Fixed droped redundant spaces in [] strings, by adding STATE_QUOTE3 to strotrim(). ! Fixed conversion of string delimiters in getExpReal() 2000-11-05 19:52 GMT+1 Maurilio Longo <maurilio.longo@libero.it> * source/vm/hvm.c * I keep getting exceptions during class use due to harbour stack management, so, until all code is checked and made compatible with harbour stack I have increased STACK_INITHB_ITEMS to 2000 (from 100) STACK_EXPANDHB_ITEMS to 200 (20) This is only a temporary workaround. But, at least, I can use harbour for my day to day work :-| This change should not make any difference but to DOS users. 2000-11-05 18:39 GMT+1 Maurilio Longo <maurilio.longo@libero.it> * config/os2/gcc.cf + added support to -DSIMPLEX define required for SimpLex only code added by Ron. The same change should be applied to /linux/gcc as well, but I can't test it now, so I leave to unix users. 2000-11-05 10:00 UTC+0100 JFL (mafact) <jfl@mafact.com> * source/vm/classes.c * strcpy( &cString , ... in place of strcpy( cString, ... :-((( 2000-11-05 10:00 UTC+0100 JFL (mafact) <jfl@mafact.com> * source/vm/classes.c * work around due to the fact HB stack can move from address to address when stack growth. __clsinstsuper() caused GPF 2000-11-04 14:45 UTC-0800 Ron Pinkas <ron@profit-master.com> * include/hbexpra.c * source/pp/pptable.c ! Excluded Ryszard changes using #if[n]def SIMPLEX from SimpLex version. Ryszard code remains intact for Flex version (including 3 reported bugs). * hb_slex.bc + Added -DSIMPLEX when compiling source/pp/pptable.c, source/compiler/expropta.c, and source/macro/macroa.c /* This allow conditional exclusion of Ryszard changes for SimpLex version. */ /* Todo - have to do same in GNU make */ 2000-11-04 11:17 UTC-0800 Ron Pinkas <ron@profit-master.com> * makefile.bc Added missing dependancy of source/rtl/tgetint.prg * source/rtl/tgetint.prg ! Improved __GETA() - No longer uses slow function calls to traverse array. bSetGet much faster because it no longer traverses base array every time bSetGet is evaluated, because final array dimension is now compiled into the bSetGet :-) - Removed no longer needed __GetAValue( * tests/testread.prg + Added multi dimension GET test. 2000-11-04 13:35 UTC+0100 Ryszard Glab <rglab@imid.med.pl> +source/rtl/tgetint.prg *source/rtl/tget.prg *hb_slex.bc *makefile.bc *makefile.vc *source/rtl/Makefile + tgetint.prg a new file with GetNew(), __GET() and __GETA() functions moved here from tget.prg * __GET() and __GETA() both create a set/get codeblock on the fly with no macro compilation and with no memvar variables * the first argument of __GET() have to be passed by a reference if simple variable is used and set/get codeblock is not specified *include/hbapi.h *include/hbapiitm.h * added hb_itemIncRef/hb_itemDecRef declarations * added hb_codeblockIncRef/hb_codeblockDecRef *include/hbrddcdx.h * added a few more comments * added a forward declaration of _CDXTAG structure *source/vm/codebloc.c *source/vm/itemapi.c *source/vm/memvars.c * fixed reference counting for detached local variables (This should cure many random core dumps/GPFs) *source/compiler/harbour.l *source/compiler/harbour.y *removed the latest Ron's changes *source/compiler/expropta.c *source/macro/macroa.c *include/hbexpra.c * added support for internal _GET_ -> __GET/__GETA translation NOTE: The variable name passed to __GETA can be buggy in some cases, for example: @ 0,0 GET var(other[ i ]):name[ i, 1 ] will pass "var(other" as a variable name (Clipper and Harbour bug) - the correct behaviour will require some more work - there is no simple workaround for this currently *source/pp/pptable.c * removed a hard-coded set/get codeblock from _GET_() arguments list - it is created in __GET/__GETA now NOTE: This is how Clipper works (no variable names conflicts) This will break current Simplex implementation !!! 2000-11-03 16:05 UTC-0800 Ron Pinkas <ron@profit-master.com> * source/pp/pptable.c * Changed {|u| to {|_1| and := u to := _1 in bSetGet of _GET_(...) to avoid unexpected result with @ X,Y GET u 2000-11-03 15:50 UTC-0800 Ron Pinkas <ron@profit-master.com> * source/compiler/harbour.sly + Added rule to accept Get and GetA as FunCall * source/compiler/harbour.l + Added support for pseudo function _GET_() * source/compiler/harbour.y + Added _GET_(...) => __GET(...)/__GETA(...) logic from harbour.sly * source/macro/macro.slx * Corrected YY_DECL #define (Thanks John) * source/rtl/tget.prg * include/hbextern.ch - Removed no longer needed _GET_() 2000-11-03 22:30 UTC+0100 (for) Charles,Kwon <jfl@mafact.com> * source/lang/msgko.c Charles,Kwon update as requested ... 2000-11-02 20:35 UTC-0800 Ron Pinkas <ron@profit-master.com> * contrib/dot/pp.prg ! Corrected minor bug with [] string delimiters. * contrib/dot/rp_dot.ch + Added rule for EXIT 2000-11-02 15:45 UTC-0800 Ron Pinkas <ron@profit-master.com> * source/rtl/tget.prg * include/hbextern.ch + Re-added _GET_() until support of __GET() and __GETA() added to harbour.y 2000-11-02 15:20 UTC-0800 Ron Pinkas <ron@profit-master.com> * source/compiler/harbour.sly + Added support for extended parameters to __GET() and __GETA() ! Corrected 2nd parameter of __GETA() to reflect only the Base Array Name. * source/rtl/tget.prg ! Added support for :SubScript in __GETA() * include/hbextern.ch - Removed _GET_ + Added __GETA 2000-11-02 19:20 GMT -3 Luiz Rafael Culik <culik@sl.conex.net> *doc/en/tbrowse.txt *added missing CVS ID *doc/en/terminal.txt *Fixed typo on MAXROW() doc *doc/en/rddord.txt *Removed 5 dumb lines *doc/en/idle.txt doc/en/garbage.txt *Changes // coments to /* */ *utils/hbdoc/rtf.prg utils/hbdoc/genrtf.prg utils/hbdoc/hbdoc.prg *Small Changes *utils/hbdoc/genrtf.prg utils/hbdoc/genrtf.prg *Small Fix to work with $CLASSDOC$ style headers *tests/testbrw.prg *small fixes 2000-11-02 00:10 GMT -3 Luiz Rafael Culik <culik@sl.conex.net> *doc/en/tbrowse.txt *Small changes *doc/en/terminal.txt +Row(),COL(),PROW(),PCOL() documentes *doc/en/rddord.txt *small changes *doc/en/rddmisc.txt *Fixed an typo on AFields Doc *doc/en/rddsdb.txt *Small fix on dbCreate() doc *utils/hbdoc/rtf.prg utils/hbdoc/genrtf.prg utils/hbdoc/hbdoc.prg *Small Changes 2000-11-01 17:25 UTC-0800 Ron Pinkas <ron@profit-master.com> * source/compiler/harbour.sly ! Optimized _GET_ support. + Added support for GET of ObjectData and ObjectData ArrayIndex. * source/rtl/tget.prg + Added method ParsePict() and logic to support dynamic modification of the picture by altering :Picture as in Clipper. * tests/testread.prg + Added line to demonstrate GET of ObjectData and dynamic modification of a PICTURE clause. 2000-11-01 15:00 UTC+0800 Brian Hays <bhays@abacuslaw.com> * contrib/rdd_ads/ads1.c * contrib/rdd_ads/rddads.h * include/hbrddcdx.h * include/hbrdddbf.h * include/hbrdddel.h * include/hbrddsdf.h * include/hbrddwrk.h * source/rdd/dbcmd.c * source/rdd/dbf1.c * source/rdd/delim1.c * source/rdd/sdf1.c * source/rdd/dbfcdx/dbfcdx1.c * source/rdd/dbfntx/dbfntx1.c * Global replaces to fix RecAll/Recall and ReadOnly/Readonly inconsistencies. RDD AUTHORS !!!! This may break your code! I did several tests and all seems fine. 2000-11-01 04:25 UTC-0800 Ron Pinkas <ron@profit-master.com> * source/compiler/harbour.slx + Added support for pseudo function _GET_(...) * source/compiler/harbour.sly + Added support for pseudo function _GET_(...) to be converted into appropriate __GET(...) or __GETA(...) * source/rtl/tget.prg + Added __GETA() to correctly support early binding of Array Element Index of GET * tests/testread.prg + Added code to test correct (early) binding of Array Element Index of GET 2000-10-31 20:56 GMT+1 JFL (Mafact) <jfl@mafact.com> * source/vm/classes.c * Bug correction where __OBJHASMSG() returned True when no msg exist in some case 2000-10-30 18:51 GMT+2 Maurilio Longo <maurilio.longo@libero.it> * contrib/mysql/* * little changes chasing a bug :-| 2000-10-27 18:05 GMT+2 Maurilio Longo <maurilio.longo@libero.it> * contrib/mysql/tmysql.prg * contrib/mysql/tsqlbrw.prg * changes / fixes. 2000-10-27 08:50 UTC-0800 Ron Pinkas <ron@profit-master.com> * source/compiler/genc.c * source/compiler/genhrb.c * source/compiler/genjava.c * source/compiler/genobj32.c * source/compiler/harbour.c * source/compiler/harbour.l * source/compiler/harbour.slx * source/compiler/harbour.sly * source/compiler/harbour.y - Removed License Exception from core compiler files that are not part of HVM or HRL /* Dave, could you please verify this is correct. */ 2000-10-27 10:40 UTC+0100 Ryszard Glab <rglab@imid.med.pl> *include/hbrddcdx.h *some comments added *source/rdd/dbfcdx/dbfcdx1.c * result of macro evaluation (hb_macroRun()) has to be popped from the stack * added some comments 2000-10-26 22:10 GMT -3 Luiz Rafael Culik <culik@sl.conex.net> *Changelog renamed to ChangeLog.009 and started an new one *doc/genhtm.rsp +Tbrowse.txt added +doc/en/tbrowse.txt *Document for tbrowse class. please note this is still in progress *source/rtl/tbrowse.prg +Clipper 5.3 applykey() and setkey() methods added *test/testbrw.prg *Small changes to allow the use of applykey() method if is compiled with HB_COMPAT_C53 *utils/hbdoc/genhtm.prg utils/hbdoc/genrtf.prg utils/hbdoc/html.prg utils/hbdoc/rtf.prg *Small changes when the $CLASSDOC$ is used for class documenting 2000-10-26 01:08 UTC+0800 Brian Hays <bhays@abacuslaw.com> * source/rdd/dbcmd.c * fixed these functions to accept 0 or NIL to access current order ordKey() ordFor() ordBagName() ordName() ordNumber() 2000-10-25 23:55 UTC+0800 Brian Hays <bhays@abacuslaw.com> * source/rdd/dbcmd.c * * contrib/rdd_ads/ads1.c * fixed skip ( >1 or < -1 ) * fixed dbCreate dupe alias error and memory leaks * contrib/rdd_ads/doc/en/readme.txt * added Maximum Tables Configuration info * workarea.c * fixed hb_waSkipFilter to limit lToSkip to 1 when passed to SkipRaw * doc\en\rdddb.txt * fixed dbCreate() 4th parameter docs 2000-10-25 15:00 UTC-0400 David G. Holm <dholm@jsd-llc.com> * source/pp/ppcore.c ! Neither Cygwin nor IBM VAC++ supports sys_errlist. 2000-10-25 13:45 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> * source/pp/ppcore.c * fixed problem, reported by John Skelton * utils/hbpp/hbpp.c * it was broken, table of predefined commands wasn't set. 2000-10-23 23:29 GMT+2 Maurilio Longo <maurilio.longo@libero.it> * contrib/mysql/*.prg * changes / fixes as needed :-) * include/hbdbf.h + added #pragma pack() for GCC under OS/2 2000-10-23 14:00 UTC-0400 David G. Holm <dholm@jsd-llc.com> * include/hbver.h * Bumped revision code to "i" and date to 2000-10-23 in preparation for another interim release. 2000-10-23 18:15 GMT+2 Maurilio Longo <maurilio.longo@libero.it> * source/rtl/teditor.prg + added KeyboardHook() and IdleHook() methods. * contrib/mysql/tsqlbrw.prg + little changes. 2000-10-22 09:05 UTC+0800 Ron Pinkas <ron@profit-master.com> * source/compiler/simplex.c ! Corrrected bug reported by Luiz regarding menuto.prg * source/compiler/harbour.slx ! Corrected 1 debug trace message. * contrib/dot/pp.prg ! Corrected "Unbalanced '{'" warning reported by John. ! Corrected 2 typos in variable names reported by John. 2000-10-21 23:02 GMT+2 Maurilio Longo <maurilio.longo@libero.it> * source/vm/hvm.c + Added an exception handler to be able to print a full harbour level stack trace upon abnormal program termination. This is OS/2 only. * source/rtl/gtos2/gtos2.c ! Little change on extended chars handling. Should make no difference. * include/hbdefs.h * changed to have OS/2 exception management defines included. 2000-10-20 00:30 UTC+0800 Ron Pinkas <ron@profit-master.com> * contrib/dot/pp.prg * Forced uppercase and trim of restricted words. 2000-10-19 23:15 UTC+0800 Ron Pinkas <ron@profit-master.com> * contrib/dot/pp.prg * Minor corrections. 2000-10-19 22:00 UTC+0800 Ron Pinkas <ron@profit-master.com> * contrib/dot/pp.prg ! Fixed checking of stoppers for #XCOMMAND/#XTRANSLATE /* No longer known issues - I think it's ready for serious testing ;-) */ 2000-10-19 19:40 UTC+0800 Ron Pinkas <ron@profit-master.com> * contrib/dot/pp.prg ! Added logic to support multi-word stoppers needed by multi-word restricted list, like [ <lClick: ON CLICK, ON LEFT CLICK> <uLClick> ] /* Only 1 known error remains in processing of fwh/samples/fwbrow.prg */ * include/hbclass.ch * Temprarily removed \ preceding < of not existing match markers, in nested # directive in result. /* Need to be readded once PP is fixed. */ 2000-10-19 16:25 UTC-0400 David G. Holm <dholm@jsd-llc.com> * source/rtl/gtwin.gtwin.c ! Fixed bug in if test for discarding accent key strokes. 2000-10-19 11:00 UTC+0800 Ron Pinkas <ron@profit-master.com> * contrib/dot/pp.prg ! Corrected bug with #else 2000-10-19 10:35 UTC+0800 Ron Pinkas <ron@profit-master.com> * contrib/dot/pp.prg ! Corrected bug with nested #if... ! Corrected handling of EOF. /* 2 minor bugs in PP of fwh/samples/fwbrow found, and still pending. */ 2000-10-19 01:10 UTC+0800 Ron Pinkas <ron@profit-master.com> * contrib/dot/pp.prg * Corrected few errors in matching logic, and 1 error in compilation logic. /* Tested to correctly pre-process FiveWin code, sample used: FWBrow.prg which uses many of the FiveWin classes. */ 2000-10-18 01:30 UTC+0800 Ron Pinkas <ron@profit-master.com> * contrib/dot/pp.prg ! More corrections and refinments in pre-processing * Improved handling of command line parameters (no longer requires -P, -CCH doesn't require -U) ! Corrected handling of file extension. * include/hbclass.ch * Corrected <MethodName> to \<MethodName> when result marker not a match marker. * Corrected <params,...> to <param> (result marker used match marker format). 2000-10-17 21:15 UTC+0200 JFL (mafact) <jfl@mafact.com> * include/hbclass.ch * Minor typo's corrected as John's indication 2000-10-17 11:35 UTC+0800 Ron Pinkas <ron@profit-master.com> * contrib/dot/pp.prg ! Fixed few more associations within NextExp() + Added logic to auto create vars refernced in command line. /* Now the DOT prompt is much more functional, in both Clipper and Harbour. */ 2000-10-17 18:21 GMT+2 Maurilio Longo <maurilio.longo@libero.it> * source/rtl/tbrowse.prg ! ::DispCell() was using Lef(Str(xValue)) when xValue was a Numeric one, this is wrong since ends up showing nothing if column width is less than number width (10 for Str()) * contrib/mysql/tmysql.prg * contrib/mysql/tsqlbrw.prg ! various fixes and changes. 2000-10-17 11:10 UTC+0100 Ryszard Glab <rglab@imid.med.pl> *source/vm/codeblock.c * PRIVATE variables created during a codeblock evaluation have the scope of EVAL function (they are not visible after an evaluation) 2000-10-17 00:55 UTC+0800 Ron Pinkas <ron@profit-master.com> * contrib/dot ! contrib/dot/pp.prg ! Fixed bug with processing of #include within #ifdef ! Fixed handling of unterminated strings crossing file read buffer boundaries. ! Fixed association of := and -> within NextExp() /* I'm now able to PP my largest prg without any difference from Clipper (other then minor spacing differences). */ 2000-10-16 20:22 GMT+1 Viktor Szakats <vector@matavnet.hu> * source/rtl/run.c ! __RUN() fixed. 2000-10-16 04:10 UTC+0800 Ron Pinkas <ron@profit-master.com> + contrib/dot + contrib/dot/pp.prg + contrib/dot/rp_dot.prg /* 1st. version of a self contained Clipper/Harbour Pre-Processor and a "DOT" prompt environment, written in the Clipper language. */ 2000-10-15 14:25 UTC+0100 Ryszard Glab <rglab@imid.med.pl> *source/compiler/harbour.l *source/macro/macro.l *fixed some minor bugs *source/rdd/rddcpy.c *changed some NULL to 0 to stop warnings in GCC *source/rdd/dbfcdx/dbfcdx1.c *fixed handling of memo free blocks *fixed some warnings when compiled with GCC 2000-10-15 12:45 UTC+0800 Brian Hays <bhays@abacuslaw.com> * source/rdd/dbcmd.c * fixed ordKey (and therefore IndexKey() ) to accept a NIL parameter * contrib/rdd_ads/ads1.c * Changed SetFilter to see if the server can evaluate the filter. If not, we don't pass it to the server and let the super level filter the records locally. This means UDFs and public memvar references will still work, although you lose the benefits of having a remote server when doing this. * contrib/rdd_ads/doc/en/readme.txt + Added Compliance section ALL USERS NOTICE: ACE will always automatically open a structural index (with the same name as the data file). There is no way to turn this feature off. 2000-10-13 11:50 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbcmd.c * source/rdd/dbfcdx/dbfcdx1.c * include/hbrddcdx.h * fixed some warnings, added few HB_TRACE_ 2000-10-13 0:33 UTC+0800 Brian Hays <bhays@abacuslaw.com> * source/rdd/dbcmd.c fixed ORDKEY to accept 0 as a parameter (to get current index's key) * contrib/rdd_ads/ads1.c * added to adsSkip() a check for skip -1 from EOF. ADS behavior is to go to TOP if EOF had been reached by GO LASTREC()+1. Forced to Go Bottom instead, to stay compatible with standard behavior. * source/rdd/workarea.c * added a TODO note to review questionable code in hb_waSkipFilter 2000-10-12 23:50 UTC-0400 David G. Holm <dholm@jsd-llc.com> * include/hbver.h % Bumped the revision code to "h" and the date to 2000-10-12 for an interim build with the latest ADS and DBFCDX fixes. 2000-10-12 20:30 GMT +0200 JFL (mafact) <jfl@mafact.com> * source/rdd/dbfcdx/dbfcdx1.c * added casts, posted by John Skelton 2000-10-12 10:30 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/rddcpy.c * added casts, posted by John Skelton * contrib/rdd_ads/ads1.c * minor bug fixed in adsSeek() 2000-10-11 3:58 UTC+0800 Brian Hays <bhays@abacuslaw.com> Re-posting changes that had a CVS error yesterday... * contrib/rdd_ads/ads1.c * fixed gpf when getting values at Eof * Fixed Bof problem in child areas. Alexander: I had to remove the recently added adsBof() because we have repositioned to record 1 when at Bof, so ADS no longer thinks it's Bof. The adsEof does fix the other problem, though. All my tests pass now, so I think we're finally done with Bof issues ;-) 2000-10-11 13:40 GMT -0300 Horacio D. Roldan <horacioroldan@usa.net> * source/rdd/dbfcdx/dbfcdx1.c Fixed a bug in ordCreate that corrupted the dbf 2000-10-10 21:15 GMT -3 Luiz Rafael Culik <culik@sl.conex.net> *source/rtl/dummy.prg Removed __DBAPP() function 2000-10-10 16:35 UTC-0400 David G. Holm <dholm@jsd-llc.com> * include/hbver.h % Bumped the revision code to "g" and the date to 2000-10-10 for an interim build with the latest ADS RDD enhancements. 2000-10-10 16:30 UTC-0400 David G. Holm <dholm@jsd-llc.com> * include/hberrors.h * source/compiler/hbgenerr.c * source/pp/pplib.c * source/util/hbpp/hbpp.c % Changed the two char * parameters for hb_compGenError() and hb_compGenWarning() to const char *. * source/pp/ppcore.c % Removed the artificial nested include file limit test and replaced it with a test for errno == EMFILE after returning from the OpenInclude() function, which starts by clearing errno and does not try to search the path if the standard open attempt results in errno being set to EMFILE. % Added displaying the C RTL error message corresponding to errno if OpenInclude() returns an error that isn't EMFILE. 2000-10-10 16:12 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> *contrib/rdd_ads/ads1.c * fixed bug with creating compound indexes, reported by Antonio Linares 2000-10-10 14:50 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/workarea.c * fixed bug, related to fields handling ( there was a bug report by David Thornley in harbourusers ) 2000-10-10 12:50 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> * contrib/mysql/mysql.c * Fix in sqlConnect() for support of versions > 3.22.00 2000-10-10 10:58 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbfcdx/dbfcdx1.h * added #pragma pack(1) and #pragma pack() for structure alignment with GNU C compiler 2000-10-10 00:37 GMT -0300 Horacio D. Roldan <horacioroldan@usa.net> * source/include/hbrddcdx.h * source/rdd/dbfcdx/dbfcdx1.c + source/rdd/dbfcdx/dbfcdx1.h + source/rdd/dbfcdx/dbfcdx2.h added support for ordlistadd, gotop/bottom/skip/seek. 2000-10-09 22:53 UTC+0200 JFL (mafact) <jfl@mafact.com> * TGET.PRG Small improvement within :Undo() method to allow update of the var (As John Skelton remark) Also, the standart class name is now Get in place of Tget. This is for compatibility with Cl*pper code where oGet:Classname() should return Get and not Tget. To insure full compatibility with other code relying on Tget, I also maintain a TGet Subclass of Get. 2000-10-09 22:15 UTC+0200 JFL (mafact) <jfl@mafact.com> * HBCLASS.CH corrected some tipo where accessName became accesName 2000-10-09 2:01 UTC+0800 Brian Hays <bhays@abacuslaw.com> * contrib/rdd_ads/adsfunc.c * fixed ADSGETRELKEYPOS to work without an index * contrib/rdd_ads/ads1.c * fixed errors with GoTo 0 in adsGoTo + added adsSysName() so rddname() works now * maintained ulRecCount in adsOpen, adsPack and adsGoTo * source/rdd/workarea.c * fixed debug trace of changed parameter name 2000-10-07 21:15 GMT -3 Luiz Rafael Culik <culik@sl.conex.net> *contrib/pdflib/pdfhbdoc.c +code to handle Tables *utils/hdboc/genpfdf1.prg *Uncommented out Table handling code *utils/hdboc/hbdoc.prg *Fixed an small bug *source/rtl/dummy.prg -__DBAPP() and __DBCOPY() functions *doc/funclist.txt *update some function status *contrib/rdd_ads/doc/en/adsfuncs.txt *small formating 2000-10-07 22:16 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> * contrib/rdd_ads/ads1.c * Added methods adsEof() and adsBof() for fixing problem with relations, noted by Brian Hays 2000-10-07 09:50 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbcmd.c * added #include "rddcpy.c" to the end of file. + source/rdd/rddcpy.c + implementation of APPEND FROM and COPY TO by Harrier 2000-10-06 23:00 GMT -3 Luiz Rafael Culik <culik@sl.conex.net> +doc\es\binnum.txt doc\es\browse.txt doc\es\command.txt doc\es\compiler.txt doc\es\datetime.txt doc\es\array.txt doc\es\diskspac.txt doc\es\error.txt doc\es\eval.txt doc\es\garbage.txt doc\es\lang.txt doc\es\memo.txt doc\es\dir.txt doc\es\hb_set.txt *Spanish translations of the docs provided by Alejandro de Garate and Edison Suarez 2000-10-05 16:00 UTC-0400 David G. Holm <dholm@jsd-llc.com> * source/compiler/cmdcheck.c ! Corrected new bug in my earlier "fix" of handling the -g option (I left in the 'break', but should have left in the 'continue'). 2000-10-05 15:00 UTC-0400 David G. Holm <dholm@jsd-llc.com> * source/compiler/cmdcheck.c ! Corrected handling of 'g' option when option lead-in is '-'. 2000-10-03 231:45 UTC+0100 JFL <jfl@mafact.com> * source/compiler/hbpcode.c * uprated kolpas limit counter from 3 to 20 to allow more neested #command to be matched * include/hbclass.ch * Added two compatibility #define allowing somebody to disable either the autoInherit of tObject (HB_CLS_NOTOBJECT) or to not auto initiate logical and Numerical var by default (HB_CLS_NOAUTOINIT) * source/rtl/tclass.prg * Added optional param to addmultidata and aadmulticlsdata to control the autoinit (see previous addons) * source/vm/classes.c * Scoping error when scoped var where used from inline 2000-10-02 13:00 UTC+0800 Ron Pinkas <ron@profit-master.com> * source/compiler/hbpcode.c * Corrected 1 compiler warning. * source/pp/ppcomp.c * Cleaned-up and corrected bug when rules files had an #include directive. + Added CloseInclude() and moved relevant logic into it. * source/pp/ppcore.c - Removed unused s_iIncludes, and hb_pp_nEmptyStrings * utils/hbpp/hbpp.c + Added local hb_pp_nEmptyStrings to hb_pp_Parse() 2000-10-02 12:45 UTC-0400 David G. Holm <dholm@jsd-llc.com> * source/pp/ppcore.c ! The include file limit check now uses hb_comp_files.iFiles instead of the static variable that never got decremented. 2000-10-01 18:25 GMT+2 Maurilio Longo <maurilio.longo@libero.it> *source/rtl/tbrowse.prg ! PageDown() and GoBottom() methods weren't working when number of available record was lower than available display space (::RowCount). ! Presence and need to draw header and/or footers is evaluated during column insertion/deletion calling method Configure(). Method Configure() _has_ to be called when an already added TBColumn object is changed. *tests/testbrw.prg ! Added call to Configure() method tion/deletion calling method Configure(). Method Configure() _has_ to be called when an already added TBColumn object is changed. *tests/testbrw.prg ! Added call to Configure() method 2000-09-30 22:22 GMT+2 Maurilio Longo <maurilio.longo@libero.it> *contrib/mysql/tmysql.prg ! fixes / changes to work with tsqlbrw.prg +contrib/mysql/tsqlbrw.prg * fixes / changes - work in progress. 2000-09-30 09:50 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> * contrib/mysql/mysql.c * minor change for support of Win32 + contrib/mysql/make_b32.bat + contrib/mysql/makefile.bc + makefiles added for Borland C 2000-09-30 13:28 GMT+2 Maurilio Longo <maurilio.longo@libero.it> *source/rtl/tbrowse.prg * moved browse init to New() method. TBrowseNew() function is now empty and simply returns TBrowse():New(...) ! Browser wasn't able to handle columns wider than available display area. Now columns are resized (oCol:Width) if it is necessary to do so. ! PanLeft() wasn't working. 2000-09-29 00:07 UTC+0800 Brian Hays <bhays@abacuslaw.com> * contrib/rdd_ads/ads1.c * source/rdd/dbcmd.c * source/rtl/dummy.prg * implemented ordKeyNo() * fixed checkBofEof need to skipfilter without infinite loop * ads1.c line 492 added (int) to clear warning re comparing different types 2000-09-29 09:50 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> * contrib/rdd_ads/ads1.c * contrib/rdd_ads/adsfunc.c * Fixed problem with dbCreate() ( there still remains some others ) * Fixed warnings in adsfunc.c * Fixed bug in adsExecuteSqlDirect() - cursor now is closed before calling of AdsExecuteSqlDirect() + Added functions: adsPrepareSql() adsExecuteSql() 2000-09-28 13:45 UTC-0400 David G. Holm <dholm@jsd-llc.com> * include/hbver.h % Bumped the revision code to "f" and the date to 2000-09-28 for an interim build with the latest ADS RDD enhancements. 2000-09-28 14:20 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> * include/hbapirdd.h * contrib/rdd_ads/rddads.h * contrib/rdd_ads/ads1.c * contrib/rdd_ads/adsfunc.c * Fixed handling of ADT tables + Added implementation of SQL support in ADS RDD ( beginning ) + Added functions: adsConnect() adsCreateSqlStatement() adsExecuteSqlDirect() adsCopyTable() adsConvertTable() 2000-09-27 10:15 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbcmd.c * source/rdd/workarea.c * fixed some bugs in dbSetRelation() and hb_waClearRel() noted by Brian Hays 2000-09-26 15:00 UTC-0400 David G. Holm <dholm@jsd-llc.com> * include/hbver.h % Bumped the revision code to "e" and the date to 2000-09-26 for another interim build with the latest ADS RDD fixes. 2000-09-26 15:05 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbcmd.c * Added new function rddInsertAreaNode() for following using in SQL functions of RDD ADS 2000-09-25 18:05 GMT+2 Maurilio Longo <maurilio.longo@libero.it> *contrib/mysql/tmysql.prg ! fixes / changes to work with tsqlbrw.prg +contrib/mysql/tsqlbrw.prg * fixes / changes - work in progress. 2000-09-24 21:24 UTC+0800 Brian Hays <bhays@abacuslaw.com> * contrib/rdd_ads/ads1.c ! Fixed retrieval of logical fields NOTICE!! before, logical fields returned incorrect values! 2000-09-23 10:10 UTC+0800 Ron Pinkas <ron@profit-master.com> * source/compiler/harbour.l * Removed TODO 4 Char abbreviation (done few weeks back). 2000-09-23 10:00 UTC+0800 Ron Pinkas <ron@profit-master.com> * include/hbclass.ch * Changed AS ... from ALL CAPS to Capitalized, to avoid conflict with FWH #defines, for those not using modified DLL.CH 2000-09-23 15:55 GMT+2 Maurilio Longo <maurilio.longo@libero.it> *contrib/mysql/tmysql.prg ! a couple of little fixes. +contrib/mysql/tsqlbrw.prg + a TBrowser for a query (needs a lot of extra work) *contrib/mysql/makefile + added tsqlbrw.prg to compiled files *source/rtl/tbcolumn.prg * moved column init to New() method. TBColumnNew() function is now empty and simply returns TBColumn():New(...) 2000-09-22 18:27 GMT+2 Maurilio Longo <maurilio.longo@libero.it> *contrib/mysql/tmysql.prg ! a couple of little fixes. 2000-09-21 19:00 GMT -3 Luiz Rafael Culik <culik@sl.conex.net> *utils/hdboc/hbdoc.prg *Fixed an small error reported by SID 2000-09-21 16:30 UTC-0400 David G. Holm <dholm@jsd-llc.com> * include/hbver.h % Bumped the revision code to "d" and the date to 2000-09-21 for another interim build with the latest ADS RDD fixes. * source/rtl/filesys.c ! Corrected the 2000-08-28 22:50 UTC+0100 fix for hb_fsLock() for DJGPP to exclude all other GNUC builds. 2000-09-21 16:30 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> * source/pp/pptable.c * changed rule for setrelations .... scoped 2000-09-21 15:23 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/workarea.c * source/rdd/dbcmd.c * Relations now working for RDD ADS again 2000-09-21 12:59 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/workarea.c * source/rdd/dbcmd.c * Some bugs fixed related to ordcondset() * contrib/rdd_ads/ads1.c * Conditional indexing implemented 2000-09-21 00:40 UTC+0800 Brian Hays <bhays@abacuslaw.com> * contrib/rdd_ads/ads1.c ! fixed buffer allocation and item assignment in adsOrderListFocus Bug was that a 10-byte tag name came back with an 11th garbage byte 2000-09-19 20:00 GMT -3 Luiz Rafael Culik <culik@sl.conex.net> +contrib/pdflib/pdfhbdoc.c *Wraper functions for PDF generation for HBDOC +contrib/pdflib/pdflib.h *PDflib header file *makefile.bc hb_slex.bc * Added support for PDF generation when -DPDF is used +utils/hdboc/genpfdf1.prg *PDF file generation support *utils/hdboc/hbdoc.prg +Added code to support PDF generation then compiled with -dPDF *contrib/rdd_ads/doc/en/adsfuncs.txt *small formating 2000-09-20 23:36 UTC+0200 JFL (mafact) <jfl@mafact.com> * harbour/include/hbsetup.ch + added a #define HB_CLS_ENFORCERO to enable full ReadOnly test on DATA * harbour/source/pp/ppcore.c minor reformating whith some comment and Cygwin * harbour/source/vm/classes.c + added a #define HB_CLS_ENFORCERO to enable full ReadOnly test on DATA (Now disabled by default to extend compatibility with TopClass and VO) (will be completed later) 2000-09-20 15:30 UTC-0400 David G. Holm <dholm@jsd-llc.com> * include/hbver.h * Bumped revision to "c" and date to 2000-09-20 for an interim release with the ADS RDD indexing fix. 2000-09-20 11:20 UTC+0800 Brian Hays <bhays@abacuslaw.com> * source\rdd\dbf1.c !removed reference to unknown pItem in HB_TRACE for hb_dbfUnlockAllRecords * doc/en/garbage.txt * minor grammar fixes * source/rdd/workarea.c ! added Item lock/unlock to SetFilter/Clearfilter so GC won't de-allocate the codeblock (fixes error at close of app for a bad pointer in hb_xfree) 2000-09-20 13:12 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/workarea.c * include/hbrddwrk.h * added hb_waOrderCondition() function ( from old RDD ) - now indexing works in RDD ADS again 2000-09-20 10:40 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> * source/pp/ppcore.c * fixed bug, reported by J. Lefebvre 2000-09-19 10:40 UTC+0800 Ron Pinkas <ron@profit-master.com> * source/pp/ppcore.c ! Corrected JFL previous change, which commented a fix that solved problem with code like "@&Row,...". This fix will address both the #xtranslate @@ => ... as well as the previous needed fix. 2000-09-20 00:52 UTC+0200 JFL (mafact) <jfl@mafact.com> * source/pp/ppcore.c corrected #command @@ => ... #xtranslate = name{ ... * include/hbclass.ch suppresses the (now) unneeded #xtranslate := name{ ... as = name{... is working for the two case 2000-09-19 10:40 UTC+0800 Ron Pinkas <ron@profit-master.com> * config/dos/djgpp.cf + Added support for $(L_USR) 2000-09-19 10:30 UTC+0800 Ron Pinkas <ron@profit-master.com> * config/c.cf * source/compiler/makefile. * Modified to use harbour.sly rather than harbour.y when using SimpLex. 2000-09-18 09:30 UTC+0800 Ron Pinkas <ron@profit-master.com> * source/compiler/harbour.slx * source/compiler/harbour.sly * source/compiler/harbour.y * source/compiler/simplex.c * source/macro/macro.slx ! Corrected compiler warnings. 2000-09-17 23:45 UTC+0800 Ron Pinkas <ron@profit-master.com> * source/compiler/harbour.l ! Corrected definition of _PROCREQ_() * tests/testdecl.prg - Removed 1 line of unspported syntax. * source/macro/macro.slx * source/compiler/harbour.slx % Greatly optimized, much simplified, smaller, and faster. ! Converted all "non conventional" macros to functions. * source/compiler/simplex.c % Greatly optimized, now as fast as Flex based lexer. ! Converted all "non conventional" macros to functions. + Added support for predefind match pattern, {WS} (White Space), in KEYWORDS and WORDS. + source/compiler/harbour.sly * Same as harbour.y, excluding un-needed support for reserved words used as identifiers. /* Harbour.slx works with either harbour.y or harbour.sly, but harbour.sly creates smaller harbour.exe. */ * hb_slex.bc * Modified to use harbour.sly 2000-09-15 17:45 UTC-0400 David G. Holm <dholm@jsd-llc.com> * include/hbver.h * Bumped revision to "b" and date to 2000-09-15 for another interim release. * source/vm/Makefile % If compiling for the w32 hb_architecture, then compile both the mainstd.c and mainwin.c modules instead of main.c, so that the same library can be used to make both console and windows applications. 2000-09-14 10:23 UTC+0800 Brian Hays <bhays@abacuslaw.com> * contrib/rdd_ads/ads1.c * adsSkip(): fix for dbskip(0) * contrib/rdd_ads/doc/en/readme.txt * formatting tweaks + contrib/rdd_ads/doc/en/adsfuncs.txt + docs for exposed functions in adsfunc.c (work in progress)) * source/rdd/workarea.c * fixed some spelling in TRACE calls 2000-09-13 16:45 UTC-0400 David G. Holm <dholm@jsd-llc.com> * include/hbver.h * Bumped revision to "a" and date to 2000-09-13 for an interim release. * contrib/rdd_ads/ads1.c ! Added #include <ctype.h> to avoid warning for use of tolower() in strcmpNoCase(). * source/rtl/filesys.c ! Excluded __RSXNT__ from the DOS-centric lock/unlock #elif block in hb_fsLock() 2000-09-11 13:45 UTC-0400 David G. Holm <dholm@jsd-llc.com> * source/rdd/dbf1.c ! Modified hb_dbfGetValue() and hb_dbfPutValue() to use double conversions instead of long conversions when the length of a numeric database field without any decimal places exceeds 9. 2000-09-08 03:50 UTC+0800 Ron Pinkas <ron@profit-master.com> * config/dos/djgpp.cf + Added support for $(C_USER) and $(L_USER) /* Could someone please verify, that this is the correct way. */ * source/compiler/simplex.c + Added: #define SUSPEND_WORDS 8192, and minor support logic. * source/compiler/harbour.slx ! Removed 14 #defines, and 14 cases from hb_lex_CustomAction(), by taking advantage of SUSPEND_WORDS. * source/macro/macro.slx - Removed 1 unused variable. 2000-09-07 00:10 UTC+0800 Ron Pinkas <ron@profit-master.com> * include/hbcomp.h * source/compiler/harbour.c + Added: char hb_comp_cCastType * source/compiler/harbour.y ! Optimized AsType + Added: support for type casting like: Var := FunCal() AS ... and, return Var AS ... /* Todo: add support for Array[n] := ... AS ..., and oVar:Data := ... AS ... */ * source/compiler/hbpcode.c + Added type casting support to: HB_P_POPLOCAL HB_P_POPLOCALNEAR HB_P_POPMEMVAR HB_P_POPSTATIC HB_P_RETVALUE * include/hbclass.ch + Added type casting to resolve Strong Type warnings: return s_oClass:Instance() AS CLASS _CLASS_NAME_ local Self AS CLASS <ClassName> := QSelf() AS CLASS <ClassName> /* Note: Strong Type code, and Class code, should compile with upto -w4, without [invalid] Strong Type warnings. */ 2000-09-06 12:40 UTC+0800 Ron Pinkas <ron@profit-master.com> * source/compiler/harbour.l + Added AS CHAR[ACTER] for compatibility with FW (FW can't use #translate AS CHAR => AS STRING, because FW also uses AS CHAR in DLL calls where AS CHAR refers to *native* char type). ! Correted AS ... to allow multiple space/tab, and support abbreviations. * source/compiler/simplex.c + Added KEYWORD_ACTION() and WORD_ACTION() macros. * source/macro/macro.slx ! Optimized numerous HB_*_ID to a single HB_IDENTIFIER. * source/compiler/harbour.slx + Added AS CHAR[ACTER] for compatibility with FW (FW can't use #translate AS CHAR => AS STRING, because FW also uses AS CHAR in DLL calls where AS CHAR refers to *native* char type. ! Optimized numerous HB_*_ID to a single HB_IDENTIFIER. * include/hbclass.ch * Changed _<AssignName> to <AssignName> in HB_MEMBER directives. + Added AS CLASS <ClassName> to LOCAL Self := QSelf() * tests/testdecl.prg + Added code to demonstrate missing support for class memeber RT type protection (AS ...) 2000-09-06 04:33 GMT+1 Antonio Linares <alinares@fivetech.com> * include/hbclass.ch <_MethodName> changed into _<MethodName> 2000-09-05 15:30 UTC+0800 Ron Pinkas <ron@profit-master.com> * include/hbclass.ch ! Changed AS STRING to AS String, AS NUMERIC to AS Numeric, AS OBJECT to AS Object to avoid collision with FW #defines in dll.ch. 2000-09-05 14:45 UTC-0400 David G. Holm <dholm@jsd-llc.com> * config/dos/bcc16.cf + Include L_USR in LDFLAGS, so that the user flags will be placed into the temporary link scripts. * config/dos/global.cf + Added support for HB_COMPILER being set to "emx". * config/os2/global.cf + Added RM support option for "del /q" when not running under OS/2, which uses "del /n". 2000-09-05 21:30 GMT+1 Bruno Cantero <bruno@issnet.net> * contrib/rdd_ads/ads1.c * Bug fixed! 2000-09-05 14:47 GMT+1 Bruno Cantero <bruno@issnet.net> * contrib/rdd_ads/ads1.c * contrib/rdd_ads/rddads.h * Minor correction. 2000-09-02 13:10 UTC+0800 Ron Pinkas <ron@profit-master.com> * include/hbclass.ch ! Changed @MEthod() to @MethodName() to avoid possible conflicts with #translate METHO()... 2000-09-02 12:45 UTC+0800 Ron Pinkas <ron@profit-master.com> * source/pp/ppcore.c + Added new kind of Result Marker - OMIT, singinfied as <-Identifier-> /* This allows for custom code based on existence of optional clause, when the value of the clause itself is not needed */ * include/hbclass.ch * Took advantage of new Omit Result Marker, changed [<.ctor.> AS CLASS _CLASS_NAME_] to [<-ctor-> AS CLASS _CLASS_NAME_] * source/compiler/harbour.y - Removed rules for DummyTrue, used in _HB_MEMBER (no longer needed) 2000-09-02 09:00 UTC+0800 Ron Pinkas <ron@profit-master.com> * hb_slex.bc * Synchronized with makefile.bc * include/hbclass.ch + Added: [AS <type>] optional clause to all Methods/Messages syntax. + Added directives to generate class declaration from same class creation code. * include/hbcomp.h * source/compiler/harbour.c + Added: char hb_comp_cDataListType; * source/compiler/harbour.l + Added support for new _HB_CLASS and _HB_MEMBER alternate class declaration syntax. * source/macro/macro.slx ! Moved .T., .Y., .F., and, .N. from self contained words to words. * source/compiler/harbour.slx ! Moved .T., .Y., .F., and, .N. from self contained words to words. + Added support for new _HB_CLASS and _HB_MEMBER alternate class declaration syntax. * source/compiler/harbour.y ! Improved definition of formal and optional paramter lists. + Added support for alternate class declaration syntax: _HB_CLASS ClassName _HB_MEMBER { [AS ...] Var1, VarN } _HB_MEMBER MethodName( [ [OPTIONAL] [@]FormalParam [AS ...] | @FunPointer() ] ) [ AS ... ] /* This syntax allows the class declaration to be on multiple seperated lines (needed to allow utilization of class creation code.) Tokens _HB_CLASS & _HB_MEMBER are not final, until some discussion with Ryszard. */ * source/compiler/hbpcode.c * Completed classes strong type support for adaptive type variable. * source/rtl/tlabel.prg * source/rtl/treport.prg ! Corrected typos: AS {} -> INIT {} AS ARRAY, AS .T. -> INIT .T. AS LOGICAL etc.. * tests/testdecl.prg * Changed to demonstrate class creation used as declaration. * utils/hbtest/hbtest.prg * Changed DBFNTX -> DBFCDX (was not working because DBFNTX is disabled. 2000-09-02 11:00 GMT+2 Maurilio Longo <maurilio.longo@libero.it> * source/rtl/tbrowse.prg ! fixed right most header, footer and column painting. In particular if (space available - space occupied by columns) gives an odd number a char was left "dirty" on screen. I don't know if column separators suffer from same bug. 2000-09-02 10:19 GMT+1 Bruno Cantero <bruno@issnet.net> * include/hbset.h * source/rtl/set.c * source/rdd/dbfcdx/dbfcdx1.c ! Changed SET_AUTOSHARE, now accept three values: 0: AUTOSHARE disabled. 1: AUTOSHARE enabled. 2: force exclusive mode. 2000-09-02 09:37 GMT+1 Bruno Cantero <bruno@issnet.net> * contrib/rdd_ads/rddads.h * contrib/rdd_ads/ads1.c * contrib/rdd_ads/adsfunc.c * Now RDD ADS compile (not tested). 2000-09-02 07:56 GMT+1 Bruno Cantero <bruno@issnet.net> * source/rtl/gtcgi/gtcgi.c + Added ( BYTE * ) casting to hb_gt_AdjustPos() parameter calls. + Added ( char * ) casting to out_stdout() parameter calls. 2000-09-02 00:08 GMT+1 Bruno Cantero <bruno@issnet.net> + include/hbdbf.h + include/hbrddcdx.h * makefile.bc * makefile.vc * source/rdd/dbfcdx/Makefile * source/rdd/dbfcdx/dbfcdx1.c * source/rdd/rddsys.prg + Added DBFCDX files to makefiles and reactivate it. By now is the default driver (rddsys.prg). * include/hbrdddbf.h * source/rdd/dbcmd.c * source/rdd/workarea.c * source/rdd/hbdbsort.c * Fixed some warnings. * tests/newrdd.prg + Added CVS header Id. * tests/testcdx.prg * Test FPT memos. 2000-09-01 13:55 GMT+2 Maurilio Longo <maurilio.longo@libero.it> * source/rtl/tbrowse.prg ! fixed hilighting and dehilighting of cells if field is logical; that is logical cells value is centered on cell width so cursor position needs to be centered too. 2000-08-30 00:19 UTC+0100 Viktor Szakats * makefile.vc * makefile.bc + GTCGI added to the make process. 2000-08-30 10:48 GMT+1 Bruno Cantero <bruno@issnet.net> * source/rdd/dbf1.c * Fixed two warning. 2000-08-30 10:40 GMT+1 Bruno Cantero <bruno@issnet.net> * include/hbrdddbf.h * source/rdd/dbcmd.c * source/rdd/dbf1.c * tests/newrdd.prg + Added missing memo functions. 2000-08-28 22:50 UTC+0100 Viktor Szakats * config/dos/global.cf * config/linux/global.cf * config/os2/global.cf * config/w32/global.cf + GTCGI added to the default list of GT drivers built for all platforms. * bin/bld.sh ! == changed to = * include/Makefile + Added new header files. * source/compiler/hbusage.c ! Made even more CA-Cl*pper like. * source/rdd/dbsort.prg % Minor opt. * source/rtl/filesys.c ! Fixed hb_fsLock() for DJGPP * utils/hbtest/rt_main.ch ! Fixed pp macro for FlagShip * source/rdd/dbstrux.prg * source/rtl/objfunc.prg * source/rtl/tobject.prg * Formatting. * source/rtl/console.c * Fix in one comment. * source/rtl/inkey.c % One variable optimized out. * Minor formatting. * source/rtl/run.c % Minor opt. 2000-08-29 22:00 GMT+1 Bruno Cantero <bruno@issnet.net> * include/hbapirdd.h * Changed WORKAREA structure, 100% Clipper compatible. ! Uncommented disabled RDD methods. + include/hbrddwrk.h + source/rdd/workarea.c + Basic RDD (waNew, waOpen, ...) like Clipper. * source/rdd/dbcmd.c + Added __dbArrange(), dbInfo(), dbFieldInfo(), dbRecordInfo(), dbFileGet() and dbFilePut() functions. ! Removed default RDD functions. * source/rtl/dummy.prg ! Removed __dbArrange(), dbSort(), dbInfo(), dbFieldInfo(), dbRecordInfo(), dbFileGet() and dbFilePut() functions. + include/hbdbsort.h + source/rdd/dbsort.prg + source/rdd/hbdbsort.c + Added dbSort() function. + include/hbrdddbf.h + include/hbrdddel.h + include/hbrddsdf.h * source/rdd/dbf0.prg * source/rdd/dbf1.c * source/rdd/delim0.prg * source/rdd/delim1.c * source/rdd/sdf0.prg * source/rdd/sdf1.c * Changed and added functions, now 100% Clipper compatible. * source/rdd/dbfntx/dbfntx0.prg * Disabled RDD (broken). * source/rdd/Makefile + Added new files. * source/rdd/dbfntx/Makefile * source/rdd/dbfcdx/Makefile * Disabled DBFNTX and DBFCDX RDD's. * makefile.bc * makefile.vc * Disabled DBFNTX and DBFCDX RDD's. + Added new files. + tests/Makefile + tests/newrdd.prg + Test file for new DBF RDD. 2000-08-28 17:00 UTC+0800 Ron Pinkas <ron@profit-master.com> * source/compiler/harbour.y - Removed 1 un-needed hb_comp_szDeclaredFun = NULL * source/compiler/hbpcode.c ! Completed declared parameter checking, for method applied to Adapted Type Variable. 2000-08-28 15:00 UTC+0800 Ron Pinkas <ron@profit-master.com> * include/hbcomp.h + Added: extern void hb_compDeclaredParameterAdd( char * szVarName, BYTE cValueType ); * source/compiler/harbour.y ! Changed hb_compVariableAdd() to hb_compDeclaredParameterAdd() for Declaration Rules. * source/compiler/harbour.c ! Moved logic from hb_compVariableAdd() to new hb_compDeclaredParameterAdd() for "dummy" variables (Declaration Parameters). * source/compiler/hbpcode.c ! Minor corrections. 2000-08-28 12:03 UTC+0800 Brian Hays <bhays@abacuslaw.com> * contrib/rdd_ads/doc/en/readme.txt * small formatting changes * contrib/rdd_ads/adsfunc.c * adsKeyCount: fixed parameter checking to look at ISNIL/ISNUM instead of pcount (had a bug if called adsKeyCount(,,ADS_RESPECTFILTERS)) * adsCustomizeAOF: fixed parameter checks and retrieval of a record# as a long fixed array reference to 0 for first element in C array * doc/en/idle.txt * misc. grammar fixes * doc/en/misc.txt * removed a stray character 2000-08-28 10:35 UTC+0800 Ron Pinkas <ron@profit-master.com> * source/compiler/harbour.c * source/compiler/harbour.y + Added support for DECLARE FunName(...) AS CLASS ClassName + Added support for DECLARE FunName( ... @SomeFun() ... ) - Function Pointer declared parameter. * source/compiler/simplex.c * Corrected some compiler warnings. * source/compiler/harbour.slx * Reenabled support for ID_ON_HOLD. * include/hberror.h + Added: #define HB_COMP_WARN_RETURN_SUSPECT 28 * source/compiler/hbgenerr.c + Added: "4Suspecious return type: \'%s\' expected: \'%s\'" * source/compiler/hbpcode.c + Completed support for Strong Typed variables as declared classes, as well as Adaptive Typed usage with declared classes. * Few other corrections and enhancements. * include/hbclass.ch + Added TClass declaration: DECLARE TClass ; New( cName AS STRING, OPTIONAL SuperParams ) AS CLASS TClass ; Create() AS OBJECT; Instance() AS OBJECT ; AddClsMthds( cName AS STRING, @Method(), nScope AS NUMERIC, n2 AS NUMERIC, n3 AS NUMERIC ); AddMultiClsData( cType AS STRING, uVal, nScope AS NUMERIC, aDatas AS ARRAY OF STRING ); AddMultiData( cType AS STRING, uVal, nScope AS NUMERIC, aDatas AS ARRAY OF STRING ); AddMethod( cName AS STRING, @Method(), nScope AS NUMERIC ); AddInLine( cName AS STRING, bBlock AS CODEBLOCK, nScope AS NUMERIC ); AddVirtual( cName AS STRING ) + Added declaration to s_oClass AS CLASS TClass * tests/testdecl.prg * Minor refinement. 2000-08-27 20:10 UTC+0500 April White (bright.tigra gmail.com) * source/rtl/setkey.c * bug in setkey() - was not adding hotkey to internal list 2000-08-22 21:10 UTC+0800 Ron Pinkas <ron@profit-master.com> * source/compiler/simplex.c * Corrected Reset at <EOF> 2000-08-22 10:40 UTC+0800 Ron Pinkas <ron@profit-master.com> * source/compiler/simplex.c * source/compiler/harbour.slx * source/macro/macro.slx ! Removed un-needed calls to strlen(). 2000-08-21 15:45 UTC+0800 Ron Pinkas <ron@profit-master.com> * source/compiler/simplex.c ! Optimized Keywords and Words search, Lexer is ~5% faster. * source/compiler/harbour.slx * source/macro/macro.slx ! Sorted Keywords and Words, to support optimized search, by simplex. 2000-08-21 15:18 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> *source/rdd/dbcmd.c * fixed bugs, reported by Juergen Baez 2000-08-17 12:18 UTC+0100 Viktor Szakats * include/hbver.h + Version bumped * include/hbcomp.h * source/compiler/harbour.c * source/compiler/harbour.slx % Removed hb_comp_bSimplex variable, which was practically unused. * source/lang/msgid.c * source/lang/Makefile * makefile.bc * makefile.vc * Minor correction (alphabetical order). * source/compiler/harbour.l + AS USUAL added. I could not make this HB_COMPAT_VO dependent, so this is left as a TODO. 2000-08-16 18:40 UTC+0800 Brian Hays <bhays@abacuslaw.com> * contrib/rdd_ads/doc/en/readme.txt * added small fixes and a note about default ADSLOC32.DLL limit of 5 users (an unlimited version is available for free) * doc/en/garbage.txt * minor grammar changes; added SeeAlso for hb_idlestate 2000-08-16 12:35 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> * contrib/rdd_ads/ads1.c * SEEK works now for numeric indexes in RDD_ADS 2000-08-15 23:40 UTC+0800 Ron Pinkas <ron@profit-master.com> * source/compiler/harbour.slx ! Corrected support for stringified strings to include nested string delimiters in the LITERAL. /* Please note, both lexers are subject to extreme rare incomatibility, with direct code as follow: ? [" 1st. char is a Quote, last charcter is not.] ; MoreCode := [other SB delimited str ending with quote."] I can't see that being a real problem on one hand, and I don't know that we can flag a specific LITERAL within any given line as a PP stringified, as opposed to direct code, unless PP generates a specific [inline] marker for lexer. Since Clipper PPO of stringified string does NOT compile, I tend to think that's what Clipper does. Finally, since Clipper can't compile such PPO of valid code, I would suggest that if we ever decide to correct this, we include the "marker" in PPO output too, making it valid. */ 2000-08-15 18:25 UTC+0800 Ron Pinkas <ron@profit-master.com> * source/compiler/simplex.c + Added support for multi-charcters Stream Start and Stream End delimiters. + Added overidable MACROs STREAM_OPEN(x), STREAM_APPEND(x) ! Removed Hardcoded limits, changed to overidable #defines: MAX_STREAM, MAX_STREAM_STARTER, MAX_STREAM_TERMINATOR, MAX_STREAM_EXCLUSIONS * source/macro/macroslx.c + Added: #define MAX_STREAM 2048 /* Max length of in-line LITERAL */ #define MAX_STREAM_STARTER 2 #define MAX_STREAM_TERMINATOR 2 #define MAX_STREAM_EXCLUSIONS 2 * source/compiler/hbslex.c + Added: #define MAX_STREAM 2048 /* Max length of in-line LITERAL */ #define MAX_STREAM_STARTER 7 /* "QOUT([" */ #define MAX_STREAM_TERMINATOR 4 /* "])\n" */ #define MAX_STREAM_EXCLUSIONS 2 * source/macro/macro.slx * Replaced AND_IGNORE_DELIMITERS() with TEST_LEFT() * source/compiler/harbour.slx + Added: #define NUMERALS_PER_LINE 512 * Replaced AND_IGNORE_DELIMITERS() with TEST_LEFT() + Added support for TEXT ENDTEXT (pending some more work in PP), nested [[]] strings and double delimiters stringified strings. + Added MACROs STREAM_OPEN( sStarter ) and STREAM_APPEND(x) 2000-08-15 21:15 GMT -3 Luiz Rafael Culik <culik@sl.conex.net> *utils/hbdoc/hbdoc.prg utils/hbdoc/genhtm.prg * A small fix that i forget to upload on previus CVS session 2000-08-15 20:40 UTC+0100 Ryszard Glab <rglab@imid.med.pl> *include/hbexprc.c *source/compiler/exproptc.c *fixed unused variable warning source/compiler/harbour.l *fixed some warnings reported by BCC *some final optimization 2000-08-15 14:40 GMT -3 Luiz Rafael Culik <culik@sl.conex.net> * doc/en/cmdline.txt * Formated text added by Victor *utils/hbdoc/hbdoc.prg utils/hbdoc/genchm.prg * Generated Content file for Windows .CHM help now match Windows .HLP help 2000-08-15 22:00 UTC+0700 Andi Jahja <andij@aonlippo.co.id> * source/lang/msgid.c * source/lang/Makefile * makefile.bc * makefile.vc + Indonesian language module updated. 2000-08-14 18:45 UTC+0800 Ron Pinkas <ron@profit-master.com> * doc/whatsnew.txt + Added simplex. 2000-08-15 02:48 UTC+0100 Viktor Szakats ; Waiting for some minor patches before the new release. * source/common/hbver.c + QUESTION: added about bit depth detection. * doc/whatsnew.txt + Few new items added. * doc/en/cmdline.txt + Missing part added. * source/lang/msgko.c * tests/keywords.prg * samples/pe/editorhi.prg ! Tabs removed. * source/vm/mainwin.c * Some formatting. * Fixed form MSVC * contrib/rdd_ads/ads1.c * contrib/rdd_ads/adsfunc.c ! Fixed for MSVC 2000-08-14 14:45 UTC-0400 David G. Holm <dholm@jsd-llc.com> * contrib/rdd_ads/ace.h + Added separate test for RSXNT for definition of ENTRYPOINT. * contrib/rdd_ads/ads1.c + Added #include <ctype.h> to eliminate implicit declaration of function 'tolower' warning in function `strcmpNoCase' * contrib/rdd_ads/adsfunc.c - Eliminated unused variable 'ulRetVal' in functions HB_FUN_ADSISENCRYPTIONENABLED, HB_FUN_ADSISRECORDENCRYPTED, and HB_FUN_ADSISTABLEENCRYPTED. 2000-08-14 11:00 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> * source/rtl/gtwin/gtwin.c * fixed handling of arrow keys for international keyboards * this need to be checked for different keyboards ( now it works * for my :) ) Changelog: 2000-08-13 15:20 UTC+0500 April White (bright.tigra gmail.com) * doc/en/ - removed hbapi.txt hbcompat.txt hbset.txt 2000-08-13 15:58 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> * contrib/rdd_ads/ads1.c * include/hbapirdd.h * source/rdd/dbcmd.c * source/pp/pptable.c Scoped relations implemented in RDD ADS. Added extra parameter to dbSetRelation() - forth, it is .T., in case of using scoped relation. Changed syntax of SET RELATION command, it is now: SET RELATION [ADDITIVE] [SCOPED] TO ... INTO ... 2000-08-13 06:55 GMT + 1 Antonio Linares <alinares@fivetech.com> * source/vm/mainwin.c Enhanced so it now process command line arguments. (bug reported by Patrick Mast) 2000-08-12 20:20 GMT -3 Luiz Rafael Culik <culik@sl.conex.net> *doc/en/compiler.txt doc/en/harbext.txt doc/en/var.txt doc/en/file.txt doc/en/hvm.txt doc/en/math.txt doc/en/subcodes.txt *Small formating Correct the case of some categories +doc/en/cmdline.txt *Formated as an hbdoc source. *doc/genhtm.rsp +added cmdline.txt to response file *utils/hbdoc/genhtm.prg utils/hbdoc/genchm.prg *Fixed an small Bug *utils/hbdoc/hbdoc.prg utils/hbdoc/genrtf.prg utils/hbdoc/rtf.prg *Added code to generate the Winhelp .cnt file dinanmicall,So every time the doc is updated , the winhelp.cnt file will also be updated. Changelog: 2000-08-12 20:00 UTC+0500 April White (bright.tigra gmail.com) disregard my: 2000-07-29 03:00 UTC+0500 TODO: remove the old hb*.txt files from doc/en * doc/en/ + hb_api.txt hb_apier.txt hb_apifs.txt hb_apigt.txt hb_apiit.txt + hb_apiln.txt hb_apird.txt hb_compa.txt hb_date.txt hb_macro.txt + hb_set.txt hb_vm.txt * doc/genhtm.rsp + added references to the above 2000-08-12 15:20 UTC+0100 Ryszard Glab <rglab@imid.med.pl> *source/pp/ppcode.c * fixed '\`' into '`' to stop warning in GCC *source/compiler/harbour.l * fixed handling of TEXT/ENDTEXT - it is not active now 'if( 0 )' since it requires more support from the preprocessor. The preprocessor have to set some flag when text block is processed to suppres errorneous compilation if normal (not preprocessed) code in case of: QOUT([some]) ; QOUT([string]) * added support for nested '[]' string delimiters that can be created by the preprocessor * fixed handling of 'FOR(' syntax - it is now fully Clipper compatible. *source/compiler/harbour.y * fixed handling of FOR (expression):=... TO ... syntax ( Clipper compiles: FOR (a:=1,b:=2,i):=1 TO 10 ) although it needs some more work. 2000-07-29 03:00 UTC+0500 April White (bright.tigra gmail.com) + doc/en/ + (re)added hbvm.txt, hbapiitm.txt, hbapirdd.txt, hbmacro.txt, hbapigt.txt, hbapilng.txt, hbdate.txt, hbapifs.txt, hbapierr.txt * doc/en/ * replaced hbapi.txt, hbcompat.txt, hbset.txt 2000-08-11 11:25 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> * source/pp/ppcore.c * Bug fixed, noted by Viktor Szakats 2000-08-11 08:55 UTC+0100 Ryszard Glab <rglab@imid.med.pl> *source/compiler/harbour.l * added support for code generated by the preprocessed TEXT/ENDTEXT NOTE: Since it is not implemented yet in harbour preprocessor I have followed Clipper method here. Every line of TEXT/ENDTEXT is preprocessed into QOUT("...")<EndOfLine> or QOUT([...])<EndOfLine> with no spaces. [] string delimiters are used if any combination of "'[] are used inside a text. Notice that during preprocessing of normal code when [] string delimiters are used then Clipper uses the first closing ] character as a string terminator. 2000-08-10 14:30 UTC-0400 David G. Holm <dholm@jsd-llc.com> * source/rdd/dbcmd.c ! Assign szAlias in DBSETRELATION a default value of NULL in order to eliminate a compile-time warning. 2000-08-10 17:33 UTC+0100 Ryszard Glab <rglab@imid.med.pl> *source/compiler/harbour.l * fixed DO DECLARE syntax 2000-08-10 11:50 UTC+0100 Ryszard Glab <rglab@imid.med.pl> *source/compiler/harbour.l * fixed handling of while[] and case[] * YY_USER_ACTION placed into a comment (the resulting object file is 20 kB smaller) 2000-08-09 20:00 UTC+0800 Ron Pinkas <ron@profit-master.com> * source/compiler/simplex.c * Corrected support for BREAK ( ). 2000-08-09 17:15 UTC+0800 Ron Pinkas <ron@profit-master.com> * source/compiler/simplex.c * Minor improvements. * source/compiler/harbour.slx - Removed un-needed cases in hb_lex_CustomAction() added by Ryszard. - Removed 1 rule each for WHILE CASE BREAK and RETURN to default trailing '[' to string delimiter. * tests/keywords.prg * Corrected few lines that had '[' as Array Index to String Delimiter after CASE, BREAK etc. /* Note keywords.prg should now be valid other than 3 (old) correct errors to do with FIELD*/ SimpLex based harbour does compile it correctly Flex reports 26 incorrect errors. 2000-08-09 15:30 UTC-0400 David G. Holm <dholm@jsd-llc.com> * source/pp/ppcore.c ! Reset s_iIncludes to zero in hb_pp_init(), so that the include file nesting limit will not accumulate for multiple compilation. 2000-08-09 14:15 UTC+0100 Ryszard Glab <rglab@imid.med.pl> *source/compiler/harbour.slx * fixed to work with current syntax rules in harbour.y 2000-08-09 07:10 GMT-3 Luiz Rafael Culik <culik@sl.conex.net> *doc/en/sayget.txt *doc/en/file.txt *small formating *utils/hbdoc/genhtm.prg *utils/hbdoc/genrtf.prg *utils/hbdoc/hbdoc.prg *small changes 2000-08-08 12:11 GMT+2 Maurilio Longo <maurilio.longo@libero.it> * source/common/hbver.c ! fixed a couple of new warning from last change ;-) 2000-08-09 09:25 UTC+0100 Ryszard Glab <rglab@imid.med.pl> *source/compiler/harbour.l * fixed RETURN [string] syntax 2000-08-08 17:15 UTC-0400 David G. Holm <dholm@jsd-llc.com> * tests/fsplit.prg + Added a MAIN() wrapper, so that the program will work with all versions of Harbour. ! Changed nbyte parameter in fsplit() to actually be numeric. ! Changed the read/write buffer size to match the split size, so that the program will actually split the input file into multiple files of the desired size, rather than using a size that is the next largest multiple of 8 KiB. * tests/onidle.prg ! Changed text to match program behaviour (i.e., press any key or wait 30 seconds). * tests/testwarn.prg + Changes THEMAIN() to MAIN(), so that the program will work with all versions of Harbour. 2000-08-08 18:05 UTC+0100 Ryszard Glab <rglab@imid.med.pl> *include/hberrors.h *source/compiler/hbgenerr.c * added error: CASE or OTHERWISE does not match DO CASE" if CASE or OTHERWISE is used outside of DO CASE/ENDCASE *source/compiler/harbour.l * cleaned or fixed many rules * fixed support for [] string delimiters * fixed support for DO fun WITH (expr) * see changes in harbour.y *source/compiler/harbour.y *moved here rules for: | OPTIONAL | LOOP | EXIT | IN | EXTERN | ANNOUNCE | LOCAL | MEMVAR | STATIC | PRIVATE | PUBLIC | PARAMETERS | PROCREQ These keywords are treated simmilar to IDENTIFIER (they should fill yyval.string member) The generated code is much smaller and faster. NOTE: Ron, this breaks harbour.slx rules !!! 2000-08-08 12:11 GMT+2 Maurilio Longo <maurilio.longo@libero.it> * source/common/hbver.c ! fixed Operating System/2 version report (broken since it wasn't taking into account that from OS/2 3.x version number is inside QSV_VERSION_MINOR and that QSV_ constants need to be decremented by one to access correct values inside array. 2000-08-08 02:00 UTC+0800 Ron Pinkas <ron@profit-master.com> * source/compiler/harbour.c * Corrected display of errors statistics to use \r so that error count doen't appear connected to the last reported compiler line number progress. * source/macro/macro.slx - Removed unused asHold * source/compiler/harbour.slx - Removed unused asHold - Optimized some rules. * source/compiler/simplex.c - Removed unused asHold * tests/keywords.prg * Uncommented all code that was commented other than few lines which I added TODO: PP ... for (problem resulting from PP) 2000-08-07 12:20 UTC+0800 Ron Pinkas <ron@profit-master.com> * source/compiler/harbour.y + Added support for OPTIONAL Var... as first parameter[s] of declared function. * tests/testdecl.prg + Added: DECLARE SomeFunc( OPTIONAL SomeVar AS STRING ) and DECLARE SomeFunc( OPTIONAL SomeVar AS STRING, OPTIONAL OtherVar ) to test syntax of OPTIONAL as first parameter[s] of declared function. * source/compiler/harbour.slx - Removed few redundant rules. * Improved handling of INC/DEC 2000-08-07 09:05 UTC+0800 Ron Pinkas <ron@profit-master.com> * source/compiler/harbour.l + Added rule to allow DECLARE Var AS ... (like PRIVATE Var AS ...) * source/compiler/harbour.slx + Added rule to allow DECLARE Var AS ... (like PRIVATE Var AS ...) ! Corrected typo with DECLARE IDENTIFIER := rule. ! Corrected compiler warnings reported by Maurilio * tests/testdecl.prg + Added DECLARE Var9 AS STRING to test this syntax too. 2000-08-07 16:20 GMT+2 Maurilio Longo <maurilio.longo@libero.it> * source/rtl/tbrowse.prg ! lines 671..680: if tbrowse was stable current cell was not hilited again, this breaks dbu.exe which expects that a call to Stabilize() method hilites current cell even if it is already hilited. Look at dbuedit.prg 188..194 to see what I mean; in short: editing of a field value was happening at wrong screen position. 2000-08-06 18:50 UTC+0800 Ron Pinkas <ron@profit-master.com> * source/compiler/harbour.slx ! Few more memory optimizations. 2000-08-06 01:40 UTC+0800 Ron Pinkas <ron@profit-master.com> * source/compiler/harbour.slx ! Optimized rules, removed ~100 rules. Rules are simpler, smaller, and faster. * source/compiler/simplex.c + Added: bIgnoreWords (allows for reserve words check to be suspened). + Added: iLastToken to save last read Token + Added immediate call to CUSTOM_ACTION for Keys, Words, and Selfs, without having to reduce first (when requested). * Optimized Keys search to not check bNewLine on every iteration. 2000-08-04 23:15 GMT-3 Luiz Rafael Culik <culik@sl.conex.net> * contrib/hbzlib/zlibapi1.c * contrib/hbzlib/zipfile2.c *Fixed some bugs when compiling with OS/2 GCC 2000-08-04 13:00 UTC+0800 Ron Pinkas <ron@profit-master.com> * source/compiler/harbour.slx * Optimized rules for WITH 2000-08-04 19:00 UTC-0400 David G. Holm <dholm@jsd-llc.com> * source/rtl/run.c * Changed submitted by Marek Paliwoda <paliwoda@inetia.pl> 2000-08-04 13:00 UTC+0800 Ron Pinkas <ron@profit-master.com> * source/macro/macro.slx * source/compiler/harbour.slx + Added (int) casting to isalpha() parameter calls. * source/compiler/hbslex.c * Removed extra empty line. * include/hberrors.h + Added #define HB_PP_ERR_TOO_MANY_INCLUDES 17 * source/pp/ppcore.c + Added : #define HB_PP_MAX_INCLUDES FOPEN_MAX - 5 - 1 (Victor ?) + Added : "Too many nested #includes, can\'t open: \'%s\'" + Added logic to protect against too many nested includes. * source/macro/macro.slx * source/compiler/harbour.slx + Added (int) casting to isalpha() parameter calls. * source/compiler/hbslex.c * Removed extra empty line. * include/hberrors.h + Added #define HB_PP_ERR_TOO_MANY_INCLUDES 17 * source/pp/ppcore.c + Addded: #define HB_PP_MAX_INCLUDES FOPEN_MAX - 5 - 1 (Victor ?) + Added : "Too many nested #includes, can\'t open: \'%s\'" + Added logic to protect against too many nested includes. 2000-08-04 09:20 GMT+2 Maurilio Longo <maurilio.longo@libero.it> * contrib/hbzlib/zlibapi1.c * contrib/hbzlib/zipfile2.c + added #include <hbsetup.h> and logic to identify OS/2 GCC 2000-08-03 18:50 UTC+0800 Ron Pinkas <ron@profit-master.com> * source/compiler/harbour.c * Added call to hb_pp_init() between multiple prg compilations. 20000803-13:13 GMT+2 Maurilio Longo <maurilio.longo@libero.it> * source/macro/macro.slx + added id tag * source/compiler/harbour.slx + added id tag * source/compiler/hbslex.c + added id tag 20000803-13:08 GMT+2 Maurilio Longo <maurilio.longo@libero.it> * config/os2/global.cf + first command of clean: tag requires a double backslash 2000-08-03 01:55 UTC+0800 Ron Pinkas <ron@profit-master.com> * include/hberrors.h * Removed #define HB_PP_ERR_INCLUDE_CYCLIC * source/pp/ppcore.c * Removed Cyclic #include detection logic. * source/compiler/simplex.c * Removed some unneeded comments. 2000-08-02 19:50 UTC+0800 Ron Pinkas <ron@profit-master.com> * include/hberrors.h * Changed #define HB_PP_ERR_INCLUDE_SELF to HB_PP_ERR_INCLUDE_CYCLIC * source/pp/ppcore.c * Changed "Can\'t #include self \'%s\'" to "Cyclic #include not allowed: \'%s\'" * Changed self refernce #include detection, to detect any #include of an already opened file. 2000-08-02 14:10 UTC+0800 Ron Pinkas <ron@profit-master.com> * source/compiler/harbour.l * Changed USUAL to ANYTYPE 2000-08-02 14:05 UTC+0800 Ron Pinkas <ron@profit-master.com> * source/compiler/harbour.slx * Changed VARIANT to ANYTYPE as it appear to be the prefered choice. * source/compiler/hbpcode.c * Changed \[ to [ to correct compiler warnings. * Changed Usual. to AnyType. 2000-08-02 15:55 UTC-0400 David G. Holm <dholm@jsd-llc.com> * config/os2/global.cf ! Restored to version 1.2, because 1.3 had no tab characters, then reapplied the changes from 1.3 to the restored 1.2 and committed it as 1.4. 2000-08-02 21:10 UTC+0100 Ryszard Glab <rglab@imid.med.pl> *doc/whatsnew.txt * added polish language modules *source/compiler/harbour.l * fixed support for ANNOUNCE and _PROCREQ_ * optimized some other rules 2000-08-02 14:45 UTC-0400 David G. Holm <dholm@jsd-llc.com> * config/c.cf ! Restored to version 1.9, because 1.10 has the same content, but has bad line endings and an EOF char. 2000-08-02 11:30 UTC+0800 Ron Pinkas <ron@profit-master.com> * hb_slex.bc * makefile.bc + Added: -Phb_comp -C to Flex (macro.l) as per GNU make. + Added: -phb_comp to Bison (macro.y) as per GNU make. /* We might need same change in other make files (VC etc.) */ /* BTW, Do we have SimpLex support in those other make files? */ * source/macro/macro.l * source/macro/macro.y - Removed: #define yylex hb_complex * source/macro/macroslx.c - Removed un-needed comment. * source/pp/ppcore.c ! Fixed unintended side effect of UPPER-CASING #include file names. 2000-08-02 09:40 UTC+0800 Ron Pinkas <ron@profit-master.com> * source/macro/macro.l * source/macro/macro.y + Added: #define yylex hb_complex * source/pp/ppcore.c + Added check for the file path when checking self reference of #include. + Added logic to ignore case when checing self reference of #include. 2000-08-02 15:54 UTC+0300 Chen Kedem <niki@synel.co.il> * doc/simplex.txt + add missing id tag * re-format for 76 characters per line * doc/en/garbage.txt * doc/en/idle.txt * change // in header to /* */ 20000802-12:58 GMT+2 Maurilio Longo <maurilio.longo@libero.it> * source/compiler/simplex.c + added missing id tag * source/macro/macroslx.c + added #define yylex hb_complex to make it compile under OS/2 GCC. PLEASE NOTE that I DON'T KNOW why it works and why it is required here but not in hbslex.c. hbtest has one failure less than compiled with flex so I shouldn't be creating problems with this change. * source/macro/Makefile * changed while trying to make macroslx.c works. * config/c.cf * changed while trying to make macroslx.c works. 2000-08-01 20:15 UTC+0800 Ron Pinkas <ron@profit-master.com> * include/hberrors.h + Added: #define HB_PP_ERR_INCLUDE_SELF 17 * source/pp/ppcore.c + Added Error: "Can\'t #include self \'%s\'" + Added logic to detect self referncing #include directive. 2000-08-02 03:31 UTC+0100 Viktor Szakats * source/rtl/dateshb.c * source/rtl/datesx.c ! Fixed HB_SToD() and SToD() to not cause CodeGuard faults on bad parameters. Define HB_FAST_STOD macro to get the previous faster versions. * makefile.bc * Small formatting. 2000-08-02 03:14 UTC+0100 Viktor Szakats * source/common/hbver.c + Better, generic detection for bits. 2000-08-01-21:20 GMT -3 Luiz Rafael Culik <culik@sl.conex.net> *contrib/hbzlib/zipfile2.c %some enhacements and fixed a bug inside hb___GetFilesNamesFromZip *contrib/hbzlib/zipfile.c contrib/hbzlib/zlibapi1.c *Fixed a Bug reported by Patrick Mast -doc/idle.txt +doc/en/idle.txt *Moved to the en/ directory *Description of IDLE stated became a topic also *doc/genhtm.rsp +en/idle.txt -en/hb*.txt Removed all api entries file names *doc/en/garbage.txt *small formating *utils/hbdoc/genng.prg *Fixed an small bug *makefile.bc hb_slex.bc + .autodepend macro added 20000801-21:55 GMT+2 Maurilio Longo <maurilio.longo@libero.it> * config/os2/global.cf ! fixed removing of nested subdir (HB_ARCHITECTURE/HB_COMPILER) that under OS/2 you need to remove from the bottom up and not a single DEL command * source/compiler/cmdcheck.c ! removed GCC warning since isdigit() expects an int but was called with a char 2000-08-01 12:10 UTC+0800 Ron Pinkas <ron@profit-master.com> * source/compiler/cmdcheck.c + Added support for "new style" switches specs, for command line arguments. /* Note: */ I did *not* implement same for the Environment Variables parsing. 2000-08-01 21:10 UTC+0100 Viktor Szakats + doc/cmdline.txt + Command line handling spec added. 2000-08-01 21:03 UTC+0100 Viktor Szakats * source/common/hbver.c + Added CPP info to the build info page. + Added 16-bit vs 32-bit to the Borland compiler info. 20000801-19:28 GMT+2 Maurilio Longo <maurilio.longo@libero.it> * source/common/hbver.c ! fixed sprintf() warnings for OS/2 and removed revision number since it is always 0. 2000-08-01 18:20 UTC+0100 Ryszard Glab <rglab@imid.med.pl> *include/hbapi.h * modified HB_MACRO structure *source/macro/macro.l * optimized support for array index *source/compiler/harbour.c *source/compiler/harbour.y *fixed some unreleased memory blocks reported by CodeGuard *source/compiler/hbident.c *changed size of hash table to 509 *source/macro/Makefile * removed CR characters NOTE: All sources HAVE TO be rebuild !!! 2000-07-31 20:25 UTC+0800 Ron Pinkas <ron@profit-master.com> * source/compiler/cmdcheck.c + Added support for multiple switches, without seperator, like: -n-w 2000-07-31 18:20 UTC+0800 Ron Pinkas <ron@profit-master.com> * source/compiler/harbour.slx - Removed few redundant rules. + Added logic to check for orphan LOOP, EXIT, or NEXT, and produce standard errors. + Added check to check for &', &", or &[, and produce standard error. * source/macro/macro.slx + Added logic to check for &', &", or &[, and produce standard error. * Minor formating. 2000-08-01 06:30 UTC+0700 Jose Lalin <dezac@corevia.com> * source/compiler/hbgenerr.c Bug fixes as reported by Andi Jahja 2000-07-31 09:00 UTC+0800 Ron Pinkas <ron@profit-master.com> * source/compiler/simplex.c * source/macro/macro.slx ! Corrected compiler warnings * tests/testwarn.prg * utils/hbdoc/ft_funcs.prg * Commented AS USUAL until votes results tabulated 2000-07-31 11:30 UTC-0400 David G. Holm <dholm@jsd-llc.com> * source/rtl/gtsln/gtsln.c * Changes submitted by Marek Paliwoda <paliwoda@inetia.pl> 2000-07-31 14:32 UTC+0100 Viktor Szakats * utils/hbdoc/ft_funcs.prg ! Fixed to match changed strong typing syntax. 2000-07-31 11:23 CET Patrick Mast <eMail@PatrickMast.com> * contrib/hbzlib/doc/zip.txt * Changes and corrections. 20000731-09:18 GMT+2 Maurilio Longo <maurilio.longo@libero.it> * source/macro/macroslx.c + added missing id tag 20000731-09:00 GMT+2 Maurilio Longo <maurilio.longo@libero.it> * source/macro/Makefile + added macroslx.c compilation instead of flex lexer if HB_LEX is set to SIMPLEX * source/macro/macroslx.c + added relative path in include commands to let gcc find correct files 2000-07-30 22:50 UTC+0800 Ron Pinkas <ron@profit-master.com> * source/macro/macro.slx ! Corrected unreleased memory block. * source/compiler/harbour.slx ! Corrected unreleased memory block. 2000-07-30 21:15 UTC+0800 Ron Pinkas <ron@profit-master.com> * source/compiler/harbour.slx - Removed unneeded comment. * source/compiler/simplex.c * Changed void yy_bytes_buffer() to void *. 2000-07-31 00:10 GMT -3 Luiz Rafael Culik <culik@sl.conex.net> *contrib/hbzlib/zipfile2.c *some Enhacementes +contrib/hbzlib/zipfile.c +contrib/hbzlic/zlibapi1.c *Re added as diferent name *hb___CheckFile() bug fixed *contrib/hbzlib/makefile.bc *updated to reflect the new files names 2000-07-30 17:30 UTC+0800 Ron Pinkas <ron@profit-master.com> + source/macro/macro.slx + source/macro/macroslx.c + Added SimpLex based macro lexer * hb_slex.bc * Modified to use SimpLex based macro support. /* Could some one please add same to GNU make system? */ * source/compiler/simplex.c * Added void yy_bytes_buffer() 2000-07-30 12:45 UTC+0800 Ron Pinkas <ron@profit-master.com> * source/compiler/harbour.slx - Removed AS CHARACTER, AS BOOLEAN, AS OBJ, AS NUM /* Left AS VARIANT and AS USUAL until vote results tabulated. */ * utils/hbdoc/ft_funcs.prg * Changed AS CHAR -> AS STRING and AS NUM to AS NUMERIC * source/compiler/simplex.c * Changed to use YY_DECL macro in declaration of yylex() 2000-07-30 14:32 UTC+0100 Viktor Szakats * source/compiler/harbour.l * source/compiler/hbpcode.c * tests/testdecl.prg * tests/testwarn.prg * contrib/hbclip/hbclip.ch * Cleanup up the Strong Typing type keywords to more-or-less match the VO syntax. Note that there's two TODOs according to this. These are the valid keywords now: AS ARRAY AS CODEBLOCK AS STRING AS CLASS AS DATE AS LOGICAL AS NUMERIC AS OBJECT AS USUAL * source/rtl/scroll.c + Two comments added to make optimized code look more clear. 2000-07-29 08:50 UTC+0800 Ron Pinkas <ron@profit-master.com> * hb_slex.bc * Synchronized with makefile.bc 2000-07-29 17:34 UTC+0100 Viktor Szakats * makefile.vc * makefile.bc * source/lang/Makefile + Polish Lang modules added. 2000-07-29 17:25 UTC+0100 Viktor Szakats * utils/hbtest/* + Added check for :Arg variable of returned error objects. Note that currently Harbour doesn't support the :Arg var, so many tests will fail which looked OK until now. * source/vm/itemapi.c % Small optimizations. * source/vm/arrays.c - hb_arrayGetBool() removed, since it was the same as hb_arrayGetL(), but had no prototype in hbapi.h. % Small optimizations. * source/rtl/gtapi.c * TRACE call fix in hb_gtSetPos() ! NOTE made more clear. * One buffer size changed to 512 from 500, to be the power of 2. 2000-07-29 07:40 UTC+0800 Ron Pinkas <ron@profit-master.com> * source/compiler/harbour.slx + Added 2 rules to support DECLARE MACROVAR and DECLARE MACRO TEXT * tests/testdecl.prg ! Fixed to allow it to be run without RT Error 2000-07-29 15:55 UTC+0100 Ryszard Glab <rglab@imid.med.pl> *source/compiler/harbour.l * fixed to properly support 'DECLARE var' statement *tests/Makefile *tests/testdecl.prg * added testdecl.prg to Makefile * added some more real life examples :) 2000-07-29 09:45 UTC+0100 Ryszard Glab <rglab@imid.med.pl> *include/hbcomp.h * removed declaration of hb_comp_iCompiled and hb_comp_EOL *source/compiler/harbour.c *source/compiler/harbour.l *source/compiler/harbour.y *source/compiler/hbgenerr.c * removed hb_comp_iCompiled and hb_comp_EOL * fixed generation of runtime line numbers to meets numbers maintained by the preprocessor 2000-07-28 15:30 UTC-0400 David G. Holm <dholm@jsd-llc.com> * source/rtl/gtstd/gtstd.c * Restored to version 1.15 with the extra tracing information from version 1.18. + source/rtl/gtcgi + source/rtl/gtcgi/gtcgi.c + source/rtl/gtcgi/Makefile + source/rtl/mousecgi.c + Formerly gtstd.c, version 1.17, and support files. 2000-07-28 18:40 UTC+0800 Ron Pinkas <ron@profit-master.com> * hb_slex.bc * Synchronized with makefile.bc 2000-07-29 03:28 UTC+0100 Viktor Szakats * include/hbcomp.h * source/compiler/hbusage.c * source/compiler/harbour.c * source/compiler/cmdcheck.c - Removed the command line option to disable jump optimizing. The reason is that this option has an internal debugging purpose, which doesn't cause any practical change to the generated code, at least from a Harbour users POV. If disabling of this pcode generation phase is needed by anyone, we could add a compile-time disabling macro for it. The only reason I can think of disabling this as a user is compiling speed, which may increase by using it, if this is important I think we should rather add a pcode optimization level option, which would be more generic solution for this. 2000-07-29 03:16 UTC+0100 Viktor Szakats * source/rtl/gt*/gt*.c ! Extended TRACE call for hb_gtSetPos() with iMethod. 2000-07-29 03:08 UTC+0100 Viktor Szakats * source/rtl/oldclear.c * source/rtl/setpos.c * source/rtl/console.c * source/rtl/gtapi.c % Calls to hb_gtSetPosContext(..., _BEFORE) changed to a faster call to hb_gtSetPos(). 2000-07-29 03:00 UTC+0500 April White (bright.tigra gmail.com) * doc/en * remove UPPER case files, commited, added lower case files, commited 2000-07-29 02:58 UTC+0100 Viktor Szakats * source/lang/msgko.c ! Some fixes (KR -> KO). * source/rdd/dbfntx/dbfntx1.c * source/rtl/dircmd.prg * source/rtl/setkey.c * Minor formatting. * source/rtl/gtapi.c % hb_gtSetPos() now duplicates the code of hb_gtSetPosContext(), instead of calling it, to execute faster. * source/rtl/console.c - Removed FIXME from EJECT. * include/hbvm.h - Removed double declaration for hb_vmQuit() * include/hbclass.ch * The class syntax disabler macros renamed. - tests/teststru.prg - Removed. * include/hbpp.h * source/pp/ppcore.c + added prototype for ParsePragma ! Some prototypes moved from ppcore to hbpp.h, to keep the externs in the headers. * source/pp/ppcore.c - removed all pragma stuff * source/pp/pragma.c + new file with all the pragmas related stuff * source/pp/Makefile * makefile.bc * makefile.vc Thanks to Jose Lalin. 2000-07-28 14:00 UTC+0800 Ron Pinkas <ron@profit-master.com> * source/compiler/harbour.slx + Added logic to account for HB_SYMBOL_NAME_LEN + Added 2 rules to support DECLARE SomeVar as in PRIVATE SomeVar as oppose to Strong Type DECLARE SomeClass SomeVar ... + tests/testdecl.prg + Added test program to utilize the DECLARE in its different contexts. 2000-07-28 15:00 UTC-0400 David G. Holm <dholm@jsd-llc.com> * include/hbapigt.h * source/rtl/gtapi.c * Changed hb_gtSetPos() to hb_gtSetPosContext(). * Restored hb_gtSetPos() with only two parameters for Clipper GT API compatibility (what it does is call hb_gtSetPosContext() with the third parameter set to HB_GT_SET_POS_BEFORE, which still calls the hb_gt_SetPos() function, so that the low-level drivers didn't need to be changed again). * source/rtl/console.c * source/rtl/gtapi.c * source/rtl/oldclear.c * source/rtl/setpos.c * source/rtl/setposbs.c * source/rtl/xsavescr.c * All calls to hb_gtSetPos() changed to hb_gtSetPosContext(). * source/rtl/gtwin/gtwin.c ! Corrected call to hb_gtSetPos() to call hb_gt_SetPos(). 2000-07-28 18:15 UTC+0100 Ryszard Glab <rglab@imid.med.pl> *source/compiler/harbour.l * changed handling of array indexes - to code is now simpler, smaller and even more faster :) *source/rtl/gtsln/gtsln.c * fixed error in hb_gtSetPos call *source/rtl/gtstd/gtstd.c * fixed unused wariable warning *source/vm/classes.c * fixed unused variable and unused function warnings (reported with GCC) 2000-07-28 06:30 UTC+0800 Ron Pinkas <ron@profit-master.com> + doc/simplex.txt + Added 1st draft of SimpLex documentation. * source/compiler/simplex.c + Added overidable macro STREAM_EXCEPTION() * source/compiler/harbour.l * Modified to return every \n to correct line numbers reporting. /* Note: removed note about . after \n, I beleive it was needed to avoid conflict with $ which is no longer used, and should be avoided, due to few other side effects. */ source/compiler/harbour.slx * Standadized un-terminated strings messages. 2000-07-28 00:18 UTC+0500 April White (bright.tigra gmail.com) * include/hbapi.h * fixed comment for hb_xgrab() declaration (was 'exists' now 'exits') * doc/en + hbapi.txt + hbapierr.txt + hbapifs.txt + hbapigt.txt + hbapiitm.txt + hbapilng.txt + hbapirdd.txt + hbdate.txt + hbmacro.txt + hbset.txt + hbvm.txt + hbcompatability.txt * doc/genhtm.rsp + entries for above 2000-07-27 18:30 UTC-0400 David G. Holm <dholm@jsd-llc.com> * source/rtl/gtstd/gtstd.c * This has become the standard terminal library for CGI programs. * The MAXROW() and MAXCOL() values are both 32767. * The row and column positions are maintained independently from the actual device position. * If the device scrolls earlier than the GTSTD driver, this will not be reflected in the GTSTD driver cursor position. * The column position is maintained if all output is in left to right order, but will get messed up for any reverse position. * The row position is maintained if all output is in left to right and top to bottom order, but the device will only be scrolled by one line, regardless of row position change. * All console output goes to stdout and positioning works within the above limitations. * The various BOX() functions work to a limited extent (the row position is ignored, but the column position is honored). * The on-screen cursor is only set when the cursor position is being set before text has been displayed, because it is not possible to set the device cursor without changing it. * source/rtl/gtapi.c * source/rtl/gt*/gt*.c * The hb_gtSetPos() and hb_gt_SetPos functions now takes a third parameter that tells if the cursor position is changing before or after text was displayed. This feature is required by the GTSTD driver, because it can't set the device position without actually changing it. 2000-07-28 00:10 UTC+0200 JfL <jfl@mafact.com> & RaC <Rac@mafact.com> * source/rtl/tclass.prg * Some minor modifs I forget to identify before 2000-07-28 00:05 UTC+0200 JfL <jfl@mafact.com> & RaC <Rac@mafact.com> * source/vm/classes.c * No more internal message :Class * include\HBCLASS.CH +added two define to allow the use of :Class :Class:xx +added four define active by default HB_FWOCLASS HB_CSYCLASS HB_VOCLASS HB_TOPCLASS If you do not do anything, the OO engine will work as yesterday You can define One or more of those 'FLAG' before HBCLASS.CH within your program to restrict to one or two syntax. ie: Defining HB_FWOCLASS before HBCLASS.CH will solve Bryan problem as :Class and :Class: wil not exist anymore. (But also no VAR, only DATA) !!! This is work in progress !!! It must be improved, I know ! * source/rtl/tobject.prg * Some minor modifs and try * source/rtl/objfunc.prg * Some minor adjustement to allow adding DATAs and Methods dynamically ( work now on some of my Classy program :-))) ) 2000-07-27 19:50 UTC+0100 Ryszard Glab <rglab@imid.med.pl> *include/hbexpra.c *source/compiler/expropta.c *fixed GPF/core dump after some syntax errors 2000-07-27 03:50 UTC+0800 Ron Pinkas <ron@profit-master.com> * source/compiler/harbour.slx * Removed rule for ignoring empty lines, to fix incorrect line numbers in warnigs and errors. 2000-07-27 01:45 UTC+0800 Ron Pinkas <ron@profit-master.com> * source/compiler/harbour.c ! Corrected pVar->iDeclLine line number * source/compiler/hbgenerr.c ! Corrcted intermitent GPF when hb_compGenWarning() was called with NULL hb_comp_files.pLast 2000-07-27 10:15 UTC+0100 Ryszard Glab <rglab@imid.med.pl> *include/error.ch *include/hbapilng.h *added internal error HB_MEMOVERFLOW *adjusted internal data for Lang API *source/lang/msg_tpl.c *source/lang/msgca.c *source/lang/msgcs852.c *source/lang/msgcsiso.c *source/lang/msgcskam.c *source/lang/msgcswin.c *source/lang/msgde.c *source/lang/msgen.c *source/lang/msges.c *source/lang/msgeu.c *source/lang/msgfr.c *source/lang/msggl.c *source/lang/msghe862.c *source/lang/msghewin.c *source/lang/msghr852.c *source/lang/msghriso.c *source/lang/msghu852.c *source/lang/msghucwi.c *source/lang/msghuwin.c *source/lang/msgis850.c *source/lang/msgit.c *source/lang/msgko.c *source/lang/msgpt.c *source/lang/msgro.c *source/lang/msgsr852.c *source/lang/msgsriso.c * added internal error message: "Memory buffer overflow" *source/lang/msgpl852.c *source/lang/msgpliso.c *source/lang/msgplmaz.c *updated to work with current Lang API *source/vm/fm.c * memory blocks are marked with a signature at the end of buffer to check if memory was overwritten *source/rtl/transfrm.c * fixed bug when "@(BX" picture was used (it caused that some bytes were copied after the allocated buffer) 2000-07-27 00:15 GMT -3 Luiz Rafael Culik <culik@sl.conex.net> *source/lang/msgit.c *Renamed TPL to IT *source/lang/msgko.c *Renamed TPL to KR -doc/garbage.txt +doc/en/garbage.txt *Some formating *Removed spaces between see alsos *doc/genhtm.rsp +en/garbage.txt added to hbdoc responde file 20000726-22:50 GMT+2 Maurilio Longo <maurilio.longo@libero.it> * contrib/mysql/makefile * changed to be harbour gnu make system compatible * contrib/mysql/mysql.c * should now compile with latest version of include files from MySQL. Not tested. * contrib/mysql/tmysql.prg * removed a couple of warnings. 2000-07-26 16:25 UTC-0400 David G. Holm <dholm@jsd-llc.com> * source/vm/hvm.c ! Made changes to solve problem where double values become integers in hb_vmPushNumber when SET DECIMALS is set to 0. 2000-07-25 22:35 UTC+0800 Ron Pinkas <ron@profit-master.com> * source/compiler/harbour.slx * Converted CUSTOM_ACTION() macro to a function (hb_lex_CustomAction()). 2000-07-25 19:00 UTC+0100 Ryszard Glab <rglab@imid.med.pl> *doc/garbage.txt *doc/idle.txt * added documentation for the garbage collector and idle states *include/hbapigt.h * added declaration of hb_gtSuspend(), hb_gtResume() and hb_gt_Suspend(), hb_gt_Resume() *source/vm/classes.c *source/pp/ppcomp.c * removed unused variable warnings reported by GCC *source/rtl/run.c * added call for hb_gtSuspend() and hb_gtResume() before calling the shell *source/rtl/console.c *source/rtl/gtapi.c *source/rtl/mouseapi.c *source/rtl/gtcrs/gtcrs.c *source/rtl/gtcrs/kbdcrs.c *source/rtl/gtcrs/mousecrs.c *source/rtl/gtdos/gtdos.c *source/rtl/gtos2/gtos2.c *source/rtl/gtpca/gtpca.c *source/rtl/gtsln/gtsln.c *source/rtl/gtstd/gtstd.c *source/rtl/gtwin/gtwin.c * mouse initialization is called directly from low-level GT driver to ommit problems with initialization order using some drivers * added prototypes for hb_gt_Suspend() and hb_gt_Resume() that are called before and after spawning to the shell NOTE: Please add appopriate code for drivers that require it 2000-07-25 09:30 UTC+0800 Ron Pinkas <ron@profit-master.com> * hb_slex.bc * Synchronized with recent changes to makefile.bc + Added ;source\compiler to $(INCLUDE) * source/compiler/harbour.slx + Added logic to support 2 immediately following identifiers as needed by: DECLARE ClassName ClassVar ... + contrib/hb_struc + contrib/hb_struc/hbstruc.ch + contrib/hb_struc/hbstruc.prg + contrib/hb_struc/teststru.prg 2000-07-25 13:47 UTC+0100 Viktor Szakats * source/rtl/errorapi.c * include/hbapierr.h + hb_errRT_BASE_SubstR() added, which will automatically return the substituted value. * source/rtl/abs.c * source/rtl/at.c * source/rtl/chrasc.c * source/rtl/datec.c * source/rtl/dateshb.c * source/rtl/do.c * source/rtl/left.c * source/rtl/len.c * source/rtl/math.c * source/rtl/minmax.c * source/rtl/mod.c * source/rtl/replic.c * source/rtl/round.c * source/rtl/space.c * source/rtl/str.c * source/rtl/strcase.c * source/rtl/strtran.c * source/rtl/strzero.c * source/rtl/substr.c * source/rtl/transfrm.c * source/rtl/trim.c * source/rtl/type.c * source/rtl/val.c * source/vm/arrayshb.c * source/vm/classes.c * source/vm/eval.c * source/vm/hvm.c * source/vm/memvars.c * source/vm/runner.c % hb_errRT_BASE_Subst() -> hb_itemReturn() -> hb_itemRelease() constructs replaced with a simple call to hb_errRT_BASE_SubstR(), this way many local variables were removed, the code got smaller and a bit faster. The error handling code in the RTL functions is very simple now. * source/rtl/setkey.c * Minor formatting. 2000-07-24 18:25 UTC+0800 Ron Pinkas <ron@profit-master.com> ! tests\test.dbf ! Recovered previous version. 2000-07-25 22:00 GMT -3 Luiz Rafael Culik <culik@sl.conex.net> -contrib/hbzlib/zipfile1.C +contrib/hbzlib/zipfile.c *Renamed to match linux -contrib/hbzlib/makefile +contrib/hbzlib/Makefile *Renamed to match linux -contrib/hbzlib/zlibapi.c +contrib/hbzlib/zlibapi.c *Renamed to match linux *contrib/hbzlib/makefile.bc +Added tzipfile.prg reference and test2.exe reference +contrib/hbzlib/test2.prg *Test file for tzipfile Class +contrib/hbzlib/tzipfile.prg *Tzipfile Class +contrib/hbzlib/tzipfile.ch *Command for tZipClass *contrib/hbzlib/zipfile2.c *some enhacements to hb___GetFilesNamesFromZip() 2000-07-25 00:53 UTC+0100 Viktor Szakats * source/vm/itemapi.c + Some NOTEs added to the Eval API functions. 2000-07-25 00:33 UTC+0100 Viktor Szakats * source/rtl/setkey.c * source/vm/memvars.c % Minor optimization in Item returning. 2000-07-25 00:23 UTC+0100 Viktor Szakats * source/rtl/abs.c * source/rtl/at.c * source/rtl/chrasc.c * source/rtl/datec.c * source/rtl/dateshb.c * source/rtl/dir.c * source/rtl/do.c * source/rtl/idle.c * source/rtl/left.c * source/rtl/len.c * source/rtl/math.c * source/rtl/minmax.c * source/rtl/mod.c * source/rtl/replic.c * source/rtl/round.c * source/rtl/setkey.c * source/rtl/space.c * source/rtl/str.c * source/rtl/strcase.c * source/rtl/strtran.c * source/rtl/strzero.c * source/rtl/substr.c * source/rtl/transfrm.c * source/rtl/trim.c * source/rtl/type.c * source/rtl/val.c * source/vm/arrayshb.c * source/vm/classes.c * source/vm/debug.c * source/vm/eval.c * source/vm/hvm.c * source/vm/memvars.c * source/vm/runner.c % This construct: hb_itemReturn( x ); hb_itemRelease/Clear( x ); converted to this smaller and faster one: hb_itemRelease/Clear( hb_itemReturn( x ) ); Actually the speed increase and binary size decrease is almost zero, but the source code is more compact. This snippet is mostly found in runtime error branches. Some local variables could be eliminated this way. 20000724-22:45 GMT+2 Maurilio Longo <maurilio.longo@libero.it> + contrib/mysql + contrib/mysql/mysql.c + contrib/mysql/mysql.h + contrib/mysql/mysql_com.h + contrib/mysql/mysql_version.h + contrib/mysql/mysql.ch + contrib/mysql/tmysql.prg + contrib/mysql/dbf2mysql.prg + contrib/mysql/test.prg + contrib/mysql/readme.txt I've ported mSQL access classes to MySQL. There is a lot of work to do to finish them, but, nonetheless, in their present state I've been able to use them to port to MySQL a couple of programs written for mSQL. 2000-07-24 22:28 UTC+0100 Viktor Szakats * rdd/dbcmd.c * rtl/errorapi.c * vm/classes.c * vm/fm.c * vm/garbage.c * vm/hvm.c * vm/itemapi.c * vm/memvars.c * include/error.ch * IE_* macros renamed to HB_EI_* to not pollute namespace. ! Removed // comments from error.ch, since it was used in C code. 2000-07-24 22:12 UTC+0100 Viktor Szakats * include/hbextern.ch * source/rtl/errorapi.c * source/rtl/tobject.prg * source/vm/classes.c * TOBJECT_ERROR() implemented in Clipper/Harbour instead of C to keep it clean. + __errRT_SBASE() internal function added to throw a substitutable (?) runtime error. * source/lang/msgko.c * source/lang/Makefile * makefile.bc * makefile.vc + Korean language module updated. Thanks to Kwon Oh-Chul. - tests/test.frm + tests/test.frm - Readded in binary mode since it was corrupted. 2000-07-22 23:30 UTC+0800 Ron Pinkas <ron@profit-master.com> * source/compiler/harbour.slx ! Optimized handling of Hex Numbers. + Added hash support for literal strings. * Increased aTexts[] to 1024 * source/compiler/simplex.c ! Removed todo of pair action. 2000-07-22 23:08 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> * source/compiler/harbour.c * source/compiler/harbour.y * source/compiler/hbgenerr.c * source/pp/ppcomp.c * source/pp/ppcore.c * Line numbering cleanups and fixes 2000-07-18 10:25 UTC+0200 JfL <jfl@mafact.com> & RaC <Rac@mafact.com> * source/vm/classes.c * Improvement within hb_clsinst (no more static var) * Improvement within hb_clsinst, hb_getdata(), hb_setdata() Not more indirect pointer ref. by its long value ... * Unreleased block resolved * One function added to improve class(y) compatibility with mess. :Error tObject:Error(cDesc,cClass,cMsg,nCode) +HB_FUNC( TOBJECT_ER ) * include\HBEXTERN.CH +added TOBJECT_ER * source\rtl\TObject.prg Improving Class(y) compatibility + Added :Error(...) message + added :MsgNotFound() automatically called when one msg is not found 2000-07-16-20:30 GMT -3 Luiz Rafael Culik <culik@sl.conex.net> *contrib/hbzlib/hbzip.h +Added declartration to hb___GetFilesNamesFromZip() *contrib/hbzlib/zipfile2.c +Implementation of hb___GetFilesNamesFromZip() *contrib/hbzlib/zipfile1.c +HB_GETFILESINZIP() function ( return the content of a files file in an array % All functons optimized to Speed and Size 2000-07-16 19:00 UTC+0100 Ryszard Glab <rglab@imid.med.pl> *include/hbapi.h *source/vm/hvm.c *source/vm/memvars.c * memvars table is deleted in two steps: first clear all public and private variables (without the detached variables) and next free space allocated for memvars table. These two steps are separated with the garbage collector call so self referencing variables will be deallocated properly. 2000-07-16 17:40 UTC+0100 Ryszard Glab <rglab@imid.med.pl> *include/hbhash.h *source/common/hash.c * added ulCount and ulUsed members of HB_HASH_TABLE structure * added hb_hashTableResize() function *source/compiler/hbident.c *increased the hash table *source/vm/garbage.c *source/vm/hvm.c * all detached variables are scanned now correctly * on exit the GC is called after cleaning all other internal data structures 2000-07-16 13:38 UTC+0100 Viktor Szakats * source/rtl/binnum.c * source/rtl/binnumx.c % Optimized for size and speed. * include/hbdefs.h ! Minor fix to HB_MKUSHORT(), HB_MKSHORT(), HB_MKLONG(), HB_MKULONG() 2000-07-15 20:00 UTC+0100 Ryszard Glab <rglab@imid.med.pl> *include/hbexpra.c *include/hbexprb.c *include/hbexprc.c *include/hbexprop.h *source/common/expropt1.c *source/common/expropt2.c *source/compiler/harbour.l *source/macro/macroa.c *source/macro/macrob.c *source/macro/macroc.c * literal strings are now stored in the hash table together with identifiers (only the main compiler not the macro compiler) * expression of string type (created by the exression optimier) stores info it is allowed to deallocate the memory occupied by the string (normally it stores pointer to memory allocated in the identifies table - however after optimization it can store string allocated outside *source/compiler/hbident.c * the hash table is increased to 373 items 2000-07-14 22:40 UTC+0800 Ron Pinkas <ron@profit-master.com> * source/compiler/harbour.slx ! Removed Todo: Hex Numbers. There are no more known TODOs. 2000-07-15 01:20 UTC+0200 JfL <jfl@mafact.com> & RaC <Rac@mafact.com> * source/vm/classes.c * ! minor correction to allow the case where we would be in need of hb_clsdictrealloc during inheritance (no more empty bucket). 2000-07-14 20:25 UTC+0100 Ryszard Glab <rglab@imid.med.pl> *source/vm/garbage.c * the garbage collector scans now hb_stack.Return values 2000-07-14 09:40 UTC+0800 Ron Pinkas <ron@profit-master.com> * source/compiler/simplex.c ! Minor correction, to accept a match, if all rule's tokens used. 2000-07-13 19:00 UTC+0800 Ron Pinkas <ron@profit-master.com> * source/compiler/harbour.slx ! Removed excess characters at end of #undef directives. 2000-07-13 23:24 UTC+0200 JfL <jfl@mafact.com> & RaC <Rac@mafact.com> * source/rtl/tClass.prg * Prepared for InitClass (Not working ) * source/rtl/tObject.prg * Now Default :New and :Init method 'a la Class(y)' * New(x,y,z) automatically call Init(x,y,z) { Very simple implementation limited to 20 params, will be changed asap } 2000-07-13 07:45 UTC+0800 Ron Pinkas <ron@profit-master.com> * source/compiler/harbour.slx * Corrected premature release of MACROTEXT 2000-07-12 20:45 UTC+0800 Ron Pinkas <ron@profit-master.com> * source/compiler/harbour.slx * Corrected support for PARAMETERS + Added type casts to allow c++ mode compilation * source/compiler/simplex.c - Removed unused vars. + Added type casts to allow c++ mode compilation 20000712-22:03 GMT+2 Maurilio Longo <maurilio.longo@libero.it> * source/rtl/teditor.prg + Added a bunch of new methods and in particular full support for a soft cursor, teditor does not rely upon position of hardware cursor anymore. + Added color support * made a few changes to use it as a base for tbrwtext class * source/debug/tbrwtext.prg * changed to use teditor as base class and not tbrowse. This makes it possible to single step inside normal size source code files. Try to single step inside dbu using previous version and you will understand me ;-) * source/debug/debugger.prg * a few changes to accomodate for new tbrwtext class Please note that there is not (yet) support for highlighting of breakpoints. 2000-07-12 14:05 UTC-0400 David G. Holm <dholm@jsd-llc.com> * source/rdd/dbcmd.c ! Added missing ( AREAP ) type override on line 3529. 2000-07-12 21:41 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> *contrib/rdd_ads/ads1.c * Warning fixed, reported by David G. Holm 2000-07-12 12:30 UTC-0400 David G. Holm <dholm@jsd-llc.com> * config/c.cf * Changed to force flex to run before gcc, but after bison. * source/compiler/Makefile + Added test for HB_LEX being equal to SIMPLEX to compile Harbour with SimpLex. If HB_LEX is missing or is set to any value other than SIMPLEX, then Lex/Flex is used. 20000712-18:18 GMT+2 Maurilio Longo <maurilio.longo@libero.it> * source\compiler\Makefile + added hbslex.c and changed to remove flex usage * config\c.cf * changed to force bison to run before gcc 2000-07-12 16:08 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbf1.c * fixed a bug in dbfUpdateRecord() which caused problems with * FieldPut(), noted by Luiz Rafael Culik 2000-07-12-06:50 Luiz Rafael Culik <culik@sl.conex.net> +doc/en/stontype.txt *information of Harbour strong type feature +doc/en/sayget.txt *documentation for @say and @get commands +doc/en/memver.txt *documentation for local,memvar and Field command *doc/en/readme.txt *small fixes 2000-07-12-06:30 Luiz Rafael Culik <culik@sl.conex.net> *contrib/hbzlib/hbzip.h *Added an missing ";" to a function declaration *contrib/hbzlib/makefile.bc *Changes to process hbzlib.dll insted of zlib.dll 2000-07-12 10:25 UTC+0100 Ryszard Glab <rglab@imid.med.pl> *source/common/hash.c * items can be removed from the hash table *source/compiler/harbour.l * fixed handling of 'with()' and '( with )' syntax *tests/keywords.prg * updated with few additional tests 2000-07-12 08:46 UTC+0100 Viktor Szakats * doc/whatsnew.txt + Added some new items. * source/pp/pptable.c ! .FMT -> .fmt (to be multiplatform friendly) * source/rtl/dummy.prg - DBSETRELATION(), DBCLEARRELATION() removed. * makefile.bc ! Fixed PP dependency for HARBOUR.EXE * source/pp/ppcore.c * source/rdd/dbfntx/dbfntx1.c - Removed // comments * source/rdd/dbfntx/dbfntx1.c ! Fixed some BCC warnings. * source/rdd/dbcmd.c * source/rtl/disksphb.c * source/rtl/errorapi.c * source/rtl/tget.prg * Formatting * utils/hbdoc/Makefile ! Fixed TAB * utils/hbextern/hbextern.prg * utils/hbtest/rt_misc.prg * = assigments -> := * include/hbcomp.h * source/compiler/harbour.c * source/compiler/harbour.l * source/compiler/harbour.y - Removed HB_NESTED_COMPILE. - include/hbstruc.ch - source/rtl/hbstruc.prg - Removed. 2000-07-11 09:30 UTC+0800 Ron Pinkas <ron@profit-master.com> * hb_slex.bc * Updated to match makefile.bc * source/compiler/harbour.l * source/compiler/harbour.c - Removed refrences to hb_compReleaseStrings() * source/compiler/harbour.slx * Changed identifier reuse logic to use hb_compIdentifierNew() 2000-07-11 12:00 UTC+0100 Ryszard Glab <rglab@imid.med.pl> *include/hbhash.h *source/common/hash.c *include/Makefile *source/common/Makefile * new files with reusable hash table implementation *include/hbcomp.h * added #include hbhash.h *source/compiler/Makefile *source/compiler/hbident.c * new file that implements a table of reusable identifiers *source/compiler/harbour.c *source/compiler/harbour.l *source/compiler/harbour.y * changed to use a table of identifiers *makefile.bc *makefile.vc * updated to support the identifiers table 2000-07-10 20:25 UTC+0800 Ron Pinkas <ron@profit-master.com> * include/hbcomp.h * source/compiler/harbour.y * source/compiler/hbgenerr.c - Removed hb_comp_szFile * source/compiler/harbour.slx * Reduced aStrings and YY_BUF_SIZE to 2048 * source/compiler/simplex.c + Added RTL license exception. 2000-07-10-22:20 Luiz Rafael Culik <culik@sl.conex.net> *contrib/hbzlib/zipfile2.c +hb___GetNumbersofFilestoUnzip(char *szFile) internal function that returns the number of files inside a zip file *contrib/hbzlib/hbzip.h *Added declaration of hb___GetNumbersofFilestoUnzip(char *szFile) *Contrib/hbzlib/zipfile1.c +HB_GETUNZIPFILE() function to return the number of files to extract. 2000-07-10 19:55 UTC+0100 Ryszard Glab <rglab@imid.med.pl> *source/vm/garbage.c * removed some '//' coments 2000-07-10 13:05 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> * source/rdd/dbcmd.c * modified: hb_rddCloseAll() + added: virtual methods defclearRel(), defsetRel() + added: functions dbSetRelation(), dbClearRelation() * contrib/rdd_ads/ads1.c + added: virtual methods adsclearRel(), adssetRel() 2000-07-10 11:10 UTC+0100 Ryszard Glab <rglab@imid.med.pl> *include/hbcomp.h * added a forward declaration to comiple with Watcom C/C++ *source/compiler/harbour.c * added missing declaration of hb_compReleaseStrings() *source/rtl/errorapi.c * error objects created during error launching called internally are locked to prevent deallocation by the GC *source/rtl/idle.c * changed to call hb_gcCollectAll() *include/hbapi.h *source/vm/arrays.c *source/vm/classes.c *source/vm/codebloc.c *source/vm/garbage.c *source/vm/hvm.c *source/vm/memvars.c * changed the implementation of the GC to use a classical mark-sweep algorithm - this means that all garbage memory blocks are released during a single hb_gcCollectAll() * the garbage collector maintains now the separate list of locked items to prevend premature deallocation of items referenced inside of locked items * during sweep phase the items are checked only once to prevent recursive loops 2000-07-09 01:02 UTC+0800 Ron Pinkas <ron@profit-master.com> * include/hbcomp.h + Added: external BOOL hb_comp_bSimpLex * source/compiler/harbour.c + Added: BOOL hb_comp_bSimpLex + Added: if( hb_comp_bSimpLex ) tests before releasing name strings of vars, and symbols. + Added: call to hb_compReleaseStrings(), if hb_comp_SimpLes is TRUE, after code generation. * source/compiler/harbour.slx + Added: logic to resuse same allocated strings when string for identifier was perviously allocated. + Added: INIT_ACTION macro to set hb_comp_bSimpLex to TRUE. + Added: Function hb_compReleaseStrings() * source/compiler/harbour.l + Added: empty Function hb_compReleaseStrings() to avoid link error. * source/compiler/hbslex.c * source/compiler/simplex.c * Moved standard #includes from simplex to hbslex. 2000-07-08 19:50 UTC+0800 Ron Pinkas <ron@profit-master.com> * source\compiler\simplex.c * source\compiler\harbour.slx * Short term copies dynamic memory copies of yytext are being released at <EOL>. 2000-07-08-22:00 Luiz Rafael Culik <culik@sl.conex.net> *contrib/hbzlib/zipfile2.c contrib/hbzlib/zlibapi.c %more optimized *some variables made global, *some bugs fixed(unzippping functions) *contrib/hbzlib/zipfile1.c +added a new parameter to hb_unzipfile() to control the creation of stored directories *contrib/hbzlib/hbzip.h *some changes *contrib/hbzlib/makefile.bc *Removed -a from impdef command line 2000-07-08 15:10 UTC+0800 Ron Pinkas <ron@profit-master.com> * source\compiler\simplex.c * Improved handling of WhiteSpace, NewLine, and Eof. * source\compiler\harbour.slx + Added rule to return only last CR in sequence of empty lines. 2000-07-08 10:40 UTC+0100 Ryszard Glab <rglab@imid.med.pl> *source/vm/garbage.c * fixed possible endless loop during the garbage collecting (this time for real :-) 2000-07-07 17:30 UTC+0800 Ron Pinkas <ron@profit-master.com> - include\harbour.slx - source\compiler\harbourl.c + b32_slex.bat + hb_slex.bc + source\compiler\hbslex.c + source\compiler\simplex.c + source\compiler\harbour.slx 2000-07-07 10:30 UTC+0100 Ryszard Glab <rglab@imid.med.pl> *source/vm/garbage.c * fixed possible endless loop during the garbage collecting 2000-07-06 14:10 GMT+0100 Ignacio Ortiz <ignacio@fivetech.com> * source/rtl/tget.prg * Fixed minor bugs in numbers with decimals and when clause @E was used with numbers 2000-07-05 23:55 UTC+0800 Ron Pinkas <ron@profit-master.com> + source\include\harbourl.slx + source\compiler\harbourl.c This is a propoesed new Generic Lexer (SimpLex) that along with language definition file (Harbour.slx) consititue the proposed new Harbour Lexer. It is about half the size of the Flex Lexer and Harbour.exe is about 60K smaller. This might help with 16-bit mode and or memory limited situations. It belive it offers few benefits over Flex: Simplicity, Readability, and Consitency of the rules. More elegant look ahead/parsing capabilities. Does not require a 3rd party tool (the Tokens & Rules table, is inserted into the Lexer by means of an #include directive. it doesn't need to be "compiled" like the Flex.exe produces harbourl.c from harbour.l. It is much smaller than the Flex generated Lexer. Please note it is not yet optimized for speed, I would love to get your input/suggestion (Ryszard, Victor, Paul, ...). In the process of resaerching the Lex phase I found many "problems" and tried to address them all. It now compiles the full build including keywords.prg (3 compiler (yacc) errors), our previous lexer didn't fully parse keywords.prg Please forward your opinions... 2000-07-04 20:36 UTC+0100 Viktor Szakats * source/rtl/teditor.prg * Formatting. 2000-07-04 13:59 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> * contrib/rdd_ads/adsfunc.c * added full set of encryption/decryption functions 2000-07-04 13:59 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> * include/hbapirdd.h * uncommented relational methods in functions table * source/rdd/dbcmd.c * source/rdd/dbf1.c * source/rdd/dbfcdx/dbfcdx1.c * source/rdd/dbfntx/dbfntx1.c * added relational methods definitions to func table * contrib/rdd_ads/ads1.c * added relational methods definitions to func table * fixed adsOrderCreate - now * INDEX ON expression TAG tag TO indexFileName * creates a compound CDX index, if indexFileName is the same, as * current dbf name 2000-07-04 04:05 UTC+0100 Viktor Szakats * contrib/odbc/bld_b32.bat ! Fixed. * source/rtl/tget.prg ! Fix by Chen Kedem applied for __GET()/_GET_()/GetNew() not passed setget block bug. * source/rtl/filesys.c ! Fixed bug in hb_fsCurDir[Buff](), it's now stripping the leading "/" path delimiter. * source/rtl/memoline.c % Minor opt. * source/rtl/gtsln/kbsln.c * source/rtl/gtsln/keytrans.c * source/vm/classes.c * Formatting. 2000-07-03 20:00 UTC+0100 Ryszard Glab <rglab@imid.med.pl> *source/vm/garbage.c * minor change *source/vm/hvm.c * changed order of the GC call on exit - it is now called before any stack and memvars table releasing *tests/onidle.prg * fixed to demonstrate the latest changes 2000-07-03 13:40 UTC+0100 Ryszard Glab <rglab@imid.med.pl> *source/vm/memvars.c * the table of memvars is not checked for references from the GC after all memvars are released 2000-07-03 11:40 UTC+0100 Ryszard Glab <rglab@imid.med.pl> *include/hbpp.h *source/pp/ppcore.c * fixed declaration and definition of hb_pp_SetRule() - Watcom C/C++ was recognizing it as overloading of the function *source/rtl/gtdos/gtdos.c * fixed low-level processor ports access for Watcom C/C++ *source/vm/garbage.c * fixed possible endless loop in hb_gcCollectAll() *source/vm/arrays.c * arrays are no longer released recursively during the garbage collecting *source/rdd/dbfntx/dbfntx1.c * fixed warning for unused variable 2000-07-02 12:30 UTC+0100 Ryszard Glab <rglab@imid.med.pl> *source/vm/garbage.c *source/vm/memvars.c * codeblocks that are self referencing (cb := {|| cb}) are correctly released by the garbage collector 2000-07-01 23:55 UTC-0500 Paul Tucker <ptucker@sympatico.ca> * source\rdd\dbfntx\dbfntx1.c * added a few casts 2000-06-30 08:50 UTC+0100 Ryszard Glab <rglab@imid.med.pl> *source/vm/garbage.c * fixed a bug when releasing the last memory block *source/vm/hvm.c * fixed an order of subsystems shutdown and items relasing 2000-06-29 10:50 UTC+0100 Ryszard Glab <rglab@imid.med.pl> *source/vm/classes.c *fixed to stop handling of the garbage collector requests (hb_clsIsClassRef()) after all classes were released *source/rtl/setkey.c *fixed to lock codeblocks stored internally to prevent deallocation by the garbage collector 2000-06-28-23:20 Luiz Rafael Culik <culik@sl.conex.net> *contrib/hbzlib/zipfile2.c -hb___MyMkdir() Functions. All Calls to this function replaced with hb_fsMkDir() *some bugs fixed *contrib/hbzlib/hbzip.h -removed hb___MyMkdir() function declaration 2000-06-27 11:10 UTC+0100 Ryszard Glab <rglab@imid.med.pl> *include/hbapi.h *source/rtl/errorapi.c *source/rtl/idle.c *source/vm/classes.c *source/vm/garbage.c *the garbage collector is now aware of all items stored internally in class related structures 2000-06-27-22:45 Luiz Rafael Culik <culik@sl.conex.net> *Changelog *Renamed to ChangeLog.008 and Started a new one *contrib/hbzlib/zipfile2.c contrib/hbzlib/zlibapi.c *Added code to be used by other platforms +contrib/hbzlib/makefile *makefile for gnu compiler 2000-06-26 19:20 UTC+0100 Ryszard Glab <rglab@imid.med.pl> *include/hbapi.h * added declaration of hb_gcLockItem()/hb_gcUnlockItem() *source/vm/garbage.c * added definition of hb_gcLockItem()/hb_gcUnlockItem() *source/vm/classes.c * all arrays created internally for CLASS structure are now locked to prevent premature deallocation by the garbage collector 2000-06-26 20:11 UTC-0800 Ron Pinkas <Ron@Profit-Master.com> * source/pp/ppcomp.c ! Fixed line number to ignore empty lines in #include files,when resuming parent file. 2000-06-26 23:05 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> * source/pp/ppcore.c *fixed some problems, appeared after last fix and reported by Andi Jahja and Patrick Mast 2000-06-26 06:22 UTC-0800 Ron Pinkas <Ron@Profit-Master.com> * source/compiler/harbour.l ! Fixed 3 typos that made strings to be compiled with the closing string delimiter, causing Run-Time error 9004. 2000-06-26-14:40 GMT +1 Ignacio Ortiz de Zuniga <ignacio@fivetech.com> * memoline.c * fixed minor bug 2000-06-26 15:26 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> * source/pp/ppcore.c *fixed some problems, reported by Ron Pinkas 2000-06-26 08:55 UTC+0300 Chen Kedem <niki@synel.co.il> * source/rdd/dblist.prg ! fixed to handle cToFileName that contain "." in the path * source/rtl/right.c ! typo in the header LEFT() --> RIGHT() * doc/en/terminal.txt + Documentation for OUTSTD() + Documentation for OUTERR() ! typo in ALERT() $SEEALSO$ STDOUT() --> OUTSTD() 2000-06-25 22:24 UTC+0800 Brian Hays <bhays@abacuslaw.com> *doc/en/command.txt *began updating OOPs commands docs; This is a work in progress until we find out if we can borrow some existing docs. 2000-06-25 22:14 UTC-0800 Ron Pinkas <Ron@Profit-Master.com> * source/compiler/harbour.l + Added rule for orphan "]" * Minor improvments to INDEX * source/compiler/hbgenerr.c * Minor improvements * source/pp/ppcomp.c ! Corrected line number was adding EmptyLines twice. 2000-06-25 03:35 UTC-0800 Ron Pinkas <Ron@Profit-Master.com> * source/compiler/hbgenerr.c ! Refined line numbers reported. * source/compiler/harbour.l ! Rewrote (again) rules for STRING1 STRING2 STRING3 INDEX. Rules for strings much simpler. /* Flex had some problem with $ that caused output of strings. */ 2000-06-25 23:58 UTC+0100 Ryszard Glab <rglab@imid.med.pl> *source/vm/garbage.c *fixed deallocation of the last memory block - it should cure GPF's *source/rtl/errorapi.c *fixed call for hb_itemInit() *tests/onidle.prg *commented self-referencing codeblock since it requires some more work 2000-06-25 21:52 UTC+0100 Viktor Szakats * source/lang/Makefile * makefile.vc * makefile.bc + MSGIT and MSGDE language modules added. 2000-06-25 14:53 UTC+0100 Viktor Szakats * source/rtl/tget.prg ! Fixed to not depend on SET EXACT. * source/rtl/treport.prg * source/rtl/tbrowse.prg * source/debug/dbgtwin.prg * source/debug/debugger.prg * if() -> iif() * source/rtl/tclass.prg % Optimized, formatted. 2000-06-25 14:25 UTC+0100 Viktor Szakats * tests/onidle.prg * source/rtl/idle.c * Renamed some idle related Harbour level functions: HB_ADDIDLE() -> HB_IDLEADD() HB_DELIDLE() -> HB_IDLEDEL() HB_IAMIDLE() -> HB_IDLESTATE() * source/rtl/objfunc.prg * source/rtl/teditor.prg % Small optimizations. * source/vm/fm.c % Some optimizations on the hb_xquery() OS/2 branch, some other cleanups and formattings made. * include/hbapigt.h - Removed hb_releaseCPU() prototype. * source/vm/itemapi.c * include/hbapiitm.h * source/rtl/errorapi.c + hb_itemInit() function added, to initialize a new HB_ITEM structure. * errorapi.c now uses hb_itemInit() instead of the low-level item access. * include/inkey.ch * include/set.ch + Some comments added related to Harbour or C53 extensions. * source/vm/hvm.c * include/simpleio.ch * Minor changes. 2000-06-25 03:35 UTC-0800 Ron Pinkas <Ron@Profit-Master.com> * source/compiler/hbgenerr.c ! Fixed line number when in <eol> was 1 too short. * make_b32.bat ! Removed -i (ignore erros). 2000-06-25 10:40 UTC+0100 Ryszard Glab <rglab@imid.med.pl> *tests/onidle.prg *added missing demo file of idle states tasks 2000-06-25 05:30 GMT -3 Luiz Rafael Culik <Culik@sl.conex.net> *contrib/hbzlib/zlibapi.c *Small change to hb___CompressMultipleFile() 2000-06-24 22:10 GMT -3 Luiz Rafael Culik <Culik@sl.conex.net> +contrib/samples/makefile.bc *Makefile for samples.lib for borland compilers *contrib/hbzlib/makefile.bc *Small changes *contrib/hbzlib/zlibapi.c %some enhacements to hb___CompressMultipleFile() *contrib/hbzlib/test.prg *added test to demostrate the changes *contrib/hbzlib/doc/zip.txt *Small changes to reflect the function changes 2000-06-24 11:42 UTC-0800 Ron Pinkas <Ron@Profit-Master.com> * include/hbclass.ch - Uncommented the VO #xtranslate as they do work correctly. * source/pp/pplib.c - Removed int hb_comp_iIncLine * include/hbcomp.h - Removed int hb_comp_iIncLine + Added int hb_comp_iCompiled + Added char* hb_comp_szFile + Added BOOL hb_comp_bError * source/compiler/harbour.c ! Fixed Compile Time Line Numbers ! Fixed Run Time Line Numbers * source/compiler/harbour.l ! Rewrote rules for STRING1 STRING2 STRING3 INDEX, were severly broken with regard to unterminated support. /* When working on errors, I founf major problems, with unterminated Array Index and Unterminated Strings I'm surprised no one reported. This mass was a nightmere to fix. it seems to be working great now. */ * source/compiler/harbour.y ! Many fixes to support correct line numbers. * source/compiler/hbgenerr.c ! Fixed Error System to never report more than 1 error per source line. * source/pp/ppcomp.c - Removed code for hb_comp_iIncLine * source/pp/ppcore.c * Minor formating. 2000-06-24 20:10 UTC+0100 Ryszard Glab <rglab@imid.med.pl> *include/hbapi.h * added declarations of garbage collector functions hb_gc*() * added declarations of idle state tasks functions hb_idle*() *source/rtl/idle.c * new module that handles harbour idle states *hb_idleState() gets called from INKEY() function - it releases CPU timeslices, calls the garbage collector and executes user defined background tasks *HB_IAMIDLE() - signals that user code is in idle state *HB_ADDIDLE(), HB_DELIDLE() - handle background tasks *tests/Makefile *tests/onidle.prg * test program that demonstrate background tasks *source/vm/garbage.c * new module with the garbage collector code *source/rtl/Makefile * added a new file idle.c *source/rtl/errorapi.c *source/rtl/inkey.c * fixed to correct support idle states and garbage collector NOTICE: static HB_ITEM structures cannot be initialized with hb_itemClear() call because the structure can occupy a memory with random bits set *source/vm/Makefile * added a new file garbage.c *source/vm/arrays.c *source/vm/codebloc.c *source/vm/memvars.c *source/vm/hvm.c * fixed to correct support idle states and the garbage collector *makefile.bc *makefile.vc *updated to support idle states and the garbage collector 2000-06-23 22:45 GMT -3 Luiz Rafael Culik <culik@sl.conex.net> *contrib/samples/gauge.c *Fixed a small bug on Gaugenew() 2000-06-23 21:11 UTC+0200 JFL & RAC <jflb@mafact.com> *source/vm/classes.c ! Fixed CLASSDATA SHARED INIT when redefinig same CLASSDATA in subclass ! 2000-06-22 20:35 UTC-0800 Ron Pinkas <Ron@Profit-Master.com> * source/pp/ppcomp.c ! Fixed bug when NO CR between end of last line and EOF. Last line was duplicated when resuming parrent file. 2000-06-22 19:16 UTC-0800 Ron Pinkas <Ron@Profit-Master.com> * source/pp/ppcore.c ! Added bStrict parameter to getExpReal(), all calls to getExpReal() pass FALSE, other than isExpres(). So getExpReal() will now return invalid tokens like un terminated strings, unless bStrict is TRUE. 2000-06-23 01:31 UTC+0200 JFL & RAC <jflb@mafact.com> *source/vm/classes.c ! Fixed CLASSDATA SHARED ! *include/hbclass.ch ! Recommented #xtranslate that was not pre-processing correctly, before recent fixes to ppcore.c and should now works correctly but !!! *source/rtl/tobject.prg ! Minor reformating 2000-06-22 19:30 UTC+0100 Ryszard Glab <rglab@imid.med.pl> *source/vm/memvars.c *removed #if 0 2000-06-22 18:15 UTC+0100 Ryszard Glab <rglab@imid.med.pl> *source/rtl/gtcrs/kbdcrs.c *source/rtl/gtsln/kbsln.c *fixed after latest changes 2000-06-22 03:30 UTC-0800 Ron Pinkas <Ron@Profit-Master.com> * include/hbclass.ch ! Uncommented #xtranslate that was not pre-processing correctly, before recent fixes to ppcore.c and now works correctly. * source/compiler/harbour.c ! Fixed hb_compLinePush() to generate correct Run-Time Line Numbers. * source/pp/ppcomp.c - Removed one // comment. * source/pp/ppcore.c * Increased MAX_EXP to 2048 as requested by Brian Hays. 2000-06-21 21:35 UTC-0800 Ron Pinkas <Ron@Profit-Master.com> * source/pp/ppcore.c ! getExpReal() Fixed silly typo introduced this morning in previous fix, that broke the PP. 2000-06-22 03:23 UTC+0100 Viktor Szakats * source/rtl/filesys.c * Some formatting and cleanups. * contrib/hbclip/hbclip.ch + Some HB_ constants added. * include/inkey.ch * K_HB_KEYCODES -> HB_K_MULTICODE 2000-06-21 10:58 UTC-0800 Ron Pinkas <Ron@Profit-Master.com> * source/pp/ppcore.c ! getExpReal() to not return invalid Clipper Expression like unterminated '([{'. This will solve many PP problems. 2000-06-21 14:19 UTC+0100 Viktor Szakats * include/hbextern.ch * include/fileio.ch + source/rtl/disksphb.c * source/rtl/Makefile * makefile.bc * makefile.vc * DISKSPACE() made 100% CA-Cl*pper compatible, so that the second optional extension parameter was removed. The Unix support has been removed since the first parameter should always be a numeric value. + HB_DISKSPACE() extension function added, with the optional second parameter. This function will always need a string as the first parameter, you can also query space data for a specific directory on the systems where this is supported (Unix, Win32). This version will also support the Retry operation on error. Please test it on your platform. WARNING! Please update the docs. * include/fileio.ch - Removed non-Clipper compatible macros. Add these to your local headers if you need them, as I've already noted here: 20000322-16:33 GMT+1 Viktor Szakats #define CD( d ) DIRCHANGE( d ) #define MD( d ) MAKEDIR( d ) #define RD( d ) DIRREMOVE( d ) #define DISKUSED( d ) HB_DISKSPACE( d, HB_DISK_USED ) #define DISKFREE( d ) HB_DISKSPACE( d, HB_DISK_FREE ) #define DISKFULL( d ) HB_DISKSPACE( d, HB_DISK_TOTAL ) (Note that this change had no trace in the ChangeLogs) * source/rtl/gt_tpl/gt_tpl.c ! Fixed several bugs. * source/rtl/filesys.c ! Rearranged the OS/2 hb_fsSeek() support, to not contain redundant code, and use the Harbour standard for multiplatform code. * source/vm/extend.c ! Fixed hb_stornl() (storing an int instead of long). ! Fixed some formatting. % Minor optimization for arrays in hb_parni(). * include/hbapigt.h * source/rtl/gtapiu.c * Minor fixes. * source/rtl/gtwin/gtwin.c * Minor formatting. * include/hbapigt.h * source/rtl/gtapi.c ! Renamed some Harbour constants to avoid name collision: _B_SINGLE_V -> HB_B_SINGLE_V _B_SINGLE_H -> HB_B_SINGLE_H _B_DOUBLE_V -> HB_B_DOUBLE_V _B_DOUBLE_H -> HB_B_DOUBLE_H * source/lang/msgit.c ! Fixed missing commas. * doc/whatsnew.txt ! Someone has overwritten the file with a previous version. Fixed. (Note that this change had no trace in the ChangeLogs) * include/hbclass.ch - Documentation copyright removed. 2000-06-20 08:45 UTC-0800 Ron Pinkas <Ron@Profit-Master.com> * source/pp/ppcore.c * Removed some /* reported as nested comments 2000-06-20 11:15 GMT+1 Antonio Linares <alinares@fivetech.com> * include/hbclass.ch * small fix for SETGET methods * small fix for CLASSDATA shared attributes 2000-06-19 23:35 UTC-0800 Ron Pinkas <Ron@Profit-Master.com> * source/compiler/hbgenerr.c * source/pp/ppcomp.c ! Fixed reporting of line numbers on errors. * source/pp/ppcore.c * More support for [] as string delimiters. * source/compiler/harbour.l + Added support for: ELSIF [ some string ] ... DO WHILE [ some string ] ... WHILE [ some string ] ... CASE [ some string ] ... /* Strangley, Clipper chockes on elseif [...] */ 2000-06-19 23:05 GMT-3 Luiz Rafael Culik <culik@sl.conex.net> * utils/hbdoc/genhtm.prg utils/hbdoc/genchm.prg utils/hbdoc/html.pg utils/hbdoc/genng.prg * utils/hbdoc/genos2.prg utils/hbdoc/os2.prg * Small Fixes *doc/en/string.txt + Transform() function documentation *doc/en/array.txt doc/en/browse.txt doc/en/lang.txt doc/en/nation.txt *Changed the case of Category section t 20000619-23:08 GMT+2 Maurilio Longo <maurilio.longo@libero.it> * source/lang/msgit.c * converted new template to italian 20000619-21:44 GMT+2 Maurilio Longo <maurilio.longo@libero.it> * harbour/source/rtl/filesys.c % rewritten hb_fsSeek() to use native OS/2 api call (DosSetFilePtr()); This change is not needed, I've made it while hunting a bug and could (should ?, will ?) be an initial effort to move file apis from EMX/GCC or icc runtime to native system calls. * harbour/source/rtl/teditor.prg + added a couple unfinished methods, will complete them later * harbour/source/rtl/teditorl.c ! fixed a bug inside __StrTkPtr(), I really don't understand why it didn't show up before :-) 2000-06-19 10:11 UTC+0100 Viktor Szakats * include/hbapigt.h * include/gt.api + source/rtl/gtapiu.c * source/rtl/Makefile * makefile.bc * makefile.vc + Added all the missing undocumented GT API calls found in CA-Cl*pper 5.x. The implementation is still missing, but now there's a dummy skeleton for them. * source/compiler/harbour.c ! Fixed a bug, where the status returned from hb_compCompile() was ignored. * The PP reinitialization turned on even on non-STRICT mode, to be 100% Clipper compatible. 2000-06-17 20:34 UTC-0500 April White (bright.tigra gmail.com) * include/hbapi.h * forgot an end of comment tag 2000-06-17 19:43 UTC+0500 April White (bright.tigra gmail.com) * include/hbapi.h * include/hbapifs.h + added descriptive comments, from source, to declarations of multiple api calls * rtl/trim.c * hb_strRTrimLen - corrected descriptive comment was "returns szText and the new length in lLen" now "return length of szText ignoring trailing white space (or true spaces)" 2000-06-18 18:38 UTC+0100 Viktor Szakats * source/lang/msgde.c * Updated, Thanks to Torsten. * source/rtl/gtcrs/* * Some formatting * source/rtl/gtsln/* * Some formatting, variables renamed. ! Added CVS IDs WARNING! Please try to compile the SLANG and NCURSES GTs and report any errors, since I could not test them. 2000-06-18 20:16 GMT+3 Alexander Kresin <alex@belacy.belgorod.su> * source/pp/ppcore.c *fixed some problems with [ ... ] in pp, reported by Brian Hays 2000-06-18 15:20 UTC+0100 Ryszard Glab <rglab@imid.med.pl> *include/hbmacro.h *changed functions declarations for documentation purposes *source/pp/ppcode.c *fixed "nested /* comments" warning when compiled with GCC 2000-06-17 13:38 UTC-0800 Ron Pinkas <Ron@Profit-Master.com> * source/pp/ppcore.c ! Fixed isExpress() to check last charcter of the expression and return false if it is one of these: ":/*+-%^=(<>". This fixed another problem reported by Brian Hays to do with the VO comaptibility #translates. /* We still have to find, why was isExpress() called with only partial expression, this should be fixed. */ 2000-06-17 17:10 UTC+0500 April White (bright.tigra gmail.com) * hbapi.h * hbapierr.h * hbmacro.h + added param names (from source file) to declarations for multiple api calls 2000-06-17 19:37 UTC+0100 Viktor Szakats * source/common/hbstr.c * source/rtl/strings.c * source/rtl/dir.c * source/rtl/transfrm.c ! Fixed unary increment/decrement operator usage in toupper()/tolower() functions, since these may be macros on some systems. * source/rtl/right.c % Some optimization. 2000-06-17 18:58 UTC+0100 Viktor Szakats * source/compiler/harbour.y + One TODO readded * source/rtl/scroll.c * source/rtl/saverest.c * source/rtl/mouseapi.c % Some optimizations. * source/rtl/setcolor.c * Minor code standardization. 2000-05-07 23:30 CET Patrick Mast <harbour@PatrickMast.com> * tests/testhtml.prg * changed the Default() function into If(...) 2000-06-16 22:10 GMT-3 Luiz Rafael Culik <culik@sl.conex.net> * utils/hbdoc/hbdoc.prg * Some small enhacements when generating the Windows HTML HELP project * utils/hbdoc/genhtm.prg utils/hbdoc/genchm.prg utils/hbdoc/html.pg * Small enhacements * Some fixed for Errors Reported by April White * utils/hbdoc/genrtf.prg * small changes * utils/hbdoc/genos2.prg utils/hbdoc/os2.prg % Many optimizations ! Many compile error now are fixed(most was the 255 character line length) % Better Table support, Now it generate true Tables * Many thanks for Maurilio Longo.With out his help this changes was not possible 2000-06-16 21:28 UTC+0100 Viktor Szakats * source/rtl/transfrm.c ! Fixed GCC -O2 warnings. * source/vm/classes.c ! Fixed GCC -O2 warning in __SENDER() 2000-06-16 10:55 UTC-0800 Ron Pinkas <Ron@Profit-Master.com> * source/pp/ppcore.c ! Removed 1 // comment. 2000-06-16 18:45 UTC+0100 Viktor Szakats * source/vm/classes.c ! Formatting, warnings fixed. * hb_itemCopy( &hb_stack.return, ... ) -> hb_itemReturn( ... ) * source/rdd/dbfntx/dbfntx1.c * Some formatting. ------------------------------------------------------------------------- ; Please DON'T use non-ANSI comment (//) in the code. Use /**/ instead. I haven't corrected the new // comments this time, but I would kindly ask the original uploaders to do so. Thanks. These files contain // comments: pp\ppcore.c rdd\dbfntx\dbfntx1.c rtl\gtsln\kbsln.c vm\classes.c ------------------------------------------------------------------------- 2000-06-16 13:37 UTC+0100 Viktor Szakats * include/hbapigt.h * source/rtl/gtapi.c * source/rtl/gt*/* * Renamed hb_gt_Suspend()/hb_gt_Resume() to hb_gt_Pre/PosExt() % Some cleanup on the recent additions to the GT module. ! Small fix for gt_tpl/gt_tpl.c ! Ambiguous nested if()s fixed. * source/rtl/transfrm.c ! Fixed handling of "S" picture function, now it works for every data types, and doesn't need to be the first function to work. * "0" picture function renamed to "L", some steps made towards the optional filling char support. In the meantime the filling char is always "0". % Some optimizations made (two static function calls eliminated, since parameter passing was getting messy). Comments added instead. * source/rtl/teditorl.c % Some optimizations made, many casts removed. ! Non-portable ULONG casts on pointers removed. ! Usage of compatibility (.API) header files removed. * makefile.bc % Removed some more redundant -I$(INCLUDE_DIR)s % Removed redundant -I$(LANG_DIR)s * include/hbclass.ch ! Minor cleanups (#includes moved after the self-guards, nil->NIL, oClass -> s_oClass, indentation, extern->REQUEST) * include/hbpp.h ! Minor formatting * source/pp/ppcore.c * include/hberrors.h ! HB_COMP_ERR_BAD_RULES_FILE_NAME -> HB_PP_ERR_BAD_RULES_FILE_NAME * source/rtl/Makefile * source/rdd/Makefile ! Fixed tabs for recently added files (TOBJECT, DBLIST). PLEASE pay attention to the tabs when adding new files to the GNU-make files. * source/rtl/tclass.prg * source/rtl/tobject.prg * Some minor cleanups, fixes, optimizations. + source/rdd/dbupdat.prg * source/rdd/dblist.prg * source/rdd/Makefile * makefile.vc * makefile.bc * Formatted sources. __DBUPDATE() moved to a separate file. + Comments added. Variables renamed. % Some minor optimizations. * makefile.vc ! Updated for TOBJECT and DBLIST * bin/bld.cmd * bin/bld.bat + Small modification to ease the addition of multiple source files locally. 2000-06-16 01:42 UTC-0800 Ron Pinkas <Ron@Profit-Master.com> * makefile.bc - Removed redundant -Iinclude from echo into make.tmp (Harbour.exe) * source/compiler/hbgenerr.c - Removed no longer needed int iLine * source/pp/ppcore.c ! Fixed bug PP was not able to parse #command/translate if no space before "=>" like: #translate CRLF=>Chr(13) + Chr(10) 2000-06-15 20:56 UTC-0800 Ron Pinkas <Ron@Profit-Master.com> * source/compiler/harbour.l * source/compiler/harbour.y + Added support for _ProcReq_() - compile time function used to implement SET FORMAT TO and SET PROCEDURE TO. Clipper implementation doesn't allow a run time function with this name, Harbour will only intercept it as compile time function, if used at BOL. As compile time function it only accepts a single "Literal", or "Literal + Literal". * source/compiler/hbgenerr.c * source/pp/ppcomp.c ! Fixed line numbering. Warnings and Errors, should now report correct line numbers. 2000-06-15 15:30 UTC-0400 David G. Holm <dholm@jsd-llc.com> + tests/mousetst.prg + Mouse tests by "Alejandro de Garate" <alex_degarate@hotmail.com> 2000-06-15 15:00 UTC-0400 David G. Holm <dholm@jsd-llc.com> * source/rtl/gtwin/gtwin.c ! Added '#include <ctype.h>' for the tolower() prototype. 2000-06-14 22:37 UTC-0800 Ron Pinkas <Ron@Profit-Master.com> * source/pp/ppcomp.c ! Fixed missing CR at EOF of #include file, causing #line directive to be on same line with the next line in parrent file. ! Big Improvment of line numbering of #line directive - almost identical to Clipper - to be continued. 2000-06-14-22:10 GMT -3 Luiz Rafael Culik <culik@sl.conex.net> +doc/en/eval.txt *Documentation for Eval() function 2000-06-14 23:37 UTC+0200 JfL&RaC <jfl@mafact.com> <rac@mafact.com> * source/vm/classes.c ! Temporary Fixed hb___msgsuper() to refer the good self value when accessing super ! This has some side effect on Super:classname ... (this is work in progress) * source/vm/classes.c added the ability to use the message ::Class to access classData keeping compatibility with the old method (this is work in progress) 2000-06-14 15:30 UTC-0400 David G. Holm <dholm@jsd-llc.com> * source/rtl/gtwin/gtwin.c ! Removed debug printf() statements. 2000-06-14 10:00 UTC-0800 Ron Pinkas <Ron@Profit-Master.com> * source/pp/ppcore.c ! Fixed getExpReal() to terminate on unbalanced ')' 2000-06-14 13:00 GMT+1 Ignacio Ortiz de Zuniga <ignacio@fivetech.com> * memoline.c * fixed reported bug 2000-06-13 21:20 GMT-3 Luiz Rafael Culik <culik@sl.conex.net> *makefile.bc source/rdd/makefile +Added dblist to dependencie list *doc/funclist.txt *updated __dblist() and __dbupdate() entries *source/rdd/dblist.prg +Source file for __dbList() and __dbUpdate functions 2000-06-13 22:47 UTC+0200 JfL&RaC <jfl@mafact.com> <rac@mafact.com> * Classes.c * Initialisation is now properly working * As with AutoInit for Logical (.F.) and Numerical (0) (previous TClass.prg) * MakeFile.bc * Restoring tasm call in place of tasm32 (sorry :-((( ) 2000-06-13 19:55 UTC+0100 Ryszard Glab <rglab@imid.med.pl> *include/hbapigt.h *added declaration of hb_gt_Suspend()/hb_gt_Resume() *source/rtl/gtapi.c *hb_gtPreExt()/hb_gtPostExt() calls driver dependend functions to save/restore terminal settings *source/rtl/run.c *fixed to properly use hb_gtPreExt()/hb_gtPosExt() *source/rtl/gtcrs/gtcrs.c *added full support for suspend/resume terminal settings 2000-06-13 08:08 UTC-0800 Ron Pinkas <Ron@Profit-Master.com> * source/pp/ppcomp.c ! Minor correction - There should be no empty lines between #line directive any more. 2000-06-13 03:00 UTC-0800 Ron Pinkas <Ron@Profit-Master.com> * makefile.bc + Added ppcomp.c and ppcore.c to list of harbour.exe dependencies. * source/pp/ppcore.c * source/compiler/harbour.y ! Corrected initialization of pFile->iLine to 1 * source/pp/ppcomp.c ! Fixed redundant empty lines generation and line numbering. 2000-06-12 20:25 UTC-0400 David G. Holm <dholm@jsd-llc.com> * source/rtl/gtwin/gtwin.c ! Partial fix for international keyboard AltGr handling. 20000612-23:10 GMT+2 Maurilio Longo <maurilio.longo@libero.it> * source/rtl/tedior.prg + Added GotoLine(nRow) method and a couple fixes. 2000-06-12 21:47 UTC+0200 JfL&RaC <jfl@mafact.com> <rac@mafact.com> *source\rtl\tclass.prg * Correct bug with default initialiser for Logical and Numeric * Now a logical is .F. by default and a numeric is 0 ! 2000-06-12 17:20 UTC+0200 JfL&RaC <jfl@mafact.com> <rac@mafact.com> *source\rtl\tobject.prg *source\rtl\tclass.prg *source\vm\classes.prg * Many corrections regarding superobject access as inherited datas * Inherit of a method Setget work even if the same msg * is a data from one superobject. 2000-06-12 16:55 UTC+0100 Ryszard Glab <rglab@imid.med.pl> *source/rtl/run.c *source/rtl/gtsln/Makefile *source/rtl/gtsln/gtsln.c *source/rtl/gtsln/kbsln.c *source/rtl/gtsln/keytrans.c *added more slang support - thanks to Marek Paliwoda *source/rtl/gtcrs/gtcrs.c *source/rtl/gtdos/gtdos.c *source/rtl/gtos2/gtos2.c *source/rtl/gtpca/gtpca.c *source/rtl/gtstd/gtstd.c *source/rtl/gtwin/gtwin.c *added dummy hb_gt_Suspend()/hb_gt_Resume() 2000-06-12 16:00 UTC+0100 Ryszard Glab <rglab@imid.med.pl> *source/compiler/harbour.y *fixed bug when 'DO ¯ovar' was used 2000-06-12 15:40 UTC+0100 Ryszard Glab <rglab@imid.med.pl> *source/compiler/harbour.c *fixed unused variable tmpFiles *source/vm/macro.c *fixed bug when field variable was macro-compiled 2000-06-11 23:30 UTC-0800 Ron Pinkas <Ron@Profit-Master.com> source/compiler/harbour.c * hb_compCompile() Added Clipper like message showing how many parse errors found. * hb_compAutoOpen() added 2nd parameter pointer to bSkipGen of caller (hb_compCompile()). Added logic to "remember" hb_comp_bAnyWarning and hb_comp_iErrorCount from previous parsings. 2000-06-11 21:30 UTC-0800 Ron Pinkas <Ron@Profit-Master.com> * include/hbcomp.h * Enclosed declarations of functions to support in-line nested compilation within #ifdef HB_NESTED_COMPILE source/compiler/harbour.y * Enclosed functions to support in-line nested compilation within #ifdef HB_NESTED_COMPILE * Changed rules for DO ... to add name of module to hb_comp_pAutoOpen linked list. + Added hb_compAutoOpen() - Parses the needed externals when -m not specified - Defed out hb_compYACCMAIN() (#if 0) - no longer needed, moved logic into hb_compCompile() and hb_compAutoOpen() source/compiler/harbour.l + Added #define YY_USER_ACTION ... to fix Flex problem with ^ (BOL RegExp) * Enclosed functions to support in-line nested compilation within #ifdef HB_NESTED_COMPILE source/compiler/harbour.c * Enclosed functions to support in-line nested compilation within #ifdef HB_NESTED_COMPILE * Modified hb_compCompile() to support future in-line nested compilation, and defed it out. * Changed hb_compCompile() to call hb_compAutoOpen() for modules called in DO ... that are not defined in main prg. ! Completed -m support, by default directives in external opened modules will be available to subsequent externals. this feature is defed out if strict compatibility is selected. 2000-06-08-07:50 GMT -3 Luiz Rafael Culik <culik@sl.conex.net> *utils/hbdoc/genhtm.prg utils/hbdoc/genchm.prg utils/hbdoc/genos2.prg utils/hbdoc/hbdoc.prg utils/hbdoc/genrtf.prg utils/hbdoc/genng.prg *Same changes suggested by April white 2000-06-10 17:06 UTC-0500 April White (bright.tigra gmail.com) * source/rtl/makefile + added tobject.prg to PRG_SOURCES section 2000-06-10 -05:50 GMT -3 Luiz Rafael Culik <culik@sl.conex.net> * doc/en/rddord.txt *Small changes * doc/en/compiler.txt *removed not implemented line from the /m switch description *source/rtl/tclass.prg *added missing REQUEST TOBJECT in the file 2000-06-10 04:05 UTC-0500 April White (bright.tigra gmail.com) * utils/hbdoc/makefile + added getchm.prg 2000-06-09 15:30 UTC-0400 David G. Holm <dholm@jsd-llc.com> * source/compiler/harbour.l ! Added missing cast on pBuffer assignment to YY_CURRENT_BUFFER in void hb_compSet_YY_CURRENT_BUFFER( void * pBuffer ). * source/rdd/dbfntx/dbfntx1.c ! Added several missing type casts on hb_xgrab() calls. * Converted source code from double spaced to single spaced. 2000-06-09 12:00 UTC-0800 Ron Pinkas <Ron@Profit-Master.com> * include/hbpp.h * source/compiler/harbour.c * source/pp/ppcore.c * Modified hb_pp_SetRules() to receive 2nd parameter BOOL hb_comp_bQuiet, since ppcore is part of PP.lib which is linked into HBRUN.exe which does not include harbour.c where hb_comp_bQuiet is defined. * source/compiler/harbour.l ! Fixed parse error on IF [...] * source/vm/classes.c Posted patch provided by JF * source/rtl/tobject.prg Posted missing file provided by JF 2000-06-09 08:15 UTC+0100 Lubos Janica <janica@fornax.sk> * source/rdd/dbfntx1.c After this change we can create indexes. And they working with Clipper ! But this isn't optimized. * Module initialization for other then GNU compilers + static ERRCODE hb_ntxPageKeyAdd( LPPAGEINFO pPage, PHB_ITEM pKey, int level) + static ERRCODE hb_ntxPageKeyInsert( LPPAGEINFO pPage, PHB_ITEM pKey, int pos ) + static int hb_ntxItemCompare( PHB_ITEM pKey1, PHB_ITEM pKey2 ) + static ERRCODE hb_ntxPageAddPageKeyAdd( LPPAGEINFO pPage, PHB_ITEM pKey, int level, int pos ) 20000608-22:10 GMT+2 Maurilio Longo <maurilio.longo@libero.it> * source/rtl/teditorl.c + added __StrTkPtr() function to scan a string starting from a defined position instead of restarting every time from beginning and scanning it completely till next token. * source/rtl/tedior.prg * changed to use __StrTkPtr() instead of __StrToken(). It is a LOT faster loading big files. * contrib/msql/dbf2msql.prg ! fixed memory leak due to resources not released 2000-06-08-07:50 GMT -3 Luiz Rafael Culik <culik@sl.conex.net> *utils/hbdoc/html.prg utils/hbdoc/genhtm.prg utils/hbdoc/genchm.prg *small changes *utils/hbdoc/os2.prg utils/hbdoc/genos2.prg *Some small enhacements *utils/hbdoc/hbdoc.prg *Small changes when generating harbour.htm 2000-06-07 22:50 UTC-0800 Ron Pinkas <Ron@Profit-Master.com> * source/compiler/harbour.c * main() Moved calls to hb_pp_init() to hb_pp_SetRules() in ppcore.c to avoid redefinition of standard defs. * source/pp/ppcore.c * hb_pp_SetRules() Moved calls to hb_pp_init() from main() in Harbour.c to avoid redefinition of standard defs. ! Minor fixes to warnings and errors. 2000-06-07 21:40 UTC-0800 Ron Pinkas <Ron@Profit-Master.com> * source/pp/ppcore.c * Changed hb_pp_SetRules() to only always default to .CH extension, if file name supplied without extension. ! Converted some printf() messages to standard warnnings and errors. * include/hberrors.h + Added: #define HB_PP_ERR_CANNOT_OPEN_RULES 15 #define HB_COMP_ERR_BAD_RULES_FILE_NAME 16 #define HB_PP_WARN_NO_DIRECTIVES 2 2000-06-07 22:42 UTC+0200 JFl&RaC <jfl@mafact.com>,<rac@mafact.com> * harbour/source/vm/classes.c -Major modification regarding superobject access Now the call to a super object return really one super object instance -Major modification regarding access to inherited data (see Maurilio case) -Auto inheritance of tObject -Minors modification regarding scoping and one block not released (see Antonio's test) 2000-06-07 21:51 UTC+0100 Lubos Janica <janica@fornax.sk> * source/rdd/dbfntx1.c Begin of implementation ntx driver. It's not working ! + static ERRCODE ntxOrderCreate( AREAP pArea, LPDBORDERCREATEINFO pOrderInfo ); + static ERRCODE ntxOrderInfo( AREAP pArea, USHORT uiIndex, LPDBORDERINFO pInfo ); + static ERRCODE ntxOrderListAdd( AREAP pArea, LPDBORDERINFO pOrderInfo ); + static ERRCODE ntxOrderListClear( AREAP pArea ); + static ERRCODE ntxClose( AREAP pArea ); + some internal funcitons 2000-06-07 16:50 UTC+0100 Ryszard Glab <rglab@imid.med.pl> *include/hbcomp.c *fixed garbage data at the end of line reported by GCC Ron - please check if it is correct (YYLSP_NEEDED versus YYLSP_) 2000-06-06 20:10 UTC-0800 Ron Pinkas <Ron@Profit-Master.com> * source/compiler/cmdcheck.c + Implemented support for -m * include/hbcomp.h + Added structure _HARBVARS to hold Harbour Session Variables + Added structure +AUTOOPEN to hold names of external modules already compiled. * source/compiler/harbour.c + Moved the parsing/compiling logic into new hb_compCompile() + Added: static void hb_compAutoOpenAdd( char * szName ); static BOOL hb_compAutoOpenFind( char * szName ); static void hb_compSaveVars( PHARBVARS, int ); static void hb_compRestoreVars( PHARBVARS, int ); * source/compiler/harbour.l + Added: void * hb_compGet_YY_CURRENT_BUFFER() void hb_compSet_YY_CURRENT_BUFFER( void * pBuffer ) int hb_compGet_yy_init( void ) void hb_compSet_yy_init( int i ) int hb_compGet_yy_start( void ) void hb_compSet_yy_start( int i ) int hb_compGet_yy_did_buffer_switch_on_eof( void ) void hb_compSet_yy_did_buffer_switch_on_eof( int i ) * source/compiler/harbour.y + Added logic to call hb_compCompile() when DO ... or DO ... WITH + Added: void * hb_compGet_pLoops( void ) void hb_compSet_pLoops( void * pLoops ) void * hb_compGet_rtvars( void ) void hb_compSet_rtvars( void * rtvars ) * source/compiler/hbusage.c + Added display of -m compiler switch Please note: 1. Implementation is practicaly completed, but there is one known issue to be resolved: Once we open and compile an external module, the very next prg line in the parent prg is not processed, I would love to get some assistance with this - Ryszard, Antonio, Victor, Paul? as I am seriously limited with time over this week. It seems I am not saving one of Bison/Flex vars, so my restore of the previous session is not complete :-( 2. Clipper seem to have a bug, on the following code: DO WHILE WITH ... Clipper will attempt to compile external "WITH.PRG" instead of "WHILE.PRG", can any one advise if I am missing something here... In our implementation the above line will attemp to compile "WHILE.PRG" 2000-06-05 19:50 UTC-0800 Ron Pinkas <Ron@Profit-Master.com> * source/pp/ppcore.c * Changed hb_pp_SetRules() to only default to .CH extension, if file name as supplied without extension was not found. ! Improved Messages to report various possible conditions. 2000-06-05 14:54 UTC+0100 Antonio Linares <alinares@fivetech.com> * source/vm/classes.c * workaround for inheritance bug as per JF. Lefebvre indications 2000-06-04 17:35 UTC-0800 Ron Pinkas <Ron@Profit-Master.com> * source/pp/ppcore.c ! Corrected compiler warning ! Corrected @ after ; missing trailing space. 2000-06-04 11:16 UTC-0800 Ron Pinkas <Ron@Profit-Master.com> * source/pp/ppcomp.c * source/pp/ppcore.c ! Corrected compiler warnings 2000-06-04 18:51 UTC+0100 Viktor Szakats * utils/hbdoc/Makefile makefile.vc ! GENCHM added to MSVC make file, GNU makefile corrected. 2000-06-04 09:40 UTC-0800 Ron Pinkas <Ron@Profit-Master.com> * source/pp/ppcore.c * Changed case of '@' in hb_pp_RdStr() to only add missing space when in the beginning of a new line. 2000-06-04 09:20 GMT -3 Luiz Rafael Culik<culik@sl.conex.net> *utils/hbdoc/hbdoc.prg *Added code to support .CHM source code generation *utils/hbdoc/html.prg +Newchm(),Addobject(),addparam(),Newcontent(),Endobject() method for .chm support +utils/hbdoc/genchm.prg *Source code to generate .CHM source files *makefile.bc +genchm.prg entry added to the make file 2000-06-04 17:52 UTC+0100 Viktor Szakats * tests/setkeys.prg ! Changed to reflect setkey function changes. 2000-06-04 13:55 UTC+0100 Antonio Linares <alinares@fivetech.com> * include/hbclass.ch * Some minor fixes 2000-06-04 03:35 UTC-0800 Ron Pinkas <Ron@Profit-Master.com> * source/pp/ppcore.c * Commented fix 2000-06-02 14:45 UTC-0800 Ron Pinkas <Ron@Profit-Master.com> until more complete solution 2000-06-04 03:30 UTC-0800 Ron Pinkas <Ron@Profit-Master.com> * source/pp/ppcore.c * Corrected error message in SetRules() to report filename with default extension. 2000-06-04 03:25 UTC-0800 Ron Pinkas <Ron@Profit-Master.com> * source/pp/ppcore.c * Added \n to error message in SetRules() 2000-06-04 03:05 UTC-0800 Ron Pinkas <Ron@Profit-Master.com> * include/hbcomp.h + Added: extern char * hb_pp_STD_CH; * include/hbpp.h + Added: extern void hb_pp_SetRules( BOOL (*hb_compInclude)(char *, PATHNAMES * ) ); * source/compiler/hbusage.c * source/compiler/harbour.c * source/compiler/cmdcheck.c + Added support for -u[FileName] - Removed TODO for -u * source/pp/ppcomp.c + Added hb_pp_ReadRules() - Logic to process directives from user supplied command defs. * source/pp/ppcore.c + Added hb_pp_SetRules() - Logic to use predefined rules, none, or user defined. * source/pp/pptable.c + Added hb_pp_Table() - Moved predefined rules into this function, to allow for conditional use. 2000-06-03 13:36 UTC+0100 Viktor Szakats * makefile.bc + Added a kludge to make it work with Borland C++ 5.3 You'll have to run make with -DBCC_NOSTARTUP. * source/common/hbver.c * hb_verBuildInfo() Changed to display the platform info after the compiler version, because on some platform/OS/combinations (RSXNT,EMX) the program crashes on platform detection. * include/hbcomp.h * Minor formatting 2000-06-03 10:53 UTC+0100 Viktor Szakats * source/debug/* % Some functions converted to procedures 2000-06-03 01:13 UTC+0100 Viktor Szakats * include/button.ch * source/rtl/tmenuitm.prg * Some minor namespace fixes. * include/hbsetup.h * Minor formatting * utils/hbtest/rt_misc.prg ! The filename split/merge tests changed so that they now pass for Unix systems. (there are still 4 tests which need to fixed) 2000-06-02 14:45 UTC-0800 Ron Pinkas <Ron@Profit-Master.com> * source/pp/ppcore.c ! Added logic to CommandStuff() to fix problem with Keyword or Match Marker are matched after non provided multiple optional patterns. 2000-06-02 19:56 UTC+0100 Viktor Szakats * utils/hbtest/hbtest.prg * utils/hbtest/make_xpp.bat * utils/hbtest/make_xpp.cmd ! HBTEST was broken for Xbase++. Fixed. * source/rtl/minmax.c * source/rtl/mlpos.c * source/rtl/mod.c * source/rtl/mouseapi.c * source/rtl/strmatch.c * source/rtl/strtran.c * Minor typos, formattings, optimizations. 2000-06-02 15:39 UTC+0100 Viktor Szakats * doc/whatsnew.txt ! Typo 2000-06-02 02:05 UTC-0800 Ron Pinkas <Ron@Profit-Master.com> * source/pp/ppcore.c ! Added logic to hb_pp_RdStr() to fix problem with Macro Terminator (.) without a macro suffix. 2000-06-01 21:15 UTC-0800 Ron Pinkas <Ron@Profit-Master.com> * source/pp/ppcore.c + Added case '@' to hb_pp_RdStr() to fix problem with @ not followed by a space. 2000-06-02 04:00 UTC+0100 Viktor Szakats * source/rtl/filesys.c ! hb_fsEof() fixed for DJGPP. * include/Makefile - hbapiext.h removed * source/compiler/harbour.c ! Fixed GCC -O2 warning. * source/compiler/harbour.y ! Two RSXNT warnings fixed. 2000-06-02 02:54 UTC+0100 Viktor Szakats * include/hbver.h * doc/whatsnew.txt * Bumped version to 0.34 and date to 2000-06-02 2000-06-01 22:18 UTC+0100 Viktor Szakats * source/lang/msgcswin.c * source/lang/msghr852.c * source/lang/msghriso.c * source/lang/Makefile * makefile.bc * makefile.vc + New language modules added. * source/rtl/philes.c + HB_EXTENSION guards added to HB_FEOF() * bin/bld.cmd ! HB_LIB_... fixed to HB_INC_... * contrib/samples/date.c * contrib/samples/dbf.c % Some optimizations. 2000-06-01 15:35 UTC-0400 David G. Holm <dholm@jsd-llc.com> * source/rtl/dates.c - Removed sys/timeb.h, because it is not needed. * source/rtl/filesys.c + Added OS_UNIX_COMPATIBLE to the __CYGWIN__ code for hb_fsEof() * source/rtl/gtdos/gtdos.c + Added #defines to allow video modes to compile with __RSX32__ 20000601-20:40 UTC+0100 Ryszard Glab <rglab@imid.med.pl> *source/rtl/dates.c * OS_UNIX_COMPATIBLE is defined in file included from hbapi.h then it cannot be checked before inclusion of hbapi.h *source/rtl/filesys.c * fixed hb_fsEof() for U*ix platforms 2000-06-01 12:15 UTC-0400 David G. Holm <dholm@jsd-llc.com> * doc/en/file.txt + Added documentation for HB_FEOF( nHandle ) * source/rtl/filesys.c + Added implementation of hb_fsEof() for defined(__CYGWIN__). * source/rtl/philes.c + Added Harbour wrapper HB_FEOF( nHandle ) for hb_fsEof(). * source/rtl/gtos2/gtos2.c ! Bug fix that should allow video mode changes to work in full screen mode as well as in windowed mode. 20000531-23:20 GMT -3 Luiz Rafael Culik <culik@sl.conex.net> *bin/bld.bat *changed HB_LIB_INSTALL to HB_INC_INSTALL on harbour /i command line switch +doc/en/eval.txt *Documentation for Eval() function *doc/en/set.txt +Document for SET BELL command *doc/en/string.txt +Documentation for PADR(),PADC(),PADL(),TRIM(),RTRIM(),ALLTRIM(), REPLICATE(),SPACE() *utils/hbdoc/genng.prg utils/hbdoc/genhtm.prg *Small change to allow multiple tables in a doc *contrib/hbzlib/zipfile1.c *small change to hb_unzipfile() function *contrib/hbzlib/zipfile2.c *Small changes *contrib/hbzlib/hbzip.h *some Declaration changes +contrib/hbzlib/unzip.h *missing header files required by zipfile2.c +contrib/hbzlib/doc/zip.txt +Documentation of the zip functions 2000-05-31 23:57 UTC+0100 Viktor Szakats * source/vm/itemapi.c ! hb_itemNew() fixed for non NULL pNull values. Thanks go to Janica Lubos for the fix. 2000-05-31 23:43 UTC+0100 Viktor Szakats * contrib/hbclip/make_clp.bat * Minor enh. * source/lang/msgpt.c ! Updated by Felipe + contrib/sample/Makefile + GNU-Makefile for samples by Jose Lalin: + contrib/sample/test*.prg + Tests added. + contrib/sample/date.c + Mdy, Dmy(), DateAsAge(), AddMonth() + DateAsArray(), ArrayAsDate(), DateIsLeap(), NToD() + contrib/sample/dbf.c + Dbf() + contrib/sample/environ.c + FilePath(), FileBase(), FileExt(), FileDrive() + contrib/sample/gauge.c + contrib/sample/stack.c + contrib/sample/status.c + contrib/sample/num.c + Ceiling(), DToR(), Floor() + NumAsLog10(), NumGetDecimals(), NumGetLen() + RToD(), Sign(), NumAsCurrency() 20000531-22:15 GMT+2 Maurilio Longo <maurilio.longo@libero.it> * contrib/msql/tmsql.prg * type "C" values need to be encoded before sending them to mSQL (' -> \') + contrib/msql/dbf2msql.prg + added a little utility to import a .dbf file into a mSQL table * contrib/msql/Makefile + added dbf2msql.prg target * contrib/msql/readme.txt * reformatted. * source/vm/classes.c ! patch from JFl&RaC <jfl@mafact.com>,<rac@mafact.com> to fix super:X handling 2000-05-31 13:53 UTC+0100 Viktor Szakats * include/hbapi.h * source/vm/extend.c + Added hb_retl() Extend API function. * HB_EXTEND_API_MACROS renamed to HB_API_MACROS * include/hbdate.h * source/rtl/dates.c * source/rtl/dateshb.c + Added hb_dateToday() and hb_dateTimeStr() functions. * source/rtl/trim.c % Some minor optimizations. * source/vm/classes.c ! Fixed warning, adjusted variable scopes. * contrib/libmisc/dates2.c % Some fixes, optimizations and copyright added. From Jose Lalin: * contrib/libmisc/dates2.c - removed all occurences of: char * szDateFormat[] sprintf( szDateFormat, "%04i%02i%02i", (int) lYear, (int) lMonth, (int) lDay ); hb_retds( szDateFormat ); + replaced with: hb_retd( lYear, lMonth, lDay ); * This will speed up things a bit. 2000-05-30 10:30 UTC+0300 Chen Kedem <niki@synel.co.il> * doc/en/objfunc.txt + Documentation for __objDerivedFrom() 2000-05-29 21:00 GMT -3 Luiz Rafaek Culik <culik@sl.conex.net> *contrib/libmisc/doc/gendoc.bat contrib/libmisc/doc/gendoc.cmd *small changes *contrib/libmisc/doc/gendoc.rsp +dates2.txt added +contrib/libmisc/doc/en/dates2.txt *docs provided by Jose Lanin +contrib/hbzlib/zipfile2.c *interface to the unzip function *contrib/hbzlib/zipfile1.c *Added HB_UNZIPFILE() function *contrib/hbzlib/makefile.bc *added zipfile2.c to dependencies 2000-05-29 22:41 UTC+0200 JFl&RaC <jfl@mafact.com>,<rac@mafact.com> *Some test prog for the new classes and accepted syntax +harbour/tests/DELEGAT.PRG +harbour/tests/FORWARD.PRG +harbour/tests/MULTINH.PRG +harbour/tests/POLYMORF.PRG +harbour/tests/SCOPING.PRG *harbour/source/vm/classes.c -Minor correction regarding HIDDEN status at compile time -__Sender() now returning the sender object when using 'delegating' 2000-05-29 22:26 UTC+0100 Viktor Szakats * doc/whatsnew.txt * Updated with items from Jose 2000-05-29 03:25 UTC-0500 Paul Tucker <ptucker@sympatico.ca> * contrib\libct\makefile.vc * contrib\libgt\makefile.vc * contrib\libmisc\makefile.vc * contrib\libnf\makefile.vc * contrib\rdd_ads\makefile.vc * contrib\libct\make_vc.bat * contrib\libgt\make_vc.bat * contrib\libmisc\make_vc.bat * contrib\libnf\make_vc.bat * contrib\rdd_ads\make_vc.bat * proper parameters are now 'clean' and 'all' (/a can still be used as all) 2000-05-29 08:29 UTC+0100 Viktor Szakats * source/rtl/xsavescr.c - Removed superfluous ";" char. * source/rtl/tbrowse.prg * source/rtl/memofile.c ! Typo * source/rtl/filesys.c % Optimized hb_fsEof(). Note that this code is not multiplatform. * source/compiler/harbour.l * source/rtl/tclass.prg - :: now again translates to Self, since QSelf() is not working well when used in a codeblock. So this change postponed after version 0.34 2000-05-28 23:00 GMT -3 Luiz Rafaek Culik <culik@sl.conex.net> *contrib/hbzlib/zlibapi.c contrib/hbzlib/zipfile1.c *Fixed unrelease memory Block *utils/hbdoc/html.prg *added WriteMetaTag() method *Enhached the New method to also accept a array contain meta Tags *utils/hbdoc/hbdoc.prg *some changes on the harbour.htm generation *utils/hbdoc/genhtm.prg utils/hbdoc/genng.prg *small Changes 2000-05-28 21:55 GMT -3 Luiz Rafaek Culik <culik@sl.conex.net> *include/hbapifs.h +hb_fsEof() declaration added *source/rtl/filesys.c +hb_fsEof() function added 2000-05-29 02:47 UTC+0100 Viktor Szakats * doc/whatsnew.txt + Class features added. * source/compiler/harbour.y - One TODO removed. * source/rtl/ttopbar.prg * source/debug/dbgtmenu.prg % __AltToKey() - minor optimization (one variable removed). * include/hbclass.ch * include/hbextern.ch * include/hboo.ch * include/hbsetup.ch * source/rtl/objfunc.prg * source/rtl/tclass.prg * source/vm/classes.c * Some variables, macros and functions renamed, some types changed (unsigned -> ULONG, USHORT -> BOOL) * Formatted, non-ANSI comments fixed. * Some optimisations and fixes (szName not allocated). % Functions returning NIL converted to PROCEDURES. % LOCAL Self := QSelf() line removed. + HB_SHORTNAMEs is now defined when HB_C52_STRICT is turned on. + source/debug/dbgtmitm.prg * source/debug/dbgtmenu.prg * source/debug/Makefile + source/rtl/ttextlin.prg * source/rtl/teditor.prg * source/rtl/Makefile * makefile.bc * makefile.vc * Two classes in one file separated to two files to compile with STRICT, SHORTNAMES mode. * source/rtl/tgetlist.prg * source/rtl/tbrowse.prg * source/rtl/tbcolumn.prg * Restored the previous high-level CLASS versions (the fixes where kept), since it should now work with 10 chars mode. ! Some fixes to make it work in 10 chars mode. ; Now Harbour will compile with 10 chars mode, but note that it still won't link. * source/vm/proc.c * include/hbapi.h * hb_procname() declaration moved to the central header. * source/rtl/setkey.c ! HB_SETKEYARRAY() fixed for the case when the second parameter was NIL. * contrib/hbclip/hbclip.ch + HB_SETKEYARRAY() added. 2000-05-28 21:50 GMT -3 Luiz Rafaek Culik <culik@sl.conex.net> *contrib\hbzlib\zlibapi.c *Small changes *contrib\hbzlib\test.prg *test program for the library *contrib\hbzlib\hbzip.h *small chages *doc/genhtm.rsp +added setmode.txt to response file *doc/en/lang.txt *small changes 20000529-00:01 GMT+2 Maurilio Longo <maurilio.longo@libero.it> * tests/testwarn.prg ! fixed missing function references (and added three more warnings :-)) 2000-05-28 22:57 UTC+0100 Viktor Szakats * source/compiler/harbour.l ! Fixed the compiler to not generate reference to the "Self" variable but use the native "QSelf()" instead in the "::" operator. Note that HBCLASS.CH still declares Self, but this is no more a requirement. This way :: operator is a bit faster, and the pcode is smaller. If the "Self" variable would be removed from HBCLASS.CH, it would be even faster. 2000-05-28 22:16 UTC+0200 Jfl&RaC <jfl@mafact.com> *harbour/include/hboo.ch *harbour/include/hbclass.ch Now support MI, scoping, fowarding and delegating Also support 10 chars limit by not prefixing the Classname when in 10 chars mode *harbour/include/hbsetup.ch Allow the configuration of Hidden message *harbour/source/rtl/objfunc.prg added function __objDerivedFrom(oSelf, oObj | cClassName) *harbour/source/rtl/tclass.prg Major modification to implement MI & scoping Added message :Super to acces frist superclass object instance Added message :IsDerivedFrom(oObj | cClassName ) (Xbase++ comp.) *harbour/source/vm/proc.c added char * hb_procname( int iLevel, char * szName ) extracted from HB_FUNC( PROCNAME ) to allow it to be called from c HB_FUNC( PROCNAME ) modified to call the previous'one *harbour/source/vm/classes.c Major modification to implement MI & Scoping Added function Sender() used by delegating to allow full polymorphism Added function __CLS_PARAM used by the preprocessor 2000-05-28 21:57 UTC+0100 Viktor Szakats * source/rtl/gtdos/gtdos.c * source/compiler/hbusage.c * Some cleanups and small fixes. + Crew list updated * makefile.bc * makefile.vc * source/rtl/Makefile ! Synchronized. ! Borland makefile fixed for 16-bit compilers (STARTUP excluded) * contrib/hbclip/hbclip.ch * tests/testwarn.prg - Structure #translate removed * contrib/libgt/makefile.vc ! Minor fix * doc/howtocvs.txt - doc/cvs_ssh.txt - doc/cvs_tips.txt * Merged all CVS related info into one file. Content list added. * Updated timestamp format * doc/whatsnew.txt + Added Version 0.34 feature list * include/hbapi.h * include/hbcomp.h * include/hbextern.ch + HB_SETKEYARRAY added + 5.3 menu related stuff added * source/compiler/cmdcheck.c * Minor optimization * source/compiler/harbour.y ! Extremly long lines fixed. ! GCC -O2 warning fixed. * source/pp/pptable.c - Commented out lines removed. * source/debug/dbgmenu.prg * source/debug/dbgtmenu.prg * source/debug/debugger.prg ! AltToKey_debugger() renamed to __dbgAltToKey() ! BulidMenu() renamed to __dbgBuildMenu() * source/rtl/setkey.c ! Some variables and symbols renamed, indented with three chars ! Some bugs fixed (error situations, handling of zero keycode) % Some things made more simple (removed returns from inside the functions for example). % Variable scopes adjusted. - Removed extension guards from C level code. - Removed all the runtime error generations - Removed the extension when an array was accepted as the first parameter of SETKEY(). + HB_SETKEYARRAY() added instead of the above feature. * source/vm/borinit.c * Minor header formatting. * source/compiler/harbour.c * source/rtl/filesys.c * source/rtl/gtcrs/gtcrs.c * source/rtl/gtcrs/kbdcrs.c * source/vm/eval.c * source/vm/hvm.c * source/vm/macro.c * tests/Makefile ! Fixed TAB usage in the source. (please check your editors!) + source/rtl/tmenuitm.prg + source/rtl/tpopup.prg + source/rtl/ttopbar.prg - source/rtl/menuitem.prg - source/rtl/popup.prg - source/rtl/topbar.prg ! Renamed to conform with other class filenames (T*.PRG) + Added HB_COMPAT_C53 guards. ! AltToKey_debugger() requirement removed to link without the debugger. - doc/depend.txt - Removed since it was very outdated. Missing entries: +contrib\hbzlib\makefile.bc *makefile for zlib library +contrib\hbzlib\zipfile1.c contrib\hbzlib\zlibapi.c *Source code to the library *contrib\hbzlib\test.prg *test program for the library *contrib\hbzlib\*.h *include files need by the library 20000528-21:38 GMT+2 Maurilio Longo <maurilio.longo@libero.it> * contrib/msql/tmsql.prg + added a few methods to TmSQLServer * contrib/msql/msql.c * changed to support new methods in tmsql.prg 20000528-17:41 GMT+2 Maurilio Longo <maurilio.longo@libero.it> * doc/cvs_tips.txt ! cvs server expanded my cvs id sample :-) so I changed it a bit 20000528-13:55 GMT+2 Maurilio Longo <maurilio.longo@libero.it> * doc/cvs_tips.txt + added how to add a cvs ID to new files 20000528-13:45 GMT+2 Maurilio Longo <maurilio.longo@libero.it> + contrib/msql/readme.txt + contrib/msql/Makefile + contrib/msql/msql.c + contrib/msql/msql.h + contrib/msql/msql.ch + contrib/msql/tmsql.prg + added cvs ID to all files 20000528-13:41 GMT+2 Maurilio Longo <maurilio.longo@libero.it> * contrib/msql/test.prg + added cvs ID to file 20000528-13:08 GMT+2 Maurilio Longo <maurilio.longo@libero.it> + contrib/msql/ + added subdir msql to contrib tree + contrib/msql/readme.txt + contrib/msql/Makefile + contrib/msql/msql.c + contrib/msql/msql.h + contrib/msql/msql.ch + contrib/msql/tmsql.prg + contrib/msql/test.prg + added files making up mSQL access classes. They're work in progress, but we all believe in "release early, release often", don't we? :-) 2000-05-28 02:15 UTC-0500 Paul Tucker <ptucker@sympatico.ca> * makefile.bc * move eval from rtl.lib to vm.lib * (Already built that way, but the dependancy was wrong) * makefile.vc * bring up to date 2000-05-22 10:40 UTC-0800 Ron Pinkas <Ron@Profit-Master.com> * include/hbvmpub.h * Modified HB_FS_FIRST to ( ( HB_SYMBOLSCOPE ) 0x04 ) * source/compiler/harbour.c * Minor optimization when storing HB_FS_FIRST * source/pp/pptable.c - Removed built-in rule, for STRUCTURE support * source/vm/runner.c ! Fixed bug when there is no startup procedure * source/rtl/tclass.prg - Removed HB_Structure() * include/hbextern.ch * Moved EXTERNAL HB_STRUCTURE to separate section * tests/teststru.prg + added #INCLUDE "..\Include\HBSTRUC.CH" + include/hbstruc.ch + source/rtl/hbstruc.prg * makefile.bc + Added rules for hbstruc.prg 2000-05-25 12:45 UTC-0400 David G. Holm <dholm@jsd-llc.com> * source/rtl/tgetlist.prg ! Must not attempt to access any GetList array elements when instantiating an instance of the TGetList class if the GetList argument is NIL. 20000524-17:55 GMT+1 Ryszard Glab <rglab@imid.med.pl> *source/vm/macro.c *fixed bug in TYPE() function (PUBLIC/PRIVATE variables were not recognized properly) 2000-05-24 10:35 GMT-4 David G. Holm <dholm@jsd-llc.com> * source/rtl/gtdos/gtdos.c + tests/videotst.prg + doc/en/setmode.txt + doc/es/setmode.txt Implementation, test, and documentation for GTDOS SETMODE(), supplied by "Alejandro de Garate" <alex_degarate@hotmail.com>. 20000523-22:47 DST Paul Tucker <ptucker@sympatico.ca> * source/compiler/harbour.y * added cast to xgrab call 2000-05-23 16:45 GMT-4 David G. Holm <dholm@jsd-llc.com> * source/rtl/tgetlist.prg ! Corrected the name of the TGetList class creation function. 2000-05-23 13:40 GMT-4 David G. Holm <dholm@jsd-llc.com> + doc/cvs_tips.txt + New document with tips regarding CVS usage. Please feel free to add more tips to it. 2000-05-23 12:30 GMT-4 David G. Holm <dholm@jsd-llc.com> * include/hbver.h % Bumped version from "a" to "b" and updated date to 2000-02-22, due to release of new os2/gcc build at my iterim build website. + include/button.ch + source/rtl/menuitem.prg + source/rtl/popup.prg + source/rtl/topbar.prg + Added for Jose Lalin <dezac@corevia.com>. 20000522-10:40 GMT-8 Ron Pinkas <Ron@Profit-Master.com> * source/compiler/hbpcode.c ! Fixed ambigious else in hb_StrongType() * source/pp/pptable.c ! Fixed STRUCTURE rule to allow nesting of structures. * tests/teststru.prg * Enhanced to demonstrate Structure as element of other structure and self reference capabilities. 20000523-02:58 GMT+1 Viktor Szakats ; Thanks to Jose Lalin for these: ; Now these source files work with the ten character symbol name limit. * source/rtl/tbcolumn.prg * source/rtl/tbrowse.prg * fully rewritten using the low-level class creation % changed to follow the "old" C52 contructor syntax without using wrappers. Now TB<class>New() is the *real* constructor - removed #include "hbclass.ch" ! Put New() between HB_EXTENSION guards % formatting and clean + added a C53 method between #ifdef HB_COMPAT_53 branchs * source/rtl/tgetlist.prg * fully rewritten using the low-level class creation - removed #include "hbclass.ch" % formatting and clean 20000523-02:06 GMT+1 Viktor Szakats * makefile.bc * makefile.vc * contrib/hbclip/hbclip.ch * source/compiler/hbgenerr.c * source/lang/Makefile * source/lang/msgcs852.c * source/lang/msgcsiso.c * source/lang/msgcskam.c * source/lang/msgsr852.c * source/lang/msgsriso.c * source/rtl/Makefile * misc small corrections and fixes. * include/hbapi.h * source/rtl/console.c * source/rtl/xsavescr.c ! Fixed memory leak when no __XRESTSCREEN() was called after an __XSAVESCREEN() 2000-05-22 18:15 GMT-4 David G. Holm <dholm@jsd-llc.com> * source/rtl/filesys.c % The return value from _getdrive() needs to be processed differently on some platforms. * source/rtl/net.c + Added RSX32 to the list of protected mode DOS compilers that are unable to generate an INT 21h, AX=5E00h call. 20000522-10:40 GMT-8 Ron Pinkas <Ron@Profit-Master.com> * contrib/hbclip.ch ! Updated to reflect latest syntax. * tests/testwarn.ch ! Updated translate segment to reflect latest sysntax. 20000522-09:40 GMT-8 Ron Pinkas <Ron@Profit-Master.com> * include/hbextern.ch + Added HB_STRUCTURE to list of Externals 20000522-09:20 GMT-8 Ron Pinkas <Ron@Profit-Master.com> * source/compiler/harbour.c + Added code to main() to process symbols and look for the first symbol in the prg and give it scope HB_FS_FIRST * source/compiler/genc.c + Added check for HB_FS_FIRST in the symbol processing loop, and output to the symbol table. * source/vm/hvm.c ! Fixed bug where if first symbol was an init symbol, it got executed twice. * source/vm/runner.c + Added logic to look for first symbol, to provide correct startup. ! Fixed bug where if first symbol was an init symbol, it got executed twice. * source/rtl/tclass.prg ! Corrected minor typo in HB_Structure() * tests/teststru.prg ! Corrected minor typo. + tests/testinit.prg + Added file to test proper startup processing. 20000522-06:15 GMT-8 Ron Pinkas <Ron@Profit-Master.com> * source/compiler/harbour.l + Added "as structure", "as stru", "as array of structure", "as array of stru" * source/compiler/hbpcode.c * Improved some logic in hb_StrongType() * source/vm/hvm.c ! Corrected startup symbol when having to use Main() as per Ryszard. * source/pp/pptable.c + Added the equivalent of: #COMMANDS STRUCTURE <StruName> <Var1> AS <Type1> [, <VarN> AS <TypeN> ] => ; STATIC __<StruName> := {|| IF( __<StruName> == NIL, , ) , HB_Structure( <"StruName">, { <"Var1"> [, <"VarN">] } )} ;; DECLARE <StruName> <Var1> AS <Type1> [ <VarN> AS <TypeN> ] ;; #TRANSLATE AS NEW <ClassName> => AS CLASS <StruName> := ( Eval( __<StruName> ), HB_Structure( <StruName> ) ) #TRANSLATE AS NEW <ClassName> => AS CLASS <ClassName> := <ClassName>():New() * source/rtl/tclass.prg + Added Function HB_Structure() ( Fully Declared! ) This function is used internally, but may be freely called from Clipper level. It Aceepts Parameter 1 Structure Name, and optional parameter 2, as array of structure variable names. If called with 2nd parameter, returns NIL (just creates the new Structure), if called with just parameter 1, it returns new instance of defined structure. + tests\teststru.prg + Added demo for new structure syntax 20000522-01:51 DST Paul Tucker <ptucker@sympatico.ca> * include/hbcomp.h * adjust declaration of COMCLASS and COMDECLARE 20000521-21:50 GMT-8 Ron Pinkas <Ron@Profit-Master.com> * source/compiler/harbour.y - Removed few unneeded hb_strdup() from calls to hb_compClassFind() + Added auto addition of Method Declaration for the SET Function of a declared Var of a declared class. * source/compiler/harbour.c - Removed few unneeded hb_strdup() from calls to hb_compClassFind() 20000521-14:42 GMT-8 Ron Pinkas <Ron@Profit-Master.com> * tests/testwarn.prg ! Consolidate #translate rules, and verified that it can compile under Clipper 20000521-14:15 GMT-8 Ron Pinkas <Ron@Profit-Master.com> * source/compiler/harbour.l + Added "as class" * source/compiler/harbour.y ! Fixed shift conflicts and reduce conflicts. * Modified rules for syntax "AS Object ClassName" to "As Class ClassName" * tests/testwarn.prg ! Corrected the #translate to reflect latest syntax ! Corrected syntax to use AS CLASS ClassName instead of AS OBJECT ClassName. 20000520-21:30 GMT-8 Ron Pinkas <Ron@Profit-Master.com> * include/hbvmpub.h + Added: #define HB_FS_FIRST ( ( HB_SYMBOLSCOPE ) 0x40 ) * source/compiler/genc.c + Added logic to add | HB_FS_FIRST to first defined symbol in a prg. * source/vm/hvm.c * Modified hb_vmProcessSymbols() to look for HB_FS_FIRST for startup procedure instead of any first symbol. * source/compiler/harbour.y * Minor consilidation in AsType *** I am aware of 6 reduce conflicts resulting from previous removal of FROM_CLASS, and am looking into it. *** * tests/testwarn.prg ! Corrected the #translate to reflect latest syntax 20000521-00:37 DST Paul Tucker <ptucker@sympatico.ca> * source/rtl/setkey.c + include "hbgtapi.h" - needed for proper c++ support 20000520-10:07 GMT-8 Ron Pinkas <Ron@Profit-Master.com> * source/compiler/harbour.l - Removed rule for "FROM CLASS" + Added "AS Obj" as an abrreviation for "AS Object" * source/compiler/harbour.y * Changed "AS Object FROM CLASS ClassName" to "As Object ClassName" * tests/testwarn.prg * Modified code to demonstrate new syntax for "As Object..." 20000520-15:25 GMT+1 Ryszard Glab <rglab@imid.med.pl> *source/rtl/gtcrs/gtcrs.c * fixed hb_gt_SetAttribute() to work correctly with ncurses library (thanks to Marek Paliwoda) 20000520-14:45 GMT+1 Ryszard Glab <rglab@imid.med.pl> *source/rtl/gtcrs/gtcrs.c * fixed hb_gt_SetAttribute() to work with plain curses library (thanks to Marek Paliwoda) *source/rtl/gtcrs/kbdcrs.c *source/rtl/gtcrs/mousecrs.c * fixed a module description 20000519-23:50 GMT-3 Luiz Rafael Culik <culik@sl.conex.net> *makefile.bc makefile.vc source/lang/makefile +Added new language modules +source/lang/msgcsiso.c *Language module for CZECH *source/lang/msgcs852.c source/lang/msgcskam.c *Updated 20000519-15:40 GMT-8 Ron Pinkas <Ron@Profit-Master.com> * source/compiler/hbpcode.c + Minor correction in hb_compStrongType() 20000519-15:28 GMT-8 Ron Pinkas <Ron@Profit-Master.com> * include/hbcomp.h + Added member pParamClasses to COMDECLARED * Changed hb_comp_szClass to hb_comp_szFromClass * source/compiler/harbour.y * Changed hb_comp_szClass to hb_comp_szFromClass * source/compiler/harbour.c + Added support for declared parameters of Functions/Methods AS Object FROM CLASS ... * source/compiler/hbpcode.c + Added Strong Type checking for declared parameters of Functions/Methods AS Object FROM CLASS ... * tests/testwarn.prg + Added code to demonstrate warnings for declared parameters of Functions/Methods AS Object FROM CLASS ... 20000519-10:17 GMT-8 Ron Pinkas <Ron@Profit-Master.com> * source/compiler/harbour.y * source/compiler/harbour.c * source/compiler/hbpcode.c + Added support for AS Array Of Objects FROM CLASS ClassName syntax and type checking. * tests/testwarn.prg + Added code to demonstrate syntax and warnings for AS Array Of Objects FROM CLASS ClassName syntax and type checking. 20000519-02:05 GMT-8 Ron Pinkas <Ron@Profit-Master.com> * include/hbcomp.h ! Consolidated COMDECLARED and COMMETHOD into COMDECLARED + Added member pClass to COMDECLARED + Added member pLast to COMCLASS * source/compiler/harbour.y + Added support for Methods/Datas of type Object of a declared Class. * source/compiler/harbour.c ! Fixed bug in hb_compMethodAdd() * source/compiler/hbpcode.c + Added Strong Type Checking to Objects syntax. * include/hberrors.h + Added : "HB_COMP_WARN_MESSAGE_NOT_FOUND" * source/compiler/hbgenerr.c + Added : "3Message \'%s\' not known in Class \'%s\'" * tests/testwarn.prg + Added code to demonstrate syntax and warnings for OO Strong Type Checking. 20000516-22:48 GMT+2 Maurilio Longo <maurilio.longo@libero.it> * source/rtl/memoedit.prg ! fixed call to StrTran passing K_TAB instead of Chr(K_TAB) 20000516-03:55 GMT+4 April White (bright.tigra gmail.com) * source\rtl\makefile - setkey.prg from PRG_SOURCES section (a conflict prevented the prev update) + setkey.c to C_SOURCES section 20000515-19:45 GMT-8 Ron Pinkas <Ron@Profit-Master.com> * source/compiler/harbour.l ! Corrected (again) rules for OPTIONAL to not conflict with DO OPTIONAL WITH ... and FOR Counter := OPTIONAL TO ... 20000515-20:22 GMT+4 April White (bright.tigra gmail.com) * source\rtl\makefile - setkey.prg from PRG_SOURCES section + setkey.c to C_SOURCES section * makefile.bc - removed setkey.prg rule (?) * changed (OBJ_DIR)\setkey.c to (RTL_DIR)\setkey.c * makefile.vc * moved the setkey.obj rule from PRG section to C section * source\rtl\console.c + added hb_setkeyInit() to hb_conInit() + added hb_setkeyExit() to hb_conRelease() * include\hbapigt.h + added declaration for hb_setkeyInit() and hb_setkeyExit() + source\rtl\setkey.prg + C implimentation of setkey * tests\setkeys.prg * added code to disable (and later restore) F8 hot key while inside it's action block - prevents recursion * changed condition block on F10 hot-key to use getactive():VarGet() vs getactive():buffer - this prevented testing non-character gets * tests\gnu_test.bat * added % to end of hb_architecture & hb_compiler where needed * include\hbextern.ch * changed 'rtl\setkey.prg' to 'rtl\setkey.c' 20000516-03:59 GMT+1 Viktor Szakats * source/lang/Makefile * source/lang/msgsr852.c + source/lang/msgsriso.c * source/compiler/hbusage.c * makefile.bc * makefile.vc + Added new languages. 20000515-18:00 GMT-8 Ron Pinkas <Ron@Profit-Master.com> * source/compiler/harbour.c - Removed: warning of uninitialized static variable. * source/compiler/hbpcode.c - Removed: warning of uninitialized static variable. ! Minor correction to hb_compStrongType() 20000515-23:11 GMT+2 Maurilio Longo <maurilio.longo@libero.it> * source/rtl/teditor.prg + added soft CR handling ! fixed a bug in K_CTRL_Y handling * source/rtl/memoedit.prg * original MemoEdit() changes K_TAB chars to spaces upon loading of text 20000515-23:05 GMT+1 Viktor Szakats * source/rtl/teditorl.c * source/rtl/padl.c % Minor optimizations and formatting. 20000515-22:47 GMT+1 Viktor Szakats * source/compiler/hbusage.c ! Removed conditional OBJ generation branch. * source/compiler/hbfix.c ! Unused variable warnings fixed. 20000515-10:15 GMT-8 Ron Pinkas <Ron@Profit-Master.com> * source/compiler/harbour.l + Added states DECLARE & OPTIONAL_ * Modified rules for "declare" and "optional" to use states, and support abbreviations. * Modified rules for "declare" to support backdated syntax DECLARE aVar[...] 20000515-17:15 GMT+1 Ryszard Glab <rglab@imid.med.pl> *source/rtl/gtcrs/gtcrs.c *fixed initialization of curses library 20000514-22:25 GMT-8 Ron Pinkas <Ron@Profit-Master.com> * source/compiler/harbour.l - Removed: not needed states - Removed "class method" "class data" + Added rules for "declare"" * source/compiler/harbour.y * Changed rules for DECLARE FUNCTION as per Ryszard suhhestion, New Sysntax is simply: DECLARE FunName([...]) [As ...] * Changed rules for DECLARE CLASS as per Ryszard suhhestion, New Sysntax is simply: DECLARE ClassName MethodName([...]) [As ...] DataVar [As ...] * source/compiler/harbour.c ! Minor correction to allow final declaration to override previous declaration of same function. * tests/testwarn.prg * Modified code to demonstrate syntax functions, classes and objects of a declared class declarations. 20000514-19:17 GMT-8 Ron Pinkas <Ron@Profit-Master.com> * source/compiler/harbour.y ! Additional Correction so '@' handled correctly on any var in a Function Declaration. 20000514-18:57 GMT-8 Ron Pinkas <Ron@Profit-Master.com> * source/compiler/harbour.c * Remmed some debug printf() 20000514-18:57 GMT-8 Ron Pinkas <Ron@Profit-Master.com> * source/compiler/harbour.y ! Corrected '@' to be accepted on any var in a Function Declaration. ! Simplified rules of Function Declaration Parameter list. 20000514-12:20 GMT-8 Ron Pinkas <Ron@Profit-Master.com> * source/compiler/harbour.y + Seperated the DECLARE... from Function, moved into a Declare, and Added Declare as type of Source. ! Added reset of hb_comp_iVarScope to DECLARE... to fix wrong "Statement not allowed outside of procedure or function" * source/compiler/hbgenerr.c * Modified : "3Duplicate Declaration of %s \'%s\'" to accept 1st parameter type of redeclaration ( Function, Class, Method ). * source/compiler/harbour.c * Modified calls to hb_compGenWarning() to use additional parameter of redclaration type. 20000514-10:07 GMT-8 Ron Pinkas <Ron@Profit-Master.com> * source/compiler/harbour.l ! Fixed parse error when DO OPTIONAL WITH 1 or " or other non alpha charcaters ! Fixed parse error when FOR Var := OPTIONAL TO ... 20000514-09:45 GMT-8 Ron Pinkas <Ron@Profit-Master.com> * source/compiler/harbour.y ! Fixed GPF when using DECLARE CLASS and -w < 3 * source/compiler/harbour.c ! Fixed GPF when using DECLARE CLASS and -w < 3 20000514-09:10 GMT-8 Ron Pinkas <Ron@Profit-Master.com> * source/compiler/harbour.l ! Fixed parse error when DO OPTIONAL WITH ... * Changed FROM to FROM CLASS in AS Obect FROM CLASS ... (fixed conflict of FROM with DO FROM ...) * Changed AS ... ARRAY to AS ARRAY OF ... 20000514-14:55 GMT+1 Ryszard Glab <rglab@imid.med.pl> *source/compiler/harbour.y * fixed bug in line counting that was causing no code generated for statements placed within BEGIN/END SEQUENCE 20000513-14:50 GMT+1 Ryszard Glab <rglab@imid.med.pl> *include/hbcomp.h * added 'int iDeclLine' to VAR structure to hold the line number where a variable was declared *source/compiler/harbour.c *source/compiler/harbour.y * fixed generation of 'unreachable code' warnings * warnings for declared but not used variable reports the line number where this variable was declared 20000513-13:51 GMT+2 Maurilio Longo <maurilio.longo@libero.it> - source/rtl/stringsx.c - removed + source/rtl/teditorl.c + added * source/rtl/Makefile * Makefile.bc * Makefile.vc * changed to reflect previous changes 20000513-00:51 GMT+2 Maurilio Longo <maurilio.longo@libero.it> * Makefile.bc + added stringsx.c * Makefile.vc + added stringsx.c * source/rtl/Makefile ! fixed tab chars in file (I hope) 20000513-00:19 GMT+2 Maurilio Longo <maurilio.longo@libero.it> * source/rtl/stringsx.c * Changed StrToken() to __StrToken() - removed unused functions + added standard copyright, please note that __StrToken() is NOT my work. * source/rtl/teditor.prg * StrToken() now is __StrToken() * ChangeLog, now saved as unix file, only cr at end of line, forced my editor to save all files as unix files regardless of their actual state. 20000512-08:00 GMT-8 Ron Pinkas <Ron@Profit-Master.com> * source/compiler/harbour.y + Added support for END to be used with FOR loops. * include/hberrors.h + Added : #define HB_COMP_WARN_CLASS_NOT_FOUND * source/compiler/hbgenerr.c + Added: 3Class \'%s\' not known in declaration of variable \'%s\'" * source/compiler/harbour.c - Remmmed a "debug" printf() + Added warning when class not know when declaring an object FROM Class ... 20000512-13:31 GMT+2 Maurilio Longo <maurilio.longo@libero.it> + source/rtl/stringsx.c + added to rtl since teditor.prg needs StrToken() * source/rtl/Makefile + added stringsx.c to list of needed files * source/rtl/teditor.prg % Text2Array() is twice as fast and uses A LOT less memory. 20000510-22:01 GMT+2 Maurilio Longo <maurilio.longo@libero.it> * source/vm/fm.c + Added OS/2 support to Memory() function * source/compiler/harbour.c ! fixed hb_compFunctionNew() define conflicting with actual implementation 20000510-03:00 GMT-8 Ron Pinkas <Ron@Profit-Master.com> * include/hbcomp.h + Added new structures COMCLASS and COMMETHOD + Added new element pClass to structure VAR + Added: extern PCOMCLASS hb_compClassAdd( char * ); extern PCOMCLASS hb_compClassFind( char * ); extern PCOMMETHOD hb_compMethodAdd( PCOMCLASS pClass, char * ); extern PCOMMETHOD hb_compMethodFind( PCOMCLASS pClass, char * ); * source/compiler/harbour.c + Added: PCOMCLASS hb_compClassAdd( char * ); PCOMCLASS hb_compClassFind( char * ); PCOMMETHOD hb_compMethodAdd( PCOMCLASS pClass, char * ); PCOMMETHOD hb_compMethodFind( PCOMCLASS pClass, char * ); * Modified hb_compVariableAdd() to process params of declared class methods. * source/compiler/harbour.l + Added tokens CLASSMETHOD CLASSDATA and FROMCLASS * source/compiler/harbour.y + Added support for class declaration syntax: DECLARE CLASS ClassName HAS Method MethodName( ... ) As ... HAS Data PropertyName ... + Added support for declaration of Object of a sdeclared class sysntax: DECLARE oObjectVar AS Object FROM ClassName * source/compiler/hbpcode.c + Started support for object methods and properties type checking. * tests/testwarn.prg + Added code to demonstrate declarion of classes and objects of a declared class. 20000510-03:45 DST Paul Tucker <ptucker@sympatico.ca> * source/compiler/harbour.c change param 2 of hb_compFunctionNew() definition to BYTE * source/compiler/hbpcode.c Added a whole whack of (char *)'s to sprintf calls to satisfy msvc. 2000-05-09 19:20 GMT-4 David G. Holm <dholm@jsd-llc.com> * contrib/rdd_ads/ads1.c % Modified ADS_GETFUNCTABLE to use pointers. * doc/cvs_ssh.txt + Added explanation about your SourceForge CVS ID is all lower case, regardless of the case of your SourceForge login ID. * include/hbver.h + I bumped the revision to "a" and the date to 2000-05-05, because I released a test binary at https://web.archive.org/web/20050909125654/harbour.netfang.net/ 20000509-22:27 GMT+2 Maurilio Longo <maurilio.longo@libero.it> * source/rtl/teditor.prg + added a few methods and a new class to support (someday) soft CR * source/rtl/memoedit.prg * changed to simulate a K_CTRL_W as LastKey() after a MemoEdit() call 20000509-00:15 GMT-8 Ron Pinkas <Ron@Profit-Master.com> * source/compiler/hbpcode.c ! Corrcted HB_P_NOT and minor fixes. 20000508-22:50 GMT-8 Ron Pinkas <Ron@Profit-Master.com> * source/compiler/hbpcode.c * Modified hb_compStrongType() to accept NIL as valid parameter for all declared parameters. 20000508-22:50 GMT-8 Ron Pinkas <Ron@Profit-Master.com> * source/compiler/harbour.l - Removed un used token DECLARE_ * source/compiler/harbour.y ! Fixed warning about conflict ! Verified all calls to hb_compVariableAdd() to use hb_comp_cVarType (and VT_OFFSET_* constants) as 2nd parameter + Added rules to support syntax of declaration of variable by reference parameter. * include/hbcomp.h + Added : #define VT_OFFSET_BYREF 60 #define VT_OFFSET_VARIANT 90 #define VT_OFFSET_OPTIONAL 90 * source/compiler/harbour.c * Minor cleanup in hb_compVariableAdd() * source/compiler/hbpcode.c * Modified hb_compStrongType() to use VT_OFFSET_* constants. * source/compiler/hbgenerr.c * Changed "number" to "#" in HB_COMP_WARN_PARAM_TYPE message. * tests/testwarn.prg + Added code to demonstrate new "Declared Refernced Parameter" syntax: DECLARE FRead( nHandle As Num, @cBufferVar As Char, nBytes As Num ) AS Num 20000508-22:50 GMT-3 Luiz Rafael Culik <culik@sl.conex.net> *doc/genhtm.rsp +Added lang.txt to HBDOC response file *doc/en/compiler.txt +Added -w4 description +doc/en/lang.txt *Documentation for HB_LANGSELECT() and HB_LANGNAME() The follow is mission from previus session *doc/en/rddmisc.txt *some docs rewriten *doc/en/array.txt *Change Lib name entry in $FILES$ section from ASORT() function to rtl and back to vm *source/lang/msgpt.c *small changes 20000509-00:35 GMT+1 Viktor Szakats * include/hbsetup.h ! Removed doubled part. 20000508-00:20 GMT-8 Ron Pinkas <Ron@Profit-Master.com> * source/compiler/harbour.l + Added rules so that "optional" won't conflict with identifiers named optional. 20000507-21:20 GMT-8 Ron Pinkas <Ron@Profit-Master.com> * source/compiler/harbour.l + Added token "optional" * source/compiler/harbour.y + Added token "optional", DecParam, DecParamList, OptParams. + Added support for optional parameters syntax in declared functions. * source/compiler/harbour.c + Added logic in hb_compVariableAdd() to deal with optional parameters of declared functions. * source/compiler/hbpcode.c + Added logic in hb_compStrongType() to deal with optional parameters of declared functions. * tests/testwarn.prg + Added code to demonstrate usage and warnings of optional parameters in declared functions. 20000507-23:30 CET Patrick Mast <harbour@PatrickMast.com> * source/compiler/cmdcheck.c + Added -? and -h option for the compiler. these options show the Harbour usage page. 20000507-13:35 GMT-8 Ron Pinkas <Ron@Profit-Master.com> * include/hberrors.h + Added : #define HB_COMP_WARN_VAL_NOT_USED 20 * source/compiler/harbour.c + Added logic to hb_compOptimizeFrames() to warn about invalid statics usage. * source/compiler/hbgenerr.c + Added: "3Value of Variable \'%s\' never used" * source/compiler/hbpcode.c * Enhanced support for statics * tests/testwarn.prg + Added more code to demonstrate more warnings. 20000507-05:20 GMT-8 Ron Pinkas <Ron@Profit-Master.com> * include/hbpcomp.c + Added pPrivates to structure FUNCTION. * source/compiler/harbour.c + Added logic to maintain linked list pPrivates of pFunc. * source/compiler/harbour.y + Added support for MEMVAR AS ... syntax. * source/compiler/hbpcode.c + Added static PVAR hb_compPrivateFind( char * szPrivateName ) + Added support for FIELD AS ... and MEMVAR AS both local and global. ! More refinments * tests/testwarn.prg + Added more code to demonstrate more warnings. 20000507-14:05 GMT+1 Ryszard Glab <rglab@imid.med.pl> *include/hbapi.h *include/hbmacro.h *source/rtl/macro.c *source/rtl/memvars.c * hb_memvarScope() function has now a global scope * fixed the value returned by TYPE() function for variables not visible at runtime (now returns 'U' instead of 'UE') 20000507-09:40 GMT+1 Viktor Szakats * tests/gnu_test.bat ! Fixed envvar references. 20000506-22:45 GMT-8 Ron Pinkas <Ron@Profit-Master.com> * include/hbcomp.h + Added #define VS_NONE 0 * source/compiler/harbour.c ! Fixed bug in hb_compVariableAdd() was never adding new var to pFunc->pMemvars because hb_comp_iVarScope was tested with == rather & VS_MEMVAR * source/compiler/harbour.y + Added hb_comp_iVarScope = VS_NONE to reset it after PRIVATE PUBLIC and PARAMETERS statements. * source/compiler/hbpcode.c + Added logic to reset type of privates (need to check publics) after calls to functions or procedures which might affect them. ! Many fixes and consolodiations 20000506-16:35 GMT-8 Ron Pinkas <Ron@Profit-Master.com> * source/compiler/hbpcode.c + Added logic to hb_compStrongType() to support object methods and properties. * Enhanced logic of array checks. * include/hberrors.h ! Added #define HB_COMP_WARN_ARRAY_ASSIGN_SUSPECT * source/compiler/hbgenerr.c * Added : 4Suspicious type in assignment to declared array element expected: \'%s\'" 20000506-12:10 GMT-8 Ron Pinkas <Ron@Profit-Master.com> * source/compiler/hbpcode.c + Added logic to allow PLUS an MINUS to accept any type as long as same. ! Fixed compiler warning about pVar * Minor optimizations 20000506-17:46 GMT+1 Viktor Szakats * source/compiler/harbour.c ! hb_compGenPushDouble() buffer overflow bug fixed. Thanks to Istvan Foldi. 20000505-19:26 GMT+1 Antonio Linares <alinares@fivetech.com> * source/compiler/genobj32.c * 4 bytes alignment compatible. * source/vm/borinit.c * 4 bytes aligment compatible. * makefile.bc + borinit.c added 20000505-19:15 GMT+1 Ryszard Glab <rglab@imid.med.pl> *include/hbapi.h *include/hbexprop.h *source/common/expropt1.c *source/macro/macro.y *source/vm/macro.c * added int exprType for HB_MACRO structure * TYPE( "{|| NotLinked()}" ) returns now 'B' instead of 'UI' 20000505-17:53 GMT+1 Ryszard Glab <rglab@imid.med.pl> *include/hbcomp.h *source/compiler/harbour.c *moved declaration of hb_compVariableGetPos into the header file *source/compiler/harbour.c * fixed generation of line number pcode at the beginning of a function *source/compiler/hbpcode.c * fixed non-standard escape sequence "\]" (gcc warnings) * fixed incorrect number of parameters passed to sprintf 20000505-10:47 GMT+2 Maurilio Longo <maurilio.longo@libero.it> * source/rtl/teditor.prg ! cvs completely broke source file adding Chr(13) chars allover 20000504-23:00 GMT-8 Ron Pinkas <Ron@Profit-Master.com> * source/compiler/cmdcheck.c + Added -w4 option for the compiler. 20000504-22:40 GMT-8 Ron Pinkas <Ron@Profit-Master.com> * source/compiler/harbour.c - Removed static qualifier from hb_compVariableGetPos() so it can be called from hb_compStrongType() * source/compiler/hbpcode.c + Added logic to hb_compStrongType() to allow assigment of NIL to any type variable. + Added "Adaptive Type Checking" to control type mismatch in undeclared variables. * include/hberrors.h ! Modified #define HB_COMP_ARRAY_ASSIGN_TYPE to HB_COMP_WARN_ARRAY_ASSIGN_TYPE * source/compiler/hbgenerr.c * Moved "Suspecious ..." to level w4 * tests/testwarn.prg + Added code to demonstrate "Adaptive Type Checking". 20000505-02:03 GMT+1 Viktor Szakats * make_gnu.* - Removed output redirection. * config/dos/bcc16.cf * config/dos/djgpp.cf ! echo -> echo. * contrib/hbclip/* + HB_ARGC(), HB_ARGV() added. 20000505-00:27 GMT+2 Maurilio Longo <maurilio.longo@libero.it> * source/rtl/teditor.prg ! fixed a few bugs 2000-05-04 18:00 GMT-4 David G. Holm <dholm@jsd-llc.com> * contrib/rdd_ads/ads1.c ! The adsGoBottom() function was not using the current index order. % Minor formatting changes (added missing space in front of ? and on both sides of : in several ?: expressions) 20000504-17:10 GMT+1 Ryszard Glab <rglab@imid.med.pl> *include/hbvm.h *source/vm/hvm.c * added hb_vmPushPointer( void * pPointer ) function to push an item of type HB_IT_POINTER onto the eval stack *source/rdd/dbcmd.c *source/rdd/dbf1.c *source/rdd/delim1.c *source/rdd/sdf1.c *source/rdd/dbfcdx/dbfcdx1.c *source/rdd/dbfntx/dbfntx1.c * changed to access pointers via hb_vmPushPointer/hb_itemGetPtr instead of passing them using values of long type 20000504-04:05 GMT-8 Ron Pinkas <Ron@Profit-Master.com> * source/compiler/hbpcode.c ! Fixed GPF when Array of 0 elements created. 20000504-03:10 GMT-8 Ron Pinkas <Ron@Profit-Master.com> * source/compiler/harbour.l + Added: "as bool array" { return AS_LOGICAL_ARRAY; } "as boolean array" { return AS_LOGICAL_ARRAY; } "as var" { return AS_VARIANT; } "as variant" { return AS_VARIANT; } "as num array" { return AS_NUMERIC_ARRAY; } "as numeric array" { return AS_NUMERIC_ARRAY; } "as char array" { return AS_CHARACTER_ARRAY; } "as character array" { return AS_CHARACTER_ARRAY; } "as string array" { return AS_CHARACTER_ARRAY; } "as logical array" { return AS_LOGICAL_ARRAY; } "as bool array" { return AS_LOGICAL_ARRAY; } "as boolean array" { return AS_LOGICAL_ARRAY; } "as date array" { return AS_DATE_ARRAY; } "as array array" { return AS_ARRAY_ARRAY; } "as block array" { return AS_BLOCK_ARRAY; } "as object array" { return AS_OBJECT_ARRAY; } "as var array" { return AS_VARIANT; } "as variant array" { return AS_VARIANT; } * source/compiler/harbour.y + Added AsArray + Added : %token AS_NUMERIC_ARRAY AS_CHARACTER_ARRAY AS_LOGICAL_ARRAY AS_DATE_ARRAY AS_ARRAY_ARRAY AS_BLOCK_ARRAY AS_OBJECT_ARRAY AS_VARIANT_ARRAY + Added rules to support declarion of array elements type * source/compiler/harbour.c ! Minor fix to hb_compVariableGetPos() to signify var usage if warning level lower than 3 * source/compiler/hbpcode.c + Added logic to hb_compStrongType() to support type checking of array elements declared type. * include/hberrors.h + Added #define HB_COMP_ARRAY_ASSIGN_TYPE * source/compiler/hbgenerr.c + Added : "3Incompatible type in assignment to declared array element expected: \'%s\'" * tests/testwarn.prg + Added code to demonstrate more warnings. * contrib/hbclip/hbclip.ch + Added additional strong typing compatibility translations 20000504-12:07 GMT+3 Chen Kedem <niki@synel.co.il> * doc/en/array.txt ! Change ASORT() $COMPLIANCE$ as suggested by Viktor Szakats 20000504-09:12 GMT+1 Viktor Szakats * contrib/hbclip/hbclip.ch + Added strong typing compatibility translation * include/hbcomp.h * include/hberrors.h * source/compiler/harbour.c * source/compiler/hbpcode.c ! Some macros renamed ! One warning fixed. ! Minor fixes. 20000503-21:30 GMT-8 Ron Pinkas <Ron@Profit-Master.com> * include/hbcomp.h + Added: #define VU_NOT_USED 0 #define VU_INITIALIZED 1 #define VU_USED 2 * source/compiler/harbour.c * Modified refrences to pVar->iUsed to use new VU_* constants. * source/compiler/hbpcode.c * Enhanced hb_compStrongType() to check and set pVar->iUsed with new VU_*constants. 20000503-19:25 GMT-8 Ron Pinkas <Ron@Profit-Master.com> * source/compiler/harbour.c * Corrcetd pVars->iUsed = 1 to pVars->iUsed |= 1 in hb_compVariableGetPos() so it won't override -1 value from StrongType() 20000503-22:43 GMT+1 Viktor Szakats * source/rtl/filesys.c ! Cast added for MSVC. 20000503-01:45 GMT-8 Ron Pinkas <Ron@Profit-Master.com> * include/hberrors.h + Added: #define HB_COMP_NOT_INITIALIZED * source/compiler/hbgenerr.c + Added: "3Variable \'%s\' used but never initialized" * source/compiler/hbpcode.c * Enhanced hb_compStrongType() to warn against un-initialized varaiable usage. 20000503-01:00 GMT-8 Ron Pinkas <Ron@Profit-Master.com> * source/compiler/hbpcode.c * Fixed hb_compStrongType() to diffrentiate between a MEMVAR and a DECLARED FUNCTION with the same name. + Added support for HB_P_ARRAYPUSH * source/compiler/hbgenerr.c * Minor correction to "Incompatibe return type" * tests/testwarn.prg + Added code to demonstrate more warnings. 20000502-23:15 GMT-8 Ron Pinkas <Ron@Profit-Master.com> * include/hbcomp.h - Removed members cParamTypes and iParamCount from COMSYMBOL + Added member USHORT iStackSize to FUNCTION structure * Modified member pStack of FUNCTION to not pre allocate any memory. + Added new structure COMDECLARED + Added: extern PCOMDECLARED hb_compDeclaredAdd( char * ) and extern PCOMDECLARED hb_compDeclaredFind( char * ); + Adede: extern PCOMDECLARED hb_comp_pFirstDeclared and extern PCOMDECLARED hb_comp_pLastDeclared * include/hberrors.h + Added: #define HB_COMP_DUP_DECLARATION 17 #define HB_COMP_DECLARATION_CONFLICT 18 * source/compiler/genc.c * Modified hb_compGenCCode() to free the Declared Function linked list. * source/compiler/harbour.c + Added: PCOMDECLARED hb_compDeclaredAdd( char * ) and PCOMDECLARED hb_compDeclaredFind( char * ); + Adede: PCOMDECLARED hb_comp_pFirstDeclared and PCOMDECLARED hb_comp_pLastDeclared * source/compiler/harbour.y * Modified parsing of DECLARE FUNCTION to use new PCOMDECLARED rather than PCOMSYMBOL * source/compiler/hbgenerr.c + Added: "3Duplicate Declaration of Function %s" "3Function \'%s\' conflicting with its declaration" * source/compiler/hbpcode.c * Modified hb_compStrongType() to utilize PCOMDECLARED rather than PCOMSYMBOL * Modified hb_compStrongType() to increase the pFunc->pStack as needed. * tests/testwarn.prg + Added code to demonstrate more warnings. 20000503-01:13 GMT+1 Viktor Szakats * source/compiler/hbgenerr.c * Some small cleanups on the error texts. 20000503-00:39 GMT+1 Viktor Szakats * bin/bld.* + Modified to use the HB_???_INSTALL envarrs instead of the hard-wired paths for binaries, include files and libraries. 20000503-00:01 GMT+2 Maurilio Longo <maurilio.longo@libero.it> * source/rtl/teditor.prg + added word wrapping capabilities * text is saved if user presses K_ALT_W (sorry) this deviates from clipper but until we find a way to detect real K_CTRL_W it's better than nothing. ! fixed a bug in text splitting when on last line of text * source/rtl/memoedit.prg * changed to match new TEditor capabilities 20000502-22:04 GMT+1 Viktor Szakats * source/lang/msges.c ! Updated by Jose Lalin 20000502-19:28 GMT+1 Viktor Szakats * source/vm/hvm.c % hb_vmFunction() and hb_vmSendFunc() "inlined". Note that hb_vmFunction() is still there since it's used from one places in classes.c. - Redundant declaration removed. * source/rtl/do.c ! Typo + NOTE added about Harbour extension. 20000502-19:12 GMT+1 Viktor Szakats * makefile.vc * EVAL.C moved to VM from RTL * source/vm/proc.c ! Typo. * make_gnu.cmd + Error output redirection readded to be in sync with the other make files. If you need to customize this for your own taste, please make a local copy of it before. 20000502-17:15 GMT+1 Ryszard Glab <rglab@imid.med.pl> *makefile.bc *source/rtl/Makefile *source/vm/Makefile -source/rtl/eval.c +source/vm/eval.c * fixed bug in EVAL function when a parameter was passed using the reference * since the EVAL function is using a direct stack access instead of hb_param() function the file eval.c is now moved into VM directory 20000502-16:22 GMT+1 Ryszard Glab <rglab@imid.med.pl> *source/compiler/harbour.l * fixed syntax: RETURN ++variable 20000502-16:07 GMT+1 Ryszard Glab <rglab@imid.med.pl> *source/compiler/hbpcode.c * increased buffers size used by sprintf to avoid GPF/code dumps 20000502-14:55 GMT+1 Ryszard Glab <rglab@imid.med.pl> *source/vm/hvm.c * fixed bug during accessing a constant arrays caused by the optimization - { 1, 2, 3 }[ n ] 20000502-14:25 GMT+1 Ryszard Glab <rglab@imid.med.pl> *source/compiler/harbour.c * fixed unused variable warning in a code that nobody is remembering why it was there 20000502-10:41 GMT+1 Viktor Szakats * include/hbpcode.h * include/hbexprb.c * include/hbexprc.c * include/hbvm.h * source/compiler/hbpcode.c * source/compiler/hbfix.c * source/compiler/genc.c * source/vm/hvm.c + HB_P_SEND and HB_P_SENDSHORT pcodes added. At this moment they are exactly the same as HB_P_FUNCTION[SHORT]. More work is needed to optimize the stack usage for SEND/DO/FUNCTION. + hb_vmSend() function added. ! WARNING ! All sources must be recompiled. 20000502-01:30 GMT-8 Ron Pinkas <Ron@Profit-Master.com> * source/compiler/harbour.c * Correction compiler warning about piShifts in hb_compOptimizeJumps(). * source/compiler/hbpcode.c * Correction compiler warning about pSym in hb_compStrongType(). 20000502-09:30 GMT+1 Viktor Szakats * utils/hbtest/rt_hvma.prg + Added some tests for the new compile-time generated double widths. * source/vm/hvm.c % Some optimization for hb_vmCalcDoubleWidth() * source/rdd/dbfcdx/dbfcdx1.c ! Fixed two -O2 GCC warnings. 2000-05-02 01:45 GMT-4 David G. Holm <dholm@jsd-llc.com> * include/hbapigt.h ! Changed INKEY_EXTENDED to INKEY_RAW to match inkey.ch. * source/vm/hvm.c ! Removed integer parameter test for 0 decimal places from division for 100% Clipper compatibility (Clipper only does this for compiler optimized integer division with an integer result). * source/vm/itemapi.c ! Default numeric to string conversion must never use more than 9 decimal places in order to be Clipper compatible. * tests/teststr.c + Added code to make it easier to compare Harbour and Clipper results and to deal with the sometimes wrong results from HB_OSNEWLINE(). 20000501-20:50 GMT-8 Ron Pinkas <Ron@Profit-Master.com> * source/compiler/harbour.l + Added "as char" and "as string" as acceptable alternative to "as character" + Added "as num" as acceptable alternative to "as numeric" 20000502-02:13 GMT+1 Viktor Szakats * source/compiler/harbour.l * source/macro/macro.l + The widths of the double values are calculated at compile time. The widths of the doubles generated in the expression optimizer are still forced to be calculated at runtime. Please test this! * source/vm/hvm.c % Width calculation moved to a separate function to lower the required stack space. 20000502-01:43 GMT+1 Viktor Szakats * include/hbapi.h * include/hbexprb.c * include/hbexprop.h * source/common/expropt1.c * source/common/expropt2.c * source/compiler/harbour.l * source/compiler/harbour.y * source/macro/macro.l * source/macro/macro.y * source/vm/hvm.c + The compiler enhanced to internally handle the double width info. It's not set to default at a lower-level. Note that it still isn't calculated. 20000502-01:14 GMT+1 Viktor Szakats * include/hbcomp.h * include/hbexprb.c * include/hbmacro.h * source/compiler/genc.c * source/compiler/harbour.c * source/compiler/hbpcode.c * source/vm/hvm.c * source/vm/macro.c + Added width info to the PUSHDOUBLE pcode, to be Clipper compatible. Note that the width is not yet calculated at compiled time, but the possibility is already there. 20000501-23:25 GMT+1 Viktor Szakats * include/Makefile ! Missing hbapi.h added to the file list. 20000501-23:21 GMT+2 Maurilio Longo <maurilio.longo@libero.it> * ChangeLog ! cvs server: warning: file `harbour/ChangeLog' seems to still contain conflict indicators Removed conflict indicators. 20000501-23:19 GMT+2 Maurilio Longo <maurilio.longo@libero.it> * source/rtl/teditor.prg ! fixed a few errors in aText handling * added missing navigation functions % aText shrinks when deleting lines of text * source/rtl/memoedit.prg * when exiting editor, if exited with K_CTRL_W gets modified text from editor to save it. IT DOESN'T work right now because I don't know how to distinguish K_CRTL_W from K_CTRL_END. :-| 20000501-14:15 GMT-8 Ron Pinkas <Ron@Profit-Master.com> * source/compiler/harbour.c * Minor correction to hb_compVariableAdd(). * source/compiler/hbpcode.c * Enhancements to hb_compStrongType() to support new PUSH/POPALIASEDFIELDNEAR. * tests/testwarn.prg + Added code to demonstrate more warnings. 20000501-19:05 GMT+1 Ryszard Glab <rglab@imid.med.pl> *source/vm/hvm.c * fixed unused variable warning 20000501-18:55 GMT+1 Ryszard Glab <rglab@imid.med.pl> *source/rtl/filesys.c * added support for hb_fsCommit() in Unix-like OS *source/compiler/harbour.c * fixed signed/unsigned warnings 20000501-18:48 GMT+1 Viktor Szakats * include/hbpcode.h * source/compiler/hbfix.c * source/compiler/hbpcode.c * source/compiler/genc.c * source/compiler/harbour.c * source/vm/hvm.c + Added new pcode: HB_P_PUSHBLOCKSHORT This is used for codeblocks which have no parameters, use no locals, and the total size is smaller than 255 bytes. The majority of codeblocks falls into this category. HBTEST is now 15 kB smaller. ! WARNING ! All .PRGs must be recompiled after the changes of today. 20000501 14:35 GMT-3 Luiz Rafael Culik <culik@sl.conex.net> *contrib/libgt/doc/gendoc.bat contrib/libgt/doc/gendoc.cmd contrib/libmisc/doc/gendoc.bat contrib/libmisc/doc/gendoc.cmd *Small changes *utils/hbdoc/hbdoc.prg *small bug fixed 20000501-18:05 GMT+1 Viktor Szakats * source/rtl/filesys.c ! Fixed hb_fsCurDirBuff() (and CURDIR()) for non-MINGW32 platforms. * include/hbapi.h + Added missing declaration from the previous CVS. 20000501-17:42 GMT+1 Viktor Szakats * source/vm/cmdarg.c * source/common/hbver.c * include/hbcomp.h * source/compiler/harbour.c * source/compiler/cmdcheck.c + Added /BUILD option for the compiler. This option will now also print the platform and Harbour versions. ! Fixed check for /CREDIT switch. * source/compiler/hbgenerr.c * Some small cleanups on the error texts. * makefile.bc - Removed duplicated and Borland only default language selection. This feature is already built in to HBSETUP.H, so there's no point to duplicate it. Or I'm missing something obvious. 20000501-16:08 GMT+1 Viktor Szakats * include/hbpcode.h * source/compiler/hbfix.c * source/compiler/hbpcode.c * source/compiler/genc.c * source/compiler/harbour.c * source/vm/hvm.c + Added new near pcodes for POP/PUSHALIASEDFIELD 20000501-15:45 GMT+1 Ryszard Glab <rglab@imid.med.pl> *source/rtl/filesys.c * added support for file locks under Unix compatible OS TODO: check the append locks * commit operation cannot be performed by closing a duplicated file handle - it releases all locks for this file on Unix compatible OS *source/vm/hvm.c *include/hbvm.h * added hb_vmEvalBlock() for a codeblock evaluation - it is passing no arguments to a codeblock * added hb_vmEvalBlockV() for a codeblock evaluation - it is using a variable number of arguments *source/rdd/dbcmd.c * fixed bug in defEvalBlock * fixed to call hb_vmEvalBlock() * some common parts moved into separate functions *include/hbcomp.h * changed 'BYTE iJumps' into 'ULONG iJumps' to stop reallocation error mentioned by Victor 20000501-15:37 GMT+1 Viktor Szakats * source/rtl/teditor.prg + source/rtl/memoedit.prg * source/rtl/Makefile * makefile.bc * makefile.vc ! Added missing CVS header. * Separated MEMOEDIT() function from the underlying class. + Added new files to makefile.vc + Defaults set for the MEMOEDIT() parameters. + cUserFunction logical value handled. ! Fixed to compile with 10 character symbol length limit. * source/rtl/dummy.prg - Removed commented line * source/compiler/hbusage.c + Developer list updated. * source/rtl/Makefile ! Fixed back the indentation of the file list from three spaces to one tab. + Added memoedit.prg 20000501 08:10 GMT-3 Luiz Rafael Culik <culik@sl.conex.net> *makefile.bc +added teditor.prg entry to makefile 20000501 08:00 GMT-3 Luiz Rafael Culik <culik@sl.conex.net> *contrib/libgt/doc/gendoc.bat contrib/libmisc/doc/gendoc.bat *Small changes *utils/hbdoc/hbdoc.prg *fixed small bug *contrib/libgt/doc/en/ht_gt.txt *fixed library name *contrib/libmisc/doc/en/ht_dbf.txt contrib/libmisc/doc/en/ht_class.txt contrib/libmisc/doc/en/ht_str.txt contrib/libmisc/doc/en/ht_conv.txt *fixed library name *doc/en/files.txt doc/en/rdddb.txt doc/en/rddmisc.txt *fixed Broken see also entrie 20000501-01:52 GMT-8 Ron Pinkas <Ron@Profit-Master.com> * source/compiler/hbpcode.c * Minor Enhancements to hb_compStrongType() * tests/testwarn.prg + Added code to demonstrate more warnings. 20000501-01:05 GMT-8 Ron Pinkas <Ron@Profit-Master.com> * include/hbcomp.h + Added to COMSYMBOL : BYTE * cParamTypes; int iParamCount; + Added : extern char * hb_comp_szDeclaredFun * source/compiler/harbour.y * Enhanced DECLARE FUNCTION parsing to properly maintain number and type of declared function parameters. * source/compiler/harbour.c + Added char * hb_comp_szDeclaredFun * Modified hb_compVariableAdd() to support dummy parameter vars in Function Decleration. * source/compiler/hbpcode.c * Enhancements to hb_compStrongType() to support parameter checks of declared function. * tests/testwarn.prg + Added code to demonstrate more warnings. * include/hberrors.h + Added : #define HB_COMP_PARAM_COUNT 15 #define HB_COMP_PARAM_TYPE 16 * source/compiler/hbgenerr.c + added : "3Invalid number of parameters: \'%s\' expected: \'%s\'" "3Incompatible parameter # %s expected: \'%s\'" 20000430-21:30 GMT-8 Ron Pinkas <Ron@Profit-Master.com> * source/compiler/harbour.c - Removed refrence to pFunc->iFunctionIndex. * source/compiler/hbpcode.c * Enhancements to hb_compStrongType() * tests/testwarn.prg + Added code to demonstrate more warnings. * include/hbcomp.h - Removed pFunctionCalls and iFunctionIndex members of _FUNC structure. 20000430-22:15 GMT-8 Ron Pinkas <Ron@Profit-Master.com> * source/compiler/harbour.y ! Fixed { hb_compVariableDim( $1, $2 ); } to { hb_comp_cVarType = 'A'; hb_compVariableDim( $1, $2 ); } so that correct type is saved. * source/compiler/hbpcode.c * Enhancements to hb_compStrongType() * source/compiler/hbgenerr.c + added : "3Can\'t use array index with NON Array" "3Incompatible return value: \'%s\' expected: \'%s\'" * include/hberrors.h + added : #define HB_COMP_WARN_NOT_ARRAY 13 #define HB_COMP_RETURN_TYPE 14 * tests/testwarn.prg + Added code to demonstrate more warnings. 20000430-23:00 GMT+2 Maurilio Longo <maurilio.longo@libero.it> * source/rtl/teditor.prg + added MemoEdit() lEditMode parameter handling 20000430-20:35 GMT+2 Maurilio Longo <maurilio.longo@libero.it> * source/rtl/teditor.prg + Implements TEditor CLASS and exports MemoEdit function. VERY miminal functionality / compatibility. Very little testing, but nonetheless fast enough for medium sized text. * source/rtl/Makefile + added teditor.prg to list of needed files. * source/rtl/dummy.prg - removed MemoEdit() declaration 20000430-17:45 GMT+1 Ryszard Glab <rglab@imid.med.pl> *include/hbcomp.h *include/hbexprop.h *include/hbmacro.h *source/vm/macro.c * removed redundancy in extern declarations * removed unused bStackAffected parameter used for strong typing 20000430-13:50 GMT+1 Ryszard Glab <rglab@imid.med.pl> *source/compiler/harbour.c *fixed possible memory reallocation error in hb_compNOOPadd() *fixed possible memory reallocation error in hb_compNOOPadd() *source/compiler/hbpcode.c *fixed pVar -> pSym 20000430 04:10 GMT-3 Luiz Rafael Culik <culik@sl.conex.net> *contrib/libgt/doc/gendoc.bat contrib/libgt/doc/gendoc.cmd contrib/libmisc/doc/gendoc.bat contrib/libmisc/doc/gendoc.cmd doc/genhtm.bat doc/genhtm.cmd *Small changes *contrib/libmisc/doc/libmisc.lnk contrib/libgt/doc/libgt.lnk doc/genhtm.lnk *Change The forced version number with a MACRO *Batch files for generating docs *utils/hbdoc/hbdoc.prg +Docver() and ReadLinkFile() functions to process the HBDOC link file macros 20000429-23:50 GMT-8 Ron Pinkas <Ron@Profit-Master.com> * harbour/source/compiler/harbour.c ! Fixed hb_compVariableAdd() to utilize parameter cValueType for Codeblock local variables, so that correct type is stored. * harbour/source/compiler/harbour.y ! Fixed hb_compExprCBVarAdd( $<asExpr>0, $1, $2 ) to hb_compExprCBVarAdd( $<asExpr>0, $1, hb_comp_cVarType ) and hb_compExprCBVarAdd( $<asExpr>0, $3, $4 ) to hb_compExprCBVarAdd( $<asExpr>0, $3, hb_comp_cVarType ) so that correct type is passed. + Added hb_comp_cVarType = ' ' to reset declared type after BlockVar[s] PRIVATE and PUBLIC. * harbour/source/compiler/hbpcode.c * Minor corrections to hb_compStrongType() 20000429-02:29 GMT-8 Brian Hays <bhays@abacuslaw.com> * nation.txt * misc.txt * memo.txt * input.txt * file.txt * math.txt ! misc. grammar, usage and accuracy fixes. 20000429-09:50 GMT+1 Viktor Szakats * bin/bld.* * make_gnu.* ! Some fixes. 20000427-15:34 GMT+1 Viktor Szakats * source/compiler/harbour.c ! hb_xgrab() casts added for ICC/OS2. * doc/howtocws.txt ! onelist -> egroups * doc/genhtm.lnk - Removed build number. - utils/hbdoc/genhtm.bat - utils/hbdoc/alpha.lnk - utils/hbdoc/categ.lnk - utils/hbdoc/hrb.rsp - utils/hbdoc/hrbtools.rsp - Removed files no more needed. 20000427-20:40 GMT+1 Ryszard Glab <rglab@imid.med.pl> *source/compiler/harbour.c * changed hb_xgrab/hb_xrealloc to use sprintf in case unsuccessfull allocation only 20000426 23:30 Luiz Rafael Culik <culik@sl.conex.net> !ChangeLog *Renamed ChangeLog to ChangeLog.007 and started a new one +doc/genhtm.rps *Hbdoc response file +doc/genhtm.lnk *hbdoc link file +doc/genhtm.bat doc/genhtm.cmd *Batch files for generating docs *doc/en/rddmisc.txt *Small Changes *utils/hbdoc/hbdoc.prg *Hbdoc use the '!Name:' inside the lnk file to define the winhelp title when /rtf command line option is specified. *Hbdoc use the link file name as the Name of the Winhelp Output when /rtf command line option is specified. *contrib/libgt/doc/gendoc.bat contrib/libmisc/doc/gendoc.bat *Small Changes 2000-04-26 20:40 GMT-4 David G. Holm <dholm@jsd-llc.com> * include/hbcomp.h ! Change hb_comp_iGenCOutput from BOOL to int, because it can have one of three values, not just TRUE or FALSE. * source/compiler/harbour.c ! Change hb_comp_iGenCOutput from BOOL to int, because it can have one of three values, not just TRUE or FALSE. ! Changed 'char * szSize [10];' to 'char szSize [10];' in hb_xgrab() and hb_xrealloc(). * source/compiler/hbpcode ! Added parentheses around & expressions in comparisons for the HB_P_PUSHSYMNEAR case due to operator precedence confusion resulting in compiler warnings. 20000426-12:30 GMT-8 Ron Pinkas <Ron@Profit-Master.com> * harbour/include/hbcomp.h + Added: BYTE pStack[256]; /* Compile Time Stack */ SHORT iStackIndex; /* Compile Time Stack Index */ BYTE pFunctionCalls[256]; /* Array of Function Calls Compile Time Stack Postion */ SHORT iFunctionIndex; /* Index into Array of Function Calls Compile Time Stack Postion */ * harbour/include/hberrors.h * Modified Memory Errors to indicate the requested size. -* Removed few Strong Type warnings, and modified few others. * harbour/include/hbexprb.c * Modified all HB_EXPR_PCODE?( hb_compGenPCode1 ,...) to HB_EXPR_GENPCODE?( ... ) to diferntiate between the calls top GenPCode?() and the other calls using this macro, since the GenPCode?() now uses additional parameter: BOOL bAffectStack * Modified all the GenPCode?() to pass additional required paramter. * harbour/include/hbexprc.c * Modified all HB_EXPR_PCODE?( hb_compGenPCode1 ,...) to HB_EXPR_GENPCODE?( ... ) to diferntiate between the calls top GenPCode?() and the other calls using this macro, since the GenPCode?() now uses additional parameter: BOOL bAffectStack * Modified all the GenPCode?() to pass additional required paramter. * harbour/include/hbexprop.h + Added macros: #define HB_EXPR_GENPCODE1( action, p1 ) action( (p1) ) #define HB_EXPR_GENPCODE2( action, p1, p2, p3 ) action( (p1), (p2), (p3) ) #define HB_EXPR_GENPCODE3( action, p1, p2, p3, p4 ) action( (p1), (p2), (p3), (p4) ) #define HB_EXPR_GENPCODE4( action, p1, p2, p3, p4, p5 ) action( (p1), (p2), (p3), (p4), (p5) ) And: #define HB_EXPR_GENPCODE1( action, p1 ) action( (p1), pMacro ) #define HB_EXPR_GENPCODE2( action, p1, p2, p3 ) action( (p1), (p2), (p3), pMacro ) #define HB_EXPR_GENPCODE3( action, p1, p2, p3, p4 ) action( (p1), (p2), (p3), (p4), pMacro ) #define HB_EXPR_GENPCODE4( action, p1, p2, p3, p4, p5 ) action( (p1), (p2), (p3), (p4), (p5), pMacro ) * harbour/include/hbmacro.h Added: extern void hb_compGenPCode1( BYTE, HB_MACRO_DECL ); extern void hb_compGenPCode2( BYTE, BYTE, BOOL, HB_MACRO_DECL ); extern void hb_compGenPCode3( BYTE, BYTE, BYTE, BOOL, HB_MACRO_DECL ); extern void hb_compGenPCode4( BYTE, BYTE, BYTE, BYTE, BOOL, HB_MACRO_DECL ); extern void hb_compGenPCodeN( BYTE * pBuffer, ULONG ulSize, BOOL, HB_MACRO_DECL ); And: extern void hb_compGenPCode1( BYTE byte, HB_MACRO_DECL ); extern void hb_compGenPCode2( BYTE byte1, BYTE byte2, BOOL bStackAffected, HB_MACRO_DECL ); extern void hb_compGenPCode3( BYTE byte1, BYTE byte2, BYTE byte3, BOOL bStackAffected, HB_MACRO_DECL ); extern void hb_compGenPCode4( BYTE byte1, BYTE byte2, BYTE byte3, BYTE byte4, BOOL bStackAffected, HB_MACRO_DECL ); extern void hb_compGenPCodeN( BYTE * pBuffer, ULONG ulSize, BOOL, HB_MACRO_DECL ); *** I think this is redundant but I went by exisitng declarations !!! Ryszard Please Check !!! * harbour/source/compiler/harbour.c * Modified GenPCode2-N() to require additional paramter. * Modified GenPCode2-N() to call StrongType() if needed. * Modified all the GenPCode?() calls to pass additional required paramter. * harbour/source/compiler/harbour.y * Modified all the GenPCode?() to pass additional required paramter. * harbour/source/compiler/hbgenerr.c * Modified Memory Errors to indicate the requested size. -* Removed few Strong Type warnings, and modified few others. * harbour/source/compiler/hbpcode.c Added void hb_compStrongType( int iSize ) - This is the Strong Type Checker! It's not 100% completed but it's stable and the approch guarntee 100% accuracy once we fine tune the calculations of the Compile Time Stack to be identical to the R/T Stack. * harbour/source/vm/macro.c * Modified GenPCode2-N() to require additional paramter. * Modified GenPCode2-N() to call StrongType() if needed. * Modified all the GenPCode?() calls to pass additional required paramter. * harbour/tests/testwarn.prg + Added code to demonstrate more warnings. 20000426-21:12 GMT+1 Antonio Linares <alinares@fivetech.com> * source/vm/borsym.asm naming minor changes. * source/vm/startup.asm symbols naming minor changes. + source/vm/borinit.c After latest genobj32.c changes, now we are able to extract this function from hvm.c and place it standalone. 20000426-16:58 GMT+1 Ryszard Glab <rglab@imid.med.pl> * source/rtl/gtcrs/gtcrs.c * the terminal is no longer scrolled up if something is written at MAXROW(),MAXCOL() position 20000426-15:17 GMT+1 Antonio Linares <alinares@fivetech.com> + source/compiler/genobj32.c * compiler version added into OBJ record * improved segments order 20000426-13:15 GMT+1 Ryszard Glab <rglab@imid.med.pl> *include/hbcomp.h *source/compiler/genc.c *source/compiler/harbour.c *source/compiler/hbfix.c *source/compiler/hbpcode.c *source/vm/hvm.c * fixed support for HB_P_(PUSH/POP)LOCALNEAR - it uses two bytes again * added function hb_compNOOPadd() to add position of HB_P_NOOP opcode that will be later removed at the jump optimization phase * due to CVS conflicts I have cancelled the latest Ron changes in hb_compCodeblockEnd - anyway I don't see any reason to create a temporary buffer that is filled with some values and next copied into pcode buffer - all these values can be copied directly NOTE: All source code HAVE TO be recompiled! *source/rtl/gtcrs/Makefile *source/rtl/gtcrs/gtcrs.c *source/rtl/gtcrs/kbdcrs.c *source/rtl/gtcrs/mousecrs.c * added new file kbdcrs.c with keyboard support - the separation from terminal code will allow to use different modules for keyboard handling (for example 'rawkeys' library) *tests/Makefile * all test modules that were using non-standard harbour functions are moved to BAD_PRG section 20000426-02:12 DST Paul Tucker <ptucker@sympatico.ca> * contrib/libmisc/make_vc.bat * correct lib name. 20000425-22:00 GMT-8 Ron Pinkas <Ron@Profit-Master.com> * source/compiler/harbour.c * Consolidated all hb_compGenPCodeX() belonging to 1 logical operation into just one hb_compGenPCodeN(). 20000426-00:22 GMT+1 Viktor Szakats * source/rtl/xsavescr.c * ChangeLog ! Fixed NOTE and ChangeLog entry * makefile.bc ! -DHB_OBJ_... default switch removed. * source/rtl/transform.c + PF_STRING + support for @S picture ! Now five more HBTESTs pass. * source/vm/hvm.c ! windows.h inclusion standardized. 2000-04-25 17:40 GMT-4 David G. Holm <dholm@jsd-llc.com> * include/hbcomp.h ! Change hb_comp_iGenCOutput from int to BOOL, to match actual usage in source/compiler/harbour.c, to avoid a C++ compile-time error. * source/compiler/harbour.c + The IBM C++ compiler requires _LNK_CONV between 'int' and 'hb_compSort_ULONG' in order to use the function with qsort(). 20000425-18:10 GMT+1 Ryszard Glab <rglab@imid.med.pl> * utils/hbdoc/Makefile * added lang library 20000425-07:30 GMT-8 Ron Pinkas <Ron@Profit-Master.com> * source/compiler/harbour.c * Resolved conflicts from my previous upload with Victor's change from JUMPSHORT TO JUMP*NEAR. 20000425-07:30 GMT-8 Ron Pinkas <Ron@Profit-Master.com> * source/compiler/harbour.c * Replaced sequential calls to hb_compGenPCode3() + hb_compGenPCode3() with 1 call to new hb_compGenPCode4() * source/compiler/hbpcode.c + Added hb_compGenPCode4( BYTE, BYTE, BYTE, BYTE ) * include/hbcomp.h + Added hb_compGenPCode4( BYTE, BYTE, BYTE, BYTE ) * source/vm/macro.c + Added hb_compGenPCode4( BYTE, BYTE, BYTE, BYTE, HB_MACRO_DECL ) 20000425-15:05 GMT+1 Ryszard Glab <rglab@imid.med.pl> *source/compiler/hbpcode.c *fixed length of HB_P_PUSHDOUBLE pcode 20000425-12:40 GMT+1 Ryszard Glab <rglab@imid.med.pl> *include/hbcomp.h *source/compiler/harbour.c *source/compiler/harbour.l *source/compiler/harbour.y *source/compiler/hbgenerr.c *source/pp/ppcore.c * fixed STATIC var[ <value> ] declaration * fixed DO &(<name>) WITH ... syntax * fixed reporting of line numbers in errors/warnings messages NOTE: fix in ppcore.c needs Alexander to review it - anyway empty lines cannot be buffered by a preprocessor (see hb_pp_nEmptyStrings) *source/rtl/gtstd/gtstd.c * removed atexit() call when HB_OS_UNIX is defined *source/vm/hvm.c * <windows.h> can be included only if HB_OS_WIN_32 is defined 20000425-11:36 GMT+1 Antonio Linares <alinares@fivetech.com> + source/vm/startup.asm Harbour startup for Win32 when not using any C compiler startup + source/vm/borsym.asm Borland _INIT_ segment bounds when not using Borland startup +- source/vm/borinit.c (added and removed, as it has to be placed inside hvm.c) * makefile.bc updated + startup.asm + borsym.asm * source/vm/hvm.c + static hb_vmProcessBorlandInitSegment() added process Borland _INIT_ segment (if linked) functions 20000424-11:42 GMT-8 Brian Hays <bhays@abacuslaw.com> * doc/en/datetime.txt * doc/en/dbstrux.txt * doc/en/dir.txt * doc/en/hvm.txt % minor grammatical touch-ups 20000425-05:42 GMT+1 Viktor Szakats * source/compiler/hbfix.c * pcode name changes applied. 20000425-04:37 GMT+1 Viktor Szakats * source/vm/arrays.c ! Trace line text fixed. * source/rtl/setfunc.prg ! HB_EXTENSION guards added. - source/rtl/xsavescr.prg + source/rtl/xsavescr.c * source/rtl/Makefile * makefile.bc * makefile.vc % __SAVESCREEN()/__RESTSCREEN() rewritten in C. 20000425-03:49 GMT+1 Viktor Szakats * source/rtl/gtstd.c * Some cosmetical changes, unused code removed. 20000425-03:38 GMT+1 Viktor Szakats * include/hbpcode.h * source/compiler/hbpcode.c * source/compiler/harbour.c * source/compiler/genc.c * source/vm/hvm.c * Some pcode names changed JUMPSHORT->JUMPNEAR JUMPNEAR* -> JUMP*NEAR JUMPFAR* -> JUMP*FAR (so that the size specifier is a postfix) % Some minor formatting and optimization in HVM.C 20000425-03:20 GMT+1 Viktor Szakats * source/compiler/hbusage.c ! Some corrections. * source/rtl/gtstd.c ! Fixed keyboard (and hangup) for Unix compatible systems. * utils/hbrun/Makefile ! exttools -> external * contrib/libmisc/makefile.bc * contrib/libmisc/makefile.vc * contrib/libgt/makefile.bc ! Fixed library names. 20000424-19:40 GMT+1 Ryszard Glab <rglab@imid.med.pl> *source/compiler/harbour.l * fixed recognition of WHILE abbreviation (WHIL) 20000424-19:15 GMT+1 Ryszard Glab <rglab@imid.med.pl> *source/compiler/hbfix.c * new file to handle final pcode fixing - it fixes local variable's positions (position on the eval stack) when PARAMETER statement is used *source/compiler/genc.c *source/compiler/harbour.c *source/compiler/hbpcode.c * added the table with opcode parameters length * added hb_compPCodeEval() to evaluate pcodes * added assertion code to keep some tables in sync with available opcodes * fixed bug when PARAMETER statement was used after LOCAL variables declaration * HB_P_PUSHLOCALNEAR/HB_P_POPLOCALNEAR occupies 3 bytes in the pcode buffer athough it uses the first two bytes only to store a value (these opcodes can be replaced with HB_P_(PUSH/POP)LOCAL after final fixing) NOTE: When the PARAMETER statement is used then the position of local variable is increased after the whole function/procedure is compiled (PARAMETERS is an usual executable statement that can be used after local variables are created) *source/vm/hvm.c * changed ( char ) type-casting into ( signed char ) to correctly support compilers that assume unsigned chars * updated to handle 3-bytes for PUSH/POP-LOCALNEAR *include/hbpcode.h * added HB_P_LAST_PCODE as a marker of the highest possible opcode value (it is used in some assertion code) *include/hbcomp.h * added declaration of hb_compPCodeEval() and some helper definitions * added declaration of hb_compFixFuncPCode() *source/compiler/Makefile *makefile.bc *makefile.vc * added hbfix.c *source/vm/itemapi.c * reverted a change (items unreferencing) because it caused GPFs when an inlined method of an object was called (it requires more testing) 20000424-03:44 GMT+1 Viktor Szakats * source/compiler/hbusage.c + Added Patrick Mast, Dave Pearson and Tim Stone to the credit list. * makefile.bc ! Fixed after some undocumented changes. 20000424 06:55 GMT -3 Luiz Rafael Culik <culik@sl.conex.net *doc/en/file.txt doc/en/diskspac.txt *Changed all categories names from Low-level disk information and Low-level file handling To Low-Level. *doc/en/string.txt *Changed LOWER() function categorie from strings() to strings() *STR() and STRZERO() functions categorie change from RUN-TIME LIBRARy,Strings to Strings *doc/en/*.txt *The rest of the docs files change removed the ".lib" that was used in the library name *contrib/libgt/doc/en/ht_gt.txt *contrib/libmisc/doc/en/ht*.* *All categories now use the TOOLS as part of the Categorie name This is to avoid crash between the RTL categories and the Tools categories *utils/hbdoc/hbdoc.prg *Remove the generation to the author.txt file *utils/hbdoc/hrbtools.rsp *Updated to reflect the docs dir changes +contrib/libgt/doc/gendoc.bat *Batch file to generate libgt docs +contrib/libgt/doc/libgt.rps *Response file for hbdoc +contrib/libgt/doc/libgt.lnk *link file for .NG format +contrib/libmisc/doc/gendoc.bat *Batch file to generate libmisc docs +contrib/libmisc/doc/libmisc.rps *Response file for hbdoc +contrib/libmisc/doc/libmisc.lnk *link file for .NG format +contrib/rdd_ads/doc/gendoc.bat *Batch file to generate rddads docs +contrib/rdd_ads/doc/rddads.rps *Response file for hbdoc +contrib/rdd_ads/doc/rddads.lnk *link file for .NG format 20000424-02:35 DST Paul Tucker <ptucker@sympatico.ca> + contrib/libnf/makefile.vc + contrib/libnf/make_vc.bat * contrib/libct/makefile.vc * contrib/libct/make_vc.bat * contrib/libgt/makefile.vc * contrib/libgt/make_vc.bat * contrib/libmisc/makefile.vc * contrib/libmisc/make_vc.bat * corrections. * contrib/libnf/getenvrn.c * contrib/libnf/descend.c * casts on xgrab call 20000424-03:44 GMT+1 Viktor Szakats * source/compiler/harbour.c % Small opt.: one frame optimizing call removed. 20000423-19:10 GMT+1 Ryszard Glab <rglab@imid.med.pl> *source/compiler/harbour.y *added support for using references as an array element { 1, @var } *source/vm/itemapi.c *added support for handling of references in arrays Example: a := 1 CallProc( { @a } ) ? a //prints: 2 PROC CallProc( x ) LOCAL y:=x[ 1 ] y++ NOTE: references in arrays cannot be used with usual operators For example (using the above code) ? y + x[ 1 ] will cause 'argument error: +' because hb_vmPlus() (and others) doesn't dereference arguments. 20000423-18:18 GMT+1 Ryszard Glab <rglab@imid.med.pl> *source/compiler/harbour.y *fixed incorrect error when a public/private variable was initialized with a codeblock using a local parameters 20000423-15:57 GMT+1 Viktor Szakats * source/compiler/hbusage.c + Added list of developers and documentors. This can be displayed with the /CREDIT switch. * doc/en/ht_gt.txt -> contrib/libgt/doc/en/hb_gt.txt * doc/en/ht_*.txt -> contrib/libmisc/doc/en/hb_*.txt * Moved some CONTRIB docs to the CONTRIB dirs. ! PLEASE UPDATE THE DOC SCRIPTS ! 20000423-14:35 GMT+1 Viktor Szakats * source/pp/Makefile - source/pp/stdalone/Makefile - source/pp/stdalone/hbpp.c + utils/hbpp/Makefile + utils/hbpp/hbpp.c * utils/Makefile * makefile.bc * makefile.vc (not tested) * HBPP.EXE source files moved to utils/hbpp from source/pp/stdalone/ 20000423-14:23 GMT+1 Viktor Szakats * source/rtl/alert.prg * source/rtl/tclass.prg % Minor optimization * source/vm/hvm.c ! Restored previous version, due to bugs. 20000423-12:23 GMT+1 Viktor Szakats + contrib/libct/makefile.bc + contrib/libct/makefile.vc + contrib/libgt/makefile.bc + contrib/libgt/makefile.vc + contrib/libmisc/makefile.bc + contrib/libmisc/makefile.vc + contrib/libct/make_b32.bat + contrib/libct/make_vc.bat + contrib/libgt/make_b32.bat + contrib/libgt/make_vc.bat + contrib/libmisc/make_b32.bat + contrib/libmisc/make_vc.bat + Added makefiles * contrib/libct/ctchrodd.c * contrib/libct/readme.txt ! Fixed bug. * bin/bld.* - Removed tools. 20000423-11:38 GMT+1 Viktor Szakats + contrib/libct/* + contrib/libgt/* + contrib/libmisc/* - source/tools/* * source/Makefile * makefile.bc * makefile.vc * tests/Makefile * utils/hbrun/Makefile - utils/hbrun/exttools.prg + utils/hbrun/external.prg * TOOLS dir moved to CONTRIB, and split into three parts. CT_ prefixed removed from the CT function names. ; ! WARNING ! It's likely that some test program will fail now, because they are using functions from TOOLS. These tests should be removed or corrected. * source/vm/hvm.c % Optimizations in hb_vmExecute() 20000423-06:09 GMT+1 Viktor Szakats * source/compiler/harbour.c * include/hbcomp.h ! Fixed static/non-static status of optimizer functions. ! Fixed copyright header. ! Renamed function in the header, too. ! Removed duplicate declaration for hb_compFinalizeFunction() 20000422-20:40 GMT-8 Ron Pinkas <Ron@Profit-Master.com> * source/compiler/hvm.c - Removed pOptimized from hb_compOptimizeJumps() which now uses memmove() and thus more effective. * Renamed hb_compFixReturns() to hb_compFinalizeFunction(). * source/compiler/harbour.y * Renamed call to hb_compFixReturns() to hb_compFinalizeFunction(). 20000423-05:15 GMT+1 Viktor Szakats - doc/compiler.txt - doc/gnulice.txt - doc/harbext.txt - doc/subcodes.txt + doc/en/compiler.txt + doc/en/gnulice.txt + doc/en/harbext.txt + doc/en/subcodes.txt * Moved some doc files which are part of the HBDOC generated docs. 20000423-04:02 GMT+1 Viktor Szakats * source/compiler/genc.c * source/compiler/harbour.c * source/vm/hvm.c ! PUSHLOCALNEAR and POPLOCALNEAR pcodes fixed. They didn't work in a codeblock. 20000423-03:24 GMT+1 Viktor Szakats * source/compiler/harbour.c ! Frame optimizer is called after all functions have been processed, otherwise the static frames cannot be fixed up correctly. ! Frame optimizer also called for the static initialization function to fixup or remove its SFRAME/STATICS pcode. ! Frame optimizer now fixes up HB_P_STATICS pcode. + Added SFRAME removing for the static initialization function. % The frame pcode removing made much faster. 20000422-22:47 GMT+1 Viktor Szakats * include/hbexprb.c * include/hbexprc.c * include/hbmacro.h * source/compiler/harbour.y * source/vm/macro.c % Compiler now generates HB_P_DOSHORT and HB_P_FUNCTIONSHORT pcodes where possible. * source/compiler/genc.c ! Fixed pcode generation (-gc1/2) for PUSHSYMNEAR * source/rtl/gtpca/gtpca.c * contrib/rdd_ads/ads1.c ! Fixed broken trace calls. * source/compiler/harbour.c ! GCC -O2 warning fixed. 20000422-21:36 GMT+1 Viktor Szakats * include/hbpcode.h * source/compiler/harbour.c * source/compiler/genc.c * source/compiler/hvm.c + HB_P_PUSHSTRSHORT and HB_P_PUSHSYMNEAR 2 byte pcodes added. HBTEST got 10 kB smaller after that. + HB_P_DOSHORT, HB_P_DOFUNCTION pcode handling added. But they are not yet generated by the compiler. (TODO!) ; by Jose Lalin * source/rtl/input.prg * source/rtl/setta.prg * source/rtl/browdbx.prg - removed dummy functions to compile this modules when HB_C52_UNDOC was not defined * source/compiler/hbpcode.c * Minor formatting. 20000422-11:35 GMT-8 Ron Pinkas <Ron@Profit-Master.com> * source/compiler/hvm.c * Minor correction of HB_TRACE messages for HB_P_ZERO, HB_P_ONE, HB_P_PUSHNIL, HB_P_PUSHBYTE, and HB_P_PUSHINT 20000422-20:37 GMT+1 Viktor Szakats * source/vm/hvm.c % Removed the temporary uiParams variable in hb_vmExecute(). * include/hbvm.h * include/hbvmpub.h * source/vm/hvm.c ! hb_vmExecute() first param marked "const" * source/compiler/harbour.c * source/compiler/genc.c + Added support for empty .prg files. Thanks to Jose Lalin. 20000422-18:41 GMT+1 Viktor Szakats * include/hbpcode.h * source/compiler/harbour.c * source/compiler/genc.c * source/compiler/hvm.c + HB_P_PUSHLOCALNEAR and HB_P_POPLOCALNEAR 2 byte pcodes added. These are used when the referred local is the range of -128-127. The code is more compact this way, since these pcodes will be used in the wast majority of cases. * source/compiler/hvm.c - Removed hb_vmPushByte(), replaced with hb_vmPushInteger(). % Inlined the code for PUSHBYTE, PUSHINT, PUSHZERO, PUSHONE to make it faster. hb_vmPushZero()/hb_vmPushOne() removed. * source/compiler/genc.c % The static pcode array is now "const" % It will now put 14 opcodes in each line instead of 8 in -gc0 mode. * source/compiler/hbusage.c ! Typo. 20000422-16:16 GMT+1 Viktor Szakats * source/compiler/genc.c * source/compiler/genhrb.c * source/compiler/genjava.c ! Optimized all output types. Variables removed, made faster, cleaner. % #include "hbpcode.h" is not included in the generated C code for -gc0 ! Warnings fixed in GENOBJ32 * source/compiler/cmdcheck.c * source/compiler/hbusage.c * -gf switch changed to -go * include/hbcomp.h * source/compiler/harbour.c * source/compiler/cmdcheck.c * source/compiler/hbusage.c - source/compiler/genrc.c - source/compiler/genpas.c * source/compiler/Makefile * makefile.bc * makefile.vc - Removed GENPAS and GENRC because they were not used. * source/compiler/harbour.c ! Returning errorlevel after the help screen. (Thanks to Dave) * include/hbvm.h * source/vm/hvm.c ! PushOne/PushZero/PushByte() made static in hvm.c ! Fixed trace call in PushByte() ! Fixed casts in PushOne/PushZero/PushByte() 20000422-06:20 GMT-8 Ron Pinkas <Ron@Profit-Master.com> * source/include/hbvm.h * Corrected comments of hb_vmPushOne(), hb_vmPushZero(), and hb_vmPushByte() 20000422-13:50 GMT+1 Ryszard Glab <rglab@imid.med.pl> *source/rtl/gtcrs/gtcrs.c *source/rtl/gtcrs/mousecrs.c *fixed arrow keys under xterm *added support for mouse under xterm *source/compiler/harbour.c *fixed duplicated variable error when PARAMETER variable was also declared as a MEMVAR variable 20000422 08:20 gmt -3 Luiz Rafael Culik <culik@sl.conex.net> +contrib\libnf\getenvrn.c contrib\libnf\n2color.c contrib\libnf\mkdir.c contrib\libnf\alt.c contrib\libnf\rmdir.c contrib\libnf\origin.c contrib\libnf\peek.c contrib\libnf\getver.c contrib\libnf\kspeed.c contrib\libnf\stod.c contrib\libnf\prtscr.c contrib\libnf\chdir.c contrib\libnf\ctrl.c contrib\libnf\numlock.c contrib\libnf\ontick.c contrib\libnf\idle.c contrib\libnf\descend.c contrib\libnf\color2n.c contrib\libnf\proper.c contrib\libnf\shift.c contrib\libnf\getvid.c contrib\libnf\mouse.c contrib\libnf\poke.c contrib\libnf\caplock.c contrib\libnf\elapmil.prg contrib\libnf\eltime.prg contrib\libnf\e2d.prg contrib\libnf\dispmsg.prg contrib\libnf\dfile.prg contrib\libnf\firstday.prg contrib\libnf\gcd.prg contrib\libnf\madd.prg contrib\libnf\lastday.prg contrib\libnf\isbiton.prg contrib\libnf\invclr.prg contrib\libnf\daytobow.prg contrib\libnf\datecnfg.prg contrib\libnf\asum.prg contrib\libnf\bitclr.prg contrib\libnf\any2any.prg contrib\libnf\amedian.prg contrib\libnf\aemaxlen.prg contrib\libnf\blink.prg contrib\libnf\byt2hex.prg contrib\libnf\cntryset.prg contrib\libnf\calendar.prg contrib\libnf\byteor.prg contrib\libnf\byteneg.prg contrib\libnf\menuto.prg contrib\libnf\miltime.prg contrib\libnf\vertmenu.prg contrib\libnf\week.prg contrib\libnf\tbwhile.prg contrib\libnf\sqzn.prg contrib\libnf\sinkey.prg contrib\libnf\woy.prg contrib\libnf\year.prg contrib\libnf\aavg.prg contrib\libnf\mouse2.prg contrib\libnf\test.prg contrib\libnf\mouse1.prg contrib\libnf\setdate.prg contrib\libnf\scancode.prg contrib\libnf\nwsem.prg contrib\libnf\page.prg contrib\libnf\ntow.prg contrib\libnf\netpv.prg contrib\libnf\month.prg contrib\libnf\pegs.prg contrib\libnf\pickday.prg contrib\libnf\savearr.prg contrib\libnf\restsets.prg contrib\libnf\qtr.prg contrib\libnf\prtesc.prg contrib\libnf\acctyear.prg contrib\libnf\acctqtr.prg contrib\libnf\diskfunc.prg contrib\libnf\dosver.prg contrib\libnf\dectobin.prg contrib\libnf\dayofyr.prg contrib\libnf\d2e.prg contrib\libnf\easter.prg contrib\libnf\elapsed.prg contrib\libnf\isbit.prg contrib\libnf\hex2dec.prg contrib\libnf\floptst.prg contrib\libnf\findith.prg contrib\libnf\clrsel.prg contrib\libnf\bytexor.prg contrib\libnf\aeminlen.prg contrib\libnf\anomatch.prg contrib\libnf\adessort.prg contrib\libnf\acctweek.prg contrib\libnf\acctadj.prg contrib\libnf\aredit.prg contrib\libnf\at2.prg contrib\libnf\bytenot.prg contrib\libnf\byteand.prg contrib\libnf\byt2bit.prg contrib\libnf\bitset.prg contrib\libnf\isshare.prg contrib\libnf\linked.prg contrib\libnf\sleep.prg contrib\libnf\sysmem.prg contrib\libnf\settime.prg contrib\libnf\scregion.prg contrib\libnf\savesets.prg contrib\libnf\vidcur.prg contrib\libnf\wda.prg contrib\libnf\aading.prg contrib\libnf\tempfile.prg contrib\libnf\xbox.prg contrib\libnf\workdays.prg contrib\libnf\round.prg contrib\libnf\rand1.prg contrib\libnf\vidmode.prg contrib\libnf\nooccur.prg contrib\libnf\min2dhm.prg contrib\libnf\metaph.prg contrib\libnf\menu1.prg contrib\libnf\nwlstat.prg contrib\libnf\nwuid.prg contrib\libnf\pvid.prg contrib\libnf\popadder.prg contrib\libnf\pending.prg contrib\libnf\pchr.prg contrib\libnf\acctmnth.prg *Source code for the nanfor library +contrib\libnf\readme.txt *readme file for nanfor. see it for items that still has to be fixit or implemented in c +contrib\libnf\nanfor.bc +makefile for nanfor library Please update the make file for the other compilers 20000421-10:30 GMT+1 Antonio Linares <alinares@fivetech.com> * source/compiler/genobj32.c * GetFunctionLocalsCount() removed. No longer needed. 20000421-14:20 GMT-8 Ron Pinkas <Ron@Profit-Master.com> * source/compiler/hvm.c + Added support for new PCodes HB_P_PUSHBYTE, and HB_P_PUSHONE + Added void hb_vmPushOne( void ), void hb_vmPushZero( void ) and void hb_vmPushByte( BYTE ) * Optimized HB_P_ZERO by using hb_vmPushZero() * source/compiler/harbour.c - REMMED not used hb_compGenPushInteger() * Optimized hb_compGenPushLong() to USE HB_P_ZERO, HB_P_ONE, HB_P_PUSHBBYTE, HB_P_PUSHBINT, or , HB_P_PUSHLONG as needed. * Optimized few pairs of hb_compGenPCode1() to use hb_compGenPCode2() instead. * source/compiler/genc.c + Added support for PCodes HB_P_PUSHBYTE, and HB_P_PUSHONE * source/compiler/hbpcode.c + Added hb_compGenPCode2( BYTE, BYTE ) * source/compiler/harbour.y * Optimized few pairs of hb_compGenPCode1() to use hb_compGenPCode2() instead. * source/include/hbpcode.h + Added PCodes HB_P_PUSHBYTE, and HB_P_PUSHONE * source/include/hbvm.h + Added: extern void hb_vmPushOne( void ); /* pushes a 0 onto the stack */ extern void hb_vmPushZero( void ); /* pushes a 1 onto the stack */ extern void hb_vmPushByte( BYTE bNumber ); /* pushes a integer number onto the stack */ * include/hbcomp.h - Removed #ifef of GenObj32 20000421-21:56 GMT+2 Maurilio Longo <maurilio.longo@libero.it> * include/hbcomp.h ! conflicting declaration with harbour.c 20000421-10:11 GMT+1 Antonio Linares <alinares@fivetech.com> * source/compiler/genobj32.c * Some little fixes after Ron changes 20000420-23:15 GMT-8 Ron Pinkas <Ron@Profit-Master.com> * source/compiler/cmdcheck.c - Removed #ifdef HARBOUR_OBJ_GENERATION * source/compiler/genhrb.c - Removed unused vars wVar and wLen. * source/compiler/genjava.c - Removed unused vars wVar and wLen. * source/compiler/genobj32.c - Removed #ifdef HARBOUR_OBJ_GENERATION * source/compiler/harbour.c - Removed #ifdef HARBOUR_OBJ_GENERATION 20000420-20:10 GMT-8 Ron Pinkas <Ron@Profit-Master.com> * source/compiler/harbour.c + Added hb_compOptimizeFrames() - Resolves and or removes HB_P_FRAME & HB_P_SFRAME. * Modified hb_compFixReturns() to call hb_compOptimizeFrames() * source/compiler/genc.c - Removed the SWITCH LOOP from hb_compGenCCompact() * source/compiler/genhrb.c - Removed the SWITCH LOOP from hb_compGenCCompact() * source/compiler/genjava.c - Removed the SWITCH LOOP from hb_compGenCCompact() * source/compiler/genobj32.c - Removed the SWITCH LOOP from hb_compGenCCompact() 20000420-22:00 GMT-3 Luiz Rafael Culik <culik@sl.conex.net> +contrib/nflib/cpmi/farcall.asm contrib/nflib/cpmi/alias.asm contrib/nflib/cpmi/freesel.asm contrib/nflib/cpmi/cpmi.h contrib/nflib/cpmi/isprot.asm contrib/nflib/cpmi/rmptr.asm contrib/nflib/cpmi/seg2sel.asm contrib/nflib/cpmi/setlimit.asm contrib/nflib/cpmi/allocdos.asm contrib/nflib/cpmi/allocsel.asm contrib/nflib/cpmi/freedos.asm contrib/nflib/cpmi/getbase.asm contrib/nflib/cpmi/getlimit.asm contrib/nflib/cpmi/int86.asm contrib/nflib/cpmi/pmptr.asm contrib/nflib/cpmi/resizdos.asm contrib/nflib/cpmi/setbase.asm contrib/nflib/cpmi/willgpf.asm +CPMI library. some nanfor functions need this library The other files will be upload in few hours 20000421-00:54 GMT+1 Viktor Szakats * include/hbapi.h * source/vm/hvm.c * source/vm/arrays.c - Removed the hb_arrayError() function. % The hb_arrayError() functionality moved to the only place where it was used: hb_vmArrayPush() and hb_vmArrayPop(). It should be a bit faster now. % Implemented optimization proposed by Ryszard for hb_vmArrayPush(). 20000421-00:34 GMT+1 Viktor Szakats * source/compiler/genc.c % Variable scopes adjusted. ! Some GCC warnings removed. * source/compiler/harbour.c ! Some GCC warnings removed ! One int changed to BOOL ! Indentation fixed 20000420-23:58 GMT+1 Viktor Szakats * source/compiler/genc.c ! STATICS and SFRAME fixed with -gc0 mode. * source/compiler/genhrb.c ! STATICS fixed. (please check) 20000420-23:33 GMT+1 Viktor Szakats * tests/Makefile ! Restored. * makefile.vc * makefile.bc ! lib path is added to the GT driver name. * include/hbcomp.h * source/compiler/genc.c * source/compiler/cmdcheck.c * source/compiler/hbusage.c * source/compiler/harbour.c + Added new -gc output type, namely a simple byte dump. Now -gc0 is the byte dump (this one is used by default when building Harbour itself, use HARBOURFLAGS to override), -gc1 is the pcode source without comments, and -gc2 is the pcode source with comments, which is also the default. When using -gc0 instead of -gc1, the size of the /obj dir after a Harbour build dropped by almost 25% (~1300 kB, from 5830 kB to 4506 kB for BCC55). * source/compiler/genjava.c ! Fixed some fputc() calls to hb_fputc() in GENJAVA % Optimized the GENJAVA output generation. 2000-04-20 15:50 GMT-4 David G. Holm <dholm@jsd-llc.com> * config/w32/msvc.cf ! Added $(LIB_EXT) following $(HB_GT_LIB) for LINKLIBS variable. 20000420-11:15 GMT-8 Ron Pinkas <Ron@Profit-Master.com> * source/compiler/hausage.c * Added "\n %cj[0|1] Jump Optimizer 0=Disabled 1=Enabled (default)", * Changelog * Corrected JAMP to JUMP in previous change entries. 20000420-17:35 GMT+1 Ryszard Glab <rglab@imid.med.pl> *source/rtl/gtdos/gtdos.c *fixed support for DJGPP compiler 20000420-13:46 GMT+1 Ryszard Glab <rglab@imid.med.pl> * source/compiler/genobj32.c * Some little fixes after Antonio changes :) NOTE: JUMPSHORT uses 1 byte for jump offset JUMP uses 2 bytes JUMPFAR uses 3 bytes plus 1 byte for the opcode itself 20000420-13:10 GMT+1 Antonio Linares <alinares@fivetech.com> * source/compiler/genobj32.c * Some little fixes after Ryszard changes 20000419-18:40 GMT+1 Ryszard Glab <rglab@imid.med.pl> *inlcude/hbcomp.h *source/compiler/genc.c *source/compiler/genhrb.c *source/compiler/genjava.c *source/compiler/genobj32.c *source/compiler/harbour.c *source/compiler/harbour.y * added code to handle new jump opcodes * fixed symbol table handling - there is no special handling needed for symbols' positions during output generation * the name of compiled file (the starting procedure) is not placed into the symbol table if '-n' switch is used * HB_P_ENDPROC is automatically generated after the function or procedure is parsed - there is no need to check it during output generation phase NOTE: output generated by genobj32.c is not tested! output generated by genjava.c is not tested! (did it worked ?) 20000419-16:00 GMT+1 Antonio Linares <alinares@fivetech.com> * source/compiler/genobj32.c * Implemented code optimizations proposed by Victor. 20000419-12:13 GMT+1 Antonio Linares <alinares@fivetech.com> * source/compiler/genobj32.c * Progressive fixes to support genc.c latest changes. (just missing latest Ron genc.c fixes!) 20000419-11:36 GMT+1 Viktor Szakats * tests/test.prg ! Restored the file changed without any ChangeLog info, and also breaking the build process for GNU-make. 20000419-10:37 GMT+1 Viktor Szakats * ChangeLog ! Some typos for my last ChangeLog 20000418-22:05 DST Paul Tucker <ptucker@sympatico.ca> * source/compiler/harbour.c * added casts. 20000418-18:35 GMT-8 Ron Pinkas <Ron@Profit-Master.com> * source/compiler/harbour.c * Modified hb_compCodeBlockEnd() to call hb_compOptimizeJumps() and release pNOOPs and pJumps pointers. 20000419-00:28 GMT+1 Viktor Szakats * source/rtl/gtcrs/gtcrs.c ! Removed "Linux" from the version string. * source/rtl/dateshb.c % DATE() local variables removed, non-standard string conversion, slow sprintf() call removed. Now using hb_retd() to return the value. It's faster and smaller now. * source/lang/Makefile * makefile.bc + New languages added. * include/hbver.h * Date bumped. * include/set.ch * __SET_COUNT_HB -> HB_SET_COUNT + HB_SET_BASE * bin/bld.* ! Redone some undocumented changes in the build batch files. + tests/testcdx.prg * tests/Makefile + New test file added. * source/rtl/gt*/gt*.c ! All hb_gt_xPutch() functions made static. * source/rtl/gtapi.c - Removed obsolete #define (hb_gtRepChar() related) ; by Jose Lalin * source/vm/asort.c % hb_itemLess fixed to handle LOGICAL values that were missed from first implementation * tests/ + tstasort.prg little test which gives the same results when asorting without codeblock and shows an error with codeblock. + vmasort.prg massive VM and aSort test C53 fails when executed with a value greater than 5. 20000418-19:30 GMT-3 Luiz Rafael Culik <culik@sl.conex.net) *doc/en/diskspac.txt doc/en/file.txt doc/en/set.txt *Fixed doc by fixing the errors reported by chen 2000-04-18 14:55 GMT-4 David G. Holm <dholm@jsd-llc.com> * source/rtl/gtwin/gtwin.c ! Don't generate a key code for Caps Lock. ! Generate the correct key code for Esc when Caps Lock is enabled on Windows 95. ! Changed 'coord' to 'coBuf' in hb_gt_Replicate(). 20000418-17:35 GMT+1 Antonio Linares <alinares@fivetech.com> * source/compiler/genobj32.c * Progressive fixes to support genc.c latest changes. 20000418-05:30 GMT-8 Ron Pinkas <Ron@Profit-Master.com> * source/compiler/hvm.c + Added PCodes HB_P_JUMPSHORT, HB_P_JUMPSHORTFALSE and HB_P_JUMPSHORTTRUE * source/compiler/harbour.c + Added hb_compOptimizeJumps() - Jumps Optimizer. + Added hb_compSort_ULONG() Call back function for qsort - used in the Jump Optimizer. + Added support for new elements of _FUNC. * Modified hb_compGen*Jump*() to support Short Normal and Far Jumps. * source/include/hbexprb.c * Reverted handling of .OR. .AND. and IIF() to use default (FAR) JUMPs - note the use of (0) when calling hb_compGenJump*(). * source/compiler/genc.c + Added support for HB_P_JUMPSHORT, HB_P_JUMPSHORTFALSE and HB_P_JUMPSHORTTRUE * source/compiler/cmdcheck.c + Added support for new switch -J[0|1] default is J1 which enables the Jump Optimizer - Use -J0 to disable. * source/compiler/hbgenerr.c - Removed following errors: "Jump offset too long for HB_P_JUMP needed HB_P_JUMPFAR", "Jump offset too long for HB_P_JUMPTRUE needed HB_P_JUMPFARTRUE", "Jump offset too long for HB_P_JUMPFALSE needed HB_P_JUMPFARFALSE", * Changed "HB_P_JUMPx not found when fixing offset" to "Jump PCode not found" * source/include/hberrors.h - Removed following defines: #define HB_COMP_ERR_INVALID_JUMPTRUE 46 #define HB_COMP_ERR_INVALID_JUMPFALSE 47 #define HB_COMP_ERR_JUMP_NOT_FOUND 48 * source/include/hberrors.h + Added following to __FUNC ULONG * pNOOPs; /* pointer to the NOOP array */ ULONG * pJumps; /* pointer to the Jumps array */ int iNOOPs; /* NOOPs Counter */ int iJumps; /* Jumps Counter */ * source/include/hbpcode.h + Added HB_P_JUMPSHORT, HB_P_JUMPSHORTFALSE and HB_P_JUMPSHORTTRUE 20000418-13:30 GMT+1 Ryszard Glab <rglab@imid.med.pl> *include/hbapigt.h *source/rtl/gtapi.c *source/rtl/gtdos/gtdos.c *source/rtl/gtcrs/gtcrs.c *source/rtl/gtos2/gtos2.c *source/rtl/gtpca/gtpca.c *source/rtl/gtsln/gtsln.c *source/rtl/gtstd/gtstd.c *source/rtl/gtwin/gtwin.c *source/rtl/gt_tpl/gt_tpl.c *box drawing procedures moved from gtapi.c to low-level modules - this will allow to use native (optimized) method of box drawing (xterm!) *full implementation of low-level hb_gt_Replicate() *added hb_gt_HorizLine() and hb_gt_VertLine() - this can be extended by definition of HB_LINE() or @ row,left,right LINE command (this will get line drawing support on platforms where @ ... BOX command is not suitable) *source/common/hbver.c *fixed REGS union access *source/rtl/gtcrs/gtcrs.c *support for box drawing added for xterm NOTE: Only @ y1,x1 TO y2,x2 and @ y1,x1 TO y2,x2 DOUBLE are reliable although both are drawing a single-line box The usual @ y1,x1,y2,x2 BOX ... depends on character mapping used in current font (Well I am not so familiar with it then this needs some more work - I can be wrong here :) If you want a single method of box drawing for all platforms use @ y1,x1 TO y2,x2 20000418-00:42 DST Paul Tucker <ptucker@sympatico.ca> * makefile.vc + source/lang/msghe862.c + source/lang/msghewin.c + source/lang/msgis850.c 20000418-12:30 GMT-3 Luiz Rafael Culik <culik@sl.conex.net) *doc/en/diskspac.txt *Updated doc to reflect the function change 2000-04-17 21:00 GMT-4 David G. Holm <dholm@jsd-llc.com> * config/dos/djgpp.cf ! Each LINKPATH entry must be written to the response file separately, because otherwise the DOS command line length is exceeded. It is not necessary to do the same for LINKLIBS at this time, but why tempt fate? So each LINKLIBS entry is also written separately. * source/common/hbtrace.c ! Added #include "hbapi.h" 2000-04-17 20:30 GMT-4 David G. Holm <dholm@jsd-llc.com> * source/common/hbstr.c * source/common/hbtrace.c * source/rtl/strings.c % Changed stricmp() in hbtrace.c to hb_stricmp and moved hb_stricmp() from strings.c to hbstr.c. 2000-04-17 19:45 GMT-4 David G. Holm <dholm@jsd-llc.com> * include/hbapirdd.h * source/rdd/dbfcdx/dbfcdx1.c ! Renamed _PAGEINFO to HB_PAGEINFO_STRU and renamed PAGEINFO to HB_PAGEINFO, because both _PAGEINFO and PAGEINFO are used by IBM's VisualAge C++ for completely different structures (this type of namespace collision is a prime example of why some of us keep insisting that the HB_ prefix should always be used). 20000417-23:01 GMT+2 Maurilio Longo <maurilio.longo@libero.it> * source/common/hbtrace.c * test between HB_TR_LEVEL environment variable returned values and defined ones have to be made irrespective of case, I mean stricmp() instead of strcmp() * config/os2/gcc.cf ! last time, I promise !! 2000-04-17 14:40 GMT-4 David G. Holm <dholm@jsd-llc.com> * doc/en/set.txt * include/hbset.h * include/set.ch * source/pp/pptable.c * source/rtl/set.c + Added support for 'SET( _SET_LANGUAGE, <cLanguageID> )'. * include/hbsetup.h + Added __RSXNT__ to the platform test for OS_DOS_COMPATIBLE. ! Only define HB_OS_UNIX if it is not already defined (unchanged) and OS_UNIX_COMPATIBLE is defined (used to be platform tests), because HB_OS_UNIX was being set for RSXNT and I couldn't see the point of duplicating all of the platform tests. * config/w32/gcc.cf * config/w32/mingw32.cf * config/w32/rsxnt.cf + Added LNK_USR_PATH and LNK_USR_LIB environment variables to specify non-Harbour libraries. Put one or more paths in LNK_USR_PATH and one or more base library names in LNK_USR_LIB, using spaces to separate. + source/lang/msgis850.c * source/lang/Makefile + Added partial Icelandic support for code page 850 (the national language code page for Icelandic is 861). 20000417-16:06 GMT+2 Maurilio Longo <maurilio.longo@libero.it> * config/os2/gcc.cf ! hope it's last time; before deleting old .a check if it exists * source/rtl/gtos2/gtos2.c ! a few calls to TRACE macro with wrong parameters name 20000417-15:55 GMT+1 Ryszard Glab <rglab@imid.med.pl> *source/rtl/diskspac.c *added support for U*ix like systems 20000417-15:27 GMT+3 Chen Kedem <niki@synel.co.il> * source/lang/msghe862.c * source/lang/msghewin.c * update Hebrew language support to the new API ! PLEASE update source/lang/Makefile ! 20000417-11:05 GMT+1 Ryszard Glab <rglab@imid.med.pl> *include/hbsetup.h *added automatic recognition of target platform for Watcom compiler Now HB_OS_DOS is correctly set for this compiler *include/hbdefs.h *added definition of HB_XREGS - this should be used to access a word size member of REGS union structure (Watcom uses different naming scheme) - for example: union REGS regs; regs.HB_XREGS.ax = 1; *source/rtl/filesys.c *fixed support for Watcom compiler *source/rtl/diskspac.c *source/rtl/inkey.c *source/rtl/isprint.c *source/rtl/net.c *source/rtl/gtdos/gtdos.c *source/rtl/gtdos/mousedos.c *changed to use HB_XREGS *source/rtl/gtapi.c *fixed printing using console output *source/rtl/gtcrs/gtcrs.c *altarnate characters set is disabled for xterm 20000417-06:32 GMT+1 Viktor Szakats * source/vm/asort.c ! Some fixes to ASORT() 20000417-05:49 GMT+1 Viktor Szakats * include/hbapi.h - source/rtl/asort.prg * source/rtl/Makefile + source/vm/asort.c * source/vm/Makefile * makefile.bc * makefile.vc + ASORT() rewritten using optimized C code, and using an optimized quicksort algorithm, the number of compares is even less than before. * ASORT() is now CA-Cl*pper compatible in handling the case when no codeblock is supplied, or the codeblock returns non logical value. ; Note that the function is new, so please test it as thoroughly as possible. ; Also thanks go to Jose Lalin. * include/hbapiitm.h * source/vm/itemapi.c + hb_itemSwap() function added. * source/lang/msges.c * Spanish language module updated. 20000416-15:23 GMT+2 Maurilio Longo <maurilio.longo@libero.it> * config/os2/gcc.cf % changed again * source/rtl/gtos2/gtos2.c % little change to Init procedure 20000416-15:23 GMT+2 Maurilio Longo <maurilio.longo@libero.it> * config/os2/gcc.cf ! fixed an error in ar rule ;-) * config/os2/install.cf % changed install rule to test existance of install dir * source/rtl/gtos2/gtos2.c % little typo fixed 20000416-14:19 GMT+2 Maurilio Longo <maurilio.longo@libero.it> * config/os2/gcc.cf ! fixed ar rule, in particular added a CLEAR command and used "&" as command separator. "||" is not a valid one under OS/2. Without CLEAR library is not refreshed if one of the files which make it are changed. 20000416-13:05 GMT+1 Ryszard Glab <rglab@imid.med.pl> *config/linux/gcc.cf *fixed to automatically select a proper screen library *include/hbapigt.h *source/rtl/gtapi.c *source/rtl/gt_tpl/gt_tpl.c *source/rtl/gtcrs/gtcrs.c *source/rtl/gtdos/gtdos.c *source/rtl/gtos2/gtos2.c *source/rtl/gtpca/gtpca.c *source/rtl/gtsln/gtsln.c *source/rtl/gtstd/gtstd.c *source/rtl/gtwin/gtwin.c *number of bytes required for a given rectangle size is calculated in the lowest level function hb_gt_RectSize( rows, cols ) - some screen drivers can store screen image in more complex method then byte+byte *source/rtl/gtcrs/gtcrs.c *full support for scrolling was added *full ASCII character set enabled including box drawing characters (however this don't work under xterm) *save/restore screen are available *source/rdd/dbfcdx/dbfcdx1.c * fixed NULL into 0 for string termination character (NULL in gcc compiler is defined as a pointer) 20000416-12:34 GMT+1 Viktor Szakats * source/lang/msgfr.c + source/lang/msgro.c * source/lang/Makefile * makefile.bc * makefile.vc + Added French and Romanian language modules. * make_gnu.* * bin/bld.* * Made them even more similar to make the updates easier. * source/rdd/dbfcdx/dbfcdx1.c ! One warning fixed. ! One trace call fixed. * doc/howtomak.txt + Added that Bison 1.25 is required as a minimum. 20000416-12:11 GMT+2 Maurilio Longo <maurilio.longo@libero.it> * source/rdd/dbfcdx/dbfcdx1.c ! removed a few warnings (static / non static declare). 20000416-08:47 GMT+1 Antonio Linares <alinares@fivetech.com> * source/compiler/genobj32.c + prefix "_HB_FUN_" added to function and external generated names. 20000415-21:10 GMT-3 Luiz Rafael Culik <culik@sl.conex.net) *doc/subcodes.txt *renamed all categories to Run time Error *doc/en/command.txt *rename category from command to oop command 20000415-16:04 DST Paul Tucker <ptucker@sympatico.ca> * source/rdd/dbfcdx/dbfcdx1.c * corrected my change to the segment naming. 20000415-21:39 GMT+1 Viktor Szakats * makefile.bc * makefile.vc * source/rtl/lang/Makefile * source/rtl/lang/ * msgca.c * msges.c * msgeu.c * msggl.c * Catalan, Spanish, Basque and Galician message modules converted to the new format and added to the makefiles. ; by Jose Lalin 20000415-15:15 DST Paul Tucker <ptucker@sympatico.ca> * source/rdd/dbfcdx/dbfcdx1.c * a number of casts to allow msvc to compile * added missing entries to workarea struct 20000415-20:46 GMT+1 Viktor Szakats * source/rdd/dbfcdx/dbfcdx1.c ! non-ANSI stricmp() changed to hb_stricmp() - Removed stdio.h and string.h since they are always included from hbapi.h ! Proprietary function _ltoa() changed to hb_cdxltoa() * include/hbapigt.h ! Doesn't include color.ch, but defines the same constants with HB_ prefix to avoid collision with OS/2 (so far). * HB_CLR_LASTCOLOR renamed to HB_CLR_MAX_ * source/rtl/gtapi.c + Using HB_CLR_MAX_ instead of duplicated define. * Prefixed CLR_ with HB_ * include/color.ch - Removed the note that this file is also included from .C files. - Removed CLR_LASTCOLOR which was not CA-Cl*pper compatible anyway. 20000415-19:09 GMT+2 Maurilio Longo <maurilio.longo@libero.it> * source/rdd/dbfcdx/dbfcdx1.c ! testdbf was failing with missing symbols, fixed to let testdbf compile 20000415-18:37 GMT+2 Maurilio Longo <maurilio.longo@libero.it> * source/rdd/dbfcdx/dbfcdx1.c ! fixed a couple of declarations HB_FUNC instead of HARBOUR ... * include/hbapigt.h ! CLR_BACKGROUND definition from color.ch conflicts with os2.h (os2emx.h) definition, but OS/2 defition is needed only if you use GPIxxx calls, so we can undef it. * config/os2/gcc.cf + added -O2 switch to gcc switches (optimize for speed), I will put -O3 as soon as I install gcc 2.95.3 at home. * make_gnu.cmd - removed redirection to file, I need to see errors as they appear (an my editor needs them as well :-)) 20000415-18:23 GMT+1 Viktor Szakats * include/hbapilng.h * source/rtl/langapi.c + hb_langSelectID() added * include/hbsetup.ch * include/hbsetup.h * source/vm/harbinit.prg * source/vm/hvm.c ! Default language selection moved to C level. * source/rdd/dbfcdx/dbfcdx1.c - Commented out old includes removed. 20000415-17:47 GMT+2 Maurilio Longo <maurilio.longo@libero.it> * ChangeLog ! Sorry Bruno, I mistyped your name, fixed. 20000415-17:38 GMT+2 Maurilio Longo <maurilio.longo@libero.it> * source/rdd/dbfcdx/dbfcdx1.c % added Bruno Cantero's file (from message on Harbour list), quick and dirty hack to make it compile (at least) lots of warnings and no tests made * include/hbapirdd.h % added Bruno Cantero's changes to make dbfcdx1.c happy. 20000415-15:07 GMT+1 Viktor Szakats * source/rtl/net.c + NETNAME() now works with BCC16 (and any other real mode DOS compiler for that matter). - Commented out for DJGPP. I leave this for someone who has the nerve to tweak it for PM. * bin/bld.bat * bin/bld.cmd ! Fix for bcc16 HB_GT_LIB selection. 20000415-13:01 GMT+1 Viktor Szakats * bin/bld.bat ! djgpp and bcc uses build scripts to avoid long command lines. * bin/bld_b16.bat * bin/bld_b32.bat * bin/bld_vc.bat + Now calls bld.bat to do the real work. * bin/bld.* + Now use HARBOURFLAGS and CFLAGS - bin/bld_b32o.bat - bin/bld_b32w.bat - Removed. Use SET CFLAGS=-tW and call bld_b32.bat for the bld_b32w.bat functionality, if you need it. bld_b32o.bat was specific and not working anyway. 20000415-12:38 GMT+1 Viktor Szakats * source/rtl/net.c ! Experimental NETNAME() support for DOS. It currently GPFs with DJGPP. * include/hbdefs.h - Removed #include <i86.h> for __WATCOMC__, since it seems that dos.h is including it automatically. + Added HB_DOS_INT86X() macro. * include/hbapilng.h * source/rtl/langapi.c * HB_LANG_REQUEST() moved to the header. * include/hbextern.ch + HB_LANGNAME() added. * source/vm/itemapi.c ! hb_itemDo() fixed rare bug. * source/rtl/errorapi.c * source/vm/hvm.c * source/pp/pplib.c * source/pp/stdalone/hbpp.c * source/rtl/set.c * source/rtl/transfrm.c * source/compiler/genc.c ! Fixed GCC -O2 warnings * One TODO changed to FIXME in __PREPROCESS() * source/rtl/gtapi.c * source/vm/extend.c ! Small modifications. * source/rtl/langapi.c ! Typo * source/vm/classes.c ! __CLSINSTSUPER() fix for error recovery code path. ! The return value of some Harbour functions made consistent on error cases (return 0 instead of NIL). 20000415-05:12 GMT+1 Viktor Szakats * include/error.ch * include/hbapilng.h * source/rdd/dbcmd.c * source/rtl/errorapi.c * source/vm/classes.c * source/vm/fm.c * source/vm/hvm.c * source/vm/itemapi.c * source/vm/memvars.c * source/lang/*.c + All internal error texts converted to support multi-language. Also the internal error code are now correctly set. 20000415-03:32 GMT+1 Viktor Szakats * include/error.ch * include/hbapilng.h * source/rtl/langapi.c * source/rtl/errorapi.c * source/rdd/dbcmd.c * source/lang/*.c + Moves to add multi-language support for all internal errors. * include/hbapilng.h * source/rtl/langapi.c * tests/langapi.prg + HB_LANGNAME(), hb_langID(), hb_langName() calls added. + source/lang/Makefile * makefile.vc + PT language added for other makefiles. + Missing Makefile added. 20000415-22:10 GMT-3 Luiz Rafael Culik <culik@sl.conex.net> *makefile.bc +added msgpt.c to dependencie list + source/lang/msgpt.c *Support module for Portugues Messages 20000414-17:57 GMT-8 Ron Pinkas <Ron@Profit-Master.com> * source/compiler/harbour.c * Corrected few Compiler warnings about type format * source/compiler/genc.c * Corrected few Compiler warnings about possible unitilized iBytes. 20000415-00:57 GMT+1 Viktor Szakats * include/hbapilng.h * source/lang/msg_tpl.c * source/lang/msgen.c * source/lang/msghu*.c ! One missing error string fixed. 20000414-22:10 GMT+1 Viktor Szakats + tests/langapi.prg * tests/Makefile + Test program added for Language API - source/rtl/msgxxx.c - Removed. 20000414-22:03 GMT+1 Viktor Szakats * make_gnu.* + make output redirected to make_gnu.log by default. * include/hbapilng.h * include/hbsetup.ch * include/hbsetup.h * include/hbextern.ch * include/hbdate.h * utils/hbtest/hbtest.prg * source/tools/dates.c * source/vm/harbinit.prg * source/rtl/datec.c * source/rtl/natmsg.c * source/rtl/langapi.c * source/rtl/Makefile * source/rtl/errorsys.c - source/rtl/natmsg/* + source/lang/msg_tpl.c + source/lang/msgen.c + source/lang/msghu852.c + source/lang/msg*.c - source/rtl/msgxxx.c * source/Makefile * makefile.bc * makefile.vc * bin/bld*.* * tests/Makefile * samples/guestbk/makefile * samples/guestbk/bld_b32.bat * samples/hscript/makefile * samples/hscript/bld_b32.bat * samples/misc/makefile * samples/pe/makefile * utils/hbdoc/makefile * utils/hbextern/makefile * utils/hbrun/makefile * utils/hbtest/makefile ! runner lib removed from the GNU-make system + New dynamic Language API added. Runtime selection of language, compile time selection of the default language, multiple language support in the same executable. + NATMSG API now uses the Language API. + HBTEST is now setting the language to EN before doing the tests. * English and Hungarian 852 message modules converted to the new format, and added to the makefiles. ; ! WARNING ! Please convert your language to the new format. Follow MSG_TPL.C as a template. There are also some new items which should be translated or adapted to your language. (Don't forget to add a comma after each string item) ; Use -DHB_LANG_DEFAULT=<langID> (for example -DHB_LANG_DEFAULT=EN) to specify the default language for your build. ; Use REQUEST HB_LANG_<langID> to request the linkage of additional language modules. ; Use hb_langSelect( "<langID>" ) to change the language at runtime. ; TODO: Startup code for MSC8 in language modules. ; TODO: Convert the rest of the language modules to the new format. * source/rtl/run.c ! FIXME added. * include/hbapi.h % Removed #include "hbdefs.h", because it was also included by hbvmpub.h. 20000413-19:30 GMT-8 Ron Pinkas <Ron@Profit-Master.com> * source/compiler/hvm.c * Added FAR support to HB_P_SEQBEGIN and HB_P_SEQEND * source/compiler/harbour.c * Modified hb_compGenJumpThere() to revert back to "short" JUMPs when fixing the jumps, it will than use HB_P_NOOP for the unused 3rd byte. * It now supports all variations of JUMP including SEQBEGIN and SEQEND as well as the logig to not interfere with "short" JUMPs. + Added more error handling to hb_compGenJumpThere() * source/include/hbexprb.c * Modified handling of .OR. .AND. and IIF() to use "short" JUMPs - note the use of -1 when calling hb_compGenJumpXXX(). * source/compiler/genc.c + Added support for HB_P_NOOP (was missing!) * Modified HB_P_SEQBEGIN and HB_P_SEQEND to support FAR jumps * source/compiler/hbgenerr.c + Added following errors: "Jump offset too long for HB_P_JUMP needed HB_P_JUMPFAR", "Jump offset too long for HB_P_JUMPTRUE needed HB_P_JUMPFARTRUE", "Jump offset too long for HB_P_JUMPFALSE needed HB_P_JUMPFARFALSE", "HB_P_JUMPx not found when fixing offset" * source/include/hbexprb.c + Added following defines: #define HB_COMP_ERR_INVALID_JUMP 45 #define HB_COMP_ERR_INVALID_JUMPTRUE 46 #define HB_COMP_ERR_INVALID_JUMPFALSE 47 #define HB_COMP_ERR_JUMP_NOT_FOUND 48 20000414-03:08 GMT+1 Viktor Szakats * source/vm/hvm.c ! Changed to the standard way of including windows.h (this is also a blind try to make it compile with BCC50/Win32) 20000413-21:38 GMT-3 Luiz Rafael Culik <culik@sl.conex.net> *utils/hbdoc/hbdoc.prg utils/hbdoc/html.prg *Small changes 20000413-16:40 GMT+2 Chen Kedem <niki@synel.co.il> * doc/en/dbstrux.txt * in __FLTEDIT() HARBOUR_STRICT_CLIPPER_COMPATIBILITY was changed into HB_C52_UNDOC as used by the source * insert explicit <b> marks to make Commands $ARGUMENTS$ bold * doc/en/terminal.txt * in ALERT() HARBOUR_STRICT_CLIPPER_COMPATIBILITY was changed into HB_C52_STRICT as used by the source * in ALERT() and __NONOALERT() the $COMPLIANCE$ section was extended + $PLATFORMS$ section for HB_OSNEWLINE() * a bit re-formating 20000413-12:32 GMT+1 Viktor Szakats * source/compiler/genc.c ! JUMPFAR fix for 16-bit compilers. * source/compiler/genhrb.c * source/compiler/genjava.c + JUMPFAR support for .HRB and java output. * source/compiler/harbour.y - JUMPFAR TODO removed. (not yet tested) * make_gnu.* * bin/bld.* * config/dos/bcc16.cf + Added 4.x and 5.0x as a 16-bit BC compiler. 20000413-12:14 GMT+1 Viktor Szakats * include/hbver.h * Date bumped to indicate new pcode revision. * include/hbapi.h ! Fix for HB_EXTEND_API_MACROS * source/rdd/dbstrux.prg ! Small formatting. 20000413-01:30 GMT-8 Ron Pinkas <Ron@Profit-Master.com> * source/include/hbpcode.h + Added HB_P_JUMPFAR, HB_P_JUMPFARFALSE, and HB_P_JUMPFARTRUE * source/compiler/hvm.c + Added support for HB_P_JUMPFAR, HB_P_JUMPFARFALSE, and HB_P_JUMPFARTRUE to support longer than 2^15 jumps. * source/compiler/harbour.c * Enhanced hb_compGenJump(), hb_compGenJumpFalse(), hb_compGenJumpTrue(), hb_compGenJumpHere() and hb_compGenJumpThere() to utilize HB_P_JUMPFAR, HB_P_JUMPFARFALSE, and HB_P_JUMPFARTRUE to support longer than 2^15 jumps. * source/compiler/genc.c + Added support for HB_P_JUMPFAR, HB_P_JUMPFARFALSE, and HB_P_JUMPFARTRUE to support longer than 2^15 jumps. 20000413-04:42 GMT+1 Viktor Szakats * source/common/hbtrace.c ! Fixed a previous optimization attempt, which caused hb_tr_level() to reinit itself on every call. (10% speedup for HBTEST /ALL) * makefile.* + LDFLAGS added for MSVC and BCC 20000413-02:55 GMT+1 Viktor Szakats * source/vm/extend.c * include/hbapi.h % Experimental HB_EXTEND_API_MACROS macro added, which (if defined) will convert hb_pcount() and hb_ret*() Extend API function calls into Item API calls and direct item accesses. So that it should be faster and also a bit larger (~3 kB larger Harbour exes for BCC55) * source/rtl/set.c * source/rdd/dbcmd.c * contrib/rdd_ads/adsfunc.c % hb_ret() call removed. 20000413-02:14 GMT+1 Viktor Szakats * include/hbapiitm.h * source/vm/itemapi.c * source/vm/extend.c + hb_itemPutD() added. hb_retd() modified to call this. 20000412-11:01 GMT+1 Viktor Szakats * include/hbdate.h * include/hbapi.h * source/rtl/datec.c * source/rtl/dates.c * source/rtl/dateshb.c * source/tools/dates2.c * source/vm/extend.c * contrib/rdd_ads/ads1.c * source/rdd/dbf1.c * Day/Month/Year parameters reordered to Year/Month/Day to match international conventions. (hb_retd(), hb_dateDOW(), hb_dateEncode(), hb_dateDecode(), hb_dateStrPut(), hb_dateStrGet()) ; Next items by Jose Lalin. * include/hbapirdd.h + added missing DBI_FULLPATH ! minor formating ! typos fixed, DBI_ definitions changed + tests/tstdbi.prg * tests/Makefile + new tests for DbInfo() + new tests for dbRecordInfo() and dbFieldInfo() 20000412-10:06 GMT+1 Viktor Szakats * include/inkey.ch * source/rtl/inkey.c * source/rtl/gtdos/gtdos.c * source/rtl/gtos2/gtos2.c * source/rtl/gtwin/gtwin.c * tests/inkeytst.prg * INKEY_EXTENDED renamed to INKEY_RAW to better show its purpose. * source/rtl/console.c % hb_conOut() one variable removed. % DISPOUT(), DISPOUTAT() optimized for speed, they got larger though. hb_conOutDisp() removed. * source/rtl/dateshb.c * Some code put in blocks. 20000412-04:39 GMT+1 Viktor Szakats * source/rtl/gtapi.c ! hb_gtGetColorStr() fixed. 20000412-03:14 GMT+1 Viktor Szakats * source/tools/ctmisc.prg ! CT_SAVEGETS() fixed to empty GetList. * source/rtl/gtapi.c + hb_gtGetColorStr() readded the previous version of colorspec generation and put the CA-Cl*pper compatible one between STRICT guards. (Talking about the "W+*/GR" vs. "W+/GR*" issue.) 20000411-20:30 GMT -3 Luiz Rafael Culik <culik@sl.conex.net +doc/class_tp.txt *Doc template for classes *doc/en/misc.txt *Version() doc change to reflect the changes on the function *doc/en/rddord.txt +Doc for INDEXEXT() and INDEXKEY() *doc/en/rddmisc.txt *Changed doc for lastrec function() 20000412-01:17 GMT+1 Viktor Szakats * source/rtl/gtapi.c % hb_gtWrite() one more variable removed. % hb_gtRepChar() the terminating zero was superfluous. % hb_gtWriteAt() is now native instead of calling the high-level functions, so it's faster, because of that hb_gtBox() is also faster. % hb_gtRepChar() uses WriteAt() instead of Write(), so it's faster. % Many functions calls low-level hb_gt_() functions instead of the same level, this way some calls could be eliminated and gain some speed. (hb_gtMaxRow(), hb_gtMaxCol(), hb_gtVersion(), hb_gtColorSelect(), ...) The number of same level calls has been reduced by 20. ! hb_gtInit() fixed the order of some init steps. * include/hbapigt.h * source/rtl/gtapi.c * source/rtl/gt*/gt*.c * hb_gt_Done() renamed to hb_gt_Exit() 20000411-23:09 GMT+1 Viktor Szakats * source/rtl/gtapi.c % hb_gtGetColorStr() optimized. alloc/free removed, NOTE added, variables renamed. One strcpy() removed. Buffer overflow checked. It should be much faster now. ! hb_gtGetColorStr() fixed so that it will now put both + and * to the first half of the colorspec. This is ugly but that's what CA-Cl*pper does. 20000411-21:08 GMT+1 Viktor Szakats * source/rtl/gtapi.c % Some var++/var-- changed back to ++var/--var. Since they produce better code when compiler optimization is turned off. * source/vm/cmdarg.c + tests/tscmdarg.c * Tests moved to the test dir. 20000411-20:45 GMT+1 Viktor Szakats * source/rtl/gtapi.c + tests/tstgtapi.c ! hb_gtGetCursor() optimized and fixed for bad values. % hb_gtGetCursor() removed the check of the value returned by hb_gt_GetCursorStyle(). * Tabs removed. % hb_gtSetPos() optimized, variables removed. ! s_uiCursorStyle initialization fixed. - hb_gtGetCursor() removed the s_uiCursorStyle update on cursor *get*. ! hb_gtSetCursor() fixed when setting the cursor style while it is out of the screen. ! hb_gtSetCursor() fixed to check it's parameter. * Test program moved to the test dir. % hb_gtWriteCon() One variable removed. Some variable names and scops adjusted. Some variable write access optimization. ! hb_gtRepChar() fixed possible one byte buffer overflow. % hb_gtRepChar() optimized. + hb_gtRepChar() now supports values larger than 255, so that it will never report an error now. * Some optimizations made given that hb_gtWrite() and some other GT function will never report an error. % hb_gtWrite() Some variables removed, scope adjusted. Some variable write access optimization. % hb_gtPostExt() One variable removed. % hb_gtBox() return from inside removed. Variable scopes adjusted. * source/rtl/setcurs.c % SETCURSOR() optimized. * source/rtl/asort.prg ! Typo * include/inkey.ch * Tabs removed. 2000-04-11 14:30 GMT-4 David G. Holm <dholm@jsd-llc.com> * config/w32/gcc.cf + Added LNK_USR_PATH and LNK_USR_LIB environment variables to specify non-Harbour libraries. Put one or more paths in LNK_USR_PATH and one or more base library names in LNK_USR_LIB, using spaces to separate. * tests/inkeytst.prg % Modularization and display improvements by Alejandro de Garate <alex_degarate@hotmail.com> 20000411-16:32 GMT+1 Viktor Szakats * source/rtl/inkey.c * source/rtl/accept.c * include/hbapi.h % hb_inkey() optimized, tight loops made faster, using less variables, especially "wait forever" and "wait nothing" optimized. ! hb_inkey() GCC -O2 warning fixed. - Removed "forever" parameter of hb_inkey(), now hb_inkey() determines this instead of the caller. * Case when waiting forever for no events is now silently handled in hb_inkey() by returning a zero. The Harbour specific runtime error has been removed. % INKEY() optimized, now it's a two liner. * source/rtl/gtwin/gtwin.c ! inkeypoll trace text fixed. 20000411-15:55 GMT+1 Ryszard Glab <rglab@imid.med.pl> *config/dos/watcom.cf *added support for HB_GT_LIB variable *include/inkey.ch *new K_HB_KEYCODES definition to signal that multi-character keycodes are available. *source/rtl/gtapi.c *hb_gtWwriteCon() fixed to correctly support LF characters in U*nix environment (LF should move carriage return to the leftmost column) *source/rtl/gtcrs/gtcrs.c *updated to return multi-character keycodes that are not mapped to Clipper INKEY() keycodes *full color support *scrolling up-down 20000411-13:12 GMT+1 Viktor Szakats * include/hbextern.ch * source/vm/memvclip.c * source/vm/proc.c * source/vm/pvalue.c * source/vm/dynsym.c * source/rtl/dummy.prg * source/rtl/fssize.c * source/rtl/fstemp.c * source/rtl/setposbs.c * source/rtl/shadow.c * source/rtl/accept.c * source/rtl/oldbox.c * source/rtl/oldclear.c * source/rtl/alert.prg * source/rtl/setta.prg * source/rtl/console.c * source/rtl/setkey.prg * source/rtl/oemansi.c * source/rtl/inkey.c * source/rtl/valtostr.c * source/rtl/trace.c * source/rdd/dbnubs.c * source/rdd/dbstrux.prg * source/pp/pplib.c + Updated/extended the guards for the UNDOC features and some extensions. It's now possible to turn UNDOC or EXTENSIONS off. ! __ACCEPT made multithread safe, at least for the documented part. * source/rtl/dbstrux.prg ! Fixed for disabled HB_COMPAT_XPP mode. * source/rtl/alert.prg * utils/hbdoc/hbdoc.prg ! Fixed for disabled HB_COMPAT_C53 mode. * source/rtl/getsys.prg * utils/hbtest/rt_stra.prg ! Fixed for disabled HB_EXTENSION ; Note that HBDOC will still need HB_COMPAT_C53 to link (for MAKEDIR()). * include/hbexprb.c * include/hbexprc.c * include/hbextern.ch * include/hbsetup.h * compiler/harbour.c * compiler/hbfunchk.c * rdd/dbstrux.prg * rtl/alert.prg * rtl/dircmd.prg * rtl/strzero.c * vm/arrayshb.c * vm/hvm.c * vm/memvars.c * utils/hbtest/rt_array.prg * utils/hbtest/rt_main.ch * utils/hbtest/rt_stra.prg * include/hbsetup.ch * source/vm/cmdarg.c + Added HB_EXTENSION macro to guard Harbour extensions. + Added HB_C52_UNDOC macro to guard undocumented interfaces of CA-Cl*pper 5.2e * HARBOUR_STRICT_CLIPPER_COMPATIBILITY renamed to HB_STRICT_C52 * source/rtl/is.c * source/rtl/at.c * source/rtl/replic.c * source/rtl/space.c * source/rtl/trim.c - Some tests embedded to the source removed. * utils/hbtest/Makefile - PP removed. 20000411-03:04 GMT+1 Viktor Szakats * utils/hbtest/* ! Fixed to work when HB_COMPAT_XPP mode is turned off. * include/hbsetup.ch * source/vm/cmdarg.c + Added defines for Flagship/FoxPro/dBase extensions. - Disabled HB_COMPAT_VO by default. 20000411-02:32 GMT+1 Viktor Szakats * source/common/hbver.h * source/rtl/gtapi.c * source/rtl/inkey.c * source/rtl/dir.c * source/rtl/diskspac.c * source/rtl/gtpca/gtpca.c * source/rtl/gtos2/gtos2.c * source/rtl/gtos2/mouseos2.c ! Fixed usage of HARBOUR_OS2_GCC before definition. ! Now the INCL_* macros for OS/2 are always defined regardless of the target platform, since at that point we don't know yet what is the target platform. This may fix OS/2 GCC in some places. The only downside in theory is that INCL_* may collide with some non-OS/2 defines. Note that __IBMCPP__ != OS/2, it also has a Win32 version, and __EMX__&!__RSXNT__ *is* OS/2. * Some minor cleanups. ! Fixed DIRECTORY() for OS/2 GCC and IBMCPP for Win32. Not tested. - Removed explicit declaration for DosSleep(). - Some superfluous #include <os2.h> statements removed from GTOS2. !! WARNING !! Please check IBMCPP/OS2 and GCC/OS2. I could not test any of these. * source/rtl/run.c ! Minor format. 20000410-20:00 GMT -3 Luiz Rafael Culik <culik@sl.conex.net *utils/hbdoc/hrb.rsp utils/hbdoc/hrbtools.rsp *Changed to reflect the docs changes *utils/hbdoc/genng.prg utils/hbdoc/genrtf.prg utils/hbdoc/genos2.prg utils/hbdoc/genhtm.prg !Added code to ignore empty tags when generating the source *utils/hbdoc/ft_funcs.prg +FREADLINE() function 20000411-00:24 GMT+1 Viktor Szakats ; Please retest Harbour on every possible platform. * make_gnu.* * bin/bld.* * Added RSX32 and RSXNT * makefile.bc + $(ARFLAGS) added. + /P32 added for BCC32, to avoid overflowing libs when compiling with debug info. + config/dos/rsx32.cf * include/hbsetup.h * source/common/hbver.c * source/rtl/gtdos/gtdos.c * source/rtl/gtdos/mousedos.c + Added support for the RSXNT compiler under DOS 32-bit. Harbour executable don't run yet. + DISKSPACE() for DOS now uses INT_86 instead of the less-portable library call. ! GTDOS and MOUSEDOS use the standard INT86, so they should work on more platforms now, easier to extend and much more clear. + config/w32/rsxnt.cf * include/hbsetup.h * source/common/hbver.c * source/rtl/diskspac.c * source/rtl/gtwin/gtwin.c + Added support for the RSXNT compiler under Windows NT. * source/common/hbver.c * source/rtl/is.c * source/rtl/transfrm.c * source/pp/ppcore.c * source/vm/fm.c ! Fixed warnings for GCC -O2 and the new RSX compiler. ! Fixed warning for turned off HB_FM_STATISTICS * source/vm/extend.c * include/hbapi.h + hb_retd() function added. Thanks to Jose Lalin. * include/hbdefs.h * source/common/hbver.c * source/rtl/isprint.c * source/rtl/inkey.c * source/rtl/dateshb.c * source/rtl/gtdos/gtdos.c * source/vm/mainwin.c * source/vm/maindll.c % Cleaned up the multiplatform code. (mainly for DOS (INT_86)). + Added common HB_DOS_INT86 macro to the central header, local declarations removed. % Removed the branches where the word registers were accessed via "w". "x" is supported by __BORLANDC__, __DJGPP__, _MSC_VER, __RSX32__, __WATCOM__, __TURBOC__ (9.5). Who's missing ? * source/common/hbver.c + Shows DJGPP package version. * source/rtl/filesys.c + FIXME added for hb_fsFile() * config/dos/global.cf ! Got rid of the \ to / conversion for rsx32, watcom and djgpp * config/dos/djgpp.cf ! Modified to avoid long command lines when linking. I finally found a way to build DJGPP under W2K, using the MAKE.EXE supplied with RSXNT. * config/os2/gcc.cf * include/hbsetup.h - The -DHARBOUR_GCC_OS2 detection made automatic. * source/rtl/version.c * tests/version.prg * utils/hbtest/hbtest.prg * VERSION() no longer has the parameter extension to make things more straight. One can use HB_COMPILER() to retrieve this info. ! WARNING ! Please update the docs. 20000410-09:00 Luiz Rafael Culik <culik@sl.conex.net *Doc/en/set.txt +doc for: SET PRINTER,SET FIXED,SET DECIMALS *doc/en/math.txt +doc for: round() *doc/en/string.txt +doc for: CHR(),ASC() *doc/en/diskspac.txt *Added note of platform *doc/en/hvm.txt +added copyright header requestes by Jose Lanin *rdd.txt *Removed all database and ordfunctions +rddmisc.txt *misc documents of database functions +rddord.txt *documents for ord* functions +rdddb.txt +documents for db* functions 20000409-03:48 GMT+1 Viktor Szakats * source/rtl/gtcrs/gtcrs.c ! New functions made static * source/compiler/cmdcheck.c * Some copyright info arrangment. * source/common/hbver.c % hb_verCompiler() some optimizations and streamlining mainly around GCC flavours. + MS "Visual" detection. * source/vm/fm.c * include/hbsetup.h * HB_FM_STATISTICS moved to the setup header. * contrib/linux/gcc.cf - Removed -g from the default C switches to be in sync with the other platforms. * source/rtl/diskspac.c % Some code made common, platform specific code put in blocks. * contrib/rdd_ads/ace32.h ! Fix for Win32 GCC * source/vm/hvm.c * Static and global initialization all made in the startup function. * doc/whatsnew.txt + Added missing version header * source/rtl/strcase.c * Minor format. 20000408-14:38 DST Paul Tucker <ptucker@sympatico.ca> * source/rtl/strcase.c * some compilers impliment toupper() as a macro, so toupper( pSrc++ ) * does not work properly. 20000408-20:45 GMT+1 Ryszard Glab <rglab@imid.med.pl> *source/rtl/gtcrs/gtcrs.c * added key mapping using terminfo database 20000408-14:11 DST Paul Tucker <ptucker@sympatico.ca> * source/rtl/dir.c * correct MING 8.3 support (which I broke) 20000408-15:28 GMT+2 Maurilio Longo <maurilio.longo@libero.it> * source/rtl/tbrowse.prg ! ::New() was initializing a few instance variables to nil instead of {} (aRedraw, aRect, aRectColor) and DBU.EXE compiled with debugger died in ::Invalidate(275). 20000408-11:05 GMT+2 Maurilio Longo <maurilio.longo@libero.it> * source/rtl/filesys.c + Added file locking to OS/2 (both GCC and icc) ! fixed file committing under OS/2 (no need to duplicate a file handle) 20000407-15:25 GMT+2 Maurilio Longo <maurilio.longo@libero.it> * source/rtl/diskspac.c + Added OS/2 (GCC and icc) support * tests/MakeFile + db_brows was missing from sources list 20000407-03:26 GMT+1 Viktor Szakats * include/hbver.h + Version bumped. * doc/whatsnew.txt + Some new items. 2000-04-06 21:30 GMT-4 David G. Holm <dholm@jsd-llc.com> * doc/gmake.txt % Change to os2/gcc documentation to show gtos2 for HT_GT_LIB, (thanks to Maurilio Longo <maurilio.longo@libero.it> for his work on making the gtos2 library work with os2/gcc) 20000406-10:55 GMT+1 Ryszard Glab <rglab@imid.med.pl> *source/compiler/harbour.y * the parser resumes parsing after 'parse errors' (parsing errors are non-fatal now) 20000406-08:52 GMT+1 Viktor Szakats * config/dos/dir.cf ! Accidentally broken file restored. * utils/hbtest/Makefile * utils/hbtest/make_xpp.cmd ! Fixed. * include/box.ch + Some extensions guarded as such. * source/rtl/math.c + Multithreading related NOTE added. * make_b16.bat + CLEAN will remove .MAP files. 20000405-15:29 GMT+1 Viktor Szakats + utils/hbtest/rt_hvma.prg * utils/hbtest/* * makefile.* ! rt_hvm.prg split to make it compile with BCC31 under lower memory conditions. * source/rtl/devoutp.prg * source/rtl/setkey.prg * include/hbver.h * include/hbapifs.h * include/filesys.api * include/fileio.ch * include/hbset.h * include/set.ch - Removed local ChangeLogs 20000405-14:28 GMT+3 Alexander Kresin * source/pp/ppcore.c * bugs fixed, reported by Guy Roussin and Chen Kedem 20000405-10:00 GMT+3 Alexander Kresin * contrib/rdd_ads/ads1.c * added adsFlush() function * contrib/rdd_ads/adsfunc.c * Added adsGetRelKeyPos() function 20000405-02:03 GMT+1 Viktor Szakats * source/rtl/math.c ! exception redefined as _exception for Borland C++ 5.5 and upper. ! Disabled math exception handling for Borland C++ 5.3 C++ mode, since it won't work. Other Borland C++ version (4.x,5.x) should be also checked in this respect. * source/rtl/gtwin/gtwin.c ! max()/min() changed to HB_MAX()/HB_MIN() * source/rtl/filesys.c ! Explicit declaration of POSIX rename() moved to the Unix branch. * source/compiler/harbour.c ! isatty() declaration readded for (__BORLANDC__ && __cplusplus) * makefile.bc ! Fixed to create unistd.h in the local OBJ dir for macrol.c and harbourl.c. * makefile.vc ! Using a safer method for the unistd.h workaround. It's now created in the local OBJ dir instead of the common INCLUDE. This way it's impossible to accidently leave it there and break Cygnus and other GCC make processes. + utils/hbtest/rt_stra.prg * utils/hbtest/* * makefile.* ! rt_str.prg split to make it compile with BCC31. ; All these fixes were needed to compile in C++ mode with Borland C++ (3.1, 5.3, 5.5). Hmm, the Harbour .EXE sizes are actually 10% smaller than with 32-bit Borland Cs. 2000-04-04 20:00 GMT-4 David G. Holm <dholm@jsd-llc.com> * source/rtl/dir.c * source/rtl/inkey.c * source/rtl/set.c * source/rtl/gtos2/mouseos2.c - Removed the local ChangeLog. * source/rtl/gtos2/gtos2.c + Put #include <os2.h> back in for compilers other than GCC, because that's where they get the basic variable types, etc. ! Changed 'unsigned char *' to 'BYTE *' for fpBlank and fpBuff in hb_gt_Scroll(), because hb_gt_Puts(), hb_gt_GetText(), and hb_gt_PutText() take 'BYTE *' parameters and passing 'char *' variables confuses the IBM VisualAge C++ compiler. % Reformatted hb_gt_Scroll() to eliminate TAB characters. * source/rtl/gtpca/gtpca.c + Added HB_SYMBOL_UNUSED() for all unused function arguments. 20000404-08:00 GMT-3 Luiz Rafael Culik <culik@sl.conex.net> *doc/en/dbstrux.txt *Small reformating 20000404-13:00 GMT+1 Viktor Szakats * source/rdd/dbstrux.prg % Some more optimization. Thanks to Chen Kedem. * source/rtl/getsys.prg % __GetListActive() calls optimized out. * source/vm/cmdarg.c * Change wording to "compatible" when talking about the other commercial products. 20000404-12:13 GMT+1 Viktor Szakats * source/pp/ppcore.c % Some variables optimized out in pragma related code. % DebugPragma() simplified. 20000404-11:06 GMT+1 Viktor Szakats * source/rtl/dircmd.prg + Changed to use NationMsg() instead of the hard-wired English string. The previous 100% compatible version left in STRICT_COMPAT branch. * source/rtl/console.c * source/rtl/gtapi.c * source/rtl/gt*/gt*.c ! Fixed some TRACE calls. * source/rtl/wait.prg * source/rtl/input.prg % Small optimization. * Variable renamed to better reflect purpose and types. * source/rtl/tgetlist.prg ! Using NationMsg() instead of the hard-coded strings. * source/rdd/dbstrux.prg % Some optimizations. * tests/tstprag.prg + New tests changed. 20000404-08:55 GMT+2 Chen Kedem <niki@synel.co.il> * doc/en/dbstrux.txt + documentation for __dbCreate() + documentation for CREATE + documentation for CREATE FROM * some re-formats ; By this all the functions in source/rdd/dbstrux.prg are documented 20000403-23:30 GMT-3 Luiz Rafael Culik <culik@sl.conex.net> *utils/hbdoc/genng.prg utils/hbdoc/genhtm.prg *Fixed handling for multi columns tables *utils/hbdoc/ft_funcs.prg +GetNumberofTableItems() added to count the number of item of a table 20000404-03:24 GMT+1 Viktor Szakats * include/hbpp.h + Upped the buffer sizes. * source/pp/ppcore.c * tests/tstprag.prg * Some #pragma names modified to be Xbase++ compatible. AUTOMEMVARS -> AUTOMEMVAR LINEINFO -> LINENUMBER SHORTCUTTING -> SHORTCUT FORCEMEMVARS -> DYNAMICMEMVAR + Added the Xbase++ compatible pragma symtax: #pragma NAME( ON/OFF ) + #pragma now allows space between long pragma name and parameter: #pragma Shortcut= ON or #pragma Shortcut( ON ) ! Fixed some DebugPragma() calls. ! Fixed DebugPragma() to display zero as a value. % Code simplified, variables eliminated. ! AUTOMEMVAR check fixed. * source/rtl/tget.prg + Added XPP compatible _Assign and _End() methods. ! Home(), End(), Access(), ColorDisp(), UpdateBuffer() fixed to return Self. + TODO added about Xbase++ compatible method. * source/rtl/tgetlist.prg + The methods returning NIL are now returning Self to be more consistent with the other classes. * source/rtl/tbrowse.prg + TODO added about Xbase++ compatible methods. * source/rtl/philes.c * source/vm/arrayshb.c + Some TODOs added about Xbase++ extension (CURDIR(), FILE(), AEVAL()). * include/hbsetup.ch * include/memoedit.ch * compiler/harbour.y * rtl/binnumx.c * rtl/browdbx.prg * rtl/datesx.c * rtl/isprint.c * rtl/mousex.c * rtl/oemansi.c * rtl/philesx.c * rtl/tbrowse.prg * rtl/tget.prg * vm/cmdarg.c * utils/hbtest/hbtest.prg ! XBase++ -> Xbase++ 20000403-23:40 GMT+2 Maurilio Longo <maurilio.longo@libero.it> * source/rtl/gtos2/gtos2.c ! Should work now and provide DispBegin() and DispEnd() support ! statics are named following harbour naming conventions 20000403-22:20 GMT+1 Viktor Szakats * source/pp/stdalone/hbpp.c * source/compiler/cmdcheck.c * source/compiler/harbour.c * include/hbcomp.h ! Fixed handling of the /D switch, it broke when introducing the multiple filenames at the command line feature. 20000403-21:08 GMT+1 Viktor Szakats * source/rtl/readvar.prg ! Fixed handling of non-GET system related functionality. (not tested) * source/tools/ctposupp.c ! MSVC cast. 20000403-19:57 GMT+1 Viktor Szakats + source/rtl/getlist.prg + source/rtl/getsys.prg + source/rtl/readvar.prg * source/rtl/tgetlist.prg * source/rtl/Makefile * makefile.bc * makefile.vc + New Harbour internal function __GetListActive() added to provide an interface between TGETLIST and GETSYS. + The active getlist holder moved to a separate file GETLIST. + READVAR() moved back into separate file. + RANGECHECK() function added to GETSYS. Now the namespace of GETLIST is equivalent to CA-Cl*pper. + TGetList class separated from the GETSYS procedural (compatibility) interface. This way it's possible to override the GETSYS, READVAR or TGETLIST modules at link time just like in CA-Cl*pper. * source/rtl/tgetlist.prg ! GetP*Validate() - Fixed. + Added lHasFocus data. 20000403-18:25 GMT+1 Viktor Szakats * utils/hbtest/* + Some __XPP__ branches removed. + Documented and added tests for the :className() <-> :className difference. ! Worked around ALINK /OUT: handling bug (by not using this switch). 20000403-16:35 GMT+1 Viktor Szakats * utils/hbtest/* + utils/hbtest/make_xpp.bat + utils/hbtest/make_xpp.cmd + HBTEST made compatible with Xbase++ 1.10. Check the results. Comparison: Platform Filename Size Passes Failures Total Time --------------- ------------- --------- ------ -------- ----- ---- CA-Cl*pper 5.2e hbtest5x.exe 504.832 2976 25 3001 ~1 s Harbour (BCC55) hbtest.exe 566.272 3186 82 3268 ~4 s Xbase++ 1.10 hbtestxp.exe 1.375.232 1977 771 2748 ~2 s * source/rtl/philesx.c ! CURDRIVE() error handling made more like Xbase++. Retry is allowed, and the error text is the same. 20000403-13:07 GMT+1 Viktor Szakats * source/rtl/tgetlist.prg ! READKILL(), READUPDATED(), __KILLREAD(), READFORMAT() fixed. % GetDoSetKey() optimized ; ---------------------------------------------------------- ; Ad: Now DBU compiles and runs without *any* modification ! ; ---------------------------------------------------------- (except for the Dbu() -> Main() renaming for some compilers) + source/tools/cttoken.prg * source/tools/Makefile * makefile.bc * makefile.vc * utils/hbrun/exttools.prg + CT_NUMTOKEN() + CT_TOKEN() ; CA-Tools compatible functions added. Thanks to Phil Barnett. * source/rtl/tgetlist.prg * source/rtl/tbrowse.prg * source/rtl/browse.prg * source/rtl/tbcolumn.prg * source/rtl/tclass.prg * source/rtl/typefile.prg * source/debug/dbgtmenu.prg * source/debug/dbgtwin.prg * source/debug/debugger.prg * include/hbclass.ch ! Assignment/equality operator (=) changed to assignment only operator (:=) and equality only (==) operator. Please don't use "=" operator, use "==" and ":=" instead. ! ValToStr() made MEMO aware. ! Some constants changed to manifest constants (again and again). 20000403-11:01 GMT+1 Viktor Szakats * source/vm/itemapi.c * source/vm/hvm.c ! hb_itemPutND(), hb_itemPutNLen(), hb_itemPutNDLen(), hb_vmNegate(), hb_vmPushDouble() Fixed handling of double number widths. Negative numbers taken into account. Limits fixed. Checked against CA-Cl*pper. + hb_vmPushLongConst() added to push a long constant (pcode) long value. + hb_vmPushDoubleConst() added to push a constant (pcode) double value. * hb_vmPushDouble() restored to previous version. ! hb_vmPushDoubleConst() fixed to count the width of the double just like CA-Cl*pper, note that this is an ugly hack, and as a next step the HB_P_PUSHDOUBLE pcode should be modified to fix this. ( !! TODO !! ) ; After these the decimal handling seems to be completely CA-Cl*pper compatible, the failing tests are due to floating point precision problems. * utils/hbtest/rt_hvm.prg ! Number width handling tests modified to avoid the Harbour expression optimizer. 20000403-04:47 GMT+1 Viktor Szakats * source/rdd/dbf1.c ! Now the MEMO fields are marked as MEMO. (Two HBTEST failures gone) * source/vm/itemapi.c * include/hbapi.h + Added hb_itemSetCMemo() Item API call, to mark a string as MEMO. ! hb_itemString() made MEMO aware. ! HB_IS_STRING() made MEMO aware. * utils/hbtest/rt_hvm.prg + A bunch (~100) of number width handling tests added, many of them fail. * source/vm/hvm.c ! hb_vmNegate() fixed handling of number width for doubles ! hb_vmPushDouble() fixed handling of number widths. + FIXME added for hb_vmPushDouble(), because in Clipper the exact width is extracted from the pcode, the problem is that Harbour doesn't have this info stored there. 20000403-02:11 GMT+1 Viktor Szakats * contrib/runjava/runjava.c * include/hbexprb.c * include/hbapilng.h * include/hbvmpub.h * source/rdd/dbf1.c * source/rtl/gtdos/gtdos.c * source/rtl/gtsln/gtsln.c * source/rtl/tget.prg * source/tools/asciisum.c * source/tools/strasint.c * source/tools/stringsx.c * source/tools/nconvert.prg * source/vm/hvm.c * source/vm/macro.c * source/vm/memvars.c * tests/memvar.prg * tests/testwarn.prg * tests/tstmacro.prg ! Tabs converted to spaces. Please don't use tabs in the sources, because the formatting may be much different when using another editor. * source/tools/Makefile ! Some corrections 20000403-01:26 GMT+1 Viktor Szakats * source/vm/itemapi.c ! hb_itemStr() 9 character limit on decimals removed. Now seven more tests pass. * source/vm/hvm.c ! hb_vmPushDouble() 9 character limit on decimals removed. Now newly added tests pass. * utils/hbtest/rt_str.prg + New STR() tests added. * utils/hbtest/hbtest.prg + Shows the percentage of the passes compared to the number of tests. 20000402-23:44 GMT+2 Maurilio Longo <maurilio.longo@libero.it> * source/rtl/gtos2/gtos2.c ! There was a missing & operator causing a trap D at program start. There are other problems (display is somewhat corrupted) which need to be addressed 20000402-19:00 GMT-3 Luiz Rafael Culik <culik@sl.conex.net> *utils/hbdoc/genhtm.prg *Fixed a small bug 20000402-22:32 GMT+1 Viktor Szakats * utils/hbtest/rt_hvm.prg + TYPE() basic tests added. One new case fails. * source/rtl/type.c ! TYPE() runtime error value substitution added. * include/hbdefs.h * source/rtl/hardcr.c * source/rtl/mtran.c % Repeated CHR_HARD/SOFT macros moved to the global header. * source/vm/cmdarg.c % Minor stack space opt. * source/rtl/strzero.c * Minor change in comment. + source/rtl/setposbs.c * source/rtl/setpos.c * source/rtl/Makefile * makefile.bc * makefile.vc * SETPOSBS() separated. * source/rtl/version.c ! Small memory allocation fix. * source/rtl/gtapi.c * Cast * source/common/hbver.c % #include <os2.h> is always included by hbdefs.h, so it's not needed to add it explicitly. Please test it anyway. 20000402-21:40 GMT+1 Maurilio Longo <maurilio.longo@libero.it> * utils/hbdoc/MakeFile ! gnu make error (missing tab) * source/common/hbver.c ! failing under OS/2 GCC * source/rtl/gtos2/gtos2.c + added DispBegin() and DispEnd() support. It should work with VA C++ also 20000402-20:01 GMT+1 Viktor Szakats * utils/hbtest/hbtest.prg + Shows the percentage of the failures compared to the number of tests. * source/rtl/gtapi.c * Minor 20000402-19:37 GMT+1 Viktor Szakats * utils/hbtest/rt_array.prg % TAStr() optimization. ! aTail() test results separated for __HARBOUR__ * utils/hbtest/rt_main.ch + Added the define HARBOUR_STRICT_CLIPPER_COMPATIBILITY * utils/hbtest/rt_str.prg * utils/hbtest/rt_array.prg * STRZERO() and AFILL() test results made dependent on the HARBOUR_STRICT_CLIPPER_COMPATIBILITY setting. * source/vm/arrayshb.c + AFILL() - added CA-Cl*pper implementation specific runtime error for the STRICT_COMPATIBLE branch. + AFILL() - Added Harbour specific runtime error on bad parameter. ; All these modifications cause the Regression Test failures to drop by 8. 20000402-18:50 GMT+1 Viktor Szakats + source/tools/ctmisc.prg + source/tools/ctcolton.c + source/tools/ctposupp.c * source/tools/Makefile * makefile.bc * makefile.vc * utils/hbrun/exttools.prg + CT_COLORTON() + CT_CENTER() + CT_CSETCURS() + CT_CSETKEY() + CT_ENHANCED() + CT_STANDARD() + CT_LTOC() + CT_RESTGETS() + CT_SAVEGETS() + CT_SCREENMIX() + CT_POSUPPER() ; CA-Tools compatible functions added. * include/hbapiitm.h * source/rtl/pad.c + source/rtl/padc.c + source/rtl/padl.c + source/rtl/padr.c * source/vm/itemapi.c * source/rtl/Makefile * makefile.bc * makefile.vc * hb_itemPadConv() made global and moved to the Item API ! hb_itemPadConv() TRACE call typo. + Separated PAD*() calls. * */Makefile * Some corrections 20000402-16:17 GMT+1 Viktor Szakats * */Makefile ! 8 spaces in rules converted to tabs. Just wondering why is this needed at all ? It's not an easy one, but please try to take care of this rule. 20000402-15:59 GMT+1 Viktor Szakats - source/macro/macro.c * source/macro/Makefile + source/vm/macro.c * source/vm/Makefile * makefile.bc * makefile.vc + Base macro support modul moved to the HVM * source/vm/memvars.c * include/hbapi.h ! Uses hbcomp.h instead of the repeated VS_ macro definitions. + hb_memvarCreateFromItem() made global. * source/vm/memvars.c + source/vm/memvclip.c * source/vm/Makefile * makefile.bc * makefile.vc * CA-Cl*pper compatbility internal and undocumented functions moved to a separate file. * source/debug/debugger.prg % static scope adjusted. 20000402-14:35 GMT+1 Viktor Szakats * makefile.vc * Updated for HBDOC changes. * doc/whatsnew.txt * Minor chg 20000402-07:00 GMT-3 Luiz Rafael Culik <culik@sl.conex.net> *doc/whatsnew.txt *some changes 20000402-08:44 GMT+2 Chen Kedem <niki@synel.co.il> + doc/en/dbstrux.txt + documentation for __dbCopyStruct() + documentation for COPY STRUCTURE + documentation for __dbCopyXStruct() + documentation for COPY STRUCTURE EXTENDED + documentation for __FLEDIT()* + documentation for __dbStructFilter() Those are almost all the docs for source/rdd/dbstrux.prg (I'll might finished __dbcreate() leter this day) 20000401-21:00 GMT-3 Luiz Rafael Culik <culik@sl.conex.net> *makefile.bc *utils/hbdoc/makefile *Updated for new hbdoc depedencies +doc/en/datetime.txt *documentation for date/time functions *doc/en/math.txt *documentation for sqrt() function *doc/en/set.txt *some new docs *utils/hbdoc/genng.prg utils/hbdoc/genrtf.prg utils/hbdoc/genos2.prg utils/hbdoc/hbdoc.prg utils/hbdoc/genhtm.prg *Changes to make a better output file *Move FT_ functions from hbdoc to a new file -utils/hbdoc/fileread.prg Removed +utils/hbdoc/fclass1.prg +utils/hbdoc/ffile1.prg *New file class for hbdoc +utils/hbdoc/ft_funcs.prg *New place for the ft_* functions 20000402-01:41 GMT+1 Viktor Szakats * source/rtl/substr.c ! Minor fix in comment. * source/rtl/filesys.c ! Bug fixed for __WATCOMC__ 20000401-18:00 GMT+1 Viktor Szakats * source/rtl/version.c + source/common/hbver.c * source/common/Makefile * include/hbapi.h * include/hbextern.ch * contrib/hbclip/hbclip.prg * source/vm/cmdarg.c * tests/version.prg * makefile.bc * makefile.vc % Cleaned up the include section. + Added TRACE calls (CVSed previously) + Separated hb_version() into hb_verCompiler() and hb_verHarbour() * Renamed hb_os() to hb_verPlatform() * Renamed variables in hb_verCompiler() + Moved hb_ver*() functions to common directory. + HB_COMPILER() function added to return just the compiler info. + HB_COMPILER() function added to HBCLIP.LIB + //INFO will now display platform info. + //BUILD will now display compiler info. - //INFO will not display compiler info. * Test program updated. ; Tested with BCC53, BCC55, BCC31, CYGWIN, MINGW32, MSC8 (compile only), MSVC, DJGPP on W2KRC2, WNTSP4, W95, W95B, W98, MSDOS62, DOS5, DOS5+Win31 ; Please test it with WATCOM, Linux/GCC, OS2/GCC, OS2/ICC, and BCC31/DJGPP under OS/2. * Makefile ! Some spaces comverted to tabs * bin/bld.* ! common -> commo for DJGPP 20000401-03:20 EST Paul Tucker <ptucker@sympatico.ca> * source/rdd/dbf1.c * source/rdd/sdf1.c * source/rdd/delim1.c * source/rdd/dbfcdx/dbfcdx1.c * source/rdd/dbfntx/dbfntx1.c * source/compiler/genc.c * contrib/rdd_ads/ads1.c * include/hbinit.h * updated initSymbols handling - again 20000401-02:00 EST Paul Tucker <ptucker@sympatico.ca> * include/hbvmpub.h * turns out msc8 doesn't know pack(push) 20000401-06:09 GMT+1 Viktor Szakats - source/rtl/environ.c + source/rtl/version.c * source/rtl/Makefile * makefile.bc * makefile.vc * hb_os() - Fixed, simplified, optimized. * Filename changed to match CA-Cl*pper 20000401-04:57 GMT+1 Viktor Szakats * source/rtl/environ.c * include/hbapi.h % OS() function reorganized. Now the motto is that each target platform should first detect the version of the native platform version, then if applicable (only in DOS currently) detect the host OS. This way the source is *far* more clean, and consistent between platforms and compilers. + Added WinNT detection for the DOS platform. * #ifdef mess removed. % Win32 version detection optimized. + C callable version added (hb_os()) * Some variables renamed. ; Tested with BCC55, BCC31, CYGWIN, MINGW32, MSC8 (compile only), MSVC on W2KRC2, WNTSP4, W95, W95B, W98, MSDOS62 ; Please test it with DJGPP, WATCOM, Linux/GCC, OS2/GCC, OS2/ICC, and BCC31 under OS/2. * source/rtl/inkey.c * Comment for W2K corrected. * doc/whatsnew.txt + Added some items for the next release. 20000331-21:35 EST Paul Tucker <ptucker@sympatico.ca> * makefile.bc + Added dbgtmenu dbgtwin.c &.prg to the debug library rules. * unlike makefile.vc, makefile.bc needs the source dependcies * listed as well 2000-03-31 18:30 GMT-5 David G. Holm <dholm@jsd-llc.com> * makefile.bc * makefile.vc + Added dbgtmenu.obj and dbgtwin.obj to the debug library rules. 2000-03-31 18:25 GMT-5 David G. Holm <dholm@jsd-llc.com> * source/debug/Makefile + source/debug/dbgtmenu.prg + source/debug/dbgtwin.prg * source/debug/debugger.prg % I split the TDbWindow class into a new program module and the TDbMenu and TDbMenuItem classes into another so that Harbour can be built with dos/b16. 2000-03-31 18:00 GMT-5 David G. Holm <dholm@jsd-llc.com> * config/dos/bcc16.cf + It helps to use $(ARFLAGS) when running $(AR). + I added support for HB_GT_LIB and HB_SCREEN_LIB. 20000331-23:11 GMT+1 Viktor Szakats * include/hbver.h * Version bumped. * include/extend.api * include/hbapi.h * contrib/runjava/runjava.c * contrib/rdd_ads/ads1.c * source/rtl/*.c * source/vm/*.c * source/rdd/*.c * source/tools/*.c * source/macro/macro.c * IT_ macros prefixed with HB_ * IS_ macros prefixed with HB_ * source/vm/extend.c % Source code made smaller. * include/hbapi.h * include/extend.api * source/tools/strfmt.c * PCOUNT, ALENGTH() moved to extend.api - Harbour usage of these macros removed. * .cvsignore * Updated * contrib/hbclip/readme.txt - Reference to Clipper S87 removed. 20000331-15:50 EST Paul Tucker <ptucker@sympatico.ca> * source/macro/macro.c * hb_valtypeGet() -> hb_itemTypeStr() 20000331-15:10 EST Paul Tucker <ptucker@sympatico.ca> * source/rdd/dbf1.c * source/rdd/sdf1.c * source/rdd/delim1.c * source/rdd/dbfcdx/dbfcdx1.c * source/rdd/dbfntx/dbfntx1.c * source/compiler/genc.c * contrib/rdd_ads/ads1.c * include/hbinit.h * updated initSymbols handling - particularly for msc flavours. * Still a work in progress. Thanks also to Victor 20000331-19:24 GMT+1 Viktor Szakats * source/rtl/valtype.c * source/vm/itemapi.c * include/hbapi.h * include/hbapiitm.h * hb_valtypeGet() -> hb_itemTypeStr() 20000331-19:06 GMT+1 Viktor Szakats * include/hbapi.h * source/rtl/console.c * source/rtl/setcolor.c * source/rtl/setcurs.c * source/rtl/errorapi.c * source/rtl/gtapi.c * source/rtl/set.c * source/vm/hvm.c * source/vm/cmdarg.c * source/vm/fm.c * source/rtl/gtstd/gtstd.c * Console related functions all prefixed with hb_con hb_consoleInitialize -> hb_conInit hb_consoleRelease -> hb_conRelease hb_consoleGetNewLine -> hb_conNewLine hb_out -> hb_conOut hb_altout -> hb_conOutAlt hb_devout -> hb_conOutDev hb_dispout -> hb_conOutDisp hb_outstd -> hb_conOutStd hb_outerr -> hb_conOutErr hb_setCursor -> hb_conSetCursor hb_setColor -> hb_conSetColor hb_devpos -> hb_conDevPos * include/hbdate.h * source/rtl/natmsg/*.c * source/rtl/dates.c * source/rtl/dateshb.c * source/rtl/datec.c * source/rtl/pad.c * source/rtl/transfrm.c * source/rtl/seconds.c * source/vm/itemapi.c * source/tools/dates2.c * Date related globals all prefixed with hb_date hb_monthsname -> hb_dateMonthsName hb_daysname -> hb_dateDaysName hb_seconds -> hb_dateSeconds hb_cmonth -> hb_dateCMonth hb_cdow -> hb_dateCDOW hb_dow -> hb_dateDOW hb_dtoc -> hb_dateFormat ; Renaming of globals is basically over now. 20000331-20:27 GMT+3 Alexander Kresin * source/rdd/dbstrux.prg * some changes, provided by Chen Kedem * contrib/odbc/bld_b32.bat * contrib/odbc/hbodbc.b32 * contrib/odbc/odbc.c * some fixes 20000331-10:45 EST Paul Tucker <ptucker@sympatico.ca> * contrib/rdd_ads/ads1.c * updated initSymbols handling 20000331-09:50 EST Paul Tucker <ptucker@sympatico.ca> * source/rdd/dbf1.c * source/rdd/sdf1.c * source/rdd/delim1.c * source/rdd/dbfcdx/dbfcdx1.c * source/rdd/dbfntx/dbfntx1.c * updated initSymbols handling 20000331-06:40 EST Paul Tucker <ptucker@sympatico.ca> * source/rtl/diskspac.c * minor code opt. 20000331-04:30 EST Paul Tucker <ptucker@sympatico.ca> * include/hbvmpub.h * put the #pragma pack in _MSC_VER gaurds which got missed in the original upload 20000331-01:02 GMT+1 Viktor Szakats * include/hbapilng.h * include/hbdate.h * include/hberrors.h * include/hbinit.h * include/hbtrace.h ! Added #include "hbsetup.h" before using HB_EXTERN_C. * doc/howtomak.txt ! Typo * source/pp/pplib.c ! One global compiler variable declaration removed, because the same variable was also declared in macro.lib. 20000330-23:04 GMT+1 Maurilio Longo <maurilio.longo@libero.it> * include/hbvmpub.h ! with OS/2 GCC pragma pack(8) is not valid * source/rtl/gtos2/gtos2.c * with OS/2 GCC kbhit() is not available (it's a ToolKit function) 20000330-12:15 EST Paul Tucker <ptucker@sympatico.ca> * source/rtl/dates.c * account for possible overflow in calculation * source/rtl/defpath.c * initialise size to 0 * source/rtl/environ.c * added missing ; for msc branch * source/rtl/isprint.c * added msc8 support (== _BORLANDC_) * source/rtl/dir.c * source/rtl/gtdos/gtdos.c * source/rtl/gtdos/mousedos.c * modified to work with msc8 (upcoming addition!) * include/hbvmpub.h * change alignment of HB_SYMB for msc8 * source/rdd/dbcmd.c * changed if(!(...)) to if((...)==0) in rddInherit for /W4 compiler warning. * initialise uiArraylen in AFIELDS() * initialise ulNext in defEval() * source/rdd/dbf1.c * dbfUpdateRecord() Initialise local ulRecCount! NOTE: Something doesn't look right with the logic here. * dbfReadDBHeader() Init pFieldInfo.uiLen to 0 * source/vm/memvars.c * hb_memvarCreateFromItem() Initialize pDynVar to NULL 20000329-16:33 GMT+1 Viktor Szakats * include/hbapi.h * source/rtl/val.c * source/rtl/ampm.c * source/rtl/sample.c ! hb_strVal() and VAL() made completely CA-Cl*pper compatible. Now 21 less test failures in HBTEST. atof() is no longer used. * utils/hbtest/rt_str.prg * utils/hbtest/rt_math.prg + Added some VAL() related tests. 20000328-23:04 GMT+1 Viktor Szakats * config/dos/global.cf * config/w32/global.cf ! Small fix for 'clean' *.*. * include/hbdefs.h * include/hbsetup.h + Added HB_FUNC_CALLCONV for the HARBOUR macro. Borland users wishing to use pascal mode should use this command line switch: -DHB_FUNC_CALLCONV=pascal Note that you can use any other preferred calling conventions supported by your compiler. * HARBOUR_START_PROCEDURE moved to hbdefs.h since this should not be a user configurable parameter, it's "MAIN" or nothing. * source/vm/cmdarg.c ! Workaround for MSC8 compiler bug. + ChangeLog.006 ! Readded with the correct case. * doc/howtocvs.txt * doc/whatsnew.txt ! Minor fixes. 20000328-23:10 GMT+3 Alexander Kresin * source/pp/ppcore.c * Bug fixed, reported by Luiz Rafael Culik * Problem solved with 16-bit version * source/pp/pplib.c * hb_pp_init() call removed from __preprocess() * source/rdd/dbf1.c * bug fixed as proposed Janica Lubos * contrib/rdd_ads/ads.ch * contrib/rdd_ads/adsfunc.c * Added third optional parameter to adsKeyCount() as proposed Brian Hays 2000-03-28 13:40 GMT+1 Maurilio Longo <maurilio.longo@libero.it> * include/hbdefs.h ! You cannot redefine base types when using GCC under OS/2 2000-03-27 23:20 GMT-5 David G. Holm <dholm@jsd-llc.com> * include/hbapi.h * include/hbapierr.h * include/hbapifs.h * include/hbapigt.h * include/hbapiitm.h * include/hbapilng.h * include/hbapirdd.h * include/hbcomp.h * include/hbdate.h * include/hberrors.h * include/hbexprop.h * include/hbinit.h * include/hbmacro.h * include/hbpp.h * include/hbset.h * include/hbsetup.h * include/hbtrace.h * include/hbvm.h * include/hbvmpub.h % Changed from using #if defined(__cplusplus) to using #if defined(HB_EXTERN_C) and added definition of HB_EXTERN_C to hbsetup.h #if defined(__cplusplus) && !defined(__IBMCPP__) 20000328-03:35 GMT+1 Viktor Szakats + doc/c_std.txt + A list of the keywords which are part of the ANSI C and/or Posix standards. * source/tools/mathx.c + Added new functions by Jose Lalin. * source/compiler/harbour.c ! Fixed to not define isatty for __BORLANDC__ * config/dos/global.cf ! Replaced "ECHO Y" with FOR command to make it work on non-English systems. 2000-03-27 19:15 GMT-5 David G. Holm <dholm@jsd-llc.com> * include\hbset.h * include\hbapiitm.h * include\hbapi.h * include\hbmacro.h * include\hbapirdd.h * include\hbexprop.h * include\hbdate.h * include\hbapilng.h * include\hbapigt.h * include\hbcomp.h * include\hbapifs.h * include\hbtrace.h * include\hberrors.h * include\hbvmpub.h * include\hbinit.h * include\hbvm.h * include\hbapierr.h * include\hbpp.h - Commented out all 'extern "C" {' and '}', because the ill-advised addition of extern "C" statements is only half done (present in .h files, but not in .c files), which prevents the os2/icc version of Harbour from being built. * source/macro/macro.c - Removed 'static' from definition of variable that is declared as 'extern' in hbmacro.h. 20000327-21:35 GMT+1 Viktor Szakats ! Trash in harbour CVS root directory removed by SourceForge staff. ! File permission error corrected for CONTRIB/RDD_ADS/ dir by SourceForge staff. * utils/hbextern/hbextern.prg ! Fixed handling of HB_FUNC(). * source/rtl/console.c ! hb_consoleRelease() now calls hb_mouseExit(). * source/vm/debug.c ! Oops, one StackLen() converted to hb_stackLen() * source/rtl/natmsg/msgru866.c ! Fixed country. * source/rtl/tone.c - Removed local ChangeLog * source/pp/stdalone/hbpp.c * source/pp/ppcore.c * source/pp/ppcomp.c * source/rtl/gtwin/gtwin.c * source/rtl/gtcrs/gtcrs.c * source/rtl/setcolor.c ! TRACE call fixes. Thanks go to Tom Sobota. + #include "inkey.ch" added for gtcrs.c 20000327-01:24 GMT+1 Viktor Szakats - doc/cvshowto.txt + doc/howtocvs.txt + doc/howtomak.txt + Enhanced the CVS upload guide. + Added guide how to make Harbour binary from the source. * makefile.* + C_USR and PRG_USR GNU-make style envvars are now working with MSVC and Borland makefiles. + contrib/runjava/bld_java.bat + contrib/runjava/make_vc.bat + contrib/runjava/Harbour.java + contrib/runjava/hbrunj.h + contrib/runjava/runjava.c + contrib/runjava/makefile.vc + The JAVA runner contribution has been added to a new directory along with all the support files needed to make it work. Thanks to Matteo Baccan for this contribution. ; !! WARNING !! I could not test this since I don't have the java tools needed. * makefile.vc * make_vc.bat - The JAVA runtime generation feature removed. (see previous entry) * source/vm/debug.c * One static function renamed. * include/clipdefs.h ! pascal keyword removed from here, too. So the rule has changed that all mixed or lower case CLIPPER function names must be converted to uppercase to make it work with Harbour. 20000326-16:58 EST Paul Tucker <ptucker@sympatico.ca> * source/rtl/gtwin/gtwin.c * further refinement on screen sizing. Size is now restored on exit. 20000326-13:14 GMT+1 Viktor Szakats * makefile.bc ! Fixed. * ChangeLog.006 ! Corrected the case. (Temporarily removed, until someone at SourceForge will remove the old repository entry) 20000326-03:42 EST Paul Tucker <ptucker@sympatico.ca> * source/rtl/gtwin/gtwin.c * This is an old problem: Because Windows allows you to set the size of the window to something like 100x300 (for example) you then get scroll bars on the window. I've been toying with the various conditions and oddities that might arise from this situation. This includes switching from a window to full screen where the max visible is typically 50x80, yet the system can still give you access to the full 100x300. Writing to the extra screen space is simple enough, but using it becomes annoying, since the system will move the buffer around to keep the cursor in view. Rather than fight it, gt_init, now caps the screen size to 50x80. If you want a bigger size, then it is assumed you know what you are going to do with the extra real eastate, and thus you can call SetMode(100,300). 20000326-08:06 GMT+1 Viktor Szakats * include/hbdefs.h * include/clipdefs.h * Now the HARBOUR keyword requires the function name to be in uppercase. The compatibility CLIPPER keyword still allows for mixed case function names on some platforms. The reason is that "pascal" keyword is non-portable, and the above requirement was already there for some platforms, now it's a generic rule. - Removed the __attribute__ ((stdcall)) for the __GNUC__ branch. Setting any specific calling convention is not needed, since we don't need to deal with compatibility with precompiled legacy libs, there's no such thing, CA-Cl*pper never supported GNU C. ; Now the HARBOUR macro is quite simple, it's plain "void". * source/pp/ppcore.c + Added predefined macro __HB_MAIN__. The macro is undefined or holds the value of HARBOUR_START_PROCEDURE depending on the compiler. Use this code to make your Harbour startup procedure platform/compiler independent: #ifndef __HB_MAIN__ #define __HB_MAIN__ AppMain /* Or whatever you wish to call it */ #endif FUNCTION __HB_MAIN__() + contrib/hbclip/hbclip.h + Added header file which can be used to maintain common C source code for CA-Cl*pper and Harbour. The legacy code needs a one-time conversion to make this work. * source/rtl/dir.c ! Fixed #elif guard (BCC31 was not working). (|| -> &&) * source/rtl/gete.c * source/rtl/math.c * source/rtl/abs.c * source/rtl/minmax.c * source/rtl/mod.c * source/rtl/round.c * source/rtl/dir.c * source/rtl/binnum.c * source/rtl/philes.c * source/rtl/empty.c * source/rtl/setpos.c * source/rtl/saverest.c * source/rtl/setcurs.c * source/rtl/gx.c * source/rtl/len.c * source/rtl/valtype.c * source/rtl/msgxxx.c * source/vm/pcount.c * source/vm/proc.c * source/vm/break.c * source/vm/initexit.c + Added copyrights for some files which didn't have any. The source is the Harbour mailing list archive. * source/tools/html.prg -> utils/hbdoc/ * source/tools/ng.prg -> utils/hbdoc/ * source/tools/os2.prg -> utils/hbdoc/ * source/tools/rtf.prg -> utils/hbdoc/ * source/tools/troff.prg -> utils/hbdoc/ * source/tools/fileread.prg -> utils/hbdoc/ (copied) * source/tools/Makefile * utils/hbdoc/Makefile * makefile.vc * makefile.bc * Some HBDOC specific source files moved to their local directory. * One tools file copied to hbdoc for local usage. - Removed tools lib. * samples/guestbk/testcgi.prg * samples/guestbk/Makefile * samples/guestbk/bld_b32.bat ! #include hbclip.ch guarded - Removed tools lib. * samples/misc/Makefile * samples/pe/Makefile - Removed tools lib. * utils/hbtest/hbtest.prg ! Typo (suit -> suite) * source/rtl/gtwin/gtwin.c ! Unused variable warning fixed. * doc/gmake.txt ! make_tpl -> make_gnu 20000326-03:37 GMT+1 Viktor Szakats - make_tpl.* - bin/bld_tpl.* + make_gnu.* + bin/bld.* + GNU-make starters renamed to better show their purpose. + GNU-make starters modified to work like bld_gnu.*, so that they don't need to be modified, instead they expect the HB_ envvars to be set. Now they also throw a help screen when something is not set. + BLD.SH bash script added to build Harbour executables. + Other small improvements. * source/rtl/console.c % DISPOUT(), DISPOUTAT(), DEVOUT() optimized % DISPOUTAT() made even more CA-Cl*pper compatible. ! SETPRC() made even more CA-Cl*pper compatible. * Some variables renamed. * source/rtl/box.c % Small optimization. * source/rtl/gtapi.c + s_bInit variable added. * utils/hbdoc/Makefile - runner lib removed (again). 20000325-09:22 EST Paul Tucker <ptucker@sympatico.ca> * include/hbapigt.h source/rtl/gtcrs/gtcrs.c source/rtl/gtdos/gtdos.c source/rtl/gtos2/gtos2.c source/rtl/gtpca/gtpca.c source/rtl/gtsln/gtsln.c source/rtl/gtstd/gtstd.c source/rtl/gtwin/gtwin.c source/rtl/gt_tpl/gt_tpl.c + hb_gt_DispCount() * source/rtl/gtapi.c * modified DispCount Handling. 20000325-07:50 EST Paul Tucker <ptucker@sympatico.ca> * source/rtl/gtwin/gtwin.c * correct handling of the screen buffers and fix a gpf when calling SetMode() - only noticed under Win98 * added a todo. (for me) 20000325-04:58 EST Paul Tucker <ptucker@sympatico.ca> * source/rtl/diskspac.c * un-opted the small opt. (fixed hang) 20000325-05:30 GMT -3 Luiz Rafael Culik <culik@sl.conex.net> Missed from previos session !Changelog Rename to Changelog.006 and started a new one *doc/en/array.txt doc/subcodes.txt doc/en/command.txt doc/en/file.txt doc/en/string.txt doc/en/input.txt doc/en/tclass.txt doc/en/set.txt doc/en/var.txt doc/en/memo.txt doc/en/ht_class.txt doc/en/objfunc.txt doc/en/nation.txt doc/en/misc.txt doc/en/hvm.txt *Small formating +doc/en/math.txt *docs for some math funcs *source/tools/rtf.prg *some Fixes *utils/hbdoc/genrtf.prg source/tools/rtf.prg * some fixes and a small enhacement 20000325-03:38 GMT+1 Viktor Szakats * contrib/rdd_ads/ads1.c ! BCC55 warning fixed. * contrib/hbclip/make_clp.bat ! Removed hard coded path for c compiler * utils/hbextern/hbextern.prg * Doesn't use hbclip.ch anymore. * source/vm/pvalue.c doc/subcodes.txt - HB_PVALUE() removed the runtime error. From now on NIL will be returned if the requested parameter doesn't exist. This better fits in the average pattern of usage, and if needed the error case can checked by the caller. * config/w32/global.cf * config/dos/global.cf * Slang and ncurses commented out for w32, added for dos but commented out, too. * bin/bld_tpl.* ! GCC bug fixed (hard-coded .lib extension for the GT lib). * source/rtl/diskspac.c * Small opt. * include/hbdefs.h ! Minor fix. 2000-03-23 20:45 GMT-5 David G. Holm <dholm@jsd-llc.com> * contrib/rdd_ads/ads1.c * contrib/rdd_ads/adsfunc.c * contrib/rdd_ads/rddads.h % Made changes for MingW32 * contrib/rdd_ads/Makefile + Added a Makefile for the GNU Make System 20000322-17:35 EST Paul Tucker <ptucker@sympatico.ca> * source/rtl/diskspac.c * min() -> HB_MIN 20000323-09:10 GMT+3 Alexander Kresin * contrib/rdd_ads/adsfunc.c * Fixed bug in ADSSETDELETED(), as proposed by Sid Sailors 20000322-21:55 EST Paul Tucker <ptucker@sympatico.ca> * source/rtl/diskspac.c * accounted for possibility of retrying the operation * (though I didn't activate it - see notes) * optimized some assigns. 20000322-21:10 GMT-3 Luiz Rafael Culik <culik@sl.conex.net> Missed from previos session *doc/en/array.txt doc/en/binnum.txt doc/en/browse.txt doc/en/command.txt doc/en/dir.txt *Small formating *source/rtl/dir.c *added test to determine the borland compiler version so the _chmod obsolete warning wont appear *source/tools/rtf.prg source/tools/os2.prg source/tools/ng.prg *some enhacement *utils/hbdoc/genng.prg utils/hbdoc/genrtf.prg utils/hbdoc/genos2.prg +code to generate tables +code to support new subtags. *some enhacements 20000322-22:30 GMT-3 Luiz Rafael Culik <culik@sl.conex.net> *doc/compiler.txt doc/gnulice.txt doc/harbext.txt *Small Changes *doc/en/binnum.txt doc/en/command.txt doc/en/dir.txt doc/en/diskspac.txt doc/en/dir.txt doc/en/terminal.txt doc/en/treport.txt doc/en/tlable.txt doc/en/readme.txt doc/en/license.txt doc/en/tgetlist.txt doc/en/error.txt *Small changes *utils/hbdoc/genng.prg utils/hbdoc/genos2.prg utils/hbdoc/genrtf.prg !fix code when a Return or Argument is only one line , to add the propery tags to enhace the first word 20000322-19:35 EST Paul Tucker <ptucker@sympatico.ca> * include/fileio.ch * source/rtl/diskspac.c * Changed and reordered HB_DISK_ defines to be in the range 0-3 * source/rtl/dskspac.c * cap uiType to HB_DISK_TOTAL for out of range types. * doc/en/diskspac.txt * updated 2000-03-22 17:25 GMT-5 David G. Holm <dholm@jsd-llc.com> + source/rtl/gtpca/kbdos2.gcc + Added hb_gt_ReadKey() support for os2/gcc platform (I forgot to run CVS ADD on this module earlier) 20000322-22:46 GMT+1 Viktor Szakats * include/hbdefs.h - Removed EXTERNAL_LINKAGE macro, it was not used anymore. + contrib/hbclip/hbstodx.c * contrib/hbclip/make_clp.bat + HB_STOD() function added. * utils/hbtest/make_c5x.bat utils/hbtest/hbtest.prg + If the HBCLIP.LIB is built, the regression test will automatically use it, so the STOD() tests will pass in HBTEXT5X.EXE. * utils/hbrun/exttools.prg - Removed IO.C functions. * source/rtl/diskspac.c source/rtl/dirdrive.c * Doc/comment/formatting changes. 20000322-16:40 EST Paul Tucker <ptucker@sympatico.ca> * source/rtl/diskspac.c * no windows dialogs if disk not in drive. * Compatible error box instead. 2000-03-22 16:35 GMT-5 David G. Holm <dholm@jsd-llc.com> * config/os2/gcc.cf + Added HB_GT_LIB support * source/doc/gmake.txt % Updated to reflect the recent changes to the GT libraries * source/rtl/fssize.c + Added #include <sys/type.h>, which is required for sys/stat.h * source/rtl/gtpca/gtpca.c * source/rtl/gtpca/kbdos2.gcc + Added hb_gt_ReadKey() support for os2/gcc platform 20000322-14:05 EST Paul Tucker <ptucker@sympatico.ca> * source/rtl/diskspac.c * made the msc and __gnuc__ branch the same. * the diff is now for borland. * add a note. 20000322-16:33 GMT+1 Viktor Szakats - include/hbclip.ch + contrib/hbclip/hbclip.ch + contrib/hbclip/hbclip.prg + contrib/hbclip/hbcolind.c + contrib/hbclip/hbkeyput.prg + contrib/hbclip/hbshadow.prg + contrib/hbclip/hbstod.c + contrib/hbclip/hbvaltoc.prg + contrib/hbclip/make_clp.bat + contrib/hbclip/readme.txt + Harbour Compatibility Library for CA-Cl*pper 5.x/'87 contribution started. + STOD(), HB_VALTOSTR(), HB_KEYPUT(), HB_COLORINDEX() functions added. + Some functions from hbclip.ch also added to the library so that the the library (HBCLIP.LIB) can be used with Clipper Summer '87. + Header file from Harbour include dir moved here. * makefile.bc makefile.vc + Some user notes added about configuration. - source/tools/io.c * include/hbapifs.h source/rtl/diskspac.c source/tools/Makefile tests/tstdspac.prg makefile.bc makefile.vc - Removed the internal function hb_fsDiskSpace() (the reason is that this internal function may actually throw a Harbour runtime error.) - Removed CD(), MD(), RD(), DISK*() from TOOLS. You can use these macros to access the removed functions: (This will require HB_COMPAT_C53 and #include "fileio.ch") #define CD( d ) DIRCHANGE( d ) #define MD( d ) MAKEDIR( d ) #define RD( d ) DIRREMOVE( d ) #define DISKUSED( d ) DISKSPACE( d, HB_DISK_USED ) #define DISKFREE( d ) DISKSPACE( d, HB_DISK_FREE ) #define DISKFULL( d ) DISKSPACE( d, HB_DISK_TOTAL ) * source/rtl/dir.c * Some minor cleanup (CVSd in the previous session) 20000322-13:30 GMT+1 Viktor Szakats * source/rtl/diskspac.c ! Workaround for GCC/Win32 (Cygwin and Mingw32). * include/*.h + extern "C" added for C++ builds, to better interface with plain C. ; Note that the support is not yet complete, because the Harbour level functions are not yet marked as extern "C". * makefile.vc ! Fix for exttools.prg * tests/Makefile samples/guestbk/makefile samples/hscript/makefile samples/misc/makefile samples/pe/makefile utils/hbdoc/makefile utils/hbextern/makefile utils/hbrun/makefile utils/hbtest/makefile ! runner lib removed from the GNU-make system * include/hbmacro.h + extern added where missing. + extern declarations added for all functions in macro.c * include/hbcomp.h + extern added where missing. * source/rtl/msgxxx.c + Missing #include "hbdate.h" added. * source/rtl/gtwin/gtwin.c ! hb_gt_DebugScreen() made static and commented out to avoid warning. * source/rtl/gtwin/* ! Added "C" for externs. (later removed. Just for the record) * source/vm/fm.c - Commented out externs removed. * source/compiler/harbour.y include/hbcomp.h include/hberrors.h % Multiple declarations removed * One declaration moved to hbcomp.h from harbour.y + Some YY related functions marked as extern * source/compiler/harbour.c include/hbcomp.h * Some declaration moved to hbcomp.h * source/macro/* + All files include hbmacro.h * source/rtl/setpos.c * Some changes in the comments - include/hbdocdef.ch + utils/hbdoc/hbdoc.ch * utils/hbdoc/* * Moved the private header to its private directory. 20000322-00:05 EST Paul Tucker <ptucker@sympatico.ca> + doc/en/diskspac.txt * doc for DiskSpace(), DiskFree(), DiskUsed() and DiskFull() * doc/harbext.txt + added DiskSpace() to show Harbour extension (second param) 20000321-06:57 GMT-8 Brian Hays <bhays@abacuslaw.com> * doc/harbext.txt + added SToD() 20000322-02:25 GMT+1 Viktor Szakats * include/fileio.ch include/hbapi.h include/hbapifs.h source/rtl/diskspac.c source/tools/io.c * hb_DiskSpace() renamed to hb_fsDiskSpace() and moved the FS API header. * HB_DISK_* constants moved to fileio.ch + Added a new parameter to the Harbour level DISKSPACE() function to enable access to the new features. This is a Harbour extenstion. ! DISKSPACE() (and the IO.C versions) use hb_retnlen() instead of hb_retnd(). ! CD(), RD(), MD() are now using the FS API, so they are now working on more platforms. 20000321-19:58 EST Paul Tucker <ptucker@sympatico.ca> * source/rtl/diskspac.c * Borland does not see the unnamed struct that is part of ULARGE_INT. * fix is to used the named version which MS conveniently supplied. 20000321-18:55 EST Paul Tucker <ptucker@sympatico.ca> * source/rtl/diskspac.c * add missing { 20000321-18:20 EST Paul Tucker <ptucker@sympatico.ca> * source/rtl/diskspac.c * Fix for borland's def of ULARGE_INTEGER 20000321-17:05 EST Paul Tucker <ptucker@sympatico.ca> * tests/Makefile + tests/tstdspac.prg 20000321-16:45 EST Paul Tucker <ptucker@sympatico.ca> * source/rtl/diskspac.c * Modified code since math wasn't working in '32-bit' mode * reworked to be consistant amongst platforms. + hb_DiskSpace() does the grunt work for all supported platforms * DiskSpace() calls hb_diskSpace() * source/tools/io.c * DiskFree(), DiskUsed, DiskFull() now call hb_DiskSpace() * include/hbapi.h + #define HB_DISK_.... + declaration for hb_DiskSpace() ! Disk...() functions return a double. + tests/tstdspac.prg * tests for diskspace related functions 20000321-15:08 GMT+1 Viktor Szakats * source/rtl/diskspac.c + Supports larger disks than 2 GiB by design. + Support added for Win95B, Win98, WinNT, Win2K to return the correct free space for >2 GiB disks. (Wewwh, Win32 API *is* a strange beast ;) * source/rtl/seconds.c include/hbdate.h * hb_secondsToday() -> hb_seconds() Hack to avoid name collision removed. * include/hbdefs.h pp/pplib.c rtl/gtdos/gtdos.c rtl/gtos2/gtos2.c rtl/gtwin/gtwin.c rtl/ampm.c rtl/gtapi.c rtl/memoline.c rtl/round.c vm/arrayshb.c vm/fm.c * HB_MIN_() -> HB_MIN() HB_MAX_() -> HB_MAX() 20000321-12:32 GMT+1 Viktor Szakats * include/hbdefs.h + HB_FUNCNAME() macro added for Harbour name mangling: HB_FUNCNAME( DTOC ) -> HB_DTOC * Changed the prefix for Harbour callable functions from "HB_" to "HB_FUN_" this way any possible collisions with internal symbols is avoided. Previously a Harbour function with the name DYNS() would fail to compile, using the the C generation feature of the compiler. * source/vm/*.c source/rdd/* source/pp/pplib.c source/tools/*.c source/rtl/*.c source/compiler/genc.c contrib/rdd_ads/*.c * Uses HB_FUNC*() macros. * Code generation modified to use HB_FUNC*() macros. * utils/hbextern/hbextern.prg * Updated to scan for "HB_FUNC(" instead of "HARBOUR" * source/vm/runner.c - One TODO removed + One FIXME added * source/rtl/mouseapi.c + source/rtl/mousex.c source/rtl/Makefile makefile.bc makefile.vc + Xbase++ functions separated. * include/hbextern.ch + utils/hbrun/exttools.prg utils/hbrun/Makefile makefile.bc makefile.vc * EXTERN belonging to tools moved from the central HBEXTERN.CH file to local list in HBRUN. % Minor optimization in makefiles. ! HBEXTERN.CH FIXME fixed. * include/hbvmpub.h compiler/genc.c compiler/genhrb.c compiler/genjava.c compiler/genobj32.c compiler/harbour.c compiler/harbour.y rdd/dbfcdx/dbfcdx1.c rdd/dbfntx/dbfntx1.c rdd/dbf1.c rdd/delim1.c rdd/sdf1.c vm/dynsym.c vm/hvm.c vm/runner.c contrib/rdd_ads/ads1.c * _HB_FS_* macros changed to HB_FS_*, since the reason for the prefix will be nilled soon. 20000321-07:46 GMT+1 Viktor Szakats * include/hbdefs.h + HB_FUNC() macro added. This method has the advantage over the old HARBOUR ??( void ) method, that it can be easily extended, the prefix can be changed globally (we'll need this), and the parameter list can be extended (later for multithreading for example). Please use this from now on instead of the old method: HB_FUNC( DTOC ) { /* ... */ } * source/rtl/diskspac.c + Uses HB_FUNC() * compiler/harbour.c rtl/gtdos/gtdos.c rtl/filesys.c rtl/inkey.c tools/io.c include/hbsetup.h + Old DOS and OS2 macros changed to HB_OS_* macros in the source. - Old DOS and OS2 macros removed from the header. 2000-03-20 21:55 GMT-5 David G. Holm <dholm@jsd-llc.com> * config/os2/icc.cf * config/w32/bcc32.cf + Added HB_GT_LIB support * source/rtl/gtdos/gtdos.c * source/rtl/gtos2/gtos2.c * source/rtl/gtwin/gtwin.c + Added Copyright notice for hb_gt_ReadKey() + Added missing conditionals and includes to gtos2.c for ICC + Added hb_gt_Version() to gtos2.c - Removed GCC conditionals and includes from gtos2.c, because gtos2.c doesn't support GCC for screen output, so there is little point in including keyboard input or sound suport. 20000321-02:00 GMT+1 Viktor Szakats + source/vm/runner.c - source/runner/runlib.c - source/runner/Makefile - source/runner/stdalone/Makefile - source/runner/stdalone/hbrun.prg + utils/hbrun/Makefile + utils/hbrun/hbrun.prg * source/Makefile source/vm/Makefile utils/Makefile makefile.bc makefile.vc * Runner library code moved to SOURCE/VM * Runner standalone utility moved to UTILS/HBRUN * source/rtl/filesys.c + source/rtl/philes.c - source/rtl/getenv.c + source/rtl/gete.c - source/rtl/stris.c + source/rtl/is.c source/rtl/Makefile makefile.bc makefile.vc + Harbour callable low-level file handling routines moved to a separate source file. * Two files renamed to match Clipper. 20000321-01:10 GMT+1 Viktor Szakats * source/rtl/gtapi.c ! hb_gtBox() bottom/left corner draw bug fixed. Introduced around today. * source/rtl/diskspac.c ! Fixed the default case for Win32. ! Fixed to accept a numeric parameter instead of a string. * source/rtl/getenv.c ! Fixed to not modify the item buffer directly. ! Fixed to convert the envvar name to uppercase on DOS and OS/2 platforms. ! Consistent handling of \0 char in the envvar name. ! Fixed stripping of the '=' character. * source/rtl/strings.c source/rtl/stuff.c source/rtl/word.c - Superfluous #includes removed. 20000320-23:00 GMT-3 Luiz Rafael Culik <culik@sl.conex.net> samples/cccppc/*.* ! Removed contents from the CCCPPC dir 20000320-22:30 GMT+1 Viktor Szakats * samples/guestbk/bld_b32.bat ! Fixed. 20000320-17:00 GMT+1 Viktor Szakats * source/vm/cmdarg.c - Removed the GTAPI info from //BUILD info. * include/hbsetup.h - Removed the HARBOUR_USE_* macros. - Removed the HB_GT_* macros. ! Fixed #ifdef (__EMX__) * source/rtl/console.c source/rtl/gtapi.c source/rtl/gt/* include/hbapigt.h + Added new GT API call: hb_gtVersion() + The GT type is now displayed when //INFO is specified. % Some static variable initialization moved to the init routine. ! Setting the default cursor is done in hb_gtInit() instead of consoleInitialize() * config/*/global.cf config/*/<compiler>.cf + Added the list of possible GT drivers and the default for the actual architecture. The default GT driver can be selected by setting the HB_GT_LIB envvar to the proper value. + Added logic to add the selected GT driver to libs. This is not complete, and could be refined for some platform, for example to automatically link in the related slang.lib or curses.lib. ! WARNING ! Check it with your platform. (BCC16, WATCOM, ICC not added) - source/rtl/gtxxx.c - source/rtl/mousexxx.c - source/rtl/gt/* - source/rtl/mouse/* + source/rtl/gtdos/* + source/rtl/gtwin/* + source/rtl/gtos2/* + source/rtl/gtpca/* + source/rtl/gtstd/* + source/rtl/gtcrs/* + source/rtl/gtsln/* + source/rtl/gt_tpl/* + source/rtl/box.c + source/rtl/gt.c * source/rtl/console.c source/rtl/Makefile bin/bld*.bat makefile.bc makefile.vc * Some new file separated from console.c - Old compile time GT driver selector files removed. + Makefile modified to make all the drivers suitable for the platform. The GT driver may be selected by the HB_GT_LIB envvar, but there's a default for all platforms. This also goes for the non-GNU makefiles. + Build batch files modified to include a default GT driver lib. The default can be overriden with the BLD_TPL batch files by setting the HB_GT_LIB envvar, see the help for more. + GT + MOUSE driver code unified and moved to new self-containing directories. Makefiles added. % Some static variable initialization moved to the init routine. (GTDOS, GTWIN) ! Fixed some unused variables (GTDOS) + source/rtl/binnumx.c + source/rtl/dirdrive.c + source/rtl/datesx.c + source/rtl/philes53.c + source/rtl/philesx.c + source/rtl/browdbx.prg * source/rtl/binnum.c source/rtl/filesys.c source/rtl/dateshb.c source/rtl/browdb.prg source/rtl/Makefile makefile.bc makefile.vc + Separated functions for Xbase++ and CA-Cl*pper 5.3 - source/tools/datesx.c * source/tools/dates2.c source/tools/Makefile makefile.bc makefile.vc * datesx.c merged into dates2.c to avoid conflict with the new file in RTL with the same name. 20000320-13:45 GMT+1 Ryszard Glab <rglab@imid.med.pl> *source/macro/macro.y *added declaration of yyparse() function 20000320-13:10 GMT+1 Ryszard Glab <rglab@imid.med.pl> *source/compiler/harbour.y * fixed compilation of empty files *include/hbexpra.c *include/hbexprb.c *source/macro/macro.c *fixed passing of the second parameter in hb_compGenPushSymbol *source/rtl/gt/gtstd.c *fixed to get a clean compile on Linux *source/rtl/gt/gtcrs.c *matching #endif added *inkey.ch added again - we need these definitions to define the keys translation table - FIXME 20000319-01:35 EST Paul Tucker <ptucker@sympatico.ca> * source/pp/ppcore.c from 20000319-01:30 that didn't get posted. 20000319-19:11 GMT+1 Viktor Szakats * include/hbapigt.h source/rtl/gtapi.c source/rtl/inkey.c source/rtl/gt/*.c + The multiplatform inkeypoll code has been moved to the proper GT drivers. Now the GT driver is completely self containing. !! WARNING !! Please test this on your system with your compiler. Tested with: W32/BCC55, DOS/BCC31 * source/rtl/filesys.c % Double #include removed. * source/rtl/diskspac.c ! Fix for DOS. 20000319-17:47 GMT+1 Viktor Szakats * include/hbsetup.h ! __WINDOWS__ -> _WINDOWS_ * include/hbdefs.h * The #ifdef structure cleaned up. * source/rtl/gt/gtwin.c % hb_gt_Tone() simplified. * source/pp/ppcore.c ! __HARBOUR__ is now zero padded, because it's better to avoid spaces in a macro value. * source/rtl/console.c source/rtl/gt/gtstd.c source/rtl/gtapi.c include/hbsetup.h - Removed the non-GTAPI branch. Last one. Now the box drawing in GTSTD is probably flawed. The non-GT code snipped from console.c has moved to gtstd.c + hb_gtBox() modified to draw the box from top to bottom and left to right to better support GTSTD. Tested all weirt combination to be CA-Cl*pper compatible. * source/rtl/fstemp.c ! Type fixed. * source/vm/fm.c source/rtl/net.c source/rtl/oemansi.c source/rtl/dateshb.c % Using HB_OS_WIN_32 + source/rtl/diskspac.c + source/rtl/scroll.c + source/rtl/rat.c source/rtl/filesys.c source/rtl/console.c source/rtl/at.c source/rtl/Makefile makefile.bc makefile.vc * DISKSPACE() function moved into separate file. * DISKSPACE() using HB_OS_WIN_32 * SCROLL() function moved into separate file. % SCROLL() function variable usage optimized (got rid of six variables). * RAT() function moved into separate file. * source/rtl/saverest.c % SAVESCREEN() optimized. * source/rtl/str.c source/rtl/val.c * hb_strVal() moved to val.c, where it belongs. * source/compiler/harbour.c include/hbcomp.h ! extern moved to the header file. * source/rtl/console.c source/rtl/filesys.c source/rtl/gtapi.c source/rtl/gt/gtpca.c source/rtl/dir.c ! Fixed the <io.h> file issue for Linux. * source/rtl/do.c source/rtl/eval.c % Minor optimization. * make_vc.bat include/hbinit.h include/hbapigt.h source/rtl/datec.c * Minor change. * makefile.bc ! Fixed for the latest compiler/macro file splits. 20000319-01:35 EST Paul Tucker <ptucker@sympatico.ca> * makefile.vc * enable 'batch' mode for rdd.lib * removed extra \ + delete items from bin\vc\exe on /A 20000319-01:30 EST Paul Tucker <ptucker@sympatico.ca> * source/pp/ppcore.c * Assign NULL to stdef->pars and value when item undef'ed * Question: Why isn't this stuct removed from the list as well? * source/compiler/harbour.y * make hb_comp_szAnnounce non static * source/compiler/harbour.c * assign NULL to hb_comp_szAnnounce in hb_compInitVars() 20000319-01:10 EST Paul Tucker <ptucker@sympatico.ca> * contrib/rdd_ads/ads1.c * added cast in strlen() (forgot to post previously) 20000318-21:30 GMT+1 Ryszard Glab <rglab@imid.med.pl> *include/hbexpr.c -removed *include/hbexpra.c *include/hbexprb.c *include/hbexprc.c +new files with expression optimizer shared by the standalone and the macro compilers - these files produces different code for the compilers *source/compiler/expropt.c -removed *source/compiler/expropta.c *source/compiler/exproptb.c *source/compiler/exproptc.c +new files with expression optimizer used by the standalone compiler *source/macro/macroa.c *source/macro/macrob.c *source/macro/macroc.c +new files with expression optimizer shared by the macro compiler *source/common/expropt1.c *source/common/expropt2.c +new files with expression optimizer shared by the standalone and the macro compilers - the common part of expression optimizer *source/macro/macro.l +added HB_MACRO_SUPPORT definition *source/macro/macro.c *removed including of hbexprop.h *include/hbexprop.h *include/hbcomp.h *corrected to support new design of expression optimizer *source/common/Makefile *source/compiler/Makefile *source/macro/Makefile *makefile.bc *makefile.vc +added the depenencies for the new files (BC & VC not tested !) *source/rtl/console.c *source/rtl/filesys.c *source/rtl/fssize.c *source/rtl/gtapi.c *"io.h" is not included if OS_UNIX_COMPATIBLE is defined (in some places #include hbsetup.h" was added to get a chance to define OS_xxx_COMPATIBLE before it is checked) *source/rtl/gt/gtcrs.c *a very basic support for colors was added *a very basic support for inkey was added (these two changes are for testing and checking rather than a real solution) 20000318-12:45 EST Paul Tucker <ptucker@sympatico.ca> * contrib/rdd_ads/ads1.c * added cast in strlen() * make_vc.bat * account for .dll's in copy/delete 20000318-19:38 GMT+3 Alexander Kresin * include/hbapirdd.h * contrib/rdd_ads/ads.ch * contrib/rdd_ads/ads1.c * Internal scope functions adsScopeInfo() and adsSetScope() added * source/rdd/dbcmd.c * OrdScope() function implemented * source/rtl/dummy.prg - Ordscope() removed 20000318-17:17 GMT+1 Viktor Szakats * source/rtl/seconds.c % #include <dos.h> removed. * include/hbsetup.h include/hbdefs.h source/rtl/dateshb.c source/rtl/environ.c source/rtl/filesys.c source/rtl/oemansi.c source/rtl/net.c source/rtl/tone.c source/rtl/isprint.c source/rtl/inkey.c source/rtl/dir.c source/vm/fm.c - EMX macro removed (it was not used). * __NT__ checks added where WINNT is checked. ; Cleanup before adding better platform detection code. + Somewhat more complete platform detection added. * Some W32 related cleanup in the #ifdef mess in environ.c/version(). * source/rtl/inkey.c ! __WINDOWS__386__ -> __WINDOWS_386__ - Removed non-GTAPI branch (which was commented out anyway). * source/vm/mainstd.c source/rtl/gtapi.c * #ifdef -> #if defined() * source/rtl/fssize.c source/rtl/fstemp.c + Added #include <errno.h> ! Fixed some unused variable warnings. * include/hbapigt.h include/hbapi.h source/rtl/tone.c source/rtl/gtapi.c source/rtl/gt/*.c % The hb_tone() multiplatform spagetti code separated into OS2/W32/DOS platforms, cleanup up the branches for MINGW32 and CYGWIN, renamed hb_tone() to hb_gtTone()+hb_gt_Tone(), and moved the platform specific codes to the proper GT drivers. Please test them on your platform, especially with WATCOM and DOS in general. * source/rtl/console.c source/rtl/dir.c source/rtl/filesys.c source/rtl/gtapi.c source/rtl/gt/gtpca.c % Removed some unused #includes for __CYGWIN__ % Removed some (__DJGPP__ || __CYGWIN__ || HARBOUR_GCC_OS2) constructs already guarded with (__GNUC__ && !__MINGW32__). Is there any other special GNUC variant we should be aware of when #including <io.h> ? % Removed __CYGWIN__ branch for isatty() in GTAPI.C. I couldn't find a reason why it was there since isatty() is defined and works OK (returns TRUE for 1 and 2) in Cygwin. ; Now there's only four __CYGWIN__ checks in Harbour. * source/rtl/gt/gtdos.c ! Unused variable warnings fixed. * makefile.vc makefile.bc + Honors the default CFLAGS, CLIBFLAGS and HARBOURFLAGS envvar. - Some superluous flex/bison options removed from MSVC make file. * make_vc.bat + CLEAN now removes .ILK and .PDB files. * contrib/rdd_ads/*.bat + Handles CLEAN param silently. * source/common/hbtrace.c - Removed my Copyright. * include/hbpp.h include/hbvmpub.h include/hbsetup.h * Minor changes. * utils/tests/hbtest.prg utils/tests/make_c5x.bat * Minor changes. 20000318-14:36 GMT+3 Alexander Kresin * tests/db_brows.prg * Cleaned, warnings fixed 20000318-02:37 GMT+1 Viktor Szakats * source/vm/memvars.c % One variable scope adjusted. * make_b32.bat make_vc.bat + They now cleans the .MAP files, too. * source/pp/ppcore.c ! Fixed GPF on reinitialization of #undefd macro in hb_pp_Init(). * source/vm/main.c source/vm/mainstd.c * Anti-command-line wildcard expansion stuff moved to the native main function from the container. * source/rtl/gtxxx.c source/rtl/mousexxx.c source/rtl/msgxxx.c source/vm/main.c + NOTE added. * source/rtl/getenv.c % GETENV() slightly optimized. + source/rtl/fssize.c + source/rtl/fstemp.c * include/hbapifs.h include/hbextern.ch source/rtl/Makefile makefile.bc makefile.vc + Added these new FS API calls: - hb_fsSize() to get the size of a file either by reading the directory record, or the real size with seek. - hb_fsTempName() to get a temporary filename. - hb_fsCreateTemp() to create a temporary file. + Added these Harbour functions: HB_FSIZE() HB_FTEMPNAME() HB_FTEMPCREATE() + Added hb_fsFLock() and hb_fsFUnLock() macros. Thanks to Jose Lalin 2000-03-17 19:10 GMT-5 David G. Holm <dholm@jsd-llc.com> * doc/gmake.txt + Documented the need to have "CYGWIN" set to "noglob" to avoid having Harbour and Harbour created programs expand wildcard command line arguments (it's a run-time check). * source/vm/main.c + Added code to disable command line wildcard expansion by DJGPP and MINGW32. 20000317-18:00 GMT+1 Viktor Szakats * source/vm/maindll.c ! __BORLAND__ -> __BORLANDC__ * source/rtl/environ.c ! GETENV() - Fixed handling of the second parameter. * include/hbapi.h source/rtl/strings.c * HB_ISSPACE() macro moved to the central header. * utils/hbtest/hbtest.prg * DTOS() -> DTOC() in header. + source/vm/arrayshb.c source/vm/arrays.c source/vm/Makefile makefile.bc makefile.vc + Separated the Harbour and C array API level. + source/rtl/abs.c + source/rtl/accept.c + source/rtl/ampm.c + source/rtl/at.c + source/rtl/chrasc.c + source/rtl/colorind.c + source/rtl/datec.c + source/rtl/dateshb.c + source/rtl/defpath.c + source/rtl/eval.c + source/rtl/fkmax.c + source/rtl/fnsplit.c + source/rtl/getenv.c + source/rtl/gx.c + source/rtl/left.c + source/rtl/lennum.c + source/rtl/maxrow.c + source/rtl/minmax.c + source/rtl/mod.c + source/rtl/pad.c + source/rtl/replic.c + source/rtl/right.c + source/rtl/round.c + source/rtl/run.c + source/rtl/saverest.c + source/rtl/seconds.c + source/rtl/setcurs.c + source/rtl/setpos.c + source/rtl/shadow.c + source/rtl/space.c + source/rtl/str.c + source/rtl/strcase.c + source/rtl/stris.c + source/rtl/strmatch.c + source/rtl/strtran.c + source/rtl/strzero.c + source/rtl/stuff.c + source/rtl/substr.c + source/rtl/trim.c + source/rtl/val.c + source/rtl/valtostr.c source/rtl/strings.c source/rtl/console.c source/rtl/dates.c source/rtl/math.c source/rtl/inkey.c source/rtl/samples.c source/rtl/do.c source/rtl/environ.c source/rtl/set.c source/rtl/setcolor.c source/rtl/filesys.c source/rtl/Makefile makefile.bc makefile.vc + Separated almost all RTL source files into smaller pieces. There are 41 new files now. The original CA-Cl*pper source filenames were used where possible. 20000317-10:53 GMT+1 Viktor Szakats * include/hbclass.ch ! To avoid warning _CLASS_NAME_ is #undef-ed before #define-ed. * include/hbpp.h source/compiler/hbgenerr.c source/pp/* ! nEmptyString global variable prefixed with "hb_" ! nEmptyString declaration moved to the header file. * utils/hbdoc/genhpc.prg ! Fixed redefinition of #define. 20000317-09:56 GMT+3 Alexander Kresin * source/pp/stdalone/hbpp.c * source/pp/ppcomp.c * source/pp/ppcore.c * source/pp/pplib.c * source/compiler/hbgenerr.c * fixed line number output for errors and warnings * hb_pp_init() changed for supporting multiply files compiling * warning in addDefine about duplicate define uncommented * contrib/rdd_ads/adsfunc.c * typo fixed ( HB_ADCUSTOMIZEAOF -> HB_ADSCUSTOMIZEAOF ) 20000317-01:09 GMT+1 Viktor Szakats * source/rtl/console.c - Removed the non-GT branch from __ACCEPT(). * source/vm/cmdarg.c + PC ANSI added. - non-GT mode removed. * source/rtl/gt/gt*.c ! Fixed some trace calls. ! One declaration made static. ! One function call fixed in GTCRS.C. 20000317-00:13 GMT+1 Viktor Szakats * source/rtl/gt/gtpca.c + Some internal functions made static * makefile.bc ! It's not relying on the default CC and AS macros, to make it work on BCC45 without any cludges. BCC45 MAKE.EXE is defaulting to bcc or bcc32 depending on the WIN32 macro. * source/rtl/maindll.c ! Fixed to compile with BCC45 * source/rtl/console.c ! Some fixes later fixed again (see next session). 20000316-04:10 EST Paul Tucker <ptucker@sympatico.ca> * source/rtl/gt/gtpca.c * added casts 20000316-02:50 EST Paul Tucker <ptucker@sympatico.ca> * source/rtl/gtapi.c * removed extraneous ';' 2000-03-16 02:30 GMT-5 David G. Holm <dholm@jsd-llc.com> * include/hbapigt.h * include/hbsetup.h * source/rtl/console.c * source/rtl/gtapi.c * source/rtl/gtxxx.c * source/rtl/gt/gt_tpl.c * source/rtl/gt/gtcrs.c * source/rtl/gt/gtdos.c * source/rtl/gt/gtos2.c * source/rtl/gt/gtsln.c * source/rtl/gt/gtstd.c * source/rtl/gt/gtwin.c - Removed all occurrences of HARBOUR_USE_GTAPI from console.c. + Added hb_gtAdjustPos() to console.c, gtapi.c and hbapigt.h. + Added hb_gt_AdjustPos() to all gt/ sources and hbapigt.h. + Added rudimentary PC ANSI.SYS low-level driver (gtpca.c, which is missing stuff such as scrolling screen regions). + Added HB_GT_PCA to hbsetup.h and gtxxx.c (in fact, I replaced HB_GT_STD with HB_GT_PCA in gtxxx.c, because the default case is to use HB_GT_STD). 20000316-02:04 GMT+1 Viktor Szakats * source/pp/ppcore.c ! C++ comment changed to ANSI C * source/runner/runlib.c ! Fixed MSVC /W3 warnings. ! Fixed one BCC55 -w warning (the only -w warning which really made sense.) * include/hbclass.ch include/assert.ch * Some // comments changed to /**/. Cosmetics only. * contrib/rdd_ads/makefile.vc contrib/rdd_ads/ads1.c contrib/rdd_ads/adsfunc.c + MSVC warning level raised to /W3 ! MSVC /W3 warnings fixed. * include/hbver.h * Date updated. 20000315-18:00 EST Paul Tucker <ptucker@sympatico.ca> * source/tools/hb_f.c * source/rtl/gt/gtwin.c * source/rtl/gtapi.c * added explicit casts to remove warnings. 2000-03-15 19:00 GMT-5 David G. Holm <dholm@jsd-llc.com> * source/rtl/tone.c ! Rearranged include file #elif list to test for __CYGWIN__ before testing for the various Windows manifest constants and added a couple of explicit tests for __CYGWIN__ instead of relying on the WINNT manifest constant. 20000315-16:23 GMT+1 Viktor Szakats * include/hberrors.h source/pp/ppcore.c source/pp/pplib.c source/compiler/hbgenerr.c + Added warning when a macro is doubly defined. !! IMPORTANT FIXME !!: The filename and line number will not be shown in every cases, and even if shown it will wrong. ! The PP related static variables are now initialized in hb_pp_Init(); !! IMPORTANT FIXME !!: The tables in PPTABLE.C should also be reinitialized on hb_pp_Init() to make multiple file compiling work. ; Until these are not fixed the warning is commented out. * include/hbver.h + HB_VER_MINOR changed to 32 (Harbour is now version 0.32) * HB_VER_REVISION bumped to "a" * source/compiler/hbusage.c source/compiler/genc.c source/compiler/genjava.c source/pp/stdalone/hbpp.c source/rtl/environ.c + Also shows the MAJOR/MINOR Harbour version. * The revision letter is now shown after the version number, not the build. 20000315-14:28 GMT+1 Viktor Szakats * include/hbvmpub.h include/hbcomp.h include/hbmacro.h source/compiler/genc.c % From now on hbpcode.h is not included in every file, to save compile time. !! WARNING !! All .PRGs must be rebuilt. * source/* % Removed some superfluous #include "" directives, to save compile time. The whole inclusion system checked. * tests/test.frm ! Re-uploaded in binary mode. * makefile.bc * Minor change. 20000315-08:08 GMT+1 Viktor Szakats * source/rtl/filesys.c source/rtl/console.c source/rtl/binnum.c source/rtl/errorapi.c source/rtl/samples.c source/rtl/tone.c source/rtl/inkey.c source/vm/memvars.c source/vm/classes.c source/vm/hvm.c include/hbexpr.c source/rdd/dbcmd.c source/rdd/dbf1.c source/rdd/dbfcdx/dbfcdx1.c ! Fixed MSVC /W3 warnings % In HVM.C hb_vmPopNumber() and hb_vmPopDouble() synchronized. % In HVM.C several hb_vmPopDouble() calls changed to hb_vmPopNumber() which is faster. % hb_vmNegate() optimized. * hb_vmPlus() and hb_vmMinus() synchronized. * hb_vmAnd() and hb_vmOr() synchronized. ! Two static variables prefixed with "s_". * makefile.vc + /W1 changed to /W3 to raise the code quality. * source/pp/pptable.c - removed declaration of __HARBOUR__ % changed chain of static DEFINES accordingly (Provided by Jose Lalin) * source/pp/ppinit.c + added declaration of __HARBOUR__ ! Now __HARBOUR__ gets the value from HB_VER_MAJOR/MINOR like others compilers. If HB_VER_MAJOR/MINOR is equal to zero (as they are now) then __HARBOUR__ is equal to 1 by default. (Provided by Jose Lalin) * source/rtl/environ.c * long -> ULONG (in GETENV()) * source/rtl/inkey.c * long -> ULONG (in __KEYBOARD()) * include/hbvm.h source/vm/hvm.c * hb_vmPushDate( LONG ) -> hb_vmPushDate( long ) * LONG -> long for hb_vmPopDate() * source/vm/dynsym.c source/vm/arrays.c source/rtl/binnum.c source/rtl/strings.c source/rtl/filesys.c ! LONG -> long All this to be consistent with the current API. The next step will be to clear up the long vs. LONG question in the ITEM related things. * makefile.bc - Removed explicit BCC32/BCC, TASM/TASM32 selection, the MAKE.EXE is used from now on (from BUILTINS.MAK) * make_vc.bat + Deletes the .PCH file in the OBJ dir. 20000314-13:35 EST Paul Tucker <ptucker@sympatico.ca> * makefile.vc * added a few additional comments on recurrsion. * ... and thanks to Viktor Szakats for the fine fine-tuning. 20000314-18:56 GMT+1 Viktor Szakats * include/hbdefs.h source/rtl/dates.c source/rtl/filesys.c source/rtl/net.c source/rtl/oemansi.c source/rtl/tone.c source/vm/maindll.c source/vm/mainwin.c source/vm/fm.c ! MSVC will compile out of the box, and doesn't require the _Windows macro to be #defined. * makefile.vc contrib/rdd_ads/makefile.vc % Made it much smaller (again) using recursion. HARBOUR.EXE is called with multiple source files at a time, so it's faster now. The new files have to be added only in one place to the makefile. Thanks to Paul Tucker. % -D_Windows hack removed. * Minor enhacements. 20000314-07:56 GMT+1 Viktor Szakats * source/compiler/harbour.c ! A few more global variables are reinitialized between files, when multiple files are passed at the command line. Note the ANNOUNCE-d symbols and possibly other things are not yet cleared. 20000314-07:11 GMT+1 Viktor Szakats * makefile.vc makefile.bc make_*.bat * Other parts synchronized between the two make systems. + makefile.vc will also compile mainwin.c, maindll.c and mainstd.c instead of main.c. ! MSVC makefile fixed to create objects for .EXE in the obj dir. This way the exact same files are generated in the obj dir in Borland and MSVC. - Removed the generation of bison .output file. * source/macro/macro.l ! Fixed two warnings introduced yesterday. * source/vm/maindll.c ! _export changed to __declspec(dllexport) to avoid a warning in MSVC. - contrib/rdd_ads/make_rdd.bat - contrib/rdd_ads/rddads.b32 + contrib/rdd_ads/make_b32.bat + contrib/rdd_ads/makefile.bc * contrib/rdd_ads/readme.txt + Standardized Borland make for RDDADS. 20000314-01:30 GMT+1 Viktor Szakats * make_*.bat contrib/rdd_ads/make_vc.bat ! copy command fixed to work on more OSs. (reported by Jose) ! Get rid of the ECHO Y trick, to make it work on non-English systems. (reported by Jose) * Changed all DEL commands to not use plain *.* but *.ext instead, since it will not wait for a questoin in the latter case. Please report it if your DOS doesn't work this way. * makefile.vc % Makes use of the multiple .PRG file feature of Harbour. - MASM doesn't create .CRF and .LST files anymore, to make the CLEAN process simpler. 20000313-21:00 GMT+1 Viktor Szakats * source/compiler/harbour.c ! Fixed not to display a newly added message when -q is specified. * makefile.bc % Macro names synchronized with makefile.vc. Note that BCC_OPT has changed to CFLAGS. % Made more compact and robust. * makefile.vc * Minor changed. 20000313-15:57 GMT+1 Viktor Szakats * source/compiler/cmdcheck.c source/compiler/harbour.c source/compiler/hbusage.c source/compiler/gen*.c include/hbcomp.h + Added processing of multiple .PRG files passed to the Harbour compiler. * contrib/rdd_ads/makefile.vc + Minor changes. * makefile.vc % Optimized MSVC make process, much smaller and faster. Thanks go to Paul Tucker. 20000313-13:20 GMT+1 Viktor Szakats * contrib/rdd_ads/adsfunc.c ! Two casts added for MSVC. * contrib/rdd_ads/make_vc.bat + CVS ID added. * contrib/rdd_ads/makefile.vc % Streamlines and standardized. (use standard dir specs, create .c and .obj files in central obj dir.) 20000313-12:40 GMT+1 Viktor Szakats * source/rtl/inkey.c ! Fixed to work with STD_GTAPI on Win32. * bin/bld_tpl.* + user32.lib added for MSVC * source/rtl/oldbox.c - Removed non-GT branches. ! __BOX() fixed handling of the fifth parameter. * source/rtl/console.c * OS_DOS_COMPATIBLE -> OS_UNIX_COMPATIBLE * source/rtl/achoice.prg source/rtl/text.prg source/rtl/tgetlist.prg % Removed #include "set.ch", since it's included anyway with the built-in (default) PP rules. * makefile.bc + NOTE added about "echo." 20000313-12:42 GMT+3 Alexander Kresin * contrib/rdd_ads/ads1.c * Little bug fixed in adsAppend() 2000-03-12 21:50 GMT-5 David G. Holm <dholm@jsd-llc.com> * source/compiler/harbour.y ! Added missing ( char * ) override for C++ on line 1549. 20000312-15:18 EST Paul Tucker <ptucker@sympatico.ca> * makefile.vc * standardise compile for tone.c and oemansi.c + add user32.lib to hbrun.exe and hbdoc.exe * source/rtl/tone.c * include hbdefs.h (for windows.h) for msvc * bin\bld_vc.bat + user32.lib 20000312-16:24 GMT+1 Viktor Szakats * makefile.bc ! "echo" commands changed to "echo.", to avoid conflict with an ECHO.EXE in the path. Tested OK with DOS/BCC16/31 and WIN32/BCC32/55 * source/vm/hvm.c ! #include "windows.h" -> <windows.h> * source/rtl/gt/gtwin.c source/rtl/mouse/mousewin.c source/rtl/dates.c source/rtl/dir.c source/rtl/environ.c source/rtl/filesys.c source/rtl/inkey.c source/rtl/isprint.c source/rtl/net.c source/rtl/oemansi.c source/vm/fm.c include/hbdefs.h - include/hbwinapi.h include/Makefile * hbwinapi.h functionality moved to hbdefs.h (which is always included first) * All #include "hbwinapi.h" and #include <windows.h> changed to #define HB_OS_WIN_32_USED ! Now the inclusion of windows.h doesn't depent on the requested GT mode. So it's possible to link for the Win32 platform a non-GT mode Harbour. !!WARNING!! Since this change involves many platform/compiler combinations, please test it on yours and report any possible errors. WIN32/MINGW32, WIN32/GCC, WIN32/BCC32/55, DOS/BCC16/31, WIN32/MSVC have been tested. * source/rtl/inkey.c source/rtl/environ.c ! Fixed to use WINNT macro after the #include section. ! Code dependent on the GT API fixed. * include/hbcomp.h source/compiler/cmdcheck.c source/compiler/hbusage.c source/compiler/harbour.l source/compiler/harbour.c - Removed the Harbour /10 option, instead now HB_SYMBOL_NAME_LEN should be used at build time to set the maximum symbol length. If you build Harbour with /DHB_SYMBOL_NAME_LEN=10, it will be 100% CA-Cl*pper compatible in this respect. * include/hbapi.h source/macro/macro.c source/macro/macro.l * bName10 structure member replaced with uiNameLen in HB_MACRO. Now the HB_SYMBOL_NAME_LEN is the one and only setting which controls the maximum symbol name length in Harbour. * include/hbsetup.h - Removed some duplicated platform detection code. + Added 10 character symbol name compatibility mode when STRICT_COMPAT is requested. It's commented out. * include/hb*.h % Cleaned up and flattened the header file inclusion tree. * include/hbsetup.h makefile.vc makefile.bc + Shorter GTAPI selection macros added, to reduce scrolling/line wrapping while building, and HB_ is the standard prefix anyway. Currently both the short and the old long #defines will work. The new ones: HB_GT_STD HB_GT_DOS HB_GT_OS2 HB_GT_WIN HB_GT_CRS HB_GT_SLN % Makefiles changed to use the new format. 20000312-13:58 GMT+1 Viktor Szakats * source/tools/io.c ! __DOS__ -> DOS * config/linux/gcc.cf config/w32/msvc.cf - Removed -DDEBUG * config/dos/bcc16.cf config/os2/icc.cf config/w32/bcc32.cf - Removed the default HARBOUR_USE_???_GTAPI define switches, to be in sync with the other GNU-make platforms. WARNING! You have to specify this manually like: set C_USR=-DHARBOUR_USE_DOS_GTAPI set C_USR=-DHARBOUR_USE_OS2_GTAPI set C_USR=-DHARBOUR_USE_WIN_GTAPI * include/hbapifs.h - Removed the #include "hbapifs.h". * source/rtl/mouse/mousedos.c * Small formatting. 20000312-07:10 EST Paul Tucker <ptucker@sympatico.ca> * contrib/rdd_ads/ads1.c added a couple of casts * contrib/rdd_ads/make_vc.bat copy the lib to ..\..\lib on success 20000312-13:04 GMT+1 Viktor Szakats * source/rtl/set.c source/rtl/memofile.c source/rtl/gt/gtstd.c ! HB_OS_UNIX_COMPATIBLE -> OS_UNIX_COMPATIBLE 20000312-14:20 GMT+3 Alexander Kresin * contrib/rdd_ads/ads.ch * contrib/rdd_ads/adsfunc.c + full set of AOF functions added: AdsClearAOF() AdsCustomizeAOF() AdsEvalAOF() AdsGetAOF() AdsGetAOFOptLevel() AdsGetAOFNoOpt() AdsIsRecordInAOF() AdsRefreshAOF() AdsSetAOF * contrib/rdd_ads/ads1.c + functions added: adsSetFilter() adsClearFilter() 20000312-04:55 EST Paul Tucker <ptucker@sympatico.ca> * source/rtl/dir.c use _chmod( f,0 ) to get attribs. 20000312-03:40 GMT+1 Viktor Szakats * include/hbdefs.h include/hbinit.h include/hbsetup.h source/rtl/gt/gtdos.c source/rtl/mouse/mousewin.c source/rtl/copyfile.c source/rtl/environ.c source/rtl/filesys.c source/rtl/inkey.c source/rtl/isprint.c source/tools/io.c source/vm/itemapi.c source/vm/maindll.c source/vm/mainwin.c * Platform/compiler related #ifdef-s changed to #if defined() for easy GREP. 20000311-23:00 GMT+3 Alexander Kresin * contrib/rdd_ads/ads1.c * include/hbapirdd.h * source/rdd/dbcmd.c * source/rdd/dbf1.c * source/rdd/dbfcdx/dbfcdx1.c * uncommented scope functions in header file and added declarations to virtual method tables in *.c files 20000311-18:52 GMT+1 Viktor Szakats - include/hbinkey.h - include/hbapimou.h * include/hbapigt.h include/Makefile include/hbset.h source/rtl/mouse/* source/rtl/mouseapi.c source/rtl/console.c source/rtl/inkey.c source/rtl/tone.c source/rtl/set.c source/vm/hvm.c * Mouse and keyboard related declaration moved to the central IO header hbapigt.h. This is a step to a common/modular IO interface. 20000311-17:54 GMT+1 Viktor Szakats - include/hbcursor.h - include/hbbox.h * include/hbapigt.h include/Makefile source/rtl/console.c source/rtl/gtapi.c * Two header files merged into the mainstream GT header. ! B_* box #defines renamed to _B_* to be CA-Cl*pper compatible. * include/hbapigt.h source/rtl/gt/*.c * Low-level hb_gt_SetPos(), hb_gt_Row(), hb_gt_Col() uses SHORT instead of USHORT, to be in sync with the GT API. WARNING! Please test the different API drivers. GTWIN was the only one tested. * source/rtl/console.c source/rtl/gt/gtstd.c * hb_setpos() removed, non-GT API functionality moved to gtstd.c, all hb_setpos() calls changed to hb_gtSetPos(). * source/rtl/console.c % QOUT() small optim., variable scope adjusted. ! __EJECT() fixed to always reset PROW() and PCOL() + FIXME added for __EJECT() since in Clipper it always prints a eject, regardless of the SET DEVICE setting. % SAVESCREEN() optimized. ! RESTSCREEN() fixed to check the fifth parameter, like in CA-Cl*pper. * source/rtl/console.c % hb_gtSetPos() small optim. * source/rtl/dir.c ! chmod() changed back to _rtl_chmod(). 20000311-19:16 GMT+3 Alexander Kresin + contrib/rdd_ads/make_vc.bat + contrib/rdd_ads/makefile.vc * contrib/rdd_ads/ads1.c * contrib/rdd_ads/adsfunc.c Added makefiles for VC Fixed some warnings All the above I've got from Matteo Baccan 20000309-13:24 EST Paul Tucker <ptucker@sympatico.ca> * source\rtl\gtapi.c * Initialize s_iCurrentRow and s_iCurrentCol 20000308-18:05 GMT+1 Viktor Szakats * makefile.vc ! Small correction. * make_tpl.* bin/bld_tpl.* ! "<>" chars around the email address replaced with "()", since it confused some OSes. * source/rtl/tget.prg ! FIXME added. 20000308-15:05 GMT+1 Ryszard Glab <rglab@imid.med.pl> *source/rtl/gt/gtstd.c *replaced s_szCrLf with hb_consoleGetNewLine() 20000308-00:40 GMT+1 Viktor Szakats * samples/Makefile samples/cccppc/* (scheduled for removal, since it's huge) samples/guestbk/Makefile samples/hscript/Makefile samples/misc/Makefile samples/pe/Makefile samples/guestbk/bld_b32.bat samples/hscript/bld_b32.bat * Updated. (not tested) * samples/Makefile - cccppc removed from the list. 20000308-00:14 GMT+1 Viktor Szakats * include/hbver.h * Version bumped to 0.32 2000-03-07 * config/w32/gcc.cfg ! Added user32 to the library list to make OEMANSI.C link. * doc/whatsnew.txt + Date filled. 20000307-23:26 GMT+1 Viktor Szakats * makefile.vc ! UNISTD.H problem solved with another method, now it doesn't leave the temporary UNISTD.H in the INCLUDE dir, so that it will not conflict with the GCC make process. 20000307-21:06 GMT+1 Viktor Szakats * doc/whatsnew.txt + Build 31c things added. * source/rtl/dir.c % Flattened an #ifdef maze. * _rtl_chmod() changed to the less specific chmod(). ! Fixed the other three Borland warnings. - Removed unused parts from the code. 20000307-14:20 GMT-3 Luiz Rafael Culik <culik@sl.conex.net> *utils/hbdoc/genrtf.prg source/tools/rtf.prg *small changes *utils/hbdoc/genng.prg *source/tools/ng.prg *Added code to display tables *source/tools/os2.prg *utils/hbdoc/genos2.prg *Fixed generating of IPF file, thanks to a compilatation log send by Chen *source/rtl/dir.c *fixed warning on chmod on borland compilers *doc/en/array.txt doc/en/Browse.txt doc/en/dir.txt doc/en/error.txt doc/en/file.txt doc/en/ht_dbf.txt doc/en/ht_doc.txt doc/en/ht_gt.txt doc/en/ht_str.txt doc/en/hvm.txt doc/en/imput.txt doc/en/menu.txt doc/en/misc.txt doc/en/objfunc.txt doc/en/rdd.txt *Some formating. Their was many docs that the text starts on line 8 or 7 !removed empty tag from the docs 20000307-17:34 GMT+1 Viktor Szakats ; Now the non-GNU make process reorganization can be considered done. * make_b16.bat make_b32.bat make_vc.bat contrib/rdd_ads/make_rdd.bat + After a successful make process they will now copy all executables and libraries to their final directory bin/ and lib/. * bin/bld_b16.bat bin/bld_b32*.bat bin/bld_vc.bat * Now they all look for the libraries directly in the lib/ directory, this way these batch files are compatible with the GNU-make system. + bin/b16/empty + bin/b32/empty + bin/vc/empty makefile.bc makefile.vc + The Borland and MSVC build process changed to generate the executables in different bin directories to completely separate them and to be compatible with the GNU-make system. * Makefile - obj/Makefile - obj dir removed from the GNU-make process. * source/rtl/console.c ! USHORT changed to SHORT for MSVC. 20000307-16:36 GMT+1 Viktor Szakats * bin/bld*.* - "-5" options removed (again). * Now none of them remove the .c file. ! Borland make files fixed. Changed the order of options. * Borland batch files synchronized with bld_tpl.* ; Tested BCC16 and BCC32. * source/rtl/gt/* source/rtl/gtapi.c ! hb_gt_ReadKey() made common for all GT types. OS specific branch removed. + FIXMEs added to gtwin.c for all the places where the API calling rules are violated, so that the upper level API is called from a lower one. * source/rtl/console.c ! SETCURSOR(), RESTSCREEN() fixed when called with more parameter then required. % Minor optimization. % Got rid of a few non-GTAPI branches. % s_iDevRow and s_iDevCol removed. !! WARNING !! Non-GT mode has not been tested. Also some more tests would be good for the GT mode. + FIXMEs added for all places where the API calling rules are violated, so that an API level is skipped and the low-level API is directly called. * source/rtl/mouseapi.c - Removed one TODO * One ULONG changed back to USHORT and a cast added. - tests/strip + tests/stripem.prg tests/Makefile * Renamed to avoid conflict with the GNU STRIP.EXE. * source/runner/stdalone/hbrun.prg + Year updated. * tests/regress/* makefile.bc makefile.vc + "-" switch char added. + Header added + -?, /? options and help screen added. ! Typos fixed. * Renamed to HBTEST - tests/regress/* moved to + utils/hbtest/* tests/Makefile utils/Makefile makefile.bc makefile.vc * Regression Test Suit moved to another directory. It's a better place since it was a bit problematic to handle a subdir from the tests dir in the GNU-make system. (it got only build when install was specified or only after all the small tests programs were built) * Makefile * utils moved before tests - make_b40.bat make_b32.bat - Removed this version specific batch file. The -O2 option was removed for BCC40 due to PP bugs back then, ? and ?? was not PP-ed properly. Anyone could test this now ? If it still doesn't work I will add a warning to MAKE_B32.BAT about that. * makefile.bc * B40 option renamed to BCC_NOOPTIM to be more generic. 20000307-09:20 EST Paul Tucker <ptucker@sympatico.ca> * makefile.vc * create unistd.h moved to first target 20000307-12:35 GMT+1 Viktor Szakats * source/pp/hbpp.c -> ppcore.c source/pp/hbppint.c -> ppcomp.c source/pp/hbpplib.c -> pplib.c source/pp/table.c -> pptable.c source/pp/Makefile makefile.bc makefile.vc * Renamed to avoid collision with other files in the make process (currently the standalone hbpp.c) * bin\bld_vc.bat - Removed -DDEBUG and -DHARBOUR_USE_WIN_GTAPI, they are not needed to compile a generated C output. * makefile.bc bin\bld_*.bat + Changed names of libraries. Now they are compatible with the GNU-make library names. ; NOTE: Since now Harbour has a common library naming system, which is used in all make systems. Documentation can refer to them in the $FILES$ section. 20000307-03:45 EST Paul Tucker <ptucker@sympatico.ca> * doc/gmake.txt - removed note about unistd.h for msvc 20000307-03:30 EST Paul Tucker <ptucker@sympatico.ca> * makefile.vc * reorganised * change names of libraries * create unistd.h if needed * bin/bld_vc.bat * modified to change names of libraries 20000307-03:36 GMT+1 Viktor Szakats * include/hbclip.ch + All Harbour extensions included. (HB_*()) ! HB_SHADOW() #xtranslate fixed. * utils/hbextern/hbextern.prg * Cleanup. 20000307-02:55 GMT+1 Viktor Szakats * makefile.bc makefile.vc ! trace.c was missing. * makefile.bc ! dbftools.c was missing. * include/hbextern.ch ! Updated. * source/vm/harbinit.prg * Modified so that HBEXTERN will recognize its PROCEDURES. + utils/hbextern/hbextern.prg + utils/hbextern/make_c5x.bat + utils/hbextern/Makefile + HBEXTERN.CH generator added. (work of Ryszard Glab) * include/hbclip.ch + hb_Shadow() added. * source/rtl/inkey.c source/rtl/console.c source/vm/cmdarg.c contrib/odbc/odbccall.prg source/rtl/alert.prg doc/en/input.txt source/debug/debugger.prg * __ARGCHECK -> HB_ARGCHECK __ARGSTRING -> HB_ARGSTRING __ARGC -> HB_ARGC __ARGV -> HB_ARGV __SHADOW -> HB_SHADOW __KEYPUT -> HB_KEYPUT Name of some Harbour internal functions changed to better reflect that they are Harbour extensions. 2000-03-06 20:05 GMT-5 David G. Holm <dholm@jsd-llc.com> * tests/regress/Makefile ! Several of the supported platforms begin program execution with the first object module listed when the executable is created, which means that it is necessary to list the rt_main object module first in the Makefile. 20000306-22:12 GMT+1 Viktor Szakats - tests/ee.lbl - tests/ee.frm + tests/test.lbl + tests/test.frm * tests/testrpt.prg tests/testlbl.prg * EE.* renamed to TEST.* * makefile.bc makefile.vc + TODO added. - include/unistd.h * doc/gmake.txt makefile.vc - UNISTD.H addition (20000306-17:34 GMT+1) undone. - config/dos/bcc31.cfg + config/dos/bcc16.cfg config/dos/global.cfg make_tpl.* bin/bld_tpl.* doc/gmake.txt doc/funclist.txt * Renamed. * bin/bld_tpl.* + lib list made common for all platforms. + BCC32 added for bld_tpl.*. * bin/bld_tpl.* source/runner/stdalone/Makefile tests/Makefile tests/regress/Makefile utils/hbdoc/Makefile ! Changed the order of libs to make it work after the VM/RTL moves. * tests/parexpr.prg tests/testwarn.prg ! Warnings treaten as non-fatal (with #pragma). * tests/memvar.prg tests/testvars.prg ! Warnings fixed. * tests/dates.prg ! A PROC was returning a value. - include/hbrptlbl.ch source/rtl/tlabel.prg source/rtl/treport.prg * Public #defines from a public header moved to the only source files where they are used. 20000306-17:34 GMT+1 Viktor Szakats + include/unistd.h * doc/gmake.txt makefile.vc + Dummy UNISTD.H added to the Harbour /INCLUDE directory to make it compile with MSVC and IBM Visual Age C++ out of the box. 20000306-15:37 GMT+1 Viktor Szakats * contrib/rdd_ads/ads1.c ! FS_* macros renamed to _HB_FS_* 20000306-13:25 GMT+1 Viktor Szakats * include/hberrors.h - Obsolete WARN_NONDIRECTIVE #define removed. * include/hbdefs.h + NOTE added. * include/hbvmpub.h compiler/genc.c compiler/genhrb.c compiler/genjava.c compiler/genobj32.c compiler/harbour.c compiler/harbour.y rdd/dbfcdx/dbfcdx1.c rdd/dbfntx/dbfntx1.c rdd/dbf1.c rdd/delim1.c rdd/sdf1.c runner/runlib.c vm/dynsym.c vm/hvm.c vm/initsymb.c * FS_* macros renamed to _HB_FS_* * include/hbver.h compiler/genc.c compiler/genjava.c compiler/hbusage.c pp/stdalone/hbpp.c rtl/environ.c * Version #define name prefixed with HB_VER_ and converted to uppercase. * include/hberrors.h compiler/cmdcheck.c compiler/genc.c compiler/genhrb.c compiler/genjava.c compiler/genobj32.c compiler/harbour.c compiler/harbour.l compiler/harbour.y compiler/hbfunchk.c compiler/hbgenerr.c pp/stdalone/hbpp.c pp/hbpp.c * ERR_ and WARN_ macros prefixed with HB_COMP_ or HB_PP_. 20000306-11:56 GMT+1 Viktor Szakats * include/clipdefs.h ! Includes hbapi.h instead of extend.h to avoid compile error reported by Matteo. 20000305-08:38 GMT-8 Brian Hays <bhays@abacuslaw.com> * tests/testop.prg * doc/en/command.txt + added Operator Overloading test and reference to it in METHOD Command 20000306-04:43 GMT+1 Viktor Szakats * source/rtl/cmdcheck.c ! -gc0 switch got removed. Added again. * config/rules.cf makefile.bc makefile.vc % -gc0 switch added to speed up make process. The size of the obj/b32 dir after a make was 8.9 MB before, and 7.7 MB after. * source/vm/debug.c doc/en/hvm.txt ! One $DOC$ left in the source moved to the docs dir. * source/vm/hvm.c ! One variable name standardized and made static. * source/rdd/dbf1.c ! Unused variable warning fixed. * source/rtl/transfrm.c ! Borland warning fixed. ! TRANSFORM(<logical>,"@") case fixed. Three more tests pass in RT_MAIN. * source/vm/memvars.c ! hb_memvarValueNew() Borland warning fixed. Comment added. * source\tools\hb_f.c ! Borland warning fixed. % IT_NUMBER changed to the standard IT_NUMERIC 20000305-13:47 GMT+1 Viktor Szakats * source/rtl/empty.c source/rtl/valtype.c ! Item->type access change to API call. % Optimized. Some variables and branches removed. * source/rtl/strings.c ! All direct item accesses changed to Item API calls. % Some calls eliminated by using local variables. * source/rtl/arrays.c source/rtl/break.c source/rtl/classes.c source/rtl/codebloc.c source/rtl/extend.c source/rtl/fm.c source/rtl/harbinit.prg source/rtl/initexit.c source/rtl/itemapi.c source/rtl/memvars.c source/rtl/pcount.c source/rtl/proc.c source/rtl/pvalue.c + All these files moved to source/vm/* Now only the functions in VM are using low-level Harbour structures. * makefile.bc makefile.vc (not tested) source/rtl/Makefile source/vm/Makefile * Make files changed according to the RTL->VM moves. 20000304-08:20 GMT-3 Luiz Rafael Culik <culik@sl.conex.net> *utils/hbdoc/genrtf.prg *source/tools/rtf.prg *small changes *utils/hbdoc/genhtm.prg *Fixed warnings reported by Andi *doc/en/rdd.txt *some docs changed *doc/en/set.txt *doc/en/browse.txt *doc/en/string.txt *Small formating 20000303-17:50 GMT-3 Luiz Rafael Culik <culik@sl.conex.net> *utils/hbdoc/genrtf.prg *small changes *Fixed warnings reported by Victor *source/tools/rtf.prg *Small Changes *doc/en/ht_doc.txt doc/en/ht_file.txt doc/en/ht_conv.txt *Small Formating *doc/en/file.txt *Added new Docs *doc/en/set.txt Added new Docs 20000303-20:50 GMT+1 Viktor Szakats * include/*.api ! Changed header filenames to the new ones. 20000303-02:06 GMT+1 Viktor Szakats + tests/regress/rt_init.ch + tests/regress/rt_vars.ch + Added. 2000-03-02 15:10 GMT-5 David G. Holm <dholm@jsd-llc.com> * compiler/Makefile * macro/Makefile ! Several include files were still using the old names (i.e., they didn't have an "hb" prefix). 20000302-20:44 GMT+1 Viktor Szakats * contrib/rdd_ads/ads1.c ! All direct item accesses changed to Item API calls. * source/compiler/cmdcheck.c makefile.bc makefile.vc ! Fixed OBJ32 support. (Note that for some unknown reason the linker GPF on Harbour executables when the OBJ generation is turned on, and the .OBJ format is also rejected by the linker. Tested with BCC53 and BCC55) * source/compiler/genobj32.c + Stub added for non OBJ32 support mode. * make*.bat + They also delete the .LOG file on CLEAN. * source/gt/* * Minor formatting. 20000302-17:45 GMT+1 Viktor Szakats * tests/regress/* % Modified to take advantage of the code inclusion feature of the PP. * source/rdd/dbcmd.c ! All direct item accesses changed to Item API calls. ! Fixed direct item string buffer access in DBSETDRIVER() % Variable scopes and some other minor things optimized. + Static variables prefixed with "s_" % LASTREC() is now of the same speed as RECCOUNT() (minor enh.) ! DBSETDRIVER(), RDDSETDEFAULT(), __RDDSETDEFAULT() synchronized. ! DBSETDRIVER(), RDDSETDEFAULT(), __RDDSETDEFAULT(), RDDREGISTER(), DBCREATE() Fixed potential GPF on very large driver names. * source/rtl/itemapi.c include/hbapiitm.h + Added hb_itemGetDL( PHB_ITEM pItem ) to easily retrieve the julian date from a date item. * source/rtl/arrays.c include/hbapi.h + Added hb_arrayGetDL( PHB_ITEM pArray, ULONG ulIndex ) Same as above. * source/rtl/arrays.c source/rtl/descend.c source/rtl/empty.c source/rtl/memvars.c source/rtl/math.c ! hb_itemGetNL() calls changed to hb_itemGetDL() calls for date items. * source/rdd/dbf1.c source/rdd/dbfcdx1.c source/tools/dates2.c source/rtl/dates.c ! All direct item accesses changed to Item API calls. * source/rtl/do.c ! One direct item access changed to Item API calls. * doc/en/misc.txt ! One copyright fixed. * source/rtl/alert.prg ! Comments changed to standard NOTE/FIXME format. * source/compiler/genc.c + Small alignment in the .C output format. * .cvsignore + Added b32/, b16/ and vc/ dirs (Committed in the previous session) 20000302-11:21 GMT+1 Viktor Szakats * config/rules.cf makefile.bc makefile.vc + -es2 added as a default Harbour switch. WARNING! HBDOC will not compile, since it has warnings. * contrib/* include/* doc/* source/* * Changed the name of all header files, which didn't have a "hb" prefix. WARNING! All .PRG files must be recompiled. Note that from now on the most common header file EXTEND.H is only a CA-Cl*pper compatibility file, in for new Harbour code you should use HBAPI.H instead. errorapi.h -> hbapierr.h filesys.h -> hbapifs.h gtapi.h -> hbapigt.h itemapi.h -> hbapiitm.h langapi.h -> hbapilng.h mouseapi.h -> hbapimou.h rddapi.h -> hbapirdd.h box.h -> hbbox.h compiler.h -> hbcomp.h setcurs.h -> hbcursor.h dates.h -> hbdate.h expropt.h -> hbexprop.h init.h -> hbinit.h inkey.h -> hbinkey.h macro.h -> hbmacro.h pcode.h -> hbpcode.h set.h -> hbset.h ctoharb.h -> hbvm.h hb_vmpub.h -> hbvmpub.h extend.h -> hbapi.h hbfsapi.h -> hbapifs.h (merged into) 20000302-12:35 GMT+1 Ryszard Glab <rglab@imid.med.pl> *source/pp/hbpp.c *moved #include <sys/timeb.h> after harbour specific definitions are defined (OS_UNIX_COMPATIBLE) (BTW: is this include file really needed ? ) *source/rtl/typefile.prg *removed RETURN NIL in a PROCEDURE 20000301-15:20 EST Paul Tucker <ptucker@sympatico.ca> * source/tools/strasint.c * remove extraneous characters at end. 20000301-14:10 GMT-3 Luiz Rafael Culik <culik@sl.conex.net> *doc/en/ARRAY.TXT *added Copyright header *small changes to the docs *doc/en/FILE.TXT *small changes to the docs *source/tools/rtf.prg *source/tools/os2.prg *source/tools/html.prg *Some changes to generate a better output *utils/hbdoc/hbdoc.prg *Changes to reflect the new file outputs *utils/hbdoc/genrtf.prg *utils/hbdoc/genhtm.prg *utils/hbdoc/genos2.prg *Changes to reflect the changes of the classes *utils/hbdoc/hrb.rsp *utils/hbdoc/hrbtools.rsp *Change to use the new docs dir 20000301-14:34 GMT+1 Viktor Szakats * source/rtl/console.c source/rtl/oldclear.c % Removed more non-GTAPI branches. * source/rtl/tgetlist.prg % One FUNCTION converted to PROCEDURE * source/rtl/setfunc.prg * NOTE made more clear. * source/rtl/setkey.prg * Changed to three chars indentation * source/rtl/arrays.c * Minor change in comment. 20000301-10:15 GMT+2 Chen Kedem <niki@synel.co.il> * doc/en/ARRAY.TXT * doc/en/BINNUM.TXT * doc/en/BROWSE.TXT * doc/en/DIR.TXT * doc/en/ERROR.TXT * doc/en/FILE.TXT * doc/en/HVM.TXT * doc/en/INPUT.TXT * doc/en/MENU.TXT * doc/en/MISC.TXT * doc/en/OBJFUNC.TXT * doc/en/SET.TXT * doc/en/TERMINAL.TXT * doc/en/TGETLIST.TXT * doc/en/VAR.TXT * Modify copyright detail for function/commands I wrote ! NOTE: Individual copyright holder should check his/her doc work to make sure creadits are given to the right person 20000301-03:04 GMT+1 Viktor Szakats * source/pp/* include/hbpp.h + Added support for __DATE__ and __TIME__ predefined macros. Note that this will not work in the library version. * hb_pp_AddDefine() fixed to work without any hacks from the caller side. * hb_pp_Init() moved to hbpp.c and is used from standalone hbpp.c, too. * doc/funclist.txt + "+T" symbol explained. * source/rtl/filesys.c - Some "add documentation" note removed. + One copyright added. 20000229-23:13 GMT+1 Viktor Szakats + doc/en/array.txt + doc/en/binnum.txt + doc/en/browse.txt + doc/en/command.txt + doc/en/dir.txt + doc/en/error.txt + doc/en/file.txt + doc/en/ht_class.txt + doc/en/ht_conv.txt + doc/en/ht_dbf.txt + doc/en/ht_doc.txt + doc/en/ht_file.txt + doc/en/ht_gt.txt + doc/en/ht_str.txt + doc/en/hvm.txt + doc/en/input.txt + doc/en/license.txt + doc/en/memo.txt + doc/en/menu.txt + doc/en/misc.txt + doc/en/nation.txt + doc/en/objfunc.txt + doc/en/rdd.txt + doc/en/readme.txt + doc/en/set.txt + doc/en/string.txt + doc/en/tclass.txt + doc/en/terminal.txt + doc/en/tgetlist.txt + doc/en/tlabel.txt + doc/en/treport.txt + doc/en/var.txt + English documentation readded separated from the source files. 20000229-22:00 GMT+1 Viktor Szakats * source/rtl/* source/rdd/dbcmd.c source/tools/* include/hbclass.ch - source/rtl/readme.prg - source/rtl/licence.prg - Removed docs from source. 20000227-11:47 GMT+1 Viktor Szakats * source/rtl/console.c ! Fixed non-GT API mode initialization. * source/rtl/typefile.prg - Removed unused code. * source/runner/stdalone/hbrun.prg + Now shows the Harbour version which it's linked with. * source/rtl/console.c source/rtl/strings.c ! RTL_TEST.PRG reference removed, since this file no longer exists. * source/rtl/inkey.c % Variable scope adjusted. * contrib/rdd_ads/rddads.b32 + Use the BCC_OPT setting. 20000227-00:39 GMT-8 Brian Hays <bhays@abacuslaw.com> * include/hbclass.ch ! added Docs for all Class Commands * source/rtl/tclass.prg % Started docs for class creation * source/rtl/achoice.prg * source/rtl/alert.prg * source/rtl/arrays.c * source/rtl/break.c * source/rtl/console.c % misc. edits for docs 20000227-10:58 GMT+3 Alexander Kresin * contrib/rdd_ads/ads1.c * Bug fixed in adsRawLock() ( code proposed by Sid Sailors ) * adsOrderInfo() corrected, added support for ORDFOR(), ORDBAGNAME(), ORDNAME() * source/rdd/dbcmd.c * pInfo.ItmOrder initialized with NULL, where it is necessary ( Viktor Szakats proposal ) 20000227-08:59 GMT+2 Chen Kedem <niki@synel.co.il> * source/rtl/binnum.c + doc for all function * source/rtl/filesys.c * small formating for the docs ! in FSEEK() doc $EXAMPLES$ I'd changed "RETURN" into "substr" * source/rtl/word.c + add the "INCOMPATIBILITY:" note into $COMPLIANCE$ section * change "INCOMPATIBILITY:" into "NOTE:" * source/rtl/typefile.prg * modified to save the state of SET DEVICE and SET PRINTER * modified to search the file on DEFAULT and PATH directories if needed + add support for error recovery Retry and Default + doc for __TYPEFILE() 20000225-19:58 GMT+3 Alexander Kresin * contrib/rdd_ads/ads1.c * Bug fixed in adsGetValue() 20000224-19:05 GMT+3 Alexander Kresin * contrib/rdd_ads/ads1.c * Corrected handling of bof()/eof() * Fixed some warnings 2000-02-23 14:00 GMT-5 David G. Holm <dholm@jsd-llc.com> * source/rtl/inkey.c ! KEYBOARD ";" now returns INKEY() == 13, just like Clipper. 20000223-18:36 GMT+1 Viktor Szakats * source/rtl/tbrowse.prg ! Fixed return values of methods to be Clipper compatible. * source/vm/hvm.c + HB_INCLUDE_WINEXCHANDLER #ifdef added to control the inclusion of the Windows specific exception handler. Temporary solution. * contrib/rdd_ads/ads1.c ! Extentions converted to lower case. ! Some small fixes. * include/set.h source/rtl/set.c source/rtl/setcolor.c source/rtl/console.c source/rtl/gt/gtstd.c % Reduced the GT vs. non-GT branches. Heading in the direction where there's no non-GT API mode, just a Standard/Stream GT API mode. In other words the point is to eliminate *all* HARBOUR_USE_GTAPI checks. * source/rtl/inkey.c ! __KEYBOARD() fix by Matteo. * source/rtl/strings.c source/rtl/dummy.prg source/rtl/filesys.c source/rtl/oemansi.c ! Minor formatting fixes. 20000222-07:30 GMT-3 Luiz Rafael Culik <culik@sl.conex.net> *doc/harbext.txt *Small changes *source/rtl/filesys.c *Finish rewriting docs stolen from Clipper Ng *source/rtl/strings.c *source/rtl/oemansi.c *source/rtl/tlabel.prg *source/rtl/treport.prg + Add missing copyrigth for the docs *source/rdd/dbcmd.c *small changes to the docs *source/tools/html.prg *Changed to generate the new HTML template *utils/hbdoc/genhtm.prg *utils/hbdoc/hbdoc.prg *Changed to generate the new HTML template output 2000-02-21 15:45 GMT-5 David G. Holm <dholm@jsd-llc.com> * config/rules.cf * config/w32/bcc32.cf * config/w32/global.cf % Changes to make more compatible with all Windows 32-bit platforms 20000221-14:58 GMT+3 Alexander Kresin * source/pp/stdalone/hbpp.c * source/pp/hbppint.c * added cast 20000221-08:50 GMT+2 Chen Kedem <niki@synel.co.il> * source/rtl/objfunc.prg * Update docs to reflect changes made by Victor (20000220-14:30 GMT+1) 20000220-06:20 GMT-8 Brian Hays <bhays@abacuslaw.com> * source/tools/ng.prg * source/tools/os2.prg * source/tools/rtf.prg * source/tools/troff.prg * edited docs 20000220-03:40 GMT-8 Brian Hays <bhays@abacuslaw.com> * doc\gnulice.txt * Removed extraneous headers and Table Of Contents 20000220-23:05 GMT+3 Alexander Kresin * contrib/rdd_ads/ads1.c * memo handling changed - proposal of Brian Hays * contrib/rdd_ads/ads1.c * improvement of AdsKeyNo() and AdsKeyCount() 20000220-19:55 GMT+3 Alexander Kresin * source/pp/stdalone/hbpp.c * source/pp/hbppint.c * source/pp/hbpp.c * corrected .ppo output - removed empty lines in #include files, as CA-Cl*pper does it 20000220-14:30 GMT+1 Viktor Szakats * ../FT_HELPC.PRG ../HA.LNK ../bldfthe.bat ! Trying to remove trash from the root of the repository. * source/rtl/objfunc.prg - Removed the runtime errors if the method/data to be deleted doesn't exist, or the method/data to be added already exist. Reasons: These error cases are better handled manually by the developer if needed. ! PLEASE UPDATE THE DOCS ! * makefile.bc bin/bld_b32.bat bin/bld_b32w.bat ! Removed -5 option since this breaks Harbour on 386/486. Add this to your local BCC_OPT setting if needed. 20000220-12:22 GMT+2 Chen Kedem <niki@synel.co.il> * doc/cvs_ssh.txt + Add CVS ID * doc/gnulice.txt ! Fixed CVS ID * source/rtl/setfunc.prg * source/rtl/tgetlist.prg + Add missing copyrigth for the docs 20000219 11:10 Brian Hays * doc\gnulice.txt * Formatted to NG specs 20000219-09:10 GMT-3 Luiz Rafael Culik <culik@sl.conex.net> *makefile.bc *Added -5 Option to the Bcc32 command line *bin/bld_b32.bat *bin/bld_b32w.bat *Added -5 Option to the Bcc32 command line PS: I added the -5 command line option , since the console output Runs faster 20000219-07:02 GMT-3 Luiz Rafael Culik <culik@sl.conex.net> * source/rtl/environ.c ! Added missing $ONELINER$ token to the __run() function 20000219 07:10 Brian Hays *doc/harbext.txt *Added usage of @<Function>() 2000-02-18 17:30 GMT-5 David G. Holm <dholm@jsd-llc.com> + doc/cvs_ssh.txt + New file with information on how to get CVS to work with SSH. * source/rtl/environ.c ! Corrected the VERSION() documentation to describe how the function actually works (the use of any parameter returns both the Harbour and C compiler versions). % Removed explicit tests for DJGPP, CYGWIN, MINGW32, and OS/2 GCC for the __RUN() function and replaced them with a test for GNUC, so that all Gnu C versions of Harbour can use the RUN command. * tests/version.prg % Changed the second call to VERSION to use a NIL parameter to show that the use of any parameter will cause both the Harbour and C compiler versions to be printed, regardless of the parameter value. 20000218-21:32 GMT+3 Alexander Kresin * source/pp/stdalone/hbpp.c * corrected accordingly last changes * source/pp/hbppint.c * call of HB_TRACE fixed 20000218-15:23 GMT+3 Alexander Kresin * source/pp/hbpp.c * source/pp/hbppint.c * Bug fixed, reported by Brian Hays 20000218-10:02 GMT-3 Luiz Rafael Culik <culik@sl.conex.net> *doc/compiler.txt doc/readme.txt Small formating by Brian Hays *source/rtl/typefile.prg *Fixed to use the Harbour RTL 20000218-00:04 GMT+1 Viktor Szakats - source/runner/stdalone/external.prg * makefile.bc makefile.vc source/runner/stdalone/Makefile - Removed EXTERNAL.PRG, since it's no longer needed. * source/rtl/typefile.prg + FIXME added about non-standard class usage. ! CVS ID fixed (again). 20000217-15:22 EST Paul Tucker <ptucker@sympatico.ca> * source/pp/hbppint.c * added cast 20000217-23:00 GMT+3 Alexander Kresin * source/pp/hbpp.c * source/pp/hbppint.c * source/pp/hbpplib.c * source/pp/stdalone/hbpp.c * source/compiler/harbour.y * include/compiler.h * accepting of statements in include files implemented * pp now generate #line statements 20000217-09:00 GMT-3 Luiz Rafael Culik <culik@sl.conex.net> *doc/vm.txt doc/harbext.txt doc/tracing.txt doc/statics.txt doc/readme.txt doc/pragma.txt doc/pcode.txt doc/gmake.txt doc/cvshowto.txt doc/compiler.txt *Small formating by Brian Hays *source/rtl/typefile.prg *Fixed a worning reported by Victor *utils/hbdoc/hbdoc.prg *utils/hbdoc/genos2.prg *utils/hbdoc/gentrf.prg *utils/hbdoc/genng.prg *utils/hbdoc/genhtm.prg *utils/hbdoc/genrtf.prg *utils/hbdoc/genhpc.prg *utils/hbdoc/genasc.prg *Small fixes 20000217-10:08 GMT+3 Alexander Kresin * source/pp/hbpplib.c * added hb_comp_files declaration to fix error while hbrun compiling 20000217-00:39 GMT+1 Viktor Szakats * source/rtl/Makefile + typefile.prg 20000216-23:05 GMT+3 Alexander Kresin * source/pp/hbppint.c * source/compiler/harbour.l * source/compiler/harbour.y * include/hbpp.h * some changes needed for implementation of pp feature ( accepting of statements in include files ) 20000216-13:12 EST Paul Tucker <ptucker@sympatico.ca> * makefile.vc + source/rtl/typefile.prg 20000216-06:00 GMT-3 Luiz Rafael Culik <culik@sl.conex.net> *makefile.bc *added the typefile makefile *doc/funclist.txt *update status of __typefile functions +doc/gnulice.txt *Gnu license *doc/subcodes.txt *added one more subcode *source/rdd/dbcmd.c *Some docs changed *source/rtl/dummy.prg *removed __typefile reference *source/rtl/environ.c source/rtl/memvars.c *small formating to the docs *source/rtl/treport.prg *source/rtl/tlabel.prg *Added the function docs *source/rtl/typefile.prg *__TYPEFILE function *source/rtl/set.c *small formating to the docs *source/rtl/strings.c *small formating to the docs *utils/hbdoc/genng.prg *small changes *utils/hbdoc/alpha.lnk *utils/hbdoc/hrb.lnk *Small changes 20000216-00:07 EST Paul Tucker <ptucker@sympatico.ca> * makefile.vc + source/rtl/tlabel.prg + source/rtl/treport.prg 20000216-04:17 GMT+1 Viktor Szakats * source/rtl/tbrowse.prg ! SAY -> DispOutAt() ! Value is better converted before displayed, now it's completely like CA-Cl*pper 5.2. ! Fixed calculating of the columns fitting on the screen. ::LeftDetermine(), ::Stabilize() + Added a bunch of NOTEs and FIXMEs. % Optimization in Hilite() * source/rtl/tbcolumn.prg ! Fixed column width calculations. (still not perfect, but better) * makefile.bc makefile.vc * Harbour options changed to -q0 and -w * source/vm/hvm.c + Added the Win32 exception handler rountine experimentally, it's commented out. * source/rtl/itemapi.c * Some minor change in comments. 20000215-20:53 GMT+1 Viktor Szakats * source/rtl/tgetlist.prg source/rtl/dummy.prg doc/funclist.txt + __SETFORMAT() added + GETAPPLYKEY() added + GETREADER() added + __KILLREAD() added * config/header.cf ! Checks if the HB_ARCHITECTURE and HB_PLATFORM envvars are set, if not it simply does nothing instead of going into an infinite loop. * contrib/rdd_ads/rddads.b32 ! Fixed a typo (rddasd -> rddads). 20000215-13:22 GMT+1 Philip Joseph <philjo@writeme.com> * contrib/rdd_ads/ads1.c + added DbrLockList() functionality. + added IndexOrd() functionality. ! Fixed adsOrderListAdd() for setting up the default index. ! Fixed table, index and memo file extensions. * contrib/rdd_ads/adsfunc.c ! Modified HB_ADSSETDELETED() for making similar to clipper set deleted command. 20000214-19:35 GMT+1 Ryszard Glab <rglab@imid.med.pl> *source/compiler/expropt.c *source/macro/macro.c *include/hbexpr.c * fixed generation of incorrect HB_P_MACROSYMBOL pcode when &( expression ) syntax was used *tests/tstmacro.prg * cleared to allow Clipper compatible syntax only 20000214-17:10 GMT+1 Viktor Szakats * config/w32/bcc32.cf ! Fixed so that it doesn't require the non-standard HARBOURDIR envvar to be set. + Added -d flag * config/dos/bcc.cf + Added -d flag * config/lib.cf config/test.cf config/dir.cf config/bin.cf ! Checks if the HB_ARCHITECTURE and HB_PLATFORM envvars are set, if not it simply does nothing instead of going into an infinite loop. 20000214-09:15 GMT+1 Viktor Szakats * tests/* ! Fixed missing CVD IDs (again and again). 20000214-07:50 GMT+1 Viktor Szakats * source/rtl/mouse/mousedos.c ! static variables marked as static. * source/rtl/dates.c - QUESTION removed. * source/rtl/* source/rtl/mouse/* source/rtl/gt/* source/common/* source/compiler/* source/rdd/* source/vm/* source/tools/* tests/* tests/regress/* * Name change. 20000214-06:32 GMT+1 Viktor Szakats * *.bat + .LOG file is only shown when there was some error. * source/rtl/itemapi.c ! hb_itemStr() fixed for 16-bit Borland compilers. Log(0) was causing a domain error. * source/rtl/gtdos.c ! Borland warnings fixed. * source/rtl/mousedos.c ! Fixed hb_mouse_GetBounds(). (Have this function been ever tested/compiled ??) ; COMMENT: Borland 16-bit support is still broken. Large symbol tables and strings makes the final .EXE exit without any messages. HBDOC works, HBRUN not, RT_MAIN not (but it can work if larger parts are removed). xmemset() and xmemcpy() crashes for larger values (like 100000), and the symbol processing used to fail right on startup. 20000214-03:50 GMT+1 Viktor Szakats * bin/bld_b*.bat bin/bld_vc.bat + Made in sync with each other, updated the lib file lists. * makefile.bc ! Changed hbpp.lib to pp.lib (again) ! Fixed NULSYS.LIB generation bug. 20000214-03:21 GMT+1 Viktor Szakats * *.bat + Added CLEAN command to batch files. Use: MAKE_VC.BAT CLEAN to cleanup all the generated files (EXE,LIB,OBJ,...) + Added optional parameter forwarding to the make process. * source/rtl/mainwin.c source/rtl/maindll.c ! Fixed to compile only for 32-bit Windows platform. * makefile.bc % INCLUDE_DIR simplified. % Merge duplicate strings option added as a default. ! main -> mainstd + dbgmenu.prg added. + source/debug/dbgmenu.prg (added) source/debug/debugger.prg source/debug/Makefile makefile.vc * BuildMenu() function moved to a separate source file, so that it now compiles fine with Harbour Borland 16-bit. * source/vm/cmdarg.c ! Too small buffer fixed. (GPF-ed with B16) 20000213-23:59 GMT+1 Viktor Szakats ! makefile.bc ! Fixed again. * source/rtl/Makefile + treport.prg and tlabel.prg added. * tests/testrpt.prg tests/testlbl.prg ! CVS ID added. - include/rptdef.ch + include/hbrptlbl.ch include/Makefile source/rtl/tlabel.prg source/rtl/treport.prg ! rptdef.ch renamed to hbrptlbl.ch + hbrptlbl.ch added to Makefile ! Small corrections to hbrptlbl.ch + Indentation fixed. ! .FRM/.LBL changed to lowercase. ! RETURNs without value fixed. ! RG_ changed to RGT_ + #include "error.ch" added. ! One mistyped variable name fixed. * "=" changed to ":=" and "==" * source/rtl/fm.c ! // comments changed to /**/ * include/hbtrace.h ! Minor correction. 20000213-15:50 GMT-3 Luiz Rafael Culik <culik@sl.conex.net> *makefile.bc *added the treport and tlabel to the makefile *doc/funclist.txt *update status of __reportform() and __labelform() functions *include/rptdef.ch *include file for TLabelForm and TReportForm *source/rtl/tlabel.prg +__labelform() function *source/rtl/treport.prg +__reportform() function +tests/testlbl.prg *test file for __labelform() function +tests/testrpt.prg *test file for __reportform() function +tests/ee.frm +tests/ee.lbl *report and label files for the examples 20000213-16:15 GMT+1 Ryszard Glab <rglab@imid.med.pl> *source/compiler/harbour.y * line number opcodes are correctly generated inside IF/ENDIF, WHILE/END *source/macro/macro.c * fixed unreleased memory when database alias was used *source/macro/macro.y * fixed unreleased memory when invalid syntax was found during macro string parsing *include/hbexpr.c * added more tracing information *source/common/hbstr.c * hb_strdup() reports the length of a string in tracing info *source/rtl/gt/gtdos.c * fixed unreleased memory block *include/hbtrace.h *source/common/hbtrace.c * added HB_TRACE_STEALTH definition to print tracing information without changing filename/linenum information * hb_tr_trace() doesn't clear filename/linenum info on exit - this info is used in fm.c to store the location of code that requested memory allocation *source/rtl/fm.c * when HB_TR_LEVEL is set to HB_TR_DEBUG then allocated memory blocks store C function name and line number instead of PRG filename/linenum This allows to easy locate the source of unrealeased memory blocks 20000213-13:27 GMT+1 Viktor Szakats ! makefile.bc ! Some bugs fixed related to the previous change. 20000213-12:04 GMT+1 Viktor Szakats - makefile.b32 - makefile.b16 + makefile.bc make_b*.bat + Merged to functionality of makefile.b16 into makefile.b32 resulting in a generic makefile.bc for all Borland compilers. Note that MAINDLL.C, MAINWIN.C, SYMBOLS.ASM should be fixed to be multiplatform, and currently the 16-bit Borland chokes on DEBUGGER.PRG. But it mostly works. The old makefile.b16 was completely outdated. + Added HARBOUR_OPT support. * doc/* ! Fixed and standardized CVS ID for the rest of files. 20000213-11:32 GMT+2 Chen Kedem <niki@synel.co.il> * doc/readme.txt * doc/statics.txt * doc/whatsnew.txt ! CVS ID fixed (sorry) 20000213-11:23 GMT+2 Chen Kedem <niki@synel.co.il> * doc/compiler.txt * doc/readme.txt * doc/statics.txt * doc/whatsnew.txt * Formating for 80 column (actually 76 like the NG standard) + CVS ID added 20000213-04:02 GMT+1 Viktor Szakats * source/compiler/cmdcheck.c ! Fixed broken handling of the /x switch without parameter. * *.bat * make*.err changed to make*.log * makefile.vc + NOTE: added about UNISTD.H * makefile.b32 ! Fixed the fix for the HARBOURY.H not found error in some Borland compilers. Now the same compile command is used than *was* already used previously with MACROL.C, so it should work now. 20000212-22:50 GMT-3 Luiz Rafael Culik <culik@sl.conex.net> *source/rdd/dbcmd.c *Some docs changed *source/rtl/fieldbl.prg *source/rtl/memvars.c *source/rtl/tone.c *source/tools/fileread.prg *Added status to the Doc *Makefile.b32 *Added obj\b32 to the include dir *source/rtl/strings.c *Fixed VAL() function provided by Jose Lanin 20000212-14:00 GMT+1 Ryszard Glab <rglab@imid.med.pl> *source/macro/macro.l *source/macro/macro.y * fixed recognition of FIELD-> syntax 20000212-12:22 GMT+1 Philip Joseph <philjo@writeme.com> * contrib/rdd_ads/ads1.c + Added adsCreate function for creating ads tables. It also supports adt tables with short names. 20000212-02:30 GMT+1 Viktor Szakats * include/gtapi.h + NOTE: added about incompatibilities between Harbour and CA-Cl*pper GT interface. * makefile.b32 - Removed -v option (debug info) from 4.0 mode. 2000-02-11 19:15 GMT-5 David G. Holm <dholm@jsd-llc.com> * source/rtl/inkey.c ! First pass at international character support for Windows console mode. 20000211-23:05 GMT+1 Viktor Szakats * make*.bat * The different make systems generate log files with different names. 20000211-22:31 GMT+1 Viktor Szakats * makefile.vc ! Modified to generate all the intermediate .c/.y/.l files in the obj dir instead of the original files' dir, since this way the make process is not conflicting with the GNU-make system, so they can be used in parallel. * HBDOC is generated in the BIN directory. + RT_MAIN generation added. + Added nulsys.lib + obj/b16/empty + obj/b32/empty + obj/vc/empty * makefile.b32 makefile.b16 makefile.vc + From now on the intermediate files are generated in the obj\b16, obj\b32 and obj\vc depending on the build system. This way the Borland and Microsoft make systems will not conflict and can be used in parallel. 20000211-19:37 GMT+1 Viktor Szakats * ha.lnk -> categ.lnk harbour.lnk -> alpha.lnk harbour.rsp -> hrb.rsp harbwww.rps -> hrbtools.rsp makewww.bat -> genhtm.bat * Some files renamed. 20000211-19:11 GMT+1 Viktor Szakats * source/rtl/Makefile - readvar.prg removed. * doc/harbext.txt + CVS ID added !! Please remember to add this to every file CVS-d !! * tests/bld_b16.bat tests/bld_b32.bat tests/bld_b32o.bat tests/bld_b32w.bat tests/bld_vc.bat * Files moved to the bin\ directory. - tests/test_all.lnk - Blinker specific, probably obsolete file removed. * doc/cvshowto.txt bin/bld_tpl.* make_tpl.* * My name changed to the real one. * source/rtl/tbcolumn.prg ! NOFIX: -> FIXME: 20000211-09:33 GMT+1 Patrick Mast <harbour@PatrickMast.com> + doc/harbext.txt * This contains the Language and RTL extensions of Harbour 20000210-22:55 EST Paul Tucker <ptucker@sympatico.ca> * makefile.vc - source/rtl/readvar.prg 20000211-04:15 GMT+1 Antonio Linares <alinares@fivetech.com> * makefile.b32 - readvar.prg removed. (please update other makefiles) 20000211-04:15 GMT+1 Antonio Linares <alinares@fivetech.com> * source/rtl/tgetlist.prg * proper support for ReadVar() - source/rtl/readvar.prg * removed. It was obsolete. * tests/testread.prg * enhanced to test ReadVar() when pressing F2 20000210-23:53 GMT+1 Viktor Szakats * include/hboo.ch source/rtl/classes.c source/rtl/tclass.prg ! HB_OO_ONERROR renamed to HB_OO_MSG_ONERROR * source/rtl/tgetlist.prg + Added READVAR() support for the GETs. * include/* source/rtl/readvar.prg * My name changed to the real one. * source/rtl/filesys.c ! Minor formatting fix. 20000210-14:45 EST Paul Tucker <ptucker@sympatico.ca> * makefile.vc * temporarily - not defining _Windows for tone.c and oemansi.c 2000-02-10 13:50 GMT-5 David G. Holm <dholm@jsd-llc.com> * source/rtl/tone.c ! Borland C does not support Beep() under Windows. 20000210-13:30 EST Paul Tucker <ptucker@sympatico.ca> * makefile.vc + /D_Windows to compiler flags * source/rtl/tone.c * change _WINDOWS_ back to _Windows 20000210-15:15 GMT+3 Alexander Kresin * source/rtl/setfunc.prg * minor bug fixed: #include "common.ch" was missed, so ISCHARACTER() caused 'unresolved external' message while app linking 20000210-13:20 GMT+1 Ryszard Glab <rglab@imid.med.pl> *source/compiler/harbour.l * fixed syntax for RETURN statement *source/compiler/hbgenerr.c * changed warning level for 'unreachable code' - it will be generated if /w2 option is used *source/genc.c * fixed 'unused "wSym" variable' warning *tests/keywords.prg * added some more code related to RETURN statement 20000209-22:37 EST Paul Tucker <ptucker@sympatico.ca> * source/rtl/tone.c * change _Windows to _WINDOWS_ * assign 0 to temp if ifdefs' not matched * makefile.vc * correct building of hbdoc.exe 20000209-22:10 EST Paul Tucker <ptucker@sympatico.ca> * makefile.vc * move hbdoc.exe to bin 20000210-03:44 GMT+1 Viktor Szakats * makefile.vc * HBTOOLS.LIB renamed to TOOLS.LIB to better resemble to the other make systems. * makefile.b32 makefile.vc * HBPP.LIB renamed to PP.LIB to better resemble to the GNU-make system. 20000210-03:24 GMT+1 Viktor Szakats * makefile.b32 ! Modified to generate all the intermediate .c/.y/.l files in the obj dir instead of the original files' dir, since this way the make process is not conflicting with the GNU-make system, so they can be used in parallel. * HBDOC and RT_MAIN are also generated in the BIN directory. + Added nulsys.lib * source/pp/hbpplib.c include/hbexpr.c source/compiler/harbour.c source/compiler/genhrb.c source/compiler/genjava.c source/rtl/gtapi.c source/rtl/mouseapi.c source/macro/macro.c source/tools/strasint.c source/tools/strcount.c source/tools/strleft.c source/tools/strright.c source/tools/ascpos.c ! Borland warnings fixed. 20000209-21:10 EST Paul Tucker <ptucker@sympatico.ca> * makefile.vc +utils/hbdoc/genos2.prg +utils/hbdoc/gentrf.prg +utils/hbdoc/genng.prg +utils/hbdoc/genhtm.prg +utils/hbdoc/genrtf.prg +utils/hbdoc/genhpc.prg +utils/hbdoc/genasc.prg 20000209-20:00 GMT-3 Luiz Rafael Culik <culik@sl.conex.net> *utils/hbdoc/hbdoc.prg *Separated in several files +utils/hbdoc/genos2.prg +utils/hbdoc/gentrf.prg +utils/hbdoc/genng.prg +utils/hbdoc/genhtm.prg +utils/hbdoc/genrtf.prg +utils/hbdoc/genhpc.prg +utils/hbdoc/genasc.prg *Contains the Procedures to create the output files *utils/hbdoc/Makefile +Added the new hbdoc modules *makefile.b32 *Update for hbdoc changes 20000209-13:30 GMT+1 Antonio Linares <alinares@fivetech.com> * source/debug/debugger.prg + Added INKEY_ALL second parameter to Inkey() call. * source/rtl/alert.prg + Added INKEY_ALL second parameter to Inkey() call. 20000209-12:08 GMT+1 Viktor Szakats * source/rtl/mouse/mousedos.c ! hb_mouse_GetBounds() bug fixed (there was an '-' instead of '=') 20000209-13:50 GMT+3 Alexander Kresin * source/pp/hbpp.c * Bug fixed, noted by Ignacio Ortiz * there was a problem with a file path in #include statement 20000209-13:35 GMT+3 Alexander Kresin * contrib/rdd_ads/adsfunc.c + added new function: HB_ADSETDELETED() * contrib/rdd_ads/ads1.c * some changes for deleted(), locate, continue right work * contrib/rdd_ads/ads.ch + added SET DELETED command 20000209-08:15 GMT-3 Luiz Rafael Culik <culik@sl.conex.net> *utils/hbdoc/hbdoc.prg *Fixed /w1 warnign when hbdoc is compiled with this switch changed compilance to compliance and plataform to platform *source/rtl/readme.prg *Some formating *source/rtl/mouse/mousedos.c * hb_mouse_GetBounds() implemented 20000209-10:43 GMT+1 Viktor Szakats * utils/hbdoc/hbdoc.prg ! Misc small fixes. * make_b*.bat * Small change regarding make.err deletion. * source/rtl/strings.c % Small optimization in HB_ISSPACE() ! "compilant" changed to "compliant" * Three NOTEs changed to FIXMEs (in RAT() and STRTRAN()) ! Small formatting fixes. (NG doc moved before any misc notes and comments related to the function) * source/rtl/environ.c source/rtl/filesys.c source/rdd/dbcmd.c ! "compilant" and "compilante" changed to "compliant" ! Other misc doc/comment fixes. * source/rtl/dir.c * Minor formatting change (comment related only). * source/rtl/tgetlist.prg ! oGetListActive renamed to s_oGetListActive * source/rtl/tget.prg ! Missing CVS header added (again). * source/rtl/objfunc.prg source/rtl/alert.prg source/rtl/dbedit.prg ! "an Harbour" changed to "a Harbour" 20000209-04:15 EST Paul Tucker <ptucker@sympatico.ca> * source/rtl/inkey.c + Added support to exist Win mouse code to detect Mouse Button UP and to account for INKEY_* mask. 20000209-07:35 GMT+1 Antonio Linares <alinares@fivetech.com> * source/rtl/inkey.c + Added support for Inkey() K_LDBLCLK and K_RDBLCLK events. * source/debug/debugger.prg + test added for Inkey() K_LDBLCLK event. It is working right. 20000208-17:55 GMT+1 Ryszard Glab <rglab@imid.med.pl> *source/compiler/harbour.y *source/compiler/harbour.l * fixed syntax for the following keywords: OTHERWISE PROCEDURE RECOVER RETURN STATIC USING * added error generation in case repeated OTHERWISE clauses are used in DO CASE statement *tests/keywords.prg * added some more test code *source/rtl/wait.prg * fixed code to stop generation of error 'unreachable code' *source/rtl/gt/gtstd.c * added dummy function hb_gt_ReadKey() if compiled for U*ix (I don't know why it worked previously without this function) 20000208-12:00 GMT+1 Antonio Linares <alinares@fivetech.com> * tests/bld_b32.bat * updated to use latest Borland makefile changes 20000208-11:48 GMT+1 Antonio Linares <alinares@fivetech.com> * makefile.b32 + oemansi.c was missing and it is required from hbdoc * HBDOC_OBJS changed into HBDOC_EXE_OBJS (makefile was not completing its job cause this) * make_b32.bat * del make.err added 20000208-03:15 EST Paul Tucker <ptucker@sympatico.ca> * makefile.vc + source/tools/dbftools.c + utils/hbdoc/hbdoc.prg 20000207-20:56 EST Paul Tucker <ptucker@sympatico.ca> * makefile.vc + source/rtl/mouseapi.c + source/rtl/mousexxx.c 20000207-22:13 GMT+1 Viktor Szakats * makefile.b32 Makefile ngdoc/* -> utils/hbdoc/* * NGDOC directory renamed and moved to the right place. * utils/hbdoc/hbdoc.prg * Help screen formatted and corrected to be in sync with other Harbour command-line utilities. * Some minor changes. 20000207-20:40 GMT+1 Viktor Szakats - common.b32 ft_helpc.b32 gt.b32 hbpp.b32 rdd.b32 regress.b32 runner.b32 terminal.b32 - Removed. * makefile.b32 make_b32.bat make_b40.bat * Changed to include all functionality previously implemented using several separate make files. New makefile almost completely based on the work of Bruno Cantero. - ngdoc/ft_helpc.prg + ngdoc/hbdoc.prg ngdoc/makewww.bat * FT_HELPC renamed to HBDOC * FT_HELPC() main function renamed to MAIN() - ngdoc/bldfthe.bat - Removed since it's now built in the mainstream build process. * ngdoc/Makefile * Changed to reflect new utility name. 20000207-20:10 GMT+3 Alexander Kresin * source/rtl/tools/dbftools.c + Documentation added * contrib/rdd_ads/adsfunc.c + added new functions: HB_ADSBLOB2FILE() - support of binary objects in memo HB_ADSFILE2BLOB() / HB_ADSKEYNO() HB_ADSKEYCOUNT() 20000207-16:52 GMT+1 Viktor Szakats * source/rtl/inkey.c source/rtl/mouse/mousewin.c * Win32 mouse related variables renamed and moved to mousewin.c inkey.c is now accessing them as an externs. 20000207-16:39 GMT+1 Viktor Szakats * include/hbextern.ch source/runner/stdalone/external.prg ! Added #include "hbsetup.ch" + Added mouse functions. + FIXME: added about missing #ifdefs. * source/rtl/harbinit.prg ! Added #include "hbsetup.ch" * source/rtl/mouseapi.c ! Added HB_ prefix to all HARBOUR functions. * source/rtl/console.c + Calling hb_mouseInit() on startup. * source/rtl/inkey.c source/rtl/mouse/mousewin.c * MCOL()/MROW() removed from inkey.c * MCOL()/MROW() docs moved to mouseapi.c * Mouse coordinate variables renamed and exported. * MCOL()/MROW() in mousewin.c modified to use the exported coordinate variables. * MPRESENT() now always returns .T. for Win32, which is not correct, but better than .F. 20000207-12:22 GMT+1 Viktor Szakats * source/rtl/math.c ! MOD(): Added value substitution on error. ! MOD(): Made completely CA-Cl*pper compatible including bugs/side-effects (related to behaviour on zero base value). * tests/regress/rt_hvm.prg tests/regress/rt_math.prg + % and MOD() tests added. All of them passes. 20000207-09:15 GMT+1 Antonio Linares <alinares@fivetech.com> * source/debug/debugger.prg * Mouse support to select any window. * Improved command window GET building. 20000207-00:25 GMT+1 Viktor Szakats * source/vm/cmdarg.c * Format of build info slightly modified. + Added maximum symbol length to build info. * source/rtl/mouse/mousedos.c ! Several fixes. ! Formatting. % Some variables optimized out. * Mousereg renamed to regs. * Makefile ! Formatting fix. * ngdoc/Makefile ! Fixed. * ngdoc/bldfthe.bat ngdoc/ft_helpc.prg ! NANFOR is always defined if __HARBOUR__ is, so that it now links OK with the GNU make system. Explicit /DNANFOR switch removed from the Borland make .BAT file. 20000206-20:35 GMT-3 Luiz Rafael Culik <culik@sl.conex.net> *Makefile *Added ngdoc dir to the normal build +ngdoc/makefile +gnu make file for ft_helpc *ngdoc/ft_helpc.pg *small changes *source/rdd/dbcmd.c * Change some functions docs *source/rtl/mouse/mousedos.c * Added support for djgpp compiler *source/tools/html.prg *small changes 20000206-16:55 GMT+1 Viktor Szakats * source/vm/cmdarg.c ! Mistyped #ifdef fixed in //BUILD functionality (mentioned by Jose) 20000206-16:15 GMT+1 Ryszard Glab <rglab@imid.med.pl> *source/vm/hvm.c * fixed GPF/code dump during creation of a codeblock if used for static variable initialization *source/compiler/harbour.y * fixed generation of line number opcodes *source/compiler/harbour.c * fixed 'unused variable' warnings generated by Borland compiler *doc/compiler.txt * added note about incompatibility with Clipper in handling of local variables during static variable initialization 20000206-10:12 GMT+1 Antonio Linares <alinares@fivetech.com> * source/debug/debugger.prg * Mouse support to select pulldown top items (just that for now) 20000205-17:00 GMT+1 Viktor Szakats * source/compiler/hbusage.c + The command line help screen uses the platform dependent switch character when listing options. + 1999 -> 1999-2000 20000205-13:06 GMT+1 Viktor Szakats * tests/db_brows.prg ! UPDATED() removed, since it's now defined in the RTL. * include/rddapi.h source/tools/dbftools.c * hb_rdd*() function declration moved to rddapi.h * source/tools/dbftools.c ! Removed #includes not needed. Especially windows.h. * source/compiler/hbusage.c + Note added about switch character. 20000205-00:32 GMT+1 Viktor Szakats * source/tools/Makefile + dbftools.c added. + html.prg, ng.prg, os2.prg, troff.prg, etc. added. * doc/hdr_tpl.txt * Year changed to 2000 * source/rdd/dbcmd.c source/rtl/inkey.c source/rtl/array.c source/pp/hbpp.c * Minor formatting fixes. 20000204-23:10 GMT+1 Antonio Linares <alinares@fivetech.com> * source/rtl/inkey.c * static int s_iMouseCol = 0, s_iMouseRow = 0; (changed SHORT into int accordingly to Dave proposal). 20000204-19:25 GMT-3 Luiz Rafael Culik <culik@sl.conex.net> *Source/rdd/dbcmd.c * Change some functions docs *ngdoc/harbwww.rps *Small changes *source/rtl/inkey.c * Small changes on MCOL() and MROW() function docs 20000204-20:45 GMT+1 Ryszard Glab <rglab@imid.med.pl> *source/compiler/harbour.y *source/compiler/harbour.c * fixed initialization of static variable with dimmed array STATIC var[ 2 ] *source/rtl/inkey.c * fixed s_iMouseCol/s_iMouseRow if compiled with GCC/LINUX 20000204-22:12 GMT+3 Alexander Kresin * source/rdd/dbcmd.c + added hb_rddGetCurrentWorkAreaPointer() function + source/rtl/tools/dbftools.c Some Clipper Tools compatible functions * contrib/rdd_ads/ads1.c * Bugs fixed related to lock/unlock * Memo support added 20000204-14:47 GMT+1 Viktor Szakats * source/rtl/itemapi.c ! hb_itemNew() fixed to set the item type *after* filling the item structure with zeros. It won't set the type at all when a param other than NULL was passed. * makewww.bat * ngdoc/makewww.bat ! Moved. ! CVS ID fixed. * source/rtl/alert.prg ! Mouse support fixed when not clicked on button. % Small optimization * Formatted using the files style. * source/rtl/inkey.c * s_xMousePos -> s_iMouseCol * s_yMousePos -> s_iMouseRow 2000-02-03 16:10 GMT-5 David G. Holm <dholm@jsd-llc.com> * bin/bld_tpl.bat * bin/bld_tpl.cmd + Added ..\lib\main.obj to command line for os2/icc builds 20000203-17:05 GMT-3 Luiz Rafael Culik <culik@sl.conex.net> *Source/rdd/dbcmd.c * Change some functions docs *Source/tools/html.prg * Some enhacements *Ngdoc/ft_helpc.prg * Fix on the text when FT_HELPC is called with out parameters +some enhacements *Contrib/rdd_ads/rddads.b32 *Fixed type on library name *Contrib/odbc/bld_b32.bat * Added missing common.lib to the bcc32 line *Ngdoc/harbwww.rps + response file for ft_helpc generate html output *makewww.bat +batch make file to ft_helpc generate html output 20000202-22:00 GMT+1 Antonio Linares <alinares@fivetech.com> * source/rtl/inkey.c + Added MCol() and MRow() mouse support functions (they are actually working just for Win32 console mode) + Added static variables s_xRowPos and s_yRowPos * Enhanced InKey() to return K_MOUSEMOVE, K_LBUTTONDOWN, K_RBUTTONDOWN values * _Windows globally changed into _WINDOWS_ * source/rtl/gt/gtwin.c * SetConsoleMode() changed to support console mouse events * source/rtl/alert.prg * Mouse support * source/debug/debugger.prg * A very early test for InKey() mouse events and MRow() and MCol() values test. It is properly working. 20000202-20:33 GMT+3 Alexander Kresin + contrib/rdd_ads/readme.txt * contrib/rdd_ads/ads.ch * contrib/rdd_ads/adsfunc.c * AdsSetDefault() added and appropriate commands in ads.ch * source/pp/hbpp.c * Bugs fixed, noted by Antonio Linares 20000202-16:40 GMT+1 Ryszard Glab <rglab@imid.med.pl> *include/hbver.c * fixed version and revision numbers 20000202-13:50 GMT+1 Patrick Mast <harbour@PatrickMast.com> * include/hbver.c * Updated to version 31a 20000202-12:05 GMT+1 Ryszard Glab <rglab@imid.med.pl> *source/compiler/harbour.y * fixed to properly compile EXTERNAL directive if placed outside of a function body 2000-02-01 20:40 GMT-5 David G. Holm <dholm@jsd-llc.com> * bin/bld_tpl.bat * bin/bld_tpl.cmd + Added '-o%1.exe' command line option for w32/gcc and w32/mingw32. 20000201-13:00 GMT+1 Ryszard Glab <rglab@imid.med.pl> *source/compiler/harbour.c *source/compiler/harbour.y *source/compiler/genc.c * fixed GPF (core dump) if private/public variable was initialized with a codeblock with a local parameter, e.g. PRIVATE var:={ | x | expression } * static variables cannot be initialized with a codeblock which uses a local variable, e.g. LOCAL locvar STATIC stavar:={ || locvar } Notice that Clipper is compiling it however it generates a runtime error if such codeblock is evaluated. * fixed also a bug in warning generation when function with no return value is defined 20000131-21:20 GMT+1 Viktor Szakats * include/hbextern.ch source/runner/stdalone/external.prg ! EXTERNAL CLIPPER530 put between #ifdef HB_COMPAT_53 guards. 20000131-13:30 GMT-5 David G. Holm <dholm@jsd-llc.com> * ChangeLog.005 + Renamed from ChangeLog and started a new ChangeLog * config/os2/gcc.cf * config/os2/icc.cf - Removed debug information from OS/2 builds of Harbour * doc/whatsnew.txt % Synchronized with updates that were made to the build31 branch 20000131-15:09 GMT+1 Viktor Szakats * ft_helpc.b32 ! Fixed CVS ID header. * source/debug/debugger.prg ! Some constants changed to manifest constants (SC_NONE,SC_NORMAL) + NOTE readded. * make_b40.bat + ft_helpc.b32 added. * source/rdd/dbcmd.c ! Doc formatting errors fixed. * source/tools/*.prg ! Email address separators added to some lic headers. 20000131-10:00 GMT+1 Antonio Linares <alinares@fivetech.com> * source/debug/debugger.prg + added _AltD(). Waiting for a Harbour fix to accept it as AltD() * source/rtl/tgetlist.prg + added functions: GetPreValidate(), GetPostValidate(), GetActive() + added functions: ReadFormat(), ReadKill(), ReadUpdated(), Updated() + added functions: GetDoSetKey() * source/rtl/dummy.prg - removed functions: GetPreValidate(), GetPostValidate(), GetActive() - removed functions: ReadFormat(), ReadKill(), ReadUpdated(), Updated() - removed functions: GetDoSetKey() * doc/funclist.txt * Updated 20000131-01:29 GMT+1 Viktor Szakats * source/rtl/harbinit.prg ! CLIPPER530 is declared only when HB_COMPAT_53 is defined. * source/debug/debugger.prg ! SAYs converted to DispOutAt() calls. NOTE added about this. % Unused variables removed. % Minor optimization. * tests/regress/rt_main.ch ! Date used for testing changed (for accuracy only). * source/vm/maindll.c ! Fixed CVS ID header. - source/tools/ha.lnk - Removed. * ngdoc/*.lnk * Formatting. * source/rtl/oemansi.c source/rtl/pvalue.c source/tools/troff.prg source/tools/os2.prg source/tools/rtf.prg source/tools/html.prg source/tools/ng.prg * Formatting: some newlines added, minor fixes. 20000131-00:05 GMT+1 Viktor Szakats * source/rtl/environ.c ! Fixed VERSION() for MINGW32 (it was generating a GPF). 20000130-22:41 GMT+1 Viktor Szakats * source/rtl/mlcount.c source/rtl/memoline.c source/rtl/mlpos.c ! Fixed GPF when the first passed parameter was not a string. * source/rtl/environ.c ! Fixed VERSION() reporing service pack level on NT/2000. ! Fixed minor doc formatting problem. 20000130-17:05 GMT+3 Alexander Kresin * source/pp/hbpp.c * Bug fixed, noted by Ryszard Glab 20000130-13:55 GMT+1 Ryszard Glab <rglab@imid.med.pl> *source/compiler/harbour.l * fixed support for macro variables used in FOR statement *source/vm/hvm.c * private variables created during a macro evaluation are not released after a macro evaluation. They have the function/procedure scope. 20000129-19:15 GMT+1 Viktor Szakats * bin/bld_tpl.* ! Added macro lib. ! Fix for os2 platform. * source/rtl/tget.prg - Removed #include "set.ch" since it's included by default (via std.ch) * source/rtl/Makefile source/rtl/memoline.c source/rtl/filesys.c * Some minor formatting fixes. 20000129-14:30 GMT+3 Luiz Rafael Culik <culik@sl.conex.net> *source/rtl/oemansi.c *Added documentation to HB_oemtoansi() and Hb_ansitooem() *source/rtl/strings.c *Added documentation to AT(),RAT(),ISDIGIT(),ISALPHA(),ISLOWER(),ISUPPER() 20000129-13:20 GMT+1 Ryszard Glab <rglab@imid.med.pl> *include/hbexpr.c *source/compiler/expropt.c *source/macro/macro.c * empty list expression is not allowed now - this generates syntax error: funcall( ()->expression, () ) *source/compiler/harbour.l *source/compiler/harbour.y * fixed support for STEP and TO keywords * fixed GPF (core dump) if field variable is used in a codeblock 20000129-01:55 EST Paul Tucker <ptucker@sympatico.ca> * makefile.vc + source/rtl/oemansi.c 20000128-20:15 GMT+1 Ryszard Glab <rglab@imid.med.pl> *source/macro/macro.l *source/compiler/harbour.l * any nonstandard characters (ASCII < 32 and ASCII > 127) are passed to grammar analyser instead of printing on stdout *include/hbexpr.c *source/macro/macro.c *source/compiler/expropt.c * memory is released properly when more complex expression is macro compiled eg. &( "1 + 2" ), &( ".T.:classname" ) *source/debugger/debugger.prg * added 'LOCAL nKey' to suppress warnings 20000128-20:3 GMT+3 Luiz Rafael Culik <culik@sl.conex.net> *source/rdd/dbcmd.c *source/rtl/arrays.c * Enhaced the Docs *doc/whatnew.txt * Description of the program that extract documention from source code forget the OS2 and TROFF output 20000115-20:3 GMT+3 Luiz Rafael Culik <culik@sl.conex.net> * ngdoc/ft_helpc.prg * Fixed some erros * source/tools/rtf.prg * source/tools/ng.prg * source/tools/os2.prg * source/tools/troff.prg * Fixed the aligment of text on generating the source files 20000127-12:54 GMT+1 Patrick Mast <harbour@PatrickMast.com> * doc/whatsnew.txt * updated for build 31 * include/hbver.c * Changed day in date to 27 20000126-23:59 EST Paul Tucker <ptucker@sympatico.ca> * makefile.vc + source/tools/ng.prg + source/tools/os2.prg + source/tools/html.prg + source/tools/rtf.prg + source/tools/troff.prg 20000126-21:41 GMT+1 Patrick Mast <harbour@PatrickMast.com> * include/hbver.c * Bumped build to 31 and updated date 20000126-12:50 GMT+1 Ignacio Ortiz <ignacio@fivetech.com> * source/rtl/tget.prg * Bug fixed on numeric gets with zero digits in his value 2000-01-25 16:20 GMT-5 David G. Holm <dholm@ sd-llc.com> * source/rtl/itemapi.c ! Don't check for infinity when checking for numeric overflow and using a Borland C compiler, because Borland C returns 0 for log(0), which is what is being used to set infinity. 2000-01-25 21:47 GMT+1 Antonio Linares <alinares@fivetech.com> * source/debug/debugger.prg * Partial support for editing variables. * source/rtl/tgetlist.prg * Added support for non-modal GetLists management. 20000125-10:05 GMT+2 Chen Kedem <niki@synel.co.il> * source/rtl/arrays.c - remove documentation stolen from CA-Cl*pper 5.2 NG from the following functions: ARRAY(), AADD(), ASIZE(), ATAIL(), AINS(), ADEL(), AFILL(), ASCAN() - remove $EXAMPLES$ stolen from CA-Cl*pper 5.2 NG from the following function: ACOPY(), ACLONE() + ACLONE() : add $COMPLIANCE$ note 2000-01-25 02:45 GMT+1 Antonio Linares <alinares@fivetech.com> * source/debug/debugger.prg * Support for up and down arrows on command window Still needs some fine tunning. 2000-01-24 20:15 GMT-5 David G. Holm <dholm@ sd-llc.com> * source/rtl/environ.c % Due to careless use of the CVS repository, I had to redo the following: ! Fixed bug in setting end of string for case VER_PLATFORM_WIN32_WINDOWS: ! Put Windows support for MingW32 back in after accidentally removing it. 20000123-17:35 GMT+1 Ignacio Ortiz <ignacio@fivetech.com> * source/rtl/tget.prg * Improved: cursor flickering removed 2000-01-23 16:30 GMT+1 Antonio Linares <alinares@fivetech.com> * source/debug/debugger.prg * Improved debugger. * source/rtl/tgetlist.prg * Improved METHOD ShowScoreBoard. * source/vm/hvm.c + New public BOOL variable hb_DebuggerIsWorking 20000124-14:05 GMT+1 Ryszard Glab <rglab@imid.med.pl> *source/rtl/memoline.c * fixed 'max' to 'HB_MAX_' *source/rtl/mlpos.c * added RCS ID *source/rtl/Makefile * added mlpos.c file 20000124-13:30 GMT+1 Ryszard Glab <rglab@imid.med.pl> *source/compiler/harbour.y *source/macro/macro.c * fixed support for the syntax: DO &var DO &( expression_list ) 2000-01-23 22:03 GMT+1 Antonio Linares <alinares@fivetech.com> * source/debug/debugger.prg * Improved debugger View Sets painting. 2000-01-23 10:53 GMT+1 Antonio Linares <alinares@fivetech.com> * source/rtl/tbrowse.prg * The newly retrieved data is passed as an argument to ColorBlock (accordingly to Clipper ColorBlock documentation) * source/debug/debugger.prg * Improved debugger: View Sets is partially working. 2000-01-22 20:03 GMT+1 Antonio Linares <alinares@fivetech.com> * source/debug/debugger.prg * Improved debugger: Command window is starting working. 2000-01-22 13:40 GMT+3 Luiz Rafael Culik <culik@sl.conex.net> * ngdoc/ft_helpc.prg *Added support for OS2 IPF source code +source/tools/os2.prg Support class for FT_HELPC generate OS2 IPF files 2000-01-22 10:22 GMT+1 Patrick Mast <harbour@PatrickMast.com> * source/rtl/environ.c (From Jose Lalin) ! Getenv accepts a default value to return when the envvar is not found ! Updated function doc 2000-01-21 14:05 GMT-5 David G. Holm <dholm@ sd-llc.com> * source/rtl/environ.c ! Fixed bug in setting end of string for case VER_PLATFORM_WIN32_WINDOWS: ! Put Windows support for MingW32 back in after accidentally removing it. 20000121-17:57 GMT+3 Alexander Kresin * source/pp/hbpp.c * now can be used truncated preprocessor directives ( #defi, #inclu, ... ) 20000121-12:50 GMT+1 Ignacio Ortiz <ignacio@fivetech.com> + source/rtl/mlpos.c * Added function MlPos() * source/rtl/memoline.c * Fixed little bug on empty lines * source/rtl/tget.prg * Multiple enhancements, class Tget is completed * source/rtl/tgetlist.prg * Fixed bug on date management reported by Kwon OhChul * makefile.b32 * mlpos.c included (Please update other make files) 20000121-09:40 GMT+1 Antonio Linares <alinares@fivetech.com> * source/debug/debugger.com * Improved monitored variables containt support 2000-01-20 14:15 GMT-5 David G. Holm <dholm@ sd-llc.com> * source/rtl/dates.c ! Corrected CTOD() to include 0 as a year subject to SET EPOCH (the range had been accidentally set to 1 through 99 instead of 0 through 99). 20000119-21:21 GMT+3 Alexander Kresin * source/pp/hbpp.c * Few bugs fixed, reported by Matteo Baccan and Dave Pearson 20000119-13:05 GMT+1 Ryszard Glab <rglab@imid.med.pl> *source/macro/macro.y * fixed GPF when IIF()/IF() was used in macro expression * support for TYPE() function was added *include/macro.h *source/macro/macro.c * support for TYPE() function was added * memory allocated for macro evaluation is properly released when a runtime error occurs during evaluation *source/rtl/type.c * full implementation of TYPE() function was added *include/extend.h * new declaration for hb_macroGetType - called from TYPE() * new declaration for hb_valtypeGet shared by VALTYPE and TYPE *source/rtl/valtype.c * new function hb_valtypeGet() used internally in Harbour *source/rtl/errorapi.c *include/errorapi.h * new structure HB_ERROR_INFO for catching errors at C level * new function hb_errorHandler() that sets/gets low-level error handler. *include/ctoharb.h *source/vm/hvm.c * added HB_ENDPROC_REQUEST and hb_vmRequestEndProc() which are used to request immediately return from currently evaluated pcode buffer. This is used to stop processing of macro compiled code. *source/rtl/itemapi.c * if parameter passed to hb_itemNew is not NULL then it is used to initialize the new item (in other words it creates a copy of passed item) *source/rdd/rddcdx/dbfcdx1.c * The macro structure is now self deallocating if hb_macroDelete() is called - it must not call hb_xfree() after hb_macroDelete() was used. *doc/funclist.txt * marked TYPE() as Ready :) 2000-01-19 08:28 GMT+1 Antonio Linares <alinares@fivetech.com> * source/debug/debugger.prg + fixed and improved to use Class TDbMenuItem METHOD Display everytime a menuitem is displayed. * source/compiler/genc.c ! fixed a new bug that was providing wrong filenames to the debugger. 2000-01-18 22:20 GMT+3 Luiz Rafael Culik <culik@sl.conex.net> *ngdoc/ft_helpc.prg Enhaced. Now Generate Norton Guide Source Code and TROFF Files *source/tools/rtf.prg Document the Files and Source code Formated *source/tools/html.prg Document the Files and Source code Formated +ngdoc/harbour.lnk Link file for Norton Guide. ha.lnk is needed for the other output files +ngdoc/harbour.rsp List of files to FT_helpc need to process +ft_helpc.b32 Make file for FT_HELPC for Borland +source/tools/ng.prg Support class for FT_HELPC generate Norton Guide Source code +source/tools/troff.prg Support class for FT_HELPC generate TROFF files 2000-01-17 18:55 GMT-5 David G. Holm <dholm@ sd-llc.com> * source/environ.c ! Corrected manifest constant _Windows to be _WINDOWS_ 2000-01-17 15:30 GMT-5 David G. Holm <dholm@ sd-llc.com> * source/environ.c ! Fixed problems in new Windows build version logic. 20000117-22:09 GMT+3 Alexander Kresin * source/pp/hbpp.c * Few bugs fixed, reported by Matteo Baccan * contrib/rdd_ads/ads.ch * contrib/rdd_ads/ads1.c * contrib/rdd_ads/adsfunc.c * contrib/rdd_ads/rddads.h Bug fixed in SET INDEX TO ... implementation New commands added 20000117-16:05 GMT+1 Ryszard Glab <rglab@imid.med.pl> *source/rdd/dbcmd.c * fixed GPF in ORDBAGEXT() 20000117-13:30 GMT+1 Ryszard Glab <rglab@imid.med.pl> *source/rtl/type.c * added hb_retc( "U" ) for initial implementation of TYPE() function (due to a very popular demand :) 20000117-12:25 GMT+1 Ryszard Glab <rglab@imid.med.pl> *source/rtl/achoice.prg *source/rtl/input.prg * macro related code are active now *source/compiler/harbour.y * function that initializes static variables is generated properly when ANNOUNCE statement is used 20000116-20:30 GMT+1 Ryszard Glab <rglab@imid.med.pl> *source/rtl/harbinit.prg * replaced ANNOUNCEd CLIPPER5xx with procedure definition 20000116-15:35 GMT+1 Ryszard Glab <rglab@imid.med.pl> *include/hberrors.h * added WARN_DUPL_ANNOUNCE * added ERR_FUNC_ANNOUNCE *include/compiler.h * added declaration of hb_compAnnounce( char * ) which creates an ANNOUNCEd procedure *source/compiler/hbgenerr.c * added warning when redundant ANNOUNCE statement is used * added error message when ANNUNCEd procedure is declared STATIC *source/compiler/harbour.y *source/compiler/harbour.l *source/compiler/harbour.c * fixed support for ANNOUNCE statement (static variables are no longer bound to ANNOUNCEd procedure) *source/pp/table.c * removed fixed translation of ANNOUNCE statement *source/compiler/cmdcheck.c * restored correct support for '-w' compiler switch 20000115-20:3 GMT+3 Luiz Rafael Culik <culik@sl.conex.net> *source/rtl/arrays.c *source/rtl/type.c *source/rtl/text.prg *source/rtl/inkey.c *source/rtl/setkey.prg *source/rtl/proc.c *source/rtl/adir.prg *source/rtl/dircmd.prg *source/rtl/asort.prg *source/rtl/achoice.prg *source/rtl/alert.prg *source/rtl/Objfunc.prg *source/rdd/dbcmd.c *Fixed some seealso's reference that was missing the comma separator *Source/rtl/strings.c *Added document to : SUBSTR(),LEFT(),RIGHT(),LTRIM functions *Source/rtl/Environ.c *Added document to : VERSION() and GETENV() function *ngdoc/ft_helpc.prg *Fixed a bug on generating see alsos for HTML output *Source/tools/rtf.prg *All topics now start with the 'IDH_' prefix 20000115-19:35 GMT+1 Ryszard Glab <rglab@imid.med.pl> *source/macro/macro.l * corrected recognition of variable names which ends with numbers e.g. X1, A123 20000115-15:45 GMT+1 Ryszard Glab <rglab@imid.med.pl> *source/compiler/hbgenerr.c * added missing comma separator in error messages list 20000115-15:15 GMT+1 Ryszard Glab <rglab@imid.med.pl> *include/pcode.h * added new pcodes: HB_P_PUSHALIASEDVAR HB_P_POPALIASEDVAR HB_P_MPUSHALIASEDVAR HB_P_MPOPALIASEDVAR NOTE: All sources HAVE TO be recompiled!!! *include/macro.h * added new constant: HB_MACRO_GEN_PUSH 4 /* generate PUSH pcodes */ HB_MACRO_GEN_POP 8 /* generate POP pcodes */ HB_MACRO_GEN_ALIASED 16 /* force aliased variable */ *include/extend.h * added declaration of hb_macroPopAliasedValue hb_macroPushAliasedValue *source/macro/macro.c *source/compiler/harbour.c * corrected handling of aliased variables in case when an alias is determined at runtime (the field variable was assumed previously but now the virtual machine checks the value of passed alias and used either a memvar or a field) for example: alias := "M" ? ( alias )->var The value of memvar named "var" should be printed *include/hbexpr.c *source/compiler/expropt.c * finished support for aliased macro expressions *source/macro/macro.c * finished support for aliased macro expressions *source/vm/hvm.c *source/compiler/genc.c *source/compiler/genhrb.c *source/compiler/genjava.c * added support for new pcodes: HB_P_PUSHALIASEDVAR HB_P_POPALIASEDVAR HB_P_MPUSHALIASEDVAR HB_P_MPOPALIASEDVAR *source/compiler/harbour.y * removed 'macro support' from the TODO list :) 2000-01-14 12:20 GMT-5 David G. Holm <dholm@ sd-llc.com> * ngdoc/ft_helpc.prg + Updated file provided by Luiz Rafael Culik 2000-01-13 19:45 GMT-5 David G. Holm <dholm@jsd-llc.com> * ngdoc/bldfthe.bat + Updated file provided by Luiz Rafael Culik * ngdoc/ft_helpc.prg + Updated file provided by Luiz Rafael Culik * ngdoc/ha.lnk + Updated file provided by Luiz Rafael Culik * source/rtl/license.prg + Updated file provided by Luiz Rafael Culik * source/rtl/readme.prg + Updated file provided by Luiz Rafael Culik * source/tools/rtf.prg + Updated file provided by Luiz Rafael Culik * source/tools/html.prg + Updated file provided by Luiz Rafael Culik 2000-01-10 16:10 GMT-5 David G. Holm <dholm@jsd-llc.com> * ngdoc/ft_helpc.prg ! Renamed to lower case for Linux compatibility. * ngdoc/ha.lnk ! Renamed to lower case for Linux compatibility. * source/tools/Makefile + Added rtf.prg to list of PRG files. * source/tools/rtf.prg ! Renamed to lower case for Linux compatibility. 2000-01-10 15:50 GMT-5 David G. Holm <dholm@jsd-llc.com> * ngdoc/ft_helpc.prg ! Renamed to lower case for Linux compatibility. + Added CVS Id * ngdoc/ha.lnk ! Renamed to lower case for Linux compatibility. ! Changed first menu from 'A-F' to 'A-D' * source/compiler/hbusage.c ! Corrected description of -10 command line option to refer to the number of significant digits (per Dave Pearson). * source/rtl/inkey.c + Added blank line between documentation for INKEY() parameters * source/tools/rtf.prg ! Renamed to lower case for Linux compatibility. + Added CVS Id 20000109-14:25 GMT+1 Ryszard Glab <rglab@imid.med.pl> *include/hbexpr.c *source/compiler/expropt.c *source/compiler/harbour.y * fixed STATIC var1[0], var2[3,4] initialization failure 2000-01-07 GMT +3 Luiz Rafael Culik <Culik@sl.conex.net> * gt.b32 ! Added RTF.prg * source/rdd/dbcmd.c * source/rtl/achoice.prg * source/rtl/adir.prg * source/rtl/alert.prg * source/rtl/asort.prg * source/rtl/browdb.prg * source/rtl/browse.prg * source/rtl/dbstrux.prg * source/rtl/debugger.prg * source/rtl/devoutp.prg * source/rtl/dircmd.prg * source/rtl/errorsys.prg * source/rtl/fieldbl.prg * source/rtl/fileread.prg * source/rtl/harbinit.prg * source/rtl/input.prg * source/rtl/memvarbl.prg * source/rtl/menuto.prg * source/rtl/objfunc.prg * source/rtl/readvar.prg * source/rtl/readkey.prg * source/rtl/setkey.prg * source/rtl/setta.prg * source/rtl/stringp.prg * source/rtl/wait.prg * source/rtl/xsavescr.prg * source/rtl/arrays.c * source/rtl/word.c * source/rtl/type.c * source/rtl/valtype.c * source/rtl/tone.c * source/rtl/strings.c * source/rtl/proc.c * source/rtl/mtran.c * source/rtl/memvars.c * source/rtl/len.c * source/rtl/inkey.c * source/rtl/hardcr.c * source/rtl/Filesys.c * source/rtl/empty.c * source/rtl/descend.c +Removed external reference for see also +Formated see also between commas + ngdoc/FT_helpc.prg Source code for FT_HELPC document source Extriper + ngdoc/ha.lnk List of Functions categories to the FT_HELPC + bldfthe.bat Batch file to create the exe 2000-01-03 18:25 EDT David G. Holm <dholm@jsd-llc.com> * source/rtl/inkey.c ! Enable Unix-compatible keyboard input even when not using ncurses or slang. 20000103-19:48 GMT+1 Ryszard Glab <rglab@imid.med.pl> *include/expropt.h *include/hbexpr.c * renamed: hb_compExprNewSymbol() -> hb_compExprNewFunName() * added new expression type: HB_ET_RTVAR and hb_compExprNewRTVar() for PUBLIC and PRIVATE variable declarations *source/compiler/expropt.c *source/compiler/harbour.c *source/compiler/harbour.y *source/compiler/harbour.l * added support for macro variables in PUBLIC and PRIVATE declarations PRIVATE &var, &var.end * optimization of PUBLIC/PRIVATE variables creation (there was a single call __MVPUBLIC/__MVPRIVATE function for every variable, there is a single call for a single statement now), for example: PRIVATE var1, var2, var3 // 3 calls previously - only one call now *source/macro/macro.y * renamed: hb_compExprNewSymbol() -> hb_compExprNewFunName() * fixed handling of &var.text syntax *source/macro/macro.c * fixed handling of &var.text syntax * handling of text substitution is now Clipper compatible - previously only substituted value was scanned for nested macro operator - the whole text is rescanned now, for example: PRIVATE a:='&', b:='b' ? &a.b will print a value of variable 'b' now instead of a generation of a syntax error. *include/extend.h * added declaration for hb_macroTextSubst() * added declaration for hb_macroIsIdent() 20000102-14:27 EST Paul Tucker <ptucker@sympatico.ca> * source/rtl/environ.c * remove Borland check on define of VER_PLATFORM_WIN32_CE * source/rtl/filesys.c * removed duplicated comment lines. (was missing /* anyway) * source/rdd/dbcmd.c * added missing close comment. 20000102-17:10:00 GMT+3 Luiz Rafael Culik <culik@sl.conex.net> * source/rtl/browdb.prg * source/rtl/text.prg * source/rtl/browse.prg * source/rtl/dbedit.prg * source/rtl/devoutp.prg * source/rtl/dircmd.prg * source/rtl/menuto.prg * source/rtl/xsavescr.prg * source/rtl/setkey.prg * source/rtl/inkey.c +Fixed some see also references for the Norton Guide +Added documentatio to KEYBOARD and SET FUNCTION and SET KEY COMMAND * source/rtl/fileysys.c * source/rtl/array.c + Updated docs for FCLOSE() FCREATE() FERASE() FERROR() ACLONE() ACOPY() AEVAL() * source/rtl/readkey.prg * source/rtl/readvar.prg * source/rtl/setfunc.prg +Added the documentation to this functions since was accidentaly deleted 20000101-22:50 GMT+3 Luiz Rafael Culik <culik@sl.conex.net> * doc/funclist.txt +Update some function status * source/rdd/dbcmd.c +Added to missing documentation of __dbzap() and OrdCondSet() * source/rtl/FileSys.c + doc for FOPEN() + doc for FCLOSE() + doc for FWRITE() + doc for FSEEK() + doc for FREAD() + doc for FILE() + doc for FREADSTR() + doc for FRENAME() + doc for FERROR() + doc for RENAME + doc for ERASE 20000101-07:18 GMT+3 Luiz Rafael Culik <culik@sl.conex.net> * source/rdd/dbcmd.c * source/rtl/alert.prg * source/rtl/browdb.prg * source/rtl/input.prg * source/rtl/asort.prg * source/rtl/text.prg * source/rtl/browse.prg * source/rtl/dbedit.prg * source/rtl/devoutp.prg * source/rtl/dircmd.prg * source/rtl/dummy.prg * source/rtl/errorsys.prg * source/rtl/fieldbl.prg * source/rtl/harbinit.prg * source/rtl/menuto.prg * source/rtl/xsavescr.prg * source/rtl/memvarbl.prg * source/rtl/objfunc.prg * source/rtl/readkey.prg * source/rtl/readvar.prg * source/rtl/setfunc.prg * source/rtl/setkey.prg * source/rtl/setta.prg * source/rtl/tbcolumn.prg * source/rtl/tbrowse.prg * source/rtl/tclass.prg * source/rtl/terror.prg * source/rtl/tget.prg * source/rtl/tgetlist.prg * source/rtl/wait.prg * source/rtl/adir.prg * source/rtl/achoice.prg * source/rtl/arrays.c * source/rtl/break.c * source/rtl/codebloc.c * source/rtl/console.c * source/rtl/descend.c * source/rtl/dir.c * source/rtl/do.c * source/rtl/empty.c * source/rtl/hardcr.c * source/rtl/initexit.c * source/rtl/inkey.c * source/rtl/len.c * source/rtl/memvars.c * source/rtl/mtran.c * source/rtl/natmsg.c * source/rtl/pcount.c * source/rtl/pvalue.c * source/rtl/set.c * source/rtl/tone.c * source/rtl/type.c * source/rtl/valtype.c * source/rtl/word.c * source/rtl/xhelp.c * source/tools/nconvert.prg * source/tools/io.c Fixed the documentation to make the ng linker happy and added docs for the arrays.c and dbcmd.c 20000101-00:00 GMT+1 Patrick Mast <Harbour@PatrickMast.com> - doc/harbour.ng The NG files will be downloadable via the website. 19991231-13:00 GMT+1 Ryszard Glab <rglab@imid.med.pl> *source/rtl/memvars.c * new function hb_memvarGetStrValuePtr() that return a value of passed variable if this variable exists and if it contains a string value (the function is called from macro text substitution) *include/extend.h * added declaration for hb_memvarGetStrValuePtr() * added declaration of hb_macroTextValue() *source/vm/hvm.c * added code to handle macro text substitution "text ¯o" *source/macro/macro.c * added code to handle macro text substitution 19991231-06:15 GMT+1 Antonio Linares <alinares@fivetech.com> * source/rtl/gt/gtwin.c * fix for a Win API wrong parameter call detected using NuMega BoundsChecker 19991230-19:28 GMT+1 Patrick Mast <Harbour@PatrickMast.com> + doc/harbour.ng (Luiz Rafael Culik) 19991230-08:22 GMT+2 Chen Kedem <niki@synel.co.il> * source/rtl/text.prg + doc for __TextSave() + doc for __TextRestore() * source/rtl/xsavescr.prg + doc for __XSaveScreen() + doc for __XRestScreen() * doc/funclist.txt * BROWSE() marked as S (not yet ready, missing EDIT mode) 1999-12-29 19:00 EDT David G. Holm <dholm@jsd-llc.com> * doc/gmake.txt + Added mention of -DHARBOUR_USE_CRS_GTAPI and -DHARBOUR_USE_SLN_GTAPI for os2/gcc and linux/gcc. * tests/boxtest.prg ! Changed function name from test() to main(), because of limitations with some versions of Harbour, such as MingW32. * tests/Makefile ! Moved tstprag.prg from PRG_SOURCES to BAD_PRG_SOURCES. * tests/readhrb.prg ! Added error checking after attempting to open the source HRB file, because otherwise the program attempts to display a very large random number of bytes from a file handle that doesn't exist, resulting in what appears to be an infinite loop. * tests/tstprag.prg ! Added // NOTEST as first line in this test program that won't compile. 19991227-08:30 GMT+2 Chen Kedem <niki@synel.co.il> * source/rtl/readvar.prg + doc for READVAR() * source/rtl/setfunc.prg + doc for __SetFunction() 19991227-00:36 GMT+1 Antonio Linares <alinares@fivetech.com> * Updated tests/bld_b32w.bat 1999122605:51 GMT+1 Antonio Linares <alinares@fivetech.com> * Updated makefile.b32 + Added hbfsapi and hbtrace modules 19991223-16:35 GMT+1 Ryszard Glab <rglab@imid.med.pl> *include/hbexpr.c *source/compiler/expropt.c *source/compiler/harbour.y * fixed compiler parse error on aliased macro expressions M->&( expression ) 19991222-18:20 GMT+1 Ryszard Glab <rglab@imid.med.pl> *include/hbexpr.c *source/compiler/expropt.c * fixed generation of pcodes for aliased expressions used in a statement context (the previously selected workarea is popped from the eval stack instead of swapping) 19991220-18:42 GMT+1 Chen Kedem <niki@synel.co.il> * source/rtl/menuto.prg + doc for __AtPrompt() + doc for __MenuTo() I'm looking at v1.14 and the following are wrong: ! __AtPrompt() : nCol <--> nRow (switch names, not places) (Uploaded by Viktor Szakats) Mon Dec 20 13:49:01 1999 Gonzalo A. Diethelm <Gonzalo.Diethelm@jda.cl> * source/rdd/dbcmd.c: * source/rtl/classes.c: Fixed two minor warnings. 19991219-14:35 GMT+1 Ryszard Glab <rglab@imid.med.pl> *source/compiler/harbour.l * fixed recognition of 'DO &var WITH' syntax 19991219-15:55 GMT+3 Alexander Kresin * source/pp/hbpp.c * Bug fixed, reported by Viktor Szakats 19991218-18:25 GMT+1 Ryszard Glab <rglab@imid.med.pl> *include/hbexpr.c * static variables can be initialised with arrays that contains parenthesized epressions e.g. STATIC a:={ (1) } * fixed code that handles aliased macro expressions e.g. FIELD->&var1 := var2 19991218-10:35 GMT+1 Viktor Szakats * source/rtl/objfunc.prg source/rtl/readkey.prg + Added documentation by Chen Kedem. * source/compiler/cmdcheck.c ! Fixed handling of the /q0 switch. (Provided by Jose) 19991217-16:40 EDT David G. Holm <dholm@jsd-llc.com> * config/os2/icc.cf + I added the /NOIGNORECASE option to both the librarian and the linker, because C++ can't tell the difference between 'int hb_pcount( void )' and 'HARBOUR HB_PCOUNT( void )' unless a case-sensitive link is used. This requires rebuilding all of Harbour if you are using OS/2 and the IBM C++ compiler (i.e., make -r clean). 19991216-15:50 GMT+1 Bruno Cantero <bruno@issnet.net> * include/extend.h + Added a new item type: IT_POINTER ( USHORT ) 0x0001 + Added two defines: #define IS_POINTER( p ) IS_OF_TYPE( p, IT_POINTER ) #define ISPOINTER( n ) ( hb_param( n, IT_POINTER ) != NULL ) + Added two prototypes: extern HB_MACRO_PTR hb_macroCompile( char * ) extern void hb_macroDelete( HB_MACRO_PTR ) * include/itemapi.h + Added two prototypes for manipulate items (IT_POINTER): extern void * hb_itemGetPtr( PHB_ITEM ); extern PHB_ITEM hb_itemPutPtr( PHB_ITEM pItem, void * pValue ) * source/rtl/itemapi.c + Added two functions for manipulate items (IT_POINTER): void * hb_itemGetPtr( PHB_ITEM ); PHB_ITEM hb_itemPutPtr( PHB_ITEM pItem, void * pValue ) * source/macro.c * Removed static declaration from static void hb_macroDelete( HB_MACRO_PTR ) * include/rddapi.h source/rdd/dbcmd.c source/rdd/dbf1.c source/rdd/dbfcdx/dbfcdx1.c + Added code to OrdCreate() function. 19991215-19:46 GMT+1 Antonio Linares <alinares@fivetech.com> * source/rtl/classes.c * Fixed inheritance of error handlers 19991215-12:32 GMT+1 Antonio Linares <alinares@fivetech.com> * source/rtl/classes.c + Added a new function __GetMessage() to retrieve the message name from a Class error handler. * tests/testcls.prg * enhanced showing the use of __GetMessge() 19991215-12:09 GMT+1 Antonio Linares <alinares@fivetech.com> + added common.b32 provided by Jose Lalin * tests/bld_b32.bat a %2 extra parameter is accepted. i.e.: bld_b32 hello /p 19991215-13:35 GMT+3 Alexander Kresin * source/pp/hbpp.c * Bug fixed, reported by Viktor Szakats 19991215-09:34 GMT+1 Antonio Linares <alinares@fivetech.com> * include/hbclass.ch * ERROR HANDLER and ON ERROR METHODs defined (they are equivalent) * include/hboo.ch * new define HB_OO_ONERROR * source/rtl/tclass.prg * added new DATA nOnError * added new METHOD SetOnError() * source/rtl/classes.c * added new struct CLASS member pFunError * modified hb_objGetMethod() to return pFunError if defined and not msg found * modified HB___CLSADDMSG() to support defined Class error handler if defined + tests/testcls.prg * new sample testing first ON ERROR working prototype 19991214-14:55 EDT David G. Holm <dholm@jsd-llc.com> * config/dos/dir.cf * config/linux/dir.cf * config/os2/dir.cf * config/w32/dir.cf + Don't set up a directory rule if only compiling one module (for (example, when using 'make -r PM=rtfclass' in the tests directory), because that module should be in the current directory and there is no need to compile some module with the same name in a subdirectory. * tests/regress/Makefile + Added a default setting for HB_MAIN = std, because the IBM C++ linker can't pull the 'main' module out of a library file. 19991212-13:45 EST Paul Tucker <ptucker@sympatico.ca> * tests/bld_vc.bat + ..\lib\vc\macro.lib 19991212-13:25 EST Paul Tucker <ptucker@sympatico.ca> * makefile.vc + source/macro/* 19991212-16:28 GMT+1 Viktor Szakats * source/runner/stdalone/Makefile ! Fixed lib order. * tests/regress/rt_hvm.prg + Added some tests, commented out for Harbour. * *.b32 make_b*.bat tests/bld_b*.bat ! New versions by Jose Lalin. 19991212-13:55 GMT+1 Ryszard Glab <rglab@imid.med.pl> *source/compiler/harbour.c *source/macro/macro.c * removed duplicated check if a reserved name was used *source/macro/macro.c *include/hbexpr.c *include/compiler.h * removed 'IsFunction' parameter of hb_compGenPushSymbol that is no longer needed. 'hb_compGenPushSymbol()' should push any symbol without checking, the check for reserved function name is done in hb_compGenPushFunCall() *source/compiler/harbour.l *source/macro/macro.l * removed duplicated check if a reserved name was used * restored support for ¯o[ index ] syntax *include/extend.h * added missing declaration of hb_macroRun() function * moved here the definition of HB_MACRO structure *include/macro.h * the definition of HB_MACRO structure moved to extend.h *include/expropt.h * the definition of HB_CBVAR structure moved to extend.h *source/vm/hvm.c *source/macro/macro.c *include/extend.h * added partial support for macro function call &var() or DO &var (partial because a simple function name is allowed only - there is no support for nested macros and complex macros) *source/macro.y * added #undef __GNUC__ as a workaround of bison.simple bug in yyparse() declaration 19991211-15:55 GMT+1 Ryszard Glab <rglab@imid.med.pl> *include/hbexpr.c * this is expropt.c moved from source/compiler and renamed *source/compiler/expropt.c * dummy file that includes hbexpr.c file *source/macro/macro.c * includes "hbexpr.c" now instead of "../source/compiler/expropt.c" * added hb_macroCompile( char * ) function for compilation of passed string. It can be used together with hb_macroRun() in database index key evaluation * added support for macro-compiled codeblocks * added tracing headers *source/macro/macro.y *source/vm/hvm.c *source/rtl/codebloc.c * added support for macro-compiled codeblocks * restored %pure_parser option :) *source/macro/macro.l * added tracing headers *include/extend.h * changed declaration of hb_macroGetValue/hb_macroSetValue - there is no need to pass a local symbol table pointer - macro compiled code uses dynamic symbol table only. 19991211-14:51 GMT+1 Viktor Szakats * source/compiler/harbour.y + Missing #include <malloc.h> added. * source/vm/hvm.c source/vm/cmdarg.c include/extend.h + Added //BUILD internal command line switch. * Internal command line switch check moved to cmdarg.c from hvm.c. Contribution by Jose Lalin <dezac@corevia.com> * source/rtl/harbinit.prg + Added documentation by Chen Kedem. * source/compiler/cmdcheck.c * Some functions put under a separate copyright holder (unkown BTW). * source/common/reserved.c * Reapplied some minor changes. ( I could not test any of these, since I cannot build Harbour right now ) 19991211-12:47 GMT+1 Antonio Linares <alinares@fivetech.com> * updated makefile.b32 for reserved.c file. 19991211-09:17 GMT+1 Antonio Linares <alinares@fivetech.com> + new source/vm/maindll.c (entry point for Windows DLLs) * hb_vmInit() call uses a FALSE parameter. * source/vm/hvm.c * hb_vmInit( BOOL bStartMainProc ) modification * source/vm/mainstd.c * hb_vmInit() call uses a TRUE parameter. * source/vm/mainwin.c * hb_vmInit() call uses a TRUE parameter. * updated makefile.b32 for maindll.c file. * include/ctoharb.h * modified hb_vmInit() prototype. Tested. Seems to work fine. 19991209-23:04 GMT+1 Antonio Linares <alinares@fivetech.com> * updated makefile.b32 * updated hbclass.ch (first step towards classes missing messages routing method) 19991209-17:10 GMT+1 Ryszard Glab <rglab@imid.med.pl> *config/rules.cf * YACC_FLAGS and LEX_FLAGS can be set in local Makefile - this local settings will be added to the global ones * include/compiler.h * include/expropt.h * moved declarations related to expression optimizer into expropt.h which is used also at runtime library * added support for macro generation *source/compiler/harbour.c * removed some functions that were no longer used * fixed recognition of static and memvar variables for which function-wide declaration owerwrites file-wide declaration e.g. STATIC myvar FUNCTION MyTest() MEMVAR myvar *source/compiler/genc.c *source/compiler/genhrb.c *source/compiler/genjava.c * updated to support new macro related opcodes * include/hberrors.h * source/compiler/hbgenerr.c * added new errors ERR_BAD_MACRO (declared variable in macro) ERR_INVALID_SEND (macro operator with send operator) *source/compiler/harbour.l * '.' character is correctly passed to grammar analyzer * moved here all rules for a macro variable use recognition *source/common/Makefile *source/common/reserved.c * file with function and date used to check for reserved functions name NOTE: All non GNU-Make scripts should be updated! * include/ctoharb.h * added declaration of hb_stackPop() function *source/vm/hvm.c * changed visibility of hb_stackPop() function (static -> global) * added code related to macro generation and evaluation *source/macro/ *source/macro/macro.c *source/macro/macro.l *source/macro/macro.y *source/macro/Makefile *include/macro.h * new files used for macro generation and evaluation * macro compiler supports now: + macro variables: &var1 := &var2 * not supported yet (there is a proper pcode generated only - there are no actions in the virtual machine) - text substitution: "text ¯o" - function calls: ¯o() - aliased macro variables: ¯o->var and alias->&var - macro-compiled codeblocks NOTE: All non GNU-Make scripts should be updated! NOTE: source/macro/macro.c file includes source/compiler/expropt.c I didn't found other method of reusing the expropt.c. Unfortunately the code in expropt.c differs a little if used from macro compiler (it uses a local variable that holds the compilation state instead of global variables) *source/compiler/expropt.c * added support for macro pcode generation and macro compilation NOTE: this file is included by macro.c *include/pcode.h * added pcodes used in macro generation and macro evaluation *source/runner/stdalone/Makefile *tests/Makefile *tests/regress/Makefile *samples/cccppc/Makefile *samples/guestbk/Makefile *samples/hscript/Makefile *samples/misc/Makefile *samples/pe/Makefile * 'macro' library added *source/compiler/cmdcheck.c * replaced strupr with hb_strupr NOTE: All PRG sources HAVE TO be recompiled!!! NOTE: Add macro.lib to all non-GNU make scripts or batch files. 19991209-01:05 GMT+1 Viktor Szakats * source/compiler/* include/compiler.h + Additional function renaming (prefixing with hb_comp), some functions moved to other files. Declarations fixed, some static vars prefixed with s_. Some functions made static, some declaration moved to compiler.h. hb_Chk*() -> hb_compChk*() Print*() -> hb_compPrint*() Gen*() -> hb_Gen*() PCODE_CHUNK -> HB_PCODE_CHUNK harbour_main() -> hb_compYACCMain() Include() -> hb_compInclude() hb_compCheckPaths() -> Moved to cmdcheck.c AddSearchPath() - Moved to cmdcheck.c and made static. etc... 19991208-18:06 GMT+1 Viktor Szakats * bin/bld_tpl.bat bin/bld_tpl.cmd ! common lib moved to the end of the command-line. * tests/db_brows.prg + @ CLEAR TO uncommented. * source/rtl/errorsys.prg % Some optimizations made. * source/compiler/Makefile * Updated for compiler source split. 19991208-18:06 GMT+1 Jose Lalin <dezac@corevia.com> * include/compiler.h + typedef enum LANGUAGES + source/compiler/hbusage.c + void PrintUsage() + void PrintCredits() + New function added void PrintLogo() ! Typo at www.harbour-project.com changed to www.harbour-project.org + source/compiler/hbpcode.c + void hb_compGenPCode1() + void hb_compGenPCode3() + void hb_compGenPCodeN() + source/compiler/hbfunchk.c + struct FUNCINFO -> HB_FUNCINFO + static FUNCINFO _StdFun -> hb_StdFunc[] + void hb_compFunCallCheck() Added a #if defined( HARBOUR_STRICT_CLIPPER_COMPATIBILITY ) to use the Cl*pper way of showing errors or the Harbour's one. ! source/compiler/harbour.c - Moved PackDateTime() to hbcmdchk.c - Removed SwitchCmp() - Errors/Warnings tables moved to hbgenerr.c - hb_compGenError/Warning() moved to hbgenerr.c - moved all HB_EXPR_PTR hb_compError...() and HB_EXPR_PTR hb_compWarn...() to hbgenerr.c ! Changed prototypes of Print...() functions to extern + Some blocks changed into new functions: + hb_compInitVars() + hb_compGenOutput() + hb_compCheckPaths(); + hb_compOutputFile(); + Added prototypes for the new functions ! Some local variables made global: ! s_pOutPath -> hb_comp_pOutPath ! s_bCredits -> hb_comp_bCredits ! s_bLogo -> hb_comp_bLogo ! s_bSyntaxCheckOnly -> hb_comp_bSyntaxCheckOnly ! s_iLanguage -> hb_comp_iLanguage This change make them visible to the new module hbcmdchk.c and pragma directive. ! Minor formatting ! Some typos fixed + Optimized two functions: % hb_compGenPushLogical() and % hb_compGenPushFunCall (NOTE: Check them, please) + source/compiler/hbcmdchk.c + Compiler command line checking + hb_ChkCompilerSwitch() + hb_ChkEnvironVar() + hb_ChkCompileFileName() + New HARBOURCMD/CLIPPERCMD environment support + source/compiler/hbgenerr.c + char * hb_comp_szErrors[] + char * hb_comp_szWarnings[] + void hb_compGenError() void hb_compGenWarning() + Added all HB_EXPR_PTR hb_compError...() functions + Added all HB_EXPR_PTR hb_compWarn...() functions * makefile.b32 + source/compiler/cmdcheck.c + source/compiler/hbfunchk.c + source/compiler/hbgenerr.c + source/compiler/hbpcode.c + source/compiler/hbusage.c ! WARNING ! Update other makefiles and rebuild all (Uploaded by Viktor Szakats) 19991208-01:59 GMT+1 Viktor Szakats * source/rtl/arrays.c + Added C53 compatible error message to ASIZE() ! Fixed a bug in ACOPY() which was also fixed in CA-Cl*pper 5.3a, this was previously implemented then removed as STRICT mode. Note that there's still a small anomaly left in ACOPY(). * tests/regress/rt_array.prg ! Fixed the expected result for ASIZE() (w/o param) * Changed expected results for some ACOPY() tests. * source/rtl/errorsys.prg + EG_OPEN and EG_APPENDLOCK errors are handled in the Clipper way. * source/rtl/errorsys.prg + ERRORSYS() documentation by Chen Kedem added * source/rtl/fieldbl.prg + FIELD*BLOCK() documentation by Chen Kedem added 19991207-20:25 GMT+3 Alexander Kresin * source/pp/hbpp.c * some changes, related to '@ ... clear to ...' problem Tue Dec 07 12:42:30 1999 Gonzalo A. Diethelm <Gonzalo.Diethelm@jda.cl> * source/rdd/dbcmd.c: Got rid of two warnings about unused variables. 19991207-16:29 GMT+1 Viktor Szakats * tests/regress/* ! SQRT(3) expected result fixed. ! Date() calls in test lines changed to constant dates. (Both fix thanks to Plamen Ivanov <abrasoft@techno-link.com>) + 19800101 changed to 19840325 to better test handling of date parts. * doc/hdr_tpl.txt + $FILES$ entry added. * source/rtl/dbedit.prg + DBEDIT() documentation by Chen Kedem added * source/rtl/extend.c ! Updated TRACE call for hb_pardsbuff() * include/hbpp.h - Removed two compiler variable declarations. * source/common/hbstr.c % Minor code cleanup. * source/rtl/alert.prg ! Chr(13)+Chr(10) changed to hb_OSNewLine(). ! Fix in the ALERT() $DESCRIPTION$. (Both fix thanks to Chen Kedem) * source/rtl/dircmd.prg + __DIR() documentation by Chen Kedem added * source/rtl/adir.prg ! Fixed $EXAMPLE$, aSize( var, x ) would result in a RT error, since var is NIL at this point, changed to var := Array( x ), $SEEALSO$ changed accordingly. 19991205-14:22 GMT+1 Bruno Cantero <bruno@issnet.net> * include/rddapi.h source/rdd/dbcmd.c source/rdd/dbf1.c source/rdd/dbfcdx/dbfcdx1.c + Added dbSeek(), IndexOrd(), ordSetFocus(), ordFor(), ordKey(), ordNumber(), ordName() and ordBagName() functions. * source/rtl/dummy.prg - Removed dbSeek(), IndexOrd(), ordSetFocus(), ordFor(), ordKey(), ordNumber(), ordName() and ordBagName() functions. 19991204-17:22 GMT+1 Bruno Cantero <bruno@issnet.net> * include/rddapi.h source/rdd/dbcmd.c source/rdd/dbf1.c source/rdd/dbfcdx/dbfcdx1.c + Added ordBagExt(), ordListAdd() functions. * source/rtl/dummy.prg - Removed ordBagExt(), ordListAdd() functions. 19991204-13:15 GMT+1 Bruno Cantero <bruno@issnet.net> * include/rddapi.h source/rdd/dbcmd.c source/rdd/dbf1.c source/rdd/dbfcdx/dbfcdx1.c + Begining with ordCondSet(), ordCreate(), ordDestroy(), ordListClear() and ordListRebuild(). * source/rtl/dummy.prg - Removed ordCondSet(), ordCreate(), ordDestroy(), ordListClear() and ordListRebuild() functions. 19991203-15:18 GMT+1 Jose Lalin <dezac@corevia.com> * source/pp/hbpp.c ! Bug fixed in #error directive. Changed 'F' for 'E' type in hb_compGenError call. Now Harbour continues compilig when this directive is found like CA-Cl*pper. (Uploaded by Viktor Szakats) 19991203-15:18 GMT+1 Viktor Szakats * doc/hdr_tpl.txt + $PLATFORMS$ entry added. 19991203-15:11 GMT+1 Viktor Szakats * tests/regress/* + Added functionality to test database/field stuff. Alias is w_TEST + Added Len(), ValType(), Empty(), Str() tests for fields, all of them pass. - Removed NIL:classname tests temporarily. * include/extend.h ! IT_MEMO constant fixed (it was equal with IT_NIL). + IS_MEMO() macro added. * source/rtl/valtype.c source/rtl/len.c source/rtl/empty.c ! Fixed case when no parameter was passed (via hb_vmDo() for example) + Added an $EXAMPLE$ for LEN() + Changed $SYNTAX$ for LEN() + Added some $SEEALSO$ for LEN() * Changed LEN() not to use internal ITEM access. 19991203-02:25 GMT+1 Viktor Szakats * source/rdd/dbcmd.c + DBEVAL() doc added from dbeval.prg ! Error codes fixed in DBEVAL() % Some optimization made in DBEVAL() * source/rdd/Makefile - source/rdd/dbeval.prg rdd.b32 makefile.vc - old bad_DBEVAL() removed * include/hbextern.ch source/runner/stdalone/external.prg ! PVALUE -> HB_PVALUE 19991202-18:00 GMT+1 Bruno Cantero <bruno@issnet.net> * source/rdd/dbeval.prg * Function dbEval() renamed to Bad_dbEval() * include/rddapi.h source/rdd/dbcmd.c source/rdd/dbf1.c source/rdd/dbfcdx/dbfcdx1.c doc/funclist.txt + Added dbEval() function. 19991202-01:45 EST Paul Tucker <ptucker@sympatico.ca> * makefile.vc + source/rtl/break.c + source/rtl/empty.c + source/rtl/initexit.c + source/rtl/len.c + source/rtl/pcount.c + source/rtl/proc.c + source/rtl/pvalue.c + source/rtl/type.c + source/rtl/valtype.c + source/rtl/word.c + source/rtl/xhelp.c 19991202-00:54 GMT+1 Viktor Szakats * source/rtl/Makefile + New files added to the GNU make system. * source/rtl/pvalue.c tests/multiarg.prg * HB_ prefix added to the PVALUE() function name. 19991202-00:54 GMT+1 Jose Lalin <dezac@corevia.com> * source/rdd/dbnubs.c ! Warnings fixed. * source/vm/hvm.c - Removed all of this functions. + source/rtl/break.c + HARBOUR HB_BREAK( void ) + source/rtl/empty.c + HARBOUR HB_EMPTY( void ) % Added support for MEMO type. + source/rtl/initexit.c + HARBOUR HB___QUIT( void ) + source/rtl/len.c + HARBOUR HB_LEN( void ) % Added support for MEMO type. + source/rtl/pcount.c + HARBOUR HB_PCOUNT( void ) + source/rtl/proc.c + HARBOUR HB_PROCNAME( void ) + HARBOUR HB_PROCLINE( void ) + HARBOUR HB_PROCFILE( void ) + source/rtl/pvalue.c + HARBOUR HB_PVALUE( void ) + source/rtl/type.c + HARBOUR HB_TYPE( void ) + source/rtl/valtype.c + HARBOUR HB_VALTYPE( void ) % Added support for MEMO type. + source/rtl/word.c + HARBOUR HB_WORD( void ) + source/rtl/xhelp.c (it should go to harbinit.prg) + HARBOUR HB___XHELP( void ) * All of them: + Added License agreement. + Added documentation. + Formatting * makefile.b32 + Updated with this new modules. ! WARNING ! Remember to update other makefiles. * rdd.b32 + Added dbeval.prg * doc/pragma.txt ! Some typos fixed. ! Formatting. (Uploaded by Viktor Szakats) 19991130-04:30 EST Paul Tucker <ptucker@sympatico.ca> * source/pp/hbpp.c * added a cast on xgrab call. 19991130-01:55 GMT+1 Viktor Szakats * tests/regress/rt_trans.prg + ~200 TRANSFORM() regression tests added, 43 of them fail. 19991130-01:28 GMT+1 Viktor Szakats * tests/regress/rt_str.prg + More VAL() regression tests added, 15 of them fail. 19991130-00:13 GMT+1 Viktor Szakats * source/rtl/browse.prg + Documentation by Chen Kedem added ! Unused .ch files removed. 19991129-22:22 GMT+1 Viktor Szakats * source/compiler/harbour.c include/compiler.h * HB_EXITLEVEL_* constants moved to the central header file. * source/rtl/alert.prg source/rtl/asort.prg ! Minor fixes. * include/hbdefs.h ! HB_HANDLE - LONG -> ULONG, to suppress Borland warning in memvars.c * source/rtl/memvars.c ! cast added to suppress Borland warning. * source/pp/stdalone/hbpp.c source/pp/hbpplib.c + Dummy compiler flag variables added for #pragma support. * source/rtl/trace.c - Copyright removed. 19991129-22:22 GMT+1 Jose Lalin <dezac@corevia.com> * source/pp/hbpp.c + Added support for #pragma directives Now we can include compiler settings inside PRG's * include/hberrors.h + Added new #define ERR_PRAGMA_BAD_VALUE + tests/tstprag.prg tests/Makefile + New test for pragma directives + doc/pragma.txt + a bit of info on Harbour pragmas implementation (Uploaded by Viktor Szakats) Mon Nov 29 12:45:05 1999 Gonzalo A. Diethelm <Gonzalo.Diethelm@jda.cl> * include/hbtrace.h: * source/common/hbtrace.c: * source/rtl/trace.c: * doc/tracing.txt: Modified the run-time trace interface functions, to simplify this interface. Now there are just two C functions: current_state = hb_tracestate(new_state); current_level = hb_tracelevel(new_level); and just two Clipper functions: current_state := HB_TRACESTATE( [new_state] ) current_level := HB_TRACELEVEL( [new_level] ) Both check their argument, so passing a -1 to any of them will return the appropriate current setting without modifying it. 19991128-22:24 GMT+1 Viktor Szakats * source/rtl/asort.prg source/rtl/browdb.prg + Documentation by Chen Kedem added * include/extend.h ! ISNIL() macro fixed. * source/rtl/dbeval.prg source/rtl/alert.prg * Small corrections. 19991127-15:57 EDT Paul Tucker <ptucker@sympatico.ca> * source/rdd/dbeval.prg * ISNUM() -> ISNUMBER * makefile.vc + dbeval.prg 19991127-15:57 EST Paul Tucker <ptucker@sympatico.ca> * Clipper does _not_ quit if //noalert is specified and alert() is called. * source/rtl/alert.prg * if s_lNoAlert RETURN NIL // Don't quit! * updated comment in __NoNoAlert() * source/rtl/errorsys.prg * check for empty( nChoice ) in case alert returns nil. 19991127-20:42 GMT+1 Viktor Szakats * source/rtl/dummy.prg + source/rdd/dbeval.prg source/rdd/Makefile + DBEVAL() function by Luiz Rafael Culik added. ! WARNING ! Please add it to non-GNU makefiles. ! Fixed next parameter handling for indexed tables. ! Fixed nRecord = 1 situtation. + Added Clipper compatible error handling. + Added TODO (optimizing, C rewrite). - Removed locking feature. * Formatted. % Slightly optimized. - Extensions removed. + tests/dbevalts.prg tests/Makefile + DBEVALTS.PRG added. * source/rtl/copyfile.c source/vm/hvm.c source/vm/mainwin.c source/tools/hb_f.c ! Borland warnings fixed. 19991127-17:25 GMT+1 Viktor Szakats * source/rtl/alert.prg + Documentation by Chen Kedem added + Added SPACE key handling for GT mode. ! Fixed autodelay after a LEFT/RIGHT key. ! Fixed ENTER/LEFT/RIGHT key handling in console mode. ! SAY/BOX converted to DispBox()/DispOutAt() * source/rtl/adir.prg + Documentation by Chen Kedem added * source/pp/* source/common/hbfsapi.c ! Some Borland warnings fixed. 19991126-12:00 WIB Andi Jahja <andij@aonlippo.co.id> * tests + hversion.prg - List version of Harbour source codes + entries.ini - File list for hversion.prg to work 19991126-01:11 GMT+1 Jose Lalin <dezac@corevia.com> * source/rtl/input.prg + documented * source/rtl/wait.prg + documented * source/rtl/setta.prg + documented There is an error in $STATUS$ in the following functions. They are marked as "C" but they should be marked as "R". Some typos fixed. * source/rtl/console.c ! HB_Osnewline * source/rtl/descend.c * source/rtl/hardcr.c * source/rtl/inkey.c ! __Keyboard, also bad name in $COMPLIANCES$ ! __Keyput ! Nextkey, also bad name in $COMPLIANCES$ ! Lastkey, also bad name in $COMPLIANCES$ * source/rtl/mtran.c * source/rtl/strings.c ! HB_Valtostr * source/rtl/natmsg.c ! IsAffirm ! IsNegative ! NationMsg, also bad name in $COMPLIANCES$ * source/rtl/devoutp.prg * source/rtl/setkey.prg ! SetKey ! SetKeyGet ! SetKeySave ! SetKeyCheck (Uploaded by Viktor Szakats) 19991126-01:06 GMT+1 Viktor Szakats * source/rtl/gt/gtwin.c % DispBegin()/DispEnd() switching code optimized. The only "stepback" is that now the second screen buffer gets allocated right at the startup and not at the first DispBegin() call. ! DispBegin() now hides cursor as in Clipper. * source/rtl/set.c ! One value changed to BOOL. * source/rtl/trace.c + Added HB_ prefix to the nonstandard Clipper function names. % Optimized one function. ! Fixed indentation level. * source/common/hbtrace.c include/hbtrace.h + Some new interface added (to query enabled state for example) * Trace code variable scopes and code optimized. * Variable naming and formatting. Wed Nov 24 12:45:36 1999 Gonzalo A. Diethelm <Gonzalo.Diethelm@jda.cl> * include/hbtrace.h: * source/common/hbtrace.c: * source/rtl/trace.c: * source/rtl/Makefile: * doc/tracing.txt: Implememted run-time tracing control; thanks to Jose Lalin <dezac@corevia.com> for suggesting this. The interface is described in doc/tracing.txt. * source/rdd/dbf1.c: Fixed a compilation error that only appeared with HB_TR_DEBUG. * source/rtl/inkey.c: Added a guard to avoid a compilation warning. * tests/Makefile: Changed the order of inclusion to make sure you can still do a make 'PRG_SOURCES=foo.prg'. 19991123-13:35 EDT David G. Holm <dholm@jsd-llc.com> * rt_misc.prg + Corrected comments regarding Nation functions to specify if they apply to the US or International editions of CA-Cl*pper 5.2e. 19991123-01:09 GMT+1 Viktor Szakats * source/rtl/math.c + math error handler added for __BORLANDC__ and __MINGW32__ I could not find a way to test these error though. 19991123-00:29 GMT+1 Viktor Szakats * tests/regress/* + Split rt_str into rt_str + rt_trans. ! Typo fixed in Clipper batch file. ! Fixed another long function name (Main_STRINGS() -> Main_STR()) * make_b32.bat make_b40.bat makefile.b32 regress.b32 * Updates by Jose Lalin. 19991122-23:43 GMT+1 Viktor Szakats * tests/regress/rt_hvm.prg tests/regress/rt_misc.prg + Enabled some tests which will make the VM die. (NIL:Classname) ! Disabled some tests for Clipper which return trash. * source/pp/hbpp.c * Minor formatting (static declaration moved first). 19991122-17:10 EDT David G. Holm <dholm@jsd-llc.com> * rt_misc.prg + Added a comment that Nations functions don't exist in CA-Cl*pper 5.2e. ! Added #infdef __CLIPPER__ around Nationmsg(200) test, which causes a GPF with CA-Cl*pper 5.3b (with Exospace). + Changed comments to indicate IsAffirm() and IsNegative() GPF with CA-Cl*pper 5.3b (with Exospace) (they don't even exist in 5.2e). 19991122-16:45 EDT David G. Holm <dholm@jsd-llc.com> * make_c5x.bat ! Added optional parameter to create a protected mode version of RT_MAIN (the absence of a parameter forces the use of RTLink, while the presence of a parameter forces the use of Exospace). * rt_main.prg * rt_str.prg % Changed Comp_STRINGS() to Comp_Str() and Exact_STRINGS() to Exact_Str() in order to allow direct comparison of Clipper and Harbour results (Clipper cuts names off after 10 characters). 19991122-17:25 GMT+1 Ryszard Glab <rglab@imid.med.pl> * source/compiler/harbour.y * fixed incorrect error generation if empty lines were placed between DO CASE statement and the first CASE statement 19991122-16:12 GMT+1 Viktor Szakats * source/common/hbstr.c include/extend.h + hb_strdup() function added. + hb_strupr() corrected to return a pointer. * source/pp/hbpp.c source/pp/stdalone/hbpp.c include/hbpp.h % hb_pp_strodup() -> hb_strdup() - hb_pp_strodup() removed. * source/compiler/harbour.* source/compiler/genc.c include/compiler.h % yy_strupr() -> hb_strupr() % yy_strdup() -> hb_strdup() - Removed redundant function declarations (yy_*, hb_x*()) - yy_strdup(), yy_strupr() removed. 19991122-15:03 GMT+1 Viktor Szakats * source/pp/hbppint.c ! .PPO file generation fixed (/p was not working since yesterday). * include/hbpp.h include/compiler.h % Some redundant function declaration removed. * include/hbpp.h * Sorted out the inclusion of "compiler.h", to make things clearer. * source/pp/hbpp.c include/hbpp.h * Some hb_comp_ variable usage better isolated. 19991122-12:46 GMT+1 Viktor Szakats * source/compiler/expropt.c include/compiler.h ! Fixed optimizatoin of: ( 1 / 0 ) * Some "unsigned char" types changed to BYTE + tests/regress/make_c5x.bat tests/regress/rt_main.prg + Make file for Clipper 5.x added. ! Fixed to compile with Clipper 5.x. * tests/regress/rt_hvm.prg + New optimization tests added. * source/vm/hvm.c ! Minor formatting. 19991122-11:56 GMT+1 Viktor Szakats + tests/regress/* + regress.b32 - tests/rtl_test.prg * tests/Makefile * make_b32.bat * make_b40.bat + RTL_TEST split into multiple files, placed into a separate subdirectory. Thanks go to Jose Lalin <dezac@corevia.com> for the splitting ! ; PP needs to be enhanced to support code in header files, in order to elminate duplicated code from the current version. 19991122-11:35 GMT+1 Ryszard Glab <rglab@imid.med.pl> *source/compiler/harbour.y * fixed line numer generation in FOR/NEXT statement * all expressions used in FOR/NEXT are correctly deleted *source/compiler/expropt.c * the alias symbol is correctly pushed in alias expressions alias->( expression ) *include/extend.h *source/compiler/expropt.c *source/vm/hvm.c * double values created during compile time divide optimization uses unspecified number of decimal places (defined as HB_DEFAULT_DECIMALS) - this value replaced at runtime by current SET DECIMALS setting 19991122-10:37 GMT+1 Antonio Linares * makefile.b32 updated * hbpp.b32 updated 19991122-19:50 EDT Paul Tucker <ptucker@sympatico.ca> * makefile.vc + hbstr and hbfsapi 19991122-01:33 GMT+1 Viktor Szakats * source/hbpplib.c ! Standard runtime error is launched from the library version of the preprocessor. 19991122-01:14 GMT+1 Viktor Szakats * source/compiler/* include/compiler.h * Renamed two global variables hb_comp_szCErrors -> hb_comp_szErrors hb_comp_szCWarnings -> hb_comp_szWarnings * include/hbsetup.h include/hbpp.h * IS_OPT_SEP() macro renamed to HB_ISOPTSEP() and moved to the right place. * source/pp/* include/hbpp.h source/compiler/harbour.l source/compiler/harbour.c * Variable renaming, prefixing, scope optimizing. * Global functions prefixed with * Some ints changed to BOOL. ! Non-ANSI comment removed. % stroupper() changed to hb_strupr(), stroupper() removed. % strolen() changed to strlen(), strolen() removed. + source/common/hbstr.c (added) source/rtl/strings.c * hb_strupr() moved to the common library. % hb_strupr() Local variable optimized out. 19991121-23:23 GMT+1 Viktor Szakats * source/pp/* include/hbpp.h ! static variables and functions marked static (continued). ! public pp variables prefixed with "hb_pp_". % pp_strAt() removed and calls replaced with common hb_strAt() function. * Cleaned up standard header file usage. (Please report any errors caused by this.) * static variables prefixed with "s_". * source/compiler/harbour.c source/compiler/harbour.y include/compiler.h source/pp/hbppint.c * Two PPO related variable declarations moved to the compiler. 19991121-22:38 GMT+1 Viktor Szakats * source/pp/* source/compiler/harbour.c include/hbpp.h ! static variables and functions marked static. * Cleared up declarations, removed redundant declartions. * Some formatting. * source/pp/hbpp.c ! Some corrections made to better handle where the code launcher returns to the caller. This is a theoretical case, but it's more elegant to handle this case, and it would also help to avoid a jmp_buf trick in the library callable version of the PP. 19991121-17:50 GMT+1 Bruno Cantero <bruno@issnet.net> * include/rddapi.h source/rdd/dbcmd.c source/rdd/dbf1.c + Additional feature: __dbPack( [<bBlock>], [<nEvery>] ) executes <bBlock> every <nEvery> records. 19991121-17:33 GMT+1 Viktor Szakats * source/compiler/expropt.c ! $ optimization fixed for strings containing Chr(0), now 4 more RTL_TESTs pass. ! "Fixed" CHR() to be bug compatible with Clipper for cases where param % 256 = 0 but param != 0. ! "Fixed" $ to be bug compatible with Clipper when an empty string is searched in a string. * tests/rtl_test.prg (not yet committed) + Some failing VAL() tests added. ! Corrected result for compiler optimized AT(), CHR() and $ operations. They now test for bug compatibility. + source/common/hbstr.c (added) source/common/Makefile source/rtl/strings.c * hb_strAt() moved to the common library. ! WARNING ! Please modify non-GNU make systems. * source/vm/hvm.c % Minor optimization in hb_vmInString() * source/pp/* ! Fixed some mistyped #undef statements related to tracing. 19991121-16:10 GMT+1 Bruno Cantero <bruno@issnet.net> * include/rddapi.h source/rdd/dbcmd.c source/rdd/dbf1.c * Optimization of RDD, mentioned by Matteo and Victor. 19991121-03:19 GMT+1 Viktor Szakats * source/compiler/harbour.c source/compiler/harbour.y ! hb_fsName*() functions and declarations removed (again). 19991121-01:20 GMT+1 Bruno Cantero <bruno@issnet.net> * source/rdd/dbcmd.c * dbUseArea(), fixed two bugs mentioned by Victor. 19991120-17:28 EDT Paul Tucker <ptucker@sympatico.ca> * makefile.vc - hbfsapi for 19991120-14:35 GMT+1 Ryszard Glab <rglab@imid.med.pl> *source/compiler/harbour.y * fixed NOT operator precedence * fixed the infinite loop when a duplicated variable error was reported * fixed '=' operator use (there was conflict between a compare and assignment context) * added new warning "Unreachable code' * fatal errors (errors for which the compilation process should terminate immediately should use 'F' prefix) * corrected logic of handling errors (the compilation can be continued with no GPF or core dump) *source/compiler/expropt.c * corrected to support 'DO procname' statement *include/compiler.h *source/compiler/harbour.y *source/compiler/harbour.c *source/compiler/expropt.c *source/compiler/genc.c *source/compiler/genhrb.c *source/compiler/genjava.c *source/compiler/genobj32.c * finished uniform naming scheme hb_comp* * cleared up declarations and visibility of functions and variables *include/hberrors.h * added new warning "Unreachable code' *source/debug/debugger.prg * removed one unreachable RETURN statement *source/pp/hbpp.c * all errors reported by the preprocesor are promoted to fatal errors ('F' prefix) 19991119-16:59 GMT+1 Antonio Linares * updated makefile.b32 * updated hbpp.b32 19991119-14:51 GMT+1 Viktor Szakats * source/rdd/dbf1.c source/rdd/delim1.c source/rdd/sdf1.c source/rdd/dbfcdx/dbfcdx1.c source/rdd/dbfntx/dbfntx1.c ! Guard for #pragmas changed to avoid MSVC warning. 19991119-10:02 GMT+1 Viktor Szakats * source/common/hbfsapi.c ! Fixes (tracing mainly), cleanups. * source/rtl/gt/gtstd.c * Minor change. (0/1 -> FALSE/TRUE) * source/pp/hbpp.c ! Fixed GPF when an #include file was not found. + Added support for #include `hello.ch' (new filename delimiters) * source/compiler/harbour.c source/compiler/harbour.y * Include() return type changed from int to BOOL. * Some cleanups in Include() * source/compiler/gen*.c * Minor formatting. 19991118-19:30 EDT David G. Holm <dholm@jsd-llc.com> - tests/strings3.prg * tests/Makefile - Removed strings3.prg * tests/rtl_test.prg + Added massive string comparison tests that used to be in strings3.prg. But don't feel sorry for me having to type all those lines in, because I didn't. Instead, I wrote a program based on strings3.prg that created each and every one of those TEST_LINE() lines in Comp_STRINGS() and in Exact_STRINGS(). The only problem is that Clipper can't compile the program anymore: RTL_TEST.PRG Fatal C3023 Too many labels 19991118-12:50 GMT+1 Ryszard Glab <rglab@imid.med.pl> * source/vm/hvm.c * corrected code in hb_vmPopAlias() - the stack pointer was decreased before the call to hb_vmSelectWorkarea - later the error recovery code was overwriting the alias item which caused unreleased memory 19991118-06:05 EDT Paul Tucker <ptucker@sympatico.ca> * makefile.vc + source\common\hbfsapi.c (reported missing by Matteo) 19991118-11:35 GMT+1 Ryszard Glab <rglab@imid.med.pl> *source/rtl/filesys.c * corrected support for Watcom C/C++ compiler *source/rtl/tone.c * added support for Watcom C/C++ compiler *source/rtl/gt/gtstd.c * added missing return value in hb_gt_setPos() *source/rtl/gt/gtdos.c * added Ctrl-Break handler for Watcom C/C++ compiler * changed USHORT - SHORT and (char *) to (unsigned char *) to make happy C++ compilers in hb_gt_Scroll() *source/compiler/expropt.c * restored support for expression->( expressions_list ) syntax * corrected bug in (expr .OR. .F.) and (expr .AND. .F.) optimization * corrected optimization of ( single_expr ) syntax *source/rtl/classes.c *source/rtl/arrays.c * corrected assignment of NULL to an unsigned int type - some compilers don't like it *tests/rtl_test.prg * added #ifdef __HARBOUR__ to suppres generation of errors that are now reported at compile time (array[ 0 ], IIF( "str", ...) ) 19991118-07:25 GMT+1 Viktor Szakats + source/common/hbfsapi.c + include/hbfsapi.h include/Makefile include/compiler.h include/hbpp.h include/filesys.h source/common/Makefile source/rtl/filesys.c source/compiler/harbour.c source/compiler/harbour.y source/pp/stdalone/hbpp.c + Rewritten the filename splitting/merging functions, now they also support drive letter (split only). + hb_fsFName*() functions moved to the common directory, so that only one copy of the functions exist (instead of three). ! WARNING ! Non-GNU Make systems have to be updated. ! WARNING ! All sources must be rebuilt. ; Now ~100 more RTL_TESTs pass. * tests/rtl_test.prg + Some more filename split/merge tests added. * include/hbundoc.api ! Zero bytes removed from the text file. 19991118-05:29 GMT+1 Viktor Szakats - bin\buildexe*.* + bin\bld_tpl.bat + bin\bld_tpl.cmd * New style build batch file templates added instead of the long-named ones. * make_tpl.* + Copyright info added. * include/filesys.h + Indenting corrected. - bin/empty - Removed. 19991117-13:05 GMT+1 Ryszard Glab <rglab@imid.med.pl> *source/compiler/harbour.y *source/compiler/harbour.l *source/compiler/harbour.c *source/compiler/expropt.c * corrected support for expression->identifier syntax * corrected optimization for division operator *include/compiler.h * removed declaration no longer needed 19991117-10:51 GMT+1 Viktor Szakats * source/compiler/expropt.c ! Fixed the compile-time calculation of numeric operations with results larger than LONG. % Compile-time calculation of numeric operations - Removed doubled calculation code. 19991117-03:15 GMT+1 Viktor Szakats * source/vm/hvm.c ! Added error substitution to hb_vmForTest(), now some more RTL_TESTs pass. * source/compiler/harbour.y source/vm/hvm.c ! Changed the push order for the FOR/NEXT loops, so that it's now 100% Clipper compatible, and ~15 more RTL_TESTs pass. (step/counter/end -> counter/end/step) * tests/rtl_test.prg + Some $ tests added to test new compiler bug. ("X" $ Chr(0)+"X") 19991117-01:37 GMT+1 Viktor Szakats * config/w32/mingw32.cf - Removed -DDEBUG preprocessor option. If you want to compile with debug, add -DDEBUG to the C_USR environment variable. * tests/rtl_test.prg + Some tests enabled which are now supported by the compiler. (expr):CLASSNAME, (expr):CLASSH 19991116-19:25 EDT David G. Holm <dholm@jsd-llc.com> * config/dos/djgpp.cf * config/os2/gcc.cf * config/w32/gcc.cf - Removed -g compiler option and -DDEBUG preprocessor option If you want to compile with debug, add -g and -DDEBUG to the C_USR environment variable. * source/compiler/expropt.c ! Corrected the division optimization to return 0 for any attempt to divide by 0. ! Corrected the division optimization to only return a long when the result of dividing long values is a whole value instead of returning a long when the result is within the range of a long (the result of dividing a long by a long will always be within the range of a long). % Changed the double results to return 2 decimal places after division optimization, which still isn't correct (see the source code for TODO: NOTE 1), but is more accurate than returning 0 decimal places. * source/compiler/harbour.y - Removed one of two occurrences of ExprEqual (on line 209). 19991117-01:03 GMT+1 Viktor Szakats * include/hbver.h * Version number updated to reflect the deep changes. * include/compiler.h * Commented code removed 19991116-21:55 GMT+1 Ryszard Glab <rglab@imid.med.pl> * source/compiler/harbour.y * source/compiler/harbour.l * source/compiler/harbour.c * source/compiler/expropt.c * source/compiler/genc.c * source/compiler/genhrb.c * source/compiler/genobj32.c * source/compiler/genjava.c * new implementation of grammar rules - many new syntax supported * new expression optimizer * start of introducing new functions' naming scheme 'hb_comp' * nonprintable characters (CR/LF/TAB, etc.) are inserted into generated C code using hexdecimal numbers instead of quoted char (they can appear as a result of expression optimization) * source/pp/hbpp.c * source/pp/hbppint.c * source/pp/hblib.c * source/pp/stdalone/hbpp.c * changes to support new functions' naming scheme 'hb_comp' *include/pcode.h *HB_P_ARRAYAAT -> HB_P_ARRAYPUSH HB_P_ARRAYAPUT -> HB_P_ARRAYPOP - it removes value from the stack This is compatible with the handling of usual variables *source/debug/debugger.prg * corrected the following syntax: something <operator> other := another for example: ? 2 + a:=5 -1 This syntax is not allowed in Clipper and in new Harbour rules too It should be used: ? 2 + (a:=5) -1 * doc/compiler.txt * added description of incompatibility with Clipper in object handling * include/compiler.h * new structures related to expression optimizer * include/hberrors.h * new errors: Invalid type, invalid syntax, invalid alias * new warning: meaningless expression * source/vm/hvm.c * change in handling of HB_P_FORTEST opcode used in FOR/NEXT loop * Renamed ArrayAt -> ArrayPush * Renamed ArrayPut -> ArrayPop - it removes the value from the eval stack now 19991116-15:05 GMT+1 Viktor Szakats * source/rtl/memvars.c ! __MSAVE() Modified to save MEMVARs with names longer than 10 chars, the this way it's more Clipper compatible. But since only the first 10 chars of the name can be stored in the .MEM file, the complete name cannot be retrieved on RESTORE. One more issue: if you have multiple long name which have the same first 10 chars, all these variables will be saved to the .MEM file, with the same name. So to be 100% Clipper compatible you should compile Harbour with -DHB_SYMBOL_NAME_LEN=10. * source/rtl/dates.c ! Some HB_TRACE() types fixed. % hb_dateStrGet() - strlen() call eliminated for speed. * Some variable names standardized. * source/rtl/devoutp.prg source/rtl/text.prg source/rtl/harbinit.prg source/rtl/browse.prg % Optimization. (FUNCTION/RETURN NIL->PROCEDURE) * tests/memfile.prg + Added tests for long variable names. ! Make it possible to compile with CA-Cl*pper. * tests/rtl_test.prg + Long names variable added for future use. * source/rtl/copyfile.c source/rtl/dircmd.prg * Minor cleanups (variable scopes, formatting) 19991116-13:26 GMT+1 Viktor Szakats * source/rtl/math.c % MIN()/MAX()/SQRT()/hb_numRound() minor optimalizations, cleanups. * static variable prefixed with "s_" (Watcom only) % EXP() - Watcom specific error handling put between guards, Watcom specific static variable moved inside guards. * source/rtl/dummy.prg + Clipper 5.3 specific dummy ord*() functions added. 19991115-12:02 EDT Paul Tucker <ptucker@sympatico.ca> * makefile.vc + define COMMON_DIR 19991115-17:21 GMT+1 Viktor Szakats * source/rtl/transfrm.c ! Direct item access changed to Item API calls. % Optimized variable scopes. % Optimized redundant code. % Extend API calls changed to Item API. ! Error substitution added. ! Direct item access buffer fixed (with picture "@!") ! Fixed to accept picture mask characters in lowercase (like in Clipper) ! Fixed the interpretation of some mask characters for string expressions. ! Fixed handling of "Y" mask for strings. ! Fixed handling of @R for strings. ! Fixed case when the picture template is wider than the string expression. ! Fixed handling of @Z and @B for all types. + Added support for @D, @DE for strings. + Other enhancements. * tests/rtl_test.prg + New TRANSFORM() tests for special and error conditions added. Some of these still fail. ! Fixed one SPACE() test. * include/extend.h ! ISNIL() macro was not working, fixed. It was only used in TRANSFORM(). * source/vm/hvm.c ! Mistyped STRICT_CLIPPER_COMP. macro name fixed. * source/rtl/filesys.c ! FREAD() is now always strictly compatible, option removed. * include/simpleio.ch include/assert.ch ! Made platform independent using hb_OSNewLine() instead of the hard- wired Chr(13)+Chr(10) newlines. * include/box.ch * Formatting. * include/error.ch - EG_ARGCOUNT removed. * include/fileio.ch * The hexa numbers changed to decimals for better cross compiler compatibility, plus some minor cleanups. * include/hbclip.ch include/clipdefs.h include/compiler.h * Minor changes. 19991113-13:49 GMT+1 Viktor Szakats * source/rtl/arrays.c source/rtl/console.c source/rtl/dates.c source/rtl/do.c source/rtl/filesys.c source/rtl/inkey.c source/rtl/math.c source/rtl/strings.c source/rtl/transfrm.c source/vm/hvm.c doc/subcodes.txt % Removed the runtime argument count checks. 19991113-13:25 GMT+1 Viktor Szakats * source/rtl/extend.c include/extend.h + hb_pardsbuff() Extend API function added, which does the same as hb_pards(), but multi-thread friendly without any tricks, it will simply accept a buffer for the return value. * source/rtl/dates.c source/rtl/math.c source/rtl/strings.c source/rtl/transform.c * Changed to use hb_pardsbuff() instead of hb_pards() DTOC(), DTOS(), MIN(), MAX(), TRANSFORM(), PAD*() * tests/rtl_test.prg + DTOC(), DTOS(), DAY(), MONTH(), YEAR(), DAY(), DOW(), CMONTH(), CDOW(), TIME(), CTOD() regression tests added. * source/rtl/dates.c % Small optimalizations. ! Error substitution added for all date functions. + CTOD() - Added missing runtime error. ! CDOW() - Fixed for empty and bad dates. * source/vm/hvm.c * hb_stack.szDate changed to local buffer. 19991113-03:23 GMT+1 Viktor Szakats * source/rtl/itemapi.c % hb_evalNew(), hb_evalPutParam(), hb_evalRelease(), hb_itemRelease(), hb_itemFreeC() - Variables and double initializations elimiated, faster, simpler. * source/rtl/dates.c - DTOS() optimalization removed, it's now always 100% Clipper compatible, STRICT option removed. % hb_cmonth(), hb_cdow() optimalized. 19991112-19:29 GMT+1 Viktor Szakats * source/rtl/itemapi.c source/rtl/strings.c ! Moved the infinity support from strings.c to itemapi.c. + The infinity support changed to not require the init on startup feature of the compilers, it's now plain ANSI C. + Removed the STRICT option from the infinity support, it's now turned on all the time. Now one more RTL_TEST line will pass. 19991112-11:40 EDT Paul Tucker <ptucker@sympatico.ca> * makefile.vc + source/rtl/dbedit + source/common/hbtrace 19991112-18:45 GMT+3 Alexander Kresin * source/pp/hbpp.c * Fixed bug, related to memory leaks, reported by Viktor Szakats 19991112-01:35 GMT+1 Viktor Szakats * config/w32/mingw32.cf - "-g" switch removed, so now no debug info will be included by default. This makes the generated binaries to be much smaller, and the make process mych faster. WARNING! If you need the debug functionality please use the C_USR=-g envvar. ! Fixed comment explaining why the USER32 lib is needed. + source/rtl/natmsg/msgzhbig.c + source/rtl/natmsg/msgzhgb.c * source/rtl/msgxxx.c + Chinese-GB and Chinese-BIG5 Language Modules added Thanks to Dongming Wang <dongming@km169.net> 19991111-22:52 GMT+1 Viktor Szakats * source/vm/dymsym.c % hb_dynsymGet(), hb_dynsymFindName() - Further optimized, toupper() calls changed to local uppercase conversion code. One variable eliminated. 19991111-11:19 GMT+1 Antonio Linares <alinares@fivetech.com> * source/vm/hvm.c hb_stack.pItems initialized to NULL (required by fm.c module) * makefile.b32 + some files added. * Notice I have left -v as a bcc32.exe compiler option to include debugging information. * source/rtl/classes.c Improved memory management. 19991111-12:02 GMT+1 Viktor Szakats * source/vm/dymsym.c % hb_dynsymGet(), hb_dynsymFindName() - Optimized and fixed the uppercase conversion, now it's really faster a bit. (tested) * include/hbsetup.h * Symbol name length changed to 63 from 128. 19991111-10:45 GMT+1 Viktor Szakats * source/rtl/fm.c ! Two casts added to hb_xrealloc(). 19991111-06:02 GMT+1 Viktor Szakats + source/rtl/dbedit.prg source/rtl/dummy.prg source/rtl/Makefile doc/funclist.txt + DBEDIT() function added. Please update other makefiles. 19991111-05:39 GMT+1 Viktor Szakats * source/rtl/fm.c ! hb_xalloc() chaining bug fixed. ! hb_xrealloc() chaining bug fixed. - Removed the faulty handling of the hb_xrealloc() call with zero size, previously the memory block was considered freed but free() was never called. I think that until a free() call is not issued for an allocated block we should consider it allocated regardless of it's size. This way it's also faster and cleaner. % DeleteNode() moved to hb_xfree() since it's only used from one place now. % Casts removed from the non-FM_STATISTICS branches. 19991111-04:41 GMT+1 Viktor Szakats * source/rtl/fm.c ! hb_xrealloc() several things fixed (access to the pointer after reallocating it, unecessary structure initializations, access to NULL pointers of failed or zero size realloc), RTL_TEST GPF fixed. ! Simplified, optimized and fixed the dump part. + TODO added about inconsistent hb_xrealloc() behaviour. + Size is shown in the dump. % strcpy( p, "" ) calls optimized. 19991111-01:18 GMT+1 Viktor Szakats * source/rtl/fm.c ! hb_xrealloc() check for a passed NULL pointer. ! hb_xrealloc() signature check moved before any MEMINFO usage. ! Explicit \n changed to hb_consoleGetNewLine() call. ! 256 buffer size for symbol names changed to HB_SYMBOL_NAME_LEN constant. ! Now the hb_xrealloc() is returning a NULL pointer (instead of trash) when the passed length is zero, and it's also freeing the pointer with free(). % hb_xrealloc() - pResult variable optimized out. * source/rtl/hbsetup.h + HB_SYMBOL_NAME_LEN constant added to set the maximum handled symbol name length in Harbour (both compiler/runtime), this can be set to any value by specifying C_USR=-DHB_SYMBOL_NAME_LEN=10 in the make process. TODO: Add support for the compiler to cut the symbols to this size on compile. This way the /10 switch may be replaced by this #define, since /10 works perfect when the RTL also "knows" about this limit, and is compiled using this limit. * include/hbtrace.h ! Every macro names prefixed with HB_ * source/vm/hvm.c ! Explicit buffer sizes are now determined using the HB_SYMBOL_NAME_LEN constant. They can't overrun anymore. * source/vm/dynsym.c % hb_dynsymGet(), hb_dynsymFindName() - Using local stack for temp symbol name buffer instead of hb_xgrab()/hb_xfree(). Some optimalizations. Now they will cut the symbol name to the HB_SYMBOL_NAME_LEN size, so by setting this to 10, we're 100% Cl*pper compatible from this respect. These functions are now faster. 19991110-23:20 GMT+1 Viktor Szakats * include/hbtrace.h % Excluded trace calls are converted to nohting instead of "do {} while 0" since the latter was generating jumps for MINGW32. This is now violating a -pedantic warning in GCC (duplicated ";"), so this may not be the perfect solution, but at least it doesn't generate any code. * source/rtl/fm.c ! Casts added. ! ulProcLine changed to USHORT. + Added signature support. + The whole mem tracing stuff can be excluded by a #define. + The memory trace info level is HB_TR_ERROR now, so that it gets logged by default. * tests/Makefile + fsplit.prg added. 19991110-20:45 WIB Andi Jahja <andij@aonlippo.co.id> * tests/fsplit.prg * Harbour file splitter 19991110-14:11 GMT+1 Viktor Szakats * include/hbsetup.h - Removed #defines which were previously moved to hbsetup.ch. * include/hbextern.ch source/runner/stdalone/external.prg + __PREPROCESS added as EXTERNAL 19991110-11:08 GMT+1 Bruno Cantero <bruno@issnet.net> * include/rddapi.h source/rdd/dbcmd.c source/rdd/dbf1.c source/rdd/dbfcdx/dbfcdx1.c * Added __dbPack() function * tests/testdbf.prg * Added a test for __dbPack() function * source/rtl/dummy.prg * Removed __dbPack() function 19991109-17:20 EDT David G. Holm <dholm@jsd-llc.com> * source/rtl/filesys.c % Replaced several #if tests of three or more manifest constants with tests for new single manifest constants that are defined using just one instance of the multiple tests. The new manifest constants are: HB_FS_FILE_IO, HB_FS_SOPEN, and HB_FS_DRIVE_LETTER. This will lessen the chances of missing one instance when other compilers are added. % Replaced the use of PATH_MAX with _POSIX_PATH_MAX, which is always defined, even for non-Posix compliant compilers, and eliminated the PATH_MAX definition. Tue Nov 09 11:56:05 1999 Gonzalo A. Diethelm <Gonzalo.Diethelm@jda.cl> * include/hbsetup.h: * source/rtl/gt/gtsln.c: * source/rtl/gtxxx.c: * source/rtl/mousexxx.c: Added an initial implementation of GT over S-lang. * source/rtl/inkey.c: Changed the order in which the #ifdef/#endif checks are done, to make sure the curses and S-lang implementations are picked up correctly. * config/linux/gcc.cf: * config/w32/gcc.cf: * config/w32/mingw32.cf: Added initial support for easily switching between curses and slang. This could be vastly improved. * tests/testbrw.prg: Added a piece of code bound to K_TAB, just for the fun of it... 19991109-01:58 GMT+1 Viktor Szakats * samples/Makefile samples/cccppc/*.* + Fully CA-Cl*pper 5.x compatible PP written in Clipper added to the samples directory. It also has a special object system (SmallTalk like if I'm not mistaken), and it's a good test for the Harbour compiler. Note that Harbour can't yet compile it, due to hangs in several .PRG. (but it has an RMAKE makefile, so you can try it out) The .PPO files produced by this program are exactly the same as the ones produced by Clipper (with some really minor differences). Also note that this version may have some bugs, since the project was later rewritten and continued in C++, which is also Open Source, and you can find it at https://www.nexus.hu/cccpp/ This great contribution was made by Levente Csiszár <lcsiszar@index.hu> 19991109-01:09 GMT+1 Viktor Szakats * source/rtl/filesys.c ! tell() changed to lseek() for Posix (tell() is not a Posix function) 19991108-23:41 GMT+1 Viktor Szakats * source/rtl/filesys.c % hb_fsWrite(), hb_fsReadLarge(), hb_fsWriteLarge() double var assigments optimized. * Some small cleanups. * tests/rtl_test.prg + Two new SOUNDEX() tests added. + FWRITE() tests for the truncate feature. * source/rtl/soundex.c ! SOUNDEX() - Fixed handling of accented/national characters. 19991108-09:25 GMT+1 Antonio Linares <alinares@fivetech.com> * source/rtl/classes.c * hb_clsRelease() modified. Still there is a problem with CLASSDATA ... INIT 19991108-07:38 GMT+1 Antonio Linares <alinares@fivetech.com> * source/rtl/classes.c * Arrays used for DATA ... INIT values, properly initalized. 19991107-19:24 GMT+1 Bruno Cantero <bruno@issnet.net> * source/rdd/dbcmd.c * dbCreate(), fixed two bugs (mentioned by Victor). 19991106-01:30 EDT David G. Holm <dholm@jsd-llc.com> * include/filesys.h * source/rtl/filesys.c ! Proper optimization implemented for hb_fsReadLarge() and hb_fsWriteLarge(), as suggested by Viktor Szakats. 19991105-23:30 EDT David G. Holm <dholm@jsd-llc.com> * source/rtl/filesys.c ! Only truncate the file when the size of the write is zero bytes. 19991105-21:20 EDT David G. Holm <dholm@jsd-llc.com> * config/os2/icc.cf % Now that source/vm/main.c includes either mainstd.c or mainwin.c, reference main.obj instead of main$(HB_MAIN).obj when HB_MAIN is defined. * include/filesys.h ! Only use hb_fsReadLarge() and hb_fsWriteLarge() if the size of a ULONG is different from the size of a UINT (was USHORT, which is always going to be smaller than a ULONG). * source/common/hbtrace.c ! The hb_trace module uses strcmp(), which means that it has to include <string.h> to keep C++ compilers happy. * source/rtl/filesys.c ! Only use hb_fsReadLarge() and hb_fsWriteLarge() if the size of a ULONG is different from the size of a UINT (was USHORT, which is always going to be smaller than a ULONG). * source/runner/stdalone/Makefile % IBM's Visual Age C++ compiler will not resolve main() from a library, so it is necessary to set HB_MAIN, if it isn't already set, so that icc.cf will know to include the main.obj module. 19991105-14:07 GMT+1 Ryszard Glab <rglab@imid.med.pl> *source/rtl/codebloc.prg * memory occupied by detached local variables is properly released now 19991104-23:45 GMT+1 Viktor Szakats * source/rtl/filesys.c ! hb_fsSeek() now returns 0 instead of -1 on error, just like Clipper. % hb_fsSeek() double assigments removed. ! hb_fsLock() last error code handling fixed for some platforms. % hb_fsCommit() small simplification, double assignment removed. 19991104-14:30 EDT David G. Holm <dholm@jsd-llc.com> * source/pp/stdalone/hbpp.c ! Added third parameter (char *) to Hp_Parse() so that the Microsoft VC++ and IBM Visual Age C++ versions won't try to link in the hbppint module from the pp library. * source/rtl/mouse/mouseos2.c ! Changed the type of the static mouse handle variable from int to HMOU (for IBM Visual Age C++, but also works with GCC). Thu Nov 04 14:32:06 1999 Gonzalo A. Diethelm <Gonzalo.Diethelm@jda.cl> * source/common/hbtrace.c: * doc/tracing.txt: Added the possibility to direct tracing output to a file by specifying its name in the HB_TR_OUTPUT environment variable. The default is stderr. Thu Nov 04 13:49:23 1999 Gonzalo A. Diethelm <Gonzalo.Diethelm@jda.cl> * include/hbtrace.h: * source/common/hbtrace.c: * doc/tracing.txt: Implemented a better way of tracing with support for several levels (ALWAYS, FATAL, ERROR, WARNING, INFO and DEBUG), efficient compile-out of unwanted levels and level control using an environment variable at run-time. See doc/tracing.txt for detailed information. * source/pp/hbpp.c: * source/pp/hbppint.c: * source/pp/hbpplib.c: * source/pp/stdalone/hbpp.c: * source/rdd/dbcmd.c: * source/rdd/dbf1.c: * source/rdd/dbfcdx/dbfcdx1.c: * source/rtl/arrays.c: * source/rtl/classes.c: * source/rtl/codebloc.c: * source/rtl/console.c: * source/rtl/copyfile.c: * source/rtl/dates.c: * source/rtl/descend.c: * source/rtl/dir.c: * source/rtl/environ.c: * source/rtl/errorapi.c: * source/rtl/extend.c: * source/rtl/filesys.c: * source/rtl/fm.c: * source/rtl/gtapi.c: * source/rtl/hardcr.c: * source/rtl/inkey.c: * source/rtl/itemapi.c: * source/rtl/langapi.c: * source/rtl/math.c: * source/rtl/memvars.c: * source/rtl/mouseapi.c: * source/rtl/mtran.c: * source/rtl/natmsg.c: * source/rtl/samples.c: * source/rtl/set.c: * source/rtl/setcolor.c: * source/rtl/strings.c: * source/rtl/tone.c: * source/rtl/transfrm.c: * source/rtl/gt/gt_tpl.c: * source/rtl/gt/gtcrs.c: * source/rtl/gt/gtdos.c: * source/rtl/gt/gtos2.c: * source/rtl/gt/gtstd.c: * source/rtl/gt/gtwin.c: * source/runner/runlib.c: * source/tools/dates2.c: * source/tools/hb_f.c: * source/tools/strasint.c: * source/tools/stringsx.c: * source/vm/cmdarg.c: * source/vm/debug.c: * source/vm/dynsym.c: * source/vm/hvm.c: * source/vm/initsymb.c: * source/vm/mainstd.c: * source/vm/mainwin.c: Changed calls to HB_TRACE to incorporate the new level parameter. 19991103-22:38 GMT+1 Viktor Szakats * source/rtl/filesys.c % Nested #ifs converted to #elifs (hb_fsDelete(), hb_fsFile()) % Double assigments optimalized (convert_seek_flags(), hb_fsLock(), hb_fsFile()) * Code made more clear (hb_fsLock()) % Variable usage and assigments optimalized, made faster, smaller and simpler. FCREATE(), FREAD(), FWRITE(), FERASE(), FRENAME(), FSEEK(), FILE(), DIRCHANGE(), MAKEDIR(), DIRREMOVE() ! FREAD(), FWRITE() now calls hb_fsReadLarge() and hb_fsWriteLarge() instead of hb_fsRead() and hb_fsWrite(). Wed Nov 03 18:38:03 1999 Gonzalo A. Diethelm <Gonzalo.Diethelm@jda.cl> * tests/testbrdb.prg: The test now restores the color setting and does a CLS before exiting. * tests/testbrw.prg: The test now remembers its device position, cursor setting and color and restores everything before exiting. 19991103-07:28 GMT+1 Antonio Linares * source/rtl/classes.c * hb___msgSuper() simplied, faster and less memory consume. * source/rtl/arrays.c * bSuperCast is no longer checked. * source/vm/hvm.c * simpler after super casting process. * include/extend.h - BASEARRAY struct bSuperCast member removed. - BASEARRAY struct uiPrevCls member removed. + tests/clasinh.prg * New test added proving Super access does not generate unreleased memory blocks. 19991102-16:33 GMT+1 Antonio Linares * makefile.b32 * rdd.b32 * updated files provided by Jose Lalin 19991102-04:05 GMT+1 Antonio Linares * makefile.b32 * some files added. Alphabetical ordered. 19991101-11:53 GMT+3 Alexander Kresin * source/pp/hbpp.c * Fixed bug 19991101-10:10 GMT+3 Alexander Kresin * source/pp/hbpp.c * Fixed bug, reported by Antonio Linares 19991030-03:24 GMT+1 Viktor Szakats * tests/rtl_test.prg + Four new Pad*() tests added. * source/rtl/samples.c * Small optimalizations, formatting corrections. * source/rtl/dynsym.c % hb_strgreater() replaced with standard ANSI C function strcmp(), it's now a bit faster. * source/rtl/strings.c include/extend.h ! SUBSTR() bug fix in handling the error when the third parameter was not a string. (reported by Andi Jahja) - hb_strgreater() removed since it was same as strcmp() 19991028-22:30 EDT David G. Holm <dholm@jsd-llc.com> * source/rtl/inkey.c * source/rtl/gt/gtdos.c * source/rtl/gt/gtwin.c + Added Ctrl+Break support for DJGPP. % Unified Ctrl+Break handling by modifying DOS (non-DJGPP) and Windows GT API Ctrl+Break handlers to set a global flag that hb_inkeyPoll() checks before checking for keyboard input. Otherwise, if the program is in a keyboard input loop, a second key may have to be pressed after the "Cancelled at:" message is displayed before the program will actually quit. NOTE: The DOS Ctrl+Break handling needs to be refined to handle Ctrl+Break and Ctrl+C separately and to pass the Ctrl+C keyboard code on to the Harbour application. This requires handling BIOS INT 1B for the Ctrl+Break key and requires a lower-level DOS INT 23 handler for the Ctrl+C handling than is provided by the C setbrk() function. * source/rtl/isprint.c + Added support for Borland C REGS structure. * source/rtl/samples.c ! Changed 'if( ulLen >= 0)' to read 'if( ulLen >= 1)' so that the string conversion for the hours value will only be done when there is at least one character in the source string. * tests/inkeytst.prg + If the "skip" command line parameter is set to "BREAK", then SETCANCEL() will be enabled, otherwise it will be disabled. 19991028-14:12 GMT+1 Bruno Cantero <bruno@issnet.net> * source/rdd/dbcmd.c source/rdd/dbf1.c * dbCreate(), fixed a bug (mentioned by Victor). 19991027-17:24 GMT+1 Viktor Szakats * source/rtl/strings.c source/rtl/descend.c include/extend.h % hb_strEmpty(), hb_str*cmp() a few optimalizations. + Using const keyword for hb_str*() function parameters. * Small formatting, some Hungarian notations adjusted. + CHR() STRICT mode replaced with a comment, that the buggy Clipper behaviour should (or should not) be implemented in the Harbour compiler optimizer. - tests/hardcr.prg - tests/mtran.prg tests/Makefile + These test files has been removed, since they were moved to RTL_TEST * tests/rtl_test.prg * Some CHR() tests simplified, one added to show the buggy Clipper behaviour. + HARDCR(), MEMOTRAN() tests added. 19991027-16:57 GMT+1 Antonio Linares * source/vm/mainwin.c * added missing #includes. 19991027-13:55 GMT+3 Alexander Kresin * source/pp/hbpp.c * Fixed bugs, reported by Antonio Linares and Viktor Szakats * ( increased size of expnew in Searnrep() and expreal in WorkMarkers() ) * Added HB_TRACE to the new function ( PrevSquare() ) 19991027-02:25 GMT+1 Viktor Szakats * source/rtl/fm.c ! Fixed to display negative unreleased memory properly. * source/rtl/codebloc.c * Removed newline chars from HB_TRACE() calls. 19991026-19:55 EDT Paul Tucker <ptucker@sympatico.ca> * source/rtl/gt/gtwin.c * Added WINAPI to the handler func def. Tue Oct 26 17:16:43 1999 Gonzalo A. Diethelm <Gonzalo.Diethelm@jda.cl> * source/common/hbtrace.c: Now it is REALLY efficient; no copying, nothing. * source/rtl/codebloc.c: * source/rtl/dir.c: * source/rtl/filesys.c: * source/rtl/inkey.c: * source/rtl/memvars.c: * source/rtl/set.c: * source/vm/hvm.c: Got rid of other ways of tracing. Hopefully now HB_TRACE() is the only, standard way used in Harbour. * source/rtl/gt/gt_tpl.c: * source/rtl/gt/gtdos.c: * source/rtl/gt/gtos2.c: * source/rtl/gt/gtstd.c: * source/rtl/gt/gtwin.c: Made sure all the GT implementations (including the template) have proper HB_TRACE() calls. Tue Oct 26 13:20:46 1999 Gonzalo A. Diethelm <Gonzalo.Diethelm@jda.cl> * source/runner/runlib.c: Added HB_TRACE() calls to the RUNNER library. 19991026-18:10 GMT+1 Viktor Szakats * source/rtl/gt/gtwin.c + Ctrl+Break handler added for Win32 console mode, now Ctrl+Break will not break an application with SetCancel(.F.), and will terminate it with the proper message with SetCancel(.T.). INCOMPATIBILITY: With SetCancel(.F.) the inkey code 876 will be passed to Harbour which should be ignored and not returned by Inkey(). David, could you check this ? * source/rtl/gt/gtdos.c + Ctrl+Break handler added for DOS character mode. Please test this, since I could only test if it compiles. * tests/tstalias.prg + New alias related tests added. Tue Oct 26 13:11:19 1999 Gonzalo A. Diethelm <Gonzalo.Diethelm@jda.cl> * source/tools/dates2.c: * source/tools/hb_f.c: * source/tools/strasint.c: * source/tools/stringsx.c: Added HB_TRACE() calls to the TOOLS library. Tue Oct 26 12:55:49 1999 Gonzalo A. Diethelm <Gonzalo.Diethelm@jda.cl> * source/rdd/dbcmd.c: * source/rdd/dbf1.c: * source/rdd/dbfcdx/dbfcdx1.c: Added HB_TRACE() calls to the RDD library. Tue Oct 26 12:15:01 1999 Gonzalo A. Diethelm <Gonzalo.Diethelm@jda.cl> * source/vm/cmdarg.c: * source/vm/debug.c: * source/vm/dynsym.c: * source/vm/hvm.c: * source/vm/initsymb.c: * source/vm/mainstd.c: * source/vm/mainwin.c: Added HB_TRACE() calls to the VM. 19991026-14:07 GMT+1 Viktor Szakats * include/itemapi.h source/rtl/itemapi.c source/rtl/strings.c source/rtl/console.c + hb_itemString() made thread safe, while keeping the speed of previous non-thread safe version for most cases. * source/rtl/dates.c + NOTE added about the buffer size requirements of hb_dtoc() * source/vm/hvm.c + HB_TRACE() call added to the HB_P_LINE opcode. * source/rtl/strings.c ! hb_strncpyUpper() and hb_itemPadConv() HB_TRACE() calls now print the address of a buffer instead of the (uninitialized) content. * source/rtl/memvars.c ! bScope is now showed as a number instead of a char in HB_TRACE() call. 19991026-12:49 GMT+1 Bruno Cantero <bruno@issnet.net> * source/rdd/dbf1.c tests/testdbf.prg * __dbZap() function finished. Test added for this function. 19991026-11:35 GMT+1 Viktor Szakats * source/tget.prg % New() will evaluate the setget only once instead of three times. ! New() fixed the picture generation for numeric values, decimals are detected for example. ! ::ColorSpec now defaults to the proper color. + ColorDisp() inline method added. ! Display() changed back to hide cursor while displaying ! Display() fixed to use ::ColorSpec instead of SetColor() ! Display() is now selecting the proper colors from the ::ColorSpec ! Display() color now depends on ::HasFocus ! SetFocus(), KillFocus() fixed to call ::Display(), like in Clipper. + Dummy methods added for not yet implemented ones, TODOs added. - "Message" DATA removed + Exported/Private MESSAGEs grouped. ! ToDecPos() fixed to redisplay and reposition the cursor. ! WordLeft(), WordRight() fixed to reposition the cursor. + Some TODOs and FIXMEs added. * source/rdd/dbstrux.prg source/rtl/dummy.prg + __FLEDIT() function added, guarded with STRICT, for collectors only ;) * source/rtl/oemansi.c - #include "winuser.h" removed, since I mitakenly left it there. * tests/rtl_test.prg + One line enabled, since the PP is processing it now without hang. 19991026-09:43 GMT+3 Alexander Kresin * source/pp/hbpp.c * Fixed bugs, reported by Antonio Linares and Viktor Szakats 19991025-23:35 EDT Paul Tucker <ptucker@sympatico.ca> * source/rtl/filesys.c * add casts on xgrab/free 19991025-18:15 EDT David G. Holm <dholm@jsd-llc.com> * include/hbwinapi.h - Removed '#define HARBOUR_USE_WIN', because includinging windows.h causes _Windows to be defined, so HARBOUR_USE_WIN is redundant. * harbour/source/pp/hbpp.c % Changed "non directive" warning to level 3. * harbour/source/pp/hbppint.c + Added include file and include file line number to warning messages. * harbour/source/rtl/inkey.c ! Moved HB_TRACE() call in hb_releaseCPU() to bottom of function, because variables are declared in #if blocks. - Changed '#ifdef HARBOUR_USE_WIN' to '#if defined(_Windows) || defined(WINNT)' (see include/hbwinapi.h for reason why). * harbour/source/rtl/oemansi.c ! Only include winuser.h when compiling for Windows. 19991025-23:12 GMT+1 Viktor Szakats * source/rtl/achoice.prg ! Fixed bound error on empty array. % Small optimalization. * source/rtl/filesys.c include/filesys.h ! CURDIR() was mistakenly marked a C53 function, but it was already there in CA-Cl*pper 5.2e. + hb_fsCurDirBuff() function added, which is thread safe. * hb_fsCurDir() is now calling hb_fsCurDirBuff(). + CURDIR() is now using the thread safe hb_fsCurDirBuff() instead of hb_fsCurDir(). + hb_fsCurDirBuff() now supports the "drive" parameter in WIN32/MINGW32. + hb_fsCurDirBuff() now strips the leading and trailing slashes from the directory, to be Clipper compatible. * source/tools/ctchksum.c * Small formatting. 19991025-12:30 EDT Paul Tucker <ptucker@sympatico.ca> * source/tools/ctchksum.c * added a cast * makefile.vc + source/tools/ctchksum.c 19991025-22:05 GMT+1 Bruno Cantero <bruno@issnet.net> * source/rtl/dummy.prg - Removed __dbZap() function. * include/rddapi.h source/rdd/dbcmd.c source/rdd/dbf1.c source/rdd/dbfcdx/dbfcdx1.c * dbUseArea() now show the "Default" option in the alert box. + Added __dbZap() function (incomplete). 19991025-19:46 GMT+1 Viktor Szakats * source/rtl/filesys.c ! DISKSPACE(): Added support for Win32 platform. * ChangeLog + ChangeLog.004 * Old ChangeLog renamed to ChangeLog.004 * New ChangeLog created. 19991025-19:09 GMT+1 Viktor Szakats * source/rtl/filesys.c + CURDRIVE() Xbase++ compatible function added, between HB_COMPAT_XPP guards, it also has a TODO: ! hb_fsCurDrv() fixed to convert the return value of the OS calls to the Clipper standard. ! hb_fsChDrv() / DISKCHANGE(), CURDRIVE() hb_fsIsDrv() / ISDISK() hb_fsCurDrv() / DISKNAME() hb_fsMkDir() / MAKEDIR() hb_fsChDir() / DIRCHANGE() hb_fsRmDir() / DIRREMOVE() hb_fsCurDir() / CURDIR() hb_fsIsDevice() All these fixed, so that now they work with WIN32/MINGW32. * source/rtl/mouseapi.c + SETMOUSE() and NUMBUTTONS() Xbase++ compatible functions added, between HB_COMPAT_XPP + source/rtl/oemansi.c source/rtl/Makefile config/w32/mingw32.cf + HB_ANSITOOEM() new Win32 related function added (Harbour extension) + HB_OEMTOANSI() new Win32 related function added (Harbour extension) + CONVTOOEMCP() Xbase++ compatible function added (between HB_COMPAT_XPP) + CONVTOANSICP() Xbase++ compatible function added (between HB_COMPAT_XPP) ; IMPORTANT NOTE: This may cause problems in other platform, since USER32 should be linked in. (WIN32/MINGW32 platform arranged) * source/rdd/dbf1.c - Some HB_SYMBOL_UNUSED() macros removed, since the variables are used. * source/tools/ctcrypt.c source/rtl/isprint.c * Some formatting. 19991025-12:30 EDT Paul Tucker <ptucker@sympatico.ca> * source/tools/ctcrypt.c * added some casts * source/rtl/isprint.c + add include "hbwinapi.h" * added defined( _WINDOWS_ ) for non-dos detection. * added a cast * source/rtl/net.c * added missing ; * makefile.vc + source/tools/ctcrypt.c + source/tools/ctchrmix.c + source/rtl/binnum.c + source/rtl/net.c Mon Oct 25 13:14:42 1999 Gonzalo A. Diethelm <Gonzalo.Diethelm@jda.cl> * doc/tracing.txt: * include/hbtrace.h: * source/common/hbtrace.c: * source/pp/hbpp.c: * source/pp/hbppint.c: * source/pp/hbpplib.c: * source/pp/table.c: * source/pp/stdalone/hbpp.c: Changed the environment variables that enable tracing in Harbour, and added a document explaining how to do tracing. * include/hbsetup.h: * source/rtl/gt/gtcrs.c: * source/rtl/gt/gtlin.c: * source/rtl/gtxxx.c: Changed the name for the curses-based GT implementation file to gtcrs.c, leaving room for other linux-oriented implementations such as s-lang, etc. * source/rtl/arrays.c: * source/rtl/fm.c: * source/rtl/gtapi.c: * source/rtl/inkey.c: Added/corrected a few calls to HB_TRACE(). 19991025-15:20 GMT+1 Viktor Szakats * tests/memory.prg + Using hbmemory.ch * source/rtl/net.c + cast added for MSVC 19991025-14:58 GMT+1 Viktor Szakats * source/rtl/net.c + Name buffer length corrected. * Using a better API call for the same job. 19991025-12:37 GMT+1 Viktor Szakats + source/tools/ctcrypt.c + source/tools/ctchrmix.c + CA-Tools compatible CRYPT() function added. (named CT_CRYPT()) + CA-Tools compatible CHARMIX() function added. (named CT_CHARMIX()) * source/rtl/fm.c ! hb_xfree() fixed, so that it will not GPF when a NULL pointer is passed. % Some cleanup, one variable eliminated and code optimized out when the STATISTICS mode is turned off. ! Non-STATISTICS mode fixed in hb_xquery() * source/rdd/dbcmd.c ! hb_rddSelectWorkAreaAlias() fixed to handle workarea numbers as strings (exm: "1") and single character workarea aliases ("A"-"K") ! hb_rddSelectWorkAreaSymbol() fixed to handle the single character workarea aliases ("A"-"K") ! SELECT(), DBSELECTAREA() fixed handling of workarea numbers passed as strings, and workarea numbers passed as single characters ("A"-"K") Bruno, please review these. * include/gtapi.h source/rtl/console.c source/rtl/gtapi.c source/rtl/gt/*.c % hb_gt_DrawShadow() moved to the high-level API, the whole process got cleaned up. Simpler, less redundant and more compatible now. ! hb_gtDrawShadow() off-screen situations fixed. * All functions with "ptucker" mark moved to the copyright section. + HB_SYMBOL_UNUSED() added to gt_tpl.c - hb_gt_GetCursorSize() removed from the template gt_tpl.c * source/rtl/gt/gtwin.c * Small cleanups, variable names standardized, scopes adjusted. ! Fixed Scroll() in fill mode for Win9x OS. * source/rtl/oldclear.c source/rtl/oldbox.c ! #ifdef HARBOUR_USE_GTAPI guards added. * include/hboo.ch source/rtl/classes.c source/rtl/objfunc.prg source/rtl/tclass.prg source/tools/stringp.prg tests/dynobj.prg tests/objects.prg tests/overload.prg * #define names prefixed with HB_ to avoid collision with user programs. Some other slight changes applied to the name prefixes. + include/hbmemory.ch include/Makefile source/rtl/fm.c source/vm/hvm.c + New header file for MEMORY() parameters. + #include "hbmemory.ch" added + Using HB_MEM_ constants. * include/hbmemvar.ch source/debug/debugger.prg source/rtl/memvarbl.prg source/rtl/menuto.prg source/rtl/memvars.c * #define names prefixed with HB_ to avoid collision with user programs. * source/rtl/memvarbl.prg ! Non-STRICT COMPATIBLE branch removed. - #include "hbsetup.ch" removed * tests/begin.prg tests/inherit.prg (bugfix) tests/statinit.prg tests/strip.prg (bugfix) tests/tstcolor.prg (bugfix from today) ! Warning and bug fixed showed by the /w switch. * source/tools/charmix.c source/tools/chareven.c source/tools/charmix.c ! GT_CHARMIX(), GT_CHAREVEN(), GT_CHARODD() Fixed to use hb_retclen() instead of hb_retc(). * include/hbdefs.h + Cleaner namings for some macro arguments. + HB_MKULONG() macro added. + source/rdd/dbstrux.prg source/rdd/Makefile source/rtl/dummy.prg doc/funclist.txt + __DBCOPYSTRUCT(), __DBCOPYXSTRUCT(), __DBCREATE() functions added. WARNING ! Please update non-GNU make files. * source/rtl/dir.c ! DIRECTORY() *very* small compatibility fix for the order of returned attribute chars. * source/vm/hvm.c ! hb_vmForTest() error handler value substitution support added. * source/rtl/browdb.prg * Small formatting. * source/rtl/tget.prg source/rtl/memoline.c source/rtl/mlcount.c * Typo (char with different codepage) corrected. * source/rtl/tget.prg ! SAY/DevPos() converted to SetPos(), DispOutAt(). + End() made more compatible. % Display() optimized, variable removed, cursor setting removed. * source/rtl/tgetlist.prg % Cursor setting on/off removed from ShowScoreBoard(). * source/rtl/strings.c ! UPPER(), LOWER() were modifying the item buffer directly. Fixed. ! UPPER(), LOWER() some internal item access changed to Item API calls. + UPPER(), LOWER(), LEFT(), SUBSTR(), VAL(), AT(), ALLTRIM(), LTRIM(), RTRIM()/TRIM(), STRTRAN() value substitution on error added. ! SUBSTR() made compatible in a rare error case. (SubStr(C,N,C)) ! AT() GPFd on passed types other than string. ! Fixed the small difference between RTRIM() and TRIM(), they are 100% identical since the same pcode is generated for both in Clipper. ; Now all error substitutions are covered in STRINGS.C * ALLTRIM() is now launching a Clipper 5.3 compatible error by default instead of returning an empty string. ! hb_strAt() now returns 0 when an empty string is searched, this matches the Clipper behaviour, but the regression test was fooled by the (buggy) compiler optimalization. * tests/rtl_test.prg tests/strings3.prg + UPPER(), LOWER(), TRIM(), RTRIM(), LTRIM(), ALLTRIM() regression tests added. Some Upper() tests are failing. Some STRTRAN() fail tests added, Clipper 5.2e STRTRAN() error recovering bug discovered. + SUBSTR(), LEFT(), RIGHT(), AT(), RAT(), VAL() tests added for error conditions. * ALLTRIM() error condition results updated to reflect the change above. * "" $ and AT("", test results corrected, CA-Cl*pper behaviour documented. + STRINGS3.PRG moved to RTL_TEST (some) + ACOPY() expected test results adjusted accordging to the stricter ACOPY() compatibility. * source/rtl/arrays.c ! hb_arrayCopy()/ACOPY() is now 100% Clipper compatible, the STRICT option removed, it's always strict now. * source/rtl/binnum.c + BIN2U(), U2BIN(), W2BIN() Xbase++ compatible functions added. All guarded with HB_COMPAT_XPP (defined by default) (not tested) * source/rtl/dates.c include/hbextern.ch source/runner/stdalone/external.prg + STOD() put between HB_COMPAT_XPP guards, since it belongs to Xbase++ and is not part of base Clipper. + HB_STOD() Harbour extension function added, same as STOD() but with consistent naming. * source/rtl/dircmd.prg * STOD() -> HB_STOD() * source/rtl/mouse/mousewin.c + hb_mouse_CountButton() added for Win32. * source/rtl/mouseapi.c source/rtl/filesys.c + Clipper 5.3 functions put between HB_COMPAT_C53 guards. + One function added to the proper Copyright holder. * include/hbsetup.h source/rtl/mousexxx.c * HARBOUR_USE_MSAPI setup #define removed, from now on the USE_GTAPI setting will choose the mouse driver, too, since the mouse handling is highly related to the output (GT) driver. + HARBOUR_USE_STD_GTAPI #define added as a start for the std stream IO GT API, which is currently called "non-GT" mode. * source/rtl/console.c include/hbextern.ch source/runner/stdalone/external.prg source/rtl/tbrowse.prg source/rtl/tget.prg tests/rtl_test.prg * __COLORINDEX() function renamed to HB_COLORINDEX() + source/rtl/isprint.c + source/rtl/net.c source/rtl/Makefile source/rtl/dummy.prg doc/funclist.txt + ISPRINTER() function first draft. + NETNAME() implemented for the Win32 platform. Implementation note for DOS added. WARNING ! Please update non-GNU make files. * include/fileio.ch include/filesys.h ! FO_INHERITED and FO_PRIVATE flags moved to the .H file for better Clipper compatibility. * source/rtl/tone.c * __DJGPP -> __DJGPP__ (cosmetic only __DJGPP was also valid) * source/rtl/mouse/mousetpl.c ! Small correction (0->FALSE) + source/rtl/gt/gtstd.c + source/rtl/mouse/mousestd.c source/rtl/gtxxx.c source/rtl/mousexxx.c + Standard ANSI C GT/MOUSE drivers added. GT needs some more work. * source/rtl/inkey.c % Win32 local variables made static, name prefixed with "s_" 19991022-16:21 GMT+1 Viktor Szakats * source/rtl/strings.c ! REPLICATE(), SPACE() error value substitution support added. * tests/rtl_test.prg * tests/mathtest.prg - tests/strings.prg (removed) - tests/strings2.prg (removed) tests/Makefile + REPLICATE(), SPACE(), LOG(), EXP() regression tests added. Two bugs showed up somewhere around LOG(). + STUFF() tests extended. + ISDIGIT(), ISALPHA(), ISLOWER(), ISUPPER() regression tests added. + MATHTEST.PRG moved to RTL_TEST + STRINGS.PRG moved to RTL_TEST (mostly) + STRINGS2.PRG moved to RTL_TEST (mostly) - Removed those lines which got moved to RTL_TEST. 19991022-15:16 GMT+1 Viktor Szakats * tests/rtl_test.prg - tests/filexist.prg (removed) - tests/val.prg (removed) - tests/strcmp.prg (removed) - tests/instr.prg (removed) - tests/syserror.prg (removed) - tests/operat.prg (removed) tests/Makefile + Rest of File() tests moved to RTL_TEST, so FILEXITS.PRG could be removed + One ValType() test moved to RTL_TEST, so VAL.PRG could be removed + STRCMP.PRG tests moved to RTL_TEST + INSTR.PRG tests moved to RTL_TEST + SYSERROR.PRG tests moved to RTL_TEST + OPERAT.PRG tests moved to RTL_TEST + Some new operator precedence and inline inc/dec op. tests added. * Small cleanup in RTL_TEST. ; All newly added tests passes. * tests/tstcolor.prg + Some tests added for the SetColor() bug fixed yesterday. ! RETURN added to suppress warning. 19991022-13:56 GMT+1 Viktor Szakats * tests/rtl_test.prg - tests/fileio.prg tests/Makefile + Harbour level file API is now automatically tested in RTL_TEST. - FILEIO.PRG removed. 19991022-13:10 GMT+1 Viktor Szakats * source/rtl/filesys.c tests/fileio.prg ! FREADSTR() zero byte bug fixed. Reported by V.Kazimirchik <v_kazimirchik@yahoo.com> + Some new tests cases added to the test program. * source/tools/ctchksum.c ! Fixed for large strings. * tests/cmphello.prg ! Path fixed. - tests/copyfile.prg - tests/fornext2.prg tests/Makefile - Some obsolete test files removed, they were moved to RTL_TEST previously. 19991022-10:53 GMT+1 Viktor Szakats * source/vm/hvm.c + //INFO now displays Clipper-like memory info. Just the values are higher ;) * source/rtl/fm.c include/extend.h + MEMORY() functionality split into Harbour and C callable functions. hb_xquery() 19991022-10:41 GMT+1 Viktor Szakats * source/rtl/fm.c tests/memory.prg + MEMORY() extended with 1003 and 1004 parameters, to retrieve stack usage. 19991022-10:33 GMT+1 Viktor Szakats * source/rtl/fm.c tests/memory.prg tests/Makefile doc/funclist.txt + MEMORY() support for Win32 platform, it can now return available physical, page, virtual memory and total physical memory. + Test program added. 19991022-10:03 GMT+1 Viktor Szakats * source/rtl/fm.c + MEMORY() function enhanced internally. ! MEMUSED()/MEMFREE() non-standard functionality moved inside MEMORY(). 19991022-09:27 GMT+1 Viktor Szakats * source/rtl/console.c ! New C syntax bug fixed in hb_setpos() * source/tools/ctchksum.c source/tools/Makefile + CA-Tools compatible CHECKSUM() function. * source/rtl/natmsg.c * Small correction. 19991022-08:19 GMT+1 Antonio Linares <alinares@fivetech.com> * source/rtl/fm.c * fixed some bugs regarding the calculations for the largest used memory and the used blocks. + New function HB_MEMUSED() and HB_MEMMAX() added. 19991021-23:33 GMT+1 Viktor Szakats * config/rules.cf + /w switch added to the default Harbour switches in the GNU make system. Be warned that some new warnings may arise in some test programs. The core Harbour .PRG files compile without any warnings, though. The only exception is HBRUN.PRG, but in that case either the compiler or the PP should be modified, until then just ignore these. * tests/fortest.prg tests/memfile.prg ! /w warnings fixed. * source/rtl/achoice.prg source/rtl/menuto.prg source/rtl/tgetlist.prg % SetPos() + DispOut() -> DispOutAt() * source/debug/debugger.prg % Now all screen output is done using SetPos()/DispOutAt() so it's faster and it's not fooled by output redirection or SET DEVICE TO PRINTER. * Menu made more exactly Clipper like. % "&" hotkey marker char changed to "~" to avoid any macro expansion in the future. * Some formatting (Move() method). * source/debug/tbrwtext.prg * Formatted. 19991021-22:18 GMT+1 Viktor Szakats * source/rtl/gtapi.c ! hb_gtSetColorStr() now resets the ColorSelect() value to STANDARD, like in Clipper. 19991021-21:08 GMT+1 Viktor Szakats * source/rtl/gt/gtwin.c source/rtl/dates.c ! Indentation fixed. 19991021-19:40 GMT+1 Viktor Szakats * source/rtl/filesys.c % Updated, so that the platform dependent variable declarations got moved inside the block where they are used, instead of declaring them globally for all platform branches. HB_UNUSED_VARIABLE() lines could be then removed. Thu Oct 21 14:09:07 1999 Gonzalo A. Diethelm <Gonzalo.Diethelm@jda.cl> * source/rtl/gt/gtlin.c: A first, very basic, implementation of GT for Linux using curses. At this point, all I have tested is that tests/hello.prg works acceptably well when compiled with -DHARBOUR_USE_LIN_GTAPI. There are LOTS of functionality missing still. Thu Oct 21 14:02:53 1999 Gonzalo A. Diethelm <Gonzalo.Diethelm@jda.cl> * config/linux/gcc.cf: Added linking against ncurses. * include/gtapi.h: Added hb_gtReadKey() and hb_gt_ReadKey() functions. * include/hbsetup.h: * source/rtl/gtxxx.c: Made sure LIN_GTAPI is taken into account. * source/rtl/console.c: * source/rtl/filesys.c: * source/rtl/gtapi.c: * source/rtl/inkey.c: * source/rtl/gt/gtwin.c: Fixed several warnings. Thu Oct 21 11:56:55 1999 Gonzalo A. Diethelm <Gonzalo.Diethelm@jda.cl> * source/common/hbtrace.c: Modified the TRACE function so that it does no superfluous copying anymore. * source/compiler/Makefile: * source/runner/stdalone/Makefile: * tests/Makefile: Added the common library to the list of dependencies. * source/pp/hbpp.c: * source/pp/hbppint.c: * source/pp/hbpplib.c: * source/pp/table.c: * source/pp/stdalone/hbpp.c: Made sure tracing is enabled only when both HB_DO_TRACE and HB_REALLY_DO_TRACE are defined; this way, the user can just set HB_DO_TRACE to enable tracing in harbour, but not see all the tracing output while compiling harbour itself. * source/rtl/arrays.c: * source/rtl/classes.c: * source/rtl/codebloc.c: * source/rtl/console.c: * source/rtl/copyfile.c: * source/rtl/dates.c: * source/rtl/descend.c: * source/rtl/dir.c: * source/rtl/environ.c: * source/rtl/errorapi.c: * source/rtl/extend.c: * source/rtl/filesys.c: * source/rtl/fm.c: * source/rtl/gtapi.c: * source/rtl/hardcr.c: * source/rtl/inkey.c: * source/rtl/itemapi.c: * source/rtl/langapi.c: * source/rtl/math.c: * source/rtl/memvars.c: * source/rtl/mouseapi.c: * source/rtl/mtran.c: * source/rtl/natmsg.c: * source/rtl/samples.c: * source/rtl/set.c: * source/rtl/setcolor.c: * source/rtl/strings.c: * source/rtl/tone.c: * source/rtl/transfrm.c: Added tracing to all functions. 19991021-15:35 GMT+2 Ryszard Glab <rglab@imid.med.pl> *include/extend.h *source/rtl/memvars.c *source/vm/hvm.c * new function hb_memvarNewParameter() used to create a variable listed on PARAMETER statement (corrected bug - private variables are created instead of reusing existing ones) 19991021-16:02 GMT+3 Alexander Kresin * contrib/odbc/todbc.prg * there was an infinite loop in TOdbc():New(), * now it works correctly. 19991021-09:14 GMT+3 Alexander Kresin + contrib/odbc/todbc.prg + contrib/odbc/readme.txt * These files I got from Felipe Coury 19991021-00:50 EDT Paul Tucker <ptucker@sympatico.ca> * source/rtl/environ.c changed defined(_Windows) to defined(_WINDOWS_) since this is what gets created in Windows.h 19991021-01:48 GMT+1 Viktor Szakats * include/hbtrace.h ! TRACE() fixed to HB_TRACE() (that was a bit late :) * Some formatting. * source/common/hbtrace.c * Formatting. * source/pp/*.c source/pp/stdalone/*.c * Tabs removed. 19991020-19:40 EDT David G. Holm <dholm@jsd-llc.com> * include/hbtrace.h ! Added missing HB_ prefix to #define TRACE(x) in the #else block. 19991021-01:37 GMT+1 Viktor Szakats * include/Makefile ! Added hbtrace.h and hbwinapi.h * include/hbwinapi.h ! Minor naming correction. * include/compiler.h ! Minor cosmetic correction. * source/compiler/genc.c % Some redundant generated code text removed. * source/rtl/gtapi.c ! hb_gtWrite() it truncated one more character than needed. * source/rdd/dbfntx/dbfntx1.prg ! Local error handler extension disabled, since sometimes it doesn't work because of the random INIT procedure execution order. 19991020-19:15 EDT David G. Holm <dholm@jsd-llc.com> + include/hbwinapi.h - include/wincheck.h * source/rtl/dates.c * source/rtl/dir.c * source/rtl/environ.c * source/rtl/inkey.c % Changed name of wincheck.h to hbwinapi.h (and added missing CVS ID, Copyright and free software header, and self-check). Wed Oct 20 19:28:51 1999 Gonzalo A. Diethelm <Gonzalo.Diethelm@jda.cl> * source/Makefile: * source/common/Makefile: * source/common/hbtrace.c: * include/hbtrace.h: Added a common/ library where all "common" stuff should be implemented. For starters, I placed here a rudimentary tracing facility. Basically, all functions should be of the form: int foo(char* name /* other parameters */) { HB_TRACE(("foo(%s)", name)); /* implementation */ } If harbour is compiled with HB_DO_TRACE defined, then this will generate a trace on stderr of all functions being called (caution: it generates LOTS of output!!!). If HB_DO_TRACE is not defined, the HB_TRACE() lines are defined out and there is no performance hit. * include/hbdefs.h: Included hbtrace.h. * source/pp/hbpp.c: * source/pp/hbppint.c: * source/pp/hbpplib.c: * source/pp/stdalone/Makefile: * source/pp/stdalone/hbpp.c: Added tracing calls as a "proof of concept". * source/rtl/gt/gtwin.c: Fixed two minor typos. 19991020-21:30 GMT+1 Viktor Szakats * source/rtl/achoice.prg % FUNCTION -> PROCEDURE for speed. % Two small functions converted to macros for speed. * Formatted. (if() -> iif(), <> -> !=, some variable names standardized, S87 style comments * -> //, indent errors, etc.) * source/rtl/asort.prg % FUNCTION -> PROCEDURE for speed. * include/rddsys.h * Small aligning. 19991020-22:58 GMT+3 Alexander Kresin * source/pp/hbpp.c * Fixed bugs, reported by Antonio Linares, Viktor Szakats and Guy Roussin - contrib/odbc/bld32exe.bat - contrib/odbc/hb32.bat + contrib/odbc/bld_b32.bat + contrib/odbc/odbccall.prg + contrib/odbc/odbcdemo.prg * contrib/odbc/odbc.c * contrib/odbc/harbour.mdb * These files I got from Felipe Coury 19991020-20:23 GMT+1 Viktor Szakats * source/rtl/alert.prg source/rtl/browdb.prg source/rtl/memvarbl.prg + #include hbsetup.ch added. + include/hbsetup.ch include/hbsetup.h include/Makefile + New header file added to setup things which are common to both .PRG and .C source files, currently HARBOUR_STRICT_CLIPPER_COMPATIBILITY was moved from hbsetup.h + HB_COMPAT_C53 HB_COMPAT_XPP HB_COMPAT_VO #defines added to be able to toggle inclusion of the new features of these compilers. All these are turned on by default. * source/rtl/browdb.prg + dbSkipper() function added, it's now guarded with HARBOUR_COMPAT_XPP, so there is a possibility to switch to the fully Clipper compliant, or the Xbase++ compliant method. + NOTE added about dbSkipper. * source/rtl/filesys.c + source/rtl/binnum.c (added) * BIN2W(), BIN2I(), BIN2L(), I2BIN(), L2BIN() functions moved to a separate source file. Since these were not FileSys APi functions. WARNING ! Please update non-GNU make systems. - include/caundoc.api renamed to + include/hbundoc.api include/Makefile tests/extend2.c * Include file name standardized, now the HBUNDOC.API file should contain all undocumented API calls (not only for CA-Cl*pper). - include/harbour.ch renamed to + include/hbclip.ch include/Makefile samples/guestbk/testcgi.prg * Include file renamed to better fit into the include file naming scheme (hb prefix for all non-standard .ch files). 19991020-13:27 GMT+1 Viktor Szakats * include/extend.h source/rtl/arrays.c source/rtl/classes.c source/vm/hvm.c * Name change, to avoid possible collision. BASEARRAY -> HB_BASEARRAY PBASEARRAY -> PHB_BASEARRAY BASEARRAY_PTR -> HB_BASEARRAY_PTR NOTE: HB_ARRAY would be a better name, but that would collide with the Harbour function HB_ARRAY (ARRAY()). 19991020-12:59 GMT+1 Viktor Szakats * include/hbdefs.h source/pp/hbpplib.c source/rtl/arrays.c source/rtl/math.c source/rtl/samples.c source/rtl/tone.c source/rtl/filesys.c source/rtl/memvars.c source/compiler/harbour.y (HIBYTE(), LOBYTE(), MKLONG(), Ryszard!) source/compiler/genc.c source/compiler/genhrb.c source/compiler/genjava.c source/compiler/genobj32.c * Some global macros renamed to avoid name collision with C extend modules and standard OS makefiles. MAX() -> HB_MAX_() MIN() -> HB_MIN_() (the additional underscore is need to avoid name collisions with Harbour functions HB_MIN() and HB_MAX()) LOBYTE() -> HB_LOBYTE() HIBYTE() -> HB_HIBYTE() MKSHORT() -> HB_MKSHORT() MKUSHORT() -> HB_MKUSHORT() MKLONG() -> HB_MKLONG() * include/hbdefs.h include/hb_vmpub.h source/compiler/harbour.y (Ryszard!) source/vm/dynsym.c source/vm/hvm.c * SYMBOLSCOPE -> HB_SYMBOLSCOPE * include/extend.h source/vm/hvm.c * STACK -> HB_STACK * source/rtl/tbrowse.prg + Configure parameter added back, NOTE added that it's an undoc. feature in Clipper. * source/rtl/browdb.prg include/hbextern.ch source/runner/stdalone/external.prg + Public dbSkipper() function made STATIC, renamed to Skipped() to be Clipper compatible. Clipper doesn't have any public dbSkipper(), _dbSkipper() or Skipped() functions. - Non-Clipper compatible function _dbSkipper() removed. * Formatted. * source/rtl/browse.prg ! Small formatting correction. 19991019-19:00 EDT David G. Holm <dholm@jsd-llc.com> * config/w32/bcc32.cf ! I finally found out what I did wrong with regards to using BCC32 with the GNU Make System. I had accidentally set it up for the DOS GT API instead of for the Windows GT API! + include/wincheck.h * source/rtl/dates.c * source/rtl/dir.c * source/rtl/environ.c * source/rtl/inkey.c ! All source files that need to conditinally include the Windows API now use the new include file "wincheck.h" in order to eliminate inconsistent inclusion of "windows.h". If "windows.h" ends up being included, then the new manifest constant HARBOUR_USE_WIN is defined. * source/rtl/inkey.c ! Added Windows Console Mode translations for Alt+Tab and Shift+Tab. 19991019-11:55 GMT+1 Viktor Szakats * source/rtl/tbrowse.prg ! Fixed the header/footer separator to be drawn until the border. + ColorRect() support started. - Removed the parameter from ::Configure() calls, it was not used, and Clipper don't have such parameter. * source/rtl/browse.prg + Enhanced speed and compatibility. - Incremental refreshing. - Missing keys added. - Status line added. - Border fixed. - Setkey support added. 19991019-10:24 GMT+1 Antonio Linares <alinares@fivetech.com> * source/rtl/gt/gtwin.c * Windows apps only create a console when the debugger is linked. 19991019-01:50 EDT Paul Tucker <ptucker@sympatico.ca> * makefile.vc + source/rtl/natmsg.c * source/pp/hbpp.c * in ParseDefine() line 278: ==0 s/b <= 0 19991018-23:04 GMT+1 Viktor Szakats + source/rtl/natmsg.c (added) source/rtl/Makefile source/rtl/dummy.prg tests/rtl_test.prg + National message related functions added. ISAFFIRM(), ISNEGATIVE(), NATIONMSG() (by Jose Lalin) + _NATSORTVER(), _NATMSGVER() function added. ! Fixes and cleanup for IS*() and NATIONMSG() functions. + Regression tests added for these new functions. WARNING ! Please update non-GNU make systems. * source/rtl/dircmd.prg + NOTE added about a small anomaly in Clipper. * source/rtl/tbrowse.prg * Small changes. 19991018-14:54 GMT+1 Viktor Szakats * source/rtl/tbrowse.prg ! PgUp() fixed to set HitTop instead of HitBottom, now the cursor will not lock up in the first position. ! DevOut() changed to DispOut(), faster and Clipper compatible. % SetPos() + DispOut() -> DispOutAt() to be even faster. * source/rtl/console.c ! DISPOUTAT() color bug fixed. * source/pp/table.c ! dbClearRel() -> dbClearRelation() Using full name, otherwise Harbour will not find it. 19991018-14:10 GMT+3 Alexander Kresin * source/pp/hbpp.c * Fixed bugs, reported by Antonio Linares * source/rtl/tbrowse.prg * Fixed some problems with Left(), Right() and logical fields. 19991018-11:58 GMT+1 Viktor Szakats * source/rtl/adir.prg + SET DEFAULT handling added. * source/rtl/dir.c + FIXME: added to change to filename splitting/merging to use the hb_FName*() functions. That's why DIRECTORY() will GPF now on some systems (WinNT/MINGW32/normal slash in directory). * tests/rtl_test.prg ! Small fixes for some time parameters. * source/rtl/soundex.c ! Small pedantic fix. * source/rtl/fm.c * TODO text modified. * source/rtl/asort.prg * Small change. 19991018-09:36 GMT+1 Antonio Linares <alinares@fivetech.com> * source/rtl/gt/gtwin.c + Added support for Windows apps without console. (Now Harbour Windows apps may use the standard Harbour debugger and whatever console output is generated -for any reason- will be seen so it may be corrected!). 19991018-03:35 EDT Paul Tucker <ptucker@sympatico.ca> * makefile.vc + source/rdd/rddord.prg 19991018-09:34 GMT+1 Viktor Szakats * source/rtl/rddord.prg moved to source/rdd/rddord.prg source/rtl/Makefile source/rdd/Makefile * Moved to the proper place. WARNING ! Please update non-GNU make systems. (sorry for the huge amount of make file changes) 19991018-03:25 EDT Paul Tucker <ptucker@sympatico.ca> * makefile.vc + source/rtl/samples.c + source/rtl/soundex.c 19991018-09:28 GMT+1 Viktor Szakats * doc/gmake.txt ! win32 changed to w32. 19991018-09:21 GMT+1 Viktor Szakats + source/rtl/soundex.c source/rtl/Makefile source/rtl/dummy.prg source/rtl/rtl_test.prg doc/funclist.txt + SOUNDEX() and related regression tests added. WARNING ! Please add new file to non-GNU make systems. - source/rtl/afields.prg (removed) source/rtl/Makefile - AFIELDS() removed from the RTL, since it was already implemented in the RDD. 19991018-08:55 GMT+1 Bruno Cantero <bruno@issnet.net> * source/rtl/dummy.prg - __dbSetLocate() and __dbSetFound() functions removed. * source/rdd/dbcmd.c + Added support for __dbSetLocate() and __dbSetFound() functions. 19991018-07:36 GMT+1 Viktor Szakats + source/rtl/afields.prg source/rtl/Makefile + AFIELDS() function added (by Jose Lalin) WARNING ! Please add new file to non-GNU make systems. 19991018-00:03 GMT+1 Viktor Szakats * source/vm/hvm.c + Support for overloading the following operators: *, /, %, ^, **, !, .NOT., .AND., .OR. * tests/rtl_test.prg + Tests added for new operator overloading features. * source/vm/dynsym.c ! Small formatting fixes. 19991017-21:24 GMT+1 Viktor Szakats * source/rtl/samples.c ! hb_SecToTimeStr() bug (typo) fixed. * tests/rtl_test.prg + Tests added for new Samples functions. 19991017-20:46 GMT+1 Viktor Szakats + source/rtl/samples.c source/rtl/Makefile source/rtl/dummy.prg source/rtl/rtl_test.prg + AMPM() (tested) + DAYS() + ELAPTIME() + LENNUM() + SECS() + TSTRING() Functions added, mostly not yet tested. RTL_TEST tests added for AMPM(). WARNING ! Please add new file to non-GNU make systems. * include/extend.h + hb_strVal() prototype added. + hb_strLTrim() prototype added. * source/rtl/dummy.prg include/hbextern.ch source/runner/stdalone/external.prg ! Some internal functions removed (added today), since they seem not real Clipper functions. + Several new Clipper (documented) functions added (db*() for 5.3, and SOUNDEX()) + One new undocumented function added. (__FLEDIT) 19991017-09:00 EDT Paul Tucker <ptucker@sympatico.ca> * makefile.vc + source/rtl/oldbox.prg + source/rdd/dbnubs.c 19991017-14:36 GMT+1 Viktor Szakats * source/rdd/dbnubs.c source/rdd/Makefile include/hbextern.ch source/runner/stdalone/external.prg * Added internal versions of database commands. All undocumented. WARNING ! Please add dbnubs.c to non-GNU make systems. * source/rtl/dummy.prg include/hbextern.ch source/runner/stdalone/external.prg + __dbArrange() + __dbFList() + __dbOpenSDF() + __dbSetFound() + __dbSetLocate() + __dbTrans() + __dbTransRec() Some more undocumented, internal Clipper functions added. With these, to my knowledge *all* Clipper level, internal and undocumented functions are defined in Harbour. 19991017-13:34 GMT+1 Viktor Szakats * source/rtl/dummy.prg + Some more undocumented and internal functions added. * source/rtl/harbinit.prg + ANNOUNCE CLIPPER520, ANNCOUNT CLIPPER530 added for complete compatibility. * source/vm/hvm.c + PROCFILE() function added. It does nothing, but it's there in Clipper. * include/hbextern.ch source/runner/stdalone/external.prg * Updated. ANNOUNCE-s also added this time. 19991017-13:04 GMT+1 Bruno Cantero <bruno@issnet.net> * source/rtl/dummy.prg - __dbLocate() and __dbContinue() functions removed. * include/rddapi.h source/rdd/dbcmd.c source/rdd/dbf1.c source/rdd/dbfcdx/dbfcdx1.c + Added support for __dbLocate() and __dbContinue() functions. * tests/testdbf.prg * Now use test.dbf file and test __dbLocate() and __dbContinue() functions. 19991017-12:57 GMT+1 Viktor Szakats * source/rtl/environ.c + GETE() undocumented Clipper function added. * source/rtl/memvars.c + __QQPUB() function added. % Some variable scopes adjusted. * source/rtl/dummy.prg - __QQPUB() removed. * source/rtl/classes.c + HB___CLASSNEW() + HB___CLASSINSTANCE() + HB___CLASSADD() + HB___CLASSNAME() + HB___CLASSSEL() Clipper compatibility functions added. + source/rtl/oldclear.c source/rtl/Makefile + __CLEAR() + __ATCLEAR() Undocumented Clipper functions added. Please add oldclear.c to non-GNU make systems. 19991017-08:51 GMT+1 Viktor Szakats * tests/Makefile + tstalias.prg added * tests/tstalias.prg + CVS ID header added 19991016-22:40 GMT+8 Ron Pinkas <Ron@Profit-Master.com> * harbour.y + added support for _FIELD->Expression and _FIELD->ALIAS->Expression "REPLACE Field WITH Exp" and "REPLACE ALIAS->Field WITH Exp" are supported "REPLACE 1->Field WITH Exp" will compile but requires some more work by Ryszard. + added support for Aliased Variables in Push/Pop support. + added "Invalid alias expression" error to _szCERRORS. - Removed Todo # 9 support for _FIELD->Alias->Field. * harbour.l + added {Integer} definition - used by _Field->Area#-> rule + added MEMV->& and MEMVA&-> to MACROOP defeinition. + added rules for _FIELD->"{Integer}"->", _FIELD->"{Number}"->" (Error condition), _FIELD->"{Integer}"->" and _FIELD->"{Identifier}"->" * Hberror.h + added #define ERR_ALIASEXP 38 + /Tests/TstAlias.prg added new test to demonstrate support for aliased expression. 19991016-18:40 GMT+8 Ron Pinkas <Ron@Profit-Master.com> * harbour.y * Corrected bug with Push/Pop optimizer and BlockList. 19991016-14:40 GMT+8 Ron Pinkas <Ron@Profit-Master.com> * compiler.h + added lLstPushPos to PFUNCTION structure to support nesting (like in blocks ). * harbour.y * Corrected bug with Push/Pop optimizer when var assignment in CodeBlock used. + added Push/Pop Optimizer support to CodeBlock expressions list. 19991016-20:46 GMT+1 Viktor Szakats * tests/test.dbf ! Readded in binary mode 19991016-19:07 GMT+1 Antonio Linares <alinares@fivetech.com> + tests/test.dbf + 500 records with random information added. (SuccessWare's dbcre8.exe 500 used to generate it) (Now tests/testbrdb.prg may be properly tested). 19991016-14:25 GMT+1 Viktor Szakats * source/rtl/gt/gtwin.c source/rtl/inkey.c * Renamed variable name HInput to hb_gtHInput * tests/Makefile + testbrdb.prg added 19991016-10:06 GMT+1 Viktor Szakats * source/rtl/Makefile + browse.prg added * source/compiler/harbour.y ! Temporarily commented out the new code from RemoveExtraPush() since it broke many existing code. 19991016-03:08 EDT Paul Tucker <ptucker@sympatico.ca> * makefile.vc + source/rtl/browse.prg 19991016-08:52 GMT+1 Antonio Linares <alinares@fivetech.com> + source/rtl/browse.prg + New function Browse() added (early prototype. Still some missing functionality). * source/rtl/dummy.prg - function Browse() removed. * makefile.b32 + added browse.prg (warning I have not updated other makefiles!) + tests/testbrdb.prg + New sample added. 19991016-00:10 EDT David G. Holm <dholm@jsd-llc.com> * doc/gmake.txt + Documented C_USR and -DHARBOUR_USE_<platform>_GTAPI were missing. 19991016-00:00 EDT David G. Holm <dholm@jsd-llc.com> * source/rtl/set.c ! HB_DEFPATH() (and consequently HB___DEFPATH()) now append a drive or path delimiter if the default path does not have one at the end. 19991015-23:25 EDT Paul Tucker <ptucker@sympatico.ca> * source/compiler/harbour.c + || defined(_MSC_VER) around isatty() This allows gnu make to compile harbour.exe It doesn't seem to affect ms make * doc/gmake.txt * updated notes regarding MSVC 19991015-23:15 EDT David G. Holm <dholm@jsd-llc.com> * include/set.h * include/set.ch * source/pp/table.c * source/rtl/set.c * tests/set_num.prg * tests/set_test.prg + Added missing Clipper 5.3 SETs: HB_SET_VIDEOMODE HB_SET_MBLOCKSIZE HB_SET_MFILEEXT HB_SET_STRICTREAD HB_SET_OPTIMIZE HB_SET_AUTOPEN HB_SET_AUTORDER HB_SET_AUTOSHARE Not knowing what their defaults should be, I defaulted the first two to 0, the third one to '\0', and the rest to FALSE. 19991015-22:00 EDT David G. Holm <dholm@jsd-llc.com> * source/rtl/inkey.c - Removed Windows #ifdefs from DOS-style keyboard input. - Removed special handling for Borland C when used with Windows. - Removed Cygwin from Unix-like keyboard input support. + Windows keyboard input now uses Windows Console Mode functions GetNumberOfConsoleInputEvents() and ReadConsoleInput() and a whole lot of key code translation. NOTE 1: If INKEY_EXTENDED is used, then device-independent key codes are used instead of keyboard scan codes and no attempt is made to map extended keys to their Clipper equivalents. All key codes have 256 added to them. Enhanced adds 512, Shift adds 1024, Left Ctrl adds 2048, Right Ctrl adds 4096, Left Alt adds 8192, and Right Alt adds 16,384. Normal keys are in the range 0 to 255. A value that is larger than 255 represents an extended key. All state keys generate key codes. Use the test program INKEYTST with two parameters (such as S and X) to display the codes. NOTE 2: This is just an experiment to see if allowing Harbour to get all key codes when run under Windows is a good idea. NOTE 3: If INKEY_EXTENDED is not used, then keyboard scan codes are used and extended codes are translated to Clipper codes( and state keys do not generate key codes). * source/rtl/gt/gtwin.c % Removed 'static' declaration from 'HANDLE HInput;', so that hb_inkeyPoll() doesn't have to duplicate the initialization. Fri Oct 15 16:42:30 1999 Gonzalo A. Diethelm <Gonzalo.Diethelm@jda.cl> * config/lib.cf: * source/debug/Makefile: * source/pp/Makefile: * source/rdd/Makefile: * source/rdd/dbfcdx/Makefile: * source/rdd/dbfntx/Makefile: * source/rdd/nulsys/Makefile: * source/rtl/Makefile: * source/runner/Makefile: * source/tools/Makefile: * source/vm/Makefile: Now Makefiles that will create a library use LIBNAME for the library's name; the LIB variable is not used anymore, so it will not conflict with the widely used environment variable with that name. Thanks to Paul Tucker <ptucker@sympatico.ca> for pointing this out. 19991015-18:45 GMT+1 Bruno Cantero <bruno@issnet.net> * source/rdd/dbcmd.c * Bug removed, default alias work if not alias and extension is specified. * source/rdd/dbf1.c * Bug removed, Bof() now work properly. 19991015-09:53 GMT+3 Alexander Kresin * source/pp/hbpp.c * Fixed little bug, reported by Antonio Linares 19991015-02:04 GMT+1 Viktor Szakats * source/compiler/genjava.c + Java source generation added to the compiler (by Matteo Baccan) * source/rtl/filesys.c + FIXME: added to hb_fsIsDrv() (by Jose Lalin) * source/rtl/dates.c ! Some pp directives indented. Thu Oct 14 17:29:32 1999 Gonzalo A. Diethelm <Gonzalo.Diethelm@jda.cl> * source/rtl/dates.c: Fixed an include guard so that HB_DONT_DEFINE_BASIC_TYPES is defined for both gcc and mingw32. 19991014-18:17 GMT+1 Viktor Szakats * source/compiler/genc.c ! Fixed pcode generation with /gc0 switch for MODULENAME opcode. There was an incrementation operator embedded in an expression, which was not executed in this case. 19991014-18:13 GMT+1 Bruno Cantero <bruno@issnet.net> * source/rdd/dbcmd.c * Removed some low-level access to item.asArray 19991014-16:18 GMT+3 Alexander Kresin * source/pp/hbpp.c * source/pp/hbppint.c * source/pp/stdalone/hbpp.c * Fixed some bugs, reported by Antonio Linares, Viktor Szakats and Jose Lalin 19991013-20:10 GMT+8 Ron Pinkas <Ron@Profit-Master.com> * harbour.y + added rules to allow inline assignment to RIVATE/PUBLIC &cVar (as in PRIVATE &cVar := 'Hello'). + added extern char *yytext to have acces to the original string form of numbers. * harbour.l + added rules to support new TOKEN MACROOP and completed support for macro in MODES PRIVATE and PUBLIC_ (Ryszard TODO removed). * tests/tstmacro.prg added more tests to demonstrate working capabilities of macro. 19991013-01:40 GMT+1 Viktor Szakats * source/rtl/dates.c ! #ifdef ...WIN_GTAPI changed to proper platform tests. 19991013-19:05 EDT David G. Holm <dholm@jsd-llc.com> * include/itemapi.h + Added a prototype for hb_itemString(). + Added a prototype for hb_itemValToStr(). * source/compiler/harbour.l ! Removed yy_strdup() call from yy_ConvertNumber(). * source/rtl/console.c - Removed the string conversion code from hb_out(). + Added a call to hb_itemString() to hb_out(). * source/rtl/dates.c ! Corrected two erroneous instances of 'hb_stack.szDate' in hb_dateDecStr() to use the 'szDate' parameter instead. * source/rtl/itemapi.c + Moved hb_itemStr() from source/rtl/strings.c + New function hb_itemString() converts practically any value to a string (this is a modification of the string conversion code that used to be in hb_out() in source/rtl/console.c). + New function hb_itemValToStr(), suggested by Antonio Linares. * source/rtl/strings.c - Moved hb_itemStr() to source/rtl/itemapi.c + New function HB_HB_VALTOSTR(), suggested by Antonio Linares. * tests/rtl_test.prg + Added several HB_VALTOSTR() tests. Note: hb_itemStr() is not re-entrant and probably not thread-safe. I'm not sure how to correct for that without requiring that the caller free up strings allocated by this function, which I would very much like to avoid. Any ideas? 19991013-13:46 GMT+8 Ron Pinkas <Ron@Profit-Master.com> * harbour.y + added MACROOP (last session also added MACROALIAS) + added rules to complete support for PRIVATE/PUBLIC &cVar - it now supports any mix of variables and macros. * harbour.l + added rules to support new TOKEN MACROOP and completed support for macro in MODES PRIVATE and PUBLIC_ (Ryszard TODO removed). * tests/tstmacro.prg added even more tests to demonstrate working capabilities of macro. 19991013-17:45 EDT Paul Tucker <ptucker@sympatico.ca> * source/rtl/oldbox.c * Add parens so cast applies to entire expression 19991013-22:37 GMT+1 Viktor Szakats * tests/rtl_test.prg * Column width adjusted. 19991013-22:26 GMT+1 Viktor Szakats * source/rtl/oldbox.c source/rtl/Makefile tests/boxtest.prg tests/Makefile makefile.b32 makefile.b16 makefile.vc + __BOX*() undocumented Clipper functions added. (Thanks to Jose Lalin) + Added to all make systems, please try them. * makefile.b32 runner.b32 ! Fixed and updated by Jose Lalin 19991013-11:00 GMT+8 Ron Pinkas <Ron@Profit-Master.com> * harbour.y + added TOKEN DOT and rules to support concatenation of Var and constant in macro variables assignments (like &cVar.PlusFix). + added rules to support PRIVATE/PUBLIC &cVar * harbour.l + added rules to support new TOKEN DOT and yylval.string to have the string value when parsing DOUBLE. * tests/tstmacro.prg added many tests to demonstrate working capabilities of macro. 19991013-13:52 EDT Paul Tucker <ptucker@sympatico.ca> * source/rtl/inkey.c + borland c 4.5 fixes as reported by Felipe 19991013-18:37 GMT+1 Antonio Linares <alinares@fivetech.com> * source/rtl/browdb.prg * Renamed function to public function DbSkipper() * New function _DbSkipper() (just calls DbSkipper()) 19991013-14:06 GMT+1 Bruno Cantero <bruno@issnet.net> * source/rdd/dbf1.c source/rdd/dbfcdx/dbfcdx1.c * Errors on open or create operations now report the correct number. 19991013-03:13 GMT+8 Ron Pinkas <Ron@Profit-Master.com> * harbour.y + added TOKEN MACROALIAS and rules to support MemVar aliased macro and non aliased macro variables assignments. * harbour.l + added rules to support new TOKEN MACROALIAS +tests/tstmacro.prg sample program to demonstarte new macro assigments support. 19991012-20:41 GMT+1 Viktor Szakats * tests/rtl_test.prg + Tough FOR/NEXT tests added, many of them will not pass. ! Small fixes. 19991012-20:25 GMT+1 Bruno Cantero <bruno@issnet.net> * include/rddapi.h source/rdd/dbcmd.c source/rdd/dbf1.c source/rdd/dbfcdx/dbfcdx1.c * Fixed a GPF (when an open or create error occurs). 19991012-16:00 GMT+1 Viktor Szakats * source/vm/hvm.c ! hb_vmAnd(), hb_vmOr() - Value substitution on error added to .AND. and .OR. operators. (mentioned by Jose) 19991012-14:00 GMT+1 Antonio Linares <alinares@fivetech.com> * source/rtl/dates.c + Added support for Windows requirements. * include/hbclass.ch + Added support for METHOD ... OPERATOR ... for Harbour operators overloading. (An outstanding job from Eddie!) 19991012-13:13 GMT+1 Viktor Szakats * include/clipdefs.h ! ERRCODE typedef removed from here, since it has been moved to extend.h. 19991012-10:38 GMT+2 Ryszard Glab <rglab@imid.med.pl> *samples/pe * new directory with a sample editor that can be used as a base for MEMOEDIT and TEditor class 19991012-00:52 EDT Paul Tucker <ptucker@sympatico.ca> * makefile.vc + source/rtl/input.prg + source/rtl/setta.prg + source/rtl/wait.prg 19991012-03:12 GMT+1 Viktor Szakats * source/compiler/harbour.y ! lLastPushPos -> _lLastPushPos 19991012-02:50 GMT+1 Viktor Szakats * include/caundoc.h + _bcmp, _bscan added (thanks to Matteo Baccan) * source/rtl/set.c + FIXME: added for DEFPATH() * source/rtl/Makefile + source/rtl/input.prg + source/rtl/setta.prg + source/rtl/wait.prg + __INPUT(), __WAIT(), SETTYPEAHEAD() functions added. (Thanks to Jose Lalin) Note that INPUT() is not yet working, since it require macro functionality. Please add them to non-GNU make systems. 19991012-02:30 GMT+1 Viktor Szakats * source/rtl/filesys.c + Added some info about driver numbering to hb_fsChDrv(), hb_fsIsDrv(), hb_fsCurDrv(), hb_fsCurDir() + hb_fsIsDevice() added. (by Jose Lalin), return value type changed to BOOL to match Clipper. ! hb_fsIsDrv(), hb_fsChDrv() fixed to call the OS functions with the right drive number. (Please test this!) * include/ctoharb.h + More undocumented file functions added. (by Jose Lalin) * include/filesys.h ! Missing hb_fsSetDev*() prototypes added. * include/ctoharb.h ! Double copyright header fixed. * source/vm/hvm.c % w += 1 -> w++ 19991011-23:54 GMT+1 Viktor Szakats * source/rtl/fm.c + Newline readded to the closing //INFO message ;) * source/rdd/dbfcdx/dbfcdx1.prg - Removed the Inithandler/LockErrHandler since they are not there in Clipper. 19991011-14:20 EDT David G. Holm <dholm@jsd-llc.com> * source/rtl/set.c ! Corrected handling of NIL second parameter for SET() when the first parameter is _SET_ALTFILE, _SET_DEVICE, _SET_EXTRAFILE, or _SET_PRINTFILE. 19991011-19:30 GMT+1 Bruno Cantero <bruno@issnet.net> * source/rtl/dummy.prg - Removed dbSetFilter(), dbClearFilter() and dbFilter() functions. * include/rddapi.h * source/rdd/dbcmd.c * source/rdd/dbf1.c * source/rdd/dbfcdx/dbfcdx1.c * Fixed SET DELETED. + Added dbClearFilter(), dbFilter() and dbSetFilter() functions. * doc/funclist.txt * Updated status of dbSetFilter(), dbClearFilter() and dbFilter() functions. * tests/testrdd.prg * Fixed a bug. * tests/testdbf.prg * Now test dbClearFilter(), dbFilter() and dbSetFilter() functions too. 19991011-04:59 GMT+8 Ron Pinkas <Ron@Profit-Master.com> * harbour.y + SetLastPushPos() to bookmark position of last possible redundant push. + RemoveExtraPush() to reset pFunc->lpCodePos to last known bookmark - in effect removing redundant last push. 19991011-13:42 GMT+1 Antonio Linares <alinares@fivetech.com> * source/vm/hvm.c * Finally fixed. Victor changed a wrong one I posted and then all the stack underflow mess started. Everything is ok now. 19991011-10:40 GMT+1 Viktor Szakats * source/vm/hvm.c ! __vmVarSList() <-> __vmVarSGet(), the function names were mistakenly exchanged, now OK. % __vmVarSGet() - Simplified. * source/vm/hvm.c ! HB_P_NOOP - Caused an infinite loop, fixed. (again) % hb_vmPlus(), hb_vmMinus() - Two returns from inside removed. (again) 19991011-10:04 GMT+1 Antonio Linares <alinares@fivetech.com> * source/rtl/classes.c + little change to fix Super accesses * source/vm/hvm.c + little change to fix Super accesses * include/extend.h + struct BASEARRAY new uiPrevHolders member added 19991010-23:30 GMT+1 Bruno Cantero <bruno@issnet.net> + source/rdd/dbcmd.c + source/rdd/dbf1.c + Added support for SET DELETED. * Changed default extension from .DBF and .DBT to .dbf and .dbt * source/rdd/dbfcdx/dbfcdx1.c * Changed default extension from .FPT to .fpt * tests/testdbf.prg * Now test SET DELETED command too. + source/rdd/dbfcdx/Makefile + Added missing file. 19991010-15:05 GMT+1 Viktor Szakats * source/rtl/filesys.c + ISDISK() undocumented Clipper 5.3 function added. ! DISKCHANGE() fixed to call hb_fsChDrv() with the right parameter. ! hb_fsIsDrv(), hb_fsChDrv() return value fixed, since it returned the reverse of the proper value. * int types converted to USHORT for uiErrorOld variables. 19991010-14:03 GMT+1 Viktor Szakats * bin/*.bat + dbfcdx lib added. 19991010-13:36 GMT+1 Viktor Szakats * source/vm/hvm.c ! HB_P_NOOP - Caused an infinite loop, fixed. % hb_vmPlus(), hb_vmMinus() - Two returns from inside removed. 19991010-13:26 GMT+1 Bruno Cantero <bruno@issnet.net> * include/rddapi.h * source/rdd/dbcmd.c + Added undocumented parameters: dbCreate( cFileName, aStruct, cRDD, lNew, cAlias, cDelimiter ) lNew: if specified, the created file will also be opened. If .F. this will be done in the current workarea; if .T. this will be done in the next available. cAlias: Alias for the workarea. cDelimiter: for the DELIM driver (not implemented yet). * source/rdd/dbf1.c * SELF_OPEN(), now generate an error with retry possibility. * SELF_OPENMEMFILE(), now generate an error with retry possibility. * SELF_CREATE(), now generate an error with retry possibility. * SELF_CREATEMEMFILE(), now generate an error with retry possibility. * SELF_INFO(), more values. + source/rdd/dbfcdx/Makefile + source/rdd/dbfcdx/dbfcdx0.prg + source/rdd/dbfcdx/dbfcdx1.c + Files for the DBFCDX driver. + .DBT and .FPT file memos. * rdd.b32 * makefile.vc * config/global.cf * tests/bld_vc.bat * Added new driver. * tests/testdbf.prg * Test for undocumented parameters in dbCreate() * Test for the DBFCDX driver. 19991010-13:25 GMT+2 Ryszard Glab <rglab@imid.med.pl> *source/rtl/console.c * replaced USHORT for SHORT in adjust_pos *source/rtl/filesys.c * added WATCOMC branch for drive related functions We really need documentation here ! QUESTION: Does drive numbering start from 0 or 1 ? Is a A: drive numbered as 0 or 1 ? *source/compiler/harbour.l *source/compiler/harbour.y * { 1, 2, 3 }[ 2 ] syntax is supported now 19991010-12:22 GMT+1 Viktor Szakats * source/compiler/genc.c source/compiler/genhrb.c source/compiler/harbour.y source/vm/hvm.c % HB_P_STATICS now stores the number of statics in the pcode command itself and doesn't POP it from the stack. This causes a small speedup in the STATIC init code. * source/compiler/harbour.y source/compiler/genc.c include/compiler.h + /gc0 switch added to generate C code without comments, this makes it about 30% percent smaller, good for large code bases. 19991010-07:28 GMT+1 Antonio Linares <alinares@fivetech.com> * source/rtl/classes.c - Undone latest changes from Eddie * source/vm/hvm.c - Undone latest changes from Eddie * include/extend.h - Undone latest changes from Eddie (Eddie, I find your proposal very good -as all your ideas and code- but this one is uncompleted and breaks actual Harbour OO architecture) 19991010-02:05 GMT+1 Viktor Szakats * bin/*.bat ! Some minor fix in the help screens * doc/funclist.txt + Changed the format, now the third column (which was not in use) is meant to store the platform and multithreading support information. * source/compiler/harbour.y + One TODO added. * include/*.api include/assert.ch include/common.ch include/fileio.ch include/harbour.ch include/hbclass.ch include/hbextern.ch include/hbmemvar.ch include/hboo.ch include/inkey.ch include/reserved.ch include/std.ch include/clipdefs.h include/filesys.h source/rtl/filesys.c source/rtl/console.c ! FM_ #define names replaced with FD_ ones for Clipper compatibility. ! FXO_, FL_ #defines moved to filesys.h from filesys.ch for full compat. ! *.API guard names made compatible. ! Some missing #defines added to .API files (assert.ch, filesys.api) ! Small compatibility enhancement in extend.api (XDOUBLE) ! Guard names adjusted (mostly where filenames have changed). + Missing guard added to hbextern.ch + Harbour only #defines in compatbility headers prefixed with HB_ * Makefile + Added the samples to the make process, but it's commented out. 19991009-22:19 GMT+1 Antonio Linares <alinares@fivetech.com> * source/compiler/harbour.y * a[ b ]:c expressions fixed. 19991007-19:40 GMT+1 Viktor Szakats * tests/mankala.prg -> samples/misc/mankala.prg tests/guess.prg -> samples/misc/guess.prg tests/Makefile * Sample type of tests moved to /samples directory * samples/hscript/guest*.* -> samples/guestbk/*.* * Separated hscript and guestbk. * samples/hscript/*.bat samples/guestbk/*.bat + Borland build batch files updated, standardized. ! Fixed some issues, hb_OSNewLine() usage added, some RTL function names updated, minor fixes applied, now both works with the GNU make system (tested with MINGW32) + samples/Makefile samples/guestbk/Makefile samples/hscript/Makefile samples/misc/Makefile + GNU make files added for the samples. They are currently not invoked by the mainstream make process, but can be invoked manually. * tests/testcgi.prg % Got rid of s_cNewLine, so the HTML class no longer requires this variable. 19991008-20:00 CET Eddie Runia <eddie@runia.com> * include/extend.h uiPrevCls added to BASEARRAY * source/rtl/classes.c PrevCls set with previous class when using Super * source/vm/hvm.c Previous class handle restore _after_ retrieving the method + tests/inhprob.c Test program 19991008-15:42 GMT+2 Ryszard Glab <rglab@imid.med.pl> *source/rdd/dbcmd.c * removed all direct modifications of memory buffers returned by hb_parc() function 19991008-06:31 EDT Paul Tucker <ptucker@sympatico.ca> * source\compiler\genc.c + && !defined(_MSC_VER) on generation of #pragma startup 19991007-23:18 GMT+1 Antonio Linares <alinares@fivetech.com> * source/rtl/tclass.prg * Method SetType() small fix (missing else). 19991007-17:37 GMT+1 Viktor Szakats * source/rdd/rddsys.prg ! Now using __rddSetDefault() instead of rddSetDefault(). This is required because at this point the requested RDD may not be registered and __rddSetDefault() will count with this. * source/rdd/dbcmd.c ! dbSetDriver() now throws the same error as Clipper. + __rddSetDefault(), alternate version of rddSetDefault() added which will not make any errors. * source/compiler/expropt.c + Small formatting fixes, file description fixed. * include/gtapi.h source/rtl/gtapi.c source/rtl/console.c * short -> SHORT + doc/cvshowto.txt + Text file describing the CVS update process. 19991007-17:55 GMT+2 Ryszard Glab <rglab@imid.med.pl> *source/coompiler/expropt.c * added RCS Id header * added Ron Pinkas as copyright holder because he is the initial creator of this code 19991007-11:30 EDT Paul Tucker <ptucker@sympatico.ca> * makefile.vc * removed symbols.obj from compiler - I thought it needed it, but not so. * shortened filelist for Harbour.exe to $** 19991007-17:00 GMT+2 Ryszard Glab <rglab@imid.med.pl> *source/compiler/harbour.y *source/coompiler/expropt.c *include/compiler.h * moved all code related to checking of expressions value type into th enew expropt.c file - it should be a good starting point for the expressions optimalizer * many coorections (rtl_test.prg doesn't GPF now when compiled with -w option) - however this type checking didn't worked correctly and it still doesn't work * moved PSTACK_VAL_TYPE stucture into expropt.c *source/compiler/harbour.y * applied changes posted by Eddie Runia to correct compile a:b[ 1 ]:c syntax *source/compiler/Makefile *makefile.b32 *makefile.vc * added expropt.c (not tested) *source/rtl/dates.c * change in #include (error in Linux) <sys\timeb.h> -> <sys/timeb.h> 19991007-09:16 GMT+1 Antonio Linares <alinares@fivetech.com> * source/rtl/tclass.prg * Method SetType() defaults init value to .f. when AS LOGICAL is specified. 19991007-01:02 EDT Paul Tucker <ptucker@sympatico.ca> * makefile.vc + source/rtl/readkey 19991007-02:57 GMT+1 Viktor Szakats * include/filesys.h source/rtl/filesys.c ! UINT_MAX changed to USHORT_MAX * source/tools/fileread.prg + "s_" prefix added to STATIC variable name. * source/rdd/dbcmd.c ! RDDSETDEFAULT() now throws an error if a non-existing RDD name is passed. Like in Clipper. + FIXME: added about directly modified hb_parc() buffers. * source/rtl/tget.prg ! Mistyped object variable names corrected. ! :display now leaves to cursor at a Clipper compatible position. Cursor is positioned explicitly after internal :display calls. * source/rtl/tgetlist.prg + missing DateMsg() method added. 19991006-20:20 EDT Paul Tucker <ptucker@sympatico.ca> * makefile.vc * changed mainstd.c to main.c 19991007-01:42 GMT+1 Viktor Szakats * include/filesys.h source/rtl/filesys.c % Only use hb_fsReadLarge() and hb_fsWriteLarge() when the size of an unsigned int is not the same as the size of an unsigned long. (Same logic as for xmem*() functions) * source/rtl/dummy.prg - ReadKey() removed. 19991007-01:16 GMT+1 Viktor Szakats + source/vm/main.c (added) source/vm/Makefile include/hbsetup.h + main.c added as an includer for mainwin.c or mainstd.c, selectable via #defines in hbsetup.h, or via command line, just like the GTAPI and MOUSEAPI selection. Can be used from all build systems. * source/rtl/memoline.c ! Small formatting fix. 19991006-18:55 EDT Paul Tucker <ptucker@sympatico.ca> * makefile.vc * corrected creation of hbrun.exe 19991006-17:05 EDT Paul Tucker <ptucker@sympatico.ca> * source/rtl/gtapi.c * enable dispbegin/end calls in gtBox 19991006-21:08 GMT+1 Antonio Linares <alinares@fivetech.com> * source/rtl/classes.c * Fixed bug for CLASSDATAs INIT clause on inherited classes. 19991006-15:05 EDT Paul Tucker <ptucker@sympatico.ca> * makefile.vc + source/rtl/dummy.prg * move -DHARBOUR_OBJ_GENERATION flag to harbour.exe generation only * source/rtl/memoline.c * added a cast (again) on xgrab call. 19991006-20:11 GMT+1 Viktor Szakats * source/rtl/tgetlist.prg ! ReadExit() added back as method. 19991006-19:14 GMT+1 Antonio Linares <alinares@fivetech.com> * source/rtl/classes.c * Fixed bug for CLASSDATAs INIT clause. 19991006-18:34 GMT+1 Viktor Szakats * source/rtl/filesys.c include/hbdefs.h ! BIN2I() sign bug fixed Thanks to gjd@casema.net <Gerrit Jan Doornink> * source/rtl/dummy.prg ! Fixed some return values. 19991006-11:20 EDT David G. Holm <dholm@jsd-llc.com> * config/os2/icc.cf + Added way to select startup model using HB_MAIN, because ICC won't resolve main() from vm library. * tests/Makefile + Added HB_MAIN=std (but only if HB_MAIN not already set). + Added devtest.prg + Added disptest.prg + tests/devtest.prg + New module to test Clipper device compatibility. + tests/disptest.prg + New module to test Clipper display compatibility. 19991006-14:35 GMT+1 Viktor Szakats * source/rtl/dummy.prg source/rtl/Makefile source/rtl/rddord.prg include/hbextern.ch source/runner/stdalone/external.prg + All not yet implemented function skeletons added or moved to dummy.prg so that the number of unresolved externals will be reduced, and we can have a better view about what is left to do. Also updating EXTERNAL.PRG and HBEXTERN.CH will not be needed so frequently. * doc/funclist.txt source/rtl/readkey.prg source/rtl/Makefile + READKEY() added. * doc/funclist.txt + ORDCONDSET() added to the TODO list. * source/runner/stdalone/external.prg include/hbextern.ch + MEMOLINE()/MLCOUNT() added. * tests/run_tsta.bat -> tests/run_test.bat * Renamed. + Comments. * tests/run_b32.bat -> tests/bld_b32o.bat ! Small fix. * Renamed. !! WARNING !! Please modify non-GNU make files. 19991006-13:19 GMT+1 Viktor Szakats * source/rtl/memoline.c source/rtl/mlcount.c ! TAB handling fixes for MEMOLINE() and MLCOUNT() by Ignacio Ortiz de Zuniga <ignacio@fivetech.com> * All USHORTs changed to ULONG. 19991006-13:05 GMT+1 Viktor Szakats * source/rtl/tclass.prg ! Reformatted (again) * include/rdd.api include/item.api include/gt.api include/error.api include/extend.api + Copyright added. * source/rtl/gtxxx.c source/rtl/mousexxx.c % Simplified the include logic, got rid of #error, since it was now obsolete. * source/rtl/memoline.c source/rtl/gtapi.c ! Some minor formatting fixes. 19991006-12:10 GMT+1 Viktor Szakats * include/extend.h rdd/dbcmd.c rtl/arrays.c rtl/classes.c rtl/codebloc.c rtl/dates.c rtl/errorapi.c rtl/extend.c rtl/itemapi.c runner/runlib.c vm/debug.c vm/hvm.c * stack -> hb_stack Global variable name renamed to protect non-Harbour namespace. * doc/funclist.txt + Updated (as per Chen Kedem) * tests/funcarr.prg tests/inherit.prg tests/objarr.prg tests/objasign.prg ! Debug function name changes applied (reported by David) * source/rtl/environ.c ! Indentation fix (old one). 19991006-10:44 GMT+1 Viktor Szakats * ChangeLog ! Fixed deleted entries, missing entries, conflict markers, double entries. * include/Makefile + harbour.ch added * include/harbour.ch ! Some minor fixes. 19991006-07:41 GMT+1 Antonio Linares <alinares@fivetech.com> * makefile.b32 + missing include source\compiler path compiling harboury.c * source/rtl/classes.c + Added support for CLASSDATAs INIT clause. * source/rtl/tclass.prg + Added support for CLASSDATAs INIT clause. * include/hboo.ch + new defines added for CLASSDATAS. 19991006-00:30 GMT+1 Jose Lalin <dezac@corevia.com> * source/rtl/natmsg/msgeu.c ! full translated. Thanks to Nicolas del Pozo <niko@geroa-informatica.com> * source/rtl/natmsg/msgga.c * small changes 19991006-01:10 EDT David G. Holm <dholm@jsd-llc.com> * source/rtl/dates.c % SECONDS() now uses ftime() and localtime() for all platforms. * source/rtl/environ.c + Added HB_VERSION() changes supplied by Jose Lalin with corrections for the compiler version and revision for Borland C 3.1 and 5.x, Cygnus GCC with Cygwin, Cygnus GCC with Mingw32, and Delorie GCC. * source/rtl/set.c + Added HB_DEFPATH() and HB___DEFPATH() supplied by Jose Lalin. * include/extend.h * source/rtl/fm.c % Only use hb_xmemcopy() and hb_xmemset() when the size of an unsigned int is not the same as the size of an unsigned long. * include/gtapi.h * source/rtl/console.c * source/rtl/gtapi.c ! DEVPOS(), SETPOS(), console cursor position, and console display functions modified for improved Clipper compatibility. 19991005-23:20 EDT Paul Tucker <ptucker@sympatico.ca> + include/harbour.ch * This file is meant as a repository of defines or translations needed to allow CA-Cl*pper to compile programs that take advantage of any Harbour specific extensions or additions to the language. Currently, it only handles a substitute for HB_OsNewLine() 19991006-03:02 GMT+1 Viktor Szakats * include/extend.h source/rtl/arrays.c source/rtl/classes.c source/rtl/do.c source/rtl/itemapi.c source/vm/hvm.c * hb_g_symEval -> hb_symEval * source/vm/mainwin.c * hb_g_* -> hb_* * source/vm/hvm.c ! aStatics made static now for sure. * source/rtl/strings.c ! Typo fixed. * source/rtl/memoline.c ! Formatting fix. 19991005-20:35 EDT Paul Tucker <ptucker@sympatico.ca> * source/rtl/memoline.c * add a cast on xgrab call. 19991006-02:26 GMT+1 Viktor Szakats * include/set.h source/rtl/set.c source/rtl/console.c source/rtl/transfrm.c ! 64 changed to CLR_STRLEN in set.h * Separate global "set" variables moved inside HB_SET_STRUCT * include/caundoc.api + _bset, _bmove, _bcopy undocumented Clipper functions added, they are mapped to mem*() functions. * source/vm/main*.c ! Typo fixed. 19991006-00:32 GMT+1 Viktor Szakats * include/extend.h source/vm/debug.c source/vm/hvm.c * aStatics made static, prefixed with "s_" __vmVarSGet(), __vmVarSList moved to hvm.c from debug.c * source/vm/debug.c include/hbextern.ch source/runner/stdalone/external.prg source/debug/debugger.prg tests/debugtst.prg * __APARAM -> __vmParLList __GETLOCAL -> __vmVarLGet __STATIC -> __vmVarSGet __ASTATIC -> __vmVarSList __GLOBALSTACKLEN -> __vmStkGCount __AGLOBALSTACK -> __vmStkGList __STACKLEN -> __vmStkLCount __ASTACK -> __vmStkLList Functions renamed. * source/rdd/dbcmd.c + zeros changed to NULL/'\0' * source/debug/debugger.prg source/rtl/menuto.prg source/rtl/setkey.prg source/rtl/tclass.prg source/rtl/terror.prg source/tools/fileread.prg + static var names prefixed with "s_" in all .PRG modules. * source/rtl/console.c doc/funclist.txt + DISPOUTAT() undocumented Clipper function added. * include/extend.h source/rtl/arrays.c source/rtl/classes.c source/rtl/do.c source/rtl/itemapi.c source/vm/hvm.c * symEval -> hb_g_symEval Global variable prefixed with "hb_g_". 19991005-17:30 EDT Paul Tucker <ptucker@sympatico.ca> * makefile.vc + source/rtl/mlcount + source/rtl/memoline + source/vm/mainstd (for now) + source/rtl/rddord * gtapi.obj moved to terminal.lib * duplicate console.obj removed from terminal.lib (as reported by Gerrit Jan Doornink <gjd@casema.net>) Tue Oct 05 14:44:16 1999 Gonzalo A. Diethelm <Gonzalo.Diethelm@jda.cl> * source/rtl/filesys.c (hb_fsTell): Replaced use of tell() with an equivalent call to lseek(), so that this is supported under gcc. 19991005-20:34 GMT+1 Viktor Szakats * include/hbextern.ch source/runner/stdalone/external.prg - One of the two HB_OSNEWLINE removed. + source/rtl/memoline.c source/rtl/Makefile doc/funclist.txt + MEMOLINE() added (thanks to Ignacio Ortiz de Zuniga <ignacio@fivetech.com>) !! WARNING !! Please modify non-GNU make files. 19991005-18:20 GMT+1 Viktor Szakats + source/rtl/rddord.prg source/rtl/Makefile + dbCreateIndex() dbSetIndex() dbClearIndex() dbReindex() dbSetOrder() IndexExt() IndexKey() These will not work yet, since they are simple wrapper to the ord*() functions. Just like in Clipper. !! WARNING !! Please modify non-GNU make files. 19991005-18:02 GMT+1 Viktor Szakats * tests/rtl_test.prg + Added more complete tests for <,>,<=,>=,!= operators. * source/vm/hvm.c % hb_vmPopDate() is no more checking the type of the popped value, and the related unrecoverable error is also removed, since the callers do this check before each call. * Some more function grouping, small corrections. ! hb_vmLess(), hb_vmLessEqual(), hb_vmGreater(), hb_vmGreaterEqual() some cases were not handled, so stack corruption could occure, when two ARRAY/BLOCK/OBJECT were compared. Fixed. ! hb_vmNotEqual() fixed for ARRAY/OBJECT/BLOCK types. * source/vm/hvm.c include/pcode.h source/compiler/genc.c source/compiler/genhrb.c source/compiler/harbour.y * HB_P_GENARRAY -> HB_P_ARRAYGEN * HB_P_DIMARRAY -> HB_P_ARRAYDIM !! WARNING !! Please rebuild all .PRG files, since the pcode values have changed. * include/hbver.h + Revision set to "a" * source/compiler/harbour.c + isatty.c put back in order. * source/compiler/main*.c + Some small cleanups. 19991005-14:41 GMT+1 Viktor Szakats * tests/run_tsta.bat tests/test_all.prg ! Fixed, HB32 changed to RUN_PRG, filename cases adjusted, using header files, date format set to standard. * .cvsignore make_tpl.* config/win32/* moved to config/w32/* * The GNU platform name for Windows 32-bit has changed to "w32" from "win32", the only reason is that the new one is shorter. This way all the paths will be shorter, and the binary release filenames will be also shorter. Please update your GNU make starter batch files to use w32 instead of win32 in HB_ARCHITECTURE. 19991005-13:59 GMT+1 Viktor Szakats * source/compiler/harbour.y source/pp/stdalone/hbpp.c + Added closing \n to the help text, to make it appear OK under some shells. (Thanks to Dave Pearson) * source/compiler/harbour.c - isatty() removed. (Thanks to Dave Pearson) * makefile.* samples/hscript/bldguest.bat % Some more fix & cleanup. * source/rtl/tgetlist.prg doc/funclist.txt + READINSERT() function added. (Thanks to Matteo Baccan) * source/rtl/filesys.c include/filesys.h + hb_fsTell() added to the header file % hb_fsSetDev*() now calls hb_fsSetDevMode(), so some platform specific code could be eliminated. % Some simplification in FSETDEVMOD() + Added missing HB_ prefix to FSETDEVMOD() 19991005-12:55 GMT+1 Jose Lalin <dezac@corevia.com> * source/rtl/filesys.c + missing FSETDEVMOD() + hb_fsTell() + hb_fsSetDevRaw() + hb_fsSetDevText() 19991005-12:30 GMT+2 Ryszard Glab <rglab@imid.med.pl> *source/compiler/harbour.y * changed some rules to correctly handle the following syntax: LOCAL cbVar:={|| cbVar} (the cbVar inside a codeblock is correctly considered a local variable instead of memvar variable) * corrected usage info to print LF at the end of message 19991005-08:36 GMT+1 Viktor Szakats * source/vm/main*.c source/vm/Makefile include/ctoharb.h ! Some cleanup on the new main() functions. (using header file, fixed CVS headers, added copyright header, removed a TODO, TO DO -> TODO, Hungarian notation, global var name, 0 -> NULL, added to GNU makefile, std main return value missing.) * makefile.b40 (removed) makefile.b32 make_b40.bat + makefile.b40 removed, since from now on makefile.b32 provides the same functionality when B40 macro is defined. See make_b40.bat. * *.bat *.b?? hbpplib.b32 (removed) + Further uniformized. + hbpp.exe make process uncommented from make_b16.bat. We will see how it works. + hbpplib.b32 incorporated into hbpp.b32 - hbpp.b16 (removed) makefile.b16 make_b16.bat - hbpp.b16 removed, since it was not used, and is now incorporated to makefile.b16. * source/runner/stdalone/hbrun.prg + Using OutStd() instead of QOUT() to enable output redirecting like in other command line utilites. 19991005-07:55 GMT+1 Antonio Linares <alinares@fivetech.com> + New file source/vm/mainstd.c (entry point for std applications) + New file source/vm/mainwin.c (entry point for win appplications) * source/vm/hvm.c -+ main() renamed to hb_vmInit() * hb_quit() removed from there and moved to mainstd.c and mainwin.c respectively. * makefile.b32 * added support for mainstd.c and mainwin.c modules. (make_b32.bat tested and works ok). * tests/bld_b32.bat * %1 moved to the end of line * del %1.c removed (tested and works ok). 19991005-00:13 GMT+1 Viktor Szakats * source/compiler/genc.c ! Cosmetic: Some double tabs changed to single ones. 19991004-22:34 GMT+1 Viktor Szakats * tests/db_brows.prg - READEXIT() removed since it's now part of the RTL. 19991004-21:34 GMT+1 Viktor Szakats * tests/*.bat ! Reworked, standardized, simplified. Please test them. Now they resemble to the bin/*.bat batch files. * tests/buildexe.bat - Removed since it was obsolete, use bld_b16.bat instead. 19991004-19:54 GMT+1 Viktor Szakats * source/rtl/memvars.c ! memvars.ch changed to hbmemvar.ch * tests/working/*.* moved to tests/*.* * tests/working/db_brows.* ! Fixed the CVS header, they missed to closing "$" 19991004-19:23 GMT+1 Viktor Szakats * tests/broken/*.* moved to tests/working tests/working/Makefile * moved to the BAD_PRG_SOURCES - tests/broken/ - Removed * tests/working/hscript/*.* moved to samples/hscript * Moved * source/rtl/mlcount.c * BYTE type changed to USHORT. * Hungarian notation slighly corrected. 19991004-18:58 GMT+1 Viktor Szakats + source/runner/stdalone/hbrun.prg + Added (now for sure) 19991004-18:53 GMT+1 Viktor Szakats + include/reserved.ch + Added for complete Clipper compatibility, the file is a dummy, so it's a TODO to replicate to originial functionality. * include/Makefile * Updated. Mon Oct 04 12:52:42 1999 Gonzalo A. Diethelm <Gonzalo.Diethelm@jda.cl> * tests/working/Makefile: Added missing '\' after db_brows.ch. Changed spaces to tabs. 19991004-18:42 GMT+1 Viktor Szakats * include/classes.ch -> include/hbclass.ch include/external.ch -> include/hbextern.ch include/memvars.ch -> include/hbmemvar.ch source/debug/debugger.prg source/debug/tbrwtext.prg source/rtl/tbcolumn.prg source/rtl/tbrowse.prg source/rtl/tget.prg source/rtl/tgetlist.prg tests/working/classch.prg source/runner/stdalone/hbrun.prg source/rtl/memvarbl.prg source/rtl/menuto.prg * Non-Clipper compatible Harbour .CH filenames prefixed with "HB" to avoid possible name collisions with existing header files. 19991004-18:06 GMT+1 Viktor Szakats + source/rtl/mlcount.c source/rtl/Makefile doc/funclist.txt + MLCOUNT() added (thanks to Ignacio Ortiz de Zuniga <ignacio@fivetech.com>) - source/runner/stdalone/runner.prg - Removed (now for sure) 19991004-16:25 GMT+1 Viktor Szakats * source/runner/stdalone/runner.prg -> hbrun.prg source/runner/stdalone/Makefile runner.b32 makefile.vc tests/working/hbrun.bat -> hbrunprg.bat tests/working/run_all.bat tests/working/test_all.prg * runner.exe renamed to hbrun.exe to better fit into the final executable naming style (harbour/hbpp/hbrun) 19991004-15:15 GMT+1 Viktor Szakats * source/hbpp -> source/pp source/Makefile source/pp/Makefile source/pp/stdalone/Makefile source/compiler/Makefile source/runner/stdalone/Makefile tests/working/Makefile makefile.* *.b?? * source/hbpp changed to source/pp. 19991004-14:48 GMT+1 Viktor Szakats * tests/working/*.bat *.b?? makefile.vc libs/* lib/* * libs directory name changed to lib, the win16 and win32 subdirs have been removed. * win32 dir is no longer needed, since now the windows terminal.lib is named termwin.lib. ! HARBOUR_USE_GTAPI defines changed to HARBOUR_USE_WIN_GTAPI ; !!! PLEASE TEST THESE WITH BORLAND AND MSVC !!! (or wait a bit more since more changes are coming) 19991004-01:20 GMT+1 Viktor Szakats - make_b31.bat makefile.b31 harbour.b31 - Removed, make_b16.bat should be used instead. 19991004-01:14 GMT+1 Viktor Szakats * build16.bat -> make_b16.bat build31.bat -> make_b31.bat build32.bat -> make_b32.bat build40.bat -> make_b40.bat buildvc.bat -> make_vc.bat * Renamed. + buildexe-dos-bcc31.bat + buildexe-dos-djgpp.bat + buildexe-os2-gcc.cmd + buildexe-os2-icc.cmd + buildexe-w32-gcc.bat + buildexe-w32-mingw32.bat + buildexe-w32-msvc.bat + Added these files used in the binary releases, some fixes applied too: /include for harbour.exe, DJGPP -ldbfntx -> -ldbfnt, a note from the MSVC version copied into the others. CVS header added. -o%1.exe added to DJGPP version. Note the long filenames: I could not figure out a better method to identify the batch file, while keeping them in the same dir. * funclist.txt moved to doc/funclist.txt - genbuild.bat - Removed, since it's now obsolete. 19991003-09:45 GMT+1 Antonio Linares <alinares@fivetech.com> * include/classes.ch + Support for INIT and AS clauses. * source/rtl/tclass.prg + New DATAS uInit and cType added. + New SetInit() and SetType() methods added. (Notice that SetInit() is already working, though SetType() does nothing yet). 19991003-03:52 GMT+1 Viktor Szakats ; Modifications after a test build with the harbour /w2 switch: * tests/working/rtl_test.prg + QUESTION added about __FLAGSHIP__ and __VO__ constant names. * source/rtl/tgetlist.prg funclist.txt ! ReadModal() was buggy when a reader codeblock existed. Fixed. ! ReadExit() converted to function from a method, this way it's Clipper compatible, plus an unused variable warning has been fixed. * source/rtl/tget.prg ! _GET_/__GET was not assigning the passed VALID and WHEN blocks to the get object, this has been fixed, but not tested. * source/rtl/achoice.prg source/rtl/harbinit.prg source/rtl/tget.prg source/rtl/tgetlist.prg source/rdd/dbfntx/dbfntx0.prg (missing #include) source/debug/debugger.prg (mistyped and undeclared variables) ! /w2 warnings fixed. 19991002-22:45 GMT+1 Viktor Szakats * include/extend.h source/rtl/strings.c source/rtl/itemapi.c source/rtl/hvm.c % xmem*() function redefinition for Watcom has been moved in one central place to extend.h. * tests/working/extend2.c ! Now includes caundoc.api explicitly. * source/vm/hvm.c include/ctoharb.h + local functions made static, prototypes moved to HVM.C + grouped opcodes and opcode functions by category. ! Indentation completely fixed. ! Prototype of one non-existing function removed. 19991002-18:10 GMT+3 Alexander Kresin * source/hbpp/hbpp.c * Fixed some bugs, reported by Viktor Szakats, Ryszard Glab, Jose Lalin and * Robert Arseniuk * tests/working/db_browse.ch renamed to db_brows.ch * tests/working/db_browse.prg renamed to db_brows.prg * added $Id * these two files added to makefile 19991002-03:20 EDT Paul Tucker <ptucker@sympatico.ca> * buildvc.bat makefile.vc tests\working\buildvc.bat * symbols.asm/obj is now a normal part of the make process and is added to harbour.lib so additional references to this have been removed. 19991001-17:10 GMT+2 Ryszard Glab <rglab@imid.med.pl> *source/vm/hvm.c *source/rtl/strings.c *source/rtl/itemapi.c * added redefinition of hb_xmemcpy -> memcpy hb_xmemset -> memset because these functions can work with buffers larger then 64 KiB (size_t is typedefined as 'unsigned') - for WATCOM compiler only *include/pcode.h *source/compiler/harbour.y *source/compiler/genc.c *source/compiler/genhrb.c *source/vm/hvm.c + added support for new opcodes used to handle undeclared variables (the type of a variable is determined at runtime) HB_P_POPVARIABLE HB_P_PUSHVARIABLE * the generated pcodes depends on yhe use of HARBOUR_STRICT_CLIPPER_COMPATIBILITY option (see doc\compatib.txt for details) NOTE: You have to recompile all PRG sources! *source/rtl/memvars.c *include/extend.h * new function hb_memvarGet that retrieves the value of memvar variable without error generation in case when the variable does not exist *source/rdd/dbcmd.c *include/rddapi.h * new functions hb_rddFieldGet/hb_rddFieldPut used to retrieve/set the value of database field with no error generation in case when the field does not exist *include/extend.h * moved definition of ERRCODE, SUCCESS and FAILURE from rddapi.h to make them available for other modules *source/compiler/harbour.y *source/compiler/harbour.l * the line number is incremented in harbour.y now (Crlf rule) Incrementing in harbour.l caused incorrect line number reporting in error/warning messages. The look ahead FLEX feature caused incrementation in the middle of the parsed rule. *source/compiler/harbour.y * added warnings when a procedure returns a value or a function with no return value * replaced the WORD type with USHORT * corrected (and simplified) handling of parameters of DO <proc> WITH <parms> statements (passing by reference works correctly now) * corrected the rule for declaration of multidimensioned arrays ( LOCAL arr[ 1 ][ 2 ] ) *source/compiler/harbour.y *source/hbpp/hbpp.c *source/hbpp/stdalone/hbpp.c * the '-w' command line option can set the maximal level of reported warnings. The following levels are supported currently: '-w0' - no warnings '-w' or '-w1' - Clipper compatible warnings '-w2' - some useful warnings missed in Clipper '-w3' - warnings generated for Harbour language extensions * the first character of warning messages defines the level of warnings that triggers this message *source/hbpp/hbpplib.c * added setjmp/longjmp error handling - the error handling should be expanded later to made __PREPROCESS function useful in real applications *include/hberrors.h * new warnings *include/compiler.h * new flag FUN_WITH_RETURN * replaced the WORD type with USHORT *source/compiler/genobj32.c *source/compiler/genc.c *source/compiler/genhrb.c * replaced the WORD type with USHORT *include/clipdefs.h * removed #include "caundoc.api" because it contains undocumented materials that should be included on request only. It also caused redefinition errors (HB_FNAME defined in filesys.h) when harbour.y was compiled with HARBOUR_STRICT_CLIPPER_COMPATIBILITY *doc/compiler.txt * the basic documentation for harbour compiler *source/rtl/console.c * hb_cursor_enum -> HB_cursor_enum 19991001-00:25 EDT Paul Tucker <ptucker@sympatico.ca> * makefile.vc + source/rtl/dircmd.prg + source/rtl/fieldbl.prg + source/rtl/setfunc.prg + source/rtl/text.prg 19991001-05:40 GMT+1 Viktor Szakats + source/rtl/dircmd.prg source/rtl/Makefile funclist.txt + __DIR() function added, so the DIR command is working now. ( Please add this file to the non-GNU make files ) 19991001-05:30 GMT+1 Viktor Szakats * source/rtl/filesys.c ! BIN2I(), BIN2L() made Clipper compatible, for strings shorter than the expected length. One test call still fails, probably because of different int size on 32-bit platforms. * include/hbdefs.h ! MKINT() casted to long instead of int. * include/external.ch source/runner/stdalone/external.prg + W2BIN removed. + tests/working/rtl_test.prg + BIN2W(), BIN2I(), BIN2L(), L2BIN(), I2BIN() regression tests added. + FNAME*() tests enabled. - doc/*.nfo (removed) + doc/depend.txt (added) + The long filename files converted to one file with short name, the contents has been concatenated. The extension is standard now. 19990930-22:10 EDT Paul Tucker <ptucker@sympatico.ca> * makefile.vc updated to add missing files and to create runner.exe and hbpp.exe * buildvc.bat add if exist to remove error message on file not found. 19990807-10:17 CET Patrick Mast <harbour@PatrickMast.com> * updated doc/whatsnew.txt 19990930-23:00 GMT+1 Viktor Szakats * source/rtl/hbpp/hbppint.c source/rtl/hbpp/hbpplib.c (resParse removed) source/rtl/gtapi.c (tmpRow,tmpCol removed from a function) source/rtl/gt/gtwin.c ! Warnings fixed (reported by Patrick Mast with Borland C 4.0). * funclist.txt source/rtl/Makefile + Updated. ( Please add these files to the non-GNU make files ) + source/rtl/fieldbl.prg + FIELDBLOCK() and FIELDWBLOCK() functions added. They are not 100% compatible in error situations, since the method used is different than in Clipper. They are also slower. + source/rtl/setfunc.prg + __SetFunction() added + source/rtl/text.prg + __TextSave(), __TextRestore() added. Note that the TEXT feature is not yet working, since the PP should make some special processing not yet implemented. 19990930-22:15 GMT+1 Viktor Szakats * include/external.ch + Added HB_OSNEWLINE * source/compiler/genc.c + It's now possible to request the code generator not to put comments in the C code. This and some other small format changes can result in about 30% smaller generated source code size. This feature is currently permanently turned off, I will add switch for it soon. + If an incorrect pcode is encountered it's now put in the generated C file, with a proper comment which says that it's a invalid opcode. BTW, ideally it should exit on such errors. + The Harbour Compiler version is now included in the generated pcode as a comment. 19990930-15:20 EDT David G. Holm <dholm@jsd-llc.com> * include/extend.h + Added hb_setCursor() prototype. * source/rtl/console.c + Added hb_gtSetCursor( SC_NORMAL ) to hb_consoleInitialize(). + Added hb_setCursor(), which does the grunt work that SETCURSOR used to do, so that it can be called from SET(). % SETCURSOR() is now a shell function that calls hb_setCursor(). * source/rtl/set.c ! SET( _SET_CURSOR [, SC_...] ) now calls hb_setCursor(). * source/runner/stdalone/external.prg + Added HB_OSNEWLINE 19990930-21:00 GMT+1 Viktor Szakats * include/common.ch rtl/asort.prg rtl/errorsys.prg rtl/memvarbl.prg rtl/menuto.prg rtl/achoice.prg rtl/adir.prg rtl/alert.prg rtl/objfunc.prg rtl/readvar.prg rtl/tclass.prg rtl/tgetlist.prg rtl/setkey.prg ! ISCHAR() -> ISCHARACTER() ! ISNUM() -> ISNUMERIC() ! ISLOG() -> ISLOGICAL() Made them Clipper compatible. * source/rdd/dbfntx/dbfntx0.prg + Added Clipper compatible error handler extension for lock errors. * source/rtl/errorsys.c + __ERRINHANDLER() undocumented internal CA-Cl*pper function added, will be needed later. In CA-Cl*pper its name is ErrorInHandler(). * source/rtl/gtapi.c source/rtl/console.c source/rtl/gt/gtwin.c source/rtl/gt/gtdos.c ; Fixes by Chen Kedem implemented. ! SETMODE() now returns a logical value. ! hb_gtSetMode() now returns an error code if the low-level API call fails. ! hb_gt_SetMode() now signals error in Windows, TODO added for DOS. * source/rtl/memvarbl.prg + MEMVARBLOCK() - Added a STRICT_COMPATBILITY code branch, where the returned codeblock will behave exactly like Clipper, so that it will not assign the passed value to the memvar if it's a NIL. The NG doesn't suggest this behaviour but that's how it works anyway. Same goes for the FIELD*BLOCK() functions. * harbour.b31 ! Some fixes reported by Jose Lalin. * include/gtapi.h source/rtl/gtapi.c ! int return value (as an error code) changed to USHORT to be even more compatible with Clipper. * source/rtl/fm.c - Removed CRLF before the ending //INFO message. + Dummy MEMORY() function added. * include/extend.h + ISBLOCK() added. 19990930-19:40 GMT+3 Alexander Kresin * source/rdd/dbf1.c * some changes in GoTo() and SkipRaw() functions for correct processing * of negative skip's and fBof setting. + tests/working/db_browse.ch + tests/working/db_browse.prg * A sample added, demonstrating dbf file browse * While running db_browse.exe, sign a filename as a parameter 19990930-18:00 GMT+1 Viktor Szakats ; Harbour Build 30 released 19990929-16:42 GMT+1 Viktor Szakats * include/hbver.h + Version info updated. 19990926-22:45 GMT+3 Alexander Kresin * source/hbpp/hbpp.c * Fixed a bug, noted by Antonio Linares 19990926-19:22 GMT+1 Viktor Szakats * funclist.txt + __ACCEPTSTR marked ready. * source/hbpp/hbpp.c ! Non-ANSI (//) comments changed to /**/ 19990926-17:22 GMT+1 Viktor Szakats * source/rtl/asort.prg ! The block return type detection code now calls the block with the nStart item, and not always the first one. This way it has less side effect, since the block is not called with elements which would not be accessed at all normally. So this works now: aSort( { NIL, 20, 10 }, 2,, {|x,y| x < y } ) 19990926-14:10 GMT+2 Ryszard Glab <rglab@imid.med.pl> *source/compiler/harbour.y * fixed generation of invalid pcodes when nested IIF were used * added an error message when any statements are used after DO CASE and before the first CASE or the OTHERWISE *include/hberrors.h * added ERR_MAYHEM_IN_CASE error code 19990925-11:10 GMT+3 Alexander Kresin * source/hbpp/hbpp.c * Fixed some bugs, noted by Viktor Szakats, Andi Jahja and Antonio Linares 19990925-07:52 GMT+1 Viktor Szakats * tests/working/testwarn.prg ! Added a MAIN() function. 19990925-00:42 EDT Paul Tucker <ptucker@sympatico.ca> * tests/working/adirtest.prg * slight modification to the first call to Adir() to account for documented behaviour that you could get back a different length from Adir depending on the inclusion of the 5th parameter. (The docs don't exactly phrase it that way) 19990925-00:20 EDT Paul Tucker <ptucker@sympatico.ca> * source/rtl/adir.prg made a change - then reversed it. * source/rtl/asort.prg * The initial test to determine if the codeblock is going to return a logical was passing a numeric as a test - and the codeblock may not have been expecting it. 19990925-05:57 GMT+1 Viktor Szakats * source/vm/dynsym.c ! HB___DYNSGETNAME() now validates the index parameter passed. Previously it could GPF with 0 or too big index. * tests/working/dynsym.prg + Some new lines added to test the situations above. 19990924-23:10 EDT Paul Tucker <ptucker@sympatico.ca> * source/vm/dynsym.c * corrected return value of HB___DYNSGETINDEX() it was returning a cast of PHB_DYNS instead of the index. To accomodate this, added s_uiClosestDynSym = uiMiddle before the return in hb_dynsymFind. * source/rtl/fm.c * added a c/r before ---- for fm_statistics on exit. also minor 'by' => 'but' 19990925-03:00 GMT+1 Viktor Szakats * source/runner/stdalone/external.prg include/external.ch + Updated. * source/rtl/gt/gtwin.c * Copyright header formatting. 19990925-00:05 GMT+3 Alexander Kresin * source/hbpp/hbpp.c * Fixed some bugs ( GPF after #undef and with non-symbolic string ) 19990924-11:33 GMT+1 Viktor Szakats * source/rtl/classes.c ! hb_clsDictRealloc() one cast added. 19990924-10:05 GMT+3 Alexander Kresin * source/hbpp/hbpp.c * Fixed bug, noted by Matteo Baccan 19990924-07:18 GMT+1 Viktor Szakats * source/hbpp/hbpp.c ! Fixed warning about function not returning value (in ParseDefine()) * source/rtl/classes.c + hb_clsDictRealloc() implemented. By Janica Lubos <janica@fornax.elf.stuba.sk> 19990923-20:55 EDT Paul Tucker <ptucker@sympatico.ca> * source/rtl/gt/gtwin.c * fix for redirected console output as reported by Victor 19990923-23:42 GMT+3 Alexander Kresin * source/hbpp/hbpp.c * Fixed bugs, noted by Antonio Linares and Matteo Baccan 19990923-13:58 GMT+3 Alexander Kresin * source/hbpp/hbpp.c * Fixed a bug with clauses definition order. Now we can write use ... alias ... new shared or use ... shared new alias ... , etc. 19990923-11:40 GMT+1 Viktor Szakats * source/rtl/extend.c ! Fixed hb_stor*() functions to handle arrays with the -1 parameter like in CA-Cl*pper. Thanks to Janica Lubos <janica@fornax.elf.stuba.sk> 19990923-10:55 GMT+1 Viktor Szakats * include/gtapi.h include/set.h include/Makefile include/setcurs.ch + include/setcurs.h (new) ! Cursor style constants moved to a separate file setcurs.h, this new file is included to gtapi.h and set.h. The .ch file is no longer used from C code. Previously the constants defined in setcurs.ch and set.h collided, and could not compile. * include/set.h include/inkey.h source/rtl/inkey.c * HB_inkey_enum moved to inkey.h from set.h. 19990923-09:16 GMT+1 Viktor Szakats * include/vm.api ! Removed HANDLE typedef, since it conflicted with the one in clipdefs.h, it's also more Clipper compatible now. 19990923-03:30 GMT+1 Viktor Szakats * source/rtl/gt/gtwin.c ! Tab removed from the top of the file. * source/rtl/console.c ! Small fix in the function header of HB_OSNewLine(). 19990923-00:30 GMT+1 Viktor Szakats * source/compiler/genc.c + The generated C code now uses the "extern" keyword for functions defined outside the .C file. 19990922-17:05 EDT David G. Holm <dholm@jsd-llc.com> * source/tools/Makefile - Removed osnewlin.prg - source/tools/osnewlin.prg - This source module is no longer pertinent (OS_NewLine is now an RTL function named HB_OS_NewLine) 19990922-22:00 GMT+1 Viktor Szakats * source/tests/working/rtl_test.prg + Added a bunch of file name split/merge function tests, these are uncommented right now, since functions are not yet generating the ideal results. The functions should be fixed after Build 30. Maybe some expected results should be fixed, too. * source/rtl/fm.c source/rtl/extend.c * hb_xmem*() functions moved to fm.c * source/rtl/filesys.c ! Some more fix for hb_fsFNameMerge() buffer overrun. + HB_HB_FNAMESPLIT() HB_HB_FNAMEMERGE() functions added. * source/rtl/gt/gtwin.c source/rtl/gt/gtdos.c source/rtl/set.c % Removed NULL checks for the results of hb_xgrab() calls, since these function will always return valid pointers (they will throw an unrecoverable error on failure). If someone needs to handle the memory allocation failure explicitly, he should use hb_xalloc() which may return a NULL pointer. 19990921-20:30 GMT+1 Viktor Szakats * source/hbpp/hbpp.c ! One warning about unused variable fixed in strincmp() * source/rtl/console.c + HB_OSNEWLINE() function added. * source/rtl/inkey.c ! // style comment changed to ANSI /**/ + Added #include "inkey.ch" * Some keyboard code constants changed to manifest constant. * source/runner/runlib.c ! Two casts added for MSVC 4 * adirtest.prg cdow.prg dates.prg dates2.prg dates3.prg dates4.prg dirtest.prg longstr2.prg output.prg readfile.prg round.prg rtl_test.prg seconds.prg set_num.prg set_test.prg testcgi.prg testhtml.prg * OS_NewLine() -> HB_OSNewLine() 19990921-14:25 EDT David G. Holm <dholm@jsd-llc.com> * source/rtl/set.c ! Changed unitialized bflag in call to open_handle() to FALSE * source/rtl/strings.c ! Rearranged the logic in hb_itemStr() that determines whether or not to round a floating point number being converted to a string * source/rtl/tone.c ! Added ' || defined(WINNT)' to the ULONG #if for calculating the value of 'temp' 19990921-12:25 EDT David G. Holm <dholm@jsd-llc.com> * source/rtl/console.c - Removed special handling for Unix and Cygwin in HB___ACCEPT(), per Georg Lehner * source/rtl/filesys.c ! Corrected convert_open_flags() check for FO_READONLY to mask out the share-mode flags before doing the check ! Switched OS/2 from open() to sopen() in hb_fsOpen() * source/rtl/inkey.c % Made two changes to Unix support, per Georg Lehner: 1) Added 'ta.c_iflag &= ~ICRNL;' 2) Changed 'return;' in hb_inkeyPoll() to 'ch = 0;' * source/rtl/gt/gtos2.c ! Removed the unsigned to signed conversions for sVert and sHoriz, now that the conversions are no longer needed 19990921-15:33 GMT+3 Alexander Kresin * source/hbpp/hbpp.c * Yet another bug fixed with restrivted match markers consisting of more than one word ( 'FROM USER', for example ) 19990921-00:07 EDT Paul Tucker <ptucker@sympatico.ca> * source/vm/hvm.c source/rtl/fm.c - removed a few casts for outerr calls 19990919-21:40 GMT+1 Viktor Szakats * source/rtl/console.c include/extend.h + BYTE* changed back to char* for the Console API functions, BYTE* casts were added for all hb_gt* and hb_fs*() calls. 19990919-17:14 GMT+1 Viktor Szakats * source/rtl/errorapi.c source/rtl/fm.c source/vm/hvm.c ! printf() calls changed to hb_outerr() calls, since Clipper is sending these to STDERR, too. The other issues fixed are file buffering and console inconsistency. In general one should not use printf(), fprintf(), or any f*() file functions to handle STDOUT/STDERR(), since this can cause anomalies due to both direct and buffered access to the same device, and also the internal cursor positions cannot be tracked that way. When using f*() functions from console.c an fflush() call must be issued after them. * source/rtl/console.c include/extend.h + hb_outerr(), hb_outstd() are now public functions. + hb_outerr(), hb_outstd() now automatically determines the length if the length parameter is zero. + hb_outerr(), hb_outstd() now don't call GT after hb_consoleRelease() has been called. This is needed since these functions are used in such situation, from hb_xexit() for example. ! hb_consoleRelease() now sets back the CRLF buffer to match the BINARY mode. ! fflush() calls are added after fputc()/fputs() call groups. * source/rtl/filesys.c ! hb_fsFNameMerge() now checks for buffer overrun. * source/rtl/gt/gtwin.c ! Added come casts to make Visual C happy. (mentioned by Matteo) * include/hbsetup.h * HARBOUR_YYDEBUG is now turned off by default. It can be turned on via the command line or C_USR. Please set your configuration if you need this feature. * include/rddsys.ch + Comment line added. * include/Makefile ! Updated the list of header files. * source/tools/hb_f.c ! Missing static added. * source/rtl/memofile.c + Added one cast. * source/rtl/itemapi.c ! hb_itemPutC() and hb_itemPutCL() now handles when the szText parameter is NULL. Clipper seems to handle this. GT_*() functions relies on this feature so they will not GPF now. 19990919-17:14 GMT+1 Viktor Szakats * source/compiler/harbour.y + Added some new items to the new TODO list. * include/hbsetup.h source/compiler/harbour.y + HARBOUR_YYDEBUG moved here for easy setup. 19990919-15:34 GMT+1 Viktor Szakats * source/rtl/console.c + Support added for //STDERR:x switch form. ! Fixed the redirection, it needed a bit more work, see next two items. % Some variable scopes adjusted. (these were removed with the next change) % fputs()/fputc()/fflush() changed to hb_fsWriteLarge() % Some (BYTE*) casts for BYTE* variables removed. * source/vm/cmdarg.c ! hb_cmdargNum() to not return -1 when the switch was found, but with not parameter. * source/vm/hvm.c ! Fixed constant error message about no starting procedure. * source/rtl/gt/gtwin.c ! Commented out closing of standard input and output, now printf() works after hb_consoleRelease(). (Thanks Paul) * tests/working/rtl_test.prg + Added Empty(ErrorNew()) test. * source/rtl/fm.c * Changed the ending message, since this is not the maximum memory consumed, but the total. Made it more compact, and meaningful. 19990919-15:45 GMT+2 Ryszard Glab <rglab@imid.med.pl> *source/vm/hvm.c * added checking if starting symbol name points to a function 19990919-14:25 GMT+2 Ryszard Glab <rglab@imid.med.pl> *source/rtl/console.c * added two (char *) casts *source/compiler/harbour.y * corrected invalid error when LOOP or EXIT was used inside a BEGIN/END sequence *source/compiler/harbour.l * corrected recognition of invalid number when no separators were used (for example: ? ( a=22.or.b=10 ) *tests/broken/numform.prg - removed (code moved to tests/working/rtl_test.prg) 19990919-01:55 EDT Paul Tucker <ptucker@sympatico.ca> * source/rtl/environ.c * added 1 cast to an xgrab call. 19990919-09:31 GMT+3 Alexander Kresin * source/hbpp/hbpp.c * fixed bug with repeating result clauses ( noted by Antonio Linares ) 19990919-06:21 GMT+1 Viktor Szakats * source/vm/hvm.c + Added support for CA-Cl*pper undocumented _APPMAIN starting function, if this is defined, Harbour will start it first, overriding the default starting proc. ! Fixed the case when no PUBLIC functions were declared with no explicit starting procedure. Now it will silently exit (STRICT mode) or show a proper unrecoverable error message, instead of a possible GPF, * __XHELP() - hb_dynsymFindName() changed to hb_dynsymFind() * source/rtl/environ.c include/extend.h + hb_version() added, separated from HB_VERSION(), to make it callable from C, too. //INFO needed it. * source/rtl/console.c + Added undocumented //STDERR feature, when specified it will redirect all stderr output to stdout. * source/rtl/alert.prg + ALERT() now handles the //NOALERT switch. The NOALERT feature is now always turned on, not only in STRICT mode. + __NONOALERT() undocumented Clipper function added. * source/rtl/hvm.c + source/rtl/cmdarg.c source/rtl/Makefile include/extend.h makefile.* makefile.vc (with extra care taken to retain the alphabetical order :-)) + Internal command line and environment variable support added. //INFO //F:30 //TEMPPATH:"C:\TEMP", SET HARBOUR=F30;X00, SET CLIPPER=E0 INFO, now can be queried from Harbour runtime. + API added to reach the above functionality. + Harbour argument handling functions added: __ARGC() __ARGV() __ARGCHECK() __ARGGET() ! Now the internal parameters (//INFO) are no more passed to the Harbour MAIN and INIT functions. + Harbour now prints the version when //INFO switch is speficied. * source/rtl/fm.c + Will always print some memory info when the //INFO switch was specified. * include/clipdefs.h + Added WORD, DWORD typedefs. * source/rtl/strings.c include/extend.h + hb_strnicmp() added. % hb_stricmp() formatted, variable scopes adjusted, int type changed to char. * source/rtl/classes.c * Small modification. 19990918-17:42 GMT+1 Viktor Szakats * source/rtl/set.c * printhan < 0 changed to printhan == FS_ERROR, to not rely on the fact that FS_ERROR is negative. * source/rtl/console.c ! hb_out - One fsError() save/restore added for non GT mode console output. * *han >= 0 changed to *han != FS_ERROR, to not rely on the fact that FS_ERROR is negative. - Removed the // commented sections. * source/rtl/copyfile.c ! __COPYFILE() - Made the hb_fsOpen() flags Clipper compatible. * source/rtl/memvars.c ! __MVSAVE() - Made the hb_fsOpen flags Clipper compatible. * source/vm/hvm.c + new printf() info in hb_vmDo() integrated to hb_stackDispLocal(). (not tested) * include/extend.h source/rtl/arrays.c source/vm/hvm.c * hb_arrayGetItemPointer() -> hb_arrayGetItemPtr() 19990918-14:59 GMT+1 Viktor Szakats * source/rtl/browdb.prg + _lastrec() -> lastrec() + _recno() -> recno() * source/rtl/transfrm.c * Small modification. 19990918-14:05 GMT+2 Ryszard Glab <rglab@imid.med.pl> *source/vm/hvm.c * corrected operators overloading (tests/working/overload.prg works correctly now) 19990918-13:07 GMT+1 Viktor Szakats * tests/working/rtl_test.prg ! OS_NewLine() is only used when __HARBOUR__ is defined. 19990918-01:55 EDT David G. Holm <dholm@jsd-llc.com> * config/win32/bcc32.cf ! My previous update only allowed Borland to compile, but not link. For some reason, the -L option didn't work. This update fixes that by dropping the -L option and specifying all libraries fully. * source/tools/io.c ! Restored version 1.11 as version 1.13 to restore the functions that were removed but shouldn't have been removed. 19990917-23:45 EDT David G. Holm <dholm@jsd-llc.com> * source/tools/Makefile + source/tools/osnewlin.prg + New module simplifies deciding when to use CR/LF or just LF when using OUTSTD() and/or OUTERR() * tests/working/Makefile + tests/working/longdev.prg + I forgot to 'cvs add' this module with my earlier large string changes, so it's a good thing that I left it out of the Makefile * tests/working/rtl_test.prg + Added 3 tests for long strings (longer than 64 KiB, Harbour only) in a new function, Long_STRINGS() * tests/working/adirtest.prg * tests/working/cdow.prg * tests/working/dates.prg * tests/working/dates2.prg * tests/working/dates3.prg * tests/working/dates4.prg * tests/working/dirtest.prg * tests/working/harbour.ini * tests/working/longstr2.prg * tests/working/output.prg * tests/working/readfile.prg * tests/working/round.prg * tests/working/rtl_test.prg * tests/working/seconds.prg * tests/working/set_num.prg * tests/working/set_test.prg * tests/working/testcgi.prg * tests/working/testhtml.prg % These test programs now use OS_NewLine() instead of using 4 different methods. 19990918-04:58 GMT+1 Viktor Szakats * source/vm/hvm.c + Added WORD typedef for HARBOUR_OBJ_GENERATION section. * source/rtl/memofile.c + Added, this time for sure. * makefile.vc ! Now in alphabetical order. * source/compiler/harbour.y + Now the compiler shows if a message is a YACC error. * source/rtl/console.c + hb_max_row() now returns 23 for Unix-es and 24 otherwise. % fputs(" "...) -> fputc(' '...) 19990918-03:22 GMT+1 Viktor Szakats * source/rtl/memofile.c source/rtl/Makefile makefile.* funclist.txt + MEMOREAD()/MEMOWRIT() functions added. (Borland/MSVC makefiles modified, but not tested) * tests/working/rtl_test.prg + MEMOREAD()/MEMOWRIT() tests added. * include/itemapi.h source/rtl/itemapi.c + hb_itemPutCPtr() Item API function added, to make it possible to attach a buffer directly to a string item in a standard way, this way one memcpy()/strcpy() can be saved, this can be used when the caller have already allocated a buffer. Recommended when the expected string size is very large. The allocated buffer size must be ulLen + 1. * source/tools/io.c - CD(), MD(), RD(), DISKFREE() removed since these are in the standard RTL. * source/rtl/tget.prg ! Insert() fix by Kwon,Oh-Chul <ohchul@fivetech.net> * source/rtl/console.c ! HB___ACCEPTSTR() one missing underscore added. ! SAVESCREEN() pBuffer type changed back to void *, since xgrab() would not be compatible, (char*) casts would not be needed, and gtSave() would have to complain...in theory at least. (What was the compiler (and which one) complaining about ?) 19990917-21:10 EDT David G. Holm <dholm@jsd-llc.com> * include/extend.h % Changed local pointers in hb_xmemcpy() and hb_xmemset() from void * to BYTE * to keep Borland C compiler happy. 19990917-18:00 EDT David G. Holm <dholm@jsd-llc.com> * include/extend.h + Added hb_xmemcpy() and hb_xmemset() * source/hbpp/hbpp.c * source/hbpp/hbppint.c * source/hbpp/table.c * source/hbpp/stdalone/hbpp.c % Set __MINGW32__ up to use the same #includes as _MSC_VER so that a search for instances of where they are not sharing won't give false hits on these files (has no effect on code) * source/hbpp/table.c % __HARBOUR__ now has the value 1 (should we set this to be the same as the build number, leave it at 1, or increment it with each version number change?) * source/rtl/console.c % Changed all looping hb_fsWrite() calls to hb_fsWriteLarge() % Use hb_fsWriteLarge() instead of putc() and/or puts() + Added s_iFilenoStdout and s_iFilenoStderr to avoid calling fileno() more than once each for stdout and stderr * source/rtl/dates.c % Set __MINGW32__ up to use the same #includes as _MSC_VER, so that SECONDS() also returns fractions of a second * source/rtl/dir.c ! Moved normal hb_itemReturn() and ...Release() calls out of the MSC, IBM & MingW32 #if block * source/rtl/extend.c + Added hb_xmemcpy() and hb_xmemset() to allow copying and setting of strings that are up to ULONG_MAX in length. * source/rtl/filesys.c ! hb_fsReadLarge() and hb_fsWriteLarge() can now read and write strings up to ULONG_MAX in length instead of only USHORT_MAX * source/rtl/itemapi.c % All string copying is now done via the new hb_xmemcpy() to allow string lengths up to ULONG_MAX instead of UINT_MAX * source/rtl/strings.c % All string copying is now done via the new hb_xmemcpy() to allow string lengths up to ULONG_MAX instead of UINT_MAX % HB_SPACE() now uses the new hb_xmemset() to allow string lengths up to ULONG_MAX instead of UINT_MAX * source/rtl/gt/gtos2.c ! Added missing ';' on 'USHORT width, y' in hb_gt_SetAttribute() * source/vm/hvm.c % All string copying is now done via the new hb_xmemcpy() to allow string lengths up to ULONG_MAX instead of UINT_MAX + tests/working/longdev.prg + New module tests VM and file handling of strings longer than USHRT_MAX * tests/working/inkeytst.prg % Only display the Cygwin if the program was built using Cygwin 19990917-15:10 GMT+1 Viktor Szakats * include/compiler.h include/hbdefs.h source/rtl/gt/gtwin.c ! WORD/DWORD type declaration moved from hbdefs.h to compiler.h and gtwin.c - LOWORD() removed from hbdefs.h * HIBYTE() now uses USHORT instead of WORD. (Is this OK ?) * source/rtl/extend.c * WORD -> USHORT ; Now only the compiler should be cleaned up from WORD types. (TODO !) GTWIN.C should define these types locally. * source/rtl/classes.c * WORD -> USHORT ! Some hb_parnl() changed to hb_parni() for class handles. * include/extend.h * WORD -> USHORT for all variables within HB_ITEM. * source/itemapi.c source/arrays.c include/extend.h * WORD -> USHORT for array/object struct. 19990917-13:30 GMT+1 Viktor Szakats * source/rtl/codebloc.c include/extend.h * WORD -> USHORT for codeblocks. * source/rtl/transfrm.c % Internal vmDo() call replaced with standard API functions. ! Internal error removed, direct buffer string modification resolved. * source/rtl/objfunc.prg + Explcitly repeated function names in the __ERR*() calls changed to PROCNAME(0). * source/vm/hvm.c include/ctoharb.h include/init.h ! Typo fixed. * WORD -> USHORT (for parameter count, local/static indexes and almost all the others) Only one WORD declaration stayed, this one is related to OBJ generation and SYMBOLS.ASM, so it should have strictly fixed size. ; Here comes to mind that the PCODE model should have a clear definition on the byte level, so that VMs could process pcode byte stream compiled on any platform, we are almost there, but for example storing a DOUBLE directly in the pcode could cause portability problems. * source/rdd/dbcmd.c + WORD -> USHORT (wLen) % HB_USED() small opt. * source/compiler/harbour.y * pOutPath made global and renamed to _pOutPath * "Functions %i" -> "Functions/Procedures %i" * source/rtl/console.c % __SHADOW() param checking logic simplified and corrected. % DISPOUT(), DEVOUT() one ISCHAR() call removed so it's a bit faster now. 19990917-11:30 GMT+1 Viktor Szakats * include/ctoharb.h source/vm/hvm.c + WORD -> USHORT (s_wActionRequest) + WORD -> int (wDec) + WORD -> USHORT (array dimensions) + WORD -> ULONG (array elements) ! __XHELP now uses hb_dynsymFindName() instead of hb_dynsymFind() * source/vm/debug.c + WORD -> USHORT * Using hb_itemRelease() instead of hb_itemClear() + hb_xfree() * Small formatting changes. * source/vm/dynsym.c + WORD -> USHORT * source/rtl/gtapi.c + Some types changed from char* to BYTE* to match the environment, so a few casts could be removed. * tests/working/dynsym.prg + Added test for __dynsymGetIndex(), it will now GPF, since this function is buggy right now. 19990916-23:45 EDT Paul Tucker <ptucker@sympatico.ca> * source/rtl/console.c * source/rtl/gtapi.c * added a number of casts The problem with declaring something to acctype (BYTE*) is that then the overly sensitive MSVC complains about passing a const * to it - it becomes quite bothersome to use (IMO). 19990917-03:15 GMT+1 Viktor Szakats * source/rtl/transfrm.c * WORD -> USHORT * include/errorapi.h source/rtl/errorapi.c source/rtl/copyfile.c source/rtl/filesys.c source/rtl/memvars.c source/rtl/set.c source/runner/runlib.c source/rdd/dbcmd.c * Changed WORD to USHORT in all Error handling stuff. * tests/working/rtl_test.prg * Version() -> Version( 0 ) (Xbase++ likes the numeric value better here, but I could not test it) 19990917-03:15 GMT+1 Viktor Szakats * source/rtl/console.c (mainly) source/rtl/gtapi.c source/rtl/strings.c source/rtl/hardcr.c source/rtl/mtran.c + Changed some explicit constants to manifest constants (keyboard codes, character codes) % [f]printf( "%c", c ) -> fputc( c, std??? ) for speed. % [f]printf( "%s", s ) -> fputs( s, std??? ) for speed. % printf( constant ) -> fputs( constant, std??? ) for speed. ; Since I'm not sure whether fflush() is called from fput*() functions, it may be needed to place more explicit flush calls. This may have been an issue already since printf() is only flushing on \n chars, at least in MINGW32. ! s_szAcceptResult is now initialized on startup as an empty string. ! One cast added to hb_retc()/SAVESCREEN(). * include/inkey.h + NOTE that is's used from C, too. * include/hbdefs.h + HB_CHAR_ common character constants added. 19990916-19:35 EDT David G. Holm <dholm@jsd-llc.com> * doc/gmake.txt + Added gcc/mingw32. + Updated the BUILD.BAT paragraph. * source/rtl/console.c ! Added missing type override to hb_xgrab() call in SAVESCREEN(). * source/rtl/dir.c ! Changed FA_READONLY to FA_RDONLY ! Changed FILE_RDONLY to FILE_READONLY * source/rtl/environ.c ! Added conditional definition of a Windows define that is missing from some versions of Borland C. Thanks to Jose Lalin. + Added compiler identification to VERSION(), but only if called with a parameter (any parameter) based on an idea by Viktor Szakats. * source/rtl/filesys.c ! Added '#include <dos.h>' for Borland C in order to eliminate a warning regarding '_getdrive()'. * source/rtl/inkey.c ! Restored Unix-style keyboard input, because it is non-blocking under Linux/GCC. + Added separate __CYGWIN__ Unix-style keyboard input, because it is blocking under Win32/GCC. + Actually added the Borland C Windows #elif code block supplied by Jose Lalin this time. * tests/working/inkeytst.prg * Modified warning text to refer only to Cygwin. * tests/working/version.prg * Changed 'QOUT( VERSION() )' to '? VERSION()'. + Added '? VERSION( .T. )' to display the compiler that was used to build Harbour.exe (which does not have to be the same compiler used to build the Harbour program). 19990917-00:50 GMT+1 Viktor Szakats * source/rtl/hardcr.c ! Fixed so that it doesn't modify the buffer returned by hb_parc(), it now uses Item API calls. * source/hbpp/stdalone/hbpp.c + Enhanced header. * source/runner/stdalone/runner.prg + Enhanced header. * source/runner/runlib.c + __HRBRUN() will now add default extension (.hrb) to the passed filename. 19990917-00:05 GMT+1 Viktor Szakats * include/hbdefs.h + typedef BYTE HB_CHAR; + typedef BYTE HB_ATTR; * source/rtl/mtran.c % Some Extend API calls changed for Item API, for speed. + const keyword added. * source/rtl/tone.c % TONE() parameters checking simplified. * Variable names standardized. * source/rtl/set.c * Removed all direct item access, replaced them with Item API calls. * Some variable names standardized. ! int -> BOOL in one place. ! int -> USHORT for hb_fsError() retvals. * source/rtl/console.c ! int -> USHORT for hb_fsError() retvals. * Variable names changed ( len -> ulLen, count -> ulCount, uiCount ) * pcount() > x -> pcount() >= x+1 * source/vm/hvm.c * pcount() > x -> pcount() >= x+1 (ERRORLEVEL()) * source/rtl/setcolor.c ! 0 -> '\0' ! SETCOLOR() now doesn't accept a non string parameter. 19990916-23:00 GMT+1 Viktor Szakats * source/rtl/gtapi.c ! hb_gtWriteCon() fixed handling of backspace character. * source/rtl/console.c % Some extend API calls changed to Item API to make it faster * Types changed: WORD -> USHORT to better sync it with GT API. char * -> BYTE *, int -> USHORT ! __ACCEPT() the length of the return string was not set properly under Unix. ! __ACCEPT() now displays non-string parameters, too, the logic is also simplified by just calling HB_QOUT(), like in Clipper. It will always call QOUT() even if no parameters were passed. This is still not *exactly* what Clipper does. ! __ACCEPT() now displays all parameters not only the first one. ! __ACCEPT() now used hb_retc() instead of hb_retclen(). ! hb_consoleRelease() now sets back stdout, and stderr to TEXT mode. ! __ACCEPT() one explicit constant changed to ACCEPT_BUFFER_LEN. ! __ACCEPT() now accepts ASCII chars higher than 127, like in Clipper. + __ACCEPTSTR() added for Clipper compatbility, this will return the result of the last __ACCEPT() call. * source/rtl/inkey.c ! Small formatting fix. 19990916-21:00 GMT+1 Viktor Szakats * source/rtl/*.c * Copyright text format change. + Missing copyright headers added. ; Now this work is finished. * include/extend.h + hb_tone() prototype added. * source/rtl/gt/gtwin.c - Commented out two unused static variables. * source/rtl/classes.c - Removed two unused variables. * tests/working/rtl_test.prg + Some lines uncommented, since the PP can now process them. * tests/working/testcopy.prg tests/working/Makefile - Removed since it's now in RTL_TEST. * tests/working/hb*.bat ! Updates by Jose Lalin. * makefile.b32 ! Added memvarbl.prg * source/rtl/achoice.prg source/rtl/adir.prg source/rtl/alert.prg source/rtl/asort.prg source/rtl/memvarbl.prg source/rtl/menuto.prg source/rtl/objfunc.prg source/rtl/readvar.prg source/rtl/setkey.prg source/rtl/tbcolumn.prg source/rtl/tclass.prg source/rtl/tgetlist.prg source/rtl/errorsys.prg + Using IS*() macros for type checking, common.ch #included to all of these files. * Some = changed to == in setkey.prg 19990916-17:10 GMT+2 Ryszard Glab <rglab@imid.med.pl> *source/vm/dynsym.c *include/extend.h + new function HB_DYNS hb_dynsymFindName( char * szName ) that checks if given name is a public symbol - this function converts given name to uppercase before checking *source/rtl/itemapi.c *source/rtl/classes.c *source/rtl/do.c *source/vm/hvm.c * replaced hb_dynsymGet with new hb_dynsymFindName *source/rdd/dbcmd.c * replaced hb_dynsymFind with new hb_dynsymFindName *source/rtl/dir.c * corrected invalid mask value in HarbourToOsMask() 19990916-14:30 GMT+1 Viktor Szakats * makefile.vc ! Fixed version by Matteo Baccan. 19990916-14:20 GMT+1 Viktor Szakats * source/rtl/mouse/*.* * Copyright text format change. * source/rtl/gt/*.c ! Indentations, formatting errors corrected. ! // comments change to /**/ + Copyright headers added. * source/rtl/inkey.c ! // comments change to /**/ * source/rtl/gt/gt_tpl.c ! Fixed hb_gt_SetMode() return value type. * source/rtl/gtapi.c ! hb_gtRepChar() will check for buffer overflow. * include/gtapi.h ! Added hb_gt_Replicate() to GTAPI.H * Variable names revised, standardized. * source/rtl/errorapi.c * hb_errPutArgs() Now using Item API instead of Array API. * source/rtl/console.c source/rtl/gtapi.c source/rtl/gt/*.c include/gtapi.h + API functions made more Clipper compatible with some arg type changes: hb_gtBox() - Character parameter: char * -> BYTE * hb_gtRepChar() - USHORT character changed to BYTE, this is not completely Clipper compatible, but I've considered a bug to accept a character in an USHORT. hb_gtRest() - Buffer parameter: char * -> void * hb_gtSave() - Buffer parameter: char * -> void * hb_gtWrite*() - Character parameter: char * -> BYTE * * Some types changed in the low-level API. hb_gt_IsColor() - retval: int -> BOOL hb_gt_Get/SetCursorStyle() - int -> USHORT to match the high-level API hb_gt_Puts() - char * -> BYTE *, int -> ULONG for the length. hb_gt_GetText() - char * -> BYTE * hb_gt_PutText() - char * -> BYTE * hb_gt_Replicate() - char -> BYTE, DWORD -> ULONG ; IMHO later we should change all unsigned coordinate types to signed ones, so that we can have a better "virtual screen" support. All attribute types to a generic HB_ATTR, all characters to HB_CHAR. 19990916-11:15 GMT+1 Viktor Szakats * source/vm/hvm.c + __XHELP() function added. ; So now if we had defined a function named HELP() in our app, it will be called by default if the user presses the F1 key. Like in Clipper. + Now using SYSINIT to force linking of the system init modul, instead of ERRORSYS. Forcing ERRORNEW explicitly is not needed, so it's now removed. * source/rtl/harbinit.prg + ANNOUNCE SYSINIT added. + __SETHELPK() function added. * source/rtl/harbinit.prg (added) source/rtl/errorsys.prg source/rtl/Makefile makefile.* ! ClipInit() INIT procedure moved from ERRORSYS to a separate .prg, this way the ERRORSYS.PRG module is completely replacable, like in Clipper. ( ! Borland and MSVC users please check the modified Makefiles ! ) * source/rtl/*.prg + All copyright header changed to the new one. + Missing copyright headers added. 19990916-13:07 GMT+3 Alexander Kresin * source/hbpp/hbpp.c * fixed bug with Release ( noted by David G. Holm ) 19990916-10:37 GMT+1 Antonio Linares <alinares@fivetech.com> * source/compiler/harbour.y * Added support for multiple include paths using /I compiler flag 19990916-05:50 GMT+1 Viktor Szakats * source/rtl/itemapi.c + Added NOTE why pItemArg1 is needed. * tests/working/transdef.prg tests/broken/parexpr.prg - Removed (now for sure) 19990915-23:35 EDT Paul Tucker <ptucker@sympatico.ca> * source/rtl/gt/gtos2.c source/rtl/gt/gtwin.c source/rtl/gt/gtdos.c include/gtapi.h * converted a number of parameters to USHORT, SHORT or BYTE 19990916-05:30 GMT+1 Viktor Szakats * source/compiler/harbour.y include/hberrors.h ! Proper error shown when more than one input (.prg) filenames are specified, it caused a leak previously and was not compatible with Clipper. ! Invalid filename message when the passed filename only contains dir/drive. GPF fixed. * *.bat tests/working/*.bat ! @echo off commands moved to the top of files. * tests/working/setkeys.prg ! Some functions names fixed, it still doesn't work because GetActive() function is not yet implemented. * tests/working/rtl_test.prg tests/working/transdef.prg (removed) tests/working/Makefile * Tests from transdef.prg moved to rtl_test.prg (2 failures more now) tests/working/transdef.prg (removed) * tests/broken/parexpr.prg - Removed, since it's in working now. ; The bugs above were reported by Jose Lalin. * source/rtl/*.* (partial) + All copyright header changed to the new one. + Missing copyright headers added. 19990916-03:57 GMT+1 Viktor Szakats * source/rdd/* source/tools/dates2.c source/tools/stringp.prg source/tools/nconvert.prg source/tools/fileread.prg source/tools/numtxthu.prg source/tools/strfmt.c + All copyright header changed to the new one. * source/rtl/menuto.prg ! RELEASE (cVariable) changed to __MVRELEASE( cVariable ) since now to former is not preprocessed, which is fine BTW, since Clipper is doing the same. * make_tpl.* + mingw32 added as a new option. 19990916-03:17 GMT+1 Viktor Szakats * source/debug/*.* source/hbpp/*.* source/hbpp/stdalone/hbpp.c + Copyright text changed to the newer version. + Missing copyright headers added. * source/runner/runlib.c + TODO: added about default extension handling. * source/hbpp/stdalone/hbpp.c source/hbpp/hbppint.c source/hbpp/hbpplib.c ! Formatting error corrected. 19990914-20:45 EDT David G. Holm <dholm@jsd-llc.com> + config/win32/mingw32.cf * source/hbpp/hbpp.c * source/hbpp/hbppint.c * source/rtl/console.c * source/rtl/dir.c * source/rtl/environ.c * source/rtl/filesys.c * source/rtl/inkey.c * source/rtl/tone.c + Added __MINGW32__ support for Cygnus GCC compiler. 19990916-02:25 GMT+1 Viktor Szakats * source/compiler/symbols.asm (removed) source/vm/symbols.asm (added) makefile.b31 * Moved to VM since it belongs there. * source/rtl/filesys.c ! Added missing break; to hb_fsSetDevMode()/_MSC_VER branch. * source/tools/hb_f.c source/vm/*.c source/compiler/*.c source/compiler/harbour.l source/compiler/harbour.y * Copyright text changed to the newer version. * source/compiler/harbour.y ! One buggy error message text fixed (%i format specifier removed). 19990915-17:40 EDT David G. Holm <dholm@jsd-llc.com> * include/itemapi.h * source/rtl/itemapi.c ! Added a third argument, PBH_ITEM pItemArg1, to the hb_itemDo() and hb_itemDoC() functions to solve a var-arg problem with the OS/2 version of GCC. When calling hb_itemDo() or hb_itemDoC() to evaluate a symbol, function, or code block that does not take any arguments, use '(PHB_ITEM *) 0' as the third argument. * config/win32/bcc32.cf ! The GNU make system now works with Borland 32-bit compilers. * config/win32/gcc.cf * Removed '-lmoldname' in order to avoid polluting the __CYGWIN__ build with __MINGW32__ stuff. * source/compiler/harbour.l ! Removed 'extern int _bQuiet', because it conflicts with the 'extern BOOL _bQuiet' declaration in include/compiler.h. * source/rtl/console.c ! Added __CYGWIN__ to the Unix-style input in HB___ACCEPT() * source/rtl/filesys.c ! Removed the alleged Cygwin mode flag fix, which turned out to be an incomptibility between the CYGWIN and MINGW32 libraries. * source/rtl/inkey.c ! Applied the Borland Windows fix supplied by Jose Lalin. ! Changed Cygwin support to use the Unix method in order to avoid polluting the __CYGWIN__ build with __MINGW32__ stuff. ! Moved the Unix keyboard input from hb_inkeyPoll() to hb_inkeyGet() in order to stop blocking the VM when it polls the keyboard. * tests/working/inkeytst.prg + Display a note regarding Unix-style keyboard input. ! Changed the final keyboard test exit key from ESC to TAB, because Unix-style keyboard input uses ESC as the lead-in for extended keys. 19990915-23:20 GMT+3 Alexander Kresin * source/hbpp/hbpp.c * source/hbpp/table.c * fixed some bugs, reported by Victor and Matteo 19990915-15:50 GMT+1 Viktor Szakats * doc/hdr_tpl.txt * Some small changes. * include/*.api include/*.ch include/*.h + Added copyright header to all files, where the original author is not known, it's not filled. * Standardized the copyright header for all users. * ChangeLog sections separated from the copyright headers. * The one-liner file descriptions standardized. 19990915-14:14 GMT+1 Viktor Szakats * doc/license.txt + Added a text file containing the license text. * doc/hdr_tpl.txt ! Typo fixed (now v1.8) 19990915-14:04 GMT+1 Viktor Szakats * source/rtl/dir.c include/directry.ch ! printf()s commented out, proper (but silent) error handling added. + Now using directry.ch for the array format. + A TODO: added about changing the file composing/decomposing functionality to hb_fsFNameSplit()/Merge() functions. + NOTE added that the third parameter is a Harbour extension. % Some small logic streamlining. * Some variable names changes, some variable scopes adjusted. * source/compiler/genobj32.c + Every static thing is now declared static. + Missing prototypes added. * source/rtl/hardcr.c source/rtl/mtran.c source/tools/dates2.c * Slight change in the format of the copyright header, the text itself has not changed. * source/rtl/filesys.c + hb_fnFNameMerge() - FIXME: added again about the lack of buffer overlow handling. * .cvsignore ! DOS/LINUX/OS2 GNU Make systems working directories added. * doc/hdr_tpl.txt + Some fine tunings, see the files own history. The copyright text hasn't changed. Version 1.7 * include/std.ch include/Makefile + Added a skeleton and a TODO for the STD.CH file. 19990915-11:15 GMT+1 Viktor Szakats * source/rtl/dir.c ! Two warnings fixed about possibly missing parenthesis. + Reformatted. * source/rtl/adir.prg ! Default flags reset to "HSD" * tests/working/adirtest.prg ! Fixed a bug which caused an error when zero file was found. + Added: SET DATE ANSI, SET CENTURY ON ! Newline handling made platform compatible. ! Some other fixes. * source/rtl/memvars.c ! Typos fixed. 19990915-03:40 EDT Paul Tucker <ptucker@sympatico.ca> * source/rtl/dir.c * Now Clipper compatible results are returned. definately with MSVC - most likely with compilers running under MS OS. since I'm not familliar with any quirks with those compilers I made almost no changes to compiler specific code. I suspect though that there may be problems when passing a full path with wildcard to Directory() - please test. + You can now get the 8.3 filename (msvc again) for true Clipper compatibible return results by passing a logical as the new 3rd parameter. The default is .f. which gives full long filenames + Add a number of static funcs like HarbourMaskToAttributes() to convert "DHS" to something the os understands. ! Where this all falls apart is for OS_UNIX_COMPATIBLE. I don't know what to do about translating Hidden or System files. and not too sure how to handle Readonly. Nobody commented when I posted the code - so here is what I came up with. * tests/working/dirtest.prg + added 3rd parameter to indicate 'want 8.3 filenames' 19990915-03:20 GMT+1 Viktor Szakats * source/rtl/do.c - Previous fix undone, since it was causing other problems. 19990915-02:20 GMT+1 Viktor Szakats * .cvspass - File removed, since it was probably added by incident. 19990915-01:22 GMT+1 Viktor Szakats * source/compiler/gen*.c + some fflush() calls added to see a better feedback about the progress of the generation process. 19990915-00:38 GMT+1 Viktor Szakats * tests/working/sound.prg tests/working/*.bat tests/working/*.ch + CVS header added to all files. + @echo off added where missing. 19990915-00:30 GMT+1 Viktor Szakats * (*.* in the root directory) + CVS header added to all files. + @echo off added where missing. * build32.bat build40.bat build31.bat build.bat (renamed) build16.bat (new) buildrdd.bat (removed) bldgt32.bat (removed) bldhbpp.bat (removed) % These three batch files has been incorporated to the main build batch files, since they were simple one-liners. ! hbpplib.b32 build process was executed two times from the build32.bat and build40.bat files. * build.bat renamed to build16.bat 19990914-17:30 GMT+1 Viktor Szakats * config/rules.cf * Harbour flag /q changed to /q0 to omit the compiler header. * source/rtl/do.c ! DO() fixed to use hb_dynsymFind() instead of hb_dynsymGet(), now it properly displays when the passed string is not a symbol, rather then throwing an internal error. * source/compiler/harbour.y + /CREDITS command line switch to display the development team. Like in Clipper. 19990914-13:15 GMT+1 Viktor Szakats * source/compiler/harbour.y source/compiler/gen*.c + Help screen made more Clipper like. + /f switch changed to /gf, and the whole object generation build in to the source in a more standard way. It works now. + /q0 switch added to the help screen. + All filename composing stuff related to specific output types moved to the appropriate gen*.c file. This way the code is more modular. ! One variable made static in genobj32.c 19990914-11:40 GMT+1 Viktor Szakats * source/runner/stdalone/external.prg include/external.ch * Regenerated. * source/runner/runlib.c ! Made some steps to release memory blocks when an undeclared symbol error occurs, seemingly with few success. This needs some more work. + TODO added about a possible direction for further development. The idea would be to replicate the Blinker DLL functionality. * source/compiler/harbour.y source/compiler/harbour.l source/compiler/gen*.c * Only every 100th line number is shown on the counter while parsing, this way it's more Clipper like. In theory it should also be faster, but due to the stdout buffering, it's approx. the same speed. Though it could be faster in some platform/compiler/screen output combinations. + The "syntax ok" message is now replaced with the total number of functions and the total number of lines. Similar to Clipper, but not so specific to the generated output. + /q0 switch no suppresses the "Harbour Compiler" header. + The "Generating ... output" line format changed, it's now more compact. * tests/working/rtl_test.prg + A new VAL() test added to test the huge value problem. ! One failure eliminated by hiding a filename generating difference in __COPYFILE(), NOTE added about this. * source/rtl/strings.c + HB_VAL() now uses hb_retnlen(). ! HB_VAL() was incompatible for huge integer values (5000000000). This is fixed. * source/rtl/memvars.c * __MVRESTORE() is now using hb_itemPutNLen() * source/rtl/extend.c include/extend.h + hb_retnlen() Extend API function added, which is a wrapper for hb_itemPutNLen(). * source/rtl/itemapi.c include/itemapi.h + hb_itemPutNLen() generic function added to assign a number to an item, the low-level type of the number is automatically selected, based on the magnitude and presence of decimal places. Similar to hb_vmPushNumber(). + hb_itemPutN?Len() functions will now accept any negative width/dec parameters as a request for the default. So: For iDec now any negative number will do the same as -1 before. For iWidth now any negative number will do the same as 0 before. This way the interface is more fool proof and consistent. 19990914-01:00 GMT+1 Viktor Szakats * source/vm/hvm.c include/ctoharb.h + hb_vmEqual() - Added support for alternate equal operator: "=" Currently they are exact synonyms. + hb_vmInc()/hb_vmDec() - "++", "--" operator overloading support added. + hb_stackDispLocal() - More values are printed, the format changed. * tests/working/rtl_test.prg tests/working/overload.prg ! The tests fixed again, "+="/"-=" operators removed from the class declaration. * "+"/"-" implementation changed to not modify the original value, since the expression "oString + 'A'" in itself in one line is not valid anyway. + "++", "--" operator overloading added. - Removed the "<>" and "#" overloading methods since they were not needed in this case. 19990913-23:45 GMT+1 Viktor Szakats * source/vm/hvm.c + hb_vmInString() - Added support for overloading the "$" operator. ! hb_vmPlus() - Fixed the operator overloading feature. + hb_vmNotEqual() - Added support for alternate notequal operators: "<>" and "#". * tests/working/rtl_test.prg tests/working/overload.prg - Removed +=, -= tests, since they will destroy the object, basically this gets executed: oString := oString + "Hello", where the right side expression will result in a string, which gets assigned to the object. This could be fixed by changing the overloader block to return self BTW, but from the test point of view, this is the same as "+"/"-". * gt.b32 makefile.b32 runner.b32 ! Fixes by Jose Lalin 19990913-23:00 GMT+1 Viktor Szakats * ChangeLog ChangeLog.003 * Old ChangeLog renamed to ChangeLog.003 * New ChangeLog created. 19990913-22:50 GMT+1 Viktor Szakats * source/rtl/gtapi.c ! hb_gtRectSize() fixed to always return a valid value, even when the coordinates are out of range, just like in Clipper. This caused a GPF when running a program with the standard output redirected. The screen size stored in the caching static variables were invalid or uninitialized. The Row()/Col() parameters are also cached in static variables, I'm not sure if this is needed, it would be better IMO to add hb_gtRow() and hb_gtCol() and call these when needed, it could be also cached locally to optimalize where appropriate. ! s_uiMaxCol()/s_uiMaxRow() static variables replaced with hb_gtMax*() calls. % hb_gtWriteCon() now caches the screen size info locally. * source/rtl/console.c ! SAVESCREEN() - Non GTAPI version now returns an empty string. * source/rtl/alert.prg + Will now return NIL and do nothing if the number of parameters was zero. This better mimics the STRICT Clipper behaviour. ! One explicit value changed to manifest constant. ( 0 -> SC_NONE ) * source/rtl/memvars.c ! FO_SHARED flag uncommented for __MVRESTORE(). NOTE: Cygwin will now delete the .mem file after a restore. This is a known problem and should be fixed elsewhere. * tests/working/overload.prg + New tests added by Jose Lalin. * source/rtl/natmsg/msggl.c * Updated version by Jose Lalin. * include/errorapi.h source/rtl/errorapi.c + hb_errPutArgs() function to set :Args of an Error object. * tests/working/rtl_test.prg tests/working/memfile.prg + __MVSAVE()/__MVRESTORE() error cases moved here from MEMFILE.PRG + Operator overloading tests added. 19990913-15:35 GMT+2 Ryszard Glab <rglab@imid.med.pl> *source/rdd/dbcmd.c * added retry possibility for error handling in field assignment/access * changed BOOL to ERRCODE for hb_rddSelect*() and hb_rddPutFieldValue/hb_rddGetFieldValue *include/rddapi.h * changed BOOL to ERRCODE for hb_rddSelect*() and hb_rddPutFieldValue/hb_rddGetFieldValue *source/vm/hvm.c * changed BOOL to ERRCODE for hb_rddSelect*() and hb_rddPutFieldValue/hb_rddGetFieldValue * memvar handling functions moved directly into main VM loop *include/ctoharb.h * removed declaration of internal memvar functions used in VM *source/rtl/memvars.c * added retry possibility for error handling in variable access *tests/working/rtl_test.prg * added code to test __MVGET function (macro evaluation in Clipper) 19990913-13:30 GMT+1 Viktor Szakats * source/compiler/harbour.y ! Stupid bug fixed which always caused an error when using the /p switch. The bug has been introduced today. * source/runner/runlib.c * Formatting/indenting errors fixed. 19990913-12:00 GMT+1 Viktor Szakats * tests/working/rtl_test.prg + ASORT() tests added. ! Fixed an expected result for aScan() was 12 instead of 4. ! CHR() tests fixed to avoid the Clipper compiler expression optimizer. * source/rtl/asort.prg ! Parameter checking fixed and streamlined again. ! Fixed when sorting a given range of the array. ! Fixed when the codeblock is not returning a logical type. This is not Clipper compatible, but Clippers behaviour is not defined for this case, and seems buggy. % One variable eliminated from QuickSort() + Formatted. ; Results checked against Clipper 19990913-10:00 GMT+1 Viktor Szakats * include/compiler.h include/hberrors.h source/compiler/harbour.l source/compiler/harbour.y source/compiler/gen*.c source/hbpp/hbpp.c source/hbpp/hbppint.c source/hbpp/stdalone/hbpp.c ! Fixed a GPF when the .PPO file could not be created. * The compiler screen output made more Clipper like. * Some error messages made Clipper like. + Some printf()s changed to use GenError() instead. + Added www site name and Copyright notice to the header. * lPpo -> _bPPO variable name change. * source/vm/hvm.c + Some casts added. 19990913-01:40 GMT+1 Viktor Szakats * source/rtl/memvars.c ! __MVSAVE() - Pedantic fix to the saved format of DATE type. ! __MVSAVE() - Made it bug compatible with Clipper, for DOUBLE numeric types with no decimals, Clipper adds one to the saved width, which is wrong, since at restore the width will be incorrect (one more than it should be), you can check this with the value 5000000000 for example. HARBOUR_STRICT_CLIPPER_COMPATIBILITY added here, right now the bug fix in enabled. * source/rtl/asort.prg ! More parameter checkings added. * tests/broken/numform.prg + Added test to demonstrate a bug in the compiler. (a==22.and.b==10) * tests/working/memfile.prg ! Fixed faulty RESTORE command. * source/compiler/harbour.y 19990912-17:11 EDT Paul Tucker <ptucker@sympatico.ca> * source/rtl/memvars.c * added a few casts 19990912-20:45 GMT+1 Viktor Szakats * source/rtl/memvars.c ! __MVSAVE() will no longer try to save memvars with longer filename than 10 characters, the Clipper maximum. * tests/working/memfile.prg tests/working/Makefile + .MEM file save/restore test program added, it's a simple test and doesn't yet checks for every aspects of the topic. * funclist.txt + __MSAVE()/__MRESTORE() marked Ready. 19990912-20:30 GMT+1 Viktor Szakats * source/rtl/memvars.c + __MVSAVE()/__MVRESTORE() .MEM file saving and restoring support added, Clipper compatible, with extensions to __MVRESTORE() to only restore varnames with a specified mask. * source/rtl/itemapi.c include/itemapi.h + hb_itemPutDL() added to set a date directly with a Julian date value. * source/rtl/filesys.c ! hb_fsIsDrv() fixed bug when the original drive is not restored. Thanks go to Jose Lalin for finding this. * tests/working/statinit.prg + More meaningful messages are printed. * source/rtl/extend.c ! hb_parcsiz() now only works for parameters passed by reference, just like in CA-Cl*pper. 19990912-15:45 GMT+2 Ryszard Glab <rglab@imid.med.pl> *include/errorapi.h *source/rtl/errorapi.c * all hb_errRT*() functions return error code returned by hb_errLaunch * separated generic runtime error creation from error launching *include/extend.h *source/rtl/strings.c + added hb_strncpyUpper( char *pDest, char *pSource, ULONG ulLen ) function to copy and convert to uppercase in one operation *source/rdd/dbcmd.c * functions that select workarea can now retry the select operation in case of error (the user code can open a missing database in a custom error handler) *source/vm/hvm.c *added substitution possibility in case of invalid alias value *tests/working/rtl_test.prg * failure description shows now function name and line number where failed code was used *include/external.ch * added declaration of MEMVARBLOCK, __MVGET, __MVPUT 19990912-07:43 GMT+1 Viktor Szakats * source/vm/hvm.c ! hb_vmSwapAlias() removed the RT error 9993, now it works like Clipper. + Added an empty TYPE() function prototype with a TODO: * source/vm/initsymb.c - QSELF removed from the list, since it's a native opcode in Harbour, there's not need to initialize it, the function address was NULL anyway. + Changed NULL pointer to HB_TYPE for the "TYPE" symbol. initsymb.c is complete now. * source/rtl/terror.prg source/compiler/genobj32.c * Small corrections. 19990912-01:29 EDT Paul Tucker <ptucker@sympatico.ca> * source/rtl/dir.c ! Changed selection criteria to include files that do not have any attribute set. This particularly affected the results returned by tests/working/adirtest.prg * source/rtl/adir.prg ! Changed default attributes passed to Directory to include "A" 19990912-00:45 EDT David G. Holm <dholm@jsd-llc.com> * source/rtl/dir.c ! Changed file size array element to numeric to match CA-Cl*pper. * tests/working/dirtest.prg + Added 'SET CENTURY ON'. - Removed padding from size array element. - Added a TRANSFORM call to size array element. - Removed padding from date and time array elements. 19990911-20:25 EDT David G. Holm <dholm@jsd-llc.com> * source/rtl/tone.c ! Added '|| defined(__CYGWIN__)' to the #if block for HARBOUR_GCC_OS2 and _Windows for calculating the value for temp for each pass of the tone duration timing loop. 19990911-07:42 EDT Paul Tucker <ptucker@sympatico.ca> * makefile.vc added new files for compiler to exe generation section 19990911-13:03 GMT+1 Viktor Szakats * source/compiler/harbour.y source/compiler/genc.c source/compiler/genhrb.c source/compiler/genjava.c source/compiler/genpas.c source/compiler/genrc.c source/compiler/Makefile include/compiler.h makefile.b32 makefile.b40 makefile.vc harbour.b31 + Separated the generation code from the main HARBOUR.Y file. (The Borland and MSVC make files have been modified, but I could not test them) * source/rtl/arrays.c + One comment added about hb_itemGetDS( NULL, szDate ); 19990911-12:45 GMT+2 Ryszard Glab <rglab@imid.med.pl> *source/compiler/harbour.y * changed binary search to linear search for abbreviations or redefinitions of reserved functions *source/rtl/math.c * added generation of runtime errors in case of math errors (log(0), sgrt(-2), etc) - for Watcom C only at this moment. 'matherr' function is used to suppress printing of internal compiler message for math errors. I think we need rethink the handling of such errors. *source/rdd/dbcmd.c *include/rddapi.h *source/vm/hvm.c * functions called from virtual machine return SUCCESS or FAILURE 19990911-11:30 GMT+1 Viktor Szakats * contrib/odbc/odbc.c include/classes.ch include/compiler.h include/ctoharb.h include/errorapi.h include/extend.h include/init.h include/itemapi.h include/pcode.h source/compiler/genobj32.c source/compiler/harbour.l source/compiler/harbour.y source/compiler/symbols.asm source/debug/debugger.prg source/rtl/arrays.c source/rtl/classes.c source/rtl/console.c source/rtl/copyfile.c source/rtl/dates.c source/rtl/descend.c source/rtl/errorapi.c source/rtl/errorsys.prg source/rtl/extend.c source/rtl/filesys.c source/rtl/fm.c source/rtl/inkey.c source/rtl/itemapi.c source/rtl/math.c source/rtl/msgxxx.c source/rtl/objfunc.prg source/rtl/setkey.prg source/rtl/strings.c source/rtl/tbcolumn.prg source/rtl/tbrowse.prg source/rtl/tclass.prg source/rtl/terror.prg source/rtl/tget.prg source/rtl/tgetlist.prg source/vm/dynsym.c source/vm/hvm.c * Partial copyright headers formatted, joined where possible, etc. * Copyright header changed to the standard doc/hdr_tpl.txt for Antonio Linares. 19990911-01:42 EDT Paul Tucker <ptucker@sympatico.ca> * source/compiler/harbour.y sz_Compare4() Change the length of the first compare to Min( 4, len(string)) to account for strings shorter than 4. Add 1 to the length in the second compare to include the trailing null so that (ie:) SetPos and SetPosBS can be detected as unique. 19990910-18:45 EDT David G. Holm <dholm@jsd-llc.com> * tests/working/rtl_test.prg ! Changed smart stringify token marker in TEST_LINE to regular stringify token marker. * Changed all alias tests to use TEST_LINE instead of TEST_CALL. 19990910-17:00 EDT David G. Holm <dholm@jsd-llc.com> * source/rtl/inkey.c ! In HARBOUR HB_INKEY( void ), the double seconds variable has to be initialized to 0.0, because not all compilers initialize all local variables to 0 and seconds is not assigned if INKEY() was called with no parameters. 19990910-22:10 GMT+1 Viktor Szakats * source/vm/hvm.c ! Fixed the operator overloading feature. (Reported by David) * source/compiler/harbour.y + Added /es switch, like in Clipper. /es0 and /es is the default, no errorlevel is raised on warning, /es1 will set errorlevel, /es2 will set errorlevel and not generate output. + The program header is always (even with /q) printed now, right at startup. * "id" -> "prefix" + /m /r /t /u @ command line switches added as todo, checks and messages added to the source, commented out lines added to help screen. * tests/working/Makefile tests/working/statinit.prg + //NOTEST removed, the missing dummy HELLO() function added, so now it links. * source/rtl/memvars.c * Fixed the MEMVARBLOCK() implementation in the doc examples 8) 19990910-15:25 EDT David G. Holm <dholm@jsd-llc.com> * source/rtl/gt/gtos2.c ! I forgot to remove a debug printf() call when I committed the hb_gt_Scroll() fixes in ChangeLog entry 19990908-21:35 EDT. 19990910-14:55 EDT David G. Holm <dholm@jsd-llc.com> * source/rdd/dbcmd.c * source/rdd/dbf1.c * source/rtl/copyfile.c * source/rtl/filesys.c * source/rtl/set.c * Changed F_ERROR back to FS_ERROR. 19990910-14:40 EDT David G. Holm <dholm@jsd-llc.com> * source/compiler/harbour.y ! Changed DWORD return type for PackDateTime() to ULONG. 19990910-14:20 EDT David G. Holm <dholm@jsd-llc.com> * source/rtl/console.c ! Uncommented two calls to hb_fsSetDevMode() in hb_consoleInitialize() which force the stdout and stderr handles to binary mode for Clipper compatibility. There was no explanation in the ChangeLog as to why the two calls had been commented out. 19990910-14:15 EDT David G. Holm <dholm@jsd-llc.com> * tests/working/Makefile ! Moved statinit.prg to BAD_PRG_SOURCES, because it won't link. * tests/working/statinit.prg ! Added '//NOTEST' as the first line, because it won't link. 19990910-17:40 GMT+1 Viktor Szakats * tests/working/rtl_test.prg + Added a more complete ALIAS regression test suite. * source/compiler/harbour.y ! Compiles even if the YYDEBUG constant is *not* defined, the compiler also hides the /y switch from the help screen. + Added command line switch /x. The init symbol function name can be set to an explicit value (using /xMyCoolLib) or to an automatically generated one (using /x). By default no mangling takes place. * include/itemapi.h source/rtl/itemapi.c + hb_itemPCount(), hb_itemParamPtr(), hb_itemReturnPtr() Item API calls added, to provide full functionality by the Item API. The longer term goal would be to make the Item API as the preferred, most complete and flexible API, and leave the Extend API as a secondary, bit slower, but simpler and more compatible option. Also the Item API should make it unnecessary to directly access internals, so it should provide a full but controlled access to all those. Only the VM itself should have access to internals IMO. * include/compiler.h * Some formatting. 19990910-16:00 GMT+2 Ryszard Glab <rglab@imim.med.pl> *source/vm/hvm.c * string alias is now correctly handled *include/rddapi.h + added declaration for hb_rddSelectAorkAreaAlias 19990910-11:10 GMT+1 Viktor Szakats * tests/working/rtl_test.prg + Enabled some alias tests which fail. (Ryszard, could you take a look at them ?) * source/vm/hvm.c ! hb_vmSwapAlias() - Fixed mistyped variable name, pItem was accessed instead of pWorkarea. (Is this OK, Ryszard ?) * source/rtl/itemapi.c ! hb_itemStrCmp() - Fixed a bug, when the character were compared as a signed value instead of unsigned. ( BYTE ) casts added where needed. This caused four regr.tests to fail. * source/rtl/gtapi.c ! hb_gtSetColorStr() is now using toupper instead of a platform dependent bit operation. * tests/working/rtl_test.prg + Code added to test the :Args feature of error handling, this is commented out, since Harbour doesn't support it yet. * include/error.api ! Zero bytes (!) removed from some places, so now the compatibility header files are working fine. * source/compiler/harbour.y source/rtl/dir.c source/memvars.c * Some formatting corrections. * include/ctoharb.h * Opcode functions grouped by type. Later on the same thing should be done in HVM.C. If similar code fragments are close to each other, bugs are easier to spot. * include/pcode.h * Comments aligned. 19990910-11:05 GMT+2 Ryszard Glab <rglab@imim.med.pl> *source/compiler/harbour.y * corrected support for pcode buffer larger than 64 KiB (many WORD converted to ULONG) However jumps are still limited to signed 16 bits - the compiler generates error when this limit is exceeded *include/compiler.h * changed WORD to ULONG *include/hberrors.h * new error ERR_JUMP_TOO_LONG 19990909-21:40 EDT Paul Tucker <ptucker@sympatico.ca> * makefile.vc + source/rtl/memvarbl.prg + /q to Harbour flags + /nologo to C flags 19990909-20:55 EDT David G. Holm <dholm@jsd-llc.com> * include/filesys.api ! Added FS_ERROR (defined using '#define FS_ERROR F_ERROR' following the already present '#include "fileio.ch"'). 19990909-20:00 EDT David G. Holm <dholm@jsd-llc.com> * include/fileio.ch * source/rdd/dbcmd.c * source/rdd/dbf1.c * source/rtl/copyfile.c * source/rtl/filesys.c * source/rtl/set.c ! Changed all FS_ERROR to F_ERROR for Clipper compatibility. Thanks to Matteo Baccan for reporting this. 19990910-01:10 GMT+1 Viktor Szakats * source/rtl/arrays.c % One memset() call replaced with a call to the Item API. It's a bit slower, but this is only an error handling branch, which is not getting called in normal cases anyway. * source/rtl/itemapi.c % hb_itemGetDS(), hb_itemPutDS() now uses the new date API call. Simpler. and the low-level date handling memset(sz,' ',8) calls could be removed. * source/rtl/extend.c % hb_pards() uses the new date API call, so it's even simpler now. * source/rtl/dates.c include/dates.h + New simpler date API functions added: hb_dateDecStr() == hb_dateStrGet() + hb_dateEncode() hb_dateEncStr() == hb_dateDecode() + hb_dateStrPut() * source/rtl/errorapi.c + Added support for the :Tries variable, now Harbour will increment it on every retry. * A bunch of internal item access changed to Item API calls. This also fixed a possible problem with accessing Integer member without making sure that the type is an INTEGER. + "Internal error" text changed to "Unrecoverable error". * source/rtl/strings.c ! ASC(), CHR() error value substitution added. ! CHR() added a HARBOUR_STRICT_CLIPPER_COMPATIBILITY branch, where Harbour will handle the value 256/512/... like Clipper. * tests/working/rtl_test.prg + ASC(), CHR() tests added. + Detected preprocessor errors are always displayed. * include/external.ch source/rtl/tget.prg source/runner/stdalone/external.prg * __GET synonym for _GET_ added. Clipper really uses this function name _GET_ is always converted to __GET internally by the compiler. * source/tools/Makefile source/vm/Makefile source/tools/debug.c source/vm/debug.c makefile.b31 makefile.vc * DEBUG.C moved to the Harbour VM, since it's used from the debugger. Please check the non GNU makefile, since I could not test them. * source/rtl/terror.prg + Reformatted. 19990909-21:30 GMT+1 Viktor Szakats * source/rtl/arrays.c ! hb_arrayCopy() fixed. Now it has two methods, one strictly compatible, and one which fixes buggy behaviour on extreme parameters. Clipper will copy one item, even it an out-of-range start, or target position is passed, I've considered that buggy. You can choose with the HARBOUR_STRICT_CLIPPER_COMPATIBILITY switch anyway. * tests/working/rtl_test.prg + ACOPY() tests added. * source/rtl/tgetlist.prg + Using getexit.ch include file, instead of repeating its content. * source/debug/tbrwtext.prg + CVS header added. * include/extend.h ! Some Clipper compatibility include files moved to the bottom, it's better now, but it still doesn't work when HARBOUR_STRICT_CLIPPER_COMPATIBILITY is defined. * source/rtl/tget.prg source/debug/debugger.prg + Using common.ch include file, instead of repeating its content. DEFAULT := form changed to the standard DEFAULT TO form, which is a bit more efficient anyway, since it only assigns when needed. * source/tools/fileread.prg source/tools/dates2.c source/tools/hb_f.c source/vm/dynsym.c source/hbpp/table.c source/hbpp/hbppint.c source/hbpp/hbpp.c source/compiler/fixflex.c source/rtl/*.c * Standardization in header format. Note that we should also standardize the *text* of the copyright message. * source/vm/hvm.c * Small formatting correction. * source/rtl/xsavescr.prg + Reformatted. 19990909-18:22 GMT+1 Viktor Szakats * source/rtl/arrays.c ! ARRAY() fixed to parse the dimension list in the right order. * source/rtl/extend.c ! hb_stornd() fixed byref method, it stored INTEGER instead of DOUBLE. * tests/working/rtl_test.prg + Some new ARRAY() tests added. * tests/working/extend2.c ; Compiled/linked successfully with Cygwin. There's still incompatibility since Harbour needs all the C functions to be prefixed with "HB_". * Changed HARBOUR function types to CLIPPER. * include/clipdefs.h + Added #include "caundoc.api". * include/hbdefs.h + Added a __HARBOUR__ define, to make it possible to detect Harbour from C code. * include/caundoc.api + Added _reta() and _pcount(). * tests/broken/vec2.prg tests/working/statinit.prg tests/working/Makefile ! Moved to the working dir. 19990909-16:35 GMT+1 Viktor Szakats * source/rtl/memvarbl.prg ! MEMVARBLOCK() now returns NIL if the passed parameter was not a string, or the MEMVAR name is not declared. * source/rtl/arrays.c include/extend.h ! hb_arraySize() - Fixed a memory related bug. Now when an array is resized to zero length, it will free (and not reallocate) the memory allocated for the item pointer table. ASIZE({ "A", "B" }, 0) could show the problem. + ARRAY() now supprt multiple dimensions. Code based on hb_vmArrayNew(). ! Array functions error handling behaviour made completely CA-Cl*pper compatible. ! ARRAY() could GPF on an error condition. ! AADD() checks if the second parameter is not NULL. ! AFILL() could GPF when second param was omitted. ! AADD() now throws a substitutable error. ! AFILL(), ASCAN(), AEVAL(), ACOPY() - Made completely compatible the ulStart/ulCount/ulTarget parameter handling. Please note that ASCAN()/AEVAL()/ACOPY() has not yet been regression tested. * hb_arrayFill(), hb_arrayScan(), hb_arrayEval(), hb_arrayCopy() changed to parameter to implement the previous change. * source/rtl/environ.c ! __RUN() now checks for the parameter type, not the number. + __RUN() funtionality enabled for __CYGWIN__ + __RUN() will now throw an "operation not supported" runtime error on platforms where it's not supported, this is IMO better than silently doing nothing. The error has a Default case, so the use can continue running the program. ! __RUN() Standardized the doc header. * source/rtl/copyfile.c + Made completely compatible in order to pass the tests. A small file name forming difference is still there. * tests/working/rtl_test.prg + __COPYFILE() tests added. + __RUN() tests added. + Array function error condition tests. + MEMVARBLOCK() tests added. + AFILL() tests added. * source/rtl/memvars.c + Added Clipper compatibility functions: __MCLEAR(), __MRELEASE(), __MXRELEASE(), __MSAVE(), __MRESTORE() They are simple wrappers to the corresponding Harbour versions. * funclist.txt + Added all internal functions (beginning with __) from Clipper/STD.CH. + Marked MEMVARBLOCK() "Ready". * source/compiler/harbour.y * Small indentation fix in the generated code. 19990909-16:05 GMT+2 Ryszard Glab <rglab@imid.med.pl> *source/rtl/memvarbl.prg + corrected to allow setings of NIL value 19990909-13:00 GMT+2 Ryszard Glab <rglab@imid.med.pl> *source/runner/stdalone/external.prg + added __MVGET, __MVPUT, MEMVARBLOCK *include/init.h + added 'static' declaration for functions used to initialize symbols table 19990909-12:45 GMT+2 Ryszard Glab <rglab@imid.med.pl> *source/rtl/memvars.c * removed unused variables *source/rtl/memvarbl.prg + added new file with MEMVARBLOCK() function *source/trl/Makefile + added memvarbl.prg to PRG_SOURCES 19990909-12:00 GMT+2 Ryszard Glab <rglab@imid.med.pl> *source/rtl/memvars.c + added __mvGET and __mvPUT functions to set/get the value of private and public variables *doc/subcodes.txt * updated info for 3009 and 3010 subcodes used in __mvGET/__mvPUT 19990908-21:35 EDT David G. Holm <dholm@jsd-llc.com> * include/extend.h * include/hbdefs.h * include/hbpp.h * include/hbsetup.h * source/vm/hvm.c ! In order to eliminate a redefinition error for _POSIX_PATH_MAX, "extend.h" now includes "hbdefs.h", which includes "hbsetup.h", which includes <limits.h>. * source/rtl/gt/gtdos.c ! Fixed hb_gt_Scroll() by renaming parameter 'attrib' to 'attr', and assigning all other parameters to variables of the correct types and names that the code that was cut-and-pasted from the source/rtl/gtapi.c module expects. * source/rtl/gt/gtos2.c ! Changed the types of the hb_gt_Scroll() parameters to 'char' to match the source/rtl/gtapi.c usage and changed their names so that the scrolling logic won't try to use them directly. + Added local variables to hb_gt_Scroll() with the types and names expected by the scrolling code and assigned them from their corresponding parameters. + Added unsigned char to USHORT conversions for the row and column scroll values, because negative scroll values were coming through as positive values greater than 127, because ICC has to default the char type to unsigned to avoid char type related link failures. 19990909-01:10 GMT+1 Viktor Szakats * source/compiler/harbour.y + Modified to add the current date and time (in a packed form as a hexadecimal DWORD value) to the generated symbol init function name, in order to lessen the possibility of name collisions. * source/rtl/inkey.c % hb_inkeyPoll() optimized, so that if no key press could be detected, the function will immediately return. ! hb_inkeyPut() fixed to check the parameter and not allow to mistakenly stuff a zero key code to the buffer. * tests/working/rtl_test.prg ! Fixed the expected results of two math functions to the mathematically correct ones. + Added some AllTrim() tests which brings CA-Cl*pper 5.2e to it's knees. Harbour handles them fine. * include/hbdefs.h source/rtl/filesys.c source/compiler/harbour.y * MKLONG() and MKINT() moved to hbdefs.h * LOBYTE(), HIBYTE(), LOWORD() moved outside the HB_DONT_DEFINE_BASIC_TYPES guard, since they are guarded one-by-one anyway. (all this in hbdefs.h) * include/hbdefs.h include/hbsetup.h * _POSIX_PATH_MAX moved to hbsetup.h, where it belongs. * include/dates.h + Added some missing global functions. * source/rtl/dates.c * Small variable name corrections. * source/rtl/setcolor.c source/rtl/gtapi.c ! Fixed indentantion and some small formatting errors. 19990908-11:56 EDT Paul Tucker <ptucker@sympatico.ca> * source/rtl/gtapi.c * modified SetColor to accept a null pointer, and do nothing * changed so that "" resets colors to Clipper default. 19990908-17:00 GMT+2 Ryszard Glab <rglab@imid.med.pl> *source/compiler/harbour.y * corrected handling of parenthesized expressions * corrected generation of pcodes for declaration of dimensioned array variables ( LOCAL var[ 2, 4 ] ) - there is no longer POP opcode between array dimensions *source/vm/hvm.c + added code that creates multi-dimensioned arrays (arrays declared by LOCAL arr[ 3, 5, getDim() ] - it supports PRIVATE and PUBLIC declaration too) *source/rtl/arrays.c + added functions hb_arrayGetItemPointer() which returns a pointer to an item occcupied by a specified array element *include/extend.h + added declaration of hb_arrayGetItemPointer() function *tests/broken/parexpr.prg ! moved to tests/working directory + added some code to test IF and IIF expressions (it is really related to parenthesized expressions) *tests/working/Makefile + added parexpr.prg 19990908-10:30 EDT David G. Holm <dholm@jsd-llc.com> * source/rtl/environ.c ! I restored the Windows #ifdef #include block from the 1.43 version, but kept the #define WIN32_LEAN_AND_MEAN from the 1.45 version. * source/rtl/set.c ! For _SET_COLOR case, only pass an argument to hb_setColor() if the 2nd SET argument is a string. Otherwise pass (char *) NULL. * source/vm/hvm.c * Moved hb_inkeyPoll() to the HB_P_DO case to enhance performance. 19990908-12:36 GMT+1 Antonio Linares <alinares@fivetech.com> * source/tools/debug.c + Added new function HB___GETLOCAL() to retrieve local variable containts. (see debug.c for GetLocal() use documentation). * source/debug/debugger.prg * First propotipe retrieving local variables values (still it is missing removing locals once a procedure is over. Editing is not implemented yet). 19990908-05:05 EDT Paul Tucker <ptucker@sympatico.ca> * source/rtl/inkey.c - remove extra #define INCL_DOSPROCESS + add #define INCL_NOPMAPI * source/rtl/gtapi.c simplified hb_gtScroll() to a function call. The code from this function was moved to gt/gtdos.c hb_gt_scroll() I currently can't compile a dos version so need a tester! * source/rtl/gt/gtos2.c - remove #define INCL_KBD since no keyboard functions are used + add #define INCL_NOPMAPI since PMAPI is not needed. * source/rtl/gt/gtdos.c * active hb_gt_scroll source. needs test. * most of this reported by Chen Kedem <niki@synel.co.il> 19990908-03:05 EDT Paul Tucker <ptucker@sympatico.ca> * source/rtl/gt/gtos2.c + hb_gt_scroll by Chen Kedem <niki@synel.co.il> 19990908-08:24 GMT+1 Antonio Linares <alinares@fivetech.com> * makefile.b32 * strfmt.c and strfmt.obj were missing. 19990908-08:09 GMT+1 Antonio Linares <alinares@fivetech.com> * rdd.b32 * Fixed missing '\' on the C output file path. 19990908-01:33 EDT Paul Tucker <ptucker@sympatico.ca> * source/rtl/environ.c corrected to work with msvc. The format passed to sprintf is now a variable. Under Windows, the hb_osletter is actually the build number, and the default format was not printing it correctly. 19990908-00:05 EDT David G. Holm <dholm@jsd-llc.com> * source/rtl/environ.c ! Version 1.43 added Windows code to detect the Windows version, but it also replaced the DOS code to detect Windows with Windows code to detect Windows. But Borland C 3.1 refuses to compile Windows code when creating DOS programs and I suspect that other DOS compilers do the same. So I restored version 1.42 and then put the Windows code from version 1.43 back in the only place where it belongs. - I removed the "95/98" designation from the Windows detection in DOS mode, because that code should also be able to detect Windows 3.x. * source/rtl/tget.prg ! Added missing ::Display() at end of ::Delete() 19990908-04:52 GMT+1 Viktor Szakats * tests/working/rtl_test.prg + Some tests now are only included when compiled with Harbour, to skip obvious bugs in Clipper. * source/hbpp/table.c + _SET_COUNT added. * include/clipdefs.h include/error.api include/item.api include/extend.api ! Some fixes. 19990908-03:14 GMT+1 Viktor Szakats * tests/working/rtl_test.prg + Some ==/= tests added for strings. * source/rtl/arrays.c ! hb_arrayScan(). Fixed a string comparison bug. * source/rtl/transform.c + FIXME added about a directly modified item string buffer. 19990908-02:30 GMT+1 Viktor Szakats * source/rtl/math.c source/rtl/strings.c source/rtl/extend.c source/rdd/dbf1.c * WORDs changed to int to reflect the recent Item API changes. * include/itemapi.h source/rtl/itemapi.c ! hb_itemParam(), hb_itemType() parameter type and retval changed to USHORT from WORD, to be Clipper compatible. * hb_itemGetNLen(), hb_itemPutN?Len() WORD types changed to int. * include/extend.h source/rtl/arrays.c * hb_arrayGetType() retval type changed to USHORT instead of WORD. * include/extend.h source/rtl/extend.c * hb_retn?len() functions now uses int instead of WORD. * hb_parinfo() and hb_pcount() now returns int instead of WORD, to be more Clipper like. * hb_param() WORD param type changed to int. * tests/working/rtl_test.prg + The execution time is now showed at the end of the tests. + One missing copyright added. * source/rtl/filesys.c ! Formatting fixes. 19990907-20:17 EDT Paul Tucker <ptucker@sympatico.ca> * source/rtl/console.c + added HB_SETMODE() (reported by Matteo Bacaan 19990908-00:33 GMT+1 Viktor Szakats * source/rtl/filesys.c % FREAD() now uses the fixed ISCHAR() macro for parameter checking, and ISBYREF(). * source/rtl/extend.c ! hb_param() now checks the type mask against the dereferenced item, until now hb_param() was not working with values passed by reference. After this fix the IS????() macros are Clipper compatible. * source/rtl/tbcolumn.prg ! TBColumnNew() fixed not to throw an error when a block is not passed. + TBColumnNew() FIXME added about possibly different behaviour than Clipper. * source/rtl/math.c ! hb_numRound() fixed for negative values. % hb_numRound() is not using sprintf(), atof(), hb_x*() calls, so it should be faster and requires less memory. All tests are still running fine. I don't know why was it needed ? (David ?) ! INT() fixed for values beyond -/+LONG_MAX. ! ROUND() fixed to set the decimal width to MAX(iDec, 0) instead of iDec. * tests/working/rtl_test.prg + Some ROUND() tests added (mainly for negative numbers). + Some byref tests added for several functions. + SQRT() and some other math function tests added. * source/rtl/strings.c ! hb_itemStr() fixed to always use the "%*.*f" format to convert a DOUBLE value. ! hb_itemStr() fixed a possible error when the item.asDouble member could accessed but the type was not DOUBLE. + STR(), STRZERO() value substitution possible on error. + STRZERO() added a HARBOUR_STRICT_CLIPPER_COMPATIBILIY to throw the same error code as in Clipper, actually Clippers STRZERO will call STR and the error will be handled by STR(), too. * source/rtl/inkey.c funclist.txt tests/working/rtl_test.prg + FKLABEL(), FKMAX() added. These are *really* dumb functions, but anyway. Tests added. * include/extend.h + One cast added the IT_NUMERIC #define. * source/rtl/environ.c + OS(): Added Windows version detection code by Luiz Rafael Culik <Culik@sl.conex.net> 19990907-17:00 GMT+1 Viktor Szakats * source/vm/hvm.c ! hb_vmEqual() is now Clipper compatible for ARRAY and BLOCK types. ! hb_vmMinus() is now generating the result as LONG (instead of DOUBLE) when the two operands are DATEs. ! hb_vmDivide() fixed the decimal handling for integer operands with an integer result. ! hb_vmNegate() now handles the number width in a Clipper compatible way. ! hb_vmEqual(), hb_vmNotEqual(), hb_vmLess*(), hb_vmGreater*(), hb_vmDo(), hb_arrayAt() error handling now support value substitution. hb_vmDo() and hb_vmArrayAt() should be tested, since I'm not exactly sure if they are correctly pushing the result. * source/rtl/strings.c ! VAL() fixed to return INTEGER/LONG if applicable, not always a DOUBLE. Similar logic can be found in hb_vmPushNumber(). + REPLICATE() STROVERFLOW error now supports value substitution. * hb_itemPadConv() now uses less internal, type checks reordered with the most probable moved to the top. Some Extend API calls changed to Item API ones, to make it faster. ! hb_itemPadConv() was casting back DOUBLE value without decimals to LONG to convert it to string. Corrected. There may be other places where DOUBLE is converted to LONG, these should be revised, since a DOUBLE is also used when there are *no* decimal places, but the value is too big to fit in a LONG (like: 5000000000), for example INT() is buggy because of that right now. * tests/working/rtl_test.prg + Some new decimal handling and ABS() tests added. + Some divide and date subtracion tests added to decimal handling section. + Some negate tests added to the decimal handling section. + INT() tests added. * LOCAL test values converted to STATIC, PRIVATE test values converted to PUBLIC. * Split the tests into smaller functions, since the 64 KiB function limit has been reached. ! Expected results changed where we consider Clipper to be buggy, mainly for cases when the parameters is passed by reference. + SQRT() tests added. * source/rdd/dbf1.c ! Fixed the passed parameters to hb_itemPutNDLen() * tests/working/testdbf.prg + Numeric value put/get tests added. * source/rtl/itemapi.c ! hb_itemType() now checks for NULL parameters, like in Clipper. ! hb_itemPutNDLen() was handling the wDec parameter in a wrong way by mistake. I assumed that the wDec value means the decimal places within the full length, but that was wrong. ! hb_itemStrCmp() two LONGs changed to ULONG. * source/rtl/math.c % MOD() one Extend API call changed to Item API to make it faster. + MIN()/MAX() now uses Item API instead of accessing internals. + ABS() uses Item API instead of internals. ! ABS() now keeps the width of the positive integers. ! hb_numRound() now uses a much larger buffer (like in hb_itemStr()), this seem to have fixed the random GPFs in Cygwin when running RTL_TEST. Same type of dangerous code can be found in RDD/DBF1.C, too. (Bruno!) + ABS(), INT(), ROUND(), EXP(), LOG(), SQRT(), MIN(), MAX() value substitution added. * source/rtl/descend.c * Now using Item API only, internals totally eliminated. Simpler code, some variables eliminated, some small optimalizations. * source/rtl/do.c * Value substitution added to EVAL(), DO() * source/rtl/classes.c * Value substitution added to :EVAL * tests/working/descend.prg tests/working/Makefile - Removed since an automated version is already included in RTL_TEST. * source/rtl/classes.c source/rtl/arrays.c + Copyright info added. * source/rtl/set.c ! Some minor formatting corrections. 19990907-02:30 GMT+1 Viktor Szakats * include/external.ch source/runner/stdalone/external.prg + Updated to reflect the recent changes. * source/rtl/itemapi.c ! hb_itemGetCPtr() will now return an empty string ("") on error and not a NULL pointer. ! Leak fixed in hb_evalLaunch() when the function to evaluate was passed as a string. (hb_itemGetC() changed to hb_itemGetCPtr()) * source/rtl/arrays.c source/rtl/extend.c source/rdd/dbcmd.c include/extend.h * Some array functions renamed to be consistent with the similar Item API function names. hb_arrayGetString -> hb_arrayGetCPtr hb_arrayGetStringLen -> hb_arrayGetCLen hb_arrayGetBool -> hb_arrayGetL hb_arrayGetDouble -> hb_arrayGetND hb_arrayGetDate -> hb_arrayGetDS * hb_arrayGetCPtr() now calls hb_itemGetCPtr() instead of using redundant code. + hb_arrayGetC() added keep it in sync with the Item API. + hb_arrayCopyC() added keep it in sync with the Item API. % Further simplified the hb_arrayGet*()/hb_arraySet()/+some more functions. * source/rdd/dbcmd.c funclist.txt + DBF() function added. (not tested yet) * source/rdd/dbf1.c source/rdd/delim1.c source/rdd/sdf1.c source/rdd/dbf0.prg source/rdd/delim0.prg source/rdd/sdf0.prg * The forcelink function names changed. The C functions got a "C" appended at the end, the Harbour ones got an underscore at the beginning, this way it's more Clipper like, but it was also inevitable, since previously the forcelink function HB_DBF() was colliding with the standard Clipper function named DBF() (HB_DBF() from C). * source/rdd/dbcmd.c source/rdd/rddsys.prg source/vm/hvm.c include/rddapi.h * Instead of calling rddShutDown() from a Harbour EXIT function, now the same functions C version is called by the Virtual Machine on exit. This way it's more Clipper compatible, since in CA-Cl*pper the RDDSYS doesn't need to clean-up on exit. RDDSYS.PRG is now exchangeable with the Clipper one. ! hb_rddShutDown() fixed a possible GPF if there was no rddSetDefault() calls at all (when RDDSYS was overridden by a dummy one). * source/rtl/setkey.prg * Not CA-Cl*pper compatible functions (extensions) renamed to avoid possible collision with existing code: SETKEYGET() -> HB_SETKEYGET() SETKEYSAVE() -> HB_SETKEYSAVE() SETKEYCHECK() -> HB_SETKEYCHECK() The function names are valid even if compiled with /10 switch. 19990907-01:00 GMT+1 Viktor Szakats * source/rtl/arrays.c ! hb_arrayScan() fixed, so that it can also search for a NIL value. Like Clipper. % Optimized the search loop for speed. ! Fixed searching of numeric values. Different numeric sub-types with the same value are also considered equal (of course), so 10 == 10.0 now. * Uses Item API calls where possible. * source/rtl/classes.c ! hb___msgEval() added, so now send an :eval message to a block will work fine, sending it to other types will result in a proper error message. ! hb___msgClsH() will return 0, if the checked type is not an ARRAY/OBJECT. Until now a GPF occured on this code: a := "A" ; a:classH * Functions reordered. * source/rtl/do.c source/vm/hvm.c * EVAL() moved to do.c. ! EVAL() internal message changed to the Clipper compatible one. * DO() parameter count error message changed to EG_ARGCOUNT/3000. * source/compiler/harbour.y + SETPOSBS() added to the reserved function list. * tests/working/rtl_test.prg + Some PAD?() tests added with new types, byref. Some new MIN()/MAX() tests added. ASCAN() tests added. + /SKIP: switch added, to make it possible to temporarly skip specific tests. (RTL_TEST /SKIP:100,102) + EVAL(), :EVAL() tests added. Some are commented out, due to bugs. * source/rtl/itemapi.c include/itemapi.h - Removed hb_itemSetNLen() since it was superseded by hb_itemPutN?Len() functions, these are more compact, faster, and have default value of the parameters. 19990906-11:25 GMT+1 Antonio Linares <alinares@fivetech.com> * source/rtl/tbrowse.prg * Fixes on Stabilize() method * source/rtl/tbcolumn.prg * Small fix on New() method * source/debug/debugger.prg * First outline for monitoring variables (it is left open for testing purposing) 19990906-01:27 EDT Paul Tucker <ptucker@sympatico.ca> * source/rtl/set.c * added a cast in open_handle to fsRead() 19990905-17:55 EDT David G. Holm <dholm@jsd-llc.com> * source/rtl/console.c + Added code to preserve the current user file error code when using Harbour hb_fs... functions. * source/rtl/set.c + Added code to preserve the current user file error code when using Harbour hb_fs... functions. + Added code to remove the old EOF character ('\x1A') when appending to text-mode files on non-Unix platforms. * tests/working/output.prg * Changed the names of the output files to OUTPUT_A (.txt), OUTPUT_E.EXT, and OUTPUT_P (.prn) so that the files may be examined and deleted without having to worry about the .PRG file (the extensions in parentheses are the default ones). 19990905-17:48 GMT+1 Viktor Szakats * source/rtl/dbf1.c % Uses hb_itemPutN?Len() instead of hb_itemSetNLen(), so it's a bit faster now. * source/rtl/errorapi.c % Now uses hb_itemDo() instead of the Eval API. Eight function calls substituted with a single one. * source/rtl/extend.c + hb_retn?len() functions now make simple calls to hb_itemPutN?Len() functions. * source/rtl/itemapi.c include/itemapi.h + EVALINFO structure now has a Clipper compatible paramCount member. ! hb_eval*() speed up a bit by using paramCount, and by assigning error return value only on error. ! hb_evalPutParam() now check if pItem is a NULL. ! hb_evalRelease() now sets back the EVALINFO structure to an initial state, just like Clipper. + hb_itemDo() and hb_itemDoC() function added, they do the same as hb_eval() but in a lot more convenient way. + hb_itemPutNDLen(), hb_itemPutNILen(), hb_itemPutNLLen() functions added to make to number length setting easier. * source/rtl/do.c ! DO() without any parameter caused a GPF. Fixed. * tests/working/rtl_test.prg + Alias tests enabled. Now an internal occurs in one of them, this will need fixing. Some alias Pop/Push/Swap functions are not checking NULL pointers and are not yet compatible with Clipper in strange situations. + Fixed some result in == test with objects and arrays. Added some more == tests. * source/vm/hvm.c ! Small correction in one debug message. * source/vm/initsymb.c + SETPOSBS added to the list. Since it's a native opcode in Clipper, it always linked in by nature. 19990905-02:47 EDT Paul Tucker <ptucker@sympatico.ca> * source/rtl/filesys.c * casts on access() and in HB_FILE 19990904-23:35 EDT David G. Holm <dholm@jsd-llc.com> * include/hbver.h * Bumped revision from "a" to "b". * Changed date to 1999-09-04 * source/rtl/filesys.c ! Borland needs "direct.h". 19990904-20:35 EDT David G. Holm <dholm@jsd-llc.com> * include/filesys.h + Added hb_fsFile(). * source/rtl/filesys.c + The guts of HB_FILE() are now in hb_fsFile(), so that C RTL functions can check for the existence of a file. ! Added temporary bug fix for Cygwin I/O flags (starting with O_CREATE, they are one bit position too high). + I left in the debug statements that I used to track down the Cygwin I/O flag bug, but I commented them out. */ * source/rtl/set.c ! Corrected the file open/create handling in open_handle(). 19990904-18:35 EDT David G. Holm <dholm@jsd-llc.com> * source/rtl/tone.c ! Added missing '&& ! defined(_Windows)' checks to the __BORLANDC__ checks that didn't already have them and weren't already preceded by a 'defined(_Windows)' check. 19990904-15:20 GMT+1 Viktor Szakats * source/rtl/arrays.c ! hb_arrayScan() fixed. (Thanks Antonio) 19990903-19:35 EDT David G. Holm <dholm@jsd-llc.com> * source/rtl/console.c ! Added #ifdef HARBOUR_USE_GTAPI/#endif around use of GT API functions in the new HB_SETPOSBS() function. * source/rtl/filesys.c ! Added #defines for _getdisk and _chdisk for DJGPP. 19990903-19:00 GMT+1 Viktor Szakats * source/itemapi.c include/itemapi.h + hb_itemGetCPtr() function added. Use this with care, don't modify the returned buffer. This is the fastest way to access a string buffer via the standard API. The retval should really be declared const, but that would generated a bunch of compiler warnings, so I didn't add it. ! hb_itemGetDS() made compliant with the Clipper NG, it now terminates the date with a zero character, so the buffer needs to be 9 characters long. Although Clipper itself is buggy in this respect and doesn't append a trailing zero, even the example in the NG is buggy. NOTE added about this. * source/vm/hvm.c * LEN(), EMPTY(), VALTYPE(), hb_stackDispLocal() (almost) now use no internals, or uses Item API instead of Extend API, since it's faster in their case. * source/rtl/arrays.c source/rtl/extend.c include/extend.h + hb_arrayIsObject() function added. * hb_arrayGetString() now uses hb_itemGetCPtr() + Copyright info added to arrays.c ! hb_arrayGetDate() now returns the date with a terminating zero. * Small cosmetic change in array.c. * source/rtl/extend.c % hb_stor*() functions further optimized, usage of ulArrayIndex eliminated. ! One bug slipped in to one of the hb_stor*() functions at the previous changes. Fixed. ( if -> else if ) + NOTE added to hb_parc() * hb_ret*() functions now uses Item API calls, this way a huge amount or sensitive redundant code has been eliminated. Since these functions are always called only once in Harbour callable function, the speed hit should not be noticeable (There's one more NULL check and a function call). hb_retn?len() functions were not converted. We could make these functions inline to speed it up. Notice that the size of extend.c has been reduced from 23 kB to 17 kB. ; hb_par*() functions also have many redundant code, but it would be more of a speed hit to convert them, since these are generally called several times in a function, and two additional if()s would be also executed. * source/compiler/harbour.y + The parameter count checking now shows the expected *range* in the error message if applicable (not only the minimum number of params). * tests/working/rtl_test.prg + Changed the column layout. Few new tests added (==). * source/rtl/classes.c % One variable eliminated (wIndex). * source/rtl/dir.c include/init.h ! Indenting errors fixed. 19990903-15:30 GMT+1 Viktor Szakats * source/rtl/itemapi.c % hb_itemPutDS() contained one more hb_itemClear() then needed. + hb_itemGetNI(), hb_itemPutNI() added for completeness. ! hb_itemArrayGet()/hb_itemArrayPut() checks if the passed array item ptr is not a NULL. * source/rtl/extend.c * hb_parni(), hb_parnl() now uses hb_arrayGetN*() instead of hb_arrayGetDouble(). % Array index validation removed from hb_par*() functions, since the called Array API is doing this. + hb_stor*() function group now using Item API instead of duplicating the same code. These function looks much simpler now. ! hb_stor*() functions were suboptimal in handling the -1 parameter, they were assigning a new value to it, then checking IS_BYREF()/IS_ARRAY(). The logic has been optimalized. + Optional parameter type changed to ULONG from long. * source/rtl/array.c include/extend.h + Missing prototypes added to extend.h ! hb_arrayAdd() will not throw a runtime error anymore, instead it returns a BOOL to signal error. Error launching moved to AADD(). ! hb_arrayClone() will not throw error. ACLONE() is more compatible now. ! hb_arrayCopy() will not throw error, but return BOOL. ACOPY() is more compatible now. ! hb_arrayRelease(), hb_arrayEval() will not throw error. They will return BOOL. ! hb_arrayScan() will return ULONG instead of int. It will now throw an error anymore. ! hb_arrayGetType() will return WORD instead of int. ! hb_arrayIns(), hb_arrayDel() will return BOOL, and not throw an error. ! hb_arrayFill() will not throw an error, but will return BOOL, AFILL() will check if the second parameter is not NIL. ! hb_arrayAdd(), hb_arrayLast() checks if the passed item is an array, like the other hb_array*() functions. + hb_arrayNew() now returns BOOL. Actually a constant TRUE right now. + hb_arrayLast() now return BOOL, it will return FALSE if the passed item was not an array. ! hb_arraySize() now return BOOL. ! hb_arrayClone() fixed bug which caused a GPF. (Thanks Paul!) This was introduced around yesterday. ! hb_arrayLen() will not throw a runtime error anymore. ! hb_arrayGet*()/hb_arraySet() will no longer throw runtime errors. + hb_arrayGet(), hb_arraySet() now return BOOL. + hb_arrayGetNL(), hb_arrayGetNI() added to be in sync with Item API. ! hb_arrayGetDate() now properly clears the date field on error. * source/rtl/dir.c + NOTE: added about the behaviour on reaching array length limit. * source/rtl/extend.c + NOTE: added about parameter -1 * source/rtl/set.c * bMode name changed to bAppend * source/rtl/console.c funclist.txt + SETPOSBS() undocumented Clipper function added. I don't know why is this function so important to CA, but it's a pcode level function. * source/compiler/harbour.y + Added parameter count check for EVAL() + Added parameter count check for SETPOSBS() which is and undocumented Clipper function. Now the parameter count check list is complete. * source/vm/hvm.c + Added runtime parameter count check for EVAL(). * tests/working/ifelse.prg + Changes by Jose Lalin implemented. * source/rtl/classes.c source/rtl/itemapi.c (nszText -> szText) include/rtl/itemapi.h (nszText -> szText) ! Small formatting fix. * source/rtl/codebloc.c ! A few formatting errors corrected. 19990903-14:35 GMT+2 Ryszard Glab <rglab@imid.med.pl> *source/rtl/codebloc.c * corrected bug if nested codeblocks without local variables references were created 19990903-14:00 GMT+2 Ryszard Glab <rglab@imid.med.pl> *include/hb_vmpub.h * added a second parameter for HB_DYNS_FUNC *source/vm/dynsym.c *include/extend.h * added a second parameter for hb_dynsymEval() function *source/rtl/memvars.c * new function __mvDBGINFO() for memvars debugging (documentation included in memvars.c) *include/memvars.ch * new MV_PRIVATE definition *source/rtl/mouseapi.c * added (char*) type cast to make C++ compilers happy 19990903-08:00 GMT+1 Viktor Szakats * include/hbdefs.h include/extend.h ! IT_OBJECT() checked for IT_ARRAY type, correct to IT_OBJECT, which is equal to IT_ARRAY, so there was no bug, but it's not a good practice to take shortcuts like this. * Type checking macros moved to extend.h from hbdefs.h * source/vm/hvm.c % Variable optimed out in HB_PCOUNT(). * source/compiler/harbour.y source/hbpp/stdalone/hbpp.c source/rtl/filesys.c ! hb_fsFNameSplit() now leaves the szName pointer to NULL if there was no name specified. ! hb_fsFNameMerge() now handles when szName is NULL. * Some variable names made consistent in the functions above. 19990902-21:15 EDT David G. Holm <dholm@jsd-llc.com> * source/rtl/filesys.c ! Added missing semi-colon for line 1842. * Replaced all calls to getdisk() and setdisk(), which are not very likely to be POSIX-compliant (they don't exist in the Cygwin or OS/2 implementations of GCC), with _getdrive() and _chdrive(), which are not POSIX-compliant either, but at least they exist for OS/2 GCC, IBM Visual Age C++, Borland C, and Microsoft C. They also exist in mingw32/direct.h for Cygwin, but that includes dir.h instead of mingw32/dir.h, so it won't compile with a default Cygwin install, so I left in the Cygwin exclusion. I also set things up so that only OS2, DOS, and _Windows compilers will attempt to use these functions, seeing as how they are unlikely to exist on Unix and Linux. 19990902-17:30 GMT+1 Viktor Szakats * tests/working/rtl_test.prg + <=, >=, >, < operator tests added. * source/rtl/hvm.c % Variable scope optimalization, variables accessed only once eliminated, formatting errors corrected. + Error value substitution support added to: hb_vmNot(), hb_vmNegate(), hb_vmInString(), hb_vmInc(), hb_vmDec(). ! hb_vmEqual(), hb_vmNotEqual() fixed for those where it returned a constant FALSE, blocks, arrays, etc. It confused the stack. ! Fixed all hb_vmOperatorCall() calls since they were not popping the values from the stack. ( did not test this ) ! hb_vmGreater*(), hb_vmLess*() functions pushed inverse results for logical types. 19990902-12:20 GMT+1 Viktor Szakats * tests/working/rtl_test.prg + STOD() tests added. * source/rtl/dir.c * Direct stack access changed to hb_itemReturn(). * source/rtl/hvm.c ! hb_vmEqual(), hb_vmNotEqual() didn't handle DATE type. Fixed. % hb_vmEqual(), hb_vmNotEqual() reordered the order of type to be a bit more efficient. % hb_vmEqual(), hb_vmNotEqual(), hb_vmGreater*(), hb_vmLess*() function variable scopes optimed. They need less stack space now. * source/rtl/errorapi.c funclist.txt + First pass of DOSERROR() implementation. * source/rtl/dates.c source/rtl/extend.c source/rtl/itemapi.c + hb_dateStrPut() now takes care of filling the target with spaces when the date is empty, so from now on the caller shouldn't bother with this. This has also fixed a possible bug in RDD/PutValue with empty date. * source/rtl/itemapi.c include/itemapi.h + hb_itemGetCLen() function added, which simply returns the length of STRING item, arrays.c uses it right now. * source/rtl/arrays.c * Many stack.return accesses converted to use hb_itemReturn(). * One hb_itemClear()/hb_xfree() call pair converted to hb_itemRelease(). % Replaced internal hb_arrayLen() calls with direct access to the array structure. * hb_arrayGet*() functions will call the proper Item API function instead of repeating the functionality. * source/rtl/console.c * hb_fsSetMode() -> hb_fsSetDevMode() * include/filesys.h source/filesys.c + hb_fsSetError() added, to be able to get/set the last error number in internal functions which uses the FS API. * hb_fsSetMode() -> hb_fsSetDevMode() * source/rtl/descend.c - One obsolete comment removed. * source/rtl/console.c ! Some formatting errors removed. 19990901-21:24 EDT Paul Tucker <ptucker@sympatico.ca> * source/rtl/filesys.c * hb_fsReadLarge() -> drop out on eof * hb_fsWriteLarge() -> drop out on disk full * source/rtl/console.c source/rtl/set.c * added casts. 19990902-01:44 GMT+1 Viktor Szakats * source/rtl/filesys.c include/filesys.h - For speed reasons the hb_fsRead/Write() functions were set back to use USHORT, they are again Clipper compatible, and don't have the overhead of the long buffer support, since for most cases it's not needed. + hb_fsReadLarge() and hb_fsWriteLarge() API functions added, which support the very long buffer lengths (ULONG_MAX). FREADSTR() is using the large read right now. ! hb_fsWriteLarge() infinite loop on error fixed (?) Paul ? + FIXME: added to hb_fsFNameMerge() (related to buffer overrun). * source/rtl/console.c source/rtl/set.c include/set.h + Changed to use the Filesys API instead of calling the platform dependent file handling functions. ! hb_err*() caller now expect E_BREAK, too. ! hb_setRelease() called close_binary() instead of close_text() for hb_set_extrahan. Fixed. - Removed a bunch of (now) unneeded include files and OS branched. Source looks kind of clean now. * config/rules.cf make_tpl.* + Added the L_USR variable, to make it possible to pass custom parameters to the linker. Some platform/compiler combinations need to add support for this manually: DOS/BCC31, DOS/WATCOM, WIN32/BCC32, WIN32/ICC * source/rtl/itemapi.c ! Some formatting errors removed. * tests/working/rtl_test.prg * Small corrections. 19990901-20:34 GMT+1 Viktor Szakats * source/vm/initsymb.c + HB_LOCK pointer added. * tests/working/Makefile ! Mistakenly got replaced with my private one. Fixed. 19990901-17:20 GMT+1 Viktor Szakats * tests/working/rtl_test.prg + Added tests for decimals handling. (NUMPAR.PRG) * source/rtl/strings.c + VAL() now using hb_retndlen() instead of internalling (wow!). + hb_itemStr() is now using hb_itemGetNLen() * source/rtl/math.c + No functions (except ABS()) are now accessing the internals. They are using hb_retndlen() and hb_itemGetNLen() instead. ABS(), MAX(), MIN(), MOD(), ROUND() ! HB_MOD() accessed item.asDouble even if the item was not a DOUBLE. - There were places were the decimals places were explicitly set to the default SET_DECIMAL setting, even though the hb_retnd() call already set this. I've removed these assigments. (David, is this OK ?) * source/rtl/itemapi.c * hb_itemGetNLen() is now optionally returning the parameters, so passing a NULL is now valid. ! hb_itemGetNLen() now returns zeros for non-numeric values. ; hb_itemSetNLen() tested. * source/rtl/extend.c include/extend.h + hb_retndlen(), hb_retnilen(), hb_retnllen() added, which are the same as the standard hb_retn*() functions, but the width and decimals can be specified. * source/rtl/dates.c + DAY(), MONTH(), YEAR(), DOW() now using the new hb_itemSetNLen() API call instead of dealing with the internals. * source/rtl/console.c + Changed to call hb_fsSetMode(). * source/rtl/filesys.c include/filesys.h include/fileio.ch + Added hb_fsSetMode() function, and the constants. * Changes by Jose Lalin implemented. 19990901-15:00 GMT+1 Jose Lalin <dezac@corevia.com> * filesys.c + Added hb_fsChDrv() + Added hb_fsCurDrv() + Added hb_fsIsDrv() ! BC4.5 docs: setdisk/getdisk are for DOS, WIN16, WIN32 and OS/2 I don't know if they work under Unix/Linux too. * hb_fsCurDir() * hb_fsExtOpen + some HB_SYMBOL_UNUSED added. NOTE [vszakats]: 1.) I've #ifdef-ed out the new stuff for __CYGWIN__ since setdisk()/getdisk() were neither declared nor present in any libraries. 2.) I've added some new header files to FILESYS.C. Please check them on your system, whether they are correct. 19990901-14:05 EDT Paul Tucker <ptucker@sympatico.ca> * source/rtl/filesys.c * hb_fsread() -> account for the possibility that num read is less than requested. (It was staying in the while loop forever without this) 19990901-17:59 GMT+1 Bruno Cantero <bruno@issnet.net> * source/rdd/dbcmd.c + Added Lock() function 19990901-17:20 GMT+1 Viktor Szakats * source/rtl/set.c funclist.txt + SetCancel() function added. * source/vm/hvm.c ! hb_vmRequestCancel() now diplays correctly on DOS/DJGPP, since it's using hb_consoleGetNewLine() to display a newline instead of '\n'. * source/runner/runlib.c ! __HRBRUN() now handles if the error launcher returns with an E_BREAK. * source/rtl/copyfile.c ! The error launching now also reacts to a BREAK correctly. * source/compiler/harbour.l ! At one place BREAK was not converted to uppercase, so the generated pcode was faulty. RTL_TEST.PRG didn't link because of that. (Ryszard, is this the correct fix ?) * source/rtl/errorapi.c ! szOperation now can be NULL. This caused some error launchings to GPF, for example BADALIAS calls in HVM.C. * IS_*() internal macros changed to hb_itemType() calls. * source/rtl/filesys.c + Added runtime error 2018 to DISKSPACE(). * source/vm/hvm.c ! Fixed a variable name which went out sync between the last two CVS sessions. * source/rtl/inkey.c + Added copyright info. 19990901-15:40 GMT+1 Viktor Szakats * source/compiler/harbour.y + It will now recognize and accept filenames specified via the /o switch (not only paths), it also allows to override the extension. Like CLIPPER.EXE. * Indentation more or less fixed. * Zeros changed to NULL and '\0'. % Inc()/Dec() logic cleaned-up. Note that there are many more places where such logic cleaning and variable scoping optim. could be done. I'm also not sure if the debug_msg() calls should only be made when warnings are turned on, IMHO they should always appear when DEBUG is on. ! Some formatting errors corrected. * tests/working/fileio.prg + New test cycle added beginning with FOpen() (Temporary solution) ! nFlags is not NIL anymore. * tests/working/rtl_test.prg + Some tough alias related tests added. They are commented out for Harbour, since right now they will GPF for sure. * source/rtl/langapi.c source/rtl/natmsg/*.c ! Fixed eleven error messages to look exactly like in Clipper. * source/rtl/filesys.c include/filesys.h * hb_fsRead(), hb_fsWrite() changed to use ULONG instead of USHORT. ( ! not tested ! ) ! FOPEN() added FO_COMPAT to the default open flags. (cosmetic) * source/rdd/dbf1.c + GetValue() now sets the width and decimals of the returned numeric value properly using hb_itemSetNLen(). ( not tested ) * source/rtl/itemapi.c include/itemapi.h + hb_itemGetNLen() added. The pair of the recently added hb_itemSetNLen(). * source/rtl/console.c + Some static renamed and prefixed with s_ * source/compiler/symbols.asm + CVS header added. * source/compiler/harbour.c ! Formatting errors corrected. 19990901-14:40 GMT+2 Ryszard Glab <rglab@imid.med.pl> *source/compiler/harbour.l * corrected handling of BREAK statement *source/compiler/harbour.y * corrected generation of line number opcodes * corrected the support for local variables when nested codeblocks are used * the step value is popped correctly at the end of FOR/NEXT loop (the nested loops are working correctly now) *source/rtl/codebloc.c * corrected the support for local variables when nested codeblocks are used *source/vm/hvm.c *include/ctoharb.h * added hb_vmRequestCancel() function *source/rtl/inkey.c * signals the virtual machine that Alt-C was pressed *doc/codebloc.txt * updated information 19990831-22:49 EDT Paul Tucker <ptucker@sympatico.ca> * include/set.h source/rtl/set.c Set(_SET_DEBUG) now returns Logical as in Clipper 5.2 and 5.3 operation. (Clipper 5.3 docs are incorrect) 19990831-23:10 GMT+1 Viktor Szakats * source/rtl/itemapi.c include/itemapi.h + hb_itemSetNLen() added to set the numeric values length and number of decimal places. This way we have a standard way to set these without fiddling with the internals. Cool. 19990831-22:20 GMT+1 Viktor Szakats * source/rtl/hvm.c ! hb_vmFunction() now resets the return value to NIL, since previously the default return value of the functions was not defined if there was no hb_ret*() calls in them or if the called function was a PROCEDURE. * source/rtl/descend.c include/extend.h ! It was modifying the string buffer directly, RTL_TEST failed in some situations. Fixed. hb_strDescend() prototype modified. * tests/working/Makefile + ValType() tests added. ! empty.prg, strsub.prg removed. + Descend() tests added. 19990831-20:55 GMT+1 Antonio Linares <alinares@fivetech.com> * source/rtl/tbrowse.prg * Methods RefreshAll() and Invalidate() were not recalculating ::RowCount. 19990831-19:47 GMT+1 Bruno Cantero <bruno@issnet.net> * source/rdd/dbf1.c * Bug fixed 19990831-19:09 GMT+1 Bruno Cantero <bruno@issnet.net> * include/rddapi.h source/rdd/dbcmd.c source/rdd/dbf1.c * Added more RDD functions. * tests/working/Makefile * Added testdbf.prg 19990831-17:40 GMT+1 Viktor Szakats * source/rtl/arrays.c include/extend.h ! Fixed handling of zero array index, it was allowed previously. (hb_arrayGet*(), hb_arraySet()) + Added hb_arrayError() which checks the pArray and ulIndex, if it's not valid, it throws a runtime error. * source/vm/hvm.c ! Fixed where operations followed the hb_err*() call. (hb_vmArrayAt(), hb_vmArrayPut(), hb_vmDo(), ...) ! hb_vmPopLogical() was decrementing the stack but was only clearing it when it was logical type. Leak fixed. (Is this correct ?) * hb_vmAliasPop() -> hb_vmPopAlias() hb_vmAliasPush() -> hb_vmPushAlias() hb_vmAliasSwap() -> hb_vmSwapAlias() Renamed to be consistent with the pcode name and with the others. * tests/working/rtl_test.prg tests/working/empty.prg (removed) tests/working/strsub.prg (removed) + Added many new tests, comments, enhancement. + EMPTY.PRG, STRSUB.PRG incorporated. ! Some TRANSFORM() test results changed (@0) * source/rtl/devoutp.prg % One local variable eliminated. * source/vm/hvm.c + Added value substitution for errors 1081, 1082, 1083, 1084, 1085, 1088 * source/rtl/transfrm.c + Put all stuff related to the @0 picture clause between #ifndef HARBOUR_STRICT_CLIPPER_COMPATIBILITY guards, since this was not in original Clipper, that's why the tests failed. * source/rtl/set.c ! Fixed "ON"/"OFF" error where OFF was not recognized, this bug was introduced yesterday. % Some variables scopes optimalized, some internals changed to standard interface calls. * source/rtl/errorapi.c source/vm/hvm.c include/extend.h + Moved ERRORBLOCK() and errorBlock variable to errorapi.c, hb_errInit() hb_errExit() added. All that is a *bit* slower, since only "official" API calls are being used. * source/runner/runlib.c source/rtl/gtapi.c source/vm/dynsym.c source/vm/hvm.c include/vm.api include/fm.api include/hbpp.h include/gtapi.h include/extend.h include/hb_vmpub.h include/hbdefs.h * Formatting errors corrected. + static variables prefixed with "s_" 19990831-02:37 GMT+1 Bruno Cantero <bruno@issnet.net> * include/rddapi.h source/rdd/dbcmd.c source/rdd/dbf1.c tests/working/testdbf.prg * Full support for memo fields. 19990830-19:00 GMT+1 Viktor Szakats * source/filesys.c include/filesys.h funclist.txt + Added: DIRCHANGE(), MAKEDIR(), DIRREMOVE(), DISKCHANGE(), DISKNAME() All of them are Clipper 5.3 compatible functions. Some of them will not work, since the underlying low-level API is not worked out. ! Fixed CURDIR() to preserve the FERROR() value. ! Fixed prototype of hb_fsChDrv(). + DISKSPACE() added (currently only working in DOS). * source/rtl/arrays.c + hb_arrayAdd() added BASE/1187 Bound error "AADD" error message. ! 1068 Not an array errors changed to the 9999 code, until we allocate a 3xxx error for. This error was not there in Clipper. * source/vm/hvm.c + Added standard "no exported method" and "no exported variable" runtime error instead of the internal error. ( ErrorNew():hello := 1, ErrorNew():hello ) + hb_vmPlus() and hb_vmMinus() added "string overflow" runtime errors (1209, 1210) (could not test this though :) * Error code 1000 in BADALIAS errors changed to 9999, until someone finds out the correct error code, since there's no 1000 error code in Clipper. * source/rtl/set.c ! Fixed to also accept strings that *begin* with "ON" or "OFF", like Clipper. * source/rtl/tone.c source/rtl/codebloc.c source/rtl/memvars.c source/rtl/environ.c source/rtl/classes.c source/rtl/console.c source/rtl/langapi.c source/rtl/setcolor.c source/rtl/strings.c source/rtl/dates.c source/rtl/set.c source/rtl/transfrm.c (removed static) source/rtl/inkey.c source/rtl/fm.c source/rtl/dir.c source/rtl/gtapi.c * Formatting errors corrected. + static variables prefixed with "s_" * Some type changed to BOOL. 19990830-16:59 +0300 Chen Kedem <niki@synel.co.il> * source/rtl/mouse/mouseos2.c * hb_mouse_Hide() now work in any text screen mode. * hb_mouse_IsButtonPressed() now return TRUE if any button was pressed. FIXME: every time I read event from the queue I lose the result so I cannot check if iButton was pressed, so for now I ignore iButton and return TRUE if the last event saved had DOWN in it. also to keep the noise level down I mask out MOUSE_MOTION events. * suMouHandle changed to s_uMouHandle * Some reformatting. 19990830-12:49 EDT Paul Tucker <ptucker@sympatico.ca> * source/rtl/gtapi.c * Handle nesting of gtPre/PostExt * corrected s_uiPreCount handling in gtDispEnd 19990830-14:25 GMT+1 Viktor Szakats * tests/working/rtl_test.prg + Added the possibility to test expressions resulting in a runtime error. + Added ABS(), EXP(), operator tests, some runtime error tests. * Some bugs fixed, some enhancements. * include/errorapi.h source/rtl/errorapi.c ! hb_errRT_TERM now accept the OS code parameter. * source/rtl/set.c ! Open error now shows the correct error codes for SET_PRINTFILE, and SET_EXTRAFILE. The error message made completely Clipper compatible. Retry and Default now works. * source/rtl/arrays.c ! Fixed two error messages ("AEVAL" -> "(AEVAL() function)") UNDONE. * source/rtl/classes.c - Removed some externs not needed anymore. * include/set.h * Cleaned up. * source/rtl/set.c source/rtl/dates.c source/rtl/transfrm.c source/rtl/strings.c source/rtl/inkey.c source/rtl/setcolor.c source/rtl/console.c source/rtl/mouseapi.c source/rtl/filesys.c * Formatting errors corrected. 19990830-10:40 GMT+1 Viktor Szakats * source/rtl/errorapi.c include/errorapi.h + Error launcher with substitution added. + Added an emulation to the Clipper "Processor stack fault" error to indicate the situation where there is an error in the error handler itself, and thus infinite recursive calls are being executed. The Harbour error message gives a better idea about the problem than in Clipper. * source/vm/hvm.c ! hb_vmEqual() - Exact error message now depends on the bExact setting. (1070 vs. 1071) * source/vm/hvm.c ! hb_vmNegate() - Throws a proper runtime error, instead of an internal error. (like Clipper) ( -("1") ) * source/compiler/harbour.y + Added compile time parameter check for LOCK() (BTW, there should be no parameter passed.) * source/rtl/copyfile.c ! Fixed one error code (2012 -> 2016). ! Two QUESTION: removed. ; __COPYFILE is now 100% Clipper compatible (tested). * source/vm/initsymb.c + Added function pointers to the RDD functions. + TODO: added for the NULL pointers still there. (there are only three of them) * source/vm/hvm.c source/vm/initsymb.c funclist.txt + WORD() function added. * source/vm/hvm.c source/rtl/errorsys.prg + hb_vmDivide(), hb_vmModulus() Zero divide error is now handled in the standard error handler, and the zero divide runtime error is properly generated. * source/rtl/dates.c ! DTOC() now throws Clipper compatible runtime error 1118. ( DTOC("1") ) * source/rtl/strings.c + TODO: added to STRTRAN() (to check string overflow once) * source/rtl/arrays.c ! Fixed two error messages ("AEVAL" -> "(AEVAL() function)") * source/rtl/filesys.c source/rtl/strings.c source/rtl/copyfile.c + NOTE: added that the runtime errors are Clipper compatible, but undocumented (FOPEN(), STRTRAN(), __COPYFILE()) * source/rtl/transfrm.c * Some reformatting. 19990829-15:47 EDT Paul Tucker <ptucker@sympatico.ca> * include/filesys.h * hb_fsDelete and hb_fsRename now return int * source/rtl/filesys.c hb_fsDelete(), hb_fsRename now Clipper compatible (only tested so far with msvc) combined _some_ #if posix and msc_ver statements since posix version works with msvc * hb_fsClose - Invalid memory block error mapped to Invalid Handle * hb_fsSeek Now Clipper compatible with -1 and FS_SET Unknown Command error now mapped to Seek Error * HB_FSERASE error is now 'invalid path' on bad parameter * HB_FSRENAME error is now 'file not found' on bad parameter 19990829-13:30 EDT Paul Tucker <ptucker@sympatico.ca> * source/include/set.h rearrange set struct to be in correct order * source/hbpp/table.c hand corrected output for _SET_<xxx> defines * tests/working/set_test.prg modified output to show which set is being displayed, and external 'hooks' so that it demonstrates the same thing under Clipper. 19990829-14:45 GMT+1 Viktor Szakats * source/vm/hvm.c ! hb_vmArrayPut() - QUESTION: replaced with the proper runtime error message. (like Clipper) ( array[ .T. ] := 1 ) ! hb_vmArrayAt() - Fixed: Now throws a proper runtime error instead of an internal error. (like Clipper) ( array[ .T. ] ) ! hb_vmDec() - Throws a proper runtime error. (like Clipper) ( a := .T. ; a-- ) ! hb_vmModulus(), hb_vmMult(), hb_vmDivide(), hb_vmPower() - Throws a proper runtime error, instead of an internal error. (like Clipper) ( "1" / 10, "1" * 10, "1" % 10, "1" ^ 10 ) * include/set.ch include/set.h source/rtl/set.c + _SET_COUNT added to be even more Clipper compatible. + _SET_* numeric values made compatible with Clipper. * HB_INVALID_SET changed to HB_SET_INVALID_ WARNING ! All source codes should be recompiled. * source/rtl/errorapi.c + Added copyright information. * source/rtl/itemapi.c source/rtl/extend.c + One QUESTION: removed, it was obsolete now. * source/rtl/set.c + One QUESTION: answered. ( _SET_EXIT ) * source/rtl/array.c source/rtl/classes.c * Some reformatting. 19990829-11:21 GMT+1 Bruno Cantero <bruno@issnet.net> * include/rddapi.h source/rdd/dbcmd.c source/rdd/dbf1.c * Beginning with memos. 19990829-01:20 EDT Paul Tucker <ptucker@sympatico.ca> * source/debug/debugger.prg * ::Activate - call restoreAppStatus() since code was the same. * ::Go added a DispEnd() * __dbgEntry() Modified so that the app Screen is visible when you select 'go' (F5) The dispbegins/Ends here seem a bit weird, but this is temporary as I'm working on a more permanent solution for the debugger to do screen handling. 19990828-22:20 EDT Paul Tucker <ptucker@sympatico.ca> * source/rtl/filesys.c * modified FO_ flags handling slightly to correctly reflect their state. * modified handling of O_BINARY for msvc (was being discarded) 19990828-14:00 GMT+1 Viktor Szakats * source/rtl/filesys.c source/hbpp/stdalone/hbpp.c source/compiler/harbour.y include/hbsetup.h include/hbpp.h ! hb_fsFNameSplit() fixed handling of colon in filenames. (reported by Bruno Cantero) * source/compiler/harbour.y ! Fixed the name format of the generated symbol registration function, since it was causing a compiler error where the .prg name begun with a number ( for example: 1.prg ). The new format is: hb_vm_SymbolInit_*() * include/ctoharb.h source/rtl/errorapi.c source/vm/hvm.c + hb_errLaunch() and hb_errLaunchSubst() finished (the latter not yet tested). Thanks to Ryszard Glab. * include/ctoharb.h source/vm/hvm.c source/vm/initsymb.c * hb_vmRTSymbolsInit() -> hb_vmSymbolInit_RT * include/hbsetup.h include/hbpp.h + Changed OPT_DELIMITER to OS_OPT_DELIMITER_LIST and moved to hbsetup.h So now it's multiplatform. * source/rtl/mouse/mousedos.c + hb_mouse_IsButtonPressed() added by Luiz Rafael Culik. (small fixes applied, code not tested) * include/hbdefs.h ! LOBYTE(),HIBYTE(),LOWORD() put in #ifndef guards. (reported by Jon Berg) * tests/working/fileio.prg + Some tests added. 19990828-08:40 GMT+1 Antonio Linares <alinares@fivetech.com> * source/vm/hvm.c * Fixed hb_vmDebuggerEndProc() (now it properly saves the previous PRG returned value) * source/debug/debugger.prg * CallStack now shows Classes and methods names * It properly works debugging object oriented code 19990827-18:46 GMT+1 Bruno Cantero <bruno@issnet.net> * source/rtl/filesys.c * Now hb_fsCommit() work with MSVC * funclist.txt include/rddapi.h source/rdd/dbcmd.c source/rdd/dbf1.c * Added dbCommit() and dbCommitAll() functions 19990827-14:19 GMT+1 Bruno Cantero <bruno@issnet.net> * include/rddapi.h source/vm/hvm.c source/rdd/dbcmd.c source/rdd/dbf1.c * Bug in hb_rddGetFieldValue() and hb_rddPutFieldValue() removed. 19990827-13:01 GMT+1 Antonio Linares <alinares@fivetech.com> * source/vm/hvm.c + Added new function hb_vmDebuggerEndProc() (notifies the Debugger __DBGENTRY() about an HB_P_ENDPROC * source/rtl/tbrowse.prg * fixed small bug on method stabilize * source/debug/debugger.prg + Added support for the CallStack window (notice I have intentionally left it open by default, to monitorize how it is working) * source/debug/tbrwtext.prg * small fixes. 19990827-06:50 GMT+1 Viktor Szakats * source/rtl/inkey.c include/inkey.h + hb_inkeyPut() added, see next. + __KEYPUT() added. This function is able to insert *any* inkey codes (not just the 0-255 range) to the keyboard buffer one by one. ! __KEYBOARD() allowed to insert zero codes into the buffer which made INKEY() hang. It's now using hb_inkeyPut() to avoid this. % __KEYBOARD() uses ISCHAR() instead of two hb_p*() calls. Eliminated one of the two hb_parclen() calls. * hb_inkeyPoll() now calls hb_inkeyPut() to insert the new code. ! INKEY() fixed parameter count checking bug introduced a few hours ago. 19990827-06:00 GMT+1 Viktor Szakats * include/mouseapi.h source/rtl/mouseapi.c source/rtl/mouse/mousedos.c + Copyright info corrected. + Added original (BorlandC) implementation (MOUSE.ZIP) by Jose Lalin <dezac@corevia.com>. Luiz Rafael Culik <Culik@sl.conex.net>. + The OS/2 implementation is thanks to Chen Kedem <niki@synel.co.il> Please note that these files have not been tested yet, Borland users should comment out the #define BORLANDC line in mousedos.c. Non-GNU make file users should add the new files source/rtl/mouseapi.c and source/rtl/mouse/mousedos.c file to their make system. 19990827-05:00 GMT+1 Viktor Szakats * include/Makefile include/mouseapi.h source/rtl/mouseapi.c source/rtl/mousexxx.c (renamed) source/rtl/Makefile source/rtl/mouse/mousetpl.c source/rtl/mouse/mousedos.c source/rtl/mouse/mouseos2.c source/rtl/mouse/mousewin.c (added) include/mouse.h (changed to mouseapi.h) source/rtl/mouse.c (changed to mouseapi.c) source/rtl/msxxx.c (changed to mousexxx.c) + Changed the previouse Mouse API implementation to a somehow more Clipper compatible and complete one. * source/rtl/inkey.c + INKEY() add runtime parameter count checking and error message. * Two ints changed to BOOLs. * source/vm/hvm.c include/rddapi.h * Some int -> BOOL, Some 0 -> NULL, '\0', Some cleanup. ! LEN(), EMPTY(), PCOUNT() returns a runtime error if bad number of parameter was passed. + BREAK() doesn't have a parameter count check, an explanation of this added as a NOTE:. * hb_rdd*() function declarations moved to rddapi.h * include/ctoharb.h source/vm/hvm.c source/vm/initsymb.c * InitSymbolTable() -> hb_vmRTSymbolsInit() * include/extend.h source/rtl/fm.c source/vm/hvm.c + Moved memory statistics printing to fm.c, fixed memory subsystem now has an hb_xinit() and hb_xexit() functions, which should contain all init and exit code related to memory. % Memory statistic variables made static, prefixed with "s_" + #define added to suppress the collection of statistics. * include/ctoharb.h source/vm/hvm.c source/rtl/errorapi.c * hb_stackShow() -> hb_stackDispLocal() * hb_callStackShow() -> hb_stackDispCall() * include/errorapi.h source/rtl/errorapi.c * hb_errLaunch() using eval API to launch the handler. + hb_errLaunchSubst() added to be able to add error handling using value substitution. Not finished yet. * include/hbdefs.h % PCOUNT uses hb_pcount() since it's more efficient than hb_parinfo(0) * source/rtl/extend.c ! hb_evalPutParam() is no longer making a copy of the items, like Clipper. * source/rtl/itemapi.c % hb_itemParam(): one hb_param() call optimed out. * source/hbpp/stdalone/hbpp.c include/hbpp.h + Standalone PP is now showing the line numbers in errors and warnings. * source/compiler/harbour.y source/hbpp/hbpplib.c source/hbpp/stdalone/hbpp.c source/rtl/errorapi.c % GenError(), GenWarning(), hb_errInternel() no longer need sprintf() neither the local stack buffers, so there's no more an undocumented limit on the message length. * source/rtl/console.c ! In some places printf( "\n" ) was changed to print CrLf. (Non-GT version is affected only) * source/rtl/errorapi.c source/hbpp/hbplib.c source/vm/hvm.c ! Uses hb_consoleGetNewLine() instead of \n character, so that it will work on all platforms. This was needed because we have turned off cooked mode of stdout, so the compiler/OS will not do it for us. The bug could be observed in the stack dump on an internal error in DOS/DJGPP. * source/rtl/console.c include/extend.h + New function hb_consoleGetNewLine() which returns the CrLf value. * source/vm/hvm.c include/extend.h * hb_console*() declarations moved to the header file. * source/compiler/harbour.y + Small cosmetic enhancments in generated C code. * source/tools/debug.c - Removed external declaration of non-existing function. * source/rtl/langapi.c source/rtl/natmsg/*.c ! Typo fixed "Limit exeeded" -> "Limit exceeded". Thanks to Jose Lalin <dezac@corevia.com>. * source/tools/io.c source/tools/nconvert.prg source/tools/Makefile gt.b32 ! HB_RD() - Fixed: chdir() changed to rmdir() + nconvert.prg added, Borland makefile modified by Luiz Rafael Culik <Culik@sl.conex.net>. 19990826-22:00 EDT Paul Tucker <ptucker@sympatico.ca> * include/hbsetup.h + add mouse driver selector defines + source/rtl/mouse.c * harbour level mouse interface code by Jose Lalin dezac@corevia.com and Luiz Rafael Culik (culik@sl.conex.net) + source/rtl/msxxx.c * similar usage to gtxxx.c + source/rtl/mouse directory + source/rtl/mousedos.c code by Jose Lalin dezac@corevia.com and Luiz Rafael Culik (culik@sl.conex.net) + source/rtl/mouseos2.c code by Chen Kedem <niki@synel.co.il> + source/rtl/mousetpl.c 19990826-20:05 GMT+1 Bruno Cantero <bruno@issnet.net> * funclist.txt include/rddapi.h source/rdd/dbcmd.c source/rdd/dbf1.c + Added dbAppend() function 19990826-03:25 GMT+1 Bruno Cantero <bruno@issnet.net> * source/rtl/filesys.c + Changed hb_fsOpen for support shared files (MSVC) 19990825-23:30 GMT+1 Viktor Szakats * source/compiler/harbour.y source/compiler/harbour.l source/compiler/genobj32.c source/hbpp/stdalone/hbpp.c source/hbpp/hbpplib.c include/hbpp.h include/compiler.h include/hberrors.h + Added standard error messages for memory management errors. + Changed yyerror so that it calls the standard error launcher. - hb_xalloc() functions removed, since it was not used anymore. * hb_xalloc() changed to hb_xgrab(), it was not tested for the possible NULL return value. - One exit() after GenError() removed (source/hbpp/hbpp.c). * exit( 1 ) -> exit( EXIT_FAILURE ) ! GenWarning(), GenError(), CheckArgs() was allocating memory which was not freed.Now the stack is used instead of calling memalloc functions, so they can be used to report memory errors, too. ! The last printf() changed to GenError() in harbour.l * source/tools/io.c include/external.ch source/runner/stdalone/external.prg - RENFILE() removed since there is already a function with the exact same functionality in the standard Harbour RTL, named FRENAME(). * Cleanup in io.c. * Some __DOS__ guards changed to DOS. Some left since the code guarded is compiler specific. Warning! This change could cause problems with some other DOS compilers. + FIXME: added about a chdir call in RD() code. + Code added to the non DOS branch. * source/rtl/console.c % SCROLL() - Some hb_pcount()s removed, parameter init optimed. ! hb_out() - hb_parinfo() changed to pItem->type, since hb_parinfo() can now contain the IT_BYREF flag, so if something would be passed by reference, it would not be recognized as a valid type. * source/rtl/do.c * Small cleanup. * gt.b32 ! Fixes by Luiz Rafael Culik <Culik@sl.conex.net> implemented. 19990825-17:22 GMT+1 Bruno Cantero <bruno@issnet.net> * source/vm/hvm.c + Added support for FIELD symbols * source/rdd/dbcmd.c + Open function improved + Added support for FIELD symbols * source/rdd/dbf1.c + PutValue function improved 19990825-13:30 GMT+2 Ryszard Glab <rglab@imid.med.pl> *source/vm/hvm.c * corrected alias handling in hb_vmAliasSwap() however we still need to implement the function that will select an workarea using passed string with an alias name * if QUIT or BREAK is called in EXIT PROCEDURE then processing of these procedures is stopped 19990825-12:50 GMT+1 Viktor Szakats * source/rdd/dbcmd.c - Removed symbol init code. * source/tools/io.c ! Modified so that it defines each function everytime, not just when __DOS__ constant is defined. __DOS__ guard was moved around the function bodies. ! Removed FILE() function from here, since it's already declared in Harbour RTL/filesys.c * include/external.ch source/runner/stdalone/external.prg + Updated list of EXTERNAL, now including RDD and HBPP functions. * source/compiler/harbour.y ! Compile time parameter checking modified for RTRIM(), TRIM() since we have a Harbour extension here, which should be allowed, added missing LEFT() from the compile-time parameter checking list. * source/rtl/filesys.c + Added parameter count checking to FILE() * source/rtl/transfrm.c + Added parameter count checking to TRANSFORM() * source/rtl/dates.c + Added parameter count checking to CTOD(), DTOC(), DAY(), MONTH(), YEAR(), DOW(). * Code reformatting, variable scoping, some small optimalizations. * source/rtl/strings.c doc/subcodes.txt * Some pcount() checkings converted to IS*() macros in PAD*(), *TRIM(). * RTRIM(), TRIM() will now consider more than two parameters as an error. - Removed parameter count checking from RIGHT(). + NOTE: added about RTRIM(), TRIM(), ALLTRIM() Harbour extension. % Simplified checking code for LEFT() and RIGHT() ! LEFT(),STRTRAN() are no longer launching custom Harbour error codes 3009/3010, this was not compatible, Clipper launches a standard error code here. * AT() parameter checking standardized. * source/rtl/itemapi.c * hb_itemGetL() and hb_itemGetNL() made consistent with the recent changes in hb_parl() and hb_parnl(). * Some code reformatting, some casts added, some branch and retval optimalization. 0 -> NULL, '\0' * source/debug/debugger.prg * SHADOW() -> __SHADOW() * source/rtl/console.c - SHADOW() changed to __SHADOW() since it's not a std Clipper function. ! SETCURSOR() is returning SC_NORMAL if there's no GT API. * Some reformatting, some small optimalizations, added some copyright info. + Parameter count error added to DEVPOS(), SETPOS(), PROW(), PCOL(), COL(), ROW() * source/rtl/copyfile.c ( #include "itemapi.h" removed ) source/rtl/hardcr.c source/rtl/mtran.c source/rtl/arrays.c ( 0 -> NULL ) source/rtl/descend.c ( hb_pcount() call removed ) * Reformatting. Small cleanup. Some small optimalizations. 19990825-09:02 GMT+1 Antonio Linares <alinares@fivetech.com> * source/debug/tbrwtext.prg * Improved display functionality. 19990825-09:02 GMT+1 Antonio Linares <alinares@fivetech.com> * source/debug/debugger.prg + Breakpoints already working. (Notice the Harbour debugger does not debug multiple files yet). 19990825-01:15 GMT+1 Viktor Szakats * source/rtl/extend.c ! hb_parinfo() fixed so that it will return proper type information for parameters passed by reference, like in Clipper. ! hb_par*() functions accept zero parameter again to access self. NOTE: added about this. * tests/working/fileio.prg source/rtl/filesys.c ! FREAD() fixed, it now checks second parameter correctly using hb_parinfo(). + Some new tests added, one test put between HARBOUR_STRICT_CLIPPER_COMPATIBILITY guards, see next. ! FREAD() uses hb_parcsiz() (hb_parclen()+1) as the maximum number of bytes which could be read. Modified FREAD() but put between HARBOUR_STRICT_CLIPPER_COMPATIBILITY guards, since this is a rather unexpected behaviour, plus it can overwrite the terminating zero byte in the string buffer. + NOTE: added about an incompatibility in hb_fsSeek()/hb_fsWrite() behaviour. * contrib/odbc/odbc.c - Removed symbol init code. * source/rtl/math.c * Ultra minor change. 19990824-17:20 EDT David G. Holm <dholm@jsd-llc.com> * config/dos/bcc31.cf - Removed '-DHARBOUR_USE_GTAPI' from 'CPPFLAGS'. + Include RDD libraries when RDD is in library list. * config/os2/icc.cf - Removed '-DHARBOUR_USE_GTAPI' from 'CPPFLAGS'. ! Corrected 'LINKELIBS' to read 'LINKLIBS'. * source/compiler/harbour.c + Added 'extern unsigned _stklen = UINTMAX;' for Borland DOS mode, because compiling source/rtl/tget.c resulted in stack overflow with the default 4096 byte stack. * source/rtl/inkey.c + Added 'DosSleep( 25 );' to hb_releaseCPU() for OS/2. * source/rtl/tone.c + Added 'Beep()' support for Win32, thanks to Chen Kedem <niki@synel.co.il>. Notes: Only tested with Cygwin() on Windows NT and 95; On other Windows it only produces the default sound or standard beep. ! Removed call to hb_releaseCPU() at end of outer loop for long durations in order to provide as seamless a sound continuation as possible and to avoid increasing the duration when using DOS platform code on some platforms (DOS DPMS, Windows NT, and OS/2). 19990824-15:30 EDT Paul Tucker <ptucker@sympatico.ca> * source/rtl/filesys.c * added a couple of casts. 19990824-20:30 GMT+1 Viktor Szakats * include/hbdefs.h ! ISBYREF() macro changed to call hb_parinfo() instead of hb_param(), it was not working previously since hb_param() was automatically dereferencing the parameter. FOPEN() parameter checking was not working correctly because of this. ( WARNING ! THIS SEEMS TO BE A WORKAROUND FOR SOME OTHER PROBLEM WITH PARAMETERS PASSED BY REFERENCE, PLEASE ALSO NOTE THAT FRead() IS NOT WORKING RIGHT NOW ) * source/rtl/filesys.c doc/subcodes.txt * Huge cleanup, reformatted, eliminated usage of internal structures, fixed types, standardized variable names, explicit constants changed to manifest constants, fixed a whole bunch of bugs, simplified code fragments, optimalized variable usage and scope. 65535U -> (USHORT)-1 % "return;"s removed * reindented using 3 chars ! FWRITE() and hb_fsWrite() returns 0 instead of 65535 if the write failed. ! FOPEN() runtime error code fixed ! FERASE() return value fixed ! FREAD() will check if the passed buffer size is smaller than the required read length. ! FREAD(): Added warning about the fact, that the buffer returned by hb_parc() will be directly modified. (this is strictly prohibited by Clipper doc). ! hb_fsCreate() didn't reset the last error code on success. ! hb_fsDelete(), hb_fsRename(), hb_fsLock(), hb_fsCommit() - the not defined platform branch is now setting the last error code. ! hb_fsExtOpen() is now setting the last code to FS_ERROR. % FREADSTR() made much faster for longer strings. ! FREADSTR() uses hb_fsRead() instead of read() ! hb_fsClose() didn't set the last error code. ! I2BIN(), L2BIN() was returning one more character than Clipper (it worked OK when bad parameters were passed). ! BIN2L() returned an int instead of long, this is fixed. * source/rtl/math.c * Reformatting finished. 19990824-19:05 GMT+1 Viktor Szakats * source/rtl/math.c ! MIN(), MAX() code fixed to behave exactly like Clipper, it will now return a DOUBLE if any parameter is DOUBLE, it will return LONG if any parameter is LONG, otherwise it will return INT, the HB_ITEM decimals now are only accessed for DOUBLE types (and of course only set for DOUBLE return types). The bug could be observed by running AC_TEST pressing PgDn at the bottom of the list then pressing Up button, the index display was shown with decimals in it (DOS/DJGPP). % MIN(), MAX() code optimalized. * Some direct hb_param() calls changed to macros. 19990824-18:05 GMT+1 Viktor Szakats * source/rtl/extend.c include/extend.h % Variable declarations moved to inner blocks. ! Parameter number zero is considered a bad case, instead of undefined. % Optimalization and cleanup. Returns from inner blocks optimed out. % Array index parameter is only evaluated when actual parameter is an array, so that it should be faster now. % The type checkings reordered, so that the first is the most probable one. Array type is checked last, since this is the most rarely occuring case. This will speed up things a bit. ! Casting to (long) fixed in hb_parni() when return an array element. ! Variable parameters are treated consistently as longs, we are not Clipper compatible here, but in Harbour an array index can be ULONG, just as like the string lengths were already ULONGs instead of ints. ! WORD wArrayIndex changed to ULONG ulArrayIndex. ! hb_storclen() WORD parameter changed to ULONG. + Some casts added to hb_parni(), hb_parnd() ! hb_parl() is returning valid values for INTEGER, LONG and DOUBLE type of parameters. (Clipper does the same except for DOUBLE) ! hb_parnl() is returning the date value as a long is the paramater is DATE type. (just like in Clipper). ; Reformatted to Harbour standard. * source/arrays.c ! hb_arrayGetDouble() is now returning a value even for the DATE type, to be consistent with hb_parn*(); ! hb_arrayGetBool() is now returning a value even for INTEGER, LONG and DOUBLE types, to be consistent with hb_parl(). * Reindented using Harbour standard. % Removed hb_ret() calls, they are not needed, since the default return value is always NIL. ! AEVAL() GPF fixed when the second parameter was not a codeblock. - Removed (unsigned) casts from hb_arrayLen(). ; Reformatted to Harbour standard. * source/rdd/dbcmd.c ! HB_DBSKIP() it will work even when a DOUBLE type of numeric was passed, (like Clipper). The low-level HB_ITEM access changes to use the extend API. * makefile.b32 ! Fixes by Luiz Rafael Culik <Culik@sl.conex.net> implemented. * source/rtl/strings.c + Added a new runtime error for ALLTRIM(), this error has been introduced in Clipper 5.3. (Put between HB_COMPATIBILITY_CLIPPER_53 guard) % Some PHB_ITEM accesses changed to type checking macros, only where the PHB_ITEM was only used to check the type. * Some reformatting (putting spaces between ()[] chars) ; Reformatted to Harbour standard. * source/rtl/math.c % PHB_ITEM access changed to Extend API calls and/or type checking macros. * source/rtl/console.c % PHB_ITEM access changed to Extend API calls and/or type checking macros. ! SETPRC() was checking the first parameter type two times, but not at all the second. * source/rtl/descend.c ! One (double) cast moved to the right place. * source/rtl/classes.c % One hb_ret() removed. * Some reformatting. * tests/working/rtl_test.prg + CA-Cl*pper bugs documented somewhat better. * source/rtl/dates.c source/rtl/dir.c source/rtl/inkey.c source/vm/hvm.c * Some minor formatting change: defined( x ) -> defined(x). + Two (double) casts added to hb_vmPopDouble() 19990824-17:57 GMT+1 Antonio Linares <alinares@fivetech.com> * source/debug/debugger.prg + Added support for Next Window (K_TAB) and Prev Window (K_SH_TAB) 19990824-17:10 GMT+1 Bruno Cantero <bruno@issnet.net> * funclist.txt include/rddapi.h source/rdd/dbcmd.c source/rdd/dbf1.c + Added FLOCK, DBUNLOCK, DBUNLOCKALL, AFIELDS, DBSTRUCT, LUPDATE, NETERR, HEADER and RECSIZE 19990824-16:04 GMT+1 Antonio Linares <alinares@fivetech.com> * source/debug/debugger.prg + Added support for F5-Go. (Breakpoints are not checked yet). 19990824-14:55 GMT+2 Ryszard Glab <rglab@imid.med.pl> *source/compiler/harbour.y * corrected arguments type checking in Inc/Dec functions *source/hbppint.h * memory.h is not defined in WATCOM C/C++ *include/rddapi.h * added forward declaration for _AREA struct 19990824-11:07 GMT+1 Bruno Cantero <bruno@issnet.net> * funclist.txt include/rddapi.h source/rdd/dbcmd.c source/rdd/dbf1.c + Added RLOCK, DBRLOCK and DBRUNLOCK functions 19990824-03:50 GMT+1 Viktor Szakats * tests/working/fileio.prg + Rewritten to check more functions in more situations, displaying all return values, etc. (almost like RTL_TEST.PRG) * source/compiler/harbour.y + Changed spaces to tabs in the generated code. This made the generated code size almost 30% smaller, and the comments better aligned. * source/compiler/harbour.l source/compiler/harbour.y include/hberrors.h + One yyerror() call converted to standard GenError(). * source/hbpp/hbppint.c ! 'W' sign changed to 'I' for preprocessor warning. * config/dos/djgpp.cf - -( -) removed. * runner.b32 ! Fixes by Luiz Rafael Culik <Culik@sl.conex.net> implemented. * include/ctoharb.h + hb_vmRequest*() functions added. * source/rtl/errorsys.prg + BREAK uncommented. * include/filesys.h * Some name standardization (fp -> p). 19990823-19:37 GMT+1 Antonio Linares <alinares@fivetech.com> * source/rtl/tbrowse.prg * Added Class TbColumn DATA ColorBlock support. * source/debug/debugger.prg * Added support for setting breakpoints. (they don't work yet, but you may set them pressing F9) 19990823-17:00 GMT+1 Antonio Linares <alinares@fivetech.com> * source/debug/debugger.prg * improved application colors and cursor management. 19990823-12:40 GMT+2 Ryszard Glab <rglab@imid.med.pl> *source/compiler/harbour.y + added full support for BEGIN/RECOVER/END sequence + added full support for BREAK statement and BREAK function (BREAK statement is implemented using BREAK function) + fixed incorrect warning about unused static variables * added some optimalization of generated opcodes - repeated HB_P_LINE opcodes are replaced with only one HB_P_LINE opcode if compiled with no debugger support *source/vm/hvm.c + added full support for BEGIN/RECOVER/END sequence and BREAK + new functions hb_vmRequestBreak() and hb_vmRequestQuit() that can be used from C code to request BREAK or QUIT action + changed HB_DEBUG to empty macro instead of function when debug code is not requested * some internal variables declared 'static' * EXIT functions are called on exit when QUIT is requested QUESTION: How to handle the call to QUIT function inside of EXIT procedure? Should we continue execution of the rest of procedures or immediatelly quit to OS? *include/pcode.h + added new opcodes HB_P_SEQBEGIN HB_P_SEQEND HB_P_SEQRECOVER NOTE: You have to recompile all PRG code! *include/hberrors.h + added new error code ERR_EXIT_IN_SEQUENCE called when EXIT, LOOP or RETURN is used inside BEGIN/END sequence (however these statement are valid in RECOVER code) *tests/working/begin.prg + new file to test BEGIN/RECOVER/END sequence and BREAK statement *tests/working/Makefile * added begin.prg 19990823-10:45 GMT+1 Bruno Cantero <bruno@issnet.net> * include/rddapi.h source/rdd/dbcmd.c source/rdd/dbf1.c source/rdd/sdf1.c source/rdd/delim1.c source/rdd/dbfntx/dbfntx1.c + Added support for SUPER methods. 19990823-02:00 EDT Paul Tucker <ptucker@sympatico.ca> * source/debug/tbrwtext.prg * GotoLine() only forceStable once after loop is done. 19990823-01:11 EDT Paul Tucker <ptucker@sympatico.ca> * source/debug/debugger.prg * ::Activate - fix for trashed screens Escape key will now exit the debugger, but the app will continue to run Altd() will reactivate the debugger (maybe not imediately) 19990823-01:11 GMT+1 Viktor Szakats * source/rtl/alert.prg ! PreExt/PostExt code moved inside Alert(), then the STATIC variable could be removed, so that it will work even in nested calls. * source/compiler/harbour.y ! Extern "DEBUGGER" changed to "__DBGENTRY" * config/win32/gcc.cf tests/working/Makefile source/runner/stdalone/Makefile ! Removed the -( -) parameter, RDD lib added a second time after the VM lib to resolve circular dependency. (Thanks to Paul Tucker) * include/extend.h include/hbdefs.h * Standard #include files included from hbdefs.h instead of extend.h * source/compiler/genobj32.c ! Some types changed to BOOL % Some #includes removed. * source/runner/runner.c - Removed (runlib.c is the new name) * runner.b32 + Added (missed from the previous CVS session) * source/vm/hvm.c % Removed some unneeded HARBOUR prototypes. % Removed #include "init.h" * source/rtl/strings.c + Put #include "init.h" between guards * tests/working/transfrm.prg tests/working/Makefile - Removed since all its content has been moved to rtl_test.prg previously. 19990822-16:20 EDT Paul Tucker <ptucker@sympatico.ca> * source/rtl/alert.prg + PreExt() and PostExt() These allow alert to display if dispbegin is in effect. 19990822-20:02 GMT+1 Bruno Cantero <bruno@issnet.net> * source/rdd/dbcmd.c source/rdd/dbf1.c * Bug in PutValue removed (again) 19990822-18:20 GMT+1 Bruno Cantero <bruno@issnet.net> * include/rddapi.h source/rdd/dbcmd.c source/rdd/dbf1.c * Bug in PutValue removed 19990822-14:12 GMT+1 Viktor Szakats * config/win32/gcc.cf + -( -) parameters temporarly readded, to make it work, new circular dependencies has been introduced, since HVM.C is calling RDD functions. * include/extend.h source/rtl/strings.c source/rtl/math.c * hb_mathRound() -> hb_numRound() ! hb_numRound() fixed, so that it handles negative and zero iDec parameter correctly. (STR()/STRZERO() got also fixed) + Comment header added to STR() and STRZERO() * tests/working/rtl_test.prg * /FAIL changed to /ALL, so from now on, only the failing lines will be showed by default. + Added some tests. * source/rtl/console.c ! Comment typo fixed. 19990822-12:49 GMT+1 Bruno Cantero <bruno@issnet.net> * include/rddapi.h source/vm/hvm.c source/rdd/dbcmd.c source/rdd/dbf1.c source/rdd/sdf1.c source/rdd/delim1.c source/rdd/dbfntx/dbfntx1.c * Renamed hb_GetCurrentWorkAreaNumber, hb_SelectWorkAreaNumber and hb_SelectWorkAreaAlias to hb_rddGetCurrentWorkAreaNumber, hb_rddSelectWorkAreaNumber and hb_rddSelectWorkAreaAlias. 19990822-07:40 GMT+1 Viktor Szakats * source/rtl/strings.c ! hb_itemStr() fixed so that it rounds the value if the required decimal width is smaller than the original. Note that rounding is buggy so it still doesn't work. * HB_STRTRAN() one more long converted to ULONG. (lFound -> ulFound) * include/extend.h source/rtl/math.c tests/working/rtl_test.prg + Made a C callable version of ROUND() function, named hb_mathRound(). + Added ROUND() tests. * source/rtl/strzero.prg source/runner/stdalone/external.prg include/external.ch tests/working/rtl_test.prg funclist.txt + STRZERO() added. + STRZERO() and STR() tests added. + EXTERNAL NUMTOTXTHU enabled, since STRZERO() is existing now. * source/rtl/alert.prg source/rtl/menuto.prg source/rtl/achoice.prg ! Some warnings fixed. (Why aren't we compiling with /w by default ?) ! Hotkey handling bug fixed in ACHOICE(). ! Comment typo fixed in Alert() * source/rtl/hardcr.c tests/working/hardcr.prg ! Fixed a bug in HARDCR() with handling strings including Chr(0). It's now 100% Clipper compatible. * hb_hardcr() renamed to hb_strHardCR() * source/rtl/mtran.c * Small change in internal function, it returns the resulting string pointer now. * hb_memotran() renamed to hb_strMemotran() * source/tools/dates2.c source/hbpp/hbpplib.c source/vm/hvm.c source/vm/initsymb.c source/rtl/arrays.c source/rtl/classes.c source/rtl/console.c source/rtl/copyfile.c source/rtl/dates.c source/rtl/descend.c source/rtl/dir.c source/rtl/do.c source/rtl/environ.c source/rtl/errorapi.c source/rtl/filesys.c source/rtl/hardcr.c source/rtl/inkey.c source/rtl/math.c source/rtl/memvars.c source/rtl/mtran.c source/rtl/set.c source/rtl/setcolor.c source/rtl/strings.c source/rtl/tone.c source/rtl/transfrm.c - Removed HB_INIT_SYMBOLS_*() automatic symbol registration, placed "forcelink" code where needed. * include/extend.h + hb_strDescend() prototype added. (this may be used in index creation once) * source/runner/runhrb.c (removed) source/runner/runlib.c (added) source/runner/external.prg -> source/runner/stdalone/external.prg source/runner/runhrb.prg -> source/runner/stdalone/runner.prg source/runner/Makefile source/runner/stdalone/Makefile tests/working/Makefile include/initsymb.h (removed) include/initsymc.h (removed) include/run_exp.h (removed) runner.b32 (added !! NOT tested !!) build32.bat (modified) build40.bat (modified) - Removed include files not needed anymore. + Separated runner library from standalone executable. * Renamed HB_RUN() to __HRBRUN() + Added return value support to __HRBRUN() + Added standard error messages to runlib.c, printf() is no longer called. + TODO: the error codes should be replaced with meaningful ones. * Large cleanup in runlib.c, functions made static, renamings, some BYTE changed to BOOL, FIXME, TODO added, etc. + runner.prg help message standardized, extended. + Tried to modify Borland makefiles to be able to build runner. + Added runner lib to the Makefile's library list. ( !! PLEASE CHECK THE BORLAND MAKEFILES !! ) * tests/working/rtl_test.prg + /FAIL switch added to only show failing lines. * Reindented using 3 characters. * source/rtl/inkey.c include/inkey.h ! Some ints changed to BOOL. * source/rtl/transform.c tests/working/rtl_test.prg ! The rest of the long types and one int converted to ULONG. ! A temporary fix for an obvious bug, an if branch commented out. This way it seems to work far better. GPF seem to have fixed. Now only 10 tests fails. ! TRANSFORM() test results corrected where Clipper is buggy, two tests added which previously GPF-ed. * source/debug/debugger.prg source/vm/hvm.c * Function DEBUGGER renamed to __DBGENTRY * libs/icc/empty - Removed since this directory is not used anymore. * source/hbpp/makefile.b16 (moved to /hbpp.b16) source/hbpp/makefile.b32 (moved to /hbpp.b32) source/hbpp/build.bat (removed) source/hbpp/build32.bat (removed) build.bat build32.bat hbpp.b16 (added !! NOT tested !!) hbpp.b32 (added !! NOT tested !!) + Moved to the root, renamed and incorporated to the mainstream Borland make process, it's commented out. ( !! PLEASE UPDATE THE BORLAND MAKEFILES !! ) * source/compiler/harbour.y source/hbpp/hbpp.c * Reformatted code for error and warning tables. 19990821-22:18 GMT+3 Alexander Kresin * source/debug/tbrwtext.prg * minor improvements * makefile.b32 * added tone.c 19990821-14:20 GMT+2 Ryszard Glab <rglab@imid.med.pl> *source/rtl/inkey.c * added test code for OS_UNIX_COMPATIBLE based on noncanonical low-level terminal functions - we need however to extend this code to support different terminals 19990821-00:05 GMT+1 Antonio Linares <alinares@fivetech.com> * source/debug/debugger.prg * improved debugger functionality. * source/vm/hvmc. * improved debugger support. 19990820-16:25 EDT Paul Tucker <ptucker@sympatico.ca> * source/rtl/gtapi.c * account for nesting of gtPre/PostExt and for calling DispBegin/End while Pre/Post in effect. 19990820-14:24 EDT Paul Tucker <ptucker@sympatico.ca> * source/rdd/dbf1.c * casts on sztext 19990820-19:42 GMT+1 Bruno Cantero <bruno@issnet.net> * filelist.txt include/rddapi.h source/rdd/dbcmd.c source/rdd/dbf1.c source/rdd/sdf1.c source/rdd/delim1.c source/rdd/dbfntx/dbfntx1.c dbUseArea() and dbCreate() add a default extension to filename if not provided. 19990820-11:50 EDT Paul Tucker <ptucker@sympatico.ca> * source/rtl/dir.c * corrected case of iDirnameLen * source/rtl/transfrm.c * added casts as required * makefile.vc - remove HARBOUR_USE_GTAPI 19990820-15:05 GMT+2 Ryszard Glab <rglab@imid.med.pl> *source/rtl/strings.c * corrected a NULL assigment to '\x0' *source/rdd/dbcmd.c * corrected SELF_DELETE to SELF_DELETED in HB_DELETED function *source/runner/runner.c * corrected NULL to 0L (we are returning LONG in ReadLong()) *include/external.ch + new file with EXTERNAL declaration for all harbour functions/procedures *source/rtl/dir.c * corrected a parameter passed to 'opendir' function when Watcom C/C++ is used *source/runner/Makefile *source/runner/external.prg *source/runner/runhrb.c *source/runner/runmain.prg * new files to create the runner executable. + external.prg is here temporary because the preprocessor doesn't process EXTERNAL statement yet + runhrb.c is copied from runner.c however without all code used to handle the symbol table + runmain.prg calls HB_RUN from runhrb.c NOTE: I have left runner.c unchanged because I was unable to replace it with new files in all these build*.bat - these build*.bat doesn't allow to create an executable from more then one source file :( 19990820-14:40 GMT+1 Viktor Szakats * include/hbsetup.h + HARBOUR_USE_GTAPI is automatically #defined if any type of the GTAPIs is #defined. So from now on only one of these should be #defined to turn on the GT: #define HARBOUR_USE_DOS_GTAPI #define HARBOUR_USE_OS2_GTAPI #define HARBOUR_USE_WIN_GTAPI 19990820-14:30 GMT+1 Viktor Szakats * source/compiler/harbour.y source/hbpp/hbpp.c source/hbpp/hbpplib.c source/hbpp/stdalone/hbpp.c include/hbpp.h + All occurence of FILENAME, MakeFilename, SplitFilename() changed to the Harbour standard hb_fsFName*() and HB_FNAME. This way one copy of them could be safely removed. 19990820-13:47 GMT+1 Bruno Cantero <bruno@issnet.net> * source\rdd\dbcmd.c Fixed some warnings, now RDD compile without warnings 19990820-13:27 GMT+1 Bruno Cantero <bruno@issnet.net> * source\rdd\dbcmd.c source\rdd\dbf1.c source\rdd\delim1.c source\rdd\sdf1.c source\rdd\dbfntx\dbfntx1.c Fixed some warnings (unused variables) 19990820-12:50 GMT+1 Viktor Szakats * source/rdd/dbcmd.c ! SELF_DELETE -> SELF_DELETED (missed from the previous ChangeLog entry) 19990820-12:40 GMT+1 Viktor Szakats * source/rtl/filesys.c include/filesys.h + hb_fsFNameSplit() hb_fsFNameMerge() filename handling functions and structure added to the Harbour RTL. These function were originated from MakeFilename() and SplitFileName() * tests/working/rtl_test.prg + rtl_test now shows the compiler version, os, date and time, other improvements. * All TRANSFORM() tests moved to rtl_test to allow automatic regression testing. * source/rtl/transfrm.c * PicFlags type changed to WORD * Some length and pos variable types changed to ULONG. * FIXME: added about an unreachable code segment. * Some zero changed to '\0'. * source/rtl/strings.c source/rtl/maths.c source/rtl/dates.c source/rtl/arrays.c * QUESTION:s changed to NOTE: regarding the parameter checking 19990820-12:28 GMT+1 Antonio Linares <alinares@fivetech.com> * source/debug/debugger.prg * improved debugger functionality. F8 and F4 already operative. * source/debug/tbrwtext.prg * GotoLine() method added * source/vm/hvmc. * new bDebugging, bDebugShowLines variables added. * new hb_vmDebuggerShowLine() function 19990820-11:47 GMT+1 Bruno Cantero <bruno@issnet.net> * funclist.txt include/rddapi.h source/rdd/dbcmd.c source/rdd/dbf1.c source/rdd/sdf1.c source/rdd/delim1.c source/rdd/dbfntx/dbfntx1.c source/vm/hvm.c + Added new functions, changed VM for support Alias and updated function list. 19990819-18:42 GMT+1 Viktor Szakats * tests/working/rtl_test.prg + STUFF() and RAT() tests added, some more tests added to PAD*() family. * include/extend.h source/rtl/strings.c source/rtl/descend.c source/vm/hvm.c ! hb_strUpper(), hb_strLower(), hb_strAt() uses ULONG instead of long for string positions and lengths. ! hb_pad_prep() uses ULONG instead of WORD + REPLICATE() now checks for string overflow. * REPLICATE() uses only standard Extend API calls now. * STUFF() made completely Clipper compatible, it now uses only standard Extend API calls. * hb_stricmp() USHORT changed to ULONG. * return type of hb_strgreater changed to int from WORD ! Some types changed to BOOL, many "long"s changed to ULONG. * long -> LONG, _retni() -> retnl() in one place. * Some zeros changed to \0 and NULL. * Small name changes: hb_pad_prep() -> hb_itemPadConv() hb_strempty -> hb_strEmpty hb_strdescend -> hb_strDescend * source/rtl/copyfile.c ! Fixed a bug when HB_STRICT_CLIPPER_COMPATBILITY was set. * contrib/odbc/odbc.c source/rtl/copyfile.c source/rtl/descend.c source/hbpp/hbpplib.c ! Fixed #pragma startup directives. (missing "startup", missing __GNUC__ guard.) * source/hbpp/hbpplib.c tests/working/testpre.prg * HB_PREPROCESS -> HB___PREPROCESS, since this is an extension. PREPROCESS -> __PREPROCESS * source/vm/dynsym.c * One small change. 19990819-12:30 GMT+1 Viktor Szakats * source/rtl/strings.c ! hb_itemStr() possible error fixed when item.asDouble was accessed without making sure whether the item is a double. 19990819-00:15 EDT Paul Tucker <ptucker@sympatico.ca> * source/rtl/gtapi.c + hb_gtPreExt() + hb_gtPostExt() Like Clipper internals - these functions should be called as bookends to printf if there is a possibility that a dispbegin is in effect when the printf or fprintf(stderr) takes place. * gtDispEnd(); decrement counter after restoring screen * source/rtl/console.c * added calls to above functions * source/rtl/gt/gtdos.c * account for dispCount change * source/rtl/gt/gtwin.c * If the Windows console handle is not the initial handle inherited from stdin - printf fails to work. Modified Dispbegin/end logic to account for this. 19990819-05:26 GMT+1 Viktor Szakats * source/compiler/harbour.l source/compiler/harbour.y source/compiler/genobj32.c source/hbpp/hbpp.c source/hbpp/hbppint.c source/hbpp/hbpplib.c source/hbpp/stdalone/hbpp.c include/compiler.h include/hbpp.h + Standardized the names of the memory handling functions. OurMalloc() -> hb_xalloc() OurRealloc() -> hb_xrealloc() OurFree() -> hb_xfree() _xgrab() -> hb_xgrab() _xrealloc() -> hb_xrealloc() _xfree() -> hb_xfree() So that from now on, the Harbour API form can be used everywhere. Some duplicate code eliminated. * source/rtl/arrays.c - hb_arrayScan() ! Checks the return value of the comparer block whether it's logical. 19990819-04:44 GMT+1 Viktor Szakats * source/rtl/memvars.c include/extend.h * int -> BOOL (hb_memvarValueNew()) + PUBLIC CLIPPER and PUBLIC HARBOUR will initialize those variables with .T. instead of .F., to be compatible with Clipper, and to be able to detect Harbour. * include/extend.h source/rtl/extend.c source/rtl/itemapi.c source/vm/hvm.c source/rtl/transfrm.c - Removed HB_ITEM/asLogical.length variable, since it was never used, and has no sense anyway. - Removed HB_ITEM/asDate.length variable, since it was never used, and has no sense anyway. - Removed HB_ITEM/asInteger.decimal variable, since it was never used, and has no sense anyway, it's always zero. - Removed HB_ITEM/asLong.decimal variable, since it was never used, and has no sense anyway, it's always zero. * source/rtl/arrays.c source/rtl/extend.c source/rtl/memvars.c source/vm/hvm.c include/extend.h * HB_ITEM/asLogical.value type changed to BOOL * include/hbdefs.h + ISNIL() macro added. * source/tools/dates2.c * Some optimalizations, simplifications. * source/rtl/transfrm.c ! Fixed handling of the case, when the second parameter was not a string. * Some optimalizations, simplifications. ! Reenabled symbol registration, to avoid an empty initialization list. This is only a temporary workaround. 19990819-02:15 GMT+1 Viktor Szakats * source/hbpp/hbpplib.c ! OurMalloc -> _xgrab * source/compiler/genobj32.c ! "_VirtualMachine" -> "_hb_vmExecute" * source/rtl/arrays.c source/rtl/console.c source/rtl/dates.c source/rtl/inkey.c source/rtl/math.c source/rtl/strings.c source/rtl/transfrm.c source/vm/hvm.c ! Commented out those symbol registration line, which are already included in source/vm/initsymb.c * source/vm/dynsym.c * Some variable declaration moved to the block where it's used. * Some 0 (zero) changed to NULL and '\0' * source/rdd/dbcmd.c ! extern HARBOUR functions declared as extern. * source/rtl/classes.c ! __msg*() function names changed to hb___msg*(), to avoid the leading underscores. * Many variable declaration moved to the block where it's used. ! Some (5?) potential GPFs fixed when the string/block parameter was omitted. * BYTE changed to BOOL in one place. ! Added proper (commented out) error description to three runtime errors. * source/rtl/extend.c * Some 0 (zero) changed to NULL and '\0' * include/inkey.ch ! Typo fixed. * include/extend.h source/rtl/arrays.c source/rtl/classes.c * BASEARRAY/wSuperCast changed to bSuperCase, type changed to BOOL. * source/vm/hvm.c source/vm/initsymb.c source/tools/io.c source/runner/runner.c source/rtl/codebloc.c source/rtl/console.c source/rtl/dates.c source/rtl/dir.c source/rtl/extend.c source/rtl/filesys.c source/rtl/fm.c source/rtl/inkey.c source/rtl/langapi.c source/rtl/memvars.c source/rtl/msgxxx.c source/rtl/set.c source/rtl/strings.c source/compiler/harbour.y % Removed all #includes which are always included indirectly via extend.h * include/extend.h * changed inclusion order of hbsetup.h and hbdefs.h, so that hbsetup.h is included first. * source/vm/initsymb.c source/compiler/harbour.y - DO removed from here. (since it's non standard Clipper) * source/vm/initsymb.c - STOD removed from here. (since it's non standard Clipper) * made all HARBOUR prototypes extern. - #include "init.h" removed. + #include "initsymd.h" guarded with HARBOUR_STRICT_ANSI_C + INKEY, PCOL, PROW address filled with proper value instead of NULL. * include/memvars.ch * Really small correction. 19990818-19:20 EDT David G. Holm <dholm@jsd-llc.com> * source/vm/hvm.c * Added TODO: comment to indicate that the divide by zero check needs to be removed once proper divide by zero error handling has been added to Harbour. 19990818-18:45 EDT David G. Holm <dholm@jsd-llc.com> * config/os2/icc.cf ! Fix to only use RDD libraries when RDD library is specified. * include/inkey.h + Added '#include "set.h"' to get HB_set_enum. * source/rtl/dates.c * Renamed hb_seconds() to hb_secondsToday() to avoid a duplicate symbol warning when using a C++ compiler. * source/rtl/environ.c * Moved hb_revision to after hb_build to match Harbour build number (e.g., "(Build 29a)"). * source/rtl/gtapi.c ! Moved speed enhancement display code in hb_gtWriteCon() to be outside the switch() statement, so that forced display updates take place immediately instead of when the next character is processed. (This bug caused QOUT to act like QQOUT.) ! Added a check to force the display of whatever is in 'strng' when the buffer is full, because it's possible to write more than 500 characters without hitting any other forced display conditions when starting more than 500 characters away from the bottom right corner of the screen (a 25 x 80 screen is 2000 characters). - Commented out the calls to hb_gtDispBegin() and hb_gtDispEnd() in hb_gtWriteCon() in anticipation of removing them, because their use subverts the use of DISPBEGIN() and DISPEND() in Harbour code. * source/rtl/inkey.c - Removed '#include "set.h"', because inkey.h includes it. + Uncommented DOS release CPU code and added '#if defined(DOS)'. * source/rtl/tone.c * Added support for long delays, like in Clipper. ! OS/2 upper frequency limit is 32767. * Limited all platforms to an upper frequency of 32767. * source/vm/hvm.c ! When dividing by 0, always return 0, just like Clipper. * tests/working/mathtest.prg * Moved modulo 0 test ahead of divide by 0 test. * Put "error" text on a separate line. * tests/working/sound.prg + Calculate elapsed time, which should be close to 1.5 seconds (except on platforms where SECONDS() only returns whole seconds). 19990819-02:23 GMT+1 Bruno Cantero <bruno@issnet.net> * funclist.txt source/rdd/rddsys.prg source/rdd/dbcmd.c source/rdd/dbf0.prg source/rdd/dbf1.c source/rdd/sdf0.prg source/rdd/sdf1.c source/rdd/delim0.prg source/rdd/delim1.c source/rdd/dbfntx/dbfntx0.prg source/rdd/dbfntx/dbfntx1.c tests/working/testrdd.prg Added new functions, run-time errors and update function list. 19990818-16:16 EDT Paul Tucker <ptucker@sympatico.ca> * source/rtl/console.c source/rtl/gtapi.c source/rtl/gt/gtwin.c * fixes to my fixes * makefile.vc + source/debug/tbrwtext.prg 19990818-14:33 EDT Paul Tucker <ptucker@sympatico.ca> * source/rtl/console.c * source/rtl/gtapi.c * a number of small changes to improve speed. * source/rtl/gt/gtwin.c * correction to cursor positioning when dispend called * tests/working/dirtest.prg * comment out (for now) asort it works, but it's rather slow on a larger directory 19990818-14:13 GMT+1 Bruno Cantero <bruno@issnet.net> * include/rddapi.h source/rdd/dbcmd.c source/rdd/dbf1.c source/rdd/sdf1.c source/rdd/delim1.c source/rdd/dbfntx/dbfntx1.c Added new functions 19990818-03:00 GMT+1 Viktor Szakats * source/compiler/harbour.y ! Fixed "incorrect pcode" error with /gh switch and certain .prg files. (Thanks to: Ryszard Glab <rglab@imid.med.pl>) * source/compiler/harbour.y + Invalid pcode error now shows the failing pcode number. * source/vm/hvm.c + TODO: added to include the actual unsupported pcode in the error message. * include/run_exp.h include/initsymc.h include/initsymd.h source/vm/hvm.c source/rtl/memvars.c source/rtl/math.c source/rtl/arrays.c source/rtl/console.c source/rtl/dates.c source/rtl/do.c source/rtl/errorapi.c source/rtl/filesys.c source/rtl/strings.c + Standard name registration method added (hvm.c). ! Completed init tables so that all declared Harbour function get registered. * include/run_exp.h + ACHOICE added. * source/compiler/harbour.y source/compiler/harbour.l source/rtl/itemapi.c source/rdd/dbcmd.c * Some tricks used to suppress unused variable warnings changed to HB_SYMBOL_UNUSED(). 19990817-15:36 EDT Paul Tucker <ptucker@sympatico.ca> * source/debug/tbrwtext.prg * modified to with with cr/lf or just lf 19990817-21:10 GMT+1 Antonio Linares <alinares@fivetech.com> * source/rtl/errorsys.prg * public getlist := {} uncommented. 19990817-14:26 EDT Paul Tucker <ptucker@sympatico.ca> * source/debug/Makefile + tbrwtext.prg 19990817-20:51 GMT+1 Antonio Linares <alinares@fivetech.com> * source/rtl/tbrowse.prg * Added lHeaders := .f. at method New(). * source/rtl/tbcolumn.prg * Small fix on nWidth do case otherwise. 19990817-20:35 GMT+2 Ryszard Glab <rglab@imid.med.pl> *source/compiler/harbour.y * corrected code used to generate HB_P_ENDPROC - the declared length of function/procedure is now equal to the number of bytes written into HRB file - some comments added *source/runner/runner.c * corrected reading of function/procedure body (it was trying to read (size+1) bytes) * the MAIN procedure is defined if HARBOUR_START_PROCEDURE is defined - the runner works with GCC/Linux now * corrected code used to call (_INITSTATIC) function - inside this function there is no access to passed parameters then there is no need to pass them - static variables can be initialized using literal values only 19990817-20:14 GMT+1 Viktor Szakats * tests/working/Makefile tests/working/colorind.prg (content moved to rtl_test.prg) tests/working/rtl_test.prg tests/working/testhbf.prg tests/working/and_or.prg ! Starting procedure name changed to Main() so Win32/GCC is also able to run them. * Some minor changes 19990817-13:50 EDT David G. Holm <dholm@jsd-llc.com> * config/dos/global.cf + Added code to leave COMSPEC alone instead of changing '\' to '/' for bcc31, because NT chokes on '/' when using the Cygwin GNU Make System to build the Borland C 3.1 version of Harbour. * source/rtl/console.c + Surrounded 'if( isatty( fileno( stdout ) ) )' in hb_outstd() with '#ifndef __CYGWIN__' and '#endif'. ! Corrected 'if( isatty( fileno( stdout ) ) )' in hb_outerr() to check stderr instead of stdout. + Surrounded 'if( isatty( fileno( stderr ) ) )' in hb_outerr() with #ifndef '__CYGWIN__' and '#endif'. * source/runner/runner.c ! Added ')' that was missing from a conditional test. * tests/working/dates4.prg * Moved output of extra CR/LF pair in CheckDate() subroutine to after the __Accept() call, because __Accept() already outputs a CR/LF pair before displaying the prompt. 19990817-17:13 GMT+1 Antonio Linares <alinares@fivetech.com> + source/debug/tbrwtext.prg * Class TBrwText for browsing debugger source code * source/debug/debugger.prg * Improved * makefile.b32 * TBrwText module added 19990817-13:20 GMT+1 Antonio Linares <alinares@fivetech.com> * include/classes.ch * extern <SuperClass> added, so now the SuperClass symbol is properly linked. 19990817-07:30 GMT+1 Viktor Szakats * source/vm/hvm.c source/rtl/errorapi.c source/rtl/classes.c source/rtl/fm.c source/rtl/itemapi.c source/rtl/transfrm.c include/error.ch + printf()s changed to a call to hb_errInternal() instead. * hb_callStackShow() modified so that it uses the same format as the standard error handler. * include/initsymc.h include/initsymd.h source/rtl/errorapi.c + Harbour callable __errRT_BASE() function added. * include/errorapi.h source/rdd/dbcmd.c source/rtl/errorapi.c source/rtl/arrays.c source/rtl/classes.c source/rtl/copyfile.c source/rtl/dates.c source/rtl/do.c source/rtl/errorapi.c source/rtl/filesys.c source/rtl/inkey.c source/rtl/math.c source/rtl/memvars.c source/rtl/set.c source/rtl/strings.c source/rtl/transfrm.c source/tools/dates2.c source/vm/hvm.c * hb_error*() -> hb_err*() - removed obsolete hb_errorNat*() prototypes. * include/hberrors.h include/hbpp.h source/compiler/harbour.y source/hbpp/*.c source/hbpp/stdalone/*.c + Added the ability to display warnings in standard format. ! Adjusted and corrected to help display of HBPP.EXE * source/rtl/objfunc.prg doc/subcodes.txt * Got rid of the QOUT() type runtime-error messages, there's now a more comprehensive, standard error checking system, which throws Harbour errors. ! Some small bugs fixed. (checking argument after usage, additional parameters passed in one place - typo) * include/hboo.ch source/rtl/objfunc.prg source/rtl/tclass.prg source/tools/stringp.prg * DATA_VAL -> DATA_VALUE 19990816-21:57 GMT+1 Viktor Szakats * source/rtl/console.c tests/working/colorind.prg + Added standard header to __ColorIndex() ! Some Lint warnings fixed. + Some tests added. * include/hbdefs.h include/extend.h ! Some Lint warnings fixed. * include/Makefile + Added hboo.ch 19990816-22:15 GMT+3 Alexander Kresin * source/rtl/tbrowse.prg * tests/working/testbrw.prg * added functionality - methods PanLeft().PanRight(),Hilite(),DeHilite() * Up() and Down() now uses Scroll() and Hilite()/DeHilite() instead of RefreshAll() and RefreshCurrent() * source/hbpp/hbpp.c * Bug fixed for new CLASS implementation ( with 'extern' ) 19990816-12:26 EDT Paul Tucker <ptucker@sympatico.ca> * source/rtl/browdb.prg + copyright info. + todo info * makefile.vc + browdb + tone 19990816-15:30 GMT+1 Viktor Szakats * source/rtl/errorapi.c ! Fixed hb_errLaunch() so that it will handle error handler return values correctly. NOTEs added about this. 19990816-13:30 CET Eddie Runia <eddie@runia.com> * source/compiler/harbour.y EndProc error resolved. PushDouble error resolved. Padding problem resolved * source/runner/runner.c; include/run_exp.h First symbol should be executed. Main renamed to HB_RUN Init symbol code fixed 19990816-13:20 GMT+1 Viktor Szakats * source/rtl/Makefile + browdb.prg added * source/rtl/errorsys.prg ! Removed ErrorLevel() call. * source/rtl/itemapi.c ! hb_evalNew() is no longer making a copy of the passed block/name parameters, so hb_evalRelease() will properly release that item. Although not exactly defined in CA-Cl*pper NG, the example program suggest that it works like this. CA-Cl*pper example generated unreleased blocks in Harbour. % Some variable scopes optimized. 19990816-12:39 GMT+1 Antonio Linares <alinares@fivetech.com> + source/rtl/browdb.prg * source code for TBrowseDb() * source/rtl/tbrowse.prg * removed source code for TBrowseDb() * harbour/makefile.b32 * browdb module added. 19990816-12:03 GMT+1 Antonio Linares <alinares@fivetech.com> * source/vm/hvm.c * Enhanced ProcName() returned information. (it generates the name of the Class and the method). 19990816-12:03 GMT+1 Antonio Linares <alinares@fivetech.com> * include/ctoharb.h + Added new hb_callStackShow() prototype * source/vm/hvm.c + Added new hb_callStackShow() function * improved internal errors reporting information 19990816-01:11 EDT Paul Tucker <ptucker@sympatico.ca> * source/vm/hvm.c * ProcessObjSymbols -> hb_vmProcessObjSymbols 19990816-02:45 GMT+1 Viktor Szakats * include/extend.h source/rtl/classes.c source/rtl/objfunc.prg source/rtl/tclass.prg source/vm/hvm.c source/tools/stringp.prg tests/working/dynobj.prg tests/working/debugtst.prg tests/working/inherit.prg tests/working/strip.prg tests/working/objects.prg % Some variables and functions made static in classes.c ! Completed init symbol list. * Names changed to standard ones (they should also work in 10 chars mode): ClassCreate -> __clsNew ClassInstance -> __clsInst __InstSuper -> __clsInstSuper ClassAdd -> __clsAddMsg ClassDel -> __clsDelMsg ClassMod -> __clsModMsg WClsDatas -> __cls_CntClsData __wDatas -> __cls_CntData __wDataDec -> __cls_DecData __wDataInc -> __cls_IncData aOMethod -> __objGetMethodList aOData -> __objGetMsgList aOGet -> __objGetValueList aOSet -> __objSetValueList oClone -> __objClone ClassName -> __objGetClsName oSend -> __objSendMsg isMessage -> __objHasMsg IsData -> __objHasData IsMethod -> __objHasMethod oAddMethod -> __objAddMethod oAddInline -> __objAddInLine oAddData -> __objAddData oModMethod -> __objModMethod oModInline -> __objModInLine oDelMethod -> __objDelMethod oDelInline -> __objDelInLine oDelData -> __objDelData ClassH -> __msgClsH ClassName -> __msgClsName ClassSel -> __msgClsSel SelectSuper -> __msgSuper EvalInline -> __msgEvalInline GetClassData -> __msgGetClsData SetClassData -> __msgSetClsData GetData -> __msgGetData SetData -> __msgSetData Virtual -> __msgVirtual DictRealloc -> hb_clsDictRealloc ReleaseClass -> hb_clsRelease ReleaseClasses -> hb_clsReleaseAll hb_GetClassName -> hb_objGetClsName hb_GetMethod -> hb_objGetMethod hb_isMessage -> hb_objHasMsg * include/hboo.ch source/rtl/classes.c source/rtl/objfunc.prg source/rtl/tclass.prg source/tools/stringp.prg tests/working/dynobj.prg tests/working/objects.prg tests/working/overload.prg tests/working/objects.prg + MET_ and DATA_ declaration moved to one place (hboo.ch). * source/rtl/errorapi.c include/errorapi.h % hb_error*() functions are returning void instead of WORD, except for hb_errorRT_BASE_Ext1(). * include/error.ch include/langapi.h source/rtl/langapi.c + New error code EG_ARRDIMENSION added * source/rtl/arrays.c ! ARRAY() now properly checks the passed parameters (Clipper compatible). + ARRAY() TODO: added (to support multiple dimensions) ! AADD() Fixed parameter handling, throws errors like Clipper. ! ASIZE() Fixed parameter handling. ! hb_arrayIns() removed one error to be Clipper compatible. ! hb_arrayDel() removed one error to be Clipper compatible. + AFILL(), ASCAN(), AEVAL(), ACOPY() FIXME: added. * source/rtl/transform.c ! _exit -> exit (_exit had no prototype, and that was the only place where it was used) ! Some BYTE and int changed to BOOL at obvious place. ! Some functions made static. ! Some unused variables removed (lFact*) 19990815-18:45 GMT+2 Ryszard Glab <rglab@imid.med.pl> *source/rtl/hvm.c * added 'hb_vm' prefix to alias/field related functions * some functions declared 'static' *include/ctoharb.h - removed declarations of internal virtual machine functions *source/compiler/harbour.y * changed an error description for incorrect use of PARAMETERS statement * added type casting to compile under C++ compilers * static frame is correctly generated if static variable is used in a codeblock only *include/extend.h - removed obsolete declaration of hb_memvarNewSymbol() *include/hb_vmpub.h + added definition of callback function HB_DYNS_FUNC used to enumerate dynamic symbols *source/vm/dynsym.c + new function hb_dynsymEval() that enumerates dynamic symbols by calling specified HB_DYNS_FUNC * function *source/rtl/memvars.c + added __MVCLEAR function to release all PRIVATE and PUBLIC variables (this function is used in CLEAR MEMORY statement) 19990815-19:59 GMT+3 Alexander Kresin * source/rtl/tbrowse.prg * tests/working/testbrw.prg * added functionality - some methods implemented, added support of footing, head separator, footer separator, freeze. Now it seems almost complete. 19990815-17:40 GMT+1 Viktor Szakats * bldodbc.bat hbodbc.b32 * moved to /contrib/odbc * updated for the new locations (not tested though). 19990814-20:40 GMT+1 Viktor Szakats * include/hb_vmpub.h source/vm/dynsym.c ! FS_ declarations now included casts, to suppress some pedantic warnings (Win32/GCC -ansi -pedantic). * source/hbpp/hbpp.c source/hbpp/table.c ! Made them end with newline. (ANSI C req.) * source/vm/hvm.c include/rddapi.h source/hbpp/hbpp.c ! // comment changed to /**/ (ANSI C req.) * include/init.h include/run_exp.h source/compiler/harbour.y contrib/odbc/odbc.c source/hbpp/hbpplib.c source/rdd/dbfntx/dbfntx1.c source/rdd/dbcmd.c source/rdd/dbf1.c source/rdd/delim1.c source/rdd/sdf1.c source/rtl/arrays.c source/rtl/classes.c source/rtl/console.c source/rtl/copyfile.c source/rtl/dates.c source/rtl/descend.c source/rtl/dir.c source/rtl/environ.c source/rtl/filesys.c source/rtl/hardcr.c source/rtl/inkey.c source/rtl/math.c source/rtl/mtran.c source/rtl/set.c source/rtl/setcolor.c source/rtl/strings.c source/rtl/tone.c source/rtl/transfrm.c source/tools/dates2.c ! Corrected some HB_INIT_SYMBOLS_END() and HB_CALL_ON_STARTUP_END() macro definitions to include the ending ";". ! Removed the ";" after HB_INIT_SYMBOLS_END() and HB_CALL_ON_STARTUP_END() macro references. (ANSI C req.) (Win32/GCC complained about it with -ansi -pedantic: "warning: ANSI C does not allow extra `;' outside of a function") 19990814-19:55 GMT+1 Viktor Szakats * ChangeLog ChangeLog.002 * Old ChangeLog renamed to ChangeLog.002 * New ChangeLog created. 19990814-19:50 GMT+1 Viktor Szakats * source/compiler/harbour.y ! BYTE -> unsigned char Previous change reverted, and replaced with a NOTE: not to change this again. 19990814-19:30 GMT+1 Viktor Szakats * source/vm/dynsym.c tests/working/dynsym.prg * Name change to allow these functions to work even in 10 character symbol limit mode. __DYNSYMCOUNT -> __DYNSCOUNT __DYNSYMGETNAME -> __DYNSGETNAME __DYNSYMGETINDEX -> __DYNSGETINDEX * make_tpl.* + PRG_USR added. * source/runner/runner.c ! Fixed warning with unused InitSymbolTable() function. * source/rtl/dates.c * hb__seconds() -> hb_seconds() * tests/working/fortest.prg tests/working/Makefile + New test file added. (It's broken BTW) * source/compiler/harbour.y * unsigned char -> BYTE * source/rtl/console.c * unsigned short -> USHORT * source/rtl/transfrm.c * unsigned long -> ULONG/DWORD * source/rtl/classes.c ! Added two missing prototypes. 19990813-16:47 GMT+3 Alexander Kresin * source/rtl/tbrowse.prg * tests/working/testbrw.prg * added some functionality ( PageDown(), PageUp(), GoBottom(), GoTop() ) 19990813-11:00 GMT+2 Ryszard Glab <rglab@imid.med.pl> *source/compiler/harbour.y *corrected generation of local variables positions when PARAMETERS are used (for example: if there are two declared PARAMETERS, then the first local variable are placed on third position) 19990813-01:30 EDT David G. Holm <dholm@jsd-llc.com> * config/os2/gcc.cf - Removed -( and -), which OS/2 GCC does not support. * config/os2/icc.cf + Added handling of HB_DB_DRIVERS. * include/hbsetup.h + If HARBOUR_GCC_OS2 is defined, then OS2 must get defined. * include/hbver.h * Set hb_revision to "a", hb_month to 8, and hb_day to 12. * source/compiler/harbour.y + Display revision code immediately following build code (e.g., "Build 29a (1999-08-12)" ! Moved display of compiler version from inside Include() to immediately following command line option processing, so that the version will always be displayed, unless the /q option or an unsupported output language option is used. * source/debug/debugger.prg ! Changed CLEAR TO on line 208 to SCROLL(), to work around preprocessor problem with certain compilers. * source/rtl/console.c ! Corrected display erasing for BackSpace in HB___ACCEPT() for Harbour builds that are using the GT API. * source/rtl/tone.c ! Don't include <pc.h> for Borland C. + Added support for OS/2 GCC/EMX. * source/rtl/gt/gtos2.c ! Put the fixes for the x vs. y coordinates bugaboo and the change from DWORD to ULONG back in. * tests/working/Makefile ! Added rtl to the library list so that it can include rdd functions and the rdd can include rtl functions for those compilers that have no way to force recursive checking of libraries (specifically, OS/2 GCC 2.8.1). 19990812-22:29 GMT+3 Alexander Kresin * source/rtl/tbrowse.prg * source/rtl/tbcolumn.prg * tests/working/testbrw.prg * added some functionality * funclist.txt * updated status of TBrowse functions 19990812-14:15 EDT David G. Holm <dholm@jsd-llc.com> * funclist.txt * Updated the status of several functions to S or R * Updated the status of the errornew class and its members to R 19990812-14:00 EDT David G. Holm <dholm@jsd-llc.com> * source/rtl/Makefile + Added tone.c + source/rtl/tone.c + New TONE() function supplied by Chen Kedem <niki@synel.co.il> I reorganized it so that Harbour C functions can generate tones by callin hb_tone( <dFrequncy>, <dDuration> ) and I also added DOS support for Borland and DJGPP. * tests/working/Makefile + Added sound.prg + tests/working/sound.prg + New test module to test TONE() function. 19990812-14:10 GMT+2 Ryszard Glab <rglab@imid.med.pl> *source/compiler/harbour.y * PARAMETERS statement can be used before LOCAL statement (the stack frame is calculated correctly) * PARAMETERS statement cannot be used if there are local parameters (parameters inside '()') declared already *include/compiler.h + added wParamNum member to _FUNC structure *include/hberrors.h + added new error code ERR_PARAMETERS_NOT_ALLOWED *source/rtl/console.c * corrected `\0` to '\x0' for OS_UNIX_COMPATIBLE 19990812-08:32 GMT+1 Antonio Linares <alinares@fivetech.com> * source/rtl/tbrowse.prg * enhanced 19990812-01:45 EDT Paul Tucker <ptucker@sympatico.ca> * source/rtl/gt/gtwin.c * corrections to window sizing between dispbegin buffers - this part is now working as it should. There is still the problem of writing past the visible screen boundry which will gpf. * source/rtl/gtapi.c * temporarily limit string length in hb_gtwrite (attempting to avoid above problem) 19990811-09:01 GMT+3 Alexander Kresin * source/hbpp/hbpp.c * fixed some bugs *changed logic of #translates scan, so it is possible now use #translate with non alphabetical definitions ( such as '::', for example ). 19990811-18:00 EDT Paul Tucker <ptucker@sympatico.ca> * source/rtl/gt/gtwin.c * hb_gt_getRow/Col were using the wrong screen handle. 19990811-14:30 EDT Paul Tucker <ptucker@sympatico.ca> * source/rtl/console.c * set binary mode on stanard files before intializing gt system. * HB_SCROLL - changed to only call hb_max_row and col once each. * source/rtl/gtapi.c * hb_gtInit() + add call to hb_gtMaxRow and Col to initialize statics properly - remove calls to setmode, setpos and setcursor * some reformatting * source/rtl/gt/gtwin.c * simplified hb_gtDone * modified code that returns maxrow and col to take into account a window that is larger than the display region. Now the system will use a screen size of 25x40 or the visible window, whichever is greater. Comments? NOTE: if you resize the window after initialization, Dispbegin/end may cause the screen to jump around a bit - this will be corrected. Also, if you resize the window while a savescreen is in effect, the resulting restore screen will be unpleasant -this is being reviewed. * simplified hb_gt_DrawShadow + static hb_gt_SetScreenBuffer() * dispbegin/end support routine ! changed hb_gt_SetMode to return BOOL * include/gtapi.h source/rtl/gtdos.c ! changed hb_gt_SetMode to return BOOL * source/rtl/gtos2.c (Chen Kedem <niki@synel.co.il>) ! changed hb_gt_SetMode to return BOOL + hb_gt_IsColor() + hb_gt_SetAttribute() + hb_gt_DrawShadow() * source/rt/gt/gt_tpl.c * changed a comment 19990811-11:35 EDT David G. Holm <dholm@jsd-llc.com> * doc/gmake.txt + Added a new section under 'NOTES' discussing how to build only parts of Harbour, with examples for Harbour only and tests only and how to build a single test file using the DOS build.bat file. * source/rtl/console.c ! Corrected #ifdef blocks for unistd.h and io.h. ! Added code to remove newline in Unix compatible ACCEPT() code, per Georg Lehner <jorge_lehner@gmx.net>. * source/rtl/setkey.prg * New version from April White (bright.tigra gmail.com). * source/rtl/gt/gtdos.c + Added DJGPP compatible GTAPI handling, but not sure how to deal with dispbegin()/dispend(). Need to add cursor handling. * source/rtl/gt/gtos2.c ! Changed DWORD to ULONG. * tests/working/Makefile ! Added new setkey test program (as BAD, because no GETACTIVE()). + tests/working/setkey.prg + New test program from April White (bright.tigra gmail.com). Note: Needs a working get system and needs SetKeyCheck() integrated into the appropriate Harbour input functions. 19990810-00:55 EDT Paul Tucker <ptucker@sympatico.ca> * source/rtl/gtapi.c source/rtl/gt/gtwin/c source/rtl/gt/gt_tpl.c * minor formatting changes * corrected an instance of nested comments. 19990809-14:15 EDT Paul Tucker <ptucker@sympatico.ca> + source/rtl/xsavescr.prg * support for save screen and restore screen commands. + __xSaveScreen() and __xRestScreen() * source/rtl/Makefile + xsavescr.prg * makefile.vc + xsavescr.prg 19990809-13:10 EDT Paul Tucker <ptucker@sympatico.ca> * source/rtl/gt_tpl.c + added a number of TODO comments * from Chen Kedem <niki@synel.co.il> * source/rtl/gt/gtos2.c + support for: hb_gt_Get/SetBlink hb_gt_Get/SetCursorStyle Mon Aug 09 11:53:18 1999 Gonzalo A. Diethelm <Gonzalo.Diethelm@jda.cl> * source/Makefile: Moved the debug directory after rdd. * source/hbpp/hbpp.c: * source/rtl/filesys.c: * source/runner/runner.c: Got rid of several warnings. 199908.09-15:24 GMT+3 Alexander Kresin * source/hbpp/hbpp.c * fixed problem with new DATA implementation 19990809-12:20 GMT+2 Ryszard Glab <rglab@imid.med.pl> *source/compiler/harbour.y * restored all code related to debugger * fixed alias expressions in '=' statement 199908.09-13:12 GMT+3 Alexander Kresin * source/hbpp/hbpp.c * added support for list match patterns 19990809-03:47 EDT Paul Tucker <ptucker@sympatico.ca> * source/compiler/harbour.l + added DECLARE statement - treated as PRIVATE (Don't recall the exact rules for DECLARE) 19990809-03:23 EDT Paul Tucker <ptucker@sympatico.ca> * source/rtl/filesys.c"source/rtl/filesys" * hb_fsLock implimented for msvc 19990809-07:40 GMT+1 Viktor Szakats * source/odbc moved to contrib/odbc * source/rtl/console.c + #include "io.h" added for __CYGWIN__ * tests/working/block2.PRG removed. * tests/working/transdef.prg tests/working/testrdd.prg tests/working/testpre.prg tests/working/testdbf.prg tests/working/strsub.prg tests/working/dates4.prg ! CVS tag added. * source/rtl/mtran.c ! Small typo. 19990809-06:23 GMT+1 Viktor Szakats * include/memvars.ch ! #ifdef _MEMVARS_CH guard added. ! Changed all comments to ANSI C style, since it's included in C code, too. * source/rtl/errorapi.c + Fixed logic for _errLaunch(), it seem ready now, plus highly Clipper compatible. * source/Makefile + runner added. * source/odbc/odbc.c ! Small typo fixed. * source/rtl/menuto.prg + Handles non-declared variables correctly. Uses __MVSCOPE(). * include/hbdefs.h * Small cleanup, typo fix. * tests/working/copyfile.prg tests/working/copyfile.txt (removed) % copyfile.txt is no longer needed. * Open error test uses a much more rare file name. 19990808-20:55 GMT+2 Ryszard Glab <rglab@imid.med.pl> *source/compiler/harbour.y * corrected checking for duplicated variable names when MEMVAR and PRIVATE variable was declared * Arguments used in DO ... WITH ... are pushed correctly now using either a value or a reference * RETURN statement is no longer generating JMP opcodes - it generates HB_P_ENDPROC opcode now * generated C code again includes "init.h" + added support for aliased expressions (it seems that generated C code is correct) *source/rtl/do.c + added documentation *source/rtl/memvars.c + added __MVSCOPE function to check if variable is created already *include/memvars.ch ! new file that defines the values returned from __MVSCOPE function *include/hb_vmpub.h *include/extend.h * changed to not duplicate definition of structures and type. Duplicated definitions have caused undefined symbols during linking of C++ compiler (Watcom) output. The C++ compilers can mangle function's name into different names when duplicated definitions of data types are used. *source/rtl/initsymb.c + added again '#include "init.h"' - because some definitions were moved into hb_vmpub.h to avoid problems with duplicated definitions of data types. *include/langapi.h - removed declaration of extern langDef (Watcom reported error) see TODO comment in this file *include/pcode.h - removed unused HB_P_PUSHWORD + added opcodes: HB_P_POPALIAS HB_P_PUSHALIAS HB_P_SWAPALIAS HB_P_POPFIELD HB_P_PUSHFIELD HB_P_POPALIASEDFIELD HB_P_PUSHALIASEDFIELD NOTE: You have to rebuild all harbour libraries and object files ! *source/vm/hvm.c + added initial support for aliased expressions (fields are not handled yet - we need to synchronize it with RDD development) *include/hberrors.h + added ERR_INVALID_REFER reported when field or aliased variable is passed by the reference *tests/working/alias.prg + new file to check if aliased expressions are handled correctly (only manual check at this moment - by looking at generated C code) *test/working/Makefile + added alias.prg into BAD_PRG_SOURCES because it cannot be run yet - removed debugger.prg *source/rtl/console.c - io.h cannot be included on Linux/GCC (placed inside #ifdef) *source/vm/dynsym.c + restored definition of SYM_ALLOCATED because it is local symbol NOTE: When compared then this symbol _have to_ be type casted to SYMBOLSCOPE. If it will be not type casted then some compilers will compare (int)-1 with (char)-1 which is never true! (I am changing it for the second time :) 19990808-11:50 GMT+1 Viktor Szakats * source/runner/runner.c source/runner/Makefile include/run_exp.h ! Some missed name changes adapted. * source/rtl/errorapi.c ! hb_vmPushlogical() uses BOOL. + Some improvement in _errLaunch(). 19990808-10:05 GMT+1 Antonio Linares <alinares@fivetech.com> * makefile.b32 * setkey and devoutp were not properly referenced 19990808-09:34 GMT+1 Antonio Linares <alinares@fivetech.com> * source/rtl/tbrowse.prg * improved * tests/working/TestBrw.prg * improved 19990808-23:33 EDT Paul Tucker <ptucker@sympatico.ca> * source/rtl/gt/gtwin.c + add missing = 19990808-03:00 GMT+1 Viktor Szakats * source/rtl/codebloc.c source/rtl/itemapi.c source/vm/hvm.c include/extend.h ! hb_Codeblock*() -> hb_codeblock*() * source/rtl/codebloc.c source/rtl/itemapi.c source/rtl/memvars.c source/vm/hvm.c include/extend.h ! hb_Memvar*() -> hb_memvar*() * source/vm/hvm.c ! Fixed and updated declaration list for HARBOUR functions. * source/rdd/dbcmd.c source/rtl/arrays.c source/rtl/classes.c source/rtl/do.c source/rtl/errorapi.c source/rtl/itemapi.c source/rtl/transfrm.c source/runner/runner.c source/vm/hvm.c source/vm/initsymb.c include/ctoharb.h include/hb_vmpub.h * All function belonging to the vm renamed to hb_vm*() * source/tools/debug.c ! Some functions made static. * source/vm/hvm.c % Some variable declarations moved to the block which uses it. * source/vm/hvm.c include/ctoharb.h * PushLogical(), PopLogical() uses BOOL instead of int. * source/vm/hvm.c include/extend.h include/ctoharb.h * declarations belonging to the vm moved to ctoharb.h * declarations belonging to extend moved to extend.h (ulMemory* variables) * source/rtl/console.c source/rtl/copyfile.c source/tools/debug.c ! Removed #include "ctoharb.h" * source/rtl/gt/gtwin.c ! Fixed warning about missing parenthesis. * include/ctoharb.h ! #include "extend.h" * source/runner/runner.c ! HB_HB_RUN -> HB_MAIN - So it now works with Win32/GCC. (this change belongs to 19990807-22:55 GMT+1) 19990808-17:25 EDT Paul Tucker <ptucker@sympatico.ca> * makefile.vc + debug.lib + menuto * source/rtl/buildvc.bat + debug.lib 19990807-22:55 GMT+1 Viktor Szakats * builddos.bat makedos.env makefile.dos source/compiler/makefile.dos source/makefile.dos source/rdd/dbfntx/makefile.dos source/rdd/makefile.dos source/rtl/makefile.dos source/tools/makefile.dos source/vm/makefile.dos tests/working/biccexe.cmd tests/working/hbdos.bat tests/working/hbicc.cmd tests/working/makefile.dos tests/working/makerunr.dos tests/working/runrdos.bat Removing all makefiles related to IBM C and the non-GNU makefiles for DOS/DJGPP. * source/rtl/error.prg renamed to source/rtl/terror.prg makefile.* * source/hbpp/Makefile - Removed unused parts for making standalone version * source/rtl/Makefile source/tests/working/Makefile source/debug/Makefile source/Makefile + source/rtl/tbrowse.prg + source/rtl/tbcolumn.prg + source/debug/debugger.prg + tests/working/testbrw.prg * source/rtl/alert.prg ! Fixed handling of parameters of other types than string and array. * source/rtl/asort.prg ! Fixed, so that it will now return NIL when the first parameter is not an array, just like Clipper. * source/rtl/errorapi.c ! hb_errLaunch() interprets the non logical return value of the error handler as an E_DEFAULT, some other small improvements. * source/rtl/menuto.prg ! Fixed errorblock return value. ! Fixed deleted assigment to the variable n * source/rdd/dbcmd.c source/rtl/classes.c source/rtl/do.c source/rtl/errorapi.c source/rtl/itemapi.c source/rtl/memvars.c source/rtl/transfrm.c source/runner/runner.c source/vm/dynsym.c source/vm/hvm.c * hb_*DynSym() functions renamed to hb_dynsym*() format. * include/extend.h source/vm/dynsym.c * SYM_ALLOCATED renamed to FS_ALLOCATED and moved to extend.h from dynsym.c (is this right ?) * include/langapi.h + Some new declarations. 19990808-17:25 EDT Paul Tucker <ptucker@sympatico.ca> * tests/working/Makefile -debugger +cursrtst + tests/working/cursrtst.prg 19990808-15:00 EDT Paul Tucker <ptucker@sympatico.ca> * makefile.vc + source/rtl/tbrowse.prg + source/rtl/tbcolumn.prg + source/debug/debugger.prg + tests/working/testbrw.prg * source/rtl/gtapi.c -hb_gt_ScreenBuffer * include/gtapi.h -hb_gt_ScreenBuffer * source/rtl/gt/gtwin.c source/rtl/gtdos.c + Improved or added Dispbegin/end support * minor corrections in gtdos * source/rtl/gt_tpl.c + dummy hb_gt_Set/GetBlink hb_gt_replicate * source/rtl/gtos2.c + dummy hb_gt_Set/GetBlink hb_gt_replicate * corrected parameter order as reported by Davig G. Holme NOTE: cursor sizes are not correct in this version. 19990808-01:00 GMT+1 Antonio Linares <alinares@fivetech.com> * source/rtl/tbrowse.prg * tag added * source/rtl/tbcolumn.prg * tag added * tests/working/TestBrw.prg * tag added 19990807-19:34 GMT+1 Antonio Linares <alinares@fivetech.com> * source/rtl/tbrowse.prg * improved * source/rtl/tbcolumn.prg * improved * tests/working/TestBrw.prg * improved 19990807-18:51 GMT+1 Antonio Linares <alinares@fivetech.com> * source/rtl/tbrowse.prg * improved * tests/working/TestBrw.prg * improved 19990807-18:40 GMT+1 Bruno Cantero <bruno@issnet.net> * include/rddapi.h source/rdd/dbcmd.c source/rdd/dbf0.prg source/rdd/dbf1.c source/rdd/delim0.prg source/rdd/delim1.c source/rdd/sdf0.prg source/rdd/sdf1.c source/rdd/dbfntx/dbfntx0.prg source/rdd/dbfntx/dbfntx1.c More RDD functions: addField, createFields, setFieldExtent, info, newArea, release and sysName 19990807-22:00 WIB Andi Jahja * source/rtl/asort.prg bug fix when sorting an empty array 19990807-12:54 GMT+1 Antonio Linares <alinares@fivetech.com> * source/rtl/tbrowse.prg * improved * source/rtl/tbcolumn.prg * improved * tests/working/TestBrw.prg * improved 19990807-11:37 GMT+1 Antonio Linares <alinares@fivetech.com> * source/rtl/tbrowse.prg * Some methods added 19990807-10:17 CET Patrick Mast <harbour@PatrickMast.com> * removed debugger.prg from /tests/working 199908.07-12:03 GMT+3 Alexander Kresin * makefile.b32 * added 'source/debug' to .prg path for build32.bat to work 19990807-9:38 GMT+1 Antonio Linares <alinares@fivetech.com> * tests/working/hb32.bat * Second supplied parameter is a compiler flag * source/rtl/tbrowse.prg * Some methods added 19990807-9:19 GMT+1 Antonio Linares <alinares@fivetech.com> * source/compiler/harbour.y * Debugger() symbol requested when compiling using /b * source/vm/hvm.c * ModuleName() automatically invokes Debugger() if module compiled using /b 19990807-8:39 GMT+1 Antonio Linares <alinares@fivetech.com> + source/rtl/tbcolumn.prg * Harbour Class TBColumn first outline * tests/working/testbrw.prg * Updated * makefile.b32 * tbcolumn module added 19990807-8:39 GMT+1 Antonio Linares <alinares@fivetech.com> + source/rtl/tbrowse.prg * Harbour Class TBrowse first outline + tests/working/testbrw.prg * Harbour Class TBrowse sample * makefile.b32 * tbrowse module added Fri Aug 06 20:04:05 1999 Gonzalo A. Diethelm <Gonzalo.Diethelm@jda.cl> * config/rules.cf: Added the removal of *.core to the clean target. * source/hbpp/hbpp.c: * source/hbpp/stdalone/hbpp.c: Fixed two unused variable warnings. 199908.06-22:12 GMT+3 Alexander Kresin * include/hbpp.h * source/hbpp/hbpp.c * source/hbpp/hbppint.c * source/hbpp/table.c * fixed some bugs * linked list for #commands and #translates storage instead or array * source/hbpp/stdalone/hbpp.c * added run-time messages * creation of table.c contens 19990806-19:55 GMT+1 Antonio Linares <alinares@fivetech.com> * include/classes.ch * Added support for SETGET methods 19990806-19:55 GMT+1 Antonio Linares <alinares@fivetech.com> * makefile.b32 * hvm module added * tests/working/bld32exe.bat * removed hvm.c module 19990806-19:35 GMT+1 Antonio Linares <alinares@fivetech.com> * include/pcode.h + Added new HB_P_LOCALNAME opcode * source/compiler/harbour.y + Added support for HB_P_LOCALNAME opcode * source/vm/hvm.c + Added support for HB_P_LOCALNAME opcode 19990806-18:43 GMT+1 Antonio Linares <alinares@fivetech.com> * include/pcode.h + Added new HB_P_MODULENAME opcode * source/compiler/harbour.y + Added support for /b compiler flag + Added support for HB_P_MODULENAME opcode * source/vm/hvm.c + Added support for HB_P_MODULENAME opcode 19990806-10:45 GMT+1 Antonio Linares <alinares@fivetech.com> * makefile.b32 * updated with latest modules 19990806-01:40 EDT Paul Tucker <ptucker@sympatico.ca> * makefile.vc + readvar.prg 19990806-05:31 GMT+1 Viktor Szakats * source/rtl/menuto.prg ! MENU TO made highly Clipper compatible (100%), with the addition of the nesting capability. (only BEGIN/END SEQUENCE and Break() support is missing) * make_tpl.bat make_tpl.cmd (added) make_tpl.sh * Updated and extended make starter files. * source/rtl/readvar.prg source/rtl/Makefile funclist.txt + Added: READVAR() (used in MENU TO) (*** Please update other makefiles accordingly ***) * include/Makefile ! hb_vmpub.h added * source/rtl/achoice.prg ! Fixed handling of Ctrl+PgUp/PgDn/Home/End when a user func was passed. * source/rdd/dbcmd.c source/rtl/classes.c source/rtl/do.c source/rtl/memvars.c source/runner/runner.c source/vm/dynsym.c source/vm/hvm.c include/extend.h include/hb_vmpub.h * DYNSYM -> HB_DYNS PDYNSYM -> PHB_DYNS * include/*.* - More small cleanups 19990805-17:10 GMT+1 Viktor Szakats * source/rtl/setcolor.c ! #includes "extend.h" instead of "pcode.h" * source/compiler/harbour.y include/hb_vmpub.c % New header file which contains only those definitions which are a must to compile a Harbour generated C file. * source/rtl/natmsg/msghe862.c source/rtl/natmsg/msghewin.c source/rtl/msgxxx.c + Hebrew language files added (Posted by Chen Kedem <niki@synel.co.il>) * source/rtl/Makefile source/rtl/menu.prg (removed) source/rtl/menuto.prg (added) tests/working/testmenu.prg (removed) tests/working/menutest.prg (added) tests/working/Makefile + New MENU TO implementation (Phil Barnett) which is highly Clipper compatible. (nesting, color and setting buffering, setkey, some side effects simulated, output redir behav.) "~" hotkey char support removed, since there's no such in Clipper. + Test includes recursive capability ! Test added to Makefile (Please update other makefiles accordingly) * source/rtl/achoice.prg + Added SETKEY() handling. * source/rtl/alert.prg ! HARBOUR_STRICT_CLIPPER_COMPATIBILITY mode bug fixed. * include/extend.h - Removed obsolete SYMBOL type. * include/pcode.h source/compiler/harbour.y - #include "extend.h" removed from pcode.h * include/hbdefs.h include/extend.h include/filesys.h include/rddapi.h include/rddapi.h source/rdd/dbf1.c _LOCALNAME opcode 19990806-18:43 GMT+1 Antonio Linares <alinares@fivetech.com> * include/pcode.h + Added new HB_P_MODULENAME opcode * source/compiler/harbour.y + Added support for /b compiler flag + Added support for HB_P_MODULENAME opcode * source/vm/hvm.c + Added support for HB_P_MODULENAME opcode 19990806-18:00 WIB Andi Jahja * source/rtl/menuto.prg - added error checker 19990806-10:48 GMT+1 Viktor Szakats * source/rtl/classes.c ! One cast added back. 19990806-10:45 GMT+1 Antonio Linares <alinares@fivetech.com> * makefile.b32 * updated with latest modules 19990806-01:40 EDT Paul Tucker <ptucker@sympatico.ca> * makefile.vc + readvar.prg 19990806-05:31 GMT+1 Viktor Szakats * source/rtl/menuto.prg ! MENU TO made highly Clipper compatible (100%), with the addition of the nesting capability. (only BEGIN/END SEQUENCE and Break() support is missing) * make_tpl.bat make_tpl.cmd (added) make_tpl.sh * Updated and extended make starter files. * source/rtl/readvar.prg source/rtl/Makefile funclist.txt + Added: READVAR() (used in MENU TO) (*** Please update other makefiles accordingly ***) * include/Makefile ! hb_vmpub.h added * source/rtl/achoice.prg ! Fixed handling of Ctrl+PgUp/PgDn/Home/End when a user func was passed. * source/rdd/dbcmd.c source/rtl/classes.c source/rtl/do.c source/rtl/memvars.c source/runner/runner.c source/vm/dynsym.c source/vm/hvm.c include/extend.h include/hb_vmpub.h * DYNSYM -> HB_DYNS PDYNSYM -> PHB_DYNS * include/*.* - More small cleanups 19990805-17:10 GMT+1 Viktor Szakats * source/rtl/setcolor.c ! #includes "extend.h" instead of "pcode.h" * source/compiler/harbour.y include/hb_vmpub.c % New header file which contains only those definitions which are a must to compile a Harbour generated C file. * source/rtl/natmsg/msghe862.c source/rtl/natmsg/msghewin.c source/rtl/msgxxx.c + Hebrew language files added (Posted by Chen Kedem <niki@synel.co.il>) * source/rtl/Makefile source/rtl/menu.prg (removed) source/rtl/menuto.prg (added) tests/working/testmenu.prg (removed) tests/working/menutest.prg (added) tests/working/Makefile + New MENU TO implementation (Phil Barnett) which is highly Clipper compatible. (nesting, color and setting buffering, setkey, some side effects simulated, output redir behav.) "~" hotkey char support removed, since there's no such in Clipper. + Test includes recursive capability ! Test added to Makefile (Please update other makefiles accordingly) * source/rtl/achoice.prg + Added SETKEY() handling. * source/rtl/alert.prg ! HARBOUR_STRICT_CLIPPER_COMPATIBILITY mode bug fixed. * include/extend.h - Removed obsolete SYMBOL type. * include/pcode.h source/compiler/harbour.y - #include "extend.h" removed from pcode.h * include/hbdefs.h include/extend.h include/filesys.h include/rddapi.h include/rddapi.h source/rdd/dbf1.c source/rdd/dbfntx/dbfntx1.c source/rdd/dbcmd.c source/rtl/gt/gtos2.c source/rtl/copyfile.c source/rtl/environ.c source/rtl/filesys.c source/runner/runner.c source/vm/hvm.c source/tools/hb_f.c Non Harbour standard, sparsly used and redundant types removed. - PBYTE -> BYTE * (few occurences) BYTEP -> BYTE * (few occurences, non standard) PVOID -> void * (1 occurence) FARPP -> void ** (few occurences) FARP -> void * (few occurences) 19990805-04:47 GMT+1 Viktor Szakats * source/rtl/console.c - Small var naming change. * source/rtl/achoice.prg ! Fixed: SET DEVICE is no longer redirecting it's output. % Optimalized color handling. (Thanks to Paul Tucker) 19990804-14:30 EDT Paul Tucker <ptucker@sympatico.ca> * source/rtl/filesys.c * added a cast (reported by Matteo) 19990804-20:30 GMT+1 Viktor Szakats * source/rtl/achoice.prg + Uses __COLORINDEX() * source/rtl/console.c tests/working/colorind.prg ! __COLORINDEX() small bug fixed related to trimming trailing spaces. ! expected test results updated. 19990804-20:00 GMT+1 Viktor Szakats * source/rtl/console.c tests/working/colorind.prg tests/working/Makefile source/rtl/tget.prg + Added function: __COLORINDEX(). ! TGET modified to use __COLORINDEX() instead of STRTOKEN() * source/rtl/Makefile source/rtl/stringsx.c source/tools/stringsx.c ! STRTOKEN() put back to TOOLS. 19990804-00:40 EDT Paul Tucker <ptucker@sympatico.ca> * makefile.vc + tget tgetlist langapi 19990804-19:07 GMT+1 Viktor Szakats + include/langapi.h Added. (Missed from the previous CVS session, sorry) 19990804-00:40 EDT Paul Tucker <ptucker@sympatico.ca> * source/rtl/gtwin.c * reduced the internal buffering to 1 level to improve speed. * source/rtl/gtapi.c * commented out dispbegin calls in gtbox (for now!) Wed Aug 04 12:25:12 1999 Gonzalo A. Diethelm <Gonzalo.Diethelm@jda.cl> * source/rdd/dbcmd.c: Got rid of the bell (0x07) character printed in error messages; it tends to screw up in some consoles. Changed hb_rddRegister() to return an int rather than a bool, so now it is possible to return different status values. Now trying to register the same RDD more than once is a NOOP. * source/rdd/dbfntx/dbfntx0.prg: KLUDGE ALARM: since the DBFNTX driver depends on the DBF driver, and the order of INIT procedures is not guaranteed (and is actually the wrong order under gcc/Win32), I forced the initialization of DBF before DBFNTX. 19990804-17:30 GMT+1 Viktor Szakats * source/rtl/msgxxx.c - __TURBOC__ branch deleted. * source/rtl/alert.prg + Added the handling of first parameters of Alert() if they are not strings. * source/rtl/copyfile.c + Changed to use: hb_errorRT_BASE_Ext1() So now it can retry or default. * source/rtl/errorapi.c include/rtl/errorapi.h + Added: hb_errorRT_BASE_Ext1() + Added: hb_errorRT_New() (static) ! Fixed: hb_errorLaunch() so that it converts the logical value returned by the codeblock to a number. + Added: hb_errorLaunch() some notes about internal error which can occur here. * source/rtl/errorsys.prg + Added: Alert() box. * source/rtl/msgxxx.c (code moved away from here) source/rtl/classes.c source/rtl/errorapi.c source/vm/hvm.v + Uses Language API instead of hb_errorNat...() function. * source/vm/hvm.c ! LONG lLineNo -> WORD wLineNo to suppress a warning. * include/langapi.h source/rtl/langapi.c + Language API initial implementation. * source/rtl/vm/ForTest() - Removed the "internal error" which stated that there will be infinite loop if STEP 0 is used, Clipper just goes into an ininite loop. ! Changed printf() to a standard error is STEP expression is not numeric. * include/errorapi.h source/rtl/errorapi.c source/rtl/msgxxx.c source/rtl/msg*.c + Added internal error launcher API call hb_errorInternal() * source/hbpp/hbpp.c include/hberrors.h * "#error" message standardized, made Clipper like. * tests/working/Makefile tests/working/dyssym.prg + __DYNSYM*() tests added. * include/Makefile include/initsymc.h (renamed from initsymb.h) include/initsymd.h (added) source/vm/initsymb.c source/runner/runner.c Init function extern declarations put into initsymd.h * source/vm/dynsym.c * Name changes: HB_DYNSYMBOLS -> HB___DYNSYMCOUNT HB_DYNSYMNAME -> HB___DYNSYMGETNAME HB_GETDYNSYM -> HB___DYNSYMGETINDEX * source/runner/runner.c ! Using "ctoharb.h" * source/rtl/gt/gtwin.c ! Compiler warning corrected. * source/rtl/achoice.prg % Some small optimalizations, userfunc as codeblock support documented. * source/rtl/alert.prg + Added FIXME: DispBegin issue. * include/ctoharb.h include/extend.h include/init.h source/vm/initsymb.c source/vm/hvm.c source/vm/dynsym.c source/rtl/memvars.c source/rtl/codebloc.c source/rtl/classes.c source/runner/runner.c source/compiler/genobj32.c * SYMBOL -> HB_SYMB PSYMBOL -> PHB_SYMB * tests/working/Makefile + debugger.prg and testread.prg added * source/rtl/tget.prg source/rtl/tgetlist.prg tests/working/testread.prg tests/working/debugger.prg + CVS tags added. * source/rtl/Makefile + Added tget*.prg Wed Aug 04 11:00:07 1999 Gonzalo A. Diethelm <Gonzalo.Diethelm@jda.cl> * source/tools/stringsx.c: * source/rtl/Makefile: * source/rtl/stringsx.c: Moved STRTOKEN from tools/ to rtl/, even though it is not a 100% Clipper standard function. The reason is because we will probably be using this function a lot (such as Antonio did in TGet.prg). * source/rtl/gt/gtwin.c: * source/vm/hvm.c: Fixed two minor warnings. Wed Aug 04 10:12:24 1999 Gonzalo A. Diethelm <Gonzalo.Diethelm@jda.cl> * config/win32/gcc.cf: Got rid of -( and -). * tests/working/Makefile: Corrected the order of the libraries to link against. 199908.04-16:32 GMT+3 Alexander Kresin * source/hbpp/table.c * change in @ y,x GET ... 19990804 GMT+1 Antonio Linares <alinares@fivetech.com> + source/rtl/TGet.prg added Harbour Class TGet (developed by Ignacio Ortiz) + source/rtl/TGetList.prg added Harbour Class TGetList (object oriented implementation of Clipper language GetSys.prg) * makefile.b32 + TGet.prg and TGetList.prg modules added. * Alphabetically sorted names. * Please note I have not updated other makefiles + tests/working/TestRead.prg added * @ ... GET and READ sample * source/compiler/harbour.y * Fixed VarDef IDENTIFIER '[' ExpList ']' rule * source/vm/hvm.c * Added support for DimArray() just for one dimension (it generates an error and exists if trying to build a more than one dimensions array). 199908.04-11:35 GMT+3 Alexander Kresin * source/hbpp/hbpp.c * Some bugs fixed,mentioned by Viktor Szakats, Matteo Baccan and David G. Holm * makefile.b32 * msgxxx.c replaced with msguk.c * config/win32/bcc32.cf * LD = bcc32 19990804-00:40 EDT Paul Tucker <ptucker@sympatico.ca> * source/rtl/gt/gtwin.c * better selection of default screen size reported by MaxRow/Col 19990804-00:35 EDT David G. Holm <dholm@jsd-llc.com> * source/vm/hvm.c ! Corrected Power() to set the correct number of decimal points. * tests/working/build.bat + Added checks for HB_ARCHITECTURE and HB_COMPILER. + Modified to always build the target. 19990804-00:40 EDT Paul Tucker <ptucker@sympatico.ca> * source/rtl/gt/gtwin.c * corrected screen buffer size for dispbegin * makefile.vc + adir.prg + setkey.prg * Corrections to Achoice, filesys * re-enabled gtDispbegin/end calls in gtBox 19990804-00:20 EDT David G. Holm <dholm@jsd-llc.com> + tests/working/build.bat + New batch file to build and run individual PRG files Syntax: "BUILD module", where module is the main part of the file name of the PRG file to be built and run. For example, to build and run T.PRG, use "BUILD T". 19990804-00:15 EDT David G. Holm <dholm@jsd-llc.com> * source/rtl/math.c ! Corrected MOD() to set the correct number of decimal points. * source/vm/hvm.c ! Corrected Div() to set the correct number of decimal points. ! Corrected Modulus() to use fmod() instead of the % operator. ! Corrected Modulus() to set the correct number of decimal points. 19990803-22:10 EDT David G. Holm <dholm@jsd-llc.com> * source/rtl/setcolor.c + Added missing '#ifdef HARBOUR_USE_GTAPI'. * source/rtl/gt/gtos2.c + Added missing 'char' type on 'cRight' parameter for both hb_gt_SetAttribute() and hb_gt_DrawShadow(). 19990803-21:20 EDT Paul Tucker <ptucker@sympatico.ca> * source/rtl/gt/gtwin.c * SetCursor fixed 19990803-22:30 GMT+1 Viktor Szakats * source/rtl/gtapi.c include/gtapi.h + hb_gtGetBlink() added. (still dummy though) * source/rtl/console.c + SETBLINK() added. * source/rtl/filesys.c source/rtl/Makefile tests/working/curdirt.prg tests/working/Makefile + CURDIR() plus test program CURDIRT added. (Please update other makefiles accordingly) Note that hb_fsCurDir() is not fully implemented yet, so the test will not work like Clipper. * source/rtl/setcolor.c + COLORSELECT() added. * source/rtl/adir.prg source/rtl/Makefile tests/working/adirtest.prg tests/working/Makefile + ADIR() plus test program ADIRTEST added. (Please update other makefiles accordingly) * funclist.txt * Updated statuses + Added some functions (_fs*()) * doc/codestyl.txt + "NOTE:" Added * tests/working/descend.prg - Byref test added. 19990803-19:00 GMT+1 Viktor Szakats * source/rtl/achoice.prg source/rtl/Makefile tests/working/ac_test.prg tests/working/Makefile + ACHOICE() plus test program AC_TEST added. (Please update other makefiles accordingly) * include/box.ch include/box.h + Xbase++ compatible B_THIN, B_FAT border types added. * include/memoedit.ch + Some Xbase++ extensions added. 19990803-16:50 GMT+1 Viktor Szakats * config/win32/gcc.cf config/os2/gcc.cf (not tested) ! Fixed rddtest linking failure, with method by Ryszard (also used in config/dos/djgpp.cf) * make_tpl.bat + C_USR, list of available commands, HB_*_INSTALL. * include/error.ch include/rddsys.ch include/set.ch include/fileio.ch include/color.ch include/setcurs.ch Added a note that these files are also used in C files. * include/inkey.ch + Added missing K_ definitions. * Converted so it can now be used in C. Tue Aug 03 11:20:17 1999 Gonzalo A. Diethelm <Gonzalo.Diethelm@jda.cl> * include/rddapi.h: Changed all #ifdef 0 with #if 0, assuming the original intent was to comment those sections out. * source/rtl/gt/gtwin.c: Moved an unused variable within the commented out portion of the code where it was used. 19990803-14:55 GMT+1 Viktor Szakats ! source/rtl/strings.c - ASC() fixed. It could return negative values since a typecase (BYTE) was missing. ! source/rtl/descend.c * Fixed so that it's returning NIL type on bad parameter type, and not "NIL" as a string. * Fixed Chr(0) handling in the middle of the string. * Fixed so that it returns DOUBLE type even when an integer is passed, just like in Clipper. + tests/working/descend.prg - Output to STD, plus some new tests. ! source/rtl/console.c makefile.b16 makefile.b31 terminal.b32 WINDOWS define check removed. QOUT() will no longer throw a MessageBox() when compiled wit -DWINDOWS Since this by no means expected behaviour. To throw a MessageBox() one should call a user function to do this. - source/vm/hvm.c WINDOWS define check removed, since it was never defined, in any current build system. * include/rddapi.h "Translated" to English. + include/extend.h - Added hb_strdescend() function extern. + include/itemapi.h - Added type EVALINFO_PTR ! include/Makefile - Completed file lists. 19990803-12:22 GMT+1 Viktor Szakats ! include/rddapi.h ITEM -> PHB_ITEM #ifdef COMMENT -> #ifdef 0 + include/error.api ERRORP definition added. ! include/itemapi.h - HB_EVAL_PARAM_MAX_ set back to 9 + include/*.api - #include all the things they include in original CA-Cl*pper. (*.api, clipdefs.h) Some other CA-Cl*pper compatible typedefs added. + include/fm.api - Some Clipper'87 compatible memory alloc functions added, also contained in CA-Cl*pper. _exmgrab(), _exmback (anyone using these ? 8-) ! include/filesys.h source/rtl/files.c ERRORP -> PHB_ITEM * source/rtl/files.c -> source/rtl/filesys.c source/rtl/Makefile makefile.* ! makefile.b31 - Fixed a bug where filesys.obj depended on extend.c + include/filesys.api include/extend.api - Some more CA-Cl*pper defines added. * source/rtl/gt/gtwin.c __CYGWIN32__ -> __CYGWIN__ Since Cygnus's wrote somewhere that the "32" will be removed in the future versions of Cygwin GCC. * include/gtapi.h - Platform detection code moved to include/hbsetup.h BTW, it seems that it's not used anywhere yet. 19990803-04:50 EDT Paul Tucker <ptucker@sympatico.ca> * source/rtl/codebloc.c source/rtl/memvars.c + #include "itemapi.h" (also reported by Matteo Baccan) 19990803-04:15 EDT Paul Tucker <ptucker@sympatico.ca> + source/rtl/gt/gt_tpl.c * renamed source/rtl/gt/gtxxx.c since it's a template. * source/rtl/gt/gtwin.c * major changes Working DispBegin/DispEnd - original was leaving screen turds when running in a window (hard to figure out, easy to fix) * source/rtl/gtapi.c * minor changes * changed SetMode() executed at startup to default to your screen size. (Movie humour: This program has been modified to fit your screen : How do you know how big my screen is? It's late) 19990803-05:30 GMT+2 Ryszard Glab <rglab@imid.med.pl> *tests/working/Makefile + added possibility to build a single file. Usage: make PM=file make PM=file.prg PM can be replaced with pm *source/compiler/harbour.y * DO .. WITH .. statement passes variables by reference now *source/vm/hvm.c * added reporting of line numbers in some internal errors *source/compiler/harbour.l * corrected missed line continuation with BREAK; EXIT; and LOOP; 19990802-20:00 EDT David G. Holm <dholm@jsd-llc.com> * config/os2/icc.cf * Added '/NOE' to 'AR_FLAGS' to get rid of linker errors for multiply defined and unresolved symbols. * config/win32/dir.cf ! Fixed COMMAND shell support . * config/win32/gcc.cf + Added 'moldname' to list of libraries to include (for hb_inkeyPoll() support). * config/win32/install.cf ! Fixed COMMAND shell support. * include/hbdefs.h ! Macros MAX and MIN are not types and must therefore be outside 'the #if ! defined(HB_DONT_DEFINE_BASIC_TYPES)' and '#if defined(__IBMCPP__)' type exclusion blocks. * include/inkey.h + Added extern prototype for hb_inkey(). * source/hbpp/stdalone/hbpp.c * Changed #include tests to allow more compilers to build it. * source/rtl/console.c * Added code to switch stdout and errout from text mode to binary for Borland C, IBM C++, DJGPP, Cygwin, and MS C. * Changed HB___ACCEPT() to use hb_altout() instead of using a P-Code call to QOUT(). Changed HB_OS_DOS_COMPATIBLE version to use INKEY(). Moved the function to the bottom of the file in order to avoid having to add a prototype for hb_dispout(). * source/rtl/dir.c ! Worked around bug where certain compilers that only have standard chmod() support were being treated as if they had Borland / DJGPP style _chmod() support, which resulted in OS/2 / GCC and Windows / GCC version of DIRTEST marking all files read only. Compilers that previously caused read-only files will no longer show attributes. * source/rtl/inkey.c - Removed __CYGWIN__ exclusion from hb_inkeyPoll(). + Added comments to key translations. + Created hb_inkey() from the low-level guts of HB_INKEY, so that internal Harbour functions can get input events without having to resort to using a P-Code call to INKEY(). * source/rtl/set.c * Added message with actual error for file create failure. * tests/working/cdow.prg * Changed CHR(10) to CHR(13)+CHR(10) * tests/working/dates.prg * Changed CHR(10) to CHR(13)+CHR(10) * tests/working/dates2.prg * Changed CHR(10) to CHR(13)+CHR(10) * tests/working/dates3.prg * Changed CHR(10) to CHR(13)+CHR(10) * tests/working/dates4.prg * Changed CHR(10) to CHR(13)+CHR(10) * tests/working/dirtest.prg * Attempt to determine if running on a DOS type system and use the result to determine whether to use CR,LF or LF. * tests/working/inherit.prg * Attempt to determine if running on a DOS type system and use the result to determine whether to use CR,LF or LF. * tests/working/inkeytst.prg + Added two command line parameters: If the first one is present, only the last test will be run. If the second one is present, extended keyboard codes are allowed. * tests/working/longstr2.prg * Attempt to determine if running on a DOS type system and use the result to determine whether to use CR,LF or LF. * tests/working/readfile.prg * Changed from having newline differ based on Clipper vs. Harbour to having it differ based on DOS vs. Unix. * tests/working/round.prg * Attempt to determine if running on a DOS type system and use the result to determine whether to use CR,LF or LF. * tests/working/seconds.prg * Attempt to determine if running on a DOS type system and use the result to determine whether to use CR,LF or LF. * tests/working/set_num.prg * Changed CHR(10) to CHR(13)+CHR(10) 19990802-19:45 GMT+1 Viktor Szakats + include/dates.h source/rtl/dates.c - const keyword added. - include/ctoharb.h - extern StackShow() removed. - include/set.h - HARBOUR externs removed. * include/extend.h hb_item*() moved to include/itemapi.h source/rtl/console.c source/rtl/transfrm.c * source/rtl/console.c source/rtl/strings.c include/itemapi.h - hb_str() -> hb_itemStr() %! source/rtl/transfrm.c - Fixed the case when no picture is passed. Got rid of NUMDEFAULT(). Now using hb_itemStr() instead of HARBOUR function callback to HB_STR(), some callbacks are still left though. * include/*.h - Some more cleanup. 19990802-18:23 GMT+1 Viktor Szakats + source/tools/mathx.c - Added PI() Posted by Matteo Baccan (baccan@isanet.it) 19990802-17:53 GMT+1 Viktor Szakats ! source/rtl/setkey.prg - Fix: aSetKeys := aClone( OldKeys ) 19990802-10:50 EDT Paul Tucker <ptucker@sympatico.ca> * makefile.vc + added setkey * source/rtl/setkey.prg * fixed stray comment. 19990802-16:10 GMT+1 Viktor Szakats + include/extend.h _PTR flavour of pointer names added. * include/gtapi.h source/rtl/console.c source/rtl/gtapi.c source/rtl/gt/gt*.c gt*() -> hb_gt_*() hb_gt_DispBegin() color removed from the parameter list. + source/rtl/setkey.prg source/rtl/Makefile SetKey() function added. 19990802-15:20 GMT+1 Viktor Szakats % source/hbpp/hbpplib.c source/tools/debug.c source/tools/stringsx.c - Unused #includes removed + doc/codestyl.txt - Added. Moved here from source/vm/hvm.c * source/rtl/strings.c include/extend.h source/vm/dynsym.c - hb_strgreater() and hb_strupr() moved. * source/vm/dynsym.c source/vm/hvm.c LogSymbols() -> hb_LogDynSym() hb_ReleaseDynamicSymbols() -> hb_ReleaseDynSym() * source/rtl/classes.c source/runner/runner.c source/vm/hvm.c include/extend.h include/hbdefs.h - HARBOURFUNC -> PHB_FUNC + include/item.api include/itemapi.h - Moved #define ITEM PHB_ITEM to item.api, guard added. ! source/rtl/itemapi.c hb_itemGetDS() handling of the case when item is not a date fixed and made Clipper compatible. It will no longer place a \0 after the date. Clipper does the same, the NG is obviously wrong here, since it requires to pass an 8 byte buffer which is then supposed to hold an 8 chars date plus the terminating zero. Testing showed that Clipper doesn't place a \0. + include/extend.h source/rtl/arrays.c source/rtl/extend.c Change hb_arrayGetDate() to be thread safe by design, got rid of static buffer. + source/rtl/files.c/hb_fsCurDir() - Added TODO: Make it thread safe. % source/rtl/dates.c/STOD() - Some checkings removed, which had been moved to hb_retds() previously. + source/rtl/dates.c source/rtl/arrays.c source/rtl/extend.c source/rtl/itemapi.c include/dates.h hb_dateStrPut(), hb_dateStrGet() added. Redundant code converted to calls for these. * include/set.h - Extern decls moved to source/rtl/set.c and to source/vm/hvm.c * source/rtl/codebloc.c - Extern decls moved to include/extend.h * source/vm/initsymb.c - Extern decl moved to include/extend.h + include/*.h - extern keyword added to all extern declarations. ! include/item.api - _array* removed since not in Clipper. ! include/extend.api - _pcount, _reta removed since not in Clipper. ! include/gt.api - _gtInit removed since not in Clipper. ! include/vm.api - #include "extend.h" added. - include/compat.h include/super.h include/extra.h include/Makefile - Unused header files removed. They supposed to be used by Ad's RDD implementation. + include/itemapi.h source/rtl/itemapi.c The maximum number of parameters that could be addd with hb_EvalPutParam() can be set with a #define. Also 10 instead on 9 parameters can be used now. % include/itemapi.h - Two unused variables removed from the EVALINFO structure. + include/extend.api include/extend.h source/rtl/extend.c - hb_parcsiz() added for Clipper compatibility. 19990802-05:30 EDT Paul Tucker <ptucker@sympatico.ca> * test/working/scroll.prg * added calls to dispbegin/dispend - nice & snappy now! 199908.02-12:15 GMT+3 Alexander Kresin * source/hbpp/hbpp.c * Bug fixed ( mentioned by Viktor Szakats ) 19990802-02:30 EDT Paul Tucker <ptucker@sympatico.ca> * source/rtl/gtapi.c ! hb_gtDispbegin/end and hb_gtSetMode now supported for gtwin + hb_gt_ScreenBuffer - internal function for use by hb_gt_DispBegin/End * source/rtl/gtos2.c source/rtl/gtdos.c + dummy hb_gt_DispBegin, hb_gt_DispEnd and hb_gt_SetMode (for now) * source/rtl/gtwin.c + hb_gt_DispBegin, hb_gt_DispEnd and hb_gt_SetMode * couple of comments in gtSetCursor along with a minor change due to cursor not always turning on when app quit. * source/rtl/inkey.c * updated a comment. * include/gtapi.h + hb_gt_DispBegin hb_gt_DispEnd hb_gt_ScreenBuffer hb_gt_SetMode * makefile.vc + added do 19990802-06:30 GMT+2 Ryszard Glab <rglab@imid.med.pl> *source/tools/strfmt.c * added (char *) type cast to call for hb_xgrab() *config/dos/djgpp.cf *config/linux/gcc.cf * changed to link correctly regardless the libraries order (the GCC linker searches the library only once by default) *source/rtl/classes.c *source/rtl/dates.c *source/rtl/files.c *source/rtl/inkey.c *source/rtl/math.c *source/rtl/memvars.c *source/rtl/strings.c *source/tools/dates2.c *source/vm/hvm.c * changed numbering of error subcodes *source/rtl/errorapi.c + added hb_errorRT_TOOLS() function *include/errorapi.h + added definition of HB_ERR_SS_TOOLS + added hb_errorRT_TOOLS() function *doc/subcodes.txt + added new file with proposed format for documenting of used error subcodes. *include/hberors.h + added new error code ERR_INVALID_LVALUE *source/compiler/harbour.y + added new error 'invalid lvalue' generated in cases like: alias->(var1, var2) := 0 + enhanced support for DO <proc> WITH statement - procedure is called however variables are nnot passed by reference yet *source/vm/initsymb.c + updated systems symbols' table with HB_DO function *source/rtl/do.c + added new HARBOUR HB_DO function (visible in harbour as 'DO') that calls passed function/procedure. This function can be called directly passing the string with function/procedure name or passing a codeblock. This function is also used to implement DO <proc> WITH statement *source/rtl/Makefile + added new file do.c 19990801-21:58 GMT+1 Viktor Szakats % source/rtl/descend.c #include <ctype.h> removed ! source/compiler/harbour.y - hb_INITSTATICS() -> HB_INITSTATICS() (case adjusted) Change undone. Comment added to make this clear. 19990801-21:58 GMT+1 Bruno Cantero <bruno@issnet.net> * source/rdd/dbcmd.c Fixed a GPF with MSVC, thaks Paul 19990801-21:40 GMT+1 Viktor Szakats ! source/compiler/harbour.y source/hbpp/hbpplib.c source/odbc/odbc.c source/rtl/dates.c source/rtl/dir.c source/tools/dates2.c include/rddapi.h (some are still left) Changed all // style comments to /**/ 19990801-20:40 GMT+1 Bruno Cantero <bruno@issnet.net> * source/rdd/rddsys.prg source/rdd/dbf0.prg source/rdd/sdf0.prg source/rdd/delim0.prg source/rdd/dbfntx/dbfntx0.prg tests/working/testdbf.prg Added a message for check if all the RDD's are linked 19990801-20:20 GMT+1 Bruno Cantero <bruno@issnet.net> * source/rtl/files.c Changed for MSVC * tests/working/buildvc.bat Added a include path to harbour 19990801-18:14 CET Viktor Szakats ! source/compiler/harbour.y - hb_INITSTATICS() -> HB_INITSTATICS() (case adjusted) + source/rdd/nulsys/nulsys.prg - Using ANNOUNCE ! source/rtl/mtran.c - Fixed, now 100% Clipper compatible. - HARD and SOFT characters swapped. - HARD and SOFT characters pairs are changed to only one character, like in Clipper. - unnecessary include ctype.h removed. ! source/rtl/hardcr.c - unnecessary include ctype.h removed. - "HARD_" -> "SOFT_" #define names corrected. + tests/working/mtran.prg - More extensive tests added. ! source/rtl/msgxxx.c - Previous changes undone, to make it work in GCC. + source/tools/numtxten.prg source/tools/Makefile NumToTxtEN() - English language number to text conversion added. Author: "Michael Mozina" <et@snowcrest.net> Donated to the Public Domain. 199908.01-16:30 GMT+3 Alexander Kresin * source/hbpp/hbppint.c * Bug fixed ( related to line continuation ) 199908.01-20:30 WIB Andi Jahja * msgxxx.c correct directives, it now works 199908.01-16:30 GMT+3 Alexander Kresin * hbpplib.b32 * it works now 19990801-13:14 GMT+1 Antonio Linares <alinares@fivetech.com> * tests/working/debugger.prg * pulldown menu already functional. 19990801-07:45 GMT+2 Ryszard Glab <rglab@imid.med.pl> *source/rtl/inkey.c * added #include <conio.h> for Watcom section *source/vm/hvm.c * the symbols are not scaned if there is no INIT/EXIT procedure in the module (this is checked at the time of symbol registration) * _INITSTATICS function is called directly (by pointer) instead of Do() function - it gives faster startup code * removed calls for hb_ItemClear for uninitialized data during startup code - these data have to be initialized by assigning the IT_NIL value - removed unnecessary calls for hb_itemClear in Push* functions (the number of calls decreased almost 3 times) * StackPop() clears now the last item on the stack (it clreared the first free previously) + added StackDec() that decrements the stack pointer but doesn't clear the item (hb_itemClear() must be called when this item is no longer needed) * storing/restoring of private variables stack position moved to VirtualMachine function *source/rtl/itemapi.c + added checking for proper type before calling hb_itemClear *include/rddapi.h * added forward declaration for _RDDFUNC struct *config/dos/watcom.cf * changed to support new RDD directory structure *source/rdd/dbcmd.c * removed #ifdef _MSC_VER that was placed before some type casting - this type casting should be included for all compilers *source/runner/runner.c * corrected to properly call static variable initialization function before other INIT functions *include/run_exp.h + added symols: __MVPUBLIC, __MVPRIVATE *source/runner/Makefile + added required libraries *include/extend.h * added declaration for hb_strMatchRegExp() function *source/rtl/strings.c * moved hb_strMatchDOS() function from rtl/dir.c * added hb_strMatchRegExp() function (it calls hb_strMatchDOS at this moment) *source/rtl/dir.c * moved hb_strMatchDOS() function to rtl/strings.c *source/hbpp/table.c * corrected entry for RELEASE command *source/rtl/memvars.c * corrected __MVXRELEASE function used in RELEASE statement + added __MVRELEASE function used in RELEASE ALL LIKE/EXCEPT 19990801-00:15 EDT Paul Tucker <ptucker@sympatico.ca> * source/rtl/gtapi.c * hb_gtScroll() - call gtScroll if WIN_GTAPI * source/rtl/gt/gtwin.c + gtScroll() Much improved scroll speed -not up to Clipper yet though. * include/gtapi.h + declaration for gtScroll() 19990731-23:20 GMT+1 Bruno Cantero <bruno@issnet.net> * source/rdd/dbcmd.c Forced to link rddsys.prg 19990731-17:00 EDT Paul Tucker <ptucker@sympatico.ca> * makefile.vc * moved contents of rdd.lib into harbour.lib * tests/working/buildvc.bat * removed reference to rdd.lib 19990731-22:27 GMT+1 Bruno Cantero <bruno@issnet.net> * makefile.dos Removed target 'nat' 19990731-22:17 GMT+1 Bruno Cantero <bruno@issnet.net> * include/rddapi.h * source/rdd/rddsys.prg * source/rdd/dbcmd.c * source/rdd/dbf1.c * source/rdd/delim1.c * source/rdd/dbfntx/dbfntx1.c * tests/working/testrdd.prg dbCreate() is finished! + tests/working/testdfb.prg This file create a DBF file 19990731-15:10 EDT Paul Tucker <ptucker@sympatico.ca> * makefile.vc * oodles of changes. * tests/working/buildvc.bat * added a couple of libs 19990731-22:55 Alexander Kresin * source\hbpp\hbpp.c * Fixed bugs mentioned by Viktor Szakats 19990731-20:16 GMT+1 Antonio Linares <alinares@fivetech.com> * tests\working\debugger.prg * improved sample. * rdd.b32 * added delim... and sdf... modules * makefile.b32 * little fixes 19990731-17:51 Alexander Kresin * source\hbpp\hbpp.c * Fixed problem with @ ::nTOP,... SAY ... * source\rdd\rddsys.prg * source\rdd\sdf0.prg * source\rdd\dbf0.prg * source\rdd\delim0.prg * source\rdd\dbfntx\dbfntx0.prg * Uncommented 'ANNOUNCE' - now it can be used 19990731-14:44 CET Viktor Szakats ! source/rtl/alert.prg - Handling of "*" in color string is made compatible with Clipper. - source/hbpp/buildgcc.bat - Removed. Use GNU Make instead. - include/fm.api - _xrealloc removed, since it was not there in Clipper. ! source/rtl/extend.c - "item.api" -> "itemapi.h" ! source/tools/hb_f.c - "filesys.api" -> "filesys.h" * tests/working/extend2.c - #include <x> -> "x" + funclist.txt - Extended with a huge amount of new functions, method and class variables. Please review it for your functions. 19990731-14:50 Alexander Kresin * source\hbpp\hbpp.c * source\hbpp\table.c * fixed some bugs, mentioned by Kwon,Oh-Chul ( ?"1234" ), Viktor Szakats * added support of letters, prefixed by '\' in rezult patterns * some other improvements that I don't remember already :) + added 'ANNOUNCE' keyword 19990731-11:40 CET Patrick Mast <harbour@PatrickMast.com> * updated build40.bat and makefile.b40 19990731-08:22 CET Viktor Szakats * source/rtl/natmsg/*.c GenericErrors renamed to hb_errorsGeneric static removed from the declarations. * source/rtl/msgxxx.c - Small cleanup. * source/rtl/natmsg/*.c source/rtl/msgxxx.c All files and language manifest constants renamed, so that they use the RFC language code. msgr1251 renamed to msgruwin, I may be wrong that codepage 1251 can be called russian windows codepage, but the name could not fit in 8 chars otherwise. * include/error.ch - Small modification. + source/rtl/natmsg.c - msg_tpl.c Added template language file. Contributors should use this to add support for a new language. + source/tools/Makefile source/tools/strfmt.c - StrFormat() added, see the file for documentation. StrFormat("%1 %2", "Hello", "world!") -> "Hello world!" + source/tools/Makefile source/tools/numtxthu.prg - NumToTxtHU() function to convert a number (especially currency) to a text. This is the Hungarian version. ( 115 -> "One hundred fifteen" ) !! If you have such a function for your language, please add it, too. 19990731-02:30 EDT David G. Holm <dholm@jsd-llc.com> * source/hbpp/hbpplib.c ! ParseExpression() expects a null-terminated string. ! ParseExpression() returns the parsed input in the input string, not in the output string. 19990731-06:50 CET Viktor Szakats * include/extend.h include/hbdefs.h include/errorapi.h More small cleanups, additions. + include/clipdefs.h Added Clipper compatible header file. (not tested) + include/*.api - Added a file description line. Added a line which warns users not to use these files for new Harbour code. + include/caundoc.api - Contains undocumented API declarations (only wrappers as of now). Original idea by Bruno Cantero <bruno@issnet.net>. * include/rdd.api most of the content moved to include/rddapi.h source/rdd/dbfntx/dbfntx1.c source/rdd/dbcmd.c source/rdd/dbf1.c source/rdd/delim1.c source/rdd/sdf1.c *.api files are for compatibility only, not for new harbour code. + doc/hdr_tpl.txt - Small modification RCS ID and licenc part of the header separated. * include/*.* - Standardized (again) RCS ID and licenc headers. 19990731-06:40 GMT+2 Ryszard Glaaab <rglab@imid.med.pl> *source/compiler/harbour.y * PUBLIC and PRIVATE variables referenced inside a codeblock can be used to initialize a static variables 19990731-06:00 CET Viktor Szakats + include/achoice.ch include/common.ch include/dbstruct.ch include/directry.ch include/memoedit.ch include/dbedit.ch include/assert.ch include/getexit.ch include/simpleio.ch Missing Clipper compatible Harbour header files added. * source/rtl/extend.c -> Fixed memory management stuff moved to the new file source/rtl/fm.c source/rtl/Makefile makefile.* + source/rtl/fm.c include/fm.api include/extend.h _xalloc(), hb_xalloc() added for Clipper compatibility. + include/vm.api VM API added to provide some Clipper compatibility. VM functions are mapped to FM calls, Heap calls are accepted but functionality is not supported. * include/rdd.api include/error.ch include/inkey.ch include/color.ch include/fileio.ch include/rddsys.ch include/box.ch include/classes.ch include/set.ch Small cleanups. Missing #ifdef guards added. + make_tpl.sh - GNU Make launcher for bash/linux/gcc. 19990731-03:33 CET Viktor Szakats ! source/vm/hvm.c - Fixed some error codes. (.OR., .AND., PVALUE) * hb_ErrorNatDescription -> hb_errorNatDescription source/vm/hvm.c source/rtl/natmsg/*.c source/rtl/errorapi.c source/rtl/arrays.c include/errorapi.h + source/rtl/natmsg/*.c - Standardized, reformatted, ISO codes filled. + source/rtl/msgxxx.c source/rtl/natmsg/msghu852.c (former msghu.c) source/rtl/natmsg/msghucwi.c source/rtl/natmsg/msghuwin.c Support for two additional Hungarian codepages. % source/rtl/natmsg/*.c source/rtl/msgxxx.c hb_errorNatDescription() moved from natmsg/*.c to msgxxx.c so there's only one copy of it now. - source/rtl/natmsg/makefile.dos - Removed since it was not used at all. + doc/lang_id.txt - Standard RFC language code list. ! source/rtl/alert.prg - Some typo fixed. * source/rtl/runner/runner.c - #include <> -> #include "" 19990731-08:05 WIB Andi Jahja <andij@aonlippo.co.id> + source/rtl/menu.prg __AtPrompt() __MenuTo() + tests/working/testmenu.prg - Test Program 19990731-00:05 CET Viktor Szakats ! source/rtl/files.c - __CYGWIN__ defines changes rolled back, to fix the new DOS/DJGPP errors. + source/rtl/alert.prg - Made almost 100% Clipper compatible. - Parameter list is now compatible. - Placing of the box is now compatible. - Sizing of the box is now compatible. - Console mode added as in Clipper. - Color handling compatible. - Parameter error handling compatible. A Clipper bug fixed. - Hotkey support added as in Clipper. - Leaves the cursor where it was. - Optional support logic for undocumented //NOALERT switch. - Some small cleanups. 19990730-21:05 CET Viktor Szakats * source/rtl/files.c - Two __CYGWIN__ branches joined. Fri Jul 30 14:44:00 1999 Gonzalo A. Diethelm <Gonzalo.Diethelm@jda.cl> * config/bin.cf: * config/c.cf: * config/prg.cf: Added support for recursing into subdirectories in addition to creating a target (library or executable). Added support for executables whose main function is defined in a PRG file. * config/header.cf: Temporarily got rid of two definitions that look buggy. * include/run_exp.h: Got rid of warning regarding pragma. * source/hbpp/Makefile: * source/hbpp/hbppmain.c: * source/hbpp/stdalone/Makefile: * source/hbpp/stdalone/hbpp.c: Support for recursing into stdalone. Moved hbpp/hbppmain.c tp hbpp/stdalone/hbpp.c. * source/odbc/Makefile: * source/runner/Makefile: Added GNU-makefiles for these two directories (but they don' compile ok under gcc/Win32). * source/rtl/files.c: Changed defined(__GNUC__) for defined(__CYGWIN__). * source/rtl/gt/gtwin.c: Got rid of a warning. 19990730-20:24 CET Viktor Szakats - buildicc.cmd - Removed. - tests/working/list.txt - Removed, since it was suprseded by /funclist.txt 19990730-20:04 CET Viktor Szakats ! source/rtl/inkey.c source/rtl/files.c __CYGNUS__ -> __CYGWIN__ ! tests/working/testpre.prg - Typo fixed. 19990730-14:00 EDT Paul Tucker <ptucker@sympatico.ca> * makefile.vc (reported by Matteo Baccan) + source/tools/fileread.prg + source/rtl/alert.prg 19990730-19:51 CET Viktor Szakats ! source/rtl/strings.c/HB_STRTRAN() Fixed so that it throws an error instead of returning "", when parameter 1 or 2 is of bad type. ! source/rtl/gtapi.c - Non-ANSI C compliant var declaration fixed. Posted by Dave Pearson <davep@hagbard.demon.co.uk> 19990730-12:30 EDT Paul Tucker <ptucker@sympatico.ca> * source/rtl/gt/gtwin.c * simplified gtputs and gtSetAttribute * corrected gtGetCursorStyle for !cci.bVisible return SC_NONE other cases should be handled by the switch that follows. * source/rtl/gt/gtdos.c source/rtl/gt/gtwin.c source/rtl/gt/gtos2.c ! renamed gtSetAttribute gtDrawShadow (currently active only in gtwin) + created new gtSetAttribute that will recolor a region. (currently not used) * source/rtl/gtapi.c * modified most internal calls to hb_gtMaxRow/Col to use Static vars. * gtScroll - fill scrolled region with spaces, not nulls * source/rtl/console.c * HB_SHADOW - call gtDrawShadow * HB_ISCOLOR now active when using gtdos * include/gtapi.h + added decl for gtDrawShadow 19990730-12:00 EDT Paul Tucker <ptucker@sympatico.ca> * makefile.vc + added inkey to harbour.lib * as submitted by Matteo Baccan + added missing dates2 to tools.lib * corrected output of dbfntx?.obj * source/rtl/dbfntx/dbfntx1.c * added typecast in getfunctable 19990730-15:33 CET Viktor Szakats + source/rtl/descend.c source/rtl/hardcr.c source/rtl/mtran.c Added documentation. Posted by Jose Lalin <dezac@corevia.com> 19990730-09:20 EDT Paul Tucker <ptucker@sympatico.ca> * makefile.vc + added sdf and delim support * changed natmsg\msgxxx to msgxxx * source/hbpp/hbpplib.c + added typecasts to 2 xgrab calls * source/rdd/dbcmd.c + added typecasts at line 337 but wrapped this one in an #if defined(_MSC_VER) 19990730-14:55 CET Viktor Szakats ! source/hbpp/preproc.c - defines _pFileName. ! source/hbpp/hbppmain.c - Definition of pFileName changed scope and name to _pFileName, so that OpenInclude() can use it. (not tested) ! source/rtl/alert.prg - Added left out original author info. Added missing #includes. Added RCS id. ! source/rtl/Makefile - Added alert.prg ! source/rdd/Makefile - Added new RDD stuff. ! source/hbpp/preproc.c/HB_PREPROCESS() Fixed unterminated result string problem. Fixed return value inconsistencies. Fixed to not use internals. Code cleanup. + include/hbdefs.h - Added MIN() and MAX() macros. * source/hbpp/harb.h - Removed. * source/hbpp/preproc.c renamed to hbpplib.c source/hbpp/Makefile (Please update other makefiles accordingly) * include/hbpp.h source/hbpp/hbpp.c source/hbpp/hbppint.c source/hbpp/hbpplib.c source/hbpp/hbppmain.c source/compiler/harbour.y Common declarations moved to one place, hbpp.h * source/hbpp/hbpp.c isname() -> ISNAME() * tests/working/testpre.prg - Small cleanup. 19990730-08:50 EDT Paul Tucker <ptucker@sympatico.ca> * makefile.vc * added dbfntx support (not nulsys yet) 19990730-12:46 GMT+1 Bruno Cantero <bruno@issnet.net> * tests/working/testrdd.prg Fixed a bug 19990730-12:24 GMT+1 Bruno Cantero <bruno@issnet.net> + source/rdd/sdf0.prg, source/rdd/sdf1.c, source/rdd/delim0.prg and source/rdd/delim1.c Support for two RDD's (SDF and DELIM) * include/rdd.api, source/rdd/dbcmd.c, source/rdd/dbf0.prg, source/rdd/dbf1.c Changed for support the new RDD's * tests/working/testrdd.prg Test for all RDD's in one PRG - include/rdd_api.old Removed old backup file 19990730-11:05 GMT+1 Antonio Linares <alinares@fivetech.com> * include/inkey.ch + More defines added 19990730-10:21 GMT+1 Antonio Linares <alinares@fivetech.com> * buildrdd.bat * removed PRGs building from there * rdd.b32 * Added PRGs building * makefile.b32 * Added Alert.prg building (note: I have not updated all makefiles!) * source/compiler/harbour.y * Added support for a:b[ c ]:d = e statements + source/rtl/alert.prg * tests/working/classch.prg * added Super:New() test + tests/working/debugger.prg 19990730-05:55 CET Viktor Szakats + source/hbpp/hbppint.c - Added "Warning" to the message "non directive in include file" + tests/broken/vec2.prg - Added a failing command: STATIC bBlock2 := {|| cMyPubVar } 19990730-05:00 CET Viktor Szakats ! source/rtl/inkey.c - #elif defined(__GNUC__) -> #elif defined(__CYGNUS__) ! source/hbpp/preproc.c - MakeFilename() bug fixed here, too. It's quite strange that we have three copies of MakeFilename() in various source files. + source/hbpp/hbppint.c - Added hbpp_init() prototype. ! source/hbpp/hbpp.c - Fix: #include directive will search for the header file in the directory of the compiled .PRG file, not in the current directory as before. + source/hbpp/hbpp.c - Added support for #include 'x' and #include <x>, the latter searches only in the include directories, like in C. ! source/hbpp/hbpp.c - Added patch to fix the GPF in RTL_TEST when using Win32/GCC (and some others). Posted by Dave Pearson <davep@hagbard.demon.co.uk> 19990729-22:00 EDT Paul Tucker <ptucker@sympatico.ca> * source/rtl/inkey.c + added comments and example for implimenting ReleaseCPU 19990729-22:00 EDT Paul Tucker <ptucker@sympatico.ca> * source/rtl/console.c * HB_SHADOW/DBGSHADOW 5th param is optinal and defaults to 7 (w/n) 19990729-19:40 EDT Paul Tucker <ptucker@sympatico.ca> * source/rtl/console.c source/rtl/gtapi.c source/rtl/gt/gtwin.c source/rtl/gt/gtdos.c source/rtl/gt/gtos2.c * Adjusted a number of functions to accept coordinates in Row, Col order - some of them were reversed. ! source/rtl/gt/gt*.c renamed gtwhereX gtwhereY and gtGotoXY to gtCol, gtRow and gtSetPos * include/gtapi.h adjusted gt decls to account for above changes 19990729-23:35 CET Viktor Szakats ! source/rtl/objfunc.prg - Typo fixed. "doesnt exists in class" -> "does not exist in class" 19990729-23:00 GMT+1 Bruno Cantero <bruno@issnet.net> * makefile.env, makefile.dos,source/makefile.dos, source/rdd/makefile.dos + source/rdd/dbfntx/makefile.dos Full support RDD for DJGPP Thu Jul 29 16:17:09 1999 Gonzalo A. Diethelm <Gonzalo.Diethelm@jda.cl> * config/dos/djgpp.cf: * config/linux/gcc.cf: * config/os2/gcc.cf: * config/win32/gcc.cf: * config/win32/msvc.cf: One more modification: the DB drivers must be linked against only when the Makefile specifies linking against the rdd library. Otherwise, other binaries such as the Harbour compiler would try to link against the DB drivers. Thu Jul 29 15:58:44 1999 Gonzalo A. Diethelm <Gonzalo.Diethelm@jda.cl> * source/rdd/Makefile: * source/rdd/nulsys/Makefile: Bruno Cantero pointed out that a user may use all of the DB drivers simultaneously, so I got rid of the environment variable and made sure all of the valid DB drivers are linked against the application. On of the valid drivers is nulsys. * config/global.cf: Now a list of all the valid DB drivers is stored in HB_DB_DRIVERS. * config/dos/djgpp.cf: * config/linux/gcc.cf: * config/os2/gcc.cf: * config/win32/gcc.cf: * config/win32/msvc.cf: Deleted support for environment variable HB_DB_DRIVER. Added support for make variable HB_DB_DRIVERS. Thu Jul 29 14:46:51 1999 Gonzalo A. Diethelm <Gonzalo.Diethelm@jda.cl> * source/rdd/Makefile: * source/rdd/dbfntx/Makefile: Now there is a subdirectory for each database driver. For now, only dbfntx/ is supported. The Makefile in rdd/ walks into each subdirectory. * source/rdd/dbfntx0.prg: * source/rdd/dbfntx1.c: * source/rdd/dbfntx/dbfntx0.prg: * source/rdd/dbfntx/dbfntx1.c: Moved these files from rdd/ to rdd/dbfntx/. * config/bin.cf: * config/dir.cf: * config/header.cf: * config/lib.cf: * config/test.cf: * config/dos/djgpp.cf: * config/linux/gcc.cf: * config/os2/gcc.cf: * config/win32/gcc.cf: * config/win32/msvc.cf: Added support for the new separate directories for the database driver. The user must define an environment variable HB_DB_DRIVER with the appropriate driver he wants to use. For example, defining it to 'dbfntx' will pick up that driver. 19990729-18:39 CET Viktor Szakats - source/rdd/dbcmd.c now redundant declarations removed. (again) + source/rdd/Makefile - new files added. 19990729-18:51 GMT+1 Bruno Cantero <bruno@issnet.net> + source/rtl/natmsg/msgspa.c Changed any messages. 19990729-19:38 GMT+1 Antonio Linares <alinares@fivetech.com> * source/rtl/console.c * several fixes at SAVESCREEN, RESTSCREEN and SETCURSOR 19990729-18:50 GMT+1 Bruno Cantero <bruno@issnet.net> + source/rdd/dbf0.prg, source/rdd/dbf1.c Added RDD DBF * source/rdd/rddsys.prg Prepared for use ANNOUNCE/REQUEST keywords * source/rdd/dbcmd.c Added more functions and now the RDD system is a tree of RDD's * tests/working/testrdd.prg Changed for test two RDD's * makedos.env Added DBFNTXLIB=$(HARBOURDIR)/libs/libdbfntx.a * source/rdd/makefile.dos Changed to create $(HARBOURLIB) and $(DBFNTXLIB) dbcmd.o, rddsys.o, dbf0.o and dbf1.o now in lharblib.a dbfntx0.o and dbfntx1.o now in ldbfntxlib.a * tests/working/makefile.dos Added ldbfntxlib.a to link 19990729-18:40 GMT+1 Bruno Cantero <bruno@issnet.net> * source/vm/hvm.c Remove all RDD references. Now it isn't necesary. 19990729-11:35 EDT Paul Tucker <ptucker@sympatico.ca> * source/rtl/console.c * hb_setCursor - account for optional param. #ifdef .. GTAPI * hb_Save/RestScreen #ifdef .. GTAPI * account for nil params ie: SaveScreen(,,,,@Buf) * use hb_gtRectSize 19990729-13:26 GMT+1 Antonio Linares <alinares@fivetech.com> * source/rtl/gt/gtwin.c * Fixed gtGetCursorStyle when cci.bVisible returning SC_NORMAL * source/rtl/console.c * high-level C source code implemented for SAVESCREEN, RESTSCREEN anb SETCURSOR 19990729-12:13 CET Viktor Szakats + include/extend.h - hb_strLower(), hb_strUpper() declarations added. extern STACK stack; added extern SYMBOL symEval; added extern HB_ITEM errorBlock; added extern HB_ITEM aStatics; added - source/rdd/dbcmd.c source/rtl/setcolor.c now redundant hb_strUpper() declarations removed. - source/rtl/transfrm.c source/rtl/classes.c source/rtl/arrays.c source/rtl/math.c source/rtl/itemapi.c source/rtl/extend.c source/rtl/dir.c source/rtl/descend.c source/rtl/dates.c source/rtl/codebloc.c source/rtl/errorapi.c source/rdd/dbcmd.c source/hbpp/preproc.c source/tools/debug.c Removed explicit references to above added externs. + include/dates.h - extern char *hb_monthsname[]; added extern char *hb_daysname[]; added - source/rtl/dates.c source/tools/dates2.c Removed explicit references to above added externs. - source/rtl/classes.c - Removed reference to DoBlock() - source/rtl/codebloc.c - Redefinition of TRUE/FALSE removed. + source/rtl/dir.c - Copyright statement added for hb_strMatchDOS() function. 19990729-11:20 CET Viktor Szakats ! tests/working/rtl_test.prg - Now returns errorlevel 1 if anything fails, and 0 if OK. Now for sure. * source/vm/hvm.c - Get rid of a few low-level ITEM access. 19990729-10:40 CET Viktor Szakats ! source/vm/hvm.c - #include "itemapi.h" added to fix a warning. ! source/rtl/inkey.c - hb_inkeyPoll() #define-ed out the kbhit() and getch() calls in Cygwin, until some better solution is found. + include/ctoharb.h - PushNumber() declaration added. + source/rtl/arrays.c/hb_arrayEval() now passes the index to the codeblock as the second parameter. + tests/working/arreval.prg tests/working/Makefile aEval() test program added. - source/rtl/arrays.c - Removed duplicate declarations. + tests/working/rtl_test.prg - Now returns errorlevel 1 if anything fails, and 0 if OK. 19990729-01:40 EDT Paul Tucker <ptucker@sympatico.ca> * source/rtl/dir.c + #if !defined(FA_ENCRYPTED) * source/compiler/harbour.y * in FUNCINFO[] change: { SELECT, 0, 1 } 19990729-05:25 CET Viktor Szakats * Changed all #include <x> to #include "x", where x is a Harbour header file. Many source and header files involved. * include/extend.h - Small cleanups. * include/extend.h - Some functions renamed to be more consistent. source/rtl/arrays.c source/rtl/classes.c source/rtl/codebloc.c source/rtl/dir.c source/rtl/errorapi.c source/rtl/extend.c source/rtl/itemapi.c source/rtl/memvars.c source/rtl/transfrm.c source/tools/debug.c source/vm/hvm.c ItemCopy() -> hb_itemCopy() ItemRelease() -> hb_itemClear() ItemUnRef() -> hb_itemUnRef() GetMethod() -> hb_GetMethod() * include/version.h renamed to hb_ver.h source/rtl/environ.c source/compiler/harbour.y include/Makefile * source/vm/hvm.c - hb_item*() functions moved to source/rtl/itemapi.c * source/vm/hvm.c - Codeblock and memvar management function declarations moved to include/extend.h * source/rtl/strcmp.c/hb_stricmp() moved to source/rtl/strings.c * source/rtl/strcmp.c/hb_itemStrCmp() moved to source/rtl/itemapi.c - source/rtl/strcmp.c removed. source/rtl/makefile makefile.b16 makefile.b31 makefile.b32 makefile.b40 makefile.vc - makefile.icc removed (superseded by GNU Make System) + tests/working/rtl_test.prg - Further improved, it's now fully automatic. ! source/rtl/strings.c - LEFT(),RIGHT(),SUBSTR() bugs fixed with some LONG casts for asstring.length. UPPER(),LOWER() LONG -> ULONG * source/compiler/harbour.y source/compiler/harbour.l source/compiler/genobj32.c Some ints changed to BOOL. ! tests/working/strsub.prg - "Press a key" changed to "press Enter". 19990728-19:45 GMT+1 Antonio Linares <alinares@fivetech.com> * include/classes.ch Added support for 'Super' keyword 19990728-19:35 CET Patrick Mast <harbour@PatrickMast.com> <jsalas@gruposp.com> + /harbour/contrib/directX Added Jesus'es DirectX files. Wed Jul 28 11:54:06 1999 Gonzalo A. Diethelm <Gonzalo.Diethelm@jda.cl> * source/rtl/dir.c: Fixed a typo: #if define(USE_NT) => #if defined(USE_NT). * source/rtl/inkey.c: Added an include of <mingw32/conio.h> when compiling with gcc. * include/Makefile: * tests/working/Makefile: Updated list of files. 19990728-14:30 CET Eddie Runia <eddie@runia.com> * source/rtl/dir.c #include <errno.h> added 19990728-14:15 CET Eddie Runia <eddie@runia.com> * source/rtl/dir.c FA_ENCRYPTED etc. only available if USE_NT has been defined 19990728-13:10 CET Viktor Szakats ! source/hbpp/hbppmain.c - MakeFilename() bug fixed here, too. (see 19990728-05:40) ! source/hbpp/harb.h - Include Harbour header files, instead of repeating part of their content explicitly. Some warnings about re-#defines fixed. ! source/hbpp/preproc.c - #pragma Preprocess__InitSymbols excluded when __GNUC__. So no more compiler warning with Win32/GCC. 19990728-13:13 GMT+1 Bruno Cantero <bruno@issnet.net> * source/rdd/rddsys.prg, source/rdd/dbcmd.c, source/rdd/dbfntx0.prg source/rdd/dbfntx1.c, include/rdd.api, tests/working/testrdd.prg The size of WorkAreas now is variable Testing under MSVC++ 6.0 and DJGPP 19990728-14:44 Alexander Kresin * source\hbpp\hbpp.c * Bug, appeared after last change, fixed 19990728-12:30 CET Eddie Runia <eddie@runia.com> * source/runner/runner.c Symbols with both INIT and EXIT raised are not EXIT symbols. * include/extend.h FS_INITEXIT added as a mask to check the above 19990728-11:31 Alexander Kresin * source\hbpp\hbpp.c * Yet another problem fixed with rtl_test and C++ Builder 19990728-10:22 Alexander Kresin * source\hbpp\hbpp.c * source\hbpp\hbppint.c * source\hbpp\hbppmain.c * source\hbpp\table.c * include\hbpp.h * Bug fixed for rtl_class.prg ( mentioned by Viktor Szakats ) * Linked list for defines instead or array 19990728-01:10 EDT Paul Tucker <ptucker@sympatico.ca> * source/rtl/gtapi.c * minor correction in case of inverted coordinates 19990728-05:40 CET Viktor Szakats ! source/compiler/harbour.y/MakeFilename() - Fixed bug, which sometimes caused that the filename losed the "." extension separator char. ! tests/working/makefile - newcopy.prg removed. + tests/working/strsub.prg - Added some more tests, and the expected results. ! source/vm/hvm.c - Minus() simplified and fixed for strings. ! config/dos/djgpp.cf - Added -g to CFLAGS, so it's able to make test programs. 19990728-03:50 CET Viktor Szakats ! config/win32/msvc.cf - Missing include added. 19990727-16:30 EDT David G. Holm <dholm@jsd-llc.com> * source/rtl/dir.c + Added support for IBM Visual Age C++ compiler * source/rtl/gt/gtos2.c ! Corrected function declration for gtSetAttribute() * tests/working/dirtest.prg * Changed QOUT() to OUTSTD() to allow the directory listing to be redirected, regardless of whether or not the GT API is linked in 19990727-22:20 CET Viktor Szakats + tests/broken/lnlenli1.prg + tests/broken/lnlenli2.prg Test programs added to test how Harbour handles extremly long lines. ! tests/broken/vec2.prg Added RCS line. 19990727-21:00 CET Viktor Szakats + source/compiler/harbour.y - Help screen updated. /a,/v added /t deleted, made it even more Clipper like. original Clipper typo "supress" fixed. 19990727-20:15 GMT+2 Ryszard Glab <rglab@imid.med.pl> *source/compiler/harbour.y * static variables can be initialized using the codeblocks that calls functions. However static variables still cannot be initialized with direct function call. * changed the symbol created for function that initialize static variable to: '(_INITSTATICS)' and generated function is named now hb_INITSTATICS - this allows to create an user defined function or memvar named _INITSTATICS * the _INITSTATICS function (used to initialize static variables) have the scope equal to (FS_INIT | FS_EXIT) - to distinguish this function from other INIT functions. All _INITSTATICS functions defined in the application have to be called before normal INIT functions are called. *source/vm/hvm.c * All _INITSTATICS functions defined in the application are called before normal INIT procedures - this allows to use static variables in INIT procedures *tests/working/initexit.prg * updated code to test cooperation of INIT procedures with static variables *include/rdd.api + added forward declaration for struct _RDDFUNCS *source/rtl/natmsg/msgbas.c *source/rtl/natmsg/msgcat.c *source/rtl/natmsg/msgcz852.c *source/rtl/natmsg/msgczkam.c *source/rtl/natmsg/msgdut.c *source/rtl/natmsg/msgeo.c *source/rtl/natmsg/msgfre.c *source/rtl/natmsg/msggal.c *source/rtl/natmsg/msgger.c *source/rtl/natmsg/msghu.c *source/rtl/natmsg/msgia.c *source/rtl/natmsg/msgita.c *source/rtl/natmsg/msgkor.c *source/rtl/natmsg/msgpl852.c *source/rtl/natmsg/msgplmaz.c *source/rtl/natmsg/msgpor.c *source/rtl/natmsg/msgr1251.c *source/rtl/natmsg/msgru866.c *source/rtl/natmsg/msgspa.c *source/rtl/natmsg/msguk.c *source/rtl/natmsg/msgyu852.c * corrected bug in hb_ErrorNetDescription (was "<=" instead of "<" ;-) 19990727-19:48 GMT+1 Bruno Cantero <bruno@issnet.net> * source/rdd/dbcmd.c Fixed a GFP (Paul, test it) 19990727-19:18 GMT+1 Bruno Cantero <bruno@issnet.net> * source/rdd/dbfntx1.c Fixed a bug 19990727-19:08 GMT+1 Bruno Cantero <bruno@issnet.net> * source/rtl/natmsg/*.c Added #include <hbdefs.h> to these files 19990727-12:35 EDT David G. Holm <dholm@jsd-llc.com> * source/rtl/dir.c ! Corrected two errors that the MSC changes introduced for non-MSC non-Unix compilers: 1) The intermediate long variable fsize is now back in place; 2) The use of 'attrib = entry.attrib;' is now #ifdefed for MSC and the use of 'attrib = _chmod(fullfile,0);' is restored for non-MSC non-Unix compilers. 19990727-13:45 GMT+1 Antonio Linares <alinares@fivetech.com> * include/classes.ch + added support for multiple classes definition on the same PRG 19990727-13:08 CET Viktor Szakats + tests/broken/vec2.prg - Added 19990727-14:21 Alexander Kresin * source\hbpp\hbpp.c * ParseExpression() rewritten for supporting new classes functionality 19990727-02:22 EDT Paul Tucker <ptucker@sympatico.ca> * include/gtapi.h + added definition of gtSetAttribute * source/rtl/dates.c * hb__seconds - fixed MSC support for correct hundreths. * source/rtl/dir.c * Directory() now works under msc. Other platform users should review the code and add defined()'s or code as needed. * source/rtl/gt/gtwin.c + gtSetAttribute() * source/rtl/gt/gtdos.c source/rtl/gt/gtos2.c + Empty gtSetAttribute() * source/rtl/console.c + empty SAVESCREEN,RESTSCREEN + SHADOW() and DBGSHADOW() now implimented 19990727-07:50 CET Felipe Coury * tests/working/hscript/dir.hs; tests/working/hscript/hello.hs; tests/working/hscript/hscript.prg; tests/working/hscript/multiply.hs; tests/working/hscript/ugly.hs New version * tests/working/testcgi.prg New version as well 19990727-06:12 GMT+1 Antonio Linares <alinares@fivetech.com> * makefile.b32 + Added inkey.c module 19990726-21:35 EDT David G. Holm <dholm@jsd-llc.com> * config/os2/dir.cf ! Corrected FOR statement to work properly when called from CMD.EXE which means that when using 4OS2, the GNU Make System must be run using: CMD /C make -r (or CMD /C make -r clean) * config/os2/install.cf ! Corrected FOR statement to work properly when called from CMD.EXE which means that when using 4OS2, the GNU Make System must be run using: CMD /C make -r install * include/inkey.ch + Added INKEY_EXTENDED event mask code + Added mouse event codes + include/inkey.h + New support module for new module source/rtl/inkey.c * include/set.h + Added INKEY_EXTENDED + Added version comment for V 1.17 by Bruno Cantero * Corrected version number in version history for V 1.16 * source/hbpp/Makefile ! Added preproc.c, so that tests/working/testpre.prg will link * source/rtl/Makefile * Added inkey.c * source/rtl/dates.c + Added _MSC_VER to list of compilers that use DOS method to get seconds and fractions in SECONDS() instead of just whole seconds * source/rtl/files.c * hb_fopen() now generates runtime error BASE/2021 when filename parameter is not a string (argument error) + source/rtl/inkey.c + New module for CLEAR TYPEAHEAD, INKEY(), KEYBOARD, NEXTKEY(), LASTKEY() and SET TYPEAHEAD support (no mouse support yet) * source/rtl/math.c ! MIN() and MAX() no longer generate an argument error when called with different numeric types ! MIN() and MAX() now return the first parameter when both are equal * source/rtl/set.c * Modified HB_SET_TYPEAHEAD handling to use INKEY() support function hb_inkeyReset() to adjust the size of the keyboard typeahead buffer ! Corrected HB_SET_TYPEAHEAD handling to use set_number() * source/tools/Makefile + Added fileread.prg + source/tools/fileread.prg + New file reader class reads files one line at a time * source/vm/hvm.c + Added call to hb_inkeyPoll() at top of Virtual Machine loop * tests/working/Makefile + Added inkeytst.prg + Added readfile.prg + tests/working/inkeytst.prg + Test program for INKEY(), NEXTKEY(), LASTKEY(), KEYBOARD, SET TYPEAHEAD, and CLEAR TYPEAHEAD. * tests/working/mathtest.prg + Added MIN() and MAX() tests + tests/working/readfile.prg + Test program for new file reader class (the test program dumps the file contents to STDOUT to let you redirect to file so that you can compare the input and output files) * tests/working/seconds.prg * If run with a number as a command line parameter, the loop will be executed that many times, without pausing between calls to SECONDS() 19990726-22:35 CET Patrick Mast <harbour@PatrickMast.com> + Build40.bat and Makefile.b40 Build and makefile for Borland 4.0 19990726-03:25 EDT Paul Tucker <ptucker@sympatico.ca> * source/rtl/dbcmd.c + memset(pWorkAreas,0,sizeof(AREA)); in rddInit * a couple more (or maybe the same) casts to help msvc. 19990726-20:52 CET Viktor Szakats * tests/working/rtl_test.prg - make use of the preproc and thus it's more easy to expand it, and fewer human errors can be made. We could use this idea in several other test programs, too. ! tests/working/transfrm.prg - Buggy test line fixed. 19990726-20:32 GMT+1 Bruno Cantero <bruno@issnet.net> * source/rdd/dbfntx1.c Fixed bug under msvc 19990726-20:20 CET Eddie Runia <eddie@runia.com> * tests/working/hscript/bldguest.bat Better version added. (Old version was meant for working directory) 19990726-20:59 Alexander Kresin * source\hbpp\hbpp.c * Fixed some bugs with quotes, '??' * source\hbpp\hbppint.c * source\hbpp\hbppmain.c * some functions prefixed with pp_ 19990726-18:24 GMT+1 Bruno Cantero <bruno@issnet.net> * include/rdd.api, source/rdd/dbcmd.c, source/rdd/dbfntx1.c and tests/working/testrdd.prg Added more RDD functions Implemented dynamic WorkAreas 19990726-18:12 GMT+1 Bruno Cantero <bruno@issnet.net> * makefile.dos, source/makefile.dos and source/rdd/makefile.dos Added RDD support Mon Jul 26 11:42:11 1999 Gonzalo A. Diethelm <Gonzalo.Diethelm@jda.cl> * include/Makefile: * source/rdd/Makefile: * tests/working/Makefile: Updated file lists. 19990726-13:20 CET Viktor Szakats + source/rtl/gtapi.c Some minor fixes and corrections mainly to gtBox() 19990726-12:50 CET Viktor Szakats + source/rtl/natmsg/msghu.c Error descriptions translated. 19990726-06:05 EDT Paul Tucker <ptucker@sympatico.ca> * source/rtl/gtapi.c * position cursor inside top-left corner of box - compatibility * source/rtl/console.c * Row() and Col() - too passive when linked with gtapi. 19990726-05:20 EDT Paul Tucker <ptucker@sympatico.ca> * source/rtl/gtapi.c * much improved box drawing speed. * source/rtl/msgita.c from Matteo Baccan * source/rtl/msgpor.c from Felipe Coury 19990725-09:50 CET Felipe Coury + tests/working/hscript/guestbk.ini; tests/working/hscript/guestbk.htm; tests/working/hscript/guestbk.prg; tests/working/hscript/guestbk.txt; tests/working/hscript/bldguest.bat; Harbour guestbook added 19990725-09:45 CET Eddie Runia <eddie@runia.com> * source/runner/runner.c GPL text added 19990726-09:45 Antonio Linares <alinares@fivetech.com> * source/rtl/natmsg/msguk.c * missing #include <hbdefs.h> 19990726-01:06 EDT Paul Tucker <ptucker@sympatico.ca> * makefile.vc * changed msguk to msgxxx * source/rdd/dbfntx1.c * corrected assignement of RDDFUNCSCOUNT now that I see what it's doing 19990726-00:20 EDT Paul Tucker (from Felipe Coury) <ptucker@sympatico.ca> * rdd.b32 * buildrdd.bat * tests/working/bld32w.bat + added support for new files in rdd 19990726-02:30 GMT+2 Ryszard Glab <rglab@imid.med.pl> *include/errorapi.h + added declaration of hb_ErrorNatDescription() function -this function should be used to read a description of generic errors *source/rtl/errorapi.c * changed to read a generic error description form national language module: hb_errorRT_BASE(), hb_errorRT_TERMINAL(), hb_errorRT_DBCM() calls hb_ErrorNatDescription() when there is no description specified in function that generates an error *include/error.ch * new generic error codes: EG_ARGCOUNT Incorrect number of arguments EG_ARRACCESS array access EG_ARRASSIGN array assign EG_NOTARRAY not an array EG_CONDITION conditional *source/rtl/natmsg/msgbas.c *source/rtl/natmsg/msgcat.c *source/rtl/natmsg/msgcz852.c *source/rtl/natmsg/msgczkam.c *source/rtl/natmsg/msgdut.c *source/rtl/natmsg/msgeo.c *source/rtl/natmsg/msgfre.c *source/rtl/natmsg/msggal.c *source/rtl/natmsg/msgger.c *source/rtl/natmsg/msghu.c *source/rtl/natmsg/msgia.c *source/rtl/natmsg/msgita.c *source/rtl/natmsg/msgkor.c *source/rtl/natmsg/msgpl852.c *source/rtl/natmsg/msgplmaz.c *source/rtl/natmsg/msgpor.c *source/rtl/natmsg/msgr1251.c *source/rtl/natmsg/msgru866.c *source/rtl/natmsg/msgspa.c *source/rtl/natmsg/msguk.c *source/rtl/natmsg/msgyu852.c + the table with generic errors' descriptions was added + new hb_ErrorNatDescription() that returns error description *source/rtl/natmsg/msgpliso.c + new module for Polish ISO-8859-2 coding *source/rtl/arrays.c *source/rtl/copyfile.c *source/rtl/classes.c *source/rtl/dates.c *source/rtl/math.c *source/rtl/set.c *source/rtl/strings.c *source/rtl/transfrm.c *source/rtl/memvar.c *source/rtl/rdd/dbcmd.c *source/tools/dates2.c *source/vm/hvm.c * changed to use generic error codes (EG_*) instead of hard-coded descriptions *source/rdd/Makefile *corrected to compile files placed in this directory *tests/working/Makefile + added rdd library *source/rtl/gtxxx.c + added #include "hbsetup.h" to properly include platform specific files based on settings in hbsetup.h *source/rtl/msgxxx.c + added #include "hbsetup.h" to properly include platform specific files based on settings in hbsetup.h +added #include "hbdefs.h" *source/compiler/harbour.y + added support for '-a' automatic MEMVAR declaration * extended support for MEMVAR declaration + added definition of VS_PRIVATE and VS_PUBLIC *include/hberror.h + new warning code WARN_MEMVAR_ASSUMED *include/extend.h - removed definition of VS_PRIVATE and VS_PUBLIC *source/rtl/memvars.c + added definition of VS_PRIVATE and VS_PUBLIC *source/hbpp/table.c * changed names for memvar related functions ('__MV' prefix) in RELEASE, CLEAR* and SAVE/RESTORE commands 19990725-23:12 CET Viktor Szakats + make_tpl.bat Template batch file to call the GNU make system. 19990724-21:20 EDT Paul Tucker <ptucker@sympatico.ca> * source/rdd/dbcmd.c * added type casts mostly on xgrab calls * source/rdd/dbfntx0.c * commented out 1 assignment, as uiCount is not pointing at anything. * makefile.vc + added additional rdd support 19990725-19:47 GMT+1 Bruno Cantero <bruno@issnet.net> + include/rddsys.ch, source/rdd/dbfntx0.prg, source/rdd/dbfntx1.c Skeleton for DBFNTX functions + tests/working/testrdd.prg Test for RDD functions * source/rdd/dbcmd.c Bug fixed * source/rdd/rddsys.prg Register the default driver (DNFNTX) * include/rdd.api, include/rdd_api.old File renamed 19990724-21:20 EDT Paul Tucker <ptucker@sympatico.ca> * makefile.vc * tests/working/buildvc.bat + added support for the rdd. 19990725-01:00 GMT+2 Ryszard Glab <rglab@imid.med.pl> *source/rtl/memvars.c * corrected code that handle values' cache + added code to test variables with the names that are the same as functions names * variables passed by reference are correctly handled now in PARAMETERS statement * renamed __PUBLIC to __MVPUBLIC and __PRIVATE to __MVPRIVATE all other functions related to memory variables will start with '__MV' prefix + added __MVXRELEASE function to release value stored in memvar variable (it can be used in RELEASE command) *source/vm/hvm.c * variables passed by reference are correctly handled now in PARAMETERS statement *source/compiler/harbour.y * the symbol table is generated correctly now if a memvar variable have the same name as one of used functions or is the same as the name of compiled module * simplified and cleared handling of symbol positions *source/compiler/harbour.l * MEMVAR keyword is handled correctly now *tests/working/memvar.prg + added code to test variables with the names that are the same as functions names 19990725-00:20 CET Felipe Coury * tests/working/bld32exe.bat changed for RDD + buildrdd.bat; rdd.b32 makefiles for RDD * build32.bat changed for RDD 19990724-21:02 GMT+1 Bruno Cantero <bruno@issnet.net> + include/set.h Added two prototypes + source/vm/hvm.c Added one prototype and initialize the RDD + include/errorapi.h Added one prototype + source/rtl/errorapi.c New function: hb_errorRT_DBCMD + source/rdd/dbcmd.c New file. First functions for the RDD system + source/rdd/rddsys.prg New file. Define the default RDD driver (DBFNTX) * source/rdd/nulsys/nulsys.prg New file. Allow compile without RDD driver 19990727-21:11 CET Patrick Mast <harbour@PatrickMast.com> * Release of Build 29 19990724-11:50 CET Patrick Mast <harbour@PatrickMast.com> * Makefile.b16 and Makefile.b32 added -DHARBOUR_USE_GTAPI swicth 19990723-06:39 EDT Paul Tucker <ptucker@sympatico.ca> * source/rtl/gtapi.c * source/rtl/setcolor.c * modified some if statements to specifically test for != 0 19990723-06:39 EDT Paul Tucker <ptucker@sympatico.ca> * source/rtl/devoutp.prg * second param to devout() is color, not picture 19990723-06:39 EDT Paul Tucker <ptucker@sympatico.ca> * source/rtl/transfrm.c * changed GetDynSym to hb_GetDynSym (again) 19990723-12:07 Antonio Linares <alinares@fivetech.com> * terminal.b32 * Fixed for Win32 console mode Harbour apps * makefile.b32 * Support for C debugger * tests/working/bld32exe.bat * Support for C debugger 19990723-12:00 CET Eddie Runia <eddie@runia.com> * source/rtl/transfrm.c Decimals and width from parameter used if no template specification is present + tests/working/transdef.prg Test program used 19990723-07:45 CET Matthew Hamilton * tests/working/inifiles.prg Even newer version 19990723-02:45 GMT+2 Ryszard Glab <rglab@imid.med.pl> *source/compiler/harbour.y * corrected generation of symbols for memvar variables * PARAMETERS are handled now in the same way as in Clipper (if PARAMETERS statement is repeated in the same function then the first parameter listed is always equal to the first argument, the second parameter is initialized with the second argumennt etc) *source/rtl/memvars.c * reference to variables are correctly updated * item returned from hb_arrayGet() is of proper type now and is properly released *source/rtl/codebloc.c * changed to use second parameter of hb_MemvarValueNew() *source/vm/dynsym.c * symbols created dynamically are properly released now (SYM_ALLOCATED is now type casted to new type SYMBOLSCOPE - the scope value (char) was compared with (int) previously and it was never true (char was extended to int -1) *include/hbdefs.h + added new SYMBOLSCOPE typedef *include/extend.h * changed to support new SYMBOLSCOPE typedef * replaced void *pDynSym with struct _DYNSYM *pDynSym *tests/working/memvars.c + added noew code to test memvars * it shouldn't report the unreleased memory blocks now 19990722-10:50 EDT Paul Tucker <ptucker@sympatico.ca> *source/rtl/dir.c * corrected hang when passing a second param to dirtest. 19990722-16:30 GMT+2 Ryszard Glab <rglab@imid.med.pl> *source/compiler/harbour.y * symbol names are no longer released for the second time (it caused that DJGPP hanged in 'free' function) *source/hbpp/makefile + added preproc.c *source/hbpp/harb.h - changed to definie LONG and ULONG typedefs if there is no HB_DEFS_H_ defined (these typedefs are defined in hbdefs.h) *source/hbpp/preproc.c - removed nested /* */ *tests/working/Makefile - removed statics1.prg and statics2.prg because these file have to be linked together into an executable (we should change Makefile architecture to support it) - removed testpre.prg (it requires hbpp library however this library cannot be linked because of duplicated symbol 'hb_strAt' defined in rtl library also) -the changes in source/hbpp/*.c was an attempt to get it working. 19990722-14:30 CET Matthew Hamilton * tests/working/inifiles.prg cFile -> @cFile in fRead statement 19990722-03:30 GMT+2 Ryszard Glab <rglab@imid.med.pl> *source/rtl/classes.c *source/rtl/console.c *source/rtl/errorapi.c *source/rtl/itemapi.c *source/rtl/transfrm.c * changed GetDynSym to hb_GetDynSym * changed FindDynSym to hb_FindDynSym *source/runner/runner.c * changed FindDynSym to hb_FindDynSym *source/vm/dynsym.c * changed GetDynSym to hb_GetDynSym * changed NewDynSym to hb_NewDynSym * changed FindDynSym to hb_FindDynSym + added initialization of hMemvar and hArea *source/vm/hvm.c * changed GetDynSym to hb_GetDynSym * changed NewDynSym to hb_NewDynSym * changed FindDynSym to hb_FindDynSym + added support for PUBLIC and PRIVATE variables and PARAMETERS (not finished yet) *include/extend.h * changed definition of DYNSYM + added definition of VS_MEMVAR, VS_PUBLIC, VS_PRIVATE *include/init.h + added again 'static' declaration (only for WATCOM compiler at this moment) *config/dos/watcom.cf * changed to not link and lib in no case exact mode *include/pcode.h - removed unused opcode HB_P_DEFSTATIC + added HB_P_PARAMETER to create memvar variables that store function/procedure parameters *source/rtl/codebloc.c *updated to support current memvars implementation *source/rtl/memvars.c + added support for PUBLIC and PRIVATE statements + new __PUBLIC and __PRIVATE functions that can be accessed from PRG code to create memvar variables + support for PARAMETERS statement NOTE: It is still in development! There is something wrong with reference counting (see tests/working/memvar.prg) *source/compiler/harbour.y + added support for PUBLIC and PRIVATE variables + added support for PARAMETERS statement *source/compiler/harbour.l + added full support for PUBLIC, PRIVATE and PARAMETERS * LOCAL can now be used in abbreviated form +tests/working/memvar.prg + tests memvar variables (NOTE: it can show unreleased memory blocks) *tests/working/Makefile + added memvar.prg Wed Jul 21 17:39:35 1999 Gonzalo A. Diethelm <Gonzalo.Diethelm@jda.cl> * include/hbsetup.h: Added Win32 as a case when CR/LF must be output for a new line to appear on the screen. 19990721-22:36 CET Patrick Mast <harbour@PatrickMast.com> * Makefile.vc errorsys compiles with /iinclude now 19990721-10:25 CET Eddie Runia * source/hbpp/hbpp.c Old lookup returned for '??'. Follow (ER) for the change Wed Jul 21 15:36:04 1999 Gonzalo A. Diethelm <Gonzalo.Diethelm@jda.cl> * source/compiler/harbour.y: Moved printing the "build..." message after the command line arguments have been checked, so that if the user specifies -q, it is not shown. * source/vm/hvm.c: Got rid of a couple of warnings. * include/Makefile: * tests/working/Makefile: Updates list of files. * include/init.h: * include/initsymb.h: * source/hbpp/preproc.c: Updated use of RCS Id keyword. 19990721-18:39 GMT+1 Paul Tucker / Bruno Cantero <bruno@issnet.net> * source/compiler/harbour.y Added support for empty arguments in functions. 19990721-15:50 CET Eddie Runia <eddie@runia.com> * source/rtl/classes.c; source/rtl/transfrm.c Clean-up of source 19990721-04:12 EDT Paul Tucker <ptucker@sympatico.ca> * source/rtl/gtapi.c * corrected color string Underline handling. * Much more color compatibility even for some undocumented behaviour. The only inconsistancy is for ie: ("w+/n*") Clipper returns "w+*/n" - Harbour returns "w+/n*" This is on purpose, as it agrees with the documentation instead of observed behaviour. AFAIK, the only thing that may need change is for mono monitors. Is anyone using one? 19990721-09:30 CET Eddie Runia <eddie@runia> * source/vm/hvm.c Copy & Paste error 19990721-09:00 CET Jose Lalin * source/vm/hvm.c + added support for concatenation operator "-" + added support to generate correct runtime errors in functions: And(), Equal(), Greater(), GreaterEqual(), Inc(), Instring(), Less(), LessEqual(), Not(), NotEqual(), Minus(), Or(), Plus(), HB_LEN() + tests/working/strsub.prg tests for operator "-" on strings 19990721-09:00 CET Matthew Hamilton * tests/working/inifiles.prg * Case sensitive & Speed improvement 19990720-09:38 Alexander Kresin * source\hbpp\hbpp.c * Fixed bugs related to nested #ifdef, #ifndef * Fixed bug with '??' command 19990720-17:15 EDT David G. Holm <dholm@jsd-llc.com> * funclist.txt * Updated the status of several functions 19990720-20:55 GMT+1 Bruno Cantero <bruno@issnet.net> * makefile.b31 Changed fixflex to bin\fixflex. * harbour.b31 Added /iinclude to compile prg's. 19990720-20:10 CET Eddie Runia <eddie@runia.com> * source/vm/hvm.c wsize =*( (WORD *) ... part removed. 19990720-13:40 EDT Paul Tucker <ptucker@sympatico.ca> * source/rtl/gtapi.c * If a color string of ("r/b,b/r" ) is used, the fifth param is set equal to the second. (as in clipper) 19990720-13:30 EDT Paul Tucker <ptucker@sympatico.ca> * source/rtl/gtapi.c * implimented color attribute in gtWrite and gtScroll. This is the last selected color set via gt_ColorSelect() 19990721-16:35 CET David G. Holm <dholm@jsd-llc.com> * source/compiler/harbour.y ! Correct _StdFunc entty for INKEY to allow no parameters - Removed _StdFunc entry for SET * Display build date for include/version.h instead of a season 19990721-15:10 CET Felipe Coury + bldodbc.bat; hbodbc.b32; source/odbc/bld32exe.bat; source/odbc/harbour.mdb; source/odbc/hb32.bat; source/odbc/odbc.c; source/odbc/odbc.txt; source/odbc/odbc32.def; source/odbc/sql.ch; source/odbc/sql.h; source/odbc/sqlext.h; source/odbc/sqltypes.h; source/odbc/testodbc.prg First version of ODBC implemented. 19990720-14:35 CET Matthew Hamilton * tests/working/inifiles.prg New version installed 19990720-09:55 CET Eddie Runia <eddie@runia.com> * source/rtl/files.c #include <errno.h> added for __BORLANDC__ 19990720-09:30 CET Eddie Runia <eddie@runia.com> * tests/working/run_all.bat %1 exchanged for test_all 19990719-17:55 EDT Paul Tucker <ptucker@sympatico.ca> * source/rtl/gtapi.c - removed temp init line now that init order is fixed. + added call to gtDone from hb_gtExit * source/rtl/setcolor.c * removed a comma * tests/working tstcolor.prg + Added 'numeric' color example. 19990719-16:50 EDT David G. Holm <dholm@jsd-llc.com> * config/dos/bcc31.cf + Added -DHARBOUR_USE_GTAPI and -DHARBOUR_USE_DOS_GTAPI to the C preprocessor options * include/set.h + Added prototypes for hb_consoleInitialize() and hb_consoleRelease(), because console doesn't own an include file and these two functions were added to allow synchronization with hb_setInitialize() and hb_setRelease(), both of which are prototyped here * include/version.h * Updated build to 29, set revision to "", and set date to 1999, 7, 19, in anticipation of a new public release * source/compiler/harbour.y + Added #include "version.h" * Changed version printout to use hb_build from version.h * Changed version printout us use "Summer" instead of "Spring" * Removed newline from middle of version printout * Moved prinout of version ahead of command line option checks, so that the version is always displayed, like in Clipper * source/rtl/console.c + Added hb_consoleRelease() function that calls hb_gtExit() * Converted InitializeConsole() from an HB_CALL_ON_STARTUP function to a normal function named hb_consoleInitialize() * source/rtl/setcolor.c - Removed HARBOUR GTEXIT() function * source/vm/hvm.c + Added call to hb_consoleInitialize() immediately following call to hb_setInitialize and added call to hb_consoleRelease() immediately prior to calling hb_setRelease(). * tests/working scroll.prg * Changed the introductory text message * tests/working/tstcolor.prg - Removed GTEXIT() call 19990719-16:15 EDT Paul Tucker <ptucker@sympatico.ca> * source/rtl/gtapi.c * Minor change to catch last color parameter that may be empty 19990719-15:55 EDT Paul Tucker <ptucker@sympatico.ca> * source/rtl/gtapi.c * Added support for 'numeric' color strings ie: "1/7,8/15" 19990719-19:28 GMT+2 Ryszard Glab <rglab@imid.med.pl> *source/compiler/harbour.y +added 'PushFunCall' function to push the name of function. This function checks if passed name is an abbreviation of reserved function. If the abbreviation is used then the full name is pushed. 19990719-18:33 Antonio Linares <alinares@fivetech.com> * source/rtl/classes.c * enhanced methods amount meanwhile DictRealloc() is built. * several defines missing. * source/rtl/extend.c * new hb_xsize() function needed for classes.c DictRealloc() implementation. 19990719-18:30 GMT+2 Ryszard Glab <rglab@imid.med.pl> *source/compiler/harbour.y -removed call for non ANSI C 'stricmp' *changed to support abbreviated functions' names 19990719-11:40 EDT Paul Tucker <ptucker@sympatico.ca> *source/rtl/gtapi.c * Changed call in hb_gtinit() to pass the literal initial color setting in case the GT system is initialised prior to Set * Skipped color params in a string now keep their previous value. ie ",,,r/b" *source/rtl/set.c * corrected parameter passing in _SET_COLOR case. 19990719-10:40 EDT Paul Tucker <ptucker@sympatico.ca> *source/compiler/harbour.y * replace CheckArgs() as supplied by Jose Lalin - with a few minor tweaks. 19990719-16:00 GMT+2 Ryszard Glab <rglab@imid.med.pl> *source/rtl/msgxxx.c +added support for Polish national messages *source/rtl/natmsg/msgpl852.c *source/rtl/natmsg/msgplmaz.c * corrected names of months 19990719-03:10 EDT David G. Holm <dholm@jsd-llc.com> * config/os2/icc.cf + Added /Gs+ option to enable runtime stack checking * include/dates.h + Added prototype for hb_dow() * include/gtapi.h + Added prototype for hb_gtExit() * include/set.h + Added prototype for hb_setColor() * Changed hb_set.HB_SET_COLOR from char * to char[64] * source/compiler/harbour.y * Replaced _StdFunc table with new table supplied by Jose Lalin, while keeping the entry for SET that Paul Tucker had CVSed * source/hbpp/hbpp.c * Made mpatt and rpatt buffers in ParseCommand() static. * source/hbpp/hbppint.c * Allocate sBuffer in Hp_Parse() using _xgrab() (and release with _xfree() before exiting) * source/rtl/console.c + Added call to hb_gtInit() to InitializeConsole() - Removed all gt...() calls from InitializeConsole() * source/rtl/gtapi.c + Added gt...() calls that used to be in InitializeConsole() to hb_gtInit() and also added a call to gtInit() * Renamed hb_gtexit() to hb_gtExit() to match Harbour style * Converted three // style comments to /* style comments */ * source/rtl/set.c * Simplified handling of HB_SET_COLOR by just calling hb_setColor() * Made changes related to hb_set.HB_SET_COLOR now being char[64] * source/rtl/setcolor.c + Added #include <set.h> * Replaced gt prototypes with #include <gtapi.h> * Changed hb_SetColor() to hb_setColor() to match Harbour style * Changed hb_setColor() to use hb_set.HB_SET_COLOR instead of allocating a buffer and requiring the caller to free the buffer + Added conditional logic for not using the GT API * source/rtl/gt/gtwin.c - Removed call to hb_gtInit() * source/tools/dates2.c + Added #include <dates.h> ! Added missing semicolon to HB_INIT_SYMBOLS_END() - Removed prototypes for hb_dow() and hb_dateDecode() * tests/working/Makefile - Removed strings4.prg + Added tstcolor.prg * tests/working/empty.prg - Removed call to empty() with no parameters, because it now results in a compile error - tests/working/string4.prg - Removed this test program, because Harbour now checks for the correct number of arguments when compiling 19990719-00:55 EDT Paul Tucker <ptucker@sympatico.ca> * source/rtl/set.c * Trap for NIL param in Set( _SET_SETCOLOR, NIL ) 19990719-00:12 EDT Paul Tucker <ptucker@sympatico.ca> * corrected new parameter check added {"SET",1,3} also increased strncmp len param by 1 to get null byte for complete match. 19990718-22:25 EDT Paul Tucker <ptucker@sympatico.ca> * source/rtl/gtapi.c * corrected returned color strings so pair ordering is the same as Clipper 19990718-21:20 EDT Paul Tucker <ptucker@sympatico.ca> * source/rtl/gt/gtwin.c * call hb_gtinit from gtinit * source/rtl/gtapi.c * changed gtSetColorStr and gtGetColorStr to support clipper compatible color strings. * source/rtl/set.c * changed _SET_COLOR support to tie in to SetColor() * source/rtl/setcolor.c * cleaned up - added HB_GTEXIT till proper exit support is working + tests/working/tstcolor.prg test for SetColor() * makefile.b16 makefile.b31 makefile.b32 makefile.icc source/rtl/makefile * added setcolor * makefile.vc * added setcolor * changed -o$(RTL_DIR) -o$(**D) * added missing datesx and copyfile * removed duplicate errorsys from harbour.lib obj list 19990718-20:45 CET Eddie Runia <eddie@runia.com> - source/rdd/rdd.api And removed again 19990718-20:35 CET Jose Lalin * source/compiler/harbour.y; include/hberrors.h Argument checking for standard functions added. Thanks to Ryszard 19990718-20:30 CET Eddie Runia <eddie@runia.com> + source/rdd/rdd.api Restore from the attic 19990718-13:06 EDT Paul Tucker <ptucker@sympatico.ca> + source/rtl/setcolor.c * my first cvs upload * I'll work on adding this to the various makefiles as well as the required support code in gtapi.c (not posted yet) 19990718-18:05 CET Patrick Mast <harbour@PatrickMast.com> * Release of Build #28 * version.h, updated build version 19990718-17:33 CET Patrick Mast <harbour@PatrickMast.com> * /source/rtl/errorsys.prg changed #include "include\error.ch" back into #include "error.ch" changed makefile.b32 to compile PRG's with switch iinclude 19990718-15:44 CET Patrick Mast <harbour@PatrickMast.com> * /test/working/buildvc.bat For PRG -> EXE with MSVC++ * buildvc.bat Includes MASM'ing Symbols.obj now 19990718-15:25 CET Bruno Cantero / Eddie Runia * source/vm/hvm.c PushString endian ordered not determined by compiler but by HVM 19990718-14:13 CET Patrick Mast <harbour@PatrickMast.com> * /source/hbpp latest files from Alexander. With these files Build32.bat works ok. 19990718-14:22 CET Eddie Runia <eddie@runia.com> * tests/working/run_all.bat Harbour compile added 19990718-14:00 CET Eddie Runia <eddie@runia.com> * build32.bat bldhbpp.bat called * makefile.b16; makefile.b31; makefile.b32; makefile.icc; makefile.vc dates2 included * makedos.env very strange error. msgxxx could not include natmsg/msguk.c. I haven't seen this error before, -Isource/rtl was added to resolve the problem * source/rtl/dates.c; source/rtl/descend.c; source/rtl/hardcr.c; source/rtl/mtran.c Copyright Jose Lalin added * source/rtl/msgxxx.c Esparanto added + source/rtl/natmsg/msgeo.c Esparanto added + source/tools/dates2.c File from Jose Lalin added. The following modification have been made : * Symbol table added * Bug as reported by Andi resolved * Casts added to eliminate warnings produced by DJGPP * source/tools/makefile dates2.c added * include/initsymb.h; source/runner/runner.c; source/vm/initsymb.c Dates2 added to file list. + tests/working/dates4.prg Test program tools/dates2 added + tests/working/run_all.bat Batch file for testbench added. Will run test_all.prg and subsequently run all symbols 19990716-20:00 EDT David G. Holm <dholm@jsd-llc.com> * config/rules.cf + Added ifeq section for BCC, which requires that the output file be listed ahead of the input file on the command line (at least for version 3.1) + config/dos/bcc31.cf + New GNU Make System module for Borland C++ 3.1 (adapted from original config/win32/bcc32.cf) * config/dos/global.cf + Added 'if not exist' to both 'dirbase::' commands + Added 'if exist' to all deletes of a single file type * config/win32/bcc32.cf * Applied several changes from config/dos/bcc31.cf, but remains untested * doc/gmake.txt + Added dos/bcc31 * source/hbpp/hbpp.c ! Temporary fix to avoid an incorrect "Cycled #define" error * source/hbpp/hbppint.c ! Use of exit() warrants inclusion of stdlib.h for all compilers * source/rtl/environ.c + Added RUN() support for MSC, IBMCPP, and GCC for OS/2 * tests/working/dosshell.prg + Added support for OS/2 * tests/working/procline.prg - Removed unneeded 'local a' that I accidentally left in earlier Fri Jul 16 17:53:35 1999 Gonzalo A. Diethelm <Gonzalo.Diethelm@jda.cl> * source/rtl/gt/gtwin.c: Added the possibility to log everything to a file; this made it possible for me to find out what was wrong with GTwin (which is, noone was calling gtInit()). * source/rtl/console.c: Call gtInit() as the first console initialization. This finally made it possible to have a working GT on Win32 with gcc (it should work with other compilers too). 19990716-20:43 Alexander Kresin * source\hbpp\hbpp.c * Problem with C++ Builder resolved 19990716-18:10 CET Eddie Runia <eddie@runia.com> + tests/working/clasname.prg Test program for clasname implemented. Warning : Just a partial implementation * source/vm/hvm.c void Do() changed so all types call GetMethod * source/rtl/classes.c Small changes so messages to non-objects are properly handled. 19990716-16:00 CET Eddie Runia <eddie@runia.com> * source/rtl/transfrm.c Memory allocation error resolved 19990716-15:00 CET Eddie Runia <eddie@runia.com> * source/rtl/math.c Round() : One byte more should be allocated * source/rtl/copyfile.c; source/runner/runner.c; source/vm/initsymb.c; include/initsymb.h __CopyFile added as symbol * source/rtl/console.c DevOutPict() added as symbol 19990716-14:30 CET Eddie Runia <eddie@runia.com> * source/runner/runner.c Typo corrected 19990716-13:00 CET Eddie Runia <eddie@runia.com> * include/initsymb.h; source/vm/initsymb.c; source/runner/runner.c; include/run_exp.h The runner is back on-line :-)) 19990716-10:54 Alexander Kresin * source\hbpp\hbpp.c * source\hbpp\table.c * fixed some bugs, simplified expressions in SearnRep() 19990716-06:45 GMT+1 Ryszard Glab <rglab@imid.med.pl> *source/compiler/harbour.y * corrected generation of proper static frame for functions (the values of static variables defined in different modules are no longer overlapped) *tests/broken/statics1.prg *tests/broken/statics2.prg -moved to tests/working directory *config/dos/watcom.cf * corrected to support HB_*_COMPILE variables *config/global.cf *config/rules.cf * removed duplicated definition of HB variable * HB_*_COMPILE variables are defined now before architecture and compiler specific config file is included (it allows to change these variables for specific architecture/compiler requirements) *doc/codebloc.txt + added description of an incompatibility with Clipper 19990715-23:40 CET Eddie Runia <eddie@runia.com> * tests/working/arrays.prg; tests/working/dosshell.prg; tests/working/dupvars.prg; tests/working/keywords.prg; tests/working/linecont.prg; tests/working/linecont.prg; tests/working/longstr2.prg; tests/working/spawn.prg; tests/working/spawn2.prg; tests/working/test10.prg; tests/working/testid.prg; tests/working/test_all.prg //NOTEST should be the first line 19990715-23:14 CET Patrick Mast <harbour@PatrickMast.com> All files for the Preprocessor lib from Felipe Coury <fcoury@flexsys-ci.com> + source/hbpp/preproc.c + doc/hbpplib.txt + tests/working/testpre.prg + Hbpplib.b32 + Bldhbpp.bat * changed tests/working/bld32exe.bat (to include hbpp.lib) Thu Jul 15 17:32:29 1999 Gonzalo A. Diethelm <Gonzalo.Diethelm@jda.cl> * config/rules.cf: Added support for a couple of environment variables for the user to specify additional flags for compilation. They are C_USR and PRG_USR. An example using bash: export C_USR='-DHARBOUR_USE_GTAPI -DHARBOUR_USE_WIN_GTAPI' make -w * include/hbdefs.h: * source/rtl/gt/gtwin.c: Modified these files to be able to compile gtwin.c with gcc. It compiles and links, but it dumps core on execution... 19990715-16:30 Ryszard Glab <rglab@imid.med.pl> *source/compiler/harbour.l * added support for case ::variable while ::variable * corrected line numbering in NEXT and END keywords * changed ';' (line continuation logic) *source/compiler/harbour.y * corrected line numbering (opcode for line number is no longer placed inside an expression) *tests/working/procline.prg * corrected line numbering *config/linux/gcc.cf *config/linux/global.cf * corrected to support the latest changes in GNU make system 19990715-09:50 CET Patrick Mast <harbour@PatrickMast.com> *makefile.vc * Changed output for PRG's that needed to be compiled with Harbour * Deleted 'Classes.Prg' lines. (No need for them) * Added parameter -n for compiling asort.prg * Added parameter -n for compiling errorsys.prg * Deleted 'GenObj.c' lines (No need for them) * Changed 'Stringp.c' line $(RTL_DIR) should be $(TOOLS_DIR) = Works fine with MSVC++ 6.01 now 19990715-09:50 CET Patrick Mast <harbour@PatrickMast.com> *source/rtl/environ.c changed all 'defined(__MSC__)' to 'defined(__MSC__) || defined(_MSC_VER)' It compiles with MSVC++ 6.01 now 19990714-22:45 EDT David G. Holm <dholm@jsd-llc.com> * config/dos/djgpp.cf * Modified to support new HB_*_COMPILE variables * config/dos/global.cf - Removed initialization of old HB_*_DIR variables * config/dos/watcom.cf * Modified to support new HB_*_COMPILE variables + config/os2/dir.cf + New GNU Make System module for OS/2 + config/os2/gcc.cf + New GNU Make System module for GCC for OS/2 + config/os2/global.cf + New GNU Make System module for OS/2 + config/os2/icc.cf + New GNU Make System module for IBM Visual Age C++ for OS/2 + config/os2/install.cf + New GNU Make System module for OS/2 * doc/gmake.txt + Added documentation for os2/gcc and os2/icc * Changed names of installation variables to HB_*_INSTALL * Changed NOTES section to reflect new 2-step process for a clean build * include/hbsetup.h + Added documentation of new #define for HARBOUR_GCC_OS2, which is used by config/os2/gcc.cf in order to ensure that the GCC build of Harbour for OS/2 gets created as OS_DOS_COMPATIBLE and not OS_UNIX_COMPATIBLE + Added platform #defines for the GT API for use by the GNU Make System * include/set.h - Removed obsolete global variable hb_set_fixed and declaration for obsolete HB_SETFIXED() * source/compiler/harbour.y + Added #ifdef guard for GCC around generated #pragma startup directive (like the #ifdef guard that was added to the runtime source modules) ! Display entire command line option when reporting invalid options (like Clipper, instead of leaving off the option switch character) * source/hbpp/hbpp.c + Added grouping parentheses as a safeguard around the one use of the isname() macro parameter that didn't already have a grouping ! The use of 'exit(1);' requires that stdlib be included for all compilers * source/hbpp/table.c ! Changed all _SET_<name> constants to match Harbour instead of Clipper * source/rtl/Makefile + Added new gtxxx.c module * source/rtl/environ.c + Added OS() support for GCC when using OS/2, because OS/2 uses 'version' as the version indicator and uses 'release' as a revision indicator * source/rtl/files.c + Only use S_IRUSR and S_IWUSR flags when creating a read/write file, per correction supplied by Dave Pearson + source/rtl/gtxxx.c + Added new module to allow the GNU Make system to build the GT API * source/rtl/set.c + Added #include <sys/types.h> for GCC, per warning generated by GCC for OS/2 when sys/types.h was not included - Removed obsolete global variable hb_set_fixed * source/rtl/strings.c ! Replaced use of obsolete hb_set_fixed with hb_set.HB_SET_FIXED * tests/working/codebloc.prg ! Corrected the spelling of 'Trying' * tests/working/procline.prg ! Corrected the expected ProcLine() line numbers * tests/working/testcgi.prg ! Initialize cRes variable to "" to get rid of run time error on line 280 Wed Jul 14 20:02:55 1999 Gonzalo A. Diethelm <Gonzalo.Diethelm@jda.cl> * config/bin.cf: * config/c.cf: * config/global.cf: * config/header.cf: * config/lib.cf: * config/rules.cf: * config/win32/bcc32.cf: * config/win32/gcc.cf: * config/win32/icc.cf: * config/win32/msvc.cf: Now there are two sets of variables to control compilation and installation: HB_*_COMPILE points to where to get all the files (binaries, includes, etc.); if not defined, it will pick them off the working repository. HB_*_INSTALL points to where you want to install the files (binaries, includes, etc.) when you issue a "make install". Wed Jul 14 18:20:24 1999 Gonzalo A. Diethelm <Gonzalo.Diethelm@jda.cl> * config/global.cf: * config/rules.cf: * config/dos/djgpp.cf: * config/linux/gcc.cf: * config/win32/gcc.cf: * config/win32/msvc.cf: Now it is not necessary to "install" harbour anywhere. If you do NOT define HB_BIN_DIR, HB_INC_DIR and HB_LIB_DIR, it uses all the files (binaries, headers, libraries, etc.) right off the working repository. * include/Makefile: Updated list of files. 19990714-12:01 Alexander Kresin * source\hbpp\hbpp.c * source\hbpp\hbppint.c * source\hbpp\hbppmain.c * include\hberrors.h * fixed some bugs, including those, needed for classes.ch 19990713-22:30 CET Eddie Runia <eddie@runia.com> - source/runner/run_exp.h + include/run_exp.h run_exp.h moved because of problem with BC 4.5 19990713-20:35 CET Eddie Runia <eddie@runia.com> * source/rtl/tclass.prg Changed standard message Super to __Super * tests/working/clsdata.prg Named class name used instead of Super Tue Jul 13 14:06:03 1999 Gonzalo A. Diethelm <Gonzalo.Diethelm@jda.cl> * include/classes.ch: * include/compat.h: * include/extra.h: * include/super.h: * source/rtl/natmsg/msgbas.c: * source/runner/run_exp.h: * source/runner/runner.c: * tests/broken/clasname.prg: * tests/broken/parexpr.prg: * tests/broken/statics1.prg: * tests/broken/statics2.prg: * tests/broken/vec1.prg: * tests/working/ainstest.prg: * tests/working/and_or.prg: * tests/working/array16.prg: * tests/working/arrayidx.prg: * tests/working/arrays.prg: * tests/working/arrindex.prg: * tests/working/atest.prg: * tests/working/box.prg: * tests/working/byref.prg: * tests/working/calling.prg: * tests/working/cdow.prg: * tests/working/clasinit.prg: * tests/working/classch.prg: * tests/working/classes.prg: * tests/working/clsdata.prg: * tests/working/cmphello.prg: * tests/working/codebl.prg: * tests/working/codebloc.prg: * tests/working/comments.prg: * tests/working/copyfile.prg: * tests/working/dates.prg: * tests/working/dates2.prg: * tests/working/dates3.prg: * tests/working/debugtst.prg: * tests/working/descend.prg: * tests/working/dirtest.prg: * tests/working/docase.prg: * tests/working/dosshell.prg: * tests/working/dupvars.prg: * tests/working/dynobj.prg: * tests/working/empty.prg: * tests/working/exittest.prg: * tests/working/extend1.prg: * tests/working/extend2.c: * tests/working/fib.prg: * tests/working/fileio.prg: * tests/working/filexist.prg: * tests/working/fornext.prg: * tests/working/fornext2.prg: * tests/working/funcarr.prg: * tests/working/guess.prg: * tests/working/hardcr.prg: * tests/working/hello.prg: * tests/working/ifelse.prg: * tests/working/ifinline.prg: * tests/working/inherit.prg: * tests/working/inifiles.prg: * tests/working/initexit.prg: * tests/working/inline.prg: * tests/working/instr.prg: * tests/working/iotest.prg: * tests/working/iotest2.prg: * tests/working/keywords.prg: * tests/working/linecont.prg: * tests/working/longstr.prg: * tests/working/longstr2.prg: * tests/working/mankala.prg: * tests/working/mathtest.prg: * tests/working/mtran.prg: * tests/working/multiarg.prg: * tests/working/nums.prg: * tests/working/objarr.prg: * tests/working/objasign.prg: * tests/working/objects.prg: * tests/working/operat.prg: * tests/working/os.prg: * tests/working/output.prg: * tests/working/overload.prg: * tests/working/passref.prg: * tests/working/procline.prg: * tests/working/procname.prg: * tests/working/readhrb.prg: * tests/working/recursiv.prg: * tests/working/returns.prg: * tests/working/round.prg: * tests/working/rtfclass.prg: * tests/working/rtl_test.prg: * tests/working/say.prg: * tests/working/scroll.prg: * tests/working/seconds.prg: * tests/working/set_num.prg: * tests/working/set_test.prg: * tests/working/spawn.prg: * tests/working/spawn2.prg: * tests/working/statfun.prg: * tests/working/statics.prg: * tests/working/strcmp.prg: * tests/working/strdelim.prg: * tests/working/strings.prg: * tests/working/strings2.prg: * tests/working/strings3.prg: * tests/working/strings4.prg: * tests/working/strip.prg: * tests/working/syserror.prg: * tests/working/t1.prg: * tests/working/test.prg: * tests/working/test10.prg: * tests/working/test_all.prg: * tests/working/testcgi.prg: * tests/working/testcopy.prg: * tests/working/testerro.prg: * tests/working/testfor.prg: * tests/working/testgt.prg: * tests/working/testhbf.prg: * tests/working/testhtml.prg: * tests/working/testid.prg: * tests/working/testinc.prg: * tests/working/testmem.prg: * tests/working/teststr.prg: * tests/working/testtok.prg: * tests/working/testvars.prg: * tests/working/testwarn.prg: * tests/working/transfrm.prg: * tests/working/val.prg: * tests/working/version.prg: * tests/working/while.prg: Added RCS Id keywords to all these files. Got rid of a few '//' comments in C/H files. Added include guards to a few H files. Tue Jul 13 13:44:04 1999 Gonzalo A. Diethelm <Gonzalo.Diethelm@jda.cl> * include/Makefile: * source/rtl/Makefile: * tests/working/Makefile: Updated list of files. * source/rtl/arrays.c: * source/rtl/classes.c: * source/rtl/console.c: * source/rtl/dates.c: * source/rtl/descend.c: * source/rtl/dir.c: * source/rtl/environ.c: * source/rtl/files.c: * source/rtl/hardcr.c: * source/rtl/math.c: * source/rtl/mtran.c: * source/rtl/set.c: * source/rtl/strings.c: * source/rtl/transfrm.c: Protected all uses of #pragma startup so they won't trigger a warning with gcc. * tests/working/inifiles.prg: Fixed a typo. 19990712-23:40 EDT David G. Holm <dholm@jsd-llc.com> * include/hbdefs.h ! The HB_HANDLE type was being defined in the #else section of a #ifdef __IBMCPP__ section instead of being defined for all compilers 19990712-19:30 EDT David G. Holm <dholm@jsd-llc.com> * tests/working/inifiles.prg ! new() no longer returns nil and now checks to see if the file was successfully opened or created before attempting to access it 19990712-19:15 EDT David G. Holm <dholm@jsd-llc.com> * source/rtl/files.c ! hb_fsCreate now creates files that are read-write instead of write-only ! hb_fsRead now returns 0 instead of 65536U after a read() error 19990712-22:00 Eddie Runia <eddie@runia.com> * source/rtl/classes.c Some more test data left in 19990712-19:10 Eddie Runia <eddie@runia.com> * tests/working/*.prg Little inconsistency corrected 19990712-16:52 Antonio Linares <alinares@fivetech.com> * include\classes.ch * Inheritance class creation command support * Enhanced tests\working\classch.prg classes.ch sample 19990712-15:54 Antonio Linares <alinares@fivetech.com> * include\classes.ch * Missing oClass:Create call * Fixed Method INLINE command * Added tests\working\classch.prg classes.ch sample 19990712-13:56 Antonio Linares <alinares@fivetech.com> * include\classes.ch * Added support for CONSTRUCTOR and INLINE Methods 19990712-10:52 Alexander Kresin * source\hbpp\hbpp.c * fixed some bugs of #translate implementation 19990711-21:30 Eddie Runia <eddie@runia.com> * source/rtl/classes.c Debug text removed 19990711-21:15 Eddie Runia <eddie@runia.com> * include/hbdefs.h; include/extend.h; source/rtl/codebloc.c; source/rtl/memvars.c HANDLE changed to HB_HANDLE 19990711-20:25 Ryszard Glab <rglab@imid.med.pl> * include/init.h * all functions and variables declared in this file have to be 'static' * source/vm/initsymb.c * added again #ifdef HARBOUR_STRICT_ANSI_C to call functions for symbols table initialization only when strict ANSI C compiler is used. * include/extend.h + added HB_VALUE structure for storing memvars and detached locals + added hb_struMemvar used in HB_ITEM structure * include/hbdefs.h + added IT_MEMVAR constant for values stored as memvar reference + added IS_MEMVAR macro * source/vm/hvm.c * corrected support for detached local variables + added support for static variables passed by reference * variables passed by reference can be now chained and a reference to static variable can be mixed with a reference to local variable (this should work for memvar variables too) * source/rtl/codebloc.c * corrected support for detached local variables + added copyright info + source/rtl/memvars.c + new file for PUBLIC and PRIVATE variables handling (it supports detached locals currently) * source/rtl/classes.c * updated to use 'ItemUnRef()' function instead of direct stack access * source/rtl/extend.c * updated to use 'ItemUnRef()' function instead of direct stack access * removed all if( pItem->type & IT_BYREF ) and replaced with the *only* correct if( IS_BYREF(pItem) ) * source/rtl/Makefile + added memvars.c file - tests/working/codebl2.c - removed this file because its code is now in codebl.prg file * tests/working/codebl.prg * added new code to test detached locals (donated by David Pearson) * tests/working/byref.prg * added new code to test if Harbour handles variables passed by reference correctly * tests/working/Makefile - removed codebl2.prg * doc/codebloc.txt * updated information to reflect current implementation of codeblocks + config/win32/bcc32.cf + new file for Borland C/C++ Builder (This file is NOT TESTED yet) + config/win32/icc.cf + new file for IBM Visual Age C++ (This file is NOT TESTED yet) * makefile.b16 * makefile.b32 * makefile.icc * makefile.vc + added source/rtl/memvars.c * makedos.env * added '-I.' switch for compiler flags * source/compiler/harbour.l - removed #include "./harboury.h" (it is now handled by makedos.env) * source/tools/stringp.prg * corrected bug in line 101 (':=' should be here instead of '+=' 19990710-23:15 Alexander Kresin * source\hbpp\hbpp.c * fixed some bugs - now we can use classes.ch Old Changelog renamed to Changelog.001 + ChangeLog 19990710-15:00 Ryszard Glab <rglab@imid.med.pl> * tests/working/Makefile + added longstr2.prg 19990710-14:00 Ryszard Glab <rglab@imid.med.pl> * tests/working/Makefile * removed asctest.prg * renamed errorsys.prg to syserror.prg * tests/working/errorsys.prg - renamed to syserror.prg to avoid duplicated symbol ERRORSYS__initSymbols * source/compiler/harbour.y * EXTERN definition is now in 'Statement' section to compile code: if .T. EXTERNAL xx ENDIF 19990709-19:00 Eddie Runia <eddie@runia.com> + tests/working/clsdata.prg Test program supplied by Bruno Cantero * source/rtl/classes.c; source/rtl/tclass.prg inheritance class data bug resolved. 19990709-18:21 Antonio Linares <alinares@fivetech.com> + source/compiler/harbour.l added support for ppo #line token Described line bug was mine. Fixed! + source/compiler/harbour.y added support for ppo #line syntax (including Xbase++ style) 19990709-16:25 Eddie Runia * build32.bat; source/runner/runner.c; source/runner/run_exp.h; tests/working/hb32.bat; tests/working/runrdos.bat - tests/working/runner.c; tests/working/run_exp.h runner moved to /source/runner * source/vm/initsymb.c; include/init.h init symbols no longer worked both on Borland C++ Builder as well as DJGPP + source/compiler/harbour.l include bug for DJGPP resolved * tests/working/ainstest.prg copy error resolved 19990709-20:00 Andi Jahja <andij@aonlippo.co.id> + tests/broken/clasname.prg by Dave Pearson + tests/broken/statics1.prg by Bruno Cantero + tests/broken/statics2.prg by Bruno Cantero 19990709-11:05 CET Eddie Runia <eddie@runia.com> * source/compiler/harbour.y Copyright portable objects added 19990709-10:50 CET Eddie Runia <eddie@runia.com> * tests/working/*.prg identified my tests and moved them to the PD 19990709-10:30 CET Felipe Coury * tests/working/hscript/hscript.prg; tests/working/hscript/*.hs Copyright & GPL inserted 19990708-20:05 EDT David G. Holm <dholm@jsd-llc.com> + Added my email address to my Coypright notice in each of the following: * include/fileio.ch * include/filesys.api * include/filesys.h * include/set.ch * include/set.h * include/version.h * source/rtl/console.c * source/rtl/dates.c * source/rtl/devoutp.prg * source/rtl/set.c * source/rtl/strcmp.c * tests/working/output.prg * tests/working/round.prg * tests/working/scroll.prg * tests/working/seconds.prg * tests/working/version.prg 19990708-18:20 EDT David G. Holm <dholm@jsd-llc.com> * makefile.icc + Have to create a dummy unistd.h in the include directory after running bison and then delete it after building harbour.exe, because GNU bison adds "#include <unistd.h>" for C++ mode, but the IBM Visual Age C++ 3.0 compiler doesn't have such a file. * config/dos/global.cf Added individual -$(RM) commands for *.bak, *.obj, core, and *.o, because the COMMAND.COM DEL command won't take more than one target. * include/fileio.ch + Added copyright and license header and filled in version history * include/filesys.api + Added copyright and license header and filled in version history * include/filesys.h + Added copyright and license header and filled in version history * include/set.ch + Added copyright and license header and filled in version history * include/set.h + Added copyright and license header and filled in version history 19990708-22:00 Bruno Cantero <bruno@issnet.net> CVSed by Andi Jahja <andij@aonlippo.co.id> Applying undocumented calling to _par*() and _stor*() providing a -1 as the first parameter will access the item located at stack.Return instead of accessing the stack parameters include/extend.h: * hb_param * hb_parc * hb_parclen * hb_pards * hb_parl * hb_parnd * hb_parni * hb_parnl * hb_parinfo * hb_storc * hb_storclen * hb_stords * hb_storl * hb_storni * hb_stornl * hb_stornd source/rtl/extend.c: * hb_param * hb_parc * hb_parclen * hb_pards * hb_parl * hb_parnd * hb_parni * hb_parnl * hb_parinfo * hb_storc * hb_storclen * hb_stords * hb_storl * hb_storni * hb_stornl * hb_stornd source/working : * extend1.prg - undocumented feature included * extend2.c - undocumented feature included 19990808-12:18 Antonio Linares <alinares@fivetech.com> * source/vm/hvm.c Added copyright and license information * source/vm/dynsym.c Added copyright and license information * source/compiler/harbour.l Added copyright and license information * source/compiler/harbour.y Added copyright and license information * source/compiler/genobj32.c Added copyright and license information * source/compiler/symbols.asm Added copyright and license information * source/rtl/dates.c Added copyright and license information * source/rtl/console.c Added copyright and license information * source/rtl/extend.c Added copyright and license information * source/rtl/strings.c Added copyright and license information * source/rtl/arrays.c Added copyright and license information * source/rtl/classes.c Added copyright and license information * source/rtl/errorapi.c Added copyright and license information * source/rtl/itemapi.c Added copyright and license information * source/rtl/tclass.prg Added copyright and license information * source/rtl/error.prg Added copyright and license information * source/rtl/errorsys.prg Added copyright and license information * source/rtl/errorapi.prg Added copyright and license information * include/classes.ch New Harbour file for classes creation commands * include/compiler.h Added copyright and license information * include/ctoharb.h Added copyright and license information * include/errorapi.h Added copyright and license information * include/extend.h Added copyright and license information * include/init.h Added copyright and license information * include/itemapi.h Added copyright and license information * include/pcode.h Added copyright and license information 19990808-10:15 Eddie Runia <eddie@runia.com> * source/rtl/transfrm.c header change 19990708-14:00 Andi Jahja <andij@aonlippo.co.id> * source/rtl/file.c Change per Paul for MSC 19990708-14:00 Bruno Cantero <bruno@issnet.net> CVSed by Andi Jahja <andij@aonlippo.co.id> include/extend.api + #define _reta hb_reta * change hb_storlen to hb_storclen source/rtl/extend.h + declaration of hb_reta source/rtl/extend.c :) wArrayIndex use now completely implemented + #include <itemapi.h> * hb_storc * hb_storclen * hb_stords * hb_storl * hb_storni * hb_stornl * hb_stornd tests/working : * extend1.prg * extend2.c 19990705-14:10 Alexander Kresin * source\hbpp\hbpp.c * source\hbpp\table.c * source\hbpp\hbppmain.c * source\hbpp\hbppint.c * include\hberrors.h * Implemented genError() for preprocessor + Added copyright and license information 19990707-23:10 EDT David G. Holm <dholm@jsd-llc.com> + harbour.b31 + Separate harbour.exe makefile, so that it is possible to build 16-bit Harbour programs using a 32-bit compiler and the 16-bit libraries or by using a 16-bit compiler and libraries. * makefile.icc + Put bison and flex back into operation after finding OS/2 versions of each that work as expected: gnubison.zip and flex254-2.zip from https://www.leo.org/pub/comp/os/os2/leo/gnu/index.html * include/init.h ! Missing ; after return 1 in HB_STARTUP_SYMBOLS_END for MSC and IBMCPP * source/rtl/transfrm.c ! Missing ; after HB_INIT_SYMBOLS_END 19990707-20:45 EDT David G. Holm <dholm@jsd-llc.com> * doc/gmake.txt + Added NOTES section with steps needed for a clean build * include/version.h + Added copyright and license header and filled in version history * source/rtl/console.c + Added copyright and license information for functions that I wrote * source/rtl/dates.c + Added copyright and license information for functions that I wrote * source/rtl/math.c + Added copyright and license information for function that I wrote * source/rtl/strcmp.c + Added copyright and license information for function that I wrote * tests/working/output.prg + Added copyright and license information * tests/working/round.prg + Added copyright and license information * tests/working/scroll.prg + Added copyright and license information * tests/working/seconds.prg + Added copyright and license information * tests/working/version.prg + Added public domain information 19990708-01:33 Bruno Cantero <bruno@issnet.net> CVSed by Andi Jahja <andij@aonlippo.co.id> source/rt/arrays.c * hb_arrayGetDate() - fixed warning : function returns address of local variable. include/extend.api + #define _parinfa hb_parinfa include/extend.h + declaration hb_parinfa source/rtl/extend.c: * hb_parinfa - now return long tests/working : + extend1.prg + extend2.c These are test programs for Harbour extend system 19990707-20:50 Eddie Runia <eddie@runia.com> - tests/working/asctest.prg not an original work 19990707-20:10 Eddie Runia <eddie@runia.com> * tests/working/mankala.prg; tests/working/transfrm.prg; tests/working/debugtst.prg; tests/working/readhrb.prg; tests/working/strip.prg; tests/working/inherit.prg; tests/working/guess.prg Copyright added (why not) 19990707-19:40:00 Eddie Runia <eddie@runia.com> * source\rtl\asort.prg; source\rtl\objfunc.prg; source\runner\runner.c; tests\working\runner.c; source\tools\debug.c; source\tools\stringp.prg GPL Licensing added * source\rtl\console.c; source\rtl\environ.c; source\rtl\tclass.prg Partial Copyright added 19990707-16:22:20 Bruno Cantero <bruno@issnet.net> CVSed by Andi Jahja <andij@aonlippo.co.id> * source/rtl/natmsg/msgspa.c 19990707-16:20:20 Bruno Cantero <bruno@issnet.net> CVSed by Andi Jahja <andij@aonlippo.co.id> source/rtl/arrays.c + hb_arrayGetDate - retrieves the date value contained on an array element include/extend.h: + hb_arrayGetDate protoype source/rtl/extend.c * hb_pards - wArrayIndex use when retrieving date value of an array element implemented 19990707-11:10 Alexander Kresin * source\compiler\harbour.l * source\compiler\harbour.y * include\hberrors.h * changed calls of genError() function for implementing it to preprocessor * from harbour.y removed some lines related to #include implementation 19990706-23:35 EDT David G. Holm <dholm@jsd-llc.com> * source/rtl/set.c + Added header template and filled in complete version history by cross- referencing ChangeLog and the output from "cvs log source/rtl/set.c". 19990706-22:40 EDT David G. Holm <dholm@jsd-llc.com> * doc/hdr_tpl.txt - Removed "(C)" from Copyright notice + Put author's name rather than date next to each version number, because the RCS tracks dates, but only tracks CVS user names, not author names. + Added version comment for Viktor Szakats's change * source/compiler/fixflex.c + Placed under GPL * source/rtl/devoutp.prg - Removed "(C)" from Copyright * Updated previous version comments 19990707-03:48 CET Viktor Szakats * doc/hdr_tpl.txt * Description line changed to be a template, too. * source/rtl/natmsg/msghu.c tests/working/rtl_test.prg + Copyright notice added. 19990707-22:25:59 Bruno Cantero <bruno@issnet.net> CVSed by Andi Jahja <andij@aonlippo.co.id> source/rtl/extend.c * hb_parni - wArrayIndex use when retrieving an array element implemented * hb_parnl - wArrayIndex use when retrieving an array element implemented 19990706-16:30 Eddie Runia * source/rtl/asort.prg; source/rtl/objfunc.prg; source/runner/runner.c; source/tools/debug.c; source/tools/stringp.prg; source/rtl/transfrm.c Copyright assertions made. * source/rtl/strcmp.c; source/rtl/classes.c Partial copyright assertion made 19990706-20:15 Bruno Cantero <bruno@issnet.net> CVSed by Andi Jahja <andij@aonlippo.co.id> => retrieve the logical value contained on an array element => retrieve the double value contained on an array element source/rtl/arrays.c + internal hb_arrayGetBool + internal hb_arrayGetDouble source/rtl/extend.c * hb_parnl * hb_parnd include/extend.h + hb_arrayGetBool prototye + hb_arrayGetDouble prototype 19990705-14:10 Alexander Kresin * source\hbpp\hbpp.c * fixed some warnings * source\hbpp\table.c * fixed bugs in table, reported by David G. Holm 19990704-23:45 EDT David G. Holm <dholm@jsd-llc.com> * makefile.b16 + Added devoutp * makefile.b31 + Added devoutp * makefile.b32 + Added devoutp * makefile.icc + Added devoutp * makefile.vc + Added devoutp + Added commands to compile .prg to .c * include/dates.h + Added date format parameter to hb_dtoc() * source/rtl/Makefile + Added devoutp * source/rtl/console.c ! Corrected non-GT API version of DISPBOX() to also draw lines + Added date format parameter to call to hb_dtoc() * source/rtl/dates.c + Added date format parameter to hb_dtoc() instead of always using hb_set.HB_SET_DATEFORMAT, so that TRANSFORM() can use it + Added hb_set.HB_SET_DATEFORMAT as parameter in call to hb_dtoc() + source/rtl/devoutp.prg + New module for HARBOUR DEVOUTPICT(<xExp>,<cPict>,[<cColor>]) * source/rtl/gtapi.c ! Corrected hb_gtBox to also draw lines * source/rtl/strings.c + Added hb_set.HB_SET_DATEFORMAT as parameter in call to hb_dtoc() * source/rtl/transfrm.c ! Corrected date transformation to call hb_dtoc() with either hb_set.HB_SET_DATEFORMAT, the 2-digit year british date format, or the 4-digit year british date format (depending upon the use of the format function "@E" and the setting for SET CENTURY + tests/working/say.prg + Demonstrates DEVPICT() by use of @ ... SAY ... PICTURE ... 19990704-18:50 EDT David G. Holm <dholm@jsd-llc.com> * include/ctoharb.h * Converted length parameter in PushString to ULONG in order to support strings longer than 64 KiB * include/errorapi.h + Added hb_errorRT_TERMINAL() wrapper function * include/gtapi.h + Added support for strings longer than 64 KiB * include/hbsetup.h + Added optional HARBOUR_LANGUAGE_<nl> manifest constant to select which national language will be in the RTL library created by the GNU Make System * include/set.h + Added extern int hb_set_extrahan; + Limited size of SET strings to 64 KiB or less * source/rtl/console.c * Made various changes after running through Gimpel Lint + Added support for HB_SET_EXTRAFILE * source/rtl/environ.c + Added OS() support for DJGPP - Removed OS/2 check from non-OS/2 section of OS() * source/rtl/errorapi.c + Added hb_errorRT_TERMINAL() wrapper function * source/rtl/gtapi.c + Added support for strings longer than 64 KiB * source/rtl/msgxxx.c ! Changed from using #if (HB_LANGUAGE == <nl> to using #if defined(HB_LANGUAGE_<nl>) with a default of UK * source/rtl/set.c * Made various changes after running through Gimpel Lint + Added call hb_errorRT_TERMINAL() wrapper function upon failure to create an alternate file and/or a printer file (and/or an extra file, even though I still don't know have any idea as to what it is used for) + Added support for HB_SET_EXTRAFILE + Added support for strings longer than 64 KiB * source/vm/hvm.c * Converted length parameter in PushString to ULONG to allow for strings longer than 64 KiB (Note: 16-bit programs and constant strings in source files are still limited to 64 KiB) ! Corrected Instring() to call hb_strat() with the entire first string as the first parameter instead of looping to check if each character in the first string is in the second string + tests/working/longstr2.prg + Demonstrates the creation and output of short, long, and very very long strings (10 bytes, 40960 bytes, and 1310720 bytes) * tests/working/output.prg + Added demonstration of _SET_EXTRAFILE 19990704-16:20 Ryszard Glab <rglab@imid.med.pl> * include/init.h * changed definitions of HB_INIT_SYMBOLS_* and HB_CALL_ON_STARTUP_* to make it more consistent. The symbol table should be defined now: HB_INIT_SYMBOLS_BEGIN( moduleName__InitSymbols ) { "FIRST", FS_PUBLIC, HB_FIRST, 0}, /* more symbols */ HB_INIT_SYMBOLS_END( moduleName__InitSymbols ); * source/compiler/harbour.y * changed generated C code to support new HB_INIT_SYMBOLS_* macros * source/rtl/arrays.c * source/rtl/classes.c * source/rtl/console.c * source/rtl/dates.c * source/rtl/descend.c * source/rtl/dir.c * source/rtl/environ.c * source/rtl/files.c * source/rtl/hardcr.c * source/rtl/math.c * source/rtl/mtran.c * source/rtl/set.c * source/rtl/strings.c * source/rtl/transfrm.c * changed to use he new definition of HB_INIT_SYMBOLS_* and HB_CALL_ON_STARTUP_* macros * tests/working/box.prg * changed "BOX.CH" to lowercase (Linux is case-sensitive OS) 19990702-09:08 Alexander Kresin * source\hbpp\hbpp.c * Changed logic for fixing some problems * source\hbpp\hbppint.c * source\hbpp\hbppmain.c * changed code for accepting #line sentences 19990702-00:30 EDT David G. Holm <dholm@jsd-llc.com> * makefile.b31 * Changed -DUSE_GTAPI to -DHARBOUR_USE_GTAPI + Added module hb_f + Added module copyfile 19990701-22:30 EDT David G. Holm <dholm@jsd-llc.com> * makefile.icc * Changed -DUSE_GTAPI to -DHARBOUR_USE_GTAPI * source/rtl/console.c ! HB_CALL_ON_STARTUP_END() must be called from inside the function that was defined using HB_CALL_ON_STARTUP_START() * source/rtl/environ.c ! No #includes are allowed ahead of #ifdef __IBMCPP__ 19990630-19:35 EDT David G. Holm <dholm@jsd-llc.com> * source/rtl/errorapi.c - Removed assignment of default severity value. * source/rtl/error.prg + Added default values to all member variables (which is the correct permanent solution). 19990630-19:25 EDT David G. Holm <dholm@jsd-llc.com> * source/rtl/errorapi.c * Changed the default severity value in hb_errNew() to ES_WHOCARES as the permanent solution (matches Clipper). 19990630-17:45 EDT David G. Holm <dholm@jsd-llc.com> * source/rtl/errorapi.c + Added a default severity value of ES_ERROR in hb_errNew() as a temporary workaround to the error severity problem. * source/rtl/errorsys.prg - Removed CHR(13)+CHR(10) from QOUT() of error message, because Clipper doesn't have a blank line between the error message and the error trace. 19990630-02:10 EDT David G. Holm <dholm@jsd-llc.com> * harbour.b31 - Removed -DHARBOUR_STRICT_ANSI_C * makefile.b31 - Removed -DHARBOUR_STRICT_ANSI_C * include/init.h - Removed #pragma startup * source/compiler/harbour.y + Added output for #pragma startup in C generation * source/rtl/arrays.c + Added #pragma startup * source/rtl/classes.c + Added #pragma startup * source/rtl/console.c + Added #pragma startup * Made InitializeConsole() a startup function * source/rtl/dates.c + Added #pragma startup * source/rtl/descend.c + Added #pragma startup * source/rtl/dir.c + Added #pragma startup * source/rtl/environ.c + Added #pragma startup * source/rtl/files.c + Added #pragma startup * source/rtl/hardcr.c + Added #pragma startup * source/rtl/math.c + Added #pragma startup * source/rtl/mtran.c + Added #pragma startup * source/rtl/set.c + Added #pragma startup * source/rtl/strings.c + Added #pragma startup * source/rtl/transfrm. + Added #pragma startup * source/vm/hvm.c - Removed InitializeConsole() 19990629-23:00 EDT David G. Holm <dholm@jsd-llc.com> * build31.bat + Added option to build 16-bit harbour.exe instead of just the harbour libraries by using "build31 hb" instead of "build31" * makefile.b31 - Moved everything to do with harbour.exe to harbour.b31 + Added dir and msguk + harbour.b31 + Split out from makefile.b31 + Added preprocessor files * source/compiler/fixflex.c + Switched from using a series of if statements for the smaller large files to using an array of table names and a for loop - Removed yy_acclist from new array * source/vm/hvm.c * Changed a few error messages from "types not match..." to "types do not match..." * tests/working/Makefile * Changed order in which library files are included 19990630-00:25 Ryszard Glab <rglab@imid.med.pl> * include/init.h * the HB_INIT_SYMBOLS in now divided into HB_INIT_SYMBOLS_BEGIN and HB_INIT_SYMBOLS_END to support Borland C compilers. * include/hbdefs.h * added missing changes related to new HB_ITEM * source/compiler/harbour.y * corrected line continuation bug (the parse parameters was counted incorrectly) * the compiler generates code to use HB_INIT_SYMBOLS_* macros for symbol table initialization * source/rtl/*.c * corrected some missing code related to new HB_ITEM * changed code that registers local symbol table (it uses HB_INIT_SYMBOLS_* macros now) * source/tools/debug.c * changed code to support new HB_ITEM structure 19990629-05:55 Ryszard Glab <rglab@imid.med.pl> * Tagged all sources with the name 'release_old_item' You can download old version by issuing tthe following command: cvs checkout -r release_old_item harbour (be sure to checkout into new directory) To check tag names for file use: cvs status -v <filename> * include/extend.h * changed definition of HB_ITEM structure * include/init.h * added HB_INIT_SYMBOLS and HB_CALL_ON_STARTUP macros * include/hbsetup.h * renamed HB_STRICT_CLIPPER_COMPATIBILITY to HARBOUR_STRICT_CLIPPER_COMPATIBILITY + added HARBOUR_STRICT_ANSI_C definition * source/vm/hvm.c * changed to use the new HB_ITEM * source/initsymb.c * changed to use HARBOUR_STRICT_ANSI_C * source/rtl/*.c * changed to use the new HB_ITEM * changed to automatically register symbol table *source/tools/stringsx.c * removed direct access to Harbour internals HB_ITEM structure * source/compiler/harbour.l * corrected line continuation bugs * source/compiler/harbour.y * corrected line continuation bug * tests/working/linecont.prg * added some more code for testing line continuation 19990628-23:30 EDT David G. Holm <dholm@jsd-llc.com> * source/tools/hb_f.c * Undid previous type change for x in hb_hbfskip(), because it causes a serious problem in an attempt to avoid a warning. The strange thing is that GCC (DJGPP) doesn't complain either way, even with -pedantic enabled. 19990628-21:50 EDT David G. Holm <dholm@jsd-llc.com> * source/compiler/harbour.y * Changed fopen() call used to create .PPO files from using mode "wt", which is not ANSI-C compliant, to "w", which is the ANSI-C way to create or open/truncate a text mode file. 19990627-23:50 CET Viktor Szakats * source/compiler/harbour.l ! Fixed line number bug. (LINE opcode, PROCLINE(), error messages) * tests/working/procline.prg tests/working/copyfile.prg tests/working/copyfile.txt + Added. 19990627-16:30 CET Viktor Szakats * source/rtl/strings.c source/rtl/set.c (added four Clipper errors) source/rtl/math.c source/rtl/environ.c source/rtl/transfrm.c source/rtl/dates.c source/rtl/arrays.c (partially) + Using error launcher wrapper + Made launched errors Clipper compatible. ! Some incompatibilities fixed in error handling (RTRIM, TRIM, ...) * source/rtl/errorsys.prg + Builds error message text like Clipper. * source/rtl/copyfile.c % Optimized var scoping, var naming + Error handling enhanced, using error launcher wrapper. + HB_STRICT_CLIPPER_COMPATIBILITY mode added. ! BYTEP -> char* for strings ! char* -> PBYTE for buffer % Copy loop optimized + Error handling added to copy loop + Notes added about Clipper compatibility, todos, questions. * source/vm/hvm.c * "DUNNO" -> "UNKNOWN" 8) * makedos.env + HARBOUR.EXE called with -i parameter, to be able to include .CH files (probably should be added to other make environments, too.) 19990627-09:00 "Paul Tucker" <ptucker@sympatico.ca> * source/hbpp/hbpp.c - change lines from 1246 to 1257 19990626-13:35 Ryszard Glab <rglab@imid.med.pl> * source/rtl/copyfile.c * added code to copy also the file permissions on *nix * source/rtl/files.c * 'access' function should use F_OK constant instead of 0 on *nix 19990626-13:12 Ryszard Glab <rglab@imid.med.pl> * tests/working/Makefile * removed MAKECMDGOALS logic 19990626-06:20 Ryszard Glab <rglab@imid.med.pl> * source/compiler/harbour.l * corrected line continuation bugs - removed yy_lex_count_lf function since this is handled by preprocessor now * restored the END rule * tests/working/linecont.prg * moved from tests/broken to tests/working * tests/working/Makefile + added linecont.prg to BAD_PRG_SOURCES section * doc/gmake.txt * updated list of supported compilers 19990625-20:15 EDT David G. Holm <dholm@jsd-llc.com> * tests/working/inifiles.prg - Added an error message that displays when the specified section number is larger than the number of sections in the .INI file * tests/working/testcgi.prg - Added test to skip WHILE loop if list.txt couldn't be opened * tests/working/teststr.prg - Corrected spelling of _SET_FIXED Fri Jun 25 18:27:43 1999 Gonzalo A. Diethelm <Gonzalo.Diethelm@jda.cl> * include/Makefile: * tests/working/Makefile: Updated the file list. * tests/working/dirtest.prg: Made the output easier to be read. 19990624-21:10 EDT David G. Holm <dholm@jsd-llc.com> * source/compiler/harbour.l - Corrected logic in if block that prints spurious error message when using END with a DO or WHILE to actually check the while counter - Changed from printf() error message to GenError( ERR_ENDIF ) 19990625-01:05 CET Viktor Szakats * include/extend.h include/dates.h source/rtl/extend.c source/rtl/itemapi.c source/rtl/transfrm.c source/rtl/dates.c makefile.b31 makefile.icc hb_date*() function definitions moved to dates.h, all required changed made in sources. ! source/rtl/copyfile.c buffer size 8096 -> 8192 * source/rtl/types.h SYMBOL_UNUSED() -> HB_SYMBOL_UNUSED() + source/rtl/errorapi.c, include/errorapi.h Added return value to hb_errorRT_BASE() ! test.ch removed again from /include ! cgi.ch added again to tests/working/hscript * source/rtl/mtran.c source/rtl/hardcr.c (fixed) changes by Jose Lalin. * include/*.h, include/*.api Clean-ups, headers added, HB_ prefixes, minor fixes. * include/set.h source/rtl/set.c source/vm/hvm.c InitializeSets() -> hb_setInitialize() ReleaseSets() -> hb_setRelease() * types.h -> hbdefs.h include\extend.h include\hbdefs.h include\makefile include\set.h source\compiler\genobj32.c source\compiler\harbour.l source\compiler\harbour.y source\compiler\makefile source\hbpp\harb.h source\vm\initsymb.c gt.b32 makefile.b16 makefile.b31 makefile.b32 makefile.icc terminal.b32 19990624-19:30 EDT David G. Holm <dholm@jsd-llc.com> * makefile.icc - environ.c needs to be dependent upon version.h * include/version.h - Bumped revision code to "c" (still build 27) 19990624-23:20 CET Kwon, Oh-Chul * source/rtl/natmsg.xxx Korean added * source/rtl/natmsg/msgkor.c Korean language file 19990624-15:40 EDT David G. Holm <dholm@jsd-llc.com> * doc/hdr_tpl.txt - Added proposed HRL/HVM license exception for executables. - Added GNU website address. - Replaced "?" in copyright statement with "(list of individual authors)". 19990624-15:15 EDT David G. Holm <dholm@jsd-llc.com> * makefile.b31 - Removed genobj * makefile.icc - removed genobj * source/rtl/copyfile.c - Added type override to hb_xgrab() call * source/rtl/files.c - Removed test printf() calls that I forgot to remove from hb_fsWrite() after debugging hb_fsCreate() last night * source/rtl/set.c - Minor change in last if block in HB___SETCENTURY() to avoid a signed/unsigned comparison complaint by some compilers. * source/tools/hb_f.c - In hb_hbfskip(), made x the same type as read_len to avoid a signed/unsigned comparison complaint by some compilers. * tests/working/Makefile - Added box.prg * tests/working/test_all.prg - Added optional second command line parameter. If not used, testall.bat uses call, otherwise it uses the command shell specified and automatically adds /c. Examples: test_all hbdos ==> call hbdos ainstest test_all hbdos command ==> command /c hbdos ainstest 19990624-13:40 EDT David G. Holm <dholm@jsd-llc.com> * source/rtl/gt/gtwin.c - New functions for gtWhereX() and gtWhereY() contributed by Paul Tucker - Removed all occurrences of strlen(), replacing them either with a parameter string length or a calculated string width 19990624-19:17 CET Felipe Coury + tests/working/hscript/ugly.hs additional test file * tests/working/hscript/hscript.prg * tests/working/hscript/readme.txt new version Thu Jun 24 12:25:30 1999 Gonzalo A. Diethelm <Gonzalo.Diethelm@jda.cl> * include/Makefile: Added the following files: box.h, compat.h, extra.h, super.h, box.ch, color.ch, rdd.api. * source/rtl/Makefile: Added copyfile.c. * source/rtl/errorsys.prg: Changed an END to an ENDDO, to avoid Harbour compilation errors. 19990624-13:00 WIB Andi Jahja <andij@aonlippo.co.id> * source/rtl/copyfile.c - add run time error 19990623-23:25 EDT David G. Holm <dholm@jsd-llc.com> * source/rtl/console.c - The non-GT API version of DISPBOX() was creating boxes that were one column and one row to small. 19990623-23:00 EDT David G. Holm <dholm@jsd-llc.com> * source/rtl/copyfile.c - Renamed _fsCopy to hb_fsCopy(), in case we decide to make it available to other internal Harbour functions later. * source/rtl/files.c - Solved the apparent read only problem with hb_fsCreate(). The problem turned out to be that errno is set to an error value if open() has to create the file instead of opening and truncating. And because hb_fsCreate() wasn't checking the return value before saving errno for hb_fsError(), an error would be indicated if the file had to be created. But now test/working/testcopy works even when newprog.prg (the destination for the COPY TO command) doesn't exist. 19990623-22:05 EDT David G. Holm <dholm@jsd-llc.com> Code has been added to the following two modules to return the correct number of decimal places for floating point results. * source/rtl/descend.c * source/rtl/math.c 19990623-21:50 EDT David G. Holm <dholm@jsd-llc.com> Oops! I accidentally left the HB_USE_STRICMP and HB_USE_STRCASECMP stuff in these two files. It's really gone now... * include/hbsetup.h * source/rtl/strcmp.c 19990623-21:30 EDT David G. Holm <dholm@jsd-llc.com> * makefile.b31 - Added support for source/rtl/copyfile.c - source/rtl/genobj.c was moved to source/contrib * makefile.icc - Added support for source/rtl/copyfile.c + include/box.ch - New include file contributed by Phil Barnett + include/box.h - Moved all border type manifest constants from gtapi.h - Removed leading underscores + include/color.ch - Moved all color attribute manifest constants from gtapi.h - Removed leading underscores * include/gtapi.h - Moved all manifest constants for color attributes to color.ch - Added #include <color.ch> - Removed all manifest constants for cursor types - Added #include <setcurs.ch> - Moved all manifest constants for border types to box.h - Added #include <box.h> * include/hbsetup.h - Added HB_STRICT_CLIPPER_COMPATIBILITY * source/compiler/harbour.l - Corrected yy_lex_count_lf per Paul Tucker * source/rtl/console.c - Added minimal DISPBOX() support for those without a working GT API based on code contributed by Phil Barnett * source/rtl/dates.c - Added #include <hbsetup.h> - Added HB to front of _STRICT_CLIPPER_COMPATIBILITY and _OPTIMIZE_DTOS manifest constants * source/rtl.gtapi.c - Removed leading underscores from former gtapi.h manifest constants * source/rtl/math.c - Set the default number of decimal digits after call to EXP(), LOG(), and SQRT() - Always return the value from the C/C++ compiler's log() function. Even when the HARBOUR LOG() argument is less than or equal to zero, in which case set the display width to 99 to indicate overflow. * source/rtl/strcmp.c - Removed ability to use library functions stricmp() or strcasecmp() * source/rtl/strings.c - Added #include <hbsetup.h> - Added #ifdef HB_STRICT_CLIPPER_COMPATIBILITY to determine whether to use Clipper overflow indication (a string of asterisks) or to use the C/C++ compiler's indication (+/-Infinity and/or +/-Not a Number) - Added support for date and numeric arguments for first parameter in all PAD functions (PADC, PADL, PADR) * source/rtl/gt/gtdos.c - Removed leading underscores from former gtapi.h manifest constants * source/rtl/gt/gtwin.c - Removed leading underscores from former gtapi.h manifest constants - Changed all malloc() calls to hb_xgrab() * source/vm/hvm.c - In ForTest(), the number of decimal digits was being accessed before the loop counter was popped off the stack instead of after + tests/broken/cbtest.prg - Illustrates codeblock problem pointed out by Dave Pearson + tests/working/box.prg - New test program to demonstrate the use of DISPBOX() based on code contributed by Phil Barnett 19990624-08:00 WIB Andi Jahja <andij@aonlippo.co.id> * source/rtl/copyfile.c - function name now upper case - change filesys.api to filesys.h - add hb_ prefix to internal calls 19990623-22:30 WIB Andi Jahja <andij@aonlippo.co.id> + tests/working/testcopy.prg + source/rtl/copyfile.c - __CopyFile() clone * makefile.b32 to include __copyfile() 19990623-19:30 WIB Andi Jahja<andij@aonlippo.co.id> + tests/working/rtfclass.prg 19990623-01:00 CET Viktor Szakats ! source/rtl/asort.prg Added patch posted by Dave Pearson <davep@hagbard.demon.co.uk> quicksort() is STATIC now. + source/rtl/types.h SYMBOL_UNUSED() macro added. 19990622-00:35 Ryszard Glab <rglab@imid.med.pl> * source/compiler/harbour.y * source/compiler/harbour.l * removed some unnecessary rules * added the very begginning of MEMVAR support * include/compiler.h + added pMemvars member to _FUNC structure 19990622-14:00 CET Viktor Szakats * source/rdd/rdd.api moved to /include 19990621-19:09 CET Viktor Szakats ! source/rtl/asort.prg source/rtl/objfunc.prg Got rid of the references to Default() + Added msgcz852.c, msgczkam.c, msgyu852.c to source/rtl/natmsg/ source/rtl/msgxxx.c posted by Davor Siklic <siki@uhkt.cz> + Added cgi.ch to tests/working/hscript/, too. + source/rtl/environ.c Added patch posted by Dave Pearson <davep@hagbard.demon.co.uk> 19990622-00:22 Ryszard Glab <rglab@imid.med.pl> * config/prg.cf * config/test.cf * corrected to support creation of executables that don't contain extension 19990621-19:00 CET Ad Franse + source/rdd/rdd.api + include/compat.h; include/super.h; include/compat.h First version of the rdd added Mon Jun 21 12:14:15 1999 Gonzalo A. Diethelm <Gonzalo.Diethelm@jda.cl> * include/Makefile: Got rid of cgi.ch. * source/compiler/Makefile: Got rid of all ^M characters. 19990621-13:27 CET Viktor Szakats * source/compiler/harbour.y GCC warnings fixed. * source/contrib/genobj.c removed, as suggested by "Antonio Linares" <alinares@fivetech.com> 19990621-13:27 Alexander Kresin updated: * source\hbpp\hbpp.c * source\hbpp\buildgcc.bat * source\hbpp\makefile.b16 * source\hbpp\makefile.b32 * source\compiler\harbour.l Now keywords.prg compiles Ok. Updated makefiles for standalone version of preprocessor. From harbour.l removed all stuff related to early implementation of preprocessor functionality. 19990621-11:50 CET Viktor Szakats * source/compiler/harbour.y Some old PCODE name changed to new in debug_msg messages. 19990621-04:04 CET Viktor Szakats * include/errorapi.h - Some additions, note the copyright message at the beginning, as the final text gets done, we should put similar header to each file. ! include/hbsetup.h - USE_GTAPI was mistakenly left defined. + include/errorapi.h include/error.api source/rtl/errorapi.c The rest of the ERROR API functions implemented. . hb_errorRT_BASE() implemented. + doc/hdr_tpl.txt - added templates for file and function headers. 19990621-01:30 CET Viktor Szakats * whatsnew.txt moved to doc/ directory. * doc/hrb.faq renamed to hrb_faq.txt + tests/broken/vec1.prg readded. 19990621-00:57 CET Viktor Szakats * include/*.h Some code beatifying. * include/types.h/_PCOUNT renamed back to PCOUNT + IT_MEMOFLAG and IT_MEMO types added to include/extend.h and include/types.h * TEST.CH moved from /include to tests/working ! include/gt.api - _gtBox double define fixed. ! include/extend.api - _param removed since it's not standard Clipper. ! include/item.api - Fixed obsolete references to Array*() functions changed since to hb_array*() ! source/rtl/console/hb_setpos() - Fixed one warning. 19990621-00:37 Ryszard Glab <rglab@imid.med.pl> * config/dos/watcom.cf * changed invocation of 'echo' command to overcome problems with too small space for environment variables. Note also that it is possible that you will have to increase this space at DOS startup (for example add SHELL=C:\command.com C:\ /E:2048 /P to config.sys) * removed some variables that can be expanded directly * config/dos/global.cf * all '\' are now replaced with '/' in COMSPEC variable to shell from make utility succesully + added check to not include this file recursively * config/dos/djgpp.cf * removed some unnecessary data * config/linux/gcc.cf * created executables have no extension now * config/win32/gcc.cf * config/win32/msvc.cf + added missing CC_IN variable * config/c.cf * config/global.cf * config/lib.cf * config/rules.cf + added dependency on header files for YACC and LEX sources * some rules or variables got clarified * source/compiler/Makefile + added dependency on header files * include/Makefile + added missing hbpp.h * makewat.env, makefile.wat - removed from repository - replaced by GNU make (dos/watcom.cf) * makefile.gcc, readmake.txt, tests/tests.mk - removed from repository - replaced by GNU make (gcc.cf) 19990620-23:40 CET Viktor Szakats * source/compiler/harbour.y Finished the required modifications for the PCODE name change. 19990620-21:40 CET Viktor Szakats * source/compiler/harbour.y source/compiler/genobj32.c source/vm/hvm.c source/runner/runner.c tests/working/runner.c include/pcode.h All PCODE constants prefixed with HB_P_ NOOP opcode added Reference to pcode.h was removed from runner.c 19990620-21:40 CET Viktor Szakats * source/rtl/console.c missed those hb_ prefixes... 19990620-21:00 CET Viktor Szakats * CGI.CH moved to /tests/working/ 19990620-20:00 CET Viktor Szakats * source/rtl/gtapi.c hb_gtGetColorStr() fixed, so that is doesn't require that the passed memory should be zero terminated, checks for null pointer. * source/rtl/console.c 64 -> CLR_STRLEN Added DISPBOX(), DISPBEGIN(), DISPEND(), DISPCOUNT(), ISCOLOR(), NOSNOW() HB_DEVOUT() cleaned up. * source/rtl/gt/gtdos.c source/rtl/gt/gtwin.c Using manifest constants. Cursors sizes in DOS made exactly compatible with Clipper. Removed not Clipper compatible cursor type 5, changed to NONE. 19990620-22:29 Alexander Kresin updated: * source\hbpp\hbppmain.c * source\hbpp\hbpp.c * source\hbpp\harb.h Fixed some problems with preprocessor 19990620-15:50 CET Viktor Szakats * hb_gtBox() rewritten. It's now 100% Clipper compatible, fill character supported, undocumented frame string padding supported. Leaves the cursor at the same place as Clipper does. Handling of empty or short frame string parameter fixed. Bit slower. source/rtl/gtapi.c 19990620-02:40 Ryszard Glab <rglab@imid.med.pl> * config/bin.cf * config/lib.cfg * config/rules.cf * config/linux/gcc.cf * config/win32/gcc.cf * config/win32/msvc.cf * config/dos/dir.cf * config/dos/djgpp.cf * config/dos/global.cf * config/dos/install.cf + config/dos/watcom.cf * added support for other compilers not compatible with gcc (there were gcc switches hardcoded into common rules) New compiler: Watcom C/C++ 10.0 * changed rules for DJGPP - the Makefile can be used now to create harbour with DJGPP. The makedos.env and makefile.dos are obsolete now. * cleared the use of '\' and '/' in make rules for DOS environment * the make looks now for COMSPEC variable to locate the command.com in DOS environment * changed the rule for creating DJGPP library (archive) to use script file instead of command line - there is a limit of 128 characters that can be placed into command line in DOS + include/hbpp.h + new file with definition shared by the preprocessor and harbour.y (needed to match the declaration of AddDefine function) * source/hbpp/harb.h * changed to include the new hbpp.h file * source/compiler/harbour.y * changed the declaration of yy_create_buffer to make it compatible with C++ compilers * added inclusion of hbpp.h (to keep C++ compilers happy with AaddDefine function) * source/compiler/harbour.l + added #pragma to suppress warnings of unreachable code when compiled with Watcom C++ compiler 19990619-14:35 CET Matteo Baccan * makefile.vc, source/hbpp/hbpp.c, source/hbpp/hbppint.c, source/rtl/environ.c, source/rtl/files.c, source/rtl/gt/gtwin.c, source/tools/hb_f.c Patches to allow for succesful compilation with MS Visual C++ 19990619-14:00 Ryszard Glab <rglab@imid.med.pl> * tests/working/testcgi.prg * tests/working/testinc.prg * changed the names of included files into lowercase * include/extend.h + added include <hbsetup.h> * source/rtl/set.c + files created by SET PRINTER TO or SET ALTERNATE TO have now changed permissions to write/read by user on Unix like OS 19990619-12:22 Ryszard Glab <rglab@imid.med.pl> * include/hbsetup.h + added automatic definition of settings that can be used for OS specific code OS_UNIX_COMPATIBLE -for Unix like systems OS_DOS_COMPATIBLE -for DOS like systems * source/rtl/console.c + added calls for fgets instead of gets for GCC on Unix-es TODO: check if this change can be applied on DOS also * changed CR/LF use to LF for GCC on Unix-es * source/rtl/dir.c * changed to use OS_UNIX_COMPATIBLE/OS_DOS_COMPATIBLE settings 19990619-10:42 Ryszard Glab <rglab@imid.med.pl> * tests/working/Makefile * moved some files into BAD_PRG_SOURCES * tests/working/testid.prg + added TODO comment because it core dumps if /dTEST is not passed 19990619-09:49 CET Patrick Mast * Updated build numbers 19990619-09:40 CET Patrick Mast * tests\working\hscript\hscript.prg removed line 150 19990618-21:50 EDT David G. Holm <dholm@jsd-llc.com> * makefile.icc - genobj.c was moved to source/contrib * source/compiler/harbour.y - Added missing type overrides to OurMalloc() calls * tests/working/scroll.prg - Modified to use the preprocessor 19990618-20:55 EDT David G. Holm <dholm@jsd-llc.com> * source/rtl/dir.c - Corrected #if test GNU C on Unix/Linux test to use && ! instead of || ! in order to force DJGPP to use DOS functions instead of Unix functions 19990619-00:52 Ryszard Glab <rglab@imid.med.pl> * config/linux/gcc.cf * added default gcc library libm * added location of libm library (I have assumed /usr/lib) * source/include/hbsetup.h + the order of static variables initialisation is not determined in gcc on Linux. This requires the definition of HARBOUR_START_PROCEDURE The dafault is 'MAIN' - tests/working/next.prg - removed because it is contained in keywords.prg * tests/working/Makefile -removed reference to next.prg 19990618-23:17 CET Patrick Mast * Release of Build #27 * version.h, updated build version 19990618-19:39 CET Patrick Mast * tests\working\hscript\bld32exe.bat changed line 17 : echo ..\runner.obj >> b32.bc because runner.obj is not in tests\working\hscript but in tests\working 19990618-17:00 CET Viktor Szakats * Fixed some GCC warnings in: source/compiler/harbour.y * Some left _parc()/_parni()/_parnl() prefixed with hb_ source/rtl/dir.c source/rtl/files.c * Fixed PADR(), PADL(), PADC() when called with a width less than the length of the string. Submitted by Matthew Hamilton <MHamilton@bunge.com.au> source/rtl/strings.c 19990618-13:40 Alexander Kresin updated: * source\hbpp\hbppmain.c * source\hbpp\hbpp.c * source\hbpp\table.c Fixed some problems with preprocessor 19990618-07:50 Ryszard Glab <rglab@imid.med.pl> * source/compiler/harbour.y + added deallocation of used structures + added yy_strupr and yy_strdup functions to make sure that memory is properly allocated * source/compiler/harbour.l + added declaration of yy_strupr and yy_strdup functions and changed calls for strupr and strdup to yy_strupr and yy_strdup respectively * include/hbsetup.h + added operating system dependand settings + config/linux/ + added new directory with GNU MAKE files for GCC on Linux You have to define: HB_ARCHITECTURE = linux HB_COMPILER = gcc * source/hbpp/hbppint.c * added support for Watcom C/C++ compiler + source/hbpp/makefile.wat + makefile for Watcom C/C++ compiler + source/compiler/makefile.wat * changes to link hbpp library into Harbour executable * source/rtl/console.c * source/rtl/dir.c * source/rtl/files.c * source/rtl/set.c * changed files to make them compile with Watcom C/C++ and GCC on Linux * removed PATH_SEPARATOR and replaced it with OS_PATH_DELIMITER defined in hbsetup.h * source/contrib/genobj.c * moved this file from source/tools since this is DOS specific code and it is not needed for Harbour * source/tools/Makefile - removed reference to genobj.c file * Harbour compiles fine on Linux now. However there is still some suspicious code in source/rtl/dir.c and source/rtl/files.c files. The runner.c is unsupported since it generates DOS specific code. 19990617-20:49 PST Ron Pinkas <Ron@Profit-Master.com> * compiler.h added member cType to struct VAR * harbour.y added { iVarScope = VS_MEMVAR; } to PRIVATE, PUBLIC, and PARAMETERS statements to avoid errounous error: "declaration follows executable statement" added: AliasExp '=' Expression Crlf { /* TODO */ GenPCode1( _POP ); } to statement definition to avoid parse error on M->Var = "Value" statments. the _POP will balance the stack but the assignment is not implemented yet. changed --iLine to iLine in yyerror() to correct errornous line numbers in parase error messages. added check for null pointer on few references to pVars->szName * hbpp.c, hbpmain.c, hbpint.c prefixed messages in all printf() with \n and postfixed with \n until modification to GenWarning() and GenError() 19990617-18:55 EDT David G. Holm <dholm@jsd-llc.com> * include/set.h - SET DEBUG is numeric, not logical * source/rtl/console.c - Added support for SET MARGIN * source/rtl/set.c - Added documentation - Converted HB_SET_DEBUG to numeric - Added limits of 16 and 4096 to HB_SET_TYPEAHEAD * tests/working/output.prg - Removed ADDITIVE from SET PRINTER TO OUTPUT - Added SET MARGIN TO 5 19990617-21:55 CET Eddie Runia * source/rtl/set.c __SETCENTURY in Symbol table instead of SETCENTURY * tests/working/hscript/hscript.prg Problem with comment after ; Comment moved to allow for compilation 19990617-13:00 EDT David G. Holm <dholm@jsd-llc.com> * doc/transfrm.txt - Updated to reflect use of SET DATE FORMAT and SET CENTURY for dates - Added question regarding behaviour difference between Harbour and Clipper for the @E date-related function * source/hbpp/hbppint.c - Removed ParseDefine("__HARBOUR__") * source/hbpp/table.c - Added __HARBOUR__ to aDefines table * source/rtl/environ.c - No #includes are allowed before the #ifdef __IBMCPP__ block * source/rtl/set.c - Renamed HB_SETCENTURY to HB___SETCENTURY - Eliminated HB_SETFIXED * tests/working/dates.prg - Converted HB_SETCENTURY() to __SETCENTURY() * tests/working/dates2.prg - Converted HB_SETCENTURY() to __SETCENTURY() * tests/working/empty.prg - Converted HB_SETCENTURY() to __SETCENTURY() * tests/working/teststr.prg - Converted HB_SETFIXED() to SET (_SET_SETFIXED) * tests/working/transfrm.prg - Converted HB_SETCENTURY() to __SETCENTURY() Thu Jun 17 11:34:35 1999 Gonzalo A. Diethelm <Gonzalo.Diethelm@jda.cl> * source/Makefile: * source/compiler/Makefile: * source/hbpp/Makefile: Now the hbpp preprocessor is compiled before the compiler, and it generates a library. No stand-alone preprocessor is generated. The compiler links against the new preprocessor library. * include/Makefile: * tests/working/Makefile: Updated the list of files. * include/compiler.h: * include/ctoharb.h: * include/dates.h: * include/error.api: * include/errorapi.h: * include/extend.h: * include/filesys.h: * include/gtapi.h: * include/hberrors.h: * include/hbsetup.h: * include/init.h: * include/itemapi.h: * include/pcode.h: * include/set.h: * include/types.h: * include/version.h: * source/compiler/fixflex.c: * source/compiler/genobj32.c: * source/compiler/harbour.l: * source/compiler/harbour.y: * source/hbpp/harb.h: * source/hbpp/hbpp.c: * source/rtl/asort.prg: * source/rtl/descend.c: * source/rtl/error.prg: * source/rtl/errorsys.prg: * source/rtl/hardcr.c: * source/rtl/itemapi.c: * source/rtl/mtran.c: * source/rtl/objfunc.prg: * source/rtl/tclass.prg: * source/tools/asciisum.c: * source/tools/ascpos.c: * source/tools/atdiff.c: * source/tools/chareven.c: * source/tools/charmix.c: * source/tools/charodd.c: * source/tools/chrcount.c: * source/tools/chrfirst.c: * source/tools/chrtotal.c: * source/tools/debug.c: * source/tools/hb_f.c: * source/tools/strasint.c: * source/tools/strcount.c: * source/tools/strcspn.c: * source/tools/strdiff.c: * source/tools/strexpan.c: * source/tools/stringp.prg: * source/tools/strleft.c: * source/tools/strpbrk.c: * source/tools/strright.c: * source/vm/hvm.c: * source/vm/initsymb.c: Made sure all *.{h,c,ch,api,prg,l,y} files under include/ and source/ have an RCS Id keyword. Got rid of the RCS Log keyword on several files; this keyword should never be placed in a source file. Made sure all *.h files have a proper include guard. If the file name is foo.h, the include guard is called FOO_H_, without a leading underscore, to comply with ANSI rules. 19990617-12:40 CET Eddie Runia * source/rtl/dir.c hb_chmod should be _chmod * tests/working/round.prg loop shortened to 100 (I thought the program has crashed, while testalling) 19990617-12:20 CET Eddie Runia * source/compiler/harbour.y GetLocalVarPos : OurMalloc( sizeof(PVAR) ) should be sizeof(VAR) 19990617-02:15 EDT David G. Holm <dholm@jsd-llc.com> * include/extend.api - Moved fixed memory functions to fm.api + include/fm.api - Fixed memory API functions (converts _x... to hb_x...) + include/item.api - Item API functions (converts _item... to hb_item..., etc.) 19990617-02:00 EDT David G. Holm <dholm@jsd-llc.com> All Extend API and GT API functions have been convert from _ to hb_ * include/compiler.h * include/errorapi.h + include/extend.api * include/extend.h + include/gt.api * include/gtapi.h - include/harbclip.h * include/types.h * source/rtl/arrays.c * source/rtl/classes.c * source/rtl/codebloc.c * source/rtl/console.c * source/rtl/dates.c * source/rtl/descend.c * source/rtl/dir.c * source/rtl/environ.c * source/rtl/errorapi.c * source/rtl/extend.c * source/rtl/files.c * source/rtl/gtapi.c * source/rtl/hardcr.c * source/rtl/itemapi.c * source/rtl/math.c * source/rtl/mtran.c * source/rtl/set.c * source/rtl/strings.c * source/rtl/transfrm.c * source/runner/runner.c * source/tools/asciisum.c * source/tools/ascpos.c * source/tools/atdiff.c * source/tools/chareven.c * source/tools/charmix.c * source/tools/charodd.c * source/tools/chrcount.c * source/tools/chrfirst.c * source/tools/chrtotal.c * source/tools/datesx.c * source/tools/debug.c * source/tools/hb_f.c * source/tools/io.c * source/tools/mathx.c * source/tools/strcount.c * source/tools/strcspn.c * source/tools/strdiff.c * source/tools/strexpan.c * source/tools/stringsx.c * source/tools/strleft.c * source/tools/strpbrk.c * source/tools/strright.c * source/vm/dynsym.c * source/vm/hvm.c * tests/working/harbour.ini * tests/working/runner.c 19990617-00:10 EDT David G. Holm <dholm@jsd-llc.com> * include/extend.h - Finally noticed and removed the old Error API declarations 19990617-00:00 EDT David G. Holm <dholm@jsd-llc.com> * include/errorapi.h - Added "#include <extend.h>" * source/rtl/environ.c - Added "#include <errorapi.h> - Converted all _errFunctions to hb_errFunctions * source/rtl/math.c - Added missing _errFunction to hb_errFunction conversions 19990616-23:30 EDT David G. Holm <dholm@jsd-llc.com> * makefile.icc - Added or corrected various include file dependencies * include/error.api - Moved all #defines to errorapi.h - Added "#include <errorapi.h>" - Added #defines to convert all _errFunctions to hb_errFunctions + include/errorapi.h - Added function declarations for all hb_errFunctions - Moved all #defines from error.api and errorapi.c * source/rtl/arrays.c - Convert all _errFunctions to hb_errFunctions * source/rtl/classes.c - Convert all _errFunctions to hb_errFunctions * source/rtl/dates.c - Convert all _errFunctions to hb_errFunctions * source/rtl/errorapi.c - Convert all _errFunctions to hb_errFunctions * source/rtl/math.c - Convert all _errFunctions to hb_errFunctions - Added ( char * ) override to _xgrab() call in HB_ROUND() * source/rtl/set.c - Convert all _errFunctions to hb_errFunctions * source/rtl/strings.c - Convert all _errFunctions to hb_errFunctions * source/rtl/transfrm.c - Convert all _errFunctions to hb_errFunctions * source/vm/hvm.c - Convert all _errFunctions to hb_errFunctions 19990616-22:50 EDT David G. Holm <dholm@jsd-llc.com> * source/hbpp/hbppint.c - Added ParseDefine( "__HARBOUR__" ) to Hbpp_init() * source/rtl/arrays.c - Added missing symbols to symbol table * source/rtl/console.c - Added missing symbols to symbol table * source/rtl/dates.c - Added symbol table * source/rtl/math.c - Added HARBOUR HB_ROUND() function * source/rtl/strings.c - Added missing symbols to symbol table * source/rtl/transfrm.c - Added symbol table * source/vm/initsymb.c - Added calls to Dates__InitSymbols() and Transfrm__InitSymbols() + tests/working/round.prg - New function to test ROUND() function uses OUTSTD() to allow easy checking of Harbour results against Clipper results 19990616-21:40 CET Eddie Runia * tests/working/dosshell.prg new version added 19990616-21:15 CET Matteo Baccan * makefile.vc correct updated version added * source/vm/dynsym.c NULL pointer assignment added * source/rtl/environ.c _WIN32 define added 19990616-13:45 EDT David G. Holm <dholm@jsd-llc.com> * source/hbpp/hbppint.c - Added extern declaration for strocpy() 19990616-11:30 CET Eddie Runia * source/rtl/console.c Eject should be __Eject of course * tests/working/dosshell.prg With preprocessed statements 19990616-13:12 Alexander Kresin updated: * source\compiler\harbour.y Added description of /p switch to PrintUsage() 19990616-11:19 Alexander Kresin updated: * source\hbpp\hbppmain.c * source\hbpp\hbppint.c * source\hbpp\hbpp.c Fixed problems with preprocessor, mentioned by David G. Holm 19990615-23:20 PST Ron Pinkas <Ron@Profit-Master.com> * compiler.h added member iUsed to struct VAR * hberrors.h added define of codeblock parameter not used warning * harbour.y removed PDECLARED_VAR struct definition removed code to maintain FunVars list added code to GetVarPos() to reflect use of declared variable added logic to FixReturns() and CodeBlockEnd() to generate warnings on non used decalred vaiables removed previous version of nonused declared variables warnings from FunDedf() and {Main} 19990615-23:45 EDT David G. Holm <dholm@jsd-llc.com> * makefile.icc - Added tools\datesx, which is needed by runner * tests/working/runner.c - Added or corrected type overrides on 4 _xgrab() calls (for C++) Compiles on OS/2, but gives "unsuported pcode opcode: 104" when used * ChangeLog - Added comment to entry 19990615-12:30 EDT David G. Holm about renaming two hb_ functions in source/rtl/console.c * makefile.icc - Build component parts of Harbour.exe separately * source/hbpp/hbpp.c - Added #ifdef block for IBM C++ compiler - Added prototype for OpenInclude() - Increased size of expreal array in ConvertPatterns from 4 to 5, because it is being initialized from a zero terminated string * source/hbpp/hbppint.c - Added #ifdef block for IBM C++ compiler * source/rtl/console.c - I went overboard in tracking the printer position, because Clipper doesn't make any adjustments for control characters sent to the printer. But it does adjust the printer row and column when QOUT() output goes to the printer, which is what I had missed. * source/rtl/dates.c - Changed hb_seconds() to hb__seconds(), because IBM C++ librarian can't distinguish between HARBOUR HB_SECONDS(void) and double hb_seconds(void) 19990616-08:00 WIB Andi Jahja + source\rtl\natmsg\msgia.c Language module for Indonesian languange ( First Asian <g> ) 19990615-23:00 CET Felipe Coury + tests/working/hscript/bld32exe.bat; dir.hs; hb32.bat; hello.hs; hscript.prg; makehs.prg; makehtm.prg; multiply.hs readme.txt First release of hScript added 19990615-21:00 CET Jose Lalin / Eddie Runia + source/rtl/natmsg/msgbas.c * source/rtl/msgxxx.c * source/compiler/harbour.y VarId ArrayIndex ':' and ObjectData ArrayIndex ':' syntax was incorrect 19990615-12:30 EDT David G. Holm <dholm@jsd-llc.com> * source/compiler/makefile.dos - Integrated preprocessor into compiler * source\hbpp\hbpp.c - Added braces to avoid implicit else in ParseExpression() * source/rtl/console.c - Added HARBOUR HB_SETPOS() - Improved printer position tracking - Improved screen position tracking when not using GT API - Renamed hb_maxrow() to hb_max_row() and hb_maxcol() to hb_max_col(), because IBM C++ librarian can't distinguish between functions with the same name that differ only by the return argument. * source/rtl/files.c - convert_create_flags no longer returns a value, so declare as void * source/rtl/set.c - Logical SET values can now use "ON" for .T. and "OFF" for .F. * source/rtl/strcmp.c - hb_stricmp does a case-insensitive compare even when not using a library function. * tests/working/output.prg - Converted to use the preprocessor 19990615-10:38 Alexander Kresin removed: - source\hbpp\harb.c added: + source\hbpp\hbppmain.c + source\hbpp\hbppint.c updated: * source\hbpp\hbpp.c * source\hbpp\table.c * source\hbpp\makefile * source\hbpp\makefile.b32 * source\hbpp\makefile.b16 * source\hbpp\buildgcc.bat * source\compiler\harbour.l * source\compiler\harbour.y * makefile.b32 This is the latest preprocessor version, it may be build now as standalone or as integrated with compiler. 19990615-08:30 Ryszard Glab <rglab@imid.med.pl> * source/compiler/harbour.y * added missing error message * source/compiler/harbour.l * removed printf introducced for debugging purpose 19990615-07:00 Ryszard Glab <rglab@imid.med.pl> * source/compiler/harbour.y * removed bug in CodeblockEnd (the names of local variables shoudn't be released here) * source/compiler/harbour.l * corrected line continnuation logic * include/hberrors.h + added new error message * include/hbsetup.h * removed unnecessary '*/' defined for Watcom compiler + broken/linecont.prg + new file to test if linne continnuation ';' is handled correctly 19990614-15:40 EDT David G. Holm <dholm@jsd-llc.com> * include/extend.h - Added declaration for hb_stricmp() * include/version.h - Changed revision code to "b" * source/rtl/classes.c - Now uses hb_stricmp() instead of stricmp() * source/rtl/console.c - Now uses hb_stricmp() instead of stricmp() * source/rtl/dates.c - Fixed several bugs reported by Jose Lalin, who included the appropriate fix for most of them. * source/rtl/files.c - Removed test code that was accidentally included in CVS - Added default #define for O_BINARY * source/rtl/set.c - Now uses hb_stricmp() instead of stricmp() - Added default #define for O_BINARY * source/rtl/strcmp.c - Added new hb_stricmp() function, because stricmp() is not an ANSI C function. If stricmp() exists, it is used, else if strcasecmp exists, then it is used, otherwise use byte by byte comparision. * tests/working/dates3.prg - Added more test cases 19990614 11:50 CET Eddie Runia * source/compiler/harbour.y help text changed 19990613 23:23 CET Eddie Runia * source/rtl/natmsg/msggal.c forgot this one * tests/working/cmphello.prg Hm, I little bit quick this evening forgot the != 0 part :-) 19990613 23:15 CET Eddie Runia + source/rtl/natmsg/msg???.c more languages added. * source/rtl/natxxx.c id. 19990613 23:00 CET Eddie Runia * source/rtl/environ.c __Run() added for Borland and DJGPP + tests/working/dosshell.prg Only for DOS, OS/2 & Windows + tests/working/cmphello.prg This file compiles hello. Also usuable for Linux / Unix, if the system() command functions on their compilers :-) 19990613 16:35 CET Eddie Runia * tests/working/strip.prg; tests/working/inherit.prg; tests/working/dynobj.prg Were also not transmitted. 19990613 15:30 CET Eddie Runia * source/tools/debug.c; source/tools/stringp.prg Changes 1990612 08:00 were reverted ?? 19990613 14:30 CET Eddie Runia * source/rtl/arrays.c; source/rtl/classes.c; source/rtl/files.c; source/rtl/console.c; source/rtl/dir.c; source/rtl/environ.c; source/rtl/math.c; source/rtl/set.c; source/rtl/strings.c InitSymbols added * source/rtl/transfrm.c Warnings eliminated * source/vm/initsymb.c calls to RTL functions added * tests/working/run_exp.h removed unnecessary references and sort alphabetically 19990612 08:30 CET Matthew Hamilton * tests/working/inifiles.prg with ReadBool and WriteBool 19990612 10:57 PST Ron Pinkas * source/compiler/harbour.y Added check on non used variables to be done at the end of source file so last function will be tested too. 19990612-18:55 CET Eddie Runia * source/rtl/files.c One byte more allocated for fReadStr() 19990612-17:00 CET Matthew Hamilton * source/rtl/strings.c Extended syntax for alltrim and rtrim 19990612-14:10 CET Eddie Runia * source/rtl/dir.c month started with 0 (Jan). Harbour months start with 1. * tests/working/dirtest.prg output sorted alphabetically and case insensitive. 19990612-13:45 CET Eddie Runia * source/rtl/files.c read-only file creation resolved. The permission should be passed as the third parameter to open. 19990612-11:22 CET Patrick Mast * Release of Build #26 * version.h, updated build version + Included WhatsNew.txt 19990612-08:30 CET Jose Lalin / Eddie Runia * tests/working/testcgi.prg New version uploaded. ER : Changed HB_File -> File and Functions.cfm -> Function.cfm + tests/working/list.txt, function.cfm Referenced files added 19990612-08:00 CET Eddie Runia * tests/working/debugtst.prg, tests/working/clasinit.prg, * tests/working/funcarr.prg, tests/working/objarr.prg, * tests/working/objasign.prg Reference to HBDebug() renamed to Debug() * tests/working/run_exp.h, tests/working/runner.c all reference now correct * source/tools/debug.c HB_Static -> HB___Static * source/tools/stringp.prg HBDebug() renamed to Debug() Fri Jun 11 1999 19:35 PST Ron Pinkas * source/compiler/harbour.y Moved code to check non used declared variable from GenReturn() to FunDef() Since Clipper function may have multiple RETURN statements Fri Jun 11 19:14:22 1999 Gonzalo A. Diethelm <Gonzalo.Diethelm@jda.cl> * include/Makefile: * include/set.h: * source/compiler/harbour.y: * source/hbpp/harb.h: * source/hbpp/hbpp.c: * source/rtl/arrays.c: * source/rtl/classes.c: * source/rtl/console.c: * source/rtl/dates.c: * source/rtl/descend.c: * source/rtl/dir.c: * source/rtl/environ.c: * source/rtl/files.c: * source/rtl/hardcr.c: * source/rtl/math.c: * source/rtl/mtran.c: * source/rtl/set.c: * source/rtl/strings.c: * source/rtl/transfrm.c: * source/runner/run_exp.h: * source/runner/runner.c: * source/tools/asciisum.c: * source/tools/ascpos.c: * source/tools/atdiff.c: * source/tools/chareven.c: * source/tools/charmix.c: * source/tools/charodd.c: * source/tools/chrcount.c: * source/tools/chrfirst.c: * source/tools/chrtotal.c: * source/tools/datesx.c: * source/tools/debug.c: * source/tools/hb_f.c: * source/tools/io.c: * source/tools/mathx.c: * source/tools/strcount.c: * source/tools/strcspn.c: * source/tools/strdiff.c: * source/tools/strexpan.c: * source/tools/stringsx.c: * source/tools/strleft.c: * source/tools/strpbrk.c: * source/tools/strright.c: * source/vm/dynsym.c: * source/vm/hvm.c: * source/vm/initsymb.c: * tests/working/Makefile: * tests/working/dates.prg: * tests/working/dates2.prg: * tests/working/empty.prg: * tests/working/filexist.prg: * tests/working/inifiles.prg: * tests/working/next.prg: * tests/working/test_all.prg: * tests/working/teststr.prg: * tests/working/transfrm.prg: When the compiler sees a function called FOO, it generates a call to HB_FOO. This meant updating the code generation (with the help of Eddie Runia) and updating all HARBOUR functions to prepend an HB_ to each of them. I also made sure all of them where declared in uppercase and had the signature HARBOUR HB_FOO(void). I may have missed something. In particular, test testhbf.prg does not work, but I wanted to commit this change anyway. Fri Jun 11 17:11:09 1999 Gonzalo A. Diethelm <Gonzalo.Diethelm@jda.cl> * config/bin.cf: * config/dir.cf: * config/global.cf: * config/install.cf: * config/lib.cf: * config/rules.cf: * config/test.cf: * config/dos/dir.cf: * config/dos/djgpp.cf: * config/dos/global.cf: * config/dos/install.cf: * config/win32/dir.cf: * config/win32/gcc.cf: * config/win32/global.cf: * config/win32/install.cf: * config/win32/msvc.cf: * config/win32/rules.cf: Reorganized things in an attempt to make it clearer how to support different platforms and compilers. Also added as much support as I could for running the GNU-make build system under plain COMMAND.COM (DOS and Win95), not only under bash. 19990611-17:00 CET Matthew Hamiltion * tests/working/inifiles.prg new version installed 19990610-23:40 EDT David G. Holm <dholm@jsd-llc.com> * include/fileio.ch - Corrected $Id: header * include/filesys.api - Corrected $Id: header * include/filesys.h - Corrected $Id: header 19990610-23:35 EDT David G. Holm <dholm@jsd-llc.com> * makefile.icc - Added some missing source files * source/rtl/files.c - Put back '#include <direct.h>' for __WATCOM__, '#include <dir.h>' for __BORLANDC__, and '#include <direct.h>' for __IBMCPP__, after removing them earlier while removing '#include <dirent.h>', which isn't needed, because the DIRECTORY() function is in a separate source file. The reason that I thought it was safe to remove them was that I *thought* that I had recompiled with IBMCPP after I recompiled with DJGPP, but it turned out I hadn't. I'm hoping that I caught it before anybody extracted the bad version from CVS. 19990610-22:35 EDT David G. Holm <dholm@jsd-llc.com> + include/fileio.ch - File API related flags + include/filesys.api - Converts from _fs... functions to hb_fs... functions + include/filesys.h - Declares all hb_fs... functions * source/compiler/harbour.y - Added missing type override to OurMalloc() call in LoopStart() * source/rtl/files.c - Added support for IBM C++ compiler for OS/2 - All HARBOUR functions must have a void argument list - Changed '#include <extern.h>' to '#include <filesys.h>' - Changed all _fs... functions to hb_fs... functions - Changed hb_fsCreate to use open() instead of creat() - Corrected and/or added last_error handling in all hb_fs... functions - Corrected return parameter handling in a few hb_fs and HARBOUR functions * source/tools/hb_f.c - Removed extern declarations for _fs... functions - Added '#include <filesys.api>' - Added two missing type overrides on _xgrab() calls in HB_FUSE() 19990610-18:05 EDT David G. Holm <dholm@jsd-llc.com> * makefile.b16 - Changed all 'y_tab' to 'harboury' - Changed all 'lexyy' to 'harbourl' * makefile.b31 - Changed all 'y_tab' to 'harboury' - Changed all 'lexyy' to 'harbourl' * makefile.b32 - Changed all 'y_tab' to 'harboury' - Changed all 'lexyy' to 'harbourl' * makefile.icc - Changed all 'y_tab' to 'harboury' - Changed all 'lexyy' to 'harbourl' * makefile.vc - Changed all 'y_tab' to 'harboury' - Changed all 'lexyy' to 'harbourl' * config/c.cf - Remove $(MV) command following $(YACC) command * source/compiler/harbour.l - Changed '#include "y_tab.h"' to '#include "harboury.h"' * source/compiler/makefile.dos - Changed all 'y_tab' to 'harboury' - Changed all 'lexyy' to 'harbourl' * source/compiler/makefile.wat - Changed all 'y_tab' to 'harboury' - Changed all 'lexyy' to 'harbourl' 19990610-11:40 EDT David G. Holm <dholm@jsd-llc.com> + tests/working/makerunr.dos - New make file to build RUNNER.EXE using DJGPP * tests/working/runner.c - Added 'static' to several forward declarations + tests/working/runrdos.bat - New batch file to build RUNNER.EXE using DJGPP 19990610-09:30 CET Patrick Mast (Changes made by Jose Lalin) * source/rtl/asort.prg Resloved bug (Changed line 28 ) 19990610-10:30 Alexander Kresin ( files posted by Marek Horodyski ) + source/rtl/natmsg/msgpl852.c + source/rtl/natmsg/msgplmaz.c National language message files for Polish 19990609-12:55 EDT David G. Holm <dholm@jsd-llc.com> * source/rtl/files.c - Set _fmode to O_BINARY before using creat(), then restore to previous value afterwards * source/tools/asciisum.c - HARBOUR function names must be in upper case - HARBOUR functions must have a void argument list * source/tools/ascpos.c - HARBOUR function names must be in upper case - HARBOUR functions must have a void argument list * source/tools/atdiff.c - HARBOUR function names must be in upper case - HARBOUR functions must have a void argument list * source/tools/chareven.c - HARBOUR function names must be in upper case - HARBOUR functions must have a void argument list * source/tools/charmix.c - HARBOUR function names must be in upper case - HARBOUR functions must have a void argument list * source/tools/charodd.c - HARBOUR function names must be in upper case - HARBOUR functions must have a void argument list * source/tools/chrcount.c - HARBOUR function names must be in upper case - HARBOUR functions must have a void argument list * source/tools/chrfirst.c - HARBOUR function names must be in upper case - HARBOUR functions must have a void argument list * source/tools/chrtotal.c - HARBOUR function names must be in upper case - HARBOUR functions must have a void argument list * source/tools/hb_f.c - HARBOUR function names must be in upper case * source/tools/strcount.c - HARBOUR function names must be in upper case - HARBOUR functions must have a void argument list * source/tools/strcspn.c - HARBOUR function names must be in upper case - HARBOUR functions must have a void argument list * source/tools/strdiff.c - HARBOUR function names must be in upper case - HARBOUR functions must have a void argument list * source/tools/strexpan.c - HARBOUR function names must be in upper case - HARBOUR functions must have a void argument list * source/tools/strleft.c - HARBOUR function names must be in upper case - HARBOUR functions must have a void argument list * source/tools/strpbrk.c - HARBOUR function names must be in upper case - HARBOUR functions must have a void argument list * source/tools/strright.c - HARBOUR function names must be in upper case - HARBOUR functions must have a void argument list * tests/working/spawn2.prg - Added //NOTEST * tests/working/test_all.prg - Use HB_FILE instead of FILE - Made compiler independent - Added restart capability - Renamed created batch file to TESTALL.BAT, so that it can be run without having to include the .BAT extenstion. 19990609-11:25 EDT David G. Holm <dholm@jsd-llc.com> * source/rtl/set.c - Removed "+ 1" in setting y_stop to default stop point, because it caused _xgrab to allocate 1 byte too few when year was at end. * tests/working/dates.prg - Convert HB_SETCENTURY() test block to function and call it twice: Once with date format "MM/DD/YYYY" and once with "YYYY/MM/DD". 19990608-13:00 EDT David G. Holm <dholm@jsd-llc.com> * source/rtl/files.c - Changed "#if" for "#include <mingw32/share.h>" from "#if defined( __GCC__) && !defined(__DJGPP__)" to just "#if defined(__CYGNUS__)" * source/rtl/set.c - Moved "#include <sys/stat.h>" outside "#if defined(__GCC__) || defined(__DJGPP__)" block, so that it is included for all compilers. * source/rtl/strcmp.c Added braces to "if( lLenFirst != lLenSecond ) /* Both empty ? */" block to avoid an implicit else warning for the else clause for the "if( hb_set.HB_SET_EXACT || bForceExact )" block. * source/rtl/natmsg/msghu.c Removed extra "/*" from inside "TODO:" comment block. 19990608-20:00 Alexander Kresin Implemented: #command, #xcommand, #translate, #xtranslate . Some functions rewritten for a better functionality and readability. Fixed some bugs. Updated: * source/hbpp/hbpp.c * source/hbpp/harb.c * source/hbpp/table.c Removed: - source/hbpp/a.prg - source/hbpp/c.prg - source/hbpp/example.ch - source/hbpp/exam2.ch Tue Jun 08 09:22:40 1999 Gonzalo A. Diethelm <Gonzalo.Diethelm@jda.cl> * source/rtl/set.c (open_handle): Misplaced parenthesis when callin open() caused S_IWRITE to never be seen by open(). 19990608-13:25 CET Eddie Runia * source/vm/initsymb.c SECONDS added * tests/working/runner.c _FILEs removed. * tests/working/run_exp.h HB_SETFIXED added 19990608-11:45 CET Eddie Runia * source/tools/debug.c even though it makes no difference hb_arrayClone is used in statics(), since it will no longer allow modification of the static table * source/rtl/classes.c class wrap bug eliminated * source/rtl/files.c; source/rtl/set.c temporary patches with regard to sys/stat.h removed Mon Jun 07 20:42:04 1999 Gonzalo A. Diethelm <Gonzalo.Diethelm@jda.cl> * config/dir.cf: * config/global.cf: * config/install.cf: Made a mistake in my previous commit. This one works. Mon Jun 07 20:20:32 1999 Gonzalo A. Diethelm <Gonzalo.Diethelm@jda.cl> * config/bin.cf: * config/c.cf: * config/dir.cf: * config/global.cf: * config/install.cf: * config/lib.cf: * config/test.cf: * config/win32/gcc.cf: * config/win32/global.cf: * config/win32/msvc.cf: * config/win32/rules.cf: Updated rules so they work under WinNT CMD.EXE without any Unix utilities installed. 19990607-19:45 EDT David G. Holm <dholm@jsd-llc.com> * include/extend.h - Moved "#include <limits.h>" to include/types.h - Removed "#define FILE" and "#undef FILE", which are no longer needed, because HARBOUR FILE() was renamed to HARBOUR HB_FILE() some time ago. * include/types.h - Moved "#include <limits.h>" from include/extend.h in order to avoid having to require that extend.h be included before set.h * source/rtl/dates.c - HARBOUR SECONDS() and support module hb_seconds() courtesy of Jose Lalin <dezac@corevia.com>. I removed the use of clock() from hb_time(), because clock() returns the number of clock ticks since the program started, which has no relationship to when the seconds of the real time clock roll over. This means that SECONDS() will always return whole seconds instead of seconds and hundredths. I also provided an alternate hb_seconds implementation for DOS platforms using gettime() instead of time() and localtime(), because gettime() includes 1/100ths. * source/rtl/files.c - Don't "#include <mingw32/share.h>" if compiling with DJGPP. + tests/working/seconds.prg - New test program for SECONDS(). 19990607-20:30 CET Eddie Runia * makefile.b32 change little bug (hb.c) Mon Jun 07 12:58:17 1999 Gonzalo A. Diethelm <Gonzalo.Diethelm@jda.cl> * source/hbpp/Makefile: * source/hbpp/harb.c: * source/hbpp/harb.h: * source/hbpp/hbpp.c: * source/hbpp/table.c: Added a GNU-make Makefile to this directory. Solved portability problems under gcc. Got rid of a few warnings and unused variables. * source/rtl/msgxxx.c: This file includes the correct message file based on the value of HB_LANGUAGE, whose default is UK. * source/rtl/classes.c: * source/rtl/console.c: * source/rtl/dir.c: * source/rtl/files.c: * source/rtl/set.c: Solved portability problems under gcc. Got rid of a few warnings and unused variables. * source/rtl/dir.c: This file had definite bugs, see difference between r1.4 and r1.3 for more details. * source/rtl/natmsg/msgdut.c: * source/rtl/natmsg/msggal.c: * source/rtl/natmsg/msgger.c: * source/rtl/natmsg/msghu.c: * source/rtl/natmsg/msgpor.c: * source/rtl/natmsg/msgr1251.c: * source/rtl/natmsg/msgru866.c: * source/rtl/natmsg/msgspa.c: * source/rtl/natmsg/msguk.c: Added Id keywords. * config/bin.cf: * config/global.cf: * config/header.cf: * config/lib.cf: * config/prg.cf: * config/test.cf: * config/win32/rules.cf: Use GRANDP to refer to ../../ and change environment variables to start with an HB_. * config/win32/rules.cf: Added a -I$(TOP) to the list of paths for included files in the rule to compile a PRG file with Harbour. * include/Makefile: * source/Makefile: * source/rtl/Makefile: * source/tools/Makefile: * tests/working/Makefile: Updated the file list. 19990607-15:15 CET Matthew Hamilton * tests/working/inifiles.prg 19990607-14:50 CET Eddie Runia * source/vm/hvm.c Unreleased error block 19990607-12:50 CET Eddie Runia * makefile.b32, build32.bat changed to split the terminal driver into seperate makefile for Windows support + terminal.b32 split terminal driver * tests/working/bld32w.bat windows build file uses echo now 19990607-03:05 PST Ron Pinkas * include/hberrors.h added WARN_VAR_NOT_USED * source/compiler/harbour.y added warning message "Variable \'%s\' declared but not used in function: %s" added linked list FunVars to record the usage of declared variables added logic to maintain FunVars added logic to check usage as per FunVars in GenReturn() 19990607-09:40 Alexander Kresin + source/rtl/natmsg/msgru866.c + source/rtl/natmsg/msgr1251.c National language message files for Russian 19990606-16:42 PST Ron Pinkas * include/hberrors.h added define WARN_AMBIGUOUS_VAR 1 added declaration for new function GenWarning() * source/compiler/harbour.y added _szWarnings[] to include parse warning messages added function GenWarning() added /w compiler switch to enable warnings added warning message for ambiguous vars 19990606-20:20 CET Viktor Szakats * source/rtl/dir.c - HB_CHARUPPER() parameters were wrong. HB_CHARUPPER() converted to toupper() The attribute parameter conversion to uppercase was buggy. 19990606-15:20 CET Eddie Runia * source/compiler/harbour.y - <object>:<data> <assignment> <value> is now functioning ! where <assignment> is +=, -=, *=, /=, %=, ^= and increment / decrement for <object>:<data> + tests/working/objasign.prg test program used 19990606-13:50 CET Eddie Runia * source/rtl/errorapi.c _ErrNew() stack.Return itself was returned instead of a copy. _ErrRelease() error object is released * source/rtl/classes.c SetData() & SetClassData() return the value set * source/compiler/harbour.y - <object>:<data> := <value> can now be used inside expressions (codeblocks) - MessageFix() has been added to fix the generated message in case of assignments - type of ObjectData is now a string containing the (last) message. global _lMessageFix will contain a pointer to the location which should be fixed. * tests/working/inherit.prg test program for 'enhanced' syntax. 19990606-11:00 CET Eddie Runia * source/rtl/arrays.c; source/vm/initsymb.c; tests/working/run_exp.h Arrays converted to init symbols 19990606-10:15 CET Jose Lalin (upload Eddie Runia) + source/rtl/hardcr.c; source/rtl/mtran.c new ! * source/vm/initsymb.c added initsymbols call * makefile.* files added 19990605-20:05 EST Les. Griffith * some fixes to dir.c for gcc and suggestions by Viktor Szakats need replacement for non gcc supported functions ltoa() and strrev() 19990606-00:30 CET Eddie Runia * tests/working/hardcr.prg; tests/working/mtran.prg Uploaded. Matching .C untested and missing for now. Just wanted #100 & #101 in ! 19990605-11:12 EST Les. Griffith * removed DIRECTORY() from files.c * added rtl\dir.c * added tests working dirtest.prg * changed makefile.b32 to deal with dir.c dir.obj 19990604-16:20 CET Eddie Runia * source/vm/initsymb.c; tests/working/run_exp.h CDOW/ CMONTH were missing + Removal duplicate symbols from run_exp 19990604-15:30 CET Patrick Mast * Release of Build #25 19990604-14:14 CET Patrick Mast * source/rtl/set.c Removed #include <sys\stat.h> * source/rtl/files.c Removed #include <sys\stat.h> * source/compiler/harbour.y Put in the build Nr. 19990604-14:24 CET Viktor Szakats (upload Eddie Runia) + source/rtl/natmsg/msghu.c National language message file for Hungarian 19990604-13:56 CET Thomas Braun (upload Eddie Runia) + source/rtl/natmsg/msgger.c National language message file for German 19990604-11:50 CET Eddie Runia * source/compiler/harbour.y support for the following syntax added : <object>:<data>[<index>] <assignment> <value> <object>:<method>(<param>)[<index>] <assignment> <value> and increment / decrement for <function>(<param>)[<index>], <object>:<data>[<index>] and <object>:<method>(<param>)[<index>] * source/rtl/natmsg/msgdut.c Sunday is the first day ofcourse + tests/working/objarr.prg tests for object array syntax * tests/working/funcarr.prg tests for function array syntax (inc/dec added) 19990604-23:15 EDT David G. Holm <dholm@jsd-llc.com> + include/version.h - New file to specify version info. A future revision will be to specify where to find the version information, so that it may be pulled from other modules and/or the CVS. * source/rtl/environ.c - Modified HARBOUR OS() function to work with DJGPP. - Modified HARBOUR VERSION() function to format the version info similar to how Clipper does it (version, build, and date). * source/rtl/set.c - Added #include <unistd.h> for DJGPP. * tests/working/makefile.dos - Added compiler and library to the PRG to C dependency. + tests/working/version.prg - Added new module to test the VERSION function. 19990604-22:07 EST Les. Griffith added logic for msguk.c and msguk.obj to makefile.b32 19990604-21:50 EDT David G. Holm <dholm@jsd-llc.com> * builddos.bat - Pass command line arguments to make processor, so that we can build and clean in one step by running "BUILDDOS ALL CLEAN" instead of having to modify the builddos batch file. 19990604-21:50 EDT David G. Holm <dholm@jsd-llc.com> * makefile.icc - Added new Harbour modules * source/rtl/classes.c - C++ requires functions with no arguments to be protyped as void * source/rtl/dates.c - C++ requires that arguments be prototyped (hb_cmonth and hb_cdow) * source/vm/initsymb.c - C++ needs prototypes for external initialization functions 19990604-20:20 EDT David G. Holm <dholm@jsd-llc.com> Thanks go to Jose Lalin <dezac@corevia.com> for CDOW() and CMONTH() (and their support functions), msggal.c, msgspa.c, and msguk.c and cdow.prg, to Felipe G. Coury <fcoury@flexsys-ci.com> for msgpor.c, and to Eddie Runia <runia@solair1.inter.NL.net> for msgdut.c * makefile.dos - Added source/rtl/natmsg * source/rtl/console.c - Separated screen and printer coordinates - Moved HARBOUR ROW() and HARBOUR COL() from gtapi.c - Added rudimentary screen positioning when not using the GT API * source/rtl/dates.c - Added HARBOUR CDOW(), HARBOUR CMONTH(), and support functions * source/rtl/gtapi.c - Moved HARBOUR ROW() and HARBOUR COL() to console.c + source/rtl/natmsg/makefile.dos - New DJGPP makefile for national language message files Note: Only msguk goes into the library + source/rtl/natmsg/msgdut.c - National language message file for Dutch + source/rtl/natmsg/msggal.c - National language message file for Galician + source/rtl/natmsg/msgpor.c - National language message file for Portugese + source/rtl/natmsg/msgspa.c - National language message file for Spanish + source/rtl/natmsg/msguk.c - National language message file for English + tests/working/cdow.prg - Test program for CDOW() and CMONTH() 19990605-00:22 CET Eddie Runia * tests/broken/exittest.prg; tests/broken/codebloc.prg removed, since they work ! * tests/working/exittest.prg; tests/working/codebl.prg added (renamed codebloc to avoid conflict) 19990605-00:00 CET Eddie Runia * tests/working/runner.c PITEM -> PHB_ITEM 19990604-17:35 EDT David G. Holm <dholm@jsd-llc.com> * include/hbsetup.h - Added USE_GTAPI, which defaults to NOT being defined 19990604-17:00 EDT David G. Holm <dholm@jsd-llc.com> In each of the following modules, all occurrences of ITEM and PITEM were changed to HB_ITEM and PHB_ITEM. Any additional changes are listed following the applicable modules: * include/ctoharb.h * include/extend.h * include/itemapi.h - Also added #define ITEM PHB_ITEM * source/rtl/arrays.c * source/rtl/classes.c * source/rtl/codebloc.c * source/rtl/console.c * source/rtl/dates.c * source/rtl/descend.c * source/rtl/errorapi.c * source/rtl/extend.c * source/rtl/files.c * source/rtl/itemapi.c * source/rtl/math.c * source/rtl/set.c * source/rtl/strcmp.c * source/rtl/strings.c * source/rtl/transfrm.c * source/tools/debug.c * source/tools/hb_f.c * source/tools/io.c * source/tools/stringsx.c * source/vm/dynsym.c * source/vm/hvm.c 19990604-13:05 EDT David G. Holm <dholm@jsd-llc.com> * source/vm/hvm.c - Corrected ForTest() to use the correct decimal count 19990604-12:35 EDT David G. Holm <dholm@jsd-llc.com> * source/rtl/dates.c - Corrected HARBOUR DOW() to use _retni() instead of _retnl() 19990604-12:30 EDT David G. Holm <dholm@jsd-llc.com> * source/vm/hvm.c - Corrected HARBOUR ERRORLEVEL() to not change the error level if it is called with no parameters. 19990604-18:05 CET Jose Lalin (upload Eddie Runia) * makefile.* descend added * source/rtl/descend.c; tests/working/descend.prg; source/vm/initsymb.c descend added 19990604-12:00 EDT David G. Holm <dholm@jsd-llc.com> * build31.bat - Removed the non-portable fully qualified path that somebody added to the make command instead of adding to their PATH statement. 19990604-17:15 CET Eddie Runia * source/compiler/harbour.y; source/vm/hvm.c; include/pcode.h; tests/working/funcarr.prg Syntax for : <function>[<arrayindex>] <assignment> <value> added 19990604-11:45 CET Eddie Runia * source/rtl/classes.c _GetClassName() called by ClassName() 19990603-00:00 PST Ron Pinkas * hvm.c - Reverted VitualMachine() to use case switch rather than direct dynamic call for processing pcodes, since such optimization already done by c compiler. 19990604-02:22 Ryszard Glab <rglab@imid.med.pl> * source/compiler/harbour.y * corrected "unmatched END" error if BEGIN/END SEQUENCE was used + LOOP now loops to the begginig of FOR/NEXT or WHILE statement + EXIT now exits from FOR/NEXT or WHILE statement * source/compiler/harbour.l * corrected support for the following keywords: IF, IIF (90 % compatible with Clipper), IN, INCLUDE, INIT, LOCAL, LOOP * source/vm/hvm.c local variables passed by reference in a codeblock are handled correctly now * include/hberrors.h + added new error message * tests/working/keywords.prg + added some new keywords for compatibility testing + tests/working/keywords.ch + new file for INCLUDE testing + doc/codebloc.txt + new file with a short description of a codeblock implementation 19990603-19:00 EDT David G. Holm <dholm@jsd-llc.com> Thanks go to Ryszard Glab <rglab@imid.med.pl> * makefile.dos - Added -r to two make lines for source/compiler 19990604-00:25 CET Eddie Runia * source/rtl/classes.c With _GetClassName(); optimized; more comments; more clean-up 19990603-21:50 CET Eddie Runia * source/rtl/classes.c; tests/working/run_exp.h OBJFUNC.PRG added to init symbols scheme. 19990603-20:20 CET Eddie Runia * source/rtl/classes.c; source/vm/initsymb.c; tests/working/run_exp.h First implementation of init symbols scheme. 19990603-14:00 EDT David G. Holm <dholm@jsd-llc.com> * makefile.dos - Even with the -y in the source/compiler/makefile.dos, when I used builddos, which uses makefile.dos, instead of a temporary replacement batch file that I used before I figured out why I was getting bad command errors when running builddos (it turned out that I needed to add the DJGPP\bin directory to the path in C:\WINNT\SYSTEM32\AUTOEXEC.NT), it moved y_tab.c to harbour.c! So I converted everything in makefile.dos from upper case to lower case and it stopped doing that. So i also added the missing source/tools directory, so that everything gets build. * source/compiler/harbour.l - Changed yylval.string = ')'; to yylval.string = strdup( ")" ); - Changed yylval.string = ']'; to yylval.string = strdup( "]" ); 19990603-13:30 EDT David G. Holm <dholm@jsd-llc.com> Thanks go to Jose Lalin <dezac@corevia.com> * source/rtl/dates.c - localtime() returns tm_year with 1900 already subtracted from it, so it is necessary to add 1900 back when formatting the date. 19990603-18:30 CET Eddie Runia * source/rtl/classes.c; source/rtl/tclass.prg; source/rtl/arrays.c * include/ctoharb.h; include/extend.h New class module added with lots of commands and alphabetic order. aClone() no longer necessary for super casting ctoharb.h updated so the forward declarations could be removed. 19990603-16:00 CET Eddie Runia * source/rtl/classes.c wLimit bug resolved 19990603-15:25 CET Eddie Runia * source/compiler/harbour.y <func>()[<index>] syntax added 19990603-13:10 CET Eddie Runia * source/rtl/classes.c small optimalization 19990603-11:40 CET Eddie Runia * source/compiler/harbour.y <obj>:<meth>[<index>] := <value> syntax added * build32.bat runner build from batch file 19990603-00:00 PST Ron Pinkas * hvm.c - Changed VitualMachine() to use direct dynamic call for processing pcodes rather tha the switch loop. 19990603-00:30 EDT David G. Holm <dholm@jsd-llc.com> * makedos.env - Removed HARBOURDIR definition to a batch file 19990602-23:30 EDT David G. Holm <dholm@jsd-llc.com> * source/compiler/makefile.dos - bison needs -y option so that it won't replace harbour.c with y_tab.c when building Harbour with DJGPP * source/rtl/console.c - Moved MAXROW() and MAXCOL() from gtapi.c and added #ifdef USE_GTAPI in each. The #else condition defines the screen as 24x80 (23, 79) * source/rtl/gtapi.c - Moved MAXROW() and MAXCOL() to console.c in order to not include the GT API when it isn't wanted (such as when building with DJGPP) 19990602-20:45 EDT David G. Holm <dholm@jsd-llc.com> * source/rtl/environ.c - Modified #ifdef _Windows section to return "Windows" instead of "Windows 95/98". 19990602-18:20 EDT David G. Holm <dholm@jsd-llc.com> * source/rtl/strings.c - Changed if( lLen > lSubLen ) to if( lLen >= lSubLen ) Reported by "Alexander S.Kresin" <alex@belacy.belgorod.su> 19990602-16:00 EDT David G. Holm <dholm@jsd-llc.com> + tests/broken/codebloc.prg - Output doesn't match Clipper. Clipper outputs NIL and 42, (both 5.2e and 5.3b), but Harbour outputs NIL and NIL (as tested with Harbour built using Borland C++ 3.1 using the build31.bat and makefile.b31 files) 19990602-22:10 CET Eddie Runia * tests/working/run_exp.h gtApi and new console functions added 19990602-16:00 EDT David G. Holm <dholm@jsd-llc.com> * source/rtl/console.c - OS/2 requires that stdout and stderr be flushed in order to stay synchronized with the GT API * source/rtl/gt/gtos2.c - The gtPuts function was using strlen() on the text buffer instead of using the text length parameter 19990602-14:50 EDT David G. Holm <dholm@jsd-llc.com> * makefile.b31 - Added itemapi.h as dependancy for arrays.obj * makefile.icc - Added new GT string modules - Added Harbour include file dependencies to library sources * source/rtl/arrays.c - Added #include <itemapi.h>, which is needed by C++ compilers * source/rtl/console.c - Removed two trailing semicolons from #endif directives * source/rtl/gtapi.c - When adding HARBOUR MaxRow() and MaxCol() earlier, I forgot the rule that Harbour functions may not use any lower case letters - Added end comment for comment block around color tests in order to avoid having nested comments * source/tools/chareven.c - Added (char *) type conversion to _xgrab() function call * source/tools/charmix.c - Added (char *) type conversion to _xgrab() function call * source/tools/charodd.c - Added (char *) type conversion to _xgrab() function call * source/tools/strexpan.c - Added (char *) type conversion to _xgrab() function call 19990602-13:05 EDT David G. Holm <dholm@jsd-llc.com> * makefile.b31 - Added the new gt functions (which have nothing to do with the GT API) - All Harbour library source modules are now dependent upon the proper include files. * source/rtl/console.c - The GT API and dev_row, dev_col synchronization now also includes OUTSTD() and OUTERR(). * source/rtl/gtapi.c - Corrected error in column overflow handling in _gtWrite() 19990602-18:40 CET Eddie Runia * tests/working/run_exp.h gt_string functions added 19990602-11:35 EDT David G. Holm <dholm@jsd-llc.com> * source/rtl/console.c - Added HARBOUR SCROLL() * source/rtl/gtapi.c - Added HARBOUR MAXROW() and MAXCOL() + tests/working/scroll.prg - New test module to demonstrate scrolling 19990602-12:00 WIB Andi Jahja <andij@aonlippo.co.id> + gt.b32 - make file for gt functions + bldgt32.bat - batch file for hbgt.lib * tests\working\bld32exe.bat - to include hbgt.lib * tests\working\testgt.prg - test program for hbgt.lib + some function from PD gt.lib ported to Harbour : - source\tools\ascpos.c - source\tools\atdiff.c - source\tools\chareven.c - source\tools\charodd.c - source\tools\chrcount.c - source\tools\chrtotal.c - source\tools\charmix.c - source\tools\asciisum.c - source\tools\chrfirst.c - source\tools\strasint.c - source\tools\strcount.c - source\tools\strcspn.c - source\tools\strdiff.c - source\tools\strexpan.c - source\tools\strleft.c - source\tools\strpbrk.c - source\tools\strright.c + doc\vm.txt - description of Harbour Virtual Machine 19990602-12:30 CET Eddie Runia * source/rtl/arrays.c memory leakage in arrayClone plugged 19990602-09:30 Alexander Kresin Updated: * source/hbpp/hbpp.c - main preprocessor file * source/hbpp/c.prg - sample file * source/hbpp/makefile.b16 * source/hbpp/makefile.b32 Added: * source/hbpp/buildgcc.bat * source/hbpp/table.c 19990601-23:50 EDT David G. Holm <dholm@jsd-llc.com> * makefile.b31 - Made progress on GT API, so put USE_GTAPI back in as default. * source/rtl/console.c - Cleaned up synchronization between GT API and dev_row, dev_col * source/rtl/gtapi.c - Initialize starting row and column to 0 instead of 1 - _gtMaxCol() and _gtMaxRow() are 0-based in Clipper, so subtract 1 from the device width and height - Removed call to strlen() in _gtSave(), because Clipper does not appear to require the screen buffer to be initialized, just allocated - Changed _gtWrite() to deal with writing multiple rows of text - Wrote _gtScroll(), which is needed by _gtWritePos() and _gtWrite(). 19990601-21:35 CET Eddie Runia * tests/working/multinh.prg, source/rtl/classes.c, source/rtl/tclass.prg first step to multiple inheritance 19990601-18:15 CET Eddie Runia * tests/working/inherit.prg, source/rtl/classes.c, source/rtl/tclass.prg version correct release (+ super ) 19990601-12:00 EDT David G. Holm <dholm@jsd-llc.com> * makefile.b31 - Ran into problems using GT API with tests\working\mathtest, so removed USE_GTAPI from default use. * source/compiler/harbour.y - Added missing third parameter (a copy of the first one) to the comment section of the generated C pcode for _PUSHDOUBLE. 19990601-12:15 CET Eddie Runia * tests/working/inifiles.prg new Mab version installed * tests/working/inherit.prg, source/rtl/classes.c stackfree() bug disappeared (??) after using itemapi in classes.c 19990601-09:50 CET Eddie Runia * include/cgi.ch, tests/working/testcgi.prg CGI test program added * tests/working/run_exp.h GetEnv() added 19990531-23:05 CET Eddie Runia * source/compiler/harbour.y determination of symbol scope now correct. 19990531-21:45 CET Eddie Runia * tests/working/inherit.prg newer test program. reported crash was due to static functions ? * source/rtl/classes.c some small improvements 19990531-16:35 CET Matthew Hamilton (upload by Eddie Runia) * tests/working/inifiles.prg version 2 which creates harbour.new 19990531-14:30 CET Matthew Hamilton (upload by Eddie Runia) * tests/working/harbour.ini, tests/working/inifiles.prg added 19990531-13:20 CET Eddie Runia * source/rtl/classes.c; source/rtl/tclass.prg better version of inheritance * tests/working/inherit.prg some minor changes 19990531-10:15 CET Felipe G. Coury (upload Eddie Runia) * tests/working/testhtml.prg beautiful !! 19990530-23:05 CET Eddie Runia * source/rtl/objfunc.prg since aEval has been clean for a long time, it was time to use it ! 19990530-21:30 CET Eddie Runia * source/rtl/classes.c; source/rtl/tclass.prg initializer and release ready for inheritance * tests/working/inherit.prg init test added 19990530-12:12 EST Les. Griffith * added logic for hb_file in files.c * added test filexist.prg to test hb_file() in tests working 19990530-17:30 CET Eddie Runia * source/rtl/files.c fixed 0x00 byte handling of fReadStr * tests/working/readhrb.prg now a Harbour program * tests/working/readhrb.lnk removed. No longer necessary 19990530-11:18 EST Les. Griffith * added logic for _fscommit in files.c 19990530-14:00 CET Eddie Runia * source/rtl/classes.c; source/rtl/tclass.prg first step to inheritage * tests/working/inherit.prg test program 19990530-13:15 CET Eddie Runia * source/rtl/classes.c message <> not found bug finally removed 19990530-00:25 EST Les. Griffith * add logic for _fslock in files.c 19990529-23:46 Alexander Kresin Preprocessor: implementation of #command almost complete Updated: * source/hbpp/hbpp.c - main preprocessor file * source/hbpp/harb.c * source/hbpp/c.prg - sample file 19990529-19:45 CET Eddie Runia * tests/working/run_exp.h hb_f* functions added 19990529-10:04 EST Les Griffith * Files.c defined out scandir on djgpp * Set.c added include errno.h for djgpp * makefile.dos remaked out tests\working makefile.dos logic * created hbdos.bat in tests\working for gcc creation of exes 19990529-15:00 CET Eddie Runia * source/rtl/set.c small correction in ReleaseSets() 19990528-14:30 EST David G. Holm <dholm@jsd-llc.com> * source/rtl/console.c - NIL ouptuts "NIL", just like it used to before I removed it after running some tests with Clipper, which turned out to be flawed. - Improved link between GT API screen position and stdout/stderr screen position. 19990528-23:15 WIB Andi Jahja <andij@aonlippo.co.id> * source/tools/hb_f.c - add hb_fselect + tests/working/testsel.prg test program for hb_fselect() 19990529-10:11 EST Les Griffith * added both builddos.bat and makefile.dos for djgpp dos enviroment 19990528-21:00 WIB Andi Jahja <andij@aonlippo.co.id> * makefile.b32 modified to include hb_f.c in harbour.lib + source/tools/hb_f.c nanforum ft_f*() clones - hb_fuse - hb_frecno - hb_flastrec - hb_fgotop - hb_fgobottom - hb_fgoto - hb_feof - hb_freadln - hb_fskip + tests/working/testhbf.prg - Test program for hb_f*() routines 19990527-22:06 EST Les Griffith * changed iotest.prg to work without and exit clause 19990527-21:57 EST Les Griffith * fix to gtwin.c for duplicate function gtwherex 2nd one should be gtwherey 19990527-18:00 EST David G. Holm <dholm@jsd-llc.com> * makefile.icc - Added missing modules - Modified to build console with USE_GTAPI - Modified to put console and gtos2 into terminal library * source/rtl/console.c - Had row,col and y,x reversed in InitializeConsole() * source/rtl/gt/gtdos.c - Had row,col and y,x reversed in gtWhereX() and gtWhereY() * tests/working/biccexe.cmd - Include new terminal library 19990527-17:25 EST David G. Holm <dholm@jsd-llc.com> * makefile.b31 - Added -DUSE_GTAPI as standard compiler option * source/rtl/console.c - Added #ifdef USE_GTAPI to allow compiling without using the GT API 19990527-14:15 EST David G. Holm <dholm@jsd-llc.com> * makefile.b31 - Added gtdos to terminal library * include/ctoharb.h - Added word wDec parameter to PushDouble prototype (needed by C++ compilers) * include/gtapi.h - Added CVS ID - Added gtWhereX() - Added gtWhereY() * source/rtl/console.c - Added GT API support - Added InitializeConsole() to initialize GT API and device screen position - Added HARBOUR PROW(), PCOL(), and SETPRC() - Synchronize dev_row and dev_col with GT API screen position * source/rtl/files.c - Borland support now takes into account that older compiler versions don't have the POSIX S_ flags. * source/rtl/gtapi.c - Added CVS ID - Changed #include <types.h> to #include <extend.h> - Modified _gtWriteCon() to process control characters * source/rtl/set.c - Added default of "PRN" for HB_SET_PRINTFILE - If SET (_SET_DEVCE, "PRINTER") and printer file not open, then open it * source/rtl/transfrm.c - Added use of wDec parameter in calls to PushDouble() * source/rtl/gt/gtdos.c - Added CVS ID - Added gtWhereX() - Added gtWhereY() - Removed screen coordinate adjustments (i.e., - 1), because Clipper (and therefore Harbour) screen origin is (0,0) * source/rtl/gt/gtos2.c - Added CVS ID - Added gtWhereX() - Added gtWhereY() - Removed screen coordinate adjustments (i.e., - 1), because Clipper (and therefore Harbour) screen origin is (0,0) - Note: Still needs some work - doesn't match output from gtdos.c * source/rtl/gt/gtwin.c - Added CVS ID - Added gtWhereX() - Added gtWhereY() - Removed screen coordinate adjustments (i.e., - 1), because Clipper (and therefore Harbour) screen origin is (0,0) - Note: Needs to be tested, because I don't have a Windows compiler * source/rtl/gt/gtxxx.c - Added CVS ID - Added gtWhereX() - Added gtWhereY() * source/vm/hvm.c - Added call to InitializeConsole() - Added prototypes for InitializeConsole() and InitSymbolTable() for C++ compilers 19990527-19:50 CET Eddie Runia * source/rtl/gt/gtdos.c, source/rtl/gt/gtwin.c, source/rtl/gtapi.c minor changes * makefile.b32 should be correct now. /* QUESTION : Can anybody do this more the others as well */ * tests/working/runner.c run_exp.h 'DOW()' added to export list 19990527-12:15 CET Eddie Runia * tests/working/strip.prg slight modification * source/rtl/classes.c Problem with DynSym (??). Quick fix added to classes.c to stop message '<x>' not implemented in class '<y>' 19990527-08:45 CET Eddie Runia * makefile.b32 gtdos added * source/rtl/gt/gtdos.c; include/gtapi.h; tests/working/run_exp.h; source/rtl/console.c Minor changes to get it working 19990527-00:14 Les Griffith * moved gtos2.c gtwin.c gtdos.c gtxxx.c to source\rtl\gt at Matthew Hamilton suggestion 19990526-22:53 Les Griffith * added Bil Simser's gtapi.h to include and the c files to source\rtl * added to doc Bil's documentation re gtapi 19990526-20:45 EST David G. Holm <dholm@jsd-llc.com> * ChangeLog - Removed excess whitespace from previous ChangeLog entry * makefile.b31 - Added some missing source files * include/set.h - Added hb_set_althan and hb_set_printhan * source/rtl/console.c - Added OUTERR(), DEVPOS(), DEVOUT(), and EJECT() - Note: DEVPOS() and DEVOUT() have limited console support, due to the lack of a working GT API. * source/rtl/files.c - Added missing #if ! defined( __WATCOMC__ ) && ! defined( __BORLANDC__ ) around first use of S_IWUSR (copied from existing #if from second use). * source/rtl/set.c - Added file open/close support to HB_SET_ALTFILE and HB_SET_PRINTFILE + tests/working/output.prg - New module to test DEVPOS() and DEVOUT() 19990527-00:40 Ryszard Glab <rglab@imid.med.pl> * the support for following keywords are now 100% compatible with Clipper EXTERNAL, FIELD, FOR, FUNCTION 19990526-13:30 EST David G. Holm <dholm@jsd-llc.com> * source/rtl/dates.c - Added hb_dow and HARBOUR DOW() supplied by Jose Lalin <dezac@corevia.com> + tests/working/dates3.prg - New file to test DOW() supplied by Jose Lalin <dezac@corevia.com> 19990526-17:25 Eddie Runia * tests/working/strip.prg delete broken one and moved working one in 19990526-16:10 Eddie Runia * source/rtl/files.c Pass reference error removed. * source/rtl/extend.c par* commands now work correctly with reference variables. 19990525-23:25 Les Griffith * source/rtl/files.c added logic to readstr for lasterror 19990525-22:45 CET Eddie Runia * tests/working/spawn2.prg; tests/working/runner.c support for STATIC functions added and error message for duplicate identifiers 19990525-21:30 CET Eddie Runia * tests/working/spawn2.prg Warning added if not compiled using /gHRB 19990525-19:15 CET Eddie Runia * source/runner/runner.c; source/runner/run_exp.h; source/runner created. currently in transition. 19990525-15:40 CET Eddie Runia * bin, libs/b16, libs/b32, libs/vc, libs/icc, libs/win16 & libs/win32 added as per request 19990525-10:40 CET Eddie Runia * source/vm/initsymb.c DATE added to init symbols 19990525-10:03 CET Antonio Linares <alinares@fivetech.com> * tests/working/runner.c (shouldn't this file be located at source/runner?) - some small changes to admit FILE() Harbour name. * tests/working/run_exp.h (shouldn't this file be located at include directory ?) - some small changes to admit FILE() Harbour name. 19990525-09:13 CET Antonio Linares <alinares@fivetech.com> * makefile.b32 - project dependencies list order changed to properly build everything in one pass 19990525-09:01 CET Antonio Linares <alinares@fivetech.com> * source/rtl/extend.c - wArrayIndex Borland C warnings fixed. 19990525-08:45 CET Antonio Linares <alinares@fivetech.com> * include/extend.h - workaround to avoid conflicts between FILE struct and harbour FILE() * source/rtl/files.c - _FILE() renamed to FILE() /* tests/working/test_all.prg now builds fine */ 19990525-08:21 CET Antonio Linares <alinares@fivetech.com> * makefile.b32 - enhanced .path.obj so the compiler gets not built always * source/rtl/files.c - enhanced support for Borland C 5.2 compiler 19990524-19:20 EST David G. Holm <dholm@jsd-llc.com> * source/rtl/dates.c - Added HARBOUR DATE() function. * tests/working/dates.prg - Added use of DATE() function in first OUTSTD call. 19990524-21:05 CET Eddie Runia * source/rtl/strings.c PAD* didn't work correctly with negative numbers * source/rtl/extend.c _parnl needed casting 19990524-17:10 CET Eddie Runia * tests/working/test_all Fully automated the test bench. If you select HRB, it also runs the program. Just press <Enter> a couple of times and you should know how to loose Mankala blindly. 19990524-16:45 CET Les Griffith (upload Eddie Runia) * tests/working/iotest2.prg Test program fReadStr * tests/broken/exittest.prg Anyone up for a challenge ;-) 19990524-16:40 CET Eddie Runia * include/hbsetup.h WATCOM if added * tests/working/*.prg minor updates 19990524-14:30 CET Eddie Runia * source/vm/hvm.c <xArg> := PValue(<nArg>) added * tests/working/run_exp.h added to function list * tests/working/multiarg.prg test program used 19990524-10:25 CET Alexander Kressin (upload Eddie Runia) * source/hbpp added preprocessor 19990524-08:10 CET Les Griffiths (upload Eddie Runia) * source/rtl/files.c a step in right the direction 19990523-16:45 CET Eddie Runia * tests/working/test_all.prg Optional command line option added. If you pass HRB, it will compile .HRB files. (Also it redirects the output to test_all.out, because it went to quickly) 19990523-16:15 CET Patrick Mast (upload by Eddie Runia) * tests/working/test_all.prg, tests/working/test_all.lnl Testbank added. * tests/working/*.prg So programs not qualified for testing. * tests/working/rtl_test.prg function Main() added 19990523-14:30 CET Eddie Runia * tools.b16, tools.b32, bldtls32, bldtools.bat send to heaven 19990523-14:05 CET Eddie Runia * source/rtl/files.c #include added for Borland * source/rtl/strings.c str error fixed 19990523-12:50 CET Eddie Runia * source/rtl/transfrm.c Modified for by reference. (Forgot I was Captain of that) 19990523-12:20 CET Eddie Runia * include/types.h modified the IS_* to work for reference passed variables * source/vm/hvm.c Changed ->wType to IS_* if possible else added & ~IT_BYREF * source/rtl/strings.c Strings also modified 19990523-11:36 CET Manuel Ruiz * source/rtl/files.c Add HAVE_POSIX_IO for Borland and GCC compilers 19990523-08:00 CET Les Griffith (upload by Eddie Runia) * source/rtl/files.c Yes, revision 1.2 ! * tests/working/passref.prg, tests/working/iotest.prg test files added. (Not functioning correctly yet) 19990522-18:30 CET Eddie Runia * tests/working/runner.c command-line arguments passed to both init function and running program * tests/working/spawn.prg test program 19990522-17:50 CET Eddie Runia * source/rtl/arrays.c, source/rtl/classes.c typical : if it works on one compiler, it will fail on another. oClone also modified :-) 19990522-17:25 CET Eddie Runia * source/vm/hvm.c 'Array' bug possibly resolved. * source/rtl/arrays.c aClone does not loose memory anymore * tests/working/ainstest.prg test for aClone added. 19990522-15:55 CET Eddie Runia * docs/hrb.faq Clean up * tests/working/stub.dat, tests/working/hbrun.bat Renamed stub.bat to hbrun.bat (Better name) 19990522-15:35 CET Eddie Runia * tests/working/instr.prg, source/vm/hvm.c Les Griffiths patch inserted 19990522-15:10 CET Eddie Runia * include/test.ch added * source/rtl/environ.c Crash resolved for C++ Builder * tests/working/testtok.prg set exact added 19990522-14:40 CET Eddie Runia * tests/working/*.bat -i..\..\include added 19990522-14:10 CET Eddie Runia Change from 11:43 committed * tests/broken/instr.prg removed * include/hbsetup.h #define HARBOUR_START_PROGRAM temporarily commented out, because of errors 19990522-11:43 CET Eddie Runia * source/vm/hvm.c pItem bug in add changed Instring operator added 'unreleased memory block' only get shown if memory block remain open * tests/working/instr.prg test program for instring added * tests/working/runner.c 'Loading' messages removed * source/compiler/harbour.y 'Debug' messages removed. 19990521-21:45 CET Eddie Runia * tests/broken/instr.prg added. Contribution from Les Griffiths. formerly known as strcomp * source/rtl/transfrm.c. Serious error code error * source/rtl/classes.c Error code added * source/vm/hvm.c Additional operator overloads added. 19990520-20:07 EST David G. Holm <dholm@jsd-llc.com> Thanks go to "Viktor Szakats" again! * source/rtl/strings.c - VAL sets the number of integer digits and decimal places for the result 19990520-19:35 EST David G. Holm <dholm@jsd-llc.com> Thanks go to "Viktor Szakats" * source/compiler/harbour.l - Saves number of decimal places in double constants * source/compiler/harbour.y - Includes number of decimal places when creating pcode for _PUSHDOUBLE * source/vm/hvm.c - Pcode for _PUSHDOUBLE extracts number of decimal places Thu May 20 16:03:24 1999 Gonzalo A. Diethelm <Gonzalo.Diethelm@jda.cl> * source/rtl/dates.c: Nasty bug: using '&' instead of '&&'. * config/header.cf: * include/Makefile: * Makefile: Added rules to deal with include files (they are just installed into INC_DIR). Now the top-level Makefile traverses include before source. * config/win32/gcc.cf: * config/win32/msvc.cf: * config/win32/global.cf: The include directory is now given by INC_DIR. * config/win32/rules.cf: Harbour now uses -I to find include files. * include/hbsetup.h: Moved OS_PATH_DELIMITER back to harbour.y, as PATH_DELIMITER; it is now a string that contains "/\\". * source/compiler/harbour.y: Deal with '/' as path separator ('\\' still works). Make sure -q is really quiet. * source/rtl/Makefile: * source/tools/Makefile: Used tabs instead of spaces. * source/rtl/gtapi.c: * source/tools/io.c: Made sure these two compile in non-DOS platforms (don't do much though). * source/vm/hvm.c: Fixed a warning about using %i instead of %li. 19990520-07:10 MST Bil Simser (bsimser@home.com) * makefile.vc Updated makefile to include new changes to RTL 19990520-13:50 CET Eddie Runia * tests/working/transfrm.c set date and century added. 19990520-11:00 CET Eddie Runia * tests/working/runner.c simple file correctness checks added 19990520-03:40 EST David G. Holm <dholm@jsd-llc.com> * include/set.h - Added hb_set_fixed and HB_SETFIXED(). * source/rtl/set.c - Added hb_set_fixed and HB_SETFIXED(). * source/rtl/strings.c - Added test for hb_set_fixed and set default number of decimal positions to hb_set.HB_SET_DECIMALS if hb_set_fixed is TRUE instead of using the number of decimal positions specified in the ITEM structure. * source/vm/hvm.c - Removed the special case for a return value of zero from PushNumber(). * tests/working/teststr.prg - Added a second run of the test with SET FIXED ON. 19990520-03:00 EST David G. Holm <dholm@jsd-llc.com> * include/extend.h - Added new function hb_str() for public use. * source/rtl/console.c - hb_outstd() now uses hb_str() instead of formatting numerics itself. * source/rtl/strings.c - Added new hb_str() function to do all numeric formatting for all of Harbour. - Rewrote STR() to call hb_str() after validating parameters. + tests/working/teststr.prg - New module to test new function hb_str() via STR() and STDOUT(). 19990519-23:50 EST David G. Holm <dholm@jsd-llc.com> * source/rtl/extend.c - Use wDec = hb_set.HB_SET_DECIMALS instead of wDec = 2. - _retnd() and _stornd() now set wLength to 20 if the value is over 10 digits. * source/rtl/itemapi.c - Use wDec = hb_set.HB_SET_DECIMALS instead of wDec = 2. - hb_itemPutND() now sets wLength to 20 if the value is over 10 digits. * source/rtl/math.c - Restored HARBOUR INT() back to use _retnl( _parnd( 1 ) ), because the problem was not in the Borland C++ 3.1 compiler, but in the hb_outstd() case for IT_LONG in console.c (see 19990518-17:30 EDT David G. Holm for the incorrect correction and 19990519-21:40 EST David G. Holm for the fix to hb_outstd() in console.c). * source/vm/hvm.c - Div(), Modulus(), and Power() set wDec to hb_set.HB_SET_DECIMALS. - Dec(), Inc(), FOR, and Negate() leave wDec unchanged. - Plus() and Minus() set wDec to the larger of the two parameter wDec values. - Mult() sets wDec to the sum of the two parameter wDec values. - PushDouble() now sets wLength to 20 if the value is over 10 digits. 19990519-22:00 EST David G. Holm <dholm@jsd-llc.com> * source/rtl/environ.c - Do Windows version check even when #if defined(_Windows). - Don't attach version numbers if the major OS version number is unknown. 19990519-21:40 EST David G. Holm <dholm@jsd-llc.com> * makefile.b31 - Modified to support changes to source/compiler/fixflex.c * source/compiler/fixflex.c - The two largest tables in lexyy.c are now larger than 64 KiB combined, so they are now placed into separate source files and the four next largest tables are split into a third source file. * source/rtl/console.c - Corrected display of IT_LONG to use value.lNumber instead of iNumber. - Corrected display of IT_DOUBLE to use wLength as integer size, so that when printing decimals the total display size is wLength + wDec + 1. * source/rtl/extend.c - _retnd and _stornd now set wLength to 10 instead of 13. * source/rtl/itemapi.c - hb_itemPutL now sets wLength to 3. - hb_itemPutNL now sets wLength to 10 and wDec to 0. - hb_itemPutND now sets wLength to 10 and wDec to 2. * source/vm/hvm.c - PushDouble, PushInteger, and PushLong now set wLength and wDec. * tests/working/ainstest.prg - Modified formatting done by aDump() to be more readable. 19990520-01:40 Ryszard Glab <rglab@imid.med.pl> * source/compiler/harbour.y -corrected support for INCLUDE environment variable (the last path was ignored) -definition of path delimiter and path list separator was moved to hbsetup.h file. OS_PATH_DELIMITER and OS_PATH_LIST_SEPARATOR are now defined. -changed #define from OBJ_GENERATION to HARBOUR_OBJ_GENERATION * source/compiler/harbour.l -EXIT keyword is now properly supported * source/vm/hvm.c -changed #define from OBJ_GENERATION to HARBOUR_OBJ_GENERATION -changed #define from HARBOUR_MAIN to HARBOUR_START_PROCEDURE * include/hbsetup.h -changed #define from OBJ_GENERATION to HARBOUR_OBJ_GENERATION -changed #define from HARBOUR_MAIN to HARBOUR_START_PROCEDURE -added #define OS_PATH_DELIMITER -added #define OS_PATH_LIST_SEPARATOR * include/hberrors.h -added #define ERR_UNMATCHED_EXIT * source/rtl/environ.c -corrected support for Watcom C/C++ compiler * tests/working/keywords.prg -added test code for EXIT keyword 19990519-21:22 CET Eddie Runia * makefile.b16 Patrick patch (command-line too long entered) 19990519-20:00 CET Eddie Runia * tests/working/run_exp.h shortened because InitSymbols * makefile.b16 / .b32 / .icc initsymb.c added 19990519-18:00 CET Eddie Runia * docs/hrb.faq add some documentation and FAQ list for the .HRB output 19990519-12:50 CET Eddie Runia * source/compiler/harbour.y Some clean up * tests/broken/runner.c | run_exp.h | stub.bat removed * tests/working/runner.c | run_exp.h | stub.bat added runner code * tests/working/spawn.prg spawn example program * tests/working/readhrb.prg + readhrb.lnk Clipper program to read .HRB files 19990518-23:15 David G. Holm <dholm@jsd-llc.com> * makefile.b31 - Put all common BCC options in c_opt macro to make it easy to switch to C++ by simply adding -P to c_opt and changing -P- on fixflex line to -P+ - I left the makefile creating Harbour using C, because there was no change in harbour.exe size or behaviour with C++ (Borland C++ 3.1) * source/compiler/fixflex.c - Modified to work with both C and C++ versions of Harbour + tests/working/bldpexe.bat - Copy of buildexe.bat with -P option to compile with C++ + tests/working/hbp.bat - Copy of hb.bat that calls bldpexe.bat to use C++ 19990519-02:45 Ryszard Glab <rglab@imid.med.pl> * source/compiler/harbour.y - added support for INCLUDE environment variable - corrected looking for unmatched ENDIF/ELSE//ELSEIF - added '-t' option = alternative initialization of symbol table When this option is used then the Harbour generates C code for a function <modulename>__InitSymbols that have to be called in order to properly initialize the global symbol table. You should use this option if you want to generate the C code output and your C compiler doesn't allow to call any function before the 'main'. * surce/vm/initsymb.c - added new file that registers a symbols table with runtime support functions. This file can be edited to add calls for application specific functions that registers local symbols tables used in application modules. The Harbour compiler can create <modulename>__InitSymbols functions when you use '-t' option. * source/vm/hvm.c - added call for InitSymbolTable function that registers symbol table with runtime support Harbour functions. 19990518-19:30 David G. Holm <dholm@jsd-llc.com> * source/rtl/environ.c - Enhanced Harbour OS function to return both OS and Version for OS/2, DOS, and Windows 95/98. 19990518-18:00 David G. Holm <dholm@jsd-llc.com> + buildicc.cmd - New file for IBM C++ 3.0 for OS/2 + makefile.icc - New file for IBM C++ 3.0 for OS/2 * include/types.h - Added #ifdef for IBM C++ 3.0 for OS/2 * source/compiler/harbour.c - Added #ifdef and isatty() for IBM C++ 3.0 for OS/2 * source/rtl/environ.c - Added #ifdef for IBM C++ 3.0 for OS/2 + tests/working/biccexe.cmd - New file for IBM C++ 3.0 for OS/2 + tests/working/hbicc.cmd - New file for IBM C++ 3.0 for OS/2 19990518-23:40 CET Eddie Runia * source/compiler/harbour.y GenPortObj added. Can be accessed through /gHRB generates portable object structure. * tests/broken/hrb.bat added. simple batch file for HRB compilation * tests/broken/runner.c added. runner program * tests/broken/run_exp.h added. runner include file containing 'exportable' functions. 19990518-17:30 EDT David G. Holm <dholm@jsd-llc.com> * source/rtl/console.c - Use pItem->wLength and pItem->wDec when printing numbers. * source/rtl/dates.c - Moved date validation to hb_dateEncode function. - hb_dtoc now puts date separators in an empty date. - DAY function now sets stack.Return.wLength to 3. - MONTH function now sets stack.Return.wLength to 3. - YEAR function now sets stack.Return.wLength to 5. * source/rtl/extend.c - Set stack.Return.wLength and stack.Return.wDec for numbers. - _retds() now returns 8 spaces for invalid dates. * source/rtl/math.c - ABS returns same numeric type as parameter. - INT returns same numeric type as parameter, but for IT_DOUBLE, the value is truncated, wLength is set to 10, and wDec is set to 0. * tests/working/dates.prg - Removed trailing spaces in strings in OUTSDT calls with multiple items, because OUTSTD provides a leading space for all items but the first. * tests/working/mathtest.prg - Added QOUT(454.14) and QOUT(INT(454)) to debug INT problem with Borland C++ 3.1, which lead to change to INT in source/rtl/math.c 19990518-15:20 EDT David G. Holm <dholm@jsd-llc.com> * source/rtl/set.c - Fixed memory leak in HB_SETCENTURY 19990518-03:05 Ryszard Glab <rglab@imid.med.pl> * source/compiler/harbour.l -corrected misspelled wCaseCounter * include/hberrors.h -new errors definition added (it should be uploaded in previous commit -sorry my fault 19990518-01:45 Ryszard Glab <rglab@imid.med.pl> * source/compiler/harbour.l, source/compiler/harbour.y -added support for '-i' option (#include file search path) however it doesn't use SET INCLUDE environment variable yet -added error messages if unmatched ENDDO, ENDCASE, ENDIF, NEXT is found * include/extend.h -added forward declaration of CODEBLOCK structure and added the proper type for pCodeblock member of ITEM structure * source/vm/hvm.c -corrected pCodeblock type casting -added C++ style declaration of HB_FIRSTSYMBOL and HB_LASTSYMBOL 19990517-16:05 CET Eddie Runia * source/rtl/classes.c, source/rtl/tclass.prg, include/extend.h Initializers for DATA items added * tests/working/clasinit.prg Test program added 19990516-20:20 EDT David G. Holm <dholm@jsd-llc.com> * source/rtl/dates.c - Modified CTOD to perform date validation to only allow dates in the range allowed by Clipper: January 1, 0 through December 21, 2999. - Added parameter checking to hb_dtoc. * source/rtl/extend.c - Modified _pards to return an empty string ("") for invalid dates. - Modified _retds to set the Harbour date to 0 if the parameter is missing or if the parameter is not an 8-character null-terminated string. * source/vm/hvm.c - Changed EMPTY case for IT_NUMERIC to IT_INTEGER, because IT_NUMERIC is a composite of IT_INTEGER, IT_LONG, and IT_DOUBLE, which caused all integer values to return .T. * tests/working/empty.prg - Added SET CENTURY ON and SET DATE BRITISH, and removed text regarding DTOC needing to be fixed. 19990516-21:33 CET Eddie Runia * tests/working/set.ch removed 19990516-07:04 Ryszard Glab <rglab@imid.med.pl> * source/compiler/harbour.l, source/compiler/harbour.y -cleaned rules for NEXT, BREAK, WHILE, BEGIN, DO to be 100% Clipper compatible (mainly keyword[] use); -corrected support for END keyword; -added include files: hbsetup.h and hberrors.h; -code for OBJ generation is now linked optionally -it is linked if the symbol OBJ_GENERATION is defined in hbsetup.h file; -corrected the generation of EXTERNAL symbols * source/vm/hvm.c -code with support for symbols defined in OBJ files is now linked optionally -it is linked if the symbol OBJ_GENERATION is defined in hbsetup.h file -added support for optional definition of the starting procedure (in case when automatic lookup for it doesn't work (Watcom C/C++)) * include/hbsetup.h -new file with Harbour configuration options (see this file for available options) * include/hberrors.h -new file with error constants definition shared by harbour.y and harbour.l * include/extend.h -added declaration of FindDynSym() function used in hvm.c * source/rtl/environ.c -added correct #include for Watcom C/C++ to use REGS union (although I am not sure if OS function should be placed here) * source/rtl/itemapi.c -corrected wrog declaration of symEval variable (it is SYMBOL structure instead of PSYMBOL pointer) * tests/working/keywords.prg -added test code for END keyword * makewat.env, makefile.wat -added/corrected makefiles for Watcom C/C++ compiler * makedos.env, makefile.dos -added/corrected makefiles for pure DOS DJGPP compiler 19990516-06:30 CET Eddie Runia * tests/working/bld32exe.bat Correct version added 19990516-01:00 CET Eddie Runia * source/rtl/arrays.c, source/rtl/extend.h ULONG instead of int hb_arrayLen() Reallocation bug in arrayAdd fixed 19990515-19:40 CET Eddie Runia * source/rtl/classes.c, source/rtl/arrays.c oClone added (actually : aClone can handle both :-) 19990515-16:20 CET Eddie Runia * source/compiler/harbour.y Jump optimalization caused return to fail. Optimalization removed. 19990515-15:15 CET Eddie Runia * source/rtl/environ.c Crash from geninterrupt resolved 19990515-13:55 CET Eddie Runia * source/rtl/classes.c Unreleased memory block in inline resolved. AGAIN ! 19990515-13:40 CET Eddie Runia * source/rtl/classes.c CVS Just deleted another upload !!!! 19990515-12:50 CET Eddie Runia * tests/working/overload.prg; source/rtl/hvm.c overloading basis 19990515-10:20 CET Eddie Runia * tests/working/*.bat make and build files added 19990514-20:10 EDT David G. Holm <dholm@jsd-llc.com> * source/rtl/strcmp.c - Added SET EXACT ON rules for null strings and trailing spaces. * tests/working/strings3.prg - Added tests for null strings and trailing spaces. 19990515-01:15 CET Eddie Runia * source/compiler/harbour.y #include again 19990513-22:20 EDT David G. Holm <dholm@jsd-llc.com> * makefile.b31 - Put harbour.obj back into the harbour.exe build. * source/compiler/harbour.y - Changed Expression EQ (for ==) to generate new PCODE _EXACTLYEQUAL, again. * source/vm/hvm.c - Modifed the Equal function to take one parameter: BOOL bExact, again. - Modified the handler for PCODE _EQUAL to call Equal( FALSE ), again. - Added new handler for PCODE _EXACTLYEQUAL, which calls Equal( TRUE ), again. - Modified the Equal function to call hb_itemStrCmp with bExact as the new third parameter, again. 19990514-23:45 CET Eddie Runia * source/rtl/set.c IS_STRING and IS_LOGICAL called without checking for empty pItem. 19990514-22:15 CET Eddie Runia * tests/working/set.ch added 19990514-20:30 CET Eddie Runia * include/set.ch (didn't work) added * source/rtl/classes.c Unreleased memory block in inline resolved 19990514-20:15 CET Eddie Runia * source/rtl/gtapi.c A lot of #ifdef #endif added or else it couldn't build out of the box. 19990514-19:50 CET Eddie Runia * source/rtl/codebloc.c Codeblock patch from Ryszard applied 19990514-19:45 CET Eddie Runia * source/rtl/arrays.c Patch from David (see below) was overwritten ?? 19990514-17:05 CET Eddie Runia * harbour.y xVar[ xEl ] += -= *= /= %= ^= added 19990514-16:00 CET Eddie Runia * makefile.b32 - added objfunc.obj * source/vm/hvm.c #ifdef NO_OBJ added * tests/working/hb32.bat, tests/working/bld32exe.bat added. 19990513-22:20 EDT David G. Holm <dholm@jsd-llc.com> * makefile.b31 - Removed harbour.obj from harbour.exe build, due to change from harbour_main to main in harbour.y * include/extend.h - Added 3rd parameter, BOOL bForceExact, to hb_itemStrCmp * include/pcode.h - Added new PCODE for _EXACTLYEQUAL to handle difference between = and == * source/compiler/harbour.y - Changed Expression EQ (for ==) to generate new PCODE _EXACTLYEQUAL * source/rtl/arrays.c - Modified ASCAN to call hb_itemStrCmp with FALSE as new 3rd parameter in order to match Clipper's use of the = operator for comparisons * source/rtl/strcmp.c - Added 3rd parameter, BOOL bForceExact, to hb_itemStrCmp and modified the code for comparing two strings to not adjust the return value when the second string is shorter than the first string and matches the first string up to the length of the second string, unless either bForceExact or hb_set.HB_SET_EXACT are TRUE * source/vm/hvm.c - Modifed the Equal function to take one parameter: BOOL bExact - Modified the handler for PCODE _EQUAL to call Equal( FALSE ) - Added new handler for PCODE _EXACTLYEQUAL, which calls Equal( TRUE ) - Modified the Equal function to call hb_itemStrCmp with bExact as the new third parameter * tests/working/strings3.prg - Added display of the SET EXACT setting before the big string comparison test, then duplicated the entire test and added SET (_SET_EXACT, .T.) prior to the second set of tests 19990513-11:05 Eddie Runia * obj/symbols.obj added * makefile.b32 changed according to Andi/Patrick fix. 19990512-21:30:00 EDT David G. Holm <dholm@jsd-llc.com> * makefile.b31 - Added implicit rule to compile .prg files in source\tools 19990512-18:40 Eddie Runia * source/tools/stringp.prg #defines added * makefile.b32 \ error and .prg path corrected * makefile.b16 .prg path corrected 19990512-01:15:00 EDT David G. Holm <dholm@jsd-llc.com> * makefile.b31 - Added genobj32.c and sybmols.asm - Made more developer friendly (you no longer have to remember which intermediate files to delete when a build fails due to an error in the makefile or an error in an intermediate step). - Added fixflex to split flexyy.c into flexyy.c and flex_tab.c + source/compiler/fixflex.c - New source module to split flexyy.c into smaller flexyy.c with the two largest tables in flex_tab.c. NB! Not needed for 32-bit compilers. Tue May 11 18:53:43 1999 Gonzalo A. Diethelm <Gonzalo.Diethelm@jda.cl> * Makefile: Added obj to the list of directories. * source/Makefile: Added rdd to the list of directories. * source/rtl/Makefile: Added gtapi.c to the list of C sources. * source/rtl/gtapi.c: Got rid of two warnings with gcc. * source/rtl/environ.c: Made sure it compiles with gcc. There was a missing #endif. * source/tools/stringp.prg: * tests/working/debugtst.prg: Replaced Debug() with HBDebug(), otherwise the generated C source collides with the macro DEBUG. * source/vm/hvm.c: Corrected a comment. * source/rdd/Makefile: * obj/Makefile: Added these two Makefiles. 19990511-19:20 Eddie Runia * source/rtl/classes.c (Default) parameter self added to INLINE methods * tests/working/inline.prg Test of INLINE method. 19990511-09:55 Eddie Runia * source/rtl/objfunc.prg, source/tools/stringp.prg created from tests/working/debugtst.prg * Makefile.* files added to list. (Except makefile.vc) 19990511-09:40 Eddie Runia * source/rtl/asort.prg added a seperate function * tests/working/debugtst.prg asort removed * Makefile.* asort added to list. (Except for makefile.vc; Incomplete ?) 19990511-00:07 MSG Bil Simser <bsimser@home.com> * source/rtc/environ.c - Added OS function * tests/working - Added OS.PRG test program 19990510-21:45 EDT David G. Holm <dholm@jsd-llc.com> * source/harbour.y - Put back a C++ lvalue fix that appears to have gotten lost during a diff merge: Parameter in call to yy_switch_to_buffer with embedded assignment needs () around the entire expression in order to have the (YY_BUFFER_STATE) type override apply to the result of the assignment. Mon May 10 19:32:34 1999 Gonzalo A. Diethelm <Gonzalo.Diethelm@jda.cl> * makefile.b32: Added source/compiler/harbour.c to this makefile. * source/compiler/Makefile: Added genobj32.c. * source/compiler/genobj32.c: Got rid of warnings. * source/compiler/harbour.y: Added '/' as path separator. 19990510-11:30 Eddie Runia * source/rtl/classes.c Function IsMessage() added * tests/working/debugtst.prg Function IsData() / IsMethod() added. Also contains tests for Is*() 19990510-10:05 Eddie Runia * source/vm/hvm.c Function PCount() added /* QUESTION: Should it be there ? */ * tests/working/debugtst.prg PCount() used 19990510-09:10 Eddie Runia * source/rtl/itemapi.c, include/itemapi.h - new version installed * source/tools/debug.c, source/rtl/classes.c - _item changed to hb_item 19990510-08:32 Eddie Runia * include/harbclip.h grabbed 19990510-01:19 Ryszard Glab <rglab@imid.med.pl> * source/compiler/harbour.l, source/compiler/harbour.y - corrected syntax check for: case-> case+= case-= - DO/WHILE/CASE/WITH is now 100% compatible with Clipper - there is still problem with comments that ends with **/ (exactly two asterix and slash) * tests/working/keywords.prg - added code to test DO/WHILE/CASE/WITH 19900509-23:30 Eddie Runia * source/working/mankala.prg Instructions added 19990509-21:00 Eddie Runia * hvm.c Logical equivalence tests added ( ==, !=, >, <, >=, <= ) * debugtst.c Logical equivalence used. (==) aoMethod down to one-liner ! 19990509-19:30 Eddie Runia * makefile.b16, makefile.b32 debug.obj added 19990509-18:10 Eddie Runia * tests/working/calling Function Second changed to SecondOne() * tests/working/initexit * tests/working/statfun See above * tests/working/testtok i was required in next - Problem resolved (Thanx ! Ryszard ?) 19990509-18:00 CET Viktor Szakats * source/rtl/strings.c: hb_At() -> hb_strAt() * source/rtl/*.c, source/include/extend.h hb_julian2greg() -> hb_dateDecode() hb_greg2julian() -> hb_dateEncode() 19990508-20:57 Eddie Runia * source/rtl/arrays.c: Fixed unreleased memory block in aEval. 19990508-15:24 CET Viktor Szakats * source/rtl/strings.c: Fixed warning in PADR(), PADL(), PADC() (David G. Holm) 19990507-23:45 EDT David G. Holm <dholm@jsd-llc.com> This update makes Harbour compatible with the IBM C++ compiler. * include/init.h - Added test for IBM C++ compiler to Microsoft C #if block * include/types.h - Added #ifdef block for IBM C++ compiler to set #define for HARBOUR as simply void and also to set up a new #define for EXTERNAL_LINKAGE (as _LNK_CONV) in order for the IBM C++ compiler to compile harbour.y. * source/compiler/harbour.l - Added static to forward delcaration for yyunput in order to match the actual definition. * source/compiler/harbour.y - Added static to forward declaration of __yy_memcpy in order to match the actual definition. - Added EXTERNAL_LINKAGE to sz_compare4 definition, so that the IBM C++ compiler can successfully compile Harbour. - Added (BYTE *) type override to szText parameter in second invocation of GenPCodeN (the first one already had an override). 19990507-23:15 EDT David G. Holm <dholm@jsd-llc.com> * source/vm/hvm.c - Changed byte by byte copy used in PushString to memcpy, because the side effects of code like szTemp[w++] = szText[w] is compiler dependent. Borland C++ 3.1 (in C mode) copies byte 0 to byte 0, etc., but IBM Visual Age C++ 3.0 (in C++ mode) copies byte 1 to byte 0, etc. Sat May 8 03:02:04 1999 Ryszard Glab <rglab@imid.med.pl> * source/compiler/harbour.y, source/compiler/harbour.l -static variables can be accessed in a codeblock even if this codeblock is a return value (detached static variables) -Harbour finds now illegal initializations of static variables (static variables can be initialized using literals only) -there is no 'redefinition of predefined function' error when the name of compiled source code is the same as reserved function -corrected support for /*******/ comments -Harbour distinguish now 'CASE' variable, 'CASE()' function and CASE statement (see tests/working/keywords.prg) * tests/working/keywords.prg -added many more wild statements to test Harbour compiler * test/working/statics.prg -added code to test access of static variables from a codeblock * source/rtl/extend.c -added brackets to avoid ambiguous if/else * source/include/extend.h * source/rtl/codebloc.c - added support for static variables in a codeblock 19990507-20:15 EDT David G. Holm <dholm@jsd-llc.com> * source/compiler/harbour.l * source/compiler/harbour.y * source/rtl/classes.c - Modified all three for C and C++ compatibility. - Tested with Borland C++ 3.1 in both C and C++ modes. 19990508-00:18 Eddie Runia * source/rtl/classes.c: oSend( <obj>, <cMessage>, <xArg,..> added. Thu May 07 17:00:00 1999 Viktor Szakats * source/rtl/strings.c: Adapted changes by Matthew Hamilton <MHamilton@bunge.com.au> Some internal functions renamed long type changed to ULONG. 19990507-11:30 EDT David G. Holm <dholm@jsd-llc.com> * makefile.b31 - added hbtools.lib * source/rtl/dates.c - added error handling supplied by Matthew Hamilton <MHamilton@bunge.com.au> * source/vm/hvm.c - changed call to hb_init_set() to InitializeSets() to match source/rtl/sets.c * tests/working/buildexe.bat - added hbtools.lib 19990507-09:55 Ryszard Glab <rglab@imid.med.pl> * source/rtl/files.c * source/rtl/set.c * source/rtl/transfrm.c * source/tools/stringsx.c -added compatibility with Watcom C/C++ compiler (char *) type castings 19990507-07:25 Ryszard Glab <rglab@imid.med.pl> * source/compiler/harbour.y, source/compiler/harbour.l -improoved support for BEGIN SEGEUENCE -added distinction between BEGIN command and begin variable -added distinction between BREAK command and break variable * tests/working/keywords.prg -new file to test if we are 100% compatible with Clipper Thu May 06 18:12:15 1999 Gonzalo A. Diethelm <Gonzalo.Diethelm@jda.cl> * config/win32/gcc.cf: Added (commented by now) linking agains the math library. * source/compiler/harbour.y: Now the -q option is REALLY quiet. * tests/working/Makefile: Added all of the tests to the Makefile. Thu May 06 22:45:00 1999 Viktor Szakats * source/rtl/dates.c: Fix to STOD(), added error checking to DTOS(), the later can be disabled to make it faster. * source/vm/hvm.c, include/extend.h: strempty() -> hb_strempty(), declaration moved to .h * source/rtl/strings.c: hb_strempty() speed optimalization, cleanup. * source/vm/dynsym.c: OurStrUpr() -> hb_strupr() _strgreater -> hb_strgreater() * source/rtl/console.c: _outstd() -> hb_outstd() * source/tools/stringsx.c: StrToken() -> hb_strtoken() * source/rtl/strings.c: LTrim() -> hb_LTrim() RTrimLen() -> hb_RTrimLen() Lower() -> hb_Lower() Upper() -> hb_Upper() At() -> hb_At() Val() -> hb_Val() * source/vm/hvm.c, source/rtl/array.c, source/rtl/strcmp.c, include/extend.h OurStrCmp() -> hb_itemStrCmp() * source/rtl/*.c, source/include/extend.h julian2greg() -> hb_julian2greg() greg2julian() -> hb_greg2julian() Declaration moved to extend.h Thu May 06 13:58:48 1999 Gonzalo A. Diethelm <Gonzalo.Diethelm@jda.cl> * source/vm/hvm.c: Changed the prototype for ForceLink so that it is declared and defined as a static function. Thu May 06 13:09:45 1999 Gonzalo A. Diethelm <Gonzalo.Diethelm@jda.cl> * config/bin.cf: * config/c.cf: * config/lib.cf: * config/prg.cf: * config/test.cf: * source/rtl/Makefile: By mistake, we were not compiling the PRG files into OBJS for the rtl library. * source/rtl/dates.c: Changed the use of min with explicit code. min and max are macros in some platforms, functions in others, and it is usually a mess to link against them. * source/Makefile: * source/tools/Makefile: This directory was not being compiled. * source/tools/genobj.c: Got rid of most (all?) the warnings. * tests/working/Makefile: Now the libs to link against are explicitly specified in the Makefile. * tests/working/statics.prg: Cleaned up all ^M characters. Thu May 06 12:34:45 1999 Gonzalo A. Diethelm <Gonzalo.Diethelm@jda.cl> * source/compiler/harbour.l: * source/compiler/harbour.y: * source/rtl/set.c: Again, I renamed _AND and _OR to AND_ and OR_, and cleaned up a few warnings. Wed May 05 18:51:06 1999 Gonzalo A. Diethelm <Gonzalo.Diethelm@jda.cl> * include/ctoharb.h: * source/rtl/arrays.c: * source/rtl/files.c: * source/rtl/transfrm.c: * source/vm/dynsym.c: Replaced C++-style comments (//) with C-style commens (/* */). Wed May 05 18:36:53 1999 Gonzalo A. Diethelm <Gonzalo.Diethelm@jda.cl> * include/ctoharb.h: * include/dates.h: * include/extend.h: * include/init.h: * include/itemapi.h: * include/pcode.h: * include/set.h: * include/setcurs.ch: * include/types.h: * source/compiler/harbour.c: * source/compiler/harbour.l: * source/compiler/harbour.y: * source/rtl/arrays.c: * source/rtl/classes.c: * source/rtl/codebloc.c: * source/rtl/console.c: * source/rtl/dates.c: * source/rtl/environ.c: * source/rtl/errorapi.c: * source/rtl/extend.c: * source/rtl/files.c: * source/rtl/itemapi.c: * source/rtl/math.c: * source/rtl/set.c: * source/rtl/strcmp.c: * source/rtl/strings.c: * source/rtl/transfrm.c: * source/tools/datesx.c: * source/tools/genobj.c: * source/tools/io.c: * source/tools/mathx.c: * source/tools/stringsx.c: * source/vm/dynsym.c: * source/vm/hvm.c: Added a comment with the CVS Id keyword. Wed May 05 18:28:28 1999 Gonzalo A. Diethelm <Gonzalo.Diethelm@jda.cl> * makefile.b16: * makefile.b32: Added explicit rules to compile harbour.o from harbour.c. Don' know why these were necessary, but it seems people had problems without them. Wed May 05 16:29:19 1999 Gonzalo A. Diethelm <Gonzalo.Diethelm@jda.cl> * include/pcode.h: * source/vm/hvm.c: * source/compiler/harbour.y: Replaced _AND and _OR with AND_ and OR_. Under gcc, these two identifiers are defined out. Also, got rid of a few warnings. * source/rtl/files.c: Implemented a macro trick to allow compilation of FOPEN, FREAD and FWRITE. Turned off HAVE_POSIX_IO for gcc; it doesn't seem to work. Restructured the code so that when HAVE_POSIX_IO is not defined, there are no warnings. Wed May 05 15:30:49 1999 Gonzalo A. Diethelm <Gonzalo.Diethelm@jda.cl> * source/harbour.y: * source/compiler/harbour.c: Replaced main() with harbour_main(), and added a separate harbour.c with just the main() function. * makefile.b16: * makefile.b32: * makefile.vc: Updated these files to reflect the new source/compiler/harbour.c file. * .cvsignore: Added this file with the patterns CVS will ignore while processing. * config/bin.cf: * config/c.cf: * config/dir.cf: * config/global.cf: * config/install.cf: * config/lib.cf: * config/prg.cf: * config/test.cf: * config/win32/gcc.cf: * config/win32/global.cf: * config/win32/msvc.cf: * config/win32/rules.cf: * Makefile: * source/Makefile: * source/compiler/Makefile: * source/rtl/Makefile: * source/vm/Makefile: * tests/Makefile: This is the GNU-make based build system. Wed May 05 09:24:22 1999 Gonzalo A. Diethelm <Gonzalo.Diethelm@jda.cl> * include/Set.ch: * tests/working/block2.PRG: Added back these files. They can't be renamed through CVS on NT, and the repository will have to be updated by some other means. Wed May 05 09:19:23 1999 Gonzalo A. Diethelm <Gonzalo.Diethelm@jda.cl> * include/Set.ch: * tests/working/block2.PRG: Removed these files in preparation to move them to lowercase. * ChangeLog: Added this file. May 31, 1999 Ron Pinkas Harbour.l modified {Array} and added {FunArray} and {ExpArray}. To fix support of <INDEX> state to be recusive as well as support: Function()[nIndex]. /TESTS/WORKING/ArrIndex.prg added this file. /TESTS/BROKEN/FuncArr.prg added this file to show: // This is NOT working? QOut( aFunc()[1] // But this IS working! a := aFunc() QOut( a[1] ) May 31, 1999 Ron Pinkas Harbour.l added support for "[String]" inside ARRAY INDEX expressions. Added "Sysntax error :" message for the macro operator (&) when followed by a string delimiter. June 1st. 1999 00:30 Ron Pinkas Harbour.y -> modified pcode generation to move the push of the counter variable to the NEXT rather than the FOR so loop code may manipulate the counter vaiable. TEST/WORKING/TestFor.prg -> added this file /* This work is licensed under the Creative Commons Attribution-ShareAlike 4.0 International License. To view a copy of this license, visit https://creativecommons.org/licenses/by-sa/4.0/ or send a letter to Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA. A summary of the license and the full legal text is included in file: LICENSE.txt. If you wish to distribute some or all of this work under different terms, please contact respective author(s). The license applies to all entries newer than 2009-04-28. */